@khanacademy/perseus 11.5.1 → 11.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/es/index.css +6 -6
- package/dist/es/index.js +530 -515
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +6 -6
- package/dist/index.d.ts +2 -8
- package/dist/index.js +544 -528
- package/dist/index.js.map +1 -1
- package/dist/item-renderer.d.ts +3 -0
- package/dist/perseus-version.d.ts +8 -0
- package/dist/version.d.ts +1 -11
- package/dist/widgets/numeric-input.d.ts +1 -1
- package/package.json +9 -9
- package/src/__tests__/__snapshots__/server-item-renderer.test.tsx.snap +3 -3
- package/src/__tests__/item-renderer.test.tsx +24 -18
- package/src/components/__stories__/graphie.stories.tsx +2 -2
- package/src/hint-renderer.tsx +1 -0
- package/src/index.ts +2 -5
- package/src/item-renderer.tsx +3 -0
- package/src/item-version.ts +2 -2
- package/src/multi-items/__tests__/__snapshots__/multi-renderer.test.tsx.snap +1 -1
- package/src/perseus-types.ts +2 -1
- package/src/perseus-version.ts +9 -0
- package/src/styles/khan-exercise.css +6 -4
- package/src/styles/perseus-renderer.less +0 -1
- package/src/version.ts +9 -10
- package/src/widgets/__stories__/expression.stories.tsx +21 -10
- package/src/widgets/__stories__/test-keypad-context-wrapper.tsx +7 -21
- package/src/widgets/__tests__/expression-mobile.test.tsx +7 -20
- package/src/widgets/__tests__/numeric-input.test.ts +35 -0
- package/src/widgets/numeric-input.tsx +22 -10
- package/tsconfig-build.json +1 -0
- package/tsconfig-build.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -30,25 +30,26 @@ var debounce = require('lodash.debounce');
|
|
|
30
30
|
var createReactClass = require('create-react-class');
|
|
31
31
|
var Tooltip$1 = require('@khanacademy/wonder-blocks-tooltip');
|
|
32
32
|
var Link = require('@khanacademy/wonder-blocks-link');
|
|
33
|
+
var perseusCore = require('@khanacademy/perseus-core');
|
|
33
34
|
|
|
34
35
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
35
36
|
|
|
36
37
|
function _interopNamespace(e) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
});
|
|
47
|
-
}
|
|
38
|
+
if (e && e.__esModule) return e;
|
|
39
|
+
var n = Object.create(null);
|
|
40
|
+
if (e) {
|
|
41
|
+
Object.keys(e).forEach(function (k) {
|
|
42
|
+
if (k !== 'default') {
|
|
43
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
44
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return e[k]; }
|
|
48
47
|
});
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
n["default"] = e;
|
|
52
|
+
return Object.freeze(n);
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
var KAS__namespace = /*#__PURE__*/_interopNamespace(KAS);
|
|
@@ -71,17 +72,6 @@ var createReactClass__default = /*#__PURE__*/_interopDefaultLegacy(createReactCl
|
|
|
71
72
|
var Tooltip__default = /*#__PURE__*/_interopDefaultLegacy(Tooltip$1);
|
|
72
73
|
var Link__default = /*#__PURE__*/_interopDefaultLegacy(Link);
|
|
73
74
|
|
|
74
|
-
var version = {
|
|
75
|
-
apiVersion: {
|
|
76
|
-
major: 12,
|
|
77
|
-
minor: 0
|
|
78
|
-
},
|
|
79
|
-
itemDataVersion: {
|
|
80
|
-
major: 0,
|
|
81
|
-
minor: 1
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
|
|
85
75
|
function _defineProperty(obj, key, value) {
|
|
86
76
|
key = _toPropertyKey(key);
|
|
87
77
|
if (key in obj) {
|
|
@@ -198,11 +188,11 @@ const useDependencies = () => {
|
|
|
198
188
|
};
|
|
199
189
|
|
|
200
190
|
var dependencies = /*#__PURE__*/Object.freeze({
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
191
|
+
__proto__: null,
|
|
192
|
+
setDependencies: setDependencies,
|
|
193
|
+
getDependencies: getDependencies,
|
|
194
|
+
DependenciesContext: DependenciesContext,
|
|
195
|
+
useDependencies: useDependencies
|
|
206
196
|
});
|
|
207
197
|
|
|
208
198
|
const prettyBig = {
|
|
@@ -1055,29 +1045,29 @@ const iconMinus = {
|
|
|
1055
1045
|
};
|
|
1056
1046
|
|
|
1057
1047
|
var iconPaths = /*#__PURE__*/Object.freeze({
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1048
|
+
__proto__: null,
|
|
1049
|
+
iconCheck: iconCheck,
|
|
1050
|
+
iconCheckMedium: iconCheckMedium,
|
|
1051
|
+
iconChevronDown: iconChevronDown,
|
|
1052
|
+
iconChevronRight: iconChevronRight,
|
|
1053
|
+
iconCircle: iconCircle,
|
|
1054
|
+
iconCircleArrowDown: iconCircleArrowDown,
|
|
1055
|
+
iconCircleArrowUp: iconCircleArrowUp,
|
|
1056
|
+
iconCircleThin: iconCircleThin,
|
|
1057
|
+
iconDesktop: iconDesktop,
|
|
1058
|
+
iconDropdownArrow: iconDropdownArrow,
|
|
1059
|
+
iconExclamationSign: iconExclamationSign,
|
|
1060
|
+
iconGear: iconGear,
|
|
1061
|
+
iconMobilePhone: iconMobilePhone,
|
|
1062
|
+
iconOk: iconOk,
|
|
1063
|
+
iconPlus: iconPlus,
|
|
1064
|
+
iconRemove: iconRemove,
|
|
1065
|
+
iconStar: iconStar,
|
|
1066
|
+
iconTryAgain: iconTryAgain,
|
|
1067
|
+
iconTablet: iconTablet,
|
|
1068
|
+
iconTrash: iconTrash,
|
|
1069
|
+
iconUndo: iconUndo,
|
|
1070
|
+
iconMinus: iconMinus
|
|
1081
1071
|
});
|
|
1082
1072
|
|
|
1083
1073
|
// TODO(LP-11481): Change the primary API we use for logging in Perseus to use
|
|
@@ -1259,9 +1249,9 @@ const propTypes = {
|
|
|
1259
1249
|
};
|
|
1260
1250
|
|
|
1261
1251
|
var changeable = /*#__PURE__*/Object.freeze({
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1252
|
+
__proto__: null,
|
|
1253
|
+
change: change,
|
|
1254
|
+
propTypes: propTypes
|
|
1265
1255
|
});
|
|
1266
1256
|
|
|
1267
1257
|
const textWidthCache = {};
|
|
@@ -4412,60 +4402,60 @@ const articleMaxWidthInPx = 688;
|
|
|
4412
4402
|
const articleMaxWidthTableInPx = 512;
|
|
4413
4403
|
|
|
4414
4404
|
var constants$1 = /*#__PURE__*/Object.freeze({
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4405
|
+
__proto__: null,
|
|
4406
|
+
baseFontFamily: baseFontFamily$1,
|
|
4407
|
+
boldFontFamily: boldFontFamily,
|
|
4408
|
+
green: green$1,
|
|
4409
|
+
kaGreen: kaGreen$1,
|
|
4410
|
+
blue: blue$1,
|
|
4411
|
+
gray: gray$1,
|
|
4412
|
+
red: red$1,
|
|
4413
|
+
grayLight: grayLight$1,
|
|
4414
|
+
grayLighter: grayLighter$1,
|
|
4415
|
+
learnstormBlue: learnstormBlue$1,
|
|
4416
|
+
white: white$1,
|
|
4417
|
+
gray98: gray98,
|
|
4418
|
+
gray97: gray97,
|
|
4419
|
+
gray95: gray95,
|
|
4420
|
+
gray90: gray90,
|
|
4421
|
+
gray85: gray85,
|
|
4422
|
+
gray76: gray76,
|
|
4423
|
+
gray68: gray68,
|
|
4424
|
+
gray41: gray41,
|
|
4425
|
+
gray25: gray25,
|
|
4426
|
+
gray17: gray17,
|
|
4427
|
+
black: black$1,
|
|
4428
|
+
warning1: warning1,
|
|
4429
|
+
warning3: warning3,
|
|
4430
|
+
pureSmMin: pureSmMin$2,
|
|
4431
|
+
pureMdMin: pureMdMin$2,
|
|
4432
|
+
pureLgMin: pureLgMin$2,
|
|
4433
|
+
pureXlMin: pureXlMin$2,
|
|
4434
|
+
pureXsMax: pureXsMax$2,
|
|
4435
|
+
pureSmMax: pureSmMax$2,
|
|
4436
|
+
pureMdMax: pureMdMax$2,
|
|
4437
|
+
pureLgMax: pureLgMax$2,
|
|
4438
|
+
tableBackgroundAccent: tableBackgroundAccent$1,
|
|
4439
|
+
zIndexScratchPad: zIndexScratchPad,
|
|
4440
|
+
zIndexAboveScratchpad: zIndexAboveScratchpad$1,
|
|
4441
|
+
zIndexInteractiveComponent: zIndexInteractiveComponent$1,
|
|
4442
|
+
zIndexCurrentlyDragging: zIndexCurrentlyDragging,
|
|
4443
|
+
zIndexCalculator: zIndexCalculator,
|
|
4444
|
+
phoneMargin: phoneMargin,
|
|
4445
|
+
negativePhoneMargin: negativePhoneMargin,
|
|
4446
|
+
hintBorderWidth: hintBorderWidth,
|
|
4447
|
+
baseUnitPx: baseUnitPx,
|
|
4448
|
+
interactiveSizes: interactiveSizes$1,
|
|
4449
|
+
circleSize: circleSize$1,
|
|
4450
|
+
radioMarginWidth: radioMarginWidth$1,
|
|
4451
|
+
warningColor: warningColor,
|
|
4452
|
+
warningColorHover: warningColorHover,
|
|
4453
|
+
warningColorActive: warningColorActive,
|
|
4454
|
+
publishBlockingErrorColor: publishBlockingErrorColor,
|
|
4455
|
+
radioBorderColor: radioBorderColor$1,
|
|
4456
|
+
checkedColor: checkedColor$1,
|
|
4457
|
+
articleMaxWidthInPx: articleMaxWidthInPx,
|
|
4458
|
+
articleMaxWidthTableInPx: articleMaxWidthTableInPx
|
|
4469
4459
|
});
|
|
4470
4460
|
|
|
4471
4461
|
const MIN_VIEWPORT_HEIGHT = 480;
|
|
@@ -18785,10 +18775,10 @@ const getInteractiveBoxFromSizeClass = sizeClass => {
|
|
|
18785
18775
|
};
|
|
18786
18776
|
|
|
18787
18777
|
var sizingUtils = /*#__PURE__*/Object.freeze({
|
|
18788
|
-
|
|
18789
|
-
|
|
18790
|
-
|
|
18791
|
-
|
|
18778
|
+
__proto__: null,
|
|
18779
|
+
containerSizeClass: containerSizeClass,
|
|
18780
|
+
getClassFromWidth: getClassFromWidth,
|
|
18781
|
+
getInteractiveBoxFromSizeClass: getInteractiveBoxFromSizeClass
|
|
18792
18782
|
});
|
|
18793
18783
|
|
|
18794
18784
|
const DEFAULT_ALIGNMENT$1 = "block";
|
|
@@ -19128,28 +19118,28 @@ const isLintable = type => {
|
|
|
19128
19118
|
};
|
|
19129
19119
|
|
|
19130
19120
|
var widgets$1 = /*#__PURE__*/Object.freeze({
|
|
19131
|
-
|
|
19132
|
-
|
|
19133
|
-
|
|
19134
|
-
|
|
19135
|
-
|
|
19136
|
-
|
|
19137
|
-
|
|
19138
|
-
|
|
19139
|
-
|
|
19140
|
-
|
|
19141
|
-
|
|
19142
|
-
|
|
19143
|
-
|
|
19144
|
-
|
|
19145
|
-
|
|
19146
|
-
|
|
19147
|
-
|
|
19148
|
-
|
|
19149
|
-
|
|
19150
|
-
|
|
19151
|
-
|
|
19152
|
-
|
|
19121
|
+
__proto__: null,
|
|
19122
|
+
registerWidget: registerWidget,
|
|
19123
|
+
registerWidgets: registerWidgets,
|
|
19124
|
+
registerEditors: registerEditors,
|
|
19125
|
+
getWidget: getWidget,
|
|
19126
|
+
getEditor: getEditor,
|
|
19127
|
+
getTransform: getTransform,
|
|
19128
|
+
getVersion: getVersion,
|
|
19129
|
+
getVersionVector: getVersionVector,
|
|
19130
|
+
getPublicWidgets: getPublicWidgets,
|
|
19131
|
+
isAccessible: isAccessible,
|
|
19132
|
+
getAllWidgetTypes: getAllWidgetTypes,
|
|
19133
|
+
upgradeWidgetInfoToLatestVersion: upgradeWidgetInfoToLatestVersion,
|
|
19134
|
+
getRendererPropsForWidgetInfo: getRendererPropsForWidgetInfo,
|
|
19135
|
+
traverseChildWidgets: traverseChildWidgets$4,
|
|
19136
|
+
getSupportedAlignments: getSupportedAlignments,
|
|
19137
|
+
getDefaultAlignment: getDefaultAlignment,
|
|
19138
|
+
validateAlignments: validateAlignments,
|
|
19139
|
+
supportsStaticMode: supportsStaticMode,
|
|
19140
|
+
getStaticTransform: getStaticTransform,
|
|
19141
|
+
getTracking: getTracking,
|
|
19142
|
+
isLintable: isLintable
|
|
19153
19143
|
});
|
|
19154
19144
|
|
|
19155
19145
|
class WidgetContainer extends React__namespace.Component {
|
|
@@ -21656,27 +21646,39 @@ class NumericInput extends React__namespace.Component {
|
|
|
21656
21646
|
}
|
|
21657
21647
|
return answerStrings[0];
|
|
21658
21648
|
}
|
|
21659
|
-
static validate(
|
|
21660
|
-
const
|
|
21649
|
+
static validate(userInput, rubric) {
|
|
21650
|
+
const defaultAnswerForms = answerFormButtons.map(e => e["value"])
|
|
21661
21651
|
// Don't default to validating the answer as a pi answer
|
|
21662
21652
|
// if answerForm isn't set on the answer
|
|
21663
21653
|
// https://khanacademy.atlassian.net/browse/LC-691
|
|
21664
21654
|
.filter(e => e !== "pi");
|
|
21665
21655
|
const createValidator = answer => {
|
|
21656
|
+
var _answer$answerForms;
|
|
21666
21657
|
const stringAnswer = "".concat(answer.value);
|
|
21658
|
+
|
|
21659
|
+
// Always validate against the provided answer forms (pi, decimal, etc.)
|
|
21660
|
+
const validatorForms = [...((_answer$answerForms = answer.answerForms) !== null && _answer$answerForms !== void 0 ? _answer$answerForms : [])];
|
|
21661
|
+
|
|
21662
|
+
// When an answer is set to strict, we validate using ONLY
|
|
21663
|
+
// the provided answerForms. If strict is false, or if there
|
|
21664
|
+
// were no provided answer forms, we will include all
|
|
21665
|
+
// of the default answer forms in our validator.
|
|
21666
|
+
if (!answer.strict || validatorForms.length === 0) {
|
|
21667
|
+
validatorForms.push(...defaultAnswerForms);
|
|
21668
|
+
}
|
|
21667
21669
|
return KhanAnswerTypes.number.createValidatorFunctional(stringAnswer, {
|
|
21668
21670
|
message: answer.message,
|
|
21669
21671
|
simplify: answer.status === "correct" ? answer.simplify : "optional",
|
|
21670
21672
|
inexact: true,
|
|
21671
21673
|
// TODO(merlob) backfill / delete
|
|
21672
21674
|
maxError: answer.maxError,
|
|
21673
|
-
forms:
|
|
21675
|
+
forms: validatorForms
|
|
21674
21676
|
});
|
|
21675
21677
|
};
|
|
21676
21678
|
|
|
21677
21679
|
// We may have received TeX; try to parse it before grading.
|
|
21678
21680
|
// If `currentValue` is not TeX, this should be a no-op.
|
|
21679
|
-
const currentValue = ParseTex(
|
|
21681
|
+
const currentValue = ParseTex(userInput.currentValue);
|
|
21680
21682
|
const correctAnswers = rubric.answers.filter(answer => answer.status === "correct");
|
|
21681
21683
|
const normalizedAnswerExpected = correctAnswers.every(answer => Math.abs(answer.value) <= 1);
|
|
21682
21684
|
|
|
@@ -26024,19 +26026,19 @@ const typeToButton = type => {
|
|
|
26024
26026
|
};
|
|
26025
26027
|
|
|
26026
26028
|
var util = /*#__PURE__*/Object.freeze({
|
|
26027
|
-
|
|
26028
|
-
|
|
26029
|
-
|
|
26030
|
-
|
|
26031
|
-
|
|
26032
|
-
|
|
26033
|
-
|
|
26034
|
-
|
|
26035
|
-
|
|
26036
|
-
|
|
26037
|
-
|
|
26038
|
-
|
|
26039
|
-
|
|
26029
|
+
__proto__: null,
|
|
26030
|
+
DEFAULT_BACKGROUND_IMAGE: DEFAULT_BACKGROUND_IMAGE,
|
|
26031
|
+
allTypes: allTypes,
|
|
26032
|
+
functionForType: functionForType,
|
|
26033
|
+
validate: validate$2,
|
|
26034
|
+
getEquationString: getEquationString,
|
|
26035
|
+
pointsFromNormalized: pointsFromNormalized,
|
|
26036
|
+
maybePointsFromNormalized: maybePointsFromNormalized,
|
|
26037
|
+
defaultPlotProps: defaultPlotProps,
|
|
26038
|
+
chooseType: chooseType,
|
|
26039
|
+
getGridAndSnapSteps: getGridAndSnapSteps,
|
|
26040
|
+
DEFAULT_GRAPHER_PROPS: DEFAULT_GRAPHER_PROPS,
|
|
26041
|
+
typeToButton: typeToButton
|
|
26040
26042
|
});
|
|
26041
26043
|
|
|
26042
26044
|
// @ts-expect-error - TS2339 - Property 'MovablePoint' does not exist on type 'typeof Graphie'.
|
|
@@ -30312,349 +30314,349 @@ const pureMdMax = "1023px";
|
|
|
30312
30314
|
const pureLgMax = "1199px";
|
|
30313
30315
|
|
|
30314
30316
|
var globalConstants = /*#__PURE__*/Object.freeze({
|
|
30315
|
-
|
|
30316
|
-
|
|
30317
|
-
|
|
30318
|
-
|
|
30319
|
-
|
|
30320
|
-
|
|
30321
|
-
|
|
30322
|
-
|
|
30323
|
-
|
|
30324
|
-
|
|
30325
|
-
|
|
30326
|
-
|
|
30327
|
-
|
|
30328
|
-
|
|
30329
|
-
|
|
30330
|
-
|
|
30331
|
-
|
|
30332
|
-
|
|
30333
|
-
|
|
30334
|
-
|
|
30335
|
-
|
|
30336
|
-
|
|
30337
|
-
|
|
30338
|
-
|
|
30339
|
-
|
|
30340
|
-
|
|
30341
|
-
|
|
30342
|
-
|
|
30343
|
-
|
|
30344
|
-
|
|
30345
|
-
|
|
30346
|
-
|
|
30347
|
-
|
|
30348
|
-
|
|
30349
|
-
|
|
30350
|
-
|
|
30351
|
-
|
|
30352
|
-
|
|
30353
|
-
|
|
30354
|
-
|
|
30355
|
-
|
|
30356
|
-
|
|
30357
|
-
|
|
30358
|
-
|
|
30359
|
-
|
|
30360
|
-
|
|
30361
|
-
|
|
30362
|
-
|
|
30363
|
-
|
|
30364
|
-
|
|
30365
|
-
|
|
30366
|
-
|
|
30367
|
-
|
|
30368
|
-
|
|
30369
|
-
|
|
30370
|
-
|
|
30371
|
-
|
|
30372
|
-
|
|
30373
|
-
|
|
30374
|
-
|
|
30375
|
-
|
|
30376
|
-
|
|
30377
|
-
|
|
30378
|
-
|
|
30379
|
-
|
|
30380
|
-
|
|
30381
|
-
|
|
30382
|
-
|
|
30383
|
-
|
|
30384
|
-
|
|
30385
|
-
|
|
30386
|
-
|
|
30387
|
-
|
|
30388
|
-
|
|
30389
|
-
|
|
30390
|
-
|
|
30391
|
-
|
|
30392
|
-
|
|
30393
|
-
|
|
30394
|
-
|
|
30395
|
-
|
|
30396
|
-
|
|
30397
|
-
|
|
30398
|
-
|
|
30399
|
-
|
|
30400
|
-
|
|
30401
|
-
|
|
30402
|
-
|
|
30403
|
-
|
|
30404
|
-
|
|
30405
|
-
|
|
30406
|
-
|
|
30407
|
-
|
|
30408
|
-
|
|
30409
|
-
|
|
30410
|
-
|
|
30411
|
-
|
|
30412
|
-
|
|
30413
|
-
|
|
30414
|
-
|
|
30415
|
-
|
|
30416
|
-
|
|
30417
|
-
|
|
30418
|
-
|
|
30419
|
-
|
|
30420
|
-
|
|
30421
|
-
|
|
30422
|
-
|
|
30423
|
-
|
|
30424
|
-
|
|
30425
|
-
|
|
30426
|
-
|
|
30427
|
-
|
|
30428
|
-
|
|
30429
|
-
|
|
30430
|
-
|
|
30431
|
-
|
|
30432
|
-
|
|
30433
|
-
|
|
30434
|
-
|
|
30435
|
-
|
|
30436
|
-
|
|
30437
|
-
|
|
30438
|
-
|
|
30439
|
-
|
|
30440
|
-
|
|
30441
|
-
|
|
30442
|
-
|
|
30443
|
-
|
|
30444
|
-
|
|
30445
|
-
|
|
30446
|
-
|
|
30447
|
-
|
|
30448
|
-
|
|
30449
|
-
|
|
30450
|
-
|
|
30451
|
-
|
|
30452
|
-
|
|
30453
|
-
|
|
30454
|
-
|
|
30455
|
-
|
|
30456
|
-
|
|
30457
|
-
|
|
30458
|
-
|
|
30459
|
-
|
|
30460
|
-
|
|
30461
|
-
|
|
30462
|
-
|
|
30463
|
-
|
|
30464
|
-
|
|
30465
|
-
|
|
30466
|
-
|
|
30467
|
-
|
|
30468
|
-
|
|
30469
|
-
|
|
30470
|
-
|
|
30471
|
-
|
|
30472
|
-
|
|
30473
|
-
|
|
30474
|
-
|
|
30475
|
-
|
|
30476
|
-
|
|
30477
|
-
|
|
30478
|
-
|
|
30479
|
-
|
|
30480
|
-
|
|
30481
|
-
|
|
30482
|
-
|
|
30483
|
-
|
|
30484
|
-
|
|
30485
|
-
|
|
30486
|
-
|
|
30487
|
-
|
|
30488
|
-
|
|
30489
|
-
|
|
30490
|
-
|
|
30491
|
-
|
|
30492
|
-
|
|
30493
|
-
|
|
30494
|
-
|
|
30495
|
-
|
|
30496
|
-
|
|
30497
|
-
|
|
30498
|
-
|
|
30499
|
-
|
|
30500
|
-
|
|
30501
|
-
|
|
30502
|
-
|
|
30503
|
-
|
|
30504
|
-
|
|
30505
|
-
|
|
30506
|
-
|
|
30507
|
-
|
|
30508
|
-
|
|
30509
|
-
|
|
30510
|
-
|
|
30511
|
-
|
|
30512
|
-
|
|
30513
|
-
|
|
30514
|
-
|
|
30515
|
-
|
|
30516
|
-
|
|
30517
|
-
|
|
30518
|
-
|
|
30519
|
-
|
|
30520
|
-
|
|
30521
|
-
|
|
30522
|
-
|
|
30523
|
-
|
|
30524
|
-
|
|
30525
|
-
|
|
30526
|
-
|
|
30527
|
-
|
|
30528
|
-
|
|
30529
|
-
|
|
30530
|
-
|
|
30531
|
-
|
|
30532
|
-
|
|
30533
|
-
|
|
30534
|
-
|
|
30535
|
-
|
|
30536
|
-
|
|
30537
|
-
|
|
30538
|
-
|
|
30539
|
-
|
|
30540
|
-
|
|
30541
|
-
|
|
30542
|
-
|
|
30543
|
-
|
|
30544
|
-
|
|
30545
|
-
|
|
30546
|
-
|
|
30547
|
-
|
|
30548
|
-
|
|
30549
|
-
|
|
30550
|
-
|
|
30551
|
-
|
|
30552
|
-
|
|
30553
|
-
|
|
30554
|
-
|
|
30555
|
-
|
|
30556
|
-
|
|
30557
|
-
|
|
30558
|
-
|
|
30559
|
-
|
|
30560
|
-
|
|
30561
|
-
|
|
30562
|
-
|
|
30563
|
-
|
|
30564
|
-
|
|
30565
|
-
|
|
30566
|
-
|
|
30567
|
-
|
|
30568
|
-
|
|
30569
|
-
|
|
30570
|
-
|
|
30571
|
-
|
|
30572
|
-
|
|
30573
|
-
|
|
30574
|
-
|
|
30575
|
-
|
|
30576
|
-
|
|
30577
|
-
|
|
30578
|
-
|
|
30579
|
-
|
|
30580
|
-
|
|
30581
|
-
|
|
30582
|
-
|
|
30583
|
-
|
|
30584
|
-
|
|
30585
|
-
|
|
30586
|
-
|
|
30587
|
-
|
|
30588
|
-
|
|
30589
|
-
|
|
30590
|
-
|
|
30591
|
-
|
|
30592
|
-
|
|
30593
|
-
|
|
30594
|
-
|
|
30595
|
-
|
|
30596
|
-
|
|
30597
|
-
|
|
30598
|
-
|
|
30599
|
-
|
|
30600
|
-
|
|
30601
|
-
|
|
30602
|
-
|
|
30603
|
-
|
|
30604
|
-
|
|
30605
|
-
|
|
30606
|
-
|
|
30607
|
-
|
|
30608
|
-
|
|
30609
|
-
|
|
30610
|
-
|
|
30611
|
-
|
|
30612
|
-
|
|
30613
|
-
|
|
30614
|
-
|
|
30615
|
-
|
|
30616
|
-
|
|
30617
|
-
|
|
30618
|
-
|
|
30619
|
-
|
|
30620
|
-
|
|
30621
|
-
|
|
30622
|
-
|
|
30623
|
-
|
|
30624
|
-
|
|
30625
|
-
|
|
30626
|
-
|
|
30627
|
-
|
|
30628
|
-
|
|
30629
|
-
|
|
30630
|
-
|
|
30631
|
-
|
|
30632
|
-
|
|
30633
|
-
|
|
30634
|
-
|
|
30635
|
-
|
|
30636
|
-
|
|
30637
|
-
|
|
30638
|
-
|
|
30639
|
-
|
|
30640
|
-
|
|
30641
|
-
|
|
30642
|
-
|
|
30643
|
-
|
|
30644
|
-
|
|
30645
|
-
|
|
30646
|
-
|
|
30647
|
-
|
|
30648
|
-
|
|
30649
|
-
|
|
30650
|
-
|
|
30651
|
-
|
|
30652
|
-
|
|
30653
|
-
|
|
30654
|
-
|
|
30655
|
-
|
|
30656
|
-
|
|
30657
|
-
|
|
30317
|
+
__proto__: null,
|
|
30318
|
+
black: black,
|
|
30319
|
+
grayDarker: grayDarker,
|
|
30320
|
+
grayDark: grayDark,
|
|
30321
|
+
gray: gray,
|
|
30322
|
+
grayLight: grayLight,
|
|
30323
|
+
grayLighter: grayLighter,
|
|
30324
|
+
white: white,
|
|
30325
|
+
blue: blue,
|
|
30326
|
+
blueDark: blueDark,
|
|
30327
|
+
green: green,
|
|
30328
|
+
red: red,
|
|
30329
|
+
yellow: yellow,
|
|
30330
|
+
orange: orange,
|
|
30331
|
+
pink: pink,
|
|
30332
|
+
purple: purple,
|
|
30333
|
+
bodyBackground: bodyBackground,
|
|
30334
|
+
textColor: textColor,
|
|
30335
|
+
linkColor: linkColor,
|
|
30336
|
+
linkColorHover: linkColorHover,
|
|
30337
|
+
sansFontFamily: sansFontFamily,
|
|
30338
|
+
serifFontFamily: serifFontFamily,
|
|
30339
|
+
monoFontFamily: monoFontFamily,
|
|
30340
|
+
baseFontSize: baseFontSize,
|
|
30341
|
+
baseFontFamily: baseFontFamily,
|
|
30342
|
+
baseLineHeight: baseLineHeight,
|
|
30343
|
+
altFontFamily: altFontFamily,
|
|
30344
|
+
headingsFontFamily: headingsFontFamily,
|
|
30345
|
+
headingsFontWeight: headingsFontWeight,
|
|
30346
|
+
headingsColor: headingsColor,
|
|
30347
|
+
fontSizeLarge: fontSizeLarge,
|
|
30348
|
+
fontSizeSmall: fontSizeSmall,
|
|
30349
|
+
fontSizeMini: fontSizeMini,
|
|
30350
|
+
paddingLarge: paddingLarge,
|
|
30351
|
+
paddingSmall: paddingSmall,
|
|
30352
|
+
paddingMini: paddingMini,
|
|
30353
|
+
baseBorderRadius: baseBorderRadius,
|
|
30354
|
+
borderRadiusLarge: borderRadiusLarge,
|
|
30355
|
+
borderRadiusSmall: borderRadiusSmall,
|
|
30356
|
+
tableBackground: tableBackground,
|
|
30357
|
+
tableBackgroundAccent: tableBackgroundAccent,
|
|
30358
|
+
tableBackgroundHover: tableBackgroundHover,
|
|
30359
|
+
tableBorder: tableBorder,
|
|
30360
|
+
btnBackground: btnBackground,
|
|
30361
|
+
btnBackgroundHighlight: btnBackgroundHighlight,
|
|
30362
|
+
btnBorder: btnBorder,
|
|
30363
|
+
btnPrimaryBackground: btnPrimaryBackground,
|
|
30364
|
+
btnPrimaryBackgroundHighlight: btnPrimaryBackgroundHighlight,
|
|
30365
|
+
btnInfoBackground: btnInfoBackground,
|
|
30366
|
+
btnInfoBackgroundHighlight: btnInfoBackgroundHighlight,
|
|
30367
|
+
btnSuccessBackground: btnSuccessBackground,
|
|
30368
|
+
btnSuccessBackgroundHighlight: btnSuccessBackgroundHighlight,
|
|
30369
|
+
btnWarningBackground: btnWarningBackground,
|
|
30370
|
+
btnWarningBackgroundHighlight: btnWarningBackgroundHighlight,
|
|
30371
|
+
btnDangerBackground: btnDangerBackground,
|
|
30372
|
+
btnDangerBackgroundHighlight: btnDangerBackgroundHighlight,
|
|
30373
|
+
btnInverseBackground: btnInverseBackground,
|
|
30374
|
+
btnInverseBackgroundHighlight: btnInverseBackgroundHighlight,
|
|
30375
|
+
inputBackground: inputBackground,
|
|
30376
|
+
inputBorder: inputBorder,
|
|
30377
|
+
inputBorderRadius: inputBorderRadius,
|
|
30378
|
+
inputDisabledBackground: inputDisabledBackground,
|
|
30379
|
+
formActionsBackground: formActionsBackground,
|
|
30380
|
+
inputHeight: inputHeight,
|
|
30381
|
+
dropdownBackground: dropdownBackground,
|
|
30382
|
+
dropdownBorder: dropdownBorder,
|
|
30383
|
+
dropdownDividerTop: dropdownDividerTop,
|
|
30384
|
+
dropdownDividerBottom: dropdownDividerBottom,
|
|
30385
|
+
dropdownLinkColor: dropdownLinkColor,
|
|
30386
|
+
dropdownLinkColorHover: dropdownLinkColorHover,
|
|
30387
|
+
dropdownLinkColorActive: dropdownLinkColorActive,
|
|
30388
|
+
dropdownLinkBackgroundActive: dropdownLinkBackgroundActive,
|
|
30389
|
+
dropdownLinkBackgroundHover: dropdownLinkBackgroundHover,
|
|
30390
|
+
zindexDropdown: zindexDropdown,
|
|
30391
|
+
zindexPopover: zindexPopover,
|
|
30392
|
+
zindexTooltip: zindexTooltip,
|
|
30393
|
+
zindexFixedNavbar: zindexFixedNavbar,
|
|
30394
|
+
zindexHeader: zindexHeader,
|
|
30395
|
+
zindexModalBackdrop: zindexModalBackdrop,
|
|
30396
|
+
zindexModal: zindexModal,
|
|
30397
|
+
zindexAboveModal: zindexAboveModal,
|
|
30398
|
+
iconSpritePath: iconSpritePath,
|
|
30399
|
+
iconWhiteSpritePath: iconWhiteSpritePath,
|
|
30400
|
+
placeholderText: placeholderText,
|
|
30401
|
+
hrBorder: hrBorder,
|
|
30402
|
+
horizontalComponentOffset: horizontalComponentOffset,
|
|
30403
|
+
wellBackground: wellBackground,
|
|
30404
|
+
navbarCollapseWidth: navbarCollapseWidth,
|
|
30405
|
+
navbarCollapseDesktopWidth: navbarCollapseDesktopWidth,
|
|
30406
|
+
navbarHeight: navbarHeight,
|
|
30407
|
+
navbarBackgroundHighlight: navbarBackgroundHighlight,
|
|
30408
|
+
navbarBackground: navbarBackground,
|
|
30409
|
+
navbarBorder: navbarBorder,
|
|
30410
|
+
navbarText: navbarText,
|
|
30411
|
+
navbarLinkColor: navbarLinkColor,
|
|
30412
|
+
navbarLinkColorHover: navbarLinkColorHover,
|
|
30413
|
+
navbarLinkColorActive: navbarLinkColorActive,
|
|
30414
|
+
navbarLinkBackgroundHover: navbarLinkBackgroundHover,
|
|
30415
|
+
navbarLinkBackgroundActive: navbarLinkBackgroundActive,
|
|
30416
|
+
navbarBrandColor: navbarBrandColor,
|
|
30417
|
+
navbarInverseBackground: navbarInverseBackground,
|
|
30418
|
+
navbarInverseBackgroundHighlight: navbarInverseBackgroundHighlight,
|
|
30419
|
+
navbarInverseBorder: navbarInverseBorder,
|
|
30420
|
+
navbarInverseText: navbarInverseText,
|
|
30421
|
+
navbarInverseLinkColor: navbarInverseLinkColor,
|
|
30422
|
+
navbarInverseLinkColorHover: navbarInverseLinkColorHover,
|
|
30423
|
+
navbarInverseLinkColorActive: navbarInverseLinkColorActive,
|
|
30424
|
+
navbarInverseLinkBackgroundHover: navbarInverseLinkBackgroundHover,
|
|
30425
|
+
navbarInverseLinkBackgroundActive: navbarInverseLinkBackgroundActive,
|
|
30426
|
+
navbarInverseSearchBackground: navbarInverseSearchBackground,
|
|
30427
|
+
navbarInverseSearchBackgroundFocus: navbarInverseSearchBackgroundFocus,
|
|
30428
|
+
navbarInverseSearchBorder: navbarInverseSearchBorder,
|
|
30429
|
+
navbarInverseSearchPlaceholderColor: navbarInverseSearchPlaceholderColor,
|
|
30430
|
+
navbarInverseBrandColor: navbarInverseBrandColor,
|
|
30431
|
+
paginationBackground: paginationBackground,
|
|
30432
|
+
paginationBorder: paginationBorder,
|
|
30433
|
+
paginationActiveBackground: paginationActiveBackground,
|
|
30434
|
+
heroUnitBackground: heroUnitBackground,
|
|
30435
|
+
heroUnitHeadingColor: heroUnitHeadingColor,
|
|
30436
|
+
heroUnitLeadColor: heroUnitLeadColor,
|
|
30437
|
+
warningText: warningText,
|
|
30438
|
+
warningBackground: warningBackground,
|
|
30439
|
+
warningBorder: warningBorder,
|
|
30440
|
+
errorText: errorText,
|
|
30441
|
+
errorBackground: errorBackground,
|
|
30442
|
+
errorBorder: errorBorder,
|
|
30443
|
+
successText: successText,
|
|
30444
|
+
successBackground: successBackground,
|
|
30445
|
+
successBorder: successBorder,
|
|
30446
|
+
infoText: infoText,
|
|
30447
|
+
infoBackground: infoBackground,
|
|
30448
|
+
infoBorder: infoBorder,
|
|
30449
|
+
tooltipColor: tooltipColor,
|
|
30450
|
+
tooltipBackground: tooltipBackground,
|
|
30451
|
+
tooltipArrowWidth: tooltipArrowWidth,
|
|
30452
|
+
tooltipArrowColor: tooltipArrowColor,
|
|
30453
|
+
popoverBackground: popoverBackground,
|
|
30454
|
+
popoverArrowWidth: popoverArrowWidth,
|
|
30455
|
+
popoverArrowColor: popoverArrowColor,
|
|
30456
|
+
popoverTitleBackground: popoverTitleBackground,
|
|
30457
|
+
popoverArrowOuterWidth: popoverArrowOuterWidth,
|
|
30458
|
+
popoverArrowOuterColor: popoverArrowOuterColor,
|
|
30459
|
+
gridColumns: gridColumns,
|
|
30460
|
+
gridColumnWidth: gridColumnWidth,
|
|
30461
|
+
gridGutterWidth: gridGutterWidth,
|
|
30462
|
+
gridRowWidth: gridRowWidth,
|
|
30463
|
+
gridColumnWidth1200: gridColumnWidth1200,
|
|
30464
|
+
gridGutterWidth1200: gridGutterWidth1200,
|
|
30465
|
+
gridRowWidth1200: gridRowWidth1200,
|
|
30466
|
+
gridColumnWidth768: gridColumnWidth768,
|
|
30467
|
+
gridGutterWidth768: gridGutterWidth768,
|
|
30468
|
+
gridRowWidth768: gridRowWidth768,
|
|
30469
|
+
fluidGridColumnWidth: fluidGridColumnWidth,
|
|
30470
|
+
fluidGridGutterWidth: fluidGridGutterWidth,
|
|
30471
|
+
fluidGridColumnWidth1200: fluidGridColumnWidth1200,
|
|
30472
|
+
fluidGridGutterWidth1200: fluidGridGutterWidth1200,
|
|
30473
|
+
fluidGridColumnWidth768: fluidGridColumnWidth768,
|
|
30474
|
+
fluidGridGutterWidth768: fluidGridGutterWidth768,
|
|
30475
|
+
kaGreen: kaGreen,
|
|
30476
|
+
kaGreenLight: kaGreenLight,
|
|
30477
|
+
kaBlue: kaBlue,
|
|
30478
|
+
kaBlueLight: kaBlueLight,
|
|
30479
|
+
grayExtraDark: grayExtraDark,
|
|
30480
|
+
grayExtraLight: grayExtraLight,
|
|
30481
|
+
graySuperLight: graySuperLight,
|
|
30482
|
+
whiteDark: whiteDark,
|
|
30483
|
+
dark: dark,
|
|
30484
|
+
blueDarkUnsaturated: blueDarkUnsaturated,
|
|
30485
|
+
blueDarkSaturated: blueDarkSaturated,
|
|
30486
|
+
blueLight: blueLight,
|
|
30487
|
+
greenLight: greenLight,
|
|
30488
|
+
greenDark: greenDark,
|
|
30489
|
+
yellowGreen: yellowGreen,
|
|
30490
|
+
okGreen: okGreen,
|
|
30491
|
+
alertRed: alertRed,
|
|
30492
|
+
coral: coral,
|
|
30493
|
+
grayBlue: grayBlue,
|
|
30494
|
+
lightPageBackground: lightPageBackground,
|
|
30495
|
+
yclaBlue: yclaBlue,
|
|
30496
|
+
yclaTeal: yclaTeal,
|
|
30497
|
+
yclaTealDark: yclaTealDark,
|
|
30498
|
+
yclaGreenDark: yclaGreenDark,
|
|
30499
|
+
yclaGreen: yclaGreen,
|
|
30500
|
+
learnstormBlue: learnstormBlue,
|
|
30501
|
+
homepageBlue: homepageBlue,
|
|
30502
|
+
backgroundBlue: backgroundBlue,
|
|
30503
|
+
teacherSignupBlue: teacherSignupBlue,
|
|
30504
|
+
homepageGreen: homepageGreen,
|
|
30505
|
+
streakColor: streakColor,
|
|
30506
|
+
facebookColor: facebookColor,
|
|
30507
|
+
blueGoogleColor: blueGoogleColor,
|
|
30508
|
+
redGoogleColor: redGoogleColor,
|
|
30509
|
+
homepageColor: homepageColor,
|
|
30510
|
+
lightTextColor: lightTextColor,
|
|
30511
|
+
fontSizeTiny: fontSizeTiny,
|
|
30512
|
+
fontSizeNormal: fontSizeNormal,
|
|
30513
|
+
fontSizeMedium: fontSizeMedium,
|
|
30514
|
+
fontSizeExtraLarge: fontSizeExtraLarge,
|
|
30515
|
+
fontSizeHuge: fontSizeHuge,
|
|
30516
|
+
fontSizeBakana: fontSizeBakana,
|
|
30517
|
+
fontSizeBananas: fontSizeBananas,
|
|
30518
|
+
fixedWidthFontFamily: fixedWidthFontFamily,
|
|
30519
|
+
contentPadding: contentPadding,
|
|
30520
|
+
primaryButtonBackground: primaryButtonBackground,
|
|
30521
|
+
primaryButtonBorder: primaryButtonBorder,
|
|
30522
|
+
buttonTextColor: buttonTextColor,
|
|
30523
|
+
buttonBorderRadius: buttonBorderRadius,
|
|
30524
|
+
basicBorderColor: basicBorderColor,
|
|
30525
|
+
minContainerWidth: minContainerWidth,
|
|
30526
|
+
maxContainerWidth: maxContainerWidth,
|
|
30527
|
+
formHintColor: formHintColor,
|
|
30528
|
+
guidelineExampleText: guidelineExampleText,
|
|
30529
|
+
hoverCardWidth: hoverCardWidth,
|
|
30530
|
+
menuHighlightColor: menuHighlightColor,
|
|
30531
|
+
menuHighlightBorderColor: menuHighlightBorderColor,
|
|
30532
|
+
menuActiveTextColor: menuActiveTextColor,
|
|
30533
|
+
menuInactiveTextColor: menuInactiveTextColor,
|
|
30534
|
+
menuSubheaderTextColor: menuSubheaderTextColor,
|
|
30535
|
+
menuBorderColor: menuBorderColor,
|
|
30536
|
+
unreadBackgroundColor: unreadBackgroundColor,
|
|
30537
|
+
menuLineHeight: menuLineHeight,
|
|
30538
|
+
menuSubheaderLineHeight: menuSubheaderLineHeight,
|
|
30539
|
+
menuSubheaderFontSize: menuSubheaderFontSize,
|
|
30540
|
+
notificationBarColor: notificationBarColor,
|
|
30541
|
+
modalBodyTopPadding: modalBodyTopPadding,
|
|
30542
|
+
modalDialogPadding: modalDialogPadding,
|
|
30543
|
+
modalSectionPadding: modalSectionPadding,
|
|
30544
|
+
mathDomain1: mathDomain1,
|
|
30545
|
+
mathDomain2: mathDomain2,
|
|
30546
|
+
mathDomain3: mathDomain3,
|
|
30547
|
+
mathDomain4: mathDomain4,
|
|
30548
|
+
partnerContentDomain1: partnerContentDomain1,
|
|
30549
|
+
partnerContentDomain2: partnerContentDomain2,
|
|
30550
|
+
partnerContentDomain3: partnerContentDomain3,
|
|
30551
|
+
partnerContentDomain4: partnerContentDomain4,
|
|
30552
|
+
csDomain1: csDomain1,
|
|
30553
|
+
csDomain2: csDomain2,
|
|
30554
|
+
csDomain3: csDomain3,
|
|
30555
|
+
csDomain4: csDomain4,
|
|
30556
|
+
economicsDomain1: economicsDomain1,
|
|
30557
|
+
economicsDomain2: economicsDomain2,
|
|
30558
|
+
economicsDomain3: economicsDomain3,
|
|
30559
|
+
economicsDomain4: economicsDomain4,
|
|
30560
|
+
collegeCareersMoreDomain1: collegeCareersMoreDomain1,
|
|
30561
|
+
collegeCareersMoreDomain2: collegeCareersMoreDomain2,
|
|
30562
|
+
collegeCareersMoreDomain3: collegeCareersMoreDomain3,
|
|
30563
|
+
collegeCareersMoreDomain4: collegeCareersMoreDomain4,
|
|
30564
|
+
humanitiesDomain1: humanitiesDomain1,
|
|
30565
|
+
humanitiesDomain2: humanitiesDomain2,
|
|
30566
|
+
humanitiesDomain3: humanitiesDomain3,
|
|
30567
|
+
humanitiesDomain4: humanitiesDomain4,
|
|
30568
|
+
gtpDomain1: gtpDomain1,
|
|
30569
|
+
gtpDomain2: gtpDomain2,
|
|
30570
|
+
gtpDomain3: gtpDomain3,
|
|
30571
|
+
gtpDomain4: gtpDomain4,
|
|
30572
|
+
scienceDomain1: scienceDomain1,
|
|
30573
|
+
scienceDomain2: scienceDomain2,
|
|
30574
|
+
scienceDomain3: scienceDomain3,
|
|
30575
|
+
scienceDomain4: scienceDomain4,
|
|
30576
|
+
testPrepDomain1: testPrepDomain1,
|
|
30577
|
+
testPrepDomain2: testPrepDomain2,
|
|
30578
|
+
testPrepDomain3: testPrepDomain3,
|
|
30579
|
+
testPrepDomain4: testPrepDomain4,
|
|
30580
|
+
defaultDomain1: defaultDomain1,
|
|
30581
|
+
defaultDomain2: defaultDomain2,
|
|
30582
|
+
defaultDomain3: defaultDomain3,
|
|
30583
|
+
defaultDomain4: defaultDomain4,
|
|
30584
|
+
defaultDomainColor: defaultDomainColor,
|
|
30585
|
+
defaultSubjectColor: defaultSubjectColor,
|
|
30586
|
+
defaultTopicColor: defaultTopicColor,
|
|
30587
|
+
defaultHoverColor: defaultHoverColor,
|
|
30588
|
+
defaultLinkColor: defaultLinkColor,
|
|
30589
|
+
defaultLinkHoverColor: defaultLinkHoverColor,
|
|
30590
|
+
scienceDomainColor: scienceDomainColor,
|
|
30591
|
+
scienceSubjectColor: scienceSubjectColor,
|
|
30592
|
+
scienceTopicColor: scienceTopicColor,
|
|
30593
|
+
scienceHoverColor: scienceHoverColor,
|
|
30594
|
+
scienceLinkColor: scienceLinkColor,
|
|
30595
|
+
scienceLinkHoverColor: scienceLinkHoverColor,
|
|
30596
|
+
humanitiesDomainColor: humanitiesDomainColor,
|
|
30597
|
+
humanitiesSubjectColor: humanitiesSubjectColor,
|
|
30598
|
+
humanitiesTopicColor: humanitiesTopicColor,
|
|
30599
|
+
humanitiesHoverColor: humanitiesHoverColor,
|
|
30600
|
+
humanitiesLinkColor: humanitiesLinkColor,
|
|
30601
|
+
humanitiesLinkHoverColor: humanitiesLinkHoverColor,
|
|
30602
|
+
economicsDomainColor: economicsDomainColor,
|
|
30603
|
+
economicsSubjectColor: economicsSubjectColor,
|
|
30604
|
+
economicsTopicColor: economicsTopicColor,
|
|
30605
|
+
economicsHoverColor: economicsHoverColor,
|
|
30606
|
+
economicsLinkColor: economicsLinkColor,
|
|
30607
|
+
economicsLinkHoverColor: economicsLinkHoverColor,
|
|
30608
|
+
csDomainColor: csDomainColor,
|
|
30609
|
+
csSubjectColor: csSubjectColor,
|
|
30610
|
+
csTopicColor: csTopicColor,
|
|
30611
|
+
csHoverColor: csHoverColor,
|
|
30612
|
+
csLinkColor: csLinkColor,
|
|
30613
|
+
csLinkHoverColor: csLinkHoverColor,
|
|
30614
|
+
partnerContentDomainColor: partnerContentDomainColor,
|
|
30615
|
+
partnerContentSubjectColor: partnerContentSubjectColor,
|
|
30616
|
+
partnerContentTopicColor: partnerContentTopicColor,
|
|
30617
|
+
partnerContentHoverColor: partnerContentHoverColor,
|
|
30618
|
+
partnerContentLinkColor: partnerContentLinkColor,
|
|
30619
|
+
partnerContentLinkHoverColor: partnerContentLinkHoverColor,
|
|
30620
|
+
essayDomainColor: essayDomainColor,
|
|
30621
|
+
mathDomainColor: mathDomainColor,
|
|
30622
|
+
mathSubjectColor: mathSubjectColor,
|
|
30623
|
+
mathTopicColor: mathTopicColor,
|
|
30624
|
+
mathHoverColor: mathHoverColor,
|
|
30625
|
+
mathLinkColor: mathLinkColor,
|
|
30626
|
+
mathLinkHoverColor: mathLinkHoverColor,
|
|
30627
|
+
testPrepDomainColor: testPrepDomainColor,
|
|
30628
|
+
testPrepSubjectColor: testPrepSubjectColor,
|
|
30629
|
+
testPrepTopicColor: testPrepTopicColor,
|
|
30630
|
+
testPrepHoverColor: testPrepHoverColor,
|
|
30631
|
+
testPrepLinkColor: testPrepLinkColor,
|
|
30632
|
+
testPrepLinkHoverColor: testPrepLinkHoverColor,
|
|
30633
|
+
collegeCareersMoreDomainColor: collegeCareersMoreDomainColor,
|
|
30634
|
+
collegeCareersMoreSubjectColor: collegeCareersMoreSubjectColor,
|
|
30635
|
+
collegeCareersMoreTopicColor: collegeCareersMoreTopicColor,
|
|
30636
|
+
collegeCareersMoreHoverColor: collegeCareersMoreHoverColor,
|
|
30637
|
+
collegeCareersMoreLinkColor: collegeCareersMoreLinkColor,
|
|
30638
|
+
collegeCareersMoreLinkHoverColor: collegeCareersMoreLinkHoverColor,
|
|
30639
|
+
colorProficient: colorProficient,
|
|
30640
|
+
colorPracticed: colorPracticed,
|
|
30641
|
+
colorMastery1: colorMastery1,
|
|
30642
|
+
colorMastery2: colorMastery2,
|
|
30643
|
+
colorMastery3: colorMastery3,
|
|
30644
|
+
colorSuggested: colorSuggested,
|
|
30645
|
+
colorReview: colorReview,
|
|
30646
|
+
colorNotStarted: colorNotStarted,
|
|
30647
|
+
colorStarted: colorStarted,
|
|
30648
|
+
colorStruggling: colorStruggling,
|
|
30649
|
+
colorPersonal: colorPersonal,
|
|
30650
|
+
colorPractice: colorPractice,
|
|
30651
|
+
colorEnergyPoints: colorEnergyPoints,
|
|
30652
|
+
pureSmMin: pureSmMin,
|
|
30653
|
+
pureMdMin: pureMdMin,
|
|
30654
|
+
pureLgMin: pureLgMin,
|
|
30655
|
+
pureXlMin: pureXlMin,
|
|
30656
|
+
pureXsMax: pureXsMax,
|
|
30657
|
+
pureSmMax: pureSmMax,
|
|
30658
|
+
pureMdMax: pureMdMax,
|
|
30659
|
+
pureLgMax: pureLgMax
|
|
30658
30660
|
});
|
|
30659
30661
|
|
|
30660
30662
|
const colors$1 = {
|
|
@@ -30931,11 +30933,11 @@ const typography = {
|
|
|
30931
30933
|
};
|
|
30932
30934
|
|
|
30933
30935
|
var globalStyles = /*#__PURE__*/Object.freeze({
|
|
30934
|
-
|
|
30935
|
-
|
|
30936
|
-
|
|
30937
|
-
|
|
30938
|
-
|
|
30936
|
+
__proto__: null,
|
|
30937
|
+
colors: colors$1,
|
|
30938
|
+
borderRadius: borderRadius,
|
|
30939
|
+
fonts: fonts,
|
|
30940
|
+
typography: typography
|
|
30939
30941
|
});
|
|
30940
30942
|
|
|
30941
30943
|
class AnswerChoice extends React__namespace.Component {
|
|
@@ -44156,11 +44158,25 @@ const init = function (options) {
|
|
|
44156
44158
|
});
|
|
44157
44159
|
};
|
|
44158
44160
|
|
|
44161
|
+
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
44162
|
+
const libName = "@khanacademy/perseus";
|
|
44163
|
+
const libVersion = "11.6.1";
|
|
44164
|
+
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
44165
|
+
|
|
44166
|
+
const apiVersion = {
|
|
44167
|
+
major: 12,
|
|
44168
|
+
minor: 0
|
|
44169
|
+
};
|
|
44170
|
+
const itemDataVersion = {
|
|
44171
|
+
major: 0,
|
|
44172
|
+
minor: 1
|
|
44173
|
+
};
|
|
44174
|
+
|
|
44159
44175
|
var allWidgets = [...basicWidgets, ...extraWidgets];
|
|
44160
44176
|
|
|
44161
44177
|
registerWidgets(allWidgets);
|
|
44162
44178
|
const ItemVersion = getVersionVector();
|
|
44163
|
-
ItemVersion["::renderer::"] =
|
|
44179
|
+
ItemVersion["::renderer::"] = itemDataVersion;
|
|
44164
44180
|
|
|
44165
44181
|
class ArticleRenderer extends React__namespace.Component {
|
|
44166
44182
|
constructor(props) {
|
|
@@ -44327,7 +44343,7 @@ class HintRenderer extends React__namespace.Component {
|
|
|
44327
44343
|
const {
|
|
44328
44344
|
isMobile
|
|
44329
44345
|
} = apiOptions;
|
|
44330
|
-
const classNames = classNames__default["default"](!isMobile && "perseus-hint-renderer", isMobile && aphrodite.css(styles$5.newHint), isMobile && lastRendered && aphrodite.css(styles$5.lastRenderedNewHint), lastHint && "last-hint", lastRendered && "last-rendered", className);
|
|
44346
|
+
const classNames = classNames__default["default"]("hint", !isMobile && "perseus-hint-renderer", isMobile && aphrodite.css(styles$5.newHint), isMobile && lastRendered && aphrodite.css(styles$5.lastRenderedNewHint), lastHint && "last-hint", lastRendered && "last-rendered", className);
|
|
44331
44347
|
|
|
44332
44348
|
// TODO(charlie): Allowing `customKeypad` would require that we
|
|
44333
44349
|
// extend `ItemRenderer` to support nested inputs in the `HintsRenderer`.
|
|
@@ -44721,6 +44737,9 @@ const ProvideKeypad = {
|
|
|
44721
44737
|
const {
|
|
44722
44738
|
mapObject: mapObject$1
|
|
44723
44739
|
} = objective_;
|
|
44740
|
+
/**
|
|
44741
|
+
* @depreciated use ServerItemRenderer
|
|
44742
|
+
*/
|
|
44724
44743
|
class ItemRenderer extends React__namespace.Component {
|
|
44725
44744
|
// @ts-expect-error - TS2564 - Property 'questionRenderer' has no initializer and is not definitely assigned in the constructor.
|
|
44726
44745
|
|
|
@@ -45875,23 +45894,23 @@ _defineProperty(RangeInput, "defaultProps", {
|
|
|
45875
45894
|
});
|
|
45876
45895
|
|
|
45877
45896
|
var components = /*#__PURE__*/Object.freeze({
|
|
45878
|
-
|
|
45879
|
-
|
|
45880
|
-
|
|
45881
|
-
|
|
45882
|
-
|
|
45883
|
-
|
|
45884
|
-
|
|
45885
|
-
|
|
45886
|
-
|
|
45887
|
-
|
|
45888
|
-
|
|
45889
|
-
|
|
45890
|
-
|
|
45891
|
-
|
|
45892
|
-
|
|
45893
|
-
|
|
45894
|
-
|
|
45897
|
+
__proto__: null,
|
|
45898
|
+
ButtonGroup: ButtonGroup,
|
|
45899
|
+
Graph: Graph,
|
|
45900
|
+
Graphie: Graphie,
|
|
45901
|
+
HUD: HUD,
|
|
45902
|
+
Icon: Icon,
|
|
45903
|
+
InfoTip: InfoTip,
|
|
45904
|
+
InlineIcon: InlineIcon,
|
|
45905
|
+
MathInput: MathInput,
|
|
45906
|
+
MultiButtonGroup: MultiButtonGroup,
|
|
45907
|
+
NumberInput: NumberInput,
|
|
45908
|
+
PropCheckBox: PropCheckBox,
|
|
45909
|
+
RangeInput: RangeInput,
|
|
45910
|
+
SvgImage: SvgImage,
|
|
45911
|
+
TextInput: TextInput,
|
|
45912
|
+
TexButtons: TexButtons,
|
|
45913
|
+
TextListEditor: TextListEditor
|
|
45895
45914
|
});
|
|
45896
45915
|
|
|
45897
45916
|
const devices = {
|
|
@@ -45910,10 +45929,10 @@ const lintGutterWidth = 36;
|
|
|
45910
45929
|
const perseusFrameBorderWidth = 1;
|
|
45911
45930
|
|
|
45912
45931
|
var constants = /*#__PURE__*/Object.freeze({
|
|
45913
|
-
|
|
45914
|
-
|
|
45915
|
-
|
|
45916
|
-
|
|
45932
|
+
__proto__: null,
|
|
45933
|
+
devices: devices,
|
|
45934
|
+
lintGutterWidth: lintGutterWidth,
|
|
45935
|
+
perseusFrameBorderWidth: perseusFrameBorderWidth
|
|
45917
45936
|
});
|
|
45918
45937
|
|
|
45919
45938
|
// TODO(FEI-4010): Remove `Perseus` prefix for all types here
|
|
@@ -47030,10 +47049,6 @@ const EditorJsonify = {
|
|
|
47030
47049
|
}
|
|
47031
47050
|
};
|
|
47032
47051
|
|
|
47033
|
-
/* eslint-disable @khanacademy/ts-no-error-suppressions */
|
|
47034
|
-
const apiVersion = version.apiVersion;
|
|
47035
|
-
const itemDataVersion = version.itemDataVersion;
|
|
47036
|
-
|
|
47037
47052
|
exports.ApiOptions = ApiOptions;
|
|
47038
47053
|
exports.ArrowPicker = ArrowPicker;
|
|
47039
47054
|
exports.ArticleRenderer = ArticleRenderer;
|
|
@@ -47092,6 +47107,7 @@ exports.isItemRenderableByVersion = isItemRenderableByVersion;
|
|
|
47092
47107
|
exports.itemDataVersion = itemDataVersion;
|
|
47093
47108
|
exports.itemToTree = itemToTree;
|
|
47094
47109
|
exports.itemVersion = ItemVersion;
|
|
47110
|
+
exports.libVersion = libVersion;
|
|
47095
47111
|
exports.mediaQueries = mediaQueries;
|
|
47096
47112
|
exports.preprocessTex = preprocessTex;
|
|
47097
47113
|
exports.registerAllWidgetsForTesting = registerAllWidgetsForTesting;
|