@undp/data-viz 2.1.9 → 2.2.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.js +19 -19
- package/dist/AreaChart.js.map +1 -1
- package/dist/{Axis-CRyfcLjc.js → Axis-DoOqnt6g.js} +2 -2
- package/dist/{Axis-CRyfcLjc.js.map → Axis-DoOqnt6g.js.map} +1 -1
- package/dist/{Axis-DxRV2yMi.cjs → Axis-Dtjn-EgM.cjs} +2 -2
- package/dist/{Axis-DxRV2yMi.cjs.map → Axis-Dtjn-EgM.cjs.map} +1 -1
- package/dist/{AxisTitle-sS5bLLR7.cjs → AxisTitle-DV4n0RxE.cjs} +2 -2
- package/dist/{AxisTitle-sS5bLLR7.cjs.map → AxisTitle-DV4n0RxE.cjs.map} +1 -1
- package/dist/{AxisTitle-jeI7am8o.js → AxisTitle-VFq89Olw.js} +2 -2
- package/dist/{AxisTitle-jeI7am8o.js.map → AxisTitle-VFq89Olw.js.map} +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.js +24 -24
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.js +2 -2
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.js +14 -14
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.js +48 -48
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.js +22 -22
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.js +19 -19
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.js +51 -51
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +4 -4
- package/dist/ColorLegend.cjs +1 -1
- package/dist/ColorLegend.js +2 -2
- package/dist/ColorLegendWithMouseOver.cjs +1 -1
- package/dist/ColorLegendWithMouseOver.js +2 -2
- package/dist/CopyTextButton.cjs +1 -16
- package/dist/CopyTextButton.cjs.map +1 -1
- package/dist/CopyTextButton.js +13 -31
- package/dist/CopyTextButton.js.map +1 -1
- package/dist/CsvDownloadButton.cjs +2 -20
- package/dist/CsvDownloadButton.cjs.map +1 -1
- package/dist/CsvDownloadButton.js +5 -26
- package/dist/CsvDownloadButton.js.map +1 -1
- package/dist/DataCards.cjs +1 -21
- package/dist/DataCards.cjs.map +1 -1
- package/dist/DataCards.js +18 -42
- package/dist/DataCards.js.map +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.js +6 -6
- package/dist/DataTable.js.map +1 -1
- package/dist/{DetailsModal-0Ry5nXiC.js → DetailsModal-BMCTgVsk.js} +4 -4
- package/dist/{DetailsModal-0Ry5nXiC.js.map → DetailsModal-BMCTgVsk.js.map} +1 -1
- package/dist/{DetailsModal-BN0HDFlV.cjs → DetailsModal-DHttOA80.cjs} +2 -2
- package/dist/{DetailsModal-BN0HDFlV.cjs.map → DetailsModal-DHttOA80.cjs.map} +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.js +22 -22
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.js +10 -10
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.js +78 -78
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/{DropdownSelect-BbdPQa2k.js → DropdownSelect-D8rFbygC.js} +5 -33
- package/dist/{DropdownSelect-BbdPQa2k.js.map → DropdownSelect-D8rFbygC.js.map} +1 -1
- package/dist/{DropdownSelect-Doz3mCrM.cjs → DropdownSelect-NNpOs7DX.cjs} +2 -26
- package/dist/{DropdownSelect-Doz3mCrM.cjs.map → DropdownSelect-NNpOs7DX.cjs.map} +1 -1
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.js +15 -15
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.js +22 -22
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/{EmptyState-gLDRXBHm.cjs → EmptyState-CGeBqbmR.cjs} +2 -2
- package/dist/{EmptyState-gLDRXBHm.cjs.map → EmptyState-CGeBqbmR.cjs.map} +1 -1
- package/dist/EmptyState-tZBErBKF.js +15 -0
- package/dist/{EmptyState-C7ZXkZWd.js.map → EmptyState-tZBErBKF.js.map} +1 -1
- package/dist/ExcelDownloadButton.cjs +1 -1
- package/dist/ExcelDownloadButton.js +2 -2
- package/dist/FootNote.cjs +1 -1
- package/dist/FootNote.js +2 -2
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.js +13 -13
- package/dist/GeoHubCompareMaps.js.map +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.js +8 -8
- package/dist/GeoHubMap.js.map +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +12 -12
- package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
- package/dist/{GraphContainer-d8A46BK2.cjs → GraphContainer-B1EDxJ0S.cjs} +2 -2
- package/dist/{GraphContainer-d8A46BK2.cjs.map → GraphContainer-B1EDxJ0S.cjs.map} +1 -1
- package/dist/{GraphContainer-CRqzdKu2.js → GraphContainer-CF6ws3pd.js} +2 -2
- package/dist/{GraphContainer-CRqzdKu2.js.map → GraphContainer-CF6ws3pd.js.map} +1 -1
- package/dist/GraphDescription.cjs +1 -1
- package/dist/GraphDescription.js +2 -2
- package/dist/GraphEl-CBZdcvb7.cjs +2 -0
- package/dist/GraphEl-CBZdcvb7.cjs.map +1 -0
- package/dist/{GraphEl-Dyu_EIQb.js → GraphEl-DKrjuQNB.js} +79 -18
- package/dist/GraphEl-DKrjuQNB.js.map +1 -0
- package/dist/GraphFooter.cjs +1 -1
- package/dist/GraphFooter.js +2 -2
- package/dist/GraphHeader.cjs +1 -1
- package/dist/GraphHeader.js +1 -1
- package/dist/GraphTitle.cjs +1 -1
- package/dist/GraphTitle.js +2 -2
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +1 -1
- package/dist/GriddedGraphs.js +8 -8
- package/dist/GriddedGraphsFromConfig.cjs +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +1 -1
- package/dist/GriddedGraphsFromConfig.js +4 -4
- package/dist/GriddedGraphsFromConfig.js.map +1 -1
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.js +14 -14
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +5 -5
- package/dist/Histogram.js.map +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.js +48 -48
- package/dist/HybridMap.js.map +1 -1
- package/dist/ImageDownloadButton.cjs +1 -1
- package/dist/ImageDownloadButton.js +3 -3
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.js +18 -18
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.js +2 -2
- package/dist/{Modal-JW_IExO3.cjs → Modal-CaYa_TLE.cjs} +2 -2
- package/dist/{Modal-JW_IExO3.cjs.map → Modal-CaYa_TLE.cjs.map} +1 -1
- package/dist/{Modal-bMQA6bL_.js → Modal-Ch9wvKxF.js} +4 -4
- package/dist/{Modal-bMQA6bL_.js.map → Modal-Ch9wvKxF.js.map} +1 -1
- package/dist/MultiGraphDashboard.cjs +1 -1
- package/dist/MultiGraphDashboard.d.ts +1 -1
- package/dist/MultiGraphDashboard.js +5 -5
- package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardFromConfig.d.ts +1 -1
- package/dist/MultiGraphDashboardFromConfig.js +4 -4
- package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormat.js +5 -5
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +4 -4
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.js +17 -17
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.js +19 -19
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.js +15 -15
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.js +5 -5
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +4 -4
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js.map +1 -1
- package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
- package/dist/PerformanceIntensiveScrollStory.d.ts +1 -1
- package/dist/PerformanceIntensiveScrollStory.js +6 -6
- package/dist/PerformanceIntensiveScrollStory.js.map +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.js +9 -9
- package/dist/{ReferenceLine-2XCwHXQ4.js → ReferenceLine-DgtoRgw0.js} +5 -5
- package/dist/ReferenceLine-DgtoRgw0.js.map +1 -0
- package/dist/{ReferenceLine-BH0qdf4R.cjs → ReferenceLine-M9aP3dj-.cjs} +2 -2
- package/dist/{ReferenceLine-BH0qdf4R.cjs.map → ReferenceLine-M9aP3dj-.cjs.map} +1 -1
- package/dist/{RegressionLine-BOTTNSrr.cjs → RegressionLine-Ci-Dh0w0.cjs} +2 -2
- package/dist/{RegressionLine-BOTTNSrr.cjs.map → RegressionLine-Ci-Dh0w0.cjs.map} +1 -1
- package/dist/{RegressionLine-DAcY2DjT.js → RegressionLine-D2aqeBKp.js} +6 -6
- package/dist/RegressionLine-D2aqeBKp.js.map +1 -0
- package/dist/SVGDownloadButton.cjs +1 -1
- package/dist/SVGDownloadButton.js +2 -2
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.js +61 -67
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.js +23 -23
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.cjs +1 -1
- package/dist/ScrollStory.d.ts +1 -1
- package/dist/ScrollStory.js +4 -4
- package/dist/ScrollStory.js.map +1 -1
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.js +19 -19
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +1 -1
- package/dist/SingleGraphDashboard.js +9 -9
- package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +1 -1
- package/dist/SingleGraphDashboardFromConfig.js +4 -4
- package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMaps.js +5 -5
- package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +4 -4
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.js +63 -70
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +4 -4
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js.map +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.js +12 -12
- package/dist/SlopeChart.js.map +1 -1
- package/dist/{Source-DYMJRrsq.cjs → Source-B5AoSlsi.cjs} +2 -2
- package/dist/{Source-DYMJRrsq.cjs.map → Source-B5AoSlsi.cjs.map} +1 -1
- package/dist/{Source-DwTHB8fn.js → Source-F8EYCYkV.js} +4 -4
- package/dist/{Source-DwTHB8fn.js.map → Source-F8EYCYkV.js.map} +1 -1
- package/dist/Source.cjs +1 -1
- package/dist/Source.js +3 -3
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.js +8 -8
- package/dist/SparkLine.js.map +1 -1
- package/dist/{Spinner-DVBnY6Vg.js → Spinner--r2RrJV8.js} +2 -2
- package/dist/{Spinner-DVBnY6Vg.js.map → Spinner--r2RrJV8.js.map} +1 -1
- package/dist/{Spinner-CQZcjzwd.cjs → Spinner-jTMOLuw_.cjs} +2 -2
- package/dist/{Spinner-CQZcjzwd.cjs.map → Spinner-jTMOLuw_.cjs.map} +1 -1
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.js +2 -2
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.js +10 -10
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.js +13 -13
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.js +3 -3
- package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
- package/dist/{Tooltip-uUdw6wJL.cjs → Tooltip-BLa2EfMs.cjs} +2 -2
- package/dist/{Tooltip-uUdw6wJL.cjs.map → Tooltip-BLa2EfMs.cjs.map} +1 -1
- package/dist/{Tooltip-Dj5eVppQ.js → Tooltip-BRnAz2Gv.js} +3 -3
- package/dist/{Tooltip-Dj5eVppQ.js.map → Tooltip-BRnAz2Gv.js.map} +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.js +10 -10
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +8 -1
- package/dist/{Typography-PxtFcnJb.js → Typography-hWfh3H0J.js} +2 -2
- package/dist/{Typography-PxtFcnJb.js.map → Typography-hWfh3H0J.js.map} +1 -1
- package/dist/{Typography-DX7PlgQU.cjs → Typography-sa1UE0oF.cjs} +2 -2
- package/dist/{Typography-DX7PlgQU.cjs.map → Typography-sa1UE0oF.cjs.map} +1 -1
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.js +8 -8
- package/dist/WaterfallChart.cjs +2 -0
- package/dist/WaterfallChart.cjs.map +1 -0
- package/dist/WaterfallChart.d.ts +208 -0
- package/dist/WaterfallChart.js +427 -0
- package/dist/WaterfallChart.js.map +1 -0
- package/dist/{XAxesLabels-Bt5NZBmX.cjs → XAxesLabels-C6o9jJal.cjs} +2 -2
- package/dist/{XAxesLabels-Bt5NZBmX.cjs.map → XAxesLabels-C6o9jJal.cjs.map} +1 -1
- package/dist/{XAxesLabels-Dy8E1SEo.js → XAxesLabels-rhK7lRjO.js} +3 -3
- package/dist/{XAxesLabels-Dy8E1SEo.js.map → XAxesLabels-rhK7lRjO.js.map} +1 -1
- package/dist/{XTicksAndGridLines-CObVFSm4.js → XTicksAndGridLines-CVZkZkpS.js} +2 -2
- package/dist/{XTicksAndGridLines-CObVFSm4.js.map → XTicksAndGridLines-CVZkZkpS.js.map} +1 -1
- package/dist/{XTicksAndGridLines-B6CELS7q.cjs → XTicksAndGridLines-CekrPykD.cjs} +2 -2
- package/dist/{XTicksAndGridLines-B6CELS7q.cjs.map → XTicksAndGridLines-CekrPykD.cjs.map} +1 -1
- package/dist/{YAxesLabels-DesLesUP.cjs → YAxesLabels-BQ2aCazV.cjs} +2 -2
- package/dist/{YAxesLabels-DesLesUP.cjs.map → YAxesLabels-BQ2aCazV.cjs.map} +1 -1
- package/dist/{YAxesLabels-a57ZRv-0.js → YAxesLabels-QICWVsHf.js} +3 -3
- package/dist/{YAxesLabels-a57ZRv-0.js.map → YAxesLabels-QICWVsHf.js.map} +1 -1
- package/dist/{YTicksAndGridLines-Blepl7XF.js → YTicksAndGridLines-GnXnSRF2.js} +2 -2
- package/dist/{YTicksAndGridLines-Blepl7XF.js.map → YTicksAndGridLines-GnXnSRF2.js.map} +1 -1
- package/dist/{YTicksAndGridLines-4pxTRlRK.cjs → YTicksAndGridLines-UzVC5eBM.cjs} +2 -2
- package/dist/{YTicksAndGridLines-4pxTRlRK.cjs.map → YTicksAndGridLines-UzVC5eBM.cjs.map} +1 -1
- package/dist/{band-DHUZ2X7J.js → band-DYty33LD.js} +2 -2
- package/dist/{band-DHUZ2X7J.js.map → band-DYty33LD.js.map} +1 -1
- package/dist/{checkIfMultiple-CIRtG0KE.js → checkIfMultiple-D9fVkeOq.js} +7 -19
- package/dist/{checkIfMultiple-CIRtG0KE.js.map → checkIfMultiple-D9fVkeOq.js.map} +1 -1
- package/dist/checkIfMultiple-DxnGtm3t.cjs +2 -0
- package/dist/{checkIfMultiple-wg6hJLXy.cjs.map → checkIfMultiple-DxnGtm3t.cjs.map} +1 -1
- package/dist/{customArea-BUhPiPT6.js → customArea-ASDaSE4u.js} +5 -5
- package/dist/{customArea-BUhPiPT6.js.map → customArea-ASDaSE4u.js.map} +1 -1
- package/dist/{customArea-CMF5g-C3.cjs → customArea-B1LWQBmM.cjs} +2 -2
- package/dist/{customArea-CMF5g-C3.cjs.map → customArea-B1LWQBmM.cjs.map} +1 -1
- package/dist/defaultLocale-C4wbwF1n.cjs +2 -0
- package/dist/defaultLocale-C4wbwF1n.cjs.map +1 -0
- package/dist/defaultLocale-CPy_WVtp.js +172 -0
- package/dist/defaultLocale-CPy_WVtp.js.map +1 -0
- package/dist/{ensureCompleteData-DH5c52Ub.js → ensureCompleteData-CDIukSG6.js} +2 -2
- package/dist/{ensureCompleteData-DH5c52Ub.js.map → ensureCompleteData-CDIukSG6.js.map} +1 -1
- package/dist/{ensureCompleteData-pZ9QO6kB.cjs → ensureCompleteData-D9bQTiVS.cjs} +2 -2
- package/dist/{ensureCompleteData-pZ9QO6kB.cjs.map → ensureCompleteData-D9bQTiVS.cjs.map} +1 -1
- package/dist/{fetchAndParseData-BpqkBPQL.js → fetchAndParseData-BAXhgTDM.js} +12 -18
- package/dist/{fetchAndParseData-BpqkBPQL.js.map → fetchAndParseData-BAXhgTDM.js.map} +1 -1
- package/dist/{fetchAndParseData-l5HGMAEs.cjs → fetchAndParseData-QTF6tjij.cjs} +3 -8
- package/dist/{fetchAndParseData-l5HGMAEs.cjs.map → fetchAndParseData-QTF6tjij.cjs.map} +1 -1
- package/dist/fetchAndParseData.cjs +1 -1
- package/dist/fetchAndParseData.js +1 -1
- package/dist/getCentroidCoordinates-CtBGrNC8.cjs +2 -0
- package/dist/getCentroidCoordinates-CtBGrNC8.cjs.map +1 -0
- package/dist/{getCentroidCoordinates-D7r34N4w.js → getCentroidCoordinates-s0OOUjLF.js} +15 -15
- package/dist/getCentroidCoordinates-s0OOUjLF.js.map +1 -0
- package/dist/{getGraphList-Dxwo9TDb.js → getGraphList-Bpd3PVmF.js} +7 -1
- package/dist/getGraphList-Bpd3PVmF.js.map +1 -0
- package/dist/getGraphList-DQ24IzAn.cjs +2 -0
- package/dist/getGraphList-DQ24IzAn.cjs.map +1 -0
- package/dist/{getJenks-GYmdwBqm.cjs → getJenks-BzJvhy_H.cjs} +2 -2
- package/dist/{getJenks-GYmdwBqm.cjs.map → getJenks-BzJvhy_H.cjs.map} +1 -1
- package/dist/{getJenks-BbngDoBQ.js → getJenks-DTCcQSDi.js} +2 -2
- package/dist/{getJenks-BbngDoBQ.js.map → getJenks-DTCcQSDi.js.map} +1 -1
- package/dist/getSchema.cjs +1 -1
- package/dist/getSchema.cjs.map +1 -1
- package/dist/getSchema.d.ts +3 -3
- package/dist/getSchema.js +24 -16
- package/dist/getSchema.js.map +1 -1
- package/dist/getSliderMarks-CIuSoedo.cjs +2 -0
- package/dist/{getSliderMarks-BmADcPQt.cjs.map → getSliderMarks-CIuSoedo.cjs.map} +1 -1
- package/dist/{getSliderMarks-HIDJ0_Cd.js → getSliderMarks-Cvg8zHBU.js} +4 -9
- package/dist/getSliderMarks-Cvg8zHBU.js.map +1 -0
- package/dist/{imageDownload-NYXbvKob.cjs → imageDownload-61q6jyJW.cjs} +3 -3
- package/dist/imageDownload-61q6jyJW.cjs.map +1 -0
- package/dist/{imageDownload-BU4qnxJP.js → imageDownload-Diofs_vY.js} +14 -15
- package/dist/imageDownload-Diofs_vY.js.map +1 -0
- package/dist/{index-D491FEn1.js → index-BQYOuXdl.js} +15 -15
- package/dist/{index-D491FEn1.js.map → index-BQYOuXdl.js.map} +1 -1
- package/dist/{index-DxXnJ8Ti.cjs → index-C5K--w8d.cjs} +2 -2
- package/dist/index-C5K--w8d.cjs.map +1 -0
- package/dist/{index-DRXx7m-C.cjs → index-C6er0ety.cjs} +2 -2
- package/dist/{index-DRXx7m-C.cjs.map → index-C6er0ety.cjs.map} +1 -1
- package/dist/{index-CHPV5EwG-CTPQjnHt.cjs → index-CHPV5EwG-6v2a2njQ.cjs} +5 -69
- package/dist/{index-CHPV5EwG-CTPQjnHt.cjs.map → index-CHPV5EwG-6v2a2njQ.cjs.map} +1 -1
- package/dist/{index-CHPV5EwG-Curnpaqc.js → index-CHPV5EwG-DecW7_qr.js} +5 -77
- package/dist/{index-CHPV5EwG-Curnpaqc.js.map → index-CHPV5EwG-DecW7_qr.js.map} +1 -1
- package/dist/{index-SKgJALZg.js → index-CSiFiXPj.js} +3 -3
- package/dist/{index-SKgJALZg.js.map → index-CSiFiXPj.js.map} +1 -1
- package/dist/index-CoobIWNj.cjs +10 -0
- package/dist/index-CoobIWNj.cjs.map +1 -0
- package/dist/index-CtMBjvtq.js +148 -0
- package/dist/index-CtMBjvtq.js.map +1 -0
- package/dist/{index-Cw8sCyo_-BrHiWiRF.cjs → index-Cw8sCyo_-CEcCMKUi.cjs} +2 -2
- package/dist/{index-Cw8sCyo_-BrHiWiRF.cjs.map → index-Cw8sCyo_-CEcCMKUi.cjs.map} +1 -1
- package/dist/{index-Cw8sCyo_-B2hEKjzG.js → index-Cw8sCyo_-n4AacHGk.js} +6 -4
- package/dist/{index-Cw8sCyo_-B2hEKjzG.js.map → index-Cw8sCyo_-n4AacHGk.js.map} +1 -1
- package/dist/{index-R1gTfap5.js → index-D5ihtaJJ.js} +12 -12
- package/dist/{index-R1gTfap5.js.map → index-D5ihtaJJ.js.map} +1 -1
- package/dist/{index-B_sAFsEV.cjs → index-D69M6klB.cjs} +2 -2
- package/dist/{index-B_sAFsEV.cjs.map → index-D69M6klB.cjs.map} +1 -1
- package/dist/{index-GEsywGxz.js → index-DCsFBfJ_.js} +160 -104
- package/dist/index-DCsFBfJ_.js.map +1 -0
- package/dist/{index-WML2dCZ0.cjs → index-Dgjq6aZ2.cjs} +2 -2
- package/dist/{index-WML2dCZ0.cjs.map → index-Dgjq6aZ2.cjs.map} +1 -1
- package/dist/{index-Dzc_aaI9-BmkfPMyc.cjs → index-Dzc_aaI9-C3DbPpy3.cjs} +2 -2
- package/dist/{index-Dzc_aaI9-BmkfPMyc.cjs.map → index-Dzc_aaI9-C3DbPpy3.cjs.map} +1 -1
- package/dist/{index-Dzc_aaI9-Bb7gobH_.js → index-Dzc_aaI9-CG2Ar7l1.js} +4 -4
- package/dist/{index-Dzc_aaI9-Bb7gobH_.js.map → index-Dzc_aaI9-CG2Ar7l1.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +208 -93
- package/dist/index.js +129 -127
- package/dist/index.js.map +1 -1
- package/dist/{linear-BqltdMeF.js → linear-CalFSAaO.js} +2 -2
- package/dist/{linear-BqltdMeF.js.map → linear-CalFSAaO.js.map} +1 -1
- package/dist/{linear-BwPAspcq.cjs → linear-CgUCbw9F.cjs} +2 -2
- package/dist/{linear-BwPAspcq.cjs.map → linear-CgUCbw9F.cjs.map} +1 -1
- package/dist/{ordinal-BJ6O_LC5.js → ordinal-CHaxGJ_l.js} +2 -2
- package/dist/{ordinal-BJ6O_LC5.js.map → ordinal-CHaxGJ_l.js.map} +1 -1
- package/dist/{parse-DlCRUFh_.js → parse-Dv4of-PN.js} +2 -67
- package/dist/{parse-DlCRUFh_.js.map → parse-Dv4of-PN.js.map} +1 -1
- package/dist/parse-xYI9yrvL.cjs +2 -0
- package/dist/{parse-hMnG_lRV.cjs.map → parse-xYI9yrvL.cjs.map} +1 -1
- package/dist/{pow-DgrUorRi.cjs → pow-BnyPO-NX.cjs} +2 -2
- package/dist/{pow-DgrUorRi.cjs.map → pow-BnyPO-NX.cjs.map} +1 -1
- package/dist/{pow-CM2aze4M.js → pow-CaIrlM4J.js} +2 -2
- package/dist/{pow-CM2aze4M.js.map → pow-CaIrlM4J.js.map} +1 -1
- package/dist/proxy-C4-uo6nS.cjs +2 -0
- package/dist/proxy-C4-uo6nS.cjs.map +1 -0
- package/dist/{proxy-BxkFHwUw.js → proxy-DRuSUlPL.js} +2828 -2717
- package/dist/proxy-DRuSUlPL.js.map +1 -0
- package/dist/{string2HTML-DhG75NqA.js → string2HTML-DUYZT1L9.js} +17 -17
- package/dist/{string2HTML-DhG75NqA.js.map → string2HTML-DUYZT1L9.js.map} +1 -1
- package/dist/{string2HTML-CPGr_I5E.cjs → string2HTML-xx9MzTtY.cjs} +3 -3
- package/dist/{string2HTML-CPGr_I5E.cjs.map → string2HTML-xx9MzTtY.cjs.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{time-BUL-dwnK.js → time-CAtex-RV.js} +2 -2
- package/dist/{time-BUL-dwnK.js.map → time-CAtex-RV.js.map} +1 -1
- package/dist/{time-CZd5YLSP.cjs → time-CkcKbhwe.cjs} +2 -2
- package/dist/{time-CZd5YLSP.cjs.map → time-CkcKbhwe.cjs.map} +1 -1
- package/dist/transformData.cjs +1 -1
- package/dist/transformData.d.ts +1 -1
- package/dist/transformData.js +3 -3
- package/dist/transformDataForAggregation-BFdha9Dx.cjs +2 -0
- package/dist/transformDataForAggregation-BFdha9Dx.cjs.map +1 -0
- package/dist/{transformDataForAggregation-j34UL73s.js → transformDataForAggregation-wdPf8bNt.js} +26 -11
- package/dist/transformDataForAggregation-wdPf8bNt.js.map +1 -0
- package/dist/{transformDataForGraphFromFile-CuXxR8uA.cjs → transformDataForGraphFromFile-DOhp1qrp.cjs} +2 -2
- package/dist/{transformDataForGraphFromFile-CuXxR8uA.cjs.map → transformDataForGraphFromFile-DOhp1qrp.cjs.map} +1 -1
- package/dist/{transformDataForGraphFromFile-DyP-83Nh.js → transformDataForGraphFromFile-dt9sHTVy.js} +3 -3
- package/dist/{transformDataForGraphFromFile-DyP-83Nh.js.map → transformDataForGraphFromFile-dt9sHTVy.js.map} +1 -1
- package/dist/{use-in-view-QcfiW0w3.cjs → use-in-view-C3o_ntMv.cjs} +2 -2
- package/dist/use-in-view-C3o_ntMv.cjs.map +1 -0
- package/dist/{use-in-view-Cxa7y1TH.js → use-in-view-Dl5L8LtP.js} +2 -2
- package/dist/use-in-view-Dl5L8LtP.js.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +4 -4
- package/dist/validateSchema.cjs +1 -1
- package/dist/validateSchema.d.ts +1 -1
- package/dist/validateSchema.js +1 -1
- package/dist/{x-BBpi7a_7-WVdj1j6r.js → x-BBpi7a_7-BsvWCzYM.js} +1 -31
- package/dist/{x-BBpi7a_7-WVdj1j6r.js.map → x-BBpi7a_7-BsvWCzYM.js.map} +1 -1
- package/dist/x-BBpi7a_7-DXYIEFwN.cjs +2 -0
- package/dist/{x-BBpi7a_7-mTo40uId.cjs.map → x-BBpi7a_7-DXYIEFwN.cjs.map} +1 -1
- package/dist/{zoom-C9MFjAaV.js → zoom-5AkJSuWO.js} +3 -3
- package/dist/zoom-5AkJSuWO.js.map +1 -0
- package/dist/{zoom-DPw8bba-.cjs → zoom-ChcvXFIz.cjs} +2 -2
- package/dist/zoom-ChcvXFIz.cjs.map +1 -0
- package/package.json +21 -1
- package/readme.md +33 -22
- package/dist/EmptyState-C7ZXkZWd.js +0 -15
- package/dist/GraphEl-BixTEyKW.cjs +0 -2
- package/dist/GraphEl-BixTEyKW.cjs.map +0 -1
- package/dist/GraphEl-Dyu_EIQb.js.map +0 -1
- package/dist/ReferenceLine-2XCwHXQ4.js.map +0 -1
- package/dist/RegressionLine-DAcY2DjT.js.map +0 -1
- package/dist/checkIfMultiple-wg6hJLXy.cjs +0 -12
- package/dist/defaultLocale-BEa-49Qz.js +0 -172
- package/dist/defaultLocale-BEa-49Qz.js.map +0 -1
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -2
- package/dist/defaultLocale-DIVzfLaQ.cjs.map +0 -1
- package/dist/getCentroidCoordinates-D7r34N4w.js.map +0 -1
- package/dist/getCentroidCoordinates-Dng1HVjO.cjs +0 -2
- package/dist/getCentroidCoordinates-Dng1HVjO.cjs.map +0 -1
- package/dist/getGraphList-CA17dvFB.cjs +0 -2
- package/dist/getGraphList-CA17dvFB.cjs.map +0 -1
- package/dist/getGraphList-Dxwo9TDb.js.map +0 -1
- package/dist/getSliderMarks-BmADcPQt.cjs +0 -6
- package/dist/getSliderMarks-HIDJ0_Cd.js.map +0 -1
- package/dist/imageDownload-BU4qnxJP.js.map +0 -1
- package/dist/imageDownload-NYXbvKob.cjs.map +0 -1
- package/dist/index-BqfRwk1n.js +0 -146
- package/dist/index-BqfRwk1n.js.map +0 -1
- package/dist/index-DG2bgAva.cjs +0 -10
- package/dist/index-DG2bgAva.cjs.map +0 -1
- package/dist/index-DxXnJ8Ti.cjs.map +0 -1
- package/dist/index-GEsywGxz.js.map +0 -1
- package/dist/parse-hMnG_lRV.cjs +0 -2
- package/dist/proxy-BxkFHwUw.js.map +0 -1
- package/dist/proxy-BxvUI_9l.cjs +0 -2
- package/dist/proxy-BxvUI_9l.cjs.map +0 -1
- package/dist/transformDataForAggregation-CYoB5Xsk.cjs +0 -2
- package/dist/transformDataForAggregation-CYoB5Xsk.cjs.map +0 -1
- package/dist/transformDataForAggregation-j34UL73s.js.map +0 -1
- package/dist/use-in-view-Cxa7y1TH.js.map +0 -1
- package/dist/use-in-view-QcfiW0w3.cjs.map +0 -1
- package/dist/x-BBpi7a_7-mTo40uId.cjs +0 -27
- package/dist/zoom-C9MFjAaV.js.map +0 -1
- package/dist/zoom-DPw8bba-.cjs.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";const ye=require("./_commonjsHelpers-BH3jXuIh.cjs"),X=require("handlebars"),we=require("math-expression-evaluator"),M=require("marked"),re=require("./numberFormattingFunction-02t-wJta.cjs");var
|
|
2
|
-
`&&L()}return r.trim(w)}return Z=s,Z}var J,ne;function xe(){if(ne)return J;ne=1;var r=pe(),s=Ae();he();function i(e){return e==null}function f(e){var p={};for(var u in e)p[u]=e[u];return p}function v(e){e=f(e||{}),e.whiteList=e.whiteList||r.whiteList,e.onAttr=e.onAttr||r.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||r.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||r.safeAttrValue,this.options=e}return v.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var p=this,u=p.options,w=u.whiteList,L=u.onAttr,S=u.onIgnoreAttr,t=u.safeAttrValue,o=s(e,function(a,A,T,c,I){var d=w[T],g=!1;if(d===!0?g=d:typeof d=="function"?g=d(c):d instanceof RegExp&&(g=d.test(c)),g!==!0&&(g=!1),c=t(T,c),!!c){var E={position:A,sourcePosition:a,source:I,isWhite:g};if(g){var b=L(T,c,E);return i(b)?T+":"+c:b}else{var b=S(T,c,E);if(!i(b))return b}}});return o},J=v,J}var le;function ee(){return le||(le=1,(function(r,s){var i=pe(),f=xe();function v(p,u){var w=new f(u);return w.process(p)}s=r.exports=v,s.FilterCSS=f;for(var e in i)s[e]=i[e];typeof window<"u"&&(window.filterCSS=r.exports)})(z,z.exports)),z.exports}var K,oe;function te(){return oe||(oe=1,K={indexOf:function(r,s){var i,f;if(Array.prototype.indexOf)return r.indexOf(s);for(i=0,f=r.length;i<f;i++)if(r[i]===s)return i;return-1},forEach:function(r,s,i){var f,v;if(Array.prototype.forEach)return r.forEach(s,i);for(f=0,v=r.length;f<v;f++)s.call(i,r[f],f,r)},trim:function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(r){var s=/\s|\n|\t/,i=s.exec(r);return i?i.index:-1}}),K}var fe;function me(){if(fe)return y;fe=1;var r=ee().FilterCSS,s=ee().getDefaultWhiteList,i=te();function f(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var v=new r;function e(n,m,l){}function p(n,m,l){}function u(n,m,l){}function w(n,m,l){}function L(n){return n.replace(t,"<").replace(o,">")}function S(n,m,l,h){if(l=G(l),m==="href"||m==="src"){if(l=i.trim(l),l==="#")return"#";if(!(l.substr(0,7)==="http://"||l.substr(0,8)==="https://"||l.substr(0,7)==="mailto:"||l.substr(0,4)==="tel:"||l.substr(0,11)==="data:image/"||l.substr(0,6)==="ftp://"||l.substr(0,2)==="./"||l.substr(0,3)==="../"||l[0]==="#"||l[0]==="/"))return""}else if(m==="background"){if(d.lastIndex=0,d.test(l))return""}else if(m==="style"){if(g.lastIndex=0,g.test(l)||(E.lastIndex=0,E.test(l)&&(d.lastIndex=0,d.test(l))))return"";h!==!1&&(h=h||v,l=h.process(l))}return l=R(l),l}var t=/</g,o=/>/g,a=/"/g,A=/"/g,T=/&#([a-zA-Z0-9]*);?/gim,c=/:?/gim,I=/&newline;?/gim,d=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,g=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,E=/u\s*r\s*l\s*\(.*/gi;function b(n){return n.replace(a,""")}function x(n){return n.replace(A,'"')}function k(n){return n.replace(T,function(l,h){return h[0]==="x"||h[0]==="X"?String.fromCharCode(parseInt(h.substr(1),16)):String.fromCharCode(parseInt(h,10))})}function C(n){return n.replace(c,":").replace(I," ")}function W(n){for(var m="",l=0,h=n.length;l<h;l++)m+=n.charCodeAt(l)<32?" ":n.charAt(l);return i.trim(m)}function G(n){return n=x(n),n=k(n),n=C(n),n=W(n),n}function R(n){return n=b(n),n=L(n),n}function P(){return""}function Q(n,m){typeof m!="function"&&(m=function(){});var l=!Array.isArray(n);function h(_){return l?!0:i.indexOf(n,_)!==-1}var q=[],F=!1;return{onIgnoreTag:function(_,N,O){if(h(_))if(O.isClosing){var $="[/removed]",be=O.position+$.length;return q.push([F!==!1?F:O.position,be]),F=!1,$}else return F||(F=O.position),"[removed]";else return m(_,N,O)},remove:function(_){var N="",O=0;return i.forEach(q,function($){N+=_.slice(O,$[0]),O=$[1]}),N+=_.slice(O),N}}}function H(n){for(var m="",l=0;l<n.length;){var h=n.indexOf("<!--",l);if(h===-1){m+=n.slice(l);break}m+=n.slice(l,h);var q=n.indexOf("-->",h);if(q===-1)break;l=q+3}return m}function V(n){var m=n.split("");return m=m.filter(function(l){var h=l.charCodeAt(0);return h===127?!1:h<=31?h===10||h===13:!0}),m.join("")}return y.whiteList=f(),y.getDefaultWhiteList=f,y.onTag=e,y.onIgnoreTag=p,y.onTagAttr=u,y.onIgnoreTagAttr=w,y.safeAttrValue=S,y.escapeHtml=L,y.escapeQuote=b,y.unescapeQuote=x,y.escapeHtmlEntities=k,y.escapeDangerHtml5Entities=C,y.clearNonPrintableCharacter=W,y.friendlyAttrValue=G,y.escapeAttrValue=R,y.onIgnoreTagStripAll=P,y.StripTagBody=Q,y.stripCommentTag=H,y.stripBlankChar=V,y.attributeWrapSign='"',y.cssFilter=v,y.getDefaultCSSWhiteList=s,y}var B={},ue;function ve(){if(ue)return B;ue=1;var r=te();function s(t){var o=r.spaceIndex(t),a;return o===-1?a=t.slice(1,-1):a=t.slice(1,o+1),a=r.trim(a).toLowerCase(),a.slice(0,1)==="/"&&(a=a.slice(1)),a.slice(-1)==="/"&&(a=a.slice(0,-1)),a}function i(t){return t.slice(0,2)==="</"}function f(t,o,a){var A="",T=0,c=!1,I=!1,d=0,g=t.length,E="",b="";e:for(d=0;d<g;d++){var x=t.charAt(d);if(c===!1){if(x==="<"){c=d;continue}}else if(I===!1){if(x==="<"){A+=a(t.slice(T,d)),c=d,T=d;continue}if(x===">"||d===g-1){A+=a(t.slice(T,c)),b=t.slice(c,d+1),E=s(b),A+=o(c,A.length,E,b,i(b)),T=d+1,c=!1;continue}if(x==='"'||x==="'")for(var k=1,C=t.charAt(d-k);C.trim()===""||C==="=";){if(C==="="){I=x;continue e}C=t.charAt(d-++k)}}else if(x===I){I=!1;continue}}return T<g&&(A+=a(t.substr(T))),A}var v=/[^a-zA-Z0-9\\_:.-]/gim;function e(t,o){var a=0,A=0,T=[],c=!1,I=t.length;function d(k,C){if(k=r.trim(k),k=k.replace(v,"").toLowerCase(),!(k.length<1)){var W=o(k,C||"");W&&T.push(W)}}for(var g=0;g<I;g++){var E=t.charAt(g),b,x;if(c===!1&&E==="="){c=t.slice(a,g),a=g+1,A=t.charAt(a)==='"'||t.charAt(a)==="'"?a:u(t,g+1);continue}if(c!==!1&&g===A){if(x=t.indexOf(E,g+1),x===-1)break;b=r.trim(t.slice(A+1,x)),d(c,b),c=!1,g=x,a=g+1;continue}if(/\s|\n|\t/.test(E))if(t=t.replace(/\s|\n|\t/g," "),c===!1)if(x=p(t,g),x===-1){b=r.trim(t.slice(a,g)),d(b),c=!1,a=g+1;continue}else{g=x-1;continue}else if(x=w(t,g-1),x===-1){b=r.trim(t.slice(a,g)),b=S(b),d(c,b),c=!1,a=g+1;continue}else continue}return a<t.length&&(c===!1?d(t.slice(a)):d(c,S(r.trim(t.slice(a))))),r.trim(T.join(" "))}function p(t,o){for(;o<t.length;o++){var a=t[o];if(a!==" ")return a==="="?o:-1}}function u(t,o){for(;o<t.length;o++){var a=t[o];if(a!==" ")return a==="'"||a==='"'?o:-1}}function w(t,o){for(;o>0;o--){var a=t[o];if(a!==" ")return a==="="?o:-1}}function L(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function S(t){return L(t)?t.substr(1,t.length-2):t}return B.parseTag=f,B.parseAttr=e,B}var Y,ce;function Te(){if(ce)return Y;ce=1;var r=ee().FilterCSS,s=me(),i=ve(),f=i.parseTag,v=i.parseAttr,e=te();function p(t){return t==null}function u(t){var o=e.spaceIndex(t);if(o===-1)return{html:"",closing:t[t.length-2]==="/"};t=e.trim(t.slice(o+1,-1));var a=t[t.length-1]==="/";return a&&(t=e.trim(t.slice(0,-1))),{html:t,closing:a}}function w(t){var o={};for(var a in t)o[a]=t[a];return o}function L(t){var o={};for(var a in t)Array.isArray(t[a])?o[a.toLowerCase()]=t[a].map(function(A){return A.toLowerCase()}):o[a.toLowerCase()]=t[a];return o}function S(t){t=w(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=s.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=L(t.whiteList||t.allowList):t.whiteList=s.whiteList,this.attributeWrapSign=t.singleQuotedAttributeValue===!0?"'":s.attributeWrapSign,t.onTag=t.onTag||s.onTag,t.onTagAttr=t.onTagAttr||s.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||s.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||s.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||s.safeAttrValue,t.escapeHtml=t.escapeHtml||s.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new r(t.css))}return S.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var o=this,a=o.options,A=a.whiteList,T=a.onTag,c=a.onIgnoreTag,I=a.onTagAttr,d=a.onIgnoreTagAttr,g=a.safeAttrValue,E=a.escapeHtml,b=o.attributeWrapSign,x=o.cssFilter;a.stripBlankChar&&(t=s.stripBlankChar(t)),a.allowCommentTag||(t=s.stripCommentTag(t));var k=!1;a.stripIgnoreTagBody&&(k=s.StripTagBody(a.stripIgnoreTagBody,c),c=k.onIgnoreTag);var C=f(t,function(W,G,R,P,Q){var H={sourcePosition:W,position:G,isClosing:Q,isWhite:Object.prototype.hasOwnProperty.call(A,R)},V=T(R,P,H);if(!p(V))return V;if(H.isWhite){if(H.isClosing)return"</"+R+">";var n=u(P),m=A[R],l=v(n.html,function(h,q){var F=e.indexOf(m,h)!==-1,_=I(R,h,q,F);return p(_)?F?(q=g(R,h,q,x),q?h+"="+b+q+b:h):(_=d(R,h,q,F),p(_)?void 0:_):_});return P="<"+R,l&&(P+=" "+l),n.closing&&(P+=" /"),P+=">",P}else return V=c(R,P,H),p(V)?E(P):V},E);return k&&(C=k.remove(C)),C},Y=S,Y}var ge;function ke(){return ge||(ge=1,(function(r,s){var i=me(),f=ve(),v=Te();function e(u,w){var L=new v(w);return L.process(u)}s=r.exports=e,s.filterXSS=e,s.FilterXSS=v,(function(){for(var u in i)s[u]=i[u];for(var w in f)s[w]=f[w]})(),typeof window<"u"&&(window.filterXSS=r.exports);function p(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}p()&&(self.filterXSS=r.exports)})(U,U.exports)),U.exports}var Se=ke();const de=ye.getDefaultExportFromCjs(Se);function Ee(r,s){const i=new M.marked.Renderer,f=new we;return i.link=({href:e,title:p,text:u})=>{const w=e.startsWith("/")?"_self":"_blank";return`<a href="${e}" target="${w}" title="${p||""}">${u}</a>`},X.registerHelper("formatNumber",e=>typeof e=="string"?e:re.numberFormattingFunction(e,"-")),X.registerHelper("mathExpression",e=>{const u=X.compile(e)(r);return f.eval(u)}),X.registerHelper("mathExpressionWithFormatting",e=>{const u=X.compile(e)(r),w=f.eval(u);return re.numberFormattingFunction(w,"-")}),M.marked.setOptions({renderer:i}),X.registerHelper("markdown",e=>M.marked.parse(e||"")),X.compile(s)(r)}function Le(r){return r.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}function Ce(r,s){const i={whiteList:{b:["class","id","style"],i:["class","id","style"],strong:["class","id","style"],em:["class","id","style"],u:["class","id","style"],small:["class","id","style"],sub:["class","id","style"],sup:["class","id","style"],mark:["class","id","style"],br:["class","id","style"],hr:["class","id","style"],p:["class","id","style"],div:["class","id","style"],span:["class","id","style"],blockquote:["class","id","style"],pre:["class","id","style"],code:["class","id","style"],h1:["class","id","style"],h2:["class","id","style"],h3:["class","id","style"],h4:["class","id","style"],h5:["class","id","style"],h6:["class","id","style"],ul:["class","id","style"],ol:["class","id","style"],li:["class","id","style"],dl:["class","id","style"],dt:["class","id","style"],dd:["class","id","style"],table:["class","id","style"],thead:["class","id","style"],tbody:["class","id","style"],tfoot:["class","id","style"],tr:["class","id","style"],th:["class","id","style"],td:["class","id","style"],caption:["class","id","style"],img:["class","id","style","src","alt","width","height"],figure:["class","id","style"],figcaption:["class","id","style"],a:["class","id","style","href","title"],abbr:["class","id","style","title"],cite:["class","id","style"],dfn:["class","id","style"],kbd:["class","id","style"],samp:["class","id","style"]},css:{whiteList:{color:!0,background:!0,"background-color":!0,"background-image":!0,"font-size":!0,"font-weight":!0,"text-transform":!0,"font-style":!0,"font-family":!0,"text-align":!0,margin:!0,padding:!0,border:!0,overflow:!0,"overflow-x":!0,"overflow-y":!0,"border-radius":!0,"border-color":!0,display:!0,flex:!0,"flex-direction":!0,"flex-wrap":!0,"flex-flow":!0,"flex-shrink":!0,"flex-grow":!0,order:!0,"flex-basis":!0,"align-self":!0,gap:!0,"row-gap":!0,"column-gap":!0,"justify-content":!0,"align-items":!0,"align-content":!0,width:!0,height:!0,position:!0,top:!0,left:!0,right:!0,bottom:!0,"padding-top":!0,"padding-left":!0,"padding-right":!0,"padding-bottom":!0,"margin-top":!0,"margin-left":!0,"margin-right":!0,"margin-bottom":!0,"border-top":!0,"border-left":!0,"border-right":!0,"border-bottom":!0,"z-index":!0,"word-wrap":!0,visibility:!0,opacity:!0,filter:!0,transform:!0,transition:!0,cursor:!0,clip:!0,hyphens:!0,direction:!0,"word-break":!0,"max-width":!0,"min-width":!0,"max-height":!0,"min-height":!0,fill:!0,"clip-path":!0,"border-width":!0,"border-style":!0,"box-sizing":!0,"grid-template-rows":!0,"grid-template-columns":!0,"font-variant":!0,"letter-spacing":!0,"line-height":!0,"text-decoration":!0,"text-indent":!0,"white-space":!0,"word-spacing":!0,"box-shadow":!0,"transition-property":!0,"transition-duration":!0,"transition-timing-function":!0,"animation-name":!0,"animation-duration":!0}}};if(!s)return de(r,i);const f=de(Ee(s,r),i);return Le(f)}exports.string2HTML=Ce;
|
|
3
|
-
//# sourceMappingURL=string2HTML-
|
|
1
|
+
"use strict";const ye=require("./_commonjsHelpers-BH3jXuIh.cjs"),X=require("handlebars"),we=require("math-expression-evaluator"),M=require("marked"),re=require("./numberFormattingFunction-02t-wJta.cjs");var z={exports:{}},y={},$={exports:{}},D={},ae;function pe(){if(ae)return D;ae=1;function r(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function s(e,p,u){}function i(e,p,u){}var f=/javascript\s*\:/img;function v(e,p){return f.test(p)?"":p}return D.whiteList=r(),D.getDefaultWhiteList=r,D.onAttr=s,D.onIgnoreAttr=i,D.safeAttrValue=v,D}var j,ie;function he(){return ie||(ie=1,j={indexOf:function(r,s){var i,f;if(Array.prototype.indexOf)return r.indexOf(s);for(i=0,f=r.length;i<f;i++)if(r[i]===s)return i;return-1},forEach:function(r,s,i){var f,v;if(Array.prototype.forEach)return r.forEach(s,i);for(f=0,v=r.length;f<v;f++)s.call(i,r[f],f,r)},trim:function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(r){return String.prototype.trimRight?r.trimRight():r.replace(/(\s*$)/g,"")}}),j}var Z,se;function Ae(){if(se)return Z;se=1;var r=he();function s(i,f){i=r.trimRight(i),i[i.length-1]!==";"&&(i+=";");var v=i.length,e=!1,p=0,u=0,w="";function L(){if(!e){var o=r.trim(i.slice(p,u)),a=o.indexOf(":");if(a!==-1){var A=r.trim(o.slice(0,a)),T=r.trim(o.slice(a+1));if(A){var c=f(p,w.length,A,T,o);c&&(w+=c+"; ")}}}p=u+1}for(;u<v;u++){var S=i[u];if(S==="/"&&i[u+1]==="*"){var t=i.indexOf("*/",u+2);if(t===-1)break;u=t+1,p=u+1,e=!1}else S==="("?e=!0:S===")"?e=!1:S===";"?e||L():S===`
|
|
2
|
+
`&&L()}return r.trim(w)}return Z=s,Z}var J,ne;function xe(){if(ne)return J;ne=1;var r=pe(),s=Ae();he();function i(e){return e==null}function f(e){var p={};for(var u in e)p[u]=e[u];return p}function v(e){e=f(e||{}),e.whiteList=e.whiteList||r.whiteList,e.onAttr=e.onAttr||r.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||r.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||r.safeAttrValue,this.options=e}return v.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var p=this,u=p.options,w=u.whiteList,L=u.onAttr,S=u.onIgnoreAttr,t=u.safeAttrValue,o=s(e,function(a,A,T,c,I){var d=w[T],g=!1;if(d===!0?g=d:typeof d=="function"?g=d(c):d instanceof RegExp&&(g=d.test(c)),g!==!0&&(g=!1),c=t(T,c),!!c){var E={position:A,sourcePosition:a,source:I,isWhite:g};if(g){var b=L(T,c,E);return i(b)?T+":"+c:b}else{var b=S(T,c,E);if(!i(b))return b}}});return o},J=v,J}var le;function ee(){return le||(le=1,(function(r,s){var i=pe(),f=xe();function v(p,u){var w=new f(u);return w.process(p)}s=r.exports=v,s.FilterCSS=f;for(var e in i)s[e]=i[e];typeof window<"u"&&(window.filterCSS=r.exports)})($,$.exports)),$.exports}var K,oe;function te(){return oe||(oe=1,K={indexOf:function(r,s){var i,f;if(Array.prototype.indexOf)return r.indexOf(s);for(i=0,f=r.length;i<f;i++)if(r[i]===s)return i;return-1},forEach:function(r,s,i){var f,v;if(Array.prototype.forEach)return r.forEach(s,i);for(f=0,v=r.length;f<v;f++)s.call(i,r[f],f,r)},trim:function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(r){var s=/\s|\n|\t/,i=s.exec(r);return i?i.index:-1}}),K}var fe;function me(){if(fe)return y;fe=1;var r=ee().FilterCSS,s=ee().getDefaultWhiteList,i=te();function f(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var v=new r;function e(n,m,l){}function p(n,m,l){}function u(n,m,l){}function w(n,m,l){}function L(n){return n.replace(t,"<").replace(o,">")}function S(n,m,l,h){if(l=U(l),m==="href"||m==="src"){if(l=i.trim(l),l==="#")return"#";if(!(l.substr(0,7)==="http://"||l.substr(0,8)==="https://"||l.substr(0,7)==="mailto:"||l.substr(0,4)==="tel:"||l.substr(0,11)==="data:image/"||l.substr(0,6)==="ftp://"||l.substr(0,2)==="./"||l.substr(0,3)==="../"||l[0]==="#"||l[0]==="/"))return""}else if(m==="background"){if(d.lastIndex=0,d.test(l))return""}else if(m==="style"){if(g.lastIndex=0,g.test(l)||(E.lastIndex=0,E.test(l)&&(d.lastIndex=0,d.test(l))))return"";h!==!1&&(h=h||v,l=h.process(l))}return l=R(l),l}var t=/</g,o=/>/g,a=/"/g,A=/"/g,T=/&#([a-zA-Z0-9]*);?/gim,c=/:?/gim,I=/&newline;?/gim,d=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,g=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,E=/u\s*r\s*l\s*\(.*/gi;function b(n){return n.replace(a,""")}function x(n){return n.replace(A,'"')}function k(n){return n.replace(T,function(l,h){return h[0]==="x"||h[0]==="X"?String.fromCharCode(parseInt(h.substr(1),16)):String.fromCharCode(parseInt(h,10))})}function C(n){return n.replace(c,":").replace(I," ")}function W(n){for(var m="",l=0,h=n.length;l<h;l++)m+=n.charCodeAt(l)<32?" ":n.charAt(l);return i.trim(m)}function U(n){return n=x(n),n=k(n),n=C(n),n=W(n),n}function R(n){return n=b(n),n=L(n),n}function P(){return""}function Q(n,m){typeof m!="function"&&(m=function(){});var l=!Array.isArray(n);function h(_){return l?!0:i.indexOf(n,_)!==-1}var q=[],F=!1;return{onIgnoreTag:function(_,N,O){if(h(_))if(O.isClosing){var G="[/removed]",be=O.position+G.length;return q.push([F!==!1?F:O.position,be]),F=!1,G}else return F||(F=O.position),"[removed]";else return m(_,N,O)},remove:function(_){var N="",O=0;return i.forEach(q,function(G){N+=_.slice(O,G[0]),O=G[1]}),N+=_.slice(O),N}}}function H(n){for(var m="",l=0;l<n.length;){var h=n.indexOf("<!--",l);if(h===-1){m+=n.slice(l);break}m+=n.slice(l,h);var q=n.indexOf("-->",h);if(q===-1)break;l=q+3}return m}function V(n){var m=n.split("");return m=m.filter(function(l){var h=l.charCodeAt(0);return h===127?!1:h<=31?h===10||h===13:!0}),m.join("")}return y.whiteList=f(),y.getDefaultWhiteList=f,y.onTag=e,y.onIgnoreTag=p,y.onTagAttr=u,y.onIgnoreTagAttr=w,y.safeAttrValue=S,y.escapeHtml=L,y.escapeQuote=b,y.unescapeQuote=x,y.escapeHtmlEntities=k,y.escapeDangerHtml5Entities=C,y.clearNonPrintableCharacter=W,y.friendlyAttrValue=U,y.escapeAttrValue=R,y.onIgnoreTagStripAll=P,y.StripTagBody=Q,y.stripCommentTag=H,y.stripBlankChar=V,y.attributeWrapSign='"',y.cssFilter=v,y.getDefaultCSSWhiteList=s,y}var B={},ue;function ve(){if(ue)return B;ue=1;var r=te();function s(t){var o=r.spaceIndex(t),a;return o===-1?a=t.slice(1,-1):a=t.slice(1,o+1),a=r.trim(a).toLowerCase(),a.slice(0,1)==="/"&&(a=a.slice(1)),a.slice(-1)==="/"&&(a=a.slice(0,-1)),a}function i(t){return t.slice(0,2)==="</"}function f(t,o,a){var A="",T=0,c=!1,I=!1,d=0,g=t.length,E="",b="";e:for(d=0;d<g;d++){var x=t.charAt(d);if(c===!1){if(x==="<"){c=d;continue}}else if(I===!1){if(x==="<"){A+=a(t.slice(T,d)),c=d,T=d;continue}if(x===">"||d===g-1){A+=a(t.slice(T,c)),b=t.slice(c,d+1),E=s(b),A+=o(c,A.length,E,b,i(b)),T=d+1,c=!1;continue}if(x==='"'||x==="'")for(var k=1,C=t.charAt(d-k);C.trim()===""||C==="=";){if(C==="="){I=x;continue e}C=t.charAt(d-++k)}}else if(x===I){I=!1;continue}}return T<g&&(A+=a(t.substr(T))),A}var v=/[^a-zA-Z0-9\\_:.-]/gim;function e(t,o){var a=0,A=0,T=[],c=!1,I=t.length;function d(k,C){if(k=r.trim(k),k=k.replace(v,"").toLowerCase(),!(k.length<1)){var W=o(k,C||"");W&&T.push(W)}}for(var g=0;g<I;g++){var E=t.charAt(g),b,x;if(c===!1&&E==="="){c=t.slice(a,g),a=g+1,A=t.charAt(a)==='"'||t.charAt(a)==="'"?a:u(t,g+1);continue}if(c!==!1&&g===A){if(x=t.indexOf(E,g+1),x===-1)break;b=r.trim(t.slice(A+1,x)),d(c,b),c=!1,g=x,a=g+1;continue}if(/\s|\n|\t/.test(E))if(t=t.replace(/\s|\n|\t/g," "),c===!1)if(x=p(t,g),x===-1){b=r.trim(t.slice(a,g)),d(b),c=!1,a=g+1;continue}else{g=x-1;continue}else if(x=w(t,g-1),x===-1){b=r.trim(t.slice(a,g)),b=S(b),d(c,b),c=!1,a=g+1;continue}else continue}return a<t.length&&(c===!1?d(t.slice(a)):d(c,S(r.trim(t.slice(a))))),r.trim(T.join(" "))}function p(t,o){for(;o<t.length;o++){var a=t[o];if(a!==" ")return a==="="?o:-1}}function u(t,o){for(;o<t.length;o++){var a=t[o];if(a!==" ")return a==="'"||a==='"'?o:-1}}function w(t,o){for(;o>0;o--){var a=t[o];if(a!==" ")return a==="="?o:-1}}function L(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function S(t){return L(t)?t.substr(1,t.length-2):t}return B.parseTag=f,B.parseAttr=e,B}var Y,ce;function Te(){if(ce)return Y;ce=1;var r=ee().FilterCSS,s=me(),i=ve(),f=i.parseTag,v=i.parseAttr,e=te();function p(t){return t==null}function u(t){var o=e.spaceIndex(t);if(o===-1)return{html:"",closing:t[t.length-2]==="/"};t=e.trim(t.slice(o+1,-1));var a=t[t.length-1]==="/";return a&&(t=e.trim(t.slice(0,-1))),{html:t,closing:a}}function w(t){var o={};for(var a in t)o[a]=t[a];return o}function L(t){var o={};for(var a in t)Array.isArray(t[a])?o[a.toLowerCase()]=t[a].map(function(A){return A.toLowerCase()}):o[a.toLowerCase()]=t[a];return o}function S(t){t=w(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=s.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=L(t.whiteList||t.allowList):t.whiteList=s.whiteList,this.attributeWrapSign=t.singleQuotedAttributeValue===!0?"'":s.attributeWrapSign,t.onTag=t.onTag||s.onTag,t.onTagAttr=t.onTagAttr||s.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||s.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||s.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||s.safeAttrValue,t.escapeHtml=t.escapeHtml||s.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new r(t.css))}return S.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var o=this,a=o.options,A=a.whiteList,T=a.onTag,c=a.onIgnoreTag,I=a.onTagAttr,d=a.onIgnoreTagAttr,g=a.safeAttrValue,E=a.escapeHtml,b=o.attributeWrapSign,x=o.cssFilter;a.stripBlankChar&&(t=s.stripBlankChar(t)),a.allowCommentTag||(t=s.stripCommentTag(t));var k=!1;a.stripIgnoreTagBody&&(k=s.StripTagBody(a.stripIgnoreTagBody,c),c=k.onIgnoreTag);var C=f(t,function(W,U,R,P,Q){var H={sourcePosition:W,position:U,isClosing:Q,isWhite:Object.prototype.hasOwnProperty.call(A,R)},V=T(R,P,H);if(!p(V))return V;if(H.isWhite){if(H.isClosing)return"</"+R+">";var n=u(P),m=A[R],l=v(n.html,function(h,q){var F=e.indexOf(m,h)!==-1,_=I(R,h,q,F);return p(_)?F?(q=g(R,h,q,x),q?h+"="+b+q+b:h):(_=d(R,h,q,F),p(_)?void 0:_):_});return P="<"+R,l&&(P+=" "+l),n.closing&&(P+=" /"),P+=">",P}else return V=c(R,P,H),p(V)?E(P):V},E);return k&&(C=k.remove(C)),C},Y=S,Y}var ge;function ke(){return ge||(ge=1,(function(r,s){var i=me(),f=ve(),v=Te();function e(u,w){var L=new v(w);return L.process(u)}s=r.exports=e,s.filterXSS=e,s.FilterXSS=v,(function(){for(var u in i)s[u]=i[u];for(var w in f)s[w]=f[w]})(),typeof window<"u"&&(window.filterXSS=r.exports);function p(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}p()&&(self.filterXSS=r.exports)})(z,z.exports)),z.exports}var Se=ke();const de=ye.getDefaultExportFromCjs(Se);function Ee(r,s){const i=new M.marked.Renderer,f=new we;return i.link=({href:e,title:p,text:u})=>{const w=e.startsWith("/")?"_self":"_blank";return`<a href="${e}" target="${w}" title="${p||""}">${u}</a>`},X.registerHelper("formatNumber",e=>typeof e=="string"?e:re.numberFormattingFunction(e,"-")),X.registerHelper("mathExpression",e=>{const u=X.compile(e)(r);return f.eval(u)}),X.registerHelper("mathExpressionWithFormatting",e=>{const u=X.compile(e)(r),w=f.eval(u);return re.numberFormattingFunction(w,"-")}),M.marked.setOptions({renderer:i}),X.registerHelper("markdown",e=>M.marked.parse(e||"")),X.compile(s)(r)}function Le(r){return r.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}function Ce(r,s){const i={whiteList:{b:["class","id","style"],i:["class","id","style"],strong:["class","id","style"],em:["class","id","style"],u:["class","id","style"],small:["class","id","style"],sub:["class","id","style"],sup:["class","id","style"],mark:["class","id","style"],br:["class","id","style"],hr:["class","id","style"],p:["class","id","style"],div:["class","id","style"],span:["class","id","style"],blockquote:["class","id","style"],pre:["class","id","style"],code:["class","id","style"],h1:["class","id","style"],h2:["class","id","style"],h3:["class","id","style"],h4:["class","id","style"],h5:["class","id","style"],h6:["class","id","style"],ul:["class","id","style"],ol:["class","id","style"],li:["class","id","style"],dl:["class","id","style"],dt:["class","id","style"],dd:["class","id","style"],table:["class","id","style"],thead:["class","id","style"],tbody:["class","id","style"],tfoot:["class","id","style"],tr:["class","id","style"],th:["class","id","style"],td:["class","id","style"],caption:["class","id","style"],img:["class","id","style","src","alt","width","height"],figure:["class","id","style"],figcaption:["class","id","style"],a:["class","id","style","href","title"],abbr:["class","id","style","title"],cite:["class","id","style"],dfn:["class","id","style"],kbd:["class","id","style"],samp:["class","id","style"]},css:{whiteList:{color:!0,background:!0,"background-color":!0,"background-image":!0,"font-size":!0,"font-weight":!0,"text-transform":!0,"font-style":!0,"font-family":!0,"text-align":!0,margin:!0,padding:!0,border:!0,overflow:!0,"overflow-x":!0,"overflow-y":!0,"border-radius":!0,"border-color":!0,display:!0,flex:!0,"flex-direction":!0,"flex-wrap":!0,"flex-flow":!0,"flex-shrink":!0,"flex-grow":!0,order:!0,"flex-basis":!0,"align-self":!0,gap:!0,"row-gap":!0,"column-gap":!0,"justify-content":!0,"align-items":!0,"align-content":!0,width:!0,height:!0,position:!0,top:!0,left:!0,right:!0,bottom:!0,"padding-top":!0,"padding-left":!0,"padding-right":!0,"padding-bottom":!0,"margin-top":!0,"margin-left":!0,"margin-right":!0,"margin-bottom":!0,"border-top":!0,"border-left":!0,"border-right":!0,"border-bottom":!0,"z-index":!0,"word-wrap":!0,visibility:!0,opacity:!0,filter:!0,transform:!0,transition:!0,cursor:!0,clip:!0,hyphens:!0,direction:!0,"word-break":!0,"max-width":!0,"min-width":!0,"max-height":!0,"min-height":!0,fill:!0,"clip-path":!0,"border-width":!0,"border-style":!0,"box-sizing":!0,"grid-template-rows":!0,"grid-template-columns":!0,"font-variant":!0,"letter-spacing":!0,"line-height":!0,"text-decoration":!0,"text-indent":!0,"white-space":!0,"word-spacing":!0,"box-shadow":!0,"transition-property":!0,"transition-duration":!0,"transition-timing-function":!0,"animation-name":!0,"animation-duration":!0}}};if(!s)return de(r,i);const f=de(Ee(s,r),i);return Le(f)}exports.string2HTML=Ce;
|
|
3
|
+
//# sourceMappingURL=string2HTML-xx9MzTtY.cjs.map
|