@pie-element/multiple-choice 6.1.9 → 6.1.10
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 +8 -0
- package/configure/CHANGELOG.md +8 -0
- package/configure/lib/defaults.js +3 -6
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/main.js +122 -21
- package/configure/lib/main.js.map +1 -1
- package/configure/package.json +4 -4
- package/docs/config-schema.json +10 -0
- package/docs/config-schema.json.md +8 -0
- package/module/configure.js +151 -44
- package/module/element.js +174 -2395
- package/module/index.html +1 -1
- package/module/manifest.json +3 -3
- package/module/print.html +1 -1
- package/module/print.js +174 -2395
- package/package.json +3 -3
package/module/element.js
CHANGED
|
@@ -1,57 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.
|
|
3
|
-
const {color: color$3} = _dll_pie_lib__render_ui;
|
|
4
|
-
const noTouch = {
|
|
5
|
-
'-webkit-touchCcallout': 'none',
|
|
6
|
-
'-webkit-user-select': 'none',
|
|
7
|
-
'-khtml-user-select': 'none',
|
|
8
|
-
'-moz-user-select': 'none',
|
|
9
|
-
'-ms-user-select': 'none',
|
|
10
|
-
'user-select': 'none'
|
|
11
|
-
};
|
|
12
|
-
var styles$8 = {
|
|
13
|
-
root: {
|
|
14
|
-
width: '100%',
|
|
15
|
-
cursor: 'pointer'
|
|
16
|
-
},
|
|
17
|
-
content: {
|
|
18
|
-
margin: '0 auto',
|
|
19
|
-
textAlign: 'center',
|
|
20
|
-
display: 'flex'
|
|
21
|
-
},
|
|
22
|
-
label: Object.assign({
|
|
23
|
-
width: '140px',
|
|
24
|
-
fontFamily: "'Roboto', sans-serif",
|
|
25
|
-
height: '25px',
|
|
26
|
-
lineHeight: '25px',
|
|
27
|
-
verticalAlign: 'middle',
|
|
28
|
-
color: `var(--correct-answer-toggle-label-color, ${color$3.text()})`,
|
|
29
|
-
fontSize: '15px',
|
|
30
|
-
fontWeight: 'normal'
|
|
31
|
-
}, noTouch),
|
|
32
|
-
icon: {
|
|
33
|
-
position: 'absolute',
|
|
34
|
-
width: '25px'
|
|
35
|
-
},
|
|
36
|
-
iconHolder: {
|
|
37
|
-
width: '25px',
|
|
38
|
-
marginRight: '5px'
|
|
39
|
-
},
|
|
40
|
-
enter: {
|
|
41
|
-
opacity: '0'
|
|
42
|
-
},
|
|
43
|
-
enterActive: {
|
|
44
|
-
opacity: '1',
|
|
45
|
-
transition: 'opacity 0.3s ease-in'
|
|
46
|
-
},
|
|
47
|
-
exit: {
|
|
48
|
-
opacity: '1'
|
|
49
|
-
},
|
|
50
|
-
exitActive: {
|
|
51
|
-
opacity: '0',
|
|
52
|
-
transition: 'opacity 0.3s ease-in'
|
|
53
|
-
}
|
|
54
|
-
};
|
|
1
|
+
import {_dll_prop_types, _dll_react_dom, _dll_react, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__core, _dll_classnames, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_debug} from "../../../@pie-lib/shared-module@^1.2.16/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.19/module/index.js";
|
|
55
3
|
function getDefaultExportFromCjs(x) {
|
|
56
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
57
5
|
}
|
|
@@ -71,7 +19,7 @@ function getAugmentedNamespace(n) {
|
|
|
71
19
|
});
|
|
72
20
|
return a;
|
|
73
21
|
}
|
|
74
|
-
var CSSTransition
|
|
22
|
+
var CSSTransition = {
|
|
75
23
|
exports: {}
|
|
76
24
|
};
|
|
77
25
|
var addClass = {
|
|
@@ -202,10 +150,10 @@ var reactLifecyclesCompat_es = Object.freeze({
|
|
|
202
150
|
polyfill: polyfill
|
|
203
151
|
});
|
|
204
152
|
var require$$2$2 = getAugmentedNamespace(reactLifecyclesCompat_es);
|
|
205
|
-
var PropTypes$
|
|
153
|
+
var PropTypes$6 = {};
|
|
206
154
|
const require$$0$5 = _dll_prop_types;
|
|
207
|
-
PropTypes$
|
|
208
|
-
PropTypes$
|
|
155
|
+
PropTypes$6.__esModule = true;
|
|
156
|
+
PropTypes$6.classNamesShape = PropTypes$6.timeoutsShape = void 0;
|
|
209
157
|
var _propTypes = _interopRequireDefault$2(require$$0$5);
|
|
210
158
|
function _interopRequireDefault$2(obj) {
|
|
211
159
|
return obj && obj.__esModule ? obj : {
|
|
@@ -217,7 +165,7 @@ var timeoutsShape = _propTypes.default.oneOfType([_propTypes.default.number, _pr
|
|
|
217
165
|
exit: _propTypes.default.number,
|
|
218
166
|
appear: _propTypes.default.number
|
|
219
167
|
}).isRequired]);
|
|
220
|
-
PropTypes$
|
|
168
|
+
PropTypes$6.timeoutsShape = timeoutsShape;
|
|
221
169
|
var classNamesShape = _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.shape({
|
|
222
170
|
enter: _propTypes.default.string,
|
|
223
171
|
exit: _propTypes.default.string,
|
|
@@ -230,17 +178,17 @@ var classNamesShape = _propTypes.default.oneOfType([_propTypes.default.string, _
|
|
|
230
178
|
exitDone: _propTypes.default.string,
|
|
231
179
|
exitActive: _propTypes.default.string
|
|
232
180
|
})]);
|
|
233
|
-
PropTypes$
|
|
181
|
+
PropTypes$6.classNamesShape = classNamesShape;
|
|
234
182
|
const require$$0$4 = _dll_prop_types;
|
|
235
183
|
const require$$1$2 = _dll_react;
|
|
236
184
|
const require$$2$1 = _dll_react_dom;
|
|
237
185
|
Transition$1.__esModule = true;
|
|
238
186
|
Transition$1.default = Transition$1.EXITING = Transition$1.ENTERED = Transition$1.ENTERING = Transition$1.EXITED = Transition$1.UNMOUNTED = void 0;
|
|
239
|
-
var PropTypes$
|
|
187
|
+
var PropTypes$5 = _interopRequireWildcard(require$$0$4);
|
|
240
188
|
var _react$1 = _interopRequireDefault$1(require$$1$2);
|
|
241
189
|
var _reactDom = _interopRequireDefault$1(require$$2$1);
|
|
242
190
|
var _reactLifecyclesCompat = require$$2$2;
|
|
243
|
-
var _PropTypes = PropTypes$
|
|
191
|
+
var _PropTypes = PropTypes$6;
|
|
244
192
|
function _interopRequireDefault$1(obj) {
|
|
245
193
|
return obj && obj.__esModule ? obj : {
|
|
246
194
|
default: obj
|
|
@@ -515,19 +463,19 @@ var Transition = (function (_React$Component) {
|
|
|
515
463
|
return Transition;
|
|
516
464
|
})(_react$1.default.Component);
|
|
517
465
|
Transition.contextTypes = {
|
|
518
|
-
transitionGroup: PropTypes$
|
|
466
|
+
transitionGroup: PropTypes$5.object
|
|
519
467
|
};
|
|
520
468
|
Transition.childContextTypes = {
|
|
521
469
|
transitionGroup: function transitionGroup() {}
|
|
522
470
|
};
|
|
523
471
|
Transition.propTypes = {
|
|
524
|
-
children: PropTypes$
|
|
525
|
-
in: PropTypes$
|
|
526
|
-
mountOnEnter: PropTypes$
|
|
527
|
-
unmountOnExit: PropTypes$
|
|
528
|
-
appear: PropTypes$
|
|
529
|
-
enter: PropTypes$
|
|
530
|
-
exit: PropTypes$
|
|
472
|
+
children: PropTypes$5.oneOfType([PropTypes$5.func.isRequired, PropTypes$5.element.isRequired]).isRequired,
|
|
473
|
+
in: PropTypes$5.bool,
|
|
474
|
+
mountOnEnter: PropTypes$5.bool,
|
|
475
|
+
unmountOnExit: PropTypes$5.bool,
|
|
476
|
+
appear: PropTypes$5.bool,
|
|
477
|
+
enter: PropTypes$5.bool,
|
|
478
|
+
exit: PropTypes$5.bool,
|
|
531
479
|
timeout: function timeout(props) {
|
|
532
480
|
var pt = _PropTypes.timeoutsShape;
|
|
533
481
|
if (!props.addEndListener) pt = pt.isRequired;
|
|
@@ -536,13 +484,13 @@ Transition.propTypes = {
|
|
|
536
484
|
}
|
|
537
485
|
return pt.apply(void 0, [props].concat(args));
|
|
538
486
|
},
|
|
539
|
-
addEndListener: PropTypes$
|
|
540
|
-
onEnter: PropTypes$
|
|
541
|
-
onEntering: PropTypes$
|
|
542
|
-
onEntered: PropTypes$
|
|
543
|
-
onExit: PropTypes$
|
|
544
|
-
onExiting: PropTypes$
|
|
545
|
-
onExited: PropTypes$
|
|
487
|
+
addEndListener: PropTypes$5.func,
|
|
488
|
+
onEnter: PropTypes$5.func,
|
|
489
|
+
onEntering: PropTypes$5.func,
|
|
490
|
+
onEntered: PropTypes$5.func,
|
|
491
|
+
onExit: PropTypes$5.func,
|
|
492
|
+
onExiting: PropTypes$5.func,
|
|
493
|
+
onExited: PropTypes$5.func
|
|
546
494
|
};
|
|
547
495
|
function noop() {}
|
|
548
496
|
Transition.defaultProps = {
|
|
@@ -576,7 +524,7 @@ const require$$3 = _dll_react;
|
|
|
576
524
|
var _removeClass = _interopRequireDefault(removeClass);
|
|
577
525
|
var _react = _interopRequireDefault(require$$3);
|
|
578
526
|
var _Transition = _interopRequireDefault(Transition$1);
|
|
579
|
-
var _PropTypes = PropTypes$
|
|
527
|
+
var _PropTypes = PropTypes$6;
|
|
580
528
|
function _interopRequireDefault(obj) {
|
|
581
529
|
return obj && obj.__esModule ? obj : {
|
|
582
530
|
default: obj
|
|
@@ -746,2133 +694,164 @@ const require$$3 = _dll_react;
|
|
|
746
694
|
var _default = CSSTransition;
|
|
747
695
|
exports.default = _default;
|
|
748
696
|
module.exports = exports["default"];
|
|
749
|
-
})(CSSTransition
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
const _jsxFileName$h = "/home/circleci/repo/node_modules/@pie-lib/icons/src/sized.jsx";
|
|
754
|
-
const normalizeSize = size => {
|
|
755
|
-
return typeof size === 'string' ? size : typeof size === 'number' ? `${size}px` : '30px';
|
|
756
|
-
};
|
|
757
|
-
const Sized = ({size, children}) => {
|
|
758
|
-
size = normalizeSize(size);
|
|
759
|
-
const style = {
|
|
760
|
-
height: size,
|
|
761
|
-
width: size,
|
|
762
|
-
display: 'inline-block',
|
|
763
|
-
position: 'relative'
|
|
764
|
-
};
|
|
765
|
-
return React$i.createElement('div', {
|
|
766
|
-
style: style,
|
|
767
|
-
__self: undefined,
|
|
768
|
-
__source: {
|
|
769
|
-
fileName: _jsxFileName$h,
|
|
770
|
-
lineNumber: 18
|
|
771
|
-
}
|
|
772
|
-
}, children);
|
|
773
|
-
};
|
|
774
|
-
Sized.propTypes = {
|
|
775
|
-
size: PropTypes$h.number,
|
|
776
|
-
children: PropTypes$h.oneOfType([PropTypes$h.arrayOf(PropTypes$h.node), PropTypes$h.node]).isRequired
|
|
697
|
+
})(CSSTransition, CSSTransition.exports);
|
|
698
|
+
getDefaultExportFromCjs(CSSTransition.exports);
|
|
699
|
+
var ReplaceTransition = {
|
|
700
|
+
exports: {}
|
|
777
701
|
};
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
const _jsxFileName$g = "/home/circleci/repo/node_modules/@pie-lib/icons/src/icon-root.jsx";
|
|
781
|
-
const IconRoot = ({size, children}) => React$h.createElement(Sized, {
|
|
782
|
-
size: size,
|
|
783
|
-
__self: undefined,
|
|
784
|
-
__source: {
|
|
785
|
-
fileName: _jsxFileName$g,
|
|
786
|
-
lineNumber: 10
|
|
787
|
-
}
|
|
788
|
-
}, React$h.createElement('svg', {
|
|
789
|
-
preserveAspectRatio: "xMinYMin meet",
|
|
790
|
-
version: "1.1",
|
|
791
|
-
x: "0px",
|
|
792
|
-
y: "0px",
|
|
793
|
-
viewBox: "0 0 44 40",
|
|
794
|
-
style: {
|
|
795
|
-
enableBackground: 'new 0 0 44 40'
|
|
796
|
-
},
|
|
797
|
-
__self: undefined,
|
|
798
|
-
__source: {
|
|
799
|
-
fileName: _jsxFileName$g,
|
|
800
|
-
lineNumber: 11
|
|
801
|
-
}
|
|
802
|
-
}, ' ', children));
|
|
803
|
-
IconRoot.propTypes = {
|
|
804
|
-
size: PropTypes$g.oneOf([PropTypes$g.string, PropTypes$g.number]),
|
|
805
|
-
children: PropTypes$g.oneOfType([PropTypes$g.arrayOf(PropTypes$g.node), PropTypes$g.node]).isRequired
|
|
702
|
+
var TransitionGroup = {
|
|
703
|
+
exports: {}
|
|
806
704
|
};
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
705
|
+
var ChildMapping = {};
|
|
706
|
+
const require$$0$2 = _dll_react;
|
|
707
|
+
ChildMapping.__esModule = true;
|
|
708
|
+
ChildMapping.getChildMapping = getChildMapping;
|
|
709
|
+
ChildMapping.mergeChildMappings = mergeChildMappings;
|
|
710
|
+
ChildMapping.getInitialChildMapping = getInitialChildMapping;
|
|
711
|
+
ChildMapping.getNextChildMapping = getNextChildMapping;
|
|
712
|
+
var _react = require$$0$2;
|
|
713
|
+
function getChildMapping(children, mapFn) {
|
|
714
|
+
var mapper = function mapper(child) {
|
|
715
|
+
return mapFn && (0, _react.isValidElement)(child) ? mapFn(child) : child;
|
|
716
|
+
};
|
|
717
|
+
var result = Object.create(null);
|
|
718
|
+
if (children) _react.Children.map(children, function (c) {
|
|
719
|
+
return c;
|
|
720
|
+
}).forEach(function (child) {
|
|
721
|
+
result[child.key] = mapper(child);
|
|
722
|
+
});
|
|
723
|
+
return result;
|
|
724
|
+
}
|
|
725
|
+
function mergeChildMappings(prev, next) {
|
|
726
|
+
prev = prev || ({});
|
|
727
|
+
next = next || ({});
|
|
728
|
+
function getValueForKey(key) {
|
|
729
|
+
return (key in next) ? next[key] : prev[key];
|
|
813
730
|
}
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
lineNumber: 51
|
|
731
|
+
var nextKeysPending = Object.create(null);
|
|
732
|
+
var pendingKeys = [];
|
|
733
|
+
for (var prevKey in prev) {
|
|
734
|
+
if ((prevKey in next)) {
|
|
735
|
+
if (pendingKeys.length) {
|
|
736
|
+
nextKeysPending[prevKey] = pendingKeys;
|
|
737
|
+
pendingKeys = [];
|
|
738
|
+
}
|
|
739
|
+
} else {
|
|
740
|
+
pendingKeys.push(prevKey);
|
|
741
|
+
}
|
|
826
742
|
}
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
fileName: _jsxFileName$g,
|
|
838
|
-
lineNumber: 62
|
|
743
|
+
var i;
|
|
744
|
+
var childMapping = {};
|
|
745
|
+
for (var nextKey in next) {
|
|
746
|
+
if (nextKeysPending[nextKey]) {
|
|
747
|
+
for (i = 0; i < nextKeysPending[nextKey].length; i++) {
|
|
748
|
+
var pendingNextKey = nextKeysPending[nextKey][i];
|
|
749
|
+
childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
childMapping[nextKey] = getValueForKey(nextKey);
|
|
839
753
|
}
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
className: PropTypes$g.string
|
|
843
|
-
};
|
|
844
|
-
const Circle$1 = ({className}) => React$h.createElement('circle', {
|
|
845
|
-
transform: "translate(-3, 0)",
|
|
846
|
-
className: className,
|
|
847
|
-
cx: "23",
|
|
848
|
-
cy: "20.4",
|
|
849
|
-
r: "16",
|
|
850
|
-
__self: undefined,
|
|
851
|
-
__source: {
|
|
852
|
-
fileName: _jsxFileName$g,
|
|
853
|
-
lineNumber: 73
|
|
754
|
+
for (i = 0; i < pendingKeys.length; i++) {
|
|
755
|
+
childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);
|
|
854
756
|
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
757
|
+
return childMapping;
|
|
758
|
+
}
|
|
759
|
+
function getProp(child, prop, props) {
|
|
760
|
+
return props[prop] != null ? props[prop] : child.props[prop];
|
|
761
|
+
}
|
|
762
|
+
function getInitialChildMapping(props, onExited) {
|
|
763
|
+
return getChildMapping(props.children, function (child) {
|
|
764
|
+
return (0, _react.cloneElement)(child, {
|
|
765
|
+
onExited: onExited.bind(null, child),
|
|
766
|
+
in: true,
|
|
767
|
+
appear: getProp(child, 'appear', props),
|
|
768
|
+
enter: getProp(child, 'enter', props),
|
|
769
|
+
exit: getProp(child, 'exit', props)
|
|
770
|
+
});
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
function getNextChildMapping(nextProps, prevChildMapping, onExited) {
|
|
774
|
+
var nextChildMapping = getChildMapping(nextProps.children);
|
|
775
|
+
var children = mergeChildMappings(prevChildMapping, nextChildMapping);
|
|
776
|
+
Object.keys(children).forEach(function (key) {
|
|
777
|
+
var child = children[key];
|
|
778
|
+
if (!(0, _react.isValidElement)(child)) return;
|
|
779
|
+
var hasPrev = (key in prevChildMapping);
|
|
780
|
+
var hasNext = (key in nextChildMapping);
|
|
781
|
+
var prevChild = prevChildMapping[key];
|
|
782
|
+
var isLeaving = (0, _react.isValidElement)(prevChild) && !prevChild.props.in;
|
|
783
|
+
if (hasNext && (!hasPrev || isLeaving)) {
|
|
784
|
+
children[key] = (0, _react.cloneElement)(child, {
|
|
785
|
+
onExited: onExited.bind(null, child),
|
|
786
|
+
in: true,
|
|
787
|
+
exit: getProp(child, 'exit', nextProps),
|
|
788
|
+
enter: getProp(child, 'enter', nextProps)
|
|
789
|
+
});
|
|
790
|
+
} else if (!hasNext && hasPrev && !isLeaving) {
|
|
791
|
+
children[key] = (0, _react.cloneElement)(child, {
|
|
792
|
+
in: false
|
|
793
|
+
});
|
|
794
|
+
} else if (hasNext && hasPrev && (0, _react.isValidElement)(prevChild)) {
|
|
795
|
+
children[key] = (0, _react.cloneElement)(child, {
|
|
796
|
+
onExited: onExited.bind(null, child),
|
|
797
|
+
in: prevChild.props.in,
|
|
798
|
+
exit: getProp(child, 'exit', nextProps),
|
|
799
|
+
enter: getProp(child, 'enter', nextProps)
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
});
|
|
803
|
+
return children;
|
|
804
|
+
}
|
|
805
|
+
const require$$0$1 = _dll_prop_types;
|
|
806
|
+
const require$$1$1 = _dll_react;
|
|
807
|
+
(function (module, exports) {
|
|
808
|
+
exports.__esModule = true;
|
|
809
|
+
exports.default = void 0;
|
|
810
|
+
var _propTypes = _interopRequireDefault(require$$0$1);
|
|
811
|
+
var _react = _interopRequireDefault(require$$1$1);
|
|
812
|
+
var _reactLifecyclesCompat = require$$2$2;
|
|
813
|
+
var _ChildMapping = ChildMapping;
|
|
814
|
+
function _interopRequireDefault(obj) {
|
|
815
|
+
return obj && obj.__esModule ? obj : {
|
|
816
|
+
default: obj
|
|
817
|
+
};
|
|
869
818
|
}
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
static __initStatic() {
|
|
880
|
-
this.propTypes = {
|
|
881
|
-
classes: PropTypes$f.object.isRequired,
|
|
882
|
-
size: PropTypes$f.number
|
|
883
|
-
};
|
|
819
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
820
|
+
if (source == null) return {};
|
|
821
|
+
var target = {};
|
|
822
|
+
var sourceKeys = Object.keys(source);
|
|
823
|
+
var key, i;
|
|
824
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
825
|
+
key = sourceKeys[i];
|
|
826
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
827
|
+
target[key] = source[key];
|
|
884
828
|
}
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
__source: {
|
|
895
|
-
fileName: _jsxFileName$f,
|
|
896
|
-
lineNumber: 20
|
|
897
|
-
}
|
|
898
|
-
}, React$g.createElement(RoundFeedbackBox, {
|
|
899
|
-
className: classes.bg,
|
|
900
|
-
__self: this,
|
|
901
|
-
__source: {
|
|
902
|
-
fileName: _jsxFileName$f,
|
|
903
|
-
lineNumber: 21
|
|
904
|
-
}
|
|
905
|
-
}), React$g.createElement(Action, {
|
|
906
|
-
className: classes.fg,
|
|
907
|
-
__self: this,
|
|
908
|
-
__source: {
|
|
909
|
-
fileName: _jsxFileName$f,
|
|
910
|
-
lineNumber: 22
|
|
911
|
-
}
|
|
912
|
-
})),
|
|
913
|
-
emoji: React$g.createElement(IconRoot, {
|
|
914
|
-
size: size,
|
|
915
|
-
__self: this,
|
|
916
|
-
__source: {
|
|
917
|
-
fileName: _jsxFileName$f,
|
|
918
|
-
lineNumber: 26
|
|
919
|
-
}
|
|
920
|
-
}, React$g.createElement(RoundFeedbackBox, {
|
|
921
|
-
className: classes.bg,
|
|
922
|
-
__self: this,
|
|
923
|
-
__source: {
|
|
924
|
-
fileName: _jsxFileName$f,
|
|
925
|
-
lineNumber: 27
|
|
926
|
-
}
|
|
927
|
-
}), React$g.createElement(Emoji, {
|
|
928
|
-
className: classes.fg,
|
|
929
|
-
__self: this,
|
|
930
|
-
__source: {
|
|
931
|
-
fileName: _jsxFileName$f,
|
|
932
|
-
lineNumber: 28
|
|
933
|
-
}
|
|
934
|
-
})),
|
|
935
|
-
open: {
|
|
936
|
-
check: React$g.createElement(IconRoot, {
|
|
937
|
-
size: size,
|
|
938
|
-
__self: this,
|
|
939
|
-
__source: {
|
|
940
|
-
fileName: _jsxFileName$f,
|
|
941
|
-
lineNumber: 33
|
|
942
|
-
}
|
|
943
|
-
}, React$g.createElement(Action, {
|
|
944
|
-
className: classes.bg,
|
|
945
|
-
__self: this,
|
|
946
|
-
__source: {
|
|
947
|
-
fileName: _jsxFileName$f,
|
|
948
|
-
lineNumber: 34
|
|
949
|
-
}
|
|
950
|
-
})),
|
|
951
|
-
emoji: React$g.createElement(IconRoot, {
|
|
952
|
-
size: size,
|
|
953
|
-
__self: this,
|
|
954
|
-
__source: {
|
|
955
|
-
fileName: _jsxFileName$f,
|
|
956
|
-
lineNumber: 38
|
|
957
|
-
}
|
|
958
|
-
}, React$g.createElement(Emoji, {
|
|
959
|
-
className: classes.bg,
|
|
960
|
-
__self: this,
|
|
961
|
-
__source: {
|
|
962
|
-
fileName: _jsxFileName$f,
|
|
963
|
-
lineNumber: 39
|
|
964
|
-
}
|
|
965
|
-
}))
|
|
966
|
-
}
|
|
967
|
-
},
|
|
968
|
-
square: {
|
|
969
|
-
check: React$g.createElement(IconRoot, {
|
|
970
|
-
size: size,
|
|
971
|
-
__self: this,
|
|
972
|
-
__source: {
|
|
973
|
-
fileName: _jsxFileName$f,
|
|
974
|
-
lineNumber: 46
|
|
975
|
-
}
|
|
976
|
-
}, React$g.createElement(SquareFeedbackBox, {
|
|
977
|
-
className: classes.bg,
|
|
978
|
-
__self: this,
|
|
979
|
-
__source: {
|
|
980
|
-
fileName: _jsxFileName$f,
|
|
981
|
-
lineNumber: 47
|
|
982
|
-
}
|
|
983
|
-
}), React$g.createElement(Action, {
|
|
984
|
-
className: classes.fg,
|
|
985
|
-
__self: this,
|
|
986
|
-
__source: {
|
|
987
|
-
fileName: _jsxFileName$f,
|
|
988
|
-
lineNumber: 48
|
|
989
|
-
}
|
|
990
|
-
})),
|
|
991
|
-
emoji: React$g.createElement(IconRoot, {
|
|
992
|
-
size: size,
|
|
993
|
-
__self: this,
|
|
994
|
-
__source: {
|
|
995
|
-
fileName: _jsxFileName$f,
|
|
996
|
-
lineNumber: 52
|
|
997
|
-
}
|
|
998
|
-
}, React$g.createElement(SquareFeedbackBox, {
|
|
999
|
-
className: classes.bg,
|
|
1000
|
-
__self: this,
|
|
1001
|
-
__source: {
|
|
1002
|
-
fileName: _jsxFileName$f,
|
|
1003
|
-
lineNumber: 53
|
|
1004
|
-
}
|
|
1005
|
-
}), React$g.createElement(Emoji, {
|
|
1006
|
-
className: classes.fg,
|
|
1007
|
-
__self: this,
|
|
1008
|
-
__source: {
|
|
1009
|
-
fileName: _jsxFileName$f,
|
|
1010
|
-
lineNumber: 54
|
|
1011
|
-
}
|
|
1012
|
-
})),
|
|
1013
|
-
open: {
|
|
1014
|
-
check: React$g.createElement(IconRoot, {
|
|
1015
|
-
size: size,
|
|
1016
|
-
__self: this,
|
|
1017
|
-
__source: {
|
|
1018
|
-
fileName: _jsxFileName$f,
|
|
1019
|
-
lineNumber: 59
|
|
1020
|
-
}
|
|
1021
|
-
}, React$g.createElement(Action, {
|
|
1022
|
-
className: classes.bg,
|
|
1023
|
-
__self: this,
|
|
1024
|
-
__source: {
|
|
1025
|
-
fileName: _jsxFileName$f,
|
|
1026
|
-
lineNumber: 60
|
|
1027
|
-
}
|
|
1028
|
-
})),
|
|
1029
|
-
emoji: React$g.createElement(IconRoot, {
|
|
1030
|
-
size: size,
|
|
1031
|
-
__self: this,
|
|
1032
|
-
__source: {
|
|
1033
|
-
fileName: _jsxFileName$f,
|
|
1034
|
-
lineNumber: 64
|
|
1035
|
-
}
|
|
1036
|
-
}, React$g.createElement(Emoji, {
|
|
1037
|
-
className: classes.bg,
|
|
1038
|
-
__self: this,
|
|
1039
|
-
__source: {
|
|
1040
|
-
fileName: _jsxFileName$f,
|
|
1041
|
-
lineNumber: 65
|
|
1042
|
-
}
|
|
1043
|
-
}))
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
},
|
|
1047
|
-
round: {
|
|
1048
|
-
check: React$g.createElement(IconRoot, {
|
|
1049
|
-
size: size,
|
|
1050
|
-
__self: this,
|
|
1051
|
-
__source: {
|
|
1052
|
-
fileName: _jsxFileName$f,
|
|
1053
|
-
lineNumber: 73
|
|
1054
|
-
}
|
|
1055
|
-
}, React$g.createElement(Circle$1, {
|
|
1056
|
-
className: classes.bg,
|
|
1057
|
-
__self: this,
|
|
1058
|
-
__source: {
|
|
1059
|
-
fileName: _jsxFileName$f,
|
|
1060
|
-
lineNumber: 74
|
|
1061
|
-
}
|
|
1062
|
-
}), React$g.createElement(Action, {
|
|
1063
|
-
className: classes.fg,
|
|
1064
|
-
__self: this,
|
|
1065
|
-
__source: {
|
|
1066
|
-
fileName: _jsxFileName$f,
|
|
1067
|
-
lineNumber: 75
|
|
1068
|
-
}
|
|
1069
|
-
})),
|
|
1070
|
-
emoji: React$g.createElement(IconRoot, {
|
|
1071
|
-
size: size,
|
|
1072
|
-
__self: this,
|
|
1073
|
-
__source: {
|
|
1074
|
-
fileName: _jsxFileName$f,
|
|
1075
|
-
lineNumber: 79
|
|
1076
|
-
}
|
|
1077
|
-
}, React$g.createElement(Circle$1, {
|
|
1078
|
-
className: classes.bg,
|
|
1079
|
-
__self: this,
|
|
1080
|
-
__source: {
|
|
1081
|
-
fileName: _jsxFileName$f,
|
|
1082
|
-
lineNumber: 80
|
|
1083
|
-
}
|
|
1084
|
-
}), React$g.createElement(Emoji, {
|
|
1085
|
-
className: classes.fg,
|
|
1086
|
-
__self: this,
|
|
1087
|
-
__source: {
|
|
1088
|
-
fileName: _jsxFileName$f,
|
|
1089
|
-
lineNumber: 81
|
|
1090
|
-
}
|
|
1091
|
-
})),
|
|
1092
|
-
open: {
|
|
1093
|
-
check: React$g.createElement(IconRoot, {
|
|
1094
|
-
size: size,
|
|
1095
|
-
__self: this,
|
|
1096
|
-
__source: {
|
|
1097
|
-
fileName: _jsxFileName$f,
|
|
1098
|
-
lineNumber: 86
|
|
1099
|
-
}
|
|
1100
|
-
}, React$g.createElement(Action, {
|
|
1101
|
-
className: classes.bg,
|
|
1102
|
-
__self: this,
|
|
1103
|
-
__source: {
|
|
1104
|
-
fileName: _jsxFileName$f,
|
|
1105
|
-
lineNumber: 87
|
|
1106
|
-
}
|
|
1107
|
-
})),
|
|
1108
|
-
emoji: React$g.createElement(IconRoot, {
|
|
1109
|
-
size: size,
|
|
1110
|
-
__self: this,
|
|
1111
|
-
__source: {
|
|
1112
|
-
fileName: _jsxFileName$f,
|
|
1113
|
-
lineNumber: 91
|
|
1114
|
-
}
|
|
1115
|
-
}, React$g.createElement(Emoji, {
|
|
1116
|
-
className: classes.bg,
|
|
1117
|
-
__self: this,
|
|
1118
|
-
__source: {
|
|
1119
|
-
fileName: _jsxFileName$f,
|
|
1120
|
-
lineNumber: 92
|
|
1121
|
-
}
|
|
1122
|
-
}))
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
square: {
|
|
1126
|
-
check: React$g.createElement(IconRoot, {
|
|
1127
|
-
size: size,
|
|
1128
|
-
__self: this,
|
|
1129
|
-
__source: {
|
|
1130
|
-
fileName: _jsxFileName$f,
|
|
1131
|
-
lineNumber: 99
|
|
1132
|
-
}
|
|
1133
|
-
}, React$g.createElement(Square, {
|
|
1134
|
-
className: classes.bg,
|
|
1135
|
-
__self: this,
|
|
1136
|
-
__source: {
|
|
1137
|
-
fileName: _jsxFileName$f,
|
|
1138
|
-
lineNumber: 100
|
|
1139
|
-
}
|
|
1140
|
-
}), React$g.createElement(Action, {
|
|
1141
|
-
className: classes.fg,
|
|
1142
|
-
__self: this,
|
|
1143
|
-
__source: {
|
|
1144
|
-
fileName: _jsxFileName$f,
|
|
1145
|
-
lineNumber: 101
|
|
1146
|
-
}
|
|
1147
|
-
})),
|
|
1148
|
-
emoji: React$g.createElement(IconRoot, {
|
|
1149
|
-
size: size,
|
|
1150
|
-
__self: this,
|
|
1151
|
-
__source: {
|
|
1152
|
-
fileName: _jsxFileName$f,
|
|
1153
|
-
lineNumber: 105
|
|
1154
|
-
}
|
|
1155
|
-
}, React$g.createElement(Square, {
|
|
1156
|
-
className: classes.bg,
|
|
1157
|
-
__self: this,
|
|
1158
|
-
__source: {
|
|
1159
|
-
fileName: _jsxFileName$f,
|
|
1160
|
-
lineNumber: 106
|
|
1161
|
-
}
|
|
1162
|
-
}), React$g.createElement(Emoji, {
|
|
1163
|
-
className: classes.fg,
|
|
1164
|
-
__self: this,
|
|
1165
|
-
__source: {
|
|
1166
|
-
fileName: _jsxFileName$f,
|
|
1167
|
-
lineNumber: 107
|
|
1168
|
-
}
|
|
1169
|
-
})),
|
|
1170
|
-
open: {
|
|
1171
|
-
check: React$g.createElement(IconRoot, {
|
|
1172
|
-
size: size,
|
|
1173
|
-
__self: this,
|
|
1174
|
-
__source: {
|
|
1175
|
-
fileName: _jsxFileName$f,
|
|
1176
|
-
lineNumber: 112
|
|
1177
|
-
}
|
|
1178
|
-
}, React$g.createElement(Action, {
|
|
1179
|
-
className: classes.bg,
|
|
1180
|
-
__self: this,
|
|
1181
|
-
__source: {
|
|
1182
|
-
fileName: _jsxFileName$f,
|
|
1183
|
-
lineNumber: 113
|
|
1184
|
-
}
|
|
1185
|
-
})),
|
|
1186
|
-
emoji: React$g.createElement(IconRoot, {
|
|
1187
|
-
size: size,
|
|
1188
|
-
__self: this,
|
|
1189
|
-
__source: {
|
|
1190
|
-
fileName: _jsxFileName$f,
|
|
1191
|
-
lineNumber: 117
|
|
1192
|
-
}
|
|
1193
|
-
}, React$g.createElement(Emoji, {
|
|
1194
|
-
className: classes.bg,
|
|
1195
|
-
__self: this,
|
|
1196
|
-
__source: {
|
|
1197
|
-
fileName: _jsxFileName$f,
|
|
1198
|
-
lineNumber: 118
|
|
1199
|
-
}
|
|
1200
|
-
}))
|
|
829
|
+
return target;
|
|
830
|
+
}
|
|
831
|
+
function _extends() {
|
|
832
|
+
_extends = Object.assign || (function (target) {
|
|
833
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
834
|
+
var source = arguments[i];
|
|
835
|
+
for (var key in source) {
|
|
836
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
837
|
+
target[key] = source[key];
|
|
1201
838
|
}
|
|
1202
839
|
}
|
|
1203
|
-
};
|
|
1204
|
-
}
|
|
1205
|
-
render() {
|
|
1206
|
-
if (this.props.category === undefined) {
|
|
1207
|
-
if (this.props.open === true) {
|
|
1208
|
-
return this.icons[this.props.shape].open[this.props.iconSet];
|
|
1209
|
-
} else {
|
|
1210
|
-
return this.icons[this.props.shape][this.props.iconSet];
|
|
1211
|
-
}
|
|
1212
|
-
} else {
|
|
1213
|
-
if (this.props.open === true) {
|
|
1214
|
-
return this.icons.feedback[this.props.shape].open[this.props.iconSet];
|
|
1215
|
-
} else {
|
|
1216
|
-
return this.icons.feedback[this.props.shape][this.props.iconSet];
|
|
1217
|
-
}
|
|
1218
840
|
}
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
IconBase.propTypes = {
|
|
1223
|
-
iconSet: PropTypes$f.oneOf(['emoji', 'check']),
|
|
1224
|
-
shape: PropTypes$f.oneOf(['round', 'square']),
|
|
1225
|
-
category: PropTypes$f.oneOf(['feedback', undefined]),
|
|
1226
|
-
open: PropTypes$f.bool
|
|
1227
|
-
};
|
|
1228
|
-
IconBase.defaultProps = {
|
|
1229
|
-
iconSet: 'check',
|
|
1230
|
-
shape: 'round',
|
|
1231
|
-
category: undefined,
|
|
1232
|
-
open: false
|
|
1233
|
-
};
|
|
1234
|
-
return IconBase;
|
|
1235
|
-
};
|
|
1236
|
-
const PropTypes$e = _dll_prop_types;
|
|
1237
|
-
const React$f = _dll_react;
|
|
1238
|
-
const {withStyles: withStyles$d} = _dll_material_ui__core_styles;
|
|
1239
|
-
const _jsxFileName$e = "/home/circleci/repo/node_modules/@pie-lib/icons/src/correct-icon.jsx";
|
|
1240
|
-
const styles$7 = getStyles('correct', '#f8ffe2', '#4aaf46');
|
|
1241
|
-
const Emoji$3 = ({className}) => React$f.createElement('g', {
|
|
1242
|
-
transform: 'translate(1, 0)',
|
|
1243
|
-
__self: undefined,
|
|
1244
|
-
__source: {
|
|
1245
|
-
fileName: _jsxFileName$e,
|
|
1246
|
-
lineNumber: 10
|
|
1247
|
-
}
|
|
1248
|
-
}, React$f.createElement('path', {
|
|
1249
|
-
className: className,
|
|
1250
|
-
d: "M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2 c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z",
|
|
1251
|
-
__self: undefined,
|
|
1252
|
-
__source: {
|
|
1253
|
-
fileName: _jsxFileName$e,
|
|
1254
|
-
lineNumber: 11
|
|
1255
|
-
}
|
|
1256
|
-
}), React$f.createElement('rect', {
|
|
1257
|
-
x: "21.1",
|
|
1258
|
-
y: "13.1",
|
|
1259
|
-
className: className,
|
|
1260
|
-
width: "3.7",
|
|
1261
|
-
height: "4.7",
|
|
1262
|
-
__self: undefined,
|
|
1263
|
-
__source: {
|
|
1264
|
-
fileName: _jsxFileName$e,
|
|
1265
|
-
lineNumber: 16
|
|
1266
|
-
}
|
|
1267
|
-
}), React$f.createElement('rect', {
|
|
1268
|
-
x: "12.7",
|
|
1269
|
-
y: "13.1",
|
|
1270
|
-
className: className,
|
|
1271
|
-
width: "3.7",
|
|
1272
|
-
height: "4.7",
|
|
1273
|
-
__self: undefined,
|
|
1274
|
-
__source: {
|
|
1275
|
-
fileName: _jsxFileName$e,
|
|
1276
|
-
lineNumber: 17
|
|
1277
|
-
}
|
|
1278
|
-
}));
|
|
1279
|
-
Emoji$3.propTypes = {
|
|
1280
|
-
className: PropTypes$e.string
|
|
1281
|
-
};
|
|
1282
|
-
Emoji$3.defaultProps = {
|
|
1283
|
-
x: 0
|
|
1284
|
-
};
|
|
1285
|
-
const Check$1 = ({className, x, y}) => React$f.createElement('polygon', {
|
|
1286
|
-
transform: `translate(${x}, ${y})`,
|
|
1287
|
-
className: className,
|
|
1288
|
-
points: "19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4",
|
|
1289
|
-
__self: undefined,
|
|
1290
|
-
__source: {
|
|
1291
|
-
fileName: _jsxFileName$e,
|
|
1292
|
-
lineNumber: 30
|
|
1293
|
-
}
|
|
1294
|
-
});
|
|
1295
|
-
Check$1.propTypes = {
|
|
1296
|
-
x: PropTypes$e.number,
|
|
1297
|
-
y: PropTypes$e.number,
|
|
1298
|
-
className: PropTypes$e.string
|
|
1299
|
-
};
|
|
1300
|
-
Check$1.defaultProps = {
|
|
1301
|
-
x: 0,
|
|
1302
|
-
y: 0
|
|
1303
|
-
};
|
|
1304
|
-
const Correct = IconBase(Check$1, Emoji$3);
|
|
1305
|
-
Correct.propTypes = {
|
|
1306
|
-
iconSet: PropTypes$e.oneOf(['emoji', 'check']),
|
|
1307
|
-
shape: PropTypes$e.oneOf(['round', 'square']),
|
|
1308
|
-
category: PropTypes$e.oneOf(['feedback', undefined]),
|
|
1309
|
-
open: PropTypes$e.bool
|
|
1310
|
-
};
|
|
1311
|
-
Correct.defaultProps = {
|
|
1312
|
-
iconSet: 'check',
|
|
1313
|
-
shape: 'round',
|
|
1314
|
-
category: undefined,
|
|
1315
|
-
open: false
|
|
1316
|
-
};
|
|
1317
|
-
withStyles$d(styles$7)(Correct);
|
|
1318
|
-
const PropTypes$d = _dll_prop_types;
|
|
1319
|
-
const React$e = _dll_react;
|
|
1320
|
-
const classNames$5 = _dll_classnames;
|
|
1321
|
-
const {withStyles: withStyles$c} = _dll_material_ui__core_styles;
|
|
1322
|
-
const _jsxFileName$d = "/home/circleci/repo/node_modules/@pie-lib/icons/src/correct-response-icon.jsx";
|
|
1323
|
-
const OpenIcon = ({bg, fg}) => React$e.createElement('svg', {
|
|
1324
|
-
preserveAspectRatio: "xMinYMin meet",
|
|
1325
|
-
version: "1.1",
|
|
1326
|
-
id: "Layer_1",
|
|
1327
|
-
x: "0px",
|
|
1328
|
-
y: "0px",
|
|
1329
|
-
viewBox: "-283 359 34 35",
|
|
1330
|
-
style: {
|
|
1331
|
-
enableBackground: 'new -283 359 34 35'
|
|
1332
|
-
},
|
|
1333
|
-
__self: undefined,
|
|
1334
|
-
__source: {
|
|
1335
|
-
fileName: _jsxFileName$d,
|
|
1336
|
-
lineNumber: 7
|
|
1337
|
-
}
|
|
1338
|
-
}, React$e.createElement('circle', {
|
|
1339
|
-
className: bg,
|
|
1340
|
-
cx: "-266",
|
|
1341
|
-
cy: "375.9",
|
|
1342
|
-
r: "14",
|
|
1343
|
-
__self: undefined,
|
|
1344
|
-
__source: {
|
|
1345
|
-
fileName: _jsxFileName$d,
|
|
1346
|
-
lineNumber: 16
|
|
1347
|
-
}
|
|
1348
|
-
}), React$e.createElement('path', {
|
|
1349
|
-
className: bg,
|
|
1350
|
-
d: "M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z",
|
|
1351
|
-
__self: undefined,
|
|
1352
|
-
__source: {
|
|
1353
|
-
fileName: _jsxFileName$d,
|
|
1354
|
-
lineNumber: 17
|
|
841
|
+
return target;
|
|
842
|
+
});
|
|
843
|
+
return _extends.apply(this, arguments);
|
|
1355
844
|
}
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
__source: {
|
|
1361
|
-
fileName: _jsxFileName$d,
|
|
1362
|
-
lineNumber: 22
|
|
845
|
+
function _inheritsLoose(subClass, superClass) {
|
|
846
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
847
|
+
subClass.prototype.constructor = subClass;
|
|
848
|
+
subClass.__proto__ = superClass;
|
|
1363
849
|
}
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
const CloseIcon = ({bg, fg, border}) => React$e.createElement('svg', {
|
|
1370
|
-
preserveAspectRatio: "xMinYMin meet",
|
|
1371
|
-
version: "1.1",
|
|
1372
|
-
x: "0px",
|
|
1373
|
-
y: "0px",
|
|
1374
|
-
viewBox: "-129.5 127 34 35",
|
|
1375
|
-
style: {
|
|
1376
|
-
enableBackground: 'new -129.5 127 34 35'
|
|
1377
|
-
},
|
|
1378
|
-
__self: undefined,
|
|
1379
|
-
__source: {
|
|
1380
|
-
fileName: _jsxFileName$d,
|
|
1381
|
-
lineNumber: 35
|
|
1382
|
-
}
|
|
1383
|
-
}, React$e.createElement('path', {
|
|
1384
|
-
style: {
|
|
1385
|
-
fill: '#D0CAC5',
|
|
1386
|
-
stroke: '#E6E3E0',
|
|
1387
|
-
strokeWidth: 0.75,
|
|
1388
|
-
strokeMiterlimit: 10
|
|
1389
|
-
},
|
|
1390
|
-
d: "M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5 C-97.4,153.5-104.3,160.4-112.9,160.4z",
|
|
1391
|
-
__self: undefined,
|
|
1392
|
-
__source: {
|
|
1393
|
-
fileName: _jsxFileName$d,
|
|
1394
|
-
lineNumber: 43
|
|
1395
|
-
}
|
|
1396
|
-
}), React$e.createElement('path', {
|
|
1397
|
-
style: {
|
|
1398
|
-
fill: '#B3ABA4',
|
|
1399
|
-
stroke: '#CDC7C2',
|
|
1400
|
-
strokeWidth: 0.5,
|
|
1401
|
-
strokeMiterlimit: 10
|
|
1402
|
-
},
|
|
1403
|
-
d: "M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z",
|
|
1404
|
-
__self: undefined,
|
|
1405
|
-
__source: {
|
|
1406
|
-
fileName: _jsxFileName$d,
|
|
1407
|
-
lineNumber: 53
|
|
1408
|
-
}
|
|
1409
|
-
}), React$e.createElement('circle', {
|
|
1410
|
-
className: bg,
|
|
1411
|
-
cx: "-114.2",
|
|
1412
|
-
cy: "143.5",
|
|
1413
|
-
r: "14",
|
|
1414
|
-
__self: undefined,
|
|
1415
|
-
__source: {
|
|
1416
|
-
fileName: _jsxFileName$d,
|
|
1417
|
-
lineNumber: 62
|
|
1418
|
-
}
|
|
1419
|
-
}), React$e.createElement('path', {
|
|
1420
|
-
className: border,
|
|
1421
|
-
d: "M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z",
|
|
1422
|
-
__self: undefined,
|
|
1423
|
-
__source: {
|
|
1424
|
-
fileName: _jsxFileName$d,
|
|
1425
|
-
lineNumber: 63
|
|
1426
|
-
}
|
|
1427
|
-
}), React$e.createElement('polygon', {
|
|
1428
|
-
className: fg,
|
|
1429
|
-
points: "-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2",
|
|
1430
|
-
__self: undefined,
|
|
1431
|
-
__source: {
|
|
1432
|
-
fileName: _jsxFileName$d,
|
|
1433
|
-
lineNumber: 68
|
|
1434
|
-
}
|
|
1435
|
-
}));
|
|
1436
|
-
CloseIcon.propTypes = {
|
|
1437
|
-
bg: PropTypes$d.string,
|
|
1438
|
-
fg: PropTypes$d.string,
|
|
1439
|
-
border: PropTypes$d.string
|
|
1440
|
-
};
|
|
1441
|
-
const styles$6 = {
|
|
1442
|
-
root: {
|
|
1443
|
-
width: props => props.size || '25px',
|
|
1444
|
-
height: props => props.size || '25px'
|
|
1445
|
-
},
|
|
1446
|
-
hideIconBg: {
|
|
1447
|
-
fill: '#bce2ff'
|
|
1448
|
-
},
|
|
1449
|
-
hideIconFg: {
|
|
1450
|
-
fill: '#1a9cff'
|
|
1451
|
-
},
|
|
1452
|
-
showIconBg: {
|
|
1453
|
-
fill: 'white'
|
|
1454
|
-
},
|
|
1455
|
-
showIconFg: {
|
|
1456
|
-
fill: '#1a9cff'
|
|
1457
|
-
},
|
|
1458
|
-
showIconBorder: {
|
|
1459
|
-
fill: '#bce2ff'
|
|
1460
|
-
}
|
|
1461
|
-
};
|
|
1462
|
-
const CorrectResponse = ({open, classes, className}) => React$e.createElement('div', {
|
|
1463
|
-
className: classNames$5(className, classes.root),
|
|
1464
|
-
__self: undefined,
|
|
1465
|
-
__source: {
|
|
1466
|
-
fileName: _jsxFileName$d,
|
|
1467
|
-
lineNumber: 104
|
|
1468
|
-
}
|
|
1469
|
-
}, open ? React$e.createElement(OpenIcon, {
|
|
1470
|
-
bg: classes.hideIconBg,
|
|
1471
|
-
fg: classes.hideIconFg,
|
|
1472
|
-
__self: undefined,
|
|
1473
|
-
__source: {
|
|
1474
|
-
fileName: _jsxFileName$d,
|
|
1475
|
-
lineNumber: 106
|
|
1476
|
-
}
|
|
1477
|
-
}) : React$e.createElement(CloseIcon, {
|
|
1478
|
-
bg: classes.showIconBg,
|
|
1479
|
-
border: classes.showIconBorder,
|
|
1480
|
-
fg: classes.showIconFg,
|
|
1481
|
-
__self: undefined,
|
|
1482
|
-
__source: {
|
|
1483
|
-
fileName: _jsxFileName$d,
|
|
1484
|
-
lineNumber: 108
|
|
1485
|
-
}
|
|
1486
|
-
}));
|
|
1487
|
-
CorrectResponse.propTypes = {
|
|
1488
|
-
classes: PropTypes$d.object.isRequired,
|
|
1489
|
-
open: PropTypes$d.bool,
|
|
1490
|
-
size: PropTypes$d.string,
|
|
1491
|
-
className: PropTypes$d.string
|
|
1492
|
-
};
|
|
1493
|
-
CorrectResponse.defaultProps = {
|
|
1494
|
-
open: false
|
|
1495
|
-
};
|
|
1496
|
-
var CorrectResponse$1 = withStyles$c(styles$6)(CorrectResponse);
|
|
1497
|
-
const PropTypes$c = _dll_prop_types;
|
|
1498
|
-
const React$d = _dll_react;
|
|
1499
|
-
const {withStyles: withStyles$b} = _dll_material_ui__core_styles;
|
|
1500
|
-
const _jsxFileName$c = "/home/circleci/repo/node_modules/@pie-lib/icons/src/incorrect-icon.jsx";
|
|
1501
|
-
const Ex = ({className}) => React$d.createElement('g', {
|
|
1502
|
-
transform: 'translate(0.5, 0.5)',
|
|
1503
|
-
__self: undefined,
|
|
1504
|
-
__source: {
|
|
1505
|
-
fileName: _jsxFileName$c,
|
|
1506
|
-
lineNumber: 8
|
|
1507
|
-
}
|
|
1508
|
-
}, React$d.createElement('rect', {
|
|
1509
|
-
x: "11",
|
|
1510
|
-
y: "17.3",
|
|
1511
|
-
transform: "matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)",
|
|
1512
|
-
className: className,
|
|
1513
|
-
width: "16.6",
|
|
1514
|
-
height: "3.7",
|
|
1515
|
-
__self: undefined,
|
|
1516
|
-
__source: {
|
|
1517
|
-
fileName: _jsxFileName$c,
|
|
1518
|
-
lineNumber: 9
|
|
1519
|
-
}
|
|
1520
|
-
}), React$d.createElement('rect', {
|
|
1521
|
-
x: "17.4",
|
|
1522
|
-
y: "10.7",
|
|
1523
|
-
transform: "matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)",
|
|
1524
|
-
className: className,
|
|
1525
|
-
width: "3.7",
|
|
1526
|
-
height: "16.6",
|
|
1527
|
-
__self: undefined,
|
|
1528
|
-
__source: {
|
|
1529
|
-
fileName: _jsxFileName$c,
|
|
1530
|
-
lineNumber: 17
|
|
1531
|
-
}
|
|
1532
|
-
}));
|
|
1533
|
-
Ex.propTypes = {
|
|
1534
|
-
className: PropTypes$c.string
|
|
1535
|
-
};
|
|
1536
|
-
const Emoji$2 = ({className}) => React$d.createElement('g', {
|
|
1537
|
-
transform: 'translate(1,0)',
|
|
1538
|
-
__self: undefined,
|
|
1539
|
-
__source: {
|
|
1540
|
-
fileName: _jsxFileName$c,
|
|
1541
|
-
lineNumber: 32
|
|
1542
|
-
}
|
|
1543
|
-
}, React$d.createElement('rect', {
|
|
1544
|
-
x: "21",
|
|
1545
|
-
y: "12.9",
|
|
1546
|
-
className: className,
|
|
1547
|
-
width: "3.7",
|
|
1548
|
-
height: "4.7",
|
|
1549
|
-
__self: undefined,
|
|
1550
|
-
__source: {
|
|
1551
|
-
fileName: _jsxFileName$c,
|
|
1552
|
-
lineNumber: 33
|
|
1553
|
-
}
|
|
1554
|
-
}), React$d.createElement('rect', {
|
|
1555
|
-
x: "12.7",
|
|
1556
|
-
y: "12.9",
|
|
1557
|
-
className: className,
|
|
1558
|
-
width: "3.7",
|
|
1559
|
-
height: "4.7",
|
|
1560
|
-
__self: undefined,
|
|
1561
|
-
__source: {
|
|
1562
|
-
fileName: _jsxFileName$c,
|
|
1563
|
-
lineNumber: 34
|
|
1564
|
-
}
|
|
1565
|
-
}), React$d.createElement('rect', {
|
|
1566
|
-
x: "12.2",
|
|
1567
|
-
y: "22.5",
|
|
1568
|
-
className: className,
|
|
1569
|
-
width: "13",
|
|
1570
|
-
height: "3.3",
|
|
1571
|
-
__self: undefined,
|
|
1572
|
-
__source: {
|
|
1573
|
-
fileName: _jsxFileName$c,
|
|
1574
|
-
lineNumber: 35
|
|
1575
|
-
}
|
|
1576
|
-
}));
|
|
1577
|
-
Emoji$2.propTypes = {
|
|
1578
|
-
className: PropTypes$c.string
|
|
1579
|
-
};
|
|
1580
|
-
const styles$5 = getStyles('incorrect', '#fbf2e3', '#fcb733');
|
|
1581
|
-
const Incorrect = IconBase(Ex, Emoji$2);
|
|
1582
|
-
withStyles$b(styles$5)(Incorrect);
|
|
1583
|
-
Incorrect.propTypes = {
|
|
1584
|
-
iconSet: PropTypes$c.oneOf(['emoji', 'check']),
|
|
1585
|
-
shape: PropTypes$c.oneOf(['round', 'square']),
|
|
1586
|
-
category: PropTypes$c.oneOf(['feedback', undefined]),
|
|
1587
|
-
open: PropTypes$c.bool
|
|
1588
|
-
};
|
|
1589
|
-
Incorrect.defaultProps = {
|
|
1590
|
-
iconSet: 'check',
|
|
1591
|
-
shape: 'round',
|
|
1592
|
-
category: undefined,
|
|
1593
|
-
open: false
|
|
1594
|
-
};
|
|
1595
|
-
const PropTypes$b = _dll_prop_types;
|
|
1596
|
-
const React$c = _dll_react;
|
|
1597
|
-
const _jsxFileName$b = "/home/circleci/repo/node_modules/@pie-lib/icons/src/instructions-icon.jsx";
|
|
1598
|
-
const Lines = () => {
|
|
1599
|
-
const style = {
|
|
1600
|
-
fill: 'none',
|
|
1601
|
-
stroke: '#BCE2FF',
|
|
1602
|
-
strokeWidth: 2,
|
|
1603
|
-
strokeMiterlimit: 10
|
|
1604
|
-
};
|
|
1605
|
-
return React$c.createElement('g', {
|
|
1606
|
-
__self: undefined,
|
|
1607
|
-
__source: {
|
|
1608
|
-
fileName: _jsxFileName$b,
|
|
1609
|
-
lineNumber: 13
|
|
1610
|
-
}
|
|
1611
|
-
}, React$c.createElement('line', {
|
|
1612
|
-
style: style,
|
|
1613
|
-
x1: "-98",
|
|
1614
|
-
y1: "142",
|
|
1615
|
-
x2: "-114.6",
|
|
1616
|
-
y2: "142",
|
|
1617
|
-
__self: undefined,
|
|
1618
|
-
__source: {
|
|
1619
|
-
fileName: _jsxFileName$b,
|
|
1620
|
-
lineNumber: 14
|
|
1621
|
-
}
|
|
1622
|
-
}), React$c.createElement('line', {
|
|
1623
|
-
style: style,
|
|
1624
|
-
x1: "-98",
|
|
1625
|
-
y1: "146.3",
|
|
1626
|
-
x2: "-114.6",
|
|
1627
|
-
y2: "146.3",
|
|
1628
|
-
__self: undefined,
|
|
1629
|
-
__source: {
|
|
1630
|
-
fileName: _jsxFileName$b,
|
|
1631
|
-
lineNumber: 15
|
|
1632
|
-
}
|
|
1633
|
-
}), React$c.createElement('line', {
|
|
1634
|
-
style: style,
|
|
1635
|
-
x1: "-104",
|
|
1636
|
-
y1: "150.7",
|
|
1637
|
-
x2: "-114.6",
|
|
1638
|
-
y2: "150.7",
|
|
1639
|
-
__self: undefined,
|
|
1640
|
-
__source: {
|
|
1641
|
-
fileName: _jsxFileName$b,
|
|
1642
|
-
lineNumber: 16
|
|
1643
|
-
}
|
|
1644
|
-
}));
|
|
1645
|
-
};
|
|
1646
|
-
const Root$2 = ({children, size}) => React$c.createElement(Sized, {
|
|
1647
|
-
size: size,
|
|
1648
|
-
__self: undefined,
|
|
1649
|
-
__source: {
|
|
1650
|
-
fileName: _jsxFileName$b,
|
|
1651
|
-
lineNumber: 22
|
|
1652
|
-
}
|
|
1653
|
-
}, React$c.createElement('svg', {
|
|
1654
|
-
version: "1.1",
|
|
1655
|
-
viewBox: "-128 129 31 31",
|
|
1656
|
-
style: {
|
|
1657
|
-
enableBackground: 'new -128 129 31 31'
|
|
1658
|
-
},
|
|
1659
|
-
__self: undefined,
|
|
1660
|
-
__source: {
|
|
1661
|
-
fileName: _jsxFileName$b,
|
|
1662
|
-
lineNumber: 23
|
|
1663
|
-
}
|
|
1664
|
-
}, children));
|
|
1665
|
-
Root$2.propTypes = {
|
|
1666
|
-
children: PropTypes$b.oneOfType([PropTypes$b.arrayOf(PropTypes$b.node), PropTypes$b.node]).isRequired,
|
|
1667
|
-
size: PropTypes$b.number
|
|
1668
|
-
};
|
|
1669
|
-
const GreyInfo = () => {
|
|
1670
|
-
return React$c.createElement('g', {
|
|
1671
|
-
__self: undefined,
|
|
1672
|
-
__source: {
|
|
1673
|
-
fileName: _jsxFileName$b,
|
|
1674
|
-
lineNumber: 36
|
|
1675
|
-
}
|
|
1676
|
-
}, React$c.createElement('rect', {
|
|
1677
|
-
x: "-123.9",
|
|
1678
|
-
y: "135.3",
|
|
1679
|
-
style: {
|
|
1680
|
-
fill: '#D0CAC5',
|
|
1681
|
-
stroke: '#E6E3E0',
|
|
1682
|
-
strokeWidth: 0.75,
|
|
1683
|
-
strokeLinejoin: 'round',
|
|
1684
|
-
strokeMiterlimit: 10
|
|
1685
|
-
},
|
|
1686
|
-
width: "4.1",
|
|
1687
|
-
height: "4.1",
|
|
1688
|
-
__self: undefined,
|
|
1689
|
-
__source: {
|
|
1690
|
-
fileName: _jsxFileName$b,
|
|
1691
|
-
lineNumber: 37
|
|
1692
|
-
}
|
|
1693
|
-
}), React$c.createElement('polygon', {
|
|
1694
|
-
style: {
|
|
1695
|
-
fill: '#D0CAC5',
|
|
1696
|
-
stroke: '#E6E3E0',
|
|
1697
|
-
strokeWidth: 0.75,
|
|
1698
|
-
strokeLinejoin: 'round',
|
|
1699
|
-
strokeMiterlimit: 10
|
|
1700
|
-
},
|
|
1701
|
-
points: "-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4 -125.6,153.2 -116.8,153.2 -116.8,150.4 ",
|
|
1702
|
-
__self: undefined,
|
|
1703
|
-
__source: {
|
|
1704
|
-
fileName: _jsxFileName$b,
|
|
1705
|
-
lineNumber: 50
|
|
1706
|
-
}
|
|
1707
|
-
}), React$c.createElement('rect', {
|
|
1708
|
-
x: "-124.7",
|
|
1709
|
-
y: "134.7",
|
|
1710
|
-
style: {
|
|
1711
|
-
fill: '#B3ABA4',
|
|
1712
|
-
stroke: '#CDC7C2',
|
|
1713
|
-
strokeWidth: 0.5,
|
|
1714
|
-
strokeLinecap: 'round',
|
|
1715
|
-
strokeLinejoin: 'round',
|
|
1716
|
-
strokeMiterlimit: 10
|
|
1717
|
-
},
|
|
1718
|
-
width: "4.1",
|
|
1719
|
-
height: "4.1",
|
|
1720
|
-
__self: undefined,
|
|
1721
|
-
__source: {
|
|
1722
|
-
fileName: _jsxFileName$b,
|
|
1723
|
-
lineNumber: 61
|
|
1724
|
-
}
|
|
1725
|
-
}), React$c.createElement('polygon', {
|
|
1726
|
-
style: {
|
|
1727
|
-
fill: '#B3ABA4',
|
|
1728
|
-
stroke: '#CDC7C2',
|
|
1729
|
-
strokeWidth: 0.5,
|
|
1730
|
-
strokeLinecap: 'round',
|
|
1731
|
-
strokeLinejoin: 'round',
|
|
1732
|
-
strokeMiterlimit: 10
|
|
1733
|
-
},
|
|
1734
|
-
points: "-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8 -126.4,152.5 -117.6,152.5 -117.6,149.8 ",
|
|
1735
|
-
__self: undefined,
|
|
1736
|
-
__source: {
|
|
1737
|
-
fileName: _jsxFileName$b,
|
|
1738
|
-
lineNumber: 76
|
|
1739
|
-
}
|
|
1740
|
-
}), React$c.createElement('rect', {
|
|
1741
|
-
x: "-125.5",
|
|
1742
|
-
y: "134",
|
|
1743
|
-
style: {
|
|
1744
|
-
fill: '#7FABC6'
|
|
1745
|
-
},
|
|
1746
|
-
width: "4.1",
|
|
1747
|
-
height: "4.1",
|
|
1748
|
-
__self: undefined,
|
|
1749
|
-
__source: {
|
|
1750
|
-
fileName: _jsxFileName$b,
|
|
1751
|
-
lineNumber: 88
|
|
1752
|
-
}
|
|
1753
|
-
}), React$c.createElement('polygon', {
|
|
1754
|
-
style: {
|
|
1755
|
-
fill: '#7FABC6'
|
|
1756
|
-
},
|
|
1757
|
-
points: "-121.4,149.1 -121.4,140.9 -126.5,140.9 -126.5,143.6 -124.1,143.6 -124.1,149.1 -127.1,149.1 -127.1,151.9 -118.4,151.9 -118.4,149.1 ",
|
|
1758
|
-
__self: undefined,
|
|
1759
|
-
__source: {
|
|
1760
|
-
fileName: _jsxFileName$b,
|
|
1761
|
-
lineNumber: 89
|
|
1762
|
-
}
|
|
1763
|
-
}));
|
|
1764
|
-
};
|
|
1765
|
-
const BlueInfo = () => React$c.createElement('g', {
|
|
1766
|
-
__self: undefined,
|
|
1767
|
-
__source: {
|
|
1768
|
-
fileName: _jsxFileName$b,
|
|
1769
|
-
lineNumber: 99
|
|
1770
|
-
}
|
|
1771
|
-
}, React$c.createElement('rect', {
|
|
1772
|
-
x: "-123.9",
|
|
1773
|
-
y: "135.3",
|
|
1774
|
-
style: {
|
|
1775
|
-
fill: '#D0CAC5',
|
|
1776
|
-
stroke: '#E6E3E0',
|
|
1777
|
-
strokeWidth: 0.75,
|
|
1778
|
-
strokeLinejoin: 'round',
|
|
1779
|
-
strokeMiterlimit: 10
|
|
1780
|
-
},
|
|
1781
|
-
width: "4.1",
|
|
1782
|
-
height: "4.1",
|
|
1783
|
-
__self: undefined,
|
|
1784
|
-
__source: {
|
|
1785
|
-
fileName: _jsxFileName$b,
|
|
1786
|
-
lineNumber: 100
|
|
1787
|
-
}
|
|
1788
|
-
}), React$c.createElement('polygon', {
|
|
1789
|
-
style: {
|
|
1790
|
-
fill: '#D0CAC5',
|
|
1791
|
-
stroke: '#E6E3E0',
|
|
1792
|
-
strokeWidth: 0.75,
|
|
1793
|
-
strokeLinejoin: 'round',
|
|
1794
|
-
strokeMiterlimit: 10
|
|
1795
|
-
},
|
|
1796
|
-
points: "-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4 -125.6,153.2 -116.8,153.2 -116.8,150.4 ",
|
|
1797
|
-
__self: undefined,
|
|
1798
|
-
__source: {
|
|
1799
|
-
fileName: _jsxFileName$b,
|
|
1800
|
-
lineNumber: 113
|
|
1801
|
-
}
|
|
1802
|
-
}), React$c.createElement('rect', {
|
|
1803
|
-
x: "-124.7",
|
|
1804
|
-
y: "134.7",
|
|
1805
|
-
style: {
|
|
1806
|
-
fill: '#B3ABA4',
|
|
1807
|
-
stroke: '#CDC7C2',
|
|
1808
|
-
strokeWidth: 0.5,
|
|
1809
|
-
strokeLinecap: 'round',
|
|
1810
|
-
strokeLinejoin: 'round',
|
|
1811
|
-
strokeMiterlimit: 10
|
|
1812
|
-
},
|
|
1813
|
-
width: "4.1",
|
|
1814
|
-
height: "4.1",
|
|
1815
|
-
__self: undefined,
|
|
1816
|
-
__source: {
|
|
1817
|
-
fileName: _jsxFileName$b,
|
|
1818
|
-
lineNumber: 124
|
|
1819
|
-
}
|
|
1820
|
-
}), React$c.createElement('polygon', {
|
|
1821
|
-
style: {
|
|
1822
|
-
fill: '#B3ABA4',
|
|
1823
|
-
stroke: '#CDC7C2',
|
|
1824
|
-
strokeWidth: 0.5,
|
|
1825
|
-
strokeLinecap: 'round',
|
|
1826
|
-
strokeLinejoin: 'round',
|
|
1827
|
-
strokeMiterlimit: 10
|
|
1828
|
-
},
|
|
1829
|
-
points: "-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8 -126.4,152.5 -117.6,152.5 -117.6,149.8 ",
|
|
1830
|
-
__self: undefined,
|
|
1831
|
-
__source: {
|
|
1832
|
-
fileName: _jsxFileName$b,
|
|
1833
|
-
lineNumber: 138
|
|
1834
|
-
}
|
|
1835
|
-
}), React$c.createElement('rect', {
|
|
1836
|
-
x: "-125.5",
|
|
1837
|
-
y: "134",
|
|
1838
|
-
style: {
|
|
1839
|
-
fill: '#1A9CFF'
|
|
1840
|
-
},
|
|
1841
|
-
width: "4.1",
|
|
1842
|
-
height: "4.1",
|
|
1843
|
-
__self: undefined,
|
|
1844
|
-
__source: {
|
|
1845
|
-
fileName: _jsxFileName$b,
|
|
1846
|
-
lineNumber: 150
|
|
1847
|
-
}
|
|
1848
|
-
}), React$c.createElement('polygon', {
|
|
1849
|
-
style: {
|
|
1850
|
-
fill: '#1A9CFF'
|
|
1851
|
-
},
|
|
1852
|
-
points: "-121.4,149.1 -121.4,140.9 -126.5,140.9 -126.5,143.6 -124.1,143.6 -124.1,149.1 -127.1,149.1 -127.1,151.9 -118.4,151.9 -118.4,149.1 ",
|
|
1853
|
-
__self: undefined,
|
|
1854
|
-
__source: {
|
|
1855
|
-
fileName: _jsxFileName$b,
|
|
1856
|
-
lineNumber: 151
|
|
1857
|
-
}
|
|
1858
|
-
}));
|
|
1859
|
-
class Instructions extends React$c.Component {
|
|
1860
|
-
constructor(props) {
|
|
1861
|
-
super(props);
|
|
1862
|
-
}
|
|
1863
|
-
render() {
|
|
1864
|
-
if (this.props.open === true) {
|
|
1865
|
-
return React$c.createElement(Root$2, {
|
|
1866
|
-
__self: this,
|
|
1867
|
-
__source: {
|
|
1868
|
-
fileName: _jsxFileName$b,
|
|
1869
|
-
lineNumber: 167
|
|
1870
|
-
}
|
|
1871
|
-
}, React$c.createElement(GreyInfo, {
|
|
1872
|
-
__self: this,
|
|
1873
|
-
__source: {
|
|
1874
|
-
fileName: _jsxFileName$b,
|
|
1875
|
-
lineNumber: 168
|
|
1876
|
-
}
|
|
1877
|
-
}), React$c.createElement(Lines, {
|
|
1878
|
-
__self: this,
|
|
1879
|
-
__source: {
|
|
1880
|
-
fileName: _jsxFileName$b,
|
|
1881
|
-
lineNumber: 169
|
|
1882
|
-
}
|
|
1883
|
-
}));
|
|
1884
|
-
} else {
|
|
1885
|
-
return React$c.createElement(Root$2, {
|
|
1886
|
-
__self: this,
|
|
1887
|
-
__source: {
|
|
1888
|
-
fileName: _jsxFileName$b,
|
|
1889
|
-
lineNumber: 174
|
|
1890
|
-
}
|
|
1891
|
-
}, React$c.createElement(BlueInfo, {
|
|
1892
|
-
__self: this,
|
|
1893
|
-
__source: {
|
|
1894
|
-
fileName: _jsxFileName$b,
|
|
1895
|
-
lineNumber: 175
|
|
1896
|
-
}
|
|
1897
|
-
}), React$c.createElement(Lines, {
|
|
1898
|
-
__self: this,
|
|
1899
|
-
__source: {
|
|
1900
|
-
fileName: _jsxFileName$b,
|
|
1901
|
-
lineNumber: 176
|
|
1902
|
-
}
|
|
1903
|
-
}));
|
|
1904
|
-
}
|
|
1905
|
-
}
|
|
1906
|
-
}
|
|
1907
|
-
Instructions.propTypes = {
|
|
1908
|
-
open: PropTypes$b.bool
|
|
1909
|
-
};
|
|
1910
|
-
Instructions.defaultProps = {
|
|
1911
|
-
open: false
|
|
1912
|
-
};
|
|
1913
|
-
const PropTypes$a = _dll_prop_types;
|
|
1914
|
-
const React$b = _dll_react;
|
|
1915
|
-
const {withStyles: withStyles$a} = _dll_material_ui__core_styles;
|
|
1916
|
-
const _jsxFileName$a = "/home/circleci/repo/node_modules/@pie-lib/icons/src/learn-more-icon.jsx";
|
|
1917
|
-
const Glint = ({fill}) => React$b.createElement('path', {
|
|
1918
|
-
fill: fill,
|
|
1919
|
-
d: "M-130.4,142.1c0-2.1,1.7-3.9,3.9-3.9c0.3,0,0.5,0,0.8,0.1c-0.6-0.8-1.5-1.3-2.6-1.3c-1.8,0-3.3,1.5-3.3,3.3c0,1.1,0.5,2,1.3,2.6C-130.4,142.6-130.4,142.4-130.4,142.1z",
|
|
1920
|
-
__self: undefined,
|
|
1921
|
-
__source: {
|
|
1922
|
-
fileName: _jsxFileName$a,
|
|
1923
|
-
lineNumber: 7
|
|
1924
|
-
}
|
|
1925
|
-
});
|
|
1926
|
-
Glint.propTypes = {
|
|
1927
|
-
fill: PropTypes$a.string
|
|
1928
|
-
};
|
|
1929
|
-
class LearnMore extends React$b.Component {
|
|
1930
|
-
static __initStatic() {
|
|
1931
|
-
this.propTypes = {
|
|
1932
|
-
classes: PropTypes$a.object.isRequired,
|
|
1933
|
-
size: PropTypes$a.number
|
|
1934
|
-
};
|
|
1935
|
-
}
|
|
1936
|
-
render() {
|
|
1937
|
-
const {classes, size} = this.props;
|
|
1938
|
-
if (this.props.open === true) {
|
|
1939
|
-
return React$b.createElement(Sized, {
|
|
1940
|
-
size: size,
|
|
1941
|
-
__self: this,
|
|
1942
|
-
__source: {
|
|
1943
|
-
fileName: _jsxFileName$a,
|
|
1944
|
-
lineNumber: 28
|
|
1945
|
-
}
|
|
1946
|
-
}, React$b.createElement('svg', {
|
|
1947
|
-
preserveAspectRatio: "xMinYMin meet",
|
|
1948
|
-
viewBox: "-135 129 16 32",
|
|
1949
|
-
__self: this,
|
|
1950
|
-
__source: {
|
|
1951
|
-
fileName: _jsxFileName$a,
|
|
1952
|
-
lineNumber: 29
|
|
1953
|
-
}
|
|
1954
|
-
}, React$b.createElement('path', {
|
|
1955
|
-
className: classes.hideBg,
|
|
1956
|
-
d: "M-122,141.1c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.8,144.7-122,143-122,141.1z",
|
|
1957
|
-
__self: this,
|
|
1958
|
-
__source: {
|
|
1959
|
-
fileName: _jsxFileName$a,
|
|
1960
|
-
lineNumber: 30
|
|
1961
|
-
}
|
|
1962
|
-
}), React$b.createElement('path', {
|
|
1963
|
-
className: classes.hideBg,
|
|
1964
|
-
d: "M-125.7,153h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.9,152.7-125.2,153-125.7,153z",
|
|
1965
|
-
__self: this,
|
|
1966
|
-
__source: {
|
|
1967
|
-
fileName: _jsxFileName$a,
|
|
1968
|
-
lineNumber: 34
|
|
1969
|
-
}
|
|
1970
|
-
}), React$b.createElement(Glint, {
|
|
1971
|
-
fill: classes.hideFg.fill,
|
|
1972
|
-
__self: this,
|
|
1973
|
-
__source: {
|
|
1974
|
-
fileName: _jsxFileName$a,
|
|
1975
|
-
lineNumber: 38
|
|
1976
|
-
}
|
|
1977
|
-
})));
|
|
1978
|
-
} else {
|
|
1979
|
-
return React$b.createElement(Sized, {
|
|
1980
|
-
size: size,
|
|
1981
|
-
__self: this,
|
|
1982
|
-
__source: {
|
|
1983
|
-
fileName: _jsxFileName$a,
|
|
1984
|
-
lineNumber: 44
|
|
1985
|
-
}
|
|
1986
|
-
}, React$b.createElement('svg', {
|
|
1987
|
-
preserveAspectRatio: "xMinYMin meet",
|
|
1988
|
-
viewBox: "-135 129 16 31",
|
|
1989
|
-
__self: this,
|
|
1990
|
-
__source: {
|
|
1991
|
-
fileName: _jsxFileName$a,
|
|
1992
|
-
lineNumber: 45
|
|
1993
|
-
}
|
|
1994
|
-
}, React$b.createElement('path', {
|
|
1995
|
-
fill: "#D0CAC5",
|
|
1996
|
-
stroke: "#E6E3E0",
|
|
1997
|
-
className: "st0",
|
|
1998
|
-
d: "M-120.7,142.4c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-121.6,146-120.7,144.3-120.7,142.4z",
|
|
1999
|
-
__self: this,
|
|
2000
|
-
__source: {
|
|
2001
|
-
fileName: _jsxFileName$a,
|
|
2002
|
-
lineNumber: 46
|
|
2003
|
-
}
|
|
2004
|
-
}), React$b.createElement('path', {
|
|
2005
|
-
fill: "#D0CAC5",
|
|
2006
|
-
stroke: "#E6E3E0",
|
|
2007
|
-
className: "st0",
|
|
2008
|
-
d: "M-124.4,154.3h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-123.6,153.9-123.9,154.3-124.4,154.3z",
|
|
2009
|
-
__self: this,
|
|
2010
|
-
__source: {
|
|
2011
|
-
fileName: _jsxFileName$a,
|
|
2012
|
-
lineNumber: 52
|
|
2013
|
-
}
|
|
2014
|
-
}), React$b.createElement('path', {
|
|
2015
|
-
fill: "#B3ABA4",
|
|
2016
|
-
stroke: "#CDC7C2",
|
|
2017
|
-
className: "st1",
|
|
2018
|
-
d: "M-121.3,141.8c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.2,145.3-121.3,143.7-121.3,141.8z",
|
|
2019
|
-
__self: this,
|
|
2020
|
-
__source: {
|
|
2021
|
-
fileName: _jsxFileName$a,
|
|
2022
|
-
lineNumber: 58
|
|
2023
|
-
}
|
|
2024
|
-
}), ",", React$b.createElement('path', {
|
|
2025
|
-
fill: "#B3ABA4",
|
|
2026
|
-
stroke: "#CDC7C2",
|
|
2027
|
-
className: "st1",
|
|
2028
|
-
d: "M-125,153.7h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.2,153.3-124.6,153.7-125,153.7z",
|
|
2029
|
-
__self: this,
|
|
2030
|
-
__source: {
|
|
2031
|
-
fileName: _jsxFileName$a,
|
|
2032
|
-
lineNumber: 65
|
|
2033
|
-
}
|
|
2034
|
-
}), React$b.createElement('path', {
|
|
2035
|
-
className: classes.showBg,
|
|
2036
|
-
d: "M-122,141.1c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.8,144.7-122,143-122,141.1z",
|
|
2037
|
-
__self: this,
|
|
2038
|
-
__source: {
|
|
2039
|
-
fileName: _jsxFileName$a,
|
|
2040
|
-
lineNumber: 71
|
|
2041
|
-
}
|
|
2042
|
-
}), React$b.createElement('path', {
|
|
2043
|
-
className: classes.showBg,
|
|
2044
|
-
d: "M-125.7,153h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.9,152.7-125.2,153-125.7,153z",
|
|
2045
|
-
__self: this,
|
|
2046
|
-
__source: {
|
|
2047
|
-
fileName: _jsxFileName$a,
|
|
2048
|
-
lineNumber: 75
|
|
2049
|
-
}
|
|
2050
|
-
}), React$b.createElement(Glint, {
|
|
2051
|
-
fill: classes.hideFg.fill,
|
|
2052
|
-
__self: this,
|
|
2053
|
-
__source: {
|
|
2054
|
-
fileName: _jsxFileName$a,
|
|
2055
|
-
lineNumber: 79
|
|
2056
|
-
}
|
|
2057
|
-
})));
|
|
2058
|
-
}
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
LearnMore.__initStatic();
|
|
2062
|
-
const styles$4 = {
|
|
2063
|
-
showBg: {
|
|
2064
|
-
fill: '#1a9cff'
|
|
2065
|
-
},
|
|
2066
|
-
hideFg: {
|
|
2067
|
-
fill: '#1a9cff'
|
|
2068
|
-
},
|
|
2069
|
-
hideBg: {
|
|
2070
|
-
fill: '#bce2ff'
|
|
2071
|
-
}
|
|
2072
|
-
};
|
|
2073
|
-
LearnMore.propTypes = {
|
|
2074
|
-
open: PropTypes$a.bool
|
|
2075
|
-
};
|
|
2076
|
-
LearnMore.defaultProps = {
|
|
2077
|
-
open: false
|
|
2078
|
-
};
|
|
2079
|
-
withStyles$a(styles$4)(LearnMore);
|
|
2080
|
-
const PropTypes$9 = _dll_prop_types;
|
|
2081
|
-
const React$a = _dll_react;
|
|
2082
|
-
const {withStyles: withStyles$9} = _dll_material_ui__core_styles;
|
|
2083
|
-
const _jsxFileName$9 = "/home/circleci/repo/node_modules/@pie-lib/icons/src/nothing-submitted-icon.jsx";
|
|
2084
|
-
const Exclamation = ({className}) => React$a.createElement('g', {
|
|
2085
|
-
__self: undefined,
|
|
2086
|
-
__source: {
|
|
2087
|
-
fileName: _jsxFileName$9,
|
|
2088
|
-
lineNumber: 8
|
|
2089
|
-
}
|
|
2090
|
-
}, React$a.createElement('rect', {
|
|
2091
|
-
x: "19.3",
|
|
2092
|
-
y: "10.3",
|
|
2093
|
-
className: className,
|
|
2094
|
-
width: "4.5",
|
|
2095
|
-
height: "12.7",
|
|
2096
|
-
__self: undefined,
|
|
2097
|
-
__source: {
|
|
2098
|
-
fileName: _jsxFileName$9,
|
|
2099
|
-
lineNumber: 9
|
|
2100
|
-
}
|
|
2101
|
-
}), React$a.createElement('rect', {
|
|
2102
|
-
x: "19.3",
|
|
2103
|
-
y: "26.2",
|
|
2104
|
-
className: className,
|
|
2105
|
-
width: "4.5",
|
|
2106
|
-
height: "4.5",
|
|
2107
|
-
__self: undefined,
|
|
2108
|
-
__source: {
|
|
2109
|
-
fileName: _jsxFileName$9,
|
|
2110
|
-
lineNumber: 10
|
|
2111
|
-
}
|
|
2112
|
-
}));
|
|
2113
|
-
const Octagon = ({className}) => React$a.createElement('polygon', {
|
|
2114
|
-
className: className,
|
|
2115
|
-
points: "14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5",
|
|
2116
|
-
__self: undefined,
|
|
2117
|
-
__source: {
|
|
2118
|
-
fileName: _jsxFileName$9,
|
|
2119
|
-
lineNumber: 15
|
|
2120
|
-
}
|
|
2121
|
-
});
|
|
2122
|
-
const Emoji$1 = ({className}) => React$a.createElement('g', {
|
|
2123
|
-
__self: undefined,
|
|
2124
|
-
__source: {
|
|
2125
|
-
fileName: _jsxFileName$9,
|
|
2126
|
-
lineNumber: 22
|
|
2127
|
-
}
|
|
2128
|
-
}, React$a.createElement('rect', {
|
|
2129
|
-
x: "23.8",
|
|
2130
|
-
y: "15",
|
|
2131
|
-
className: className,
|
|
2132
|
-
width: "3.5",
|
|
2133
|
-
height: "4.4",
|
|
2134
|
-
__self: undefined,
|
|
2135
|
-
__source: {
|
|
2136
|
-
fileName: _jsxFileName$9,
|
|
2137
|
-
lineNumber: 23
|
|
2138
|
-
}
|
|
2139
|
-
}), React$a.createElement('rect', {
|
|
2140
|
-
x: "16",
|
|
2141
|
-
y: "15",
|
|
2142
|
-
className: className,
|
|
2143
|
-
width: "3.5",
|
|
2144
|
-
height: "4.4",
|
|
2145
|
-
__self: undefined,
|
|
2146
|
-
__source: {
|
|
2147
|
-
fileName: _jsxFileName$9,
|
|
2148
|
-
lineNumber: 24
|
|
2149
|
-
}
|
|
2150
|
-
}), React$a.createElement('path', {
|
|
2151
|
-
className: className,
|
|
2152
|
-
d: "M24.2,27.1h-5.1c-0.8,0-1.5-0.7-1.5-1.5v0c0-0.8,0.7-1.5,1.5-1.5h5.1c0.8,0,1.5,0.7,1.5,1.5v0 C25.7,26.4,25,27.1,24.2,27.1z",
|
|
2153
|
-
__self: undefined,
|
|
2154
|
-
__source: {
|
|
2155
|
-
fileName: _jsxFileName$9,
|
|
2156
|
-
lineNumber: 25
|
|
2157
|
-
}
|
|
2158
|
-
}));
|
|
2159
|
-
Emoji$1.propTypes = Octagon.propTypes = Exclamation.propTypes = {
|
|
2160
|
-
className: PropTypes$9.string
|
|
2161
|
-
};
|
|
2162
|
-
const styles$3 = getStyles('nothing-submitted', 'white', '#464146');
|
|
2163
|
-
class NothingSubmitted extends React$a.Component {
|
|
2164
|
-
static __initStatic() {
|
|
2165
|
-
this.propTypes = {
|
|
2166
|
-
classes: PropTypes$9.object.isRequired
|
|
2167
|
-
};
|
|
2168
|
-
}
|
|
2169
|
-
constructor(props) {
|
|
2170
|
-
super(props);
|
|
2171
|
-
const {classes} = this.props;
|
|
2172
|
-
this.icons = {
|
|
2173
|
-
check: React$a.createElement(IconRoot, {
|
|
2174
|
-
__self: this,
|
|
2175
|
-
__source: {
|
|
2176
|
-
fileName: _jsxFileName$9,
|
|
2177
|
-
lineNumber: 48
|
|
2178
|
-
}
|
|
2179
|
-
}, React$a.createElement(Octagon, {
|
|
2180
|
-
className: classes.bg,
|
|
2181
|
-
__self: this,
|
|
2182
|
-
__source: {
|
|
2183
|
-
fileName: _jsxFileName$9,
|
|
2184
|
-
lineNumber: 49
|
|
2185
|
-
}
|
|
2186
|
-
}), React$a.createElement(Exclamation, {
|
|
2187
|
-
className: classes.fg,
|
|
2188
|
-
__self: this,
|
|
2189
|
-
__source: {
|
|
2190
|
-
fileName: _jsxFileName$9,
|
|
2191
|
-
lineNumber: 50
|
|
2192
|
-
}
|
|
2193
|
-
})),
|
|
2194
|
-
emoji: React$a.createElement(IconRoot, {
|
|
2195
|
-
__self: this,
|
|
2196
|
-
__source: {
|
|
2197
|
-
fileName: _jsxFileName$9,
|
|
2198
|
-
lineNumber: 54
|
|
2199
|
-
}
|
|
2200
|
-
}, React$a.createElement(Octagon, {
|
|
2201
|
-
className: classes.bg,
|
|
2202
|
-
__self: this,
|
|
2203
|
-
__source: {
|
|
2204
|
-
fileName: _jsxFileName$9,
|
|
2205
|
-
lineNumber: 55
|
|
2206
|
-
}
|
|
2207
|
-
}), React$a.createElement(Emoji$1, {
|
|
2208
|
-
className: classes.fg,
|
|
2209
|
-
__self: this,
|
|
2210
|
-
__source: {
|
|
2211
|
-
fileName: _jsxFileName$9,
|
|
2212
|
-
lineNumber: 56
|
|
2213
|
-
}
|
|
2214
|
-
})),
|
|
2215
|
-
feedback: {
|
|
2216
|
-
check: React$a.createElement(IconRoot, {
|
|
2217
|
-
__self: this,
|
|
2218
|
-
__source: {
|
|
2219
|
-
fileName: _jsxFileName$9,
|
|
2220
|
-
lineNumber: 61
|
|
2221
|
-
}
|
|
2222
|
-
}, React$a.createElement(Octagon, {
|
|
2223
|
-
className: classes.bg,
|
|
2224
|
-
__self: this,
|
|
2225
|
-
__source: {
|
|
2226
|
-
fileName: _jsxFileName$9,
|
|
2227
|
-
lineNumber: 62
|
|
2228
|
-
}
|
|
2229
|
-
}), React$a.createElement(Emoji$1, {
|
|
2230
|
-
className: classes.fg,
|
|
2231
|
-
__self: this,
|
|
2232
|
-
__source: {
|
|
2233
|
-
fileName: _jsxFileName$9,
|
|
2234
|
-
lineNumber: 63
|
|
2235
|
-
}
|
|
2236
|
-
})),
|
|
2237
|
-
emoji: React$a.createElement(IconRoot, {
|
|
2238
|
-
__self: this,
|
|
2239
|
-
__source: {
|
|
2240
|
-
fileName: _jsxFileName$9,
|
|
2241
|
-
lineNumber: 67
|
|
2242
|
-
}
|
|
2243
|
-
}, React$a.createElement(Octagon, {
|
|
2244
|
-
className: classes.bg,
|
|
2245
|
-
__self: this,
|
|
2246
|
-
__source: {
|
|
2247
|
-
fileName: _jsxFileName$9,
|
|
2248
|
-
lineNumber: 68
|
|
2249
|
-
}
|
|
2250
|
-
}), React$a.createElement(Emoji$1, {
|
|
2251
|
-
className: classes.fg,
|
|
2252
|
-
__self: this,
|
|
2253
|
-
__source: {
|
|
2254
|
-
fileName: _jsxFileName$9,
|
|
2255
|
-
lineNumber: 69
|
|
2256
|
-
}
|
|
2257
|
-
})),
|
|
2258
|
-
square: {
|
|
2259
|
-
check: React$a.createElement(IconRoot, {
|
|
2260
|
-
__self: this,
|
|
2261
|
-
__source: {
|
|
2262
|
-
fileName: _jsxFileName$9,
|
|
2263
|
-
lineNumber: 74
|
|
2264
|
-
}
|
|
2265
|
-
}, React$a.createElement(Octagon, {
|
|
2266
|
-
className: classes.bg,
|
|
2267
|
-
__self: this,
|
|
2268
|
-
__source: {
|
|
2269
|
-
fileName: _jsxFileName$9,
|
|
2270
|
-
lineNumber: 75
|
|
2271
|
-
}
|
|
2272
|
-
}), React$a.createElement(Exclamation, {
|
|
2273
|
-
className: classes.fg,
|
|
2274
|
-
__self: this,
|
|
2275
|
-
__source: {
|
|
2276
|
-
fileName: _jsxFileName$9,
|
|
2277
|
-
lineNumber: 76
|
|
2278
|
-
}
|
|
2279
|
-
})),
|
|
2280
|
-
emoji: React$a.createElement(IconRoot, {
|
|
2281
|
-
__self: this,
|
|
2282
|
-
__source: {
|
|
2283
|
-
fileName: _jsxFileName$9,
|
|
2284
|
-
lineNumber: 80
|
|
2285
|
-
}
|
|
2286
|
-
}, React$a.createElement(Octagon, {
|
|
2287
|
-
className: classes.bg,
|
|
2288
|
-
__self: this,
|
|
2289
|
-
__source: {
|
|
2290
|
-
fileName: _jsxFileName$9,
|
|
2291
|
-
lineNumber: 81
|
|
2292
|
-
}
|
|
2293
|
-
}), React$a.createElement(Emoji$1, {
|
|
2294
|
-
className: classes.fg,
|
|
2295
|
-
__self: this,
|
|
2296
|
-
__source: {
|
|
2297
|
-
fileName: _jsxFileName$9,
|
|
2298
|
-
lineNumber: 82
|
|
2299
|
-
}
|
|
2300
|
-
})),
|
|
2301
|
-
open: {
|
|
2302
|
-
check: React$a.createElement(IconRoot, {
|
|
2303
|
-
__self: this,
|
|
2304
|
-
__source: {
|
|
2305
|
-
fileName: _jsxFileName$9,
|
|
2306
|
-
lineNumber: 87
|
|
2307
|
-
}
|
|
2308
|
-
}, React$a.createElement(Exclamation, {
|
|
2309
|
-
className: classes.bg,
|
|
2310
|
-
__self: this,
|
|
2311
|
-
__source: {
|
|
2312
|
-
fileName: _jsxFileName$9,
|
|
2313
|
-
lineNumber: 88
|
|
2314
|
-
}
|
|
2315
|
-
})),
|
|
2316
|
-
emoji: React$a.createElement(IconRoot, {
|
|
2317
|
-
__self: this,
|
|
2318
|
-
__source: {
|
|
2319
|
-
fileName: _jsxFileName$9,
|
|
2320
|
-
lineNumber: 92
|
|
2321
|
-
}
|
|
2322
|
-
}, React$a.createElement(Emoji$1, {
|
|
2323
|
-
className: classes.bg,
|
|
2324
|
-
__self: this,
|
|
2325
|
-
__source: {
|
|
2326
|
-
fileName: _jsxFileName$9,
|
|
2327
|
-
lineNumber: 93
|
|
2328
|
-
}
|
|
2329
|
-
}))
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
}
|
|
2333
|
-
};
|
|
2334
|
-
}
|
|
2335
|
-
render() {
|
|
2336
|
-
if (this.props.category === undefined) {
|
|
2337
|
-
return this.icons[this.props.iconSet];
|
|
2338
|
-
} else {
|
|
2339
|
-
if (this.props.shape === undefined) {
|
|
2340
|
-
return this.icons.feedback[this.props.iconSet];
|
|
2341
|
-
} else {
|
|
2342
|
-
if (this.props.open === true) {
|
|
2343
|
-
return this.icons.feedback.square.open[this.props.iconSet];
|
|
2344
|
-
} else {
|
|
2345
|
-
return this.icons.feedback.square[this.props.iconSet];
|
|
2346
|
-
}
|
|
2347
|
-
}
|
|
2348
|
-
}
|
|
2349
|
-
}
|
|
2350
|
-
}
|
|
2351
|
-
NothingSubmitted.__initStatic();
|
|
2352
|
-
NothingSubmitted.propTypes = {
|
|
2353
|
-
iconSet: PropTypes$9.oneOf(['emoji', 'check', undefined]),
|
|
2354
|
-
shape: PropTypes$9.oneOf(['square', undefined]),
|
|
2355
|
-
category: PropTypes$9.oneOf(['feedback', undefined]),
|
|
2356
|
-
open: PropTypes$9.bool
|
|
2357
|
-
};
|
|
2358
|
-
NothingSubmitted.defaultProps = {
|
|
2359
|
-
iconSet: 'check',
|
|
2360
|
-
shape: undefined,
|
|
2361
|
-
category: undefined,
|
|
2362
|
-
open: false
|
|
2363
|
-
};
|
|
2364
|
-
withStyles$9(styles$3)(NothingSubmitted);
|
|
2365
|
-
const PropTypes$8 = _dll_prop_types;
|
|
2366
|
-
const React$9 = _dll_react;
|
|
2367
|
-
const {withStyles: withStyles$8} = _dll_material_ui__core_styles;
|
|
2368
|
-
const _jsxFileName$8 = "/home/circleci/repo/node_modules/@pie-lib/icons/src/partially-correct-icon.jsx";
|
|
2369
|
-
const styles$2 = getStyles('partially-correct', '#4aaf46', '#c1e1ac');
|
|
2370
|
-
const Check = ({className}) => React$9.createElement('g', {
|
|
2371
|
-
transform: 'translate(0, 0)',
|
|
2372
|
-
__self: undefined,
|
|
2373
|
-
__source: {
|
|
2374
|
-
fileName: _jsxFileName$8,
|
|
2375
|
-
lineNumber: 10
|
|
2376
|
-
}
|
|
2377
|
-
}, React$9.createElement('polygon', {
|
|
2378
|
-
className: className,
|
|
2379
|
-
points: "27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6",
|
|
2380
|
-
__self: undefined,
|
|
2381
|
-
__source: {
|
|
2382
|
-
fileName: _jsxFileName$8,
|
|
2383
|
-
lineNumber: 11
|
|
2384
|
-
}
|
|
2385
|
-
}), React$9.createElement('polygon', {
|
|
2386
|
-
className: className,
|
|
2387
|
-
points: "16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3",
|
|
2388
|
-
__self: undefined,
|
|
2389
|
-
__source: {
|
|
2390
|
-
fileName: _jsxFileName$8,
|
|
2391
|
-
lineNumber: 12
|
|
2392
|
-
}
|
|
2393
|
-
}));
|
|
2394
|
-
const Emoji = ({className}) => React$9.createElement('g', {
|
|
2395
|
-
transform: 'translate(2, 0)',
|
|
2396
|
-
__self: undefined,
|
|
2397
|
-
__source: {
|
|
2398
|
-
fileName: _jsxFileName$8,
|
|
2399
|
-
lineNumber: 17
|
|
2400
|
-
}
|
|
2401
|
-
}, React$9.createElement('rect', {
|
|
2402
|
-
x: "20.6",
|
|
2403
|
-
y: "11.8",
|
|
2404
|
-
className: className,
|
|
2405
|
-
width: "4",
|
|
2406
|
-
height: "5",
|
|
2407
|
-
__self: undefined,
|
|
2408
|
-
__source: {
|
|
2409
|
-
fileName: _jsxFileName$8,
|
|
2410
|
-
lineNumber: 18
|
|
2411
|
-
}
|
|
2412
|
-
}), React$9.createElement('rect', {
|
|
2413
|
-
x: "11.5",
|
|
2414
|
-
y: "11.8",
|
|
2415
|
-
className: className,
|
|
2416
|
-
width: "4",
|
|
2417
|
-
height: "5",
|
|
2418
|
-
__self: undefined,
|
|
2419
|
-
__source: {
|
|
2420
|
-
fileName: _jsxFileName$8,
|
|
2421
|
-
lineNumber: 19
|
|
2422
|
-
}
|
|
2423
|
-
}), React$9.createElement('rect', {
|
|
2424
|
-
x: "10.9",
|
|
2425
|
-
y: "22.9",
|
|
2426
|
-
transform: "matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)",
|
|
2427
|
-
className: className,
|
|
2428
|
-
width: "14.3",
|
|
2429
|
-
height: "3.7",
|
|
2430
|
-
__self: undefined,
|
|
2431
|
-
__source: {
|
|
2432
|
-
fileName: _jsxFileName$8,
|
|
2433
|
-
lineNumber: 20
|
|
2434
|
-
}
|
|
2435
|
-
}));
|
|
2436
|
-
Emoji.propTypes = Check.propTypes = {
|
|
2437
|
-
className: PropTypes$8.string
|
|
2438
|
-
};
|
|
2439
|
-
const PartiallyCorrect = IconBase(Check, Emoji);
|
|
2440
|
-
PartiallyCorrect.propTypes = {
|
|
2441
|
-
iconSet: PropTypes$8.oneOf(['emoji', 'check']),
|
|
2442
|
-
shape: PropTypes$8.oneOf(['round', 'square']),
|
|
2443
|
-
category: PropTypes$8.oneOf(['feedback', undefined]),
|
|
2444
|
-
open: PropTypes$8.bool
|
|
2445
|
-
};
|
|
2446
|
-
PartiallyCorrect.defaultProps = {
|
|
2447
|
-
iconSet: 'check',
|
|
2448
|
-
shape: 'round',
|
|
2449
|
-
category: undefined,
|
|
2450
|
-
open: false
|
|
2451
|
-
};
|
|
2452
|
-
withStyles$8(styles$2)(PartiallyCorrect);
|
|
2453
|
-
const PropTypes$7 = _dll_prop_types;
|
|
2454
|
-
const React$8 = _dll_react;
|
|
2455
|
-
const {withStyles: withStyles$7} = _dll_material_ui__core_styles;
|
|
2456
|
-
const _jsxFileName$7 = "/home/circleci/repo/node_modules/@pie-lib/icons/src/show-rationale-icon.jsx";
|
|
2457
|
-
const Info = ({fg}) => React$8.createElement('g', {
|
|
2458
|
-
__self: undefined,
|
|
2459
|
-
__source: {
|
|
2460
|
-
fileName: _jsxFileName$7,
|
|
2461
|
-
lineNumber: 7
|
|
2462
|
-
}
|
|
2463
|
-
}, React$8.createElement('rect', {
|
|
2464
|
-
x: "-115",
|
|
2465
|
-
y: "136.7",
|
|
2466
|
-
className: fg,
|
|
2467
|
-
width: "3",
|
|
2468
|
-
height: "3",
|
|
2469
|
-
__self: undefined,
|
|
2470
|
-
__source: {
|
|
2471
|
-
fileName: _jsxFileName$7,
|
|
2472
|
-
lineNumber: 8
|
|
2473
|
-
}
|
|
2474
|
-
}), React$8.createElement('polygon', {
|
|
2475
|
-
className: fg,
|
|
2476
|
-
points: "-112,147.7 -112,141.7 -115.8,141.7 -115.8,143.7 -114,143.7 -114,147.7 -116.2,147.7 -116.2,149.7 -109.8,149.7 -109.8,147.7",
|
|
2477
|
-
__self: undefined,
|
|
2478
|
-
__source: {
|
|
2479
|
-
fileName: _jsxFileName$7,
|
|
2480
|
-
lineNumber: 9
|
|
2481
|
-
}
|
|
2482
|
-
}));
|
|
2483
|
-
Info.propTypes = {
|
|
2484
|
-
fg: PropTypes$7.string
|
|
2485
|
-
};
|
|
2486
|
-
const Border = ({className}) => React$8.createElement('path', {
|
|
2487
|
-
className: className,
|
|
2488
|
-
d: "M-113,158.5c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105,158.5-113,158.5zM-113,130.5c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-105.6,130.5-113,130.5z",
|
|
2489
|
-
__self: undefined,
|
|
2490
|
-
__source: {
|
|
2491
|
-
fileName: _jsxFileName$7,
|
|
2492
|
-
lineNumber: 21
|
|
2493
|
-
}
|
|
2494
|
-
});
|
|
2495
|
-
Border.propTypes = {
|
|
2496
|
-
className: PropTypes$7.string
|
|
2497
|
-
};
|
|
2498
|
-
const Circle = () => React$8.createElement('g', {
|
|
2499
|
-
__self: undefined,
|
|
2500
|
-
__source: {
|
|
2501
|
-
fileName: _jsxFileName$7,
|
|
2502
|
-
lineNumber: 30
|
|
2503
|
-
}
|
|
2504
|
-
}, React$8.createElement('path', {
|
|
2505
|
-
style: {
|
|
2506
|
-
fill: '#D0CAC5',
|
|
2507
|
-
stroke: '#E6E3E0',
|
|
2508
|
-
strokeWidth: 0.75,
|
|
2509
|
-
strokeMiterlimit: 10
|
|
2510
|
-
},
|
|
2511
|
-
d: "M-111.7,160.9c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5C-96.2,154-103.1,160.9-111.7,160.9z",
|
|
2512
|
-
__self: undefined,
|
|
2513
|
-
__source: {
|
|
2514
|
-
fileName: _jsxFileName$7,
|
|
2515
|
-
lineNumber: 31
|
|
2516
|
-
}
|
|
2517
|
-
}), React$8.createElement('path', {
|
|
2518
|
-
style: {
|
|
2519
|
-
fill: '#B3ABA4',
|
|
2520
|
-
stroke: '#CDC7C2',
|
|
2521
|
-
strokeWidth: 0.5,
|
|
2522
|
-
strokeMiterlimit: 10
|
|
2523
|
-
},
|
|
2524
|
-
d: "M-112,159.5c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-104,159.5-112,159.5z",
|
|
2525
|
-
__self: undefined,
|
|
2526
|
-
__source: {
|
|
2527
|
-
fileName: _jsxFileName$7,
|
|
2528
|
-
lineNumber: 40
|
|
2529
|
-
}
|
|
2530
|
-
}), React$8.createElement('circle', {
|
|
2531
|
-
style: {
|
|
2532
|
-
fill: '#FFFFFF'
|
|
2533
|
-
},
|
|
2534
|
-
cx: "-113",
|
|
2535
|
-
cy: "144",
|
|
2536
|
-
r: "14",
|
|
2537
|
-
__self: undefined,
|
|
2538
|
-
__source: {
|
|
2539
|
-
fileName: _jsxFileName$7,
|
|
2540
|
-
lineNumber: 49
|
|
2541
|
-
}
|
|
2542
|
-
}));
|
|
2543
|
-
const Root$1 = ({children, size}) => {
|
|
2544
|
-
size = normalizeSize(size);
|
|
2545
|
-
const style = {
|
|
2546
|
-
height: size,
|
|
2547
|
-
width: size,
|
|
2548
|
-
display: 'inline-block',
|
|
2549
|
-
position: 'relative'
|
|
2550
|
-
};
|
|
2551
|
-
return React$8.createElement('div', {
|
|
2552
|
-
style: style,
|
|
2553
|
-
__self: undefined,
|
|
2554
|
-
__source: {
|
|
2555
|
-
fileName: _jsxFileName$7,
|
|
2556
|
-
lineNumber: 63
|
|
2557
|
-
}
|
|
2558
|
-
}, React$8.createElement('svg', {
|
|
2559
|
-
preserveAspectRatio: "xMinYMin meet",
|
|
2560
|
-
viewBox: "-129 128 34 34",
|
|
2561
|
-
__self: undefined,
|
|
2562
|
-
__source: {
|
|
2563
|
-
fileName: _jsxFileName$7,
|
|
2564
|
-
lineNumber: 64
|
|
2565
|
-
}
|
|
2566
|
-
}, children));
|
|
2567
|
-
};
|
|
2568
|
-
Root$1.propTypes = {
|
|
2569
|
-
children: PropTypes$7.oneOfType([PropTypes$7.arrayOf(PropTypes$7.node), PropTypes$7.node]).isRequired,
|
|
2570
|
-
size: PropTypes$7.number
|
|
2571
|
-
};
|
|
2572
|
-
const styles$1 = {
|
|
2573
|
-
fg: {
|
|
2574
|
-
fill: '#1a9cff'
|
|
2575
|
-
},
|
|
2576
|
-
bg: {
|
|
2577
|
-
fill: '#bce2ff'
|
|
2578
|
-
},
|
|
2579
|
-
border: {
|
|
2580
|
-
fill: '#bbe3fd'
|
|
2581
|
-
},
|
|
2582
|
-
whiteBorder: {
|
|
2583
|
-
fill: 'white'
|
|
2584
|
-
}
|
|
2585
|
-
};
|
|
2586
|
-
class ShowRationale extends React$8.Component {
|
|
2587
|
-
static __initStatic() {
|
|
2588
|
-
this.propTypes = {
|
|
2589
|
-
classes: PropTypes$7.object.isRequired
|
|
2590
|
-
};
|
|
2591
|
-
}
|
|
2592
|
-
constructor(props) {
|
|
2593
|
-
super(props);
|
|
2594
|
-
}
|
|
2595
|
-
render() {
|
|
2596
|
-
const {classes} = this.props;
|
|
2597
|
-
const info = React$8.createElement(Info, {
|
|
2598
|
-
fg: classes.fg,
|
|
2599
|
-
__self: this,
|
|
2600
|
-
__source: {
|
|
2601
|
-
fileName: _jsxFileName$7,
|
|
2602
|
-
lineNumber: 102
|
|
2603
|
-
}
|
|
2604
|
-
});
|
|
2605
|
-
const icons = {
|
|
2606
|
-
check: React$8.createElement(Root$1, {
|
|
2607
|
-
__self: this,
|
|
2608
|
-
__source: {
|
|
2609
|
-
fileName: _jsxFileName$7,
|
|
2610
|
-
lineNumber: 105
|
|
2611
|
-
}
|
|
2612
|
-
}, React$8.createElement(Circle, {
|
|
2613
|
-
__self: this,
|
|
2614
|
-
__source: {
|
|
2615
|
-
fileName: _jsxFileName$7,
|
|
2616
|
-
lineNumber: 106
|
|
2617
|
-
}
|
|
2618
|
-
}), info, React$8.createElement(Border, {
|
|
2619
|
-
className: classes.border,
|
|
2620
|
-
__self: this,
|
|
2621
|
-
__source: {
|
|
2622
|
-
fileName: _jsxFileName$7,
|
|
2623
|
-
lineNumber: 108
|
|
2624
|
-
}
|
|
2625
|
-
})),
|
|
2626
|
-
emoji: React$8.createElement(Root$1, {
|
|
2627
|
-
__self: this,
|
|
2628
|
-
__source: {
|
|
2629
|
-
fileName: _jsxFileName$7,
|
|
2630
|
-
lineNumber: 112
|
|
2631
|
-
}
|
|
2632
|
-
}, React$8.createElement(Circle, {
|
|
2633
|
-
__self: this,
|
|
2634
|
-
__source: {
|
|
2635
|
-
fileName: _jsxFileName$7,
|
|
2636
|
-
lineNumber: 113
|
|
2637
|
-
}
|
|
2638
|
-
}), info, React$8.createElement(Border, {
|
|
2639
|
-
className: classes.border,
|
|
2640
|
-
__self: this,
|
|
2641
|
-
__source: {
|
|
2642
|
-
fileName: _jsxFileName$7,
|
|
2643
|
-
lineNumber: 115
|
|
2644
|
-
}
|
|
2645
|
-
})),
|
|
2646
|
-
open: {
|
|
2647
|
-
check: React$8.createElement(Root$1, {
|
|
2648
|
-
__self: this,
|
|
2649
|
-
__source: {
|
|
2650
|
-
fileName: _jsxFileName$7,
|
|
2651
|
-
lineNumber: 120
|
|
2652
|
-
}
|
|
2653
|
-
}, React$8.createElement('circle', {
|
|
2654
|
-
style: {
|
|
2655
|
-
fill: '#FFFFFF'
|
|
2656
|
-
},
|
|
2657
|
-
cx: "-113",
|
|
2658
|
-
cy: "144",
|
|
2659
|
-
r: "14",
|
|
2660
|
-
__self: this,
|
|
2661
|
-
__source: {
|
|
2662
|
-
fileName: _jsxFileName$7,
|
|
2663
|
-
lineNumber: 121
|
|
2664
|
-
}
|
|
2665
|
-
}), React$8.createElement(Info, {
|
|
2666
|
-
fg: classes.bg,
|
|
2667
|
-
border: classes.whiteBorder,
|
|
2668
|
-
__self: this,
|
|
2669
|
-
__source: {
|
|
2670
|
-
fileName: _jsxFileName$7,
|
|
2671
|
-
lineNumber: 122
|
|
2672
|
-
}
|
|
2673
|
-
})),
|
|
2674
|
-
emoji: React$8.createElement(Root$1, {
|
|
2675
|
-
__self: this,
|
|
2676
|
-
__source: {
|
|
2677
|
-
fileName: _jsxFileName$7,
|
|
2678
|
-
lineNumber: 126
|
|
2679
|
-
}
|
|
2680
|
-
}, React$8.createElement('circle', {
|
|
2681
|
-
style: {
|
|
2682
|
-
fill: '#FFFFFF'
|
|
2683
|
-
},
|
|
2684
|
-
cx: "-113",
|
|
2685
|
-
cy: "144",
|
|
2686
|
-
r: "14",
|
|
2687
|
-
__self: this,
|
|
2688
|
-
__source: {
|
|
2689
|
-
fileName: _jsxFileName$7,
|
|
2690
|
-
lineNumber: 127
|
|
2691
|
-
}
|
|
2692
|
-
}), React$8.createElement(Info, {
|
|
2693
|
-
fg: classes.bg,
|
|
2694
|
-
border: classes.border,
|
|
2695
|
-
__self: this,
|
|
2696
|
-
__source: {
|
|
2697
|
-
fileName: _jsxFileName$7,
|
|
2698
|
-
lineNumber: 128
|
|
2699
|
-
}
|
|
2700
|
-
}))
|
|
2701
|
-
}
|
|
2702
|
-
};
|
|
2703
|
-
if (this.props.open === true) {
|
|
2704
|
-
return icons.open[this.props.iconSet];
|
|
2705
|
-
} else {
|
|
2706
|
-
return icons[this.props.iconSet];
|
|
2707
|
-
}
|
|
2708
|
-
}
|
|
2709
|
-
}
|
|
2710
|
-
ShowRationale.__initStatic();
|
|
2711
|
-
ShowRationale.propTypes = {
|
|
2712
|
-
iconSet: PropTypes$7.oneOf(['emoji', 'check']),
|
|
2713
|
-
open: PropTypes$7.bool
|
|
2714
|
-
};
|
|
2715
|
-
ShowRationale.defaultProps = {
|
|
2716
|
-
iconSet: 'check',
|
|
2717
|
-
open: false
|
|
2718
|
-
};
|
|
2719
|
-
withStyles$7(styles$1)(ShowRationale);
|
|
2720
|
-
var ReplaceTransition = {
|
|
2721
|
-
exports: {}
|
|
2722
|
-
};
|
|
2723
|
-
var TransitionGroup = {
|
|
2724
|
-
exports: {}
|
|
2725
|
-
};
|
|
2726
|
-
var ChildMapping = {};
|
|
2727
|
-
const require$$0$2 = _dll_react;
|
|
2728
|
-
ChildMapping.__esModule = true;
|
|
2729
|
-
ChildMapping.getChildMapping = getChildMapping;
|
|
2730
|
-
ChildMapping.mergeChildMappings = mergeChildMappings;
|
|
2731
|
-
ChildMapping.getInitialChildMapping = getInitialChildMapping;
|
|
2732
|
-
ChildMapping.getNextChildMapping = getNextChildMapping;
|
|
2733
|
-
var _react = require$$0$2;
|
|
2734
|
-
function getChildMapping(children, mapFn) {
|
|
2735
|
-
var mapper = function mapper(child) {
|
|
2736
|
-
return mapFn && (0, _react.isValidElement)(child) ? mapFn(child) : child;
|
|
2737
|
-
};
|
|
2738
|
-
var result = Object.create(null);
|
|
2739
|
-
if (children) _react.Children.map(children, function (c) {
|
|
2740
|
-
return c;
|
|
2741
|
-
}).forEach(function (child) {
|
|
2742
|
-
result[child.key] = mapper(child);
|
|
2743
|
-
});
|
|
2744
|
-
return result;
|
|
2745
|
-
}
|
|
2746
|
-
function mergeChildMappings(prev, next) {
|
|
2747
|
-
prev = prev || ({});
|
|
2748
|
-
next = next || ({});
|
|
2749
|
-
function getValueForKey(key) {
|
|
2750
|
-
return (key in next) ? next[key] : prev[key];
|
|
2751
|
-
}
|
|
2752
|
-
var nextKeysPending = Object.create(null);
|
|
2753
|
-
var pendingKeys = [];
|
|
2754
|
-
for (var prevKey in prev) {
|
|
2755
|
-
if ((prevKey in next)) {
|
|
2756
|
-
if (pendingKeys.length) {
|
|
2757
|
-
nextKeysPending[prevKey] = pendingKeys;
|
|
2758
|
-
pendingKeys = [];
|
|
2759
|
-
}
|
|
2760
|
-
} else {
|
|
2761
|
-
pendingKeys.push(prevKey);
|
|
2762
|
-
}
|
|
2763
|
-
}
|
|
2764
|
-
var i;
|
|
2765
|
-
var childMapping = {};
|
|
2766
|
-
for (var nextKey in next) {
|
|
2767
|
-
if (nextKeysPending[nextKey]) {
|
|
2768
|
-
for (i = 0; i < nextKeysPending[nextKey].length; i++) {
|
|
2769
|
-
var pendingNextKey = nextKeysPending[nextKey][i];
|
|
2770
|
-
childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);
|
|
2771
|
-
}
|
|
2772
|
-
}
|
|
2773
|
-
childMapping[nextKey] = getValueForKey(nextKey);
|
|
2774
|
-
}
|
|
2775
|
-
for (i = 0; i < pendingKeys.length; i++) {
|
|
2776
|
-
childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);
|
|
2777
|
-
}
|
|
2778
|
-
return childMapping;
|
|
2779
|
-
}
|
|
2780
|
-
function getProp(child, prop, props) {
|
|
2781
|
-
return props[prop] != null ? props[prop] : child.props[prop];
|
|
2782
|
-
}
|
|
2783
|
-
function getInitialChildMapping(props, onExited) {
|
|
2784
|
-
return getChildMapping(props.children, function (child) {
|
|
2785
|
-
return (0, _react.cloneElement)(child, {
|
|
2786
|
-
onExited: onExited.bind(null, child),
|
|
2787
|
-
in: true,
|
|
2788
|
-
appear: getProp(child, 'appear', props),
|
|
2789
|
-
enter: getProp(child, 'enter', props),
|
|
2790
|
-
exit: getProp(child, 'exit', props)
|
|
2791
|
-
});
|
|
2792
|
-
});
|
|
2793
|
-
}
|
|
2794
|
-
function getNextChildMapping(nextProps, prevChildMapping, onExited) {
|
|
2795
|
-
var nextChildMapping = getChildMapping(nextProps.children);
|
|
2796
|
-
var children = mergeChildMappings(prevChildMapping, nextChildMapping);
|
|
2797
|
-
Object.keys(children).forEach(function (key) {
|
|
2798
|
-
var child = children[key];
|
|
2799
|
-
if (!(0, _react.isValidElement)(child)) return;
|
|
2800
|
-
var hasPrev = (key in prevChildMapping);
|
|
2801
|
-
var hasNext = (key in nextChildMapping);
|
|
2802
|
-
var prevChild = prevChildMapping[key];
|
|
2803
|
-
var isLeaving = (0, _react.isValidElement)(prevChild) && !prevChild.props.in;
|
|
2804
|
-
if (hasNext && (!hasPrev || isLeaving)) {
|
|
2805
|
-
children[key] = (0, _react.cloneElement)(child, {
|
|
2806
|
-
onExited: onExited.bind(null, child),
|
|
2807
|
-
in: true,
|
|
2808
|
-
exit: getProp(child, 'exit', nextProps),
|
|
2809
|
-
enter: getProp(child, 'enter', nextProps)
|
|
2810
|
-
});
|
|
2811
|
-
} else if (!hasNext && hasPrev && !isLeaving) {
|
|
2812
|
-
children[key] = (0, _react.cloneElement)(child, {
|
|
2813
|
-
in: false
|
|
2814
|
-
});
|
|
2815
|
-
} else if (hasNext && hasPrev && (0, _react.isValidElement)(prevChild)) {
|
|
2816
|
-
children[key] = (0, _react.cloneElement)(child, {
|
|
2817
|
-
onExited: onExited.bind(null, child),
|
|
2818
|
-
in: prevChild.props.in,
|
|
2819
|
-
exit: getProp(child, 'exit', nextProps),
|
|
2820
|
-
enter: getProp(child, 'enter', nextProps)
|
|
2821
|
-
});
|
|
2822
|
-
}
|
|
2823
|
-
});
|
|
2824
|
-
return children;
|
|
2825
|
-
}
|
|
2826
|
-
const require$$0$1 = _dll_prop_types;
|
|
2827
|
-
const require$$1$1 = _dll_react;
|
|
2828
|
-
(function (module, exports) {
|
|
2829
|
-
exports.__esModule = true;
|
|
2830
|
-
exports.default = void 0;
|
|
2831
|
-
var _propTypes = _interopRequireDefault(require$$0$1);
|
|
2832
|
-
var _react = _interopRequireDefault(require$$1$1);
|
|
2833
|
-
var _reactLifecyclesCompat = require$$2$2;
|
|
2834
|
-
var _ChildMapping = ChildMapping;
|
|
2835
|
-
function _interopRequireDefault(obj) {
|
|
2836
|
-
return obj && obj.__esModule ? obj : {
|
|
2837
|
-
default: obj
|
|
2838
|
-
};
|
|
2839
|
-
}
|
|
2840
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
2841
|
-
if (source == null) return {};
|
|
2842
|
-
var target = {};
|
|
2843
|
-
var sourceKeys = Object.keys(source);
|
|
2844
|
-
var key, i;
|
|
2845
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
2846
|
-
key = sourceKeys[i];
|
|
2847
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
2848
|
-
target[key] = source[key];
|
|
2849
|
-
}
|
|
2850
|
-
return target;
|
|
2851
|
-
}
|
|
2852
|
-
function _extends() {
|
|
2853
|
-
_extends = Object.assign || (function (target) {
|
|
2854
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
2855
|
-
var source = arguments[i];
|
|
2856
|
-
for (var key in source) {
|
|
2857
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2858
|
-
target[key] = source[key];
|
|
2859
|
-
}
|
|
2860
|
-
}
|
|
2861
|
-
}
|
|
2862
|
-
return target;
|
|
2863
|
-
});
|
|
2864
|
-
return _extends.apply(this, arguments);
|
|
2865
|
-
}
|
|
2866
|
-
function _inheritsLoose(subClass, superClass) {
|
|
2867
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
2868
|
-
subClass.prototype.constructor = subClass;
|
|
2869
|
-
subClass.__proto__ = superClass;
|
|
2870
|
-
}
|
|
2871
|
-
function _assertThisInitialized(self) {
|
|
2872
|
-
if (self === void 0) {
|
|
2873
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2874
|
-
}
|
|
2875
|
-
return self;
|
|
850
|
+
function _assertThisInitialized(self) {
|
|
851
|
+
if (self === void 0) {
|
|
852
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
853
|
+
}
|
|
854
|
+
return self;
|
|
2876
855
|
}
|
|
2877
856
|
var values = Object.values || (function (obj) {
|
|
2878
857
|
return Object.keys(obj).map(function (k) {
|
|
@@ -3086,7 +1065,7 @@ const require$$2 = _dll_react_dom;
|
|
|
3086
1065
|
module.exports = exports["default"];
|
|
3087
1066
|
})(ReplaceTransition, ReplaceTransition.exports);
|
|
3088
1067
|
getDefaultExportFromCjs(ReplaceTransition.exports);
|
|
3089
|
-
var _CSSTransition = _interopRequireDefault(CSSTransition
|
|
1068
|
+
var _CSSTransition = _interopRequireDefault(CSSTransition.exports);
|
|
3090
1069
|
var _ReplaceTransition = _interopRequireDefault(ReplaceTransition.exports);
|
|
3091
1070
|
var _TransitionGroup = _interopRequireDefault(TransitionGroup.exports);
|
|
3092
1071
|
var _Transition = _interopRequireDefault(Transition$1);
|
|
@@ -3101,207 +1080,6 @@ var reactTransitionGroup = {
|
|
|
3101
1080
|
ReplaceTransition: _ReplaceTransition.default,
|
|
3102
1081
|
CSSTransition: _CSSTransition.default
|
|
3103
1082
|
};
|
|
3104
|
-
const React$7 = _dll_react;
|
|
3105
|
-
const PropTypes$6 = _dll_prop_types;
|
|
3106
|
-
const {withStyles: withStyles$6} = _dll_material_ui__core_styles;
|
|
3107
|
-
const _jsxFileName$6 = "/home/circleci/repo/node_modules/@pie-lib/correct-answer-toggle/src/expander.jsx";
|
|
3108
|
-
const Expander = props => {
|
|
3109
|
-
const {classes, show, children} = props;
|
|
3110
|
-
return React$7.createElement(reactTransitionGroup.CSSTransition, {
|
|
3111
|
-
in: show,
|
|
3112
|
-
appear: true,
|
|
3113
|
-
mountOnEnter: false,
|
|
3114
|
-
timeout: 300,
|
|
3115
|
-
classNames: {
|
|
3116
|
-
...classes
|
|
3117
|
-
},
|
|
3118
|
-
__self: undefined,
|
|
3119
|
-
__source: {
|
|
3120
|
-
fileName: _jsxFileName$6,
|
|
3121
|
-
lineNumber: 10
|
|
3122
|
-
}
|
|
3123
|
-
}, React$7.createElement('div', {
|
|
3124
|
-
className: classes.expander,
|
|
3125
|
-
__self: undefined,
|
|
3126
|
-
__source: {
|
|
3127
|
-
fileName: _jsxFileName$6,
|
|
3128
|
-
lineNumber: 17
|
|
3129
|
-
}
|
|
3130
|
-
}, children));
|
|
3131
|
-
};
|
|
3132
|
-
Expander.propTypes = {
|
|
3133
|
-
show: PropTypes$6.bool.isRequired,
|
|
3134
|
-
className: PropTypes$6.string,
|
|
3135
|
-
classes: PropTypes$6.object,
|
|
3136
|
-
children: PropTypes$6.oneOfType([PropTypes$6.arrayOf(PropTypes$6.node), PropTypes$6.node]).isRequired
|
|
3137
|
-
};
|
|
3138
|
-
const transition = 'height ease-in 300ms, opacity ease-in 300ms';
|
|
3139
|
-
var Expander$1 = withStyles$6(() => ({
|
|
3140
|
-
expander: {
|
|
3141
|
-
position: 'relative',
|
|
3142
|
-
height: 0,
|
|
3143
|
-
overflow: 'hidden',
|
|
3144
|
-
display: 'flex',
|
|
3145
|
-
visibility: 'hidden',
|
|
3146
|
-
width: 0
|
|
3147
|
-
},
|
|
3148
|
-
enter: {
|
|
3149
|
-
transition,
|
|
3150
|
-
opacity: 1,
|
|
3151
|
-
height: '25px',
|
|
3152
|
-
width: 'auto',
|
|
3153
|
-
visibility: 'visible'
|
|
3154
|
-
},
|
|
3155
|
-
enterDone: {
|
|
3156
|
-
height: '25px',
|
|
3157
|
-
visibility: 'visible',
|
|
3158
|
-
width: 'auto'
|
|
3159
|
-
},
|
|
3160
|
-
exit: {
|
|
3161
|
-
transition,
|
|
3162
|
-
opacity: 0,
|
|
3163
|
-
height: 0,
|
|
3164
|
-
visibility: 'visible',
|
|
3165
|
-
width: 0
|
|
3166
|
-
},
|
|
3167
|
-
exitDone: {
|
|
3168
|
-
opacity: 0,
|
|
3169
|
-
visibility: 'hidden',
|
|
3170
|
-
height: 0,
|
|
3171
|
-
width: 0
|
|
3172
|
-
}
|
|
3173
|
-
}))(Expander);
|
|
3174
|
-
const {withStyles: withStyles$5} = _dll_material_ui__core_styles;
|
|
3175
|
-
const {Readable: Readable} = _dll_pie_lib__render_ui;
|
|
3176
|
-
const React$6 = _dll_react;
|
|
3177
|
-
const classNames$4 = _dll_classnames;
|
|
3178
|
-
const PropTypes$5 = _dll_prop_types;
|
|
3179
|
-
const _jsxFileName$5 = "/home/circleci/repo/node_modules/@pie-lib/correct-answer-toggle/src/index.jsx";
|
|
3180
|
-
class CorrectAnswerToggle extends React$6.Component {
|
|
3181
|
-
static __initStatic() {
|
|
3182
|
-
this.propTypes = {
|
|
3183
|
-
onToggle: PropTypes$5.func,
|
|
3184
|
-
toggled: PropTypes$5.bool,
|
|
3185
|
-
show: PropTypes$5.bool,
|
|
3186
|
-
hideMessage: PropTypes$5.string,
|
|
3187
|
-
showMessage: PropTypes$5.string,
|
|
3188
|
-
classes: PropTypes$5.object.isRequired,
|
|
3189
|
-
className: PropTypes$5.string
|
|
3190
|
-
};
|
|
3191
|
-
}
|
|
3192
|
-
static __initStatic2() {
|
|
3193
|
-
this.defaultProps = {
|
|
3194
|
-
showMessage: 'Show correct answer',
|
|
3195
|
-
hideMessage: 'Hide correct answer',
|
|
3196
|
-
show: false,
|
|
3197
|
-
toggled: false
|
|
3198
|
-
};
|
|
3199
|
-
}
|
|
3200
|
-
constructor(props) {
|
|
3201
|
-
super(props);
|
|
3202
|
-
this.state = {
|
|
3203
|
-
show: props.show
|
|
3204
|
-
};
|
|
3205
|
-
}
|
|
3206
|
-
onClick() {
|
|
3207
|
-
this.props.onToggle(!this.props.toggled);
|
|
3208
|
-
}
|
|
3209
|
-
componentWillReceiveProps(nextProps) {
|
|
3210
|
-
this.setState({
|
|
3211
|
-
show: nextProps.show
|
|
3212
|
-
});
|
|
3213
|
-
}
|
|
3214
|
-
render() {
|
|
3215
|
-
const {classes, className, toggled, hideMessage, showMessage} = this.props;
|
|
3216
|
-
return React$6.createElement('div', {
|
|
3217
|
-
className: classNames$4(classes.root, className),
|
|
3218
|
-
__self: this,
|
|
3219
|
-
__source: {
|
|
3220
|
-
fileName: _jsxFileName$5,
|
|
3221
|
-
lineNumber: 52
|
|
3222
|
-
}
|
|
3223
|
-
}, React$6.createElement(Expander$1, {
|
|
3224
|
-
show: this.state.show,
|
|
3225
|
-
className: classes.expander,
|
|
3226
|
-
__self: this,
|
|
3227
|
-
__source: {
|
|
3228
|
-
fileName: _jsxFileName$5,
|
|
3229
|
-
lineNumber: 53
|
|
3230
|
-
}
|
|
3231
|
-
}, React$6.createElement('div', {
|
|
3232
|
-
className: classes.content,
|
|
3233
|
-
onClick: this.onClick.bind(this),
|
|
3234
|
-
__self: this,
|
|
3235
|
-
__source: {
|
|
3236
|
-
fileName: _jsxFileName$5,
|
|
3237
|
-
lineNumber: 54
|
|
3238
|
-
}
|
|
3239
|
-
}, React$6.createElement('div', {
|
|
3240
|
-
className: classes.iconHolder,
|
|
3241
|
-
__self: this,
|
|
3242
|
-
__source: {
|
|
3243
|
-
fileName: _jsxFileName$5,
|
|
3244
|
-
lineNumber: 55
|
|
3245
|
-
}
|
|
3246
|
-
}, React$6.createElement(CSSTransition, {
|
|
3247
|
-
timeout: 400,
|
|
3248
|
-
in: toggled,
|
|
3249
|
-
exit: !toggled,
|
|
3250
|
-
classNames: classes,
|
|
3251
|
-
__self: this,
|
|
3252
|
-
__source: {
|
|
3253
|
-
fileName: _jsxFileName$5,
|
|
3254
|
-
lineNumber: 56
|
|
3255
|
-
}
|
|
3256
|
-
}, React$6.createElement(CorrectResponse$1, {
|
|
3257
|
-
open: toggled,
|
|
3258
|
-
key: "correct-open",
|
|
3259
|
-
className: classes.icon,
|
|
3260
|
-
__self: this,
|
|
3261
|
-
__source: {
|
|
3262
|
-
fileName: _jsxFileName$5,
|
|
3263
|
-
lineNumber: 57
|
|
3264
|
-
}
|
|
3265
|
-
})), React$6.createElement(CSSTransition, {
|
|
3266
|
-
timeout: 5000,
|
|
3267
|
-
in: !toggled,
|
|
3268
|
-
exit: toggled,
|
|
3269
|
-
classNames: classes,
|
|
3270
|
-
__self: this,
|
|
3271
|
-
__source: {
|
|
3272
|
-
fileName: _jsxFileName$5,
|
|
3273
|
-
lineNumber: 59
|
|
3274
|
-
}
|
|
3275
|
-
}, React$6.createElement(CorrectResponse$1, {
|
|
3276
|
-
open: toggled,
|
|
3277
|
-
key: "correct-closed",
|
|
3278
|
-
className: classes.icon,
|
|
3279
|
-
__self: this,
|
|
3280
|
-
__source: {
|
|
3281
|
-
fileName: _jsxFileName$5,
|
|
3282
|
-
lineNumber: 60
|
|
3283
|
-
}
|
|
3284
|
-
}))), React$6.createElement(Readable, {
|
|
3285
|
-
false: true,
|
|
3286
|
-
__self: this,
|
|
3287
|
-
__source: {
|
|
3288
|
-
fileName: _jsxFileName$5,
|
|
3289
|
-
lineNumber: 63
|
|
3290
|
-
}
|
|
3291
|
-
}, React$6.createElement('div', {
|
|
3292
|
-
className: classes.label,
|
|
3293
|
-
'aria-hidden': !this.state.show,
|
|
3294
|
-
__self: this,
|
|
3295
|
-
__source: {
|
|
3296
|
-
fileName: _jsxFileName$5,
|
|
3297
|
-
lineNumber: 64
|
|
3298
|
-
}
|
|
3299
|
-
}, toggled ? hideMessage : showMessage)))));
|
|
3300
|
-
}
|
|
3301
|
-
}
|
|
3302
|
-
CorrectAnswerToggle.__initStatic();
|
|
3303
|
-
CorrectAnswerToggle.__initStatic2();
|
|
3304
|
-
var CorrectAnswerToggle$1 = withStyles$5(styles$8)(CorrectAnswerToggle);
|
|
3305
1083
|
const React$5 = _dll_react;
|
|
3306
1084
|
const {withStyles: withStyles$4} = _dll_material_ui__core_styles;
|
|
3307
1085
|
const PropTypes$4 = _dll_prop_types;
|
|
@@ -3809,6 +1587,7 @@ var StyledChoice = withStyles$2({
|
|
|
3809
1587
|
})(Choice);
|
|
3810
1588
|
const React$2 = _dll_react;
|
|
3811
1589
|
const PropTypes$1 = _dll_prop_types;
|
|
1590
|
+
const CorrectAnswerToggle = _dll_pie_lib__correct_answer_toggle;
|
|
3812
1591
|
const classNames$1 = _dll_classnames;
|
|
3813
1592
|
const {withStyles: withStyles$1} = _dll_material_ui__core_styles;
|
|
3814
1593
|
const {color: color} = _dll_pie_lib__render_ui;
|
|
@@ -3973,7 +1752,7 @@ class MultipleChoice$1 extends React$2.Component {
|
|
|
3973
1752
|
fileName: _jsxFileName$1,
|
|
3974
1753
|
lineNumber: 168
|
|
3975
1754
|
}
|
|
3976
|
-
})), !alwaysShowCorrect && React$2.createElement(CorrectAnswerToggle
|
|
1755
|
+
})), !alwaysShowCorrect && React$2.createElement(CorrectAnswerToggle, {
|
|
3977
1756
|
show: showCorrectAnswerToggle,
|
|
3978
1757
|
toggled: showCorrect,
|
|
3979
1758
|
onToggle: this.onToggle.bind(this),
|