@undp/data-viz 1.5.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaChart.cjs +1 -1
- package/dist/AreaChart.cjs.map +1 -1
- package/dist/AreaChart.d.ts +1 -0
- package/dist/AreaChart.js +420 -520
- package/dist/AreaChart.js.map +1 -1
- package/dist/Axis-CRyfcLjc.js +32 -0
- package/dist/Axis-CRyfcLjc.js.map +1 -0
- package/dist/Axis-DxRV2yMi.cjs +2 -0
- package/dist/Axis-DxRV2yMi.cjs.map +1 -0
- package/dist/AxisTitle-jeI7am8o.js +29 -0
- package/dist/AxisTitle-jeI7am8o.js.map +1 -0
- package/dist/AxisTitle-sS5bLLR7.cjs +2 -0
- package/dist/AxisTitle-sS5bLLR7.cjs.map +1 -0
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +1 -0
- package/dist/BarGraph.js +2188 -4045
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.cjs.map +1 -1
- package/dist/BasicStatCard.d.ts +1 -0
- package/dist/BasicStatCard.js +120 -186
- package/dist/BasicStatCard.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.d.ts +5 -0
- package/dist/BeeSwarmChart.js +501 -1019
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.d.ts +3 -0
- package/dist/BiVariateChoroplethMap.js +458 -706
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.d.ts +1 -0
- package/dist/BulletChart.js +863 -1414
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.d.ts +1 -0
- package/dist/ButterflyChart.js +474 -684
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.d.ts +3 -0
- package/dist/ChoroplethMap.js +469 -731
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.d.ts +1 -0
- package/dist/CirclePackingGraph.js +5 -4
- package/dist/CirclePackingGraph.js.map +1 -1
- package/dist/ColorLegend.cjs +1 -1
- package/dist/ColorLegend.cjs.map +1 -1
- package/dist/ColorLegend.js +57 -44
- package/dist/ColorLegend.js.map +1 -1
- package/dist/ColorLegendWithMouseOver.cjs +1 -1
- package/dist/ColorLegendWithMouseOver.cjs.map +1 -1
- package/dist/ColorLegendWithMouseOver.js +60 -65
- package/dist/ColorLegendWithMouseOver.js.map +1 -1
- package/dist/Colors.cjs.map +1 -1
- package/dist/Colors.js +44 -430
- package/dist/Colors.js.map +1 -1
- package/dist/CopyTextButton.cjs +4 -4
- package/dist/CopyTextButton.cjs.map +1 -1
- package/dist/CopyTextButton.js +537 -455
- package/dist/CopyTextButton.js.map +1 -1
- package/dist/CsvDownloadButton.cjs +7 -7
- package/dist/CsvDownloadButton.cjs.map +1 -1
- package/dist/CsvDownloadButton.js +442 -447
- package/dist/CsvDownloadButton.js.map +1 -1
- package/dist/DataCards.cjs +5 -5
- package/dist/DataCards.cjs.map +1 -1
- package/dist/DataCards.d.ts +1 -0
- package/dist/DataCards.js +488 -581
- package/dist/DataCards.js.map +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.cjs.map +1 -1
- package/dist/DataTable.d.ts +1 -0
- package/dist/DataTable.js +183 -326
- package/dist/DataTable.js.map +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.d.ts +1 -0
- package/dist/DifferenceLineChart.js +729 -794
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.d.ts +1 -4
- package/dist/DonutChart.js +260 -444
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.d.ts +3 -0
- package/dist/DotDensityMap.js +388 -582
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/{DropdownSelect-CtOKZHD0.js → DropdownSelect-BbdPQa2k.js} +1401 -1374
- package/dist/DropdownSelect-BbdPQa2k.js.map +1 -0
- package/dist/DropdownSelect-Doz3mCrM.cjs +29 -0
- package/dist/DropdownSelect-Doz3mCrM.cjs.map +1 -0
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.d.ts +1 -0
- package/dist/DualAxisLineChart.js +617 -712
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.d.ts +1 -0
- package/dist/DumbbellChart.js +789 -1499
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/EmptyState-BZo1BbAn.js +15 -0
- package/dist/{EmptyState-DdTp-Mdn.js.map → EmptyState-BZo1BbAn.js.map} +1 -1
- package/dist/EmptyState-sAEZ_5rU.cjs +2 -0
- package/dist/{EmptyState-d8_8SxeW.cjs.map → EmptyState-sAEZ_5rU.cjs.map} +1 -1
- package/dist/ExcelDownloadButton.cjs +1 -1
- package/dist/ExcelDownloadButton.cjs.map +1 -1
- package/dist/ExcelDownloadButton.js +20 -24
- package/dist/ExcelDownloadButton.js.map +1 -1
- package/dist/FootNote.cjs +1 -1
- package/dist/FootNote.cjs.map +1 -1
- package/dist/FootNote.js +26 -17
- package/dist/FootNote.js.map +1 -1
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.cjs.map +1 -1
- package/dist/GeoHubCompareMaps.d.ts +1 -0
- package/dist/GeoHubCompareMaps.js +264 -354
- package/dist/GeoHubCompareMaps.js.map +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.cjs.map +1 -1
- package/dist/GeoHubMap.d.ts +1 -0
- package/dist/GeoHubMap.js +214 -409
- package/dist/GeoHubMap.js.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.d.ts +1 -0
- package/dist/GeoHubMapWithLayerSelection.js +192 -293
- package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
- package/dist/GraphContainer-CRqzdKu2.js +78 -0
- package/dist/GraphContainer-CRqzdKu2.js.map +1 -0
- package/dist/GraphContainer-d8A46BK2.cjs +2 -0
- package/dist/GraphContainer-d8A46BK2.cjs.map +1 -0
- package/dist/GraphDescription.cjs +1 -1
- package/dist/GraphDescription.cjs.map +1 -1
- package/dist/GraphDescription.js +23 -17
- package/dist/GraphDescription.js.map +1 -1
- package/dist/GraphEl-BkyLYXG5.cjs +2 -0
- package/dist/GraphEl-BkyLYXG5.cjs.map +1 -0
- package/dist/{GraphEl-CqWzvOyr.js → GraphEl-DzRon4cb.js} +184 -202
- package/dist/GraphEl-DzRon4cb.js.map +1 -0
- package/dist/GraphFooter.cjs +1 -1
- package/dist/GraphFooter.cjs.map +1 -1
- package/dist/GraphFooter.js +28 -18
- package/dist/GraphFooter.js.map +1 -1
- package/dist/GraphHeader.cjs +1 -1
- package/dist/GraphHeader.cjs.map +1 -1
- package/dist/GraphHeader.d.ts +2 -1
- package/dist/GraphHeader.js +45 -59
- package/dist/GraphHeader.js.map +1 -1
- package/dist/GraphTitle.cjs +1 -1
- package/dist/GraphTitle.cjs.map +1 -1
- package/dist/GraphTitle.js +29 -24
- package/dist/GraphTitle.js.map +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.cjs.map +1 -1
- package/dist/GriddedGraphs.d.ts +2 -0
- package/dist/GriddedGraphs.js +216 -450
- package/dist/GriddedGraphs.js.map +1 -1
- package/dist/GriddedGraphsFromConfig.cjs +1 -1
- package/dist/GriddedGraphsFromConfig.cjs.map +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +2 -0
- package/dist/GriddedGraphsFromConfig.js +22 -36
- package/dist/GriddedGraphsFromConfig.js.map +1 -1
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.d.ts +1 -0
- package/dist/HeatMap.js +278 -446
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.cjs.map +1 -1
- package/dist/Histogram.d.ts +1 -0
- package/dist/Histogram.js +154 -264
- package/dist/Histogram.js.map +1 -1
- package/dist/ImageDownloadButton.cjs +1 -1
- package/dist/ImageDownloadButton.cjs.map +1 -1
- package/dist/ImageDownloadButton.d.ts +2 -1
- package/dist/ImageDownloadButton.js +21 -25
- package/dist/ImageDownloadButton.js.map +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.d.ts +1 -0
- package/dist/LineChartWithConfidenceInterval.js +674 -825
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.cjs.map +1 -1
- package/dist/LinearColorLegend.js +49 -30
- package/dist/LinearColorLegend.js.map +1 -1
- package/dist/Modal-DGcuAHyK.js +1047 -0
- package/dist/Modal-DGcuAHyK.js.map +1 -0
- package/dist/Modal-JW_IExO3.cjs +46 -0
- package/dist/Modal-JW_IExO3.cjs.map +1 -0
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.cjs.map +1 -1
- package/dist/MultiGraphDashboard.d.ts +2 -0
- package/dist/MultiGraphDashboard.js +122 -290
- package/dist/MultiGraphDashboard.js.map +1 -1
- package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardFromConfig.cjs.map +1 -1
- package/dist/MultiGraphDashboardFromConfig.d.ts +2 -0
- package/dist/MultiGraphDashboardFromConfig.js +22 -31
- package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -0
- package/dist/MultiGraphDashboardWideToLongFormat.js +137 -223
- package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -0
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +25 -27
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.d.ts +1 -0
- package/dist/MultiLineAltChart.js +581 -659
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.d.ts +1 -0
- package/dist/MultiLineChart.js +617 -725
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.d.ts +1 -0
- package/dist/ParetoChart.js +531 -635
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +2 -0
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +147 -338
- package/dist/PerformanceIntensiveMultiGraphDashboard.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +2 -0
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +22 -31
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js.map +1 -1
- package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
- package/dist/PerformanceIntensiveScrollStory.cjs.map +1 -1
- package/dist/PerformanceIntensiveScrollStory.d.ts +2 -0
- package/dist/PerformanceIntensiveScrollStory.js +93 -114
- package/dist/PerformanceIntensiveScrollStory.js.map +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.d.ts +1 -0
- package/dist/RadarChart.js +426 -575
- package/dist/RadarChart.js.map +1 -1
- package/dist/ReferenceLine-2XCwHXQ4.js +162 -0
- package/dist/ReferenceLine-2XCwHXQ4.js.map +1 -0
- package/dist/ReferenceLine-BH0qdf4R.cjs +2 -0
- package/dist/ReferenceLine-BH0qdf4R.cjs.map +1 -0
- package/dist/RegressionLine-BOTTNSrr.cjs +2 -0
- package/dist/RegressionLine-BOTTNSrr.cjs.map +1 -0
- package/dist/RegressionLine-DAcY2DjT.js +87 -0
- package/dist/RegressionLine-DAcY2DjT.js.map +1 -0
- package/dist/SVGDownloadButton.cjs +1 -1
- package/dist/SVGDownloadButton.cjs.map +1 -1
- package/dist/SVGDownloadButton.js +21 -25
- package/dist/SVGDownloadButton.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.d.ts +1 -0
- package/dist/SankeyChart.js +665 -854
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.d.ts +1 -0
- package/dist/ScatterPlot.js +675 -815
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.cjs +1 -1
- package/dist/ScrollStory.cjs.map +1 -1
- package/dist/ScrollStory.d.ts +2 -0
- package/dist/ScrollStory.js +85 -97
- package/dist/ScrollStory.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.d.ts +1 -0
- package/dist/SimpleLineChart.js +504 -613
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.cjs.map +1 -1
- package/dist/SingleGraphDashboard.d.ts +3 -1
- package/dist/SingleGraphDashboard.js +279 -507
- package/dist/SingleGraphDashboard.js.map +1 -1
- package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardFromConfig.cjs.map +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +3 -1
- package/dist/SingleGraphDashboardFromConfig.js +25 -31
- package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +2 -0
- package/dist/SingleGraphDashboardGeoHubMaps.js +146 -168
- package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +2 -0
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +25 -21
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +2 -0
- package/dist/SingleGraphDashboardThreeDGraphs.js +356 -589
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +2 -0
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +25 -31
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js.map +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.d.ts +1 -0
- package/dist/SlopeChart.js +539 -573
- package/dist/SlopeChart.js.map +1 -1
- package/dist/Source-DYMJRrsq.cjs +2 -0
- package/dist/Source-DYMJRrsq.cjs.map +1 -0
- package/dist/Source-DwTHB8fn.js +78 -0
- package/dist/Source-DwTHB8fn.js.map +1 -0
- package/dist/Source.cjs +1 -1
- package/dist/Source.cjs.map +1 -1
- package/dist/Source.js +4 -38
- package/dist/Source.js.map +1 -1
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.cjs.map +1 -1
- package/dist/SparkLine.d.ts +1 -0
- package/dist/SparkLine.js +286 -314
- package/dist/SparkLine.js.map +1 -1
- package/dist/Spinner-D7rnnwnA.js +47 -0
- package/dist/Spinner-D7rnnwnA.js.map +1 -0
- package/dist/Spinner-DRMBUsX7.cjs +2 -0
- package/dist/Spinner-DRMBUsX7.cjs.map +1 -0
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.cjs.map +1 -1
- package/dist/StatCardFromData.d.ts +1 -0
- package/dist/StatCardFromData.js +163 -243
- package/dist/StatCardFromData.js.map +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.d.ts +1 -0
- package/dist/StripChart.js +665 -983
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.d.ts +3 -0
- package/dist/ThreeDGlobe.js +355 -526
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.js +96 -126
- package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
- package/dist/Tooltip-4dJo4_AF.cjs +2 -0
- package/dist/Tooltip-4dJo4_AF.cjs.map +1 -0
- package/dist/Tooltip-CwWUegPB.js +43 -0
- package/dist/Tooltip-CwWUegPB.js.map +1 -0
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.d.ts +1 -0
- package/dist/TreeMapGraph.js +479 -617
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +2 -0
- package/dist/Typography-DX7PlgQU.cjs +2 -0
- package/dist/Typography-DX7PlgQU.cjs.map +1 -0
- package/dist/Typography-PxtFcnJb.js +142 -0
- package/dist/Typography-PxtFcnJb.js.map +1 -0
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.cjs.map +1 -1
- package/dist/UnitChart.d.ts +1 -0
- package/dist/UnitChart.js +160 -212
- package/dist/UnitChart.js.map +1 -1
- package/dist/XAxesLabels-D5X8jngD.cjs +2 -0
- package/dist/XAxesLabels-D5X8jngD.cjs.map +1 -0
- package/dist/XAxesLabels-DNO0KmjL.js +73 -0
- package/dist/XAxesLabels-DNO0KmjL.js.map +1 -0
- package/dist/XTicksAndGridLines-B6CELS7q.cjs +2 -0
- package/dist/XTicksAndGridLines-B6CELS7q.cjs.map +1 -0
- package/dist/XTicksAndGridLines-CObVFSm4.js +38 -0
- package/dist/XTicksAndGridLines-CObVFSm4.js.map +1 -0
- package/dist/YAxesLabels-DcS85Beo.cjs +2 -0
- package/dist/YAxesLabels-DcS85Beo.cjs.map +1 -0
- package/dist/YAxesLabels-Dnnng49-.js +70 -0
- package/dist/YAxesLabels-Dnnng49-.js.map +1 -0
- package/dist/YTicksAndGridLines-4pxTRlRK.cjs +2 -0
- package/dist/YTicksAndGridLines-4pxTRlRK.cjs.map +1 -0
- package/dist/YTicksAndGridLines-Blepl7XF.js +38 -0
- package/dist/YTicksAndGridLines-Blepl7XF.js.map +1 -0
- package/dist/{band-BEjh2CHI.js → band-CyHaVft5.js} +3 -3
- package/dist/{band-BEjh2CHI.js.map → band-CyHaVft5.js.map} +1 -1
- package/dist/{band-CAApY4Pd.cjs → band-VYfcZeJ2.cjs} +2 -2
- package/dist/{band-CAApY4Pd.cjs.map → band-VYfcZeJ2.cjs.map} +1 -1
- package/dist/checkIfMultiple-Y9iKaV_u.js +950 -0
- package/dist/checkIfMultiple-Y9iKaV_u.js.map +1 -0
- package/dist/checkIfMultiple-wg6hJLXy.cjs +12 -0
- package/dist/checkIfMultiple-wg6hJLXy.cjs.map +1 -0
- package/dist/customArea-BUhPiPT6.js +163 -0
- package/dist/{customArea-B-dWU0zZ.js.map → customArea-BUhPiPT6.js.map} +1 -1
- package/dist/customArea-CMF5g-C3.cjs +2 -0
- package/dist/{customArea-CK768gCn.cjs.map → customArea-CMF5g-C3.cjs.map} +1 -1
- package/dist/delaunay-C1uAf38t.js.map +1 -1
- package/dist/delaunay-rcy0HhZi.cjs.map +1 -1
- package/dist/{ensureCompleteData-DlmibgaI.js → ensureCompleteData-DNKEGRiP.js} +12 -32
- package/dist/{ensureCompleteData-DlmibgaI.js.map → ensureCompleteData-DNKEGRiP.js.map} +1 -1
- package/dist/{ensureCompleteData-DkQYPeDa.cjs → ensureCompleteData-I6nYmT8E.cjs} +2 -2
- package/dist/{ensureCompleteData-DkQYPeDa.cjs.map → ensureCompleteData-I6nYmT8E.cjs.map} +1 -1
- package/dist/{excelDownload-BOA-lskf.js → excelDownload-BEC1AyQW.js} +12 -2
- package/dist/{excelDownload-BOA-lskf.js.map → excelDownload-BEC1AyQW.js.map} +1 -1
- package/dist/excelDownload-BQpsCa62.cjs.map +1 -1
- package/dist/{fetchAndParseData-sapWbnYk.js → fetchAndParseData-BpqkBPQL.js} +15 -28
- package/dist/{fetchAndParseData-sapWbnYk.js.map → fetchAndParseData-BpqkBPQL.js.map} +1 -1
- package/dist/fetchAndParseData-l5HGMAEs.cjs +16 -0
- package/dist/{fetchAndParseData-Ba-_CgxS.cjs.map → fetchAndParseData-l5HGMAEs.cjs.map} +1 -1
- package/dist/fetchAndParseData.cjs +1 -1
- package/dist/fetchAndParseData.js +1 -1
- package/dist/{filterData-9nEcQ-Jp.js → filterData-DsAiFzKY.js} +3 -5
- package/dist/{filterData-9nEcQ-Jp.js.map → filterData-DsAiFzKY.js.map} +1 -1
- package/dist/{filterData-BoYadk0l.cjs → filterData-T5DQBE9b.cjs} +2 -2
- package/dist/{filterData-BoYadk0l.cjs.map → filterData-T5DQBE9b.cjs.map} +1 -1
- package/dist/generateRandomString-B5zBiJzS.cjs.map +1 -1
- package/dist/generateRandomString-za3IQGfQ.js.map +1 -1
- package/dist/{getCentroidCoordinates-Dfk6IqEG.js → getCentroidCoordinates-D7r34N4w.js} +2 -2
- package/dist/{getCentroidCoordinates-Dfk6IqEG.js.map → getCentroidCoordinates-D7r34N4w.js.map} +1 -1
- package/dist/{getCentroidCoordinates-DxTBqzp2.cjs → getCentroidCoordinates-Dng1HVjO.cjs} +2 -2
- package/dist/{getCentroidCoordinates-DxTBqzp2.cjs.map → getCentroidCoordinates-Dng1HVjO.cjs.map} +1 -1
- package/dist/getGraphList-BpEWn1Tk.js +227 -0
- package/dist/{getGraphList-DuColTJM.js.map → getGraphList-BpEWn1Tk.js.map} +1 -1
- package/dist/getGraphList-gf02xgT2.cjs.map +1 -1
- package/dist/getJenks-BbngDoBQ.js.map +1 -1
- package/dist/getJenks-GYmdwBqm.cjs.map +1 -1
- package/dist/getSchema.cjs.map +1 -1
- package/dist/getSchema.js +445 -231
- package/dist/getSchema.js.map +1 -1
- package/dist/getSliderMarks-BmADcPQt.cjs +6 -0
- package/dist/getSliderMarks-BmADcPQt.cjs.map +1 -0
- package/dist/getSliderMarks-HIDJ0_Cd.js +1033 -0
- package/dist/getSliderMarks-HIDJ0_Cd.js.map +1 -0
- package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js → getTextColorBasedOnBgColor-CDY808zi.js} +11 -3
- package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js.map → getTextColorBasedOnBgColor-CDY808zi.js.map} +1 -1
- package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs.map +1 -1
- package/dist/{getUniqValue-DiCh_MOD.js → getUniqValue-BKHCm3zE.js} +2 -4
- package/dist/{getUniqValue-DiCh_MOD.js.map → getUniqValue-BKHCm3zE.js.map} +1 -1
- package/dist/getUniqValue-RViz8tTw.cjs.map +1 -1
- package/dist/{imageDownload-Dcci2LEy.js → imageDownload-BX6SILNZ.js} +4 -2
- package/dist/{imageDownload-Dcci2LEy.js.map → imageDownload-BX6SILNZ.js.map} +1 -1
- package/dist/imageDownload-CgDcm1Sj.cjs.map +1 -1
- package/dist/{index-DvVprvy6.js → index-BZQYSqar.js} +7 -7
- package/dist/{index-DvVprvy6.js.map → index-BZQYSqar.js.map} +1 -1
- package/dist/index-B_sAFsEV.cjs +2 -0
- package/dist/{index-BYzIB5V6.cjs.map → index-B_sAFsEV.cjs.map} +1 -1
- package/dist/index-BqfRwk1n.js +146 -0
- package/dist/index-BqfRwk1n.js.map +1 -0
- package/dist/{index-V_JXij1_.js → index-BuwmuDFJ.js} +3 -3
- package/dist/{index-V_JXij1_.js.map → index-BuwmuDFJ.js.map} +1 -1
- package/dist/index-CHPV5EwG-CTPQjnHt.cjs +84 -0
- package/dist/index-CHPV5EwG-CTPQjnHt.cjs.map +1 -0
- package/dist/{index-CHPV5EwG-BPSP-7Jg.js → index-CHPV5EwG-Curnpaqc.js} +937 -842
- package/dist/index-CHPV5EwG-Curnpaqc.js.map +1 -0
- package/dist/index-Cno4Q0YE.cjs +2 -0
- package/dist/{index-CQ3e6Ewi.cjs.map → index-Cno4Q0YE.cjs.map} +1 -1
- package/dist/{index-tvAyXPPW-DBlMKnNB.js → index-Cw8sCyo_-B2hEKjzG.js} +16 -16
- package/dist/{index-tvAyXPPW-DBlMKnNB.js.map → index-Cw8sCyo_-B2hEKjzG.js.map} +1 -1
- package/dist/index-Cw8sCyo_-BrHiWiRF.cjs +2 -0
- package/dist/index-Cw8sCyo_-BrHiWiRF.cjs.map +1 -0
- package/dist/index-CyZ1lmi_.cjs +2 -0
- package/dist/{index-D72cOtq7.cjs.map → index-CyZ1lmi_.cjs.map} +1 -1
- package/dist/index-D491FEn1.js +184 -0
- package/dist/index-D491FEn1.js.map +1 -0
- package/dist/index-DG2bgAva.cjs +10 -0
- package/dist/index-DG2bgAva.cjs.map +1 -0
- package/dist/index-DRXx7m-C.cjs +2 -0
- package/dist/index-DRXx7m-C.cjs.map +1 -0
- package/dist/index-DoY3Ga3W.cjs +2 -0
- package/dist/index-DoY3Ga3W.cjs.map +1 -0
- package/dist/index-DxXnJ8Ti.cjs +2 -0
- package/dist/index-DxXnJ8Ti.cjs.map +1 -0
- package/dist/{index-DG3YrCr5-D3FrrXj8.js → index-Dzc_aaI9-Bb7gobH_.js} +2 -2
- package/dist/{index-DG3YrCr5-D3FrrXj8.js.map → index-Dzc_aaI9-Bb7gobH_.js.map} +1 -1
- package/dist/{index-DG3YrCr5-v7rayV3N.cjs → index-Dzc_aaI9-BmkfPMyc.cjs} +2 -2
- package/dist/{index-DG3YrCr5-v7rayV3N.cjs.map → index-Dzc_aaI9-BmkfPMyc.cjs.map} +1 -1
- package/dist/{index-9tDEUqOZ.js → index-GEsywGxz.js} +9 -9
- package/dist/index-GEsywGxz.js.map +1 -0
- package/dist/index-SKgJALZg.js +99 -0
- package/dist/{index-DKCxu1Gh.js.map → index-SKgJALZg.js.map} +1 -1
- package/dist/index-leTnKT2q.js +329 -0
- package/dist/index-leTnKT2q.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +19 -8
- package/dist/index.js +13 -13
- package/dist/{init-BhZylTFx.js → init-BJFW6EwE.js} +3 -3
- package/dist/{init-BhZylTFx.js.map → init-BJFW6EwE.js.map} +1 -1
- package/dist/{linear-BVckp9RD.cjs → linear-BwPAspcq.cjs} +2 -2
- package/dist/{linear-BVckp9RD.cjs.map → linear-BwPAspcq.cjs.map} +1 -1
- package/dist/{linear-DUdu7l2G.js → linear-BwnDd9KF.js} +3 -3
- package/dist/{linear-DUdu7l2G.js.map → linear-BwnDd9KF.js.map} +1 -1
- package/dist/numberFormattingFunction-02t-wJta.cjs.map +1 -1
- package/dist/numberFormattingFunction-14YCbkN2.js.map +1 -1
- package/dist/{ordinal-BOeNbyae.cjs → ordinal-CrsysVE-.cjs} +2 -2
- package/dist/ordinal-CrsysVE-.cjs.map +1 -0
- package/dist/{ordinal-w9Lu4Stb.js → ordinal-P77xw8aL.js} +24 -24
- package/dist/ordinal-P77xw8aL.js.map +1 -0
- package/dist/{pow-e8zx3AQJ.js → pow-DE4c7dbW.js} +3 -3
- package/dist/{pow-e8zx3AQJ.js.map → pow-DE4c7dbW.js.map} +1 -1
- package/dist/{pow-B5-jkdHU.cjs → pow-DgrUorRi.cjs} +2 -2
- package/dist/{pow-B5-jkdHU.cjs.map → pow-DgrUorRi.cjs.map} +1 -1
- package/dist/{proxy-CkpFesk1.js → proxy-BxkFHwUw.js} +144 -134
- package/dist/proxy-BxkFHwUw.js.map +1 -0
- package/dist/proxy-BxvUI_9l.cjs +2 -0
- package/dist/proxy-BxvUI_9l.cjs.map +1 -0
- package/dist/{removeOutliers-DR48e-18.js → removeOutliers-BqW0sPqj.js} +2 -5
- package/dist/{removeOutliers-DR48e-18.js.map → removeOutliers-BqW0sPqj.js.map} +1 -1
- package/dist/removeOutliers-WELHHqiI.cjs.map +1 -1
- package/dist/{sort-DfK1b0F5.js → sort-BIvMlUH1.js} +5 -5
- package/dist/{sort-DfK1b0F5.js.map → sort-BIvMlUH1.js.map} +1 -1
- package/dist/{string-CRoCZCYa.cjs → string-C-kRh1bQ.cjs} +2 -2
- package/dist/{string-CRoCZCYa.cjs.map → string-C-kRh1bQ.cjs.map} +1 -1
- package/dist/{string-B8KlVSPX.js → string-C_xJ4Wg4.js} +3 -3
- package/dist/{string-B8KlVSPX.js.map → string-C_xJ4Wg4.js.map} +1 -1
- package/dist/string2HTML-CPGr_I5E.cjs +3 -0
- package/dist/{string2HTML-z7CwHXcx.cjs.map → string2HTML-CPGr_I5E.cjs.map} +1 -1
- package/dist/{string2HTML-oFCROsus.js → string2HTML-DhG75NqA.js} +15 -9
- package/dist/{string2HTML-oFCROsus.js.map → string2HTML-DhG75NqA.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{svgDownload-C2-E3yf2.js → svgDownload-BAoarWNt.js} +4 -2
- package/dist/{svgDownload-C2-E3yf2.js.map → svgDownload-BAoarWNt.js.map} +1 -1
- package/dist/svgDownload-D9zEGjTF.cjs.map +1 -1
- package/dist/{threshold-DFfqcDMa.js → threshold-Bgr20hik.js} +2 -2
- package/dist/{threshold-DFfqcDMa.js.map → threshold-Bgr20hik.js.map} +1 -1
- package/dist/{time-Byw_jYQ7.cjs → time-CZd5YLSP.cjs} +2 -2
- package/dist/{time-Byw_jYQ7.cjs.map → time-CZd5YLSP.cjs.map} +1 -1
- package/dist/{time-BzJP5SPC.js → time-DCCfQk3V.js} +3 -3
- package/dist/{time-BzJP5SPC.js.map → time-DCCfQk3V.js.map} +1 -1
- package/dist/transformData.cjs +1 -1
- package/dist/transformData.js +3 -3
- package/dist/transformDataForAggregation-CE3bAlHU.js +585 -0
- package/dist/{transformDataForAggregation-sBpdlX8n.js.map → transformDataForAggregation-CE3bAlHU.js.map} +1 -1
- package/dist/transformDataForAggregation-KXGm6flX.cjs.map +1 -1
- package/dist/transformDataForGraphFromFile-BExxcITV.js +14 -0
- package/dist/{transformDataForGraphFromFile-ComYvzuz.js.map → transformDataForGraphFromFile-BExxcITV.js.map} +1 -1
- package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs → transformDataForGraphFromFile-DaJHQCsL.cjs} +2 -2
- package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs.map → transformDataForGraphFromFile-DaJHQCsL.cjs.map} +1 -1
- package/dist/transformDataForSelect-D8AuvYdf.js.map +1 -1
- package/dist/transformDataForSelect-YmStusCI.cjs.map +1 -1
- package/dist/uniqBy-BHy4I8PK.js.map +1 -1
- package/dist/uniqBy-O05lp2S5.cjs.map +1 -1
- package/dist/{use-in-view-yS6jzJAp.js → use-in-view-Cxa7y1TH.js} +2 -2
- package/dist/use-in-view-Cxa7y1TH.js.map +1 -0
- package/dist/use-in-view-QcfiW0w3.cjs +2 -0
- package/dist/use-in-view-QcfiW0w3.cjs.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +8 -8
- package/dist/validateSchema.cjs.map +1 -1
- package/dist/validateSchema.js +33 -29
- package/dist/validateSchema.js.map +1 -1
- package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs → x-BBpi7a_7-mTo40uId.cjs} +2 -2
- package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs.map → x-BBpi7a_7-mTo40uId.cjs.map} +1 -1
- package/dist/{y-D0sAaVii.js → y-BqfogMAB.js} +3 -3
- package/dist/{y-D0sAaVii.js.map → y-BqfogMAB.js.map} +1 -1
- package/dist/{zoom-QipiAl5W.js → zoom-C9MFjAaV.js} +5 -5
- package/dist/{zoom-QipiAl5W.js.map → zoom-C9MFjAaV.js.map} +1 -1
- package/dist/zoom-DPw8bba-.cjs +2 -0
- package/dist/{zoom-BiMNsz72.cjs.map → zoom-DPw8bba-.cjs.map} +1 -1
- package/package.json +9 -8
- package/dist/Axis-DE7dSn1_.cjs +0 -2
- package/dist/Axis-DE7dSn1_.cjs.map +0 -1
- package/dist/Axis-Ddg-seDi.js +0 -43
- package/dist/Axis-Ddg-seDi.js.map +0 -1
- package/dist/AxisTitle-BmHLMRJZ.js +0 -20
- package/dist/AxisTitle-BmHLMRJZ.js.map +0 -1
- package/dist/AxisTitle-CK9YeovX.cjs +0 -2
- package/dist/AxisTitle-CK9YeovX.cjs.map +0 -1
- package/dist/DropdownSelect-CtOKZHD0.js.map +0 -1
- package/dist/DropdownSelect-DBDM64B5.cjs +0 -29
- package/dist/DropdownSelect-DBDM64B5.cjs.map +0 -1
- package/dist/EmptyState-DdTp-Mdn.js +0 -22
- package/dist/EmptyState-d8_8SxeW.cjs +0 -2
- package/dist/GraphEl-C6yjl1VM.cjs +0 -2
- package/dist/GraphEl-C6yjl1VM.cjs.map +0 -1
- package/dist/GraphEl-CqWzvOyr.js.map +0 -1
- package/dist/Modal-DVVwpKhP.js +0 -1019
- package/dist/Modal-DVVwpKhP.js.map +0 -1
- package/dist/Modal-tXZlLE5s.cjs +0 -46
- package/dist/Modal-tXZlLE5s.cjs.map +0 -1
- package/dist/ReferenceLine-CFVBBN__.cjs +0 -2
- package/dist/ReferenceLine-CFVBBN__.cjs.map +0 -1
- package/dist/ReferenceLine-CfAW3vKJ.js +0 -128
- package/dist/ReferenceLine-CfAW3vKJ.js.map +0 -1
- package/dist/RegressionLine-C2--oMQq.js +0 -49
- package/dist/RegressionLine-C2--oMQq.js.map +0 -1
- package/dist/RegressionLine-Dj0GSiAp.cjs +0 -2
- package/dist/RegressionLine-Dj0GSiAp.cjs.map +0 -1
- package/dist/Spinner-C85UF28E.js +0 -30
- package/dist/Spinner-C85UF28E.js.map +0 -1
- package/dist/Spinner-DA6Z5E4n.cjs +0 -2
- package/dist/Spinner-DA6Z5E4n.cjs.map +0 -1
- package/dist/Tooltip-CVCGWyzw.js +0 -46
- package/dist/Tooltip-CVCGWyzw.js.map +0 -1
- package/dist/Tooltip-De16GWhY.cjs +0 -2
- package/dist/Tooltip-De16GWhY.cjs.map +0 -1
- package/dist/Typography-Ctgfl1J5.js +0 -140
- package/dist/Typography-Ctgfl1J5.js.map +0 -1
- package/dist/Typography-k-kOjICQ.cjs +0 -2
- package/dist/Typography-k-kOjICQ.cjs.map +0 -1
- package/dist/XAxesLabels-Drf7M3YK.cjs +0 -2
- package/dist/XAxesLabels-Drf7M3YK.cjs.map +0 -1
- package/dist/XAxesLabels-loO78vUO.js +0 -57
- package/dist/XAxesLabels-loO78vUO.js.map +0 -1
- package/dist/XTicksAndGridLines-Bn9u5gOM.js +0 -56
- package/dist/XTicksAndGridLines-Bn9u5gOM.js.map +0 -1
- package/dist/XTicksAndGridLines-CCzXIV8d.cjs +0 -2
- package/dist/XTicksAndGridLines-CCzXIV8d.cjs.map +0 -1
- package/dist/YAxesLabels-DECkMgq8.js +0 -52
- package/dist/YAxesLabels-DECkMgq8.js.map +0 -1
- package/dist/YAxesLabels-yRFFdx1s.cjs +0 -2
- package/dist/YAxesLabels-yRFFdx1s.cjs.map +0 -1
- package/dist/YTicksAndGridLines-B6ah7CRf.js +0 -56
- package/dist/YTicksAndGridLines-B6ah7CRf.js.map +0 -1
- package/dist/YTicksAndGridLines-DBDuz6vb.cjs +0 -2
- package/dist/YTicksAndGridLines-DBDuz6vb.cjs.map +0 -1
- package/dist/checkIfMultiple-BXbHUCWM.cjs +0 -12
- package/dist/checkIfMultiple-BXbHUCWM.cjs.map +0 -1
- package/dist/checkIfMultiple-ChTJk2Tk.js +0 -912
- package/dist/checkIfMultiple-ChTJk2Tk.js.map +0 -1
- package/dist/customArea-B-dWU0zZ.js +0 -175
- package/dist/customArea-CK768gCn.cjs +0 -2
- package/dist/fetchAndParseData-Ba-_CgxS.cjs +0 -16
- package/dist/getGraphList-DuColTJM.js +0 -265
- package/dist/getSliderMarks-9cNoRkDx.js +0 -1023
- package/dist/getSliderMarks-9cNoRkDx.js.map +0 -1
- package/dist/getSliderMarks-CRIbTGYV.cjs +0 -6
- package/dist/getSliderMarks-CRIbTGYV.cjs.map +0 -1
- package/dist/index-37q0ULNQ.js +0 -430
- package/dist/index-37q0ULNQ.js.map +0 -1
- package/dist/index-9tDEUqOZ.js.map +0 -1
- package/dist/index-BW8iNx7E.cjs +0 -10
- package/dist/index-BW8iNx7E.cjs.map +0 -1
- package/dist/index-BW_-wD2k.cjs +0 -2
- package/dist/index-BW_-wD2k.cjs.map +0 -1
- package/dist/index-BYzIB5V6.cjs +0 -2
- package/dist/index-BmCqpO1B.js +0 -342
- package/dist/index-BmCqpO1B.js.map +0 -1
- package/dist/index-CHPV5EwG-BPSP-7Jg.js.map +0 -1
- package/dist/index-CHPV5EwG-DDoeWRVt.cjs +0 -44
- package/dist/index-CHPV5EwG-DDoeWRVt.cjs.map +0 -1
- package/dist/index-CNvov0eg.js +0 -122
- package/dist/index-CNvov0eg.js.map +0 -1
- package/dist/index-CQ3e6Ewi.cjs +0 -2
- package/dist/index-CVlCtJbC.cjs +0 -2
- package/dist/index-CVlCtJbC.cjs.map +0 -1
- package/dist/index-CoZbeNM9.cjs +0 -2
- package/dist/index-CoZbeNM9.cjs.map +0 -1
- package/dist/index-D72cOtq7.cjs +0 -2
- package/dist/index-DKCxu1Gh.js +0 -77
- package/dist/index-tvAyXPPW-DPOG-C2i.cjs +0 -2
- package/dist/index-tvAyXPPW-DPOG-C2i.cjs.map +0 -1
- package/dist/ordinal-BOeNbyae.cjs.map +0 -1
- package/dist/ordinal-w9Lu4Stb.js.map +0 -1
- package/dist/proxy-BHRoeZgd.cjs +0 -2
- package/dist/proxy-BHRoeZgd.cjs.map +0 -1
- package/dist/proxy-CkpFesk1.js.map +0 -1
- package/dist/string2HTML-z7CwHXcx.cjs +0 -3
- package/dist/transformDataForAggregation-sBpdlX8n.js +0 -755
- package/dist/transformDataForGraphFromFile-ComYvzuz.js +0 -24
- package/dist/use-in-view-sQJZ_xDO.cjs +0 -2
- package/dist/use-in-view-sQJZ_xDO.cjs.map +0 -1
- package/dist/use-in-view-yS6jzJAp.js.map +0 -1
- package/dist/zoom-BiMNsz72.cjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext as vt, useRef as Wt, useLayoutEffect as yr, useEffect as Ue, useContext as I, useId as vr, useCallback as Is, useMemo as Jt, Fragment as Os, createElement as Tr, useInsertionEffect as xr, forwardRef as Pr, Component as br } from "react";
|
|
2
|
-
import { j as ye } from "./index-CHPV5EwG-
|
|
2
|
+
import { j as ye } from "./index-CHPV5EwG-Curnpaqc.js";
|
|
3
3
|
const js = vt({});
|
|
4
4
|
function Sr(t) {
|
|
5
5
|
const e = Wt(null);
|
|
@@ -36,7 +36,7 @@ function _e(t) {
|
|
|
36
36
|
let e;
|
|
37
37
|
return () => (e === void 0 && (e = t()), e);
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const $ = /* @__NO_SIDE_EFFECTS__ */ (t) => t, Ar = (t, e) => (n) => e(t(n)), Bt = (...t) => t.reduce(Ar), Ct = /* @__NO_SIDE_EFFECTS__ */ (t, e, n) => {
|
|
40
40
|
const s = e - t;
|
|
41
41
|
return s === 0 ? 1 : (n - t) / s;
|
|
42
42
|
};
|
|
@@ -65,7 +65,7 @@ class He {
|
|
|
65
65
|
this.subscriptions.length = 0;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
const
|
|
68
|
+
const _ = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, W = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3;
|
|
69
69
|
function Ws(t, e) {
|
|
70
70
|
return e ? t * (1e3 / e) : 0;
|
|
71
71
|
}
|
|
@@ -73,22 +73,22 @@ const Sn = /* @__PURE__ */ new Set();
|
|
|
73
73
|
function ze(t, e, n) {
|
|
74
74
|
t || Sn.has(e) || (console.warn(ve(e, n)), Sn.add(e));
|
|
75
75
|
}
|
|
76
|
-
const $s = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, Vr = 1e-7,
|
|
77
|
-
function
|
|
76
|
+
const $s = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, Vr = 1e-7, Dr = 12;
|
|
77
|
+
function Mr(t, e, n, s, i) {
|
|
78
78
|
let o, r, a = 0;
|
|
79
79
|
do
|
|
80
80
|
r = e + (n - e) / 2, o = $s(r, s, i) - t, o > 0 ? n = r : e = r;
|
|
81
|
-
while (Math.abs(o) > Vr && ++a <
|
|
81
|
+
while (Math.abs(o) > Vr && ++a < Dr);
|
|
82
82
|
return r;
|
|
83
83
|
}
|
|
84
84
|
function It(t, e, n, s) {
|
|
85
85
|
if (t === e && n === s)
|
|
86
|
-
return
|
|
87
|
-
const i = (o) =>
|
|
86
|
+
return $;
|
|
87
|
+
const i = (o) => Mr(o, 0, 1, t, n);
|
|
88
88
|
return (o) => o === 0 || o === 1 ? o : $s(i(o), e, s);
|
|
89
89
|
}
|
|
90
90
|
const Gs = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, _s = (t) => (e) => 1 - t(1 - e), Hs = /* @__PURE__ */ It(0.33, 1.53, 0.69, 0.99), Ye = /* @__PURE__ */ _s(Hs), zs = /* @__PURE__ */ Gs(Ye), Ys = (t) => (t *= 2) < 1 ? 0.5 * Ye(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Xe = (t) => 1 - Math.sin(Math.acos(t)), Xs = _s(Xe), qs = Gs(Xe), Cr = /* @__PURE__ */ It(0.42, 0, 1, 1), Er = /* @__PURE__ */ It(0, 0, 0.58, 1), Zs = /* @__PURE__ */ It(0.42, 0, 0.58, 1), Rr = (t) => Array.isArray(t) && typeof t[0] != "number", Js = (t) => Array.isArray(t) && typeof t[0] == "number", wn = {
|
|
91
|
-
linear:
|
|
91
|
+
linear: $,
|
|
92
92
|
easeIn: Cr,
|
|
93
93
|
easeInOut: Zs,
|
|
94
94
|
easeOut: Er,
|
|
@@ -184,7 +184,7 @@ function Qs(t, e) {
|
|
|
184
184
|
r[Nt[S]].cancel(g);
|
|
185
185
|
}, state: i, steps: r };
|
|
186
186
|
}
|
|
187
|
-
const { schedule: A, cancel: Z, state: L, steps: ne } = /* @__PURE__ */ Qs(typeof requestAnimationFrame < "u" ? requestAnimationFrame :
|
|
187
|
+
const { schedule: A, cancel: Z, state: L, steps: ne } = /* @__PURE__ */ Qs(typeof requestAnimationFrame < "u" ? requestAnimationFrame : $, !0);
|
|
188
188
|
let $t;
|
|
189
189
|
function Br() {
|
|
190
190
|
$t = void 0;
|
|
@@ -263,7 +263,7 @@ const Te = {
|
|
|
263
263
|
function _r(t) {
|
|
264
264
|
return isNaN(t) && typeof t == "string" && (t.match(Je)?.length || 0) + (t.match(Gr)?.length || 0) > 0;
|
|
265
265
|
}
|
|
266
|
-
const ni = "number", si = "color", Hr = "var", zr = "var(",
|
|
266
|
+
const ni = "number", si = "color", Hr = "var", zr = "var(", Dn = "${}", Yr = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
267
267
|
function Rt(t) {
|
|
268
268
|
const e = t.toString(), n = [], s = {
|
|
269
269
|
color: [],
|
|
@@ -271,7 +271,7 @@ function Rt(t) {
|
|
|
271
271
|
var: []
|
|
272
272
|
}, i = [];
|
|
273
273
|
let o = 0;
|
|
274
|
-
const a = e.replace(Yr, (l) => (C.test(l) ? (s.color.push(o), i.push(si), n.push(C.parse(l))) : l.startsWith(zr) ? (s.var.push(o), i.push(Hr), n.push(l)) : (s.number.push(o), i.push(ni), n.push(parseFloat(l))), ++o,
|
|
274
|
+
const a = e.replace(Yr, (l) => (C.test(l) ? (s.color.push(o), i.push(si), n.push(C.parse(l))) : l.startsWith(zr) ? (s.var.push(o), i.push(Hr), n.push(l)) : (s.number.push(o), i.push(ni), n.push(parseFloat(l))), ++o, Dn)).split(Dn);
|
|
275
275
|
return { values: n, split: a, indexes: s, types: i };
|
|
276
276
|
}
|
|
277
277
|
function ii(t) {
|
|
@@ -322,11 +322,11 @@ function Zr({ hue: t, saturation: e, lightness: n, alpha: s }) {
|
|
|
322
322
|
function zt(t, e) {
|
|
323
323
|
return (n) => n > 0 ? e : t;
|
|
324
324
|
}
|
|
325
|
-
const
|
|
325
|
+
const D = (t, e, n) => t + (e - t) * n, re = (t, e, n) => {
|
|
326
326
|
const s = t * t, i = n * (e * e - s) + s;
|
|
327
327
|
return i < 0 ? 0 : Math.sqrt(i);
|
|
328
328
|
}, Jr = [Te, st, ut], Qr = (t) => Jr.find((e) => e.test(t));
|
|
329
|
-
function
|
|
329
|
+
function Mn(t) {
|
|
330
330
|
const e = Qr(t);
|
|
331
331
|
if (Tt(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !e)
|
|
332
332
|
return !1;
|
|
@@ -334,17 +334,17 @@ function Dn(t) {
|
|
|
334
334
|
return e === ut && (n = Zr(n)), n;
|
|
335
335
|
}
|
|
336
336
|
const Cn = (t, e) => {
|
|
337
|
-
const n =
|
|
337
|
+
const n = Mn(t), s = Mn(e);
|
|
338
338
|
if (!n || !s)
|
|
339
339
|
return zt(t, e);
|
|
340
340
|
const i = { ...n };
|
|
341
|
-
return (o) => (i.red = re(n.red, s.red, o), i.green = re(n.green, s.green, o), i.blue = re(n.blue, s.blue, o), i.alpha =
|
|
341
|
+
return (o) => (i.red = re(n.red, s.red, o), i.green = re(n.green, s.green, o), i.blue = re(n.blue, s.blue, o), i.alpha = D(n.alpha, s.alpha, o), st.transform(i));
|
|
342
342
|
}, xe = /* @__PURE__ */ new Set(["none", "hidden"]);
|
|
343
343
|
function to(t, e) {
|
|
344
344
|
return xe.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
|
|
345
345
|
}
|
|
346
346
|
function eo(t, e) {
|
|
347
|
-
return (n) =>
|
|
347
|
+
return (n) => D(t, e, n);
|
|
348
348
|
}
|
|
349
349
|
function tn(t) {
|
|
350
350
|
return typeof t == "number" ? eo : typeof t == "string" ? Ze(t) ? zt : C.test(t) ? Cn : io : Array.isArray(t) ? oi : typeof t == "object" ? C.test(t) ? Cn : no : zt;
|
|
@@ -380,7 +380,7 @@ const io = (t, e) => {
|
|
|
380
380
|
return s.indexes.var.length === i.indexes.var.length && s.indexes.color.length === i.indexes.color.length && s.indexes.number.length >= i.indexes.number.length ? xe.has(t) && !i.values.length || xe.has(e) && !s.values.length ? to(t, e) : Bt(oi(so(s, i), i.values), n) : (Tt(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), zt(t, e));
|
|
381
381
|
};
|
|
382
382
|
function ai(t, e, n) {
|
|
383
|
-
return typeof t == "number" && typeof e == "number" && typeof n == "number" ?
|
|
383
|
+
return typeof t == "number" && typeof e == "number" && typeof n == "number" ? D(t, e, n) : tn(t)(t, e);
|
|
384
384
|
}
|
|
385
385
|
const ro = (t) => {
|
|
386
386
|
const e = ({ timestamp: n }) => t(n);
|
|
@@ -413,7 +413,7 @@ function oo(t, e = 100, n) {
|
|
|
413
413
|
return {
|
|
414
414
|
type: "keyframes",
|
|
415
415
|
ease: (o) => s.next(i * o).value / e,
|
|
416
|
-
duration: /* @__PURE__ */
|
|
416
|
+
duration: /* @__PURE__ */ W(i)
|
|
417
417
|
};
|
|
418
418
|
}
|
|
419
419
|
const ao = 5;
|
|
@@ -452,9 +452,9 @@ const V = {
|
|
|
452
452
|
}, oe = 1e-3;
|
|
453
453
|
function lo({ duration: t = V.duration, bounce: e = V.bounce, velocity: n = V.velocity, mass: s = V.mass }) {
|
|
454
454
|
let i, o;
|
|
455
|
-
Tt(t <= /* @__PURE__ */
|
|
455
|
+
Tt(t <= /* @__PURE__ */ _(V.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
456
456
|
let r = 1 - e;
|
|
457
|
-
r = z(V.minDamping, V.maxDamping, r), t = z(V.minDuration, V.maxDuration, /* @__PURE__ */
|
|
457
|
+
r = z(V.minDamping, V.maxDamping, r), t = z(V.minDuration, V.maxDuration, /* @__PURE__ */ W(t)), r < 1 ? (i = (c) => {
|
|
458
458
|
const u = c * r, h = u * t, f = u - n, d = Pe(c, r), m = Math.exp(-h);
|
|
459
459
|
return oe - f / d * m;
|
|
460
460
|
}, o = (c) => {
|
|
@@ -468,7 +468,7 @@ function lo({ duration: t = V.duration, bounce: e = V.bounce, velocity: n = V.ve
|
|
|
468
468
|
return u * h;
|
|
469
469
|
});
|
|
470
470
|
const a = 5 / t, l = co(i, o, a);
|
|
471
|
-
if (t = /* @__PURE__ */
|
|
471
|
+
if (t = /* @__PURE__ */ _(t), isNaN(l))
|
|
472
472
|
return {
|
|
473
473
|
stiffness: V.stiffness,
|
|
474
474
|
damping: V.damping,
|
|
@@ -534,8 +534,8 @@ function Xt(t = V.visualDuration, e = V.bounce) {
|
|
|
534
534
|
let { restSpeed: s, restDelta: i } = n;
|
|
535
535
|
const o = n.keyframes[0], r = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: o }, { stiffness: l, damping: c, mass: u, duration: h, velocity: f, isResolvedFromDuration: d } = mo({
|
|
536
536
|
...n,
|
|
537
|
-
velocity: -/* @__PURE__ */
|
|
538
|
-
}), m = f || 0, v = c / (2 * Math.sqrt(l * u)), y = r - o, p = /* @__PURE__ */
|
|
537
|
+
velocity: -/* @__PURE__ */ W(n.velocity || 0)
|
|
538
|
+
}), m = f || 0, v = c / (2 * Math.sqrt(l * u)), y = r - o, p = /* @__PURE__ */ W(Math.sqrt(l / u)), T = Math.abs(y) < 5;
|
|
539
539
|
s || (s = T ? V.restSpeed.granular : V.restSpeed.default), i || (i = T ? V.restDelta.granular : V.restDelta.default);
|
|
540
540
|
let g;
|
|
541
541
|
if (v < 1) {
|
|
@@ -561,7 +561,7 @@ function Xt(t = V.visualDuration, e = V.bounce) {
|
|
|
561
561
|
a.done = P >= h;
|
|
562
562
|
else {
|
|
563
563
|
let E = P === 0 ? m : 0;
|
|
564
|
-
v < 1 && (E = P === 0 ? /* @__PURE__ */
|
|
564
|
+
v < 1 && (E = P === 0 ? /* @__PURE__ */ _(m) : ui(g, P, w));
|
|
565
565
|
const b = Math.abs(E) <= s, B = Math.abs(r - w) <= i;
|
|
566
566
|
a.done = b && B;
|
|
567
567
|
}
|
|
@@ -578,7 +578,7 @@ function Xt(t = V.visualDuration, e = V.bounce) {
|
|
|
578
578
|
}
|
|
579
579
|
Xt.applyToOptions = (t) => {
|
|
580
580
|
const e = oo(t, 100, Xt);
|
|
581
|
-
return t.ease = e.ease, t.duration = /* @__PURE__ */
|
|
581
|
+
return t.ease = e.ease, t.duration = /* @__PURE__ */ _(e.duration), t.type = "keyframes", t;
|
|
582
582
|
};
|
|
583
583
|
function be({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: s = 325, bounceDamping: i = 10, bounceStiffness: o = 500, modifyTarget: r, min: a, max: l, restDelta: c = 0.5, restSpeed: u }) {
|
|
584
584
|
const h = t[0], f = {
|
|
@@ -617,7 +617,7 @@ function po(t, e, n) {
|
|
|
617
617
|
for (let r = 0; r < o; r++) {
|
|
618
618
|
let a = i(t[r], t[r + 1]);
|
|
619
619
|
if (e) {
|
|
620
|
-
const l = Array.isArray(e) ? e[r] ||
|
|
620
|
+
const l = Array.isArray(e) ? e[r] || $ : e;
|
|
621
621
|
a = Bt(l, a);
|
|
622
622
|
}
|
|
623
623
|
s.push(a);
|
|
@@ -648,7 +648,7 @@ function yo(t, e) {
|
|
|
648
648
|
const n = t[t.length - 1];
|
|
649
649
|
for (let s = 1; s <= e; s++) {
|
|
650
650
|
const i = /* @__PURE__ */ Ct(0, e, s);
|
|
651
|
-
t.push(
|
|
651
|
+
t.push(D(n, 1, i));
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
function vo(t) {
|
|
@@ -775,13 +775,17 @@ class rn extends sn {
|
|
|
775
775
|
return this.finished.then(e, n);
|
|
776
776
|
}
|
|
777
777
|
get duration() {
|
|
778
|
-
return /* @__PURE__ */
|
|
778
|
+
return /* @__PURE__ */ W(this.calculatedDuration);
|
|
779
|
+
}
|
|
780
|
+
get iterationDuration() {
|
|
781
|
+
const { delay: e = 0 } = this.options || {};
|
|
782
|
+
return this.duration + /* @__PURE__ */ W(e);
|
|
779
783
|
}
|
|
780
784
|
get time() {
|
|
781
|
-
return /* @__PURE__ */
|
|
785
|
+
return /* @__PURE__ */ W(this.currentTime);
|
|
782
786
|
}
|
|
783
787
|
set time(e) {
|
|
784
|
-
e = /* @__PURE__ */
|
|
788
|
+
e = /* @__PURE__ */ _(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver?.start(!1);
|
|
785
789
|
}
|
|
786
790
|
get speed() {
|
|
787
791
|
return this.playbackSpeed;
|
|
@@ -789,7 +793,7 @@ class rn extends sn {
|
|
|
789
793
|
set speed(e) {
|
|
790
794
|
this.updateTime(O.now());
|
|
791
795
|
const n = this.playbackSpeed !== e;
|
|
792
|
-
this.playbackSpeed = e, n && (this.time = /* @__PURE__ */
|
|
796
|
+
this.playbackSpeed = e, n && (this.time = /* @__PURE__ */ W(this.currentTime));
|
|
793
797
|
}
|
|
794
798
|
play() {
|
|
795
799
|
if (this.isStopped)
|
|
@@ -878,14 +882,14 @@ function Ve(t, e) {
|
|
|
878
882
|
}
|
|
879
883
|
if (!i)
|
|
880
884
|
return Ae(e);
|
|
881
|
-
const o = s[e], r = i[1].split(",").map(
|
|
885
|
+
const o = s[e], r = i[1].split(",").map(Mo);
|
|
882
886
|
return typeof o == "function" ? o(r) : r[o];
|
|
883
887
|
}
|
|
884
|
-
const
|
|
888
|
+
const Do = (t, e) => {
|
|
885
889
|
const { transform: n = "none" } = getComputedStyle(t);
|
|
886
890
|
return Ve(n, e);
|
|
887
891
|
};
|
|
888
|
-
function
|
|
892
|
+
function Mo(t) {
|
|
889
893
|
return parseFloat(t.trim());
|
|
890
894
|
}
|
|
891
895
|
const Pt = [
|
|
@@ -929,9 +933,9 @@ const rt = {
|
|
|
929
933
|
rt.translateX = rt.x;
|
|
930
934
|
rt.translateY = rt.y;
|
|
931
935
|
const ot = /* @__PURE__ */ new Set();
|
|
932
|
-
let
|
|
936
|
+
let De = !1, Me = !1, Ce = !1;
|
|
933
937
|
function hi() {
|
|
934
|
-
if (
|
|
938
|
+
if (Me) {
|
|
935
939
|
const t = Array.from(ot).filter((s) => s.needsMeasurement), e = new Set(t.map((s) => s.element)), n = /* @__PURE__ */ new Map();
|
|
936
940
|
e.forEach((s) => {
|
|
937
941
|
const i = Ro(s);
|
|
@@ -946,11 +950,11 @@ function hi() {
|
|
|
946
950
|
s.suspendedScrollY !== void 0 && window.scrollTo(0, s.suspendedScrollY);
|
|
947
951
|
});
|
|
948
952
|
}
|
|
949
|
-
|
|
953
|
+
Me = !1, De = !1, ot.forEach((t) => t.complete(Ce)), ot.clear();
|
|
950
954
|
}
|
|
951
955
|
function fi() {
|
|
952
956
|
ot.forEach((t) => {
|
|
953
|
-
t.readKeyframes(), t.needsMeasurement && (
|
|
957
|
+
t.readKeyframes(), t.needsMeasurement && (Me = !0);
|
|
954
958
|
});
|
|
955
959
|
}
|
|
956
960
|
function Lo() {
|
|
@@ -961,7 +965,7 @@ class on {
|
|
|
961
965
|
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = s, this.motionValue = i, this.element = o, this.isAsync = r;
|
|
962
966
|
}
|
|
963
967
|
scheduleResolve() {
|
|
964
|
-
this.state = "scheduled", this.isAsync ? (ot.add(this),
|
|
968
|
+
this.state = "scheduled", this.isAsync ? (ot.add(this), De || (De = !0, A.read(fi), A.resolveKeyframes(hi))) : (this.readKeyframes(), this.complete());
|
|
965
969
|
}
|
|
966
970
|
readKeyframes() {
|
|
967
971
|
const { unresolvedKeyframes: e, name: n, element: s, motionValue: i } = this;
|
|
@@ -1103,13 +1107,17 @@ class Uo extends sn {
|
|
|
1103
1107
|
}
|
|
1104
1108
|
get duration() {
|
|
1105
1109
|
const e = this.animation.effect?.getComputedTiming?.().duration || 0;
|
|
1106
|
-
return /* @__PURE__ */
|
|
1110
|
+
return /* @__PURE__ */ W(Number(e));
|
|
1111
|
+
}
|
|
1112
|
+
get iterationDuration() {
|
|
1113
|
+
const { delay: e = 0 } = this.options || {};
|
|
1114
|
+
return this.duration + /* @__PURE__ */ W(e);
|
|
1107
1115
|
}
|
|
1108
1116
|
get time() {
|
|
1109
|
-
return /* @__PURE__ */
|
|
1117
|
+
return /* @__PURE__ */ W(Number(this.animation.currentTime) || 0);
|
|
1110
1118
|
}
|
|
1111
1119
|
set time(e) {
|
|
1112
|
-
this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */
|
|
1120
|
+
this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ _(e);
|
|
1113
1121
|
}
|
|
1114
1122
|
/**
|
|
1115
1123
|
* The playback speed of the animation.
|
|
@@ -1134,7 +1142,7 @@ class Uo extends sn {
|
|
|
1134
1142
|
* Attaches a timeline to the animation, for instance the `ScrollTimeline`.
|
|
1135
1143
|
*/
|
|
1136
1144
|
attachTimeline({ timeline: e, observe: n }) {
|
|
1137
|
-
return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Bo() ? (this.animation.timeline = e,
|
|
1145
|
+
return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Bo() ? (this.animation.timeline = e, $) : n(this);
|
|
1138
1146
|
}
|
|
1139
1147
|
}
|
|
1140
1148
|
const gi = {
|
|
@@ -1172,7 +1180,7 @@ class $o extends Uo {
|
|
|
1172
1180
|
const a = new rn({
|
|
1173
1181
|
...r,
|
|
1174
1182
|
autoplay: !1
|
|
1175
|
-
}), l = /* @__PURE__ */
|
|
1183
|
+
}), l = /* @__PURE__ */ _(this.finishedTime ?? this.time);
|
|
1176
1184
|
n.setWithVelocity(a.sample(l - In).value, a.sample(l).value, In), a.stop();
|
|
1177
1185
|
}
|
|
1178
1186
|
}
|
|
@@ -1197,7 +1205,7 @@ function _o(t, e, n, s) {
|
|
|
1197
1205
|
return Tt(r === a, `You are trying to animate ${e} from "${i}" to "${o}". "${r ? o : i}" is not an animatable value.`, "value-not-animatable"), !r || !a ? !1 : Go(t) || (n === "spring" || pi(n)) && s;
|
|
1198
1206
|
}
|
|
1199
1207
|
function Ee(t) {
|
|
1200
|
-
t.duration = 0, t.type;
|
|
1208
|
+
t.duration = 0, t.type = "keyframes";
|
|
1201
1209
|
}
|
|
1202
1210
|
const Ho = /* @__PURE__ */ new Set([
|
|
1203
1211
|
"opacity",
|
|
@@ -1251,7 +1259,7 @@ class qo extends sn {
|
|
|
1251
1259
|
...f,
|
|
1252
1260
|
element: f.motionValue.owner.current
|
|
1253
1261
|
}) : new rn(f);
|
|
1254
|
-
d.finished.then(() => this.notifyFinished()).catch(
|
|
1262
|
+
d.finished.then(() => this.notifyFinished()).catch($), this.pendingTimeline && (this.stopTimeline = d.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = d;
|
|
1255
1263
|
}
|
|
1256
1264
|
get finished() {
|
|
1257
1265
|
return this._animation ? this.animation.finished : this._finished;
|
|
@@ -1266,6 +1274,9 @@ class qo extends sn {
|
|
|
1266
1274
|
get duration() {
|
|
1267
1275
|
return this.animation.duration;
|
|
1268
1276
|
}
|
|
1277
|
+
get iterationDuration() {
|
|
1278
|
+
return this.animation.iterationDuration;
|
|
1279
|
+
}
|
|
1269
1280
|
get time() {
|
|
1270
1281
|
return this.animation.time;
|
|
1271
1282
|
}
|
|
@@ -1731,18 +1742,18 @@ class da {
|
|
|
1731
1742
|
function gt(t, e) {
|
|
1732
1743
|
return new da(t, e);
|
|
1733
1744
|
}
|
|
1734
|
-
const { schedule: un } = /* @__PURE__ */ Qs(queueMicrotask, !1),
|
|
1745
|
+
const { schedule: un } = /* @__PURE__ */ Qs(queueMicrotask, !1), G = {
|
|
1735
1746
|
x: !1,
|
|
1736
1747
|
y: !1
|
|
1737
1748
|
};
|
|
1738
1749
|
function wi() {
|
|
1739
|
-
return
|
|
1750
|
+
return G.x || G.y;
|
|
1740
1751
|
}
|
|
1741
1752
|
function ma(t) {
|
|
1742
|
-
return t === "x" || t === "y" ?
|
|
1743
|
-
|
|
1744
|
-
}) :
|
|
1745
|
-
|
|
1753
|
+
return t === "x" || t === "y" ? G[t] ? null : (G[t] = !0, () => {
|
|
1754
|
+
G[t] = !1;
|
|
1755
|
+
}) : G.x || G.y ? null : (G.x = G.y = !0, () => {
|
|
1756
|
+
G.x = G.y = !1;
|
|
1746
1757
|
});
|
|
1747
1758
|
}
|
|
1748
1759
|
function Ai(t, e) {
|
|
@@ -1828,13 +1839,13 @@ function Ta(t, e, n = {}) {
|
|
|
1828
1839
|
(n.useGlobalTarget ? window : a).addEventListener("pointerdown", r, i), ha(a) && (a.addEventListener("focus", (c) => va(c, i)), !ya(a) && !a.hasAttribute("tabindex") && (a.tabIndex = 0));
|
|
1829
1840
|
}), o;
|
|
1830
1841
|
}
|
|
1831
|
-
function
|
|
1842
|
+
function Di(t) {
|
|
1832
1843
|
return Us(t) && "ownerSVGElement" in t;
|
|
1833
1844
|
}
|
|
1834
1845
|
function xa(t) {
|
|
1835
|
-
return
|
|
1846
|
+
return Di(t) && t.tagName === "svg";
|
|
1836
1847
|
}
|
|
1837
|
-
const k = (t) => !!(t && t.getVelocity), Pa = [...xi, C, J], ba = (t) => Pa.find(Ti(t)),
|
|
1848
|
+
const k = (t) => !!(t && t.getVelocity), Pa = [...xi, C, J], ba = (t) => Pa.find(Ti(t)), Mi = vt({
|
|
1838
1849
|
transformPagePoint: (t) => t,
|
|
1839
1850
|
isStatic: !1,
|
|
1840
1851
|
reducedMotion: "never"
|
|
@@ -1925,7 +1936,7 @@ try {
|
|
|
1925
1936
|
Va(require("@emotion/is-prop-valid").default);
|
|
1926
1937
|
} catch {
|
|
1927
1938
|
}
|
|
1928
|
-
function
|
|
1939
|
+
function Da(t, e, n) {
|
|
1929
1940
|
const s = {};
|
|
1930
1941
|
for (const i in t)
|
|
1931
1942
|
i === "values" && typeof t.values == "object" || (Ei(i) || n === !0 && qt(i) || !e && !qt(i) || // If trying to use native HTML drag events, forward drag listeners
|
|
@@ -1954,7 +1965,7 @@ function ee(t) {
|
|
|
1954
1965
|
function Ri(t) {
|
|
1955
1966
|
return !!(ee(t) || t.variants);
|
|
1956
1967
|
}
|
|
1957
|
-
function
|
|
1968
|
+
function Ma(t, e) {
|
|
1958
1969
|
if (ee(t)) {
|
|
1959
1970
|
const { initial: n, animate: s } = t;
|
|
1960
1971
|
return {
|
|
@@ -1965,7 +1976,7 @@ function Da(t, e) {
|
|
|
1965
1976
|
return t.inherit !== !1 ? e : {};
|
|
1966
1977
|
}
|
|
1967
1978
|
function Ca(t) {
|
|
1968
|
-
const { initial: e, animate: n } =
|
|
1979
|
+
const { initial: e, animate: n } = Ma(t, I(Qt));
|
|
1969
1980
|
return Jt(() => ({ initial: e, animate: n }), [_n(e), _n(n)]);
|
|
1970
1981
|
}
|
|
1971
1982
|
function _n(t) {
|
|
@@ -2147,7 +2158,7 @@ function pn(t) {
|
|
|
2147
2158
|
);
|
|
2148
2159
|
}
|
|
2149
2160
|
function Wa(t, e, n, { latestValues: s }, i, o = !1) {
|
|
2150
|
-
const a = (pn(t) ? Ua : Ia)(e, s, i, t), l =
|
|
2161
|
+
const a = (pn(t) ? Ua : Ia)(e, s, i, t), l = Da(e, typeof t == "string", o), c = t !== Os ? { ...l, ...a, ref: n } : {}, { children: u } = e, h = Jt(() => k(u) ? u.get() : u, [u]);
|
|
2151
2162
|
return Tr(t, {
|
|
2152
2163
|
...c,
|
|
2153
2164
|
children: h
|
|
@@ -2246,16 +2257,15 @@ function Ya(t, e, n) {
|
|
|
2246
2257
|
s && t.onMount && t.onMount(s), e && (s ? e.mount(s) : e.unmount()), n && (typeof n == "function" ? n(s) : ht(n) && (n.current = s));
|
|
2247
2258
|
},
|
|
2248
2259
|
/**
|
|
2249
|
-
*
|
|
2250
|
-
*
|
|
2251
|
-
* or other dependencies change.
|
|
2260
|
+
* Include externalRef in dependencies to ensure the callback updates
|
|
2261
|
+
* when the ref changes, allowing proper ref forwarding.
|
|
2252
2262
|
*/
|
|
2253
2263
|
[e]
|
|
2254
2264
|
);
|
|
2255
2265
|
}
|
|
2256
2266
|
const vn = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Xa = "framerAppearId", Ni = "data-" + vn(Xa), Ui = vt({});
|
|
2257
2267
|
function qa(t, e, n, s, i) {
|
|
2258
|
-
const { visualElement: o } = I(Qt), r = I(Ci), a = I(We), l = I(
|
|
2268
|
+
const { visualElement: o } = I(Qt), r = I(Ci), a = I(We), l = I(Mi).reducedMotion, c = Wt(null);
|
|
2259
2269
|
s = s || r.renderer, !c.current && s && (c.current = s(t, {
|
|
2260
2270
|
visualState: e,
|
|
2261
2271
|
parent: o,
|
|
@@ -2310,7 +2320,7 @@ function le(t, { forwardMotionProps: e = !1 } = {}, n, s) {
|
|
|
2310
2320
|
function o(a, l) {
|
|
2311
2321
|
let c;
|
|
2312
2322
|
const u = {
|
|
2313
|
-
...I(
|
|
2323
|
+
...I(Mi),
|
|
2314
2324
|
...a,
|
|
2315
2325
|
layoutId: Ja(a)
|
|
2316
2326
|
}, { isStatic: h } = u, f = Ca(a), d = i(a, h);
|
|
@@ -2428,7 +2438,7 @@ function ft(t, e) {
|
|
|
2428
2438
|
t.min = t.min + e, t.max = t.max + e;
|
|
2429
2439
|
}
|
|
2430
2440
|
function Zn(t, e, n, s, i = 0.5) {
|
|
2431
|
-
const o =
|
|
2441
|
+
const o = D(t.min, t.max, i);
|
|
2432
2442
|
ke(t, e, n, o, s);
|
|
2433
2443
|
}
|
|
2434
2444
|
function dt(t, e) {
|
|
@@ -2449,7 +2459,7 @@ const Jn = () => ({
|
|
|
2449
2459
|
}), mt = () => ({
|
|
2450
2460
|
x: Jn(),
|
|
2451
2461
|
y: Jn()
|
|
2452
|
-
}), Qn = () => ({ min: 0, max: 0 }),
|
|
2462
|
+
}), Qn = () => ({ min: 0, max: 0 }), M = () => ({
|
|
2453
2463
|
x: Qn(),
|
|
2454
2464
|
y: Qn()
|
|
2455
2465
|
}), Fe = { current: null }, Hi = { current: !1 };
|
|
@@ -2573,7 +2583,7 @@ class ul {
|
|
|
2573
2583
|
* removed with a re-render to work.
|
|
2574
2584
|
*/
|
|
2575
2585
|
measureViewportBox() {
|
|
2576
|
-
return this.current ? this.measureInstanceViewportBox(this.current, this.props) :
|
|
2586
|
+
return this.current ? this.measureInstanceViewportBox(this.current, this.props) : M();
|
|
2577
2587
|
}
|
|
2578
2588
|
getStaticValue(e) {
|
|
2579
2589
|
return this.latestValues[e];
|
|
@@ -2732,7 +2742,7 @@ class hl extends zi {
|
|
|
2732
2742
|
}
|
|
2733
2743
|
readValueFromInstance(e, n) {
|
|
2734
2744
|
if (bt.has(n))
|
|
2735
|
-
return this.projection?.isProjecting ? Ae(n) :
|
|
2745
|
+
return this.projection?.isProjecting ? Ae(n) : Do(e, n);
|
|
2736
2746
|
{
|
|
2737
2747
|
const s = cl(e), i = (qe(n) ? s.getPropertyValue(n) : s[n]) || 0;
|
|
2738
2748
|
return typeof i == "string" ? i.trim() : i;
|
|
@@ -2780,7 +2790,7 @@ function fl(t, e, n, s) {
|
|
|
2780
2790
|
}
|
|
2781
2791
|
class dl extends zi {
|
|
2782
2792
|
constructor() {
|
|
2783
|
-
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox =
|
|
2793
|
+
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = M;
|
|
2784
2794
|
}
|
|
2785
2795
|
getBaseTargetFromProps(e, n) {
|
|
2786
2796
|
return e[n];
|
|
@@ -2872,7 +2882,7 @@ function Vl({ when: t, delay: e, delayChildren: n, staggerChildren: s, staggerDi
|
|
|
2872
2882
|
const Tn = (t, e, n, s = {}, i, o) => (r) => {
|
|
2873
2883
|
const a = an(s, t) || {}, l = a.delay || s.delay || 0;
|
|
2874
2884
|
let { elapsed: c = 0 } = s;
|
|
2875
|
-
c = c - /* @__PURE__ */
|
|
2885
|
+
c = c - /* @__PURE__ */ _(l);
|
|
2876
2886
|
const u = {
|
|
2877
2887
|
keyframes: Array.isArray(n) ? n : [null, n],
|
|
2878
2888
|
ease: "easeOut",
|
|
@@ -2889,7 +2899,7 @@ const Tn = (t, e, n, s = {}, i, o) => (r) => {
|
|
|
2889
2899
|
motionValue: e,
|
|
2890
2900
|
element: o ? void 0 : i
|
|
2891
2901
|
};
|
|
2892
|
-
Vl(a) || Object.assign(u, Al(t, u)), u.duration && (u.duration = /* @__PURE__ */
|
|
2902
|
+
Vl(a) || Object.assign(u, Al(t, u)), u.duration && (u.duration = /* @__PURE__ */ _(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ _(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
|
|
2893
2903
|
let h = !1;
|
|
2894
2904
|
if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Ee(u), u.delay === 0 && (h = !0)), (X.instantAnimations || X.skipAnimations) && (h = !0, Ee(u), u.delay = 0), u.allowFlatten = !a.type && !a.ease, h && !o && e.get() !== void 0) {
|
|
2895
2905
|
const f = xl(u.keyframes, a);
|
|
@@ -2902,7 +2912,7 @@ const Tn = (t, e, n, s = {}, i, o) => (r) => {
|
|
|
2902
2912
|
}
|
|
2903
2913
|
return a.isSync ? new rn(u) : new qo(u);
|
|
2904
2914
|
};
|
|
2905
|
-
function
|
|
2915
|
+
function Dl({ protectedKeys: t, needsAnimating: e }, n) {
|
|
2906
2916
|
const s = t.hasOwnProperty(n) && e[n] !== !0;
|
|
2907
2917
|
return e[n] = !1, s;
|
|
2908
2918
|
}
|
|
@@ -2912,7 +2922,7 @@ function Zi(t, e, { delay: n = 0, transitionOverride: s, type: i } = {}) {
|
|
|
2912
2922
|
const l = [], c = i && t.animationState && t.animationState.getState()[i];
|
|
2913
2923
|
for (const u in a) {
|
|
2914
2924
|
const h = t.getValue(u, t.latestValues[u] ?? null), f = a[u];
|
|
2915
|
-
if (f === void 0 || c &&
|
|
2925
|
+
if (f === void 0 || c && Dl(c, u))
|
|
2916
2926
|
continue;
|
|
2917
2927
|
const d = {
|
|
2918
2928
|
delay: n,
|
|
@@ -2948,7 +2958,7 @@ function Oe(t, e, n = {}) {
|
|
|
2948
2958
|
n.transitionOverride && (i = n.transitionOverride);
|
|
2949
2959
|
const o = s ? () => Promise.all(Zi(t, s, n)) : () => Promise.resolve(), r = t.variantChildren && t.variantChildren.size ? (l = 0) => {
|
|
2950
2960
|
const { delayChildren: c = 0, staggerChildren: u, staggerDirection: h } = i;
|
|
2951
|
-
return
|
|
2961
|
+
return Ml(t, e, l, c, u, h, n);
|
|
2952
2962
|
} : () => Promise.resolve(), { when: a } = i;
|
|
2953
2963
|
if (a) {
|
|
2954
2964
|
const [l, c] = a === "beforeChildren" ? [o, r] : [r, o];
|
|
@@ -2956,7 +2966,7 @@ function Oe(t, e, n = {}) {
|
|
|
2956
2966
|
} else
|
|
2957
2967
|
return Promise.all([o(), r(n.delay)]);
|
|
2958
2968
|
}
|
|
2959
|
-
function
|
|
2969
|
+
function Ml(t, e, n = 0, s = 0, i = 0, o = 1, r) {
|
|
2960
2970
|
const a = [];
|
|
2961
2971
|
for (const l of t.variantChildren)
|
|
2962
2972
|
l.notify("AnimationStart", e), a.push(Oe(l, e, {
|
|
@@ -3104,7 +3114,7 @@ function Fl(t) {
|
|
|
3104
3114
|
setAnimateFunction: o,
|
|
3105
3115
|
getState: () => n,
|
|
3106
3116
|
reset: () => {
|
|
3107
|
-
n = es()
|
|
3117
|
+
n = es();
|
|
3108
3118
|
}
|
|
3109
3119
|
};
|
|
3110
3120
|
}
|
|
@@ -3218,9 +3228,9 @@ function _l(t, e, n) {
|
|
|
3218
3228
|
return Math.abs(t - e) <= n;
|
|
3219
3229
|
}
|
|
3220
3230
|
function ns(t, e, n, s = 0.5) {
|
|
3221
|
-
t.origin = s, t.originPoint =
|
|
3231
|
+
t.origin = s, t.originPoint = D(e.min, e.max, t.origin), t.scale = F(n) / F(e), t.translate = D(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Kl && t.scale <= Wl || isNaN(t.scale)) && (t.scale = 1), (t.translate >= $l && t.translate <= Gl || isNaN(t.translate)) && (t.translate = 0);
|
|
3222
3232
|
}
|
|
3223
|
-
function
|
|
3233
|
+
function Dt(t, e, n, s) {
|
|
3224
3234
|
ns(t.x, e.x, n.x, s ? s.originX : void 0), ns(t.y, e.y, n.y, s ? s.originY : void 0);
|
|
3225
3235
|
}
|
|
3226
3236
|
function ss(t, e, n) {
|
|
@@ -3232,7 +3242,7 @@ function Hl(t, e, n) {
|
|
|
3232
3242
|
function is(t, e, n) {
|
|
3233
3243
|
t.min = e.min - n.min, t.max = t.min + F(e);
|
|
3234
3244
|
}
|
|
3235
|
-
function
|
|
3245
|
+
function Mt(t, e, n) {
|
|
3236
3246
|
is(t.x, e.x, n.x), is(t.y, e.y, n.y);
|
|
3237
3247
|
}
|
|
3238
3248
|
function K(t) {
|
|
@@ -3304,11 +3314,11 @@ function Xl(t, e) {
|
|
|
3304
3314
|
return { x: 0, y: 0 };
|
|
3305
3315
|
let n = t.length - 1, s = null;
|
|
3306
3316
|
const i = rr(t);
|
|
3307
|
-
for (; n >= 0 && (s = t[n], !(i.timestamp - s.timestamp > /* @__PURE__ */
|
|
3317
|
+
for (; n >= 0 && (s = t[n], !(i.timestamp - s.timestamp > /* @__PURE__ */ _(e))); )
|
|
3308
3318
|
n--;
|
|
3309
3319
|
if (!s)
|
|
3310
3320
|
return { x: 0, y: 0 };
|
|
3311
|
-
const o = /* @__PURE__ */
|
|
3321
|
+
const o = /* @__PURE__ */ W(i.timestamp - s.timestamp);
|
|
3312
3322
|
if (o === 0)
|
|
3313
3323
|
return { x: 0, y: 0 };
|
|
3314
3324
|
const r = {
|
|
@@ -3318,7 +3328,7 @@ function Xl(t, e) {
|
|
|
3318
3328
|
return r.x === 1 / 0 && (r.x = 0), r.y === 1 / 0 && (r.y = 0), r;
|
|
3319
3329
|
}
|
|
3320
3330
|
function ql(t, { min: e, max: n }, s) {
|
|
3321
|
-
return e !== void 0 && t < e ? t = s ?
|
|
3331
|
+
return e !== void 0 && t < e ? t = s ? D(e, t, s.min) : Math.max(t, e) : n !== void 0 && t > n && (t = s ? D(n, t, s.max) : Math.min(t, n)), t;
|
|
3322
3332
|
}
|
|
3323
3333
|
function as(t, e, n) {
|
|
3324
3334
|
return {
|
|
@@ -3370,7 +3380,7 @@ function cs(t, e) {
|
|
|
3370
3380
|
const nu = /* @__PURE__ */ new WeakMap();
|
|
3371
3381
|
class su {
|
|
3372
3382
|
constructor(e) {
|
|
3373
|
-
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic =
|
|
3383
|
+
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = M(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
|
|
3374
3384
|
}
|
|
3375
3385
|
start(e, { snapToCursor: n = !1, distanceThreshold: s } = {}) {
|
|
3376
3386
|
const { presenceContext: i } = this.visualElement;
|
|
@@ -3528,7 +3538,7 @@ class su {
|
|
|
3528
3538
|
const { projection: i } = this.visualElement, o = this.getAxisMotionValue(n);
|
|
3529
3539
|
if (i && i.layout) {
|
|
3530
3540
|
const { min: r, max: a } = i.layout.layoutBox[n];
|
|
3531
|
-
o.set(e[n] -
|
|
3541
|
+
o.set(e[n] - D(r, a, 0.5));
|
|
3532
3542
|
}
|
|
3533
3543
|
});
|
|
3534
3544
|
}
|
|
@@ -3557,7 +3567,7 @@ class su {
|
|
|
3557
3567
|
if (!Kt(r, e, null))
|
|
3558
3568
|
return;
|
|
3559
3569
|
const a = this.getAxisMotionValue(r), { min: l, max: c } = this.constraints[r];
|
|
3560
|
-
a.set(
|
|
3570
|
+
a.set(D(l, c, i[r]));
|
|
3561
3571
|
});
|
|
3562
3572
|
}
|
|
3563
3573
|
addListeners() {
|
|
@@ -3572,12 +3582,12 @@ class su {
|
|
|
3572
3582
|
ht(l) && l.current && (this.constraints = this.resolveRefConstraints());
|
|
3573
3583
|
}, { projection: i } = this.visualElement, o = i.addEventListener("measure", s);
|
|
3574
3584
|
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), A.read(s);
|
|
3575
|
-
const r = Ft(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
|
|
3585
|
+
const r = Ft(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", (({ delta: l, hasLayoutChanged: c }) => {
|
|
3576
3586
|
this.isDragging && c && (K((u) => {
|
|
3577
3587
|
const h = this.getAxisMotionValue(u);
|
|
3578
3588
|
h && (this.originPoint[u] += l[u].translate, h.set(h.get() + l[u].translate));
|
|
3579
3589
|
}), this.visualElement.render());
|
|
3580
|
-
});
|
|
3590
|
+
}));
|
|
3581
3591
|
return () => {
|
|
3582
3592
|
r(), n(), o(), a && a();
|
|
3583
3593
|
};
|
|
@@ -3604,11 +3614,11 @@ function iu(t, e = 10) {
|
|
|
3604
3614
|
}
|
|
3605
3615
|
class ru extends Q {
|
|
3606
3616
|
constructor(e) {
|
|
3607
|
-
super(e), this.removeGroupControls =
|
|
3617
|
+
super(e), this.removeGroupControls = $, this.removeListeners = $, this.controls = new su(e);
|
|
3608
3618
|
}
|
|
3609
3619
|
mount() {
|
|
3610
3620
|
const { dragControls: e } = this.node.getProps();
|
|
3611
|
-
e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() ||
|
|
3621
|
+
e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || $;
|
|
3612
3622
|
}
|
|
3613
3623
|
unmount() {
|
|
3614
3624
|
this.removeGroupControls(), this.removeListeners();
|
|
@@ -3619,7 +3629,7 @@ const hs = (t) => (e, n) => {
|
|
|
3619
3629
|
};
|
|
3620
3630
|
class ou extends Q {
|
|
3621
3631
|
constructor() {
|
|
3622
|
-
super(...arguments), this.removePointerDownListener =
|
|
3632
|
+
super(...arguments), this.removePointerDownListener = $;
|
|
3623
3633
|
}
|
|
3624
3634
|
onPointerDown(e) {
|
|
3625
3635
|
this.session = new ir(e, this.createPanHandlers(), {
|
|
@@ -3682,7 +3692,7 @@ const St = {
|
|
|
3682
3692
|
return s;
|
|
3683
3693
|
const o = J.createTransformer(t), r = typeof i[0] != "number" ? 1 : 0, a = n.x.scale * e.x, l = n.y.scale * e.y;
|
|
3684
3694
|
i[0 + r] /= a, i[1 + r] /= l;
|
|
3685
|
-
const c =
|
|
3695
|
+
const c = D(a, l, 0.5);
|
|
3686
3696
|
return typeof i[2 + r] == "number" && (i[2 + r] /= c), typeof i[3 + r] == "number" && (i[3 + r] /= c), o(i);
|
|
3687
3697
|
}
|
|
3688
3698
|
};
|
|
@@ -3775,20 +3785,20 @@ function du(t, e) {
|
|
|
3775
3785
|
}
|
|
3776
3786
|
const ar = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], mu = ar.length, ds = (t) => typeof t == "string" ? parseFloat(t) : t, ms = (t) => typeof t == "number" || x.test(t);
|
|
3777
3787
|
function pu(t, e, n, s, i, o) {
|
|
3778
|
-
i ? (t.opacity =
|
|
3788
|
+
i ? (t.opacity = D(0, n.opacity ?? 1, gu(s)), t.opacityExit = D(e.opacity ?? 1, 0, yu(s))) : o && (t.opacity = D(e.opacity ?? 1, n.opacity ?? 1, s));
|
|
3779
3789
|
for (let r = 0; r < mu; r++) {
|
|
3780
3790
|
const a = `border${ar[r]}Radius`;
|
|
3781
3791
|
let l = ps(e, a), c = ps(n, a);
|
|
3782
3792
|
if (l === void 0 && c === void 0)
|
|
3783
3793
|
continue;
|
|
3784
|
-
l || (l = 0), c || (c = 0), l === 0 || c === 0 || ms(l) === ms(c) ? (t[a] = Math.max(
|
|
3794
|
+
l || (l = 0), c || (c = 0), l === 0 || c === 0 || ms(l) === ms(c) ? (t[a] = Math.max(D(ds(l), ds(c), s), 0), (H.test(c) || H.test(l)) && (t[a] += "%")) : t[a] = c;
|
|
3785
3795
|
}
|
|
3786
|
-
(e.rotate || n.rotate) && (t.rotate =
|
|
3796
|
+
(e.rotate || n.rotate) && (t.rotate = D(e.rotate || 0, n.rotate || 0, s));
|
|
3787
3797
|
}
|
|
3788
3798
|
function ps(t, e) {
|
|
3789
3799
|
return t[e] !== void 0 ? t[e] : t.borderRadius;
|
|
3790
3800
|
}
|
|
3791
|
-
const gu = /* @__PURE__ */ lr(0, 0.5, Xs), yu = /* @__PURE__ */ lr(0.5, 0.95,
|
|
3801
|
+
const gu = /* @__PURE__ */ lr(0, 0.5, Xs), yu = /* @__PURE__ */ lr(0.5, 0.95, $);
|
|
3792
3802
|
function lr(t, e, n) {
|
|
3793
3803
|
return (s) => s < t ? 0 : s > e ? 1 : n(/* @__PURE__ */ Ct(t, e, s));
|
|
3794
3804
|
}
|
|
@@ -3805,9 +3815,9 @@ function vs(t, e, n, s, i) {
|
|
|
3805
3815
|
return t -= e, t = Zt(t, 1 / n, s), i !== void 0 && (t = Zt(t, 1 / i, s)), t;
|
|
3806
3816
|
}
|
|
3807
3817
|
function vu(t, e = 0, n = 1, s = 0.5, i, o = t, r = t) {
|
|
3808
|
-
if (H.test(e) && (e = parseFloat(e), e =
|
|
3818
|
+
if (H.test(e) && (e = parseFloat(e), e = D(r.min, r.max, e / 100) - r.min), typeof e != "number")
|
|
3809
3819
|
return;
|
|
3810
|
-
let a =
|
|
3820
|
+
let a = D(o.min, o.max, s);
|
|
3811
3821
|
t === o && (a -= e), t.min = vs(t.min, e, n, a, i), t.max = vs(t.max, e, n, a, i);
|
|
3812
3822
|
}
|
|
3813
3823
|
function Ts(t, e, [n, s, i], o, r) {
|
|
@@ -3931,7 +3941,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
3931
3941
|
this.id = Au++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
|
|
3932
3942
|
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
|
|
3933
3943
|
}, this.updateProjection = () => {
|
|
3934
|
-
this.projectionUpdateScheduled = !1, this.nodes.forEach(
|
|
3944
|
+
this.projectionUpdateScheduled = !1, this.nodes.forEach(Mu), this.nodes.forEach(Lu), this.nodes.forEach(ku), this.nodes.forEach(Cu);
|
|
3935
3945
|
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = r, this.root = a ? a.root || a : this, this.path = a ? [...a.path, a] : [], this.parent = a, this.depth = a ? a.depth + 1 : 0;
|
|
3936
3946
|
for (let l = 0; l < this.path.length; l++)
|
|
3937
3947
|
this.path[l].shouldResetTransform = !0;
|
|
@@ -3953,7 +3963,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
3953
3963
|
mount(r) {
|
|
3954
3964
|
if (this.instance)
|
|
3955
3965
|
return;
|
|
3956
|
-
this.isSVG =
|
|
3966
|
+
this.isSVG = Di(r) && !xa(r), this.instance = r;
|
|
3957
3967
|
const { layoutId: a, layout: l, visualElement: c } = this.options;
|
|
3958
3968
|
if (c && !c.current && c.mount(r), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (l || a) && (this.isLayoutDirty = !0), t) {
|
|
3959
3969
|
let u, h = 0;
|
|
@@ -3962,7 +3972,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
3962
3972
|
h = window.innerWidth;
|
|
3963
3973
|
}), t(r, () => {
|
|
3964
3974
|
const d = window.innerWidth;
|
|
3965
|
-
d !== h && (h = d, this.root.updateBlockedByResize = !0, u && u(), u = du(f, 250), Ht.hasAnimatedSinceResize && (Ht.hasAnimatedSinceResize = !1, this.nodes.forEach(
|
|
3975
|
+
d !== h && (h = d, this.root.updateBlockedByResize = !0, u && u(), u = du(f, 250), Ht.hasAnimatedSinceResize && (Ht.hasAnimatedSinceResize = !1, this.nodes.forEach(Ms)));
|
|
3966
3976
|
});
|
|
3967
3977
|
}
|
|
3968
3978
|
a && this.root.registerSharedNode(a, this), this.options.animate !== !1 && c && (a || l) && this.addEventListener("didUpdate", ({ delta: u, hasLayoutChanged: h, hasRelativeLayoutChanged: f, layout: d }) => {
|
|
@@ -3980,7 +3990,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
3980
3990
|
};
|
|
3981
3991
|
(c.shouldReduceMotion || this.options.layoutRoot) && (g.delay = 0, g.type = !1), this.startAnimation(g), this.setAnimationOrigin(u, T);
|
|
3982
3992
|
} else
|
|
3983
|
-
h ||
|
|
3993
|
+
h || Ms(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
3984
3994
|
this.targetLayout = d;
|
|
3985
3995
|
});
|
|
3986
3996
|
}
|
|
@@ -4034,10 +4044,10 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4034
4044
|
return;
|
|
4035
4045
|
}
|
|
4036
4046
|
if (this.animationId <= this.animationCommitId) {
|
|
4037
|
-
this.nodes.forEach(
|
|
4047
|
+
this.nodes.forEach(Ds);
|
|
4038
4048
|
return;
|
|
4039
4049
|
}
|
|
4040
|
-
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Ru), this.nodes.forEach(Vu), this.nodes.forEach(
|
|
4050
|
+
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Ru), this.nodes.forEach(Vu), this.nodes.forEach(Du)) : this.nodes.forEach(Ds), this.clearAllSnapshots();
|
|
4041
4051
|
const a = O.now();
|
|
4042
4052
|
L.delta = z(0, 1e3 / 60, a - L.timestamp), L.timestamp = a, L.isProcessing = !0, ne.update.process(L), ne.preRender.process(L), ne.render.process(L), L.isProcessing = !1;
|
|
4043
4053
|
}
|
|
@@ -4068,7 +4078,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4068
4078
|
for (let l = 0; l < this.path.length; l++)
|
|
4069
4079
|
this.path[l].updateScroll();
|
|
4070
4080
|
const r = this.layout;
|
|
4071
|
-
this.layout = this.measure(!1), this.layoutCorrected =
|
|
4081
|
+
this.layout = this.measure(!1), this.layoutCorrected = M(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
|
|
4072
4082
|
const { visualElement: a } = this.options;
|
|
4073
4083
|
a && a.notify("LayoutMeasure", this.layout.layoutBox, r ? r.layoutBox : void 0);
|
|
4074
4084
|
}
|
|
@@ -4105,7 +4115,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4105
4115
|
measurePageBox() {
|
|
4106
4116
|
const { visualElement: r } = this.options;
|
|
4107
4117
|
if (!r)
|
|
4108
|
-
return
|
|
4118
|
+
return M();
|
|
4109
4119
|
const a = r.measureViewportBox();
|
|
4110
4120
|
if (!(this.scroll?.wasRoot || this.path.some(Uu))) {
|
|
4111
4121
|
const { scroll: c } = this.root;
|
|
@@ -4114,7 +4124,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4114
4124
|
return a;
|
|
4115
4125
|
}
|
|
4116
4126
|
removeElementScroll(r) {
|
|
4117
|
-
const a =
|
|
4127
|
+
const a = M();
|
|
4118
4128
|
if (U(a, r), this.scroll?.wasRoot)
|
|
4119
4129
|
return a;
|
|
4120
4130
|
for (let l = 0; l < this.path.length; l++) {
|
|
@@ -4124,7 +4134,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4124
4134
|
return a;
|
|
4125
4135
|
}
|
|
4126
4136
|
applyTransform(r, a = !1) {
|
|
4127
|
-
const l =
|
|
4137
|
+
const l = M();
|
|
4128
4138
|
U(l, r);
|
|
4129
4139
|
for (let c = 0; c < this.path.length; c++) {
|
|
4130
4140
|
const u = this.path[c];
|
|
@@ -4136,14 +4146,14 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4136
4146
|
return nt(this.latestValues) && dt(l, this.latestValues), l;
|
|
4137
4147
|
}
|
|
4138
4148
|
removeTransform(r) {
|
|
4139
|
-
const a =
|
|
4149
|
+
const a = M();
|
|
4140
4150
|
U(a, r);
|
|
4141
4151
|
for (let l = 0; l < this.path.length; l++) {
|
|
4142
4152
|
const c = this.path[l];
|
|
4143
4153
|
if (!c.instance || !nt(c.latestValues))
|
|
4144
4154
|
continue;
|
|
4145
4155
|
Le(c.latestValues) && c.updateSnapshot();
|
|
4146
|
-
const u =
|
|
4156
|
+
const u = M(), h = c.measurePageBox();
|
|
4147
4157
|
U(u, h), xs(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
|
|
4148
4158
|
}
|
|
4149
4159
|
return nt(this.latestValues) && xs(a, this.latestValues), a;
|
|
@@ -4174,12 +4184,12 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4174
4184
|
if (!(!this.layout || !(u || h))) {
|
|
4175
4185
|
if (this.resolvedRelativeTargetAt = L.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
4176
4186
|
const f = this.getClosestProjectingParent();
|
|
4177
|
-
f && f.layout && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget =
|
|
4187
|
+
f && f.layout && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = M(), this.relativeTargetOrigin = M(), Mt(this.relativeTargetOrigin, this.layout.layoutBox, f.layout.layoutBox), U(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
4178
4188
|
}
|
|
4179
|
-
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target =
|
|
4189
|
+
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = M(), this.targetWithTransforms = M()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Hl(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : U(this.target, this.layout.layoutBox), Gi(this.target, this.targetDelta)) : U(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
|
|
4180
4190
|
this.attemptToResolveRelativeTarget = !1;
|
|
4181
4191
|
const f = this.getClosestProjectingParent();
|
|
4182
|
-
f && !!f.resumingFrom == !!this.resumingFrom && !f.options.layoutScroll && f.target && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget =
|
|
4192
|
+
f && !!f.resumingFrom == !!this.resumingFrom && !f.options.layoutScroll && f.target && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = M(), this.relativeTargetOrigin = M(), Mt(this.relativeTargetOrigin, this.target, f.target), U(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
4183
4193
|
}
|
|
4184
4194
|
}
|
|
4185
4195
|
}
|
|
@@ -4200,13 +4210,13 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4200
4210
|
return;
|
|
4201
4211
|
U(this.layoutCorrected, this.layout.layoutBox);
|
|
4202
4212
|
const h = this.treeScale.x, f = this.treeScale.y;
|
|
4203
|
-
il(this.layoutCorrected, this.treeScale, this.path, a), r.layout && !r.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (r.target = r.layout.layoutBox, r.targetWithTransforms =
|
|
4213
|
+
il(this.layoutCorrected, this.treeScale, this.path, a), r.layout && !r.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (r.target = r.layout.layoutBox, r.targetWithTransforms = M());
|
|
4204
4214
|
const { target: d } = r;
|
|
4205
4215
|
if (!d) {
|
|
4206
4216
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
4207
4217
|
return;
|
|
4208
4218
|
}
|
|
4209
|
-
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (ys(this.prevProjectionDelta.x, this.projectionDelta.x), ys(this.prevProjectionDelta.y, this.projectionDelta.y)),
|
|
4219
|
+
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (ys(this.prevProjectionDelta.x, this.projectionDelta.x), ys(this.prevProjectionDelta.y, this.projectionDelta.y)), Dt(this.projectionDelta, this.layoutCorrected, d, this.latestValues), (this.treeScale.x !== h || this.treeScale.y !== f || !As(this.projectionDelta.x, this.prevProjectionDelta.x) || !As(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", d));
|
|
4210
4220
|
}
|
|
4211
4221
|
hide() {
|
|
4212
4222
|
this.isVisible = !1;
|
|
@@ -4227,12 +4237,12 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4227
4237
|
setAnimationOrigin(r, a = !1) {
|
|
4228
4238
|
const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, h = mt();
|
|
4229
4239
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
4230
|
-
const f =
|
|
4240
|
+
const f = M(), d = l ? l.source : void 0, m = this.layout ? this.layout.source : void 0, v = d !== m, y = this.getStack(), p = !y || y.members.length <= 1, T = !!(v && !p && this.options.crossfade === !0 && !this.path.some(Ou));
|
|
4231
4241
|
this.animationProgress = 0;
|
|
4232
4242
|
let g;
|
|
4233
4243
|
this.mixTargetDelta = (S) => {
|
|
4234
4244
|
const P = S / 1e3;
|
|
4235
|
-
Cs(h.x, r.x, P), Cs(h.y, r.y, P), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (
|
|
4245
|
+
Cs(h.x, r.x, P), Cs(h.y, r.y, P), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Mt(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Iu(this.relativeTarget, this.relativeTargetOrigin, f, P), g && Pu(this.relativeTarget, g) && (this.isProjectionDirty = !1), g || (g = M()), U(g, this.relativeTarget)), v && (this.animationValues = u, pu(u, c, this.latestValues, P, T, p)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = P;
|
|
4236
4246
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
4237
4247
|
}
|
|
4238
4248
|
startAnimation(r) {
|
|
@@ -4265,13 +4275,13 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4265
4275
|
let { targetWithTransforms: a, target: l, layout: c, latestValues: u } = r;
|
|
4266
4276
|
if (!(!a || !l || !c)) {
|
|
4267
4277
|
if (this !== r && this.layout && c && dr(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
|
|
4268
|
-
l = this.target ||
|
|
4278
|
+
l = this.target || M();
|
|
4269
4279
|
const h = F(this.layout.layoutBox.x);
|
|
4270
4280
|
l.x.min = r.target.x.min, l.x.max = l.x.min + h;
|
|
4271
4281
|
const f = F(this.layout.layoutBox.y);
|
|
4272
4282
|
l.y.min = r.target.y.min, l.y.max = l.y.min + f;
|
|
4273
4283
|
}
|
|
4274
|
-
U(a, l), dt(a, u),
|
|
4284
|
+
U(a, l), dt(a, u), Dt(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
|
|
4275
4285
|
}
|
|
4276
4286
|
}
|
|
4277
4287
|
registerSharedNode(r, a) {
|
|
@@ -4373,7 +4383,7 @@ function fr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4373
4383
|
function Vu(t) {
|
|
4374
4384
|
t.updateLayout();
|
|
4375
4385
|
}
|
|
4376
|
-
function
|
|
4386
|
+
function Du(t) {
|
|
4377
4387
|
const e = t.resumeFrom?.snapshot || t.snapshot;
|
|
4378
4388
|
if (t.isLead() && t.layout && e && t.hasListeners("didUpdate")) {
|
|
4379
4389
|
const { layoutBox: n, measuredBox: s } = t.layout, { animationType: i } = t.options, o = e.source !== t.layout.source;
|
|
@@ -4385,9 +4395,9 @@ function Mu(t) {
|
|
|
4385
4395
|
h.max = h.min + f, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[u].max = t.relativeTarget[u].min + f);
|
|
4386
4396
|
});
|
|
4387
4397
|
const r = mt();
|
|
4388
|
-
|
|
4398
|
+
Dt(r, n, e.layoutBox);
|
|
4389
4399
|
const a = mt();
|
|
4390
|
-
o ?
|
|
4400
|
+
o ? Dt(a, t.applyTransform(s, !0), e.measuredBox) : Dt(a, n, e.layoutBox);
|
|
4391
4401
|
const l = !ur(r);
|
|
4392
4402
|
let c = !1;
|
|
4393
4403
|
if (!t.resumeFrom) {
|
|
@@ -4395,10 +4405,10 @@ function Mu(t) {
|
|
|
4395
4405
|
if (u && !u.resumeFrom) {
|
|
4396
4406
|
const { snapshot: h, layout: f } = u;
|
|
4397
4407
|
if (h && f) {
|
|
4398
|
-
const d =
|
|
4399
|
-
|
|
4400
|
-
const m =
|
|
4401
|
-
|
|
4408
|
+
const d = M();
|
|
4409
|
+
Mt(d, e.layoutBox, h.layoutBox);
|
|
4410
|
+
const m = M();
|
|
4411
|
+
Mt(m, n, f.layoutBox), cr(d, m) || (c = !0), u.options.layoutRoot && (t.relativeTarget = m, t.relativeTargetOrigin = d, t.relativeParent = u);
|
|
4402
4412
|
}
|
|
4403
4413
|
}
|
|
4404
4414
|
}
|
|
@@ -4416,7 +4426,7 @@ function Mu(t) {
|
|
|
4416
4426
|
}
|
|
4417
4427
|
t.options.transition = void 0;
|
|
4418
4428
|
}
|
|
4419
|
-
function
|
|
4429
|
+
function Mu(t) {
|
|
4420
4430
|
t.parent && (t.isProjecting() || (t.isProjectionDirty = t.parent.isProjectionDirty), t.isSharedProjectionDirty || (t.isSharedProjectionDirty = !!(t.isProjectionDirty || t.parent.isProjectionDirty || t.parent.isSharedProjectionDirty)), t.isTransformDirty || (t.isTransformDirty = t.parent.isTransformDirty));
|
|
4421
4431
|
}
|
|
4422
4432
|
function Cu(t) {
|
|
@@ -4428,14 +4438,14 @@ function Eu(t) {
|
|
|
4428
4438
|
function Vs(t) {
|
|
4429
4439
|
t.clearMeasurements();
|
|
4430
4440
|
}
|
|
4431
|
-
function
|
|
4441
|
+
function Ds(t) {
|
|
4432
4442
|
t.isLayoutDirty = !1;
|
|
4433
4443
|
}
|
|
4434
4444
|
function Ru(t) {
|
|
4435
4445
|
const { visualElement: e } = t.options;
|
|
4436
4446
|
e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
|
|
4437
4447
|
}
|
|
4438
|
-
function
|
|
4448
|
+
function Ms(t) {
|
|
4439
4449
|
t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0, t.isProjectionDirty = !0;
|
|
4440
4450
|
}
|
|
4441
4451
|
function Lu(t) {
|
|
@@ -4451,10 +4461,10 @@ function Bu(t) {
|
|
|
4451
4461
|
t.removeLeadSnapshot();
|
|
4452
4462
|
}
|
|
4453
4463
|
function Cs(t, e, n) {
|
|
4454
|
-
t.translate =
|
|
4464
|
+
t.translate = D(e.translate, 0, n), t.scale = D(e.scale, 1, n), t.origin = e.origin, t.originPoint = e.originPoint;
|
|
4455
4465
|
}
|
|
4456
4466
|
function Es(t, e, n, s) {
|
|
4457
|
-
t.min =
|
|
4467
|
+
t.min = D(e.min, n.min, s), t.max = D(e.max, n.max, s);
|
|
4458
4468
|
}
|
|
4459
4469
|
function Iu(t, e, n, s) {
|
|
4460
4470
|
Es(t.x, e.x, n.x, s), Es(t.y, e.y, n.y, s);
|
|
@@ -4465,7 +4475,7 @@ function Ou(t) {
|
|
|
4465
4475
|
const ju = {
|
|
4466
4476
|
duration: 0.45,
|
|
4467
4477
|
ease: [0.4, 0, 0.1, 1]
|
|
4468
|
-
}, Rs = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Ls = Rs("applewebkit/") && !Rs("chrome/") ? Math.round :
|
|
4478
|
+
}, Rs = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Ls = Rs("applewebkit/") && !Rs("chrome/") ? Math.round : $;
|
|
4469
4479
|
function ks(t) {
|
|
4470
4480
|
t.min = Ls(t.min), t.max = Ls(t.max);
|
|
4471
4481
|
}
|
|
@@ -4648,7 +4658,7 @@ const Qu = {
|
|
|
4648
4658
|
}, oc = /* @__PURE__ */ el(ec, ml);
|
|
4649
4659
|
export {
|
|
4650
4660
|
js as L,
|
|
4651
|
-
|
|
4661
|
+
Mi as M,
|
|
4652
4662
|
We as P,
|
|
4653
4663
|
Sa as a,
|
|
4654
4664
|
wr as b,
|
|
@@ -4657,4 +4667,4 @@ export {
|
|
|
4657
4667
|
ca as r,
|
|
4658
4668
|
Sr as u
|
|
4659
4669
|
};
|
|
4660
|
-
//# sourceMappingURL=proxy-
|
|
4670
|
+
//# sourceMappingURL=proxy-BxkFHwUw.js.map
|