@ckeditor/ckeditor5-ai 43.0.0-alpha.6 → 43.1.0-alpha.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 (250) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/bs.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de-ch.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es-co.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fa.js +1 -1
  18. package/build/translations/fi.js +1 -1
  19. package/build/translations/fr.js +1 -1
  20. package/build/translations/gl.js +1 -1
  21. package/build/translations/he.js +1 -1
  22. package/build/translations/hi.js +1 -1
  23. package/build/translations/hr.js +1 -1
  24. package/build/translations/hu.js +1 -1
  25. package/build/translations/id.js +1 -1
  26. package/build/translations/it.js +1 -1
  27. package/build/translations/ja.js +1 -1
  28. package/build/translations/jv.js +1 -1
  29. package/build/translations/ko.js +1 -1
  30. package/build/translations/lt.js +1 -1
  31. package/build/translations/lv.js +1 -1
  32. package/build/translations/ms.js +1 -1
  33. package/build/translations/nl.js +1 -1
  34. package/build/translations/no.js +1 -1
  35. package/build/translations/pl.js +1 -1
  36. package/build/translations/pt-br.js +1 -1
  37. package/build/translations/pt.js +1 -1
  38. package/build/translations/ro.js +1 -1
  39. package/build/translations/ru.js +1 -1
  40. package/build/translations/sk.js +1 -1
  41. package/build/translations/sr-latn.js +1 -1
  42. package/build/translations/sr.js +1 -1
  43. package/build/translations/sv.js +1 -1
  44. package/build/translations/th.js +1 -1
  45. package/build/translations/ti.js +1 -1
  46. package/build/translations/tk.js +1 -1
  47. package/build/translations/tr.js +1 -1
  48. package/build/translations/ug.js +1 -1
  49. package/build/translations/uk.js +1 -1
  50. package/build/translations/ur.js +1 -1
  51. package/build/translations/uz.js +1 -1
  52. package/build/translations/vi.js +1 -1
  53. package/build/translations/zh-cn.js +1 -1
  54. package/build/translations/zh.js +1 -1
  55. package/dist/aiassistant.d.ts +8 -8
  56. package/dist/aiassistantediting.d.ts +1 -1
  57. package/dist/index-editor.css +1 -1
  58. package/dist/index.css +3 -3
  59. package/dist/index.js +2 -2
  60. package/dist/translations/af.js +1 -1
  61. package/dist/translations/af.umd.js +1 -1
  62. package/dist/translations/ar.js +1 -1
  63. package/dist/translations/ar.umd.js +1 -1
  64. package/dist/translations/bg.js +1 -1
  65. package/dist/translations/bg.umd.js +1 -1
  66. package/dist/translations/bn.js +1 -1
  67. package/dist/translations/bn.umd.js +1 -1
  68. package/dist/translations/bs.js +1 -1
  69. package/dist/translations/bs.umd.js +1 -1
  70. package/dist/translations/ca.js +1 -1
  71. package/dist/translations/ca.umd.js +1 -1
  72. package/dist/translations/cs.js +1 -1
  73. package/dist/translations/cs.umd.js +1 -1
  74. package/dist/translations/da.js +1 -1
  75. package/dist/translations/da.umd.js +1 -1
  76. package/dist/translations/de-ch.js +1 -1
  77. package/dist/translations/de-ch.umd.js +1 -1
  78. package/dist/translations/de.js +1 -1
  79. package/dist/translations/de.umd.js +1 -1
  80. package/dist/translations/el.js +1 -1
  81. package/dist/translations/el.umd.js +1 -1
  82. package/dist/translations/en-au.js +1 -1
  83. package/dist/translations/en-au.umd.js +1 -1
  84. package/dist/translations/en.js +1 -1
  85. package/dist/translations/en.umd.js +1 -1
  86. package/dist/translations/es-co.js +1 -1
  87. package/dist/translations/es-co.umd.js +1 -1
  88. package/dist/translations/es.js +1 -1
  89. package/dist/translations/es.umd.js +1 -1
  90. package/dist/translations/et.js +1 -1
  91. package/dist/translations/et.umd.js +1 -1
  92. package/dist/translations/fa.js +1 -1
  93. package/dist/translations/fa.umd.js +1 -1
  94. package/dist/translations/fi.js +1 -1
  95. package/dist/translations/fi.umd.js +1 -1
  96. package/dist/translations/fr.js +1 -1
  97. package/dist/translations/fr.umd.js +1 -1
  98. package/dist/translations/gl.js +1 -1
  99. package/dist/translations/gl.umd.js +1 -1
  100. package/dist/translations/he.js +1 -1
  101. package/dist/translations/he.umd.js +1 -1
  102. package/dist/translations/hi.js +1 -1
  103. package/dist/translations/hi.umd.js +1 -1
  104. package/dist/translations/hr.js +1 -1
  105. package/dist/translations/hr.umd.js +1 -1
  106. package/dist/translations/hu.js +1 -1
  107. package/dist/translations/hu.umd.js +1 -1
  108. package/dist/translations/id.js +1 -1
  109. package/dist/translations/id.umd.js +1 -1
  110. package/dist/translations/it.js +1 -1
  111. package/dist/translations/it.umd.js +1 -1
  112. package/dist/translations/ja.js +1 -1
  113. package/dist/translations/ja.umd.js +1 -1
  114. package/dist/translations/jv.js +1 -1
  115. package/dist/translations/jv.umd.js +1 -1
  116. package/dist/translations/ko.js +1 -1
  117. package/dist/translations/ko.umd.js +1 -1
  118. package/dist/translations/lt.js +1 -1
  119. package/dist/translations/lt.umd.js +1 -1
  120. package/dist/translations/lv.js +1 -1
  121. package/dist/translations/lv.umd.js +1 -1
  122. package/dist/translations/ms.js +1 -1
  123. package/dist/translations/ms.umd.js +1 -1
  124. package/dist/translations/nl.js +1 -1
  125. package/dist/translations/nl.umd.js +1 -1
  126. package/dist/translations/no.js +1 -1
  127. package/dist/translations/no.umd.js +1 -1
  128. package/dist/translations/pl.js +1 -1
  129. package/dist/translations/pl.umd.js +1 -1
  130. package/dist/translations/pt-br.js +1 -1
  131. package/dist/translations/pt-br.umd.js +1 -1
  132. package/dist/translations/pt.js +1 -1
  133. package/dist/translations/pt.umd.js +1 -1
  134. package/dist/translations/ro.js +1 -1
  135. package/dist/translations/ro.umd.js +1 -1
  136. package/dist/translations/ru.js +1 -1
  137. package/dist/translations/ru.umd.js +1 -1
  138. package/dist/translations/sk.js +1 -1
  139. package/dist/translations/sk.umd.js +1 -1
  140. package/dist/translations/sr-latn.js +1 -1
  141. package/dist/translations/sr-latn.umd.js +1 -1
  142. package/dist/translations/sr.js +1 -1
  143. package/dist/translations/sr.umd.js +1 -1
  144. package/dist/translations/sv.js +1 -1
  145. package/dist/translations/sv.umd.js +1 -1
  146. package/dist/translations/th.js +1 -1
  147. package/dist/translations/th.umd.js +1 -1
  148. package/dist/translations/ti.js +1 -1
  149. package/dist/translations/ti.umd.js +1 -1
  150. package/dist/translations/tk.js +1 -1
  151. package/dist/translations/tk.umd.js +1 -1
  152. package/dist/translations/tr.js +1 -1
  153. package/dist/translations/tr.umd.js +1 -1
  154. package/dist/translations/ug.js +1 -1
  155. package/dist/translations/ug.umd.js +1 -1
  156. package/dist/translations/uk.js +1 -1
  157. package/dist/translations/uk.umd.js +1 -1
  158. package/dist/translations/ur.js +1 -1
  159. package/dist/translations/ur.umd.js +1 -1
  160. package/dist/translations/uz.js +1 -1
  161. package/dist/translations/uz.umd.js +1 -1
  162. package/dist/translations/vi.js +1 -1
  163. package/dist/translations/vi.umd.js +1 -1
  164. package/dist/translations/zh-cn.js +1 -1
  165. package/dist/translations/zh-cn.umd.js +1 -1
  166. package/dist/translations/zh.js +1 -1
  167. package/dist/translations/zh.umd.js +1 -1
  168. package/dist/ui/showaiassistantcommand.d.ts +2 -2
  169. package/lang/contexts.json +0 -5
  170. package/lang/translations/af.po +0 -20
  171. package/lang/translations/ar.po +0 -20
  172. package/lang/translations/bg.po +0 -20
  173. package/lang/translations/bn.po +0 -20
  174. package/lang/translations/bs.po +0 -20
  175. package/lang/translations/ca.po +0 -20
  176. package/lang/translations/cs.po +0 -20
  177. package/lang/translations/da.po +0 -20
  178. package/lang/translations/de-ch.po +0 -20
  179. package/lang/translations/de.po +0 -20
  180. package/lang/translations/el.po +0 -20
  181. package/lang/translations/en-au.po +0 -20
  182. package/lang/translations/en.po +0 -20
  183. package/lang/translations/es-co.po +0 -20
  184. package/lang/translations/es.po +0 -20
  185. package/lang/translations/et.po +0 -20
  186. package/lang/translations/fa.po +0 -20
  187. package/lang/translations/fi.po +0 -20
  188. package/lang/translations/fr.po +0 -20
  189. package/lang/translations/gl.po +6 -26
  190. package/lang/translations/he.po +0 -20
  191. package/lang/translations/hi.po +0 -20
  192. package/lang/translations/hr.po +0 -20
  193. package/lang/translations/hu.po +0 -20
  194. package/lang/translations/id.po +0 -20
  195. package/lang/translations/it.po +0 -20
  196. package/lang/translations/ja.po +0 -20
  197. package/lang/translations/jv.po +0 -20
  198. package/lang/translations/ko.po +0 -20
  199. package/lang/translations/lt.po +0 -20
  200. package/lang/translations/lv.po +0 -20
  201. package/lang/translations/ms.po +0 -20
  202. package/lang/translations/nl.po +0 -20
  203. package/lang/translations/no.po +0 -20
  204. package/lang/translations/pl.po +0 -20
  205. package/lang/translations/pt-br.po +0 -20
  206. package/lang/translations/pt.po +0 -20
  207. package/lang/translations/ro.po +0 -20
  208. package/lang/translations/ru.po +0 -20
  209. package/lang/translations/sk.po +0 -20
  210. package/lang/translations/sr-latn.po +0 -20
  211. package/lang/translations/sr.po +0 -20
  212. package/lang/translations/sv.po +0 -20
  213. package/lang/translations/th.po +0 -20
  214. package/lang/translations/ti.po +0 -20
  215. package/lang/translations/tk.po +0 -20
  216. package/lang/translations/tr.po +0 -20
  217. package/lang/translations/ug.po +0 -20
  218. package/lang/translations/uk.po +0 -20
  219. package/lang/translations/ur.po +0 -20
  220. package/lang/translations/uz.po +0 -20
  221. package/lang/translations/vi.po +0 -20
  222. package/lang/translations/zh-cn.po +0 -20
  223. package/lang/translations/zh.po +0 -20
  224. package/package.json +8 -8
  225. package/src/adapters/aiadapter.js +1 -1
  226. package/src/adapters/aitextadapter.js +1 -1
  227. package/src/adapters/awstextadapter.js +1 -1
  228. package/src/adapters/openaitextadapter.js +1 -1
  229. package/src/aiassistant.d.ts +8 -8
  230. package/src/aiassistant.js +1 -1
  231. package/src/aiassistantediting.d.ts +1 -1
  232. package/src/aiassistantediting.js +1 -1
  233. package/src/aiassistantui.js +1 -1
  234. package/src/index.js +1 -1
  235. package/src/ui/aiassistantcontroller.js +2 -2
  236. package/src/ui/form/aiformcontentarea.js +1 -1
  237. package/src/ui/form/aiformerrorview.js +1 -1
  238. package/src/ui/form/aiformpromptview.js +1 -1
  239. package/src/ui/form/aiformtoolbarview.js +1 -1
  240. package/src/ui/form/aiformview.js +1 -1
  241. package/src/ui/form/aihistorylistitemview.js +1 -1
  242. package/src/ui/form/aihistorylistview.js +1 -1
  243. package/src/ui/form/prompthistory.js +1 -1
  244. package/src/ui/showaiassistantcommand.d.ts +2 -2
  245. package/src/ui/showaiassistantcommand.js +1 -1
  246. package/src/utils/common-translations.js +1 -1
  247. package/theme/ai.css +3 -3
  248. package/dist/ui/dropdown/aicommandslistview.d.ts +0 -37
  249. package/src/ui/dropdown/aicommandslistview.d.ts +0 -33
  250. package/src/ui/dropdown/aicommandslistview.js +0 -23
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "Översätt"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "Översätt till %0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "Engelska"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "Prompthistorik"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "Sök AI-kommando"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "Inga kommandon hittades"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "Inga kommandon finns"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "%0 kommandon hittades"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "Ersätt"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "แปล"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "แปลเป็น %0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "ภาษาอังกฤษ"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "ประวัติพรอมต์"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "ค้นหาคำสั่ง AI"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "ไม่พบคำสั่ง"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "ไม่มีคำสั่งให้ใช้"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "พบคำสั่ง %0 รายการ"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "แทนที่"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr ""
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr ""
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr ""
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr ""
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr ""
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr ""
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr ""
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "ተክእ"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr ""
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr ""
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr ""
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr ""
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr ""
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr ""
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr ""
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr ""
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "Çevir"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "%0 diline çevir"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "İngilizce"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "İstem geçmişi"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "Yapay Zekâ komutunu ara"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "Hiç komut bulunamadı"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "Kullanılabilir komut yok"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "%0 komut bulundu"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "Değiştir"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "تەرجىمە"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "%0 غا تەرجىمە قىل"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "ئىنگلىزچە"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "ئەسكەرتىش تارىخى"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "AI بۇيرۇقى ئىزدە"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "ھېچقانداق بۇيرۇق تېپىلمىدى"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "ھېچقانداق بۇيرۇق يوق"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "ئالماشتۇر"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "Перекласти"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "Перекласти %0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "Англійською"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "Історія підказок"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "Пошук команди ШІ"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "Жодних команд не знайдено"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "Немає доступних команд"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "Знайдено %0 команд"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "Замінити"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr ""
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr ""
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr ""
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr ""
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr ""
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr ""
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr ""
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "بدل دیں"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr ""
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr ""
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr ""
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr ""
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr ""
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr ""
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr ""
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr ""
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr ""
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "Dịch"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "Dịch sang %0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "Tiếng Anh"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "Lịch sử lời nhắc"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "Tìm kiếm lệnh AI"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "Không tìm thấy lệnh nào"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "Không có lệnh nào khả dụng"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "Đã tìm thấy %0 lệnh"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "Thay thế"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "翻译"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "翻译为%0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "英语"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "提示词历史记录"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "搜索 AI 命令"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "未找到命令"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "没有可用的命令"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "找到 %0 个命令"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "替换"
@@ -97,10 +97,6 @@ msgctxt "AI command group label for translating the content."
97
97
  msgid "Translate"
98
98
  msgstr "翻譯"
99
99
 
100
- msgctxt "Label for the AI command. Example: (Translate to) English"
101
- msgid "Translate to %0"
102
- msgstr "翻譯為%0"
103
-
104
100
  msgctxt "Translate to (English)"
105
101
  msgid "English"
106
102
  msgstr "英文"
@@ -201,22 +197,6 @@ msgctxt "The label of the list group that hosts historical user prompts in the A
201
197
  msgid "Prompt history"
202
198
  msgstr "提示詞紀錄"
203
199
 
204
- msgctxt "The placeholder for the search input to filter the AI commands."
205
- msgid "Search AI command"
206
- msgstr "搜尋 AI 指令"
207
-
208
- msgctxt "The message displayed when the commands search input does not match any AI commands."
209
- msgid "No commands found"
210
- msgstr "找不到指令"
211
-
212
- msgctxt "The message displayed when there are no AI commands available in the commands dropdown."
213
- msgid "No commands available"
214
- msgstr "無可用指令"
215
-
216
- msgctxt "Aria status message indicating how many ai commands has been found using search ai commands input. Example: '%0 commands found'."
217
- msgid "%0 commands found"
218
- msgstr "已找到 %0 個指令"
219
-
220
200
  msgctxt "The label for the button that replaces the selected content by the generated AI response."
221
201
  msgid "AI_REPLACE_CONTENT"
222
202
  msgstr "取代"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ai",
3
- "version": "43.0.0-alpha.6",
3
+ "version": "43.1.0-alpha.0",
4
4
  "description": "AI Assistant feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -24,13 +24,13 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@aws-sdk/client-bedrock-runtime": "3.621.0",
27
- "@ckeditor/ckeditor5-clipboard": "43.0.0-alpha.6",
28
- "@ckeditor/ckeditor5-core": "43.0.0-alpha.6",
29
- "@ckeditor/ckeditor5-engine": "43.0.0-alpha.6",
30
- "@ckeditor/ckeditor5-ui": "43.0.0-alpha.6",
31
- "@ckeditor/ckeditor5-utils": "43.0.0-alpha.6",
32
- "ckeditor5": "43.0.0-alpha.6",
33
- "ckeditor5-collaboration": "43.0.0-alpha.6",
27
+ "@ckeditor/ckeditor5-clipboard": "43.1.0-alpha.0",
28
+ "@ckeditor/ckeditor5-core": "43.1.0-alpha.0",
29
+ "@ckeditor/ckeditor5-engine": "43.1.0-alpha.0",
30
+ "@ckeditor/ckeditor5-ui": "43.1.0-alpha.0",
31
+ "@ckeditor/ckeditor5-utils": "43.1.0-alpha.0",
32
+ "ckeditor5": "43.1.0-alpha.0",
33
+ "ckeditor5-collaboration": "43.1.0-alpha.0",
34
34
  "lodash-es": "4.17.21"
35
35
  },
36
36
  "type": "module",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x480f(){var _0x427195=['pluginName','textAdapter','name','2265399VbZkuw','70KqqrmO','215656dSFTIN','1748560sxjbKQ','AIAdapter','20219705nAUOiH','3440220MPDvZM','afterInit','4bIcsXa','aiadapter-text-adapter-not-set','45RQINZw','496578kmeBid','AIRequestError','4QylfzU','1863216gSYehN'];_0x480f=function(){return _0x427195;};return _0x480f();}var _0x129eab=_0xfdca;(function(_0x5b142d,_0x26ed4d){var _0x180150=_0xfdca,_0x1a98e6=_0x5b142d();while(!![]){try{var _0x580bea=-parseInt(_0x180150(0x120))/0x1*(parseInt(_0x180150(0x114))/0x2)+parseInt(_0x180150(0x11e))/0x3*(-parseInt(_0x180150(0x119))/0x4)+-parseInt(_0x180150(0x11f))/0x5*(parseInt(_0x180150(0x117))/0x6)+parseInt(_0x180150(0x124))/0x7+-parseInt(_0x180150(0x11a))/0x8+parseInt(_0x180150(0x116))/0x9*(parseInt(_0x180150(0x121))/0xa)+parseInt(_0x180150(0x123))/0xb;if(_0x580bea===_0x26ed4d)break;else _0x1a98e6['push'](_0x1a98e6['shift']());}catch(_0x423f94){_0x1a98e6['push'](_0x1a98e6['shift']());}}}(_0x480f,0x98cca));function _0xfdca(_0xaa83ef,_0x45d45a){var _0x480f80=_0x480f();return _0xfdca=function(_0xfdca21,_0x231fe9){_0xfdca21=_0xfdca21-0x113;var _0x15d108=_0x480f80[_0xfdca21];return _0x15d108;},_0xfdca(_0xaa83ef,_0x45d45a);}import{Plugin as _0x1f6f96}from'ckeditor5/src/core.js';import{CKEditorError as _0x1e45c8}from'ckeditor5/src/utils.js';export default class k extends _0x1f6f96{static get[_0x129eab(0x11b)](){var _0x38b3ca=_0x129eab;return _0x38b3ca(0x122);}[_0x129eab(0x113)](){var _0x112e9a=_0x129eab;if(!this[_0x112e9a(0x11c)])throw new _0x1e45c8(_0x112e9a(0x115),null);}}export class AIRequestError extends Error{constructor(_0x1b531d){var _0x17e787=_0x129eab;super(_0x1b531d),this[_0x17e787(0x11d)]=_0x17e787(0x118);}}
23
+ var _0x339101=_0x3e47;(function(_0x5cbaac,_0x308966){var _0x56b78b=_0x3e47,_0x4cb532=_0x5cbaac();while(!![]){try{var _0x3c59b3=parseInt(_0x56b78b(0x19d))/0x1*(parseInt(_0x56b78b(0x199))/0x2)+-parseInt(_0x56b78b(0x19b))/0x3*(parseInt(_0x56b78b(0x193))/0x4)+-parseInt(_0x56b78b(0x18b))/0x5+-parseInt(_0x56b78b(0x19a))/0x6*(-parseInt(_0x56b78b(0x194))/0x7)+-parseInt(_0x56b78b(0x190))/0x8*(parseInt(_0x56b78b(0x191))/0x9)+-parseInt(_0x56b78b(0x18f))/0xa*(-parseInt(_0x56b78b(0x18e))/0xb)+parseInt(_0x56b78b(0x196))/0xc*(parseInt(_0x56b78b(0x18c))/0xd);if(_0x3c59b3===_0x308966)break;else _0x4cb532['push'](_0x4cb532['shift']());}catch(_0x10e212){_0x4cb532['push'](_0x4cb532['shift']());}}}(_0x56f9,0x7263b));import{Plugin as _0x388bf3}from'ckeditor5/src/core.js';function _0x3e47(_0x59a35c,_0x392608){var _0x56f9df=_0x56f9();return _0x3e47=function(_0x3e4790,_0x3dba05){_0x3e4790=_0x3e4790-0x18b;var _0x361ff8=_0x56f9df[_0x3e4790];return _0x361ff8;},_0x3e47(_0x59a35c,_0x392608);}import{CKEditorError as _0x173d7b}from'ckeditor5/src/utils.js';export default class I extends _0x388bf3{static get[_0x339101(0x18d)](){var _0x31bb3f=_0x339101;return _0x31bb3f(0x19e);}[_0x339101(0x197)](){var _0x287774=_0x339101;if(!this[_0x287774(0x198)])throw new _0x173d7b(_0x287774(0x195),null);}}export class AIRequestError extends Error{constructor(_0x66808){var _0x469653=_0x339101;super(_0x66808),this[_0x469653(0x19c)]=_0x469653(0x192);}}function _0x56f9(){var _0x42d084=['2152974RvwHsP','186117FpmjNR','name','209571jWITTa','AIAdapter','4292875KwEmSq','2119OakBJT','pluginName','913781BAGDqK','10eBpoXM','8hSFTyR','1981305kUnifA','AIRequestError','56Ifxvrj','7rdaToU','aiadapter-text-adapter-not-set','83604EbERfG','afterInit','textAdapter','8mETAqf'];_0x56f9=function(){return _0x42d084;};return _0x56f9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ef37e=_0x2606;(function(_0x16f4aa,_0x133be6){const _0x2e9c22=_0x2606,_0x1928fc=_0x16f4aa();while(!![]){try{const _0x1dedd0=-parseInt(_0x2e9c22(0x1f9))/0x1+parseInt(_0x2e9c22(0x1eb))/0x2+-parseInt(_0x2e9c22(0x1e2))/0x3*(-parseInt(_0x2e9c22(0x1e8))/0x4)+parseInt(_0x2e9c22(0x1ff))/0x5*(parseInt(_0x2e9c22(0x1e3))/0x6)+parseInt(_0x2e9c22(0x1dd))/0x7*(-parseInt(_0x2e9c22(0x1fc))/0x8)+-parseInt(_0x2e9c22(0x1ef))/0x9+-parseInt(_0x2e9c22(0x1f1))/0xa;if(_0x1dedd0===_0x133be6)break;else _0x1928fc['push'](_0x1928fc['shift']());}catch(_0x10c0e4){_0x1928fc['push'](_0x1928fc['shift']());}}}(_0x49f2,0x70ce8));import{Plugin as _0x4e514f}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f9ae6}from'ckeditor5/src/utils.js';function _0x49f2(){const _0x2625fb=['AI_ERROR_GET_PARAMETERS','abort','387254lNySTw','locale','init','application/json','5456808TghhlQ','AI_ERROR_GET_HEADERS','1848010ZCZdFX','sendRequest','abortController','aitextadapter-send-request-failed','editor','plugins','resolve','_prepareRequestHeaders','431173xzWsGQ','requires','AbortError','656bsOjIF','_prepareRequestParameters','assign','2061010qqoMHX','textAdapter','reject','10276KIfdWW','makeRequest','catch','signal','name','214551AZObDj','12liDQXl','error','get','object','aborted','44uRLySP'];_0x49f2=function(){return _0x2625fb;};return _0x49f2();}import{default as _0x23b1f2,AIRequestError as _0x4ee3f0}from'./aiadapter.js';function _0x2606(_0x526eb3,_0x5f25db){const _0x49f215=_0x49f2();return _0x2606=function(_0x2606aa,_0x2fa8c3){_0x2606aa=_0x2606aa-0x1dd;let _0x1c5302=_0x49f215[_0x2606aa];return _0x1c5302;},_0x2606(_0x526eb3,_0x5f25db);}import{getTranslation as _0x114c60}from'../utils/common-translations.js';export default class P extends _0x4e514f{static get[_0x5ef37e(0x1fa)](){return[_0x23b1f2];}constructor(_0x10bffc){const _0x30ffa0=_0x5ef37e;super(_0x10bffc),this[_0x30ffa0(0x1f3)]=new AbortController();}[_0x5ef37e(0x1ed)](){const _0x4e8e6b=_0x5ef37e;this[_0x4e8e6b(0x1f5)][_0x4e8e6b(0x1f6)][_0x4e8e6b(0x1e5)](_0x23b1f2)[_0x4e8e6b(0x200)]=this;}[_0x5ef37e(0x1ea)](){const _0x59c920=_0x5ef37e;this[_0x59c920(0x1f3)][_0x59c920(0x1e0)][_0x59c920(0x1e7)]||(this[_0x59c920(0x1f3)][_0x59c920(0x1ea)](),this[_0x59c920(0x1f3)]=new AbortController());}async[_0x5ef37e(0x1de)](_0x28a26e){const _0x3c2caa=_0x5ef37e;return this[_0x3c2caa(0x1f2)](_0x28a26e)[_0x3c2caa(0x1df)](_0x3908bb=>{const _0x2e1b5c=_0x3c2caa;if(_0x3908bb instanceof _0x4ee3f0)return Promise[_0x2e1b5c(0x201)](_0x3908bb);if(_0x2e1b5c(0x1fb)==_0x3908bb[_0x2e1b5c(0x1e1)])return Promise[_0x2e1b5c(0x1f7)]();throw console[_0x2e1b5c(0x1e4)](_0x3908bb),new _0x1f9ae6(_0x2e1b5c(0x1f4),null);});}async[_0x5ef37e(0x1f8)](_0x31cf2b,_0x33b65e){const _0x962adf=_0x5ef37e,_0x296ca8=this[_0x962adf(0x1f5)][_0x962adf(0x1ec)],_0x27a308={'Content-Type':_0x962adf(0x1ee)};if(_0x962adf(0x1e6)==typeof _0x31cf2b)Object[_0x962adf(0x1fe)](_0x27a308,_0x31cf2b);else{if(_0x31cf2b)try{const _0x35e4c1=await _0x31cf2b(_0x33b65e);Object[_0x962adf(0x1fe)](_0x27a308,_0x35e4c1);}catch(_0x1c156a){return Promise[_0x962adf(0x201)](new _0x4ee3f0(_0x114c60(_0x296ca8,_0x962adf(0x1f0))));}}return _0x27a308;}async[_0x5ef37e(0x1fd)](_0x2aece8,_0x16c533){const _0x2fade0=_0x5ef37e,_0x3ada49=this[_0x2fade0(0x1f5)][_0x2fade0(0x1ec)];if(_0x2fade0(0x1e6)==typeof _0x2aece8)return _0x2aece8;try{return await _0x2aece8(_0x16c533);}catch(_0x33c7b5){return Promise[_0x2fade0(0x201)](new _0x4ee3f0(_0x114c60(_0x3ada49,_0x2fade0(0x1e9))));}}}
23
+ function _0xb395(_0x40b54e,_0x5eb534){const _0x57ea35=_0x57ea();return _0xb395=function(_0xb39518,_0x1ae6ee){_0xb39518=_0xb39518-0x90;let _0x21cbc8=_0x57ea35[_0xb39518];return _0x21cbc8;},_0xb395(_0x40b54e,_0x5eb534);}const _0x154eea=_0xb395;(function(_0x423cd7,_0x2af0cf){const _0x3c84e7=_0xb395,_0x2119b8=_0x423cd7();while(!![]){try{const _0x31d934=-parseInt(_0x3c84e7(0x98))/0x1*(parseInt(_0x3c84e7(0xb7))/0x2)+-parseInt(_0x3c84e7(0x95))/0x3*(parseInt(_0x3c84e7(0x93))/0x4)+parseInt(_0x3c84e7(0xaf))/0x5+parseInt(_0x3c84e7(0xaa))/0x6*(-parseInt(_0x3c84e7(0xa8))/0x7)+parseInt(_0x3c84e7(0x99))/0x8*(-parseInt(_0x3c84e7(0xa6))/0x9)+parseInt(_0x3c84e7(0x91))/0xa*(parseInt(_0x3c84e7(0x9e))/0xb)+parseInt(_0x3c84e7(0x97))/0xc*(parseInt(_0x3c84e7(0x9f))/0xd);if(_0x31d934===_0x2af0cf)break;else _0x2119b8['push'](_0x2119b8['shift']());}catch(_0x179956){_0x2119b8['push'](_0x2119b8['shift']());}}}(_0x57ea,0xaf78a));import{Plugin as _0x3d1889}from'ckeditor5/src/core.js';import{CKEditorError as _0x1a73e7}from'ckeditor5/src/utils.js';import{default as _0x1bcc17,AIRequestError as _0x299b13}from'./aiadapter.js';import{getTranslation as _0x8a0b96}from'../utils/common-translations.js';export default class _ extends _0x3d1889{static get[_0x154eea(0x9b)](){return[_0x1bcc17];}constructor(_0x4a4b92){const _0x4e67c5=_0x154eea;super(_0x4a4b92),this[_0x4e67c5(0xb0)]=new AbortController();}[_0x154eea(0xac)](){const _0x6af6ae=_0x154eea;this[_0x6af6ae(0x96)][_0x6af6ae(0x92)][_0x6af6ae(0xae)](_0x1bcc17)[_0x6af6ae(0xa3)]=this;}[_0x154eea(0x9a)](){const _0x1bb819=_0x154eea;this[_0x1bb819(0xb0)][_0x1bb819(0xab)][_0x1bb819(0xb2)]||(this[_0x1bb819(0xb0)][_0x1bb819(0x9a)](),this[_0x1bb819(0xb0)]=new AbortController());}async[_0x154eea(0xa0)](_0x2080a2){const _0x2dcf8e=_0x154eea;return this[_0x2dcf8e(0x94)](_0x2080a2)[_0x2dcf8e(0x90)](_0x1ad534=>{const _0x223b8e=_0x2dcf8e;if(_0x1ad534 instanceof _0x299b13)return Promise[_0x223b8e(0xa1)](_0x1ad534);if(_0x223b8e(0xb6)==_0x1ad534[_0x223b8e(0xa5)])return Promise[_0x223b8e(0x9d)]();throw console[_0x223b8e(0xb5)](_0x1ad534),new _0x1a73e7(_0x223b8e(0xb3),null);});}async[_0x154eea(0x9c)](_0x39f8bd,_0x5e6008){const _0x200772=_0x154eea,_0x1129a1=this[_0x200772(0x96)][_0x200772(0xb1)],_0x50d487={'Content-Type':_0x200772(0xa4)};if(_0x200772(0xa7)==typeof _0x39f8bd)Object[_0x200772(0xad)](_0x50d487,_0x39f8bd);else{if(_0x39f8bd)try{const _0x241ae7=await _0x39f8bd(_0x5e6008);Object[_0x200772(0xad)](_0x50d487,_0x241ae7);}catch(_0x3284e3){return Promise[_0x200772(0xa1)](new _0x299b13(_0x8a0b96(_0x1129a1,_0x200772(0xa9))));}}return _0x50d487;}async[_0x154eea(0xa2)](_0xbef77e,_0x35b04a){const _0x37cf97=_0x154eea,_0x2e5c30=this[_0x37cf97(0x96)][_0x37cf97(0xb1)];if(_0x37cf97(0xa7)==typeof _0xbef77e)return _0xbef77e;try{return await _0xbef77e(_0x35b04a);}catch(_0x57571e){return Promise[_0x37cf97(0xa1)](new _0x299b13(_0x8a0b96(_0x2e5c30,_0x37cf97(0xb4))));}}}function _0x57ea(){const _0x2fed72=['_prepareRequestParameters','textAdapter','application/json','name','914877dGnIRZ','object','2779fBeYFi','AI_ERROR_GET_HEADERS','20700NeMzXo','signal','init','assign','get','6657050xCxedr','abortController','locale','aborted','aitextadapter-send-request-failed','AI_ERROR_GET_PARAMETERS','error','AbortError','24258ivAczj','catch','4598980YRwvOQ','plugins','285832pKJBrC','sendRequest','3cInKFB','editor','23551572ttipvl','56aPDxUk','72SNRZsV','abort','requires','_prepareRequestHeaders','resolve','11BzAWOh','13IcEqmT','makeRequest','reject'];_0x57ea=function(){return _0x2fed72;};return _0x57ea();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x465b31=_0x4750;(function(_0x42d697,_0x375e54){const _0x263457=_0x4750,_0x48f034=_0x42d697();while(!![]){try{const _0x1bf805=-parseInt(_0x263457(0x76))/0x1*(parseInt(_0x263457(0xb1))/0x2)+-parseInt(_0x263457(0x81))/0x3+-parseInt(_0x263457(0x75))/0x4+parseInt(_0x263457(0x9d))/0x5*(-parseInt(_0x263457(0x79))/0x6)+parseInt(_0x263457(0x74))/0x7+parseInt(_0x263457(0x7a))/0x8+parseInt(_0x263457(0x83))/0x9;if(_0x1bf805===_0x375e54)break;else _0x48f034['push'](_0x48f034['shift']());}catch(_0x2b6c43){_0x48f034['push'](_0x48f034['shift']());}}}(_0x218a,0xb71b6));function _0x4750(_0x46b90f,_0x472764){const _0x218ae0=_0x218a();return _0x4750=function(_0x475030,_0x4707a9){_0x475030=_0x475030-0x71;let _0x718829=_0x218ae0[_0x475030];return _0x718829;},_0x4750(_0x46b90f,_0x472764);}import{default as _0x41a30a}from'./aitextadapter.js';import{AIRequestError as _0x55292f}from'./aiadapter.js';import{BedrockRuntimeClient as _0x57ed67,InvokeModelCommand as _0x194239,InvokeModelWithResponseStreamCommand as _0x4dc3df}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x5706c4}from'../utils/common-translations.js';export default class J extends _0x41a30a{static get[_0x465b31(0x9c)](){const _0x20bbd5=_0x465b31;return _0x20bbd5(0x84);}constructor(_0x17c076){const _0x3c78fb=_0x465b31;super(_0x17c076),_0x17c076[_0x3c78fb(0xa3)][_0x3c78fb(0x9f)](_0x3c78fb(0x90))||_0x17c076[_0x3c78fb(0xa3)][_0x3c78fb(0xa4)](_0x3c78fb(0x90),{'model':_0x3c78fb(0xa6),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x3c78fb(0xb7),'stream':!0x0}),this[_0x3c78fb(0xae)]=_0x17c076[_0x3c78fb(0xa3)][_0x3c78fb(0x9f)](_0x3c78fb(0x7d)),this[_0x3c78fb(0x99)]=_0x17c076[_0x3c78fb(0xa3)][_0x3c78fb(0x9f)](_0x3c78fb(0xc2)),this[_0x3c78fb(0x8f)]=_0x17c076[_0x3c78fb(0xa3)][_0x3c78fb(0x9f)](_0x3c78fb(0x7e)),this[_0x3c78fb(0x77)]=_0x17c076[_0x3c78fb(0xa3)][_0x3c78fb(0x9f)](_0x3c78fb(0x90));}async[_0x465b31(0xa0)]({query:_0x565107,context:_0x198a23,onData:_0x467717,actionId:_0x47cebf}){const _0x27bc89=_0x465b31,{model:_0x415162,stream:_0x27bb10,..._0x506291}=await this[_0x27bc89(0xb0)](this[_0x27bc89(0x77)],_0x47cebf),_0x1a062b={'prompt':await this[_0x27bc89(0x91)](_0x565107,_0x198a23,_0x415162,_0x47cebf),..._0x506291};this[_0x27bc89(0xae)]?await this[_0x27bc89(0xaa)](_0x1a062b,_0x415162,_0x27bb10,_0x467717,_0x47cebf):await this[_0x27bc89(0xa9)](_0x1a062b,_0x415162,_0x27bb10,_0x467717);}async[_0x465b31(0x91)](_0x58ff79,_0x180d28,_0x3fc189,_0x5d95b5){const _0x218703=_0x465b31;let _0x3d4eea,_0x3361e3;return _0x180d28?(_0x3d4eea=_0x218703(0xac),_0x3361e3=_0x218703(0x8a)+_0x58ff79+_0x218703(0xba)+_0x180d28):(_0x3d4eea=_0x218703(0xbb),_0x3361e3=_0x58ff79),_0x218703(0x73)==this[_0x218703(0x7b)](_0x3fc189)?_0x218703(0x72)+_0x3d4eea+_0x218703(0xc0)+_0x3361e3+_0x218703(0xbe):_0x218703(0xad)+_0x3d4eea+'\x0a'+_0x3361e3+_0x218703(0x94);}[_0x465b31(0x7b)](_0x5cb77a){const _0xca66ca=_0x465b31;if(/^anthropic\.claude/[_0xca66ca(0xb4)](_0x5cb77a))return _0xca66ca(0xb3);if(/^ai21\.j2/[_0xca66ca(0xb4)](_0x5cb77a))return _0xca66ca(0x92);if(/^cohere\.command/[_0xca66ca(0xb4)](_0x5cb77a))return _0xca66ca(0xb5);if(/^meta\.llama/[_0xca66ca(0xb4)](_0x5cb77a))return _0xca66ca(0x73);throw new _0x55292f(_0x5706c4(this[_0xca66ca(0xbc)][_0xca66ca(0x7f)],_0xca66ca(0x8b),_0x5cb77a));}async[_0x465b31(0xaa)](_0x5d3db8,_0x536add,_0xf1d1ab,_0x21a91e,_0x44083e){const _0x3edd19=_0x465b31,_0x26e2e2={'method':_0x3edd19(0x85),'headers':await this[_0x3edd19(0xa8)](this[_0x3edd19(0x8f)],_0x44083e),'body':JSON[_0x3edd19(0x80)]({..._0x5d3db8,'model':_0x536add,'stream':_0xf1d1ab}),'signal':this[_0x3edd19(0x87)][_0x3edd19(0x8e)]},_0x1b682c=await fetch(this[_0x3edd19(0xae)],_0x26e2e2);_0xf1d1ab?await this[_0x3edd19(0x7c)](_0x1b682c,_0x536add,_0x21a91e):await this[_0x3edd19(0xc1)](_0x1b682c,_0x536add,_0x21a91e);}async[_0x465b31(0xa9)](_0x1a4606,_0x4ec7e1,_0x449321,_0x1d7b57){const _0x362e9d=_0x465b31,_0x351357=new _0x57ed67(this[_0x362e9d(0x99)]),_0x26f60a={'body':JSON[_0x362e9d(0x80)](_0x1a4606),'contentType':_0x362e9d(0x88),'accept':_0x362e9d(0x88),'modelId':_0x4ec7e1};let _0x171808;if(_0x449321){const _0xf9f44f=new _0x4dc3df(_0x26f60a);_0x171808=await _0x351357[_0x362e9d(0xb9)](_0xf9f44f,{'abortSignal':this[_0x362e9d(0x87)][_0x362e9d(0x8e)]}),await this[_0x362e9d(0x78)](_0x171808,_0x4ec7e1,_0x1d7b57);}else{const _0x2b257f=new _0x194239(_0x26f60a);_0x171808=await _0x351357[_0x362e9d(0xb9)](_0x2b257f,{'abortSignal':this[_0x362e9d(0x87)][_0x362e9d(0x8e)]}),await this[_0x362e9d(0xc1)](_0x171808,_0x4ec7e1,_0x1d7b57);}}async[_0x465b31(0x78)](_0x40c73c,_0x16eb98,_0x46ea4e){const _0x461a34=_0x465b31,_0x246c8b=_0x40c73c[_0x461a34(0x8c)],_0x4106c8=new TextDecoder(_0x461a34(0xa2));let _0x8e283='';for await(const _0x56f84d of _0x246c8b)if(_0x56f84d[_0x461a34(0xb2)]){const _0x2aa8e6=_0x4106c8[_0x461a34(0x97)](_0x56f84d[_0x461a34(0xb2)][_0x461a34(0x9b)]),_0x3313bb=JSON[_0x461a34(0x96)](_0x2aa8e6);_0x8e283+=this[_0x461a34(0xaf)](_0x3313bb,_0x16eb98),_0x46ea4e(_0x8e283);}return Promise[_0x461a34(0x9e)]();}async[_0x465b31(0x7c)](_0x13f5a5,_0x140a0e,_0x345a7b){const _0x3ef2b9=_0x465b31,_0x150057=_0x13f5a5[_0x3ef2b9(0x8c)],_0xbc9edb=new TextDecoder(_0x3ef2b9(0xa2)),_0x24f6b8=_0x150057[_0x3ef2b9(0x8d)]();let _0x1432f7='',_0x539886='',_0x31f326=!0x1;for(;!_0x31f326;){const {done:_0x259f69,value:_0x144619}=await _0x24f6b8[_0x3ef2b9(0x95)]();if(_0x31f326=_0x259f69,_0x31f326)break;const _0xfbde1d=(_0x1432f7+_0xbc9edb[_0x3ef2b9(0x97)](_0x144619))[_0x3ef2b9(0xb8)]('\x0a')[_0x3ef2b9(0x93)](_0x5e9b24=>{const _0x28c0fd=_0x3ef2b9;try{return _0x1432f7='',JSON[_0x28c0fd(0x96)](_0x5e9b24);}catch(_0x662eb8){return _0x1432f7=_0x5e9b24,null;}})[_0x3ef2b9(0xbd)](_0x520e7d=>null!==_0x520e7d);_0xfbde1d[_0x3ef2b9(0x82)]&&(_0x539886+=_0xfbde1d[_0x3ef2b9(0x93)](_0x366dc1=>this[_0x3ef2b9(0xaf)](_0x366dc1,_0x140a0e))[_0x3ef2b9(0x9a)](''),_0x345a7b(_0x539886));}return Promise[_0x3ef2b9(0x9e)]();}async[_0x465b31(0xc1)](_0xb25f95,_0x105b61,_0x503304){const _0x2e2b0c=_0x465b31;let _0x4586c4;return _0x4586c4=_0xb25f95 instanceof Response?await _0xb25f95[_0x2e2b0c(0x98)]():JSON[_0x2e2b0c(0x96)](Buffer[_0x2e2b0c(0x89)](_0xb25f95[_0x2e2b0c(0x8c)])[_0x2e2b0c(0xa5)](_0x2e2b0c(0x71))),(_0x503304(this[_0x2e2b0c(0xaf)](_0x4586c4,_0x105b61)),Promise[_0x2e2b0c(0x9e)]());}[_0x465b31(0xaf)](_0x9b8b00,_0x15f429){const _0x1b73aa=_0x465b31;switch(this[_0x1b73aa(0x7b)](_0x15f429)){case _0x1b73aa(0xb3):return _0x9b8b00[_0x1b73aa(0xab)];case _0x1b73aa(0x92):return _0x9b8b00[_0x1b73aa(0xa1)][0x0][_0x1b73aa(0xb6)][_0x1b73aa(0xa7)];case _0x1b73aa(0xb5):return _0x9b8b00[_0x1b73aa(0x86)][0x0][_0x1b73aa(0xa7)];case _0x1b73aa(0x73):return _0x9b8b00[_0x1b73aa(0xbf)];}}}function _0x218a(){const _0x2cabb8=['editor','filter','\x0a[/INST]','generation','\x0a<</SYS>>\x0a[INST]\x0a','_readStaticResponse','ai.aws.bedrockClientConfig','utf8','<<SYS>>\x0a','meta.llama','621726xnQdRh','4298084wAaRPE','3462eUaMTe','_requestParameters','_readAsyncIterableResponse','6bSIidm','11024976PqhBUE','getModelFamily','_readStreamableResponse','ai.aws.apiUrl','ai.aws.requestHeaders','locale','stringify','1715298tLKMGQ','length','15925185LrApUD','AWSTextAdapter','POST','generations','abortController','application/json','from','Instruction:\x0a','AI_ERROR_UNSUPPORTED_MODEL','body','getReader','signal','_requestHeaders','ai.aws.requestParameters','preparePrompt','ai21.j2','map','\x0a\x0aAssistant:','read','parse','decode','json','_bedrockClientConfig','join','bytes','pluginName','1309790JfXjqD','resolve','get','sendRequest','completions','utf-8','config','define','toString','anthropic.claude-v2','text','_prepareRequestHeaders','_processAWSRequest','_processProxyRequest','completion','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Human:\x0a','_apiUrl','_getGeneratedText','_prepareRequestParameters','334gNwCHp','chunk','anthropic.claude','test','cohere.command','data','bedrock-2023-05-31','split','send','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.'];_0x218a=function(){return _0x2cabb8;};return _0x218a();}
23
+ const _0x4f5d3f=_0xcc48;function _0x441c(){const _0x3c1a91=['generations','_readStreamableResponse','length','data','map','abortController','locale','_requestHeaders','bytes','sendRequest','config','anthropic.claude-v2','\x0a\x0aAssistant:','pluginName','1436032bKtfZk','completion','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','test','utf-8','editor','cohere.command','Human:\x0a','POST','350389tPqmlr','completions','utf8','_processAWSRequest','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','7FtHltB','get','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','chunk','<<SYS>>\x0a','ai.aws.requestHeaders','decode','getReader','parse','json','filter','from','_prepareRequestParameters','ai.aws.apiUrl','_prepareRequestHeaders','join','getModelFamily','anthropic.claude','preparePrompt','_apiUrl','bedrock-2023-05-31','_requestParameters','_readAsyncIterableResponse','application/json','body','AI_ERROR_UNSUPPORTED_MODEL','signal','_processProxyRequest','split','1489486nyLmdV','_getGeneratedText','4194492QLjhAW','resolve','generation','ai.aws.bedrockClientConfig','1731195ZeQnJi','_bedrockClientConfig','4760024WLjJKs','stringify','2462220XlukXI','AWSTextAdapter','text','\x0a<</SYS>>\x0a[INST]\x0a','read','ai21.j2','Instruction:\x0a','ai.aws.requestParameters','meta.llama','\x0a[/INST]','send','_readStaticResponse','define','toString'];_0x441c=function(){return _0x3c1a91;};return _0x441c();}(function(_0x48ed43,_0x3446e8){const _0x4bd50f=_0xcc48,_0x1dd62f=_0x48ed43();while(!![]){try{const _0x556748=parseInt(_0x4bd50f(0x1fd))/0x1+parseInt(_0x4bd50f(0x1ce))/0x2+-parseInt(_0x4bd50f(0x1d4))/0x3+-parseInt(_0x4bd50f(0x1f4))/0x4+parseInt(_0x4bd50f(0x1d8))/0x5+-parseInt(_0x4bd50f(0x1d0))/0x6+-parseInt(_0x4bd50f(0x202))/0x7*(-parseInt(_0x4bd50f(0x1d6))/0x8);if(_0x556748===_0x3446e8)break;else _0x1dd62f['push'](_0x1dd62f['shift']());}catch(_0x20d49e){_0x1dd62f['push'](_0x1dd62f['shift']());}}}(_0x441c,0x85a60));import{default as _0x1b2b5e}from'./aitextadapter.js';import{AIRequestError as _0x272440}from'./aiadapter.js';import{BedrockRuntimeClient as _0x20a3b6,InvokeModelCommand as _0x1079f1,InvokeModelWithResponseStreamCommand as _0x5def97}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x3f84c8}from'../utils/common-translations.js';function _0xcc48(_0x59dfc7,_0x393a94){const _0x441cda=_0x441c();return _0xcc48=function(_0xcc4876,_0x21e061){_0xcc4876=_0xcc4876-0x1c3;let _0x5b3014=_0x441cda[_0xcc4876];return _0x5b3014;},_0xcc48(_0x59dfc7,_0x393a94);}export default class O extends _0x1b2b5e{static get[_0x4f5d3f(0x1f3)](){const _0x12b15f=_0x4f5d3f;return _0x12b15f(0x1d9);}constructor(_0x4085a8){const _0x5a8600=_0x4f5d3f;super(_0x4085a8),_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x1df))||_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x1e4)](_0x5a8600(0x1df),{'model':_0x5a8600(0x1f1),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x5a8600(0x1c5),'stream':!0x0}),this[_0x5a8600(0x1c4)]=_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x20f)),this[_0x5a8600(0x1d5)]=_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x1d3)),this[_0x5a8600(0x1ed)]=_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x207)),this[_0x5a8600(0x1c6)]=_0x4085a8[_0x5a8600(0x1f0)][_0x5a8600(0x203)](_0x5a8600(0x1df));}async[_0x4f5d3f(0x1ef)]({query:_0x44d22f,context:_0x3f807d,onData:_0x434ea8,actionId:_0x358911}){const _0x31e10b=_0x4f5d3f,{model:_0x5c6603,stream:_0x4eb48a,..._0x3b0239}=await this[_0x31e10b(0x20e)](this[_0x31e10b(0x1c6)],_0x358911),_0x226310={'prompt':await this[_0x31e10b(0x1c3)](_0x44d22f,_0x3f807d,_0x5c6603,_0x358911),..._0x3b0239};this[_0x31e10b(0x1c4)]?await this[_0x31e10b(0x1cc)](_0x226310,_0x5c6603,_0x4eb48a,_0x434ea8,_0x358911):await this[_0x31e10b(0x200)](_0x226310,_0x5c6603,_0x4eb48a,_0x434ea8);}async[_0x4f5d3f(0x1c3)](_0x5bfa28,_0x461678,_0x3d7566,_0x3f79ea){const _0x27d3a4=_0x4f5d3f;let _0x58df33,_0x1a4ca7;return _0x461678?(_0x58df33=_0x27d3a4(0x1f6),_0x1a4ca7=_0x27d3a4(0x1de)+_0x5bfa28+_0x27d3a4(0x204)+_0x461678):(_0x58df33=_0x27d3a4(0x201),_0x1a4ca7=_0x5bfa28),_0x27d3a4(0x1e0)==this[_0x27d3a4(0x212)](_0x3d7566)?_0x27d3a4(0x206)+_0x58df33+_0x27d3a4(0x1db)+_0x1a4ca7+_0x27d3a4(0x1e1):_0x27d3a4(0x1fb)+_0x58df33+'\x0a'+_0x1a4ca7+_0x27d3a4(0x1f2);}[_0x4f5d3f(0x212)](_0x137a00){const _0x59f9b4=_0x4f5d3f;if(/^anthropic\.claude/[_0x59f9b4(0x1f7)](_0x137a00))return _0x59f9b4(0x213);if(/^ai21\.j2/[_0x59f9b4(0x1f7)](_0x137a00))return _0x59f9b4(0x1dd);if(/^cohere\.command/[_0x59f9b4(0x1f7)](_0x137a00))return _0x59f9b4(0x1fa);if(/^meta\.llama/[_0x59f9b4(0x1f7)](_0x137a00))return _0x59f9b4(0x1e0);throw new _0x272440(_0x3f84c8(this[_0x59f9b4(0x1f9)][_0x59f9b4(0x1ec)],_0x59f9b4(0x1ca),_0x137a00));}async[_0x4f5d3f(0x1cc)](_0x9f00d9,_0x539ab5,_0x599698,_0x5e3a34,_0x29ae5f){const _0xbd7548=_0x4f5d3f,_0x2afae1={'method':_0xbd7548(0x1fc),'headers':await this[_0xbd7548(0x210)](this[_0xbd7548(0x1ed)],_0x29ae5f),'body':JSON[_0xbd7548(0x1d7)]({..._0x9f00d9,'model':_0x539ab5,'stream':_0x599698}),'signal':this[_0xbd7548(0x1eb)][_0xbd7548(0x1cb)]},_0x44c0ff=await fetch(this[_0xbd7548(0x1c4)],_0x2afae1);_0x599698?await this[_0xbd7548(0x1e7)](_0x44c0ff,_0x539ab5,_0x5e3a34):await this[_0xbd7548(0x1e3)](_0x44c0ff,_0x539ab5,_0x5e3a34);}async[_0x4f5d3f(0x200)](_0x41b450,_0x2a4519,_0x339db4,_0x3864fb){const _0x41f232=_0x4f5d3f,_0x48fe9e=new _0x20a3b6(this[_0x41f232(0x1d5)]),_0x2a73ed={'body':JSON[_0x41f232(0x1d7)](_0x41b450),'contentType':_0x41f232(0x1c8),'accept':_0x41f232(0x1c8),'modelId':_0x2a4519};let _0x518d4c;if(_0x339db4){const _0x5dc686=new _0x5def97(_0x2a73ed);_0x518d4c=await _0x48fe9e[_0x41f232(0x1e2)](_0x5dc686,{'abortSignal':this[_0x41f232(0x1eb)][_0x41f232(0x1cb)]}),await this[_0x41f232(0x1c7)](_0x518d4c,_0x2a4519,_0x3864fb);}else{const _0x45c6d4=new _0x1079f1(_0x2a73ed);_0x518d4c=await _0x48fe9e[_0x41f232(0x1e2)](_0x45c6d4,{'abortSignal':this[_0x41f232(0x1eb)][_0x41f232(0x1cb)]}),await this[_0x41f232(0x1e3)](_0x518d4c,_0x2a4519,_0x3864fb);}}async[_0x4f5d3f(0x1c7)](_0x28d68b,_0x230941,_0x5f54ab){const _0x2a485d=_0x4f5d3f,_0x39d823=_0x28d68b[_0x2a485d(0x1c9)],_0x58da3=new TextDecoder(_0x2a485d(0x1f8));let _0x406ec0='';for await(const _0x4c8c4c of _0x39d823)if(_0x4c8c4c[_0x2a485d(0x205)]){const _0x12f966=_0x58da3[_0x2a485d(0x208)](_0x4c8c4c[_0x2a485d(0x205)][_0x2a485d(0x1ee)]),_0x46d73c=JSON[_0x2a485d(0x20a)](_0x12f966);_0x406ec0+=this[_0x2a485d(0x1cf)](_0x46d73c,_0x230941),_0x5f54ab(_0x406ec0);}return Promise[_0x2a485d(0x1d1)]();}async[_0x4f5d3f(0x1e7)](_0xe46485,_0x26814a,_0xe4028d){const _0x2636ad=_0x4f5d3f,_0x192272=_0xe46485[_0x2636ad(0x1c9)],_0xb763d8=new TextDecoder(_0x2636ad(0x1f8)),_0x1bf6aa=_0x192272[_0x2636ad(0x209)]();let _0x13e9b0='',_0x21db81='',_0x177056=!0x1;for(;!_0x177056;){const {done:_0x5e2b09,value:_0x5e2dbd}=await _0x1bf6aa[_0x2636ad(0x1dc)]();if(_0x177056=_0x5e2b09,_0x177056)break;const _0x44d71a=(_0x13e9b0+_0xb763d8[_0x2636ad(0x208)](_0x5e2dbd))[_0x2636ad(0x1cd)]('\x0a')[_0x2636ad(0x1ea)](_0x3ecca6=>{const _0x5dda84=_0x2636ad;try{return _0x13e9b0='',JSON[_0x5dda84(0x20a)](_0x3ecca6);}catch(_0x170972){return _0x13e9b0=_0x3ecca6,null;}})[_0x2636ad(0x20c)](_0x662c42=>null!==_0x662c42);_0x44d71a[_0x2636ad(0x1e8)]&&(_0x21db81+=_0x44d71a[_0x2636ad(0x1ea)](_0x51a871=>this[_0x2636ad(0x1cf)](_0x51a871,_0x26814a))[_0x2636ad(0x211)](''),_0xe4028d(_0x21db81));}return Promise[_0x2636ad(0x1d1)]();}async[_0x4f5d3f(0x1e3)](_0x291352,_0x51ba1c,_0x379957){const _0x5d6ad0=_0x4f5d3f;let _0x4b3516;return _0x4b3516=_0x291352 instanceof Response?await _0x291352[_0x5d6ad0(0x20b)]():JSON[_0x5d6ad0(0x20a)](Buffer[_0x5d6ad0(0x20d)](_0x291352[_0x5d6ad0(0x1c9)])[_0x5d6ad0(0x1e5)](_0x5d6ad0(0x1ff))),(_0x379957(this[_0x5d6ad0(0x1cf)](_0x4b3516,_0x51ba1c)),Promise[_0x5d6ad0(0x1d1)]());}[_0x4f5d3f(0x1cf)](_0x443a66,_0x3ca828){const _0x153144=_0x4f5d3f;switch(this[_0x153144(0x212)](_0x3ca828)){case _0x153144(0x213):return _0x443a66[_0x153144(0x1f5)];case _0x153144(0x1dd):return _0x443a66[_0x153144(0x1fe)][0x0][_0x153144(0x1e9)][_0x153144(0x1da)];case _0x153144(0x1fa):return _0x443a66[_0x153144(0x1e6)][0x0][_0x153144(0x1da)];case _0x153144(0x1e0):return _0x443a66[_0x153144(0x1d2)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29c4(){const _0x30e63f=['join','config','583299UiPrqe','POST','map','AI_ERROR_CONTEXT_LENGTH','split','ai.openAI.requestHeaders','context_length_exceeded','choices','_prepareRequestParameters','stringify','8zBSIvO','138ziDMTC','[DONE]','filter','sendRequest','abortController','Instruction:\x0a','AI_ERROR_MODERATION','gpt-3.5-turbo','resolve','reject','decode','includes','_readStaticResponse','user','read','body','signal','get','https://api.openai.com/v1/chat/completions','Moderation','parse','_apiUrl','prepareMessages','content','170653NBwFgv','10GIVLnh','pluginName','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','_requestHeaders','json','OpenAITextAdapter','_requestParameters','message','_cleanUpData','157671nBCRhY','_prepareRequestHeaders','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','56KUZLUJ','getReader','system','locale','delta','5071rCndWE','define','_isBufferIncomplete','text','ai.openAI.requestParameters','3030vpQTDG','length','replace','_readStreamableResponse','stream','23480iWSQdx','ai.openAI.apiUrl','1932324tyArWC','editor','data:\x20','6406299wYHfxv'];_0x29c4=function(){return _0x30e63f;};return _0x29c4();}const _0x2dbfb6=_0x42b1;(function(_0xcca28d,_0x55ac08){const _0x212cee=_0x42b1,_0x27d132=_0xcca28d();while(!![]){try{const _0x5244cd=parseInt(_0x212cee(0xc8))/0x1*(-parseInt(_0x212cee(0xbe))/0x2)+parseInt(_0x212cee(0x9a))/0x3+-parseInt(_0x212cee(0xcb))/0x4*(-parseInt(_0x212cee(0xda))/0x5)+parseInt(_0x212cee(0xa5))/0x6*(parseInt(_0x212cee(0xbd))/0x7)+-parseInt(_0x212cee(0xa4))/0x8*(-parseInt(_0x212cee(0x97))/0x9)+parseInt(_0x212cee(0xd5))/0xa*(-parseInt(_0x212cee(0xd0))/0xb)+-parseInt(_0x212cee(0x94))/0xc;if(_0x5244cd===_0x55ac08)break;else _0x27d132['push'](_0x27d132['shift']());}catch(_0x34e873){_0x27d132['push'](_0x27d132['shift']());}}}(_0x29c4,0x6c4f8));function _0x42b1(_0x51bda4,_0x10153e){const _0x29c443=_0x29c4();return _0x42b1=function(_0x42b1c7,_0x12fb2f){_0x42b1c7=_0x42b1c7-0x93;let _0x3844d8=_0x29c443[_0x42b1c7];return _0x3844d8;},_0x42b1(_0x51bda4,_0x10153e);}import{default as _0x25f659}from'./aitextadapter.js';import{AIRequestError as _0x76b1aa}from'./aiadapter.js';import{getTranslation as _0x1ffb35}from'../utils/common-translations.js';export default class F extends _0x25f659{static get[_0x2dbfb6(0xbf)](){const _0x38e646=_0x2dbfb6;return _0x38e646(0xc4);}constructor(_0x419864){const _0x4a083e=_0x2dbfb6;super(_0x419864),_0x419864[_0x4a083e(0x99)][_0x4a083e(0xd1)](_0x4a083e(0x93),_0x4a083e(0xb7)),_0x419864[_0x4a083e(0x99)][_0x4a083e(0xb6)](_0x4a083e(0xd4))||_0x419864[_0x4a083e(0x99)][_0x4a083e(0xd1)](_0x4a083e(0xd4),{'model':_0x4a083e(0xac),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4a083e(0xba)]=_0x419864[_0x4a083e(0x99)][_0x4a083e(0xb6)](_0x4a083e(0x93)),this[_0x4a083e(0xc2)]=_0x419864[_0x4a083e(0x99)][_0x4a083e(0xb6)](_0x4a083e(0x9f))||{},this[_0x4a083e(0xc5)]=_0x419864[_0x4a083e(0x99)][_0x4a083e(0xb6)](_0x4a083e(0xd4));}async[_0x2dbfb6(0xa8)]({query:_0x5ea2b3,context:_0x7cc1f8,onData:_0x372b47,actionId:_0x2ff555}){const _0x3fe2ef=_0x2dbfb6,_0x23c0bf=this[_0x3fe2ef(0x95)][_0x3fe2ef(0xce)],_0x18387b=await this[_0x3fe2ef(0xbb)](_0x5ea2b3,_0x7cc1f8,_0x2ff555),_0x4b7019=await this[_0x3fe2ef(0xc9)](this[_0x3fe2ef(0xc2)],_0x2ff555),_0x420ed9=await this[_0x3fe2ef(0xa2)](this[_0x3fe2ef(0xc5)],_0x2ff555),_0x14eca6={'messages':_0x18387b,..._0x420ed9},_0x458776={'method':_0x3fe2ef(0x9b),'headers':_0x4b7019,'body':JSON[_0x3fe2ef(0xa3)](_0x14eca6),'signal':this[_0x3fe2ef(0xa9)][_0x3fe2ef(0xb5)]},_0x34428d=await fetch(this[_0x3fe2ef(0xba)],_0x458776);if(_0x34428d['ok'])return _0x420ed9[_0x3fe2ef(0xd9)]?await this[_0x3fe2ef(0xd8)](_0x34428d,_0x372b47):await this[_0x3fe2ef(0xb1)](_0x34428d,_0x372b47),Promise[_0x3fe2ef(0xad)]();{const _0x3e7f7f=await _0x34428d[_0x3fe2ef(0xd3)]();return _0x3e7f7f[_0x3fe2ef(0xb0)](_0x3fe2ef(0xa0))?Promise[_0x3fe2ef(0xae)](new _0x76b1aa(_0x1ffb35(_0x23c0bf,_0x3fe2ef(0x9d)))):_0x3e7f7f[_0x3fe2ef(0xb0)](_0x3fe2ef(0xb8))?Promise[_0x3fe2ef(0xae)](new _0x76b1aa(_0x1ffb35(_0x23c0bf,_0x3fe2ef(0xab)))):Promise[_0x3fe2ef(0xae)](new Error(_0x3e7f7f));}}async[_0x2dbfb6(0xbb)](_0x593e41,_0x418e82,_0x54c2e4){const _0x3e01b7=_0x2dbfb6;let _0x44b439,_0x579c25;return _0x418e82?(_0x44b439=_0x3e01b7(0xca),_0x579c25=_0x3e01b7(0xaa)+_0x593e41+_0x3e01b7(0xc0)+_0x418e82):(_0x44b439=_0x3e01b7(0xc1),_0x579c25=_0x593e41),[{'role':_0x3e01b7(0xcd),'content':_0x44b439},{'role':_0x3e01b7(0xb2),'content':_0x579c25}];}async[_0x2dbfb6(0xd8)](_0x5514d1,_0x253387){const _0x137551=_0x2dbfb6,_0x445d55=_0x5514d1[_0x137551(0xb4)][_0x137551(0xcc)](),_0x31c941=new TextDecoder();let _0x3a4f93='',_0x481c52='',_0x40c6f4='',_0x232714=!0x1;for(;!_0x232714;){const {done:_0x37b09c,value:_0x2eee8a}=await _0x445d55[_0x137551(0xb3)](),_0x167432=_0x3a4f93+_0x31c941[_0x137551(0xaf)](_0x2eee8a);let _0x264eca='';_0x232714=_0x37b09c;try{_0x264eca=this[_0x137551(0xc7)](_0x167432),_0x3a4f93='';}catch(_0x537481){_0x3a4f93=_0x167432;continue;}_0x481c52+=_0x264eca,!_0x232714&&this[_0x137551(0xd2)](_0x481c52)||_0x481c52&&(_0x40c6f4+=_0x481c52,_0x481c52='',_0x253387(_0x40c6f4));}return Promise[_0x137551(0xad)]();}async[_0x2dbfb6(0xb1)](_0x3f6b69,_0x122240){const _0x168d67=_0x2dbfb6;return _0x122240((await _0x3f6b69[_0x168d67(0xc3)]())[_0x168d67(0xa1)][0x0][_0x168d67(0xc6)][_0x168d67(0xbc)]),Promise[_0x168d67(0xad)]();}[_0x2dbfb6(0xd2)](_0x2fdc87){const _0x28e204=_0x2dbfb6,_0x5ef880=_0x2fdc87[_0x28e204(0x9e)]('<')[_0x28e204(0xd6)]!==_0x2fdc87[_0x28e204(0x9e)]('>')[_0x28e204(0xd6)],_0x2ee733=_0x2fdc87[_0x28e204(0xd6)]<0x1e;return _0x5ef880&&_0x2ee733;}[_0x2dbfb6(0xc7)](_0x2581b){const _0x427095=_0x2dbfb6;return _0x2581b[_0x427095(0x9e)](/\n(?![^{]*\})/g)[_0x427095(0x9c)](_0x4fd8f7=>_0x4fd8f7[_0x427095(0xd7)](_0x427095(0x96),''))[_0x427095(0xa7)](_0x6584e7=>_0x6584e7&&_0x6584e7[_0x427095(0xd6)]>0x0&&_0x427095(0xa6)!==_0x6584e7)[_0x427095(0x9c)](_0x2e00f1=>{const _0x2b80f9=_0x427095,{choices:_0x34b7ae}=JSON[_0x2b80f9(0xb9)](_0x2e00f1);if(_0x34b7ae[0x0]&&_0x34b7ae[0x0][_0x2b80f9(0xcf)]&&_0x34b7ae[0x0][_0x2b80f9(0xcf)][_0x2b80f9(0xbc)])return _0x34b7ae[0x0][_0x2b80f9(0xcf)][_0x2b80f9(0xbc)];})[_0x427095(0xa7)](_0x29bfca=>_0x29bfca)[_0x427095(0x98)]('');}}
23
+ function _0x4f3a(){const _0x8a0520=['Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','[DONE]','config','context_length_exceeded','pluginName','split','message','_prepareRequestHeaders','sendRequest','AI_ERROR_MODERATION','system','json','text','https://api.openai.com/v1/chat/completions','204RzNKiO','map','_isBufferIncomplete','reject','signal','resolve','_readStaticResponse','length','delta','3374640hnEDNg','user','body','AI_ERROR_CONTEXT_LENGTH','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','getReader','includes','join','get','_prepareRequestParameters','replace','_cleanUpData','Moderation','content','gpt-3.5-turbo','29224920rCdGlI','filter','_requestParameters','abortController','160013lCjzqT','stream','45139AYVGxx','POST','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','read','locale','8ofsENi','572XHGURG','1973259yleGyz','ai.openAI.requestParameters','decode','parse','choices','ai.openAI.requestHeaders','24IwmxGa','OpenAITextAdapter','stringify','172730WJGfnt','editor','_readStreamableResponse','15012sAfCBy','Instruction:\x0a','1164JCeVoH','_requestHeaders','data:\x20','_apiUrl','define','prepareMessages','ai.openAI.apiUrl'];_0x4f3a=function(){return _0x8a0520;};return _0x4f3a();}const _0x1eb12d=_0xf862;(function(_0x3aa33b,_0x5f0e6c){const _0x55eacf=_0xf862,_0x442687=_0x3aa33b();while(!![]){try{const _0x159b08=parseInt(_0x55eacf(0x108))/0x1*(-parseInt(_0x55eacf(0xcd))/0x2)+-parseInt(_0x55eacf(0xd5))/0x3*(parseInt(_0x55eacf(0xd3))/0x4)+parseInt(_0x55eacf(0xf3))/0x5+parseInt(_0x55eacf(0xea))/0x6*(parseInt(_0x55eacf(0x106))/0x7)+parseInt(_0x55eacf(0xc5))/0x8*(-parseInt(_0x55eacf(0xc7))/0x9)+parseInt(_0x55eacf(0xd0))/0xa*(-parseInt(_0x55eacf(0xc6))/0xb)+parseInt(_0x55eacf(0x102))/0xc;if(_0x159b08===_0x5f0e6c)break;else _0x442687['push'](_0x442687['shift']());}catch(_0x3bde07){_0x442687['push'](_0x442687['shift']());}}}(_0x4f3a,0xbc8a9));import{default as _0x11d7f0}from'./aitextadapter.js';import{AIRequestError as _0x334b47}from'./aiadapter.js';function _0xf862(_0x4c1616,_0x31581a){const _0x4f3a0f=_0x4f3a();return _0xf862=function(_0xf862e6,_0x232276){_0xf862e6=_0xf862e6-0xc3;let _0x492695=_0x4f3a0f[_0xf862e6];return _0x492695;},_0xf862(_0x4c1616,_0x31581a);}import{getTranslation as _0x14fa0f}from'../utils/common-translations.js';export default class M extends _0x11d7f0{static get[_0x1eb12d(0xe0)](){const _0x21d798=_0x1eb12d;return _0x21d798(0xce);}constructor(_0x4a0529){const _0x2d1645=_0x1eb12d;super(_0x4a0529),_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xd9)](_0x2d1645(0xdb),_0x2d1645(0xe9)),_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xfb)](_0x2d1645(0xc8))||_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xd9)](_0x2d1645(0xc8),{'model':_0x2d1645(0x101),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x2d1645(0xd8)]=_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xfb)](_0x2d1645(0xdb)),this[_0x2d1645(0xd6)]=_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xfb)](_0x2d1645(0xcc))||{},this[_0x2d1645(0x104)]=_0x4a0529[_0x2d1645(0xde)][_0x2d1645(0xfb)](_0x2d1645(0xc8));}async[_0x1eb12d(0xe4)]({query:_0x298b45,context:_0x494683,onData:_0x361bc5,actionId:_0x40960f}){const _0x32fa94=_0x1eb12d,_0x3a417c=this[_0x32fa94(0xd1)][_0x32fa94(0xc4)],_0x1ca566=await this[_0x32fa94(0xda)](_0x298b45,_0x494683,_0x40960f),_0x565428=await this[_0x32fa94(0xe3)](this[_0x32fa94(0xd6)],_0x40960f),_0x1a9dee=await this[_0x32fa94(0xfc)](this[_0x32fa94(0x104)],_0x40960f),_0x365a6b={'messages':_0x1ca566,..._0x1a9dee},_0x366f9e={'method':_0x32fa94(0x109),'headers':_0x565428,'body':JSON[_0x32fa94(0xcf)](_0x365a6b),'signal':this[_0x32fa94(0x105)][_0x32fa94(0xee)]},_0x122db5=await fetch(this[_0x32fa94(0xd8)],_0x366f9e);if(_0x122db5['ok'])return _0x1a9dee[_0x32fa94(0x107)]?await this[_0x32fa94(0xd2)](_0x122db5,_0x361bc5):await this[_0x32fa94(0xf0)](_0x122db5,_0x361bc5),Promise[_0x32fa94(0xef)]();{const _0x221d62=await _0x122db5[_0x32fa94(0xe8)]();return _0x221d62[_0x32fa94(0xf9)](_0x32fa94(0xdf))?Promise[_0x32fa94(0xed)](new _0x334b47(_0x14fa0f(_0x3a417c,_0x32fa94(0xf6)))):_0x221d62[_0x32fa94(0xf9)](_0x32fa94(0xff))?Promise[_0x32fa94(0xed)](new _0x334b47(_0x14fa0f(_0x3a417c,_0x32fa94(0xe5)))):Promise[_0x32fa94(0xed)](new Error(_0x221d62));}}async[_0x1eb12d(0xda)](_0x3ad329,_0x208c16,_0x5b16a5){const _0x139b37=_0x1eb12d;let _0x38a596,_0x1ed55d;return _0x208c16?(_0x38a596=_0x139b37(0xdc),_0x1ed55d=_0x139b37(0xd4)+_0x3ad329+_0x139b37(0xf7)+_0x208c16):(_0x38a596=_0x139b37(0x10a),_0x1ed55d=_0x3ad329),[{'role':_0x139b37(0xe6),'content':_0x38a596},{'role':_0x139b37(0xf4),'content':_0x1ed55d}];}async[_0x1eb12d(0xd2)](_0x29863,_0x1930fd){const _0x436e2a=_0x1eb12d,_0x41f9dd=_0x29863[_0x436e2a(0xf5)][_0x436e2a(0xf8)](),_0x4c79f6=new TextDecoder();let _0x4154ec='',_0x2e9660='',_0x3d6d46='',_0x551f66=!0x1;for(;!_0x551f66;){const {done:_0x1fb3c6,value:_0x9b65e6}=await _0x41f9dd[_0x436e2a(0xc3)](),_0x230da7=_0x4154ec+_0x4c79f6[_0x436e2a(0xc9)](_0x9b65e6);let _0x2e586d='';_0x551f66=_0x1fb3c6;try{_0x2e586d=this[_0x436e2a(0xfe)](_0x230da7),_0x4154ec='';}catch(_0x22bfeb){_0x4154ec=_0x230da7;continue;}_0x2e9660+=_0x2e586d,!_0x551f66&&this[_0x436e2a(0xec)](_0x2e9660)||_0x2e9660&&(_0x3d6d46+=_0x2e9660,_0x2e9660='',_0x1930fd(_0x3d6d46));}return Promise[_0x436e2a(0xef)]();}async[_0x1eb12d(0xf0)](_0x403a61,_0x4926ba){const _0x83bf22=_0x1eb12d;return _0x4926ba((await _0x403a61[_0x83bf22(0xe7)]())[_0x83bf22(0xcb)][0x0][_0x83bf22(0xe2)][_0x83bf22(0x100)]),Promise[_0x83bf22(0xef)]();}[_0x1eb12d(0xec)](_0x5bf2b2){const _0xcca6e2=_0x1eb12d,_0x2c711d=_0x5bf2b2[_0xcca6e2(0xe1)]('<')[_0xcca6e2(0xf1)]!==_0x5bf2b2[_0xcca6e2(0xe1)]('>')[_0xcca6e2(0xf1)],_0x22f872=_0x5bf2b2[_0xcca6e2(0xf1)]<0x1e;return _0x2c711d&&_0x22f872;}[_0x1eb12d(0xfe)](_0x4d8f7e){const _0x6c25ea=_0x1eb12d;return _0x4d8f7e[_0x6c25ea(0xe1)](/\n(?![^{]*\})/g)[_0x6c25ea(0xeb)](_0x463036=>_0x463036[_0x6c25ea(0xfd)](_0x6c25ea(0xd7),''))[_0x6c25ea(0x103)](_0x46aa04=>_0x46aa04&&_0x46aa04[_0x6c25ea(0xf1)]>0x0&&_0x6c25ea(0xdd)!==_0x46aa04)[_0x6c25ea(0xeb)](_0x4de073=>{const _0x4beeab=_0x6c25ea,{choices:_0x1c6a9b}=JSON[_0x4beeab(0xca)](_0x4de073);if(_0x1c6a9b[0x0]&&_0x1c6a9b[0x0][_0x4beeab(0xf2)]&&_0x1c6a9b[0x0][_0x4beeab(0xf2)][_0x4beeab(0x100)])return _0x1c6a9b[0x0][_0x4beeab(0xf2)][_0x4beeab(0x100)];})[_0x6c25ea(0x103)](_0x56b35c=>_0x56b35c)[_0x6c25ea(0xfa)]('');}}