@elice/material-exercise 1.240226.0-aws.0 → 1.240306.0-runboxtutoring.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (739) hide show
  1. package/cjs/_virtual/_rollupPluginBabelHelpers.js +519 -0
  2. package/cjs/assets/empty.png.js +7 -0
  3. package/cjs/components/index.js +25 -0
  4. package/cjs/components/locales/en.json.js +7 -0
  5. package/cjs/components/locales/index.d.ts +4 -0
  6. package/cjs/components/locales/index.js +13 -0
  7. package/cjs/components/locales/ja.json.js +7 -0
  8. package/cjs/components/locales/ko.json.js +7 -0
  9. package/cjs/components/locales/th.json.js +7 -0
  10. package/cjs/components/material-exercise/MaterialExercise.d.ts +3 -1
  11. package/cjs/components/material-exercise/MaterialExercise.js +116 -81
  12. package/cjs/components/material-exercise/MaterialExercise.styled.js +18 -14
  13. package/cjs/components/material-exercise/MaterialExerciseMobile.d.ts +1 -1
  14. package/cjs/components/material-exercise/MaterialExerciseMobile.js +17 -7
  15. package/cjs/components/material-exercise/context/ExerciseProvider.js +68 -58
  16. package/cjs/components/material-exercise/context/ExerciseProviderNoImage.d.ts +2 -1
  17. package/cjs/components/material-exercise/context/ExerciseProviderNoImage.js +43 -41
  18. package/cjs/components/material-exercise/context/context.js +5 -1
  19. package/cjs/components/material-exercise/context/index.js +57 -0
  20. package/cjs/components/material-exercise/context/locales/noImage.en.json.js +2 -2
  21. package/cjs/components/material-exercise/context/locales/noImage.ja.json.js +7 -0
  22. package/cjs/components/material-exercise/context/locales/noImage.ko.json.js +2 -2
  23. package/cjs/components/material-exercise/context/locales/noImage.th.json.js +7 -0
  24. package/cjs/components/material-exercise/context/recoil.js +542 -293
  25. package/cjs/components/material-exercise/context/subjects.d.ts +4 -0
  26. package/cjs/components/material-exercise/context/subjects.js +8 -3
  27. package/cjs/components/material-exercise/context/types.d.ts +22 -3
  28. package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.d.ts +2 -1
  29. package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +103 -85
  30. package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.js +12 -8
  31. package/cjs/components/material-exercise/exercise-code-history/index.js +7 -0
  32. package/cjs/components/material-exercise/exercise-code-history/locales/en.json.js +2 -2
  33. package/cjs/components/material-exercise/exercise-code-history/locales/index.d.ts +4 -0
  34. package/cjs/components/material-exercise/exercise-code-history/locales/index.js +13 -0
  35. package/cjs/components/material-exercise/exercise-code-history/locales/ja.json.js +7 -0
  36. package/cjs/components/material-exercise/exercise-code-history/locales/ko.json.js +2 -2
  37. package/cjs/components/material-exercise/exercise-code-history/locales/th.json.js +7 -0
  38. package/cjs/components/material-exercise/exercise-file/ExerciseFile.js +30 -27
  39. package/cjs/components/material-exercise/exercise-file/index.js +7 -0
  40. package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileEditor.js +260 -147
  41. package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.d.ts +3 -5
  42. package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.js +28 -13
  43. package/cjs/components/material-exercise/exercise-file-editor/index.js +7 -0
  44. package/cjs/components/material-exercise/exercise-file-editor/locales/en.json.js +7 -0
  45. package/cjs/components/material-exercise/exercise-file-editor/locales/index.d.ts +4 -0
  46. package/cjs/components/material-exercise/exercise-file-editor/locales/index.js +13 -0
  47. package/cjs/components/material-exercise/exercise-file-editor/locales/ja.json.js +7 -0
  48. package/cjs/components/material-exercise/exercise-file-editor/locales/ko.json.js +7 -0
  49. package/cjs/components/material-exercise/exercise-file-editor/locales/th.json.js +7 -0
  50. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.d.ts +2 -2
  51. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.js +60 -30
  52. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.d.ts +1 -2
  53. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.js +10 -4
  54. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/ExerciseFileTabsFileTreeButton.d.ts +4 -0
  55. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/ExerciseFileTabsFileTreeButton.js +99 -0
  56. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/index.d.ts +1 -0
  57. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/index.js +7 -0
  58. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/en.json.js +7 -0
  59. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/index.d.ts +4 -0
  60. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/index.js +13 -0
  61. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/ja.json.js +7 -0
  62. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/ko.json.js +7 -0
  63. package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/th.json.js +7 -0
  64. package/cjs/components/material-exercise/exercise-file-tabs/index.js +9 -0
  65. package/cjs/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.en.json.js +2 -2
  66. package/cjs/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.ja.json.js +7 -0
  67. package/cjs/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.ko.json.js +2 -2
  68. package/cjs/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.th.json.js +7 -0
  69. package/cjs/components/material-exercise/exercise-file-tabs/locales/index.d.ts +4 -0
  70. package/cjs/components/material-exercise/exercise-file-tabs/locales/index.js +13 -0
  71. package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTree.d.ts +2 -3
  72. package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTree.js +356 -217
  73. package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.d.ts +1 -2
  74. package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.js +10 -4
  75. package/cjs/components/material-exercise/exercise-file-tree/index.js +9 -0
  76. package/cjs/components/material-exercise/exercise-file-tree/locales/en.json.js +2 -2
  77. package/cjs/components/material-exercise/exercise-file-tree/locales/index.d.ts +4 -0
  78. package/cjs/components/material-exercise/exercise-file-tree/locales/index.js +13 -0
  79. package/cjs/components/material-exercise/exercise-file-tree/locales/ja.json.js +7 -0
  80. package/cjs/components/material-exercise/exercise-file-tree/locales/ko.json.js +2 -2
  81. package/cjs/components/material-exercise/exercise-file-tree/locales/th.json.js +7 -0
  82. package/cjs/components/material-exercise/exercise-file-viewer/ExerciseFileViewer.js +18 -15
  83. package/cjs/components/material-exercise/exercise-file-viewer/index.js +7 -0
  84. package/cjs/components/material-exercise/exercise-menu/ExerciseMenu.d.ts +2 -1
  85. package/cjs/components/material-exercise/exercise-menu/ExerciseMenu.js +25 -15
  86. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.js +13 -11
  87. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoSettings.js +125 -82
  88. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuDropdown.js +109 -65
  89. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuReset.js +45 -27
  90. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.js +148 -117
  91. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.js +17 -13
  92. package/cjs/components/material-exercise/exercise-menu/index.js +7 -0
  93. package/cjs/components/material-exercise/exercise-menu/locales/en.json.js +2 -2
  94. package/cjs/components/material-exercise/exercise-menu/locales/index.d.ts +4 -0
  95. package/cjs/components/material-exercise/exercise-menu/locales/index.js +13 -0
  96. package/cjs/components/material-exercise/exercise-menu/locales/ja.json.js +7 -0
  97. package/cjs/components/material-exercise/exercise-menu/locales/ko.json.js +2 -2
  98. package/cjs/components/material-exercise/exercise-menu/locales/th.json.js +7 -0
  99. package/cjs/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdown.js +32 -19
  100. package/cjs/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdownLazy.d.ts +1 -2
  101. package/cjs/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdownLazy.js +10 -4
  102. package/cjs/components/material-exercise/exercise-multilang-dropdown/index.js +9 -0
  103. package/cjs/components/material-exercise/exercise-preview/ExercisePreview.d.ts +2 -1
  104. package/cjs/components/material-exercise/exercise-preview/ExercisePreview.js +34 -26
  105. package/cjs/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.js +16 -9
  106. package/cjs/components/material-exercise/exercise-preview/index.js +7 -0
  107. package/cjs/components/material-exercise/exercise-preview/locales/en.json.js +2 -2
  108. package/cjs/components/material-exercise/exercise-preview/locales/index.d.ts +4 -0
  109. package/cjs/components/material-exercise/exercise-preview/locales/index.js +13 -0
  110. package/cjs/components/material-exercise/exercise-preview/locales/ja.json.js +7 -0
  111. package/cjs/components/material-exercise/exercise-preview/locales/ko.json.js +2 -2
  112. package/cjs/components/material-exercise/exercise-preview/locales/th.json.js +7 -0
  113. package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpane.d.ts +2 -3
  114. package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpane.js +59 -43
  115. package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpaneEditorPerference.js +14 -6
  116. package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpaneEnvironment.js +91 -79
  117. package/cjs/components/material-exercise/exercise-rightpane/index.js +7 -0
  118. package/cjs/components/material-exercise/exercise-rightpane/locales/en.json.js +2 -2
  119. package/cjs/components/material-exercise/exercise-rightpane/locales/index.d.ts +4 -0
  120. package/cjs/components/material-exercise/exercise-rightpane/locales/index.js +13 -0
  121. package/cjs/components/material-exercise/exercise-rightpane/locales/ja.json.js +7 -0
  122. package/cjs/components/material-exercise/exercise-rightpane/locales/ko.json.js +2 -2
  123. package/cjs/components/material-exercise/exercise-rightpane/locales/th.json.js +7 -0
  124. package/cjs/components/material-exercise/exercise-room/ExerciseRoom.d.ts +2 -1
  125. package/cjs/components/material-exercise/exercise-room/ExerciseRoom.js +29 -15
  126. package/cjs/components/material-exercise/exercise-room/ExerciseRoom.styled.js +18 -12
  127. package/cjs/components/material-exercise/exercise-room/ExerciseRoomDetail.js +510 -355
  128. package/cjs/components/material-exercise/exercise-room/ExerciseRoomList.js +201 -136
  129. package/cjs/components/material-exercise/exercise-room/helpers/exerciseRoomPermissionStringConvertor.js +2 -2
  130. package/cjs/components/material-exercise/exercise-room/helpers/index.js +7 -0
  131. package/cjs/components/material-exercise/exercise-room/index.js +7 -0
  132. package/cjs/components/material-exercise/exercise-room/locales/en.json.js +2 -2
  133. package/cjs/components/material-exercise/exercise-room/locales/index.d.ts +4 -0
  134. package/cjs/components/material-exercise/exercise-room/locales/index.js +13 -0
  135. package/cjs/components/material-exercise/exercise-room/locales/ja.json.js +7 -0
  136. package/cjs/components/material-exercise/exercise-room/locales/ko.json.js +2 -2
  137. package/cjs/components/material-exercise/exercise-room/locales/th.json.js +7 -0
  138. package/cjs/components/material-exercise/exercise-runner/ExerciseRunner.d.ts +2 -1
  139. package/cjs/components/material-exercise/exercise-runner/ExerciseRunner.js +233 -164
  140. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerContext.js +5 -1
  141. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerController.js +25 -16
  142. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +121 -87
  143. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.js +42 -28
  144. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerButtonGroup.js +92 -102
  145. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerRunningInfo.js +136 -92
  146. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.js +6 -2
  147. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.js +28 -21
  148. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerTimer.js +36 -23
  149. package/cjs/components/material-exercise/exercise-runner/index.js +7 -0
  150. package/cjs/components/material-exercise/exercise-runner/locales/en.json.js +2 -2
  151. package/cjs/components/material-exercise/exercise-runner/locales/index.d.ts +4 -0
  152. package/cjs/components/material-exercise/exercise-runner/locales/index.js +13 -0
  153. package/cjs/components/material-exercise/exercise-runner/locales/ja.json.js +7 -0
  154. package/cjs/components/material-exercise/exercise-runner/locales/ko.json.js +2 -2
  155. package/cjs/components/material-exercise/exercise-runner/locales/th.json.js +7 -0
  156. package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.d.ts +2 -1
  157. package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.js +423 -234
  158. package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.js +12 -8
  159. package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistoryOutput.js +74 -50
  160. package/cjs/components/material-exercise/exercise-submit-history/index.js +7 -0
  161. package/cjs/components/material-exercise/exercise-submit-history/locales/en.json.js +2 -2
  162. package/cjs/components/material-exercise/exercise-submit-history/locales/index.d.ts +4 -0
  163. package/cjs/components/material-exercise/exercise-submit-history/locales/index.js +13 -0
  164. package/cjs/components/material-exercise/exercise-submit-history/locales/ja.json.js +7 -0
  165. package/cjs/components/material-exercise/exercise-submit-history/locales/ko.json.js +2 -2
  166. package/cjs/components/material-exercise/exercise-submit-history/locales/th.json.js +7 -0
  167. package/cjs/components/material-exercise/index.d.ts +1 -1
  168. package/cjs/components/material-exercise/index.js +9 -0
  169. package/cjs/components/shared/exercise-menu-button/ExerciseMenuButton.js +32 -23
  170. package/cjs/components/shared/exercise-menu-button/index.js +7 -0
  171. package/cjs/components/shared/exercise-shimmer/ExerciseFileShimmer.js +44 -38
  172. package/cjs/components/shared/exercise-shimmer/ExerciseFileTabShimmer.js +26 -20
  173. package/cjs/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.js +14 -8
  174. package/cjs/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.js +28 -22
  175. package/cjs/components/shared/exercise-shimmer/ExerciseFileTreeListShimmer.js +24 -9
  176. package/cjs/components/shared/exercise-shimmer/index.js +15 -0
  177. package/cjs/components/shared/exercise-version-list/ExerciseVersionList.js +6 -5
  178. package/cjs/components/shared/exercise-version-list/ExerciseVersionList.styled.js +5 -1
  179. package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.js +10 -10
  180. package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.styled.js +13 -5
  181. package/cjs/components/shared/exercise-version-list/index.js +9 -0
  182. package/cjs/components/shared/file-icon/FileIcon.js +23 -16
  183. package/cjs/components/shared/file-icon/index.js +7 -0
  184. package/cjs/components/shared/file-tabs/FileTab.js +47 -33
  185. package/cjs/components/shared/file-tabs/FileTab.styled.js +23 -15
  186. package/cjs/components/shared/file-tabs/FileTabs.js +66 -39
  187. package/cjs/components/shared/file-tabs/FileTabs.styled.js +6 -2
  188. package/cjs/components/shared/file-tabs/index.js +7 -0
  189. package/cjs/components/shared/file-tabs/util.js +27 -14
  190. package/cjs/components/shared/file-tree/FileTree.d.ts +2 -5
  191. package/cjs/components/shared/file-tree/FileTree.js +28 -18
  192. package/cjs/components/shared/file-tree/FileTreeConfig.js +47 -42
  193. package/cjs/components/shared/file-tree/FileTreeList.js +44 -42
  194. package/cjs/components/shared/file-tree/FileTreeListItemContent.js +128 -99
  195. package/cjs/components/shared/file-tree/FileTreeListItemContent.styled.js +29 -21
  196. package/cjs/components/shared/file-tree/FileTreeListItemContentInput.js +111 -101
  197. package/cjs/components/shared/file-tree/FileTreeListItemContentInput.styled.js +10 -6
  198. package/cjs/components/shared/file-tree/FileTreeListItemContentMenu.js +136 -94
  199. package/cjs/components/shared/file-tree/FileTreeListItems.js +149 -137
  200. package/cjs/components/shared/file-tree/FileTreeListItems.styled.js +6 -2
  201. package/cjs/components/shared/file-tree/FileTreeToolbar.styled.js +5 -1
  202. package/cjs/components/shared/file-tree/context/FileTreeContext.d.ts +1 -1
  203. package/cjs/components/shared/file-tree/context/FileTreeContext.js +101 -79
  204. package/cjs/components/shared/file-tree/context/index.js +9 -0
  205. package/cjs/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.d.ts +6 -0
  206. package/cjs/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.js +123 -0
  207. package/cjs/components/shared/file-tree/file-tree-toolbar/index.d.ts +1 -0
  208. package/cjs/components/shared/file-tree/file-tree-toolbar/index.js +7 -0
  209. package/cjs/components/shared/file-tree/file-tree-toolbar/locales/en.json.js +7 -0
  210. package/cjs/components/shared/file-tree/file-tree-toolbar/locales/index.d.ts +4 -0
  211. package/cjs/components/shared/file-tree/file-tree-toolbar/locales/index.js +13 -0
  212. package/cjs/components/shared/file-tree/file-tree-toolbar/locales/ja.json.js +7 -0
  213. package/cjs/components/shared/file-tree/file-tree-toolbar/locales/ko.json.js +7 -0
  214. package/cjs/components/shared/file-tree/file-tree-toolbar/locales/th.json.js +7 -0
  215. package/cjs/components/shared/file-tree/index.d.ts +1 -1
  216. package/cjs/components/shared/file-tree/index.js +7 -0
  217. package/cjs/components/shared/file-tree/locales/en.json.js +2 -2
  218. package/cjs/components/shared/file-tree/locales/index.d.ts +4 -0
  219. package/cjs/components/shared/file-tree/locales/index.js +13 -0
  220. package/cjs/components/shared/file-tree/locales/ja.json.js +7 -0
  221. package/cjs/components/shared/file-tree/locales/ko.json.js +2 -2
  222. package/cjs/components/shared/file-tree/locales/th.json.js +7 -0
  223. package/cjs/components/shared/file-tree/utils/fileTreeFiles.js +24 -20
  224. package/cjs/components/shared/file-tree/utils/fileTreeGenerator.js +193 -146
  225. package/cjs/components/shared/file-tree/utils/fileTreeInput.js +11 -0
  226. package/cjs/components/shared/file-tree/utils/fileTreeItem.js +1 -1
  227. package/cjs/components/shared/file-tree/utils/fileTreePath.js +5 -6
  228. package/cjs/components/shared/file-tree/utils/index.js +20 -0
  229. package/cjs/components/shared/file-viewer/FileViewer.d.ts +2 -1
  230. package/cjs/components/shared/file-viewer/FileViewer.js +80 -56
  231. package/cjs/components/shared/file-viewer/FileViewerCsv.d.ts +3 -2
  232. package/cjs/components/shared/file-viewer/FileViewerCsv.js +269 -168
  233. package/cjs/components/shared/file-viewer/FileViewerImage.js +16 -12
  234. package/cjs/components/shared/file-viewer/FileViewerIpynb.js +27 -11
  235. package/cjs/components/shared/file-viewer/FileViewerNonViewable.d.ts +2 -1
  236. package/cjs/components/shared/file-viewer/FileViewerNonViewable.js +69 -57
  237. package/cjs/components/shared/file-viewer/FileViewerText.js +23 -11
  238. package/cjs/components/shared/file-viewer/index.js +7 -0
  239. package/cjs/components/shared/file-viewer/locales/en.json.js +1 -1
  240. package/cjs/components/shared/file-viewer/locales/index.d.ts +8 -0
  241. package/cjs/components/shared/file-viewer/locales/index.js +21 -0
  242. package/cjs/components/shared/file-viewer/locales/ja.json.js +7 -0
  243. package/cjs/components/shared/file-viewer/locales/ko.json.js +1 -1
  244. package/cjs/components/shared/file-viewer/locales/nonViewable.en.json.js +2 -2
  245. package/cjs/components/shared/file-viewer/locales/nonViewable.ja.json.js +7 -0
  246. package/cjs/components/shared/file-viewer/locales/nonViewable.ko.json.js +2 -2
  247. package/cjs/components/shared/file-viewer/locales/nonViewable.th.json.js +7 -0
  248. package/cjs/components/shared/file-viewer/locales/th.json.js +7 -0
  249. package/cjs/components/shared/material-modal/MaterialModal.js +20 -11
  250. package/cjs/components/shared/material-modal/MaterialModal.styled.js +9 -5
  251. package/cjs/components/shared/material-modal/index.js +7 -0
  252. package/cjs/components/shared/monaco-editor/MonacoEditor.js +102 -74
  253. package/cjs/components/shared/monaco-editor/MonacoEditorLazy.js +15 -7
  254. package/cjs/components/shared/monaco-editor/MonacoEditorMobile.js +49 -34
  255. package/cjs/components/shared/monaco-editor/MonacoEditorPerferenceForm.d.ts +2 -1
  256. package/cjs/components/shared/monaco-editor/MonacoEditorPerferenceForm.js +252 -206
  257. package/cjs/components/shared/monaco-editor/constants/grammars/index.js +82 -28
  258. package/cjs/components/shared/monaco-editor/constants/index.js +13 -0
  259. package/cjs/components/shared/monaco-editor/constants/monaco/index.js +11 -0
  260. package/cjs/components/shared/monaco-editor/constants/monaco/preferences.js +5 -5
  261. package/cjs/components/shared/monaco-editor/constants/themes/elice.json.js +1 -1
  262. package/cjs/components/shared/monaco-editor/constants/themes/index.js +49 -17
  263. package/cjs/components/shared/monaco-editor/editor-hooks/index.js +17 -0
  264. package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoEventChange.js +11 -10
  265. package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoEventCursor.js +15 -14
  266. package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoEventScroll.js +9 -8
  267. package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoMarkers.js +34 -30
  268. package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoOptions.js +9 -7
  269. package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoTheme.js +6 -6
  270. package/cjs/components/shared/monaco-editor/editor-languages/css/formatter.js +33 -10
  271. package/cjs/components/shared/monaco-editor/editor-languages/css/index.js +3 -2
  272. package/cjs/components/shared/monaco-editor/editor-languages/html/formatter.js +33 -10
  273. package/cjs/components/shared/monaco-editor/editor-languages/html/index.js +3 -2
  274. package/cjs/components/shared/monaco-editor/editor-languages/typescript/dts/_helper.js +1 -1
  275. package/cjs/components/shared/monaco-editor/editor-languages/typescript/dts/index.js +11 -0
  276. package/cjs/components/shared/monaco-editor/editor-languages/typescript/formatter.js +37 -10
  277. package/cjs/components/shared/monaco-editor/editor-languages/typescript/index.js +6 -5
  278. package/cjs/components/shared/monaco-editor/hooks/index.js +7 -0
  279. package/cjs/components/shared/monaco-editor/hooks/useEditorOptions.js +11 -5
  280. package/cjs/components/shared/monaco-editor/index.js +21 -0
  281. package/cjs/components/shared/monaco-editor/locales/en.json.js +2 -2
  282. package/cjs/components/shared/monaco-editor/locales/index.d.ts +4 -0
  283. package/cjs/components/shared/monaco-editor/locales/index.js +13 -0
  284. package/cjs/components/shared/monaco-editor/locales/ja.json.js +7 -0
  285. package/cjs/components/shared/monaco-editor/locales/ko.json.js +2 -2
  286. package/cjs/components/shared/monaco-editor/locales/th.json.js +7 -0
  287. package/cjs/components/shared/monaco-editor/utils/emmet/abbreviationActions.js +10 -12
  288. package/cjs/components/shared/monaco-editor/utils/emmet/index.js +9 -0
  289. package/cjs/components/shared/monaco-editor/utils/emmet/registerProvider.js +12 -6
  290. package/cjs/components/shared/monaco-editor/utils/grammar/index.js +67 -24
  291. package/cjs/components/shared/monaco-editor/utils/grammar/onigasm.js +25 -6
  292. package/cjs/components/shared/monaco-editor/utils/grammar/textmate.js +70 -37
  293. package/cjs/components/shared/monaco-editor/utils/index.js +9 -0
  294. package/cjs/components/shared/monaco-editor/utils/monacoLanguage.js +8 -7
  295. package/cjs/components/shared/monaco-editor/utils/monacoPreference.js +6 -4
  296. package/cjs/components/shared/monaco-editor/utils/prettier/config.js +2 -2
  297. package/cjs/components/shared/monaco-editor/utils/prettier/index.js +27 -7
  298. package/cjs/components/shared/monaco-editor/utils/theme/convert.js +24 -14
  299. package/cjs/components/shared/monaco-editor/utils/theme/index.js +22 -3
  300. package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursor.js +77 -56
  301. package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.js +82 -68
  302. package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorWidget.js +120 -93
  303. package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelection.js +155 -132
  304. package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.js +104 -92
  305. package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/index.js +12 -0
  306. package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.js +2 -2
  307. package/cjs/components/shared/monaco-editor/vendors/vscode-emmet-helper/configCompat.js +1 -6
  308. package/cjs/components/shared/monaco-editor/vendors/vscode-emmet-helper/data.js +2 -2
  309. package/cjs/components/shared/monaco-editor/vendors/vscode-emmet-helper/emmetHelper.js +177 -158
  310. package/cjs/components/shared/monaco-editor/vendors/vscode-emmet-helper/index.js +11 -0
  311. package/cjs/components/shared/monaco-editor/vendors/vscode-emmet-helper/utils.js +3 -3
  312. package/cjs/components/shared/no-vnc/NoVnc.d.ts +4 -2
  313. package/cjs/components/shared/no-vnc/NoVnc.js +122 -70
  314. package/cjs/components/shared/no-vnc/NoVncLazy.js +15 -7
  315. package/cjs/components/shared/no-vnc/index.js +7 -0
  316. package/cjs/components/shared/no-vnc/locales/en.json.js +7 -0
  317. package/cjs/components/shared/no-vnc/locales/ja.json.js +7 -0
  318. package/cjs/components/shared/no-vnc/locales/ko.json.js +7 -0
  319. package/cjs/components/shared/no-vnc/locales/th.json.js +7 -0
  320. package/cjs/components/shared/preview-container/PreviewContainer.js +18 -13
  321. package/cjs/components/shared/preview-container/index.js +9 -0
  322. package/cjs/components/shared/web-browser/WebBrowser.d.ts +4 -2
  323. package/cjs/components/shared/web-browser/WebBrowser.js +84 -53
  324. package/cjs/components/shared/web-browser/index.js +7 -0
  325. package/cjs/components/shared/web-browser/locales/en.json.js +7 -0
  326. package/cjs/components/shared/web-browser/locales/index.d.ts +4 -0
  327. package/cjs/components/shared/web-browser/locales/index.js +13 -0
  328. package/cjs/components/shared/web-browser/locales/ja.json.js +7 -0
  329. package/cjs/components/shared/web-browser/locales/ko.json.js +7 -0
  330. package/cjs/components/shared/web-browser/locales/th.json.js +7 -0
  331. package/cjs/components/shared/xterm/Xterm.d.ts +3 -1
  332. package/cjs/components/shared/xterm/Xterm.js +87 -73
  333. package/cjs/components/shared/xterm/XtermLazy.js +15 -7
  334. package/cjs/components/shared/xterm/index.js +7 -0
  335. package/cjs/components/shared/xterm/locales/en.json.js +2 -2
  336. package/cjs/components/shared/xterm/locales/index.d.ts +4 -0
  337. package/cjs/components/shared/xterm/locales/index.js +13 -0
  338. package/cjs/components/shared/xterm/locales/ja.json.js +7 -0
  339. package/cjs/components/shared/xterm/locales/ko.json.js +2 -2
  340. package/cjs/components/shared/xterm/locales/th.json.js +7 -0
  341. package/cjs/constants/arduino.js +10 -10
  342. package/cjs/constants/color.d.ts +1 -0
  343. package/cjs/constants/color.js +5 -0
  344. package/cjs/constants/index.js +7 -0
  345. package/cjs/constants/shortcutKeyMap.js +3 -1
  346. package/cjs/constants/stylesheets.js +7 -5
  347. package/cjs/hooks/index.js +20 -0
  348. package/cjs/hooks/useArduino.js +282 -141
  349. package/cjs/hooks/useExerciseFile.js +24 -22
  350. package/cjs/hooks/useExericseShortcut.js +6 -4
  351. package/cjs/hooks/useMaterialExerciseFileUrl.js +55 -33
  352. package/cjs/hooks/useRunnerRoomWebSocket.js +51 -27
  353. package/cjs/hooks/useStdioTextConcator.js +28 -12
  354. package/cjs/hooks/useStdioWebSocket.js +32 -28
  355. package/cjs/hooks/useUsercodeEditWebSocket.js +238 -158
  356. package/cjs/hooks/useUsercodeHistory.js +115 -63
  357. package/cjs/utils/arduino.js +23 -11
  358. package/cjs/utils/exerciseFile.js +8 -10
  359. package/cjs/utils/index.js +10 -0
  360. package/cjs/utils/runner.js +39 -16
  361. package/es/_virtual/_rollupPluginBabelHelpers.js +499 -0
  362. package/es/assets/empty.png.js +3 -0
  363. package/es/components/index.js +8 -0
  364. package/es/components/locales/en.json.js +3 -0
  365. package/es/components/locales/index.d.ts +4 -0
  366. package/es/components/locales/index.js +4 -0
  367. package/es/components/locales/ja.json.js +3 -0
  368. package/es/components/locales/ko.json.js +3 -0
  369. package/es/components/locales/th.json.js +3 -0
  370. package/es/components/material-exercise/MaterialExercise.d.ts +3 -1
  371. package/es/components/material-exercise/MaterialExercise.js +113 -83
  372. package/es/components/material-exercise/MaterialExercise.styled.js +14 -14
  373. package/es/components/material-exercise/MaterialExerciseMobile.d.ts +1 -1
  374. package/es/components/material-exercise/MaterialExerciseMobile.js +13 -7
  375. package/es/components/material-exercise/context/ExerciseProvider.js +63 -58
  376. package/es/components/material-exercise/context/ExerciseProviderNoImage.d.ts +2 -1
  377. package/es/components/material-exercise/context/ExerciseProviderNoImage.js +41 -43
  378. package/es/components/material-exercise/context/context.js +1 -1
  379. package/es/components/material-exercise/context/index.js +5 -0
  380. package/es/components/material-exercise/context/locales/noImage.en.json.js +2 -2
  381. package/es/components/material-exercise/context/locales/noImage.ja.json.js +3 -0
  382. package/es/components/material-exercise/context/locales/noImage.ko.json.js +2 -2
  383. package/es/components/material-exercise/context/locales/noImage.th.json.js +3 -0
  384. package/es/components/material-exercise/context/recoil.js +535 -290
  385. package/es/components/material-exercise/context/subjects.d.ts +4 -0
  386. package/es/components/material-exercise/context/subjects.js +8 -4
  387. package/es/components/material-exercise/context/types.d.ts +22 -3
  388. package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.d.ts +2 -1
  389. package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +100 -87
  390. package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.js +8 -8
  391. package/es/components/material-exercise/exercise-code-history/index.js +1 -0
  392. package/es/components/material-exercise/exercise-code-history/locales/en.json.js +2 -2
  393. package/es/components/material-exercise/exercise-code-history/locales/index.d.ts +4 -0
  394. package/es/components/material-exercise/exercise-code-history/locales/index.js +4 -0
  395. package/es/components/material-exercise/exercise-code-history/locales/ja.json.js +3 -0
  396. package/es/components/material-exercise/exercise-code-history/locales/ko.json.js +2 -2
  397. package/es/components/material-exercise/exercise-code-history/locales/th.json.js +3 -0
  398. package/es/components/material-exercise/exercise-file/ExerciseFile.js +25 -27
  399. package/es/components/material-exercise/exercise-file/index.js +1 -0
  400. package/es/components/material-exercise/exercise-file-editor/ExerciseFileEditor.js +258 -149
  401. package/es/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.d.ts +3 -5
  402. package/es/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.js +23 -13
  403. package/es/components/material-exercise/exercise-file-editor/index.js +1 -0
  404. package/es/components/material-exercise/exercise-file-editor/locales/en.json.js +3 -0
  405. package/es/components/material-exercise/exercise-file-editor/locales/index.d.ts +4 -0
  406. package/es/components/material-exercise/exercise-file-editor/locales/index.js +4 -0
  407. package/es/components/material-exercise/exercise-file-editor/locales/ja.json.js +3 -0
  408. package/es/components/material-exercise/exercise-file-editor/locales/ko.json.js +3 -0
  409. package/es/components/material-exercise/exercise-file-editor/locales/th.json.js +3 -0
  410. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.d.ts +2 -2
  411. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.js +55 -30
  412. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.d.ts +1 -2
  413. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.js +6 -4
  414. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/ExerciseFileTabsFileTreeButton.d.ts +4 -0
  415. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/ExerciseFileTabsFileTreeButton.js +90 -0
  416. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/index.d.ts +1 -0
  417. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/index.js +1 -0
  418. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/en.json.js +3 -0
  419. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/index.d.ts +4 -0
  420. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/index.js +4 -0
  421. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/ja.json.js +3 -0
  422. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/ko.json.js +3 -0
  423. package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/locales/th.json.js +3 -0
  424. package/es/components/material-exercise/exercise-file-tabs/index.js +2 -0
  425. package/es/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.en.json.js +2 -2
  426. package/es/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.ja.json.js +3 -0
  427. package/es/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.ko.json.js +2 -2
  428. package/es/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.th.json.js +3 -0
  429. package/es/components/material-exercise/exercise-file-tabs/locales/index.d.ts +4 -0
  430. package/es/components/material-exercise/exercise-file-tabs/locales/index.js +4 -0
  431. package/es/components/material-exercise/exercise-file-tree/ExerciseFileTree.d.ts +2 -3
  432. package/es/components/material-exercise/exercise-file-tree/ExerciseFileTree.js +353 -219
  433. package/es/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.d.ts +1 -2
  434. package/es/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.js +6 -4
  435. package/es/components/material-exercise/exercise-file-tree/index.js +2 -0
  436. package/es/components/material-exercise/exercise-file-tree/locales/en.json.js +2 -2
  437. package/es/components/material-exercise/exercise-file-tree/locales/index.d.ts +4 -0
  438. package/es/components/material-exercise/exercise-file-tree/locales/index.js +4 -0
  439. package/es/components/material-exercise/exercise-file-tree/locales/ja.json.js +3 -0
  440. package/es/components/material-exercise/exercise-file-tree/locales/ko.json.js +2 -2
  441. package/es/components/material-exercise/exercise-file-tree/locales/th.json.js +3 -0
  442. package/es/components/material-exercise/exercise-file-viewer/ExerciseFileViewer.js +14 -15
  443. package/es/components/material-exercise/exercise-file-viewer/index.js +1 -0
  444. package/es/components/material-exercise/exercise-menu/ExerciseMenu.d.ts +2 -1
  445. package/es/components/material-exercise/exercise-menu/ExerciseMenu.js +20 -15
  446. package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.js +13 -11
  447. package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoSettings.js +120 -81
  448. package/es/components/material-exercise/exercise-menu/ExerciseMenuDropdown.js +106 -66
  449. package/es/components/material-exercise/exercise-menu/ExerciseMenuReset.js +42 -24
  450. package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.js +145 -118
  451. package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.js +13 -13
  452. package/es/components/material-exercise/exercise-menu/index.js +1 -0
  453. package/es/components/material-exercise/exercise-menu/locales/en.json.js +2 -2
  454. package/es/components/material-exercise/exercise-menu/locales/index.d.ts +4 -0
  455. package/es/components/material-exercise/exercise-menu/locales/index.js +4 -0
  456. package/es/components/material-exercise/exercise-menu/locales/ja.json.js +3 -0
  457. package/es/components/material-exercise/exercise-menu/locales/ko.json.js +2 -2
  458. package/es/components/material-exercise/exercise-menu/locales/th.json.js +3 -0
  459. package/es/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdown.js +28 -19
  460. package/es/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdownLazy.d.ts +1 -2
  461. package/es/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdownLazy.js +6 -4
  462. package/es/components/material-exercise/exercise-multilang-dropdown/index.js +2 -0
  463. package/es/components/material-exercise/exercise-preview/ExercisePreview.d.ts +2 -1
  464. package/es/components/material-exercise/exercise-preview/ExercisePreview.js +30 -27
  465. package/es/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.js +15 -8
  466. package/es/components/material-exercise/exercise-preview/index.js +1 -0
  467. package/es/components/material-exercise/exercise-preview/locales/en.json.js +2 -2
  468. package/es/components/material-exercise/exercise-preview/locales/index.d.ts +4 -0
  469. package/es/components/material-exercise/exercise-preview/locales/index.js +4 -0
  470. package/es/components/material-exercise/exercise-preview/locales/ja.json.js +3 -0
  471. package/es/components/material-exercise/exercise-preview/locales/ko.json.js +2 -2
  472. package/es/components/material-exercise/exercise-preview/locales/th.json.js +3 -0
  473. package/es/components/material-exercise/exercise-rightpane/ExerciseRightpane.d.ts +2 -3
  474. package/es/components/material-exercise/exercise-rightpane/ExerciseRightpane.js +55 -43
  475. package/es/components/material-exercise/exercise-rightpane/ExerciseRightpaneEditorPerference.js +10 -6
  476. package/es/components/material-exercise/exercise-rightpane/ExerciseRightpaneEnvironment.js +86 -79
  477. package/es/components/material-exercise/exercise-rightpane/index.js +1 -0
  478. package/es/components/material-exercise/exercise-rightpane/locales/en.json.js +2 -2
  479. package/es/components/material-exercise/exercise-rightpane/locales/index.d.ts +4 -0
  480. package/es/components/material-exercise/exercise-rightpane/locales/index.js +4 -0
  481. package/es/components/material-exercise/exercise-rightpane/locales/ja.json.js +3 -0
  482. package/es/components/material-exercise/exercise-rightpane/locales/ko.json.js +2 -2
  483. package/es/components/material-exercise/exercise-rightpane/locales/th.json.js +3 -0
  484. package/es/components/material-exercise/exercise-room/ExerciseRoom.d.ts +2 -1
  485. package/es/components/material-exercise/exercise-room/ExerciseRoom.js +25 -15
  486. package/es/components/material-exercise/exercise-room/ExerciseRoom.styled.js +14 -12
  487. package/es/components/material-exercise/exercise-room/ExerciseRoomDetail.js +499 -350
  488. package/es/components/material-exercise/exercise-room/ExerciseRoomList.js +194 -134
  489. package/es/components/material-exercise/exercise-room/helpers/exerciseRoomPermissionStringConvertor.js +2 -2
  490. package/es/components/material-exercise/exercise-room/helpers/index.js +1 -0
  491. package/es/components/material-exercise/exercise-room/index.js +1 -0
  492. package/es/components/material-exercise/exercise-room/locales/en.json.js +2 -2
  493. package/es/components/material-exercise/exercise-room/locales/index.d.ts +4 -0
  494. package/es/components/material-exercise/exercise-room/locales/index.js +4 -0
  495. package/es/components/material-exercise/exercise-room/locales/ja.json.js +3 -0
  496. package/es/components/material-exercise/exercise-room/locales/ko.json.js +2 -2
  497. package/es/components/material-exercise/exercise-room/locales/th.json.js +3 -0
  498. package/es/components/material-exercise/exercise-runner/ExerciseRunner.d.ts +2 -1
  499. package/es/components/material-exercise/exercise-runner/ExerciseRunner.js +228 -164
  500. package/es/components/material-exercise/exercise-runner/ExerciseRunnerContext.js +1 -1
  501. package/es/components/material-exercise/exercise-runner/ExerciseRunnerController.js +20 -16
  502. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +113 -84
  503. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.js +31 -21
  504. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerButtonGroup.js +87 -102
  505. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerRunningInfo.js +130 -91
  506. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.js +2 -2
  507. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.js +24 -21
  508. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerTimer.js +31 -23
  509. package/es/components/material-exercise/exercise-runner/index.js +1 -0
  510. package/es/components/material-exercise/exercise-runner/locales/en.json.js +2 -2
  511. package/es/components/material-exercise/exercise-runner/locales/index.d.ts +4 -0
  512. package/es/components/material-exercise/exercise-runner/locales/index.js +4 -0
  513. package/es/components/material-exercise/exercise-runner/locales/ja.json.js +3 -0
  514. package/es/components/material-exercise/exercise-runner/locales/ko.json.js +2 -2
  515. package/es/components/material-exercise/exercise-runner/locales/th.json.js +3 -0
  516. package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.d.ts +2 -1
  517. package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.js +421 -237
  518. package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.js +8 -8
  519. package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistoryOutput.js +68 -49
  520. package/es/components/material-exercise/exercise-submit-history/index.js +1 -0
  521. package/es/components/material-exercise/exercise-submit-history/locales/en.json.js +2 -2
  522. package/es/components/material-exercise/exercise-submit-history/locales/index.d.ts +4 -0
  523. package/es/components/material-exercise/exercise-submit-history/locales/index.js +4 -0
  524. package/es/components/material-exercise/exercise-submit-history/locales/ja.json.js +3 -0
  525. package/es/components/material-exercise/exercise-submit-history/locales/ko.json.js +2 -2
  526. package/es/components/material-exercise/exercise-submit-history/locales/th.json.js +3 -0
  527. package/es/components/material-exercise/index.d.ts +1 -1
  528. package/es/components/material-exercise/index.js +2 -0
  529. package/es/components/shared/exercise-menu-button/ExerciseMenuButton.js +29 -24
  530. package/es/components/shared/exercise-menu-button/index.js +1 -0
  531. package/es/components/shared/exercise-shimmer/ExerciseFileShimmer.js +40 -38
  532. package/es/components/shared/exercise-shimmer/ExerciseFileTabShimmer.js +22 -20
  533. package/es/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.js +10 -8
  534. package/es/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.js +24 -22
  535. package/es/components/shared/exercise-shimmer/ExerciseFileTreeListShimmer.js +19 -9
  536. package/es/components/shared/exercise-shimmer/index.js +5 -0
  537. package/es/components/shared/exercise-version-list/ExerciseVersionList.js +6 -5
  538. package/es/components/shared/exercise-version-list/ExerciseVersionList.styled.js +1 -1
  539. package/es/components/shared/exercise-version-list/ExerciseVersionListItem.js +10 -10
  540. package/es/components/shared/exercise-version-list/ExerciseVersionListItem.styled.js +9 -5
  541. package/es/components/shared/exercise-version-list/index.js +2 -0
  542. package/es/components/shared/file-icon/FileIcon.js +19 -16
  543. package/es/components/shared/file-icon/index.js +1 -0
  544. package/es/components/shared/file-tabs/FileTab.js +43 -33
  545. package/es/components/shared/file-tabs/FileTab.styled.js +19 -15
  546. package/es/components/shared/file-tabs/FileTabs.js +62 -40
  547. package/es/components/shared/file-tabs/FileTabs.styled.js +2 -2
  548. package/es/components/shared/file-tabs/index.js +1 -0
  549. package/es/components/shared/file-tabs/util.js +27 -14
  550. package/es/components/shared/file-tree/FileTree.d.ts +2 -5
  551. package/es/components/shared/file-tree/FileTree.js +24 -18
  552. package/es/components/shared/file-tree/FileTreeConfig.js +40 -41
  553. package/es/components/shared/file-tree/FileTreeList.js +39 -42
  554. package/es/components/shared/file-tree/FileTreeListItemContent.js +124 -99
  555. package/es/components/shared/file-tree/FileTreeListItemContent.styled.js +25 -21
  556. package/es/components/shared/file-tree/FileTreeListItemContentInput.js +103 -97
  557. package/es/components/shared/file-tree/FileTreeListItemContentInput.styled.js +6 -6
  558. package/es/components/shared/file-tree/FileTreeListItemContentMenu.js +130 -92
  559. package/es/components/shared/file-tree/FileTreeListItems.js +149 -137
  560. package/es/components/shared/file-tree/FileTreeListItems.styled.js +2 -2
  561. package/es/components/shared/file-tree/FileTreeToolbar.styled.js +1 -1
  562. package/es/components/shared/file-tree/context/FileTreeContext.d.ts +1 -1
  563. package/es/components/shared/file-tree/context/FileTreeContext.js +97 -79
  564. package/es/components/shared/file-tree/context/index.js +1 -0
  565. package/es/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.d.ts +6 -0
  566. package/es/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.js +115 -0
  567. package/es/components/shared/file-tree/file-tree-toolbar/index.d.ts +1 -0
  568. package/es/components/shared/file-tree/file-tree-toolbar/index.js +1 -0
  569. package/es/components/shared/file-tree/file-tree-toolbar/locales/en.json.js +3 -0
  570. package/es/components/shared/file-tree/file-tree-toolbar/locales/index.d.ts +4 -0
  571. package/es/components/shared/file-tree/file-tree-toolbar/locales/index.js +4 -0
  572. package/es/components/shared/file-tree/file-tree-toolbar/locales/ja.json.js +3 -0
  573. package/es/components/shared/file-tree/file-tree-toolbar/locales/ko.json.js +3 -0
  574. package/es/components/shared/file-tree/file-tree-toolbar/locales/th.json.js +3 -0
  575. package/es/components/shared/file-tree/index.d.ts +1 -1
  576. package/es/components/shared/file-tree/index.js +1 -0
  577. package/es/components/shared/file-tree/locales/en.json.js +2 -2
  578. package/es/components/shared/file-tree/locales/index.d.ts +4 -0
  579. package/es/components/shared/file-tree/locales/index.js +4 -0
  580. package/es/components/shared/file-tree/locales/ja.json.js +3 -0
  581. package/es/components/shared/file-tree/locales/ko.json.js +2 -2
  582. package/es/components/shared/file-tree/locales/th.json.js +3 -0
  583. package/es/components/shared/file-tree/utils/fileTreeFiles.js +20 -20
  584. package/es/components/shared/file-tree/utils/fileTreeGenerator.js +193 -146
  585. package/es/components/shared/file-tree/utils/fileTreeInput.js +11 -1
  586. package/es/components/shared/file-tree/utils/fileTreeItem.js +1 -1
  587. package/es/components/shared/file-tree/utils/fileTreePath.js +5 -6
  588. package/es/components/shared/file-tree/utils/index.js +5 -0
  589. package/es/components/shared/file-viewer/FileViewer.d.ts +2 -1
  590. package/es/components/shared/file-viewer/FileViewer.js +73 -56
  591. package/es/components/shared/file-viewer/FileViewerCsv.d.ts +3 -2
  592. package/es/components/shared/file-viewer/FileViewerCsv.js +264 -168
  593. package/es/components/shared/file-viewer/FileViewerImage.js +12 -12
  594. package/es/components/shared/file-viewer/FileViewerIpynb.js +21 -11
  595. package/es/components/shared/file-viewer/FileViewerNonViewable.d.ts +2 -1
  596. package/es/components/shared/file-viewer/FileViewerNonViewable.js +66 -59
  597. package/es/components/shared/file-viewer/FileViewerText.js +19 -11
  598. package/es/components/shared/file-viewer/index.js +1 -0
  599. package/es/components/shared/file-viewer/locales/en.json.js +1 -1
  600. package/es/components/shared/file-viewer/locales/index.d.ts +8 -0
  601. package/es/components/shared/file-viewer/locales/index.js +8 -0
  602. package/es/components/shared/file-viewer/locales/ja.json.js +3 -0
  603. package/es/components/shared/file-viewer/locales/ko.json.js +1 -1
  604. package/es/components/shared/file-viewer/locales/nonViewable.en.json.js +2 -2
  605. package/es/components/shared/file-viewer/locales/nonViewable.ja.json.js +3 -0
  606. package/es/components/shared/file-viewer/locales/nonViewable.ko.json.js +2 -2
  607. package/es/components/shared/file-viewer/locales/nonViewable.th.json.js +3 -0
  608. package/es/components/shared/file-viewer/locales/th.json.js +3 -0
  609. package/es/components/shared/material-modal/MaterialModal.js +20 -11
  610. package/es/components/shared/material-modal/MaterialModal.styled.js +5 -5
  611. package/es/components/shared/material-modal/index.js +1 -0
  612. package/es/components/shared/monaco-editor/MonacoEditor.js +95 -72
  613. package/es/components/shared/monaco-editor/MonacoEditorLazy.js +11 -7
  614. package/es/components/shared/monaco-editor/MonacoEditorMobile.js +43 -32
  615. package/es/components/shared/monaco-editor/MonacoEditorPerferenceForm.d.ts +2 -1
  616. package/es/components/shared/monaco-editor/MonacoEditorPerferenceForm.js +248 -207
  617. package/es/components/shared/monaco-editor/constants/grammars/index.js +82 -28
  618. package/es/components/shared/monaco-editor/constants/index.js +2 -0
  619. package/es/components/shared/monaco-editor/constants/monaco/index.js +1 -0
  620. package/es/components/shared/monaco-editor/constants/monaco/preferences.js +5 -5
  621. package/es/components/shared/monaco-editor/constants/themes/elice.json.js +1 -1
  622. package/es/components/shared/monaco-editor/constants/themes/index.js +49 -17
  623. package/es/components/shared/monaco-editor/editor-hooks/index.js +6 -0
  624. package/es/components/shared/monaco-editor/editor-hooks/useMonacoEventChange.js +11 -10
  625. package/es/components/shared/monaco-editor/editor-hooks/useMonacoEventCursor.js +15 -14
  626. package/es/components/shared/monaco-editor/editor-hooks/useMonacoEventScroll.js +9 -8
  627. package/es/components/shared/monaco-editor/editor-hooks/useMonacoMarkers.js +34 -30
  628. package/es/components/shared/monaco-editor/editor-hooks/useMonacoOptions.js +9 -7
  629. package/es/components/shared/monaco-editor/editor-hooks/useMonacoTheme.js +6 -6
  630. package/es/components/shared/monaco-editor/editor-languages/css/formatter.js +33 -10
  631. package/es/components/shared/monaco-editor/editor-languages/html/formatter.js +33 -10
  632. package/es/components/shared/monaco-editor/editor-languages/typescript/dts/_helper.js +1 -1
  633. package/es/components/shared/monaco-editor/editor-languages/typescript/dts/index.js +3 -0
  634. package/es/components/shared/monaco-editor/editor-languages/typescript/formatter.js +37 -10
  635. package/es/components/shared/monaco-editor/editor-languages/typescript/index.js +3 -3
  636. package/es/components/shared/monaco-editor/hooks/index.js +1 -0
  637. package/es/components/shared/monaco-editor/hooks/useEditorOptions.js +11 -5
  638. package/es/components/shared/monaco-editor/index.js +6 -0
  639. package/es/components/shared/monaco-editor/locales/en.json.js +2 -2
  640. package/es/components/shared/monaco-editor/locales/index.d.ts +4 -0
  641. package/es/components/shared/monaco-editor/locales/index.js +4 -0
  642. package/es/components/shared/monaco-editor/locales/ja.json.js +3 -0
  643. package/es/components/shared/monaco-editor/locales/ko.json.js +2 -2
  644. package/es/components/shared/monaco-editor/locales/th.json.js +3 -0
  645. package/es/components/shared/monaco-editor/utils/emmet/abbreviationActions.js +10 -12
  646. package/es/components/shared/monaco-editor/utils/emmet/index.js +1 -0
  647. package/es/components/shared/monaco-editor/utils/emmet/registerProvider.js +12 -6
  648. package/es/components/shared/monaco-editor/utils/grammar/index.js +67 -24
  649. package/es/components/shared/monaco-editor/utils/grammar/onigasm.js +25 -6
  650. package/es/components/shared/monaco-editor/utils/grammar/textmate.js +67 -35
  651. package/es/components/shared/monaco-editor/utils/index.js +2 -0
  652. package/es/components/shared/monaco-editor/utils/monacoLanguage.js +5 -5
  653. package/es/components/shared/monaco-editor/utils/monacoPreference.js +6 -4
  654. package/es/components/shared/monaco-editor/utils/prettier/config.js +2 -2
  655. package/es/components/shared/monaco-editor/utils/prettier/index.js +27 -7
  656. package/es/components/shared/monaco-editor/utils/theme/convert.js +19 -13
  657. package/es/components/shared/monaco-editor/utils/theme/index.js +22 -3
  658. package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursor.js +77 -56
  659. package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.js +82 -68
  660. package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorWidget.js +120 -93
  661. package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelection.js +152 -130
  662. package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.js +104 -92
  663. package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/index.js +3 -0
  664. package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.js +2 -2
  665. package/es/components/shared/monaco-editor/vendors/vscode-emmet-helper/configCompat.js +1 -6
  666. package/es/components/shared/monaco-editor/vendors/vscode-emmet-helper/data.js +2 -2
  667. package/es/components/shared/monaco-editor/vendors/vscode-emmet-helper/emmetHelper.js +171 -156
  668. package/es/components/shared/monaco-editor/vendors/vscode-emmet-helper/index.js +2 -0
  669. package/es/components/shared/monaco-editor/vendors/vscode-emmet-helper/utils.js +3 -3
  670. package/es/components/shared/no-vnc/NoVnc.d.ts +4 -2
  671. package/es/components/shared/no-vnc/NoVnc.js +103 -63
  672. package/es/components/shared/no-vnc/NoVncLazy.js +11 -7
  673. package/es/components/shared/no-vnc/index.js +1 -0
  674. package/es/components/shared/no-vnc/locales/en.json.js +3 -0
  675. package/es/components/shared/no-vnc/locales/ja.json.js +3 -0
  676. package/es/components/shared/no-vnc/locales/ko.json.js +3 -0
  677. package/es/components/shared/no-vnc/locales/th.json.js +3 -0
  678. package/es/components/shared/preview-container/PreviewContainer.js +15 -14
  679. package/es/components/shared/preview-container/index.js +1 -0
  680. package/es/components/shared/web-browser/WebBrowser.d.ts +4 -2
  681. package/es/components/shared/web-browser/WebBrowser.js +79 -53
  682. package/es/components/shared/web-browser/index.js +1 -0
  683. package/es/components/shared/web-browser/locales/en.json.js +3 -0
  684. package/es/components/shared/web-browser/locales/index.d.ts +4 -0
  685. package/es/components/shared/web-browser/locales/index.js +4 -0
  686. package/es/components/shared/web-browser/locales/ja.json.js +3 -0
  687. package/es/components/shared/web-browser/locales/ko.json.js +3 -0
  688. package/es/components/shared/web-browser/locales/th.json.js +3 -0
  689. package/es/components/shared/xterm/Xterm.d.ts +3 -1
  690. package/es/components/shared/xterm/Xterm.js +84 -75
  691. package/es/components/shared/xterm/XtermLazy.js +11 -7
  692. package/es/components/shared/xterm/index.js +1 -0
  693. package/es/components/shared/xterm/locales/en.json.js +2 -2
  694. package/es/components/shared/xterm/locales/index.d.ts +4 -0
  695. package/es/components/shared/xterm/locales/index.js +4 -0
  696. package/es/components/shared/xterm/locales/ja.json.js +3 -0
  697. package/es/components/shared/xterm/locales/ko.json.js +2 -2
  698. package/es/components/shared/xterm/locales/th.json.js +3 -0
  699. package/es/constants/arduino.js +10 -10
  700. package/es/constants/color.d.ts +1 -0
  701. package/es/constants/color.js +3 -0
  702. package/es/constants/index.js +1 -0
  703. package/es/constants/shortcutKeyMap.js +3 -1
  704. package/es/constants/stylesheets.js +7 -5
  705. package/es/hooks/index.js +7 -0
  706. package/es/hooks/useArduino.js +278 -141
  707. package/es/hooks/useExerciseFile.js +24 -22
  708. package/es/hooks/useExericseShortcut.js +6 -4
  709. package/es/hooks/useMaterialExerciseFileUrl.js +52 -34
  710. package/es/hooks/useRunnerRoomWebSocket.js +51 -27
  711. package/es/hooks/useStdioTextConcator.js +24 -12
  712. package/es/hooks/useStdioWebSocket.js +32 -28
  713. package/es/hooks/useUsercodeEditWebSocket.js +232 -157
  714. package/es/hooks/useUsercodeHistory.js +115 -63
  715. package/es/utils/arduino.js +24 -12
  716. package/es/utils/exerciseFile.js +8 -10
  717. package/es/utils/index.js +2 -0
  718. package/es/utils/runner.js +39 -16
  719. package/package.json +17 -20
  720. package/cjs/components/material-exercise/MaterialExercise.i18n.d.ts +0 -5
  721. package/cjs/components/material-exercise/MaterialExercise.i18n.js +0 -13
  722. package/cjs/components/material-exercise/context/ExerciseIntlProvider.d.ts +0 -12
  723. package/cjs/components/material-exercise/context/ExerciseIntlProvider.js +0 -44
  724. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsFileTreeButton.d.ts +0 -3
  725. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsFileTreeButton.js +0 -85
  726. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.d.ts +0 -5
  727. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.js +0 -90
  728. package/cjs/components/shared/file-tree/FileTreeToolbar.d.ts +0 -6
  729. package/cjs/components/shared/file-tree/FileTreeToolbar.js +0 -116
  730. package/es/components/material-exercise/MaterialExercise.i18n.d.ts +0 -5
  731. package/es/components/material-exercise/MaterialExercise.i18n.js +0 -10
  732. package/es/components/material-exercise/context/ExerciseIntlProvider.d.ts +0 -12
  733. package/es/components/material-exercise/context/ExerciseIntlProvider.js +0 -41
  734. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsFileTreeButton.d.ts +0 -3
  735. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsFileTreeButton.js +0 -81
  736. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.d.ts +0 -5
  737. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.js +0 -86
  738. package/es/components/shared/file-tree/FileTreeToolbar.d.ts +0 -6
  739. package/es/components/shared/file-tree/FileTreeToolbar.js +0 -112
@@ -0,0 +1,519 @@
1
+ 'use strict';
2
+
3
+ function _iterableToArrayLimit(arr, i) {
4
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
5
+ if (null != _i) {
6
+ var _s,
7
+ _e,
8
+ _x,
9
+ _r,
10
+ _arr = [],
11
+ _n = !0,
12
+ _d = !1;
13
+ try {
14
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
15
+ if (Object(_i) !== _i) return;
16
+ _n = !1;
17
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
18
+ } catch (err) {
19
+ _d = !0, _e = err;
20
+ } finally {
21
+ try {
22
+ if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
23
+ } finally {
24
+ if (_d) throw _e;
25
+ }
26
+ }
27
+ return _arr;
28
+ }
29
+ }
30
+ function _regeneratorRuntime() {
31
+ _regeneratorRuntime = function () {
32
+ return exports;
33
+ };
34
+ var exports = {},
35
+ Op = Object.prototype,
36
+ hasOwn = Op.hasOwnProperty,
37
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
38
+ obj[key] = desc.value;
39
+ },
40
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
41
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
42
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
43
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
44
+ function define(obj, key, value) {
45
+ return Object.defineProperty(obj, key, {
46
+ value: value,
47
+ enumerable: !0,
48
+ configurable: !0,
49
+ writable: !0
50
+ }), obj[key];
51
+ }
52
+ try {
53
+ define({}, "");
54
+ } catch (err) {
55
+ define = function (obj, key, value) {
56
+ return obj[key] = value;
57
+ };
58
+ }
59
+ function wrap(innerFn, outerFn, self, tryLocsList) {
60
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
61
+ generator = Object.create(protoGenerator.prototype),
62
+ context = new Context(tryLocsList || []);
63
+ return defineProperty(generator, "_invoke", {
64
+ value: makeInvokeMethod(innerFn, self, context)
65
+ }), generator;
66
+ }
67
+ function tryCatch(fn, obj, arg) {
68
+ try {
69
+ return {
70
+ type: "normal",
71
+ arg: fn.call(obj, arg)
72
+ };
73
+ } catch (err) {
74
+ return {
75
+ type: "throw",
76
+ arg: err
77
+ };
78
+ }
79
+ }
80
+ exports.wrap = wrap;
81
+ var ContinueSentinel = {};
82
+ function Generator() {}
83
+ function GeneratorFunction() {}
84
+ function GeneratorFunctionPrototype() {}
85
+ var IteratorPrototype = {};
86
+ define(IteratorPrototype, iteratorSymbol, function () {
87
+ return this;
88
+ });
89
+ var getProto = Object.getPrototypeOf,
90
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
91
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
92
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
93
+ function defineIteratorMethods(prototype) {
94
+ ["next", "throw", "return"].forEach(function (method) {
95
+ define(prototype, method, function (arg) {
96
+ return this._invoke(method, arg);
97
+ });
98
+ });
99
+ }
100
+ function AsyncIterator(generator, PromiseImpl) {
101
+ function invoke(method, arg, resolve, reject) {
102
+ var record = tryCatch(generator[method], generator, arg);
103
+ if ("throw" !== record.type) {
104
+ var result = record.arg,
105
+ value = result.value;
106
+ return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
107
+ invoke("next", value, resolve, reject);
108
+ }, function (err) {
109
+ invoke("throw", err, resolve, reject);
110
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
111
+ result.value = unwrapped, resolve(result);
112
+ }, function (error) {
113
+ return invoke("throw", error, resolve, reject);
114
+ });
115
+ }
116
+ reject(record.arg);
117
+ }
118
+ var previousPromise;
119
+ defineProperty(this, "_invoke", {
120
+ value: function (method, arg) {
121
+ function callInvokeWithMethodAndArg() {
122
+ return new PromiseImpl(function (resolve, reject) {
123
+ invoke(method, arg, resolve, reject);
124
+ });
125
+ }
126
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
127
+ }
128
+ });
129
+ }
130
+ function makeInvokeMethod(innerFn, self, context) {
131
+ var state = "suspendedStart";
132
+ return function (method, arg) {
133
+ if ("executing" === state) throw new Error("Generator is already running");
134
+ if ("completed" === state) {
135
+ if ("throw" === method) throw arg;
136
+ return {
137
+ value: void 0,
138
+ done: !0
139
+ };
140
+ }
141
+ for (context.method = method, context.arg = arg;;) {
142
+ var delegate = context.delegate;
143
+ if (delegate) {
144
+ var delegateResult = maybeInvokeDelegate(delegate, context);
145
+ if (delegateResult) {
146
+ if (delegateResult === ContinueSentinel) continue;
147
+ return delegateResult;
148
+ }
149
+ }
150
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
151
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
152
+ context.dispatchException(context.arg);
153
+ } else "return" === context.method && context.abrupt("return", context.arg);
154
+ state = "executing";
155
+ var record = tryCatch(innerFn, self, context);
156
+ if ("normal" === record.type) {
157
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
158
+ return {
159
+ value: record.arg,
160
+ done: context.done
161
+ };
162
+ }
163
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
164
+ }
165
+ };
166
+ }
167
+ function maybeInvokeDelegate(delegate, context) {
168
+ var methodName = context.method,
169
+ method = delegate.iterator[methodName];
170
+ if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
171
+ var record = tryCatch(method, delegate.iterator, context.arg);
172
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
173
+ var info = record.arg;
174
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
175
+ }
176
+ function pushTryEntry(locs) {
177
+ var entry = {
178
+ tryLoc: locs[0]
179
+ };
180
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
181
+ }
182
+ function resetTryEntry(entry) {
183
+ var record = entry.completion || {};
184
+ record.type = "normal", delete record.arg, entry.completion = record;
185
+ }
186
+ function Context(tryLocsList) {
187
+ this.tryEntries = [{
188
+ tryLoc: "root"
189
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
190
+ }
191
+ function values(iterable) {
192
+ if (iterable || "" === iterable) {
193
+ var iteratorMethod = iterable[iteratorSymbol];
194
+ if (iteratorMethod) return iteratorMethod.call(iterable);
195
+ if ("function" == typeof iterable.next) return iterable;
196
+ if (!isNaN(iterable.length)) {
197
+ var i = -1,
198
+ next = function next() {
199
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
200
+ return next.value = undefined, next.done = !0, next;
201
+ };
202
+ return next.next = next;
203
+ }
204
+ }
205
+ throw new TypeError(typeof iterable + " is not iterable");
206
+ }
207
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
208
+ value: GeneratorFunctionPrototype,
209
+ configurable: !0
210
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
211
+ value: GeneratorFunction,
212
+ configurable: !0
213
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
214
+ var ctor = "function" == typeof genFun && genFun.constructor;
215
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
216
+ }, exports.mark = function (genFun) {
217
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
218
+ }, exports.awrap = function (arg) {
219
+ return {
220
+ __await: arg
221
+ };
222
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
223
+ return this;
224
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
225
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
226
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
227
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
228
+ return result.done ? result.value : iter.next();
229
+ });
230
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
231
+ return this;
232
+ }), define(Gp, "toString", function () {
233
+ return "[object Generator]";
234
+ }), exports.keys = function (val) {
235
+ var object = Object(val),
236
+ keys = [];
237
+ for (var key in object) keys.push(key);
238
+ return keys.reverse(), function next() {
239
+ for (; keys.length;) {
240
+ var key = keys.pop();
241
+ if (key in object) return next.value = key, next.done = !1, next;
242
+ }
243
+ return next.done = !0, next;
244
+ };
245
+ }, exports.values = values, Context.prototype = {
246
+ constructor: Context,
247
+ reset: function (skipTempReset) {
248
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
249
+ },
250
+ stop: function () {
251
+ this.done = !0;
252
+ var rootRecord = this.tryEntries[0].completion;
253
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
254
+ return this.rval;
255
+ },
256
+ dispatchException: function (exception) {
257
+ if (this.done) throw exception;
258
+ var context = this;
259
+ function handle(loc, caught) {
260
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
261
+ }
262
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
263
+ var entry = this.tryEntries[i],
264
+ record = entry.completion;
265
+ if ("root" === entry.tryLoc) return handle("end");
266
+ if (entry.tryLoc <= this.prev) {
267
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
268
+ hasFinally = hasOwn.call(entry, "finallyLoc");
269
+ if (hasCatch && hasFinally) {
270
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
271
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
272
+ } else if (hasCatch) {
273
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
274
+ } else {
275
+ if (!hasFinally) throw new Error("try statement without catch or finally");
276
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
277
+ }
278
+ }
279
+ }
280
+ },
281
+ abrupt: function (type, arg) {
282
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
283
+ var entry = this.tryEntries[i];
284
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
285
+ var finallyEntry = entry;
286
+ break;
287
+ }
288
+ }
289
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
290
+ var record = finallyEntry ? finallyEntry.completion : {};
291
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
292
+ },
293
+ complete: function (record, afterLoc) {
294
+ if ("throw" === record.type) throw record.arg;
295
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
296
+ },
297
+ finish: function (finallyLoc) {
298
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
299
+ var entry = this.tryEntries[i];
300
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
301
+ }
302
+ },
303
+ catch: function (tryLoc) {
304
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
305
+ var entry = this.tryEntries[i];
306
+ if (entry.tryLoc === tryLoc) {
307
+ var record = entry.completion;
308
+ if ("throw" === record.type) {
309
+ var thrown = record.arg;
310
+ resetTryEntry(entry);
311
+ }
312
+ return thrown;
313
+ }
314
+ }
315
+ throw new Error("illegal catch attempt");
316
+ },
317
+ delegateYield: function (iterable, resultName, nextLoc) {
318
+ return this.delegate = {
319
+ iterator: values(iterable),
320
+ resultName: resultName,
321
+ nextLoc: nextLoc
322
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
323
+ }
324
+ }, exports;
325
+ }
326
+ function _typeof(obj) {
327
+ "@babel/helpers - typeof";
328
+
329
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
330
+ return typeof obj;
331
+ } : function (obj) {
332
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
333
+ }, _typeof(obj);
334
+ }
335
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
336
+ try {
337
+ var info = gen[key](arg);
338
+ var value = info.value;
339
+ } catch (error) {
340
+ reject(error);
341
+ return;
342
+ }
343
+ if (info.done) {
344
+ resolve(value);
345
+ } else {
346
+ Promise.resolve(value).then(_next, _throw);
347
+ }
348
+ }
349
+ function _asyncToGenerator(fn) {
350
+ return function () {
351
+ var self = this,
352
+ args = arguments;
353
+ return new Promise(function (resolve, reject) {
354
+ var gen = fn.apply(self, args);
355
+ function _next(value) {
356
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
357
+ }
358
+ function _throw(err) {
359
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
360
+ }
361
+ _next(undefined);
362
+ });
363
+ };
364
+ }
365
+ function _classCallCheck(instance, Constructor) {
366
+ if (!(instance instanceof Constructor)) {
367
+ throw new TypeError("Cannot call a class as a function");
368
+ }
369
+ }
370
+ function _defineProperties(target, props) {
371
+ for (var i = 0; i < props.length; i++) {
372
+ var descriptor = props[i];
373
+ descriptor.enumerable = descriptor.enumerable || false;
374
+ descriptor.configurable = true;
375
+ if ("value" in descriptor) descriptor.writable = true;
376
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
377
+ }
378
+ }
379
+ function _createClass(Constructor, protoProps, staticProps) {
380
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
381
+ if (staticProps) _defineProperties(Constructor, staticProps);
382
+ Object.defineProperty(Constructor, "prototype", {
383
+ writable: false
384
+ });
385
+ return Constructor;
386
+ }
387
+ function _defineProperty(obj, key, value) {
388
+ key = _toPropertyKey(key);
389
+ if (key in obj) {
390
+ Object.defineProperty(obj, key, {
391
+ value: value,
392
+ enumerable: true,
393
+ configurable: true,
394
+ writable: true
395
+ });
396
+ } else {
397
+ obj[key] = value;
398
+ }
399
+ return obj;
400
+ }
401
+ function _slicedToArray(arr, i) {
402
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
403
+ }
404
+ function _toConsumableArray(arr) {
405
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
406
+ }
407
+ function _arrayWithoutHoles(arr) {
408
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
409
+ }
410
+ function _arrayWithHoles(arr) {
411
+ if (Array.isArray(arr)) return arr;
412
+ }
413
+ function _iterableToArray(iter) {
414
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
415
+ }
416
+ function _unsupportedIterableToArray(o, minLen) {
417
+ if (!o) return;
418
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
419
+ var n = Object.prototype.toString.call(o).slice(8, -1);
420
+ if (n === "Object" && o.constructor) n = o.constructor.name;
421
+ if (n === "Map" || n === "Set") return Array.from(o);
422
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
423
+ }
424
+ function _arrayLikeToArray(arr, len) {
425
+ if (len == null || len > arr.length) len = arr.length;
426
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
427
+ return arr2;
428
+ }
429
+ function _nonIterableSpread() {
430
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
431
+ }
432
+ function _nonIterableRest() {
433
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
434
+ }
435
+ function _createForOfIteratorHelper(o, allowArrayLike) {
436
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
437
+ if (!it) {
438
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike ) {
439
+ if (it) o = it;
440
+ var i = 0;
441
+ var F = function () {};
442
+ return {
443
+ s: F,
444
+ n: function () {
445
+ if (i >= o.length) return {
446
+ done: true
447
+ };
448
+ return {
449
+ done: false,
450
+ value: o[i++]
451
+ };
452
+ },
453
+ e: function (e) {
454
+ throw e;
455
+ },
456
+ f: F
457
+ };
458
+ }
459
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
460
+ }
461
+ var normalCompletion = true,
462
+ didErr = false,
463
+ err;
464
+ return {
465
+ s: function () {
466
+ it = it.call(o);
467
+ },
468
+ n: function () {
469
+ var step = it.next();
470
+ normalCompletion = step.done;
471
+ return step;
472
+ },
473
+ e: function (e) {
474
+ didErr = true;
475
+ err = e;
476
+ },
477
+ f: function () {
478
+ try {
479
+ if (!normalCompletion && it.return != null) it.return();
480
+ } finally {
481
+ if (didErr) throw err;
482
+ }
483
+ }
484
+ };
485
+ }
486
+ function _toPrimitive(input, hint) {
487
+ if (typeof input !== "object" || input === null) return input;
488
+ var prim = input[Symbol.toPrimitive];
489
+ if (prim !== undefined) {
490
+ var res = prim.call(input, hint || "default");
491
+ if (typeof res !== "object") return res;
492
+ throw new TypeError("@@toPrimitive must return a primitive value.");
493
+ }
494
+ return (hint === "string" ? String : Number)(input);
495
+ }
496
+ function _toPropertyKey(arg) {
497
+ var key = _toPrimitive(arg, "string");
498
+ return typeof key === "symbol" ? key : String(key);
499
+ }
500
+
501
+ exports.arrayLikeToArray = _arrayLikeToArray;
502
+ exports.arrayWithHoles = _arrayWithHoles;
503
+ exports.arrayWithoutHoles = _arrayWithoutHoles;
504
+ exports.asyncToGenerator = _asyncToGenerator;
505
+ exports.classCallCheck = _classCallCheck;
506
+ exports.createClass = _createClass;
507
+ exports.createForOfIteratorHelper = _createForOfIteratorHelper;
508
+ exports.defineProperty = _defineProperty;
509
+ exports.iterableToArray = _iterableToArray;
510
+ exports.iterableToArrayLimit = _iterableToArrayLimit;
511
+ exports.nonIterableRest = _nonIterableRest;
512
+ exports.nonIterableSpread = _nonIterableSpread;
513
+ exports.regeneratorRuntime = _regeneratorRuntime;
514
+ exports.slicedToArray = _slicedToArray;
515
+ exports.toConsumableArray = _toConsumableArray;
516
+ exports.toPrimitive = _toPrimitive;
517
+ exports.toPropertyKey = _toPropertyKey;
518
+ exports.typeof = _typeof;
519
+ exports.unsupportedIterableToArray = _unsupportedIterableToArray;
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABzySURBVHgB7d1NbFxVlgfwc1/ZjhOTpMqQMElrRKXp2dCRcCToXTfOpluaHg1hMYgdzrLFSIHWzGyTbLulDkjTYhlnxzALktGwgE2KZgdIGCmw4uOxGJgEiJ0GJyZ2vdv3vHpll8v18arqfZx77/8nFZUPT49dcf19znn33asIoMvq17pOFaqSpjopqkY6Ms/BYaKoqrSq8p+ZD6tv/x+o+GOrA/9HFa2Zj1lLfreWPMwf6ZAoMH8X3QlUEMYfE5jHFoW1YyokgA6KwEtJKC1GKuKweTwJogXqDCIZQn7Ewabpy4CCFfN5hrWjaoXAOwgsx8XBFNBCFJgqiYOJ1CLJC6VxrZivicPsoyAIGjRFK7WaWiNwFgLLIaurumpaqYWIogUVqaeEVkx540psRQf6Ha7GakdUg8AZCCyLbQeUpqcVaQ6nRYJeGprUSqDoGqowuyGwLLN6Sy+YudOimTk9HVdQw4bd0EtDK30t0EEDszC7ILCE21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UXzdJlQbYFsoXmcNUHVII95WWF1Sr4BeHU8FpqCVFxVnfI9rBjOvOpgqq0lag3k6wRQvpBQVe3ifYXVyXxjLFOr2sLyBygbqqoeUGH1gSuJUBK+AvgSgqo3VFh9dF1JxK09kLf2uipUVQOgwkohqbYumMfzBJC9ZWpVVfjBOAQCawRoEyFjDWpVVQ2CVNASjqCjTTxLuJkaxhdSa6X6aYTVaFBhTQDLIGBE3PLx1b+X0f6NB4E1IRNafBM131DN8606AeyFoMoIAisjyXxriRBcsANBlTEEVsaS4FoktIo+Q1DlBIGVI8y4vMOLPvme1GUEVT4QWAUwwXXGPJ2jVuUF7mkQlicUAoFVoI4FqE8Tdjy1HVdQXE1dRVAVB4FVguTKYrvqWiCwScM8rhHavlIgsErWUXU9RZh1SYVqSggEliDJ7qdLhJZRAg4pPjbrCkJKDgSWUMmgnh8Ir+Jsh5R5rKDlkweBZYGOygttY/a22z1CSImHwLKMCS8e0i9Sq/JaJBgVBxKvl+LBecME1AqBNRBYFkuuNnKAcev4OCHA+mmYx0eEKsp6CCzHJO0jh9hTyXOd/BJSq4J6J3lGQDkEgeW4jipskVpVWJ3cWfsV0k71FP8a4eQ2BJankllYnVrh9Ujy6/ZDkpBalRIH0UfJc8PXk499h8CCPZLFrPyoJo/2rw/TTqC1/6771/2s0e7DPMKOP7uTPIedzwgl6PY3RiaOTzFx/lcAAAAASUVORK5CYII=";
6
+
7
+ exports.default = img;
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ var MaterialExercise = require('./material-exercise/MaterialExercise.js');
4
+ var MaterialExerciseMobile = require('./material-exercise/MaterialExerciseMobile.js');
5
+ var MonacoEditorLazy = require('./shared/monaco-editor/MonacoEditorLazy.js');
6
+ var MonacoEditorPerferenceForm = require('./shared/monaco-editor/MonacoEditorPerferenceForm.js');
7
+ var monacoLanguage = require('./shared/monaco-editor/utils/monacoLanguage.js');
8
+ var monacoPreference = require('./shared/monaco-editor/utils/monacoPreference.js');
9
+ var index = require('./shared/monaco-editor/constants/grammars/index.js');
10
+ var preferences = require('./shared/monaco-editor/constants/monaco/preferences.js');
11
+
12
+
13
+
14
+ exports.MaterialExercise = MaterialExercise.default;
15
+ exports.MaterialExerciseMobile = MaterialExerciseMobile.default;
16
+ exports.MonacoEditorLazy = MonacoEditorLazy.default;
17
+ exports.MonacoEditorPerference = MonacoEditorPerferenceForm.default;
18
+ exports.getLanguageFromFilename = monacoLanguage.getLanguageFromFilename;
19
+ exports.normalizeMonacoPreference = monacoPreference.normalizeMonacoPreference;
20
+ exports.TM_LANGUAGES = index.TM_LANGUAGES;
21
+ exports.DEFAULT_MONACO_EDITOR_PREFERENCE = preferences.DEFAULT_MONACO_EDITOR_PREFERENCE;
22
+ exports.MONACO_EDITOR_FONT_FAMILY = preferences.MONACO_EDITOR_FONT_FAMILY;
23
+ exports.MONACO_EDITOR_PREFERENCE_OPTIONS_FONT_SIZES = preferences.MONACO_EDITOR_PREFERENCE_OPTIONS_FONT_SIZES;
24
+ exports.MONACO_EDITOR_PREFERENCE_OPTIONS_TAB_SIZES = preferences.MONACO_EDITOR_PREFERENCE_OPTIONS_TAB_SIZES;
25
+ exports.MONACO_EDITOR_RENDER_WHITESPACE_OPTIONS = preferences.MONACO_EDITOR_RENDER_WHITESPACE_OPTIONS;
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var messageEn = {"materialExercise.button.referenceDocs":"Reference Docs"};
6
+
7
+ exports.default = messageEn;
@@ -0,0 +1,4 @@
1
+ export { default as messageEn } from './en.json';
2
+ export { default as messageKo } from './ko.json';
3
+ export { default as messageTh } from './th.json';
4
+ export { default as messageJa } from './ja.json';
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var en = require('./en.json.js');
4
+ var ko = require('./ko.json.js');
5
+ var th = require('./th.json.js');
6
+ var ja = require('./ja.json.js');
7
+
8
+
9
+
10
+ exports.messageEn = en.default;
11
+ exports.messageKo = ko.default;
12
+ exports.messageTh = th.default;
13
+ exports.messageJa = ja.default;
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var ja = {"materialExercise.button.referenceDocs":"リファレンスドキュメント"};
6
+
7
+ exports.default = ja;
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var messageKo = {"materialExercise.button.referenceDocs":"언어 레퍼런스"};
6
+
7
+ exports.default = messageKo;
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var th = {"materialExercise.button.referenceDocs":"เอกสารอ้างอิง"};
6
+
7
+ exports.default = th;
@@ -4,5 +4,7 @@ export interface MaterialExerciseProps extends MaterialExerciseCommonProps {
4
4
  locale?: string;
5
5
  }
6
6
  export type MaterialExerciseApis = MaterialExerciseCommonApis;
7
- declare const _default: React.ForwardRefExoticComponent<Omit<MaterialExerciseProps & React.RefAttributes<MaterialExerciseCommonApis> & import("@elice/material-shared-utils").MaterialCommponentCommonProps, "ref"> & React.RefAttributes<MaterialExerciseCommonApis>>;
7
+ declare const _default: React.ForwardRefExoticComponent<Omit<import("@elice/intl").IntlComponentExtraProps & Omit<Omit<import("@elice/intl").IntlComponentExtraProps & Omit<MaterialExerciseProps, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & {
8
+ __intl: import("@elice/intl").EliceIntlShape;
9
+ } & React.RefAttributes<MaterialExerciseCommonApis>, "ref"> & React.RefAttributes<MaterialExerciseCommonApis>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl">, "ref"> & React.RefAttributes<MaterialExerciseCommonApis>>;
8
10
  export default _default;