@khanacademy/perseus 54.1.0 → 55.0.1

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.
Files changed (37) hide show
  1. package/LICENSE +18 -0
  2. package/dist/components/number-input.d.ts +9 -10
  3. package/dist/components/range-input.d.ts +5 -6
  4. package/dist/components/simple-keypad-input.d.ts +5 -0
  5. package/dist/components/stub-tag-editor.d.ts +3 -4
  6. package/dist/components/text-list-editor.d.ts +3 -4
  7. package/dist/es/index.css +16 -6
  8. package/dist/es/index.js +902 -985
  9. package/dist/es/index.js.map +1 -1
  10. package/dist/es/strings.js +40 -10
  11. package/dist/es/strings.js.map +1 -1
  12. package/dist/index.css +16 -6
  13. package/dist/index.js +1036 -1086
  14. package/dist/index.js.map +1 -1
  15. package/dist/mixins/changeable.d.ts +1 -2
  16. package/dist/perseus-api.d.ts +1 -56
  17. package/dist/shared-utils/add-library-version-to-perseus-debug.d.ts +9 -0
  18. package/dist/strings.d.ts +34 -4
  19. package/dist/strings.js +142 -97
  20. package/dist/strings.js.map +1 -1
  21. package/dist/widget-ai-utils/numeric-input/prompt-utils.d.ts +1 -1
  22. package/dist/widgets/dropdown/dropdown.d.ts +5 -4
  23. package/dist/widgets/interactive-graph.d.ts +4 -2
  24. package/dist/widgets/interactive-graphs/graphs/circle.d.ts +7 -0
  25. package/dist/widgets/interactive-graphs/graphs/components/movable-line.d.ts +6 -0
  26. package/dist/widgets/interactive-graphs/graphs/quadratic.d.ts +8 -0
  27. package/dist/widgets/interactive-graphs/graphs/sinusoid.d.ts +7 -0
  28. package/dist/widgets/interactive-graphs/interactive-graph-question-builder.d.ts +1 -1
  29. package/dist/widgets/interactive-graphs/stateful-mafs-graph.d.ts +6 -1
  30. package/dist/widgets/numeric-input/index.d.ts +1 -1
  31. package/dist/widgets/numeric-input/input-with-examples.d.ts +8 -0
  32. package/dist/widgets/numeric-input/numeric-input.class.d.ts +66 -0
  33. package/dist/widgets/numeric-input/numeric-input.d.ts +123 -77
  34. package/dist/widgets/numeric-input/utils.d.ts +25 -0
  35. package/package.json +120 -124
  36. package/dist/components/input-with-examples.d.ts +0 -51
  37. package/dist/components/tooltip.d.ts +0 -85
package/dist/strings.js CHANGED
@@ -166,7 +166,8 @@ const strings = {
166
166
  srPointAtCoordinates: "Point %(num)s at %(x)s comma %(y)s.",
167
167
  srCircleGraph: "A circle on a coordinate plane.",
168
168
  srCircleShape: "Circle. The center point is at %(centerX)s comma %(centerY)s.",
169
- srCircleRadiusPoint: "Radius point at %(radiusPointX)s comma %(radiusPointY)s.",
169
+ srCircleRadiusPointRight: "Right radius endpoint at %(radiusPointX)s comma %(radiusPointY)s.",
170
+ srCircleRadiusPointLeft: "Left radius endpoint at %(radiusPointX)s comma %(radiusPointY)s.",
170
171
  srCircleRadius: "Circle radius is %(radius)s.",
171
172
  srCircleOuterPoints: "Points on the circle at %(point1X)s comma %(point1Y)s, %(point2X)s comma %(point2Y)s, %(point3X)s comma %(point3Y)s, %(point4X)s comma %(point4Y)s.",
172
173
  srLinearGraph: "A line on a coordinate plane.",
@@ -178,8 +179,8 @@ const strings = {
178
179
  srLinearGraphXOnlyIntercept: "The line crosses the X-axis at %(xIntercept)s comma 0.",
179
180
  srLinearGraphYOnlyIntercept: "The line crosses the Y-axis at 0 comma %(yIntercept)s.",
180
181
  srLinearGraphBothIntercepts: "The line crosses the X-axis at %(xIntercept)s comma 0 and the Y-axis at 0 comma %(yIntercept)s.",
181
- srLinearGraphOriginIntercept: "The line crosses the x and y axes at the graph's origin.",
182
- srLinearGrabHandle: "Line from %(point1X)s comma %(point1Y)s to %(point2X)s comma %(point2Y)s.",
182
+ srLinearGraphOriginIntercept: "The line crosses the X and Y axes at the graph's origin.",
183
+ srLinearGrabHandle: "Line going through point %(point1X)s comma %(point1Y)s and point %(point2X)s comma %(point2Y)s.",
183
184
  srAngleStartingSide: "Point 3, starting side at %(x)s comma %(y)s.",
184
185
  srAngleEndingSide: "Point 2, ending side at %(x)s comma %(y)s.",
185
186
  srAngleVertex: "Point 1, vertex at %(x)s comma %(y)s.",
@@ -198,6 +199,9 @@ const strings = {
198
199
  srLinearSystemGraph: "Two lines on a coordinate plane.",
199
200
  srLinearSystemPoints: "Line %(lineNumber)s has two points, point 1 at %(point1X)s comma %(point1Y)s and point 2 at %(point2X)s comma %(point2Y)s.",
200
201
  srLinearSystemPoint: "Point %(pointSequence)s on line %(lineNumber)s at %(x)s comma %(y)s.",
202
+ srLinearSystemGrabHandle: "Line %(lineNumber)s going through point %(point1X)s comma %(point1Y)s and point %(point2X)s comma %(point2Y)s.",
203
+ srLinearSystemIntersection: "Line 1 and line 2 intersect at point %(x)s comma %(y)s.",
204
+ srLinearSystemParallel: "Line 1 and line 2 are parallel.",
201
205
  srRayGraph: "A ray on a coordinate plane.",
202
206
  srRayPoints: "The endpoint is at %(point1X)s comma %(point1Y)s and the ray goes through point %(point2X)s comma %(point2Y)s.",
203
207
  srRayGrabHandle: "Ray with endpoint %(point1X)s comma %(point1Y)s going through point %(point2X)s comma %(point2Y)s.",
@@ -230,7 +234,9 @@ const strings = {
230
234
  srUnlimitedPolygonEmpty: "An empty coordinate plane.",
231
235
  srSinusoidGraph: "A sinusoid function on a coordinate plane.",
232
236
  srSinusoidRootPoint: "Midline intersection at %(x)s comma %(y)s.",
233
- srSinusoidPeakPoint: "Extremum point at %(x)s comma %(y)s.",
237
+ srSinusoidMaxPoint: "Maximum point at %(x)s comma %(y)s.",
238
+ srSinusoidMinPoint: "Minimum point at %(x)s comma %(y)s.",
239
+ srSinusoidFlatPoint: "Line through point at %(x)s comma %(y)s.",
234
240
  srSinusoidDescription: "The graph shows a wave with a minimum value of %(minValue)s and a maximum value of %(maxValue)s. The wave completes a full cycle from %(cycleStart)s to %(cycleEnd)s.",
235
241
  srSinusoidInteractiveElements: "Sinusoid graph with midline intersection point at %(point1X)s comma %(point1Y)s and extremum point at %(point2X)s comma %(point2Y)s."
236
242
  // The above strings are used for interactive graph SR descriptions.
@@ -527,20 +533,27 @@ const mockStrings = {
527
533
  } = _ref29;
528
534
  return `Circle. The center point is at ${centerX} comma ${centerY}.`;
529
535
  },
530
- srCircleRadiusPoint: _ref30 => {
536
+ srCircleRadiusPointRight: _ref30 => {
531
537
  let {
532
538
  radiusPointX,
533
539
  radiusPointY
534
540
  } = _ref30;
535
- return `Radius point at ${radiusPointX} comma ${radiusPointY}.`;
541
+ return `Right radius endpoint at ${radiusPointX} comma ${radiusPointY}.`;
536
542
  },
537
- srCircleRadius: _ref31 => {
543
+ srCircleRadiusPointLeft: _ref31 => {
538
544
  let {
539
- radius
545
+ radiusPointX,
546
+ radiusPointY
540
547
  } = _ref31;
548
+ return `Left radius endpoint at ${radiusPointX} comma ${radiusPointY}.`;
549
+ },
550
+ srCircleRadius: _ref32 => {
551
+ let {
552
+ radius
553
+ } = _ref32;
541
554
  return `Circle radius is ${radius}.`;
542
555
  },
543
- srCircleOuterPoints: _ref32 => {
556
+ srCircleOuterPoints: _ref33 => {
544
557
  let {
545
558
  point1X,
546
559
  point1Y,
@@ -550,83 +563,83 @@ const mockStrings = {
550
563
  point3Y,
551
564
  point4X,
552
565
  point4Y
553
- } = _ref32;
566
+ } = _ref33;
554
567
  return `Points on the circle at ${point1X} comma ${point1Y}, ${point2X} comma ${point2Y}, ${point3X} comma ${point3Y}, ${point4X} comma ${point4Y}.`;
555
568
  },
556
569
  srLinearGraph: "A line on a coordinate plane.",
557
- srLinearGraphPoints: _ref33 => {
570
+ srLinearGraphPoints: _ref34 => {
558
571
  let {
559
572
  point1X,
560
573
  point1Y,
561
574
  point2X,
562
575
  point2Y
563
- } = _ref33;
576
+ } = _ref34;
564
577
  return `The line has two points, point 1 at ${point1X} comma ${point1Y} and point 2 at ${point2X} comma ${point2Y}.`;
565
578
  },
566
579
  srLinearGraphSlopeIncreasing: "Its slope increases from left to right.",
567
580
  srLinearGraphSlopeDecreasing: "Its slope decreases from left to right.",
568
581
  srLinearGraphSlopeHorizontal: "Its slope is zero.",
569
582
  srLinearGraphSlopeVertical: "Its slope is undefined.",
570
- srLinearGraphXOnlyIntercept: _ref34 => {
583
+ srLinearGraphXOnlyIntercept: _ref35 => {
571
584
  let {
572
585
  xIntercept
573
- } = _ref34;
586
+ } = _ref35;
574
587
  return `The line crosses the X-axis at ${xIntercept} comma 0.`;
575
588
  },
576
- srLinearGraphYOnlyIntercept: _ref35 => {
589
+ srLinearGraphYOnlyIntercept: _ref36 => {
577
590
  let {
578
591
  yIntercept
579
- } = _ref35;
592
+ } = _ref36;
580
593
  return `The line crosses the Y-axis at 0 comma ${yIntercept}.`;
581
594
  },
582
- srLinearGraphBothIntercepts: _ref36 => {
595
+ srLinearGraphBothIntercepts: _ref37 => {
583
596
  let {
584
597
  xIntercept,
585
598
  yIntercept
586
- } = _ref36;
599
+ } = _ref37;
587
600
  return `The line crosses the X-axis at ${xIntercept} comma 0 and the Y-axis at 0 comma ${yIntercept}.`;
588
601
  },
589
- srLinearGraphOriginIntercept: "The line crosses the x and y axes at the graph's origin.",
590
- srLinearGrabHandle: _ref37 => {
602
+ srLinearGraphOriginIntercept: "The line crosses the X and Y axes at the graph's origin.",
603
+ srLinearGrabHandle: _ref38 => {
591
604
  let {
592
605
  point1X,
593
606
  point1Y,
594
607
  point2X,
595
608
  point2Y
596
- } = _ref37;
597
- return `Line from ${point1X} comma ${point1Y} to ${point2X} comma ${point2Y}.`;
609
+ } = _ref38;
610
+ return `Line going through point ${point1X} comma ${point1Y} and point ${point2X} comma ${point2Y}.`;
598
611
  },
599
- srAngleStartingSide: _ref38 => {
612
+ srAngleStartingSide: _ref39 => {
600
613
  let {
601
614
  x,
602
615
  y
603
- } = _ref38;
616
+ } = _ref39;
604
617
  return `Point 3, starting side at ${x} comma ${y}.`;
605
618
  },
606
- srAngleEndingSide: _ref39 => {
619
+ srAngleEndingSide: _ref40 => {
607
620
  let {
608
621
  x,
609
622
  y
610
- } = _ref39;
623
+ } = _ref40;
611
624
  return `Point 2, ending side at ${x} comma ${y}.`;
612
625
  },
613
- srAngleVertex: _ref40 => {
626
+ srAngleVertex: _ref41 => {
614
627
  let {
615
628
  x,
616
629
  y
617
- } = _ref40;
630
+ } = _ref41;
618
631
  return `Point 1, vertex at ${x} comma ${y}.`;
619
632
  },
620
- srAngleVertexWithAngleMeasure: _ref41 => {
633
+ srAngleVertexWithAngleMeasure: _ref42 => {
621
634
  let {
622
635
  x,
623
636
  y,
624
637
  angleMeasure
625
- } = _ref41;
638
+ } = _ref42;
626
639
  return `Point 1, vertex at ${x} comma ${y}. Angle ${angleMeasure} degrees.`;
627
640
  },
628
641
  srAngleGraphAriaLabel: "An angle on a coordinate plane.",
629
- srAngleGraphAriaDescription: _ref42 => {
642
+ srAngleGraphAriaDescription: _ref43 => {
630
643
  let {
631
644
  angleMeasure,
632
645
  vertexX,
@@ -635,10 +648,10 @@ const mockStrings = {
635
648
  startingSideY,
636
649
  endingSideX,
637
650
  endingSideY
638
- } = _ref42;
651
+ } = _ref43;
639
652
  return `The angle measure is ${angleMeasure} degrees with a vertex at ${vertexX} comma ${vertexY}, a point on the starting side at ${startingSideX} comma ${startingSideY} and a point on the ending side at ${endingSideX} comma ${endingSideY}.`;
640
653
  },
641
- srAngleInteractiveElements: _ref43 => {
654
+ srAngleInteractiveElements: _ref44 => {
642
655
  let {
643
656
  vertexX,
644
657
  vertexY,
@@ -646,118 +659,136 @@ const mockStrings = {
646
659
  startingSideY,
647
660
  endingSideX,
648
661
  endingSideY
649
- } = _ref43;
662
+ } = _ref44;
650
663
  return `An angle formed by 3 points. The vertex is at ${vertexX} comma ${vertexY}. The starting side point is at ${startingSideX} comma ${startingSideY}. The ending side point is at ${endingSideX} comma ${endingSideY}.`;
651
664
  },
652
665
  srSingleSegmentGraphAriaLabel: "A line segment on a coordinate plane.",
653
- srMultipleSegmentGraphAriaLabel: _ref44 => {
666
+ srMultipleSegmentGraphAriaLabel: _ref45 => {
654
667
  let {
655
668
  countOfSegments
656
- } = _ref44;
669
+ } = _ref45;
657
670
  return `${countOfSegments} segments on a coordinate plane.`;
658
671
  },
659
- srMultipleSegmentIndividualLabel: _ref45 => {
672
+ srMultipleSegmentIndividualLabel: _ref46 => {
660
673
  let {
661
674
  point1X,
662
675
  point1Y,
663
676
  point2X,
664
677
  point2Y,
665
678
  indexOfSegment
666
- } = _ref45;
679
+ } = _ref46;
667
680
  return `Segment ${indexOfSegment}: Endpoint 1 at ${point1X} comma ${point1Y}. Endpoint 2 at ${point2X} comma ${point2Y}.`;
668
681
  },
669
- srSingleSegmentLabel: _ref46 => {
682
+ srSingleSegmentLabel: _ref47 => {
670
683
  let {
671
684
  point1X,
672
685
  point1Y,
673
686
  point2X,
674
687
  point2Y
675
- } = _ref46;
688
+ } = _ref47;
676
689
  return `Endpoint 1 at ${point1X} comma ${point1Y}. Endpoint 2 at ${point2X} comma ${point2Y}.`;
677
690
  },
678
- srSegmentLength: _ref47 => {
691
+ srSegmentLength: _ref48 => {
679
692
  let {
680
693
  length
681
- } = _ref47;
694
+ } = _ref48;
682
695
  return `Segment length ${length} units.`;
683
696
  },
684
- srSingleSegmentGraphEndpointAriaLabel: _ref48 => {
697
+ srSingleSegmentGraphEndpointAriaLabel: _ref49 => {
685
698
  let {
686
699
  endpointNumber,
687
700
  x,
688
701
  y
689
- } = _ref48;
702
+ } = _ref49;
690
703
  return `Endpoint ${endpointNumber} at ${x} comma ${y}.`;
691
704
  },
692
- srMultipleSegmentGraphEndpointAriaLabel: _ref49 => {
705
+ srMultipleSegmentGraphEndpointAriaLabel: _ref50 => {
693
706
  let {
694
707
  endpointNumber,
695
708
  x,
696
709
  y,
697
710
  indexOfSegment
698
- } = _ref49;
711
+ } = _ref50;
699
712
  return `Endpoint ${endpointNumber} on segment ${indexOfSegment} at ${x} comma ${y}.`;
700
713
  },
701
- srSegmentGrabHandle: _ref50 => {
714
+ srSegmentGrabHandle: _ref51 => {
702
715
  let {
703
716
  point1X,
704
717
  point1Y,
705
718
  point2X,
706
719
  point2Y
707
- } = _ref50;
720
+ } = _ref51;
708
721
  return `Segment from ${point1X} comma ${point1Y} to ${point2X} comma ${point2Y}.`;
709
722
  },
710
723
  srLinearSystemGraph: "Two lines on a coordinate plane.",
711
- srLinearSystemPoints: _ref51 => {
724
+ srLinearSystemPoints: _ref52 => {
712
725
  let {
713
726
  lineNumber,
714
727
  point1X,
715
728
  point1Y,
716
729
  point2X,
717
730
  point2Y
718
- } = _ref51;
731
+ } = _ref52;
719
732
  return `Line ${lineNumber} has two points, point 1 at ${point1X} comma ${point1Y} and point 2 at ${point2X} comma ${point2Y}.`;
720
733
  },
721
- srLinearSystemPoint: _ref52 => {
734
+ srLinearSystemPoint: _ref53 => {
722
735
  let {
723
736
  lineNumber,
724
737
  pointSequence,
725
738
  x,
726
739
  y
727
- } = _ref52;
740
+ } = _ref53;
728
741
  return `Point ${pointSequence} on line ${lineNumber} at ${x} comma ${y}.`;
729
742
  },
743
+ srLinearSystemGrabHandle: _ref54 => {
744
+ let {
745
+ lineNumber,
746
+ point1X,
747
+ point1Y,
748
+ point2X,
749
+ point2Y
750
+ } = _ref54;
751
+ return `Line ${lineNumber} going through point ${point1X} comma ${point1Y} and point ${point2X} comma ${point2Y}.`;
752
+ },
753
+ srLinearSystemIntersection: _ref55 => {
754
+ let {
755
+ x,
756
+ y
757
+ } = _ref55;
758
+ return `Line 1 and line 2 intersect at point ${x} comma ${y}.`;
759
+ },
760
+ srLinearSystemParallel: "Line 1 and line 2 are parallel.",
730
761
  srRayGraph: "A ray on a coordinate plane.",
731
- srRayPoints: _ref53 => {
762
+ srRayPoints: _ref56 => {
732
763
  let {
733
764
  point1X,
734
765
  point1Y,
735
766
  point2X,
736
767
  point2Y
737
- } = _ref53;
768
+ } = _ref56;
738
769
  return `The endpoint is at ${point1X} comma ${point1Y} and the ray goes through point ${point2X} comma ${point2Y}.`;
739
770
  },
740
- srRayGrabHandle: _ref54 => {
771
+ srRayGrabHandle: _ref57 => {
741
772
  let {
742
773
  point1X,
743
774
  point1Y,
744
775
  point2X,
745
776
  point2Y
746
- } = _ref54;
777
+ } = _ref57;
747
778
  return `Ray with endpoint ${point1X} comma ${point1Y} going through point ${point2X} comma ${point2Y}.`;
748
779
  },
749
- srRayEndpoint: _ref55 => {
780
+ srRayEndpoint: _ref58 => {
750
781
  let {
751
782
  x,
752
783
  y
753
- } = _ref55;
784
+ } = _ref58;
754
785
  return `Endpoint at ${x} comma ${y}.`;
755
786
  },
756
- srRayTerminalPoint: _ref56 => {
787
+ srRayTerminalPoint: _ref59 => {
757
788
  let {
758
789
  x,
759
790
  y
760
- } = _ref56;
791
+ } = _ref59;
761
792
  return `Through point at ${x} comma ${y}.`;
762
793
  },
763
794
  srQuadraticGraph: "A parabola on a 4-quadrant coordinate plane.",
@@ -766,55 +797,55 @@ const mockStrings = {
766
797
  srQuadraticGraphVertexOrigin: "Vertex is at the origin.",
767
798
  srQuadraticGraphVertexXAxis: "Vertex is on the X-axis.",
768
799
  srQuadraticGraphVertexYAxis: "Vertex is on the Y-axis.",
769
- srQuadraticGraphVertexQuadrant: _ref57 => {
800
+ srQuadraticGraphVertexQuadrant: _ref60 => {
770
801
  let {
771
802
  quadrant
772
- } = _ref57;
803
+ } = _ref60;
773
804
  return `Vertex is in quadrant ${quadrant}.`;
774
805
  },
775
- srQuadraticTwoXIntercepts: _ref58 => {
806
+ srQuadraticTwoXIntercepts: _ref61 => {
776
807
  let {
777
808
  intercept1,
778
809
  intercept2
779
- } = _ref58;
810
+ } = _ref61;
780
811
  return `The X-intercepts are at ${intercept1} comma 0 and ${intercept2} comma 0.`;
781
812
  },
782
- srQuadraticOneXIntercept: _ref59 => {
813
+ srQuadraticOneXIntercept: _ref62 => {
783
814
  let {
784
815
  intercept
785
- } = _ref59;
816
+ } = _ref62;
786
817
  return `The X-intercept is at ${intercept} comma 0.`;
787
818
  },
788
- srQuadraticYIntercept: _ref60 => {
819
+ srQuadraticYIntercept: _ref63 => {
789
820
  let {
790
821
  intercept
791
- } = _ref60;
822
+ } = _ref63;
792
823
  return `The Y-intercept is at 0 comma ${intercept}.`;
793
824
  },
794
- srQuadraticPointOrigin: _ref61 => {
825
+ srQuadraticPointOrigin: _ref64 => {
795
826
  let {
796
827
  pointNumber
797
- } = _ref61;
828
+ } = _ref64;
798
829
  return `Point ${pointNumber} on parabola at the origin.`;
799
830
  },
800
- srQuadraticPointAxis: _ref62 => {
831
+ srQuadraticPointAxis: _ref65 => {
801
832
  let {
802
833
  pointNumber,
803
834
  x,
804
835
  y
805
- } = _ref62;
836
+ } = _ref65;
806
837
  return `Point ${pointNumber} on parabola at ${x} comma ${y}.`;
807
838
  },
808
- srQuadraticPointQuadrant: _ref63 => {
839
+ srQuadraticPointQuadrant: _ref66 => {
809
840
  let {
810
841
  pointNumber,
811
842
  x,
812
843
  y,
813
844
  quadrant
814
- } = _ref63;
845
+ } = _ref66;
815
846
  return `Point ${pointNumber} on parabola in quadrant ${quadrant} at ${x} comma ${y}.`;
816
847
  },
817
- srQuadraticInteractiveElements: _ref64 => {
848
+ srQuadraticInteractiveElements: _ref67 => {
818
849
  let {
819
850
  point1X,
820
851
  point1Y,
@@ -822,83 +853,97 @@ const mockStrings = {
822
853
  point2Y,
823
854
  point3X,
824
855
  point3Y
825
- } = _ref64;
856
+ } = _ref67;
826
857
  return `Parabola with points at ${point1X} comma ${point1Y}, ${point2X} comma ${point2Y}, and ${point3X} comma ${point3Y}.`;
827
858
  },
828
859
  srPolygonGraph: "A polygon.",
829
860
  srPolygonGraphCoordinatePlane: "A polygon on a coordinate plane.",
830
- srPolygonGraphPointsNum: _ref65 => {
861
+ srPolygonGraphPointsNum: _ref68 => {
831
862
  let {
832
863
  num
833
- } = _ref65;
864
+ } = _ref68;
834
865
  return `The polygon has ${num} points.`;
835
866
  },
836
867
  srPolygonGraphPointsOne: "The polygon has 1 point.",
837
- srPolygonElementsNum: _ref66 => {
868
+ srPolygonElementsNum: _ref69 => {
838
869
  let {
839
870
  num
840
- } = _ref66;
871
+ } = _ref69;
841
872
  return `A polygon with ${num} points.`;
842
873
  },
843
874
  srPolygonElementsOne: "A polygon with 1 point.",
844
- srPolygonPointAngleApprox: _ref67 => {
875
+ srPolygonPointAngleApprox: _ref70 => {
845
876
  let {
846
877
  angle
847
- } = _ref67;
878
+ } = _ref70;
848
879
  return `Angle approximately equal to ${angle} degrees.`;
849
880
  },
850
- srPolygonPointAngle: _ref68 => {
881
+ srPolygonPointAngle: _ref71 => {
851
882
  let {
852
883
  angle
853
- } = _ref68;
884
+ } = _ref71;
854
885
  return `Angle equal to ${angle} degrees.`;
855
886
  },
856
- srPolygonSideLength: _ref69 => {
887
+ srPolygonSideLength: _ref72 => {
857
888
  let {
858
889
  pointNum,
859
890
  length
860
- } = _ref69;
891
+ } = _ref72;
861
892
  return `A line segment, length equal to ${length} units, connects to point ${pointNum}.`;
862
893
  },
863
- srPolygonSideLengthApprox: _ref70 => {
894
+ srPolygonSideLengthApprox: _ref73 => {
864
895
  let {
865
896
  pointNum,
866
897
  length
867
- } = _ref70;
898
+ } = _ref73;
868
899
  return `A line segment, length approximately equal to ${length} units, connects to point ${pointNum}.`;
869
900
  },
870
901
  srUnlimitedPolygonEmpty: "An empty coordinate plane.",
871
902
  srSinusoidGraph: "A sinusoid function on a coordinate plane.",
872
- srSinusoidRootPoint: _ref71 => {
903
+ srSinusoidRootPoint: _ref74 => {
873
904
  let {
874
905
  x,
875
906
  y
876
- } = _ref71;
907
+ } = _ref74;
877
908
  return `Midline intersection at ${x} comma ${y}.`;
878
909
  },
879
- srSinusoidPeakPoint: _ref72 => {
910
+ srSinusoidMaxPoint: _ref75 => {
880
911
  let {
881
912
  x,
882
913
  y
883
- } = _ref72;
884
- return `Extremum point at ${x} comma ${y}.`;
914
+ } = _ref75;
915
+ return `Maximum point at ${x} comma ${y}.`;
916
+ },
917
+ srSinusoidMinPoint: _ref76 => {
918
+ let {
919
+ x,
920
+ y
921
+ } = _ref76;
922
+ return `Minimum point at ${x} comma ${y}.`;
885
923
  },
886
- srSinusoidDescription: _ref73 => {
924
+ srSinusoidFlatPoint: _ref77 => {
925
+ let {
926
+ x,
927
+ y
928
+ } = _ref77;
929
+ return `Line through point at ${x} comma ${y}.`;
930
+ },
931
+ srSinusoidDescription: _ref78 => {
887
932
  let {
888
933
  minValue,
889
934
  maxValue,
890
935
  cycleStart,
891
936
  cycleEnd
892
- } = _ref73;
937
+ } = _ref78;
893
938
  return `The graph shows a wave with a minimum value of ${minValue} and a maximum value of ${maxValue}. The wave completes a full cycle from ${cycleStart} to ${cycleEnd}.`;
894
939
  },
895
- srSinusoidInteractiveElements: _ref74 => {
940
+ srSinusoidInteractiveElements: _ref79 => {
896
941
  let {
897
942
  point1X,
898
943
  point1Y,
899
944
  point2X,
900
945
  point2Y
901
- } = _ref74;
946
+ } = _ref79;
902
947
  return `Sinusoid graph with midline intersection point at ${point1X} comma ${point1Y} and extremum point at ${point2X} comma ${point2Y}.`;
903
948
  }
904
949
  // The above strings are used for interactive graph SR descriptions.