touchstudy-core 0.1.33 → 0.1.34

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.
@@ -9,7 +9,7 @@ import { useDispatch, useSelector } from 'react-redux';
9
9
  import axios from 'axios';
10
10
  import { useTranslation, initReactI18next } from 'react-i18next';
11
11
  export { I18nextProvider, useTranslation } from 'react-i18next';
12
- import { Grid, Dialog, DialogTitle, IconButton, DialogContent, TextField, DialogActions, Button, Box, Typography, Pagination, styled, Tooltip, tooltipClasses, Stack, ClickAwayListener, useMediaQuery, CircularProgress, FormControl, RadioGroup, FormControlLabel, Radio, FormGroup, FormLabel, InputLabel, Container, Table, TableBody, TableRow, TableCell, TableHead, Paper, InputBase } from '@mui/material';
12
+ import { Grid, Dialog, DialogTitle, IconButton, DialogContent, TextField, DialogActions, Button, Box, Typography, Pagination, styled, Tooltip, tooltipClasses, Stack, ClickAwayListener, useMediaQuery, CircularProgress, FormControl, RadioGroup, FormControlLabel, Radio, useTheme, FormGroup, FormLabel, InputLabel, Container, Table, TableBody, TableRow, TableCell, TableHead, Paper, InputBase } from '@mui/material';
13
13
  import { gapi } from 'gapi-script';
14
14
  import Pusher from 'pusher-js';
15
15
  import { IoClose, IoCloseOutline, IoSearch } from 'react-icons/io5';
@@ -26,7 +26,7 @@ export { ToastContainer, toast } from 'react-toastify';
26
26
  import Select, { components } from 'react-select';
27
27
  import { FaCaretDown, FaTrash, FaPlus, FaSave, FaPencilAlt, FaSortUp, FaSortDown, FaEye, FaPlusCircle } from 'react-icons/fa';
28
28
  import { PiDotsNineLight } from 'react-icons/pi';
29
- import { IoMdArrowBack } from 'react-icons/io';
29
+ import { IoMdArrowBack, IoIosLogOut } from 'react-icons/io';
30
30
  import _ from 'lodash';
31
31
  import { FaPencil } from 'react-icons/fa6';
32
32
  import CreatableSelect from 'react-select/creatable';
@@ -37,6 +37,7 @@ import DialogTitle$1 from '@mui/material/DialogTitle';
37
37
  import DialogContent$1 from '@mui/material/DialogContent';
38
38
  import DialogActions$1 from '@mui/material/DialogActions';
39
39
  import Typography$1 from '@mui/material/Typography';
40
+ import { useLocation, Link } from 'react-router-dom';
40
41
 
41
42
  var setLoading = createAction("common/setLoading");
42
43
  var setAlert = createAction("common/setAlert");
@@ -136,7 +137,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
136
137
  return target;
137
138
  }
138
139
 
139
- var styleGlobal = {"btn-login-google":"_2HqmH","block-login":"_wWIyO","box-login":"_38Lo1","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-menu-flag":"_XK8oS","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","content-text":"_3S4f2","dropdown-content-language":"_3ajui","dropdown-item-language":"_3Y_y4","dropdown-item-language-active":"_CzNMi","dropdown-academy":"_3CMVp","image-academy":"_2ibYC","academy-btn":"_1JMRU","switch-icon":"_N4FNf","dropdown-content-academy":"_31Dr0","dropdown-academy-item":"_3bjcz","noGutters":"_31ZQk","custom-col-2":"_3yXyK","custom-col-3":"_1RsJQ","custom-col-5":"_L42CP","custom-col-10":"_2u6eL","custom-row":"_8x7OP","custom-col":"_1JmTh","custom-col-4":"_3HO1e","custom-col-8":"_Oy31M","custom-col-12":"_3aUKo","custom-container":"_39LRs","form-label":"__Ut-u","form-control":"_2k4dX","btn-outline-primary":"_2PWdX","sort-icons":"_mQvLF","active":"_3oAH-","form-select":"_3W3aw","truncate":"_3NJzN"};
140
+ var styles = {"btn-login-google":"_2HqmH","block-login":"_wWIyO","box-login":"_38Lo1","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-menu-flag":"_XK8oS","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","content-text":"_3S4f2","dropdown-content-language":"_3ajui","dropdown-item-language":"_3Y_y4","dropdown-item-language-active":"_CzNMi","dropdown-academy":"_3CMVp","image-academy":"_2ibYC","image-academy--item":"_3RDWF","academy-btn":"_1JMRU","switch-icon":"_N4FNf","dropdown-content-academy":"_31Dr0","dropdown-academy-item":"_3bjcz","noGutters":"_31ZQk","custom-col-2":"_3yXyK","custom-col-3":"_1RsJQ","custom-col-5":"_L42CP","custom-col-10":"_2u6eL","custom-row":"_8x7OP","custom-col":"_1JmTh","custom-col-4":"_3HO1e","custom-col-8":"_Oy31M","custom-col-12":"_3aUKo","custom-container":"_39LRs","form-label":"__Ut-u","form-control":"_2k4dX","btn-outline-primary":"_2PWdX","sort-icons":"_mQvLF","active":"_3oAH-","form-select":"_3W3aw","truncate":"_3NJzN","headers":"_3xnI5","logo-container":"_3YG70","tabBox":"_1CQPn","routerBox":"_3hx2T","tabText":"_3UyhW","router-link-active":"_1TGKA","router-link":"_1AqMh","userImg":"_2RI6G","disabled-link":"_3aVHg"};
140
141
 
141
142
  var AuthenticationMessage;
142
143
  (function (AuthenticationMessage) {
@@ -463,18 +464,18 @@ var BlockLogin = function BlockLogin(_ref) {
463
464
  var handleSubmit = formikProps.handleSubmit;
464
465
  return React.createElement(Grid, {
465
466
  container: true,
466
- className: "" + styleGlobal["box-login"]
467
+ className: "" + styles["box-login"]
467
468
  }, React.createElement(Grid, {
468
469
  item: true,
469
470
  className: "p-0 d-flex justify-content-center"
470
471
  }, React.createElement("form", {
471
- className: "" + styleGlobal["block-login"],
472
+ className: "" + styles["block-login"],
472
473
  onSubmit: handleSubmit
473
474
  }, React.createElement("div", {
474
- className: "" + styleGlobal["block-form"]
475
+ className: "" + styles["block-form"]
475
476
  }, React.createElement("img", {
476
477
  src: "/images/logo.jpeg",
477
- className: "" + styleGlobal["img-login-rectangle"]
478
+ className: "" + styles["img-login-rectangle"]
478
479
  }), React.createElement("div", {
479
480
  className: "p-0 mt-1 mb-4"
480
481
  }, React.createElement(GoogleLogin, {
@@ -483,7 +484,7 @@ var BlockLogin = function BlockLogin(_ref) {
483
484
  onSuccess: onSuccessGoogle,
484
485
  onFailure: onFailureGoogle,
485
486
  cookiePolicy: "single_host_origin",
486
- className: "" + styleGlobal["btn-login-google"],
487
+ className: "" + styles["btn-login-google"],
487
488
  isSignedIn: true
488
489
  }))))));
489
490
  });
@@ -547,7 +548,7 @@ var Login = function Login(_ref) {
547
548
  var _useLogin = useLogin$1(onNavigate),
548
549
  defaultInfo = _useLogin.defaultInfo;
549
550
  return React.createElement("div", {
550
- className: styleGlobal["login"] + " container-fluid font-family-lato"
551
+ className: styles["login"] + " container-fluid font-family-lato"
551
552
  }, React.createElement(Grid, {
552
553
  container: true,
553
554
  spacing: 3,
@@ -1579,6 +1580,7 @@ var comparison_of_top_rankings_and_problem_solving_order = "상위권과 문제
1579
1580
  var my_answers = "내 해답";
1580
1581
  var request_for_consultation = "상담요청";
1581
1582
  var ask_a_question_with_a_problem = "문제로 질문하기";
1583
+ var live = "살다";
1582
1584
  var lang_ko = {
1583
1585
  problem_solving: problem_solving,
1584
1586
  my_story: my_story,
@@ -1868,7 +1870,8 @@ var lang_ko = {
1868
1870
  comparison_of_top_rankings_and_problem_solving_order: comparison_of_top_rankings_and_problem_solving_order,
1869
1871
  my_answers: my_answers,
1870
1872
  request_for_consultation: request_for_consultation,
1871
- ask_a_question_with_a_problem: ask_a_question_with_a_problem
1873
+ ask_a_question_with_a_problem: ask_a_question_with_a_problem,
1874
+ live: live
1872
1875
  };
1873
1876
 
1874
1877
  var problem_solving$1 = "Problem Solving";
@@ -2196,6 +2199,7 @@ var comparison_of_top_rankings_and_problem_solving_order$1 = "Comparison of top
2196
2199
  var my_answers$1 = "My answers";
2197
2200
  var request_for_consultation$1 = "Request for consultation";
2198
2201
  var ask_a_question_with_a_problem$1 = "Ask a question with a problem";
2202
+ var live$1 = "live";
2199
2203
  var lang_en = {
2200
2204
  problem_solving: problem_solving$1,
2201
2205
  my_story: my_story$1,
@@ -2520,7 +2524,8 @@ var lang_en = {
2520
2524
  comparison_of_top_rankings_and_problem_solving_order: comparison_of_top_rankings_and_problem_solving_order$1,
2521
2525
  my_answers: my_answers$1,
2522
2526
  request_for_consultation: request_for_consultation$1,
2523
- ask_a_question_with_a_problem: ask_a_question_with_a_problem$1
2527
+ ask_a_question_with_a_problem: ask_a_question_with_a_problem$1,
2528
+ live: live$1
2524
2529
  };
2525
2530
 
2526
2531
  i18n.use(initReactI18next).init({
@@ -2801,7 +2806,8 @@ var TheAcademyDropdown = function TheAcademyDropdown(_ref) {
2801
2806
  var role = _ref.role,
2802
2807
  navigate = _ref.navigate,
2803
2808
  homeAcademyUrl = _ref.homeAcademyUrl,
2804
- homeUrl = _ref.homeUrl;
2809
+ homeUrl = _ref.homeUrl,
2810
+ hideAcademyName = _ref.hideAcademyName;
2805
2811
  var _useSwitchAcademy = useSwitchAcademy(role, navigate, homeAcademyUrl, homeUrl),
2806
2812
  academyList = _useSwitchAcademy.academyList,
2807
2813
  handleSwitchAcademy = _useSwitchAcademy.handleSwitchAcademy,
@@ -2835,15 +2841,15 @@ var TheAcademyDropdown = function TheAcademyDropdown(_ref) {
2835
2841
  };
2836
2842
  return React.createElement(Fragment$1, null, React.createElement(Button, {
2837
2843
  onClick: handleOpen,
2838
- className: "" + styleGlobal["academy-btn"],
2844
+ className: "" + styles["academy-btn"],
2839
2845
  sx: _extends({}, popoverStyle)
2840
2846
  }, React.createElement("div", {
2841
- className: "" + styleGlobal["image-academy"]
2847
+ className: styles["image-academy"] + " me-0 me-lg-2"
2842
2848
  }, selectedAcademy !== null && selectedAcademy !== void 0 && selectedAcademy.image ? React.createElement("img", {
2843
2849
  src: selectedAcademy === null || selectedAcademy === void 0 ? void 0 : selectedAcademy.image,
2844
2850
  alt: selectedAcademy === null || selectedAcademy === void 0 ? void 0 : selectedAcademy.name
2845
- }) : React.createElement("span", null, firstLetter)), React.createElement(Typography, {
2846
- className: "text-start",
2851
+ }) : React.createElement("span", null, firstLetter)), !hideAcademyName && React.createElement(Typography, {
2852
+ className: "text-start d-none d-lg-block",
2847
2853
  sx: {
2848
2854
  fontSize: 14,
2849
2855
  fontWeight: 600,
@@ -2851,7 +2857,7 @@ var TheAcademyDropdown = function TheAcademyDropdown(_ref) {
2851
2857
  minWidth: 150
2852
2858
  }
2853
2859
  }, (selectedAcademy === null || selectedAcademy === void 0 ? void 0 : selectedAcademy.name) || t(role === Role.Admin ? "switch_academy_admin" : "switch_academy")), React.createElement("div", {
2854
- className: "" + styleGlobal["switch-icon"]
2860
+ className: styles["switch-icon"] + " d-none d-lg-flex"
2855
2861
  }, React.createElement(GoArrowSwitch, {
2856
2862
  size: 14
2857
2863
  }))), (isSuperAdmin || !isAdmin) && React.createElement(Popover, {
@@ -2872,7 +2878,10 @@ var TheAcademyDropdown = function TheAcademyDropdown(_ref) {
2872
2878
  p: 0.5,
2873
2879
  mt: 1,
2874
2880
  ml: 0.75,
2875
- width: 300,
2881
+ width: {
2882
+ xs: 200,
2883
+ lg: 300
2884
+ },
2876
2885
  minWidth: "unset!important"
2877
2886
  }
2878
2887
  }
@@ -2893,7 +2902,7 @@ var TheAcademyDropdown = function TheAcademyDropdown(_ref) {
2893
2902
  fontWeight: 600
2894
2903
  }
2895
2904
  }, React.createElement("div", {
2896
- className: "" + styleGlobal["image-academy"]
2905
+ className: styles["image-academy"] + " " + styles["image-academy--item"]
2897
2906
  }, option.image ? React.createElement(Box$1, {
2898
2907
  component: "img",
2899
2908
  alt: option.name,
@@ -3003,7 +3012,7 @@ var CustomSelect = function CustomSelect(_ref) {
3003
3012
  }, rest));
3004
3013
  };
3005
3014
 
3006
- var styles = {"header__avatar":"_2oGcJ","header__select":"_2y2XV","body":"_ntGyI","list":"_m7Fwt","list__item__header":"_3BM8N","list__item__avatar":"_1ReOK","list__item__avatar-container":"_2qbld","list__item__message":"_3s01i","list__item__message--reply-from":"_2Qxi3","list__item__message--reply-from-right":"_34Vx4","list__item__message--reply":"_3uheq","list__item__message--reply-right":"_2iBr7","reply-text":"_3ZPjO","container-custom":"_38A9k","student-row-col-1":"_Jt5t0","student-row-col-1-active":"_14DKj","row-col-2":"_qHGiR","inputBox":"_2iY67","inputBoxTable":"_3pCw0","background-chat":"_zILbw","wrap-content":"_38gsM","name-sender":"_Lfzyw","content-chat-sender":"_1X73E","content-chat-receiver":"_32V7T","custom-scroll":"_2Uul2","btn-send":"_395lb","btn-chat":"_gDYwm","input-chat":"_22TX5","btn-cancel":"_1u-eg","btn-register":"_22r6_","form-label-dialog":"_jADIA","form-select-width":"_WncPd","padding-content":"_3hz3H","form-label":"_MMQxP","form-control":"_1mJfc"};
3015
+ var styles$1 = {"header__avatar":"_2oGcJ","header__select":"_2y2XV","body":"_ntGyI","list":"_m7Fwt","list__item__header":"_3BM8N","list__item__avatar":"_1ReOK","list__item__avatar-container":"_2qbld","list__item__message":"_3s01i","list__item__message--reply-from":"_2Qxi3","list__item__message--reply-from-right":"_34Vx4","list__item__message--reply":"_3uheq","list__item__message--reply-right":"_2iBr7","reply-text":"_3ZPjO","container-custom":"_38A9k","student-row-col-1":"_Jt5t0","student-row-col-1-active":"_14DKj","row-col-2":"_qHGiR","inputBox":"_2iY67","inputBoxTable":"_3pCw0","background-chat":"_zILbw","wrap-content":"_38gsM","name-sender":"_Lfzyw","content-chat-sender":"_1X73E","content-chat-receiver":"_32V7T","custom-scroll":"_2Uul2","btn-send":"_395lb","btn-chat":"_gDYwm","input-chat":"_22TX5","btn-cancel":"_1u-eg","btn-register":"_22r6_","form-label-dialog":"_jADIA","form-select-width":"_WncPd","padding-content":"_3hz3H","form-label":"_MMQxP","form-control":"_1mJfc"};
3007
3016
 
3008
3017
  var iconPersonNoActive = function iconPersonNoActive(_ref) {
3009
3018
  var _ref$width = _ref.width,
@@ -3149,7 +3158,7 @@ var ChatRightItem = function ChatRightItem(_ref) {
3149
3158
  padding: "4px 0"
3150
3159
  }, React.createElement(Box, null, showName && isStudent && React.createElement(Box, {
3151
3160
  gap: "8px",
3152
- className: " " + styles["name-sender"],
3161
+ className: " " + styles$1["name-sender"],
3153
3162
  display: "flex",
3154
3163
  alignItems: "center",
3155
3164
  flexDirection: "row"
@@ -3204,7 +3213,7 @@ var ChatRightItem = function ChatRightItem(_ref) {
3204
3213
  objectFit: "contain"
3205
3214
  }
3206
3215
  })) : React.createElement("div", {
3207
- className: styles["wrap-content"] + " " + styles["content-chat-receiver"],
3216
+ className: styles$1["wrap-content"] + " " + styles$1["content-chat-receiver"],
3208
3217
  style: {
3209
3218
  "float": "inline-end"
3210
3219
  }
@@ -3242,7 +3251,7 @@ var ChatLeftItem = function ChatLeftItem(_ref) {
3242
3251
  display: "flex",
3243
3252
  padding: "4px",
3244
3253
  flexDirection: "row",
3245
- className: "" + styles["name-sender"]
3254
+ className: "" + styles$1["name-sender"]
3246
3255
  }, isStudent ? React.createElement(Fragment$1, null, React.createElement(Typography, {
3247
3256
  fontWeight: 500,
3248
3257
  fontSize: 14,
@@ -3282,7 +3291,7 @@ var ChatLeftItem = function ChatLeftItem(_ref) {
3282
3291
  objectFit: "contain"
3283
3292
  }
3284
3293
  })) : React.createElement("div", {
3285
- className: styles["wrap-content"] + " " + styles["content-chat-sender"]
3294
+ className: styles$1["wrap-content"] + " " + styles$1["content-chat-sender"]
3286
3295
  }, React.createElement(Typography, {
3287
3296
  fontWeight: 500,
3288
3297
  fontSize: "14px",
@@ -3495,7 +3504,7 @@ var UpdateMessageDialog = function UpdateMessageDialog(_ref) {
3495
3504
  _objectDestructuringEmpty(_ref2);
3496
3505
  return React.createElement(Form, null, React.createElement("label", {
3497
3506
  htmlFor: "content",
3498
- className: styles['form-label'] + " " + styles['form-label-dialog']
3507
+ className: styles$1['form-label'] + " " + styles$1['form-label-dialog']
3499
3508
  }, "\uC9C8\uBB38\uD560 \uBB38\uC81C"), React.createElement(Field, {
3500
3509
  id: "content",
3501
3510
  style: {
@@ -3504,7 +3513,7 @@ var UpdateMessageDialog = function UpdateMessageDialog(_ref) {
3504
3513
  name: "content",
3505
3514
  validate: validate,
3506
3515
  placeholder: "\uBB38\uC81C\uAC00 \uC5B4\uB824\uC6CC\uC694",
3507
- className: styles['form-control']
3516
+ className: styles$1['form-control']
3508
3517
  }), React.createElement(DialogActions, {
3509
3518
  sx: {
3510
3519
  display: 'flex',
@@ -3513,14 +3522,14 @@ var UpdateMessageDialog = function UpdateMessageDialog(_ref) {
3513
3522
  padding: '12px'
3514
3523
  }
3515
3524
  }, React.createElement(Button, {
3516
- className: styles['btn-cancel'],
3525
+ className: styles$1['btn-cancel'],
3517
3526
  onClick: onClose
3518
3527
  }, React.createElement(Typography, {
3519
3528
  fontWeight: 700,
3520
3529
  fontSize: '14px',
3521
3530
  lineHeight: '16.71px'
3522
3531
  }, "\uCDE8\uC18C")), React.createElement(Button, {
3523
- className: styles['btn-register'],
3532
+ className: styles$1['btn-register'],
3524
3533
  type: "submit"
3525
3534
  }, React.createElement(Typography, {
3526
3535
  fontWeight: 700,
@@ -3569,14 +3578,14 @@ var UpdateMessageDialog = function UpdateMessageDialog(_ref) {
3569
3578
  padding: '12px'
3570
3579
  }
3571
3580
  }, React.createElement(Button, {
3572
- className: styles['btn-cancel'],
3581
+ className: styles$1['btn-cancel'],
3573
3582
  onClick: onClose
3574
3583
  }, React.createElement(Typography, {
3575
3584
  fontWeight: 700,
3576
3585
  fontSize: '14px',
3577
3586
  lineHeight: '16.71px'
3578
3587
  }, "\uCDE8\uC18C")), React.createElement(Button, {
3579
- className: styles['btn-register'],
3588
+ className: styles$1['btn-register'],
3580
3589
  sx: {
3581
3590
  bgcolor: !(selectedFile !== null && selectedFile !== void 0 && selectedFile.content) ? "#EBEBFF !important" : "#5458D5 !important"
3582
3591
  },
@@ -3750,7 +3759,7 @@ var ChatList = function ChatList(_ref) {
3750
3759
  var isStudent = roles === null || roles === void 0 ? void 0 : roles.includes(Roles$1.Student);
3751
3760
  return React.createElement("ul", {
3752
3761
  ref: listItemRef,
3753
- className: styles["list"] + " " + styles["padding-content"] + " d-flex h-100 flex-column mb-0 " + (!(filterMessage !== null && filterMessage !== void 0 && filterMessage.length) ? 'justify-content-center' : '')
3762
+ className: styles$1["list"] + " " + styles$1["padding-content"] + " d-flex h-100 flex-column mb-0 " + (!(filterMessage !== null && filterMessage !== void 0 && filterMessage.length) ? 'justify-content-center' : '')
3754
3763
  }, !(filterMessage !== null && filterMessage !== void 0 && filterMessage.length) && React.createElement("li", {
3755
3764
  className: "text-muted text-center fst-italic fs-6"
3756
3765
  }, "No message"), !!(filterMessage !== null && filterMessage !== void 0 && filterMessage.length) && filterMessage.map(function (message) {
@@ -3857,7 +3866,7 @@ var InputChat = function InputChat(_ref) {
3857
3866
  color: "#fff",
3858
3867
  size: 30
3859
3868
  }))), React.createElement("input", {
3860
- className: styles["input-chat"],
3869
+ className: styles$1["input-chat"],
3861
3870
  style: {
3862
3871
  border: "none"
3863
3872
  },
@@ -3884,7 +3893,7 @@ var InputChat = function InputChat(_ref) {
3884
3893
  sx: {
3885
3894
  bgcolor: isCompleted ? "#EBEBFF !important" : "#5458D5 !important"
3886
3895
  },
3887
- className: styles["btn-send"],
3896
+ className: styles$1["btn-send"],
3888
3897
  disabled: isCompleted,
3889
3898
  onClick: handleSubmit
3890
3899
  }, React.createElement(iconSendMessage, null), React.createElement(Typography, {
@@ -3939,7 +3948,8 @@ var iconChecked = function iconChecked(_ref) {
3939
3948
  };
3940
3949
 
3941
3950
  var ellipsisText = function ellipsisText(text, maxLength) {
3942
- return text.length > maxLength ? text.slice(0, maxLength) + " ..." : text;
3951
+ if (!text) return text;
3952
+ return (text === null || text === void 0 ? void 0 : text.length) > maxLength ? text.slice(0, maxLength) + " ..." : text;
3943
3953
  };
3944
3954
  var formatDataMyAnswer = function formatDataMyAnswer(inputData, categories) {
3945
3955
  var uniqueCategories = new Set();
@@ -4037,7 +4047,7 @@ var ChatHeader = function ChatHeader(_ref) {
4037
4047
  fontWeight: 600,
4038
4048
  fontSize: "12px",
4039
4049
  lineHeight: "14.32px"
4040
- }, ellipsisText(examTitle, 15)), React.createElement(Box, {
4050
+ }, ellipsisText(examTitle || "", 15)), React.createElement(Box, {
4041
4051
  display: "flex",
4042
4052
  flexDirection: "row",
4043
4053
  gap: "4px"
@@ -4117,7 +4127,7 @@ var ChatHeader = function ChatHeader(_ref) {
4117
4127
  alignItems: "center",
4118
4128
  gap: "24px",
4119
4129
  color: "#5458D5"
4120
- }, React.createElement(Box, {
4130
+ }, isTabletUp && React.createElement(Box, {
4121
4131
  display: "flex",
4122
4132
  justifyContent: "space-between",
4123
4133
  alignItems: "center",
@@ -4130,7 +4140,7 @@ var ChatHeader = function ChatHeader(_ref) {
4130
4140
  fontWeight: 700,
4131
4141
  fontSize: "14px",
4132
4142
  lineHeight: "16.71px"
4133
- }, fullName)), React.createElement(Box, {
4143
+ }, ellipsisText(fullName || "", 10))), React.createElement(Box, {
4134
4144
  display: "flex",
4135
4145
  alignItems: "center",
4136
4146
  gap: "24px",
@@ -4139,7 +4149,7 @@ var ChatHeader = function ChatHeader(_ref) {
4139
4149
  fontWeight: 600,
4140
4150
  fontSize: "12px",
4141
4151
  lineHeight: "14.32px"
4142
- }, examTitle) : React.createElement(Box, {
4152
+ }, ellipsisText(examTitle || "", 10)) : React.createElement(Box, {
4143
4153
  display: "flex",
4144
4154
  alignItems: "end",
4145
4155
  gap: "16px",
@@ -4284,7 +4294,7 @@ var ChatContainer = function ChatContainer(_ref) {
4284
4294
  container: true
4285
4295
  }, React.createElement(ChatHeader, Object.assign({}, chatHeaderProps)), React.createElement("div", {
4286
4296
  ref: listRef,
4287
- className: "flex-grow-1 " + styles["body"],
4297
+ className: "flex-grow-1 " + styles$1["body"],
4288
4298
  style: {
4289
4299
  height: "60vh",
4290
4300
  overflowY: "scroll",
@@ -4789,7 +4799,7 @@ var InputText = function InputText(props) {
4789
4799
  }, props));
4790
4800
  };
4791
4801
 
4792
- var styles$1 = {"question":"_2uc_W","question-article":"_2p7kY","question-title":"_2tHmc","question--active":"_3IHYm","question-label":"_26ATj","question-input":"_3R8PR","question-btn":"_1VZac"};
4802
+ var styles$2 = {"question":"_2uc_W","question-article":"_2p7kY","question-title":"_2tHmc","question--active":"_3IHYm","question-label":"_26ATj","question-input":"_3R8PR","question-btn":"_1VZac"};
4793
4803
 
4794
4804
  var SCORE_OPTIONS = Array.from({
4795
4805
  length: 10
@@ -4846,12 +4856,15 @@ var QuestionView = function QuestionView(_ref) {
4846
4856
  var handleChangeCorrectAnswer = function handleChangeCorrectAnswer(e) {
4847
4857
  return onChangeCorrectAnswers(e.target.value, index);
4848
4858
  };
4849
- return React.createElement("div", {
4850
- className: "d-flex justify-content-between"
4851
- }, React.createElement("div", {
4852
- className: "d-flex flex-grow-1"
4859
+ return React.createElement(Grid, {
4860
+ container: true,
4861
+ spacing: "16px"
4862
+ }, React.createElement(Grid, {
4863
+ item: true,
4864
+ xs: 12,
4865
+ lg: 9
4853
4866
  }, React.createElement("div", {
4854
- className: styles$1["question-title"] + " me-2 text-nowrap"
4867
+ className: styles$2["question-title"] + " me-2 text-nowrap"
4855
4868
  }, t("problem_number_question", {
4856
4869
  number: question.questionOrder + 1
4857
4870
  })), React.createElement(FormControl, {
@@ -4867,7 +4880,7 @@ var QuestionView = function QuestionView(_ref) {
4867
4880
  }).map(function (i) {
4868
4881
  return React.createElement(FormControlLabel, {
4869
4882
  key: i,
4870
- className: styles$1["question-label"] + " w-fit",
4883
+ className: styles$2["question-label"] + " w-fit",
4871
4884
  labelPlacement: "top",
4872
4885
  value: i,
4873
4886
  onChange: handleChangeCorrectAnswer,
@@ -4879,10 +4892,12 @@ var QuestionView = function QuestionView(_ref) {
4879
4892
  number: i
4880
4893
  })
4881
4894
  });
4882
- })))), React.createElement("div", {
4883
- className: "d-flex align-items-center"
4895
+ })))), React.createElement(Grid, {
4896
+ item: true,
4897
+ xs: 12,
4898
+ lg: 3,
4899
+ mb: "16px"
4884
4900
  }, React.createElement(FormControl, {
4885
- className: "mx-3",
4886
4901
  style: {
4887
4902
  width: "140px"
4888
4903
  }
@@ -5086,6 +5101,8 @@ var ArticleGroupView = function ArticleGroupView(_ref) {
5086
5101
  subjectId: defaultCategoryOptions === undefined ? selectedSubject === null || selectedSubject === void 0 ? void 0 : selectedSubject.id : undefined
5087
5102
  }),
5088
5103
  categoryOptions = _useCategorySelect.categoryOptions;
5104
+ var theme = useTheme();
5105
+ var isTabletUp = useMediaQuery(theme.breakpoints.up('lg'));
5089
5106
  var handleChangeQuestionCount = function handleChangeQuestionCount(value) {
5090
5107
  onChangeQuestionCount(article, value === null || value === void 0 ? void 0 : value.value, answerCount);
5091
5108
  };
@@ -5105,7 +5122,7 @@ var ArticleGroupView = function ArticleGroupView(_ref) {
5105
5122
  onDelete === null || onDelete === void 0 ? void 0 : onDelete(article);
5106
5123
  };
5107
5124
  return React.createElement("div", {
5108
- className: "d-flex " + styles$1["question"] + " " + (isActive ? styles$1["question--active"] : "")
5125
+ className: "d-flex " + styles$2["question"] + " " + (isActive ? styles$2["question--active"] : "")
5109
5126
  }, React.createElement("div", {
5110
5127
  className: "py-1"
5111
5128
  }, React.createElement(PiDotsNineLight, {
@@ -5113,20 +5130,30 @@ var ArticleGroupView = function ArticleGroupView(_ref) {
5113
5130
  })), React.createElement("div", {
5114
5131
  className: "px-4"
5115
5132
  }, React.createElement("p", {
5116
- className: "mb-0 " + styles$1["question-article"]
5133
+ className: "mb-0 " + styles$2["question-article"]
5117
5134
  }, t("article_number")), React.createElement("p", {
5118
- className: "text-center " + styles$1["question-article"]
5135
+ className: "text-center " + styles$2["question-article"]
5119
5136
  }, article)), React.createElement("div", {
5120
5137
  className: "flex-grow-1"
5121
5138
  }, React.createElement(Grid, {
5122
5139
  container: true,
5123
5140
  spacing: 3
5124
- }, React.createElement(Grid, {
5141
+ }, !isTabletUp && React.createElement(Grid, {
5125
5142
  item: true,
5126
- xs: 3
5143
+ xs: 12,
5144
+ className: "d-flex justify-content-end"
5145
+ }, isDeletable && !isDisabled && React.createElement("div", null, React.createElement(IconButton, {
5146
+ onClick: handleDelete
5147
+ }, React.createElement(FaTrash, {
5148
+ size: 16,
5149
+ className: "text-danger"
5150
+ })))), React.createElement(Grid, {
5151
+ item: true,
5152
+ xs: 12,
5153
+ lg: 3
5127
5154
  }, React.createElement(FormGroup, null, React.createElement(FormLabel, {
5128
5155
  htmlFor: "question_count",
5129
- className: styles$1["question-label"] + " form-label"
5156
+ className: styles$2["question-label"] + " form-label"
5130
5157
  }, t("question_count")), React.createElement(QuestionCountSelector, {
5131
5158
  id: "question_count",
5132
5159
  value: questionCount,
@@ -5134,10 +5161,11 @@ var ArticleGroupView = function ArticleGroupView(_ref) {
5134
5161
  isDisabled: isDisabled
5135
5162
  }))), React.createElement(Grid, {
5136
5163
  item: true,
5137
- xs: 3
5164
+ xs: 12,
5165
+ lg: 3
5138
5166
  }, React.createElement(FormGroup, null, React.createElement(FormLabel, {
5139
5167
  htmlFor: "category",
5140
- className: styles$1["question-label"] + " form-label"
5168
+ className: styles$2["question-label"] + " form-label"
5141
5169
  }, t("category")), React.createElement(ArticleCategorySelector, {
5142
5170
  id: "category",
5143
5171
  value: categoryId,
@@ -5147,16 +5175,17 @@ var ArticleGroupView = function ArticleGroupView(_ref) {
5147
5175
  placeholder: t("select_category")
5148
5176
  }))), React.createElement(Grid, {
5149
5177
  item: true,
5150
- xs: 3
5178
+ xs: 12,
5179
+ lg: 3
5151
5180
  }, React.createElement(FormGroup, null, React.createElement(FormLabel, {
5152
5181
  htmlFor: "answer_count",
5153
- className: styles$1["question-label"] + " form-label"
5182
+ className: styles$2["question-label"] + " form-label"
5154
5183
  }, t("answer_count")), React.createElement(AnswerCountSelector, {
5155
5184
  id: "answer_count",
5156
5185
  value: answerCount,
5157
5186
  onChange: handleChangeAnswerCount,
5158
5187
  isDisabled: isDisabled
5159
- }))), React.createElement(Grid, {
5188
+ }))), isTabletUp && React.createElement(Grid, {
5160
5189
  item: true,
5161
5190
  xs: 3,
5162
5191
  className: "d-flex justify-content-end"
@@ -5248,6 +5277,8 @@ var ChapterBox = function ChapterBox(_ref) {
5248
5277
  var handleUpdateArticleQuestionScore = function handleUpdateArticleQuestionScore(article, index, score) {
5249
5278
  onUpdateArticleQuestion === null || onUpdateArticleQuestion === void 0 ? void 0 : onUpdateArticleQuestion(article, index, score, "score", data.articles, data.id, parentChapterId);
5250
5279
  };
5280
+ var theme = useTheme();
5281
+ var isTabletUp = useMediaQuery(theme.breakpoints.up('lg'));
5251
5282
  var handleChangeName = function handleChangeName(e) {
5252
5283
  var text = e.target.value;
5253
5284
  onChangeName === null || onChangeName === void 0 ? void 0 : onChangeName(text, data.id, parentChapterId);
@@ -5295,17 +5326,52 @@ var ChapterBox = function ChapterBox(_ref) {
5295
5326
  className: "text-danger"
5296
5327
  }))), React.createElement("div", {
5297
5328
  className: "p-3 d-flex justify-content-between"
5329
+ }, React.createElement(Grid, {
5330
+ container: true
5331
+ }, React.createElement(Grid, {
5332
+ item: true,
5333
+ xs: 12
5334
+ }, React.createElement(Grid, {
5335
+ container: true,
5336
+ spacing: 2
5337
+ }, !isTabletUp && React.createElement(Grid, {
5338
+ item: true,
5339
+ xs: 12
5298
5340
  }, React.createElement(Stack, {
5299
- spacing: 2,
5300
- direction: "row"
5301
- }, React.createElement(Box, {
5341
+ direction: "row",
5342
+ justifyContent: "end",
5343
+ spacing: 2
5344
+ }, !parentChapterId && !data.articles.length && React.createElement(Button, {
5345
+ className: "mx-1",
5346
+ variant: "contained",
5347
+ color: "primary",
5348
+ disabled: isReadonly,
5349
+ startIcon: React.createElement(FaPlus, {
5350
+ size: 12
5351
+ }),
5352
+ onClick: handleClickAddSubchapter
5353
+ }, t("add_subchapter")), data.subChapters.length === 0 && React.createElement(Button, {
5354
+ className: "mx-1",
5355
+ variant: "contained",
5356
+ color: "success",
5357
+ disabled: isReadonly,
5358
+ startIcon: React.createElement(FaPlus, {
5359
+ size: 12
5360
+ }),
5361
+ onClick: handleAddArticle
5362
+ }, t("add_article")))), React.createElement(Grid, {
5363
+ item: true,
5364
+ xs: 12,
5365
+ lg: 4,
5302
5366
  sx: {
5303
5367
  display: "flex",
5304
5368
  alignItems: "center",
5305
- marginRight: "16px",
5306
5369
  width: "50%"
5307
5370
  }
5308
5371
  }, React.createElement("label", {
5372
+ style: {
5373
+ minWidth: "90px"
5374
+ },
5309
5375
  className: "fw-bold text-nowrap me-2"
5310
5376
  }, t("page.from"), ":"), React.createElement(InputText, {
5311
5377
  type: "number",
@@ -5315,13 +5381,19 @@ var ChapterBox = function ChapterBox(_ref) {
5315
5381
  onChange: handleChangePageFrom,
5316
5382
  placeholder: t("page.from_placeholder"),
5317
5383
  error: data.pageFrom > data.pageTo || data.pageFrom < 0
5318
- })), React.createElement(Box, {
5384
+ })), React.createElement(Grid, {
5385
+ item: true,
5386
+ xs: 12,
5387
+ lg: 4,
5319
5388
  sx: {
5320
5389
  display: "flex",
5321
5390
  alignItems: "center",
5322
5391
  width: "50%"
5323
5392
  }
5324
5393
  }, React.createElement("label", {
5394
+ style: {
5395
+ minWidth: "90px"
5396
+ },
5325
5397
  className: "fw-bold text-nowrap me-2"
5326
5398
  }, t("page.to"), ":"), React.createElement(InputText, {
5327
5399
  type: "number",
@@ -5331,7 +5403,10 @@ var ChapterBox = function ChapterBox(_ref) {
5331
5403
  onChange: handleChangePageTo,
5332
5404
  placeholder: t("page.to_placeholder"),
5333
5405
  error: data.pageTo < data.pageFrom
5334
- }))), React.createElement(Stack, {
5406
+ })), isTabletUp && React.createElement(Grid, {
5407
+ item: true,
5408
+ lg: 4
5409
+ }, React.createElement(Stack, {
5335
5410
  direction: "row",
5336
5411
  justifyContent: "end",
5337
5412
  spacing: 2
@@ -5353,7 +5428,7 @@ var ChapterBox = function ChapterBox(_ref) {
5353
5428
  size: 12
5354
5429
  }),
5355
5430
  onClick: handleAddArticle
5356
- }, t("add_article")))), React.createElement("div", {
5431
+ }, t("add_article")))))))), React.createElement("div", {
5357
5432
  className: "p-3"
5358
5433
  }, React.createElement(Stack, {
5359
5434
  spacing: 2
@@ -6616,9 +6691,9 @@ var SubjectSelector = function SubjectSelector(_ref) {
6616
6691
  !minimumTextSearchLength && defaultValueAtFirst && options.length && onChange(options[0], subjects[0]);
6617
6692
  }, [JSON.stringify(options), JSON.stringify(subjects), defaultValueAtFirst, minimumTextSearchLength]);
6618
6693
  return React.createElement(FormGroup, {
6619
- className: "" + styleGlobal["filter-item"]
6694
+ className: "" + styles["filter-item"]
6620
6695
  }, !!title && React.createElement("label", {
6621
- className: "" + styleGlobal["title-form"]
6696
+ className: "" + styles["title-form"]
6622
6697
  }, title), React.createElement(CustomSelectOption, {
6623
6698
  options: options,
6624
6699
  inputValue: searchString,
@@ -7072,7 +7147,7 @@ var LayoutList = function LayoutList(_ref) {
7072
7147
  var children = _ref.children,
7073
7148
  title = _ref.title;
7074
7149
  return React.createElement(Box, {
7075
- className: 'bg-white p-5'
7150
+ className: 'bg-white p-3'
7076
7151
  }, React.createElement(Stack, {
7077
7152
  direction: "row",
7078
7153
  alignItems: "center",
@@ -7087,12 +7162,12 @@ var SortIcon = function SortIcon(_ref) {
7087
7162
  var isAscending = _ref.isAscending,
7088
7163
  onClick = _ref.onClick;
7089
7164
  return React.createElement("div", {
7090
- className: "d-flex flex-column " + styleGlobal["sort-icons"],
7165
+ className: "d-flex flex-column " + styles["sort-icons"],
7091
7166
  onClick: onClick
7092
7167
  }, React.createElement(FaSortUp, {
7093
- className: isAscending === true ? styleGlobal["active"] : ""
7168
+ className: isAscending === true ? styles["active"] : ""
7094
7169
  }), React.createElement(FaSortDown, {
7095
- className: isAscending === false ? styleGlobal["active"] : ""
7170
+ className: isAscending === false ? styles["active"] : ""
7096
7171
  }));
7097
7172
  };
7098
7173
 
@@ -7595,17 +7670,17 @@ var ExamDetailView = function ExamDetailView(_ref) {
7595
7670
  return React.createElement(Grid, {
7596
7671
  container: true,
7597
7672
  spacing: 3,
7598
- className: className + " " + styleGlobal["custom-row"]
7673
+ className: className + " " + styles["custom-row"]
7599
7674
  }, React.createElement(Grid, {
7600
7675
  item: true,
7601
7676
  xs: 5,
7602
7677
  className: 'mb-2'
7603
7678
  }, React.createElement("label", {
7604
- className: styleGlobal["form-label"] + " " + styles$1["question-label"],
7679
+ className: styles["form-label"] + " " + styles$2["question-label"],
7605
7680
  htmlFor: "title"
7606
7681
  }, t("title")), React.createElement("input", {
7607
7682
  disabled: isDisabled,
7608
- className: "" + styleGlobal["form-control"],
7683
+ className: "" + styles["form-control"],
7609
7684
  value: exam.title,
7610
7685
  id: "title",
7611
7686
  placeholder: t("enter_title"),
@@ -7615,7 +7690,7 @@ var ExamDetailView = function ExamDetailView(_ref) {
7615
7690
  xs: 3,
7616
7691
  className: 'mb-2'
7617
7692
  }, React.createElement("label", {
7618
- className: styleGlobal["form-label"] + " " + styles$1["question-label"],
7693
+ className: styles["form-label"] + " " + styles$2["question-label"],
7619
7694
  htmlFor: "duration"
7620
7695
  }, t("duration")), React.createElement(CustomSelect, {
7621
7696
  inputId: "duration",
@@ -7628,7 +7703,7 @@ var ExamDetailView = function ExamDetailView(_ref) {
7628
7703
  xs: 3,
7629
7704
  className: 'mb-2'
7630
7705
  }, React.createElement("label", {
7631
- className: styleGlobal["form-label"] + " " + styles$1["question-label"],
7706
+ className: styles["form-label"] + " " + styles$2["question-label"],
7632
7707
  htmlFor: "duration"
7633
7708
  }, t("subject"), " ", selectedSubject === null || selectedSubject === void 0 ? void 0 : selectedSubject.name), React.createElement(CustomSelect, {
7634
7709
  inputId: "subject",
@@ -7659,7 +7734,7 @@ var ExamDetailView = function ExamDetailView(_ref) {
7659
7734
  xs: 12
7660
7735
  }, React.createElement("button", {
7661
7736
  disabled: isDisabled,
7662
- className: styleGlobal["btn-outline-primary"] + " w-100 d-flex justify-content-center align-items-center " + styles$1["question-btn"] + " mt-3",
7737
+ className: styles["btn-outline-primary"] + " w-100 d-flex justify-content-center align-items-center " + styles$2["question-btn"] + " mt-3",
7663
7738
  onClick: handleAddArticle
7664
7739
  }, React.createElement(FaPlusCircle, {
7665
7740
  className: "me-2"
@@ -9861,7 +9936,7 @@ Object.defineProperty(exports,"__esModule",{value:!0});var _typeof="function"==t
9861
9936
 
9862
9937
  var ReactApexChart = unwrapExports(reactApexcharts_min);
9863
9938
 
9864
- var styles$2 = {"titleBox":"_1dveO","title":"_mxRxf","point":"_2fD-F","buttonGroup":"_2DGl3","btnFeedback":"_xGW1x","btnTerminate":"_3mLu2","myanswer":"_eDBpS","titleMyAnswer1":"_2fMq3","titleMyAnswer2":"_3gEYh","contentMyAnswer":"_2K_sx","myAnswerItem":"_2qiLh","time":"_6TCOK","timeCol":"_hmseC","answer-response":"_3GfJt","answer-response-0":"_3ut64","answer-response-1":"_2VtpD","answer-response-2":"_58lQU","answer-response-3":"_1ucMY","answer-response-4":"_1qkxy","answerCorrect":"_2jIeT","answerIncorrect":"_to2v0","answerNograss":"_1JSte","answerEasy":"_2_uTU","answerDiscrimination":"_1DBoA","answerTrap":"_1q3tD","answerNoTime":"_3iItu","questionOrder":"_1fNkS","myTimeLabel":"_1Z_F3","myPoolTime":"_4KwG0","topTimeLabel":"_245H-","topTime":"_3tZqw","meanTimeLabel":"_PlPLY","meanTime":"_12a7R","compareChart":"_3MW16","prevChart":"_1fNkb","chart":"_3K4oY","nextChart":"_3YKBp","titleChart":"_13BVP","compareGrass":"_1_fJu","titleCompareGrass":"_o1txm","tableCompareGrass":"_bT5nf","thcolumn1":"_3Umg0","tdcolumn1":"_3dRMF","tdcolumn3":"_2tcBP","classification":"_1AFeb","wrapperProblem":"_oTqG7","titleProblem":"_35eIx","titleProblemClose":"_3t4HO","titleTrickyProblem":"_1-oxK","wrongQuestions":"_2dpMR","question":"_1lSOX","assignedQuestions":"_1ONUt","wrapperContent":"_nPoR0","content":"_2zmZn","contentColumn1":"_334SY","span1":"_3Lf-U","span2":"_ZpMot","contentColumn2":"_16P3l","duration":"_1kT28","topDuration":"_1fVRi","overallCorrectRate":"_3jLGe","answer":"_VsZ0K","contentVulnerable":"_QxKMy","wrappContentProblem":"_nnqpW","contentProblem":"_3Z1nV","labelProblem":"_36Xpx","name":"_3ZJQW","percent":"_2J3MK","slider":"_1MPdO","track":"_3CV_y","noData":"__g-ff","loading":"_3j485","table-responsive":"_2O6RX","form-label":"_1RYOQ","form-control":"_3VRVT","form-label-dialog":"_3oCSh","btn-cancel":"_3USKq","btn-register":"_3y_iD","pdfBtnBox":"_3xZHo","pdfBtn":"_1DtWq","form-select":"_1a_vw"};
9939
+ var styles$3 = {"titleBox":"_1dveO","title":"_mxRxf","point":"_2fD-F","buttonGroup":"_2DGl3","btnFeedback":"_xGW1x","btnTerminate":"_3mLu2","myanswer":"_eDBpS","titleMyAnswer1":"_2fMq3","titleMyAnswer2":"_3gEYh","contentMyAnswer":"_2K_sx","myAnswerItem":"_2qiLh","time":"_6TCOK","timeCol":"_hmseC","answer-response":"_3GfJt","answer-response-0":"_3ut64","answer-response-1":"_2VtpD","answer-response-2":"_58lQU","answer-response-3":"_1ucMY","answer-response-4":"_1qkxy","answerCorrect":"_2jIeT","answerIncorrect":"_to2v0","answerNograss":"_1JSte","answerEasy":"_2_uTU","answerDiscrimination":"_1DBoA","answerTrap":"_1q3tD","answerNoTime":"_3iItu","questionOrder":"_1fNkS","myTimeLabel":"_1Z_F3","myPoolTime":"_4KwG0","topTimeLabel":"_245H-","topTime":"_3tZqw","meanTimeLabel":"_PlPLY","meanTime":"_12a7R","compareChart":"_3MW16","prevChart":"_1fNkb","chart":"_3K4oY","nextChart":"_3YKBp","titleChart":"_13BVP","compareGrass":"_1_fJu","titleCompareGrass":"_o1txm","tableCompareGrass":"_bT5nf","thcolumn1":"_3Umg0","tdcolumn1":"_3dRMF","tdcolumn3":"_2tcBP","classification":"_1AFeb","wrapperProblem":"_oTqG7","titleProblem":"_35eIx","titleProblemClose":"_3t4HO","titleTrickyProblem":"_1-oxK","wrongQuestions":"_2dpMR","question":"_1lSOX","assignedQuestions":"_1ONUt","wrapperContent":"_nPoR0","content":"_2zmZn","contentColumn1":"_334SY","span1":"_3Lf-U","span2":"_ZpMot","contentColumn2":"_16P3l","duration":"_1kT28","topDuration":"_1fVRi","overallCorrectRate":"_3jLGe","answer":"_VsZ0K","contentVulnerable":"_QxKMy","wrappContentProblem":"_nnqpW","contentProblem":"_3Z1nV","labelProblem":"_36Xpx","name":"_3ZJQW","percent":"_2J3MK","slider":"_1MPdO","track":"_3CV_y","noData":"__g-ff","loading":"_3j485","table-responsive":"_2O6RX","form-label":"_1RYOQ","form-control":"_3VRVT","form-label-dialog":"_3oCSh","btn-cancel":"_3USKq","btn-register":"_3y_iD","pdfBtnBox":"_3xZHo","pdfBtn":"_1DtWq","form-select":"_1a_vw"};
9865
9940
 
9866
9941
  var iconStarQuestion = function iconStarQuestion(_ref) {
9867
9942
  var _ref$width = _ref.width,
@@ -10152,7 +10227,7 @@ function CreateNewQuestionDialog(_ref) {
10152
10227
  padding: "24px 24px 40px 24px"
10153
10228
  }, React.createElement(Stack, null, React.createElement("label", {
10154
10229
  htmlFor: "questions",
10155
- className: styleGlobal['form-label'] + " " + styles$2['form-label-dialog']
10230
+ className: styles['form-label'] + " " + styles$3['form-label-dialog']
10156
10231
  }, "\uC9C8\uBB38\uD560 \uBB38\uC81C"), React.createElement(Field, {
10157
10232
  as: "select",
10158
10233
  id: "questions",
@@ -10160,7 +10235,7 @@ function CreateNewQuestionDialog(_ref) {
10160
10235
  style: {
10161
10236
  width: "100%"
10162
10237
  },
10163
- className: "" + styleGlobal['form-select']
10238
+ className: "" + styles['form-select']
10164
10239
  }, questions === null || questions === void 0 ? void 0 : questions.map(function (question) {
10165
10240
  return React.createElement("option", {
10166
10241
  value: question === null || question === void 0 ? void 0 : question.id
@@ -10169,7 +10244,7 @@ function CreateNewQuestionDialog(_ref) {
10169
10244
  }));
10170
10245
  }))), React.createElement(Stack, null, React.createElement("label", {
10171
10246
  htmlFor: "content-question",
10172
- className: styleGlobal['form-label'] + " " + styles$2['form-label-dialog']
10247
+ className: styles['form-label'] + " " + styles$3['form-label-dialog']
10173
10248
  }, "\uC9C8\uBB38 \uB0B4\uC6A9"), React.createElement(Box, {
10174
10249
  position: 'relative',
10175
10250
  display: 'flex',
@@ -10182,7 +10257,7 @@ function CreateNewQuestionDialog(_ref) {
10182
10257
  },
10183
10258
  name: "content",
10184
10259
  placeholder: "\uBB38\uC81C\uAC00 \uC5B4\uB824\uC6CC\uC694",
10185
- className: styleGlobal['form-control']
10260
+ className: styles['form-control']
10186
10261
  }), (errors === null || errors === void 0 ? void 0 : errors.content) && React.createElement(Box, {
10187
10262
  position: 'absolute',
10188
10263
  right: 0,
@@ -10205,14 +10280,14 @@ function CreateNewQuestionDialog(_ref) {
10205
10280
  borderTop: "1px solid #CED2DA"
10206
10281
  }
10207
10282
  }, React.createElement(Button$1, {
10208
- className: styles$2['btn-cancel'],
10283
+ className: styles$3['btn-cancel'],
10209
10284
  onClick: toggleCreateQuestion
10210
10285
  }, React.createElement(Typography$1, {
10211
10286
  fontWeight: 700,
10212
10287
  fontSize: '14px',
10213
10288
  lineHeight: '16.71px'
10214
10289
  }, "\uCDE8\uC18C")), React.createElement(Button$1, {
10215
- className: styles$2['btn-register'],
10290
+ className: styles$3['btn-register'],
10216
10291
  type: "submit"
10217
10292
  }, React.createElement(Typography$1, {
10218
10293
  fontWeight: 700,
@@ -10244,7 +10319,7 @@ function MyAnswer(_ref) {
10244
10319
  toggleCreateQuestion();
10245
10320
  };
10246
10321
  return React.createElement("div", {
10247
- className: styles$2["myanswer"]
10322
+ className: styles$3["myanswer"]
10248
10323
  }, formattedData && formattedData.length > 0 && formattedData.map(function (item) {
10249
10324
  return React.createElement("div", {
10250
10325
  key: item.category.id
@@ -10252,9 +10327,9 @@ function MyAnswer(_ref) {
10252
10327
  bgcolor: "#F9FAFB",
10253
10328
  flexDirection: "row",
10254
10329
  padding: "12px",
10255
- className: styles$2["myAnswerItem"] + " " + styleGlobal["noGutters"]
10330
+ className: styles$3["myAnswerItem"] + " " + styles["noGutters"]
10256
10331
  }, React.createElement("div", {
10257
- className: styleGlobal["custom-col-2"],
10332
+ className: styles["custom-col-2"],
10258
10333
  style: {
10259
10334
  display: "flex",
10260
10335
  gap: "4px"
@@ -10266,7 +10341,7 @@ function MyAnswer(_ref) {
10266
10341
  color: "#97A1AF"
10267
10342
  }
10268
10343
  }, "\uBB38\uC81C \uBC88\uD638")), React.createElement("div", {
10269
- className: styleGlobal["custom-col-2"],
10344
+ className: styles["custom-col-2"],
10270
10345
  style: {
10271
10346
  display: "flex",
10272
10347
  gap: "4px"
@@ -10278,7 +10353,7 @@ function MyAnswer(_ref) {
10278
10353
  color: "#97A1AF"
10279
10354
  }
10280
10355
  }, "\uC815\uB2F5")), React.createElement("div", {
10281
- className: styleGlobal["custom-col-2"],
10356
+ className: styles["custom-col-2"],
10282
10357
  style: {
10283
10358
  display: "flex",
10284
10359
  gap: "4px"
@@ -10290,7 +10365,7 @@ function MyAnswer(_ref) {
10290
10365
  color: "#97A1AF"
10291
10366
  }
10292
10367
  }, "\uD480\uC774 \uC2DC\uAC04")), React.createElement("div", {
10293
- className: styleGlobal["custom-col-2"],
10368
+ className: styles["custom-col-2"],
10294
10369
  style: {
10295
10370
  display: "flex",
10296
10371
  alignItems: "center",
@@ -10303,7 +10378,7 @@ function MyAnswer(_ref) {
10303
10378
  color: "#97A1AF"
10304
10379
  }
10305
10380
  }, "\uC0C1\uC704\uAD8C \uBE44\uAD50")), React.createElement("div", {
10306
- className: styleGlobal["custom-col-2"],
10381
+ className: styles["custom-col-2"],
10307
10382
  style: {
10308
10383
  display: "flex",
10309
10384
  alignItems: "center",
@@ -10316,7 +10391,7 @@ function MyAnswer(_ref) {
10316
10391
  color: "#97A1AF"
10317
10392
  }
10318
10393
  }, "\uC804\uCCB4 \uC815\uB2F5\uB960"))), React.createElement("div", {
10319
- className: styles$2["titleMyAnswer2"]
10394
+ className: styles$3["titleMyAnswer2"]
10320
10395
  }, React.createElement(Typography, {
10321
10396
  sx: {
10322
10397
  color: "#97A1AF",
@@ -10329,7 +10404,7 @@ function MyAnswer(_ref) {
10329
10404
  fontWeight: 700
10330
10405
  }
10331
10406
  }, item.category.name)), React.createElement("div", {
10332
- className: styles$2["contentMyAnswer"]
10407
+ className: styles$3["contentMyAnswer"]
10333
10408
  }, item.questions.map(function (question, index) {
10334
10409
  return React.createElement("div", {
10335
10410
  style: isOpenTime[question.id] ? {
@@ -10338,9 +10413,9 @@ function MyAnswer(_ref) {
10338
10413
  } : {},
10339
10414
  key: question.id
10340
10415
  }, React.createElement("div", {
10341
- className: styles$2["myAnswerItem"] + " " + styleGlobal["noGutters"]
10416
+ className: styles$3["myAnswerItem"] + " " + styles["noGutters"]
10342
10417
  }, React.createElement("div", {
10343
- className: styleGlobal["custom-col-2"],
10418
+ className: styles["custom-col-2"],
10344
10419
  style: {
10345
10420
  display: "flex",
10346
10421
  alignItems: "center",
@@ -10348,22 +10423,22 @@ function MyAnswer(_ref) {
10348
10423
  padding: "4px 8px"
10349
10424
  }
10350
10425
  }, question.isStar ? React.createElement(iconStarQuestion, null) : React.createElement(iconNoStarQuestion, null), React.createElement("span", {
10351
- className: styles$2["questionOrder"]
10426
+ className: styles$3["questionOrder"]
10352
10427
  }, question.questionOrder + 1, "\uBC88")), React.createElement("div", {
10353
- className: styleGlobal["custom-col-2"],
10428
+ className: styles["custom-col-2"],
10354
10429
  style: {
10355
10430
  display: "flex",
10356
10431
  alignItems: "center",
10357
10432
  gap: "4px"
10358
10433
  }
10359
10434
  }, question.isCorrect && question.selectedAnswers !== "" && React.createElement(Fragment$1, null, React.createElement(iconCorrectAnswer, null), React.createElement("span", {
10360
- className: styles$2["answerCorrect"]
10435
+ className: styles$3["answerCorrect"]
10361
10436
  }, "\uC815\uB2F5")), !question.isCorrect && question.selectedAnswers !== "" && React.createElement(Fragment$1, null, React.createElement(iconCorrectAnswer$1, null), React.createElement("span", {
10362
- className: styles$2["answerIncorrect"]
10437
+ className: styles$3["answerIncorrect"]
10363
10438
  }, "\uC624\uB2F5")), question.selectedAnswers === "" && React.createElement(Fragment$1, null, React.createElement(iconNoGrass, null), React.createElement("span", {
10364
- className: styles$2["answerNograss"]
10439
+ className: styles$3["answerNograss"]
10365
10440
  }, "\uD480\uC774 \uC5C6\uC74C"))), React.createElement("div", {
10366
- className: styleGlobal["custom-col-2"],
10441
+ className: styles["custom-col-2"],
10367
10442
  style: {
10368
10443
  display: "flex",
10369
10444
  alignItems: "center"
@@ -10372,14 +10447,14 @@ function MyAnswer(_ref) {
10372
10447
  style: {
10373
10448
  margin: 0
10374
10449
  },
10375
- className: styles$2["answer-response"] + " " + styles$2["answer-response-" + question.answerResponseSignal]
10450
+ className: styles$3["answer-response"] + " " + styles$3["answer-response-" + question.answerResponseSignal]
10376
10451
  }, formatTimeSecond(Math.round(question.duration), t)) : React.createElement("p", {
10377
10452
  style: {
10378
10453
  margin: 0
10379
10454
  },
10380
- className: styles$2["answerNoTime"]
10455
+ className: styles$3["answerNoTime"]
10381
10456
  }, "\uC2DC\uAC04 \uC5C6\uC74C")), React.createElement("div", {
10382
- className: styleGlobal["custom-col-2"],
10457
+ className: styles["custom-col-2"],
10383
10458
  style: {
10384
10459
  display: "flex",
10385
10460
  alignItems: "center"
@@ -10388,15 +10463,15 @@ function MyAnswer(_ref) {
10388
10463
  style: {
10389
10464
  margin: 0
10390
10465
  },
10391
- className: styles$2["answer-response"] + " " + styles$2["answer-response-" + question.answerResponseSignal]
10466
+ className: styles$3["answer-response"] + " " + styles$3["answer-response-" + question.answerResponseSignal]
10392
10467
  }, formatTimeSecond(Math.round(question.topDuration - question.duration), t)) : React.createElement("p", {
10393
10468
  style: {
10394
10469
  margin: 0,
10395
10470
  textAlign: "center"
10396
10471
  },
10397
- className: styles$2["answerNoTime"]
10472
+ className: styles$3["answerNoTime"]
10398
10473
  }, "-")), React.createElement("div", {
10399
- className: styleGlobal["custom-col-2"],
10474
+ className: styles["custom-col-2"],
10400
10475
  style: {
10401
10476
  display: "flex",
10402
10477
  alignItems: "center"
@@ -10405,14 +10480,14 @@ function MyAnswer(_ref) {
10405
10480
  style: {
10406
10481
  margin: 0
10407
10482
  },
10408
- className: styles$2["answer-response"] + " " + styles$2["answer-response-" + question.answerResponseSignal]
10483
+ className: styles$3["answer-response"] + " " + styles$3["answer-response-" + question.answerResponseSignal]
10409
10484
  }, question.overallCorrectRate + "%") : React.createElement("p", {
10410
10485
  style: {
10411
10486
  margin: 0
10412
10487
  },
10413
- className: styles$2["answerNoTime"]
10488
+ className: styles$3["answerNoTime"]
10414
10489
  }, "\uC2DC\uAC04 \uC5C6\uC74C")), isStudent && React.createElement("div", {
10415
- className: styleGlobal["custom-col-2"],
10490
+ className: styles["custom-col-2"],
10416
10491
  style: {
10417
10492
  display: "flex",
10418
10493
  alignItems: "center",
@@ -10481,11 +10556,11 @@ var iconBtnNextChart = function iconBtnNextChart(_ref) {
10481
10556
  function CompareGrass(_ref) {
10482
10557
  var effectSize = _ref.effectSize;
10483
10558
  return React.createElement("div", {
10484
- className: styles$2["compareGrass"]
10559
+ className: styles$3["compareGrass"]
10485
10560
  }, React.createElement("div", {
10486
- className: styles$2["tableCompareGrass"]
10561
+ className: styles$3["tableCompareGrass"]
10487
10562
  }, React.createElement("div", {
10488
- className: styles$2["table-responsive"]
10563
+ className: styles$3["table-responsive"]
10489
10564
  }, React.createElement(Table, {
10490
10565
  style: {
10491
10566
  width: "100%"
@@ -10495,7 +10570,7 @@ function CompareGrass(_ref) {
10495
10570
  borderBottom: "1px solid #E4E7EC"
10496
10571
  }
10497
10572
  }, React.createElement("tr", null, React.createElement("th", {
10498
- className: styles$2["thcolumn1"]
10573
+ className: styles$3["thcolumn1"]
10499
10574
  }, "\uBB38\uC81C \uBC88\uD638"), React.createElement("th", {
10500
10575
  style: {
10501
10576
  textAlign: "center"
@@ -10519,14 +10594,14 @@ function CompareGrass(_ref) {
10519
10594
  borderBottom: "1px solid #e4e7ec"
10520
10595
  } : {}
10521
10596
  }, React.createElement("td", {
10522
- className: styles$2["tdcolumn1"]
10597
+ className: styles$3["tdcolumn1"]
10523
10598
  }, "\uBB38\uC81C ", item.questionOrder + 1), React.createElement("td", {
10524
10599
  style: {
10525
10600
  textAlign: "center",
10526
10601
  color: "#202B37"
10527
10602
  }
10528
10603
  }, item.correctAnswers, "\uBC88"), React.createElement("td", {
10529
- className: styles$2["tdcolumn3"],
10604
+ className: styles$3["tdcolumn3"],
10530
10605
  style: {
10531
10606
  color: item.isCorrect ? "#1EE288" : "#F34B4B"
10532
10607
  }
@@ -10536,7 +10611,7 @@ function CompareGrass(_ref) {
10536
10611
  color: "#414E62"
10537
10612
  }
10538
10613
  }, item.mostSelectedAnswers ? item.mostSelectedAnswers + "\uBC88" : ""), React.createElement("td", null, React.createElement("div", {
10539
- className: styles$2["classification"]
10614
+ className: styles$3["classification"]
10540
10615
  }, item.problemCategories.map(function (problem, index) {
10541
10616
  return React.createElement("div", {
10542
10617
  key: index
@@ -10663,9 +10738,9 @@ function TrickyProblem(_ref) {
10663
10738
  return i.isStar && i.isCorrect;
10664
10739
  });
10665
10740
  return React.createElement("div", {
10666
- className: styles$2["wrapperProblem"]
10741
+ className: styles$3["wrapperProblem"]
10667
10742
  }, React.createElement("div", {
10668
- className: !openProblem.problem1 ? styles$2["titleProblemClose"] : styles$2["titleProblem"],
10743
+ className: !openProblem.problem1 ? styles$3["titleProblemClose"] : styles$3["titleProblem"],
10669
10744
  onClick: function onClick() {
10670
10745
  return changeOpen(_extends({}, openProblem, {
10671
10746
  problem1: !openProblem.problem1
@@ -10678,27 +10753,27 @@ function TrickyProblem(_ref) {
10678
10753
  fontWeight: 700
10679
10754
  }
10680
10755
  }, "\uAE4C\uB2E4\uB85C\uC6E0\uB358 \uBB38\uC81C"), openProblem.problem1 ? React.createElement(iconUpArrow, null) : React.createElement(iconDownArrow, null)), openProblem.problem1 && React.createElement(Fragment$1, null, React.createElement("div", {
10681
- className: styles$2["titleTrickyProblem"]
10756
+ className: styles$3["titleTrickyProblem"]
10682
10757
  }, React.createElement(iconX, null), React.createElement("span", null, "\uBCC4\uD45C \uCE5C \uBB38\uC81C \uC911 \uD2C0\uB9B0 \uBB38\uC81C")), React.createElement("div", {
10683
- className: styles$2["wrongQuestions"]
10758
+ className: styles$3["wrongQuestions"]
10684
10759
  }, !!inCorrectQuestions.length && inCorrectQuestions.map(function (question) {
10685
10760
  return React.createElement("span", {
10686
10761
  key: question.id,
10687
- className: styles$2["question"]
10762
+ className: styles$3["question"]
10688
10763
  }, question.questionOrder + 1, "\uBC88");
10689
10764
  }), !data.questions.length && React.createElement("div", {
10690
- className: styles$2["noData"]
10765
+ className: styles$3["noData"]
10691
10766
  }, "\uB370\uC774\uD130 \uC5C6\uC74C")), React.createElement("div", {
10692
- className: styles$2["titleTrickyProblem"]
10767
+ className: styles$3["titleTrickyProblem"]
10693
10768
  }, React.createElement(iconAssignedQuestions, null), React.createElement("span", null, "\uBCC4\uD45C \uCE5C \uBB38\uC81C \uC911 \uB9DE\uCD98 \uBB38\uC81C")), React.createElement("div", {
10694
- className: styles$2["assignedQuestions"]
10769
+ className: styles$3["assignedQuestions"]
10695
10770
  }, !!correctQuestions.length && correctQuestions.map(function (question) {
10696
10771
  return React.createElement("div", {
10697
10772
  key: question.id,
10698
- className: styles$2["question"]
10773
+ className: styles$3["question"]
10699
10774
  }, question.questionOrder + 1, "\uBC88");
10700
10775
  }), !data.questions.length && React.createElement("div", {
10701
- className: styles$2["noData"]
10776
+ className: styles$3["noData"]
10702
10777
  }, "\uB370\uC774\uD130 \uC5C6\uC74C"))));
10703
10778
  }
10704
10779
 
@@ -10709,9 +10784,9 @@ function ProtractedProblem(_ref) {
10709
10784
  var _useTranslation = useTranslation(),
10710
10785
  t = _useTranslation.t;
10711
10786
  return React.createElement("div", {
10712
- className: styles$2["wrapperProblem"]
10787
+ className: styles$3["wrapperProblem"]
10713
10788
  }, React.createElement("div", {
10714
- className: !openProblem.problem2 ? styles$2["titleProblemClose"] : styles$2["titleProblem"],
10789
+ className: !openProblem.problem2 ? styles$3["titleProblemClose"] : styles$3["titleProblem"],
10715
10790
  onClick: function onClick() {
10716
10791
  return changeOpen(_extends({}, openProblem, {
10717
10792
  problem2: !openProblem.problem2
@@ -10724,30 +10799,30 @@ function ProtractedProblem(_ref) {
10724
10799
  fontWeight: 700
10725
10800
  }
10726
10801
  }, "\uC2DC\uAC04\uC774 \uC624\uB798 \uAC78\uB9B0 \uBB38\uC81C"), openProblem.problem2 ? React.createElement(iconUpArrow, null) : React.createElement(iconDownArrow, null)), openProblem.problem2 && React.createElement(Fragment$1, null, React.createElement("div", {
10727
- className: styles$2["wrapperContent"]
10802
+ className: styles$3["wrapperContent"]
10728
10803
  }, data.length ? data.map(function (item) {
10729
10804
  return React.createElement("div", {
10730
- className: styles$2["content"],
10805
+ className: styles$3["content"],
10731
10806
  key: item.id
10732
10807
  }, React.createElement("div", {
10733
- className: styles$2["contentColumn1"]
10808
+ className: styles$3["contentColumn1"]
10734
10809
  }, React.createElement("div", null, React.createElement("span", {
10735
- className: styles$2["span1"]
10810
+ className: styles$3["span1"]
10736
10811
  }, "\uBB38\uC81C"), React.createElement("span", {
10737
- className: styles$2["span2"]
10812
+ className: styles$3["span2"]
10738
10813
  }, item.questionOrder + 1, "\uBC88"))), React.createElement("div", {
10739
- className: styles$2["contentColumn2"]
10814
+ className: styles$3["contentColumn2"]
10740
10815
  }, React.createElement("div", null, React.createElement("span", {
10741
- className: styles$2["span1"]
10816
+ className: styles$3["span1"]
10742
10817
  }, "\uB098\uC758 \uC2DC\uAC04"), React.createElement("span", {
10743
- className: styles$2["span2"]
10818
+ className: styles$3["span2"]
10744
10819
  }, "\uC0C1\uC704\uAD8C \uC2DC\uAC04")), React.createElement("div", null, React.createElement("span", {
10745
- className: styles$2["duration"]
10820
+ className: styles$3["duration"]
10746
10821
  }, formatTimeSecond(item.duration, t)), React.createElement("span", {
10747
- className: styles$2["topDuration"]
10822
+ className: styles$3["topDuration"]
10748
10823
  }, formatTimeSecond(item.topDuration, t)))));
10749
10824
  }) : React.createElement("div", {
10750
- className: styles$2["noData"]
10825
+ className: styles$3["noData"]
10751
10826
  }, "\uB370\uC774\uD130 \uC5C6\uC74C"))));
10752
10827
  }
10753
10828
 
@@ -10761,9 +10836,9 @@ function Vulnerable(_ref) {
10761
10836
  return q2.overallCorrectRate === q1.overallCorrectRate ? q1.questionOrder - q2.questionOrder : q2.overallCorrectRate - q1.overallCorrectRate;
10762
10837
  });
10763
10838
  return React.createElement("div", {
10764
- className: styles$2["wrapperProblem"]
10839
+ className: styles$3["wrapperProblem"]
10765
10840
  }, React.createElement("div", {
10766
- className: !openProblem.problem3 ? styles$2["titleProblemClose"] : styles$2["titleProblem"],
10841
+ className: !openProblem.problem3 ? styles$3["titleProblemClose"] : styles$3["titleProblem"],
10767
10842
  onClick: function onClick() {
10768
10843
  return changeOpen(_extends({}, openProblem, {
10769
10844
  problem3: !openProblem.problem3
@@ -10776,30 +10851,30 @@ function Vulnerable(_ref) {
10776
10851
  fontWeight: 700
10777
10852
  }
10778
10853
  }, "\uB0B4\uAC00 \uCDE8\uC57D\uD55C \uBB38\uC81C"), openProblem.problem3 ? React.createElement(iconUpArrow, null) : React.createElement(iconDownArrow, null)), openProblem.problem3 && React.createElement(Fragment$1, null, React.createElement("div", {
10779
- className: styles$2["wrapperContent"]
10854
+ className: styles$3["wrapperContent"]
10780
10855
  }, incorrectQuestions.length ? React.createElement(Fragment$1, null, incorrectQuestions.map(function (question) {
10781
10856
  return React.createElement("div", {
10782
- className: styles$2["content"],
10857
+ className: styles$3["content"],
10783
10858
  key: question.id
10784
10859
  }, React.createElement("div", {
10785
- className: styles$2["contentColumn1"]
10860
+ className: styles$3["contentColumn1"]
10786
10861
  }, React.createElement("div", null, React.createElement("span", {
10787
- className: styles$2["span1"]
10862
+ className: styles$3["span1"]
10788
10863
  }, "\uBB38\uC81C"), React.createElement("span", {
10789
- className: styles$2["span2"]
10864
+ className: styles$3["span2"]
10790
10865
  }, question.questionOrder + 1, "\uBC88"))), React.createElement("div", {
10791
- className: styles$2["contentColumn2"]
10866
+ className: styles$3["contentColumn2"]
10792
10867
  }, React.createElement("div", null, React.createElement("span", {
10793
- className: styles$2["span1"]
10868
+ className: styles$3["span1"]
10794
10869
  }, "\uC804\uCCB4 \uC815\uB2F5\uB960"), React.createElement("span", {
10795
- className: styles$2["span2"]
10870
+ className: styles$3["span2"]
10796
10871
  }, "\uB098\uC758 \uC624\uB2F5")), React.createElement("div", null, React.createElement("span", {
10797
- className: styles$2["overallCorrectRate"]
10872
+ className: styles$3["overallCorrectRate"]
10798
10873
  }, question.overallCorrectRate.toFixed(2), "%"), React.createElement("span", {
10799
- className: styles$2["answer"]
10874
+ className: styles$3["answer"]
10800
10875
  }, question.selectedAnswers, "\uBC88 (\uC815\uB2F5", " ", question.correctAnswers, "\uBC88)"))));
10801
10876
  })) : React.createElement("div", {
10802
- className: styles$2["noData"]
10877
+ className: styles$3["noData"]
10803
10878
  }, "\uB370\uC774\uD130 \uC5C6\uC74C"))));
10804
10879
  }
10805
10880
 
@@ -10808,9 +10883,9 @@ function GradesByTerritory(_ref) {
10808
10883
  openProblem = _ref.openProblem,
10809
10884
  changeOpen = _ref.changeOpen;
10810
10885
  return React.createElement("div", {
10811
- className: styles$2["wrapperProblem"]
10886
+ className: styles$3["wrapperProblem"]
10812
10887
  }, React.createElement("div", {
10813
- className: !openProblem.problem4 ? styles$2["titleProblemClose"] : styles$2["titleProblem"],
10888
+ className: !openProblem.problem4 ? styles$3["titleProblemClose"] : styles$3["titleProblem"],
10814
10889
  onClick: function onClick() {
10815
10890
  return changeOpen(_extends({}, openProblem, {
10816
10891
  problem4: !openProblem.problem4
@@ -10823,27 +10898,27 @@ function GradesByTerritory(_ref) {
10823
10898
  fontWeight: 700
10824
10899
  }
10825
10900
  }, "\uC601\uC5ED\uBCC4 \uC131\uC801"), openProblem.problem4 ? React.createElement(iconUpArrow, null) : React.createElement(iconDownArrow, null)), openProblem.problem4 && React.createElement("div", {
10826
- className: styles$2["wrappContentProblem"]
10901
+ className: styles$3["wrappContentProblem"]
10827
10902
  }, data.length && data.map(function (item) {
10828
10903
  return React.createElement("div", {
10829
- className: styles$2["contentProblem"],
10904
+ className: styles$3["contentProblem"],
10830
10905
  key: item.id
10831
10906
  }, React.createElement("div", {
10832
- className: styles$2["labelProblem"]
10907
+ className: styles$3["labelProblem"]
10833
10908
  }, React.createElement("span", {
10834
- className: styles$2["name"]
10909
+ className: styles$3["name"]
10835
10910
  }, item.name), React.createElement("div", {
10836
- className: styles$2["percent"]
10911
+ className: styles$3["percent"]
10837
10912
  }, React.createElement("span", null, item.percentageAmongStudents.toFixed(2), "%"), React.createElement("span", null, item.totalCorrectQuestions, "/", item.totalQuestions, "\uBB38\uC81C"))), React.createElement("div", {
10838
- className: styles$2["slider"]
10913
+ className: styles$3["slider"]
10839
10914
  }, React.createElement("span", {
10840
- className: styles$2["track"],
10915
+ className: styles$3["track"],
10841
10916
  style: {
10842
10917
  left: item.percentageAmongStudents + "%"
10843
10918
  }
10844
10919
  })));
10845
10920
  }), openProblem.problem4 && !data.length && React.createElement("div", {
10846
- className: styles$2["noData"]
10921
+ className: styles$3["noData"]
10847
10922
  }, "\uB370\uC774\uD130 \uC5C6\uC74C")));
10848
10923
  }
10849
10924
 
@@ -10936,7 +11011,7 @@ function CreateNewQuestionDialog$1(_ref) {
10936
11011
  var errors = _ref2.errors;
10937
11012
  return React.createElement(Form, null, React.createElement("label", {
10938
11013
  htmlFor: "content-question",
10939
- className: styleGlobal['form-label'] + " " + styles$2['form-label-dialog']
11014
+ className: styles['form-label'] + " " + styles$3['form-label-dialog']
10940
11015
  }, "\uC9C8\uBB38 \uB0B4\uC6A9"), React.createElement(Box, {
10941
11016
  position: 'relative',
10942
11017
  display: 'flex',
@@ -10949,7 +11024,7 @@ function CreateNewQuestionDialog$1(_ref) {
10949
11024
  },
10950
11025
  name: "content",
10951
11026
  placeholder: "\uBB38\uC81C\uAC00 \uC5B4\uB824\uC6CC\uC694",
10952
- className: styleGlobal['form-control']
11027
+ className: styles['form-control']
10953
11028
  }), (errors === null || errors === void 0 ? void 0 : errors.content) && React.createElement(Box, {
10954
11029
  position: 'absolute',
10955
11030
  right: 0,
@@ -10971,14 +11046,14 @@ function CreateNewQuestionDialog$1(_ref) {
10971
11046
  padding: '12px'
10972
11047
  }
10973
11048
  }, React.createElement(Button$1, {
10974
- className: styles$2['btn-cancel'],
11049
+ className: styles$3['btn-cancel'],
10975
11050
  onClick: toggleCreateQuestion
10976
11051
  }, React.createElement(Typography$1, {
10977
11052
  fontWeight: 700,
10978
11053
  fontSize: '14px',
10979
11054
  lineHeight: '16.71px'
10980
11055
  }, "\uCDE8\uC18C")), React.createElement(Button$1, {
10981
- className: styles$2['btn-register'],
11056
+ className: styles$3['btn-register'],
10982
11057
  type: "submit"
10983
11058
  }, React.createElement(Typography$1, {
10984
11059
  fontWeight: 700,
@@ -11067,6 +11142,7 @@ var ExamResultV2 = function ExamResultV2(_ref) {
11067
11142
  var _useTab = useTab(),
11068
11143
  selected = _useTab.selected,
11069
11144
  handleChangeTab = _useTab.handleChangeTab;
11145
+ var isTabletUp = useMediaQuery('(min-width:900px)');
11070
11146
  return React.createElement(Fragment$1, null, timelyOrderQuestion[dataChartIndex] && longTimeSpend && resultDatas && effectSize ? React.createElement("div", {
11071
11147
  style: {
11072
11148
  width: "100%"
@@ -11164,7 +11240,28 @@ var ExamResultV2 = function ExamResultV2(_ref) {
11164
11240
  container: true,
11165
11241
  padding: "24px",
11166
11242
  className: "position-relative overflow-hidden"
11167
- }, React.createElement(Grid, {
11243
+ }, !isTabletUp && React.createElement(Grid, {
11244
+ item: true,
11245
+ xs: 12
11246
+ }, React.createElement(Box, {
11247
+ padding: "16px 24px",
11248
+ flexDirection: "row",
11249
+ justifyContent: "end",
11250
+ alignItems: "center",
11251
+ display: "flex",
11252
+ bgcolor: "#F9FAFB",
11253
+ borderTop: "1px solid #E4E7EC",
11254
+ borderBottom: "1px solid #E4E7EC"
11255
+ }, React.createElement(Stack, {
11256
+ padding: '12px 24px',
11257
+ alignItems: "end",
11258
+ bgcolor: "#F9FAFB"
11259
+ }, React.createElement("div", {
11260
+ className: styles$3["pdfBtnBox"]
11261
+ }, React.createElement("button", {
11262
+ className: styles$3["pdfBtn"] + " " + styles["truncate"],
11263
+ onClick: handleExportPdf
11264
+ }, React.createElement(iconPrintFill, null), React.createElement("p", null, t("print"))))))), React.createElement(Grid, {
11168
11265
  item: true,
11169
11266
  xs: 12
11170
11267
  }, React.createElement(Box, {
@@ -11184,7 +11281,7 @@ var ExamResultV2 = function ExamResultV2(_ref) {
11184
11281
  var label = _ref2.label,
11185
11282
  value = _ref2.value;
11186
11283
  return React.createElement(Button, {
11187
- className: styleGlobal["truncate"],
11284
+ className: styles["truncate"],
11188
11285
  disableTouchRipple: true,
11189
11286
  sx: {
11190
11287
  fontSize: "14px",
@@ -11197,14 +11294,14 @@ var ExamResultV2 = function ExamResultV2(_ref) {
11197
11294
  return handleChangeTab(value);
11198
11295
  }
11199
11296
  }, label);
11200
- })), React.createElement(Stack, {
11297
+ })), isTabletUp && React.createElement(Stack, {
11201
11298
  padding: '12px 24px',
11202
11299
  alignItems: "end",
11203
11300
  bgcolor: "#F9FAFB"
11204
11301
  }, React.createElement("div", {
11205
- className: styles$2["pdfBtnBox"]
11302
+ className: styles$3["pdfBtnBox"]
11206
11303
  }, React.createElement("button", {
11207
- className: styles$2["pdfBtn"] + " " + styleGlobal["truncate"],
11304
+ className: styles$3["pdfBtn"] + " " + styles["truncate"],
11208
11305
  onClick: handleExportPdf
11209
11306
  }, React.createElement(iconPrintFill, null), React.createElement("p", null, t("print"))))))), React.createElement(Grid, {
11210
11307
  item: true,
@@ -11220,18 +11317,18 @@ var ExamResultV2 = function ExamResultV2(_ref) {
11220
11317
  value: selected,
11221
11318
  index: 1
11222
11319
  }, React.createElement("div", {
11223
- className: styles$2["compareChart"]
11320
+ className: styles$3["compareChart"]
11224
11321
  }, React.createElement("div", {
11225
- className: styles$2["prevChart"] + " " + (dataChartIndex > 0 && "pointer"),
11322
+ className: styles$3["prevChart"] + " " + (dataChartIndex > 0 && "pointer"),
11226
11323
  onClick: handlePrevChart
11227
11324
  }, React.createElement(iconBtnPrevChart, null)), React.createElement("div", {
11228
- className: styles$2["chart"] + " sr-line-chart"
11325
+ className: styles$3["chart"] + " sr-line-chart"
11229
11326
  }, React.createElement("div", null, React.createElement(ReactApexChart, {
11230
11327
  height: 389,
11231
11328
  options: chartOptions,
11232
11329
  series: series
11233
11330
  }))), React.createElement("div", {
11234
- className: styles$2["nextChart"] + " " + (dataChartIndex < timelyOrderQuestion.length - 1 && "pointer"),
11331
+ className: styles$3["nextChart"] + " " + (dataChartIndex < timelyOrderQuestion.length - 1 && "pointer"),
11235
11332
  onClick: handleNextChart
11236
11333
  }, React.createElement(iconBtnNextChart, null)))), React.createElement(CustomTabPanel, {
11237
11334
  value: selected,
@@ -11277,18 +11374,18 @@ var ExamResultV2 = function ExamResultV2(_ref) {
11277
11374
  value: selected,
11278
11375
  index: 1
11279
11376
  }, React.createElement("div", {
11280
- className: styles$2["compareChart"]
11377
+ className: styles$3["compareChart"]
11281
11378
  }, React.createElement("div", {
11282
- className: styles$2["prevChart"] + " " + (dataChartIndex > 0 && "pointer"),
11379
+ className: styles$3["prevChart"] + " " + (dataChartIndex > 0 && "pointer"),
11283
11380
  onClick: handlePrevChart
11284
11381
  }, React.createElement(iconBtnPrevChart, null)), React.createElement("div", {
11285
- className: styles$2["chart"] + " sr-line-chart"
11382
+ className: styles$3["chart"] + " sr-line-chart"
11286
11383
  }, React.createElement("div", null, React.createElement(ReactApexChart, {
11287
11384
  height: 389,
11288
11385
  options: chartOptions,
11289
11386
  series: series
11290
11387
  }))), React.createElement("div", {
11291
- className: styles$2["nextChart"] + " " + (dataChartIndex < timelyOrderQuestion.length - 1 && "pointer"),
11388
+ className: styles$3["nextChart"] + " " + (dataChartIndex < timelyOrderQuestion.length - 1 && "pointer"),
11292
11389
  onClick: handleNextChart
11293
11390
  }, React.createElement(iconBtnNextChart, null)))), React.createElement(CustomTabPanel, {
11294
11391
  value: selected,
@@ -11364,5 +11461,100 @@ var times = {
11364
11461
  timeSpanToLocalMoment: timeSpanToLocalMoment
11365
11462
  };
11366
11463
 
11367
- export { ACADEMY_DOMAIN, ACCESS_TOKEN, AcademyHeaders, AnswerCountSelector, ArticleCategorySelector, ArticleGroupView, BASE_URL, ChatContainer, ChatItemType, types as ChatTypes, CommonDialog, ConfirmDialog, index$1 as CoreHooks, CustomAsyncSelect, CustomCreatable, CustomPagination, CustomSelect, CustomSelectOption, DATE_MIN_VALUE, DATE_TIME_MIN_VALUE, EXAM_CHANNEL, EXAM_STUDENT_CHANNEL, index as Enums, ExamDetailView, ExamEvent, ExamResultV2, InputText, LANGUAGES, LayoutContext, Loading, Login, NotFound, PUSHER_CONFIG, QuestionCountSelector, Role, SUPER_ADMIN_BASE_URL, ScoreSelector, SubjectSelector, index$2 as Textbook, TextbookViewDetail as TextbookDetail, TextbookList, TheAcademyDropdown, TheLanguageDropdown, index$3 as Types, api, apiUpload, canAccess as canAccessRoute, diffFromNow, formatTime, getAcademyDomain, getAccessToken$1 as getAccessToken, i18n, minutesToTimeSpan, setAlert, setLanguage, setLoading, setReFetchUserAcademies, setReadyRegisterPusher, setUser, store, times as timeUtils, toISOString, useAutoAcademyDomain, useCategorySelect, useChatContainer, useGoogleSignOut, useLanguage, useLogin, usePusherConversation, useSubjectSelect, useSwitchAcademy, utcToLocalTime };
11464
+ var Header = function Header(_ref) {
11465
+ var academyListRoute = _ref.academyListRoute,
11466
+ homeRoute = _ref.homeRoute,
11467
+ headerTabs = _ref.headerTabs,
11468
+ role = _ref.role,
11469
+ navigate = _ref.navigate,
11470
+ onSignOut = _ref.onSignOut;
11471
+ var _useTranslation = useTranslation(),
11472
+ t = _useTranslation.t;
11473
+ var location = useLocation();
11474
+ var theme = useTheme();
11475
+ var user = useSelector(function (state) {
11476
+ var _state$common;
11477
+ return state === null || state === void 0 ? void 0 : (_state$common = state.common) === null || _state$common === void 0 ? void 0 : _state$common.user;
11478
+ });
11479
+ var isLargerThanXL = useMediaQuery(theme.breakpoints.up("xl"));
11480
+ var academyDomain = useSelector(function (state) {
11481
+ var _state$common2, _state$common2$user;
11482
+ return state === null || state === void 0 ? void 0 : (_state$common2 = state.common) === null || _state$common2 === void 0 ? void 0 : (_state$common2$user = _state$common2.user) === null || _state$common2$user === void 0 ? void 0 : _state$common2$user.academyDomain;
11483
+ });
11484
+ var pathname = location.pathname.toLowerCase();
11485
+ return React.createElement("div", {
11486
+ className: "col-sm-12 col-xl-12 " + styles["tabBox"] + " " + styles["headers"]
11487
+ }, React.createElement(Link, {
11488
+ "aria-current": "page",
11489
+ to: homeRoute.path,
11490
+ className: "border-none " + styles["logo-container"]
11491
+ }, React.createElement("img", {
11492
+ className: styles["logo"] + " d-none d-lg-block",
11493
+ src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAABNCAYAAAA2N/+4AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfmSURBVHgB7ZzLktvGFYbPaZBKNOWKmSpnG3GfVHm09UbUE5hDJ4usTD2BrU22op5gRvtUifI20Qz0BKKfINQThHbWqWA2li0SfXwamJFBEAABojkX6/+qKIq4dJPA36fPpTFEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAatHrjXsEgAeY9kSnM54QyRNmWojwnJlD/fxmuZzOCYCG7EWolyIt2R1ptzMV8Ez//y2EC+rgXahbRFqEE65aXApF6M1qNZ0RADm8CnUHkZaQWNy5CvfVRx/RPIqmEYEPGm9C9SfSdZhlvFx+84LAB02HPBAE46mK9EvyjkwgUuBobVGdSNXq7UWkq9U3TwkAJaAW1BHpwcEn9Oc//Y0+/t0f6eDuH6jbPaDV6geydllxFkQK1tnZotYV6Wef/V0F+snGvqWK9Tz6byLa8/Pvk9fbt/+j6Pz7aRy/eEQAZNhJqG1FWoWQGZyd8bfkib8O3x0K8UaF7F9hd0Z7YKj9GTKH2W2WlrMwvLugHRkOpWcoHma36Y2LXoadkPZAk/6+OLKvhWSQ3VZ2D0fD1Ti/7TTsTKkGjYOpfYrUN3rB+zHbf2/sEJrqv7OK83oByxk1wBKf6M15ZSj4XO/qJLsvkO5Y3xajYXysFbrDJu2+PDMP9a2n6Y/n2e2i7elbpVCb9ici89MweFzV33C4GhriTzPb+/l2WOxY+x5cfrZknoUhR/k2L5hSDRoJ9TaJ1BEYOdZc7Bruggu92+b/9vJWYhtG7HTbMU40TdttQ9P+hGTrMSpSNxDH2bM2O87u13M4EWOrXHhtoWqe9HhbCuomidRNM2ohhvntum3SZhoG14Ope6CWNh+vVvx7PWWgQ2aim2Zqrd6PkpskUjd1E5uN4oOzpmHYQV72FtLQR51GqxU5J9m9kumz2x0fWsv3VKThTRCpwxj7taqyn9+uAUFvdGT/k9kwPz01RwVNRHr+hBoQk31Du5D6ywvaAyL2hStH1z6+xvewJK+McHKcMA94I5DiOYus+c5W6Jxa0roydbH6aX5w9x/lBzGHOuWeq1D2UBhYxwVQJLaglOsuru4j+SUDoGJ2wUFYGD3Ld9SIeCcfTNhMfWY5srhIvY7fmfk2W3/zxbVKrtdoFPfzzRuR6csweEae8VJC3Ya6CH0RtVwsn+oIbBT1NqUogHJY+ekh82+e5y2ABhzHKu5ZEpX+Qq8kQi3vVyP7vwyXfVsQBV8bbL6iBsEUC82Gw7cLTU0NamUuhQf5YCqmeC+DrraP2gYnTp2On4jwUWrZ9kNZAKVTTxJAicRPN7+bE5b1spjGsnmdj3hvG4buPKkzSJOZK5mh8ucHX2lq6rl7kUeuRKgJQmMV69gKu7zgfpbtlQZQQSLQUJP8UuCzafrka5eoJ1Cb1OoW4AbqxcvnNb2Sqf89Qk8M2ciKPDLMjRLq21B/aaI+Rn+jS01HrX/mR5oLdkWAtWoVc0fTb/SQyomoYoBZDiLWUOMWsCjbwWQiquvTGn6w7dCAggf65uUJjqsVqoPpWIOd+1aCieFmkXUZZQGU+qrzfDpKfVFXITrJV4+c76qB1Zdl6StXtTkLO1VCptFRTDcdLW+Oq4K32lN2gX+62Ze/eOTqpv5spxy8Jnr3Qn/JCXnA+b9F27UCVZR6Skp6VGAd1cqfJDnYHXE1buJ6JcGbSkDxM/0dw6pjyvzTDdiJ2Q9Xb1FTesx3Xlsx98MzfkwtGA6XA7HJRZtltztftKwC5SJ8dRWe6nmfb+51vlew03TlLFVS497bs73755/hnbkKMeKK31CUFVCXaqYulbOg2YHedwM/l1HZiesSahptpws/HlILwnQV1IwacnoaOGteaNFTi1FNanl/7AXU1Xq6uzl8z5JtlZpxbXbJpbhM37XnFnxcLBLZG5qO6neoo31yn4k/dr9FPe3q6l2Bf2pIQm2DNtN/5PzUV9SSaxOqI/UL4+Owxc24FAx547eFo98t8PhiZM/U7z1MiwZWX3fW7lcgPG6SXk8Qe6LVst5lm/HmWnbPQpVJ2p8bXOmAvAwBL777Qv9TLdSS/KmRQI0PDbLbWaz7fLuF6nCpIZ0uv1PLsZO/2qHVoVU3gnwhdqIWrehG9YpytG1Ri3NYO9L20V/L1VvpbGP7uc1RqC6D5rEPN1yChssay7iWYGoDzQQ4X5PAjacwfyppbtpSMMvv8lWJ9CZUtTazba+q8w2bM+cv0e1k4VJhceP1AdvarL5mnnEuj077W/p0/mkOFWNyjkv90WY2pTcayT1qibepn7ev0nF+0aBqv8sE6NRy30eU6BEnQk3mJ4taFpwkzE1kmRbu72qdnvKaONWNeVCjzbR4IDzPthnT8o0x3f/n2/RApj/r/jKN9mkW+htcdD+3ls6z17wymNxS31dffpZ3kdgmVrjV8kovQk2ehfGQvE8zAeQec6gdPa+oM+fqAdAIvQVOJJGWY/u7CMb5t5zLQmiwkiwBjNO1DrTDQIySHG32e8py69K5ffSnab9x3g/VYPh9Oi+2/FjFuhZv2PSaUr7NJnjJ+KVrPGskgGvg++E+8OugtY+aPlnoR6QAlNFaqMxm74uhAWglVOd0X+VTleDDpZVQyxaDAOCbVlG/iJkS+V0t5P6YLwEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC/Yn4G8GJySAUVr9kAAAAASUVORK5CYII=",
11494
+ alt: ""
11495
+ }), React.createElement("img", {
11496
+ className: styles["logo"] + " d-block d-lg-none",
11497
+ src: "/images/logo-sm.png",
11498
+ alt: ""
11499
+ })), React.createElement("div", {
11500
+ className: styles["routerBox"] + " d-flex flex-grow-1 flex-nowrap px-3"
11501
+ }, headerTabs.map(function (_ref2) {
11502
+ var path = _ref2.path,
11503
+ icon = _ref2.icon,
11504
+ label = _ref2.label,
11505
+ isMain = _ref2.isMain,
11506
+ activePaths = _ref2.activePaths;
11507
+ return React.createElement(Link, {
11508
+ key: path,
11509
+ "aria-current": "page",
11510
+ to: !academyDomain && !isMain ? "#" : path,
11511
+ className: "text-decoration-none " + ((activePaths !== null && activePaths !== void 0 && activePaths.length ? activePaths.some(function (a) {
11512
+ return pathname.startsWith(a);
11513
+ }) : pathname.startsWith(path)) ? styles["router-link-active"] + " " + styles["router-link-exact-active"] : "") + " " + styles["tabText"] + " " + (!academyDomain && !isMain ? styles["disabled-link"] : "")
11514
+ }, React.createElement(Stack, {
11515
+ sx: {
11516
+ justifyContent: "center",
11517
+ flexDirection: "row",
11518
+ alignItems: "center",
11519
+ textOverflow: "ellipsis",
11520
+ overflow: "hidden",
11521
+ display: "flex",
11522
+ flexWrap: "nowrap"
11523
+ }
11524
+ }, icon, React.createElement("span", {
11525
+ className: "text-nowrap"
11526
+ }, isLargerThanXL || headerTabs.length < 4 ? t(label) : ellipsisText(t(label), 4))));
11527
+ })), React.createElement(Stack, {
11528
+ direction: "row",
11529
+ alignItems: "center"
11530
+ }, React.createElement(Typography, {
11531
+ className: "fw-bold text-primary me-2 text-nowrap",
11532
+ sx: {
11533
+ maxWidth: "120px",
11534
+ overflow: "hidden",
11535
+ textOverflow: "ellipsis"
11536
+ }
11537
+ }, user === null || user === void 0 ? void 0 : user.fullName), React.createElement("div", null, React.createElement(TheAcademyDropdown, {
11538
+ homeAcademyUrl: academyListRoute.path,
11539
+ homeUrl: homeRoute.path,
11540
+ role: role,
11541
+ navigate: navigate,
11542
+ hideAcademyName: !isLargerThanXL && headerTabs.length > 6
11543
+ })), React.createElement("div", {
11544
+ className: "me-2"
11545
+ }, React.createElement(TheLanguageDropdown, null)), React.createElement("div", {
11546
+ className: styles["userImg"] + " d-none d-md-none d-lg-block",
11547
+ onClick: onSignOut
11548
+ }, React.createElement("p", {
11549
+ className: "text-nowrap mb-0"
11550
+ }, t("logout"))), React.createElement("div", {
11551
+ className: styles["userImg"] + " d-block d-md-block d-lg-none",
11552
+ onClick: onSignOut
11553
+ }, React.createElement(IoIosLogOut, {
11554
+ size: 24,
11555
+ color: "#959595"
11556
+ }))));
11557
+ };
11558
+
11559
+ export { ACADEMY_DOMAIN, ACCESS_TOKEN, AcademyHeaders, AnswerCountSelector, ArticleCategorySelector, ArticleGroupView, BASE_URL, ChatContainer, ChatItemType, types as ChatTypes, CommonDialog, ConfirmDialog, index$1 as CoreHooks, CustomAsyncSelect, CustomCreatable, CustomPagination, CustomSelect, CustomSelectOption, DATE_MIN_VALUE, DATE_TIME_MIN_VALUE, EXAM_CHANNEL, EXAM_STUDENT_CHANNEL, index as Enums, ExamDetailView, ExamEvent, ExamResultV2, Header, InputText, LANGUAGES, LayoutContext, Loading, Login, NotFound, PUSHER_CONFIG, QuestionCountSelector, Role, SUPER_ADMIN_BASE_URL, ScoreSelector, SubjectSelector, index$2 as Textbook, TextbookViewDetail as TextbookDetail, TextbookList, TheAcademyDropdown, TheLanguageDropdown, index$3 as Types, api, apiUpload, canAccess as canAccessRoute, diffFromNow, formatTime, getAcademyDomain, getAccessToken$1 as getAccessToken, i18n, minutesToTimeSpan, setAlert, setLanguage, setLoading, setReFetchUserAcademies, setReadyRegisterPusher, setUser, store, times as timeUtils, toISOString, useAutoAcademyDomain, useCategorySelect, useChatContainer, useGoogleSignOut, useLanguage, useLogin, usePusherConversation, useSubjectSelect, useSwitchAcademy, utcToLocalTime };
11368
11560
  //# sourceMappingURL=index.modern.js.map