@khanacademy/perseus 1.1.2 → 1.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/index.js CHANGED
@@ -20,13 +20,14 @@ var pureMarkdown = require('@khanacademy/pure-markdown');
20
20
  var aphrodite = require('aphrodite');
21
21
  var MathQuill = require('mathquill');
22
22
  var wonderBlocksForm = require('@khanacademy/wonder-blocks-form');
23
- var wonderBlocksPopover = require('@khanacademy/wonder-blocks-popover');
23
+ var Spacing = require('@khanacademy/wonder-blocks-spacing');
24
+ var Tooltip$1 = require('@khanacademy/wonder-blocks-tooltip');
24
25
  var Button = require('@khanacademy/wonder-blocks-button');
25
26
  var Clickable = require('@khanacademy/wonder-blocks-clickable');
26
27
  var Color = require('@khanacademy/wonder-blocks-color');
27
28
  var wonderBlocksCore = require('@khanacademy/wonder-blocks-core');
28
29
  var wonderBlocksLayout = require('@khanacademy/wonder-blocks-layout');
29
- var Spacing = require('@khanacademy/wonder-blocks-spacing');
30
+ var wonderBlocksPopover = require('@khanacademy/wonder-blocks-popover');
30
31
  var wonderBlocksDropdown = require('@khanacademy/wonder-blocks-dropdown');
31
32
  var debounce = require('lodash.debounce');
32
33
  var Link = require('@khanacademy/wonder-blocks-link');
@@ -64,10 +65,11 @@ var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
64
65
  var createReactClass__default = /*#__PURE__*/_interopDefaultLegacy(createReactClass);
65
66
  var SimpleMarkdown__default = /*#__PURE__*/_interopDefaultLegacy(SimpleMarkdown);
66
67
  var MathQuill__default = /*#__PURE__*/_interopDefaultLegacy(MathQuill);
68
+ var Spacing__default = /*#__PURE__*/_interopDefaultLegacy(Spacing);
69
+ var Tooltip__default = /*#__PURE__*/_interopDefaultLegacy(Tooltip$1);
67
70
  var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
68
71
  var Clickable__default = /*#__PURE__*/_interopDefaultLegacy(Clickable);
69
72
  var Color__default = /*#__PURE__*/_interopDefaultLegacy(Color);
70
- var Spacing__default = /*#__PURE__*/_interopDefaultLegacy(Spacing);
71
73
  var debounce__default = /*#__PURE__*/_interopDefaultLegacy(debounce);
72
74
  var Link__default = /*#__PURE__*/_interopDefaultLegacy(Link);
73
75
 
@@ -24481,1192 +24483,52 @@ const styles$y = aphrodite.StyleSheet.create({
24481
24483
  }
24482
24484
  });
24483
24485
 
24484
- const black = "#000000";
24485
- const grayDarker = "#333333";
24486
- const grayDark = "#555555";
24487
- const gray = "#999999";
24488
- const grayLight = "#AAAAAA";
24489
- const grayLighter = "#DDDDDD";
24490
- const white = "#FFFFFF";
24491
- const blue = "#005A88";
24492
- const blueDark = "#2C3747";
24493
- const green = "#76A005";
24494
- const red = "#CF5044";
24495
- const yellow = "#FFC40D";
24496
- const orange = "#BF4F04";
24497
- const pink = "#C3325F";
24498
- const purple = "#7A43B6";
24499
- const bodyBackground = "#FFFFFF";
24500
- const textColor = "#444444";
24501
- const linkColor = "#005987";
24502
- const linkColorHover = "#678D00";
24503
- const sansFontFamily = "'Helvetica Neue',Helvetica,Arial,sans-serif";
24504
- const serifFontFamily = "Georgia,'Times New Roman',Times,serif";
24505
- const monoFontFamily = "Monaco,Menlo,Consolas,'Courier New',monospace";
24506
- const baseFontSize = "14px";
24507
- const baseFontFamily = "inherit";
24508
- const baseLineHeight = "20px";
24509
- const altFontFamily = "Georgia,'Times New Roman',Times,serif";
24510
- const headingsFontFamily = "inherit";
24511
- const headingsFontWeight = "bold";
24512
- const headingsColor = "inherit";
24513
- const fontSizeLarge = "18px";
24514
- const fontSizeSmall = "12px";
24515
- const fontSizeMini = "10.5px";
24516
- const paddingLarge = "11px 19px";
24517
- const paddingSmall = "2px 10px";
24518
- const paddingMini = "0 6px";
24519
- const baseBorderRadius = "4px";
24520
- const borderRadiusLarge = "6px";
24521
- const borderRadiusSmall = "3px";
24522
- const tableBackground = "#000000";
24523
- const tableBackgroundAccent = "#F9F9F9";
24524
- const tableBackgroundHover = "#F5F5F5";
24525
- const tableBorder = "#DDDDDD";
24526
- const btnBackground = "#FFFFFF";
24527
- const btnBackgroundHighlight = "rgb(230, 230, 230)";
24528
- const btnBorder = "#CCCCCC";
24529
- const btnPrimaryBackground = "#0088CC";
24530
- const btnPrimaryBackgroundHighlight = "rgb(0, 68, 204)";
24531
- const btnInfoBackground = "#5BC0DE";
24532
- const btnInfoBackgroundHighlight = "#2F96B4";
24533
- const btnSuccessBackground = "#62C462";
24534
- const btnSuccessBackgroundHighlight = "#51A351";
24535
- const btnWarningBackground = "rgb(251, 180, 81)";
24536
- const btnWarningBackgroundHighlight = "#F89406";
24537
- const btnDangerBackground = "#EE5F5B";
24538
- const btnDangerBackgroundHighlight = "#BD362F";
24539
- const btnInverseBackground = "#444444";
24540
- const btnInverseBackgroundHighlight = "#222222";
24541
- const inputBackground = "#FFFFFF";
24542
- const inputBorder = "#CCCCCC";
24543
- const inputBorderRadius = "4px";
24544
- const inputDisabledBackground = "#EEEEEE";
24545
- const formActionsBackground = "#F5F5F5";
24546
- const inputHeight = "30px";
24547
- const dropdownBackground = "#FFFFFF";
24548
- const dropdownBorder = "rgba(0, 0, 0, 0.2)";
24549
- const dropdownDividerTop = "#E5E5E5";
24550
- const dropdownDividerBottom = "#FFFFFF";
24551
- const dropdownLinkColor = "#333333";
24552
- const dropdownLinkColorHover = "#FFFFFF";
24553
- const dropdownLinkColorActive = "#FFFFFF";
24554
- const dropdownLinkBackgroundActive = "#0088CC";
24555
- const dropdownLinkBackgroundHover = "#0088CC";
24556
- const zindexDropdown = 1000;
24557
- const zindexPopover = 1010;
24558
- const zindexTooltip = 1030;
24559
- const zindexFixedNavbar = 1030;
24560
- const zindexHeader = 1060;
24561
- const zindexModalBackdrop = 1070;
24562
- const zindexModal = 1080;
24563
- const zindexAboveModal = 1090;
24564
- const iconSpritePath = "../img/glyphicons-halflings.png";
24565
- const iconWhiteSpritePath = "../img/glyphicons-halflings-white.png";
24566
- const placeholderText = "#999999";
24567
- const hrBorder = "#EEEEEE";
24568
- const horizontalComponentOffset = "180px";
24569
- const wellBackground = "#F5F5F5";
24570
- const navbarCollapseWidth = "979px";
24571
- const navbarCollapseDesktopWidth = "980px";
24572
- const navbarHeight = "40px";
24573
- const navbarBackgroundHighlight = "#FFFFFF";
24574
- const navbarBackground = "rgb(242, 242, 242)";
24575
- const navbarBorder = "rgb(212, 212, 212)";
24576
- const navbarText = "#777777";
24577
- const navbarLinkColor = "#777777";
24578
- const navbarLinkColorHover = "#333333";
24579
- const navbarLinkColorActive = "#555555";
24580
- const navbarLinkBackgroundHover = "#000000";
24581
- const navbarLinkBackgroundActive = "rgb(230, 230, 230)";
24582
- const navbarBrandColor = "#777777";
24583
- const navbarInverseBackground = "#111111";
24584
- const navbarInverseBackgroundHighlight = "#222222";
24585
- const navbarInverseBorder = "#252525";
24586
- const navbarInverseText = "#999999";
24587
- const navbarInverseLinkColor = "#999999";
24588
- const navbarInverseLinkColorHover = "#FFFFFF";
24589
- const navbarInverseLinkColorActive = "#FFFFFF";
24590
- const navbarInverseLinkBackgroundHover = "#000000";
24591
- const navbarInverseLinkBackgroundActive = "#111111";
24592
- const navbarInverseSearchBackground = "rgb(82, 82, 82)";
24593
- const navbarInverseSearchBackgroundFocus = "#FFFFFF";
24594
- const navbarInverseSearchBorder = "#111111";
24595
- const navbarInverseSearchPlaceholderColor = "#CCCCCC";
24596
- const navbarInverseBrandColor = "#999999";
24597
- const paginationBackground = "#FFFFFF";
24598
- const paginationBorder = "#DDDDDD";
24599
- const paginationActiveBackground = "#F5F5F5";
24600
- const heroUnitBackground = "#EEEEEE";
24601
- const heroUnitHeadingColor = "inherit";
24602
- const heroUnitLeadColor = "inherit";
24603
- const warningText = "#C09853";
24604
- const warningBackground = "#FCF8E3";
24605
- const warningBorder = "rgb(251, 239, 213)";
24606
- const errorText = "#B94A48";
24607
- const errorBackground = "#F2DEDE";
24608
- const errorBorder = "rgb(238, 211, 215)";
24609
- const successText = "#468847";
24610
- const successBackground = "#DFF0D8";
24611
- const successBorder = "rgb(212, 232, 197)";
24612
- const infoText = "#4A7C17";
24613
- const infoBackground = "#EDF2DF";
24614
- const infoBorder = "rgb(228, 232, 197)";
24615
- const tooltipColor = "#FFFFFF";
24616
- const tooltipBackground = "#000000";
24617
- const tooltipArrowWidth = "5px";
24618
- const tooltipArrowColor = "#000000";
24619
- const popoverBackground = "#FFFFFF";
24620
- const popoverArrowWidth = "10px";
24621
- const popoverArrowColor = "#FFFFFF";
24622
- const popoverTitleBackground = "rgb(247, 247, 247)";
24623
- const popoverArrowOuterWidth = "11px";
24624
- const popoverArrowOuterColor = "rgba(0, 0, 0, 0.25)";
24625
- const gridColumns = "12";
24626
- const gridColumnWidth = "60px";
24627
- const gridGutterWidth = "20px";
24628
- const gridRowWidth = "940px";
24629
- const gridColumnWidth1200 = "70px";
24630
- const gridGutterWidth1200 = "30px";
24631
- const gridRowWidth1200 = "1170px";
24632
- const gridColumnWidth768 = "42px";
24633
- const gridGutterWidth768 = "20px";
24634
- const gridRowWidth768 = "724px";
24635
- const fluidGridColumnWidth = "6.382978723404255%";
24636
- const fluidGridGutterWidth = "2.127659574468085%";
24637
- const fluidGridColumnWidth1200 = "5.982905982905983%";
24638
- const fluidGridGutterWidth1200 = "2.564102564102564%";
24639
- const fluidGridColumnWidth768 = "5.801104972375691%";
24640
- const fluidGridGutterWidth768 = "2.7624309392265194%";
24641
- const kaGreen = "#71B307";
24642
- const kaGreenLight = "#BED47A";
24643
- const kaBlue = "#314453";
24644
- const kaBlueLight = "#4D6779";
24645
- const grayExtraDark = "#111111";
24646
- const grayExtraLight = "#EEEEEE";
24647
- const graySuperLight = "#F7F7F7";
24648
- const whiteDark = "#FDFDFD";
24649
- const dark = "#21242C";
24650
- const blueDarkUnsaturated = "#3B414E";
24651
- const blueDarkSaturated = "#1F3043";
24652
- const blueLight = "#A9C0D1";
24653
- const greenLight = "#C6D1AD";
24654
- const greenDark = "#356700";
24655
- const yellowGreen = "#9DB63B";
24656
- const okGreen = "#A7CF5B";
24657
- const alertRed = "#C42420";
24658
- const coral = "#EE6666";
24659
- const grayBlue = "#9AB3B9";
24660
- const lightPageBackground = "#FDFDFD";
24661
- const yclaBlue = "#49BAD5";
24662
- const yclaTeal = "#56D0B3";
24663
- const yclaTealDark = "#50C1A7";
24664
- const yclaGreenDark = "#3D9A82";
24665
- const yclaGreen = "#81C262";
24666
- const learnstormBlue = "#4898FC";
24667
- const homepageBlue = "#46A8BF";
24668
- const backgroundBlue = "#00294A";
24669
- const teacherSignupBlue = "#335d7d";
24670
- const homepageGreen = "#2B8E7B";
24671
- const streakColor = "#F79734";
24672
- const facebookColor = "#1A60A2";
24673
- const blueGoogleColor = "#2CAFE2";
24674
- const redGoogleColor = "#BF4434";
24675
- const homepageColor = "#2D585E";
24676
- const lightTextColor = "#898989";
24677
- const fontSizeTiny = "11px";
24678
- const fontSizeNormal = "14px";
24679
- const fontSizeMedium = "16px";
24680
- const fontSizeExtraLarge = "24px";
24681
- const fontSizeHuge = "36px";
24682
- const fontSizeBakana = "48px";
24683
- const fontSizeBananas = "60px";
24684
- const fixedWidthFontFamily = "'Helvetica Neue',Helvetica,Arial,sans-serif";
24685
- const contentPadding = "20px";
24686
- const primaryButtonBackground = "#89B908";
24687
- const primaryButtonBorder = "#76A005";
24688
- const buttonTextColor = "rgb(122, 122, 122)";
24689
- const buttonBorderRadius = "3px";
24690
- const basicBorderColor = "#CCCCCC";
24691
- const minContainerWidth = "1000px";
24692
- const maxContainerWidth = "1200px";
24693
- const formHintColor = "#999999";
24694
- const guidelineExampleText = "#606060";
24695
- const hoverCardWidth = "450px";
24696
- const menuHighlightColor = "#96AB4F";
24697
- const menuHighlightBorderColor = "#76A005";
24698
- const menuActiveTextColor = "#FFFFFF";
24699
- const menuInactiveTextColor = "#444444";
24700
- const menuSubheaderTextColor = "rgb(120, 120, 120)";
24701
- const menuBorderColor = "#94A170";
24702
- const unreadBackgroundColor = "#ECEEF4";
24703
- const menuLineHeight = "18px";
24704
- const menuSubheaderLineHeight = "17px";
24705
- const menuSubheaderFontSize = "9px";
24706
- const notificationBarColor = "#4858A4";
24707
- const modalBodyTopPadding = "20px";
24708
- const modalDialogPadding = "15px";
24709
- const modalSectionPadding = "9px";
24710
- const mathDomain1 = "#11ACCD";
24711
- const mathDomain2 = "#63D9EA";
24712
- const mathDomain3 = "#027d97";
24713
- const mathDomain4 = "#085566";
24714
- const partnerContentDomain1 = "#01A995";
24715
- const partnerContentDomain2 = "#01D1C1";
24716
- const partnerContentDomain3 = "#208170";
24717
- const partnerContentDomain4 = "#144F44";
24718
- const csDomain1 = "#1FAB54";
24719
- const csDomain2 = "#74CF70";
24720
- const csDomain3 = "#0D923F";
24721
- const csDomain4 = "#085E29";
24722
- const economicsDomain1 = "#E07D10";
24723
- const economicsDomain2 = "#FFBE26";
24724
- const economicsDomain3 = "#A75A05";
24725
- const economicsDomain4 = "#953C02";
24726
- const collegeCareersMoreDomain1 = "#01A995";
24727
- const collegeCareersMoreDomain2 = "#01D1C1";
24728
- const collegeCareersMoreDomain3 = "#208170";
24729
- const collegeCareersMoreDomain4 = "#144F44";
24730
- const humanitiesDomain1 = "#E84D39";
24731
- const humanitiesDomain2 = "#FF8482";
24732
- const humanitiesDomain3 = "#BE2612";
24733
- const humanitiesDomain4 = "#8C1C0D";
24734
- const gtpDomain1 = "#1865F2";
24735
- const gtpDomain2 = "#1865F2";
24736
- const gtpDomain3 = "#1865F2";
24737
- const gtpDomain4 = "#1865F2";
24738
- const scienceDomain1 = "#CA337C";
24739
- const scienceDomain2 = "#FF92C6";
24740
- const scienceDomain3 = "#9E034E";
24741
- const scienceDomain4 = "#6B0235";
24742
- const testPrepDomain1 = "#1865F2";
24743
- const testPrepDomain2 = "#1865F2";
24744
- const testPrepDomain3 = "#1865F2";
24745
- const testPrepDomain4 = "#1865F2";
24746
- const defaultDomain1 = "#1865F2";
24747
- const defaultDomain2 = "#66afe9";
24748
- const defaultDomain3 = "#1152b0";
24749
- const defaultDomain4 = "#0d3d82";
24750
- const defaultDomainColor = "#314453";
24751
- const defaultSubjectColor = "#4D6779";
24752
- const defaultTopicColor = "#6A8DA6";
24753
- const defaultHoverColor = "#314453";
24754
- const defaultLinkColor = "#314453";
24755
- const defaultLinkHoverColor = "#6A8DA6";
24756
- const scienceDomainColor = "#94424F";
24757
- const scienceSubjectColor = "#9D4A5A";
24758
- const scienceTopicColor = "#C55F73";
24759
- const scienceHoverColor = "#94424F";
24760
- const scienceLinkColor = "#94424F";
24761
- const scienceLinkHoverColor = "#C55F73";
24762
- const humanitiesDomainColor = "#AD3434";
24763
- const humanitiesSubjectColor = "#C13B31";
24764
- const humanitiesTopicColor = "#D24A45";
24765
- const humanitiesHoverColor = "#AD3434";
24766
- const humanitiesLinkColor = "#AD3434";
24767
- const humanitiesLinkHoverColor = "#D24A45";
24768
- const economicsDomainColor = "#B77033";
24769
- const economicsSubjectColor = "#BF7B34";
24770
- const economicsTopicColor = "#D1933B";
24771
- const economicsHoverColor = "#B77033";
24772
- const economicsLinkColor = "#B77033";
24773
- const economicsLinkHoverColor = "#D1933B";
24774
- const csDomainColor = "#437A39";
24775
- const csSubjectColor = "#53893E";
24776
- const csTopicColor = "#689B51";
24777
- const csHoverColor = "#437A39";
24778
- const csLinkColor = "#437A39";
24779
- const csLinkHoverColor = "#689B51";
24780
- const partnerContentDomainColor = "#218270";
24781
- const partnerContentSubjectColor = "#2C8D7B";
24782
- const partnerContentTopicColor = "#329A86";
24783
- const partnerContentHoverColor = "#218270";
24784
- const partnerContentLinkColor = "#218270";
24785
- const partnerContentLinkHoverColor = "#329A86";
24786
- const essayDomainColor = "#0071B3";
24787
- const mathDomainColor = "#1C758A";
24788
- const mathSubjectColor = "#46A8BF";
24789
- const mathTopicColor = "#4FBAD4";
24790
- const mathHoverColor = "#1C758A";
24791
- const mathLinkColor = "#1C758A";
24792
- const mathLinkHoverColor = "#4FBAD4";
24793
- const testPrepDomainColor = "#644172";
24794
- const testPrepSubjectColor = "#7E5F8E";
24795
- const testPrepTopicColor = "#9A72AC";
24796
- const testPrepHoverColor = "#644172";
24797
- const testPrepLinkColor = "#644172";
24798
- const testPrepLinkHoverColor = "#9A72AC";
24799
- const collegeCareersMoreDomainColor = "#218270";
24800
- const collegeCareersMoreSubjectColor = "#2C8D7B";
24801
- const collegeCareersMoreTopicColor = "#329A86";
24802
- const collegeCareersMoreHoverColor = "#218270";
24803
- const collegeCareersMoreLinkColor = "#218270";
24804
- const collegeCareersMoreLinkHoverColor = "#329A86";
24805
- const satDomainColor = "#0084CE";
24806
- const satSubjectColor = "#0084CE";
24807
- const satTopicColor = "#0084CE";
24808
- const satHoverColor = "#0084CE";
24809
- const satLinkColor = "#0084CE";
24810
- const satLinkHoverColor = "#0084CE";
24811
- const colorProficient = "#1C758A";
24812
- const colorPracticed = "rgb(158, 221, 235)";
24813
- const colorMastery1 = "rgb(90, 197, 221)";
24814
- const colorMastery2 = "rgb(42, 174, 203)";
24815
- const colorMastery3 = "#1C758A";
24816
- const colorSuggested = "#73982C";
24817
- const colorReview = "#E35D04";
24818
- const colorNotStarted = "#CCCCCC";
24819
- const colorStarted = "#C7E5F7";
24820
- const colorStruggling = "#C30202";
24821
- const colorPersonal = "#00809C";
24822
- const colorPractice = "#96D9FF";
24823
- const colorEnergyPoints = "#005987";
24824
- const pureSmMin$1 = "568px";
24825
- const pureMdMin$1 = "768px";
24826
- const pureLgMin$1 = "1024px";
24827
- const pureXlMin$1 = "1200px";
24828
- const pureXsMax$1 = "567px";
24829
- const pureSmMax$1 = "767px";
24830
- const pureMdMax$1 = "1023px";
24831
- const pureLgMax$1 = "1199px";
24486
+ /**
24487
+ * A tooltip to point to the focus of a highlight.
24488
+ *
24489
+ * We use the NewTooltip component, which positions itself not by coordinate,
24490
+ * but by watching the position of a target DOM element. So, we render a 0x0
24491
+ * DOM element, absolute-position it to the position of the the highlight
24492
+ * focus, and point the tooltip at that 0x0 element.
24493
+ *
24494
+ * This technique enables NewTooltip to use its existing visibility-watching
24495
+ * and scroll-tracking logic to effectively "watch" the focus of this
24496
+ * highlight. So, we get lots of the repositioning logic for free! But we _do_
24497
+ * still have to notify the tooltip to remeasure itself when the highlight
24498
+ * focus _changes_.
24499
+ */
24832
24500
 
24833
- var globalConstants = /*#__PURE__*/Object.freeze({
24834
- __proto__: null,
24835
- black: black,
24836
- grayDarker: grayDarker,
24837
- grayDark: grayDark,
24838
- gray: gray,
24839
- grayLight: grayLight,
24840
- grayLighter: grayLighter,
24841
- white: white,
24842
- blue: blue,
24843
- blueDark: blueDark,
24844
- green: green,
24845
- red: red,
24846
- yellow: yellow,
24847
- orange: orange,
24848
- pink: pink,
24849
- purple: purple,
24850
- bodyBackground: bodyBackground,
24851
- textColor: textColor,
24852
- linkColor: linkColor,
24853
- linkColorHover: linkColorHover,
24854
- sansFontFamily: sansFontFamily,
24855
- serifFontFamily: serifFontFamily,
24856
- monoFontFamily: monoFontFamily,
24857
- baseFontSize: baseFontSize,
24858
- baseFontFamily: baseFontFamily,
24859
- baseLineHeight: baseLineHeight,
24860
- altFontFamily: altFontFamily,
24861
- headingsFontFamily: headingsFontFamily,
24862
- headingsFontWeight: headingsFontWeight,
24863
- headingsColor: headingsColor,
24864
- fontSizeLarge: fontSizeLarge,
24865
- fontSizeSmall: fontSizeSmall,
24866
- fontSizeMini: fontSizeMini,
24867
- paddingLarge: paddingLarge,
24868
- paddingSmall: paddingSmall,
24869
- paddingMini: paddingMini,
24870
- baseBorderRadius: baseBorderRadius,
24871
- borderRadiusLarge: borderRadiusLarge,
24872
- borderRadiusSmall: borderRadiusSmall,
24873
- tableBackground: tableBackground,
24874
- tableBackgroundAccent: tableBackgroundAccent,
24875
- tableBackgroundHover: tableBackgroundHover,
24876
- tableBorder: tableBorder,
24877
- btnBackground: btnBackground,
24878
- btnBackgroundHighlight: btnBackgroundHighlight,
24879
- btnBorder: btnBorder,
24880
- btnPrimaryBackground: btnPrimaryBackground,
24881
- btnPrimaryBackgroundHighlight: btnPrimaryBackgroundHighlight,
24882
- btnInfoBackground: btnInfoBackground,
24883
- btnInfoBackgroundHighlight: btnInfoBackgroundHighlight,
24884
- btnSuccessBackground: btnSuccessBackground,
24885
- btnSuccessBackgroundHighlight: btnSuccessBackgroundHighlight,
24886
- btnWarningBackground: btnWarningBackground,
24887
- btnWarningBackgroundHighlight: btnWarningBackgroundHighlight,
24888
- btnDangerBackground: btnDangerBackground,
24889
- btnDangerBackgroundHighlight: btnDangerBackgroundHighlight,
24890
- btnInverseBackground: btnInverseBackground,
24891
- btnInverseBackgroundHighlight: btnInverseBackgroundHighlight,
24892
- inputBackground: inputBackground,
24893
- inputBorder: inputBorder,
24894
- inputBorderRadius: inputBorderRadius,
24895
- inputDisabledBackground: inputDisabledBackground,
24896
- formActionsBackground: formActionsBackground,
24897
- inputHeight: inputHeight,
24898
- dropdownBackground: dropdownBackground,
24899
- dropdownBorder: dropdownBorder,
24900
- dropdownDividerTop: dropdownDividerTop,
24901
- dropdownDividerBottom: dropdownDividerBottom,
24902
- dropdownLinkColor: dropdownLinkColor,
24903
- dropdownLinkColorHover: dropdownLinkColorHover,
24904
- dropdownLinkColorActive: dropdownLinkColorActive,
24905
- dropdownLinkBackgroundActive: dropdownLinkBackgroundActive,
24906
- dropdownLinkBackgroundHover: dropdownLinkBackgroundHover,
24907
- zindexDropdown: zindexDropdown,
24908
- zindexPopover: zindexPopover,
24909
- zindexTooltip: zindexTooltip,
24910
- zindexFixedNavbar: zindexFixedNavbar,
24911
- zindexHeader: zindexHeader,
24912
- zindexModalBackdrop: zindexModalBackdrop,
24913
- zindexModal: zindexModal,
24914
- zindexAboveModal: zindexAboveModal,
24915
- iconSpritePath: iconSpritePath,
24916
- iconWhiteSpritePath: iconWhiteSpritePath,
24917
- placeholderText: placeholderText,
24918
- hrBorder: hrBorder,
24919
- horizontalComponentOffset: horizontalComponentOffset,
24920
- wellBackground: wellBackground,
24921
- navbarCollapseWidth: navbarCollapseWidth,
24922
- navbarCollapseDesktopWidth: navbarCollapseDesktopWidth,
24923
- navbarHeight: navbarHeight,
24924
- navbarBackgroundHighlight: navbarBackgroundHighlight,
24925
- navbarBackground: navbarBackground,
24926
- navbarBorder: navbarBorder,
24927
- navbarText: navbarText,
24928
- navbarLinkColor: navbarLinkColor,
24929
- navbarLinkColorHover: navbarLinkColorHover,
24930
- navbarLinkColorActive: navbarLinkColorActive,
24931
- navbarLinkBackgroundHover: navbarLinkBackgroundHover,
24932
- navbarLinkBackgroundActive: navbarLinkBackgroundActive,
24933
- navbarBrandColor: navbarBrandColor,
24934
- navbarInverseBackground: navbarInverseBackground,
24935
- navbarInverseBackgroundHighlight: navbarInverseBackgroundHighlight,
24936
- navbarInverseBorder: navbarInverseBorder,
24937
- navbarInverseText: navbarInverseText,
24938
- navbarInverseLinkColor: navbarInverseLinkColor,
24939
- navbarInverseLinkColorHover: navbarInverseLinkColorHover,
24940
- navbarInverseLinkColorActive: navbarInverseLinkColorActive,
24941
- navbarInverseLinkBackgroundHover: navbarInverseLinkBackgroundHover,
24942
- navbarInverseLinkBackgroundActive: navbarInverseLinkBackgroundActive,
24943
- navbarInverseSearchBackground: navbarInverseSearchBackground,
24944
- navbarInverseSearchBackgroundFocus: navbarInverseSearchBackgroundFocus,
24945
- navbarInverseSearchBorder: navbarInverseSearchBorder,
24946
- navbarInverseSearchPlaceholderColor: navbarInverseSearchPlaceholderColor,
24947
- navbarInverseBrandColor: navbarInverseBrandColor,
24948
- paginationBackground: paginationBackground,
24949
- paginationBorder: paginationBorder,
24950
- paginationActiveBackground: paginationActiveBackground,
24951
- heroUnitBackground: heroUnitBackground,
24952
- heroUnitHeadingColor: heroUnitHeadingColor,
24953
- heroUnitLeadColor: heroUnitLeadColor,
24954
- warningText: warningText,
24955
- warningBackground: warningBackground,
24956
- warningBorder: warningBorder,
24957
- errorText: errorText,
24958
- errorBackground: errorBackground,
24959
- errorBorder: errorBorder,
24960
- successText: successText,
24961
- successBackground: successBackground,
24962
- successBorder: successBorder,
24963
- infoText: infoText,
24964
- infoBackground: infoBackground,
24965
- infoBorder: infoBorder,
24966
- tooltipColor: tooltipColor,
24967
- tooltipBackground: tooltipBackground,
24968
- tooltipArrowWidth: tooltipArrowWidth,
24969
- tooltipArrowColor: tooltipArrowColor,
24970
- popoverBackground: popoverBackground,
24971
- popoverArrowWidth: popoverArrowWidth,
24972
- popoverArrowColor: popoverArrowColor,
24973
- popoverTitleBackground: popoverTitleBackground,
24974
- popoverArrowOuterWidth: popoverArrowOuterWidth,
24975
- popoverArrowOuterColor: popoverArrowOuterColor,
24976
- gridColumns: gridColumns,
24977
- gridColumnWidth: gridColumnWidth,
24978
- gridGutterWidth: gridGutterWidth,
24979
- gridRowWidth: gridRowWidth,
24980
- gridColumnWidth1200: gridColumnWidth1200,
24981
- gridGutterWidth1200: gridGutterWidth1200,
24982
- gridRowWidth1200: gridRowWidth1200,
24983
- gridColumnWidth768: gridColumnWidth768,
24984
- gridGutterWidth768: gridGutterWidth768,
24985
- gridRowWidth768: gridRowWidth768,
24986
- fluidGridColumnWidth: fluidGridColumnWidth,
24987
- fluidGridGutterWidth: fluidGridGutterWidth,
24988
- fluidGridColumnWidth1200: fluidGridColumnWidth1200,
24989
- fluidGridGutterWidth1200: fluidGridGutterWidth1200,
24990
- fluidGridColumnWidth768: fluidGridColumnWidth768,
24991
- fluidGridGutterWidth768: fluidGridGutterWidth768,
24992
- kaGreen: kaGreen,
24993
- kaGreenLight: kaGreenLight,
24994
- kaBlue: kaBlue,
24995
- kaBlueLight: kaBlueLight,
24996
- grayExtraDark: grayExtraDark,
24997
- grayExtraLight: grayExtraLight,
24998
- graySuperLight: graySuperLight,
24999
- whiteDark: whiteDark,
25000
- dark: dark,
25001
- blueDarkUnsaturated: blueDarkUnsaturated,
25002
- blueDarkSaturated: blueDarkSaturated,
25003
- blueLight: blueLight,
25004
- greenLight: greenLight,
25005
- greenDark: greenDark,
25006
- yellowGreen: yellowGreen,
25007
- okGreen: okGreen,
25008
- alertRed: alertRed,
25009
- coral: coral,
25010
- grayBlue: grayBlue,
25011
- lightPageBackground: lightPageBackground,
25012
- yclaBlue: yclaBlue,
25013
- yclaTeal: yclaTeal,
25014
- yclaTealDark: yclaTealDark,
25015
- yclaGreenDark: yclaGreenDark,
25016
- yclaGreen: yclaGreen,
25017
- learnstormBlue: learnstormBlue,
25018
- homepageBlue: homepageBlue,
25019
- backgroundBlue: backgroundBlue,
25020
- teacherSignupBlue: teacherSignupBlue,
25021
- homepageGreen: homepageGreen,
25022
- streakColor: streakColor,
25023
- facebookColor: facebookColor,
25024
- blueGoogleColor: blueGoogleColor,
25025
- redGoogleColor: redGoogleColor,
25026
- homepageColor: homepageColor,
25027
- lightTextColor: lightTextColor,
25028
- fontSizeTiny: fontSizeTiny,
25029
- fontSizeNormal: fontSizeNormal,
25030
- fontSizeMedium: fontSizeMedium,
25031
- fontSizeExtraLarge: fontSizeExtraLarge,
25032
- fontSizeHuge: fontSizeHuge,
25033
- fontSizeBakana: fontSizeBakana,
25034
- fontSizeBananas: fontSizeBananas,
25035
- fixedWidthFontFamily: fixedWidthFontFamily,
25036
- contentPadding: contentPadding,
25037
- primaryButtonBackground: primaryButtonBackground,
25038
- primaryButtonBorder: primaryButtonBorder,
25039
- buttonTextColor: buttonTextColor,
25040
- buttonBorderRadius: buttonBorderRadius,
25041
- basicBorderColor: basicBorderColor,
25042
- minContainerWidth: minContainerWidth,
25043
- maxContainerWidth: maxContainerWidth,
25044
- formHintColor: formHintColor,
25045
- guidelineExampleText: guidelineExampleText,
25046
- hoverCardWidth: hoverCardWidth,
25047
- menuHighlightColor: menuHighlightColor,
25048
- menuHighlightBorderColor: menuHighlightBorderColor,
25049
- menuActiveTextColor: menuActiveTextColor,
25050
- menuInactiveTextColor: menuInactiveTextColor,
25051
- menuSubheaderTextColor: menuSubheaderTextColor,
25052
- menuBorderColor: menuBorderColor,
25053
- unreadBackgroundColor: unreadBackgroundColor,
25054
- menuLineHeight: menuLineHeight,
25055
- menuSubheaderLineHeight: menuSubheaderLineHeight,
25056
- menuSubheaderFontSize: menuSubheaderFontSize,
25057
- notificationBarColor: notificationBarColor,
25058
- modalBodyTopPadding: modalBodyTopPadding,
25059
- modalDialogPadding: modalDialogPadding,
25060
- modalSectionPadding: modalSectionPadding,
25061
- mathDomain1: mathDomain1,
25062
- mathDomain2: mathDomain2,
25063
- mathDomain3: mathDomain3,
25064
- mathDomain4: mathDomain4,
25065
- partnerContentDomain1: partnerContentDomain1,
25066
- partnerContentDomain2: partnerContentDomain2,
25067
- partnerContentDomain3: partnerContentDomain3,
25068
- partnerContentDomain4: partnerContentDomain4,
25069
- csDomain1: csDomain1,
25070
- csDomain2: csDomain2,
25071
- csDomain3: csDomain3,
25072
- csDomain4: csDomain4,
25073
- economicsDomain1: economicsDomain1,
25074
- economicsDomain2: economicsDomain2,
25075
- economicsDomain3: economicsDomain3,
25076
- economicsDomain4: economicsDomain4,
25077
- collegeCareersMoreDomain1: collegeCareersMoreDomain1,
25078
- collegeCareersMoreDomain2: collegeCareersMoreDomain2,
25079
- collegeCareersMoreDomain3: collegeCareersMoreDomain3,
25080
- collegeCareersMoreDomain4: collegeCareersMoreDomain4,
25081
- humanitiesDomain1: humanitiesDomain1,
25082
- humanitiesDomain2: humanitiesDomain2,
25083
- humanitiesDomain3: humanitiesDomain3,
25084
- humanitiesDomain4: humanitiesDomain4,
25085
- gtpDomain1: gtpDomain1,
25086
- gtpDomain2: gtpDomain2,
25087
- gtpDomain3: gtpDomain3,
25088
- gtpDomain4: gtpDomain4,
25089
- scienceDomain1: scienceDomain1,
25090
- scienceDomain2: scienceDomain2,
25091
- scienceDomain3: scienceDomain3,
25092
- scienceDomain4: scienceDomain4,
25093
- testPrepDomain1: testPrepDomain1,
25094
- testPrepDomain2: testPrepDomain2,
25095
- testPrepDomain3: testPrepDomain3,
25096
- testPrepDomain4: testPrepDomain4,
25097
- defaultDomain1: defaultDomain1,
25098
- defaultDomain2: defaultDomain2,
25099
- defaultDomain3: defaultDomain3,
25100
- defaultDomain4: defaultDomain4,
25101
- defaultDomainColor: defaultDomainColor,
25102
- defaultSubjectColor: defaultSubjectColor,
25103
- defaultTopicColor: defaultTopicColor,
25104
- defaultHoverColor: defaultHoverColor,
25105
- defaultLinkColor: defaultLinkColor,
25106
- defaultLinkHoverColor: defaultLinkHoverColor,
25107
- scienceDomainColor: scienceDomainColor,
25108
- scienceSubjectColor: scienceSubjectColor,
25109
- scienceTopicColor: scienceTopicColor,
25110
- scienceHoverColor: scienceHoverColor,
25111
- scienceLinkColor: scienceLinkColor,
25112
- scienceLinkHoverColor: scienceLinkHoverColor,
25113
- humanitiesDomainColor: humanitiesDomainColor,
25114
- humanitiesSubjectColor: humanitiesSubjectColor,
25115
- humanitiesTopicColor: humanitiesTopicColor,
25116
- humanitiesHoverColor: humanitiesHoverColor,
25117
- humanitiesLinkColor: humanitiesLinkColor,
25118
- humanitiesLinkHoverColor: humanitiesLinkHoverColor,
25119
- economicsDomainColor: economicsDomainColor,
25120
- economicsSubjectColor: economicsSubjectColor,
25121
- economicsTopicColor: economicsTopicColor,
25122
- economicsHoverColor: economicsHoverColor,
25123
- economicsLinkColor: economicsLinkColor,
25124
- economicsLinkHoverColor: economicsLinkHoverColor,
25125
- csDomainColor: csDomainColor,
25126
- csSubjectColor: csSubjectColor,
25127
- csTopicColor: csTopicColor,
25128
- csHoverColor: csHoverColor,
25129
- csLinkColor: csLinkColor,
25130
- csLinkHoverColor: csLinkHoverColor,
25131
- partnerContentDomainColor: partnerContentDomainColor,
25132
- partnerContentSubjectColor: partnerContentSubjectColor,
25133
- partnerContentTopicColor: partnerContentTopicColor,
25134
- partnerContentHoverColor: partnerContentHoverColor,
25135
- partnerContentLinkColor: partnerContentLinkColor,
25136
- partnerContentLinkHoverColor: partnerContentLinkHoverColor,
25137
- essayDomainColor: essayDomainColor,
25138
- mathDomainColor: mathDomainColor,
25139
- mathSubjectColor: mathSubjectColor,
25140
- mathTopicColor: mathTopicColor,
25141
- mathHoverColor: mathHoverColor,
25142
- mathLinkColor: mathLinkColor,
25143
- mathLinkHoverColor: mathLinkHoverColor,
25144
- testPrepDomainColor: testPrepDomainColor,
25145
- testPrepSubjectColor: testPrepSubjectColor,
25146
- testPrepTopicColor: testPrepTopicColor,
25147
- testPrepHoverColor: testPrepHoverColor,
25148
- testPrepLinkColor: testPrepLinkColor,
25149
- testPrepLinkHoverColor: testPrepLinkHoverColor,
25150
- collegeCareersMoreDomainColor: collegeCareersMoreDomainColor,
25151
- collegeCareersMoreSubjectColor: collegeCareersMoreSubjectColor,
25152
- collegeCareersMoreTopicColor: collegeCareersMoreTopicColor,
25153
- collegeCareersMoreHoverColor: collegeCareersMoreHoverColor,
25154
- collegeCareersMoreLinkColor: collegeCareersMoreLinkColor,
25155
- collegeCareersMoreLinkHoverColor: collegeCareersMoreLinkHoverColor,
25156
- satDomainColor: satDomainColor,
25157
- satSubjectColor: satSubjectColor,
25158
- satTopicColor: satTopicColor,
25159
- satHoverColor: satHoverColor,
25160
- satLinkColor: satLinkColor,
25161
- satLinkHoverColor: satLinkHoverColor,
25162
- colorProficient: colorProficient,
25163
- colorPracticed: colorPracticed,
25164
- colorMastery1: colorMastery1,
25165
- colorMastery2: colorMastery2,
25166
- colorMastery3: colorMastery3,
25167
- colorSuggested: colorSuggested,
25168
- colorReview: colorReview,
25169
- colorNotStarted: colorNotStarted,
25170
- colorStarted: colorStarted,
25171
- colorStruggling: colorStruggling,
25172
- colorPersonal: colorPersonal,
25173
- colorPractice: colorPractice,
25174
- colorEnergyPoints: colorEnergyPoints,
25175
- pureSmMin: pureSmMin$1,
25176
- pureMdMin: pureMdMin$1,
25177
- pureLgMin: pureLgMin$1,
25178
- pureXlMin: pureXlMin$1,
25179
- pureXsMax: pureXsMax$1,
25180
- pureSmMax: pureSmMax$1,
25181
- pureMdMax: pureMdMax$1,
25182
- pureLgMax: pureLgMax$1
25183
- });
25184
-
25185
- /**
25186
- * A default set of media queries to use for different screen sizes. Based on
25187
- * the breakpoints from purecss.
25188
- *
25189
- * Use like:
25190
- * StyleSheet.create({
25191
- * blah: {
25192
- * [mediaQueries.xs]: {
25193
- *
25194
- * },
25195
- * },
25196
- * });
25197
- */
25198
- const {
25199
- pureXsMax,
25200
- pureSmMin,
25201
- pureSmMax,
25202
- pureMdMin,
25203
- pureMdMax,
25204
- pureLgMin,
25205
- pureLgMax,
25206
- pureXlMin
25207
- } = constants$1;
25208
- var mediaQueries = {
25209
- xs: "@media screen and (max-width: ".concat(pureXsMax, ")"),
25210
- sm: "@media screen and (min-width: ".concat(pureSmMin, ") and ") + "(max-width: ".concat(pureSmMax, ")"),
25211
- md: "@media screen and (min-width: ".concat(pureMdMin, ") and ") + "(max-width: ".concat(pureMdMax, ")"),
25212
- lg: "@media screen and (min-width: ".concat(pureLgMin, ") and ") + "(max-width: ".concat(pureLgMax, ")"),
25213
- xl: "@media screen and (min-width: ".concat(pureXlMin, ")"),
25214
- xsOrSmaller: "@media screen and (max-width: ".concat(pureXsMax, ")"),
25215
- smOrSmaller: "@media screen and (max-width: ".concat(pureSmMax, ")"),
25216
- mdOrSmaller: "@media screen and (max-width: ".concat(pureMdMax, ")"),
25217
- lgOrSmaller: "@media screen and (max-width: ".concat(pureLgMax, ")"),
25218
- smOrLarger: "@media screen and (min-width: ".concat(pureSmMin, ")"),
25219
- mdOrLarger: "@media screen and (min-width: ".concat(pureMdMin, ")"),
25220
- lgOrLarger: "@media screen and (min-width: ".concat(pureLgMin, ")"),
25221
- xlOrLarger: "@media screen and (min-width: ".concat(pureXlMin, ")")
25222
- };
25223
-
25224
- const colors$1 = {
25225
- white: "#FFFFFF",
25226
- gray98: "#FAFAFA",
25227
- gray97: "#F6F7F7",
25228
- gray95: "#F0F1F2",
25229
- gray90: "#E3E5E6",
25230
- gray85: "#D6D8DA",
25231
- gray76: "#BABEC2",
25232
- gray72: "#999A9D",
25233
- gray68: "#888D93",
25234
- gray55: "#707378",
25235
- gray41: "#626569",
25236
- gray25: "#3B3E40",
25237
- gray17: "#21242C",
25238
- gray10: "#1499af",
25239
- black: "#000000",
25240
- // These colors are pulled out from constants.js, which is itself generated
25241
- // from variables.less. We should probably avoid duplicating these here.
25242
- alertRed,
25243
- homepageBlue,
25244
- kaBlue,
25245
- kaBlueLight,
25246
- kaGreen,
25247
- kaGreenLight,
25248
- learnstormBlue,
25249
- backgroundBlue,
25250
- adminGreen: "#78C008",
25251
- kaBlueExtraLight: "#39c2db",
25252
- kaBlueHover: "#0c7f99",
25253
- kaGreenHover: "#518005",
25254
- // Domain-agnostic colors related to the study guide experience in the
25255
- // content library.
25256
- skyDark: "#001f4d",
25257
- recommendationGold: "#ffbe26",
25258
- starAced: "#ff9c39",
25259
- // We interploate the domain colors into this colors object for
25260
- // historical reasons, but everyone using domain-specific colors
25261
- // should switch to using the domainColors() function to look up
25262
- // colors instead.
25263
- //
25264
- // TODO(davidflanagan): remove this line once everything is
25265
- // working correctly with the domainColors() accessor.
25266
- // ...domainToColorsMap,
25267
- // mission: missionColors,
25268
- // Colors for various OAuth providers
25269
- google: "#C1432f",
25270
- modernGoogle: "#be2612",
25271
- modernGoogleHover: "#8c1c0d",
25272
- facebook: "#4267B2",
25273
- modernFacebook: "#4267B2",
25274
- modernFacebookHover: "#00294a",
25275
- wonderBlocksGold: "#FFB100",
25276
- wonderBlocksLightBlue: "#37C5FD",
25277
- // We're using rgba instead of opacity to avoid affecting the focus outline
25278
- // when we just want to make the color transparent.
25279
- breadcrumbs: "rgba(255, 255, 255, 0.7)"
25280
- };
25281
- const borderRadius = 4;
25282
- const breadcrumbStyles = {
25283
- color: colors$1.breadcrumbs,
25284
- fontFamily: "inherit",
25285
- fontSize: 15,
25286
- fontWeight: "bold",
25287
- letterSpacing: 0.8,
25288
- lineHeight: "19px",
25289
- textTransform: "uppercase",
25290
- // Disable subpixel antialiasing for OSX (improves light on dark text)
25291
- MozOsxFontSmoothing: "grayscale",
25292
- WebkitFontSmoothing: "antialiased"
25293
- };
25294
- const fonts = {
25295
- // The body of the page is setup to use 'Helvetica' by default and
25296
- // 'Lato' if/once it downloads. For your elements to follow this
25297
- // pattern, all you need is to make the text in your element
25298
- // inherit from the body using the "inherit" value.
25299
- regular: "inherit"
25300
- };
25301
- const typography = {
25302
- // For subject names
25303
- subjectHeadingDesktop: {
25304
- fontFamily: "inherit",
25305
- fontSize: 50,
25306
- fontWeight: "bold",
25307
- lineHeight: "61px"
25308
- },
25309
- subjectHeadingMobile: {
25310
- fontFamily: "inherit",
25311
- fontSize: 35,
25312
- fontWeight: "bold",
25313
- lineHeight: "37px"
25314
- },
25315
- // For the most important thing on the page
25316
- conceptHeadingDesktop: {
25317
- fontFamily: "inherit",
25318
- fontSize: 35,
25319
- fontWeight: "bold",
25320
- lineHeight: "37px"
25321
- },
25322
- conceptHeadingMobile: {
25323
- fontFamily: "inherit",
25324
- fontSize: 23,
25325
- fontWeight: "bold",
25326
- lineHeight: "27px"
25327
- },
25328
- // For sections or modules
25329
- subheadingDesktop: {
25330
- fontFamily: "inherit",
25331
- fontSize: 23,
25332
- fontWeight: "bold",
25333
- lineHeight: "27px"
25334
- },
25335
- subheadingMobile: {
25336
- fontFamily: "inherit",
25337
- fontSize: 20,
25338
- fontWeight: "bold",
25339
- lineHeight: "24px"
25340
- },
25341
- smallSubheadingDesktop: {
25342
- fontFamily: "inherit",
25343
- fontSize: 20,
25344
- lineHeight: 1.25
25345
- },
25346
- smallSubheadingMobile: {
25347
- fontFamily: "inherit",
25348
- fontSize: 15,
25349
- lineHeight: 1.25
25350
- },
25351
- // For callouts
25352
- smallHeading: {
25353
- color: colors$1.gray25,
25354
- fontFamily: "inherit",
25355
- fontSize: 17,
25356
- fontWeight: "bold",
25357
- lineHeight: "23px"
25358
- },
25359
- smallHeadingMobile: {
25360
- color: colors$1.gray25,
25361
- fontFamily: "inherit",
25362
- fontSize: 15,
25363
- fontWeight: "bold",
25364
- lineHeight: "18px"
25365
- },
25366
- // Accent headings
25367
- accentHeading: {
25368
- color: colors$1.gray68,
25369
- fontFamily: "inherit",
25370
- fontSize: 15,
25371
- fontWeight: "bold",
25372
- letterSpacing: 0.8,
25373
- lineHeight: "19px",
25374
- textTransform: "uppercase"
25375
- },
25376
- bodyLarge: {
25377
- // For articles with multiple paragraphs
25378
- fontFamily: fonts.regular,
25379
- fontSize: 20,
25380
- lineHeight: "30px"
25381
- },
25382
- bodySmall: {
25383
- // For small blocks of copy
25384
- fontFamily: fonts.regular,
25385
- fontSize: 17,
25386
- fontWeight: "normal",
25387
- lineHeight: "23px"
25388
- },
25389
- bodySmallBold: {
25390
- // For small blocks of copy
25391
- fontFamily: fonts.regular,
25392
- fontSize: 17,
25393
- fontWeight: "bold",
25394
- lineHeight: "23px"
25395
- },
25396
- bodyXsmall: {
25397
- // For metadata, descriptions, etc
25398
- fontFamily: fonts.regular,
25399
- fontSize: 15,
25400
- lineHeight: "22px"
25401
- },
25402
- bodyXsmallBold: {
25403
- // For emphasized metadata, descriptions, etc
25404
- fontFamily: "inherit",
25405
- fontSize: 15,
25406
- fontWeight: "bold",
25407
- lineHeight: "22px"
25408
- },
25409
- breadcrumb: breadcrumbStyles,
25410
- // For in-page tabs, breadcrumbs
25411
- breadcrumbSmall: { // For in-page tabs and leaf page breadcrumbs
25412
- ...breadcrumbStyles,
25413
- fontSize: 12,
25414
- lineHeight: "13px"
25415
- },
25416
- labelLarge: {
25417
- // For chiclets and thumbnail titles
25418
- fontFamily: "inherit",
25419
- fontSize: 23,
25420
- fontWeight: "bold",
25421
- lineHeight: "27px"
25422
- },
25423
- labelMedium: {
25424
- // For chiclets and thumbnail titles
25425
- fontFamily: "inherit",
25426
- fontSize: 15,
25427
- fontWeight: "bold",
25428
- lineHeight: "18px"
25429
- },
25430
- labelSmall: {
25431
- // Generally used with labelLarge, for breadcrumbs in thumbnails
25432
- fontFamily: fonts.regular,
25433
- fontSize: 12,
25434
- lineHeight: "14px"
25435
- },
25436
- caption: {
25437
- // For image captions
25438
- fontFamily: fonts.regular,
25439
- fontSize: 14,
25440
- fontStyle: "italic",
25441
- lineHeight: "17px"
25442
- },
25443
- desktopScalingOnMobile: {
25444
- // For when you need Mobile Safari and friends to stick to desktop
25445
- // sizes
25446
- MozTextSizeAdjust: "100%",
25447
- MsTextSizeAdjust: "100%",
25448
- WebkitTextSizeAdjust: "100%"
25449
- },
25450
- // TODO (josh): This should move to within <ModalHeader>
25451
- modalSubtitle: {
25452
- fontSize: 12,
25453
- lineHeight: 1.65,
25454
- // NOTE (josh): Font smoothing used here to create a 'medium' weight
25455
- // font, between normal and bold, on webkit browsers.
25456
- // This prop is an a11y risk when used on non-bold text, since it
25457
- // makes text very thin, but it's fine on bold text.
25458
- WebkitFontSmoothing: "antialiased",
25459
- fontWeight: "bold"
25460
- },
25461
- // HACK(kevinb): temporary wonder blocks styles for header only
25462
- // TODO(kevinb): use components from wonder-blocks-typography instead
25463
- wonderBlocksHeader: {
25464
- paddingLeft: 16,
25465
- paddingRight: 16,
25466
- paddingBottom: 24,
25467
- paddingTop: 34,
25468
- [mediaQueries.mdOrLarger]: {
25469
- paddingBottom: 32
25470
- }
25471
- },
25472
- // HACK(kevinb): temporary wonder blocks styles for header only
25473
- // TODO(kevinb): use components from wonder-blocks-typography instead
25474
- wonderBlocksTitle: {
25475
- color: colors$1.white,
25476
- fontWeight: 900,
25477
- // "Black" weight
25478
- fontSize: 28,
25479
- lineHeight: "32px",
25480
- margin: 0,
25481
- [mediaQueries.mdOrLarger]: {
25482
- fontSize: 36,
25483
- lineHeight: "40px"
25484
- }
25485
- },
25486
- // HACK(kevinb): temporary wonder blocks styles for header only
25487
- // TODO(kevinb): use components from wonder-blocks-typography instead
25488
- wonderBlocksLabelLarge: {
25489
- fontSize: 16,
25490
- lineHeight: "20px",
25491
- fontWeight: 700 // Bold
25492
-
25493
- }
25494
- };
24501
+ class HighlightTooltip extends React__namespace.PureComponent {
24502
+ _getFocusRect() {
24503
+ const {
24504
+ focusNode,
24505
+ focusOffset,
24506
+ offsetParent
24507
+ } = this.props; // Get a range of *just* the focus point of the selection.
25495
24508
 
25496
- var globalStyles = /*#__PURE__*/Object.freeze({
25497
- __proto__: null,
25498
- colors: colors$1,
25499
- borderRadius: borderRadius,
25500
- fonts: fonts,
25501
- typography: typography
25502
- });
24509
+ const focusRange = document.createRange();
24510
+ focusRange.setStart(focusNode, focusOffset);
24511
+ focusRange.setEnd(focusNode, focusOffset); // Then, get the bounding box of the collapsed range. This will be a
24512
+ // zero-width rectangle, but still have positioning information, which
24513
+ // we can use the position the tooltip.
24514
+ //
24515
+ // NOTE(mdr): If we used getClientBoundingRect here instead, Safari
24516
+ // would return an unpositioned rect. But all tested browsers at
24517
+ // time of writing (latest Chrome, Firefox, Safari) return at least
24518
+ // one rectangle from getClientRects, and it's well-positioned.
25503
24519
 
25504
- const DefaultPropValues = Object.freeze({
25505
- side: "top",
25506
- offset: 0,
25507
- offsetFrom: "bubble",
25508
- tooltipMargin: 0,
25509
- noPadding: false,
25510
- color: colors$1.gray17,
25511
- inverted: false,
25512
- dismissOnClickClose: false,
25513
- toggleOnHover: true,
25514
- showOnMount: false
25515
- });
24520
+ const focusRect = focusRange.getClientRects()[0]; // NOTE(mdr): ...except in the case where the focus is between two
24521
+ // paragraphs, in which case the focus range has no client rects?
24522
+ // Not sure why, or in what browsers (only noticed in Chrome 60),
24523
+ // but let's catch that case and bail out.
24524
+ // TODO(mdr): Instead, we should somehow walk back the range until we
24525
+ // find an appropriate position for the tooltip. Sounds tricky!
25516
24526
 
25517
- class NewTooltip extends React__namespace.Component {
25518
- constructor(props) {
25519
- super(props);
25520
-
25521
- _defineProperty(this, "_handleDismiss", () => {
25522
- if (this.props.dismissed == null) {
25523
- // We're serving as an "uncontrolled component": our dismissed
25524
- // state is managed by us, not by incoming props.
25525
- this.setState({
25526
- dismissed: true
25527
- });
25528
- }
25529
-
25530
- this.props.onDismiss && this.props.onDismiss();
25531
- });
25532
-
25533
- _defineProperty(this, "_popoverContentColor", () => {
25534
- const {
25535
- inverted,
25536
- color
25537
- } = this.props;
25538
-
25539
- if (inverted) {
25540
- return "darkBlue";
25541
- } else if (color === "blue") {
25542
- return "blue";
25543
- }
25544
-
25545
- return "white";
25546
- });
25547
-
25548
- this.state = {
25549
- dismissed: props.dismissed != null ? props.dismissed : false,
25550
- hovered: false
25551
- };
25552
- }
25553
-
25554
- UNSAFE_componentWillReceiveProps(nextProps) {
25555
- if (Object.keys(nextProps).includes("dismissed")) {
25556
- this.setState({
25557
- dismissed: nextProps.dismissed
25558
- });
25559
- }
25560
- }
25561
-
25562
- _shouldShowTooltip() {
25563
- const {
25564
- toggleOnHover,
25565
- showOnMount
25566
- } = this.props;
25567
- const {
25568
- dismissed
25569
- } = this.state; // If the tooltip was dismissed, or we're not sure yet, don't show it.
25570
-
25571
- if (dismissed) {
25572
- return false;
25573
- } // If the tooltip should show on mount, and nothing has changed yet
25574
- // that would cause it to hide (i.e., the `dismissed` case above fell
25575
- // through), show the tooltip.
25576
-
25577
-
25578
- if (showOnMount) {
25579
- return true;
25580
- } // If the target is hovered, and our visibility is hover-based, show
25581
- // the tooltip.
25582
-
25583
-
25584
- if (toggleOnHover && this.state.hovered) {
25585
- return true;
25586
- }
25587
-
25588
- return false;
25589
- }
25590
-
25591
- render() {
25592
- const {
25593
- side,
25594
- children,
25595
- content,
25596
- dismissOnClickClose
25597
- } = this.props;
25598
- const {
25599
- onMouseEnter,
25600
- onMouseLeave
25601
- } = this.props;
25602
- return /*#__PURE__*/React__namespace.createElement(wonderBlocksPopover.Popover, {
25603
- content: /*#__PURE__*/React__namespace.createElement(wonderBlocksPopover.PopoverContentCore, {
25604
- color: this._popoverContentColor(),
25605
- closeButtonVisible: dismissOnClickClose,
25606
- style: {}
25607
- }, content),
25608
- placement: side,
25609
- opened: this._shouldShowTooltip(),
25610
- onClose: this._handleDismiss,
25611
- dismissEnabled: false,
25612
- testId: "question-id"
25613
- }, /*#__PURE__*/React__namespace.createElement("div", {
25614
- onMouseEnter: () => {
25615
- onMouseEnter && onMouseEnter();
25616
- this.setState({
25617
- hovered: true
25618
- });
25619
- },
25620
- onMouseLeave: () => {
25621
- onMouseLeave && onMouseLeave();
25622
- this.setState({
25623
- hovered: false
25624
- });
25625
- }
25626
- }, children));
25627
- }
25628
-
25629
- }
25630
-
25631
- _defineProperty(NewTooltip, "defaultProps", DefaultPropValues);
25632
-
25633
- class HighlightTooltip extends React__namespace.PureComponent {
25634
- constructor() {
25635
- super(...arguments);
25636
-
25637
- _defineProperty(this, "_tooltip", void 0);
25638
- }
25639
-
25640
- _getFocusRect() {
25641
- const {
25642
- focusNode,
25643
- focusOffset,
25644
- offsetParent
25645
- } = this.props; // Get a range of *just* the focus point of the selection.
25646
-
25647
- const focusRange = document.createRange();
25648
- focusRange.setStart(focusNode, focusOffset);
25649
- focusRange.setEnd(focusNode, focusOffset); // Then, get the bounding box of the collapsed range. This will be a
25650
- // zero-width rectangle, but still have positioning information, which
25651
- // we can use the position the tooltip.
25652
- //
25653
- // NOTE(mdr): If we used getClientBoundingRect here instead, Safari
25654
- // would return an unpositioned rect. But all tested browsers at
25655
- // time of writing (latest Chrome, Firefox, Safari) return at least
25656
- // one rectangle from getClientRects, and it's well-positioned.
25657
-
25658
- const focusRect = focusRange.getClientRects()[0]; // NOTE(mdr): ...except in the case where the focus is between two
25659
- // paragraphs, in which case the focus range has no client rects?
25660
- // Not sure why, or in what browsers (only noticed in Chrome 60),
25661
- // but let's catch that case and bail out.
25662
- // TODO(mdr): Instead, we should somehow walk back the range until we
25663
- // find an appropriate position for the tooltip. Sounds tricky!
25664
-
25665
- if (!focusRect) {
25666
- Log.log("[Highlighting] Known bug: Could not determine the focus " + 'position, so did not show an "Add Highlight" tooltip. ' + "https://app.asana.com/0/329800276300868/413878480039713 " + "(see also /r/asana-links)");
25667
- return null;
25668
- } // Compute the desired position of the tooltip relative to the offset
25669
- // parent.
24527
+ if (!focusRect) {
24528
+ Log.log("[Highlighting] Known bug: Could not determine the focus " + 'position, so did not show an "Add Highlight" tooltip. ' + "https://app.asana.com/0/329800276300868/413878480039713 " + "(see also /r/asana-links)");
24529
+ return null;
24530
+ } // Compute the desired position of the tooltip relative to the offset
24531
+ // parent.
25670
24532
 
25671
24533
 
25672
24534
  const {
@@ -25690,29 +24552,30 @@ class HighlightTooltip extends React__namespace.PureComponent {
25690
24552
 
25691
24553
  if (!focusRect) {
25692
24554
  return null;
25693
- }
24555
+ } // using div instead of TooltipContent because
24556
+ // TooltipContent wouldn't let me overwrite
24557
+ // user-select and onClick
24558
+
25694
24559
 
25695
24560
  const content = /*#__PURE__*/React__namespace.createElement("div", {
25696
- className: aphrodite.css(styles$x.tooltipLabel)
24561
+ className: aphrodite.css(styles$x.tooltipLabel),
24562
+ onClick: this.props.onClick
25697
24563
  }, this.props.label);
25698
- return /*#__PURE__*/React__namespace.createElement(NewTooltip, {
25699
- content: content,
25700
- color: colors$1.kaBlue,
25701
- inverted: true,
25702
- onClick: this.props.onClick,
24564
+ const style = {
24565
+ position: "absolute",
24566
+ left: focusRect.left,
24567
+ // offset the spacing WB provides around tooltips
24568
+ top: "calc(".concat(Math.round(focusRect.top), "px + 0.95em)"),
24569
+ height: 0
24570
+ };
24571
+ return /*#__PURE__*/React__namespace.createElement("div", {
24572
+ style: style,
25703
24573
  onMouseEnter: this.props.onMouseEnter,
25704
- onMouseLeave: this.props.onMouseLeave,
25705
- toggleOnHover: false,
25706
- showOnMount: true,
25707
- ref: e => this._tooltip = e
25708
- }, /*#__PURE__*/React__namespace.createElement("div", {
25709
- style: {
25710
- position: "absolute",
25711
- left: focusRect.left,
25712
- top: focusRect.top,
25713
- height: focusRect.height
25714
- }
25715
- }));
24574
+ onMouseLeave: this.props.onMouseLeave
24575
+ }, /*#__PURE__*/React__namespace.createElement(Tooltip__default["default"], {
24576
+ content: content,
24577
+ opened: true
24578
+ }, /*#__PURE__*/React__namespace.createElement("div", null)));
25716
24579
  }
25717
24580
 
25718
24581
  }
@@ -25724,7 +24587,10 @@ const styles$x = aphrodite.StyleSheet.create({
25724
24587
  // the user accidentally selects the "Add highlight" tooltip text, then
25725
24588
  // we lose our reference to the _actual_ text they want to highlight,
25726
24589
  // and the "Add highlight" action fails.
25727
- userSelect: "none"
24590
+ userSelect: "none",
24591
+ fontFamily: "\"Lato\", sans-serif",
24592
+ padding: "10px ".concat(Spacing__default["default"].medium_16, "px"),
24593
+ cursor: "pointer"
25728
24594
  }
25729
24595
  });
25730
24596
 
@@ -25875,7 +24741,7 @@ class SelectionTracker extends React__namespace.PureComponent {
25875
24741
  });
25876
24742
 
25877
24743
  _defineProperty(this, "_handleSelectionChange", () => {
25878
- this._updateTrackedSelection(this.props.buildHighlight);
24744
+ this._updateTrackedSelection();
25879
24745
 
25880
24746
  if (this.state.mouseState === "down") {
25881
24747
  this.setState({
@@ -25901,15 +24767,15 @@ class SelectionTracker extends React__namespace.PureComponent {
25901
24767
  this._updateListeners(false, this.props.enabled);
25902
24768
  }
25903
24769
 
25904
- UNSAFE_componentWillReceiveProps(nextProps) {
25905
- if (this.props.buildHighlight !== nextProps.buildHighlight) {
24770
+ componentDidUpdate(prevProps) {
24771
+ if (this.props.buildHighlight !== prevProps.buildHighlight) {
25906
24772
  // The highlight-building function changed, so the
25907
24773
  // proposedHighlight we built with it might be different, or no
25908
24774
  // longer be valid. Update accordingly.
25909
- this._updateTrackedSelection(nextProps.buildHighlight);
24775
+ this._updateTrackedSelection();
25910
24776
  }
25911
24777
 
25912
- this._updateListeners(this.props.enabled, nextProps.enabled);
24778
+ this._updateListeners(prevProps.enabled, this.props.enabled);
25913
24779
  }
25914
24780
 
25915
24781
  componentWillUnmount() {
@@ -25966,15 +24832,18 @@ class SelectionTracker extends React__namespace.PureComponent {
25966
24832
  };
25967
24833
  }
25968
24834
  /**
25969
- * Compute the current TrackedSelection from the document state.
24835
+ * Compute and update the TrackedSelection to reflect the document state.
25970
24836
  */
25971
24837
 
25972
24838
 
25973
- _computeTrackedSelection(buildHighlight) {
24839
+ _updateTrackedSelection() {
25974
24840
  const focusAndRange = this._computeFocusAndRange();
25975
24841
 
25976
24842
  if (!focusAndRange) {
25977
- return null;
24843
+ this.setState({
24844
+ trackedSelection: null
24845
+ });
24846
+ return;
25978
24847
  }
25979
24848
 
25980
24849
  const {
@@ -25982,26 +24851,20 @@ class SelectionTracker extends React__namespace.PureComponent {
25982
24851
  focusOffset,
25983
24852
  range
25984
24853
  } = focusAndRange;
25985
- const proposedHighlight = buildHighlight(range);
24854
+ const proposedHighlight = this.props.buildHighlight(range);
25986
24855
 
25987
24856
  if (!proposedHighlight) {
25988
- return null;
24857
+ this.setState({
24858
+ trackedSelection: null
24859
+ });
24860
+ return;
25989
24861
  }
25990
24862
 
25991
- return {
24863
+ const trackedSelection = {
25992
24864
  focusNode,
25993
24865
  focusOffset,
25994
24866
  proposedHighlight
25995
24867
  };
25996
- }
25997
- /**
25998
- * Update the TrackedSelection to reflect the document state.
25999
- */
26000
-
26001
-
26002
- _updateTrackedSelection(buildHighlight) {
26003
- const trackedSelection = this._computeTrackedSelection(buildHighlight);
26004
-
26005
24868
  this.setState({
26006
24869
  trackedSelection
26007
24870
  });
@@ -27419,6 +26282,45 @@ var PassageRef$1 = {
27419
26282
  }
27420
26283
  };
27421
26284
 
26285
+ /**
26286
+ * A default set of media queries to use for different screen sizes. Based on
26287
+ * the breakpoints from purecss.
26288
+ *
26289
+ * Use like:
26290
+ * StyleSheet.create({
26291
+ * blah: {
26292
+ * [mediaQueries.xs]: {
26293
+ *
26294
+ * },
26295
+ * },
26296
+ * });
26297
+ */
26298
+ const {
26299
+ pureXsMax: pureXsMax$1,
26300
+ pureSmMin: pureSmMin$1,
26301
+ pureSmMax: pureSmMax$1,
26302
+ pureMdMin: pureMdMin$1,
26303
+ pureMdMax: pureMdMax$1,
26304
+ pureLgMin: pureLgMin$1,
26305
+ pureLgMax: pureLgMax$1,
26306
+ pureXlMin: pureXlMin$1
26307
+ } = constants$1;
26308
+ var mediaQueries = {
26309
+ xs: "@media screen and (max-width: ".concat(pureXsMax$1, ")"),
26310
+ sm: "@media screen and (min-width: ".concat(pureSmMin$1, ") and ") + "(max-width: ".concat(pureSmMax$1, ")"),
26311
+ md: "@media screen and (min-width: ".concat(pureMdMin$1, ") and ") + "(max-width: ".concat(pureMdMax$1, ")"),
26312
+ lg: "@media screen and (min-width: ".concat(pureLgMin$1, ") and ") + "(max-width: ".concat(pureLgMax$1, ")"),
26313
+ xl: "@media screen and (min-width: ".concat(pureXlMin$1, ")"),
26314
+ xsOrSmaller: "@media screen and (max-width: ".concat(pureXsMax$1, ")"),
26315
+ smOrSmaller: "@media screen and (max-width: ".concat(pureSmMax$1, ")"),
26316
+ mdOrSmaller: "@media screen and (max-width: ".concat(pureMdMax$1, ")"),
26317
+ lgOrSmaller: "@media screen and (max-width: ".concat(pureLgMax$1, ")"),
26318
+ smOrLarger: "@media screen and (min-width: ".concat(pureSmMin$1, ")"),
26319
+ mdOrLarger: "@media screen and (min-width: ".concat(pureMdMin$1, ")"),
26320
+ lgOrLarger: "@media screen and (min-width: ".concat(pureLgMin$1, ")"),
26321
+ xlOrLarger: "@media screen and (min-width: ".concat(pureXlMin$1, ")")
26322
+ };
26323
+
27422
26324
  const {
27423
26325
  zIndexAboveScratchpad,
27424
26326
  zIndexInteractiveComponent,
@@ -36054,51 +34956,1032 @@ class InteractiveGraph extends React__namespace.Component {
36054
34956
  // actually just wrong
36055
34957
 
36056
34958
 
36057
- if (!hasValue || ___default["default"].isEqual(state, rubric.graph)) {
36058
- // We're where we started.
36059
- return {
36060
- type: "invalid",
36061
- message: null
36062
- };
34959
+ if (!hasValue || ___default["default"].isEqual(state, rubric.graph)) {
34960
+ // We're where we started.
34961
+ return {
34962
+ type: "invalid",
34963
+ message: null
34964
+ };
34965
+ }
34966
+
34967
+ return {
34968
+ type: "points",
34969
+ earned: 0,
34970
+ total: 1,
34971
+ message: null
34972
+ };
34973
+ }
34974
+
34975
+ static getUserInputFromProps(props) {
34976
+ return props.graph;
34977
+ }
34978
+
34979
+ }
34980
+
34981
+ _defineProperty(InteractiveGraph, "defaultProps", {
34982
+ labels: ["x", "y"],
34983
+ range: [[-10, 10], [-10, 10]],
34984
+ step: [1, 1],
34985
+ // $FlowFixMe[prop-missing]
34986
+ backgroundImage: defaultBackgroundImage$1,
34987
+ markings: "graph",
34988
+ showTooltips: false,
34989
+ showProtractor: false,
34990
+ showRuler: false,
34991
+ rulerLabel: "",
34992
+ rulerTicks: 10,
34993
+ graph: {
34994
+ type: "linear"
34995
+ }
34996
+ });
34997
+
34998
+ var InteractiveGraph$1 = {
34999
+ name: "interactive-graph",
35000
+ displayName: "Interactive graph",
35001
+ widget: InteractiveGraph
35002
+ };
35003
+
35004
+ const black = "#000000";
35005
+ const grayDarker = "#333333";
35006
+ const grayDark = "#555555";
35007
+ const gray = "#999999";
35008
+ const grayLight = "#AAAAAA";
35009
+ const grayLighter = "#DDDDDD";
35010
+ const white = "#FFFFFF";
35011
+ const blue = "#005A88";
35012
+ const blueDark = "#2C3747";
35013
+ const green = "#76A005";
35014
+ const red = "#CF5044";
35015
+ const yellow = "#FFC40D";
35016
+ const orange = "#BF4F04";
35017
+ const pink = "#C3325F";
35018
+ const purple = "#7A43B6";
35019
+ const bodyBackground = "#FFFFFF";
35020
+ const textColor = "#444444";
35021
+ const linkColor = "#005987";
35022
+ const linkColorHover = "#678D00";
35023
+ const sansFontFamily = "'Helvetica Neue',Helvetica,Arial,sans-serif";
35024
+ const serifFontFamily = "Georgia,'Times New Roman',Times,serif";
35025
+ const monoFontFamily = "Monaco,Menlo,Consolas,'Courier New',monospace";
35026
+ const baseFontSize = "14px";
35027
+ const baseFontFamily = "inherit";
35028
+ const baseLineHeight = "20px";
35029
+ const altFontFamily = "Georgia,'Times New Roman',Times,serif";
35030
+ const headingsFontFamily = "inherit";
35031
+ const headingsFontWeight = "bold";
35032
+ const headingsColor = "inherit";
35033
+ const fontSizeLarge = "18px";
35034
+ const fontSizeSmall = "12px";
35035
+ const fontSizeMini = "10.5px";
35036
+ const paddingLarge = "11px 19px";
35037
+ const paddingSmall = "2px 10px";
35038
+ const paddingMini = "0 6px";
35039
+ const baseBorderRadius = "4px";
35040
+ const borderRadiusLarge = "6px";
35041
+ const borderRadiusSmall = "3px";
35042
+ const tableBackground = "#000000";
35043
+ const tableBackgroundAccent = "#F9F9F9";
35044
+ const tableBackgroundHover = "#F5F5F5";
35045
+ const tableBorder = "#DDDDDD";
35046
+ const btnBackground = "#FFFFFF";
35047
+ const btnBackgroundHighlight = "rgb(230, 230, 230)";
35048
+ const btnBorder = "#CCCCCC";
35049
+ const btnPrimaryBackground = "#0088CC";
35050
+ const btnPrimaryBackgroundHighlight = "rgb(0, 68, 204)";
35051
+ const btnInfoBackground = "#5BC0DE";
35052
+ const btnInfoBackgroundHighlight = "#2F96B4";
35053
+ const btnSuccessBackground = "#62C462";
35054
+ const btnSuccessBackgroundHighlight = "#51A351";
35055
+ const btnWarningBackground = "rgb(251, 180, 81)";
35056
+ const btnWarningBackgroundHighlight = "#F89406";
35057
+ const btnDangerBackground = "#EE5F5B";
35058
+ const btnDangerBackgroundHighlight = "#BD362F";
35059
+ const btnInverseBackground = "#444444";
35060
+ const btnInverseBackgroundHighlight = "#222222";
35061
+ const inputBackground = "#FFFFFF";
35062
+ const inputBorder = "#CCCCCC";
35063
+ const inputBorderRadius = "4px";
35064
+ const inputDisabledBackground = "#EEEEEE";
35065
+ const formActionsBackground = "#F5F5F5";
35066
+ const inputHeight = "30px";
35067
+ const dropdownBackground = "#FFFFFF";
35068
+ const dropdownBorder = "rgba(0, 0, 0, 0.2)";
35069
+ const dropdownDividerTop = "#E5E5E5";
35070
+ const dropdownDividerBottom = "#FFFFFF";
35071
+ const dropdownLinkColor = "#333333";
35072
+ const dropdownLinkColorHover = "#FFFFFF";
35073
+ const dropdownLinkColorActive = "#FFFFFF";
35074
+ const dropdownLinkBackgroundActive = "#0088CC";
35075
+ const dropdownLinkBackgroundHover = "#0088CC";
35076
+ const zindexDropdown = 1000;
35077
+ const zindexPopover = 1010;
35078
+ const zindexTooltip = 1030;
35079
+ const zindexFixedNavbar = 1030;
35080
+ const zindexHeader = 1060;
35081
+ const zindexModalBackdrop = 1070;
35082
+ const zindexModal = 1080;
35083
+ const zindexAboveModal = 1090;
35084
+ const iconSpritePath = "../img/glyphicons-halflings.png";
35085
+ const iconWhiteSpritePath = "../img/glyphicons-halflings-white.png";
35086
+ const placeholderText = "#999999";
35087
+ const hrBorder = "#EEEEEE";
35088
+ const horizontalComponentOffset = "180px";
35089
+ const wellBackground = "#F5F5F5";
35090
+ const navbarCollapseWidth = "979px";
35091
+ const navbarCollapseDesktopWidth = "980px";
35092
+ const navbarHeight = "40px";
35093
+ const navbarBackgroundHighlight = "#FFFFFF";
35094
+ const navbarBackground = "rgb(242, 242, 242)";
35095
+ const navbarBorder = "rgb(212, 212, 212)";
35096
+ const navbarText = "#777777";
35097
+ const navbarLinkColor = "#777777";
35098
+ const navbarLinkColorHover = "#333333";
35099
+ const navbarLinkColorActive = "#555555";
35100
+ const navbarLinkBackgroundHover = "#000000";
35101
+ const navbarLinkBackgroundActive = "rgb(230, 230, 230)";
35102
+ const navbarBrandColor = "#777777";
35103
+ const navbarInverseBackground = "#111111";
35104
+ const navbarInverseBackgroundHighlight = "#222222";
35105
+ const navbarInverseBorder = "#252525";
35106
+ const navbarInverseText = "#999999";
35107
+ const navbarInverseLinkColor = "#999999";
35108
+ const navbarInverseLinkColorHover = "#FFFFFF";
35109
+ const navbarInverseLinkColorActive = "#FFFFFF";
35110
+ const navbarInverseLinkBackgroundHover = "#000000";
35111
+ const navbarInverseLinkBackgroundActive = "#111111";
35112
+ const navbarInverseSearchBackground = "rgb(82, 82, 82)";
35113
+ const navbarInverseSearchBackgroundFocus = "#FFFFFF";
35114
+ const navbarInverseSearchBorder = "#111111";
35115
+ const navbarInverseSearchPlaceholderColor = "#CCCCCC";
35116
+ const navbarInverseBrandColor = "#999999";
35117
+ const paginationBackground = "#FFFFFF";
35118
+ const paginationBorder = "#DDDDDD";
35119
+ const paginationActiveBackground = "#F5F5F5";
35120
+ const heroUnitBackground = "#EEEEEE";
35121
+ const heroUnitHeadingColor = "inherit";
35122
+ const heroUnitLeadColor = "inherit";
35123
+ const warningText = "#C09853";
35124
+ const warningBackground = "#FCF8E3";
35125
+ const warningBorder = "rgb(251, 239, 213)";
35126
+ const errorText = "#B94A48";
35127
+ const errorBackground = "#F2DEDE";
35128
+ const errorBorder = "rgb(238, 211, 215)";
35129
+ const successText = "#468847";
35130
+ const successBackground = "#DFF0D8";
35131
+ const successBorder = "rgb(212, 232, 197)";
35132
+ const infoText = "#4A7C17";
35133
+ const infoBackground = "#EDF2DF";
35134
+ const infoBorder = "rgb(228, 232, 197)";
35135
+ const tooltipColor = "#FFFFFF";
35136
+ const tooltipBackground = "#000000";
35137
+ const tooltipArrowWidth = "5px";
35138
+ const tooltipArrowColor = "#000000";
35139
+ const popoverBackground = "#FFFFFF";
35140
+ const popoverArrowWidth = "10px";
35141
+ const popoverArrowColor = "#FFFFFF";
35142
+ const popoverTitleBackground = "rgb(247, 247, 247)";
35143
+ const popoverArrowOuterWidth = "11px";
35144
+ const popoverArrowOuterColor = "rgba(0, 0, 0, 0.25)";
35145
+ const gridColumns = "12";
35146
+ const gridColumnWidth = "60px";
35147
+ const gridGutterWidth = "20px";
35148
+ const gridRowWidth = "940px";
35149
+ const gridColumnWidth1200 = "70px";
35150
+ const gridGutterWidth1200 = "30px";
35151
+ const gridRowWidth1200 = "1170px";
35152
+ const gridColumnWidth768 = "42px";
35153
+ const gridGutterWidth768 = "20px";
35154
+ const gridRowWidth768 = "724px";
35155
+ const fluidGridColumnWidth = "6.382978723404255%";
35156
+ const fluidGridGutterWidth = "2.127659574468085%";
35157
+ const fluidGridColumnWidth1200 = "5.982905982905983%";
35158
+ const fluidGridGutterWidth1200 = "2.564102564102564%";
35159
+ const fluidGridColumnWidth768 = "5.801104972375691%";
35160
+ const fluidGridGutterWidth768 = "2.7624309392265194%";
35161
+ const kaGreen = "#71B307";
35162
+ const kaGreenLight = "#BED47A";
35163
+ const kaBlue = "#314453";
35164
+ const kaBlueLight = "#4D6779";
35165
+ const grayExtraDark = "#111111";
35166
+ const grayExtraLight = "#EEEEEE";
35167
+ const graySuperLight = "#F7F7F7";
35168
+ const whiteDark = "#FDFDFD";
35169
+ const dark = "#21242C";
35170
+ const blueDarkUnsaturated = "#3B414E";
35171
+ const blueDarkSaturated = "#1F3043";
35172
+ const blueLight = "#A9C0D1";
35173
+ const greenLight = "#C6D1AD";
35174
+ const greenDark = "#356700";
35175
+ const yellowGreen = "#9DB63B";
35176
+ const okGreen = "#A7CF5B";
35177
+ const alertRed = "#C42420";
35178
+ const coral = "#EE6666";
35179
+ const grayBlue = "#9AB3B9";
35180
+ const lightPageBackground = "#FDFDFD";
35181
+ const yclaBlue = "#49BAD5";
35182
+ const yclaTeal = "#56D0B3";
35183
+ const yclaTealDark = "#50C1A7";
35184
+ const yclaGreenDark = "#3D9A82";
35185
+ const yclaGreen = "#81C262";
35186
+ const learnstormBlue = "#4898FC";
35187
+ const homepageBlue = "#46A8BF";
35188
+ const backgroundBlue = "#00294A";
35189
+ const teacherSignupBlue = "#335d7d";
35190
+ const homepageGreen = "#2B8E7B";
35191
+ const streakColor = "#F79734";
35192
+ const facebookColor = "#1A60A2";
35193
+ const blueGoogleColor = "#2CAFE2";
35194
+ const redGoogleColor = "#BF4434";
35195
+ const homepageColor = "#2D585E";
35196
+ const lightTextColor = "#898989";
35197
+ const fontSizeTiny = "11px";
35198
+ const fontSizeNormal = "14px";
35199
+ const fontSizeMedium = "16px";
35200
+ const fontSizeExtraLarge = "24px";
35201
+ const fontSizeHuge = "36px";
35202
+ const fontSizeBakana = "48px";
35203
+ const fontSizeBananas = "60px";
35204
+ const fixedWidthFontFamily = "'Helvetica Neue',Helvetica,Arial,sans-serif";
35205
+ const contentPadding = "20px";
35206
+ const primaryButtonBackground = "#89B908";
35207
+ const primaryButtonBorder = "#76A005";
35208
+ const buttonTextColor = "rgb(122, 122, 122)";
35209
+ const buttonBorderRadius = "3px";
35210
+ const basicBorderColor = "#CCCCCC";
35211
+ const minContainerWidth = "1000px";
35212
+ const maxContainerWidth = "1200px";
35213
+ const formHintColor = "#999999";
35214
+ const guidelineExampleText = "#606060";
35215
+ const hoverCardWidth = "450px";
35216
+ const menuHighlightColor = "#96AB4F";
35217
+ const menuHighlightBorderColor = "#76A005";
35218
+ const menuActiveTextColor = "#FFFFFF";
35219
+ const menuInactiveTextColor = "#444444";
35220
+ const menuSubheaderTextColor = "rgb(120, 120, 120)";
35221
+ const menuBorderColor = "#94A170";
35222
+ const unreadBackgroundColor = "#ECEEF4";
35223
+ const menuLineHeight = "18px";
35224
+ const menuSubheaderLineHeight = "17px";
35225
+ const menuSubheaderFontSize = "9px";
35226
+ const notificationBarColor = "#4858A4";
35227
+ const modalBodyTopPadding = "20px";
35228
+ const modalDialogPadding = "15px";
35229
+ const modalSectionPadding = "9px";
35230
+ const mathDomain1 = "#11ACCD";
35231
+ const mathDomain2 = "#63D9EA";
35232
+ const mathDomain3 = "#027d97";
35233
+ const mathDomain4 = "#085566";
35234
+ const partnerContentDomain1 = "#01A995";
35235
+ const partnerContentDomain2 = "#01D1C1";
35236
+ const partnerContentDomain3 = "#208170";
35237
+ const partnerContentDomain4 = "#144F44";
35238
+ const csDomain1 = "#1FAB54";
35239
+ const csDomain2 = "#74CF70";
35240
+ const csDomain3 = "#0D923F";
35241
+ const csDomain4 = "#085E29";
35242
+ const economicsDomain1 = "#E07D10";
35243
+ const economicsDomain2 = "#FFBE26";
35244
+ const economicsDomain3 = "#A75A05";
35245
+ const economicsDomain4 = "#953C02";
35246
+ const collegeCareersMoreDomain1 = "#01A995";
35247
+ const collegeCareersMoreDomain2 = "#01D1C1";
35248
+ const collegeCareersMoreDomain3 = "#208170";
35249
+ const collegeCareersMoreDomain4 = "#144F44";
35250
+ const humanitiesDomain1 = "#E84D39";
35251
+ const humanitiesDomain2 = "#FF8482";
35252
+ const humanitiesDomain3 = "#BE2612";
35253
+ const humanitiesDomain4 = "#8C1C0D";
35254
+ const gtpDomain1 = "#1865F2";
35255
+ const gtpDomain2 = "#1865F2";
35256
+ const gtpDomain3 = "#1865F2";
35257
+ const gtpDomain4 = "#1865F2";
35258
+ const scienceDomain1 = "#CA337C";
35259
+ const scienceDomain2 = "#FF92C6";
35260
+ const scienceDomain3 = "#9E034E";
35261
+ const scienceDomain4 = "#6B0235";
35262
+ const testPrepDomain1 = "#1865F2";
35263
+ const testPrepDomain2 = "#1865F2";
35264
+ const testPrepDomain3 = "#1865F2";
35265
+ const testPrepDomain4 = "#1865F2";
35266
+ const defaultDomain1 = "#1865F2";
35267
+ const defaultDomain2 = "#66afe9";
35268
+ const defaultDomain3 = "#1152b0";
35269
+ const defaultDomain4 = "#0d3d82";
35270
+ const defaultDomainColor = "#314453";
35271
+ const defaultSubjectColor = "#4D6779";
35272
+ const defaultTopicColor = "#6A8DA6";
35273
+ const defaultHoverColor = "#314453";
35274
+ const defaultLinkColor = "#314453";
35275
+ const defaultLinkHoverColor = "#6A8DA6";
35276
+ const scienceDomainColor = "#94424F";
35277
+ const scienceSubjectColor = "#9D4A5A";
35278
+ const scienceTopicColor = "#C55F73";
35279
+ const scienceHoverColor = "#94424F";
35280
+ const scienceLinkColor = "#94424F";
35281
+ const scienceLinkHoverColor = "#C55F73";
35282
+ const humanitiesDomainColor = "#AD3434";
35283
+ const humanitiesSubjectColor = "#C13B31";
35284
+ const humanitiesTopicColor = "#D24A45";
35285
+ const humanitiesHoverColor = "#AD3434";
35286
+ const humanitiesLinkColor = "#AD3434";
35287
+ const humanitiesLinkHoverColor = "#D24A45";
35288
+ const economicsDomainColor = "#B77033";
35289
+ const economicsSubjectColor = "#BF7B34";
35290
+ const economicsTopicColor = "#D1933B";
35291
+ const economicsHoverColor = "#B77033";
35292
+ const economicsLinkColor = "#B77033";
35293
+ const economicsLinkHoverColor = "#D1933B";
35294
+ const csDomainColor = "#437A39";
35295
+ const csSubjectColor = "#53893E";
35296
+ const csTopicColor = "#689B51";
35297
+ const csHoverColor = "#437A39";
35298
+ const csLinkColor = "#437A39";
35299
+ const csLinkHoverColor = "#689B51";
35300
+ const partnerContentDomainColor = "#218270";
35301
+ const partnerContentSubjectColor = "#2C8D7B";
35302
+ const partnerContentTopicColor = "#329A86";
35303
+ const partnerContentHoverColor = "#218270";
35304
+ const partnerContentLinkColor = "#218270";
35305
+ const partnerContentLinkHoverColor = "#329A86";
35306
+ const essayDomainColor = "#0071B3";
35307
+ const mathDomainColor = "#1C758A";
35308
+ const mathSubjectColor = "#46A8BF";
35309
+ const mathTopicColor = "#4FBAD4";
35310
+ const mathHoverColor = "#1C758A";
35311
+ const mathLinkColor = "#1C758A";
35312
+ const mathLinkHoverColor = "#4FBAD4";
35313
+ const testPrepDomainColor = "#644172";
35314
+ const testPrepSubjectColor = "#7E5F8E";
35315
+ const testPrepTopicColor = "#9A72AC";
35316
+ const testPrepHoverColor = "#644172";
35317
+ const testPrepLinkColor = "#644172";
35318
+ const testPrepLinkHoverColor = "#9A72AC";
35319
+ const collegeCareersMoreDomainColor = "#218270";
35320
+ const collegeCareersMoreSubjectColor = "#2C8D7B";
35321
+ const collegeCareersMoreTopicColor = "#329A86";
35322
+ const collegeCareersMoreHoverColor = "#218270";
35323
+ const collegeCareersMoreLinkColor = "#218270";
35324
+ const collegeCareersMoreLinkHoverColor = "#329A86";
35325
+ const satDomainColor = "#0084CE";
35326
+ const satSubjectColor = "#0084CE";
35327
+ const satTopicColor = "#0084CE";
35328
+ const satHoverColor = "#0084CE";
35329
+ const satLinkColor = "#0084CE";
35330
+ const satLinkHoverColor = "#0084CE";
35331
+ const colorProficient = "#1C758A";
35332
+ const colorPracticed = "rgb(158, 221, 235)";
35333
+ const colorMastery1 = "rgb(90, 197, 221)";
35334
+ const colorMastery2 = "rgb(42, 174, 203)";
35335
+ const colorMastery3 = "#1C758A";
35336
+ const colorSuggested = "#73982C";
35337
+ const colorReview = "#E35D04";
35338
+ const colorNotStarted = "#CCCCCC";
35339
+ const colorStarted = "#C7E5F7";
35340
+ const colorStruggling = "#C30202";
35341
+ const colorPersonal = "#00809C";
35342
+ const colorPractice = "#96D9FF";
35343
+ const colorEnergyPoints = "#005987";
35344
+ const pureSmMin = "568px";
35345
+ const pureMdMin = "768px";
35346
+ const pureLgMin = "1024px";
35347
+ const pureXlMin = "1200px";
35348
+ const pureXsMax = "567px";
35349
+ const pureSmMax = "767px";
35350
+ const pureMdMax = "1023px";
35351
+ const pureLgMax = "1199px";
35352
+
35353
+ var globalConstants = /*#__PURE__*/Object.freeze({
35354
+ __proto__: null,
35355
+ black: black,
35356
+ grayDarker: grayDarker,
35357
+ grayDark: grayDark,
35358
+ gray: gray,
35359
+ grayLight: grayLight,
35360
+ grayLighter: grayLighter,
35361
+ white: white,
35362
+ blue: blue,
35363
+ blueDark: blueDark,
35364
+ green: green,
35365
+ red: red,
35366
+ yellow: yellow,
35367
+ orange: orange,
35368
+ pink: pink,
35369
+ purple: purple,
35370
+ bodyBackground: bodyBackground,
35371
+ textColor: textColor,
35372
+ linkColor: linkColor,
35373
+ linkColorHover: linkColorHover,
35374
+ sansFontFamily: sansFontFamily,
35375
+ serifFontFamily: serifFontFamily,
35376
+ monoFontFamily: monoFontFamily,
35377
+ baseFontSize: baseFontSize,
35378
+ baseFontFamily: baseFontFamily,
35379
+ baseLineHeight: baseLineHeight,
35380
+ altFontFamily: altFontFamily,
35381
+ headingsFontFamily: headingsFontFamily,
35382
+ headingsFontWeight: headingsFontWeight,
35383
+ headingsColor: headingsColor,
35384
+ fontSizeLarge: fontSizeLarge,
35385
+ fontSizeSmall: fontSizeSmall,
35386
+ fontSizeMini: fontSizeMini,
35387
+ paddingLarge: paddingLarge,
35388
+ paddingSmall: paddingSmall,
35389
+ paddingMini: paddingMini,
35390
+ baseBorderRadius: baseBorderRadius,
35391
+ borderRadiusLarge: borderRadiusLarge,
35392
+ borderRadiusSmall: borderRadiusSmall,
35393
+ tableBackground: tableBackground,
35394
+ tableBackgroundAccent: tableBackgroundAccent,
35395
+ tableBackgroundHover: tableBackgroundHover,
35396
+ tableBorder: tableBorder,
35397
+ btnBackground: btnBackground,
35398
+ btnBackgroundHighlight: btnBackgroundHighlight,
35399
+ btnBorder: btnBorder,
35400
+ btnPrimaryBackground: btnPrimaryBackground,
35401
+ btnPrimaryBackgroundHighlight: btnPrimaryBackgroundHighlight,
35402
+ btnInfoBackground: btnInfoBackground,
35403
+ btnInfoBackgroundHighlight: btnInfoBackgroundHighlight,
35404
+ btnSuccessBackground: btnSuccessBackground,
35405
+ btnSuccessBackgroundHighlight: btnSuccessBackgroundHighlight,
35406
+ btnWarningBackground: btnWarningBackground,
35407
+ btnWarningBackgroundHighlight: btnWarningBackgroundHighlight,
35408
+ btnDangerBackground: btnDangerBackground,
35409
+ btnDangerBackgroundHighlight: btnDangerBackgroundHighlight,
35410
+ btnInverseBackground: btnInverseBackground,
35411
+ btnInverseBackgroundHighlight: btnInverseBackgroundHighlight,
35412
+ inputBackground: inputBackground,
35413
+ inputBorder: inputBorder,
35414
+ inputBorderRadius: inputBorderRadius,
35415
+ inputDisabledBackground: inputDisabledBackground,
35416
+ formActionsBackground: formActionsBackground,
35417
+ inputHeight: inputHeight,
35418
+ dropdownBackground: dropdownBackground,
35419
+ dropdownBorder: dropdownBorder,
35420
+ dropdownDividerTop: dropdownDividerTop,
35421
+ dropdownDividerBottom: dropdownDividerBottom,
35422
+ dropdownLinkColor: dropdownLinkColor,
35423
+ dropdownLinkColorHover: dropdownLinkColorHover,
35424
+ dropdownLinkColorActive: dropdownLinkColorActive,
35425
+ dropdownLinkBackgroundActive: dropdownLinkBackgroundActive,
35426
+ dropdownLinkBackgroundHover: dropdownLinkBackgroundHover,
35427
+ zindexDropdown: zindexDropdown,
35428
+ zindexPopover: zindexPopover,
35429
+ zindexTooltip: zindexTooltip,
35430
+ zindexFixedNavbar: zindexFixedNavbar,
35431
+ zindexHeader: zindexHeader,
35432
+ zindexModalBackdrop: zindexModalBackdrop,
35433
+ zindexModal: zindexModal,
35434
+ zindexAboveModal: zindexAboveModal,
35435
+ iconSpritePath: iconSpritePath,
35436
+ iconWhiteSpritePath: iconWhiteSpritePath,
35437
+ placeholderText: placeholderText,
35438
+ hrBorder: hrBorder,
35439
+ horizontalComponentOffset: horizontalComponentOffset,
35440
+ wellBackground: wellBackground,
35441
+ navbarCollapseWidth: navbarCollapseWidth,
35442
+ navbarCollapseDesktopWidth: navbarCollapseDesktopWidth,
35443
+ navbarHeight: navbarHeight,
35444
+ navbarBackgroundHighlight: navbarBackgroundHighlight,
35445
+ navbarBackground: navbarBackground,
35446
+ navbarBorder: navbarBorder,
35447
+ navbarText: navbarText,
35448
+ navbarLinkColor: navbarLinkColor,
35449
+ navbarLinkColorHover: navbarLinkColorHover,
35450
+ navbarLinkColorActive: navbarLinkColorActive,
35451
+ navbarLinkBackgroundHover: navbarLinkBackgroundHover,
35452
+ navbarLinkBackgroundActive: navbarLinkBackgroundActive,
35453
+ navbarBrandColor: navbarBrandColor,
35454
+ navbarInverseBackground: navbarInverseBackground,
35455
+ navbarInverseBackgroundHighlight: navbarInverseBackgroundHighlight,
35456
+ navbarInverseBorder: navbarInverseBorder,
35457
+ navbarInverseText: navbarInverseText,
35458
+ navbarInverseLinkColor: navbarInverseLinkColor,
35459
+ navbarInverseLinkColorHover: navbarInverseLinkColorHover,
35460
+ navbarInverseLinkColorActive: navbarInverseLinkColorActive,
35461
+ navbarInverseLinkBackgroundHover: navbarInverseLinkBackgroundHover,
35462
+ navbarInverseLinkBackgroundActive: navbarInverseLinkBackgroundActive,
35463
+ navbarInverseSearchBackground: navbarInverseSearchBackground,
35464
+ navbarInverseSearchBackgroundFocus: navbarInverseSearchBackgroundFocus,
35465
+ navbarInverseSearchBorder: navbarInverseSearchBorder,
35466
+ navbarInverseSearchPlaceholderColor: navbarInverseSearchPlaceholderColor,
35467
+ navbarInverseBrandColor: navbarInverseBrandColor,
35468
+ paginationBackground: paginationBackground,
35469
+ paginationBorder: paginationBorder,
35470
+ paginationActiveBackground: paginationActiveBackground,
35471
+ heroUnitBackground: heroUnitBackground,
35472
+ heroUnitHeadingColor: heroUnitHeadingColor,
35473
+ heroUnitLeadColor: heroUnitLeadColor,
35474
+ warningText: warningText,
35475
+ warningBackground: warningBackground,
35476
+ warningBorder: warningBorder,
35477
+ errorText: errorText,
35478
+ errorBackground: errorBackground,
35479
+ errorBorder: errorBorder,
35480
+ successText: successText,
35481
+ successBackground: successBackground,
35482
+ successBorder: successBorder,
35483
+ infoText: infoText,
35484
+ infoBackground: infoBackground,
35485
+ infoBorder: infoBorder,
35486
+ tooltipColor: tooltipColor,
35487
+ tooltipBackground: tooltipBackground,
35488
+ tooltipArrowWidth: tooltipArrowWidth,
35489
+ tooltipArrowColor: tooltipArrowColor,
35490
+ popoverBackground: popoverBackground,
35491
+ popoverArrowWidth: popoverArrowWidth,
35492
+ popoverArrowColor: popoverArrowColor,
35493
+ popoverTitleBackground: popoverTitleBackground,
35494
+ popoverArrowOuterWidth: popoverArrowOuterWidth,
35495
+ popoverArrowOuterColor: popoverArrowOuterColor,
35496
+ gridColumns: gridColumns,
35497
+ gridColumnWidth: gridColumnWidth,
35498
+ gridGutterWidth: gridGutterWidth,
35499
+ gridRowWidth: gridRowWidth,
35500
+ gridColumnWidth1200: gridColumnWidth1200,
35501
+ gridGutterWidth1200: gridGutterWidth1200,
35502
+ gridRowWidth1200: gridRowWidth1200,
35503
+ gridColumnWidth768: gridColumnWidth768,
35504
+ gridGutterWidth768: gridGutterWidth768,
35505
+ gridRowWidth768: gridRowWidth768,
35506
+ fluidGridColumnWidth: fluidGridColumnWidth,
35507
+ fluidGridGutterWidth: fluidGridGutterWidth,
35508
+ fluidGridColumnWidth1200: fluidGridColumnWidth1200,
35509
+ fluidGridGutterWidth1200: fluidGridGutterWidth1200,
35510
+ fluidGridColumnWidth768: fluidGridColumnWidth768,
35511
+ fluidGridGutterWidth768: fluidGridGutterWidth768,
35512
+ kaGreen: kaGreen,
35513
+ kaGreenLight: kaGreenLight,
35514
+ kaBlue: kaBlue,
35515
+ kaBlueLight: kaBlueLight,
35516
+ grayExtraDark: grayExtraDark,
35517
+ grayExtraLight: grayExtraLight,
35518
+ graySuperLight: graySuperLight,
35519
+ whiteDark: whiteDark,
35520
+ dark: dark,
35521
+ blueDarkUnsaturated: blueDarkUnsaturated,
35522
+ blueDarkSaturated: blueDarkSaturated,
35523
+ blueLight: blueLight,
35524
+ greenLight: greenLight,
35525
+ greenDark: greenDark,
35526
+ yellowGreen: yellowGreen,
35527
+ okGreen: okGreen,
35528
+ alertRed: alertRed,
35529
+ coral: coral,
35530
+ grayBlue: grayBlue,
35531
+ lightPageBackground: lightPageBackground,
35532
+ yclaBlue: yclaBlue,
35533
+ yclaTeal: yclaTeal,
35534
+ yclaTealDark: yclaTealDark,
35535
+ yclaGreenDark: yclaGreenDark,
35536
+ yclaGreen: yclaGreen,
35537
+ learnstormBlue: learnstormBlue,
35538
+ homepageBlue: homepageBlue,
35539
+ backgroundBlue: backgroundBlue,
35540
+ teacherSignupBlue: teacherSignupBlue,
35541
+ homepageGreen: homepageGreen,
35542
+ streakColor: streakColor,
35543
+ facebookColor: facebookColor,
35544
+ blueGoogleColor: blueGoogleColor,
35545
+ redGoogleColor: redGoogleColor,
35546
+ homepageColor: homepageColor,
35547
+ lightTextColor: lightTextColor,
35548
+ fontSizeTiny: fontSizeTiny,
35549
+ fontSizeNormal: fontSizeNormal,
35550
+ fontSizeMedium: fontSizeMedium,
35551
+ fontSizeExtraLarge: fontSizeExtraLarge,
35552
+ fontSizeHuge: fontSizeHuge,
35553
+ fontSizeBakana: fontSizeBakana,
35554
+ fontSizeBananas: fontSizeBananas,
35555
+ fixedWidthFontFamily: fixedWidthFontFamily,
35556
+ contentPadding: contentPadding,
35557
+ primaryButtonBackground: primaryButtonBackground,
35558
+ primaryButtonBorder: primaryButtonBorder,
35559
+ buttonTextColor: buttonTextColor,
35560
+ buttonBorderRadius: buttonBorderRadius,
35561
+ basicBorderColor: basicBorderColor,
35562
+ minContainerWidth: minContainerWidth,
35563
+ maxContainerWidth: maxContainerWidth,
35564
+ formHintColor: formHintColor,
35565
+ guidelineExampleText: guidelineExampleText,
35566
+ hoverCardWidth: hoverCardWidth,
35567
+ menuHighlightColor: menuHighlightColor,
35568
+ menuHighlightBorderColor: menuHighlightBorderColor,
35569
+ menuActiveTextColor: menuActiveTextColor,
35570
+ menuInactiveTextColor: menuInactiveTextColor,
35571
+ menuSubheaderTextColor: menuSubheaderTextColor,
35572
+ menuBorderColor: menuBorderColor,
35573
+ unreadBackgroundColor: unreadBackgroundColor,
35574
+ menuLineHeight: menuLineHeight,
35575
+ menuSubheaderLineHeight: menuSubheaderLineHeight,
35576
+ menuSubheaderFontSize: menuSubheaderFontSize,
35577
+ notificationBarColor: notificationBarColor,
35578
+ modalBodyTopPadding: modalBodyTopPadding,
35579
+ modalDialogPadding: modalDialogPadding,
35580
+ modalSectionPadding: modalSectionPadding,
35581
+ mathDomain1: mathDomain1,
35582
+ mathDomain2: mathDomain2,
35583
+ mathDomain3: mathDomain3,
35584
+ mathDomain4: mathDomain4,
35585
+ partnerContentDomain1: partnerContentDomain1,
35586
+ partnerContentDomain2: partnerContentDomain2,
35587
+ partnerContentDomain3: partnerContentDomain3,
35588
+ partnerContentDomain4: partnerContentDomain4,
35589
+ csDomain1: csDomain1,
35590
+ csDomain2: csDomain2,
35591
+ csDomain3: csDomain3,
35592
+ csDomain4: csDomain4,
35593
+ economicsDomain1: economicsDomain1,
35594
+ economicsDomain2: economicsDomain2,
35595
+ economicsDomain3: economicsDomain3,
35596
+ economicsDomain4: economicsDomain4,
35597
+ collegeCareersMoreDomain1: collegeCareersMoreDomain1,
35598
+ collegeCareersMoreDomain2: collegeCareersMoreDomain2,
35599
+ collegeCareersMoreDomain3: collegeCareersMoreDomain3,
35600
+ collegeCareersMoreDomain4: collegeCareersMoreDomain4,
35601
+ humanitiesDomain1: humanitiesDomain1,
35602
+ humanitiesDomain2: humanitiesDomain2,
35603
+ humanitiesDomain3: humanitiesDomain3,
35604
+ humanitiesDomain4: humanitiesDomain4,
35605
+ gtpDomain1: gtpDomain1,
35606
+ gtpDomain2: gtpDomain2,
35607
+ gtpDomain3: gtpDomain3,
35608
+ gtpDomain4: gtpDomain4,
35609
+ scienceDomain1: scienceDomain1,
35610
+ scienceDomain2: scienceDomain2,
35611
+ scienceDomain3: scienceDomain3,
35612
+ scienceDomain4: scienceDomain4,
35613
+ testPrepDomain1: testPrepDomain1,
35614
+ testPrepDomain2: testPrepDomain2,
35615
+ testPrepDomain3: testPrepDomain3,
35616
+ testPrepDomain4: testPrepDomain4,
35617
+ defaultDomain1: defaultDomain1,
35618
+ defaultDomain2: defaultDomain2,
35619
+ defaultDomain3: defaultDomain3,
35620
+ defaultDomain4: defaultDomain4,
35621
+ defaultDomainColor: defaultDomainColor,
35622
+ defaultSubjectColor: defaultSubjectColor,
35623
+ defaultTopicColor: defaultTopicColor,
35624
+ defaultHoverColor: defaultHoverColor,
35625
+ defaultLinkColor: defaultLinkColor,
35626
+ defaultLinkHoverColor: defaultLinkHoverColor,
35627
+ scienceDomainColor: scienceDomainColor,
35628
+ scienceSubjectColor: scienceSubjectColor,
35629
+ scienceTopicColor: scienceTopicColor,
35630
+ scienceHoverColor: scienceHoverColor,
35631
+ scienceLinkColor: scienceLinkColor,
35632
+ scienceLinkHoverColor: scienceLinkHoverColor,
35633
+ humanitiesDomainColor: humanitiesDomainColor,
35634
+ humanitiesSubjectColor: humanitiesSubjectColor,
35635
+ humanitiesTopicColor: humanitiesTopicColor,
35636
+ humanitiesHoverColor: humanitiesHoverColor,
35637
+ humanitiesLinkColor: humanitiesLinkColor,
35638
+ humanitiesLinkHoverColor: humanitiesLinkHoverColor,
35639
+ economicsDomainColor: economicsDomainColor,
35640
+ economicsSubjectColor: economicsSubjectColor,
35641
+ economicsTopicColor: economicsTopicColor,
35642
+ economicsHoverColor: economicsHoverColor,
35643
+ economicsLinkColor: economicsLinkColor,
35644
+ economicsLinkHoverColor: economicsLinkHoverColor,
35645
+ csDomainColor: csDomainColor,
35646
+ csSubjectColor: csSubjectColor,
35647
+ csTopicColor: csTopicColor,
35648
+ csHoverColor: csHoverColor,
35649
+ csLinkColor: csLinkColor,
35650
+ csLinkHoverColor: csLinkHoverColor,
35651
+ partnerContentDomainColor: partnerContentDomainColor,
35652
+ partnerContentSubjectColor: partnerContentSubjectColor,
35653
+ partnerContentTopicColor: partnerContentTopicColor,
35654
+ partnerContentHoverColor: partnerContentHoverColor,
35655
+ partnerContentLinkColor: partnerContentLinkColor,
35656
+ partnerContentLinkHoverColor: partnerContentLinkHoverColor,
35657
+ essayDomainColor: essayDomainColor,
35658
+ mathDomainColor: mathDomainColor,
35659
+ mathSubjectColor: mathSubjectColor,
35660
+ mathTopicColor: mathTopicColor,
35661
+ mathHoverColor: mathHoverColor,
35662
+ mathLinkColor: mathLinkColor,
35663
+ mathLinkHoverColor: mathLinkHoverColor,
35664
+ testPrepDomainColor: testPrepDomainColor,
35665
+ testPrepSubjectColor: testPrepSubjectColor,
35666
+ testPrepTopicColor: testPrepTopicColor,
35667
+ testPrepHoverColor: testPrepHoverColor,
35668
+ testPrepLinkColor: testPrepLinkColor,
35669
+ testPrepLinkHoverColor: testPrepLinkHoverColor,
35670
+ collegeCareersMoreDomainColor: collegeCareersMoreDomainColor,
35671
+ collegeCareersMoreSubjectColor: collegeCareersMoreSubjectColor,
35672
+ collegeCareersMoreTopicColor: collegeCareersMoreTopicColor,
35673
+ collegeCareersMoreHoverColor: collegeCareersMoreHoverColor,
35674
+ collegeCareersMoreLinkColor: collegeCareersMoreLinkColor,
35675
+ collegeCareersMoreLinkHoverColor: collegeCareersMoreLinkHoverColor,
35676
+ satDomainColor: satDomainColor,
35677
+ satSubjectColor: satSubjectColor,
35678
+ satTopicColor: satTopicColor,
35679
+ satHoverColor: satHoverColor,
35680
+ satLinkColor: satLinkColor,
35681
+ satLinkHoverColor: satLinkHoverColor,
35682
+ colorProficient: colorProficient,
35683
+ colorPracticed: colorPracticed,
35684
+ colorMastery1: colorMastery1,
35685
+ colorMastery2: colorMastery2,
35686
+ colorMastery3: colorMastery3,
35687
+ colorSuggested: colorSuggested,
35688
+ colorReview: colorReview,
35689
+ colorNotStarted: colorNotStarted,
35690
+ colorStarted: colorStarted,
35691
+ colorStruggling: colorStruggling,
35692
+ colorPersonal: colorPersonal,
35693
+ colorPractice: colorPractice,
35694
+ colorEnergyPoints: colorEnergyPoints,
35695
+ pureSmMin: pureSmMin,
35696
+ pureMdMin: pureMdMin,
35697
+ pureLgMin: pureLgMin,
35698
+ pureXlMin: pureXlMin,
35699
+ pureXsMax: pureXsMax,
35700
+ pureSmMax: pureSmMax,
35701
+ pureMdMax: pureMdMax,
35702
+ pureLgMax: pureLgMax
35703
+ });
35704
+
35705
+ const colors$1 = {
35706
+ white: "#FFFFFF",
35707
+ gray98: "#FAFAFA",
35708
+ gray97: "#F6F7F7",
35709
+ gray95: "#F0F1F2",
35710
+ gray90: "#E3E5E6",
35711
+ gray85: "#D6D8DA",
35712
+ gray76: "#BABEC2",
35713
+ gray72: "#999A9D",
35714
+ gray68: "#888D93",
35715
+ gray55: "#707378",
35716
+ gray41: "#626569",
35717
+ gray25: "#3B3E40",
35718
+ gray17: "#21242C",
35719
+ gray10: "#1499af",
35720
+ black: "#000000",
35721
+ // These colors are pulled out from constants.js, which is itself generated
35722
+ // from variables.less. We should probably avoid duplicating these here.
35723
+ alertRed,
35724
+ homepageBlue,
35725
+ kaBlue,
35726
+ kaBlueLight,
35727
+ kaGreen,
35728
+ kaGreenLight,
35729
+ learnstormBlue,
35730
+ backgroundBlue,
35731
+ adminGreen: "#78C008",
35732
+ kaBlueExtraLight: "#39c2db",
35733
+ kaBlueHover: "#0c7f99",
35734
+ kaGreenHover: "#518005",
35735
+ // Domain-agnostic colors related to the study guide experience in the
35736
+ // content library.
35737
+ skyDark: "#001f4d",
35738
+ recommendationGold: "#ffbe26",
35739
+ starAced: "#ff9c39",
35740
+ // We interploate the domain colors into this colors object for
35741
+ // historical reasons, but everyone using domain-specific colors
35742
+ // should switch to using the domainColors() function to look up
35743
+ // colors instead.
35744
+ //
35745
+ // TODO(davidflanagan): remove this line once everything is
35746
+ // working correctly with the domainColors() accessor.
35747
+ // ...domainToColorsMap,
35748
+ // mission: missionColors,
35749
+ // Colors for various OAuth providers
35750
+ google: "#C1432f",
35751
+ modernGoogle: "#be2612",
35752
+ modernGoogleHover: "#8c1c0d",
35753
+ facebook: "#4267B2",
35754
+ modernFacebook: "#4267B2",
35755
+ modernFacebookHover: "#00294a",
35756
+ wonderBlocksGold: "#FFB100",
35757
+ wonderBlocksLightBlue: "#37C5FD",
35758
+ // We're using rgba instead of opacity to avoid affecting the focus outline
35759
+ // when we just want to make the color transparent.
35760
+ breadcrumbs: "rgba(255, 255, 255, 0.7)"
35761
+ };
35762
+ const borderRadius = 4;
35763
+ const breadcrumbStyles = {
35764
+ color: colors$1.breadcrumbs,
35765
+ fontFamily: "inherit",
35766
+ fontSize: 15,
35767
+ fontWeight: "bold",
35768
+ letterSpacing: 0.8,
35769
+ lineHeight: "19px",
35770
+ textTransform: "uppercase",
35771
+ // Disable subpixel antialiasing for OSX (improves light on dark text)
35772
+ MozOsxFontSmoothing: "grayscale",
35773
+ WebkitFontSmoothing: "antialiased"
35774
+ };
35775
+ const fonts = {
35776
+ // The body of the page is setup to use 'Helvetica' by default and
35777
+ // 'Lato' if/once it downloads. For your elements to follow this
35778
+ // pattern, all you need is to make the text in your element
35779
+ // inherit from the body using the "inherit" value.
35780
+ regular: "inherit"
35781
+ };
35782
+ const typography = {
35783
+ // For subject names
35784
+ subjectHeadingDesktop: {
35785
+ fontFamily: "inherit",
35786
+ fontSize: 50,
35787
+ fontWeight: "bold",
35788
+ lineHeight: "61px"
35789
+ },
35790
+ subjectHeadingMobile: {
35791
+ fontFamily: "inherit",
35792
+ fontSize: 35,
35793
+ fontWeight: "bold",
35794
+ lineHeight: "37px"
35795
+ },
35796
+ // For the most important thing on the page
35797
+ conceptHeadingDesktop: {
35798
+ fontFamily: "inherit",
35799
+ fontSize: 35,
35800
+ fontWeight: "bold",
35801
+ lineHeight: "37px"
35802
+ },
35803
+ conceptHeadingMobile: {
35804
+ fontFamily: "inherit",
35805
+ fontSize: 23,
35806
+ fontWeight: "bold",
35807
+ lineHeight: "27px"
35808
+ },
35809
+ // For sections or modules
35810
+ subheadingDesktop: {
35811
+ fontFamily: "inherit",
35812
+ fontSize: 23,
35813
+ fontWeight: "bold",
35814
+ lineHeight: "27px"
35815
+ },
35816
+ subheadingMobile: {
35817
+ fontFamily: "inherit",
35818
+ fontSize: 20,
35819
+ fontWeight: "bold",
35820
+ lineHeight: "24px"
35821
+ },
35822
+ smallSubheadingDesktop: {
35823
+ fontFamily: "inherit",
35824
+ fontSize: 20,
35825
+ lineHeight: 1.25
35826
+ },
35827
+ smallSubheadingMobile: {
35828
+ fontFamily: "inherit",
35829
+ fontSize: 15,
35830
+ lineHeight: 1.25
35831
+ },
35832
+ // For callouts
35833
+ smallHeading: {
35834
+ color: colors$1.gray25,
35835
+ fontFamily: "inherit",
35836
+ fontSize: 17,
35837
+ fontWeight: "bold",
35838
+ lineHeight: "23px"
35839
+ },
35840
+ smallHeadingMobile: {
35841
+ color: colors$1.gray25,
35842
+ fontFamily: "inherit",
35843
+ fontSize: 15,
35844
+ fontWeight: "bold",
35845
+ lineHeight: "18px"
35846
+ },
35847
+ // Accent headings
35848
+ accentHeading: {
35849
+ color: colors$1.gray68,
35850
+ fontFamily: "inherit",
35851
+ fontSize: 15,
35852
+ fontWeight: "bold",
35853
+ letterSpacing: 0.8,
35854
+ lineHeight: "19px",
35855
+ textTransform: "uppercase"
35856
+ },
35857
+ bodyLarge: {
35858
+ // For articles with multiple paragraphs
35859
+ fontFamily: fonts.regular,
35860
+ fontSize: 20,
35861
+ lineHeight: "30px"
35862
+ },
35863
+ bodySmall: {
35864
+ // For small blocks of copy
35865
+ fontFamily: fonts.regular,
35866
+ fontSize: 17,
35867
+ fontWeight: "normal",
35868
+ lineHeight: "23px"
35869
+ },
35870
+ bodySmallBold: {
35871
+ // For small blocks of copy
35872
+ fontFamily: fonts.regular,
35873
+ fontSize: 17,
35874
+ fontWeight: "bold",
35875
+ lineHeight: "23px"
35876
+ },
35877
+ bodyXsmall: {
35878
+ // For metadata, descriptions, etc
35879
+ fontFamily: fonts.regular,
35880
+ fontSize: 15,
35881
+ lineHeight: "22px"
35882
+ },
35883
+ bodyXsmallBold: {
35884
+ // For emphasized metadata, descriptions, etc
35885
+ fontFamily: "inherit",
35886
+ fontSize: 15,
35887
+ fontWeight: "bold",
35888
+ lineHeight: "22px"
35889
+ },
35890
+ breadcrumb: breadcrumbStyles,
35891
+ // For in-page tabs, breadcrumbs
35892
+ breadcrumbSmall: { // For in-page tabs and leaf page breadcrumbs
35893
+ ...breadcrumbStyles,
35894
+ fontSize: 12,
35895
+ lineHeight: "13px"
35896
+ },
35897
+ labelLarge: {
35898
+ // For chiclets and thumbnail titles
35899
+ fontFamily: "inherit",
35900
+ fontSize: 23,
35901
+ fontWeight: "bold",
35902
+ lineHeight: "27px"
35903
+ },
35904
+ labelMedium: {
35905
+ // For chiclets and thumbnail titles
35906
+ fontFamily: "inherit",
35907
+ fontSize: 15,
35908
+ fontWeight: "bold",
35909
+ lineHeight: "18px"
35910
+ },
35911
+ labelSmall: {
35912
+ // Generally used with labelLarge, for breadcrumbs in thumbnails
35913
+ fontFamily: fonts.regular,
35914
+ fontSize: 12,
35915
+ lineHeight: "14px"
35916
+ },
35917
+ caption: {
35918
+ // For image captions
35919
+ fontFamily: fonts.regular,
35920
+ fontSize: 14,
35921
+ fontStyle: "italic",
35922
+ lineHeight: "17px"
35923
+ },
35924
+ desktopScalingOnMobile: {
35925
+ // For when you need Mobile Safari and friends to stick to desktop
35926
+ // sizes
35927
+ MozTextSizeAdjust: "100%",
35928
+ MsTextSizeAdjust: "100%",
35929
+ WebkitTextSizeAdjust: "100%"
35930
+ },
35931
+ // TODO (josh): This should move to within <ModalHeader>
35932
+ modalSubtitle: {
35933
+ fontSize: 12,
35934
+ lineHeight: 1.65,
35935
+ // NOTE (josh): Font smoothing used here to create a 'medium' weight
35936
+ // font, between normal and bold, on webkit browsers.
35937
+ // This prop is an a11y risk when used on non-bold text, since it
35938
+ // makes text very thin, but it's fine on bold text.
35939
+ WebkitFontSmoothing: "antialiased",
35940
+ fontWeight: "bold"
35941
+ },
35942
+ // HACK(kevinb): temporary wonder blocks styles for header only
35943
+ // TODO(kevinb): use components from wonder-blocks-typography instead
35944
+ wonderBlocksHeader: {
35945
+ paddingLeft: 16,
35946
+ paddingRight: 16,
35947
+ paddingBottom: 24,
35948
+ paddingTop: 34,
35949
+ [mediaQueries.mdOrLarger]: {
35950
+ paddingBottom: 32
36063
35951
  }
35952
+ },
35953
+ // HACK(kevinb): temporary wonder blocks styles for header only
35954
+ // TODO(kevinb): use components from wonder-blocks-typography instead
35955
+ wonderBlocksTitle: {
35956
+ color: colors$1.white,
35957
+ fontWeight: 900,
35958
+ // "Black" weight
35959
+ fontSize: 28,
35960
+ lineHeight: "32px",
35961
+ margin: 0,
35962
+ [mediaQueries.mdOrLarger]: {
35963
+ fontSize: 36,
35964
+ lineHeight: "40px"
35965
+ }
35966
+ },
35967
+ // HACK(kevinb): temporary wonder blocks styles for header only
35968
+ // TODO(kevinb): use components from wonder-blocks-typography instead
35969
+ wonderBlocksLabelLarge: {
35970
+ fontSize: 16,
35971
+ lineHeight: "20px",
35972
+ fontWeight: 700 // Bold
36064
35973
 
36065
- return {
36066
- type: "points",
36067
- earned: 0,
36068
- total: 1,
36069
- message: null
36070
- };
36071
- }
36072
-
36073
- static getUserInputFromProps(props) {
36074
- return props.graph;
36075
35974
  }
35975
+ };
36076
35976
 
36077
- }
36078
-
36079
- _defineProperty(InteractiveGraph, "defaultProps", {
36080
- labels: ["x", "y"],
36081
- range: [[-10, 10], [-10, 10]],
36082
- step: [1, 1],
36083
- // $FlowFixMe[prop-missing]
36084
- backgroundImage: defaultBackgroundImage$1,
36085
- markings: "graph",
36086
- showTooltips: false,
36087
- showProtractor: false,
36088
- showRuler: false,
36089
- rulerLabel: "",
36090
- rulerTicks: 10,
36091
- graph: {
36092
- type: "linear"
36093
- }
35977
+ var globalStyles = /*#__PURE__*/Object.freeze({
35978
+ __proto__: null,
35979
+ colors: colors$1,
35980
+ borderRadius: borderRadius,
35981
+ fonts: fonts,
35982
+ typography: typography
36094
35983
  });
36095
35984
 
36096
- var InteractiveGraph$1 = {
36097
- name: "interactive-graph",
36098
- displayName: "Interactive graph",
36099
- widget: InteractiveGraph
36100
- };
36101
-
36102
35985
  class AnswerChoice extends React__namespace.Component {
36103
35986
  constructor() {
36104
35987
  super(...arguments);