mario-education 2.4.471-question → 2.4.472-prod

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.
@@ -0,0 +1,2 @@
1
+ declare const SurveyPortal: () => JSX.Element;
2
+ export default SurveyPortal;
package/dist/index.js CHANGED
@@ -16342,7 +16342,7 @@ var useQuestionDetail$1 = function useQuestionDetail(id, type) {
16342
16342
  lang: lang
16343
16343
  };
16344
16344
  return Promise.resolve(getById$2(id, objLang)).then(function (res) {
16345
- var _res$data$category, _res$data, _res$data2, _res$data3;
16345
+ var _res$data$category, _res$data, _res$data2, _res$data3, _res$data4;
16346
16346
 
16347
16347
  var objNew = _extends({}, res.data, {
16348
16348
  categoryId: (_res$data$category = res.data.category) === null || _res$data$category === void 0 ? void 0 : _res$data$category.id,
@@ -16350,12 +16350,10 @@ var useQuestionDetail$1 = function useQuestionDetail(id, type) {
16350
16350
  });
16351
16351
 
16352
16352
  setQuestionDetail(objNew);
16353
- console.log({
16354
- objNew: objNew
16355
- });
16353
+ setActiveType((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.type);
16356
16354
  editorRef && editorRef.editor.execCommand("mceSetContent", false, objNew.text);
16357
16355
 
16358
- if ((_res$data3 = res.data) !== null && _res$data3 !== void 0 && _res$data3.type) {
16356
+ if ((_res$data4 = res.data) !== null && _res$data4 !== void 0 && _res$data4.type) {
16359
16357
  handleGetLabelQuestions(res.data.type);
16360
16358
  }
16361
16359
  });
@@ -16689,13 +16687,6 @@ var QuestionDetail = function QuestionDetail() {
16689
16687
  };
16690
16688
 
16691
16689
  React.useEffect(function () {
16692
- console.log({
16693
- values: values
16694
- });
16695
- console.log({
16696
- activeModelLanguage: activeModelLanguage
16697
- });
16698
-
16699
16690
  if (!id && !!activeModelLanguage && activeModelLanguage.lang == values.lang && JSON.stringify(activeModelLanguage) !== JSON.stringify(values)) {
16700
16691
  var categoryId = values.categoryId != 0 ? values.categoryId : questionDetail.categoryId;
16701
16692
  var updatedModelQuestionLang = modelQuestionLang.map(function (item) {
@@ -16761,7 +16752,7 @@ var QuestionDetail = function QuestionDetail() {
16761
16752
  className: styles["form-question-text"] + " mb-2"
16762
16753
  }, React__default.createElement(marioCore.RequiredLabel, {
16763
16754
  text: t("question_text")
16764
- }), (values.text || !id) && !!tinyMCEKey && React__default.createElement(tinymceReact.Editor, {
16755
+ }), !!tinyMCEKey && React__default.createElement(tinymceReact.Editor, {
16765
16756
  apiKey: tinyMCEKey || TINY_MCE_API_KEY,
16766
16757
  value: values.text,
16767
16758
  init: _extends({}, marioCore.editorConfig.question, {
@@ -19944,7 +19935,8 @@ var QuestionCateList = function QuestionCateList(_ref) {
19944
19935
  }), React__default.createElement("div", {
19945
19936
  className: styles$1['list-survey-category'],
19946
19937
  style: {
19947
- maxHeight: maxHeight
19938
+ maxHeight: maxHeight,
19939
+ minHeight: '400px'
19948
19940
  }
19949
19941
  }, categories && categories.length > 0 ? categories.map(function (cate) {
19950
19942
  var _cate$numberOfQuestio;
@@ -34007,7 +33999,9 @@ var BAND_SCORE = marioCore.BASE_URL + "/api/bandScore";
34007
33999
  var ACADEMIC_YEAR_URL$1 = marioCore.BASE_URL + "/api/academicyear";
34008
34000
  var getSummarizeReport = function getSummarizeReport(filter) {
34009
34001
  return marioCore.api.get(REPORT_URL + "/summarize-answer", {
34010
- params: filter
34002
+ params: _extends({}, filter, {
34003
+ roles: ["Admin"]
34004
+ })
34011
34005
  });
34012
34006
  };
34013
34007
  var getAllTotalTime = function getAllTotalTime(filter) {
@@ -41504,8 +41498,8 @@ var compat = function compat(element) {
41504
41498
  return;
41505
41499
  }
41506
41500
 
41507
- var value = element.value,
41508
- parent = element.parent;
41501
+ var value = element.value;
41502
+ var parent = element.parent;
41509
41503
  var isImplicitRule = element.column === parent.column && element.line === parent.line;
41510
41504
 
41511
41505
  while (parent.type !== 'rule') {
@@ -41763,35 +41757,14 @@ var prefixer = function prefixer(element, index, children, callback) {
41763
41757
  }
41764
41758
  };
41765
41759
 
41766
- /* import type { StylisPlugin } from './types' */
41767
-
41768
- /*
41769
- export type Options = {
41770
- nonce?: string,
41771
- stylisPlugins?: StylisPlugin[],
41772
- key: string,
41773
- container?: HTMLElement,
41774
- speedy?: boolean,
41775
- prepend?: boolean,
41776
- insertionPoint?: HTMLElement
41777
- }
41778
- */
41779
-
41780
41760
  var getServerStylisCache = isBrowser ? undefined : weakMemoize(function () {
41781
41761
  return memoize(function () {
41782
- var cache = {};
41783
- return function (name) {
41784
- return cache[name];
41785
- };
41762
+ return {};
41786
41763
  });
41787
41764
  });
41788
41765
  var defaultStylisPlugins = [prefixer];
41789
41766
 
41790
- var createCache = function
41791
- /*: EmotionCache */
41792
- createCache(options
41793
- /*: Options */
41794
- ) {
41767
+ var createCache = function createCache(options) {
41795
41768
  var key = options.key;
41796
41769
 
41797
41770
  if (isBrowser && key === 'css') {
@@ -41800,9 +41773,7 @@ createCache(options
41800
41773
  // note this very very intentionally targets all style elements regardless of the key to ensure
41801
41774
  // that creating a cache works inside of render of a React component
41802
41775
 
41803
- Array.prototype.forEach.call(ssrStyles, function (node
41804
- /*: HTMLStyleElement */
41805
- ) {
41776
+ Array.prototype.forEach.call(ssrStyles, function (node) {
41806
41777
  // we want to only move elements which have a space in the data-emotion attribute value
41807
41778
  // because that indicates that it is an Emotion 11 server-side rendered style elements
41808
41779
  // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
@@ -41824,17 +41795,13 @@ createCache(options
41824
41795
 
41825
41796
  var inserted = {};
41826
41797
  var container;
41827
- /* : Node */
41828
-
41829
41798
  var nodesToHydrate = [];
41830
41799
 
41831
41800
  if (isBrowser) {
41832
41801
  container = options.container || document.head;
41833
41802
  Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
41834
41803
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
41835
- document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node
41836
- /*: HTMLStyleElement */
41837
- ) {
41804
+ document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
41838
41805
  var attrib = node.getAttribute("data-emotion").split(' ');
41839
41806
 
41840
41807
  for (var i = 1; i < attrib.length; i++) {
@@ -41846,17 +41813,10 @@ createCache(options
41846
41813
  }
41847
41814
 
41848
41815
  var _insert;
41849
- /*: (
41850
- selector: string,
41851
- serialized: SerializedStyles,
41852
- sheet: StyleSheet,
41853
- shouldCache: boolean
41854
- ) => string | void */
41855
-
41856
41816
 
41857
41817
  var omnipresentPlugins = [compat, removeLabel];
41858
41818
 
41859
- if (isBrowser) {
41819
+ if (!getServerStylisCache) {
41860
41820
  var currentSheet;
41861
41821
  var finalizingPlugins = [le, pe(function (rule) {
41862
41822
  currentSheet.insert(rule);
@@ -41867,17 +41827,7 @@ createCache(options
41867
41827
  return oe(ce(styles), serializer);
41868
41828
  };
41869
41829
 
41870
- _insert = function
41871
- /*: void */
41872
- insert(selector
41873
- /*: string */
41874
- , serialized
41875
- /*: SerializedStyles */
41876
- , sheet
41877
- /*: StyleSheet */
41878
- , shouldCache
41879
- /*: boolean */
41880
- ) {
41830
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
41881
41831
  currentSheet = sheet;
41882
41832
 
41883
41833
  stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
@@ -41897,13 +41847,7 @@ createCache(options
41897
41847
 
41898
41848
  var serverStylisCache = getServerStylisCache(stylisPlugins)(key);
41899
41849
 
41900
- var getRules = function
41901
- /*: string */
41902
- getRules(selector
41903
- /*: string */
41904
- , serialized
41905
- /*: SerializedStyles */
41906
- ) {
41850
+ var getRules = function getRules(selector, serialized) {
41907
41851
  var name = serialized.name;
41908
41852
 
41909
41853
  if (serverStylisCache[name] === undefined) {
@@ -41913,17 +41857,7 @@ createCache(options
41913
41857
  return serverStylisCache[name];
41914
41858
  };
41915
41859
 
41916
- _insert = function
41917
- /*: string | void */
41918
- _insert(selector
41919
- /*: string */
41920
- , serialized
41921
- /*: SerializedStyles */
41922
- , sheet
41923
- /*: StyleSheet */
41924
- , shouldCache
41925
- /*: boolean */
41926
- ) {
41860
+ _insert = function _insert(selector, serialized, sheet, shouldCache) {
41927
41861
  var name = serialized.name;
41928
41862
  var rules = getRules(selector, serialized);
41929
41863
 
@@ -41953,9 +41887,7 @@ createCache(options
41953
41887
  };
41954
41888
  }
41955
41889
 
41956
- var cache
41957
- /*: EmotionCache */
41958
- = {
41890
+ var cache = {
41959
41891
  key: key,
41960
41892
  sheet: new StyleSheet({
41961
41893
  key: key,
@@ -42343,6 +42275,7 @@ var unitlessKeys = {
42343
42275
  opacity: 1,
42344
42276
  order: 1,
42345
42277
  orphans: 1,
42278
+ scale: 1,
42346
42279
  tabSize: 1,
42347
42280
  widows: 1,
42348
42281
  zIndex: 1,
@@ -42598,21 +42531,20 @@ function serializeStyles(args, registered, mergedProps) {
42598
42531
  };
42599
42532
  }
42600
42533
 
42534
+ var isBrowser$2 = typeof document !== 'undefined';
42535
+
42601
42536
  var syncFallback = function syncFallback(create) {
42602
42537
  return create();
42603
42538
  };
42604
42539
 
42605
42540
  var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;
42606
- var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
42541
+ var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : useInsertionEffect || syncFallback;
42607
42542
 
42608
42543
  var isDevelopment$2 = false;
42609
42544
 
42610
- var isBrowser$2 = typeof document !== 'undefined';
42545
+ var isBrowser$3 = typeof document !== 'undefined';
42611
42546
 
42612
- /* import { type EmotionCache } from '@emotion/utils' */
42613
- var EmotionCacheContext
42614
- /*: React.Context<EmotionCache | null> */
42615
- = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
42547
+ var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
42616
42548
  // because this module is primarily intended for the browser and node
42617
42549
  // but it's also required in react native and similar environments sometimes
42618
42550
  // and we could have a special build just for that
@@ -42622,35 +42554,17 @@ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
42622
42554
  key: 'css'
42623
42555
  }) : null);
42624
42556
 
42625
- var withEmotionCache = function withEmotionCache
42626
- /* <Props, Ref: React.Ref<*>> */
42627
- (func
42628
- /*: (props: Props, cache: EmotionCache, ref: Ref) => React.Node */
42629
- )
42630
- /*: React.AbstractComponent<Props> */
42631
- {
42632
- return /*#__PURE__*/React.forwardRef(function (props
42633
- /*: Props */
42634
- , ref
42635
- /*: Ref */
42636
- ) {
42557
+ var withEmotionCache = function withEmotionCache(func) {
42558
+ return /*#__PURE__*/React.forwardRef(function (props, ref) {
42637
42559
  // the cache will never be null in the browser
42638
42560
  var cache = React.useContext(EmotionCacheContext);
42639
42561
  return func(props, cache, ref);
42640
42562
  });
42641
42563
  };
42642
42564
 
42643
- if (!isBrowser$2) {
42644
- withEmotionCache = function withEmotionCache
42645
- /* <Props> */
42646
- (func
42647
- /*: (props: Props, cache: EmotionCache) => React.Node */
42648
- )
42649
- /*: React.StatelessFunctionalComponent<Props> */
42650
- {
42651
- return function (props
42652
- /*: Props */
42653
- ) {
42565
+ if (!isBrowser$3) {
42566
+ withEmotionCache = function withEmotionCache(func) {
42567
+ return function (props) {
42654
42568
  var cache = React.useContext(EmotionCacheContext);
42655
42569
 
42656
42570
  if (cache === null) {
@@ -42677,19 +42591,13 @@ var ThemeContext = /* #__PURE__ */React.createContext({});
42677
42591
  var hasOwn = {}.hasOwnProperty;
42678
42592
 
42679
42593
  var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
42680
- var createEmotionProps = function createEmotionProps(type
42681
- /*: React.ElementType */
42682
- , props
42683
- /*: Object */
42684
- ) {
42594
+ var createEmotionProps = function createEmotionProps(type, props) {
42685
42595
 
42686
- var newProps
42687
- /*: any */
42688
- = {};
42596
+ var newProps = {};
42689
42597
 
42690
- for (var key in props) {
42691
- if (hasOwn.call(props, key)) {
42692
- newProps[key] = props[key];
42598
+ for (var _key in props) {
42599
+ if (hasOwn.call(props, _key)) {
42600
+ newProps[_key] = props[_key];
42693
42601
  }
42694
42602
  }
42695
42603
 
@@ -42707,7 +42615,7 @@ var Insertion = function Insertion(_ref) {
42707
42615
  return insertStyles(cache, serialized, isStringTag);
42708
42616
  });
42709
42617
 
42710
- if (!isBrowser$2 && rules !== undefined) {
42618
+ if (!isBrowser$3 && rules !== undefined) {
42711
42619
  var _ref2;
42712
42620
 
42713
42621
  var serializedNames = serialized.name;
@@ -42726,9 +42634,7 @@ var Insertion = function Insertion(_ref) {
42726
42634
  return null;
42727
42635
  };
42728
42636
 
42729
- var Emotion = /* #__PURE__ */withEmotionCache(
42730
- /* <any, any> */
42731
- function (props, cache, ref) {
42637
+ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
42732
42638
  var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
42733
42639
  // not passing the registered cache to serializeStyles because it would
42734
42640
  // make certain babel optimisations not possible
@@ -42752,9 +42658,9 @@ function (props, cache, ref) {
42752
42658
  className += cache.key + "-" + serialized.name;
42753
42659
  var newProps = {};
42754
42660
 
42755
- for (var key in props) {
42756
- if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (!isDevelopment$2 )) {
42757
- newProps[key] = props[key];
42661
+ for (var _key2 in props) {
42662
+ if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (!isDevelopment$2 )) {
42663
+ newProps[_key2] = props[_key2];
42758
42664
  }
42759
42665
  }
42760
42666
 
@@ -42775,39 +42681,21 @@ var Emotion$1 = Emotion;
42775
42681
 
42776
42682
  var _extends_1 = createCommonjsModule(function (module) {
42777
42683
  function _extends() {
42778
- module.exports = _extends = Object.assign || function (target) {
42779
- for (var i = 1; i < arguments.length; i++) {
42780
- var source = arguments[i];
42781
-
42782
- for (var key in source) {
42783
- if (Object.prototype.hasOwnProperty.call(source, key)) {
42784
- target[key] = source[key];
42785
- }
42786
- }
42684
+ return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {
42685
+ for (var e = 1; e < arguments.length; e++) {
42686
+ var t = arguments[e];
42687
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42787
42688
  }
42788
-
42789
- return target;
42790
- };
42791
-
42792
- module.exports["default"] = module.exports, module.exports.__esModule = true;
42793
- return _extends.apply(this, arguments);
42689
+ return n;
42690
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends.apply(null, arguments);
42794
42691
  }
42795
-
42796
- module.exports = _extends;
42797
- module.exports["default"] = module.exports, module.exports.__esModule = true;
42692
+ module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
42798
42693
  });
42799
42694
 
42800
42695
  unwrapExports(_extends_1);
42801
42696
 
42802
- var jsx
42803
- /*: typeof React.createElement */
42804
- = function jsx
42805
- /*: typeof React.createElement */
42806
- (type
42807
- /*: React.ElementType */
42808
- , props
42809
- /*: Object */
42810
- ) {
42697
+ var jsx = function jsx(type, props) {
42698
+ // eslint-disable-next-line prefer-rest-params
42811
42699
  var args = arguments;
42812
42700
 
42813
42701
  if (props == null || !hasOwn.call(props, 'css')) {
@@ -42826,11 +42714,13 @@ var jsx
42826
42714
  return React.createElement.apply(null, createElementArgArray);
42827
42715
  };
42828
42716
 
42829
- /* import type { Interpolation, SerializedStyles } from '@emotion/utils' */
42717
+ (function (_jsx) {
42718
+ var JSX;
42719
+
42720
+ (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
42721
+ })(jsx || (jsx = {}));
42830
42722
 
42831
- function css()
42832
- /*: SerializedStyles */
42833
- {
42723
+ function css() {
42834
42724
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
42835
42725
  args[_key] = arguments[_key];
42836
42726
  }
@@ -42838,18 +42728,7 @@ function css()
42838
42728
  return serializeStyles(args);
42839
42729
  }
42840
42730
 
42841
- /*
42842
- type Keyframes = {|
42843
- name: string,
42844
- styles: string,
42845
- anim: 1,
42846
- toString: () => string
42847
- |} & string
42848
- */
42849
-
42850
- var keyframes = function
42851
- /*: Keyframes */
42852
- keyframes() {
42731
+ function keyframes() {
42853
42732
  var insertable = css.apply(void 0, arguments);
42854
42733
  var name = "animation-" + insertable.name;
42855
42734
  return {
@@ -42860,23 +42739,9 @@ keyframes() {
42860
42739
  return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
42861
42740
  }
42862
42741
  };
42863
- };
42864
-
42865
- /*
42866
- type ClassNameArg =
42867
- | string
42868
- | boolean
42869
- | { [key: string]: boolean }
42870
- | Array<ClassNameArg>
42871
- | null
42872
- | void
42873
- */
42742
+ }
42874
42743
 
42875
- var classnames = function
42876
- /*: string */
42877
- classnames(args
42878
- /*: Array<ClassNameArg> */
42879
- ) {
42744
+ var classnames = function classnames(args) {
42880
42745
  var len = args.length;
42881
42746
  var i = 0;
42882
42747
  var cls = '';
@@ -42924,13 +42789,7 @@ classnames(args
42924
42789
  return cls;
42925
42790
  };
42926
42791
 
42927
- function merge(registered
42928
- /*: Object */
42929
- , css
42930
- /*: (...args: Array<any>) => string */
42931
- , className
42932
- /*: string */
42933
- ) {
42792
+ function merge(registered, css, className) {
42934
42793
  var registeredStyles = [];
42935
42794
  var rawClassName = getRegisteredStyles(registered, registeredStyles, className);
42936
42795
 
@@ -42950,17 +42809,17 @@ var Insertion$1 = function Insertion(_ref) {
42950
42809
  for (var i = 0; i < serializedArr.length; i++) {
42951
42810
  var res = insertStyles(cache, serializedArr[i], false);
42952
42811
 
42953
- if (!isBrowser$2 && res !== undefined) {
42812
+ if (!isBrowser$3 && res !== undefined) {
42954
42813
  rules += res;
42955
42814
  }
42956
42815
  }
42957
42816
 
42958
- if (!isBrowser$2) {
42817
+ if (!isBrowser$3) {
42959
42818
  return rules;
42960
42819
  }
42961
42820
  });
42962
42821
 
42963
- if (!isBrowser$2 && rules.length !== 0) {
42822
+ if (!isBrowser$3 && rules.length !== 0) {
42964
42823
  var _ref2;
42965
42824
 
42966
42825
  return /*#__PURE__*/React.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedArr.map(function (serialized) {
@@ -42972,19 +42831,8 @@ var Insertion$1 = function Insertion(_ref) {
42972
42831
 
42973
42832
  return null;
42974
42833
  };
42975
- /*
42976
- type Props = {
42977
- children: ({
42978
- css: (...args: any) => string,
42979
- cx: (...args: Array<ClassNameArg>) => string,
42980
- theme: Object
42981
- }) => React.Node
42982
- } */
42983
-
42984
-
42985
- var ClassNames
42986
- /*: React.AbstractComponent<Props>*/
42987
- = /* #__PURE__ */withEmotionCache(function (props, cache) {
42834
+
42835
+ var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
42988
42836
  var hasRendered = false;
42989
42837
  var serializedArr = [];
42990
42838
 
@@ -70351,6 +70199,32 @@ var useQuestionAlert = function useQuestionAlert() {
70351
70199
  };
70352
70200
  };
70353
70201
 
70202
+ var _extends_1$1 = createCommonjsModule(function (module) {
70203
+ function _extends() {
70204
+ module.exports = _extends = Object.assign || function (target) {
70205
+ for (var i = 1; i < arguments.length; i++) {
70206
+ var source = arguments[i];
70207
+
70208
+ for (var key in source) {
70209
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
70210
+ target[key] = source[key];
70211
+ }
70212
+ }
70213
+ }
70214
+
70215
+ return target;
70216
+ };
70217
+
70218
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
70219
+ return _extends.apply(this, arguments);
70220
+ }
70221
+
70222
+ module.exports = _extends;
70223
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
70224
+ });
70225
+
70226
+ unwrapExports(_extends_1$1);
70227
+
70354
70228
  var arrayWithoutHoles = createCommonjsModule(function (module) {
70355
70229
  function _arrayWithoutHoles(arr) {
70356
70230
  if (Array.isArray(arr)) return arrayLikeToArray(arr);
@@ -75317,7 +75191,7 @@ var Footer = function Footer(_ref) {
75317
75191
  className: "" + styles$c["privacy-policy-left"]
75318
75192
  }, React__default.createElement(core$1.Typography, {
75319
75193
  className: "" + styles$c["all-rights-reserved"]
75320
- }, "\xA9 2019-2023 MARIO Framework, LLC, All Rights Reserved"), React__default.createElement(core$1.Typography, {
75194
+ }, "\xA9 2019-2023 MARIO Education, LLC, All Rights Reserved"), React__default.createElement(core$1.Typography, {
75321
75195
  className: "" + styles$c["policy-link"]
75322
75196
  }, "Privacy Policy")), !isStudent && React__default.createElement(core$1.Grid, {
75323
75197
  className: "" + styles$c["privacy-policy-right"]
@@ -75818,7 +75692,7 @@ var useSummarizeQuestion = function useSummarizeQuestion() {
75818
75692
  endDate: endTime ? Number(endTime) : DEFAULT_END_DATE,
75819
75693
  pageSize: 10,
75820
75694
  currentPage: 1,
75821
- sortBy: "Grade",
75695
+ sortBy: "Date",
75822
75696
  sortOrder: "DESC",
75823
75697
  searchString: ""
75824
75698
  }),
@@ -76684,7 +76558,7 @@ var SurveyQuestion = function SurveyQuestion() {
76684
76558
  className: stylesDetail['survey-question-detail-tiny-editor']
76685
76559
  }, React__default.createElement(marioCore.RequiredLabel, {
76686
76560
  text: t("question_text")
76687
- }), (values.text || !id) && !!tinyMCEKey && React__default.createElement(tinymceReact.Editor, {
76561
+ }), !!tinyMCEKey && React__default.createElement(tinymceReact.Editor, {
76688
76562
  apiKey: tinyMCEKey || TINY_MCE_API_KEY,
76689
76563
  value: values.text,
76690
76564
  init: _extends({}, marioCore.editorConfig.question, {