drizzle-cube 0.6.2 → 0.6.3
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/dist/adapters/ActivityGridChart.config-BtECymia.cjs +1 -0
- package/dist/adapters/ActivityGridChart.config-CTd5HYjI.js +2 -0
- package/dist/adapters/AreaChart.config-1B8iQnfn.js +2 -0
- package/dist/adapters/AreaChart.config-hnncyQL4.cjs +1 -0
- package/dist/adapters/BarChart.config-C-QCf1rL.cjs +1 -0
- package/dist/adapters/BarChart.config-CFelK1qP.js +2 -0
- package/dist/adapters/BoxPlotChart.config-CD9WEPyF.js +2 -0
- package/dist/adapters/BoxPlotChart.config-DEbLA0BX.cjs +1 -0
- package/dist/adapters/BubbleChart.config-B_M4hzzV.js +2 -0
- package/dist/adapters/BubbleChart.config-dRZZlAke.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-Dsil2Fop.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-fuhyFvob.js +2 -0
- package/dist/adapters/DataTable.config-q2gqBi6t.cjs +1 -0
- package/dist/adapters/DataTable.config-wIQnHX5R.js +2 -0
- package/dist/adapters/FunnelChart.config-Dz710ssx.js +2 -0
- package/dist/adapters/FunnelChart.config-YNP9CeS-.cjs +1 -0
- package/dist/adapters/GaugeChart.config-BG9FcMCn.cjs +1 -0
- package/dist/adapters/GaugeChart.config-CgwniXkd.js +2 -0
- package/dist/adapters/HeatMapChart.config-1zSMXXoN.cjs +1 -0
- package/dist/adapters/HeatMapChart.config-YVEWx6s5.js +2 -0
- package/dist/adapters/KpiDelta.config-BWvYXuFp.cjs +1 -0
- package/dist/adapters/KpiDelta.config-C_dYM64q.js +2 -0
- package/dist/adapters/KpiNumber.config-CXg6toZG.js +2 -0
- package/dist/adapters/KpiNumber.config-CZmV-yU1.cjs +1 -0
- package/dist/adapters/KpiText.config-BY-SJvAF.js +2 -0
- package/dist/adapters/KpiText.config-GSIxy0CE.cjs +1 -0
- package/dist/adapters/LineChart.config-CJtF8SOu.js +2 -0
- package/dist/adapters/LineChart.config-d0y60gw9.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-B6w0spya.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-BuIQcWOn.js +2 -0
- package/dist/adapters/MeasureProfileChart.config-Bo2n5Ae5.cjs +1 -0
- package/dist/adapters/MeasureProfileChart.config-C5d34lsc.js +2 -0
- package/dist/adapters/PieChart.config-CDxfXCIt.cjs +1 -0
- package/dist/adapters/PieChart.config-CuZxQc5m.js +2 -0
- package/dist/adapters/RadarChart.config-DpdVWyh5.cjs +1 -0
- package/dist/adapters/RadarChart.config-KrxwaaGu.js +2 -0
- package/dist/adapters/RadialBarChart.config-DpRZd0FW.js +2 -0
- package/dist/adapters/RadialBarChart.config-faIY4jpE.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-CUnScqnS.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-Dd8FuawP.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-CPd6GeoQ.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-CPlHbLom.cjs +1 -0
- package/dist/adapters/SankeyChart.config-DbIUqi-H.cjs +1 -0
- package/dist/adapters/SankeyChart.config-kzAnW0C7.js +2 -0
- package/dist/adapters/ScatterChart.config-4Okvn27v.js +2 -0
- package/dist/adapters/ScatterChart.config-4f9nNw3e.cjs +1 -0
- package/dist/adapters/SunburstChart.config-BsUQkIM_.js +2 -0
- package/dist/adapters/SunburstChart.config-lvnYkWs7.cjs +1 -0
- package/dist/adapters/TreeMapChart.config-S0qsgAFW.js +2 -0
- package/dist/adapters/TreeMapChart.config-jbwKsTYt.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-CDQ74-pS.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-XdtH-O5g.js +2 -0
- package/dist/adapters/chartConfigHelpers-CcvqrIWF.js +72 -0
- package/dist/adapters/chartConfigHelpers-DHQB-_v5.cjs +1 -0
- package/dist/adapters/{locale-ZLUUNUxr.cjs → compiler-ChGO4ZLU.cjs} +1 -1
- package/dist/adapters/{locale-DDvZDFVn.js → compiler-LKTN9PTt.js} +2 -21
- package/dist/adapters/core/cube-http-handler.d.ts +27 -0
- package/dist/adapters/core/http-port.d.ts +39 -0
- package/dist/adapters/core/index.cjs +1 -0
- package/dist/adapters/core/index.d.ts +11 -0
- package/dist/adapters/core/index.js +2 -0
- package/dist/adapters/core/mcp-handler.d.ts +13 -0
- package/dist/adapters/core/rest-handlers.d.ts +14 -0
- package/dist/adapters/core/security-context.d.ts +17 -0
- package/dist/adapters/core-Bbchr0ui.js +244 -0
- package/dist/adapters/core-F1pCQPde.cjs +1 -0
- package/dist/adapters/express/index.cjs +2 -2
- package/dist/adapters/express/index.js +93 -201
- package/dist/adapters/fastify/index.cjs +2 -2
- package/dist/adapters/fastify/index.js +79 -217
- package/dist/adapters/handler-DRZb2ip6.cjs +25 -0
- package/dist/adapters/{handler-CtaSua-i.js → handler-u8FyzPBT.js} +1572 -1500
- package/dist/adapters/hono/index.cjs +2 -2
- package/dist/adapters/hono/index.js +69 -225
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +1 -1
- package/dist/adapters/mcp-transport-Bw_zqky2.js +591 -0
- package/dist/adapters/mcp-transport-CNIPoe1i.cjs +40 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.d.ts +8 -9
- package/dist/adapters/nextjs/index.js +181 -288
- package/dist/adapters/nextjs/mcp-handler.d.ts +0 -28
- package/dist/adapters/{openai-D-6l1Y8h.cjs → openai-B4kAJTSD.cjs} +1 -1
- package/dist/adapters/{openai-DTSTMiXL.cjs → openai-Cdf2wWZA.cjs} +1 -1
- package/dist/adapters/{openai-CmVRIbUg.js → openai-CmMzrs1Y.js} +1 -1
- package/dist/adapters/{openai-CtXqeznO.js → openai-DhzGY9R4.js} +1 -1
- package/dist/cjs/adapters/core/cube-http-handler.d.ts +27 -0
- package/dist/cjs/adapters/core/http-port.d.ts +39 -0
- package/dist/cjs/adapters/core/index.d.ts +11 -0
- package/dist/cjs/adapters/core/mcp-handler.d.ts +13 -0
- package/dist/cjs/adapters/core/rest-handlers.d.ts +14 -0
- package/dist/cjs/adapters/core/security-context.d.ts +17 -0
- package/dist/cjs/adapters/nextjs/index.d.ts +8 -9
- package/dist/cjs/adapters/nextjs/mcp-handler.d.ts +0 -28
- package/dist/cjs/client/charts/chartComponentRegistry.d.ts +1 -9
- package/dist/cjs/client/charts/chartConfigRegistry.d.ts +5 -1
- package/dist/cjs/client/charts/chartPlugin.d.ts +1 -2
- package/dist/cjs/client/charts/chartRegistry.d.ts +73 -0
- package/dist/cjs/client/components/AIAssistant/index.d.ts +2 -2
- package/dist/cjs/client/components/charts/ActivityGridChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/AreaChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/BarChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/BoxPlotChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/BubbleChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/CandlestickChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/DataTable.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/FunnelChart.config.d.ts +5 -0
- package/dist/cjs/client/components/charts/GaugeChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/HeatMapChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/KpiDelta.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/KpiNumber.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/KpiText.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/LineChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/MarkdownChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/MeasureProfileChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/PieChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/RadarChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/RadialBarChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/SankeyChart.config.d.ts +5 -0
- package/dist/cjs/client/components/charts/ScatterChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/SunburstChart.config.d.ts +5 -0
- package/dist/cjs/client/components/charts/TreeMapChart.config.d.ts +6 -1
- package/dist/cjs/client/components/charts/WaterfallChart.config.d.ts +6 -1
- package/dist/cjs/client/hooks/analysisQueryExecutionModes.d.ts +1 -1
- package/dist/cjs/client/hooks/useAnalysisEffects.d.ts +33 -0
- package/dist/{client/hooks/useAnalysisQueryExecution.d.ts → cjs/client/hooks/useAnalysisQuery.d.ts} +3 -3
- package/dist/cjs/client/hooks/useAnalysisState.d.ts +165 -0
- package/dist/cjs/client/icons/registry.d.ts +0 -6
- package/dist/cjs/client/icons/types.d.ts +5 -0
- package/dist/client/charts/chartComponentRegistry.d.ts +1 -9
- package/dist/client/charts/chartConfigRegistry.d.ts +5 -1
- package/dist/client/charts/chartPlugin.d.ts +1 -2
- package/dist/client/charts/chartRegistry.d.ts +73 -0
- package/dist/client/charts.js +3 -3
- package/dist/client/chunks/{DashboardEditModal-okVfH8ZK.js → DashboardEditModal-CWurUU2B.js} +7 -7
- package/dist/client/chunks/{DashboardEditModal-okVfH8ZK.js.map → DashboardEditModal-CWurUU2B.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-DB88FojM.js → analysis-builder-Uj_Fxv0-.js} +1588 -1857
- package/dist/client/chunks/analysis-builder-Uj_Fxv0-.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-BVK4TYfR.js → analysis-builder-shared-AdAYIfj_.js} +1531 -1266
- package/dist/client/chunks/analysis-builder-shared-AdAYIfj_.js.map +1 -0
- package/dist/client/chunks/{chart-config-activity-grid-D_UX4NHC.js → chart-config-activity-grid-BU_bkvER.js} +1 -11
- package/dist/client/chunks/chart-config-activity-grid-BU_bkvER.js.map +1 -0
- package/dist/client/chunks/{chart-config-area-BNigHUy8.js → chart-config-area-DxwIZ4Uf.js} +1 -5
- package/dist/client/chunks/{chart-config-area-BNigHUy8.js.map → chart-config-area-DxwIZ4Uf.js.map} +1 -1
- package/dist/client/chunks/{chart-config-bar-DSO_LRTx.js → chart-config-bar-Cc8GY9aQ.js} +5 -9
- package/dist/client/chunks/chart-config-bar-Cc8GY9aQ.js.map +1 -0
- package/dist/client/chunks/{chart-config-box-plot-oW8axV2q.js → chart-config-box-plot-Bs8ovYvV.js} +3 -8
- package/dist/client/chunks/chart-config-box-plot-Bs8ovYvV.js.map +1 -0
- package/dist/client/chunks/{chart-config-bubble-gIoqVyjZ.js → chart-config-bubble-BfgY7pt8.js} +1 -11
- package/dist/client/chunks/chart-config-bubble-BfgY7pt8.js.map +1 -0
- package/dist/client/chunks/{chart-config-candlestick-N6DchAA3.js → chart-config-candlestick-jaeNNEtC.js} +1 -11
- package/dist/client/chunks/chart-config-candlestick-jaeNNEtC.js.map +1 -0
- package/dist/client/chunks/{chart-config-data-table-d7VBY-y_.js → chart-config-data-table-CRk0C0rW.js} +1 -4
- package/dist/client/chunks/chart-config-data-table-CRk0C0rW.js.map +1 -0
- package/dist/client/chunks/{chart-config-funnel-DEYMcxsD.js → chart-config-funnel-boT_LNfl.js} +1 -4
- package/dist/client/chunks/chart-config-funnel-boT_LNfl.js.map +1 -0
- package/dist/client/chunks/{chart-config-gauge-Dq-_H9UN.js → chart-config-gauge-C5uJEr97.js} +3 -8
- package/dist/client/chunks/chart-config-gauge-C5uJEr97.js.map +1 -0
- package/dist/client/chunks/{chart-config-heat-map-CfRnRNcw.js → chart-config-heat-map-CCarP44-.js} +1 -11
- package/dist/client/chunks/chart-config-heat-map-CCarP44-.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-delta-DSQbvqu_.js → chart-config-kpi-delta-DYopvwyG.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-delta-DYopvwyG.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-number-EFSWY1We.js → chart-config-kpi-number-BhMdoArB.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-number-BhMdoArB.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-text-KM3V5X2u.js → chart-config-kpi-text-DE6Zdi53.js} +3 -8
- package/dist/client/chunks/chart-config-kpi-text-DE6Zdi53.js.map +1 -0
- package/dist/client/chunks/{chart-config-line-D6jG8PCH.js → chart-config-line-CBfM0Rds.js} +6 -10
- package/dist/client/chunks/chart-config-line-CBfM0Rds.js.map +1 -0
- package/dist/client/chunks/{chart-config-markdown-BtRIe8JN.js → chart-config-markdown-BCDyBI8K.js} +1 -4
- package/dist/client/chunks/chart-config-markdown-BCDyBI8K.js.map +1 -0
- package/dist/client/chunks/{chart-config-measure-profile-DxRGa-zf.js → chart-config-measure-profile-BgQIH1u2.js} +1 -8
- package/dist/client/chunks/chart-config-measure-profile-BgQIH1u2.js.map +1 -0
- package/dist/client/chunks/{chart-config-pie-BhzW-fdn.js → chart-config-pie-ChfFz6DV.js} +5 -9
- package/dist/client/chunks/chart-config-pie-ChfFz6DV.js.map +1 -0
- package/dist/client/chunks/{chart-config-radar-D7REP1q_.js → chart-config-radar-BlAIGnww.js} +5 -9
- package/dist/client/chunks/chart-config-radar-BlAIGnww.js.map +1 -0
- package/dist/client/chunks/{chart-config-radial-bar-Byx6qOPU.js → chart-config-radial-bar-VFerwbCO.js} +5 -9
- package/dist/client/chunks/chart-config-radial-bar-VFerwbCO.js.map +1 -0
- package/dist/client/chunks/{chart-config-sankey-BTnWA7EW.js → chart-config-sankey-BhrDxIgj.js} +1 -4
- package/dist/client/chunks/chart-config-sankey-BhrDxIgj.js.map +1 -0
- package/dist/client/chunks/{chart-config-scatter-DSYTjwRb.js → chart-config-scatter-q_olh54e.js} +1 -11
- package/dist/client/chunks/chart-config-scatter-q_olh54e.js.map +1 -0
- package/dist/client/chunks/{chart-config-sunburst-Bwjtdf7X.js → chart-config-sunburst-BOmkOnKn.js} +1 -4
- package/dist/client/chunks/chart-config-sunburst-BOmkOnKn.js.map +1 -0
- package/dist/client/chunks/{chart-config-tree-map-DVrvf3yQ.js → chart-config-tree-map-BjX88YBY.js} +5 -9
- package/dist/client/chunks/chart-config-tree-map-BjX88YBY.js.map +1 -0
- package/dist/client/chunks/{chart-config-waterfall-DmFeQdIk.js → chart-config-waterfall-QsWXVSoF.js} +3 -8
- package/dist/client/chunks/chart-config-waterfall-QsWXVSoF.js.map +1 -0
- package/dist/client/chunks/{chart-data-table-CKauQXme.js → chart-data-table-D4g5_jfF.js} +1277 -1094
- package/dist/client/chunks/chart-data-table-D4g5_jfF.js.map +1 -0
- package/dist/client/chunks/{chart-kpi-delta-Dn-jjO-2.js → chart-kpi-delta-BvWOt8-D.js} +2 -2
- package/dist/client/chunks/{chart-kpi-delta-Dn-jjO-2.js.map → chart-kpi-delta-BvWOt8-D.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-P_WBiO5S.js → chart-kpi-number-xgZmMiQY.js} +3 -3
- package/dist/client/chunks/{chart-kpi-number-P_WBiO5S.js.map → chart-kpi-number-xgZmMiQY.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-C-Y4eb5H.js → chart-kpi-text-ZO3eFi7t.js} +2 -2
- package/dist/client/chunks/{chart-kpi-text-C-Y4eb5H.js.map → chart-kpi-text-ZO3eFi7t.js.map} +1 -1
- package/dist/client/chunks/{charts-loader-DdTeCeNo.js → charts-loader-B0DOQMFH.js} +6 -6
- package/dist/client/chunks/{charts-loader-DdTeCeNo.js.map → charts-loader-B0DOQMFH.js.map} +1 -1
- package/dist/client/chunks/{schema-visualization-Cb_E9_Gd.js → schema-visualization-DJPTktM6.js} +2 -2
- package/dist/client/chunks/{schema-visualization-Cb_E9_Gd.js.map → schema-visualization-DJPTktM6.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-MbpxH_v6.js → useDirtyStateTracking-BY_IIG1n.js} +2 -2
- package/dist/client/chunks/{useDirtyStateTracking-MbpxH_v6.js.map → useDirtyStateTracking-BY_IIG1n.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-evnZkjCY.js → useExplainAI-PjMBmj2p.js} +4 -4
- package/dist/client/chunks/{useExplainAI-evnZkjCY.js.map → useExplainAI-PjMBmj2p.js.map} +1 -1
- package/dist/client/chunks/{utils-3P6z1vz5.js → utils-Cq-j5E5I.js} +2 -2
- package/dist/client/chunks/{utils-3P6z1vz5.js.map → utils-Cq-j5E5I.js.map} +1 -1
- package/dist/client/chunks/{vendor-DSpR0IW6.js → vendor-D4jADu8t.js} +2 -2
- package/dist/client/chunks/{vendor-DSpR0IW6.js.map → vendor-D4jADu8t.js.map} +1 -1
- package/dist/client/components/AIAssistant/index.d.ts +2 -2
- package/dist/client/components/charts/ActivityGridChart.config.d.ts +6 -1
- package/dist/client/components/charts/AreaChart.config.d.ts +6 -1
- package/dist/client/components/charts/BarChart.config.d.ts +6 -1
- package/dist/client/components/charts/BoxPlotChart.config.d.ts +6 -1
- package/dist/client/components/charts/BubbleChart.config.d.ts +6 -1
- package/dist/client/components/charts/CandlestickChart.config.d.ts +6 -1
- package/dist/client/components/charts/DataTable.config.d.ts +6 -1
- package/dist/client/components/charts/FunnelChart.config.d.ts +5 -0
- package/dist/client/components/charts/GaugeChart.config.d.ts +6 -1
- package/dist/client/components/charts/HeatMapChart.config.d.ts +6 -1
- package/dist/client/components/charts/KpiDelta.config.d.ts +6 -1
- package/dist/client/components/charts/KpiNumber.config.d.ts +6 -1
- package/dist/client/components/charts/KpiText.config.d.ts +6 -1
- package/dist/client/components/charts/LineChart.config.d.ts +6 -1
- package/dist/client/components/charts/MarkdownChart.config.d.ts +6 -1
- package/dist/client/components/charts/MeasureProfileChart.config.d.ts +6 -1
- package/dist/client/components/charts/PieChart.config.d.ts +6 -1
- package/dist/client/components/charts/RadarChart.config.d.ts +6 -1
- package/dist/client/components/charts/RadialBarChart.config.d.ts +6 -1
- package/dist/client/components/charts/SankeyChart.config.d.ts +5 -0
- package/dist/client/components/charts/ScatterChart.config.d.ts +6 -1
- package/dist/client/components/charts/SunburstChart.config.d.ts +5 -0
- package/dist/client/components/charts/TreeMapChart.config.d.ts +6 -1
- package/dist/client/components/charts/WaterfallChart.config.d.ts +6 -1
- package/dist/client/components.js +2 -2
- package/dist/client/hooks/analysisQueryExecutionModes.d.ts +1 -1
- package/dist/client/hooks/useAnalysisEffects.d.ts +33 -0
- package/dist/{cjs/client/hooks/useAnalysisQueryExecution.d.ts → client/hooks/useAnalysisQuery.d.ts} +3 -3
- package/dist/client/hooks/useAnalysisState.d.ts +165 -0
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons/registry.d.ts +0 -6
- package/dist/client/icons/types.d.ts +5 -0
- package/dist/client/icons.js +1 -1
- package/dist/client/index.js +9 -9
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/utils.js +3 -3
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +34 -34
- package/dist/server/chartConfigHelpers-CcvqrIWF.js +72 -0
- package/dist/server/chartConfigHelpers-DHQB-_v5.cjs +1 -0
- package/dist/server/index.cjs +68 -68
- package/dist/server/index.js +3800 -3728
- package/dist/server/{openai-D-6l1Y8h.cjs → openai-B4kAJTSD.cjs} +1 -1
- package/dist/server/{openai-DTSTMiXL.cjs → openai-Cdf2wWZA.cjs} +1 -1
- package/dist/server/{openai-CmVRIbUg.js → openai-CmMzrs1Y.js} +1 -1
- package/dist/server/{openai-CtXqeznO.js → openai-DhzGY9R4.js} +1 -1
- package/package.json +12 -2
- package/dist/adapters/handler-OwxSBJH8.cjs +0 -25
- package/dist/adapters/hono/mcp-handler.d.ts +0 -37
- package/dist/adapters/mcp-transport-B7ddET3M.cjs +0 -40
- package/dist/adapters/mcp-transport-Dfuj4j4q.js +0 -591
- package/dist/cjs/adapters/hono/mcp-handler.d.ts +0 -37
- package/dist/cjs/client/hooks/useAnalysisAI.d.ts +0 -56
- package/dist/cjs/client/hooks/useAnalysisChartDefaults.d.ts +0 -35
- package/dist/cjs/client/hooks/useAnalysisCombinedFields.d.ts +0 -18
- package/dist/cjs/client/hooks/useAnalysisInitialization.d.ts +0 -25
- package/dist/cjs/client/hooks/useAnalysisQueryBuilder.d.ts +0 -32
- package/dist/cjs/client/hooks/useAnalysisShare.d.ts +0 -18
- package/dist/cjs/client/hooks/useAnalysisUIState.d.ts +0 -24
- package/dist/client/chunks/analysis-builder-DB88FojM.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-BVK4TYfR.js.map +0 -1
- package/dist/client/chunks/chart-config-activity-grid-D_UX4NHC.js.map +0 -1
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js.map +0 -1
- package/dist/client/chunks/chart-config-box-plot-oW8axV2q.js.map +0 -1
- package/dist/client/chunks/chart-config-bubble-gIoqVyjZ.js.map +0 -1
- package/dist/client/chunks/chart-config-candlestick-N6DchAA3.js.map +0 -1
- package/dist/client/chunks/chart-config-data-table-d7VBY-y_.js.map +0 -1
- package/dist/client/chunks/chart-config-funnel-DEYMcxsD.js.map +0 -1
- package/dist/client/chunks/chart-config-gauge-Dq-_H9UN.js.map +0 -1
- package/dist/client/chunks/chart-config-heat-map-CfRnRNcw.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-delta-DSQbvqu_.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-number-EFSWY1We.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-text-KM3V5X2u.js.map +0 -1
- package/dist/client/chunks/chart-config-line-D6jG8PCH.js.map +0 -1
- package/dist/client/chunks/chart-config-markdown-BtRIe8JN.js.map +0 -1
- package/dist/client/chunks/chart-config-measure-profile-DxRGa-zf.js.map +0 -1
- package/dist/client/chunks/chart-config-pie-BhzW-fdn.js.map +0 -1
- package/dist/client/chunks/chart-config-radar-D7REP1q_.js.map +0 -1
- package/dist/client/chunks/chart-config-radial-bar-Byx6qOPU.js.map +0 -1
- package/dist/client/chunks/chart-config-sankey-BTnWA7EW.js.map +0 -1
- package/dist/client/chunks/chart-config-scatter-DSYTjwRb.js.map +0 -1
- package/dist/client/chunks/chart-config-sunburst-Bwjtdf7X.js.map +0 -1
- package/dist/client/chunks/chart-config-tree-map-DVrvf3yQ.js.map +0 -1
- package/dist/client/chunks/chart-config-waterfall-DmFeQdIk.js.map +0 -1
- package/dist/client/chunks/chart-data-table-CKauQXme.js.map +0 -1
- package/dist/client/hooks/useAnalysisAI.d.ts +0 -56
- package/dist/client/hooks/useAnalysisChartDefaults.d.ts +0 -35
- package/dist/client/hooks/useAnalysisCombinedFields.d.ts +0 -18
- package/dist/client/hooks/useAnalysisInitialization.d.ts +0 -25
- package/dist/client/hooks/useAnalysisQueryBuilder.d.ts +0 -32
- package/dist/client/hooks/useAnalysisShare.d.ts +0 -18
- package/dist/client/hooks/useAnalysisUIState.d.ts +0 -24
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
import { b as e, f as t, m as n, p as r, s as i, x as a, y as o } from "./utils-BPWZsX7k.js";
|
|
2
|
+
//#region src/mcp-app/generated-html.ts
|
|
3
|
+
var s = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>Drizzle Cube Visualization</title>\n <script type=\"module\" crossorigin>var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for \"'+e+\"\\\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.\")});(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel=\"modulepreload\"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function O(e){var t={\"=\":`=0`,\":\":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\\/+/g;function ee(e,t){return typeof e==`object`&&e&&e.key!=null?O(``+e.key):t.toString(36)}function te(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+ee(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(k,`$&/`)+`/`),te(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+ee(s,l);c+=te(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+ee(s,l++),c+=te(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function ne(e,t,n){if(e==null)return e;var r=[],i=0;return te(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function A(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var re={current:null},j={transition:null},ie={ReactCurrentDispatcher:re,ReactCurrentBatchConfig:j,ReactCurrentOwner:C};function ae(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:ne,forEach:function(e,t,n){ne(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ne(e,function(){t++}),t},toArray:function(e){return ne(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,e.act=ae,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:A}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},e.unstable_act=ae,e.useCallback=function(e,t){return re.current.useCallback(e,t)},e.useContext=function(e){return re.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return re.current.useDeferredValue(e)},e.useEffect=function(e,t){return re.current.useEffect(e,t)},e.useId=function(){return re.current.useId()},e.useImperativeHandle=function(e,t,n){return re.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return re.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return re.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return re.current.useMemo(e,t)},e.useReducer=function(e,t,n){return re.current.useReducer(e,t,n)},e.useRef=function(e){return re.current.useRef(e)},e.useState=function(e){return re.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return re.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return re.current.useTransition()},e.version=`18.3.1`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,ne(x);else{var t=n(l);t!==null&&A(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(w),w=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!D());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&A(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,E=-1;function D(){return!(e.unstable_now()-E<T)}function O(){if(C!==null){var t=e.unstable_now();E=t;var n=!0;try{n=C(!0,t)}finally{n?k():(S=!1,C=null)}}else S=!1}var k;if(typeof v==`function`)k=function(){v(O)};else if(typeof MessageChannel<`u`){var ee=new MessageChannel,te=ee.port2;ee.port1.onmessage=O,k=function(){te.postMessage(null)}}else k=function(){g(O,0)};function ne(e){C=e,S||(S=!0,k())}function A(t,n){w=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,ne(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(w),w=-1):h=!0,A(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ne(x))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p(),n=h();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n]);return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=new Set,a={};function o(e,t){s(e,t),s(e+`Capture`,t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,d={},f={};function m(e){return l.call(f,e)?!0:l.call(d,e)?!1:u.test(e)?f[e]=!0:(d[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),`allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope`.split(` `).forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`:i.type!==0)&&(_(t,n,i,r)&&(n=null),r||i===null?m(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,``+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:``:n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&!0===n?``:``+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for(`react.element`),T=Symbol.for(`react.portal`),E=Symbol.for(`react.fragment`),D=Symbol.for(`react.strict_mode`),O=Symbol.for(`react.profiler`),k=Symbol.for(`react.provider`),ee=Symbol.for(`react.context`),te=Symbol.for(`react.forward_ref`),ne=Symbol.for(`react.suspense`),A=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),j=Symbol.for(`react.lazy`),ie=Symbol.for(`react.offscreen`),ae=Symbol.iterator;function oe(e){return typeof e!=`object`||!e?null:(e=ae&&e[ae]||e[`@@iterator`],typeof e==`function`?e:null)}var se=Object.assign,ce;function M(e){if(ce===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\\n( *(at )?)/);ce=t&&t[1]||``}return`\n`+ce+e}var le=!1;function ue(e,t){if(!e||le)return``;le=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&typeof t.stack==`string`){for(var i=t.stack.split(`\n`),a=r.stack.split(`\n`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`\n`+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{le=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?M(e):``}function de(e){switch(e.tag){case 5:return M(e.type);case 16:return M(`Lazy`);case 13:return M(`Suspense`);case 19:return M(`SuspenseList`);case 0:case 2:case 15:return e=ue(e.type,!1),e;case 11:return e=ue(e.type.render,!1),e;case 1:return e=ue(e.type,!0),e;default:return``}}function fe(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case E:return`Fragment`;case T:return`Portal`;case O:return`Profiler`;case D:return`StrictMode`;case ne:return`Suspense`;case A:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case ee:return(e.displayName||`Context`)+`.Consumer`;case k:return(e._context.displayName||`Context`)+`.Provider`;case te:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case re:return t=e.displayName||null,t===null?fe(e.type)||`Memo`:t;case j:t=e._payload,e=e._init;try{return fe(e(t))}catch{}}return null}function pe(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return fe(t);case 8:return t===D?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function me(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function he(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function ge(e){var t=he(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _e(e){e._valueTracker||=ge(e)}function ve(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=he(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function ye(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function be(e,t){var n=t.checked;return se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xe(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=me(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function Se(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function Ce(e,t){Se(e,t);var n=me(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?we(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&we(e,t.type,me(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function N(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function we(e,t,n){(t!==`number`||ye(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var P=Array.isArray;function Te(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+me(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ee(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return se({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function De(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(P(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:me(n)}}function Oe(e,t){var n=me(t.value),r=me(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function ke(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function Ae(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function je(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?Ae(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var Me,Ne=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(Me||=document.createElement(`div`),Me.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=Me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ie=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Fe).forEach(function(e){Ie.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fe[t]=Fe[e]})});function Le(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Fe.hasOwnProperty(e)&&Fe[e]?(``+t).trim():t+`px`}function Re(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Le(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var ze=se({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F(e,t){if(t){if(ze[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Be(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Ve=null;function He(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ue=null,We=null,Ge=null;function Ke(e){if(e=Gi(e)){if(typeof Ue!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=qi(t),Ue(e.stateNode,e.type,t))}}function qe(e){We?Ge?Ge.push(e):Ge=[e]:We=e}function Je(){if(We){var e=We,t=Ge;if(Ge=We=null,Ke(e),t)for(e=0;e<t.length;e++)Ke(t[e])}}function Ye(e,t){return e(t)}function Xe(){}var Ze=!1;function Qe(e,t,n){if(Ze)return e(t,n);Ze=!0;try{return Ye(e,t,n)}finally{Ze=!1,(We!==null||Ge!==null)&&(Xe(),Je())}}function $e(e,t){var n=e.stateNode;if(n===null)return null;var i=qi(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var et=!1;if(c)try{var tt={};Object.defineProperty(tt,\"passive\",{get:function(){et=!0}}),window.addEventListener(`test`,tt,tt),window.removeEventListener(`test`,tt,tt)}catch{et=!1}function nt(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var I=!1,rt=null,it=!1,at=null,ot={onError:function(e){I=!0,rt=e}};function st(e,t,n,r,i,a,o,s,c){I=!1,rt=null,nt.apply(ot,arguments)}function ct(e,t,n,i,a,o,s,c,l){if(st.apply(this,arguments),I){if(I){var u=rt;I=!1,rt=null}else throw Error(r(198));it||(it=!0,at=u)}}function lt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ut(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function dt(e){if(lt(e)!==e)throw Error(r(188))}function ft(e){var t=e.alternate;if(!t){if(t=lt(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return dt(a),e;if(o===i)return dt(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function pt(e){return e=ft(e),e===null?null:mt(e)}function mt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=mt(e);if(t!==null)return t;e=e.sibling}return null}var ht=n.unstable_scheduleCallback,gt=n.unstable_cancelCallback,_t=n.unstable_shouldYield,vt=n.unstable_requestPaint,yt=n.unstable_now,bt=n.unstable_getCurrentPriorityLevel,xt=n.unstable_ImmediatePriority,St=n.unstable_UserBlockingPriority,Ct=n.unstable_NormalPriority,wt=n.unstable_LowPriority,Tt=n.unstable_IdlePriority,Et=null,Dt=null;function Ot(e){if(Dt&&typeof Dt.onCommitFiberRoot==`function`)try{Dt.onCommitFiberRoot(Et,e,void 0,(e.current.flags&128)==128)}catch{}}var kt=Math.clz32?Math.clz32:Mt,At=Math.log,jt=Math.LN2;function Mt(e){return e>>>=0,e===0?32:31-(At(e)/jt|0)|0}var Nt=64,Pt=4194304;function Ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function It(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Ft(a))):r=Ft(s)}else o=n&~i,o===0?a!==0&&(r=Ft(a)):r=Ft(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-kt(t),i=1<<n,r|=e[n],t&=~i;return r}function Lt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Rt(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-kt(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Lt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function zt(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Bt(){var e=Nt;return Nt<<=1,!(Nt&4194240)&&(Nt=64),e}function Vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ht(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-kt(t),e[t]=n}function Ut(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-kt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Wt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-kt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Gt=0;function Kt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var qt,Jt,Yt,Xt,Zt,Qt=!1,$t=[],en=null,tn=null,nn=null,rn=new Map,an=new Map,on=[],sn=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit`.split(` `);function cn(e,t){switch(e){case`focusin`:case`focusout`:en=null;break;case`dragenter`:case`dragleave`:tn=null;break;case`mouseover`:case`mouseout`:nn=null;break;case`pointerover`:case`pointerout`:rn.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:an.delete(t.pointerId)}}function ln(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Gi(t),t!==null&&Jt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function un(e,t,n,r,i){switch(t){case`focusin`:return en=ln(en,e,t,n,r,i),!0;case`dragenter`:return tn=ln(tn,e,t,n,r,i),!0;case`mouseover`:return nn=ln(nn,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return rn.set(a,ln(rn.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,an.set(a,ln(an.get(a)||null,e,t,n,r,i)),!0}return!1}function dn(e){var t=Wi(e.target);if(t!==null){var n=lt(t);if(n!==null){if(t=n.tag,t===13){if(t=ut(n),t!==null){e.blockedOn=t,Zt(e.priority,function(){Yt(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Cn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ve=r,n.target.dispatchEvent(r),Ve=null}else return t=Gi(n),t!==null&&Jt(t),e.blockedOn=n,!1;t.shift()}return!0}function pn(e,t,n){fn(e)&&n.delete(t)}function mn(){Qt=!1,en!==null&&fn(en)&&(en=null),tn!==null&&fn(tn)&&(tn=null),nn!==null&&fn(nn)&&(nn=null),rn.forEach(pn),an.forEach(pn)}function hn(e,t){e.blockedOn===t&&(e.blockedOn=null,Qt||(Qt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,mn)))}function gn(e){function t(t){return hn(t,e)}if(0<$t.length){hn($t[0],e);for(var n=1;n<$t.length;n++){var r=$t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(en!==null&&hn(en,e),tn!==null&&hn(tn,e),nn!==null&&hn(nn,e),rn.forEach(t),an.forEach(t),n=0;n<on.length;n++)r=on[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<on.length&&(n=on[0],n.blockedOn===null);)dn(n),n.blockedOn===null&&on.shift()}var _n=C.ReactCurrentBatchConfig,vn=!0;function yn(e,t,n,r){var i=Gt,a=_n.transition;_n.transition=null;try{Gt=1,xn(e,t,n,r)}finally{Gt=i,_n.transition=a}}function bn(e,t,n,r){var i=Gt,a=_n.transition;_n.transition=null;try{Gt=4,xn(e,t,n,r)}finally{Gt=i,_n.transition=a}}function xn(e,t,n,r){if(vn){var i=Cn(e,t,n,r);if(i===null)gi(e,t,r,Sn,n),cn(e,r);else if(un(i,e,t,n,r))r.stopPropagation();else if(cn(e,r),t&4&&-1<sn.indexOf(e)){for(;i!==null;){var a=Gi(i);if(a!==null&&qt(a),a=Cn(e,t,n,r),a===null&&gi(e,t,r,Sn,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else gi(e,t,r,null,n)}}var Sn=null;function Cn(e,t,n,r){if(Sn=null,e=He(r),e=Wi(e),e!==null)if(t=lt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ut(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Sn=e,null}function wn(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(bt()){case xt:return 1;case St:return 4;case Ct:case wt:return 16;case Tt:return 536870912;default:return 16}default:return 16}}var Tn=null,En=null,Dn=null;function On(){if(Dn)return Dn;var e,t=En,n=t.length,r,i=`value`in Tn?Tn.value:Tn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Dn=i.slice(e,1<r?1-r:void 0)}function kn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function An(){return!0}function jn(){return!1}function Mn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?An:jn,this.isPropagationStopped=jn,this}return se(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=An)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=An)},persist:function(){},isPersistent:An}),t}var Nn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pn=Mn(Nn),Fn=se({},Nn,{view:0,detail:0}),In=Mn(Fn),Ln,Rn,zn,Bn=se({},Fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==zn&&(zn&&e.type===`mousemove`?(Ln=e.screenX-zn.screenX,Rn=e.screenY-zn.screenY):Rn=Ln=0,zn=e),Ln)},movementY:function(e){return`movementY`in e?e.movementY:Rn}}),Vn=Mn(Bn),Hn=Mn(se({},Bn,{dataTransfer:0})),Un=Mn(se({},Fn,{relatedTarget:0})),Wn=Mn(se({},Nn,{animationName:0,elapsedTime:0,pseudoElement:0})),Gn=Mn(se({},Nn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Kn=Mn(se({},Nn,{data:0})),qn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Jn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Yn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yn[e])?!!t[e]:!1}function Zn(){return Xn}var Qn=Mn(se({},Fn,{key:function(e){if(e.key){var t=qn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=kn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Jn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zn,charCode:function(e){return e.type===`keypress`?kn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?kn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),$n=Mn(se({},Bn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),er=Mn(se({},Fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zn})),tr=Mn(se({},Nn,{propertyName:0,elapsedTime:0,pseudoElement:0})),nr=Mn(se({},Bn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rr=[9,13,27,32],ir=c&&`CompositionEvent`in window,ar=null;c&&`documentMode`in document&&(ar=document.documentMode);var or=c&&`TextEvent`in window&&!ar,sr=c&&(!ir||ar&&8<ar&&11>=ar),cr=` `,lr=!1;function ur(e,t){switch(e){case`keyup`:return rr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function dr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var fr=!1;function pr(e,t){switch(e){case`compositionend`:return dr(t);case`keypress`:return t.which===32?(lr=!0,cr):null;case`textInput`:return e=t.data,e===cr&&lr?null:e;default:return null}}function mr(e,t){if(fr)return e===`compositionend`||!ir&&ur(e,t)?(e=On(),Dn=En=Tn=null,fr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return sr&&t.locale!==`ko`?null:t.data;default:return null}}var hr={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!hr[e.type]:t===`textarea`}function _r(e,t,n,r){qe(r),t=vi(t,`onChange`),0<t.length&&(n=new Pn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var vr=null,yr=null;function br(e){ui(e,0)}function xr(e){if(ve(Ki(e)))return e}function Sr(e,t){if(e===`change`)return t}var Cr=!1;if(c){var wr;if(c){var Tr=`oninput`in document;if(!Tr){var Er=document.createElement(`div`);Er.setAttribute(`oninput`,`return;`),Tr=typeof Er.oninput==`function`}wr=Tr}else wr=!1;Cr=wr&&(!document.documentMode||9<document.documentMode)}function Dr(){vr&&(vr.detachEvent(`onpropertychange`,Or),yr=vr=null)}function Or(e){if(e.propertyName===`value`&&xr(yr)){var t=[];_r(t,yr,e,He(e)),Qe(br,t)}}function kr(e,t,n){e===`focusin`?(Dr(),vr=t,yr=n,vr.attachEvent(`onpropertychange`,Or)):e===`focusout`&&Dr()}function Ar(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return xr(yr)}function jr(e,t){if(e===`click`)return xr(t)}function Mr(e,t){if(e===`input`||e===`change`)return xr(t)}function Nr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Pr=typeof Object.is==`function`?Object.is:Nr;function Fr(e,t){if(Pr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!Pr(e[i],t[i]))return!1}return!0}function Ir(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lr(e,t){var n=Ir(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Ir(n)}}function Rr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zr(){for(var e=window,t=ye();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=ye(e.document)}return t}function Br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Vr(e){var t=zr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Rr(n.ownerDocument.documentElement,n)){if(r!==null&&Br(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Lr(n,a);var o=Lr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hr=c&&`documentMode`in document&&11>=document.documentMode,Ur=null,Wr=null,Gr=null,Kr=!1;function qr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Kr||Ur==null||Ur!==ye(r)||(r=Ur,`selectionStart`in r&&Br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Gr&&Fr(Gr,r)||(Gr=r,r=vi(Wr,`onSelect`),0<r.length&&(t=new Pn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Ur)))}function Jr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var L={animationend:Jr(`Animation`,`AnimationEnd`),animationiteration:Jr(`Animation`,`AnimationIteration`),animationstart:Jr(`Animation`,`AnimationStart`),transitionend:Jr(`Transition`,`TransitionEnd`)},Yr={},Xr={};c&&(Xr=document.createElement(`div`).style,`AnimationEvent`in window||(delete L.animationend.animation,delete L.animationiteration.animation,delete L.animationstart.animation),`TransitionEvent`in window||delete L.transitionend.transition);function Zr(e){if(Yr[e])return Yr[e];if(!L[e])return e;var t=L[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xr)return Yr[e]=t[n];return e}var Qr=Zr(`animationend`),$r=Zr(`animationiteration`),ei=Zr(`animationstart`),ti=Zr(`transitionend`),ni=new Map,ri=`abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);function ii(e,t){ni.set(e,t),o(t,[e])}for(var ai=0;ai<ri.length;ai++){var oi=ri[ai];ii(oi.toLowerCase(),`on`+(oi[0].toUpperCase()+oi.slice(1)))}ii(Qr,`onAnimationEnd`),ii($r,`onAnimationIteration`),ii(ei,`onAnimationStart`),ii(`dblclick`,`onDoubleClick`),ii(`focusin`,`onFocus`),ii(`focusout`,`onBlur`),ii(ti,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var si=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),ci=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(si));function li(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,ct(r,t,void 0,e),e.currentTarget=null}function ui(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;li(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;li(i,s,l),a=c}}}if(it)throw e=at,it=!1,at=null,e}function di(e,t){var n=t[Vi];n===void 0&&(n=t[Vi]=new Set);var r=e+`__bubble`;n.has(r)||(hi(t,e,2,!1),n.add(r))}function fi(e,t,n){var r=0;t&&(r|=4),hi(n,e,r,t)}var pi=`_reactListening`+Math.random().toString(36).slice(2);function mi(e){if(!e[pi]){e[pi]=!0,i.forEach(function(t){t!==`selectionchange`&&(ci.has(t)||fi(t,!1,e),fi(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[pi]||(t[pi]=!0,fi(`selectionchange`,!1,t))}}function hi(e,t,n,r){switch(wn(t)){case 1:var i=yn;break;case 4:i=bn;break;default:i=xn}n=i.bind(null,t,n,e),i=void 0,!et||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function gi(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Wi(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}Qe(function(){var r=a,i=He(n),o=[];a:{var s=ni.get(e);if(s!==void 0){var c=Pn,l=e;switch(e){case`keypress`:if(kn(n)===0)break a;case`keydown`:case`keyup`:c=Qn;break;case`focusin`:l=`focus`,c=Un;break;case`focusout`:l=`blur`,c=Un;break;case`beforeblur`:case`afterblur`:c=Un;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Vn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Hn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=er;break;case Qr:case $r:case ei:c=Wn;break;case ti:c=tr;break;case`scroll`:c=In;break;case`wheel`:c=nr;break;case`copy`:case`cut`:case`paste`:c=Gn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=$n}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=$e(p,f),h!=null&&u.push(_i(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Ve&&(l=n.relatedTarget||n.fromElement)&&(Wi(l)||l[Bi]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Wi(l):null,l!==null&&(d=lt(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=Vn,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=$n,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Ki(c),m=l==null?s:Ki(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Wi(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=yi(m))p++;for(m=0,h=f;h;h=yi(h))m++;for(;0<p-m;)u=yi(u),p--;for(;0<m-p;)f=yi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=yi(u),f=yi(f)}u=null}else u=null;c!==null&&bi(o,s,c,u,!1),l!==null&&d!==null&&bi(o,d,l,u,!0)}}a:{if(s=r?Ki(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=Sr;else if(gr(s))if(Cr)g=Mr;else{g=Ar;var _=kr}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=jr);if(g&&=g(e,r)){_r(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&we(s,`number`,s.value)}switch(_=r?Ki(r):window,e){case`focusin`:(gr(_)||_.contentEditable===`true`)&&(Ur=_,Wr=r,Gr=null);break;case`focusout`:Gr=Wr=Ur=null;break;case`mousedown`:Kr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Kr=!1,qr(o,n,i);break;case`selectionchange`:if(Hr)break;case`keydown`:case`keyup`:qr(o,n,i)}var v;if(ir)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else fr?ur(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(sr&&n.locale!==`ko`&&(fr||y!==`onCompositionStart`?y===`onCompositionEnd`&&fr&&(v=On()):(Tn=i,En=`value`in Tn?Tn.value:Tn.textContent,fr=!0)),_=vi(r,y),0<_.length&&(y=new Kn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=dr(n),v!==null&&(y.data=v)))),(v=or?pr(e,n):mr(e,n))&&(r=vi(r,`onBeforeInput`),0<r.length&&(i=new Kn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}ui(o,t)})}function _i(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vi(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=$e(e,n),a!=null&&r.unshift(_i(e,a,i)),a=$e(e,t),a!=null&&r.push(_i(e,a,i))),e=e.return}return r}function yi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function bi(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=$e(n,a),c!=null&&o.unshift(_i(n,c,s))):i||(c=$e(n,a),c!=null&&o.push(_i(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var xi=/\\r\\n?/g,Si=/\\u0000|\\uFFFD/g;function Ci(e){return(typeof e==`string`?e:``+e).replace(xi,`\n`).replace(Si,``)}function wi(e,t,n){if(t=Ci(t),Ci(e)!==t&&n)throw Error(r(425))}function Ti(){}var Ei=null,Di=null;function Oi(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ki=typeof setTimeout==`function`?setTimeout:void 0,Ai=typeof clearTimeout==`function`?clearTimeout:void 0,ji=typeof Promise==`function`?Promise:void 0,Mi=typeof queueMicrotask==`function`?queueMicrotask:ji===void 0?ki:function(e){return ji.resolve(null).then(e).catch(Ni)};function Ni(e){setTimeout(function(){throw e})}function Pi(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),gn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);gn(t)}function Fi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function Ii(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Li=Math.random().toString(36).slice(2),Ri=`__reactFiber$`+Li,zi=`__reactProps$`+Li,Bi=`__reactContainer$`+Li,Vi=`__reactEvents$`+Li,Hi=`__reactListeners$`+Li,Ui=`__reactHandles$`+Li;function Wi(e){var t=e[Ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bi]||n[Ri]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ii(e);e!==null;){if(n=e[Ri])return n;e=Ii(e)}return t}e=n,n=e.parentNode}return null}function Gi(e){return e=e[Ri]||e[Bi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ki(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function qi(e){return e[zi]||null}var Ji=[],Yi=-1;function Xi(e){return{current:e}}function Zi(e){0>Yi||(e.current=Ji[Yi],Ji[Yi]=null,Yi--)}function Qi(e,t){Yi++,Ji[Yi]=e.current,e.current=t}var $i={},ea=Xi($i),ta=Xi(!1),na=$i;function ra(e,t){var n=e.type.contextTypes;if(!n)return $i;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ia(e){return e=e.childContextTypes,e!=null}function aa(){Zi(ta),Zi(ea)}function oa(e,t,n){if(ea.current!==$i)throw Error(r(168));Qi(ea,t),Qi(ta,n)}function sa(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,pe(e)||`Unknown`,a));return se({},n,i)}function ca(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$i,na=ea.current,Qi(ea,e),Qi(ta,ta.current),!0}function la(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=sa(e,t,na),i.__reactInternalMemoizedMergedChildContext=e,Zi(ta),Zi(ea),Qi(ea,e)):Zi(ta),Qi(ta,n)}var ua=null,da=!1,fa=!1;function pa(e){ua===null?ua=[e]:ua.push(e)}function ma(e){da=!0,pa(e)}function ha(){if(!fa&&ua!==null){fa=!0;var e=0,t=Gt;try{var n=ua;for(Gt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ua=null,da=!1}catch(t){throw ua!==null&&(ua=ua.slice(e+1)),ht(xt,ha),t}finally{Gt=t,fa=!1}}return null}var ga=[],_a=0,va=null,ya=0,ba=[],xa=0,Sa=null,Ca=1,wa=``;function Ta(e,t){ga[_a++]=ya,ga[_a++]=va,va=e,ya=t}function Ea(e,t,n){ba[xa++]=Ca,ba[xa++]=wa,ba[xa++]=Sa,Sa=e;var r=Ca;e=wa;var i=32-kt(r)-1;r&=~(1<<i),n+=1;var a=32-kt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ca=1<<32-kt(t)+i|n<<i|r,wa=a+e}else Ca=1<<a|n<<i|r,wa=e}function Da(e){e.return!==null&&(Ta(e,1),Ea(e,1,0))}function Oa(e){for(;e===va;)va=ga[--_a],ga[_a]=null,ya=ga[--_a],ga[_a]=null;for(;e===Sa;)Sa=ba[--xa],ba[xa]=null,wa=ba[--xa],ba[xa]=null,Ca=ba[--xa],ba[xa]=null}var ka=null,Aa=null,ja=!1,Ma=null;function Na(e,t){var n=su(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Pa(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,ka=e,Aa=Fi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,ka=e,Aa=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=Sa===null?null:{id:Ca,overflow:wa},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=su(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ka=e,Aa=null,!0);default:return!1}}function Fa(e){return(e.mode&1)!=0&&(e.flags&128)==0}function Ia(e){if(ja){var t=Aa;if(t){var n=t;if(!Pa(e,t)){if(Fa(e))throw Error(r(418));t=Fi(n.nextSibling);var i=ka;t&&Pa(e,t)?Na(i,n):(e.flags=e.flags&-4097|2,ja=!1,ka=e)}}else{if(Fa(e))throw Error(r(418));e.flags=e.flags&-4097|2,ja=!1,ka=e}}}function La(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ka=e}function Ra(e){if(e!==ka)return!1;if(!ja)return La(e),ja=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Oi(e.type,e.memoizedProps)),t&&=Aa){if(Fa(e))throw za(),Error(r(418));for(;t;)Na(e,t),t=Fi(t.nextSibling)}if(La(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){Aa=Fi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Aa=null}}else Aa=ka?Fi(e.stateNode.nextSibling):null;return!0}function za(){for(var e=Aa;e;)e=Fi(e.nextSibling)}function Ba(){Aa=ka=null,ja=!1}function Va(e){Ma===null?Ma=[e]:Ma.push(e)}var Ha=C.ReactCurrentBatchConfig;function Ua(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Wa(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ga(e){var t=e._init;return t(e._payload)}function Ka(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=uu(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=mu(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===j&&Ga(i)===t.type)?(r=a(t,n.props),r.ref=Ua(e,t,n),r.return=e,r):(r=du(n.type,n.key,n.props,null,e.mode,r),r.ref=Ua(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=hu(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=fu(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=mu(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=du(t.type,t.key,t.props,null,e.mode,n),n.ref=Ua(e,null,t),n.return=e,n;case T:return t=hu(t,e.mode,n),t.return=e,t;case j:var r=t._init;return f(e,r(t._payload),n)}if(P(t)||oe(t))return t=fu(t,e.mode,n,null),t.return=e,t;Wa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case j:return i=n._init,p(e,t,i(n._payload),r)}if(P(n)||oe(n))return i===null?d(e,t,n,r,null):null;Wa(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case j:var a=r._init;return m(e,t,n,a(r._payload),i)}if(P(r)||oe(r))return e=e.get(n)||null,d(t,e,r,i,null);Wa(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),ja&&Ta(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return ja&&Ta(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),ja&&Ta(r,h),l}function g(a,s,c,l){var u=oe(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),ja&&Ta(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return ja&&Ta(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),ja&&Ta(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===E){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===j&&Ga(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ua(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(r=fu(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=du(i.type,i.key,i.props,null,e.mode,o),o.ref=Ua(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=hu(i,e.mode,o),r.return=e,e=r}return s(e);case j:return l=i._init,_(e,r,l(i._payload),o)}if(P(i))return h(e,r,i,o);if(oe(i))return g(e,r,i,o);Wa(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=mu(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var qa=Ka(!0),Ja=Ka(!1),Ya=Xi(null),Xa=null,Za=null,Qa=null;function $a(){Qa=Za=Xa=null}function eo(e){var t=Ya.current;Zi(Ya),e._currentValue=t}function to(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function no(e,t){Xa=e,Qa=Za=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ks=!0),e.firstContext=null)}function ro(e){var t=e._currentValue;if(Qa!==e)if(e={context:e,memoizedValue:t,next:null},Za===null){if(Xa===null)throw Error(r(308));Za=e,Xa.dependencies={lanes:0,firstContext:e}}else Za=Za.next=e;return t}var io=null;function ao(e){io===null?io=[e]:io.push(e)}function oo(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ao(t)):(n.next=i.next,i.next=n),t.interleaved=n,so(e,r)}function so(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var co=!1;function lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function po(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,tl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,so(e,n)}return i=r.interleaved,i===null?(t.next=t,ao(r)):(t.next=i.next,i.next=t),r.interleaved=t,so(e,n)}function mo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Wt(e,n)}}function ho(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function go(e,t,n,r){var i=e.updateQueue;co=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=se({},d,f);break a;case 2:co=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);ll|=o,e.lanes=o,e.memoizedState=d}}function _o(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var vo={},yo=Xi(vo),bo=Xi(vo),xo=Xi(vo);function So(e){if(e===vo)throw Error(r(174));return e}function Co(e,t){switch(Qi(xo,t),Qi(bo,e),Qi(yo,vo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:je(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=je(t,e)}Zi(yo),Qi(yo,t)}function wo(){Zi(yo),Zi(bo),Zi(xo)}function To(e){So(xo.current);var t=So(yo.current),n=je(t,e.type);t!==n&&(Qi(bo,e),Qi(yo,n))}function Eo(e){bo.current===e&&(Zi(yo),Zi(bo))}var Do=Xi(0);function Oo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ko=[];function Ao(){for(var e=0;e<ko.length;e++)ko[e]._workInProgressVersionPrimary=null;ko.length=0}var jo=C.ReactCurrentDispatcher,Mo=C.ReactCurrentBatchConfig,No=0,Po=null,Fo=null,Io=null,Lo=!1,Ro=!1,zo=0,Bo=0;function Vo(){throw Error(r(321))}function Ho(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pr(e[n],t[n]))return!1;return!0}function Uo(e,t,n,i,a,o){if(No=o,Po=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jo.current=e===null||e.memoizedState===null?Es:Ds,e=n(i,a),Ro){o=0;do{if(Ro=!1,zo=0,25<=o)throw Error(r(301));o+=1,Io=Fo=null,t.updateQueue=null,jo.current=Os,e=n(i,a)}while(Ro)}if(jo.current=Ts,t=Fo!==null&&Fo.next!==null,No=0,Io=Fo=Po=null,Lo=!1,t)throw Error(r(300));return e}function Wo(){var e=zo!==0;return zo=0,e}function Go(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Io===null?Po.memoizedState=Io=e:Io=Io.next=e,Io}function Ko(){if(Fo===null){var e=Po.alternate;e=e===null?null:e.memoizedState}else e=Fo.next;var t=Io===null?Po.memoizedState:Io.next;if(t!==null)Io=t,Fo=e;else{if(e===null)throw Error(r(310));Fo=e,e={memoizedState:Fo.memoizedState,baseState:Fo.baseState,baseQueue:Fo.baseQueue,queue:Fo.queue,next:null},Io===null?Po.memoizedState=Io=e:Io=Io.next=e}return Io}function qo(e,t){return typeof t==`function`?t(e):t}function Jo(e){var t=Ko(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=Fo,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((No&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,Po.lanes|=d,ll|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Pr(i,t.memoizedState)||(Ks=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Po.lanes|=o,ll|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Yo(e){var t=Ko(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Pr(o,t.memoizedState)||(Ks=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Xo(){}function Zo(e,t){var n=Po,i=Ko(),a=t(),o=!Pr(i.memoizedState,a);if(o&&(i.memoizedState=a,Ks=!0),i=i.queue,ls(es.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Io!==null&&Io.memoizedState.tag&1){if(n.flags|=2048,is(9,$o.bind(null,n,i,a,t),void 0,null),nl===null)throw Error(r(349));No&30||Qo(n,t,a)}return a}function Qo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Po.updateQueue,t===null?(t={lastEffect:null,stores:null},Po.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function $o(e,t,n,r){t.value=n,t.getSnapshot=r,ts(t)&&ns(e)}function es(e,t,n){return n(function(){ts(t)&&ns(e)})}function ts(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Pr(e,n)}catch{return!0}}function ns(e){var t=so(e,1);t!==null&&kl(t,e,1,-1)}function rs(e){var t=Go();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:qo,lastRenderedState:e},t.queue=e,e=e.dispatch=xs.bind(null,Po,e),[t.memoizedState,e]}function is(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Po.updateQueue,t===null?(t={lastEffect:null,stores:null},Po.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function as(){return Ko().memoizedState}function os(e,t,n,r){var i=Go();Po.flags|=e,i.memoizedState=is(1|t,n,void 0,r===void 0?null:r)}function ss(e,t,n,r){var i=Ko();r=r===void 0?null:r;var a=void 0;if(Fo!==null){var o=Fo.memoizedState;if(a=o.destroy,r!==null&&Ho(r,o.deps)){i.memoizedState=is(t,n,a,r);return}}Po.flags|=e,i.memoizedState=is(1|t,n,a,r)}function cs(e,t){return os(8390656,8,e,t)}function ls(e,t){return ss(2048,8,e,t)}function us(e,t){return ss(4,2,e,t)}function ds(e,t){return ss(4,4,e,t)}function fs(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ps(e,t,n){return n=n==null?null:n.concat([e]),ss(4,4,fs.bind(null,t,e),n)}function ms(){}function hs(e,t){var n=Ko();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ho(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function gs(e,t){var n=Ko();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ho(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _s(e,t,n){return No&21?(Pr(n,t)||(n=Bt(),Po.lanes|=n,ll|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ks=!0),e.memoizedState=n)}function vs(e,t){var n=Gt;Gt=n!==0&&4>n?n:4,e(!0);var r=Mo.transition;Mo.transition={};try{e(!1),t()}finally{Gt=n,Mo.transition=r}}function ys(){return Ko().memoizedState}function bs(e,t,n){var r=Ol(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ss(e))Cs(t,n);else if(n=oo(e,t,n,r),n!==null){var i=Dl();kl(n,e,r,i),ws(n,t,r)}}function xs(e,t,n){var r=Ol(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ss(e))Cs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Pr(s,o)){var c=t.interleaved;c===null?(i.next=i,ao(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=oo(e,t,i,r),n!==null&&(i=Dl(),kl(n,e,r,i),ws(n,t,r))}}function Ss(e){var t=e.alternate;return e===Po||t!==null&&t===Po}function Cs(e,t){Ro=Lo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ws(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Wt(e,n)}}var Ts={readContext:ro,useCallback:Vo,useContext:Vo,useEffect:Vo,useImperativeHandle:Vo,useInsertionEffect:Vo,useLayoutEffect:Vo,useMemo:Vo,useReducer:Vo,useRef:Vo,useState:Vo,useDebugValue:Vo,useDeferredValue:Vo,useTransition:Vo,useMutableSource:Vo,useSyncExternalStore:Vo,useId:Vo,unstable_isNewReconciler:!1},Es={readContext:ro,useCallback:function(e,t){return Go().memoizedState=[e,t===void 0?null:t],e},useContext:ro,useEffect:cs,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),os(4194308,4,fs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return os(4194308,4,e,t)},useInsertionEffect:function(e,t){return os(4,2,e,t)},useMemo:function(e,t){var n=Go();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Go();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=bs.bind(null,Po,e),[r.memoizedState,e]},useRef:function(e){var t=Go();return e={current:e},t.memoizedState=e},useState:rs,useDebugValue:ms,useDeferredValue:function(e){return Go().memoizedState=e},useTransition:function(){var e=rs(!1),t=e[0];return e=vs.bind(null,e[1]),Go().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Po,a=Go();if(ja){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),nl===null)throw Error(r(349));No&30||Qo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,cs(es.bind(null,i,o,e),[e]),i.flags|=2048,is(9,$o.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Go(),t=nl.identifierPrefix;if(ja){var n=wa,r=Ca;n=(r&~(1<<32-kt(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=zo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=Bo++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},Ds={readContext:ro,useCallback:hs,useContext:ro,useEffect:ls,useImperativeHandle:ps,useInsertionEffect:us,useLayoutEffect:ds,useMemo:gs,useReducer:Jo,useRef:as,useState:function(){return Jo(qo)},useDebugValue:ms,useDeferredValue:function(e){return _s(Ko(),Fo.memoizedState,e)},useTransition:function(){return[Jo(qo)[0],Ko().memoizedState]},useMutableSource:Xo,useSyncExternalStore:Zo,useId:ys,unstable_isNewReconciler:!1},Os={readContext:ro,useCallback:hs,useContext:ro,useEffect:ls,useImperativeHandle:ps,useInsertionEffect:us,useLayoutEffect:ds,useMemo:gs,useReducer:Yo,useRef:as,useState:function(){return Yo(qo)},useDebugValue:ms,useDeferredValue:function(e){var t=Ko();return Fo===null?t.memoizedState=e:_s(t,Fo.memoizedState,e)},useTransition:function(){return[Yo(qo)[0],Ko().memoizedState]},useMutableSource:Xo,useSyncExternalStore:Zo,useId:ys,unstable_isNewReconciler:!1};function ks(e,t){if(e&&e.defaultProps){for(var n in t=se({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function As(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:se({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var js={isMounted:function(e){return(e=e._reactInternals)?lt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Dl(),i=Ol(e),a=fo(r,i);a.payload=t,n!=null&&(a.callback=n),t=po(e,a,i),t!==null&&(kl(t,e,i,r),mo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Dl(),i=Ol(e),a=fo(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=po(e,a,i),t!==null&&(kl(t,e,i,r),mo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Dl(),r=Ol(e),i=fo(n,r);i.tag=2,t!=null&&(i.callback=t),t=po(e,i,r),t!==null&&(kl(t,e,r,n),mo(t,e,r))}};function Ms(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Fr(n,r)||!Fr(i,a):!0}function Ns(e,t,n){var r=!1,i=$i,a=t.contextType;return typeof a==`object`&&a?a=ro(a):(i=ia(t)?na:ea.current,r=t.contextTypes,a=(r=r!=null)?ra(e,i):$i),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=js,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ps(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&js.enqueueReplaceState(t,t.state,null)}function Fs(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},lo(e);var a=t.contextType;typeof a==`object`&&a?i.context=ro(a):(a=ia(t)?na:ea.current,i.context=ra(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(As(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&js.enqueueReplaceState(i,i.state,null),go(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Is(e,t){try{var n=``,r=t;do n+=de(r),r=r.return;while(r);var i=n}catch(e){i=`\nError generating stack: `+e.message+`\n`+e.stack}return{value:e,source:t,stack:i,digest:null}}function Ls(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Rs(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var zs=typeof WeakMap==`function`?WeakMap:Map;function Bs(e,t,n){n=fo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){_l||(_l=!0,vl=r),Rs(e,t)},n}function Vs(e,t,n){n=fo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Rs(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){Rs(e,t),typeof r!=`function`&&(yl===null?yl=new Set([this]):yl.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Hs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zs;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=eu.bind(null,e,t,n),t.then(e,e))}function Us(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null?!0:t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Ws(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fo(-1,1),t.tag=2,po(n,t,1))),n.lanes|=1),e)}var Gs=C.ReactCurrentOwner,Ks=!1;function qs(e,t,n,r){t.child=e===null?Ja(t,null,n,r):qa(t,e.child,n,r)}function Js(e,t,n,r,i){n=n.render;var a=t.ref;return no(t,i),r=Uo(e,t,n,r,a,i),n=Wo(),e!==null&&!Ks?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,mc(e,t,i)):(ja&&n&&Da(t),t.flags|=1,qs(e,t,r,i),t.child)}function Ys(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!cu(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Xs(e,t,a,r,i)):(e=du(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Fr:n,n(o,r)&&e.ref===t.ref)return mc(e,t,i)}return t.flags|=1,e=uu(a,r),e.ref=t.ref,e.return=t,t.child=e}function Xs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Fr(a,r)&&e.ref===t.ref)if(Ks=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Ks=!0);else return t.lanes=e.lanes,mc(e,t,i)}return $s(e,t,n,r,i)}function Zs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Qi(ol,al),al|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Qi(ol,al),al|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,Qi(ol,al),al|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),Qi(ol,al),al|=r;return qs(e,t,i,n),t.child}function Qs(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $s(e,t,n,r,i){var a=ia(n)?na:ea.current;return a=ra(t,a),no(t,i),n=Uo(e,t,n,r,a,i),r=Wo(),e!==null&&!Ks?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,mc(e,t,i)):(ja&&r&&Da(t),t.flags|=1,qs(e,t,n,i),t.child)}function ec(e,t,n,r,i){if(ia(n)){var a=!0;ca(t)}else a=!1;if(no(t,i),t.stateNode===null)pc(e,t),Ns(t,n,r),Fs(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=ro(l):(l=ia(n)?na:ea.current,l=ra(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&Ps(t,o,r,l),co=!1;var f=t.memoizedState;o.state=f,go(t,r,o,i),c=t.memoizedState,s!==r||f!==c||ta.current||co?(typeof u==`function`&&(As(t,n,u,r),c=t.memoizedState),(s=co||Ms(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,uo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ks(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=ro(c):(c=ia(n)?na:ea.current,c=ra(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&Ps(t,o,r,c),co=!1,f=t.memoizedState,o.state=f,go(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||ta.current||co?(typeof p==`function`&&(As(t,n,p,r),m=t.memoizedState),(l=co||Ms(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return tc(e,t,n,r,a,i)}function tc(e,t,n,r,i,a){Qs(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&la(t,n,!1),mc(e,t,a);r=t.stateNode,Gs.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=qa(t,e.child,null,a),t.child=qa(t,null,s,a)):qs(e,t,s,a),t.memoizedState=r.state,i&&la(t,n,!0),t.child}function nc(e){var t=e.stateNode;t.pendingContext?oa(e,t.pendingContext,t.pendingContext!==t.context):t.context&&oa(e,t.context,!1),Co(e,t.containerInfo)}function rc(e,t,n,r,i){return Ba(),Va(i),t.flags|=256,qs(e,t,n,r),t.child}var ic={dehydrated:null,treeContext:null,retryLane:0};function ac(e){return{baseLanes:e,cachePool:null,transitions:null}}function oc(e,t,n){var r=t.pendingProps,i=Do.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Qi(Do,i&1),e===null)return Ia(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=pu(o,r,0,null),e=fu(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=ac(n),t.memoizedState=ic,e):sc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return lc(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=uu(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=fu(a,o,n,null),a.flags|=2):a=uu(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?ac(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=ic,r}return a=e.child,e=a.sibling,r=uu(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function sc(e,t){return t=pu({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function cc(e,t,n,r){return r!==null&&Va(r),qa(t,e.child,null,n),e=sc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lc(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=Ls(Error(r(422))),cc(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=pu({mode:`visible`,children:i.children},a,0,null),o=fu(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&qa(t,e.child,null,s),t.child.memoizedState=ac(s),t.memoizedState=ic,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return cc(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=Ls(o,i,void 0),cc(e,t,s,i)}if(c=(s&e.childLanes)!==0,Ks||c){if(i=nl,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,so(e,a),kl(i,e,a,-1))}return Ul(),i=Ls(Error(r(421))),cc(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=nu.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Aa=Fi(a.nextSibling),ka=t,ja=!0,Ma=null,e!==null&&(ba[xa++]=Ca,ba[xa++]=wa,ba[xa++]=Sa,Ca=e.id,wa=e.overflow,Sa=t),t=sc(t,i.children),t.flags|=4096,t)}function uc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),to(e.return,t,n)}function dc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function fc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(qs(e,t,r.children,n),r=Do.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&uc(e,n,t);else if(e.tag===19)uc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Qi(Do,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Oo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),dc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Oo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}dc(t,!0,n,null,a);break;case`together`:dc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function pc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function mc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ll|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=uu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=uu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hc(e,t,n){switch(t.tag){case 3:nc(t),Ba();break;case 5:To(t);break;case 1:ia(t.type)&&ca(t);break;case 4:Co(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Qi(Ya,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Qi(Do,Do.current&1),e=mc(e,t,n),e===null?null:e.sibling):oc(e,t,n):(Qi(Do,Do.current&1),t.flags|=128,null);Qi(Do,Do.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return fc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Qi(Do,Do.current),r)break;return null;case 22:case 23:return t.lanes=0,Zs(e,t,n)}return mc(e,t,n)}var gc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},_c=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,So(yo.current);var o=null;switch(n){case`input`:i=be(e,i),r=be(e,r),o=[];break;case`select`:i=se({},i,{value:void 0}),r=se({},r,{value:void 0}),o=[];break;case`textarea`:i=Ee(e,i),r=Ee(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=Ti)}F(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&di(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},vc=function(e,t,n,r){n!==r&&(t.flags|=4)};function yc(e,t){if(!ja)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function bc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function xc(e,t,n){var i=t.pendingProps;switch(Oa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bc(t),null;case 1:return ia(t.type)&&aa(),bc(t),null;case 3:return i=t.stateNode,wo(),Zi(ta),Zi(ea),Ao(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ra(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ma!==null&&(Nl(Ma),Ma=null))),bc(t),null;case 5:Eo(t);var o=So(xo.current);if(n=t.type,e!==null&&t.stateNode!=null)_c(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return bc(t),null}if(e=So(yo.current),Ra(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Ri]=t,i[zi]=s,e=(t.mode&1)!=0,n){case`dialog`:di(`cancel`,i),di(`close`,i);break;case`iframe`:case`object`:case`embed`:di(`load`,i);break;case`video`:case`audio`:for(o=0;o<si.length;o++)di(si[o],i);break;case`source`:di(`error`,i);break;case`img`:case`image`:case`link`:di(`error`,i),di(`load`,i);break;case`details`:di(`toggle`,i);break;case`input`:xe(i,s),di(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},di(`invalid`,i);break;case`textarea`:De(i,s),di(`invalid`,i)}for(var c in F(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&wi(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&wi(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&di(`scroll`,i)}switch(n){case`input`:_e(i),N(i,s,!0);break;case`textarea`:_e(i),ke(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=Ti)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=Ae(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Ri]=t,e[zi]=i,gc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Be(n,i),n){case`dialog`:di(`cancel`,e),di(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:di(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<si.length;o++)di(si[o],e);o=i;break;case`source`:di(`error`,e),o=i;break;case`img`:case`image`:case`link`:di(`error`,e),di(`load`,e),o=i;break;case`details`:di(`toggle`,e),o=i;break;case`input`:xe(e,i),o=be(e,i),di(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=se({},i,{value:void 0}),di(`invalid`,e);break;case`textarea`:De(e,i),o=Ee(e,i),di(`invalid`,e);break;default:o=i}for(s in F(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Re(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Ne(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&Pe(e,u):typeof u==`number`&&Pe(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&di(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:_e(e),N(e,i,!1);break;case`textarea`:_e(e),ke(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+me(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&Te(e,!!i.multiple,i.defaultValue,!0):Te(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=Ti)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return bc(t),null;case 6:if(e&&t.stateNode!=null)vc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=So(xo.current),So(yo.current),Ra(t)){if(i=t.stateNode,n=t.memoizedProps,i[Ri]=t,(s=i.nodeValue!==n)&&(e=ka,e!==null))switch(e.tag){case 3:wi(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&wi(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Ri]=t,t.stateNode=i}return bc(t),null;case 13:if(Zi(Do),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ja&&Aa!==null&&t.mode&1&&!(t.flags&128))za(),Ba(),t.flags|=98560,s=!1;else if(s=Ra(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Ri]=t}else Ba(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;bc(t),s=!1}else Ma!==null&&(Nl(Ma),Ma=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||Do.current&1?sl===0&&(sl=3):Ul())),t.updateQueue!==null&&(t.flags|=4),bc(t),null);case 4:return wo(),e===null&&mi(t.stateNode.containerInfo),bc(t),null;case 10:return eo(t.type._context),bc(t),null;case 17:return ia(t.type)&&aa(),bc(t),null;case 19:if(Zi(Do),s=t.memoizedState,s===null)return bc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)yc(s,!1);else{if(sl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=Oo(e),c!==null){for(t.flags|=128,yc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Qi(Do,Do.current&1|2),t.child}e=e.sibling}s.tail!==null&&yt()>hl&&(t.flags|=128,i=!0,yc(s,!1),t.lanes=4194304)}else{if(!i)if(e=Oo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!ja)return bc(t),null}else 2*yt()-s.renderingStartTime>hl&&n!==1073741824&&(t.flags|=128,i=!0,yc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(bc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=yt(),t.sibling=null,n=Do.current,Qi(Do,i?n&1|2:n&1),t);case 22:case 23:return zl(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?al&1073741824&&(bc(t),t.subtreeFlags&6&&(t.flags|=8192)):bc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function Sc(e,t){switch(Oa(t),t.tag){case 1:return ia(t.type)&&aa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wo(),Zi(ta),Zi(ea),Ao(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Eo(t),null;case 13:if(Zi(Do),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Ba()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Zi(Do),null;case 4:return wo(),null;case 10:return eo(t.type._context),null;case 22:case 23:return zl(),null;case 24:return null;default:return null}}var Cc=!1,wc=!1,Tc=typeof WeakSet==`function`?WeakSet:Set,R=null;function Ec(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){$l(e,t,n)}else n.current=null}function Dc(e,t,n){try{n()}catch(n){$l(e,t,n)}}var Oc=!1;function kc(e,t){if(Ei=vn,e=zr(),Br(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Di={focusedElem:e,selectionRange:n},vn=!1,R=t;R!==null;)if(t=R,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ks(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){$l(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return h=Oc,Oc=!1,h}function Ac(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Dc(t,n,a)}i=i.next}while(i!==r)}}function jc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Mc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function Nc(e){var t=e.alternate;t!==null&&(e.alternate=null,Nc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ri],delete t[zi],delete t[Vi],delete t[Hi],delete t[Ui])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pc(e){return e.tag===5||e.tag===3||e.tag===4}function Fc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Pc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ic(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ti));else if(r!==4&&(e=e.child,e!==null))for(Ic(e,t,n),e=e.sibling;e!==null;)Ic(e,t,n),e=e.sibling}function Lc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Lc(e,t,n),e=e.sibling;e!==null;)Lc(e,t,n),e=e.sibling}var Rc=null,zc=!1;function Bc(e,t,n){for(n=n.child;n!==null;)Vc(e,t,n),n=n.sibling}function Vc(e,t,n){if(Dt&&typeof Dt.onCommitFiberUnmount==`function`)try{Dt.onCommitFiberUnmount(Et,n)}catch{}switch(n.tag){case 5:wc||Ec(n,t);case 6:var r=Rc,i=zc;Rc=null,Bc(e,t,n),Rc=r,zc=i,Rc!==null&&(zc?(e=Rc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Rc.removeChild(n.stateNode));break;case 18:Rc!==null&&(zc?(e=Rc,n=n.stateNode,e.nodeType===8?Pi(e.parentNode,n):e.nodeType===1&&Pi(e,n),gn(e)):Pi(Rc,n.stateNode));break;case 4:r=Rc,i=zc,Rc=n.stateNode.containerInfo,zc=!0,Bc(e,t,n),Rc=r,zc=i;break;case 0:case 11:case 14:case 15:if(!wc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Dc(n,t,o),i=i.next}while(i!==r)}Bc(e,t,n);break;case 1:if(!wc&&(Ec(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){$l(n,t,e)}Bc(e,t,n);break;case 21:Bc(e,t,n);break;case 22:n.mode&1?(wc=(r=wc)||n.memoizedState!==null,Bc(e,t,n),wc=r):Bc(e,t,n);break;default:Bc(e,t,n)}}function Hc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Tc),t.forEach(function(t){var r=ru.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Uc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:Rc=c.stateNode,zc=!1;break a;case 3:Rc=c.stateNode.containerInfo,zc=!0;break a;case 4:Rc=c.stateNode.containerInfo,zc=!0;break a}c=c.return}if(Rc===null)throw Error(r(160));Vc(o,s,a),Rc=null,zc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){$l(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Wc(t,e),t=t.sibling}function Wc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Uc(t,e),Gc(e),i&4){try{Ac(3,e,e.return),jc(3,e)}catch(t){$l(e,e.return,t)}try{Ac(5,e,e.return)}catch(t){$l(e,e.return,t)}}break;case 1:Uc(t,e),Gc(e),i&512&&n!==null&&Ec(n,n.return);break;case 5:if(Uc(t,e),Gc(e),i&512&&n!==null&&Ec(n,n.return),e.flags&32){var a=e.stateNode;try{Pe(a,``)}catch(t){$l(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&Se(a,o),Be(c,s);var u=Be(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Re(a,f):d===`dangerouslySetInnerHTML`?Ne(a,f):d===`children`?Pe(a,f):S(a,d,f,u)}switch(c){case`input`:Ce(a,o);break;case`textarea`:Oe(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?Te(a,!!o.multiple,o.multiple?[]:``,!1):Te(a,!!o.multiple,o.defaultValue,!0)):Te(a,!!o.multiple,m,!1)}a[zi]=o}catch(t){$l(e,e.return,t)}}break;case 6:if(Uc(t,e),Gc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){$l(e,e.return,t)}}break;case 3:if(Uc(t,e),Gc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{gn(t.containerInfo)}catch(t){$l(e,e.return,t)}break;case 4:Uc(t,e),Gc(e);break;case 13:Uc(t,e),Gc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(ml=yt())),i&4&&Hc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(wc=(u=wc)||d,Uc(t,e),wc=u):Uc(t,e),Gc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(R=e,d=e.child;d!==null;){for(f=R=d;R!==null;){switch(p=R,m=p.child,p.tag){case 0:case 11:case 14:case 15:Ac(4,p,p.return);break;case 1:Ec(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){$l(i,n,e)}}break;case 5:Ec(p,p.return);break;case 22:if(p.memoizedState!==null){Yc(f);continue}}m===null?Yc(f):(m.return=p,R=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Le(`display`,s))}catch(t){$l(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){$l(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Uc(t,e),Gc(e),i&4&&Hc(e);break;case 21:break;default:Uc(t,e),Gc(e)}}function Gc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(Pc(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(Pe(a,``),i.flags&=-33),Lc(e,Fc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Ic(e,Fc(e),o);break;default:throw Error(r(161))}}catch(t){$l(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Kc(e,t,n){R=e,qc(e,t,n)}function qc(e,t,n){for(var r=(e.mode&1)!=0;R!==null;){var i=R,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Cc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||wc;s=Cc;var l=wc;if(Cc=o,(wc=c)&&!l)for(R=i;R!==null;)o=R,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Xc(i):(c.return=o,R=c);for(;a!==null;)R=a,qc(a,t,n),a=a.sibling;R=i,Cc=s,wc=l}Jc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,R=a):Jc(e,t,n)}}function Jc(e){for(;R!==null;){var t=R;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:wc||jc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!wc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ks(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&_o(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}_o(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&gn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}wc||t.flags&512&&Mc(t)}catch(e){$l(t,t.return,e)}}if(t===e){R=null;break}if(n=t.sibling,n!==null){n.return=t.return,R=n;break}R=t.return}}function Yc(e){for(;R!==null;){var t=R;if(t===e){R=null;break}var n=t.sibling;if(n!==null){n.return=t.return,R=n;break}R=t.return}}function Xc(e){for(;R!==null;){var t=R;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{jc(4,t)}catch(e){$l(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){$l(t,i,e)}}var a=t.return;try{Mc(t)}catch(e){$l(t,a,e)}break;case 5:var o=t.return;try{Mc(t)}catch(e){$l(t,o,e)}}}catch(e){$l(t,t.return,e)}if(t===e){R=null;break}var s=t.sibling;if(s!==null){s.return=t.return,R=s;break}R=t.return}}var Zc=Math.ceil,Qc=C.ReactCurrentDispatcher,$c=C.ReactCurrentOwner,el=C.ReactCurrentBatchConfig,tl=0,nl=null,rl=null,il=0,al=0,ol=Xi(0),sl=0,cl=null,ll=0,ul=0,dl=0,fl=null,pl=null,ml=0,hl=1/0,gl=null,_l=!1,vl=null,yl=null,bl=!1,xl=null,Sl=0,Cl=0,wl=null,Tl=-1,El=0;function Dl(){return tl&6?yt():Tl===-1?Tl=yt():Tl}function Ol(e){return e.mode&1?tl&2&&il!==0?il&-il:Ha.transition===null?(e=Gt,e===0?(e=window.event,e=e===void 0?16:wn(e.type),e):e):(El===0&&(El=Bt()),El):1}function kl(e,t,n,i){if(50<Cl)throw Cl=0,wl=null,Error(r(185));Ht(e,n,i),(!(tl&2)||e!==nl)&&(e===nl&&(!(tl&2)&&(ul|=n),sl===4&&Fl(e,il)),Al(e,i),n===1&&tl===0&&!(t.mode&1)&&(hl=yt()+500,da&&ha()))}function Al(e,t){var n=e.callbackNode;Rt(e,t);var r=It(e,e===nl?il:0);if(r===0)n!==null&>(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&>(n),t===1)e.tag===0?ma(Il.bind(null,e)):pa(Il.bind(null,e)),Mi(function(){!(tl&6)&&ha()}),n=null;else{switch(Kt(r)){case 1:n=xt;break;case 4:n=St;break;case 16:n=Ct;break;case 536870912:n=Tt;break;default:n=Ct}n=au(n,jl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function jl(e,t){if(Tl=-1,El=0,tl&6)throw Error(r(327));var n=e.callbackNode;if(Zl()&&e.callbackNode!==n)return null;var i=It(e,e===nl?il:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Wl(e,i);else{t=i;var a=tl;tl|=2;var o=Hl();(nl!==e||il!==t)&&(gl=null,hl=yt()+500,Bl(e,t));do try{Kl();break}catch(t){Vl(e,t)}while(1);$a(),Qc.current=o,tl=a,rl===null?(nl=null,il=0,t=sl):t=0}if(t!==0){if(t===2&&(a=zt(e),a!==0&&(i=a,t=Ml(e,a))),t===1)throw n=cl,Bl(e,0),Fl(e,i),Al(e,yt()),n;if(t===6)Fl(e,i);else{if(a=e.current.alternate,!(i&30)&&!Pl(a)&&(t=Wl(e,i),t===2&&(o=zt(e),o!==0&&(i=o,t=Ml(e,o))),t===1))throw n=cl,Bl(e,0),Fl(e,i),Al(e,yt()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Yl(e,pl,gl);break;case 3:if(Fl(e,i),(i&130023424)===i&&(t=ml+500-yt(),10<t)){if(It(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){Dl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ki(Yl.bind(null,e,pl,gl),t);break}Yl(e,pl,gl);break;case 4:if(Fl(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-kt(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=yt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Zc(i/1960))-i,10<i){e.timeoutHandle=ki(Yl.bind(null,e,pl,gl),i);break}Yl(e,pl,gl);break;case 5:Yl(e,pl,gl);break;default:throw Error(r(329))}}}return Al(e,yt()),e.callbackNode===n?jl.bind(null,e):null}function Ml(e,t){var n=fl;return e.current.memoizedState.isDehydrated&&(Bl(e,t).flags|=256),e=Wl(e,t),e!==2&&(t=pl,pl=n,t!==null&&Nl(t)),e}function Nl(e){pl===null?pl=e:pl.push.apply(pl,e)}function Pl(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Pr(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Fl(e,t){for(t&=~dl,t&=~ul,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-kt(t),r=1<<n;e[n]=-1,t&=~r}}function Il(e){if(tl&6)throw Error(r(327));Zl();var t=It(e,0);if(!(t&1))return Al(e,yt()),null;var n=Wl(e,t);if(e.tag!==0&&n===2){var i=zt(e);i!==0&&(t=i,n=Ml(e,i))}if(n===1)throw n=cl,Bl(e,0),Fl(e,t),Al(e,yt()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Yl(e,pl,gl),Al(e,yt()),null}function Ll(e,t){var n=tl;tl|=1;try{return e(t)}finally{tl=n,tl===0&&(hl=yt()+500,da&&ha())}}function Rl(e){xl!==null&&xl.tag===0&&!(tl&6)&&Zl();var t=tl;tl|=1;var n=el.transition,r=Gt;try{if(el.transition=null,Gt=1,e)return e()}finally{Gt=r,el.transition=n,tl=t,!(tl&6)&&ha()}}function zl(){al=ol.current,Zi(ol)}function Bl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ai(n)),rl!==null)for(n=rl.return;n!==null;){var r=n;switch(Oa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&aa();break;case 3:wo(),Zi(ta),Zi(ea),Ao();break;case 5:Eo(r);break;case 4:wo();break;case 13:Zi(Do);break;case 19:Zi(Do);break;case 10:eo(r.type._context);break;case 22:case 23:zl()}n=n.return}if(nl=e,rl=e=uu(e.current,null),il=al=t,sl=0,cl=null,dl=ul=ll=0,pl=fl=null,io!==null){for(t=0;t<io.length;t++)if(n=io[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}io=null}return e}function Vl(e,t){do{var n=rl;try{if($a(),jo.current=Ts,Lo){for(var i=Po.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}Lo=!1}if(No=0,Io=Fo=Po=null,Ro=!1,zo=0,$c.current=null,n===null||n.return===null){sl=1,cl=t,rl=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=il,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=Us(s);if(m!==null){m.flags&=-257,Ws(m,s,c,o,t),m.mode&1&&Hs(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Hs(o,u,t),Ul();break a}l=Error(r(426))}}else if(ja&&c.mode&1){var _=Us(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Ws(_,s,c,o,t),Va(Is(l,c));break a}}o=l=Is(l,c),sl!==4&&(sl=2),fl===null?fl=[o]:fl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=Bs(o,l,t);ho(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(yl===null||!yl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Vs(o,c,t);ho(o,x);break a}}o=o.return}while(o!==null)}Jl(n)}catch(e){t=e,rl===n&&n!==null&&(rl=n=n.return);continue}break}while(1)}function Hl(){var e=Qc.current;return Qc.current=Ts,e===null?Ts:e}function Ul(){(sl===0||sl===3||sl===2)&&(sl=4),nl===null||!(ll&268435455)&&!(ul&268435455)||Fl(nl,il)}function Wl(e,t){var n=tl;tl|=2;var i=Hl();(nl!==e||il!==t)&&(gl=null,Bl(e,t));do try{Gl();break}catch(t){Vl(e,t)}while(1);if($a(),tl=n,Qc.current=i,rl!==null)throw Error(r(261));return nl=null,il=0,sl}function Gl(){for(;rl!==null;)ql(rl)}function Kl(){for(;rl!==null&&!_t();)ql(rl)}function ql(e){var t=iu(e.alternate,e,al);e.memoizedProps=e.pendingProps,t===null?Jl(e):rl=t,$c.current=null}function Jl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Sc(n,t),n!==null){n.flags&=32767,rl=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{sl=6,rl=null;return}}else if(n=xc(n,t,al),n!==null){rl=n;return}if(t=t.sibling,t!==null){rl=t;return}rl=t=e}while(t!==null);sl===0&&(sl=5)}function Yl(e,t,n){var r=Gt,i=el.transition;try{el.transition=null,Gt=1,Xl(e,t,n,r)}finally{el.transition=i,Gt=r}return null}function Xl(e,t,n,i){do Zl();while(xl!==null);if(tl&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Ut(e,o),e===nl&&(rl=nl=null,il=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||bl||(bl=!0,au(Ct,function(){return Zl(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=el.transition,el.transition=null;var s=Gt;Gt=1;var c=tl;tl|=4,$c.current=null,kc(e,n),Wc(n,e),Vr(Di),vn=!!Ei,Di=Ei=null,e.current=n,Kc(n,e,a),vt(),tl=c,Gt=s,el.transition=o}else e.current=n;if(bl&&(bl=!1,xl=e,Sl=a),o=e.pendingLanes,o===0&&(yl=null),Ot(n.stateNode,i),Al(e,yt()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(_l)throw _l=!1,e=vl,vl=null,e;return Sl&1&&e.tag!==0&&Zl(),o=e.pendingLanes,o&1?e===wl?Cl++:(Cl=0,wl=e):Cl=0,ha(),null}function Zl(){if(xl!==null){var e=Kt(Sl),t=el.transition,n=Gt;try{if(el.transition=null,Gt=16>e?16:e,xl===null)var i=!1;else{if(e=xl,xl=null,Sl=0,tl&6)throw Error(r(331));var a=tl;for(tl|=4,R=e.current;R!==null;){var o=R,s=o.child;if(R.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(R=u;R!==null;){var d=R;switch(d.tag){case 0:case 11:case 15:Ac(8,d,o)}var f=d.child;if(f!==null)f.return=d,R=f;else for(;R!==null;){d=R;var p=d.sibling,m=d.return;if(Nc(d),d===u){R=null;break}if(p!==null){p.return=m,R=p;break}R=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}R=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,R=s;else b:for(;R!==null;){if(o=R,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ac(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,R=v;break b}R=o.return}}var y=e.current;for(R=y;R!==null;){s=R;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,R=b;else b:for(s=y;R!==null;){if(c=R,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:jc(9,c)}}catch(e){$l(c,c.return,e)}if(c===s){R=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,R=x;break b}R=c.return}}if(tl=a,ha(),Dt&&typeof Dt.onPostCommitFiberRoot==`function`)try{Dt.onPostCommitFiberRoot(Et,e)}catch{}i=!0}return i}finally{Gt=n,el.transition=t}}return!1}function Ql(e,t,n){t=Is(n,t),t=Bs(e,t,1),e=po(e,t,1),t=Dl(),e!==null&&(Ht(e,1,t),Al(e,t))}function $l(e,t,n){if(e.tag===3)Ql(e,e,n);else for(;t!==null;){if(t.tag===3){Ql(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(yl===null||!yl.has(r))){e=Is(n,e),e=Vs(t,e,1),t=po(t,e,1),e=Dl(),t!==null&&(Ht(t,1,e),Al(t,e));break}}t=t.return}}function eu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Dl(),e.pingedLanes|=e.suspendedLanes&n,nl===e&&(il&n)===n&&(sl===4||sl===3&&(il&130023424)===il&&500>yt()-ml?Bl(e,0):dl|=n),Al(e,t)}function tu(e,t){t===0&&(e.mode&1?(t=Pt,Pt<<=1,!(Pt&130023424)&&(Pt=4194304)):t=1);var n=Dl();e=so(e,t),e!==null&&(Ht(e,t,n),Al(e,n))}function nu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),tu(e,n)}function ru(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),tu(e,n)}var iu=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ta.current)Ks=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Ks=!1,hc(e,t,n);Ks=!!(e.flags&131072)}else Ks=!1,ja&&t.flags&1048576&&Ea(t,ya,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;pc(e,t),e=t.pendingProps;var a=ra(t,ea.current);no(t,n),a=Uo(null,t,i,e,a,n);var o=Wo();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ia(i)?(o=!0,ca(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,lo(t),a.updater=js,t.stateNode=a,a._reactInternals=t,Fs(t,i,e,n),t=tc(null,t,i,!0,o,n)):(t.tag=0,ja&&o&&Da(t),qs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(pc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=lu(i),e=ks(i,e),a){case 0:t=$s(null,t,i,e,n);break a;case 1:t=ec(null,t,i,e,n);break a;case 11:t=Js(null,t,i,e,n);break a;case 14:t=Ys(null,t,i,ks(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),$s(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),ec(e,t,i,a,n);case 3:a:{if(nc(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,uo(e,t),go(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Is(Error(r(423)),t),t=rc(e,t,i,n,a);break a}else if(i!==a){a=Is(Error(r(424)),t),t=rc(e,t,i,n,a);break a}else for(Aa=Fi(t.stateNode.containerInfo.firstChild),ka=t,ja=!0,Ma=null,n=Ja(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ba(),i===a){t=mc(e,t,n);break a}qs(e,t,i,n)}t=t.child}return t;case 5:return To(t),e===null&&Ia(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Oi(i,a)?s=null:o!==null&&Oi(i,o)&&(t.flags|=32),Qs(e,t),qs(e,t,s,n),t.child;case 6:return e===null&&Ia(t),null;case 13:return oc(e,t,n);case 4:return Co(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=qa(t,null,i,n):qs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),Js(e,t,i,a,n);case 7:return qs(e,t,t.pendingProps,n),t.child;case 8:return qs(e,t,t.pendingProps.children,n),t.child;case 12:return qs(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,Qi(Ya,i._currentValue),i._currentValue=s,o!==null)if(Pr(o.value,s)){if(o.children===a.children&&!ta.current){t=mc(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=fo(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),to(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),to(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}qs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,no(t,n),a=ro(a),i=i(a),t.flags|=1,qs(e,t,i,n),t.child;case 14:return i=t.type,a=ks(i,t.pendingProps),a=ks(i.type,a),Ys(e,t,i,a,n);case 15:return Xs(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),pc(e,t),t.tag=1,ia(i)?(e=!0,ca(t)):e=!1,no(t,n),Ns(t,i,a),Fs(t,i,a,n),tc(null,t,i,!0,e,n);case 19:return fc(e,t,n);case 22:return Zs(e,t,n)}throw Error(r(156,t.tag))};function au(e,t){return ht(e,t)}function ou(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function su(e,t,n,r){return new ou(e,t,n,r)}function cu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lu(e){if(typeof e==`function`)return+!!cu(e);if(e!=null){if(e=e.$$typeof,e===te)return 11;if(e===re)return 14}return 2}function uu(e,t){var n=e.alternate;return n===null?(n=su(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function du(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)cu(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case E:return fu(n.children,a,o,t);case D:s=8,a|=8;break;case O:return e=su(12,n,t,a|2),e.elementType=O,e.lanes=o,e;case ne:return e=su(13,n,t,a),e.elementType=ne,e.lanes=o,e;case A:return e=su(19,n,t,a),e.elementType=A,e.lanes=o,e;case ie:return pu(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case k:s=10;break a;case ee:s=9;break a;case te:s=11;break a;case re:s=14;break a;case j:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=su(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function fu(e,t,n,r){return e=su(7,e,r,t),e.lanes=n,e}function pu(e,t,n,r){return e=su(22,e,r,t),e.elementType=ie,e.lanes=n,e.stateNode={isHidden:!1},e}function mu(e,t,n){return e=su(6,e,null,t),e.lanes=n,e}function hu(e,t,n){return t=su(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function _u(e,t,n,r,i,a,o,s,c){return e=new gu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=su(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lo(a),e}function vu(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function yu(e){if(!e)return $i;e=e._reactInternals;a:{if(lt(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(ia(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(ia(n))return sa(e,n,t)}return t}function bu(e,t,n,r,i,a,o,s,c){return e=_u(n,r,!0,e,i,a,o,s,c),e.context=yu(null),n=e.current,r=Dl(),i=Ol(n),a=fo(r,i),a.callback=t??null,po(n,a,i),e.current.lanes=i,Ht(e,i,r),Al(e,r),e}function xu(e,t,n,r){var i=t.current,a=Dl(),o=Ol(i);return n=yu(n),t.context===null?t.context=n:t.pendingContext=n,t=fo(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=po(i,t,o),e!==null&&(kl(e,i,o,a),mo(e,i,o)),o}function Su(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Cu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function wu(e,t){Cu(e,t),(e=e.alternate)&&Cu(e,t)}function Tu(){return null}var Eu=typeof reportError==`function`?reportError:function(e){console.error(e)};function Du(e){this._internalRoot=e}Ou.prototype.render=Du.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));xu(e,t,null,null)},Ou.prototype.unmount=Du.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Rl(function(){xu(null,e,null,null)}),t[Bi]=null}};function Ou(e){this._internalRoot=e}Ou.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<on.length&&t!==0&&t<on[n].priority;n++);on.splice(n,0,e),n===0&&dn(e)}};function ku(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Au(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function ju(){}function Mu(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=Su(o);a.call(e)}}var o=bu(t,r,e,0,null,!1,!1,``,ju);return e._reactRootContainer=o,e[Bi]=o.current,mi(e.nodeType===8?e.parentNode:e),Rl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=Su(c);s.call(e)}}var c=_u(e,0,!1,null,null,!1,!1,``,ju);return e._reactRootContainer=c,e[Bi]=c.current,mi(e.nodeType===8?e.parentNode:e),Rl(function(){xu(t,c,n,r)}),c}function Nu(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=Su(o);s.call(e)}}xu(t,o,e,i)}else o=Mu(n,t,e,i,r);return Su(o)}qt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ft(t.pendingLanes);n!==0&&(Wt(t,n|1),Al(t,yt()),!(tl&6)&&(hl=yt()+500,ha()))}break;case 13:Rl(function(){var t=so(e,1);t!==null&&kl(t,e,1,Dl())}),wu(e,1)}},Jt=function(e){if(e.tag===13){var t=so(e,134217728);t!==null&&kl(t,e,134217728,Dl()),wu(e,134217728)}},Yt=function(e){if(e.tag===13){var t=Ol(e),n=so(e,t);n!==null&&kl(n,e,t,Dl()),wu(e,t)}},Xt=function(){return Gt},Zt=function(e,t){var n=Gt;try{return Gt=e,t()}finally{Gt=n}},Ue=function(e,t,n){switch(t){case`input`:if(Ce(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type=\"radio\"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=qi(i);if(!a)throw Error(r(90));ve(i),Ce(i,a)}}}break;case`textarea`:Oe(e,n);break;case`select`:t=n.value,t!=null&&Te(e,!!n.multiple,t,!1)}},Ye=Ll,Xe=Rl;var Pu={usingClientEntryPoint:!1,Events:[Gi,Ki,qi,qe,Je,Ll]},Fu={findFiberByHostInstance:Wi,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},Iu={bundleType:Fu.bundleType,version:Fu.version,rendererPackageName:Fu.rendererPackageName,rendererConfig:Fu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=pt(e),e===null?null:e.stateNode},findFiberByHostInstance:Fu.findFiberByHostInstance||Tu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Lu.isDisabled&&Lu.supportsFiber)try{Et=Lu.inject(Iu),Dt=Lu}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pu,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ku(t))throw Error(r(200));return vu(e,t,null,n)},e.createRoot=function(e,t){if(!ku(e))throw Error(r(299));var n=!1,i=``,a=Eu;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=_u(e,1,!1,null,null,n,!1,i,a),e[Bi]=t.current,mi(e.nodeType===8?e.parentNode:e),new Du(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=pt(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return Rl(e)},e.hydrate=function(e,t,n){if(!Au(t))throw Error(r(200));return Nu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!ku(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=Eu;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=bu(t,null,e,1,n??null,a,!1,o,s),e[Bi]=t.current,mi(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Ou(t)},e.render=function(e,t,n){if(!Au(t))throw Error(r(200));return Nu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!Au(e))throw Error(r(40));return e._reactRootContainer?(Rl(function(){Nu(null,null,e,!1,function(){e._reactRootContainer=null,e[Bi]=null})}),!0):!1},e.unstable_batchedUpdates=Ll,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Au(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return Nu(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=_();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot}));function y(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,\"_zod\",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,\"name\",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,\"init\",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,\"name\",{value:e}),o}function b(e){return e&&Object.assign(E,e),E}var x,S,C,w,T,E,D=o((()=>{S=Object.freeze({status:`aborted`}),C=Symbol(`zod_brand`),w=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},T=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},(x=globalThis).__zod_globalConfig??(x.__zod_globalConfig={}),E=globalThis.__zod_globalConfig})),O=c({BIGINT_FORMAT_RANGES:()=>tt,Class:()=>nt,NUMBER_FORMAT_RANGES:()=>et,aborted:()=>Ne,allowsEval:()=>Xe,assert:()=>A,assertEqual:()=>k,assertIs:()=>te,assertNever:()=>ne,assertNotEqual:()=>ee,assignProp:()=>ue,base64ToUint8Array:()=>He,base64urlToUint8Array:()=>We,cached:()=>ae,captureStackTrace:()=>Ye,cleanEnum:()=>Ve,cleanRegex:()=>se,clone:()=>Ce,cloneDef:()=>fe,createTransparentProxy:()=>we,defineLazy:()=>M,esc:()=>ge,escapeRegex:()=>Se,explicitlyAborted:()=>Pe,extend:()=>Oe,finalizeIssue:()=>Le,floatSafeRemainder:()=>ce,getElementAtPath:()=>pe,getEnumValues:()=>re,getLengthableOrigin:()=>ze,getParsedType:()=>Ze,getSizableOrigin:()=>Re,hexToUint8Array:()=>Ke,isObject:()=>ve,isPlainObject:()=>ye,issue:()=>Be,joinValues:()=>j,jsonStringifyReplacer:()=>ie,merge:()=>Ae,mergeDefs:()=>de,normalizeParams:()=>N,nullish:()=>oe,numKeys:()=>xe,objectClone:()=>le,omit:()=>De,optionalKeys:()=>Te,parsedType:()=>F,partial:()=>je,pick:()=>Ee,prefixIssues:()=>Fe,primitiveTypes:()=>$e,promiseAllObject:()=>me,propertyKeyTypes:()=>Qe,randomString:()=>he,required:()=>Me,safeExtend:()=>ke,shallowClone:()=>be,slugify:()=>_e,stringifyPrimitive:()=>P,uint8ArrayToBase64:()=>Ue,uint8ArrayToBase64url:()=>Ge,uint8ArrayToHex:()=>qe,unwrapMessage:()=>Ie});function k(e){return e}function ee(e){return e}function te(e){}function ne(e){throw Error(`Unexpected value in exhaustive check`)}function A(e){}function re(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function j(e,t=`|`){return e.map(e=>P(e)).join(t)}function ie(e,t){return typeof t==`bigint`?t.toString():t}function ae(e){return{get value(){{let t=e();return Object.defineProperty(this,\"value\",{value:t}),t}throw Error(`cached value already set`)}}}function oe(e){return e==null}function se(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function ce(e,t){let n=e/t,r=Math.round(n),i=2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function M(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Je)return r===void 0&&(r=Je,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function le(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function ue(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function de(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function fe(e){return de(e._zod.def)}function pe(e,t){return t?t.reduce((e,t)=>e?.[t],e):e}function me(e){let t=Object.keys(e),n=t.map(t=>e[t]);return Promise.all(n).then(e=>{let n={};for(let r=0;r<t.length;r++)n[t[r]]=e[r];return n})}function he(e=10){let t=``;for(let n=0;n<e;n++)t+=`abcdefghijklmnopqrstuvwxyz`[Math.floor(Math.random()*26)];return t}function ge(e){return JSON.stringify(e)}function _e(e){return e.toLowerCase().trim().replace(/[^\\w\\s-]/g,``).replace(/[\\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}function ve(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function ye(e){if(ve(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(ve(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function be(e){return ye(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function xe(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function Se(e){return e.replace(/[.*+?^${}()|[\\]\\\\]/g,`\\\\$&`)}function Ce(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function N(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error(\"Cannot specify both `message` and `error` params\");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function we(e){let t;return new Proxy({},{get(n,r,i){return t??=e(),Reflect.get(t,r,i)},set(n,r,i,a){return t??=e(),Reflect.set(t,r,i,a)},has(n,r){return t??=e(),Reflect.has(t,r)},deleteProperty(n,r){return t??=e(),Reflect.deleteProperty(t,r)},ownKeys(n){return t??=e(),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,r){return t??=e(),Reflect.getOwnPropertyDescriptor(t,r)},defineProperty(n,r,i){return t??=e(),Reflect.defineProperty(t,r,i)}})}function P(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`\"${e}\"`:`${e}`}function Te(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}function Ee(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return Ce(e,de(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: \"${r}\"`);t[r]&&(e[r]=n.shape[r])}return ue(this,`shape`,e),e},checks:[]}))}function De(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return Ce(e,de(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: \"${e}\"`);t[e]&&delete r[e]}return ue(this,`shape`,r),r},checks:[]}))}function Oe(e,t){if(!ye(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error(\"Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.\")}return Ce(e,de(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ue(this,`shape`,n),n}}))}function ke(e,t){if(!ye(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Ce(e,de(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ue(this,`shape`,n),n}}))}function Ae(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return Ce(e,de(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return ue(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function je(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return Ce(t,de(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: \"${t}\"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return ue(this,`shape`,i),i},checks:[]}))}function Me(e,t,n){return Ce(t,de(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: \"${t}\"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return ue(this,`shape`,i),i}}))}function Ne(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Pe(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Fe(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Ie(e){return typeof e==`string`?e:e?.message}function Le(e,t,n){let r=e.message?e.message:Ie(e.inst?._zod.def?.error?.(e))??Ie(t?.error?.(e))??Ie(n.customError?.(e))??Ie(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function Re(e){return e instanceof Set?`set`:e instanceof Map?`map`:e instanceof File?`file`:`unknown`}function ze(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function F(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function Be(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function Ve(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function He(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function Ue(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function We(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);return He(t+`=`.repeat((4-t.length%4)%4))}function Ge(e){return Ue(e).replace(/\\+/g,`-`).replace(/\\//g,`_`).replace(/=/g,``)}function Ke(e){let t=e.replace(/^0x/,``);if(t.length%2!=0)throw Error(`Invalid hex string length`);let n=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2)n[e/2]=Number.parseInt(t.slice(e,e+2),16);return n}function qe(e){return Array.from(e).map(e=>e.toString(16).padStart(2,`0`)).join(``)}var Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,I=o((()=>{D(),Je=Symbol(`evaluating`),Ye=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{},Xe=ae(()=>{if(E.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}}),Ze=e=>{let t=typeof e;switch(t){case`undefined`:return`undefined`;case`string`:return`string`;case`number`:return Number.isNaN(e)?`nan`:`number`;case`boolean`:return`boolean`;case`function`:return`function`;case`bigint`:return`bigint`;case`symbol`:return`symbol`;case`object`:return Array.isArray(e)?`array`:e===null?`null`:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?`promise`:typeof Map<`u`&&e instanceof Map?`map`:typeof Set<`u`&&e instanceof Set?`set`:typeof Date<`u`&&e instanceof Date?`date`:typeof File<`u`&&e instanceof File?`file`:`object`;default:throw Error(`Unknown data type: ${t}`)}},Qe=new Set([`string`,`number`,`symbol`]),$e=new Set([`string`,`number`,`bigint`,`boolean`,`symbol`,`undefined`]),et={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},tt={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]},nt=class{constructor(...e){}}}));function rt(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function it(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i];i===e.length-1?(r[n]=r[n]||{_errors:[]},r[n]._errors.push(t(a))):r[n]=r[n]||{_errors:[]},r=r[n],i++}}}};return r(e),n}function at(e,t=e=>e.message){let n={errors:[]},r=(e,i=[])=>{var a,o;for(let s of e.issues)if(s.code===`invalid_union`&&s.errors.length)s.errors.map(e=>r({issues:e},[...i,...s.path]));else if(s.code===`invalid_key`)r({issues:s.issues},[...i,...s.path]);else if(s.code===`invalid_element`)r({issues:s.issues},[...i,...s.path]);else{let e=[...i,...s.path];if(e.length===0){n.errors.push(t(s));continue}let r=n,c=0;for(;c<e.length;){let n=e[c],i=c===e.length-1;typeof n==`string`?(r.properties??={},(a=r.properties)[n]??(a[n]={errors:[]}),r=r.properties[n]):(r.items??=[],(o=r.items)[n]??(o[n]={errors:[]}),r=r.items[n]),i&&r.errors.push(t(s)),c++}}};return r(e),n}function ot(e){let t=[],n=e.map(e=>typeof e==`object`?e.key:e);for(let e of n)typeof e==`number`?t.push(`[${e}]`):typeof e==`symbol`?t.push(`[${JSON.stringify(String(e))}]`):/[^\\w$]/.test(e)?t.push(`[${JSON.stringify(e)}]`):(t.length&&t.push(`.`),t.push(e));return t.join(``)}function st(e){let t=[],n=[...e.issues].sort((e,t)=>(e.path??[]).length-(t.path??[]).length);for(let e of n)t.push(`✖ ${e.message}`),e.path?.length&&t.push(` → at ${ot(e.path)}`);return t.join(`\n`)}var ct,lt,ut,dt=o((()=>{D(),I(),ct=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,\"_zod\",{value:e._zod,enumerable:!1}),Object.defineProperty(e,\"issues\",{value:t,enumerable:!1}),e.message=JSON.stringify(t,ie,2),Object.defineProperty(e,\"toString\",{value:()=>e.message,enumerable:!1})},lt=y(`$ZodError`,ct),ut=y(`$ZodError`,ct,{Parent:Error})})),ft,pt,mt,ht,gt,_t,vt,yt,bt,xt,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt,Ft,It=o((()=>{D(),dt(),I(),ft=e=>(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new w;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Le(e,a,b())));throw Ye(t,i?.callee),t}return o.value},pt=ft(ut),mt=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Le(e,a,b())));throw Ye(t,i?.callee),t}return o.value},ht=mt(ut),gt=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new w;return a.issues.length?{success:!1,error:new(e??lt)(a.issues.map(e=>Le(e,i,b())))}:{success:!0,data:a.value}},_t=gt(ut),vt=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>Le(e,i,b())))}:{success:!0,data:a.value}},yt=vt(ut),bt=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return ft(e)(t,n,i)},xt=bt(ut),St=e=>(t,n,r)=>ft(e)(t,n,r),Ct=St(ut),wt=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return mt(e)(t,n,i)},Tt=wt(ut),Et=e=>async(t,n,r)=>mt(e)(t,n,r),Dt=Et(ut),Ot=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return gt(e)(t,n,i)},kt=Ot(ut),At=e=>(t,n,r)=>gt(e)(t,n,r),jt=At(ut),Mt=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return vt(e)(t,n,i)},Nt=Mt(ut),Pt=e=>async(t,n,r)=>vt(e)(t,n,r),Ft=Pt(ut)})),Lt=c({base64:()=>gn,base64url:()=>_n,bigint:()=>Tn,boolean:()=>On,browserEmail:()=>ln,cidrv4:()=>mn,cidrv6:()=>hn,cuid:()=>Wt,cuid2:()=>Gt,date:()=>Cn,datetime:()=>Vt,domain:()=>yn,duration:()=>Xt,e164:()=>xn,email:()=>rn,emoji:()=>Rt,extendedDuration:()=>Zt,guid:()=>Qt,hex:()=>Nn,hostname:()=>vn,html5Email:()=>an,httpProtocol:()=>bn,idnEmail:()=>cn,integer:()=>En,ipv4:()=>dn,ipv6:()=>fn,ksuid:()=>Jt,lowercase:()=>jn,mac:()=>pn,md5_base64:()=>Fn,md5_base64url:()=>In,md5_hex:()=>Pn,nanoid:()=>Yt,null:()=>kn,number:()=>Dn,rfc5322Email:()=>on,sha1_base64:()=>Rn,sha1_base64url:()=>zn,sha1_hex:()=>Ln,sha256_base64:()=>Vn,sha256_base64url:()=>Hn,sha256_hex:()=>Bn,sha384_base64:()=>Wn,sha384_base64url:()=>Gn,sha384_hex:()=>Un,sha512_base64:()=>qn,sha512_base64url:()=>Jn,sha512_hex:()=>Kn,string:()=>wn,time:()=>Bt,ulid:()=>Kt,undefined:()=>An,unicodeEmail:()=>sn,uppercase:()=>Mn,uuid:()=>$t,uuid4:()=>en,uuid6:()=>tn,uuid7:()=>nn,xid:()=>qt});function Rt(){return new RegExp(un,`u`)}function zt(e){let t=`(?:[01]\\\\d|2[0-3]):[0-5]\\\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\\\d`:`${t}:[0-5]\\\\d\\\\.\\\\d{${e.precision}}`:`${t}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function Bt(e){return RegExp(`^${zt(e)}$`)}function Vt(e){let t=zt({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${Sn}T(?:${r})$`)}function Ht(e,t){return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Ut(e){return RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var Wt,Gt,Kt,qt,Jt,Yt,Xt,Zt,Qt,$t,en,tn,nn,rn,an,on,sn,cn,ln,un,dn,fn,pn,mn,hn,gn,_n,vn,yn,bn,xn,Sn,Cn,wn,Tn,En,Dn,On,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn,qn,Jn,Yn=o((()=>{I(),Wt=/^[cC][0-9a-z]{6,}$/,Gt=/^[0-9a-z]+$/,Kt=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,qt=/^[0-9a-vA-V]{20}$/,Jt=/^[A-Za-z0-9]{27}$/,Yt=/^[a-zA-Z0-9_-]{21}$/,Xt=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,Zt=/^[-+]?P(?!$)(?:(?:[-+]?\\d+Y)|(?:[-+]?\\d+[.,]\\d+Y$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:(?:[-+]?\\d+W)|(?:[-+]?\\d+[.,]\\d+W$))?(?:(?:[-+]?\\d+D)|(?:[-+]?\\d+[.,]\\d+D$))?(?:T(?=[\\d+-])(?:(?:[-+]?\\d+H)|(?:[-+]?\\d+[.,]\\d+H$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:[-+]?\\d+(?:[.,]\\d+)?S)?)??$/,Qt=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,$t=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,en=$t(4),tn=$t(6),nn=$t(7),rn=/^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,an=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,on=/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,sn=/^[^\\s@\"]{1,64}@[^\\s@]{1,255}$/u,cn=sn,ln=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,un=`^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$`,dn=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,fn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,pn=e=>{let t=Se(e??`:`);return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},mn=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$/,hn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,gn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,_n=/^[A-Za-z0-9_-]*$/,vn=/^(?=.{1,253}\\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\\.?$/,yn=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$/,bn=/^https?$/,xn=/^\\+[1-9]\\d{6,14}$/,Sn=`(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))`,Cn=RegExp(`^${Sn}$`),wn=e=>{let t=e?`[\\\\s\\\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\\\s\\\\S]*`;return RegExp(`^${t}$`)},Tn=/^-?\\d+n?$/,En=/^-?\\d+$/,Dn=/^-?\\d+(?:\\.\\d+)?$/,On=/^(?:true|false)$/i,kn=/^null$/i,An=/^undefined$/i,jn=/^[^A-Z]*$/,Mn=/^[^a-z]*$/,Nn=/^[0-9a-fA-F]*$/,Pn=/^[0-9a-fA-F]{32}$/,Fn=Ht(22,`==`),In=Ut(22),Ln=/^[0-9a-fA-F]{40}$/,Rn=Ht(27,`=`),zn=Ut(27),Bn=/^[0-9a-fA-F]{64}$/,Vn=Ht(43,`=`),Hn=Ut(43),Un=/^[0-9a-fA-F]{96}$/,Wn=Ht(64,``),Gn=Ut(64),Kn=/^[0-9a-fA-F]{128}$/,qn=Ht(86,`==`),Jn=Ut(86)}));function Xn(e,t,n){e.issues.length&&t.issues.push(...Fe(n,e.issues))}var Zn,Qn,$n,er,tr,nr,rr,ir,ar,or,sr,cr,lr,ur,dr,fr,pr,mr,hr,gr,_r,vr,yr,br=o((()=>{D(),Yn(),I(),Zn=y(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Qn={number:`number`,bigint:`bigint`,object:`date`},$n=y(`$ZodCheckLessThan`,(e,t)=>{Zn.init(e,t);let n=Qn[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),er=y(`$ZodCheckGreaterThan`,(e,t)=>{Zn.init(e,t);let n=Qn[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),tr=y(`$ZodCheckMultipleOf`,(e,t)=>{Zn.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):ce(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),nr=y(`$ZodCheckNumberFormat`,(e,t)=>{Zn.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=et[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=En)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),rr=y(`$ZodCheckBigIntFormat`,(e,t)=>{Zn.init(e,t);let[n,r]=tt[t.format];e._zod.onattach.push(e=>{let i=e._zod.bag;i.format=t.format,i.minimum=n,i.maximum=r}),e._zod.check=i=>{let a=i.value;a<n&&i.issues.push({origin:`bigint`,input:a,code:`too_small`,minimum:n,inclusive:!0,inst:e,continue:!t.abort}),a>r&&i.issues.push({origin:`bigint`,input:a,code:`too_big`,maximum:r,inclusive:!0,inst:e,continue:!t.abort})}}),ir=y(`$ZodCheckMaxSize`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;r.size<=t.maximum||n.issues.push({origin:Re(r),code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ar=y(`$ZodCheckMinSize`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;r.size>=t.minimum||n.issues.push({origin:Re(r),code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),or=y(`$ZodCheckSizeEquals`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=n=>{let r=n.value,i=r.size;if(i===t.size)return;let a=i>t.size;n.issues.push({origin:Re(r),...a?{code:`too_big`,maximum:t.size}:{code:`too_small`,minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),sr=y(`$ZodCheckMaxLength`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=ze(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),cr=y(`$ZodCheckMinLength`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=ze(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),lr=y(`$ZodCheckLengthEquals`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=ze(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),ur=y(`$ZodCheckStringFormat`,(e,t)=>{var n,r;Zn.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),dr=y(`$ZodCheckRegex`,(e,t)=>{ur.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),fr=y(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=jn,ur.init(e,t)}),pr=y(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Mn,ur.init(e,t)}),mr=y(`$ZodCheckIncludes`,(e,t)=>{Zn.init(e,t);let n=Se(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),hr=y(`$ZodCheckStartsWith`,(e,t)=>{Zn.init(e,t);let n=RegExp(`^${Se(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),gr=y(`$ZodCheckEndsWith`,(e,t)=>{Zn.init(e,t);let n=RegExp(`.*${Se(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),_r=y(`$ZodCheckProperty`,(e,t)=>{Zn.init(e,t),e._zod.check=e=>{let n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(n=>Xn(n,e,t.property));Xn(n,e,t.property)}}),vr=y(`$ZodCheckMimeType`,(e,t)=>{Zn.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=r=>{n.has(r.value.type)||r.issues.push({code:`invalid_value`,values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),yr=y(`$ZodCheckOverwrite`,(e,t)=>{Zn.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}})})),xr,Sr=o((()=>{xr=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`\n`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`\n`))}}})),Cr,wr=o((()=>{Cr={major:4,minor:4,patch:3}}));function Tr(e){if(e===``)return!0;if(/\\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}function Er(e){if(!_n.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return Tr(t.padEnd(Math.ceil(t.length/4)*4,`=`))}function Dr(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}function Or(e,t,n){e.issues.length&&t.issues.push(...Fe(n,e.issues)),t.value[n]=e.value}function kr(e,t,n,r,i,a){let o=n in r;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...Fe(n,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function Ar(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key \"${n}\": expected a Zod schema`);let n=Te(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function jr(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optin===`optional`,d=c.optout===`optional`;for(let i in t){if(i===`__proto__`||s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>kr(e,n,i,t,u,d))):kr(a,n,i,t,u,d)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}function Mr(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Ne(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Le(e,r,b())))}),t)}function Nr(e,t,n,r){let i=e.filter(e=>e.issues.length===0);return i.length===1?(t.value=i[0].value,t):(i.length===0?t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Le(e,r,b())))}):t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:[],inclusive:!1}),t)}function Pr(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(ye(e)&&ye(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Pr(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Pr(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Fr(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),Ne(e))return e;let o=Pr(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}function Ir(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!==`optional`)return n+1;return 0}function Lr(e,t,n){e.issues.length&&t.issues.push(...Fe(n,e.issues)),t.value[n]=e.value}function Rr(e,t,n,r,i){for(let a=0;a<n.length;a++){let n=e[a],o=a<r.length;if(n.issues.length){if(!o&&a>=i){t.value.length=a;break}t.issues.push(...Fe(a,n.issues))}t.value[a]=n.value}for(let e=t.value.length-1;e>=r.length&&n[e]._zod.optout===`optional`&&t.value[e]===void 0;e--)t.value.length=e;return t}function zr(e,t,n,r,i,a,o){e.issues.length&&(Qe.has(typeof r)?n.issues.push(...Fe(r,e.issues)):n.issues.push({code:`invalid_key`,origin:`map`,input:i,inst:a,issues:e.issues.map(e=>Le(e,o,b()))})),t.issues.length&&(Qe.has(typeof r)?n.issues.push(...Fe(r,t.issues)):n.issues.push({origin:`map`,code:`invalid_element`,input:i,inst:a,key:r,issues:t.issues.map(e=>Le(e,o,b()))})),n.value.set(e.value,t.value)}function Br(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function Vr(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}function Hr(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function Ur(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function Wr(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}function Gr(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||`forward`)===`forward`){let r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>Kr(e,r,t.out,n)):Kr(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>Kr(e,r,t.in,n)):Kr(e,r,t.in,n)}}function Kr(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}function qr(e){return e.value=Object.freeze(e.value),e}function Jr(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Be(e))}}var L,Yr,Xr,Zr,Qr,$r,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,di,fi,pi,mi,hi,gi,_i,vi,yi,bi,xi,Si,Ci,wi,Ti,Ei,Di,Oi,ki,Ai,ji,Mi,Ni,Pi,Fi,Ii,Li,Ri,zi,Bi,Vi,Hi,Ui,Wi,Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,la,ua,da,fa,pa,ma=o((()=>{br(),D(),Sr(),It(),Yn(),I(),wr(),L=y(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Cr;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=Ne(e),i;for(let a of t){if(a._zod.def.when){if(Pe(e)||!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new w;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=Ne(e,t))});else{if(e.issues.length===t)continue;r||=Ne(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(Ne(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new w;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new w;return o.then(e=>t(e,r,a))}return t(o,r,a)}}M(e,`~standard`,()=>({validate:t=>{try{let n=_t(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return yt(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Yr=y(`$ZodString`,(e,t)=>{L.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??wn(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),Xr=y(`$ZodStringFormat`,(e,t)=>{ur.init(e,t),Yr.init(e,t)}),Zr=y(`$ZodGUID`,(e,t)=>{t.pattern??=Qt,Xr.init(e,t)}),Qr=y(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: \"${t.version}\"`);t.pattern??=$t(e)}else t.pattern??=$t();Xr.init(e,t)}),$r=y(`$ZodEmail`,(e,t)=>{t.pattern??=rn,Xr.init(e,t)}),ei=y(`$ZodURL`,(e,t)=>{Xr.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===bn.source&&!/^https?:\\/\\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),ti=y(`$ZodEmoji`,(e,t)=>{t.pattern??=Rt(),Xr.init(e,t)}),ni=y(`$ZodNanoID`,(e,t)=>{t.pattern??=Yt,Xr.init(e,t)}),ri=y(`$ZodCUID`,(e,t)=>{t.pattern??=Wt,Xr.init(e,t)}),ii=y(`$ZodCUID2`,(e,t)=>{t.pattern??=Gt,Xr.init(e,t)}),ai=y(`$ZodULID`,(e,t)=>{t.pattern??=Kt,Xr.init(e,t)}),oi=y(`$ZodXID`,(e,t)=>{t.pattern??=qt,Xr.init(e,t)}),si=y(`$ZodKSUID`,(e,t)=>{t.pattern??=Jt,Xr.init(e,t)}),ci=y(`$ZodISODateTime`,(e,t)=>{t.pattern??=Vt(t),Xr.init(e,t)}),li=y(`$ZodISODate`,(e,t)=>{t.pattern??=Cn,Xr.init(e,t)}),ui=y(`$ZodISOTime`,(e,t)=>{t.pattern??=Bt(t),Xr.init(e,t)}),di=y(`$ZodISODuration`,(e,t)=>{t.pattern??=Xt,Xr.init(e,t)}),fi=y(`$ZodIPv4`,(e,t)=>{t.pattern??=dn,Xr.init(e,t),e._zod.bag.format=`ipv4`}),pi=y(`$ZodIPv6`,(e,t)=>{t.pattern??=fn,Xr.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),mi=y(`$ZodMAC`,(e,t)=>{t.pattern??=pn(t.delimiter),Xr.init(e,t),e._zod.bag.format=`mac`}),hi=y(`$ZodCIDRv4`,(e,t)=>{t.pattern??=mn,Xr.init(e,t)}),gi=y(`$ZodCIDRv6`,(e,t)=>{t.pattern??=hn,Xr.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}}),_i=y(`$ZodBase64`,(e,t)=>{t.pattern??=gn,Xr.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{Tr(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),vi=y(`$ZodBase64URL`,(e,t)=>{t.pattern??=_n,Xr.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{Er(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),yi=y(`$ZodE164`,(e,t)=>{t.pattern??=xn,Xr.init(e,t)}),bi=y(`$ZodJWT`,(e,t)=>{Xr.init(e,t),e._zod.check=n=>{Dr(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),xi=y(`$ZodCustomStringFormat`,(e,t)=>{Xr.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:`invalid_format`,format:t.format,input:n.value,inst:e,continue:!t.abort})}}),Si=y(`$ZodNumber`,(e,t)=>{L.init(e,t),e._zod.pattern=e._zod.bag.pattern??Dn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),Ci=y(`$ZodNumberFormat`,(e,t)=>{nr.init(e,t),Si.init(e,t)}),wi=y(`$ZodBoolean`,(e,t)=>{L.init(e,t),e._zod.pattern=On,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),Ti=y(`$ZodBigInt`,(e,t)=>{L.init(e,t),e._zod.pattern=Tn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value==`bigint`||n.issues.push({expected:`bigint`,code:`invalid_type`,input:n.value,inst:e}),n}}),Ei=y(`$ZodBigIntFormat`,(e,t)=>{rr.init(e,t),Ti.init(e,t)}),Di=y(`$ZodSymbol`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return typeof r==`symbol`||t.issues.push({expected:`symbol`,code:`invalid_type`,input:r,inst:e}),t}}),Oi=y(`$ZodUndefined`,(e,t)=>{L.init(e,t),e._zod.pattern=An,e._zod.values=new Set([void 0]),e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`undefined`,code:`invalid_type`,input:r,inst:e}),t}}),ki=y(`$ZodNull`,(e,t)=>{L.init(e,t),e._zod.pattern=kn,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),Ai=y(`$ZodAny`,(e,t)=>{L.init(e,t),e._zod.parse=e=>e}),ji=y(`$ZodUnknown`,(e,t)=>{L.init(e,t),e._zod.parse=e=>e}),Mi=y(`$ZodNever`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)}),Ni=y(`$ZodVoid`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`void`,code:`invalid_type`,input:r,inst:e}),t}}),Pi=y(`$ZodDate`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let i=n.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||n.issues.push({expected:`date`,code:`invalid_type`,input:i,...a?{received:`Invalid Date`}:{},inst:e}),n}}),Fi=y(`$ZodArray`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>Or(t,n,e))):Or(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}}),Ii=y(`$ZodObject`,(e,t)=>{if(L.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,\"shape\",{get:()=>{let n={...e};return Object.defineProperty(t,\"shape\",{value:n}),n}})}let n=ae(()=>Ar(t));M(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=ve,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optin===`optional`,i=n._zod.optout===`optional`,a=n._zod.run({value:s[e],issues:[]},o);a instanceof Promise?c.push(a.then(n=>kr(n,t,e,s,r,i))):kr(a,t,e,s,r,i)}return i?jr(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Li=y(`$ZodObjectJIT`,(e,t)=>{Ii.init(e,t);let n=e._zod.parse,r=ae(()=>Ar(t)),i=e=>{let t=new xr([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=ge(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=ge(r),s=e[r],c=s?._zod?.optin===`optional`,l=s?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),c&&l?t.write(`\n if (${n}.issues.length) {\n if (${o} in input) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${o}, ...iss.path] : [${o}]\n })));\n }\n }\n \n if (${n}.value === undefined) {\n if (${o} in input) {\n newResult[${o}] = undefined;\n }\n } else {\n newResult[${o}] = ${n}.value;\n }\n \n `):c?t.write(`\n if (${n}.issues.length) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${o}, ...iss.path] : [${o}]\n })));\n }\n \n if (${n}.value === undefined) {\n if (${o} in input) {\n newResult[${o}] = undefined;\n }\n } else {\n newResult[${o}] = ${n}.value;\n }\n \n `):t.write(`\n const ${n}_present = ${o} in input;\n if (${n}.issues.length) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${o}, ...iss.path] : [${o}]\n })));\n }\n if (!${n}_present && !${n}.issues.length) {\n payload.issues.push({\n code: \"invalid_type\",\n expected: \"nonoptional\",\n input: undefined,\n path: [${o}]\n });\n }\n\n if (${n}_present) {\n if (${n}.value === undefined) {\n newResult[${o}] = undefined;\n } else {\n newResult[${o}] = ${n}.value;\n }\n }\n\n `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=ve,s=!E.jitless,c=s&&Xe.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?jr([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}}),Ri=y(`$ZodUnion`,(e,t)=>{L.init(e,t),M(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),M(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),M(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),M(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>se(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>Mr(t,r,e,i)):Mr(o,r,e,i)}}),zi=y(`$ZodXor`,(e,t)=>{Ri.init(e,t),t.inclusive=!1;let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);t instanceof Promise?(o.push(t),a=!0):o.push(t)}return a?Promise.all(o).then(t=>Nr(t,r,e,i)):Nr(o,r,e,i)}}),Bi=y(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,Ri.init(e,t);let n=e._zod.parse;M(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index \"${t.options.indexOf(n)}\"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=ae(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index \"${t.options.indexOf(r)}\"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value \"${String(t)}\"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!ve(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()),input:o,path:[t.discriminator],inst:e}),i)}}),Vi=y(`$ZodIntersection`,(e,t)=>{L.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Fr(e,t,n)):Fr(e,i,a)}}),Hi=y(`$ZodTuple`,(e,t)=>{L.init(e,t);let n=t.items;e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:`tuple`,code:`invalid_type`}),r;r.value=[];let o=[],s=Ir(n,`optin`),c=Ir(n,`optout`);if(!t.rest){if(a.length<s)return r.issues.push({code:`too_small`,minimum:s,inclusive:!0,input:a,inst:e,origin:`array`}),r;a.length>n.length&&r.issues.push({code:`too_big`,maximum:n.length,inclusive:!0,input:a,inst:e,origin:`array`})}let l=Array(n.length);for(let e=0;e<n.length;e++){let t=n[e]._zod.run({value:a[e],issues:[]},i);t instanceof Promise?o.push(t.then(t=>{l[e]=t})):l[e]=t}if(t.rest){let e=n.length-1,s=a.slice(n.length);for(let n of s){e++;let a=t.rest._zod.run({value:n,issues:[]},i);a instanceof Promise?o.push(a.then(t=>Lr(t,r,e))):Lr(a,r,e)}}return o.length?Promise.all(o).then(()=>Rr(l,r,n,a,c)):Rr(l,r,n,a,c)}}),Ui=y(`$ZodRecord`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!ye(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let c of o)if(typeof c==`string`||typeof c==`number`||typeof c==`symbol`){s.add(typeof c==`number`?c.toString():c);let o=t.keyType._zod.run({value:c,issues:[]},r);if(o instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(o.issues.length){n.issues.push({code:`invalid_key`,origin:`record`,issues:o.issues.map(e=>Le(e,r,b())),input:c,path:[c],inst:e});continue}let l=o.value,u=t.valueType._zod.run({value:i[c],issues:[]},r);u instanceof Promise?a.push(u.then(e=>{e.issues.length&&n.issues.push(...Fe(c,e.issues)),n.value[l]=e.value})):(u.issues.length&&n.issues.push(...Fe(c,u.issues)),n.value[l]=u.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`||!Object.prototype.propertyIsEnumerable.call(i,o))continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&Dn.test(o)&&s.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>Le(e,r,b())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...Fe(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...Fe(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),Wi=y(`$ZodMap`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:`map`,code:`invalid_type`,input:i,inst:e}),n;let a=[];n.value=new Map;for(let[o,s]of i){let c=t.keyType._zod.run({value:o,issues:[]},r),l=t.valueType._zod.run({value:s,issues:[]},r);c instanceof Promise||l instanceof Promise?a.push(Promise.all([c,l]).then(([t,a])=>{zr(t,a,n,o,i,e,r)})):zr(c,l,n,o,i,e,r)}return a.length?Promise.all(a).then(()=>n):n}}),Gi=y(`$ZodSet`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:`set`,code:`invalid_type`}),n;let a=[];n.value=new Set;for(let e of i){let i=t.valueType._zod.run({value:e,issues:[]},r);i instanceof Promise?a.push(i.then(e=>Br(e,n))):Br(i,n)}return a.length?Promise.all(a).then(()=>n):n}}),Ki=y(`$ZodEnum`,(e,t)=>{L.init(e,t);let n=re(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Qe.has(typeof e)).map(e=>typeof e==`string`?Se(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),qi=y(`$ZodLiteral`,(e,t)=>{if(L.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?Se(e):e?Se(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Ji=y(`$ZodFile`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r instanceof File||t.issues.push({expected:`file`,code:`invalid_type`,input:r,inst:e}),t}}),Yi=y(`$ZodTransform`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new T(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n.fallback=!0,n));if(i instanceof Promise)throw new w;return n.value=i,n.fallback=!0,n}}),Xi=y(`$ZodOptional`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,M(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),M(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${se(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>Vr(e,r)):Vr(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),Zi=y(`$ZodExactOptional`,(e,t)=>{Xi.init(e,t),M(e._zod,`values`,()=>t.innerType._zod.values),M(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Qi=y(`$ZodNullable`,(e,t)=>{L.init(e,t),M(e._zod,`optin`,()=>t.innerType._zod.optin),M(e._zod,`optout`,()=>t.innerType._zod.optout),M(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${se(e.source)}|null)$`):void 0}),M(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),$i=y(`$ZodDefault`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,M(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Hr(e,t)):Hr(r,t)}}),ea=y(`$ZodPrefault`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,M(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),ta=y(`$ZodNonOptional`,(e,t)=>{L.init(e,t),M(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>Ur(t,e)):Ur(i,e)}}),na=y(`$ZodSuccess`,(e,t)=>{L.init(e,t),e._zod.parse=(e,n)=>{if(n.direction===`backward`)throw new T(`ZodSuccess`);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=t.issues.length===0,e)):(e.value=r.issues.length===0,e)}}),ra=y(`$ZodCatch`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,M(e._zod,`optout`,()=>t.innerType._zod.optout),M(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Le(e,n,b()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Le(e,n,b()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),ia=y(`$ZodNaN`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>((typeof t.value!=`number`||!Number.isNaN(t.value))&&t.issues.push({input:t.value,inst:e,expected:`nan`,code:`invalid_type`}),t)}),aa=y(`$ZodPipe`,(e,t)=>{L.init(e,t),M(e._zod,`values`,()=>t.in._zod.values),M(e._zod,`optin`,()=>t.in._zod.optin),M(e._zod,`optout`,()=>t.out._zod.optout),M(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Wr(e,t.in,n)):Wr(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Wr(e,t.out,n)):Wr(r,t.out,n)}}),oa=y(`$ZodCodec`,(e,t)=>{L.init(e,t),M(e._zod,`values`,()=>t.in._zod.values),M(e._zod,`optin`,()=>t.in._zod.optin),M(e._zod,`optout`,()=>t.out._zod.optout),M(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if((n.direction||`forward`)===`forward`){let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Gr(e,t,n)):Gr(r,t,n)}else{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Gr(e,t,n)):Gr(r,t,n)}}}),sa=y(`$ZodPreprocess`,(e,t)=>{aa.init(e,t)}),ca=y(`$ZodReadonly`,(e,t)=>{L.init(e,t),M(e._zod,`propValues`,()=>t.innerType._zod.propValues),M(e._zod,`values`,()=>t.innerType._zod.values),M(e._zod,`optin`,()=>t.innerType?._zod?.optin),M(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(qr):qr(r)}}),la=y(`$ZodTemplateLiteral`,(e,t)=>{L.init(e,t);let n=[];for(let e of t.parts)if(typeof e==`object`&&e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=+!!t.startsWith(`^`),i=t.endsWith(`$`)?t.length-1:t.length;n.push(t.slice(r,i))}else if(e===null||$e.has(typeof e))n.push(Se(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join(``)}$`),e._zod.parse=(n,r)=>typeof n.value==`string`?(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:`invalid_format`,format:t.format??`template_literal`,pattern:e._zod.pattern.source}),n):(n.issues.push({input:n.value,inst:e,expected:`string`,code:`invalid_type`}),n)}),ua=y(`$ZodFunction`,(e,t)=>(L.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if(typeof t!=`function`)throw Error(`implement() must be called with a function`);return function(...n){let r=e._def.input?pt(e._def.input,n):n,i=Reflect.apply(t,this,r);return e._def.output?pt(e._def.output,i):i}},e.implementAsync=t=>{if(typeof t!=`function`)throw Error(`implementAsync() must be called with a function`);return async function(...n){let r=e._def.input?await ht(e._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await ht(e._def.output,i):i}},e._zod.parse=(t,n)=>typeof t.value==`function`?(e._def.output&&e._def.output._zod.def.type===`promise`?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t):(t.issues.push({code:`invalid_type`,expected:`function`,input:t.value,inst:e}),t),e.input=(...t)=>{let n=e.constructor;return Array.isArray(t[0])?new n({type:`function`,input:new Hi({type:`tuple`,items:t[0],rest:t[1]}),output:e._def.output}):new n({type:`function`,input:t[0],output:e._def.output})},e.output=t=>{let n=e.constructor;return new n({type:`function`,input:e._def.input,output:t})},e)),da=y(`$ZodPromise`,(e,t)=>{L.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),fa=y(`$ZodLazy`,(e,t)=>{L.init(e,t),M(e._zod,`innerType`,()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),M(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),M(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),M(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),M(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),pa=y(`$ZodCustom`,(e,t)=>{Zn.init(e,t),L.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>Jr(t,n,r,e));Jr(i,n,r,e)}})}));function ha(){return{localeError:ga()}}var ga,_a=o((()=>{I(),ga=()=>{let e={string:{unit:`حرف`,verb:`أن يحوي`},file:{unit:`بايت`,verb:`أن يحوي`},array:{unit:`عنصر`,verb:`أن يحوي`},set:{unit:`عنصر`,verb:`أن يحوي`}};function t(t){return e[t]??null}let n={regex:`مدخل`,email:`بريد إلكتروني`,url:`رابط`,emoji:`إيموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاريخ ووقت بمعيار ISO`,date:`تاريخ بمعيار ISO`,time:`وقت بمعيار ISO`,duration:`مدة بمعيار ISO`,ipv4:`عنوان IPv4`,ipv6:`عنوان IPv6`,cidrv4:`مدى عناوين بصيغة IPv4`,cidrv6:`مدى عناوين بصيغة IPv6`,base64:`نَص بترميز base64-encoded`,base64url:`نَص بترميز base64url-encoded`,json_string:`نَص على هيئة JSON`,e164:`رقم هاتف بمعيار E.164`,jwt:`JWT`,template_literal:`مدخل`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${e.expected}، ولكن تم إدخال ${i}`:`مدخلات غير مقبولة: يفترض إدخال ${t}، ولكن تم إدخال ${i}`}case`invalid_value`:return e.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${P(e.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?` أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()} ${r.unit??`عنصر`}`:`أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()} ${r.unit}`:`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`نَص غير مقبول: يجب أن يبدأ بـ \"${e.prefix}\"`:t.format===`ends_with`?`نَص غير مقبول: يجب أن ينتهي بـ \"${t.suffix}\"`:t.format===`includes`?`نَص غير مقبول: يجب أن يتضمَّن \"${t.includes}\"`:t.format===`regex`?`نَص غير مقبول: يجب أن يطابق النمط ${t.pattern}`:`${n[t.format]??e.format} غير مقبول`}case`not_multiple_of`:return`رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`;case`unrecognized_keys`:return`معرف${e.keys.length>1?`ات`:``} غريب${e.keys.length>1?`ة`:``}: ${j(e.keys,`، `)}`;case`invalid_key`:return`معرف غير مقبول في ${e.origin}`;case`invalid_union`:return`مدخل غير مقبول`;case`invalid_element`:return`مدخل غير مقبول في ${e.origin}`;default:return`مدخل غير مقبول`}}}}));function va(){return{localeError:ya()}}var ya,ba=o((()=>{I(),ya=()=>{let e={string:{unit:`simvol`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`element`,verb:`olmalıdır`},set:{unit:`element`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Yanlış dəyər: gözlənilən instanceof ${e.expected}, daxil olan ${i}`:`Yanlış dəyər: gözlənilən ${t}, daxil olan ${i}`}case`invalid_value`:return e.values.length===1?`Yanlış dəyər: gözlənilən ${P(e.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()} ${r.unit??`element`}`:`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Yanlış mətn: \"${t.prefix}\" ilə başlamalıdır`:t.format===`ends_with`?`Yanlış mətn: \"${t.suffix}\" ilə bitməlidir`:t.format===`includes`?`Yanlış mətn: \"${t.includes}\" daxil olmalıdır`:t.format===`regex`?`Yanlış mətn: ${t.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${n[t.format]??e.format}`}case`not_multiple_of`:return`Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`;case`unrecognized_keys`:return`Tanınmayan açar${e.keys.length>1?`lar`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} daxilində yanlış açar`;case`invalid_union`:return`Yanlış dəyər`;case`invalid_element`:return`${e.origin} daxilində yanlış dəyər`;default:return`Yanlış dəyər`}}}}));function xa(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}function Sa(){return{localeError:Ca()}}var Ca,wa=o((()=>{I(),Ca=()=>{let e={string:{unit:{one:`сімвал`,few:`сімвалы`,many:`сімвалаў`},verb:`мець`},array:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},set:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},file:{unit:{one:`байт`,few:`байты`,many:`байтаў`},verb:`мець`}};function t(t){return e[t]??null}let n={regex:`увод`,email:`email адрас`,url:`URL`,emoji:`эмодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата і час`,date:`ISO дата`,time:`ISO час`,duration:`ISO працягласць`,ipv4:`IPv4 адрас`,ipv6:`IPv6 адрас`,cidrv4:`IPv4 дыяпазон`,cidrv6:`IPv6 дыяпазон`,base64:`радок у фармаце base64`,base64url:`радок у фармаце base64url`,json_string:`JSON радок`,e164:`нумар E.164`,jwt:`JWT`,template_literal:`увод`},r={nan:`NaN`,number:`лік`,array:`масіў`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Няправільны ўвод: чакаўся instanceof ${e.expected}, атрымана ${i}`:`Няправільны ўвод: чакаўся ${t}, атрымана ${i}`}case`invalid_value`:return e.values.length===1?`Няправільны ўвод: чакалася ${P(e.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=xa(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна ${r.verb} ${n}${e.maximum.toString()} ${t}`}return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна быць ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=xa(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Занадта малы: чакалася, што ${e.origin} павінна ${r.verb} ${n}${e.minimum.toString()} ${t}`}return`Занадта малы: чакалася, што ${e.origin} павінна быць ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Няправільны радок: павінен пачынацца з \"${t.prefix}\"`:t.format===`ends_with`?`Няправільны радок: павінен заканчвацца на \"${t.suffix}\"`:t.format===`includes`?`Няправільны радок: павінен змяшчаць \"${t.includes}\"`:t.format===`regex`?`Няправільны радок: павінен адпавядаць шаблону ${t.pattern}`:`Няправільны ${n[t.format]??e.format}`}case`not_multiple_of`:return`Няправільны лік: павінен быць кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспазнаны ${e.keys.length>1?`ключы`:`ключ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Няправільны ключ у ${e.origin}`;case`invalid_union`:return`Няправільны ўвод`;case`invalid_element`:return`Няправільнае значэнне ў ${e.origin}`;default:return`Няправільны ўвод`}}}}));function Ta(){return{localeError:Ea()}}var Ea,Da=o((()=>{I(),Ea=()=>{let e={string:{unit:`символа`,verb:`да съдържа`},file:{unit:`байта`,verb:`да съдържа`},array:{unit:`елемента`,verb:`да съдържа`},set:{unit:`елемента`,verb:`да съдържа`}};function t(t){return e[t]??null}let n={regex:`вход`,email:`имейл адрес`,url:`URL`,emoji:`емоджи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO време`,date:`ISO дата`,time:`ISO време`,duration:`ISO продължителност`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`base64-кодиран низ`,base64url:`base64url-кодиран низ`,json_string:`JSON низ`,e164:`E.164 номер`,jwt:`JWT`,template_literal:`вход`},r={nan:`NaN`,number:`число`,array:`масив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Невалиден вход: очакван instanceof ${e.expected}, получен ${i}`:`Невалиден вход: очакван ${t}, получен ${i}`}case`invalid_value`:return e.values.length===1?`Невалиден вход: очакван ${P(e.values[0])}`:`Невалидна опция: очаквано едно от ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Твърде голямо: очаква се ${e.origin??`стойност`} да съдържа ${n}${e.maximum.toString()} ${r.unit??`елемента`}`:`Твърде голямо: очаква се ${e.origin??`стойност`} да бъде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Твърде малко: очаква се ${e.origin} да съдържа ${n}${e.minimum.toString()} ${r.unit}`:`Твърде малко: очаква се ${e.origin} да бъде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;if(t.format===`starts_with`)return`Невалиден низ: трябва да започва с \"${t.prefix}\"`;if(t.format===`ends_with`)return`Невалиден низ: трябва да завършва с \"${t.suffix}\"`;if(t.format===`includes`)return`Невалиден низ: трябва да включва \"${t.includes}\"`;if(t.format===`regex`)return`Невалиден низ: трябва да съвпада с ${t.pattern}`;let r=`Невалиден`;return t.format===`emoji`&&(r=`Невалидно`),t.format===`datetime`&&(r=`Невалидно`),t.format===`date`&&(r=`Невалидна`),t.format===`time`&&(r=`Невалидно`),t.format===`duration`&&(r=`Невалидна`),`${r} ${n[t.format]??e.format}`}case`not_multiple_of`:return`Невалидно число: трябва да бъде кратно на ${e.divisor}`;case`unrecognized_keys`:return`Неразпознат${e.keys.length>1?`и`:``} ключ${e.keys.length>1?`ове`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Невалиден ключ в ${e.origin}`;case`invalid_union`:return`Невалиден вход`;case`invalid_element`:return`Невалидна стойност в ${e.origin}`;default:return`Невалиден вход`}}}}));function Oa(){return{localeError:ka()}}var ka,Aa=o((()=>{I(),ka=()=>{let e={string:{unit:`caràcters`,verb:`contenir`},file:{unit:`bytes`,verb:`contenir`},array:{unit:`elements`,verb:`contenir`},set:{unit:`elements`,verb:`contenir`}};function t(t){return e[t]??null}let n={regex:`entrada`,email:`adreça electrònica`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data i hora ISO`,date:`data ISO`,time:`hora ISO`,duration:`durada ISO`,ipv4:`adreça IPv4`,ipv6:`adreça IPv6`,cidrv4:`rang IPv4`,cidrv6:`rang IPv6`,base64:`cadena codificada en base64`,base64url:`cadena codificada en base64url`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipus invàlid: s'esperava instanceof ${e.expected}, s'ha rebut ${i}`:`Tipus invàlid: s'esperava ${t}, s'ha rebut ${i}`}case`invalid_value`:return e.values.length===1?`Valor invàlid: s'esperava ${P(e.values[0])}`:`Opció invàlida: s'esperava una de ${j(e.values,` o `)}`;case`too_big`:{let n=e.inclusive?`com a màxim`:`menys de`,r=t(e.origin);return r?`Massa gran: s'esperava que ${e.origin??`el valor`} contingués ${n} ${e.maximum.toString()} ${r.unit??`elements`}`:`Massa gran: s'esperava que ${e.origin??`el valor`} fos ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`com a mínim`:`més de`,r=t(e.origin);return r?`Massa petit: s'esperava que ${e.origin} contingués ${n} ${e.minimum.toString()} ${r.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Format invàlid: ha de començar amb \"${t.prefix}\"`:t.format===`ends_with`?`Format invàlid: ha d'acabar amb \"${t.suffix}\"`:t.format===`includes`?`Format invàlid: ha d'incloure \"${t.includes}\"`:t.format===`regex`?`Format invàlid: ha de coincidir amb el patró ${t.pattern}`:`Format invàlid per a ${n[t.format]??e.format}`}case`not_multiple_of`:return`Número invàlid: ha de ser múltiple de ${e.divisor}`;case`unrecognized_keys`:return`Clau${e.keys.length>1?`s`:``} no reconeguda${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Clau invàlida a ${e.origin}`;case`invalid_union`:return`Entrada invàlida`;case`invalid_element`:return`Element invàlid a ${e.origin}`;default:return`Entrada invàlida`}}}}));function ja(){return{localeError:Ma()}}var Ma,Na=o((()=>{I(),Ma=()=>{let e={string:{unit:`znaků`,verb:`mít`},file:{unit:`bajtů`,verb:`mít`},array:{unit:`prvků`,verb:`mít`},set:{unit:`prvků`,verb:`mít`}};function t(t){return e[t]??null}let n={regex:`regulární výraz`,email:`e-mailová adresa`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`datum a čas ve formátu ISO`,date:`datum ve formátu ISO`,time:`čas ve formátu ISO`,duration:`doba trvání ISO`,ipv4:`IPv4 adresa`,ipv6:`IPv6 adresa`,cidrv4:`rozsah IPv4`,cidrv6:`rozsah IPv6`,base64:`řetězec zakódovaný ve formátu base64`,base64url:`řetězec zakódovaný ve formátu base64url`,json_string:`řetězec ve formátu JSON`,e164:`číslo E.164`,jwt:`JWT`,template_literal:`vstup`},r={nan:`NaN`,number:`číslo`,string:`řetězec`,function:`funkce`,array:`pole`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neplatný vstup: očekáváno instanceof ${e.expected}, obdrženo ${i}`:`Neplatný vstup: očekáváno ${t}, obdrženo ${i}`}case`invalid_value`:return e.values.length===1?`Neplatný vstup: očekáváno ${P(e.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Hodnota je příliš velká: ${e.origin??`hodnota`} musí mít ${n}${e.maximum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš velká: ${e.origin??`hodnota`} musí být ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Hodnota je příliš malá: ${e.origin??`hodnota`} musí mít ${n}${e.minimum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš malá: ${e.origin??`hodnota`} musí být ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neplatný řetězec: musí začínat na \"${t.prefix}\"`:t.format===`ends_with`?`Neplatný řetězec: musí končit na \"${t.suffix}\"`:t.format===`includes`?`Neplatný řetězec: musí obsahovat \"${t.includes}\"`:t.format===`regex`?`Neplatný řetězec: musí odpovídat vzoru ${t.pattern}`:`Neplatný formát ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neplatné číslo: musí být násobkem ${e.divisor}`;case`unrecognized_keys`:return`Neznámé klíče: ${j(e.keys,`, `)}`;case`invalid_key`:return`Neplatný klíč v ${e.origin}`;case`invalid_union`:return`Neplatný vstup`;case`invalid_element`:return`Neplatná hodnota v ${e.origin}`;default:return`Neplatný vstup`}}}}));function Pa(){return{localeError:Fa()}}var Fa,Ia=o((()=>{I(),Fa=()=>{let e={string:{unit:`tegn`,verb:`havde`},file:{unit:`bytes`,verb:`havde`},array:{unit:`elementer`,verb:`indeholdt`},set:{unit:`elementer`,verb:`indeholdt`}};function t(t){return e[t]??null}let n={regex:`input`,email:`e-mailadresse`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dato- og klokkeslæt`,date:`ISO-dato`,time:`ISO-klokkeslæt`,duration:`ISO-varighed`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodet streng`,base64url:`base64url-kodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,string:`streng`,number:`tal`,boolean:`boolean`,array:`liste`,object:`objekt`,set:`sæt`,file:`fil`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldigt input: forventede instanceof ${e.expected}, fik ${i}`:`Ugyldigt input: forventede ${t}, fik ${i}`}case`invalid_value`:return e.values.length===1?`Ugyldig værdi: forventede ${P(e.values[0])}`:`Ugyldigt valg: forventede en af følgende ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`For stor: forventede ${a??`value`} ${i.verb} ${n} ${e.maximum.toString()} ${i.unit??`elementer`}`:`For stor: forventede ${a??`value`} havde ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`For lille: forventede ${a} ${i.verb} ${n} ${e.minimum.toString()} ${i.unit}`:`For lille: forventede ${a} havde ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: skal starte med \"${t.prefix}\"`:t.format===`ends_with`?`Ugyldig streng: skal ende med \"${t.suffix}\"`:t.format===`includes`?`Ugyldig streng: skal indeholde \"${t.includes}\"`:t.format===`regex`?`Ugyldig streng: skal matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldigt tal: skal være deleligt med ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukendte nøgler`:`Ukendt nøgle`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøgle i ${e.origin}`;case`invalid_union`:return`Ugyldigt input: matcher ingen af de tilladte typer`;case`invalid_element`:return`Ugyldig værdi i ${e.origin}`;default:return`Ugyldigt input`}}}}));function La(){return{localeError:Ra()}}var Ra,za=o((()=>{I(),Ra=()=>{let e={string:{unit:`Zeichen`,verb:`zu haben`},file:{unit:`Bytes`,verb:`zu haben`},array:{unit:`Elemente`,verb:`zu haben`},set:{unit:`Elemente`,verb:`zu haben`}};function t(t){return e[t]??null}let n={regex:`Eingabe`,email:`E-Mail-Adresse`,url:`URL`,emoji:`Emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-Datum und -Uhrzeit`,date:`ISO-Datum`,time:`ISO-Uhrzeit`,duration:`ISO-Dauer`,ipv4:`IPv4-Adresse`,ipv6:`IPv6-Adresse`,cidrv4:`IPv4-Bereich`,cidrv6:`IPv6-Bereich`,base64:`Base64-codierter String`,base64url:`Base64-URL-codierter String`,json_string:`JSON-String`,e164:`E.164-Nummer`,jwt:`JWT`,template_literal:`Eingabe`},r={nan:`NaN`,number:`Zahl`,array:`Array`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ungültige Eingabe: erwartet instanceof ${e.expected}, erhalten ${i}`:`Ungültige Eingabe: erwartet ${t}, erhalten ${i}`}case`invalid_value`:return e.values.length===1?`Ungültige Eingabe: erwartet ${P(e.values[0])}`:`Ungültige Option: erwartet eine von ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ${r.unit??`Elemente`} hat`:`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ist`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${r.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ungültiger String: muss mit \"${t.prefix}\" beginnen`:t.format===`ends_with`?`Ungültiger String: muss mit \"${t.suffix}\" enden`:t.format===`includes`?`Ungültiger String: muss \"${t.includes}\" enthalten`:t.format===`regex`?`Ungültiger String: muss dem Muster ${t.pattern} entsprechen`:`Ungültig: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case`unrecognized_keys`:return`${e.keys.length>1?`Unbekannte Schlüssel`:`Unbekannter Schlüssel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ungültiger Schlüssel in ${e.origin}`;case`invalid_union`:return`Ungültige Eingabe`;case`invalid_element`:return`Ungültiger Wert in ${e.origin}`;default:return`Ungültige Eingabe`}}}}));function Ba(){return{localeError:Va()}}var Va,Ha=o((()=>{I(),Va=()=>{let e={string:{unit:`χαρακτήρες`,verb:`να έχει`},file:{unit:`bytes`,verb:`να έχει`},array:{unit:`στοιχεία`,verb:`να έχει`},set:{unit:`στοιχεία`,verb:`να έχει`},map:{unit:`καταχωρήσεις`,verb:`να έχει`}};function t(t){return e[t]??null}let n={regex:`είσοδος`,email:`διεύθυνση email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO ημερομηνία και ώρα`,date:`ISO ημερομηνία`,time:`ISO ώρα`,duration:`ISO διάρκεια`,ipv4:`διεύθυνση IPv4`,ipv6:`διεύθυνση IPv6`,mac:`διεύθυνση MAC`,cidrv4:`εύρος IPv4`,cidrv6:`εύρος IPv6`,base64:`συμβολοσειρά κωδικοποιημένη σε base64`,base64url:`συμβολοσειρά κωδικοποιημένη σε base64url`,json_string:`συμβολοσειρά JSON`,e164:`αριθμός E.164`,jwt:`JWT`,template_literal:`είσοδος`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return typeof e.expected==`string`&&/^[A-Z]/.test(e.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${e.expected}, λήφθηκε ${i}`:`Μη έγκυρη είσοδος: αναμενόταν ${t}, λήφθηκε ${i}`}case`invalid_value`:return e.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${P(e.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Πολύ μεγάλο: αναμενόταν ${e.origin??`τιμή`} να έχει ${n}${e.maximum.toString()} ${r.unit??`στοιχεία`}`:`Πολύ μεγάλο: αναμενόταν ${e.origin??`τιμή`} να είναι ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Πολύ μικρό: αναμενόταν ${e.origin} να έχει ${n}${e.minimum.toString()} ${r.unit}`:`Πολύ μικρό: αναμενόταν ${e.origin} να είναι ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με \"${t.prefix}\"`:t.format===`ends_with`?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με \"${t.suffix}\"`:t.format===`includes`?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει \"${t.includes}\"`:t.format===`regex`?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${t.pattern}`:`Μη έγκυρο: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${e.divisor}`;case`unrecognized_keys`:return`Άγνωστ${e.keys.length>1?`α`:`ο`} κλειδ${e.keys.length>1?`ιά`:`ί`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Μη έγκυρο κλειδί στο ${e.origin}`;case`invalid_union`:return`Μη έγκυρη είσοδος`;case`invalid_element`:return`Μη έγκυρη τιμή στο ${e.origin}`;default:return`Μη έγκυρη είσοδος`}}}}));function Ua(){return{localeError:Wa()}}var Wa,Ga=o((()=>{I(),Wa=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input);return`Invalid input: expected ${t}, received ${r[n]??n}`}case`invalid_value`:return e.values.length===1?`Invalid input: expected ${P(e.values[0])}`:`Invalid option: expected one of ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with \"${t.prefix}\"`:t.format===`ends_with`?`Invalid string: must end with \"${t.suffix}\"`:t.format===`includes`?`Invalid string: must include \"${t.includes}\"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(e=>`'${e}'`).join(` | `)}`:`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}}}));function Ka(){return{localeError:qa()}}var qa,Ja=o((()=>{I(),qa=()=>{let e={string:{unit:`karaktrojn`,verb:`havi`},file:{unit:`bajtojn`,verb:`havi`},array:{unit:`elementojn`,verb:`havi`},set:{unit:`elementojn`,verb:`havi`}};function t(t){return e[t]??null}let n={regex:`enigo`,email:`retadreso`,url:`URL`,emoji:`emoĝio`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-datotempo`,date:`ISO-dato`,time:`ISO-tempo`,duration:`ISO-daŭro`,ipv4:`IPv4-adreso`,ipv6:`IPv6-adreso`,cidrv4:`IPv4-rango`,cidrv6:`IPv6-rango`,base64:`64-ume kodita karaktraro`,base64url:`URL-64-ume kodita karaktraro`,json_string:`JSON-karaktraro`,e164:`E.164-nombro`,jwt:`JWT`,template_literal:`enigo`},r={nan:`NaN`,number:`nombro`,array:`tabelo`,null:`senvalora`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nevalida enigo: atendiĝis instanceof ${e.expected}, riceviĝis ${i}`:`Nevalida enigo: atendiĝis ${t}, riceviĝis ${i}`}case`invalid_value`:return e.values.length===1?`Nevalida enigo: atendiĝis ${P(e.values[0])}`:`Nevalida opcio: atendiĝis unu el ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()} ${r.unit??`elementojn`}`:`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Tro malgranda: atendiĝis ke ${e.origin} havu ${n}${e.minimum.toString()} ${r.unit}`:`Tro malgranda: atendiĝis ke ${e.origin} estu ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nevalida karaktraro: devas komenciĝi per \"${t.prefix}\"`:t.format===`ends_with`?`Nevalida karaktraro: devas finiĝi per \"${t.suffix}\"`:t.format===`includes`?`Nevalida karaktraro: devas inkluzivi \"${t.includes}\"`:t.format===`regex`?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nevalida nombro: devas esti oblo de ${e.divisor}`;case`unrecognized_keys`:return`Nekonata${e.keys.length>1?`j`:``} ŝlosilo${e.keys.length>1?`j`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Nevalida ŝlosilo en ${e.origin}`;case`invalid_union`:return`Nevalida enigo`;case`invalid_element`:return`Nevalida valoro en ${e.origin}`;default:return`Nevalida enigo`}}}}));function Ya(){return{localeError:Xa()}}var Xa,Za=o((()=>{I(),Xa=()=>{let e={string:{unit:`caracteres`,verb:`tener`},file:{unit:`bytes`,verb:`tener`},array:{unit:`elementos`,verb:`tener`},set:{unit:`elementos`,verb:`tener`}};function t(t){return e[t]??null}let n={regex:`entrada`,email:`dirección de correo electrónico`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`fecha y hora ISO`,date:`fecha ISO`,time:`hora ISO`,duration:`duración ISO`,ipv4:`dirección IPv4`,ipv6:`dirección IPv6`,cidrv4:`rango IPv4`,cidrv6:`rango IPv6`,base64:`cadena codificada en base64`,base64url:`URL codificada en base64`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`,string:`texto`,number:`número`,boolean:`booleano`,array:`arreglo`,object:`objeto`,set:`conjunto`,file:`archivo`,date:`fecha`,bigint:`número grande`,symbol:`símbolo`,undefined:`indefinido`,null:`nulo`,function:`función`,map:`mapa`,record:`registro`,tuple:`tupla`,enum:`enumeración`,union:`unión`,literal:`literal`,promise:`promesa`,void:`vacío`,never:`nunca`,unknown:`desconocido`,any:`cualquiera`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrada inválida: se esperaba instanceof ${e.expected}, recibido ${i}`:`Entrada inválida: se esperaba ${t}, recibido ${i}`}case`invalid_value`:return e.values.length===1?`Entrada inválida: se esperaba ${P(e.values[0])}`:`Opción inválida: se esperaba una de ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado grande: se esperaba que ${a??`valor`} tuviera ${n}${e.maximum.toString()} ${i.unit??`elementos`}`:`Demasiado grande: se esperaba que ${a??`valor`} fuera ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado pequeño: se esperaba que ${a} tuviera ${n}${e.minimum.toString()} ${i.unit}`:`Demasiado pequeño: se esperaba que ${a} fuera ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Cadena inválida: debe comenzar con \"${t.prefix}\"`:t.format===`ends_with`?`Cadena inválida: debe terminar en \"${t.suffix}\"`:t.format===`includes`?`Cadena inválida: debe incluir \"${t.includes}\"`:t.format===`regex`?`Cadena inválida: debe coincidir con el patrón ${t.pattern}`:`Inválido ${n[t.format]??e.format}`}case`not_multiple_of`:return`Número inválido: debe ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Llave${e.keys.length>1?`s`:``} desconocida${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Llave inválida en ${r[e.origin]??e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido en ${r[e.origin]??e.origin}`;default:return`Entrada inválida`}}}}));function Qa(){return{localeError:$a()}}var $a,eo=o((()=>{I(),$a=()=>{let e={string:{unit:`کاراکتر`,verb:`داشته باشد`},file:{unit:`بایت`,verb:`داشته باشد`},array:{unit:`آیتم`,verb:`داشته باشد`},set:{unit:`آیتم`,verb:`داشته باشد`}};function t(t){return e[t]??null}let n={regex:`ورودی`,email:`آدرس ایمیل`,url:`URL`,emoji:`ایموجی`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاریخ و زمان ایزو`,date:`تاریخ ایزو`,time:`زمان ایزو`,duration:`مدت زمان ایزو`,ipv4:`IPv4 آدرس`,ipv6:`IPv6 آدرس`,cidrv4:`IPv4 دامنه`,cidrv6:`IPv6 دامنه`,base64:`base64-encoded رشته`,base64url:`base64url-encoded رشته`,json_string:`JSON رشته`,e164:`E.164 عدد`,jwt:`JWT`,template_literal:`ورودی`},r={nan:`NaN`,number:`عدد`,array:`آرایه`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ورودی نامعتبر: میبایست instanceof ${e.expected} میبود، ${i} دریافت شد`:`ورودی نامعتبر: میبایست ${t} میبود، ${i} دریافت شد`}case`invalid_value`:return e.values.length===1?`ورودی نامعتبر: میبایست ${P(e.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${j(e.values,`|`)} میبود`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصر`} باشد`:`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} باشد`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} باشد`:`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} باشد`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`رشته نامعتبر: باید با \"${t.prefix}\" شروع شود`:t.format===`ends_with`?`رشته نامعتبر: باید با \"${t.suffix}\" تمام شود`:t.format===`includes`?`رشته نامعتبر: باید شامل \"${t.includes}\" باشد`:t.format===`regex`?`رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد`:`${n[t.format]??e.format} نامعتبر`}case`not_multiple_of`:return`عدد نامعتبر: باید مضرب ${e.divisor} باشد`;case`unrecognized_keys`:return`کلید${e.keys.length>1?`های`:``} ناشناس: ${j(e.keys,`, `)}`;case`invalid_key`:return`کلید ناشناس در ${e.origin}`;case`invalid_union`:return`ورودی نامعتبر`;case`invalid_element`:return`مقدار نامعتبر در ${e.origin}`;default:return`ورودی نامعتبر`}}}}));function to(){return{localeError:no()}}var no,ro=o((()=>{I(),no=()=>{let e={string:{unit:`merkkiä`,subject:`merkkijonon`},file:{unit:`tavua`,subject:`tiedoston`},array:{unit:`alkiota`,subject:`listan`},set:{unit:`alkiota`,subject:`joukon`},number:{unit:``,subject:`luvun`},bigint:{unit:``,subject:`suuren kokonaisluvun`},int:{unit:``,subject:`kokonaisluvun`},date:{unit:``,subject:`päivämäärän`}};function t(t){return e[t]??null}let n={regex:`säännöllinen lauseke`,email:`sähköpostiosoite`,url:`URL-osoite`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-aikaleima`,date:`ISO-päivämäärä`,time:`ISO-aika`,duration:`ISO-kesto`,ipv4:`IPv4-osoite`,ipv6:`IPv6-osoite`,cidrv4:`IPv4-alue`,cidrv6:`IPv6-alue`,base64:`base64-koodattu merkkijono`,base64url:`base64url-koodattu merkkijono`,json_string:`JSON-merkkijono`,e164:`E.164-luku`,jwt:`JWT`,template_literal:`templaattimerkkijono`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${i}`:`Virheellinen tyyppi: odotettiin ${t}, oli ${i}`}case`invalid_value`:return e.values.length===1?`Virheellinen syöte: täytyy olla ${P(e.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Liian suuri: ${r.subject} täytyy olla ${n}${e.maximum.toString()} ${r.unit}`.trim():`Liian suuri: arvon täytyy olla ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Liian pieni: ${r.subject} täytyy olla ${n}${e.minimum.toString()} ${r.unit}`.trim():`Liian pieni: arvon täytyy olla ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Virheellinen syöte: täytyy alkaa \"${t.prefix}\"`:t.format===`ends_with`?`Virheellinen syöte: täytyy loppua \"${t.suffix}\"`:t.format===`includes`?`Virheellinen syöte: täytyy sisältää \"${t.includes}\"`:t.format===`regex`?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}`:`Virheellinen ${n[t.format]??e.format}`}case`not_multiple_of`:return`Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`;case`unrecognized_keys`:return`${e.keys.length>1?`Tuntemattomat avaimet`:`Tuntematon avain`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Virheellinen avain tietueessa`;case`invalid_union`:return`Virheellinen unioni`;case`invalid_element`:return`Virheellinen arvo joukossa`;default:return`Virheellinen syöte`}}}}));function io(){return{localeError:ao()}}var ao,oo=o((()=>{I(),ao=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n={regex:`entrée`,email:`adresse e-mail`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`date et heure ISO`,date:`date ISO`,time:`heure ISO`,duration:`durée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`},r={string:`chaîne`,number:`nombre`,int:`entier`,boolean:`booléen`,bigint:`grand entier`,symbol:`symbole`,undefined:`indéfini`,null:`null`,never:`jamais`,void:`vide`,date:`date`,array:`tableau`,object:`objet`,tuple:`tuple`,record:`enregistrement`,map:`carte`,set:`ensemble`,file:`fichier`,nonoptional:`non-optionnel`,nan:`NaN`,function:`fonction`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : instanceof ${e.expected} attendu, ${i} reçu`:`Entrée invalide : ${t} attendu, ${i} reçu`}case`invalid_value`:return e.values.length===1?`Entrée invalide : ${P(e.values[0])} attendu`:`Option invalide : une valeur parmi ${j(e.values,`|`)} attendue`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin);return i?`Trop grand : ${r[e.origin]??`valeur`} doit ${i.verb} ${n}${e.maximum.toString()} ${i.unit??`élément(s)`}`:`Trop grand : ${r[e.origin]??`valeur`} doit être ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin);return i?`Trop petit : ${r[e.origin]??`valeur`} doit ${i.verb} ${n}${e.minimum.toString()} ${i.unit}`:`Trop petit : ${r[e.origin]??`valeur`} doit être ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par \"${t.prefix}\"`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par \"${t.suffix}\"`:t.format===`includes`?`Chaîne invalide : doit inclure \"${t.includes}\"`:t.format===`regex`?`Chaîne invalide : doit correspondre au modèle ${t.pattern}`:`${n[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${j(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}}}));function so(){return{localeError:co()}}var co,lo=o((()=>{I(),co=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n={regex:`entrée`,email:`adresse courriel`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`date-heure ISO`,date:`date ISO`,time:`heure ISO`,duration:`durée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : attendu instanceof ${e.expected}, reçu ${i}`:`Entrée invalide : attendu ${t}, reçu ${i}`}case`invalid_value`:return e.values.length===1?`Entrée invalide : attendu ${P(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`≤`:`<`,r=t(e.origin);return r?`Trop grand : attendu que ${e.origin??`la valeur`} ait ${n}${e.maximum.toString()} ${r.unit}`:`Trop grand : attendu que ${e.origin??`la valeur`} soit ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`≥`:`>`,r=t(e.origin);return r?`Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par \"${t.prefix}\"`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par \"${t.suffix}\"`:t.format===`includes`?`Chaîne invalide : doit inclure \"${t.includes}\"`:t.format===`regex`?`Chaîne invalide : doit correspondre au motif ${t.pattern}`:`${n[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${j(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}}}));function uo(){return{localeError:fo()}}var fo,po=o((()=>{I(),fo=()=>{let e={string:{label:`מחרוזת`,gender:`f`},number:{label:`מספר`,gender:`m`},boolean:{label:`ערך בוליאני`,gender:`m`},bigint:{label:`BigInt`,gender:`m`},date:{label:`תאריך`,gender:`m`},array:{label:`מערך`,gender:`m`},object:{label:`אובייקט`,gender:`m`},null:{label:`ערך ריק (null)`,gender:`m`},undefined:{label:`ערך לא מוגדר (undefined)`,gender:`m`},symbol:{label:`סימבול (Symbol)`,gender:`m`},function:{label:`פונקציה`,gender:`f`},map:{label:`מפה (Map)`,gender:`f`},set:{label:`קבוצה (Set)`,gender:`f`},file:{label:`קובץ`,gender:`m`},promise:{label:`Promise`,gender:`m`},NaN:{label:`NaN`,gender:`m`},unknown:{label:`ערך לא ידוע`,gender:`m`},value:{label:`ערך`,gender:`m`}},t={string:{unit:`תווים`,shortLabel:`קצר`,longLabel:`ארוך`},file:{unit:`בייטים`,shortLabel:`קטן`,longLabel:`גדול`},array:{unit:`פריטים`,shortLabel:`קטן`,longLabel:`גדול`},set:{unit:`פריטים`,shortLabel:`קטן`,longLabel:`גדול`},number:{unit:``,shortLabel:`קטן`,longLabel:`גדול`}},n=t=>t?e[t]:void 0,r=t=>{let r=n(t);return r?r.label:t??e.unknown.label},i=e=>`ה${r(e)}`,a=e=>(n(e)?.gender??`m`)===`f`?`צריכה להיות`:`צריך להיות`,o=e=>e?t[e]??null:null,s={regex:{label:`קלט`,gender:`m`},email:{label:`כתובת אימייל`,gender:`f`},url:{label:`כתובת רשת`,gender:`f`},emoji:{label:`אימוג'י`,gender:`m`},uuid:{label:`UUID`,gender:`m`},nanoid:{label:`nanoid`,gender:`m`},guid:{label:`GUID`,gender:`m`},cuid:{label:`cuid`,gender:`m`},cuid2:{label:`cuid2`,gender:`m`},ulid:{label:`ULID`,gender:`m`},xid:{label:`XID`,gender:`m`},ksuid:{label:`KSUID`,gender:`m`},datetime:{label:`תאריך וזמן ISO`,gender:`m`},date:{label:`תאריך ISO`,gender:`m`},time:{label:`זמן ISO`,gender:`m`},duration:{label:`משך זמן ISO`,gender:`m`},ipv4:{label:`כתובת IPv4`,gender:`f`},ipv6:{label:`כתובת IPv6`,gender:`f`},cidrv4:{label:`טווח IPv4`,gender:`m`},cidrv6:{label:`טווח IPv6`,gender:`m`},base64:{label:`מחרוזת בבסיס 64`,gender:`f`},base64url:{label:`מחרוזת בבסיס 64 לכתובות רשת`,gender:`f`},json_string:{label:`מחרוזת JSON`,gender:`f`},e164:{label:`מספר E.164`,gender:`m`},jwt:{label:`JWT`,gender:`m`},ends_with:{label:`קלט`,gender:`m`},includes:{label:`קלט`,gender:`m`},lowercase:{label:`קלט`,gender:`m`},starts_with:{label:`קלט`,gender:`m`},uppercase:{label:`קלט`,gender:`m`}},c={nan:`NaN`};return t=>{switch(t.code){case`invalid_type`:{let n=t.expected,i=c[n??``]??r(n),a=F(t.input),o=c[a]??e[a]?.label??a;return/^[A-Z]/.test(t.expected)?`קלט לא תקין: צריך להיות instanceof ${t.expected}, התקבל ${o}`:`קלט לא תקין: צריך להיות ${i}, התקבל ${o}`}case`invalid_value`:{if(t.values.length===1)return`ערך לא תקין: הערך חייב להיות ${P(t.values[0])}`;let e=t.values.map(e=>P(e));if(t.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${e[0]} או ${e[1]}`;let n=e[e.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${e.slice(0,-1).join(`, `)} או ${n}`}case`too_big`:{let e=o(t.origin),n=i(t.origin??`value`);if(t.origin===`string`)return`${e?.longLabel??`ארוך`} מדי: ${n} צריכה להכיל ${t.maximum.toString()} ${e?.unit??``} ${t.inclusive?`או פחות`:`לכל היותר`}`.trim();if(t.origin===`number`)return`גדול מדי: ${n} צריך להיות ${t.inclusive?`קטן או שווה ל-${t.maximum}`:`קטן מ-${t.maximum}`}`;if(t.origin===`array`||t.origin===`set`)return`גדול מדי: ${n} ${t.origin===`set`?`צריכה`:`צריך`} להכיל ${t.inclusive?`${t.maximum} ${e?.unit??``} או פחות`:`פחות מ-${t.maximum} ${e?.unit??``}`}`.trim();let r=t.inclusive?`<=`:`<`,s=a(t.origin??`value`);return e?.unit?`${e.longLabel} מדי: ${n} ${s} ${r}${t.maximum.toString()} ${e.unit}`:`${e?.longLabel??`גדול`} מדי: ${n} ${s} ${r}${t.maximum.toString()}`}case`too_small`:{let e=o(t.origin),n=i(t.origin??`value`);if(t.origin===`string`)return`${e?.shortLabel??`קצר`} מדי: ${n} צריכה להכיל ${t.minimum.toString()} ${e?.unit??``} ${t.inclusive?`או יותר`:`לפחות`}`.trim();if(t.origin===`number`)return`קטן מדי: ${n} צריך להיות ${t.inclusive?`גדול או שווה ל-${t.minimum}`:`גדול מ-${t.minimum}`}`;if(t.origin===`array`||t.origin===`set`){let r=t.origin===`set`?`צריכה`:`צריך`;return t.minimum===1&&t.inclusive?`קטן מדי: ${n} ${r} להכיל ${t.origin,`לפחות פריט אחד`}`:`קטן מדי: ${n} ${r} להכיל ${t.inclusive?`${t.minimum} ${e?.unit??``} או יותר`:`יותר מ-${t.minimum} ${e?.unit??``}`}`.trim()}let r=t.inclusive?`>=`:`>`,s=a(t.origin??`value`);return e?.unit?`${e.shortLabel} מדי: ${n} ${s} ${r}${t.minimum.toString()} ${e.unit}`:`${e?.shortLabel??`קטן`} מדי: ${n} ${s} ${r}${t.minimum.toString()}`}case`invalid_format`:{let e=t;if(e.format===`starts_with`)return`המחרוזת חייבת להתחיל ב \"${e.prefix}\"`;if(e.format===`ends_with`)return`המחרוזת חייבת להסתיים ב \"${e.suffix}\"`;if(e.format===`includes`)return`המחרוזת חייבת לכלול \"${e.includes}\"`;if(e.format===`regex`)return`המחרוזת חייבת להתאים לתבנית ${e.pattern}`;let n=s[e.format];return`${n?.label??e.format} לא ${(n?.gender??`m`)===`f`?`תקינה`:`תקין`}`}case`not_multiple_of`:return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;case`unrecognized_keys`:return`מפתח${t.keys.length>1?`ות`:``} לא מזוה${t.keys.length>1?`ים`:`ה`}: ${j(t.keys,`, `)}`;case`invalid_key`:return`שדה לא תקין באובייקט`;case`invalid_union`:return`קלט לא תקין`;case`invalid_element`:return`ערך לא תקין ב${i(t.origin??`array`)}`;default:return`קלט לא תקין`}}}}));function mo(){return{localeError:ho()}}var ho,go=o((()=>{I(),ho=()=>{let e={string:{unit:`znakova`,verb:`imati`},file:{unit:`bajtova`,verb:`imati`},array:{unit:`stavki`,verb:`imati`},set:{unit:`stavki`,verb:`imati`}};function t(t){return e[t]??null}let n={regex:`unos`,email:`email adresa`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum i vrijeme`,date:`ISO datum`,time:`ISO vrijeme`,duration:`ISO trajanje`,ipv4:`IPv4 adresa`,ipv6:`IPv6 adresa`,cidrv4:`IPv4 raspon`,cidrv6:`IPv6 raspon`,base64:`base64 kodirani tekst`,base64url:`base64url kodirani tekst`,json_string:`JSON tekst`,e164:`E.164 broj`,jwt:`JWT`,template_literal:`unos`},r={nan:`NaN`,string:`tekst`,number:`broj`,boolean:`boolean`,array:`niz`,object:`objekt`,set:`skup`,file:`datoteka`,date:`datum`,bigint:`bigint`,symbol:`simbol`,undefined:`undefined`,null:`null`,function:`funkcija`,map:`mapa`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neispravan unos: očekuje se instanceof ${e.expected}, a primljeno je ${i}`:`Neispravan unos: očekuje se ${t}, a primljeno je ${i}`}case`invalid_value`:return e.values.length===1?`Neispravna vrijednost: očekivano ${P(e.values[0])}`:`Neispravna opcija: očekivano jedno od ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Preveliko: očekivano da ${a??`vrijednost`} ima ${n}${e.maximum.toString()} ${i.unit??`elemenata`}`:`Preveliko: očekivano da ${a??`vrijednost`} bude ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Premalo: očekivano da ${a} ima ${n}${e.minimum.toString()} ${i.unit}`:`Premalo: očekivano da ${a} bude ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neispravan tekst: mora započinjati s \"${t.prefix}\"`:t.format===`ends_with`?`Neispravan tekst: mora završavati s \"${t.suffix}\"`:t.format===`includes`?`Neispravan tekst: mora sadržavati \"${t.includes}\"`:t.format===`regex`?`Neispravan tekst: mora odgovarati uzorku ${t.pattern}`:`Neispravna ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neispravan broj: mora biti višekratnik od ${e.divisor}`;case`unrecognized_keys`:return`Neprepoznat${e.keys.length>1?`i ključevi`:` ključ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Neispravan ključ u ${r[e.origin]??e.origin}`;case`invalid_union`:return`Neispravan unos`;case`invalid_element`:return`Neispravna vrijednost u ${r[e.origin]??e.origin}`;default:return`Neispravan unos`}}}}));function _o(){return{localeError:vo()}}var vo,yo=o((()=>{I(),vo=()=>{let e={string:{unit:`karakter`,verb:`legyen`},file:{unit:`byte`,verb:`legyen`},array:{unit:`elem`,verb:`legyen`},set:{unit:`elem`,verb:`legyen`}};function t(t){return e[t]??null}let n={regex:`bemenet`,email:`email cím`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO időbélyeg`,date:`ISO dátum`,time:`ISO idő`,duration:`ISO időintervallum`,ipv4:`IPv4 cím`,ipv6:`IPv6 cím`,cidrv4:`IPv4 tartomány`,cidrv6:`IPv6 tartomány`,base64:`base64-kódolt string`,base64url:`base64url-kódolt string`,json_string:`JSON string`,e164:`E.164 szám`,jwt:`JWT`,template_literal:`bemenet`},r={nan:`NaN`,number:`szám`,array:`tömb`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Érvénytelen bemenet: a várt érték instanceof ${e.expected}, a kapott érték ${i}`:`Érvénytelen bemenet: a várt érték ${t}, a kapott érték ${i}`}case`invalid_value`:return e.values.length===1?`Érvénytelen bemenet: a várt érték ${P(e.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Túl nagy: ${e.origin??`érték`} mérete túl nagy ${n}${e.maximum.toString()} ${r.unit??`elem`}`:`Túl nagy: a bemeneti érték ${e.origin??`érték`} túl nagy: ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${n}${e.minimum.toString()} ${r.unit}`:`Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Érvénytelen string: \"${t.prefix}\" értékkel kell kezdődnie`:t.format===`ends_with`?`Érvénytelen string: \"${t.suffix}\" értékkel kell végződnie`:t.format===`includes`?`Érvénytelen string: \"${t.includes}\" értéket kell tartalmaznia`:t.format===`regex`?`Érvénytelen string: ${t.pattern} mintának kell megfelelnie`:`Érvénytelen ${n[t.format]??e.format}`}case`not_multiple_of`:return`Érvénytelen szám: ${e.divisor} többszörösének kell lennie`;case`unrecognized_keys`:return`Ismeretlen kulcs${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Érvénytelen kulcs ${e.origin}`;case`invalid_union`:return`Érvénytelen bemenet`;case`invalid_element`:return`Érvénytelen érték: ${e.origin}`;default:return`Érvénytelen bemenet`}}}}));function bo(e,t,n){return Math.abs(e)===1?t:n}function xo(e){if(!e)return``;let t=[`ա`,`ե`,`ը`,`ի`,`ո`,`ու`,`օ`],n=e[e.length-1];return e+(t.includes(n)?`ն`:`ը`)}function So(){return{localeError:Co()}}var Co,wo=o((()=>{I(),Co=()=>{let e={string:{unit:{one:`նշան`,many:`նշաններ`},verb:`ունենալ`},file:{unit:{one:`բայթ`,many:`բայթեր`},verb:`ունենալ`},array:{unit:{one:`տարր`,many:`տարրեր`},verb:`ունենալ`},set:{unit:{one:`տարր`,many:`տարրեր`},verb:`ունենալ`}};function t(t){return e[t]??null}let n={regex:`մուտք`,email:`էլ. հասցե`,url:`URL`,emoji:`էմոջի`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO ամսաթիվ և ժամ`,date:`ISO ամսաթիվ`,time:`ISO ժամ`,duration:`ISO տևողություն`,ipv4:`IPv4 հասցե`,ipv6:`IPv6 հասցե`,cidrv4:`IPv4 միջակայք`,cidrv6:`IPv6 միջակայք`,base64:`base64 ձևաչափով տող`,base64url:`base64url ձևաչափով տող`,json_string:`JSON տող`,e164:`E.164 համար`,jwt:`JWT`,template_literal:`մուտք`},r={nan:`NaN`,number:`թիվ`,array:`զանգված`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${e.expected}, ստացվել է ${i}`:`Սխալ մուտքագրում․ սպասվում էր ${t}, ստացվել է ${i}`}case`invalid_value`:return e.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${P(e.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=bo(Number(e.maximum),r.unit.one,r.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${xo(e.origin??`արժեք`)} կունենա ${n}${e.maximum.toString()} ${t}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${xo(e.origin??`արժեք`)} լինի ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=bo(Number(e.minimum),r.unit.one,r.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${xo(e.origin)} կունենա ${n}${e.minimum.toString()} ${t}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${xo(e.origin)} լինի ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Սխալ տող․ պետք է սկսվի \"${t.prefix}\"-ով`:t.format===`ends_with`?`Սխալ տող․ պետք է ավարտվի \"${t.suffix}\"-ով`:t.format===`includes`?`Սխալ տող․ պետք է պարունակի \"${t.includes}\"`:t.format===`regex`?`Սխալ տող․ պետք է համապատասխանի ${t.pattern} ձևաչափին`:`Սխալ ${n[t.format]??e.format}`}case`not_multiple_of`:return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${e.divisor}-ի`;case`unrecognized_keys`:return`Չճանաչված բանալի${e.keys.length>1?`ներ`:``}. ${j(e.keys,`, `)}`;case`invalid_key`:return`Սխալ բանալի ${xo(e.origin)}-ում`;case`invalid_union`:return`Սխալ մուտքագրում`;case`invalid_element`:return`Սխալ արժեք ${xo(e.origin)}-ում`;default:return`Սխալ մուտքագրում`}}}}));function To(){return{localeError:Eo()}}var Eo,Do=o((()=>{I(),Eo=()=>{let e={string:{unit:`karakter`,verb:`memiliki`},file:{unit:`byte`,verb:`memiliki`},array:{unit:`item`,verb:`memiliki`},set:{unit:`item`,verb:`memiliki`}};function t(t){return e[t]??null}let n={regex:`input`,email:`alamat email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`tanggal dan waktu format ISO`,date:`tanggal format ISO`,time:`jam format ISO`,duration:`durasi format ISO`,ipv4:`alamat IPv4`,ipv6:`alamat IPv6`,cidrv4:`rentang alamat IPv4`,cidrv6:`rentang alamat IPv6`,base64:`string dengan enkode base64`,base64url:`string dengan enkode base64url`,json_string:`string JSON`,e164:`angka E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${i}`:`Input tidak valid: diharapkan ${t}, diterima ${i}`}case`invalid_value`:return e.values.length===1?`Input tidak valid: diharapkan ${P(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: diharapkan ${e.origin??`value`} memiliki ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: diharapkan ${e.origin??`value`} menjadi ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak valid: harus dimulai dengan \"${t.prefix}\"`:t.format===`ends_with`?`String tidak valid: harus berakhir dengan \"${t.suffix}\"`:t.format===`includes`?`String tidak valid: harus menyertakan \"${t.includes}\"`:t.format===`regex`?`String tidak valid: harus sesuai pola ${t.pattern}`:`${n[t.format]??e.format} tidak valid`}case`not_multiple_of`:return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali ${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak valid di ${e.origin}`;case`invalid_union`:return`Input tidak valid`;case`invalid_element`:return`Nilai tidak valid di ${e.origin}`;default:return`Input tidak valid`}}}}));function Oo(){return{localeError:ko()}}var ko,Ao=o((()=>{I(),ko=()=>{let e={string:{unit:`stafi`,verb:`að hafa`},file:{unit:`bæti`,verb:`að hafa`},array:{unit:`hluti`,verb:`að hafa`},set:{unit:`hluti`,verb:`að hafa`}};function t(t){return e[t]??null}let n={regex:`gildi`,email:`netfang`,url:`vefslóð`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dagsetning og tími`,date:`ISO dagsetning`,time:`ISO tími`,duration:`ISO tímalengd`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded strengur`,base64url:`base64url-encoded strengur`,json_string:`JSON strengur`,e164:`E.164 tölugildi`,jwt:`JWT`,template_literal:`gildi`},r={nan:`NaN`,number:`númer`,array:`fylki`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Rangt gildi: Þú slóst inn ${i} þar sem á að vera instanceof ${e.expected}`:`Rangt gildi: Þú slóst inn ${i} þar sem á að vera ${t}`}case`invalid_value`:return e.values.length===1?`Rangt gildi: gert ráð fyrir ${P(e.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} hafi ${n}${e.maximum.toString()} ${r.unit??`hluti`}`:`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} sé ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Of lítið: gert er ráð fyrir að ${e.origin} hafi ${n}${e.minimum.toString()} ${r.unit}`:`Of lítið: gert er ráð fyrir að ${e.origin} sé ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ógildur strengur: verður að byrja á \"${t.prefix}\"`:t.format===`ends_with`?`Ógildur strengur: verður að enda á \"${t.suffix}\"`:t.format===`includes`?`Ógildur strengur: verður að innihalda \"${t.includes}\"`:t.format===`regex`?`Ógildur strengur: verður að fylgja mynstri ${t.pattern}`:`Rangt ${n[t.format]??e.format}`}case`not_multiple_of`:return`Röng tala: verður að vera margfeldi af ${e.divisor}`;case`unrecognized_keys`:return`Óþekkt ${e.keys.length>1?`ir lyklar`:`ur lykill`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Rangur lykill í ${e.origin}`;case`invalid_union`:return`Rangt gildi`;case`invalid_element`:return`Rangt gildi í ${e.origin}`;default:return`Rangt gildi`}}}}));function jo(){return{localeError:Mo()}}var Mo,No=o((()=>{I(),Mo=()=>{let e={string:{unit:`caratteri`,verb:`avere`},file:{unit:`byte`,verb:`avere`},array:{unit:`elementi`,verb:`avere`},set:{unit:`elementi`,verb:`avere`}};function t(t){return e[t]??null}let n={regex:`input`,email:`indirizzo email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data e ora ISO`,date:`data ISO`,time:`ora ISO`,duration:`durata ISO`,ipv4:`indirizzo IPv4`,ipv6:`indirizzo IPv6`,cidrv4:`intervallo IPv4`,cidrv6:`intervallo IPv6`,base64:`stringa codificata in base64`,base64url:`URL codificata in base64`,json_string:`stringa JSON`,e164:`numero E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`numero`,array:`vettore`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input non valido: atteso instanceof ${e.expected}, ricevuto ${i}`:`Input non valido: atteso ${t}, ricevuto ${i}`}case`invalid_value`:return e.values.length===1?`Input non valido: atteso ${P(e.values[0])}`:`Opzione non valida: atteso uno tra ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Troppo grande: ${e.origin??`valore`} deve avere ${n}${e.maximum.toString()} ${r.unit??`elementi`}`:`Troppo grande: ${e.origin??`valore`} deve essere ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${r.unit}`:`Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Stringa non valida: deve iniziare con \"${t.prefix}\"`:t.format===`ends_with`?`Stringa non valida: deve terminare con \"${t.suffix}\"`:t.format===`includes`?`Stringa non valida: deve includere \"${t.includes}\"`:t.format===`regex`?`Stringa non valida: deve corrispondere al pattern ${t.pattern}`:`Input non valido: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case`unrecognized_keys`:return`Chiav${e.keys.length>1?`i`:`e`} non riconosciut${e.keys.length>1?`e`:`a`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Chiave non valida in ${e.origin}`;case`invalid_union`:return`Input non valido`;case`invalid_element`:return`Valore non valido in ${e.origin}`;default:return`Input non valido`}}}}));function Po(){return{localeError:Fo()}}var Fo,Io=o((()=>{I(),Fo=()=>{let e={string:{unit:`文字`,verb:`である`},file:{unit:`バイト`,verb:`である`},array:{unit:`要素`,verb:`である`},set:{unit:`要素`,verb:`である`}};function t(t){return e[t]??null}let n={regex:`入力値`,email:`メールアドレス`,url:`URL`,emoji:`絵文字`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日時`,date:`ISO日付`,time:`ISO時刻`,duration:`ISO期間`,ipv4:`IPv4アドレス`,ipv6:`IPv6アドレス`,cidrv4:`IPv4範囲`,cidrv6:`IPv6範囲`,base64:`base64エンコード文字列`,base64url:`base64urlエンコード文字列`,json_string:`JSON文字列`,e164:`E.164番号`,jwt:`JWT`,template_literal:`入力値`},r={nan:`NaN`,number:`数値`,array:`配列`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無効な入力: instanceof ${e.expected}が期待されましたが、${i}が入力されました`:`無効な入力: ${t}が期待されましたが、${i}が入力されました`}case`invalid_value`:return e.values.length===1?`無効な入力: ${P(e.values[0])}が期待されました`:`無効な選択: ${j(e.values,`、`)}のいずれかである必要があります`;case`too_big`:{let n=e.inclusive?`以下である`:`より小さい`,r=t(e.origin);return r?`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${r.unit??`要素`}${n}必要があります`:`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${n}必要があります`}case`too_small`:{let n=e.inclusive?`以上である`:`より大きい`,r=t(e.origin);return r?`小さすぎる値: ${e.origin}は${e.minimum.toString()}${r.unit}${n}必要があります`:`小さすぎる値: ${e.origin}は${e.minimum.toString()}${n}必要があります`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無効な文字列: \"${t.prefix}\"で始まる必要があります`:t.format===`ends_with`?`無効な文字列: \"${t.suffix}\"で終わる必要があります`:t.format===`includes`?`無効な文字列: \"${t.includes}\"を含む必要があります`:t.format===`regex`?`無効な文字列: パターン${t.pattern}に一致する必要があります`:`無効な${n[t.format]??e.format}`}case`not_multiple_of`:return`無効な数値: ${e.divisor}の倍数である必要があります`;case`unrecognized_keys`:return`認識されていないキー${e.keys.length>1?`群`:``}: ${j(e.keys,`、`)}`;case`invalid_key`:return`${e.origin}内の無効なキー`;case`invalid_union`:return`無効な入力`;case`invalid_element`:return`${e.origin}内の無効な値`;default:return`無効な入力`}}}}));function Lo(){return{localeError:Ro()}}var Ro,zo=o((()=>{I(),Ro=()=>{let e={string:{unit:`სიმბოლო`,verb:`უნდა შეიცავდეს`},file:{unit:`ბაიტი`,verb:`უნდა შეიცავდეს`},array:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`},set:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`}};function t(t){return e[t]??null}let n={regex:`შეყვანა`,email:`ელ-ფოსტის მისამართი`,url:`URL`,emoji:`ემოჯი`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`თარიღი-დრო`,date:`თარიღი`,time:`დრო`,duration:`ხანგრძლივობა`,ipv4:`IPv4 მისამართი`,ipv6:`IPv6 მისამართი`,cidrv4:`IPv4 დიაპაზონი`,cidrv6:`IPv6 დიაპაზონი`,base64:`base64-კოდირებული ველი`,base64url:`base64url-კოდირებული ველი`,json_string:`JSON ველი`,e164:`E.164 ნომერი`,jwt:`JWT`,template_literal:`შეყვანა`},r={nan:`NaN`,number:`რიცხვი`,string:`ველი`,boolean:`ბულეანი`,function:`ფუნქცია`,array:`მასივი`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${e.expected}, მიღებული ${i}`:`არასწორი შეყვანა: მოსალოდნელი ${t}, მიღებული ${i}`}case`invalid_value`:return e.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${P(e.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${j(e.values,`|`)}-დან`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} იყოს ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ზედმეტად პატარა: მოსალოდნელი ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${e.origin} იყოს ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`არასწორი ველი: უნდა იწყებოდეს \"${t.prefix}\"-ით`:t.format===`ends_with`?`არასწორი ველი: უნდა მთავრდებოდეს \"${t.suffix}\"-ით`:t.format===`includes`?`არასწორი ველი: უნდა შეიცავდეს \"${t.includes}\"-ს`:t.format===`regex`?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${n[t.format]??e.format}`}case`not_multiple_of`:return`არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`;case`unrecognized_keys`:return`უცნობი გასაღებ${e.keys.length>1?`ები`:`ი`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`არასწორი გასაღები ${e.origin}-ში`;case`invalid_union`:return`არასწორი შეყვანა`;case`invalid_element`:return`არასწორი მნიშვნელობა ${e.origin}-ში`;default:return`არასწორი შეყვანა`}}}}));function Bo(){return{localeError:Vo()}}var Vo,Ho=o((()=>{I(),Vo=()=>{let e={string:{unit:`តួអក្សរ`,verb:`គួរមាន`},file:{unit:`បៃ`,verb:`គួរមាន`},array:{unit:`ធាតុ`,verb:`គួរមាន`},set:{unit:`ធាតុ`,verb:`គួរមាន`}};function t(t){return e[t]??null}let n={regex:`ទិន្នន័យបញ្ចូល`,email:`អាសយដ្ឋានអ៊ីមែល`,url:`URL`,emoji:`សញ្ញាអារម្មណ៍`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`កាលបរិច្ឆេទ និងម៉ោង ISO`,date:`កាលបរិច្ឆេទ ISO`,time:`ម៉ោង ISO`,duration:`រយៈពេល ISO`,ipv4:`អាសយដ្ឋាន IPv4`,ipv6:`អាសយដ្ឋាន IPv6`,cidrv4:`ដែនអាសយដ្ឋាន IPv4`,cidrv6:`ដែនអាសយដ្ឋាន IPv6`,base64:`ខ្សែអក្សរអ៊ិកូដ base64`,base64url:`ខ្សែអក្សរអ៊ិកូដ base64url`,json_string:`ខ្សែអក្សរ JSON`,e164:`លេខ E.164`,jwt:`JWT`,template_literal:`ទិន្នន័យបញ្ចូល`},r={nan:`NaN`,number:`លេខ`,array:`អារេ (Array)`,null:`គ្មានតម្លៃ (null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${e.expected} ប៉ុន្តែទទួលបាន ${i}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t} ប៉ុន្តែទទួលបាន ${i}`}case`invalid_value`:return e.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${P(e.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()} ${r.unit??`ធាតុ`}`:`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()} ${r.unit}`:`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ \"${t.prefix}\"`:t.format===`ends_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ \"${t.suffix}\"`:t.format===`includes`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន \"${t.includes}\"`:t.format===`regex`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}`:`មិនត្រឹមត្រូវ៖ ${n[t.format]??e.format}`}case`not_multiple_of`:return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`;case`unrecognized_keys`:return`រកឃើញសោមិនស្គាល់៖ ${j(e.keys,`, `)}`;case`invalid_key`:return`សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;case`invalid_union`:return`ទិន្នន័យមិនត្រឹមត្រូវ`;case`invalid_element`:return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;default:return`ទិន្នន័យមិនត្រឹមត្រូវ`}}}}));function Uo(){return Bo()}var Wo=o((()=>{Ho()}));function Go(){return{localeError:Ko()}}var Ko,qo=o((()=>{I(),Ko=()=>{let e={string:{unit:`문자`,verb:`to have`},file:{unit:`바이트`,verb:`to have`},array:{unit:`개`,verb:`to have`},set:{unit:`개`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`입력`,email:`이메일 주소`,url:`URL`,emoji:`이모지`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 날짜시간`,date:`ISO 날짜`,time:`ISO 시간`,duration:`ISO 기간`,ipv4:`IPv4 주소`,ipv6:`IPv6 주소`,cidrv4:`IPv4 범위`,cidrv6:`IPv6 범위`,base64:`base64 인코딩 문자열`,base64url:`base64url 인코딩 문자열`,json_string:`JSON 문자열`,e164:`E.164 번호`,jwt:`JWT`,template_literal:`입력`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`잘못된 입력: 예상 타입은 instanceof ${e.expected}, 받은 타입은 ${i}입니다`:`잘못된 입력: 예상 타입은 ${t}, 받은 타입은 ${i}입니다`}case`invalid_value`:return e.values.length===1?`잘못된 입력: 값은 ${P(e.values[0])} 이어야 합니다`:`잘못된 옵션: ${j(e.values,`또는 `)} 중 하나여야 합니다`;case`too_big`:{let n=e.inclusive?`이하`:`미만`,r=n===`미만`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()} ${n}${r}`}case`too_small`:{let n=e.inclusive?`이상`:`초과`,r=n===`이상`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()} ${n}${r}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`잘못된 문자열: \"${t.prefix}\"(으)로 시작해야 합니다`:t.format===`ends_with`?`잘못된 문자열: \"${t.suffix}\"(으)로 끝나야 합니다`:t.format===`includes`?`잘못된 문자열: \"${t.includes}\"을(를) 포함해야 합니다`:t.format===`regex`?`잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다`:`잘못된 ${n[t.format]??e.format}`}case`not_multiple_of`:return`잘못된 숫자: ${e.divisor}의 배수여야 합니다`;case`unrecognized_keys`:return`인식할 수 없는 키: ${j(e.keys,`, `)}`;case`invalid_key`:return`잘못된 키: ${e.origin}`;case`invalid_union`:return`잘못된 입력`;case`invalid_element`:return`잘못된 값: ${e.origin}`;default:return`잘못된 입력`}}}}));function Jo(e){let t=Math.abs(e),n=t%10,r=t%100;return r>=11&&r<=19||n===0?`many`:n===1?`one`:`few`}function Yo(){return{localeError:Zo()}}var Xo,Zo,Qo=o((()=>{I(),Xo=e=>e.charAt(0).toUpperCase()+e.slice(1),Zo=()=>{let e={string:{unit:{one:`simbolis`,few:`simboliai`,many:`simbolių`},verb:{smaller:{inclusive:`turi būti ne ilgesnė kaip`,notInclusive:`turi būti trumpesnė kaip`},bigger:{inclusive:`turi būti ne trumpesnė kaip`,notInclusive:`turi būti ilgesnė kaip`}}},file:{unit:{one:`baitas`,few:`baitai`,many:`baitų`},verb:{smaller:{inclusive:`turi būti ne didesnis kaip`,notInclusive:`turi būti mažesnis kaip`},bigger:{inclusive:`turi būti ne mažesnis kaip`,notInclusive:`turi būti didesnis kaip`}}},array:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}},set:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}}};function t(t,n,r,i){let a=e[t]??null;return a===null?a:{unit:a.unit[n],verb:a.verb[i][r?`inclusive`:`notInclusive`]}}let n={regex:`įvestis`,email:`el. pašto adresas`,url:`URL`,emoji:`jaustukas`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO data ir laikas`,date:`ISO data`,time:`ISO laikas`,duration:`ISO trukmė`,ipv4:`IPv4 adresas`,ipv6:`IPv6 adresas`,cidrv4:`IPv4 tinklo prefiksas (CIDR)`,cidrv6:`IPv6 tinklo prefiksas (CIDR)`,base64:`base64 užkoduota eilutė`,base64url:`base64url užkoduota eilutė`,json_string:`JSON eilutė`,e164:`E.164 numeris`,jwt:`JWT`,template_literal:`įvestis`},r={nan:`NaN`,number:`skaičius`,bigint:`sveikasis skaičius`,string:`eilutė`,boolean:`loginė reikšmė`,undefined:`neapibrėžta reikšmė`,function:`funkcija`,symbol:`simbolis`,array:`masyvas`,object:`objektas`,null:`nulinė reikšmė`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Gautas tipas ${i}, o tikėtasi - instanceof ${e.expected}`:`Gautas tipas ${i}, o tikėtasi - ${t}`}case`invalid_value`:return e.values.length===1?`Privalo būti ${P(e.values[0])}`:`Privalo būti vienas iš ${j(e.values,`|`)} pasirinkimų`;case`too_big`:{let n=r[e.origin]??e.origin,i=t(e.origin,Jo(Number(e.maximum)),e.inclusive??!1,`smaller`);if(i?.verb)return`${Xo(n??e.origin??`reikšmė`)} ${i.verb} ${e.maximum.toString()} ${i.unit??`elementų`}`;let a=e.inclusive?`ne didesnis kaip`:`mažesnis kaip`;return`${Xo(n??e.origin??`reikšmė`)} turi būti ${a} ${e.maximum.toString()} ${i?.unit}`}case`too_small`:{let n=r[e.origin]??e.origin,i=t(e.origin,Jo(Number(e.minimum)),e.inclusive??!1,`bigger`);if(i?.verb)return`${Xo(n??e.origin??`reikšmė`)} ${i.verb} ${e.minimum.toString()} ${i.unit??`elementų`}`;let a=e.inclusive?`ne mažesnis kaip`:`didesnis kaip`;return`${Xo(n??e.origin??`reikšmė`)} turi būti ${a} ${e.minimum.toString()} ${i?.unit}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Eilutė privalo prasidėti \"${t.prefix}\"`:t.format===`ends_with`?`Eilutė privalo pasibaigti \"${t.suffix}\"`:t.format===`includes`?`Eilutė privalo įtraukti \"${t.includes}\"`:t.format===`regex`?`Eilutė privalo atitikti ${t.pattern}`:`Neteisingas ${n[t.format]??e.format}`}case`not_multiple_of`:return`Skaičius privalo būti ${e.divisor} kartotinis.`;case`unrecognized_keys`:return`Neatpažint${e.keys.length>1?`i`:`as`} rakt${e.keys.length>1?`ai`:`as`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Rastas klaidingas raktas`;case`invalid_union`:return`Klaidinga įvestis`;case`invalid_element`:return`${Xo(r[e.origin]??e.origin??e.origin??`reikšmė`)} turi klaidingą įvestį`;default:return`Klaidinga įvestis`}}}}));function $o(){return{localeError:es()}}var es,ts=o((()=>{I(),es=()=>{let e={string:{unit:`знаци`,verb:`да имаат`},file:{unit:`бајти`,verb:`да имаат`},array:{unit:`ставки`,verb:`да имаат`},set:{unit:`ставки`,verb:`да имаат`}};function t(t){return e[t]??null}let n={regex:`внес`,email:`адреса на е-пошта`,url:`URL`,emoji:`емоџи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO датум и време`,date:`ISO датум`,time:`ISO време`,duration:`ISO времетраење`,ipv4:`IPv4 адреса`,ipv6:`IPv6 адреса`,cidrv4:`IPv4 опсег`,cidrv6:`IPv6 опсег`,base64:`base64-енкодирана низа`,base64url:`base64url-енкодирана низа`,json_string:`JSON низа`,e164:`E.164 број`,jwt:`JWT`,template_literal:`внес`},r={nan:`NaN`,number:`број`,array:`низа`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Грешен внес: се очекува instanceof ${e.expected}, примено ${i}`:`Грешен внес: се очекува ${t}, примено ${i}`}case`invalid_value`:return e.values.length===1?`Invalid input: expected ${P(e.values[0])}`:`Грешана опција: се очекува една ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Премногу голем: се очекува ${e.origin??`вредноста`} да има ${n}${e.maximum.toString()} ${r.unit??`елементи`}`:`Премногу голем: се очекува ${e.origin??`вредноста`} да биде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Премногу мал: се очекува ${e.origin} да има ${n}${e.minimum.toString()} ${r.unit}`:`Премногу мал: се очекува ${e.origin} да биде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неважечка низа: мора да започнува со \"${t.prefix}\"`:t.format===`ends_with`?`Неважечка низа: мора да завршува со \"${t.suffix}\"`:t.format===`includes`?`Неважечка низа: мора да вклучува \"${t.includes}\"`:t.format===`regex`?`Неважечка низа: мора да одгоара на патернот ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Грешен број: мора да биде делив со ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Непрепознаени клучеви`:`Непрепознаен клуч`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Грешен клуч во ${e.origin}`;case`invalid_union`:return`Грешен внес`;case`invalid_element`:return`Грешна вредност во ${e.origin}`;default:return`Грешен внес`}}}}));function ns(){return{localeError:rs()}}var rs,is=o((()=>{I(),rs=()=>{let e={string:{unit:`aksara`,verb:`mempunyai`},file:{unit:`bait`,verb:`mempunyai`},array:{unit:`elemen`,verb:`mempunyai`},set:{unit:`elemen`,verb:`mempunyai`}};function t(t){return e[t]??null}let n={regex:`input`,email:`alamat e-mel`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`tarikh masa ISO`,date:`tarikh ISO`,time:`masa ISO`,duration:`tempoh ISO`,ipv4:`alamat IPv4`,ipv6:`alamat IPv6`,cidrv4:`julat IPv4`,cidrv6:`julat IPv6`,base64:`string dikodkan base64`,base64url:`string dikodkan base64url`,json_string:`string JSON`,e164:`nombor E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`nombor`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak sah: dijangka instanceof ${e.expected}, diterima ${i}`:`Input tidak sah: dijangka ${t}, diterima ${i}`}case`invalid_value`:return e.values.length===1?`Input tidak sah: dijangka ${P(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: dijangka ${e.origin??`nilai`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: dijangka ${e.origin??`nilai`} adalah ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: dijangka ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak sah: mesti bermula dengan \"${t.prefix}\"`:t.format===`ends_with`?`String tidak sah: mesti berakhir dengan \"${t.suffix}\"`:t.format===`includes`?`String tidak sah: mesti mengandungi \"${t.includes}\"`:t.format===`regex`?`String tidak sah: mesti sepadan dengan corak ${t.pattern}`:`${n[t.format]??e.format} tidak sah`}case`not_multiple_of`:return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali: ${j(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak sah dalam ${e.origin}`;case`invalid_union`:return`Input tidak sah`;case`invalid_element`:return`Nilai tidak sah dalam ${e.origin}`;default:return`Input tidak sah`}}}}));function as(){return{localeError:os()}}var os,ss=o((()=>{I(),os=()=>{let e={string:{unit:`tekens`,verb:`heeft`},file:{unit:`bytes`,verb:`heeft`},array:{unit:`elementen`,verb:`heeft`},set:{unit:`elementen`,verb:`heeft`}};function t(t){return e[t]??null}let n={regex:`invoer`,email:`emailadres`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum en tijd`,date:`ISO datum`,time:`ISO tijd`,duration:`ISO duur`,ipv4:`IPv4-adres`,ipv6:`IPv6-adres`,cidrv4:`IPv4-bereik`,cidrv6:`IPv6-bereik`,base64:`base64-gecodeerde tekst`,base64url:`base64 URL-gecodeerde tekst`,json_string:`JSON string`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`invoer`},r={nan:`NaN`,number:`getal`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${i}`:`Ongeldige invoer: verwacht ${t}, ontving ${i}`}case`invalid_value`:return e.values.length===1?`Ongeldige invoer: verwacht ${P(e.values[0])}`:`Ongeldige optie: verwacht één van ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin),i=e.origin===`date`?`laat`:e.origin===`string`?`lang`:`groot`;return r?`Te ${i}: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} ${r.unit??`elementen`} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} is`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin),i=e.origin===`date`?`vroeg`:e.origin===`string`?`kort`:`klein`;return r?`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ongeldige tekst: moet met \"${t.prefix}\" beginnen`:t.format===`ends_with`?`Ongeldige tekst: moet op \"${t.suffix}\" eindigen`:t.format===`includes`?`Ongeldige tekst: moet \"${t.includes}\" bevatten`:t.format===`regex`?`Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}`:`Ongeldig: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case`unrecognized_keys`:return`Onbekende key${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ongeldige key in ${e.origin}`;case`invalid_union`:return`Ongeldige invoer`;case`invalid_element`:return`Ongeldige waarde in ${e.origin}`;default:return`Ongeldige invoer`}}}}));function cs(){return{localeError:ls()}}var ls,us=o((()=>{I(),ls=()=>{let e={string:{unit:`tegn`,verb:`å ha`},file:{unit:`bytes`,verb:`å ha`},array:{unit:`elementer`,verb:`å inneholde`},set:{unit:`elementer`,verb:`å inneholde`}};function t(t){return e[t]??null}let n={regex:`input`,email:`e-postadresse`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dato- og klokkeslett`,date:`ISO-dato`,time:`ISO-klokkeslett`,duration:`ISO-varighet`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spekter`,cidrv6:`IPv6-spekter`,base64:`base64-enkodet streng`,base64url:`base64url-enkodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`tall`,array:`liste`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldig input: forventet instanceof ${e.expected}, fikk ${i}`:`Ugyldig input: forventet ${t}, fikk ${i}`}case`invalid_value`:return e.values.length===1?`Ugyldig verdi: forventet ${P(e.values[0])}`:`Ugyldig valg: forventet en av ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()} ${r.unit??`elementer`}`:`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()} ${r.unit}`:`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: må starte med \"${t.prefix}\"`:t.format===`ends_with`?`Ugyldig streng: må ende med \"${t.suffix}\"`:t.format===`includes`?`Ugyldig streng: må inneholde \"${t.includes}\"`:t.format===`regex`?`Ugyldig streng: må matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldig tall: må være et multiplum av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukjente nøkler`:`Ukjent nøkkel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøkkel i ${e.origin}`;case`invalid_union`:return`Ugyldig input`;case`invalid_element`:return`Ugyldig verdi i ${e.origin}`;default:return`Ugyldig input`}}}}));function ds(){return{localeError:fs()}}var fs,ps=o((()=>{I(),fs=()=>{let e={string:{unit:`harf`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`unsur`,verb:`olmalıdır`},set:{unit:`unsur`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n={regex:`giren`,email:`epostagâh`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO hengâmı`,date:`ISO tarihi`,time:`ISO zamanı`,duration:`ISO müddeti`,ipv4:`IPv4 nişânı`,ipv6:`IPv6 nişânı`,cidrv4:`IPv4 menzili`,cidrv6:`IPv6 menzili`,base64:`base64-şifreli metin`,base64url:`base64url-şifreli metin`,json_string:`JSON metin`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`giren`},r={nan:`NaN`,number:`numara`,array:`saf`,null:`gayb`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Fâsit giren: umulan instanceof ${e.expected}, alınan ${i}`:`Fâsit giren: umulan ${t}, alınan ${i}`}case`invalid_value`:return e.values.length===1?`Fâsit giren: umulan ${P(e.values[0])}`:`Fâsit tercih: mûteberler ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} ${r.unit??`elements`} sahip olmalıydı.`:`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} olmalıydı.`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} ${r.unit} sahip olmalıydı.`:`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} olmalıydı.`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Fâsit metin: \"${t.prefix}\" ile başlamalı.`:t.format===`ends_with`?`Fâsit metin: \"${t.suffix}\" ile bitmeli.`:t.format===`includes`?`Fâsit metin: \"${t.includes}\" ihtivâ etmeli.`:t.format===`regex`?`Fâsit metin: ${t.pattern} nakşına uymalı.`:`Fâsit ${n[t.format]??e.format}`}case`not_multiple_of`:return`Fâsit sayı: ${e.divisor} katı olmalıydı.`;case`unrecognized_keys`:return`Tanınmayan anahtar ${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} için tanınmayan anahtar var.`;case`invalid_union`:return`Giren tanınamadı.`;case`invalid_element`:return`${e.origin} için tanınmayan kıymet var.`;default:return`Kıymet tanınamadı.`}}}}));function ms(){return{localeError:hs()}}var hs,gs=o((()=>{I(),hs=()=>{let e={string:{unit:`توکي`,verb:`ولري`},file:{unit:`بایټس`,verb:`ولري`},array:{unit:`توکي`,verb:`ولري`},set:{unit:`توکي`,verb:`ولري`}};function t(t){return e[t]??null}let n={regex:`ورودي`,email:`بریښنالیک`,url:`یو آر ال`,emoji:`ایموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`نیټه او وخت`,date:`نېټه`,time:`وخت`,duration:`موده`,ipv4:`د IPv4 پته`,ipv6:`د IPv6 پته`,cidrv4:`د IPv4 ساحه`,cidrv6:`د IPv6 ساحه`,base64:`base64-encoded متن`,base64url:`base64url-encoded متن`,json_string:`JSON متن`,e164:`د E.164 شمېره`,jwt:`JWT`,template_literal:`ورودي`},r={nan:`NaN`,number:`عدد`,array:`ارې`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ناسم ورودي: باید instanceof ${e.expected} وای, مګر ${i} ترلاسه شو`:`ناسم ورودي: باید ${t} وای, مګر ${i} ترلاسه شو`}case`invalid_value`:return e.values.length===1?`ناسم ورودي: باید ${P(e.values[0])} وای`:`ناسم انتخاب: باید یو له ${j(e.values,`|`)} څخه وای`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصرونه`} ولري`:`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} وي`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} ولري`:`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} وي`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ناسم متن: باید د \"${t.prefix}\" سره پیل شي`:t.format===`ends_with`?`ناسم متن: باید د \"${t.suffix}\" سره پای ته ورسيږي`:t.format===`includes`?`ناسم متن: باید \"${t.includes}\" ولري`:t.format===`regex`?`ناسم متن: باید د ${t.pattern} سره مطابقت ولري`:`${n[t.format]??e.format} ناسم دی`}case`not_multiple_of`:return`ناسم عدد: باید د ${e.divisor} مضرب وي`;case`unrecognized_keys`:return`ناسم ${e.keys.length>1?`کلیډونه`:`کلیډ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`ناسم کلیډ په ${e.origin} کې`;case`invalid_union`:return`ناسمه ورودي`;case`invalid_element`:return`ناسم عنصر په ${e.origin} کې`;default:return`ناسمه ورودي`}}}}));function _s(){return{localeError:vs()}}var vs,ys=o((()=>{I(),vs=()=>{let e={string:{unit:`znaków`,verb:`mieć`},file:{unit:`bajtów`,verb:`mieć`},array:{unit:`elementów`,verb:`mieć`},set:{unit:`elementów`,verb:`mieć`}};function t(t){return e[t]??null}let n={regex:`wyrażenie`,email:`adres email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data i godzina w formacie ISO`,date:`data w formacie ISO`,time:`godzina w formacie ISO`,duration:`czas trwania ISO`,ipv4:`adres IPv4`,ipv6:`adres IPv6`,cidrv4:`zakres IPv4`,cidrv6:`zakres IPv6`,base64:`ciąg znaków zakodowany w formacie base64`,base64url:`ciąg znaków zakodowany w formacie base64url`,json_string:`ciąg znaków w formacie JSON`,e164:`liczba E.164`,jwt:`JWT`,template_literal:`wejście`},r={nan:`NaN`,number:`liczba`,array:`tablica`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${e.expected}, otrzymano ${i}`:`Nieprawidłowe dane wejściowe: oczekiwano ${t}, otrzymano ${i}`}case`invalid_value`:return e.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${P(e.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Za duża wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.maximum.toString()} ${r.unit??`elementów`}`:`Zbyt duż(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Za mała wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.minimum.toString()} ${r.unit??`elementów`}`:`Zbyt mał(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nieprawidłowy ciąg znaków: musi zaczynać się od \"${t.prefix}\"`:t.format===`ends_with`?`Nieprawidłowy ciąg znaków: musi kończyć się na \"${t.suffix}\"`:t.format===`includes`?`Nieprawidłowy ciąg znaków: musi zawierać \"${t.includes}\"`:t.format===`regex`?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${t.pattern}`:`Nieprawidłow(y/a/e) ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`;case`unrecognized_keys`:return`Nierozpoznane klucze${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Nieprawidłowy klucz w ${e.origin}`;case`invalid_union`:return`Nieprawidłowe dane wejściowe`;case`invalid_element`:return`Nieprawidłowa wartość w ${e.origin}`;default:return`Nieprawidłowe dane wejściowe`}}}}));function bs(){return{localeError:xs()}}var xs,Ss=o((()=>{I(),xs=()=>{let e={string:{unit:`caracteres`,verb:`ter`},file:{unit:`bytes`,verb:`ter`},array:{unit:`itens`,verb:`ter`},set:{unit:`itens`,verb:`ter`}};function t(t){return e[t]??null}let n={regex:`padrão`,email:`endereço de e-mail`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data e hora ISO`,date:`data ISO`,time:`hora ISO`,duration:`duração ISO`,ipv4:`endereço IPv4`,ipv6:`endereço IPv6`,cidrv4:`faixa de IPv4`,cidrv6:`faixa de IPv6`,base64:`texto codificado em base64`,base64url:`URL codificada em base64`,json_string:`texto JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`,number:`número`,null:`nulo`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipo inválido: esperado instanceof ${e.expected}, recebido ${i}`:`Tipo inválido: esperado ${t}, recebido ${i}`}case`invalid_value`:return e.values.length===1?`Entrada inválida: esperado ${P(e.values[0])}`:`Opção inválida: esperada uma das ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Muito grande: esperado que ${e.origin??`valor`} tivesse ${n}${e.maximum.toString()} ${r.unit??`elementos`}`:`Muito grande: esperado que ${e.origin??`valor`} fosse ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${r.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Texto inválido: deve começar com \"${t.prefix}\"`:t.format===`ends_with`?`Texto inválido: deve terminar com \"${t.suffix}\"`:t.format===`includes`?`Texto inválido: deve incluir \"${t.includes}\"`:t.format===`regex`?`Texto inválido: deve corresponder ao padrão ${t.pattern}`:`${n[t.format]??e.format} inválido`}case`not_multiple_of`:return`Número inválido: deve ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Chave${e.keys.length>1?`s`:``} desconhecida${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Chave inválida em ${e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido em ${e.origin}`;default:return`Campo inválido`}}}}));function Cs(){return{localeError:ws()}}var ws,Ts=o((()=>{I(),ws=()=>{let e={string:{unit:`caractere`,verb:`să aibă`},file:{unit:`octeți`,verb:`să aibă`},array:{unit:`elemente`,verb:`să aibă`},set:{unit:`elemente`,verb:`să aibă`},map:{unit:`intrări`,verb:`să aibă`}};function t(t){return e[t]??null}let n={regex:`intrare`,email:`adresă de email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`dată și oră ISO`,date:`dată ISO`,time:`oră ISO`,duration:`durată ISO`,ipv4:`adresă IPv4`,ipv6:`adresă IPv6`,mac:`adresă MAC`,cidrv4:`interval IPv4`,cidrv6:`interval IPv6`,base64:`șir codat base64`,base64url:`șir codat base64url`,json_string:`șir JSON`,e164:`număr E.164`,jwt:`JWT`,template_literal:`intrare`},r={nan:`NaN`,string:`șir`,number:`număr`,boolean:`boolean`,function:`funcție`,array:`matrice`,object:`obiect`,undefined:`nedefinit`,symbol:`simbol`,bigint:`număr mare`,void:`void`,never:`never`,map:`hartă`,set:`set`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input);return`Intrare invalidă: așteptat ${t}, primit ${r[n]??n}`}case`invalid_value`:return e.values.length===1?`Intrare invalidă: așteptat ${P(e.values[0])}`:`Opțiune invalidă: așteptat una dintre ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Prea mare: așteptat ca ${e.origin??`valoarea`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`elemente`}`:`Prea mare: așteptat ca ${e.origin??`valoarea`} să fie ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Prea mic: așteptat ca ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Prea mic: așteptat ca ${e.origin} să fie ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Șir invalid: trebuie să înceapă cu \"${t.prefix}\"`:t.format===`ends_with`?`Șir invalid: trebuie să se termine cu \"${t.suffix}\"`:t.format===`includes`?`Șir invalid: trebuie să includă \"${t.includes}\"`:t.format===`regex`?`Șir invalid: trebuie să se potrivească cu modelul ${t.pattern}`:`Format invalid: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Număr invalid: trebuie să fie multiplu de ${e.divisor}`;case`unrecognized_keys`:return`Chei nerecunoscute: ${j(e.keys,`, `)}`;case`invalid_key`:return`Cheie invalidă în ${e.origin}`;case`invalid_union`:return`Intrare invalidă`;case`invalid_element`:return`Valoare invalidă în ${e.origin}`;default:return`Intrare invalidă`}}}}));function Es(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}function Ds(){return{localeError:Os()}}var Os,ks=o((()=>{I(),Os=()=>{let e={string:{unit:{one:`символ`,few:`символа`,many:`символов`},verb:`иметь`},file:{unit:{one:`байт`,few:`байта`,many:`байт`},verb:`иметь`},array:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`},set:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`}};function t(t){return e[t]??null}let n={regex:`ввод`,email:`email адрес`,url:`URL`,emoji:`эмодзи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата и время`,date:`ISO дата`,time:`ISO время`,duration:`ISO длительность`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`строка в формате base64`,base64url:`строка в формате base64url`,json_string:`JSON строка`,e164:`номер E.164`,jwt:`JWT`,template_literal:`ввод`},r={nan:`NaN`,number:`число`,array:`массив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неверный ввод: ожидалось instanceof ${e.expected}, получено ${i}`:`Неверный ввод: ожидалось ${t}, получено ${i}`}case`invalid_value`:return e.values.length===1?`Неверный ввод: ожидалось ${P(e.values[0])}`:`Неверный вариант: ожидалось одно из ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=Es(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет иметь ${n}${e.maximum.toString()} ${t}`}return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=Es(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${n}${e.minimum.toString()} ${t}`}return`Слишком маленькое значение: ожидалось, что ${e.origin} будет ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неверная строка: должна начинаться с \"${t.prefix}\"`:t.format===`ends_with`?`Неверная строка: должна заканчиваться на \"${t.suffix}\"`:t.format===`includes`?`Неверная строка: должна содержать \"${t.includes}\"`:t.format===`regex`?`Неверная строка: должна соответствовать шаблону ${t.pattern}`:`Неверный ${n[t.format]??e.format}`}case`not_multiple_of`:return`Неверное число: должно быть кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспознанн${e.keys.length>1?`ые`:`ый`} ключ${e.keys.length>1?`и`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Неверный ключ в ${e.origin}`;case`invalid_union`:return`Неверные входные данные`;case`invalid_element`:return`Неверное значение в ${e.origin}`;default:return`Неверные входные данные`}}}}));function As(){return{localeError:js()}}var js,Ms=o((()=>{I(),js=()=>{let e={string:{unit:`znakov`,verb:`imeti`},file:{unit:`bajtov`,verb:`imeti`},array:{unit:`elementov`,verb:`imeti`},set:{unit:`elementov`,verb:`imeti`}};function t(t){return e[t]??null}let n={regex:`vnos`,email:`e-poštni naslov`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum in čas`,date:`ISO datum`,time:`ISO čas`,duration:`ISO trajanje`,ipv4:`IPv4 naslov`,ipv6:`IPv6 naslov`,cidrv4:`obseg IPv4`,cidrv6:`obseg IPv6`,base64:`base64 kodiran niz`,base64url:`base64url kodiran niz`,json_string:`JSON niz`,e164:`E.164 številka`,jwt:`JWT`,template_literal:`vnos`},r={nan:`NaN`,number:`število`,array:`tabela`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neveljaven vnos: pričakovano instanceof ${e.expected}, prejeto ${i}`:`Neveljaven vnos: pričakovano ${t}, prejeto ${i}`}case`invalid_value`:return e.values.length===1?`Neveljaven vnos: pričakovano ${P(e.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} imelo ${n}${e.maximum.toString()} ${r.unit??`elementov`}`:`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Premajhno: pričakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${r.unit}`:`Premajhno: pričakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neveljaven niz: mora se začeti z \"${t.prefix}\"`:t.format===`ends_with`?`Neveljaven niz: mora se končati z \"${t.suffix}\"`:t.format===`includes`?`Neveljaven niz: mora vsebovati \"${t.includes}\"`:t.format===`regex`?`Neveljaven niz: mora ustrezati vzorcu ${t.pattern}`:`Neveljaven ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neveljavno število: mora biti večkratnik ${e.divisor}`;case`unrecognized_keys`:return`Neprepoznan${e.keys.length>1?`i ključi`:` ključ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Neveljaven ključ v ${e.origin}`;case`invalid_union`:return`Neveljaven vnos`;case`invalid_element`:return`Neveljavna vrednost v ${e.origin}`;default:return`Neveljaven vnos`}}}}));function Ns(){return{localeError:Ps()}}var Ps,Fs=o((()=>{I(),Ps=()=>{let e={string:{unit:`tecken`,verb:`att ha`},file:{unit:`bytes`,verb:`att ha`},array:{unit:`objekt`,verb:`att innehålla`},set:{unit:`objekt`,verb:`att innehålla`}};function t(t){return e[t]??null}let n={regex:`reguljärt uttryck`,email:`e-postadress`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-datum och tid`,date:`ISO-datum`,time:`ISO-tid`,duration:`ISO-varaktighet`,ipv4:`IPv4-intervall`,ipv6:`IPv6-intervall`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodad sträng`,base64url:`base64url-kodad sträng`,json_string:`JSON-sträng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`mall-literal`},r={nan:`NaN`,number:`antal`,array:`lista`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ogiltig inmatning: förväntat instanceof ${e.expected}, fick ${i}`:`Ogiltig inmatning: förväntat ${t}, fick ${i}`}case`invalid_value`:return e.values.length===1?`Ogiltig inmatning: förväntat ${P(e.values[0])}`:`Ogiltigt val: förväntade en av ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`För stor(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()} ${r.unit??`element`}`:`För stor(t): förväntat ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()} ${r.unit}`:`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ogiltig sträng: måste börja med \"${t.prefix}\"`:t.format===`ends_with`?`Ogiltig sträng: måste sluta med \"${t.suffix}\"`:t.format===`includes`?`Ogiltig sträng: måste innehålla \"${t.includes}\"`:t.format===`regex`?`Ogiltig sträng: måste matcha mönstret \"${t.pattern}\"`:`Ogiltig(t) ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ogiltigt tal: måste vara en multipel av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Okända nycklar`:`Okänd nyckel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ogiltig nyckel i ${e.origin??`värdet`}`;case`invalid_union`:return`Ogiltig input`;case`invalid_element`:return`Ogiltigt värde i ${e.origin??`värdet`}`;default:return`Ogiltig input`}}}}));function Is(){return{localeError:Ls()}}var Ls,Rs=o((()=>{I(),Ls=()=>{let e={string:{unit:`எழுத்துக்கள்`,verb:`கொண்டிருக்க வேண்டும்`},file:{unit:`பைட்டுகள்`,verb:`கொண்டிருக்க வேண்டும்`},array:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`},set:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`}};function t(t){return e[t]??null}let n={regex:`உள்ளீடு`,email:`மின்னஞ்சல் முகவரி`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO தேதி நேரம்`,date:`ISO தேதி`,time:`ISO நேரம்`,duration:`ISO கால அளவு`,ipv4:`IPv4 முகவரி`,ipv6:`IPv6 முகவரி`,cidrv4:`IPv4 வரம்பு`,cidrv6:`IPv6 வரம்பு`,base64:`base64-encoded சரம்`,base64url:`base64url-encoded சரம்`,json_string:`JSON சரம்`,e164:`E.164 எண்`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`எண்`,array:`அணி`,null:`வெறுமை`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${e.expected}, பெறப்பட்டது ${i}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t}, பெறப்பட்டது ${i}`}case`invalid_value`:return e.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${P(e.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${j(e.values,`|`)} இல் ஒன்று`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ${r.unit??`உறுப்புகள்`} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ஆக இருக்க வேண்டும்`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ஆக இருக்க வேண்டும்`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`தவறான சரம்: \"${t.prefix}\" இல் தொடங்க வேண்டும்`:t.format===`ends_with`?`தவறான சரம்: \"${t.suffix}\" இல் முடிவடைய வேண்டும்`:t.format===`includes`?`தவறான சரம்: \"${t.includes}\" ஐ உள்ளடக்க வேண்டும்`:t.format===`regex`?`தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${n[t.format]??e.format}`}case`not_multiple_of`:return`தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`;case`unrecognized_keys`:return`அடையாளம் தெரியாத விசை${e.keys.length>1?`கள்`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} இல் தவறான விசை`;case`invalid_union`:return`தவறான உள்ளீடு`;case`invalid_element`:return`${e.origin} இல் தவறான மதிப்பு`;default:return`தவறான உள்ளீடு`}}}}));function zs(){return{localeError:Bs()}}var Bs,Vs=o((()=>{I(),Bs=()=>{let e={string:{unit:`ตัวอักษร`,verb:`ควรมี`},file:{unit:`ไบต์`,verb:`ควรมี`},array:{unit:`รายการ`,verb:`ควรมี`},set:{unit:`รายการ`,verb:`ควรมี`}};function t(t){return e[t]??null}let n={regex:`ข้อมูลที่ป้อน`,email:`ที่อยู่อีเมล`,url:`URL`,emoji:`อิโมจิ`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`วันที่เวลาแบบ ISO`,date:`วันที่แบบ ISO`,time:`เวลาแบบ ISO`,duration:`ช่วงเวลาแบบ ISO`,ipv4:`ที่อยู่ IPv4`,ipv6:`ที่อยู่ IPv6`,cidrv4:`ช่วง IP แบบ IPv4`,cidrv6:`ช่วง IP แบบ IPv6`,base64:`ข้อความแบบ Base64`,base64url:`ข้อความแบบ Base64 สำหรับ URL`,json_string:`ข้อความแบบ JSON`,e164:`เบอร์โทรศัพท์ระหว่างประเทศ (E.164)`,jwt:`โทเคน JWT`,template_literal:`ข้อมูลที่ป้อน`},r={nan:`NaN`,number:`ตัวเลข`,array:`อาร์เรย์ (Array)`,null:`ไม่มีค่า (null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${e.expected} แต่ได้รับ ${i}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t} แต่ได้รับ ${i}`}case`invalid_value`:return e.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${P(e.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`ไม่เกิน`:`น้อยกว่า`,r=t(e.origin);return r?`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()} ${r.unit??`รายการ`}`:`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`อย่างน้อย`:`มากกว่า`,r=t(e.origin);return r?`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()} ${r.unit}`:`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย \"${t.prefix}\"`:t.format===`ends_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย \"${t.suffix}\"`:t.format===`includes`?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี \"${t.includes}\" อยู่ในข้อความ`:t.format===`regex`?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}`:`รูปแบบไม่ถูกต้อง: ${n[t.format]??e.format}`}case`not_multiple_of`:return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`;case`unrecognized_keys`:return`พบคีย์ที่ไม่รู้จัก: ${j(e.keys,`, `)}`;case`invalid_key`:return`คีย์ไม่ถูกต้องใน ${e.origin}`;case`invalid_union`:return`ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้`;case`invalid_element`:return`ข้อมูลไม่ถูกต้องใน ${e.origin}`;default:return`ข้อมูลไม่ถูกต้อง`}}}}));function Hs(){return{localeError:Us()}}var Us,Ws=o((()=>{I(),Us=()=>{let e={string:{unit:`karakter`,verb:`olmalı`},file:{unit:`bayt`,verb:`olmalı`},array:{unit:`öğe`,verb:`olmalı`},set:{unit:`öğe`,verb:`olmalı`}};function t(t){return e[t]??null}let n={regex:`girdi`,email:`e-posta adresi`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO tarih ve saat`,date:`ISO tarih`,time:`ISO saat`,duration:`ISO süre`,ipv4:`IPv4 adresi`,ipv6:`IPv6 adresi`,cidrv4:`IPv4 aralığı`,cidrv6:`IPv6 aralığı`,base64:`base64 ile şifrelenmiş metin`,base64url:`base64url ile şifrelenmiş metin`,json_string:`JSON dizesi`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`Şablon dizesi`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Geçersiz değer: beklenen instanceof ${e.expected}, alınan ${i}`:`Geçersiz değer: beklenen ${t}, alınan ${i}`}case`invalid_value`:return e.values.length===1?`Geçersiz değer: beklenen ${P(e.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()} ${r.unit??`öğe`}`:`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Geçersiz metin: \"${t.prefix}\" ile başlamalı`:t.format===`ends_with`?`Geçersiz metin: \"${t.suffix}\" ile bitmeli`:t.format===`includes`?`Geçersiz metin: \"${t.includes}\" içermeli`:t.format===`regex`?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${n[t.format]??e.format}`}case`not_multiple_of`:return`Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`;case`unrecognized_keys`:return`Tanınmayan anahtar${e.keys.length>1?`lar`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} içinde geçersiz anahtar`;case`invalid_union`:return`Geçersiz değer`;case`invalid_element`:return`${e.origin} içinde geçersiz değer`;default:return`Geçersiz değer`}}}}));function Gs(){return{localeError:Ks()}}var Ks,qs=o((()=>{I(),Ks=()=>{let e={string:{unit:`символів`,verb:`матиме`},file:{unit:`байтів`,verb:`матиме`},array:{unit:`елементів`,verb:`матиме`},set:{unit:`елементів`,verb:`матиме`}};function t(t){return e[t]??null}let n={regex:`вхідні дані`,email:`адреса електронної пошти`,url:`URL`,emoji:`емодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`дата та час ISO`,date:`дата ISO`,time:`час ISO`,duration:`тривалість ISO`,ipv4:`адреса IPv4`,ipv6:`адреса IPv6`,cidrv4:`діапазон IPv4`,cidrv6:`діапазон IPv6`,base64:`рядок у кодуванні base64`,base64url:`рядок у кодуванні base64url`,json_string:`рядок JSON`,e164:`номер E.164`,jwt:`JWT`,template_literal:`вхідні дані`},r={nan:`NaN`,number:`число`,array:`масив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неправильні вхідні дані: очікується instanceof ${e.expected}, отримано ${i}`:`Неправильні вхідні дані: очікується ${t}, отримано ${i}`}case`invalid_value`:return e.values.length===1?`Неправильні вхідні дані: очікується ${P(e.values[0])}`:`Неправильна опція: очікується одне з ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Занадто велике: очікується, що ${e.origin??`значення`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`елементів`}`:`Занадто велике: очікується, що ${e.origin??`значення`} буде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Занадто мале: очікується, що ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Занадто мале: очікується, що ${e.origin} буде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неправильний рядок: повинен починатися з \"${t.prefix}\"`:t.format===`ends_with`?`Неправильний рядок: повинен закінчуватися на \"${t.suffix}\"`:t.format===`includes`?`Неправильний рядок: повинен містити \"${t.includes}\"`:t.format===`regex`?`Неправильний рядок: повинен відповідати шаблону ${t.pattern}`:`Неправильний ${n[t.format]??e.format}`}case`not_multiple_of`:return`Неправильне число: повинно бути кратним ${e.divisor}`;case`unrecognized_keys`:return`Нерозпізнаний ключ${e.keys.length>1?`і`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Неправильний ключ у ${e.origin}`;case`invalid_union`:return`Неправильні вхідні дані`;case`invalid_element`:return`Неправильне значення у ${e.origin}`;default:return`Неправильні вхідні дані`}}}}));function Js(){return Gs()}var Ys=o((()=>{qs()}));function Xs(){return{localeError:Zs()}}var Zs,Qs=o((()=>{I(),Zs=()=>{let e={string:{unit:`حروف`,verb:`ہونا`},file:{unit:`بائٹس`,verb:`ہونا`},array:{unit:`آئٹمز`,verb:`ہونا`},set:{unit:`آئٹمز`,verb:`ہونا`}};function t(t){return e[t]??null}let n={regex:`ان پٹ`,email:`ای میل ایڈریس`,url:`یو آر ایل`,emoji:`ایموجی`,uuid:`یو یو آئی ڈی`,uuidv4:`یو یو آئی ڈی وی 4`,uuidv6:`یو یو آئی ڈی وی 6`,nanoid:`نینو آئی ڈی`,guid:`جی یو آئی ڈی`,cuid:`سی یو آئی ڈی`,cuid2:`سی یو آئی ڈی 2`,ulid:`یو ایل آئی ڈی`,xid:`ایکس آئی ڈی`,ksuid:`کے ایس یو آئی ڈی`,datetime:`آئی ایس او ڈیٹ ٹائم`,date:`آئی ایس او تاریخ`,time:`آئی ایس او وقت`,duration:`آئی ایس او مدت`,ipv4:`آئی پی وی 4 ایڈریس`,ipv6:`آئی پی وی 6 ایڈریس`,cidrv4:`آئی پی وی 4 رینج`,cidrv6:`آئی پی وی 6 رینج`,base64:`بیس 64 ان کوڈڈ سٹرنگ`,base64url:`بیس 64 یو آر ایل ان کوڈڈ سٹرنگ`,json_string:`جے ایس او این سٹرنگ`,e164:`ای 164 نمبر`,jwt:`جے ڈبلیو ٹی`,template_literal:`ان پٹ`},r={nan:`NaN`,number:`نمبر`,array:`آرے`,null:`نل`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`غلط ان پٹ: instanceof ${e.expected} متوقع تھا، ${i} موصول ہوا`:`غلط ان پٹ: ${t} متوقع تھا، ${i} موصول ہوا`}case`invalid_value`:return e.values.length===1?`غلط ان پٹ: ${P(e.values[0])} متوقع تھا`:`غلط آپشن: ${j(e.values,`|`)} میں سے ایک متوقع تھا`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`بہت بڑا: ${e.origin??`ویلیو`} کے ${n}${e.maximum.toString()} ${r.unit??`عناصر`} ہونے متوقع تھے`:`بہت بڑا: ${e.origin??`ویلیو`} کا ${n}${e.maximum.toString()} ہونا متوقع تھا`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`بہت چھوٹا: ${e.origin} کے ${n}${e.minimum.toString()} ${r.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${e.origin} کا ${n}${e.minimum.toString()} ہونا متوقع تھا`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`غلط سٹرنگ: \"${t.prefix}\" سے شروع ہونا چاہیے`:t.format===`ends_with`?`غلط سٹرنگ: \"${t.suffix}\" پر ختم ہونا چاہیے`:t.format===`includes`?`غلط سٹرنگ: \"${t.includes}\" شامل ہونا چاہیے`:t.format===`regex`?`غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے`:`غلط ${n[t.format]??e.format}`}case`not_multiple_of`:return`غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`;case`unrecognized_keys`:return`غیر تسلیم شدہ کی${e.keys.length>1?`ز`:``}: ${j(e.keys,`، `)}`;case`invalid_key`:return`${e.origin} میں غلط کی`;case`invalid_union`:return`غلط ان پٹ`;case`invalid_element`:return`${e.origin} میں غلط ویلیو`;default:return`غلط ان پٹ`}}}}));function $s(){return{localeError:ec()}}var ec,tc=o((()=>{I(),ec=()=>{let e={string:{unit:`belgi`,verb:`bo‘lishi kerak`},file:{unit:`bayt`,verb:`bo‘lishi kerak`},array:{unit:`element`,verb:`bo‘lishi kerak`},set:{unit:`element`,verb:`bo‘lishi kerak`},map:{unit:`yozuv`,verb:`bo‘lishi kerak`}};function t(t){return e[t]??null}let n={regex:`kirish`,email:`elektron pochta manzili`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO sana va vaqti`,date:`ISO sana`,time:`ISO vaqt`,duration:`ISO davomiylik`,ipv4:`IPv4 manzil`,ipv6:`IPv6 manzil`,mac:`MAC manzil`,cidrv4:`IPv4 diapazon`,cidrv6:`IPv6 diapazon`,base64:`base64 kodlangan satr`,base64url:`base64url kodlangan satr`,json_string:`JSON satr`,e164:`E.164 raqam`,jwt:`JWT`,template_literal:`kirish`},r={nan:`NaN`,number:`raqam`,array:`massiv`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${i}`:`Noto‘g‘ri kirish: kutilgan ${t}, qabul qilingan ${i}`}case`invalid_value`:return e.values.length===1?`Noto‘g‘ri kirish: kutilgan ${P(e.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Juda katta: kutilgan ${e.origin??`qiymat`} ${n}${e.maximum.toString()} ${r.unit} ${r.verb}`:`Juda katta: kutilgan ${e.origin??`qiymat`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Noto‘g‘ri satr: \"${t.prefix}\" bilan boshlanishi kerak`:t.format===`ends_with`?`Noto‘g‘ri satr: \"${t.suffix}\" bilan tugashi kerak`:t.format===`includes`?`Noto‘g‘ri satr: \"${t.includes}\" ni o‘z ichiga olishi kerak`:t.format===`regex`?`Noto‘g‘ri satr: ${t.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${n[t.format]??e.format}`}case`not_multiple_of`:return`Noto‘g‘ri raqam: ${e.divisor} ning karralisi bo‘lishi kerak`;case`unrecognized_keys`:return`Noma’lum kalit${e.keys.length>1?`lar`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} dagi kalit noto‘g‘ri`;case`invalid_union`:return`Noto‘g‘ri kirish`;case`invalid_element`:return`${e.origin} da noto‘g‘ri qiymat`;default:return`Noto‘g‘ri kirish`}}}}));function nc(){return{localeError:rc()}}var rc,ic=o((()=>{I(),rc=()=>{let e={string:{unit:`ký tự`,verb:`có`},file:{unit:`byte`,verb:`có`},array:{unit:`phần tử`,verb:`có`},set:{unit:`phần tử`,verb:`có`}};function t(t){return e[t]??null}let n={regex:`đầu vào`,email:`địa chỉ email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ngày giờ ISO`,date:`ngày ISO`,time:`giờ ISO`,duration:`khoảng thời gian ISO`,ipv4:`địa chỉ IPv4`,ipv6:`địa chỉ IPv6`,cidrv4:`dải IPv4`,cidrv6:`dải IPv6`,base64:`chuỗi mã hóa base64`,base64url:`chuỗi mã hóa base64url`,json_string:`chuỗi JSON`,e164:`số E.164`,jwt:`JWT`,template_literal:`đầu vào`},r={nan:`NaN`,number:`số`,array:`mảng`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${e.expected}, nhận được ${i}`:`Đầu vào không hợp lệ: mong đợi ${t}, nhận được ${i}`}case`invalid_value`:return e.values.length===1?`Đầu vào không hợp lệ: mong đợi ${P(e.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Quá lớn: mong đợi ${e.origin??`giá trị`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`phần tử`}`:`Quá lớn: mong đợi ${e.origin??`giá trị`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Quá nhỏ: mong đợi ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Quá nhỏ: mong đợi ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chuỗi không hợp lệ: phải bắt đầu bằng \"${t.prefix}\"`:t.format===`ends_with`?`Chuỗi không hợp lệ: phải kết thúc bằng \"${t.suffix}\"`:t.format===`includes`?`Chuỗi không hợp lệ: phải bao gồm \"${t.includes}\"`:t.format===`regex`?`Chuỗi không hợp lệ: phải khớp với mẫu ${t.pattern}`:`${n[t.format]??e.format} không hợp lệ`}case`not_multiple_of`:return`Số không hợp lệ: phải là bội số của ${e.divisor}`;case`unrecognized_keys`:return`Khóa không được nhận dạng: ${j(e.keys,`, `)}`;case`invalid_key`:return`Khóa không hợp lệ trong ${e.origin}`;case`invalid_union`:return`Đầu vào không hợp lệ`;case`invalid_element`:return`Giá trị không hợp lệ trong ${e.origin}`;default:return`Đầu vào không hợp lệ`}}}}));function ac(){return{localeError:oc()}}var oc,sc=o((()=>{I(),oc=()=>{let e={string:{unit:`字符`,verb:`包含`},file:{unit:`字节`,verb:`包含`},array:{unit:`项`,verb:`包含`},set:{unit:`项`,verb:`包含`}};function t(t){return e[t]??null}let n={regex:`输入`,email:`电子邮件`,url:`URL`,emoji:`表情符号`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日期时间`,date:`ISO日期`,time:`ISO时间`,duration:`ISO时长`,ipv4:`IPv4地址`,ipv6:`IPv6地址`,cidrv4:`IPv4网段`,cidrv6:`IPv6网段`,base64:`base64编码字符串`,base64url:`base64url编码字符串`,json_string:`JSON字符串`,e164:`E.164号码`,jwt:`JWT`,template_literal:`输入`},r={nan:`NaN`,number:`数字`,array:`数组`,null:`空值(null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`无效输入:期望 instanceof ${e.expected},实际接收 ${i}`:`无效输入:期望 ${t},实际接收 ${i}`}case`invalid_value`:return e.values.length===1?`无效输入:期望 ${P(e.values[0])}`:`无效选项:期望以下之一 ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`数值过大:期望 ${e.origin??`值`} ${n}${e.maximum.toString()} ${r.unit??`个元素`}`:`数值过大:期望 ${e.origin??`值`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`无效字符串:必须以 \"${t.prefix}\" 开头`:t.format===`ends_with`?`无效字符串:必须以 \"${t.suffix}\" 结尾`:t.format===`includes`?`无效字符串:必须包含 \"${t.includes}\"`:t.format===`regex`?`无效字符串:必须满足正则表达式 ${t.pattern}`:`无效${n[t.format]??e.format}`}case`not_multiple_of`:return`无效数字:必须是 ${e.divisor} 的倍数`;case`unrecognized_keys`:return`出现未知的键(key): ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} 中的键(key)无效`;case`invalid_union`:return`无效输入`;case`invalid_element`:return`${e.origin} 中包含无效值(value)`;default:return`无效输入`}}}}));function cc(){return{localeError:lc()}}var lc,uc=o((()=>{I(),lc=()=>{let e={string:{unit:`字元`,verb:`擁有`},file:{unit:`位元組`,verb:`擁有`},array:{unit:`項目`,verb:`擁有`},set:{unit:`項目`,verb:`擁有`}};function t(t){return e[t]??null}let n={regex:`輸入`,email:`郵件地址`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 日期時間`,date:`ISO 日期`,time:`ISO 時間`,duration:`ISO 期間`,ipv4:`IPv4 位址`,ipv6:`IPv6 位址`,cidrv4:`IPv4 範圍`,cidrv6:`IPv6 範圍`,base64:`base64 編碼字串`,base64url:`base64url 編碼字串`,json_string:`JSON 字串`,e164:`E.164 數值`,jwt:`JWT`,template_literal:`輸入`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無效的輸入值:預期為 instanceof ${e.expected},但收到 ${i}`:`無效的輸入值:預期為 ${t},但收到 ${i}`}case`invalid_value`:return e.values.length===1?`無效的輸入值:預期為 ${P(e.values[0])}`:`無效的選項:預期為以下其中之一 ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`數值過大:預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()} ${r.unit??`個元素`}`:`數值過大:預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()} ${r.unit}`:`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無效的字串:必須以 \"${t.prefix}\" 開頭`:t.format===`ends_with`?`無效的字串:必須以 \"${t.suffix}\" 結尾`:t.format===`includes`?`無效的字串:必須包含 \"${t.includes}\"`:t.format===`regex`?`無效的字串:必須符合格式 ${t.pattern}`:`無效的 ${n[t.format]??e.format}`}case`not_multiple_of`:return`無效的數字:必須為 ${e.divisor} 的倍數`;case`unrecognized_keys`:return`無法識別的鍵值${e.keys.length>1?`們`:``}:${j(e.keys,`、`)}`;case`invalid_key`:return`${e.origin} 中有無效的鍵值`;case`invalid_union`:return`無效的輸入值`;case`invalid_element`:return`${e.origin} 中有無效的值`;default:return`無效的輸入值`}}}}));function dc(){return{localeError:fc()}}var fc,pc=o((()=>{I(),fc=()=>{let e={string:{unit:`àmi`,verb:`ní`},file:{unit:`bytes`,verb:`ní`},array:{unit:`nkan`,verb:`ní`},set:{unit:`nkan`,verb:`ní`}};function t(t){return e[t]??null}let n={regex:`ẹ̀rọ ìbáwọlé`,email:`àdírẹ́sì ìmẹ́lì`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`àkókò ISO`,date:`ọjọ́ ISO`,time:`àkókò ISO`,duration:`àkókò tó pé ISO`,ipv4:`àdírẹ́sì IPv4`,ipv6:`àdírẹ́sì IPv6`,cidrv4:`àgbègbè IPv4`,cidrv6:`àgbègbè IPv6`,base64:`ọ̀rọ̀ tí a kọ́ ní base64`,base64url:`ọ̀rọ̀ base64url`,json_string:`ọ̀rọ̀ JSON`,e164:`nọ́mbà E.164`,jwt:`JWT`,template_literal:`ẹ̀rọ ìbáwọlé`},r={nan:`NaN`,number:`nọ́mbà`,array:`akopọ`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${e.expected}, àmọ̀ a rí ${i}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${t}, àmọ̀ a rí ${i}`}case`invalid_value`:return e.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${P(e.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tó pọ̀ jù: a ní láti jẹ́ pé ${e.origin??`iye`} ${r.verb} ${n}${e.maximum} ${r.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${n}${e.maximum}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Kéré ju: a ní láti jẹ́ pé ${e.origin} ${r.verb} ${n}${e.minimum} ${r.unit}`:`Kéré ju: a ní láti jẹ́ ${n}${e.minimum}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú \"${t.prefix}\"`:t.format===`ends_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú \"${t.suffix}\"`:t.format===`includes`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní \"${t.includes}\"`:t.format===`regex`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${t.pattern}`:`Aṣìṣe: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${e.divisor}`;case`unrecognized_keys`:return`Bọtìnì àìmọ̀: ${j(e.keys,`, `)}`;case`invalid_key`:return`Bọtìnì aṣìṣe nínú ${e.origin}`;case`invalid_union`:return`Ìbáwọlé aṣìṣe`;case`invalid_element`:return`Iye aṣìṣe nínú ${e.origin}`;default:return`Ìbáwọlé aṣìṣe`}}}})),mc=c({ar:()=>ha,az:()=>va,be:()=>Sa,bg:()=>Ta,ca:()=>Oa,cs:()=>ja,da:()=>Pa,de:()=>La,el:()=>Ba,en:()=>Ua,eo:()=>Ka,es:()=>Ya,fa:()=>Qa,fi:()=>to,fr:()=>io,frCA:()=>so,he:()=>uo,hr:()=>mo,hu:()=>_o,hy:()=>So,id:()=>To,is:()=>Oo,it:()=>jo,ja:()=>Po,ka:()=>Lo,kh:()=>Uo,km:()=>Bo,ko:()=>Go,lt:()=>Yo,mk:()=>$o,ms:()=>ns,nl:()=>as,no:()=>cs,ota:()=>ds,pl:()=>_s,ps:()=>ms,pt:()=>bs,ro:()=>Cs,ru:()=>Ds,sl:()=>As,sv:()=>Ns,ta:()=>Is,th:()=>zs,tr:()=>Hs,ua:()=>Js,uk:()=>Gs,ur:()=>Xs,uz:()=>$s,vi:()=>nc,yo:()=>dc,zhCN:()=>ac,zhTW:()=>cc}),hc=o((()=>{_a(),ba(),wa(),Da(),Aa(),Na(),Ia(),za(),Ha(),Ga(),Ja(),Za(),eo(),ro(),oo(),lo(),po(),go(),yo(),wo(),Do(),Ao(),No(),Io(),zo(),Wo(),Ho(),qo(),Qo(),ts(),is(),ss(),us(),ps(),gs(),ys(),Ss(),Ts(),ks(),Ms(),Fs(),Rs(),Vs(),Ws(),Ys(),qs(),Qs(),tc(),ic(),sc(),uc(),pc()}));function gc(){return new bc}var _c,vc,yc,bc,xc,Sc=o((()=>{vc=Symbol(`ZodOutput`),yc=Symbol(`ZodInput`),bc=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}},(_c=globalThis).__zod_globalRegistry??(_c.__zod_globalRegistry=gc()),xc=globalThis.__zod_globalRegistry}));function Cc(e,t){return new e({type:`string`,...N(t)})}function wc(e,t){return new e({type:`string`,coerce:!0,...N(t)})}function Tc(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...N(t)})}function R(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...N(t)})}function Ec(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...N(t)})}function Dc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...N(t)})}function Oc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...N(t)})}function kc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...N(t)})}function Ac(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...N(t)})}function jc(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...N(t)})}function Mc(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...N(t)})}function Nc(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...N(t)})}function Pc(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...N(t)})}function Fc(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...N(t)})}function Ic(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...N(t)})}function Lc(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...N(t)})}function Rc(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...N(t)})}function zc(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...N(t)})}function Bc(e,t){return new e({type:`string`,format:`mac`,check:`string_format`,abort:!1,...N(t)})}function Vc(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...N(t)})}function Hc(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...N(t)})}function Uc(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...N(t)})}function Wc(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...N(t)})}function Gc(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...N(t)})}function Kc(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...N(t)})}function qc(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...N(t)})}function Jc(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...N(t)})}function Yc(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...N(t)})}function Xc(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...N(t)})}function Zc(e,t){return new e({type:`number`,checks:[],...N(t)})}function Qc(e,t){return new e({type:`number`,coerce:!0,checks:[],...N(t)})}function $c(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...N(t)})}function el(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float32`,...N(t)})}function tl(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float64`,...N(t)})}function nl(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`int32`,...N(t)})}function rl(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`uint32`,...N(t)})}function il(e,t){return new e({type:`boolean`,...N(t)})}function al(e,t){return new e({type:`boolean`,coerce:!0,...N(t)})}function ol(e,t){return new e({type:`bigint`,...N(t)})}function sl(e,t){return new e({type:`bigint`,coerce:!0,...N(t)})}function cl(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`int64`,...N(t)})}function ll(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`uint64`,...N(t)})}function ul(e,t){return new e({type:`symbol`,...N(t)})}function dl(e,t){return new e({type:`undefined`,...N(t)})}function fl(e,t){return new e({type:`null`,...N(t)})}function pl(e){return new e({type:`any`})}function ml(e){return new e({type:`unknown`})}function hl(e,t){return new e({type:`never`,...N(t)})}function gl(e,t){return new e({type:`void`,...N(t)})}function _l(e,t){return new e({type:`date`,...N(t)})}function vl(e,t){return new e({type:`date`,coerce:!0,...N(t)})}function yl(e,t){return new e({type:`nan`,...N(t)})}function bl(e,t){return new $n({check:`less_than`,...N(t),value:e,inclusive:!1})}function xl(e,t){return new $n({check:`less_than`,...N(t),value:e,inclusive:!0})}function Sl(e,t){return new er({check:`greater_than`,...N(t),value:e,inclusive:!1})}function Cl(e,t){return new er({check:`greater_than`,...N(t),value:e,inclusive:!0})}function wl(e){return Sl(0,e)}function Tl(e){return bl(0,e)}function El(e){return xl(0,e)}function Dl(e){return Cl(0,e)}function Ol(e,t){return new tr({check:`multiple_of`,...N(t),value:e})}function kl(e,t){return new ir({check:`max_size`,...N(t),maximum:e})}function Al(e,t){return new ar({check:`min_size`,...N(t),minimum:e})}function jl(e,t){return new or({check:`size_equals`,...N(t),size:e})}function Ml(e,t){return new sr({check:`max_length`,...N(t),maximum:e})}function Nl(e,t){return new cr({check:`min_length`,...N(t),minimum:e})}function Pl(e,t){return new lr({check:`length_equals`,...N(t),length:e})}function Fl(e,t){return new dr({check:`string_format`,format:`regex`,...N(t),pattern:e})}function Il(e){return new fr({check:`string_format`,format:`lowercase`,...N(e)})}function Ll(e){return new pr({check:`string_format`,format:`uppercase`,...N(e)})}function Rl(e,t){return new mr({check:`string_format`,format:`includes`,...N(t),includes:e})}function zl(e,t){return new hr({check:`string_format`,format:`starts_with`,...N(t),prefix:e})}function Bl(e,t){return new gr({check:`string_format`,format:`ends_with`,...N(t),suffix:e})}function Vl(e,t,n){return new _r({check:`property`,property:e,schema:t,...N(n)})}function Hl(e,t){return new vr({check:`mime_type`,mime:e,...N(t)})}function Ul(e){return new yr({check:`overwrite`,tx:e})}function Wl(e){return Ul(t=>t.normalize(e))}function Gl(){return Ul(e=>e.trim())}function Kl(){return Ul(e=>e.toLowerCase())}function ql(){return Ul(e=>e.toUpperCase())}function Jl(){return Ul(e=>_e(e))}function Yl(e,t,n){return new e({type:`array`,element:t,...N(n)})}function Xl(e,t,n){return new e({type:`union`,options:t,...N(n)})}function Zl(e,t,n){return new e({type:`union`,options:t,inclusive:!1,...N(n)})}function Ql(e,t,n,r){return new e({type:`union`,options:n,discriminator:t,...N(r)})}function $l(e,t,n){return new e({type:`intersection`,left:t,right:n})}function eu(e,t,n,r){let i=n instanceof L;return new e({type:`tuple`,items:t,rest:i?n:null,...N(i?r:n)})}function tu(e,t,n,r){return new e({type:`record`,keyType:t,valueType:n,...N(r)})}function nu(e,t,n,r){return new e({type:`map`,keyType:t,valueType:n,...N(r)})}function ru(e,t,n){return new e({type:`set`,valueType:t,...N(n)})}function iu(e,t,n){return new e({type:`enum`,entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...N(n)})}function au(e,t,n){return new e({type:`enum`,entries:t,...N(n)})}function ou(e,t,n){return new e({type:`literal`,values:Array.isArray(t)?t:[t],...N(n)})}function su(e,t){return new e({type:`file`,...N(t)})}function cu(e,t){return new e({type:`transform`,transform:t})}function lu(e,t){return new e({type:`optional`,innerType:t})}function uu(e,t){return new e({type:`nullable`,innerType:t})}function du(e,t,n){return new e({type:`default`,innerType:t,get defaultValue(){return typeof n==`function`?n():be(n)}})}function fu(e,t,n){return new e({type:`nonoptional`,innerType:t,...N(n)})}function pu(e,t){return new e({type:`success`,innerType:t})}function mu(e,t,n){return new e({type:`catch`,innerType:t,catchValue:typeof n==`function`?n:()=>n})}function hu(e,t,n){return new e({type:`pipe`,in:t,out:n})}function gu(e,t){return new e({type:`readonly`,innerType:t})}function _u(e,t,n){return new e({type:`template_literal`,parts:t,...N(n)})}function vu(e,t){return new e({type:`lazy`,getter:t})}function yu(e,t){return new e({type:`promise`,innerType:t})}function bu(e,t,n){let r=N(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function xu(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...N(n)})}function Su(e,t){let n=Cu(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(Be(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(Be(r))}},e(t.value,t)),t);return n}function Cu(e,t){let n=new Zn({check:`custom`,...N(t)});return n._zod.check=e,n}function wu(e){let t=new Zn({check:`describe`});return t._zod.onattach=[t=>{let n=xc.get(t)??{};xc.add(t,{...n,description:e})}],t._zod.check=()=>{},t}function Tu(e){let t=new Zn({check:`meta`});return t._zod.onattach=[t=>{let n=xc.get(t)??{};xc.add(t,{...n,...e})}],t._zod.check=()=>{},t}function Eu(e,t){let n=N(t),r=n.truthy??[`true`,`1`,`yes`,`on`,`y`,`enabled`],i=n.falsy??[`false`,`0`,`no`,`off`,`n`,`disabled`];n.case!==`sensitive`&&(r=r.map(e=>typeof e==`string`?e.toLowerCase():e),i=i.map(e=>typeof e==`string`?e.toLowerCase():e));let a=new Set(r),o=new Set(i),s=e.Codec??oa,c=e.Boolean??wi,l=new s({type:`pipe`,in:new(e.String??Yr)({type:`string`,error:n.error}),out:new c({type:`boolean`,error:n.error}),transform:((e,t)=>{let r=e;return n.case!==`sensitive`&&(r=r.toLowerCase()),a.has(r)?!0:o.has(r)?!1:(t.issues.push({code:`invalid_value`,expected:`stringbool`,values:[...a,...o],input:t.value,inst:l,continue:!1}),{})}),reverseTransform:((e,t)=>e===!0?r[0]||`true`:i[0]||`false`),error:n.error});return l}function Du(e,t,n,r={}){let i=N(r),a={...N(r),check:`string_format`,type:`string`,format:t,fn:typeof n==`function`?n:e=>n.test(e),...i};return n instanceof RegExp&&(a.pattern=n),new e(a)}var Ou,ku=o((()=>{br(),Sc(),ma(),I(),Ou={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}}));function Au(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??xc,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function ju(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,ju(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&Pu(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function Mu(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id \"${n}\" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>\n\nSet the \\`cycles\\` parameter to \\`\"ref\"\\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function Nu(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref&&n.def)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error(\"Schema is missing an `id` property\");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,\"~standard\",{value:{...t[`~standard`],jsonSchema:{input:Iu(t,`input`,e.processors),output:Iu(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function Pu(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return Pu(r.element,n);if(r.type===`set`)return Pu(r.valueType,n);if(r.type===`lazy`)return Pu(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type===\"default\"||r.type===`prefault`)return Pu(r.innerType,n);if(r.type===`intersection`)return Pu(r.left,n)||Pu(r.right,n);if(r.type===`record`||r.type===`map`)return Pu(r.keyType,n)||Pu(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:Pu(r.in,n)||Pu(r.out,n);if(r.type===`object`){for(let e in r.shape)if(Pu(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(Pu(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(Pu(e,n))return!0;return!!(r.rest&&Pu(r.rest,n))}return!1}var Fu,Iu,Lu=o((()=>{Sc(),Fu=(e,t={})=>n=>{let r=Au({...n,processors:t});return ju(e,r),Mu(r,e),Nu(r,e)},Iu=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=Au({...i??{},target:a,io:t,processors:n});return ju(e,o),Mu(o,e),Nu(o,e)}}));function Ru(e,t){if(`_idmap`in e){let n=e,r=Au({...t,processors:Td}),i={};for(let e of n._idmap.entries()){let[t,n]=e;ju(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;Mu(r,n),a[t]=Nu(r,n)}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=Au({...t,processors:Td});return ju(e,n),Mu(n,e),Nu(n,e)}var zu,Bu,Vu,Hu,Uu,Wu,Gu,Ku,qu,Ju,Yu,Xu,Zu,Qu,$u,ed,td,nd,rd,id,ad,od,sd,cd,ld,ud,dd,fd,pd,md,hd,gd,_d,vd,yd,bd,xd,Sd,Cd,wd,Td,Ed=o((()=>{Lu(),I(),zu={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},Bu=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=zu[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},Vu=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},Hu=(e,t,n,r)=>{n.type=`boolean`},Uu=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`)},Wu=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`)},Gu=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},Ku=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},qu=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},Ju=(e,t,n,r)=>{n.not={}},Yu=(e,t,n,r)=>{},Xu=(e,t,n,r)=>{},Zu=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},Qu=(e,t,n,r)=>{let i=e._zod.def,a=re(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},$u=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error(\"Literal `undefined` cannot be represented in JSON Schema\")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},ed=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`)},td=(e,t,n,r)=>{let i=n,a=e._zod.pattern;if(!a)throw Error(`Pattern not found in template literal`);i.type=`string`,i.pattern=a.source},nd=(e,t,n,r)=>{let i=n,a={type:`string`,format:`binary`,contentEncoding:`binary`},{minimum:o,maximum:s,mime:c}=e._zod.bag;o!==void 0&&(a.minLength=o),s!==void 0&&(a.maxLength=s),c?c.length===1?(a.contentMediaType=c[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=c.map(e=>({contentMediaType:e}))):Object.assign(i,a)},rd=(e,t,n,r)=>{n.type=`boolean`},id=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},ad=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},od=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},sd=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`)},cd=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`)},ld=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=ju(a.element,t,{...r,path:[...r.path,`items`]})},ud=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=ju(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=ju(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},dd=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>ju(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},fd=(e,t,n,r)=>{let i=e._zod.def,a=ju(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=ju(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},pd=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>ju(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?ju(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},md=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=ju(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else (t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=ju(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=ju(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},hd=(e,t,n,r)=>{let i=e._zod.def,a=ju(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},gd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},_d=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},vd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},yd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},bd=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;ju(o,t,r);let s=t.seen.get(e);s.ref=o},xd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Sd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Cd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},wd=(e,t,n,r)=>{let i=e._zod.innerType;ju(i,t,r);let a=t.seen.get(e);a.ref=i},Td={string:Bu,number:Vu,boolean:Hu,bigint:Uu,symbol:Wu,null:Gu,undefined:Ku,void:qu,never:Ju,any:Yu,unknown:Xu,date:Zu,enum:Qu,literal:$u,nan:ed,template_literal:td,file:nd,success:rd,custom:id,function:ad,transform:od,map:sd,set:cd,array:ld,object:ud,union:dd,intersection:fd,tuple:pd,record:md,nullable:hd,nonoptional:gd,default:_d,prefault:vd,catch:yd,pipe:bd,readonly:xd,promise:Sd,optional:Cd,lazy:wd}})),Dd,Od=o((()=>{Ed(),Lu(),Dd=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??`draft-2020-12`;t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),this.ctx=Au({processors:Td,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return ju(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),Mu(this.ctx,e);let{\"~standard\":n,...r}=Nu(this.ctx,e);return r}}})),kd=c({}),Ad=o((()=>{})),jd=c({$ZodAny:()=>Ai,$ZodArray:()=>Fi,$ZodAsyncError:()=>w,$ZodBase64:()=>_i,$ZodBase64URL:()=>vi,$ZodBigInt:()=>Ti,$ZodBigIntFormat:()=>Ei,$ZodBoolean:()=>wi,$ZodCIDRv4:()=>hi,$ZodCIDRv6:()=>gi,$ZodCUID:()=>ri,$ZodCUID2:()=>ii,$ZodCatch:()=>ra,$ZodCheck:()=>Zn,$ZodCheckBigIntFormat:()=>rr,$ZodCheckEndsWith:()=>gr,$ZodCheckGreaterThan:()=>er,$ZodCheckIncludes:()=>mr,$ZodCheckLengthEquals:()=>lr,$ZodCheckLessThan:()=>$n,$ZodCheckLowerCase:()=>fr,$ZodCheckMaxLength:()=>sr,$ZodCheckMaxSize:()=>ir,$ZodCheckMimeType:()=>vr,$ZodCheckMinLength:()=>cr,$ZodCheckMinSize:()=>ar,$ZodCheckMultipleOf:()=>tr,$ZodCheckNumberFormat:()=>nr,$ZodCheckOverwrite:()=>yr,$ZodCheckProperty:()=>_r,$ZodCheckRegex:()=>dr,$ZodCheckSizeEquals:()=>or,$ZodCheckStartsWith:()=>hr,$ZodCheckStringFormat:()=>ur,$ZodCheckUpperCase:()=>pr,$ZodCodec:()=>oa,$ZodCustom:()=>pa,$ZodCustomStringFormat:()=>xi,$ZodDate:()=>Pi,$ZodDefault:()=>$i,$ZodDiscriminatedUnion:()=>Bi,$ZodE164:()=>yi,$ZodEmail:()=>$r,$ZodEmoji:()=>ti,$ZodEncodeError:()=>T,$ZodEnum:()=>Ki,$ZodError:()=>lt,$ZodExactOptional:()=>Zi,$ZodFile:()=>Ji,$ZodFunction:()=>ua,$ZodGUID:()=>Zr,$ZodIPv4:()=>fi,$ZodIPv6:()=>pi,$ZodISODate:()=>li,$ZodISODateTime:()=>ci,$ZodISODuration:()=>di,$ZodISOTime:()=>ui,$ZodIntersection:()=>Vi,$ZodJWT:()=>bi,$ZodKSUID:()=>si,$ZodLazy:()=>fa,$ZodLiteral:()=>qi,$ZodMAC:()=>mi,$ZodMap:()=>Wi,$ZodNaN:()=>ia,$ZodNanoID:()=>ni,$ZodNever:()=>Mi,$ZodNonOptional:()=>ta,$ZodNull:()=>ki,$ZodNullable:()=>Qi,$ZodNumber:()=>Si,$ZodNumberFormat:()=>Ci,$ZodObject:()=>Ii,$ZodObjectJIT:()=>Li,$ZodOptional:()=>Xi,$ZodPipe:()=>aa,$ZodPrefault:()=>ea,$ZodPreprocess:()=>sa,$ZodPromise:()=>da,$ZodReadonly:()=>ca,$ZodRealError:()=>ut,$ZodRecord:()=>Ui,$ZodRegistry:()=>bc,$ZodSet:()=>Gi,$ZodString:()=>Yr,$ZodStringFormat:()=>Xr,$ZodSuccess:()=>na,$ZodSymbol:()=>Di,$ZodTemplateLiteral:()=>la,$ZodTransform:()=>Yi,$ZodTuple:()=>Hi,$ZodType:()=>L,$ZodULID:()=>ai,$ZodURL:()=>ei,$ZodUUID:()=>Qr,$ZodUndefined:()=>Oi,$ZodUnion:()=>Ri,$ZodUnknown:()=>ji,$ZodVoid:()=>Ni,$ZodXID:()=>oi,$ZodXor:()=>zi,$brand:()=>C,$constructor:()=>y,$input:()=>yc,$output:()=>vc,Doc:()=>xr,JSONSchema:()=>kd,JSONSchemaGenerator:()=>Dd,NEVER:()=>S,TimePrecision:()=>Ou,_any:()=>pl,_array:()=>Yl,_base64:()=>Uc,_base64url:()=>Wc,_bigint:()=>ol,_boolean:()=>il,_catch:()=>mu,_check:()=>Cu,_cidrv4:()=>Vc,_cidrv6:()=>Hc,_coercedBigint:()=>sl,_coercedBoolean:()=>al,_coercedDate:()=>vl,_coercedNumber:()=>Qc,_coercedString:()=>wc,_cuid:()=>Nc,_cuid2:()=>Pc,_custom:()=>bu,_date:()=>_l,_decode:()=>St,_decodeAsync:()=>Et,_default:()=>du,_discriminatedUnion:()=>Ql,_e164:()=>Gc,_email:()=>Tc,_emoji:()=>jc,_encode:()=>bt,_encodeAsync:()=>wt,_endsWith:()=>Bl,_enum:()=>iu,_file:()=>su,_float32:()=>el,_float64:()=>tl,_gt:()=>Sl,_gte:()=>Cl,_guid:()=>R,_includes:()=>Rl,_int:()=>$c,_int32:()=>nl,_int64:()=>cl,_intersection:()=>$l,_ipv4:()=>Rc,_ipv6:()=>zc,_isoDate:()=>Jc,_isoDateTime:()=>qc,_isoDuration:()=>Xc,_isoTime:()=>Yc,_jwt:()=>Kc,_ksuid:()=>Lc,_lazy:()=>vu,_length:()=>Pl,_literal:()=>ou,_lowercase:()=>Il,_lt:()=>bl,_lte:()=>xl,_mac:()=>Bc,_map:()=>nu,_max:()=>xl,_maxLength:()=>Ml,_maxSize:()=>kl,_mime:()=>Hl,_min:()=>Cl,_minLength:()=>Nl,_minSize:()=>Al,_multipleOf:()=>Ol,_nan:()=>yl,_nanoid:()=>Mc,_nativeEnum:()=>au,_negative:()=>Tl,_never:()=>hl,_nonnegative:()=>Dl,_nonoptional:()=>fu,_nonpositive:()=>El,_normalize:()=>Wl,_null:()=>fl,_nullable:()=>uu,_number:()=>Zc,_optional:()=>lu,_overwrite:()=>Ul,_parse:()=>ft,_parseAsync:()=>mt,_pipe:()=>hu,_positive:()=>wl,_promise:()=>yu,_property:()=>Vl,_readonly:()=>gu,_record:()=>tu,_refine:()=>xu,_regex:()=>Fl,_safeDecode:()=>At,_safeDecodeAsync:()=>Pt,_safeEncode:()=>Ot,_safeEncodeAsync:()=>Mt,_safeParse:()=>gt,_safeParseAsync:()=>vt,_set:()=>ru,_size:()=>jl,_slugify:()=>Jl,_startsWith:()=>zl,_string:()=>Cc,_stringFormat:()=>Du,_stringbool:()=>Eu,_success:()=>pu,_superRefine:()=>Su,_symbol:()=>ul,_templateLiteral:()=>_u,_toLowerCase:()=>Kl,_toUpperCase:()=>ql,_transform:()=>cu,_trim:()=>Gl,_tuple:()=>eu,_uint32:()=>rl,_uint64:()=>ll,_ulid:()=>Fc,_undefined:()=>dl,_union:()=>Xl,_unknown:()=>ml,_uppercase:()=>Ll,_url:()=>Ac,_uuid:()=>Ec,_uuidv4:()=>Dc,_uuidv6:()=>Oc,_uuidv7:()=>kc,_void:()=>gl,_xid:()=>Ic,_xor:()=>Zl,clone:()=>Ce,config:()=>b,createStandardJSONSchemaMethod:()=>Iu,createToJSONSchemaMethod:()=>Fu,decode:()=>Ct,decodeAsync:()=>Dt,describe:()=>wu,encode:()=>xt,encodeAsync:()=>Tt,extractDefs:()=>Mu,finalize:()=>Nu,flattenError:()=>rt,formatError:()=>it,globalConfig:()=>E,globalRegistry:()=>xc,initializeContext:()=>Au,isValidBase64:()=>Tr,isValidBase64URL:()=>Er,isValidJWT:()=>Dr,locales:()=>mc,meta:()=>Tu,parse:()=>pt,parseAsync:()=>ht,prettifyError:()=>st,process:()=>ju,regexes:()=>Lt,registry:()=>gc,safeDecode:()=>jt,safeDecodeAsync:()=>Ft,safeEncode:()=>kt,safeEncodeAsync:()=>Nt,safeParse:()=>_t,safeParseAsync:()=>yt,toDotPath:()=>ot,toJSONSchema:()=>Ru,treeifyError:()=>at,util:()=>O,version:()=>Cr}),Md=o((()=>{D(),It(),dt(),ma(),br(),wr(),I(),Yn(),hc(),Sc(),Sr(),ku(),Lu(),Ed(),Od(),Ad()})),z=u(p(),1),eee=v();ku(),I(),Yn(),D(),It(),Ed(),dt(),hc(),Md(),Sc();function Nd(e){return!!e._zod}function Pd(e,t){return Nd(e)?_t(e,t):e.safeParse(t)}function Fd(e){if(!e)return;let t;if(t=Nd(e)?e._zod?.def?.shape:e.shape,t){if(typeof t==`function`)try{return t()}catch{return}return t}}function Id(e){if(Nd(e)){let t=e._zod?.def;if(t){if(t.value!==void 0)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}}let t=e._def;if(t){if(t.value!==void 0)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}let n=e.value;if(n!==void 0)return n}var Ld=c({endsWith:()=>Bl,gt:()=>Sl,gte:()=>Cl,includes:()=>Rl,length:()=>Pl,lowercase:()=>Il,lt:()=>bl,lte:()=>xl,maxLength:()=>Ml,maxSize:()=>kl,mime:()=>Hl,minLength:()=>Nl,minSize:()=>Al,multipleOf:()=>Ol,negative:()=>Tl,nonnegative:()=>Dl,nonpositive:()=>El,normalize:()=>Wl,overwrite:()=>Ul,positive:()=>wl,property:()=>Vl,regex:()=>Fl,size:()=>jl,slugify:()=>Jl,startsWith:()=>zl,toLowerCase:()=>Kl,toUpperCase:()=>ql,trim:()=>Gl,uppercase:()=>Ll}),Rd=o((()=>{Md()})),zd=c({ZodISODate:()=>Gd,ZodISODateTime:()=>Wd,ZodISODuration:()=>qd,ZodISOTime:()=>Kd,date:()=>Vd,datetime:()=>Bd,duration:()=>Ud,time:()=>Hd});function Bd(e){return qc(Wd,e)}function Vd(e){return Jc(Gd,e)}function Hd(e){return Yc(Kd,e)}function Ud(e){return Xc(qd,e)}var Wd,Gd,Kd,qd,Jd=o((()=>{Md(),ph(),Wd=y(`ZodISODateTime`,(e,t)=>{ci.init(e,t),Zp.init(e,t)}),Gd=y(`ZodISODate`,(e,t)=>{li.init(e,t),Zp.init(e,t)}),Kd=y(`ZodISOTime`,(e,t)=>{ui.init(e,t),Zp.init(e,t)}),qd=y(`ZodISODuration`,(e,t)=>{di.init(e,t),Zp.init(e,t)})})),Yd,Xd,Zd,Qd=o((()=>{Md(),I(),Yd=(e,t)=>{lt.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>it(e,t)},flatten:{value:t=>rt(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,ie,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,ie,2)}},isEmpty:{get(){return e.issues.length===0}}})},Xd=y(`ZodError`,Yd),Zd=y(`ZodError`,Yd,{Parent:Error})})),$d,ef,tf,nf,rf,af,of,sf,cf,lf,uf,df,ff=o((()=>{Md(),Qd(),$d=ft(Zd),ef=mt(Zd),tf=gt(Zd),nf=vt(Zd),rf=bt(Zd),af=St(Zd),of=wt(Zd),sf=Et(Zd),cf=Ot(Zd),lf=At(Zd),uf=Mt(Zd),df=Pt(Zd)})),pf=c({ZodAny:()=>Dm,ZodArray:()=>Mm,ZodBase64:()=>mm,ZodBase64URL:()=>hm,ZodBigInt:()=>Sm,ZodBigIntFormat:()=>Cm,ZodBoolean:()=>xm,ZodCIDRv4:()=>fm,ZodCIDRv6:()=>pm,ZodCUID:()=>im,ZodCUID2:()=>am,ZodCatch:()=>$m,ZodCodec:()=>nh,ZodCustom:()=>lh,ZodCustomStringFormat:()=>vm,ZodDate:()=>jm,ZodDefault:()=>Ym,ZodDiscriminatedUnion:()=>Im,ZodE164:()=>gm,ZodEmail:()=>Qp,ZodEmoji:()=>nm,ZodEnum:()=>Hm,ZodExactOptional:()=>qm,ZodFile:()=>Wm,ZodFunction:()=>ch,ZodGUID:()=>$p,ZodIPv4:()=>lm,ZodIPv6:()=>dm,ZodIntersection:()=>Lm,ZodJWT:()=>_m,ZodKSUID:()=>cm,ZodLazy:()=>oh,ZodLiteral:()=>Um,ZodMAC:()=>um,ZodMap:()=>Bm,ZodNaN:()=>eh,ZodNanoID:()=>rm,ZodNever:()=>km,ZodNonOptional:()=>Zm,ZodNull:()=>Em,ZodNullable:()=>Jm,ZodNumber:()=>ym,ZodNumberFormat:()=>bm,ZodObject:()=>Nm,ZodOptional:()=>Km,ZodPipe:()=>th,ZodPrefault:()=>Xm,ZodPreprocess:()=>rh,ZodPromise:()=>sh,ZodReadonly:()=>ih,ZodRecord:()=>zm,ZodSet:()=>Vm,ZodString:()=>Xp,ZodStringFormat:()=>Zp,ZodSuccess:()=>Qm,ZodSymbol:()=>wm,ZodTemplateLiteral:()=>ah,ZodTransform:()=>Gm,ZodTuple:()=>Rm,ZodType:()=>Jp,ZodULID:()=>om,ZodURL:()=>tm,ZodUUID:()=>em,ZodUndefined:()=>Tm,ZodUnion:()=>Pm,ZodUnknown:()=>Om,ZodVoid:()=>Am,ZodXID:()=>sm,ZodXor:()=>Fm,_ZodString:()=>Yp,_default:()=>Ep,_function:()=>zp,any:()=>tp,array:()=>H,base64:()=>Ff,base64url:()=>If,bigint:()=>Yf,boolean:()=>Jf,catch:()=>Ap,check:()=>Bp,cidrv4:()=>Nf,cidrv6:()=>Pf,codec:()=>Np,cuid:()=>Tf,cuid2:()=>Ef,custom:()=>Vp,date:()=>ap,describe:()=>uh,discriminatedUnion:()=>up,e164:()=>Lf,email:()=>hf,emoji:()=>Cf,enum:()=>vp,exactOptional:()=>Cp,file:()=>bp,float32:()=>Wf,float64:()=>Gf,function:()=>zp,guid:()=>gf,hash:()=>Hf,hex:()=>Vf,hostname:()=>Bf,httpUrl:()=>Sf,instanceof:()=>Wp,int:()=>Uf,int32:()=>Kf,int64:()=>Xf,intersection:()=>dp,invertCodec:()=>Pp,ipv4:()=>Af,ipv6:()=>Mf,json:()=>Gp,jwt:()=>Rf,keyof:()=>op,ksuid:()=>kf,lazy:()=>Lp,literal:()=>G,looseObject:()=>cp,looseRecord:()=>hp,mac:()=>jf,map:()=>gp,meta:()=>dh,nan:()=>jp,nanoid:()=>wf,nativeEnum:()=>yp,never:()=>rp,nonoptional:()=>Op,null:()=>ep,nullable:()=>wp,nullish:()=>Tp,number:()=>V,object:()=>U,optional:()=>Sp,partialRecord:()=>mp,pipe:()=>Mp,prefault:()=>Dp,preprocess:()=>Kp,promise:()=>Rp,readonly:()=>Fp,record:()=>pp,refine:()=>Hp,set:()=>_p,strictObject:()=>sp,string:()=>B,stringFormat:()=>zf,stringbool:()=>fh,success:()=>kp,superRefine:()=>Up,symbol:()=>Qf,templateLiteral:()=>Ip,transform:()=>xp,tuple:()=>fp,uint32:()=>qf,uint64:()=>Zf,ulid:()=>Df,undefined:()=>$f,union:()=>W,unknown:()=>np,url:()=>xf,uuid:()=>_f,uuidv4:()=>vf,uuidv6:()=>yf,uuidv7:()=>bf,void:()=>ip,xid:()=>Of,xor:()=>lp});function mf(e,t,n){let r=Object.getPrototypeOf(e),i=qp.get(r);if(i||(i=new Set,qp.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}function B(e){return Cc(Xp,e)}function hf(e){return Tc(Qp,e)}function gf(e){return R($p,e)}function _f(e){return Ec(em,e)}function vf(e){return Dc(em,e)}function yf(e){return Oc(em,e)}function bf(e){return kc(em,e)}function xf(e){return Ac(tm,e)}function Sf(e){return Ac(tm,{protocol:bn,hostname:yn,...N(e)})}function Cf(e){return jc(nm,e)}function wf(e){return Mc(rm,e)}function Tf(e){return Nc(im,e)}function Ef(e){return Pc(am,e)}function Df(e){return Fc(om,e)}function Of(e){return Ic(sm,e)}function kf(e){return Lc(cm,e)}function Af(e){return Rc(lm,e)}function jf(e){return Bc(um,e)}function Mf(e){return zc(dm,e)}function Nf(e){return Vc(fm,e)}function Pf(e){return Hc(pm,e)}function Ff(e){return Uc(mm,e)}function If(e){return Wc(hm,e)}function Lf(e){return Gc(gm,e)}function Rf(e){return Kc(_m,e)}function zf(e,t,n={}){return Du(vm,e,t,n)}function Bf(e){return Du(vm,`hostname`,vn,e)}function Vf(e){return Du(vm,`hex`,Nn,e)}function Hf(e,t){let n=`${e}_${t?.enc??`hex`}`,r=Lt[n];if(!r)throw Error(`Unrecognized hash format: ${n}`);return Du(vm,n,r,t)}function V(e){return Zc(ym,e)}function Uf(e){return $c(bm,e)}function Wf(e){return el(bm,e)}function Gf(e){return tl(bm,e)}function Kf(e){return nl(bm,e)}function qf(e){return rl(bm,e)}function Jf(e){return il(xm,e)}function Yf(e){return ol(Sm,e)}function Xf(e){return cl(Cm,e)}function Zf(e){return ll(Cm,e)}function Qf(e){return ul(wm,e)}function $f(e){return dl(Tm,e)}function ep(e){return fl(Em,e)}function tp(){return pl(Dm)}function np(){return ml(Om)}function rp(e){return hl(km,e)}function ip(e){return gl(Am,e)}function ap(e){return _l(jm,e)}function H(e,t){return Yl(Mm,e,t)}function op(e){let t=e._zod.def.shape;return vp(Object.keys(t))}function U(e,t){return new Nm({type:`object`,shape:e??{},...N(t)})}function sp(e,t){return new Nm({type:`object`,shape:e,catchall:rp(),...N(t)})}function cp(e,t){return new Nm({type:`object`,shape:e,catchall:np(),...N(t)})}function W(e,t){return new Pm({type:`union`,options:e,...N(t)})}function lp(e,t){return new Fm({type:`union`,options:e,inclusive:!1,...N(t)})}function up(e,t,n){return new Im({type:`union`,options:t,discriminator:e,...N(n)})}function dp(e,t){return new Lm({type:`intersection`,left:e,right:t})}function fp(e,t,n){let r=t instanceof L;return new Rm({type:`tuple`,items:e,rest:r?t:null,...N(r?n:t)})}function pp(e,t,n){return!t||!t._zod?new zm({type:`record`,keyType:B(),valueType:e,...N(t)}):new zm({type:`record`,keyType:e,valueType:t,...N(n)})}function mp(e,t,n){let r=Ce(e);return r._zod.values=void 0,new zm({type:`record`,keyType:r,valueType:t,...N(n)})}function hp(e,t,n){return new zm({type:`record`,keyType:e,valueType:t,mode:`loose`,...N(n)})}function gp(e,t,n){return new Bm({type:`map`,keyType:e,valueType:t,...N(n)})}function _p(e,t){return new Vm({type:`set`,valueType:e,...N(t)})}function vp(e,t){return new Hm({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...N(t)})}function yp(e,t){return new Hm({type:`enum`,entries:e,...N(t)})}function G(e,t){return new Um({type:`literal`,values:Array.isArray(e)?e:[e],...N(t)})}function bp(e){return su(Wm,e)}function xp(e){return new Gm({type:`transform`,transform:e})}function Sp(e){return new Km({type:`optional`,innerType:e})}function Cp(e){return new qm({type:`optional`,innerType:e})}function wp(e){return new Jm({type:`nullable`,innerType:e})}function Tp(e){return Sp(wp(e))}function Ep(e,t){return new Ym({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():be(t)}})}function Dp(e,t){return new Xm({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():be(t)}})}function Op(e,t){return new Zm({type:`nonoptional`,innerType:e,...N(t)})}function kp(e){return new Qm({type:`success`,innerType:e})}function Ap(e,t){return new $m({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}function jp(e){return yl(eh,e)}function Mp(e,t){return new th({type:`pipe`,in:e,out:t})}function Np(e,t,n){return new nh({type:`pipe`,in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function Pp(e){let t=e._zod.def;return new nh({type:`pipe`,in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}function Fp(e){return new ih({type:`readonly`,innerType:e})}function Ip(e,t){return new ah({type:`template_literal`,parts:e,...N(t)})}function Lp(e){return new oh({type:`lazy`,getter:e})}function Rp(e){return new sh({type:`promise`,innerType:e})}function zp(e){return new ch({type:`function`,input:Array.isArray(e?.input)?fp(e?.input):e?.input??H(np()),output:e?.output??np()})}function Bp(e){let t=new Zn({check:`custom`});return t._zod.check=e,t}function Vp(e,t){return bu(lh,e??(()=>!0),t)}function Hp(e,t={}){return xu(lh,e,t)}function Up(e,t){return Su(e,t)}function Wp(e,t={}){let n=new lh({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...N(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}function Gp(e){let t=Lp(()=>W([B(e),V(),Jf(),ep(),H(t),pp(B(),t)]));return t}function Kp(e,t){return new rh({type:`pipe`,in:xp(e),out:t})}var qp,Jp,Yp,Xp,Zp,Qp,$p,em,tm,nm,rm,im,am,om,sm,cm,lm,um,dm,fm,pm,mm,hm,gm,_m,vm,ym,bm,xm,Sm,Cm,wm,Tm,Em,Dm,Om,km,Am,jm,Mm,Nm,Pm,Fm,Im,Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm,Km,qm,Jm,Ym,Xm,Zm,Qm,$m,eh,th,nh,rh,ih,ah,oh,sh,ch,lh,uh,dh,fh,ph=o((()=>{Md(),Ed(),Lu(),Rd(),Jd(),ff(),qp=new WeakMap,Jp=y(`ZodType`,(e,t)=>(L.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:Iu(e,`input`),output:Iu(e,`output`)}}),e.toJSONSchema=Fu(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,\"_def\",{value:t}),e.parse=(t,n)=>$d(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>tf(e,t,n),e.parseAsync=async(t,n)=>ef(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>nf(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>rf(e,t,n),e.decode=(t,n)=>af(e,t,n),e.encodeAsync=async(t,n)=>of(e,t,n),e.decodeAsync=async(t,n)=>sf(e,t,n),e.safeEncode=(t,n)=>cf(e,t,n),e.safeDecode=(t,n)=>lf(e,t,n),e.safeEncodeAsync=async(t,n)=>uf(e,t,n),e.safeDecodeAsync=async(t,n)=>df(e,t,n),mf(e,`ZodType`,{check(...e){let t=this.def;return this.clone(de(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Ce(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Hp(e,t))},superRefine(e,t){return this.check(Up(e,t))},overwrite(e){return this.check(Ul(e))},optional(){return Sp(this)},exactOptional(){return Cp(this)},nullable(){return wp(this)},nullish(){return Sp(wp(this))},nonoptional(e){return Op(this,e)},array(){return H(this)},or(e){return W([this,e])},and(e){return dp(this,e)},transform(e){return Mp(this,xp(e))},default(e){return Ep(this,e)},prefault(e){return Dp(this,e)},catch(e){return Ap(this,e)},pipe(e){return Mp(this,e)},readonly(){return Fp(this)},describe(e){let t=this.clone();return xc.add(t,{description:e}),t},meta(...e){if(e.length===0)return xc.get(this);let t=this.clone();return xc.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,\"description\",{get(){return xc.get(e)?.description},configurable:!0}),e)),Yp=y(`_ZodString`,(e,t)=>{Yr.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Bu(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,mf(e,`_ZodString`,{regex(...e){return this.check(Fl(...e))},includes(...e){return this.check(Rl(...e))},startsWith(...e){return this.check(zl(...e))},endsWith(...e){return this.check(Bl(...e))},min(...e){return this.check(Nl(...e))},max(...e){return this.check(Ml(...e))},length(...e){return this.check(Pl(...e))},nonempty(...e){return this.check(Nl(1,...e))},lowercase(e){return this.check(Il(e))},uppercase(e){return this.check(Ll(e))},trim(){return this.check(Gl())},normalize(...e){return this.check(Wl(...e))},toLowerCase(){return this.check(Kl())},toUpperCase(){return this.check(ql())},slugify(){return this.check(Jl())}})}),Xp=y(`ZodString`,(e,t)=>{Yr.init(e,t),Yp.init(e,t),e.email=t=>e.check(Tc(Qp,t)),e.url=t=>e.check(Ac(tm,t)),e.jwt=t=>e.check(Kc(_m,t)),e.emoji=t=>e.check(jc(nm,t)),e.guid=t=>e.check(R($p,t)),e.uuid=t=>e.check(Ec(em,t)),e.uuidv4=t=>e.check(Dc(em,t)),e.uuidv6=t=>e.check(Oc(em,t)),e.uuidv7=t=>e.check(kc(em,t)),e.nanoid=t=>e.check(Mc(rm,t)),e.guid=t=>e.check(R($p,t)),e.cuid=t=>e.check(Nc(im,t)),e.cuid2=t=>e.check(Pc(am,t)),e.ulid=t=>e.check(Fc(om,t)),e.base64=t=>e.check(Uc(mm,t)),e.base64url=t=>e.check(Wc(hm,t)),e.xid=t=>e.check(Ic(sm,t)),e.ksuid=t=>e.check(Lc(cm,t)),e.ipv4=t=>e.check(Rc(lm,t)),e.ipv6=t=>e.check(zc(dm,t)),e.cidrv4=t=>e.check(Vc(fm,t)),e.cidrv6=t=>e.check(Hc(pm,t)),e.e164=t=>e.check(Gc(gm,t)),e.datetime=t=>e.check(Bd(t)),e.date=t=>e.check(Vd(t)),e.time=t=>e.check(Hd(t)),e.duration=t=>e.check(Ud(t))}),Zp=y(`ZodStringFormat`,(e,t)=>{Xr.init(e,t),Yp.init(e,t)}),Qp=y(`ZodEmail`,(e,t)=>{$r.init(e,t),Zp.init(e,t)}),$p=y(`ZodGUID`,(e,t)=>{Zr.init(e,t),Zp.init(e,t)}),em=y(`ZodUUID`,(e,t)=>{Qr.init(e,t),Zp.init(e,t)}),tm=y(`ZodURL`,(e,t)=>{ei.init(e,t),Zp.init(e,t)}),nm=y(`ZodEmoji`,(e,t)=>{ti.init(e,t),Zp.init(e,t)}),rm=y(`ZodNanoID`,(e,t)=>{ni.init(e,t),Zp.init(e,t)}),im=y(`ZodCUID`,(e,t)=>{ri.init(e,t),Zp.init(e,t)}),am=y(`ZodCUID2`,(e,t)=>{ii.init(e,t),Zp.init(e,t)}),om=y(`ZodULID`,(e,t)=>{ai.init(e,t),Zp.init(e,t)}),sm=y(`ZodXID`,(e,t)=>{oi.init(e,t),Zp.init(e,t)}),cm=y(`ZodKSUID`,(e,t)=>{si.init(e,t),Zp.init(e,t)}),lm=y(`ZodIPv4`,(e,t)=>{fi.init(e,t),Zp.init(e,t)}),um=y(`ZodMAC`,(e,t)=>{mi.init(e,t),Zp.init(e,t)}),dm=y(`ZodIPv6`,(e,t)=>{pi.init(e,t),Zp.init(e,t)}),fm=y(`ZodCIDRv4`,(e,t)=>{hi.init(e,t),Zp.init(e,t)}),pm=y(`ZodCIDRv6`,(e,t)=>{gi.init(e,t),Zp.init(e,t)}),mm=y(`ZodBase64`,(e,t)=>{_i.init(e,t),Zp.init(e,t)}),hm=y(`ZodBase64URL`,(e,t)=>{vi.init(e,t),Zp.init(e,t)}),gm=y(`ZodE164`,(e,t)=>{yi.init(e,t),Zp.init(e,t)}),_m=y(`ZodJWT`,(e,t)=>{bi.init(e,t),Zp.init(e,t)}),vm=y(`ZodCustomStringFormat`,(e,t)=>{xi.init(e,t),Zp.init(e,t)}),ym=y(`ZodNumber`,(e,t)=>{Si.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vu(e,t,n,r),mf(e,`ZodNumber`,{gt(e,t){return this.check(Sl(e,t))},gte(e,t){return this.check(Cl(e,t))},min(e,t){return this.check(Cl(e,t))},lt(e,t){return this.check(bl(e,t))},lte(e,t){return this.check(xl(e,t))},max(e,t){return this.check(xl(e,t))},int(e){return this.check(Uf(e))},safe(e){return this.check(Uf(e))},positive(e){return this.check(Sl(0,e))},nonnegative(e){return this.check(Cl(0,e))},negative(e){return this.check(bl(0,e))},nonpositive(e){return this.check(xl(0,e))},multipleOf(e,t){return this.check(Ol(e,t))},step(e,t){return this.check(Ol(e,t))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null}),bm=y(`ZodNumberFormat`,(e,t)=>{Ci.init(e,t),ym.init(e,t)}),xm=y(`ZodBoolean`,(e,t)=>{wi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Hu(e,t,n,r)}),Sm=y(`ZodBigInt`,(e,t)=>{Ti.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Uu(e,t,n,r),e.gte=(t,n)=>e.check(Cl(t,n)),e.min=(t,n)=>e.check(Cl(t,n)),e.gt=(t,n)=>e.check(Sl(t,n)),e.gte=(t,n)=>e.check(Cl(t,n)),e.min=(t,n)=>e.check(Cl(t,n)),e.lt=(t,n)=>e.check(bl(t,n)),e.lte=(t,n)=>e.check(xl(t,n)),e.max=(t,n)=>e.check(xl(t,n)),e.positive=t=>e.check(Sl(BigInt(0),t)),e.negative=t=>e.check(bl(BigInt(0),t)),e.nonpositive=t=>e.check(xl(BigInt(0),t)),e.nonnegative=t=>e.check(Cl(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(Ol(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null}),Cm=y(`ZodBigIntFormat`,(e,t)=>{Ei.init(e,t),Sm.init(e,t)}),wm=y(`ZodSymbol`,(e,t)=>{Di.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Wu(e,t,n,r)}),Tm=y(`ZodUndefined`,(e,t)=>{Oi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ku(e,t,n,r)}),Em=y(`ZodNull`,(e,t)=>{ki.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gu(e,t,n,r)}),Dm=y(`ZodAny`,(e,t)=>{Ai.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Yu(e,t,n,r)}),Om=y(`ZodUnknown`,(e,t)=>{ji.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xu(e,t,n,r)}),km=y(`ZodNever`,(e,t)=>{Mi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ju(e,t,n,r)}),Am=y(`ZodVoid`,(e,t)=>{Ni.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>qu(e,t,n,r)}),jm=y(`ZodDate`,(e,t)=>{Pi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zu(e,t,n,r),e.min=(t,n)=>e.check(Cl(t,n)),e.max=(t,n)=>e.check(xl(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null}),Mm=y(`ZodArray`,(e,t)=>{Fi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ld(e,t,n,r),e.element=t.element,mf(e,`ZodArray`,{min(e,t){return this.check(Nl(e,t))},nonempty(e){return this.check(Nl(1,e))},max(e,t){return this.check(Ml(e,t))},length(e,t){return this.check(Pl(e,t))},unwrap(){return this.element}})}),Nm=y(`ZodObject`,(e,t)=>{Li.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ud(e,t,n,r),M(e,`shape`,()=>t.shape),mf(e,`ZodObject`,{keyof(){return vp(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:np()})},loose(){return this.clone({...this._zod.def,catchall:np()})},strict(){return this.clone({...this._zod.def,catchall:rp()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return Oe(this,e)},safeExtend(e){return ke(this,e)},merge(e){return Ae(this,e)},pick(e){return Ee(this,e)},omit(e){return De(this,e)},partial(...e){return je(Km,this,e[0])},required(...e){return Me(Zm,this,e[0])}})}),Pm=y(`ZodUnion`,(e,t)=>{Ri.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dd(e,t,n,r),e.options=t.options}),Fm=y(`ZodXor`,(e,t)=>{Pm.init(e,t),zi.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dd(e,t,n,r),e.options=t.options}),Im=y(`ZodDiscriminatedUnion`,(e,t)=>{Pm.init(e,t),Bi.init(e,t)}),Lm=y(`ZodIntersection`,(e,t)=>{Vi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fd(e,t,n,r)}),Rm=y(`ZodTuple`,(e,t)=>{Hi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pd(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})}),zm=y(`ZodRecord`,(e,t)=>{Ui.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>md(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType}),Bm=y(`ZodMap`,(e,t)=>{Wi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>sd(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(Al(...t)),e.nonempty=t=>e.check(Al(1,t)),e.max=(...t)=>e.check(kl(...t)),e.size=(...t)=>e.check(jl(...t))}),Vm=y(`ZodSet`,(e,t)=>{Gi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>cd(e,t,n,r),e.min=(...t)=>e.check(Al(...t)),e.nonempty=t=>e.check(Al(1,t)),e.max=(...t)=>e.check(kl(...t)),e.size=(...t)=>e.check(jl(...t))}),Hm=y(`ZodEnum`,(e,t)=>{Ki.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qu(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Hm({...t,checks:[],...N(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Hm({...t,checks:[],...N(r),entries:i})}}),Um=y(`ZodLiteral`,(e,t)=>{qi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$u(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,\"value\",{get(){if(t.values.length>1)throw Error(\"This schema contains multiple valid literal values. Use `.values` instead.\");return t.values[0]}})}),Wm=y(`ZodFile`,(e,t)=>{Ji.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>nd(e,t,n,r),e.min=(t,n)=>e.check(Al(t,n)),e.max=(t,n)=>e.check(kl(t,n)),e.mime=(t,n)=>e.check(Hl(Array.isArray(t)?t:[t],n))}),Gm=y(`ZodTransform`,(e,t)=>{Yi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>od(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new T(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Be(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(Be(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}}),Km=y(`ZodOptional`,(e,t)=>{Xi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),qm=y(`ZodExactOptional`,(e,t)=>{Zi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Jm=y(`ZodNullable`,(e,t)=>{Qi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Ym=y(`ZodDefault`,(e,t)=>{$i.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_d(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),Xm=y(`ZodPrefault`,(e,t)=>{ea.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Zm=y(`ZodNonOptional`,(e,t)=>{ta.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Qm=y(`ZodSuccess`,(e,t)=>{na.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>rd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),$m=y(`ZodCatch`,(e,t)=>{ra.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),eh=y(`ZodNaN`,(e,t)=>{ia.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ed(e,t,n,r)}),th=y(`ZodPipe`,(e,t)=>{aa.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bd(e,t,n,r),e.in=t.in,e.out=t.out}),nh=y(`ZodCodec`,(e,t)=>{th.init(e,t),oa.init(e,t)}),rh=y(`ZodPreprocess`,(e,t)=>{th.init(e,t),sa.init(e,t)}),ih=y(`ZodReadonly`,(e,t)=>{ca.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),ah=y(`ZodTemplateLiteral`,(e,t)=>{la.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>td(e,t,n,r)}),oh=y(`ZodLazy`,(e,t)=>{fa.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wd(e,t,n,r),e.unwrap=()=>e._zod.def.getter()}),sh=y(`ZodPromise`,(e,t)=>{da.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),ch=y(`ZodFunction`,(e,t)=>{ua.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ad(e,t,n,r)}),lh=y(`ZodCustom`,(e,t)=>{pa.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>id(e,t,n,r)}),uh=wu,dh=Tu,fh=(...e)=>Eu({Codec:nh,Boolean:xm,String:Xp},...e)}));function mh(e){b({customError:e})}function hh(){return b().customError}var gh,_h,vh=o((()=>{Md(),gh={invalid_type:`invalid_type`,too_big:`too_big`,too_small:`too_small`,invalid_format:`invalid_format`,not_multiple_of:`not_multiple_of`,unrecognized_keys:`unrecognized_keys`,invalid_union:`invalid_union`,invalid_key:`invalid_key`,invalid_element:`invalid_element`,invalid_value:`invalid_value`,custom:`custom`},_h||={}}));function yh(e,t){let n=e.$schema;return n===`https://json-schema.org/draft/2020-12/schema`?`draft-2020-12`:n===`http://json-schema.org/draft-07/schema#`?`draft-7`:n===`http://json-schema.org/draft-04/schema#`?`draft-4`:t??`draft-2020-12`}function bh(e,t){if(!e.startsWith(`#`))throw Error(`External $ref is not supported, only local refs (#/...) are allowed`);let n=e.slice(1).split(`/`).filter(Boolean);if(n.length===0)return t.rootSchema;let r=t.version===`draft-2020-12`?`$defs`:`definitions`;if(n[0]===r){let r=n[1];if(!r||!t.defs[r])throw Error(`Reference not found: ${e}`);return t.defs[r]}throw Error(`Reference not found: ${e}`)}function xh(e,t){if(e.not!==void 0){if(typeof e.not==`object`&&Object.keys(e.not).length===0)return K.never();throw Error(`not is not supported in Zod (except { not: {} } for never)`)}if(e.unevaluatedItems!==void 0)throw Error(`unevaluatedItems is not supported`);if(e.unevaluatedProperties!==void 0)throw Error(`unevaluatedProperties is not supported`);if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw Error(`Conditional schemas (if/then/else) are not supported`);if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw Error(`dependentSchemas and dependentRequired are not supported`);if(e.$ref){let n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return K.lazy(()=>{if(!t.refs.has(n))throw Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);let r=Sh(bh(n,t),t);return t.refs.set(n,r),t.processing.delete(n),r}if(e.enum!==void 0){let n=e.enum;if(t.version===`openapi-3.0`&&e.nullable===!0&&n.length===1&&n[0]===null)return K.null();if(n.length===0)return K.never();if(n.length===1)return K.literal(n[0]);if(n.every(e=>typeof e==`string`))return K.enum(n);let r=n.map(e=>K.literal(e));return r.length<2?r[0]:K.union([r[0],r[1],...r.slice(2)])}if(e.const!==void 0)return K.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(n=>xh({...e,type:n},t));return r.length===0?K.never():r.length===1?r[0]:K.union(r)}if(!n)return K.any();let r;switch(n){case`string`:{let t=K.string();if(e.format){let n=e.format;n===`email`?t=t.check(K.email()):n===`uri`||n===`uri-reference`?t=t.check(K.url()):n===`uuid`||n===`guid`?t=t.check(K.uuid()):n===`date-time`?t=t.check(K.iso.datetime()):n===`date`?t=t.check(K.iso.date()):n===`time`?t=t.check(K.iso.time()):n===`duration`?t=t.check(K.iso.duration()):n===`ipv4`?t=t.check(K.ipv4()):n===`ipv6`?t=t.check(K.ipv6()):n===`mac`?t=t.check(K.mac()):n===`cidr`?t=t.check(K.cidrv4()):n===`cidr-v6`?t=t.check(K.cidrv6()):n===`base64`?t=t.check(K.base64()):n===`base64url`?t=t.check(K.base64url()):n===`e164`?t=t.check(K.e164()):n===`jwt`?t=t.check(K.jwt()):n===`emoji`?t=t.check(K.emoji()):n===`nanoid`?t=t.check(K.nanoid()):n===`cuid`?t=t.check(K.cuid()):n===`cuid2`?t=t.check(K.cuid2()):n===`ulid`?t=t.check(K.ulid()):n===`xid`?t=t.check(K.xid()):n===`ksuid`&&(t=t.check(K.ksuid()))}typeof e.minLength==`number`&&(t=t.min(e.minLength)),typeof e.maxLength==`number`&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),r=t;break}case`number`:case`integer`:{let t=n===`integer`?K.number().int():K.number();typeof e.minimum==`number`&&(t=t.min(e.minimum)),typeof e.maximum==`number`&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum==`number`?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum==`number`&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum==`number`?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum==`number`&&(t=t.lt(e.maximum)),typeof e.multipleOf==`number`&&(t=t.multipleOf(e.multipleOf)),r=t;break}case`boolean`:r=K.boolean();break;case`null`:r=K.null();break;case`object`:{let n={},i=e.properties||{},a=new Set(e.required||[]);for(let[e,r]of Object.entries(i)){let i=Sh(r,t);n[e]=a.has(e)?i:i.optional()}if(e.propertyNames){let i=Sh(e.propertyNames,t),a=e.additionalProperties&&typeof e.additionalProperties==`object`?Sh(e.additionalProperties,t):K.any();if(Object.keys(n).length===0){r=K.record(i,a);break}let o=K.object(n).passthrough(),s=K.looseRecord(i,a);r=K.intersection(o,s);break}if(e.patternProperties){let i=e.patternProperties,a=Object.keys(i),o=[];for(let e of a){let n=Sh(i[e],t),r=K.string().regex(new RegExp(e));o.push(K.looseRecord(r,n))}let s=[];if(Object.keys(n).length>0&&s.push(K.object(n).passthrough()),s.push(...o),s.length===0)r=K.object({}).passthrough();else if(s.length===1)r=s[0];else{let e=K.intersection(s[0],s[1]);for(let t=2;t<s.length;t++)e=K.intersection(e,s[t]);r=e}break}let o=K.object(n);r=e.additionalProperties===!1?o.strict():typeof e.additionalProperties==`object`?o.catchall(Sh(e.additionalProperties,t)):o.passthrough();break}case`array`:{let n=e.prefixItems,i=e.items;if(n&&Array.isArray(n)){let a=n.map(e=>Sh(e,t)),o=i&&typeof i==`object`&&!Array.isArray(i)?Sh(i,t):void 0;r=o?K.tuple(a).rest(o):K.tuple(a),typeof e.minItems==`number`&&(r=r.check(K.minLength(e.minItems))),typeof e.maxItems==`number`&&(r=r.check(K.maxLength(e.maxItems)))}else if(Array.isArray(i)){let n=i.map(e=>Sh(e,t)),a=e.additionalItems&&typeof e.additionalItems==`object`?Sh(e.additionalItems,t):void 0;r=a?K.tuple(n).rest(a):K.tuple(n),typeof e.minItems==`number`&&(r=r.check(K.minLength(e.minItems))),typeof e.maxItems==`number`&&(r=r.check(K.maxLength(e.maxItems)))}else if(i!==void 0){let n=Sh(i,t),a=K.array(n);typeof e.minItems==`number`&&(a=a.min(e.minItems)),typeof e.maxItems==`number`&&(a=a.max(e.maxItems)),r=a}else r=K.array(K.any());break}default:throw Error(`Unsupported type: ${n}`)}return r}function Sh(e,t){if(typeof e==`boolean`)return e?K.any():K.never();let n=xh(e,t),r=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let i=e.anyOf.map(e=>Sh(e,t)),a=K.union(i);n=r?K.intersection(n,a):a}if(e.oneOf&&Array.isArray(e.oneOf)){let i=e.oneOf.map(e=>Sh(e,t)),a=K.xor(i);n=r?K.intersection(n,a):a}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=r?n:K.any();else{let i=r?n:Sh(e.allOf[0],t),a=+!r;for(let n=a;n<e.allOf.length;n++)i=K.intersection(i,Sh(e.allOf[n],t));n=i}e.nullable===!0&&t.version===`openapi-3.0`&&(n=K.nullable(n)),e.readOnly===!0&&(n=K.readonly(n)),e.default!==void 0&&(n=n.default(e.default));let i={};for(let t of[`$id`,`id`,`$comment`,`$anchor`,`$vocabulary`,`$dynamicRef`,`$dynamicAnchor`])t in e&&(i[t]=e[t]);for(let t of[`contentEncoding`,`contentMediaType`,`contentSchema`])t in e&&(i[t]=e[t]);for(let t of Object.keys(e))wh.has(t)||(i[t]=e[t]);return Object.keys(i).length>0&&t.registry.add(n,i),e.description&&(n=n.describe(e.description)),n}function Ch(e,t){if(typeof e==`boolean`)return e?K.any():K.never();let n;try{n=JSON.parse(JSON.stringify(e))}catch{throw Error(`fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas`)}let r={version:yh(n,t?.defaultTarget),defs:n.$defs||n.definitions||{},refs:new Map,processing:new Set,rootSchema:n,registry:t?.registry??xc};return Sh(n,r)}var K,wh,tee=o((()=>{Sc(),Rd(),Jd(),ph(),K={...pf,...Ld,iso:zd},wh=new Set(`$schema.$ref.$defs.definitions.$id.id.$comment.$anchor.$vocabulary.$dynamicRef.$dynamicAnchor.type.enum.const.anyOf.oneOf.allOf.not.properties.required.additionalProperties.patternProperties.propertyNames.minProperties.maxProperties.items.prefixItems.additionalItems.minItems.maxItems.uniqueItems.contains.minContains.maxContains.minLength.maxLength.pattern.format.minimum.maximum.exclusiveMinimum.exclusiveMaximum.multipleOf.description.default.contentEncoding.contentMediaType.contentSchema.unevaluatedItems.unevaluatedProperties.if.then.else.dependentSchemas.dependentRequired.nullable.readOnly`.split(`.`))})),Th=c({bigint:()=>aee,boolean:()=>iee,date:()=>oee,number:()=>ree,string:()=>nee});function nee(e){return wc(Xp,e)}function ree(e){return Qc(ym,e)}function iee(e){return al(xm,e)}function aee(e){return sl(Sm,e)}function oee(e){return vl(jm,e)}var see=o((()=>{Md(),ph()})),Eh=c({$brand:()=>C,$input:()=>yc,$output:()=>vc,NEVER:()=>S,TimePrecision:()=>Ou,ZodAny:()=>Dm,ZodArray:()=>Mm,ZodBase64:()=>mm,ZodBase64URL:()=>hm,ZodBigInt:()=>Sm,ZodBigIntFormat:()=>Cm,ZodBoolean:()=>xm,ZodCIDRv4:()=>fm,ZodCIDRv6:()=>pm,ZodCUID:()=>im,ZodCUID2:()=>am,ZodCatch:()=>$m,ZodCodec:()=>nh,ZodCustom:()=>lh,ZodCustomStringFormat:()=>vm,ZodDate:()=>jm,ZodDefault:()=>Ym,ZodDiscriminatedUnion:()=>Im,ZodE164:()=>gm,ZodEmail:()=>Qp,ZodEmoji:()=>nm,ZodEnum:()=>Hm,ZodError:()=>Xd,ZodExactOptional:()=>qm,ZodFile:()=>Wm,ZodFirstPartyTypeKind:()=>_h,ZodFunction:()=>ch,ZodGUID:()=>$p,ZodIPv4:()=>lm,ZodIPv6:()=>dm,ZodISODate:()=>Gd,ZodISODateTime:()=>Wd,ZodISODuration:()=>qd,ZodISOTime:()=>Kd,ZodIntersection:()=>Lm,ZodIssueCode:()=>gh,ZodJWT:()=>_m,ZodKSUID:()=>cm,ZodLazy:()=>oh,ZodLiteral:()=>Um,ZodMAC:()=>um,ZodMap:()=>Bm,ZodNaN:()=>eh,ZodNanoID:()=>rm,ZodNever:()=>km,ZodNonOptional:()=>Zm,ZodNull:()=>Em,ZodNullable:()=>Jm,ZodNumber:()=>ym,ZodNumberFormat:()=>bm,ZodObject:()=>Nm,ZodOptional:()=>Km,ZodPipe:()=>th,ZodPrefault:()=>Xm,ZodPreprocess:()=>rh,ZodPromise:()=>sh,ZodReadonly:()=>ih,ZodRealError:()=>Zd,ZodRecord:()=>zm,ZodSet:()=>Vm,ZodString:()=>Xp,ZodStringFormat:()=>Zp,ZodSuccess:()=>Qm,ZodSymbol:()=>wm,ZodTemplateLiteral:()=>ah,ZodTransform:()=>Gm,ZodTuple:()=>Rm,ZodType:()=>Jp,ZodULID:()=>om,ZodURL:()=>tm,ZodUUID:()=>em,ZodUndefined:()=>Tm,ZodUnion:()=>Pm,ZodUnknown:()=>Om,ZodVoid:()=>Am,ZodXID:()=>sm,ZodXor:()=>Fm,_ZodString:()=>Yp,_default:()=>Ep,_function:()=>zp,any:()=>tp,array:()=>H,base64:()=>Ff,base64url:()=>If,bigint:()=>Yf,boolean:()=>Jf,catch:()=>Ap,check:()=>Bp,cidrv4:()=>Nf,cidrv6:()=>Pf,clone:()=>Ce,codec:()=>Np,coerce:()=>Th,config:()=>b,core:()=>jd,cuid:()=>Tf,cuid2:()=>Ef,custom:()=>Vp,date:()=>ap,decode:()=>af,decodeAsync:()=>sf,describe:()=>uh,discriminatedUnion:()=>up,e164:()=>Lf,email:()=>hf,emoji:()=>Cf,encode:()=>rf,encodeAsync:()=>of,endsWith:()=>Bl,enum:()=>vp,exactOptional:()=>Cp,file:()=>bp,flattenError:()=>rt,float32:()=>Wf,float64:()=>Gf,formatError:()=>it,fromJSONSchema:()=>Ch,function:()=>zp,getErrorMap:()=>hh,globalRegistry:()=>xc,gt:()=>Sl,gte:()=>Cl,guid:()=>gf,hash:()=>Hf,hex:()=>Vf,hostname:()=>Bf,httpUrl:()=>Sf,includes:()=>Rl,instanceof:()=>Wp,int:()=>Uf,int32:()=>Kf,int64:()=>Xf,intersection:()=>dp,invertCodec:()=>Pp,ipv4:()=>Af,ipv6:()=>Mf,iso:()=>zd,json:()=>Gp,jwt:()=>Rf,keyof:()=>op,ksuid:()=>kf,lazy:()=>Lp,length:()=>Pl,literal:()=>G,locales:()=>mc,looseObject:()=>cp,looseRecord:()=>hp,lowercase:()=>Il,lt:()=>bl,lte:()=>xl,mac:()=>jf,map:()=>gp,maxLength:()=>Ml,maxSize:()=>kl,meta:()=>dh,mime:()=>Hl,minLength:()=>Nl,minSize:()=>Al,multipleOf:()=>Ol,nan:()=>jp,nanoid:()=>wf,nativeEnum:()=>yp,negative:()=>Tl,never:()=>rp,nonnegative:()=>Dl,nonoptional:()=>Op,nonpositive:()=>El,normalize:()=>Wl,null:()=>ep,nullable:()=>wp,nullish:()=>Tp,number:()=>V,object:()=>U,optional:()=>Sp,overwrite:()=>Ul,parse:()=>$d,parseAsync:()=>ef,partialRecord:()=>mp,pipe:()=>Mp,positive:()=>wl,prefault:()=>Dp,preprocess:()=>Kp,prettifyError:()=>st,promise:()=>Rp,property:()=>Vl,readonly:()=>Fp,record:()=>pp,refine:()=>Hp,regex:()=>Fl,regexes:()=>Lt,registry:()=>gc,safeDecode:()=>lf,safeDecodeAsync:()=>df,safeEncode:()=>cf,safeEncodeAsync:()=>uf,safeParse:()=>tf,safeParseAsync:()=>nf,set:()=>_p,setErrorMap:()=>mh,size:()=>jl,slugify:()=>Jl,startsWith:()=>zl,strictObject:()=>sp,string:()=>B,stringFormat:()=>zf,stringbool:()=>fh,success:()=>kp,superRefine:()=>Up,symbol:()=>Qf,templateLiteral:()=>Ip,toJSONSchema:()=>Ru,toLowerCase:()=>Kl,toUpperCase:()=>ql,transform:()=>xp,treeifyError:()=>at,trim:()=>Gl,tuple:()=>fp,uint32:()=>qf,uint64:()=>Zf,ulid:()=>Df,undefined:()=>$f,union:()=>W,unknown:()=>np,uppercase:()=>Ll,url:()=>xf,util:()=>O,uuid:()=>_f,uuidv4:()=>vf,uuidv6:()=>yf,uuidv7:()=>bf,void:()=>ip,xid:()=>Of,xor:()=>lp}),Dh=o((()=>{Md(),ph(),Rd(),Qd(),ff(),vh(),Ga(),Ed(),tee(),hc(),Jd(),see(),b(Ua())})),Oh,kh=o((()=>{Dh(),Dh(),Oh=Eh})),Ah=c({$brand:()=>C,$input:()=>yc,$output:()=>vc,NEVER:()=>S,TimePrecision:()=>Ou,ZodAny:()=>Dm,ZodArray:()=>Mm,ZodBase64:()=>mm,ZodBase64URL:()=>hm,ZodBigInt:()=>Sm,ZodBigIntFormat:()=>Cm,ZodBoolean:()=>xm,ZodCIDRv4:()=>fm,ZodCIDRv6:()=>pm,ZodCUID:()=>im,ZodCUID2:()=>am,ZodCatch:()=>$m,ZodCodec:()=>nh,ZodCustom:()=>lh,ZodCustomStringFormat:()=>vm,ZodDate:()=>jm,ZodDefault:()=>Ym,ZodDiscriminatedUnion:()=>Im,ZodE164:()=>gm,ZodEmail:()=>Qp,ZodEmoji:()=>nm,ZodEnum:()=>Hm,ZodError:()=>Xd,ZodExactOptional:()=>qm,ZodFile:()=>Wm,ZodFirstPartyTypeKind:()=>_h,ZodFunction:()=>ch,ZodGUID:()=>$p,ZodIPv4:()=>lm,ZodIPv6:()=>dm,ZodISODate:()=>Gd,ZodISODateTime:()=>Wd,ZodISODuration:()=>qd,ZodISOTime:()=>Kd,ZodIntersection:()=>Lm,ZodIssueCode:()=>gh,ZodJWT:()=>_m,ZodKSUID:()=>cm,ZodLazy:()=>oh,ZodLiteral:()=>Um,ZodMAC:()=>um,ZodMap:()=>Bm,ZodNaN:()=>eh,ZodNanoID:()=>rm,ZodNever:()=>km,ZodNonOptional:()=>Zm,ZodNull:()=>Em,ZodNullable:()=>Jm,ZodNumber:()=>ym,ZodNumberFormat:()=>bm,ZodObject:()=>Nm,ZodOptional:()=>Km,ZodPipe:()=>th,ZodPrefault:()=>Xm,ZodPreprocess:()=>rh,ZodPromise:()=>sh,ZodReadonly:()=>ih,ZodRealError:()=>Zd,ZodRecord:()=>zm,ZodSet:()=>Vm,ZodString:()=>Xp,ZodStringFormat:()=>Zp,ZodSuccess:()=>Qm,ZodSymbol:()=>wm,ZodTemplateLiteral:()=>ah,ZodTransform:()=>Gm,ZodTuple:()=>Rm,ZodType:()=>Jp,ZodULID:()=>om,ZodURL:()=>tm,ZodUUID:()=>em,ZodUndefined:()=>Tm,ZodUnion:()=>Pm,ZodUnknown:()=>Om,ZodVoid:()=>Am,ZodXID:()=>sm,ZodXor:()=>Fm,_ZodString:()=>Yp,_default:()=>Ep,_function:()=>zp,any:()=>tp,array:()=>H,base64:()=>Ff,base64url:()=>If,bigint:()=>Yf,boolean:()=>Jf,catch:()=>Ap,check:()=>Bp,cidrv4:()=>Nf,cidrv6:()=>Pf,clone:()=>Ce,codec:()=>Np,coerce:()=>Th,config:()=>b,core:()=>jd,cuid:()=>Tf,cuid2:()=>Ef,custom:()=>Vp,date:()=>ap,decode:()=>af,decodeAsync:()=>sf,default:()=>jh,describe:()=>uh,discriminatedUnion:()=>up,e164:()=>Lf,email:()=>hf,emoji:()=>Cf,encode:()=>rf,encodeAsync:()=>of,endsWith:()=>Bl,enum:()=>vp,exactOptional:()=>Cp,file:()=>bp,flattenError:()=>rt,float32:()=>Wf,float64:()=>Gf,formatError:()=>it,fromJSONSchema:()=>Ch,function:()=>zp,getErrorMap:()=>hh,globalRegistry:()=>xc,gt:()=>Sl,gte:()=>Cl,guid:()=>gf,hash:()=>Hf,hex:()=>Vf,hostname:()=>Bf,httpUrl:()=>Sf,includes:()=>Rl,instanceof:()=>Wp,int:()=>Uf,int32:()=>Kf,int64:()=>Xf,intersection:()=>dp,invertCodec:()=>Pp,ipv4:()=>Af,ipv6:()=>Mf,iso:()=>zd,json:()=>Gp,jwt:()=>Rf,keyof:()=>op,ksuid:()=>kf,lazy:()=>Lp,length:()=>Pl,literal:()=>G,locales:()=>mc,looseObject:()=>cp,looseRecord:()=>hp,lowercase:()=>Il,lt:()=>bl,lte:()=>xl,mac:()=>jf,map:()=>gp,maxLength:()=>Ml,maxSize:()=>kl,meta:()=>dh,mime:()=>Hl,minLength:()=>Nl,minSize:()=>Al,multipleOf:()=>Ol,nan:()=>jp,nanoid:()=>wf,nativeEnum:()=>yp,negative:()=>Tl,never:()=>rp,nonnegative:()=>Dl,nonoptional:()=>Op,nonpositive:()=>El,normalize:()=>Wl,null:()=>ep,nullable:()=>wp,nullish:()=>Tp,number:()=>V,object:()=>U,optional:()=>Sp,overwrite:()=>Ul,parse:()=>$d,parseAsync:()=>ef,partialRecord:()=>mp,pipe:()=>Mp,positive:()=>wl,prefault:()=>Dp,preprocess:()=>Kp,prettifyError:()=>st,promise:()=>Rp,property:()=>Vl,readonly:()=>Fp,record:()=>pp,refine:()=>Hp,regex:()=>Fl,regexes:()=>Lt,registry:()=>gc,safeDecode:()=>lf,safeDecodeAsync:()=>df,safeEncode:()=>cf,safeEncodeAsync:()=>uf,safeParse:()=>tf,safeParseAsync:()=>nf,set:()=>_p,setErrorMap:()=>mh,size:()=>jl,slugify:()=>Jl,startsWith:()=>zl,strictObject:()=>sp,string:()=>B,stringFormat:()=>zf,stringbool:()=>fh,success:()=>kp,superRefine:()=>Up,symbol:()=>Qf,templateLiteral:()=>Ip,toJSONSchema:()=>Ru,toLowerCase:()=>Kl,toUpperCase:()=>ql,transform:()=>xp,treeifyError:()=>at,trim:()=>Gl,tuple:()=>fp,uint32:()=>qf,uint64:()=>Zf,ulid:()=>Df,undefined:()=>$f,union:()=>W,unknown:()=>np,uppercase:()=>Ll,url:()=>xf,util:()=>O,uuid:()=>_f,uuidv4:()=>vf,uuidv6:()=>yf,uuidv7:()=>bf,void:()=>ip,xid:()=>Of,xor:()=>lp,z:()=>Eh}),jh,Mh=o((()=>{kh(),kh(),jh=Oh}));Mh();var Nh=`io.modelcontextprotocol/related-task`,Ph=Vp(e=>e!==null&&(typeof e==`object`||typeof e==`function`)),Fh=W([B(),V().int()]),Ih=B();cp({ttl:V().optional(),pollInterval:V().optional()});var Lh=U({ttl:V().optional()}),Rh=U({taskId:B()}),zh=cp({progressToken:Fh.optional(),[Nh]:Rh.optional()}),Bh=U({_meta:zh.optional()}),Vh=Bh.extend({task:Lh.optional()}),cee=e=>Vh.safeParse(e).success,Hh=U({method:B(),params:Bh.loose().optional()}),Uh=U({_meta:zh.optional()}),Wh=U({method:B(),params:Uh.loose().optional()}),Gh=cp({_meta:zh.optional()}),Kh=W([B(),V().int()]),qh=U({jsonrpc:G(`2.0`),id:Kh,...Hh.shape}).strict(),Jh=e=>qh.safeParse(e).success,Yh=U({jsonrpc:G(`2.0`),...Wh.shape}).strict(),Xh=e=>Yh.safeParse(e).success,Zh=U({jsonrpc:G(`2.0`),id:Kh,result:Gh}).strict(),Qh=e=>Zh.safeParse(e).success,$h;(function(e){e[e.ConnectionClosed=-32e3]=`ConnectionClosed`,e[e.RequestTimeout=-32001]=`RequestTimeout`,e[e.ParseError=-32700]=`ParseError`,e[e.InvalidRequest=-32600]=`InvalidRequest`,e[e.MethodNotFound=-32601]=`MethodNotFound`,e[e.InvalidParams=-32602]=`InvalidParams`,e[e.InternalError=-32603]=`InternalError`,e[e.UrlElicitationRequired=-32042]=`UrlElicitationRequired`})($h||={});var eg=U({jsonrpc:G(`2.0`),id:Kh.optional(),error:U({code:V().int(),message:B(),data:np().optional()})}).strict(),tg=e=>eg.safeParse(e).success,ng=W([qh,Yh,Zh,eg]);W([Zh,eg]);var rg=Gh.strict(),ig=Uh.extend({requestId:Kh.optional(),reason:B().optional()}),ag=Wh.extend({method:G(`notifications/cancelled`),params:ig}),og=U({icons:H(U({src:B(),mimeType:B().optional(),sizes:H(B()).optional(),theme:vp([`light`,`dark`]).optional()})).optional()}),sg=U({name:B(),title:B().optional()}),cg=sg.extend({...sg.shape,...og.shape,version:B(),websiteUrl:B().optional(),description:B().optional()}),lg=Kp(e=>e&&typeof e==`object`&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,dp(U({form:dp(U({applyDefaults:Jf().optional()}),pp(B(),np())).optional(),url:Ph.optional()}),pp(B(),np()).optional())),ug=cp({list:Ph.optional(),cancel:Ph.optional(),requests:cp({sampling:cp({createMessage:Ph.optional()}).optional(),elicitation:cp({create:Ph.optional()}).optional()}).optional()}),dg=cp({list:Ph.optional(),cancel:Ph.optional(),requests:cp({tools:cp({call:Ph.optional()}).optional()}).optional()}),fg=U({experimental:pp(B(),Ph).optional(),sampling:U({context:Ph.optional(),tools:Ph.optional()}).optional(),elicitation:lg.optional(),roots:U({listChanged:Jf().optional()}).optional(),tasks:ug.optional(),extensions:pp(B(),Ph).optional()}),pg=Bh.extend({protocolVersion:B(),capabilities:fg,clientInfo:cg}),mg=Hh.extend({method:G(`initialize`),params:pg}),hg=U({experimental:pp(B(),Ph).optional(),logging:Ph.optional(),completions:Ph.optional(),prompts:U({listChanged:Jf().optional()}).optional(),resources:U({subscribe:Jf().optional(),listChanged:Jf().optional()}).optional(),tools:U({listChanged:Jf().optional()}).optional(),tasks:dg.optional(),extensions:pp(B(),Ph).optional()}),gg=Gh.extend({protocolVersion:B(),capabilities:hg,serverInfo:cg,instructions:B().optional()}),_g=Wh.extend({method:G(`notifications/initialized`),params:Uh.optional()}),vg=Hh.extend({method:G(`ping`),params:Bh.optional()}),yg=U({progress:V(),total:Sp(V()),message:Sp(B())}),lee=U({...Uh.shape,...yg.shape,progressToken:Fh}),bg=Wh.extend({method:G(`notifications/progress`),params:lee}),uee=Bh.extend({cursor:Ih.optional()}),xg=Hh.extend({params:uee.optional()}),Sg=Gh.extend({nextCursor:Ih.optional()}),dee=vp([`working`,`input_required`,`completed`,`failed`,`cancelled`]),Cg=U({taskId:B(),status:dee,ttl:W([V(),ep()]),createdAt:B(),lastUpdatedAt:B(),pollInterval:Sp(V()),statusMessage:Sp(B())}),wg=Gh.extend({task:Cg}),fee=Uh.merge(Cg),Tg=Wh.extend({method:G(`notifications/tasks/status`),params:fee}),Eg=Hh.extend({method:G(`tasks/get`),params:Bh.extend({taskId:B()})}),Dg=Gh.merge(Cg),Og=Hh.extend({method:G(`tasks/result`),params:Bh.extend({taskId:B()})});Gh.loose();var kg=xg.extend({method:G(`tasks/list`)}),Ag=Sg.extend({tasks:H(Cg)}),jg=Hh.extend({method:G(`tasks/cancel`),params:Bh.extend({taskId:B()})}),Mg=Gh.merge(Cg),Ng=U({uri:B(),mimeType:Sp(B()),_meta:pp(B(),np()).optional()}),Pg=Ng.extend({text:B()}),Fg=B().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:`Invalid Base64 string`}),Ig=Ng.extend({blob:Fg}),Lg=vp([`user`,`assistant`]),Rg=U({audience:H(Lg).optional(),priority:V().min(0).max(1).optional(),lastModified:Bd({offset:!0}).optional()}),zg=U({...sg.shape,...og.shape,uri:B(),description:Sp(B()),mimeType:Sp(B()),size:Sp(V()),annotations:Rg.optional(),_meta:Sp(cp({}))}),Bg=U({...sg.shape,...og.shape,uriTemplate:B(),description:Sp(B()),mimeType:Sp(B()),annotations:Rg.optional(),_meta:Sp(cp({}))}),Vg=xg.extend({method:G(`resources/list`)}),Hg=Sg.extend({resources:H(zg)}),Ug=xg.extend({method:G(`resources/templates/list`)}),Wg=Sg.extend({resourceTemplates:H(Bg)}),Gg=Bh.extend({uri:B()}),Kg=Gg,qg=Hh.extend({method:G(`resources/read`),params:Kg}),Jg=Gh.extend({contents:H(W([Pg,Ig]))}),Yg=Wh.extend({method:G(`notifications/resources/list_changed`),params:Uh.optional()}),Xg=Gg,Zg=Hh.extend({method:G(`resources/subscribe`),params:Xg}),Qg=Gg,$g=Hh.extend({method:G(`resources/unsubscribe`),params:Qg}),e_=Uh.extend({uri:B()}),t_=Wh.extend({method:G(`notifications/resources/updated`),params:e_}),n_=U({name:B(),description:Sp(B()),required:Sp(Jf())}),r_=U({...sg.shape,...og.shape,description:Sp(B()),arguments:Sp(H(n_)),_meta:Sp(cp({}))}),i_=xg.extend({method:G(`prompts/list`)}),a_=Sg.extend({prompts:H(r_)}),o_=Bh.extend({name:B(),arguments:pp(B(),B()).optional()}),s_=Hh.extend({method:G(`prompts/get`),params:o_}),c_=U({type:G(`text`),text:B(),annotations:Rg.optional(),_meta:pp(B(),np()).optional()}),l_=U({type:G(`image`),data:Fg,mimeType:B(),annotations:Rg.optional(),_meta:pp(B(),np()).optional()}),u_=U({type:G(`audio`),data:Fg,mimeType:B(),annotations:Rg.optional(),_meta:pp(B(),np()).optional()}),d_=U({type:G(`tool_use`),name:B(),id:B(),input:pp(B(),np()),_meta:pp(B(),np()).optional()}),f_=U({type:G(`resource`),resource:W([Pg,Ig]),annotations:Rg.optional(),_meta:pp(B(),np()).optional()}),p_=zg.extend({type:G(`resource_link`)}),m_=W([c_,l_,u_,p_,f_]),h_=U({role:Lg,content:m_}),g_=Gh.extend({description:B().optional(),messages:H(h_)}),__=Wh.extend({method:G(`notifications/prompts/list_changed`),params:Uh.optional()}),v_=U({title:B().optional(),readOnlyHint:Jf().optional(),destructiveHint:Jf().optional(),idempotentHint:Jf().optional(),openWorldHint:Jf().optional()}),y_=U({taskSupport:vp([`required`,`optional`,`forbidden`]).optional()}),b_=U({...sg.shape,...og.shape,description:B().optional(),inputSchema:U({type:G(`object`),properties:pp(B(),Ph).optional(),required:H(B()).optional()}).catchall(np()),outputSchema:U({type:G(`object`),properties:pp(B(),Ph).optional(),required:H(B()).optional()}).catchall(np()).optional(),annotations:v_.optional(),execution:y_.optional(),_meta:pp(B(),np()).optional()}),x_=xg.extend({method:G(`tools/list`)}),S_=Sg.extend({tools:H(b_)}),C_=Gh.extend({content:H(m_).default([]),structuredContent:pp(B(),np()).optional(),isError:Jf().optional()});C_.or(Gh.extend({toolResult:np()}));var w_=Vh.extend({name:B(),arguments:pp(B(),np()).optional()}),T_=Hh.extend({method:G(`tools/call`),params:w_}),E_=Wh.extend({method:G(`notifications/tools/list_changed`),params:Uh.optional()});U({autoRefresh:Jf().default(!0),debounceMs:V().int().nonnegative().default(300)});var D_=vp([`debug`,`info`,`notice`,`warning`,`error`,`critical`,`alert`,`emergency`]),O_=Bh.extend({level:D_}),k_=Hh.extend({method:G(`logging/setLevel`),params:O_}),A_=Uh.extend({level:D_,logger:B().optional(),data:np()}),j_=Wh.extend({method:G(`notifications/message`),params:A_}),M_=U({hints:H(U({name:B().optional()})).optional(),costPriority:V().min(0).max(1).optional(),speedPriority:V().min(0).max(1).optional(),intelligencePriority:V().min(0).max(1).optional()}),N_=U({mode:vp([`auto`,`required`,`none`]).optional()}),P_=U({type:G(`tool_result`),toolUseId:B().describe(`The unique identifier for the corresponding tool call.`),content:H(m_).default([]),structuredContent:U({}).loose().optional(),isError:Jf().optional(),_meta:pp(B(),np()).optional()}),F_=up(`type`,[c_,l_,u_]),I_=up(`type`,[c_,l_,u_,d_,P_]),L_=U({role:Lg,content:W([I_,H(I_)]),_meta:pp(B(),np()).optional()}),R_=Vh.extend({messages:H(L_),modelPreferences:M_.optional(),systemPrompt:B().optional(),includeContext:vp([`none`,`thisServer`,`allServers`]).optional(),temperature:V().optional(),maxTokens:V().int(),stopSequences:H(B()).optional(),metadata:Ph.optional(),tools:H(b_).optional(),toolChoice:N_.optional()}),z_=Hh.extend({method:G(`sampling/createMessage`),params:R_}),B_=Gh.extend({model:B(),stopReason:Sp(vp([`endTurn`,`stopSequence`,`maxTokens`]).or(B())),role:Lg,content:F_}),V_=Gh.extend({model:B(),stopReason:Sp(vp([`endTurn`,`stopSequence`,`maxTokens`,`toolUse`]).or(B())),role:Lg,content:W([I_,H(I_)])}),H_=U({type:G(`boolean`),title:B().optional(),description:B().optional(),default:Jf().optional()}),U_=U({type:G(`string`),title:B().optional(),description:B().optional(),minLength:V().optional(),maxLength:V().optional(),format:vp([`email`,`uri`,`date`,`date-time`]).optional(),default:B().optional()}),W_=U({type:vp([`number`,`integer`]),title:B().optional(),description:B().optional(),minimum:V().optional(),maximum:V().optional(),default:V().optional()}),G_=U({type:G(`string`),title:B().optional(),description:B().optional(),enum:H(B()),default:B().optional()}),K_=U({type:G(`string`),title:B().optional(),description:B().optional(),oneOf:H(U({const:B(),title:B()})),default:B().optional()}),q_=W([W([U({type:G(`string`),title:B().optional(),description:B().optional(),enum:H(B()),enumNames:H(B()).optional(),default:B().optional()}),W([G_,K_]),W([U({type:G(`array`),title:B().optional(),description:B().optional(),minItems:V().optional(),maxItems:V().optional(),items:U({type:G(`string`),enum:H(B())}),default:H(B()).optional()}),U({type:G(`array`),title:B().optional(),description:B().optional(),minItems:V().optional(),maxItems:V().optional(),items:U({anyOf:H(U({const:B(),title:B()}))}),default:H(B()).optional()})])]),H_,U_,W_]),J_=W([Vh.extend({mode:G(`form`).optional(),message:B(),requestedSchema:U({type:G(`object`),properties:pp(B(),q_),required:H(B()).optional()})}),Vh.extend({mode:G(`url`),message:B(),elicitationId:B(),url:B().url()})]),Y_=Hh.extend({method:G(`elicitation/create`),params:J_}),X_=Uh.extend({elicitationId:B()}),Z_=Wh.extend({method:G(`notifications/elicitation/complete`),params:X_}),pee=Gh.extend({action:vp([`accept`,`decline`,`cancel`]),content:Kp(e=>e===null?void 0:e,pp(B(),W([B(),V(),Jf(),H(B())])).optional())}),mee=U({type:G(`ref/resource`),uri:B()}),hee=U({type:G(`ref/prompt`),name:B()}),gee=Bh.extend({ref:W([hee,mee]),argument:U({name:B(),value:B()}),context:U({arguments:pp(B(),B()).optional()}).optional()}),_ee=Hh.extend({method:G(`completion/complete`),params:gee}),vee=Gh.extend({completion:cp({values:H(B()).max(100),total:Sp(V().int()),hasMore:Sp(Jf())})}),yee=U({uri:B().startsWith(`file://`),name:B().optional(),_meta:pp(B(),np()).optional()}),bee=Hh.extend({method:G(`roots/list`),params:Bh.optional()}),xee=Gh.extend({roots:H(yee)}),See=Wh.extend({method:G(`notifications/roots/list_changed`),params:Uh.optional()});W([vg,mg,_ee,k_,s_,i_,Vg,Ug,qg,Zg,$g,T_,x_,Eg,Og,kg,jg]),W([ag,bg,_g,See,Tg]),W([rg,B_,V_,pee,xee,Dg,Ag,wg]),W([vg,z_,Y_,bee,Eg,Og,kg,jg]),W([ag,bg,j_,t_,Yg,E_,__,Tg,Z_]),W([rg,gg,vee,g_,a_,Hg,Wg,Jg,C_,S_,Dg,Ag,wg]);var Q_=class e extends Error{constructor(e,t,n){super(`MCP error ${e}: ${t}`),this.code=e,this.data=n,this.name=`McpError`}static fromError(t,n,r){if(t===$h.UrlElicitationRequired&&r){let e=r;if(e.elicitations)return new Cee(e.elicitations,n)}return new e(t,n,r)}},Cee=class extends Q_{constructor(e,t=`URL elicitation${e.length>1?`s`:``} required`){super($h.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function $_(e){return e===`completed`||e===`failed`||e===`cancelled`}function ev(e){let t=Fd(e)?.method;if(!t)throw Error(`Schema is missing a method literal`);let n=Id(t);if(typeof n!=`string`)throw Error(`Schema method literal must be a string`);return n}function tv(e,t){let n=Pd(e,t);if(!n.success)throw n.error;return n.data}var wee=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(ag,e=>{this._oncancel(e)}),this.setNotificationHandler(bg,e=>{this._onprogress(e)}),this.setRequestHandler(vg,e=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(Eg,async(e,t)=>{let n=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!n)throw new Q_($h.InvalidParams,`Failed to retrieve task: Task not found`);return{...n}}),this.setRequestHandler(Og,async(e,t)=>{let n=async()=>{let r=e.params.taskId;if(this._taskMessageQueue){let e;for(;e=await this._taskMessageQueue.dequeue(r,t.sessionId);){if(e.type===`response`||e.type===`error`){let t=e.message,n=t.id,r=this._requestResolvers.get(n);if(r)if(this._requestResolvers.delete(n),e.type===`response`)r(t);else{let e=t;r(new Q_(e.error.code,e.error.message,e.error.data))}else{let t=e.type===`response`?`Response`:`Error`;this._onerror(Error(`${t} handler missing for request ${n}`))}continue}await this._transport?.send(e.message,{relatedRequestId:t.requestId})}}let i=await this._taskStore.getTask(r,t.sessionId);if(!i)throw new Q_($h.InvalidParams,`Task not found: ${r}`);if(!$_(i.status))return await this._waitForTaskUpdate(r,t.signal),await n();if($_(i.status)){let e=await this._taskStore.getTaskResult(r,t.sessionId);return this._clearTaskQueue(r),{...e,_meta:{...e._meta,[Nh]:{taskId:r}}}}return await n()};return await n()}),this.setRequestHandler(kg,async(e,t)=>{try{let{tasks:n,nextCursor:r}=await this._taskStore.listTasks(e.params?.cursor,t.sessionId);return{tasks:n,nextCursor:r,_meta:{}}}catch(e){throw new Q_($h.InvalidParams,`Failed to list tasks: ${e instanceof Error?e.message:String(e)}`)}}),this.setRequestHandler(jg,async(e,t)=>{try{let n=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!n)throw new Q_($h.InvalidParams,`Task not found: ${e.params.taskId}`);if($_(n.status))throw new Q_($h.InvalidParams,`Cannot cancel task in terminal status: ${n.status}`);await this._taskStore.updateTaskStatus(e.params.taskId,`cancelled`,`Client cancelled task execution.`,t.sessionId),this._clearTaskQueue(e.params.taskId);let r=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!r)throw new Q_($h.InvalidParams,`Task not found after cancellation: ${e.params.taskId}`);return{_meta:{},...r}}catch(e){throw e instanceof Q_?e:new Q_($h.InvalidRequest,`Failed to cancel task: ${e instanceof Error?e.message:String(e)}`)}}))}async _oncancel(e){e.params.requestId&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,n,r,i=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(r,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:i,onTimeout:r})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),Q_.fromError($h.RequestTimeout,`Maximum total timeout exceeded`,{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){if(this._transport)throw Error(`Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.`);this._transport=e;let t=this.transport?.onclose;this._transport.onclose=()=>{t?.(),this._onclose()};let n=this.transport?.onerror;this._transport.onerror=e=>{n?.(e),this._onerror(e)};let r=this._transport?.onmessage;this._transport.onmessage=(e,t)=>{r?.(e,t),Qh(e)||tg(e)?this._onresponse(e):Jh(e)?this._onrequest(e,t):Xh(e)?this._onnotification(e):this._onerror(Error(`Unknown message type: ${JSON.stringify(e)}`))},await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let e of this._timeoutInfo.values())clearTimeout(e.timeoutId);this._timeoutInfo.clear();for(let e of this._requestHandlerAbortControllers.values())e.abort();this._requestHandlerAbortControllers.clear();let t=Q_.fromError($h.ConnectionClosed,`Connection closed`);this._transport=void 0,this.onclose?.();for(let n of e.values())n(t)}_onerror(e){this.onerror?.(e)}_onnotification(e){let t=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;t!==void 0&&Promise.resolve().then(()=>t(e)).catch(e=>this._onerror(Error(`Uncaught error in notification handler: ${e}`)))}_onrequest(e,t){let n=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,r=this._transport,i=e.params?._meta?.[Nh]?.taskId;if(n===void 0){let t={jsonrpc:`2.0`,id:e.id,error:{code:$h.MethodNotFound,message:`Method not found`}};i&&this._taskMessageQueue?this._enqueueTaskMessage(i,{type:`error`,message:t,timestamp:Date.now()},r?.sessionId).catch(e=>this._onerror(Error(`Failed to enqueue error response: ${e}`))):r?.send(t).catch(e=>this._onerror(Error(`Failed to send an error response: ${e}`)));return}let a=new AbortController;this._requestHandlerAbortControllers.set(e.id,a);let o=cee(e.params)?e.params.task:void 0,s=this._taskStore?this.requestTaskStore(e,r?.sessionId):void 0,c={signal:a.signal,sessionId:r?.sessionId,_meta:e.params?._meta,sendNotification:async t=>{if(a.signal.aborted)return;let n={relatedRequestId:e.id};i&&(n.relatedTask={taskId:i}),await this.notification(t,n)},sendRequest:async(t,n,r)=>{if(a.signal.aborted)throw new Q_($h.ConnectionClosed,`Request was cancelled`);let o={...r,relatedRequestId:e.id};i&&!o.relatedTask&&(o.relatedTask={taskId:i});let c=o.relatedTask?.taskId??i;return c&&s&&await s.updateTaskStatus(c,`input_required`),await this.request(t,n,o)},authInfo:t?.authInfo,requestId:e.id,requestInfo:t?.requestInfo,taskId:i,taskStore:s,taskRequestedTtl:o?.ttl,closeSSEStream:t?.closeSSEStream,closeStandaloneSSEStream:t?.closeStandaloneSSEStream};Promise.resolve().then(()=>{o&&this.assertTaskHandlerCapability(e.method)}).then(()=>n(e,c)).then(async t=>{if(a.signal.aborted)return;let n={result:t,jsonrpc:`2.0`,id:e.id};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:`response`,message:n,timestamp:Date.now()},r?.sessionId):await r?.send(n)},async t=>{if(a.signal.aborted)return;let n={jsonrpc:`2.0`,id:e.id,error:{code:Number.isSafeInteger(t.code)?t.code:$h.InternalError,message:t.message??`Internal error`,...t.data!==void 0&&{data:t.data}}};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:`error`,message:n,timestamp:Date.now()},r?.sessionId):await r?.send(n)}).catch(e=>this._onerror(Error(`Failed to send response: ${e}`))).finally(()=>{this._requestHandlerAbortControllers.get(e.id)===a&&this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,r=Number(t),i=this._progressHandlers.get(r);if(!i){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let a=this._responseHandlers.get(r),o=this._timeoutInfo.get(r);if(o&&a&&o.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(e){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),a(e);return}i(n)}_onresponse(e){let t=Number(e.id),n=this._requestResolvers.get(t);if(n){this._requestResolvers.delete(t),Qh(e)?n(e):n(new Q_(e.error.code,e.error.message,e.error.data));return}let r=this._responseHandlers.get(t);if(r===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t);let i=!1;if(Qh(e)&&e.result&&typeof e.result==`object`){let n=e.result;if(n.task&&typeof n.task==`object`){let e=n.task;typeof e.taskId==`string`&&(i=!0,this._taskProgressTokens.set(e.taskId,t))}}i||this._progressHandlers.delete(t),Qh(e)?r(e):r(Q_.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(e,t,n){let{task:r}=n??{};if(!r){try{yield{type:`result`,result:await this.request(e,t,n)}}catch(e){yield{type:`error`,error:e instanceof Q_?e:new Q_($h.InternalError,String(e))}}return}let i;try{let r=await this.request(e,wg,n);if(r.task)i=r.task.taskId,yield{type:`taskCreated`,task:r.task};else throw new Q_($h.InternalError,`Task creation did not return a task`);for(;;){let e=await this.getTask({taskId:i},n);if(yield{type:`taskStatus`,task:e},$_(e.status)){e.status===`completed`?yield{type:`result`,result:await this.getTaskResult({taskId:i},t,n)}:e.status===`failed`?yield{type:`error`,error:new Q_($h.InternalError,`Task ${i} failed`)}:e.status===`cancelled`&&(yield{type:`error`,error:new Q_($h.InternalError,`Task ${i} was cancelled`)});return}if(e.status===`input_required`){yield{type:`result`,result:await this.getTaskResult({taskId:i},t,n)};return}let r=e.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(e=>setTimeout(e,r)),n?.signal?.throwIfAborted()}}catch(e){yield{type:`error`,error:e instanceof Q_?e:new Q_($h.InternalError,String(e))}}}request(e,t,n){let{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a,task:o,relatedTask:s}=n??{};return new Promise((c,l)=>{let u=e=>{l(e)};if(!this._transport){u(Error(`Not connected`));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),o&&this.assertTaskCapability(e.method)}catch(e){u(e);return}n?.signal?.throwIfAborted();let d=this._requestMessageId++,f={...e,jsonrpc:`2.0`,id:d};n?.onprogress&&(this._progressHandlers.set(d,n.onprogress),f.params={...e.params,_meta:{...e.params?._meta||{},progressToken:d}}),o&&(f.params={...f.params,task:o}),s&&(f.params={...f.params,_meta:{...f.params?._meta||{},[Nh]:s}});let p=e=>{this._responseHandlers.delete(d),this._progressHandlers.delete(d),this._cleanupTimeout(d),this._transport?.send({jsonrpc:`2.0`,method:`notifications/cancelled`,params:{requestId:d,reason:String(e)}},{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(e=>this._onerror(Error(`Failed to send cancellation: ${e}`))),l(e instanceof Q_?e:new Q_($h.RequestTimeout,String(e)))};this._responseHandlers.set(d,e=>{if(!n?.signal?.aborted){if(e instanceof Error)return l(e);try{let n=Pd(t,e.result);n.success?c(n.data):l(n.error)}catch(e){l(e)}}}),n?.signal?.addEventListener(`abort`,()=>{p(n?.signal?.reason)});let m=n?.timeout??6e4;this._setupTimeout(d,m,n?.maxTotalTimeout,()=>p(Q_.fromError($h.RequestTimeout,`Request timed out`,{timeout:m})),n?.resetTimeoutOnProgress??!1);let h=s?.taskId;h?(this._requestResolvers.set(d,e=>{let t=this._responseHandlers.get(d);t?t(e):this._onerror(Error(`Response handler missing for side-channeled request ${d}`))}),this._enqueueTaskMessage(h,{type:`request`,message:f,timestamp:Date.now()}).catch(e=>{this._cleanupTimeout(d),l(e)})):this._transport.send(f,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(e=>{this._cleanupTimeout(d),l(e)})})}async getTask(e,t){return this.request({method:`tasks/get`,params:e},Dg,t)}async getTaskResult(e,t,n){return this.request({method:`tasks/result`,params:e},t,n)}async listTasks(e,t){return this.request({method:`tasks/list`,params:e},Ag,t)}async cancelTask(e,t){return this.request({method:`tasks/cancel`,params:e},Mg,t)}async notification(e,t){if(!this._transport)throw Error(`Not connected`);this.assertNotificationCapability(e.method);let n=t?.relatedTask?.taskId;if(n){let r={...e,jsonrpc:`2.0`,params:{...e.params,_meta:{...e.params?._meta||{},[Nh]:t.relatedTask}}};await this._enqueueTaskMessage(n,{type:`notification`,message:r,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!t?.relatedRequestId&&!t?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let n={...e,jsonrpc:`2.0`};t?.relatedTask&&(n={...n,params:{...n.params,_meta:{...n.params?._meta||{},[Nh]:t.relatedTask}}}),this._transport?.send(n,t).catch(e=>this._onerror(e))});return}let r={...e,jsonrpc:`2.0`};t?.relatedTask&&(r={...r,params:{...r.params,_meta:{...r.params?._meta||{},[Nh]:t.relatedTask}}}),await this._transport.send(r,t)}setRequestHandler(e,t){let n=ev(e);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(n,r)=>{let i=tv(e,n);return Promise.resolve(t(i,r))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t){let n=ev(e);this._notificationHandlers.set(n,n=>{let r=tv(e,n);return Promise.resolve(t(r))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let t=this._taskProgressTokens.get(e);t!==void 0&&(this._progressHandlers.delete(t),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,t,n){if(!this._taskStore||!this._taskMessageQueue)throw Error(`Cannot enqueue task message: taskStore and taskMessageQueue are not configured`);let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,t,n,r)}async _clearTaskQueue(e,t){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(e,t);for(let t of n)if(t.type===`request`&&Jh(t.message)){let n=t.message.id,r=this._requestResolvers.get(n);r?(r(new Q_($h.InternalError,`Task cancelled or completed`)),this._requestResolvers.delete(n)):this._onerror(Error(`Resolver missing for request ${n} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,t){let n=this._options?.defaultTaskPollInterval??1e3;try{let t=await this._taskStore?.getTask(e);t?.pollInterval&&(n=t.pollInterval)}catch{}return new Promise((e,r)=>{if(t.aborted){r(new Q_($h.InvalidRequest,`Request cancelled`));return}let i=setTimeout(e,n);t.addEventListener(`abort`,()=>{clearTimeout(i),r(new Q_($h.InvalidRequest,`Request cancelled`))},{once:!0})})}requestTaskStore(e,t){let n=this._taskStore;if(!n)throw Error(`No task store configured`);return{createTask:async r=>{if(!e)throw Error(`No request provided`);return await n.createTask(r,e.id,{method:e.method,params:e.params},t)},getTask:async e=>{let r=await n.getTask(e,t);if(!r)throw new Q_($h.InvalidParams,`Failed to retrieve task: Task not found`);return r},storeTaskResult:async(e,r,i)=>{await n.storeTaskResult(e,r,i,t);let a=await n.getTask(e,t);if(a){let t=Tg.parse({method:`notifications/tasks/status`,params:a});await this.notification(t),$_(a.status)&&this._cleanupTaskProgressHandler(e)}},getTaskResult:e=>n.getTaskResult(e,t),updateTaskStatus:async(e,r,i)=>{let a=await n.getTask(e,t);if(!a)throw new Q_($h.InvalidParams,`Task \"${e}\" not found - it may have been cleaned up`);if($_(a.status))throw new Q_($h.InvalidParams,`Cannot update task \"${e}\" from terminal status \"${a.status}\" to \"${r}\". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(e,r,i,t);let o=await n.getTask(e,t);if(o){let t=Tg.parse({method:`notifications/tasks/status`,params:o});await this.notification(t),$_(o.status)&&this._cleanupTaskProgressHandler(e)}},listTasks:e=>n.listTasks(e,t)}}};function nv(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Tee(e,t){let n={...e};for(let e in t){let r=e,i=t[r];if(i===void 0)continue;let a=n[r];nv(a)&&nv(i)?n[r]={...a,...i}:n[r]=i}return n}var Eee=`modulepreload`,Dee=function(e,t){return new URL(e,t).href},rv={},iv=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Dee(t,n),t in rv)return;rv[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel=\"stylesheet\"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href=\"${t}\"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:Eee,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};Mh(),(e=>typeof d<`u`?d:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof d<`u`?d:e)[t]}):e)(function(e){if(typeof d<`u`)return d.apply(this,arguments);throw Error(`Dynamic require of \"`+e+`\" is not supported`)});var Oee=class extends wee{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(e,t){}_ensureEventSlot(e){let t=this._eventSlots.get(e);if(!t){let n=this.eventSchemas[e];if(!n)throw Error(`Unknown event: ${String(e)}`);t={listeners:[]},this._eventSlots.set(e,t);let r=n.shape.method.value;this._registeredMethods.add(r);let i=t;super.setNotificationHandler(n,t=>{let n=t.params;this.onEventDispatch(e,n),i.onHandler?.(n);for(let e of[...i.listeners])e(n)})}return t}setEventHandler(e,t){let n=this._ensureEventSlot(e);n.onHandler&&t&&console.warn(`[MCP Apps] on${String(e)} handler replaced. Use addEventListener(\"${String(e)}\", …) to add multiple listeners without replacing.`),n.onHandler=t}getEventHandler(e){return this._eventSlots.get(e)?.onHandler}addEventListener(e,t){this._ensureEventSlot(e).listeners.push(t)}removeEventListener(e,t){let n=this._eventSlots.get(e);if(!n)return;let r=n.listeners.indexOf(t);r!==-1&&n.listeners.splice(r,1)}setRequestHandler=(e,t)=>{this._assertMethodNotRegistered(e,`setRequestHandler`),super.setRequestHandler(e,t)};setNotificationHandler=(e,t)=>{this._assertMethodNotRegistered(e,`setNotificationHandler`),super.setNotificationHandler(e,t)};warnIfRequestHandlerReplaced(e,t,n){t&&n&&console.warn(`[MCP Apps] ${e} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(e,t)=>{let n=e.shape.method.value;this._registeredMethods.add(n),super.setRequestHandler(e,t)};_assertMethodNotRegistered(e,t){let n=e.shape.method.value;if(this._registeredMethods.has(n))throw Error(`Handler for \"${n}\" already registered (via ${t}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(n)}},kee=`2026-01-26`,av=class{eventTarget;eventSource;messageListener;constructor(e=window.parent,t){this.eventTarget=e,this.eventSource=t,this.messageListener=e=>{if(t&&e.source!==this.eventSource){console.debug(`Ignoring message from unknown source`,e);return}let n=ng.safeParse(e.data);n.success?(console.debug(`Parsed message`,n.data),this.onmessage?.(n.data)):e.data?.jsonrpc===`2.0`?(console.error(`Failed to parse message`,n.error.message,e),this.onerror?.(Error(`Invalid JSON-RPC message received: `+n.error.message))):console.debug(`Ignoring non-JSON-RPC message`,n.error.message,e)}}async start(){window.addEventListener(`message`,this.messageListener)}async send(e,t){e.method!==`ui/notifications/tool-input-partial`&&console.debug(`Sending message`,e),this.eventTarget.postMessage(e,`*`)}async close(){window.removeEventListener(`message`,this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},Aee=W([G(`light`),G(`dark`)]).describe(`Color theme preference for the host environment.`),ov=W([G(`inline`),G(`fullscreen`),G(`pip`)]).describe(`Display mode for UI presentation.`),jee=pp(W([G(`--color-background-primary`),G(`--color-background-secondary`),G(`--color-background-tertiary`),G(`--color-background-inverse`),G(`--color-background-ghost`),G(`--color-background-info`),G(`--color-background-danger`),G(`--color-background-success`),G(`--color-background-warning`),G(`--color-background-disabled`),G(`--color-text-primary`),G(`--color-text-secondary`),G(`--color-text-tertiary`),G(`--color-text-inverse`),G(`--color-text-ghost`),G(`--color-text-info`),G(`--color-text-danger`),G(`--color-text-success`),G(`--color-text-warning`),G(`--color-text-disabled`),G(`--color-border-primary`),G(`--color-border-secondary`),G(`--color-border-tertiary`),G(`--color-border-inverse`),G(`--color-border-ghost`),G(`--color-border-info`),G(`--color-border-danger`),G(`--color-border-success`),G(`--color-border-warning`),G(`--color-border-disabled`),G(`--color-ring-primary`),G(`--color-ring-secondary`),G(`--color-ring-inverse`),G(`--color-ring-info`),G(`--color-ring-danger`),G(`--color-ring-success`),G(`--color-ring-warning`),G(`--font-sans`),G(`--font-mono`),G(`--font-weight-normal`),G(`--font-weight-medium`),G(`--font-weight-semibold`),G(`--font-weight-bold`),G(`--font-text-xs-size`),G(`--font-text-sm-size`),G(`--font-text-md-size`),G(`--font-text-lg-size`),G(`--font-heading-xs-size`),G(`--font-heading-sm-size`),G(`--font-heading-md-size`),G(`--font-heading-lg-size`),G(`--font-heading-xl-size`),G(`--font-heading-2xl-size`),G(`--font-heading-3xl-size`),G(`--font-text-xs-line-height`),G(`--font-text-sm-line-height`),G(`--font-text-md-line-height`),G(`--font-text-lg-line-height`),G(`--font-heading-xs-line-height`),G(`--font-heading-sm-line-height`),G(`--font-heading-md-line-height`),G(`--font-heading-lg-line-height`),G(`--font-heading-xl-line-height`),G(`--font-heading-2xl-line-height`),G(`--font-heading-3xl-line-height`),G(`--border-radius-xs`),G(`--border-radius-sm`),G(`--border-radius-md`),G(`--border-radius-lg`),G(`--border-radius-xl`),G(`--border-radius-full`),G(`--border-width-regular`),G(`--shadow-hairline`),G(`--shadow-sm`),G(`--shadow-md`),G(`--shadow-lg`)]).describe(`CSS variable keys available to MCP apps for theming.`).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),W([B(),$f()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`);U({method:G(`ui/open-link`),params:U({url:B().describe(`URL to open in the host's browser`)})});var Mee=U({isError:Jf().optional().describe(`True if the host failed to open the URL (e.g., due to security policy).`)}).passthrough(),Nee=U({isError:Jf().optional().describe(`True if the download failed (e.g., user cancelled or host denied).`)}).passthrough(),Pee=U({isError:Jf().optional().describe(`True if the host rejected or failed to deliver the message.`)}).passthrough();U({method:G(`ui/notifications/sandbox-proxy-ready`),params:U({})});var sv=U({connectDomains:H(B()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted → no network connections (secure default)`),resourceDomains:H(B()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted → no network resources (secure default)\"),frameDomains:H(B()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:H(B()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)\")}),cv=U({camera:U({}).optional().describe(`Request camera access.\n\nMaps to Permission Policy \\`camera\\` feature.`),microphone:U({}).optional().describe(`Request microphone access.\n\nMaps to Permission Policy \\`microphone\\` feature.`),geolocation:U({}).optional().describe(`Request geolocation access.\n\nMaps to Permission Policy \\`geolocation\\` feature.`),clipboardWrite:U({}).optional().describe(`Request clipboard write access.\n\nMaps to Permission Policy \\`clipboard-write\\` feature.`)});U({method:G(`ui/notifications/size-changed`),params:U({width:V().optional().describe(`New width in pixels.`),height:V().optional().describe(`New height in pixels.`)})});var Fee=U({method:G(`ui/notifications/tool-input`),params:U({arguments:pp(B(),np().describe(`Complete tool call arguments as key-value pairs.`)).optional().describe(`Complete tool call arguments as key-value pairs.`)})}),Iee=U({method:G(`ui/notifications/tool-input-partial`),params:U({arguments:pp(B(),np().describe(`Partial tool call arguments (incomplete, may change).`)).optional().describe(`Partial tool call arguments (incomplete, may change).`)})}),Lee=U({method:G(`ui/notifications/tool-cancelled`),params:U({reason:B().optional().describe(`Optional reason for the cancellation (e.g., \"user action\", \"timeout\").`)})}),Ree=U({fonts:B().optional()}),zee=U({variables:jee.optional().describe(`CSS variables for theming the app.`),css:Ree.optional().describe(`CSS blocks that apps can inject.`)}),Bee=U({method:G(`ui/resource-teardown`),params:U({})});pp(B(),np());var lv=U({text:U({}).optional().describe(`Host supports text content blocks.`),image:U({}).optional().describe(`Host supports image content blocks.`),audio:U({}).optional().describe(`Host supports audio content blocks.`),resource:U({}).optional().describe(`Host supports resource content blocks.`),resourceLink:U({}).optional().describe(`Host supports resource link content blocks.`),structuredContent:U({}).optional().describe(`Host supports structured content.`)});U({method:G(`ui/notifications/request-teardown`),params:U({}).optional()});var Vee=U({experimental:U({}).optional().describe(`Experimental features (structure TBD).`),openLinks:U({}).optional().describe(`Host supports opening external URLs.`),downloadFile:U({}).optional().describe(`Host supports file downloads via ui/download-file.`),serverTools:U({listChanged:Jf().optional().describe(`Host supports tools/list_changed notifications.`)}).optional().describe(`Host can proxy tool calls to the MCP server.`),serverResources:U({listChanged:Jf().optional().describe(`Host supports resources/list_changed notifications.`)}).optional().describe(`Host can proxy resource reads to the MCP server.`),logging:U({}).optional().describe(`Host accepts log messages.`),sandbox:U({permissions:cv.optional().describe(`Permissions granted by the host (camera, microphone, geolocation).`),csp:sv.optional().describe(`CSP domains approved by the host.`)}).optional().describe(`Sandbox configuration applied by the host.`),updateModelContext:lv.optional().describe(`Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.`),message:lv.optional().describe(`Host supports receiving content messages (ui/message) from the view.`),sampling:U({tools:U({}).optional().describe(\"Host supports tool use via `tools` and `toolChoice` parameters.\")}).optional().describe(\"Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.\")}),Hee=U({experimental:U({}).optional().describe(`Experimental features (structure TBD).`),tools:U({listChanged:Jf().optional().describe(`App supports tools/list_changed notifications.`)}).optional().describe(`App exposes MCP-style tools that the host can call.`),availableDisplayModes:H(ov).optional().describe(`Display modes the app supports.`)});U({method:G(`ui/notifications/initialized`),params:U({}).optional()}),U({csp:sv.optional().describe(`Content Security Policy configuration for UI resources.`),permissions:cv.optional().describe(`Sandbox permissions requested by the UI resource.`),domain:B().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:Jf().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),U({method:G(`ui/request-display-mode`),params:U({mode:ov.describe(`The display mode being requested.`)})});var Uee=U({mode:ov.describe(`The display mode that was actually set. May differ from requested if not supported.`)}).passthrough(),Wee=W([G(`model`),G(`app`)]).describe(`Tool visibility scope - who can access the tool.`);U({resourceUri:B().optional(),visibility:H(Wee).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`),csp:rp().optional(),permissions:rp().optional()}),U({mimeTypes:H(B()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),U({method:G(`ui/download-file`),params:U({contents:H(W([f_,p_])).describe(`Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.`)})}),U({method:G(`ui/message`),params:U({role:G(`user`).describe(`Message role, currently only \"user\" is supported.`),content:H(m_).describe(`Message content blocks (text, image, etc.).`)})}),U({method:G(`ui/notifications/sandbox-resource-ready`),params:U({html:B().describe(`HTML content to load into the inner iframe.`),sandbox:B().optional().describe(`Optional override for the inner iframe's sandbox attribute.`),csp:sv.optional().describe(`CSP configuration from resource metadata.`),permissions:cv.optional().describe(`Sandbox permissions from resource metadata.`)})});var Gee=U({method:G(`ui/notifications/tool-result`),params:C_.describe(`Standard MCP tool execution result.`)}),uv=U({toolInfo:U({id:Kh.optional().describe(`JSON-RPC id of the tools/call request.`),tool:b_.describe(`Tool definition including name, inputSchema, etc.`)}).optional().describe(`Metadata of the tool call that instantiated this App.`),theme:Aee.optional().describe(`Current color theme preference.`),styles:zee.optional().describe(`Style configuration for theming the app.`),displayMode:ov.optional().describe(`How the UI is currently displayed.`),availableDisplayModes:H(ov).optional().describe(`Display modes the host supports.`),containerDimensions:W([U({height:V().describe(`Fixed container height in pixels.`)}),U({maxHeight:W([V(),$f()]).optional().describe(`Maximum container height in pixels.`)})]).and(W([U({width:V().describe(`Fixed container width in pixels.`)}),U({maxWidth:W([V(),$f()]).optional().describe(`Maximum container width in pixels.`)})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:B().optional().describe(`User's language and region preference in BCP 47 format.`),timeZone:B().optional().describe(`User's timezone in IANA format.`),userAgent:B().optional().describe(`Host application identifier.`),platform:W([G(`web`),G(`desktop`),G(`mobile`)]).optional().describe(`Platform type for responsive design decisions.`),deviceCapabilities:U({touch:Jf().optional().describe(`Whether the device supports touch input.`),hover:Jf().optional().describe(`Whether the device supports hover interactions.`)}).optional().describe(`Device input capabilities.`),safeAreaInsets:U({top:V().describe(`Top safe area inset in pixels.`),right:V().describe(`Right safe area inset in pixels.`),bottom:V().describe(`Bottom safe area inset in pixels.`),left:V().describe(`Left safe area inset in pixels.`)}).optional().describe(`Mobile safe area boundaries in pixels.`)}).passthrough(),dv=U({method:G(`ui/notifications/host-context-changed`),params:uv.describe(`Partial context update containing only changed fields.`)});U({method:G(`ui/update-model-context`),params:U({content:H(m_).optional().describe(`Context content blocks (text, image, etc.).`),structuredContent:pp(B(),np().describe(`Structured content for machine-readable context data.`)).optional().describe(`Structured content for machine-readable context data.`)})}),U({method:G(`ui/initialize`),params:U({appInfo:cg.describe(`App identification (name and version).`),appCapabilities:Hee.describe(`Features and capabilities this app provides.`),protocolVersion:B().describe(`Protocol version this app supports.`)})});var fv=U({protocolVersion:B().describe(`Negotiated protocol version string (e.g., \"2025-11-21\").`),hostInfo:cg.describe(`Host application identification and version.`),hostCapabilities:Vee.describe(`Features and capabilities provided by the host.`),hostContext:uv.describe(`Rich context about the host environment.`)}).passthrough(),pv={target:`draft-2020-12`};async function mv(e,t){let n=e[`~standard`];if(n.jsonSchema)return n.jsonSchema[t](pv);if(n.vendor===`zod`){let{z:n}=await iv(async()=>{let{z:e}=await Promise.resolve().then(()=>(Mh(),Ah));return{z:e}},void 0,import.meta.url);return n.toJSONSchema(e,{io:t})}throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function hv(e,t,n=``){let r=await e[`~standard`].validate(t);if(r.issues){let e=r.issues.map(e=>{let t=e.path?.map(e=>typeof e==`object`?e.key:e).join(`.`);return t?`${t}: ${e.message}`:e.message}).join(`; `);throw Error(n+e)}return r.value}var gv=class e extends Oee{_appInfo;_capabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_assertInitialized(e){if(this._initializedSent)return;let t=`[ext-apps] App.${e}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(t);console.warn(`${t}. This will throw in a future release.`)}eventSchemas={toolinput:Fee,toolinputpartial:Iee,toolresult:Gee,toolcancelled:Lee,hostcontextchanged:dv};static ONE_SHOT_EVENTS=new Set([`toolinput`,`toolinputpartial`,`toolresult`,`toolcancelled`]);_everHadListener=new Set;_assertHandlerTiming(t){if(!e.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let n=`[ext-apps] \"${String(t)}\" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(n);console.warn(n)}setEventHandler(e,t){t&&this._assertHandlerTiming(e),super.setEventHandler(e,t)}addEventListener(e,t){this._assertHandlerTiming(e),super.addEventListener(e,t)}onEventDispatch(e,t){e===`hostcontextchanged`&&(this._hostContext={...this._hostContext,...t})}constructor(e,t={},n={autoResize:!0}){super(n),this._appInfo=e,this._capabilities=t,this.options=n,n.allowUnsafeEval||b({jitless:!0}),this.setRequestHandler(vg,e=>(console.log(`Received ping:`,e.params),{})),this.setEventHandler(`hostcontextchanged`,void 0)}registerCapabilities(e){if(this.transport)throw Error(`Cannot register capabilities after transport is established`);this._capabilities=Tee(this._capabilities,e)}registerTool(e,t,n){if(this._registeredTools[e])throw Error(`Tool ${e} is already registered`);let r=this,i=()=>{r._initializedSent&&r._capabilities.tools?.listChanged&&r.sendToolListChanged()},a=t.inputSchema!==void 0,o={title:t.title,description:t.description,inputSchema:t.inputSchema,outputSchema:t.outputSchema,annotations:t.annotations,_meta:t._meta,enabled:!0,enable(){this.enabled=!0,i()},disable(){this.enabled=!1,i()},update(e){Object.assign(this,e),i()},remove(){r._registeredTools[e]===o&&(delete r._registeredTools[e],i())},handler:async(t,r)=>{if(!o.enabled)throw Error(`Tool ${e} is disabled`);let i;if(a){let a=o.inputSchema;i=await n(a?await hv(a,t??{},`Invalid input for tool ${e}: `):t??{},r)}else i=await n(r);return o.outputSchema&&!i.isError&&(i.structuredContent=await hv(o.outputSchema,i.structuredContent,`Invalid output for tool ${e}: `)),i}};return this._registeredTools[e]=o,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),i(),o}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(e,t)=>{let n=this._registeredTools[e.name];if(!n)throw Error(`Tool ${e.name} not found`);return n.handler(e.arguments,t)},this.onlisttools=async(e,t)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([e,t])=>t.enabled).map(async([e,t])=>{let n={name:e,title:t.title,description:t.description,inputSchema:t.inputSchema?await mv(t.inputSchema,`input`):{type:`object`,properties:{}}};return t.outputSchema&&(n.outputSchema=await mv(t.outputSchema,`output`)),t.annotations&&(n.annotations=t.annotations),t._meta&&(n._meta=t._meta),n}))}))}async sendToolListChanged(e={}){this._assertInitialized(`sendToolListChanged`),await this.notification({method:`notifications/tools/list_changed`,params:e})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler(`toolinput`)}set ontoolinput(e){this.setEventHandler(`toolinput`,e)}get ontoolinputpartial(){return this.getEventHandler(`toolinputpartial`)}set ontoolinputpartial(e){this.setEventHandler(`toolinputpartial`,e)}get ontoolresult(){return this.getEventHandler(`toolresult`)}set ontoolresult(e){this.setEventHandler(`toolresult`,e)}get ontoolcancelled(){return this.getEventHandler(`toolcancelled`)}set ontoolcancelled(e){this.setEventHandler(`toolcancelled`,e)}get onhostcontextchanged(){return this.getEventHandler(`hostcontextchanged`)}set onhostcontextchanged(e){this.setEventHandler(`hostcontextchanged`,e)}_onteardown;get onteardown(){return this._onteardown}set onteardown(e){this.warnIfRequestHandlerReplaced(`onteardown`,this._onteardown,e),this._onteardown=e,this.replaceRequestHandler(Bee,(e,t)=>{if(!this._onteardown)throw Error(`No onteardown handler set`);return this._onteardown(e.params,t)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(e){this.warnIfRequestHandlerReplaced(`oncalltool`,this._oncalltool,e),this._oncalltool=e,this.replaceRequestHandler(T_,(e,t)=>{if(!this._oncalltool)throw Error(`No oncalltool handler set`);return this._oncalltool(e.params,t)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(e){this.warnIfRequestHandlerReplaced(`onlisttools`,this._onlisttools,e),this._onlisttools=e,this.replaceRequestHandler(x_,(e,t)=>{if(!this._onlisttools)throw Error(`No onlisttools handler set`);return this._onlisttools(e.params,t)})}assertCapabilityForMethod(e){switch(e){case`sampling/createMessage`:if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${e})`);break}}assertRequestHandlerCapability(e){switch(e){case`tools/call`:case`tools/list`:if(!this._capabilities.tools)throw Error(`Client does not support tool capability (required for ${e})`);return;case`ping`:case`ui/resource-teardown`:return;default:throw Error(`No handler for method ${e} registered`)}}assertNotificationCapability(e){}assertTaskCapability(e){throw Error(`Tasks are not supported in MCP Apps`)}assertTaskHandlerCapability(e){throw Error(`Task handlers are not supported in MCP Apps`)}async callServerTool(e,t){if(this._assertInitialized(`callServerTool`),typeof e==`string`)throw Error(`callServerTool() expects an object as its first argument, but received a string (\"${e}\"). Did you mean: callServerTool({ name: \"${e}\", arguments: { ... } })?`);return await this.request({method:`tools/call`,params:e},C_,{onprogress:()=>{},resetTimeoutOnProgress:!0,...t})}async readServerResource(e,t){return this._assertInitialized(`readServerResource`),await this.request({method:`resources/read`,params:e},Jg,t)}async listServerResources(e,t){return this._assertInitialized(`listServerResources`),await this.request({method:`resources/list`,params:e},Hg,t)}async createSamplingMessage(e,t){this._assertInitialized(`createSamplingMessage`);let n=e.tools?V_:B_;return await this.request({method:`sampling/createMessage`,params:e},n,t)}sendMessage(e,t){return this._assertInitialized(`sendMessage`),this.request({method:`ui/message`,params:e},Pee,t)}sendLog(e){return this.notification({method:`notifications/message`,params:e})}updateModelContext(e,t){return this._assertInitialized(`updateModelContext`),this.request({method:`ui/update-model-context`,params:e},rg,t)}openLink(e,t){return this._assertInitialized(`openLink`),this.request({method:`ui/open-link`,params:e},Mee,t)}sendOpenLink=this.openLink;downloadFile(e,t){return this._assertInitialized(`downloadFile`),this.request({method:`ui/download-file`,params:e},Nee,t)}requestTeardown(e={}){return this.notification({method:`ui/notifications/request-teardown`,params:e})}requestDisplayMode(e,t){return this._assertInitialized(`requestDisplayMode`),this.request({method:`ui/request-display-mode`,params:e},Uee,t)}sendSizeChanged(e){return this.notification({method:`ui/notifications/size-changed`,params:e})}setupSizeChangedNotifications(){let e=!1,t=0,n=0,r=()=>{e||(e=!0,requestAnimationFrame(()=>{e=!1;let r=document.documentElement,i=r.style.height;r.style.height=`max-content`;let a=Math.ceil(r.getBoundingClientRect().height);r.style.height=i;let o=Math.ceil(window.innerWidth);(o!==t||a!==n)&&(t=o,n=a,this.sendSizeChanged({width:o,height:a}))}))};r();let i=new ResizeObserver(r);return i.observe(document.documentElement),i.observe(document.body),()=>i.disconnect()}async connect(e=new av(window.parent,window.parent),t){if(this.transport)throw Error(`App is already connected. Call close() before connecting again.`);this._initializedSent=!1,await super.connect(e);try{let e=await this.request({method:`ui/initialize`,params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:kee}},fv,t);if(e===void 0)throw Error(`Server sent invalid initialize result: ${e}`);this._hostCapabilities=e.hostCapabilities,this._hostInfo=e.hostInfo,this._hostContext=e.hostContext,await this.notification({method:`ui/notifications/initialized`}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(e){throw this.close(),e}}};function _v({appInfo:e,capabilities:t,onAppCreated:n,autoResize:r=!0,strict:i}){let[a,o]=(0,z.useState)(null),[s,c]=(0,z.useState)(!1),[l,u]=(0,z.useState)(null);return(0,z.useEffect)(()=>{let a=!0,s;async function l(){try{let l=new av(window.parent,window.parent);if(s=new gv(e,t,{autoResize:r,strict:i}),n?.(s),await s.connect(l),!a){s.close();return}o(s),c(!0),u(null)}catch(e){a&&(o(null),c(!1),u(e instanceof Error?e:Error(`Failed to connect`)))}}return l(),()=>{a=!1,s?.close()}},[]),{app:a,isConnected:s,error:l}}var vv=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})},yv=c({default:()=>bv}),bv,xv=o((()=>{bv={\"analysis.modes.query.label\":`Query`,\"analysis.modes.query.description\":`Standard analysis (single or multi-query)`,\"analysis.modes.funnel.label\":`Funnel`,\"analysis.modes.funnel.description\":`Sequential conversion analysis`,\"analysis.modes.flow.label\":`Flow`,\"analysis.modes.flow.description\":`Bidirectional path analysis with Sankey visualisation`,\"analysis.modes.retention.label\":`Retention`,\"analysis.modes.retention.description\":`Cohort-based retention analysis over time periods`,\"analysis.ai.title\":`AI Query Generator`,\"analysis.ai.generating\":`Generating...`,\"analysis.ai.placeholder\":`Describe your query in natural language... (e.g., 'Show total sales by month for the last year')`,\"analysis.ai.shortcutHint\":`Press Enter to generate, Shift+Enter for new line`,\"analysis.ai.successMessage\":`Query generated and loaded! Check the results below, then click Accept to keep or Cancel to revert.`,\"analysis.ai.button.accept\":`Accept`,\"analysis.ai.button.cancel\":`Cancel`,\"analysis.ai.button.close\":`Close`,\"analysis.ai.button.generate\":`Generate`,\"analysis.ai.button.generating\":`Generating...`,\"analysis.sections.metrics\":`Metrics`,\"analysis.sections.breakdown\":`Breakdown`,\"analysis.sections.dimensions\":`Dimensions`,\"analysis.sections.filters\":`Filter`,\"analysis.sections.limit\":`Limit`,\"analysis.tabs.query\":`Query`,\"analysis.tabs.chart\":`Chart`,\"analysis.tabs.chartTitle\":`Chart configuration`,\"analysis.tabs.display\":`Display`,\"analysis.tabs.displayTitle\":`Display options`,\"analysis.multiQuery.removeQuery\":`Remove query`,\"analysis.multiQuery.addQuery\":`Add new query`,\"analysis.multiQuery.addAnother\":`Add another query`,\"analysis.multiQuery.mergeExplanation\":`In merge mode, dimensions are shared from Q1.`,\"analysis.multiQuery.switchToSeparate\":`Switch to separate series`,\"analysis.mergeStrategy.concat\":`Separate series`,\"analysis.mergeStrategy.merge\":`Merge by dimension`,\"analysis.mergeStrategy.funnel\":`Funnel`,\"analysis.placeholders.addMetrics\":`Add metrics to generate SQL`,\"analysis.placeholders.hoverField\":`Hover over a field to see details`,\"analysis.placeholders.noData\":`No data available`,\"common.actions.accept\":`Accept`,\"common.actions.cancel\":`Cancel`,\"common.actions.delete\":`Delete`,\"common.actions.close\":`Close`,\"common.actions.edit\":`Edit`,\"common.actions.save\":`Save`,\"common.actions.copy\":`Copy`,\"common.actions.duplicate\":`Duplicate`,\"common.actions.refresh\":`Refresh`,\"common.actions.confirm\":`Confirm`,\"common.actions.add\":`Add`,\"common.actions.clear\":`Clear`,\"common.actions.select\":`Select`,\"common.actions.navigate\":`Navigate`,\"common.actions.share\":`Share`,\"common.loading\":`Loading...`,\"common.modal.processing\":`Processing...`,\"common.modal.dashboardName\":`Dashboard Name`,\"common.modal.deleteConfirmation\":`Are you sure? This action cannot be undone.`,\"common.sorting.ascending\":`Sorted ascending (click for descending)`,\"common.sorting.descending\":`Sorted descending (click to remove)`,\"common.sorting.none\":`Click to sort ascending`,\"fieldTypes.count\":`Count`,\"fieldTypes.countDistinct\":`Count Distinct`,\"fieldTypes.countDistinctApprox\":`Count Distinct (Approx)`,\"fieldTypes.sum\":`Sum`,\"fieldTypes.avg\":`Average`,\"fieldTypes.min\":`Minimum`,\"fieldTypes.max\":`Maximum`,\"fieldTypes.runningTotal\":`Running Total`,\"fieldTypes.number\":`Number`,\"fieldTypes.string\":`Text`,\"fieldTypes.boolean\":`Boolean`,\"fieldTypes.time\":`Time Dimension`,\"fieldTypes.geo\":`Geographic`,\"fieldTypes.dimension\":`Dimension`,\"fieldPanel.emptyState\":`Hover over a field to see details`,\"fieldPanel.usageHint\":`Press Enter or click to add this field to your query.`,\"fieldPanel.labels.type\":`Type`,\"fieldPanel.labels.cube\":`Cube`,\"fieldPanel.labels.category\":`Category`,\"fieldCategory.measure\":`Measure`,\"fieldCategory.timeDimension\":`Time Dimension`,\"fieldCategory.dimension\":`Dimension`,\"fieldSearch.placeholder.metrics\":`Search metrics...`,\"fieldSearch.placeholder.filter\":`Search fields to filter...`,\"fieldSearch.placeholder.dimensions\":`Search dimensions...`,\"fieldSearch.modal.title.metrics\":`Select a Metric`,\"fieldSearch.modal.title.filter\":`Select a Field to Filter`,\"fieldSearch.modal.title.dimensions\":`Select a Dimension`,\"fieldSearch.filter.allCubes\":`All Cubes`,\"fieldSearch.categories.all\":`All`,\"fieldSearch.empty.heading\":`No fields found`,\"fieldSearch.empty.noMatchMetrics\":`No metrics match \"{searchTerm}\"`,\"fieldSearch.empty.noMatchDimensions\":`No dimensions match \"{searchTerm}\"`,\"fieldSearch.empty.noMetrics\":`No metrics available`,\"fieldSearch.empty.noDimensions\":`No dimensions available`,\"fieldSearch.section.recents\":`Recents`,\"fieldSearch.footer.metricsAvailable\":`metrics available`,\"fieldSearch.footer.fieldsAvailable\":`fields available`,\"fieldSearch.footer.dimensionsAvailable\":`dimensions available`,\"fieldSearch.shortcut.navigate\":`Navigate`,\"fieldSearch.shortcut.keyEnter\":`Enter`,\"fieldSearch.shortcut.keyShift\":`Shift`,\"fieldSearch.shortcut.keyEsc\":`Esc`,\"fieldSearch.shortcut.plusClick\":`+Click`,\"fieldSearch.shortcut.select\":`Select`,\"fieldSearch.shortcut.multiSelect\":`Multi-select`,\"fieldSearch.shortcut.close\":`Close`,\"filter.group.condition\":`condition`,\"filter.group.conditions\":`conditions`,\"filter.group.addFilter\":`Add Filter`,\"filter.group.addAndGroup\":`Add AND Group`,\"filter.group.addOrGroup\":`Add OR Group`,\"filter.group.removeGroup\":`Remove group`,\"filter.group.empty\":`No conditions in this group`,\"filter.group.addFilterLink\":`Add a filter`,\"filter.modal.title\":`Edit Filter`,\"filter.modal.fieldLabel\":`Field`,\"filter.modal.operatorLabel\":`Operator`,\"filter.modal.valueLabel\":`Value`,\"filter.modal.selectRange\":`Select range`,\"filter.modal.noValueRequired\":`No value required`,\"filter.modal.dateTo\":`to`,\"filter.modal.min\":`Min`,\"filter.modal.to\":`to`,\"filter.modal.max\":`Max`,\"filter.modal.enterNumber\":`Enter number`,\"filter.modal.loading\":`Loading...`,\"filter.modal.selectValue\":`Select value...`,\"filter.modal.search\":`Search...`,\"filter.modal.errorPrefix\":`Error: `,\"filter.modal.noValues\":`No values found`,\"filter.modal.multiSelectHint\":`Hold Shift to select multiple values`,\"filter.modal.enterValue\":`Enter value...`,\"filter.removeButton.title\":`Remove filter`,\"filter.section.clearAll\":`Clear all`,\"filter.section.dropHint\":`Drop to add filter`,\"filter.section.empty\":`No filters applied`,\"filter.valueDisplay.empty\":`(empty)`,\"filter.valueDisplay.more\":`more`,\"filter.operator.equals.label\":`equals`,\"filter.operator.equals.description\":`Exact match`,\"filter.operator.notEquals.label\":`not equals`,\"filter.operator.notEquals.description\":`Does not match`,\"filter.operator.contains.label\":`contains`,\"filter.operator.contains.description\":`Contains text (case insensitive)`,\"filter.operator.notContains.label\":`not contains`,\"filter.operator.notContains.description\":`Does not contain text`,\"filter.operator.startsWith.label\":`starts with`,\"filter.operator.startsWith.description\":`Starts with text`,\"filter.operator.notStartsWith.label\":`not starts with`,\"filter.operator.notStartsWith.description\":`Does not start with text`,\"filter.operator.endsWith.label\":`ends with`,\"filter.operator.endsWith.description\":`Ends with text`,\"filter.operator.notEndsWith.label\":`not ends with`,\"filter.operator.notEndsWith.description\":`Does not end with text`,\"filter.operator.like.label\":`like`,\"filter.operator.like.description\":`SQL LIKE pattern matching (case sensitive)`,\"filter.operator.notLike.label\":`not like`,\"filter.operator.notLike.description\":`SQL NOT LIKE pattern matching (case sensitive)`,\"filter.operator.ilike.label\":`ilike`,\"filter.operator.ilike.description\":`SQL ILIKE pattern matching (case insensitive)`,\"filter.operator.gt.label\":`greater than`,\"filter.operator.gt.description\":`Greater than value`,\"filter.operator.gte.label\":`greater than or equal`,\"filter.operator.gte.description\":`Greater than or equal to value`,\"filter.operator.lt.label\":`less than`,\"filter.operator.lt.description\":`Less than value`,\"filter.operator.lte.label\":`less than or equal`,\"filter.operator.lte.description\":`Less than or equal to value`,\"filter.operator.between.label\":`between`,\"filter.operator.between.description\":`Between two values (inclusive)`,\"filter.operator.notBetween.label\":`not between`,\"filter.operator.notBetween.description\":`Not between two values`,\"filter.operator.in.label\":`in`,\"filter.operator.in.description\":`Matches any of the provided values`,\"filter.operator.notIn.label\":`not in`,\"filter.operator.notIn.description\":`Does not match any of the provided values`,\"filter.operator.set.label\":`is set`,\"filter.operator.set.description\":`Is not null/empty`,\"filter.operator.notSet.label\":`is not set`,\"filter.operator.notSet.description\":`Is null/empty`,\"filter.operator.isEmpty.label\":`is empty`,\"filter.operator.isEmpty.description\":`Is empty string or null`,\"filter.operator.isNotEmpty.label\":`is not empty`,\"filter.operator.isNotEmpty.description\":`Is not empty string and not null`,\"filter.operator.inDateRange.label\":`in date range`,\"filter.operator.inDateRange.description\":`Between two dates`,\"filter.operator.beforeDate.label\":`before date`,\"filter.operator.beforeDate.description\":`Before specified date`,\"filter.operator.afterDate.label\":`after date`,\"filter.operator.afterDate.description\":`After specified date`,\"filter.operator.regex.label\":`matches regex`,\"filter.operator.regex.description\":`Matches regular expression pattern`,\"filter.operator.notRegex.label\":`not matches regex`,\"filter.operator.notRegex.description\":`Does not match regular expression pattern`,\"filter.operator.arrayContains.label\":`array contains all`,\"filter.operator.arrayContains.description\":`Array field contains all specified values (PostgreSQL only)`,\"filter.operator.arrayOverlaps.label\":`array contains any`,\"filter.operator.arrayOverlaps.description\":`Array field contains any of the specified values (PostgreSQL only)`,\"filter.operator.arrayContained.label\":`array values in`,\"filter.operator.arrayContained.description\":`All array field values are within specified values (PostgreSQL only)`,\"dateRange.custom\":`Custom`,\"dateRange.today\":`Today`,\"dateRange.yesterday\":`Yesterday`,\"dateRange.thisWeek\":`This week`,\"dateRange.thisMonth\":`This month`,\"dateRange.thisQuarter\":`This quarter`,\"dateRange.thisYear\":`This year`,\"dateRange.last7Days\":`Last 7 days`,\"dateRange.last30Days\":`Last 30 days`,\"dateRange.lastNDays\":`Last N days`,\"dateRange.lastWeek\":`Last week`,\"dateRange.lastNWeeks\":`Last N weeks`,\"dateRange.lastMonth\":`Last month`,\"dateRange.last12Months\":`Last 12 months`,\"dateRange.lastNMonths\":`Last N months`,\"dateRange.lastQuarter\":`Last quarter`,\"dateRange.lastNQuarters\":`Last N quarters`,\"dateRange.lastYear\":`Last year`,\"dateRange.lastNYears\":`Last N years`,\"timeGranularity.hour\":`Hour`,\"timeGranularity.day\":`Day`,\"timeGranularity.week\":`Week`,\"timeGranularity.month\":`Month`,\"timeGranularity.quarter\":`Quarter`,\"timeGranularity.year\":`Year`,\"query.limit.label\":`Limit`,\"query.limit.clear\":`Clear`,\"chart.bar.label\":`Bar Chart`,\"chart.bar.description\":`Compare values across categories`,\"chart.bar.useCase\":`Best for comparing discrete categories, showing rankings, or displaying changes over time`,\"chart.line.label\":`Line Chart`,\"chart.line.description\":`Show trends and changes over time`,\"chart.line.useCase\":`Best for continuous data, trends, time series, and showing relationships between multiple series`,\"chart.area.label\":`Area Chart`,\"chart.area.description\":`Emphasise magnitude of change over time`,\"chart.area.useCase\":`Best for showing cumulative totals, volume changes, or stacked comparisons over time`,\"chart.pie.label\":`Pie Chart`,\"chart.pie.description\":`Show proportions of a whole`,\"chart.pie.useCase\":`Best for showing percentage distribution or composition of a total (limit to 5-7 slices)`,\"chart.scatter.label\":`Scatter Plot`,\"chart.scatter.description\":`Reveal correlations between variables`,\"chart.scatter.useCase\":`Best for identifying patterns, correlations, outliers, and relationships between two measures`,\"chart.bubble.label\":`Bubble Chart`,\"chart.bubble.description\":`Compare three dimensions of data`,\"chart.bubble.useCase\":`Best for showing relationships between three variables (X, Y, and size), market analysis`,\"chart.radar.label\":`Radar Chart`,\"chart.radar.description\":`Compare multiple metrics across categories`,\"chart.radar.useCase\":`Best for multivariate comparisons, performance metrics, strengths/weaknesses analysis`,\"chart.radialBar.label\":`Radial Bar Chart`,\"chart.radialBar.description\":`Circular progress and KPI visualisation`,\"chart.radialBar.useCase\":`Best for showing progress toward goals, KPIs, or comparing percentages in a compact form`,\"chart.treemap.label\":`TreeMap`,\"chart.treemap.description\":`Visualise hierarchical data with nested rectangles`,\"chart.treemap.useCase\":`Best for showing part-to-whole relationships in hierarchical data, disk usage, budget allocation`,\"chart.table.label\":`Data Table`,\"chart.table.description\":`Display detailed tabular data`,\"chart.table.useCase\":`Best for precise values, detailed analysis, sortable/filterable data exploration`,\"chart.activityGrid.label\":`Activity Grid`,\"chart.activityGrid.description\":`GitHub-style activity grid showing temporal patterns across different time scales`,\"chart.activityGrid.useCase\":`Best for visualising activity patterns over time. Supports hour (3hr blocks × days), day (days × weeks), week (weeks × months), month (months × quarters), and quarter (quarters × years) granularities`,\"chart.kpiNumber.label\":`KPI Number`,\"chart.kpiNumber.description\":`Display key performance indicators as large numbers`,\"chart.kpiNumber.useCase\":`Perfect for showing important metrics like revenue, user count, or other key business metrics in a prominent, easy-to-read format`,\"chart.kpiDelta.label\":`KPI Delta`,\"chart.kpiDelta.description\":`Display change between latest and previous values with trend indicators`,\"chart.kpiDelta.useCase\":`Perfect for showing performance changes over time, such as revenue growth, user acquisition changes, or other metrics where the trend and delta are more important than the absolute value`,\"chart.kpiText.label\":`KPI Text`,\"chart.kpiText.description\":`Display key performance indicators as customisable text`,\"chart.kpiText.useCase\":`Perfect for showing metrics with custom formatting, combining multiple values, or displaying contextual KPI information using templates`,\"chart.markdown.label\":`Markdown`,\"chart.markdown.description\":`Display custom markdown content with formatting`,\"chart.markdown.useCase\":`Perfect for adding documentation, notes, section headers, instructions, or formatted text to dashboards`,\"chart.funnel.label\":`Funnel Chart`,\"chart.funnel.description\":`Show conversion through sequential steps`,\"chart.funnel.useCase\":`Best for visualising user journey funnels, sales pipelines, or multi-step processes`,\"chart.sankey.label\":`Sankey Chart`,\"chart.sankey.description\":`Show flow between states or steps`,\"chart.sankey.useCase\":`Best for visualising user journey flows, path analysis, or state transitions`,\"chart.sunburst.label\":`Sunburst Chart`,\"chart.sunburst.description\":`Show hierarchical flow as radial rings`,\"chart.sunburst.useCase\":`Best for visualising forward paths from a starting event in a compact radial layout`,\"chart.heatmap.label\":`Heatmap`,\"chart.heatmap.description\":`Visualise intensity across two dimensions`,\"chart.heatmap.useCase\":`Best for showing patterns in matrix data like correlations, schedules, or category comparisons`,\"chart.retentionHeatmap.label\":`Retention Matrix`,\"chart.retentionHeatmap.description\":`Cohort retention matrix visualisation`,\"chart.retentionHeatmap.useCase\":`Visualise user retention over time by cohort`,\"chart.retentionCombined.label\":`Retention Chart`,\"chart.retentionCombined.description\":`Combined retention visualisation with line chart and heatmap modes`,\"chart.retentionCombined.useCase\":`Visualise user retention over time with optional breakdown segmentation`,\"chart.boxPlot.label\":`Box Plot`,\"chart.boxPlot.description\":`Show statistical distribution (median, IQR, whiskers) across categories`,\"chart.boxPlot.useCase\":`Best for P&L spread per symbol, trade size distribution, latency distribution across platforms`,\"chart.waterfall.label\":`Waterfall Chart`,\"chart.waterfall.description\":`Show cumulative effect of sequential positive and negative values`,\"chart.waterfall.useCase\":`Best for P&L decomposition, cash flow analysis, budget variance, or any sequential contribution breakdown`,\"chart.candlestick.label\":`Candlestick Chart`,\"chart.candlestick.description\":`Financial candlestick chart showing open/close body and high/low wicks`,\"chart.candlestick.useCase\":`Best for EOD quotes (bid/ask spread per date/symbol), markout distribution bands, or OHLC price data`,\"chart.measureProfile.label\":`Measure Profile`,\"chart.measureProfile.description\":`Plot N measures as sequential X-axis points to visualise a profile or shape across intervals`,\"chart.measureProfile.useCase\":`Best for markout interval analysis (e.g. avgMinus2m → avgAtEvent → avgPlus2h), metric profiles, or any pattern across ordered measures`,\"chart.gauge.label\":`Gauge Chart`,\"chart.gauge.description\":`Half-circle arc gauge for a single KPI value versus a maximum target`,\"chart.gauge.useCase\":`Best for high-water marks vs equity, margin utilisation, or any single value progress toward a goal`,\"chart.config.chartType\":`Chart Type`,\"chart.config.loading\":`Loading chart configuration...`,\"chart.config.axisConfig\":`Chart Configuration`,\"chart.config.unassigned\":`Unassigned Fields`,\"chart.config.unassignedHint\":`Drag fields to chart axes above`,\"chart.config.noFields\":`Add metrics and breakdowns in the Query tab to configure chart axes`,\"chart.dropZone.xAxis.label\":`X-Axis (Categories)`,\"chart.dropZone.xAxis.description\":`Dimensions and time dimensions for grouping`,\"chart.dropZone.xAxis.empty\":`Drop dimensions & time dimensions here`,\"chart.dropZone.yAxis.label\":`Y-Axis (Values)`,\"chart.dropZone.yAxis.description\":`Measures for values or dimensions for series`,\"chart.dropZone.yAxis.empty\":`Drop measures or dimensions here`,\"chart.dropZone.series.label\":`Series (Split into Multiple Series)`,\"chart.dropZone.series.description\":`Dimensions to create separate data series`,\"chart.dropZone.series.empty\":`Drop dimensions here to split data into series`,\"chart.dropZone.maxReached\":`Maximum items reached`,\"chart.dropZone.default.empty\":`Drop fields here`,\"chart.bar.dropZone.xAxis.empty\":`Drop dimensions & time dimensions here`,\"chart.bar.dropZone.yAxis.empty\":`Drop measures here`,\"chart.bar.dropZone.series.empty\":`Drop dimensions here to split data into series`,\"chart.line.dropZone.xAxis.empty\":`Drop time dimensions or dimensions here`,\"chart.line.dropZone.yAxis.empty\":`Drop measures here`,\"chart.line.dropZone.series.empty\":`Drop dimensions here for multiple lines`,\"chart.area.dropZone.xAxis.empty\":`Drop time dimensions or dimensions here`,\"chart.area.dropZone.yAxis.empty\":`Drop measures here`,\"chart.area.dropZone.series.empty\":`Drop dimensions here for stacked areas`,\"chart.pie.dropZone.xAxis.empty\":`Drop a dimension for categories`,\"chart.pie.dropZone.yAxis.empty\":`Drop a measure for values`,\"chart.scatter.dropZone.xAxis.empty\":`Drop a field for X-axis`,\"chart.scatter.dropZone.yAxis.empty\":`Drop a measure for Y-axis`,\"chart.scatter.dropZone.series.empty\":`Drop a dimension to colour points`,\"chart.bubble.dropZone.xAxis.empty\":`Drop a field for X-axis position`,\"chart.bubble.dropZone.yAxis.empty\":`Drop a measure for Y-axis position`,\"chart.bubble.dropZone.sizeField.empty\":`Drop a measure for bubble size`,\"chart.bubble.dropZone.series.empty\":`Drop a dimension for bubble labels`,\"chart.bubble.dropZone.colorField.empty\":`Drop a field for bubble colour (optional)`,\"chart.radar.dropZone.xAxis.empty\":`Drop dimensions for radar axes`,\"chart.radar.dropZone.yAxis.empty\":`Drop measures for values`,\"chart.radar.dropZone.series.empty\":`Drop dimensions for multiple shapes`,\"chart.radialBar.dropZone.xAxis.empty\":`Drop dimensions for categories`,\"chart.radialBar.dropZone.yAxis.empty\":`Drop a measure for values`,\"chart.treemap.dropZone.xAxis.empty\":`Drop dimensions for categories`,\"chart.treemap.dropZone.yAxis.empty\":`Drop a measure for size`,\"chart.treemap.dropZone.series.empty\":`Drop a dimension for colour grouping`,\"chart.table.dropZone.xAxis.empty\":`Drop fields to display as columns (or leave empty for all)`,\"chart.activityGrid.dropZone.dateField.empty\":`Drop a time dimension (granularity affects grid structure)`,\"chart.activityGrid.dropZone.valueField.empty\":`Drop a measure for activity intensity`,\"chart.kpiNumber.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.kpiDelta.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.kpiDelta.dropZone.xAxis.empty\":`Drop a dimension for ordering`,\"chart.kpiText.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.funnel.dropZone.xAxis.empty\":`Steps defined in funnel config`,\"chart.funnel.dropZone.yAxis.empty\":`Counts calculated from funnel execution`,\"chart.sankey.dropZone.xAxis.empty\":`Auto-populated from flow config`,\"chart.sankey.dropZone.yAxis.empty\":`Calculated from flow execution`,\"chart.sunburst.dropZone.xAxis.empty\":`Auto-populated from flow config`,\"chart.sunburst.dropZone.yAxis.empty\":`Calculated from flow execution`,\"chart.heatmap.dropZone.xAxis.empty\":`Drop one dimension here`,\"chart.heatmap.dropZone.yAxis.empty\":`Drop one dimension here`,\"chart.heatmap.dropZone.valueField.empty\":`Drop one measure here`,\"chart.boxPlot.dropZone.xAxis.empty\":`Drop a dimension here`,\"chart.boxPlot.dropZone.yAxis.empty\":`Drop 1, 3, or 5 measures here`,\"chart.waterfall.dropZone.xAxis.empty\":`Drop a dimension here`,\"chart.waterfall.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.candlestick.dropZone.xAxis.empty\":`Drop a time or dimension here`,\"chart.candlestick.dropZone.yAxis.empty\":`Drop 2+ measures here`,\"chart.measureProfile.dropZone.yAxis.empty\":`Drop 2+ measures here (displayed left → right)`,\"chart.measureProfile.dropZone.series.empty\":`Drop a dimension here to create multiple lines`,\"chart.gauge.dropZone.yAxis.empty\":`Drop 1 measure here (optional 2nd for dynamic max)`,\"chart.activityGrid.validation.timeDimensionRequired\":`Time dimension is required for activity grid`,\"chart.activityGrid.validation.measureRequired\":`Activity measure is required for intensity mapping`,\"chart.kpiDelta.validation.measureRequired\":`A measure is required for KPI Delta charts`,\"chart.heatmap.validation.xAxisRequired\":`X-axis dimension required`,\"chart.heatmap.validation.yAxisRequired\":`Y-axis dimension required`,\"chart.heatmap.validation.valueRequired\":`Value measure required`,\"chart.option.stacking.label\":`Stacking`,\"chart.option.stacking.none\":`None`,\"chart.option.stacking.stacked\":`Stacked`,\"chart.option.stacking.percent\":`Stacked 100%`,\"chart.option.stacking.description\":`How to stack multiple series`,\"chart.option.target.label\":`Target Values`,\"chart.option.target.description\":`Single value or comma-separated values to spread across X-axis`,\"chart.option.connectNulls.label\":`Connect Nulls`,\"chart.option.connectNulls.description\":`Draw continuous line through missing data points`,\"chart.option.showAllXLabels.label\":`Show All X Labels`,\"chart.option.showAllXLabels.description\":`Display every label on the X-axis instead of auto-hiding overlapping labels`,\"chart.option.leftYAxisFormat.label\":`Left Y-Axis Format`,\"chart.option.leftYAxisFormat.description\":`Number formatting for left Y-axis`,\"chart.option.rightYAxisFormat.label\":`Right Y-Axis Format`,\"chart.option.rightYAxisFormat.description\":`Number formatting for right Y-axis`,\"chart.option.xAxisFormat.label\":`X-Axis Format`,\"chart.option.xAxisFormat.description\":`Number formatting for X-axis`,\"chart.option.yAxisFormat.label\":`Y-Axis Format`,\"chart.option.yAxisFormat.description\":`Number formatting for Y-axis`,\"chart.option.valueFormat.label\":`Value Format`,\"chart.option.valueFormat.description\":`Number formatting for values`,\"chart.option.innerRadius.label\":`Inner Radius`,\"chart.option.innerRadius.description\":`Hollow centre size (0% = solid pie, higher = donut style)`,\"chart.option.showLabels.label\":`Show Cell Values`,\"chart.option.showLabels.description\":`Display values inside each cell`,\"chart.option.cellShape.label\":`Cell Shape`,\"chart.option.cellShape.rectangle\":`Rectangle`,\"chart.option.cellShape.circle\":`Circle`,\"chart.option.funnelStyle.label\":`Funnel Style`,\"chart.option.funnelStyle.bars\":`Bars`,\"chart.option.funnelStyle.funnel\":`Funnel`,\"chart.option.funnelOrientation.label\":`Orientation`,\"chart.option.funnelOrientation.horizontal\":`Horizontal`,\"chart.option.funnelOrientation.vertical\":`Vertical`,\"chart.option.hideSummaryFooter.label\":`Hide Summary Footer`,\"chart.option.hideSummaryFooter.description\":`Hide the summary footer showing steps count and overall conversion`,\"chart.option.showConversion.label\":`Show Conversion Rate`,\"chart.option.showConversion.description\":`Display step-to-step conversion percentage`,\"chart.option.showAvgTime.label\":`Show Avg Time`,\"chart.option.showAvgTime.description\":`Display average time to convert`,\"chart.option.showMedianTime.label\":`Show Median Time`,\"chart.option.showMedianTime.description\":`Display median time to convert`,\"chart.option.showP90Time.label\":`Show P90 Time`,\"chart.option.showP90Time.description\":`Display 90th percentile time to convert`,\"chart.option.linkOpacity.label\":`Link Opacity`,\"chart.option.linkOpacity.light\":`Light`,\"chart.option.linkOpacity.medium\":`Medium`,\"chart.option.linkOpacity.dark\":`Dark`,\"chart.option.showNodeLabels.label\":`Show Node Labels`,\"chart.option.showNodeLabels.description\":`Display labels on flow nodes`,\"chart.option.prefix.label\":`Prefix`,\"chart.option.prefix.description\":`Text to display before the number`,\"chart.option.suffix.label\":`Suffix`,\"chart.option.suffix.description\":`Text to display after the number`,\"chart.option.decimals.label\":`Decimal Places`,\"chart.option.decimals.description\":`Number of decimal places to display`,\"chart.option.showHistogram.label\":`Show Variance Histogram`,\"chart.option.showHistogram.description\":`Display historical variance chart below the delta`,\"chart.option.useLastCompletePeriod.label\":`Use Last Complete Period`,\"chart.option.useLastCompletePeriod.description\":`Exclude current incomplete period from calculation (e.g., partial week/month)`,\"chart.option.skipLastPeriod.label\":`Skip Last Period`,\"chart.option.skipLastPeriod.description\":`Always exclude the last period regardless of completeness`,\"chart.option.retentionDisplayMode.label\":`Display Mode`,\"chart.option.retentionDisplayMode.lineChart\":`Line Chart`,\"chart.option.retentionDisplayMode.heatmapTable\":`Heatmap Table`,\"chart.option.retentionDisplayMode.combined\":`Combined`,\"chart.option.showLegend.label\":`Show Legend`,\"chart.option.showLegend.description\":`Show the legend`,\"chart.option.showGrid.label\":`Show Grid`,\"chart.option.showGrid.description\":`Show grid lines on the chart`,\"chart.option.showTooltip.label\":`Show Tooltip`,\"chart.option.showTooltip.description\":`Show tooltip on hover with detailed stats`,\"chart.option.priorPeriodStyle.label\":`Prior Period Line Style`,\"chart.option.priorPeriodStyle.dashed\":`Dashed`,\"chart.option.priorPeriodStyle.dotted\":`Dotted`,\"chart.option.priorPeriodStyle.solid\":`Solid`,\"chart.option.priorPeriodStyle.description\":`Line style for prior period in comparison mode`,\"chart.option.priorPeriodOpacity.label\":`Prior Period Opacity`,\"chart.option.priorPeriodOpacity.description\":`Opacity for prior period lines (0.1 to 1)`,\"chart.option.showTotal.label\":`Show Total Bar`,\"chart.option.showTotal.description\":`Append a final bar showing the running total`,\"chart.option.showConnectorLine.label\":`Show Connector Line`,\"chart.option.showConnectorLine.description\":`Draw a dashed step-line connecting bar tops`,\"chart.option.showDataLabels.label\":`Show Data Labels`,\"chart.option.showDataLabels.description\":`Display the value at each data point`,\"chart.option.showReferenceLineAtZero.label\":`Show Zero Reference Line`,\"chart.option.showReferenceLineAtZero.description\":`Draw a dashed line at Y = 0`,\"chart.option.lineType.label\":`Line Interpolation`,\"chart.option.lineType.smooth\":`Smooth (monotone)`,\"chart.option.lineType.linear\":`Linear`,\"chart.option.lineType.step\":`Step`,\"chart.option.lineType.description\":`How data points are connected`,\"chart.option.rangeMode.label\":`Chart Mode`,\"chart.option.rangeMode.ohlc\":`OHLC (open, close, high, low)`,\"chart.option.rangeMode.range\":`Range (high, low / bid, ask)`,\"chart.option.rangeMode.description\":`OHLC: 4 measures. Range: 2 measures (high + low).`,\"chart.option.bullColor.label\":`Bullish Colour`,\"chart.option.bullColor.description\":`Candle colour when close ≥ open`,\"chart.option.bearColor.label\":`Bearish Colour`,\"chart.option.bearColor.description\":`Candle colour when close < open`,\"chart.option.showWicks.label\":`Show Wicks`,\"chart.option.showWicks.description\":`Draw high/low wicks above and below the body`,\"chart.option.minValue.label\":`Minimum Value`,\"chart.option.minValue.description\":`Lower bound of the gauge arc (default 0)`,\"chart.option.maxValue.label\":`Maximum Value (static)`,\"chart.option.maxValue.description\":`Upper bound of the gauge. Leave empty to use yAxis[1] or default 100`,\"chart.option.showCentreLabel.label\":`Show Centre Label`,\"chart.option.showCentreLabel.description\":`Display current value and field name in the centre of the gauge`,\"chart.option.showPercentage.label\":`Show as Percentage`,\"chart.option.showPercentage.description\":`Display value as % of max instead of raw number`,\"chart.option.fitToWidth.label\":`Fit to Width`,\"chart.option.fitToWidth.description\":`Automatically size blocks to fill portlet width and height while maintaining aspect ratio`,\"chart.option.fontSize.label\":`Font Size`,\"chart.option.fontSize.small\":`Small`,\"chart.option.fontSize.medium\":`Medium`,\"chart.option.fontSize.large\":`Large`,\"chart.option.alignment.label\":`Text Alignment`,\"chart.option.alignment.left\":`Left`,\"chart.option.alignment.center\":`Center`,\"chart.option.alignment.right\":`Right`,\"chart.option.hideHeader.label\":`Hide Header`,\"chart.option.hideHeader.description\":`Hide the portlet header bar (title and action buttons)`,\"chart.option.transparentBackground.label\":`Transparent Background`,\"chart.option.transparentBackground.description\":`Remove card background, border, and shadow for seamless integration as section headers`,\"chart.option.autoHeight.label\":`Auto Height`,\"chart.option.autoHeight.description\":`In row and mobile layouts, size to markdown content instead of fixed row height`,\"chart.option.accentBorder.label\":`Accent Border`,\"chart.option.accentBorder.none\":`None`,\"chart.option.accentBorder.left\":`Left`,\"chart.option.accentBorder.top\":`Top`,\"chart.option.accentBorder.bottom\":`Bottom`,\"chart.option.accentBorder.description\":`Add an accent-coloured border on one side of the content`,\"chart.configText.20_percent\":`20%`,\"chart.configText.40_percent\":`40%`,\"chart.configText.60_percent\":`60%`,\"chart.configText.80_percent\":`80%`,\"chart.configText.accent_color\":`Accent Color`,\"chart.configText.activity_measure\":`Activity Measure`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`Add 2 or more measures — they become the X-axis categories in the order listed`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`Add an accent-colored border on one side of the content`,\"chart.configText.all_fields_to_display_as_columns\":`All fields to display as columns`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`Array of {value (0–1 fraction), color} bands shown as outer arc markers`,\"chart.configText.axes_categories\":`Axes (Categories)`,\"chart.configText.bubble_colour\":`Bubble Colour`,\"chart.configText.bubble_labels\":`Bubble Labels`,\"chart.configText.bubble_radius\":`Bubble Radius`,\"chart.configText.categories\":`Categories`,\"chart.configText.choose_how_to_visualize_retention_data\":`Choose how to visualize retention data`,\"chart.configText.color_bubbles_by_this_field_optional\":`Color bubbles by this field (optional)`,\"chart.configText.color_for_negative_changes_decreases\":`Color for negative changes (decreases)`,\"chart.configText.color_for_positive_changes_increases\":`Color for positive changes (increases)`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`Color from the dashboard palette for headers, bullets, and links`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`Color from the dashboard palette for the KPI value text`,\"chart.configText.color_groups\":`Color Groups`,\"chart.configText.columns\":`Columns`,\"chart.configText.columns_x_axis\":`Columns (X-Axis)`,\"chart.configText.count_at_each_step_auto_calculated\":`Count at each step (auto-calculated)`,\"chart.configText.count_of_entities_following_each_path\":`Count of entities following each path`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`Current value to display on the gauge (e.g. current equity, margin used)`,\"chart.configText.dimension_for_column_categories\":`Dimension for column categories`,\"chart.configText.dimension_for_ordering_data_typically_time\":`Dimension for ordering data (typically time)`,\"chart.configText.dimension_for_pie_slices\":`Dimension for pie slices`,\"chart.configText.dimension_for_row_categories\":`Dimension for row categories`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`Dimension labels for each bar segment (e.g. symbol, transaction type)`,\"chart.configText.dimension_optional\":`Dimension (optional)`,\"chart.configText.dimension_to_color_points_by_category\":`Dimension to color points by category`,\"chart.configText.dimension_to_color_rectangles_by_category\":`Dimension to color rectangles by category`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`Dimension to group boxes by (e.g. symbol, platform)`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`Dimension to split data into separate profile lines (e.g. symbol, platform)`,\"chart.configText.dimensions_for_radar_axes\":`Dimensions for radar axes`,\"chart.configText.dimensions_for_radial_segments\":`Dimensions for radial segments`,\"chart.configText.dimensions_for_treemap_rectangles\":`Dimensions for treemap rectangles`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`Dimensions to create multiple radar shapes`,\"chart.configText.dimensions_to_create_separate_lines\":`Dimensions to create separate lines`,\"chart.configText.dimensions_to_create_stacked_areas\":`Dimensions to create stacked areas`,\"chart.configText.display_the_value_above_each_bar_segment\":`Display the value above each bar segment`,\"chart.configText.display_value_at_each_data_point\":`Display value at each data point`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`Drop 1 measure for auto mode, 3 for avg/stddev/median mode, or 5 for min/q1/median/q3/max mode`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`Drop 2–4 measures in order: open, close, high, low (OHLC mode). For range mode drop 2: high, low.`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`Enter markdown text. Supports headers (#), bold (**text**), italic (*text*), links ([text](url)), lists (- item), and horizontal rules (---).`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`Event dimension that categorizes flow nodes`,\"chart.configText.event_type\":`Event Type`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`Exclude current incomplete period from aggregation (e.g., partial week/month)`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`Exclude current incomplete period from delta calculation (e.g., partial week/month)`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`Field to use for bubble labels and identification`,\"chart.configText.flow_count\":`Flow Count`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`Hide the statistics footer below the chart`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`Hollow center size (0% = solid pie, higher = donut style)`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`Horizontal alignment of the markdown content`,\"chart.configText.horizontal_axis_position\":`Horizontal axis position`,\"chart.configText.how_to_stack_multiple_area_series\":`How to stack multiple area series`,\"chart.configText.how_to_stack_multiple_bar_series\":`How to stack multiple bar series`,\"chart.configText.markdown_content\":`Markdown Content`,\"chart.configText.measure_for_rectangle_sizes\":`Measure for rectangle sizes`,\"chart.configText.measure_for_slice_sizes\":`Measure for slice sizes`,\"chart.configText.measure_for_y_position\":`Measure for Y position`,\"chart.configText.measure_or_dimension_for_x_position\":`Measure or dimension for X position`,\"chart.configText.measure_that_determines_cell_color\":`Measure that determines cell color`,\"chart.configText.measure_to_display_as_kpi_number\":`Measure to display as KPI number`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`Measure to display in the KPI text template`,\"chart.configText.measure_to_track_changes_for\":`Measure to track changes for`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`Measure used for activity intensity (color coding)`,\"chart.configText.measures_for_area_values\":`Measures for area values`,\"chart.configText.measures_for_bar_heights\":`Measures for bar heights`,\"chart.configText.measures_for_line_values\":`Measures for line values`,\"chart.configText.measures_for_radar_values\":`Measures for radar values`,\"chart.configText.measures_for_radial_bar_lengths\":`Measures for radial bar lengths`,\"chart.configText.measures_x_axis_order\":`Measures (X-Axis Order)`,\"chart.configText.negative_change_color\":`Negative Change Color`,\"chart.configText.none_pie\":`None (Pie)`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`Number formatting for cell values and legend`,\"chart.configText.number_formatting_for_numeric_values\":`Number formatting for numeric values`,\"chart.configText.number_formatting_for_size_values\":`Number formatting for size values`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`Number formatting for the displayed value and axis labels`,\"chart.configText.number_formatting_for_the_price_axis\":`Number formatting for the price axis`,\"chart.configText.number_formatting_for_the_value_axis\":`Number formatting for the value axis`,\"chart.configText.number_formatting_for_the_y_axis\":`Number formatting for the Y-axis`,\"chart.configText.number_formatting_for_x_axis_labels\":`Number formatting for X-axis labels`,\"chart.configText.number_formatting_for_y_axis_and_values\":`Number formatting for Y-axis and values`,\"chart.configText.number_formatting_for_y_axis_labels\":`Number formatting for Y-axis labels`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`Number of decimal places to display for numeric values`,\"chart.configText.ohlc_measures_open_close_high_low\":`OHLC Measures (open, close, high, low)`,\"chart.configText.opacity_of_flow_links\":`Opacity of flow links`,\"chart.configText.overall_text_size_for_the_markdown_content\":`Overall text size for the markdown content`,\"chart.configText.positive_change_color\":`Positive Change Color`,\"chart.configText.rows_y_axis\":`Rows (Y-Axis)`,\"chart.configText.series_color_groups\":`Series (Color Groups)`,\"chart.configText.series_multiple_lines\":`Series (Multiple Lines)`,\"chart.configText.series_multiple_shapes\":`Series (Multiple Shapes)`,\"chart.configText.series_split_into_multiple_lines\":`Series (Split into Multiple Lines)`,\"chart.configText.series_stack_areas\":`Series (Stack Areas)`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`Show series legend (only visible with a Series dimension)`,\"chart.configText.show_the_color_intensity_legend\":`Show the color intensity legend`,\"chart.configText.show_the_legend_for_breakdown_segments\":`Show the legend for breakdown segments`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`Single measure whose values are summed cumulatively`,\"chart.configText.size\":`Size`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`Size of bubbles based on this measure`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`Size of the center hole (0 for full circle)`,\"chart.configText.step_count\":`Step Count`,\"chart.configText.step_name\":`Step Name`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`Step names (auto-populated from funnel steps)`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`Target value to compare against (first value used if multiple provided)`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"Template for displaying the text. Use ${value} to insert the measure value.\",\"chart.configText.text_template\":`Text Template`,\"chart.configText.threshold_bands\":`Threshold Bands`,\"chart.configText.time_dimension\":`Time Dimension`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`Time dimension or category for each candle (e.g. date, symbol)`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`Time dimensions or dimensions for X-axis`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`Time field that determines grid structure (granularity affects layout)`,\"chart.configText.value\":`Value`,\"chart.configText.value_color\":`Value Color`,\"chart.configText.value_color_intensity\":`Value (Color Intensity)`,\"chart.configText.value_measure\":`Value Measure`,\"chart.configText.values\":`Values`,\"chart.configText.vertical_axis_position\":`Vertical axis position`,\"chart.configText.visualization_style\":`Visualization style`,\"chart.configText.x_axis_groups\":`X-Axis (Groups)`,\"chart.configText.x_axis_time_categories\":`X-Axis (Time/Categories)`,\"chart.configText.x_axis_time_category\":`X-Axis (Time / Category)`,\"chart.configText.y_axis\":`Y-Axis`,\"chart.configText.y_axis_measures\":`Y-Axis (Measures)`,\"chart.configText.y_axis_value\":`Y-Axis (Value)`,\"display.loading\":`Loading display options...`,\"display.noOptions\":`No display options available for this chart type.`,\"display.heading\":`Display Options`,\"results.loading.title\":`Executing Query...`,\"results.loading.subtitle\":`Running your query against the cube API`,\"results.error.title\":`Query Execution Failed`,\"results.error.subtitle\":`There was an error executing your query. Please check the query and try again.`,\"results.waiting.title\":`Preparing Query...`,\"results.waiting.subtitle\":`Your query will execute shortly`,\"results.needsRefresh.title\":`Ready to Execute`,\"results.needsRefresh.subtitle\":`Click refresh to run your query`,\"results.needsRefresh.runButton\":`Run Query`,\"results.empty.query\":`Add metrics or breakdowns from the panel on the right to see results`,\"results.empty.retention\":`Select a cube and configure retention settings to see results`,\"results.empty.funnel\":`Add funnel steps to see conversion analysis`,\"results.empty.flow\":`Configure flow analysis to see user journey paths`,\"results.empty.title\":`No Results Yet`,\"results.ai.button\":`Analyse with AI`,\"results.noData.title\":`Query Successful`,\"results.noData.subtitle\":`No data returned from the query`,\"results.chart.noData\":`No data to display`,\"results.chart.noDataHint\":`Run a query to see chart visualisation`,\"results.chart.unsupported\":`Unsupported chart type`,\"results.refreshing\":`Refreshing results...`,\"results.header.rows\":`rows`,\"results.header.row\":`row`,\"results.header.stale\":`Results may be outdated`,\"results.header.failed\":`Query failed`,\"results.header.executing\":`Executing...`,\"results.header.noResults\":`No results`,\"results.view.chart\":`Chart`,\"results.view.merged\":`Merged`,\"results.warning.largeDataset\":`Large dataset:`,\"results.warning.configChanged\":`Query configuration changed. Results may be outdated.`,\"results.warning.refreshNow\":`Refresh Now`,\"results.share.copied\":`Copied!`,\"results.share.noChart\":`(no chart)`,\"server.errors.dbNotConfigured\":`Database executor not configured`,\"server.errors.cubeNotFound\":`Cube '{cubeName}' not found`,\"server.errors.noCubesInQuery\":`No cubes found in query`,\"server.errors.dbAdapterRequired\":`DatabaseExecutor must have a databaseAdapter property`,\"server.errors.rlsRequiresTransactions\":`rlsSetup requires a database driver that supports transactions (db.transaction)`,\"server.errors.queryExecutionFailed\":`Query execution failed: {message}`,\"server.errors.queryExecutionUnknown\":`Query execution failed: Unknown error`,\"server.errors.noCompareDateRange\":`No compareDateRange found in query`,\"server.errors.compareDateRangeInvalid\":`compareDateRange requires at least 2 periods`,\"server.errors.funnelValidationFailed\":`Funnel validation failed: {errors}`,\"server.errors.flowValidationFailed\":`Flow validation failed: {errors}`,\"server.errors.retentionValidationFailed\":`Retention validation failed: {errors}`,\"server.errors.cubeRefUnresolved\":`{cubeName}.joins.{joinName}: target cube '{targetCube}' is not registered`,\"server.errors.unresolvedCubeRefs\":`Unresolved cube references:\n{details}`,\"server.errors.calculatedMeasureValidation\":`Calculated measure validation failed for cube '{cubeName}':\n{details}`,\"server.errors.queryValidationFailed\":`Query validation failed: {errors}`,\"server.errors.queryContainsMultipleModes\":`Query contains multiple query modes: {modes}`,\"server.errors.primaryCubeNotFound\":`Primary cube '{cubeName}' not found`,\"server.errors.noJoinPath\":`No join path found from '{fromCube}' to '{toCube}'`,\"server.errors.cubeNotFoundForMeasure\":`Cube '{cubeName}' not found for measure '{measure}'`,\"server.errors.cubeNotFoundForDimension\":`Cube '{cubeName}' not found for dimension '{dimension}'`,\"server.errors.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' not found for time dimension '{timeDimension}'`,\"server.errors.invalidFunnelConfig\":`Query does not contain a valid funnel configuration`,\"server.errors.invalidFlowConfig\":`Query does not contain a valid flow configuration`,\"server.errors.invalidRetentionConfig\":`Query does not contain a valid retention configuration`,\"server.errors.llmInitFailed\":`Failed to initialize LLM provider`,\"server.validation.ai.bindingKeyRequired.flow\":`flow.bindingKey is required`,\"server.validation.ai.bindingKeyRequired.funnel\":`funnel.bindingKey is required`,\"server.validation.ai.bindingKeyRequired.retention\":`retention.bindingKey is required`,\"server.validation.ai.cubeNotFoundInFilter\":`Cube '{cubeName}' not found in filter`,\"server.validation.ai.cubeNotFoundWithAvailable\":`Cube '{cubeName}' not found`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`Cube '{cubeName}' not found`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`Dimension '{dimensionName}' not found on cube '{cubeName}'`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`Dimension '{dimensionName}' not found on cube '{cubeName}'`,\"server.validation.ai.dimensionNotTimeType\":`Dimension '{dimension}' is not a time type (it's '{type}')`,\"server.validation.ai.emptyQuery\":`Query must have at least one measure or dimension`,\"server.validation.ai.eventDimensionRequired\":`flow.eventDimension is required`,\"server.validation.ai.filterFieldNotFound\":`Filter field '{fieldName}' not found on cube '{cubeName}'`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`Filter field '{fieldName}' not found on cube '{cubeName}'`,\"server.validation.ai.funnelRequiresSteps\":`funnel requires at least 2 steps`,\"server.validation.ai.funnelStepsRequired\":`funnel.steps array is required`,\"server.validation.ai.granularityNotSpecified\":`retention.granularity not specified`,\"server.validation.ai.invalidDimensionFormat\":`Invalid dimension format: '{dimension}'. Expected 'CubeName.dimensionName'`,\"server.validation.ai.invalidFilterMemberFormat\":`Invalid filter member format: '{member}'`,\"server.validation.ai.invalidMeasureFormat\":`Invalid measure format: '{measure}'. Expected 'CubeName.measureName'`,\"server.validation.ai.measureNotFoundWithAvailable\":`Measure '{measureName}' not found on cube '{cubeName}'`,\"server.validation.ai.measureNotFoundWithSuggestion\":`Measure '{measureName}' not found on cube '{cubeName}'`,\"server.validation.ai.performanceManyDimensions\":`Query has {count} dimensions, which may produce many rows`,\"server.validation.ai.performanceManyMeasures\":`Query has {count} measures, which may impact performance`,\"server.validation.ai.periodsNotSpecified\":`retention.periods not specified`,\"server.validation.ai.retentionTimeDimensionRequired\":`retention.timeDimension is required`,\"server.validation.ai.stepMissingName\":`Step {step} is missing a name`,\"server.validation.ai.stepsBothMissing\":`Neither stepsBefore nor stepsAfter specified`,\"server.validation.ai.suggestAddDimensionFilters\":`Consider adding filters or reducing dimensions`,\"server.validation.ai.suggestAddStepNames\":`Add descriptive names to funnel steps`,\"server.validation.ai.suggestSetSteps\":`Set stepsBefore and/or stepsAfter to see event sequences`,\"server.validation.ai.suggestSpecifyGranularity\":`Specify granularity: \"day\", \"week\", or \"month\"`,\"server.validation.ai.suggestSpecifyPeriods\":`Specify number of periods to analyze`,\"server.validation.ai.suggestSplitQueries\":`Consider splitting into multiple queries`,\"server.validation.ai.suggestUseTimeDimension\":`Use a dimension with type \"time\" for timeDimensions`,\"server.validation.ai.timeDimensionRequired.flow\":`flow.timeDimension is required`,\"server.validation.ai.timeDimensionRequired.funnel\":`funnel.timeDimension is required`,\"server.validation.chart.barNeedsDimension\":`Bar charts need an xAxis dimension for category labels. Add a dimension to the query or use \"table\" chart type instead.`,\"server.validation.chart.barXAxisRequired\":`chartConfig.xAxis is required for bar charts. Put a dimension in xAxis so bars have category labels.`,\"server.validation.chart.dropZoneRequired\":`chartConfig.{key} is required for {chartType} chart ({label}). Accepts: {acceptDesc}.`,\"server.validation.chart.seriesDuplicatesXAxis\":`chartConfig.series must not contain the same field as xAxis (found: {duplicates}). The series field is only for splitting into grouped/stacked sub-series by a DIFFERENT dimension. Remove the duplicate from series.`,\"server.validation.flow.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.flow.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.flow.eventDimCubeNotFound\":`Event dimension cube not found: {cubeName}`,\"server.validation.flow.eventDimNotFound\":`Event dimension not found: {dimName} in cube {cubeName}`,\"server.validation.flow.eventDimRequired\":`Event dimension is required for flow analysis`,\"server.validation.flow.highStepDepthWarning\":`High step depth (4-5) may impact query performance on large datasets`,\"server.validation.flow.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidEventDimFormat\":`Invalid event dimension format: {eventDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidJoinStrategy\":`Invalid joinStrategy: {joinStrategy}`,\"server.validation.flow.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.lateralNotSupported\":`Lateral joins are not supported on this database`,\"server.validation.flow.lateralNotSupportedExec\":`Lateral joins with CTE references are not supported on this database`,\"server.validation.flow.sqliteNotSupported\":`Flow queries are not supported on SQLite. Use PostgreSQL or MySQL for flow analysis.`,\"server.validation.flow.startingStepFilterRequired\":`Starting step must have at least one filter`,\"server.validation.flow.startingStepNameMissing\":`Starting step has no name - using default`,\"server.validation.flow.startingStepRequired\":`Starting step is required for flow analysis`,\"server.validation.flow.stepsBeforeRange\":`stepsBefore must be between 0 and 5, got: {value}`,\"server.validation.flow.stepsAfterRange\":`stepsAfter must be between 0 and 5, got: {value}`,\"server.validation.flow.timeDimCubeNotFound\":`Time dimension cube not found: {cubeName}`,\"server.validation.flow.timeDimNotFound\":`Time dimension not found: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.funnel.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.funnel.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.minSteps\":`Funnel must have at least 2 steps`,\"server.validation.funnel.stepCubeNotFound\":`Step {step} cube not found: {cube}`,\"server.validation.funnel.stepFilterCubeNotFound\":`Step {step} filter cube not found: {cubeName}`,\"server.validation.funnel.stepFilterIsMeasure\":`Step {step} filter '{member}' is a measure. Funnel step filters only support dimensions, not measures.`,\"server.validation.funnel.stepFilterMemberNotFound\":`Step {step} filter member not found: {field} in cube {cubeName}`,\"server.validation.funnel.stepFilterNoJoinPath\":`Step {step} filter '{member}' requires a join from '{stepCube}' but no join path was found. Define a join relationship between these cubes.`,\"server.validation.funnel.stepMustHaveName\":`Step {step} must have a name`,\"server.validation.funnel.stepTimeToConvertFormat\":`Step {step} timeToConvert must be ISO 8601 duration format: {value}`,\"server.validation.funnel.timeDimCubeNotFound\":`Time dimension cube not found: {cubeName}`,\"server.validation.funnel.timeDimNotFound\":`Time dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.retention.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.retention.breakdownDimCubeNotFound\":`Breakdown dimension cube not found: {cubeName}`,\"server.validation.retention.breakdownDimNotFound\":`Breakdown dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.cubeNotFound\":`Cube not found: {cubeName}`,\"server.validation.retention.dateRangeEndRequired\":`Date range end is required`,\"server.validation.retention.dateRangeInvalidEnd\":`Invalid date range end format`,\"server.validation.retention.dateRangeInvalidStart\":`Invalid date range start format`,\"server.validation.retention.dateRangeRequired\":`Date range is required`,\"server.validation.retention.dateRangeStartBeforeEnd\":`Date range start must be before or equal to end`,\"server.validation.retention.dateRangeStartRequired\":`Date range start is required`,\"server.validation.retention.engineNotSupported\":`Retention queries are not supported on {engine}. Use PostgreSQL or DuckDB for retention analysis.`,\"server.validation.retention.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidBreakdownDimFormat\":`Invalid breakdown dimension format: {dimension}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidGranularity\":`Invalid granularity: {granularity}`,\"server.validation.retention.invalidRetentionType\":`Invalid retention type: {retentionType}`,\"server.validation.retention.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}`,\"server.validation.retention.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.validation.retention.periodsMax\":`Periods cannot exceed 52 (performance limit)`,\"server.validation.retention.periodsMin\":`Periods must be at least 1`,\"server.validation.retention.timeDimNotFound\":`Time dimension not found: {dimName}`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`Calculated measure '{cubeName}.{fieldName}' must have calculatedSql property`,\"server.validation.calculatedMeasure.invalidSyntax\":`Invalid calculatedSql syntax in '{cubeName}.{fieldName}': {errors}`,\"server.validation.calculatedMeasure.circularDependency\":`Circular dependency detected in calculated measures: {cycle}`,\"server.validation.query.multipleQueryModes\":`Query contains multiple query modes: {modes}`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`Funnel binding key cube not found: {cubeName}`,\"server.validation.query.flowBindingKeyCubeNotFound\":`Flow binding key cube not found: {cubeName}`,\"server.validation.query.retentionCubeNotFound\":`Retention cube not found: {cubeName}`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`Retention binding key cube not found: {cubeName}`,\"server.validation.query.retentionBreakdownCubeNotFound\":`Retention breakdown cube not found: {cubeName}`,\"server.validation.query.invalidMeasureFormat\":`Invalid measure format: {measure}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForMeasure\":`Cube '{cubeName}' not found (referenced in measure '{measure}')`,\"server.validation.query.measureNotFound\":`Measure '{fieldName}' not found on cube '{cubeName}'{hint}`,\"server.validation.query.invalidDimensionFormat\":`Invalid dimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForDimension\":`Cube '{cubeName}' not found (referenced in dimension '{dimension}')`,\"server.validation.query.dimensionNotFound\":`Dimension '{fieldName}' not found on cube '{cubeName}'{hint}`,\"server.validation.query.invalidTimeDimensionFormat\":`Invalid timeDimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' not found (referenced in timeDimension '{dimension}')`,\"server.validation.query.timeDimensionNotFound\":`TimeDimension '{fieldName}' not found on cube '{cubeName}' (must be a dimension with time type)`,\"server.validation.query.mustReferenceAtLeastOneCube\":`Query must reference at least one cube through measures, dimensions, or filters`,\"server.validation.query.ungroupedRequiresDimension\":`Ungrouped queries require at least one dimension or time dimension`,\"server.validation.query.ungroupedIncompatibleFunnel\":`Ungrouped queries are incompatible with funnel analysis`,\"server.validation.query.ungroupedIncompatibleFlow\":`Ungrouped queries are incompatible with flow analysis`,\"server.validation.query.ungroupedIncompatibleRetention\":`Ungrouped queries are incompatible with retention analysis`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`Ungrouped queries are incompatible with compareDateRange`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`Ungrouped queries are incompatible with fillMissingDates`,\"server.validation.query.filterMustHaveMember\":`Filter must have a member field`,\"server.validation.query.invalidFilterMemberFormat\":`Invalid filter member format: {member}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForFilter\":`Cube '{cubeName}' not found (referenced in filter '{member}')`,\"server.validation.query.filterFieldNotFound\":`Filter field '{fieldName}' not found on cube '{cubeName}' (must be a dimension or measure){hint}`,\"server.errors.funnel.cubeNotFoundForStep\":`Cube not found for step: {cube}`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`Cube not found for binding key: {bindingKey}`,\"server.errors.funnel.cannotResolveCubeForStep\":`Cannot resolve cube for step - multi-cube funnel requires cube specification in each step`,\"server.errors.funnel.bindingKeyDimNotFound\":`Binding key dimension not found: {bindingKey}`,\"server.errors.funnel.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`Binding key dimension not found: {dimension}`,\"server.errors.funnel.timeDimNotFound\":`Time dimension not found: {timeDimension}`,\"server.errors.funnel.noTimeDimMapping\":`No time dimension mapping found for cube: {cubeName}`,\"server.errors.funnel.timeDimMappingNotFound\":`Time dimension not found: {dimension}`,\"server.errors.flow.cannotResolveCube\":`Cannot resolve cube for flow query`,\"server.errors.flow.cubeNotFound\":`Cube not found: {cubeName}`,\"server.errors.flow.bindingKeyDimNotFound\":`Binding key dimension not found: {bindingKey}`,\"server.errors.flow.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`Binding key dimension not found: {dimension}`,\"server.errors.flow.timeDimNotFound\":`Time dimension not found: {timeDimension}`,\"server.errors.flow.noTimeDimMapping\":`No time dimension mapping found for cube: {cubeName}`,\"server.errors.flow.timeDimMappingNotFound\":`Time dimension not found: {dimension}`,\"server.errors.flow.eventDimNotFound\":`Event dimension not found: {eventDimension}`,\"server.validation.template.emptyReference\":`Empty member reference {} found in template`,\"server.validation.template.invalidMemberReference\":`Invalid member reference {ref}: must start with letter or underscore, and contain only letters, numbers, underscores, and dots`,\"server.validation.template.multipleDots\":`Invalid member reference {ref}: only one dot allowed (Cube.measure format)`,\"server.validation.template.nestedBraces\":`Nested braces are not allowed in member references`,\"server.validation.template.substituteTargetCubeNotFound\":`Cannot substitute {ref}: cube '{cubeName}' not found`,\"server.validation.template.substituteMeasureNotResolved\":`Cannot substitute {ref}: measure '{measureName}' not resolved yet. Ensure measures are resolved in dependency order.`,\"server.validation.template.unmatchedClosingBrace\":`Unmatched closing brace at position {position}`,\"server.validation.template.unmatchedOpeningBrace\":`Unmatched opening brace in template`,\"notebook.aiAssistant\":`AI Assistant`,\"notebook.saveAsDashboard\":`Save as Dashboard`,\"notebook.saveAsDashboardTitle\":`Save notebook as a dashboard`,\"notebook.clearTitle\":`Clear notebook and chat`,\"notebook.feedbackThanks\":`Thanks for your feedback!`,\"notebook.feedbackQuestion\":`Was this helpful?`,\"notebook.feedbackYes\":`Yes`,\"notebook.feedbackNo\":`No`,\"notebook.thinking\":`Thinking...`,\"notebook.emptyState.title\":`Data Analysis Assistant`,\"notebook.emptyState.description\":`Ask me about your data and I'll create visualizations and insights.`,\"notebook.emptyState.example1\":`\"Show me employee productivity trends\"`,\"notebook.emptyState.example2\":`\"What are the top departments by headcount?\"`,\"notebook.emptyState.example3\":`\"Compare revenue across product categories\"`,\"notebook.saveAsDashboardPrompt\":`Save the current notebook as a dashboard with a professional layout, section headers, and appropriate filters.`,\"notebook.chatInput.placeholder\":`Ask about your data...`,\"notebook.chatInput.stop\":`Stop`,\"notebook.chatInput.continue\":`Continue`,\"notebook.chatInput.send\":`Send`,\"notebook.canvas.emptyTitle\":`Your notebook is empty`,\"notebook.canvas.emptyDescription\":`Ask the AI assistant a question about your data. Charts and insights will appear here as the assistant analyzes your data.`,\"notebook.canvas.editVisualization\":`Edit Visualization`,\"notebook.canvas.update\":`Update`,\"notebook.collapsed.noBlocks\":`No blocks`,\"notebook.collapsed.expandNotebook\":`Expand notebook`,\"notebook.collapsed.expandChat\":`Expand AI chat`,\"notebook.collapsed.aiChat\":`AI Chat`,\"notebook.collapsed.markdown\":`Markdown`,\"schema.loading\":`Loading cube schema...`,\"schema.error\":`Failed to load cube schema`,\"schema.noCubes\":`No cubes found`,\"schema.noCubesHint\":`Register some cubes to see the relationship diagram`,\"schema.computingLayout\":`Computing layout...`,\"schema.searchPlaceholder\":`Search cubes and fields...`,\"schema.autoLayout\":`Auto Layout`,\"schema.missingDeps.title\":`Schema Visualization requires additional packages`,\"schema.missingDeps.description\":`Install the required dependencies to enable the interactive schema diagram:`,\"schema.loadingVisualization\":`Loading schema visualization...`,\"schema.measures\":`Measures ({count})`,\"schema.timeDimensions\":`Time Dimensions ({count})`,\"schema.dimensions\":`Dimensions ({count})`,\"schema.cubeInfo\":`Cube info`,\"dataBrowser.selectCube\":`Select a cube`,\"dataBrowser.selectCubeHint\":`Choose a cube from the sidebar to browse its data`,\"dataBrowser.loadingData\":`Loading data...`,\"dataBrowser.noData\":`No data`,\"dataBrowser.noRows\":`No rows returned for this query`,\"dataBrowser.toolbar.filters\":`Filters`,\"dataBrowser.toolbar.columns\":`Columns`,\"dataBrowser.toolbar.rows\":`{count} rows`,\"dataBrowser.sidebar.cubes\":`Cubes`,\"dataBrowser.sidebar.searchPlaceholder\":`Search...`,\"dataBrowser.sidebar.noCubes\":`No cubes found`,\"queryAnalysis.summary\":`Query Summary`,\"queryAnalysis.summary.type\":`Type`,\"queryAnalysis.summary.cubes\":`Cubes`,\"queryAnalysis.summary.joins\":`Joins`,\"queryAnalysis.summary.ctes\":`CTEs`,\"queryAnalysis.summary.strategy\":`Strategy`,\"queryAnalysis.primaryCube\":`Primary Cube (FROM table)`,\"queryAnalysis.primaryCube.showCandidates\":`Show candidates ({count})`,\"queryAnalysis.primaryCube.reachable\":`reachable`,\"queryAnalysis.primaryCube.cannotReachAll\":`cannot reach all`,\"queryAnalysis.joinPaths\":`Join Paths`,\"queryAnalysis.joinPaths.steps\":`{count} step`,\"queryAnalysis.joinPaths.stepsPlural\":`{count} steps`,\"queryAnalysis.joinPaths.noPath\":`No path`,\"queryAnalysis.joinPaths.selection\":`Selection:`,\"queryAnalysis.joinPaths.pathCandidates\":`Path scoring candidates ({count})`,\"queryAnalysis.joinPaths.visitedCubes\":`Cubes visited during search ({count})`,\"queryAnalysis.preAggregations\":`Pre-Aggregation CTEs`,\"queryAnalysis.preAggregations.measures\":`Measures:`,\"queryAnalysis.preAggregations.joinKeys\":`Join keys:`,\"queryAnalysis.warnings\":`Warnings`,\"queryAnalysis.cubesInvolved\":`Cubes involved:`,\"common.actions.copied\":`Copied`,\"common.actions.copyToClipboard\":`Copy to clipboard`,\"chart.availability.requiresMeasure\":`Requires at least 1 measure`,\"chart.availability.requiresTwoMeasures\":`Requires at least 2 measures`,\"chart.availability.requiresDimension\":`Requires at least 1 dimension`,\"chart.availability.requiresTwoDimensions\":`Requires at least 2 dimensions`,\"chart.availability.requiresTimeDimension\":`Requires a time dimension`,\"chart.availability.scatter\":`Requires 2 measures, or 1 measure plus 1 dimension`,\"chart.availability.bubble\":`Requires at least 2 measures and 1 dimension`,\"chart.runtime.noData\":`No data available`,\"chart.runtime.noDataHint.bar\":`No data points to display in bar chart`,\"chart.runtime.noDataHint.line\":`No data points to display in line chart`,\"chart.runtime.noDataHint.area\":`No data points to display in area chart`,\"chart.runtime.noDataHint.pie\":`No data points to display in pie chart`,\"chart.runtime.noDataHint.scatter\":`No data points to display in scatter chart`,\"chart.runtime.noDataHint.radar\":`No data points to display in radar chart`,\"chart.runtime.noDataHint.radialBar\":`No data points to display in radial bar chart`,\"chart.runtime.noDataHint.treemap\":`No data points to display in treemap chart`,\"chart.runtime.noDataHint.bubble\":`No data points to display in bubble chart`,\"chart.runtime.noDataHint.boxPlot\":`No data points to display in box plot chart`,\"chart.runtime.noDataHint.waterfall\":`No data points to display in waterfall chart`,\"chart.runtime.noDataHint.candlestick\":`No data points to display in candlestick chart`,\"chart.runtime.noDataHint.gauge\":`No data points to display in gauge chart`,\"chart.runtime.noDataHint.measureProfile\":`No data points to display in measure profile chart`,\"chart.runtime.noDataHint.activityGrid\":`No data points to display in activity grid`,\"chart.runtime.noDataHint.heatmap\":`Run a query to see heatmap visualization`,\"chart.runtime.noDataHint.table\":`No data to display in table`,\"chart.runtime.noDataHint.kpi\":`No data points to display`,\"chart.runtime.noDataHint.funnel\":`Configure a funnel with at least 2 steps and a binding key`,\"chart.runtime.noDataHint.flow\":`Configure a flow analysis with a starting step and event dimension`,\"chart.runtime.noDataHint.retention\":`Configure retention analysis to see results`,\"chart.runtime.noValidData\":`No valid data`,\"chart.runtime.noValidDataHint.bar\":`No valid data points for bar chart after transformation`,\"chart.runtime.noValidDataHint.line\":`No valid data points for line chart after transformation`,\"chart.runtime.noValidDataHint.area\":`No valid data points for area chart after transformation`,\"chart.runtime.noValidDataHint.scatter\":`No valid data points for scatter chart after transformation`,\"chart.runtime.noValidDataHint.radar\":`No valid data points for radar chart after transformation`,\"chart.runtime.noValidDataHint.radialBar\":`No valid data points for radial bar chart after transformation`,\"chart.runtime.noValidDataHint.treemap\":`No valid data points for treemap chart after transformation`,\"chart.runtime.noValidDataHint.pie\":`No data points to display in pie chart`,\"chart.runtime.noValidDataHint.pieFiltered\":`Filtered out {count} data points (zero or invalid values)`,\"chart.runtime.noValidDataHint.boxPlot\":`Could not compute box plot statistics from the provided data`,\"chart.runtime.noValidDataHint.gauge\":`Gauge value is not a valid number`,\"chart.runtime.noValidDataHint.kpiText\":`All values are null or invalid`,\"chart.runtime.configError\":`Configuration Error`,\"chart.runtime.configErrorHint.axisInvalid\":`Invalid or missing chart axis configuration`,\"chart.runtime.configErrorHint.axisFields\":`Missing required X-axis or Y-axis fields`,\"chart.runtime.configErrorHint.pieAxis\":`chartConfig.x/y or chartConfig.xAxis/yAxis required for pie chart`,\"chart.runtime.configErrorHint.radarNumeric\":`No numeric fields found for radar chart values`,\"chart.runtime.configErrorHint.radialBarNumeric\":`No numeric field found for radial bar chart values`,\"chart.runtime.configErrorHint.treemapNumeric\":`No numeric field found for treemap chart size`,\"chart.runtime.configErrorHint.noMeasure\":`No measure field configured`,\"chart.runtime.configErrorHint.noMeasures\":`No measure fields configured`,\"chart.runtime.configErrorHint.bubbleRequired\":`Bubble chart requires xAxis, yAxis, series, and sizeField dimensions`,\"chart.runtime.configErrorHint.bubbleOptional\":`Optional: colorField for bubble coloring`,\"chart.runtime.configErrorHint.activityGridRequired\":`Activity grid requires a time dimension and a measure`,\"chart.runtime.chartError\":`{chartType} Error`,\"chart.runtime.unknownError\":`Unknown rendering error`,\"chart.runtime.checkConfig\":`Check the data and configuration`,\"chart.runtime.unableToRender\":`Unable to render retention data`,\"chart.runtime.dataFormatIncorrect\":`Data format may be incorrect`,\"chart.runtime.measuringDimensions\":`Measuring chart dimensions...`,\"chart.runtime.unableToDisplay\":`Unable to display chart`,\"chart.runtime.responsiveContainerError\":`Failed to create responsive container`,\"chart.runtime.noDataToDisplay\":`No data to display`,\"chart.runtime.table.invalidStructure\":`Data structure is invalid`,\"chart.runtime.heatmapNoResults\":`The query returned no results for the heatmap`,\"chart.runtime.heatmapConfigRequired\":`Configuration required`,\"chart.runtime.heatmapXRequired\":`X-axis dimension required. `,\"chart.runtime.heatmapYRequired\":`Y-axis dimension required. `,\"chart.runtime.heatmapValueRequired\":`Value measure required.`,\"chart.runtime.heatmapTruncated\":`Data truncated to {maxRows}x{maxCols} cells (original: {originalRows}x{originalCols}). Add filters to reduce dimensions.`,\"chart.runtime.activityGridGranularityTooHigh\":`Granularity Too High`,\"chart.runtime.activityGridGranularityHint\":`Activity grids work best with hour, day, week, month, or quarter granularity`,\"chart.runtime.activityGridGranularityAction\":`Please choose a lower granularity for your time dimension`,\"chart.runtime.activityGridConfigRequired\":`Configuration Required`,\"chart.runtime.retention.cohort\":`Cohort`,\"chart.runtime.retention.segment\":`Segment`,\"chart.runtime.retention.users\":`Users`,\"chart.runtime.retention.cohortSize\":`Cohort Size: {count}`,\"chart.runtime.retention.retained\":`Retained: {count}`,\"chart.runtime.retention.rate\":`Rate: {rate}`,\"chart.runtime.retention.retentionPercent\":`Retention %`,\"chart.runtime.retention.periodLabel\":`{cohort} - Period {period}`,\"chart.runtime.retention.noData\":`No data`,\"chart.runtime.retention.total\":`Total`,\"chart.runtime.retention.retention\":`Retention`,\"chart.runtime.funnel.noData\":`No funnel data`,\"chart.runtime.funnel.steps\":`steps`,\"chart.runtime.funnel.overall\":`Overall:`,\"chart.runtime.funnel.completed\":`{completed} / {total} completed`,\"chart.runtime.flow.noData\":`No flow data`,\"chart.runtime.flow.events\":`events`,\"chart.runtime.flow.eventsAfter\":`events (after)`,\"chart.runtime.flow.paths\":`Paths:`,\"chart.runtime.flow.startingEntities\":`starting entities`,\"chart.runtime.flow.entities\":`entities`,\"chart.runtime.kpiDelta.insufficientData\":`Insufficient Data`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`Delta calculation requires at least 2 data points`,\"chart.runtime.kpiDelta.currentPoints\":`Current data points: {count}`,\"chart.runtime.kpiDelta.noVariance\":`No variance data`,\"chart.runtime.kpiNumber.noData\":`No data`,\"chart.runtime.markdown.noContent\":`No content`,\"chart.runtime.markdown.addContent\":`Add markdown content in the chart configuration`,\"chart.runtime.axisFormat.label\":`Label`,\"chart.runtime.axisFormat.autoLabel\":`Auto-generated label`,\"chart.runtime.axisFormat.unit\":`Unit`,\"chart.runtime.axisFormat.custom\":`Custom`,\"chart.runtime.axisFormat.prefix\":`Prefix`,\"chart.runtime.axisFormat.prefixExample\":`e.g., $`,\"chart.runtime.axisFormat.suffix\":`Suffix`,\"chart.runtime.axisFormat.suffixExample\":`e.g., units`,\"chart.runtime.axisFormat.abbreviation\":`Abbreviation`,\"chart.runtime.axisFormat.yes\":`Yes`,\"chart.runtime.axisFormat.no\":`No`,\"chart.runtime.axisFormat.decimals\":`Decimals`,\"chart.runtime.axisFormat.preview\":`Preview`,\"chart.runtime.axisFormat.leftYAxis\":`Left Y-Axis`,\"chart.runtime.axisFormat.rightYAxis\":`Right Y-Axis`,\"chart.runtime.axisFormat.xAxis\":`X-Axis`,\"chart.runtime.missingDep.title\":`Missing Dependency`,\"chart.runtime.missingDep.description\":`The {chartType} chart requires the {packageName} package.`,\"chart.runtime.missingDep.restartHint\":`After installing, restart your development server.`,\"chart.runtime.unknownChartType\":`Unknown chart type`,\"chart.runtime.unknownChartTypeHint\":`\"{chartType}\" is not registered`,\"chart.runtime.boxPlot.truncated\":`Data truncated to {max} groups (original: {total})`,\"chart.runtime.candlestick.truncated\":`Showing first {max} candles (total: {total})`,\"chart.runtime.bar.hiddenPoints\":`{count} data point(s) with no values hidden`,\"chart.runtime.waterfall.increase\":`Increase`,\"chart.runtime.waterfall.decrease\":`Decrease`,\"chart.runtime.waterfall.total\":`Total`,\"chart.runtime.tooltip.noData\":`No data`,\"chart.runtime.tooltip.targetValue\":`Target Value`,\"results.toolbar.refreshing\":`Refreshing`,\"results.toolbar.refresh\":`Refresh`,\"results.toolbar.refreshTitle\":`Refresh data (Shift+click to bypass cache)`,\"results.toolbar.refreshingTitle\":`Refreshing...`,\"results.toolbar.cacheBustTitle\":`Click to refresh and bypass cache`,\"results.toolbar.clear\":`Clear`,\"results.toolbar.clearFunnel\":`Clear funnel`,\"results.toolbar.clearQuery\":`Clear all query data`,\"results.toolbar.aiClose\":`Close AI assistant`,\"results.toolbar.aiOpen\":`Analyse with AI`,\"results.toolbar.shareTitle\":`Share this analysis`,\"results.toolbar.shareCopied\":`Link copied!`,\"results.toolbar.schemaHide\":`Hide schema diagram`,\"results.toolbar.schemaShow\":`Show schema diagram`,\"results.toolbar.debugHide\":`Hide debug info`,\"results.toolbar.debugShow\":`Show debug info`,\"results.toolbar.chartView\":`Chart view`,\"results.toolbar.chartDisabled\":`Add metrics to enable chart view`,\"results.toolbar.tableView\":`Table view`,\"results.toolbar.mergedTableView\":`Merged table view`,\"results.view.table\":`Table`,\"results.warning.filterHint\":`Consider adding filters to improve performance.`,\"results.debug.query\":`Query:`,\"results.debug.queryAnalysis\":`Query Analysis`,\"results.debug.copyMarkdownTitle\":`Copy query, analysis, and SQL as markdown`,\"results.debug.copyAsMarkdown\":`Copy as Markdown`,\"results.debug.analysisError\":`Analysis unavailable due to error`,\"results.debug.analysisEmpty\":`Add metrics to see analysis`,\"results.debug.cubeQuery\":`Cube Query`,\"results.debug.cubeQueryExecuted\":`Executed Query (with funnel filters)`,\"results.debug.funnelFilterHint\":`This query includes an IN filter with binding key values from the previous step`,\"results.debug.noQuery\":`No query`,\"results.debug.serverResponse\":`Server Response`,\"results.debug.noResults\":`No results yet`,\"results.debug.chartConfig\":`Chart Config`,\"results.debug.displayConfig\":`Display Config`,\"results.debug.generatedSql\":`Generated SQL`,\"results.debug.loadingSql\":`Loading SQL...`,\"results.debug.executionError\":`Execution Error`,\"results.confirm.clearFunnel\":`Clear Funnel`,\"results.confirm.clearQuery\":`Clear Query`,\"results.confirm.clearFunnelMessage\":`Are you sure you want to clear this funnel? This action cannot be undone.`,\"results.confirm.clearQueryMessage\":`Are you sure you want to clear this query? This action cannot be undone.`,\"results.table.noData\":`No data to display`,\"results.table.noDataHint\":`Run a query to see table data`,\"results.flow.noData\":`No flow data to display`,\"results.flow.noDataHint\":`Configure flow analysis to see results`,\"results.flow.nodes\":`Nodes ({count})`,\"results.flow.transitions\":`Transitions ({count})`,\"results.flow.layer\":`Layer`,\"results.flow.name\":`Name`,\"results.flow.count\":`Count`,\"results.flow.from\":`From`,\"results.flow.to\":`To`,\"results.debug.funnel.label\":`Funnel Query`,\"results.debug.funnel.steps\":`{count} steps`,\"results.debug.funnel.serverQuery\":`Funnel Server Query`,\"results.debug.funnel.noQuery\":`No funnel query configured`,\"results.debug.funnel.sqlPlaceholder\":`Configure funnel binding key to generate SQL`,\"results.debug.funnel.stepsTitle\":`Funnel Steps`,\"results.debug.flow.label\":`Flow Query`,\"results.debug.flow.badge\":`{before} before, {after} after`,\"results.debug.flow.serverQuery\":`Flow Server Query`,\"results.debug.flow.noQuery\":`No flow query configured`,\"results.debug.flow.sqlPlaceholder\":`Configure flow to generate SQL`,\"results.debug.flow.configTitle\":`Flow Configuration`,\"results.debug.flow.startingStep\":`Starting Step:`,\"results.debug.flow.eventDimension\":`Event Dimension:`,\"results.debug.flow.stepsBefore\":`Steps Before:`,\"results.debug.flow.stepsAfter\":`Steps After:`,\"results.debug.flow.notSet\":`Not set`,\"results.debug.flow.responseTitle\":`Server Response (Sankey Data)`,\"results.debug.retention.label\":`Retention Query`,\"results.debug.retention.badge\":`{segments} segment(s), {users} users`,\"results.debug.retention.serverQuery\":`Retention Server Query`,\"results.debug.retention.configIncomplete\":`Configuration Incomplete`,\"results.debug.retention.configHint\":`Configure the retention analysis settings to generate a query.`,\"results.debug.retention.sqlPlaceholder\":`Configure retention to generate SQL`,\"results.debug.retention.configTitle\":`Retention Configuration`,\"results.debug.retention.summaryTitle\":`Retention Summary`,\"results.debug.retention.retentionType\":`Retention Type:`,\"results.debug.retention.periods\":`Periods:`,\"results.debug.retention.granularity\":`Granularity:`,\"results.debug.retention.segments\":`Segments:`,\"results.debug.retention.avgPeriod1\":`Avg Period 1:`,\"results.debug.retention.maxPeriod1\":`Max Period 1:`,\"results.debug.retention.minPeriod1\":`Min Period 1:`,\"results.debug.standard.sqlPlaceholder\":`Add metrics to generate SQL`,\"flow.tabs.flow\":`Flow`,\"flow.tabs.display\":`Display`,\"flow.tabs.displayUnavailable\":`Display options not available`,\"flow.tabs.displayTitle\":`Display options`,\"flow.visualization.title\":`Visualization`,\"flow.visualization.description\":`Choose how to visualize the flow data. This affects how data is aggregated.`,\"flow.visualization.sankey\":`Sankey`,\"flow.visualization.sankeyHint\":`Paths can converge`,\"flow.visualization.sunburst\":`Sunburst`,\"flow.visualization.sunburstHint\":`Unique paths only`,\"flow.startingStep.title\":`Starting Step`,\"flow.startingStep.description\":`Define the anchor event from which paths will be explored in both directions.`,\"flow.startingStep.filterLabel\":`Filter Conditions`,\"flow.depth.title\":`Exploration Depth`,\"flow.depth.descriptionSankey\":`How many steps to explore before and after the starting step.`,\"flow.depth.descriptionSunburst\":`How many steps to explore after the starting step.`,\"flow.depth.stepsBefore\":`Steps Before`,\"flow.depth.stepsBeforeNA\":`(N/A)`,\"flow.depth.stepsAfter\":`Steps After`,\"flow.depth.performanceWarning\":`High step depth (4-5) may impact query performance on large datasets.`,\"flow.joinStrategy.title\":`Join Strategy`,\"flow.joinStrategy.description\":`Control how before/after steps are fetched. Switch to window if lateral is slower on your DB.`,\"flow.joinStrategy.auto\":`Auto (prefer lateral if available)`,\"flow.joinStrategy.lateral\":`Lateral (index seeks)`,\"flow.joinStrategy.window\":`Window (ROW_NUMBER)`,\"retention.tabs.retention\":`Retention`,\"retention.tabs.display\":`Display`,\"retention.tabs.displayUnavailable\":`Display options not available`,\"retention.tabs.displayTitle\":`Display options`,\"retention.dateRange.title\":`Date Range`,\"retention.dateRange.description\":`Select the date range for cohort entry. Users who first appear within this range will be analyzed.`,\"retention.dateRange.label\":`Date Range`,\"retention.dateRange.selectRange\":`Select date range`,\"retention.dateRange.customRange\":`Custom Range`,\"retention.dateRange.applyCustom\":`Apply Custom Range`,\"retention.cohortFilter.title\":`Cohort Filter`,\"retention.cohortFilter.description\":`Define who enters the cohort. Users whose first event matches these filters within the date range are included.`,\"retention.returnFilter.title\":`Return Filter`,\"retention.returnFilter.description\":`Define what counts as a return. Events matching these filters in subsequent periods count as retention.`,\"retention.breakdown.title\":`Breakdown`,\"retention.breakdown.description\":`Optionally segment retention by dimensions (e.g., country, plan type).`,\"retention.settings.title\":`Settings`,\"retention.settings.description\":`Configure how retention is calculated and displayed.`,\"retention.settings.granularityLabel\":`Period Granularity`,\"retention.settings.periodsLabel\":`Number of Periods ({min}-{max})`,\"retention.settings.periodsWarning\":`High period count may impact query performance.`,\"retention.settings.retentionTypeLabel\":`Retention Type`,\"debug.explainPlan\":`Explain Plan`,\"debug.explainRunning\":`Running...`,\"debug.explainIncludeTiming\":`Include timing`,\"debug.explainRunningAnalyze\":`Running EXPLAIN ANALYZE...`,\"debug.explainRunningBasic\":`Running EXPLAIN...`,\"debug.explainError\":`Explain Error:`,\"debug.sequentialScans\":`Sequential Scans Detected`,\"debug.indexesUsed\":`{count} Index Used`,\"debug.indexesUsedPlural\":`{count} Indexes Used`,\"debug.executionTime\":`Execution: {time}ms`,\"debug.planningTime\":`Planning: {time}ms`,\"debug.cost\":`Cost: {cost}`,\"debug.indexes\":`Indexes:`,\"debug.executionPlanTitle\":`Execution Plan ({database})`,\"debug.aiAnalyzing\":`Analyzing...`,\"debug.aiAnalysis\":`AI Analysis`,\"debug.aiAnalysisError\":`AI Analysis Error:`,\"explainAI.title\":`AI Performance Analysis`,\"explainAI.assessment.good\":`Good`,\"explainAI.assessment.warning\":`Warning`,\"explainAI.assessment.critical\":`Critical`,\"explainAI.summary\":`Summary`,\"explainAI.queryAnalysis\":`Query Analysis`,\"explainAI.issuesFound\":`Issues Found ({count})`,\"explainAI.recommendations\":`Recommendations ({count})`,\"explainAI.noRecommendations\":`No specific recommendations. The query appears to be well-optimized.`,\"explainAI.expectedImpact\":`Expected impact:`,\"explainAI.addToCube\":`Add to {cubeName} cube:`,\"explainAI.modelLabel\":`Model:`,\"explainAI.usingUserKey\":`(using your API key)`,\"explainAI.copied\":`Copied!`,\"explainAI.copy\":`Copy`,\"explainAI.type.index\":`INDEX`,\"explainAI.type.table\":`TABLE`,\"explainAI.type.cube\":`CUBE`,\"explainAI.type.general\":`TIP`,\"errorBoundary.modeError\":`Mode Error`,\"errorBoundary.modeErrorDescription\":`There was a problem with the {mode} mode. This might be due to invalid configuration data.`,\"errorBoundary.showDetails\":`Show error details`,\"errorBoundary.unknownError\":`Unknown error`,\"errorBoundary.tryAgain\":`Try Again`,\"errorBoundary.switchToQuery\":`Switch to Query Mode`,\"funnel.tabs.steps\":`Steps`,\"funnel.tabs.display\":`Display`,\"funnel.tabs.displayUnavailable\":`Display options not available`,\"funnel.tabs.displayTitle\":`Display options`,\"funnel.steps.title\":`Funnel Steps`,\"funnel.steps.emptyMessage\":`No steps defined. Add at least 2 steps to create a funnel.`,\"funnel.steps.addFirst\":`Add First Step`,\"funnel.steps.addStep\":`Add Step`,\"funnel.steps.validationHint\":`Add at least one more step to create a valid funnel`,\"funnel.step.removeTitle\":`Remove step`,\"funnel.step.editNameTitle\":`Click to edit name`,\"funnel.step.placeholder\":`Step name`,\"funnel.step.timeWindow\":`Time Window`,\"funnel.step.timeWindowHelp\":`Max time from previous step to qualify`,\"funnel.step.filters\":`{count} filter`,\"funnel.step.filtersPlural\":`{count} filters`,\"funnel.step.within\":`within {time}`,\"funnel.step.noFilters\":`No filters configured`,\"funnel.config.configuration\":`Configuration`,\"funnel.config.cube\":`Cube`,\"funnel.config.cubeHelp\":`Select a cube configured for funnel analysis`,\"funnel.config.cubePlaceholder\":`Select event stream cube`,\"funnel.config.bindingKey\":`Binding Key`,\"funnel.config.bindingKeyHelp\":`Entity that connects steps (e.g., user ID, order ID)`,\"funnel.config.bindingKeyPlaceholder\":`Select binding key`,\"funnel.config.selectCubeFirst\":`Select cube first`,\"funnel.config.timeDimension\":`Time Dimension`,\"funnel.config.timeDimensionHelp\":`Timestamp field for step ordering`,\"funnel.config.timeDimensionPlaceholder\":`Select time dimension`,\"funnel.config.noMatchingFields\":`No matching fields found`,\"funnel.bindingKey.searchPlaceholder\":`Search dimensions...`,\"funnel.bindingKey.noMatching\":`No matching dimensions found`,\"funnel.bindingKey.helpText\":`Select a dimension that identifies entities across funnel steps (e.g., user ID, order ID)`,\"funnel.bindingKey.clearTitle\":`Clear binding key`,\"flow.config.configuration\":`Configuration`,\"flow.config.cube\":`Cube`,\"flow.config.cubeHelp\":`Select a cube configured for flow analysis`,\"flow.config.cubePlaceholder\":`Select event stream cube`,\"flow.config.bindingKey\":`Binding Key`,\"flow.config.bindingKeyHelp\":`Entity that links events together (e.g., user ID)`,\"flow.config.bindingKeyPlaceholder\":`Select binding key`,\"flow.config.selectCubeFirst\":`Select cube first`,\"flow.config.timeDimension\":`Time Dimension`,\"flow.config.timeDimensionHelp\":`Timestamp field for event ordering`,\"flow.config.timeDimensionPlaceholder\":`Select time dimension`,\"flow.config.eventDimension\":`Event Dimension`,\"flow.config.eventDimensionHelp\":`Dimension that categorizes events (node labels in Sankey)`,\"flow.config.eventDimensionPlaceholder\":`Select event dimension`,\"flow.config.noMatchingFields\":`No matching fields found`,\"retention.config.configuration\":`Configuration`,\"retention.config.cube\":`Cube`,\"retention.config.cubeHelp\":`Select the cube containing your user events`,\"retention.config.cubePlaceholder\":`Select cube`,\"retention.config.bindingKey\":`Binding Key`,\"retention.config.bindingKeyHelp\":`Dimension that identifies entities across events (e.g., user ID, customer ID)`,\"retention.config.bindingKeyPlaceholder\":`Select user identifier`,\"retention.config.selectCubeFirst\":`Select cube first`,\"retention.config.timestamp\":`Timestamp`,\"retention.config.timestampHelp\":`Timestamp field for cohort entry and activity`,\"retention.config.timestampPlaceholder\":`Select timestamp`,\"retention.config.noMatchingFields\":`No matching fields found`,\"retention.config.searchPlaceholder\":`Search...`,\"display.showLegend\":`Show Legend`,\"display.showGrid\":`Show Grid`,\"display.showTooltip\":`Show Tooltip`,\"display.stacked\":`Stacked`,\"display.hideHeader\":`Hide Header`,\"fieldSearch.aria.closeDialog\":`Close dialog`,\"fieldSearch.aria.filterByCube\":`Filter by cube`,\"fieldSearch.aria.cubeCategories\":`Cube categories`,\"fieldSearch.aria.availableFields\":`Available fields`,\"chart.dropZone.required\":`This field is required`,\"common.actions.apply\":`Apply`,\"common.actions.done\":`Done`,\"common.actions.update\":`Update`,\"common.actions.retry\":`Retry`,\"common.actions.exit\":`Exit`,\"common.actions.selectAll\":`Select All`,\"common.saving\":`Saving...`,\"common.labels.title\":`Title`,\"dashboardFilter.editFilter\":`Edit Filter`,\"dashboardFilter.filterLabel\":`Filter Label`,\"dashboardFilter.enterFilterLabel\":`Enter filter label`,\"dashboardFilter.universalTimeFilter\":`Universal Time Filter`,\"dashboardFilter.universalTimeDescription\":`This filter applies to all time dimensions in mapped portlets. Users can select the date range when viewing the dashboard.`,\"dashboardFilter.field\":`Field`,\"dashboardFilter.showDashboardFields\":`Show dashboard fields only`,\"dashboardFilter.showAllFields\":`Show all fields`,\"dashboardFilter.dashboard\":`Dashboard`,\"dashboardFilter.all\":`All`,\"dashboardFilter.clickToSelectField\":`Click to select a field`,\"dashboardFilter.operator\":`Operator`,\"dashboardFilter.defaultValue\":`Default Value`,\"dashboardFilter.deleteFilter\":`Delete Filter`,\"dashboardFilter.noValueRequired\":`No value required`,\"dashboardFilter.to\":`to`,\"dashboardFilter.selectValue\":`Select value...`,\"dashboardFilter.search\":`Search...`,\"dashboardFilter.errorPrefix\":`Error: `,\"dashboardFilter.noValuesFound\":`No values found`,\"dashboardFilter.enterValue\":`Enter value...`,\"dashboardFilter.enterNumber\":`Enter number`,\"dashboardFilter.min\":`Min`,\"dashboardFilter.max\":`Max`,\"dashboardFilter.filterLabelRequired\":`Filter label is required`,\"dashboardFilter.selectFieldRequired\":`Please select a field for the filter`,\"dashboardFilter.notSet\":`(not set)`,\"dashboardFilter.clickToConfigure\":`Click to configure`,\"dashboardFilter.customDate.startDate\":`Start Date`,\"dashboardFilter.customDate.endDate\":`End Date`,\"dashboardFilter.customDate.sinceDate\":`Since Date`,\"dashboardFilter.customDate.fromSelectedToToday\":`From selected date to today`,\"dashboardFilter.customDate.number\":`Number`,\"dashboardFilter.customDate.unit\":`Unit`,\"dashboardFilter.customDate.lastNPreview\":`Last {number} {unit}`,\"dashboardFilter.editMode.filters\":`Filters`,\"dashboardFilter.editMode.noFilters\":`No filters configured. Click \"Add\" to create one.`,\"dashboardFilter.editMode.dateRange\":`Date Range`,\"dashboardFilter.editMode.filter\":`Filter`,\"dashboardFilter.editMode.editFilter\":`Edit filter`,\"dashboardFilter.editMode.removeFilter\":`Remove filter`,\"dashboardFilter.filterValue.editValue\":`Edit value`,\"dashboardFilter.readOnly.filters\":`Filters`,\"filter.shared.fieldsInQuery\":`Fields in Query ({count})`,\"filter.shared.allAvailableFields\":`All Available Fields ({count})`,\"filter.shared.noFieldsMatch\":`No fields found matching \"{searchTerm}\"`,\"filter.shared.searchFields\":`Search fields...`,\"filter.shared.selectField\":`Select field...`,\"filter.shared.schemaNotLoaded\":`Schema not loaded`,\"filter.shared.group.addFilter\":`Add Filter`,\"filter.shared.group.addAndGroup\":`Add AND Group`,\"filter.shared.group.addOrGroup\":`Add OR Group`,\"filter.shared.group.addCondition\":`Add condition`,\"filter.shared.group.noConditions\":`No conditions in this group.`,\"filter.shared.group.addFilterLink\":`Add a filter`,\"filter.shared.builder.filters\":`Filters ({count})`,\"filter.shared.builder.clearAll\":`Clear all`,\"filter.shared.builder.addFilter\":`Add Filter`,\"filter.shared.dateRange.title\":`Date Ranges ({count})`,\"filter.shared.dateRange.clearAll\":`Clear all`,\"filter.shared.dateRange.addDateRange\":`Add Date Range`,\"filter.shared.dateRange.allHaveDateRanges\":`All time dimensions already have date ranges`,\"filter.shared.valueSelector.noValueRequired\":`No value required`,\"filter.shared.valueSelector.to\":`to`,\"filter.shared.valueSelector.min\":`Min`,\"filter.shared.valueSelector.max\":`Max`,\"filter.shared.valueSelector.enterNumber\":`Enter number`,\"filter.shared.valueSelector.loadingValues\":`Loading values...`,\"filter.shared.valueSelector.selectValue\":`Select value...`,\"filter.shared.valueSelector.searchValues\":`Search values...`,\"filter.shared.valueSelector.searching\":`Searching...`,\"filter.shared.valueSelector.errorLoading\":`Error loading values: {error}`,\"filter.shared.valueSelector.noMatchingValues\":`No matching values`,\"filter.shared.valueSelector.noValuesAvailable\":`No values available`,\"filter.shared.valueSelector.enterValue\":`Enter {type} value`,\"dashboard.noPortlets\":`No Portlets`,\"dashboard.noPortletsDescription\":`Add your first portlet to start visualizing your data`,\"dashboard.addText\":`Add Text`,\"dashboard.addPortlet\":`Add Portlet`,\"dashboard.finishEditing\":`Finish Editing`,\"dashboard.edit\":`Edit`,\"dashboard.grid\":`Grid`,\"dashboard.rows\":`Rows`,\"dashboard.desktopRequired\":`Desktop view required for editing`,\"dashboard.editModeHint\":`Drag • Resize • Auto-save`,\"dashboard.filterSelectionMode\":`Filter Selection Mode - Click portlets to toggle '{filterLabel}'`,\"dashboard.filterSelectionEscHint\":`• Press Enter or Esc to save`,\"dashboard.filterFieldChipHint\":`Click to change which field this filter applies to for this portlet`,\"dashboard.editPortlet\":`Edit Portlet`,\"dashboard.addNewPortlet\":`Add New Portlet`,\"dashboard.updatePortlet\":`Update Portlet`,\"dashboard.deletePortlet\":`Delete Portlet`,\"dashboard.deletePortletConfirm\":`Are you sure you want to delete`,\"dashboard.deletePortletSuffix\":`? This action cannot be undone.`,\"dashboard.thisPortlet\":`this portlet`,\"dashboard.editModal.dashboardName\":`Dashboard Name`,\"dashboard.editModal.enterDashboardName\":`Enter dashboard name...`,\"dashboard.editModal.descriptionOptional\":`Description (optional)`,\"dashboard.editModal.enterDescription\":`Enter description...`,\"portlet.configRequired\":`Configuration Required`,\"portlet.configRequiredHint\":`Please configure this chart`,\"portlet.queryError\":`Query Error`,\"portlet.queryWithFilters\":`Query (with filters applied)`,\"portlet.chartConfig\":`Chart Config`,\"portlet.noDataAvailable\":`No data available`,\"portlet.noDataDrilled\":`No data points to display for the current filter`,\"portlet.invalidQuery\":`Invalid query or no results`,\"portlet.unsupportedChartType\":`Unsupported chart type`,\"portlet.unableToRender\":`Unable to render chart`,\"portlet.enterTitle\":`Enter portlet title...`,\"portlet.enterPortletTitle\":`Please enter a title for the portlet.`,\"portlet.configureQuery\":`Please configure a query before saving.`,\"portlet.configureFlow\":`Please configure the flow analysis (binding key, time dimension, event dimension, and starting step filter).`,\"portlet.configureRetention\":`Please configure the retention analysis (binding key, time dimension, and date range).`,\"portlet.configureFunnel\":`Please add at least two funnel steps.`,\"portlet.addMetricOrBreakdown\":`Please add at least one metric or breakdown to your query.`,\"portlet.filterConfig.title\":`Configure Dashboard Filters`,\"portlet.filterConfig.subtitle\":`Choose which dashboard filters apply to \"{portletTitle}\"`,\"portlet.filterConfig.noFilters\":`No dashboard filters available`,\"portlet.filterConfig.noFiltersHint\":`Add filters at the dashboard level first`,\"portlet.filterConfig.availableFilters\":`Available Filters`,\"portlet.filterConfig.selectedCount\":`{selected} of {total} selected`,\"portlet.filterConfig.applied\":`Applied`,\"portlet.filterConfig.noValue\":`no value`,\"portlet.filterConfig.complexFilter\":`Complex filter`,\"portlet.filterConfig.groupFilter\":`{type} group with {count} filter`,\"portlet.filterConfig.groupFilterPlural\":`{type} group with {count} filters`,\"portlet.filterConfig.applyFilters\":`Apply Filters`,\"portlet.filterConfig.applyToField\":`Apply to field`,\"portlet.filterConfig.applyToFieldDefault\":`Default ({field})`,\"portlet.filterConfig.mappedTo\":`Mapped to {field}`,\"portlet.filterConfig.mappedFieldMissing\":`The mapped field \"{field}\" is no longer available in the schema`,\"textPortlet.editText\":`Edit Text`,\"textPortlet.addText\":`Add Text`,\"textPortlet.markdownContent\":`Markdown Content`,\"textPortlet.markdownHint\":`Supports headers (#), bold (**text**), italic (*text*), links ([text](url)), lists (- item), and horizontal rules (---).`,\"textPortlet.preview\":`Preview`,\"debug.title\":`Chart Debug Information`,\"debug.chartType\":`Chart Type`,\"debug.fieldAnalysis\":`Field Analysis`,\"debug.chartConfig\":`Chart Config`,\"debug.displayConfig\":`Display Config`,\"debug.queryObject\":`Query Object`,\"debug.dataSample\":`Data Sample (first 3 rows)`,\"debug.cacheStatus\":`Cache Status`,\"debug.cacheHit\":`Cache Hit`,\"debug.cachedAt\":`Cached At:`,\"debug.ttl\":`TTL:`,\"debug.ttlRemaining\":`TTL Remaining:`,\"debug.freshQuery\":`Fresh Query`,\"debug.notFromCache\":`Result not served from cache`,\"debug.escToClose\":`Press`,\"debug.escKey\":`ESC`,\"debug.toClose\":`to close`,\"debug.tooltip\":`Debug chart configuration`,\"error.unableToRender\":`Unable to render chart`,\"error.unableToRenderNamed\":`Unable to render {title}`,\"error.renderDescription\":`There was an error rendering this chart component. The error details are shown below.`,\"error.errorLabel\":`Error:`,\"error.typeLabel\":`Type:`,\"error.portletConfig\":`Portlet Configuration`,\"error.cubeQuery\":`Cube Query`,\"error.componentStack\":`Component Stack`,\"error.tryAgain\":`Try Again`,\"drill.back\":`Back`,\"drill.goBackOneLevel\":`Go back one level`,\"drill.returnToTop\":`Return to top level`,\"drill.navigateTo\":`Navigate to {label}`,\"drill.empty\":`(empty)`,\"analyticsPage.title\":`Analytics Page - Coming in Phase 4`,\"dataHistogram.average\":`Average of {count} values`,\"dataHistogram.valuesInRange\":`{count} values in this range`,\"mcp.status.connecting\":`Connecting...`,\"mcp.status.loading\":`Loading...`,\"mcp.status.waiting\":`Waiting for query results...`,\"mcp.error.connectionLabel\":`Connection error:`,\"mcp.error.errorLabel\":`Error:`,\"mcp.error.noTextContent\":`No text content in result`,\"mcp.error.invalidResultFormat\":`Invalid result format: missing data array`,\"mcp.error.parseFailed\":`Failed to parse result: {message}`,\"mcp.error.queryFailed\":`Query failed: {message}`,\"mcp.footer.rows\":`{count} row`,\"mcp.footer.rowsPlural\":`{count} rows`,\"mcp.footer.measures\":`{count} measure`,\"mcp.footer.measuresPlural\":`{count} measures`,\"mcp.footer.dimensions\":`{count} dimension`,\"mcp.footer.dimensionsPlural\":`{count} dimensions`}})),Sv=c({default:()=>Cv}),Cv,wv=o((()=>{Cv={\"analysis.modes.query.label\":`crwdns2661:0crwdne2661:0`,\"analysis.modes.query.description\":`crwdns2663:0crwdne2663:0`,\"analysis.modes.funnel.label\":`crwdns2665:0crwdne2665:0`,\"analysis.modes.funnel.description\":`crwdns2667:0crwdne2667:0`,\"analysis.modes.flow.label\":`crwdns2669:0crwdne2669:0`,\"analysis.modes.flow.description\":`crwdns2671:0crwdne2671:0`,\"analysis.modes.retention.label\":`crwdns2673:0crwdne2673:0`,\"analysis.modes.retention.description\":`crwdns2675:0crwdne2675:0`,\"analysis.ai.title\":`crwdns2677:0crwdne2677:0`,\"analysis.ai.generating\":`crwdns2679:0crwdne2679:0`,\"analysis.ai.placeholder\":`crwdns2681:0crwdne2681:0`,\"analysis.ai.shortcutHint\":`crwdns2683:0crwdne2683:0`,\"analysis.ai.successMessage\":`crwdns2685:0crwdne2685:0`,\"analysis.ai.button.accept\":`crwdns2687:0crwdne2687:0`,\"analysis.ai.button.cancel\":`crwdns2689:0crwdne2689:0`,\"analysis.ai.button.close\":`crwdns2691:0crwdne2691:0`,\"analysis.ai.button.generate\":`crwdns2693:0crwdne2693:0`,\"analysis.ai.button.generating\":`crwdns2695:0crwdne2695:0`,\"analysis.sections.metrics\":`crwdns2697:0crwdne2697:0`,\"analysis.sections.breakdown\":`crwdns2699:0crwdne2699:0`,\"analysis.sections.dimensions\":`crwdns2701:0crwdne2701:0`,\"analysis.sections.filters\":`crwdns2703:0crwdne2703:0`,\"analysis.sections.limit\":`crwdns2705:0crwdne2705:0`,\"analysis.tabs.query\":`crwdns2707:0crwdne2707:0`,\"analysis.tabs.chart\":`crwdns2709:0crwdne2709:0`,\"analysis.tabs.chartTitle\":`crwdns2711:0crwdne2711:0`,\"analysis.tabs.display\":`crwdns2715:0crwdne2715:0`,\"analysis.tabs.displayTitle\":`crwdns2717:0crwdne2717:0`,\"analysis.multiQuery.removeQuery\":`crwdns2721:0crwdne2721:0`,\"analysis.multiQuery.addQuery\":`crwdns2723:0crwdne2723:0`,\"analysis.multiQuery.addAnother\":`crwdns2725:0crwdne2725:0`,\"analysis.multiQuery.mergeExplanation\":`crwdns2727:0crwdne2727:0`,\"analysis.multiQuery.switchToSeparate\":`crwdns2729:0crwdne2729:0`,\"analysis.mergeStrategy.concat\":`crwdns2731:0crwdne2731:0`,\"analysis.mergeStrategy.merge\":`crwdns2733:0crwdne2733:0`,\"analysis.mergeStrategy.funnel\":`crwdns2735:0crwdne2735:0`,\"analysis.placeholders.addMetrics\":`crwdns2737:0crwdne2737:0`,\"analysis.placeholders.hoverField\":`crwdns2739:0crwdne2739:0`,\"analysis.placeholders.noData\":`crwdns2741:0crwdne2741:0`,\"common.actions.accept\":`crwdns2743:0crwdne2743:0`,\"common.actions.cancel\":`crwdns2745:0crwdne2745:0`,\"common.actions.delete\":`crwdns2747:0crwdne2747:0`,\"common.actions.close\":`crwdns2749:0crwdne2749:0`,\"common.actions.edit\":`crwdns2751:0crwdne2751:0`,\"common.actions.save\":`crwdns2753:0crwdne2753:0`,\"common.actions.copy\":`crwdns2755:0crwdne2755:0`,\"common.actions.duplicate\":`crwdns2757:0crwdne2757:0`,\"common.actions.refresh\":`crwdns2759:0crwdne2759:0`,\"common.actions.confirm\":`crwdns2761:0crwdne2761:0`,\"common.actions.add\":`crwdns2763:0crwdne2763:0`,\"common.actions.clear\":`crwdns2765:0crwdne2765:0`,\"common.actions.select\":`crwdns2767:0crwdne2767:0`,\"common.actions.navigate\":`crwdns2769:0crwdne2769:0`,\"common.actions.share\":`crwdns2771:0crwdne2771:0`,\"common.loading\":`crwdns2773:0crwdne2773:0`,\"common.modal.processing\":`crwdns2775:0crwdne2775:0`,\"common.modal.dashboardName\":`crwdns2777:0crwdne2777:0`,\"common.modal.deleteConfirmation\":`crwdns2779:0crwdne2779:0`,\"common.sorting.ascending\":`crwdns2781:0crwdne2781:0`,\"common.sorting.descending\":`crwdns2783:0crwdne2783:0`,\"common.sorting.none\":`crwdns2785:0crwdne2785:0`,\"fieldTypes.count\":`crwdns2787:0crwdne2787:0`,\"fieldTypes.countDistinct\":`crwdns2789:0crwdne2789:0`,\"fieldTypes.countDistinctApprox\":`crwdns2791:0crwdne2791:0`,\"fieldTypes.sum\":`crwdns2793:0crwdne2793:0`,\"fieldTypes.avg\":`crwdns2795:0crwdne2795:0`,\"fieldTypes.min\":`crwdns2797:0crwdne2797:0`,\"fieldTypes.max\":`crwdns2799:0crwdne2799:0`,\"fieldTypes.runningTotal\":`crwdns2801:0crwdne2801:0`,\"fieldTypes.number\":`crwdns2803:0crwdne2803:0`,\"fieldTypes.string\":`crwdns2805:0crwdne2805:0`,\"fieldTypes.boolean\":`crwdns2807:0crwdne2807:0`,\"fieldTypes.time\":`crwdns2809:0crwdne2809:0`,\"fieldTypes.geo\":`crwdns2811:0crwdne2811:0`,\"fieldTypes.dimension\":`crwdns2813:0crwdne2813:0`,\"fieldPanel.emptyState\":`crwdns2815:0crwdne2815:0`,\"fieldPanel.usageHint\":`crwdns2817:0crwdne2817:0`,\"fieldPanel.labels.type\":`crwdns2819:0crwdne2819:0`,\"fieldPanel.labels.cube\":`crwdns2821:0crwdne2821:0`,\"fieldPanel.labels.category\":`crwdns2823:0crwdne2823:0`,\"fieldCategory.measure\":`crwdns2825:0crwdne2825:0`,\"fieldCategory.timeDimension\":`crwdns2827:0crwdne2827:0`,\"fieldCategory.dimension\":`crwdns2829:0crwdne2829:0`,\"fieldSearch.placeholder.metrics\":`crwdns2831:0crwdne2831:0`,\"fieldSearch.placeholder.filter\":`crwdns2833:0crwdne2833:0`,\"fieldSearch.placeholder.dimensions\":`crwdns2835:0crwdne2835:0`,\"fieldSearch.modal.title.metrics\":`crwdns2837:0crwdne2837:0`,\"fieldSearch.modal.title.filter\":`crwdns2839:0crwdne2839:0`,\"fieldSearch.modal.title.dimensions\":`crwdns2841:0crwdne2841:0`,\"fieldSearch.filter.allCubes\":`crwdns2843:0crwdne2843:0`,\"fieldSearch.categories.all\":`crwdns2845:0crwdne2845:0`,\"fieldSearch.empty.heading\":`crwdns2847:0crwdne2847:0`,\"fieldSearch.empty.noMatchMetrics\":`crwdns2849:0{searchTerm}crwdne2849:0`,\"fieldSearch.empty.noMatchDimensions\":`crwdns2851:0{searchTerm}crwdne2851:0`,\"fieldSearch.empty.noMetrics\":`crwdns2853:0crwdne2853:0`,\"fieldSearch.empty.noDimensions\":`crwdns2855:0crwdne2855:0`,\"fieldSearch.section.recents\":`crwdns2857:0crwdne2857:0`,\"fieldSearch.footer.metricsAvailable\":`crwdns2859:0crwdne2859:0`,\"fieldSearch.footer.fieldsAvailable\":`crwdns2861:0crwdne2861:0`,\"fieldSearch.footer.dimensionsAvailable\":`crwdns2863:0crwdne2863:0`,\"fieldSearch.shortcut.navigate\":`crwdns2865:0crwdne2865:0`,\"fieldSearch.shortcut.keyEnter\":`crwdns3991:0crwdne3991:0`,\"fieldSearch.shortcut.keyShift\":`crwdns3993:0crwdne3993:0`,\"fieldSearch.shortcut.keyEsc\":`crwdns3995:0crwdne3995:0`,\"fieldSearch.shortcut.plusClick\":`crwdns3997:0crwdne3997:0`,\"fieldSearch.shortcut.select\":`crwdns2867:0crwdne2867:0`,\"fieldSearch.shortcut.multiSelect\":`crwdns2869:0crwdne2869:0`,\"fieldSearch.shortcut.close\":`crwdns2871:0crwdne2871:0`,\"filter.group.condition\":`crwdns2873:0crwdne2873:0`,\"filter.group.conditions\":`crwdns2875:0crwdne2875:0`,\"filter.group.addFilter\":`crwdns2877:0crwdne2877:0`,\"filter.group.addAndGroup\":`crwdns2879:0crwdne2879:0`,\"filter.group.addOrGroup\":`crwdns2881:0crwdne2881:0`,\"filter.group.removeGroup\":`crwdns2883:0crwdne2883:0`,\"filter.group.empty\":`crwdns2885:0crwdne2885:0`,\"filter.group.addFilterLink\":`crwdns2887:0crwdne2887:0`,\"filter.modal.title\":`crwdns2889:0crwdne2889:0`,\"filter.modal.fieldLabel\":`crwdns2891:0crwdne2891:0`,\"filter.modal.operatorLabel\":`crwdns2893:0crwdne2893:0`,\"filter.modal.valueLabel\":`crwdns2895:0crwdne2895:0`,\"filter.modal.selectRange\":`crwdns2897:0crwdne2897:0`,\"filter.modal.noValueRequired\":`crwdns2899:0crwdne2899:0`,\"filter.modal.dateTo\":`crwdns2901:0crwdne2901:0`,\"filter.modal.min\":`crwdns2903:0crwdne2903:0`,\"filter.modal.to\":`crwdns2905:0crwdne2905:0`,\"filter.modal.max\":`crwdns2907:0crwdne2907:0`,\"filter.modal.enterNumber\":`crwdns2909:0crwdne2909:0`,\"filter.modal.loading\":`crwdns2911:0crwdne2911:0`,\"filter.modal.selectValue\":`crwdns2913:0crwdne2913:0`,\"filter.modal.search\":`crwdns2915:0crwdne2915:0`,\"filter.modal.errorPrefix\":`crwdns2917:0crwdne2917:0`,\"filter.modal.noValues\":`crwdns2919:0crwdne2919:0`,\"filter.modal.multiSelectHint\":`crwdns2921:0crwdne2921:0`,\"filter.modal.enterValue\":`crwdns2923:0crwdne2923:0`,\"filter.removeButton.title\":`crwdns2925:0crwdne2925:0`,\"filter.section.clearAll\":`crwdns2927:0crwdne2927:0`,\"filter.section.dropHint\":`crwdns2929:0crwdne2929:0`,\"filter.section.empty\":`crwdns2931:0crwdne2931:0`,\"filter.valueDisplay.empty\":`crwdns2933:0crwdne2933:0`,\"filter.valueDisplay.more\":`crwdns2935:0crwdne2935:0`,\"filter.operator.equals.label\":`crwdns2937:0crwdne2937:0`,\"filter.operator.equals.description\":`crwdns2939:0crwdne2939:0`,\"filter.operator.notEquals.label\":`crwdns2941:0crwdne2941:0`,\"filter.operator.notEquals.description\":`crwdns2943:0crwdne2943:0`,\"filter.operator.contains.label\":`crwdns2945:0crwdne2945:0`,\"filter.operator.contains.description\":`crwdns2947:0crwdne2947:0`,\"filter.operator.notContains.label\":`crwdns2949:0crwdne2949:0`,\"filter.operator.notContains.description\":`crwdns2951:0crwdne2951:0`,\"filter.operator.startsWith.label\":`crwdns2953:0crwdne2953:0`,\"filter.operator.startsWith.description\":`crwdns2955:0crwdne2955:0`,\"filter.operator.notStartsWith.label\":`crwdns2957:0crwdne2957:0`,\"filter.operator.notStartsWith.description\":`crwdns2959:0crwdne2959:0`,\"filter.operator.endsWith.label\":`crwdns2961:0crwdne2961:0`,\"filter.operator.endsWith.description\":`crwdns2963:0crwdne2963:0`,\"filter.operator.notEndsWith.label\":`crwdns2965:0crwdne2965:0`,\"filter.operator.notEndsWith.description\":`crwdns2967:0crwdne2967:0`,\"filter.operator.like.label\":`crwdns2969:0crwdne2969:0`,\"filter.operator.like.description\":`crwdns2971:0crwdne2971:0`,\"filter.operator.notLike.label\":`crwdns2973:0crwdne2973:0`,\"filter.operator.notLike.description\":`crwdns2975:0crwdne2975:0`,\"filter.operator.ilike.label\":`crwdns2977:0crwdne2977:0`,\"filter.operator.ilike.description\":`crwdns2979:0crwdne2979:0`,\"filter.operator.gt.label\":`crwdns2981:0crwdne2981:0`,\"filter.operator.gt.description\":`crwdns2983:0crwdne2983:0`,\"filter.operator.gte.label\":`crwdns2985:0crwdne2985:0`,\"filter.operator.gte.description\":`crwdns2987:0crwdne2987:0`,\"filter.operator.lt.label\":`crwdns2989:0crwdne2989:0`,\"filter.operator.lt.description\":`crwdns2991:0crwdne2991:0`,\"filter.operator.lte.label\":`crwdns2993:0crwdne2993:0`,\"filter.operator.lte.description\":`crwdns2995:0crwdne2995:0`,\"filter.operator.between.label\":`crwdns2997:0crwdne2997:0`,\"filter.operator.between.description\":`crwdns2999:0crwdne2999:0`,\"filter.operator.notBetween.label\":`crwdns3001:0crwdne3001:0`,\"filter.operator.notBetween.description\":`crwdns3003:0crwdne3003:0`,\"filter.operator.in.label\":`crwdns3005:0crwdne3005:0`,\"filter.operator.in.description\":`crwdns3007:0crwdne3007:0`,\"filter.operator.notIn.label\":`crwdns3009:0crwdne3009:0`,\"filter.operator.notIn.description\":`crwdns3011:0crwdne3011:0`,\"filter.operator.set.label\":`crwdns3013:0crwdne3013:0`,\"filter.operator.set.description\":`crwdns3015:0crwdne3015:0`,\"filter.operator.notSet.label\":`crwdns3017:0crwdne3017:0`,\"filter.operator.notSet.description\":`crwdns3019:0crwdne3019:0`,\"filter.operator.isEmpty.label\":`crwdns3021:0crwdne3021:0`,\"filter.operator.isEmpty.description\":`crwdns3023:0crwdne3023:0`,\"filter.operator.isNotEmpty.label\":`crwdns3025:0crwdne3025:0`,\"filter.operator.isNotEmpty.description\":`crwdns3027:0crwdne3027:0`,\"filter.operator.inDateRange.label\":`crwdns3029:0crwdne3029:0`,\"filter.operator.inDateRange.description\":`crwdns3031:0crwdne3031:0`,\"filter.operator.beforeDate.label\":`crwdns3033:0crwdne3033:0`,\"filter.operator.beforeDate.description\":`crwdns3035:0crwdne3035:0`,\"filter.operator.afterDate.label\":`crwdns3037:0crwdne3037:0`,\"filter.operator.afterDate.description\":`crwdns3039:0crwdne3039:0`,\"filter.operator.regex.label\":`crwdns3041:0crwdne3041:0`,\"filter.operator.regex.description\":`crwdns3043:0crwdne3043:0`,\"filter.operator.notRegex.label\":`crwdns3045:0crwdne3045:0`,\"filter.operator.notRegex.description\":`crwdns3047:0crwdne3047:0`,\"filter.operator.arrayContains.label\":`crwdns3049:0crwdne3049:0`,\"filter.operator.arrayContains.description\":`crwdns3051:0crwdne3051:0`,\"filter.operator.arrayOverlaps.label\":`crwdns3053:0crwdne3053:0`,\"filter.operator.arrayOverlaps.description\":`crwdns3055:0crwdne3055:0`,\"filter.operator.arrayContained.label\":`crwdns3057:0crwdne3057:0`,\"filter.operator.arrayContained.description\":`crwdns3059:0crwdne3059:0`,\"dateRange.custom\":`crwdns3061:0crwdne3061:0`,\"dateRange.today\":`crwdns3063:0crwdne3063:0`,\"dateRange.yesterday\":`crwdns3065:0crwdne3065:0`,\"dateRange.thisWeek\":`crwdns3067:0crwdne3067:0`,\"dateRange.thisMonth\":`crwdns3069:0crwdne3069:0`,\"dateRange.thisQuarter\":`crwdns3071:0crwdne3071:0`,\"dateRange.thisYear\":`crwdns3073:0crwdne3073:0`,\"dateRange.last7Days\":`crwdns3075:0crwdne3075:0`,\"dateRange.last30Days\":`crwdns3077:0crwdne3077:0`,\"dateRange.lastNDays\":`crwdns3079:0crwdne3079:0`,\"dateRange.lastWeek\":`crwdns3081:0crwdne3081:0`,\"dateRange.lastNWeeks\":`crwdns3083:0crwdne3083:0`,\"dateRange.lastMonth\":`crwdns3085:0crwdne3085:0`,\"dateRange.last12Months\":`crwdns3087:0crwdne3087:0`,\"dateRange.lastNMonths\":`crwdns3089:0crwdne3089:0`,\"dateRange.lastQuarter\":`crwdns3091:0crwdne3091:0`,\"dateRange.lastNQuarters\":`crwdns3093:0crwdne3093:0`,\"dateRange.lastYear\":`crwdns3095:0crwdne3095:0`,\"dateRange.lastNYears\":`crwdns3097:0crwdne3097:0`,\"timeGranularity.hour\":`crwdns3099:0crwdne3099:0`,\"timeGranularity.day\":`crwdns3101:0crwdne3101:0`,\"timeGranularity.week\":`crwdns3103:0crwdne3103:0`,\"timeGranularity.month\":`crwdns3105:0crwdne3105:0`,\"timeGranularity.quarter\":`crwdns3107:0crwdne3107:0`,\"timeGranularity.year\":`crwdns3109:0crwdne3109:0`,\"query.limit.label\":`crwdns3111:0crwdne3111:0`,\"query.limit.clear\":`crwdns3113:0crwdne3113:0`,\"chart.bar.label\":`crwdns3115:0crwdne3115:0`,\"chart.bar.description\":`crwdns3117:0crwdne3117:0`,\"chart.bar.useCase\":`crwdns3119:0crwdne3119:0`,\"chart.line.label\":`crwdns3121:0crwdne3121:0`,\"chart.line.description\":`crwdns3123:0crwdne3123:0`,\"chart.line.useCase\":`crwdns3125:0crwdne3125:0`,\"chart.area.label\":`crwdns3127:0crwdne3127:0`,\"chart.area.description\":`crwdns3129:0crwdne3129:0`,\"chart.area.useCase\":`crwdns3131:0crwdne3131:0`,\"chart.pie.label\":`crwdns3133:0crwdne3133:0`,\"chart.pie.description\":`crwdns3135:0crwdne3135:0`,\"chart.pie.useCase\":`crwdns3137:0crwdne3137:0`,\"chart.scatter.label\":`crwdns3139:0crwdne3139:0`,\"chart.scatter.description\":`crwdns3141:0crwdne3141:0`,\"chart.scatter.useCase\":`crwdns3143:0crwdne3143:0`,\"chart.bubble.label\":`crwdns3145:0crwdne3145:0`,\"chart.bubble.description\":`crwdns3147:0crwdne3147:0`,\"chart.bubble.useCase\":`crwdns3149:0crwdne3149:0`,\"chart.radar.label\":`crwdns3151:0crwdne3151:0`,\"chart.radar.description\":`crwdns3153:0crwdne3153:0`,\"chart.radar.useCase\":`crwdns3155:0crwdne3155:0`,\"chart.radialBar.label\":`crwdns3157:0crwdne3157:0`,\"chart.radialBar.description\":`crwdns3159:0crwdne3159:0`,\"chart.radialBar.useCase\":`crwdns3161:0crwdne3161:0`,\"chart.treemap.label\":`crwdns3163:0crwdne3163:0`,\"chart.treemap.description\":`crwdns3165:0crwdne3165:0`,\"chart.treemap.useCase\":`crwdns3167:0crwdne3167:0`,\"chart.table.label\":`crwdns3169:0crwdne3169:0`,\"chart.table.description\":`crwdns3171:0crwdne3171:0`,\"chart.table.useCase\":`crwdns3173:0crwdne3173:0`,\"chart.activityGrid.label\":`crwdns3175:0crwdne3175:0`,\"chart.activityGrid.description\":`crwdns3177:0crwdne3177:0`,\"chart.activityGrid.useCase\":`crwdns3179:0crwdne3179:0`,\"chart.kpiNumber.label\":`crwdns3181:0crwdne3181:0`,\"chart.kpiNumber.description\":`crwdns3183:0crwdne3183:0`,\"chart.kpiNumber.useCase\":`crwdns3185:0crwdne3185:0`,\"chart.kpiDelta.label\":`crwdns3187:0crwdne3187:0`,\"chart.kpiDelta.description\":`crwdns3189:0crwdne3189:0`,\"chart.kpiDelta.useCase\":`crwdns3191:0crwdne3191:0`,\"chart.kpiText.label\":`crwdns3193:0crwdne3193:0`,\"chart.kpiText.description\":`crwdns3195:0crwdne3195:0`,\"chart.kpiText.useCase\":`crwdns3197:0crwdne3197:0`,\"chart.markdown.label\":`crwdns3199:0crwdne3199:0`,\"chart.markdown.description\":`crwdns3201:0crwdne3201:0`,\"chart.markdown.useCase\":`crwdns3203:0crwdne3203:0`,\"chart.funnel.label\":`crwdns3205:0crwdne3205:0`,\"chart.funnel.description\":`crwdns3207:0crwdne3207:0`,\"chart.funnel.useCase\":`crwdns3209:0crwdne3209:0`,\"chart.sankey.label\":`crwdns3211:0crwdne3211:0`,\"chart.sankey.description\":`crwdns3213:0crwdne3213:0`,\"chart.sankey.useCase\":`crwdns3215:0crwdne3215:0`,\"chart.sunburst.label\":`crwdns3217:0crwdne3217:0`,\"chart.sunburst.description\":`crwdns3219:0crwdne3219:0`,\"chart.sunburst.useCase\":`crwdns3221:0crwdne3221:0`,\"chart.heatmap.label\":`crwdns3223:0crwdne3223:0`,\"chart.heatmap.description\":`crwdns3225:0crwdne3225:0`,\"chart.heatmap.useCase\":`crwdns3227:0crwdne3227:0`,\"chart.retentionHeatmap.label\":`crwdns3229:0crwdne3229:0`,\"chart.retentionHeatmap.description\":`crwdns3231:0crwdne3231:0`,\"chart.retentionHeatmap.useCase\":`crwdns3233:0crwdne3233:0`,\"chart.retentionCombined.label\":`crwdns3235:0crwdne3235:0`,\"chart.retentionCombined.description\":`crwdns3237:0crwdne3237:0`,\"chart.retentionCombined.useCase\":`crwdns3239:0crwdne3239:0`,\"chart.boxPlot.label\":`crwdns3241:0crwdne3241:0`,\"chart.boxPlot.description\":`crwdns3243:0crwdne3243:0`,\"chart.boxPlot.useCase\":`crwdns3245:0crwdne3245:0`,\"chart.waterfall.label\":`crwdns3247:0crwdne3247:0`,\"chart.waterfall.description\":`crwdns3249:0crwdne3249:0`,\"chart.waterfall.useCase\":`crwdns3251:0crwdne3251:0`,\"chart.candlestick.label\":`crwdns3253:0crwdne3253:0`,\"chart.candlestick.description\":`crwdns3255:0crwdne3255:0`,\"chart.candlestick.useCase\":`crwdns3257:0crwdne3257:0`,\"chart.measureProfile.label\":`crwdns3259:0crwdne3259:0`,\"chart.measureProfile.description\":`crwdns3261:0crwdne3261:0`,\"chart.measureProfile.useCase\":`crwdns3263:0crwdne3263:0`,\"chart.gauge.label\":`crwdns3265:0crwdne3265:0`,\"chart.gauge.description\":`crwdns3267:0crwdne3267:0`,\"chart.gauge.useCase\":`crwdns3269:0crwdne3269:0`,\"chart.config.chartType\":`crwdns3271:0crwdne3271:0`,\"chart.config.loading\":`crwdns3273:0crwdne3273:0`,\"chart.config.axisConfig\":`crwdns3275:0crwdne3275:0`,\"chart.config.unassigned\":`crwdns3277:0crwdne3277:0`,\"chart.config.unassignedHint\":`crwdns3279:0crwdne3279:0`,\"chart.config.noFields\":`crwdns3281:0crwdne3281:0`,\"chart.dropZone.xAxis.label\":`crwdns3283:0crwdne3283:0`,\"chart.dropZone.xAxis.description\":`crwdns3285:0crwdne3285:0`,\"chart.dropZone.xAxis.empty\":`crwdns3287:0crwdne3287:0`,\"chart.dropZone.yAxis.label\":`crwdns3289:0crwdne3289:0`,\"chart.dropZone.yAxis.description\":`crwdns3291:0crwdne3291:0`,\"chart.dropZone.yAxis.empty\":`crwdns3293:0crwdne3293:0`,\"chart.dropZone.series.label\":`crwdns3295:0crwdne3295:0`,\"chart.dropZone.series.description\":`crwdns3297:0crwdne3297:0`,\"chart.dropZone.series.empty\":`crwdns3299:0crwdne3299:0`,\"chart.option.stacking.label\":`crwdns3301:0crwdne3301:0`,\"chart.option.stacking.none\":`crwdns3303:0crwdne3303:0`,\"chart.option.stacking.stacked\":`crwdns3305:0crwdne3305:0`,\"chart.option.stacking.percent\":`crwdns3307:0crwdne3307:0`,\"chart.option.stacking.description\":`crwdns3309:0crwdne3309:0`,\"chart.option.target.label\":`crwdns3311:0crwdne3311:0`,\"chart.option.target.description\":`crwdns3313:0crwdne3313:0`,\"chart.option.connectNulls.label\":`crwdns3315:0crwdne3315:0`,\"chart.option.connectNulls.description\":`crwdns3317:0crwdne3317:0`,\"chart.option.showAllXLabels.label\":`Wys Alle X-etikette`,\"chart.option.showAllXLabels.description\":`Wys elke etiket op die X-as in plaas van oorvleuelende etikette outomaties te verberg`,\"chart.option.leftYAxisFormat.label\":`crwdns3319:0crwdne3319:0`,\"chart.option.leftYAxisFormat.description\":`crwdns3321:0crwdne3321:0`,\"chart.option.rightYAxisFormat.label\":`crwdns3323:0crwdne3323:0`,\"chart.option.rightYAxisFormat.description\":`crwdns3325:0crwdne3325:0`,\"chart.option.xAxisFormat.label\":`crwdns3327:0crwdne3327:0`,\"chart.option.xAxisFormat.description\":`crwdns3329:0crwdne3329:0`,\"chart.option.yAxisFormat.label\":`crwdns3331:0crwdne3331:0`,\"chart.option.yAxisFormat.description\":`crwdns3333:0crwdne3333:0`,\"chart.option.valueFormat.label\":`crwdns3335:0crwdne3335:0`,\"chart.option.valueFormat.description\":`crwdns3337:0crwdne3337:0`,\"chart.option.innerRadius.label\":`crwdns3339:0crwdne3339:0`,\"chart.option.innerRadius.description\":`crwdns3341:0crwdne3341:0`,\"chart.option.showLabels.label\":`crwdns3343:0crwdne3343:0`,\"chart.option.showLabels.description\":`crwdns3345:0crwdne3345:0`,\"chart.option.cellShape.label\":`crwdns3347:0crwdne3347:0`,\"chart.option.cellShape.rectangle\":`crwdns3349:0crwdne3349:0`,\"chart.option.cellShape.circle\":`crwdns3351:0crwdne3351:0`,\"chart.option.funnelStyle.label\":`crwdns3353:0crwdne3353:0`,\"chart.option.funnelStyle.bars\":`crwdns3355:0crwdne3355:0`,\"chart.option.funnelStyle.funnel\":`crwdns3357:0crwdne3357:0`,\"chart.option.funnelOrientation.label\":`crwdns3359:0crwdne3359:0`,\"chart.option.funnelOrientation.horizontal\":`crwdns3361:0crwdne3361:0`,\"chart.option.funnelOrientation.vertical\":`crwdns3363:0crwdne3363:0`,\"chart.option.hideSummaryFooter.label\":`crwdns3365:0crwdne3365:0`,\"chart.option.hideSummaryFooter.description\":`crwdns3367:0crwdne3367:0`,\"chart.option.showConversion.label\":`crwdns3369:0crwdne3369:0`,\"chart.option.showConversion.description\":`crwdns3371:0crwdne3371:0`,\"chart.option.showAvgTime.label\":`crwdns3373:0crwdne3373:0`,\"chart.option.showAvgTime.description\":`crwdns3375:0crwdne3375:0`,\"chart.option.showMedianTime.label\":`crwdns3377:0crwdne3377:0`,\"chart.option.showMedianTime.description\":`crwdns3379:0crwdne3379:0`,\"chart.option.showP90Time.label\":`crwdns3381:0crwdne3381:0`,\"chart.option.showP90Time.description\":`crwdns3383:0crwdne3383:0`,\"chart.option.linkOpacity.label\":`crwdns3385:0crwdne3385:0`,\"chart.option.linkOpacity.light\":`crwdns3387:0crwdne3387:0`,\"chart.option.linkOpacity.medium\":`crwdns3389:0crwdne3389:0`,\"chart.option.linkOpacity.dark\":`crwdns3391:0crwdne3391:0`,\"chart.option.showNodeLabels.label\":`crwdns3393:0crwdne3393:0`,\"chart.option.showNodeLabels.description\":`crwdns3395:0crwdne3395:0`,\"chart.option.prefix.label\":`crwdns3397:0crwdne3397:0`,\"chart.option.prefix.description\":`crwdns3399:0crwdne3399:0`,\"chart.option.suffix.label\":`crwdns3401:0crwdne3401:0`,\"chart.option.suffix.description\":`crwdns3403:0crwdne3403:0`,\"chart.option.decimals.label\":`crwdns3405:0crwdne3405:0`,\"chart.option.decimals.description\":`crwdns3407:0crwdne3407:0`,\"chart.option.showHistogram.label\":`crwdns3409:0crwdne3409:0`,\"chart.option.showHistogram.description\":`crwdns3411:0crwdne3411:0`,\"chart.option.useLastCompletePeriod.label\":`crwdns3413:0crwdne3413:0`,\"chart.option.useLastCompletePeriod.description\":`crwdns3415:0crwdne3415:0`,\"chart.option.skipLastPeriod.label\":`crwdns3417:0crwdne3417:0`,\"chart.option.skipLastPeriod.description\":`crwdns3419:0crwdne3419:0`,\"chart.option.retentionDisplayMode.label\":`crwdns3421:0crwdne3421:0`,\"chart.option.retentionDisplayMode.lineChart\":`crwdns3423:0crwdne3423:0`,\"chart.option.retentionDisplayMode.heatmapTable\":`crwdns3425:0crwdne3425:0`,\"chart.option.retentionDisplayMode.combined\":`crwdns3427:0crwdne3427:0`,\"chart.option.showLegend.label\":`crwdns3429:0crwdne3429:0`,\"chart.option.showLegend.description\":`crwdns3431:0crwdne3431:0`,\"chart.option.showGrid.label\":`crwdns3433:0crwdne3433:0`,\"chart.option.showGrid.description\":`crwdns3435:0crwdne3435:0`,\"chart.option.showTooltip.label\":`crwdns3437:0crwdne3437:0`,\"chart.option.showTooltip.description\":`crwdns3439:0crwdne3439:0`,\"chart.option.priorPeriodStyle.label\":`crwdns3441:0crwdne3441:0`,\"chart.option.priorPeriodStyle.dashed\":`crwdns3443:0crwdne3443:0`,\"chart.option.priorPeriodStyle.dotted\":`crwdns3445:0crwdne3445:0`,\"chart.option.priorPeriodStyle.solid\":`crwdns3447:0crwdne3447:0`,\"chart.option.priorPeriodStyle.description\":`crwdns3449:0crwdne3449:0`,\"chart.option.priorPeriodOpacity.label\":`crwdns3451:0crwdne3451:0`,\"chart.option.priorPeriodOpacity.description\":`crwdns3453:0crwdne3453:0`,\"chart.option.showTotal.label\":`crwdns3455:0crwdne3455:0`,\"chart.option.showTotal.description\":`crwdns3457:0crwdne3457:0`,\"chart.option.showConnectorLine.label\":`crwdns3459:0crwdne3459:0`,\"chart.option.showConnectorLine.description\":`crwdns3461:0crwdne3461:0`,\"chart.option.showDataLabels.label\":`crwdns3463:0crwdne3463:0`,\"chart.option.showDataLabels.description\":`crwdns3465:0crwdne3465:0`,\"chart.option.showReferenceLineAtZero.label\":`crwdns3467:0crwdne3467:0`,\"chart.option.showReferenceLineAtZero.description\":`crwdns3469:0crwdne3469:0`,\"chart.option.lineType.label\":`crwdns3471:0crwdne3471:0`,\"chart.option.lineType.smooth\":`crwdns3473:0crwdne3473:0`,\"chart.option.lineType.linear\":`crwdns3475:0crwdne3475:0`,\"chart.option.lineType.step\":`crwdns3477:0crwdne3477:0`,\"chart.option.lineType.description\":`crwdns3479:0crwdne3479:0`,\"chart.option.rangeMode.label\":`crwdns3481:0crwdne3481:0`,\"chart.option.rangeMode.ohlc\":`crwdns3483:0crwdne3483:0`,\"chart.option.rangeMode.range\":`crwdns3485:0crwdne3485:0`,\"chart.option.rangeMode.description\":`crwdns3487:0crwdne3487:0`,\"chart.option.bullColor.label\":`crwdns3489:0crwdne3489:0`,\"chart.option.bullColor.description\":`crwdns3491:0crwdne3491:0`,\"chart.option.bearColor.label\":`crwdns3493:0crwdne3493:0`,\"chart.option.bearColor.description\":`crwdns3495:0crwdne3495:0`,\"chart.option.showWicks.label\":`crwdns3497:0crwdne3497:0`,\"chart.option.showWicks.description\":`crwdns3499:0crwdne3499:0`,\"chart.option.minValue.label\":`crwdns3501:0crwdne3501:0`,\"chart.option.minValue.description\":`crwdns3503:0crwdne3503:0`,\"chart.option.maxValue.label\":`crwdns3505:0crwdne3505:0`,\"chart.option.maxValue.description\":`crwdns3507:0crwdne3507:0`,\"chart.option.showCentreLabel.label\":`crwdns3509:0crwdne3509:0`,\"chart.option.showCentreLabel.description\":`crwdns3511:0crwdne3511:0`,\"chart.option.showPercentage.label\":`crwdns3513:0crwdne3513:0`,\"chart.option.showPercentage.description\":`crwdns3515:0crwdne3515:0`,\"chart.option.fitToWidth.label\":`crwdns3517:0crwdne3517:0`,\"chart.option.fitToWidth.description\":`crwdns3519:0crwdne3519:0`,\"chart.option.fontSize.label\":`crwdns3521:0crwdne3521:0`,\"chart.option.fontSize.small\":`crwdns3523:0crwdne3523:0`,\"chart.option.fontSize.medium\":`crwdns3525:0crwdne3525:0`,\"chart.option.fontSize.large\":`crwdns3527:0crwdne3527:0`,\"chart.option.alignment.label\":`crwdns3529:0crwdne3529:0`,\"chart.option.alignment.left\":`crwdns3531:0crwdne3531:0`,\"chart.option.alignment.center\":`crwdns3533:0crwdne3533:0`,\"chart.option.alignment.right\":`crwdns3535:0crwdne3535:0`,\"chart.option.hideHeader.label\":`crwdns3537:0crwdne3537:0`,\"chart.option.hideHeader.description\":`crwdns3539:0crwdne3539:0`,\"chart.option.transparentBackground.label\":`crwdns3541:0crwdne3541:0`,\"chart.option.transparentBackground.description\":`crwdns3543:0crwdne3543:0`,\"chart.option.autoHeight.label\":`crwdns3545:0crwdne3545:0`,\"chart.option.autoHeight.description\":`crwdns3547:0crwdne3547:0`,\"chart.option.accentBorder.label\":`crwdns3549:0crwdne3549:0`,\"chart.option.accentBorder.none\":`crwdns3551:0crwdne3551:0`,\"chart.option.accentBorder.left\":`crwdns3553:0crwdne3553:0`,\"chart.option.accentBorder.top\":`crwdns3555:0crwdne3555:0`,\"chart.option.accentBorder.bottom\":`crwdns3557:0crwdne3557:0`,\"chart.option.accentBorder.description\":`crwdns3559:0crwdne3559:0`,\"chart.configText.20_percent\":`crwdns5247:0crwdne5247:0`,\"chart.configText.40_percent\":`crwdns5249:0crwdne5249:0`,\"chart.configText.60_percent\":`crwdns5251:0crwdne5251:0`,\"chart.configText.80_percent\":`crwdns5253:0crwdne5253:0`,\"chart.configText.accent_color\":`crwdns5255:0crwdne5255:0`,\"chart.configText.activity_measure\":`crwdns5257:0crwdne5257:0`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`crwdns5259:0crwdne5259:0`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`crwdns5261:0crwdne5261:0`,\"chart.configText.all_fields_to_display_as_columns\":`crwdns5263:0crwdne5263:0`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`crwdns5265:0crwdne5265:0`,\"chart.configText.axes_categories\":`crwdns5267:0crwdne5267:0`,\"chart.configText.bubble_colour\":`crwdns5269:0crwdne5269:0`,\"chart.configText.bubble_labels\":`crwdns5271:0crwdne5271:0`,\"chart.configText.bubble_radius\":`crwdns5273:0crwdne5273:0`,\"chart.configText.categories\":`crwdns5275:0crwdne5275:0`,\"chart.configText.choose_how_to_visualize_retention_data\":`crwdns5277:0crwdne5277:0`,\"chart.configText.color_bubbles_by_this_field_optional\":`crwdns5279:0crwdne5279:0`,\"chart.configText.color_for_negative_changes_decreases\":`crwdns5281:0crwdne5281:0`,\"chart.configText.color_for_positive_changes_increases\":`crwdns5283:0crwdne5283:0`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`crwdns5285:0crwdne5285:0`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`crwdns5287:0crwdne5287:0`,\"chart.configText.color_groups\":`crwdns5289:0crwdne5289:0`,\"chart.configText.columns\":`crwdns5291:0crwdne5291:0`,\"chart.configText.columns_x_axis\":`crwdns5293:0crwdne5293:0`,\"chart.configText.count_at_each_step_auto_calculated\":`crwdns5295:0crwdne5295:0`,\"chart.configText.count_of_entities_following_each_path\":`crwdns5297:0crwdne5297:0`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`crwdns5299:0crwdne5299:0`,\"chart.configText.dimension_for_column_categories\":`crwdns5301:0crwdne5301:0`,\"chart.configText.dimension_for_ordering_data_typically_time\":`crwdns5303:0crwdne5303:0`,\"chart.configText.dimension_for_pie_slices\":`crwdns5305:0crwdne5305:0`,\"chart.configText.dimension_for_row_categories\":`crwdns5307:0crwdne5307:0`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`crwdns5309:0crwdne5309:0`,\"chart.configText.dimension_optional\":`crwdns5311:0crwdne5311:0`,\"chart.configText.dimension_to_color_points_by_category\":`crwdns5313:0crwdne5313:0`,\"chart.configText.dimension_to_color_rectangles_by_category\":`crwdns5315:0crwdne5315:0`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`crwdns5317:0crwdne5317:0`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`crwdns5319:0crwdne5319:0`,\"chart.configText.dimensions_for_radar_axes\":`crwdns5321:0crwdne5321:0`,\"chart.configText.dimensions_for_radial_segments\":`crwdns5323:0crwdne5323:0`,\"chart.configText.dimensions_for_treemap_rectangles\":`crwdns5325:0crwdne5325:0`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`crwdns5327:0crwdne5327:0`,\"chart.configText.dimensions_to_create_separate_lines\":`crwdns5329:0crwdne5329:0`,\"chart.configText.dimensions_to_create_stacked_areas\":`crwdns5331:0crwdne5331:0`,\"chart.configText.display_the_value_above_each_bar_segment\":`crwdns5333:0crwdne5333:0`,\"chart.configText.display_value_at_each_data_point\":`crwdns5335:0crwdne5335:0`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`crwdns5337:0crwdne5337:0`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`crwdns5339:0crwdne5339:0`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`crwdns5341:0urlcrwdne5341:0`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`crwdns5343:0crwdne5343:0`,\"chart.configText.event_type\":`crwdns5345:0crwdne5345:0`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`crwdns5347:0crwdne5347:0`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`crwdns5349:0crwdne5349:0`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`crwdns5351:0crwdne5351:0`,\"chart.configText.flow_count\":`crwdns5353:0crwdne5353:0`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`crwdns5355:0crwdne5355:0`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`crwdns5357:0crwdne5357:0`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`crwdns5359:0crwdne5359:0`,\"chart.configText.horizontal_axis_position\":`crwdns5361:0crwdne5361:0`,\"chart.configText.how_to_stack_multiple_area_series\":`crwdns5363:0crwdne5363:0`,\"chart.configText.how_to_stack_multiple_bar_series\":`crwdns5365:0crwdne5365:0`,\"chart.configText.markdown_content\":`crwdns5367:0crwdne5367:0`,\"chart.configText.measure_for_rectangle_sizes\":`crwdns5369:0crwdne5369:0`,\"chart.configText.measure_for_slice_sizes\":`crwdns5371:0crwdne5371:0`,\"chart.configText.measure_for_y_position\":`crwdns5373:0crwdne5373:0`,\"chart.configText.measure_or_dimension_for_x_position\":`crwdns5375:0crwdne5375:0`,\"chart.configText.measure_that_determines_cell_color\":`crwdns5377:0crwdne5377:0`,\"chart.configText.measure_to_display_as_kpi_number\":`crwdns5379:0crwdne5379:0`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`crwdns5381:0crwdne5381:0`,\"chart.configText.measure_to_track_changes_for\":`crwdns5383:0crwdne5383:0`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`crwdns5385:0crwdne5385:0`,\"chart.configText.measures_for_area_values\":`crwdns5387:0crwdne5387:0`,\"chart.configText.measures_for_bar_heights\":`crwdns5389:0crwdne5389:0`,\"chart.configText.measures_for_line_values\":`crwdns5391:0crwdne5391:0`,\"chart.configText.measures_for_radar_values\":`crwdns5393:0crwdne5393:0`,\"chart.configText.measures_for_radial_bar_lengths\":`crwdns5395:0crwdne5395:0`,\"chart.configText.measures_x_axis_order\":`crwdns5397:0crwdne5397:0`,\"chart.configText.negative_change_color\":`crwdns5399:0crwdne5399:0`,\"chart.configText.none_pie\":`crwdns5401:0crwdne5401:0`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`crwdns5403:0crwdne5403:0`,\"chart.configText.number_formatting_for_numeric_values\":`crwdns5405:0crwdne5405:0`,\"chart.configText.number_formatting_for_size_values\":`crwdns5407:0crwdne5407:0`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`crwdns5409:0crwdne5409:0`,\"chart.configText.number_formatting_for_the_price_axis\":`crwdns5411:0crwdne5411:0`,\"chart.configText.number_formatting_for_the_value_axis\":`crwdns5413:0crwdne5413:0`,\"chart.configText.number_formatting_for_the_y_axis\":`crwdns5415:0crwdne5415:0`,\"chart.configText.number_formatting_for_x_axis_labels\":`crwdns5417:0crwdne5417:0`,\"chart.configText.number_formatting_for_y_axis_and_values\":`crwdns5419:0crwdne5419:0`,\"chart.configText.number_formatting_for_y_axis_labels\":`crwdns5421:0crwdne5421:0`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`crwdns5423:0crwdne5423:0`,\"chart.configText.ohlc_measures_open_close_high_low\":`crwdns5425:0crwdne5425:0`,\"chart.configText.opacity_of_flow_links\":`crwdns5427:0crwdne5427:0`,\"chart.configText.overall_text_size_for_the_markdown_content\":`crwdns5429:0crwdne5429:0`,\"chart.configText.positive_change_color\":`crwdns5431:0crwdne5431:0`,\"chart.configText.rows_y_axis\":`crwdns5433:0crwdne5433:0`,\"chart.configText.series_color_groups\":`crwdns5435:0crwdne5435:0`,\"chart.configText.series_multiple_lines\":`crwdns5437:0crwdne5437:0`,\"chart.configText.series_multiple_shapes\":`crwdns5439:0crwdne5439:0`,\"chart.configText.series_split_into_multiple_lines\":`crwdns5441:0crwdne5441:0`,\"chart.configText.series_stack_areas\":`crwdns5443:0crwdne5443:0`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`crwdns5445:0crwdne5445:0`,\"chart.configText.show_the_color_intensity_legend\":`crwdns5447:0crwdne5447:0`,\"chart.configText.show_the_legend_for_breakdown_segments\":`crwdns5449:0crwdne5449:0`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`crwdns5451:0crwdne5451:0`,\"chart.configText.size\":`crwdns5453:0crwdne5453:0`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`crwdns5455:0crwdne5455:0`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`crwdns5457:0crwdne5457:0`,\"chart.configText.step_count\":`crwdns5459:0crwdne5459:0`,\"chart.configText.step_name\":`crwdns5461:0crwdne5461:0`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`crwdns5463:0crwdne5463:0`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`crwdns5465:0crwdne5465:0`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"crwdns5467:0${value}crwdne5467:0\",\"chart.configText.text_template\":`crwdns5469:0crwdne5469:0`,\"chart.configText.threshold_bands\":`crwdns5471:0crwdne5471:0`,\"chart.configText.time_dimension\":`crwdns5473:0crwdne5473:0`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`crwdns5475:0crwdne5475:0`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`crwdns5477:0crwdne5477:0`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`crwdns5479:0crwdne5479:0`,\"chart.configText.value\":`crwdns5481:0crwdne5481:0`,\"chart.configText.value_color\":`crwdns5483:0crwdne5483:0`,\"chart.configText.value_color_intensity\":`crwdns5485:0crwdne5485:0`,\"chart.configText.value_measure\":`crwdns5487:0crwdne5487:0`,\"chart.configText.values\":`crwdns5489:0crwdne5489:0`,\"chart.configText.vertical_axis_position\":`crwdns5491:0crwdne5491:0`,\"chart.configText.visualization_style\":`crwdns5493:0crwdne5493:0`,\"chart.configText.x_axis_groups\":`crwdns5495:0crwdne5495:0`,\"chart.configText.x_axis_time_categories\":`crwdns5497:0crwdne5497:0`,\"chart.configText.x_axis_time_category\":`crwdns5499:0crwdne5499:0`,\"chart.configText.y_axis\":`crwdns5501:0crwdne5501:0`,\"chart.configText.y_axis_measures\":`crwdns5503:0crwdne5503:0`,\"chart.configText.y_axis_value\":`crwdns5505:0crwdne5505:0`,\"display.loading\":`crwdns3561:0crwdne3561:0`,\"display.noOptions\":`crwdns3563:0crwdne3563:0`,\"display.heading\":`crwdns3565:0crwdne3565:0`,\"results.loading.title\":`crwdns3567:0crwdne3567:0`,\"results.loading.subtitle\":`crwdns3569:0crwdne3569:0`,\"results.error.title\":`crwdns3571:0crwdne3571:0`,\"results.error.subtitle\":`crwdns3573:0crwdne3573:0`,\"results.waiting.title\":`crwdns3575:0crwdne3575:0`,\"results.waiting.subtitle\":`crwdns3577:0crwdne3577:0`,\"results.needsRefresh.title\":`crwdns3579:0crwdne3579:0`,\"results.needsRefresh.subtitle\":`crwdns3581:0crwdne3581:0`,\"results.needsRefresh.runButton\":`crwdns3583:0crwdne3583:0`,\"results.empty.query\":`crwdns3585:0crwdne3585:0`,\"results.empty.retention\":`crwdns3587:0crwdne3587:0`,\"results.empty.funnel\":`crwdns3589:0crwdne3589:0`,\"results.empty.flow\":`crwdns3591:0crwdne3591:0`,\"results.empty.title\":`crwdns3593:0crwdne3593:0`,\"results.ai.button\":`crwdns3595:0crwdne3595:0`,\"results.noData.title\":`crwdns3597:0crwdne3597:0`,\"results.noData.subtitle\":`crwdns3599:0crwdne3599:0`,\"results.chart.noData\":`crwdns3601:0crwdne3601:0`,\"results.chart.noDataHint\":`crwdns3603:0crwdne3603:0`,\"results.chart.unsupported\":`crwdns3605:0crwdne3605:0`,\"results.refreshing\":`crwdns3607:0crwdne3607:0`,\"results.header.rows\":`crwdns3609:0crwdne3609:0`,\"results.header.row\":`crwdns3611:0crwdne3611:0`,\"results.header.stale\":`crwdns3613:0crwdne3613:0`,\"results.header.failed\":`crwdns3615:0crwdne3615:0`,\"results.header.executing\":`crwdns3617:0crwdne3617:0`,\"results.header.noResults\":`crwdns3619:0crwdne3619:0`,\"results.view.chart\":`crwdns3621:0crwdne3621:0`,\"results.view.merged\":`crwdns3623:0crwdne3623:0`,\"results.warning.largeDataset\":`crwdns3625:0crwdne3625:0`,\"results.warning.configChanged\":`crwdns3627:0crwdne3627:0`,\"results.warning.refreshNow\":`crwdns3629:0crwdne3629:0`,\"results.share.copied\":`crwdns3631:0crwdne3631:0`,\"results.share.noChart\":`crwdns3633:0crwdne3633:0`,\"server.errors.dbNotConfigured\":`crwdns3635:0crwdne3635:0`,\"server.errors.cubeNotFound\":`crwdns3637:0{cubeName}crwdne3637:0`,\"server.errors.noCubesInQuery\":`crwdns3639:0crwdne3639:0`,\"server.errors.dbAdapterRequired\":`crwdns3641:0crwdne3641:0`,\"server.errors.rlsRequiresTransactions\":`crwdns3643:0crwdne3643:0`,\"server.errors.queryExecutionFailed\":`crwdns3645:0{message}crwdne3645:0`,\"server.errors.queryExecutionUnknown\":`crwdns3647:0crwdne3647:0`,\"server.errors.noCompareDateRange\":`crwdns3649:0crwdne3649:0`,\"server.errors.compareDateRangeInvalid\":`crwdns3651:0crwdne3651:0`,\"server.errors.funnelValidationFailed\":`crwdns3653:0{errors}crwdne3653:0`,\"server.errors.flowValidationFailed\":`crwdns3655:0{errors}crwdne3655:0`,\"server.errors.retentionValidationFailed\":`crwdns3657:0{errors}crwdne3657:0`,\"server.errors.cubeRefUnresolved\":`crwdns3659:0{cubeName}crwdnd3659:0{joinName}crwdnd3659:0{targetCube}crwdne3659:0`,\"server.errors.unresolvedCubeRefs\":`crwdns3661:0{details}crwdne3661:0`,\"server.errors.calculatedMeasureValidation\":`crwdns3663:0{cubeName}crwdnd3663:0{details}crwdne3663:0`,\"server.errors.queryValidationFailed\":`crwdns3665:0{errors}crwdne3665:0`,\"server.errors.queryContainsMultipleModes\":`crwdns3667:0{modes}crwdne3667:0`,\"server.errors.primaryCubeNotFound\":`crwdns3669:0{cubeName}crwdne3669:0`,\"server.errors.noJoinPath\":`crwdns3671:0{fromCube}crwdnd3671:0{toCube}crwdne3671:0`,\"server.errors.cubeNotFoundForMeasure\":`crwdns3673:0{cubeName}crwdnd3673:0{measure}crwdne3673:0`,\"server.errors.cubeNotFoundForDimension\":`crwdns3675:0{cubeName}crwdnd3675:0{dimension}crwdne3675:0`,\"server.errors.cubeNotFoundForTimeDimension\":`crwdns3677:0{cubeName}crwdnd3677:0{timeDimension}crwdne3677:0`,\"server.errors.invalidFunnelConfig\":`crwdns3679:0crwdne3679:0`,\"server.errors.invalidFlowConfig\":`crwdns3681:0crwdne3681:0`,\"server.errors.invalidRetentionConfig\":`crwdns3683:0crwdne3683:0`,\"server.errors.llmInitFailed\":`crwdns3685:0crwdne3685:0`,\"server.validation.ai.bindingKeyRequired.flow\":`crwdns3687:0crwdne3687:0`,\"server.validation.ai.bindingKeyRequired.funnel\":`crwdns3689:0crwdne3689:0`,\"server.validation.ai.bindingKeyRequired.retention\":`crwdns3691:0crwdne3691:0`,\"server.validation.ai.cubeNotFoundInFilter\":`crwdns3693:0{cubeName}crwdne3693:0`,\"server.validation.ai.cubeNotFoundWithAvailable\":`crwdns3695:0{cubeName}crwdne3695:0`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`crwdns3697:0{cubeName}crwdne3697:0`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`crwdns3699:0{dimensionName}crwdnd3699:0{cubeName}crwdne3699:0`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`crwdns3701:0{dimensionName}crwdnd3701:0{cubeName}crwdne3701:0`,\"server.validation.ai.dimensionNotTimeType\":`crwdns3703:0{dimension}crwdnd3703:0{type}crwdne3703:0`,\"server.validation.ai.emptyQuery\":`crwdns3705:0crwdne3705:0`,\"server.validation.ai.eventDimensionRequired\":`crwdns3707:0crwdne3707:0`,\"server.validation.ai.filterFieldNotFound\":`crwdns3709:0{fieldName}crwdnd3709:0{cubeName}crwdne3709:0`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`crwdns3711:0{fieldName}crwdnd3711:0{cubeName}crwdne3711:0`,\"server.validation.ai.funnelRequiresSteps\":`crwdns3713:0crwdne3713:0`,\"server.validation.ai.funnelStepsRequired\":`crwdns3715:0crwdne3715:0`,\"server.validation.ai.granularityNotSpecified\":`crwdns3717:0crwdne3717:0`,\"server.validation.ai.invalidDimensionFormat\":`crwdns3719:0{dimension}crwdne3719:0`,\"server.validation.ai.invalidFilterMemberFormat\":`crwdns3721:0{member}crwdne3721:0`,\"server.validation.ai.invalidMeasureFormat\":`crwdns3723:0{measure}crwdne3723:0`,\"server.validation.ai.measureNotFoundWithAvailable\":`crwdns3725:0{measureName}crwdnd3725:0{cubeName}crwdne3725:0`,\"server.validation.ai.measureNotFoundWithSuggestion\":`crwdns3727:0{measureName}crwdnd3727:0{cubeName}crwdne3727:0`,\"server.validation.ai.performanceManyDimensions\":`crwdns3729:0{count}crwdne3729:0`,\"server.validation.ai.performanceManyMeasures\":`crwdns3731:0{count}crwdne3731:0`,\"server.validation.ai.periodsNotSpecified\":`crwdns3733:0crwdne3733:0`,\"server.validation.ai.retentionTimeDimensionRequired\":`crwdns3735:0crwdne3735:0`,\"server.validation.ai.stepMissingName\":`crwdns3737:0{step}crwdne3737:0`,\"server.validation.ai.stepsBothMissing\":`crwdns3739:0crwdne3739:0`,\"server.validation.ai.suggestAddDimensionFilters\":`crwdns3741:0crwdne3741:0`,\"server.validation.ai.suggestAddStepNames\":`crwdns3743:0crwdne3743:0`,\"server.validation.ai.suggestSetSteps\":`crwdns3745:0crwdne3745:0`,\"server.validation.ai.suggestSpecifyGranularity\":`crwdns3747:0crwdne3747:0`,\"server.validation.ai.suggestSpecifyPeriods\":`crwdns3749:0crwdne3749:0`,\"server.validation.ai.suggestSplitQueries\":`crwdns3751:0crwdne3751:0`,\"server.validation.ai.suggestUseTimeDimension\":`crwdns3753:0crwdne3753:0`,\"server.validation.ai.timeDimensionRequired.flow\":`crwdns3755:0crwdne3755:0`,\"server.validation.ai.timeDimensionRequired.funnel\":`crwdns3757:0crwdne3757:0`,\"server.validation.chart.barNeedsDimension\":`crwdns3759:0crwdne3759:0`,\"server.validation.chart.barXAxisRequired\":`crwdns3761:0crwdne3761:0`,\"server.validation.chart.dropZoneRequired\":`crwdns3763:0{key}crwdnd3763:0{chartType}crwdnd3763:0{label}crwdnd3763:0{acceptDesc}crwdne3763:0`,\"server.validation.chart.seriesDuplicatesXAxis\":`crwdns3765:0{duplicates}crwdne3765:0`,\"server.validation.flow.bindingKeyCubeNotFound\":`crwdns3767:0{cubeName}crwdne3767:0`,\"server.validation.flow.bindingKeyDimNotFound\":`crwdns3769:0{dimName}crwdnd3769:0{cubeName}crwdne3769:0`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`crwdns3771:0{cubeName}crwdne3771:0`,\"server.validation.flow.eventDimCubeNotFound\":`crwdns3773:0{cubeName}crwdne3773:0`,\"server.validation.flow.eventDimNotFound\":`crwdns3775:0{dimName}crwdnd3775:0{cubeName}crwdne3775:0`,\"server.validation.flow.eventDimRequired\":`crwdns3777:0crwdne3777:0`,\"server.validation.flow.highStepDepthWarning\":`crwdns3779:0crwdne3779:0`,\"server.validation.flow.invalidBindingKeyFormat\":`crwdns3781:0{bindingKey}crwdne3781:0`,\"server.validation.flow.invalidEventDimFormat\":`crwdns3783:0{eventDimension}crwdne3783:0`,\"server.validation.flow.invalidJoinStrategy\":`crwdns3785:0{joinStrategy}crwdne3785:0`,\"server.validation.flow.invalidTimeDimFormat\":`crwdns3787:0{timeDimension}crwdne3787:0`,\"server.validation.flow.lateralNotSupported\":`crwdns3789:0crwdne3789:0`,\"server.validation.flow.lateralNotSupportedExec\":`crwdns3791:0crwdne3791:0`,\"server.validation.flow.sqliteNotSupported\":`crwdns3793:0crwdne3793:0`,\"server.validation.flow.startingStepFilterRequired\":`crwdns3795:0crwdne3795:0`,\"server.validation.flow.startingStepNameMissing\":`crwdns3797:0crwdne3797:0`,\"server.validation.flow.startingStepRequired\":`crwdns3799:0crwdne3799:0`,\"server.validation.flow.stepsBeforeRange\":`crwdns3801:0{value}crwdne3801:0`,\"server.validation.flow.stepsAfterRange\":`crwdns3803:0{value}crwdne3803:0`,\"server.validation.flow.timeDimCubeNotFound\":`crwdns3805:0{cubeName}crwdne3805:0`,\"server.validation.flow.timeDimNotFound\":`crwdns3807:0{dimName}crwdnd3807:0{cubeName}crwdne3807:0`,\"server.validation.funnel.bindingKeyCubeNotFound\":`crwdns3809:0{cubeName}crwdne3809:0`,\"server.validation.funnel.bindingKeyDimNotFound\":`crwdns3811:0{dimName}crwdnd3811:0{cubeName}crwdne3811:0`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`crwdns3813:0{cubeName}crwdne3813:0`,\"server.validation.funnel.invalidBindingKeyFormat\":`crwdns3815:0{bindingKey}crwdne3815:0`,\"server.validation.funnel.invalidTimeDimFormat\":`crwdns3817:0{timeDimension}crwdne3817:0`,\"server.validation.funnel.minSteps\":`crwdns3819:0crwdne3819:0`,\"server.validation.funnel.stepCubeNotFound\":`crwdns3821:0{step}crwdnd3821:0{cube}crwdne3821:0`,\"server.validation.funnel.stepFilterCubeNotFound\":`crwdns3823:0{step}crwdnd3823:0{cubeName}crwdne3823:0`,\"server.validation.funnel.stepFilterIsMeasure\":`crwdns3825:0{step}crwdnd3825:0{member}crwdne3825:0`,\"server.validation.funnel.stepFilterMemberNotFound\":`crwdns3827:0{step}crwdnd3827:0{field}crwdnd3827:0{cubeName}crwdne3827:0`,\"server.validation.funnel.stepFilterNoJoinPath\":`crwdns3829:0{step}crwdnd3829:0{member}crwdnd3829:0{stepCube}crwdne3829:0`,\"server.validation.funnel.stepMustHaveName\":`crwdns3831:0{step}crwdne3831:0`,\"server.validation.funnel.stepTimeToConvertFormat\":`crwdns3833:0{step}crwdnd3833:0{value}crwdne3833:0`,\"server.validation.funnel.timeDimCubeNotFound\":`crwdns3835:0{cubeName}crwdne3835:0`,\"server.validation.funnel.timeDimNotFound\":`crwdns3837:0{dimName}crwdnd3837:0{cubeName}crwdne3837:0`,\"server.validation.retention.bindingKeyCubeNotFound\":`crwdns3839:0{cubeName}crwdne3839:0`,\"server.validation.retention.bindingKeyDimNotFound\":`crwdns3841:0{dimName}crwdnd3841:0{cubeName}crwdne3841:0`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`crwdns3843:0{cubeName}crwdne3843:0`,\"server.validation.retention.breakdownDimCubeNotFound\":`crwdns3845:0{cubeName}crwdne3845:0`,\"server.validation.retention.breakdownDimNotFound\":`crwdns3847:0{dimName}crwdnd3847:0{cubeName}crwdne3847:0`,\"server.validation.retention.cubeNotFound\":`crwdns3849:0{cubeName}crwdne3849:0`,\"server.validation.retention.dateRangeEndRequired\":`crwdns3851:0crwdne3851:0`,\"server.validation.retention.dateRangeInvalidEnd\":`crwdns3853:0crwdne3853:0`,\"server.validation.retention.dateRangeInvalidStart\":`crwdns3855:0crwdne3855:0`,\"server.validation.retention.dateRangeRequired\":`crwdns3857:0crwdne3857:0`,\"server.validation.retention.dateRangeStartBeforeEnd\":`crwdns3859:0crwdne3859:0`,\"server.validation.retention.dateRangeStartRequired\":`crwdns3861:0crwdne3861:0`,\"server.validation.retention.invalidBindingKeyFormat\":`crwdns3863:0{bindingKey}crwdne3863:0`,\"server.validation.retention.invalidBreakdownDimFormat\":`crwdns3865:0{dimension}crwdne3865:0`,\"server.validation.retention.invalidGranularity\":`crwdns3867:0{granularity}crwdne3867:0`,\"server.validation.retention.invalidRetentionType\":`crwdns3869:0{retentionType}crwdne3869:0`,\"server.validation.retention.invalidTimeDimFormat\":`crwdns3871:0{timeDimension}crwdne3871:0`,\"server.validation.retention.noBindingKeyMapping\":`crwdns3873:0{cubeName}crwdne3873:0`,\"server.validation.retention.periodsMax\":`crwdns3875:0crwdne3875:0`,\"server.validation.retention.periodsMin\":`crwdns3877:0crwdne3877:0`,\"server.validation.retention.timeDimNotFound\":`crwdns3879:0{dimName}crwdne3879:0`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`crwdns3881:0{cubeName}crwdnd3881:0{fieldName}crwdne3881:0`,\"server.validation.calculatedMeasure.invalidSyntax\":`crwdns3883:0{cubeName}crwdnd3883:0{fieldName}crwdnd3883:0{errors}crwdne3883:0`,\"server.validation.calculatedMeasure.circularDependency\":`crwdns3885:0{cycle}crwdne3885:0`,\"server.validation.query.multipleQueryModes\":`crwdns3887:0{modes}crwdne3887:0`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`crwdns3889:0{cubeName}crwdne3889:0`,\"server.validation.query.flowBindingKeyCubeNotFound\":`crwdns3891:0{cubeName}crwdne3891:0`,\"server.validation.query.retentionCubeNotFound\":`crwdns3893:0{cubeName}crwdne3893:0`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`crwdns3895:0{cubeName}crwdne3895:0`,\"server.validation.query.retentionBreakdownCubeNotFound\":`crwdns3897:0{cubeName}crwdne3897:0`,\"server.validation.query.invalidMeasureFormat\":`crwdns3899:0{measure}crwdne3899:0`,\"server.validation.query.cubeNotFoundForMeasure\":`crwdns3901:0{cubeName}crwdnd3901:0{measure}crwdne3901:0`,\"server.validation.query.measureNotFound\":`crwdns3903:0{fieldName}crwdnd3903:0{cubeName}crwdnd3903:0{hint}crwdne3903:0`,\"server.validation.query.invalidDimensionFormat\":`crwdns3905:0{dimension}crwdne3905:0`,\"server.validation.query.cubeNotFoundForDimension\":`crwdns3907:0{cubeName}crwdnd3907:0{dimension}crwdne3907:0`,\"server.validation.query.dimensionNotFound\":`crwdns3909:0{fieldName}crwdnd3909:0{cubeName}crwdnd3909:0{hint}crwdne3909:0`,\"server.validation.query.invalidTimeDimensionFormat\":`crwdns3911:0{dimension}crwdne3911:0`,\"server.validation.query.cubeNotFoundForTimeDimension\":`crwdns3913:0{cubeName}crwdnd3913:0{dimension}crwdne3913:0`,\"server.validation.query.timeDimensionNotFound\":`crwdns3915:0{fieldName}crwdnd3915:0{cubeName}crwdne3915:0`,\"server.validation.query.mustReferenceAtLeastOneCube\":`crwdns3917:0crwdne3917:0`,\"server.validation.query.ungroupedRequiresDimension\":`crwdns3919:0crwdne3919:0`,\"server.validation.query.ungroupedIncompatibleFunnel\":`crwdns3921:0crwdne3921:0`,\"server.validation.query.ungroupedIncompatibleFlow\":`crwdns3923:0crwdne3923:0`,\"server.validation.query.ungroupedIncompatibleRetention\":`crwdns3925:0crwdne3925:0`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`crwdns3927:0crwdne3927:0`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`crwdns3929:0crwdne3929:0`,\"server.validation.query.filterMustHaveMember\":`crwdns3931:0crwdne3931:0`,\"server.validation.query.invalidFilterMemberFormat\":`crwdns3933:0{member}crwdne3933:0`,\"server.validation.query.cubeNotFoundForFilter\":`crwdns3935:0{cubeName}crwdnd3935:0{member}crwdne3935:0`,\"server.validation.query.filterFieldNotFound\":`crwdns3937:0{fieldName}crwdnd3937:0{cubeName}crwdnd3937:0{hint}crwdne3937:0`,\"server.errors.funnel.cubeNotFoundForStep\":`crwdns3939:0{cube}crwdne3939:0`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`crwdns3941:0{bindingKey}crwdne3941:0`,\"server.errors.funnel.cannotResolveCubeForStep\":`crwdns3943:0crwdne3943:0`,\"server.errors.funnel.bindingKeyDimNotFound\":`crwdns3945:0{bindingKey}crwdne3945:0`,\"server.errors.funnel.noBindingKeyMapping\":`crwdns3947:0{cubeName}crwdne3947:0`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`crwdns3949:0{dimension}crwdne3949:0`,\"server.errors.funnel.timeDimNotFound\":`crwdns3951:0{timeDimension}crwdne3951:0`,\"server.errors.funnel.noTimeDimMapping\":`crwdns3953:0{cubeName}crwdne3953:0`,\"server.errors.funnel.timeDimMappingNotFound\":`crwdns3955:0{dimension}crwdne3955:0`,\"server.errors.flow.cannotResolveCube\":`crwdns3957:0crwdne3957:0`,\"server.errors.flow.cubeNotFound\":`crwdns3959:0{cubeName}crwdne3959:0`,\"server.errors.flow.bindingKeyDimNotFound\":`crwdns3961:0{bindingKey}crwdne3961:0`,\"server.errors.flow.noBindingKeyMapping\":`crwdns3963:0{cubeName}crwdne3963:0`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`crwdns3965:0{dimension}crwdne3965:0`,\"server.errors.flow.timeDimNotFound\":`crwdns3967:0{timeDimension}crwdne3967:0`,\"server.errors.flow.noTimeDimMapping\":`crwdns3969:0{cubeName}crwdne3969:0`,\"server.errors.flow.timeDimMappingNotFound\":`crwdns3971:0{dimension}crwdne3971:0`,\"server.errors.flow.eventDimNotFound\":`crwdns3973:0{eventDimension}crwdne3973:0`,\"server.validation.template.emptyReference\":`crwdns3975:0crwdne3975:0`,\"server.validation.template.invalidMemberReference\":`crwdns3977:0{ref}crwdne3977:0`,\"server.validation.template.multipleDots\":`crwdns3979:0{ref}crwdne3979:0`,\"server.validation.template.nestedBraces\":`crwdns3981:0crwdne3981:0`,\"server.validation.template.substituteTargetCubeNotFound\":`crwdns3983:0{ref}crwdnd3983:0{cubeName}crwdne3983:0`,\"server.validation.template.substituteMeasureNotResolved\":`crwdns3985:0{ref}crwdnd3985:0{measureName}crwdne3985:0`,\"server.validation.template.unmatchedClosingBrace\":`crwdns3987:0{position}crwdne3987:0`,\"server.validation.template.unmatchedOpeningBrace\":`crwdns3989:0crwdne3989:0`,\"notebook.aiAssistant\":`crwdns3999:0crwdne3999:0`,\"notebook.saveAsDashboard\":`crwdns4001:0crwdne4001:0`,\"notebook.saveAsDashboardTitle\":`crwdns4003:0crwdne4003:0`,\"notebook.clearTitle\":`crwdns4005:0crwdne4005:0`,\"notebook.feedbackThanks\":`crwdns4007:0crwdne4007:0`,\"notebook.feedbackQuestion\":`crwdns4009:0crwdne4009:0`,\"notebook.feedbackYes\":`crwdns4011:0crwdne4011:0`,\"notebook.feedbackNo\":`crwdns4013:0crwdne4013:0`,\"notebook.thinking\":`crwdns4015:0crwdne4015:0`,\"notebook.emptyState.title\":`crwdns4017:0crwdne4017:0`,\"notebook.emptyState.description\":`crwdns4019:0crwdne4019:0`,\"notebook.emptyState.example1\":`crwdns4021:0crwdne4021:0`,\"notebook.emptyState.example2\":`crwdns4023:0crwdne4023:0`,\"notebook.emptyState.example3\":`crwdns4025:0crwdne4025:0`,\"notebook.saveAsDashboardPrompt\":`crwdns4027:0crwdne4027:0`,\"notebook.chatInput.placeholder\":`crwdns4029:0crwdne4029:0`,\"notebook.chatInput.stop\":`crwdns4031:0crwdne4031:0`,\"notebook.chatInput.continue\":`crwdns4033:0crwdne4033:0`,\"notebook.chatInput.send\":`crwdns4035:0crwdne4035:0`,\"notebook.canvas.emptyTitle\":`crwdns4037:0crwdne4037:0`,\"notebook.canvas.emptyDescription\":`crwdns4039:0crwdne4039:0`,\"notebook.canvas.editVisualization\":`crwdns4041:0crwdne4041:0`,\"notebook.canvas.update\":`crwdns4043:0crwdne4043:0`,\"notebook.collapsed.noBlocks\":`crwdns4045:0crwdne4045:0`,\"notebook.collapsed.expandNotebook\":`crwdns4047:0crwdne4047:0`,\"notebook.collapsed.expandChat\":`crwdns4049:0crwdne4049:0`,\"notebook.collapsed.aiChat\":`crwdns4051:0crwdne4051:0`,\"notebook.collapsed.markdown\":`crwdns4053:0crwdne4053:0`,\"schema.loading\":`crwdns4055:0crwdne4055:0`,\"schema.error\":`crwdns4057:0crwdne4057:0`,\"schema.noCubes\":`crwdns4059:0crwdne4059:0`,\"schema.noCubesHint\":`crwdns4061:0crwdne4061:0`,\"schema.computingLayout\":`crwdns4063:0crwdne4063:0`,\"schema.searchPlaceholder\":`crwdns4065:0crwdne4065:0`,\"schema.autoLayout\":`crwdns4067:0crwdne4067:0`,\"schema.missingDeps.title\":`crwdns4069:0crwdne4069:0`,\"schema.missingDeps.description\":`crwdns4071:0crwdne4071:0`,\"schema.loadingVisualization\":`crwdns4073:0crwdne4073:0`,\"schema.measures\":`crwdns4075:0{count}crwdne4075:0`,\"schema.timeDimensions\":`crwdns4077:0{count}crwdne4077:0`,\"schema.dimensions\":`crwdns4079:0{count}crwdne4079:0`,\"schema.cubeInfo\":`crwdns4081:0crwdne4081:0`,\"dataBrowser.selectCube\":`crwdns4083:0crwdne4083:0`,\"dataBrowser.selectCubeHint\":`crwdns4085:0crwdne4085:0`,\"dataBrowser.loadingData\":`crwdns4087:0crwdne4087:0`,\"dataBrowser.noData\":`crwdns4089:0crwdne4089:0`,\"dataBrowser.noRows\":`crwdns4091:0crwdne4091:0`,\"dataBrowser.toolbar.filters\":`crwdns4093:0crwdne4093:0`,\"dataBrowser.toolbar.columns\":`crwdns4095:0crwdne4095:0`,\"dataBrowser.toolbar.rows\":`crwdns4097:0{count}crwdne4097:0`,\"dataBrowser.sidebar.cubes\":`crwdns4099:0crwdne4099:0`,\"dataBrowser.sidebar.searchPlaceholder\":`crwdns4101:0crwdne4101:0`,\"dataBrowser.sidebar.noCubes\":`crwdns4103:0crwdne4103:0`,\"queryAnalysis.summary\":`crwdns4105:0crwdne4105:0`,\"queryAnalysis.summary.type\":`crwdns4107:0crwdne4107:0`,\"queryAnalysis.summary.cubes\":`crwdns4109:0crwdne4109:0`,\"queryAnalysis.summary.joins\":`crwdns4111:0crwdne4111:0`,\"queryAnalysis.summary.ctes\":`crwdns4113:0crwdne4113:0`,\"queryAnalysis.summary.strategy\":`crwdns4115:0crwdne4115:0`,\"queryAnalysis.primaryCube\":`crwdns4117:0crwdne4117:0`,\"queryAnalysis.primaryCube.showCandidates\":`crwdns4119:0{count}crwdne4119:0`,\"queryAnalysis.primaryCube.reachable\":`crwdns4121:0crwdne4121:0`,\"queryAnalysis.primaryCube.cannotReachAll\":`crwdns4123:0crwdne4123:0`,\"queryAnalysis.joinPaths\":`crwdns4125:0crwdne4125:0`,\"queryAnalysis.joinPaths.steps\":`crwdns4127:0{count}crwdne4127:0`,\"queryAnalysis.joinPaths.stepsPlural\":`crwdns4129:0{count}crwdne4129:0`,\"queryAnalysis.joinPaths.noPath\":`crwdns4131:0crwdne4131:0`,\"queryAnalysis.joinPaths.selection\":`crwdns4133:0crwdne4133:0`,\"queryAnalysis.joinPaths.pathCandidates\":`crwdns4135:0{count}crwdne4135:0`,\"queryAnalysis.joinPaths.visitedCubes\":`crwdns4137:0{count}crwdne4137:0`,\"queryAnalysis.preAggregations\":`crwdns4139:0crwdne4139:0`,\"queryAnalysis.preAggregations.measures\":`crwdns4141:0crwdne4141:0`,\"queryAnalysis.preAggregations.joinKeys\":`crwdns4143:0crwdne4143:0`,\"queryAnalysis.warnings\":`crwdns4145:0crwdne4145:0`,\"queryAnalysis.cubesInvolved\":`crwdns4147:0crwdne4147:0`,\"common.actions.copied\":`crwdns4149:0crwdne4149:0`,\"common.actions.copyToClipboard\":`crwdns4151:0crwdne4151:0`,\"chart.availability.requiresMeasure\":`Requires at least 1 measure`,\"chart.availability.requiresTwoMeasures\":`Requires at least 2 measures`,\"chart.availability.requiresDimension\":`Requires at least 1 dimension`,\"chart.availability.requiresTwoDimensions\":`Requires at least 2 dimensions`,\"chart.availability.requiresTimeDimension\":`Requires a time dimension`,\"chart.availability.scatter\":`Requires 2 measures, or 1 measure plus 1 dimension`,\"chart.availability.bubble\":`Requires at least 2 measures and 1 dimension`,\"chart.runtime.noData\":`crwdns4153:0crwdne4153:0`,\"chart.runtime.noDataHint.bar\":`crwdns4155:0crwdne4155:0`,\"chart.runtime.noDataHint.line\":`crwdns4157:0crwdne4157:0`,\"chart.runtime.noDataHint.area\":`crwdns4159:0crwdne4159:0`,\"chart.runtime.noDataHint.pie\":`crwdns4161:0crwdne4161:0`,\"chart.runtime.noDataHint.scatter\":`crwdns4163:0crwdne4163:0`,\"chart.runtime.noDataHint.radar\":`crwdns4165:0crwdne4165:0`,\"chart.runtime.noDataHint.radialBar\":`crwdns4167:0crwdne4167:0`,\"chart.runtime.noDataHint.treemap\":`crwdns4169:0crwdne4169:0`,\"chart.runtime.noDataHint.bubble\":`crwdns4171:0crwdne4171:0`,\"chart.runtime.noDataHint.boxPlot\":`crwdns4173:0crwdne4173:0`,\"chart.runtime.noDataHint.waterfall\":`crwdns4175:0crwdne4175:0`,\"chart.runtime.noDataHint.candlestick\":`crwdns4177:0crwdne4177:0`,\"chart.runtime.noDataHint.gauge\":`crwdns4179:0crwdne4179:0`,\"chart.runtime.noDataHint.measureProfile\":`crwdns4181:0crwdne4181:0`,\"chart.runtime.noDataHint.activityGrid\":`crwdns4183:0crwdne4183:0`,\"chart.runtime.noDataHint.heatmap\":`crwdns4185:0crwdne4185:0`,\"chart.runtime.noDataHint.table\":`crwdns4187:0crwdne4187:0`,\"chart.runtime.noDataHint.kpi\":`crwdns4189:0crwdne4189:0`,\"chart.runtime.noDataHint.funnel\":`crwdns4191:0crwdne4191:0`,\"chart.runtime.noDataHint.flow\":`crwdns4193:0crwdne4193:0`,\"chart.runtime.noDataHint.retention\":`crwdns4195:0crwdne4195:0`,\"chart.runtime.noValidData\":`crwdns4197:0crwdne4197:0`,\"chart.runtime.noValidDataHint.bar\":`crwdns4199:0crwdne4199:0`,\"chart.runtime.noValidDataHint.line\":`crwdns4201:0crwdne4201:0`,\"chart.runtime.noValidDataHint.area\":`crwdns4203:0crwdne4203:0`,\"chart.runtime.noValidDataHint.scatter\":`crwdns4205:0crwdne4205:0`,\"chart.runtime.noValidDataHint.radar\":`crwdns4207:0crwdne4207:0`,\"chart.runtime.noValidDataHint.radialBar\":`crwdns4209:0crwdne4209:0`,\"chart.runtime.noValidDataHint.treemap\":`crwdns4211:0crwdne4211:0`,\"chart.runtime.noValidDataHint.pie\":`crwdns4213:0crwdne4213:0`,\"chart.runtime.noValidDataHint.pieFiltered\":`crwdns4215:0{count}crwdne4215:0`,\"chart.runtime.noValidDataHint.boxPlot\":`crwdns4217:0crwdne4217:0`,\"chart.runtime.noValidDataHint.gauge\":`crwdns4219:0crwdne4219:0`,\"chart.runtime.noValidDataHint.kpiText\":`crwdns4221:0crwdne4221:0`,\"chart.runtime.configError\":`crwdns4223:0crwdne4223:0`,\"chart.runtime.configErrorHint.axisInvalid\":`crwdns4225:0crwdne4225:0`,\"chart.runtime.configErrorHint.axisFields\":`crwdns4227:0crwdne4227:0`,\"chart.runtime.configErrorHint.pieAxis\":`crwdns4229:0crwdne4229:0`,\"chart.runtime.configErrorHint.radarNumeric\":`crwdns4231:0crwdne4231:0`,\"chart.runtime.configErrorHint.radialBarNumeric\":`crwdns4233:0crwdne4233:0`,\"chart.runtime.configErrorHint.treemapNumeric\":`crwdns4235:0crwdne4235:0`,\"chart.runtime.configErrorHint.noMeasure\":`crwdns4237:0crwdne4237:0`,\"chart.runtime.configErrorHint.noMeasures\":`crwdns4239:0crwdne4239:0`,\"chart.runtime.configErrorHint.bubbleRequired\":`crwdns4241:0crwdne4241:0`,\"chart.runtime.configErrorHint.bubbleOptional\":`crwdns4243:0crwdne4243:0`,\"chart.runtime.configErrorHint.activityGridRequired\":`crwdns4245:0crwdne4245:0`,\"chart.runtime.chartError\":`crwdns4247:0{chartType}crwdne4247:0`,\"chart.runtime.unknownError\":`crwdns4249:0crwdne4249:0`,\"chart.runtime.checkConfig\":`crwdns4251:0crwdne4251:0`,\"chart.runtime.unableToRender\":`crwdns4253:0crwdne4253:0`,\"chart.runtime.dataFormatIncorrect\":`crwdns4255:0crwdne4255:0`,\"chart.runtime.measuringDimensions\":`crwdns4257:0crwdne4257:0`,\"chart.runtime.unableToDisplay\":`crwdns4259:0crwdne4259:0`,\"chart.runtime.responsiveContainerError\":`crwdns4261:0crwdne4261:0`,\"chart.runtime.noDataToDisplay\":`crwdns4263:0crwdne4263:0`,\"chart.runtime.table.invalidStructure\":`crwdns4265:0crwdne4265:0`,\"chart.runtime.heatmapNoResults\":`crwdns4267:0crwdne4267:0`,\"chart.runtime.heatmapConfigRequired\":`crwdns4269:0crwdne4269:0`,\"chart.runtime.heatmapXRequired\":`crwdns4271:0crwdne4271:0`,\"chart.runtime.heatmapYRequired\":`crwdns4273:0crwdne4273:0`,\"chart.runtime.heatmapValueRequired\":`crwdns4275:0crwdne4275:0`,\"chart.runtime.heatmapTruncated\":`crwdns4277:0{maxRows}crwdnd4277:0{maxCols}crwdnd4277:0{originalRows}crwdnd4277:0{originalCols}crwdne4277:0`,\"chart.runtime.activityGridGranularityTooHigh\":`crwdns4279:0crwdne4279:0`,\"chart.runtime.activityGridGranularityHint\":`crwdns4281:0crwdne4281:0`,\"chart.runtime.activityGridGranularityAction\":`crwdns4283:0crwdne4283:0`,\"chart.runtime.activityGridConfigRequired\":`crwdns4285:0crwdne4285:0`,\"chart.runtime.retention.cohort\":`crwdns4287:0crwdne4287:0`,\"chart.runtime.retention.segment\":`crwdns4289:0crwdne4289:0`,\"chart.runtime.retention.users\":`crwdns4291:0crwdne4291:0`,\"chart.runtime.retention.cohortSize\":`crwdns4293:0{count}crwdne4293:0`,\"chart.runtime.retention.retained\":`crwdns4295:0{count}crwdne4295:0`,\"chart.runtime.retention.rate\":`crwdns4297:0{rate}crwdne4297:0`,\"chart.runtime.retention.retentionPercent\":`crwdns4299:0crwdne4299:0`,\"chart.runtime.retention.periodLabel\":`crwdns4301:0{cohort}crwdnd4301:0{period}crwdne4301:0`,\"chart.runtime.retention.noData\":`crwdns4303:0crwdne4303:0`,\"chart.runtime.retention.total\":`crwdns4305:0crwdne4305:0`,\"chart.runtime.retention.retention\":`crwdns4307:0crwdne4307:0`,\"chart.runtime.funnel.noData\":`crwdns4309:0crwdne4309:0`,\"chart.runtime.funnel.steps\":`crwdns4311:0crwdne4311:0`,\"chart.runtime.funnel.overall\":`crwdns4313:0crwdne4313:0`,\"chart.runtime.funnel.completed\":`crwdns4315:0{completed}crwdnd4315:0{total}crwdne4315:0`,\"chart.runtime.flow.noData\":`crwdns4317:0crwdne4317:0`,\"chart.runtime.flow.events\":`crwdns4319:0crwdne4319:0`,\"chart.runtime.flow.eventsAfter\":`crwdns4321:0crwdne4321:0`,\"chart.runtime.flow.paths\":`crwdns4323:0crwdne4323:0`,\"chart.runtime.flow.startingEntities\":`crwdns4325:0crwdne4325:0`,\"chart.runtime.flow.entities\":`crwdns4327:0crwdne4327:0`,\"chart.runtime.kpiDelta.insufficientData\":`crwdns4329:0crwdne4329:0`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`crwdns4331:0crwdne4331:0`,\"chart.runtime.kpiDelta.currentPoints\":`crwdns4333:0{count}crwdne4333:0`,\"chart.runtime.kpiDelta.noVariance\":`crwdns4335:0crwdne4335:0`,\"chart.runtime.kpiNumber.noData\":`crwdns4337:0crwdne4337:0`,\"chart.runtime.markdown.noContent\":`crwdns4339:0crwdne4339:0`,\"chart.runtime.markdown.addContent\":`crwdns4341:0crwdne4341:0`,\"chart.runtime.axisFormat.label\":`crwdns4343:0crwdne4343:0`,\"chart.runtime.axisFormat.autoLabel\":`crwdns4345:0crwdne4345:0`,\"chart.runtime.axisFormat.unit\":`crwdns4347:0crwdne4347:0`,\"chart.runtime.axisFormat.custom\":`crwdns4349:0crwdne4349:0`,\"chart.runtime.axisFormat.prefix\":`crwdns4351:0crwdne4351:0`,\"chart.runtime.axisFormat.prefixExample\":`crwdns4353:0crwdne4353:0`,\"chart.runtime.axisFormat.suffix\":`crwdns4355:0crwdne4355:0`,\"chart.runtime.axisFormat.suffixExample\":`crwdns4357:0crwdne4357:0`,\"chart.runtime.axisFormat.abbreviation\":`crwdns4359:0crwdne4359:0`,\"chart.runtime.axisFormat.yes\":`crwdns4361:0crwdne4361:0`,\"chart.runtime.axisFormat.no\":`crwdns4363:0crwdne4363:0`,\"chart.runtime.axisFormat.decimals\":`crwdns4365:0crwdne4365:0`,\"chart.runtime.axisFormat.preview\":`crwdns4367:0crwdne4367:0`,\"chart.runtime.axisFormat.leftYAxis\":`crwdns4369:0crwdne4369:0`,\"chart.runtime.axisFormat.rightYAxis\":`crwdns4371:0crwdne4371:0`,\"chart.runtime.axisFormat.xAxis\":`crwdns4373:0crwdne4373:0`,\"chart.runtime.missingDep.title\":`crwdns4375:0crwdne4375:0`,\"chart.runtime.missingDep.description\":`crwdns4377:0{chartType}crwdnd4377:0{packageName}crwdne4377:0`,\"chart.runtime.missingDep.restartHint\":`crwdns4379:0crwdne4379:0`,\"chart.runtime.unknownChartType\":`crwdns4381:0crwdne4381:0`,\"chart.runtime.unknownChartTypeHint\":`crwdns4383:0{chartType}crwdne4383:0`,\"chart.runtime.boxPlot.truncated\":`crwdns4385:0{max}crwdnd4385:0{total}crwdne4385:0`,\"chart.runtime.candlestick.truncated\":`crwdns4387:0{max}crwdnd4387:0{total}crwdne4387:0`,\"chart.runtime.bar.hiddenPoints\":`crwdns4389:0{count}crwdne4389:0`,\"chart.runtime.waterfall.increase\":`crwdns4391:0crwdne4391:0`,\"chart.runtime.waterfall.decrease\":`crwdns4393:0crwdne4393:0`,\"chart.runtime.waterfall.total\":`crwdns4395:0crwdne4395:0`,\"chart.runtime.tooltip.noData\":`crwdns4397:0crwdne4397:0`,\"chart.runtime.tooltip.targetValue\":`crwdns4399:0crwdne4399:0`,\"results.toolbar.refreshing\":`crwdns4401:0crwdne4401:0`,\"results.toolbar.refresh\":`crwdns4403:0crwdne4403:0`,\"results.toolbar.refreshTitle\":`crwdns4405:0crwdne4405:0`,\"results.toolbar.refreshingTitle\":`crwdns4407:0crwdne4407:0`,\"results.toolbar.cacheBustTitle\":`crwdns4409:0crwdne4409:0`,\"results.toolbar.clear\":`crwdns4411:0crwdne4411:0`,\"results.toolbar.clearFunnel\":`crwdns4413:0crwdne4413:0`,\"results.toolbar.clearQuery\":`crwdns4415:0crwdne4415:0`,\"results.toolbar.aiClose\":`crwdns4417:0crwdne4417:0`,\"results.toolbar.aiOpen\":`crwdns4419:0crwdne4419:0`,\"results.toolbar.shareTitle\":`crwdns4421:0crwdne4421:0`,\"results.toolbar.shareCopied\":`crwdns4423:0crwdne4423:0`,\"results.toolbar.schemaHide\":`crwdns4425:0crwdne4425:0`,\"results.toolbar.schemaShow\":`crwdns4427:0crwdne4427:0`,\"results.toolbar.debugHide\":`crwdns4429:0crwdne4429:0`,\"results.toolbar.debugShow\":`crwdns4431:0crwdne4431:0`,\"results.toolbar.chartView\":`crwdns4433:0crwdne4433:0`,\"results.toolbar.chartDisabled\":`crwdns4435:0crwdne4435:0`,\"results.toolbar.tableView\":`crwdns4437:0crwdne4437:0`,\"results.toolbar.mergedTableView\":`crwdns4439:0crwdne4439:0`,\"results.view.table\":`crwdns4441:0crwdne4441:0`,\"results.warning.filterHint\":`crwdns4443:0crwdne4443:0`,\"results.debug.query\":`crwdns4445:0crwdne4445:0`,\"results.debug.queryAnalysis\":`crwdns4447:0crwdne4447:0`,\"results.debug.copyMarkdownTitle\":`crwdns4449:0crwdne4449:0`,\"results.debug.copyAsMarkdown\":`crwdns4451:0crwdne4451:0`,\"results.debug.analysisError\":`crwdns4453:0crwdne4453:0`,\"results.debug.analysisEmpty\":`crwdns4455:0crwdne4455:0`,\"results.debug.cubeQuery\":`crwdns4457:0crwdne4457:0`,\"results.debug.cubeQueryExecuted\":`crwdns4459:0crwdne4459:0`,\"results.debug.funnelFilterHint\":`crwdns4461:0crwdne4461:0`,\"results.debug.noQuery\":`crwdns4463:0crwdne4463:0`,\"results.debug.serverResponse\":`crwdns4465:0crwdne4465:0`,\"results.debug.noResults\":`crwdns4467:0crwdne4467:0`,\"results.debug.chartConfig\":`crwdns4469:0crwdne4469:0`,\"results.debug.displayConfig\":`crwdns4471:0crwdne4471:0`,\"results.debug.generatedSql\":`crwdns4473:0crwdne4473:0`,\"results.debug.loadingSql\":`crwdns4475:0crwdne4475:0`,\"results.debug.executionError\":`crwdns4477:0crwdne4477:0`,\"results.confirm.clearFunnel\":`crwdns4479:0crwdne4479:0`,\"results.confirm.clearQuery\":`crwdns4481:0crwdne4481:0`,\"results.confirm.clearFunnelMessage\":`crwdns4483:0crwdne4483:0`,\"results.confirm.clearQueryMessage\":`crwdns4485:0crwdne4485:0`,\"results.table.noData\":`crwdns4487:0crwdne4487:0`,\"results.table.noDataHint\":`crwdns4489:0crwdne4489:0`,\"results.flow.noData\":`crwdns4491:0crwdne4491:0`,\"results.flow.noDataHint\":`crwdns4493:0crwdne4493:0`,\"results.flow.nodes\":`crwdns4495:0{count}crwdne4495:0`,\"results.flow.transitions\":`crwdns4497:0{count}crwdne4497:0`,\"results.flow.layer\":`crwdns4499:0crwdne4499:0`,\"results.flow.name\":`crwdns4501:0crwdne4501:0`,\"results.flow.count\":`crwdns4503:0crwdne4503:0`,\"results.flow.from\":`crwdns4505:0crwdne4505:0`,\"results.flow.to\":`crwdns4507:0crwdne4507:0`,\"results.debug.funnel.label\":`crwdns4509:0crwdne4509:0`,\"results.debug.funnel.steps\":`crwdns4511:0{count}crwdne4511:0`,\"results.debug.funnel.serverQuery\":`crwdns4513:0crwdne4513:0`,\"results.debug.funnel.noQuery\":`crwdns4515:0crwdne4515:0`,\"results.debug.funnel.sqlPlaceholder\":`crwdns4517:0crwdne4517:0`,\"results.debug.funnel.stepsTitle\":`crwdns4519:0crwdne4519:0`,\"results.debug.flow.label\":`crwdns4521:0crwdne4521:0`,\"results.debug.flow.badge\":`crwdns4523:0{before}crwdnd4523:0{after}crwdne4523:0`,\"results.debug.flow.serverQuery\":`crwdns4525:0crwdne4525:0`,\"results.debug.flow.noQuery\":`crwdns4527:0crwdne4527:0`,\"results.debug.flow.sqlPlaceholder\":`crwdns4529:0crwdne4529:0`,\"results.debug.flow.configTitle\":`crwdns4531:0crwdne4531:0`,\"results.debug.flow.startingStep\":`crwdns4533:0crwdne4533:0`,\"results.debug.flow.eventDimension\":`crwdns4535:0crwdne4535:0`,\"results.debug.flow.stepsBefore\":`crwdns4537:0crwdne4537:0`,\"results.debug.flow.stepsAfter\":`crwdns4539:0crwdne4539:0`,\"results.debug.flow.notSet\":`crwdns4541:0crwdne4541:0`,\"results.debug.flow.responseTitle\":`crwdns4543:0crwdne4543:0`,\"results.debug.retention.label\":`crwdns4545:0crwdne4545:0`,\"results.debug.retention.badge\":`crwdns4547:0{segments}crwdnd4547:0{users}crwdne4547:0`,\"results.debug.retention.serverQuery\":`crwdns4549:0crwdne4549:0`,\"results.debug.retention.configIncomplete\":`crwdns4551:0crwdne4551:0`,\"results.debug.retention.configHint\":`crwdns4553:0crwdne4553:0`,\"results.debug.retention.sqlPlaceholder\":`crwdns4555:0crwdne4555:0`,\"results.debug.retention.configTitle\":`crwdns4557:0crwdne4557:0`,\"results.debug.retention.summaryTitle\":`crwdns4559:0crwdne4559:0`,\"results.debug.retention.retentionType\":`crwdns4561:0crwdne4561:0`,\"results.debug.retention.periods\":`crwdns4563:0crwdne4563:0`,\"results.debug.retention.granularity\":`crwdns4565:0crwdne4565:0`,\"results.debug.retention.segments\":`crwdns4567:0crwdne4567:0`,\"results.debug.retention.avgPeriod1\":`crwdns4569:0crwdne4569:0`,\"results.debug.retention.maxPeriod1\":`crwdns4571:0crwdne4571:0`,\"results.debug.retention.minPeriod1\":`crwdns4573:0crwdne4573:0`,\"results.debug.standard.sqlPlaceholder\":`crwdns4575:0crwdne4575:0`,\"flow.tabs.flow\":`crwdns4577:0crwdne4577:0`,\"flow.tabs.display\":`crwdns4579:0crwdne4579:0`,\"flow.tabs.displayUnavailable\":`crwdns4581:0crwdne4581:0`,\"flow.tabs.displayTitle\":`crwdns4583:0crwdne4583:0`,\"flow.visualization.title\":`crwdns4585:0crwdne4585:0`,\"flow.visualization.description\":`crwdns4587:0crwdne4587:0`,\"flow.visualization.sankey\":`crwdns4589:0crwdne4589:0`,\"flow.visualization.sankeyHint\":`crwdns4591:0crwdne4591:0`,\"flow.visualization.sunburst\":`crwdns4593:0crwdne4593:0`,\"flow.visualization.sunburstHint\":`crwdns4595:0crwdne4595:0`,\"flow.startingStep.title\":`crwdns4597:0crwdne4597:0`,\"flow.startingStep.description\":`crwdns4599:0crwdne4599:0`,\"flow.startingStep.filterLabel\":`crwdns4601:0crwdne4601:0`,\"flow.depth.title\":`crwdns4603:0crwdne4603:0`,\"flow.depth.descriptionSankey\":`crwdns4605:0crwdne4605:0`,\"flow.depth.descriptionSunburst\":`crwdns4607:0crwdne4607:0`,\"flow.depth.stepsBefore\":`crwdns4609:0crwdne4609:0`,\"flow.depth.stepsBeforeNA\":`crwdns4611:0crwdne4611:0`,\"flow.depth.stepsAfter\":`crwdns4613:0crwdne4613:0`,\"flow.depth.performanceWarning\":`crwdns4615:0crwdne4615:0`,\"flow.joinStrategy.title\":`crwdns4617:0crwdne4617:0`,\"flow.joinStrategy.description\":`crwdns4619:0crwdne4619:0`,\"flow.joinStrategy.auto\":`crwdns4621:0crwdne4621:0`,\"flow.joinStrategy.lateral\":`crwdns4623:0crwdne4623:0`,\"flow.joinStrategy.window\":`crwdns4625:0crwdne4625:0`,\"retention.tabs.retention\":`crwdns4627:0crwdne4627:0`,\"retention.tabs.display\":`crwdns4629:0crwdne4629:0`,\"retention.tabs.displayUnavailable\":`crwdns4631:0crwdne4631:0`,\"retention.tabs.displayTitle\":`crwdns4633:0crwdne4633:0`,\"retention.dateRange.title\":`crwdns4635:0crwdne4635:0`,\"retention.dateRange.description\":`crwdns4637:0crwdne4637:0`,\"retention.dateRange.label\":`crwdns4639:0crwdne4639:0`,\"retention.dateRange.selectRange\":`crwdns4641:0crwdne4641:0`,\"retention.dateRange.customRange\":`crwdns4643:0crwdne4643:0`,\"retention.dateRange.applyCustom\":`crwdns4645:0crwdne4645:0`,\"retention.cohortFilter.title\":`crwdns4647:0crwdne4647:0`,\"retention.cohortFilter.description\":`crwdns4649:0crwdne4649:0`,\"retention.returnFilter.title\":`crwdns4651:0crwdne4651:0`,\"retention.returnFilter.description\":`crwdns4653:0crwdne4653:0`,\"retention.breakdown.title\":`crwdns4655:0crwdne4655:0`,\"retention.breakdown.description\":`crwdns4657:0crwdne4657:0`,\"retention.settings.title\":`crwdns4659:0crwdne4659:0`,\"retention.settings.description\":`crwdns4661:0crwdne4661:0`,\"retention.settings.granularityLabel\":`crwdns4663:0crwdne4663:0`,\"retention.settings.periodsLabel\":`crwdns4665:0{min}crwdnd4665:0{max}crwdne4665:0`,\"retention.settings.periodsWarning\":`crwdns4667:0crwdne4667:0`,\"retention.settings.retentionTypeLabel\":`crwdns4669:0crwdne4669:0`,\"debug.explainPlan\":`crwdns4671:0crwdne4671:0`,\"debug.explainRunning\":`crwdns4673:0crwdne4673:0`,\"debug.explainIncludeTiming\":`crwdns4675:0crwdne4675:0`,\"debug.explainRunningAnalyze\":`crwdns4677:0crwdne4677:0`,\"debug.explainRunningBasic\":`crwdns4679:0crwdne4679:0`,\"debug.explainError\":`crwdns4681:0crwdne4681:0`,\"debug.sequentialScans\":`crwdns4683:0crwdne4683:0`,\"debug.indexesUsed\":`crwdns4685:0{count}crwdne4685:0`,\"debug.indexesUsedPlural\":`crwdns4687:0{count}crwdne4687:0`,\"debug.executionTime\":`crwdns4689:0{time}crwdne4689:0`,\"debug.planningTime\":`crwdns4691:0{time}crwdne4691:0`,\"debug.cost\":`crwdns4693:0{cost}crwdne4693:0`,\"debug.indexes\":`crwdns4695:0crwdne4695:0`,\"debug.executionPlanTitle\":`crwdns4697:0{database}crwdne4697:0`,\"debug.aiAnalyzing\":`crwdns4699:0crwdne4699:0`,\"debug.aiAnalysis\":`crwdns4701:0crwdne4701:0`,\"debug.aiAnalysisError\":`crwdns4703:0crwdne4703:0`,\"explainAI.title\":`crwdns4705:0crwdne4705:0`,\"explainAI.assessment.good\":`crwdns4707:0crwdne4707:0`,\"explainAI.assessment.warning\":`crwdns4709:0crwdne4709:0`,\"explainAI.assessment.critical\":`crwdns4711:0crwdne4711:0`,\"explainAI.summary\":`crwdns4713:0crwdne4713:0`,\"explainAI.queryAnalysis\":`crwdns4715:0crwdne4715:0`,\"explainAI.issuesFound\":`crwdns4717:0{count}crwdne4717:0`,\"explainAI.recommendations\":`crwdns4719:0{count}crwdne4719:0`,\"explainAI.noRecommendations\":`crwdns4721:0crwdne4721:0`,\"explainAI.expectedImpact\":`crwdns4723:0crwdne4723:0`,\"explainAI.addToCube\":`crwdns4725:0{cubeName}crwdne4725:0`,\"explainAI.modelLabel\":`crwdns4727:0crwdne4727:0`,\"explainAI.usingUserKey\":`crwdns4729:0crwdne4729:0`,\"explainAI.copied\":`crwdns4731:0crwdne4731:0`,\"explainAI.copy\":`crwdns4733:0crwdne4733:0`,\"explainAI.type.index\":`crwdns4735:0crwdne4735:0`,\"explainAI.type.table\":`crwdns4737:0crwdne4737:0`,\"explainAI.type.cube\":`crwdns4739:0crwdne4739:0`,\"explainAI.type.general\":`crwdns4741:0crwdne4741:0`,\"errorBoundary.modeError\":`crwdns4743:0crwdne4743:0`,\"errorBoundary.modeErrorDescription\":`crwdns4745:0{mode}crwdne4745:0`,\"errorBoundary.showDetails\":`crwdns4747:0crwdne4747:0`,\"errorBoundary.unknownError\":`crwdns4749:0crwdne4749:0`,\"errorBoundary.tryAgain\":`crwdns4751:0crwdne4751:0`,\"errorBoundary.switchToQuery\":`crwdns4753:0crwdne4753:0`,\"funnel.tabs.steps\":`crwdns4755:0crwdne4755:0`,\"funnel.tabs.display\":`crwdns4757:0crwdne4757:0`,\"funnel.tabs.displayUnavailable\":`crwdns4759:0crwdne4759:0`,\"funnel.tabs.displayTitle\":`crwdns4761:0crwdne4761:0`,\"funnel.steps.title\":`crwdns4763:0crwdne4763:0`,\"funnel.steps.emptyMessage\":`crwdns4765:0crwdne4765:0`,\"funnel.steps.addFirst\":`crwdns4767:0crwdne4767:0`,\"funnel.steps.addStep\":`crwdns4769:0crwdne4769:0`,\"funnel.steps.validationHint\":`crwdns4771:0crwdne4771:0`,\"funnel.step.removeTitle\":`crwdns4773:0crwdne4773:0`,\"funnel.step.editNameTitle\":`crwdns4775:0crwdne4775:0`,\"funnel.step.placeholder\":`crwdns4777:0crwdne4777:0`,\"funnel.step.timeWindow\":`crwdns4779:0crwdne4779:0`,\"funnel.step.timeWindowHelp\":`crwdns4781:0crwdne4781:0`,\"funnel.step.filters\":`crwdns4783:0{count}crwdne4783:0`,\"funnel.step.filtersPlural\":`crwdns4785:0{count}crwdne4785:0`,\"funnel.step.within\":`crwdns4787:0{time}crwdne4787:0`,\"funnel.step.noFilters\":`crwdns4789:0crwdne4789:0`,\"funnel.config.configuration\":`crwdns4791:0crwdne4791:0`,\"funnel.config.cube\":`crwdns4793:0crwdne4793:0`,\"funnel.config.cubeHelp\":`crwdns4795:0crwdne4795:0`,\"funnel.config.cubePlaceholder\":`crwdns4797:0crwdne4797:0`,\"funnel.config.bindingKey\":`crwdns4799:0crwdne4799:0`,\"funnel.config.bindingKeyHelp\":`crwdns4801:0crwdne4801:0`,\"funnel.config.bindingKeyPlaceholder\":`crwdns4803:0crwdne4803:0`,\"funnel.config.selectCubeFirst\":`crwdns4805:0crwdne4805:0`,\"funnel.config.timeDimension\":`crwdns4807:0crwdne4807:0`,\"funnel.config.timeDimensionHelp\":`crwdns4809:0crwdne4809:0`,\"funnel.config.timeDimensionPlaceholder\":`crwdns4811:0crwdne4811:0`,\"funnel.config.noMatchingFields\":`crwdns4813:0crwdne4813:0`,\"funnel.bindingKey.searchPlaceholder\":`crwdns4815:0crwdne4815:0`,\"funnel.bindingKey.noMatching\":`crwdns4817:0crwdne4817:0`,\"funnel.bindingKey.helpText\":`crwdns4819:0crwdne4819:0`,\"funnel.bindingKey.clearTitle\":`crwdns4821:0crwdne4821:0`,\"flow.config.configuration\":`crwdns4823:0crwdne4823:0`,\"flow.config.cube\":`crwdns4825:0crwdne4825:0`,\"flow.config.cubeHelp\":`crwdns4827:0crwdne4827:0`,\"flow.config.cubePlaceholder\":`crwdns4829:0crwdne4829:0`,\"flow.config.bindingKey\":`crwdns4831:0crwdne4831:0`,\"flow.config.bindingKeyHelp\":`crwdns4833:0crwdne4833:0`,\"flow.config.bindingKeyPlaceholder\":`crwdns4835:0crwdne4835:0`,\"flow.config.selectCubeFirst\":`crwdns4837:0crwdne4837:0`,\"flow.config.timeDimension\":`crwdns4839:0crwdne4839:0`,\"flow.config.timeDimensionHelp\":`crwdns4841:0crwdne4841:0`,\"flow.config.timeDimensionPlaceholder\":`crwdns4843:0crwdne4843:0`,\"flow.config.eventDimension\":`crwdns4845:0crwdne4845:0`,\"flow.config.eventDimensionHelp\":`crwdns4847:0crwdne4847:0`,\"flow.config.eventDimensionPlaceholder\":`crwdns4849:0crwdne4849:0`,\"flow.config.noMatchingFields\":`crwdns4851:0crwdne4851:0`,\"retention.config.configuration\":`crwdns4853:0crwdne4853:0`,\"retention.config.cube\":`crwdns4855:0crwdne4855:0`,\"retention.config.cubeHelp\":`crwdns4857:0crwdne4857:0`,\"retention.config.cubePlaceholder\":`crwdns4859:0crwdne4859:0`,\"retention.config.bindingKey\":`crwdns4861:0crwdne4861:0`,\"retention.config.bindingKeyHelp\":`crwdns4863:0crwdne4863:0`,\"retention.config.bindingKeyPlaceholder\":`crwdns4865:0crwdne4865:0`,\"retention.config.selectCubeFirst\":`crwdns4867:0crwdne4867:0`,\"retention.config.timestamp\":`crwdns4869:0crwdne4869:0`,\"retention.config.timestampHelp\":`crwdns4871:0crwdne4871:0`,\"retention.config.timestampPlaceholder\":`crwdns4873:0crwdne4873:0`,\"retention.config.noMatchingFields\":`crwdns4875:0crwdne4875:0`,\"retention.config.searchPlaceholder\":`crwdns4877:0crwdne4877:0`,\"display.showLegend\":`crwdns4879:0crwdne4879:0`,\"display.showGrid\":`crwdns4881:0crwdne4881:0`,\"display.showTooltip\":`crwdns4883:0crwdne4883:0`,\"display.stacked\":`crwdns4885:0crwdne4885:0`,\"display.hideHeader\":`crwdns4887:0crwdne4887:0`,\"fieldSearch.aria.closeDialog\":`crwdns4889:0crwdne4889:0`,\"fieldSearch.aria.filterByCube\":`crwdns4891:0crwdne4891:0`,\"fieldSearch.aria.cubeCategories\":`crwdns4893:0crwdne4893:0`,\"fieldSearch.aria.availableFields\":`crwdns4895:0crwdne4895:0`,\"chart.dropZone.required\":`crwdns4897:0crwdne4897:0`,\"common.actions.apply\":`crwdns4899:0crwdne4899:0`,\"common.actions.done\":`crwdns4901:0crwdne4901:0`,\"common.actions.update\":`crwdns4903:0crwdne4903:0`,\"common.actions.retry\":`crwdns4905:0crwdne4905:0`,\"common.actions.exit\":`crwdns4907:0crwdne4907:0`,\"common.actions.selectAll\":`crwdns4909:0crwdne4909:0`,\"common.saving\":`crwdns4911:0crwdne4911:0`,\"common.labels.title\":`crwdns4913:0crwdne4913:0`,\"dashboardFilter.editFilter\":`crwdns4915:0crwdne4915:0`,\"dashboardFilter.filterLabel\":`crwdns4917:0crwdne4917:0`,\"dashboardFilter.enterFilterLabel\":`crwdns4919:0crwdne4919:0`,\"dashboardFilter.universalTimeFilter\":`crwdns4921:0crwdne4921:0`,\"dashboardFilter.universalTimeDescription\":`crwdns4923:0crwdne4923:0`,\"dashboardFilter.field\":`crwdns4925:0crwdne4925:0`,\"dashboardFilter.showDashboardFields\":`crwdns4927:0crwdne4927:0`,\"dashboardFilter.showAllFields\":`crwdns4929:0crwdne4929:0`,\"dashboardFilter.dashboard\":`crwdns4931:0crwdne4931:0`,\"dashboardFilter.all\":`crwdns4933:0crwdne4933:0`,\"dashboardFilter.clickToSelectField\":`crwdns4935:0crwdne4935:0`,\"dashboardFilter.operator\":`crwdns4937:0crwdne4937:0`,\"dashboardFilter.defaultValue\":`crwdns4939:0crwdne4939:0`,\"dashboardFilter.deleteFilter\":`crwdns4941:0crwdne4941:0`,\"dashboardFilter.noValueRequired\":`crwdns4943:0crwdne4943:0`,\"dashboardFilter.to\":`crwdns4945:0crwdne4945:0`,\"dashboardFilter.selectValue\":`crwdns4947:0crwdne4947:0`,\"dashboardFilter.search\":`crwdns4949:0crwdne4949:0`,\"dashboardFilter.errorPrefix\":`crwdns4951:0crwdne4951:0`,\"dashboardFilter.noValuesFound\":`crwdns4953:0crwdne4953:0`,\"dashboardFilter.enterValue\":`crwdns4955:0crwdne4955:0`,\"dashboardFilter.enterNumber\":`crwdns4957:0crwdne4957:0`,\"dashboardFilter.min\":`crwdns4959:0crwdne4959:0`,\"dashboardFilter.max\":`crwdns4961:0crwdne4961:0`,\"dashboardFilter.filterLabelRequired\":`crwdns4963:0crwdne4963:0`,\"dashboardFilter.selectFieldRequired\":`crwdns4965:0crwdne4965:0`,\"dashboardFilter.notSet\":`crwdns4967:0crwdne4967:0`,\"dashboardFilter.clickToConfigure\":`crwdns4969:0crwdne4969:0`,\"dashboardFilter.customDate.startDate\":`crwdns4971:0crwdne4971:0`,\"dashboardFilter.customDate.endDate\":`crwdns4973:0crwdne4973:0`,\"dashboardFilter.customDate.sinceDate\":`crwdns4975:0crwdne4975:0`,\"dashboardFilter.customDate.fromSelectedToToday\":`crwdns4977:0crwdne4977:0`,\"dashboardFilter.customDate.number\":`crwdns4979:0crwdne4979:0`,\"dashboardFilter.customDate.unit\":`crwdns4981:0crwdne4981:0`,\"dashboardFilter.customDate.lastNPreview\":`crwdns4983:0{number}crwdnd4983:0{unit}crwdne4983:0`,\"dashboardFilter.editMode.filters\":`crwdns4985:0crwdne4985:0`,\"dashboardFilter.editMode.noFilters\":`crwdns4987:0crwdne4987:0`,\"dashboardFilter.editMode.dateRange\":`crwdns4989:0crwdne4989:0`,\"dashboardFilter.editMode.filter\":`crwdns4991:0crwdne4991:0`,\"dashboardFilter.editMode.editFilter\":`crwdns4993:0crwdne4993:0`,\"dashboardFilter.editMode.removeFilter\":`crwdns4995:0crwdne4995:0`,\"dashboardFilter.filterValue.editValue\":`crwdns4997:0crwdne4997:0`,\"dashboardFilter.readOnly.filters\":`crwdns4999:0crwdne4999:0`,\"filter.shared.fieldsInQuery\":`crwdns5001:0{count}crwdne5001:0`,\"filter.shared.allAvailableFields\":`crwdns5003:0{count}crwdne5003:0`,\"filter.shared.noFieldsMatch\":`crwdns5005:0{searchTerm}crwdne5005:0`,\"filter.shared.searchFields\":`crwdns5007:0crwdne5007:0`,\"filter.shared.selectField\":`crwdns5009:0crwdne5009:0`,\"filter.shared.schemaNotLoaded\":`crwdns5011:0crwdne5011:0`,\"filter.shared.group.addFilter\":`crwdns5013:0crwdne5013:0`,\"filter.shared.group.addAndGroup\":`crwdns5015:0crwdne5015:0`,\"filter.shared.group.addOrGroup\":`crwdns5017:0crwdne5017:0`,\"filter.shared.group.addCondition\":`crwdns5019:0crwdne5019:0`,\"filter.shared.group.noConditions\":`crwdns5021:0crwdne5021:0`,\"filter.shared.group.addFilterLink\":`crwdns5023:0crwdne5023:0`,\"filter.shared.builder.filters\":`crwdns5025:0{count}crwdne5025:0`,\"filter.shared.builder.clearAll\":`crwdns5027:0crwdne5027:0`,\"filter.shared.builder.addFilter\":`crwdns5029:0crwdne5029:0`,\"filter.shared.dateRange.title\":`crwdns5031:0{count}crwdne5031:0`,\"filter.shared.dateRange.clearAll\":`crwdns5033:0crwdne5033:0`,\"filter.shared.dateRange.addDateRange\":`crwdns5035:0crwdne5035:0`,\"filter.shared.dateRange.allHaveDateRanges\":`crwdns5037:0crwdne5037:0`,\"filter.shared.valueSelector.noValueRequired\":`crwdns5039:0crwdne5039:0`,\"filter.shared.valueSelector.to\":`crwdns5041:0crwdne5041:0`,\"filter.shared.valueSelector.min\":`crwdns5043:0crwdne5043:0`,\"filter.shared.valueSelector.max\":`crwdns5045:0crwdne5045:0`,\"filter.shared.valueSelector.enterNumber\":`crwdns5047:0crwdne5047:0`,\"filter.shared.valueSelector.loadingValues\":`crwdns5049:0crwdne5049:0`,\"filter.shared.valueSelector.selectValue\":`crwdns5051:0crwdne5051:0`,\"filter.shared.valueSelector.searchValues\":`crwdns5053:0crwdne5053:0`,\"filter.shared.valueSelector.searching\":`crwdns5055:0crwdne5055:0`,\"filter.shared.valueSelector.errorLoading\":`crwdns5057:0{error}crwdne5057:0`,\"filter.shared.valueSelector.noMatchingValues\":`crwdns5059:0crwdne5059:0`,\"filter.shared.valueSelector.noValuesAvailable\":`crwdns5061:0crwdne5061:0`,\"filter.shared.valueSelector.enterValue\":`crwdns5063:0{type}crwdne5063:0`,\"dashboard.noPortlets\":`crwdns5065:0crwdne5065:0`,\"dashboard.noPortletsDescription\":`crwdns5067:0crwdne5067:0`,\"dashboard.addText\":`crwdns5069:0crwdne5069:0`,\"dashboard.addPortlet\":`crwdns5071:0crwdne5071:0`,\"dashboard.finishEditing\":`crwdns5073:0crwdne5073:0`,\"dashboard.edit\":`crwdns5075:0crwdne5075:0`,\"dashboard.grid\":`crwdns5077:0crwdne5077:0`,\"dashboard.rows\":`crwdns5079:0crwdne5079:0`,\"dashboard.desktopRequired\":`crwdns5081:0crwdne5081:0`,\"dashboard.editModeHint\":`crwdns5083:0crwdne5083:0`,\"dashboard.filterSelectionMode\":`crwdns5085:0{filterLabel}crwdne5085:0`,\"dashboard.filterSelectionEscHint\":`crwdns5087:0crwdne5087:0`,\"dashboard.editPortlet\":`crwdns5089:0crwdne5089:0`,\"dashboard.addNewPortlet\":`crwdns5091:0crwdne5091:0`,\"dashboard.updatePortlet\":`crwdns5093:0crwdne5093:0`,\"dashboard.deletePortlet\":`crwdns5095:0crwdne5095:0`,\"dashboard.deletePortletConfirm\":`crwdns5097:0crwdne5097:0`,\"dashboard.deletePortletSuffix\":`crwdns5099:0crwdne5099:0`,\"dashboard.thisPortlet\":`crwdns5101:0crwdne5101:0`,\"dashboard.editModal.dashboardName\":`crwdns5103:0crwdne5103:0`,\"dashboard.editModal.enterDashboardName\":`crwdns5105:0crwdne5105:0`,\"dashboard.editModal.descriptionOptional\":`crwdns5107:0crwdne5107:0`,\"dashboard.editModal.enterDescription\":`crwdns5109:0crwdne5109:0`,\"portlet.configRequired\":`crwdns5111:0crwdne5111:0`,\"portlet.configRequiredHint\":`crwdns5113:0crwdne5113:0`,\"portlet.queryError\":`crwdns5115:0crwdne5115:0`,\"portlet.queryWithFilters\":`crwdns5117:0crwdne5117:0`,\"portlet.chartConfig\":`crwdns5119:0crwdne5119:0`,\"portlet.noDataAvailable\":`crwdns5121:0crwdne5121:0`,\"portlet.noDataDrilled\":`crwdns5123:0crwdne5123:0`,\"portlet.invalidQuery\":`crwdns5125:0crwdne5125:0`,\"portlet.unsupportedChartType\":`crwdns5127:0crwdne5127:0`,\"portlet.unableToRender\":`crwdns5129:0crwdne5129:0`,\"portlet.enterTitle\":`crwdns5131:0crwdne5131:0`,\"portlet.enterPortletTitle\":`crwdns5133:0crwdne5133:0`,\"portlet.configureQuery\":`crwdns5135:0crwdne5135:0`,\"portlet.configureFlow\":`crwdns5137:0crwdne5137:0`,\"portlet.configureRetention\":`crwdns5139:0crwdne5139:0`,\"portlet.configureFunnel\":`crwdns5141:0crwdne5141:0`,\"portlet.addMetricOrBreakdown\":`crwdns5143:0crwdne5143:0`,\"portlet.filterConfig.title\":`crwdns5145:0crwdne5145:0`,\"portlet.filterConfig.subtitle\":`crwdns5147:0{portletTitle}crwdne5147:0`,\"portlet.filterConfig.noFilters\":`crwdns5149:0crwdne5149:0`,\"portlet.filterConfig.noFiltersHint\":`crwdns5151:0crwdne5151:0`,\"portlet.filterConfig.availableFilters\":`crwdns5153:0crwdne5153:0`,\"portlet.filterConfig.selectedCount\":`crwdns5155:0{selected}crwdnd5155:0{total}crwdne5155:0`,\"portlet.filterConfig.applied\":`crwdns5157:0crwdne5157:0`,\"portlet.filterConfig.noValue\":`crwdns5159:0crwdne5159:0`,\"portlet.filterConfig.complexFilter\":`crwdns5161:0crwdne5161:0`,\"portlet.filterConfig.groupFilter\":`crwdns5163:0{type}crwdnd5163:0{count}crwdne5163:0`,\"portlet.filterConfig.groupFilterPlural\":`crwdns5165:0{type}crwdnd5165:0{count}crwdne5165:0`,\"portlet.filterConfig.applyFilters\":`crwdns5167:0crwdne5167:0`,\"textPortlet.editText\":`crwdns5169:0crwdne5169:0`,\"textPortlet.addText\":`crwdns5171:0crwdne5171:0`,\"textPortlet.markdownContent\":`crwdns5173:0crwdne5173:0`,\"textPortlet.markdownHint\":`crwdns5175:0urlcrwdne5175:0`,\"textPortlet.preview\":`crwdns5177:0crwdne5177:0`,\"debug.title\":`crwdns5179:0crwdne5179:0`,\"debug.chartType\":`crwdns5181:0crwdne5181:0`,\"debug.fieldAnalysis\":`crwdns5183:0crwdne5183:0`,\"debug.chartConfig\":`crwdns5185:0crwdne5185:0`,\"debug.displayConfig\":`crwdns5187:0crwdne5187:0`,\"debug.queryObject\":`crwdns5189:0crwdne5189:0`,\"debug.dataSample\":`crwdns5191:0crwdne5191:0`,\"debug.cacheStatus\":`crwdns5193:0crwdne5193:0`,\"debug.cacheHit\":`crwdns5195:0crwdne5195:0`,\"debug.cachedAt\":`crwdns5197:0crwdne5197:0`,\"debug.ttl\":`crwdns5199:0crwdne5199:0`,\"debug.ttlRemaining\":`crwdns5201:0crwdne5201:0`,\"debug.freshQuery\":`crwdns5203:0crwdne5203:0`,\"debug.notFromCache\":`crwdns5205:0crwdne5205:0`,\"debug.escToClose\":`crwdns5207:0crwdne5207:0`,\"debug.escKey\":`crwdns5209:0crwdne5209:0`,\"debug.toClose\":`crwdns5211:0crwdne5211:0`,\"debug.tooltip\":`crwdns5213:0crwdne5213:0`,\"error.unableToRender\":`crwdns5215:0crwdne5215:0`,\"error.unableToRenderNamed\":`crwdns5217:0{title}crwdne5217:0`,\"error.renderDescription\":`crwdns5219:0crwdne5219:0`,\"error.errorLabel\":`crwdns5221:0crwdne5221:0`,\"error.typeLabel\":`crwdns5223:0crwdne5223:0`,\"error.portletConfig\":`crwdns5225:0crwdne5225:0`,\"error.cubeQuery\":`crwdns5227:0crwdne5227:0`,\"error.componentStack\":`crwdns5229:0crwdne5229:0`,\"error.tryAgain\":`crwdns5231:0crwdne5231:0`,\"drill.back\":`crwdns5233:0crwdne5233:0`,\"drill.goBackOneLevel\":`crwdns5235:0crwdne5235:0`,\"drill.returnToTop\":`crwdns5237:0crwdne5237:0`,\"drill.navigateTo\":`crwdns5239:0{label}crwdne5239:0`,\"drill.empty\":`crwdns5241:0crwdne5241:0`,\"analyticsPage.title\":`crwdns5243:0crwdne5243:0`,\"dataHistogram.average\":`crwdns5507:0{count}crwdne5507:0`,\"dataHistogram.valuesInRange\":`crwdns5245:0{count}crwdne5245:0`}})),Tv=c({default:()=>Ev}),Ev,Dv=o((()=>{Ev={\"analysis.modes.flow.description\":`Bidirectional path analysis with Sankey visualization`,\"chart.area.description\":`Emphasize magnitude of change over time`,\"chart.radialBar.description\":`Circular progress and KPI visualization`,\"chart.treemap.description\":`Visualize hierarchical data with nested rectangles`,\"chart.activityGrid.description\":`GitHub-style activity grid showing temporal patterns across different time scales`,\"chart.activityGrid.useCase\":`Best for visualizing activity patterns over time. Supports hour (3hr blocks × days), day (days × weeks), week (weeks × months), month (months × quarters), and quarter (quarters × years) granularities`,\"chart.kpiText.description\":`Display key performance indicators as customizable text`,\"chart.funnel.useCase\":`Best for visualizing user journey funnels, sales pipelines, or multi-step processes`,\"chart.sankey.useCase\":`Best for visualizing user journey flows, path analysis, or state transitions`,\"chart.sunburst.useCase\":`Best for visualizing forward paths from a starting event in a compact radial layout`,\"chart.heatmap.description\":`Visualize intensity across two dimensions`,\"chart.retentionHeatmap.description\":`Cohort retention matrix visualization`,\"chart.retentionHeatmap.useCase\":`Visualize user retention over time by cohort`,\"chart.retentionCombined.description\":`Combined retention visualization with line chart and heatmap modes`,\"chart.retentionCombined.useCase\":`Visualize user retention over time with optional breakdown segmentation`,\"chart.measureProfile.description\":`Plot N measures as sequential X-axis points to visualize a profile or shape across intervals`,\"chart.gauge.useCase\":`Best for high-water marks vs equity, margin utilization, or any single value progress toward a goal`,\"chart.option.innerRadius.description\":`Hollow center size (0% = solid pie, higher = donut style)`,\"chart.option.bullColor.label\":`Bullish Color`,\"chart.option.bullColor.description\":`Candle color when close ≥ open`,\"chart.option.bearColor.label\":`Bearish Color`,\"chart.option.bearColor.description\":`Candle color when close < open`,\"chart.option.showCentreLabel.label\":`Show Center Label`,\"chart.option.showCentreLabel.description\":`Display current value and field name in the center of the gauge`,\"chart.option.accentBorder.description\":`Add an accent-colored border on one side of the content`,\"chart.scatter.dropZone.series.empty\":`Drop a dimension to color points`,\"chart.bubble.dropZone.colorField.empty\":`Drop a field for bubble color (optional)`,\"chart.treemap.dropZone.series.empty\":`Drop a dimension for color grouping`}})),Ov=c({default:()=>kv}),kv,Av=o((()=>{kv={\"analysis.modes.query.label\":`Zoekopdracht`,\"analysis.modes.query.description\":`Standard analyse (enkele of meerdere-query)`,\"analysis.modes.funnel.label\":`Trechter`,\"analysis.modes.funnel.description\":`Sequential conversion analyse`,\"analysis.modes.flow.label\":`Stroom`,\"analysis.modes.flow.description\":`Bidirectional pad analyse met Sankey visualisatie`,\"analysis.modes.retention.label\":`Retentie`,\"analysis.modes.retention.description\":`Cohortgebaseerde retentieanalyse over tijdsperioden`,\"analysis.ai.title\":`AI-querygenerator`,\"analysis.ai.generating\":`Genereren...`,\"analysis.ai.placeholder\":`Beschrijf je query in natuurlijke taal... (bijv. 'Toon totale verkoop per maand voor het afgelopen jaar')`,\"analysis.ai.shortcutHint\":`Druk op Enter om te genereren, Shift+Enter voor een nieuwe regel`,\"analysis.ai.successMessage\":`Query gegenereerd en geladen! Controleer de resultaten hieronder en klik op Accepteren om te behouden of Annuleren om terug te draaien.`,\"analysis.ai.button.accept\":`Accepteren`,\"analysis.ai.button.cancel\":`Annuleren`,\"analysis.ai.button.close\":`Sluiten`,\"analysis.ai.button.generate\":`Genereren`,\"analysis.ai.button.generating\":`Genereren...`,\"analysis.sections.metrics\":`Metrieken`,\"analysis.sections.breakdown\":`Opsplitsing`,\"analysis.sections.dimensions\":`Dimensies`,\"analysis.sections.filters\":`Filter`,\"analysis.sections.limit\":`Limiet`,\"analysis.tabs.query\":`Zoekopdracht`,\"analysis.tabs.chart\":`Grafiek`,\"analysis.tabs.chartTitle\":`Grafiek configuratie`,\"analysis.tabs.display\":`Weergave`,\"analysis.tabs.displayTitle\":`Weergave options`,\"analysis.multiQuery.removeQuery\":`Verwijderen query`,\"analysis.multiQuery.addQuery\":`Voeg new query`,\"analysis.multiQuery.addAnother\":`Voeg another query`,\"analysis.multiQuery.mergeExplanation\":`In samenvoegen modus, dimensies zijn shared van Q1.`,\"analysis.multiQuery.switchToSeparate\":`Schakel naar aparte reeksen`,\"analysis.mergeStrategy.concat\":`Apart reeksen`,\"analysis.mergeStrategy.merge\":`Samenvoegen op dimensie`,\"analysis.mergeStrategy.funnel\":`Trechter`,\"analysis.placeholders.addMetrics\":`Voeg metingen toe om SQL te genereren`,\"analysis.placeholders.hoverField\":`Beweeg over een veld om details te zien`,\"analysis.placeholders.noData\":`Geen gegevens beschikbaar`,\"common.actions.accept\":`Accepteren`,\"common.actions.cancel\":`Annuleren`,\"common.actions.delete\":`Verwijderen`,\"common.actions.close\":`Sluiten`,\"common.actions.edit\":`Bewerken`,\"common.actions.save\":`Opslaan`,\"common.actions.copy\":`Kopiëren`,\"common.actions.duplicate\":`Dupliceren`,\"common.actions.refresh\":`Vernieuwen`,\"common.actions.confirm\":`Bevestigen`,\"common.actions.add\":`Voeg`,\"common.actions.clear\":`Wissen`,\"common.actions.select\":`Selecteer`,\"common.actions.navigate\":`Navigeer`,\"common.actions.share\":`Delen`,\"common.loading\":`Laden...`,\"common.modal.processing\":`Verwerken...`,\"common.modal.dashboardName\":`Dashboard Naam`,\"common.modal.deleteConfirmation\":`Weet je het zeker? Deze actie kan niet ongedaan worden gemaakt.`,\"common.sorting.ascending\":`Oplopend gesorteerd (klik voor aflopend)`,\"common.sorting.descending\":`Aflopend gesorteerd (klik om te verwijderen)`,\"common.sorting.none\":`Klik om oplopend te sorteren`,\"fieldTypes.count\":`Aantal`,\"fieldTypes.countDistinct\":`Aantal Distinct`,\"fieldTypes.countDistinctApprox\":`Aantal Distinct (Approx)`,\"fieldTypes.sum\":`Som`,\"fieldTypes.avg\":`Gemiddelde`,\"fieldTypes.min\":`Minimum`,\"fieldTypes.max\":`Maximum`,\"fieldTypes.runningTotal\":`Uitvoeren Totaal`,\"fieldTypes.number\":`Nummer`,\"fieldTypes.string\":`Tekst`,\"fieldTypes.boolean\":`Boolean`,\"fieldTypes.time\":`Tijd Dimensie`,\"fieldTypes.geo\":`Geografisch`,\"fieldTypes.dimension\":`Dimensie`,\"fieldPanel.emptyState\":`Beweeg over een veld om details te zien`,\"fieldPanel.usageHint\":`Druk op Enter of klik om dit veld aan je query toe te voegen.`,\"fieldPanel.labels.type\":`Type`,\"fieldPanel.labels.cube\":`Cube`,\"fieldPanel.labels.category\":`Categorie`,\"fieldCategory.measure\":`Meting`,\"fieldCategory.timeDimension\":`Tijd Dimensie`,\"fieldCategory.dimension\":`Dimensie`,\"fieldSearch.placeholder.metrics\":`Zoeken metingen...`,\"fieldSearch.placeholder.filter\":`Zoeken velden naar filter...`,\"fieldSearch.placeholder.dimensions\":`Zoeken dimensies...`,\"fieldSearch.modal.title.metrics\":`Selecteer a Metric`,\"fieldSearch.modal.title.filter\":`Selecteer a Veld naar Filter`,\"fieldSearch.modal.title.dimensions\":`Selecteer a Dimensie`,\"fieldSearch.filter.allCubes\":`Alle Cubes`,\"fieldSearch.categories.all\":`Alle`,\"fieldSearch.empty.heading\":`Geen velden gevonden`,\"fieldSearch.empty.noMatchMetrics\":`Geen metingen match \"{searchTerm}\"`,\"fieldSearch.empty.noMatchDimensions\":`Geen dimensies match \"{searchTerm}\"`,\"fieldSearch.empty.noMetrics\":`Geen metingen beschikbaar`,\"fieldSearch.empty.noDimensions\":`Geen dimensies beschikbaar`,\"fieldSearch.section.recents\":`Recent`,\"fieldSearch.footer.metricsAvailable\":`metrieken beschikbaar`,\"fieldSearch.footer.fieldsAvailable\":`velden beschikbaar`,\"fieldSearch.footer.dimensionsAvailable\":`dimensies beschikbaar`,\"fieldSearch.shortcut.navigate\":`Navigeer`,\"fieldSearch.shortcut.keyEnter\":`Enter`,\"fieldSearch.shortcut.keyShift\":`Shift`,\"fieldSearch.shortcut.keyEsc\":`Esc`,\"fieldSearch.shortcut.plusClick\":`+Klik`,\"fieldSearch.shortcut.select\":`Selecteer`,\"fieldSearch.shortcut.multiSelect\":`Meerdere-selecteer`,\"fieldSearch.shortcut.close\":`Sluiten`,\"filter.group.condition\":`voorwaarde`,\"filter.group.conditions\":`voorwaarden`,\"filter.group.addFilter\":`Voeg Filter`,\"filter.group.addAndGroup\":`Voeg EN Groep`,\"filter.group.addOrGroup\":`Voeg OF Groep`,\"filter.group.removeGroup\":`Verwijderen groep`,\"filter.group.empty\":`Geen conditions in deze groep`,\"filter.group.addFilterLink\":`Voeg a filter`,\"filter.modal.title\":`Bewerken Filter`,\"filter.modal.fieldLabel\":`Veld`,\"filter.modal.operatorLabel\":`Operator`,\"filter.modal.valueLabel\":`Waarde`,\"filter.modal.selectRange\":`Selecteer range`,\"filter.modal.noValueRequired\":`Geen waarde vereist`,\"filter.modal.dateTo\":`naar`,\"filter.modal.min\":`Min`,\"filter.modal.to\":`naar`,\"filter.modal.max\":`Max`,\"filter.modal.enterNumber\":`Enter nummer`,\"filter.modal.loading\":`Laden...`,\"filter.modal.selectValue\":`Selecteer waarde...`,\"filter.modal.search\":`Zoeken...`,\"filter.modal.errorPrefix\":`Fout:`,\"filter.modal.noValues\":`Geen waarden gevonden`,\"filter.modal.multiSelectHint\":`Houd Shift ingedrukt om meerdere waarden te selecteren`,\"filter.modal.enterValue\":`Enter waarde...`,\"filter.removeButton.title\":`Verwijderen filter`,\"filter.section.clearAll\":`Wissen alle`,\"filter.section.dropHint\":`Sleep hierheen om filter toe te voegen`,\"filter.section.empty\":`Geen filters toegepast`,\"filter.valueDisplay.empty\":`(leeg)`,\"filter.valueDisplay.more\":`meer`,\"filter.operator.equals.label\":`gelijk aan`,\"filter.operator.equals.description\":`Exacte overeenkomst`,\"filter.operator.notEquals.label\":`niet gelijk aan`,\"filter.operator.notEquals.description\":`Komt niet overeen`,\"filter.operator.contains.label\":`bevat`,\"filter.operator.contains.description\":`Bevat tekst (hoofdletterongevoelig)`,\"filter.operator.notContains.label\":`niet bevat`,\"filter.operator.notContains.description\":`Bevat geen tekst`,\"filter.operator.startsWith.label\":`begint met`,\"filter.operator.startsWith.description\":`Begint met tekst`,\"filter.operator.notStartsWith.label\":`niet begint met`,\"filter.operator.notStartsWith.description\":`Begint niet met tekst`,\"filter.operator.endsWith.label\":`eindigt met`,\"filter.operator.endsWith.description\":`Eindigt met tekst`,\"filter.operator.notEndsWith.label\":`niet eindigt met`,\"filter.operator.notEndsWith.description\":`Eindigt niet met tekst`,\"filter.operator.like.label\":`like`,\"filter.operator.like.description\":`SQL LIKE pattern overeenkomstige (hoofdletter gevoelig)`,\"filter.operator.notLike.label\":`niet like`,\"filter.operator.notLike.description\":`SQL NIET LIKE pattern overeenkomstige (hoofdletter gevoelig)`,\"filter.operator.ilike.label\":`ilike`,\"filter.operator.ilike.description\":`SQL ILIKE pattern overeenkomstige (hoofdletter ongevoelig)`,\"filter.operator.gt.label\":`groter dan`,\"filter.operator.gt.description\":`Groter dan waarde`,\"filter.operator.gte.label\":`groter dan van gelijk`,\"filter.operator.gte.description\":`Groter dan van gelijk naar waarde`,\"filter.operator.lt.label\":`kleiner dan`,\"filter.operator.lt.description\":`Kleiner dan waarde`,\"filter.operator.lte.label\":`kleiner dan van gelijk`,\"filter.operator.lte.description\":`Kleiner dan van gelijk naar waarde`,\"filter.operator.between.label\":`tussen`,\"filter.operator.between.description\":`Tussen twee waarden (inclusive)`,\"filter.operator.notBetween.label\":`niet tussen`,\"filter.operator.notBetween.description\":`Niet tussen twee waarden`,\"filter.operator.in.label\":`in`,\"filter.operator.in.description\":`Komt overeen elke van de opgegeven waarden`,\"filter.operator.notIn.label\":`niet in`,\"filter.operator.notIn.description\":`Komt niet overeen elke van de opgegeven waarden`,\"filter.operator.set.label\":`is set`,\"filter.operator.set.description\":`Is niet nul/leeg`,\"filter.operator.notSet.label\":`is niet set`,\"filter.operator.notSet.description\":`Is nul/leeg`,\"filter.operator.isEmpty.label\":`is leeg`,\"filter.operator.isEmpty.description\":`Is leeg tekenreeks van nul`,\"filter.operator.isNotEmpty.label\":`is niet leeg`,\"filter.operator.isNotEmpty.description\":`Is niet leeg tekenreeks en niet nul`,\"filter.operator.inDateRange.label\":`in datum bereik`,\"filter.operator.inDateRange.description\":`Tussen twee dates`,\"filter.operator.beforeDate.label\":`voor datum`,\"filter.operator.beforeDate.description\":`Voor opgegeven datum`,\"filter.operator.afterDate.label\":`na datum`,\"filter.operator.afterDate.description\":`Na opgegeven datum`,\"filter.operator.regex.label\":`komt overeen regex`,\"filter.operator.regex.description\":`Komt overeen reguliere expressie pattern`,\"filter.operator.notRegex.label\":`niet komt overeen regex`,\"filter.operator.notRegex.description\":`Komt niet overeen reguliere expressie pattern`,\"filter.operator.arrayContains.label\":`array bevat alle`,\"filter.operator.arrayContains.description\":`Array veld bevat alle opgegeven waarden (PostgreSQL alleen)`,\"filter.operator.arrayOverlaps.label\":`array bevat elke`,\"filter.operator.arrayOverlaps.description\":`Array veld bevat elke van de opgegeven waarden (PostgreSQL alleen)`,\"filter.operator.arrayContained.label\":`array waarden in`,\"filter.operator.arrayContained.description\":`Alle array veld waarden vallen binnen specified waarden (PostgreSQL only)`,\"dateRange.custom\":`Aangepast`,\"dateRange.today\":`Vandaag`,\"dateRange.yesterday\":`Gisteren`,\"dateRange.thisWeek\":`Deze week`,\"dateRange.thisMonth\":`Deze maand`,\"dateRange.thisQuarter\":`Deze quarter`,\"dateRange.thisYear\":`Deze jaar`,\"dateRange.last7Days\":`Laatste 7 days`,\"dateRange.last30Days\":`Laatste 30 days`,\"dateRange.lastNDays\":`Laatste N days`,\"dateRange.lastWeek\":`Laatste week`,\"dateRange.lastNWeeks\":`Laatste N weeks`,\"dateRange.lastMonth\":`Laatste month`,\"dateRange.last12Months\":`Laatste 12 months`,\"dateRange.lastNMonths\":`Laatste N months`,\"dateRange.lastQuarter\":`Laatste quarter`,\"dateRange.lastNQuarters\":`Laatste N quarters`,\"dateRange.lastYear\":`Laatste jaar`,\"dateRange.lastNYears\":`Laatste N years`,\"timeGranularity.hour\":`Uur`,\"timeGranularity.day\":`Dag`,\"timeGranularity.week\":`Week`,\"timeGranularity.month\":`Maand`,\"timeGranularity.quarter\":`Kwartaal`,\"timeGranularity.year\":`Jaar`,\"query.limit.label\":`Limiet`,\"query.limit.clear\":`Wissen`,\"chart.bar.label\":`Staaf Grafiek`,\"chart.bar.description\":`Vergelijk waarden over categorieën`,\"chart.bar.useCase\":`Beste voor het vergelijken van discrete categorieën, het tonen van ranglijsten of het weergeven van wijzigingen in de tijd`,\"chart.line.label\":`Lijn Grafiek`,\"chart.line.description\":`Toon trends en wijzigingen in de tijd`,\"chart.line.useCase\":`Beste voor doorlopende gegevens, trends, time reeksen, en toont relationships tussen multiple reeksen`,\"chart.area.label\":`Area Grafiek`,\"chart.area.description\":`Benadruk de omvang van veranderingen in de tijd`,\"chart.area.useCase\":`Beste voor het tonen van cumulatieve totalen, volumewijzigingen of gestapelde vergelijkingen in de tijd`,\"chart.pie.label\":`Taart Grafiek`,\"chart.pie.description\":`Toon proportions of a whole`,\"chart.pie.useCase\":`Beste voor toont percentage distribution of composition of a totaal (limit naar 5-7 slices)`,\"chart.scatter.label\":`Spreiding Plot`,\"chart.scatter.description\":`Reveal correlations tussen variables`,\"chart.scatter.useCase\":`Beste voor identifying patterns, correlations, outliers, en relationships tussen two metingen`,\"chart.bubble.label\":`Bubble Grafiek`,\"chart.bubble.description\":`Vergelijk three dimensies of gegevens`,\"chart.bubble.useCase\":`Beste voor toont relationships tussen three variables (X, Y, en size), market analyse`,\"chart.radar.label\":`Radar Grafiek`,\"chart.radar.description\":`Vergelijk meerdere metingen over categorieën`,\"chart.radar.useCase\":`Beste voor multivariate comparisons, prestatie metingen, strengths/weaknesses analyse`,\"chart.radialBar.label\":`Radial Staaf Grafiek`,\"chart.radialBar.description\":`Circular voortgang en KPI visualisatie`,\"chart.radialBar.useCase\":`Beste voor toont voortgang toward doelen, KPIs, of comparing percentages in a compact form`,\"chart.treemap.label\":`Boomkaart`,\"chart.treemap.description\":`Visualise hierarchical gegevens met nested rectangles`,\"chart.treemap.useCase\":`Beste voor toont part-naar-whole relationships in hierarchical gegevens, disk usage, budget allocation`,\"chart.table.label\":`Gegevens Tabel`,\"chart.table.description\":`Weergave gedetailleerde tabular gegevens`,\"chart.table.useCase\":`Beste voor precise waarden, gedetailleerde analyse, sortable/filterable gegevens exploration`,\"chart.activityGrid.label\":`Activiteit Raster`,\"chart.activityGrid.description\":`GitHub-stijl activiteitenraster dat temporele patronen over verschillende tijdschalen toont`,\"chart.activityGrid.useCase\":`Beste voor het visualiseren van activiteitspatronen in de tijd. Ondersteunt uur (3-uursblokken × dagen), dag (dagen × weken), week (weken × maanden), maand (maanden × kwartalen) en kwartaal (kwartalen × jaren) granulariteit`,\"chart.kpiNumber.label\":`KPI Nummer`,\"chart.kpiNumber.description\":`Weergave key prestatie indicators as large numbers`,\"chart.kpiNumber.useCase\":`Perfect voor toont belangrijk metrieken like omzet, gebruiker aantal, van andere sleutel business metrieken in een prominent, easy-naar-read format`,\"chart.kpiDelta.label\":`KPI-delta`,\"chart.kpiDelta.description\":`Weergave change tussen latest en previous waarden met trend indicators`,\"chart.kpiDelta.useCase\":`Ideaal voor het tonen van prestatieveranderingen in de tijd, zoals omzetgroei, wijzigingen in gebruikersacquisitie en andere metrieken waarbij trend en delta belangrijker zijn dan de absolute waarde`,\"chart.kpiText.label\":`KPI Tekst`,\"chart.kpiText.description\":`Weergave key prestatie indicators as customisable text`,\"chart.kpiText.useCase\":`Perfect voor toont metrieken met custom formatting, combining meerdere waarden, van displaying contextual KPI information met templates`,\"chart.markdown.label\":`Markdown`,\"chart.markdown.description\":`Weergave custom markdown content met formatting`,\"chart.markdown.useCase\":`Perfect voor adding documentation, notes, section kopteksten, instructions, van formatted tekst naar dashboards`,\"chart.funnel.label\":`Funnel Grafiek`,\"chart.funnel.description\":`Toon conversion through sequential stappen`,\"chart.funnel.useCase\":`Beste voor visualiseren user journey funnels, verkoop pipelines, of meerdere-stap processes`,\"chart.sankey.label\":`Sankey Grafiek`,\"chart.sankey.description\":`Toon flow tussen states of stappen`,\"chart.sankey.useCase\":`Beste voor visualiseren user journey flows, pad analyse, of state transitions`,\"chart.sunburst.label\":`Sunburst Grafiek`,\"chart.sunburst.description\":`Toon hierarchical flow as radial rings`,\"chart.sunburst.useCase\":`Beste voor visualiseren forward paden van a startende gebeurtenis in a compact radial layout`,\"chart.heatmap.label\":`Heatmap`,\"chart.heatmap.description\":`Visualiseer intensiteit over twee dimensies`,\"chart.heatmap.useCase\":`Beste voor toont patterns in matrix gegevens like correlations, schedules, of categorie comparisons`,\"chart.retentionHeatmap.label\":`Retentie Matrix`,\"chart.retentionHeatmap.description\":`Cohort retentie matrix visualisatie`,\"chart.retentionHeatmap.useCase\":`Visualiseer gebruikersretentie in de tijd per cohort`,\"chart.retentionCombined.label\":`Retentie Grafiek`,\"chart.retentionCombined.description\":`Combined retentie visualisatie met lijngrafiek en heatmap modes`,\"chart.retentionCombined.useCase\":`Visualiseer gebruikersretentie in de tijd met optionele segmentatie naar uitsplitsing`,\"chart.boxPlot.label\":`Boxplot`,\"chart.boxPlot.description\":`Toon statistische verdeling (mediaan, IQR, whiskers) over categorieën`,\"chart.boxPlot.useCase\":`Beste voor P&L-spreiding per symbool, verdeling van handelsgrootte en latentieverdeling over platforms`,\"chart.waterfall.label\":`Waterfall Grafiek`,\"chart.waterfall.description\":`Toon cumulative effect of sequential positive en negative waarden`,\"chart.waterfall.useCase\":`Beste voor P&L decomposition, cash flow analyse, budget variance, of elke sequential contribution breakdown`,\"chart.candlestick.label\":`Candlestick Grafiek`,\"chart.candlestick.description\":`Financial candlestick grafiek toont openen/sluiten body en hoog/laag wicks`,\"chart.candlestick.useCase\":`Beste voor EOD quotes (bid/ask spread per date/symbol), markout distribution bands, of OHLC price gegevens`,\"chart.measureProfile.label\":`Meting Profile`,\"chart.measureProfile.description\":`Plot N metingen als opeenvolgende X-aspunten om een profiel of vorm over intervallen te visualiseren`,\"chart.measureProfile.useCase\":`Beste voor markout-intervalanalyse (bijv. avgMinus2m → avgAtEvent → avgPlus2h), metricprofielen of elk patroon over geordende metingen`,\"chart.gauge.label\":`Gauge Grafiek`,\"chart.gauge.description\":`Half-circle arc meter voor een enkele KPI waarde versus een maximum target`,\"chart.gauge.useCase\":`Beste voor hoogwatermerken vs equity, margin utilisation, of elke enkele waarde voortgang toward a doel`,\"chart.config.chartType\":`Grafiek Type`,\"chart.config.loading\":`Laden grafiek configuratie...`,\"chart.config.axisConfig\":`Grafiek Configuration`,\"chart.config.unassigned\":`Unassigned Velden`,\"chart.config.unassignedHint\":`Drag velden naar grafiek axes above`,\"chart.config.noFields\":`Voeg metingen en uitsplitsingen toe in het tabblad Query om grafiekassen te configureren`,\"chart.dropZone.xAxis.label\":`X-As (Categorieën)`,\"chart.dropZone.xAxis.description\":`Dimensies en time dimensies voor grouping`,\"chart.dropZone.xAxis.empty\":`Sleep dimensies & tijd dimensies hier`,\"chart.dropZone.yAxis.label\":`Y-As (Waarden)`,\"chart.dropZone.yAxis.description\":`Metingen voor waarden of dimensies voor reeksen`,\"chart.dropZone.yAxis.empty\":`Sleep metingen van dimensies hier`,\"chart.dropZone.series.label\":`Reeks (Splits naar Multiple Reeks)`,\"chart.dropZone.series.description\":`Dimensies naar create separate gegevens reeksen`,\"chart.dropZone.series.empty\":`Sleep dimensies hier naar splits gegevens naar reeksen`,\"chart.dropZone.maxReached\":`Maximaal aantal items bereikt`,\"chart.dropZone.default.empty\":`Sleep velden hierheen`,\"chart.bar.dropZone.xAxis.empty\":`Sleep dimensies & tijdsdimensies hierheen`,\"chart.bar.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.bar.dropZone.series.empty\":`Sleep dimensies hierheen om gegevens in reeksen te splitsen`,\"chart.line.dropZone.xAxis.empty\":`Sleep tijdsdimensies of dimensies hierheen`,\"chart.line.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.line.dropZone.series.empty\":`Sleep dimensies hierheen voor meerdere lijnen`,\"chart.area.dropZone.xAxis.empty\":`Sleep tijdsdimensies of dimensies hierheen`,\"chart.area.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.area.dropZone.series.empty\":`Sleep dimensies hierheen voor gestapelde gebieden`,\"chart.pie.dropZone.xAxis.empty\":`Sleep een dimensie voor categorieën`,\"chart.pie.dropZone.yAxis.empty\":`Sleep een meting voor waarden`,\"chart.scatter.dropZone.xAxis.empty\":`Sleep een veld voor X-as`,\"chart.scatter.dropZone.yAxis.empty\":`Sleep een meting voor Y-as`,\"chart.scatter.dropZone.series.empty\":`Sleep een dimensie om punten te kleuren`,\"chart.bubble.dropZone.xAxis.empty\":`Sleep een veld voor X-aspositie`,\"chart.bubble.dropZone.yAxis.empty\":`Sleep een meting voor Y-aspositie`,\"chart.bubble.dropZone.sizeField.empty\":`Sleep een meting voor bellengrootte`,\"chart.bubble.dropZone.series.empty\":`Sleep een dimensie voor bellenlabels`,\"chart.bubble.dropZone.colorField.empty\":`Sleep een veld voor bellenkleur (optioneel)`,\"chart.radar.dropZone.xAxis.empty\":`Sleep dimensies voor radarassen`,\"chart.radar.dropZone.yAxis.empty\":`Sleep metingen voor waarden`,\"chart.radar.dropZone.series.empty\":`Sleep dimensies voor meerdere vormen`,\"chart.radialBar.dropZone.xAxis.empty\":`Sleep dimensies voor categorieën`,\"chart.radialBar.dropZone.yAxis.empty\":`Sleep een meting voor waarden`,\"chart.treemap.dropZone.xAxis.empty\":`Sleep dimensies voor categorieën`,\"chart.treemap.dropZone.yAxis.empty\":`Sleep een meting voor grootte`,\"chart.treemap.dropZone.series.empty\":`Sleep een dimensie voor kleurgroepering`,\"chart.table.dropZone.xAxis.empty\":`Sleep velden om als kolommen weer te geven (of laat leeg voor alles)`,\"chart.activityGrid.dropZone.dateField.empty\":`Sleep een tijdsdimensie (granulariteit beïnvloedt rasterstructuur)`,\"chart.activityGrid.dropZone.valueField.empty\":`Sleep een meting voor activiteitsintensiteit`,\"chart.kpiNumber.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.kpiDelta.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.kpiDelta.dropZone.xAxis.empty\":`Sleep een dimensie voor ordening`,\"chart.kpiText.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.funnel.dropZone.xAxis.empty\":`Stappen gedefinieerd in trechterconfig`,\"chart.funnel.dropZone.yAxis.empty\":`Tellingen berekend uit trechteruitvoering`,\"chart.sankey.dropZone.xAxis.empty\":`Automatisch ingevuld vanuit stroomconfig`,\"chart.sankey.dropZone.yAxis.empty\":`Berekend vanuit stroomuitvoering`,\"chart.sunburst.dropZone.xAxis.empty\":`Automatisch ingevuld vanuit stroomconfig`,\"chart.sunburst.dropZone.yAxis.empty\":`Berekend vanuit stroomuitvoering`,\"chart.heatmap.dropZone.xAxis.empty\":`Sleep één dimensie hierheen`,\"chart.heatmap.dropZone.yAxis.empty\":`Sleep één dimensie hierheen`,\"chart.heatmap.dropZone.valueField.empty\":`Sleep één meting hierheen`,\"chart.boxPlot.dropZone.xAxis.empty\":`Sleep een dimensie hierheen`,\"chart.boxPlot.dropZone.yAxis.empty\":`Sleep 1, 3 of 5 metingen hierheen`,\"chart.waterfall.dropZone.xAxis.empty\":`Sleep een dimensie hierheen`,\"chart.waterfall.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.candlestick.dropZone.xAxis.empty\":`Sleep een tijd- of dimensie hierheen`,\"chart.candlestick.dropZone.yAxis.empty\":`Sleep 2+ metingen hierheen`,\"chart.measureProfile.dropZone.yAxis.empty\":`Sleep 2+ metingen hierheen (weergegeven links → rechts)`,\"chart.measureProfile.dropZone.series.empty\":`Sleep een dimensie hierheen om meerdere lijnen te maken`,\"chart.gauge.dropZone.yAxis.empty\":`Sleep 1 meting hierheen (optioneel 2e voor dynamisch max)`,\"chart.activityGrid.validation.timeDimensionRequired\":`Tijdsdimensie is vereist voor activiteitsraster`,\"chart.activityGrid.validation.measureRequired\":`Activiteitsmeting is vereist voor intensiteitstoewijzing`,\"chart.kpiDelta.validation.measureRequired\":`Een meting is vereist voor KPI Delta-grafieken`,\"chart.heatmap.validation.xAxisRequired\":`X-as dimensie vereist`,\"chart.heatmap.validation.yAxisRequired\":`Y-as dimensie vereist`,\"chart.heatmap.validation.valueRequired\":`Waardemeting vereist`,\"chart.option.stacking.label\":`Stapeling`,\"chart.option.stacking.none\":`Geen`,\"chart.option.stacking.stacked\":`Gestapeld`,\"chart.option.stacking.percent\":`Gestapeld 100%`,\"chart.option.stacking.description\":`Hoe naar stack meerdere reeksen`,\"chart.option.target.label\":`Doelwaardes`,\"chart.option.target.description\":`Enkele waarde of door komma's gescheiden waarden om over de X-as te spreiden`,\"chart.option.connectNulls.label\":`Verbind null-waarden`,\"chart.option.connectNulls.description\":`Tekenen doorlopende regel through ontbrekend gegevens punten`,\"chart.option.showAllXLabels.label\":`Toon alle X-labels`,\"chart.option.showAllXLabels.description\":`Toon elk label op de X-as in plaats van overlappende labels automatisch te verbergen`,\"chart.option.leftYAxisFormat.label\":`Left Y-As Format`,\"chart.option.leftYAxisFormat.description\":`Nummer formatting voor left Y-axis`,\"chart.option.rightYAxisFormat.label\":`Right Y-As Format`,\"chart.option.rightYAxisFormat.description\":`Nummer formatting voor right Y-axis`,\"chart.option.xAxisFormat.label\":`X-As Format`,\"chart.option.xAxisFormat.description\":`Nummer formatting voor X-axis`,\"chart.option.yAxisFormat.label\":`Y-As Format`,\"chart.option.yAxisFormat.description\":`Nummer formatting voor Y-axis`,\"chart.option.valueFormat.label\":`Waarde Format`,\"chart.option.valueFormat.description\":`Nummer formatting voor waarden`,\"chart.option.innerRadius.label\":`Binnenradius`,\"chart.option.innerRadius.description\":`Hollow centre grootte (0% = solid pie, higher = donut style)`,\"chart.option.showLabels.label\":`Toon Cell Waarden`,\"chart.option.showLabels.description\":`Weergave waarden inside each cell`,\"chart.option.cellShape.label\":`Celvorm`,\"chart.option.cellShape.rectangle\":`Rechthoek`,\"chart.option.cellShape.circle\":`Cirkel`,\"chart.option.funnelStyle.label\":`Trechterstijl`,\"chart.option.funnelStyle.bars\":`Balken`,\"chart.option.funnelStyle.funnel\":`Trechter`,\"chart.option.funnelOrientation.label\":`Oriëntatie`,\"chart.option.funnelOrientation.horizontal\":`Horizontaal`,\"chart.option.funnelOrientation.vertical\":`Verticaal`,\"chart.option.hideSummaryFooter.label\":`Verbergen Samenvatting Footer`,\"chart.option.hideSummaryFooter.description\":`Verberg de samenvattingsfooter die het aantal stappen en de totale conversie toont`,\"chart.option.showConversion.label\":`Toon Conversion Rate`,\"chart.option.showConversion.description\":`Weergave stap-naar-stap conversion percentage`,\"chart.option.showAvgTime.label\":`Toon Avg Tijd`,\"chart.option.showAvgTime.description\":`Weergave average time naar convert`,\"chart.option.showMedianTime.label\":`Toon Median Tijd`,\"chart.option.showMedianTime.description\":`Weergave median time naar convert`,\"chart.option.showP90Time.label\":`Toon P90 Tijd`,\"chart.option.showP90Time.description\":`Weergave 90th percentile time naar convert`,\"chart.option.linkOpacity.label\":`Link-opaciteit`,\"chart.option.linkOpacity.light\":`Licht`,\"chart.option.linkOpacity.medium\":`Gemiddeld`,\"chart.option.linkOpacity.dark\":`Donker`,\"chart.option.showNodeLabels.label\":`Toon Node Labels`,\"chart.option.showNodeLabels.description\":`Weergave labels on flow nodes`,\"chart.option.prefix.label\":`Voorvoegsel`,\"chart.option.prefix.description\":`Tekst om vóór het getal weer te geven`,\"chart.option.suffix.label\":`Achtervoegsel`,\"chart.option.suffix.description\":`Tekst om na het getal weer te geven`,\"chart.option.decimals.label\":`Aantal decimalen`,\"chart.option.decimals.description\":`Nummer of decimal places naar weergeven`,\"chart.option.showHistogram.label\":`Toon Variance Histogram`,\"chart.option.showHistogram.description\":`Toon historische variantiegrafiek onder de delta`,\"chart.option.useLastCompletePeriod.label\":`Gebruik Laatste Voltooid Periode`,\"chart.option.useLastCompletePeriod.description\":`Exclude current incomplete periode van calculation (e.g., partial week/maand)`,\"chart.option.skipLastPeriod.label\":`Skip Laatste Periode`,\"chart.option.skipLastPeriod.description\":`Always exclude de laatste periode regardless van completeness`,\"chart.option.retentionDisplayMode.label\":`Weergave Mode`,\"chart.option.retentionDisplayMode.lineChart\":`Lijn Grafiek`,\"chart.option.retentionDisplayMode.heatmapTable\":`Heatmap Tabel`,\"chart.option.retentionDisplayMode.combined\":`Gecombineerd`,\"chart.option.showLegend.label\":`Toon Legenda`,\"chart.option.showLegend.description\":`Toon de legenda`,\"chart.option.showGrid.label\":`Toon Grid`,\"chart.option.showGrid.description\":`Toon rasterlijnen op de grafiek`,\"chart.option.showTooltip.label\":`Toon Tooltip`,\"chart.option.showTooltip.description\":`Toon tooltip on zweef met gedetailleerde stats`,\"chart.option.priorPeriodStyle.label\":`Prior Periode Lijn Style`,\"chart.option.priorPeriodStyle.dashed\":`Gestreept`,\"chart.option.priorPeriodStyle.dotted\":`Gestippeld`,\"chart.option.priorPeriodStyle.solid\":`Vol`,\"chart.option.priorPeriodStyle.description\":`Lijn style voor prior period in comparison mode`,\"chart.option.priorPeriodOpacity.label\":`Prior Periode Opacity`,\"chart.option.priorPeriodOpacity.description\":`Opacity voor prior periode lines (0.1 naar 1)`,\"chart.option.showTotal.label\":`Toon Totaal Staaf`,\"chart.option.showTotal.description\":`Append een final staaf toont de draaiend totaal`,\"chart.option.showConnectorLine.label\":`Toon Connector Lijn`,\"chart.option.showConnectorLine.description\":`Tekenen een dashed stap-regel connecting staaf tops`,\"chart.option.showDataLabels.label\":`Toon Gegevens Labels`,\"chart.option.showDataLabels.description\":`Toon de waarde bij elk datapunt`,\"chart.option.showReferenceLineAtZero.label\":`Toon Zero Reference Lijn`,\"chart.option.showReferenceLineAtZero.description\":`Tekenen een dashed regel bij Y = 0`,\"chart.option.lineType.label\":`Lijn Interpolation`,\"chart.option.lineType.smooth\":`Vloeiend (monotoon)`,\"chart.option.lineType.linear\":`Lineair`,\"chart.option.lineType.step\":`Stap`,\"chart.option.lineType.description\":`Hoe gegevens punten zijn connected`,\"chart.option.rangeMode.label\":`Grafiek Mode`,\"chart.option.rangeMode.ohlc\":`OHLC (openen, sluiten, hoog, laag)`,\"chart.option.rangeMode.range\":`Bereik (hoog, laag / bid, ask)`,\"chart.option.rangeMode.description\":`OHLC: 4 metingen. Bereik: 2 metingen (hoog + laag).`,\"chart.option.bullColor.label\":`Bullish Kleur`,\"chart.option.bullColor.description\":`Candle kleur when sluiten ≥ openen`,\"chart.option.bearColor.label\":`Bearish Kleur`,\"chart.option.bearColor.description\":`Candle kleur when sluiten < openen`,\"chart.option.showWicks.label\":`Toon Wicks`,\"chart.option.showWicks.description\":`Tekenen hoog/laag wicks above en onder de body`,\"chart.option.minValue.label\":`Minimum Waarde`,\"chart.option.minValue.description\":`Lower bound van de meter arc (standaard 0)`,\"chart.option.maxValue.label\":`Maximum Waarde (static)`,\"chart.option.maxValue.description\":`Upper bound van de meter. Leave leeg naar use yAxis[1] van standaard 100`,\"chart.option.showCentreLabel.label\":`Toon Centre Label`,\"chart.option.showCentreLabel.description\":`Toon huidige waarde en veldnaam in het midden van de gauge`,\"chart.option.showPercentage.label\":`Toon as Percentage`,\"chart.option.showPercentage.description\":`Weergave waarde as % of max instead of raw number`,\"chart.option.fitToWidth.label\":`Fit naar Width`,\"chart.option.fitToWidth.description\":`Automatically grootte blocks naar fill portlet width en hoogte while maintaining aspect ratio`,\"chart.option.fontSize.label\":`Font Grootte`,\"chart.option.fontSize.small\":`Klein`,\"chart.option.fontSize.medium\":`Gemiddeld`,\"chart.option.fontSize.large\":`Groot`,\"chart.option.alignment.label\":`Tekst Alignment`,\"chart.option.alignment.left\":`Links`,\"chart.option.alignment.center\":`Midden`,\"chart.option.alignment.right\":`Rechts`,\"chart.option.hideHeader.label\":`Verbergen Header`,\"chart.option.hideHeader.description\":`Verberg de portlet-headerbalk (titel en actieknoppen)`,\"chart.option.transparentBackground.label\":`Transparante achtergrond`,\"chart.option.transparentBackground.description\":`Verwijderen card background, border, en shadow voor seamless integration as section headers`,\"chart.option.autoHeight.label\":`Automatisch Hoogte`,\"chart.option.autoHeight.description\":`In rij en mobile layouts, grootte naar markdown content instead van fixed rij hoogte`,\"chart.option.accentBorder.label\":`Accentrand`,\"chart.option.accentBorder.none\":`Geen`,\"chart.option.accentBorder.left\":`Links`,\"chart.option.accentBorder.top\":`Boven`,\"chart.option.accentBorder.bottom\":`Onderkant`,\"chart.option.accentBorder.description\":`Voeg een accentkleurige rand toe aan één zijde van de inhoud`,\"chart.configText.20_percent\":`20%`,\"chart.configText.40_percent\":`40%`,\"chart.configText.60_percent\":`60%`,\"chart.configText.80_percent\":`80%`,\"chart.configText.accent_color\":`Accentkleur`,\"chart.configText.activity_measure\":`Activiteitsmeetwaarde`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`Voeg 2 of meer meetwaarden toe — ze worden de X-as-categorieen in de opgegeven volgorde`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`Voeg een accentgekleurde rand toe aan een zijde van de inhoud`,\"chart.configText.all_fields_to_display_as_columns\":`Alle velden om als kolommen weer te geven`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`Array van {value (0-1 fractie), color}-banden, getoond als markeringen op de buitenste boog`,\"chart.configText.axes_categories\":`Assen (Categorieen)`,\"chart.configText.bubble_colour\":`Bubbelkleur`,\"chart.configText.bubble_labels\":`Bubbellabels`,\"chart.configText.bubble_radius\":`Bubbelstraal`,\"chart.configText.categories\":`Categorieen`,\"chart.configText.choose_how_to_visualize_retention_data\":`Kies hoe retentiedata wordt gevisualiseerd`,\"chart.configText.color_bubbles_by_this_field_optional\":`Kleur bubbels op basis van dit veld (optioneel)`,\"chart.configText.color_for_negative_changes_decreases\":`Kleur voor negatieve veranderingen (dalingen)`,\"chart.configText.color_for_positive_changes_increases\":`Kleur voor positieve veranderingen (stijgingen)`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`Kleur uit het dashboardpalet voor koppen, opsommingstekens en links`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`Kleur uit het dashboardpalet voor de KPI-waardetekst`,\"chart.configText.color_groups\":`Kleurgroepen`,\"chart.configText.columns\":`Kolommen`,\"chart.configText.columns_x_axis\":`Kolommen (X-as)`,\"chart.configText.count_at_each_step_auto_calculated\":`Aantal per stap (automatisch berekend)`,\"chart.configText.count_of_entities_following_each_path\":`Aantal entiteiten dat elk pad volgt`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`Huidige waarde om op de meter te tonen (bijv. huidige equity, gebruikte marge)`,\"chart.configText.dimension_for_column_categories\":`Dimensie voor kolomcategorieen`,\"chart.configText.dimension_for_ordering_data_typically_time\":`Dimensie voor het ordenen van data (meestal tijd)`,\"chart.configText.dimension_for_pie_slices\":`Dimensie voor taartsegmenten`,\"chart.configText.dimension_for_row_categories\":`Dimensie voor rijcategorieen`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`Dimensielabels voor elk staafsegment (bijv. symbool, transactietype)`,\"chart.configText.dimension_optional\":`Dimensie (optioneel)`,\"chart.configText.dimension_to_color_points_by_category\":`Dimensie om punten per categorie te kleuren`,\"chart.configText.dimension_to_color_rectangles_by_category\":`Dimensie om rechthoeken per categorie te kleuren`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`Dimensie om boxen op te groeperen (bijv. symbool, platform)`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`Dimensie om data op te splitsen in aparte profiellijnen (bijv. symbool, platform)`,\"chart.configText.dimensions_for_radar_axes\":`Dimensies voor radarassen`,\"chart.configText.dimensions_for_radial_segments\":`Dimensies voor radiale segmenten`,\"chart.configText.dimensions_for_treemap_rectangles\":`Dimensies voor treemap-rechthoeken`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`Dimensies om meerdere radarvormen te maken`,\"chart.configText.dimensions_to_create_separate_lines\":`Dimensies om afzonderlijke lijnen te maken`,\"chart.configText.dimensions_to_create_stacked_areas\":`Dimensies om gestapelde gebieden te maken`,\"chart.configText.display_the_value_above_each_bar_segment\":`Toon de waarde boven elk staafsegment`,\"chart.configText.display_value_at_each_data_point\":`Toon de waarde bij elk datapunt`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`Sleep 1 meetwaarde voor automatische modus, 3 voor avg/stddev/mediaanmodus, of 5 voor min/q1/mediaan/q3/max-modus`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`Sleep 2-4 meetwaarden in deze volgorde: open, close, high, low (OHLC-modus). Sleep voor bereikmodus 2: high, low.`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`Voer markdowntekst in. Ondersteunt koppen (#), vet (**tekst**), cursief (*tekst*), links ([tekst](url)), lijsten (- item) en horizontale lijnen (---).`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`Eventdimensie die flowknooppunten categoriseert`,\"chart.configText.event_type\":`Eventtype`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`Sluit de huidige onvolledige periode uit van aggregatie (bijv. gedeeltelijke week/maand)`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`Sluit de huidige onvolledige periode uit van deltaberekening (bijv. gedeeltelijke week/maand)`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`Veld voor bubbellabels en identificatie`,\"chart.configText.flow_count\":`Flowaantal`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`Verberg de statistiekfooter onder de grafiek`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`Grootte van het holle midden (0% = volle taart, hoger = donutstijl)`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`Horizontale uitlijning van de markdowninhoud`,\"chart.configText.horizontal_axis_position\":`Horizontale aspositie`,\"chart.configText.how_to_stack_multiple_area_series\":`Hoe meerdere gebiedsreeksen te stapelen`,\"chart.configText.how_to_stack_multiple_bar_series\":`Hoe meerdere staafreeksen te stapelen`,\"chart.configText.markdown_content\":`Markdowninhoud`,\"chart.configText.measure_for_rectangle_sizes\":`Meetwaarde voor rechthoekgroottes`,\"chart.configText.measure_for_slice_sizes\":`Meetwaarde voor segmentgroottes`,\"chart.configText.measure_for_y_position\":`Meetwaarde voor Y-positie`,\"chart.configText.measure_or_dimension_for_x_position\":`Meetwaarde of dimensie voor X-positie`,\"chart.configText.measure_that_determines_cell_color\":`Meetwaarde die de celkleur bepaalt`,\"chart.configText.measure_to_display_as_kpi_number\":`Meetwaarde om als KPI-getal te tonen`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`Meetwaarde om in de KPI-tekstsjabloon te tonen`,\"chart.configText.measure_to_track_changes_for\":`Meetwaarde om veranderingen voor te volgen`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`Meetwaarde voor activiteitsintensiteit (kleurcodering)`,\"chart.configText.measures_for_area_values\":`Meetwaarden voor gebiedswaarden`,\"chart.configText.measures_for_bar_heights\":`Meetwaarden voor staafhoogtes`,\"chart.configText.measures_for_line_values\":`Meetwaarden voor lijnwaarden`,\"chart.configText.measures_for_radar_values\":`Meetwaarden voor radarwaarden`,\"chart.configText.measures_for_radial_bar_lengths\":`Meetwaarden voor lengtes van radiale staven`,\"chart.configText.measures_x_axis_order\":`Meetwaarden (X-asvolgorde)`,\"chart.configText.negative_change_color\":`Kleur bij negatieve verandering`,\"chart.configText.none_pie\":`Geen (Taart)`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`Getalopmaak voor celwaarden en legenda`,\"chart.configText.number_formatting_for_numeric_values\":`Getalopmaak voor numerieke waarden`,\"chart.configText.number_formatting_for_size_values\":`Getalopmaak voor groottewaarden`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`Getalopmaak voor de getoonde waarde en aslabels`,\"chart.configText.number_formatting_for_the_price_axis\":`Getalopmaak voor de prijsas`,\"chart.configText.number_formatting_for_the_value_axis\":`Getalopmaak voor de waarde-as`,\"chart.configText.number_formatting_for_the_y_axis\":`Getalopmaak voor de Y-as`,\"chart.configText.number_formatting_for_x_axis_labels\":`Getalopmaak voor X-aslabels`,\"chart.configText.number_formatting_for_y_axis_and_values\":`Getalopmaak voor Y-as en waarden`,\"chart.configText.number_formatting_for_y_axis_labels\":`Getalopmaak voor Y-aslabels`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`Aantal decimalen om te tonen voor numerieke waarden`,\"chart.configText.ohlc_measures_open_close_high_low\":`OHLC-meetwaarden (open, close, high, low)`,\"chart.configText.opacity_of_flow_links\":`Dekking van flowlinks`,\"chart.configText.overall_text_size_for_the_markdown_content\":`Algemene tekstgrootte voor de markdowninhoud`,\"chart.configText.positive_change_color\":`Kleur bij positieve verandering`,\"chart.configText.rows_y_axis\":`Rijen (Y-as)`,\"chart.configText.series_color_groups\":`Reeksen (Kleurgroepen)`,\"chart.configText.series_multiple_lines\":`Reeksen (Meerdere lijnen)`,\"chart.configText.series_multiple_shapes\":`Reeksen (Meerdere vormen)`,\"chart.configText.series_split_into_multiple_lines\":`Reeksen (Opgesplitst in meerdere lijnen)`,\"chart.configText.series_stack_areas\":`Reeksen (Gebieden stapelen)`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`Toon reekslegenda (alleen zichtbaar met een reeksdimensie)`,\"chart.configText.show_the_color_intensity_legend\":`Toon de legenda voor kleurintensiteit`,\"chart.configText.show_the_legend_for_breakdown_segments\":`Toon de legenda voor segmenten in uitsplitsing`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`Enkele meetwaarde waarvan de waarden cumulatief worden opgeteld`,\"chart.configText.size\":`Grootte`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`Grootte van bubbels op basis van deze meetwaarde`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`Grootte van het middengat (0 voor volledige cirkel)`,\"chart.configText.step_count\":`Stapaantal`,\"chart.configText.step_name\":`Stapnaam`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`Stapnamen (automatisch ingevuld vanuit funnelstappen)`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`Doelwaarde om mee te vergelijken (eerste waarde wordt gebruikt als er meerdere zijn opgegeven)`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"Sjabloon voor het tonen van tekst. Gebruik ${value} om de meetwaarde in te voegen.\",\"chart.configText.text_template\":`Tekstsjabloon`,\"chart.configText.threshold_bands\":`Drempelbanden`,\"chart.configText.time_dimension\":`Tijddimensie`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`Tijddimensie of categorie voor elke candle (bijv. datum, symbool)`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`Tijddimensies of dimensies voor de X-as`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`Tijdveld dat de roosterstructuur bepaalt (granulariteit beinvloedt de layout)`,\"chart.configText.value\":`Waarde`,\"chart.configText.value_color\":`Waardekleur`,\"chart.configText.value_color_intensity\":`Waarde (Kleurintensiteit)`,\"chart.configText.value_measure\":`Waardemeetwaarde`,\"chart.configText.values\":`Waarden`,\"chart.configText.vertical_axis_position\":`Verticale aspositie`,\"chart.configText.visualization_style\":`Visualisatiestijl`,\"chart.configText.x_axis_groups\":`X-as (Groepen)`,\"chart.configText.x_axis_time_categories\":`X-as (Tijd/Categorieen)`,\"chart.configText.x_axis_time_category\":`X-as (Tijd / Categorie)`,\"chart.configText.y_axis\":`Y-as`,\"chart.configText.y_axis_measures\":`Y-as (Meetwaarden)`,\"chart.configText.y_axis_value\":`Y-as (Waarde)`,\"display.loading\":`Laden weergeven options...`,\"display.noOptions\":`Geen weergeven options beschikbaar voor deze grafiek type.`,\"display.heading\":`Weergave Opties`,\"results.loading.title\":`Query uitvoeren...`,\"results.loading.subtitle\":`Je query wordt uitgevoerd tegen de Cube API`,\"results.error.title\":`Query Uitvoering Mislukt`,\"results.error.subtitle\":`Er is een fout opgetreden bij het uitvoeren van je query. Controleer de query en probeer het opnieuw.`,\"results.waiting.title\":`Query voorbereiden...`,\"results.waiting.subtitle\":`Je query wordt zo uitgevoerd`,\"results.needsRefresh.title\":`Ready naar Execute`,\"results.needsRefresh.subtitle\":`Klik op vernieuwen om je query uit te voeren`,\"results.needsRefresh.runButton\":`Uitvoeren Query`,\"results.empty.query\":`Voeg metingen of uitsplitsingen toe vanuit het paneel rechts om resultaten te zien`,\"results.empty.retention\":`Selecteer een cube en configureer retentie-instellingen om resultaten te zien`,\"results.empty.funnel\":`Voeg funnelstappen toe om conversieanalyse te zien`,\"results.empty.flow\":`Configureer flowanalyse om gebruikerspaden te zien`,\"results.empty.title\":`Geen Resultaten Yet`,\"results.ai.button\":`Analyse met AI`,\"results.noData.title\":`Query geslaagd`,\"results.noData.subtitle\":`Geen gegevens geretourneerd door de query`,\"results.chart.noData\":`Geen gegevens om weer te geven`,\"results.chart.noDataHint\":`Voer een query uit om grafiekvisualisatie te zien`,\"results.chart.unsupported\":`Unsupported grafiek type`,\"results.refreshing\":`Vernieuwen resultaten...`,\"results.header.rows\":`rijen`,\"results.header.row\":`rij`,\"results.header.stale\":`Resultaten may be outdated`,\"results.header.failed\":`Query mislukt`,\"results.header.executing\":`Uitvoeren...`,\"results.header.noResults\":`Geen results`,\"results.view.chart\":`Grafiek`,\"results.view.merged\":`Samengevoegd`,\"results.warning.largeDataset\":`Groot dataset:`,\"results.warning.configChanged\":`Query configuratie changed. Resultaten may be outdated.`,\"results.warning.refreshNow\":`Vernieuwen Now`,\"results.share.copied\":`Gekopieerd!`,\"results.share.noChart\":`(geen grafiek)`,\"server.errors.dbNotConfigured\":`Database-executor is niet geconfigureerd`,\"server.errors.cubeNotFound\":`Cube '{cubeName}' niet gevonden`,\"server.errors.noCubesInQuery\":`Geen cubes gevonden in query`,\"server.errors.dbAdapterRequired\":`DatabaseExecutor moet hebben een databaseAdapter property`,\"server.errors.rlsRequiresTransactions\":`rlsSetup vereist een database driver dat ondersteunt transactions (db.transaction)`,\"server.errors.queryExecutionFailed\":`Query uitvoering mislukt: {message}`,\"server.errors.queryExecutionUnknown\":`Query-uitvoering mislukt: onbekende fout`,\"server.errors.noCompareDateRange\":`Geen compareDateRange gevonden in query`,\"server.errors.compareDateRangeInvalid\":`compareDateRange vereist bij minimaal 2 periodes`,\"server.errors.funnelValidationFailed\":`Funnel validatie mislukt: {errors}`,\"server.errors.flowValidationFailed\":`Flow validatie mislukt: {errors}`,\"server.errors.retentionValidationFailed\":`Retentie validatie mislukt: {errors}`,\"server.errors.cubeRefUnresolved\":`{cubeName}.joins.{joinName}: target cube '{targetCube}' is niet registered`,\"server.errors.unresolvedCubeRefs\":`Unresolved cube verwijzingen:\n{details}`,\"server.errors.calculatedMeasureValidation\":`Berekend meting validatie mislukt voor cube '{cubeName}':\n{details}`,\"server.errors.queryValidationFailed\":`Query validatie mislukt: {errors}`,\"server.errors.queryContainsMultipleModes\":`Query bevat meerdere query modes: {modes}`,\"server.errors.primaryCubeNotFound\":`Primary cube '{cubeName}' niet gevonden`,\"server.errors.noJoinPath\":`Geen join pad gevonden van '{fromCube}' naar '{toCube}'`,\"server.errors.cubeNotFoundForMeasure\":`Cube '{cubeName}' niet gevonden voor meting '{measure}'`,\"server.errors.cubeNotFoundForDimension\":`Cube '{cubeName}' niet gevonden voor dimensie '{dimension}'`,\"server.errors.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' niet gevonden voor tijd dimensie '{timeDimension}'`,\"server.errors.invalidFunnelConfig\":`Query is niet contain a valid funnel configuratie`,\"server.errors.invalidFlowConfig\":`Query is niet contain a valid flow configuratie`,\"server.errors.invalidRetentionConfig\":`Query is niet contain a valid retentie configuratie`,\"server.errors.llmInitFailed\":`Mislukt naar initialize LLM provider`,\"server.validation.ai.bindingKeyRequired.flow\":`flow.bindingKey is vereist`,\"server.validation.ai.bindingKeyRequired.funnel\":`funnel.bindingKey is vereist`,\"server.validation.ai.bindingKeyRequired.retention\":`retentie.bindingKey is vereist`,\"server.validation.ai.cubeNotFoundInFilter\":`Cube '{cubeName}' niet gevonden in filter`,\"server.validation.ai.cubeNotFoundWithAvailable\":`Cube '{cubeName}' niet gevonden`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`Cube '{cubeName}' niet gevonden`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`Dimensie '{dimensionName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`Dimensie '{dimensionName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.dimensionNotTimeType\":`Dimensie '{dimension}' is not a time type (it's '{type}')`,\"server.validation.ai.emptyQuery\":`Query moet hebben bij minimaal één meting van dimensie`,\"server.validation.ai.eventDimensionRequired\":`flow.eventDimension is vereist`,\"server.validation.ai.filterFieldNotFound\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}'`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}'`,\"server.validation.ai.funnelRequiresSteps\":`funnel vereist bij minimaal 2 stappen`,\"server.validation.ai.funnelStepsRequired\":`funnel.stappen array is vereist`,\"server.validation.ai.granularityNotSpecified\":`retentie.granularity not specified`,\"server.validation.ai.invalidDimensionFormat\":`Ongeldig dimensie format: '{dimension}'. Expected 'CubeName.dimensionName'`,\"server.validation.ai.invalidFilterMemberFormat\":`Ongeldig filter member format: '{member}'`,\"server.validation.ai.invalidMeasureFormat\":`Ongeldig meting format: '{measure}'. Expected 'CubeName.measureName'`,\"server.validation.ai.measureNotFoundWithAvailable\":`Meting '{measureName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.measureNotFoundWithSuggestion\":`Meting '{measureName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.performanceManyDimensions\":`Query heeft {count} dimensies, welke kan produce veel rijen`,\"server.validation.ai.performanceManyMeasures\":`Query heeft {count} metingen, welke kan impact prestatie`,\"server.validation.ai.periodsNotSpecified\":`retentie.periods not specified`,\"server.validation.ai.retentionTimeDimensionRequired\":`retentie.timeDimension is vereist`,\"server.validation.ai.stepMissingName\":`Stap {step} is ontbrekend a name`,\"server.validation.ai.stepsBothMissing\":`Neither stepsBefore nor stepsAfter opgegeven`,\"server.validation.ai.suggestAddDimensionFilters\":`Overweeg adding filters van reducing dimensies`,\"server.validation.ai.suggestAddStepNames\":`Voeg descriptive names naar funnel stappen`,\"server.validation.ai.suggestSetSteps\":`Set stepsBefore en/van stepsAfter naar zien gebeurtenis sequences`,\"server.validation.ai.suggestSpecifyGranularity\":`Specify granularity: \"day\", \"week\", van \"maand\"`,\"server.validation.ai.suggestSpecifyPeriods\":`Specify nummer van periodes naar analyze`,\"server.validation.ai.suggestSplitQueries\":`Overweeg splitting naar meerdere queries`,\"server.validation.ai.suggestUseTimeDimension\":`Gebruik a dimensie met type \"time\" voor timeDimensions`,\"server.validation.ai.timeDimensionRequired.flow\":`flow.timeDimension is vereist`,\"server.validation.ai.timeDimensionRequired.funnel\":`funnel.timeDimension is vereist`,\"server.validation.chart.barNeedsDimension\":`Staafgrafieken hebben een xAxis-dimensie nodig voor categorielabels. Voeg een dimensie toe aan de query of gebruik in plaats daarvan het grafiektype \"table\".`,\"server.validation.chart.barXAxisRequired\":`chartConfig.xAxis is vereist voor staaf grafieken. Put een dimensie in xAxis so bars hebben categorie labels.`,\"server.validation.chart.dropZoneRequired\":`chartConfig.{key} is vereist voor {chartType} grafiek ({label}). Accepts: {acceptDesc}.`,\"server.validation.chart.seriesDuplicatesXAxis\":`chartConfig.series mag niet hetzelfde veld bevatten als xAxis (gevonden: {duplicates}). Het series-veld is alleen bedoeld om te splitsen in gegroepeerde/gestapelde subseries met een ANDERE dimensie. Verwijder het duplicaat uit series.`,\"server.validation.flow.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.flow.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.flow.eventDimCubeNotFound\":`Gebeurtenis dimensie cube not gevonden: {cubeName}`,\"server.validation.flow.eventDimNotFound\":`Gebeurtenis dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.flow.eventDimRequired\":`Gebeurtenis dimensie is vereist voor flow analyse`,\"server.validation.flow.highStepDepthWarning\":`Hoog stap depth (4-5) kan impact query prestatie op groot datasets`,\"server.validation.flow.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidEventDimFormat\":`Ongeldig gebeurtenis dimensie format: {eventDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidJoinStrategy\":`Ongeldig joinStrategy: {joinStrategy}`,\"server.validation.flow.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.lateralNotSupported\":`Lateral joins zijn niet supported op deze database`,\"server.validation.flow.lateralNotSupportedExec\":`Lateral joins met CTE verwijzingen zijn niet supported op deze database`,\"server.validation.flow.sqliteNotSupported\":`Flow queries zijn niet supported on SQLite. Gebruik PostgreSQL of MySQL voor flow analyse.`,\"server.validation.flow.startingStepFilterRequired\":`Startende stap moet hebben bij minimaal één filter`,\"server.validation.flow.startingStepNameMissing\":`Startende stap heeft geen naam - met standaard`,\"server.validation.flow.startingStepRequired\":`Startende stap is vereist voor flow analyse`,\"server.validation.flow.stepsBeforeRange\":`stepsBefore moet zijn tussen 0 en 5, got: {value}`,\"server.validation.flow.stepsAfterRange\":`stepsAfter moet zijn tussen 0 en 5, got: {value}`,\"server.validation.flow.timeDimCubeNotFound\":`Tijd dimensie cube not gevonden: {cubeName}`,\"server.validation.flow.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.funnel.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.funnel.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.minSteps\":`Funnel moet hebben bij minimaal 2 stappen`,\"server.validation.funnel.stepCubeNotFound\":`Stap {step} cube not gevonden: {cube}`,\"server.validation.funnel.stepFilterCubeNotFound\":`Stap {step} filter cube not gevonden: {cubeName}`,\"server.validation.funnel.stepFilterIsMeasure\":`Stap {step} filter '{member}' is a meting. Funnel stap filters only support dimensies, not metingen.`,\"server.validation.funnel.stepFilterMemberNotFound\":`Stap {step} filter member not gevonden: {field} in cube {cubeName}`,\"server.validation.funnel.stepFilterNoJoinPath\":`Stap {step} filter '{member}' requires a join van '{stepCube}' but no join pad was gevonden. Define a join relationship tussen these cubes.`,\"server.validation.funnel.stepMustHaveName\":`Stap {step} moet have a name`,\"server.validation.funnel.stepTimeToConvertFormat\":`Stap {step} timeToConvert moet be ISO 8601 duration format: {value}`,\"server.validation.funnel.timeDimCubeNotFound\":`Tijd dimensie cube not gevonden: {cubeName}`,\"server.validation.funnel.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.retention.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.retention.breakdownDimCubeNotFound\":`Opsplitsing dimensie cube niet gevonden: {cubeName}`,\"server.validation.retention.breakdownDimNotFound\":`Opsplitsing dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.cubeNotFound\":`Cube niet gevonden: {cubeName}`,\"server.validation.retention.dateRangeEndRequired\":`Datum range end is vereist`,\"server.validation.retention.dateRangeInvalidEnd\":`Ongeldig date range end format`,\"server.validation.retention.dateRangeInvalidStart\":`Ongeldig date range start format`,\"server.validation.retention.dateRangeRequired\":`Datum range is vereist`,\"server.validation.retention.dateRangeStartBeforeEnd\":`Datum range start moet be voor of equal naar end`,\"server.validation.retention.dateRangeStartRequired\":`Datum range start is vereist`,\"server.validation.retention.engineNotSupported\":`Retentie queries worden niet ondersteund op {engine}. Gebruik PostgreSQL of DuckDB voor retentie analyse.`,\"server.validation.retention.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidBreakdownDimFormat\":`Ongeldig breakdown dimensie format: {dimension}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidGranularity\":`Ongeldig granularity: {granularity}`,\"server.validation.retention.invalidRetentionType\":`Ongeldig retentie type: {retentionType}`,\"server.validation.retention.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}`,\"server.validation.retention.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.validation.retention.periodsMax\":`Periodes kan niet exceed 52 (prestatie limiet)`,\"server.validation.retention.periodsMin\":`Periodes moet zijn bij minimaal 1`,\"server.validation.retention.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName}`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`Berekend meting '{cubeName}.{fieldName}' moet hebben calculatedSql property`,\"server.validation.calculatedMeasure.invalidSyntax\":`Ongeldig calculatedSql syntax in '{cubeName}.{fieldName}': {errors}`,\"server.validation.calculatedMeasure.circularDependency\":`Circular dependency detected in berekend metingen: {cycle}`,\"server.validation.query.multipleQueryModes\":`Query bevat meerdere query modes: {modes}`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`Funnel koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.flowBindingKeyCubeNotFound\":`Flow koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.retentionCubeNotFound\":`Retentie cube niet gevonden: {cubeName}`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`Retentie koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.retentionBreakdownCubeNotFound\":`Retentie opsplitsing cube niet gevonden: {cubeName}`,\"server.validation.query.invalidMeasureFormat\":`Ongeldig meting format: {measure}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForMeasure\":`Cube '{cubeName}' niet gevonden (referenced in meting '{measure}')`,\"server.validation.query.measureNotFound\":`Meting '{fieldName}' not gevonden on cube '{cubeName}'{hint}`,\"server.validation.query.invalidDimensionFormat\":`Ongeldig dimensie format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForDimension\":`Cube '{cubeName}' niet gevonden (referenced in dimensie '{dimension}')`,\"server.validation.query.dimensionNotFound\":`Dimensie '{fieldName}' not gevonden on cube '{cubeName}'{hint}`,\"server.validation.query.invalidTimeDimensionFormat\":`Ongeldig timeDimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' niet gevonden (referenced in timeDimension '{dimension}')`,\"server.validation.query.timeDimensionNotFound\":`TimeDimension '{fieldName}' niet gevonden op cube '{cubeName}' (moet zijn een dimensie met tijd type)`,\"server.validation.query.mustReferenceAtLeastOneCube\":`Query moet reference bij minimaal één cube through metingen, dimensies, van filters`,\"server.validation.query.ungroupedRequiresDimension\":`Ongegroepeerd queries require bij minimaal één dimensie van tijd dimensie`,\"server.validation.query.ungroupedIncompatibleFunnel\":`Ungrouped queries are incompatible met funnel analyse`,\"server.validation.query.ungroupedIncompatibleFlow\":`Ungrouped queries are incompatible met flow analyse`,\"server.validation.query.ungroupedIncompatibleRetention\":`Ungrouped queries are incompatible met retentie analyse`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`Ongegroepeerd queries zijn incompatible met compareDateRange`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`Ongroepeerde queries zijn niet compatibel met fillMissingDates`,\"server.validation.query.filterMustHaveMember\":`Filter moet hebben een lid veld`,\"server.validation.query.invalidFilterMemberFormat\":`Ongeldig filter member format: {member}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForFilter\":`Cube '{cubeName}' niet gevonden (referenced in filter '{member}')`,\"server.validation.query.filterFieldNotFound\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}' (moet zijn een dimensie van meting){hint}`,\"server.errors.funnel.cubeNotFoundForStep\":`Cube niet gevonden voor stap: {cube}`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`Cube niet gevonden voor koppeling sleutel: {bindingKey}`,\"server.errors.funnel.cannotResolveCubeForStep\":`Kan niet resolve cube voor stap - meerdere-cube funnel vereist cube specification in each stap`,\"server.errors.funnel.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {bindingKey}`,\"server.errors.funnel.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimension}`,\"server.errors.funnel.timeDimNotFound\":`Tijd dimensie not gevonden: {timeDimension}`,\"server.errors.funnel.noTimeDimMapping\":`Geen time dimensie mapping gevonden voor cube: {cubeName}`,\"server.errors.funnel.timeDimMappingNotFound\":`Tijd dimensie not gevonden: {dimension}`,\"server.errors.flow.cannotResolveCube\":`Kan niet resolve cube voor flow query`,\"server.errors.flow.cubeNotFound\":`Cube niet gevonden: {cubeName}`,\"server.errors.flow.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {bindingKey}`,\"server.errors.flow.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimension}`,\"server.errors.flow.timeDimNotFound\":`Tijd dimensie not gevonden: {timeDimension}`,\"server.errors.flow.noTimeDimMapping\":`Geen time dimensie mapping gevonden voor cube: {cubeName}`,\"server.errors.flow.timeDimMappingNotFound\":`Tijd dimensie not gevonden: {dimension}`,\"server.errors.flow.eventDimNotFound\":`Gebeurtenis dimensie not gevonden: {eventDimension}`,\"server.validation.template.emptyReference\":`Leeg lid reference {} gevonden in template`,\"server.validation.template.invalidMemberReference\":`Ongeldig member reference {ref}: moet start met letter of underscore, en contain only letters, numbers, underscores, en dots`,\"server.validation.template.multipleDots\":`Ongeldig member reference {ref}: only one dot allowed (Cube.meting format)`,\"server.validation.template.nestedBraces\":`Nested braces zijn niet allowed in lid verwijzingen`,\"server.validation.template.substituteTargetCubeNotFound\":`Kan niet substitute {ref}: cube '{cubeName}' niet gevonden`,\"server.validation.template.substituteMeasureNotResolved\":`Kan niet substitute {ref}: meting '{measureName}' niet resolved yet. Ensure metingen zijn resolved in dependency order.`,\"server.validation.template.unmatchedClosingBrace\":`Unmatched closing brace bij position {position}`,\"server.validation.template.unmatchedOpeningBrace\":`Ongepaarde openingsaccolade in sjabloon`,\"notebook.aiAssistant\":`AI-assistent`,\"notebook.saveAsDashboard\":`Opslaan as Dashboard`,\"notebook.saveAsDashboardTitle\":`Opslaan notebook as a dashboard`,\"notebook.clearTitle\":`Wissen notebook en chat`,\"notebook.feedbackThanks\":`Thanks voor je feedback!`,\"notebook.feedbackQuestion\":`Was deze helpful?`,\"notebook.feedbackYes\":`Ja`,\"notebook.feedbackNo\":`Nee`,\"notebook.thinking\":`Denken...`,\"notebook.emptyState.title\":`Gegevens Analyse Assistant`,\"notebook.emptyState.description\":`Ask me about je gegevens en I'll create visualisaties en insights.`,\"notebook.emptyState.example1\":`\"Toon me employee productivity trends\"`,\"notebook.emptyState.example2\":`\"What zijn de boven departments op headcount?\"`,\"notebook.emptyState.example3\":`\"Vergelijk omzet per productcategorie\"`,\"notebook.saveAsDashboardPrompt\":`Sla het huidige notebook op als dashboard met een professionele lay-out, sectiekoppen en passende filters.`,\"notebook.chatInput.placeholder\":`Ask about je gegevens...`,\"notebook.chatInput.stop\":`Stoppen`,\"notebook.chatInput.continue\":`Doorgaan`,\"notebook.chatInput.send\":`Verzenden`,\"notebook.canvas.emptyTitle\":`Je notebook is leeg`,\"notebook.canvas.emptyDescription\":`Stel de AI-assistent een vraag over je gegevens. Grafieken en inzichten verschijnen hier terwijl de assistent je gegevens analyseert.`,\"notebook.canvas.editVisualization\":`Bewerken Visualization`,\"notebook.canvas.update\":`Bijwerken`,\"notebook.collapsed.noBlocks\":`Geen blocks`,\"notebook.collapsed.expandNotebook\":`Notitieblok uitklappen`,\"notebook.collapsed.expandChat\":`AI-chat uitklappen`,\"notebook.collapsed.aiChat\":`AI-chat`,\"notebook.collapsed.markdown\":`Markdown`,\"schema.loading\":`Laden cube schema...`,\"schema.error\":`Mislukt naar load cube schema`,\"schema.noCubes\":`Geen cubes gevonden`,\"schema.noCubesHint\":`Register some kubussen naar zien de relationship diagram`,\"schema.computingLayout\":`Layout berekenen...`,\"schema.searchPlaceholder\":`Zoeken cubes en velden...`,\"schema.autoLayout\":`Automatisch Layout`,\"schema.missingDeps.title\":`Schema Visualization vereist additional packages`,\"schema.missingDeps.description\":`Install de vereist dependencies naar enable de interactive schema diagram:`,\"schema.loadingVisualization\":`Laden schema visualisatie...`,\"schema.measures\":`Metingen ({count})`,\"schema.timeDimensions\":`Tijd Dimensies ({count})`,\"schema.dimensions\":`Dimensies ({count})`,\"schema.cubeInfo\":`Cube-info`,\"dataBrowser.selectCube\":`Selecteer a cube`,\"dataBrowser.selectCubeHint\":`Kies een cube uit de zijbalk om de gegevens te bekijken`,\"dataBrowser.loadingData\":`Laden gegevens...`,\"dataBrowser.noData\":`Geen gegevens`,\"dataBrowser.noRows\":`Geen rijen geretourneerd voor deze query`,\"dataBrowser.toolbar.filters\":`Filters`,\"dataBrowser.toolbar.columns\":`Kolommen`,\"dataBrowser.toolbar.rows\":`{count} rijen`,\"dataBrowser.sidebar.cubes\":`Kubussen`,\"dataBrowser.sidebar.searchPlaceholder\":`Zoeken...`,\"dataBrowser.sidebar.noCubes\":`Geen cubes gevonden`,\"queryAnalysis.summary\":`Query Samenvatting`,\"queryAnalysis.summary.type\":`Type`,\"queryAnalysis.summary.cubes\":`Kubussen`,\"queryAnalysis.summary.joins\":`Joins`,\"queryAnalysis.summary.ctes\":`CTE's`,\"queryAnalysis.summary.strategy\":`Strategie`,\"queryAnalysis.primaryCube\":`Primary Cube (VAN tabel)`,\"queryAnalysis.primaryCube.showCandidates\":`Toon candidates ({count})`,\"queryAnalysis.primaryCube.reachable\":`bereikbaar`,\"queryAnalysis.primaryCube.cannotReachAll\":`kan niet reach alle`,\"queryAnalysis.joinPaths\":`Join Paden`,\"queryAnalysis.joinPaths.steps\":`{count} stap`,\"queryAnalysis.joinPaths.stepsPlural\":`{count} stappen`,\"queryAnalysis.joinPaths.noPath\":`Geen pad`,\"queryAnalysis.joinPaths.selection\":`Selectie:`,\"queryAnalysis.joinPaths.pathCandidates\":`Pad scoring candidates ({count})`,\"queryAnalysis.joinPaths.visitedCubes\":`Kubussen visited during search ({count})`,\"queryAnalysis.preAggregations\":`Pre-aggregatie-CTE's`,\"queryAnalysis.preAggregations.measures\":`Metingen:`,\"queryAnalysis.preAggregations.joinKeys\":`Join-sleutels:`,\"queryAnalysis.warnings\":`Waarschuwingen`,\"queryAnalysis.cubesInvolved\":`Kubussen involved:`,\"common.actions.copied\":`Gekopieerd`,\"common.actions.copyToClipboard\":`Kopiëren naar clipboard`,\"chart.availability.requiresMeasure\":`Vereist ten minste 1 meting`,\"chart.availability.requiresTwoMeasures\":`Vereist ten minste 2 metingen`,\"chart.availability.requiresDimension\":`Vereist ten minste 1 dimensie`,\"chart.availability.requiresTwoDimensions\":`Vereist ten minste 2 dimensies`,\"chart.availability.requiresTimeDimension\":`Vereist een tijdsdimensie`,\"chart.availability.scatter\":`Vereist 2 metingen, of 1 meting plus 1 dimensie`,\"chart.availability.bubble\":`Vereist ten minste 2 metingen en 1 dimensie`,\"chart.runtime.noData\":`Geen gegevens beschikbaar`,\"chart.runtime.noDataHint.bar\":`Geen datapunten om weer te geven in staafgrafiek`,\"chart.runtime.noDataHint.line\":`Geen datapunten om weer te geven in lijngrafiek`,\"chart.runtime.noDataHint.area\":`Geen datapunten om weer te geven in vlakgrafiek`,\"chart.runtime.noDataHint.pie\":`Geen datapunten om weer te geven in cirkeldiagram`,\"chart.runtime.noDataHint.scatter\":`Geen datapunten om weer te geven in spreidingsdiagram`,\"chart.runtime.noDataHint.radar\":`Geen datapunten om weer te geven in radardiagram`,\"chart.runtime.noDataHint.radialBar\":`Geen datapunten om weer te geven in radial staafgrafiek`,\"chart.runtime.noDataHint.treemap\":`Geen datapunten om weer te geven in boomkaart`,\"chart.runtime.noDataHint.bubble\":`Geen datapunten om weer te geven in bellendiagram`,\"chart.runtime.noDataHint.boxPlot\":`Geen datapunten om weer te geven in boxplot`,\"chart.runtime.noDataHint.waterfall\":`Geen datapunten om weer te geven in watervalgrafiek`,\"chart.runtime.noDataHint.candlestick\":`Geen datapunten om weer te geven in candlestickgrafiek`,\"chart.runtime.noDataHint.gauge\":`Geen datapunten om weer te geven in meterdiagram`,\"chart.runtime.noDataHint.measureProfile\":`Geen datapunten om weer te geven in meetprofielgrafiek`,\"chart.runtime.noDataHint.activityGrid\":`Geen datapunten om weer te geven in activiteitenraster`,\"chart.runtime.noDataHint.heatmap\":`Voer een query uit om de heatmap-visualisatie te zien`,\"chart.runtime.noDataHint.table\":`Geen gegevens naar weergeven in tabel`,\"chart.runtime.noDataHint.kpi\":`Geen gegevens points naar weergeven`,\"chart.runtime.noDataHint.funnel\":`Configureer een funnel met minimaal 2 stappen en een koppelingssleutel`,\"chart.runtime.noDataHint.flow\":`Configureer een flowanalyse met een startstap en eventdimensie`,\"chart.runtime.noDataHint.retention\":`Configureer retentieanalyse om resultaten te zien`,\"chart.runtime.noValidData\":`Geen geldige gegevens`,\"chart.runtime.noValidDataHint.bar\":`Geen geldige datapunten voor staafgrafiek na transformatie`,\"chart.runtime.noValidDataHint.line\":`Geen geldige datapunten voor lijngrafiek na transformatie`,\"chart.runtime.noValidDataHint.area\":`Geen geldige datapunten voor vlakgrafiek na transformatie`,\"chart.runtime.noValidDataHint.scatter\":`Geen geldige datapunten voor spreidingsdiagram na transformatie`,\"chart.runtime.noValidDataHint.radar\":`Geen geldige datapunten voor radardiagram na transformatie`,\"chart.runtime.noValidDataHint.radialBar\":`Geen geldige datapunten voor radial staafgrafiek na transformatie`,\"chart.runtime.noValidDataHint.treemap\":`Geen geldige datapunten voor boomkaart na transformatie`,\"chart.runtime.noValidDataHint.pie\":`Geen datapunten om weer te geven in cirkeldiagram`,\"chart.runtime.noValidDataHint.pieFiltered\":`Uitgefilterd {count} gegevens punten (zero van ongeldig waarden)`,\"chart.runtime.noValidDataHint.boxPlot\":`Kon boxplotstatistieken niet berekenen uit de opgegeven gegevens`,\"chart.runtime.noValidDataHint.gauge\":`Gauge-waarde is geen geldig getal`,\"chart.runtime.noValidDataHint.kpiText\":`Alle waarden are null of ongeldig`,\"chart.runtime.configError\":`Configuratiefout`,\"chart.runtime.configErrorHint.axisInvalid\":`Ongeldige of ontbrekende grafiek-asconfiguratie`,\"chart.runtime.configErrorHint.axisFields\":`Vereiste velden voor X-as of Y-as ontbreken`,\"chart.runtime.configErrorHint.pieAxis\":`chartConfig.x/y of chartConfig.xAxis/yAxis is vereist voor cirkeldiagram`,\"chart.runtime.configErrorHint.radarNumeric\":`Geen numerieke velden gevonden voor radardiagramwaarden`,\"chart.runtime.configErrorHint.radialBarNumeric\":`Geen numeriek veld gevonden voor radial-bar-grafiekwaarden`,\"chart.runtime.configErrorHint.treemapNumeric\":`Geen numeriek veld gevonden voor treemapgrootte`,\"chart.runtime.configErrorHint.noMeasure\":`Geen metingveld geconfigureerd`,\"chart.runtime.configErrorHint.noMeasures\":`Geen metingvelden geconfigureerd`,\"chart.runtime.configErrorHint.bubbleRequired\":`Bellendiagram vereist xAxis-, yAxis-, reeksen- en sizeField-dimensies`,\"chart.runtime.configErrorHint.bubbleOptional\":`Optioneel: colorField voor bubble-kleuring`,\"chart.runtime.configErrorHint.activityGridRequired\":`Activiteitsraster vereist een tijdsdimensie en een meting`,\"chart.runtime.chartError\":`{chartType} Fout`,\"chart.runtime.unknownError\":`Onbekende renderfout`,\"chart.runtime.checkConfig\":`Controleer de gegevens en configuratie`,\"chart.runtime.unableToRender\":`Kan retentiegegevens niet renderen`,\"chart.runtime.dataFormatIncorrect\":`Gegevensindeling kan onjuist zijn`,\"chart.runtime.measuringDimensions\":`Grafiekafmetingen worden gemeten...`,\"chart.runtime.unableToDisplay\":`Kan grafiek niet weergeven`,\"chart.runtime.responsiveContainerError\":`Maken van responsieve container mislukt`,\"chart.runtime.noDataToDisplay\":`Geen gegevens om weer te geven`,\"chart.runtime.table.invalidStructure\":`Gegevens structure is ongeldig`,\"chart.runtime.heatmapNoResults\":`De query retourneerde geen resultaten voor de heatmap`,\"chart.runtime.heatmapConfigRequired\":`Configuratie vereist`,\"chart.runtime.heatmapXRequired\":`X-asdimensie vereist.`,\"chart.runtime.heatmapYRequired\":`Y-asdimensie vereist.`,\"chart.runtime.heatmapValueRequired\":`Waarde-meting vereist.`,\"chart.runtime.heatmapTruncated\":`Gegevens ingekort tot {maxRows}x{maxCols} cellen (origineel: {originalRows}x{originalCols}). Voeg filters toe om dimensies te verkleinen.`,\"chart.runtime.activityGridGranularityTooHigh\":`Granulariteit te hoog`,\"chart.runtime.activityGridGranularityHint\":`Activiteitsrasters werken het best met uur-, dag-, week-, maand- of kwartaalgranulariteit`,\"chart.runtime.activityGridGranularityAction\":`Kies een lagere granulariteit voor je tijdsdimensie`,\"chart.runtime.activityGridConfigRequired\":`Configuratie vereist`,\"chart.runtime.retention.cohort\":`Cohort`,\"chart.runtime.retention.segment\":`Segment`,\"chart.runtime.retention.users\":`Gebruikers`,\"chart.runtime.retention.cohortSize\":`Cohortgrootte: {count}`,\"chart.runtime.retention.retained\":`Behouden: {count}`,\"chart.runtime.retention.rate\":`Percentage: {rate}`,\"chart.runtime.retention.retentionPercent\":`Retentie %`,\"chart.runtime.retention.periodLabel\":`{cohort} - Periode {period}`,\"chart.runtime.retention.noData\":`Geen gegevens`,\"chart.runtime.retention.total\":`Totaal`,\"chart.runtime.retention.retention\":`Retentie`,\"chart.runtime.funnel.noData\":`Geen funnelgegevens`,\"chart.runtime.funnel.steps\":`stappen`,\"chart.runtime.funnel.overall\":`Totaal:`,\"chart.runtime.funnel.completed\":`{completed} / {total} voltooid`,\"chart.runtime.flow.noData\":`Geen flowgegevens`,\"chart.runtime.flow.events\":`gebeurtenissen`,\"chart.runtime.flow.eventsAfter\":`gebeurtenissen (na)`,\"chart.runtime.flow.paths\":`Paden:`,\"chart.runtime.flow.startingEntities\":`startende entiteiten`,\"chart.runtime.flow.entities\":`entiteiten`,\"chart.runtime.kpiDelta.insufficientData\":`Onvoldoende gegevens`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`Delta calculation vereist bij minimaal 2 gegevens punten`,\"chart.runtime.kpiDelta.currentPoints\":`Huidige gegevens points: {count}`,\"chart.runtime.kpiDelta.noVariance\":`Geen variance gegevens`,\"chart.runtime.kpiNumber.noData\":`Geen gegevens`,\"chart.runtime.markdown.noContent\":`Geen inhoud`,\"chart.runtime.markdown.addContent\":`Voeg markdown-inhoud toe in de grafiekconfiguratie`,\"chart.runtime.axisFormat.label\":`Label`,\"chart.runtime.axisFormat.autoLabel\":`Automatisch-gegenereerd label`,\"chart.runtime.axisFormat.unit\":`Eenheid`,\"chart.runtime.axisFormat.custom\":`Aangepast`,\"chart.runtime.axisFormat.prefix\":`Voorvoegsel`,\"chart.runtime.axisFormat.prefixExample\":`bijv., $`,\"chart.runtime.axisFormat.suffix\":`Achtervoegsel`,\"chart.runtime.axisFormat.suffixExample\":`bijv., eenheden`,\"chart.runtime.axisFormat.abbreviation\":`Afkorting`,\"chart.runtime.axisFormat.yes\":`Ja`,\"chart.runtime.axisFormat.no\":`Nee`,\"chart.runtime.axisFormat.decimals\":`Decimalen`,\"chart.runtime.axisFormat.preview\":`Voorbeeld`,\"chart.runtime.axisFormat.leftYAxis\":`Left Y-As`,\"chart.runtime.axisFormat.rightYAxis\":`Right Y-As`,\"chart.runtime.axisFormat.xAxis\":`X-As`,\"chart.runtime.missingDep.title\":`Ontbrekende afhankelijkheid`,\"chart.runtime.missingDep.description\":`De {chartType} grafiek vereist de {packageName} package.`,\"chart.runtime.missingDep.restartHint\":`Start na installatie je ontwikkelserver opnieuw.`,\"chart.runtime.unknownChartType\":`Onbekend grafiektype`,\"chart.runtime.unknownChartTypeHint\":`\"{chartType}\" is niet registered`,\"chart.runtime.boxPlot.truncated\":`Gegevens ingekort tot {max} groepen (origineel: {total})`,\"chart.runtime.candlestick.truncated\":`Toont de eerste {max} candles (totaal: {total})`,\"chart.runtime.bar.hiddenPoints\":`{count} gegevens punt(en) met geen waarden hidden`,\"chart.runtime.waterfall.increase\":`Toename`,\"chart.runtime.waterfall.decrease\":`Afname`,\"chart.runtime.waterfall.total\":`Totaal`,\"chart.runtime.tooltip.noData\":`Geen gegevens`,\"chart.runtime.tooltip.targetValue\":`Doelwaarde`,\"results.toolbar.refreshing\":`Vernieuwen`,\"results.toolbar.refresh\":`Vernieuwen`,\"results.toolbar.refreshTitle\":`Vernieuwen gegevens (Shift+klik naar bypass cache)`,\"results.toolbar.refreshingTitle\":`Vernieuwen...`,\"results.toolbar.cacheBustTitle\":`Klik naar vernieuw en bypass cache`,\"results.toolbar.clear\":`Wissen`,\"results.toolbar.clearFunnel\":`Wissen funnel`,\"results.toolbar.clearQuery\":`Wissen alle query gegevens`,\"results.toolbar.aiClose\":`Sluiten AI assistant`,\"results.toolbar.aiOpen\":`Analyse met AI`,\"results.toolbar.shareTitle\":`Share deze analyse`,\"results.toolbar.shareCopied\":`Link gekopieerd!`,\"results.toolbar.schemaHide\":`Verbergen schema diagram`,\"results.toolbar.schemaShow\":`Toon schema diagram`,\"results.toolbar.debugHide\":`Verbergen debug info`,\"results.toolbar.debugShow\":`Toon debug info`,\"results.toolbar.chartView\":`Grafiek view`,\"results.toolbar.chartDisabled\":`Voeg metingen naar enable grafiek view`,\"results.toolbar.tableView\":`Tabel view`,\"results.toolbar.mergedTableView\":`Merged tabel view`,\"results.view.table\":`Tabel`,\"results.warning.filterHint\":`Overweeg adding filters naar improve prestatie.`,\"results.debug.query\":`Query:`,\"results.debug.queryAnalysis\":`Query Analyse`,\"results.debug.copyMarkdownTitle\":`Kopieer query, analyse, en SQL as markdown`,\"results.debug.copyAsMarkdown\":`Kopiëren as Markdown`,\"results.debug.analysisError\":`Analyse unavailable due naar fout`,\"results.debug.analysisEmpty\":`Voeg metingen toe om analyse te zien`,\"results.debug.cubeQuery\":`Cube-query`,\"results.debug.cubeQueryExecuted\":`Executed Query (met funnel filters)`,\"results.debug.funnelFilterHint\":`Deze query includes an IN filter met koppeling sleutel waarden van de previous stap`,\"results.debug.noQuery\":`Geen query`,\"results.debug.serverResponse\":`Serverantwoord`,\"results.debug.noResults\":`Geen results yet`,\"results.debug.chartConfig\":`Grafiek Configuratie`,\"results.debug.displayConfig\":`Weergave Configuratie`,\"results.debug.generatedSql\":`Gegenereerd SQL`,\"results.debug.loadingSql\":`Laden SQL...`,\"results.debug.executionError\":`Execution Fout`,\"results.confirm.clearFunnel\":`Wissen Funnel`,\"results.confirm.clearQuery\":`Wissen Query`,\"results.confirm.clearFunnelMessage\":`Zijn je sure je want naar clear deze funnel? Deze action kan niet be undone.`,\"results.confirm.clearQueryMessage\":`Zijn je sure je want naar clear deze query? Deze action kan niet be undone.`,\"results.table.noData\":`Geen gegevens om weer te geven`,\"results.table.noDataHint\":`Voer een query uit om tabelgegevens te zien`,\"results.flow.noData\":`Geen flow gegevens naar weergeven`,\"results.flow.noDataHint\":`Configureer flowanalyse om resultaten te zien`,\"results.flow.nodes\":`Knooppunten ({count})`,\"results.flow.transitions\":`Overgangen ({count})`,\"results.flow.layer\":`Laag`,\"results.flow.name\":`Naam`,\"results.flow.count\":`Aantal`,\"results.flow.from\":`Van`,\"results.flow.to\":`Naar`,\"results.debug.funnel.label\":`Trechter-query`,\"results.debug.funnel.steps\":`{count} stappen`,\"results.debug.funnel.serverQuery\":`Trechter-serverquery`,\"results.debug.funnel.noQuery\":`Geen funnelquery geconfigureerd`,\"results.debug.funnel.sqlPlaceholder\":`Configureer funnel-koppelingssleutel om SQL te genereren`,\"results.debug.funnel.stepsTitle\":`Funnel Stappen`,\"results.debug.flow.label\":`Flow-query`,\"results.debug.flow.badge\":`{before} voor, {after} na`,\"results.debug.flow.serverQuery\":`Flow-serverquery`,\"results.debug.flow.noQuery\":`Geen flowquery geconfigureerd`,\"results.debug.flow.sqlPlaceholder\":`Configureer flow om SQL te genereren`,\"results.debug.flow.configTitle\":`Flow Configuratie`,\"results.debug.flow.startingStep\":`Startende Stap:`,\"results.debug.flow.eventDimension\":`Gebeurtenis Dimensie:`,\"results.debug.flow.stepsBefore\":`Stappen Voor:`,\"results.debug.flow.stepsAfter\":`Stappen Na:`,\"results.debug.flow.notSet\":`Niet set`,\"results.debug.flow.responseTitle\":`Server Response (Sankey Gegevens)`,\"results.debug.retention.label\":`Retentie Query`,\"results.debug.retention.badge\":`{segments} segment(en), {users} gebruikers`,\"results.debug.retention.serverQuery\":`Retentie Server Query`,\"results.debug.retention.configIncomplete\":`Configuratie Incomplete`,\"results.debug.retention.configHint\":`Configureer de retentieanalyse-instellingen om een query te genereren.`,\"results.debug.retention.sqlPlaceholder\":`Configureer retentie om SQL te genereren`,\"results.debug.retention.configTitle\":`Retentie Configuratie`,\"results.debug.retention.summaryTitle\":`Retentie Samenvatting`,\"results.debug.retention.retentionType\":`Retentie Type:`,\"results.debug.retention.periods\":`Periodes:`,\"results.debug.retention.granularity\":`Granulariteit:`,\"results.debug.retention.segments\":`Segmenten:`,\"results.debug.retention.avgPeriod1\":`Avg Periode 1:`,\"results.debug.retention.maxPeriod1\":`Max Periode 1:`,\"results.debug.retention.minPeriod1\":`Min Periode 1:`,\"results.debug.standard.sqlPlaceholder\":`Voeg metingen toe om SQL te genereren`,\"flow.tabs.flow\":`Stroom`,\"flow.tabs.display\":`Weergave`,\"flow.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"flow.tabs.displayTitle\":`Weergave options`,\"flow.visualization.title\":`Visualisatie`,\"flow.visualization.description\":`Kies hoe je de flowgegevens wilt visualiseren. Dit bepaalt hoe gegevens worden geaggregeerd.`,\"flow.visualization.sankey\":`Sankey`,\"flow.visualization.sankeyHint\":`Paden can converge`,\"flow.visualization.sunburst\":`Sunburst`,\"flow.visualization.sunburstHint\":`Unique paden alleen`,\"flow.startingStep.title\":`Startende Stap`,\"flow.startingStep.description\":`Define de anchor gebeurtenis van welke paden will zijn explored in both directions.`,\"flow.startingStep.filterLabel\":`Filter Voorwaarden`,\"flow.depth.title\":`Verkenningsdiepte`,\"flow.depth.descriptionSankey\":`Hoe veel stappen naar explore voor en na de startende stap.`,\"flow.depth.descriptionSunburst\":`Hoe veel stappen naar explore na de startende stap.`,\"flow.depth.stepsBefore\":`Stappen Voor`,\"flow.depth.stepsBeforeNA\":`(N/EEN)`,\"flow.depth.stepsAfter\":`Stappen Na`,\"flow.depth.performanceWarning\":`Hoog stap depth (4-5) kan impact query prestatie op groot datasets.`,\"flow.joinStrategy.title\":`Join-strategie`,\"flow.joinStrategy.description\":`Control hoe voor/na stappen zijn fetched. Schakel naar window if lateral is slower op je DB.`,\"flow.joinStrategy.auto\":`Automatisch (prefer lateral if beschikbaar)`,\"flow.joinStrategy.lateral\":`Lateraal (index-zoekacties)`,\"flow.joinStrategy.window\":`Venster (ROW_NUMBER)`,\"retention.tabs.retention\":`Retentie`,\"retention.tabs.display\":`Weergave`,\"retention.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"retention.tabs.displayTitle\":`Weergave options`,\"retention.dateRange.title\":`Datum Range`,\"retention.dateRange.description\":`Selecteer het datumbereik voor cohort-instroom. Gebruikers die voor het eerst binnen dit bereik verschijnen worden geanalyseerd.`,\"retention.dateRange.label\":`Datum Range`,\"retention.dateRange.selectRange\":`Selecteer date range`,\"retention.dateRange.customRange\":`Aangepast Range`,\"retention.dateRange.applyCustom\":`Toepassen Aangepast Range`,\"retention.cohortFilter.title\":`Cohortfilter`,\"retention.cohortFilter.description\":`Bepaal wie tot het cohort behoort. Gebruikers waarvan de eerste gebeurtenis binnen het datumbereik aan deze filters voldoet, worden opgenomen.`,\"retention.returnFilter.title\":`Terugkeerfilter`,\"retention.returnFilter.description\":`Define what counts as a return. Gebeurtenissen matching these filters in subsequent periods count as retentie.`,\"retention.breakdown.title\":`Opsplitsing`,\"retention.breakdown.description\":`Optionally segment retentie by dimensies (e.g., country, plan type).`,\"retention.settings.title\":`Instellingen`,\"retention.settings.description\":`Configureer hoe retentie wordt berekend en weergegeven.`,\"retention.settings.granularityLabel\":`Periode Granularity`,\"retention.settings.periodsLabel\":`Nummer of Periods ({min}-{max})`,\"retention.settings.periodsWarning\":`Hoog periode aantal kan impact query prestatie.`,\"retention.settings.retentionTypeLabel\":`Retentie Type`,\"debug.explainPlan\":`Uitleggen Plan`,\"debug.explainRunning\":`Draaiend...`,\"debug.explainIncludeTiming\":`Inclusief timing`,\"debug.explainRunningAnalyze\":`Draaiend UITLEGGEN ANALYZE...`,\"debug.explainRunningBasic\":`Draaiend UITLEGGEN...`,\"debug.explainError\":`Explain Fout:`,\"debug.sequentialScans\":`Sequentiële scans gedetecteerd`,\"debug.indexesUsed\":`{count} index gebruikt`,\"debug.indexesUsedPlural\":`{count} indexen gebruikt`,\"debug.executionTime\":`Uitvoering: {time}ms`,\"debug.planningTime\":`Planning: {time} ms`,\"debug.cost\":`Kosten: {cost}`,\"debug.indexes\":`Indexen:`,\"debug.executionPlanTitle\":`Uitvoering Plan ({database})`,\"debug.aiAnalyzing\":`Analyseren...`,\"debug.aiAnalysis\":`AI Analyse`,\"debug.aiAnalysisError\":`AI Analyse Fout:`,\"explainAI.title\":`AI Performance Analyse`,\"explainAI.assessment.good\":`Goed`,\"explainAI.assessment.warning\":`Waarschuwing`,\"explainAI.assessment.critical\":`Kritiek`,\"explainAI.summary\":`Samenvatting`,\"explainAI.queryAnalysis\":`Query Analyse`,\"explainAI.issuesFound\":`Issues Gevonden ({count})`,\"explainAI.recommendations\":`Aanbevelingen ({count})`,\"explainAI.noRecommendations\":`Geen specifieke aanbevelingen. De query lijkt goed geoptimaliseerd.`,\"explainAI.expectedImpact\":`Verwachte impact:`,\"explainAI.addToCube\":`Voeg naar {cubeName} cube:`,\"explainAI.modelLabel\":`Model:`,\"explainAI.usingUserKey\":`(met je API sleutel)`,\"explainAI.copied\":`Gekopieerd!`,\"explainAI.copy\":`Kopiëren`,\"explainAI.type.index\":`INDEX`,\"explainAI.type.table\":`TABEL`,\"explainAI.type.cube\":`CUBE`,\"explainAI.type.general\":`TIP`,\"errorBoundary.modeError\":`Mode Fout`,\"errorBoundary.modeErrorDescription\":`Er is een probleem opgetreden met de modus {mode}. Dit kan komen door ongeldige configuratiegegevens.`,\"errorBoundary.showDetails\":`Toon fout details`,\"errorBoundary.unknownError\":`Onbekend fout`,\"errorBoundary.tryAgain\":`Opnieuw proberen`,\"errorBoundary.switchToQuery\":`Schakel naar Query Modus`,\"funnel.tabs.steps\":`Stappen`,\"funnel.tabs.display\":`Weergave`,\"funnel.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"funnel.tabs.displayTitle\":`Weergave options`,\"funnel.steps.title\":`Funnel Stappen`,\"funnel.steps.emptyMessage\":`Geen stappen defined. Voeg at least 2 stappen naar create a funnel.`,\"funnel.steps.addFirst\":`Voeg First Stap`,\"funnel.steps.addStep\":`Voeg Stap`,\"funnel.steps.validationHint\":`Voeg at least one more stap naar create a valid funnel`,\"funnel.step.removeTitle\":`Verwijderen stap`,\"funnel.step.editNameTitle\":`Klik naar edit naam`,\"funnel.step.placeholder\":`Stap name`,\"funnel.step.timeWindow\":`Tijd Window`,\"funnel.step.timeWindowHelp\":`Max tijd van previous stap naar qualify`,\"funnel.step.filters\":`{count} filter`,\"funnel.step.filtersPlural\":`{count} filters`,\"funnel.step.within\":`binnen {time}`,\"funnel.step.noFilters\":`Geen filters geconfigureerd`,\"funnel.config.configuration\":`Configuratie`,\"funnel.config.cube\":`Cube`,\"funnel.config.cubeHelp\":`Selecteer een cube die is geconfigureerd voor funnelanalyse`,\"funnel.config.cubePlaceholder\":`Selecteer gebeurtenis stream cube`,\"funnel.config.bindingKey\":`Koppeling Sleutel`,\"funnel.config.bindingKeyHelp\":`Entity dat connects stappen (e.g., gebruiker ID, order ID)`,\"funnel.config.bindingKeyPlaceholder\":`Selecteer binding key`,\"funnel.config.selectCubeFirst\":`Selecteer cube first`,\"funnel.config.timeDimension\":`Tijd Dimensie`,\"funnel.config.timeDimensionHelp\":`Tijdstempel veld voor stap ordering`,\"funnel.config.timeDimensionPlaceholder\":`Selecteer time dimensie`,\"funnel.config.noMatchingFields\":`Geen matching velden gevonden`,\"funnel.bindingKey.searchPlaceholder\":`Zoeken dimensies...`,\"funnel.bindingKey.noMatching\":`Geen matching dimensies gevonden`,\"funnel.bindingKey.helpText\":`Selecteer een dimensie die entiteiten over funnelstappen identificeert (bijv. gebruikers-ID, order-ID)`,\"funnel.bindingKey.clearTitle\":`Wissen binding key`,\"flow.config.configuration\":`Configuratie`,\"flow.config.cube\":`Cube`,\"flow.config.cubeHelp\":`Selecteer een cube die is geconfigureerd voor flowanalyse`,\"flow.config.cubePlaceholder\":`Selecteer gebeurtenis stream cube`,\"flow.config.bindingKey\":`Koppeling Sleutel`,\"flow.config.bindingKeyHelp\":`Entity dat links gebeurtenissen together (e.g., gebruiker ID)`,\"flow.config.bindingKeyPlaceholder\":`Selecteer binding key`,\"flow.config.selectCubeFirst\":`Selecteer cube first`,\"flow.config.timeDimension\":`Tijd Dimensie`,\"flow.config.timeDimensionHelp\":`Tijdstempel veld voor gebeurtenis ordering`,\"flow.config.timeDimensionPlaceholder\":`Selecteer time dimensie`,\"flow.config.eventDimension\":`Gebeurtenis Dimensie`,\"flow.config.eventDimensionHelp\":`Dimensie dat categorizes gebeurtenissen (node labels in Sankey)`,\"flow.config.eventDimensionPlaceholder\":`Selecteer gebeurtenis dimensie`,\"flow.config.noMatchingFields\":`Geen matching velden gevonden`,\"retention.config.configuration\":`Configuratie`,\"retention.config.cube\":`Cube`,\"retention.config.cubeHelp\":`Selecteer de cube met je gebruikersgebeurtenissen`,\"retention.config.cubePlaceholder\":`Selecteer cube`,\"retention.config.bindingKey\":`Koppeling Sleutel`,\"retention.config.bindingKeyHelp\":`Dimensie die entiteiten over gebeurtenissen identificeert (bijv. gebruikers-ID, klant-ID)`,\"retention.config.bindingKeyPlaceholder\":`Selecteer user identifier`,\"retention.config.selectCubeFirst\":`Selecteer cube first`,\"retention.config.timestamp\":`Tijdstempel`,\"retention.config.timestampHelp\":`Tijdstempel veld voor cohort entry en activiteit`,\"retention.config.timestampPlaceholder\":`Selecteer timestamp`,\"retention.config.noMatchingFields\":`Geen matching velden gevonden`,\"retention.config.searchPlaceholder\":`Zoeken...`,\"display.showLegend\":`Toon Legenda`,\"display.showGrid\":`Toon Grid`,\"display.showTooltip\":`Toon Tooltip`,\"display.stacked\":`Gestapeld`,\"display.hideHeader\":`Verbergen Header`,\"fieldSearch.aria.closeDialog\":`Sluiten dialog`,\"fieldSearch.aria.filterByCube\":`Filter op cube`,\"fieldSearch.aria.cubeCategories\":`Cube-categorieën`,\"fieldSearch.aria.availableFields\":`Beschikbaar velden`,\"chart.dropZone.required\":`Deze veld is vereist`,\"common.actions.apply\":`Toepassen`,\"common.actions.done\":`Klaar`,\"common.actions.update\":`Bijwerken`,\"common.actions.retry\":`Opnieuw proberen`,\"common.actions.exit\":`Afsluiten`,\"common.actions.selectAll\":`Selecteer Alle`,\"common.saving\":`Opslaan...`,\"common.labels.title\":`Titel`,\"dashboardFilter.editFilter\":`Bewerken Filter`,\"dashboardFilter.filterLabel\":`Filterlabel`,\"dashboardFilter.enterFilterLabel\":`Enter filter label`,\"dashboardFilter.universalTimeFilter\":`Universal Tijd Filter`,\"dashboardFilter.universalTimeDescription\":`Dit filter wordt toegepast op alle tijdsdimensies in gekoppelde portlets. Gebruikers kunnen het datumbereik kiezen bij het bekijken van het dashboard.`,\"dashboardFilter.field\":`Veld`,\"dashboardFilter.showDashboardFields\":`Toon dashboard velden only`,\"dashboardFilter.showAllFields\":`Toon alle velden`,\"dashboardFilter.dashboard\":`Dashboard`,\"dashboardFilter.all\":`Alle`,\"dashboardFilter.clickToSelectField\":`Klik naar selecteer een veld`,\"dashboardFilter.operator\":`Operator`,\"dashboardFilter.defaultValue\":`Standaard Waarde`,\"dashboardFilter.deleteFilter\":`Verwijderen Filter`,\"dashboardFilter.noValueRequired\":`Geen waarde vereist`,\"dashboardFilter.to\":`naar`,\"dashboardFilter.selectValue\":`Selecteer waarde...`,\"dashboardFilter.search\":`Zoeken...`,\"dashboardFilter.errorPrefix\":`Fout:`,\"dashboardFilter.noValuesFound\":`Geen waarden gevonden`,\"dashboardFilter.enterValue\":`Enter waarde...`,\"dashboardFilter.enterNumber\":`Enter nummer`,\"dashboardFilter.min\":`Min`,\"dashboardFilter.max\":`Max`,\"dashboardFilter.filterLabelRequired\":`Filter label is vereist`,\"dashboardFilter.selectFieldRequired\":`Selecteer een veld voor het filter`,\"dashboardFilter.notSet\":`(niet set)`,\"dashboardFilter.clickToConfigure\":`Klik om te configureren`,\"dashboardFilter.customDate.startDate\":`Start Datum`,\"dashboardFilter.customDate.endDate\":`End Datum`,\"dashboardFilter.customDate.sinceDate\":`Since Datum`,\"dashboardFilter.customDate.fromSelectedToToday\":`Van selected date naar today`,\"dashboardFilter.customDate.number\":`Nummer`,\"dashboardFilter.customDate.unit\":`Eenheid`,\"dashboardFilter.customDate.lastNPreview\":`Laatste {number} {unit}`,\"dashboardFilter.editMode.filters\":`Filters`,\"dashboardFilter.editMode.noFilters\":`Geen filters geconfigureerd. Klik op \"Voeg toe\" om er één te maken.`,\"dashboardFilter.editMode.dateRange\":`Datum Range`,\"dashboardFilter.editMode.filter\":`Filter`,\"dashboardFilter.editMode.editFilter\":`Bewerken filter`,\"dashboardFilter.editMode.removeFilter\":`Verwijderen filter`,\"dashboardFilter.filterValue.editValue\":`Bewerken waarde`,\"dashboardFilter.readOnly.filters\":`Filters`,\"filter.shared.fieldsInQuery\":`Velden in Query ({count})`,\"filter.shared.allAvailableFields\":`Alle Beschikbaar Velden ({count})`,\"filter.shared.noFieldsMatch\":`Geen velden gevonden matching \"{searchTerm}\"`,\"filter.shared.searchFields\":`Zoeken velden...`,\"filter.shared.selectField\":`Selecteer veld...`,\"filter.shared.schemaNotLoaded\":`Schema niet geladen`,\"filter.shared.group.addFilter\":`Voeg Filter`,\"filter.shared.group.addAndGroup\":`Voeg EN Groep`,\"filter.shared.group.addOrGroup\":`Voeg OF Groep`,\"filter.shared.group.addCondition\":`Voeg condition`,\"filter.shared.group.noConditions\":`Geen conditions in deze groep.`,\"filter.shared.group.addFilterLink\":`Voeg a filter`,\"filter.shared.builder.filters\":`Filters ({count})`,\"filter.shared.builder.clearAll\":`Wissen alle`,\"filter.shared.builder.addFilter\":`Voeg Filter`,\"filter.shared.dateRange.title\":`Datum Ranges ({count})`,\"filter.shared.dateRange.clearAll\":`Wissen alle`,\"filter.shared.dateRange.addDateRange\":`Voeg Datum Range`,\"filter.shared.dateRange.allHaveDateRanges\":`Alle time dimensies already have date ranges`,\"filter.shared.valueSelector.noValueRequired\":`Geen waarde vereist`,\"filter.shared.valueSelector.to\":`naar`,\"filter.shared.valueSelector.min\":`Min`,\"filter.shared.valueSelector.max\":`Max`,\"filter.shared.valueSelector.enterNumber\":`Enter nummer`,\"filter.shared.valueSelector.loadingValues\":`Laden waarden...`,\"filter.shared.valueSelector.selectValue\":`Selecteer waarde...`,\"filter.shared.valueSelector.searchValues\":`Zoeken waarden...`,\"filter.shared.valueSelector.searching\":`Searching...`,\"filter.shared.valueSelector.errorLoading\":`Fout laden waarden: {error}`,\"filter.shared.valueSelector.noMatchingValues\":`Geen matching waarden`,\"filter.shared.valueSelector.noValuesAvailable\":`Geen waarden beschikbaar`,\"filter.shared.valueSelector.enterValue\":`Enter {type} waarde`,\"dashboard.noPortlets\":`Geen Portlets`,\"dashboard.noPortletsDescription\":`Voeg je first portlet naar start visualizing je gegevens`,\"dashboard.addText\":`Voeg Tekst`,\"dashboard.addPortlet\":`Voeg Portlet`,\"dashboard.finishEditing\":`Finish Editing`,\"dashboard.edit\":`Bewerken`,\"dashboard.grid\":`Raster`,\"dashboard.rows\":`Rijen`,\"dashboard.desktopRequired\":`Desktop view vereist voor editing`,\"dashboard.editModeHint\":`Drag • Resize • Automatisch-save`,\"dashboard.filterSelectionMode\":`Filter Selection Modus - Klik portlets naar toggle '{filterLabel}'`,\"dashboard.filterSelectionEscHint\":`• Druk op Enter of Esc om op te slaan`,\"dashboard.filterFieldChipHint\":`Klik om te wijzigen op welk veld dit filter wordt toegepast voor deze portlet`,\"dashboard.editPortlet\":`Bewerken Portlet`,\"dashboard.addNewPortlet\":`Voeg Nieuw Portlet`,\"dashboard.updatePortlet\":`Bijwerken Portlet`,\"dashboard.deletePortlet\":`Verwijderen Portlet`,\"dashboard.deletePortletConfirm\":`Zijn je sure je want naar verwijder`,\"dashboard.deletePortletSuffix\":`? Deze action kan niet zijn undone.`,\"dashboard.thisPortlet\":`deze portlet`,\"dashboard.editModal.dashboardName\":`Dashboard Naam`,\"dashboard.editModal.enterDashboardName\":`Enter dashboard naam...`,\"dashboard.editModal.descriptionOptional\":`Beschrijving (optional)`,\"dashboard.editModal.enterDescription\":`Enter description...`,\"portlet.configRequired\":`Configuratie vereist`,\"portlet.configRequiredHint\":`Configureer deze grafiek`,\"portlet.queryError\":`Query Fout`,\"portlet.queryWithFilters\":`Query (met filters toegepast)`,\"portlet.chartConfig\":`Grafiek Configuratie`,\"portlet.noDataAvailable\":`Geen gegevens beschikbaar`,\"portlet.noDataDrilled\":`Geen datapunten om weer te geven voor het huidige filter`,\"portlet.invalidQuery\":`Ongeldig query of no results`,\"portlet.unsupportedChartType\":`Unsupported grafiek type`,\"portlet.unableToRender\":`Kan niet renderen grafiek`,\"portlet.enterTitle\":`Enter portlet title...`,\"portlet.enterPortletTitle\":`Voer een titel in voor de portlet.`,\"portlet.configureQuery\":`Configureer een query voordat je opslaat.`,\"portlet.configureFlow\":`Configureer de flowanalyse (binding key, tijdsdimensie, gebeurtenisdimensie en startstapfilter).`,\"portlet.configureRetention\":`Configureer de retentieanalyse (binding key, tijdsdimensie en datumbereik).`,\"portlet.configureFunnel\":`Alstublieft add at least two funnel stappen.`,\"portlet.addMetricOrBreakdown\":`Alstublieft add at least one metric of breakdown naar je query.`,\"portlet.filterConfig.title\":`Configureer dashboardfilters`,\"portlet.filterConfig.subtitle\":`Kies which dashboard filters apply naar \"{portletTitle}\"`,\"portlet.filterConfig.noFilters\":`Geen dashboard filters beschikbaar`,\"portlet.filterConfig.noFiltersHint\":`Voeg eerst filters toe op dashboardniveau`,\"portlet.filterConfig.availableFilters\":`Beschikbaar Filters`,\"portlet.filterConfig.selectedCount\":`{selected} van {total} selected`,\"portlet.filterConfig.applied\":`Toegepast`,\"portlet.filterConfig.noValue\":`geen waarde`,\"portlet.filterConfig.complexFilter\":`Complex filter`,\"portlet.filterConfig.groupFilter\":`{type} groep met {count} filter`,\"portlet.filterConfig.groupFilterPlural\":`{type} groep met {count} filters`,\"portlet.filterConfig.applyFilters\":`Toepassen Filters`,\"portlet.filterConfig.applyToField\":`Toepassen op veld`,\"portlet.filterConfig.applyToFieldDefault\":`Standaard ({field})`,\"portlet.filterConfig.mappedTo\":`Gekoppeld aan {field}`,\"portlet.filterConfig.mappedFieldMissing\":`Het gekoppelde veld \"{field}\" is niet meer beschikbaar in het schema`,\"textPortlet.editText\":`Bewerken Tekst`,\"textPortlet.addText\":`Voeg Tekst`,\"textPortlet.markdownContent\":`Markdown Content`,\"textPortlet.markdownHint\":`Ondersteunt kopteksten (#), bold (**tekst**), italic (*tekst*), links ([tekst](url)), lists (- item), en horizontal rules (---).`,\"textPortlet.preview\":`Voorbeeld`,\"debug.title\":`Grafiek Debug Information`,\"debug.chartType\":`Grafiek Type`,\"debug.fieldAnalysis\":`Veld Analyse`,\"debug.chartConfig\":`Grafiek Configuratie`,\"debug.displayConfig\":`Weergave Configuratie`,\"debug.queryObject\":`Query-object`,\"debug.dataSample\":`Gegevens Sample (first 3 rijen)`,\"debug.cacheStatus\":`Cachestatus`,\"debug.cacheHit\":`Cache-hit`,\"debug.cachedAt\":`Cached Bij:`,\"debug.ttl\":`TTL:`,\"debug.ttlRemaining\":`Resterende TTL:`,\"debug.freshQuery\":`Nieuwe query`,\"debug.notFromCache\":`Resultaat not served van cache`,\"debug.escToClose\":`Druk`,\"debug.escKey\":`ESC`,\"debug.toClose\":`naar sluiten`,\"debug.tooltip\":`Debug grafiek configuratie`,\"error.unableToRender\":`Kan niet renderen grafiek`,\"error.unableToRenderNamed\":`Kan niet renderen {title}`,\"error.renderDescription\":`There was an fout rendering deze grafiek component. De fout details zijn shown onder.`,\"error.errorLabel\":`Fout:`,\"error.typeLabel\":`Type:`,\"error.portletConfig\":`Portlet Configuratie`,\"error.cubeQuery\":`Cube-query`,\"error.componentStack\":`Componentstack`,\"error.tryAgain\":`Opnieuw proberen`,\"drill.back\":`Terug`,\"drill.goBackOneLevel\":`Go back één level`,\"drill.returnToTop\":`Return naar boven level`,\"drill.navigateTo\":`Navigeer naar {label}`,\"drill.empty\":`(leeg)`,\"analyticsPage.title\":`Analysepagina - Komt in fase 4`,\"dataHistogram.average\":`Gemiddelde van {count} waarden`,\"dataHistogram.valuesInRange\":`{count} waarden in deze bereik`,\"mcp.status.connecting\":`Verbinden...`,\"mcp.status.loading\":`Laden...`,\"mcp.status.waiting\":`Wachten op queryresultaten...`,\"mcp.error.connectionLabel\":`Verbindingsfout:`,\"mcp.error.errorLabel\":`Fout:`,\"mcp.error.noTextContent\":`Geen tekstinhoud in resultaat`,\"mcp.error.invalidResultFormat\":`Ongeldig resultaatformaat: data-array ontbreekt`,\"mcp.error.parseFailed\":`Kon resultaat niet verwerken: {message}`,\"mcp.error.queryFailed\":`Query mislukt: {message}`,\"mcp.footer.rows\":`{count} rij`,\"mcp.footer.rowsPlural\":`{count} rijen`,\"mcp.footer.measures\":`{count} metriek`,\"mcp.footer.measuresPlural\":`{count} metrieken`,\"mcp.footer.dimensions\":`{count} dimensie`,\"mcp.footer.dimensionsPlural\":`{count} dimensies`}}));xv();var jv=`en-GB`,Mv=bv,Nv=!1;function Pv(e,t){let n=Mv[e];return n?t?n.replace(/\\{(\\w+)\\}/g,(e,n)=>{let r=t[n];return r===void 0?`{${n}}`:String(r)}):n:(Nv&&typeof console<`u`&&console.warn(`[drizzle-cube i18n] Missing translation key: \"${e}\"`),e)}async function Fv(e){if(e===`nl`&&(e=`nl-NL`),e===`en-GB`||e===`en`){jv=`en-GB`,Mv=bv;return}try{let t=await vv(Object.assign({\"./locales/af-ZA.json\":()=>iv(()=>Promise.resolve().then(()=>(wv(),Sv)),void 0,import.meta.url),\"./locales/en-US.json\":()=>iv(()=>Promise.resolve().then(()=>(Dv(),Tv)),void 0,import.meta.url),\"./locales/en.json\":()=>iv(()=>Promise.resolve().then(()=>(xv(),yv)),void 0,import.meta.url),\"./locales/nl-NL.json\":()=>iv(()=>Promise.resolve().then(()=>(Av(),Ov)),void 0,import.meta.url)}),`./locales/${e}.json`,3);jv=e,Mv={...bv,...t.default}}catch{typeof console<`u`&&console.warn(`[drizzle-cube] Failed to load locale \"${e}\", falling back to en-GB`),jv=`en-GB`,Mv=bv}}function Iv(e,t){jv=e,Mv={...bv,...t}}function Lv(){return jv}function Rv(){return Mv}var zv=s((e=>{var t=p(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),q=s(((e,t)=>{t.exports=zv()}))(),Bv=(0,z.createContext)({t:Pv,locale:`en-GB`});function Vv({locale:e=`en-GB`,translations:t,children:n}){let[r,i]=(0,z.useState)(!1),[a,o]=(0,z.useState)(Lv());(0,z.useEffect)(()=>{let n=!1;return(async()=>{await Fv(e),t&&!n&&Iv(e,{...Rv(),...t}),n||(o(Lv()),i(!0))})(),()=>{n=!0}},[e,t]);let s={t:Pv,locale:r?a:e};return(0,q.jsx)(Bv.Provider,{value:s,children:n})}function Hv(e){let{t,locale:n}=(0,z.useContext)(Bv);return{t:(0,z.useCallback)((n,r)=>t(e?`${e}.${n}`:n,r),[t,e]),locale:n}}function Uv(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Uv(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function J(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Uv(e))&&(r&&(r+=` `),r+=t);return r}var Wv=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function Gv(e){return typeof e==`string`?Wv.includes(e):!1}var Kv=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function qv(e){return typeof e==`string`?Kv.has(e):!1}function Jv(e){return typeof e==`string`&&e.startsWith(`data-`)}function Yv(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(qv(n)||Jv(n))&&(t[n]=e[n]);return t}function Xv(e){if(e==null)return null;if((0,z.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return Yv(t)}return typeof e==`object`&&!Array.isArray(e)?Yv(e):null}function Zv(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(qv(n)||Jv(n)||Gv(n))&&(t[n]=e[n]);return t}function Qv(e){return e==null?null:(0,z.isValidElement)(e)?Zv(e.props):typeof e==`object`&&!Array.isArray(e)?Zv(e):null}var $v=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function ey(){return ey=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ey.apply(null,arguments)}function ty(e,t){if(e==null)return{};var n,r,i=ny(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ny(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var ry=(0,z.forwardRef)((e,t)=>{var{children:n,width:r,height:i,viewBox:a,className:o,style:s,title:c,desc:l}=e,u=ty(e,$v),d=a||{width:r,height:i,x:0,y:0},f=J(`recharts-surface`,o);return z.createElement(`svg`,ey({},Zv(u),{className:f,width:r,height:i,style:s,viewBox:`${d.x} ${d.y} ${d.width} ${d.height}`,ref:t}),z.createElement(`title`,null,c),z.createElement(`desc`,null,l),n)}),iy=[`children`,`className`];function ay(){return ay=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ay.apply(null,arguments)}function oy(e,t){if(e==null)return{};var n,r,i=sy(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function sy(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Y=z.forwardRef((e,t)=>{var{children:n,className:r}=e,i=oy(e,iy),a=J(`recharts-layer`,r);return z.createElement(`g`,ay({className:a},Zv(i),{ref:t}),n)}),cy=(0,z.createContext)(null),ly=()=>(0,z.useContext)(cy);function uy(e){return function(){return e}}var dy=Math.abs,fy=Math.atan2,py=Math.cos,my=Math.max,hy=Math.min,gy=Math.sin,_y=Math.sqrt,vy=Math.PI,yy=vy/2,by=2*vy;function xy(e){return e>1?0:e<-1?vy:Math.acos(e)}function Sy(e){return e>=1?yy:e<=-1?-yy:Math.asin(e)}var Cy=Math.PI,wy=2*Cy,Ty=1e-6,Ey=wy-Ty;function Dy(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Oy(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return Dy;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var ky=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?Dy:Oy(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Ty)if(!(Math.abs(u*s-c*l)>Ty)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Cy-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Ty&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Ty||Math.abs(this._y1-l)>Ty)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%wy+wy),d>Ey?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>Ty&&this._append`A${n},${n},0,${+(d>=Cy)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function Ay(){return new ky}Ay.prototype=ky.prototype;function jy(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new ky(t)}function My(e){return e.innerRadius}function Ny(e){return e.outerRadius}function Py(e){return e.startAngle}function Fy(e){return e.endAngle}function Iy(e){return e&&e.padAngle}function Ly(e,t,n,r,i,a,o,s){var c=n-e,l=r-t,u=o-i,d=s-a,f=d*c-u*l;if(!(f*f<1e-12))return f=(u*(t-a)-d*(e-i))/f,[e+f*c,t+f*l]}function Ry(e,t,n,r,i,a,o){var s=e-n,c=t-r,l=(o?a:-a)/_y(s*s+c*c),u=l*c,d=-l*s,f=e+u,p=t+d,m=n+u,h=r+d,g=(f+m)/2,_=(p+h)/2,v=m-f,y=h-p,b=v*v+y*y,x=i-a,S=f*h-m*p,C=(y<0?-1:1)*_y(my(0,x*x*b-S*S)),w=(S*y-v*C)/b,T=(-S*v-y*C)/b,E=(S*y+v*C)/b,D=(-S*v+y*C)/b,O=w-g,k=T-_,ee=E-g,te=D-_;return O*O+k*k>ee*ee+te*te&&(w=E,T=D),{cx:w,cy:T,x01:-u,y01:-d,x11:w*(i/x-1),y11:T*(i/x-1)}}function zy(){var e=My,t=Ny,n=uy(0),r=null,i=Py,a=Fy,o=Iy,s=null,c=jy(l);function l(){var l,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),p=i.apply(this,arguments)-yy,m=a.apply(this,arguments)-yy,h=dy(m-p),g=m>p;if(s||=l=c(),f<d&&(u=f,f=d,d=u),!(f>1e-12))s.moveTo(0,0);else if(h>by-1e-12)s.moveTo(f*py(p),f*gy(p)),s.arc(0,0,f,p,m,!g),d>1e-12&&(s.moveTo(d*py(m),d*gy(m)),s.arc(0,0,d,m,p,g));else{var _=p,v=m,y=p,b=m,x=h,S=h,C=o.apply(this,arguments)/2,w=C>1e-12&&(r?+r.apply(this,arguments):_y(d*d+f*f)),T=hy(dy(f-d)/2,+n.apply(this,arguments)),E=T,D=T,O,k;if(w>1e-12){var ee=Sy(w/d*gy(C)),te=Sy(w/f*gy(C));(x-=ee*2)>1e-12?(ee*=g?1:-1,y+=ee,b-=ee):(x=0,y=b=(p+m)/2),(S-=te*2)>1e-12?(te*=g?1:-1,_+=te,v-=te):(S=0,_=v=(p+m)/2)}var ne=f*py(_),A=f*gy(_),re=d*py(b),j=d*gy(b);if(T>1e-12){var ie=f*py(v),ae=f*gy(v),oe=d*py(y),se=d*gy(y),ce;if(h<vy)if(ce=Ly(ne,A,oe,se,ie,ae,re,j)){var M=ne-ce[0],le=A-ce[1],ue=ie-ce[0],de=ae-ce[1],fe=1/gy(xy((M*ue+le*de)/(_y(M*M+le*le)*_y(ue*ue+de*de)))/2),pe=_y(ce[0]*ce[0]+ce[1]*ce[1]);E=hy(T,(d-pe)/(fe-1)),D=hy(T,(f-pe)/(fe+1))}else E=D=0}S>1e-12?D>1e-12?(O=Ry(oe,se,ne,A,f,D,g),k=Ry(ie,ae,re,j,f,D,g),s.moveTo(O.cx+O.x01,O.cy+O.y01),D<T?s.arc(O.cx,O.cy,D,fy(O.y01,O.x01),fy(k.y01,k.x01),!g):(s.arc(O.cx,O.cy,D,fy(O.y01,O.x01),fy(O.y11,O.x11),!g),s.arc(0,0,f,fy(O.cy+O.y11,O.cx+O.x11),fy(k.cy+k.y11,k.cx+k.x11),!g),s.arc(k.cx,k.cy,D,fy(k.y11,k.x11),fy(k.y01,k.x01),!g))):(s.moveTo(ne,A),s.arc(0,0,f,_,v,!g)):s.moveTo(ne,A),!(d>1e-12)||!(x>1e-12)?s.lineTo(re,j):E>1e-12?(O=Ry(re,j,ie,ae,d,-E,g),k=Ry(ne,A,oe,se,d,-E,g),s.lineTo(O.cx+O.x01,O.cy+O.y01),E<T?s.arc(O.cx,O.cy,E,fy(O.y01,O.x01),fy(k.y01,k.x01),!g):(s.arc(O.cx,O.cy,E,fy(O.y01,O.x01),fy(O.y11,O.x11),!g),s.arc(0,0,d,fy(O.cy+O.y11,O.cx+O.x11),fy(k.cy+k.y11,k.cx+k.x11),g),s.arc(k.cx,k.cy,E,fy(k.y11,k.x11),fy(k.y01,k.x01),!g))):s.arc(0,0,d,b,y,g)}if(s.closePath(),l)return s=null,l+``||null}return l.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-vy/2;return[py(r)*n,gy(r)*n]},l.innerRadius=function(t){return arguments.length?(e=typeof t==`function`?t:uy(+t),l):e},l.outerRadius=function(e){return arguments.length?(t=typeof e==`function`?e:uy(+e),l):t},l.cornerRadius=function(e){return arguments.length?(n=typeof e==`function`?e:uy(+e),l):n},l.padRadius=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:uy(+e),l):r},l.startAngle=function(e){return arguments.length?(i=typeof e==`function`?e:uy(+e),l):i},l.endAngle=function(e){return arguments.length?(a=typeof e==`function`?e:uy(+e),l):a},l.padAngle=function(e){return arguments.length?(o=typeof e==`function`?e:uy(+e),l):o},l.context=function(e){return arguments.length?(s=e??null,l):s},l}Array.prototype.slice;function By(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Vy(e){this._context=e}Vy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Hy(e){return new Vy(e)}function Uy(e){return e[0]}function Wy(e){return e[1]}function Gy(e,t){var n=uy(!0),r=null,i=Hy,a=null,o=jy(s);e=typeof e==`function`?e:e===void 0?Uy:uy(e),t=typeof t==`function`?t:t===void 0?Wy:uy(t);function s(s){var c,l=(s=By(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:uy(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:uy(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:uy(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function Ky(e,t,n){var r=null,i=uy(!0),a=null,o=Hy,s=null,c=jy(l);e=typeof e==`function`?e:e===void 0?Uy:uy(+e),t=typeof t==`function`?t:uy(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?Wy:uy(+n);function l(l){var u,d,f,p=(l=By(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h)if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return Gy().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:uy(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:uy(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:uy(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:uy(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:uy(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:uy(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:uy(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var qy=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}};function Jy(e){return new qy(e,!0)}function Yy(e){return new qy(e,!1)}var Xy={draw(e,t){let n=_y(t/vy);e.moveTo(n,0),e.arc(0,0,n,0,by)}},Zy={draw(e,t){let n=_y(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Qy=_y(1/3),$y=Qy*2,eb={draw(e,t){let n=_y(t/$y),r=n*Qy;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},tb={draw(e,t){let n=_y(t),r=-n/2;e.rect(r,r,n,n)}},nb=.8908130915292852,rb=gy(vy/10)/gy(7*vy/10),ib=gy(by/10)*rb,ab=-py(by/10)*rb,ob={draw(e,t){let n=_y(t*nb),r=ib*n,i=ab*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){let a=by*t/5,o=py(a),s=gy(a);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}},sb=_y(3),cb={draw(e,t){let n=-_y(t/(sb*3));e.moveTo(0,n*2),e.lineTo(-sb*n,-n),e.lineTo(sb*n,-n),e.closePath()}},lb=-.5,ub=_y(3)/2,db=1/_y(12),fb=(db/2+1)*3,pb={draw(e,t){let n=_y(t/fb),r=n/2,i=n*db,a=r,o=n*db+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(lb*r-ub*i,ub*r+lb*i),e.lineTo(lb*a-ub*o,ub*a+lb*o),e.lineTo(lb*s-ub*c,ub*s+lb*c),e.lineTo(lb*r+ub*i,lb*i-ub*r),e.lineTo(lb*a+ub*o,lb*o-ub*a),e.lineTo(lb*s+ub*c,lb*c-ub*s),e.closePath()}};function mb(e,t){let n=null,r=jy(i);e=typeof e==`function`?e:uy(e||Xy),t=typeof t==`function`?t:uy(t===void 0?64:+t);function i(){let i;if(n||=i=r(),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+``||null}return i.type=function(t){return arguments.length?(e=typeof t==`function`?t:uy(t),i):e},i.size=function(e){return arguments.length?(t=typeof e==`function`?e:uy(+e),i):t},i.context=function(e){return arguments.length?(n=e??null,i):n},i}function hb(){}function gb(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function _b(e){this._context=e}_b.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:gb(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:gb(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function vb(e){return new _b(e)}function yb(e){this._context=e}yb.prototype={areaStart:hb,areaEnd:hb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:gb(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function bb(e){return new yb(e)}function xb(e){this._context=e}xb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:gb(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Sb(e){return new xb(e)}function Cb(e){this._context=e}Cb.prototype={areaStart:hb,areaEnd:hb,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function wb(e){return new Cb(e)}function Tb(e){return e<0?-1:1}function Eb(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Tb(a)+Tb(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Db(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Ob(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function kb(e){this._context=e}kb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ob(this,this._t0,Db(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Ob(this,Db(this,n=Eb(this,e,t)),n);break;default:Ob(this,this._t0,n=Eb(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function Ab(e){this._context=new jb(e)}(Ab.prototype=Object.create(kb.prototype)).point=function(e,t){kb.prototype.point.call(this,t,e)};function jb(e){this._context=e}jb.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function Mb(e){return new kb(e)}function Nb(e){return new Ab(e)}function Pb(e){this._context=e}Pb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=Fb(e),i=Fb(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Fb(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Ib(e){return new Pb(e)}function Lb(e,t){this._context=e,this._t=t}Lb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}this._x=e,this._y=t}};function Rb(e){return new Lb(e,.5)}function zb(e){return new Lb(e,0)}function Bb(e){return new Lb(e,1)}function Vb(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function Hb(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function Kee(e,t){return e[t]}function qee(e){let t=[];return t.key=e,t}function Jee(){var e=uy([]),t=Hb,n=Vb,r=Kee;function i(i){var a=Array.from(e.apply(this,arguments),qee),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=By(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:uy(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:uy(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?Hb:typeof e==`function`?e:uy(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??Vb,i):n},i}function Yee(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Vb(e,t)}}function Xee(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}Vb(e,t)}}function Zee(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,Vb(e,t)}}function Ub(e){return e===`__proto__`}function Wb(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e.includes(`.`)||e.includes(`[`)||e.includes(`]`)}}function Gb(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}function Kb(e){if(e==null)return``;if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(Kb).join(`,`);let t=String(e);return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function qb(e){if(Array.isArray(e))return e.map(Gb);if(typeof e==`symbol`)return[e];e=Kb(e);let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1;for(e.charCodeAt(0)===46&&(t.push(``),r++);r<n;){let s=e[r];a?s===`\\\\`&&r+1<n?(r++,i+=e[r]):s===a?a=``:i+=s:o?s===`\"`||s===`'`?a=s:s===`]`?(o=!1,t.push(i),i=``):i+=s:s===`[`?(o=!0,i&&=(t.push(i),``)):s===`.`?i&&=(t.push(i),``):i+=s,r++}return i&&t.push(i),t}function Jb(e,t,n){if(e==null)return n;switch(typeof t){case`string`:{if(Ub(t))return n;let r=e[t];return r===void 0?Wb(t)?Jb(e,qb(t),n):n:r}case`number`:case`symbol`:{typeof t==`number`&&(t=Gb(t));let r=e[t];return r===void 0?n:r}default:{if(Array.isArray(t))return Qee(e,t,n);if(t=Object.is(t?.valueOf(),-0)?`-0`:String(t),Ub(t))return n;let r=e[t];return r===void 0?n:r}}}function Qee(e,t,n){if(t.length===0)return n;let r=e;for(let e=0;e<t.length;e++){if(r==null||Ub(t[e]))return n;r=r[t[e]]}return r===void 0?n:r}var $ee=4;function Yb(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:$ee),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function Xb(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+Yb(i)+n},``)}var Zb=e=>e===0?0:e>0?1:-1,Qb=e=>typeof e==`number`&&e!=+e,$b=e=>typeof e==`string`&&e.indexOf(`%`)===e.length-1,X=e=>(typeof e==`number`||e instanceof Number)&&!Qb(e),ex=e=>X(e)||typeof e==`string`,ete=0,tx=e=>{var t=++ete;return`${e||``}${t}`},nx=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!X(e)&&typeof e!=`string`)return n;var i;if($b(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return Qb(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},rx=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++)if(!n[String(e[r])])n[String(e[r])]=!0;else return!0;return!1};function Z(e,t,n){return X(e)&&X(t)?Yb(e+n*(t-e)):t}function ix(e,t,n){if(!(!e||!e.length))return e.find(e=>e&&(typeof t==`function`?t(e):Jb(e,t))===n)}var tte=e=>{for(var t=e.length,n=0,r=0,i=0,a=0,o=1/0,s=-1/0,c=0,l=0,u=0;u<t;u++)c=e[u]?.cx||0,l=e[u]?.cy||0,n+=c,r+=l,i+=c*l,a+=c*c,o=Math.min(o,c),s=Math.max(s,c);var d=t*a===n*n?0:(t*i-n*r)/(t*a-n*n);return{xmin:o,xmax:s,a:d,b:(r-d*n)/t}},ax=e=>e==null,ox=e=>ax(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function sx(e){return e!=null}function cx(){}var nte=[`type`,`size`,`sizeType`];function lx(){return lx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lx.apply(null,arguments)}function ux(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ux(Object(n),!0).forEach(function(t){rte(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ux(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rte(e,t,n){return(t=ite(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ite(e){var t=ate(e,`string`);return typeof t==`symbol`?t:t+``}function ate(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ote(e,t){if(e==null)return{};var n,r,i=ste(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ste(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var fx={symbolCircle:Xy,symbolCross:Zy,symbolDiamond:eb,symbolSquare:tb,symbolStar:ob,symbolTriangle:cb,symbolWye:pb},cte=Math.PI/180,lte=e=>fx[`symbol${ox(e)}`]||Xy,ute=(e,t,n)=>{if(t===`area`)return e;switch(n){case`cross`:return 5*e*e/9;case`diamond`:return .5*e*e/Math.sqrt(3);case`square`:return e*e;case`star`:var r=18*cte;return 1.25*e*e*(Math.tan(r)-Math.tan(r*2)*Math.tan(r)**2);case`triangle`:return Math.sqrt(3)*e*e/4;case`wye`:return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},dte=(e,t)=>{fx[`symbol${ox(e)}`]=t},px=e=>{var{type:t=`circle`,size:n=64,sizeType:r=`area`}=e,i=dx(dx({},ote(e,nte)),{},{type:t,size:n,sizeType:r}),a=`circle`;typeof t==`string`&&(a=t);var o=()=>{var e=lte(a),t=mb().type(e).size(ute(n,r,a))();if(t!==null)return t},{className:s,cx:c,cy:l}=i,u=Zv(i);return X(c)&&X(l)&&X(n)?z.createElement(`path`,lx({},u,{className:J(`recharts-symbols`,s),transform:`translate(${c}, ${l})`,d:o()})):null};px.registerSymbol=dte;var mx=e=>`radius`in e&&`startAngle`in e&&`endAngle`in e,hx=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,z.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{Gv(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},fte=(e,t,n)=>r=>(e(t,n,r),null),gx=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];Gv(i)&&typeof a==`function`&&(r||={},r[i]=fte(a,t,n))}),r},pte=e=>Array.isArray(e)&&e.length>0;function _x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mte(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?_x(Object(n),!0).forEach(function(t){hte(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hte(e,t,n){return(t=gte(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gte(e){var t=_te(e,`string`);return typeof t==`symbol`?t:t+``}function _te(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vx(e,t){var n=mte({},e),r=t;return Object.keys(t).reduce((e,t)=>(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}function yx(){return yx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yx.apply(null,arguments)}function bx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bx(Object(n),!0).forEach(function(t){vte(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vte(e,t,n){return(t=yte(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yte(e){var t=bte(e,`string`);return typeof t==`symbol`?t:t+``}function bte(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Sx=32,xte={align:`center`,iconSize:14,inactiveColor:`#ccc`,layout:`horizontal`,verticalAlign:`middle`,labelStyle:{}};function Ste(e){if(typeof e==`object`&&e&&`strokeDasharray`in e)return String(e.strokeDasharray)}function Cte(e){var{data:t,iconType:n,inactiveColor:r}=e,i=Sx/2,a=Sx/6,o=Sx/3,s=t.inactive?r:t.color,c=n??t.type;if(c===`none`)return null;if(c===`plainline`)return z.createElement(`line`,{strokeWidth:4,fill:`none`,stroke:s,strokeDasharray:Ste(t.payload),x1:0,y1:i,x2:Sx,y2:i,className:`recharts-legend-icon`});if(c===`line`)return z.createElement(`path`,{strokeWidth:4,fill:`none`,stroke:s,d:`M0,${i}h${o}\n A${a},${a},0,1,1,${2*o},${i}\n H${Sx}M${2*o},${i}\n A${a},${a},0,1,1,${o},${i}`,className:`recharts-legend-icon`});if(c===`rect`)return z.createElement(`path`,{stroke:`none`,fill:s,d:`M0,${Sx/8}h${Sx}v${Sx*3/4}h${-Sx}z`,className:`recharts-legend-icon`});if(z.isValidElement(t.legendIcon)){var l=xx({},t);return delete l.legendIcon,z.cloneElement(t.legendIcon,l)}return z.createElement(px,{fill:s,cx:i,cy:i,size:Sx,sizeType:`diameter`,type:c})}function wte(e){var{payload:t,iconSize:n,layout:r,formatter:i,inactiveColor:a,iconType:o,labelStyle:s}=e,c={x:0,y:0,width:Sx,height:Sx},l={display:r===`horizontal`?`inline-block`:`block`,marginRight:10},u={display:`inline-block`,verticalAlign:`middle`,marginRight:4};return t.map((t,r)=>{var d=t.formatter||i,f=J({\"recharts-legend-item\":!0,[`legend-item-${r}`]:!0,inactive:t.inactive});if(t.type===`none`)return null;var p=typeof s==`object`?xx({},s):{};p.color=t.inactive?a:p.color||t.color;var m=d?d(t.value,t,r):t.value;return z.createElement(`li`,yx({className:f,style:l,key:`legend-item-${r}`},gx(e,t,r)),z.createElement(ry,{width:n,height:n,viewBox:c,style:u,\"aria-label\":`${t.value} legend icon`},z.createElement(Cte,{data:t,iconType:o,inactiveColor:a})),z.createElement(`span`,{className:`recharts-legend-item-text`,style:p},m))})}var Tte=e=>{var t=vx(e,xte),{payload:n,layout:r,align:i}=t;if(!n||!n.length)return null;var a={padding:0,margin:0,textAlign:r===`horizontal`?i:`left`};return z.createElement(`ul`,{className:`recharts-default-legend`,style:a},z.createElement(wte,yx({},t,{payload:n})))};function Ete(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i,r,e);n.has(a)||n.set(a,i)}return Array.from(n.values())}function Dte(e,t){return function(...n){return e.apply(this,n.slice(0,t))}}function Cx(e){return e}function Ote(e){return function(t){return Jb(t,e)}}function wx(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function Tx(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Ex(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Dx(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var kte=`[object RegExp]`,Ox=`[object String]`,kx=`[object Number]`,Ax=`[object Boolean]`,jx=`[object Arguments]`,Ate=`[object Symbol]`,jte=`[object Date]`,Mte=`[object Map]`,Nte=`[object Set]`,Pte=`[object Array]`,Fte=`[object ArrayBuffer]`,Ite=`[object Object]`,Lte=`[object DataView]`,Rte=`[object Uint8Array]`,zte=`[object Uint8ClampedArray]`,Bte=`[object Uint16Array]`,Vte=`[object Uint32Array]`,Hte=`[object Int8Array]`,Ute=`[object Int16Array]`,Wte=`[object Int32Array]`,Gte=`[object Float32Array]`,Kte=`[object Float64Array]`,Mx=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function Nx(e){return Mx.Buffer!==void 0&&Mx.Buffer.isBuffer(e)}function Px(e,t){return Fx(e,void 0,e,new Map,t)}function Fx(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(wx(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=Fx(e[a],a,n,r,i);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[a,o]of e)t.set(a,Fx(o,a,n,r,i));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let a of e)t.add(Fx(a,void 0,n,r,i));return t}if(Nx(e))return e.subarray();if(Tx(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=Fx(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),Ix(t,e,n,r,i),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),Ix(t,e,n,r,i),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),Ix(t,e,n,r,i),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,Ix(t,e,n,r,i),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),Ix(t,e,n,r,i),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),Ix(t,e,n,r,i),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),Ix(t,e,n,r,i),t}if(typeof e==`object`&&Lx(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),Ix(t,e,n,r,i),t}return e}function Ix(e,t,n=e,r,i){let a=[...Object.keys(t),...Ex(t)];for(let o=0;o<a.length;o++){let s=a[o],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=Fx(t[s],s,n,r,i))}}function Lx(e){switch(Dx(e)){case jx:case Pte:case Fte:case Lte:case Ax:case jte:case Gte:case Kte:case Hte:case Ute:case Wte:case Mte:case kx:case Ite:case kte:case Nte:case Ox:case Ate:case Rte:case zte:case Bte:case Vte:return!0;default:return!1}}function Rx(e){return Fx(e,void 0,e,new Map,void 0)}function zx(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Bx(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}function Vx(e,t,n){return typeof n==`function`?Hx(e,t,function e(t,r,i,a,o,s){let c=n(t,r,i,a,o,s);return c===void 0?Hx(t,r,e,s):!!c},new Map):Vx(e,t,()=>void 0)}function Hx(e,t,n,r){if(t===e)return!0;switch(typeof t){case`object`:return Ux(e,t,n,r);case`function`:return Object.keys(t).length>0?Hx(e,{...t},n,r):zx(e,t);default:return Bx(e)?typeof t==`string`?t===``:!0:zx(e,t)}}function Ux(e,t,n,r){if(t==null)return!0;if(Array.isArray(t))return Gx(e,t,n,r);if(t instanceof Map)return Wx(e,t,n,r);if(t instanceof Set)return Kx(e,t,n,r);let i=Object.keys(t);if(e==null||wx(e))return i.length===0;if(i.length===0)return!0;if(r?.has(t))return r.get(t)===e;r?.set(t,e);try{for(let a=0;a<i.length;a++){let o=i[a];if(!wx(e)&&!(o in e)||t[o]===void 0&&e[o]!==void 0||t[o]===null&&e[o]!==null||!n(e[o],t[o],o,e,t,r))return!1}return!0}finally{r?.delete(t)}}function Wx(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries())if(n(e.get(i),a,i,e,t,r)===!1)return!1;return!0}function Gx(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1;if(n(l,o,a,e,t,r)&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function Kx(e,t,n,r){return t.size===0?!0:e instanceof Set?Gx([...e],[...t],n,r):!1}function qx(e,t){return Vx(e,t,()=>void 0)}function Jx(e){return e=Rx(e),t=>qx(t,e)}function Yx(e,t){return Px(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(Dx(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),Ix(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case kx:case Ox:case Ax:{let t=new e.constructor(e?.valueOf());return Ix(t,e),t}case jx:{let t={};return Ix(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function Xx(e){return Yx(e)}var Zx=/^(?:0|[1-9]\\d*)$/;function Qx(e,t=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<t;case`symbol`:return!1;case`string`:return Zx.test(e)}}function $x(e){return typeof e==`object`&&!!e&&Dx(e)===`[object Arguments]`}function eS(e,t){let n;if(n=Array.isArray(t)?t:typeof t==`string`&&Wb(t)&&e?.[t]==null?qb(t):[t],n.length===0)return!1;let r=e;for(let e=0;e<n.length;e++){let t=n[e];if((r==null||!Object.hasOwn(r,t))&&!((Array.isArray(r)||$x(r))&&Qx(t)&&t<r.length))return!1;r=r[t]}return!0}function tS(e,t){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=Gb(e);break}return t=Xx(t),function(n){let r=Jb(n,e);return r===void 0?eS(n,e):t===void 0?r===void 0:qx(r,t)}}function nS(e){if(e==null)return Cx;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?tS(e[0],e[1]):Jx(e);case`string`:case`symbol`:case`number`:return Ote(e)}}function rS(e){return Number.isSafeInteger(e)&&e>=0}function iS(e){return e!=null&&typeof e!=`function`&&rS(e.length)}function aS(e){return typeof e==`object`&&!!e}function oS(e){return aS(e)&&iS(e)}function sS(e,t=Cx){return oS(e)?Ete(Array.from(e),Dte(nS(t),1)):[]}function cS(e,t,n){return t===!0?sS(e,n):typeof t==`function`?sS(e,t):e}var lS=s((e=>{var t=p();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),uS=s(((e,t)=>{t.exports=lS()})),dS=s((e=>{var t=p(),n=uS();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),fS=s(((e,t)=>{t.exports=dS()})),pS=(0,z.createContext)(null),mS=fS(),hS=e=>e,gS=()=>{var e=(0,z.useContext)(pS);return e?e.store.dispatch:hS},_S=()=>{},vS=()=>_S,yS=(e,t)=>e===t;function Q(e){var t=(0,z.useContext)(pS),n=(0,z.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:_S,[t,e]);return(0,mS.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:vS,t?t.store.getState:_S,t?t.store.getState:_S,n,yS)}function bS(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function xS(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function SS(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var CS=e=>Array.isArray(e)?e:[e];function wS(e){let t=Array.isArray(e[0])?e[0]:e;return SS(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function TS(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var ES=class{constructor(e){this.value=e}deref(){return this.value}},DS=typeof WeakRef<`u`?WeakRef:ES,OS=0,kS=1;function AS(){return{s:OS,v:void 0,o:null,p:null}}function jS(e,t={}){let n=AS(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=AS(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=AS(),e.set(n,t)):t=r}}let s=t,c;if(t.s===kS)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=i?.deref?.()??i;e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new DS(c):c}return s.s=kS,s.v=c,c}return o.clearCache=()=>{n=AS(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function MS(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),bS(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=jS,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=CS(c),p=CS(u),m=wS(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=TS(m,arguments);return i=h.apply(null,e),i},...p);return Object.assign(g,{resultFunc:o,memoizedResultFunc:h,dependencies:m,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var $=MS(jS),NS=Object.assign((e,t=$)=>{xS(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>NS});function PS(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}function FS(e,t,n){return Bx(n)&&(typeof t==`number`&&iS(n)&&Qx(t)&&t<n.length||typeof t==`string`&&t in n)?zx(n[t],e):!1}function IS(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}var LS=(e,t,n)=>{if(e!==t){let r=IS(e),i=IS(t);if(r===i&&r===0){if(e<t)return n===`desc`?1:-1;if(e>t)return n===`desc`?-1:1}return n===`desc`?i-r:r-i}return 0};function RS(e){return typeof e==`symbol`||e instanceof Symbol}var zS=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,BS=/^\\w*$/;function VS(e,t){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||RS(e)?!0:typeof e==`string`&&(BS.test(e)||!zS.test(e))||t!=null&&Object.hasOwn(t,e)}function HS(e,t,n,r){if(e==null)return[];n=r?void 0:n,Array.isArray(e)||(e=Object.values(e)),Array.isArray(t)||(t=t==null?[null]:[t]),t.length===0&&(t=[null]),Array.isArray(n)||(n=n==null?[]:[n]),n=n.map(e=>String(e));let i=(e,t)=>{let n=e;for(let e=0;e<t.length&&n!=null;++e)n=n[t[e]];return n},a=(e,t)=>t==null||e==null?t:typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:i(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?i(t,e):typeof t==`object`?t[e]:t,o=t.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||VS(e)?e:{key:e,path:qb(e)}));return e.map(e=>({original:e,criteria:o.map(t=>a(t,e))})).slice().sort((e,t)=>{for(let r=0;r<o.length;r++){let i=LS(e.criteria[r],t.criteria[r],n[r]);if(i!==0)return i}return 0}).map(e=>e.original)}function US(e,...t){let n=t.length;return n>1&&FS(e,t[0],t[1])?t=[]:n>2&&FS(t[0],t[1],t[2])&&(t=[t[0]]),HS(e,PS(t),[`asc`])}var WS=e=>e.legend.settings,GS=e=>e.legend.size,KS=$([e=>e.legend.payload,WS],(e,t)=>{var{itemSorter:n}=t,r=e.flat(1);return n?US(r,n):r});function qS(){return Q(KS)}var JS=1;function YS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],[t,n]=(0,z.useState)({height:0,left:0,top:0,width:0});return[t,(0,z.useCallback)(e=>{if(e!=null){var r=e.getBoundingClientRect(),i={height:r.height,left:r.left,top:r.top,width:r.width};(Math.abs(i.height-t.height)>JS||Math.abs(i.left-t.left)>JS||Math.abs(i.top-t.top)>JS||Math.abs(i.width-t.width)>JS)&&n({height:i.height,left:i.left,top:i.top,width:i.width})}},[t.width,t.height,t.top,t.left,...e])]}function XS(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var ZS=typeof Symbol==`function`&&Symbol.observable||`@@observable`,QS=()=>Math.random().toString(36).substring(7).split(``).join(`.`),$S={INIT:`@@redux/INIT${QS()}`,REPLACE:`@@redux/REPLACE${QS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${QS()}`};function eC(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function tC(e,t,n){if(typeof e!=`function`)throw Error(XS(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(XS(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(XS(1));return n(tC)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(XS(3));return i}function d(e){if(typeof e!=`function`)throw Error(XS(4));if(c)throw Error(XS(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(XS(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!eC(e))throw Error(XS(7));if(e.type===void 0)throw Error(XS(8));if(typeof e.type!=`string`)throw Error(XS(17));if(c)throw Error(XS(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(XS(10));r=e,f({type:$S.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(XS(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[ZS](){return this}}}return f({type:$S.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[ZS]:m}}function nC(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:$S.INIT})===void 0)throw Error(XS(12));if(n(void 0,{type:$S.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(XS(13))})}function rC(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{nC(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(XS(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function iC(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function aC(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(XS(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=iC(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function oC(e){return eC(e)&&`type`in e&&typeof e.type==`string`}var sC=Symbol.for(`immer-nothing`),cC=Symbol.for(`immer-draftable`),lC=Symbol.for(`immer-state`);function uC(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var dC=Object,fC=dC.getPrototypeOf,pC=`constructor`,mC=`prototype`,hC=`configurable`,gC=`enumerable`,_C=`writable`,vC=`value`,yC=e=>!!e&&!!e[lC];function bC(e){return e?CC(e)||AC(e)||!!e[cC]||!!e[pC]?.[cC]||jC(e)||MC(e):!1}var xC=dC[mC][pC].toString(),SC=new WeakMap;function CC(e){if(!e||!NC(e))return!1;let t=fC(e);if(t===null||t===dC[mC])return!0;let n=dC.hasOwnProperty.call(t,pC)&&t[pC];if(n===Object)return!0;if(!PC(n))return!1;let r=SC.get(n);return r===void 0&&(r=Function.toString.call(n),SC.set(n,r)),r===xC}function wC(e,t,n=!0){TC(e)===0?(n?Reflect.ownKeys(e):dC.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function TC(e){let t=e[lC];return t?t.type_:AC(e)?1:jC(e)?2:MC(e)?3:0}var EC=(e,t,n=TC(e))=>n===2?e.has(t):dC[mC].hasOwnProperty.call(e,t),DC=(e,t,n=TC(e))=>n===2?e.get(t):e[t],OC=(e,t,n,r=TC(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function kC(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var AC=Array.isArray,jC=e=>e instanceof Map,MC=e=>e instanceof Set,NC=e=>typeof e==`object`,PC=e=>typeof e==`function`,FC=e=>typeof e==`boolean`;function IC(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var LC=e=>e.copy_||e.base_,RC=e=>e.modified_?e.copy_:e.base_;function zC(e,t){if(jC(e))return new Map(e);if(MC(e))return new Set(e);if(AC(e))return Array[mC].slice.call(e);let n=CC(e);if(t===!0||t===`class_only`&&!n){let t=dC.getOwnPropertyDescriptors(e);delete t[lC];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[_C]===!1&&(a[_C]=!0,a[hC]=!0),(a.get||a.set)&&(t[i]={[hC]:!0,[_C]:!0,[gC]:a[gC],[vC]:e[i]})}return dC.create(fC(e),t)}else{let t=fC(e);if(t!==null&&n)return{...e};let r=dC.create(t);return dC.assign(r,e)}}function BC(e,t=!1){return UC(e)||yC(e)||!bC(e)?e:(TC(e)>1&&dC.defineProperties(e,{set:HC,add:HC,clear:HC,delete:HC}),dC.freeze(e),t&&wC(e,(e,t)=>{BC(t,!0)},!1),e)}function VC(){uC(2)}var HC={[vC]:VC};function UC(e){return e===null||!NC(e)?!0:dC.isFrozen(e)}var WC=`MapSet`,GC=`Patches`,KC=`ArrayMethods`,qC={};function JC(e){let t=qC[e];return t||uC(0,e),t}var YC=e=>!!qC[e],XC,ZC=()=>XC,QC=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:YC(WC)?JC(WC):void 0,arrayMethodsPlugin_:YC(KC)?JC(KC):void 0});function $C(e,t){t&&(e.patchPlugin_=JC(GC),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ew(e){tw(e),e.drafts_.forEach(rw),e.drafts_=null}function tw(e){e===XC&&(XC=e.parent_)}var nw=e=>XC=QC(XC,e);function rw(e){let t=e[lC];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function iw(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[lC].modified_&&(ew(t),uC(4)),bC(e)&&(e=aw(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[lC].base_,e,t)}else e=aw(t,n);return ow(t,e,!0),ew(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===sC?void 0:e}function aw(e,t){if(UC(t))return t;let n=t[lC];if(!n)return mw(t,e.handledSet_,e);if(!cw(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);fw(n,e)}return n.copy_}function ow(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&BC(t,n)}function sw(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var cw=(e,t)=>e.scope_===t,lw=[];function uw(e,t,n,r){let i=LC(e),a=e.type_;if(r!==void 0&&DC(i,r,a)===t){OC(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;wC(i,(e,n)=>{if(yC(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??lw;for(let e of o)OC(i,e,n,a)}function dw(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!cw(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=RC(i);uw(e,i.draft_??i,a,n),fw(i,r)})}function fw(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}sw(e)}}function pw(e,t,n){let{scope_:r}=e;if(yC(n)){let i=n[lC];cw(i,r)&&i.callbacks_.push(function(){Sw(e),uw(e,n,RC(i),t)})}else bC(n)&&e.callbacks_.push(function(){let i=LC(e);e.type_===3?i.has(n)&&mw(n,r.handledSet_,r):DC(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&mw(DC(e.copy_,t,e.type_),r.handledSet_,r)})}function mw(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||yC(e)||t.has(e)||!bC(e)||UC(e)?e:(t.add(e),wC(e,(r,i)=>{if(yC(i)){let t=i[lC];cw(t,n)&&(OC(e,r,RC(t),e.type_),sw(t))}else bC(i)&&mw(i,t,n)}),e)}function hw(e,t){let n=AC(e),r={type_:+!!n,scope_:t?t.scope_:ZC(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=gw;n&&(i=[r],a=_w);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var gw={get(e,t){if(t===lC)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=LC(e);if(!EC(i,t,e.type_))return yw(e,i,t);let a=i[t];if(e.finalized_||!bC(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&IC(t))return a;if(a===vw(e.base_,t)){Sw(e);let n=e.type_===1?+t:t,r=ww(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in LC(e)},ownKeys(e){return Reflect.ownKeys(LC(e))},set(e,t,n){let r=bw(LC(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=vw(LC(e),t),i=r?.[lC];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(kC(n,r)&&(n!==void 0||EC(e.base_,t,e.type_)))return!0;Sw(e),xw(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),pw(e,t,n),!0)},deleteProperty(e,t){return Sw(e),vw(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),xw(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=LC(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[_C]:!0,[hC]:e.type_!==1||t!==`length`,[gC]:r[gC],[vC]:n[t]}},defineProperty(){uC(11)},getPrototypeOf(e){return fC(e.base_)},setPrototypeOf(){uC(12)}},_w={};for(let e in gw){let t=gw[e];_w[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}_w.deleteProperty=function(e,t){return _w.set.call(this,e,t,void 0)},_w.set=function(e,t,n){return gw.set.call(this,e[0],t,n,e[0])};function vw(e,t){let n=e[lC];return(n?LC(n):e)[t]}function yw(e,t,n){let r=bw(t,n);return r?vC in r?r[vC]:r.get?.call(e.draft_):void 0}function bw(e,t){if(!(t in e))return;let n=fC(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=fC(n)}}function xw(e){e.modified_||(e.modified_=!0,e.parent_&&xw(e.parent_))}function Sw(e){e.copy_||=(e.assigned_=new Map,zC(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Cw=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(PC(e)&&!PC(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}PC(t)||uC(6),n!==void 0&&!PC(n)&&uC(7);let r;if(bC(e)){let i=nw(this),a=ww(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?ew(i):tw(i)}return $C(i,n),iw(r,i)}else if(!e||!NC(e)){if(r=t(e),r===void 0&&(r=e),r===sC&&(r=void 0),this.autoFreeze_&&BC(r,!0),n){let t=[],i=[];JC(GC).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else uC(1,e)},this.produceWithPatches=(e,t)=>{if(PC(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},FC(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),FC(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),FC(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){bC(e)||uC(8),yC(e)&&(e=Tw(e));let t=nw(this),n=ww(t,e,void 0);return n[lC].isManual_=!0,tw(t),n}finishDraft(e,t){let n=e&&e[lC];(!n||!n.isManual_)&&uC(9);let{scope_:r}=n;return $C(r,t),iw(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=JC(GC).applyPatches_;return yC(e)?r(e,t):this.produce(e,e=>r(e,t))}};function ww(e,t,n,r){let[i,a]=jC(t)?JC(WC).proxyMap_(t,n):MC(t)?JC(WC).proxySet_(t,n):hw(t,n);return(n?.scope_??ZC()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?dw(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Tw(e){return yC(e)||uC(10,e),Ew(e)}function Ew(e){if(!bC(e)||UC(e))return e;let t=e[lC],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=zC(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=zC(e,!0);return wC(n,(e,t)=>{OC(n,e,Ew(t))},r),t&&(t.finalized_=!1),n}var Dw=new Cw().produce;function Ow(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var kw=Ow(),Aw=Ow,jw=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?iC:iC.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Mw(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(VT(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>oC(t)&&t.type===e,n}var Nw=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function Pw(e){return bC(e)?Dw(e,()=>{}):e}function Fw(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function Iw(e){return typeof e==`boolean`}var Lw=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new Nw;return t&&(Iw(t)?a.push(kw):a.push(Aw(t.extraArgument))),a},Rw=`RTK_autoBatch`,zw=()=>e=>({payload:e,meta:{[Rw]:!0}}),Bw=e=>t=>{setTimeout(t,e)},Vw=(e,t)=>n=>{let r=!1,i=()=>{r||(r=!0,cancelAnimationFrame(a),clearTimeout(o),n())},a=e(i),o=setTimeout(i,t)},Hw=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?Vw(window.requestAnimationFrame,100):Bw(10):e.type===`callback`?e.queueNotification:Bw(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[Rw],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},Uw=e=>function(t){let{autoBatch:n=!0}=t??{},r=new Nw(e);return n&&r.push(Hw(typeof n==`object`?n:void 0)),r};function Ww(e){let t=Lw(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(eC(n))c=rC(n);else throw Error(VT(1));let l;l=typeof r==`function`?r(t):t();let u=iC;i&&(u=jw({trace:!1,...typeof i==`object`&&i}));let d=Uw(aC(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return tC(c,o,p)}function Gw(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(VT(28));if(r in t)throw Error(VT(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function Kw(e){return typeof e==`function`}function qw(e,t){let[n,r,i]=Gw(t),a;if(Kw(e))a=()=>Pw(e());else{let t=Pw(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n)if(yC(e)){let r=n(e,t);return r===void 0?e:r}else if(bC(e))return Dw(e,e=>n(e,t));else{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}return e},e)}return o.getInitialState=a,o}var Jw=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,Yw=(e=21)=>{let t=``,n=e;for(;n--;)t+=Jw[Math.random()*64|0];return t},Xw=Symbol.for(`rtk-slice-createasyncthunk`);function Zw(e,t){return`${e}/${t}`}function Qw({creators:e}={}){let t=e?.asyncThunk?.[Xw];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(VT(11));let i=(typeof e.reducers==`function`?e.reducers(tT()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(VT(12));if(n in o.sliceCaseReducersByType)throw Error(VT(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:Zw(n,r),createNotation:typeof e.reducers==`function`};rT(a)?aT(o,a,s,t):nT(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?Gw(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return qw(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=Fw(d,r,m)),i}function i(t=l){return Fw(Fw(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=$w(a,t,()=>Fw(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function $w(e,t,n,r){function i(i,...a){let o=t(i);return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var eT=Qw();function tT(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function nT({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!iT(r))throw Error(VT(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?Mw(e,o):Mw(e))}function rT(e){return e._reducerDefinitionType===`asyncThunk`}function iT(e){return e._reducerDefinitionType===`reducerWithPrepare`}function aT({type:e,reducerName:t},n,r,i){if(!i)throw Error(VT(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||oT,pending:s||oT,rejected:c||oT,settled:l||oT})}function oT(){}var sT=`task`,cT=`listener`,lT=`completed`,uT=`cancelled`,dT=`task-${uT}`,fT=`task-${lT}`,pT=`${cT}-${uT}`,mT=`${cT}-${lT}`,hT=class{constructor(e){this.code=e,this.message=`${sT} ${uT} (reason: ${e})`}code;name=`TaskAbortError`;message},gT=(e,t)=>{if(typeof e!=`function`)throw TypeError(VT(32))},_T=()=>{},vT=(e,t=_T)=>(e.catch(t),e),yT=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),bT=e=>{if(e.aborted)throw new hT(e.reason)};function xT(e,t){let n=_T;return new Promise((r,i)=>{let a=()=>i(new hT(e.reason));if(e.aborted){a();return}n=yT(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=_T})}var ST=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof hT?`cancelled`:`rejected`,error:e}}finally{t?.()}},CT=e=>t=>vT(xT(e,t).then(t=>(bT(e),t))),wT=e=>{let t=CT(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:TT}=Object,ET={},DT=`listenerMiddleware`,OT=(e,t)=>{let n=t=>yT(e,()=>t.abort(e.reason));return(r,i)=>{gT(r,`taskExecutor`);let a=new AbortController;n(a);let o=ST(async()=>{bT(e),bT(a.signal);let t=await r({pause:CT(a.signal),delay:wT(a.signal),signal:a.signal});return bT(a.signal),t},()=>a.abort(fT));return i?.autoJoin&&t.push(o.catch(_T)),{result:CT(e)(o),cancel(){a.abort(dT)}}}},kT=(e,t)=>{let n=async(n,r)=>{bT(t);let i=()=>{},a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})];r!=null&&a.push(new Promise(e=>setTimeout(e,r,null)));try{let e=await xT(t,Promise.race(a));return bT(t),e}finally{i()}};return((e,t)=>vT(n(e,t)))},AT=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=Mw(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(VT(21));return gT(a,`options.listener`),{predicate:i,type:t,effect:a}},jT=TT(e=>{let{type:t,predicate:n,effect:r}=AT(e);return{id:Yw(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(VT(22))}}},{withTypes:()=>jT}),MT=(e,t)=>{let{type:n,effect:r,predicate:i}=AT(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},NT=e=>{e.pending.forEach(e=>{e.abort(pT)})},PT=(e,t)=>()=>{for(let e of t.keys())NT(e);e.clear()},FT=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},IT=TT(Mw(`${DT}/add`),{withTypes:()=>IT}),LT=Mw(`${DT}/removeAll`),RT=TT(Mw(`${DT}/remove`),{withTypes:()=>RT}),zT=(...e)=>{console.error(`${DT}/error`,...e)},BT=(e={})=>{let t=new Map,n=new Map,r=e=>{let t=n.get(e)??0;n.set(e,t+1)},i=e=>{let t=n.get(e)??1;t===1?n.delete(e):n.set(e,t-1)},{extra:a,onError:o=zT}=e;gT(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&NT(e)}),c=(e=>s(MT(t,e)??jT(e)));TT(c,{withTypes:()=>c});let l=e=>{let n=MT(t,e);return n&&(n.unsubscribe(),e.cancelActive&&NT(n)),!!n};TT(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=kT(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,TT({},s,{getOriginalState:l,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:wT(u.signal),pause:CT(u.signal),extra:a,signal:u.signal,fork:OT(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(pT),n.delete(e))})},cancel:()=>{u.abort(pT),e.pending.delete(u)},throwIfCancelled:()=>{bT(u.signal)}})))}catch(e){e instanceof hT||FT(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(mT),i(e),e.pending.delete(u)}},d=PT(t,n);return{middleware:e=>n=>r=>{if(!oC(r))return n(r);if(IT.match(r))return c(r.payload);if(LT.match(r)){d();return}if(RT.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===ET)throw Error(VT(23));return i},s;try{if(s=n(r),t.size>0){let n=e.getState(),s=Array.from(t.values());for(let t of s){let s=!1;try{s=t.predicate(r,n,i)}catch(e){s=!1,FT(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=ET}return s},startListening:c,stopListening:l,clearListeners:d}};function VT(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var HT=eT({name:`chartLayout`,initialState:{layoutType:`horizontal`,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top??0,e.margin.right=t.payload.right??0,e.margin.bottom=t.payload.bottom??0,e.margin.left=t.payload.left??0},setScale(e,t){e.scale=t.payload}}}),{setMargin:UT,setLayout:WT,setChartSize:GT,setScale:KT}=HT.actions,qT=HT.reducer;function JT(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}function YT(e){return Number.isFinite(e)}function XT(e){return typeof e==`number`&&e>0&&Number.isFinite(e)}function ZT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function QT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ZT(Object(n),!0).forEach(function(t){qte(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZT(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qte(e,t,n){return(t=Jte(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jte(e){var t=Yte(e,`string`);return typeof t==`symbol`?t:t+``}function Yte(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function $T(e,t,n){return ax(e)||ax(t)?n:ex(t)?Jb(e,t,n):typeof t==`function`?t(e):n}var Xte=(e,t,n)=>{if(t&&n){var{width:r,height:i}=n,{align:a,verticalAlign:o,layout:s}=t;if((s===`vertical`||s===`horizontal`&&o===`middle`)&&a!==`center`&&X(e[a]))return QT(QT({},e),{},{[a]:e[a]+(r||0)});if((s===`horizontal`||s===`vertical`&&a===`center`)&&o!==`middle`&&X(e[o]))return QT(QT({},e),{},{[o]:e[o]+(i||0)})}return e},eE=(e,t)=>e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`,tE=(e,t,n,r)=>{if(r)return e.map(e=>e.coordinate);var i,a,o=e.map(e=>(e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate));return i||o.push(t),a||o.push(n),o},nE=(e,t,n)=>{if(!e)return null;var{duplicateDomain:r,type:i,range:a,scale:o,realScaleType:s,isCategorical:c,categoricalDomain:l,tickCount:u,ticks:d,niceTicks:f,axisType:p}=e;if(!o)return null;var m=s===`scaleBand`&&o.bandwidth?o.bandwidth()/2:2,h=(t||n)&&i===`category`&&o.bandwidth?o.bandwidth()/m:0;return h=p===`angleAxis`&&a&&a.length>=2?Zb(a[0]-a[1])*2*h:h,t&&(d||f)?(d||f||[]).map((e,t)=>{var n=r?r.indexOf(e):e,i=o.map(n);return YT(i)?{coordinate:i+h,value:e,offset:h,index:t}:null}).filter(sx):c&&l?l.map((e,t)=>{var n=o.map(e);return YT(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(sx):o.ticks&&!n&&u!=null?o.ticks(u).map((e,t)=>{var n=o.map(e);return YT(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(sx):o.domain().map((e,t)=>{var n=o.map(e);return YT(n)?{coordinate:n+h,value:r?r[e]:e,index:t,offset:h}:null}).filter(sx)},rE=(e,t)=>{if(!t||t.length!==2||!X(t[0])||!X(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!X(e[0])||e[0]<n)&&(i[0]=n),(!X(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},Zte={sign:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0,o=0;o<t;++o){var s=e[o]?.[r];if(s!=null){var c=s[1],l=s[0],u=Qb(c)?l:c;u>=0?(s[0]=i,i+=u,s[1]=i):(s[0]=a,a+=u,s[1]=a)}}}},expand:Yee,none:Vb,silhouette:Xee,wiggle:Zee,positive:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0;a<t;++a){var o=e[a]?.[r];if(o!=null){var s=Qb(o[1])?o[0]:o[1];s>=0?(o[0]=i,i+=s,o[1]=i):(o[0]=0,o[1]=0)}}}}},Qte=(e,t,n)=>{var r=Zte[n]??Vb,i=Jee().keys(t).value((e,t)=>Number($T(e,t,0))).order(Hb).offset(r)(e);return i.forEach((n,r)=>{n.forEach((n,i)=>{var a=$T(e[i],t[r],0);Array.isArray(a)&&a.length===2&&X(a[0])&&X(a[1])&&(n[0]=a[0],n[1]=a[1])})}),i};function iE(e){return e==null?void 0:String(e)}function aE(e){var{axis:t,ticks:n,bandSize:r,entry:i,index:a,dataKey:o}=e;if(t.type===`category`){if(!t.allowDuplicatedCategory&&t.dataKey&&!ax(i[t.dataKey])){var s=ix(n,`value`,i[t.dataKey]);if(s)return s.coordinate+r/2}return n!=null&&n[a]?n[a].coordinate+r/2:null}var c=$T(i,ax(o)?t.dataKey:o),l=t.scale.map(c);return X(l)?l:null}var oE=e=>{var{axis:t,ticks:n,offset:r,bandSize:i,entry:a,index:o}=e;if(t.type===`category`)return n[o]?n[o].coordinate+r:null;var s=$T(a,t.dataKey,t.scale.domain()[o]);if(ax(s))return null;var c=t.scale.map(s);return X(c)?c-i/2+r:null},sE=e=>{var{numericAxis:t}=e,n=t.scale.domain();if(t.type===`number`){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},$te=e=>{var t=e.flat(2).filter(X);return[Math.min(...t),Math.max(...t)]},ene=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],tne=(e,t,n)=>{if(e!=null)return ene(Object.keys(e).reduce((r,i)=>{var a=e[i];if(!a)return r;var{stackedData:o}=a,s=o.reduce((e,r)=>{var i=$te(JT(r,t,n));return!YT(i[0])||!YT(i[1])?e:[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(s[0],r[0]),Math.max(s[1],r[1])]},[1/0,-1/0]))},cE=/^dataMin[\\s]*-[\\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,lE=/^dataMax[\\s]*\\+[\\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,uE=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=US(t,e=>e.coordinate),a=1/0,o=1,s=i.length;o<s;o++){var c=i[o],l=i[o-1];a=Math.min((c?.coordinate||0)-(l?.coordinate||0),a)}return a===1/0?0:a}return n?void 0:0};function dE(e){var{tooltipEntrySettings:t,dataKey:n,payload:r,value:i,name:a}=e;return QT(QT({},t),{},{dataKey:n,payload:r,value:i,name:a})}function fE(e,t){if(e)return String(e);if(typeof t==`string`)return t}var nne=(e,t)=>{if(t===`horizontal`)return e.relativeX;if(t===`vertical`)return e.relativeY},rne=(e,t)=>t===`centric`?e.angle:e.radius,pE=e=>e.layout.width,mE=e=>e.layout.height,ine=e=>e.layout.scale,hE=e=>e.layout.margin,gE=$(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),_E=$(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),ane=[`#1890FF`,`#66B5FF`,`#41D9C7`,`#2FC25B`,`#6EDB8F`,`#9AE65C`,`#FACC14`,`#E6965C`,`#57AD71`,`#223273`,`#738AE6`,`#7564CC`,`#8543E0`,`#A877ED`,`#5C8EE6`,`#13C2C2`,`#70E0E0`,`#5CA3E6`,`#3436C7`,`#8082FF`,`#DD81E6`,`#F04864`,`#FA7D92`,`#D598D9`],vE=`data-recharts-item-index`,yE=`data-recharts-item-id`;function bE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bE(Object(n),!0).forEach(function(t){one(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function one(e,t,n){return(t=sne(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sne(e){var t=cne(e,`string`);return typeof t==`symbol`?t:t+``}function cne(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var lne=e=>e.brush.height;function une(e){return _E(e).reduce((e,t)=>t.orientation===`left`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function dne(e){return _E(e).reduce((e,t)=>t.orientation===`right`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function fne(e){return gE(e).reduce((e,t)=>t.orientation===`top`&&!t.mirror&&!t.hide?e+t.height:e,0)}function pne(e){return gE(e).reduce((e,t)=>t.orientation===`bottom`&&!t.mirror&&!t.hide?e+t.height:e,0)}var SE=$([pE,mE,hE,lne,une,dne,fne,pne,WS,GS],(e,t,n,r,i,a,o,s,c,l)=>{var u={left:(n.left||0)+i,right:(n.right||0)+a},d=xE(xE({},{top:(n.top||0)+o,bottom:(n.bottom||0)+s}),u),f=d.bottom;d.bottom+=r,d=Xte(d,c,l);var p=e-d.left-d.right,m=t-d.top-d.bottom;return xE(xE({brushBottom:f},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),mne=$(SE,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),CE=$(pE,mE,(e,t)=>({x:0,y:0,width:e,height:t})),hne=(0,z.createContext)(null),wE=()=>(0,z.useContext)(hne)!=null,TE=e=>e.brush,EE=$([TE,SE,hE],(e,t,n)=>({height:e.height,x:X(e.x)?e.x:t.left,y:X(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:X(e.width)?e.width:t.width}));function gne(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}function _ne(e,t=0,n={}){typeof n!=`object`&&(n={});let{leading:r=!1,trailing:i=!0,maxWait:a}=n,o=[,,];r&&(o[0]=`leading`),i&&(o[1]=`trailing`);let s,c=null,l=gne(function(...t){s=e.apply(this,t),c=null},t,{edges:o}),u=function(...t){return a!=null&&(c===null&&(c=Date.now()),Date.now()-c>=a)?(s=e.apply(this,t),c=Date.now(),l.cancel(),l.schedule(),s):(l.apply(this,t),s)};return u.cancel=l.cancel,u.flush=()=>(l.flush(),s),u}function vne(e,t=0,n={}){let{leading:r=!0,trailing:i=!0}=n;return _ne(e,t,{leading:r,maxWait:t,trailing:i})}var yne=!0,DE=function(e,t){var n=[...arguments].slice(2);if(yne&&typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e))if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var r=0;console.warn(t.replace(/%s/g,()=>n[r++]))}},OE={width:`100%`,height:`100%`,debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},kE=(e,t,n)=>{var{width:r=OE.width,height:i=OE.height,aspect:a,maxHeight:o}=n,s=$b(r)?e:Number(r),c=$b(i)?t:Number(i);return a&&a>0&&(s?c=s/a:c&&(s=c*a),o&&c!=null&&c>o&&(c=o)),{calculatedWidth:s,calculatedHeight:c}},bne={width:0,height:0,overflow:`visible`},xne={width:0,overflowX:`visible`},Sne={height:0,overflowY:`visible`},Cne={},wne=e=>{var{width:t,height:n}=e,r=$b(t),i=$b(n);return r&&i?bne:r?xne:i?Sne:Cne};function Tne(e){var{width:t,height:n,aspect:r}=e,i=t,a=n;return i===void 0&&a===void 0?(i=OE.width,a=OE.height):i===void 0?i=r&&r>0?void 0:OE.width:a===void 0&&(a=r&&r>0?void 0:OE.height),{width:i,height:a}}function AE(){return AE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AE.apply(null,arguments)}function jE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ME(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?jE(Object(n),!0).forEach(function(t){Ene(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ene(e,t,n){return(t=Dne(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dne(e){var t=One(e,`string`);return typeof t==`symbol`?t:t+``}function One(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var NE=(0,z.createContext)(OE.initialDimension);function kne(e){return XT(e.width)&&XT(e.height)}function PE(e){var{children:t,width:n,height:r}=e,i=(0,z.useMemo)(()=>({width:n,height:r}),[n,r]);return kne(i)?z.createElement(NE.Provider,{value:i},t):null}var FE=()=>(0,z.useContext)(NE),Ane=(0,z.forwardRef)((e,t)=>{var{aspect:n,initialDimension:r=OE.initialDimension,width:i,height:a,minWidth:o=OE.minWidth,minHeight:s,maxHeight:c,children:l,debounce:u=OE.debounce,id:d,className:f,onResize:p,style:m={}}=e,h=(0,z.useRef)(null),g=(0,z.useRef)();g.current=p,(0,z.useImperativeHandle)(t,()=>h.current);var[_,v]=(0,z.useState)({containerWidth:r.width,containerHeight:r.height}),y=(0,z.useCallback)((e,t)=>{v(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]);(0,z.useEffect)(()=>{if(h.current==null||typeof ResizeObserver>`u`)return cx;var e=e=>{var t,n=e[0];if(n!=null){var{width:r,height:i}=n.contentRect;y(r,i),(t=g.current)==null||t.call(g,r,i)}};u>0&&(e=vne(e,u,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),{width:n,height:r}=h.current.getBoundingClientRect();return y(n,r),t.observe(h.current),()=>{t.disconnect()}},[y,u]);var{containerWidth:b,containerHeight:x}=_;DE(!n||n>0,`The aspect(%s) must be greater than zero.`,n);var{calculatedWidth:S,calculatedHeight:C}=kE(b,x,{width:i,height:a,aspect:n,maxHeight:c});return DE(S!=null&&S>0||C!=null&&C>0,`The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.`,S,C,i,a,o,s,n),z.createElement(`div`,{id:d?`${d}`:void 0,className:J(`recharts-responsive-container`,f),style:ME(ME({},m),{},{width:i,height:a,minWidth:o,minHeight:s,maxHeight:c}),ref:h},z.createElement(`div`,{style:wne({width:i,height:a})},z.createElement(PE,{width:S,height:C},l)))}),IE=(0,z.forwardRef)((e,t)=>{var n=FE();if(XT(n.width)&&XT(n.height))return e.children;var{width:r,height:i}=Tne({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:a,calculatedHeight:o}=kE(void 0,void 0,{width:r,height:i,aspect:e.aspect,maxHeight:e.maxHeight});return X(a)&&X(o)?z.createElement(PE,{width:a,height:o},e.children):z.createElement(Ane,AE({},e,{width:r,height:i,ref:t}))});function LE(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var RE=()=>{var e=wE(),t=Q(mne),n=Q(EE),r=Q(TE)?.padding;return!e||!n||!r?t:{width:n.width-r.left-r.right,height:n.height-r.top-r.bottom,x:r.left,y:r.top}},jne={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},zE=()=>Q(SE)??jne,BE=()=>Q(pE),VE=()=>Q(mE),Mne=()=>Q(e=>e.layout.margin),HE=e=>e.layout.layoutType,UE=()=>Q(HE),WE=()=>{var e=UE();if(e===`horizontal`||e===`vertical`)return e},GE=e=>{var t=e.layout.layoutType;if(t===`centric`||t===`radial`)return t},KE=()=>Q(GE),Nne=()=>UE()!==void 0,qE=e=>{var t=gS(),n=wE(),{width:r,height:i}=e,a=FE(),o=r,s=i;return a&&(o=a.width>0?a.width:r,s=a.height>0?a.height:i),(0,z.useEffect)(()=>{!n&&XT(o)&&XT(s)&&t(GT({width:o,height:s}))},[t,n,o,s]),null},Pne=e=>{var{margin:t}=e,n=gS();return(0,z.useEffect)(()=>{n(UT(t))},[n,t]),null},JE=Symbol.for(`immer-nothing`),YE=Symbol.for(`immer-draftable`),XE=Symbol.for(`immer-state`);function ZE(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var QE=Object.getPrototypeOf;function $E(e){return!!e&&!!e[XE]}function eD(e){return e?nD(e)||Array.isArray(e)||!!e[YE]||!!e.constructor?.[YE]||sD(e)||cD(e):!1}var Fne=Object.prototype.constructor.toString(),tD=new WeakMap;function nD(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let n=Object.hasOwnProperty.call(t,`constructor`)&&t.constructor;if(n===Object)return!0;if(typeof n!=`function`)return!1;let r=tD.get(n);return r===void 0&&(r=Function.toString.call(n),tD.set(n,r)),r===Fne}function rD(e,t,n=!0){iD(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function iD(e){let t=e[XE];return t?t.type_:Array.isArray(e)?1:sD(e)?2:cD(e)?3:0}function aD(e,t){return iD(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function oD(e,t,n){let r=iD(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Ine(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function sD(e){return e instanceof Map}function cD(e){return e instanceof Set}function lD(e){return e.copy_||e.base_}function uD(e,t){if(sD(e))return new Map(e);if(cD(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=nD(e);if(t===!0||t===`class_only`&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[XE];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(QE(e),t)}else{let t=QE(e);return t!==null&&n?{...e}:Object.assign(Object.create(t),e)}}function dD(e,t=!1){return pD(e)||$E(e)||!eD(e)?e:(iD(e)>1&&Object.defineProperties(e,{set:fD,add:fD,clear:fD,delete:fD}),Object.freeze(e),t&&Object.values(e).forEach(e=>dD(e,!0)),e)}function Lne(){ZE(2)}var fD={value:Lne};function pD(e){return typeof e!=`object`||!e?!0:Object.isFrozen(e)}var Rne={};function mD(e){let t=Rne[e];return t||ZE(0,e),t}var hD;function gD(){return hD}function zne(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function _D(e,t){t&&(mD(`Patches`),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function vD(e){yD(e),e.drafts_.forEach(Bne),e.drafts_=null}function yD(e){e===hD&&(hD=e.parent_)}function bD(e){return hD=zne(hD,e)}function Bne(e){let t=e[XE];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function xD(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return e!==void 0&&e!==n?(n[XE].modified_&&(vD(t),ZE(4)),eD(e)&&(e=SD(t,e),t.parent_||wD(t,e)),t.patches_&&mD(`Patches`).generateReplacementPatches_(n[XE].base_,e,t.patches_,t.inversePatches_)):e=SD(t,n,[]),vD(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===JE?void 0:e}function SD(e,t,n){if(pD(t))return t;let r=e.immer_.shouldUseStrictIteration(),i=t[XE];if(!i)return rD(t,(r,a)=>CD(e,i,t,r,a,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return wD(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let t=i.copy_,a=t,o=!1;i.type_===3&&(a=new Set(t),t.clear(),o=!0),rD(a,(r,a)=>CD(e,i,t,r,a,n,o),r),wD(e,t,!1),n&&e.patches_&&mD(`Patches`).generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function CD(e,t,n,r,i,a,o){if(i==null||typeof i!=`object`&&!o)return;let s=pD(i);if(!(s&&!o)){if($E(i)){let o=SD(e,i,a&&t&&t.type_!==3&&!aD(t.assigned_,r)?a.concat(r):void 0);if(oD(n,r,o),$E(o))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(eD(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===i&&s)return;SD(e,i),(!t||!t.scope_.parent_)&&typeof r!=`symbol`&&(sD(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&wD(e,i)}}}function wD(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&dD(t,n)}function Vne(e,t){let n=Array.isArray(e),r={type_:+!!n,scope_:t?t.scope_:gD(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=r,a=TD;n&&(i=[r],a=ED);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,s}var TD={get(e,t){if(t===XE)return e;let n=lD(e);if(!aD(n,t))return Hne(e,n,t);let r=n[t];return e.finalized_||!eD(r)?r:r===DD(e.base_,t)?(AD(e),e.copy_[t]=jD(r,e)):r},has(e,t){return t in lD(e)},ownKeys(e){return Reflect.ownKeys(lD(e))},set(e,t,n){let r=OD(lD(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=DD(lD(e),t),i=r?.[XE];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Ine(n,r)&&(n!==void 0||aD(e.base_,t)))return!0;AD(e),kD(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_[t]=!0,!0)},deleteProperty(e,t){return DD(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,AD(e),kD(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=lD(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty(){ZE(11)},getPrototypeOf(e){return QE(e.base_)},setPrototypeOf(){ZE(12)}},ED={};rD(TD,(e,t)=>{ED[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ED.deleteProperty=function(e,t){return ED.set.call(this,e,t,void 0)},ED.set=function(e,t,n){return TD.set.call(this,e[0],t,n,e[0])};function DD(e,t){let n=e[XE];return(n?lD(n):e)[t]}function Hne(e,t,n){let r=OD(t,n);return r?`value`in r?r.value:r.get?.call(e.draft_):void 0}function OD(e,t){if(!(t in e))return;let n=QE(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=QE(n)}}function kD(e){e.modified_||(e.modified_=!0,e.parent_&&kD(e.parent_))}function AD(e){e.copy_||=uD(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var Une=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if(typeof e==`function`&&typeof t!=`function`){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}typeof t!=`function`&&ZE(6),n!==void 0&&typeof n!=`function`&&ZE(7);let r;if(eD(e)){let i=bD(this),a=jD(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?vD(i):yD(i)}return _D(i,n),xD(r,i)}else if(!e||typeof e!=`object`){if(r=t(e),r===void 0&&(r=e),r===JE&&(r=void 0),this.autoFreeze_&&dD(r,!0),n){let t=[],i=[];mD(`Patches`).generateReplacementPatches_(e,r,t,i),n(t,i)}return r}else ZE(1,e)},this.produceWithPatches=(e,t)=>{if(typeof e==`function`)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},typeof e?.autoFreeze==`boolean`&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==`boolean`&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==`boolean`&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){eD(e)||ZE(8),$E(e)&&(e=Wne(e));let t=bD(this),n=jD(e,void 0);return n[XE].isManual_=!0,yD(t),n}finishDraft(e,t){let n=e&&e[XE];(!n||!n.isManual_)&&ZE(9);let{scope_:r}=n;return _D(r,t),xD(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=mD(`Patches`).applyPatches_;return $E(e)?r(e,t):this.produce(e,e=>r(e,t))}};function jD(e,t){let n=sD(e)?mD(`MapSet`).proxyMap_(e,t):cD(e)?mD(`MapSet`).proxySet_(e,t):Vne(e,t);return(t?t.scope_:gD()).drafts_.push(n),n}function Wne(e){return $E(e)||ZE(10,e),MD(e)}function MD(e){if(!eD(e)||pD(e))return e;let t=e[XE],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=uD(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=uD(e,!0);return rD(n,(e,t)=>{oD(n,e,MD(t))},r),t&&(t.finalized_=!1),n}new Une().produce;function ND(e){return e}var PD=eT({name:`legend`,initialState:{settings:{layout:`horizontal`,align:`center`,verticalAlign:`middle`,itemSorter:`value`},size:{width:0,height:0},payload:[]},reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload:{reducer(e,t){e.payload.push(ND(t.payload))},prepare:zw()},replaceLegendPayload:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Tw(e).payload.indexOf(ND(n));i>-1&&(e.payload[i]=ND(r))},prepare:zw()},removeLegendPayload:{reducer(e,t){var n=Tw(e).payload.indexOf(ND(t.payload));n>-1&&e.payload.splice(n,1)},prepare:zw()}}}),{setLegendSize:FD,setLegendSettings:Gne,addLegendPayload:ID,replaceLegendPayload:LD,removeLegendPayload:RD}=PD.actions,Kne=PD.reducer,qne=s((e=>{var t=p();t.useSyncExternalStore,t.useRef,t.useEffect,t.useMemo,t.useDebugValue}));s(((e,t)=>{t.exports=qne()}))();function Jne(e){e()}function Yne(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Jne(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var zD={notify(){},get:()=>[]};function Xne(e,t){let n,r=zD,i=0,a=!1;function o(e){u();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),d())}}function s(){r.notify()}function c(){m.onStateChange&&m.onStateChange()}function l(){return a}function u(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),r=Yne())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=zD)}function f(){a||(a=!0,u())}function p(){a&&(a=!1,d())}let m={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>r};return m}var Zne=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Qne=typeof navigator<`u`&&navigator.product===`ReactNative`,$ne=Zne||Qne?z.useLayoutEffect:z.useEffect;function BD(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!==e&&t!==t}function ere(e,t){if(BD(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!BD(e[n[r]],t[n[r]]))return!1;return!0}var tre=Symbol.for(`react-redux-context`),nre=typeof globalThis<`u`?globalThis:{};function rre(){if(!z.createContext)return{};let e=nre[tre]??=new Map,t=e.get(z.createContext);return t||(t=z.createContext(null),e.set(z.createContext,t)),t}var VD=rre();function HD(e){let{children:t,context:n,serverState:r,store:i}=e,a=z.useMemo(()=>({store:i,subscription:Xne(i),getServerState:r?()=>r:void 0}),[i,r]),o=z.useMemo(()=>i.getState(),[i]);$ne(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,o]);let s=n||VD;return z.createElement(s.Provider,{value:a},t)}var UD=HD,WD=new Set([`axisLine`,`tickLine`,`activeBar`,`activeDot`,`activeLabel`,`activeShape`,`allowEscapeViewBox`,`background`,`cursor`,`dot`,`label`,`line`,`margin`,`padding`,`position`,`shape`,`style`,`tick`,`wrapperStyle`,`radius`,`throttledEvents`]);function GD(e,t){return e==null&&t==null?!0:typeof e==`number`&&typeof t==`number`?e===t||e!==e&&t!==t:e===t}function KD(e,t){for(var n of new Set([...Object.keys(e),...Object.keys(t)]))if(WD.has(n)){if(e[n]==null&&t[n]==null)continue;if(!ere(e[n],t[n]))return!1}else if(!GD(e[n],t[n]))return!1;return!0}var qD=_(),JD=[`contextPayload`];function YD(){return YD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YD.apply(null,arguments)}function XD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ZD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?XD(Object(n),!0).forEach(function(t){QD(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XD(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function QD(e,t,n){return(t=$D(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $D(e){var t=eO(e,`string`);return typeof t==`symbol`?t:t+``}function eO(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function tO(e,t){if(e==null)return{};var n,r,i=nO(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function nO(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function rO(e){return e.value}function iO(e){var{contextPayload:t}=e,n=tO(e,JD),r=cS(t,e.payloadUniqBy,rO),i=ZD(ZD({},n),{},{payload:r});return z.isValidElement(e.content)?z.cloneElement(e.content,i):typeof e.content==`function`?z.createElement(e.content,i):z.createElement(Tte,i)}function aO(e,t,n,r,i,a){var{layout:o,align:s,verticalAlign:c}=t,l,u;return(!e||(e.left===void 0||e.left===null)&&(e.right===void 0||e.right===null))&&(l=s===`center`&&o===`vertical`?{left:((r||0)-a.width)/2}:s===`right`?{right:n&&n.right||0}:{left:n&&n.left||0}),(!e||(e.top===void 0||e.top===null)&&(e.bottom===void 0||e.bottom===null))&&(u=c===`middle`?{top:((i||0)-a.height)/2}:c===`bottom`?{bottom:n&&n.bottom||0}:{top:n&&n.top||0}),ZD(ZD({},l),u)}function oO(e){var t=gS();return(0,z.useEffect)(()=>{t(Gne(e))},[t,e]),null}function sO(e){var t=gS();return(0,z.useEffect)(()=>(t(FD(e)),()=>{t(FD({width:0,height:0}))}),[t,e]),null}function cO(e,t,n,r){return e===`vertical`&&t!=null?{height:t}:e===`horizontal`?{width:n||r}:null}var lO={align:`center`,iconSize:14,inactiveColor:`#ccc`,itemSorter:`value`,layout:`horizontal`,verticalAlign:`bottom`};function uO(e){var t=vx(e,lO),n=qS(),r=ly(),i=Mne(),{width:a,height:o,wrapperStyle:s,portal:c}=t,[l,u]=YS([n]),d=BE(),f=VE();if(d==null||f==null)return null;var p=d-(i?.left||0)-(i?.right||0),m=cO(t.layout,o,a,p),h=c?s:ZD(ZD({position:`absolute`,width:m?.width||a||`auto`,height:m?.height||o||`auto`},aO(s,t,i,d,f,l)),s),g=c??r;return g==null||n==null?null:(0,qD.createPortal)(z.createElement(`div`,{className:`recharts-legend-wrapper`,style:h,ref:u},z.createElement(oO,{layout:t.layout,align:t.align,verticalAlign:t.verticalAlign,itemSorter:t.itemSorter}),!c&&z.createElement(sO,{width:l.width,height:l.height}),z.createElement(iO,YD({},t,m,{margin:i,chartWidth:d,chartHeight:f,contextPayload:n}))),g)}var dO=z.memo(uO,KD);dO.displayName=`Legend`;function fO(){return fO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fO.apply(null,arguments)}function pO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?pO(Object(n),!0).forEach(function(t){hO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hO(e,t,n){return(t=gO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gO(e){var t=_O(e,`string`);return typeof t==`symbol`?t:t+``}function _O(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vO(e){return Array.isArray(e)&&ex(e[0])&&ex(e[1])?e.join(` ~ `):e}var yO={separator:` : `,contentStyle:{margin:0,padding:10,backgroundColor:`#fff`,border:`1px solid #ccc`,whiteSpace:`nowrap`},itemStyle:{display:`block`,paddingTop:4,paddingBottom:4,color:`#000`},labelStyle:{},accessibilityLayer:!1};function bO(e,t){return t==null?e:US(e,t)}var xO=e=>{var{separator:t=yO.separator,contentStyle:n,itemStyle:r,labelStyle:i=yO.labelStyle,payload:a,formatter:o,itemSorter:s,wrapperClassName:c,labelClassName:l,label:u,labelFormatter:d,accessibilityLayer:f=yO.accessibilityLayer}=e,p=()=>{if(a&&a.length){var e={padding:0,margin:0},n=bO(a,s).map((e,n)=>{if(!e||e.type===`none`)return null;var i=e.formatter||o||vO,{value:s,name:c}=e,l=s,u=c;if(i){var d=i(s,c,e,n,a);if(Array.isArray(d))[l,u]=d;else if(d!=null)l=d;else return null}var f=mO(mO({},yO.itemStyle),{},{color:e.color||yO.itemStyle.color},r);return z.createElement(`li`,{className:`recharts-tooltip-item`,key:`tooltip-item-${n}`,style:f},ex(u)?z.createElement(`span`,{className:`recharts-tooltip-item-name`},u):null,ex(u)?z.createElement(`span`,{className:`recharts-tooltip-item-separator`},t):null,z.createElement(`span`,{className:`recharts-tooltip-item-value`},l),z.createElement(`span`,{className:`recharts-tooltip-item-unit`},e.unit||``))});return z.createElement(`ul`,{className:`recharts-tooltip-item-list`,style:e},n)}return null},m=mO(mO({},yO.contentStyle),n),h=mO({margin:0},i),g=!ax(u),_=g?u:``,v=J(`recharts-default-tooltip`,c),y=J(`recharts-tooltip-label`,l);g&&d&&a!=null&&(_=d(u,a));var b=f?{role:`status`,\"aria-live\":`assertive`}:{};return z.createElement(`div`,fO({className:v,style:m},b),z.createElement(`p`,{className:y,style:h},z.isValidElement(_)?_:`${_}`),p())},SO=`recharts-tooltip-wrapper`,CO={visibility:`hidden`};function wO(e){var{coordinate:t,translateX:n,translateY:r}=e;return J(SO,{[`${SO}-right`]:X(n)&&t&&X(t.x)&&n>=t.x,[`${SO}-left`]:X(n)&&t&&X(t.x)&&n<t.x,[`${SO}-bottom`]:X(r)&&t&&X(t.y)&&r>=t.y,[`${SO}-top`]:X(r)&&t&&X(t.y)&&r<t.y})}function TO(e){var{allowEscapeViewBox:t,coordinate:n,key:r,offset:i,position:a,reverseDirection:o,tooltipDimension:s,viewBox:c,viewBoxDimension:l}=e;if(a&&X(a[r]))return a[r];var u=n[r]-s-(i>0?i:0),d=n[r]+i;if(t[r])return o[r]?u:d;var f=c[r];return f==null?0:o[r]?Math.max(u<f?d:u,f):l==null?0:d+s>f+l?Math.max(u,f):Math.max(d,f)}function EO(e){var{translateX:t,translateY:n,useTranslate3d:r}=e;return{transform:r?`translate3d(${t}px, ${n}px, 0)`:`translate(${t}px, ${n}px)`}}function DO(e){var{allowEscapeViewBox:t,coordinate:n,offsetTop:r,offsetLeft:i,position:a,reverseDirection:o,tooltipBox:s,useTranslate3d:c,viewBox:l}=e,u,d,f;return s.height>0&&s.width>0&&n?(d=TO({allowEscapeViewBox:t,coordinate:n,key:`x`,offset:i,position:a,reverseDirection:o,tooltipDimension:s.width,viewBox:l,viewBoxDimension:l.width}),f=TO({allowEscapeViewBox:t,coordinate:n,key:`y`,offset:r,position:a,reverseDirection:o,tooltipDimension:s.height,viewBox:l,viewBoxDimension:l.height}),u=EO({translateX:d,translateY:f,useTranslate3d:c})):u=CO,{cssProperties:u,cssClasses:wO({translateX:d,translateY:f,coordinate:n})}}var OO={devToolsEnabled:!0,isSsr:!(typeof window<`u`&&window.document&&window.document.createElement&&window.setTimeout)};function kO(){var[e,t]=(0,z.useState)(()=>OO.isSsr||!window.matchMedia?!1:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches);return(0,z.useEffect)(()=>{if(window.matchMedia){var e=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=()=>{t(e.matches)};return e.addEventListener(`change`,n),()=>{e.removeEventListener(`change`,n)}}},[]),e}function AO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?AO(Object(n),!0).forEach(function(t){MO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function MO(e,t,n){return(t=NO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NO(e){var t=PO(e,`string`);return typeof t==`symbol`?t:t+``}function PO(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function FO(e){if(!(e.prefersReducedMotion&&e.isAnimationActive===`auto`)&&e.isAnimationActive&&e.active)return`transform ${e.animationDuration}ms ${e.animationEasing}`}function IO(e){var t=kO(),[n,r]=z.useState(()=>({dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}));z.useEffect(()=>{var t=t=>{t.key===`Escape`&&r({dismissed:!0,dismissedAtCoordinate:{x:e.coordinate?.x??0,y:e.coordinate?.y??0}})};return document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`keydown`,t)}},[e.coordinate?.x,e.coordinate?.y]),n.dismissed&&((e.coordinate?.x??0)!==n.dismissedAtCoordinate.x||(e.coordinate?.y??0)!==n.dismissedAtCoordinate.y)&&r(jO(jO({},n),{},{dismissed:!1}));var{cssClasses:i,cssProperties:a}=DO({allowEscapeViewBox:e.allowEscapeViewBox,coordinate:e.coordinate,offsetLeft:typeof e.offset==`number`?e.offset:e.offset.x,offsetTop:typeof e.offset==`number`?e.offset:e.offset.y,position:e.position,reverseDirection:e.reverseDirection,tooltipBox:{height:e.lastBoundingBox.height,width:e.lastBoundingBox.width},useTranslate3d:e.useTranslate3d,viewBox:e.viewBox}),o=jO(jO({},e.hasPortalFromProps?{}:jO(jO({transition:FO({prefersReducedMotion:t,isAnimationActive:e.isAnimationActive,active:e.active,animationDuration:e.animationDuration,animationEasing:e.animationEasing})},a),{},{pointerEvents:`none`,position:`absolute`,top:0,left:0})),{},{visibility:!n.dismissed&&e.active&&e.hasPayload?`visible`:`hidden`},e.wrapperStyle);return z.createElement(`div`,{xmlns:`http://www.w3.org/1999/xhtml`,tabIndex:-1,className:i,style:o,ref:e.innerRef},e.children)}var LO=z.memo(IO),RO=()=>Q(e=>e.rootProps.accessibilityLayer)??!0;function zO(){return zO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zO.apply(null,arguments)}function BO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?BO(Object(n),!0).forEach(function(t){HO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function HO(e,t,n){return(t=UO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function UO(e){var t=WO(e,`string`);return typeof t==`symbol`?t:t+``}function WO(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var GO={curveBasisClosed:bb,curveBasisOpen:Sb,curveBasis:vb,curveBumpX:Jy,curveBumpY:Yy,curveLinearClosed:wb,curveLinear:Hy,curveMonotoneX:Mb,curveMonotoneY:Nb,curveNatural:Ib,curveStep:Rb,curveStepAfter:Bb,curveStepBefore:zb},KO=e=>YT(e.x)&&YT(e.y),qO=e=>e.base!=null&&KO(e.base)&&KO(e),JO=e=>e.x,YO=e=>e.y,XO=(e,t)=>{if(typeof e==`function`)return e;var n=`curve${ox(e)}`;if((n===`curveMonotone`||n===`curveBump`)&&t){var r=GO[`${n}${t===`vertical`?`Y`:`X`}`];if(r)return r}return GO[n]||Hy},ZO={connectNulls:!1,type:`linear`},QO=e=>{var{type:t=ZO.type,points:n=[],baseLine:r,layout:i,connectNulls:a=ZO.connectNulls}=e,o=XO(t,i),s=a?n.filter(KO):n;if(Array.isArray(r)){var c,l=n.map((e,t)=>VO(VO({},e),{},{base:r[t]}));return c=i===`vertical`?Ky().y(YO).x1(JO).x0(e=>e.base.x):Ky().x(JO).y1(YO).y0(e=>e.base.y),c.defined(qO).curve(o)(a?l.filter(qO):l)}return(i===`vertical`&&X(r)?Ky().y(YO).x1(JO).x0(r):X(r)?Ky().x(JO).y1(YO).y0(r):Gy().x(JO).y(YO)).defined(KO).curve(o)(s)},$O=e=>{var{className:t,points:n,path:r,pathRef:i}=e,a=UE();if((!n||!n.length)&&!r)return null;var o={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||a,connectNulls:e.connectNulls},s=n&&n.length?QO(o):r;return z.createElement(`path`,zO({},Yv(e),hx(e),{className:J(`recharts-curve`,t),d:s===null?void 0:s,ref:i}))},ek=[`x`,`y`,`top`,`left`,`width`,`height`,`className`];function tk(){return tk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tk.apply(null,arguments)}function nk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nk(Object(n),!0).forEach(function(t){ik(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ik(e,t,n){return(t=ak(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ak(e){var t=ok(e,`string`);return typeof t==`symbol`?t:t+``}function ok(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function sk(e,t){if(e==null)return{};var n,r,i=ck(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ck(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var lk=(e,t,n,r,i,a)=>`M${e},${i}v${r}M${a},${t}h${n}`,uk=e=>{var{x:t=0,y:n=0,top:r=0,left:i=0,width:a=0,height:o=0,className:s}=e,c=sk(e,ek),l=rk({x:t,y:n,top:r,left:i,width:a,height:o},c);return!X(t)||!X(n)||!X(a)||!X(o)||!X(r)||!X(i)?null:z.createElement(`path`,tk({},Zv(l),{className:J(`recharts-cross`,s),d:lk(t,n,a,o,r,i)}))};function dk(e,t,n,r){var i=r/2;return{stroke:`none`,fill:`#ccc`,x:e===`horizontal`?t.x-i:n.left+.5,y:e===`horizontal`?n.top+.5:t.y-i,width:e===`horizontal`?r:n.width-1,height:e===`horizontal`?n.height-1:r}}function fk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?fk(Object(n),!0).forEach(function(t){mk(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mk(e,t,n){return(t=hk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hk(e){var t=gk(e,`string`);return typeof t==`symbol`?t:t+``}function gk(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var _k=e=>e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`),vk=(e,t,n)=>e.map(e=>`${_k(e)} ${t}ms ${n}`).join(`,`),yk=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((e,t)=>e.filter(e=>t.includes(e))),bk=(e,t)=>Object.keys(t).reduce((n,r)=>pk(pk({},n),{},{[r]:e(r,t[r])}),{});function xk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xk(Object(n),!0).forEach(function(t){Ck(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ck(e,t,n){return(t=wk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wk(e){var t=Tk(e,`string`);return typeof t==`symbol`?t:t+``}function Tk(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Ek=(e,t,n)=>e+(t-e)*n,Dk=e=>{var{from:t,to:n}=e;return t!==n},Ok=(e,t,n)=>{var r=bk((t,n)=>{if(Dk(n)){var[r,i]=e(n.from,n.to,n.velocity);return Sk(Sk({},n),{},{from:r,velocity:i})}return n},t);return n<1?bk((e,t)=>Dk(t)&&r[e]!=null?Sk(Sk({},t),{},{velocity:Ek(t.velocity,r[e].velocity,n),from:Ek(t.from,r[e].from,n)}):t,t):Ok(e,r,n-1)};function kk(e,t,n,r,i,a){var o,s=r.reduce((n,r)=>Sk(Sk({},n),{},{[r]:{from:e[r],velocity:0,to:t[r]}}),{}),c=()=>bk((e,t)=>t.from,s),l=()=>!Object.values(s).filter(Dk).length,u=null,d=r=>{o||=r;var f=(r-o)/n.dt;s=Ok(n,s,f),i(Sk(Sk(Sk({},e),t),c())),o=r,l()||(u=a.setTimeout(d))};return()=>(u=a.setTimeout(d),()=>{var e;(e=u)==null||e()})}function Ak(e,t,n,r,i,a,o){var s=null,c=i.reduce((n,r)=>{var i=e[r],a=t[r];return i==null||a==null?n:Sk(Sk({},n),{},{[r]:[i,a]})},{}),l,u=i=>{l||=i;var d=(i-l)/r,f=bk((e,t)=>Ek(...t,n(d)),c);if(a(Sk(Sk(Sk({},e),t),f)),d<1)s=o.setTimeout(u);else{var p=bk((e,t)=>Ek(...t,n(1)),c);a(Sk(Sk(Sk({},e),t),p))}};return()=>(s=o.setTimeout(u),()=>{var e;(e=s)==null||e()})}var jk=(e,t,n,r,i,a)=>{var o=yk(e,t);return n==null?()=>(i(Sk(Sk({},e),t)),()=>{}):n.isStepper===!0?kk(e,t,n,o,i,a):Ak(e,t,n,r,o,i,a)},Mk=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],Nk=(e,t)=>e.map((e,n)=>e*t**n).reduce((e,t)=>e+t),Pk=(e,t)=>n=>Nk(Mk(e,t),n),Fk=(e,t)=>n=>Nk([...Mk(e,t).map((e,t)=>e*t).slice(1),0],n),Ik=e=>{var t,n=e.split(`(`);if(n.length!==2||n[0]!==`cubic-bezier`)return null;var r=(t=n[1])==null||(t=t.split(`)`)[0])==null?void 0:t.split(`,`);if(r==null||r.length!==4)return null;var i=r.map(e=>parseFloat(e));return[i[0],i[1],i[2],i[3]]},Lk=function(){var e=[...arguments];if(e.length===1)switch(e[0]){case`linear`:return[0,0,1,1];case`ease`:return[.25,.1,.25,1];case`ease-in`:return[.42,0,1,1];case`ease-out`:return[.42,0,.58,1];case`ease-in-out`:return[0,0,.58,1];default:var t=Ik(e[0]);if(t)return t}return e.length===4?e:[0,0,1,1]},Rk=(e,t,n,r)=>{var i=Pk(e,n),a=Pk(t,r),o=Fk(e,n),s=e=>e>1?1:e<0?0:e,c=e=>{for(var t=e>1?1:e,n=t,r=0;r<8;++r){var c=i(n)-t,l=o(n);if(Math.abs(c-t)<1e-4||l<1e-4)return a(n);n=s(n-c/l)}return a(n)};return c.isStepper=!1,c},zk=function(){return Rk(...Lk(...arguments))},Bk=function(){var{stiff:e=100,damping:t=8,dt:n=17}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=(r,i,a)=>{var o=a+(-(r-i)*e-a*t)*n/1e3,s=a*n/1e3+r;return Math.abs(s-i)<1e-4&&Math.abs(o)<1e-4?[i,0]:[s,o]};return r.isStepper=!0,r.dt=n,r},Vk=e=>{if(typeof e==`string`)switch(e){case`ease`:case`ease-in-out`:case`ease-out`:case`ease-in`:case`linear`:return zk(e);case`spring`:return Bk();default:if(e.split(`(`)[0]===`cubic-bezier`)return zk(e)}return typeof e==`function`?e:null};function Hk(e){var t,n=()=>null,r=!1,i=null,a=o=>{if(!r){if(Array.isArray(o)){if(!o.length)return;var[s,...c]=o;if(typeof s==`number`){i=e.setTimeout(a.bind(null,c),s);return}a(s),i=e.setTimeout(a.bind(null,c));return}typeof o==`string`&&(t=o,n(t)),typeof o==`object`&&(t=o,n(t)),typeof o==`function`&&o()}};return{stop:()=>{r=!0},start:e=>{r=!1,i&&=(i(),null),a(e)},subscribe:e=>(n=e,()=>{n=()=>null}),getTimeoutController:()=>e}}var Uk=class{setTimeout(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=performance.now(),r=null,i=a=>{a-n>=t?e(a):typeof requestAnimationFrame==`function`&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>{r!=null&&cancelAnimationFrame(r)}}};function Wk(){return Hk(new Uk)}var Gk=(0,z.createContext)(Wk);function Kk(e,t){var n=(0,z.useContext)(Gk);return(0,z.useMemo)(()=>t??n(e),[e,t,n])}var qk={begin:0,duration:1e3,easing:`ease`,isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},Jk={t:0},Yk={t:1};function Xk(e){var t=vx(e,qk),{isActive:n,canBegin:r,duration:i,easing:a,begin:o,onAnimationEnd:s,onAnimationStart:c,children:l}=t,u=kO(),d=n===`auto`?!OO.isSsr&&!u:n,f=Kk(t.animationId,t.animationManager),[p,m]=(0,z.useState)(d?Jk:Yk),h=(0,z.useRef)(null);return(0,z.useEffect)(()=>{d||m(Yk)},[d]),(0,z.useEffect)(()=>{if(!d||!r)return cx;var e=jk(Jk,Yk,Vk(a),i,m,f.getTimeoutController());return f.start([c,o,()=>{h.current=e()},i,s]),()=>{f.stop(),h.current&&h.current(),s()}},[d,r,i,a,o,c,s,f]),l(p.t)}function Zk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`animation-`,n=(0,z.useRef)(tx(t)),r=(0,z.useRef)(e);return r.current!==e&&(n.current=tx(t),r.current=e),n.current}var Qk=[`radius`],$k=[`radius`],eA,tA,nA,rA,iA,aA,oA,sA,cA,lA;function uA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uA(Object(n),!0).forEach(function(t){fA(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fA(e,t,n){return(t=pA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pA(e){var t=mA(e,`string`);return typeof t==`symbol`?t:t+``}function mA(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function hA(){return hA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hA.apply(null,arguments)}function gA(e,t){if(e==null)return{};var n,r,i=_A(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _A(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function vA(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var yA=(e,t,n,r,i)=>{var a=Yb(n),o=Yb(r),s=Math.min(Math.abs(a)/2,Math.abs(o)/2),c=o>=0?1:-1,l=a>=0?1:-1,u=+(o>=0&&a>=0||o<0&&a<0),d;if(s>0&&Array.isArray(i)){for(var f=[0,0,0,0],p=0,m=4;p<m;p++){var h=i[p]??0;f[p]=h>s?s:h}d=Xb(eA||=vA([`M`,`,`,``]),e,t+c*f[0]),f[0]>0&&(d+=Xb(tA||=vA([`A `,`,`,`,0,0,`,`,`,`,`,``]),f[0],f[0],u,e+l*f[0],t)),d+=Xb(nA||=vA([`L `,`,`,``]),e+n-l*f[1],t),f[1]>0&&(d+=Xb(rA||=vA([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[1],f[1],u,e+n,t+c*f[1])),d+=Xb(iA||=vA([`L `,`,`,``]),e+n,t+r-c*f[2]),f[2]>0&&(d+=Xb(aA||=vA([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[2],f[2],u,e+n-l*f[2],t+r)),d+=Xb(oA||=vA([`L `,`,`,``]),e+l*f[3],t+r),f[3]>0&&(d+=Xb(sA||=vA([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[3],f[3],u,e,t+r-c*f[3])),d+=`Z`}else if(s>0&&i===+i&&i>0){var g=Math.min(s,i);d=Xb(cA||=vA(`M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z`.split(`.`)),e,t+c*g,g,g,u,e+l*g,t,e+n-l*g,t,g,g,u,e+n,t+c*g,e+n,t+r-c*g,g,g,u,e+n-l*g,t+r,e+l*g,t+r,g,g,u,e,t+r-c*g)}else d=Xb(lA||=vA([`M `,`,`,` h `,` v `,` h `,` Z`]),e,t,n,r,-n);return d},bA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},xA=e=>{var t=vx(e,bA),n=(0,z.useRef)(null),[r,i]=(0,z.useState)(-1);(0,z.useEffect)(()=>{if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&i(e)}catch{}},[]);var{x:a,y:o,width:s,height:c,radius:l,className:u}=t,{animationEasing:d,animationDuration:f,animationBegin:p,isAnimationActive:m,isUpdateAnimationActive:h}=t,g=(0,z.useRef)(s),_=(0,z.useRef)(c),v=(0,z.useRef)(a),y=(0,z.useRef)(o),b=Zk((0,z.useMemo)(()=>({x:a,y:o,width:s,height:c,radius:l}),[a,o,s,c,l]),`rectangle-`);if(a!==+a||o!==+o||s!==+s||c!==+c||s===0||c===0)return null;var x=J(`recharts-rectangle`,u);if(!h){var S=Zv(t),{radius:C}=S,w=gA(S,Qk);return z.createElement(`path`,hA({},w,{x:Yb(a),y:Yb(o),width:Yb(s),height:Yb(c),radius:typeof l==`number`?l:void 0,className:x,d:yA(a,o,s,c,l)}))}var T=g.current,E=_.current,D=v.current,O=y.current,k=`0px ${r===-1?1:r}px`,ee=`${r}px ${r}px`,te=vk([`strokeDasharray`],f,typeof d==`string`?d:bA.animationEasing);return z.createElement(Xk,{animationId:b,key:b,canBegin:r>0,duration:f,easing:d,isActive:h,begin:p},e=>{var r=Z(T,s,e),i=Z(E,c,e),u=Z(D,a,e),d=Z(O,o,e);n.current&&(g.current=r,_.current=i,v.current=u,y.current=d);var f=m?e>0?{transition:te,strokeDasharray:ee}:{strokeDasharray:k}:{strokeDasharray:ee},p=Zv(t),{radius:h}=p,b=gA(p,$k);return z.createElement(`path`,hA({},b,{radius:typeof l==`number`?l:void 0,className:x,d:yA(u,d,r,i,l),ref:n,style:dA(dA({},f),t.style)}))})};function SA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function CA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?SA(Object(n),!0).forEach(function(t){wA(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wA(e,t,n){return(t=TA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TA(e){var t=EA(e,`string`);return typeof t==`symbol`?t:t+``}function EA(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var DA=Math.PI/180,OA=e=>e*Math.PI/180,kA=e=>e*180/Math.PI,AA=(e,t,n,r)=>({x:e+Math.cos(-DA*r)*n,y:t+Math.sin(-DA*r)*n}),jA=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0,width:0,height:0,brushBottom:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},MA=(e,t)=>{var{x:n,y:r}=e,{x:i,y:a}=t;return Math.sqrt((n-i)**2+(r-a)**2)},NA=(e,t)=>{var{x:n,y:r}=e,{cx:i,cy:a}=t,o=MA({x:n,y:r},{x:i,y:a});if(o<=0)return{radius:o,angle:0};var s=(n-i)/o,c=Math.acos(s);return r>a&&(c=2*Math.PI-c),{radius:o,angle:kA(c),angleInRadian:c}},PA=e=>{var{startAngle:t,endAngle:n}=e,r=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(r,i);return{startAngle:t-a*360,endAngle:n-a*360}},FA=(e,t)=>{var{startAngle:n,endAngle:r}=t,i=Math.floor(n/360),a=Math.floor(r/360);return e+Math.min(i,a)*360},IA=(e,t)=>{var{relativeX:n,relativeY:r}=e,{radius:i,angle:a}=NA({x:n,y:r},t),{innerRadius:o,outerRadius:s}=t;if(i<o||i>s||i===0)return null;var{startAngle:c,endAngle:l}=PA(t),u=a,d;if(c<=l){for(;u>l;)u-=360;for(;u<c;)u+=360;d=u>=c&&u<=l}else{for(;u>c;)u-=360;for(;u<l;)u+=360;d=u>=l&&u<=c}return d?CA(CA({},t),{},{radius:i,angle:FA(u,t)}):null};function LA(e){var{cx:t,cy:n,radius:r,startAngle:i,endAngle:a}=e;return{points:[AA(t,n,r,i),AA(t,n,r,a)],cx:t,cy:n,radius:r,startAngle:i,endAngle:a}}var RA,zA,BA,VA,HA,UA,WA;function GA(){return GA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GA.apply(null,arguments)}function KA(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var qA=(e,t)=>Zb(t-e)*Math.min(Math.abs(t-e),359.999),JA=e=>{var{cx:t,cy:n,radius:r,angle:i,sign:a,isExternal:o,cornerRadius:s,cornerIsExternal:c}=e,l=s*(o?1:-1)+r,u=Math.asin(s/l)/DA,d=c?i:i+a*u,f=AA(t,n,l,d),p=AA(t,n,r,d),m=c?i-a*u:i;return{center:f,circleTangency:p,lineTangency:AA(t,n,l*Math.cos(u*DA),m),theta:u}},YA=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o}=e,s=qA(a,o),c=a+s,l=AA(t,n,i,a),u=AA(t,n,i,c),d=Xb(RA||=KA([`M `,`,`,`\n A `,`,`,`,0,\n `,`,`,`,\n `,`,`,`\n `]),l.x,l.y,i,i,+(Math.abs(s)>180),+(a>c),u.x,u.y);if(r>0){var f=AA(t,n,r,a),p=AA(t,n,r,c);d+=Xb(zA||=KA([`L `,`,`,`\n A `,`,`,`,0,\n `,`,`,`,\n `,`,`,` Z`]),p.x,p.y,r,r,+(Math.abs(s)>180),+(a<=c),f.x,f.y)}else d+=Xb(BA||=KA([`L `,`,`,` Z`]),t,n);return d},XA=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,cornerRadius:a,forceCornerRadius:o,cornerIsExternal:s,startAngle:c,endAngle:l}=e,u=Zb(l-c),{circleTangency:d,lineTangency:f,theta:p}=JA({cx:t,cy:n,radius:i,angle:c,sign:u,cornerRadius:a,cornerIsExternal:s}),{circleTangency:m,lineTangency:h,theta:g}=JA({cx:t,cy:n,radius:i,angle:l,sign:-u,cornerRadius:a,cornerIsExternal:s}),_=s?Math.abs(c-l):Math.abs(c-l)-p-g;if(_<0)return o?Xb(VA||=KA([`M `,`,`,`\n a`,`,`,`,0,0,1,`,`,0\n a`,`,`,`,0,0,1,`,`,0\n `]),f.x,f.y,a,a,a*2,a,a,-a*2):YA({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var v=Xb(HA||=KA([`M `,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n A`,`,`,`,0,`,`,`,`,`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n `]),f.x,f.y,a,a,+(u<0),d.x,d.y,i,i,+(_>180),+(u<0),m.x,m.y,a,a,+(u<0),h.x,h.y);if(r>0){var{circleTangency:y,lineTangency:b,theta:x}=JA({cx:t,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),{circleTangency:S,lineTangency:C,theta:w}=JA({cx:t,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),T=s?Math.abs(c-l):Math.abs(c-l)-x-w;if(T<0&&a===0)return`${v}L${t},${n}Z`;v+=Xb(UA||=KA([`L`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n A`,`,`,`,0,`,`,`,`,`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`Z`]),C.x,C.y,a,a,+(u<0),S.x,S.y,r,r,+(T>180),+(u>0),y.x,y.y,a,a,+(u<0),b.x,b.y)}else v+=Xb(WA||=KA([`L`,`,`,`Z`]),t,n);return v},ZA={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},QA=e=>{var t=vx(e,ZA),{cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:o,forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u,className:d}=t;if(a<i||l===u)return null;var f=J(`recharts-sector`,d),p=a-i,m=nx(o,p,0,!0),h=m>0&&Math.abs(l-u)<360?XA({cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:Math.min(m,p/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u}):YA({cx:n,cy:r,innerRadius:i,outerRadius:a,startAngle:l,endAngle:u});return z.createElement(`path`,GA({},Zv(t),{className:f,d:h}))};function $A(e,t,n){if(e===`horizontal`)return[{x:t.x,y:n.top},{x:t.x,y:n.top+n.height}];if(e===`vertical`)return[{x:n.left,y:t.y},{x:n.left+n.width,y:t.y}];if(mx(t)){if(e===`centric`){var{cx:r,cy:i,innerRadius:a,outerRadius:o,angle:s}=t,c=AA(r,i,a,s),l=AA(r,i,o,s);return[{x:c.x,y:c.y},{x:l.x,y:l.y}]}return LA(t)}}function ej(e){return RS(e)?NaN:Number(e)}function tj(e){return e?(e=ej(e),e===1/0||e===-1/0?(e<0?-1:1)*Number.MAX_VALUE:e===e?e:0):e===0?e:0}function nj(e,t,n){n&&typeof n!=`number`&&FS(e,t,n)&&(t=n=void 0),e=tj(e),t===void 0?(t=e,e=0):t=tj(t),n=n===void 0?e<t?1:-1:tj(n);let r=Math.max(Math.ceil((t-e)/(n||1)),0),i=Array(r);for(let t=0;t<r;t++)i[t]=e,e+=n;return i}var rj=e=>e.chartData,ij=$([rj],e=>{var t=e.chartData==null?0:e.chartData.length-1;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),aj=(e,t,n,r)=>r?ij(e):rj(e),oj=(e,t,n)=>n?ij(e):rj(e),sj=$([aj],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)}),cj=$([ij],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)}),lj=$([rj],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)});function uj(e){if(Array.isArray(e)&&e.length===2){var[t,n]=e;if(YT(t)&&YT(n))return!0}return!1}function dj(e,t,n){return n?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function fj(e,t){if(t&&typeof e!=`function`&&Array.isArray(e)&&e.length===2){var[n,r]=e,i,a;if(YT(n))i=n;else if(typeof n==`function`)return;if(YT(r))a=r;else if(typeof r==`function`)return;var o=[i,a];if(uj(o))return o}}function pj(e,t,n){if(!(!n&&t==null)){if(typeof e==`function`&&t!=null)try{var r=e(t,n);if(uj(r))return dj(r,t,n)}catch{}if(Array.isArray(e)&&e.length===2){var[i,a]=e,o,s;if(i===`auto`)t!=null&&(o=Math.min(...t));else if(X(i))o=i;else if(typeof i==`function`)try{t!=null&&(o=i(t?.[0]))}catch{}else if(typeof i==`string`&&cE.test(i)){var c=cE.exec(i);if(c==null||c[1]==null||t==null)o=void 0;else{var l=+c[1];o=t[0]-l}}else o=t?.[0];if(a===`auto`)t!=null&&(s=Math.max(...t));else if(X(a))s=a;else if(typeof a==`function`)try{t!=null&&(s=a(t?.[1]))}catch{}else if(typeof a==`string`&&lE.test(a)){var u=lE.exec(a);if(u==null||u[1]==null||t==null)s=void 0;else{var d=+u[1];s=t[1]+d}}else s=t?.[1];var f=[o,s];if(uj(f))return t==null?f:dj(f,t,n)}}}var mj=u(s(((e,t)=>{(function(e){var n=1e9,r={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:`2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286`},i=!0,a=`[DecimalError] `,o=a+`Invalid argument: `,s=a+`Exponent out of range: `,c=Math.floor,l=Math.pow,u=/^(\\d+(\\.\\d*)?|\\.\\d+)(e[+-]?\\d+)?$/i,d,f=1e7,p=7,m=9007199254740991,h=c(m/p),g={};g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&=1,e},g.comparedTo=g.cmp=function(e){var t,n,r,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(r=a.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*p;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return b(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this,n=t.constructor;return D(b(t,new n(e),0,1),n.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return this.s===0},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,s=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(d))throw Error(a+`NaN`);if(n.s<1)throw Error(a+(n.s?`NaN`:`-Infinity`));return n.eq(d)?new r(0):(i=!1,t=b(T(n,s),T(e,s),s),i=!0,D(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?O(t,e):_(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(a+`NaN`);return n.s?(i=!1,t=b(n,e,0,1).times(e),i=!0,n.minus(t)):D(new r(n),o)},g.naturalExponential=g.exp=function(){return x(this)},g.naturalLogarithm=g.ln=function(){return T(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_(t,e):O(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(o+e);if(t=S(i)+1,r=i.d.length-1,n=r*p+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,s,l,u=this,d=u.constructor;if(u.s<1){if(!u.s)return new d(0);throw Error(a+`NaN`)}for(e=S(u),i=!1,o=Math.sqrt(+u),o==0||o==1/0?(t=y(u.d),(t.length+e)%2==0&&(t+=`0`),o=Math.sqrt(t),e=c((e+1)/2)-(e<0||e%2),o==1/0?t=`5e`+e:(t=o.toExponential(),t=t.slice(0,t.indexOf(`e`)+1)+e),r=new d(t)):r=new d(o.toString()),n=d.precision,o=l=n+3;;)if(s=r,r=s.plus(b(u,s,l+2)).times(.5),y(s.d).slice(0,l)===(t=y(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),o==l&&t==`4999`){if(D(s,n+1,0),s.times(s).eq(u)){r=s;break}}else if(t!=`9999`)break;l+=4}return i=!0,D(r,n)},g.times=g.mul=function(e){var t,n,r,a,o,s,c,l,u,d=this,p=d.constructor,m=d.d,h=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,n=d.e+e.e,l=m.length,u=h.length,l<u&&(o=m,m=h,h=o,s=l,l=u,u=s),o=[],s=l+u,r=s;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,a=l+r;a>r;)c=o[a]+h[r]*m[a-r-1]+t,o[a--]=c%f|0,t=c/f|0;o[a]=(o[a]+t)%f|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,i?D(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,i=r.constructor;return r=new i(r),e===void 0?r:(v(e,0,n),t===void 0?t=i.rounding:v(t,0,8),D(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,i=this,a=i.constructor;return e===void 0?r=k(i,!0):(v(e,0,n),t===void 0?t=a.rounding:v(t,0,8),i=D(new a(i),e+1,t),r=k(i,!0,e+1)),r},g.toFixed=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?k(a):(v(e,0,n),t===void 0?t=o.rounding:v(t,0,8),i=D(new o(a),e+S(a)+1,t),r=k(i.abs(),!1,e+S(i)+1),a.isneg()&&!a.isZero()?`-`+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return D(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,s,l,u=this,f=u.constructor,h=12,g=+(e=new f(e));if(!e.s)return new f(d);if(u=new f(u),!u.s){if(e.s<1)throw Error(a+`Infinity`);return u}if(u.eq(d))return u;if(r=f.precision,e.eq(d))return D(u,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=u.s,!l){if(s<0)throw Error(a+`NaN`)}else if((n=g<0?-g:g)<=m){for(o=new f(d),t=Math.ceil(r/p+4),i=!1;n%2&&(o=o.times(u),ee(o.d,t)),n=c(n/2),n!==0;)u=u.times(u),ee(u.d,t);return i=!0,e.s<0?new f(d).div(o):D(o,r)}return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,i=!1,o=e.times(T(u,r+h)),i=!0,o=x(o),o.s=s,o},g.toPrecision=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?(r=S(a),i=k(a,r<=o.toExpNeg||r>=o.toExpPos)):(v(e,1,n),t===void 0?t=o.rounding:v(t,0,8),a=D(new o(a),e,t),r=S(a),i=k(a,e<=r||r<=o.toExpNeg,e)),i},g.toSignificantDigits=g.tosd=function(e,t){var r=this,i=r.constructor;return e===void 0?(e=i.precision,t=i.rounding):(v(e,1,n),t===void 0?t=i.rounding:v(t,0,8)),D(new i(r),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),n=e.constructor;return k(e,t<=n.toExpNeg||t>=n.toExpPos)};function _(e,t){var n,r,a,o,s,c,l,u,d=e.constructor,m=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),i?D(t,m):t;if(l=e.d,u=t.d,s=e.e,a=t.e,l=l.slice(),o=s-a,o){for(o<0?(r=l,o=-o,c=u.length):(r=u,a=s,c=l.length),s=Math.ceil(m/p),c=s>c?s+1:c+1,o>c&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(c=l.length,o=u.length,c-o<0&&(o=c,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/f|0,l[o]%=f;for(n&&(l.unshift(n),++a),c=l.length;l[--c]==0;)l.pop();return t.d=l,t.e=a,i?D(t,m):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(o+e)}function y(e){var t,n,r,i=e.length-1,a=``,o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)r=e[t]+``,n=p-r.length,n&&(a+=w(n)),a+=r;o=e[t],r=o+``,n=p-r.length,n&&(a+=w(n))}else if(o===0)return`0`;for(;o%10==0;)o/=10;return a+o}var b=(function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=+(e[n]<t[n]),e[n]=r*f+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,s){var c,l,u,d,m,h,g,_,v,y,b,x,C,w,T,E,O,k,ee=r.constructor,te=r.s==i.s?1:-1,ne=r.d,A=i.d;if(!r.s)return new ee(r);if(!i.s)throw Error(a+`Division by zero`);for(l=r.e-i.e,O=A.length,T=ne.length,g=new ee(te),_=g.d=[],u=0;A[u]==(ne[u]||0);)++u;if(A[u]>(ne[u]||0)&&--l,x=o==null?o=ee.precision:s?o+(S(r)-S(i))+1:o,x<0)return new ee(0);if(x=x/p+2|0,u=0,O==1)for(d=0,A=A[0],x++;(u<T||d)&&x--;u++)C=d*f+(ne[u]||0),_[u]=C/A|0,d=C%A|0;else{for(d=f/(A[0]+1)|0,d>1&&(A=e(A,d),ne=e(ne,d),O=A.length,T=ne.length),w=O,v=ne.slice(0,O),y=v.length;y<O;)v[y++]=0;k=A.slice(),k.unshift(0),E=A[0],A[1]>=f/2&&++E;do d=0,c=t(A,v,O,y),c<0?(b=v[0],O!=y&&(b=b*f+(v[1]||0)),d=b/E|0,d>1?(d>=f&&(d=f-1),m=e(A,d),h=m.length,y=v.length,c=t(m,v,h,y),c==1&&(d--,n(m,O<h?k:A,h))):(d==0&&(c=d=1),m=A.slice()),h=m.length,h<y&&m.unshift(0),n(v,m,y),c==-1&&(y=v.length,c=t(A,v,O,y),c<1&&(d++,n(v,O<y?k:A,y))),y=v.length):c===0&&(d++,v=[0]),_[u++]=d,c&&v[0]?v[y++]=ne[w]||0:(v=[ne[w]],y=1);while((w++<T||v[0]!==void 0)&&x--)}return _[0]||_.shift(),g.e=l,D(g,s?o+S(g)+1:o)}})();function x(e,t){var n,r,a,o,c,u,f=0,p=0,m=e.constructor,h=m.precision;if(S(e)>16)throw Error(s+S(e));if(!e.s)return new m(d);for(t==null?(i=!1,u=h):u=t,c=new m(.03125);e.abs().gte(.1);)e=e.times(c),p+=5;for(r=Math.log(l(2,p))/Math.LN10*2+5|0,u+=r,n=a=o=new m(d),m.precision=u;;){if(a=D(a.times(e),u),n=n.times(++f),c=o.plus(b(a,n,u)),y(c.d).slice(0,u)===y(o.d).slice(0,u)){for(;p--;)o=D(o.times(o),u);return m.precision=h,t==null?(i=!0,D(o,h)):o}o=c}}function S(e){for(var t=e.e*p,n=e.d[0];n>=10;n/=10)t++;return t}function C(e,t,n){if(t>e.LN10.sd())throw i=!0,n&&(e.precision=n),Error(a+`LN10 precision limit exceeded`);return D(new e(e.LN10),t)}function w(e){for(var t=``;e--;)t+=`0`;return t}function T(e,t){var n,r,o,s,c,l,u,f,p,m=1,h=10,g=e,_=g.d,v=g.constructor,x=v.precision;if(g.s<1)throw Error(a+(g.s?`NaN`:`-Infinity`));if(g.eq(d))return new v(0);if(t==null?(i=!1,f=x):f=t,g.eq(10))return t??(i=!0),C(v,f);if(f+=h,v.precision=f,n=y(_),r=n.charAt(0),s=S(g),Math.abs(s)<0x5543df729c000){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)g=g.times(e),n=y(g.d),r=n.charAt(0),m++;s=S(g),r>1?(g=new v(`0.`+n),s++):g=new v(r+`.`+n.slice(1))}else return u=C(v,f+2,x).times(s+``),g=T(new v(r+`.`+n.slice(1)),f-h).plus(u),v.precision=x,t==null?(i=!0,D(g,x)):g;for(l=c=g=b(g.minus(d),g.plus(d),f),p=D(g.times(g),f),o=3;;){if(c=D(c.times(p),f),u=l.plus(b(c,new v(o),f)),y(u.d).slice(0,f)===y(l.d).slice(0,f))return l=l.times(2),s!==0&&(l=l.plus(C(v,f+2,x).times(s+``))),l=b(l,new v(m),f),v.precision=x,t==null?(i=!0,D(l,x)):l;l=u,o+=2}}function E(e,t){var n,r,a;for((n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=c(n/p),e.d=[],r=(n+1)%p,n<0&&(r+=p),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=p;r<a;)e.d.push(+t.slice(r,r+=p));t=t.slice(r),r=p-t.length}else r-=a;for(;r--;)t+=`0`;if(e.d.push(+t),i&&(e.e>h||e.e<-h))throw Error(s+n)}else e.s=0,e.e=0,e.d=[0];return e}function D(e,t,n){var r,a,o,u,d,m,g,_,v=e.d;for(u=1,o=v[0];o>=10;o/=10)u++;if(r=t-u,r<0)r+=p,a=t,g=v[_=0];else{if(_=Math.ceil((r+1)/p),o=v.length,_>=o)return e;for(g=o=v[_],u=1;o>=10;o/=10)u++;r%=p,a=r-p+u}if(n!==void 0&&(o=l(10,u-a-1),d=g/o%10|0,m=t<0||v[_+1]!==void 0||g%o,m=n<4?(d||m)&&(n==0||n==(e.s<0?3:2)):d>5||d==5&&(n==4||m||n==6&&(r>0?a>0?g/l(10,u-a):0:v[_-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return m?(o=S(e),v.length=1,t=t-o-1,v[0]=l(10,(p-t%p)%p),e.e=c(-t/p)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(r==0?(v.length=_,o=1,_--):(v.length=_+1,o=l(10,p-r),v[_]=a>0?(g/l(10,u-a)%l(10,a)|0)*o:0),m)for(;;)if(_==0){(v[0]+=o)==f&&(v[0]=1,++e.e);break}else{if(v[_]+=o,v[_]!=f)break;v[_--]=0,o=1}for(r=v.length;v[--r]===0;)v.pop();if(i&&(e.e>h||e.e<-h))throw Error(s+S(e));return e}function O(e,t){var n,r,a,o,s,c,l,u,d,m,h=e.constructor,g=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),i?D(t,g):t;if(l=e.d,m=t.d,r=t.e,u=e.e,l=l.slice(),s=u-r,s){for(d=s<0,d?(n=l,s=-s,c=m.length):(n=m,r=u,c=l.length),a=Math.max(Math.ceil(g/p),c)+2,s>a&&(s=a,n.length=1),n.reverse(),a=s;a--;)n.push(0);n.reverse()}else{for(a=l.length,c=m.length,d=a<c,d&&(c=a),a=0;a<c;a++)if(l[a]!=m[a]){d=l[a]<m[a];break}s=0}for(d&&(n=l,l=m,m=n,t.s=-t.s),c=l.length,a=m.length-c;a>0;--a)l[c++]=0;for(a=m.length;a>s;){if(l[--a]<m[a]){for(o=a;o&&l[--o]===0;)l[o]=f-1;--l[o],l[a]+=f}l[a]-=m[a]}for(;l[--c]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(t.d=l,t.e=r,i?D(t,g):t):new h(0)}function k(e,t,n){var r,i=S(e),a=y(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+`.`+a.slice(1)+w(r):o>1&&(a=a.charAt(0)+`.`+a.slice(1)),a=a+(i<0?`e`:`e+`)+i):i<0?(a=`0.`+w(-i-1)+a,n&&(r=n-o)>0&&(a+=w(r))):i>=o?(a+=w(i+1-o),n&&(r=n-i-1)>0&&(a=a+`.`+w(r))):((r=i+1)<o&&(a=a.slice(0,r)+`.`+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+=`.`),a+=w(r))),e.s<0?`-`+a:a}function ee(e,t){if(e.length>t)return e.length=t,!0}function te(e){var t,n,r;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i){t.s=e.s,t.e=e.e,t.d=(e=e.d)?e.slice():e;return}if(typeof e==`number`){if(e*0!=0)throw Error(o+e);if(e>0)t.s=1;else if(e<0)e=-e,t.s=-1;else{t.s=0,t.e=0,t.d=[0];return}if(e===~~e&&e<1e7){t.e=0,t.d=[e];return}return E(t,e.toString())}else if(typeof e!=`string`)throw Error(o+e);if(e.charCodeAt(0)===45?(e=e.slice(1),t.s=-1):t.s=1,u.test(e))E(t,e);else throw Error(o+e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=te,i.config=i.set=ne,e===void 0&&(e={}),e)for(r=[`precision`,`rounding`,`toExpNeg`,`toExpPos`,`LN10`],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function ne(e){if(!e||typeof e!=`object`)throw Error(a+`Object expected`);var t,r,i,s=[`precision`,1,n,`rounding`,0,8,`toExpNeg`,-1/0,0,`toExpPos`,0,1/0];for(t=0;t<s.length;t+=3)if((i=e[r=s[t]])!==void 0)if(c(i)===i&&i>=s[t+1]&&i<=s[t+2])this[r]=i;else throw Error(o+r+`: `+i);if((i=e[r=`LN10`])!==void 0)if(i==Math.LN10)this[r]=new this(i);else throw Error(o+r+`: `+i);return this}r=te(r),r.default=r.Decimal=r,d=new r(1),typeof define==`function`&&define.amd?define(function(){return r}):t!==void 0&&t.exports?t.exports=r:(e||=typeof self<`u`&&self&&self.self==self?self:Function(`return this`)(),e.Decimal=r)})(e)}))());function hj(e){return e===0?1:Math.floor(new mj.default(e).abs().log(10).toNumber())+1}function gj(e,t,n){for(var r=new mj.default(e),i=0,a=[];r.lt(t)&&i<1e5;)a.push(r.toNumber()),r=r.add(n),i++;return a}var _j=e=>{var[t,n]=e,[r,i]=[t,n];return t>n&&([r,i]=[n,t]),[r,i]},vj=(e,t,n)=>{if(e.lte(0))return new mj.default(0);var r=hj(e.toNumber()),i=new mj.default(10).pow(r),a=e.div(i),o=r===1?.1:.05,s=new mj.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);return t?new mj.default(s.toNumber()):new mj.default(Math.ceil(s.toNumber()))},yj=(e,t,n)=>{if(e.lte(0))return new mj.default(0);var r=[1,2,2.5,5],i=e.toNumber(),a=Math.floor(new mj.default(i).abs().log(10).toNumber()),o=new mj.default(10).pow(a),s=e.div(o).toNumber(),c=r.findIndex(e=>e>=s-1e-10);if(c===-1&&(o=o.mul(10),c=0),c+=n,c>=r.length){var l=Math.floor(c/r.length);c%=r.length,o=o.mul(new mj.default(10).pow(l))}var u=new mj.default(r[c]??1).mul(o);return t?u:new mj.default(Math.ceil(u.toNumber()))},bj=(e,t,n)=>{var r=new mj.default(1),i=new mj.default(e);if(!i.isint()&&n){var a=Math.abs(e);a<1?(r=new mj.default(10).pow(hj(e)-1),i=new mj.default(Math.floor(i.div(r).toNumber())).mul(r)):a>1&&(i=new mj.default(Math.floor(e)))}else e===0?i=new mj.default(Math.floor((t-1)/2)):n||(i=new mj.default(Math.floor(e)));for(var o=Math.floor((t-1)/2),s=[],c=0;c<t;c++)s.push(i.add(new mj.default(c-o).mul(r)).toNumber());return s},xj=function(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:vj;if(!Number.isFinite((t-e)/(n-1)))return{step:new mj.default(0),tickMin:new mj.default(0),tickMax:new mj.default(0)};var o=a(new mj.default(t).sub(e).div(n-1),r,i),s;e<=0&&t>=0?s=new mj.default(0):(s=new mj.default(e).add(t).div(2),s=s.sub(new mj.default(s).mod(o)));var c=Math.ceil(s.sub(e).div(o).toNumber()),l=Math.ceil(new mj.default(t).sub(s).div(o).toNumber()),u=c+l+1;return u>n?xj(e,t,n,r,i+1,a):(u<n&&(l=t>0?l+(n-u):l,c=t>0?c:c+(n-u)),{step:o,tickMin:s.sub(new mj.default(c).mul(o)),tickMax:s.add(new mj.default(l).mul(o))})},Sj=function(e){var[t,n]=e,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,o=Math.max(r,2),[s,c]=_j([t,n]);if(s===-1/0||c===1/0){var l=c===1/0?[s,...Array(r-1).fill(1/0)]:[...Array(r-1).fill(-1/0),c];return t>n?l.reverse():l}if(s===c)return bj(s,r,i);var{step:u,tickMin:d,tickMax:f}=xj(s,c,o,i,0,a===`snap125`?yj:vj),p=gj(d,f.add(new mj.default(.1).mul(u)),u);return t>n?p.reverse():p},Cj=function(e,t){var[n,r]=e,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,[o,s]=_j([n,r]);if(o===-1/0||s===1/0)return[n,r];if(o===s)return[o];var c=a===`snap125`?yj:vj,l=Math.max(t,2),u=c(new mj.default(s).sub(o).div(l-1),i,0),d=[...gj(new mj.default(o),new mj.default(s),u),s];return i===!1&&(d=d.map(e=>Math.round(e))),n>r?d.reverse():d},wj=e=>e.rootProps.maxBarSize,Tj=e=>e.rootProps.barGap,Ej=e=>e.rootProps.barCategoryGap,Dj=e=>e.rootProps.barSize,Oj=e=>e.rootProps.stackOffset,kj=e=>e.rootProps.reverseStackOrder,Aj=e=>e.options.chartName,jj=e=>e.rootProps.syncId,Mj=e=>e.rootProps.syncMethod,Nj=e=>e.options.eventEmitter,Pj=e=>e.rootProps.baseValue,Fj={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},Ij={allowDecimals:!1,allowDuplicatedCategory:!0,allowDataOverflow:!1,angle:0,angleAxisId:0,axisLine:!0,axisLineType:`polygon`,cx:0,cy:0,hide:!1,includeHidden:!1,label:!1,niceTicks:`auto`,orientation:`outer`,reversed:!1,scale:`auto`,tick:!0,tickLine:!0,tickSize:8,type:`auto`,zIndex:Fj.axis},Lj={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!0,angle:0,axisLine:!0,includeHidden:!1,hide:!1,niceTicks:`auto`,label:!1,orientation:`right`,radiusAxisId:0,reversed:!1,scale:`auto`,stroke:`#ccc`,tick:!0,tickCount:5,tickLine:!0,type:`auto`,zIndex:Fj.axis},Rj=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t};function zj(e,t,n){if(n!==`auto`)return n;if(e!=null)return eE(e,t)?`category`:`number`}function Bj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Bj(Object(n),!0).forEach(function(t){Hj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hj(e,t,n){return(t=Uj(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uj(e){var t=Wj(e,`string`);return typeof t==`symbol`?t:t+``}function Wj(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Gj={allowDataOverflow:Ij.allowDataOverflow,allowDecimals:Ij.allowDecimals,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:Ij.angleAxisId,includeHidden:!1,name:void 0,reversed:Ij.reversed,scale:Ij.scale,tick:Ij.tick,tickCount:void 0,ticks:void 0,type:Ij.type,unit:void 0,niceTicks:`auto`},Kj={allowDataOverflow:Lj.allowDataOverflow,allowDecimals:Lj.allowDecimals,allowDuplicatedCategory:Lj.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Lj.radiusAxisId,includeHidden:Lj.includeHidden,name:void 0,reversed:Lj.reversed,scale:Lj.scale,tick:Lj.tick,tickCount:Lj.tickCount,ticks:void 0,type:Lj.type,unit:void 0,niceTicks:`auto`},qj=$([(e,t)=>{if(t!=null)return e.polarAxis.angleAxis[t]},GE],(e,t)=>{if(e!=null)return e;var n=zj(t,`angleAxis`,Gj.type)??`category`;return Vj(Vj({},Gj),{},{type:n})}),Jj=$([(e,t)=>e.polarAxis.radiusAxis[t],GE],(e,t)=>{if(e!=null)return e;var n=zj(t,`radiusAxis`,Kj.type)??`category`;return Vj(Vj({},Kj),{},{type:n})}),Yj=e=>e.polarOptions,Xj=$([pE,mE,SE],jA),Zj=$([Yj,Xj],(e,t)=>{if(e!=null)return nx(e.innerRadius,t,0)}),Qj=$([Yj,Xj],(e,t)=>{if(e!=null)return nx(e.outerRadius,t,t*.8)}),$j=$([Yj],e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:n}=e;return[t,n]}),eM=$([qj,$j],Rj),tM=$([Xj,Zj,Qj],(e,t,n)=>{if(!(e==null||t==null||n==null))return[t,n]}),nM=$([Jj,tM],Rj),rM=$([HE,Yj,Zj,Qj,pE,mE],(e,t,n,r,i,a)=>{if(!(e!==`centric`&&e!==`radial`||t==null||n==null||r==null)){var{cx:o,cy:s,startAngle:c,endAngle:l}=t;return{cx:nx(o,i,i/2),cy:nx(s,a,a/2),innerRadius:n,outerRadius:r,startAngle:c,endAngle:l,clockWise:!1}}}),iM=(e,t)=>t,aM=(e,t,n)=>n;function oM(e){return e?.id}function sM(e,t,n){var{chartData:r=[]}=t,{allowDuplicatedCategory:i,dataKey:a}=n,o=new Map;return e.forEach(e=>{var t=e.data??r;if(!(t==null||t.length===0)){var n=oM(e);t.forEach((t,r)=>{var s=a==null||i?r:String($T(t,a,null)),c=$T(t,e.dataKey,0),l=o.has(s)?o.get(s):{};Object.assign(l,{[n]:c}),o.set(s,l)})}}),Array.from(o.values())}function cM(e){return`stackId`in e&&e.stackId!=null&&e.dataKey!=null}var lM=(e,t)=>e===t?!0:e==null||t==null?!1:e[0]===t[0]&&e[1]===t[1];function uM(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===0&&t.length===0?!0:e===t}function dM(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return!1}var fM=e=>{var t=HE(e);return t===`horizontal`?`xAxis`:t===`vertical`?`yAxis`:t===`centric`?`angleAxis`:`radiusAxis`},pM=e=>e.tooltip.settings.axisId;function mM(e){if(e!=null){var t=e.ticks,n=e.bandwidth,r=e.range(),i=[Math.min(...r),Math.max(...r)];return{domain:()=>e.domain(),range:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(()=>i),rangeMin:()=>i[0],rangeMax:()=>i[1],isInRange(e){var t=i[0],n=i[1];return t<=n?e>=t&&e<=n:e>=n&&e<=t},bandwidth:n?()=>n.call(e):void 0,ticks:t?n=>t.call(e,n):void 0,map:(t,n)=>{var r=e(t);if(r!=null){if(e.bandwidth&&n!=null&&n.position){var i=e.bandwidth();switch(n.position){case`middle`:r+=i/2;break;case`end`:r+=i;break;default:break}}return r}}}}}var hM=(e,t)=>{if(t!=null)switch(e){case`linear`:if(!uj(t)){for(var n,r,i=0;i<t.length;i++){var a=t[i];YT(a)&&((n===void 0||a<n)&&(n=a),(r===void 0||a>r)&&(r=a))}return n!==void 0&&r!==void 0?[n,r]:void 0}return t;default:return t}};function gM(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function _M(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function vM(e){let t,n,r;e.length===2?(t=e===gM||e===_M?e:yM,n=e,r=e):(t=gM,n=(t,n)=>gM(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function yM(){return 0}function bM(e){return e===null?NaN:+e}function*xM(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var SM=vM(gM),CM=SM.right;SM.left,vM(bM).center;function wM(e,t){let n,r;if(t===void 0)for(let t of e)t!=null&&(n===void 0?t>=t&&(n=r=t):(n>t&&(n=t),r<t&&(r=t)));else{let i=-1;for(let a of e)(a=t(a,++i,e))!=null&&(n===void 0?a>=a&&(n=r=a):(n>a&&(n=a),r<a&&(r=a)))}return[n,r]}var TM=class extends Map{constructor(e,t=kM){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(EM(this,e))}has(e){return super.has(EM(this,e))}set(e,t){return super.set(DM(this,e),t)}delete(e){return super.delete(OM(this,e))}};function EM({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function DM({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function OM({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function kM(e){return typeof e==`object`&&e?e.valueOf():e}function AM(e=gM){if(e===gM)return jM;if(typeof e!=`function`)throw TypeError(`compare is not a function`);return(t,n)=>{let r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function jM(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:+(e>t))}var MM=Math.sqrt(50),NM=Math.sqrt(10),PM=Math.sqrt(2);function FM(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=MM?10:a>=NM?5:a>=PM?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?FM(e,t,n*2):[s,c,l]}function IM(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?FM(t,e,n):FM(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function LM(e,t,n){return t=+t,e=+e,n=+n,FM(e,t,n)[2]}function RM(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?LM(t,e,n):LM(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function zM(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function BM(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function VM(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?jM:AM(i);r>n;){if(r-n>600){let a=r-n+1,o=t-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(t-o*c/a+l)),d=Math.min(r,Math.floor(t+(a-o)*c/a+l));VM(e,t,u,d,i)}let a=e[t],o=n,s=r;for(HM(e,n,t),i(e[r],a)>0&&HM(e,n,r);o<s;){for(HM(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[n],a)===0?HM(e,n,s):(++s,HM(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function HM(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function UM(e,t,n){if(e=Float64Array.from(xM(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return BM(e);if(t>=1)return zM(e);var r,i=(r-1)*t,a=Math.floor(i),o=zM(VM(e,a).subarray(0,a+1));return o+(BM(e.subarray(a+1))-o)*(i-a)}}function WM(e,t,n=bM){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),o=+n(e[a],a,e);return o+(+n(e[a+1],a+1,e)-o)*(i-a)}}function GM(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function KM(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function qM(e,t){switch(arguments.length){case 0:break;case 1:typeof e==`function`?this.interpolator(e):this.range(e);break;default:this.domain(e),typeof t==`function`?this.interpolator(t):this.range(t);break}return this}var JM=Symbol(`implicit`);function YM(){var e=new TM,t=[],n=[],r=JM;function i(i){let a=e.get(i);if(a===void 0){if(r!==JM)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new TM;for(let r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return YM(t,n).unknown(r)},KM.apply(i,arguments),i}function XM(){var e=YM().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=GM(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return XM(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},KM.apply(d(),arguments)}function ZM(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return ZM(t())},e}function QM(){return ZM(XM.apply(null,arguments).paddingInner(1))}function $M(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function eN(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function tN(){}var nN=.7,rN=1/nN,iN=`\\\\s*([+-]?\\\\d+)\\\\s*`,aN=`\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*`,oN=`\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*`,sN=/^#([0-9a-f]{3,8})$/,cN=RegExp(`^rgb\\\\(${iN},${iN},${iN}\\\\)$`),lN=RegExp(`^rgb\\\\(${oN},${oN},${oN}\\\\)$`),uN=RegExp(`^rgba\\\\(${iN},${iN},${iN},${aN}\\\\)$`),dN=RegExp(`^rgba\\\\(${oN},${oN},${oN},${aN}\\\\)$`),fN=RegExp(`^hsl\\\\(${aN},${oN},${oN}\\\\)$`),pN=RegExp(`^hsla\\\\(${aN},${oN},${oN},${aN}\\\\)$`),mN={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};$M(tN,yN,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:hN,formatHex:hN,formatHex8:gN,formatHsl:_N,formatRgb:vN,toString:vN});function hN(){return this.rgb().formatHex()}function gN(){return this.rgb().formatHex8()}function _N(){return MN(this).formatHsl()}function vN(){return this.rgb().formatRgb()}function yN(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=sN.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?bN(t):n===3?new wN(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?xN(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?xN(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=cN.exec(e))?new wN(t[1],t[2],t[3],1):(t=lN.exec(e))?new wN(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=uN.exec(e))?xN(t[1],t[2],t[3],t[4]):(t=dN.exec(e))?xN(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=fN.exec(e))?jN(t[1],t[2]/100,t[3]/100,1):(t=pN.exec(e))?jN(t[1],t[2]/100,t[3]/100,t[4]):mN.hasOwnProperty(e)?bN(mN[e]):e===`transparent`?new wN(NaN,NaN,NaN,0):null}function bN(e){return new wN(e>>16&255,e>>8&255,e&255,1)}function xN(e,t,n,r){return r<=0&&(e=t=n=NaN),new wN(e,t,n,r)}function SN(e){return e instanceof tN||(e=yN(e)),e?(e=e.rgb(),new wN(e.r,e.g,e.b,e.opacity)):new wN}function CN(e,t,n,r){return arguments.length===1?SN(e):new wN(e,t,n,r??1)}function wN(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}$M(wN,CN,eN(tN,{brighter(e){return e=e==null?rN:rN**+e,new wN(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?nN:nN**+e,new wN(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new wN(kN(this.r),kN(this.g),kN(this.b),ON(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:TN,formatHex:TN,formatHex8:EN,formatRgb:DN,toString:DN}));function TN(){return`#${AN(this.r)}${AN(this.g)}${AN(this.b)}`}function EN(){return`#${AN(this.r)}${AN(this.g)}${AN(this.b)}${AN((isNaN(this.opacity)?1:this.opacity)*255)}`}function DN(){let e=ON(this.opacity);return`${e===1?`rgb(`:`rgba(`}${kN(this.r)}, ${kN(this.g)}, ${kN(this.b)}${e===1?`)`:`, ${e})`}`}function ON(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function kN(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function AN(e){return e=kN(e),(e<16?`0`:``)+e.toString(16)}function jN(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new PN(e,t,n,r)}function MN(e){if(e instanceof PN)return new PN(e.h,e.s,e.l,e.opacity);if(e instanceof tN||(e=yN(e)),!e)return new PN;if(e instanceof PN)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new PN(o,s,c,e.opacity)}function NN(e,t,n,r){return arguments.length===1?MN(e):new PN(e,t,n,r??1)}function PN(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}$M(PN,NN,eN(tN,{brighter(e){return e=e==null?rN:rN**+e,new PN(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?nN:nN**+e,new PN(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new wN(LN(e>=240?e-240:e+120,i,r),LN(e,i,r),LN(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new PN(FN(this.h),IN(this.s),IN(this.l),ON(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=ON(this.opacity);return`${e===1?`hsl(`:`hsla(`}${FN(this.h)}, ${IN(this.s)*100}%, ${IN(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function FN(e){return e=(e||0)%360,e<0?e+360:e}function IN(e){return Math.max(0,Math.min(1,e||0))}function LN(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var RN=e=>()=>e;function zN(e,t){return function(n){return e+n*t}}function BN(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function VN(e){return(e=+e)==1?HN:function(t,n){return n-t?BN(t,n,e):RN(isNaN(t)?n:t)}}function HN(e,t){var n=t-e;return n?zN(e,n):RN(isNaN(e)?t:e)}var UN=(function e(t){var n=VN(t);function r(e,t){var r=n((e=CN(e)).r,(t=CN(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=HN(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function WN(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function GN(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function KN(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=tP(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function qN(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function JN(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function YN(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=tP(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var XN=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,ZN=new RegExp(XN.source,`g`);function QN(e){return function(){return e}}function $N(e){return function(t){return e(t)+``}}function eP(e,t){var n=XN.lastIndex=ZN.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=XN.exec(e))&&(i=ZN.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:JN(r,i)})),n=ZN.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?$N(c[0].x):QN(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function tP(e,t){var n=typeof t,r;return t==null||n===`boolean`?RN(t):(n===`number`?JN:n===`string`?(r=yN(t))?(t=r,UN):eP:t instanceof yN?UN:t instanceof Date?qN:GN(t)?WN:Array.isArray(t)?KN:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?YN:JN)(e,t)}function nP(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var rP=180/Math.PI,iP={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function aP(e,t,n,r,i,a){var o,s,c;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r<t*n&&(e=-e,t=-t,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*rP,skewX:Math.atan(c)*rP,scaleX:o,scaleY:s}}var oP;function sP(e){let t=new(typeof DOMMatrix==`function`?DOMMatrix:WebKitCSSMatrix)(e+``);return t.isIdentity?iP:aP(t.a,t.b,t.c,t.d,t.e,t.f)}function cP(e){return e==null||(oP||=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),oP.setAttribute(`transform`,e),!(e=oP.transform.baseVal.consolidate()))?iP:(e=e.matrix,aP(e.a,e.b,e.c,e.d,e.e,e.f))}function lP(e,t,n,r){function i(e){return e.length?e.pop()+` `:``}function a(e,r,i,a,o,s){if(e!==i||r!==a){var c=o.push(`translate(`,null,t,null,n);s.push({i:c-4,x:JN(e,i)},{i:c-2,x:JN(r,a)})}else (i||a)&&o.push(`translate(`+i+t+a+n)}function o(e,t,n,a){e===t?t&&n.push(i(n)+`rotate(`+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+`rotate(`,null,r)-2,x:JN(e,t)}))}function s(e,t,n,a){e===t?t&&n.push(i(n)+`skewX(`+t+r):a.push({i:n.push(i(n)+`skewX(`,null,r)-2,x:JN(e,t)})}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+`scale(`,null,`,`,null,`)`);o.push({i:s-4,x:JN(e,n)},{i:s-2,x:JN(t,r)})}else (n!==1||r!==1)&&a.push(i(a)+`scale(`+n+`,`+r+`)`)}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,i),o(t.rotate,n.rotate,r,i),s(t.skewX,n.skewX,r,i),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t=-1,n=i.length,a;++t<n;)r[(a=i[t]).i]=a.x(e);return r.join(``)}}}var uP=lP(sP,`px, `,`px)`,`deg)`),dP=lP(cP,`, `,`)`,`)`);function fP(e,t){t===void 0&&(t=e,e=tP);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return a[t](e-t)}}function pP(e){return function(){return e}}function mP(e){return+e}var hP=[0,1];function gP(e){return e}function _P(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:pP(isNaN(t)?NaN:.5)}function vP(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function yP(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=_P(i,r),a=n(o,a)):(r=_P(r,i),a=n(a,o)),function(e){return a(r(e))}}function bP(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=_P(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=CM(e,t,1,r)-1;return a[n](i[n](t))}}function xP(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function SP(){var e=hP,t=hP,n=tP,r,i,a,o=gP,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==gP&&(o=vP(e[0],e[n-1])),s=n>2?bP:yP,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),JN))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,mP),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=nP,u()},d.clamp=function(e){return arguments.length?(o=e?!0:gP,u()):o!==gP},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function CP(){return SP()(gP,gP)}function wP(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function TP(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function EP(e){return e=TP(Math.abs(e)),e?e[1]:NaN}function DP(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function OP(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var kP=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;function AP(e){if(!(t=kP.exec(e)))throw Error(`invalid format: `+e);var t;return new jP({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}AP.prototype=jP.prototype;function jP(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}jP.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function MP(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var NP;function PP(e,t){var n=TP(e,t);if(!n)return e+``;var r=n[0],i=n[1],a=i-(NP=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+TP(e,Math.max(0,t+a-1))[0]}function FP(e,t){var n=TP(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var IP={\"%\":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+``},d:wP,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return FP(e*100,t)},r:FP,s:PP,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function LP(e){return e}var RP=Array.prototype.map,zP=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function BP(e){var t=e.grouping===void 0||e.thousands===void 0?LP:DP(RP.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?LP:OP(RP.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`-`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e){e=AP(e);var l=e.fill,u=e.align,d=e.sign,f=e.symbol,p=e.zero,m=e.width,h=e.comma,g=e.precision,_=e.trim,v=e.type;v===`n`?(h=!0,v=`g`):IP[v]||(g===void 0&&(g=12),_=!0,v=`g`),(p||l===`0`&&u===`=`)&&(p=!0,l=`0`,u=`=`);var y=f===`$`?n:f===`#`&&/[boxX]/.test(v)?`0`+v.toLowerCase():``,b=f===`$`?r:/[%p]/.test(v)?o:``,x=IP[v],S=/[defgprs%]/.test(v);g=g===void 0?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g));function C(e){var n=y,r=b,o,f,C;if(v===`c`)r=x(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:x(Math.abs(e),g),_&&(e=MP(e)),w&&+e==0&&d!==`+`&&(w=!1),n=(w?d===`(`?d:s:d===`-`||d===`(`?``:d)+n,r=(v===`s`?zP[8+NP/3]:``)+r+(w&&d===`(`?`)`:``),S){for(o=-1,f=e.length;++o<f;)if(C=e.charCodeAt(o),48>C||C>57){r=(C===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}h&&!p&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<m?Array(m-T+1).join(l):``;switch(h&&p&&(e=t(E+e,E.length?m-r.length:1/0),E=``),u){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r;break}return a(e)}return C.toString=function(){return e+``},C}function u(e,t){var n=l((e=AP(e),e.type=`f`,e)),r=Math.max(-8,Math.min(8,Math.floor(EP(t)/3)))*3,i=10**-r,a=zP[8+r/3];return function(e){return n(i*e)+a}}return{format:l,formatPrefix:u}}var VP,HP,UP;WP({decimal:`.`,thousands:`,`,grouping:[3],currency:[`$`,``],minus:`-`});function WP(e){return VP=BP(e),HP=VP.format,UP=VP.formatPrefix,VP}function GP(e){return Math.max(0,-EP(Math.abs(e)))}function KP(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(EP(t)/3)))*3-EP(Math.abs(e)))}function qP(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,EP(t)-EP(e))+1}function JP(e,t,n,r){var i=RM(e,t,n),a;switch(r=AP(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=KP(i,o))&&(r.precision=a),UP(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=qP(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=GP(i))&&(r.precision=a-(r.type===`%`)*2);break}return HP(r)}function YP(e){var t=e.domain;return e.ticks=function(e){var n=t();return IM(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return JP(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=LM(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function XP(){var e=CP();return e.copy=function(){return xP(e,XP())},KM.apply(e,arguments),YP(e)}function ZP(e){var t;function n(e){return e==null||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,mP),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return ZP(e).unknown(t)},e=arguments.length?Array.from(e,mP):[0,1],YP(n)}function QP(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}function $P(e){return Math.log(e)}function eF(e){return Math.exp(e)}function tF(e){return-Math.log(-e)}function nF(e){return-Math.exp(-e)}function rF(e){return isFinite(e)?+(`1e`+e):e<0?0:e}function iF(e){return e===10?rF:e===Math.E?Math.exp:t=>e**+t}function aF(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function oF(e){return(t,n)=>-e(-t,n)}function sF(e){let t=e($P,eF),n=t.domain,r=10,i,a;function o(){return i=aF(r),a=iF(r),n()[0]<0?(i=oF(i),a=oF(a),e(tF,nF)):e($P,eF),t}return t.base=function(e){return arguments.length?(r=+e,o()):r},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{let t=n(),o=t[0],s=t[t.length-1],c=s<o;c&&([o,s]=[s,o]);let l=i(o),u=i(s),d,f,p=e==null?10:+e,m=[];if(!(r%1)&&u-l<p){if(l=Math.floor(l),u=Math.ceil(u),o>0){for(;l<=u;++l)for(d=1;d<r;++d)if(f=l<0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}}else for(;l<=u;++l)for(d=r-1;d>=1;--d)if(f=l>0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}m.length*2<p&&(m=IM(o,s,p))}else m=IM(l,u,Math.min(u-l,p)).map(a);return c?m.reverse():m},t.tickFormat=(e,n)=>{if(e??=10,n??=r===10?`s`:`,`,typeof n!=`function`&&(!(r%1)&&(n=AP(n)).precision==null&&(n.trim=!0),n=HP(n)),e===1/0)return n;let o=Math.max(1,r*e/t.ticks().length);return e=>{let t=e/a(Math.round(i(e)));return t*r<r-.5&&(t*=r),t<=o?n(e):``}},t.nice=()=>n(QP(n(),{floor:e=>a(Math.floor(i(e))),ceil:e=>a(Math.ceil(i(e)))})),t}function cF(){let e=sF(SP()).domain([1,10]);return e.copy=()=>xP(e,cF()).base(e.base()),KM.apply(e,arguments),e}function lF(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function uF(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function dF(e){var t=1,n=e(lF(t),uF(t));return n.constant=function(n){return arguments.length?e(lF(t=+n),uF(t)):t},YP(n)}function fF(){var e=dF(SP());return e.copy=function(){return xP(e,fF()).constant(e.constant())},KM.apply(e,arguments)}function pF(e){return function(t){return t<0?-((-t)**+e):t**+e}}function mF(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function hF(e){return e<0?-e*e:e*e}function gF(e){var t=e(gP,gP),n=1;function r(){return n===1?e(gP,gP):n===.5?e(mF,hF):e(pF(n),pF(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},YP(t)}function _F(){var e=gF(SP());return e.copy=function(){return xP(e,_F()).exponent(e.exponent())},KM.apply(e,arguments),e}function vF(){return _F.apply(null,arguments).exponent(.5)}function yF(e){return Math.sign(e)*e*e}function bF(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function xF(){var e=CP(),t=[0,1],n=!1,r;function i(t){var i=bF(e(t));return isNaN(i)?r:n?Math.round(i):i}return i.invert=function(t){return e.invert(yF(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(n){return arguments.length?(e.range((t=Array.from(n,mP)).map(yF)),i):t.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return xF(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},KM.apply(i,arguments),YP(i)}function SF(){var e=[],t=[],n=[],r;function i(){var r=0,i=Math.max(1,t.length);for(n=Array(i-1);++r<i;)n[r-1]=WM(e,r/i);return a}function a(e){return e==null||isNaN(e=+e)?r:t[CM(n,e)]}return a.invertExtent=function(r){var i=t.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(gM),i()},a.range=function(e){return arguments.length?(t=Array.from(e),i()):t.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.quantiles=function(){return n.slice()},a.copy=function(){return SF().domain(e).range(t).unknown(r)},KM.apply(a,arguments)}function CF(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function o(e){return e!=null&&e<=e?i[CM(r,e,0,n)]:a}function s(){var i=-1;for(r=Array(n);++i<n;)r[i]=((i+1)*t-(i-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?([e,t]=n,e=+e,t=+t,s()):[e,t]},o.range=function(e){return arguments.length?(n=(i=Array.from(e)).length-1,s()):i.slice()},o.invertExtent=function(a){var o=i.indexOf(a);return o<0?[NaN,NaN]:o<1?[e,r[0]]:o>=n?[r[n-1],t]:[r[o-1],r[o]]},o.unknown=function(e){return arguments.length&&(a=e),o},o.thresholds=function(){return r.slice()},o.copy=function(){return CF().domain([e,t]).range(i).unknown(a)},KM.apply(YP(o),arguments)}function wF(){var e=[.5],t=[0,1],n,r=1;function i(i){return i!=null&&i<=i?t[CM(e,i,0,r)]:n}return i.domain=function(n){return arguments.length?(e=Array.from(n),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(n){return arguments.length?(t=Array.from(n),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return wF().domain(e).range(t).unknown(n)},KM.apply(i,arguments)}var TF=new Date,EF=new Date;function DF(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>DF(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(TF.setTime(+t),EF.setTime(+r),e(TF),e(EF),Math.floor(n(TF,EF))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var OF=DF(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);OF.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?DF(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):OF),OF.range;var kF=1e3,AF=kF*60,jF=AF*60,MF=jF*24,NF=MF*7,PF=MF*30,FF=MF*365,IF=DF(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*kF)},(e,t)=>(t-e)/kF,e=>e.getUTCSeconds());IF.range;var LF=DF(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*kF)},(e,t)=>{e.setTime(+e+t*AF)},(e,t)=>(t-e)/AF,e=>e.getMinutes());LF.range;var RF=DF(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*AF)},(e,t)=>(t-e)/AF,e=>e.getUTCMinutes());RF.range;var zF=DF(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*kF-e.getMinutes()*AF)},(e,t)=>{e.setTime(+e+t*jF)},(e,t)=>(t-e)/jF,e=>e.getHours());zF.range;var BF=DF(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*jF)},(e,t)=>(t-e)/jF,e=>e.getUTCHours());BF.range;var VF=DF(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*AF)/MF,e=>e.getDate()-1);VF.range;var HF=DF(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/MF,e=>e.getUTCDate()-1);HF.range;var UF=DF(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/MF,e=>Math.floor(e/MF));UF.range;function WF(e){return DF(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*AF)/NF)}var GF=WF(0),ire=WF(1),are=WF(2),ore=WF(3),sre=WF(4),cre=WF(5),lre=WF(6);GF.range,ire.range,are.range,ore.range,sre.range,cre.range,lre.range;function KF(e){return DF(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/NF)}var qF=KF(0),ure=KF(1),dre=KF(2),fre=KF(3),pre=KF(4),mre=KF(5),hre=KF(6);qF.range,ure.range,dre.range,fre.range,pre.range,mre.range,hre.range;var JF=DF(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());JF.range;var YF=DF(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());YF.range;var XF=DF(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());XF.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:DF(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),XF.range;var ZF=DF(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());ZF.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:DF(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),ZF.range;function QF(e,t,n,r,i,a){let o=[[IF,1,kF],[IF,5,5*kF],[IF,15,15*kF],[IF,30,30*kF],[a,1,AF],[a,5,5*AF],[a,15,15*AF],[a,30,30*AF],[i,1,jF],[i,3,3*jF],[i,6,6*jF],[i,12,12*jF],[r,1,MF],[r,2,2*MF],[n,1,NF],[t,1,PF],[t,3,3*PF],[e,1,FF]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=vM(([,,e])=>e).right(o,i);if(a===o.length)return e.every(RM(t/FF,n/FF,r));if(a===0)return OF.every(Math.max(RM(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[gre,_re]=QF(ZF,YF,qF,UF,BF,RF),[vre,yre]=QF(XF,JF,GF,VF,zF,LF),$F=new Date,eI=new Date;function tI(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),n==null?1:Math.floor(n)),e},i.range=function(n,r,a){var o=[],s;if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=function(n){return tI(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return $F.setTime(+t),eI.setTime(+r),e($F),e(eI),Math.floor(n($F,eI))},i.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i}),i}var nI=6e4,rI=864e5,iI=6048e5,aI=tI(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*nI)/rI},function(e){return e.getDate()-1});aI.range;function oI(e){return tI(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t*7)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*nI)/iI})}var sI=oI(0),cI=oI(1),bre=oI(2),xre=oI(3),lI=oI(4),Sre=oI(5),Cre=oI(6);sI.range,cI.range,bre.range,xre.range,lI.range,Sre.range,Cre.range;var uI=tI(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});uI.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:tI(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)})},uI.range;var dI=tI(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/rI},function(e){return e.getUTCDate()-1});dI.range;function fI(e){return tI(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t*7)},function(e,t){return(t-e)/iI})}var pI=fI(0),mI=fI(1),wre=fI(2),Tre=fI(3),hI=fI(4),Ere=fI(5),Dre=fI(6);pI.range,mI.range,wre.range,Tre.range,hI.range,Ere.range,Dre.range;var gI=tI(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});gI.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:tI(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})},gI.range;function _I(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function vI(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function yI(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function Ore(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=CI(i),u=wI(i),d=CI(a),f=wI(a),p=CI(o),m=wI(o),h=CI(s),g=wI(s),_=CI(c),v=wI(c),y={a:A,A:re,b:j,B:ie,c:null,d:kI,e:kI,f:Zre,g:sie,G:lie,H:Jre,I:Yre,j:Xre,L:AI,m:Qre,M:$re,p:ae,q:oe,Q:II,s:LI,S:eie,u:tie,U:nie,V:rie,w:iie,W:aie,x:null,X:null,y:oie,Y:cie,Z:uie,\"%\":FI},b={a:se,A:ce,b:M,B:le,c:null,d:MI,e:MI,f:mie,g:wie,G:Eie,H:die,I:fie,j:pie,L:NI,m:hie,M:gie,p:ue,q:de,Q:II,s:LI,S:_ie,u:vie,U:yie,V:bie,w:xie,W:Sie,x:null,X:null,y:Cie,Y:Tie,Z:Die,\"%\":FI},x={a:E,A:D,b:O,B:k,c:ee,d:DI,e:DI,f:Wre,g:EI,G:TI,H:OI,I:OI,j:Bre,L:Ure,m:zre,M:Vre,p:T,q:Rre,Q:Kre,s:qre,S:Hre,u:Nre,U:Pre,V:Fre,w:Mre,W:Ire,x:te,X:ne,y:EI,Y:TI,Z:Lre,\"%\":Gre};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=bI[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=yI(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=vI(yI(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?mI.ceil(a):mI(a),a=dI.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=_I(yI(r.y,0,1)),o=a.getDay(),a=o>4||o===0?cI.ceil(a):cI(a),a=aI.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?vI(yI(r.y,0,1)).getUTCDay():_I(yI(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,vI(r)):_I(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in bI?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function ee(e,n,r){return w(e,t,n,r)}function te(e,t,r){return w(e,n,t,r)}function ne(e,t,n){return w(e,r,t,n)}function A(e){return o[e.getDay()]}function re(e){return a[e.getDay()]}function j(e){return c[e.getMonth()]}function ie(e){return s[e.getMonth()]}function ae(e){return i[+(e.getHours()>=12)]}function oe(e){return 1+~~(e.getMonth()/3)}function se(e){return o[e.getUTCDay()]}function ce(e){return a[e.getUTCDay()]}function M(e){return c[e.getUTCMonth()]}function le(e){return s[e.getUTCMonth()]}function ue(e){return i[+(e.getUTCHours()>=12)]}function de(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var bI={\"-\":``,_:` `,0:`0`},xI=/^\\s*\\d+/,kre=/^%/,Are=/[\\\\^$*+?|[\\]().{}]/g;function SI(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function jre(e){return e.replace(Are,`\\\\$&`)}function CI(e){return RegExp(`^(?:`+e.map(jre).join(`|`)+`)`,`i`)}function wI(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Mre(e,t,n){var r=xI.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Nre(e,t,n){var r=xI.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Pre(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Fre(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Ire(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function TI(e,t,n){var r=xI.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function EI(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Lre(e,t,n){var r=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function Rre(e,t,n){var r=xI.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function zre(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function DI(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Bre(e,t,n){var r=xI.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function OI(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Vre(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Hre(e,t,n){var r=xI.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Ure(e,t,n){var r=xI.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Wre(e,t,n){var r=xI.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Gre(e,t,n){var r=kre.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Kre(e,t,n){var r=xI.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function qre(e,t,n){var r=xI.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function kI(e,t){return SI(e.getDate(),t,2)}function Jre(e,t){return SI(e.getHours(),t,2)}function Yre(e,t){return SI(e.getHours()%12||12,t,2)}function Xre(e,t){return SI(1+aI.count(uI(e),e),t,3)}function AI(e,t){return SI(e.getMilliseconds(),t,3)}function Zre(e,t){return AI(e,t)+`000`}function Qre(e,t){return SI(e.getMonth()+1,t,2)}function $re(e,t){return SI(e.getMinutes(),t,2)}function eie(e,t){return SI(e.getSeconds(),t,2)}function tie(e){var t=e.getDay();return t===0?7:t}function nie(e,t){return SI(sI.count(uI(e)-1,e),t,2)}function jI(e){var t=e.getDay();return t>=4||t===0?lI(e):lI.ceil(e)}function rie(e,t){return e=jI(e),SI(lI.count(uI(e),e)+(uI(e).getDay()===4),t,2)}function iie(e){return e.getDay()}function aie(e,t){return SI(cI.count(uI(e)-1,e),t,2)}function oie(e,t){return SI(e.getFullYear()%100,t,2)}function sie(e,t){return e=jI(e),SI(e.getFullYear()%100,t,2)}function cie(e,t){return SI(e.getFullYear()%1e4,t,4)}function lie(e,t){var n=e.getDay();return e=n>=4||n===0?lI(e):lI.ceil(e),SI(e.getFullYear()%1e4,t,4)}function uie(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+SI(t/60|0,`0`,2)+SI(t%60,`0`,2)}function MI(e,t){return SI(e.getUTCDate(),t,2)}function die(e,t){return SI(e.getUTCHours(),t,2)}function fie(e,t){return SI(e.getUTCHours()%12||12,t,2)}function pie(e,t){return SI(1+dI.count(gI(e),e),t,3)}function NI(e,t){return SI(e.getUTCMilliseconds(),t,3)}function mie(e,t){return NI(e,t)+`000`}function hie(e,t){return SI(e.getUTCMonth()+1,t,2)}function gie(e,t){return SI(e.getUTCMinutes(),t,2)}function _ie(e,t){return SI(e.getUTCSeconds(),t,2)}function vie(e){var t=e.getUTCDay();return t===0?7:t}function yie(e,t){return SI(pI.count(gI(e)-1,e),t,2)}function PI(e){var t=e.getUTCDay();return t>=4||t===0?hI(e):hI.ceil(e)}function bie(e,t){return e=PI(e),SI(hI.count(gI(e),e)+(gI(e).getUTCDay()===4),t,2)}function xie(e){return e.getUTCDay()}function Sie(e,t){return SI(mI.count(gI(e)-1,e),t,2)}function Cie(e,t){return SI(e.getUTCFullYear()%100,t,2)}function wie(e,t){return e=PI(e),SI(e.getUTCFullYear()%100,t,2)}function Tie(e,t){return SI(e.getUTCFullYear()%1e4,t,4)}function Eie(e,t){var n=e.getUTCDay();return e=n>=4||n===0?hI(e):hI.ceil(e),SI(e.getUTCFullYear()%1e4,t,4)}function Die(){return`+0000`}function FI(){return`%`}function II(e){return+e}function LI(e){return Math.floor(e/1e3)}var RI,zI,BI;Oie({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function Oie(e){return RI=Ore(e),zI=RI.format,RI.parse,BI=RI.utcFormat,RI.utcParse,RI}function kie(e){return new Date(e)}function Aie(e){return e instanceof Date?+e:+new Date(+e)}function VI(e,t,n,r,i,a,o,s,c,l){var u=CP(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,Aie)):f().map(kie)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(QP(n,e)):u},u.copy=function(){return xP(u,VI(e,t,n,r,i,a,o,s,c,l))},u}function jie(){return KM.apply(VI(vre,yre,XF,JF,GF,VF,zF,LF,IF,zI).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Mie(){return KM.apply(VI(gre,_re,ZF,YF,qF,HF,BF,RF,IF,BI).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function HI(){var e=0,t=1,n,r,i,a,o=gP,s=!1,c;function l(e){return e==null||isNaN(e=+e)?c:o(i===0?.5:(e=(a(e)-n)*i,s?Math.max(0,Math.min(1,e)):e))}l.domain=function(o){return arguments.length?([e,t]=o,n=a(e=+e),r=a(t=+t),i=n===r?0:1/(r-n),l):[e,t]},l.clamp=function(e){return arguments.length?(s=!!e,l):s},l.interpolator=function(e){return arguments.length?(o=e,l):o};function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,o=e(n,r),l):[o(0),o(1)]}}return l.range=u(tP),l.rangeRound=u(nP),l.unknown=function(e){return arguments.length?(c=e,l):c},function(o){return a=o,n=o(e),r=o(t),i=n===r?0:1/(r-n),l}}function UI(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function WI(){var e=YP(HI()(gP));return e.copy=function(){return UI(e,WI())},qM.apply(e,arguments)}function GI(){var e=sF(HI()).domain([1,10]);return e.copy=function(){return UI(e,GI()).base(e.base())},qM.apply(e,arguments)}function KI(){var e=dF(HI());return e.copy=function(){return UI(e,KI()).constant(e.constant())},qM.apply(e,arguments)}function qI(){var e=gF(HI());return e.copy=function(){return UI(e,qI()).exponent(e.exponent())},qM.apply(e,arguments)}function Nie(){return qI.apply(null,arguments).exponent(.5)}function JI(){var e=[],t=gP;function n(n){if(n!=null&&!isNaN(n=+n))return t((CM(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(gM),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((n,r)=>t(r/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(n,r)=>UM(e,r/t))},n.copy=function(){return JI(t).domain(e)},qM.apply(n,arguments)}function YI(){var e=0,t=.5,n=1,r=1,i,a,o,s,c,l=gP,u,d=!1,f;function p(e){return isNaN(e=+e)?f:(e=.5+((e=+u(e))-a)*(r*e<r*a?s:c),l(d?Math.max(0,Math.min(1,e)):e))}p.domain=function(l){return arguments.length?([e,t,n]=l,i=u(e=+e),a=u(t=+t),o=u(n=+n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p):[e,t,n]},p.clamp=function(e){return arguments.length?(d=!!e,p):d},p.interpolator=function(e){return arguments.length?(l=e,p):l};function m(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,l=fP(e,[n,r,i]),p):[l(0),l(.5),l(1)]}}return p.range=m(tP),p.rangeRound=m(nP),p.unknown=function(e){return arguments.length?(f=e,p):f},function(l){return u=l,i=l(e),a=l(t),o=l(n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p}}function XI(){var e=YP(YI()(gP));return e.copy=function(){return UI(e,XI())},qM.apply(e,arguments)}function ZI(){var e=sF(YI()).domain([.1,1,10]);return e.copy=function(){return UI(e,ZI()).base(e.base())},qM.apply(e,arguments)}function QI(){var e=dF(YI());return e.copy=function(){return UI(e,QI()).constant(e.constant())},qM.apply(e,arguments)}function $I(){var e=gF(YI());return e.copy=function(){return UI(e,$I()).exponent(e.exponent())},qM.apply(e,arguments)}function Pie(){return $I.apply(null,arguments).exponent(.5)}var eL=c({scaleBand:()=>XM,scaleDiverging:()=>XI,scaleDivergingLog:()=>ZI,scaleDivergingPow:()=>$I,scaleDivergingSqrt:()=>Pie,scaleDivergingSymlog:()=>QI,scaleIdentity:()=>ZP,scaleImplicit:()=>JM,scaleLinear:()=>XP,scaleLog:()=>cF,scaleOrdinal:()=>YM,scalePoint:()=>QM,scalePow:()=>_F,scaleQuantile:()=>SF,scaleQuantize:()=>CF,scaleRadial:()=>xF,scaleSequential:()=>WI,scaleSequentialLog:()=>GI,scaleSequentialPow:()=>qI,scaleSequentialQuantile:()=>JI,scaleSequentialSqrt:()=>Nie,scaleSequentialSymlog:()=>KI,scaleSqrt:()=>vF,scaleSymlog:()=>fF,scaleThreshold:()=>wF,scaleTime:()=>jie,scaleUtc:()=>Mie,tickFormat:()=>JP});function Fie(e){var t=eL;if(e in t&&typeof t[e]==`function`)return t[e]();var n=`scale${ox(e)}`;if(n in t&&typeof t[n]==`function`)return t[n]()}function tL(e,t,n){if(typeof e==`function`)return e.copy().domain(t).range(n);if(e!=null){var r=Fie(e);if(r!=null)return r.domain(t).range(n),r}}function nL(e,t,n,r){if(!(n==null||r==null))return typeof e.scale==`function`?tL(e.scale,n,r):tL(t,n,r)}function Iie(e){return`scale${ox(e)}`}function Lie(e){return Iie(e)in eL}var rL=(e,t,n)=>{if(e!=null){var{scale:r,type:i}=e;if(r===`auto`)return i===`category`&&n&&(n.indexOf(`LineChart`)>=0||n.indexOf(`AreaChart`)>=0||n.indexOf(`ComposedChart`)>=0&&!t)?`point`:i===`category`?`band`:`linear`;if(typeof r==`string`)return Lie(r)?r:`point`}};function Rie(e,t){for(var n=0,r=e.length,i=e[0]<e[e.length-1];n<r;){var a=Math.floor((n+r)/2);(i?e[a]<t:e[a]>t)?n=a+1:r=a}return n}function iL(e,t){if(e){var n=t??e.domain(),r=n.map(t=>e(t)??0),i=e.range();if(!(n.length===0||i.length<2))return e=>{var t=Rie(r,e);if(t<=0)return n[0];if(t>=n.length)return n[n.length-1];var i=r[t-1]??0,a=r[t]??0;return Math.abs(e-i)<=Math.abs(e-a)?n[t-1]:n[t]}}}function zie(e){if(e!=null)return`invert`in e&&typeof e.invert==`function`?e.invert.bind(e):iL(e,void 0)}function aL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?aL(Object(n),!0).forEach(function(t){Bie(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bie(e,t,n){return(t=Vie(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vie(e){var t=Hie(e,`string`);return typeof t==`symbol`?t:t+``}function Hie(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var sL=[0,`auto`],cL={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`bottom`,padding:{left:0,right:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`category`,unit:void 0,niceTicks:`auto`},lL=(e,t)=>e.cartesianAxis.xAxis[t],uL=(e,t)=>lL(e,t)??cL,dL={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:sL,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`left`,padding:{top:0,bottom:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`number`,unit:void 0,niceTicks:`auto`,width:60},fL=(e,t)=>e.cartesianAxis.yAxis[t],pL=(e,t)=>fL(e,t)??dL,mL={domain:[0,`auto`],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:``,range:[64,64],scale:`auto`,type:`number`,unit:``},hL=(e,t)=>e.cartesianAxis.zAxis[t]??mL,gL=(e,t,n)=>{switch(t){case`xAxis`:return uL(e,n);case`yAxis`:return pL(e,n);case`zAxis`:return hL(e,n);case`angleAxis`:return qj(e,n);case`radiusAxis`:return Jj(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},Uie=(e,t,n)=>{switch(t){case`xAxis`:return uL(e,n);case`yAxis`:return pL(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},_L=(e,t,n)=>{switch(t){case`xAxis`:return uL(e,n);case`yAxis`:return pL(e,n);case`angleAxis`:return qj(e,n);case`radiusAxis`:return Jj(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},vL=e=>e.graphicalItems.cartesianItems.some(e=>e.type===`bar`)||e.graphicalItems.polarItems.some(e=>e.type===`radialBar`);function yL(e,t){return n=>{switch(e){case`xAxis`:return`xAxisId`in n&&n.xAxisId===t;case`yAxis`:return`yAxisId`in n&&n.yAxisId===t;case`zAxis`:return`zAxisId`in n&&n.zAxisId===t;case`angleAxis`:return`angleAxisId`in n&&n.angleAxisId===t;case`radiusAxis`:return`radiusAxisId`in n&&n.radiusAxisId===t;default:return!1}}}var bL=e=>e.graphicalItems.cartesianItems,Wie=$([iM,aM],yL),xL=(e,t,n)=>e.filter(n).filter(e=>t?.includeHidden===!0?!0:!e.hide),SL=$([bL,gL,Wie],xL,{memoizeOptions:{resultEqualityCheck:uM}}),CL=$([SL],e=>e.filter(e=>e.type===`area`||e.type===`bar`).filter(cM)),wL=e=>e.filter(e=>!(`stackId`in e)||e.stackId===void 0),Gie=$([SL],wL),TL=e=>e.map(e=>e.data).filter(Boolean).flat(1),Kie=$([SL],e=>e.some(e=>!e.data)),EL=$([SL],TL,{memoizeOptions:{resultEqualityCheck:uM}}),DL=(e,t)=>{var{chartData:n=[],dataStartIndex:r,dataEndIndex:i}=t;return e.length>0?e:n.slice(r,i+1)},OL=$([EL,aj],DL),kL=(e,t,n)=>t?.dataKey==null?n.length>0?n.map(e=>e.dataKey).flatMap(t=>e.map(e=>({value:$T(e,t)}))):e.map(e=>({value:e})):e.map(e=>({value:$T(e,t.dataKey)})),AL=(e,t,n,r,i,a)=>{var{chartData:o=[],dataStartIndex:s,dataEndIndex:c}=r,l=kL(e,t,n);return i&&t?.dataKey!=null&&a.length>0?[...o.slice(s,c+1).map(e=>({value:$T(e,t.dataKey)})).filter(e=>e.value!=null),...l]:l},jL=$([OL,gL,SL,aj,Kie,EL],AL);function ML(e){if(ex(e)||e instanceof Date){var t=Number(e);if(YT(t))return t}}function NL(e){if(Array.isArray(e)){var t=[ML(e[0]),ML(e[1])];return uj(t)?t:void 0}var n=ML(e);if(n!=null)return[n,n]}function PL(e){return e.map(ML).filter(sx)}function qie(e,t){var n=ML(e),r=ML(t);return n==null&&r==null?0:n==null?-1:r==null?1:n-r}var Jie=$([jL],e=>e?.map(e=>e.value).sort(qie));function FL(e,t){switch(e){case`xAxis`:return t.direction===`x`;case`yAxis`:return t.direction===`y`;default:return!1}}function Yie(e,t,n){if(!n||!n.length)return[];var r;if(typeof t==`number`&&!Qb(t))r=t;else if(Array.isArray(t)){var i=PL(t);i.length>0&&(r=Math.max(...i))}return r==null?[]:PL(n.flatMap(t=>{var n=$T(e,t.dataKey),i,a;if(Array.isArray(n)?[i,a]=n:i=a=n,!(!YT(i)||!YT(a)))return[r-i,r+a]}))}var IL=e=>_L(e,fM(e),pM(e)),LL=$([IL],e=>e?.dataKey),Xie=$([CL,aj,IL],sM),RL=(e,t,n,r)=>{var i=t.reduce((e,t)=>{if(t.stackId==null)return e;var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},{});return Object.fromEntries(Object.entries(i).map(t=>{var[i,a]=t,o=r?[...a].reverse():a;return[i,{stackedData:Qte(e,o.map(oM),n),graphicalItems:o}]}))},zL=$([Xie,CL,Oj,kj],RL),BL=(e,t,n,r)=>{var{dataStartIndex:i,dataEndIndex:a}=t;if(r==null&&n!==`zAxis`){var o=tne(e,i,a);if(!(o!=null&&o[0]===0&&o[1]===0))return o}},Zie=$([gL],e=>e.allowDataOverflow),VL=e=>{if(e==null||!(`domain`in e))return sL;if(e.domain!=null)return e.domain;if(`ticks`in e&&e.ticks!=null){if(e.type===`number`){var t=PL(e.ticks);return[Math.min(...t),Math.max(...t)]}if(e.type===`category`)return e.ticks.map(String)}return e?.domain??sL},HL=$([gL],VL),UL=$([HL,Zie],fj),Qie=$([zL,rj,iM,UL],BL,{memoizeOptions:{resultEqualityCheck:lM}}),WL=e=>e.errorBars,$ie=(e,t,n)=>e.flatMap(e=>t[e.id]).filter(Boolean).filter(e=>FL(n,e)),GL=function(){var e=[...arguments].filter(Boolean);if(e.length!==0){var t=e.flat();return[Math.min(...t),Math.max(...t)]}},KL=function(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[],o,s;if(n.length>0&&n.forEach(e=>{var n=e.data==null?a:[...e.data],c=r[e.id]?.filter(e=>FL(i,e));n.forEach(n=>{var r=$T(n,t.dataKey??e.dataKey),i=Yie(n,r,c);if(i.length>=2){var a=Math.min(...i),l=Math.max(...i);(o==null||a<o)&&(o=a),(s==null||l>s)&&(s=l)}var u=NL(r);u!=null&&(o=o==null?u[0]:Math.min(o,u[0]),s=s==null?u[1]:Math.max(s,u[1]))})}),t?.dataKey!=null&&n.length===0&&e.forEach(e=>{var n=NL($T(e,t.dataKey));n!=null&&(o=o==null?n[0]:Math.min(o,n[0]),s=s==null?n[1]:Math.max(s,n[1]))}),YT(o)&&YT(s))return[o,s]},eae=$([OL,gL,Gie,WL,iM,sj],KL,{memoizeOptions:{resultEqualityCheck:lM}});function tae(e){var{value:t}=e;if(ex(t)||t instanceof Date)return t}var nae=(e,t,n)=>{var r=e.map(tae).filter(e=>e!=null);return n&&(t.dataKey==null||t.allowDuplicatedCategory&&rx(r))?nj(0,e.length):t.allowDuplicatedCategory?r:Array.from(new Set(r))},qL=e=>e.referenceElements.dots,JL=(e,t,n)=>e.filter(e=>e.ifOverflow===`extendDomain`).filter(e=>t===`xAxis`?e.xAxisId===n:e.yAxisId===n),rae=$([qL,iM,aM],JL),YL=e=>e.referenceElements.areas,iae=$([YL,iM,aM],JL),XL=e=>e.referenceElements.lines,aae=$([XL,iM,aM],JL),ZL=(e,t)=>{if(e!=null){var n=PL(e.map(e=>t===`xAxis`?e.x:e.y));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},oae=$(rae,iM,ZL),QL=(e,t)=>{if(e!=null){var n=PL(e.flatMap(e=>[t===`xAxis`?e.x1:e.y1,t===`xAxis`?e.x2:e.y2]));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},sae=$([iae,iM],QL);function cae(e){if(e.x!=null)return PL([e.x]);var t=e.segment?.map(e=>e.x);return t==null||t.length===0?[]:PL(t)}function lae(e){if(e.y!=null)return PL([e.y]);var t=e.segment?.map(e=>e.y);return t==null||t.length===0?[]:PL(t)}var $L=(e,t)=>{if(e!=null){var n=e.flatMap(e=>t===`xAxis`?cae(e):lae(e));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},uae=$(oae,$([aae,iM],$L),sae,(e,t,n)=>GL(e,n,t)),eR=(e,t,n,r,i,a,o,s)=>n??pj(t,o===`vertical`&&s===`xAxis`||o===`horizontal`&&s===`yAxis`?GL(r,a,i):GL(a,i),e.allowDataOverflow),dae=$([gL,HL,UL,Qie,eae,uae,HE,iM],eR,{memoizeOptions:{resultEqualityCheck:lM}}),fae=[0,1],tR=(e,t,n,r,i,a,o)=>{if(!((e==null||n==null||n.length===0)&&o===void 0)){var{dataKey:s,type:c}=e,l=eE(t,a);return l&&s==null?nj(0,n?.length??0):c===`category`?nae(r,e,l):i===`expand`&&!l?fae:o}},nR=$([gL,HE,OL,jL,Oj,iM,dae],tR),rR=$([gL,vL,Aj],rL),iR=(e,t,n)=>{var{niceTicks:r}=t;if(r!==`none`){var i=VL(t),a=Array.isArray(i)&&(i[0]===`auto`||i[1]===`auto`);if((r===`snap125`||r===`adaptive`)&&t!=null&&t.tickCount&&uj(e)){if(a)return Sj(e,t.tickCount,t.allowDecimals,r);if(t.type===`number`)return Cj(e,t.tickCount,t.allowDecimals,r)}if(r===`auto`&&n===`linear`&&t!=null&&t.tickCount){if(a&&uj(e))return Sj(e,t.tickCount,t.allowDecimals,`adaptive`);if(t.type===`number`&&uj(e))return Cj(e,t.tickCount,t.allowDecimals,`adaptive`)}}},aR=$([nR,_L,rR],iR),oR=(e,t,n,r)=>{if(r!==`angleAxis`&&e?.type===`number`&&uj(t)&&Array.isArray(n)&&n.length>0){var i=t[0],a=n[0]??0,o=t[1],s=n[n.length-1]??0;return[Math.min(i,a),Math.max(o,s)]}return t},pae=$([gL,nR,aR,iM],oR),sR=$($(jL,gL,(e,t)=>{if(!(!t||t.type!==`number`)){var n=1/0,r=Array.from(PL(e.map(e=>e.value))).sort((e,t)=>e-t),i=r[0],a=r[r.length-1];if(i==null||a==null)return 1/0;var o=a-i;if(o===0)return 1/0;for(var s=0;s<r.length-1;s++){var c=r[s],l=r[s+1];if(!(c==null||l==null)){var u=l-c;n=Math.min(n,u)}}return n/o}}),HE,Ej,SE,(e,t,n,r,i)=>i,(e,t,n,r,i)=>{if(!YT(e))return 0;var a=t===`vertical`?r.height:r.width;if(i===`gap`)return e*a/2;if(i===`no-gap`){var o=nx(n,e*a),s=e*a/2;return s-o-(s-o)/a*o}return 0}),mae=(e,t,n)=>{var r=uL(e,t);return r==null||typeof r.padding!=`string`?0:sR(e,`xAxis`,t,n,r.padding)},hae=(e,t,n)=>{var r=pL(e,t);return r==null||typeof r.padding!=`string`?0:sR(e,`yAxis`,t,n,r.padding)},gae=$(uL,mae,(e,t)=>{if(e==null)return{left:0,right:0};var{padding:n}=e;return typeof n==`string`?{left:t,right:t}:{left:(n.left??0)+t,right:(n.right??0)+t}}),_ae=$(pL,hae,(e,t)=>{if(e==null)return{top:0,bottom:0};var{padding:n}=e;return typeof n==`string`?{top:t,bottom:t}:{top:(n.top??0)+t,bottom:(n.bottom??0)+t}}),vae=$([SE,gae,EE,TE,(e,t,n)=>n],(e,t,n,r,i)=>{var{padding:a}=r;return i?[a.left,n.width-a.right]:[e.left+t.left,e.left+e.width-t.right]}),yae=$([SE,HE,_ae,EE,TE,(e,t,n)=>n],(e,t,n,r,i,a)=>{var{padding:o}=i;return a?[r.height-o.bottom,o.top]:t===`horizontal`?[e.top+e.height-n.bottom,e.top+n.top]:[e.top+n.top,e.top+e.height-n.bottom]}),cR=(e,t,n,r)=>{switch(t){case`xAxis`:return vae(e,n,r);case`yAxis`:return yae(e,n,r);case`zAxis`:return hL(e,n)?.range;case`angleAxis`:return $j(e);case`radiusAxis`:return tM(e,n);default:return}},lR=$([gL,cR],Rj),uR=$([gL,rR,$([rR,pae],hM),lR],nL),dR=(e,t,n,r)=>{if(!(n==null||n.dataKey==null)){var{type:i,scale:a}=n;if(eE(e,r)&&(i===`number`||a!==`auto`))return t.map(e=>e.value)}},fR=$([HE,jL,_L,iM],dR),pR=$([uR],mM);$([uR],zie),$([uR,Jie],iL),$([SL,WL,iM],$ie);function mR(e,t){return e.id<t.id?-1:+(e.id>t.id)}var hR=(e,t)=>t,gR=(e,t,n)=>n,bae=$(gE,hR,gR,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(mR)),xae=$(_E,hR,gR,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(mR)),_R=(e,t)=>({width:e.width,height:t.height}),Sae=(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height}),vR=$(SE,uL,_R),Cae=(e,t,n)=>{switch(t){case`top`:return e.top;case`bottom`:return n-e.bottom;default:return 0}},wae=(e,t,n)=>{switch(t){case`left`:return e.left;case`right`:return n-e.right;default:return 0}},Tae=$(mE,SE,bae,hR,gR,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=_R(t,n);o??=Cae(t,r,e);var c=r===`top`&&!i||r===`bottom`&&i;a[n.id]=o-Number(c)*s.height,o+=(c?-1:1)*s.height}),a}),Eae=$(pE,SE,xae,hR,gR,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=Sae(t,n);o??=wae(t,r,e);var c=r===`left`&&!i||r===`right`&&i;a[n.id]=o-Number(c)*s.width,o+=(c?-1:1)*s.width}),a}),Dae=$([SE,uL,(e,t)=>{var n=uL(e,t);if(n!=null)return Tae(e,n.orientation,n.mirror)},(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:e.left,y:0}:{x:e.left,y:i}}}),Oae=$([SE,pL,(e,t)=>{var n=pL(e,t);if(n!=null)return Eae(e,n.orientation,n.mirror)},(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:0,y:e.top}:{x:i,y:e.top}}}),yR=$(SE,pL,(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height})),bR=(e,t,n)=>{switch(t){case`xAxis`:return vR(e,n).width;case`yAxis`:return yR(e,n).height;default:return}},xR=(e,t,n,r)=>{if(n!=null){var{allowDuplicatedCategory:i,type:a,dataKey:o}=n,s=eE(e,r),c=t.map(e=>e.value),l=c.filter(e=>e!=null);if(o&&s&&a===`category`&&i&&rx(l))return c}},SR=$([HE,jL,gL,iM],xR),CR=$([HE,Uie,rR,pR,SR,fR,cR,aR,iM],(e,t,n,r,i,a,o,s,c)=>{if(t!=null){var l=eE(e,c);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:c,categoricalDomain:a,duplicateDomain:i,isCategorical:l,niceTicks:s,range:o,realScaleType:n,scale:r}}}),wR=(e,t,n,r,i,a,o,s,c)=>{if(!(t==null||r==null)){var l=eE(e,c),{type:u,ticks:d,tickCount:f}=t,p=n===`scaleBand`&&typeof r.bandwidth==`function`?r.bandwidth()/2:2,m=u===`category`&&r.bandwidth?r.bandwidth()/p:0;m=c===`angleAxis`&&a!=null&&a.length>=2?Zb(a[0]-a[1])*2*m:m;var h=d||i;return h?h.map((e,t)=>{var n=o?o.indexOf(e):e,i=r.map(n);return YT(i)?{index:t,coordinate:i+m,value:e,offset:m}:null}).filter(sx):l&&s?s.map((e,t)=>{var n=r.map(e);return YT(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(sx):r.ticks?r.ticks(f).map((e,t)=>{var n=r.map(e);return YT(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(sx):r.domain().map((e,t)=>{var n=r.map(e);return YT(n)?{coordinate:n+m,value:o?o[e]:e,index:t,offset:m}:null}).filter(sx)}},TR=$([HE,_L,rR,pR,aR,cR,SR,fR,iM],wR),ER=(e,t,n,r,i,a,o)=>{if(!(t==null||n==null||r==null||r[0]===r[1])){var s=eE(e,o),{tickCount:c}=t,l=0;return l=o===`angleAxis`&&r?.length>=2?Zb(r[0]-r[1])*2*l:l,s&&a?a.map((e,t)=>{var r=n.map(e);return YT(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(sx):n.ticks?n.ticks(c).map((e,t)=>{var r=n.map(e);return YT(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(sx):n.domain().map((e,t)=>{var r=n.map(e);return YT(r)?{coordinate:r+l,value:i?i[e]:e,index:t,offset:l}:null}).filter(sx)}},DR=$([HE,_L,pR,cR,SR,fR,iM],ER),OR=$(gL,pR,(e,t)=>{if(!(e==null||t==null))return oL(oL({},e),{},{scale:t})}),kae=$((e,t,n)=>hL(e,n),$([$([gL,rR,nR,lR],nL)],mM),(e,t)=>{if(!(e==null||t==null))return oL(oL({},e),{},{scale:t})}),Aae=$([HE,gE,_E],(e,t,n)=>{switch(e){case`horizontal`:return t.some(e=>e.reversed)?`right-to-left`:`left-to-right`;case`vertical`:return n.some(e=>e.reversed)?`bottom-to-top`:`top-to-bottom`;case`centric`:case`radial`:return`left-to-right`;default:return}});$([(e,t,n)=>e.renderedTicks[t]?.[n]],e=>{if(!(!e||e.length===0))return t=>{var n=1/0,r=e[0];for(var i of e){var a=Math.abs(i.coordinate-t);a<n&&(n=a,r=i)}return r?.value}});var kR=e=>e.options.defaultTooltipEventType,AR=e=>e.options.validateTooltipEventTypes;function jR(e,t,n){if(e==null)return t;var r=e?`axis`:`item`;return n==null?t:n.includes(r)?r:t}function MR(e,t){return jR(t,kR(e),AR(e))}function NR(e){return Q(t=>MR(t,e))}var PR=(e,t)=>{var n,r=Number(t);if(!(Qb(r)||t==null))return r>=0?e==null||(n=e[r])==null?void 0:n.value:void 0},FR=e=>e.tooltip.settings,IR={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},LR=eT({name:`tooltip`,initialState:{itemInteraction:{click:IR,hover:IR},axisInteraction:{click:IR,hover:IR},keyboardInteraction:IR,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:`hover`,axisId:0,active:!1,defaultIndex:void 0}},reducers:{addTooltipEntrySettings:{reducer(e,t){e.tooltipItemPayloads.push(ND(t.payload))},prepare:zw()},replaceTooltipEntrySettings:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Tw(e).tooltipItemPayloads.indexOf(ND(n));i>-1&&(e.tooltipItemPayloads[i]=ND(r))},prepare:zw()},removeTooltipEntrySettings:{reducer(e,t){var n=Tw(e).tooltipItemPayloads.indexOf(ND(t.payload));n>-1&&e.tooltipItemPayloads.splice(n,1)},prepare:zw()},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate}}}),{addTooltipEntrySettings:RR,replaceTooltipEntrySettings:zR,removeTooltipEntrySettings:BR,setTooltipSettingsState:VR,setActiveMouseOverItemIndex:HR,mouseLeaveItem:UR,mouseLeaveChart:WR,setActiveClickItemIndex:GR,setMouseOverAxisIndex:KR,setMouseClickAxisIndex:qR,setSyncInteraction:JR,setKeyboardInteraction:YR}=LR.actions,XR=LR.reducer;function ZR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function QR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ZR(Object(n),!0).forEach(function(t){$R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $R(e,t,n){return(t=ez(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ez(e){var t=tz(e,`string`);return typeof t==`symbol`?t:t+``}function tz(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function nz(e,t,n){return t===`axis`?n===`click`?e.axisInteraction.click:e.axisInteraction.hover:n===`click`?e.itemInteraction.click:e.itemInteraction.hover}function rz(e){return e.index!=null}var iz=(e,t,n,r)=>{if(t==null)return IR;var i=nz(e,t,n);if(i==null)return IR;if(i.active)return i;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var a=e.settings.active===!0;if(rz(i)){if(a)return QR(QR({},i),{},{active:!0})}else if(r!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:r,graphicalItemId:void 0};return QR(QR({},IR),{},{coordinate:i.coordinate})};function az(e){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(e instanceof Date){var t=e.valueOf();return Number.isFinite(t)?t:void 0}var n=Number(e);return Number.isFinite(n)?n:void 0}function oz(e,t){var n=az(e),r=t[0],i=t[1];return n===void 0?!1:n>=Math.min(r,i)&&n<=Math.max(r,i)}function sz(e,t,n){if(n==null||t==null)return!0;var r=$T(e,t);return r==null||!uj(n)?!0:oz(r,n)}var cz=(e,t,n,r)=>{var i=e?.index;if(i==null)return null;var a=Number(i);if(!YT(a))return i;var o=0,s=1/0;t.length>0&&(s=t.length-1);var c=Math.max(o,Math.min(a,s)),l=t[c];return l==null||sz(l,n,r)?String(c):null},lz=(e,t,n,r,i,a,o)=>{if(a!=null){var s=o[0]?.getPosition(a);if(s!=null)return s;var c=i?.[Number(a)];if(c)switch(n){case`horizontal`:return{x:c.coordinate,y:(r.top+t)/2};default:return{x:(r.left+e)/2,y:c.coordinate}}}},uz=(e,t,n,r)=>{if(t===`axis`)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var i=n===`hover`?e.itemInteraction.hover.graphicalItemId:e.itemInteraction.click.graphicalItemId;if(e.syncInteraction.active&&i==null)return e.tooltipItemPayloads;if(i==null&&(r!=null||e.keyboardInteraction.active)){var a=e.tooltipItemPayloads[0];return a==null?[]:[a]}return e.tooltipItemPayloads.filter(e=>e.settings?.graphicalItemId===i)},dz=e=>e.options.tooltipPayloadSearcher,fz=e=>e.tooltip;function pz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?pz(Object(n),!0).forEach(function(t){hz(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hz(e,t,n){return(t=gz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gz(e){var t=_z(e,`string`);return typeof t==`symbol`?t:t+``}function _z(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vz(e){if(typeof e==`string`||typeof e==`number`)return e}function yz(e){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return e}function bz(e){if(typeof e==`string`||typeof e==`number`)return e;if(typeof e==`function`)return t=>e(t)}function xz(e){if(typeof e==`string`)return e}function Sz(e){if(!(typeof e!=`object`||!e))return{name:`name`in e?vz(e.name):void 0,unit:`unit`in e?yz(e.unit):void 0,dataKey:`dataKey`in e?bz(e.dataKey):void 0,payload:`payload`in e?e.payload:void 0,color:`color`in e?xz(e.color):void 0,fill:`fill`in e?xz(e.fill):void 0}}function Cz(e,t){return e??t}var wz=(e,t,n,r,i,a,o)=>{if(!(t==null||a==null)){var{chartData:s,computedData:c,dataStartIndex:l,dataEndIndex:u}=n;return e.reduce((e,n)=>{var{dataDefinedOnItem:d,settings:f}=n,p=Cz(d,s),m=Array.isArray(p)?JT(p,l,u):p,h=f?.dataKey??r,g=f?.nameKey,_=r&&Array.isArray(m)&&!Array.isArray(m[0])&&o===`axis`?ix(m,r,i):a(m,t,c,g);return Array.isArray(_)?_.forEach(t=>{var n=Sz(t),r=n?.name,i=n?.dataKey,a=n?.payload,o=mz(mz({},f),{},{name:r,unit:n?.unit,color:n?.color??f?.color,fill:n?.fill??f?.fill});e.push(dE({tooltipEntrySettings:o,dataKey:i,payload:a,value:$T(a,i),name:r==null?void 0:String(r)}))}):e.push(dE({tooltipEntrySettings:f,dataKey:h,payload:_,value:$T(_,h),name:$T(_,g)??f?.name})),e},[])}},Tz=$([IL,vL,Aj],rL),Ez=$([$([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),IL,$([fM,pM],yL)],xL,{memoizeOptions:{resultEqualityCheck:uM}}),Dz=$([Ez],e=>e.filter(cM)),Oz=$([Ez],TL,{memoizeOptions:{resultEqualityCheck:uM}}),kz=$([Ez],e=>e.some(e=>!e.data)),Az=$([Oz,rj],DL),jz=$([Dz,rj,IL],sM),Mz=$([Az,IL,Ez,rj,kz,Oz],AL),Nz=$([IL],VL),Pz=$([Nz,$([IL],e=>e.allowDataOverflow)],fj),Fz=$([$([jz,$([Ez],e=>e.filter(cM)),Oj,kj],RL),rj,fM,Pz],BL),Iz=$([Az,IL,$([Ez],wL),WL,fM,lj],KL,{memoizeOptions:{resultEqualityCheck:lM}}),Lz=$([$([qL,fM,pM],JL),fM],ZL),Rz=$([$([YL,fM,pM],JL),fM],QL),zz=$([IL,HE,Az,Mz,Oj,fM,$([IL,Nz,Pz,Fz,Iz,$([Lz,$([$([XL,fM,pM],JL),fM],$L),Rz],GL),HE,fM],eR)],tR),Bz=$([IL,zz,$([zz,IL,Tz],iR),fM],oR),Vz=e=>cR(e,fM(e),pM(e),!1),Hz=$([IL,Vz],Rj),Uz=$([$([IL,Tz,Bz,Hz],nL)],mM),Wz=$([HE,IL,Tz,Uz,Vz,$([HE,Mz,IL,fM],xR),$([HE,Mz,IL,fM],dR),fM],(e,t,n,r,i,a,o,s)=>{if(t){var{type:c}=t,l=eE(e,s);if(r){var u=n===`scaleBand`&&r.bandwidth?r.bandwidth()/2:2,d=c===`category`&&r.bandwidth?r.bandwidth()/u:0;return d=s===`angleAxis`&&i!=null&&i?.length>=2?Zb(i[0]-i[1])*2*d:d,l&&o?o.map((e,t)=>{var n=r.map(e);return YT(n)?{coordinate:n+d,value:e,index:t,offset:d}:null}).filter(sx):r.domain().map((e,t)=>{var n=r.map(e);return YT(n)?{coordinate:n+d,value:a?a[e]:e,index:t,offset:d}:null}).filter(sx)}}}),Gz=$([kR,AR,FR],(e,t,n)=>jR(n.shared,e,t)),Kz=e=>e.tooltip.settings.trigger,qz=e=>e.tooltip.settings.defaultIndex,Jz=$([fz,Gz,Kz,qz],iz),Yz=$([Jz,Az,LL,zz],cz),Xz=$([Wz,Yz],PR),Zz=$([Jz],e=>{if(e)return e.dataKey}),Qz=$([Jz],e=>{if(e)return e.graphicalItemId}),$z=$([fz,Gz,Kz,qz],uz),eB=$([Jz,$([pE,mE,HE,SE,Wz,qz,$z],lz)],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),tB=$([Jz],e=>e?.active??!1),nB=$([$([$z,Yz,rj,LL,Xz,dz,Gz],wz)],e=>{if(e!=null){var t=e.map(e=>e.payload).filter(e=>e!=null);return Array.from(new Set(t))}});function rB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?rB(Object(n),!0).forEach(function(t){aB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function aB(e,t,n){return(t=oB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oB(e){var t=sB(e,`string`);return typeof t==`symbol`?t:t+``}function sB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var cB=()=>Q(IL),lB=()=>{var e=cB(),t=Q(Wz),n=Q(Uz);return uE(!e||!n?void 0:iB(iB({},e),{},{scale:n}),t)};function uB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uB(Object(n),!0).forEach(function(t){fB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fB(e,t,n){return(t=pB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pB(e){var t=mB(e,`string`);return typeof t==`symbol`?t:t+``}function mB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var hB=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`horizontal`)return{x:i.coordinate,y:r.relativeY};if(e===`vertical`)return{x:r.relativeX,y:i.coordinate}}return{x:0,y:0}},gB=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`centric`){var a=i.coordinate,{radius:o}=r;return dB(dB(dB({},r),AA(r.cx,r.cy,o,a)),{},{angle:a,radius:o})}var s=i.coordinate,{angle:c}=r;return dB(dB(dB({},r),AA(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function _B(e,t){var{relativeX:n,relativeY:r}=e;return n>=t.left&&n<=t.left+t.width&&r>=t.top&&r<=t.top+t.height}var vB=(e,t,n,r,i)=>{var a=t?.length??0;if(a<=1||e==null)return 0;if(r===`angleAxis`&&i!=null&&Math.abs(Math.abs(i[1]-i[0])-360)<=1e-6)for(var o=0;o<a;o++){var s=o>0?n[o-1]?.coordinate:n[a-1]?.coordinate,c=n[o]?.coordinate,l=o>=a-1?n[0]?.coordinate:n[o+1]?.coordinate,u=void 0;if(!(s==null||c==null||l==null))if(Zb(c-s)!==Zb(l-c)){var d=[];if(Zb(l-c)===Zb(i[1]-i[0])){u=l;var f=c+i[1]-i[0];d[0]=Math.min(f,(f+s)/2),d[1]=Math.max(f,(f+s)/2)}else{u=s;var p=l+i[1]-i[0];d[0]=Math.min(c,(p+c)/2),d[1]=Math.max(c,(p+c)/2)}var m=[Math.min(c,(u+c)/2),Math.max(c,(u+c)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1])return n[o]?.index}else{var h=Math.min(s,l),g=Math.max(s,l);if(e>(h+c)/2&&e<=(g+c)/2)return n[o]?.index}}else if(t)for(var _=0;_<a;_++){var v=t[_];if(v!=null){var y=t[_+1],b=t[_-1];if(_===0&&y!=null&&e<=(v.coordinate+y.coordinate)/2||_===a-1&&b!=null&&e>(v.coordinate+b.coordinate)/2||_>0&&_<a-1&&b!=null&&y!=null&&e>(v.coordinate+b.coordinate)/2&&e<=(v.coordinate+y.coordinate)/2)return v.index}}return-1},yB=()=>Q(Aj),bB=(e,t)=>t,xB=(e,t,n)=>n,SB=(e,t,n,r)=>r,CB=$(Wz,e=>US(e,e=>e.coordinate)),wB=$([fz,bB,xB,SB],iz),TB=$([wB,Az,LL,zz],cz),EB=(e,t,n)=>{if(t!=null){var r=fz(e);return t===`axis`?n===`hover`?r.axisInteraction.hover.dataKey:r.axisInteraction.click.dataKey:n===`hover`?r.itemInteraction.hover.dataKey:r.itemInteraction.click.dataKey}},DB=$([fz,bB,xB,SB],uz),OB=$([pE,mE,HE,SE,Wz,SB,DB],lz),kB=$([wB,OB],(e,t)=>e.coordinate??t),AB=$([Wz,TB],PR),jB=$([DB,TB,rj,LL,AB,dz,bB],wz),MB=$([wB,TB],(e,t)=>({isActive:e.active&&t!=null,activeIndex:t})),NB=(e,t,n,r,i,a,o)=>{if(!(!e||!n||!r||!i)&&_B(e,o)){var s=vB(nne(e,t),a,i,n,r),c=hB(t,i,s,e);return{activeIndex:String(s),activeCoordinate:c}}},PB=(e,t,n,r,i,a,o)=>{if(!(!e||!r||!i||!a||!n)){var s=IA(e,n);if(s){var c=vB(rne(s,t),o,a,r,i),l=gB(t,a,c,s);return{activeIndex:String(c),activeCoordinate:l}}}},FB=(e,t,n,r,i,a,o,s)=>{if(!(!e||!t||!r||!i||!a))return t===`horizontal`||t===`vertical`?NB(e,t,r,i,a,o,s):PB(e,t,n,r,i,a,o)},IB=$(e=>e.zIndex.zIndexMap,(e,t)=>t,(e,t,n)=>n,(e,t,n)=>{if(t!=null){var r=e[t];if(r!=null)return n?r.panoramaElement:r.element}}),LB=$(e=>e.zIndex.zIndexMap,e=>{var t=Object.keys(e).map(e=>parseInt(e,10)).concat(Object.values(Fj));return Array.from(new Set(t)).sort((e,t)=>e-t)},{memoizeOptions:{resultEqualityCheck:dM}});function RB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?RB(Object(n),!0).forEach(function(t){BB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function BB(e,t,n){return(t=VB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VB(e){var t=HB(e,`string`);return typeof t==`symbol`?t:t+``}function HB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var UB={zIndexMap:Object.values(Fj).reduce((e,t)=>zB(zB({},e),{},{[t]:{element:void 0,panoramaElement:void 0,consumers:0}}),{})},WB=new Set(Object.values(Fj));function GB(e){return WB.has(e)}var KB=eT({name:`zIndex`,initialState:UB,reducers:{registerZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]?e.zIndexMap[n].consumers+=1:e.zIndexMap[n]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:zw()},unregisterZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(--e.zIndexMap[n].consumers,e.zIndexMap[n].consumers<=0&&!GB(n)&&delete e.zIndexMap[n])},prepare:zw()},registerZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n,element:r,isPanorama:i}=t.payload;e.zIndexMap[n]?i?e.zIndexMap[n].panoramaElement=ND(r):e.zIndexMap[n].element=ND(r):e.zIndexMap[n]={consumers:0,element:i?void 0:ND(r),panoramaElement:i?ND(r):void 0}},prepare:zw()},unregisterZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(t.payload.isPanorama?e.zIndexMap[n].panoramaElement=void 0:e.zIndexMap[n].element=void 0)},prepare:zw()}}}),{registerZIndexPortal:qB,unregisterZIndexPortal:JB,registerZIndexPortalElement:YB,unregisterZIndexPortalElement:XB}=KB.actions,ZB=KB.reducer;function QB(e){var{zIndex:t,children:n}=e,r=Nne()&&t!==void 0&&t!==0,i=wE(),a=(0,z.useRef)(void 0),o=(0,z.useRef)(new Set),s=gS(),c=Q(e=>IB(e,t,i));if((0,z.useLayoutEffect)(()=>{if(!r){var e=o.current;e.forEach(e=>{s(JB({zIndex:e}))}),e.clear(),a.current=void 0;return}if(o.current.has(t)||(s(qB({zIndex:t})),o.current.add(t)),c){a.current=c;var n=o.current;n.forEach(e=>{e!==t&&(s(JB({zIndex:e})),n.delete(e))})}},[s,t,r,c]),(0,z.useLayoutEffect)(()=>{var e=o.current;return()=>{e.forEach(e=>{s(JB({zIndex:e}))}),e.clear()}},[s]),!r)return n;var l=c??a.current;return l?(0,qD.createPortal)(n,l):null}function $B(){return $B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$B.apply(null,arguments)}function eV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?eV(Object(n),!0).forEach(function(t){nV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nV(e,t,n){return(t=rV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rV(e){var t=iV(e,`string`);return typeof t==`symbol`?t:t+``}function iV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function aV(e){var{cursor:t,cursorComp:n,cursorProps:r}=e;return(0,z.isValidElement)(t)?(0,z.cloneElement)(t,r):(0,z.createElement)(n,r)}function oV(e){var{coordinate:t,payload:n,index:r,offset:i,tooltipAxisBandSize:a,layout:o,cursor:s,tooltipEventType:c,chartName:l}=e,u=t,d=n,f=r;if(!s||!u||l!==`ScatterChart`&&c!==`axis`)return null;var p,m,h;if(l===`ScatterChart`)p=u,m=uk,h=Fj.cursorLine;else if(l===`BarChart`)p=dk(o,u,i,a),m=xA,h=Fj.cursorRectangle;else if(o===`radial`&&mx(u)){var{cx:g,cy:_,radius:v,startAngle:y,endAngle:b}=LA(u);p={cx:g,cy:_,startAngle:y,endAngle:b,innerRadius:v,outerRadius:v},m=QA,h=Fj.cursorLine}else p={points:$A(o,u,i)},m=$O,h=Fj.cursorLine;var x=typeof s==`object`&&`className`in s?s.className:void 0,S=tV(tV(tV(tV({stroke:`#ccc`,pointerEvents:`none`},i),p),Xv(s)),{},{payload:d,payloadIndex:f,className:J(`recharts-tooltip-cursor`,x)});return z.createElement(QB,{zIndex:e.zIndex??h},z.createElement(aV,{cursor:s,cursorComp:m,cursorProps:S}))}function sV(e){var t=lB(),n=zE(),r=UE(),i=yB();return t==null||n==null||r==null||i==null?null:z.createElement(oV,$B({},e,{offset:n,layout:r,tooltipAxisBandSize:t,chartName:i}))}var cV=(0,z.createContext)(null),lV=()=>(0,z.useContext)(cV),uV=u(s(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))(),1).default,dV=new uV,fV=`recharts.syncEvent.tooltip`,pV=`recharts.syncEvent.brush`,mV=(e,t)=>{if(t&&Array.isArray(e)){var n=Number.parseInt(t,10);if(!Qb(n))return e[n]}},hV=eT({name:`options`,initialState:{chartName:``,tooltipPayloadSearcher:()=>void 0,eventEmitter:void 0,defaultTooltipEventType:`axis`},reducers:{createEventEmitter:e=>{e.eventEmitter??=Symbol(`rechartsEventEmitter`)}}}),gV=hV.reducer,{createEventEmitter:_V}=hV.actions;function vV(e){return e.tooltip.syncInteraction}var yV=eT({name:`chartData`,initialState:{chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},reducers:{setChartData(e,t){if(e.chartData=ND(t.payload),t.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:n,endIndex:r}=t.payload;n!=null&&(e.dataStartIndex=n),r!=null&&(e.dataEndIndex=r)}}}),{setChartData:bV,setDataStartEndIndexes:xV,setComputedData:jae}=yV.actions,SV=yV.reducer,CV=[`x`,`y`];function wV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wV(Object(n),!0).forEach(function(t){EV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function EV(e,t,n){return(t=DV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DV(e){var t=OV(e,`string`);return typeof t==`symbol`?t:t+``}function OV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function kV(e,t){if(e==null)return{};var n,r,i=AV(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function AV(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function jV(){var e=Q(jj),t=Q(Nj),n=gS(),r=Q(Mj),i=Q(Wz),a=UE(),o=RE();(0,z.useEffect)(()=>{if(e==null)return cx;var s=(s,c,l)=>{if(t!==l&&e===s){if(c.payload.active===!1){n(JR({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(r===`index`){var u;if(o&&c!=null&&(u=c.payload)!=null&&u.coordinate&&c.payload.sourceViewBox){var d=c.payload.coordinate,{x:f,y:p}=d,m=kV(d,CV),{x:h,y:g,width:_,height:v}=c.payload.sourceViewBox,y=TV(TV({},m),{},{x:o.x+(_?(f-h)/_:0)*o.width,y:o.y+(v?(p-g)/v:0)*o.height});n(TV(TV({},c),{},{payload:TV(TV({},c.payload),{},{coordinate:y})}))}else n(c);return}if(i!=null){var b;typeof r==`function`?b=i[r(i,{activeTooltipIndex:c.payload.index==null?void 0:Number(c.payload.index),isTooltipActive:c.payload.active,activeIndex:c.payload.index==null?void 0:Number(c.payload.index),activeLabel:c.payload.label,activeDataKey:c.payload.dataKey,activeCoordinate:c.payload.coordinate})]:r===`value`&&(b=i.find(e=>String(e.value)===c.payload.label));var{coordinate:x}=c.payload;if(x==null||o==null){n(JR({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(b==null){n(JR({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:void 0}));return}var{x:S,y:C}=x,w=Math.min(S,o.x+o.width),T=Math.min(C,o.y+o.height),E={x:a===`horizontal`?b.coordinate:w,y:a===`horizontal`?T:b.coordinate};n(JR({active:c.payload.active,coordinate:E,dataKey:c.payload.dataKey,index:String(b.index),label:c.payload.label,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:c.payload.graphicalItemId}))}}};return dV.on(fV,s),()=>{dV.off(fV,s)}},[Q(e=>e.rootProps.className),n,t,e,r,i,a,o])}function MV(){var e=Q(jj),t=Q(Nj),n=gS();(0,z.useEffect)(()=>{if(e==null)return cx;var r=(r,i,a)=>{t!==a&&e===r&&n(xV(i))};return dV.on(pV,r),()=>{dV.off(pV,r)}},[n,t,e])}function NV(){var e=gS();(0,z.useEffect)(()=>{e(_V())},[e]),jV(),MV()}function PV(e,t,n,r,i,a){var o=Q(n=>EB(n,e,t)),s=Q(Qz),c=Q(Nj),l=Q(jj),u=Q(Mj),d=Q(vV)?.sourceViewBox!=null,f=RE();(0,z.useEffect)(()=>{if(!d&&l!=null&&c!=null){var e=JR({active:a,coordinate:n,dataKey:o,index:i,label:typeof r==`number`?String(r):r,sourceViewBox:f,graphicalItemId:s});dV.emit(fV,l,e,c)}},[d,n,o,s,i,r,c,l,u,a,f])}function FV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function IV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?FV(Object(n),!0).forEach(function(t){LV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function LV(e,t,n){return(t=RV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RV(e){var t=zV(e,`string`);return typeof t==`symbol`?t:t+``}function zV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function BV(e){return e.dataKey}function VV(e,t){return z.isValidElement(e)?z.cloneElement(e,t):typeof e==`function`?z.createElement(e,t):z.createElement(xO,t)}var HV=[],UV={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:`ease`,axisId:0,contentStyle:{},cursor:!0,filterNull:!0,includeHidden:!1,isAnimationActive:`auto`,itemSorter:`name`,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:` : `,trigger:`hover`,useTranslate3d:!1,wrapperStyle:{}};function WV(e){var t=vx(e,UV),{active:n,allowEscapeViewBox:r,animationDuration:i,animationEasing:a,content:o,filterNull:s,isAnimationActive:c,offset:l,payloadUniqBy:u,position:d,reverseDirection:f,useTranslate3d:p,wrapperStyle:m,cursor:h,shared:g,trigger:_,defaultIndex:v,portal:y,axisId:b}=t,x=gS(),S=typeof v==`number`?String(v):v;(0,z.useEffect)(()=>{x(VR({shared:g,trigger:_,axisId:b,active:n,defaultIndex:S}))},[x,g,_,b,n,S]);var C=RE(),w=RO(),T=NR(g),{activeIndex:E,isActive:D}=Q(e=>MB(e,T,_,S))??{},O=Q(e=>jB(e,T,_,S)),k=Q(e=>AB(e,T,_,S)),ee=Q(e=>kB(e,T,_,S)),te=O,ne=lV(),A=n??D??!1,[re,j]=YS([te,A]),ie=T===`axis`?k:void 0;PV(T,_,ee,ie,E,A);var ae=y??ne;if(ae==null||C==null||T==null)return null;var oe=te??HV;A||(oe=HV),s&&oe.length&&(oe=cS(oe.filter(e=>e.value!=null&&(e.hide!==!0||t.includeHidden)),u,BV));var se=oe.length>0,ce=IV(IV({},t),{},{payload:oe,label:ie,active:A,activeIndex:E,coordinate:ee,accessibilityLayer:w}),M=z.createElement(LO,{allowEscapeViewBox:r,animationDuration:i,animationEasing:a,isAnimationActive:c,active:A,coordinate:ee,hasPayload:se,offset:l,position:d,reverseDirection:f,useTranslate3d:p,viewBox:C,wrapperStyle:m,lastBoundingBox:re,innerRef:j,hasPortalFromProps:!!y},VV(o,ce));return z.createElement(z.Fragment,null,(0,qD.createPortal)(M,ae),A&&z.createElement(sV,{cursor:h,tooltipEventType:T,coordinate:ee,payload:oe,index:E}))}var GV=e=>null;GV.displayName=`Cell`;function KV(e,t,n){return(t=qV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qV(e){var t=JV(e,`string`);return typeof t==`symbol`?t:t+``}function JV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var YV=class{constructor(e){KV(this,`cache`,new Map),this.maxSize=e}get(e){var t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.maxSize){var n=this.cache.keys().next().value;n!=null&&this.cache.delete(n)}this.cache.set(e,t)}clear(){this.cache.clear()}size(){return this.cache.size}};function XV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ZV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?XV(Object(n),!0).forEach(function(t){QV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function QV(e,t,n){return(t=$V(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $V(e){var t=eH(e,`string`);return typeof t==`symbol`?t:t+``}function eH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var tH=ZV({},{cacheSize:2e3,enableCache:!0}),nH=new YV(tH.cacheSize),rH={position:`absolute`,top:`-20000px`,left:0,padding:0,margin:0,border:`none`,whiteSpace:`pre`},iH=`recharts_measurement_span`;function aH(e,t){return`${e}|${t.fontSize||``}|${t.fontFamily||``}|${t.fontWeight||``}|${t.fontStyle||``}|${t.letterSpacing||``}|${t.textTransform||``}`}var oH=(e,t)=>{try{var n=document.getElementById(iH);n||(n=document.createElement(`span`),n.setAttribute(`id`,iH),n.setAttribute(`aria-hidden`,`true`),document.body.appendChild(n)),Object.assign(n.style,rH,t),n.textContent=`${e}`;var r=n.getBoundingClientRect();return{width:r.width,height:r.height}}catch{return{width:0,height:0}}},sH=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||OO.isSsr)return{width:0,height:0};if(!tH.enableCache)return oH(e,t);var n=aH(e,t),r=nH.get(n);if(r)return r;var i=oH(e,t);return nH.set(n,i),i},cH;function lH(e,t,n){return(t=uH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uH(e){var t=dH(e,`string`);return typeof t==`symbol`?t:t+``}function dH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var fH=/(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)([*/])(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)/,pH=/(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)([+-])(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)/,mH=/^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/,hH=/(-?\\d+(?:\\.\\d+)?)([a-zA-Z%]+)?/,gH={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},_H=[`cm`,`mm`,`pt`,`pc`,`in`,`Q`,`px`];function vH(e){return _H.includes(e)}var yH=`NaN`;function bH(e,t){return e*gH[t]}var xH=class e{static parse(t){var[,n,r]=hH.exec(t)??[];return n==null?e.NaN:new e(parseFloat(n),r??``)}constructor(e,t){this.num=e,this.unit=t,this.num=e,this.unit=t,Qb(e)&&(this.unit=``),t!==``&&!mH.test(t)&&(this.num=NaN,this.unit=``),vH(t)&&(this.num=bH(e,t),this.unit=`px`)}add(t){return this.unit===t.unit?new e(this.num+t.num,this.unit):new e(NaN,``)}subtract(t){return this.unit===t.unit?new e(this.num-t.num,this.unit):new e(NaN,``)}multiply(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num/t.num,this.unit||t.unit)}toString(){return`${this.num}${this.unit}`}isNaN(){return Qb(this.num)}};cH=xH,lH(xH,`NaN`,new cH(NaN,``));function SH(e){if(e==null||e.includes(yH))return yH;for(var t=e;t.includes(`*`)||t.includes(`/`);){var[,n,r,i]=fH.exec(t)??[],a=xH.parse(n??``),o=xH.parse(i??``),s=r===`*`?a.multiply(o):a.divide(o);if(s.isNaN())return yH;t=t.replace(fH,s.toString())}for(;t.includes(`+`)||/.-\\d+(?:\\.\\d+)?/.test(t);){var[,c,l,u]=pH.exec(t)??[],d=xH.parse(c??``),f=xH.parse(u??``),p=l===`+`?d.add(f):d.subtract(f);if(p.isNaN())return yH;t=t.replace(pH,p.toString())}return t}var CH=/\\(([^()]*)\\)/;function wH(e){for(var t=e,n;(n=CH.exec(t))!=null;){var[,r]=n;t=t.replace(CH,SH(r))}return t}function TH(e){var t=e.replace(/\\s+/g,``);return t=wH(t),t=SH(t),t}function EH(e){try{return TH(e)}catch{return yH}}function DH(e){var t=EH(e.slice(5,-1));return t===yH?``:t}var OH=[`x`,`y`,`lineHeight`,`capHeight`,`fill`,`scaleToFit`,`textAnchor`,`verticalAnchor`],kH=[`dx`,`dy`,`angle`,`className`,`breakAll`];function AH(){return AH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AH.apply(null,arguments)}function jH(e,t){if(e==null)return{};var n,r,i=MH(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function MH(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var NH=/[ \\f\\n\\r\\t\\v\\u2028\\u2029]+/,PH=e=>{var{children:t,breakAll:n,style:r}=e;try{var i=[];return ax(t)||(i=n?t.toString().split(``):t.toString().split(NH)),{wordsWithComputedWidth:i.map(e=>({word:e,width:sH(e,r).width})),spaceWidth:n?0:sH(`\\xA0`,r).width}}catch{return null}};function FH(e){return e===`start`||e===`middle`||e===`end`||e===`inherit`}function IH(e){return ax(e)||typeof e==`string`||typeof e==`number`||typeof e==`boolean`}var LH=(e,t,n,r)=>e.reduce((e,i)=>{var{word:a,width:o}=i,s=e[e.length-1];if(s&&o!=null&&(t==null||r||s.width+o+n<Number(t)))s.words.push(a),s.width+=o+n;else{var c={words:[a],width:o};e.push(c)}return e},[]),RH=e=>e.reduce((e,t)=>e.width>t.width?e:t),zH=`…`,BH=(e,t,n,r,i,a,o,s)=>{var c=PH({breakAll:n,style:r,children:e.slice(0,t)+zH});if(!c)return[!1,[]];var l=LH(c.wordsWithComputedWidth,a,o,s);return[l.length>i||RH(l).width>Number(a),l]},VH=(e,t,n,r,i)=>{var{maxLines:a,children:o,style:s,breakAll:c}=e,l=X(a),u=String(o),d=LH(t,r,n,i);if(!l||i||!(d.length>a||RH(d).width>Number(r)))return d;for(var f=0,p=u.length-1,m=0,h;f<=p&&m<=u.length-1;){var g=Math.floor((f+p)/2),[_,v]=BH(u,g-1,c,s,a,r,n,i),[y]=BH(u,g,c,s,a,r,n,i);if(!_&&!y&&(f=g+1),_&&y&&(p=g-1),!_&&y){h=v;break}m++}return h||d},HH=e=>[{words:ax(e)?[]:e.toString().split(NH),width:void 0}],UH=e=>{var{width:t,scaleToFit:n,children:r,style:i,breakAll:a,maxLines:o}=e;if((t||n)&&!OO.isSsr){var s,c,l=PH({breakAll:a,children:r,style:i});if(l){var{wordsWithComputedWidth:u,spaceWidth:d}=l;s=u,c=d}else return HH(r);return VH({breakAll:a,children:r,maxLines:o,style:i},s,c,t,!!n)}return HH(r)},WH=`#808080`,GH={angle:0,breakAll:!1,capHeight:`0.71em`,fill:WH,lineHeight:`1em`,scaleToFit:!1,textAnchor:`start`,verticalAnchor:`end`,x:0,y:0},KH=(0,z.forwardRef)((e,t)=>{var n=vx(e,GH),{x:r,y:i,lineHeight:a,capHeight:o,fill:s,scaleToFit:c,textAnchor:l,verticalAnchor:u}=n,d=jH(n,OH),f=(0,z.useMemo)(()=>UH({breakAll:d.breakAll,children:d.children,maxLines:d.maxLines,scaleToFit:c,style:d.style,width:d.width}),[d.breakAll,d.children,d.maxLines,c,d.style,d.width]),{dx:p,dy:m,angle:h,className:g,breakAll:_}=d,v=jH(d,kH);if(!ex(r)||!ex(i)||f.length===0)return null;var y=Number(r)+(X(p)?p:0),b=Number(i)+(X(m)?m:0);if(!YT(y)||!YT(b))return null;var x;switch(u){case`start`:x=DH(`calc(${o})`);break;case`middle`:x=DH(`calc(${(f.length-1)/2} * -${a} + (${o} / 2))`);break;default:x=DH(`calc(${f.length-1} * -${a})`);break}var S=[],C=f[0];if(c&&C!=null){var w=C.width,{width:T}=d;S.push(`scale(${X(T)&&X(w)?T/w:1})`)}return h&&S.push(`rotate(${h}, ${y}, ${b})`),S.length&&(v.transform=S.join(` `)),z.createElement(`text`,AH({},Zv(v),{ref:t,x:y,y:b,className:J(`recharts-text`,g),textAnchor:l,fill:s.includes(`url`)?WH:s}),f.map((e,t)=>{var n=e.words.join(_?``:` `);return z.createElement(`tspan`,{x:y,dy:t===0?x:a,key:`${n}-${t}`},n)}))});KH.displayName=`Text`;function qH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function JH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qH(Object(n),!0).forEach(function(t){YH(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function YH(e,t,n){return(t=XH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XH(e){var t=ZH(e,`string`);return typeof t==`symbol`?t:t+``}function ZH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var QH=e=>{var{viewBox:t,position:n,offset:r=0,parentViewBox:i,clamp:a}=e,{x:o,y:s,height:c,upperWidth:l,lowerWidth:u}=LE(t),d=o,f=o+(l-u)/2,p=(d+f)/2,m=(l+u)/2,h=d+l/2,g=c>=0?1:-1,_=g*r,v=g>0?`end`:`start`,y=g>0?`start`:`end`,b=l>=0?1:-1,x=b*r,S=b>0?`end`:`start`,C=b>0?`start`:`end`,w=i;if(n===`top`){var T={x:d+l/2,y:s-_,horizontalAnchor:`middle`,verticalAnchor:v};return a&&w&&(T.height=Math.max(s-w.y,0),T.width=l),T}if(n===`bottom`){var E={x:f+u/2,y:s+c+_,horizontalAnchor:`middle`,verticalAnchor:y};return a&&w&&(E.height=Math.max(w.y+w.height-(s+c),0),E.width=u),E}if(n===`left`){var D={x:p-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`};return a&&w&&(D.width=Math.max(D.x-w.x,0),D.height=c),D}if(n===`right`){var O={x:p+m+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`};return a&&w&&(O.width=Math.max(w.x+w.width-O.x,0),O.height=c),O}var k=a&&w?{width:m,height:c}:{};return n===`insideLeft`?JH({x:p+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`},k):n===`insideRight`?JH({x:p+m-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`},k):n===`insideTop`?JH({x:d+l/2,y:s+_,horizontalAnchor:`middle`,verticalAnchor:y},k):n===`insideBottom`?JH({x:f+u/2,y:s+c-_,horizontalAnchor:`middle`,verticalAnchor:v},k):n===`insideTopLeft`?JH({x:d+x,y:s+_,horizontalAnchor:C,verticalAnchor:y},k):n===`insideTopRight`?JH({x:d+l-x,y:s+_,horizontalAnchor:S,verticalAnchor:y},k):n===`insideBottomLeft`?JH({x:f+x,y:s+c-_,horizontalAnchor:C,verticalAnchor:v},k):n===`insideBottomRight`?JH({x:f+u-x,y:s+c-_,horizontalAnchor:S,verticalAnchor:v},k):n&&typeof n==`object`&&(X(n.x)||$b(n.x))&&(X(n.y)||$b(n.y))?JH({x:o+nx(n.x,m),y:s+nx(n.y,c),horizontalAnchor:`end`,verticalAnchor:`end`},k):JH({x:h,y:s+c/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},k)},$H=[`labelRef`],eU=[`content`];function tU(e,t){if(e==null)return{};var n,r,i=nU(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function nU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function rU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?rU(Object(n),!0).forEach(function(t){aU(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function aU(e,t,n){return(t=oU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oU(e){var t=sU(e,`string`);return typeof t==`symbol`?t:t+``}function sU(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function cU(){return cU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cU.apply(null,arguments)}var lU=(0,z.createContext)(null),uU=e=>{var{x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o,children:s}=e,c=(0,z.useMemo)(()=>({x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o}),[t,n,r,i,a,o]);return z.createElement(lU.Provider,{value:c},s)},dU=()=>{var e=(0,z.useContext)(lU),t=RE();return e||(t?LE(t):void 0)},fU=(0,z.createContext)(null),pU=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o,clockWise:s,children:c}=e,l=(0,z.useMemo)(()=>({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o,clockWise:s}),[t,n,r,i,a,o,s]);return z.createElement(fU.Provider,{value:l},c)},mU=()=>{var e=(0,z.useContext)(fU),t=Q(rM);return e||t},hU=e=>{var{value:t,formatter:n}=e,r=ax(e.children)?t:e.children;return typeof n==`function`?n(r):r},gU=e=>e!=null&&typeof e==`function`,_U=(e,t)=>Zb(t-e)*Math.min(Math.abs(t-e),360),vU=(e,t,n,r,i)=>{var{offset:a,className:o}=e,{cx:s,cy:c,innerRadius:l,outerRadius:u,startAngle:d,endAngle:f,clockWise:p}=i,m=(l+u)/2,h=_U(d,f),g=h>=0?1:-1,_,v;switch(t){case`insideStart`:_=d+g*a,v=p;break;case`insideEnd`:_=f-g*a,v=!p;break;case`end`:_=f+g*a,v=p;break;default:throw Error(`Unsupported position ${t}`)}v=h<=0?v:!v;var y=AA(s,c,m,_),b=AA(s,c,m,_+(v?1:-1)*359),x=`M${y.x},${y.y}\n A${m},${m},0,1,${+!v},\n ${b.x},${b.y}`,S=ax(e.id)?tx(`recharts-radial-line-`):e.id;return z.createElement(`text`,cU({},r,{dominantBaseline:`central`,className:J(`recharts-radial-bar-label`,o)}),z.createElement(`defs`,null,z.createElement(`path`,{id:S,d:x})),z.createElement(`textPath`,{xlinkHref:`#${S}`},n))},yU=(e,t,n)=>{var{cx:r,cy:i,innerRadius:a,outerRadius:o,startAngle:s,endAngle:c}=e,l=(s+c)/2;if(n===`outside`){var{x:u,y:d}=AA(r,i,o+t,l);return{x:u,y:d,textAnchor:u>=r?`start`:`end`,verticalAnchor:`middle`}}if(n===`center`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`middle`};if(n===`centerTop`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`start`};if(n===`centerBottom`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`end`};var{x:f,y:p}=AA(r,i,(a+o)/2,l);return{x:f,y:p,textAnchor:`middle`,verticalAnchor:`middle`}},bU=e=>e!=null&&`cx`in e&&X(e.cx),xU={angle:0,offset:5,zIndex:Fj.label,position:`middle`,textBreakAll:!1};function SU(e){if(!bU(e))return e;var{cx:t,cy:n,outerRadius:r}=e,i=r*2;return{x:t-r,y:n-r,width:i,upperWidth:i,lowerWidth:i,height:i}}function CU(e){var t=vx(e,xU),{viewBox:n,parentViewBox:r,position:i,value:a,children:o,content:s,className:c=``,textBreakAll:l,labelRef:u}=t,d=mU(),f=dU(),p=n==null?i===`center`?f:d??f:bU(n)?n:LE(n),m,h,g=SU(p);if(!p||ax(a)&&ax(o)&&!(0,z.isValidElement)(s)&&typeof s!=`function`)return null;var _=iU(iU({},t),{},{viewBox:p});if((0,z.isValidElement)(s)){var{labelRef:v}=_;return(0,z.cloneElement)(s,tU(_,$H))}if(typeof s==`function`){var{content:y}=_;if(m=(0,z.createElement)(s,tU(_,eU)),(0,z.isValidElement)(m))return m}else m=hU(t);var b=Zv(t);if(bU(p)){if(i===`insideStart`||i===`insideEnd`||i===`end`)return vU(t,i,m,b,p);h=yU(p,t.offset,t.position)}else{if(!g)return null;var x=QH({viewBox:g,position:i,offset:t.offset,parentViewBox:bU(r)?void 0:r,clamp:!0});h=iU(iU({x:x.x,y:x.y,textAnchor:x.horizontalAnchor,verticalAnchor:x.verticalAnchor},x.width===void 0?{}:{width:x.width}),x.height===void 0?{}:{height:x.height})}return z.createElement(QB,{zIndex:t.zIndex},z.createElement(KH,cU({ref:u,className:J(`recharts-label`,c)},b,h,{textAnchor:FH(b.textAnchor)?b.textAnchor:h.textAnchor,breakAll:l}),m))}CU.displayName=`Label`;var wU=(e,t,n)=>{if(!e)return null;var r={viewBox:t,labelRef:n};return e===!0?z.createElement(CU,cU({key:`label-implicit`},r)):ex(e)?z.createElement(CU,cU({key:`label-implicit`,value:e},r)):(0,z.isValidElement)(e)?e.type===CU?(0,z.cloneElement)(e,iU({key:`label-implicit`},r)):z.createElement(CU,cU({key:`label-implicit`,content:e},r)):gU(e)?z.createElement(CU,cU({key:`label-implicit`,content:e},r)):e&&typeof e==`object`?z.createElement(CU,cU({},e,{key:`label-implicit`},r)):null};function TU(e){var{label:t,labelRef:n}=e;return wU(t,dU(),n)||null}function EU(e){var{label:t}=e;return wU(t,mU())||null}var DU=[`valueAccessor`],OU=[`dataKey`,`clockWise`,`id`,`textBreakAll`,`zIndex`];function kU(){return kU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kU.apply(null,arguments)}function AU(e,t){if(e==null)return{};var n,r,i=jU(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function jU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var MU=e=>{var t=Array.isArray(e.value)?e.value[e.value.length-1]:e.value;if(IH(t))return t},NU=(0,z.createContext)(void 0),PU=NU.Provider,FU=(0,z.createContext)(void 0),IU=FU.Provider;function LU(){return(0,z.useContext)(NU)}function RU(){return(0,z.useContext)(FU)}function zU(e){var{valueAccessor:t=MU}=e,n=AU(e,DU),{dataKey:r,clockWise:i,id:a,textBreakAll:o,zIndex:s}=n,c=AU(n,OU),l=LU(),u=RU(),d=l||u;return!d||!d.length?null:z.createElement(QB,{zIndex:s??Fj.label},z.createElement(Y,{className:`recharts-label-list`},d.map((e,i)=>{var s=ax(r)?t(e,i):$T(e.payload,r),l=ax(a)?{}:{id:`${a}-${i}`};return z.createElement(CU,kU({key:`label-${i}`},Zv(e),c,l,{fill:n.fill??e.fill,parentViewBox:e.parentViewBox,value:s,textBreakAll:o,viewBox:e.viewBox,index:i,zIndex:0}))})))}zU.displayName=`LabelList`;function BU(e){var{label:t}=e;return t?t===!0?z.createElement(zU,{key:`labelList-implicit`}):z.isValidElement(t)||gU(t)?z.createElement(zU,{key:`labelList-implicit`,content:t}):typeof t==`object`?z.createElement(zU,kU({key:`labelList-implicit`},t,{type:String(t.type)})):null:null}var VU=[`points`,`className`,`baseLinePoints`,`connectNulls`],HU;function UU(){return UU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UU.apply(null,arguments)}function WU(e,t){if(e==null)return{};var n,r,i=GU(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function GU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function KU(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var qU=e=>e!=null&&e.x===+e.x&&e.y===+e.y,JU=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[[]];e.forEach(e=>{var n=t[t.length-1];qU(e)?n&&n.push(e):n&&n.length>0&&t.push([])});var n=e[0],r=t[t.length-1];qU(n)&&r&&r.push(n);var i=t[t.length-1];return i&&i.length<=0&&(t=t.slice(0,-1)),t},YU=(e,t)=>{var n=JU(e);t&&(n=[n.reduce((e,t)=>[...e,...t],[])]);var r=n.map(e=>e.reduce((e,t,n)=>Xb(HU||=KU([``,``,``,`,`,``]),e,n===0?`M`:`L`,t.x,t.y),``)).join(``);return n.length===1?`${r}Z`:r},XU=(e,t,n)=>{var r=YU(e,n);return`${r.slice(-1)===`Z`?r.slice(0,-1):r}L${YU(Array.from(t).reverse(),n).slice(1)}`},ZU=e=>{var{points:t,className:n,baseLinePoints:r,connectNulls:i}=e,a=WU(e,VU);if(!t||!t.length)return null;var o=J(`recharts-polygon`,n);if(r&&r.length){var s=a.stroke&&a.stroke!==`none`,c=XU(t,r,i);return z.createElement(`g`,{className:o},z.createElement(`path`,UU({},Zv(a),{fill:c.slice(-1)===`Z`?a.fill:`none`,stroke:`none`,d:c})),s?z.createElement(`path`,UU({},Zv(a),{fill:`none`,d:YU(t,i)})):null,s?z.createElement(`path`,UU({},Zv(a),{fill:`none`,d:YU(r,i)})):null)}var l=YU(t,i);return z.createElement(`path`,UU({},Zv(a),{fill:l.slice(-1)===`Z`?a.fill:`none`,className:o,d:l}))};function QU(){return QU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QU.apply(null,arguments)}var $U=e=>{var{cx:t,cy:n,r,className:i}=e,a=J(`recharts-dot`,i);return X(t)&&X(n)&&X(r)?z.createElement(`circle`,QU({},Yv(e),hx(e),{className:a,cx:t,cy:n,r})):null},eW=e=>e.graphicalItems.polarItems,tW=$([eW,gL,$([iM,aM],yL)],xL),nW=$([$([tW],TL),ij],DL),rW=$([nW,gL,tW],kL);$([nW,gL,tW],(e,t,n)=>n.length>0?e.flatMap(e=>n.flatMap(n=>({value:$T(e,t.dataKey??n.dataKey),errorDomain:[]}))).filter(Boolean):t?.dataKey==null?e.map(e=>({value:e,errorDomain:[]})):e.map(e=>({value:$T(e,t.dataKey),errorDomain:[]})));var iW=()=>void 0,aW=$([gL,HE,nW,rW,Oj,iM,$([gL,HL,UL,iW,$([nW,gL,tW,WL,iM,cj],KL),iW,HE,iM],eR)],tR),oW=$([aW,_L,rR],iR),sW=$([rR,$([gL,aW,oW,iM],oR)],hM),cW=(e,t,n)=>{switch(t){case`angleAxis`:return qj(e,n);case`radiusAxis`:return Jj(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},lW=(e,t,n)=>{switch(t){case`angleAxis`:return eM(e,n);case`radiusAxis`:return nM(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},uW=$([$([cW,rR,sW,lW],nL)],mM),dW=$([HE,rW,_L,iM],dR),fW=$([HE,cW,rR,uW,oW,lW,SR,dW,iM],wR),pW=$([fW],e=>{if(e){var t=new Map;return e.forEach(e=>{var n=(e.coordinate+360)%360;t.has(n)||t.set(n,e)}),Array.from(t.values())}}),mW=$([HE,cW,uW,lW,SR,dW,iM],ER),hW=$([(e,t)=>fW(e,`angleAxis`,t,!1)],e=>{if(e)return e.map(e=>e.coordinate)}),gW=$([(e,t)=>fW(e,`radiusAxis`,t,!1)],e=>{if(e)return e.map(e=>e.coordinate)}),_W=[`gridType`,`radialLines`,`angleAxisId`,`radiusAxisId`,`cx`,`cy`,`innerRadius`,`outerRadius`,`polarAngles`,`polarRadius`,`zIndex`];function vW(e,t){if(e==null)return{};var n,r,i=yW(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function yW(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function bW(){return bW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bW.apply(null,arguments)}function xW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xW(Object(n),!0).forEach(function(t){CW(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function CW(e,t,n){return(t=wW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wW(e){var t=TW(e,`string`);return typeof t==`symbol`?t:t+``}function TW(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var EW=(e,t,n,r)=>{var i=``;return r.forEach((r,a)=>{var o=AA(t,n,e,r);a?i+=`L ${o.x},${o.y}`:i+=`M ${o.x},${o.y}`}),i+=`Z`,i},DW=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,polarAngles:a,radialLines:o}=e;if(!a||!a.length||!o)return null;var s=SW({},Yv(e));return z.createElement(`g`,{className:`recharts-polar-grid-angle`},a.map(e=>{var a=AA(t,n,r,e),o=AA(t,n,i,e);return z.createElement(`line`,bW({key:`line-${e}`},s,{x1:a.x,y1:a.y,x2:o.x,y2:o.y}))}))},OW=e=>{var{cx:t,cy:n,radius:r}=e,i=SW({},Yv(e));return z.createElement(`circle`,bW({},i,{className:J(`recharts-polar-grid-concentric-circle`,e.className),cx:t,cy:n,r}))},kW=e=>{var{radius:t}=e,n=SW({},Yv(e));return z.createElement(`path`,bW({},n,{className:J(`recharts-polar-grid-concentric-polygon`,e.className),d:EW(t,e.cx,e.cy,e.polarAngles)}))},AW=e=>{var{polarRadius:t,gridType:n}=e;if(!t||!t.length)return null;var r=Math.max(...t),i=e.fill&&e.fill!==`none`;return z.createElement(`g`,{className:`recharts-polar-grid-concentric`},i&&n===`circle`&&z.createElement(OW,bW({},e,{radius:r})),i&&n!==`circle`&&z.createElement(kW,bW({},e,{radius:r})),t.map((t,r)=>{var i=r;return n===`circle`?z.createElement(OW,bW({key:i},e,{fill:`none`,radius:t})):z.createElement(kW,bW({key:i},e,{fill:`none`,radius:t}))}))},jW={angleAxisId:0,radiusAxisId:0,gridType:`polygon`,radialLines:!0,zIndex:Fj.grid,stroke:`#ccc`,strokeWidth:1,fill:`none`},MW=e=>{var t=vx(e,jW),{gridType:n,radialLines:r,angleAxisId:i,radiusAxisId:a,cx:o,cy:s,innerRadius:c,outerRadius:l,polarAngles:u,polarRadius:d,zIndex:f}=t,p=vW(t,_W),m=Q(rM),h=Q(e=>hW(e,i)),g=Q(e=>gW(e,a)),_=Array.isArray(u)?u:h,v=Array.isArray(d)?d:g;if(_==null||v==null)return null;var y=SW({cx:m?.cx??o??0,cy:m?.cy??s??0,innerRadius:m?.innerRadius??c??0,outerRadius:m?.outerRadius??l??0,polarAngles:_,polarRadius:v,zIndex:f},p),{outerRadius:b}=y;return b<=0?null:z.createElement(QB,{zIndex:y.zIndex},z.createElement(`g`,{className:`recharts-polar-grid`},z.createElement(AW,bW({gridType:n,radialLines:r},y,{polarAngles:_,polarRadius:v})),z.createElement(DW,bW({gridType:n,radialLines:r},y,{polarAngles:_,polarRadius:v}))))};MW.displayName=`PolarGrid`;function NW(e,t){if(e.length===0)return;let n=e[0],r=-1/0;for(let i=0;i<e.length;i++){let a=e[i],o=t(a,i,e);if(Number.isNaN(o))return a;o>r&&(r=o,n=a)}return n}function PW(e,t){if(e!=null)return NW(Array.from(e),nS(t??Cx))}function FW(e,t){if(e.length===0)return;let n=e[0],r=1/0;for(let i=0;i<e.length;i++){let a=e[i],o=t(a,i,e);if(Number.isNaN(o))return a;o<r&&(r=o,n=a)}return n}function IW(e,t){if(e!=null)return FW(Array.from(e),nS(t??Cx))}var LW=eT({name:`polarAxis`,initialState:{radiusAxis:{},angleAxis:{}},reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=ND(t.payload)},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=ND(t.payload)},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:RW,removeRadiusAxis:zW,addAngleAxis:BW,removeAngleAxis:VW}=LW.actions,HW=LW.reducer;function UW(e){return e&&typeof e==`object`&&`className`in e&&typeof e.className==`string`?e.className:``}var WW=[`type`],GW=[`cx`,`cy`,`angle`,`axisLine`],KW=[`angle`,`tickFormatter`,`stroke`,`tick`];function qW(){return qW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qW.apply(null,arguments)}function JW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function YW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?JW(Object(n),!0).forEach(function(t){XW(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function XW(e,t,n){return(t=ZW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZW(e){var t=QW(e,`string`);return typeof t==`symbol`?t:t+``}function QW(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function $W(e,t){if(e==null)return{};var n,r,i=eG(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function eG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var tG=`radiusAxis`;function nG(e){var t=gS(),n=KE(),r=(0,z.useMemo)(()=>{var{type:t}=e,r=$W(e,WW),i=zj(n,`radiusAxis`,t);if(i!=null)return YW(YW({},r),{},{type:i})},[e,n]);return(0,z.useEffect)(()=>r==null?cx:(t(RW(r)),()=>{t(zW(r))}),[t,r]),null}var rG=(e,t,n,r)=>{var{coordinate:i}=e;return AA(n,r,i,t)},iG=e=>{var t;switch(e){case`left`:t=`end`;break;case`right`:t=`start`;break;default:t=`middle`;break}return t},aG=(e,t,n,r)=>{var i=PW(r,e=>e.coordinate||0);return{cx:t,cy:n,startAngle:e,endAngle:e,innerRadius:IW(r,e=>e.coordinate||0)?.coordinate||0,outerRadius:i?.coordinate||0,clockWise:!1}},oG=(e,t)=>{var{cx:n,cy:r,angle:i,axisLine:a}=e,o=$W(e,GW),s=t.reduce((e,t)=>[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)],[1/0,-1/0]),c=AA(n,r,s[0],i),l=AA(n,r,s[1],i),u=YW(YW(YW({},Yv(o)),{},{fill:`none`},Yv(a)),{},{x1:c.x,y1:c.y,x2:l.x,y2:l.y});return z.createElement(`line`,qW({className:`recharts-polar-radius-axis-line`},u))},sG=(e,t,n)=>z.isValidElement(e)?z.cloneElement(e,t):typeof e==`function`?e(t):z.createElement(KH,qW({},t,{className:`recharts-polar-radius-axis-tick-value`}),n),cG=(e,t)=>{var{angle:n,tickFormatter:r,stroke:i,tick:a}=e,o=$W(e,KW),s=iG(e.orientation),c=Yv(o),l=Xv(a),u=t.map((t,o)=>{var u=rG(t,e.angle,e.cx,e.cy),d=YW(YW(YW(YW({textAnchor:s,transform:`rotate(${90-n}, ${u.x}, ${u.y})`},c),{},{stroke:`none`,fill:i},l),{},{index:o},u),{},{payload:t});return z.createElement(Y,qW({className:J(`recharts-polar-radius-axis-tick`,UW(a)),key:`tick-${t.coordinate}`},gx(e,t,o)),sG(a,d,r?r(t.value,o):t.value))});return z.createElement(Y,{className:`recharts-polar-radius-axis-ticks`},u)},lG=e=>{var{radiusAxisId:t}=e,n=Q(rM),r=Q(e=>uW(e,`radiusAxis`,t)),i=Q(e=>fW(e,`radiusAxis`,t,!1));if(n==null||!i||!i.length||r==null)return null;var a=YW(YW({},e),{},{scale:r},n),{tick:o,axisLine:s}=a;return z.createElement(QB,{zIndex:a.zIndex},z.createElement(Y,{className:J(`recharts-polar-radius-axis`,tG,a.className)},s&&oG(a,i),o&&cG(a,i),z.createElement(pU,aG(a.angle,a.cx,a.cy,i),z.createElement(EU,{label:a.label}),a.children)))};function uG(e){var t=vx(e,Lj);return z.createElement(z.Fragment,null,z.createElement(nG,{domain:t.domain,id:t.radiusAxisId,scale:t.scale,type:t.type,dataKey:t.dataKey,unit:void 0,name:t.name,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDataOverflow:t.allowDataOverflow,reversed:t.reversed,includeHidden:t.includeHidden,allowDecimals:t.allowDecimals,niceTicks:t.niceTicks??`auto`,ticks:t.ticks,tickCount:t.tickCount,tick:t.tick}),z.createElement(lG,t))}uG.displayName=`PolarRadiusAxis`;var dG=[`children`,`type`],fG=[`ref`];function pG(){return pG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pG.apply(null,arguments)}function mG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?mG(Object(n),!0).forEach(function(t){gG(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gG(e,t,n){return(t=_G(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _G(e){var t=vG(e,`string`);return typeof t==`symbol`?t:t+``}function vG(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yG(e,t){if(e==null)return{};var n,r,i=bG(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function bG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var xG=1e-5,SG=Math.cos(OA(45)),CG=`angleAxis`;function wG(e){var t=gS(),n=KE(),r=(0,z.useMemo)(()=>{var{children:t,type:r}=e,i=yG(e,dG),a=zj(n,`angleAxis`,r);if(a!=null)return hG(hG({},i),{},{type:a})},[e,n]),i=r===Q(e=>qj(e,r?.id));return(0,z.useEffect)(()=>r==null?cx:(t(BW(r)),()=>{t(VW(r))}),[t,r]),i?e.children:null}var TG=(e,t)=>{var{cx:n,cy:r,radius:i,orientation:a,tickSize:o}=t,s=o||8,c=AA(n,r,i,e.coordinate),l=AA(n,r,i+(a===`inner`?-1:1)*s,e.coordinate);return{x1:c.x,y1:c.y,x2:l.x,y2:l.y}},EG=(e,t)=>{var n=Math.cos(OA(-e.coordinate));return n>xG?t===`outer`?`start`:`end`:n<-xG?t===`outer`?`end`:`start`:`middle`},DG=e=>{var t=Math.cos(OA(-e.coordinate)),n=Math.sin(OA(-e.coordinate));return Math.abs(t)<=SG?n>0?`start`:`end`:`middle`},OG=e=>{var{cx:t,cy:n,radius:r,axisLineType:i,axisLine:a,ticks:o}=e;if(!a)return null;var s=hG(hG({},Yv(e)),{},{fill:`none`},Yv(a));if(i===`circle`)return z.createElement($U,pG({className:`recharts-polar-angle-axis-line`},s,{cx:t,cy:n,r}));var c=o.map(e=>AA(t,n,r,e.coordinate));return z.createElement(ZU,pG({className:`recharts-polar-angle-axis-line`},s,{points:c}))},kG=e=>{var{tick:t,tickProps:n,value:r}=e;return t?z.isValidElement(t)?z.cloneElement(t,n):typeof t==`function`?t(n):z.createElement(KH,pG({},n,{className:`recharts-polar-angle-axis-tick-value`}),r):null},AG=e=>{var{tick:t,tickLine:n,tickFormatter:r,stroke:i,ticks:a}=e,o=Yv(e),{ref:s}=o,c=yG(o,fG),l=Xv(t),u=hG(hG({},c),{},{fill:`none`},Yv(n)),d=a.map((a,o)=>{var s=TG(a,e),d=EG(a,e.orientation),f=DG(a),p=hG(hG(hG({},c),{},{textAnchor:d,verticalAnchor:f,stroke:`none`,fill:i},l),{},{index:o,payload:a,x:s.x2,y:s.y2});return z.createElement(Y,pG({className:J(`recharts-polar-angle-axis-tick`,UW(t)),key:`tick-${a.coordinate}`},gx(e,a,o)),n&&z.createElement(`line`,pG({className:`recharts-polar-angle-axis-tick-line`},u,s)),z.createElement(kG,{tick:t,tickProps:p,value:r?r(a.value,o):a.value}))});return z.createElement(Y,{className:`recharts-polar-angle-axis-ticks`},d)},jG=e=>{var{angleAxisId:t}=e,n=Q(rM),r=Q(e=>uW(e,`angleAxis`,t)),i=wE(),a=Q(e=>pW(e,`angleAxis`,t,i));if(n==null||!a||!a.length||r==null)return null;var o=hG(hG(hG({},e),{},{scale:r},n),{},{radius:n.outerRadius,ticks:a});return z.createElement(QB,{zIndex:o.zIndex},z.createElement(Y,{className:J(`recharts-polar-angle-axis`,CG,o.className)},z.createElement(OG,o),z.createElement(AG,o)))};function MG(e){var t=vx(e,Ij);return z.createElement(wG,{id:t.angleAxisId,scale:t.scale,type:t.type,dataKey:t.dataKey,unit:void 0,name:t.name,allowDuplicatedCategory:!1,allowDataOverflow:!1,reversed:t.reversed,includeHidden:!1,allowDecimals:t.allowDecimals,tickCount:t.tickCount,niceTicks:t.niceTicks??`auto`,ticks:t.ticks,tick:t.tick,domain:t.domain},z.createElement(jG,t))}MG.displayName=`PolarAngleAxis`;function NG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function PG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?NG(Object(n),!0).forEach(function(t){FG(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):NG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function FG(e,t,n){return(t=IG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function IG(e){var t=LG(e,`string`);return typeof t==`symbol`?t:t+``}function LG(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var RG=$([eW,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`pie`).find(e=>e.id===t)),zG=[],BG=(e,t,n)=>n?.length===0?zG:n,VG=$([ij,RG,BG],(e,t,n)=>{var{chartData:r}=e;if(t!=null){var i=t?.data!=null&&t.data.length>0?t.data:r;if((!i||!i.length)&&n!=null&&(i=n.map(e=>PG(PG({},t.presentationProps),e.props))),i!=null)return i}}),HG=$([VG,RG,BG],(e,t,n)=>{if(!(e==null||t==null))return e.map((e,r)=>{var i,a=$T(e,t.nameKey,t.name),o=n!=null&&(i=n[r])!=null&&(i=i.props)!=null&&i.fill?n[r].props.fill:typeof e==`object`&&e&&`fill`in e?e.fill:t.fill;return{value:fE(a,t.dataKey),color:o,payload:e,type:t.legendType}})}),UG=$([VG,RG,BG,SE],(e,t,n,r)=>{if(!(t==null||e==null))return _q({offset:r,pieSettings:t,displayedData:e,cells:n})}),WG=s((e=>{var t=60103,n=60106,r=60107,i=60108,a=60114,o=60109,s=60110,c=60112,l=60113,u=60120,d=60115,f=60116;if(typeof Symbol==`function`&&Symbol.for){var p=Symbol.for;t=p(`react.element`),n=p(`react.portal`),r=p(`react.fragment`),i=p(`react.strict_mode`),a=p(`react.profiler`),o=p(`react.provider`),s=p(`react.context`),c=p(`react.forward_ref`),l=p(`react.suspense`),u=p(`react.suspense_list`),d=p(`react.memo`),f=p(`react.lazy`),p(`react.block`),p(`react.server.block`),p(`react.fundamental`),p(`react.debug_trace_mode`),p(`react.legacy_hidden`)}function m(e){if(typeof e==`object`&&e){var p=e.$$typeof;switch(p){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:case o:return e;default:return p}}case n:return p}}}e.isFragment=function(e){return m(e)===r}})),GG=s(((e,t)=>{t.exports=WG()}))(),KG=e=>typeof e==`string`?e:e?e.displayName||e.name||`Component`:``,qG=null,JG=null,YG=e=>{if(e===qG&&Array.isArray(JG))return JG;var t=[];return z.Children.forEach(e,e=>{ax(e)||((0,GG.isFragment)(e)?t=t.concat(YG(e.props.children)):t.push(e))}),JG=t,qG=e,t};function XG(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map(e=>KG(e)):[KG(t)],YG(e).forEach(e=>{var t=Jb(e,`type.displayName`)||Jb(e,`type.name`);t&&r.indexOf(t)!==-1&&n.push(e)}),n}var ZG=e=>e&&typeof e==`object`&&`clipDot`in e?!!e.clipDot:!0;function QG(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}var $G,eK,tK,nK,rK;function iK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?iK(Object(n),!0).forEach(function(t){oK(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iK(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oK(e,t,n){return(t=sK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sK(e){var t=cK(e,`string`);return typeof t==`symbol`?t:t+``}function cK(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function lK(){return lK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lK.apply(null,arguments)}function uK(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var dK=(e,t,n,r,i)=>{var a=n-r,o=Xb($G||=uK([`M `,`,`,``]),e,t);return o+=Xb(eK||=uK([`L `,`,`,``]),e+n,t),o+=Xb(tK||=uK([`L `,`,`,``]),e+n-a/2,t+i),o+=Xb(nK||=uK([`L `,`,`,``]),e+n-a/2-r,t+i),o+=Xb(rK||=uK([`L `,`,`,` Z`]),e,t),o},fK={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},pK=e=>{var t=vx(e,fK),{x:n,y:r,upperWidth:i,lowerWidth:a,height:o,className:s}=t,{animationEasing:c,animationDuration:l,animationBegin:u,isUpdateAnimationActive:d}=t,f=(0,z.useRef)(null),[p,m]=(0,z.useState)(-1),h=(0,z.useRef)(i),g=(0,z.useRef)(a),_=(0,z.useRef)(o),v=(0,z.useRef)(n),y=(0,z.useRef)(r),b=Zk(e,`trapezoid-`);if((0,z.useEffect)(()=>{if(f.current&&f.current.getTotalLength)try{var e=f.current.getTotalLength();e&&m(e)}catch{}},[]),n!==+n||r!==+r||i!==+i||a!==+a||o!==+o||i===0&&a===0||o===0)return null;var x=J(`recharts-trapezoid`,s);if(!d)return z.createElement(`g`,null,z.createElement(`path`,lK({},Zv(t),{className:x,d:dK(n,r,i,a,o)})));var S=h.current,C=g.current,w=_.current,T=v.current,E=y.current,D=`0px ${p===-1?1:p}px`,O=`${p}px ${p}px`,k=vk([`strokeDasharray`],l,c);return z.createElement(Xk,{animationId:b,key:b,canBegin:p>0,duration:l,easing:c,isActive:d,begin:u},e=>{var s=Z(S,i,e),c=Z(C,a,e),l=Z(w,o,e),u=Z(T,n,e),d=Z(E,r,e);f.current&&(h.current=s,g.current=c,_.current=l,v.current=u,y.current=d);var p=e>0?{transition:k,strokeDasharray:O}:{strokeDasharray:D};return z.createElement(`path`,lK({},Zv(t),{className:x,d:dK(u,d,s,c,l),ref:f,style:aK(aK({},p),t.style)}))})},mK=[`option`,`shapeType`,`activeClassName`,`inActiveClassName`];function hK(e,t){if(e==null)return{};var n,r,i=gK(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function gK(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function _K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?_K(Object(n),!0).forEach(function(t){yK(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_K(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yK(e,t,n){return(t=bK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bK(e){var t=xK(e,`string`);return typeof t==`symbol`?t:t+``}function xK(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function SK(e,t){return vK(vK({},t),e)}function CK(e,t){return e===`symbols`}function wK(e){var{shapeType:t,elementProps:n}=e;switch(t){case`rectangle`:return z.createElement(xA,n);case`trapezoid`:return z.createElement(pK,n);case`sector`:return z.createElement(QA,n);case`symbols`:if(CK(t,n))return z.createElement(px,n);break;case`curve`:return z.createElement($O,n);default:return null}}function TK(e){return(0,z.isValidElement)(e)?e.props:e}function EK(e){var{option:t,shapeType:n,activeClassName:r=`recharts-active-shape`,inActiveClassName:i=`recharts-shape`}=e,a=hK(e,mK),o;if((0,z.isValidElement)(t))o=(0,z.cloneElement)(t,vK(vK({},a),TK(t)));else if(typeof t==`function`)o=t(a,a.index);else if(QG(t)&&typeof t!=`boolean`){var s=SK(t,a);o=z.createElement(wK,{shapeType:n,elementProps:s})}else{var c=a;o=z.createElement(wK,{shapeType:n,elementProps:c})}return a.isActive?z.createElement(Y,{className:r},o):z.createElement(Y,{className:i},o)}var DK=(e,t,n)=>{var r=gS();return(i,a)=>o=>{e?.(i,a,o),r(HR({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:n}))}},OK=e=>{var t=gS();return(n,r)=>i=>{e?.(n,r,i),t(UR())}},kK=(e,t,n)=>{var r=gS();return(i,a)=>o=>{e?.(i,a,o),r(GR({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:n}))}};function AK(e){var{tooltipEntrySettings:t}=e,n=gS(),r=wE(),i=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{r||(i.current===null?n(RR(t)):i.current!==t&&n(zR({prev:i.current,next:t})),i.current=t)},[t,n,r]),(0,z.useLayoutEffect)(()=>()=>{i.current&&=(n(BR(i.current)),null)},[n]),null}function jK(e){var{legendPayload:t}=e,n=gS(),r=wE(),i=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{r||(i.current===null?n(ID(t)):i.current!==t&&n(LD({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,z.useLayoutEffect)(()=>()=>{i.current&&=(n(RD(i.current)),null)},[n]),null}function MK(e){var{legendPayload:t}=e,n=gS(),r=Q(HE),i=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{r!==`centric`&&r!==`radial`||(i.current===null?n(ID(t)):i.current!==t&&n(LD({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,z.useLayoutEffect)(()=>()=>{i.current&&=(n(RD(i.current)),null)},[n]),null}var NK=z.useId??(()=>{var[e]=z.useState(()=>tx(`uid-`));return e});function PK(e,t){var n=NK();return t||(e?`${e}-${n}`:n)}var FK=(0,z.createContext)(void 0),IK=e=>{var{id:t,type:n,children:r}=e,i=PK(`recharts-${n}`,t);return z.createElement(FK.Provider,{value:i},r(i))},LK=eT({name:`graphicalItems`,initialState:{cartesianItems:[],polarItems:[]},reducers:{addCartesianGraphicalItem:{reducer(e,t){e.cartesianItems.push(ND(t.payload))},prepare:zw()},replaceCartesianGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Tw(e).cartesianItems.indexOf(ND(n));i>-1&&(e.cartesianItems[i]=ND(r))},prepare:zw()},removeCartesianGraphicalItem:{reducer(e,t){var n=Tw(e).cartesianItems.indexOf(ND(t.payload));n>-1&&e.cartesianItems.splice(n,1)},prepare:zw()},addPolarGraphicalItem:{reducer(e,t){e.polarItems.push(ND(t.payload))},prepare:zw()},removePolarGraphicalItem:{reducer(e,t){var n=Tw(e).polarItems.indexOf(ND(t.payload));n>-1&&e.polarItems.splice(n,1)},prepare:zw()},replacePolarGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Tw(e).polarItems.indexOf(ND(n));i>-1&&(e.polarItems[i]=ND(r))},prepare:zw()}}}),{addCartesianGraphicalItem:RK,replaceCartesianGraphicalItem:zK,removeCartesianGraphicalItem:BK,addPolarGraphicalItem:VK,removePolarGraphicalItem:HK,replacePolarGraphicalItem:UK}=LK.actions,WK=LK.reducer,GK=(0,z.memo)(e=>{var t=gS(),n=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{n.current===null?t(RK(e)):n.current!==e&&t(zK({prev:n.current,next:e})),n.current=e},[t,e]),(0,z.useLayoutEffect)(()=>()=>{n.current&&=(t(BK(n.current)),null)},[t]),null}),KK=(0,z.memo)(e=>{var t=gS(),n=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{n.current===null?t(VK(e)):n.current!==e&&t(UK({prev:n.current,next:e})),n.current=e},[t,e]),(0,z.useLayoutEffect)(()=>()=>{n.current&&=(t(HK(n.current)),null)},[t]),null}),qK=[`key`],JK=[`onMouseEnter`,`onClick`,`onMouseLeave`],YK=[`id`],XK=[`id`];function ZK(){return ZK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZK.apply(null,arguments)}function QK(e,t){if(e==null)return{};var n,r,i=$K(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $K(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function eq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?eq(Object(n),!0).forEach(function(t){nq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nq(e,t,n){return(t=rq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rq(e){var t=iq(e,`string`);return typeof t==`symbol`?t:t+``}function iq(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function aq(e){var t=(0,z.useMemo)(()=>XG(e.children,GV),[e.children]),n=Q(n=>HG(n,e.id,t));return n==null?null:z.createElement(MK,{legendPayload:n})}function oq(e){if(!(e==null||typeof e==`boolean`||typeof e==`function`)){if(z.isValidElement(e)){var t=e.props?.fill;return typeof t==`string`?t:void 0}var{fill:n}=e;return typeof n==`string`?n:void 0}}var sq=z.memo(e=>{var{dataKey:t,nameKey:n,sectors:r,stroke:i,strokeWidth:a,fill:o,name:s,hide:c,tooltipType:l,id:u,activeShape:d}=e,f=oq(d),p={dataDefinedOnItem:r.map(e=>{var t=e.tooltipPayload;return f==null||t==null?t:t.map(e=>tq(tq({},e),{},{color:f,fill:f}))}),getPosition:e=>r[Number(e)]?.tooltipPosition,settings:{stroke:i,strokeWidth:a,fill:o,dataKey:t,nameKey:n,name:fE(s,t),hide:c,type:l,color:o,unit:``,graphicalItemId:u}};return z.createElement(AK,{tooltipEntrySettings:p})}),cq=(e,t)=>e>t?`start`:e<t?`end`:`middle`,lq=(e,t,n)=>nx(typeof t==`function`?t(e):t,n,n*.8),uq=(e,t,n)=>{var{top:r,left:i,width:a,height:o}=t,s=jA(a,o);return{cx:i+nx(e.cx,a,a/2),cy:r+nx(e.cy,o,o/2),innerRadius:nx(e.innerRadius,s,0),outerRadius:lq(n,e.outerRadius,s),maxRadius:e.maxRadius||Math.sqrt(a*a+o*o)/2}},dq=(e,t)=>Zb(t-e)*Math.min(Math.abs(t-e),360),fq=(e,t)=>{if(z.isValidElement(e))return z.cloneElement(e,t);if(typeof e==`function`)return e(t);var n=J(`recharts-pie-label-line`,typeof e==`boolean`?``:e.className),{key:r}=t,i=QK(t,qK);return z.createElement($O,ZK({},i,{type:`linear`,className:n}))},pq=(e,t,n)=>{if(z.isValidElement(e))return z.cloneElement(e,t);var r=n;if(typeof e==`function`&&(r=e(t),z.isValidElement(r)))return r;var i=J(`recharts-pie-label-text`,UW(e));return z.createElement(KH,ZK({},t,{alignmentBaseline:`middle`,className:i}),r)};function mq(e){var{sectors:t,props:n,showLabels:r}=e,{label:i,labelLine:a,dataKey:o}=n;if(!r||!i||!t)return null;var s=Yv(n),c=Xv(i),l=Xv(a),u=typeof i==`object`&&`offsetRadius`in i&&typeof i.offsetRadius==`number`&&i.offsetRadius||20,d=t.map((e,t)=>{var n=(e.startAngle+e.endAngle)/2,r=AA(e.cx,e.cy,e.outerRadius+u,n),d=tq(tq(tq(tq({},s),e),{},{stroke:`none`},c),{},{index:t,textAnchor:cq(r.x,e.cx)},r),f=tq(tq(tq(tq({},s),e),{},{fill:`none`,stroke:e.fill},l),{},{index:t,points:[AA(e.cx,e.cy,e.outerRadius,n),r],key:`line`});return z.createElement(QB,{zIndex:Fj.label,key:`label-${e.startAngle}-${e.endAngle}-${e.midAngle}-${t}`},z.createElement(Y,null,a&&fq(a,f),pq(i,d,$T(e,o))))});return z.createElement(Y,{className:`recharts-pie-labels`},d)}function hq(e){var{sectors:t,props:n,showLabels:r}=e,{label:i}=n;return typeof i==`object`&&i&&`position`in i?z.createElement(BU,{label:i}):z.createElement(mq,{sectors:t,props:n,showLabels:r})}function gq(e){var{sectors:t,activeShape:n,inactiveShape:r,allOtherPieProps:i,shape:a,id:o}=e,s=Q(Yz),c=Q(Zz),l=Q(Qz),{onMouseEnter:u,onClick:d,onMouseLeave:f}=i,p=QK(i,JK),m=DK(u,i.dataKey,o),h=OK(f),g=kK(d,i.dataKey,o);return t==null||t.length===0?null:z.createElement(z.Fragment,null,t.map((e,u)=>{if(e?.startAngle===0&&e?.endAngle===0&&t.length!==1)return null;var d=l==null||l===o,f=String(u)===s&&(c==null||i.dataKey===c)&&d,_=n&&f?n:s?r:null,v=tq(tq({},e),{},{stroke:e.stroke,tabIndex:-1,[vE]:u,[yE]:o});return z.createElement(Y,ZK({key:`sector-${e?.startAngle}-${e?.endAngle}-${e.midAngle}-${u}`,tabIndex:-1,className:`recharts-pie-sector`},gx(p,e,u),{onMouseEnter:m(e,u),onMouseLeave:h(e,u),onClick:g(e,u)}),z.createElement(EK,ZK({option:a??_,index:u,shapeType:`sector`,isActive:f},v)))}))}function _q(e){var{pieSettings:t,displayedData:n,cells:r,offset:i}=e,{cornerRadius:a,startAngle:o,endAngle:s,dataKey:c,nameKey:l,tooltipType:u}=t,d=Math.abs(t.minAngle),f=dq(o,s),p=Math.abs(f),m=n.length<=1?0:t.paddingAngle??0,h=n.filter(e=>$T(e,c,0)!==0).length,g=(p>=360?h:h-1)*m,_=n.reduce((e,t)=>{var n=$T(t,c,0);return e+(X(n)?n:0)},0),v=d>0&&_>0&&n.some(e=>{var t=$T(e,c,0),n=(X(t)?t:0)/_;return t!==0&&n*p<d})?d:0,y=p-h*v-g,b;if(_>0){var x;b=n.map((e,n)=>{var s=$T(e,c,0),d=$T(e,l,n),p=uq(t,i,e),h=(X(s)?s:0)/_,g,b=tq(tq({},e),r&&r[n]&&r[n].props),S=b!=null&&`fill`in b&&typeof b.fill==`string`?b.fill:t.fill;g=n?x.endAngle+Zb(f)*m*(s===0?0:1):o;var C=g+Zb(f)*((s===0?0:v)+h*y),w=(g+C)/2,T=(p.innerRadius+p.outerRadius)/2,E=[{name:d,value:s,payload:b,dataKey:c,type:u,color:S,fill:S,graphicalItemId:t.id}],D=AA(p.cx,p.cy,T,w);return x=tq(tq(tq(tq({},t.presentationProps),{},{percent:h,cornerRadius:typeof a==`string`?parseFloat(a):a,name:d,tooltipPayload:E,midAngle:w,middleRadius:T,tooltipPosition:D},b),p),{},{value:s,dataKey:c,startAngle:g,endAngle:C,payload:b,paddingAngle:s===0?0:Zb(f)*m}),x})}return b}function vq(e){var{showLabels:t,sectors:n,children:r}=e,i=(0,z.useMemo)(()=>!t||!n?[]:n.map(e=>({value:e.value,payload:e.payload,clockWise:!1,parentViewBox:void 0,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill})),[n,t]);return z.createElement(IU,{value:t?i:void 0},r)}function yq(e){var{props:t,previousSectorsRef:n,id:r}=e,{sectors:i,isAnimationActive:a,animationBegin:o,animationDuration:s,animationEasing:c,activeShape:l,inactiveShape:u,onAnimationStart:d,onAnimationEnd:f}=t,p=Zk(t,`recharts-pie-`),m=n.current,[h,g]=(0,z.useState)(!1),_=(0,z.useCallback)(()=>{typeof f==`function`&&f(),g(!1)},[f]),v=(0,z.useCallback)(()=>{typeof d==`function`&&d(),g(!0)},[d]);return z.createElement(vq,{showLabels:!h,sectors:i},z.createElement(Xk,{animationId:p,begin:o,duration:s,isActive:a,easing:c,onAnimationStart:v,onAnimationEnd:_,key:p},e=>{var a=[],o=(i&&i[0])?.startAngle??0;return i?.forEach((t,n)=>{var r=m&&m[n],i=n>0?Jb(t,`paddingAngle`,0):0;if(r){var s=Z(r.endAngle-r.startAngle,t.endAngle-t.startAngle,e),c=tq(tq({},t),{},{startAngle:o+i,endAngle:o+s+i});a.push(c),o=c.endAngle}else{var{endAngle:l,startAngle:u}=t,d=Z(0,l-u,e),f=tq(tq({},t),{},{startAngle:o+i,endAngle:o+d+i});a.push(f),o=f.endAngle}}),n.current=a,z.createElement(Y,null,z.createElement(gq,{sectors:a,activeShape:l,inactiveShape:u,allOtherPieProps:t,shape:t.shape,id:r}))}),z.createElement(hq,{showLabels:!h,sectors:i,props:t}),t.children)}var bq={animationBegin:400,animationDuration:1500,animationEasing:`ease`,cx:`50%`,cy:`50%`,dataKey:`value`,endAngle:360,fill:`#808080`,hide:!1,innerRadius:0,isAnimationActive:`auto`,label:!1,labelLine:!0,legendType:`rect`,minAngle:0,nameKey:`name`,outerRadius:`80%`,paddingAngle:0,rootTabIndex:0,startAngle:0,stroke:`#fff`,zIndex:Fj.area};function xq(e){var{id:t}=e,n=QK(e,YK),{hide:r,className:i,rootTabIndex:a}=e,o=(0,z.useMemo)(()=>XG(e.children,GV),[e.children]),s=Q(e=>UG(e,t,o)),c=(0,z.useRef)(null),l=J(`recharts-pie`,i);return r||s==null?(c.current=null,z.createElement(Y,{tabIndex:a,className:l})):z.createElement(QB,{zIndex:e.zIndex},z.createElement(sq,{dataKey:e.dataKey,nameKey:e.nameKey,sectors:s,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:t,activeShape:e.activeShape}),z.createElement(Y,{tabIndex:a,className:l},z.createElement(yq,{props:tq(tq({},n),{},{sectors:s}),previousSectorsRef:c,id:t})))}function Sq(e){var t=vx(e,bq),{id:n}=t,r=QK(t,XK),i=Yv(r);return z.createElement(IK,{id:n,type:`pie`},e=>z.createElement(z.Fragment,null,z.createElement(KK,{type:`pie`,id:e,data:r.data,dataKey:r.dataKey,hide:r.hide,angleAxisId:0,radiusAxisId:0,name:r.name,nameKey:r.nameKey,tooltipType:r.tooltipType,legendType:r.legendType,fill:r.fill,cx:r.cx,cy:r.cy,startAngle:r.startAngle,endAngle:r.endAngle,paddingAngle:r.paddingAngle,minAngle:r.minAngle,innerRadius:r.innerRadius,outerRadius:r.outerRadius,cornerRadius:r.cornerRadius,presentationProps:i,maxRadius:t.maxRadius}),z.createElement(aq,ZK({},r,{id:e})),z.createElement(xq,ZK({},r,{id:e}))))}var Cq=Sq;Cq.displayName=`Pie`;function wq(e){return e[e.length-1]}function Tq(e){return Array.isArray(e)?e:Array.from(e)}function Eq(e){if(iS(e))return wq(Tq(e))}var Dq=[`points`];function Oq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Oq(Object(n),!0).forEach(function(t){Aq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Aq(e,t,n){return(t=jq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jq(e){var t=Mq(e,`string`);return typeof t==`symbol`?t:t+``}function Mq(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Nq(){return Nq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nq.apply(null,arguments)}function Pq(e,t){if(e==null)return{};var n,r,i=Fq(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Fq(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Iq(e){var{option:t,dotProps:n,className:r}=e;if((0,z.isValidElement)(t))return(0,z.cloneElement)(t,n);if(typeof t==`function`)return t(n);var i=J(r,typeof t==`boolean`?``:t.className),a=n??{},{points:o}=a,s=Pq(a,Dq);return z.createElement($U,Nq({},s,{className:i}))}function Lq(e,t){return e==null?!1:t?!0:e.length===1}function Rq(e){var{points:t,dot:n,className:r,dotClassName:i,dataKey:a,baseProps:o,needClip:s,clipPathId:c,zIndex:l=Fj.scatter}=e;if(!Lq(t,n))return null;var u=ZG(n),d=Qv(n),f=t.map((e,r)=>{var s=kq(kq(kq({r:3},o),d),{},{index:r,cx:e.x??void 0,cy:e.y??void 0,dataKey:a,value:e.value,payload:e.payload,points:t});return z.createElement(Iq,{key:`dot-${r}`,option:n,dotProps:s,className:i})}),p={};return s&&c!=null&&(p.clipPath=`url(#clipPath-${u?``:`dots-`}${c})`),z.createElement(QB,{zIndex:l},z.createElement(Y,Nq({className:r},p),f))}function zq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Bq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?zq(Object(n),!0).forEach(function(t){Vq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vq(e,t,n){return(t=Hq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hq(e){var t=Uq(e,`string`);return typeof t==`symbol`?t:t+``}function Uq(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Wq=eT({name:`cartesianAxis`,initialState:{xAxis:{},yAxis:{},zAxis:{}},reducers:{addXAxis:{reducer(e,t){e.xAxis[t.payload.id]=ND(t.payload)},prepare:zw()},replaceXAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.xAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.xAxis[n.id],e.xAxis[r.id]=ND(r))},prepare:zw()},removeXAxis:{reducer(e,t){delete e.xAxis[t.payload.id]},prepare:zw()},addYAxis:{reducer(e,t){e.yAxis[t.payload.id]=ND(t.payload)},prepare:zw()},replaceYAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.yAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.yAxis[n.id],e.yAxis[r.id]=ND(r))},prepare:zw()},removeYAxis:{reducer(e,t){delete e.yAxis[t.payload.id]},prepare:zw()},addZAxis:{reducer(e,t){e.zAxis[t.payload.id]=ND(t.payload)},prepare:zw()},replaceZAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.zAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.zAxis[n.id],e.zAxis[r.id]=ND(r))},prepare:zw()},removeZAxis:{reducer(e,t){delete e.zAxis[t.payload.id]},prepare:zw()},updateYAxisWidth(e,t){var{id:n,width:r}=t.payload,i=e.yAxis[n];if(i){var a=i.widthHistory||[];if(a.length===3&&a[0]===a[2]&&r===a[1]&&r!==i.width&&Math.abs(r-(a[0]??0))<=1)return;var o=[...a,r].slice(-3);e.yAxis[n]=Bq(Bq({},i),{},{width:r,widthHistory:o})}}}}),{addXAxis:Gq,replaceXAxis:Kq,removeXAxis:qq,addYAxis:Jq,replaceYAxis:Yq,removeYAxis:Xq,addZAxis:Mae,replaceZAxis:Nae,removeZAxis:Pae,updateYAxisWidth:Zq}=Wq.actions,Qq=Wq.reducer,$q=$([$([SE],e=>({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),pE,mE],(e,t,n)=>{if(!(!e||t==null||n==null))return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,n-e.top-e.bottom)}}),eJ=()=>Q($q),tJ=()=>Q(nB);function nJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nJ(Object(n),!0).forEach(function(t){iJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iJ(e,t,n){return(t=aJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aJ(e){var t=oJ(e,`string`);return typeof t==`symbol`?t:t+``}function oJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var sJ=e=>{var{point:t,childIndex:n,mainColor:r,activeDot:i,dataKey:a,clipPath:o}=e;if(i===!1||t.x==null||t.y==null)return null;var s=rJ(rJ(rJ({},{index:n,dataKey:a,cx:t.x,cy:t.y,r:4,fill:r??`none`,strokeWidth:2,stroke:`#fff`,payload:t.payload,value:t.value}),Xv(i)),hx(i)),c=(0,z.isValidElement)(i)?(0,z.cloneElement)(i,s):typeof i==`function`?i(s):z.createElement($U,s);return z.createElement(Y,{className:`recharts-active-dot`,clipPath:o},c)};function cJ(e){var{points:t,mainColor:n,activeDot:r,itemDataKey:i,clipPath:a,zIndex:o=Fj.activeDot}=e,s=Q(Yz),c=tJ();if(t==null||c==null)return null;var l=t.find(e=>c.includes(e.payload));return ax(l)?null:z.createElement(QB,{zIndex:o},z.createElement(sJ,{point:l,childIndex:Number(s),mainColor:n,dataKey:i,activeDot:r,clipPath:a}))}function lJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?lJ(Object(n),!0).forEach(function(t){dJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dJ(e,t,n){return(t=fJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fJ(e){var t=pJ(e,`string`);return typeof t==`symbol`?t:t+``}function pJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var mJ=(e,t)=>uW(e,`radiusAxis`,t),hJ=$([mJ],e=>{if(e!=null)return{scale:e}}),gJ=$([Jj,mJ],(e,t)=>{if(!(e==null||t==null))return uJ(uJ({},e),{},{scale:t})}),_J=(e,t,n,r)=>fW(e,`radiusAxis`,t,r),vJ=(e,t,n)=>qj(e,n),yJ=(e,t,n)=>uW(e,`angleAxis`,n),bJ=$([vJ,yJ],(e,t)=>{if(!(e==null||t==null))return uJ(uJ({},e),{},{scale:t})}),xJ=(e,t,n,r)=>fW(e,`angleAxis`,n,r),SJ=$([vJ,yJ,rM],(e,t,n)=>{if(!(n==null||t==null))return{scale:t,type:e.type,dataKey:e.dataKey,cx:n.cx,cy:n.cy}}),CJ=(e,t,n,r,i)=>i,wJ=$([HE,gJ,_J,bJ,xJ],(e,t,n,r,i)=>eE(e,`radiusAxis`)?uE(t,n,!1):uE(r,i,!1)),TJ=$([hJ,SJ,ij,$([eW,CJ],(e,t)=>{if(e!=null)return e.find(e=>e.type===`radar`&&t===e.id)?.dataKey}),wJ],(e,t,n,r,i)=>{var{chartData:a,dataStartIndex:o,dataEndIndex:s}=n;if(!(e==null||t==null||a==null||i==null||r==null))return zJ({radiusAxis:e,angleAxis:t,displayedData:a.slice(o,s+1),dataKey:r,bandSize:i})}),EJ=[`id`];function DJ(){return DJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DJ.apply(null,arguments)}function OJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?OJ(Object(n),!0).forEach(function(t){AJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function AJ(e,t,n){return(t=jJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jJ(e){var t=MJ(e,`string`);return typeof t==`symbol`?t:t+``}function MJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function NJ(e,t){if(e==null)return{};var n,r,i=PJ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function PJ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function FJ(e,t){return e&&e!==`none`?e:t}var IJ=e=>{var{dataKey:t,name:n,stroke:r,fill:i,legendType:a,hide:o}=e;return[{inactive:o,dataKey:t,type:a,color:FJ(r,i),value:fE(n,t),payload:e}]},LJ=z.memo(e=>{var{dataKey:t,stroke:n,strokeWidth:r,fill:i,name:a,hide:o,tooltipType:s,id:c}=e,l={dataDefinedOnItem:void 0,getPosition:cx,settings:{stroke:n,strokeWidth:r,fill:i,nameKey:void 0,dataKey:t,name:fE(a,t),hide:o,type:s,color:FJ(n,i),unit:``,graphicalItemId:c}};return z.createElement(AK,{tooltipEntrySettings:l})});function RJ(e){var{points:t,props:n}=e,{dot:r,dataKey:i}=n,{id:a}=n,o=Yv(NJ(n,EJ));return z.createElement(Rq,{points:t,dot:r,className:`recharts-radar-dots`,dotClassName:`recharts-radar-dot`,dataKey:i,baseProps:o})}function zJ(e){var{radiusAxis:t,angleAxis:n,displayedData:r,dataKey:i,bandSize:a}=e,{cx:o,cy:s}=n,c=!1,l=[],u=n.type===`number`?0:a??0;r.forEach((e,r)=>{var a=$T(e,n.dataKey,r),d=$T(e,i),f=(n.scale.map(a)??0)+u,p=Array.isArray(d)?Eq(d):d,m=ax(p)?0:t.scale.map(p)??0;Array.isArray(d)&&d.length>=2&&(c=!0),l.push(kJ(kJ({},AA(o,s,m,f)),{},{name:a,value:d,cx:o,cy:s,radius:m,angle:f,payload:e}))});var d=[];return c&&l.forEach(e=>{if(Array.isArray(e.value)){var n=e.value[0],r=ax(n)?0:t.scale.map(n)??0;d.push(kJ(kJ({},e),{},{radius:r},AA(o,s,r,e.angle)))}else d.push(e)}),{points:l,isRange:c,baseLinePoints:d}}function BJ(e){var{showLabels:t,points:n,children:r}=e,i=n.map(e=>{var t={x:e.x,y:e.y,width:0,lowerWidth:0,upperWidth:0,height:0};return kJ(kJ({},t),{},{value:e.value??``,payload:e.payload,parentViewBox:void 0,viewBox:t,fill:void 0})});return z.createElement(PU,{value:t?i:void 0},r)}function VJ(e){var{points:t,baseLinePoints:n,props:r}=e;if(t==null)return null;var{shape:i,isRange:a,connectNulls:o}=r,s=z.isValidElement(i)?z.cloneElement(i,kJ(kJ({},r),{},{points:t})):typeof i==`function`?i(kJ(kJ({},r),{},{points:t})):z.createElement(ZU,DJ({},Zv(r),{onMouseEnter:e=>{var{onMouseEnter:t}=r;t&&t(r,e)},onMouseLeave:e=>{var{onMouseLeave:t}=r;t&&t(r,e)},points:t,baseLinePoints:a?n:void 0,connectNulls:o}));return z.createElement(Y,{className:`recharts-radar-polygon`},s,z.createElement(RJ,{props:r,points:t}))}var HJ=(e,t,n)=>(r,i)=>{var a=e&&e[Math.floor(i*t)];return a?kJ(kJ({},r),{},{x:Z(a.x,r.x,n),y:Z(a.y,r.y,n)}):kJ(kJ({},r),{},{x:Z(r.cx,r.x,n),y:Z(r.cy,r.y,n)})};function UJ(e){var{props:t,previousPointsRef:n,previousBaseLinePointsRef:r}=e,{points:i,baseLinePoints:a,isAnimationActive:o,animationBegin:s,animationDuration:c,animationEasing:l,onAnimationEnd:u,onAnimationStart:d}=t,f=n.current,p=r.current,m=f?f.length/i.length:1,h=p?p.length/a.length:1,g=Zk(t,`recharts-radar-`),[_,v]=(0,z.useState)(!1),y=!_,b=(0,z.useCallback)(()=>{typeof u==`function`&&u(),v(!1)},[u]),x=(0,z.useCallback)(()=>{typeof d==`function`&&d(),v(!0)},[d]);return z.createElement(BJ,{showLabels:y,points:i},z.createElement(Xk,{animationId:g,begin:s,duration:c,isActive:o,easing:l,key:`radar-${g}`,onAnimationEnd:b,onAnimationStart:x},e=>{var o=e===1?i:i.map(HJ(f,m,e)),s=e===1?a:a?.map(HJ(p,h,e));return e>0&&(n.current=o,r.current=s),z.createElement(VJ,{points:o,baseLinePoints:s,props:t})}),z.createElement(BU,{label:t.label}),t.children)}function WJ(e){var t=(0,z.useRef)(void 0),n=(0,z.useRef)(void 0);return z.createElement(UJ,{props:e,previousPointsRef:t,previousBaseLinePointsRef:n})}var GJ={activeDot:!0,angleAxisId:0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,dot:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,radiusAxisId:0,zIndex:Fj.area};function KJ(e){var{hide:t,className:n,points:r}=e;if(t)return null;var i=J(`recharts-radar`,n);return z.createElement(QB,{zIndex:e.zIndex},z.createElement(Y,{className:i},z.createElement(WJ,e)),z.createElement(cJ,{points:r,mainColor:FJ(e.stroke,e.fill),itemDataKey:e.dataKey,activeDot:e.activeDot}))}function qJ(e){var t=wE(),n=Q(n=>TJ(n,e.radiusAxisId,e.angleAxisId,t,e.id));return n?.points==null?null:z.createElement(KJ,DJ({},e,{points:n?.points,baseLinePoints:n?.baseLinePoints,isRange:n?.isRange}))}function JJ(e){var t=vx(e,GJ);return z.createElement(IK,{id:t.id,type:`radar`},e=>z.createElement(z.Fragment,null,z.createElement(KK,{type:`radar`,id:e,data:void 0,dataKey:t.dataKey,hide:t.hide,angleAxisId:t.angleAxisId,radiusAxisId:t.radiusAxisId}),z.createElement(MK,{legendPayload:IJ(t)}),z.createElement(LJ,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,tooltipType:t.tooltipType,id:e}),z.createElement(qJ,DJ({},t,{id:e}))))}JJ.displayName=`Radar`;function YJ(){return YJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YJ.apply(null,arguments)}function XJ(e){return typeof e==`string`?parseInt(e,10):e}function ZJ(e){return z.createElement(EK,YJ({shapeType:`sector`},e))}var QJ=(e,t,n)=>{var r=n??e;if(!ax(r))return nx(r,t,0)},$J=(e,t,n)=>{var r={},i=e.filter(cM),a=e.filter(e=>e.stackId==null),o=i.reduce((e,t)=>{var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},r),s=Object.entries(o).map(e=>{var[r,i]=e;return{stackId:r,dataKeys:i.map(e=>e.dataKey),barSize:QJ(t,n,i[0]?.barSize)}}),c=a.map(e=>({stackId:void 0,dataKeys:[e.dataKey].filter(e=>e!=null),barSize:QJ(t,n,e.barSize)}));return[...s,...c]};function eY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?eY(Object(n),!0).forEach(function(t){nY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nY(e,t,n){return(t=rY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rY(e){var t=iY(e,`string`);return typeof t==`symbol`?t:t+``}function iY(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function aY(e,t,n,r,i){var a=r.length;if(!(a<1)){var o=nx(e,n,0,!0),s,c=[];if(YT(r[0]?.barSize)){var l=!1,u=n/a,d=r.reduce((e,t)=>e+(t.barSize||0),0);d+=(a-1)*o,d>=n&&(d-=(a-1)*o,o=0),d>=n&&u>0&&(l=!0,u*=.9,d=a*u);var f={offset:((n-d)/2>>0)-o,size:0};s=r.reduce((e,t)=>{var n={stackId:t.stackId,dataKeys:t.dataKeys,position:{offset:f.offset+f.size+o,size:l?u:t.barSize??0}},r=[...e,n];return f=n.position,r},c)}else{var p=nx(t,n,0,!0);n-2*p-(a-1)*o<=0&&(o=0);var m=(n-2*p-(a-1)*o)/a;m>1&&(m>>=0);var h=YT(i)?Math.min(m,i):m;s=r.reduce((e,t,n)=>[...e,{stackId:t.stackId,dataKeys:t.dataKeys,position:{offset:p+(m+o)*n+(m-h)/2,size:h}}],c)}return s}}var oY=(e,t,n,r,i,a,o)=>{var s=ax(o)?t:o,c=aY(n,r,i===a?a:i,e,s);return i!==a&&c!=null&&(c=c.map(e=>tY(tY({},e),{},{position:tY(tY({},e.position),{},{offset:e.position.offset-i/2})}))),c},sY=(e,t)=>{var n=oM(t);if(!(!e||n==null||t==null)){var{stackId:r}=t;if(r!=null){var i=e[r];if(i){var{stackedData:a}=i;if(a)return a.find(e=>e.key===n)}}}},cY=(e,t)=>{if(!(e==null||t==null)){var n=e.find(e=>e.stackId===t.stackId&&t.dataKey!=null&&e.dataKeys.includes(t.dataKey));if(n!=null)return n.position}};function lY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?lY(Object(n),!0).forEach(function(t){dY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dY(e,t,n){return(t=fY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fY(e){var t=pY(e,`string`);return typeof t==`symbol`?t:t+``}function pY(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var mY=$([(e,t)=>Jj(e,t),(e,t)=>uW(e,`radiusAxis`,t)],(e,t)=>{if(!(e==null||t==null))return uY(uY({},e),{},{scale:t})}),hY=(e,t)=>mW(e,`radiusAxis`,t,!1),gY=$([(e,t,n)=>qj(e,n),(e,t,n)=>uW(e,`angleAxis`,n)],(e,t)=>{if(!(e==null||t==null))return uY(uY({},e),{},{scale:t})}),_Y=(e,t,n)=>fW(e,`angleAxis`,n,!1),vY=$([eW,(e,t,n,r)=>r],(e,t)=>{if(e.some(e=>e.type===`radialBar`&&t.dataKey===e.dataKey&&t.stackId===e.stackId))return t}),yY=$([HE,mY,hY,gY,_Y],(e,t,n,r,i)=>eE(e,`radiusAxis`)?uE(t,n,!1):uE(r,i,!1)),bY=$([gY,mY,HE],(e,t,n)=>{var r=n===`radial`?e:t;if(!(r==null||r.scale==null))return sE({numericAxis:r})}),xY=(e,t,n,r,i)=>i,SY=(e,t,n,r,i)=>n,CY=(e,t,n,r,i)=>t,wY=(e,t,n,r,i)=>r.maxBarSize,TY=e=>e.type===`radialBar`,EY=$([$([$([$([HE,eW,SY,CY],(e,t,n,r)=>t.filter(t=>e===`centric`?t.angleAxisId===n:t.radiusAxisId===r).filter(e=>e.hide===!1).filter(TY)),Dj,()=>void 0],$J),wj,Tj,Ej,$([HE,wj,gY,_Y,mY,hY,wY],(e,t,n,r,i,a,o)=>{var s=ax(o)?t:o;return e===`centric`?uE(n,r,!0)??s??0:uE(i,a,!0)??s??0}),yY,wY],oY),vY],cY),DY=$([tW],e=>e.filter(TY).filter(cM)),OY=$([$([DY,ij,IL],sM),DY,Oj,kj],RL),kY=$([gY,_Y,mY,hY,rj,vY,yY,HE,bY,rM,xY,EY,$([(e,t,n)=>HE(e)===`centric`?OY(e,`radiusAxis`,t):OY(e,`angleAxis`,n),vY],sY)],(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{var{chartData:p,dataStartIndex:m,dataEndIndex:h}=i;if(a==null||n==null||e==null||p==null||o==null||d==null||s!==`centric`&&s!==`radial`||r==null||l==null)return[];var{dataKey:g,minPointSize:_}=a,{cx:v,cy:y,startAngle:b,endAngle:x}=l;return $Y({angleAxis:e,angleAxisTicks:t,bandSize:o,baseValue:c,cells:u,cx:v,cy:y,dataKey:g,dataStartIndex:m,displayedData:p.slice(m,h+1),endAngle:x,layout:s,minPointSize:_,pos:d,radiusAxis:n,radiusAxisTicks:r,stackedData:f,stackedDomain:f?(s===`centric`?n:e).scale.domain():null,startAngle:b})}),AY=$([ij,(e,t)=>t],(e,t)=>{var{chartData:n,dataStartIndex:r,dataEndIndex:i}=e;if(n==null)return[];var a=n.slice(r,i+1);return a.length===0?[]:a.map(e=>({type:t,value:e.name,color:e.fill,payload:e}))});function jY(e,t){return e&&typeof e==`object`&&`zIndex`in e&&typeof e.zIndex==`number`&&YT(e.zIndex)?e.zIndex:t}var MY=[`shape`,`activeShape`,`cornerRadius`,`id`],NY=[`onMouseEnter`,`onClick`,`onMouseLeave`],PY=[`value`,`background`];function FY(){return FY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FY.apply(null,arguments)}function IY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function LY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?IY(Object(n),!0).forEach(function(t){RY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function RY(e,t,n){return(t=zY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zY(e){var t=BY(e,`string`);return typeof t==`symbol`?t:t+``}function BY(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function VY(e,t){if(e==null)return{};var n,r,i=HY(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function HY(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var UY=[];function WY(e){var{showLabels:t,sectors:n,children:r}=e,i=n.map(e=>({value:e.value,payload:e.payload,parentViewBox:void 0,clockWise:!1,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill}));return z.createElement(IU,{value:t?i:void 0},r)}function GY(e){var{sectors:t,allOtherRadialBarProps:n,showLabels:r}=e,{shape:i,activeShape:a,cornerRadius:o,id:s}=n,c=VY(n,MY),l=Yv(c),u=Q(Yz),{onMouseEnter:d,onClick:f,onMouseLeave:p}=n,m=VY(n,NY),h=DK(d,n.dataKey,s),g=OK(p),_=kK(f,n.dataKey,s);return t==null?null:z.createElement(WY,{showLabels:r,sectors:t},t.map((e,t)=>{var n=!!(a&&u===String(t)),r=h(e,t),s=g(e,t),d=_(e,t),f=LY(LY(LY(LY({},l),{},{cornerRadius:XJ(o)},e),gx(m,e,t)),{},{onMouseEnter:r,onMouseLeave:s,onClick:d,className:`recharts-radial-bar-sector ${e.className}`,forceCornerRadius:c.forceCornerRadius,cornerIsExternal:c.cornerIsExternal,isActive:n,option:n?a:i,index:t});return n?z.createElement(QB,{zIndex:Fj.activeBar,key:`sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`},z.createElement(ZJ,f)):z.createElement(ZJ,FY({key:`sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`},f))}),z.createElement(BU,{label:n.label}),n.children)}function KY(e){var{props:t,previousSectorsRef:n}=e,{sectors:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s,onAnimationEnd:c,onAnimationStart:l}=t,u=Zk(t,`recharts-radialbar-`),d=n.current,[f,p]=(0,z.useState)(!1),m=(0,z.useCallback)(()=>{typeof c==`function`&&c(),p(!1)},[c]),h=(0,z.useCallback)(()=>{typeof l==`function`&&l(),p(!0)},[l]);return z.createElement(Xk,{animationId:u,begin:a,duration:o,isActive:i,easing:s,onAnimationStart:h,onAnimationEnd:m,key:u},e=>{var i=e===1?r:(r??UY).map((t,n)=>{var r=d&&d[n];if(r)return LY(LY({},t),{},{startAngle:Z(r.startAngle,t.startAngle,e),endAngle:Z(r.endAngle,t.endAngle,e)});var{endAngle:i,startAngle:a}=t;return LY(LY({},t),{},{endAngle:Z(a,i,e)})});return e>0&&(n.current=i??null),z.createElement(GY,{sectors:i??UY,allOtherRadialBarProps:t,showLabels:!f})})}function qY(e){var t=(0,z.useRef)(null);return z.createElement(KY,{props:e,previousSectorsRef:t})}function JY(e){var t=Q(t=>AY(t,e.legendType));return z.createElement(MK,{legendPayload:t??[]})}var YY=z.memo(e=>{var{dataKey:t,sectors:n,stroke:r,strokeWidth:i,name:a,hide:o,fill:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:n,getPosition:cx,settings:{graphicalItemId:l,stroke:r,strokeWidth:i,fill:s,nameKey:void 0,dataKey:t,name:fE(a,t),hide:o,type:c,color:s,unit:``}};return z.createElement(AK,{tooltipEntrySettings:u})}),XY=class extends z.PureComponent{renderBackground(e){if(e==null)return null;var{cornerRadius:t}=this.props,n=Xv(this.props.background);return z.createElement(QB,{zIndex:jY(this.props.background,Fj.barBackground)},e.map((e,r)=>{var{value:i,background:a}=e,o=VY(e,PY);if(!a)return null;var s=LY(LY(LY(LY(LY({cornerRadius:XJ(t)},o),{},{fill:`#eee`},a),n),gx(this.props,e,r)),{},{index:r,className:J(`recharts-radial-bar-background-sector`,String(n?.className)),option:a,isActive:!1});return z.createElement(ZJ,FY({key:`background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}`},s))}))}render(){var{hide:e,sectors:t,className:n,background:r}=this.props;if(e)return null;var i=J(`recharts-area`,n);return z.createElement(QB,{zIndex:this.props.zIndex},z.createElement(Y,{className:i},r&&z.createElement(Y,{className:`recharts-radial-bar-background`},this.renderBackground(t)),z.createElement(Y,{className:`recharts-radial-bar-sectors`},z.createElement(qY,this.props))))}};function ZY(e){var t=z.useMemo(()=>XG(e.children,GV),[e.children]),n=z.useMemo(()=>({data:void 0,hide:!1,id:e.id,dataKey:e.dataKey,minPointSize:e.minPointSize,stackId:iE(e.stackId),maxBarSize:e.maxBarSize,barSize:e.barSize,type:`radialBar`,angleAxisId:e.angleAxisId,radiusAxisId:e.radiusAxisId}),[e.id,e.dataKey,e.minPointSize,e.stackId,e.maxBarSize,e.barSize,e.angleAxisId,e.radiusAxisId]),r=Q(r=>kY(r,e.radiusAxisId,e.angleAxisId,n,t))??UY;return z.createElement(z.Fragment,null,z.createElement(YY,{dataKey:e.dataKey,sectors:r,stroke:e.stroke,strokeWidth:e.strokeWidth,name:e.name,hide:e.hide,fill:e.fill,tooltipType:e.tooltipType,id:e.id}),z.createElement(XY,FY({},e,{sectors:r})))}var QY={angleAxisId:0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,background:!1,cornerIsExternal:!1,cornerRadius:0,forceCornerRadius:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,minPointSize:0,radiusAxisId:0,zIndex:Fj.bar};function $Y(e){var{displayedData:t,stackedData:n,dataStartIndex:r,stackedDomain:i,dataKey:a,baseValue:o,layout:s,radiusAxis:c,radiusAxisTicks:l,bandSize:u,pos:d,angleAxis:f,minPointSize:p,cx:m,cy:h,angleAxisTicks:g,cells:_,startAngle:v,endAngle:y}=e;return g==null||l==null?UY:(t??[]).map((e,t)=>{var b,x,S,C,w,T;if(n?b=rE(n[r+t],i):(b=$T(e,a),Array.isArray(b)||(b=[o,b])),s===`radial`){if(C=f.scale.map(b[0])??v,w=f.scale.map(b[1])??y,x=oE({axis:c,ticks:l,bandSize:u,offset:d.offset,entry:e,index:t}),x!=null&&w!=null&&C!=null){S=x+d.size;var E=w-C;if(Math.abs(p)>0&&Math.abs(E)<Math.abs(p)){var D=Zb(E||p)*(Math.abs(p)-Math.abs(E));w+=D}T={background:{cx:m,cy:h,innerRadius:x,outerRadius:S,startAngle:v,endAngle:y}}}}else if(x=c.scale.map(b[0]),S=c.scale.map(b[1]),C=oE({axis:f,ticks:g,bandSize:u,offset:d.offset,entry:e,index:t}),x!=null&&S!=null&&C!=null){w=C+d.size;var O=S-x;if(Math.abs(p)>0&&Math.abs(O)<Math.abs(p)){var k=Zb(O||p)*(Math.abs(p)-Math.abs(O));S+=k}}return LY(LY(LY({},e),T),{},{payload:e,value:n?b:b[1],cx:m,cy:h,innerRadius:x,outerRadius:S,startAngle:C,endAngle:w},_&&_[t]&&_[t].props)})}function eX(e){var t=vx(e,QY);return z.createElement(IK,{id:t.id,type:`radialBar`},e=>z.createElement(z.Fragment,null,z.createElement(KK,{type:`radialBar`,id:e,data:void 0,dataKey:t.dataKey,hide:t.hide??QY.hide,angleAxisId:t.angleAxisId??QY.angleAxisId,radiusAxisId:t.radiusAxisId??QY.radiusAxisId,stackId:iE(t.stackId),barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize}),z.createElement(JY,t),z.createElement(ZY,FY({},t,{id:e}))))}eX.displayName=`RadialBar`;var tX=e=>{var{chartData:t}=e,n=gS(),r=wE();return(0,z.useEffect)(()=>r?()=>{}:(n(bV(t)),()=>{n(bV(void 0))}),[t,n,r]),null},nX={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},rX=eT({name:`brush`,initialState:nX,reducers:{setBrushSettings(e,t){return t.payload==null?nX:t.payload}}}),{setBrushSettings:Fae}=rX.actions,iX=rX.reducer,aX=(e,t)=>{var{x:n,y:r}=e,{x:i,y:a}=t;return{x:Math.min(n,i),y:Math.min(r,a),width:Math.abs(i-n),height:Math.abs(a-r)}},oX=e=>{var{x1:t,y1:n,x2:r,y2:i}=e;return aX({x:t,y:n},{x:r,y:i})};function sX(e){return(e%180+180)%180}var cX=function(e){var{width:t,height:n}=e,r=sX(arguments.length>1&&arguments[1]!==void 0?arguments[1]:0)*Math.PI/180,i=Math.atan(n/t),a=r>i&&r<Math.PI-i?n/Math.sin(r):t/Math.cos(r);return Math.abs(a)},lX=eT({name:`referenceElements`,initialState:{dots:[],areas:[],lines:[]},reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var n=Tw(e).dots.findIndex(e=>e===t.payload);n!==-1&&e.dots.splice(n,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var n=Tw(e).areas.findIndex(e=>e===t.payload);n!==-1&&e.areas.splice(n,1)},addLine:(e,t)=>{e.lines.push(ND(t.payload))},removeLine:(e,t)=>{var n=Tw(e).lines.findIndex(e=>e===t.payload);n!==-1&&e.lines.splice(n,1)}}}),{addDot:Iae,removeDot:Lae,addArea:Rae,removeArea:zae,addLine:uX,removeLine:dX}=lX.actions,fX=lX.reducer,pX=(0,z.createContext)(void 0),mX=e=>{var{children:t}=e,[n]=(0,z.useState)(`${tx(`recharts`)}-clip`),r=eJ();if(r==null)return null;var{x:i,y:a,width:o,height:s}=r;return z.createElement(pX.Provider,{value:n},z.createElement(`defs`,null,z.createElement(`clipPath`,{id:n},z.createElement(`rect`,{x:i,y:a,height:s,width:o}))),t)},hX=()=>(0,z.useContext)(pX),gX=class{constructor(e){var{x:t,y:n}=e;this.xAxisScale=t,this.yAxisScale=n}map(e,t){var{position:n}=t;return{x:this.xAxisScale.map(e.x,{position:n})??0,y:this.yAxisScale.map(e.y,{position:n})??0}}mapWithFallback(e,t){var{position:n,fallback:r}=t,i=r===`rangeMin`?this.yAxisScale.rangeMin():r===`rangeMax`?this.yAxisScale.rangeMax():0,a=r===`rangeMin`?this.xAxisScale.rangeMin():r===`rangeMax`?this.xAxisScale.rangeMax():0;return{x:this.xAxisScale.map(e.x,{position:n})??a,y:this.yAxisScale.map(e.y,{position:n})??i}}isInRange(e){var{x:t,y:n}=e,r=t==null||this.xAxisScale.isInRange(t),i=n==null||this.yAxisScale.isInRange(n);return r&&i}};function _X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vX(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?_X(Object(n),!0).forEach(function(t){yX(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_X(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yX(e,t,n){return(t=bX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bX(e){var t=xX(e,`string`);return typeof t==`symbol`?t:t+``}function xX(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function SX(){return SX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SX.apply(null,arguments)}var CX=(e,t)=>{var n;if(z.isValidElement(e))n=z.cloneElement(e,t);else if(typeof e==`function`)n=e(t);else{if(!YT(t.x1)||!YT(t.y1)||!YT(t.x2)||!YT(t.y2))return null;n=z.createElement(`line`,SX({},t,{className:`recharts-reference-line-line`}))}return n},wX=(e,t,n,r,i,a)=>{var{x:o,width:s}=a,c=i.map(e,{position:n});if(!YT(c)||t===`discard`&&!i.isInRange(c))return null;var l=[{x:o+s,y:c},{x:o,y:c}];return r===`left`?l.reverse():l},TX=(e,t,n,r,i,a)=>{var{y:o,height:s}=a,c=i.map(e,{position:n});if(!YT(c)||t===`discard`&&!i.isInRange(c))return null;var l=[{x:c,y:o+s},{x:c,y:o}];return r===`top`?l.reverse():l},EX=(e,t,n,r)=>{var i=[r.mapWithFallback(e[0],{position:n,fallback:`rangeMin`}),r.mapWithFallback(e[1],{position:n,fallback:`rangeMax`})];return t===`discard`&&i.some(e=>!r.isInRange(e))?null:i},DX=(e,t,n,r,i,a,o)=>{var{x:s,y:c,segment:l,ifOverflow:u}=o,d=ex(s);return ex(c)?wX(c,u,r,a,t,n):d?TX(s,u,r,i,e,n):l!=null&&l.length===2?EX(l,u,r,new gX({x:e,y:t})):null};function OX(e){var t=gS();return(0,z.useEffect)(()=>(t(uX(e)),()=>{t(dX(e))})),null}function kX(e){var{xAxisId:t,yAxisId:n,shape:r,className:i,ifOverflow:a}=e,o=wE(),s=hX(),c=Q(e=>uL(e,t)),l=Q(e=>pL(e,n)),u=Q(e=>pR(e,`xAxis`,t,o)),d=Q(e=>pR(e,`yAxis`,n,o)),f=RE();if(!s||!f||c==null||l==null||u==null||d==null)return null;var p=DX(u,d,f,e.position,c.orientation,l.orientation,e);if(!p)return null;var m=p[0],h=p[1];if(m==null||h==null)return null;var{x:g,y:_}=m,{x:v,y}=h,b=vX(vX({clipPath:a===`hidden`?`url(#${s})`:void 0},Zv(e)),{},{x1:g,y1:_,x2:v,y2:y}),x=oX({x1:g,y1:_,x2:v,y2:y});return z.createElement(QB,{zIndex:e.zIndex},z.createElement(Y,{className:J(`recharts-reference-line`,i)},CX(r,b),z.createElement(uU,SX({},x,{lowerWidth:x.width,upperWidth:x.width}),z.createElement(TU,{label:e.label}),e.children)))}var AX={ifOverflow:`discard`,xAxisId:0,yAxisId:0,fill:`none`,label:!1,stroke:`#ccc`,fillOpacity:1,strokeWidth:1,position:`middle`,zIndex:Fj.line};function jX(e){var t=vx(e,AX);return z.createElement(z.Fragment,null,z.createElement(OX,{yAxisId:t.yAxisId,xAxisId:t.xAxisId,ifOverflow:t.ifOverflow,x:t.x,y:t.y,segment:t.segment}),z.createElement(kX,t))}jX.displayName=`ReferenceLine`;function MX(e,t){if(t<1)return[];if(t===1)return e;for(var n=[],r=0;r<e.length;r+=t){var i=e[r];i!==void 0&&n.push(i)}return n}function NX(e,t,n){return cX({width:e.width+t.width,height:e.height+t.height},n)}function PX(e,t,n){var r=n===`width`,{x:i,y:a,width:o,height:s}=e;return t===1?{start:r?i:a,end:r?i+o:a+s}:{start:r?i+o:a+s,end:r?i:a}}function FX(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var a=n();return e*(t-e*a/2-r)>=0&&e*(t+e*a/2-i)<=0}function IX(e,t){return MX(e,t+1)}function LX(e,t,n,r,i){for(var a=(r||[]).slice(),{start:o,end:s}=t,c=0,l=1,u=o,d=function(){var t=r?.[c];if(t===void 0)return{v:MX(r,l)};var a=c,d,f=()=>(d===void 0&&(d=n(t,a)),d),p=t.coordinate,m=c===0||FX(e,p,f,u,s);m||(c=0,u=o,l+=1),m&&(u=p+e*(f()/2+i),c+=l)},f;l<=a.length;)if(f=d(),f)return f.v;return[]}function RX(e,t,n,r,i){var a=(r||[]).slice().length;if(a===0)return[];for(var{start:o,end:s}=t,c=1;c<=a;c++){for(var l=(a-1)%c,u=o,d=!0,f=function(){var t=r[m];if(t==null)return 0;var a=m,o,c=()=>(o===void 0&&(o=n(t,a)),o),f=t.coordinate,p=m===l||FX(e,f,c,u,s);if(!p)return d=!1,1;p&&(u=f+e*(c()/2+i))},p,m=l;m<a&&(p=f(),!(p!==0&&p===1));m+=c);if(d){for(var h=[],g=l;g<a;g+=c){var _=r[g];_!=null&&h.push(_)}return h}}return[]}function zX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function BX(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?zX(Object(n),!0).forEach(function(t){VX(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zX(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function VX(e,t,n){return(t=HX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HX(e){var t=UX(e,`string`);return typeof t==`symbol`?t:t+``}function UX(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function WX(e,t,n,r,i){for(var a=(r||[]).slice(),o=a.length,{start:s}=t,{end:c}=t,l=function(t){var r=a[t];if(r==null)return 1;var l=r,u,d=()=>(u===void 0&&(u=n(r,t)),u);if(t===o-1){var f=e*(l.coordinate+e*d()/2-c);a[t]=l=BX(BX({},l),{},{tickCoord:f>0?l.coordinate-f*e:l.coordinate})}else a[t]=l=BX(BX({},l),{},{tickCoord:l.coordinate});l.tickCoord!=null&&FX(e,l.tickCoord,d,s,c)&&(c=l.tickCoord-e*(d()/2+i),a[t]=BX(BX({},l),{},{isShow:!0}))},u=o-1;u>=0;u--)if(l(u))continue;return a}function GX(e,t,n,r,i,a){var o=(r||[]).slice(),s=o.length,{start:c,end:l}=t;if(a){var u=r[s-1];if(u!=null){var d=n(u,s-1),f=e*(u.coordinate+e*d/2-l);o[s-1]=u=BX(BX({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate}),u.tickCoord!=null&&FX(e,u.tickCoord,()=>d,c,l)&&(l=u.tickCoord-e*(d/2+i),o[s-1]=BX(BX({},u),{},{isShow:!0}))}}for(var p=a?s-1:s,m=function(t){var r=o[t];if(r==null)return 1;var a=r,s,u=()=>(s===void 0&&(s=n(r,t)),s);if(t===0){var d=e*(a.coordinate-e*u()/2-c);o[t]=a=BX(BX({},a),{},{tickCoord:d<0?a.coordinate-d*e:a.coordinate})}else o[t]=a=BX(BX({},a),{},{tickCoord:a.coordinate});a.tickCoord!=null&&FX(e,a.tickCoord,u,c,l)&&(c=a.tickCoord+e*(u()/2+i),o[t]=BX(BX({},a),{},{isShow:!0}))},h=0;h<p;h++)if(m(h))continue;return o}function KX(e,t,n){var{tick:r,ticks:i,viewBox:a,minTickGap:o,orientation:s,interval:c,tickFormatter:l,unit:u,angle:d}=e;if(!i||!i.length||!r)return[];if(X(c)||OO.isSsr)return IX(i,X(c)?c:0)??[];var f=[],p=s===`top`||s===`bottom`?`width`:`height`,m=u&&p===`width`?sH(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},h=(e,r)=>{var i=typeof l==`function`?l(e.value,r):e.value;return p===`width`?NX(sH(i,{fontSize:t,letterSpacing:n}),m,d):sH(i,{fontSize:t,letterSpacing:n})[p]},g=i[0],_=i[1],v=i.length>=2&&g!=null&&_!=null?Zb(_.coordinate-g.coordinate):1,y=PX(a,v,p);return c===`equidistantPreserveStart`?LX(v,y,h,i,o):c===`equidistantPreserveEnd`?RX(v,y,h,i,o):(f=c===`preserveStart`||c===`preserveStartEnd`?GX(v,y,h,i,o,c===`preserveStartEnd`):WX(v,y,h,i,o),f.filter(e=>e.isShow))}var qX=e=>{var{ticks:t,label:n,labelGapWithTick:r=5,tickSize:i=0,tickMargin:a=0}=e,o=0;if(t){Array.from(t).forEach(e=>{if(e){var t=e.getBoundingClientRect();t.width>o&&(o=t.width)}});var s=n?n.getBoundingClientRect().width:0,c=i+a,l=o+c+s+(n?r:0);return Math.round(l)}return 0},JX=eT({name:`renderedTicks`,initialState:{xAxis:{},yAxis:{}},reducers:{setRenderedTicks:(e,t)=>{var{axisType:n,axisId:r,ticks:i}=t.payload;e[n][r]=ND(i)},removeRenderedTicks:(e,t)=>{var{axisType:n,axisId:r}=t.payload;delete e[n][r]}}}),{setRenderedTicks:YX,removeRenderedTicks:XX}=JX.actions,ZX=JX.reducer,QX=[`axisLine`,`width`,`height`,`className`,`hide`,`ticks`,`axisType`,`axisId`];function $X(e,t){if(e==null)return{};var n,r,i=eZ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function eZ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function tZ(){return tZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tZ.apply(null,arguments)}function nZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nZ(Object(n),!0).forEach(function(t){iZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iZ(e,t,n){return(t=aZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aZ(e){var t=oZ(e,`string`);return typeof t==`symbol`?t:t+``}function oZ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var sZ={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:`bottom`,ticks:[],stroke:`#666`,tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:`preserveEnd`,zIndex:Fj.axis};function cZ(e){var{x:t,y:n,width:r,height:i,orientation:a,mirror:o,axisLine:s,otherSvgProps:c}=e;if(!s)return null;var l=rZ(rZ(rZ({},c),Yv(s)),{},{fill:`none`});if(a===`top`||a===`bottom`){var u=+(a===`top`&&!o||a===`bottom`&&o);l=rZ(rZ({},l),{},{x1:t,y1:n+u*i,x2:t+r,y2:n+u*i})}else{var d=+(a===`left`&&!o||a===`right`&&o);l=rZ(rZ({},l),{},{x1:t+d*r,y1:n,x2:t+d*r,y2:n+i})}return z.createElement(`line`,tZ({},l,{className:J(`recharts-cartesian-axis-line`,Jb(s,`className`))}))}function lZ(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h=s?-1:1,g=e.tickSize||o,_=X(e.tickCoord)?e.tickCoord:e.coordinate;switch(a){case`top`:l=u=e.coordinate,f=n+ +!s*i,d=f-h*g,m=d-h*c,p=_;break;case`left`:d=f=e.coordinate,u=t+ +!s*r,l=u-h*g,p=l-h*c,m=_;break;case`right`:d=f=e.coordinate,u=t+ +s*r,l=u+h*g,p=l+h*c,m=_;break;default:l=u=e.coordinate,f=n+ +s*i,d=f+h*g,m=d+h*c,p=_;break}return{line:{x1:l,y1:d,x2:u,y2:f},tick:{x:p,y:m}}}function uZ(e,t){switch(e){case`left`:return t?`start`:`end`;case`right`:return t?`end`:`start`;default:return`middle`}}function dZ(e,t){switch(e){case`left`:case`right`:return`middle`;case`top`:return t?`start`:`end`;default:return t?`end`:`start`}}function fZ(e){var{option:t,tickProps:n,value:r}=e,i,a=J(n.className,`recharts-cartesian-axis-tick-value`);if(z.isValidElement(t))i=z.cloneElement(t,rZ(rZ({},n),{},{className:a}));else if(typeof t==`function`)i=t(rZ(rZ({},n),{},{className:a}));else{var o=`recharts-cartesian-axis-tick-value`;typeof t!=`boolean`&&(o=J(o,UW(t))),i=z.createElement(KH,tZ({},n,{className:o}),r)}return i}function pZ(e){var{ticks:t,axisType:n,axisId:r}=e,i=gS();return(0,z.useEffect)(()=>r==null||n==null?cx:(i(YX({ticks:t.map(e=>({value:e.value,coordinate:e.coordinate,offset:e.offset,index:e.index})),axisId:r,axisType:n})),()=>{i(XX({axisId:r,axisType:n}))}),[i,t,r,n]),null}var mZ=(0,z.forwardRef)((e,t)=>{var{ticks:n=[],tick:r,tickLine:i,stroke:a,tickFormatter:o,unit:s,padding:c,tickTextProps:l,orientation:u,mirror:d,x:f,y:p,width:m,height:h,tickSize:g,tickMargin:_,fontSize:v,letterSpacing:y,getTicksConfig:b,events:x,axisType:S,axisId:C}=e,w=KX(rZ(rZ({},b),{},{ticks:n}),v,y),T=Yv(b),E=Xv(r),D=FH(T.textAnchor)?T.textAnchor:uZ(u,d),O=dZ(u,d),k={};typeof i==`object`&&(k=i);var ee=rZ(rZ({},T),{},{fill:`none`},k),te=w.map(e=>rZ({entry:e},lZ(e,f,p,m,h,u,g,d,_))),ne=te.map(e=>{var{entry:t,line:n}=e;return z.createElement(Y,{className:`recharts-cartesian-axis-tick`,key:`tick-${t.value}-${t.coordinate}-${t.tickCoord}`},i&&z.createElement(`line`,tZ({},ee,n,{className:J(`recharts-cartesian-axis-tick-line`,Jb(i,`className`))})))}),A=te.map((e,t)=>{var{entry:n,tick:i}=e,u=rZ(rZ({},rZ(rZ(rZ(rZ({verticalAnchor:O},T),{},{textAnchor:D,stroke:`none`,fill:a},i),{},{index:t,payload:n,visibleTicksCount:w.length,tickFormatter:o,padding:c},l),{},{angle:l?.angle??T.angle??0})),E);return z.createElement(Y,tZ({className:`recharts-cartesian-axis-tick-label`,key:`tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`},gx(x,n,t)),r&&z.createElement(fZ,{option:r,tickProps:u,value:`${typeof o==`function`?o(n.value,t):n.value}${s||``}`}))});return z.createElement(`g`,{className:`recharts-cartesian-axis-ticks recharts-${S}-ticks`},z.createElement(pZ,{ticks:w,axisId:C,axisType:S}),A.length>0&&z.createElement(QB,{zIndex:Fj.label},z.createElement(`g`,{className:`recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,ref:t},A)),ne.length>0&&z.createElement(`g`,{className:`recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines`},ne))}),hZ=(0,z.forwardRef)((e,t)=>{var{axisLine:n,width:r,height:i,className:a,hide:o,ticks:s,axisType:c,axisId:l}=e,u=$X(e,QX),[d,f]=(0,z.useState)(``),[p,m]=(0,z.useState)(``),h=(0,z.useRef)(null);(0,z.useImperativeHandle)(t,()=>({getCalculatedWidth:()=>qX({ticks:h.current,label:e.labelRef?.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}));var g=(0,z.useCallback)(e=>{if(e){var t=e.getElementsByClassName(`recharts-cartesian-axis-tick-value`);h.current=t;var n=t[0];if(n){var r=window.getComputedStyle(n),i=r.fontSize,a=r.letterSpacing;(i!==d||a!==p)&&(f(i),m(a))}}},[d,p]);return o||r!=null&&r<=0||i!=null&&i<=0?null:z.createElement(QB,{zIndex:e.zIndex},z.createElement(Y,{className:J(`recharts-cartesian-axis`,a)},z.createElement(cZ,{x:e.x,y:e.y,width:r,height:i,orientation:e.orientation,mirror:e.mirror,axisLine:n,otherSvgProps:Yv(e)}),z.createElement(mZ,{ref:g,axisType:c,events:u,fontSize:d,getTicksConfig:e,height:e.height,letterSpacing:p,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:s,unit:e.unit,width:e.width,x:e.x,y:e.y,axisId:l}),z.createElement(uU,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},z.createElement(TU,{label:e.label,labelRef:e.labelRef}),e.children)))}),gZ=z.forwardRef((e,t)=>{var n=vx(e,sZ);return z.createElement(hZ,tZ({},n,{ref:t}))});gZ.displayName=`CartesianAxis`;var _Z=[`x1`,`y1`,`x2`,`y2`,`key`],vZ=[`offset`],yZ=[`xAxisId`,`yAxisId`],bZ=[`xAxisId`,`yAxisId`];function xZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xZ(Object(n),!0).forEach(function(t){CZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function CZ(e,t,n){return(t=wZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wZ(e){var t=TZ(e,`string`);return typeof t==`symbol`?t:t+``}function TZ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function EZ(){return EZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EZ.apply(null,arguments)}function DZ(e,t){if(e==null)return{};var n,r,i=OZ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function OZ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var kZ=e=>{var{fill:t}=e;if(!t||t===`none`)return null;var{fillOpacity:n,x:r,y:i,width:a,height:o,ry:s}=e;return z.createElement(`rect`,{x:r,y:i,ry:s,width:a,height:o,stroke:`none`,fill:t,fillOpacity:n,className:`recharts-cartesian-grid-bg`})};function AZ(e){var{option:t,lineItemProps:n}=e,r;if(z.isValidElement(t))r=z.cloneElement(t,n);else if(typeof t==`function`)r=t(n);else{var{x1:i,y1:a,x2:o,y2:s,key:c}=n,l=Yv(DZ(n,_Z))??{},{offset:u}=l,d=DZ(l,vZ);r=z.createElement(`line`,EZ({},d,{x1:i,y1:a,x2:o,y2:s,fill:`none`,key:c}))}return r}function jZ(e){var{x:t,width:n,horizontal:r=!0,horizontalPoints:i}=e;if(!r||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=DZ(e,yZ),c=i.map((e,i)=>{var a=SZ(SZ({},s),{},{x1:t,y1:e,x2:t+n,y2:e,key:`line-${i}`,index:i});return z.createElement(AZ,{key:`line-${i}`,option:r,lineItemProps:a})});return z.createElement(`g`,{className:`recharts-cartesian-grid-horizontal`},c)}function MZ(e){var{y:t,height:n,vertical:r=!0,verticalPoints:i}=e;if(!r||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=DZ(e,bZ),c=i.map((e,i)=>{var a=SZ(SZ({},s),{},{x1:e,y1:t,x2:e,y2:t+n,key:`line-${i}`,index:i});return z.createElement(AZ,{option:r,lineItemProps:a,key:`line-${i}`})});return z.createElement(`g`,{className:`recharts-cartesian-grid-vertical`},c)}function NZ(e){var{horizontalFill:t,fillOpacity:n,x:r,y:i,width:a,height:o,horizontalPoints:s,horizontal:c=!0}=e;if(!c||!t||!t.length||s==null)return null;var l=s.map(e=>Math.round(e+i-i)).sort((e,t)=>e-t);i!==l[0]&&l.unshift(0);var u=l.map((e,s)=>{var c=l[s+1],u=c==null?i+o-e:c-e;if(u<=0)return null;var d=s%t.length;return z.createElement(`rect`,{key:`react-${s}`,y:e,x:r,height:u,width:a,stroke:`none`,fill:t[d],fillOpacity:n,className:`recharts-cartesian-grid-bg`})});return z.createElement(`g`,{className:`recharts-cartesian-gridstripes-horizontal`},u)}function PZ(e){var{vertical:t=!0,verticalFill:n,fillOpacity:r,x:i,y:a,width:o,height:s,verticalPoints:c}=e;if(!t||!n||!n.length)return null;var l=c.map(e=>Math.round(e+i-i)).sort((e,t)=>e-t);i!==l[0]&&l.unshift(0);var u=l.map((e,t)=>{var c=l[t+1],u=c==null?i+o-e:c-e;if(u<=0)return null;var d=t%n.length;return z.createElement(`rect`,{key:`react-${t}`,x:e,y:a,width:u,height:s,stroke:`none`,fill:n[d],fillOpacity:r,className:`recharts-cartesian-grid-bg`})});return z.createElement(`g`,{className:`recharts-cartesian-gridstripes-vertical`},u)}var FZ=(e,t)=>{var{xAxis:n,width:r,height:i,offset:a}=e;return tE(KX(SZ(SZ(SZ({},sZ),n),{},{ticks:nE(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.left,a.left+a.width,t)},IZ=(e,t)=>{var{yAxis:n,width:r,height:i,offset:a}=e;return tE(KX(SZ(SZ(SZ({},sZ),n),{},{ticks:nE(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.top,a.top+a.height,t)},LZ={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:`#ccc`,fill:`none`,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:Fj.grid};function RZ(e){var t=BE(),n=VE(),r=zE(),i=SZ(SZ({},vx(e,LZ)),{},{x:X(e.x)?e.x:r.left,y:X(e.y)?e.y:r.top,width:X(e.width)?e.width:r.width,height:X(e.height)?e.height:r.height}),{xAxisId:a,yAxisId:o,x:s,y:c,width:l,height:u,syncWithTicks:d,horizontalValues:f,verticalValues:p}=i,m=wE(),h=Q(e=>CR(e,`xAxis`,a,m)),g=Q(e=>CR(e,`yAxis`,o,m));if(!XT(l)||!XT(u)||!X(s)||!X(c))return null;var _=i.verticalCoordinatesGenerator||FZ,v=i.horizontalCoordinatesGenerator||IZ,{horizontalPoints:y,verticalPoints:b}=i;if((!y||!y.length)&&typeof v==`function`){var x=f&&f.length,S=v({yAxis:g?SZ(SZ({},g),{},{ticks:x?f:g.ticks}):void 0,width:t??l,height:n??u,offset:r},x?!0:d);DE(Array.isArray(S),`horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`),Array.isArray(S)&&(y=S)}if((!b||!b.length)&&typeof _==`function`){var C=p&&p.length,w=_({xAxis:h?SZ(SZ({},h),{},{ticks:C?p:h.ticks}):void 0,width:t??l,height:n??u,offset:r},C?!0:d);DE(Array.isArray(w),`verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`),Array.isArray(w)&&(b=w)}return z.createElement(QB,{zIndex:i.zIndex},z.createElement(`g`,{className:`recharts-cartesian-grid`},z.createElement(kZ,{fill:i.fill,fillOpacity:i.fillOpacity,x:i.x,y:i.y,width:i.width,height:i.height,ry:i.ry}),z.createElement(NZ,EZ({},i,{horizontalPoints:y})),z.createElement(PZ,EZ({},i,{verticalPoints:b})),z.createElement(jZ,EZ({},i,{offset:r,horizontalPoints:y,xAxis:h,yAxis:g})),z.createElement(MZ,EZ({},i,{offset:r,verticalPoints:b,xAxis:h,yAxis:g}))))}RZ.displayName=`CartesianGrid`;var zZ=eT({name:`errorBars`,initialState:{},reducers:{addErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]||(e[n]=[]),e[n].push(r)},replaceErrorBar:(e,t)=>{var{itemId:n,prev:r,next:i}=t.payload;e[n]&&(e[n]=e[n].map(e=>e.dataKey===r.dataKey&&e.direction===r.direction?i:e))},removeErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]&&(e[n]=e[n].filter(e=>e.dataKey!==r.dataKey||e.direction!==r.direction))}}}),{addErrorBar:Bae,replaceErrorBar:Vae,removeErrorBar:Hae}=zZ.actions,BZ=zZ.reducer,VZ=[`children`];function HZ(e,t){if(e==null)return{};var n,r,i=UZ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function UZ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var WZ=(0,z.createContext)({data:[],xAxisId:`xAxis-0`,yAxisId:`yAxis-0`,dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0});function GZ(e){var{children:t}=e,n=HZ(e,VZ);return z.createElement(WZ.Provider,{value:n},t)}function KZ(e,t){var n=Q(t=>uL(t,e)),r=Q(e=>pL(e,t)),i=n?.allowDataOverflow??cL.allowDataOverflow,a=r?.allowDataOverflow??dL.allowDataOverflow;return{needClip:i||a,needClipX:i,needClipY:a}}function qZ(e){var{xAxisId:t,yAxisId:n,clipPathId:r}=e,i=eJ(),{needClipX:a,needClipY:o,needClip:s}=KZ(t,n);if(!s||!i)return null;var{x:c,y:l,width:u,height:d}=i;return z.createElement(`clipPath`,{id:`clipPath-${r}`},z.createElement(`rect`,{x:a?c:c-u/2,y:o?l:l-d/2,width:a?u:u*2,height:o?d:d*2}))}var JZ=(e,t,n,r)=>OR(e,`xAxis`,t,r),YZ=(e,t,n,r)=>DR(e,`xAxis`,t,r),XZ=(e,t,n,r)=>OR(e,`yAxis`,n,r),ZZ=(e,t,n,r)=>DR(e,`yAxis`,n,r),QZ=$([HE,JZ,XZ,YZ,ZZ],(e,t,n,r,i)=>eE(e,`xAxis`)?uE(t,r,!1):uE(n,i,!1)),$Z=(e,t,n,r,i)=>i;function eQ(e){return e.type===`line`}var tQ=$([HE,JZ,XZ,YZ,ZZ,$([bL,$Z],(e,t)=>e.filter(eQ).find(e=>e.id===t)),QZ,aj],(e,t,n,r,i,a,o,s)=>{var{chartData:c,dataStartIndex:l,dataEndIndex:u}=s;if(!(a==null||t==null||n==null||r==null||i==null||r.length===0||i.length===0||o==null||e!==`horizontal`&&e!==`vertical`)){var{dataKey:d,data:f}=a,p=f!=null&&f.length>0?f:c?.slice(l,u+1);if(p!=null)return kQ({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:i,dataKey:d,bandSize:o,displayedData:p})}});function nQ(e){var t=Xv(e),n=3,r=2;if(t!=null){var{r:i,strokeWidth:a}=t,o=Number(i),s=Number(a);return(Number.isNaN(o)||o<0)&&(o=n),(Number.isNaN(s)||s<0)&&(s=r),{r:o,strokeWidth:s}}return{r:n,strokeWidth:r}}var rQ=[`id`],iQ=[`type`,`layout`,`connectNulls`,`needClip`,`shape`],aQ=[`activeDot`,`animateNewValues`,`animationBegin`,`animationDuration`,`animationEasing`,`connectNulls`,`dot`,`hide`,`isAnimationActive`,`label`,`legendType`,`xAxisId`,`yAxisId`,`id`];function oQ(){return oQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oQ.apply(null,arguments)}function sQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cQ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?sQ(Object(n),!0).forEach(function(t){lQ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lQ(e,t,n){return(t=uQ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uQ(e){var t=dQ(e,`string`);return typeof t==`symbol`?t:t+``}function dQ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function fQ(e,t){if(e==null)return{};var n,r,i=pQ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function pQ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var mQ=e=>{var{dataKey:t,name:n,stroke:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:fE(n,t),payload:e}]},hQ=z.memo(e=>{var{dataKey:t,data:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,unit:c,tooltipType:l,id:u}=e,d={dataDefinedOnItem:n,getPosition:cx,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:fE(o,t),hide:s,type:l,color:r,unit:c,graphicalItemId:u}};return z.createElement(AK,{tooltipEntrySettings:d})}),gQ=(e,t)=>`${t}px ${e}px`;function _Q(e,t){for(var n=e.length%2==0?e:[...e,0],r=[],i=0;i<t;++i)r.push(...n);return r}var vQ=(e,t,n)=>{var r=n.reduce((e,t)=>e+t,0);if(!r)return gQ(t,e);for(var i=Math.floor(e/r),a=e%r,o=[],s=0,c=0;s<n.length;c+=(l=n[s])??0,++s){var l,u=n[s];if(u!=null&&c+u>a){o=[...n.slice(0,s),a-c];break}}var d=o.length%2==0?[0,t]:[t];return[..._Q(n,i),...o,...d].map(e=>`${e}px`).join(`, `)};function yQ(e){var{clipPathId:t,points:n,props:r}=e,{dot:i,dataKey:a,needClip:o}=r,{id:s}=r,c=Yv(fQ(r,rQ));return z.createElement(Rq,{points:n,dot:i,className:`recharts-line-dots`,dotClassName:`recharts-line-dot`,dataKey:a,baseProps:c,needClip:o,clipPathId:t})}function bQ(e){var{showLabels:t,children:n,points:r}=e,i=(0,z.useMemo)(()=>r?.map(e=>{var t={x:e.x??0,y:e.y??0,width:0,lowerWidth:0,upperWidth:0,height:0};return cQ(cQ({},t),{},{value:e.value,payload:e.payload,viewBox:t,parentViewBox:void 0,fill:void 0})}),[r]);return z.createElement(PU,{value:t?i:void 0},n)}function xQ(e){var{clipPathId:t,pathRef:n,points:r,strokeDasharray:i,props:a}=e,{type:o,layout:s,connectNulls:c,needClip:l,shape:u}=a,d=cQ(cQ({},Zv(fQ(a,iQ))),{},{fill:`none`,className:`recharts-line-curve`,clipPath:l?`url(#clipPath-${t})`:void 0,points:r,type:o,layout:s,connectNulls:c,strokeDasharray:i??a.strokeDasharray});return z.createElement(z.Fragment,null,r?.length>1&&z.createElement(EK,oQ({shapeType:`curve`,option:u},d,{pathRef:n})),z.createElement(yQ,{points:r,clipPathId:t,props:a}))}function SQ(e){try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch{return 0}}function CQ(e){var{clipPathId:t,props:n,pathRef:r,previousPointsRef:i,longestAnimatedLengthRef:a}=e,{points:o,strokeDasharray:s,isAnimationActive:c,animationBegin:l,animationDuration:u,animationEasing:d,animateNewValues:f,width:p,height:m,onAnimationEnd:h,onAnimationStart:g}=n,_=i.current,v=Zk(o,`recharts-line-`),y=(0,z.useRef)(v),[b,x]=(0,z.useState)(!1),S=!b,C=(0,z.useCallback)(()=>{typeof h==`function`&&h(),x(!1)},[h]),w=(0,z.useCallback)(()=>{typeof g==`function`&&g(),x(!0)},[g]),T=SQ(r.current),E=(0,z.useRef)(0);y.current!==v&&(E.current=a.current,y.current=v);var D=E.current;return z.createElement(bQ,{points:o,showLabels:S},n.children,z.createElement(Xk,{animationId:v,begin:l,duration:u,isActive:c,easing:d,onAnimationEnd:C,onAnimationStart:w,key:v},e=>{var l=Z(D,T+D,e),u=Math.min(l,T),d=c?s?vQ(u,T,`${s}`.split(/[,\\s]+/gim).map(e=>parseFloat(e))):gQ(T,u):s==null?void 0:String(s);if(e>0&&T>0&&(i.current=o,a.current=Math.max(a.current,u)),_){var h=_.length/o.length,g=e===1?o:o.map((t,n)=>{var r=Math.floor(n*h);if(_[r]){var i=_[r];return cQ(cQ({},t),{},{x:Z(i.x,t.x,e),y:Z(i.y,t.y,e)})}return f?cQ(cQ({},t),{},{x:Z(p*2,t.x,e),y:Z(m/2,t.y,e)}):cQ(cQ({},t),{},{x:t.x,y:t.y})});return i.current=g,z.createElement(xQ,{props:n,points:g,clipPathId:t,pathRef:r,strokeDasharray:d})}return z.createElement(xQ,{props:n,points:o,clipPathId:t,pathRef:r,strokeDasharray:d})}),z.createElement(BU,{label:n.label}))}function wQ(e){var{clipPathId:t,props:n}=e,r=(0,z.useRef)(null),i=(0,z.useRef)(0),a=(0,z.useRef)(null);return z.createElement(CQ,{props:n,clipPathId:t,previousPointsRef:r,longestAnimatedLengthRef:i,pathRef:a})}var TQ=(e,t)=>({x:e.x??void 0,y:e.y??void 0,value:e.value,errorVal:$T(e.payload,t)}),EQ=class extends z.Component{render(){var{hide:e,dot:t,points:n,className:r,xAxisId:i,yAxisId:a,top:o,left:s,width:c,height:l,id:u,needClip:d,zIndex:f}=this.props;if(e)return null;var p=J(`recharts-line`,r),m=u,{r:h,strokeWidth:g}=nQ(t),_=ZG(t),v=h*2+g,y=d?`url(#clipPath-${_?``:`dots-`}${m})`:void 0;return z.createElement(QB,{zIndex:f},z.createElement(Y,{className:p},d&&z.createElement(`defs`,null,z.createElement(qZ,{clipPathId:m,xAxisId:i,yAxisId:a}),!_&&z.createElement(`clipPath`,{id:`clipPath-dots-${m}`},z.createElement(`rect`,{x:s-v/2,y:o-v/2,width:c+v,height:l+v}))),z.createElement(GZ,{xAxisId:i,yAxisId:a,data:n,dataPointFormatter:TQ,errorBarOffset:0},z.createElement(wQ,{props:this.props,clipPathId:m}))),z.createElement(cJ,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:y}))}},DQ={activeDot:!0,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,connectNulls:!1,dot:!0,fill:`#fff`,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,xAxisId:0,yAxisId:0,zIndex:Fj.line,type:`linear`};function OQ(e){var t=vx(e,DQ),{activeDot:n,animateNewValues:r,animationBegin:i,animationDuration:a,animationEasing:o,connectNulls:s,dot:c,hide:l,isAnimationActive:u,label:d,legendType:f,xAxisId:p,yAxisId:m,id:h}=t,g=fQ(t,aQ),{needClip:_}=KZ(p,m),v=eJ(),y=UE(),b=wE(),x=Q(e=>tQ(e,p,m,b,h));if(y!==`horizontal`&&y!==`vertical`||x==null||v==null)return null;var{height:S,width:C,x:w,y:T}=v;return z.createElement(EQ,oQ({},g,{id:h,connectNulls:s,dot:c,activeDot:n,animateNewValues:r,animationBegin:i,animationDuration:a,animationEasing:o,isAnimationActive:u,hide:l,label:d,legendType:f,xAxisId:p,yAxisId:m,points:x,layout:y,height:S,width:C,left:w,top:T,needClip:_}))}function kQ(e){var{layout:t,xAxis:n,yAxis:r,xAxisTicks:i,yAxisTicks:a,dataKey:o,bandSize:s,displayedData:c}=e;return c.map((e,c)=>{var l=$T(e,o);if(t===`horizontal`)return{x:aE({axis:n,ticks:i,bandSize:s,entry:e,index:c}),y:(ax(l)?null:r.scale.map(l))??null,value:l,payload:e};var u=ax(l)?null:n.scale.map(l),d=aE({axis:r,ticks:a,bandSize:s,entry:e,index:c});return u==null||d==null?null:{x:u,y:d,value:l,payload:e}}).filter(Boolean)}function AQ(e){var t=vx(e,DQ),n=wE();return z.createElement(IK,{id:t.id,type:`line`},e=>z.createElement(z.Fragment,null,z.createElement(jK,{legendPayload:mQ(t)}),z.createElement(hQ,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),z.createElement(GK,{type:`line`,id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,hide:t.hide,isPanorama:n}),z.createElement(OQ,oQ({},t,{id:e}))))}var jQ=z.memo(AQ,KD);jQ.displayName=`Line`;function MQ(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.xAxisId??0}function NQ(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.yAxisId??0}var PQ=(e,t,n)=>OR(e,`xAxis`,MQ(e,t),n),FQ=(e,t,n)=>DR(e,`xAxis`,MQ(e,t),n),IQ=(e,t,n)=>OR(e,`yAxis`,NQ(e,t),n),LQ=(e,t,n)=>DR(e,`yAxis`,NQ(e,t),n),RQ=$([HE,PQ,IQ,FQ,LQ],(e,t,n,r,i)=>eE(e,`xAxis`)?uE(t,r,!1):uE(n,i,!1)),zQ=$([bL,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`area`).find(e=>e.id===t)),BQ=e=>eE(HE(e),`xAxis`)?`yAxis`:`xAxis`,VQ=(e,t)=>BQ(e)===`yAxis`?NQ(e,t):MQ(e,t),HQ=$([HE,PQ,IQ,FQ,LQ,$([zQ,(e,t,n)=>zL(e,BQ(e),VQ(e,t),n)],(e,t)=>{if(!(e==null||t==null)){var{stackId:n}=e,r=oM(e);if(!(n==null||r==null)){var i=(t[n]?.stackedData)?.find(e=>e.key===r);if(i!=null)return i.map(e=>[e[0],e[1]])}}}),oj,RQ,zQ,Pj],(e,t,n,r,i,a,o,s,c,l)=>{var{chartData:u,dataStartIndex:d,dataEndIndex:f}=o;if(!(c==null||e!==`horizontal`&&e!==`vertical`||t==null||n==null||r==null||i==null||r.length===0||i.length===0||s==null)){var{data:p}=c,m=p&&p.length>0?p:u?.slice(d,f+1);if(m!=null)return m$({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:i,dataStartIndex:d,areaSettings:c,stackedData:a,displayedData:m,chartBaseValue:l,bandSize:s})}}),UQ=[`id`],WQ=[`activeDot`,`animationBegin`,`animationDuration`,`animationEasing`,`connectNulls`,`dot`,`fill`,`fillOpacity`,`hide`,`isAnimationActive`,`legendType`,`stroke`,`xAxisId`,`yAxisId`];function GQ(){return GQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GQ.apply(null,arguments)}function KQ(e,t){if(e==null)return{};var n,r,i=qQ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function qQ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function JQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function YQ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?JQ(Object(n),!0).forEach(function(t){XQ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function XQ(e,t,n){return(t=ZQ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZQ(e){var t=QQ(e,`string`);return typeof t==`symbol`?t:t+``}function QQ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function $Q(e,t){return e&&e!==`none`?e:t}var e$=e=>{var{dataKey:t,name:n,stroke:r,fill:i,legendType:a,hide:o}=e;return[{inactive:o,dataKey:t,type:a,color:$Q(r,i),value:fE(n,t),payload:e}]},t$=z.memo(e=>{var{dataKey:t,data:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,unit:c,tooltipType:l,id:u}=e,d={dataDefinedOnItem:n,getPosition:cx,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:fE(o,t),hide:s,type:l,color:$Q(r,a),unit:c,graphicalItemId:u}};return z.createElement(AK,{tooltipEntrySettings:d})});function n$(e){var{clipPathId:t,points:n,props:r}=e,{needClip:i,dot:a,dataKey:o}=r,s=Yv(r);return z.createElement(Rq,{points:n,dot:a,className:`recharts-area-dots`,dotClassName:`recharts-area-dot`,dataKey:o,baseProps:s,needClip:i,clipPathId:t})}function r$(e){var{showLabels:t,children:n,points:r}=e,i=r.map(e=>{var t={x:e.x??0,y:e.y??0,width:0,lowerWidth:0,upperWidth:0,height:0};return YQ(YQ({},t),{},{value:e.value,payload:e.payload,parentViewBox:void 0,viewBox:t,fill:void 0})});return z.createElement(PU,{value:t?i:void 0},n)}function i$(e){var{points:t,baseLine:n,needClip:r,clipPathId:i,props:a}=e,{layout:o,type:s,stroke:c,connectNulls:l,isRange:u}=a,{id:d}=a,f=KQ(a,UQ),p=Yv(f),m=Zv(f);return z.createElement(z.Fragment,null,t?.length>1&&z.createElement(Y,{clipPath:r?`url(#clipPath-${i})`:void 0},z.createElement($O,GQ({},m,{id:d,points:t,connectNulls:l,type:s,baseLine:n,layout:o,stroke:`none`,className:`recharts-area-area`})),c!==`none`&&z.createElement($O,GQ({},p,{className:`recharts-area-curve`,layout:o,type:s,connectNulls:l,fill:`none`,points:t})),c!==`none`&&u&&Array.isArray(n)&&z.createElement($O,GQ({},p,{className:`recharts-area-curve`,layout:o,type:s,connectNulls:l,fill:`none`,points:n}))),z.createElement(n$,{points:t,props:f,clipPathId:i}))}function a$(e){var{alpha:t,baseLine:n,points:r,strokeWidth:i}=e,a=r[0]?.y,o=r[r.length-1]?.y;if(!YT(a)||!YT(o))return null;var s=t*Math.abs(a-o),c=Math.max(...r.map(e=>e.x||0));return X(n)?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max(...n.map(e=>e.x||0),c)),X(c)?z.createElement(`rect`,{x:0,y:a<o?a:a-s,width:c+(i?parseInt(`${i}`,10):1),height:Math.floor(s)}):null}function o$(e){var{alpha:t,baseLine:n,points:r,strokeWidth:i}=e,a=r[0]?.x,o=r[r.length-1]?.x;if(!YT(a)||!YT(o))return null;var s=t*Math.abs(a-o),c=Math.max(...r.map(e=>e.y||0));return X(n)?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max(...n.map(e=>e.y||0),c)),X(c)?z.createElement(`rect`,{x:a<o?a:a-s,y:0,width:s,height:Math.floor(c+(i?parseInt(`${i}`,10):1))}):null}function s$(e){var{alpha:t,layout:n,points:r,baseLine:i,strokeWidth:a}=e;return n===`vertical`?z.createElement(a$,{alpha:t,points:r,baseLine:i,strokeWidth:a}):z.createElement(o$,{alpha:t,points:r,baseLine:i,strokeWidth:a})}function c$(e){var{needClip:t,clipPathId:n,props:r,previousPointsRef:i,previousBaselineRef:a}=e,{points:o,baseLine:s,isAnimationActive:c,animationBegin:l,animationDuration:u,animationEasing:d,onAnimationStart:f,onAnimationEnd:p}=r,m=Zk((0,z.useMemo)(()=>({points:o,baseLine:s}),[o,s]),`recharts-area-`),h=WE(),[g,_]=(0,z.useState)(!1),v=!g,y=(0,z.useCallback)(()=>{typeof p==`function`&&p(),_(!1)},[p]),b=(0,z.useCallback)(()=>{typeof f==`function`&&f(),_(!0)},[f]);if(h==null)return null;var x=i.current,S=a.current;return z.createElement(r$,{showLabels:v,points:o},r.children,z.createElement(Xk,{animationId:m,begin:l,duration:u,isActive:c,easing:d,onAnimationEnd:y,onAnimationStart:b,key:m},e=>{if(x){var l=x.length/o.length,u=e===1?o:o.map((t,n)=>{var r=Math.floor(n*l);if(x[r]){var i=x[r];return YQ(YQ({},t),{},{x:Z(i.x,t.x,e),y:Z(i.y,t.y,e)})}return t}),d=X(s)?Z(S,s,e):ax(s)||Qb(s)?Z(S,0,e):s.map((t,n)=>{var r=Math.floor(n*l);if(Array.isArray(S)&&S[r]){var i=S[r];return YQ(YQ({},t),{},{x:Z(i.x,t.x,e),y:Z(i.y,t.y,e)})}return t});return e>0&&(i.current=u,a.current=d),z.createElement(i$,{points:u,baseLine:d,needClip:t,clipPathId:n,props:r})}return e>0&&(i.current=o,a.current=s),z.createElement(Y,null,c&&z.createElement(`defs`,null,z.createElement(`clipPath`,{id:`animationClipPath-${n}`},z.createElement(s$,{alpha:e,points:o,baseLine:s,layout:h,strokeWidth:r.strokeWidth}))),z.createElement(Y,{clipPath:`url(#animationClipPath-${n})`},z.createElement(i$,{points:o,baseLine:s,needClip:t,clipPathId:n,props:r})))}),z.createElement(BU,{label:r.label}))}function l$(e){var{needClip:t,clipPathId:n,props:r}=e,i=(0,z.useRef)(null),a=(0,z.useRef)();return z.createElement(c$,{needClip:t,clipPathId:n,props:r,previousPointsRef:i,previousBaselineRef:a})}var u$=class extends z.PureComponent{render(){var{hide:e,dot:t,points:n,className:r,top:i,left:a,needClip:o,xAxisId:s,yAxisId:c,width:l,height:u,id:d,baseLine:f,zIndex:p}=this.props;if(e)return null;var m=J(`recharts-area`,r),h=d,{r:g,strokeWidth:_}=nQ(t),v=ZG(t),y=g*2+_,b=o?`url(#clipPath-${v?``:`dots-`}${h})`:void 0;return z.createElement(QB,{zIndex:p},z.createElement(Y,{className:m},o&&z.createElement(`defs`,null,z.createElement(qZ,{clipPathId:h,xAxisId:s,yAxisId:c}),!v&&z.createElement(`clipPath`,{id:`clipPath-dots-${h}`},z.createElement(`rect`,{x:a-y/2,y:i-y/2,width:l+y,height:u+y}))),z.createElement(l$,{needClip:o,clipPathId:h,props:this.props})),z.createElement(cJ,{points:n,mainColor:$Q(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:b}),this.props.isRange&&Array.isArray(f)&&z.createElement(cJ,{points:f,mainColor:$Q(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:b}))}},d$={activeDot:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,connectNulls:!1,dot:!1,fill:`#3182bd`,fillOpacity:.6,hide:!1,isAnimationActive:`auto`,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,type:`linear`,label:!1,xAxisId:0,yAxisId:0,zIndex:Fj.area};function f$(e){var{activeDot:t,animationBegin:n,animationDuration:r,animationEasing:i,connectNulls:a,dot:o,fill:s,fillOpacity:c,hide:l,isAnimationActive:u,legendType:d,stroke:f,xAxisId:p,yAxisId:m}=e,h=KQ(e,WQ),g=UE(),_=yB(),{needClip:v}=KZ(p,m),y=wE(),{points:b,isRange:x,baseLine:S}=Q(t=>HQ(t,e.id,y))??{},C=eJ();if(g!==`horizontal`&&g!==`vertical`||C==null||_!==`AreaChart`&&_!==`ComposedChart`)return null;var{height:w,width:T,x:E,y:D}=C;return!b||!b.length?null:z.createElement(u$,GQ({},h,{activeDot:t,animationBegin:n,animationDuration:r,animationEasing:i,baseLine:S,connectNulls:a,dot:o,fill:s,fillOpacity:c,height:w,hide:l,layout:g,isAnimationActive:u,isRange:x,legendType:d,needClip:v,points:b,stroke:f,width:T,left:E,top:D,xAxisId:p,yAxisId:m}))}var p$=(e,t,n,r,i)=>{var a=n??t;if(X(a))return a;var o=e===`horizontal`?i:r,s=o.scale.domain();if(o.type===`number`){var c=Math.max(s[0],s[1]),l=Math.min(s[0],s[1]);return a===`dataMin`?l:a===`dataMax`||c<0?c:Math.max(Math.min(s[0],s[1]),0)}return a===`dataMin`?s[0]:a===`dataMax`?s[1]:s[0]};function m$(e){var{areaSettings:{connectNulls:t,baseValue:n,dataKey:r},stackedData:i,layout:a,chartBaseValue:o,xAxis:s,yAxis:c,displayedData:l,dataStartIndex:u,xAxisTicks:d,yAxisTicks:f,bandSize:p}=e,m=i&&i.length,h=p$(a,o,n,s,c),g=a===`horizontal`,_=!1,v=l.map((e,n)=>{var a;if(m)a=i[u+n];else{var o=$T(e,r);Array.isArray(o)?(a=o,_=!0):a=[h,o]}var l=a?.[1]??null,v=l==null||m&&!t&&$T(e,r)==null;return g?{x:aE({axis:s,ticks:d,bandSize:p,entry:e,index:n}),y:v?null:c.scale.map(l)??null,value:a,payload:e}:{x:v?null:s.scale.map(l)??null,y:aE({axis:c,ticks:f,bandSize:p,entry:e,index:n}),value:a,payload:e}});return{points:v,baseLine:(m||_?v.map(e=>{var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:t!=null&&e.y!=null?c.scale.map(t)??null:null,payload:e.payload}:{x:t==null?null:s.scale.map(t)??null,y:e.y,payload:e.payload}}):g?c.scale.map(h):s.scale.map(h))??0,isRange:_}}function h$(e){var t=vx(e,d$),n=wE();return z.createElement(IK,{id:t.id,type:`area`},e=>z.createElement(z.Fragment,null,z.createElement(jK,{legendPayload:e$(t)}),z.createElement(t$,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),z.createElement(GK,{type:`area`,id:e,data:t.data,dataKey:t.dataKey,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,stackId:iE(t.stackId),hide:t.hide,barSize:void 0,baseValue:t.baseValue,isPanorama:n,connectNulls:t.connectNulls}),z.createElement(f$,GQ({},t,{id:e}))))}var g$=z.memo(h$,KD);g$.displayName=`Area`;var _$=!0,v$=`Invariant failed`;function y$(e,t){if(!e){if(_$)throw Error(v$);var n=typeof t==`function`?t():t,r=n?`${v$}: ${n}`:v$;throw Error(r)}}function b$(){return b$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b$.apply(null,arguments)}function x$(e){return z.createElement(EK,b$({shapeType:`rectangle`,activeClassName:`recharts-active-bar`,inActiveClassName:`recharts-inactive-bar`},e))}var S$=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return(n,r)=>{if(X(e))return e;var i=X(n)||ax(n);return i?e(n,r):(!i&&y$(!1,`minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`),t)}},C$=(e,t,n)=>n,w$=$([bL,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`bar`).find(e=>e.id===t)),T$=$([w$],e=>e?.maxBarSize),E$=(e,t,n,r)=>r,D$=$([HE,bL,MQ,NQ,C$],(e,t,n,r,i)=>t.filter(t=>e===`horizontal`?t.xAxisId===n:t.yAxisId===r).filter(e=>e.isPanorama===i).filter(e=>e.hide===!1).filter(e=>e.type===`bar`)),O$=(e,t,n)=>{var r=HE(e),i=MQ(e,t),a=NQ(e,t);if(!(i==null||a==null))return r===`horizontal`?zL(e,`yAxis`,a,n):zL(e,`xAxis`,i,n)},k$=$([D$,Dj,(e,t)=>{var n=HE(e),r=MQ(e,t),i=NQ(e,t);if(!(r==null||i==null))return n===`horizontal`?bR(e,`xAxis`,r):bR(e,`yAxis`,i)}],$J),A$=(e,t,n)=>{var r=w$(e,t);if(r==null)return 0;var i=MQ(e,t),a=NQ(e,t);if(i==null||a==null)return 0;var o=HE(e),s=wj(e),{maxBarSize:c}=r,l=ax(c)?s:c,u,d;return o===`horizontal`?(u=OR(e,`xAxis`,i,n),d=DR(e,`xAxis`,i,n)):(u=OR(e,`yAxis`,a,n),d=DR(e,`yAxis`,a,n)),uE(u,d,!0)??l??0},j$=(e,t,n)=>{var r=HE(e),i=MQ(e,t),a=NQ(e,t);if(!(i==null||a==null)){var o,s;return r===`horizontal`?(o=OR(e,`xAxis`,i,n),s=DR(e,`xAxis`,i,n)):(o=OR(e,`yAxis`,a,n),s=DR(e,`yAxis`,a,n)),uE(o,s)}},M$=$([SE,CE,(e,t,n)=>{var r=MQ(e,t);if(r!=null)return OR(e,`xAxis`,r,n)},(e,t,n)=>{var r=NQ(e,t);if(r!=null)return OR(e,`yAxis`,r,n)},(e,t,n)=>{var r=MQ(e,t);if(r!=null)return DR(e,`xAxis`,r,n)},(e,t,n)=>{var r=NQ(e,t);if(r!=null)return DR(e,`yAxis`,r,n)},$([$([k$,wj,Tj,Ej,A$,j$,T$],oY),w$],cY),HE,oj,j$,$([O$,w$],sY),w$,E$],(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{var{chartData:p,dataStartIndex:m,dataEndIndex:h}=c;if(!(d==null||o==null||t==null||s!==`horizontal`&&s!==`vertical`||n==null||r==null||i==null||a==null||l==null)){var{data:g}=d,_=g!=null&&g.length>0?g:p?.slice(m,h+1);if(_!=null)return m1({layout:s,barSettings:d,pos:o,parentViewBox:t,bandSize:l,xAxis:n,yAxis:r,xAxisTicks:i,yAxisTicks:a,stackedData:u,displayedData:_,offset:e,cells:f,dataStartIndex:m})}}),N$=[`index`];function P$(){return P$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P$.apply(null,arguments)}function F$(e,t){if(e==null)return{};var n,r,i=I$(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function I$(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var L$=(0,z.createContext)(void 0),R$=e=>{var t=(0,z.useContext)(L$);if(t!=null)return t.stackId;if(e!=null)return iE(e)},z$=(e,t)=>`recharts-bar-stack-clip-path-${e}-${t}`,B$=e=>{var t=(0,z.useContext)(L$);if(t!=null){var{stackId:n}=t;return`url(#${z$(n,e)})`}},V$=e=>{var{index:t}=e,n=F$(e,N$),r=B$(t);return z.createElement(Y,P$({className:`recharts-bar-stack-layer`,clipPath:r},n))},H$=[`onMouseEnter`,`onMouseLeave`,`onClick`],U$=[`value`,`background`,`tooltipPosition`],W$=[`id`],G$=[`onMouseEnter`,`onClick`,`onMouseLeave`];function K$(){return K$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},K$.apply(null,arguments)}function q$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?q$(Object(n),!0).forEach(function(t){Y$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Y$(e,t,n){return(t=X$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X$(e){var t=Z$(e,`string`);return typeof t==`symbol`?t:t+``}function Z$(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Q$(e,t){if(e==null)return{};var n,r,i=$$(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $$(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var e1=e=>{var{dataKey:t,name:n,fill:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:fE(n,t),payload:e}]},t1=z.memo(e=>{var{dataKey:t,stroke:n,strokeWidth:r,fill:i,name:a,hide:o,unit:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:void 0,getPosition:cx,settings:{stroke:n,strokeWidth:r,fill:i,dataKey:t,nameKey:void 0,name:fE(a,t),hide:o,type:c,color:i,unit:s,graphicalItemId:l}};return z.createElement(AK,{tooltipEntrySettings:u})});function n1(e){var t=Q(Yz),{data:n,dataKey:r,background:i,allOtherBarProps:a}=e,{onMouseEnter:o,onMouseLeave:s,onClick:c}=a,l=Q$(a,H$),u=DK(o,r,a.id),d=OK(s),f=kK(c,r,a.id);if(!i||n==null)return null;var p=Xv(i);return z.createElement(QB,{zIndex:jY(i,Fj.barBackground)},n.map((e,n)=>{var{value:a,background:o,tooltipPosition:s}=e,c=Q$(e,U$);if(!o)return null;var m=u(e,n),h=d(e,n),g=f(e,n),_=J$(J$(J$(J$(J$({option:i,isActive:String(n)===t},c),{},{fill:`#eee`},o),p),gx(l,e,n)),{},{onMouseEnter:m,onMouseLeave:h,onClick:g,dataKey:r,index:n,className:`recharts-bar-background-rectangle`});return z.createElement(x$,K$({key:`background-bar-${n}`},_))}))}function r1(e){var{showLabels:t,children:n,rects:r}=e,i=r?.map(e=>{var t={x:e.x,y:e.y,width:e.width,lowerWidth:e.width,upperWidth:e.width,height:e.height};return J$(J$({},t),{},{value:e.value,payload:e.payload,parentViewBox:e.parentViewBox,viewBox:t,fill:e.fill})});return z.createElement(PU,{value:t?i:void 0},n)}function i1(e){var{shape:t,activeBar:n,baseProps:r,entry:i,index:a,dataKey:o}=e,s=Q(Yz),c=Q(Zz),l=n&&String(i.originalDataIndex)===s&&(c==null||o===c),[u,d]=(0,z.useState)(!1),[f,p]=(0,z.useState)(!1);(0,z.useEffect)(()=>{var e;return l?(d(!0),e=requestAnimationFrame(()=>{p(!0)})):p(!1),()=>{cancelAnimationFrame(e)}},[l]);var m=(0,z.useCallback)(()=>{l||d(!1)},[l]),h=l&&f,g=l||u,_=l?n===!0?t:n:t,v=z.createElement(x$,K$({},r,{name:String(r.name)},i,{isActive:h,option:_,index:a,dataKey:o,onTransitionEnd:m}));return g?z.createElement(QB,{zIndex:Fj.activeBar},z.createElement(V$,{index:i.originalDataIndex},v)):v}function a1(e){var{shape:t,baseProps:n,entry:r,index:i,dataKey:a}=e;return z.createElement(x$,K$({},n,{name:String(n.name)},r,{isActive:!1,option:t,index:i,dataKey:a}))}function o1(e){var{data:t,props:n}=e,r=Yv(n)??{},{id:i}=r,a=Q$(r,W$),{shape:o,dataKey:s,activeBar:c}=n,{onMouseEnter:l,onClick:u,onMouseLeave:d}=n,f=Q$(n,G$),p=DK(l,s,i),m=OK(d),h=kK(u,s,i);return t?z.createElement(z.Fragment,null,t.map((e,t)=>z.createElement(V$,K$({index:e.originalDataIndex,key:`rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className:`recharts-bar-rectangle`},gx(f,e,t),{onMouseEnter:p(e,t),onMouseLeave:m(e,t),onClick:h(e,t)}),c?z.createElement(i1,{shape:o,activeBar:c,baseProps:a,entry:e,index:t,dataKey:s}):z.createElement(a1,{shape:o,baseProps:a,entry:e,index:t,dataKey:s})))):null}function s1(e){var{props:t,previousRectanglesRef:n}=e,{data:r,layout:i,isAnimationActive:a,animationBegin:o,animationDuration:s,animationEasing:c,onAnimationEnd:l,onAnimationStart:u}=t,d=n.current,f=Zk(t,`recharts-bar-`),[p,m]=(0,z.useState)(!1),h=!p,g=(0,z.useCallback)(()=>{typeof l==`function`&&l(),m(!1)},[l]),_=(0,z.useCallback)(()=>{typeof u==`function`&&u(),m(!0)},[u]);return z.createElement(r1,{showLabels:h,rects:r},z.createElement(Xk,{animationId:f,begin:o,duration:s,isActive:a,easing:c,onAnimationEnd:g,onAnimationStart:_,key:f},e=>{var a=e===1?r:r?.map((t,n)=>{var r=d&&d[n];if(r)return J$(J$({},t),{},{x:Z(r.x,t.x,e),y:Z(r.y,t.y,e),width:Z(r.width,t.width,e),height:Z(r.height,t.height,e)});if(i===`horizontal`){var a=Z(0,t.height,e),o=Z(t.stackedBarStart,t.y,e);return J$(J$({},t),{},{y:o,height:a})}var s=Z(0,t.width,e),c=Z(t.stackedBarStart,t.x,e);return J$(J$({},t),{},{width:s,x:c})});return e>0&&(n.current=a??null),a==null?null:z.createElement(Y,null,z.createElement(o1,{props:t,data:a}))}),z.createElement(BU,{label:t.label}),t.children)}function c1(e){var t=(0,z.useRef)(null);return z.createElement(s1,{previousRectanglesRef:t,props:e})}var l1=0,u1=(e,t)=>{var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:$T(e,t)}},d1=class extends z.PureComponent{render(){var{hide:e,data:t,dataKey:n,className:r,xAxisId:i,yAxisId:a,needClip:o,background:s,id:c}=this.props;if(e||t==null)return null;var l=J(`recharts-bar`,r),u=c;return z.createElement(Y,{className:l,id:c},o&&z.createElement(`defs`,null,z.createElement(qZ,{clipPathId:u,xAxisId:i,yAxisId:a})),z.createElement(Y,{className:`recharts-bar-rectangles`,clipPath:o?`url(#clipPath-${u})`:void 0},z.createElement(n1,{data:t,dataKey:n,background:s,allOtherBarProps:this.props}),z.createElement(c1,this.props)))}},f1={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:`ease`,background:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,minPointSize:l1,xAxisId:0,yAxisId:0,zIndex:Fj.bar};function p1(e){var{xAxisId:t,yAxisId:n,hide:r,legendType:i,minPointSize:a,activeBar:o,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u}=e,{needClip:d}=KZ(t,n),f=UE(),p=wE(),m=XG(e.children,GV),h=Q(t=>M$(t,e.id,p,m));if(f!==`vertical`&&f!==`horizontal`)return null;var g,_=h?.[0];return g=_==null||_.height==null||_.width==null?0:f===`vertical`?_.height/2:_.width/2,z.createElement(GZ,{xAxisId:t,yAxisId:n,data:h,dataPointFormatter:u1,errorBarOffset:g},z.createElement(d1,K$({},e,{layout:f,needClip:d,data:h,xAxisId:t,yAxisId:n,hide:r,legendType:i,minPointSize:a,activeBar:o,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u})))}function m1(e){var{layout:t,barSettings:{dataKey:n,minPointSize:r,hasCustomShape:i},pos:a,bandSize:o,xAxis:s,yAxis:c,xAxisTicks:l,yAxisTicks:u,stackedData:d,displayedData:f,offset:p,cells:m,parentViewBox:h,dataStartIndex:g}=e,_=t===`horizontal`?c:s,v=d?_.scale.domain():null,y=sE({numericAxis:_}),b=_.scale.map(y);return f.map((e,f)=>{var _,x,S,C,w,T;if(d){var E=d[f+g];if(E==null)return null;_=rE(E,v)}else _=$T(e,n),Array.isArray(_)||(_=[y,_]);var D=S$(r,l1)(_[1],f);if(t===`horizontal`){var O=c.scale.map(_[0]),k=c.scale.map(_[1]);if(O==null||k==null)return null;x=oE({axis:s,ticks:l,bandSize:o,offset:a.offset,entry:e,index:f}),S=k??O??void 0,C=a.size;var ee=O-k;if(w=Qb(ee)?0:ee,T={x,y:p.top,width:C,height:p.height},Math.abs(D)>0&&Math.abs(w)<Math.abs(D)){var te=Zb(w||D)*(Math.abs(D)-Math.abs(w));S-=te,w+=te}}else{var ne=s.scale.map(_[0]),A=s.scale.map(_[1]);if(ne==null||A==null)return null;if(x=ne,S=oE({axis:c,ticks:u,bandSize:o,offset:a.offset,entry:e,index:f}),C=A-ne,w=a.size,T={x:p.left,y:S,width:p.width,height:w},Math.abs(D)>0&&Math.abs(C)<Math.abs(D)){var re=Zb(C||D)*(Math.abs(D)-Math.abs(C));C+=re}}return x==null||S==null||C==null||w==null||!i&&(C===0||w===0)?null:J$(J$({},e),{},{stackedBarStart:b,x,y:S,width:C,height:w,value:d?_:_[1],payload:e,background:T,tooltipPosition:{x:x+C/2,y:S+w/2},parentViewBox:h,originalDataIndex:f},m&&m[f]&&m[f].props)}).filter(Boolean)}function h1(e){var t=vx(e,f1),n=R$(t.stackId),r=wE();return z.createElement(IK,{id:t.id,type:`bar`},e=>z.createElement(z.Fragment,null,z.createElement(jK,{legendPayload:e1(t)}),z.createElement(t1,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),z.createElement(GK,{type:`bar`,id:e,data:void 0,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,stackId:n,hide:t.hide,barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize,isPanorama:r,hasCustomShape:t.shape!=null}),z.createElement(QB,{zIndex:t.zIndex},z.createElement(p1,K$({},t,{id:e})))))}var g1=z.memo(h1,KD);g1.displayName=`Bar`;var _1=[`option`,`isActive`];function v1(){return v1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v1.apply(null,arguments)}function y1(e,t){if(e==null)return{};var n,r,i=b1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function b1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function x1(e){var{option:t,isActive:n}=e,r=y1(e,_1);return typeof t==`string`?z.createElement(EK,v1({option:z.createElement(px,v1({type:t},r)),isActive:n,shapeType:`symbols`},r)):z.createElement(EK,v1({option:t,isActive:n,shapeType:`symbols`},r))}var S1=$([(e,t,n,r,i,a,o)=>aj(e,void 0,void 0,o),(e,t,n,r,i,a,o)=>OR(e,`xAxis`,t,o),(e,t,n,r,i,a,o)=>DR(e,`xAxis`,t,o),(e,t,n,r,i,a,o)=>OR(e,`yAxis`,n,o),(e,t,n,r,i,a,o)=>DR(e,`yAxis`,n,o),(e,t,n,r)=>kae(e,`zAxis`,r,!1),$([bL,(e,t,n,r,i)=>i],(e,t)=>e.filter(e=>e.type===`scatter`).find(e=>e.id===t)),(e,t,n,r,i,a)=>a],(e,t,n,r,i,a,o,s)=>{var{chartData:c,dataStartIndex:l,dataEndIndex:u}=e;if(o!=null){var d=o?.data!=null&&o.data.length>0?o.data:c?.slice(l,u+1);if(!(d==null||t==null||r==null||n==null||i==null||n?.length===0||i?.length===0))return B1({displayedData:d,xAxis:t,yAxis:r,zAxis:a,scatterSettings:o,xAxisTicks:n,yAxisTicks:i,cells:s})}}),C1=[`id`],w1=[`onMouseEnter`,`onClick`,`onMouseLeave`],T1=[`animationBegin`,`animationDuration`,`animationEasing`,`hide`,`isAnimationActive`,`legendType`,`lineJointType`,`lineType`,`shape`,`xAxisId`,`yAxisId`,`zAxisId`];function E1(e,t){if(e==null)return{};var n,r,i=D1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function O1(){return O1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O1.apply(null,arguments)}function k1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function A1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?k1(Object(n),!0).forEach(function(t){j1(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k1(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j1(e,t,n){return(t=M1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M1(e){var t=N1(e,`string`);return typeof t==`symbol`?t:t+``}function N1(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var P1=e=>{var{dataKey:t,name:n,fill:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:fE(n,t),payload:e}]},F1=z.memo(e=>{var{dataKey:t,points:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:n?.map(e=>e.tooltipPayload),getPosition:e=>{var t;return n==null||(t=n[Number(e)])==null?void 0:t.tooltipPosition},settings:{stroke:r,strokeWidth:i,fill:a,nameKey:void 0,dataKey:t,name:fE(o,t),hide:s,type:c,color:a,unit:``,graphicalItemId:l}};return z.createElement(AK,{tooltipEntrySettings:u})});function I1(e){var{points:t,props:n}=e,{line:r,lineType:i,lineJointType:a}=n;if(!r)return null;var o=Yv(n),s=Xv(r),c,l;if(i===`joint`)c=t.map(e=>({x:e.cx??null,y:e.cy??null}));else if(i===`fitting`){var{xmin:u,xmax:d,a:f,b:p}=tte(t),m=e=>f*e+p;c=[{x:u,y:m(u)},{x:d,y:m(d)}]}var h=A1(A1(A1({},o),{},{fill:`none`,stroke:o&&o.fill},s),{},{points:c});return l=z.isValidElement(r)?z.cloneElement(r,h):typeof r==`function`?r(h):z.createElement($O,O1({},h,{type:a})),z.createElement(Y,{className:`recharts-scatter-line`,key:`recharts-scatter-line`},l)}function L1(e){var{showLabels:t,points:n,children:r}=e,i=RE(),a=(0,z.useMemo)(()=>n?.map(e=>{var t={x:e.x??0,y:e.y??0,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width};return A1(A1({},t),{},{value:void 0,payload:e.payload,viewBox:t,parentViewBox:i,fill:void 0})}),[i,n]);return z.createElement(PU,{value:t?a:void 0},r)}function R1(e){var{points:t,allOtherScatterProps:n}=e,{shape:r,activeShape:i,dataKey:a}=n,{id:o}=n,s=E1(n,C1),c=Q(Yz),{onMouseEnter:l,onClick:u,onMouseLeave:d}=n,f=E1(n,w1),p=DK(l,a,o),m=OK(d),h=kK(u,a,o);if(!pte(t))return null;var g=Yv(s);return z.createElement(z.Fragment,null,z.createElement(I1,{points:t,props:s}),t.map((e,t)=>{var n=i!=null&&i!==!1,a=n&&c===String(t),s=n&&a?i:r,l=A1(A1(A1({},g),e),{},{index:t,[yE]:String(o)});return z.createElement(QB,{key:`symbol-${e?.cx}-${e?.cy}-${e?.size}-${t}`,zIndex:a?Fj.activeDot:void 0},z.createElement(Y,O1({className:`recharts-scatter-symbol`},gx(f,e,t),{onMouseEnter:p(e,t),onMouseLeave:m(e,t),onClick:h(e,t)}),z.createElement(x1,O1({option:s,isActive:a},l))))}))}function z1(e){var{previousPointsRef:t,props:n}=e,{points:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s}=n,c=t.current,l=Zk(n,`recharts-scatter-`),[u,d]=(0,z.useState)(!1),f=(0,z.useCallback)(()=>{d(!1)},[]),p=(0,z.useCallback)(()=>{d(!0)},[]),m=!u;return z.createElement(L1,{showLabels:m,points:r},n.children,z.createElement(Xk,{animationId:l,begin:a,duration:o,isActive:i,easing:s,onAnimationEnd:f,onAnimationStart:p,key:l},e=>{var i=e===1?r:r?.map((t,n)=>{var r=c&&c[n];return r?A1(A1({},t),{},{cx:t.cx==null?void 0:Z(r.cx,t.cx,e),cy:t.cy==null?void 0:Z(r.cy,t.cy,e),size:Z(r.size,t.size,e)}):A1(A1({},t),{},{size:Z(0,t.size,e)})});return e>0&&(t.current=i),z.createElement(Y,null,z.createElement(R1,{points:i,allOtherScatterProps:n,showLabels:m}))}),z.createElement(BU,{label:n.label}))}function B1(e){var{displayedData:t,xAxis:n,yAxis:r,zAxis:i,scatterSettings:a,xAxisTicks:o,yAxisTicks:s,cells:c}=e,l=ax(n.dataKey)?a.dataKey:n.dataKey,u=ax(r.dataKey)?a.dataKey:r.dataKey,d=i&&i.dataKey,f=i?i.range:mL.range,p=f&&f[0],m=n.scale.bandwidth?n.scale.bandwidth():0,h=r.scale.bandwidth?r.scale.bandwidth():0;return t.map((e,t)=>{var f=$T(e,l),g=$T(e,u),_=!ax(d)&&$T(e,d)||`-`,v=[{name:ax(n.dataKey)?a.name:n.name||String(n.dataKey),unit:n.unit||``,value:f,payload:e,dataKey:l,type:a.tooltipType,graphicalItemId:a.id},{name:ax(r.dataKey)?a.name:r.name||String(r.dataKey),unit:r.unit||``,value:g,payload:e,dataKey:u,type:a.tooltipType,graphicalItemId:a.id}];_!==`-`&&i!=null&&v.push({name:i.name||i.dataKey,unit:i.unit||``,value:_,payload:e,dataKey:d,type:a.tooltipType,graphicalItemId:a.id});var y=aE({axis:n,ticks:o,bandSize:m,entry:e,index:t,dataKey:l}),b=aE({axis:r,ticks:s,bandSize:h,entry:e,index:t,dataKey:u}),x=_!==`-`&&i!=null?i.scale.map(_):p,S=x==null?0:Math.sqrt(Math.max(x,0)/Math.PI);return A1(A1({},e),{},{cx:y,cy:b,x:y==null?void 0:y-S,y:b==null?void 0:b-S,width:2*S,height:2*S,size:x,node:{x:f,y:g,z:_},tooltipPayload:v,tooltipPosition:{x:y,y:b},payload:e},c&&c[t]&&c[t].props)})}var V1=(e,t,n)=>({x:e.cx,y:e.cy,value:Number(n===`x`?e.node.x:e.node.y),errorVal:$T(e,t)});function H1(e){var{hide:t,points:n,className:r,needClip:i,xAxisId:a,yAxisId:o,id:s}=e,c=(0,z.useRef)(null);if(t)return null;var l=J(`recharts-scatter`,r),u=s;return z.createElement(QB,{zIndex:e.zIndex},z.createElement(Y,{className:l,clipPath:i?`url(#clipPath-${u})`:void 0,id:s},i&&z.createElement(`defs`,null,z.createElement(qZ,{clipPathId:u,xAxisId:a,yAxisId:o})),z.createElement(GZ,{xAxisId:a,yAxisId:o,data:n,dataPointFormatter:V1,errorBarOffset:0},z.createElement(Y,{key:`recharts-scatter-symbols`},z.createElement(z1,{props:e,previousPointsRef:c})))))}var U1={xAxisId:0,yAxisId:0,zAxisId:0,label:!1,line:!1,legendType:`circle`,lineType:`joint`,lineJointType:`linear`,shape:`circle`,hide:!1,isAnimationActive:`auto`,animationBegin:0,animationDuration:400,animationEasing:`linear`,zIndex:Fj.scatter};function W1(e){var t=vx(e,U1),{animationBegin:n,animationDuration:r,animationEasing:i,hide:a,isAnimationActive:o,legendType:s,lineJointType:c,lineType:l,shape:u,xAxisId:d,yAxisId:f,zAxisId:p}=t,m=E1(t,T1),{needClip:h}=KZ(d,f),g=(0,z.useMemo)(()=>XG(e.children,GV),[e.children]),_=wE(),v=Q(t=>S1(t,d,f,p,e.id,g,_));return h==null||v==null?null:z.createElement(z.Fragment,null,z.createElement(F1,{dataKey:e.dataKey,points:v,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:e.id}),z.createElement(H1,O1({},m,{xAxisId:d,yAxisId:f,zAxisId:p,lineType:l,lineJointType:c,legendType:s,shape:u,hide:a,isAnimationActive:o,animationBegin:n,animationDuration:r,animationEasing:i,points:v,needClip:h})))}function G1(e){var t=vx(e,U1),n=wE();return z.createElement(IK,{id:t.id,type:`scatter`},e=>z.createElement(z.Fragment,null,z.createElement(jK,{legendPayload:P1(t)}),z.createElement(GK,{type:`scatter`,id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:t.zAxisId,dataKey:t.dataKey,hide:t.hide,name:t.name,tooltipType:t.tooltipType,isPanorama:n}),z.createElement(W1,O1({},t,{id:e}))))}var K1=z.memo(G1,KD);K1.displayName=`Scatter`;var q1=[`domain`,`range`],J1=[`domain`,`range`];function Y1(e,t){if(e==null)return{};var n,r,i=X1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function X1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Z1(e,t){return e===t?!0:Array.isArray(e)&&e.length===2&&Array.isArray(t)&&t.length===2?e[0]===t[0]&&e[1]===t[1]:!1}function Q1(e,t){if(e===t)return!0;var{domain:n,range:r}=e,i=Y1(e,q1),{domain:a,range:o}=t,s=Y1(t,J1);return!Z1(n,a)||!Z1(r,o)?!1:KD(i,s)}var $1=[`type`],e0=[`dangerouslySetInnerHTML`,`ticks`,`scale`],t0=[`id`,`scale`];function n0(){return n0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n0.apply(null,arguments)}function r0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?r0(Object(n),!0).forEach(function(t){a0(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r0(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a0(e,t,n){return(t=o0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o0(e){var t=s0(e,`string`);return typeof t==`symbol`?t:t+``}function s0(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function c0(e,t){if(e==null)return{};var n,r,i=l0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l0(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function u0(e){var t=gS(),n=(0,z.useRef)(null),r=WE(),{type:i}=e,a=c0(e,$1),o=zj(r,`xAxis`,i),s=(0,z.useMemo)(()=>{if(o!=null)return i0(i0({},a),{},{type:o})},[a,o]);return(0,z.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(Gq(s)):n.current!==s&&t(Kq({prev:n.current,next:s})),n.current=s)},[s,t]),(0,z.useLayoutEffect)(()=>()=>{n.current&&=(t(qq(n.current)),null)},[t]),null}var d0=e=>{var{xAxisId:t,className:n}=e,r=Q(CE),i=wE(),a=`xAxis`,o=Q(e=>TR(e,a,t,i)),s=Q(e=>vR(e,t)),c=Q(e=>Dae(e,t)),l=Q(e=>lL(e,t));if(s==null||c==null||l==null)return null;var{dangerouslySetInnerHTML:u,ticks:d,scale:f}=e,p=c0(e,e0),{id:m,scale:h}=l,g=c0(l,t0);return z.createElement(gZ,n0({},p,g,{x:c.x,y:c.y,width:s.width,height:s.height,className:J(`recharts-${a} ${a}`,n),viewBox:r,ticks:o,axisType:a,axisId:t}))},f0={allowDataOverflow:cL.allowDataOverflow,allowDecimals:cL.allowDecimals,allowDuplicatedCategory:cL.allowDuplicatedCategory,angle:cL.angle,axisLine:sZ.axisLine,height:cL.height,hide:!1,includeHidden:cL.includeHidden,interval:cL.interval,label:!1,minTickGap:cL.minTickGap,mirror:cL.mirror,orientation:cL.orientation,padding:cL.padding,reversed:cL.reversed,scale:cL.scale,tick:cL.tick,tickCount:cL.tickCount,tickLine:sZ.tickLine,tickSize:sZ.tickSize,type:cL.type,niceTicks:cL.niceTicks,xAxisId:0},p0=z.memo(e=>{var t=vx(e,f0);return z.createElement(z.Fragment,null,z.createElement(u0,{allowDataOverflow:t.allowDataOverflow,allowDecimals:t.allowDecimals,allowDuplicatedCategory:t.allowDuplicatedCategory,angle:t.angle,dataKey:t.dataKey,domain:t.domain,height:t.height,hide:t.hide,id:t.xAxisId,includeHidden:t.includeHidden,interval:t.interval,minTickGap:t.minTickGap,mirror:t.mirror,name:t.name,orientation:t.orientation,padding:t.padding,reversed:t.reversed,scale:t.scale,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,niceTicks:t.niceTicks}),z.createElement(d0,t))},Q1);p0.displayName=`XAxis`;var m0=[`type`],h0=[`dangerouslySetInnerHTML`,`ticks`,`scale`],g0=[`id`,`scale`];function _0(){return _0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_0.apply(null,arguments)}function v0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?v0(Object(n),!0).forEach(function(t){b0(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v0(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b0(e,t,n){return(t=x0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x0(e){var t=S0(e,`string`);return typeof t==`symbol`?t:t+``}function S0(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function C0(e,t){if(e==null)return{};var n,r,i=w0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function w0(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function T0(e){var t=gS(),n=(0,z.useRef)(null),r=WE(),{type:i}=e,a=C0(e,m0),o=zj(r,`yAxis`,i),s=(0,z.useMemo)(()=>{if(o!=null)return y0(y0({},a),{},{type:o})},[o,a]);return(0,z.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(Jq(s)):n.current!==s&&t(Yq({prev:n.current,next:s})),n.current=s)},[s,t]),(0,z.useLayoutEffect)(()=>()=>{n.current&&=(t(Xq(n.current)),null)},[t]),null}function E0(e){var{yAxisId:t,className:n,width:r,label:i}=e,a=(0,z.useRef)(null),o=(0,z.useRef)(null),s=Q(CE),c=wE(),l=gS(),u=`yAxis`,d=Q(e=>yR(e,t)),f=Q(e=>Oae(e,t)),p=Q(e=>TR(e,u,t,c)),m=Q(e=>fL(e,t));if((0,z.useLayoutEffect)(()=>{if(!(r!==`auto`||!d||gU(i)||(0,z.isValidElement)(i)||m==null)){var e=a.current;if(e){var n=e.getCalculatedWidth();Math.round(d.width)!==Math.round(n)&&l(Zq({id:t,width:n}))}}},[p,d,l,i,t,r,m]),d==null||f==null||m==null)return null;var{dangerouslySetInnerHTML:h,ticks:g,scale:_}=e,v=C0(e,h0),{id:y,scale:b}=m,x=C0(m,g0);return z.createElement(gZ,_0({},v,x,{ref:a,labelRef:o,x:f.x,y:f.y,tickTextProps:r===`auto`?{width:void 0}:{width:r},width:d.width,height:d.height,className:J(`recharts-${u} ${u}`,n),viewBox:s,ticks:p,axisType:u,axisId:t}))}var D0={allowDataOverflow:dL.allowDataOverflow,allowDecimals:dL.allowDecimals,allowDuplicatedCategory:dL.allowDuplicatedCategory,angle:dL.angle,axisLine:sZ.axisLine,hide:!1,includeHidden:dL.includeHidden,interval:dL.interval,label:!1,minTickGap:dL.minTickGap,mirror:dL.mirror,orientation:dL.orientation,padding:dL.padding,reversed:dL.reversed,scale:dL.scale,tick:dL.tick,tickCount:dL.tickCount,tickLine:sZ.tickLine,tickSize:sZ.tickSize,type:dL.type,niceTicks:dL.niceTicks,width:dL.width,yAxisId:0},O0=z.memo(e=>{var t=vx(e,D0);return z.createElement(z.Fragment,null,z.createElement(T0,{interval:t.interval,id:t.yAxisId,scale:t.scale,type:t.type,domain:t.domain,allowDataOverflow:t.allowDataOverflow,dataKey:t.dataKey,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDecimals:t.allowDecimals,tickCount:t.tickCount,padding:t.padding,includeHidden:t.includeHidden,reversed:t.reversed,ticks:t.ticks,width:t.width,orientation:t.orientation,mirror:t.mirror,hide:t.hide,unit:t.unit,name:t.name,angle:t.angle,minTickGap:t.minTickGap,tick:t.tick,tickFormatter:t.tickFormatter,niceTicks:t.niceTicks}),z.createElement(E0,t))},Q1);O0.displayName=`YAxis`;var k0={begin:0,duration:1e3,easing:`ease`,isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}};function A0(e){var t=vx(e,k0),{animationId:n,from:r,to:i,attributeName:a,isActive:o,canBegin:s,duration:c,easing:l,begin:u,onAnimationEnd:d,onAnimationStart:f,children:p}=t,m=kO(),h=o===`auto`?!OO.isSsr&&!m:o,g=Kk(n+a,t.animationManager),[_,v]=(0,z.useState)(()=>h?r:i),y=(0,z.useRef)(!1),b=(0,z.useCallback)(()=>{v(r),f()},[r,f]);return(0,z.useEffect)(()=>{if(!h||!s)return cx;y.current=!0;var e=g.subscribe(v);return g.start([b,u,i,c,d]),()=>{g.stop(),e&&e(),d()}},[h,s,c,l,u,b,d,g,i,r]),h?s&&y.current?p({transition:vk([a],c,l),[a]:_}):p({[a]:r}):p({[a]:i})}var j0=$([(e,t)=>t,HE,rM,fM,Hz,Wz,CB,SE],FB);function M0(e){return`getBBox`in e.currentTarget&&typeof e.currentTarget.getBBox==`function`}function N0(e){var t=e.currentTarget.getBoundingClientRect(),n,r;if(M0(e)){var i=e.currentTarget.getBBox();n=i.width>0?t.width/i.width:1,r=i.height>0?t.height/i.height:1}else{var a=e.currentTarget;n=a.offsetWidth>0?t.width/a.offsetWidth:1,r=a.offsetHeight>0?t.height/a.offsetHeight:1}var o=(e,i)=>({relativeX:Math.round((e-t.left)/n),relativeY:Math.round((i-t.top)/r)});return`touches`in e?Array.from(e.touches).map(e=>o(e.clientX,e.clientY)):o(e.clientX,e.clientY)}var P0=Mw(`mouseClick`),F0=BT();F0.startListening({actionCreator:P0,effect:(e,t)=>{var n=e.payload,r=j0(t.getState(),N0(n));r?.activeIndex!=null&&t.dispatch(qR({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}});var I0=Mw(`mouseMove`),L0=BT(),R0=null,z0=null,B0=null;L0.startListening({actionCreator:I0,effect:(e,t)=>{var n=e.payload,{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i?.includes(`mousemove`);R0!==null&&(cancelAnimationFrame(R0),R0=null),z0!==null&&(typeof r!=`number`||!a)&&(clearTimeout(z0),z0=null),B0=N0(n);var o=()=>{var e=t.getState(),n=MR(e,e.tooltip.settings.shared);if(!B0){R0=null,z0=null;return}if(n===`axis`){var r=j0(e,B0);r?.activeIndex==null?t.dispatch(WR()):t.dispatch(KR({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}R0=null,z0=null};if(!a){o();return}r===`raf`?R0=requestAnimationFrame(o):typeof r==`number`&&z0===null&&(z0=setTimeout(o,r))}});function V0(e,t){return t instanceof HTMLElement?`HTMLElement <${t.tagName} class=\"${t.className}\">`:t===window?`global.window`:e===`children`&&typeof t==`object`&&t?`<<CHILDREN>>`:t}var H0={accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:`none`,syncId:void 0,syncMethod:`index`,baseValue:void 0,reverseStackOrder:!1},U0=eT({name:`rootProps`,initialState:H0,reducers:{updateOptions:(e,t)=>{e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=t.payload.barGap??H0.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className,e.baseValue=t.payload.baseValue,e.reverseStackOrder=t.payload.reverseStackOrder}}}),W0=U0.reducer,{updateOptions:G0}=U0.actions,K0=eT({name:`polarOptions`,initialState:null,reducers:{updatePolarOptions:(e,t)=>e===null?t.payload:(e.startAngle=t.payload.startAngle,e.endAngle=t.payload.endAngle,e.cx=t.payload.cx,e.cy=t.payload.cy,e.innerRadius=t.payload.innerRadius,e.outerRadius=t.payload.outerRadius,e)}}),{updatePolarOptions:q0}=K0.actions,J0=K0.reducer,Y0=Mw(`keyDown`),X0=Mw(`focus`),Z0=Mw(`blur`),Q0=BT(),$0=null,e2=null,t2=null;Q0.startListening({actionCreator:Y0,effect:(e,t)=>{t2=e.payload,$0!==null&&(cancelAnimationFrame($0),$0=null);var{throttleDelay:n,throttledEvents:r}=t.getState().eventSettings,i=r===`all`||r.includes(`keydown`);e2!==null&&(typeof n!=`number`||!i)&&(clearTimeout(e2),e2=null);var a=()=>{try{var e=t.getState();if(e.rootProps.accessibilityLayer===!1)return;var{keyboardInteraction:n}=e.tooltip,r=t2;if(r!==`ArrowRight`&&r!==`ArrowLeft`&&r!==`Enter`)return;var i=cz(n,Az(e),LL(e),zz(e)),a=i==null?-1:Number(i),o=!Number.isFinite(a)||a<0,s=Wz(e),c=Az(e),l=MR(e,e.tooltip.settings.shared);if(r===`Enter`){if(o)return;var u=OB(e,l,`hover`,String(n.index));t.dispatch(YR({active:!n.active,activeIndex:n.index,activeCoordinate:u}));return}var d=Aae(e)===`left-to-right`?1:-1,f=r===`ArrowRight`?1:-1,p;if(o){var m=LL(e),h=zz(e),g=f*d,_=e=>({active:!1,index:String(e),dataKey:void 0,graphicalItemId:void 0,coordinate:void 0});if(p=-1,g>0){for(var v=0;v<c.length;v++)if(cz(_(v),c,m,h)!=null){p=v;break}}else for(var y=c.length-1;y>=0;y--)if(cz(_(y),c,m,h)!=null){p=y;break}if(p<0)return}else{p=a+f*d;var b=s?.length||c.length;if(b===0||p>=b||p<0)return}var x=OB(e,l,`hover`,String(p));t.dispatch(YR({active:!0,activeIndex:p.toString(),activeCoordinate:x}))}finally{$0=null,e2=null}};if(!i){a();return}n===`raf`?$0=requestAnimationFrame(a):typeof n==`number`&&e2===null&&(a(),t2=null,e2=setTimeout(()=>{t2?a():(e2=null,$0=null)},n))}}),Q0.startListening({actionCreator:X0,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;if(!r.active&&r.index==null){var i=`0`,a=OB(n,MR(n,n.tooltip.settings.shared),`hover`,String(i));t.dispatch(YR({active:!0,activeIndex:i,activeCoordinate:a}))}}}}),Q0.startListening({actionCreator:Z0,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;r.active&&t.dispatch(YR({active:!1,activeIndex:r.index,activeCoordinate:r.coordinate}))}}});function n2(e){e.persist();var{currentTarget:t}=e;return new Proxy(e,{get:(e,n)=>{if(n===`currentTarget`)return t;var r=Reflect.get(e,n);return typeof r==`function`?r.bind(e):r}})}var r2=Mw(`externalEvent`),i2=BT(),a2=new Map,o2=new Map,s2=new Map;i2.startListening({actionCreator:r2,effect:(e,t)=>{var{handler:n,reactEvent:r}=e.payload;if(n!=null){var i=r.type,a=n2(r);s2.set(i,{handler:n,reactEvent:a});var o=a2.get(i);o!==void 0&&(cancelAnimationFrame(o),a2.delete(i));var{throttleDelay:s,throttledEvents:c}=t.getState().eventSettings,l=c,u=l===`all`||l?.includes(i),d=o2.get(i);d!==void 0&&(typeof s!=`number`||!u)&&(clearTimeout(d),o2.delete(i));var f=()=>{var e=s2.get(i);try{if(!e)return;var{handler:n,reactEvent:r}=e,a=t.getState(),o={activeCoordinate:eB(a),activeDataKey:Zz(a),activeIndex:Yz(a),activeLabel:Xz(a),activeTooltipIndex:Yz(a),isTooltipActive:tB(a)};n&&n(o,r)}finally{a2.delete(i),o2.delete(i),s2.delete(i)}};if(!u){f();return}if(s===`raf`){var p=requestAnimationFrame(f);a2.set(i,p)}else if(typeof s==`number`){if(!o2.has(i)){f();var m=setTimeout(f,s);o2.set(i,m)}}else f()}}});var c2=$([$([fz],e=>e.tooltipItemPayloads),(e,t)=>t,(e,t,n)=>n],(e,t,n)=>{if(t!=null){var r=e.find(e=>e.settings.graphicalItemId===n);if(r!=null){var{getPosition:i}=r;if(i!=null)return i(t)}}}),l2=Mw(`touchMove`),u2=BT(),d2=null,f2=null,p2=null,m2=null;u2.startListening({actionCreator:l2,effect:(e,t)=>{var n=e.payload;if(!(n.touches==null||n.touches.length===0)){m2=n2(n);var{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i.includes(`touchmove`);d2!==null&&(cancelAnimationFrame(d2),d2=null),f2!==null&&(typeof r!=`number`||!a)&&(clearTimeout(f2),f2=null),p2=Array.from(n.touches).map(e=>N0({clientX:e.clientX,clientY:e.clientY,currentTarget:n.currentTarget}));var o=()=>{if(m2!=null){var e=t.getState(),n=MR(e,e.tooltip.settings.shared);if(n===`axis`){var r=p2?.[0];if(r==null){d2=null,f2=null;return}var i=j0(e,r);i?.activeIndex!=null&&t.dispatch(KR({activeIndex:i.activeIndex,activeDataKey:void 0,activeCoordinate:i.activeCoordinate}))}else if(n===`item`){var a=m2.touches[0];if(document.elementFromPoint==null||a==null)return;var o=document.elementFromPoint(a.clientX,a.clientY);if(!o||!o.getAttribute)return;var s=o.getAttribute(vE),c=o.getAttribute(`data-recharts-item-id`)??void 0,l=Ez(e).find(e=>e.id===c);if(s==null||l==null||c==null)return;var{dataKey:u}=l,d=c2(e,s,c);t.dispatch(HR({activeDataKey:u,activeIndex:s,activeCoordinate:d,activeGraphicalItemId:c}))}d2=null,f2=null}};if(!a){o();return}r===`raf`?d2=requestAnimationFrame(o):typeof r==`number`&&f2===null&&(o(),m2=null,f2=setTimeout(()=>{m2?o():(f2=null,d2=null)},r))}}});var h2={throttleDelay:`raf`,throttledEvents:[`mousemove`,`touchmove`,`pointermove`,`scroll`,`wheel`]},g2=eT({name:`eventSettings`,initialState:h2,reducers:{setEventSettings:(e,t)=>{t.payload.throttleDelay!=null&&(e.throttleDelay=t.payload.throttleDelay),t.payload.throttledEvents!=null&&(e.throttledEvents=ND(t.payload.throttledEvents))}}}),{setEventSettings:_2}=g2.actions,v2=g2.reducer,y2=rC({brush:iX,cartesianAxis:Qq,chartData:SV,errorBars:BZ,eventSettings:v2,graphicalItems:WK,layout:qT,legend:Kne,options:gV,polarAxis:HW,polarOptions:J0,referenceElements:fX,renderedTicks:ZX,rootProps:W0,tooltip:XR,zIndex:ZB}),b2=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`Chart`;return Ww({reducer:y2,preloadedState:e,middleware:e=>e({serializableCheck:!1,immutableCheck:![`commonjs`,`es6`,`production`].includes(`es6`)}).concat([F0.middleware,L0.middleware,Q0.middleware,i2.middleware,u2.middleware]),enhancers:e=>{var t=e;return typeof e==`function`&&(t=e()),t.concat(Hw({type:`raf`}))},devTools:OO.devToolsEnabled&&{serialize:{replacer:V0},name:`recharts-${t}`}})};function x2(e){var{preloadedState:t,children:n,reduxStoreName:r}=e,i=wE(),a=(0,z.useRef)(null);if(i)return n;a.current??=b2(t,r);var o=pS;return z.createElement(UD,{context:o,store:a.current},n)}function S2(e){var{layout:t,margin:n}=e,r=gS(),i=wE();return(0,z.useEffect)(()=>{i||(r(WT(t)),r(UT(n)))},[r,i,t,n]),null}var C2=(0,z.memo)(S2,KD);function w2(e){var t=gS();return(0,z.useEffect)(()=>{t(G0(e))},[t,e]),null}var T2=(0,z.memo)(e=>{var t=gS();return(0,z.useEffect)(()=>{t(_2(e))},[t,e]),null},KD);function E2(e){var{zIndex:t,isPanorama:n}=e,r=(0,z.useRef)(null),i=gS();return(0,z.useLayoutEffect)(()=>(r.current&&i(YB({zIndex:t,element:r.current,isPanorama:n})),()=>{i(XB({zIndex:t,isPanorama:n}))}),[i,t,n]),z.createElement(`g`,{tabIndex:-1,ref:r,className:`recharts-zIndex-layer_${t}`})}function D2(e){var{children:t,isPanorama:n}=e,r=Q(LB);if(!r||r.length===0)return t;var i=r.filter(e=>e<0),a=r.filter(e=>e>0);return z.createElement(z.Fragment,null,i.map(e=>z.createElement(E2,{key:e,zIndex:e,isPanorama:n})),t,a.map(e=>z.createElement(E2,{key:e,zIndex:e,isPanorama:n})))}var O2=[`children`];function k2(e,t){if(e==null)return{};var n,r,i=A2(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function A2(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function j2(){return j2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j2.apply(null,arguments)}var M2={width:`100%`,height:`100%`,display:`block`},N2=(0,z.forwardRef)((e,t)=>{var n=BE(),r=VE(),i=RO();if(!XT(n)||!XT(r))return null;var{children:a,otherAttributes:o,title:s,desc:c}=e,l,u;return o!=null&&(l=typeof o.tabIndex==`number`?o.tabIndex:i?0:void 0,u=typeof o.role==`string`?o.role:i?`application`:void 0),z.createElement(ry,j2({},o,{title:s,desc:c,role:u,tabIndex:l,width:n,height:r,style:M2,ref:t}),a)}),P2=e=>{var{children:t}=e,n=Q(EE);if(!n)return null;var{width:r,height:i,y:a,x:o}=n;return z.createElement(ry,{width:r,height:i,x:o,y:a},t)},F2=(0,z.forwardRef)((e,t)=>{var{children:n}=e,r=k2(e,O2);return wE()?z.createElement(P2,null,z.createElement(D2,{isPanorama:!0},n)):z.createElement(N2,j2({ref:t},r),z.createElement(D2,{isPanorama:!1},n))});function I2(){var e=gS(),[t,n]=(0,z.useState)(null),r=Q(ine);return(0,z.useEffect)(()=>{if(t!=null){var n=t.getBoundingClientRect().width/t.offsetWidth;YT(n)&&n!==r&&e(KT(n))}},[t,e,r]),n}function L2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function R2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?L2(Object(n),!0).forEach(function(t){z2(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L2(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function z2(e,t,n){return(t=B2(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B2(e){var t=V2(e,`string`);return typeof t==`symbol`?t:t+``}function V2(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function H2(){return H2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H2.apply(null,arguments)}var U2=()=>(NV(),null);function W2(e){if(typeof e==`number`)return e;if(typeof e==`string`){var t=parseFloat(e);if(!Number.isNaN(t))return t}return 0}var G2=(0,z.forwardRef)((e,t)=>{var n=(0,z.useRef)(null),[r,i]=(0,z.useState)({containerWidth:W2(e.style?.width),containerHeight:W2(e.style?.height)}),a=(0,z.useCallback)((e,t)=>{i(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),o=(0,z.useCallback)(e=>{if(typeof t==`function`&&t(e),n.current!=null&&(n.current.disconnect(),n.current=null),e!=null&&typeof ResizeObserver<`u`){var{width:r,height:i}=e.getBoundingClientRect();a(r,i);var o=new ResizeObserver(e=>{var t=e[0];if(t!=null){var{width:n,height:r}=t.contentRect;a(n,r)}});o.observe(e),n.current=o}},[t,a]);return(0,z.useEffect)(()=>()=>{n.current?.disconnect()},[a]),z.createElement(z.Fragment,null,z.createElement(qE,{width:r.containerWidth,height:r.containerHeight}),z.createElement(`div`,H2({ref:o},e)))}),K2=(0,z.forwardRef)((e,t)=>{var{width:n,height:r}=e,[i,a]=(0,z.useState)({containerWidth:W2(n),containerHeight:W2(r)}),o=(0,z.useCallback)((e,t)=>{a(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),s=(0,z.useCallback)(e=>{if(typeof t==`function`&&t(e),e!=null){var{width:n,height:r}=e.getBoundingClientRect();o(n,r)}},[t,o]);return z.createElement(z.Fragment,null,z.createElement(qE,{width:i.containerWidth,height:i.containerHeight}),z.createElement(`div`,H2({ref:s},e)))}),q2=(0,z.forwardRef)((e,t)=>{var{width:n,height:r}=e;return z.createElement(z.Fragment,null,z.createElement(qE,{width:n,height:r}),z.createElement(`div`,H2({ref:t},e)))}),J2=(0,z.forwardRef)((e,t)=>{var{width:n,height:r}=e;return typeof n==`string`||typeof r==`string`?z.createElement(K2,H2({},e,{ref:t})):typeof n==`number`&&typeof r==`number`?z.createElement(q2,H2({},e,{width:n,height:r,ref:t})):z.createElement(z.Fragment,null,z.createElement(qE,{width:n,height:r}),z.createElement(`div`,H2({ref:t},e)))});function Y2(e){return e?G2:J2}var X2=(0,z.forwardRef)((e,t)=>{var{children:n,className:r,height:i,onClick:a,onContextMenu:o,onDoubleClick:s,onMouseDown:c,onMouseEnter:l,onMouseLeave:u,onMouseMove:d,onMouseUp:f,onTouchEnd:p,onTouchMove:m,onTouchStart:h,style:g,width:_,responsive:v,dispatchTouchEvents:y=!0}=e,b=(0,z.useRef)(null),x=gS(),[S,C]=(0,z.useState)(null),[w,T]=(0,z.useState)(null),E=I2(),D=FE(),O=D?.width>0?D.width:_,k=D?.height>0?D.height:i,ee=(0,z.useCallback)(e=>{E(e),typeof t==`function`&&t(e),C(e),T(e),e!=null&&(b.current=e)},[E,t,C,T]),te=(0,z.useCallback)(e=>{x(P0(e)),x(r2({handler:a,reactEvent:e}))},[x,a]),ne=(0,z.useCallback)(e=>{x(I0(e)),x(r2({handler:l,reactEvent:e}))},[x,l]),A=(0,z.useCallback)(e=>{x(WR()),x(r2({handler:u,reactEvent:e}))},[x,u]),re=(0,z.useCallback)(e=>{x(I0(e)),x(r2({handler:d,reactEvent:e}))},[x,d]),j=(0,z.useCallback)(()=>{x(X0())},[x]),ie=(0,z.useCallback)(()=>{x(Z0())},[x]),ae=(0,z.useCallback)(e=>{x(Y0(e.key))},[x]),oe=(0,z.useCallback)(e=>{x(r2({handler:o,reactEvent:e}))},[x,o]),se=(0,z.useCallback)(e=>{x(r2({handler:s,reactEvent:e}))},[x,s]),ce=(0,z.useCallback)(e=>{x(r2({handler:c,reactEvent:e}))},[x,c]),M=(0,z.useCallback)(e=>{x(r2({handler:f,reactEvent:e}))},[x,f]),le=(0,z.useCallback)(e=>{x(r2({handler:h,reactEvent:e}))},[x,h]),ue=(0,z.useCallback)(e=>{y&&x(l2(e)),x(r2({handler:m,reactEvent:e}))},[x,y,m]),de=(0,z.useCallback)(e=>{x(r2({handler:p,reactEvent:e}))},[x,p]),fe=Y2(v);return z.createElement(cV.Provider,{value:S},z.createElement(cy.Provider,{value:w},z.createElement(fe,{width:O??g?.width,height:k??g?.height,className:J(`recharts-wrapper`,r),style:R2({position:`relative`,cursor:`default`,width:O,height:k},g),onClick:te,onContextMenu:oe,onDoubleClick:se,onFocus:j,onBlur:ie,onKeyDown:ae,onMouseDown:ce,onMouseEnter:ne,onMouseLeave:A,onMouseMove:re,onMouseUp:M,onTouchEnd:de,onTouchMove:ue,onTouchStart:le,ref:ee},z.createElement(U2,null),n)))}),Z2=[`width`,`height`,`responsive`,`children`,`className`,`style`,`compact`,`title`,`desc`];function Q2(e,t){if(e==null)return{};var n,r,i=$2(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $2(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var e4=(0,z.forwardRef)((e,t)=>{var{width:n,height:r,responsive:i,children:a,className:o,style:s,compact:c,title:l,desc:u}=e,d=Yv(Q2(e,Z2));return c?z.createElement(z.Fragment,null,z.createElement(qE,{width:n,height:r}),z.createElement(F2,{otherAttributes:d,title:l,desc:u},a)):z.createElement(X2,{className:o,style:s,width:n,height:r,responsive:i??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},z.createElement(F2,{otherAttributes:d,title:l,desc:u,ref:t},z.createElement(mX,null,a)))});function t4(){return t4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t4.apply(null,arguments)}function n4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?n4(Object(n),!0).forEach(function(t){i4(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i4(e,t,n){return(t=a4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a4(e){var t=o4(e,`string`);return typeof t==`symbol`?t:t+``}function o4(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var s4=r4({accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,layout:`horizontal`,margin:{top:5,right:5,bottom:5,left:5},responsive:!1,reverseStackOrder:!1,stackOffset:`none`,syncMethod:`index`},h2),c4=(0,z.forwardRef)(function(e,t){var n=vx(e.categoricalChartProps,s4),{chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,categoricalChartProps:s}=e,c={chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,eventEmitter:void 0};return z.createElement(x2,{preloadedState:{options:c},reduxStoreName:s.id??r},z.createElement(tX,{chartData:s.data}),z.createElement(C2,{layout:n.layout,margin:n.margin}),z.createElement(T2,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),z.createElement(w2,{baseValue:n.baseValue,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),z.createElement(e4,t4({},n,{ref:t})))}),l4=[`axis`],u4=(0,z.forwardRef)((e,t)=>z.createElement(c4,{chartName:`LineChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:l4,tooltipPayloadSearcher:mV,categoricalChartProps:e,ref:t}));function d4(e){var t=gS();return(0,z.useEffect)(()=>{t(q0(e))},[t,e]),null}var f4=[`layout`];function p4(){return p4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p4.apply(null,arguments)}function m4(e,t){if(e==null)return{};var n,r,i=h4(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function h4(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function g4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?g4(Object(n),!0).forEach(function(t){v4(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v4(e,t,n){return(t=y4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y4(e){var t=b4(e,`string`);return typeof t==`symbol`?t:t+``}function b4(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var x4=_4({accessibilityLayer:!0,stackOffset:`none`,barCategoryGap:`10%`,barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:`index`,layout:`radial`,responsive:!1,cx:`50%`,cy:`50%`,innerRadius:0,outerRadius:`80%`},h2),S4=(0,z.forwardRef)(function(e,t){var n=vx(e.categoricalChartProps,x4),{layout:r}=n,i=m4(n,f4),{chartName:a,defaultTooltipEventType:o,validateTooltipEventTypes:s,tooltipPayloadSearcher:c}=e,l={chartName:a,defaultTooltipEventType:o,validateTooltipEventTypes:s,tooltipPayloadSearcher:c,eventEmitter:void 0};return z.createElement(x2,{preloadedState:{options:l},reduxStoreName:n.id??a},z.createElement(tX,{chartData:n.data}),z.createElement(C2,{layout:r,margin:n.margin}),z.createElement(T2,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),z.createElement(w2,{baseValue:void 0,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),z.createElement(d4,{cx:n.cx,cy:n.cy,startAngle:n.startAngle,endAngle:n.endAngle,innerRadius:n.innerRadius,outerRadius:n.outerRadius}),z.createElement(e4,p4({},i,{ref:t})))});function C4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?C4(Object(n),!0).forEach(function(t){T4(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T4(e,t,n){return(t=E4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E4(e){var t=D4(e,`string`);return typeof t==`symbol`?t:t+``}function D4(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var O4=[`item`],k4=w4(w4({},x4),{},{layout:`centric`,startAngle:0,endAngle:360}),A4=(0,z.forwardRef)((e,t)=>{var n=vx(e,k4);return z.createElement(S4,{chartName:`PieChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:O4,tooltipPayloadSearcher:mV,categoricalChartProps:n,ref:t})});function j4(e,t=1){let n=[],r=Math.floor(t);if(!iS(e))return n;let i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];t<r&&(Array.isArray(o)||o?.[Symbol.isConcatSpreadable]||typeof o==`object`&&o&&Object.prototype.toString.call(o)===`[object Arguments]`)?i(Array.isArray(o)?o:Array.from(o),t+1):n.push(o)}};return i(Array.from(e),0),n}function M4(e,t){if(e==null)return!0;switch(typeof t){case`symbol`:case`number`:case`object`:if(Array.isArray(t))return N4(e,t);if(typeof t==`number`?t=Gb(t):typeof t==`object`&&(t=Object.is(t?.valueOf(),-0)?`-0`:String(t)),Ub(t))return!1;if(e?.[t]===void 0)return!0;try{return delete e[t],!0}catch{return!1}case`string`:if(e?.[t]===void 0&&Wb(t))return N4(e,qb(t));if(Ub(t))return!1;try{return delete e[t],!0}catch{return!1}}}function N4(e,t){let n=t.length===1?e:Jb(e,t.slice(0,-1)),r=t[t.length-1];if(n?.[r]===void 0)return!0;if(Ub(r))return!1;try{return delete n[r],!0}catch{return!1}}function P4(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}function F4(e){return Tx(e)}function I4(e){let t=tj(e),n=t%1;return n?t-n:t}function L4(e,t){if(e=I4(e),e<1||!Number.isSafeInteger(e))return[];let n=Array(e);for(let r=0;r<e;r++)n[r]=typeof t==`function`?t(r):r;return n}function R4(e){if(e==null)return[];switch(typeof e){case`object`:case`function`:return iS(e)?V4(e):P4(e)?B4(e):z4(e);default:return z4(Object(e))}}function z4(e){let t=[];for(let n in e)t.push(n);return t}function B4(e){return z4(e).filter(e=>e!==`constructor`)}function V4(e){let t=L4(e.length,e=>`${e}`),n=new Set(t);Nx(e)&&(n.add(`offset`),n.add(`parent`)),F4(e)&&(n.add(`buffer`),n.add(`byteLength`),n.add(`byteOffset`));let r=z4(e).filter(e=>!n.has(e));return Array.isArray(e)?[...t,...r]:[...t.filter(t=>Object.hasOwn(e,t)),...r]}function H4(e){let t=[];for(;e;)t.push(...Ex(e)),e=Object.getPrototypeOf(e);return t}function U4(e,...t){if(e==null)return{};t=j4(t);let n=W4(e,t);for(let e=0;e<t.length;e++){let r=t[e];switch(typeof r){case`object`:Array.isArray(r)||(r=Array.from(r));for(let e=0;e<r.length;e++){let t=r[e];M4(n,t)}break;case`string`:case`symbol`:case`number`:M4(n,r);break}}return n}function W4(e,t){return t.some(e=>Array.isArray(e)||Wb(e))?K4(e):G4(e)}function G4(e){let t={},n=[...R4(e),...H4(e)];for(let r=0;r<n.length;r++){let i=n[r];t[i]=e[i]}return t}function K4(e){let t={},n=[...R4(e),...H4(e)];for(let r=0;r<n.length;r++){let i=n[r];t[i]=Yx(e[i],e=>{if(!QG(e))return e})}return t}var q4=[`width`,`height`,`className`,`style`,`children`,`type`];function J4(e,t){if(e==null)return{};var n,r,i=Y4(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Y4(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function X4(){return X4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X4.apply(null,arguments)}function Z4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Q4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Z4(Object(n),!0).forEach(function(t){$4(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $4(e,t,n){return(t=e3(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e3(e){var t=t3(e,`string`);return typeof t==`symbol`?t:t+``}function t3(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var n3=`value`;function r3(e){return typeof e==`object`&&!!e&&`x`in e&&`y`in e&&`width`in e&&`height`in e&&typeof e.x==`number`&&typeof e.y==`number`&&typeof e.width==`number`&&typeof e.height==`number`}var i3=(e,t)=>{if(!(!e||!t))return Jb(e,t)},a3=function(e){return`${arguments.length>1&&arguments[1]!==void 0?arguments[1]:``}children[${e}]`},o3={chartName:`Treemap`,defaultTooltipEventType:`item`,validateTooltipEventTypes:[`item`],tooltipPayloadSearcher:i3,eventEmitter:void 0},s3=e=>{var{depth:t,node:n,index:r,dataKey:i,nameKey:a,nestedActiveTooltipIndex:o}=e,s=t===0?``:a3(r,o),{children:c}=n,l=t+1,u=c&&c.length?c.map((e,t)=>s3({depth:l,node:e,index:t,dataKey:i,nameKey:a,nestedActiveTooltipIndex:s})):null,d;if(u&&u.length)d=u.reduce((e,t)=>e+t.value,0);else{var f=n[i],p=typeof f==`number`?f:0;d=Qb(p)||p<=0?0:p}return Q4(Q4({},n),{},{children:u,name:$T(n,a,``),[n3]:d,depth:t,index:r,tooltipIndex:s})},c3=e=>({x:e.x,y:e.y,width:e.width,height:e.height}),l3=(e,t)=>{var n=t<0?0:t;return e.map(e=>{var t=e[n3]*n;return Q4(Q4({},e),{},{area:Qb(t)||t<=0?0:t})})},u3=(e,t,n)=>{var r=t*t,i=e.area*e.area,{min:a,max:o}=e.reduce((e,t)=>({min:Math.min(e.min,t.area),max:Math.max(e.max,t.area)}),{min:1/0,max:0});return i?Math.max(r*o*n/i,i/(r*a*n)):1/0},d3=(e,t,n,r)=>{var i=t?Math.round(e.area/t):0;(r||i>n.height)&&(i=n.height);for(var a=n.x,o,s=0,c=e.length;s<c;s++)o=e[s],o!=null&&(o.x=a,o.y=n.y,o.height=i,o.width=Math.min(i?Math.round(o.area/i):0,n.x+n.width-a),a+=o.width);return o!=null&&(o.width+=n.x+n.width-a),Q4(Q4({},n),{},{y:n.y+i,height:n.height-i})},f3=(e,t,n,r)=>{var i=t?Math.round(e.area/t):0;(r||i>n.width)&&(i=n.width);for(var a=n.y,o,s=0,c=e.length;s<c;s++)o=e[s],o!=null&&(o.x=n.x,o.y=a,o.width=i,o.height=Math.min(i?Math.round(o.area/i):0,n.y+n.height-a),a+=o.height);return o&&(o.height+=n.y+n.height-a),Q4(Q4({},n),{},{x:n.x+i,width:n.width-i})},p3=(e,t,n,r)=>t===n.width?d3(e,t,n,r):f3(e,t,n,r),m3=(e,t)=>{var{children:n}=e;if(n&&n.length){var r=c3(e),i=[],a=1/0,o,s,c=Math.min(r.width,r.height),l=l3(n,r.width*r.height/e[n3]),u=l.slice();for(i.area=0;u.length>0;)[o]=u,o!=null&&(i.push(o),i.area+=o.area,s=u3(i,c,t),s<=a?(u.shift(),a=s):(i.area-=i.pop()?.area??0,r=p3(i,c,r,!1),c=Math.min(r.width,r.height),i.length=i.area=0,a=1/0));return i.length&&=(r=p3(i,c,r,!0),i.area=0),Q4(Q4({},e),{},{children:l.map(e=>m3(e,t))})}return e},h3=Q4({aspectRatio:.5*(1+Math.sqrt(5)),dataKey:`value`,nameKey:`name`,type:`flat`,isAnimationActive:`auto`,isUpdateAnimationActive:`auto`,animationBegin:0,animationDuration:1500,animationEasing:`linear`},h2),g3={isAnimationFinished:!1,formatRoot:null,currentRoot:void 0,nestIndex:[],prevAspectRatio:h3.aspectRatio,prevDataKey:h3.dataKey};function _3(e){var{content:t,nodeProps:n,type:r,colorPanel:i,onMouseEnter:a,onMouseLeave:o,onClick:s}=e;if(z.isValidElement(t))return z.createElement(Y,{onMouseEnter:a,onMouseLeave:o,onClick:s},z.cloneElement(t,n));if(typeof t==`function`)return z.createElement(Y,{onMouseEnter:a,onMouseLeave:o,onClick:s},t(n));var{x:c,y:l,width:u,height:d,index:f}=n,p=null;u>10&&d>10&&n.children&&r===`nest`&&(p=z.createElement(ZU,{points:[{x:c+2,y:l+d/2},{x:c+6,y:l+d/2+3},{x:c+2,y:l+d/2+6}]}));var m=null,h=sH(n.name);u>20&&d>20&&h.width<u&&h.height<d&&(m=z.createElement(`text`,{x:c+8,y:l+d/2+7,fontSize:14},n.name));var g=i||ane;return z.createElement(`g`,null,z.createElement(xA,X4({fill:n.depth<2?g[f%g.length]:`rgba(255,255,255,0)`,stroke:`#fff`},U4(n,[`children`]),{onMouseEnter:a,onMouseLeave:o,onClick:s,\"data-recharts-item-index\":n.tooltipIndex})),p,m)}function v3(e){var t=gS(),n={x:e.nodeProps.x+e.nodeProps.width/2,y:e.nodeProps.y+e.nodeProps.height/2};return z.createElement(_3,X4({},e,{onMouseEnter:()=>{t(HR({activeIndex:e.nodeProps.tooltipIndex,activeDataKey:e.dataKey,activeCoordinate:n,activeGraphicalItemId:e.id}))},onMouseLeave:()=>{},onClick:()=>{t(GR({activeIndex:e.nodeProps.tooltipIndex,activeDataKey:e.dataKey,activeCoordinate:n,activeGraphicalItemId:e.id}))}}))}var y3=z.memo(e=>{var{dataKey:t,nameKey:n,stroke:r,fill:i,currentRoot:a,id:o}=e,s={dataDefinedOnItem:a,getPosition:cx,settings:{stroke:r,strokeWidth:void 0,fill:i,dataKey:t,nameKey:n,name:void 0,hide:!1,type:void 0,color:i,unit:``,graphicalItemId:o}};return z.createElement(AK,{tooltipEntrySettings:s})}),b3={top:0,right:0,bottom:0,left:0};function x3(e){var{content:t,nodeProps:n,isLeaf:r,treemapProps:i,onNestClick:a}=e,{id:o,isAnimationActive:s,animationBegin:c,animationDuration:l,animationEasing:u,isUpdateAnimationActive:d,type:f,colorPanel:p,dataKey:m,onAnimationStart:h,onAnimationEnd:g,onMouseEnter:_,onClick:v,onMouseLeave:y}=i,{width:b,height:x,x:S,y:C}=n,w=-S-b,T=0,E=e=>{(r||f===`nest`)&&typeof _==`function`&&_(n,e)},D=e=>{(r||f===`nest`)&&typeof y==`function`&&y(n,e)},O=()=>{f===`nest`&&a(n),(r||f===`nest`)&&typeof v==`function`&&v(n)},k=(0,z.useCallback)(()=>{typeof g==`function`&&g()},[g]),ee=(0,z.useCallback)(()=>{typeof h==`function`&&h()},[h]);return z.createElement(A0,{animationId:`treemap-${n.tooltipIndex}`,from:`translate(${w}px, ${T}px)`,to:`translate(0, 0)`,attributeName:`transform`,begin:c,easing:u,isActive:s,duration:l,onAnimationStart:ee,onAnimationEnd:k},e=>z.createElement(Y,{onMouseEnter:E,onMouseLeave:D,onClick:O,style:Q4(Q4({},e),{},{transformOrigin:`${S} ${C}`})},z.createElement(v3,{id:o,content:t,dataKey:m,nodeProps:Q4(Q4({},n),{},{isAnimationActive:s,isUpdateAnimationActive:!d,width:b,height:x,x:S,y:C}),type:f,colorPanel:p})))}var S3=class extends z.PureComponent{constructor(){super(...arguments),$4(this,`state`,Q4({},g3)),$4(this,`handleClick`,e=>{var{onClick:t,type:n}=this.props;if(n===`nest`&&e.children){var{width:r,height:i,dataKey:a,nameKey:o,aspectRatio:s}=this.props,c=s3({depth:0,node:Q4(Q4({},e),{},{x:0,y:0,width:r,height:i}),index:0,dataKey:a,nameKey:o,nestedActiveTooltipIndex:e.tooltipIndex}),l=m3(c,s),{nestIndex:u}=this.state;u.push(e),this.setState({formatRoot:l,currentRoot:c,nestIndex:u})}t&&t(e)}),$4(this,`handleTouchMove`,e=>{var t=e.touches[0];if(t!=null){var n=document.elementFromPoint(t.clientX,t.clientY);if(!(!n||!n.getAttribute||this.state.formatRoot==null)){var r=n.getAttribute(`data-recharts-item-index`),i=i3(this.state.formatRoot,r);if(r3(i)){var{dataKey:a,dispatch:o}=this.props;o(HR({activeIndex:r,activeDataKey:a,activeCoordinate:{x:i.x+i.width/2,y:i.y+i.height/2},activeGraphicalItemId:this.props.id}))}}}})}static getDerivedStateFromProps(e,t){if(e.data!==t.prevData||e.type!==t.prevType||e.width!==t.prevWidth||e.height!==t.prevHeight||e.dataKey!==t.prevDataKey||e.aspectRatio!==t.prevAspectRatio){var n=s3({depth:0,node:{children:e.data,x:0,y:0,width:e.width,height:e.height},index:0,dataKey:e.dataKey,nameKey:e.nameKey}),r=m3(n,e.aspectRatio);return Q4(Q4({},t),{},{formatRoot:r,currentRoot:n,nestIndex:[n],prevAspectRatio:e.aspectRatio,prevData:e.data,prevWidth:e.width,prevHeight:e.height,prevDataKey:e.dataKey,prevType:e.type})}return null}handleNestIndex(e,t){var{nestIndex:n}=this.state,{width:r,height:i,dataKey:a,nameKey:o,aspectRatio:s}=this.props,c=m3(s3({depth:0,node:Q4(Q4({},e),{},{x:0,y:0,width:r,height:i}),index:0,dataKey:a,nameKey:o,nestedActiveTooltipIndex:e.tooltipIndex}),s);n=n.slice(0,t+1),this.setState({formatRoot:c,currentRoot:e,nestIndex:n})}renderNode(e,t){var{content:n,type:r}=this.props,i=Q4(Q4(Q4({},Yv(this.props)),t),{},{root:e}),a=!t.children||!t.children.length,{currentRoot:o}=this.state;return!(o?.children||[]).filter(e=>e.depth===t.depth&&e.name===t.name).length&&e.depth&&r===`nest`?null:z.createElement(Y,{key:`recharts-treemap-node-${i.x}-${i.y}-${i.name}`,className:`recharts-treemap-depth-${t.depth}`},z.createElement(x3,{isLeaf:a,content:n,nodeProps:i,treemapProps:this.props,onNestClick:this.handleClick}),t.children&&t.children.length?t.children.map(e=>this.renderNode(t,e)):null)}renderAllNodes(){var{formatRoot:e}=this.state;return e?this.renderNode(e,e):null}renderNestIndex(){var{nameKey:e,nestIndexContent:t}=this.props,{nestIndex:n}=this.state;return z.createElement(`div`,{className:`recharts-treemap-nest-index-wrapper`,style:{marginTop:`8px`,textAlign:`center`}},n.map((n,r)=>{var i=Jb(n,e,`root`),a=typeof i==`string`?i:`root`,o;return z.isValidElement(t)&&(o=z.cloneElement(t,n,r)),o=typeof t==`function`?t(n,r):a,z.createElement(`div`,{onClick:this.handleNestIndex.bind(this,n,r),key:`nest-index-${tx()}`,className:`recharts-treemap-nest-index-box`,style:{cursor:`pointer`,display:`inline-block`,padding:`0 7px`,background:`#000`,color:`#fff`,marginRight:`3px`}},o)}))}render(){var e=this.props,{width:t,height:n,className:r,style:i,children:a,type:o}=e,s=Yv(J4(e,q4));return z.createElement(z.Fragment,null,z.createElement(y3,{dataKey:this.props.dataKey,nameKey:this.props.nameKey,stroke:this.props.stroke,fill:this.props.fill,currentRoot:this.state.currentRoot,id:this.props.id}),z.createElement(ry,X4({},s,{width:t,height:o===`nest`?n-30:n,onTouchMove:this.handleTouchMove}),this.renderAllNodes(),a),o===`nest`&&this.renderNestIndex())}};$4(S3,`displayName`,`Treemap`);function C3(e){var t=gS(),n=BE(),r=VE();if(!XT(n)||!XT(r))return null;var{id:i}=e;return z.createElement(IK,{id:i,type:`treemap`},i=>z.createElement(S3,X4({},e,{id:i,width:n,height:r,dispatch:t})))}function Uae(e){var t=vx(e,h3),{className:n,style:r,width:i,height:a,throttleDelay:o,throttledEvents:s}=t,[c,l]=(0,z.useState)(null);return z.createElement(x2,{preloadedState:{options:o3},reduxStoreName:t.className??`Treemap`},z.createElement(Pne,{margin:b3}),z.createElement(T2,{throttleDelay:o,throttledEvents:s}),z.createElement(X2,{dispatchTouchEvents:!1,className:n,style:r,width:i,height:a,responsive:!1,ref:e=>{c==null&&e!=null&&l(e)},onMouseEnter:void 0,onMouseLeave:void 0,onClick:void 0,onMouseMove:void 0,onMouseDown:void 0,onMouseUp:void 0,onContextMenu:void 0,onDoubleClick:void 0,onTouchStart:void 0,onTouchMove:void 0,onTouchEnd:void 0},z.createElement(cV.Provider,{value:c},z.createElement(C3,t))))}function w3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function T3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?w3(Object(n),!0).forEach(function(t){Wae(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w3(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wae(e,t,n){return(t=Gae(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gae(e){var t=Kae(e,`string`);return typeof t==`symbol`?t:t+``}function Kae(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var qae=[`axis`],Jae=T3(T3({},x4),{},{layout:`centric`,startAngle:90,endAngle:-270}),Yae=(0,z.forwardRef)((e,t)=>{var n=vx(e,Jae);return z.createElement(S4,{chartName:`RadarChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:qae,tooltipPayloadSearcher:mV,categoricalChartProps:n,ref:t})}),Xae=[`item`],Zae=(0,z.forwardRef)((e,t)=>z.createElement(c4,{chartName:`ScatterChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:Xae,tooltipPayloadSearcher:mV,categoricalChartProps:e,ref:t}));function E3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function D3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?E3(Object(n),!0).forEach(function(t){Qae(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E3(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qae(e,t,n){return(t=$ae(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $ae(e){var t=eoe(e,`string`);return typeof t==`symbol`?t:t+``}function eoe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var toe=[`axis`,`item`],noe=D3(D3({},x4),{},{layout:`radial`,startAngle:0,endAngle:360}),roe=(0,z.forwardRef)((e,t)=>{var n=vx(e,noe);return z.createElement(S4,{chartName:`RadialBarChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:toe,tooltipPayloadSearcher:mV,categoricalChartProps:n,ref:t})}),ioe=[`axis`],O3=(0,z.forwardRef)((e,t)=>z.createElement(c4,{chartName:`ComposedChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:ioe,tooltipPayloadSearcher:mV,categoricalChartProps:e,ref:t}));function k3(){return k3=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k3.apply(null,arguments)}function aoe(e){return z.createElement(EK,k3({shapeType:`trapezoid`},e))}function A3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function j3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?A3(Object(n),!0).forEach(function(t){ooe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A3(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ooe(e,t,n){return(t=soe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function soe(e){var t=coe(e,`string`);return typeof t==`symbol`?t:t+``}function coe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var loe=$([SE,(e,t)=>t,ij],(e,t,n)=>{var{data:r,dataKey:i,nameKey:a,tooltipType:o,lastShapeType:s,reversed:c,customWidth:l,cells:u,presentationProps:d,id:f}=t,{chartData:p}=n,m;if(r!=null&&r.length>0?m=r:p!=null&&p.length>0&&(m=p),m&&m.length)m=m.map((e,t)=>j3(j3(j3({payload:e},d),e),u&&u[t]&&u[t].props));else if(u&&u.length)m=u.map(e=>j3(j3({},d),e.props));else return[];return Eoe({dataKey:i,nameKey:a,displayedData:m,tooltipType:o,lastShapeType:s,reversed:c,offset:e,customWidth:l,graphicalItemId:f})}),uoe=[`onMouseEnter`,`onClick`,`onMouseLeave`,`shape`,`activeShape`],doe=[`id`],foe=[`stroke`,`fill`,`legendType`,`hide`,`isAnimationActive`,`animationBegin`,`animationDuration`,`animationEasing`,`nameKey`,`lastShapeType`,`id`],poe=[`id`];function M3(){return M3=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M3.apply(null,arguments)}function N3(e,t){if(e==null)return{};var n,r,i=moe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function moe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function P3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function F3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?P3(Object(n),!0).forEach(function(t){hoe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P3(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hoe(e,t,n){return(t=goe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function goe(e){var t=_oe(e,`string`);return typeof t==`symbol`?t:t+``}function _oe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var voe=z.memo(e=>{var{dataKey:t,nameKey:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,tooltipType:c,data:l,trapezoids:u,id:d}=e,f={dataDefinedOnItem:l,getPosition:e=>u[Number(e)]?.tooltipPosition,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,name:o,nameKey:n,hide:s,type:c,color:a,unit:``,graphicalItemId:d}};return z.createElement(AK,{tooltipEntrySettings:f})});function yoe(e){var{showLabels:t,trapezoids:n,children:r}=e,i=(0,z.useMemo)(()=>{if(t)return n?.map(e=>{var t=e.labelViewBox;return F3(F3({},t),{},{value:e.name,payload:e.payload,parentViewBox:e.parentViewBox,viewBox:t,fill:e.fill})})},[t,n]);return z.createElement(PU,{value:i},r)}function boe(e){var{trapezoids:t,allOtherFunnelProps:n}=e,r=Q(e=>TB(e,`item`,e.tooltip.settings.trigger,void 0)),{onMouseEnter:i,onClick:a,onMouseLeave:o,shape:s,activeShape:c}=n,l=N3(n,uoe),u=DK(i,n.dataKey,n.id),d=OK(o),f=kK(a,n.dataKey,n.id);return z.createElement(z.Fragment,null,t.map((e,t)=>{var n=!!c&&r===String(t),i=n?c:s,a=F3(F3({},e),{},{option:i,isActive:n,stroke:e.stroke}),{id:o}=a,p=N3(a,doe);return z.createElement(Y,M3({key:`trapezoid-${e?.x}-${e?.y}-${e?.name}-${e?.value}`,className:`recharts-funnel-trapezoid`},gx(l,e,t),{onMouseEnter:u(e,t),onMouseLeave:d(e,t),onClick:f(e,t)}),z.createElement(aoe,p))}))}function xoe(e){var{previousTrapezoidsRef:t,props:n}=e,{trapezoids:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s,onAnimationEnd:c,onAnimationStart:l}=n,u=t.current,[d,f]=(0,z.useState)(!1),p=!d,m=Zk(r,`recharts-funnel-`),h=(0,z.useCallback)(()=>{typeof c==`function`&&c(),f(!1)},[c]),g=(0,z.useCallback)(()=>{typeof l==`function`&&l(),f(!0)},[l]);return z.createElement(yoe,{showLabels:p,trapezoids:r},z.createElement(Xk,{animationId:m,begin:a,duration:o,isActive:i,easing:s,key:m,onAnimationStart:g,onAnimationEnd:h},e=>{var i=e===1?r:r.map((t,n)=>{var r=u&&u[n];return r?F3(F3({},t),{},{x:Z(r.x,t.x,e),y:Z(r.y,t.y,e),upperWidth:Z(r.upperWidth,t.upperWidth,e),lowerWidth:Z(r.lowerWidth,t.lowerWidth,e),height:Z(r.height,t.height,e)}):F3(F3({},t),{},{x:Z(t.x+t.upperWidth/2,t.x,e),y:Z(t.y+t.height/2,t.y,e),upperWidth:Z(0,t.upperWidth,e),lowerWidth:Z(0,t.lowerWidth,e),height:Z(0,t.height,e)})});return e>0&&(t.current=i),z.createElement(Y,null,z.createElement(boe,{trapezoids:i,allOtherFunnelProps:n}))}),z.createElement(BU,{label:n.label}),n.children)}function Soe(e){var t=(0,z.useRef)(void 0);return z.createElement(xoe,{props:e,previousTrapezoidsRef:t})}var Coe=(e,t)=>{var{width:n,height:r,left:i,top:a}=t;return{realWidth:nx(e,n,n),realHeight:r,offsetX:i,offsetY:a}},woe={animationBegin:400,animationDuration:1500,animationEasing:`ease`,fill:`#808080`,hide:!1,isAnimationActive:`auto`,lastShapeType:`triangle`,legendType:`rect`,nameKey:`name`,reversed:!1,stroke:`#fff`};function Toe(e){var t=eJ(),{stroke:n,fill:r,legendType:i,hide:a,isAnimationActive:o,animationBegin:s,animationDuration:c,animationEasing:l,nameKey:u,lastShapeType:d,id:f}=e,p=N3(e,foe),m=Yv(e),h=XG(e.children,GV),g=(0,z.useMemo)(()=>({dataKey:e.dataKey,nameKey:u,data:e.data,tooltipType:e.tooltipType,lastShapeType:d,reversed:e.reversed,customWidth:e.width,cells:h,presentationProps:m,id:f}),[e.dataKey,u,e.data,e.tooltipType,d,e.reversed,e.width,h,m,f]),_=Q(e=>loe(e,g));if(a||!_||!_.length||!t)return null;var{height:v,width:y}=t,b=J(`recharts-trapezoids`,e.className);return z.createElement(z.Fragment,null,z.createElement(voe,{dataKey:e.dataKey,nameKey:e.nameKey,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,data:e.data,trapezoids:_,id:f}),z.createElement(Y,{className:b},z.createElement(Soe,M3({},p,{id:f,stroke:n,fill:r,nameKey:u,lastShapeType:d,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:o,hide:a,legendType:i,height:v,width:y,trapezoids:_}))))}function Eoe(e){var{dataKey:t,nameKey:n,displayedData:r,tooltipType:i,lastShapeType:a,reversed:o,offset:s,customWidth:c,graphicalItemId:l}=e,{realHeight:u,realWidth:d,offsetX:f,offsetY:p}=Coe(c,s),m=r.map(e=>{var n=$T(e,t,0);return typeof n==`number`?n:0}),h=Math.max.apply(null,m),g=r.length,_=u/g,v={x:s.left,y:s.top,width:s.width,height:s.height},y=r.map((e,o)=>{var s=$T(e,t,0),c=String($T(e,n,o)),u=s,m;if(o!==g-1){var y=$T(r[o+1],t,0);if(typeof y==`number`)m=y;else if(Array.isArray(y)){var[b,x]=y;typeof b==`number`&&(u=b),typeof x==`number`&&(m=x)}}else if(s instanceof Array&&s.length===2){var[S,C]=s;typeof S==`number`&&(u=S),typeof C==`number`&&(m=C)}else m=a===`rectangle`?u:0;var w=(h-u)*d/(2*h)+f,T=_*o+p,E=u/h*d,D=m/h*d,O=[{name:c,value:u,payload:e,dataKey:t,type:i,graphicalItemId:l}],k={x:w+E/2,y:T+_/2},ee={x:w,y:T,upperWidth:E,lowerWidth:D,width:Math.max(E,D),height:_};return F3(F3(F3({},ee),{},{name:c,val:u,tooltipPayload:O,tooltipPosition:k},typeof e==`object`&&e?U4(e,[`width`]):{}),{},{payload:e,parentViewBox:v,labelViewBox:ee})});return o&&(y=y.map((e,t)=>{var n={x:e.x-(e.lowerWidth-e.upperWidth)/2,y:e.y-t*_+(g-1-t)*_,upperWidth:e.lowerWidth,lowerWidth:e.upperWidth,width:Math.max(e.lowerWidth,e.upperWidth),height:_};return F3(F3(F3({},e),n),{},{tooltipPosition:F3(F3({},e.tooltipPosition),{},{y:e.y-t*_+(g-1-t)*_+_/2}),labelViewBox:n})})),y}function Doe(e){var t=vx(e,woe),{id:n}=t,r=N3(t,poe);return z.createElement(IK,{id:n,type:`funnel`},e=>z.createElement(Toe,M3({},r,{id:e})))}var I3=Doe;I3.displayName=`Funnel`;var Ooe=[`item`],koe=(0,z.forwardRef)((e,t)=>z.createElement(c4,{chartName:`FunnelChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:Ooe,tooltipPayloadSearcher:mV,categoricalChartProps:e,ref:t})),Aoe={xs:`dc:h-3 dc:w-3`,sm:`dc:h-6 dc:w-6`,md:`dc:h-8 dc:w-8`,lg:`dc:h-12 dc:w-12`};function L3({size:e=`md`,className:t=``}){return(0,q.jsx)(`div`,{className:`dc:animate-spin dc:rounded-full dc:border-b-2 ${Aoe[e]} ${t}`,style:{borderBottomColor:`var(--dc-primary)`},role:`status`,\"aria-label\":`Loading`})}function R3({children:e,height:t=`100%`}){let{t:n}=Hv(),r=(0,z.useRef)(null),[i,a]=(0,z.useState)(!1),[o,s]=(0,z.useState)({width:0,height:0}),c=(0,z.useRef)({width:0,height:0}),l=(0,z.useRef)(!1),u=(0,z.useRef)(null),d=(0,z.useRef)(null);(0,z.useLayoutEffect)(()=>{let e=!0,t=null,n=()=>{if(d.current=null,!e)return;let t=u.current;if(u.current=null,!t)return;let n=Math.round(t.width),r=Math.round(t.height);if(n<=0||r<=0)return;let i=c.current.width!==n||c.current.height!==r,o=!l.current;!i&&!o||(c.current={width:n,height:r},l.current=!0,(0,z.startTransition)(()=>{i&&s({width:n,height:r}),o&&a(!0)}))},i=(e,t)=>{u.current={width:e,height:t},d.current===null&&(d.current=requestAnimationFrame(n))};return t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&i(e,n)}}),r.current&&(t.observe(r.current),(()=>{if(!e||!r.current)return;let t=r.current.getBoundingClientRect(),n=Math.max(r.current.clientWidth,t.width),a=Math.max(r.current.clientHeight,t.height);n>0&&a>0&&i(n,a)})()),()=>{e=!1,d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),t?.disconnect()}},[]);try{return t===`100%`?(0,q.jsx)(`div`,{ref:r,className:`dc:w-full dc:h-full dc:flex-1 dc:flex dc:flex-col dc:relative`,style:{minHeight:`250px`,minWidth:`100px`,overflow:`hidden`,userSelect:`none`},children:i&&o.width>0&&o.height>0?(0,q.jsx)(IE,{width:o.width,height:o.height-16,debounce:100,style:{marginTop:`16px`},children:e}):(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,children:(0,q.jsx)(L3,{size:`sm`})})}):(0,q.jsx)(`div`,{ref:r,className:`dc:w-full dc:flex dc:flex-col dc:relative`,style:{height:typeof t==`number`?`${t}px`:t,width:`100%`,minHeight:`200px`,minWidth:`100px`,userSelect:`none`,overflow:`hidden`},children:i&&o.width>0&&o.height>0?(0,q.jsx)(IE,{width:o.width,height:o.height-16,debounce:100,style:{marginTop:`16px`},children:e}):(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,children:(0,q.jsx)(L3,{size:`sm`})})})}catch(e){return(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4 dc:text-center dc:border dc:border-dashed dc:rounded-lg`,style:{height:t,borderColor:`var(--dc-border)`,backgroundColor:`var(--dc-surface)`},children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1 text-dc-text-muted`,children:n(`chart.runtime.unableToDisplay`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:e instanceof Error?e.message:`Failed to create responsive container`})]})}}function joe(e){return{US:`USD`,CA:`CAD`,GB:`GBP`,UK:`GBP`,AU:`AUD`,NZ:`NZD`,EU:`EUR`,DE:`EUR`,FR:`EUR`,IT:`EUR`,ES:`EUR`,NL:`EUR`,BE:`EUR`,AT:`EUR`,IE:`EUR`,PT:`EUR`,FI:`EUR`,JP:`JPY`,CN:`CNY`,KR:`KRW`,IN:`INR`,BR:`BRL`,MX:`MXN`,CH:`CHF`,SE:`SEK`,NO:`NOK`,DK:`DKK`,PL:`PLN`,RU:`RUB`,ZA:`ZAR`,SG:`SGD`,HK:`HKD`,TW:`TWD`,TH:`THB`,MY:`MYR`,PH:`PHP`,ID:`IDR`,VN:`VND`,AE:`AED`,SA:`SAR`,IL:`ILS`,TR:`TRY`}[e.split(`-`)[1]?.toUpperCase()]||`USD`}function Moe(e,t){if(!t)return{displayValue:e,abbreviationSuffix:``};let n=Math.abs(e);return n>=1e9?{displayValue:e/1e9,abbreviationSuffix:`B`}:n>=1e6?{displayValue:e/1e6,abbreviationSuffix:`M`}:n>=1e3?{displayValue:e/1e3,abbreviationSuffix:`K`}:{displayValue:e,abbreviationSuffix:``}}function Noe(e){let{displayValue:t,abbreviate:n,abbreviationSuffix:r,decimals:i,locale:a}=e,o=joe(a);if(n&&r){let e=new Intl.NumberFormat(a,{style:`currency`,currency:o,minimumFractionDigits:i,maximumFractionDigits:i}).format(t),n=new Intl.NumberFormat(a,{style:`currency`,currency:o}).formatToParts(t);return n[n.length-1]?.type===`currency`?e.replace(/(\\s*[^\\d\\s]+)$/,r+`$1`):e+r}return new Intl.NumberFormat(a,{style:`currency`,currency:o,minimumFractionDigits:i,maximumFractionDigits:i}).format(t)}function Poe(e){let{displayValue:t,abbreviate:n,abbreviationSuffix:r,decimals:i,locale:a}=e,o=Math.abs(t)<=1&&!n?t*100:t;return new Intl.NumberFormat(a,{minimumFractionDigits:i,maximumFractionDigits:i}).format(o)+r+`%`}function Foe(e){let{displayValue:t,abbreviationSuffix:n,decimals:r,locale:i,config:a}=e,o=a.customPrefix||``,s=a.customSuffix||``;return o+new Intl.NumberFormat(i,{minimumFractionDigits:r,maximumFractionDigits:r}).format(t)+n+s}function z3(e){let{displayValue:t,abbreviationSuffix:n,decimals:r,locale:i}=e;return new Intl.NumberFormat(i,{minimumFractionDigits:r,maximumFractionDigits:r}).format(t)+n}var Ioe={currency:Noe,percent:Poe,custom:Foe,number:z3};function Loe(e){return((e.config.unit?Ioe[e.config.unit]:void 0)||z3)(e)}function Roe(e){if(!e.match(/^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}/))return null;let t=e;e.includes(` `)&&(t=e.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!t.endsWith(`Z`)&&!t.includes(`+`)&&(t+=`Z`);let n=new Date(t);return isNaN(n.getTime())?null:{date:n,year:n.getUTCFullYear(),month:String(n.getUTCMonth()+1).padStart(2,`0`),day:String(n.getUTCDate()).padStart(2,`0`),hours:n.getUTCHours(),minutes:n.getUTCMinutes()}}function zoe(e,t){let{date:n,year:r,month:i,day:a,hours:o,minutes:s}=e;switch(t.toLowerCase()){case`year`:return`${r}`;case`quarter`:return`${r}-Q${Math.floor(n.getUTCMonth()/3)+1}`;case`month`:return`${r}-${i}`;case`week`:return`${r}-${i}-${a}`;case`day`:return`${r}-${i}-${a}`;case`hour`:return`${r}-${i}-${a} ${String(o).padStart(2,`0`)}:00`;case`minute`:return`${r}-${i}-${a} ${String(o).padStart(2,`0`)}:${String(s).padStart(2,`0`)}`;default:return null}}function Boe(e){let{date:t,year:n,month:r,day:i,hours:a,minutes:o}=e,s=t.getUTCSeconds(),c=t.getUTCMilliseconds(),l=a===0&&o===0&&s===0&&c===0;return i===`01`&&l?r===`01`||r===`04`||r===`07`||r===`10`?`${n}-Q${Math.floor(t.getUTCMonth()/3)+1}`:`${n}-${r}`:l?`${n}-${r}-${i}`:o===0&&s===0&&c===0?`${n}-${r}-${i} ${String(a).padStart(2,`0`)}:00`:`${n}-${r}-${i} ${String(a).padStart(2,`0`)}:${String(o).padStart(2,`0`)}`}function B3(e){return e!=null&&!isNaN(Number(e))}function V3(e){if(e==null)return null;let t=typeof e==`string`?parseFloat(e):Number(e);return isNaN(t)?null:t}function H3(e){if(e==null)return`No data`;let t=typeof e==`number`?e:parseFloat(e);return isNaN(t)?String(e):Number.isInteger(t)?t.toLocaleString():parseFloat(t.toFixed(2)).toLocaleString()}function U3(e,t,n){if(e==null)return`No data`;let r=typeof e==`number`?e:parseFloat(String(e));if(isNaN(r))return String(e);if(!isFinite(r))return r>0?`∞`:`-∞`;let i=n||(typeof navigator<`u`?navigator.language:`en-US`);if(!t)return H3(e);let{abbreviate:a=!0,decimals:o}=t,{displayValue:s,abbreviationSuffix:c}=Moe(r,a);return Loe({displayValue:s,abbreviate:a,abbreviationSuffix:c,decimals:o===void 0?Number.isInteger(s)?0:2:o,locale:i,config:t})}function W3(e,t){if(!e)return`Unknown`;let n=String(e),r=Roe(n);if(!r)return n;if(t){let e=zoe(r,t);if(e!==null)return e}return Boe(r)}function G3(e,t){try{if(e?.timeDimensions){let n=e.timeDimensions.find(e=>t===e.dimension||t.startsWith(e.dimension.replace(`.`,`_`))||t===`${e.dimension}_${e.granularity}`);if(n?.granularity)return n.granularity}let n=t.match(/_([a-z]+)$/);if(n){let e=n[1];if([`year`,`quarter`,`month`,`week`,`day`,`hour`,`minute`,`second`].includes(e))return e}return}catch{return}}function Voe(e,t,n,r,i=e=>e){if(!e||e.length===0)return[];let a=G3(r,t);return e.map(e=>{let r={name:W3(e[t],a)||e[t]||`Unknown`};return n.forEach(t=>{let n=i(t);n===`__proto__`||n===`constructor`||n===`prototype`||(r[n]=V3(e[t]))}),r})}function K3(e,t,n,r,i,a=e=>e){if(!e||e.length===0)return{data:[],seriesKeys:[],hasDimensions:!1};let o=r||{},s=[...o.dimensions||[],...o.timeDimensions?.map(e=>e.dimension)||[]],c=o.measures||[],l=n.filter(e=>c.includes(e)),u=(i||[]).filter(e=>s.includes(e));if(u.length>0){let n={};return e.forEach(e=>{let i=G3(r,t),o=W3(e[t],i)||e[t]||`Unknown`;o===`__proto__`||o===`constructor`||o===`prototype`||(n[o]||(n[o]={name:String(o)}),l.forEach(t=>{let r=a(t);if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let i=V3(e[t]);if(i!==null){let e=n[o][r];n[o][r]=e==null?i:e+i}else r in n[o]||(n[o][r]=null)}),u.forEach(t=>{let r=e[t];if(r!=null){let t=String(r),i=l[0]||c.find(e=>e.includes(`totalCost`)||e.includes(`count`)||e.includes(`sum`))||c[0];if(i){if(t===`__proto__`||t===`constructor`||t===`prototype`)return;let r=V3(e[i]);if(r!==null){let e=n[o][t];n[o][t]=e==null?r:e+r}else t in n[o]||(n[o][t]=null)}}}))}),{data:Object.values(n),seriesKeys:Array.from(new Set(e.flatMap(e=>u.map(t=>{let n=e[t];return n==null?null:String(n)}).filter(e=>e!==null)))),hasDimensions:!0}}return{data:Voe(e,t,n,r,a),seriesKeys:n.map(e=>a(e)),hasDimensions:!1}}var Hoe=(e,t)=>e==null?[`No data`,t]:[H3(e),t];function q3({formatter:e,labelFormatter:t}){return(0,q.jsx)(WV,{formatter:e||Hoe,labelFormatter:t,contentStyle:{backgroundColor:`white`,border:`1px solid #e5e7eb`,borderRadius:`0.5rem`,fontSize:`0.875rem`,color:`#1f2937`,boxShadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)`,padding:`8px 12px`}})}var J3=({x:e=0,y:t=0,payload:n,tickFormatter:r,index:i=0})=>{if(!n)return null;let a=r?r(n.value,i):String(n.value);return(0,q.jsx)(`g`,{transform:`translate(${e},${t})`,children:(0,q.jsx)(`text`,{x:0,y:0,dy:16,textAnchor:`end`,fill:`currentColor`,fontSize:12,transform:`rotate(-45)`,children:a})})};function Y3({height:e,hint:t,titleKey:n=`chart.runtime.noData`}){let{t:r}=Hv();return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:e},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:r(n)}),t!=null&&(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:t})]})})}function X3({height:e,hint:t}){let{t:n}=Hv();return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:e},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:n(`chart.runtime.configError`)}),t!=null&&(0,q.jsx)(`div`,{className:`dc:text-xs`,children:t})]})})}function Z3({height:e,chartType:t,error:n}){let{t:r}=Hv();return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:e},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:r(`chart.runtime.chartError`,{chartType:t})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:n instanceof Error?n.message:r(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:r(`chart.runtime.checkConfig`)})]})})}function Q3(e){let t,n=[],r=[],i=null;return e?.xAxis&&e?.yAxis?(t=Array.isArray(e.xAxis)?e.xAxis[0]:e.xAxis,n=Array.isArray(e.yAxis)?e.yAxis:[e.yAxis],r=e.series||[]):e?.x&&e?.y?(t=e.x,n=Array.isArray(e.y)?e.y:[e.y]):i=`axisInvalid`,!i&&(!t||n.length===0)&&(i=`axisFields`),{xAxisField:t,yAxisFields:n,seriesFields:r,errorCode:i}}var $3=[`#3b82f6`,`#10b981`,`#f59e0b`,`#ef4444`,`#8b5cf6`,`#f97316`,`#06b6d4`,`#84cc16`],e6=[`#440154`,`#414487`,`#2a788e`,`#22a884`,`#7ad151`,`#fde725`],Uoe=`#10b981`,t6={top:5,right:30,left:20,bottom:5};function n6(e){if(!e||typeof e!=`string`)return[];let t=e.trim();if(!t)return[];try{let e=t.split(`,`).map(e=>e.trim()).filter(e=>e!==``).map(e=>{let t=parseFloat(e);if(isNaN(t))throw Error(`Invalid numeric value: ${e}`);return t});return e.length>0?e:[]}catch(e){return console.warn(`Failed to parse target values:`,e),[]}}function Woe(e,t){if(e.length===0||t<=0)return[];if(e.length===1)return Array(t).fill(e[0]);let n=[],r=Math.floor(t/e.length),i=t%e.length,a=0;for(let t=0;t<e.length;t++){let o=r+ +(t<i);for(let r=0;r<o;r++)n[a++]=e[t]}return n}function Goe(e,t){return t===0?e===0?0:e>0?100:-100:(e-t)/t*100}function Koe(e,t=1){return`${e>=0?`+`:``}${e.toFixed(t)}%`}function r6(e,t){return{hasRightAxis:e.some(e=>t[e]===`right`),leftAxisFields:e.filter(e=>(t[e]||`left`)===`left`),rightAxisFields:e.filter(e=>t[e]===`right`)}}function i6(e){return{...t6,left:40,right:e?40:20}}function a6(e,t){let n=Woe(n6(t||``),e.length);return{spreadTargets:n,enhancedChartData:n.length>0?e.map((e,t)=>({...e,__target:n[t]||null})):e}}function o6({hasRightAxis:e,leftAxisFields:t,rightAxisFields:n},r,i,a,o=!1){return(0,q.jsxs)(z.Fragment,{children:[(0,q.jsx)(O0,{yAxisId:`left`,orientation:`left`,tick:{fontSize:12},tickFormatter:o?e=>`${(e*100).toFixed(0)}%`:i?e=>U3(e,i):void 0,domain:o?[0,1]:void 0,label:o?void 0:t.length>0?{value:i?.label||r(t[0]),angle:-90,position:`left`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0}),e&&(0,q.jsx)(O0,{yAxisId:`right`,orientation:`right`,tick:{fontSize:12},tickFormatter:a?e=>U3(e,a):void 0,label:n.length>0?{value:a?.label||r(n[0]),angle:90,position:`right`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0})]})}function s6(e){return e.length===0?null:(0,q.jsxs)(z.Fragment,{children:[(0,q.jsx)(jQ,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,stroke:`#ffffff`,strokeWidth:2,dot:!1,activeDot:!1,connectNulls:!1}),(0,q.jsx)(jQ,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,name:`Target`,stroke:`#8B5CF6`,strokeWidth:2,strokeDasharray:`2 3`,dot:!1,activeDot:!1,connectNulls:!1})]})}function c6({leftYAxisFormat:e,rightYAxisFormat:t,yAxisAssignment:n,resolveField:r,isPercentStack:i=!1}){return(a,o)=>{if(a==null)return[`No data`,o];if(o===`Target`)return[U3(a,e),`Target Value`];if(i&&typeof a==`number`)return[`${(a*100).toFixed(1)}%`,o];let s=r(o);return[U3(a,(s&&n[s]===`right`?`right`:`left`)==`right`?t:e),o]}}function l6({show:e,iconType:t,paddingTop:n,onHover:r,onLeave:i}){return e?(0,q.jsx)(dO,{wrapperStyle:{fontSize:`12px`,paddingTop:`${n}px`},iconType:t,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>r(String(e.dataKey||``)),onMouseLeave:i}):null}function qoe(e){let t=e?.stackType??(e?.stacked?`normal`:`none`);return{shouldStack:t!==`none`,isPercentStack:t===`percent`}}function Joe(e,t){if(e.length===0||t.length===0)return{chartData:[],skippedCount:0};let n=e.filter(e=>t.some(t=>B3(e[t])));return{chartData:n,skippedCount:e.length-n.length}}function Yoe(e,t,n){let r=e.length===1&&t.some(t=>{let n=t[e[0]];return typeof n==`number`&&n<0});return{usePositiveNegativeColoring:r,useColorByCategory:e.length===1&&!r&&!n&&t.length>1}}function u6(e,t){return e?e===t?1:.3:1}function Xoe({seriesKey:e,index:t,originalField:n,axisId:r,stackId:i,chartData:a,enhancedChartData:o,colorPalette:s,hoveredLegend:c,usePositiveNegativeColoring:l,useColorByCategory:u,drillEnabled:d,onDataPointClick:f}){let p=l?Uoe:s?.colors&&s.colors[t%s.colors.length]||$3[t%$3.length];return(0,q.jsxs)(g1,{dataKey:e,yAxisId:r,stackId:i,fill:p,fillOpacity:u6(c,e),cursor:d?`pointer`:void 0,onClick:(t,r,i)=>{f&&d&&t&&f({dataPoint:o[r]||t,clickedField:n||e,xValue:t.name,position:{x:i.clientX,y:i.clientY},nativeEvent:i})},children:[l&&a.map((t,n)=>{let r=t[e];return(0,q.jsx)(GV,{fill:typeof r==`number`&&r<0?`#ef4444`:`#10b981`,fillOpacity:u6(c,e)},`cell-${n}`)}),u&&a.map((t,n)=>{let r=s?.colors||$3;return(0,q.jsx)(GV,{fill:r[n%r.length],fillOpacity:u6(c,e)},`cat-${n}`)})]})}var d6=(0,z.createContext)(null);function Zoe(){let e=(0,z.useContext)(d6);if(!e)throw Error(`useCubeMeta must be used within CubeMetaProvider`);return e}function f6(){let e=(0,z.useContext)(d6);if(!e)throw Error(`useCubeFieldLabel must be used within CubeProvider`);return(0,z.useMemo)(()=>e.getFieldLabel,[e.getFieldLabel])}var Qoe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Hv(),[l,u]=(0,z.useState)(null),d=f6(),{shouldStack:f,isPercentStack:p}=qoe(n),m={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0},h=n?.showAllXLabels??!0,g=n?.leftYAxisFormat,_=n?.rightYAxisFormat,{xAxisField:v,yAxisFields:y,seriesFields:b,errorCode:x}=(0,z.useMemo)(()=>Q3(t),[t]),{data:S,seriesKeys:C}=(0,z.useMemo)(()=>x||!e||e.length===0||!v?{data:[],seriesKeys:[]}:K3(e,v,y,r,b,d),[e,v,y,r,b,d,x]),w=(0,z.useMemo)(()=>t?.yAxisAssignment||{},[t?.yAxisAssignment]),T=(0,z.useMemo)(()=>{let e={};return y.forEach(t=>{let n=d(t);e[n]=t}),e},[y,d]),E=r6(y,w),{hasRightAxis:D}=E,{chartData:O,skippedCount:k}=(0,z.useMemo)(()=>Joe(S,C),[S,C]);try{if(!e||e.length===0)return(0,q.jsx)(Y3,{height:i,hint:c(`chart.runtime.noDataHint.bar`)});if(x)return(0,q.jsx)(X3,{height:i,hint:c(`chart.runtime.configErrorHint.${x}`)});let t=f&&!D,r=p&&!D,v=r?`expand`:void 0,{usePositiveNegativeColoring:y,useColorByCategory:S}=Yoe(C,O,b.length),ee=m.showLegend,te=i6(D),{spreadTargets:ne,enhancedChartData:A}=a6(O,n?.target);return!O||O.length===0?(0,q.jsx)(Y3,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for bar chart after transformation`}):(0,q.jsxs)(`div`,{className:`dc:relative dc:w-full`,style:{height:i},children:[(0,q.jsx)(R3,{height:k>0?`calc(100% - 20px)`:`100%`,children:(0,q.jsxs)(O3,{data:A,margin:te,stackOffset:v,accessibilityLayer:!1,children:[m.showGrid&&(0,q.jsx)(RZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(p0,{dataKey:`name`,type:`category`,tick:(0,q.jsx)(J3,{}),height:60,interval:h?0:void 0}),o6(E,d,g,_,r),m.showTooltip&&(0,q.jsx)(q3,{formatter:c6({leftYAxisFormat:g,rightYAxisFormat:_,yAxisAssignment:w,resolveField:e=>T[e],isPercentStack:r})}),l6({show:ee,iconType:`rect`,paddingTop:25,onHover:u,onLeave:()=>u(null)}),C.map((e,n)=>{let r=T[e];return(0,q.jsx)(Xoe,{seriesKey:e,index:n,originalField:r,axisId:r&&w[r]===`right`?`right`:`left`,stackId:t?`stack`:void 0,chartData:O,enhancedChartData:A,colorPalette:a,hoveredLegend:l,usePositiveNegativeColoring:y,useColorByCategory:S,drillEnabled:s,onDataPointClick:o},e)}),s6(ne)]})}),k>0&&(0,q.jsxs)(`div`,{className:`dc:text-xs text-dc-text-muted dc:text-center dc:mt-1`,children:[k,` data point`,k===1?``:`s`,` with no values hidden`]})]})}catch(e){return(0,q.jsx)(Z3,{height:i,chartType:`Bar Chart`,error:e})}});function p6(e){return e.length>0&&`__periodIndex`in e[0]}function m6(e){if(!p6(e))return[];let t=new Set;for(let n of e)n.__period&&t.add(n.__period);return Array.from(t)}function $oe(e){if(!p6(e))return[];let t=new Set;for(let n of e)typeof n.__periodIndex==`number`&&t.add(n.__periodIndex);return Array.from(t).sort((e,t)=>e-t)}function h6(e,t){return t===0?`Current`:`Prior`}function ese(e,t,n){if(e.length===0)return[];let r=[`__period`,`__periodIndex`,`__periodDayIndex`],i=e[0],a=[];for(let e of Object.keys(i))!t.includes(e)&&e!==n&&!r.includes(e)&&a.push(e);return a}function tse(e,t){let n=new Map;for(let e of t)n.set(e,new Set);for(let r of e)for(let e of t)r[e]!==void 0&&r[e]!==null&&n.get(e).add(r[e]);return n}function nse(e,t,n,r){if(!p6(e))return{data:e,seriesKeys:t,xAxisKey:n};let i=m6(e),a=$oe(e),o=ese(e,t,n),s=o.length>0,c=s?tse(e,o):null;return{data:ise(e,t,n,{dimensionFields:o,hasDimensions:s,periodLabels:i,getFieldLabel:r}),seriesKeys:ase(t,i,a,{dimensionFields:o,uniqueDimensionValues:c,getFieldLabel:r}),xAxisKey:`__periodDayIndex`}}function rse(e,t,n){return t.length===0?``:t.map(t=>{let r=e[t];return n?n(String(r)):String(r)}).join(` / `)}function ise(e,t,n,r){let{dimensionFields:i,hasDimensions:a,periodLabels:o,getFieldLabel:s}=r,c=new Map;for(let r of e){let e=r.__periodDayIndex,l=r.__periodIndex;c.has(e)||c.set(e,{__periodDayIndex:e,__displayDate:l===0?r[n]:void 0});let u=c.get(e);!u.__displayDate&&r[n]&&(u.__displayDate=r[n]);let d=a?rse(r,i,s):``,f=h6(o[l]||``,l);for(let e of t){let t=s?s(e):e,n=d?`${d} - ${t} (${f})`:`${t} (${f})`;u[n]=r[e]}}return Array.from(c.values()).sort((e,t)=>e.__periodDayIndex-t.__periodDayIndex)}function ase(e,t,n,r){let{dimensionFields:i,uniqueDimensionValues:a,getFieldLabel:o}=r,s=[],c=a?ose(i,a,o):[``];for(let r of c)for(let i of e){let e=o?o(i):i;for(let i=0;i<n.length;i++){let n=h6(t[i]||``,i);s.push(r?`${r} - ${e} (${n})`:`${e} (${n})`)}}return s}function ose(e,t,n){if(e.length===0)return[];if(e.length===1){let r=e[0];return Array.from(t.get(r)||[]).map(e=>n?n(String(e)):String(e))}let r=[],i=e.map(e=>Array.from(t.get(e)||[]));function a(e,t){if(e===i.length){let e=t.map(e=>n?n(String(e)):String(e));r.push(e.join(` / `));return}for(let n of i[e])a(e+1,[...t,n])}return a(0,[]),r}function sse(e,t){if(t.length<2)return!1;for(let n=1;n<t.length;n++){let r=h6(t[n],n);if(e.includes(`(${r})`))return!0}return e.includes(`(Prior`)}function cse(e=`dashed`){switch(e){case`solid`:return;case`dashed`:return`5 5`;case`dotted`:return`2 2`;default:return`5 5`}}function g6({props:e,color:t,drillEnabled:n,originalField:r,seriesKey:i,onDataPointClick:a,renderPlain:o}){let{cx:s,cy:c,payload:l,key:u}=e;if(s===void 0||c===void 0)return null;let d=e=>{e.stopPropagation(),e.preventDefault(),a&&a({dataPoint:l,clickedField:r||i,xValue:l.name,position:{x:e.clientX,y:e.clientY},nativeEvent:e})};return n&&a?(0,q.jsxs)(`g`,{children:[(0,q.jsx)(`circle`,{cx:s,cy:c,r:6,fill:`var(--dc-surface)`,style:{pointerEvents:`none`}}),(0,q.jsx)(`circle`,{cx:s,cy:c,r:4,fill:`var(--dc-surface)`,stroke:t,strokeWidth:2,cursor:`pointer`,onClick:e=>{d(e)}})]},u):o?(0,q.jsx)(`circle`,{cx:s,cy:c,r:3,fill:t},u):null}function _6(e,t,n,r){return e?W3(e,G3(t,n)):`Period ${r+1}`}function lse(e,t,n,r){if(e)return(e,i)=>{let a=t[i];return _6(a?.__displayDate,n,r,Number(e))}}function use(e,t,n){if(e)return(e,r)=>_6((r&&r.length>0?r[0]?.payload:void 0)?.__displayDate,t,n,Number(e))}function dse(e,t){let n=e?.stackType??(e?.stacked?`normal`:`none`),r=n!==`none`&&!t,i=n===`percent`&&!t;return{effectiveShouldStack:r,effectiveIsPercentStack:i,stackOffset:i?`expand`:void 0}}function v6(e,t){let n={};return e.forEach(e=>{n[t(e)]=e}),n}function fse(e){return t=>{if(e[t])return e[t];if(t.length>1e3)return;let n=t.replace(/\\s*\\((Current|Prior)\\)$/,``).split(` - `);return e[n[n.length-1]]}}function y6(e,t){let n=e?.colors;return n&&n[t%n.length]||$3[t%$3.length]}function pse(e,t,n){let{colorPalette:r,resolveField:i,yAxisAssignment:a,hoveredLegend:o,connectNulls:s,drillEnabled:c,onDataPointClick:l,hasComparisonData:u,periodLabels:d=[],priorPeriodStyle:f=`dashed`,priorPeriodOpacity:p=.5}=n,m=i(e),h=m&&a[m]===`right`?`right`:`left`,g=!!u&&sse(e,d),_=g?cse(f):void 0,v=g?p:1,y=y6(r,t),b=v;return o&&(b=o===e?1:.3),(0,q.jsx)(jQ,{type:`monotone`,dataKey:e,yAxisId:h,stroke:y,strokeWidth:g?1.5:2,strokeDasharray:_,dot:g?!1:t=>g6({props:t,color:y,drillEnabled:c,originalField:m,seriesKey:e,onDataPointClick:l,renderPlain:!0}),activeDot:!1,strokeOpacity:b,connectNulls:s},e)}function mse(e){return e.seriesKeys.map((t,n)=>pse(t,n,e))}function hse(e,t,n){let{colorPalette:r,seriesKeyToField:i,yAxisAssignment:a,hoveredLegend:o,connectNulls:s,shouldStack:c,drillEnabled:l,onDataPointClick:u}=n,d=i[e],f=d&&a[d]===`right`?`right`:`left`,p=y6(r,t),m=.3,h=1;if(o){let t=o===e;m=t?.6:.1,h=t?1:.3}return(0,q.jsx)(g$,{type:`monotone`,dataKey:e,yAxisId:f,stackId:c?`stack`:void 0,stroke:p,fill:p,fillOpacity:m,strokeWidth:2,strokeOpacity:h,connectNulls:s,dot:t=>g6({props:t,color:p,drillEnabled:l,originalField:d,seriesKey:e,onDataPointClick:u,renderPlain:!1}),activeDot:!1},e)}function gse(e){return e.seriesKeys.map((t,n)=>hse(t,n,e))}function _se(e){let{data:t,xAxisField:n,yAxisFields:r,seriesFields:i,queryObject:a,getFieldLabel:o}=e,s=p6(t);if(s){let e=nse(t,r,n,o);return{chartData:e.data,seriesKeys:e.seriesKeys,effectiveXAxisKey:`__periodDayIndex`,hasComparisonData:s,periodLabels:m6(t)}}let c=K3(t,n,r,a,i,o);return{chartData:c.data,seriesKeys:c.seriesKeys,effectiveXAxisKey:`name`,hasComparisonData:s,periodLabels:[]}}var vse=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Hv(),[l,u]=(0,z.useState)(null),d=f6(),{xAxisField:f,yAxisFields:p,seriesFields:m,errorCode:h}=(0,z.useMemo)(()=>Q3(t),[t]),g=(0,z.useMemo)(()=>t?.yAxisAssignment||{},[t?.yAxisAssignment]),_=(0,z.useMemo)(()=>v6(p,d),[p,d]);try{let t={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0,connectNulls:n?.connectNulls??!1},v=n?.showAllXLabels??!0,y=n?.leftYAxisFormat,b=n?.rightYAxisFormat;if(!e||e.length===0)return(0,q.jsx)(Y3,{height:i,hint:c(`chart.runtime.noDataHint.line`)});if(h)return(0,q.jsx)(X3,{height:i,hint:c(`chart.runtime.configErrorHint.${h}`)});let x=f,S=n?.priorPeriodStyle||`dashed`,C=n?.priorPeriodOpacity??.5,{chartData:w,seriesKeys:T,effectiveXAxisKey:E,hasComparisonData:D,periodLabels:O}=_se({data:e,xAxisField:x,yAxisFields:p,seriesFields:m,queryObject:r,getFieldLabel:d}),k=fse(_),ee=r6(p,g),{hasRightAxis:te}=ee,ne=t.showLegend,A=i6(te),{spreadTargets:re,enhancedChartData:j}=a6(w,n?.target);return!w||w.length===0?(0,q.jsx)(Y3,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for line chart after transformation`}):(0,q.jsx)(R3,{height:i,children:(0,q.jsxs)(u4,{data:j,margin:A,accessibilityLayer:!1,children:[t.showGrid&&(0,q.jsx)(RZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(p0,{dataKey:E,type:`category`,tick:(0,q.jsx)(J3,{tickFormatter:lse(D,w,r,x)}),height:60,interval:v?0:void 0}),o6(ee,d,y,b),t.showTooltip&&(0,q.jsx)(q3,{formatter:c6({leftYAxisFormat:y,rightYAxisFormat:b,yAxisAssignment:g,resolveField:k}),labelFormatter:use(D,r,x)}),l6({show:ne,iconType:`line`,paddingTop:25,onHover:u,onLeave:()=>u(null)}),mse({seriesKeys:T,colorPalette:a,resolveField:k,yAxisAssignment:g,hoveredLegend:l,connectNulls:t.connectNulls,drillEnabled:s,onDataPointClick:o,hasComparisonData:D,periodLabels:O,priorPeriodStyle:S,priorPeriodOpacity:C}),s6(re)]})})}catch(e){return(0,q.jsx)(Z3,{height:i,chartType:`Line Chart`,error:e})}}),yse=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Hv(),[l,u]=(0,z.useState)(null),d=f6(),{xAxisField:f,yAxisFields:p,seriesFields:m,errorCode:h}=(0,z.useMemo)(()=>Q3(t),[t]),g=(0,z.useMemo)(()=>t?.yAxisAssignment||{},[t?.yAxisAssignment]),{data:_,seriesKeys:v}=(0,z.useMemo)(()=>h||!e||e.length===0||!f?{data:[],seriesKeys:[]}:K3(e,f,p,r,m,d),[e,f,p,r,m,d,h]);try{let t={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0,connectNulls:n?.connectNulls??!1},r=n?.showAllXLabels??!0,f=n?.leftYAxisFormat,m=n?.rightYAxisFormat;if(!e||e.length===0)return(0,q.jsx)(Y3,{height:i,hint:c(`chart.runtime.noDataHint.area`)});if(h)return(0,q.jsx)(X3,{height:i,hint:c(`chart.runtime.configErrorHint.${h}`)});let y=v6(p,d),b=r6(p,g),{hasRightAxis:x}=b,{effectiveShouldStack:S,effectiveIsPercentStack:C,stackOffset:w}=dse(n,x),T=t.showLegend,E=i6(x),{spreadTargets:D,enhancedChartData:O}=a6(_,n?.target);return!_||_.length===0?(0,q.jsx)(Y3,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for area chart after transformation`}):(0,q.jsx)(R3,{height:i,children:(0,q.jsxs)(O3,{data:O,margin:E,stackOffset:w,accessibilityLayer:!1,children:[t.showGrid&&(0,q.jsx)(RZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(p0,{dataKey:`name`,type:`category`,tick:(0,q.jsx)(J3,{}),height:60,interval:r?0:void 0}),o6(b,d,f,m,C),t.showTooltip&&(0,q.jsx)(q3,{formatter:c6({leftYAxisFormat:f,rightYAxisFormat:m,yAxisAssignment:g,resolveField:e=>y[e],isPercentStack:C})}),l6({show:T,iconType:`rect`,paddingTop:10,onHover:u,onLeave:()=>u(null)}),gse({seriesKeys:v,colorPalette:a,seriesKeyToField:y,yAxisAssignment:g,hoveredLegend:l,connectNulls:t.connectNulls,shouldStack:S,drillEnabled:s,onDataPointClick:o}),s6(D)]})})}catch(e){return(0,q.jsx)(Z3,{height:i,chartType:`Area Chart`,error:e})}});function bse(e,t,n,r,i,a){let o;if(r.length>0){let{data:s}=K3(e,t,n,i,r,a);if(o=[],s.length>0){let e=s[0];Object.keys(e).forEach(t=>{t!==`name`&&typeof e[t]==`number`&&o.push({name:String(t),value:e[t]})})}}else{let r=G3(i,t);o=e.map(e=>{let i=W3(e[t],r)||String(e[t])||`Unknown`;return typeof e[t]==`boolean`?i=e[t]?`Active`:`Inactive`:(i===`true`||i===`false`)&&(i=i===`true`?`Active`:`Inactive`),{name:i,value:typeof e[n[0]]==`string`?parseFloat(e[n[0]]):e[n[0]]||0}})}let s=o.length;return o=o.filter(e=>e.value!=null&&!isNaN(e.value)&&e.value!==0&&e.value>0),{pieData:o,originalLength:s}}var xse=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Hv(),[l,u]=(0,z.useState)(null),d=f6(),{xAxisField:f,yAxisFields:p,seriesFields:m,errorCode:h}=(0,z.useMemo)(()=>Q3(t),[t]);try{let t={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,leftYAxisFormat:n?.leftYAxisFormat,innerRadius:n?.innerRadius||`0%`};if(!e||e.length===0)return(0,q.jsx)(Y3,{height:i,hint:c(`chart.runtime.noDataHint.pie`)});if(h)return(0,q.jsx)(X3,{height:i,hint:c(h===`axisInvalid`?`chart.runtime.configErrorHint.pieAxis`:`chart.runtime.configErrorHint.axisFields`)});let{pieData:g,originalLength:_}=bse(e,f,p,m,r,d);return g.length===0?(0,q.jsx)(Y3,{height:i,titleKey:`chart.runtime.noValidData`,hint:_>0?`Filtered out ${_} data points (zero or invalid values)`:`No data points to display in pie chart`}):(0,q.jsx)(R3,{height:i,children:(0,q.jsxs)(A4,{accessibilityLayer:!1,children:[(0,q.jsx)(Cq,{data:g,cx:`50%`,cy:`50%`,innerRadius:t.innerRadius===`0%`?void 0:t.innerRadius,outerRadius:`70%`,dataKey:`value`,label:t.showLegend?void 0:({name:e,percent:t})=>`${e} ${((t||0)*100).toFixed(0)}%`,cursor:s?`pointer`:void 0,onClick:(e,t,n)=>{o&&s&&e&&o({dataPoint:e,clickedField:p[0],xValue:e.name,position:{x:n.clientX,y:n.clientY},nativeEvent:n})},children:g.map((e,t)=>(0,q.jsx)(GV,{fill:a?.colors&&a.colors[t%a.colors.length]||$3[t%$3.length],fillOpacity:l?l===g[t].name?1:.3:1},`cell-${t}`))}),t.showTooltip&&(0,q.jsx)(q3,{formatter:t.leftYAxisFormat?(e,n)=>[U3(e,t.leftYAxisFormat),n]:void 0}),t.showLegend&&(0,q.jsx)(dO,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>u(String(e.value||``)),onMouseLeave:()=>u(null)})]})})}catch(e){return(0,q.jsx)(Z3,{height:i,chartType:`Pie Chart`,error:e})}}),Sse=20;function Cse(e,t){let n=e?.showLegend??!0,r=t.length>1&&t.length<=Sse;return{showLegend:n&&r,showGrid:e?.showGrid??!0,showTooltip:e?.showTooltip??!0,hasSeries:r,xAxisFormat:e?.xAxisFormat,yAxisFormat:e?.leftYAxisFormat,chartMargins:{...t6,left:40}}}function wse(e){let t,n,r=[];if(e?.xAxis&&e?.yAxis){t=Array.isArray(e.xAxis)?e.xAxis[0]:e.xAxis,n=Array.isArray(e.yAxis)?e.yAxis[0]:e.yAxis;let i=e.series;r=i?Array.isArray(i)?i:[i]:[]}else if(e?.x&&e?.y)t=e.x,n=Array.isArray(e.y)?e.y[0]:e.y;else return{xAxisField:``,yAxisField:``,seriesFields:[],errorCode:`axisInvalid`};return!t||!n?{xAxisField:``,yAxisField:``,seriesFields:[],errorCode:`axisFields`}:{xAxisField:t,yAxisField:n,seriesFields:r}}function b6(e,t,n){let r={};return t.forEach(t=>{if(e[t]){let i=G3(n,t);r[t]=W3(e[t],i)}}),r}function x6(e,t,n){let r=W3(e[t],n)||e[t];return typeof r==`string`?parseFloat(r):r}function Tse(e,t,n,r,i,a){let o=G3(a,t);if(r.length>0){let s=r[0],c={};return e.forEach(e=>{let r=String(e[s]||`Default`);c[r]||(c[r]=[]);let l=x6(e,t,o),u=V3(e[n]);B3(l)&&u!==null&&c[r].push({x:l,y:u,name:r,timeValues:b6(e,i,a),originalItem:e})}),{scatterData:Object.keys(c).flatMap(e=>c[e]),seriesGroups:c}}return{scatterData:e.map(e=>{let r=x6(e,t,o),s=V3(e[n]);return{x:r,y:s,name:`Point`,timeValues:b6(e,i,a),originalItem:e,isValid:B3(r)&&s!==null}}).filter(e=>e.isValid).map(({isValid:e,...t})=>t),seriesGroups:{}}}function Ese({active:e,payload:t,xAxisField:n,yAxisField:r,xAxisFormat:i,yAxisFormat:a,getFieldLabel:o}){if(!e||!t||t.length===0)return null;let s=t[0]?.payload;return s?(0,q.jsxs)(`div`,{style:{backgroundColor:`white`,border:`1px solid #e5e7eb`,borderRadius:`0.5rem`,fontSize:`0.875rem`,color:`#1f2937`,boxShadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1)`,padding:`8px 12px`},children:[(0,q.jsx)(`div`,{style:{fontWeight:600,marginBottom:`4px`},children:s.name}),s.timeValues&&Object.keys(s.timeValues).length>0&&(0,q.jsx)(`div`,{style:{marginBottom:`4px`,color:`#6b7280`},children:Object.entries(s.timeValues).map(([e,t])=>(0,q.jsxs)(`div`,{children:[o(e),`: `,t]},e))}),(0,q.jsxs)(`div`,{children:[i?.label||o(n),`: `,U3(s.x,i)]}),(0,q.jsxs)(`div`,{children:[a?.label||o(r),`: `,U3(s.y,a)]})]}):null}function Dse(e,t){return e?.colors&&e.colors[t%e.colors.length]||$3[t%$3.length]}function Ose({hasSeries:e,seriesKeys:t,seriesGroups:n,scatterData:r,colorPalette:i,hoveredLegend:a}){return e?(0,q.jsx)(q.Fragment,{children:t.map((e,t)=>(0,q.jsx)(K1,{name:e,data:n[e],fill:Dse(i,t),fillOpacity:a?a===e?1:.3:1},e))}):(0,q.jsx)(K1,{name:`Data`,data:r,fill:i?.colors&&i.colors[0]||$3[0]})}var kse=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Hv(),[s,c]=(0,z.useState)(null),l=f6();try{if(!e||e.length===0)return(0,q.jsx)(Y3,{height:i,hint:o(`chart.runtime.noDataHint.scatter`)});let{xAxisField:u,yAxisField:d,seriesFields:f,errorCode:p}=wse(t);if(p)return(0,q.jsx)(X3,{height:i,hint:o(`chart.runtime.configErrorHint.${p}`)});let{scatterData:m,seriesGroups:h}=Tse(e,u,d,f,(r?.timeDimensions||[]).map(e=>e.dimension),r);if(!m||m.length===0)return(0,q.jsx)(Y3,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for scatter chart after transformation`});let g=Object.keys(h),{showLegend:_,showGrid:v,showTooltip:y,hasSeries:b,xAxisFormat:x,yAxisFormat:S,chartMargins:C}=Cse(n,g);return(0,q.jsx)(R3,{height:i,children:(0,q.jsxs)(Zae,{margin:C,accessibilityLayer:!1,children:[v&&(0,q.jsx)(RZ,{strokeDasharray:`3 3`}),(0,q.jsx)(p0,{type:`number`,dataKey:`x`,name:x?.label||l(u),tick:{fontSize:12},tickFormatter:x?e=>U3(e,x):void 0}),(0,q.jsx)(O0,{type:`number`,dataKey:`y`,name:S?.label||l(d),tick:{fontSize:12},tickFormatter:S?e=>U3(e,S):void 0,label:{value:S?.label||l(d),angle:-90,position:`left`,style:{textAnchor:`middle`,fontSize:`12px`}}}),y&&(0,q.jsx)(WV,{cursor:{strokeDasharray:`3 3`},content:({active:e,payload:t})=>(0,q.jsx)(Ese,{active:e,payload:t,xAxisField:u,yAxisField:d,xAxisFormat:x,yAxisFormat:S,getFieldLabel:l})}),_&&(0,q.jsx)(dO,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.dataKey||``)),onMouseLeave:()=>c(null)}),(0,q.jsx)(Ose,{hasSeries:b,seriesKeys:g,seriesGroups:h,scatterData:m,colorPalette:a,hoveredLegend:s})]})})}catch(e){return(0,q.jsx)(Z3,{height:i,chartType:`Scatter Chart`,error:e})}});function Ase(e){return e}var S6=1,C6=2,w6=3,T6=4,E6=1e-6;function jse(e){return`translate(`+e+`,0)`}function Mse(e){return`translate(0,`+e+`)`}function Nse(e){return t=>+e(t)}function Pse(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function Fse(){return!this.__axis}function D6(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,l=e===S6||e===T6?-1:1,u=e===T6||e===C6?`x`:`y`,d=e===S6||e===w6?jse:Mse;function f(f){var p=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):Ase),h=Math.max(a,0)+s,g=t.range(),_=+g[0]+c,v=+g[g.length-1]+c,y=(t.bandwidth?Pse:Nse)(t.copy(),c),b=f.selection?f.selection():f,x=b.selectAll(`.domain`).data([null]),S=b.selectAll(`.tick`).data(p,t).order(),C=S.exit(),w=S.enter().append(`g`).attr(`class`,`tick`),T=S.select(`line`),E=S.select(`text`);x=x.merge(x.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),S=S.merge(w),T=T.merge(w.append(`line`).attr(`stroke`,`currentColor`).attr(u+`2`,l*a)),E=E.merge(w.append(`text`).attr(`fill`,`currentColor`).attr(u,l*h).attr(`dy`,e===S6?`0em`:e===w6?`0.71em`:`0.32em`)),f!==b&&(x=x.transition(f),S=S.transition(f),T=T.transition(f),E=E.transition(f),C=C.transition(f).attr(`opacity`,E6).attr(`transform`,function(e){return isFinite(e=y(e))?d(e+c):this.getAttribute(`transform`)}),w.attr(`opacity`,E6).attr(`transform`,function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+c)})),C.remove(),x.attr(`d`,e===T6||e===C6?o?`M`+l*o+`,`+_+`H`+c+`V`+v+`H`+l*o:`M`+c+`,`+_+`V`+v:o?`M`+_+`,`+l*o+`V`+c+`H`+v+`V`+l*o:`M`+_+`,`+c+`H`+v),S.attr(`opacity`,1).attr(`transform`,function(e){return d(y(e)+c)}),T.attr(u+`2`,l*a),E.attr(u,l*h).text(m),b.filter(Fse).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===C6?`start`:e===T6?`end`:`middle`),b.each(function(){this.__axis=y})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(c=+e,f):c},f}function O6(e){return D6(w6,e)}function k6(e){return D6(T6,e)}var Ise={value:()=>{}};function A6(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+``)||r in n||/[\\s.]/.test(r))throw Error(`illegal type: `+r);n[r]=[]}return new j6(n)}function j6(e){this._=e}function Lse(e,t){return e.trim().split(/^|\\s+/).map(function(e){var n=``,r=e.indexOf(`.`);if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error(`unknown type: `+e);return{type:e,name:n}})}j6.prototype=A6.prototype={constructor:j6,on:function(e,t){var n=this._,r=Lse(e+``,n),i,a=-1,o=r.length;if(arguments.length<2){for(;++a<o;)if((i=(e=r[a]).type)&&(i=Rse(n[i],e.name)))return i;return}if(t!=null&&typeof t!=`function`)throw Error(`invalid callback: `+t);for(;++a<o;)if(i=(e=r[a]).type)n[i]=M6(n[i],e.name,t);else if(t==null)for(i in n)n[i]=M6(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new j6(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=Array(i),r=0,i,a;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(a=this._[e],r=0,i=a.length;r<i;++r)a[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};function Rse(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function M6(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=Ise,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var N6={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function P6(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),N6.hasOwnProperty(t)?{space:N6[t],local:e}:e}function zse(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===`http://www.w3.org/1999/xhtml`&&t.documentElement.namespaceURI===`http://www.w3.org/1999/xhtml`?t.createElement(e):t.createElementNS(n,e)}}function Bse(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function F6(e){var t=P6(e);return(t.local?Bse:zse)(t)}function Vse(){}function I6(e){return e==null?Vse:function(){return this.querySelector(e)}}function Hse(e){typeof e!=`function`&&(e=I6(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=Array(o),c,l,u=0;u<o;++u)(c=a[u])&&(l=e.call(c,c.__data__,u,a))&&(`__data__`in c&&(l.__data__=c.__data__),s[u]=l);return new Z6(r,this._parents)}function Use(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function Wse(){return[]}function L6(e){return e==null?Wse:function(){return this.querySelectorAll(e)}}function Gse(e){return function(){return Use(e.apply(this,arguments))}}function Kse(e){e=typeof e==`function`?Gse(e):L6(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o=t[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&(r.push(e.call(c,c.__data__,l,o)),i.push(c));return new Z6(r,i)}function R6(e){return function(){return this.matches(e)}}function z6(e){return function(t){return t.matches(e)}}var qse=Array.prototype.find;function Jse(e){return function(){return qse.call(this.children,e)}}function Yse(){return this.firstElementChild}function Xse(e){return this.select(e==null?Yse:Jse(typeof e==`function`?e:z6(e)))}var Zse=Array.prototype.filter;function Qse(){return Array.from(this.children)}function $se(e){return function(){return Zse.call(this.children,e)}}function ece(e){return this.selectAll(e==null?Qse:$se(typeof e==`function`?e:z6(e)))}function tce(e){typeof e!=`function`&&(e=R6(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new Z6(r,this._parents)}function B6(e){return Array(e.length)}function nce(){return new Z6(this._enter||this._groups.map(B6),this._parents)}function V6(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}V6.prototype={constructor:V6,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function rce(e){return function(){return e}}function ice(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o<l;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new V6(e,a[o]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function ace(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;for(s=0;s<u;++s)(c=t[s])&&(f[s]=p=o.call(c,c.__data__,s,t)+``,l.has(p)?i[s]=c:l.set(p,c));for(s=0;s<d;++s)p=o.call(e,a[s],s,a)+``,(c=l.get(p))?(r[s]=c,c.__data__=a[s],l.delete(p)):n[s]=new V6(e,a[s]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function oce(e){return e.__data__}function sce(e,t){if(!arguments.length)return Array.from(this,oce);var n=t?ace:ice,r=this._parents,i=this._groups;typeof e!=`function`&&(e=rce(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],d=i[l],f=d.length,p=cce(e.call(u,u&&u.__data__,l,r)),m=p.length,h=s[l]=Array(m),g=o[l]=Array(m);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new Z6(o,r),o._enter=s,o._exit=c,o}function cce(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function lce(){return new Z6(this._exit||this._groups.map(B6),this._parents)}function uce(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}function dce(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l=n[c],u=r[c],d=l.length,f=s[c]=Array(d),p,m=0;m<d;++m)(p=l[m]||u[m])&&(f[m]=p);for(;c<i;++c)s[c]=n[c];return new Z6(s,this._parents)}function fce(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,a=r[i],o;--i>=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}function pce(e){e||=mce;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o=n[a],s=o.length,c=i[a]=Array(s),l,u=0;u<s;++u)(l=o[u])&&(c[u]=l);c.sort(t)}return new Z6(i,this._parents).order()}function mce(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function hce(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function gce(){return Array.from(this)}function _ce(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}function vce(){let e=0;for(let t of this)++e;return e}function yce(){return!this.node()}function bce(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}function xce(e){return function(){this.removeAttribute(e)}}function Sce(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Cce(e,t){return function(){this.setAttribute(e,t)}}function wce(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Tce(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Ece(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Dce(e,t){var n=P6(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?Sce:xce:typeof t==`function`?n.local?Ece:Tce:n.local?wce:Cce)(n,t))}function H6(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Oce(e){return function(){this.style.removeProperty(e)}}function kce(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Ace(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function jce(e,t,n){return arguments.length>1?this.each((t==null?Oce:typeof t==`function`?Ace:kce)(e,t,n??``)):U6(this.node(),e)}function U6(e,t){return e.style.getPropertyValue(t)||H6(e).getComputedStyle(e,null).getPropertyValue(t)}function Mce(e){return function(){delete this[e]}}function Nce(e,t){return function(){this[e]=t}}function Pce(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function Fce(e,t){return arguments.length>1?this.each((t==null?Mce:typeof t==`function`?Pce:Nce)(e,t)):this.node()[e]}function W6(e){return e.trim().split(/^|\\s+/)}function G6(e){return e.classList||new K6(e)}function K6(e){this._node=e,this._names=W6(e.getAttribute(`class`)||``)}K6.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}};function q6(e,t){for(var n=G6(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function J6(e,t){for(var n=G6(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function Ice(e){return function(){q6(this,e)}}function Lce(e){return function(){J6(this,e)}}function Rce(e,t){return function(){(t.apply(this,arguments)?q6:J6)(this,e)}}function zce(e,t){var n=W6(e+``);if(arguments.length<2){for(var r=G6(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?Rce:t?Ice:Lce)(n,t))}function Bce(){this.textContent=``}function Vce(e){return function(){this.textContent=e}}function Hce(e){return function(){var t=e.apply(this,arguments);this.textContent=t??``}}function Uce(e){return arguments.length?this.each(e==null?Bce:(typeof e==`function`?Hce:Vce)(e)):this.node().textContent}function Wce(){this.innerHTML=``}function Gce(e){return function(){this.innerHTML=e}}function Kce(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??``}}function qce(e){return arguments.length?this.each(e==null?Wce:(typeof e==`function`?Kce:Gce)(e)):this.node().innerHTML}function Jce(){this.nextSibling&&this.parentNode.appendChild(this)}function Yce(){return this.each(Jce)}function Xce(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Zce(){return this.each(Xce)}function Qce(e){var t=typeof e==`function`?e:F6(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function $ce(){return null}function ele(e,t){var n=typeof e==`function`?e:F6(e),r=t==null?$ce:typeof t==`function`?t:I6(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function tle(){var e=this.parentNode;e&&e.removeChild(this)}function nle(){return this.each(tle)}function rle(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ile(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ale(e){return this.select(e?ile:rle)}function ole(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}function sle(e){return function(t){e.call(this,t,this.__data__)}}function cle(e){return e.trim().split(/^|\\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function lle(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++r]=a;++r?t.length=r:delete this.__on}}}function ule(e,t,n){return function(){var r=this.__on,i,a=sle(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function dle(e,t,n){var r=cle(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,l=s.length,u;c<l;++c)for(i=0,u=s[c];i<a;++i)if((o=r[i]).type===u.type&&o.name===u.name)return u.value}return}for(s=t?ule:lle,i=0;i<a;++i)this.each(s(r[i],t,n));return this}function Y6(e,t,n){var r=H6(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function fle(e,t){return function(){return Y6(this,e,t)}}function ple(e,t){return function(){return Y6(this,e,t.apply(this,arguments))}}function mle(e,t){return this.each((typeof t==`function`?ple:fle)(e,t))}function*hle(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length,o;i<a;++i)(o=r[i])&&(yield o)}var X6=[null];function Z6(e,t){this._groups=e,this._parents=t}function Q6(){return new Z6([[document.documentElement]],X6)}function gle(){return this}Z6.prototype=Q6.prototype={constructor:Z6,select:Hse,selectAll:Kse,selectChild:Xse,selectChildren:ece,filter:tce,data:sce,enter:nce,exit:lce,join:uce,merge:dce,selection:gle,order:fce,sort:pce,call:hce,nodes:gce,node:_ce,size:vce,empty:yce,each:bce,attr:Dce,style:jce,property:Fce,classed:zce,text:Uce,html:qce,raise:Yce,lower:Zce,append:Qce,insert:ele,remove:nle,clone:ale,datum:ole,on:dle,dispatch:mle,[Symbol.iterator]:hle};function $6(e){return typeof e==`string`?new Z6([[document.querySelector(e)]],[document.documentElement]):new Z6([[e]],X6)}var e8=0,t8=0,n8=0,r8=1e3,i8,a8,o8=0,s8=0,c8=0,l8=typeof performance==`object`&&performance.now?performance:Date,u8=typeof window==`object`&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function d8(){return s8||=(u8(_le),l8.now()+c8)}function _le(){s8=0}function f8(){this._call=this._time=this._next=null}f8.prototype=p8.prototype={constructor:f8,restart:function(e,t,n){if(typeof e!=`function`)throw TypeError(`callback is not a function`);n=(n==null?d8():+n)+(t==null?0:+t),!this._next&&a8!==this&&(a8?a8._next=this:i8=this,a8=this),this._call=e,this._time=n,h8()},stop:function(){this._call&&(this._call=null,this._time=1/0,h8())}};function p8(e,t,n){var r=new f8;return r.restart(e,t,n),r}function vle(){d8(),++e8;for(var e=i8,t;e;)(t=s8-e._time)>=0&&e._call.call(void 0,t),e=e._next;--e8}function m8(){s8=(o8=l8.now())+c8,e8=t8=0;try{vle()}finally{e8=0,ble(),s8=0}}function yle(){var e=l8.now(),t=e-o8;t>r8&&(c8-=t,o8=e)}function ble(){for(var e,t=i8,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:i8=n);a8=e,h8(r)}function h8(e){e8||(t8&&=clearTimeout(t8),e-s8>24?(e<1/0&&(t8=setTimeout(m8,e-l8.now()-c8)),n8&&=clearInterval(n8)):(n8||=(o8=l8.now(),setInterval(yle,r8)),e8=1,u8(m8)))}function g8(e,t,n){var r=new f8;return t=t==null?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}var xle=A6(`start`,`end`,`cancel`,`interrupt`),Sle=[];function _8(e,t,n,r,i,a){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;Cle(e,n,{name:t,index:r,group:i,on:xle,tween:Sle,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function v8(e,t){var n=b8(e,t);if(n.state>0)throw Error(`too late; already scheduled`);return n}function y8(e,t){var n=b8(e,t);if(n.state>3)throw Error(`too late; already running`);return n}function b8(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error(`transition not found`);return n}function Cle(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=p8(a,0,n.time);function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,d,f;if(n.state!==1)return c();for(l in r)if(f=r[l],f.name===n.name){if(f.state===3)return g8(o);f.state===4?(f.state=6,f.timer.stop(),f.on.call(`interrupt`,e,e.__data__,f.index,f.group),delete r[l]):+l<t&&(f.state=6,f.timer.stop(),f.on.call(`cancel`,e,e.__data__,f.index,f.group),delete r[l])}if(g8(function(){n.state===3&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))}),n.state=2,n.on.call(`start`,e,e.__data__,n.index,n.group),n.state===2){for(n.state=3,i=Array(d=n.tween.length),l=0,u=-1;l<d;++l)(f=n.tween[l].value.call(e,e.__data__,n.index,n.group))&&(i[++u]=f);i.length=u+1}}function s(t){for(var r=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(c),n.state=5,1),a=-1,o=i.length;++a<o;)i[a].call(e,r);n.state===5&&(n.on.call(`end`,e,e.__data__,n.index,n.group),c())}function c(){for(var i in n.state=6,n.timer.stop(),delete r[t],r)return;delete e.__transition}}function wle(e,t){var n=e.__transition,r,i,a=!0,o;if(n){for(o in t=t==null?null:t+``,n){if((r=n[o]).name!==t){a=!1;continue}i=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?`interrupt`:`cancel`,e,e.__data__,r.index,r.group),delete n[o]}a&&delete e.__transition}}function Tle(e){return this.each(function(){wle(this,e)})}function Ele(e,t){var n,r;return function(){var i=y8(this,e),a=i.tween;if(a!==n){r=n=a;for(var o=0,s=r.length;o<s;++o)if(r[o].name===t){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function Dle(e,t,n){var r,i;if(typeof n!=`function`)throw Error();return function(){var a=y8(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=s;break}c===l&&i.push(s)}a.tween=i}}function Ole(e,t){var n=this._id;if(e+=``,arguments.length<2){for(var r=b8(this.node(),n).tween,i=0,a=r.length,o;i<a;++i)if((o=r[i]).name===e)return o.value;return null}return this.each((t==null?Ele:Dle)(n,e,t))}function x8(e,t,n){var r=e._id;return e.each(function(){var e=y8(this,r);(e.value||={})[t]=n.apply(this,arguments)}),function(e){return b8(e,r).value[t]}}function S8(e,t){var n;return(typeof t==`number`?JN:t instanceof yN?UN:(n=yN(t))?(t=n,UN):eP)(e,t)}function kle(e){return function(){this.removeAttribute(e)}}function Ale(e){return function(){this.removeAttributeNS(e.space,e.local)}}function jle(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttribute(e);return o===i?null:o===r?a:a=t(r=o,n)}}function Mle(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?a:a=t(r=o,n)}}function Nle(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttribute(e):(o=this.getAttribute(e),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Ple(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Fle(e,t){var n=P6(e),r=n===`transform`?dP:S8;return this.attrTween(e,typeof t==`function`?(n.local?Ple:Nle)(n,r,x8(this,`attr.`+e,t)):t==null?(n.local?Ale:kle)(n):(n.local?Mle:jle)(n,r,t))}function Ile(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Lle(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Rle(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Lle(e,i)),n}return i._value=t,i}function zle(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Ile(e,i)),n}return i._value=t,i}function Ble(e,t){var n=`attr.`+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!=`function`)throw Error();var r=P6(e);return this.tween(n,(r.local?Rle:zle)(r,t))}function Vle(e,t){return function(){v8(this,e).delay=+t.apply(this,arguments)}}function Hle(e,t){return t=+t,function(){v8(this,e).delay=t}}function Ule(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Vle:Hle)(t,e)):b8(this.node(),t).delay}function Wle(e,t){return function(){y8(this,e).duration=+t.apply(this,arguments)}}function Gle(e,t){return t=+t,function(){y8(this,e).duration=t}}function Kle(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Wle:Gle)(t,e)):b8(this.node(),t).duration}function qle(e,t){if(typeof t!=`function`)throw Error();return function(){y8(this,e).ease=t}}function Jle(e){var t=this._id;return arguments.length?this.each(qle(t,e)):b8(this.node(),t).ease}function Yle(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!=`function`)throw Error();y8(this,e).ease=n}}function Xle(e){if(typeof e!=`function`)throw Error();return this.each(Yle(this._id,e))}function Zle(e){typeof e!=`function`&&(e=R6(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new w8(r,this._parents,this._name,this._id)}function Qle(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c=t[s],l=n[s],u=c.length,d=o[s]=Array(u),f,p=0;p<u;++p)(f=c[p]||l[p])&&(d[p]=f);for(;s<r;++s)o[s]=t[s];return new w8(o,this._parents,this._name,this._id)}function $le(e){return(e+``).trim().split(/^|\\s+/).every(function(e){var t=e.indexOf(`.`);return t>=0&&(e=e.slice(0,t)),!e||e===`start`})}function eue(e,t,n){var r,i,a=$le(t)?v8:y8;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function tue(e,t){var n=this._id;return arguments.length<2?b8(this.node(),n).on.on(e):this.each(eue(n,e,t))}function nue(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function rue(){return this.on(`end.remove`,nue(this._id))}function iue(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=I6(e));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s=r[o],c=s.length,l=a[o]=Array(c),u,d,f=0;f<c;++f)(u=s[f])&&(d=e.call(u,u.__data__,f,s))&&(`__data__`in u&&(d.__data__=u.__data__),l[f]=d,_8(l[f],t,n,f,l,b8(u,n)));return new w8(a,this._parents,t,n)}function aue(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=L6(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c=r[s],l=c.length,u,d=0;d<l;++d)if(u=c[d]){for(var f=e.call(u,u.__data__,d,c),p,m=b8(u,n),h=0,g=f.length;h<g;++h)(p=f[h])&&_8(p,t,n,h,f,m);a.push(f),o.push(u)}return new w8(a,o,t,n)}var oue=Q6.prototype.constructor;function sue(){return new oue(this._groups,this._parents)}function cue(e,t){var n,r,i;return function(){var a=U6(this,e),o=(this.style.removeProperty(e),U6(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}function C8(e){return function(){this.style.removeProperty(e)}}function lue(e,t,n){var r,i=n+``,a;return function(){var o=U6(this,e);return o===i?null:o===r?a:a=t(r=o,n)}}function uue(e,t,n){var r,i,a;return function(){var o=U6(this,e),s=n(this),c=s+``;return s??(c=s=(this.style.removeProperty(e),U6(this,e))),o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s))}}function due(e,t){var n,r,i,a=`style.`+t,o=`end.`+a,s;return function(){var c=y8(this,e),l=c.on,u=c.value[a]==null?s||=C8(t):void 0;(l!==n||i!==u)&&(r=(n=l).copy()).on(o,i=u),c.on=r}}function fue(e,t,n){var r=(e+=``)==`transform`?uP:S8;return t==null?this.styleTween(e,cue(e,r)).on(`end.style.`+e,C8(e)):typeof t==`function`?this.styleTween(e,uue(e,r,x8(this,`style.`+e,t))).each(due(this._id,e)):this.styleTween(e,lue(e,r,t),n).on(`end.style.`+e,null)}function pue(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function mue(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&pue(e,a,n)),r}return a._value=t,a}function hue(e,t,n){var r=`style.`+(e+=``);if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!=`function`)throw Error();return this.tween(r,mue(e,t,n??``))}function gue(e){return function(){this.textContent=e}}function _ue(e){return function(){var t=e(this);this.textContent=t??``}}function vue(e){return this.tween(`text`,typeof e==`function`?_ue(x8(this,`text`,e)):gue(e==null?``:e+``))}function yue(e){return function(t){this.textContent=e.call(this,t)}}function bue(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&yue(r)),t}return r._value=e,r}function xue(e){var t=`text`;if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!=`function`)throw Error();return this.tween(t,bue(e))}function Sue(){for(var e=this._name,t=this._id,n=T8(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)if(c=o[l]){var u=b8(c,t);_8(c,e,n,l,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new w8(r,this._parents,e,n)}function Cue(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){--i===0&&a()}};n.each(function(){var n=y8(this,r),i=n.on;i!==e&&(t=(e=i).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t}),i===0&&a()})}var wue=0;function w8(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Tue(e){return Q6().transition(e)}function T8(){return++wue}var E8=Q6.prototype;w8.prototype=Tue.prototype={constructor:w8,select:iue,selectAll:aue,selectChild:E8.selectChild,selectChildren:E8.selectChildren,filter:Zle,merge:Qle,selection:sue,transition:Sue,call:E8.call,nodes:E8.nodes,node:E8.node,size:E8.size,empty:E8.empty,each:E8.each,on:tue,attr:Fle,attrTween:Ble,style:fue,styleTween:hue,text:vue,textTween:xue,remove:rue,tween:Ole,delay:Ule,duration:Kle,ease:Jle,easeVarying:Xle,end:Cue,[Symbol.iterator]:E8[Symbol.iterator]};function Eue(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var Due={time:null,delay:0,duration:250,ease:Eue};function Oue(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function kue(e){var t,n;e instanceof w8?(t=e._id,e=e._name):(t=T8(),(n=Due).time=d8(),e=e==null?null:e+``);for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&_8(c,e,t,l,o,n||Oue(c,t));return new w8(r,this._parents,e,t)}Q6.prototype.interrupt=Tle,Q6.prototype.transition=kue;var{abs:Aue,max:jue,min:Mue}=Math;[`w`,`e`].map(D8),[`n`,`s`].map(D8),[`n`,`w`,`e`,`s`,`nw`,`ne`,`sw`,`se`].map(D8);function D8(e){return{type:e}}function O8(e,t,n){this.k=e,this.x=t,this.y=n}O8.prototype={constructor:O8,scale:function(e){return e===1?this:new O8(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new O8(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return`translate(`+this.x+`,`+this.y+`) scale(`+this.k+`)`}};var Nue=new O8(1,0,0);Pue.prototype=O8.prototype;function Pue(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Nue;return e.__zoom}function k8(e){return e?Array.isArray(e)?e[0]:e:``}function A8(e){return typeof e==`string`?parseFloat(e):e||0}function j8(e){return typeof e==`string`?parseFloat(e):e}function Fue(e,t,n,r){let i=k8(t.xAxis),a=k8(t.yAxis),o=Array.isArray(t.series)?t.series[0]:t.series,s=G3(n,i),c=e=>W3(e[i],s)||String(e[i])||`Unknown`;if(!o)return{treemapData:e.map((e,t)=>({name:c(e),size:A8(e[a]),fill:r?.colors&&r.colors[t%r.colors.length]||$3[t%$3.length]})),isNumericSeries:!1,seriesField:o};let l=e.map(e=>j8(e[o])).filter(e=>!isNaN(e)),u=l.length===e.length&&l.every(e=>typeof e==`number`);if(u){let t=CF().domain([Math.min(...l),Math.max(...l)]).range(e6);return{treemapData:e.map(e=>({name:c(e),size:A8(e[a]),fill:t(j8(e[o])),series:String(e[o])})),isNumericSeries:u,seriesField:o}}let d=[...new Set(e.map(e=>String(e[o])))],f=YM().domain(d).range(r?.colors||$3);return{treemapData:e.map(e=>({name:c(e),size:A8(e[a]),fill:f(String(e[o])),series:String(e[o])})),isNumericSeries:u,seriesField:o}}function Iue(e){return typeof e==`boolean`?e?`Active`:`Inactive`:e===`true`||e===`false`?e===`true`?`Active`:`Inactive`:String(e)}function Lue(e,t){let n=e[0],r=Object.keys(n),i=r.find(e=>typeof n[e]==`string`||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`label`)||e.toLowerCase().includes(`category`))||r[0],a=r.find(e=>e.toLowerCase().includes(`size`))||r.find(e=>typeof n[e]==`number`&&e!==i)||r[1];return a?{treemapData:e.map((e,n)=>({name:Iue(e[i]),size:A8(e[a]),fill:t?.colors&&t.colors[n%t.colors.length]||$3[n%$3.length]})),isNumericSeries:!1,seriesField:void 0}:null}function Rue(e,t,n,r){let i=t?.xAxis&&t?.yAxis?Fue(e,t,n,r):Lue(e,r);return i?{...i,treemapData:i.treemapData.filter(e=>e.size!=null&&e.size>0)}:null}function M8(e,t){let n=e.map(e=>j8(e[t]));return{min:Math.min(...n),max:Math.max(...n)}}function N8(e,t){return t?U3(e,t):e.toFixed(2)}function zue(e,t,n,r,i,a){if(!n||!r)return[];if(i){let{min:t,max:n}=M8(e,r);return e6.map((e,r)=>{let i=r/(e6.length-1);return{value:N8(t+(n-t)*i,a),type:`rect`,color:e}})}let o=[...new Set(t.map(e=>e.series).filter(Boolean))];return o.length>1?o.map((e,t)=>({value:e,type:`rect`,color:$3[t%$3.length]})):[]}function Bue(e,t){return!t||typeof e==`string`&&e.includes(`%`)?e:typeof e==`number`?e+60:`calc(${e} + 60px)`}function Vue(e,t){return e===null?.8:e===t?1:.6}function Hue(e,t){return t?U3(e,t):typeof e==`number`?e.toLocaleString():String(e)}function Uue({treemapData:e,colorPalette:t,hoveredIndex:n,setHoveredIndex:r,leftYAxisFormat:i,drillEnabled:a,onDataPointClick:o,queryObject:s,chartConfig:c}){return function(l){let{x:u,y:d,width:f,height:p,index:m,name:h,size:g}=l;return f<20||p<20?null:(0,q.jsxs)(`g`,{children:[(0,q.jsx)(`rect`,{x:u,y:d,width:f,height:p,style:{fill:e[m]?.fill||t?.colors&&t.colors[m%t.colors.length]||$3[m%$3.length],fillOpacity:Vue(n,m),stroke:`#fff`,strokeWidth:2,cursor:a?`pointer`:`default`,pointerEvents:`all`},onMouseEnter:()=>r(m),onMouseLeave:()=>r(null),onClick:a&&o?t=>{t.stopPropagation();let n=e[m];n&&o&&o({dataPoint:n,clickedField:s?.measures?.[0]||c?.yAxis?.[0]||``,xValue:h,position:{x:t.clientX,y:t.clientY},nativeEvent:t})}:void 0}),(0,q.jsx)(`foreignObject`,{x:u,y:d,width:f,height:p,style:{pointerEvents:`none`,overflow:`visible`},children:(0,q.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,padding:`4px`,boxSizing:`border-box`,color:`#ffffff`,textShadow:`0 1px 2px rgba(0,0,0,0.8)`,fontFamily:`system-ui, -apple-system, sans-serif`,overflow:`hidden`},children:[f>40&&p>30&&(0,q.jsx)(`div`,{style:{fontSize:`${Math.max(10,Math.min(f/8,p/8,16))}px`,fontWeight:`600`,textAlign:`center`,lineHeight:`1.2`,marginBottom:f>60&&p>45?`4px`:`0`,wordBreak:`break-word`,hyphens:`auto`},children:h}),f>60&&p>45&&(0,q.jsx)(`div`,{style:{fontSize:`${Math.max(8,Math.min(f/10,p/10,14))}px`,textAlign:`center`,opacity:.9},children:Hue(g,i)})]})})]})}}function Wue({seriesLabel:e,data:t,seriesField:n,leftYAxisFormat:r}){let{min:i,max:a}=M8(t,n);return(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-xs dc:font-semibold text-dc-text-primary dc:mb-2`,children:e}),(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-2`,children:[(0,q.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:N8(i,r)}),(0,q.jsx)(`div`,{className:`dc:h-4 dc:rounded-sm`,style:{width:`200px`,background:`linear-gradient(to right, ${e6.join(`, `)})`}}),(0,q.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:N8(a,r)})]})]})}function Gue({legendPayload:e}){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-wrap dc:justify-center dc:gap-4`,children:e.map((e,t)=>(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-2`,children:[(0,q.jsx)(`div`,{className:`dc:w-3 dc:h-3 rounded-xs`,style:{backgroundColor:e.color}}),(0,q.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:e.value})]},t))})}function Kue({isNumericSeries:e,seriesField:t,seriesLabel:n,legendPayload:r,data:i,leftYAxisFormat:a}){return(0,q.jsx)(`div`,{className:`dc:flex dc:justify-center dc:items-center dc:mt-4 dc:pb-2`,children:e&&t?(0,q.jsx)(Wue,{seriesLabel:n,data:i,seriesField:t,leftYAxisFormat:a}):(0,q.jsx)(Gue,{legendPayload:r})})}var que=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Hv(),[l,u]=(0,z.useState)(null),d=f6();try{let f={showTooltip:n?.showTooltip??!0,showLegend:n?.showLegend??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,q.jsx)(Y3,{height:i,hint:c(`chart.runtime.noDataHint.treemap`)});let p=Rue(e,t,r,a);if(!p)return(0,q.jsx)(X3,{height:i,hint:c(`chart.runtime.configErrorHint.treemapNumeric`)});let{treemapData:m,isNumericSeries:h,seriesField:g}=p;if(m.length===0)return(0,q.jsx)(Y3,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for treemap chart after transformation`});let _=Uue({treemapData:m,colorPalette:a,hoveredIndex:l,setHoveredIndex:u,leftYAxisFormat:f.leftYAxisFormat,drillEnabled:s,onDataPointClick:o,queryObject:r,chartConfig:t}),v=zue(e,m,f.showLegend,g,h,f.leftYAxisFormat),y=f.showLegend&&v.length>0;return(0,q.jsxs)(`div`,{className:`dc:w-full`,style:{height:Bue(i,y)},children:[(0,q.jsx)(R3,{height:y?`calc(100% - 50px)`:`100%`,children:(0,q.jsx)(Uae,{data:m,dataKey:`size`,aspectRatio:4/3,stroke:`#fff`,content:(0,q.jsx)(_,{}),children:f.showTooltip&&(0,q.jsx)(q3,{formatter:f.leftYAxisFormat?(e,t)=>[U3(e,f.leftYAxisFormat),t]:void 0})})}),y&&(0,q.jsx)(Kue,{isNumericSeries:h,seriesField:g,seriesLabel:g?d(g):``,legendPayload:v,data:e,leftYAxisFormat:f.leftYAxisFormat})]})}catch(e){return(0,q.jsx)(Z3,{height:i,chartType:`TreeMap Chart`,error:e})}});function Jue(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var P8=Object.freeze({left:0,top:0,width:16,height:16}),F8=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),I8=Object.freeze({...P8,...F8}),L8=Object.freeze({...I8,body:``,hidden:!1});function Yue(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function R8(e,t){let n=Yue(e,t);for(let r in L8)r in F8?r in e&&!(r in n)&&(n[r]=F8[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Xue(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=R8(r[e]||i[e],a)}return o(t),n.forEach(o),R8(e,a)}function z8(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=Jue(e);for(let i in r){let a=r[i];a&&(t(i,Xue(e,i,a)),n.push(i))}return n}var Zue={provider:``,aliases:{},not_found:{},...P8};function B8(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function V8(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!B8(e,Zue))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!B8(t,L8))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!B8(t,L8))return null}return t}var H8=Object.create(null);function Que(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function U8(e,t){let n=H8[e]||(H8[e]=Object.create(null));return n[t]||(n[t]=Que(e,t))}function W8(e,t){return V8(t)?z8(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function $ue(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var G8=/^[a-z0-9]+(-[a-z0-9]+)*$/,K8=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!q8(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!q8(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!q8(e,n)?null:e}return null},q8=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1,J8=!1;function Y8(e){return typeof e==`boolean`&&(J8=e),J8}function X8(e){let t=typeof e==`string`?K8(e,!0,J8):e;if(t){let e=U8(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function ede(e,t){let n=K8(e,!0,J8);if(!n)return!1;let r=U8(n.provider,n.prefix);return t?$ue(r,n.name,t):(r.missing.add(n.name),!0)}function tde(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),J8&&!t&&!e.prefix){let t=!1;return V8(e)&&(e.prefix=``,z8(e,(e,n)=>{ede(e,n)&&(t=!0)})),t}let n=e.prefix;return q8({prefix:n,name:`a`})?!!W8(U8(t,n),e):!1}var Z8=Object.freeze({width:null,height:null}),Q8=Object.freeze({...Z8,...F8}),nde=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rde=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function $8(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(nde);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=rde.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function ide(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function ade(e,t){return e?`<defs>`+e+`</defs>`+t:t}function ode(e,t,n){let r=ide(e);return ade(r.defs,t+r.content+n)}var sde=e=>e===`unset`||e===`undefined`||e===`none`;function cde(e,t){let n={...I8,...e},r={...Q8,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=ode(a,`<g transform=\"`+t.join(` `)+`\">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=$8(d,c/l)):(u=o===`auto`?c:o,d=s===null?$8(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{sde(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var lde=/\\sid=\"(\\S+)\"/g,ude=`IconifyId`+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),dde=0;function fde(e,t=ude){let n=[],r;for(;r=lde.exec(e);)n.push(r[1]);if(!n.length)return e;let i=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(n=>{let r=typeof t==`function`?t(n):t+(dde++).toString(),a=n.replace(/[.*+?^${}()|[\\]\\\\]/g,`\\\\$&`);e=e.replace(RegExp(`([#;\"])(`+a+`)([\")]|\\\\.[a-z])`,`g`),`$1`+r+i+`$3`)}),e=e.replace(new RegExp(i,`g`),``),e}var e5=Object.create(null);function pde(e,t){e5[e]=t}function t5(e){return e5[e]||e5[``]}function n5(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var r5=Object.create(null),i5=[`https://api.simplesvg.com`,`https://api.unisvg.com`],a5=[];i5.length>0;)i5.length===1||Math.random()>.5?a5.push(i5.shift()):a5.push(i5.pop());r5[``]=n5({resources:[`https://api.iconify.design`].concat(a5)});function mde(e,t){let n=n5(t);return n===null?!1:(r5[e]=n,!0)}function o5(e){return r5[e]}var s5=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function hde(e,t){let n=o5(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function gde(e){return e===404}var _de=(e,t,n)=>{let r=[],i=hde(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function vde(e){if(typeof e==`string`){let t=o5(e);if(t)return t.path}return`/`}var yde={prepare:_de,send:(e,t,n)=>{if(!s5){n(`abort`,424);return}let r=vde(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;s5(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(gde(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function c5(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function bde(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||c5([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var xde=0;function Sde(e,t,n){let r=xde++,i=c5.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function Cde(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=U8(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function wde(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?K8(e,t,n):e;i&&r.push(i)}),r}var Tde={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Ede(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?x():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function l5(e){let t={...Tde,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=Ede(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function u5(){}var d5=Object.create(null);function Dde(e){if(!d5[e]){let t=o5(e);if(!t)return;d5[e]={config:t,redundancy:l5(t)}}return d5[e]}function Ode(e,t,n){let r,i;if(typeof e==`string`){let t=t5(e);if(!t)return n(void 0,424),u5;i=t.send;let a=Dde(e);a&&(r=a.redundancy)}else{let t=n5(e);if(t){r=l5(t);let n=t5(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),u5):r.query(t,i,n)().abort}function f5(){}function kde(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,bde(e)}))}function Ade(e){let t=[],n=[];return e.forEach(e=>{(e.match(G8)?t:n).push(e)}),{valid:t,invalid:n}}function p5(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!W8(e,n).length){r();return}}catch(e){console.error(e)}r(),kde(e)}function m5(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function jde(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){m5(e.loadIcons(r,n,t),t=>{p5(e,r,t)});return}if(i){r.forEach(r=>{m5(i(r,n,t),t=>{p5(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=Ade(r);if(o.length&&p5(e,o,null),!a.length)return;let s=n.match(G8)?t5(t):null;if(!s){p5(e,a,null);return}s.prepare(t,n,a).forEach(n=>{Ode(t,n,t=>{p5(e,n.icons,t)})})}))}var Mde=(e,t)=>{let n=Cde(wde(e,!0,Y8()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,f5)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(U8(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=U8(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&jde(e,t)}),t?Sde(t,n,i):f5};function Nde(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in Z8?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var Pde=/[\\s,]+/;function Fde(e,t){t.split(Pde).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0;break}})}function Ide(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}else if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function Lde(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink=\"http://www.w3.org/1999/xlink\"`;for(let e in t)n+=` `+e+`=\"`+t[e]+`\"`;return`<svg xmlns=\"http://www.w3.org/2000/svg\"`+n+`>`+e+`</svg>`}function Rde(e){return e.replace(/\"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\\s+/g,` `)}function zde(e){return`data:image/svg+xml,`+Rde(e)}function Bde(e){return`url(\"`+zde(e)+`\")`}var h5;function Vde(){try{h5=window.trustedTypes.createPolicy(`iconify`,{createHTML:e=>e})}catch{h5=null}}function Hde(e){return h5===void 0&&Vde(),h5?h5.createHTML(e):e}var g5={...Q8,inline:!1},Ude={xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,\"aria-hidden\":!0,role:`img`},Wde={display:`inline-block`},_5={backgroundColor:`currentColor`},v5={backgroundColor:`transparent`},y5={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},b5={WebkitMask:_5,mask:_5,background:v5};for(let e in b5){let t=b5[e];for(let n in y5)t[e+n]=y5[n]}var Gde={...g5,inline:!0};function x5(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var Kde=(e,t,n)=>{let r=t.inline?Gde:g5,i=Nde(r,t),a=t.mode||`svg`,o={},s=t.style||{},c={...a===`svg`?Ude:{}};if(n){let e=K8(n,!1,!0);if(e){let t=[`iconify`];for(let n of[`provider`,`prefix`])e[n]&&t.push(`iconify--`+e[n]);c.className=t.join(` `)}}for(let e in t){let n=t[e];if(n!==void 0)switch(e){case`icon`:case`style`:case`children`:case`onLoad`:case`mode`:case`ssr`:case`fallback`:break;case`_ref`:c.ref=n;break;case`className`:c[e]=(c[e]?c[e]+` `:``)+n;break;case`inline`:case`hFlip`:case`vFlip`:i[e]=n===!0||n===`true`||n===1;break;case`flip`:typeof n==`string`&&Fde(i,n);break;case`color`:o.color=n;break;case`rotate`:typeof n==`string`?i[e]=Ide(n):typeof n==`number`&&(i[e]=n);break;case`ariaHidden`:case`aria-hidden`:n!==!0&&n!==`true`&&delete c[`aria-hidden`];break;default:r[e]===void 0&&(c[e]=n)}}let l=cde(e,i),u=l.attributes;if(i.inline&&(o.verticalAlign=`-0.125em`),a===`svg`){c.style={...o,...s},Object.assign(c,u);let e=0,n=t.id;return typeof n==`string`&&(n=n.replace(/-/g,`_`)),c.dangerouslySetInnerHTML={__html:Hde(fde(l.body,n?()=>n+`ID`+ e++:`iconifyReact`))},(0,z.createElement)(`svg`,c)}let{body:d,width:f,height:p}=e,m=a===`mask`||(a===`bg`?!1:d.indexOf(`currentColor`)!==-1),h=Lde(d,{...u,width:f+``,height:p+``});return c.style={...o,\"--svg\":Bde(h),width:x5(u.width),height:x5(u.height),...Wde,...m?_5:v5,...s},(0,z.createElement)(`span`,c)};if(Y8(!0),pde(``,yde),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!tde(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;mde(e,r)||console.error(n)}catch{console.error(n)}}}}function S5(e){let[t,n]=(0,z.useState)(!!e.ssr),[r,i]=(0,z.useState)({});function a(t){if(t){let t=e.icon;if(typeof t==`object`)return{name:``,data:t};let n=X8(t);if(n)return{name:t,data:n}}return{name:``}}let[o,s]=(0,z.useState)(a(!!e.ssr));function c(){let e=r.callback;e&&(e(),i({}))}function l(e){if(JSON.stringify(o)!==JSON.stringify(e))return c(),s(e),!0}function u(){var t;let n=e.icon;if(typeof n==`object`){l({name:``,data:n});return}let r=X8(n);l({name:n,data:r})&&(r===void 0?i({callback:Mde([n],u)}):r&&((t=e.onLoad)==null||t.call(e,n)))}(0,z.useEffect)(()=>(n(!0),c),[]),(0,z.useEffect)(()=>{t&&u()},[e.icon,t]);let{name:d,data:f}=o;return f?Kde({...I8,...f},e,d):e.children?e.children:e.fallback?e.fallback:(0,z.createElement)(`span`,{})}var C5=(0,z.forwardRef)((e,t)=>S5({...e,_ref:t}));(0,z.forwardRef)((e,t)=>S5({inline:!0,...e,_ref:t}));var w5={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01\"/><path d=\"M11 12h1v4h1\"/></g>`};function qde(e,t,n,r){let i=Array(r).fill(0),a=n-t;e.forEach(e=>{if(a===0)i[Math.floor(r/2)]++;else{let n=Math.floor((e-t)/a*(r-1));n=Math.max(0,Math.min(r-1,n)),i[n]++}});let o=Math.max(...i),s=e.reduce((e,t)=>e+t,0)/e.length;return{buckets:i,range:a,maxBucketCount:o,average:s,averagePosition:a===0?50:(s-t)/a*100}}function T5({position:e,clamp:t=!1,color:n,zIndex:r,title:i}){return(0,q.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:bottom-0 dc:pointer-events-none`,style:{left:`${t?Math.max(0,Math.min(100,e)):e}%`,transform:`translateX(-50%)`,width:`2px`,backgroundColor:n,opacity:.8,zIndex:r},title:i,children:(0,q.jsx)(`div`,{className:`dc:absolute dc:-top-1`,style:{left:`50%`,transform:`translateX(-50%)`,width:`0`,height:`0`,borderLeft:`4px solid transparent`,borderRight:`4px solid transparent`,borderTop:`6px solid ${n}`}})})}function E5({values:e,min:t,max:n,color:r=`#1f2937`,bucketCount:i=12,height:a=32,formatValue:o=e=>e.toString(),width:s,showAverageIndicator:c=!0,targetValue:l}){let{t:u}=Hv(),{buckets:d,range:f,maxBucketCount:p,average:m,averagePosition:h}=qde(e,t,n,i),g=l!==void 0&&f>0?(l-t)/f*100:null,_={width:s?`${s}px`:`200px`,minWidth:`200px`};return(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center`,children:[(0,q.jsxs)(`div`,{className:`dc:relative dc:flex dc:items-end dc:justify-center dc:space-x-0.5`,style:{height:`${a}px`,..._},children:[d.map((e,t)=>{let n=p>0?e/p:0,i=.1;return(0,q.jsx)(`div`,{className:`dc:flex-1 dc:rounded-t-sm dc:transition-all dc:duration-300 dc:ease-out`,style:{height:`${(e>0?Math.max(i,n):i)*a}px`,backgroundColor:r,opacity:e>0?.7+n*.3:.2},title:`${e} values in this range`},t)}),c&&(0,q.jsx)(T5,{position:h,color:`#ef4444`,zIndex:10,title:`Average: ${o(m)}`}),g!==null&&l!==void 0&&(0,q.jsx)(T5,{position:g,clamp:!0,color:`#10b981`,zIndex:11,title:`Target: ${o(l)}`})]}),(0,q.jsxs)(`div`,{className:`dc:flex dc:justify-between dc:mt-2 dc:text-xs text-dc-text-muted`,style:_,children:[(0,q.jsx)(`span`,{children:o(t)}),(0,q.jsx)(`span`,{children:o(n)})]}),(0,q.jsx)(`div`,{className:`dc:text-center dc:mt-1 dc:text-xs text-dc-text-muted`,children:u(`dataHistogram.average`,{count:e.length})})]})}function Jde(e,t){let n=new Date(e);switch(t.toLowerCase()){case`day`:n.setHours(23,59,59,999);break;case`week`:{let e=6-n.getDay();n.setDate(n.getDate()+e),n.setHours(23,59,59,999);break}case`month`:n.setMonth(n.getMonth()+1,0),n.setHours(23,59,59,999);break;case`quarter`:{let e=n.getMonth(),t=Math.floor(e/3)*3+2;n.setMonth(t+1,0),n.setHours(23,59,59,999);break}case`year`:n.setMonth(11,31),n.setHours(23,59,59,999);break;default:n.setHours(23,59,59,999)}return n}function Yde(e,t,n){if(!e||!t||!n)return!0;let r=e[t];if(!r)return!0;let i=new Date(r);return isNaN(i.getTime())?!0:Jde(i,n)<=new Date}function Xde(e,t){if(!e?.timeDimensions||e.timeDimensions.length===0)return null;if(t){let n=e.timeDimensions.find(e=>e.dimension===t||e.dimension?.includes(t)||t?.includes(e.dimension));if(n?.granularity)return n.granularity}return e.timeDimensions[0]?.granularity||null}function D5(e,t,n,r,i=!1){let a={filteredData:e,excludedIncompletePeriod:!1,skippedLastPeriod:!1,granularity:null};if(e.length<2)return a;let o=Xde(n,t);if(i)return{filteredData:e.slice(0,-1),excludedIncompletePeriod:!1,skippedLastPeriod:!0,granularity:o};if(!r||!t||!n?.timeDimensions||n.timeDimensions.length===0)return{...a,granularity:o};if(!o)return a;let s=e[e.length-1];return Yde(s,t,o)?{...a,granularity:o}:{filteredData:e.slice(0,-1),excludedIncompletePeriod:!0,skippedLastPeriod:!1,granularity:o}}function Zde(e){return e?typeof e==`string`?[e]:Array.isArray(e)?e:[]:[]}function Qde(e,t){if(!e||e.length===0)return[];let n=[...e];return t?n.sort((e,n)=>{let r=e[t],i=n[t];return r<i?-1:+(r>i)}):n}function $de(e,t){return!t||e.length===0?[]:e.map(e=>{if(e[t]!==void 0)return e[t];let n=Object.keys(e).filter(t=>typeof e[t]==`number`&&!isNaN(e[t]));if(n.length>0)return e[n[0]]}).filter(e=>e!=null&&!isNaN(Number(e))).map(e=>Number(e))}function efe(e){return e.length===0?{avg:0,min:0,max:0}:{avg:e.reduce((e,t)=>e+t,0)/e.length,min:Math.min(...e),max:Math.max(...e)}}function O5(e,t){if(t.formatValue)return t.formatValue(e);if(e==null)return`—`;let n=t.decimals??0,r=t.prefix??``,i;return i=Math.abs(e)>=1e9?(e/1e9).toFixed(n)+`B`:Math.abs(e)>=1e6?(e/1e6).toFixed(n)+`M`:Math.abs(e)>=1e3?(e/1e3).toFixed(n)+`K`:e.toFixed(n),r+i}function k5(e,t){return e&&e.length>1?e:t}function tfe(e,t){return e!==void 0&&t&&e>=0&&e<t.length?t[e]:t?.[0]||`#1f2937`}function nfe(e,t,n,r){return e===null?`#6B7280`:e>=0?r?.[t??1]||`#10B981`:r?.[n??7]||`#EF4444`}function A5({widthDivisor:e,heightDivisor:t,minFontSize:n,maxFontSize:r,measureWidth:i,deps:a}){let[o,s]=(0,z.useState)(32),[c,l]=(0,z.useState)(250),u=(0,z.useRef)(null),d=(0,z.useRef)(null);return(0,z.useEffect)(()=>{let a=()=>{if(!u.current)return;let a=u.current.getBoundingClientRect(),o=a.width,c=a.height;if(o<=0||c<=0)return;let f=o/e,p=c/t;s(Math.max(n,Math.min(Math.min(f,p),r))),setTimeout(()=>{if(d.current){let e=d.current.getBoundingClientRect().width;l(i(e,o))}},10)},o=setTimeout(a,50),c=new ResizeObserver(()=>{setTimeout(a,10)});return u.current&&c.observe(u.current),()=>{clearTimeout(o),c.disconnect()}},a),{containerRef:u,valueRef:d,fontSize:o,textWidth:c}}var rfe={muted:{},danger:{backgroundColor:`var(--dc-danger-bg)`,color:`var(--dc-danger)`,borderColor:`var(--dc-danger-border)`},warning:{backgroundColor:`var(--dc-warning-bg)`,color:`var(--dc-warning)`,borderColor:`var(--dc-warning-border)`}};function j5(e){return{height:e===`100%`?`100%`:e,minHeight:e===`100%`?`200px`:void 0}}function M5({height:e,title:t,hint:n,variant:r=`muted`,children:i}){return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{...j5(e),...rfe[r]},children:(0,q.jsxs)(`div`,{className:`dc:text-center${r===`muted`?` text-dc-text-muted`:``}`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:t}),n!=null&&(0,q.jsx)(`div`,{className:`dc:text-xs${r===`muted`?` text-dc-text-secondary`:``}`,children:n}),i]})})}var ife=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Hv(),s=f6(),c=(0,z.useMemo)(()=>Zde(t?.yAxis),[t?.yAxis]),l=c[0]||``,u=r?.timeDimensions?.[0]?.dimension||void 0,d=(0,z.useMemo)(()=>Qde(e,u),[e,u]),{useLastCompletePeriod:f=!0,skipLastPeriod:p=!1}=n,{filteredData:m,excludedIncompletePeriod:h,skippedLastPeriod:g,granularity:_}=(0,z.useMemo)(()=>d.length===0?{filteredData:[],excludedIncompletePeriod:!1,skippedLastPeriod:!1,granularity:void 0}:D5(d,u,r,f,p),[d,u,r,f,p]),v=m,y=(0,z.useMemo)(()=>$de(v,l),[v,l]),{avg:b,min:x,max:S}=(0,z.useMemo)(()=>efe(y),[y]),C=(0,z.useCallback)(e=>O5(e,n),[n]),w=y.length===1?y[0]:b,T=y.length>1,E=(0,z.useMemo)(()=>tfe(n.valueColorIndex,a?.colors),[n.valueColorIndex,a?.colors]),D=(0,z.useMemo)(()=>n6(n?.target||``),[n?.target]),O=D.length>0?D[0]:null,k=O!==null&&y.length>0?Goe(w,O):null,ee=(0,z.useMemo)(()=>nfe(k,n.positiveColorIndex,n.negativeColorIndex,a?.colors),[k,n.positiveColorIndex,n.negativeColorIndex,a?.colors]),{containerRef:te,valueRef:ne,fontSize:A,textWidth:re}=A5({widthDivisor:5,heightDivisor:4,minFontSize:24,maxFontSize:120,measureWidth:(e,t)=>Math.max(e,Math.min(t*.6,300)),deps:[e,t]});return!e||e.length===0?(0,q.jsx)(M5,{height:i,title:o(`chart.runtime.noData`),hint:o(`chart.runtime.noDataHint.kpi`)}):c.length===0?(0,q.jsx)(M5,{height:i,variant:`danger`,title:o(`chart.runtime.configError`),hint:o(`chart.runtime.configErrorHint.noMeasures`)}):y.length===0?(0,q.jsxs)(`div`,{ref:te,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:j5(i),children:[(0,q.jsx)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-3`,style:{fontSize:`14px`,lineHeight:`1.2`},children:s(l)}),(0,q.jsx)(`div`,{className:`dc:font-bold dc:leading-none text-dc-text-muted`,style:{fontSize:`${A}px`},children:`—`}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted dc:mt-2`,children:`No data`})]}):(0,q.jsxs)(`div`,{ref:te,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:j5(i),children:[(0,q.jsxs)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-3 dc:flex dc:items-center dc:justify-center dc:gap-1`,style:{fontSize:`14px`,lineHeight:`1.2`},children:[(0,q.jsx)(`span`,{children:k5(s(l),l)}),(h||g)&&(0,q.jsx)(`span`,{title:g?`Excludes last ${_||`period`}`:`Excludes current incomplete ${_}`,className:`dc:cursor-help`,children:(0,q.jsx)(C5,{icon:w5,className:`dc:w-4 dc:h-4 text-dc-text-muted dc:opacity-70`})})]}),(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:gap-4 dc:mb-3`,children:[(0,q.jsx)(`div`,{ref:ne,className:`dc:font-bold dc:leading-none`,style:{fontSize:`${A}px`,color:E},children:C(w)}),O!==null&&k!==null&&(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-start`,children:[(0,q.jsx)(`div`,{className:`dc:font-semibold`,style:{fontSize:`${Math.max(12,A*.3)}px`,color:ee,lineHeight:`1.2`},children:Koe(k,1)}),(0,q.jsxs)(`div`,{className:`text-dc-text-muted dc:text-xs`,style:{opacity:.7,fontSize:`${Math.max(10,A*.2)}px`},children:[`vs `,C(O)]})]})]}),n.suffix&&!n.formatValue&&(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:text-center`,style:{fontSize:`14px`,lineHeight:`1.2`,opacity:.8},children:n.suffix}),T&&(0,q.jsx)(`div`,{className:`dc:mt-4`,children:(0,q.jsx)(E5,{values:y,min:x,max:S,color:E,formatValue:C,height:24,width:re,targetValue:O||void 0})})]})});function N5(e){return e?Array.isArray(e)?e:[e]:[]}function afe(e,t){let n=[...e];return t?n.sort((e,n)=>{let r=e[t],i=n[t];return r<i?-1:+(r>i)}):n}function ofe(e,t){return e.map(e=>e[t]).filter(e=>e!=null&&!isNaN(Number(e))).map(e=>Number(e))}function sfe(e){let t=e[e.length-1],n=e[e.length-2],r=t-n;return{lastValue:t,absoluteChange:r,percentageChange:n===0?0:r/Math.abs(n)*100,isPositiveChange:r>=0}}function P5(e,t,n){return e!==void 0&&t&&e>=0&&e<t.length?t[e]:n}function cfe({values:e,lastValue:t,positiveColor:n,negativeColor:r,formatValue:i,width:a,height:o}){let s=Math.max(10,Math.floor(a/10)),c=e.length>s?e.slice(-s):e,l=c.map(e=>e-t),u=Math.min(...l,0),d=Math.max(...l,0);if(Math.max(Math.abs(u),Math.abs(d))===0||l.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center bg-dc-bg-secondary dc:rounded-sm dc:border border-dc-border`,style:{width:`${a}px`,height:`${o}px`},children:(0,q.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:`No variance data`})});let f=a-(c.length-1)*2,p=Math.max(4,f/c.length),m=d-u,h=m>0?d/m*100:50;return(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:space-x-2`,children:[(0,q.jsxs)(`div`,{className:`dc:relative`,style:{width:`${a}px`,height:`${o}px`},children:[(0,q.jsx)(`div`,{className:`dc:absolute dc:left-0 dc:right-0`,style:{height:`1px`,top:`${h}%`,backgroundColor:`var(--dc-border)`,zIndex:1}}),l.map((e,t)=>{let a=Math.abs(e)/m,s=Math.max(2,a*(o-4)),l=e>=0,u=t===c.length-1,d=l?n:r;return(0,q.jsx)(`div`,{className:`dc:absolute rounded-xs`,style:{left:`${t*(p+2)}px`,width:`${p}px`,height:`${s}px`,backgroundColor:d,opacity:u?1:.6,...l?{bottom:`${100-h}%`}:{top:`${h}%`},zIndex:2},title:`${i(c[t])}: ${e>=0?`+`:``}${i(e)} vs current`},t)})]}),(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:justify-between dc:text-xs text-dc-text-muted`,style:{height:`${o}px`},children:[(0,q.jsxs)(`span`,{children:[`+`,i(d)]}),(0,q.jsxs)(`span`,{children:[``,i(u)]})]})]})}var lfe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Hv(),s=f6(),{containerRef:c,valueRef:l,fontSize:u,textWidth:d}=A5({widthDivisor:4,heightDivisor:4,minFontSize:28,maxFontSize:140,measureWidth:(e,t)=>{let n=t-100,r=Math.max(e,Math.min(n,t*.7));return Math.max(100,r)},deps:[e,t]});if(!e||e.length===0)return(0,q.jsx)(M5,{height:i,title:o(`chart.runtime.noData`),hint:`No data points to display`});let f=N5(t?.yAxis),p=N5(t?.xAxis);if(f.length===0)return(0,q.jsx)(M5,{height:i,variant:`danger`,title:o(`chart.runtime.configError`),hint:o(`chart.runtime.configErrorHint.noMeasure`)});let m=f[0],h=p[0],g=afe(e,h),{useLastCompletePeriod:_=!0,skipLastPeriod:v=!1}=n,{filteredData:y,excludedIncompletePeriod:b,skippedLastPeriod:x,granularity:S}=D5(g,h,r,_,v),C=ofe(y,m);if(C.length<2)return(0,q.jsx)(M5,{height:i,variant:`warning`,title:o(`chart.runtime.kpiDelta.insufficientData`),hint:o(`chart.runtime.kpiDelta.requiresTwoPoints`),children:(0,q.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.kpiDelta.currentPoints`,{count:C.length})})});let{lastValue:w,absoluteChange:T,percentageChange:E,isPositiveChange:D}=sfe(C),O=e=>O5(e,n),k=P5(n.positiveColorIndex,a?.colors,`#10b981`),ee=P5(n.negativeColorIndex,a?.colors,`#ef4444`),te=D?k:ee;return(0,q.jsxs)(`div`,{ref:c,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:j5(i),children:[(0,q.jsxs)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-2 dc:flex dc:items-center dc:justify-center dc:gap-1`,style:{fontSize:`14px`,lineHeight:`1.2`},children:[(0,q.jsx)(`span`,{children:k5(s(m),m)}),(b||x)&&(0,q.jsx)(`span`,{title:x?`Excludes last ${S||`period`}`:`Excludes current incomplete ${S}`,className:`dc:cursor-help`,children:(0,q.jsx)(C5,{icon:w5,className:`dc:w-4 dc:h-4 text-dc-text-muted dc:opacity-70`})})]}),(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:space-x-4 dc:mb-2`,children:[(0,q.jsx)(`div`,{ref:l,className:`dc:font-bold dc:leading-none`,style:{fontSize:`${u}px`,color:`var(--dc-text)`},children:O(w)}),(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:space-x-1`,children:[(0,q.jsx)(`div`,{className:`dc:font-bold`,style:{color:te,fontSize:`${u*.35}px`},children:D?`▲`:`▼`}),(0,q.jsxs)(`div`,{className:`dc:text-left`,children:[(0,q.jsxs)(`div`,{className:`dc:font-bold dc:leading-tight`,style:{fontSize:`${u*.35}px`,color:te},children:[D?`+`:``,O(T)]}),(0,q.jsxs)(`div`,{className:`dc:font-semibold dc:leading-tight`,style:{fontSize:`${u*.28}px`,color:te,opacity:.8},children:[D?`+`:``,E.toFixed(1),`%`]})]})]})]}),n.suffix&&!n.formatValue&&(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:text-center dc:mb-3`,style:{fontSize:`14px`,lineHeight:`1.2`,opacity:.8},children:n.suffix}),n.showHistogram!==!1&&C.length>2&&(0,q.jsx)(`div`,{className:`dc:mt-2 dc:w-full dc:flex dc:justify-center dc:overflow-hidden`,children:(0,q.jsx)(cfe,{values:C,lastValue:w,positiveColor:k,negativeColor:ee,formatValue:O,width:d,height:64})})]})});function ufe(e){return e?typeof e==`string`?[e]:Array.isArray(e)?e:[]:[]}function dfe(e,t){return e.map(e=>{if(e[t]!==void 0)return e[t];let n=Object.keys(e);if(n.length>0)return e[n[0]]}).filter(e=>e!=null)}function ffe(e){let t=e.map(e=>Number(e)).filter(e=>!isNaN(e));return t.length>0?e.length===1?{mainValue:e[0],min:null,max:null,showStats:!1}:{mainValue:t.reduce((e,t)=>e+t,0)/t.length,min:Math.min(...t),max:Math.max(...t),showStats:!0}:{mainValue:e.length===1?e[0]:e.join(`, `),min:null,max:null,showStats:!1}}function pfe(e,t){if(t.formatValue)return t.formatValue(e);if(e==null)return`—`;let n=t.decimals??2,r=Math.abs(e);return r>=1e9?(e/1e9).toFixed(n)+`B`:r>=1e6?(e/1e6).toFixed(n)+`M`:r>=1e3?(e/1e3).toFixed(n)+`K`:e.toFixed(n)}function mfe(e,t){let{value:n,valueField:r,fieldLabel:i,min:a,max:o,count:s,formatNumber:c}=t;try{let t={value:typeof n==`number`?c(n):String(n),rawValue:n,field:r,fieldLabel:i,min:a===null?``:c(a),max:o===null?``:c(o),count:s};return e.replace(/\\$\\{(\\w+)\\}/g,(e,n)=>n in t?String(t[n]):e)}catch{return String(n)}}function hfe(e,t){return e!==void 0&&t?.colors&&e>=0&&e<t.colors.length?t.colors[e]:t?.colors?.[0]||`#1f2937`}var gfe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i}){let{t:a}=Hv(),[o,s]=(0,z.useState)(28),[c,l]=(0,z.useState)(0),u=(0,z.useRef)(null),d=(0,z.useRef)(null),f=f6();if((0,z.useEffect)(()=>{let e=()=>{if(u.current){let e=u.current.getBoundingClientRect(),t=e.width,n=e.height;if(t>0&&n>0){let e=t/8,r=n/5;s(Math.max(18,Math.min(Math.min(e,r),80)))}}d.current&&l(d.current.getBoundingClientRect().width)},t=setTimeout(e,100),n=new ResizeObserver(()=>{clearTimeout(t),setTimeout(e,50)});return u.current&&n.observe(u.current),()=>{clearTimeout(t),n.disconnect()}},[e,t]),!e||e.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:a(`chart.runtime.noDataHint.kpi`)})]})});let p=ufe(t?.yAxis);if(p.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0,backgroundColor:`var(--dc-danger-bg)`,color:`var(--dc-danger)`,borderColor:`var(--dc-danger-border)`},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:a(`chart.runtime.configErrorHint.noMeasures`)})]})});let m=p[0],h=dfe(e,m);if(h.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0,backgroundColor:`var(--dc-warning-bg)`,color:`var(--dc-warning)`,borderColor:`var(--dc-warning-border)`},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noValidData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:a(`chart.runtime.noValidDataHint.kpiText`)})]})});let{mainValue:g,min:_,max:v,showStats:y}=ffe(h),b=e=>pfe(e,{formatValue:n.formatValue,decimals:n.decimals}),x=mfe(n.template||\"${fieldLabel}: ${value}\",{value:g,valueField:m,fieldLabel:f(m),min:_,max:v,count:h.length,formatNumber:b}),S=hfe(n.valueColorIndex,i);return(0,q.jsxs)(`div`,{ref:u,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0},children:[(0,q.jsx)(`div`,{ref:d,className:`dc:font-bold dc:leading-tight dc:text-center`,style:{fontSize:`${o}px`,color:S},children:x}),y&&_!==null&&v!==null&&(0,q.jsx)(`div`,{className:`dc:mt-4`,children:(0,q.jsx)(E5,{values:h,min:_,max:v,color:S,formatValue:b,height:24,width:c||200})})]})});function F5({measureCount:e,dimensionCount:t}){return e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:t<1?{available:!1,reason:`chart.availability.requiresDimension`}:{available:!0}}function I5({measureCount:e}){return e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:{available:!0}}function L5(e=`chart.option.valueFormat.description`){return{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:e}}function R5(e){return{key:`stackType`,label:`chart.option.stacking.label`,type:`select`,defaultValue:`none`,options:[{value:`none`,label:`chart.option.accentBorder.none`},{value:`normal`,label:`chart.option.stacking.stacked`},{value:`percent`,label:`chart.option.stacking.percent`}],description:e}}var z5,B5,V5,H5,U5=o((()=>{z5={key:`target`,label:`chart.option.target.label`,type:`string`,placeholder:`e.g., 100 or 50,75 for spread`,description:`chart.option.target.description`},B5={key:`connectNulls`,label:`chart.option.connectNulls.label`,type:`boolean`,defaultValue:!1,description:`chart.option.connectNulls.description`},V5={key:`leftYAxisFormat`,label:`chart.option.leftYAxisFormat.label`,type:`axisFormat`,description:`chart.option.leftYAxisFormat.description`},H5={key:`rightYAxisFormat`,label:`chart.option.rightYAxisFormat.label`,type:`axisFormat`,description:`chart.option.rightYAxisFormat.description`}})),_fe=c({barChartConfig:()=>W5}),W5,G5=o((()=>{U5(),W5={clickableElements:{bar:!0},dropZones:[{key:`xAxis`,label:`chart.dropZone.xAxis.label`,description:`chart.dropZone.xAxis.description`,mandatory:!1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.bar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_bar_heights`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.bar.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.dropZone.series.label`,description:`chart.dropZone.series.description`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.bar.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`showAllXLabels`,`hideHeader`],displayOptionsConfig:[R5(`chart.configText.how_to_stack_multiple_bar_series`),z5,V5,H5]}})),vfe=c({lineChartConfig:()=>K5}),K5,q5=o((()=>{U5(),K5={clickableElements:{point:!0},dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_categories`,description:`chart.configText.time_dimensions_or_dimensions_for_x_axis`,mandatory:!0,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.line.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_line_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.line.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.configText.series_multiple_lines`,description:`chart.configText.dimensions_to_create_separate_lines`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.line.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`showAllXLabels`,`hideHeader`],displayOptionsConfig:[B5,z5,{key:`priorPeriodStyle`,label:`chart.option.priorPeriodStyle.label`,type:`select`,defaultValue:`dashed`,options:[{value:`dashed`,label:`chart.option.priorPeriodStyle.dashed`},{value:`dotted`,label:`chart.option.priorPeriodStyle.dotted`},{value:`solid`,label:`chart.option.priorPeriodStyle.solid`}],description:`chart.option.priorPeriodStyle.description`},{key:`priorPeriodOpacity`,label:`chart.option.priorPeriodOpacity.label`,type:`number`,defaultValue:.5,min:.1,max:1,step:.1,description:`chart.option.priorPeriodOpacity.description`},V5,H5]}})),yfe=c({areaChartConfig:()=>J5}),J5,Y5=o((()=>{U5(),J5={dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_categories`,description:`chart.configText.time_dimensions_or_dimensions_for_x_axis`,mandatory:!0,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.area.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_area_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.area.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.configText.series_stack_areas`,description:`chart.configText.dimensions_to_create_stacked_areas`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.area.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`showAllXLabels`,`hideHeader`],displayOptionsConfig:[R5(`chart.configText.how_to_stack_multiple_area_series`),B5,z5,V5,H5]}})),bfe=c({pieChartConfig:()=>X5}),X5,Z5=o((()=>{U5(),X5={clickableElements:{slice:!0},dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimension_for_pie_slices`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.pie.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measure_for_slice_sizes`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.pie.dropZone.yAxis.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`innerRadius`,label:`chart.option.innerRadius.label`,type:`select`,description:`chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style`,defaultValue:`0%`,options:[{value:`0%`,label:`chart.configText.none_pie`},{value:`20%`,label:`chart.configText.20_percent`},{value:`40%`,label:`chart.configText.40_percent`},{value:`60%`,label:`chart.configText.60_percent`},{value:`80%`,label:`chart.configText.80_percent`}]},L5()]}})),xfe=c({scatterChartConfig:()=>Q5}),Q5,$5=o((()=>{Q5={dropZones:[{key:`xAxis`,label:`chart.runtime.axisFormat.xAxis`,description:`chart.configText.measure_or_dimension_for_x_position`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.scatter.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis`,description:`chart.configText.measure_for_y_position`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.scatter.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_color_groups`,description:`chart.configText.dimension_to_color_points_by_category`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.scatter.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.option.xAxisFormat.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.option.yAxisFormat.description`}]}})),Sfe=c({bubbleChartConfig:()=>e7}),e7,t7=o((()=>{e7={dropZones:[{key:`xAxis`,label:`chart.runtime.axisFormat.xAxis`,description:`chart.configText.horizontal_axis_position`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.bubble.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis`,description:`chart.configText.vertical_axis_position`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.bubble.dropZone.yAxis.empty`},{key:`sizeField`,label:`chart.configText.bubble_radius`,description:`chart.configText.size_of_bubbles_based_on_this_measure`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.bubble.dropZone.sizeField.empty`},{key:`series`,label:`chart.configText.bubble_labels`,description:`chart.configText.field_to_use_for_bubble_labels_and_identification`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.bubble.dropZone.series.empty`},{key:`colorField`,label:`chart.configText.bubble_colour`,description:`chart.configText.color_bubbles_by_this_field_optional`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`,`measure`],emptyText:`chart.bubble.dropZone.colorField.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`minBubbleSize`,`maxBubbleSize`,`bubbleOpacity`,`hideHeader`],displayOptionsConfig:[{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.option.xAxisFormat.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_y_axis_and_values`}]}})),Cfe=c({radarChartConfig:()=>n7}),n7,r7=o((()=>{U5(),n7={dropZones:[{key:`xAxis`,label:`chart.configText.axes_categories`,description:`chart.configText.dimensions_for_radar_axes`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.radar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measures_for_radar_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.radar.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_multiple_shapes`,description:`chart.configText.dimensions_to_create_multiple_radar_shapes`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.radar.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[L5()]}})),wfe=c({radialBarChartConfig:()=>i7}),i7,a7=o((()=>{U5(),i7={dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimensions_for_radial_segments`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.radialBar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measures_for_radial_bar_lengths`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.radialBar.dropZone.yAxis.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[L5()]}})),Tfe=c({treemapChartConfig:()=>o7}),o7,s7=o((()=>{U5(),o7={dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimensions_for_treemap_rectangles`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.treemap.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.size`,description:`chart.configText.measure_for_rectangle_sizes`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.treemap.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.color_groups`,description:`chart.configText.dimension_to_color_rectangles_by_category`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.treemap.dropZone.series.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[L5(`chart.configText.number_formatting_for_size_values`)],clickableElements:{cell:!0}}})),Efe=c({dataTableConfig:()=>c7}),c7,l7=o((()=>{c7={dropZones:[{key:`xAxis`,label:`chart.configText.columns`,description:`chart.configText.all_fields_to_display_as_columns`,mandatory:!1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.table.dropZone.xAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_numeric_values`}]}})),Dfe=c({activityGridChartConfig:()=>u7}),u7,d7=o((()=>{u7={dropZones:[{key:`dateField`,label:`chart.configText.time_dimension`,description:`chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout`,mandatory:!0,maxItems:1,acceptTypes:[`timeDimension`],emptyText:`chart.activityGrid.dropZone.dateField.empty`},{key:`valueField`,label:`chart.configText.activity_measure`,description:`chart.configText.measure_used_for_activity_intensity_color_coding`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.activityGrid.dropZone.valueField.empty`}],displayOptions:[`showLabels`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`fitToWidth`,label:`chart.option.fitToWidth.label`,type:`boolean`,defaultValue:!1,description:`chart.option.fitToWidth.description`}],validate:e=>{let{dateField:t,valueField:n}=e;return!t||Array.isArray(t)&&t.length===0?{isValid:!1,message:`chart.activityGrid.validation.timeDimensionRequired`}:!n||Array.isArray(n)&&n.length===0?{isValid:!1,message:`chart.activityGrid.validation.measureRequired`}:{isValid:!0}},clickableElements:{cell:!0}}})),Ofe=c({kpiNumberConfig:()=>f7}),f7,p7=o((()=>{f7={dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_display_as_kpi_number`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiNumber.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`target`,label:`chart.runtime.tooltip.targetValue`,type:`string`,placeholder:`e.g., 100`,description:`chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided`},{key:`prefix`,label:`chart.option.prefix.label`,type:`string`,placeholder:`e.g., $, €, #`,description:`chart.option.prefix.description`},{key:`suffix`,label:`chart.option.suffix.label`,type:`string`,placeholder:`e.g., %, units, items`,description:`chart.option.suffix.description`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:0,min:0,max:10,step:1,description:`chart.option.decimals.description`},{key:`valueColorIndex`,label:`chart.configText.value_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text`},{key:`useLastCompletePeriod`,label:`chart.option.useLastCompletePeriod.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont`},{key:`skipLastPeriod`,label:`chart.option.skipLastPeriod.label`,type:`boolean`,defaultValue:!1,description:`chart.option.skipLastPeriod.description`}],displayOptions:[`hideHeader`]}})),kfe=c({kpiDeltaConfig:()=>m7}),m7,h7=o((()=>{m7={dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_track_changes_for`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiDelta.dropZone.yAxis.empty`},{key:`xAxis`,label:`chart.configText.dimension_optional`,description:`chart.configText.dimension_for_ordering_data_typically_time`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.kpiDelta.dropZone.xAxis.empty`}],displayOptionsConfig:[{key:`prefix`,label:`chart.option.prefix.label`,type:`string`,placeholder:`e.g., $, €, #`,description:`chart.option.prefix.description`},{key:`suffix`,label:`chart.option.suffix.label`,type:`string`,placeholder:`e.g., %, units, items`,description:`chart.option.suffix.description`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:1,min:0,max:10,step:1,description:`chart.option.decimals.description`},{key:`positiveColorIndex`,label:`chart.configText.positive_change_color`,type:`paletteColor`,defaultValue:2,description:`chart.configText.color_for_positive_changes_increases`},{key:`negativeColorIndex`,label:`chart.configText.negative_change_color`,type:`paletteColor`,defaultValue:3,description:`chart.configText.color_for_negative_changes_decreases`},{key:`showHistogram`,label:`chart.option.showHistogram.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showHistogram.description`},{key:`useLastCompletePeriod`,label:`chart.option.useLastCompletePeriod.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee`},{key:`skipLastPeriod`,label:`chart.option.skipLastPeriod.label`,type:`boolean`,defaultValue:!1,description:`chart.option.skipLastPeriod.description`}],displayOptions:[`hideHeader`],validate:e=>!e.yAxis||Array.isArray(e.yAxis)&&e.yAxis.length===0?{isValid:!1,message:`chart.kpiDelta.validation.measureRequired`}:{isValid:!0}}})),Afe=c({kpiTextConfig:()=>g7}),g7,_7=o((()=>{g7={dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_display_in_the_kpi_text_template`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiText.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`template`,label:`chart.configText.text_template`,type:`string`,placeholder:\"e.g., Total Revenue: ${value}\",description:`chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:0,min:0,max:10,step:1,description:`chart.configText.number_of_decimal_places_to_display_for_numeric_values`},{key:`valueColorIndex`,label:`chart.configText.value_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text`}],displayOptions:[`hideHeader`]}})),jfe=c({markdownConfig:()=>v7}),v7,y7=o((()=>{v7={skipQuery:!0,dropZones:[],displayOptionsConfig:[{key:`content`,label:`chart.configText.markdown_content`,type:`string`,placeholder:`# Welcome\n\nAdd your **markdown** content here:\n\n- Lists with bullets\n- [Links](https://example.com)\n- *Italic* and **bold** text\n\n---\n\nUse --- for horizontal rules.`,description:`chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur`},{key:`accentColorIndex`,label:`chart.configText.accent_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links`},{key:`fontSize`,label:`chart.option.fontSize.label`,type:`select`,defaultValue:`medium`,options:[{value:`small`,label:`chart.option.fontSize.small`},{value:`medium`,label:`chart.option.fontSize.medium`},{value:`large`,label:`chart.option.fontSize.large`}],description:`chart.configText.overall_text_size_for_the_markdown_content`},{key:`alignment`,label:`chart.option.alignment.label`,type:`select`,defaultValue:`left`,options:[{value:`left`,label:`chart.option.accentBorder.left`},{value:`center`,label:`chart.option.alignment.center`},{value:`right`,label:`chart.option.alignment.right`}],description:`chart.configText.horizontal_alignment_of_the_markdown_content`},{key:`hideHeader`,label:`chart.option.hideHeader.label`,type:`boolean`,defaultValue:!0,description:`chart.option.hideHeader.description`},{key:`transparentBackground`,label:`chart.option.transparentBackground.label`,type:`boolean`,defaultValue:!1,description:`chart.option.transparentBackground.description`},{key:`autoHeight`,label:`chart.option.autoHeight.label`,type:`boolean`,defaultValue:!0,description:`chart.option.autoHeight.description`},{key:`accentBorder`,label:`chart.option.accentBorder.label`,type:`select`,defaultValue:`none`,options:[{value:`none`,label:`chart.option.accentBorder.none`},{value:`left`,label:`chart.option.accentBorder.left`},{value:`top`,label:`chart.option.accentBorder.top`},{value:`bottom`,label:`chart.option.accentBorder.bottom`}],description:`chart.configText.add_an_accent_colored_border_on_one_side_of_the_content`}]}})),Mfe=c({funnelChartConfig:()=>b7}),b7,x7=o((()=>{b7={dropZones:[{key:`xAxis`,label:`chart.configText.step_name`,description:`chart.configText.step_names_auto_populated_from_funnel_steps`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.funnel.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.step_count`,description:`chart.configText.count_at_each_step_auto_calculated`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.funnel.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`funnelStyle`,label:`chart.option.funnelStyle.label`,type:`buttonGroup`,defaultValue:`bars`,options:[{value:`bars`,label:`chart.option.funnelStyle.bars`},{value:`funnel`,label:`chart.option.funnelStyle.funnel`}],description:`chart.configText.visualization_style`},{key:`funnelOrientation`,label:`chart.option.funnelOrientation.label`,type:`buttonGroup`,defaultValue:`horizontal`,options:[{value:`horizontal`,label:`chart.option.funnelOrientation.horizontal`},{value:`vertical`,label:`chart.option.funnelOrientation.vertical`}]},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!1,description:`chart.option.hideSummaryFooter.description`},{key:`showFunnelConversion`,label:`chart.option.showConversion.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showConversion.description`},{key:`showFunnelAvgTime`,label:`chart.option.showAvgTime.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showAvgTime.description`},{key:`showFunnelMedianTime`,label:`chart.option.showMedianTime.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showMedianTime.description`},{key:`showFunnelP90Time`,label:`chart.option.showP90Time.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showP90Time.description`}]}})),Nfe=c({sankeyChartConfig:()=>S7}),S7,C7=o((()=>{S7={dropZones:[{key:`xAxis`,label:`chart.configText.event_type`,description:`chart.configText.event_dimension_that_categorizes_flow_nodes`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.sankey.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.flow_count`,description:`chart.configText.count_of_entities_following_each_path`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.sankey.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`linkOpacity`,label:`chart.option.linkOpacity.label`,type:`buttonGroup`,defaultValue:`0.5`,options:[{value:`0.3`,label:`chart.option.linkOpacity.light`},{value:`0.5`,label:`chart.option.fontSize.medium`},{value:`0.7`,label:`chart.option.linkOpacity.dark`}],description:`chart.configText.opacity_of_flow_links`},{key:`showNodeLabels`,label:`chart.option.showNodeLabels.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showNodeLabels.description`},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.hide_the_statistics_footer_below_the_chart`}]}})),Pfe=c({sunburstChartConfig:()=>w7}),w7,T7=o((()=>{w7={dropZones:[{key:`xAxis`,label:`chart.configText.event_type`,description:`chart.configText.event_dimension_that_categorizes_flow_nodes`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.sunburst.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.flow_count`,description:`chart.configText.count_of_entities_following_each_path`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.sunburst.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`innerRadius`,label:`chart.option.innerRadius.label`,type:`number`,defaultValue:40,min:0,max:100,step:10,description:`chart.configText.size_of_the_center_hole_0_for_full_circle`},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.hide_the_statistics_footer_below_the_chart`}]}})),Ffe=c({heatmapChartConfig:()=>E7}),E7,D7=o((()=>{E7={dropZones:[{key:`xAxis`,label:`chart.configText.columns_x_axis`,description:`chart.configText.dimension_for_column_categories`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.heatmap.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.rows_y_axis`,description:`chart.configText.dimension_for_row_categories`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.heatmap.dropZone.yAxis.empty`},{key:`valueField`,label:`chart.configText.value_color_intensity`,description:`chart.configText.measure_that_determines_cell_color`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.heatmap.dropZone.valueField.empty`}],displayOptions:[`showLegend`,`showTooltip`],displayOptionsConfig:[{key:`showLabels`,label:`chart.option.showLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showLabels.description`},{key:`cellShape`,label:`chart.option.cellShape.label`,type:`select`,defaultValue:`rect`,options:[{value:`rect`,label:`chart.option.cellShape.rectangle`},{value:`circle`,label:`chart.option.cellShape.circle`}]},{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_x_axis_labels`},{key:`yAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_y_axis_labels`},{key:`valueFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_cell_values_and_legend`}],validate:e=>e.xAxis?.length?e.yAxis?.length?e.valueField?.length?{isValid:!0}:{isValid:!1,message:`chart.heatmap.validation.valueRequired`}:{isValid:!1,message:`chart.heatmap.validation.yAxisRequired`}:{isValid:!1,message:`chart.heatmap.validation.xAxisRequired`}}})),Ife=c({retentionHeatmapConfig:()=>O7}),O7,k7=o((()=>{O7={dropZones:[],displayOptionsConfig:[{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_the_color_intensity_legend`},{key:`showTooltip`,label:`chart.option.showTooltip.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTooltip.description`}]}})),Lfe=c({retentionCombinedConfig:()=>A7}),A7,j7=o((()=>{A7={dropZones:[],displayOptionsConfig:[{key:`retentionDisplayMode`,label:`chart.option.retentionDisplayMode.label`,type:`select`,defaultValue:`line`,options:[{value:`line`,label:`chart.option.retentionDisplayMode.lineChart`},{value:`heatmap`,label:`chart.option.retentionDisplayMode.heatmapTable`},{value:`combined`,label:`chart.option.retentionDisplayMode.combined`}],description:`chart.configText.choose_how_to_visualize_retention_data`},{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_the_legend_for_breakdown_segments`},{key:`showGrid`,label:`chart.option.showGrid.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showGrid.description`},{key:`showTooltip`,label:`chart.option.showTooltip.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTooltip.description`}]}})),Rfe=c({boxPlotChartConfig:()=>M7}),M7,N7=o((()=>{M7={displayOptions:[`hideHeader`],dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_groups`,description:`chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.boxPlot.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis_measures`,description:`chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q`,mandatory:!0,maxItems:5,acceptTypes:[`measure`],emptyText:`chart.boxPlot.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_value_axis`}]}})),zfe=c({waterfallChartConfig:()=>P7}),P7,F7=o((()=>{P7={clickableElements:{bar:!0},displayOptions:[`showTooltip`,`hideHeader`],dropZones:[{key:`xAxis`,label:`chart.dropZone.xAxis.label`,description:`chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.waterfall.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis_value`,description:`chart.configText.single_measure_whose_values_are_summed_cumulatively`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.waterfall.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`showTotal`,label:`chart.option.showTotal.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTotal.description`},{key:`showConnectorLine`,label:`chart.option.showConnectorLine.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showConnectorLine.description`},{key:`showDataLabels`,label:`chart.option.showDataLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.configText.display_the_value_above_each_bar_segment`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_y_axis`}]}})),Bfe=c({candlestickChartConfig:()=>I7}),I7,L7=o((()=>{I7={clickableElements:{bar:!0},displayOptions:[`hideHeader`],dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_category`,description:`chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol`,mandatory:!0,maxItems:1,acceptTypes:[`timeDimension`,`dimension`],emptyText:`chart.candlestick.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.ohlc_measures_open_close_high_low`,description:`chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.candlestick.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`rangeMode`,label:`chart.option.rangeMode.label`,type:`select`,defaultValue:`ohlc`,options:[{value:`ohlc`,label:`chart.option.rangeMode.ohlc`},{value:`range`,label:`chart.option.rangeMode.range`}],description:`chart.option.rangeMode.description`},{key:`bullColor`,label:`chart.option.bullColor.label`,type:`color`,defaultValue:`#22c55e`,description:`chart.option.bullColor.description`},{key:`bearColor`,label:`chart.option.bearColor.label`,type:`color`,defaultValue:`#ef4444`,description:`chart.option.bearColor.description`},{key:`showWicks`,label:`chart.option.showWicks.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showWicks.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_price_axis`}]}})),Vfe=c({measureProfileChartConfig:()=>R7}),R7,z7=o((()=>{R7={displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],dropZones:[{key:`yAxis`,label:`chart.configText.measures_x_axis_order`,description:`chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.measureProfile.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_split_into_multiple_lines`,description:`chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.measureProfile.dropZone.series.empty`}],displayOptionsConfig:[{key:`showReferenceLineAtZero`,label:`chart.option.showReferenceLineAtZero.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showReferenceLineAtZero.description`},{key:`showDataLabels`,label:`chart.option.showDataLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.configText.display_value_at_each_data_point`},{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_series_legend_only_visible_with_a_series_dimension`},{key:`lineType`,label:`chart.option.lineType.label`,type:`select`,defaultValue:`monotone`,options:[{value:`monotone`,label:`chart.option.lineType.smooth`},{value:`linear`,label:`chart.option.lineType.linear`},{value:`step`,label:`chart.option.lineType.step`}],description:`chart.option.lineType.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_y_axis`}]}})),Hfe=c({gaugeChartConfig:()=>B7}),B7,V7=o((()=>{B7={clickableElements:{},displayOptions:[`hideHeader`],dropZones:[{key:`yAxis`,label:`chart.configText.value_measure`,description:`chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used`,mandatory:!0,maxItems:2,acceptTypes:[`measure`],emptyText:`chart.gauge.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`minValue`,label:`chart.option.minValue.label`,type:`number`,defaultValue:0,description:`chart.option.minValue.description`},{key:`maxValue`,label:`chart.option.maxValue.label`,type:`number`,description:`chart.option.maxValue.description`},{key:`thresholds`,label:`chart.configText.threshold_bands`,type:`string`,placeholder:`[{\"value\":0.33,\"color\":\"#22c55e\"},{\"value\":0.66,\"color\":\"#f59e0b\"},{\"value\":1,\"color\":\"#ef4444\"}]`,description:`chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers`},{key:`showCenterLabel`,label:`chart.option.showCentreLabel.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showCentreLabel.description`},{key:`showPercentage`,label:`chart.option.showPercentage.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showPercentage.description`},{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_displayed_value_and_axis_labels`}]}}));G5(),q5(),Y5(),Z5(),$5(),t7(),r7(),a7(),s7(),l7(),d7(),p7(),h7(),_7(),y7(),x7(),C7(),T7(),D7(),k7(),j7(),N7(),F7(),L7(),z7(),V7(),U5();var H7={packageName:`recharts`,installCommand:`npm install recharts`},U7={bar:{label:`chart.bar.label`,icon:`chartBar`,description:`chart.bar.description`,useCase:`chart.bar.useCase`,isAvailable:F5,dependencies:H7,config:async()=>(await iv(async()=>{let{barChartConfig:e}=await Promise.resolve().then(()=>(G5(),_fe));return{barChartConfig:e}},void 0,import.meta.url)).barChartConfig},line:{label:`chart.line.label`,icon:`chartLine`,description:`chart.line.description`,useCase:`chart.line.useCase`,isAvailable:F5,dependencies:H7,config:async()=>(await iv(async()=>{let{lineChartConfig:e}=await Promise.resolve().then(()=>(q5(),vfe));return{lineChartConfig:e}},void 0,import.meta.url)).lineChartConfig},area:{label:`chart.area.label`,icon:`chartArea`,description:`chart.area.description`,useCase:`chart.area.useCase`,isAvailable:F5,dependencies:H7,config:async()=>(await iv(async()=>{let{areaChartConfig:e}=await Promise.resolve().then(()=>(Y5(),yfe));return{areaChartConfig:e}},void 0,import.meta.url)).areaChartConfig},pie:{label:`chart.pie.label`,icon:`chartPie`,description:`chart.pie.description`,useCase:`chart.pie.useCase`,isAvailable:F5,dependencies:H7,config:async()=>(await iv(async()=>{let{pieChartConfig:e}=await Promise.resolve().then(()=>(Z5(),bfe));return{pieChartConfig:e}},void 0,import.meta.url)).pieChartConfig},scatter:{label:`chart.scatter.label`,icon:`chartScatter`,description:`chart.scatter.description`,useCase:`chart.scatter.useCase`,isAvailable:({measureCount:e,dimensionCount:t})=>e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:e<2&&t<1?{available:!1,reason:`chart.availability.scatter`}:{available:!0},dependencies:H7,config:async()=>(await iv(async()=>{let{scatterChartConfig:e}=await Promise.resolve().then(()=>($5(),xfe));return{scatterChartConfig:e}},void 0,import.meta.url)).scatterChartConfig},bubble:{label:`chart.bubble.label`,icon:`chartBubble`,description:`chart.bubble.description`,useCase:`chart.bubble.useCase`,isAvailable:({measureCount:e,dimensionCount:t})=>e<2?{available:!1,reason:`chart.availability.requiresTwoMeasures`}:t<1?{available:!1,reason:`chart.availability.bubble`}:{available:!0},dependencies:H7,config:async()=>(await iv(async()=>{let{bubbleChartConfig:e}=await Promise.resolve().then(()=>(t7(),Sfe));return{bubbleChartConfig:e}},void 0,import.meta.url)).bubbleChartConfig},radar:{label:`chart.radar.label`,icon:`chartRadar`,description:`chart.radar.description`,useCase:`chart.radar.useCase`,isAvailable:F5,dependencies:H7,config:async()=>(await iv(async()=>{let{radarChartConfig:e}=await Promise.resolve().then(()=>(r7(),Cfe));return{radarChartConfig:e}},void 0,import.meta.url)).radarChartConfig},radialBar:{label:`chart.radialBar.label`,icon:`chartRadialBar`,description:`chart.radialBar.description`,useCase:`chart.radialBar.useCase`,isAvailable:F5,dependencies:H7,config:async()=>(await iv(async()=>{let{radialBarChartConfig:e}=await Promise.resolve().then(()=>(a7(),wfe));return{radialBarChartConfig:e}},void 0,import.meta.url)).radialBarChartConfig},treemap:{label:`chart.treemap.label`,icon:`chartTreemap`,description:`chart.treemap.description`,useCase:`chart.treemap.useCase`,isAvailable:F5,dependencies:H7,config:async()=>(await iv(async()=>{let{treemapChartConfig:e}=await Promise.resolve().then(()=>(s7(),Tfe));return{treemapChartConfig:e}},void 0,import.meta.url)).treemapChartConfig},table:{label:`chart.table.label`,icon:`chartTable`,description:`chart.table.description`,useCase:`chart.table.useCase`,config:async()=>(await iv(async()=>{let{dataTableConfig:e}=await Promise.resolve().then(()=>(l7(),Efe));return{dataTableConfig:e}},void 0,import.meta.url)).dataTableConfig},activityGrid:{label:`chart.activityGrid.label`,icon:`chartActivityGrid`,description:`chart.activityGrid.description`,useCase:`chart.activityGrid.useCase`,isAvailable:({measureCount:e,timeDimensionCount:t})=>e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:t<1?{available:!1,reason:`chart.availability.requiresTimeDimension`}:{available:!0},config:async()=>(await iv(async()=>{let{activityGridChartConfig:e}=await Promise.resolve().then(()=>(d7(),Dfe));return{activityGridChartConfig:e}},void 0,import.meta.url)).activityGridChartConfig},kpiNumber:{label:`chart.kpiNumber.label`,icon:`chartKpiNumber`,description:`chart.kpiNumber.description`,useCase:`chart.kpiNumber.useCase`,isAvailable:I5,config:async()=>(await iv(async()=>{let{kpiNumberConfig:e}=await Promise.resolve().then(()=>(p7(),Ofe));return{kpiNumberConfig:e}},void 0,import.meta.url)).kpiNumberConfig},kpiDelta:{label:`chart.kpiDelta.label`,icon:`chartKpiDelta`,description:`chart.kpiDelta.description`,useCase:`chart.kpiDelta.useCase`,isAvailable:F5,config:async()=>(await iv(async()=>{let{kpiDeltaConfig:e}=await Promise.resolve().then(()=>(h7(),kfe));return{kpiDeltaConfig:e}},void 0,import.meta.url)).kpiDeltaConfig},kpiText:{label:`chart.kpiText.label`,icon:`chartKpiText`,description:`chart.kpiText.description`,useCase:`chart.kpiText.useCase`,isAvailable:I5,config:async()=>(await iv(async()=>{let{kpiTextConfig:e}=await Promise.resolve().then(()=>(_7(),Afe));return{kpiTextConfig:e}},void 0,import.meta.url)).kpiTextConfig},markdown:{label:`chart.markdown.label`,icon:`chartMarkdown`,description:`chart.markdown.description`,useCase:`chart.markdown.useCase`,config:async()=>(await iv(async()=>{let{markdownConfig:e}=await Promise.resolve().then(()=>(y7(),jfe));return{markdownConfig:e}},void 0,import.meta.url)).markdownConfig},funnel:{label:`chart.funnel.label`,icon:`chartFunnel`,description:`chart.funnel.description`,useCase:`chart.funnel.useCase`,dependencies:H7,config:async()=>(await iv(async()=>{let{funnelChartConfig:e}=await Promise.resolve().then(()=>(x7(),Mfe));return{funnelChartConfig:e}},void 0,import.meta.url)).funnelChartConfig},sankey:{label:`chart.sankey.label`,icon:`chartSankey`,description:`chart.sankey.description`,useCase:`chart.sankey.useCase`,dependencies:H7,config:async()=>(await iv(async()=>{let{sankeyChartConfig:e}=await Promise.resolve().then(()=>(C7(),Nfe));return{sankeyChartConfig:e}},void 0,import.meta.url)).sankeyChartConfig},sunburst:{label:`chart.sunburst.label`,icon:`chartSunburst`,description:`chart.sunburst.description`,useCase:`chart.sunburst.useCase`,dependencies:H7,config:async()=>(await iv(async()=>{let{sunburstChartConfig:e}=await Promise.resolve().then(()=>(T7(),Pfe));return{sunburstChartConfig:e}},void 0,import.meta.url)).sunburstChartConfig},heatmap:{label:`chart.heatmap.label`,icon:`chartHeatmap`,description:`chart.heatmap.description`,useCase:`chart.heatmap.useCase`,isAvailable:({measureCount:e,dimensionCount:t})=>e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:t<2?{available:!1,reason:`chart.availability.requiresTwoDimensions`}:{available:!0},dependencies:{packageName:`@nivo/heatmap`,installCommand:`npm install @nivo/heatmap`},config:async()=>(await iv(async()=>{let{heatmapChartConfig:e}=await Promise.resolve().then(()=>(D7(),Ffe));return{heatmapChartConfig:e}},void 0,import.meta.url)).heatmapChartConfig},retentionHeatmap:{label:`chart.retentionHeatmap.label`,icon:`chartRetention`,description:`chart.retentionHeatmap.description`,useCase:`chart.retentionHeatmap.useCase`,config:async()=>(await iv(async()=>{let{retentionHeatmapConfig:e}=await Promise.resolve().then(()=>(k7(),Ife));return{retentionHeatmapConfig:e}},void 0,import.meta.url)).retentionHeatmapConfig},retentionCombined:{label:`chart.retentionCombined.label`,icon:`chartRetention`,description:`chart.retentionCombined.description`,useCase:`chart.retentionCombined.useCase`,config:async()=>(await iv(async()=>{let{retentionCombinedConfig:e}=await Promise.resolve().then(()=>(j7(),Lfe));return{retentionCombinedConfig:e}},void 0,import.meta.url)).retentionCombinedConfig},boxPlot:{label:`chart.boxPlot.label`,icon:`chartBoxPlot`,description:`chart.boxPlot.description`,useCase:`chart.boxPlot.useCase`,isAvailable:F5,config:async()=>(await iv(async()=>{let{boxPlotChartConfig:e}=await Promise.resolve().then(()=>(N7(),Rfe));return{boxPlotChartConfig:e}},void 0,import.meta.url)).boxPlotChartConfig},waterfall:{label:`chart.waterfall.label`,icon:`chartWaterfall`,description:`chart.waterfall.description`,useCase:`chart.waterfall.useCase`,isAvailable:F5,dependencies:H7,config:async()=>(await iv(async()=>{let{waterfallChartConfig:e}=await Promise.resolve().then(()=>(F7(),zfe));return{waterfallChartConfig:e}},void 0,import.meta.url)).waterfallChartConfig},candlestick:{label:`chart.candlestick.label`,icon:`chartCandlestick`,description:`chart.candlestick.description`,useCase:`chart.candlestick.useCase`,isAvailable:({measureCount:e,dimensionCount:t})=>e<2?{available:!1,reason:`chart.availability.requiresTwoMeasures`}:t<1?{available:!1,reason:`chart.availability.requiresDimension`}:{available:!0},config:async()=>(await iv(async()=>{let{candlestickChartConfig:e}=await Promise.resolve().then(()=>(L7(),Bfe));return{candlestickChartConfig:e}},void 0,import.meta.url)).candlestickChartConfig},measureProfile:{label:`chart.measureProfile.label`,icon:`chartMeasureProfile`,description:`chart.measureProfile.description`,useCase:`chart.measureProfile.useCase`,isAvailable:({measureCount:e})=>e<2?{available:!1,reason:`chart.availability.requiresTwoMeasures`}:{available:!0},dependencies:H7,config:async()=>(await iv(async()=>{let{measureProfileChartConfig:e}=await Promise.resolve().then(()=>(z7(),Vfe));return{measureProfileChartConfig:e}},void 0,import.meta.url)).measureProfileChartConfig},gauge:{label:`chart.gauge.label`,icon:`chartGauge`,description:`chart.gauge.description`,useCase:`chart.gauge.useCase`,isAvailable:I5,dependencies:{packageName:`d3-shape`,installCommand:`npm install d3-shape`},config:async()=>(await iv(async()=>{let{gaugeChartConfig:e}=await Promise.resolve().then(()=>(V7(),Hfe));return{gaugeChartConfig:e}},void 0,import.meta.url)).gaugeChartConfig}},Ufe=new Map;function Wfe(e){return Ufe.get(e)??U7[e]}function Gfe(e,t){return{...t,label:e.label,description:e.description,useCase:e.useCase,isAvailable:e.isAvailable}}var Kfe={bar:W5,line:K5,area:J5,pie:X5,scatter:Q5,bubble:e7,radar:n7,radialBar:i7,treemap:o7,table:c7,activityGrid:u7,kpiNumber:f7,kpiDelta:m7,kpiText:g7,markdown:v7,funnel:b7,sankey:S7,sunburst:w7,heatmap:E7,retentionHeatmap:O7,retentionCombined:A7,boxPlot:M7,waterfall:P7,candlestick:I7,measureProfile:R7,gauge:B7},qfe=Object.fromEntries(Object.keys(U7).map(e=>[e,Gfe(U7[e],Kfe[e])])),Jfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m4.5 19.5l15-15m-15 0l15 15\"/>`},Yfe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>`},Xfe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732Z\"/>`},Zfe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 7l-.867 12.142A2 2 0 0 1 16.138 21H7.862a2 2 0 0 1-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v3M4 7h16\"/>`},W7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.5 12c0-1.232.046-2.453.138-3.662a4.006 4.006 0 0 1 3.7-3.7a48.678 48.678 0 0 1 7.324 0a4.006 4.006 0 0 1 3.7 3.7c.017.22.032.441.046.662M4.5 12l-3-3m3 3l3-3m12 3c0 1.232-.046 2.453-.138 3.662a4.006 4.006 0 0 1-3.7 3.7a48.657 48.657 0 0 1-7.324 0a4.006 4.006 0 0 1-3.7-3.7c-.017-.22-.032-.441-.046-.662M19.5 12l-3 3m3-3l3 3\"/>`},Qfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192c.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z\"/>`},$fe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 7v8a2 2 0 0 0 2 2h6M8 7V5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V15a2 2 0 0 1-2 2h-2M8 7H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2\"/>`},epe={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c.996.608 2.296.07 2.572-1.065Z\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>`},tpe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 3c2.755 0 5.455.232 8.083.678c.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/>`},npe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 1 1 0-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 1 0 5.367-2.684a3 3 0 0 0-5.367 2.684Zm0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684Z\"/>`},G7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>`},K7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>`},rpe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>`},ipe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>`},ape={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m21 21l-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/>`},ope={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/>`},spe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12l2 2l4-4m6 2a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>`},cpe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 10.5v3.75m-9.303 3.376C1.83 19.126 2.914 21 4.645 21h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 4.88c-.866-1.501-3.032-1.501-3.898 0L2.697 17.626ZM12 17.25h.007v.008H12v-.008Z\"/>`},lpe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4m0 4h.01M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>`},upe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3Z\"/>`},dpe={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/><path d=\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7c-4.477 0-8.268-2.943-9.542-7Z\"/></g>`},fpe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12c1.292 4.338 5.31 7.5 10.066 7.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/>`},ppe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75\"/>`},mpe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25\"/>`},hpe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5\"/>`},gpe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1\"/>`},_pe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>`},vpe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0a4 4 0 0 1 8 0Z\"/>`},ype={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 0 1 8.646 3.646A9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646Z\"/>`},bpe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6.75 12a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Z\"/>`},xpe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z\"/>`},Spe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253\"/>`},Cpe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5\"/>`},wpe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88a1.124 1.124 0 0 1 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z\"/>`},Tpe={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 9a2 2 0 0 1 2-2h.93a2 2 0 0 0 1.664-.89l.812-1.22A2 2 0 0 1 10.07 4h3.86a2 2 0 0 1 1.664.89l.812 1.22A2 2 0 0 0 18.07 7H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>`},Epe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3\"/>`},Dpe={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" d=\"M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826c-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814c.16-.432.248-.9.248-1.388Z\"/>`},Ope={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" d=\"M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 1 1 2.5 0v7.5Zm-10 4.25v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826c.204-.54-.166-1.174-.744-1.174h-2.52c-1.242 0-2.26-1.01-2.146-2.247c.193-2.08.652-4.082 1.341-5.974C2.752 3.678 3.833 3 5.005 3h3.192a3 3 0 0 1 1.342.317l2.733 1.366A3 3 0 0 0 13.613 5h1.292v7h-.963c-.684 0-1.258.482-1.612 1.068a4.012 4.012 0 0 1-2.165 1.73c-.433.143-.854.386-1.012.814c-.16.432-.248.9-.248 1.388Z\"/>`},kpe={width:20,height:20,body:`<path fill=\"currentColor\" d=\"M2 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-5Zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7Zm6-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4Z\"/>`},Ape={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.707 9.293a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7A.997.997 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293l7 7ZM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z\" clip-rule=\"evenodd\"/>`},jpe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a1 1 0 0 0-1 1v1H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a1 1 0 1 0-2 0v1H7V3a1 1 0 0 0-1-1Zm0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H6Z\" clip-rule=\"evenodd\"/>`},Mpe={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2.5 3A1.5 1.5 0 0 0 1 4.5v4A1.5 1.5 0 0 0 2.5 10h6A1.5 1.5 0 0 0 10 8.5v-4A1.5 1.5 0 0 0 8.5 3h-6Zm11 2A1.5 1.5 0 0 0 12 6.5v7a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 17.5 5h-4Zm-10 7A1.5 1.5 0 0 0 2 13.5v2A1.5 1.5 0 0 0 3.5 17h6a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 9.5 12h-6Z\" clip-rule=\"evenodd\"/>`},Npe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664l-3-2Z\" clip-rule=\"evenodd\"/>`},Ppe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/>`},Fpe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 2a1 1 0 0 1 1 1v1.323l3.954 1.582l1.599-.8a1 1 0 0 1 .894 1.79l-1.233.616l1.738 5.42a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 15 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 5 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.738-5.42l-1.233-.617a1 1 0 0 1 .894-1.788l1.599.799L9 4.323V3a1 1 0 0 1 1-1Zm-5 8.274l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L5 10.274Zm10 0l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L15 10.274Z\" clip-rule=\"evenodd\"/>`},q7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z\" clip-rule=\"evenodd\"/>`},J7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z\" clip-rule=\"evenodd\"/>`},Y7={close:{icon:Jfe,category:`action`},add:{icon:Yfe,category:`action`},edit:{icon:Xfe,category:`action`},delete:{icon:Zfe,category:`action`},refresh:{icon:W7,category:`action`},copy:{icon:Qfe,category:`action`},duplicate:{icon:$fe,category:`action`},settings:{icon:epe,category:`action`},filter:{icon:tpe,category:`action`},share:{icon:npe,category:`action`},expand:{icon:K7,category:`action`},collapse:{icon:G7,category:`action`},search:{icon:ape,category:`action`},menu:{icon:ope,category:`action`},run:{icon:Npe,category:`action`},check:{icon:Ppe,category:`action`},link:{icon:gpe,category:`action`},eye:{icon:dpe,category:`action`},eyeOff:{icon:fpe,category:`action`},adjustments:{icon:ppe,category:`action`},desktop:{icon:mpe,category:`action`},table:{icon:hpe,category:`action`},sun:{icon:vpe,category:`action`},moon:{icon:ype,category:`action`},ellipsisHorizontal:{icon:bpe,category:`action`},documentText:{icon:xpe,category:`action`},bookOpen:{icon:Spe,category:`action`},codeBracket:{icon:Cpe,category:`action`},swatch:{icon:wpe,category:`action`},camera:{icon:Tpe,category:`action`},thumbUp:{icon:Dpe,category:`action`},thumbDown:{icon:Ope,category:`action`},schemaGraph:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 20l-5.447-2.724A1 1 0 0 1 3 16.382V5.618a1 1 0 0 1 1.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0 0 21 18.382V7.618a1 1 0 0 0-.553-.894L15 4m0 13V4m0 0L9 7\"/>`},category:`action`},cube:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m20 7l-8-4l-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4\"/>`},category:`action`},download:{icon:Epe,category:`action`},measure:{icon:kpe,category:`field`},dimension:{icon:Ape,category:`field`},timeDimension:{icon:jpe,category:`field`},segment:{icon:Mpe,category:`field`},chartBar:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14\"/>`},category:`chart`},chartLine:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>`},category:`chart`},chartArea:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4\"/>`},category:`chart`},chartPie:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8\"/><path d=\"M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5\"/></g>`},category:`chart`},chartScatter:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 3v18h18\"/><path d=\"M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2\"/></g>`},category:`chart`},chartBubble:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0\"/>`},category:`chart`},chartRadar:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m12 3l9.5 7L18 21H6L2.5 10z\"/><path d=\"m12 7.5l5.5 4L15 17H8.5l-2-5.5z\"/><path d=\"m2.5 10l9.5 3l9.5-3\"/><path d=\"M12 3v10l6 8M6 21l6-8\"/></g>`},category:`chart`},chartRadialBar:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0\"/><path d=\"M15.51 15.56A5 5 0 1 0 12 17\"/><path d=\"M18.832 17.86A9 9 0 1 0 12 21m0-9v9\"/></g>`},category:`chart`},chartTreemap:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4\"/>`},category:`chart`},chartTable:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18\"/>`},category:`chart`},chartActivityGrid:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11.795 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4m-1 3v4h4\"/><path d=\"M14 18a4 4 0 1 0 8 0a4 4 0 1 0-8 0m1-15v4M7 3v4m-4 4h16\"/></g>`},category:`chart`},chartKpiNumber:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 17V7l7 10V7m4 10h5m-5-7a2.5 3 0 1 0 5 0a2.5 3 0 1 0-5 0\"/>`},category:`chart`},chartKpiDelta:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m3 17l6-6l4 4l8-8\"/><path d=\"M14 7h7v7\"/></g>`},category:`chart`},chartKpiText:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 20h3m7 0h7M6.9 15h6.9m-3.6-8.7L16 20M5 20l6-16h2l7 16\"/>`},category:`chart`},chartMarkdown:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 3v4a1 1 0 0 0 1 1h4\"/><path d=\"M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2zM9 9h1m-1 4h6m-6 4h6\"/></g>`},category:`chart`},chartFunnel:{icon:{body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"3\" width=\"20\" height=\"4\" rx=\"1\"/>\n <rect x=\"4\" y=\"10\" width=\"16\" height=\"4\" rx=\"1\"/>\n <rect x=\"6\" y=\"17\" width=\"12\" height=\"4\" rx=\"1\"/>\n </g>`,width:24,height:24},category:`chart`},chartSankey:{icon:{body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"10.5\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"17\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <path d=\"M8 5.5 C11 5.5, 13 5.5, 16 5.5\"/>\n <path d=\"M8 5.5 C10 5.5, 11 7, 12 9 C13 11, 14 12, 16 12\"/>\n <path d=\"M8 5.5 C10 5.5, 11 10, 12 14 C13 17, 14 18.5, 16 18.5\"/>\n </g>`,width:24,height:24},category:`chart`},chartSunburst:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8.848 14.667L5.5 17.5M12 3v5m4 4h5M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m11.219 3.328L17 19.5\"/><path d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0\"/></g>`},category:`chart`},chartHeatmap:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 6a2 2 0 1 0 4 0a2 2 0 1 0-4 0M4 12a2 2 0 1 0 4 0a2 2 0 1 0-4 0m0 6a2 2 0 1 0 4 0a2 2 0 1 0-4 0m12 0a2 2 0 1 0 4 0a2 2 0 1 0-4 0m-8 0h8m2 2v1m0-18v1M6 20v1m0-11V3m6 0v18m6-13v8M8 12h13m0-6h-1m-4 0H3m0 6h1m16 6h1M3 18h1m2-4v2\"/>`},category:`chart`},chartRetention:{icon:{body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n \\x3C!-- Grid cells representing retention matrix -->\n <rect x=\"3\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n </g>`,width:24,height:24},category:`chart`},chartBoxPlot:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm4 10v.01M8 12v.01M8 8v.01M16 16v.01M16 12v.01M16 8v.01M12 8v.01M12 16v.01\"/>`},category:`chart`},chartWaterfall:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M22 5h-5v5h-5v5H7v5H2\"/>`},category:`chart`},chartCandlestick:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1zm2-3v2m0 5v9m4-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1zm2-11v10m0 5v1m4-14a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1zm2-2v1m0 6v9\"/>`},category:`chart`},chartMeasureProfile:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 21V7m-9 8l3-3l3 3m0-5l3-3l3 3M3 21h18m-9 0v-9M3 6l3-3l3 3M6 21V3\"/>`},category:`chart`},chartGauge:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0\"/><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0m2.41-1.41L16 8m-9 4a5 5 0 0 1 5-5\"/></g>`},category:`chart`},measureCount:{icon:{width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 10.5a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1-.75-.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureCountDistinct:{icon:{width:20,height:20,body:`<g fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6.625 2.655A9 9 0 0 1 19 11a1 1 0 1 1-2 0a7 7 0 0 0-9.625-6.492a1 1 0 1 1-.75-1.853ZM4.662 4.959A1 1 0 0 1 4.75 6.37A6.97 6.97 0 0 0 3 11a1 1 0 1 1-2 0a8.97 8.97 0 0 1 2.25-5.953a1 1 0 0 1 1.412-.088Z\"/><path d=\"M5 11a5 5 0 1 1 10 0a1 1 0 1 1-2 0a3 3 0 1 0-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 1 1-1.838-.789A9.964 9.964 0 0 0 5 11Zm8.921 2.012a1 1 0 0 1 .831 1.145a19.86 19.86 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 0 1 1.144-.83Z\"/><path d=\"M10 10a1 1 0 0 1 1 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 0 1-1.838-.789A13.952 13.952 0 0 0 9 11a1 1 0 0 1 1-1Z\"/></g>`},category:`measure`},measureCountDistinctApprox:{icon:{width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.25 2A2.25 2.25 0 0 0 2 4.25v11.5A2.25 2.25 0 0 0 4.25 18h11.5A2.25 2.25 0 0 0 18 15.75V4.25A2.25 2.25 0 0 0 15.75 2H4.25ZM15 5.75a.75.75 0 0 0-1.5 0v8.5a.75.75 0 0 0 1.5 0v-8.5Zm-8.5 6a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0v-2.5ZM8.584 9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5a.75.75 0 0 1 .75-.75Zm3.58-1.25a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0v-6.5Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureSum:{icon:{width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm1-11a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V7Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureAvg:{icon:Fpe,category:`measure`},measureMin:{icon:q7,category:`measure`},measureMax:{icon:J7,category:`measure`},measureRunningTotal:{icon:{width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.577 4.878a.75.75 0 0 1 .919-.53l4.78 1.281a.75.75 0 0 1 .531.919l-1.281 4.78a.75.75 0 0 1-1.449-.387l.81-3.022a19.407 19.407 0 0 0-5.594 5.203a.75.75 0 0 1-1.139.093L7 10.06l-4.72 4.72a.75.75 0 0 1-1.06-1.061l5.25-5.25a.75.75 0 0 1 1.06 0l3.074 3.073a20.923 20.923 0 0 1 5.545-4.931l-3.042-.815a.75.75 0 0 1-.53-.919Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureCalculated:{icon:{width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2a1 1 0 0 0-.707 1.707L7 4.414v3.758a1 1 0 0 1-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0 1 13 8.172V4.414l.707-.707A1 1 0 0 0 13 2H7Zm2 6.172V4h2v4.172a3 3 0 0 0 .879 2.12l1.027 1.028a4 4 0 0 0-2.171.102l-.47.156a4 4 0 0 1-2.53 0l-.563-.187a1.993 1.993 0 0 0-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureNumber:{icon:{width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.243 3.03a1 1 0 0 1 .727 1.213L9.53 6h2.94l.56-2.243a1 1 0 1 1 1.94.486L14.53 6H17a1 1 0 1 1 0 2h-2.97l-1 4H15a1 1 0 1 1 0 2h-2.47l-.56 2.242a1 1 0 1 1-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 1 1-1.94-.485L5.47 14H3a1 1 0 1 1 0-2h2.97l1-4H5a1 1 0 1 1 0-2h2.47l.56-2.243a1 1 0 0 1 1.213-.727ZM9.03 8l-1 4h2.938l1-4H9.031Z\" clip-rule=\"evenodd\"/>`},category:`measure`},success:{icon:spe,category:`state`},warning:{icon:cpe,category:`state`},error:{icon:lpe,category:`state`},info:{icon:w5,category:`state`},loading:{icon:W7,category:`state`},sparkles:{icon:upe,category:`state`},chevronUp:{icon:G7,category:`navigation`},chevronDown:{icon:K7,category:`navigation`},chevronLeft:{icon:rpe,category:`navigation`},chevronRight:{icon:ipe,category:`navigation`},chevronUpDown:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 9l4-4l4 4m0 6l-4 4l-4-4\"/>`},category:`navigation`},arrowUp:{icon:J7,category:`navigation`},arrowDown:{icon:q7,category:`navigation`},arrowRight:{icon:_pe,category:`navigation`},arrowPath:{icon:W7,category:`navigation`}},X7=new Map;function Z7(e){let t=X7.get(e);if(t)return t;let n=Y7[e];if(!n)return console.warn(`Icon \"${e}\" not found in registry, using fallback`),({className:e,...t})=>(0,q.jsx)(C5,{icon:Y7.info.icon,className:e,...t});let r=({className:e,...t})=>(0,q.jsx)(C5,{icon:n.icon,className:e,...t});return X7.set(e,r),r}function Ipe(e){return Z7({count:`measureCount`,countDistinct:`measureCountDistinct`,countDistinctApprox:`measureCountDistinctApprox`,sum:`measureSum`,avg:`measureAvg`,min:`measureMin`,max:`measureMax`,runningTotal:`measureRunningTotal`,calculated:`measureCalculated`,number:`measureNumber`}[e||``]||`measureCount`)}function Q7(e){let t=Wfe(e)?.icon;return t?typeof t==`string`?Z7(t):t:Z7(`chartBar`)}function Lpe(e){if(!e)return[];let t=[];return e.dimensions&&t.push(...e.dimensions),e.timeDimensions&&e.timeDimensions.forEach(e=>{t.includes(e.dimension)||t.push(e.dimension)}),e.measures&&t.push(...e.measures),t}function Rpe(e,t){if(!e?.timeDimensions?.length)return null;let n=e.timeDimensions.find(e=>e.granularity);if(!n?.granularity||!e.measures?.length)return null;let r,i;if(t&&t.length>0){r=t.filter(t=>!(t===n.dimension||e.measures?.includes(t)));let a=t.filter(t=>e.measures?.includes(t));i=a.length>0?a:e.measures}else r=e.dimensions||[],i=e.measures;return i.length===0?null:{timeDimension:n.dimension,granularity:n.granularity,dimensions:r,measures:i}}function zpe(e,t,n){let r=new Set;return e.forEach(e=>{let i=e[t];if(i!=null){let e=W3(i,n);r.add(e)}}),Array.from(r).sort()}function Bpe(e,t,n){let r=[];return e.measures.length>1&&r.push({key:`__measure__`,label:`Measure`,isTimeColumn:!1,isMeasureColumn:!0}),e.dimensions.forEach(e=>{r.push({key:e,label:n(e),isTimeColumn:!1})}),t.forEach(e=>{r.push({key:e,label:e,isTimeColumn:!0})}),r}function Vpe(e,t){let n=new Map;return e.forEach(e=>{let r=t.dimensions.length>0?t.dimensions.map(t=>String(e[t]??``)).join(`|`):`__all__`;n.has(r)||n.set(r,new Map);let i=e[t.timeDimension];if(i!=null){let a=W3(i,t.granularity);n.get(r).set(a,e)}}),n}function Hpe(e,t,n,r){let i=Vpe(e,t),a=Array.from(i.keys()),o=[],s=t.measures.length,c=a.length;return t.measures.forEach(e=>{a.forEach((a,l)=>{let u=i.get(a),d=s>1?`${e}|${a}`:a,f={},p=a===`__all__`?[]:a.split(`|`);t.dimensions.forEach((e,t)=>{f[e]=p[t]??``}),s>1&&(f.__measure__=r(e)),n.forEach(t=>{f[t]=u.get(t)?.[e]??null});let m=l===0,h=m&&s>1?c:void 0;o.push({id:d,measureField:e,values:f,isFirstInGroup:m,dimensionRowSpan:h})})}),o}function Upe(e,t,n,r){if(!e||e.length===0)return{isPivoted:!0,columns:[],rows:[]};let i=zpe(e,t.timeDimension,t.granularity);return{isPivoted:!0,columns:Bpe(t,i,n),rows:Hpe(e,t,i,n)}}function Wpe(e,t){if(t?.cubes)for(let n of t.cubes){let t=n.measures.find(t=>t.name===e);if(t)return t.type}}var $7=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=300}){let{t:a}=Hv(),{getFieldLabel:o,meta:s}=Zoe(),c=(0,z.useMemo)(()=>Rpe(r,t?.xAxis),[r,t?.xAxis]),l=n?.pivotTimeDimension!==!1,u=(0,z.useMemo)(()=>!c||!l?null:Upe(e,c,o,s),[e,c,l,o,s]);return!e||e.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:a(`chart.runtime.noDataHint.table`)})]})}):u?.isPivoted&&u.columns.length>0?(0,q.jsx)(Gpe,{pivotedData:u,height:i,meta:s,leftYAxisFormat:n?.leftYAxisFormat}):(0,q.jsx)(qpe,{data:e,chartConfig:t,queryObject:r,height:i,getFieldLabel:o,leftYAxisFormat:n?.leftYAxisFormat})});function Gpe({pivotedData:e,height:t,meta:n,leftYAxisFormat:r}){let{t:i}=Hv(),{columns:a,rows:o}=e;return a.length===0||o.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:t},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:i(`chart.runtime.noDataHint.table`)})]})}):(0,q.jsx)(`div`,{className:`dc:w-full dc:overflow-auto`,style:{height:t},children:(0,q.jsxs)(`table`,{className:`dc:min-w-full dc:divide-y border-dc-border`,children:[(0,q.jsx)(`thead`,{className:`bg-dc-surface-secondary dc:sticky dc:top-0`,children:(0,q.jsx)(`tr`,{children:a.map(e=>(0,q.jsx)(`th`,{className:`dc:px-3 dc:py-2 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider dc:whitespace-nowrap ${e.isTimeColumn?`dc:text-right`:`dc:text-left`}`,children:e.label},e.key))})}),(0,q.jsx)(`tbody`,{className:`bg-dc-surface dc:divide-y border-dc-border`,children:o.map(e=>(0,q.jsx)(Kpe,{row:e,columns:a,meta:n,leftYAxisFormat:r},e.id))})]})})}function Kpe({row:e,columns:t,meta:n,leftYAxisFormat:r}){let i=Ipe(Wpe(e.measureField,n));return(0,q.jsx)(`tr`,{className:`hover:bg-dc-surface-secondary`,children:t.map(t=>{let n=e.values[t.key];return t.isMeasureColumn?e.isFirstInGroup===!1?null:(0,q.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top`,rowSpan:e.dimensionRowSpan,children:(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center`,children:[(0,q.jsx)(i,{className:`dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0`}),(0,q.jsx)(`span`,{children:n})]})},t.key):t.isTimeColumn?(0,q.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text`,children:e9(n,r)},t.key):(0,q.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text`,children:e9(n)},t.key)})})}function e9(e,t){return e==null?`-`:typeof e==`number`?t?U3(e,t):Number.isInteger(e)?e.toLocaleString():parseFloat(e.toFixed(2)).toLocaleString():typeof e==`boolean`?e?`Yes`:`No`:String(e)}function qpe({data:e,chartConfig:t,queryObject:n,height:r,getFieldLabel:i,leftYAxisFormat:a}){let{t:o}=Hv(),s=Object.keys(e[0]||{}),c=(0,z.useMemo)(()=>{if(t?.xAxis&&t.xAxis.length>0)return t.xAxis.filter(e=>s.includes(e));let e=Lpe(n);if(e.length>0){let t=e.filter(e=>s.includes(e)),n=s.filter(e=>!t.includes(e));return[...t,...n]}return s},[t?.xAxis,n,s]);return c.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:`No columns available`}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.table.invalidStructure`)})]})}):(0,q.jsx)(`div`,{className:`dc:w-full dc:overflow-auto`,style:{height:r},children:(0,q.jsxs)(`table`,{className:`dc:min-w-full dc:divide-y border-dc-border`,children:[(0,q.jsx)(`thead`,{className:`bg-dc-surface-secondary dc:sticky dc:top-0`,children:(0,q.jsx)(`tr`,{children:c.map(e=>(0,q.jsx)(`th`,{className:`dc:px-3 dc:py-2 dc:text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider`,children:i(e)},e))})}),(0,q.jsx)(`tbody`,{className:`bg-dc-surface dc:divide-y border-dc-border`,children:e.map((e,t)=>(0,q.jsx)(`tr`,{className:`hover:bg-dc-surface-secondary`,children:c.map(t=>(0,q.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text`,children:Jpe(e[t],a)},t))},t))})]})})}function Jpe(e,t){return e==null?``:typeof e==`number`?t?U3(e,t):e.toLocaleString():typeof e==`boolean`?e?`Yes`:`No`:String(e)}function Ype(e,t,n){let{data:r,seriesKeys:i}=K3(e,Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,Array.isArray(t.yAxis)?t.yAxis:[t.yAxis],n,t.series||[]);return{radarData:r,seriesKeys:i}}function t9(e){return typeof e==`string`?parseFloat(e):e||0}function Xpe(e,t){let n=e[0],r=Object.keys(n),i=r.find(e=>typeof n[e]==`string`||e.toLowerCase().includes(`subject`)||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`category`))||r[0],a=r.filter(e=>typeof n[e]==`number`&&e!==i);if(a.length===0)return{radarData:[],seriesKeys:[],noNumericFields:!0};if(i){let n=G3(t,i);return{radarData:e.map(e=>{let t={name:W3(e[i],n)||String(e[i])||`Unknown`};return a.forEach(n=>{let r=n.split(`.`).pop()||n;t[r]=t9(e[n])}),t}),seriesKeys:a.map(e=>e.split(`.`).pop()||e)}}return{radarData:e.map(e=>({name:String(e[r[0]]||`Unknown`),value:t9(e[a[0]])})),seriesKeys:[`value`]}}function Zpe(e,t,n){return t?.xAxis&&t?.yAxis?Ype(e,t,n):Xpe(e,n)}var Qpe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Hv(),[s,c]=(0,z.useState)(null);try{let l={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,showGrid:n?.showGrid??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,q.jsx)(Y3,{height:i,hint:o(`chart.runtime.noDataHint.radar`)});let{radarData:u,seriesKeys:d,noNumericFields:f}=Zpe(e,t,r);if(f)return(0,q.jsx)(X3,{height:i,hint:o(`chart.runtime.configErrorHint.radarNumeric`)});if(!u||u.length===0)return(0,q.jsx)(Y3,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for radar chart after transformation`});let{leftYAxisFormat:p}=l;return(0,q.jsx)(R3,{height:i,children:(0,q.jsxs)(Yae,{data:u,margin:{top:20,right:80,bottom:20,left:80},accessibilityLayer:!1,children:[l.showGrid&&(0,q.jsx)(MW,{}),(0,q.jsx)(MG,{dataKey:`name`,tick:{fontSize:12},className:`text-dc-text-muted`}),(0,q.jsx)(uG,{tick:{fontSize:10},className:`text-dc-text-muted`,tickFormatter:p?e=>U3(e,p):void 0}),l.showTooltip&&(0,q.jsx)(q3,{formatter:p?(e,t)=>[U3(e,p),t]:void 0}),l.showLegend&&d.length>1&&(0,q.jsx)(dO,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`rect`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.dataKey||``)),onMouseLeave:()=>c(null)}),d.map((e,t)=>{let n=a?.colors&&a.colors[t%a.colors.length]||$3[t%$3.length];return(0,q.jsx)(JJ,{name:e,dataKey:e,stroke:n,fill:n,fillOpacity:s?s===e?.6:.1:.3,strokeOpacity:s?s===e?1:.3:1,strokeWidth:2},e)})]})})}catch(e){return(0,q.jsx)(Z3,{height:i,chartType:`Radar Chart`,error:e})}});function n9(e,t){let n=e?.colors;return n&&n[t%n.length]||$3[t%$3.length]}function r9(e){return typeof e==`string`?parseFloat(e):e||0}function $pe(e,t,n,r){let i=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,a=Array.isArray(t.yAxis)?t.yAxis[0]:t.yAxis,o=G3(n,i);return{radialData:e.map((e,t)=>({name:W3(e[i],o)||String(e[i])||`Unknown`,value:r9(e[a]),fill:n9(r,t)}))}}function eme(e){return typeof e==`boolean`?e?`Active`:`Inactive`:e===`true`||e===`false`?e===`true`?`Active`:`Inactive`:String(e)}function tme(e,t){let n=e[0],r=Object.keys(n),i=r.find(e=>typeof n[e]==`string`||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`label`)||e.toLowerCase().includes(`category`))||r[0],a=r.find(e=>typeof n[e]==`number`&&e!==i)||r[1];return a?{radialData:e.map((e,n)=>({name:eme(e[i]),value:r9(e[a]),fill:n9(t,n)}))}:{radialData:[],noValueField:!0}}function nme(e,t,n,r){let i=t?.xAxis&&t?.yAxis?$pe(e,t,n,r):tme(e,r);return i.noValueField?i:{radialData:i.radialData.filter(e=>e.value!=null&&e.value!==0)}}var rme=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Hv(),[s,c]=(0,z.useState)(null);try{let l={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,q.jsx)(Y3,{height:i,hint:o(`chart.runtime.noDataHint.radialBar`)});let{radialData:u,noValueField:d}=nme(e,t,r,a);if(d)return(0,q.jsx)(X3,{height:i,hint:o(`chart.runtime.configErrorHint.radialBarNumeric`)});if(u.length===0)return(0,q.jsx)(Y3,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for radial bar chart after transformation`});let{leftYAxisFormat:f}=l;return(0,q.jsx)(R3,{height:i,children:(0,q.jsxs)(roe,{data:u,innerRadius:`10%`,outerRadius:`80%`,margin:{top:20,right:30,bottom:20,left:30},accessibilityLayer:!1,children:[l.showTooltip&&(0,q.jsx)(q3,{formatter:f?(e,t)=>[U3(e,f),t]:void 0}),l.showLegend&&(0,q.jsx)(dO,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.value||``)),onMouseLeave:()=>c(null)}),(0,q.jsx)(eX,{dataKey:`value`,cornerRadius:4,label:{position:`insideStart`,fill:`#fff`,fontSize:12,formatter:f?e=>U3(e,f):void 0},children:u.map((e,t)=>(0,q.jsx)(GV,{fill:e.fill,fillOpacity:s?s===e.name?1:.3:1},`cell-${t}`))})]})})}catch(e){return(0,q.jsx)(Z3,{height:i,chartType:`Radial Bar Chart`,error:e})}});function i9(){if(typeof window>`u`)return`light`;let e=localStorage.getItem(`theme`);if(e===`dark`||e===`neon`||e===`light`)return e;let t=document.documentElement.getAttribute(`data-theme`);return t===`dark`||t===`neon`?t:document.documentElement.classList.contains(`dark`)||document.body.classList.contains(`dark`)?`dark`:document.documentElement.classList.contains(`neon`)||document.body.classList.contains(`neon`)?`neon`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function ime(e){typeof window>`u`||(document.documentElement.classList.remove(`dark`,`neon`),document.documentElement.setAttribute(`data-theme`,e),(e===`dark`||e===`neon`)&&document.documentElement.classList.add(e),localStorage.setItem(`theme`,e))}function a9(e){if(typeof window>`u`)return()=>{};let t=new MutationObserver(()=>{e(i9())});t.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`,`data-theme`]});let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=()=>e(i9());return n.addEventListener(`change`,r),()=>{t.disconnect(),n.removeEventListener(`change`,r)}}var o9={listeners:new Set,subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)},notify(){this.listeners.forEach(e=>e())}};a9(()=>{o9.notify()});function ame(){return{theme:(0,z.useSyncExternalStore)(o9.subscribe.bind(o9),i9,i9),setTheme:(0,z.useCallback)(e=>{ime(e),o9.notify()},[])}}function s9(){let e=(0,z.useRef)(null),[t,n]=(0,z.useState)({width:0,height:0}),[r,i]=(0,z.useState)(!1);return(0,z.useLayoutEffect)(()=>{let t=0,r,a,o=()=>{if(e.current){let{width:t,height:r}=e.current.getBoundingClientRect();if(t>0&&r>0)return n({width:t,height:r}),i(!0),!0}return!1};if(!o()&&t<10){let e=()=>{!o()&&t<10&&(t++,a=setTimeout(()=>{r=requestAnimationFrame(e)},50*t))};r=requestAnimationFrame(e)}return()=>{r&&cancelAnimationFrame(r),a&&clearTimeout(a)}},[]),(0,z.useEffect)(()=>{let t=null,r=()=>{if(e.current){let{width:t,height:r}=e.current.getBoundingClientRect();t>0&&r>0&&(n({width:t,height:r}),i(e=>e||!0))}};return e.current&&(t=new ResizeObserver(()=>r()),t.observe(e.current),r()),window.addEventListener(`resize`,r),()=>{t&&t.disconnect(),window.removeEventListener(`resize`,r)}},[]),{containerRef:e,dimensions:t,dimensionsReady:r}}function ome(e){return{showLegend:e?.showLegend??!0,showGrid:e?.showGrid??!0,showTooltip:e?.showTooltip??!0,minBubbleSize:e?.minBubbleSize??5,maxBubbleSize:e?.maxBubbleSize??50,bubbleOpacity:e?.bubbleOpacity??.7,xAxisFormat:e?.xAxisFormat,leftYAxisFormat:e?.leftYAxisFormat}}function sme(e){if(!e?.xAxis||!e?.yAxis||!e?.series)return null;let t=Array.isArray(e.xAxis)?e.xAxis[0]:e.xAxis,n=Array.isArray(e.yAxis)?e.yAxis[0]:e.yAxis,r=Array.isArray(e.series)?e.series[0]:e.series,i=(Array.isArray(e.sizeField)?e.sizeField[0]:e.sizeField)||n,a=Array.isArray(e.colorField)?e.colorField[0]:e.colorField;return!t||!n||!r||!i?null:{xAxisField:t,yAxisField:n,seriesField:r,sizeFieldName:i,colorFieldName:a}}function cme(e,t,n){if(t&&e){let t=String(e),r;if(t.match(/^\\d{4}-\\d{2}-\\d{2}[T ]/)){let e=t;t.includes(` `)&&(e=t.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!e.endsWith(`Z`)&&!e.includes(`+`)&&(e+=`Z`),r=new Date(e)}else r=new Date(t);return{xNum:isNaN(r.getTime())?parseFloat(t):r.getTime(),xLabel:W3(e,n)}}let r=W3(e,n)||e;return{xNum:typeof r==`string`?parseFloat(r):r,xLabel:String(r)}}function lme(e,t,n){let{xAxisField:r,yAxisField:i,sizeFieldName:a,seriesField:o,colorFieldName:s}=t,c=G3(n,r),l=n?.timeDimensions?.some(e=>e.dimension===r)||!1;return e.map(e=>{let{xNum:t,xLabel:n}=cme(e[r],l,c),u=V3(e[i]),d=V3(e[a]),f=e[o];return{x:t,xLabel:n,y:u,size:d===null?0:Math.abs(d),color:s?e[s]:f,series:f,label:`${f||`Unknown`}`,isValid:B3(t)&&u!==null&&d!==null&&d>0}}).filter(e=>e.isValid&&e.size>0).map(({isValid:e,...t})=>t)}function c9(e,t){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()||t}function ume(e){return{textColor:e?c9(`--dc-text-muted`,`#cbd5e1`):c9(`--dc-text-secondary`,`#374151`),gridColor:e?c9(`--dc-border`,`#475569`):`#9ca3af`}}function dme(e,t,n){if(t&&e.length>0){let t=e.map(e=>typeof e.color==`string`?parseFloat(e.color):e.color).filter(e=>!isNaN(e)),r=t.length===e.length&&t.every(e=>typeof e==`number`);if(r)return{colorScale:CF().domain([Math.min(...t),Math.max(...t)]).range(n?.gradient||e6),isNumericColorField:r,uniqueColors:[]};let i=[...new Set(e.map(e=>String(e.color)))];return{colorScale:YM().domain(i).range(n?.colors||$3),isNumericColorField:r,uniqueColors:i}}return{colorScale:YM().domain([`default`]).range([$3[0]]),isNumericColorField:!1,uniqueColors:[]}}function fme(e,t){let n=new Date(e);if(isNaN(n.getTime()))return String(e);let r=n.getUTCFullYear(),i=String(n.getUTCMonth()+1).padStart(2,`0`),a=String(n.getUTCDate()).padStart(2,`0`);switch(t?.toLowerCase()){case`year`:return String(r);case`quarter`:return`${r}-Q${Math.floor(n.getUTCMonth()/3)+1}`;case`month`:return`${r}-${i}`;case`week`:case`day`:return`${r}-${i}-${a}`;case`hour`:return`${i}-${a} ${String(n.getUTCHours()).padStart(2,`0`)}:00`;default:return`${r}-${i}`}}function pme(e,t,n,r,i,a){let o=e=>{e.selectAll(`line`).style(`stroke`,a).style(`stroke-dasharray`,`3,3`).style(`opacity`,.3),e.select(`.domain`).style(`stroke`,`none`)};o(e.append(`g`).attr(`transform`,`translate(0,${i})`).call(O6(t).tickSize(-i).tickFormat(()=>``))),o(e.append(`g`).call(k6(n).tickSize(-r).tickFormat(()=>``)))}function mme(e,t,n,r,i,a,o,s){let{fields:c,options:l,queryObject:u,getFieldLabel:d}=e,f=u?.timeDimensions?.some(e=>e.dimension===c.xAxisField)||!1,p=u?.timeDimensions?.find(e=>e.dimension===c.xAxisField)?.granularity,m=O6(n);f?m.tickFormat(e=>fme(e,p)):l.xAxisFormat&&m.tickFormat(e=>U3(e,l.xAxisFormat));let h=t.append(`g`).attr(`transform`,`translate(0,${a})`).call(m);h.selectAll(`text`).style(`fill`,o),h.selectAll(`line, path`).style(`stroke`,s),h.append(`text`).attr(`x`,i/2).attr(`y`,35).attr(`fill`,o).style(`text-anchor`,`middle`).style(`font-size`,`12px`).text(l.xAxisFormat?.label||d(c.xAxisField));let g=k6(r);l.leftYAxisFormat&&g.tickFormat(e=>U3(e,l.leftYAxisFormat));let _=t.append(`g`).call(g);_.selectAll(`text`).style(`fill`,o),_.selectAll(`line, path`).style(`stroke`,s),_.append(`text`).attr(`transform`,`rotate(-90)`).attr(`y`,-35).attr(`x`,-a/2).attr(`fill`,o).style(`text-anchor`,`middle`).style(`font-size`,`12px`).text(l.leftYAxisFormat?.label||d(c.yAxisField))}function hme(){return $6(`body`).append(`div`).attr(`class`,`bubble-chart-tooltip`).style(`position`,`absolute`).style(`padding`,`8px`).style(`background`,`rgba(0, 0, 0, 0.8)`).style(`color`,`white`).style(`border-radius`,`4px`).style(`font-size`,`12px`).style(`pointer-events`,`none`).style(`opacity`,0).style(`z-index`,1e3)}function gme(e,t){let{fields:n,options:r,getFieldLabel:i}=e,a=e=>r.leftYAxisFormat?U3(e,r.leftYAxisFormat):e;return[`<strong>${t.series||`Unknown`}</strong>`,`${i(n.xAxisField)}: ${t.xLabel||(r.xAxisFormat?U3(t.x,r.xAxisFormat):t.x)}`,`${i(n.yAxisField)}: ${a(t.y)}`,`${i(n.sizeFieldName)}: ${a(t.size)}`,n.colorFieldName&&t.color?`${i(n.colorFieldName)}: ${t.color}`:``].filter(Boolean).join(`<br>`)}function _me(e,t,n,r){t.on(`mouseover`,function(t,i){$6(this).transition().duration(200).style(`opacity`,1).attr(`r`,r(i.size)*1.1),n.html(gme(e,i)).style(`left`,t.pageX+10+`px`).style(`top`,t.pageY-10+`px`).transition().duration(200).style(`opacity`,1)}).on(`mousemove`,function(e){n.style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`)}).on(`mouseout`,function(t,i){$6(this).transition().duration(200).style(`opacity`,e.options.bubbleOpacity).attr(`r`,r(i.size)),n.transition().duration(200).style(`opacity`,0)})}function vme(e,t,n,r,i,a){let{bubbleData:o,fields:s,options:c,colorPalette:l,getFieldLabel:u}=e,d=Math.min(...o.map(e=>e.color)),f=Math.max(...o.map(e=>e.color)),p=e=>c.leftYAxisFormat?U3(e,c.leftYAxisFormat):e.toFixed(2),m=n.append(`g`).attr(`class`,`color-legend`).attr(`transform`,`translate(${r/2-200/2}, ${i+60})`),h=t.append(`defs`).append(`linearGradient`).attr(`id`,`color-scale-gradient`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`),g=l?.gradient||e6;g.forEach((e,t)=>{h.append(`stop`).attr(`offset`,`${t/(g.length-1)*100}%`).attr(`stop-color`,e)}),m.append(`rect`).attr(`width`,200).attr(`height`,20).style(`fill`,`url(#color-scale-gradient)`).style(`stroke`,`#ccc`).style(`stroke-width`,1),m.append(`text`).attr(`x`,0).attr(`y`,35).attr(`text-anchor`,`start`).style(`font-size`,`11px`).style(`fill`,a).text(p(d)),m.append(`text`).attr(`x`,200).attr(`y`,35).attr(`text-anchor`,`end`).style(`font-size`,`11px`).style(`fill`,a).text(p(f)),m.append(`text`).attr(`x`,200/2).attr(`y`,-5).attr(`text-anchor`,`middle`).style(`font-size`,`12px`).style(`font-weight`,`bold`).style(`fill`,a).text(u(s.colorFieldName))}function yme(e,t,n,r,i,a,o,s){let{fields:c,options:l}=e;if(a.length===0)return;let u=t.append(`g`).attr(`class`,`legend`).attr(`transform`,`translate(${n/2-a.length*80/2}, ${r+60})`).selectAll(`.legend-item`).data(a).enter().append(`g`).attr(`class`,`legend-item`).attr(`transform`,(e,t)=>`translate(${t*80}, 0)`).style(`cursor`,`pointer`);u.append(`circle`).attr(`cx`,5).attr(`cy`,5).attr(`r`,5).style(`fill`,e=>o(e)).style(`opacity`,l.bubbleOpacity),u.append(`text`).attr(`x`,15).attr(`y`,5).attr(`dy`,`.35em`).style(`font-size`,`11px`).style(`fill`,i).text(e=>String(e)),u.on(`mouseover`,function(e,t){s.transition().duration(200).style(`opacity`,e=>c.colorFieldName&&String(e.color)===t?1:.2)}).on(`mouseout`,function(){s.transition().duration(200).style(`opacity`,l.bubbleOpacity)})}function bme(e){let{svgEl:t,bubbleData:n,fields:r,options:i,dimensions:a,colorPalette:o,isDark:s}=e;if($6(t).selectAll(`*`).remove(),n.length===0)return;let c={...t6,left:t6.left+30,bottom:i.showLegend&&r.colorFieldName?100:40},l=a.width-c.left-c.right,u=a.height-c.top-c.bottom,d=$6(t).attr(`width`,a.width).attr(`height`,a.height),f=d.append(`g`).attr(`transform`,`translate(${c.left},${c.top})`),p=XP().domain(wM(n,e=>e.x)).range([0,l]).nice(),m=XP().domain(wM(n,e=>e.y)).range([u,0]).nice(),h=vF().domain([0,zM(n,e=>e.size)]).range([i.minBubbleSize,i.maxBubbleSize]),{colorScale:g,isNumericColorField:_,uniqueColors:v}=dme(n,r.colorFieldName,o),{textColor:y,gridColor:b}=ume(s);i.showGrid&&pme(f,p,m,l,u,b),mme(e,f,p,m,l,u,y,b);let x=hme(),S=f.selectAll(`.bubble`).data(n).enter().append(`circle`).attr(`class`,`bubble`).attr(`cx`,e=>p(e.x)).attr(`cy`,e=>m(e.y)).attr(`r`,e=>h(e.size)).style(`fill`,e=>r.colorFieldName&&e.color!==void 0?g(_?e.color:String(e.color)):$3[0]).style(`opacity`,i.bubbleOpacity).style(`stroke`,`#fff`).style(`stroke-width`,1).style(`cursor`,`pointer`);return i.showTooltip&&_me(e,S,x,h),i.showLegend&&r.colorFieldName&&(_?vme(e,d,f,l,u,y):yme(e,f,l,u,y,v,g,S)),()=>{x.remove()}}var xme=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Hv(),s=z.useRef(null),{containerRef:c,dimensions:l,dimensionsReady:u}=s9(),{theme:d}=ame(),f=f6(),p=(0,z.useMemo)(()=>ome(n),[n]);return(0,z.useEffect)(()=>{if(!e||e.length===0||!s.current||!u||l.width===0)return;let n=sme(t);if(!n)return;let i=lme(e,n,r);return bme({svgEl:s.current,bubbleData:i,fields:n,options:p,dimensions:l,queryObject:r,colorPalette:a,isDark:d!==`light`,getFieldLabel:f})},[e,t,p,r,l,u,a,d,f]),!e||e.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.bubble`)})]})}):t?.xAxis&&t?.yAxis&&t?.series?(0,q.jsx)(`div`,{className:`dc:w-full dc:flex-1 dc:flex dc:flex-col dc:relative`,style:{height:i,minHeight:`250px`,overflow:`hidden`},children:(0,q.jsxs)(`div`,{ref:c,className:`dc:w-full dc:h-full dc:relative`,children:[(0,q.jsx)(`svg`,{ref:s,className:`dc:w-full dc:h-full`}),!u&&(0,q.jsx)(`div`,{className:`dc:absolute dc:inset-0 dc:flex dc:items-center dc:justify-center`,children:(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:text-sm`,children:o(`chart.runtime.measuringDimensions`)})})]})}):(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.activityGridConfigRequired`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.bubbleRequired`)}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mt-1`,children:o(`chart.runtime.configErrorHint.bubbleOptional`)})]})})});function l9(e){if(e==null)return`-`;if(e<60)return`${Math.round(e)}s`;if(e<3600){let t=e/60;return t<10?`${t.toFixed(1)}m`:`${Math.round(t)}m`}if(e<86400){let t=e/3600;return t<10?`${t.toFixed(1)}h`:`${Math.round(t)}h`}let t=e/86400;return t<10?`${t.toFixed(1)}d`:`${Math.round(t)}d`}function Sme(e){if(!e||e.length===0)return!1;let t=e[0];return typeof t==`object`&&!!t&&`name`in t&&`value`in t&&`percentage`in t}function u9(e,t,n,r){let i=[];return t&&e.avgSecondsToConvert!=null&&i.push(`Avg: ${l9(e.avgSecondsToConvert)}`),n&&e.medianSecondsToConvert!=null&&i.push(`Med: ${l9(e.medianSecondsToConvert)}`),r&&e.p90SecondsToConvert!=null&&i.push(`P90: ${l9(e.p90SecondsToConvert)}`),i}function Cme(e){return!e||e.length===0?[]:Sme(e)?e:e.map((e,t)=>{let n=e,r=Object.keys(n).find(e=>e.toLowerCase().includes(`step`)||e.toLowerCase().includes(`name`)||e===`__stepName`),i=r?String(n[r]):`Step ${t+1}`,a=Object.keys(n).find(e=>e.toLowerCase().includes(`count`)||e.toLowerCase().includes(`value`)||e===`__count`),o=a&&Number(n[a])||0,s=Object.keys(n).find(e=>e.toLowerCase().includes(`percent`)||e===`__percentage`),c=s&&Number(n[s])||0,l=Object.keys(n).find(e=>e.toLowerCase().includes(`conversion`)||e===`__conversionRate`);return{name:i,value:o,percentage:c,conversionRate:l&&Number(n[l])||null,stepIndex:t}})}function wme(e){return{customStepLabels:e?.funnelStepLabels,isVertical:(e?.funnelOrientation||`horizontal`)===`vertical`,funnelStyle:e?.funnelStyle??`bars`,showConversion:e?.showFunnelConversion??!0,showAvgTime:e?.showFunnelAvgTime??e?.showFunnelTimeMetrics??!1,showMedianTime:e?.showFunnelMedianTime??!1,showP90Time:e?.showFunnelP90Time??!1,hideSummaryFooter:e?.hideSummaryFooter??!1}}function d9(e,t){return t[e%t.length]}function f9({funnelData:e,firstStepValue:t}){let{t:n}=Hv(),r=e[e.length-1]?.value||0;return(0,q.jsx)(`div`,{className:`dc:flex-shrink-0 dc:px-4 dc:py-2 dc:border-t border-dc-border bg-dc-surface-secondary`,children:(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-between dc:text-sm`,children:[(0,q.jsxs)(`div`,{className:`text-dc-text-muted`,children:[(0,q.jsx)(`span`,{className:`dc:font-medium`,children:e.length}),` steps`]}),(0,q.jsxs)(`div`,{className:`text-dc-text`,children:[(0,q.jsx)(`span`,{className:`text-dc-text-muted`,children:n(`chart.runtime.funnel.overall`)}),` `,(0,q.jsx)(`span`,{className:`dc:font-medium`,children:t>0?`${(r/t*100).toFixed(1)}%`:`0%`})]}),(0,q.jsxs)(`div`,{className:`text-dc-text-muted`,children:[r.toLocaleString()||0,` / `,t.toLocaleString(),` completed`]})]})})}function p9({stepConversionRate:e,arrow:t,showConversion:n,timeMetricsLines:r}){return e===null?(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:`—`}):(0,q.jsxs)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:[n&&(0,q.jsxs)(`span`,{children:[t,` `,e.toFixed(1),`%`]}),r.length>0&&(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:mt-0.5 dc:space-y-0.5`,children:r.map((e,t)=>(0,q.jsxs)(`div`,{children:[`⏱ `,e]},t))})]})}function Tme({funnelData:e,firstStepValue:t,paletteColors:n,options:r,height:i}){let a=r.isVertical?`horizontal`:`vertical`;return(0,q.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:i},children:[(0,q.jsx)(`div`,{className:`dc:flex-1`,children:(0,q.jsx)(IE,{width:`100%`,height:`100%`,children:(0,q.jsxs)(koe,{layout:a,accessibilityLayer:!1,children:[(0,q.jsx)(WV,{formatter:e=>typeof e==`number`?e.toLocaleString():String(e),contentStyle:{backgroundColor:`var(--dc-surface)`,border:`1px solid var(--dc-border)`,borderRadius:`4px`}}),(0,q.jsxs)(I3,{dataKey:`value`,nameKey:`name`,data:e,isAnimationActive:!0,children:[e.map((e,t)=>(0,q.jsx)(GV,{fill:d9(t,n)},`cell-${t}`)),(0,q.jsx)(zU,{position:`right`,dataKey:`name`,fill:`var(--dc-text)`,style:{fontSize:`12px`}}),(0,q.jsx)(zU,{position:`center`,dataKey:`percentage`,formatter:e=>typeof e==`number`?`${e.toFixed(1)}%`:String(e),fill:`#fff`,style:{fontSize:`11px`,fontWeight:500}})]})]})})}),!r.hideSummaryFooter&&(0,q.jsx)(f9,{funnelData:e,firstStepValue:t})]})}function Eme({funnelData:e,firstStepValue:t,paletteColors:n,options:r,height:i}){return(0,q.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:i},children:[(0,q.jsx)(`div`,{className:`dc:flex-1 dc:flex dc:items-end dc:justify-center dc:gap-4 dc:px-4 dc:py-3 dc:overflow-hidden`,children:e.map((i,a)=>{let o=t>0?i.value/t*100:0,s=a>0?e[a-1]:null,c=s&&s.value>0?i.value/s.value*100:null,l=r.customStepLabels?.[a]||i.name,u=u9(i,r.showAvgTime,r.showMedianTime,r.showP90Time),d=u.length;return(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:gap-2 dc:flex-1 dc:max-w-32 dc:h-full`,children:[(0,q.jsx)(`div`,{className:`${d>0?d>1?`dc:min-h-16`:`dc:min-h-10`:`dc:h-5`} dc:flex-shrink-0 dc:text-center`,children:(0,q.jsx)(p9,{stepConversionRate:c,arrow:`→`,showConversion:r.showConversion,timeMetricsLines:u})}),(0,q.jsxs)(`div`,{className:`dc:flex-1 dc:w-full dc:relative dc:min-h-12`,children:[(0,q.jsx)(`div`,{className:`dc:absolute dc:inset-0 bg-dc-surface-secondary dc:rounded-sm`}),(0,q.jsx)(`div`,{className:`dc:absolute dc:bottom-0 dc:left-0 dc:right-0 dc:rounded-sm dc:transition-all dc:duration-300`,style:{height:`${Math.max(o,5)}%`,backgroundColor:d9(a,n)}}),(0,q.jsx)(`div`,{className:`dc:absolute dc:bottom-0 dc:left-0 dc:right-0 dc:flex dc:items-end dc:justify-center dc:pb-1 dc:pointer-events-none`,style:{height:`${Math.max(o,20)}%`},children:(0,q.jsxs)(`span`,{className:`dc:text-xs dc:font-medium text-white dc:drop-shadow-sm`,children:[i.percentage?.toFixed(1)??o.toFixed(1),`%`]})})]}),(0,q.jsxs)(`div`,{className:`dc:flex-shrink-0 dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-medium text-dc-text dc:truncate`,title:l,children:l}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:i.value.toLocaleString()})]})]},i.name)})}),!r.hideSummaryFooter&&(0,q.jsx)(f9,{funnelData:e,firstStepValue:t})]})}function Dme({funnelData:e,firstStepValue:t,paletteColors:n,options:r,height:i}){return(0,q.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:i},children:[(0,q.jsx)(`div`,{className:`dc:flex-1 dc:flex dc:flex-col dc:justify-center dc:gap-2 dc:px-4 dc:py-3 dc:overflow-hidden`,children:e.map((i,a)=>{let o=t>0?i.value/t*100:0,s=a>0?e[a-1]:null,c=s&&s.value>0?i.value/s.value*100:null,l=r.customStepLabels?.[a]||i.name,u=u9(i,r.showAvgTime,r.showMedianTime,r.showP90Time),d=u.length;return(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-3`,children:[(0,q.jsxs)(`div`,{className:`dc:w-24 dc:flex-shrink-0 dc:text-right`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-medium text-dc-text dc:truncate`,title:l,children:l}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:i.value.toLocaleString()})]}),(0,q.jsxs)(`div`,{className:`dc:flex-1 dc:relative`,children:[(0,q.jsx)(`div`,{className:`dc:w-full dc:h-8 bg-dc-surface-secondary dc:rounded-sm`}),(0,q.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:left-0 dc:h-8 dc:rounded-sm dc:transition-all dc:duration-300`,style:{width:`${Math.max(o,2)}%`,backgroundColor:d9(a,n)}}),(0,q.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:left-0 dc:h-8 dc:flex dc:items-center dc:px-2 dc:pointer-events-none`,style:{width:`${Math.max(o,20)}%`},children:(0,q.jsxs)(`span`,{className:`dc:text-xs dc:font-medium text-white dc:drop-shadow-sm`,children:[i.percentage?.toFixed(1)??o.toFixed(1),`%`]})})]}),(0,q.jsx)(`div`,{className:`${d>0?d>1?`dc:w-36`:`dc:w-28`:`dc:w-16`} dc:flex-shrink-0 dc:text-left`,children:(0,q.jsx)(p9,{stepConversionRate:c,arrow:`↓`,showConversion:r.showConversion,timeMetricsLines:u})})]},i.name)})}),!r.hideSummaryFooter&&(0,q.jsx)(f9,{funnelData:e,firstStepValue:t})]})}var Ome=z.memo(function({data:e,height:t=`100%`,colorPalette:n,displayConfig:r}){let{t:i}=Hv(),a=wme(r),o=(0,z.useMemo)(()=>Cme(e),[e]),s=o[0]?.value||0;if(!e||e.length===0||o.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:t},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.funnel.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:i(`chart.runtime.noDataHint.funnel`)})]})});let c={funnelData:o,firstStepValue:s,paletteColors:n?.colors||$3,options:a,height:t};return a.funnelStyle===`funnel`?(0,q.jsx)(Tme,{...c}):a.isVertical?(0,q.jsx)(Eme,{...c}):(0,q.jsx)(Dme,{...c})}),m9=`#22c55e`,h9=`#ef4444`,g9=`#6366f1`,kme=`#94a3b8`;function Ame(e,t,n,r,i){let a=0,o=e.map((e,r)=>{let i=String(e[t]??`Row ${r+1}`),o=e[n],s=typeof o==`number`?o:parseFloat(String(o??``)),c=isNaN(s)?0:s,l=c<0,u=l?a+c:a,d={label:i,value:Math.abs(c),runningBase:u,isTotal:!1,isNegative:l,displayValue:c,originalIndex:r};return a+=c,d});if(r){let e=i(n)||`Total`;o.push({label:e,value:Math.abs(a),runningBase:a>=0?0:a,isTotal:!0,isNegative:a<0,displayValue:a,originalIndex:o.length})}return o}function jme(e){let{x:t=0,y:n=0,width:r=0,value:i=0,isNegative:a,displayValue:o}=e;if(o==null)return null;let s=Number(o),c=a||s<0?n+i+14:n-6;return(0,q.jsxs)(`text`,{x:t+r/2,y:c,fill:`currentColor`,textAnchor:`middle`,fontSize:11,children:[s>=0?`+`:``,s.toLocaleString()]})}var Mme=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,onDataPointClick:i,drillEnabled:a}){let{t:o}=Hv(),s=f6(),c=n?.showTotal??!0,l=n?.showConnectorLine??!0,u=n?.showDataLabels??!1,d=n?.leftYAxisFormat,{xAxisField:f,yAxisField:p,configError:m}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.x,n=Array.isArray(t?.yAxis)?t.yAxis[0]:t?.y?.[0];return{xAxisField:e,yAxisField:n,configError:!e||!n?`Waterfall chart requires an X-axis dimension and a Y-axis measure`:null}},[t]),h=(0,z.useMemo)(()=>m||!e||e.length===0||!f||!p?[]:Ame(e,f,p,c,s),[e,f,p,c,s,m]),g=(0,z.useMemo)(()=>!l||h.length===0?[]:h.map(e=>{let t=e.isNegative?e.runningBase:e.runningBase+e.value;return{label:e.label,_connector:t}}),[h,l]),_=(0,z.useMemo)(()=>h.map((e,t)=>({...e,_connector:g[t]?._connector})),[h,g]);try{return!e||e.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.waterfall`)})]})}):m?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:m})]})}):(0,q.jsx)(`div`,{className:`dc:relative dc:w-full`,style:{height:r},children:(0,q.jsx)(R3,{height:`100%`,children:(0,q.jsxs)(O3,{data:_,margin:{...t6,left:40},accessibilityLayer:!1,children:[(0,q.jsx)(RZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(p0,{dataKey:`label`,type:`category`,tick:(0,q.jsx)(J3,{}),height:60}),(0,q.jsx)(O0,{tick:{fontSize:12},tickFormatter:d?e=>U3(e,d):void 0}),(0,q.jsx)(q3,{formatter:(e,t,n)=>{if(t===`_connector`)return[``,``];let r=n?.payload;if(!r)return[e,t];let i=r.displayValue??e;return[d?U3(i,d):i?.toLocaleString?.()??i,r.isTotal?`Total`:r.isNegative?`Decrease`:`Increase`]},labelFormatter:e=>e}),(0,q.jsx)(dO,{wrapperStyle:{fontSize:`12px`,paddingTop:`8px`},payload:[{value:`Increase`,type:`rect`,color:m9},{value:`Decrease`,type:`rect`,color:h9},...c?[{value:`Total`,type:`rect`,color:g9}]:[]]}),(0,q.jsx)(g1,{dataKey:`runningBase`,stackId:`wf`,fill:`transparent`,legendType:`none`,isAnimationActive:!1}),(0,q.jsxs)(g1,{dataKey:`value`,stackId:`wf`,isAnimationActive:!1,cursor:a?`pointer`:void 0,onClick:(e,t,n)=>{i&&a&&e&&!e.isTotal&&i({dataPoint:e,clickedField:p,xValue:e.label,position:{x:n.clientX,y:n.clientY},nativeEvent:n})},children:[u&&(0,q.jsx)(zU,{dataKey:`displayValue`,content:e=>(0,q.jsx)(jme,{...e,runningBase:_[e.index]?.runningBase,isNegative:_[e.index]?.isNegative,displayValue:_[e.index]?.displayValue})}),_.map((e,t)=>(0,q.jsx)(GV,{fill:e.isTotal?g9:e.isNegative?h9:m9},`cell-${t}`))]}),l&&(0,q.jsx)(jQ,{type:`stepAfter`,dataKey:`_connector`,stroke:kme,strokeWidth:1.5,strokeDasharray:`4 2`,dot:!1,activeDot:!1,legendType:`none`,isAnimationActive:!1})]})})})}catch(e){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Waterfall Chart`})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}}),_9=-Math.PI*.75,v9=Math.PI*.75,Nme=`#e2e8f0`,y9=`#6366f1`;function b9(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function x9(e,t,n){return Math.max(t,Math.min(n,e))}function S9(e,t,n){let r=n===t?1:n-t;return _9+x9((e-t)/r,0,1)*(v9-_9)}function Pme(e,t){let n=[...t].sort((e,t)=>e.value-t.value),r=y9;for(let t of n)e>=t.value&&(r=t.color);return r}function C9(e,t,n,r){return zy()({innerRadius:e,outerRadius:t,startAngle:n,endAngle:r})??``}function Fme(e){return typeof e==`object`&&!!e&&typeof e.value==`number`&&typeof e.color==`string`}function Ime(e){let t=null;if(Array.isArray(e))t=e;else if(typeof e==`string`&&e.trim())try{let n=JSON.parse(e);Array.isArray(n)&&(t=n)}catch(e){return console.warn(`GaugeChart: invalid threshold JSON`,e),[]}return t?t.filter(Fme):[]}function Lme(e){if(e.length===0)return[];let t=[...e].sort((e,t)=>e.value-t.value);return t.map((e,n)=>({color:e.color,start:n===0?_9:S9(t[n-1].value,0,1),end:S9(e.value,0,1)}))}function Rme(e,t,n,r){let i=n===t?t+1:n,a=x9(e,t,i),o=(a-t)/(i-t),s=r.length>0?Pme(o,r):y9,c=S9(a,t,i);return{effectiveMax:i,clampedValue:a,fraction:o,fillColor:s,fillAngle:c,needleAngle:c}}function w9(e,t){return t?U3(e,t):e.toLocaleString()}function zme({angle:e,radius:t}){let n=t*.72,r=t*.06,i=Math.cos(e-Math.PI/2)*n,a=Math.sin(e-Math.PI/2)*n;return(0,q.jsxs)(`g`,{\"data-testid\":`gauge-needle`,children:[(0,q.jsx)(`circle`,{r,fill:`currentColor`,className:`text-dc-text-secondary`}),(0,q.jsx)(`line`,{x1:0,y1:0,x2:i,y2:a,stroke:`currentColor`,strokeWidth:3,strokeLinecap:`round`,className:`text-dc-text-secondary`})]})}var Bme=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`}){let{t:i}=Hv(),a=f6(),o=(0,z.useRef)(null),[s,c]=(0,z.useState)({width:0,height:0});(0,z.useLayoutEffect)(()=>{let e=o.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&c({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&c({width:n.width,height:n.height}),()=>t.disconnect()},[]);let{valueField:l,maxField:u,configError:d}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.yAxis)?t.yAxis:[],n=e[0]??``,r=e[1]??``;return n?{valueField:n,maxField:r,configError:null}:{valueField:n,maxField:r,configError:`Gauge requires at least 1 measure in Y-Axis (current value)`}},[t]),f=(0,z.useMemo)(()=>Ime(n?.thresholds),[n?.thresholds]),p=Lme(f);try{if(!e||e.length===0)return(0,q.jsx)(Y3,{height:r,hint:i(`chart.runtime.noDataHint.gauge`)});if(d)return(0,q.jsx)(X3,{height:r,hint:d});let t=e[0],c=b9(t[l]);if(c===null)return(0,q.jsx)(Y3,{height:r,titleKey:`chart.runtime.noValidData`,hint:i(`chart.runtime.noValidDataHint.gauge`)});let m=n?.minValue??0,h=u?b9(t[u]):null,{effectiveMax:g,fraction:_,fillColor:v,fillAngle:y,needleAngle:b}=Rme(c,m,n?.maxValue??h??100,f),x=n?.showCenterLabel??!0,S=n?.showPercentage??!1,C=n?.leftYAxisFormat,w=s.width||300,T=typeof r==`number`?r:s.height||200,E=Math.min(w/2,T*.9)*.85,D=E,O=E*.6,k=w/2,ee=T*.7,te=C9(O,D,_9,v9),ne=C9(O,D,_9,y),A=S?`${(_*100).toFixed(1)}%`:w9(c,C),re=a(l);return(0,q.jsx)(`div`,{ref:o,className:`dc:relative dc:w-full`,style:{height:r},children:(0,q.jsx)(`svg`,{width:`100%`,height:`100%`,viewBox:`0 0 ${w} ${T}`,preserveAspectRatio:`xMidYMid meet`,\"data-testid\":`gauge-svg`,children:(0,q.jsxs)(`g`,{transform:`translate(${k}, ${ee})`,children:[(0,q.jsx)(`path`,{d:te,fill:Nme,\"data-testid\":`gauge-track`}),p.map((e,t)=>(0,q.jsx)(`path`,{d:C9(D+4,D+8,e.start,e.end),fill:e.color,\"data-testid\":`gauge-band-${t}`},t)),(0,q.jsx)(`path`,{d:ne,fill:v,\"data-testid\":`gauge-fill`,\"data-fraction\":_.toFixed(4)}),(0,q.jsx)(zme,{angle:b,radius:E}),x&&(0,q.jsxs)(`g`,{\"data-testid\":`gauge-label`,children:[(0,q.jsx)(`text`,{textAnchor:`middle`,dominantBaseline:`middle`,fontSize:E*.22,fontWeight:`bold`,fill:`currentColor`,dy:E*.12,\"data-testid\":`gauge-value-text`,children:A}),(0,q.jsx)(`text`,{textAnchor:`middle`,fontSize:E*.13,fill:`currentColor`,className:`text-dc-text-secondary`,dy:E*.34,children:re})]}),(0,q.jsx)(`text`,{x:Math.cos(_9-Math.PI/2)*(D+14),y:Math.sin(_9-Math.PI/2)*(D+14),textAnchor:`middle`,fontSize:E*.12,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`gauge-min-label`,children:w9(m,C)}),(0,q.jsx)(`text`,{x:Math.cos(v9-Math.PI/2)*(D+14),y:Math.sin(v9-Math.PI/2)*(D+14),textAnchor:`middle`,fontSize:E*.12,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`gauge-max-label`,children:w9(g,C)})]})})})}catch(e){return(0,q.jsx)(Z3,{height:r,chartType:`Gauge Chart`,error:e})}}),T9=50;function E9(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function Vme(e,t,n,r,i,a,o,s){let c=E9(e[t]),l=E9(e[n]),u=E9(e[r]),d=E9(e[i]),f=E9(e[a]);return c===null||l===null||u===null||d===null||f===null?null:{label:o,min:c,q1:l,median:u,q3:d,max:f,color:s}}function Hme(e,t,n,r,i,a){let o=E9(e[t]),s=E9(e[n]),c=E9(e[r]);if(o===null||s===null||c===null)return null;let l=Math.abs(s);return{label:i,min:o-2*l,q1:o-l,median:c,q3:o+l,max:o+2*l,color:a}}function Ume({x:e,boxWidth:t,minY:n,q1Y:r,medianY:i,q3Y:a,maxY:o,color:s,label:c}){let l=t/2,u=e,d=t*.4;return(0,q.jsxs)(`g`,{\"data-testid\":`box-${c}`,children:[(0,q.jsx)(`line`,{x1:u,y1:n,x2:u,y2:o,stroke:s,strokeWidth:1.5}),(0,q.jsx)(`line`,{x1:u-d/2,y1:n,x2:u+d/2,y2:n,stroke:s,strokeWidth:1.5}),(0,q.jsx)(`line`,{x1:u-d/2,y1:o,x2:u+d/2,y2:o,stroke:s,strokeWidth:1.5}),(0,q.jsx)(`rect`,{x:u-l,y:Math.min(r,a),width:t,height:Math.abs(a-r)||2,fill:s,fillOpacity:.3,stroke:s,strokeWidth:1.5}),(0,q.jsx)(`line`,{x1:u-l,y1:i,x2:u+l,y2:i,stroke:s,strokeWidth:2.5,\"data-testid\":`median-${c}`})]})}function Wme({scale:e,domainMin:t,domainMax:n,width:r,tickCount:i=5,format:a}){let o=(0,z.useMemo)(()=>{let e=n-t;if(e===0)return[t];let r=e/(i-1);return Array.from({length:i},(e,n)=>t+n*r)},[t,n,i]);return(0,q.jsxs)(`g`,{\"data-testid\":`y-axis`,children:[o.map((t,n)=>(0,q.jsxs)(`g`,{transform:`translate(0, ${e(t)})`,children:[(0,q.jsx)(`line`,{x1:0,x2:-6,stroke:`currentColor`,strokeWidth:1}),(0,q.jsx)(`text`,{x:-10,textAnchor:`end`,dominantBaseline:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,children:a?a(t):t.toLocaleString()}),(0,q.jsx)(`line`,{x1:0,x2:r,stroke:`currentColor`,strokeOpacity:.1,strokeWidth:1})]},n)),(0,q.jsx)(`line`,{y1:e(o[0]),y2:e(o[o.length-1]),stroke:`currentColor`,strokeWidth:1})]})}var Gme=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i,onDataPointClick:a,drillEnabled:o}){let{t:s}=Hv(),c=(0,z.useRef)(null),[l,u]=(0,z.useState)({width:0,height:0});(0,z.useLayoutEffect)(()=>{let e=c.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&u({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&u({width:n.width,height:n.height}),()=>t.disconnect()},[]);let d=n?.leftYAxisFormat,{xField:f,mode:p,fields:m,configError:h}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.xAxis??t?.x,n=Array.isArray(t?.yAxis)?t.yAxis:[];return!e||n.length===0?{xField:e,mode:`none`,fields:{},configError:`BoxPlot requires an X-Axis dimension and at least one measure in Y-Axis`}:n.length>=5?{xField:e,mode:`5measure`,fields:{minField:n[0],q1Field:n[1],medianField:n[2],q3Field:n[3],maxField:n[4]},configError:null}:n.length>=3?{xField:e,mode:`3measure`,fields:{avgField:n[0],stddevField:n[1],medianField:n[2]},configError:null}:n.length===2?{xField:e,mode:`none`,fields:{},configError:`BoxPlot requires 1 measure (auto), 3 (avg/stddev/median), or 5 (min/q1/median/q3/max)`}:{xField:e,mode:`auto`,fields:{valueField:n[0]},configError:null}},[t]),g=(0,z.useMemo)(()=>{if(h||!e||e.length===0||p===`none`)return[];let t=e.slice(0,T9),n=i?.colors??$3,r=[];for(let e=0;e<t.length;e++){let i=t[e],a=f?String(i[f]??`Row ${e+1}`):`Row ${e+1}`,o=n[e%n.length],s=null;if(p===`5measure`)s=Vme(i,m.minField,m.q1Field,m.medianField,m.q3Field,m.maxField,a,o);else if(p===`3measure`)s=Hme(i,m.avgField,m.stddevField,m.medianField,a,o);else{let e=E9(i[m.valueField]);e!==null&&(s={label:a,min:e,q1:e,median:e,q3:e,max:e,color:o})}s&&r.push(s)}return r},[e,f,p,m,i,h]);if(!e||e.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:s(`chart.runtime.noDataHint.boxPlot`)})]})});if(h)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:h})]})});if(g.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.noValidData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:s(`chart.runtime.noValidDataHint.boxPlot`)})]})});try{let t={top:20,right:20,bottom:60,left:60},n=l.width||600,i=typeof r==`number`?r:l.height||400,u=Math.max(n-t.left-t.right,50),p=Math.max(i-t.top-t.bottom,50),m=g.flatMap(e=>[e.min,e.max]),h=Math.min(...m),_=Math.max(...m),v=(_-h)*.1||1,y=h-v,b=_+v,x=b-y,S=e=>x===0?p/2:p-(e-y)/x*p,C=u/g.length,w=Math.min(C*.6,40),T=e.length>T9;return(0,q.jsxs)(`div`,{ref:c,className:`dc:relative dc:w-full`,style:{height:r},children:[(0,q.jsx)(`svg`,{width:`100%`,height:T?`calc(100% - 20px)`:`100%`,viewBox:`0 0 ${n} ${typeof i==`number`?i:400}`,preserveAspectRatio:`none`,\"data-testid\":`boxplot-svg`,children:(0,q.jsxs)(`g`,{transform:`translate(${t.left}, ${t.top})`,children:[(0,q.jsx)(Wme,{scale:S,domainMin:y,domainMax:b,width:u,tickCount:5,format:d?e=>U3(e,d):void 0}),g.map((e,t)=>{let n=C*t+C/2;return(0,q.jsxs)(`g`,{onClick:t=>{a&&o&&a({dataPoint:{...e},clickedField:f??``,xValue:e.label,position:{x:t.clientX,y:t.clientY},nativeEvent:t})},cursor:o?`pointer`:void 0,children:[(0,q.jsx)(`title`,{children:`${e.label}: min=${e.min}, Q1=${e.q1}, median=${e.median}, Q3=${e.q3}, max=${e.max}`}),(0,q.jsx)(Ume,{x:n,boxWidth:w,minY:S(e.min),q1Y:S(e.q1),medianY:S(e.median),q3Y:S(e.q3),maxY:S(e.max),color:e.color,label:e.label}),(0,q.jsx)(`text`,{x:n,y:p+20,textAnchor:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`x-label-${e.label}`,children:e.label})]},`${e.label}-${t}`)})]})}),T&&(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-warning dc:text-center dc:mt-1`,children:s(`chart.runtime.boxPlot.truncated`,{max:T9,total:e.length})})]})}catch(e){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.chartError`,{chartType:`Box Plot Chart`})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:s(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:s(`chart.runtime.checkConfig`)})]})})}}),Kme=`#22c55e`,qme=`#ef4444`,D9=`#94a3b8`,O9=200;function k9(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function Jme({x:e,candleWidth:t,openY:n,closeY:r,highY:i,lowY:a,isBullish:o,bullColor:s,bearColor:c,showWicks:l,label:u}){let d=o?s:c,f=Math.min(n,r),p=Math.max(n,r),m=Math.max(p-f,1),h=t/2;return(0,q.jsxs)(`g`,{\"data-testid\":`candle-${u}`,children:[(0,q.jsx)(`rect`,{x:e-h,y:f,width:t,height:m,fill:d,\"data-testid\":`candle-body-${u}`,\"data-bullish\":o}),l&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`line`,{x1:e,y1:i,x2:e,y2:f,stroke:D9,strokeWidth:1,\"data-testid\":`wick-high-${u}`}),(0,q.jsx)(`line`,{x1:e,y1:p,x2:e,y2:a,stroke:D9,strokeWidth:1,\"data-testid\":`wick-low-${u}`})]})]})}function Yme({domainMin:e,domainMax:t,innerHeight:n,tickCount:r,format:i}){let a=(0,z.useMemo)(()=>{let n=(t-e)/(r-1);return Array.from({length:r},(t,r)=>e+r*n)},[e,t,r]),o=r=>n-(r-e)/(t-e)*n;return(0,q.jsxs)(`g`,{\"data-testid\":`y-axis`,children:[(0,q.jsx)(`line`,{y1:0,y2:n,stroke:`currentColor`,strokeWidth:1}),a.map((e,t)=>(0,q.jsxs)(`g`,{transform:`translate(0, ${o(e)})`,children:[(0,q.jsx)(`line`,{x1:0,x2:-6,stroke:`currentColor`,strokeWidth:1}),(0,q.jsx)(`text`,{x:-10,textAnchor:`end`,dominantBaseline:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,children:i?i(e):e.toLocaleString()}),(0,q.jsx)(`line`,{x1:0,x2:`100%`,stroke:`currentColor`,strokeOpacity:.1,strokeWidth:1})]},t))]})}var Xme=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,onDataPointClick:i,drillEnabled:a}){let{t:o}=Hv(),s=(0,z.useRef)(null),[c,l]=(0,z.useState)({width:0,height:0});(0,z.useLayoutEffect)(()=>{let e=s.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&l({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&l({width:n.width,height:n.height}),()=>t.disconnect()},[]);let u=n?.bullColor??Kme,d=n?.bearColor??qme,f=n?.showWicks??!0,p=n?.rangeMode??`ohlc`,m=n?.leftYAxisFormat,{xField:h,openField:g,closeField:_,highField:v,lowField:y,configError:b}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.xAxis??t?.x,n=Array.isArray(t?.yAxis)?t.yAxis:[],r=n[0]??``,i=(p===`range`?n[0]:n[1])??``,a=(p===`range`?n[0]:n[2])??``,o=(p===`range`?n[1]:n[3])??``;return e?p===`range`&&(!a||!o)?{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`Range mode requires at least 2 measures (high, low) in Y-Axis`}:p===`ohlc`&&(!r||!i)?{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`OHLC mode requires at least 2 measures (open, close) in Y-Axis`}:{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:null}:{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`Candlestick chart requires an X-Axis (time or category dimension)`}},[t,p]),x=(0,z.useMemo)(()=>{if(b||!e||e.length===0)return[];let t=e.slice(0,O9),n=[];for(let e=0;e<t.length;e++){let r=t[e],i=String(r[h]??`Bar ${e+1}`),a=k9(r[g]),o=k9(r[_]);if(a===null||o===null)continue;let s=a,c=o,l=v?k9(r[v])??Math.max(s,c):Math.max(s,c),u=y?k9(r[y])??Math.min(s,c):Math.min(s,c);p===`range`&&(s=u,c=l),n.push({label:i,open:s,close:c,high:Math.max(s,c,l),low:Math.min(s,c,u),isBullish:c>=s,originalIndex:e})}return n},[e,h,g,_,v,y,p,b]);try{if(!e||e.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.candlestick`)})]})});if(b)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:b})]})});let t={top:20,right:20,bottom:60,left:70},n=c.width||600,l=typeof r==`number`?r:c.height||400,p=Math.max(n-t.left-t.right,50),g=Math.max((typeof l==`number`?l:parseInt(String(l))||400)-t.top-t.bottom,50),_=x.flatMap(e=>[e.low,e.high]),v=Math.min(..._),y=Math.max(..._),S=(y-v)*.05||1,C=v-S,w=y+S,T=e=>g-(e-C)/(w-C)*g,E=p/x.length,D=Math.min(E*.7,20),O=e.length>O9;return(0,q.jsxs)(`div`,{ref:s,className:`dc:relative dc:w-full`,style:{height:r},children:[(0,q.jsx)(`svg`,{width:`100%`,height:O?`calc(100% - 20px)`:`100%`,viewBox:`0 0 ${n} ${typeof l==`number`?l:400}`,\"data-testid\":`candlestick-svg`,children:(0,q.jsxs)(`g`,{transform:`translate(${t.left}, ${t.top})`,children:[(0,q.jsx)(Yme,{domainMin:C,domainMax:w,innerHeight:g,tickCount:5,format:m?e=>U3(e,m):void 0}),x.map((e,t)=>{let n=E*t+E/2;return(0,q.jsxs)(`g`,{onClick:t=>{i&&a&&i({dataPoint:{...e},clickedField:h??``,xValue:e.label,position:{x:t.clientX,y:t.clientY},nativeEvent:t})},cursor:a?`pointer`:void 0,children:[(0,q.jsx)(`title`,{children:`${e.label}: O=${e.open} H=${e.high} L=${e.low} C=${e.close}`}),(0,q.jsx)(Jme,{x:n,candleWidth:D,openY:T(e.open),closeY:T(e.close),highY:T(e.high),lowY:T(e.low),isBullish:e.isBullish,bullColor:u,bearColor:d,showWicks:f,label:e.label}),(0,q.jsx)(`text`,{x:n,y:g+20,textAnchor:`middle`,fontSize:10,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`x-label-${e.label}`,children:e.label})]},e.label+t)})]})}),O&&(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-warning dc:text-center dc:mt-1`,children:o(`chart.runtime.candlestick.truncated`,{max:O9,total:e.length})})]})}catch(e){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Candlestick Chart`})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}}),A9=e=>Math.floor(e.getMonth()/3)+1,Zme=e=>e.getMonth()%3+1,Qme=e=>Math.floor((e.getDate()-1)/7)+1,$me=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],j9=[`Q1`,`Q2`,`Q3`,`Q4`],M9=[`Month 1`,`Month 2`,`Month 3`],N9=[`Week 1`,`Week 2`,`Week 3`,`Week 4`,`Week 5`],P9=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],F9=[`00-03`,`03-06`,`06-09`,`09-12`,`12-15`,`15-18`,`18-21`,`21-00`];function ehe(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=t.getUTCDay()||7;t.setUTCDate(t.getUTCDate()+4-n);let r=t.getUTCFullYear(),i=new Date(Date.UTC(r,0,1));return{year:r,week:Math.ceil(((t.getTime()-i.getTime())/864e5+1)/7)}}var the={quarter:{extractX:e=>e.getFullYear(),extractY:e=>A9(e)-1,xLabels:[],yLabels:j9,xFormat:e=>`'${e.toString().slice(-2)}`,yFormat:e=>j9[e]||``,cellWidth:16,cellHeight:16},month:{extractX:e=>e.getFullYear()*10+A9(e),extractY:e=>Zme(e)-1,xLabels:[],yLabels:M9,xFormat:e=>`Q${e%10}`,yFormat:e=>M9[e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/10)},week:{extractX:e=>e.getFullYear()*100+(e.getMonth()+1),extractY:e=>Qme(e)-1,xLabels:[],yLabels:N9,xFormat:e=>$me[e%100-1]||``,yFormat:e=>N9[e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)},day:{extractX:e=>{let{year:t,week:n}=ehe(e);return t*100+n},extractY:e=>e.getDay(),xLabels:[],yLabels:P9,xFormat:e=>`${e%100}`,yFormat:e=>P9[e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)},hour:{extractX:e=>e.getFullYear()*1e4+(e.getMonth()+1)*100+e.getDate(),extractY:e=>Math.floor(e.getHours()/3),xLabels:[],yLabels:F9,xFormat:e=>`${e%100}`,yFormat:e=>F9[e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)}};function nhe(e){return the[e?.toLowerCase()]??null}function I9(e){if(e)return Array.isArray(e)?e[0]:e}function rhe(e,t){let n=e?.timeDimensions;if(!n||n.length===0)return`day`;let r=n.find(e=>e.dimension===t||e.dimension.includes(t));if(r&&r.granularity)return r.granularity;let i=n[0];return i&&i.granularity?i.granularity:`day`}function ihe(e){if(typeof e==`string`){let t=e;return e.includes(` `)&&(t=e.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!t.endsWith(`Z`)&&!t.includes(`+`)&&(t+=`Z`),new Date(t)}return new Date(e)}function ahe(e,t,n,r,i){return e.map(e=>{let a=e[t],o=typeof e[n]==`string`?parseFloat(e[n]):e[n]||0,s=ihe(a);return isNaN(s.getTime())?null:{x:r.extractX(s),y:r.extractY(s),value:o,date:s,label:W3(a,i)}}).filter(e=>e!==null)}var ohe=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function she(e){return{textColor:e?c9(`--dc-text-muted`,`#cbd5e1`):c9(`--dc-text-secondary`,`#374151`),lineColor:c9(`--dc-border`,`#e5e7eb`),emptyCellColor:e?c9(`--dc-bg-secondary`,`#1e293b`):c9(`--dc-bg-secondary`,`#f3f4f6`),cellStrokeColor:e?c9(`--dc-border`,`#334155`):c9(`--dc-bg`,`#ffffff`)}}function che(e){let{gridData:t,gridMapping:n,dimensions:r,safeDisplayConfig:i}=e,a=zM(t,e=>e.y)||0,o=BM(t,e=>e.y)||0,s=[...new Set(t.map(e=>e.x))].sort((e,t)=>e-t),c=s.length*n.cellWidth+(s.length-1)*4,l=(a-o+1)*n.cellHeight+(a-o)*4,u={...t6,left:60,bottom:10,top:n.hasHierarchicalLabels?40:25,right:10},d=r.width-u.left-u.right,f=r.height-u.top-u.bottom,p=Math.min(d/c,f/l),m,h;i.fitToWidth?(m=n.cellWidth*p,h=n.cellHeight*p):(m=Math.max(16,Math.min(24,n.cellWidth*p)),h=Math.max(16,Math.min(24,n.cellHeight*p)),e.granularity===`week`&&m<16&&(m=16));let g=s.length*m+(s.length-1)*4,_=g>d?g+u.left+u.right:r.width;return{margin:u,finalCellWidth:m,finalCellHeight:h,completeXRange:s,minY:o,maxY:a,svgWidth:_}}function lhe(){return $6(`body`).append(`div`).attr(`class`,`activity-grid-tooltip`).style(`position`,`absolute`).style(`padding`,`8px`).style(`background`,`rgba(0, 0, 0, 0.8)`).style(`color`,`white`).style(`border-radius`,`4px`).style(`font-size`,`12px`).style(`pointer-events`,`none`).style(`opacity`,0).style(`z-index`,1e3)}function uhe(e,t,n,r,i){e.style(`cursor`,t.drillEnabled?`pointer`:`default`).on(`mouseover`,function(e){if($6(this).style(`stroke`,`#000`).style(`stroke-width`,2),n){let i=[`<strong>${n.label}</strong>`,`${t.getFieldLabel(t.valueField)}: ${n.value}`].join(`<br>`);r.html(i).style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`).transition().duration(200).style(`opacity`,1)}}).on(`mousemove`,function(e){r.style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`)}).on(`mouseout`,function(){$6(this).style(`stroke`,i).style(`stroke-width`,1),r.transition().duration(200).style(`opacity`,0)})}function dhe(e,t,n,r,i,a){let{gridData:o,valueField:s,dateField:c,drillEnabled:l,onDataPointClick:u,safeDisplayConfig:d}=e,{completeXRange:f,minY:p,maxY:m,finalCellWidth:h,finalCellHeight:g}=n,_=new Map;o.forEach(e=>_.set(`${e.x}-${e.y}`,e));let v=new Map;f.forEach((e,t)=>v.set(e,t));for(let n of f)for(let o=p;o<=m;o++){let f=_.get(`${n}-${o}`),m=v.get(n)||0,y=t.append(`rect`).attr(`x`,m*(h+4)).attr(`y`,(o-p)*(g+4)).attr(`width`,h).attr(`height`,g).attr(`rx`,2).attr(`ry`,2).style(`fill`,f?r(f.value):a.emptyCellColor).style(`stroke`,a.cellStrokeColor).style(`stroke-width`,1);d.showTooltip?uhe(y,e,f,i,a.cellStrokeColor):l&&y.style(`cursor`,`pointer`),l&&u&&f&&y.on(`click`,function(e){u({dataPoint:{[s]:f.value,[c]:f.date},clickedField:s,xValue:f.label,position:{x:e.pageX,y:e.pageY},nativeEvent:e})})}}function fhe(e){if(e>9999){let t=Math.floor(e/100);return`${ohe[e%100-1]} '${t.toString().slice(-2)}`}return`'${e.toString().slice(-2)}`}function phe(e,t,n,r){let{gridMapping:i}=e,{completeXRange:a,finalCellWidth:o}=n,s=new Map;a.forEach((e,t)=>s.set(e,t));let c=new Map;for(let e of a){let t=i.getYearFromX(e);c.has(t)||c.set(t,[]),c.get(t).push(e)}for(let e of a){let n=s.get(e)||0;t.append(`text`).attr(`x`,n*(o+4)+o/2).attr(`y`,-8).attr(`text-anchor`,`middle`).style(`font-size`,`10px`).style(`fill`,r.textColor).text(i.xFormat(e))}for(let[e,n]of c){if(n.length===0)continue;let i=Math.min(...n.map(e=>s.get(e)||0)),a=Math.max(...n.map(e=>s.get(e)||0)),c=(i+a)/2;t.append(`text`).attr(`x`,c*(o+4)+o/2).attr(`y`,-25).attr(`text-anchor`,`middle`).style(`font-size`,`12px`).style(`font-weight`,`bold`).style(`fill`,r.textColor).text(fhe(e)),n.length>1&&t.append(`line`).attr(`x1`,i*(o+4)).attr(`x2`,a*(o+4)+o).attr(`y1`,-20).attr(`y2`,-20).style(`stroke`,r.lineColor).style(`stroke-width`,1).style(`opacity`,.3)}}function mhe(e,t,n,r){let{gridMapping:i}=e,{completeXRange:a,finalCellWidth:o}=n,s=Math.max(1,Math.floor(a.length/10));for(let e=0;e<a.length;e+=s)t.append(`text`).attr(`x`,e*(o+4)+o/2).attr(`y`,-8).attr(`text-anchor`,`middle`).style(`font-size`,`10px`).style(`fill`,r.textColor).text(i.xFormat(a[e]))}function hhe(e,t,n,r){let{gridMapping:i}=e,{minY:a,maxY:o,finalCellHeight:s}=n;i.hasHierarchicalLabels&&i.getYearFromX?phe(e,t,n,r):mhe(e,t,n,r);for(let e=a;e<=o;e++)t.append(`text`).attr(`x`,-8).attr(`y`,(e-a)*(s+4)+s/2).attr(`text-anchor`,`end`).attr(`dy`,`.35em`).style(`font-size`,`10px`).style(`fill`,r.textColor).text(i.yFormat(e))}function ghe(e){let{svgEl:t,gridData:n,dimensions:r,colorPalette:i,isDark:a,safeDisplayConfig:o}=e;if($6(t).selectAll(`*`).remove(),n.length===0)return;let s=che(e),c=$6(t).attr(`width`,s.svgWidth).attr(`height`,r.height).append(`g`).attr(`transform`,`translate(${s.margin.left},${s.margin.top})`),l=n.map(e=>e.value),u=CF().domain([BM(l)||0,zM(l)||1]).range(i?.gradient||e6),d=she(a),f=lhe();return dhe(e,c,s,u,f,d),o.showLabels&&hhe(e,c,s,d),()=>{f.remove()}}var _he=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Hv(),l=(0,z.useRef)(null),{containerRef:u,dimensions:d,dimensionsReady:f}=s9(),[p,m]=(0,z.useState)(`light`),h=f6();(0,z.useEffect)(()=>(m(i9()),a9(e=>m(e))),[]);let g=(0,z.useMemo)(()=>({showTooltip:n?.showTooltip??!0,showLabels:n?.showLabels??!0,fitToWidth:n?.fitToWidth??!1}),[n?.showTooltip,n?.showLabels,n?.fitToWidth]);if((0,z.useEffect)(()=>{if(!e||e.length===0||!l.current||!f||d.width===0||!t?.dateField||!t?.valueField)return;let n=I9(t.dateField),i=I9(t.valueField);if(!n||!i)return;let c=rhe(r,n),u=nhe(c);if(!u)return;let m=ahe(e,n,i,u,c);return ghe({svgEl:l.current,gridData:m,gridMapping:u,granularity:c,dimensions:d,safeDisplayConfig:g,colorPalette:a,isDark:p!==`light`,valueField:i,dateField:n,getFieldLabel:h,drillEnabled:s,onDataPointClick:o})},[e,t,r,d,f,g,a,p,h,s,o]),!e||e.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.noDataHint.activityGrid`)})]})});if(!(t?.dateField&&t?.valueField))return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.activityGridConfigRequired`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.configErrorHint.activityGridRequired`)})]})});let _=I9(t.dateField);return(r?.timeDimensions?.find(e=>e.dimension===_||e.dimension.includes(_))?.granularity||`day`)?.toLowerCase()===`year`?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.activityGridGranularityTooHigh`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.activityGridGranularityHint`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary dc:mt-1`,children:c(`chart.runtime.activityGridGranularityAction`)})]})}):(0,q.jsx)(`div`,{className:`dc:w-full dc:flex dc:flex-col dc:relative`,style:{height:i,minHeight:`250px`,overflow:`hidden`,width:`100%`},children:(0,q.jsxs)(`div`,{ref:u,className:`dc:w-full dc:h-full dc:relative dc:overflow-x-auto`,style:{width:`100%`},children:[(0,q.jsx)(`svg`,{ref:l,className:`dc:h-full`}),!f&&(0,q.jsx)(`div`,{className:`dc:absolute dc:inset-0 dc:flex dc:items-center dc:justify-center`,children:(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:text-sm`,children:c(`chart.runtime.measuringDimensions`)})})]})})});function vhe(e,t,n,r){if(!e||e.length===0||t.length===0)return{profileData:[],seriesKeys:[]};if(n){let i=Array.from(new Set(e.map(e=>String(e[n]??`Unknown`))));return{profileData:t.map(t=>{let a={measureKey:t,measureLabel:r(t)};for(let r of i){let i=e.filter(e=>String(e[n]??`Unknown`)===r).map(e=>{let n=e[t];return typeof n==`number`?n:parseFloat(String(n??``))}).filter(e=>!isNaN(e));a[r]=i.length>0?i.reduce((e,t)=>e+t,0)/i.length:null}return a}),seriesKeys:i}}else{let n=`_value`;return{profileData:t.map(t=>{let i=e.map(e=>{let n=e[t];return typeof n==`number`?n:parseFloat(String(n??``))}).filter(e=>!isNaN(e));return{measureKey:t,measureLabel:r(t),[n]:i.length>0?i.reduce((e,t)=>e+t,0)/i.length:null}}),seriesKeys:[n]}}}var yhe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i,drillEnabled:a}){let{t:o}=Hv(),s=f6(),c=n?.showReferenceLineAtZero??!0,l=n?.showDataLabels??!1,u=n?.lineType??`monotone`,d=n?.leftYAxisFormat,{yAxisFields:f,seriesField:p,configError:m}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.yAxis)?t.yAxis:[];return{yAxisFields:e,seriesField:Array.isArray(t?.series)?t.series[0]:t?.series??void 0,configError:e.length<2?`Measure Profile chart requires at least 2 measures in Y-Axis`:null}},[t]),{profileData:h,seriesKeys:g}=(0,z.useMemo)(()=>m||!e||e.length===0?{profileData:[],seriesKeys:[]}:vhe(e,f,p,s),[e,f,p,s,m]),_=(n?.showLegend??!0)&&g.length>1;try{return!e||e.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.measureProfile`)})]})}):m?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:m})]})}):(0,q.jsx)(`div`,{className:`dc:relative dc:w-full`,style:{height:r},children:(0,q.jsx)(R3,{height:`100%`,children:(0,q.jsxs)(u4,{data:h,margin:{...t6,left:40},accessibilityLayer:!1,children:[(0,q.jsx)(RZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(p0,{dataKey:`measureLabel`,type:`category`,tick:(0,q.jsx)(J3,{}),height:60}),(0,q.jsx)(O0,{tick:{fontSize:12},tickFormatter:d?e=>U3(e,d):void 0}),(0,q.jsx)(q3,{formatter:(e,t)=>e==null?[`No data`,t]:[d?U3(e,d):e?.toLocaleString?.()??e,t===`_value`?s(f[0]?.split(`.`)[0])||`Value`:t]}),c&&(0,q.jsx)(jX,{y:0,stroke:`var(--dc-border, #94a3b8)`,strokeDasharray:`4 2`}),_&&(0,q.jsx)(dO,{wrapperStyle:{fontSize:`12px`,paddingTop:`8px`}}),g.map((e,t)=>(0,q.jsx)(jQ,{type:u,dataKey:e,name:e===`_value`?s(f[0]?.split(`.`)[0])||`Value`:e,stroke:i?.colors&&i.colors[t%i.colors.length]||$3[t%$3.length],strokeWidth:2,dot:l?{r:4}:{r:3},activeDot:{r:5},label:l?{position:`top`,fontSize:10}:void 0,isAnimationActive:!1,cursor:a?`pointer`:void 0},e))]})})})}catch(e){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Measure Profile Chart`})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}}),L9=()=>!0,R9=({hasMeasure:e})=>e,z9=({hasMeasure:e,hasDimension:t,hasTimeDim:n})=>e&&(t||n),B9=({hasMeasure:e,hasDimension:t})=>e&&t,V9=({hasMeasure:e,hasDimension:t,rowCount:n})=>e&&t&&n<=20,bhe={table:L9,markdown:L9,kpiNumber:R9,kpiDelta:R9,kpiText:R9,gauge:R9,measureProfile:R9,bar:z9,line:z9,area:z9,waterfall:z9,boxPlot:z9,candlestick:z9,scatter:z9,bubble:z9,pie:V9,radialBar:V9,sunburst:V9,treemap:B9,funnel:B9,radar:B9,heatmap:B9,sankey:({hasMeasure:e,dimensionCount:t})=>e&&t>=2,activityGrid:({hasMeasure:e,hasTimeDim:t})=>e&&t};function xhe(e,t){return(bhe[e]??L9)(t)}function H9(e){return e.measures||[]}function U9(e){return e.dimensions||[]}function W9(e){return e.timeDimensions?.filter(e=>!!e.granularity).map(e=>e.dimension)||[]}function She(e){return e.timeDimensions?.map(e=>e.dimension)||[]}function Che(e){let t=new Set;return e.filter(e=>!e||t.has(e)?!1:(t.add(e),!0))}function whe(e,t){let n=new Set(t),r=[];for(let t of e)if(!(!t||typeof t!=`object`))for(let e of Object.keys(t))n.has(e)||(n.add(e),r.push(e));return r}function The(e,t){let n=Che([...U9(e),...She(e),...H9(e)]);return[...n,...whe(t,n)]}function Ehe(e){let t=H9(e),n=U9(e),r=W9(e),i=[],a=[];return r.length>0?i.push(r[0]):n.length>0&&(i.push(n[0]),a.push(...n.slice(1))),{xAxis:i,yAxis:[...t],series:a}}function Dhe(e,t,n){let r=U9(t);return xhe(e,{hasMeasure:H9(t).length>0,hasDimension:r.length>0,hasTimeDim:W9(t).length>0,dimensionCount:r.length,rowCount:n})}function Ohe(e,t){let n=H9(e),r=U9(e),i=W9(e),a=t.length;return n.length>=1&&r.length===0&&i.length===0&&a<=1?`kpiNumber`:i.length>0&&n.length>=1?`line`:r.length>0&&n.length>=1?a<=10&&n.length===1&&r.length===1?`pie`:a<=30?`bar`:`table`:`table`}function G9(e,t,n){return n===`table`?{chartType:n,xAxis:The(e,t),yAxis:[],series:[]}:{chartType:n,...Ehe(e)}}var khe=[`bar`,`line`,`area`,`pie`,`scatter`,`treemap`,`kpiNumber`,`kpiDelta`,`kpiText`,`table`,`radar`,`radialBar`,`bubble`,`funnel`,`waterfall`,`gauge`,`boxPlot`,`candlestick`,`activityGrid`,`measureProfile`];function Ahe({selected:e,query:t,rowCount:n,onSelect:r}){let[i,a]=(0,z.useState)(!1),{t:o}=Hv(),s=e=>{let t=qfe[e]?.label;return t?o(t):e},c=Q7(e),l=s(e);return(0,q.jsxs)(`div`,{style:{position:`relative`},children:[(0,q.jsxs)(`button`,{type:`button`,onClick:()=>a(!i),style:{display:`flex`,alignItems:`center`,gap:6,padding:`4px 10px`,fontSize:12,fontWeight:500,borderRadius:6,border:`1px solid var(--dc-border, #e2e8f0)`,background:`var(--dc-surface, #fff)`,color:`var(--dc-text, #1e293b)`,cursor:`pointer`},children:[(0,q.jsx)(c,{style:{width:14,height:14,color:`var(--dc-text-secondary, #64748b)`}}),(0,q.jsx)(`span`,{children:l}),(0,q.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,style:{marginLeft:2,color:`var(--dc-text-muted, #94a3b8)`,transform:i?`rotate(180deg)`:void 0,transition:`transform 0.15s`},children:(0,q.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M19 9l-7 7-7-7`})})]}),i&&(0,q.jsx)(`div`,{style:{position:`absolute`,right:0,zIndex:10,marginTop:4,minWidth:260,maxHeight:320,overflowY:`auto`,background:`var(--dc-surface, #fff)`,border:`1px solid var(--dc-border, #e2e8f0)`,borderRadius:8,boxShadow:`0 4px 12px rgba(0,0,0,0.1)`,padding:6},children:(0,q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:3},children:khe.map(i=>{let o=Dhe(i,t,n),c=i===e,l=Q7(i),u=s(i);return(0,q.jsxs)(`button`,{type:`button`,onClick:()=>{o&&(r(i),a(!1))},disabled:!o,style:{display:`flex`,alignItems:`center`,gap:5,padding:`4px 8px`,fontSize:11,fontWeight:c?600:400,borderRadius:4,border:`1px solid`,borderColor:c?`var(--dc-primary, #3b82f6)`:`var(--dc-border, #e2e8f0)`,background:c?`var(--dc-surface-secondary, #f9fafb)`:`var(--dc-surface, #fff)`,color:o?c?`var(--dc-primary, #3b82f6)`:`var(--dc-text, #1e293b)`:`var(--dc-text-muted, #94a3b8)`,cursor:o?`pointer`:`not-allowed`,opacity:o?1:.5,textAlign:`left`},children:[(0,q.jsx)(l,{style:{width:14,height:14,flexShrink:0}}),(0,q.jsx)(`span`,{style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:u})]},i)})})})]})}function jhe(e){if(e&&typeof e==`object`&&`content`in e){let t=e.content.find(e=>e.type===`text`);return t?.text?JSON.parse(t.text):`noTextContent`}return e&&typeof e==`object`&&`data`in e?e:typeof e==`string`?JSON.parse(e):e}function Mhe(e){if(e&&`results`in e&&Array.isArray(e.results)){let t=e.results[0];if(t)return{data:t.data||[],query:t.query||e.query,annotation:t.annotation}}return e}function Nhe(e){let t=jhe(e);if(t===`noTextContent`)return{ok:!1,error:`noTextContent`};let n=Mhe(t);return!n?.data||!Array.isArray(n.data)?{ok:!1,error:`invalidResultFormat`}:{ok:!0,result:n}}Mh(),(e=>typeof d<`u`?d:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof d<`u`?d:e)[t]}):e)(function(e){if(typeof d<`u`)return d.apply(this,arguments);throw Error(`Dynamic require of \"`+e+`\" is not supported`)});var Phe=W([G(`light`),G(`dark`)]).describe(`Color theme preference for the host environment.`),K9=W([G(`inline`),G(`fullscreen`),G(`pip`)]).describe(`Display mode for UI presentation.`),Fhe=pp(W([G(`--color-background-primary`),G(`--color-background-secondary`),G(`--color-background-tertiary`),G(`--color-background-inverse`),G(`--color-background-ghost`),G(`--color-background-info`),G(`--color-background-danger`),G(`--color-background-success`),G(`--color-background-warning`),G(`--color-background-disabled`),G(`--color-text-primary`),G(`--color-text-secondary`),G(`--color-text-tertiary`),G(`--color-text-inverse`),G(`--color-text-ghost`),G(`--color-text-info`),G(`--color-text-danger`),G(`--color-text-success`),G(`--color-text-warning`),G(`--color-text-disabled`),G(`--color-border-primary`),G(`--color-border-secondary`),G(`--color-border-tertiary`),G(`--color-border-inverse`),G(`--color-border-ghost`),G(`--color-border-info`),G(`--color-border-danger`),G(`--color-border-success`),G(`--color-border-warning`),G(`--color-border-disabled`),G(`--color-ring-primary`),G(`--color-ring-secondary`),G(`--color-ring-inverse`),G(`--color-ring-info`),G(`--color-ring-danger`),G(`--color-ring-success`),G(`--color-ring-warning`),G(`--font-sans`),G(`--font-mono`),G(`--font-weight-normal`),G(`--font-weight-medium`),G(`--font-weight-semibold`),G(`--font-weight-bold`),G(`--font-text-xs-size`),G(`--font-text-sm-size`),G(`--font-text-md-size`),G(`--font-text-lg-size`),G(`--font-heading-xs-size`),G(`--font-heading-sm-size`),G(`--font-heading-md-size`),G(`--font-heading-lg-size`),G(`--font-heading-xl-size`),G(`--font-heading-2xl-size`),G(`--font-heading-3xl-size`),G(`--font-text-xs-line-height`),G(`--font-text-sm-line-height`),G(`--font-text-md-line-height`),G(`--font-text-lg-line-height`),G(`--font-heading-xs-line-height`),G(`--font-heading-sm-line-height`),G(`--font-heading-md-line-height`),G(`--font-heading-lg-line-height`),G(`--font-heading-xl-line-height`),G(`--font-heading-2xl-line-height`),G(`--font-heading-3xl-line-height`),G(`--border-radius-xs`),G(`--border-radius-sm`),G(`--border-radius-md`),G(`--border-radius-lg`),G(`--border-radius-xl`),G(`--border-radius-full`),G(`--border-width-regular`),G(`--shadow-hairline`),G(`--shadow-sm`),G(`--shadow-md`),G(`--shadow-lg`)]).describe(`CSS variable keys available to MCP apps for theming.`).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),W([B(),$f()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`);U({method:G(`ui/open-link`),params:U({url:B().describe(`URL to open in the host's browser`)})}),U({isError:Jf().optional().describe(`True if the host failed to open the URL (e.g., due to security policy).`)}).passthrough(),U({isError:Jf().optional().describe(`True if the download failed (e.g., user cancelled or host denied).`)}).passthrough(),U({isError:Jf().optional().describe(`True if the host rejected or failed to deliver the message.`)}).passthrough(),U({method:G(`ui/notifications/sandbox-proxy-ready`),params:U({})});var q9=U({connectDomains:H(B()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted → no network connections (secure default)`),resourceDomains:H(B()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted → no network resources (secure default)\"),frameDomains:H(B()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:H(B()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)\")}),J9=U({camera:U({}).optional().describe(`Request camera access.\n\nMaps to Permission Policy \\`camera\\` feature.`),microphone:U({}).optional().describe(`Request microphone access.\n\nMaps to Permission Policy \\`microphone\\` feature.`),geolocation:U({}).optional().describe(`Request geolocation access.\n\nMaps to Permission Policy \\`geolocation\\` feature.`),clipboardWrite:U({}).optional().describe(`Request clipboard write access.\n\nMaps to Permission Policy \\`clipboard-write\\` feature.`)});U({method:G(`ui/notifications/size-changed`),params:U({width:V().optional().describe(`New width in pixels.`),height:V().optional().describe(`New height in pixels.`)})}),U({method:G(`ui/notifications/tool-input`),params:U({arguments:pp(B(),np().describe(`Complete tool call arguments as key-value pairs.`)).optional().describe(`Complete tool call arguments as key-value pairs.`)})}),U({method:G(`ui/notifications/tool-input-partial`),params:U({arguments:pp(B(),np().describe(`Partial tool call arguments (incomplete, may change).`)).optional().describe(`Partial tool call arguments (incomplete, may change).`)})}),U({method:G(`ui/notifications/tool-cancelled`),params:U({reason:B().optional().describe(`Optional reason for the cancellation (e.g., \"user action\", \"timeout\").`)})});var Ihe=U({fonts:B().optional()}),Lhe=U({variables:Fhe.optional().describe(`CSS variables for theming the app.`),css:Ihe.optional().describe(`CSS blocks that apps can inject.`)});U({method:G(`ui/resource-teardown`),params:U({})}),pp(B(),np());var Y9=U({text:U({}).optional().describe(`Host supports text content blocks.`),image:U({}).optional().describe(`Host supports image content blocks.`),audio:U({}).optional().describe(`Host supports audio content blocks.`),resource:U({}).optional().describe(`Host supports resource content blocks.`),resourceLink:U({}).optional().describe(`Host supports resource link content blocks.`),structuredContent:U({}).optional().describe(`Host supports structured content.`)});U({method:G(`ui/notifications/request-teardown`),params:U({}).optional()});var Rhe=U({experimental:U({}).optional().describe(`Experimental features (structure TBD).`),openLinks:U({}).optional().describe(`Host supports opening external URLs.`),downloadFile:U({}).optional().describe(`Host supports file downloads via ui/download-file.`),serverTools:U({listChanged:Jf().optional().describe(`Host supports tools/list_changed notifications.`)}).optional().describe(`Host can proxy tool calls to the MCP server.`),serverResources:U({listChanged:Jf().optional().describe(`Host supports resources/list_changed notifications.`)}).optional().describe(`Host can proxy resource reads to the MCP server.`),logging:U({}).optional().describe(`Host accepts log messages.`),sandbox:U({permissions:J9.optional().describe(`Permissions granted by the host (camera, microphone, geolocation).`),csp:q9.optional().describe(`CSP domains approved by the host.`)}).optional().describe(`Sandbox configuration applied by the host.`),updateModelContext:Y9.optional().describe(`Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.`),message:Y9.optional().describe(`Host supports receiving content messages (ui/message) from the view.`),sampling:U({tools:U({}).optional().describe(\"Host supports tool use via `tools` and `toolChoice` parameters.\")}).optional().describe(\"Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.\")}),zhe=U({experimental:U({}).optional().describe(`Experimental features (structure TBD).`),tools:U({listChanged:Jf().optional().describe(`App supports tools/list_changed notifications.`)}).optional().describe(`App exposes MCP-style tools that the host can call.`),availableDisplayModes:H(K9).optional().describe(`Display modes the app supports.`)});U({method:G(`ui/notifications/initialized`),params:U({}).optional()}),U({csp:q9.optional().describe(`Content Security Policy configuration for UI resources.`),permissions:J9.optional().describe(`Sandbox permissions requested by the UI resource.`),domain:B().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:Jf().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),U({method:G(`ui/request-display-mode`),params:U({mode:K9.describe(`The display mode being requested.`)})}),U({mode:K9.describe(`The display mode that was actually set. May differ from requested if not supported.`)}).passthrough();var Bhe=W([G(`model`),G(`app`)]).describe(`Tool visibility scope - who can access the tool.`);U({resourceUri:B().optional(),visibility:H(Bhe).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`),csp:rp().optional(),permissions:rp().optional()}),U({mimeTypes:H(B()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),U({method:G(`ui/download-file`),params:U({contents:H(W([f_,p_])).describe(`Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.`)})}),U({method:G(`ui/message`),params:U({role:G(`user`).describe(`Message role, currently only \"user\" is supported.`),content:H(m_).describe(`Message content blocks (text, image, etc.).`)})}),U({method:G(`ui/notifications/sandbox-resource-ready`),params:U({html:B().describe(`HTML content to load into the inner iframe.`),sandbox:B().optional().describe(`Optional override for the inner iframe's sandbox attribute.`),csp:q9.optional().describe(`CSP configuration from resource metadata.`),permissions:J9.optional().describe(`Sandbox permissions from resource metadata.`)})}),U({method:G(`ui/notifications/tool-result`),params:C_.describe(`Standard MCP tool execution result.`)});var X9=U({toolInfo:U({id:Kh.optional().describe(`JSON-RPC id of the tools/call request.`),tool:b_.describe(`Tool definition including name, inputSchema, etc.`)}).optional().describe(`Metadata of the tool call that instantiated this App.`),theme:Phe.optional().describe(`Current color theme preference.`),styles:Lhe.optional().describe(`Style configuration for theming the app.`),displayMode:K9.optional().describe(`How the UI is currently displayed.`),availableDisplayModes:H(K9).optional().describe(`Display modes the host supports.`),containerDimensions:W([U({height:V().describe(`Fixed container height in pixels.`)}),U({maxHeight:W([V(),$f()]).optional().describe(`Maximum container height in pixels.`)})]).and(W([U({width:V().describe(`Fixed container width in pixels.`)}),U({maxWidth:W([V(),$f()]).optional().describe(`Maximum container width in pixels.`)})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:B().optional().describe(`User's language and region preference in BCP 47 format.`),timeZone:B().optional().describe(`User's timezone in IANA format.`),userAgent:B().optional().describe(`Host application identifier.`),platform:W([G(`web`),G(`desktop`),G(`mobile`)]).optional().describe(`Platform type for responsive design decisions.`),deviceCapabilities:U({touch:Jf().optional().describe(`Whether the device supports touch input.`),hover:Jf().optional().describe(`Whether the device supports hover interactions.`)}).optional().describe(`Device input capabilities.`),safeAreaInsets:U({top:V().describe(`Top safe area inset in pixels.`),right:V().describe(`Right safe area inset in pixels.`),bottom:V().describe(`Bottom safe area inset in pixels.`),left:V().describe(`Left safe area inset in pixels.`)}).optional().describe(`Mobile safe area boundaries in pixels.`)}).passthrough();U({method:G(`ui/notifications/host-context-changed`),params:X9.describe(`Partial context update containing only changed fields.`)}),U({method:G(`ui/update-model-context`),params:U({content:H(m_).optional().describe(`Context content blocks (text, image, etc.).`),structuredContent:pp(B(),np().describe(`Structured content for machine-readable context data.`)).optional().describe(`Structured content for machine-readable context data.`)})}),U({method:G(`ui/initialize`),params:U({appInfo:cg.describe(`App identification (name and version).`),appCapabilities:zhe.describe(`Features and capabilities this app provides.`),protocolVersion:B().describe(`Protocol version this app supports.`)})}),U({protocolVersion:B().describe(`Negotiated protocol version string (e.g., \"2025-11-21\").`),hostInfo:cg.describe(`Host application identification and version.`),hostCapabilities:Rhe.describe(`Features and capabilities provided by the host.`),hostContext:X9.describe(`Rich context about the host environment.`)}).passthrough();function Vhe(e){let t=document.documentElement;t.setAttribute(`data-theme`,e),t.style.colorScheme=e}function Hhe(e,t=document.documentElement){for(let[n,r]of Object.entries(e))r!==void 0&&t.style.setProperty(n,r)}function Uhe(e){if(document.getElementById(`__mcp-host-fonts`))return;let t=document.createElement(`style`);t.id=`__mcp-host-fonts`,t.textContent=e,document.head.appendChild(t)}var Whe={\"--color-background-primary\":`--dc-surface`,\"--color-background-secondary\":`--dc-surface-secondary`,\"--color-text-primary\":`--dc-text`,\"--color-text-secondary\":`--dc-text-secondary`,\"--color-text-tertiary\":`--dc-text-muted`,\"--color-border-primary\":`--dc-border`,\"--color-border-secondary\":`--dc-border`,\"--color-accent-primary\":`--dc-accent`,\"--color-accent-secondary\":`--dc-accent-hover`,\"--color-status-error\":`--dc-error`,\"--color-status-success\":`--dc-success`,\"--color-status-warning\":`--dc-warning`};function Ghe(e){if(e.theme&&Vhe(e.theme),e.styles?.variables&&(Hhe(e.styles.variables),Khe()),e.styles?.css?.fonts&&Uhe(e.styles.css.fonts),e.safeAreaInsets){let{top:t,right:n,bottom:r,left:i}=e.safeAreaInsets;document.body.style.padding=`${t}px ${n}px ${r}px ${i}px`}}function Khe(){let e=document.documentElement,t=getComputedStyle(e);for(let[n,r]of Object.entries(Whe)){let i=t.getPropertyValue(n).trim();i&&e.style.setProperty(r,i)}}function Z9(){let e=document.documentElement;window.matchMedia(`(prefers-color-scheme: dark)`).matches?(e.style.setProperty(`--dc-surface`,`#1a1a2e`),e.style.setProperty(`--dc-surface-secondary`,`#16213e`),e.style.setProperty(`--dc-text`,`#e0e0e0`),e.style.setProperty(`--dc-text-secondary`,`#a0a0a0`),e.style.setProperty(`--dc-text-muted`,`#707070`),e.style.setProperty(`--dc-border`,`#2a2a4a`),e.style.setProperty(`--dc-accent`,`#6366f1`)):(e.style.setProperty(`--dc-surface`,`#ffffff`),e.style.setProperty(`--dc-surface-secondary`,`#f8fafc`),e.style.setProperty(`--dc-text`,`#1e293b`),e.style.setProperty(`--dc-text-secondary`,`#64748b`),e.style.setProperty(`--dc-text-muted`,`#94a3b8`),e.style.setProperty(`--dc-border`,`#e2e8f0`),e.style.setProperty(`--dc-accent`,`#6366f1`))}var qhe={bar:Qoe,line:vse,area:yse,pie:xse,scatter:kse,treemap:que,kpiNumber:ife,kpiDelta:lfe,kpiText:gfe,table:$7,radar:Qpe,radialBar:rme,bubble:xme,funnel:Ome,waterfall:Mme,gauge:Bme,boxPlot:Gme,candlestick:Xme,activityGrid:_he,measureProfile:yhe};function Jhe(e){let t={};for(let[n,r]of Object.entries(e?.measures||{}))t[n]=r.title||n.split(`.`)[1]||n;for(let[n,r]of Object.entries(e?.dimensions||{}))t[n]=r.title||n.split(`.`)[1]||n;for(let[n,r]of Object.entries(e?.timeDimensions||{}))t[n]=r.title||n.split(`.`)[1]||n;return t}function Q9(e,t){return t===1?e:`${e}Plural`}function Yhe(e,t,n,r){let i=[e(Q9(`mcp.footer.rows`,t),{count:t})];return n>0&&i.push(e(Q9(`mcp.footer.measures`,n),{count:n})),r>0&&i.push(e(Q9(`mcp.footer.dimensions`,r),{count:r})),i.join(` | `)}function Xhe(e){let t=e.split(`.`);return(t.length>1?t[1]:t[0]).replace(/([A-Z])/g,` $1`).replace(/^./,e=>e.toUpperCase()).trim()}function Zhe(e,t,n){let r={...t},i={},a=e.type===n;return a&&e.chartConfig&&(r={...r,...e.chartConfig}),e.displayConfig&&(i={...i,...e.displayConfig}),a&&e.xAxis&&(r.xAxis=[e.xAxis]),a&&e.yAxis&&(r.yAxis=e.yAxis),{chartConfig:r,displayConfig:i}}function Qhe(){let[e,t]=(0,z.useState)(null),[n,r]=(0,z.useState)(`table`),[i,a]=(0,z.useState)({}),[o,s]=(0,z.useState)({}),[c,l]=(0,z.useState)(`auto`),[u,d]=(0,z.useState)(null),f=(0,z.useRef)(null),[p,m]=(0,z.useState)(null),[h,g]=(0,z.useState)(!1),[_,v]=(0,z.useState)(null),{t:y}=Hv(),b=(0,z.useMemo)(()=>e?.annotation?Jhe(e.annotation):{},[e?.annotation]),x=(0,z.useMemo)(()=>({meta:null,labelMap:b,metaLoading:!1,metaError:null,getFieldLabel:e=>b[e]||Xhe(e),refetchMeta:()=>{}}),[b]),S=(0,z.useCallback)((e,n)=>{try{let i=Nhe(e);if(!i.ok){m(i.error===`noTextContent`?y(`mcp.error.noTextContent`):y(`mcp.error.invalidResultFormat`));return}let o=i.result;t(o),m(null);let c=o.query||{},u=n||null,p=Ohe(c,o.data),h=u?.type||p,g=G9(c,o.data,h),_={xAxis:g.xAxis,yAxis:g.yAxis,series:g.series};if(f.current=u,d(u),u){let e=Zhe(u,_,h);r(h),a(e.chartConfig),s(e.displayConfig),l(`hint`)}else r(g.chartType),a(_),s({}),l(`auto`)}catch(e){m(y(`mcp.error.parseFailed`,{message:e instanceof Error?e.message:String(e)}))}},[y]),{app:C,isConnected:w,error:T}=_v({appInfo:{name:`Drizzle Cube Visualization`,version:`1.0.0`},capabilities:{},onAppCreated:e=>{v(e),e.ontoolinput=e=>{g(!0);let t=e?.arguments?.chart??null;f.current=t,t&&d(t);let n=e?.structuredContent;n&&(g(!1),S(n,t))},e.ontoolresult=e=>{g(!1),S(e,f.current)},e.onhostcontextchanged=e=>{Ghe(e)}}});(0,z.useEffect)(()=>{Z9()},[]);let E=(0,z.useCallback)(t=>{if(!e)return;let n=G9(e.query||{},e.data||[],t);r(n.chartType),a({xAxis:n.xAxis,yAxis:n.yAxis,series:n.series}),s({}),l(`manual`)},[e]);if(T)return(0,q.jsxs)(`div`,{style:{padding:16,color:`var(--dc-error, #ef4444)`},children:[(0,q.jsx)(`strong`,{children:y(`mcp.error.connectionLabel`)}),` `,T.message]});if(p)return(0,q.jsxs)(`div`,{style:{padding:16,color:`var(--dc-error, #ef4444)`},children:[(0,q.jsx)(`strong`,{children:y(`mcp.error.errorLabel`)}),` `,p]});if(h||!w)return(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,padding:32,color:`var(--dc-text-secondary, #64748b)`},children:[(0,q.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,style:{animation:`spin 1s linear infinite`,marginRight:8},children:(0,q.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`3`,fill:`none`,strokeDasharray:`31.4 31.4`,strokeLinecap:`round`})}),y(w?`mcp.status.loading`:`mcp.status.connecting`),(0,q.jsx)(`style`,{children:`@keyframes spin { to { transform: rotate(360deg) } }`})]});if(!e)return(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,padding:32,color:`var(--dc-text-muted, #94a3b8)`},children:y(`mcp.status.waiting`)});let D=e.query||{},O=qhe[n]||$7,k=u?.title&&c!==`auto`?u.title:null;return(0,q.jsx)(d6.Provider,{value:x,children:(0,q.jsxs)(`div`,{children:[(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:8},children:[k?(0,q.jsx)(`div`,{style:{fontSize:14,fontWeight:600,color:`var(--dc-text, #1e293b)`},children:k}):(0,q.jsx)(`div`,{}),(0,q.jsx)(Ahe,{selected:n,query:D,rowCount:e.data.length,onSelect:E})]}),(0,q.jsx)(`div`,{style:{height:360,marginTop:8},children:(0,q.jsx)(O,{data:e.data,chartConfig:i,displayConfig:o,queryObject:D,height:360})}),(0,q.jsx)(`div`,{style:{marginTop:12,fontSize:11,color:`var(--dc-text-muted, #94a3b8)`},children:Yhe(y,e.data.length,D.measures?.length??0,D.dimensions?.length??0)})]})})}function $he(){let{defaultLocale:e=`en-GB`,detectBrowserLocale:t=!0}=typeof window<`u`&&window.__DRIZZLE_CUBE_MCP_APP_CONFIG__||{};return t&&typeof navigator<`u`&&navigator.language?navigator.language:e}var $9=typeof document<`u`?document.getElementById(`root`):null;$9&&(0,eee.createRoot)($9).render((0,q.jsx)(Vv,{locale:$he(),children:(0,q.jsx)(Qhe,{})}));<\/script>\n <style rel=\"stylesheet\" crossorigin>/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--dc-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--dc-color-black:#000;--dc-color-white:#fff;--dc-spacing:.25rem;--dc-container-xs:20rem;--dc-container-sm:24rem;--dc-container-md:28rem;--dc-container-lg:32rem;--dc-container-2xl:42rem;--dc-container-4xl:56rem;--dc-container-5xl:64rem;--dc-container-6xl:72rem;--dc-container-7xl:80rem;--dc-text-xs:.75rem;--dc-text-xs--line-height:calc(1 / .75);--dc-text-sm:.875rem;--dc-text-sm--line-height:calc(1.25 / .875);--dc-text-base:1rem;--dc-text-base--line-height:calc(1.5 / 1);--dc-text-lg:1.125rem;--dc-text-lg--line-height:calc(1.75 / 1.125);--dc-text-xl:1.25rem;--dc-text-xl--line-height:calc(1.75 / 1.25);--dc-text-2xl:1.5rem;--dc-text-2xl--line-height:calc(2 / 1.5);--dc-text-3xl:1.875rem;--dc-text-3xl--line-height:calc(2.25 / 1.875);--dc-text-4xl:2.25rem;--dc-text-4xl--line-height:calc(2.5 / 2.25);--dc-text-5xl:3rem;--dc-text-5xl--line-height:1;--dc-font-weight-normal:400;--dc-font-weight-medium:500;--dc-font-weight-semibold:600;--dc-font-weight-bold:700;--dc-tracking-normal:0em;--dc-tracking-wide:.025em;--dc-tracking-wider:.05em;--dc-leading-tight:1.25;--dc-leading-relaxed:1.625;--dc-radius-sm:.25rem;--dc-radius-md:.375rem;--dc-radius-lg:.5rem;--dc-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--dc-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--dc-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--dc-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--dc-shadow-2xl:0 25px 50px -12px #00000040;--dc-drop-shadow-sm:0 1px 2px #00000026;--dc-ease-out:cubic-bezier(0, 0, .2, 1);--dc-ease-in-out:cubic-bezier(.4, 0, .2, 1);--dc-animate-spin:spin 1s linear infinite;--dc-animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--dc-blur-md:12px;--dc-default-transition-duration:.15s;--dc-default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer base,components;@layer utilities{.dc\\:pointer-events-none{pointer-events:none}.dc\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dc\\:absolute{position:absolute}.dc\\:fixed{position:fixed}.dc\\:relative{position:relative}.dc\\:sticky{position:sticky}.dc\\:inset-0{inset:0}.dc\\:-top-0\\.5{top:calc(var(--dc-spacing) * -.5)}.dc\\:-top-1{top:calc(var(--dc-spacing) * -1)}.dc\\:-top-5{top:calc(var(--dc-spacing) * -5)}.dc\\:top-0{top:0}.dc\\:top-0\\.5{top:calc(var(--dc-spacing) * .5)}.dc\\:top-1{top:var(--dc-spacing)}.dc\\:top-1\\/2{top:50%}.dc\\:top-full{top:100%}.dc\\:-right-0\\.5{right:calc(var(--dc-spacing) * -.5)}.dc\\:right-0{right:0}.dc\\:right-0\\.5{right:calc(var(--dc-spacing) * .5)}.dc\\:right-1{right:var(--dc-spacing)}.dc\\:right-4{right:calc(var(--dc-spacing) * 4)}.dc\\:right-full{right:100%}.dc\\:bottom-0{bottom:0}.dc\\:bottom-2{bottom:calc(var(--dc-spacing) * 2)}.dc\\:left-0{left:0}.dc\\:left-1\\/2{left:50%}.dc\\:left-2{left:calc(var(--dc-spacing) * 2)}.dc\\:left-4{left:calc(var(--dc-spacing) * 4)}.dc\\:left-full{left:100%}.dc\\:z-10{z-index:10}.dc\\:z-20{z-index:20}.dc\\:z-30{z-index:30}.dc\\:z-40{z-index:40}.dc\\:z-50{z-index:50}.dc\\:z-\\[60\\]{z-index:60}.dc\\:float-right{float:right}.dc\\:m-0{margin:0}.dc\\:-mx-2{margin-inline:calc(var(--dc-spacing) * -2)}.dc\\:mx-1{margin-inline:var(--dc-spacing)}.dc\\:mx-4{margin-inline:calc(var(--dc-spacing) * 4)}.dc\\:mx-auto{margin-inline:auto}.dc\\:my-0\\.5{margin-block:calc(var(--dc-spacing) * .5)}.dc\\:my-1{margin-block:var(--dc-spacing)}.dc\\:my-2{margin-block:calc(var(--dc-spacing) * 2)}.dc\\:my-3{margin-block:calc(var(--dc-spacing) * 3)}.dc\\:my-4{margin-block:calc(var(--dc-spacing) * 4)}.dc\\:mt-0\\.5{margin-top:calc(var(--dc-spacing) * .5)}.dc\\:mt-1{margin-top:var(--dc-spacing)}.dc\\:mt-2{margin-top:calc(var(--dc-spacing) * 2)}.dc\\:mt-3{margin-top:calc(var(--dc-spacing) * 3)}.dc\\:mt-4{margin-top:calc(var(--dc-spacing) * 4)}.dc\\:mt-6{margin-top:calc(var(--dc-spacing) * 6)}.dc\\:-mr-2{margin-right:calc(var(--dc-spacing) * -2)}.dc\\:mr-0\\.5{margin-right:calc(var(--dc-spacing) * .5)}.dc\\:mr-1{margin-right:var(--dc-spacing)}.dc\\:mr-1\\.5{margin-right:calc(var(--dc-spacing) * 1.5)}.dc\\:mr-2{margin-right:calc(var(--dc-spacing) * 2)}.dc\\:mr-3{margin-right:calc(var(--dc-spacing) * 3)}.dc\\:mb-0{margin-bottom:0}.dc\\:mb-1{margin-bottom:var(--dc-spacing)}.dc\\:mb-1\\.5{margin-bottom:calc(var(--dc-spacing) * 1.5)}.dc\\:mb-2{margin-bottom:calc(var(--dc-spacing) * 2)}.dc\\:mb-3{margin-bottom:calc(var(--dc-spacing) * 3)}.dc\\:mb-4{margin-bottom:calc(var(--dc-spacing) * 4)}.dc\\:mb-16{margin-bottom:calc(var(--dc-spacing) * 16)}.dc\\:-ml-2{margin-left:calc(var(--dc-spacing) * -2)}.dc\\:ml-0\\.5{margin-left:calc(var(--dc-spacing) * .5)}.dc\\:ml-1{margin-left:var(--dc-spacing)}.dc\\:ml-1\\.5{margin-left:calc(var(--dc-spacing) * 1.5)}.dc\\:ml-2{margin-left:calc(var(--dc-spacing) * 2)}.dc\\:ml-4{margin-left:calc(var(--dc-spacing) * 4)}.dc\\:ml-5{margin-left:calc(var(--dc-spacing) * 5)}.dc\\:ml-6{margin-left:calc(var(--dc-spacing) * 6)}.dc\\:ml-auto{margin-left:auto}.dc\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.dc\\:block{display:block}.dc\\:flex{display:flex}.dc\\:grid{display:grid}.dc\\:hidden{display:none}.dc\\:inline-block{display:inline-block}.dc\\:inline-flex{display:inline-flex}.dc\\:h-0\\.5{height:calc(var(--dc-spacing) * .5)}.dc\\:h-1\\.5{height:calc(var(--dc-spacing) * 1.5)}.dc\\:h-2{height:calc(var(--dc-spacing) * 2)}.dc\\:h-2\\.5{height:calc(var(--dc-spacing) * 2.5)}.dc\\:h-3{height:calc(var(--dc-spacing) * 3)}.dc\\:h-3\\.5{height:calc(var(--dc-spacing) * 3.5)}.dc\\:h-4{height:calc(var(--dc-spacing) * 4)}.dc\\:h-5{height:calc(var(--dc-spacing) * 5)}.dc\\:h-6{height:calc(var(--dc-spacing) * 6)}.dc\\:h-8{height:calc(var(--dc-spacing) * 8)}.dc\\:h-10{height:calc(var(--dc-spacing) * 10)}.dc\\:h-12{height:calc(var(--dc-spacing) * 12)}.dc\\:h-64{height:calc(var(--dc-spacing) * 64)}.dc\\:h-96{height:calc(var(--dc-spacing) * 96)}.dc\\:h-\\[60vh\\]{height:60vh}.dc\\:h-\\[90vh\\]{height:90vh}.dc\\:h-full{height:100%}.dc\\:h-px{height:1px}.dc\\:max-h-20{max-height:calc(var(--dc-spacing) * 20)}.dc\\:max-h-32{max-height:calc(var(--dc-spacing) * 32)}.dc\\:max-h-40{max-height:calc(var(--dc-spacing) * 40)}.dc\\:max-h-48{max-height:calc(var(--dc-spacing) * 48)}.dc\\:max-h-56{max-height:calc(var(--dc-spacing) * 56)}.dc\\:max-h-60{max-height:calc(var(--dc-spacing) * 60)}.dc\\:max-h-64{max-height:calc(var(--dc-spacing) * 64)}.dc\\:max-h-72{max-height:calc(var(--dc-spacing) * 72)}.dc\\:max-h-80{max-height:calc(var(--dc-spacing) * 80)}.dc\\:max-h-\\[40\\%\\]{max-height:40%}.dc\\:max-h-\\[80vh\\]{max-height:80vh}.dc\\:max-h-\\[85vh\\]{max-height:85vh}.dc\\:max-h-\\[90vh\\]{max-height:90vh}.dc\\:min-h-0{min-height:0}.dc\\:min-h-10{min-height:calc(var(--dc-spacing) * 10)}.dc\\:min-h-12{min-height:calc(var(--dc-spacing) * 12)}.dc\\:min-h-16{min-height:calc(var(--dc-spacing) * 16)}.dc\\:min-h-\\[30px\\]{min-height:30px}.dc\\:min-h-\\[48px\\]{min-height:48px}.dc\\:min-h-\\[50vh\\]{min-height:50vh}.dc\\:min-h-\\[100px\\]{min-height:100px}.dc\\:min-h-\\[200px\\]{min-height:200px}.dc\\:min-h-\\[400px\\]{min-height:400px}.dc\\:w-1{width:var(--dc-spacing)}.dc\\:w-1\\.5{width:calc(var(--dc-spacing) * 1.5)}.dc\\:w-2{width:calc(var(--dc-spacing) * 2)}.dc\\:w-2\\.5{width:calc(var(--dc-spacing) * 2.5)}.dc\\:w-3{width:calc(var(--dc-spacing) * 3)}.dc\\:w-3\\.5{width:calc(var(--dc-spacing) * 3.5)}.dc\\:w-4{width:calc(var(--dc-spacing) * 4)}.dc\\:w-5{width:calc(var(--dc-spacing) * 5)}.dc\\:w-6{width:calc(var(--dc-spacing) * 6)}.dc\\:w-8{width:calc(var(--dc-spacing) * 8)}.dc\\:w-10{width:calc(var(--dc-spacing) * 10)}.dc\\:w-12{width:calc(var(--dc-spacing) * 12)}.dc\\:w-16{width:calc(var(--dc-spacing) * 16)}.dc\\:w-20{width:calc(var(--dc-spacing) * 20)}.dc\\:w-24{width:calc(var(--dc-spacing) * 24)}.dc\\:w-28{width:calc(var(--dc-spacing) * 28)}.dc\\:w-36{width:calc(var(--dc-spacing) * 36)}.dc\\:w-48{width:calc(var(--dc-spacing) * 48)}.dc\\:w-52{width:calc(var(--dc-spacing) * 52)}.dc\\:w-60{width:calc(var(--dc-spacing) * 60)}.dc\\:w-72{width:calc(var(--dc-spacing) * 72)}.dc\\:w-\\[90vw\\]{width:90vw}.dc\\:w-\\[180px\\]{width:180px}.dc\\:w-\\[280px\\]{width:280px}.dc\\:w-full{width:100%}.dc\\:w-px{width:1px}.dc\\:max-w-2xl{max-width:var(--dc-container-2xl)}.dc\\:max-w-4xl{max-width:var(--dc-container-4xl)}.dc\\:max-w-5xl{max-width:var(--dc-container-5xl)}.dc\\:max-w-6xl{max-width:var(--dc-container-6xl)}.dc\\:max-w-7xl{max-width:var(--dc-container-7xl)}.dc\\:max-w-32{max-width:calc(var(--dc-spacing) * 32)}.dc\\:max-w-\\[85\\%\\]{max-width:85%}.dc\\:max-w-\\[90\\%\\]{max-width:90%}.dc\\:max-w-\\[100px\\]{max-width:100px}.dc\\:max-w-\\[150px\\]{max-width:150px}.dc\\:max-w-\\[200px\\]{max-width:200px}.dc\\:max-w-\\[280px\\]{max-width:280px}.dc\\:max-w-\\[320px\\]{max-width:320px}.dc\\:max-w-\\[1400px\\]{max-width:1400px}.dc\\:max-w-full{max-width:100%}.dc\\:max-w-lg{max-width:var(--dc-container-lg)}.dc\\:max-w-md{max-width:var(--dc-container-md)}.dc\\:max-w-none{max-width:none}.dc\\:max-w-sm{max-width:var(--dc-container-sm)}.dc\\:max-w-xs{max-width:var(--dc-container-xs)}.dc\\:min-w-0{min-width:0}.dc\\:min-w-\\[2rem\\]{min-width:2rem}.dc\\:min-w-\\[60px\\]{min-width:60px}.dc\\:min-w-\\[70px\\]{min-width:70px}.dc\\:min-w-\\[80px\\]{min-width:80px}.dc\\:min-w-\\[100px\\]{min-width:100px}.dc\\:min-w-\\[120px\\]{min-width:120px}.dc\\:min-w-\\[180px\\]{min-width:180px}.dc\\:min-w-\\[200px\\]{min-width:200px}.dc\\:min-w-\\[220px\\]{min-width:220px}.dc\\:min-w-\\[260px\\]{min-width:260px}.dc\\:min-w-\\[280px\\]{min-width:280px}.dc\\:min-w-full{min-width:100%}.dc\\:min-w-max{min-width:max-content}.dc\\:flex-1{flex:1}.dc\\:flex-shrink-0,.dc\\:shrink-0{flex-shrink:0}.dc\\:border-collapse{border-collapse:collapse}.dc\\:-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:-translate-x-16{--tw-translate-x:calc(var(--dc-spacing) * -16);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:translate-x-0{--tw-translate-x:0;translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:translate-x-16{--tw-translate-x:calc(var(--dc-spacing) * 16);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dc\\:rotate-180{rotate:180deg}.dc\\:transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dc\\:animate-pulse{animation:var(--dc-animate-pulse)}.dc\\:animate-spin{animation:var(--dc-animate-spin)}.dc\\:cursor-col-resize{cursor:col-resize}.dc\\:cursor-default{cursor:default}.dc\\:cursor-grab{cursor:grab}.dc\\:cursor-grabbing{cursor:grabbing}.dc\\:cursor-help{cursor:help}.dc\\:cursor-move{cursor:move}.dc\\:cursor-not-allowed{cursor:not-allowed}.dc\\:cursor-pointer{cursor:pointer}.dc\\:cursor-wait{cursor:wait}.dc\\:resize-none{resize:none}.dc\\:resize-y{resize:vertical}.dc\\:list-inside{list-style-position:inside}.dc\\:list-decimal{list-style-type:decimal}.dc\\:list-disc{list-style-type:disc}.dc\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dc\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:flex-col{flex-direction:column}.dc\\:flex-wrap{flex-wrap:wrap}.dc\\:items-center{align-items:center}.dc\\:items-end{align-items:flex-end}.dc\\:items-start{align-items:flex-start}.dc\\:justify-between{justify-content:space-between}.dc\\:justify-center{justify-content:center}.dc\\:justify-end{justify-content:flex-end}.dc\\:justify-start{justify-content:flex-start}.dc\\:gap-0\\.5{gap:calc(var(--dc-spacing) * .5)}.dc\\:gap-1{gap:var(--dc-spacing)}.dc\\:gap-1\\.5{gap:calc(var(--dc-spacing) * 1.5)}.dc\\:gap-2{gap:calc(var(--dc-spacing) * 2)}.dc\\:gap-3{gap:calc(var(--dc-spacing) * 3)}.dc\\:gap-4{gap:calc(var(--dc-spacing) * 4)}.dc\\:gap-6{gap:calc(var(--dc-spacing) * 6)}:where(.dc\\:space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--dc-spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--dc-spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-x-0\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * .5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * .5) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(var(--dc-spacing) * var(--tw-space-x-reverse));margin-inline-end:calc(var(--dc-spacing) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 1.5) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 4) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 4) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.dc\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dc\\:overflow-auto{overflow:auto}.dc\\:overflow-hidden{overflow:hidden}.dc\\:overflow-visible{overflow:visible}.dc\\:overflow-x-auto{overflow-x:auto}.dc\\:overflow-y-auto{overflow-y:auto}.dc\\:overflow-y-hidden{overflow-y:hidden}.dc\\:rounded{border-radius:.25rem}.dc\\:rounded-full{border-radius:3.40282e38px}.dc\\:rounded-lg{border-radius:var(--dc-radius-lg)}.dc\\:rounded-md{border-radius:var(--dc-radius-md)}.dc\\:rounded-none{border-radius:0}.dc\\:rounded-sm{border-radius:var(--dc-radius-sm)}.dc\\:rounded-t-lg{border-top-left-radius:var(--dc-radius-lg);border-top-right-radius:var(--dc-radius-lg)}.dc\\:rounded-t-sm{border-top-left-radius:var(--dc-radius-sm);border-top-right-radius:var(--dc-radius-sm)}.dc\\:rounded-b-lg{border-bottom-right-radius:var(--dc-radius-lg);border-bottom-left-radius:var(--dc-radius-lg)}.dc\\:rounded-br-sm{border-bottom-right-radius:var(--dc-radius-sm)}.dc\\:rounded-bl-sm{border-bottom-left-radius:var(--dc-radius-sm)}.dc\\:border{border-style:var(--tw-border-style);border-width:1px}.dc\\:border-2{border-style:var(--tw-border-style);border-width:2px}.dc\\:border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.dc\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.dc\\:border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.dc\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.dc\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.dc\\:border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.dc\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.dc\\:border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.dc\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.dc\\:border-none{--tw-border-style:none;border-style:none}.dc\\:border-solid{--tw-border-style:solid;border-style:solid}.dc\\:border-current{border-color:currentColor}.dc\\:bg-black\\/50{background-color:var(--dc-color-black)}@supports (color:color-mix(in lab, red, red)){.dc\\:bg-black\\/50{background-color:color-mix(in oklab, var(--dc-color-black) 50%, transparent)}}.dc\\:bg-transparent{background-color:#0000}.dc\\:p-0\\.5{padding:calc(var(--dc-spacing) * .5)}.dc\\:p-1{padding:var(--dc-spacing)}.dc\\:p-1\\.5{padding:calc(var(--dc-spacing) * 1.5)}.dc\\:p-2{padding:calc(var(--dc-spacing) * 2)}.dc\\:p-3{padding:calc(var(--dc-spacing) * 3)}.dc\\:p-4{padding:calc(var(--dc-spacing) * 4)}.dc\\:p-6{padding:calc(var(--dc-spacing) * 6)}.dc\\:p-8{padding:calc(var(--dc-spacing) * 8)}.dc\\:px-1{padding-inline:var(--dc-spacing)}.dc\\:px-1\\.5{padding-inline:calc(var(--dc-spacing) * 1.5)}.dc\\:px-2{padding-inline:calc(var(--dc-spacing) * 2)}.dc\\:px-2\\.5{padding-inline:calc(var(--dc-spacing) * 2.5)}.dc\\:px-3{padding-inline:calc(var(--dc-spacing) * 3)}.dc\\:px-4{padding-inline:calc(var(--dc-spacing) * 4)}.dc\\:px-6{padding-inline:calc(var(--dc-spacing) * 6)}.dc\\:py-0\\.5{padding-block:calc(var(--dc-spacing) * .5)}.dc\\:py-1{padding-block:var(--dc-spacing)}.dc\\:py-1\\.5{padding-block:calc(var(--dc-spacing) * 1.5)}.dc\\:py-2{padding-block:calc(var(--dc-spacing) * 2)}.dc\\:py-2\\.5{padding-block:calc(var(--dc-spacing) * 2.5)}.dc\\:py-3{padding-block:calc(var(--dc-spacing) * 3)}.dc\\:py-4{padding-block:calc(var(--dc-spacing) * 4)}.dc\\:py-6{padding-block:calc(var(--dc-spacing) * 6)}.dc\\:py-8{padding-block:calc(var(--dc-spacing) * 8)}.dc\\:py-12{padding-block:calc(var(--dc-spacing) * 12)}.dc\\:pt-1{padding-top:var(--dc-spacing)}.dc\\:pt-2{padding-top:calc(var(--dc-spacing) * 2)}.dc\\:pt-3{padding-top:calc(var(--dc-spacing) * 3)}.dc\\:pt-4{padding-top:calc(var(--dc-spacing) * 4)}.dc\\:pt-6{padding-top:calc(var(--dc-spacing) * 6)}.dc\\:pr-1{padding-right:var(--dc-spacing)}.dc\\:pr-2{padding-right:calc(var(--dc-spacing) * 2)}.dc\\:pr-3{padding-right:calc(var(--dc-spacing) * 3)}.dc\\:pb-1{padding-bottom:var(--dc-spacing)}.dc\\:pb-2{padding-bottom:calc(var(--dc-spacing) * 2)}.dc\\:pb-3{padding-bottom:calc(var(--dc-spacing) * 3)}.dc\\:pb-4{padding-bottom:calc(var(--dc-spacing) * 4)}.dc\\:pb-24{padding-bottom:calc(var(--dc-spacing) * 24)}.dc\\:pl-2{padding-left:calc(var(--dc-spacing) * 2)}.dc\\:pl-3{padding-left:calc(var(--dc-spacing) * 3)}.dc\\:pl-7{padding-left:calc(var(--dc-spacing) * 7)}.dc\\:pl-8{padding-left:calc(var(--dc-spacing) * 8)}.dc\\:text-center{text-align:center}.dc\\:text-left{text-align:left}.dc\\:text-right{text-align:right}.dc\\:align-top{vertical-align:top}.dc\\:font-mono{font-family:var(--dc-font-mono)}.dc\\:text-2xl{font-size:var(--dc-text-2xl);line-height:var(--tw-leading,var(--dc-text-2xl--line-height))}.dc\\:text-3xl{font-size:var(--dc-text-3xl);line-height:var(--tw-leading,var(--dc-text-3xl--line-height))}.dc\\:text-4xl{font-size:var(--dc-text-4xl);line-height:var(--tw-leading,var(--dc-text-4xl--line-height))}.dc\\:text-5xl{font-size:var(--dc-text-5xl);line-height:var(--tw-leading,var(--dc-text-5xl--line-height))}.dc\\:text-base{font-size:var(--dc-text-base);line-height:var(--tw-leading,var(--dc-text-base--line-height))}.dc\\:text-lg{font-size:var(--dc-text-lg);line-height:var(--tw-leading,var(--dc-text-lg--line-height))}.dc\\:text-sm{font-size:var(--dc-text-sm);line-height:var(--tw-leading,var(--dc-text-sm--line-height))}.dc\\:text-xl{font-size:var(--dc-text-xl);line-height:var(--tw-leading,var(--dc-text-xl--line-height))}.dc\\:text-xs{font-size:var(--dc-text-xs);line-height:var(--tw-leading,var(--dc-text-xs--line-height))}.dc\\:text-\\[9px\\]{font-size:9px}.dc\\:text-\\[10px\\]{font-size:10px}.dc\\:text-\\[11px\\]{font-size:11px}.dc\\:leading-none{--tw-leading:1;line-height:1}.dc\\:leading-relaxed{--tw-leading:var(--dc-leading-relaxed);line-height:var(--dc-leading-relaxed)}.dc\\:leading-tight{--tw-leading:var(--dc-leading-tight);line-height:var(--dc-leading-tight)}.dc\\:font-bold{--tw-font-weight:var(--dc-font-weight-bold);font-weight:var(--dc-font-weight-bold)}.dc\\:font-medium{--tw-font-weight:var(--dc-font-weight-medium);font-weight:var(--dc-font-weight-medium)}.dc\\:font-normal{--tw-font-weight:var(--dc-font-weight-normal);font-weight:var(--dc-font-weight-normal)}.dc\\:font-semibold{--tw-font-weight:var(--dc-font-weight-semibold);font-weight:var(--dc-font-weight-semibold)}.dc\\:tracking-normal{--tw-tracking:var(--dc-tracking-normal);letter-spacing:var(--dc-tracking-normal)}.dc\\:tracking-wide{--tw-tracking:var(--dc-tracking-wide);letter-spacing:var(--dc-tracking-wide)}.dc\\:tracking-wider{--tw-tracking:var(--dc-tracking-wider);letter-spacing:var(--dc-tracking-wider)}.dc\\:break-words{overflow-wrap:break-word}.dc\\:text-ellipsis{text-overflow:ellipsis}.dc\\:whitespace-nowrap{white-space:nowrap}.dc\\:whitespace-pre-wrap{white-space:pre-wrap}.dc\\:text-white{color:var(--dc-color-white)}.dc\\:capitalize{text-transform:capitalize}.dc\\:normal-case{text-transform:none}.dc\\:uppercase{text-transform:uppercase}.dc\\:italic{font-style:italic}.dc\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.dc\\:underline{text-decoration-line:underline}.dc\\:opacity-0{opacity:0}.dc\\:opacity-25{opacity:.25}.dc\\:opacity-30{opacity:.3}.dc\\:opacity-40{opacity:.4}.dc\\:opacity-50{opacity:.5}.dc\\:opacity-60{opacity:.6}.dc\\:opacity-70{opacity:.7}.dc\\:opacity-75{opacity:.75}.dc\\:opacity-80{opacity:.8}.dc\\:opacity-90{opacity:.9}.dc\\:opacity-100{opacity:1}.dc\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--dc-drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dc\\:grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dc\\:backdrop-blur-md{--tw-backdrop-blur:blur(var(--dc-blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.dc\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.dc\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.dc\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.dc\\:ease-in-out{--tw-ease:var(--dc-ease-in-out);transition-timing-function:var(--dc-ease-in-out)}.dc\\:ease-out{--tw-ease:var(--dc-ease-out);transition-timing-function:var(--dc-ease-out)}.dc\\:outline-none{--tw-outline-style:none;outline-style:none}.dc\\:select-none{-webkit-user-select:none;user-select:none}.dc\\:ring-inset{--tw-ring-inset:inset}@media (hover:hover){.dc\\:group-hover\\:opacity-100:is(:where(.dc\\:group):hover *){opacity:1}}.dc\\:first\\:rounded-l-sm:first-child{border-top-left-radius:var(--dc-radius-sm);border-bottom-left-radius:var(--dc-radius-sm)}.dc\\:last\\:mb-0:last-child{margin-bottom:0}.dc\\:last\\:rounded-r-sm:last-child{border-top-right-radius:var(--dc-radius-sm);border-bottom-right-radius:var(--dc-radius-sm)}.dc\\:last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}@media (hover:hover){.dc\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dc\\:hover\\:underline:hover{text-decoration-line:underline}.dc\\:hover\\:opacity-60:hover{opacity:.6}.dc\\:hover\\:opacity-80:hover{opacity:.8}.dc\\:hover\\:opacity-90:hover{opacity:.9}.dc\\:hover\\:opacity-100:hover{opacity:1}.dc\\:hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.dc\\:focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:focus\\:ring-current:focus{--tw-ring-color:currentcolor}.dc\\:focus\\:ring-offset-1:focus{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.dc\\:active\\:cursor-grabbing:active{cursor:grabbing}.dc\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.dc\\:disabled\\:opacity-30:disabled{opacity:.3}.dc\\:disabled\\:opacity-40:disabled{opacity:.4}.dc\\:disabled\\:opacity-50:disabled{opacity:.5}@media (width>=40rem){.dc\\:sm\\:inline{display:inline}.dc\\:sm\\:w-32{width:calc(var(--dc-spacing) * 32)}.dc\\:sm\\:w-40{width:calc(var(--dc-spacing) * 40)}.dc\\:sm\\:flex-initial{flex:0 auto}.dc\\:sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:sm\\:flex-row{flex-direction:row}.dc\\:sm\\:items-center{align-items:center}.dc\\:sm\\:justify-start{justify-content:flex-start}.dc\\:sm\\:opacity-0{opacity:0}@media (hover:hover){.dc\\:sm\\:group-hover\\:opacity-100:is(:where(.dc\\:group):hover *){opacity:1}}}@media (width>=48rem){.dc\\:md\\:block{display:block}.dc\\:md\\:flex{display:flex}.dc\\:md\\:hidden{display:none}.dc\\:md\\:h-\\[80vh\\]{height:80vh}.dc\\:md\\:h-\\[90vh\\]{height:90vh}.dc\\:md\\:max-h-\\[700px\\]{max-height:700px}.dc\\:md\\:w-80{width:calc(var(--dc-spacing) * 80)}.dc\\:md\\:w-\\[900px\\]{width:900px}.dc\\:md\\:w-\\[min\\(90vw\\,1400px\\)\\]{width:min(90vw,1400px)}.dc\\:md\\:max-w-\\[900px\\]{max-width:900px}.dc\\:md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:md\\:items-center{align-items:center}.dc\\:md\\:justify-center{justify-content:center}.dc\\:md\\:gap-3{gap:calc(var(--dc-spacing) * 3)}.dc\\:md\\:rounded-lg{border-radius:var(--dc-radius-lg)}.dc\\:md\\:px-4{padding-inline:calc(var(--dc-spacing) * 4)}.dc\\:md\\:px-6{padding-inline:calc(var(--dc-spacing) * 6)}.dc\\:md\\:py-3{padding-block:calc(var(--dc-spacing) * 3)}.dc\\:md\\:py-4{padding-block:calc(var(--dc-spacing) * 4)}.dc\\:md\\:pt-6{padding-top:calc(var(--dc-spacing) * 6)}.dc\\:md\\:pb-4{padding-bottom:calc(var(--dc-spacing) * 4)}}@media (width>=64rem){.dc\\:lg\\:col-span-2{grid-column:span 2/span 2}.dc\\:lg\\:flex{display:flex}.dc\\:lg\\:inline{display:inline}.dc\\:lg\\:h-\\[var\\(--dc-max-h\\)\\]{height:var(--dc-max-h)}.dc\\:lg\\:h-auto{height:auto}.dc\\:lg\\:h-full{height:100%}.dc\\:lg\\:max-h-\\[var\\(--dc-max-h\\)\\]{max-height:var(--dc-max-h)}.dc\\:lg\\:w-96{width:calc(var(--dc-spacing) * 96)}.dc\\:lg\\:flex-1{flex:1}.dc\\:lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dc\\:lg\\:flex-row{flex-direction:row}.dc\\:lg\\:overflow-hidden{overflow:hidden}.dc\\:lg\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.dc\\:lg\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}.bg-dc-surface{background-color:var(--dc-surface)}.bg-dc-surface-secondary{background-color:var(--dc-surface-secondary)}.bg-dc-surface-tertiary{background-color:var(--dc-surface-tertiary)}.bg-dc-surface-hover{background-color:var(--dc-surface-hover)}.text-dc-text{color:var(--dc-text)}.text-dc-text-secondary{color:var(--dc-text-secondary)}.text-dc-text-muted{color:var(--dc-text-muted)}.text-dc-text-disabled{color:var(--dc-text-disabled)}.border-dc-border{border-color:var(--dc-border)}.border-dc-border-secondary{border-color:var(--dc-border-secondary)}.border-dc-border-hover{border-color:var(--dc-border-hover)}.bg-dc-primary{background-color:var(--dc-primary)}.bg-dc-primary-hover{background-color:var(--dc-primary-hover)}.text-dc-primary{color:var(--dc-primary)}.text-dc-primary-content{color:var(--dc-primary-content)}.border-dc-primary{border-color:var(--dc-primary)}.ring-dc-primary{--tw-ring-color:var(--dc-primary)}.bg-dc-success{background-color:var(--dc-success)}.bg-dc-success-bg{background-color:var(--dc-success-bg)}.text-dc-success{color:var(--dc-success)}.border-dc-success{border-color:var(--dc-success)}.border-dc-success-border{border-color:var(--dc-success-border)}.bg-dc-warning{background-color:var(--dc-warning)}.bg-dc-warning-bg{background-color:var(--dc-warning-bg)}.text-dc-warning{color:var(--dc-warning)}.border-dc-warning{border-color:var(--dc-warning)}.border-dc-warning-border{border-color:var(--dc-warning-border)}.bg-dc-error{background-color:var(--dc-error)}.bg-dc-error-bg{background-color:var(--dc-error-bg)}.text-dc-error{color:var(--dc-error)}.border-dc-error{border-color:var(--dc-error)}.border-dc-error-border{border-color:var(--dc-error-border)}.bg-dc-info{background-color:var(--dc-info)}.bg-dc-info-bg{background-color:var(--dc-info-bg)}.text-dc-info{color:var(--dc-info)}.border-dc-info{border-color:var(--dc-info)}.border-dc-info-border{border-color:var(--dc-info-border)}.bg-dc-danger{background-color:var(--dc-danger)}.bg-dc-danger-bg{background-color:var(--dc-danger-bg)}.bg-dc-danger-hover{background-color:var(--dc-danger-hover)}.text-dc-danger{color:var(--dc-danger)}.border-dc-danger{border-color:var(--dc-danger)}.bg-dc-accent{background-color:var(--dc-accent)}.bg-dc-accent-bg{background-color:var(--dc-accent-bg)}.bg-dc-accent-hover{background-color:var(--dc-accent-hover)}.text-dc-accent{color:var(--dc-accent)}.text-dc-accent-text{color:var(--dc-accent-text)}.border-dc-accent{border-color:var(--dc-accent)}.border-dc-accent-border{border-color:var(--dc-accent-border)}.ring-dc-accent{--tw-ring-color:var(--dc-accent)}.bg-dc-card-bg{background-color:var(--dc-card-bg)}.bg-dc-card-bg-hover{background-color:var(--dc-card-bg-hover)}.border-dc-card-border{border-color:var(--dc-card-border)}.border-dc-card-border-hover{border-color:var(--dc-card-border-hover)}.bg-dc-muted{background-color:var(--dc-muted)}.bg-dc-muted-bg{background-color:var(--dc-muted-bg)}.text-dc-muted{color:var(--dc-muted)}.border-dc-muted{border-color:var(--dc-muted)}.border-dc-muted-border{border-color:var(--dc-muted-border)}.bg-dc-dimension{background-color:var(--dc-dimension-bg)}.text-dc-dimension,.text-dc-dimension-text{color:var(--dc-dimension-text)}.border-dc-dimension{border-color:var(--dc-dimension-border)}.bg-dc-time-dimension{background-color:var(--dc-time-dimension-bg)}.text-dc-time-dimension,.text-dc-time-dimension-text{color:var(--dc-time-dimension-text)}.border-dc-time-dimension{border-color:var(--dc-time-dimension-border)}.bg-dc-measure{background-color:var(--dc-measure-bg)}.text-dc-measure,.text-dc-measure-text{color:var(--dc-measure-text)}.border-dc-measure{border-color:var(--dc-measure-border)}.bg-dc-filter{background-color:var(--dc-filter-bg)}.text-dc-filter,.text-dc-filter-text{color:var(--dc-filter-text)}.border-dc-filter{border-color:var(--dc-filter-border)}.hover\\:bg-dc-surface-hover:hover{background-color:var(--dc-surface-hover)}.hover\\:border-dc-border-hover:hover{border-color:var(--dc-border-hover)}.hover\\:bg-dc-primary-hover:hover{background-color:var(--dc-primary-hover)}.hover\\:bg-dc-danger-hover:hover{background-color:var(--dc-danger-hover)}.hover\\:bg-dc-accent-hover:hover{background-color:var(--dc-accent-hover)}.hover\\:border-dc-accent:hover{border-color:var(--dc-accent)}.hover\\:bg-dc-card-bg-hover:hover{background-color:var(--dc-card-bg-hover)}.hover\\:border-dc-card-border-hover:hover{border-color:var(--dc-card-border-hover)}.hover\\:text-dc-primary:hover{color:var(--dc-primary)}.hover\\:text-dc-accent:hover{color:var(--dc-accent)}.hover\\:text-dc-danger:hover{color:var(--dc-danger)}.focus\\:ring-dc-primary:focus{--tw-ring-color:var(--dc-primary)}.focus\\:ring-dc-accent:focus{--tw-ring-color:var(--dc-accent)}.focus\\:border-dc-primary:focus{border-color:var(--dc-primary)}.focus\\:border-dc-accent:focus{border-color:var(--dc-accent)}.placeholder-dc-text-muted::placeholder{color:var(--dc-text-muted)}.placeholder-dc-text-disabled::placeholder{color:var(--dc-text-disabled)}}:root{--dc-surface:#fff;--dc-surface-secondary:#f9fafb;--dc-surface-tertiary:#f3f4f6;--dc-surface-hover:#f3f4f6;--dc-text:#111827;--dc-text-secondary:#374151;--dc-text-muted:#6b7280;--dc-text-disabled:#9ca3af;--dc-border:#e5e7eb;--dc-border-secondary:#d1d5db;--dc-border-hover:#d1d5db;--dc-primary:#3b82f6;--dc-primary-hover:#2563eb;--dc-primary-content:#fff;--dc-success:#10b981;--dc-success-bg:#d1fae5;--dc-success-border:#6ee7b7;--dc-warning:#f59e0b;--dc-warning-bg:#fef3c7;--dc-warning-border:#fcd34d;--dc-error:#ef4444;--dc-error-bg:#fee2e2;--dc-error-border:#fca5a5;--dc-info:#3b82f6;--dc-info-bg:#dbeafe;--dc-info-border:#93c5fd;--dc-danger:#dc2626;--dc-danger-hover:#b91c1c;--dc-danger-bg:#fee2e2;--dc-dimension-bg:#bbf7d0;--dc-dimension-text:#15803d;--dc-dimension-border:#86efac;--dc-time-dimension-bg:#bfdbfe;--dc-time-dimension-text:#1d4ed8;--dc-time-dimension-border:#60a5fa;--dc-measure-bg:#fde68a;--dc-measure-text:#b45309;--dc-measure-border:#fbbf24;--dc-filter-bg:#e9d5ff;--dc-filter-text:#7c3aed;--dc-filter-border:#c084fc;--dc-overlay:#000000bf;--dc-overlay-light:#00000080;--dc-shadow-sm:0 1px 2px 0 #0000000d;--dc-shadow:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--dc-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--dc-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--dc-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--dc-shadow-2xl:0 25px 50px -12px #00000040;--dc-card-bg:#fff;--dc-card-bg-hover:#f9fafb;--dc-card-border:#e5e7eb;--dc-card-border-hover:#d1d5db;--dc-accent:#3b82f6;--dc-accent-hover:#2563eb;--dc-accent-bg:#eff6ff;--dc-accent-border:#93c5fd;--dc-accent-text:#fff;--dc-muted:#6b7280;--dc-muted-bg:#f3f4f6;--dc-muted-border:#e5e7eb;--dc-ai-gradient-start:#faf5ff;--dc-ai-gradient-end:#eef2ff}[data-theme=dark],.dark,html.dark{--dc-surface:#1e293b;--dc-surface-secondary:#334155;--dc-surface-tertiary:#475569;--dc-surface-hover:#475569;--dc-text:#f1f5f9;--dc-text-secondary:#e2e8f0;--dc-text-muted:#cbd5e1;--dc-text-disabled:#94a3b8;--dc-border:#475569;--dc-border-secondary:#64748b;--dc-border-hover:#64748b;--dc-primary:#60a5fa;--dc-primary-hover:#3b82f6;--dc-primary-content:#0c4a6e;--dc-success:#34d399;--dc-success-bg:#064e3b;--dc-success-border:#059669;--dc-warning:#fbbf24;--dc-warning-bg:#78350f;--dc-warning-border:#d97706;--dc-error:#f87171;--dc-error-bg:#7f1d1d;--dc-error-border:#dc2626;--dc-info:#60a5fa;--dc-info-bg:#1e3a8a;--dc-info-border:#2563eb;--dc-danger:#ef4444;--dc-danger-hover:#dc2626;--dc-danger-bg:#7f1d1d;--dc-dimension-bg:#22c55e66;--dc-dimension-text:#4ade80;--dc-dimension-border:#22c55e;--dc-time-dimension-bg:#3b82f666;--dc-time-dimension-text:#60a5fa;--dc-time-dimension-border:#3b82f6;--dc-measure-bg:#f59e0b66;--dc-measure-text:#fbbf24;--dc-measure-border:#f59e0b;--dc-filter-bg:#8b5cf666;--dc-filter-text:#c084fc;--dc-filter-border:#a855f7;--dc-overlay:#000000d9;--dc-overlay-light:#0009;--dc-shadow-sm:0 1px 2px 0 #0000004d;--dc-shadow:0 1px 3px 0 #0006, 0 1px 2px -1px #0006;--dc-shadow-md:0 4px 6px -1px #0006, 0 2px 4px -2px #0006;--dc-shadow-lg:0 10px 15px -3px #0006, 0 4px 6px -4px #0006;--dc-shadow-xl:0 20px 25px -5px #0006, 0 8px 10px -6px #0006;--dc-shadow-2xl:0 25px 50px -12px #00000080;--dc-card-bg:#1e293b;--dc-card-bg-hover:#334155;--dc-card-border:#475569;--dc-card-border-hover:#64748b;--dc-accent:#60a5fa;--dc-accent-hover:#3b82f6;--dc-accent-bg:#1e3a8a;--dc-accent-border:#2563eb;--dc-accent-text:#fff;--dc-muted:#94a3b8;--dc-muted-bg:#334155;--dc-muted-border:#475569;--dc-ai-gradient-start:#8b5cf626;--dc-ai-gradient-end:#6366f126}[data-theme=neon],html.neon{--dc-surface:#0a0118;--dc-surface-secondary:#1a0f2e;--dc-surface-tertiary:#2a1f3e;--dc-surface-hover:#3a2f4e;--dc-text:#fff;--dc-text-secondary:#e0e0ff;--dc-text-muted:#b0b0d0;--dc-text-disabled:#808090;--dc-border:#f0f;--dc-border-secondary:#0ff;--dc-border-hover:#0f0;--dc-primary:#0ff;--dc-primary-hover:#0cc;--dc-primary-content:#000;--dc-success:#0f0;--dc-success-bg:#00ff0026;--dc-success-border:#0f0;--dc-warning:#ff0;--dc-warning-bg:#ffff0026;--dc-warning-border:#ff0;--dc-error:#f06;--dc-error-bg:#ff006626;--dc-error-border:#f06;--dc-info:#0ff;--dc-info-bg:#00ffff26;--dc-info-border:#0ff;--dc-danger:#ff1493;--dc-danger-hover:#cc1077;--dc-danger-bg:#ff149326;--dc-dimension-bg:#00ff0059;--dc-dimension-text:#0f0;--dc-dimension-border:#0f0;--dc-time-dimension-bg:#00ffff59;--dc-time-dimension-text:#0ff;--dc-time-dimension-border:#0ff;--dc-measure-bg:#ff00ff59;--dc-measure-text:#f0f;--dc-measure-border:#f0f;--dc-filter-bg:#a855f759;--dc-filter-text:#a855f7;--dc-filter-border:#a855f7;--dc-overlay:#0a0118f2;--dc-overlay-light:#0a0118bf;--dc-shadow-sm:0 0 4px #ff00ff4d;--dc-shadow:0 0 8px #f0f6, 0 0 12px #0ff3;--dc-shadow-md:0 0 12px #ff00ff80, 0 0 20px #00ffff4d;--dc-shadow-lg:0 0 20px #f0f9, 0 0 30px #0ff6;--dc-shadow-xl:0 0 30px #ff00ffb3, 0 0 50px #00ffff80;--dc-shadow-2xl:0 0 50px #f0fc, 0 0 80px #0ff9;--dc-card-bg:#1a0f2e;--dc-card-bg-hover:#2a1f3e;--dc-card-border:#f0f;--dc-card-border-hover:#0ff;--dc-accent:#0ff;--dc-accent-hover:#0cc;--dc-accent-bg:#00ffff26;--dc-accent-border:#0ff;--dc-accent-text:#0a0118;--dc-muted:#b0b0d0;--dc-muted-bg:#2a1f3e;--dc-muted-border:#f0f;--dc-ai-gradient-start:#00ffff1a;--dc-ai-gradient-end:#ff00ff1a}@keyframes dc-msg-in{0%{opacity:0}to{opacity:1}}@keyframes dc-icon-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes dc-strip-nudge{0%,to{width:48px}40%{width:72px}}.recharts-surface:focus,.recharts-wrapper:focus,.recharts-area:focus,.recharts-area-area:focus,.recharts-area-curve:focus,.recharts-line:focus,.recharts-line-curve:focus,.recharts-bar:focus,.recharts-pie:focus,.recharts-sector:focus,.recharts-layer:focus,.recharts-wrapper svg:focus,.recharts-wrapper g:focus,.recharts-wrapper path:focus,.recharts-wrapper rect:focus,.recharts-wrapper circle:focus{outline:none}.hljs{background-color:var(--dc-surface-secondary)!important;color:var(--dc-text)!important;padding:.5em!important}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-section,.hljs-link{color:var(--dc-primary)}.hljs-string,.hljs-attr{color:var(--dc-success)}.hljs-number{color:var(--dc-warning)}.hljs-comment,.hljs-quote{color:var(--dc-text-muted);font-style:italic}.hljs-title,.hljs-class .hljs-title,.hljs-function .hljs-title{color:var(--dc-accent)}.hljs-variable,.hljs-attribute,.hljs-property{color:var(--dc-text-secondary)}.hljs-built_in,.hljs-name{color:var(--dc-info)}.hljs-meta,.hljs-meta-keyword{color:var(--dc-muted)}.hljs-addition{color:var(--dc-success);background-color:var(--dc-success-bg)}.hljs-deletion{color:var(--dc-error);background-color:var(--dc-error-bg)}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif);background:var(--dc-surface,#fff);color:var(--dc-text,#1e293b);-webkit-font-smoothing:antialiased;line-height:1.5}#root{min-height:100vh;padding:12px}.dc-mcp-table{border-collapse:collapse;width:100%;font-size:13px}.dc-mcp-table th{text-align:left;border-bottom:2px solid var(--dc-border,#e2e8f0);color:var(--dc-text-secondary,#64748b);text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;padding:6px 10px;font-size:11px;font-weight:600}.dc-mcp-table td{border-bottom:1px solid var(--dc-border,#e2e8f0);color:var(--dc-text,#1e293b);padding:5px 10px}.dc-mcp-table tr:last-child td{border-bottom:none}.dc-mcp-table tr:hover td{background:var(--dc-surface-secondary,#f8fafc)}.dc-mcp-table td.numeric{text-align:right;font-variant-numeric:tabular-nums}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}\n/*$vite$:1*/</style>\n </head>\n <body>\n <div id=\"root\"></div>\n </body>\n</html>\n", c = "ui://drizzle-cube/visualization.html", l = "text/html;profile=mcp-app";
|
|
4
|
+
function u(e) {
|
|
5
|
+
if (!e) return s;
|
|
6
|
+
let t = `<script>window.__DRIZZLE_CUBE_MCP_APP_CONFIG__ = ${JSON.stringify({
|
|
7
|
+
defaultLocale: e.defaultLocale,
|
|
8
|
+
detectBrowserLocale: e.detectBrowserLocale
|
|
9
|
+
}).replace(/<\//g, "<\\/")}<\/script>`;
|
|
10
|
+
return s.replace("</head>", `${t}</head>`);
|
|
11
|
+
}
|
|
12
|
+
var d = [
|
|
13
|
+
"2025-11-25",
|
|
14
|
+
"2025-06-18",
|
|
15
|
+
"2025-03-26"
|
|
16
|
+
], f = "2025-11-25";
|
|
17
|
+
function p(e) {
|
|
18
|
+
let t = A(e["mcp-protocol-version"]) || "2025-11-25";
|
|
19
|
+
return {
|
|
20
|
+
ok: d.includes(t),
|
|
21
|
+
negotiated: d.includes(t) ? t : null,
|
|
22
|
+
supported: d
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function m(e) {
|
|
26
|
+
if (!e) return !1;
|
|
27
|
+
let t = e.split(",").map((e) => e.trim().toLowerCase()), n = t.includes("text/event-stream"), r = t.includes("application/json");
|
|
28
|
+
return n && !r;
|
|
29
|
+
}
|
|
30
|
+
var h = "mcp-session-id";
|
|
31
|
+
function g(e) {
|
|
32
|
+
if (!e) return !1;
|
|
33
|
+
let t = e.split(",").map((e) => e.trim().toLowerCase().split(";")[0]), n = t.some((e) => e === "application/json"), r = t.some((e) => e === "text/event-stream"), i = t.some((e) => e === "*/*");
|
|
34
|
+
return n && r || n || i;
|
|
35
|
+
}
|
|
36
|
+
function _(e, t = {}) {
|
|
37
|
+
let { allowMissingOrigin: n = !0, allowedOrigins: r } = t;
|
|
38
|
+
if (!e) return n ? { valid: !0 } : {
|
|
39
|
+
valid: !1,
|
|
40
|
+
reason: "Origin header is required"
|
|
41
|
+
};
|
|
42
|
+
if (!r || r.length === 0) return { valid: !0 };
|
|
43
|
+
let i;
|
|
44
|
+
try {
|
|
45
|
+
i = new URL(e);
|
|
46
|
+
} catch {
|
|
47
|
+
return {
|
|
48
|
+
valid: !1,
|
|
49
|
+
reason: "Invalid Origin header format"
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return r.map((e) => {
|
|
53
|
+
try {
|
|
54
|
+
return new URL(e).origin;
|
|
55
|
+
} catch {
|
|
56
|
+
return e;
|
|
57
|
+
}
|
|
58
|
+
}).includes(i.origin) ? { valid: !0 } : {
|
|
59
|
+
valid: !1,
|
|
60
|
+
reason: "Origin not in allowed list"
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function v(e) {
|
|
64
|
+
if (!e) return null;
|
|
65
|
+
let t = /^Bearer\s+(\S+)$/i.exec(e);
|
|
66
|
+
return t ? t[1] : null;
|
|
67
|
+
}
|
|
68
|
+
function y(e) {
|
|
69
|
+
return `Bearer resource_metadata="${e}"`;
|
|
70
|
+
}
|
|
71
|
+
function b(e, t, n) {
|
|
72
|
+
let r = [];
|
|
73
|
+
return t && r.push(`id: ${t}`), n && n > 0 && r.push(`retry: ${n}`), r.push("event: message"), r.push(`data: ${JSON.stringify(e)}`), r.push(""), r.join("\n");
|
|
74
|
+
}
|
|
75
|
+
function x(e, t, n, r) {
|
|
76
|
+
return {
|
|
77
|
+
jsonrpc: "2.0",
|
|
78
|
+
id: e ?? null,
|
|
79
|
+
error: {
|
|
80
|
+
code: t,
|
|
81
|
+
message: n,
|
|
82
|
+
...r === void 0 ? {} : { data: r }
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function S(e, t) {
|
|
87
|
+
return {
|
|
88
|
+
jsonrpc: "2.0",
|
|
89
|
+
id: e ?? null,
|
|
90
|
+
result: t
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function C(e) {
|
|
94
|
+
if (!e || typeof e != "object") return null;
|
|
95
|
+
let t = e;
|
|
96
|
+
return t.jsonrpc !== "2.0" || typeof t.method != "string" ? null : {
|
|
97
|
+
jsonrpc: "2.0",
|
|
98
|
+
method: t.method,
|
|
99
|
+
id: t.id,
|
|
100
|
+
params: t.params
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function w(e, t) {
|
|
104
|
+
let n = e?.protocolVersion;
|
|
105
|
+
return {
|
|
106
|
+
protocolVersion: n && d.includes(n) ? n : f,
|
|
107
|
+
capabilities: {
|
|
108
|
+
tools: { listChanged: !1 },
|
|
109
|
+
resources: { listChanged: !1 },
|
|
110
|
+
prompts: { listChanged: !1 },
|
|
111
|
+
sampling: {}
|
|
112
|
+
},
|
|
113
|
+
sessionId: M(),
|
|
114
|
+
serverInfo: {
|
|
115
|
+
name: t.serverName,
|
|
116
|
+
version: typeof process < "u" ? process.env?.npm_package_version || "dev" : "worker"
|
|
117
|
+
},
|
|
118
|
+
instructions: t.instructions
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function T(e) {
|
|
122
|
+
return {
|
|
123
|
+
resources: e.resources.map(({ uri: e, name: t, description: n, mimeType: r }) => ({
|
|
124
|
+
uri: e,
|
|
125
|
+
name: t,
|
|
126
|
+
description: n,
|
|
127
|
+
mimeType: r
|
|
128
|
+
})),
|
|
129
|
+
nextCursor: ""
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function E(e, t) {
|
|
133
|
+
let n = e?.uri, r = t.resources.find((e) => e.uri === n) || t.resources[0];
|
|
134
|
+
if (!r) throw k(-32602, "resource not found");
|
|
135
|
+
return { contents: [{
|
|
136
|
+
uri: r.uri,
|
|
137
|
+
mimeType: r.mimeType,
|
|
138
|
+
text: r.text
|
|
139
|
+
}] };
|
|
140
|
+
}
|
|
141
|
+
function D(e, t) {
|
|
142
|
+
let n = e?.name, r = t.prompts.find((e) => e.name === n) || t.prompts[0];
|
|
143
|
+
if (!r) throw k(-32602, "prompt not found");
|
|
144
|
+
return {
|
|
145
|
+
name: r.name,
|
|
146
|
+
description: r.description,
|
|
147
|
+
messages: r.messages
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
async function O(t, n, r) {
|
|
151
|
+
let { appEnabled: i, appConfig: a } = r, o = r.resources ?? R, s = {
|
|
152
|
+
appEnabled: i,
|
|
153
|
+
serverName: r.serverName ?? "drizzle-cube",
|
|
154
|
+
prompts: r.prompts ?? L,
|
|
155
|
+
resources: i ? [...o, ...I(a)] : o,
|
|
156
|
+
instructions: r.instructions ?? e()
|
|
157
|
+
};
|
|
158
|
+
switch (t) {
|
|
159
|
+
case "initialize": return w(n, s);
|
|
160
|
+
case "list_tools":
|
|
161
|
+
case "tools/list": return {
|
|
162
|
+
tools: N({ appEnabled: i }),
|
|
163
|
+
nextCursor: ""
|
|
164
|
+
};
|
|
165
|
+
case "call_tool":
|
|
166
|
+
case "tools/call": return P(n, r);
|
|
167
|
+
case "resources/list": return T(s);
|
|
168
|
+
case "resources/templates/list": return {
|
|
169
|
+
resourceTemplates: [],
|
|
170
|
+
nextCursor: ""
|
|
171
|
+
};
|
|
172
|
+
case "resources/read": return E(n, s);
|
|
173
|
+
case "prompts/list": return {
|
|
174
|
+
prompts: s.prompts.map(({ name: e, description: t }) => ({
|
|
175
|
+
name: e,
|
|
176
|
+
description: t
|
|
177
|
+
})),
|
|
178
|
+
nextCursor: ""
|
|
179
|
+
};
|
|
180
|
+
case "ping": return {};
|
|
181
|
+
case "notifications/initialized": return {};
|
|
182
|
+
case "prompts/get": return D(n, s);
|
|
183
|
+
default: throw k(-32601, `Unknown MCP method: ${t}`);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
function k(e, t, n) {
|
|
187
|
+
let r = Error(t);
|
|
188
|
+
return r.code = e, n !== void 0 && (r.data = n), r;
|
|
189
|
+
}
|
|
190
|
+
function A(e) {
|
|
191
|
+
return e ? Array.isArray(e) ? e[0] || null : e : null;
|
|
192
|
+
}
|
|
193
|
+
function j(e) {
|
|
194
|
+
return e.id === void 0 || e.id === null;
|
|
195
|
+
}
|
|
196
|
+
function M() {
|
|
197
|
+
return `evt-${i()}`;
|
|
198
|
+
}
|
|
199
|
+
function N(e) {
|
|
200
|
+
let t = [
|
|
201
|
+
{
|
|
202
|
+
name: "discover",
|
|
203
|
+
description: "MANDATORY FIRST CALL. You MUST call this before constructing any query — even if you think you know the schema.\n\nReturns:\n- 'cubes': matched cubes with measures, dimensions, joins, and metadata hints (eventStream for funnels, etc.)\n- 'queryLanguageReference': the COMPLETE TypeScript DSL for query construction. This is the source of truth for field naming, filter operators, time dimensions, and analysis modes (funnel/flow/retention). READ IT before building queries — do not guess syntax.\n- 'dateFilteringGuide': decision tree for date filtering vs time grouping. READ IT whenever the user mentions a time period — this is the #1 source of incorrect queries.\n\nThe 'joins' property on each cube shows relationships. You can include dimensions from ANY related cube in your query — the system auto-joins them.\n\nExample: If Productivity has a join to Employees, you can query:\n{ \"measures\": [\"Productivity.totalPullRequests\"], \"dimensions\": [\"Employees.name\"] }",
|
|
204
|
+
inputSchema: {
|
|
205
|
+
type: "object",
|
|
206
|
+
properties: {
|
|
207
|
+
topic: {
|
|
208
|
+
type: "string",
|
|
209
|
+
description: "Keyword to search (e.g., \"sales\", \"employees\")"
|
|
210
|
+
},
|
|
211
|
+
intent: {
|
|
212
|
+
type: "string",
|
|
213
|
+
description: "Natural language goal (e.g., \"analyze productivity trends\")"
|
|
214
|
+
},
|
|
215
|
+
limit: {
|
|
216
|
+
type: "number",
|
|
217
|
+
description: "Max results (default: 10)"
|
|
218
|
+
},
|
|
219
|
+
minScore: {
|
|
220
|
+
type: "number",
|
|
221
|
+
description: "Min relevance 0-1 (default: 0.1)"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: "validate",
|
|
228
|
+
description: "Validate a query and get auto-corrections for issues.\n\nChecks:\n- Field existence (measures, dimensions exist in schema)\n- Filter syntax and operators\n- Cross-cube join validity\n\nReturns corrected query if issues found, plus the generated SQL for debugging.",
|
|
229
|
+
inputSchema: {
|
|
230
|
+
type: "object",
|
|
231
|
+
required: ["query"],
|
|
232
|
+
properties: { query: {
|
|
233
|
+
type: "object",
|
|
234
|
+
description: "CubeQuery to validate"
|
|
235
|
+
} }
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: "load",
|
|
240
|
+
description: "Execute a semantic query and return aggregated results.\n\nPREREQUISITE: You MUST have called 'discover' first in this session. The discover response contains the 'queryLanguageReference' (full DSL) and 'dateFilteringGuide' you need to construct a correct query. If you have not yet called discover, call it NOW before calling load.\n\nSupports regular queries (measures/dimensions), funnel, flow, and retention analysis modes — see the queryLanguageReference returned by discover for the full DSL.\n\nKey rules (the queryLanguageReference is authoritative — these are reminders, not the full spec):\n- Fields are EXACTLY \"CubeName.fieldName\" (two parts, one dot). Copy verbatim from discover.\n- Cross-cube joins: include dimensions from related cubes (system auto-joins).\n- Aggregated totals over a period: use filters with inDateRange — NOT timeDimensions.\n- Time series (\"by month\", \"daily trend\"): use timeDimensions WITH granularity.\n- Top N: filters + order + limit.\n\nUse \"load\" for data retrieval. Use \"chart\" to visualise results with an interactive chart.",
|
|
241
|
+
inputSchema: {
|
|
242
|
+
type: "object",
|
|
243
|
+
required: ["query"],
|
|
244
|
+
properties: { query: {
|
|
245
|
+
type: "object",
|
|
246
|
+
description: "Semantic query object. Regular: { measures, dimensions, filters, timeDimensions, order, limit }. Funnel: { funnel: {...} }. Flow: { flow: {...} }. Retention: { retention: {...} }.",
|
|
247
|
+
properties: a
|
|
248
|
+
} }
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
];
|
|
252
|
+
if (e?.appEnabled) {
|
|
253
|
+
t.push({
|
|
254
|
+
name: "chart",
|
|
255
|
+
description: "Execute a semantic query and render an interactive chart visualization.\n\nSame query format as \"load\", but renders results in the MCP App chart UI.\nInclude a \"chart\" object to control the visualization.\n\nChart types: bar, line, area, pie, scatter, bubble, radar, treemap, kpiNumber, kpiDelta, table, heatmap, funnel, sankey, sunburst, waterfall, activityGrid, boxPlot\nGuidelines: single number -> kpiNumber, trend -> line/area, categories -> bar, part-of-whole -> pie, correlation -> scatter/bubble, distribution -> boxPlot",
|
|
256
|
+
inputSchema: {
|
|
257
|
+
type: "object",
|
|
258
|
+
required: ["query"],
|
|
259
|
+
properties: {
|
|
260
|
+
query: {
|
|
261
|
+
type: "object",
|
|
262
|
+
description: "Semantic query object. Same format as the load tool.",
|
|
263
|
+
properties: a
|
|
264
|
+
},
|
|
265
|
+
chart: {
|
|
266
|
+
type: "object",
|
|
267
|
+
description: "Chart configuration for the visualization. If omitted, chart type is auto-detected from query shape.",
|
|
268
|
+
properties: {
|
|
269
|
+
type: {
|
|
270
|
+
type: "string",
|
|
271
|
+
enum: [
|
|
272
|
+
"bar",
|
|
273
|
+
"line",
|
|
274
|
+
"area",
|
|
275
|
+
"pie",
|
|
276
|
+
"scatter",
|
|
277
|
+
"bubble",
|
|
278
|
+
"radar",
|
|
279
|
+
"radialBar",
|
|
280
|
+
"treemap",
|
|
281
|
+
"table",
|
|
282
|
+
"kpiNumber",
|
|
283
|
+
"kpiDelta",
|
|
284
|
+
"heatmap",
|
|
285
|
+
"boxPlot",
|
|
286
|
+
"funnel",
|
|
287
|
+
"sankey",
|
|
288
|
+
"sunburst",
|
|
289
|
+
"retentionHeatmap",
|
|
290
|
+
"retentionCombined",
|
|
291
|
+
"waterfall",
|
|
292
|
+
"activityGrid"
|
|
293
|
+
],
|
|
294
|
+
description: "Chart type to render"
|
|
295
|
+
},
|
|
296
|
+
title: {
|
|
297
|
+
type: "string",
|
|
298
|
+
description: "Chart title"
|
|
299
|
+
},
|
|
300
|
+
chartConfig: {
|
|
301
|
+
type: "object",
|
|
302
|
+
description: "Axis configuration — same schema as agent add_portlet chartConfig.",
|
|
303
|
+
properties: {
|
|
304
|
+
xAxis: {
|
|
305
|
+
type: "array",
|
|
306
|
+
items: { type: "string" },
|
|
307
|
+
description: "Dimension fields for X axis"
|
|
308
|
+
},
|
|
309
|
+
yAxis: {
|
|
310
|
+
type: "array",
|
|
311
|
+
items: { type: "string" },
|
|
312
|
+
description: "Measure fields for Y axis"
|
|
313
|
+
},
|
|
314
|
+
series: {
|
|
315
|
+
type: "array",
|
|
316
|
+
items: { type: "string" },
|
|
317
|
+
description: "Dimension for series splitting (grouped/stacked)"
|
|
318
|
+
},
|
|
319
|
+
yAxisAssignment: {
|
|
320
|
+
type: "object",
|
|
321
|
+
description: "Dual Y-axis: map measure fields to \"left\" or \"right\". Only bar/line/area with 2+ measures of different scales."
|
|
322
|
+
},
|
|
323
|
+
sizeField: {
|
|
324
|
+
type: "string",
|
|
325
|
+
description: "Bubble chart size field"
|
|
326
|
+
},
|
|
327
|
+
colorField: {
|
|
328
|
+
type: "string",
|
|
329
|
+
description: "Bubble chart color field"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
displayConfig: {
|
|
334
|
+
type: "object",
|
|
335
|
+
description: "Display options.",
|
|
336
|
+
properties: {
|
|
337
|
+
showLegend: { type: "boolean" },
|
|
338
|
+
showGrid: { type: "boolean" },
|
|
339
|
+
showTooltip: { type: "boolean" },
|
|
340
|
+
stacked: { type: "boolean" },
|
|
341
|
+
stackType: {
|
|
342
|
+
type: "string",
|
|
343
|
+
enum: [
|
|
344
|
+
"none",
|
|
345
|
+
"normal",
|
|
346
|
+
"percent"
|
|
347
|
+
]
|
|
348
|
+
},
|
|
349
|
+
orientation: {
|
|
350
|
+
type: "string",
|
|
351
|
+
enum: ["horizontal", "vertical"]
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
xAxis: {
|
|
356
|
+
type: "string",
|
|
357
|
+
description: "Deprecated: use chartConfig.xAxis"
|
|
358
|
+
},
|
|
359
|
+
yAxis: {
|
|
360
|
+
type: "array",
|
|
361
|
+
items: { type: "string" },
|
|
362
|
+
description: "Deprecated: use chartConfig.yAxis"
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
let e = t.find((e) => e.name === "chart");
|
|
370
|
+
e && (e._meta = { ui: { resourceUri: c } });
|
|
371
|
+
}
|
|
372
|
+
return t;
|
|
373
|
+
}
|
|
374
|
+
async function P(e, i) {
|
|
375
|
+
let { semanticLayer: a, extractSecurityContext: o, rawRequest: s, rawResponse: c } = i, l = e || {};
|
|
376
|
+
if (!l.name) throw k(-32602, "name is required for tools/call");
|
|
377
|
+
let u = l.arguments;
|
|
378
|
+
try {
|
|
379
|
+
switch (l.name) {
|
|
380
|
+
case "discover": return F(await r(a, u || {}));
|
|
381
|
+
case "validate": {
|
|
382
|
+
let e = u || {};
|
|
383
|
+
if (!e.query) throw k(-32602, "query is required");
|
|
384
|
+
let n;
|
|
385
|
+
try {
|
|
386
|
+
n = await o(s, c);
|
|
387
|
+
} catch {}
|
|
388
|
+
return F(await t(a, e, n));
|
|
389
|
+
}
|
|
390
|
+
case "load": {
|
|
391
|
+
let e = u || {};
|
|
392
|
+
if (!e.query) throw k(-32602, "query is required");
|
|
393
|
+
return F(await n(a, await o(s, c), e));
|
|
394
|
+
}
|
|
395
|
+
case "chart": {
|
|
396
|
+
let e = u || {};
|
|
397
|
+
if (!e.query) throw k(-32602, "query is required");
|
|
398
|
+
return F(await n(a, await o(s, c), e));
|
|
399
|
+
}
|
|
400
|
+
default: throw k(-32601, `Unknown tool: ${l.name}`);
|
|
401
|
+
}
|
|
402
|
+
} catch (e) {
|
|
403
|
+
if (e?.code === -32602 || e?.code === -32601) throw e;
|
|
404
|
+
let t = e instanceof Error ? e.message : String(e);
|
|
405
|
+
return {
|
|
406
|
+
content: [{
|
|
407
|
+
type: "text",
|
|
408
|
+
text: JSON.stringify({ error: t })
|
|
409
|
+
}],
|
|
410
|
+
isError: !0
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function F(e) {
|
|
415
|
+
return {
|
|
416
|
+
content: [{
|
|
417
|
+
type: "text",
|
|
418
|
+
text: typeof e == "string" ? e : JSON.stringify(e)
|
|
419
|
+
}],
|
|
420
|
+
isError: !1
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
function I(e) {
|
|
424
|
+
let t = u(e);
|
|
425
|
+
return t ? [{
|
|
426
|
+
uri: c,
|
|
427
|
+
name: "Drizzle Cube Visualization",
|
|
428
|
+
description: "Interactive chart visualization for query results",
|
|
429
|
+
mimeType: l,
|
|
430
|
+
text: t
|
|
431
|
+
}] : [];
|
|
432
|
+
}
|
|
433
|
+
var L = o(), R = [{
|
|
434
|
+
uri: "drizzle-cube://quickstart",
|
|
435
|
+
name: "Drizzle Cube MCP Quickstart",
|
|
436
|
+
description: "Minimal guide for using discover/validate/load",
|
|
437
|
+
mimeType: "text/markdown",
|
|
438
|
+
text: [
|
|
439
|
+
"# Drizzle Cube MCP Quickstart",
|
|
440
|
+
"",
|
|
441
|
+
"Tools:",
|
|
442
|
+
"- discover: { topic?, intent?, limit?, minScore? } -> cubes list",
|
|
443
|
+
"- validate: { query } -> corrected query + issues",
|
|
444
|
+
"- load: { query } -> data + annotation (text only)",
|
|
445
|
+
"- chart: { query, chart? } -> data + interactive chart visualization",
|
|
446
|
+
"",
|
|
447
|
+
"Recommended flow:",
|
|
448
|
+
"1) tools/call name=discover intent=\"<goal>\"",
|
|
449
|
+
"2) tools/call name=validate query=<draft> (optional)",
|
|
450
|
+
"3) tools/call name=load query=<validated> (data only) OR name=chart query=<validated> chart={type, ...} (with visualization)",
|
|
451
|
+
"",
|
|
452
|
+
"Query shapes supported:",
|
|
453
|
+
"- regular: { measures, dimensions, filters, timeDimensions, order, limit, offset, ungrouped }",
|
|
454
|
+
"- funnel: { funnel: { bindingKey, timeDimension, steps[], includeTimeMetrics?, globalTimeWindow? } }",
|
|
455
|
+
"- flow: { flow: { bindingKey, timeDimension, eventDimension, startingStep: { name, filter }, stepsBefore, stepsAfter } }",
|
|
456
|
+
"- retention: { retention: { timeDimension, bindingKey, dateRange: { start, end }, granularity, periods, retentionType } }",
|
|
457
|
+
"",
|
|
458
|
+
"Filter rules: flat arrays of { member, operator, values }. Use { and: [...] } or { or: [...] } for logical grouping."
|
|
459
|
+
].join("\n")
|
|
460
|
+
}, {
|
|
461
|
+
uri: "drizzle-cube://query-shapes",
|
|
462
|
+
name: "Query Shapes Reference",
|
|
463
|
+
description: "Detailed schema examples for regular, funnel, flow, and retention queries",
|
|
464
|
+
mimeType: "text/markdown",
|
|
465
|
+
text: [
|
|
466
|
+
"# Query Shapes",
|
|
467
|
+
"",
|
|
468
|
+
"## Regular query",
|
|
469
|
+
"```json",
|
|
470
|
+
"{",
|
|
471
|
+
" \"measures\": [\"Sales.count\"],",
|
|
472
|
+
" \"dimensions\": [\"Sales.channel\"],",
|
|
473
|
+
" \"filters\": [",
|
|
474
|
+
" { \"member\": \"Sales.status\", \"operator\": \"equals\", \"values\": [\"paid\"] },",
|
|
475
|
+
" { \"or\": [",
|
|
476
|
+
" { \"member\": \"Sales.region\", \"operator\": \"equals\", \"values\": [\"US\"] },",
|
|
477
|
+
" { \"member\": \"Sales.region\", \"operator\": \"equals\", \"values\": [\"EU\"] }",
|
|
478
|
+
" ]}",
|
|
479
|
+
" ],",
|
|
480
|
+
" \"timeDimensions\": [{ \"dimension\": \"Sales.createdAt\", \"dateRange\": \"last 30 days\", \"granularity\": \"day\" }],",
|
|
481
|
+
" \"order\": { \"Sales.createdAt\": \"asc\" },",
|
|
482
|
+
" \"limit\": 500",
|
|
483
|
+
"}",
|
|
484
|
+
"```",
|
|
485
|
+
"",
|
|
486
|
+
"## Funnel",
|
|
487
|
+
"```json",
|
|
488
|
+
"{",
|
|
489
|
+
" \"funnel\": {",
|
|
490
|
+
" \"bindingKey\": \"Events.userId\",",
|
|
491
|
+
" \"timeDimension\": \"Events.timestamp\",",
|
|
492
|
+
" \"steps\": [",
|
|
493
|
+
" {",
|
|
494
|
+
" \"name\": \"Signup\",",
|
|
495
|
+
" \"filter\": [",
|
|
496
|
+
" { \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"signup\"] },",
|
|
497
|
+
" { \"member\": \"Events.timestamp\", \"operator\": \"inDateRange\", \"values\": [\"last 6 months\"] }",
|
|
498
|
+
" ]",
|
|
499
|
+
" },",
|
|
500
|
+
" {",
|
|
501
|
+
" \"name\": \"Purchase\",",
|
|
502
|
+
" \"filter\": [{ \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"purchase\"] }],",
|
|
503
|
+
" \"timeToConvert\": \"P7D\"",
|
|
504
|
+
" }",
|
|
505
|
+
" ],",
|
|
506
|
+
" \"includeTimeMetrics\": true",
|
|
507
|
+
" }",
|
|
508
|
+
"}",
|
|
509
|
+
"```",
|
|
510
|
+
"",
|
|
511
|
+
"## Flow",
|
|
512
|
+
"```json",
|
|
513
|
+
"{",
|
|
514
|
+
" \"flow\": {",
|
|
515
|
+
" \"bindingKey\": \"Events.userId\",",
|
|
516
|
+
" \"timeDimension\": \"Events.timestamp\",",
|
|
517
|
+
" \"eventDimension\": \"Events.eventType\",",
|
|
518
|
+
" \"startingStep\": {",
|
|
519
|
+
" \"name\": \"Checkout\",",
|
|
520
|
+
" \"filter\": { \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"checkout\"] }",
|
|
521
|
+
" },",
|
|
522
|
+
" \"stepsBefore\": 2,",
|
|
523
|
+
" \"stepsAfter\": 3",
|
|
524
|
+
" }",
|
|
525
|
+
"}",
|
|
526
|
+
"```",
|
|
527
|
+
"",
|
|
528
|
+
"## Retention",
|
|
529
|
+
"```json",
|
|
530
|
+
"{",
|
|
531
|
+
" \"retention\": {",
|
|
532
|
+
" \"timeDimension\": \"Events.timestamp\",",
|
|
533
|
+
" \"bindingKey\": \"Events.userId\",",
|
|
534
|
+
" \"dateRange\": { \"start\": \"2024-01-01\", \"end\": \"2024-03-31\" },",
|
|
535
|
+
" \"granularity\": \"week\",",
|
|
536
|
+
" \"periods\": 8,",
|
|
537
|
+
" \"retentionType\": \"classic\",",
|
|
538
|
+
" \"breakdownDimensions\": [\"Events.country\"]",
|
|
539
|
+
" }",
|
|
540
|
+
"}",
|
|
541
|
+
"```",
|
|
542
|
+
"",
|
|
543
|
+
"### Filter operators",
|
|
544
|
+
"String: equals, notEquals, contains, notContains, startsWith, endsWith, like, ilike, regex",
|
|
545
|
+
"Numeric: gt, gte, lt, lte, between, notBetween",
|
|
546
|
+
"Set: in, notIn, set, notSet, isEmpty, isNotEmpty",
|
|
547
|
+
"Date: inDateRange, beforeDate, afterDate",
|
|
548
|
+
"",
|
|
549
|
+
"### Time handling",
|
|
550
|
+
"- Aggregated totals: use filters with inDateRange (NOT timeDimensions)",
|
|
551
|
+
"- Time series grouping: use timeDimensions with granularity",
|
|
552
|
+
"- Both can be combined: inDateRange filter + timeDimensions with granularity",
|
|
553
|
+
"- Period comparison: use compareDateRange in timeDimensions"
|
|
554
|
+
].join("\n")
|
|
555
|
+
}];
|
|
556
|
+
function z() {
|
|
557
|
+
return R;
|
|
558
|
+
}
|
|
559
|
+
function B() {
|
|
560
|
+
return L;
|
|
561
|
+
}
|
|
562
|
+
function V() {
|
|
563
|
+
return e();
|
|
564
|
+
}
|
|
565
|
+
function H(e) {
|
|
566
|
+
let t = B();
|
|
567
|
+
return typeof e == "function" ? e(t) : e ?? t;
|
|
568
|
+
}
|
|
569
|
+
function U(e) {
|
|
570
|
+
let t = z();
|
|
571
|
+
return typeof e == "function" ? e(t) : e ?? t;
|
|
572
|
+
}
|
|
573
|
+
function W(e) {
|
|
574
|
+
let t = V();
|
|
575
|
+
return typeof e == "function" ? e(t) : e ?? t;
|
|
576
|
+
}
|
|
577
|
+
function G(e) {
|
|
578
|
+
return {
|
|
579
|
+
uri: "drizzle-cube://schema",
|
|
580
|
+
name: "Cube Schema",
|
|
581
|
+
description: "Current cube metadata as JSON",
|
|
582
|
+
mimeType: "application/json",
|
|
583
|
+
text: JSON.stringify(e.getMetadata(), null, 2)
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
function K(e, t) {
|
|
587
|
+
let n = G(e);
|
|
588
|
+
return [...U(t).filter((e) => e.uri !== n.uri), n];
|
|
589
|
+
}
|
|
590
|
+
//#endregion
|
|
591
|
+
export { m as C, _ as S, M as _, S as a, b, y as c, B as d, z as f, C as g, p as h, x as i, O as l, j as m, c as n, K as o, u as p, h as r, N as s, l as t, v as u, W as v, g as x, H as y };
|