@magmamath/students-features 0.6.0 → 0.6.1-2.rc-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (603) hide show
  1. package/README.md +14 -5
  2. package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js +6 -2
  3. package/dist/commonjs/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
  4. package/dist/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.js +27 -24
  5. package/dist/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.js.map +1 -1
  6. package/dist/commonjs/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  7. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +9 -4
  8. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -1
  9. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +18 -5
  10. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  11. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +10 -3
  12. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  13. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +16 -12
  14. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  15. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +13 -4
  16. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  17. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +14 -8
  18. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  19. package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js +14 -4
  20. package/dist/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
  21. package/dist/commonjs/features/chatbot/components/Chatbot.js +5 -2
  22. package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
  23. package/dist/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js +2 -1
  24. package/dist/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js.map +1 -1
  25. package/dist/commonjs/features/chatbot/constants.js +36 -1
  26. package/dist/commonjs/features/chatbot/constants.js.map +1 -1
  27. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js +8 -0
  28. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
  29. package/dist/commonjs/features/chatbot/index.js +7 -0
  30. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  31. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +67 -39
  32. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  33. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +3 -8
  34. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  35. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +12 -1
  36. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  37. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +4 -2
  38. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  39. package/dist/commonjs/features/chatbot/model/constants.js.map +1 -1
  40. package/dist/commonjs/features/chatbot/model/translation.js +9 -1
  41. package/dist/commonjs/features/chatbot/model/translation.js.map +1 -1
  42. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  43. package/dist/commonjs/features/chatbot/types/style.types.js +12 -0
  44. package/dist/commonjs/features/chatbot/types/style.types.js.map +1 -0
  45. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +2 -0
  46. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  47. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js +31 -0
  48. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js.map +1 -0
  49. package/dist/commonjs/features/exampleSolution/assets/grid.png +0 -0
  50. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +119 -0
  51. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -0
  52. package/dist/commonjs/features/exampleSolution/components/LavaIcon.js +43 -0
  53. package/dist/commonjs/features/exampleSolution/components/LavaIcon.js.map +1 -0
  54. package/dist/commonjs/features/exampleSolution/components/MessageBlock.js +61 -0
  55. package/dist/commonjs/features/exampleSolution/components/MessageBlock.js.map +1 -0
  56. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +68 -0
  57. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -0
  58. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +75 -0
  59. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -0
  60. package/dist/commonjs/features/exampleSolution/components/index.js +2 -0
  61. package/dist/commonjs/features/exampleSolution/components/index.js.map +1 -0
  62. package/dist/commonjs/features/exampleSolution/constants.js +13 -0
  63. package/dist/commonjs/features/exampleSolution/constants.js.map +1 -0
  64. package/dist/commonjs/features/exampleSolution/hooks/index.js +13 -0
  65. package/dist/commonjs/features/exampleSolution/hooks/index.js.map +1 -0
  66. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js +59 -0
  67. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js.map +1 -0
  68. package/dist/commonjs/features/exampleSolution/index.js +39 -0
  69. package/dist/commonjs/features/exampleSolution/index.js.map +1 -0
  70. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js +22 -0
  71. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js.map +1 -0
  72. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +24 -0
  73. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -0
  74. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js +19 -0
  75. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js.map +1 -0
  76. package/dist/commonjs/features/exampleSolution/types.js +6 -0
  77. package/dist/commonjs/features/exampleSolution/types.js.map +1 -0
  78. package/dist/commonjs/features/feedback/model/comments.js +5 -3
  79. package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
  80. package/dist/commonjs/features/feedback/model/model.js +7 -9
  81. package/dist/commonjs/features/feedback/model/model.js.map +1 -1
  82. package/dist/commonjs/features/gifCelebrations/GifCelebrations.js +62 -0
  83. package/dist/commonjs/features/gifCelebrations/GifCelebrations.js.map +1 -0
  84. package/dist/commonjs/features/gifCelebrations/assets/confetti.webp +0 -0
  85. package/dist/commonjs/features/gifCelebrations/assets/gifFallback.gif +0 -0
  86. package/dist/commonjs/features/gifCelebrations/components/Backdrop.js +44 -0
  87. package/dist/commonjs/features/gifCelebrations/components/Backdrop.js.map +1 -0
  88. package/dist/commonjs/features/gifCelebrations/components/ContentContainer.js +46 -0
  89. package/dist/commonjs/features/gifCelebrations/components/ContentContainer.js.map +1 -0
  90. package/dist/commonjs/features/gifCelebrations/components/Gif.js +90 -0
  91. package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -0
  92. package/dist/commonjs/features/gifCelebrations/components/Progress.js +96 -0
  93. package/dist/commonjs/features/gifCelebrations/components/Progress.js.map +1 -0
  94. package/dist/commonjs/features/gifCelebrations/constants.js +34 -0
  95. package/dist/commonjs/features/gifCelebrations/constants.js.map +1 -0
  96. package/dist/commonjs/features/gifCelebrations/helpers.js +114 -0
  97. package/dist/commonjs/features/gifCelebrations/helpers.js.map +1 -0
  98. package/dist/commonjs/features/gifCelebrations/index.js +20 -0
  99. package/dist/commonjs/features/gifCelebrations/index.js.map +1 -0
  100. package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js +136 -0
  101. package/dist/commonjs/features/gifCelebrations/model/GifCelebrations.model.js.map +1 -0
  102. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsApi.js +27 -0
  103. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsApi.js.map +1 -0
  104. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsCache.js +30 -0
  105. package/dist/commonjs/features/gifCelebrations/model/GifCelebrationsCache.js.map +1 -0
  106. package/dist/commonjs/features/gifCelebrations/types/model.types.js +6 -0
  107. package/dist/commonjs/features/gifCelebrations/types/model.types.js.map +1 -0
  108. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +12 -9
  109. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  110. package/dist/commonjs/features/problemSelector/constants.js +3 -6
  111. package/dist/commonjs/features/problemSelector/constants.js.map +1 -1
  112. package/dist/commonjs/index.js +36 -0
  113. package/dist/commonjs/index.js.map +1 -1
  114. package/dist/commonjs/lib/effector/ControlledSample.js +40 -0
  115. package/dist/commonjs/lib/effector/ControlledSample.js.map +1 -0
  116. package/dist/commonjs/lib/effector/createControllerEffect.js.map +1 -1
  117. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  118. package/dist/commonjs/react-app-env.d.js +2 -0
  119. package/dist/commonjs/react-app-env.d.js.map +1 -0
  120. package/dist/commonjs/shared/icons/ExcitedLavaIcon.js +681 -0
  121. package/dist/commonjs/shared/icons/ExcitedLavaIcon.js.map +1 -0
  122. package/dist/commonjs/shared/icons/LavaIconInGlasses.js +616 -0
  123. package/dist/commonjs/shared/icons/LavaIconInGlasses.js.map +1 -0
  124. package/dist/commonjs/shared/icons/index.js +204 -0
  125. package/dist/commonjs/shared/icons/index.js.map +1 -0
  126. package/dist/commonjs/shared/translation/constants.js +5 -1
  127. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  128. package/dist/commonjs/shared/translation/localization/ca.json +33 -0
  129. package/dist/commonjs/shared/translation/localization/en.json +13 -1
  130. package/dist/commonjs/shared/translation/localization/gb.json +13 -1
  131. package/dist/commonjs/shared/translation/localization/sct.json +33 -0
  132. package/dist/commonjs/shared/translation/localization/sw.json +13 -1
  133. package/dist/commonjs/shared/translation/types.js +2 -0
  134. package/dist/commonjs/shared/translation/types.js.map +1 -1
  135. package/dist/commonjs/types/common.types.js +2 -0
  136. package/dist/commonjs/types/common.types.js.map +1 -0
  137. package/dist/module/features/chatbot/components/Alternatives/Alternatives.js +6 -2
  138. package/dist/module/features/chatbot/components/Alternatives/Alternatives.js.map +1 -1
  139. package/dist/module/features/chatbot/components/Alternatives/HelpRequestOption.js +29 -27
  140. package/dist/module/features/chatbot/components/Alternatives/HelpRequestOption.js.map +1 -1
  141. package/dist/module/features/chatbot/components/ChatMessage/ChatMessage.js.map +1 -1
  142. package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js +9 -4
  143. package/dist/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.js.map +1 -1
  144. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +18 -5
  145. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  146. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +10 -3
  147. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  148. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +16 -12
  149. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  150. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +13 -4
  151. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  152. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +14 -8
  153. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  154. package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js +14 -4
  155. package/dist/module/features/chatbot/components/ChatMessages/ChatbotMessages.js.map +1 -1
  156. package/dist/module/features/chatbot/components/Chatbot.js +5 -2
  157. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  158. package/dist/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js +3 -3
  159. package/dist/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.js.map +1 -1
  160. package/dist/module/features/chatbot/constants.js +35 -0
  161. package/dist/module/features/chatbot/constants.js.map +1 -1
  162. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js +9 -1
  163. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
  164. package/dist/module/features/chatbot/index.js +1 -0
  165. package/dist/module/features/chatbot/index.js.map +1 -1
  166. package/dist/module/features/chatbot/model/ChatBotModel.js +68 -40
  167. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  168. package/dist/module/features/chatbot/model/ChatBotThreadManager.js +3 -8
  169. package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  170. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +12 -1
  171. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  172. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +4 -2
  173. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  174. package/dist/module/features/chatbot/model/constants.js.map +1 -1
  175. package/dist/module/features/chatbot/model/translation.js +9 -1
  176. package/dist/module/features/chatbot/model/translation.js.map +1 -1
  177. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  178. package/dist/module/features/chatbot/types/style.types.js +8 -0
  179. package/dist/module/features/chatbot/types/style.types.js.map +1 -0
  180. package/dist/module/features/endOfAssignment/components/Modal/Modal.js +3 -1
  181. package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  182. package/dist/module/features/exampleSolution/ExampleSolutionModal.js +25 -0
  183. package/dist/module/features/exampleSolution/ExampleSolutionModal.js.map +1 -0
  184. package/dist/module/features/exampleSolution/assets/grid.png +0 -0
  185. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +112 -0
  186. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -0
  187. package/dist/module/features/exampleSolution/components/LavaIcon.js +35 -0
  188. package/dist/module/features/exampleSolution/components/LavaIcon.js.map +1 -0
  189. package/dist/module/features/exampleSolution/components/MessageBlock.js +53 -0
  190. package/dist/module/features/exampleSolution/components/MessageBlock.js.map +1 -0
  191. package/dist/module/features/exampleSolution/components/QuestionSection.js +60 -0
  192. package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -0
  193. package/dist/module/features/exampleSolution/components/SolutionSection.js +67 -0
  194. package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -0
  195. package/dist/module/features/exampleSolution/components/index.js +2 -0
  196. package/dist/module/features/exampleSolution/components/index.js.map +1 -0
  197. package/dist/module/features/exampleSolution/constants.js +9 -0
  198. package/dist/module/features/exampleSolution/constants.js.map +1 -0
  199. package/dist/module/features/exampleSolution/hooks/index.js +4 -0
  200. package/dist/module/features/exampleSolution/hooks/index.js.map +1 -0
  201. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js +54 -0
  202. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js.map +1 -0
  203. package/dist/module/features/exampleSolution/index.js +6 -0
  204. package/dist/module/features/exampleSolution/index.js.map +1 -0
  205. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js +17 -0
  206. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js.map +1 -0
  207. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +19 -0
  208. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -0
  209. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js +14 -0
  210. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js.map +1 -0
  211. package/dist/module/features/exampleSolution/types.js +4 -0
  212. package/dist/module/features/exampleSolution/types.js.map +1 -0
  213. package/dist/module/features/feedback/model/comments.js +5 -3
  214. package/dist/module/features/feedback/model/comments.js.map +1 -1
  215. package/dist/module/features/feedback/model/model.js +7 -9
  216. package/dist/module/features/feedback/model/model.js.map +1 -1
  217. package/dist/module/features/gifCelebrations/GifCelebrations.js +55 -0
  218. package/dist/module/features/gifCelebrations/GifCelebrations.js.map +1 -0
  219. package/dist/module/features/gifCelebrations/assets/confetti.webp +0 -0
  220. package/dist/module/features/gifCelebrations/assets/gifFallback.gif +0 -0
  221. package/dist/module/features/gifCelebrations/components/Backdrop.js +36 -0
  222. package/dist/module/features/gifCelebrations/components/Backdrop.js.map +1 -0
  223. package/dist/module/features/gifCelebrations/components/ContentContainer.js +38 -0
  224. package/dist/module/features/gifCelebrations/components/ContentContainer.js.map +1 -0
  225. package/dist/module/features/gifCelebrations/components/Gif.js +82 -0
  226. package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -0
  227. package/dist/module/features/gifCelebrations/components/Progress.js +88 -0
  228. package/dist/module/features/gifCelebrations/components/Progress.js.map +1 -0
  229. package/dist/module/features/gifCelebrations/constants.js +30 -0
  230. package/dist/module/features/gifCelebrations/constants.js.map +1 -0
  231. package/dist/module/features/gifCelebrations/helpers.js +103 -0
  232. package/dist/module/features/gifCelebrations/helpers.js.map +1 -0
  233. package/dist/module/features/gifCelebrations/index.js +5 -0
  234. package/dist/module/features/gifCelebrations/index.js.map +1 -0
  235. package/dist/module/features/gifCelebrations/model/GifCelebrations.model.js +131 -0
  236. package/dist/module/features/gifCelebrations/model/GifCelebrations.model.js.map +1 -0
  237. package/dist/module/features/gifCelebrations/model/GifCelebrationsApi.js +22 -0
  238. package/dist/module/features/gifCelebrations/model/GifCelebrationsApi.js.map +1 -0
  239. package/dist/module/features/gifCelebrations/model/GifCelebrationsCache.js +25 -0
  240. package/dist/module/features/gifCelebrations/model/GifCelebrationsCache.js.map +1 -0
  241. package/dist/module/features/gifCelebrations/types/model.types.js +4 -0
  242. package/dist/module/features/gifCelebrations/types/model.types.js.map +1 -0
  243. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +13 -10
  244. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  245. package/dist/module/features/problemSelector/constants.js +2 -5
  246. package/dist/module/features/problemSelector/constants.js.map +1 -1
  247. package/dist/module/index.js +3 -0
  248. package/dist/module/index.js.map +1 -1
  249. package/dist/module/lib/effector/ControlledSample.js +35 -0
  250. package/dist/module/lib/effector/ControlledSample.js.map +1 -0
  251. package/dist/module/lib/effector/createControllerEffect.js.map +1 -1
  252. package/dist/module/react-app-env.d.js +2 -0
  253. package/dist/module/react-app-env.d.js.map +1 -0
  254. package/dist/module/shared/icons/ExcitedLavaIcon.js +673 -0
  255. package/dist/module/shared/icons/ExcitedLavaIcon.js.map +1 -0
  256. package/dist/module/shared/icons/LavaIconInGlasses.js +608 -0
  257. package/dist/module/shared/icons/LavaIconInGlasses.js.map +1 -0
  258. package/dist/module/shared/icons/index.js +21 -0
  259. package/dist/module/shared/icons/index.js.map +1 -0
  260. package/dist/module/shared/translation/constants.js +5 -1
  261. package/dist/module/shared/translation/constants.js.map +1 -1
  262. package/dist/module/shared/translation/localization/ca.json +33 -0
  263. package/dist/module/shared/translation/localization/en.json +13 -1
  264. package/dist/module/shared/translation/localization/gb.json +13 -1
  265. package/dist/module/shared/translation/localization/sct.json +33 -0
  266. package/dist/module/shared/translation/localization/sw.json +13 -1
  267. package/dist/module/shared/translation/types.js +2 -0
  268. package/dist/module/shared/translation/types.js.map +1 -1
  269. package/dist/module/types/common.types.js +2 -0
  270. package/dist/module/types/common.types.js.map +1 -0
  271. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts +3 -1
  272. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
  273. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.d.ts +2 -1
  274. package/dist/typescript/commonjs/features/chatbot/components/Alternatives/HelpRequestOption.d.ts.map +1 -1
  275. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts +5 -1
  276. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  277. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +6 -1
  278. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -1
  279. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts +7 -2
  280. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  281. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts +6 -1
  282. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  283. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts +5 -1
  284. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  285. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  286. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  287. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts +1 -1
  288. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  289. package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +3 -1
  290. package/dist/typescript/commonjs/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
  291. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts +4 -3
  292. package/dist/typescript/commonjs/features/chatbot/components/Chatbot.d.ts.map +1 -1
  293. package/dist/typescript/commonjs/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.d.ts.map +1 -1
  294. package/dist/typescript/commonjs/features/chatbot/constants.d.ts +33 -0
  295. package/dist/typescript/commonjs/features/chatbot/constants.d.ts.map +1 -1
  296. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +4 -0
  297. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
  298. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -0
  299. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  300. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +7 -2
  301. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  302. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +1 -3
  303. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  304. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +5 -0
  305. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  306. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  307. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  308. package/dist/typescript/commonjs/features/chatbot/model/constants.d.ts.map +1 -1
  309. package/dist/typescript/commonjs/features/chatbot/model/translation.d.ts.map +1 -1
  310. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +5 -2
  311. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  312. package/dist/typescript/commonjs/features/chatbot/types/style.types.d.ts +5 -0
  313. package/dist/typescript/commonjs/features/chatbot/types/style.types.d.ts.map +1 -0
  314. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  315. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts +11 -0
  316. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts.map +1 -0
  317. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +11 -0
  318. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -0
  319. package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts +10 -0
  320. package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts.map +1 -0
  321. package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts +10 -0
  322. package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts.map +1 -0
  323. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts +9 -0
  324. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +1 -0
  325. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts +9 -0
  326. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +1 -0
  327. package/dist/typescript/commonjs/features/exampleSolution/components/index.d.ts +1 -0
  328. package/dist/typescript/commonjs/features/exampleSolution/components/index.d.ts.map +1 -0
  329. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts +6 -0
  330. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts.map +1 -0
  331. package/dist/typescript/commonjs/features/exampleSolution/hooks/index.d.ts +2 -0
  332. package/dist/typescript/commonjs/features/exampleSolution/hooks/index.d.ts.map +1 -0
  333. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts +17 -0
  334. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts.map +1 -0
  335. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts +4 -0
  336. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts.map +1 -0
  337. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts +9 -0
  338. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts.map +1 -0
  339. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts +11 -0
  340. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -0
  341. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts +12 -0
  342. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +1 -0
  343. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts +25 -0
  344. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts.map +1 -0
  345. package/dist/typescript/commonjs/features/gifCelebrations/GifCelebrations.d.ts +10 -0
  346. package/dist/typescript/commonjs/features/gifCelebrations/GifCelebrations.d.ts.map +1 -0
  347. package/dist/typescript/commonjs/features/gifCelebrations/components/Backdrop.d.ts +10 -0
  348. package/dist/typescript/commonjs/features/gifCelebrations/components/Backdrop.d.ts.map +1 -0
  349. package/dist/typescript/commonjs/features/gifCelebrations/components/ContentContainer.d.ts +10 -0
  350. package/dist/typescript/commonjs/features/gifCelebrations/components/ContentContainer.d.ts.map +1 -0
  351. package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts +10 -0
  352. package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts.map +1 -0
  353. package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts +10 -0
  354. package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts.map +1 -0
  355. package/dist/typescript/commonjs/features/gifCelebrations/constants.d.ts +26 -0
  356. package/dist/typescript/commonjs/features/gifCelebrations/constants.d.ts.map +1 -0
  357. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts +29 -0
  358. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +1 -0
  359. package/dist/typescript/commonjs/features/gifCelebrations/index.d.ts +3 -0
  360. package/dist/typescript/commonjs/features/gifCelebrations/index.d.ts.map +1 -0
  361. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrations.model.d.ts +25 -0
  362. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrations.model.d.ts.map +1 -0
  363. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsApi.d.ts +7 -0
  364. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsApi.d.ts.map +1 -0
  365. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsCache.d.ts +18 -0
  366. package/dist/typescript/commonjs/features/gifCelebrations/model/GifCelebrationsCache.d.ts.map +1 -0
  367. package/dist/typescript/commonjs/features/gifCelebrations/types/model.types.d.ts +45 -0
  368. package/dist/typescript/commonjs/features/gifCelebrations/types/model.types.d.ts.map +1 -0
  369. package/dist/typescript/commonjs/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  370. package/dist/typescript/commonjs/features/problemSelector/constants.d.ts +2 -5
  371. package/dist/typescript/commonjs/features/problemSelector/constants.d.ts.map +1 -1
  372. package/dist/typescript/commonjs/index.d.ts +3 -0
  373. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  374. package/dist/typescript/commonjs/lib/effector/ControlledSample.d.ts +17 -0
  375. package/dist/typescript/commonjs/lib/effector/ControlledSample.d.ts.map +1 -0
  376. package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts +1 -1
  377. package/dist/typescript/commonjs/lib/effector/createControllerEffect.d.ts.map +1 -1
  378. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  379. package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts +4 -0
  380. package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts.map +1 -0
  381. package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts +4 -0
  382. package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts.map +1 -0
  383. package/dist/typescript/commonjs/shared/icons/index.d.ts +19 -0
  384. package/dist/typescript/commonjs/shared/icons/index.d.ts.map +1 -0
  385. package/dist/typescript/commonjs/shared/translation/constants.d.ts +102 -0
  386. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  387. package/dist/typescript/commonjs/shared/translation/model.d.ts +24 -0
  388. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  389. package/dist/typescript/commonjs/shared/translation/types.d.ts +3 -1
  390. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  391. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +5 -1
  392. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -1
  393. package/dist/typescript/commonjs/types/common.types.d.ts +5 -0
  394. package/dist/typescript/commonjs/types/common.types.d.ts.map +1 -0
  395. package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts +3 -1
  396. package/dist/typescript/module/features/chatbot/components/Alternatives/Alternatives.d.ts.map +1 -1
  397. package/dist/typescript/module/features/chatbot/components/Alternatives/HelpRequestOption.d.ts +2 -1
  398. package/dist/typescript/module/features/chatbot/components/Alternatives/HelpRequestOption.d.ts.map +1 -1
  399. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts +5 -1
  400. package/dist/typescript/module/features/chatbot/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  401. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts +6 -1
  402. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageButtonsBlock.d.ts.map +1 -1
  403. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts +7 -2
  404. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  405. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts +6 -1
  406. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  407. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts +5 -1
  408. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  409. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts +1 -1
  410. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  411. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts +1 -1
  412. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  413. package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts +3 -1
  414. package/dist/typescript/module/features/chatbot/components/ChatMessages/ChatbotMessages.d.ts.map +1 -1
  415. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts +4 -3
  416. package/dist/typescript/module/features/chatbot/components/Chatbot.d.ts.map +1 -1
  417. package/dist/typescript/module/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.d.ts.map +1 -1
  418. package/dist/typescript/module/features/chatbot/constants.d.ts +33 -0
  419. package/dist/typescript/module/features/chatbot/constants.d.ts.map +1 -1
  420. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +4 -0
  421. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
  422. package/dist/typescript/module/features/chatbot/index.d.ts +1 -0
  423. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  424. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +7 -2
  425. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  426. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +1 -3
  427. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  428. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +5 -0
  429. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  430. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  431. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  432. package/dist/typescript/module/features/chatbot/model/constants.d.ts.map +1 -1
  433. package/dist/typescript/module/features/chatbot/model/translation.d.ts.map +1 -1
  434. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +5 -2
  435. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  436. package/dist/typescript/module/features/chatbot/types/style.types.d.ts +5 -0
  437. package/dist/typescript/module/features/chatbot/types/style.types.d.ts.map +1 -0
  438. package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  439. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts +11 -0
  440. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts.map +1 -0
  441. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +11 -0
  442. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -0
  443. package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts +10 -0
  444. package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts.map +1 -0
  445. package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts +10 -0
  446. package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts.map +1 -0
  447. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts +9 -0
  448. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +1 -0
  449. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts +9 -0
  450. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +1 -0
  451. package/dist/typescript/module/features/exampleSolution/components/index.d.ts +1 -0
  452. package/dist/typescript/module/features/exampleSolution/components/index.d.ts.map +1 -0
  453. package/dist/typescript/module/features/exampleSolution/constants.d.ts +6 -0
  454. package/dist/typescript/module/features/exampleSolution/constants.d.ts.map +1 -0
  455. package/dist/typescript/module/features/exampleSolution/hooks/index.d.ts +2 -0
  456. package/dist/typescript/module/features/exampleSolution/hooks/index.d.ts.map +1 -0
  457. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts +17 -0
  458. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts.map +1 -0
  459. package/dist/typescript/module/features/exampleSolution/index.d.ts +4 -0
  460. package/dist/typescript/module/features/exampleSolution/index.d.ts.map +1 -0
  461. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts +9 -0
  462. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts.map +1 -0
  463. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts +11 -0
  464. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -0
  465. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts +12 -0
  466. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +1 -0
  467. package/dist/typescript/module/features/exampleSolution/types.d.ts +25 -0
  468. package/dist/typescript/module/features/exampleSolution/types.d.ts.map +1 -0
  469. package/dist/typescript/module/features/gifCelebrations/GifCelebrations.d.ts +10 -0
  470. package/dist/typescript/module/features/gifCelebrations/GifCelebrations.d.ts.map +1 -0
  471. package/dist/typescript/module/features/gifCelebrations/components/Backdrop.d.ts +10 -0
  472. package/dist/typescript/module/features/gifCelebrations/components/Backdrop.d.ts.map +1 -0
  473. package/dist/typescript/module/features/gifCelebrations/components/ContentContainer.d.ts +10 -0
  474. package/dist/typescript/module/features/gifCelebrations/components/ContentContainer.d.ts.map +1 -0
  475. package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts +10 -0
  476. package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts.map +1 -0
  477. package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts +10 -0
  478. package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts.map +1 -0
  479. package/dist/typescript/module/features/gifCelebrations/constants.d.ts +26 -0
  480. package/dist/typescript/module/features/gifCelebrations/constants.d.ts.map +1 -0
  481. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts +29 -0
  482. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +1 -0
  483. package/dist/typescript/module/features/gifCelebrations/index.d.ts +3 -0
  484. package/dist/typescript/module/features/gifCelebrations/index.d.ts.map +1 -0
  485. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrations.model.d.ts +25 -0
  486. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrations.model.d.ts.map +1 -0
  487. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsApi.d.ts +7 -0
  488. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsApi.d.ts.map +1 -0
  489. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsCache.d.ts +18 -0
  490. package/dist/typescript/module/features/gifCelebrations/model/GifCelebrationsCache.d.ts.map +1 -0
  491. package/dist/typescript/module/features/gifCelebrations/types/model.types.d.ts +45 -0
  492. package/dist/typescript/module/features/gifCelebrations/types/model.types.d.ts.map +1 -0
  493. package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  494. package/dist/typescript/module/features/problemSelector/constants.d.ts +2 -5
  495. package/dist/typescript/module/features/problemSelector/constants.d.ts.map +1 -1
  496. package/dist/typescript/module/index.d.ts +3 -0
  497. package/dist/typescript/module/index.d.ts.map +1 -1
  498. package/dist/typescript/module/lib/effector/ControlledSample.d.ts +17 -0
  499. package/dist/typescript/module/lib/effector/ControlledSample.d.ts.map +1 -0
  500. package/dist/typescript/module/lib/effector/createControllerEffect.d.ts +1 -1
  501. package/dist/typescript/module/lib/effector/createControllerEffect.d.ts.map +1 -1
  502. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  503. package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts +4 -0
  504. package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts.map +1 -0
  505. package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts +4 -0
  506. package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts.map +1 -0
  507. package/dist/typescript/module/shared/icons/index.d.ts +19 -0
  508. package/dist/typescript/module/shared/icons/index.d.ts.map +1 -0
  509. package/dist/typescript/module/shared/translation/constants.d.ts +102 -0
  510. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  511. package/dist/typescript/module/shared/translation/model.d.ts +24 -0
  512. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  513. package/dist/typescript/module/shared/translation/types.d.ts +3 -1
  514. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  515. package/dist/typescript/module/shared/translation/validation.types.d.ts +5 -1
  516. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -1
  517. package/dist/typescript/module/types/common.types.d.ts +5 -0
  518. package/dist/typescript/module/types/common.types.d.ts.map +1 -0
  519. package/package.json +11 -7
  520. package/src/features/chatbot/components/Alternatives/Alternatives.tsx +6 -0
  521. package/src/features/chatbot/components/Alternatives/HelpRequestOption.tsx +28 -29
  522. package/src/features/chatbot/components/ChatMessage/ChatMessage.tsx +6 -1
  523. package/src/features/chatbot/components/ChatMessage/MessageButtonsBlock.tsx +24 -4
  524. package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +39 -6
  525. package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +11 -3
  526. package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +28 -7
  527. package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +25 -5
  528. package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +24 -13
  529. package/src/features/chatbot/components/ChatMessages/ChatbotMessages.tsx +13 -3
  530. package/src/features/chatbot/components/Chatbot.tsx +6 -2
  531. package/src/features/chatbot/components/ThreeDotsLoader/ThreeDotsLoader.tsx +7 -10
  532. package/src/features/chatbot/constants.ts +37 -0
  533. package/src/features/chatbot/errorSpotting/ErrorSpottingModel.ts +11 -1
  534. package/src/features/chatbot/index.ts +1 -0
  535. package/src/features/chatbot/model/ChatBotModel.ts +66 -42
  536. package/src/features/chatbot/model/ChatBotThreadManager.ts +4 -10
  537. package/src/features/chatbot/model/ChatBoxTextManager.ts +14 -1
  538. package/src/features/chatbot/model/DefaultMessageCreator.ts +4 -2
  539. package/src/features/chatbot/model/constants.ts +0 -2
  540. package/src/features/chatbot/model/translation.ts +11 -1
  541. package/src/features/chatbot/types/model.types.ts +5 -2
  542. package/src/features/chatbot/types/style.types.ts +4 -0
  543. package/src/features/endOfAssignment/components/Modal/Modal.tsx +3 -0
  544. package/src/features/exampleSolution/ExampleSolutionModal.tsx +29 -0
  545. package/src/features/exampleSolution/assets/grid.png +0 -0
  546. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +108 -0
  547. package/src/features/exampleSolution/components/LavaIcon.tsx +33 -0
  548. package/src/features/exampleSolution/components/MessageBlock.tsx +67 -0
  549. package/src/features/exampleSolution/components/QuestionSection.tsx +56 -0
  550. package/src/features/exampleSolution/components/SolutionSection.tsx +69 -0
  551. package/src/features/exampleSolution/components/index.ts +0 -0
  552. package/src/features/exampleSolution/constants.ts +5 -0
  553. package/src/features/exampleSolution/hooks/index.ts +1 -0
  554. package/src/features/exampleSolution/hooks/useExampleSolution.ts +71 -0
  555. package/src/features/exampleSolution/index.ts +3 -0
  556. package/src/features/exampleSolution/model/ExampleSolution.model.ts +12 -0
  557. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +23 -0
  558. package/src/features/exampleSolution/model/ExampleSolutionCache.ts +20 -0
  559. package/src/features/exampleSolution/types.ts +25 -0
  560. package/src/features/feedback/model/comments.ts +7 -7
  561. package/src/features/feedback/model/model.ts +6 -6
  562. package/src/features/gifCelebrations/GifCelebrations.tsx +75 -0
  563. package/src/features/gifCelebrations/assets/confetti.webp +0 -0
  564. package/src/features/gifCelebrations/assets/gifFallback.gif +0 -0
  565. package/src/features/gifCelebrations/components/Backdrop.tsx +41 -0
  566. package/src/features/gifCelebrations/components/ContentContainer.tsx +44 -0
  567. package/src/features/gifCelebrations/components/Gif.tsx +88 -0
  568. package/src/features/gifCelebrations/components/Progress.tsx +106 -0
  569. package/src/features/gifCelebrations/constants.ts +32 -0
  570. package/src/features/gifCelebrations/helpers.ts +144 -0
  571. package/src/features/gifCelebrations/index.ts +2 -0
  572. package/src/features/gifCelebrations/model/GifCelebrations.model.ts +167 -0
  573. package/src/features/gifCelebrations/model/GifCelebrationsApi.ts +26 -0
  574. package/src/features/gifCelebrations/model/GifCelebrationsCache.ts +41 -0
  575. package/src/features/gifCelebrations/types/model.types.ts +53 -0
  576. package/src/features/problemSelector/components/ProblemSelectorButton.tsx +17 -10
  577. package/src/features/problemSelector/constants.ts +3 -2
  578. package/src/index.ts +3 -0
  579. package/src/lib/effector/ControlledSample.ts +40 -0
  580. package/src/lib/effector/createControllerEffect.ts +41 -41
  581. package/src/lib/helpers/helpers.ts +1 -1
  582. package/src/react-app-env.d.ts +6 -0
  583. package/src/shared/icons/ExcitedLavaIcon.tsx +541 -0
  584. package/src/shared/icons/LavaIconInGlasses.tsx +489 -0
  585. package/src/shared/icons/index.ts +18 -0
  586. package/src/shared/translation/constants.ts +4 -0
  587. package/src/shared/translation/localization/ca.json +33 -0
  588. package/src/shared/translation/localization/en.json +13 -1
  589. package/src/shared/translation/localization/gb.json +13 -1
  590. package/src/shared/translation/localization/sct.json +33 -0
  591. package/src/shared/translation/localization/sw.json +13 -1
  592. package/src/shared/translation/types.ts +6 -0
  593. package/src/shared/translation/validation.types.ts +9 -1
  594. package/src/types/common.types.ts +4 -0
  595. package/dist/commonjs/shared/icons/LockIcon.js +0 -31
  596. package/dist/commonjs/shared/icons/LockIcon.js.map +0 -1
  597. package/dist/module/shared/icons/LockIcon.js +0 -23
  598. package/dist/module/shared/icons/LockIcon.js.map +0 -1
  599. package/dist/typescript/commonjs/shared/icons/LockIcon.d.ts +0 -4
  600. package/dist/typescript/commonjs/shared/icons/LockIcon.d.ts.map +0 -1
  601. package/dist/typescript/module/shared/icons/LockIcon.d.ts +0 -4
  602. package/dist/typescript/module/shared/icons/LockIcon.d.ts.map +0 -1
  603. package/src/shared/icons/LockIcon.tsx +0 -16
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+
3
+ import { createEffect, createEvent, createStore, sample } from 'effector';
4
+ import { GifCelebrationsApi } from "./GifCelebrationsApi.js";
5
+ import { GifCelebrationsCache } from "./GifCelebrationsCache.js";
6
+ import { generateProblemsGifsTable, shouldRefreshGifs } from "../helpers.js";
7
+ import { MIN_PROBLEMS_TO_SHOW_GIF, GIFS_FETCHED_KEY } from "../constants.js";
8
+ export class GifCelebrationsModel {
9
+ play = createEvent();
10
+ stop = createEvent();
11
+ resetGifTriggerable = createEvent();
12
+ setGifTriggerable = createEvent();
13
+ $isGifTriggerable = createStore(false).reset(this.resetGifTriggerable).reset(this.stop).on(this.setGifTriggerable, (_, isGifCelebrationMayBeTriggered) => isGifCelebrationMayBeTriggered);
14
+ resetProblemsGifsTable = createEvent();
15
+ $problemsGifsTable = createStore(null).reset(this.resetProblemsGifsTable);
16
+ setActiveGif = createEvent();
17
+ $activeGif = createStore(null).reset(this.stop).reset(this.resetGifTriggerable).on(this.setActiveGif, (_, gif) => gif);
18
+ initialize = createEvent();
19
+ constructor({
20
+ api,
21
+ problemsAmount,
22
+ resolvedProblemsAmount,
23
+ customLocalStorage,
24
+ customGetCachePathMethod,
25
+ customPrefetchMethod
26
+ }) {
27
+ this.api = new GifCelebrationsApi(api);
28
+ this.cache = new GifCelebrationsCache({
29
+ customGetCachePathMethod,
30
+ customPrefetchMethod
31
+ });
32
+ this.$problemsAmount = problemsAmount;
33
+ this.$resolvedProblemsAmount = resolvedProblemsAmount;
34
+ this.localStorage = customLocalStorage || localStorage;
35
+ this.setupEventHandlers();
36
+ }
37
+ setupEventHandlers() {
38
+ sample({
39
+ clock: this.initialize,
40
+ source: this.cache.$gifs,
41
+ filter: gifs => {
42
+ if (!gifs) return true;
43
+ const gifsFetchedTimestamp = this.localStorage.getItem(GIFS_FETCHED_KEY);
44
+ return shouldRefreshGifs(gifsFetchedTimestamp);
45
+ },
46
+ target: this.api.getGifsFx
47
+ });
48
+ sample({
49
+ source: this.api.getGifsFx.doneData,
50
+ filter: response => response.ok,
51
+ fn: response => response.data,
52
+ target: this.cache.initialSet
53
+ });
54
+ sample({
55
+ source: this.api.getGifsFx.doneData,
56
+ filter: response => response.ok,
57
+ target: createEffect(() => {
58
+ this.localStorage.setItem(GIFS_FETCHED_KEY, new Date().toISOString());
59
+ })
60
+ });
61
+ sample({
62
+ clock: [this.initialize, this.api.getGifsFx.doneData],
63
+ source: {
64
+ gifs: this.cache.$gifs,
65
+ problemsAmount: this.$problemsAmount,
66
+ resolvedProblemsAmount: this.$resolvedProblemsAmount
67
+ },
68
+ filter: ({
69
+ gifs
70
+ }) => !!gifs,
71
+ fn: ({
72
+ problemsAmount,
73
+ resolvedProblemsAmount,
74
+ gifs
75
+ }) => {
76
+ if (!gifs || problemsAmount < MIN_PROBLEMS_TO_SHOW_GIF) return null;
77
+ return generateProblemsGifsTable(problemsAmount, resolvedProblemsAmount, gifs);
78
+ },
79
+ target: this.$problemsGifsTable
80
+ });
81
+ sample({
82
+ source: this.$problemsGifsTable,
83
+ filter: problemsGifsTable => !!problemsGifsTable,
84
+ fn: problemsGifsTable => {
85
+ if (!problemsGifsTable) return [];
86
+ return Object.values(problemsGifsTable).map(gif => gif.url);
87
+ },
88
+ target: this.cache.prefetchGifs
89
+ });
90
+ sample({
91
+ clock: this.play,
92
+ source: {
93
+ isGifCelebrationMayBeTriggered: this.$isGifTriggerable,
94
+ gifsGroups: this.cache.$gifs,
95
+ resolvedProblemsAmount: this.$resolvedProblemsAmount,
96
+ problemsGifsTable: this.$problemsGifsTable
97
+ },
98
+ filter: ({
99
+ isGifCelebrationMayBeTriggered,
100
+ gifsGroups,
101
+ problemsGifsTable
102
+ }) => !!(isGifCelebrationMayBeTriggered && gifsGroups && problemsGifsTable),
103
+ fn: sources => sources,
104
+ target: this.updateGifShownStatus
105
+ });
106
+ }
107
+ updateGifShownStatus = createEffect(({
108
+ gifsGroups,
109
+ resolvedProblemsAmount,
110
+ problemsGifsTable
111
+ }) => {
112
+ const gifToShow = problemsGifsTable[resolvedProblemsAmount];
113
+ const groupName = gifToShow.group;
114
+ const gifsInGroup = gifsGroups[groupName];
115
+ const selectedGifIndex = gifsInGroup?.findIndex(gif => gif.url === gifToShow.url);
116
+ if (!gifsInGroup || selectedGifIndex === -1) {
117
+ console.warn(`Gif with URL ${gifToShow.url} not found in group ${groupName}`);
118
+ return;
119
+ }
120
+ const updatedGifsInGroup = gifsInGroup.map((gif, index) => ({
121
+ ...gif,
122
+ isShown: index === selectedGifIndex ? true : gif.isShown
123
+ }));
124
+ this.cache.set({
125
+ ...gifsGroups,
126
+ [groupName]: updatedGifsInGroup
127
+ });
128
+ this.setActiveGif(gifToShow);
129
+ });
130
+ }
131
+ //# sourceMappingURL=GifCelebrations.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createEffect","createEvent","createStore","sample","GifCelebrationsApi","GifCelebrationsCache","generateProblemsGifsTable","shouldRefreshGifs","MIN_PROBLEMS_TO_SHOW_GIF","GIFS_FETCHED_KEY","GifCelebrationsModel","play","stop","resetGifTriggerable","setGifTriggerable","$isGifTriggerable","reset","on","_","isGifCelebrationMayBeTriggered","resetProblemsGifsTable","$problemsGifsTable","setActiveGif","$activeGif","gif","initialize","constructor","api","problemsAmount","resolvedProblemsAmount","customLocalStorage","customGetCachePathMethod","customPrefetchMethod","cache","$problemsAmount","$resolvedProblemsAmount","localStorage","setupEventHandlers","clock","source","$gifs","filter","gifs","gifsFetchedTimestamp","getItem","target","getGifsFx","doneData","response","ok","fn","data","initialSet","setItem","Date","toISOString","problemsGifsTable","Object","values","map","url","prefetchGifs","gifsGroups","sources","updateGifShownStatus","gifToShow","groupName","group","gifsInGroup","selectedGifIndex","findIndex","console","warn","updatedGifsInGroup","index","isShown","set"],"sourceRoot":"../../../../../src","sources":["features/gifCelebrations/model/GifCelebrations.model.ts"],"mappings":";;AAAA,SAASA,YAAY,EAAEC,WAAW,EAAEC,WAAW,EAAEC,MAAM,QAAe,UAAU;AAChF,SAASC,kBAAkB,QAAQ,yBAAsB;AAQzD,SAASC,oBAAoB,QAAQ,2BAAwB;AAC7D,SAASC,yBAAyB,EAAEC,iBAAiB,QAAQ,eAAY;AACzE,SAASC,wBAAwB,EAAEC,gBAAgB,QAAQ,iBAAc;AA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KACxE,CAAC,EAAErC,8BAA8B,IAAI2C,UAAU,IAAIN,iBAAiB,CAAC;MACvEN,EAAE,EAAGa,OAAO,IAAKA,OAAkC;MACnDlB,MAAM,EAAE,IAAI,CAACmB;IACf,CAAC,CAAC;EACJ;EAEiBA,oBAAoB,GAAGhE,YAAY,CAClD,CAAC;IAAE8D,UAAU;IAAEjC,sBAAsB;IAAE2B;EAA2C,CAAC,KAAK;IACtF,MAAMS,SAAS,GAAGT,iBAAiB,CAAC3B,sBAAsB,CAAC;IAC3D,MAAMqC,SAAS,GAAGD,SAAS,CAACE,KAAK;IAEjC,MAAMC,WAAW,GAAGN,UAAU,CAACI,SAAS,CAAC;IACzC,MAAMG,gBAAgB,GAAGD,WAAW,EAAEE,SAAS,CAAE9C,GAAG,IAAKA,GAAG,CAACoC,GAAG,KAAKK,SAAS,CAACL,GAAG,CAAC;IAEnF,IAAI,CAACQ,WAAW,IAAIC,gBAAgB,KAAK,CAAC,CAAC,EAAE;MAC3CE,OAAO,CAACC,IAAI,CAAC,gBAAgBP,SAAS,CAACL,GAAG,uBAAuBM,SAAS,EAAE,CAAC;MAC7E;IACF;IAEA,MAAMO,kBAAkB,GAAGL,WAAW,CAACT,GAAG,CAAC,CAACnC,GAAG,EAAEkD,KAAK,MAAM;MAC1D,GAAGlD,GAAG;MACNmD,OAAO,EAAED,KAAK,KAAKL,gBAAgB,GAAG,IAAI,GAAG7C,GAAG,CAACmD;IACnD,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC1C,KAAK,CAAC2C,GAAG,CAAC;MACb,GAAGd,UAAU;MACb,CAACI,SAAS,GAAGO;IACf,CAAC,CAAC;IAEF,IAAI,CAACnD,YAAY,CAAC2C,SAAS,CAAC;EAC9B,CACF,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ import { createControllerEffect } from "./../../../lib/effector/createControllerEffect.js";
4
+ import { GET_GIFS_TIMEOUT } from "../constants.js";
5
+ export class GifCelebrationsApi {
6
+ failedGetGifxTimeout = null;
7
+ constructor(api) {
8
+ this.getGifsFx = createControllerEffect(() => api.getGifs());
9
+ this.getGifsFx.fail.watch(() => {
10
+ this.failedGetGifxTimeout = setTimeout(() => {
11
+ this.getGifsFx();
12
+ }, GET_GIFS_TIMEOUT);
13
+ });
14
+ this.getGifsFx.done.watch(() => {
15
+ if (this.failedGetGifxTimeout) {
16
+ clearTimeout(this.failedGetGifxTimeout);
17
+ this.failedGetGifxTimeout = null;
18
+ }
19
+ });
20
+ }
21
+ }
22
+ //# sourceMappingURL=GifCelebrationsApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createControllerEffect","GET_GIFS_TIMEOUT","GifCelebrationsApi","failedGetGifxTimeout","constructor","api","getGifsFx","getGifs","fail","watch","setTimeout","done","clearTimeout"],"sourceRoot":"../../../../../src","sources":["features/gifCelebrations/model/GifCelebrationsApi.ts"],"mappings":";;AAAA,SAASA,sBAAsB,QAAQ,mDAAgD;AAEvF,SAASC,gBAAgB,QAAQ,iBAAc;AAE/C,OAAO,MAAMC,kBAAkB,CAAC;EAGtBC,oBAAoB,GAA0B,IAAI;EAE1DC,WAAWA,CAACC,GAA8B,EAAE;IAC1C,IAAI,CAACC,SAAS,GAAGN,sBAAsB,CAAC,MAAMK,GAAG,CAACE,OAAO,CAAC,CAAC,CAAC;IAE5D,IAAI,CAACD,SAAS,CAACE,IAAI,CAACC,KAAK,CAAC,MAAM;MAC9B,IAAI,CAACN,oBAAoB,GAAGO,UAAU,CAAC,MAAM;QAC3C,IAAI,CAACJ,SAAS,CAAC,CAAC;MAClB,CAAC,EAAEL,gBAAgB,CAAC;IACtB,CAAC,CAAC;IAEF,IAAI,CAACK,SAAS,CAACK,IAAI,CAACF,KAAK,CAAC,MAAM;MAC9B,IAAI,IAAI,CAACN,oBAAoB,EAAE;QAC7BS,YAAY,CAAC,IAAI,CAACT,oBAAoB,CAAC;QACvC,IAAI,CAACA,oBAAoB,GAAG,IAAI;MAClC;IACF,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ import { createEffect, createEvent, createStore } from 'effector';
4
+ import { generateGifsStructure } from "../helpers.js";
5
+ import { Image } from 'react-native';
6
+ export class GifCelebrationsCache {
7
+ initialSet = createEvent();
8
+ set = createEvent();
9
+ reset = createEvent();
10
+ prefetchGifs = createEffect(gifs => {
11
+ if (!gifs || gifs.length === 0) return;
12
+ gifs.forEach(gifUrl => {
13
+ this.prefetchMethod(gifUrl);
14
+ });
15
+ });
16
+ $gifs = createStore(null).reset(this.reset).on(this.initialSet, (_, gifs) => generateGifsStructure(gifs)).on(this.set, (_, gifs) => gifs);
17
+ constructor({
18
+ customGetCachePathMethod,
19
+ customPrefetchMethod
20
+ }) {
21
+ this.prefetchMethod = customPrefetchMethod || Image.prefetch;
22
+ this.getCachePathMethod = customGetCachePathMethod;
23
+ }
24
+ }
25
+ //# sourceMappingURL=GifCelebrationsCache.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createEffect","createEvent","createStore","generateGifsStructure","Image","GifCelebrationsCache","initialSet","set","reset","prefetchGifs","gifs","length","forEach","gifUrl","prefetchMethod","$gifs","on","_","constructor","customGetCachePathMethod","customPrefetchMethod","prefetch","getCachePathMethod"],"sourceRoot":"../../../../../src","sources":["features/gifCelebrations/model/GifCelebrationsCache.ts"],"mappings":";;AAAA,SAASA,YAAY,EAAEC,WAAW,EAAEC,WAAW,QAAQ,UAAU;AAOjE,SAASC,qBAAqB,QAAQ,eAAY;AAClD,SAASC,KAAK,QAAQ,cAAc;AAOpC,OAAO,MAAMC,oBAAoB,CAAC;EAChBC,UAAU,GAAGL,WAAW,CAAa,CAAC;EACtCM,GAAG,GAAGN,WAAW,CAAgB,CAAC;EAClCO,KAAK,GAAGP,WAAW,CAAC,CAAC;EAKrBQ,YAAY,GAAGT,YAAY,CAAkBU,IAAI,IAAK;IACpE,IAAI,CAACA,IAAI,IAAIA,IAAI,CAACC,MAAM,KAAK,CAAC,EAAE;IAEhCD,IAAI,CAACE,OAAO,CAAEC,MAAM,IAAK;MACvB,IAAI,CAACC,cAAc,CAACD,MAAM,CAAC;IAC7B,CAAC,CAAC;EACJ,CAAC,CAAC;EAEcE,KAAK,GAAGb,WAAW,CAAuB,IAAI,CAAC,CAC5DM,KAAK,CAAC,IAAI,CAACA,KAAK,CAAC,CACjBQ,EAAE,CAAC,IAAI,CAACV,UAAU,EAAE,CAACW,CAAC,EAAEP,IAAI,KAAKP,qBAAqB,CAACO,IAAI,CAAC,CAAC,CAC7DM,EAAE,CAAC,IAAI,CAACT,GAAG,EAAE,CAACU,CAAC,EAAEP,IAAI,KAAKA,IAAI,CAAC;EAElCQ,WAAWA,CAAC;IAAEC,wBAAwB;IAAEC;EAAgD,CAAC,EAAE;IACzF,IAAI,CAACN,cAAc,GAAGM,oBAAoB,IAAIhB,KAAK,CAACiB,QAAQ;IAC5D,IAAI,CAACC,kBAAkB,GAAGH,wBAAwB;EACpD;AACF","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=model.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["features/gifCelebrations/types/model.types.ts"],"mappings":"","ignoreList":[]}
@@ -3,9 +3,8 @@
3
3
  import React from 'react';
4
4
  import { View, StyleSheet } from 'react-native';
5
5
  import { UnreadMessagesBadge } from '@magmamath/students-features';
6
- import { Button, ButtonSize, ButtonStates, ButtonVariant, Typography } from '@magmamath/react-native-ui';
7
- import { BADGE_COORDINATES, BUTTON_SIZE, COLOR_SCHEME_MAP, ICON_SIZE } from "../constants.js";
8
- import { LockIcon } from "../../../shared/icons/LockIcon.js";
6
+ import { Button, ButtonSize, ButtonStates, ButtonVariant, FONT_FAMILY, LockIcon, Typography } from '@magmamath/react-native-ui';
7
+ import { BADGE_COORDINATES, BUTTON_BORDER_WIDTH, BUTTON_SIZE, COLOR_SCHEME_MAP } from "../constants.js";
9
8
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
9
  export const ProblemSelectorButton = ({
11
10
  text,
@@ -27,14 +26,13 @@ export const ProblemSelectorButton = ({
27
26
  },
28
27
  disabled: locked,
29
28
  icon: locked ? /*#__PURE__*/_jsx(LockIcon, {
30
- height: ICON_SIZE.height,
31
- width: ICON_SIZE.width,
32
- color: customColorScheme[ButtonStates.DISABLED]?.color
29
+ color: customColorScheme[ButtonStates.DISABLED]?.color,
30
+ size: "large"
33
31
  }) : /*#__PURE__*/_jsx(Typography, {
34
- variant: "h2",
35
- style: {
32
+ variant: "h3",
33
+ style: [styles.buttonText, {
36
34
  color: customColorScheme[ButtonStates.DEFAULT]?.color
37
- },
35
+ }],
38
36
  children: text ?? ''
39
37
  })
40
38
  }), typeof badgeValue === 'number' && /*#__PURE__*/_jsx(UnreadMessagesBadge, {
@@ -57,7 +55,12 @@ const styles = StyleSheet.create({
57
55
  button: {
58
56
  width: BUTTON_SIZE,
59
57
  height: BUTTON_SIZE,
60
- borderWidth: 2.75
58
+ borderWidth: BUTTON_BORDER_WIDTH
59
+ },
60
+ buttonText: {
61
+ textAlign: 'center',
62
+ fontWeight: 400,
63
+ fontFamily: FONT_FAMILY.buenosAires
61
64
  }
62
65
  });
63
66
  //# sourceMappingURL=ProblemSelectorButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","StyleSheet","UnreadMessagesBadge","Button","ButtonSize","ButtonStates","ButtonVariant","Typography","BADGE_COORDINATES","BUTTON_SIZE","COLOR_SCHEME_MAP","ICON_SIZE","LockIcon","jsx","_jsx","jsxs","_jsxs","ProblemSelectorButton","text","state","onClick","badgeValue","locked","customColorScheme","style","styles","wrapper","children","variant","PRIMARY","size","MEDIUM","onPress","button","disabled","icon","height","width","color","DISABLED","DEFAULT","badgeContent","undefined","withBorder","badge","top","right","create","position","borderWidth"],"sourceRoot":"../../../../../src","sources":["features/problemSelector/components/ProblemSelectorButton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B,YAAY,CAACmC,OAAO,CAAC,EAAEF;QAAM,CAAE;QAAAX,QAAA,EAEhET,IAAI,IAAI;MAAE,CACD;IAEf,CACF,CAAC,EAED,OAAOG,UAAU,KAAK,QAAQ,iBAC7BP,IAAA,CAACZ,mBAAmB;MAClBuC,YAAY,EAAEpB,UAAU,KAAK,CAAC,GAAGA,UAAU,GAAGqB,SAAU;MACxDC,UAAU;MACVnB,KAAK,EAAE,CACLC,MAAM,CAACmB,KAAK,EACZ;QACEC,GAAG,EAAExB,UAAU,GAAG,CAAC,GAAGb,iBAAiB,CAACqC,GAAG;QAC3CC,KAAK,EAAEzB,UAAU,GAAG,CAAC,GAAGb,iBAAiB,CAACsC;MAC5C,CAAC;IACD,CACH,CACF;EAAA,CACG,CAAC;AAEX,CAAC;AAED,MAAMrB,MAAM,GAAGxB,UAAU,CAAC8C,MAAM,CAAC;EAC/BrB,OAAO,EAAE;IAAEsB,QAAQ,EAAE;EAAW,CAAC;EACjCJ,KAAK,EAAE;IAAEI,QAAQ,EAAE;EAAW,CAAC;EAC/Bf,MAAM,EAAE;IACNI,KAAK,EAAE5B,WAAW;IAClB2B,MAAM,EAAE3B,WAAW;IACnBwC,WAAW,EAAE;EACf;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","View","StyleSheet","UnreadMessagesBadge","Button","ButtonSize","ButtonStates","ButtonVariant","FONT_FAMILY","LockIcon","Typography","BADGE_COORDINATES","BUTTON_BORDER_WIDTH","BUTTON_SIZE","COLOR_SCHEME_MAP","jsx","_jsx","jsxs","_jsxs","ProblemSelectorButton","text","state","onClick","badgeValue","locked","customColorScheme","style","styles","wrapper","children","variant","PRIMARY","size","MEDIUM","onPress","button","disabled","icon","color","DISABLED","buttonText","DEFAULT","badgeContent","undefined","withBorder","badge","top","right","create","position","width","height","borderWidth","textAlign","fontWeight","fontFamily","buenosAires"],"sourceRoot":"../../../../../src","sources":["features/problemSelector/components/ProblemSelectorButton.tsx"],"mappings":";;AAAA,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,QAAA,EAEDT,IAAI,IAAI;MAAE,CACD;IAEf,CACF,CAAC,EAED,OAAOG,UAAU,KAAK,QAAQ,iBAC7BP,IAAA,CAACb,mBAAmB;MAClBuC,YAAY,EAAEnB,UAAU,KAAK,CAAC,GAAGA,UAAU,GAAGoB,SAAU;MACxDC,UAAU;MACVlB,KAAK,EAAE,CACLC,MAAM,CAACkB,KAAK,EACZ;QACEC,GAAG,EAAEvB,UAAU,GAAG,CAAC,GAAGZ,iBAAiB,CAACmC,GAAG;QAC3CC,KAAK,EAAExB,UAAU,GAAG,CAAC,GAAGZ,iBAAiB,CAACoC;MAC5C,CAAC;IACD,CACH,CACF;EAAA,CACG,CAAC;AAEX,CAAC;AAED,MAAMpB,MAAM,GAAGzB,UAAU,CAAC8C,MAAM,CAAC;EAC/BpB,OAAO,EAAE;IAAEqB,QAAQ,EAAE;EAAW,CAAC;EACjCJ,KAAK,EAAE;IAAEI,QAAQ,EAAE;EAAW,CAAC;EAC/Bd,MAAM,EAAE;IACNe,KAAK,EAAErC,WAAW;IAClBsC,MAAM,EAAEtC,WAAW;IACnBuC,WAAW,EAAExC;EACf,CAAC;EACD4B,UAAU,EAAE;IACVa,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAE,GAAG;IACfC,UAAU,EAAE/C,WAAW,CAACgD;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,15 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  import { ButtonStates, COLORS } from '@magmamath/react-native-ui';
4
- export const BUTTON_SIZE = 49.5;
4
+ export const BUTTON_SIZE = 49;
5
+ export const BUTTON_BORDER_WIDTH = 3;
5
6
  export const BADGE_COORDINATES = {
6
7
  top: 4,
7
8
  right: 4
8
9
  };
9
- export const ICON_SIZE = {
10
- width: 23,
11
- height: 25
12
- };
13
10
  export const PROBLEM_SELECTOR_CONTENT_WIDTH = 265;
14
11
  export const PROBLEM_SELECTOR_BUTTON_STATE = {
15
12
  SELECTED: 'selected',
@@ -1 +1 @@
1
- {"version":3,"names":["ButtonStates","COLORS","BUTTON_SIZE","BADGE_COORDINATES","top","right","ICON_SIZE","width","height","PROBLEM_SELECTOR_CONTENT_WIDTH","PROBLEM_SELECTOR_BUTTON_STATE","SELECTED","SELECTED_EXAM","SOLVED","SOLVED_FIRST_ATTEMPT","NOT_SOLVED","MISTAKE","EXAM","colorPreset","bg","border","color","raise","backgroundColor","borderColor","raiseColor","COLOR_SCHEME_MAP","DEFAULT","BLUE_1","PRIMARY_BLUE","HOVER","BLUE_4","ACTIVE","PRESSED","DISABLED","BLUE_3","PURPLE_1","PRIMARY_PURPLE","PURPLE_4","PURPLE_3","PRIMARY_RED","NEUTRAL_1","RED_4","RED_3","PRIMARY_YELLOW","YELLOW_4","YELLOW_3","PRIMARY_GREEN","GREEN_4","GREEN_3","NEUTRAL_4","NEUTRAL_10","NEUTRAL_3","NEUTRAL_6"],"sourceRoot":"../../../../src","sources":["features/problemSelector/constants.ts"],"mappings":";;AAAA,SAA4BA,YAAY,EAAEC,MAAM,QAAQ,4BAA4B;AAGpF,OAAO,MAAMC,WAAW,GAAG,IAAI;AAC/B,OAAO,MAAMC,iBAAiB,GAAG;EAAEC,GAAG,EAAE,CAAC;EAAEC,KAAK,EAAE;AAAE,CAAC;AACrD,OAAO,MAAMC,SAAS,GAAG;EAAEC,KAAK,EAAE,EAAE;EAAEC,MAAM,EAAE;AAAG,CAAC;AAClD,OAAO,MAAMC,8BAA8B,GAAG,GAAG;AAEjD,OAAO,MAAMC,6BAA6B,GAAG;EAC3CC,QAAQ,EAAE,UAAU;EACpBC,aAAa,EAAE,eAAe;EAC9BC,MAAM,EAAE,QAAQ;EAChBC,oBAAoB,EAAE,sBAAsB;EAC5CC,UAAU,EAAE,YAAY;EACxBC,OAAO,EAAE,SAAS;EAClBC,IAAI,EAAE;AACR,CAAU;AAEV,MAAMC,WAAW,GAAGA,CAACC,EAAU,EAAEC,MAAc,EAAEC,KAAa,EAAEC,KAAa,GAAGF,MAAM,MAAM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oC,cAAc,EACrBpC,MAAM,CAACwC,SACT,CAAC;IACD,CAACzC,YAAY,CAACiC,OAAO,GAAGf,WAAW,CACjCjB,MAAM,CAACoC,cAAc,EACrBpC,MAAM,CAACoC,cAAc,EACrBpC,MAAM,CAACwC,SACT,CAAC;IACD,CAACzC,YAAY,CAACkC,QAAQ,GAAGhB,WAAW,CAACjB,MAAM,CAACsC,QAAQ,EAAEtC,MAAM,CAACsC,QAAQ,EAAEtC,MAAM,CAACwC,SAAS;EACzF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ButtonStates","COLORS","BUTTON_SIZE","BUTTON_BORDER_WIDTH","BADGE_COORDINATES","top","right","PROBLEM_SELECTOR_CONTENT_WIDTH","PROBLEM_SELECTOR_BUTTON_STATE","SELECTED","SELECTED_EXAM","SOLVED","SOLVED_FIRST_ATTEMPT","NOT_SOLVED","MISTAKE","EXAM","colorPreset","bg","border","color","raise","backgroundColor","borderColor","raiseColor","COLOR_SCHEME_MAP","DEFAULT","BLUE_1","PRIMARY_BLUE","HOVER","BLUE_4","ACTIVE","PRESSED","DISABLED","BLUE_3","PURPLE_1","PRIMARY_PURPLE","PURPLE_4","PURPLE_3","PRIMARY_RED","NEUTRAL_1","RED_4","RED_3","PRIMARY_YELLOW","YELLOW_4","YELLOW_3","PRIMARY_GREEN","GREEN_4","GREEN_3","NEUTRAL_4","NEUTRAL_10","NEUTRAL_3","NEUTRAL_6"],"sourceRoot":"../../../../src","sources":["features/problemSelector/constants.ts"],"mappings":";;AAAA,SAA4BA,YAAY,EAAEC,MAAM,QAAQ,4BAA4B;AAIpF,OAAO,MAAMC,WAAW,GAAG,EAAE;AAC7B,OAAO,MAAMC,mBAAmB,GAAG,CAAC;AACpC,OAAO,MAAMC,iBAAiB,GAAG;EAAEC,GAAG,EAAE,CAAC;EAAEC,KAAK,EAAE;AAAE,CAAC;AACrD,OAAO,MAAMC,8BAA8B,GAAG,GAAG;AAEjD,OAAO,MAAMC,6BAA6B,GAAG;E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AM,CAACsC,SACT,CAAC;IACD,CAACvC,YAAY,CAAC4B,KAAK,GAAGZ,WAAW,CAACf,MAAM,CAACmC,QAAQ,EAAEnC,MAAM,CAACmC,QAAQ,EAAEnC,MAAM,CAACsC,SAAS,CAAC;IACrF,CAACvC,YAAY,CAAC8B,MAAM,GAAGd,WAAW,CAChCf,MAAM,CAACkC,cAAc,EACrBlC,MAAM,CAACkC,cAAc,EACrBlC,MAAM,CAACsC,SACT,CAAC;IACD,CAACvC,YAAY,CAAC+B,OAAO,GAAGf,WAAW,CACjCf,MAAM,CAACkC,cAAc,EACrBlC,MAAM,CAACkC,cAAc,EACrBlC,MAAM,CAACsC,SACT,CAAC;IACD,CAACvC,YAAY,CAACgC,QAAQ,GAAGhB,WAAW,CAACf,MAAM,CAACoC,QAAQ,EAAEpC,MAAM,CAACoC,QAAQ,EAAEpC,MAAM,CAACsC,SAAS;EACzF;AACF,CAAC","ignoreList":[]}
@@ -8,4 +8,7 @@ export * from "./features/celebrations/index.js";
8
8
  export * from "./features/endOfAssignment/index.js";
9
9
  export * from "./features/formulaSheet/index.js";
10
10
  export * from "./features/problemSelector/index.js";
11
+ export * from "./features/gifCelebrations/index.js";
12
+ export * from "./features/exampleSolution/index.js";
13
+ export * from "./shared/icons/index.js";
11
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["useFeaturesLocalization","setFeaturesLocalization","Locale","generateRandomId"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,uBAAuB,EAAEC,uBAAuB,EAAEC,MAAM,QAAQ,+BAAsB;AAC/F,SAASC,gBAAgB,QAAQ,0BAAuB;AACxD,cAAc,6BAAoB;AAClC,cAAc,8BAAqB;AACnC,cAAc,kCAAyB;AACvC,cAAc,qCAA4B;AAC1C,cAAc,kCAAyB;AACvC,cAAc,qCAA4B","ignoreList":[]}
1
+ {"version":3,"names":["useFeaturesLocalization","setFeaturesLocalization","Locale","generateRandomId"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,uBAAuB,EAAEC,uBAAuB,EAAEC,MAAM,QAAQ,+BAAsB;AAC/F,SAASC,gBAAgB,QAAQ,0BAAuB;AACxD,cAAc,6BAAoB;AAClC,cAAc,8BAAqB;AACnC,cAAc,kCAAyB;AACvC,cAAc,qCAA4B;AAC1C,cAAc,kCAAyB;AACvC,cAAc,qCAA4B;AAC1C,cAAc,qCAA4B;AAC1C,cAAc,qCAA4B;AAC1C,cAAc,yBAAgB","ignoreList":[]}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ import { createEvent, createStore, sample, combine } from 'effector';
4
+ export class ControlledSample {
5
+ enable = createEvent();
6
+ disable = createEvent();
7
+ constructor({
8
+ clock,
9
+ source,
10
+ target,
11
+ filter = (_payload, isActive) => !!isActive,
12
+ fn = (payload, _isActive) => payload,
13
+ isActiveDefault = false
14
+ }) {
15
+ this.$isActive = createStore(isActiveDefault).on(this.enable, () => true).on(this.disable, () => false);
16
+ const combined = combine({
17
+ payload: source,
18
+ isActive: this.$isActive
19
+ });
20
+ sample({
21
+ clock,
22
+ source: combined,
23
+ filter: ({
24
+ payload,
25
+ isActive
26
+ }) => filter(payload, isActive),
27
+ fn: ({
28
+ payload,
29
+ isActive
30
+ }) => fn(payload, isActive),
31
+ target
32
+ });
33
+ }
34
+ }
35
+ //# sourceMappingURL=ControlledSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createEvent","createStore","sample","combine","ControlledSample","enable","disable","constructor","clock","source","target","filter","_payload","isActive","fn","payload","_isActive","isActiveDefault","$isActive","on","combined"],"sourceRoot":"../../../../src","sources":["lib/effector/ControlledSample.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,WAAW,EAASC,MAAM,EAAUC,OAAO,QAAe,UAAU;AAW1F,OAAO,MAAMC,gBAAgB,CAAoB;EAC/BC,MAAM,GAAGL,WAAW,CAAC,CAAC;EACtBM,OAAO,GAAGN,WAAW,CAAC,CAAC;EAIvCO,WAAWA,CAAC;IACVC,KAAK;IACLC,MAAM;IACNC,MAAM;IACNC,MAAM,GAAGA,CAACC,QAAQ,EAAEC,QAAQ,KAAK,CAAC,CAACA,QAAQ;IAC3CC,EAAE,GAAGA,CAACC,OAAO,EAAEC,SAAS,KAAKD,OAAuB;IACpDE,eAAe,GAAG;EACU,CAAC,EAAE;IAC/B,IAAI,CAACC,SAAS,GAAGjB,WAAW,CAACgB,eAAe,CAAC,CAC1CE,EAAE,CAAC,IAAI,CAACd,MAAM,EAAE,MAAM,IAAI,CAAC,CAC3Bc,EAAE,CAAC,IAAI,CAACb,OAAO,EAAE,MAAM,KAAK,CAAC;IAEhC,MAAMc,QAAQ,GAAGjB,OAAO,CAAC;MAAEY,OAAO,EAAEN,MAAM;MAAEI,QAAQ,EAAE,IAAI,CAACK;IAAU,CAAC,CAAC;IAEvEhB,MAAM,CAAC;MACLM,KAAK;MACLC,MAAM,EAAEW,QAAQ;MAChBT,MAAM,EAAEA,CAAC;QAAEI,OAAO;QAAEF;MAAS,CAAC,KAAKF,MAAM,CAACI,OAAO,EAAEF,QAAQ,CAAC;MAC5DC,EAAE,EAAEA,CAAC;QAAEC,OAAO;QAAEF;MAAS,CAAC,KAAKC,EAAE,CAACC,OAAO,EAAEF,QAAQ,CAAC;MACpDH;IACF,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["createEffect","controlledRequest","request","data","controller","AbortController","abortAfter","timeout","setTimeout","abort","response","signal","clearTimeout","error","code","reason","Error","createControllerEffect","fn","effect","fail","watch"],"sourceRoot":"../../../../src","sources":["lib/effector/createControllerEffect.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAqB,UAAU;AAkBpD,OAAO,SAASC,iBAAiBA,CAC7BC,OAAiE,EACnE;EACE,OAAO,OAAO;IACVC,IAAI;IACJC,UAAU,GAAG,IAAIC,eAAe,CAAC,CAAC;IAClCC,UAAU,GAAG;EACU,CAAC,KAAK;IAC7B,IAAIC,OAA6C,GAAG,IAAI;IAExD,IAAID,UAAU,EAAE;MACZC,OAAO,GAAGC,UAAU,CAAC,MAAM;QACvBJ,UAAU,CAACK,KAAK,CAAC,SAAS,CAAC;MAC/B,CAAC,EAAEH,UAAU,CAAC;IAClB;IAEA,IAAI;MACA,MAAMI,QAAQ,GAAG,MAAMR,OAAO,CAACC,IAAI,EAAE;QAAEQ,MAAM,EAAEP,UAAU,EAAEO;MAAO,CAAC,CAAC;MACpE,IAAIJ,OAAO,KAAK,IAAI,EAAEK,YAAY,CAACL,OAAO,CAAC;MAC3C,OAAOG,QAAQ;IACnB,CAAC,CAAC,OAAOG,KAAc,EAAE;MACrB,IAAKA,KAAK,CAAuBC,IAAI,KAAK,cAAc,EAAE;QACtD,IAAIV,UAAU,CAACO,MAAM,CAACI,MAAM,KAAK,SAAS,EAAE;UACxC,MAAM,IAAIC,KAAK,CAAC,mBAAmB,CAAC;QACxC;QACA,MAAM,IAAIA,KAAK,CAAC,0BAA0B,CAAC;MAC/C;MAEA,MAAMH,KAAK;IACf;EACJ,CAAC;AACL;AAEA,OAAO,MAAMI,sBAAsB,GAC/BC,EAA4D,IAC3D;EACD,MAAMhB,OAAO,GAAGD,iBAAiB,CAAOiB,EAAE,CAAC;EAC3C,MAAMC,MAAM,GAAGnB,YAAY,CAAEG,IAAO,IAChCD,OAAO,CAAC;IAAEC,IAAI;IAAEC,UAAU,EAAEe,MAAM,CAACf;EAAW,CAAC,CACnD,CAA2B;EAC3Be,MAAM,CAACf,UAAU,GAAG,IAAIC,eAAe,CAAC,CAAC;EAEzCc,MAAM,CAACC,IAAI,CAACC,KAAK,CAAC,MAAM;IACpBF,MAAM,CAACf,UAAU,GAAG,IAAIC,eAAe,CAAC,CAAC;EAC7C,CAAC,CAAC;EAEF,OAAOc,MAAM;AACjB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["createEffect","controlledRequest","request","data","controller","AbortController","abortAfter","timeout","setTimeout","abort","response","signal","clearTimeout","error","code","reason","Error","createControllerEffect","fn","effect","fail","watch"],"sourceRoot":"../../../../src","sources":["lib/effector/createControllerEffect.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAqB,UAAU;AAkBpD,OAAO,SAASC,iBAAiBA,CAC/BC,OAAiE,EACjE;EACA,OAAO,OAAO;IACZC,IAAI;IACJC,UAAU,GAAG,IAAIC,eAAe,CAAC,CAAC;IAClCC,UAAU,GAAG;EACY,CAAC,KAAK;IAC/B,IAAIC,OAA6C,GAAG,IAAI;IAExD,IAAID,UAAU,EAAE;MACdC,OAAO,GAAGC,UAAU,CAAC,MAAM;QACzBJ,UAAU,CAACK,KAAK,CAAC,SAAS,CAAC;MAC7B,CAAC,EAAEH,UAAU,CAAC;IAChB;IAEA,IAAI;MACF,MAAMI,QAAQ,GAAG,MAAMR,OAAO,CAACC,IAAI,EAAE;QAAEQ,MAAM,EAAEP,UAAU,EAAEO;MAAO,CAAC,CAAC;MACpE,IAAIJ,OAAO,KAAK,IAAI,EAAEK,YAAY,CAACL,OAAO,CAAC;MAC3C,OAAOG,QAAQ;IACjB,CAAC,CAAC,OAAOG,KAAc,EAAE;MACvB,IAAKA,KAAK,CAAuBC,IAAI,KAAK,cAAc,EAAE;QACxD,IAAIV,UAAU,CAACO,MAAM,CAACI,MAAM,KAAK,SAAS,EAAE;UAC1C,MAAM,IAAIC,KAAK,CAAC,mBAAmB,CAAC;QACtC;QACA,MAAM,IAAIA,KAAK,CAAC,0BAA0B,CAAC;MAC7C;MAEA,MAAMH,KAAK;IACb;EACF,CAAC;AACH;AAEA,OAAO,MAAMI,sBAAsB,GACjCC,EAA4D,IACzD;EACH,MAAMhB,OAAO,GAAGD,iBAAiB,CAAOiB,EAAE,CAAC;EAC3C,MAAMC,MAAM,GAAGnB,YAAY,CAAEG,IAAO,IAClCD,OAAO,CAAC;IAAEC,IAAI;IAAEC,UAAU,EAAEe,MAAM,CAACf;EAAW,CAAC,CACjD,CAA2B;EAC3Be,MAAM,CAACf,UAAU,GAAG,IAAIC,eAAe,CAAC,CAAC;EAEzCc,MAAM,CAACC,IAAI,CAACC,KAAK,CAAC,MAAM;IACtBF,MAAM,CAACf,UAAU,GAAG,IAAIC,eAAe,CAAC,CAAC;EAC3C,CAAC,CAAC;EAEF,OAAOc,MAAM;AACf,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=react-app-env.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["react-app-env.d.ts"],"mappings":"","ignoreList":[]}