@ckeditor/ckeditor5-ai 41.4.1 → 42.0.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 (190) hide show
  1. package/README.md +6 -0
  2. package/build/ai.js +1 -1
  3. package/dist/index.js +2 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/bg.js +1 -1
  9. package/dist/translations/bg.umd.js +1 -1
  10. package/dist/translations/bn.js +1 -1
  11. package/dist/translations/bn.umd.js +1 -1
  12. package/dist/translations/bs.js +1 -1
  13. package/dist/translations/bs.umd.js +1 -1
  14. package/dist/translations/ca.js +1 -1
  15. package/dist/translations/ca.umd.js +1 -1
  16. package/dist/translations/cs.js +1 -1
  17. package/dist/translations/cs.umd.js +1 -1
  18. package/dist/translations/da.js +1 -1
  19. package/dist/translations/da.umd.js +1 -1
  20. package/dist/translations/de-ch.js +1 -1
  21. package/dist/translations/de-ch.umd.js +1 -1
  22. package/dist/translations/de.js +1 -1
  23. package/dist/translations/de.umd.js +1 -1
  24. package/dist/translations/el.js +1 -1
  25. package/dist/translations/el.umd.js +1 -1
  26. package/dist/translations/en-au.js +1 -1
  27. package/dist/translations/en-au.umd.js +1 -1
  28. package/dist/translations/en.umd.js +1 -1
  29. package/dist/translations/es-co.js +1 -1
  30. package/dist/translations/es-co.umd.js +1 -1
  31. package/dist/translations/es.js +1 -1
  32. package/dist/translations/es.umd.js +1 -1
  33. package/dist/translations/et.js +1 -1
  34. package/dist/translations/et.umd.js +1 -1
  35. package/dist/translations/fa.js +1 -1
  36. package/dist/translations/fa.umd.js +1 -1
  37. package/dist/translations/fi.js +1 -1
  38. package/dist/translations/fi.umd.js +1 -1
  39. package/dist/translations/fr.js +1 -1
  40. package/dist/translations/fr.umd.js +1 -1
  41. package/dist/translations/gl.js +1 -1
  42. package/dist/translations/gl.umd.js +1 -1
  43. package/dist/translations/he.js +1 -1
  44. package/dist/translations/he.umd.js +1 -1
  45. package/dist/translations/hi.js +1 -1
  46. package/dist/translations/hi.umd.js +1 -1
  47. package/dist/translations/hr.js +1 -1
  48. package/dist/translations/hr.umd.js +1 -1
  49. package/dist/translations/hu.js +1 -1
  50. package/dist/translations/hu.umd.js +1 -1
  51. package/dist/translations/id.js +1 -1
  52. package/dist/translations/id.umd.js +1 -1
  53. package/dist/translations/it.js +1 -1
  54. package/dist/translations/it.umd.js +1 -1
  55. package/dist/translations/ja.js +1 -1
  56. package/dist/translations/ja.umd.js +1 -1
  57. package/dist/translations/jv.js +1 -1
  58. package/dist/translations/jv.umd.js +1 -1
  59. package/dist/translations/ko.js +1 -1
  60. package/dist/translations/ko.umd.js +1 -1
  61. package/dist/translations/lt.js +1 -1
  62. package/dist/translations/lt.umd.js +1 -1
  63. package/dist/translations/lv.js +1 -1
  64. package/dist/translations/lv.umd.js +1 -1
  65. package/dist/translations/ms.js +1 -1
  66. package/dist/translations/ms.umd.js +1 -1
  67. package/dist/translations/nl.js +1 -1
  68. package/dist/translations/nl.umd.js +1 -1
  69. package/dist/translations/no.js +1 -1
  70. package/dist/translations/no.umd.js +1 -1
  71. package/dist/translations/pl.js +1 -1
  72. package/dist/translations/pl.umd.js +1 -1
  73. package/dist/translations/pt-br.js +1 -1
  74. package/dist/translations/pt-br.umd.js +1 -1
  75. package/dist/translations/pt.js +1 -1
  76. package/dist/translations/pt.umd.js +1 -1
  77. package/dist/translations/ro.js +1 -1
  78. package/dist/translations/ro.umd.js +1 -1
  79. package/dist/translations/ru.js +1 -1
  80. package/dist/translations/ru.umd.js +1 -1
  81. package/dist/translations/sk.js +1 -1
  82. package/dist/translations/sk.umd.js +1 -1
  83. package/dist/translations/sr-latn.js +1 -1
  84. package/dist/translations/sr-latn.umd.js +1 -1
  85. package/dist/translations/sr.js +1 -1
  86. package/dist/translations/sr.umd.js +1 -1
  87. package/dist/translations/sv.js +1 -1
  88. package/dist/translations/sv.umd.js +1 -1
  89. package/dist/translations/th.js +1 -1
  90. package/dist/translations/th.umd.js +1 -1
  91. package/dist/translations/ti.js +1 -1
  92. package/dist/translations/ti.umd.js +1 -1
  93. package/dist/translations/tk.js +1 -1
  94. package/dist/translations/tk.umd.js +1 -1
  95. package/dist/translations/tr.js +1 -1
  96. package/dist/translations/tr.umd.js +1 -1
  97. package/dist/translations/ug.js +1 -1
  98. package/dist/translations/ug.umd.js +1 -1
  99. package/dist/translations/uk.js +1 -1
  100. package/dist/translations/uk.umd.js +1 -1
  101. package/dist/translations/ur.js +1 -1
  102. package/dist/translations/ur.umd.js +1 -1
  103. package/dist/translations/uz.js +1 -1
  104. package/dist/translations/uz.umd.js +1 -1
  105. package/dist/translations/vi.js +1 -1
  106. package/dist/translations/vi.umd.js +1 -1
  107. package/dist/translations/zh-cn.js +1 -1
  108. package/dist/translations/zh-cn.umd.js +1 -1
  109. package/dist/translations/zh.js +1 -1
  110. package/dist/translations/zh.umd.js +1 -1
  111. package/dist/types/ui/aiassistantcontroller.d.ts +1 -1
  112. package/lang/contexts.json +1 -1
  113. package/lang/translations/af.po +1 -1
  114. package/lang/translations/ar.po +1 -1
  115. package/lang/translations/bg.po +1 -1
  116. package/lang/translations/bn.po +1 -1
  117. package/lang/translations/bs.po +1 -1
  118. package/lang/translations/ca.po +1 -1
  119. package/lang/translations/cs.po +1 -1
  120. package/lang/translations/da.po +1 -1
  121. package/lang/translations/de-ch.po +1 -1
  122. package/lang/translations/de.po +1 -1
  123. package/lang/translations/el.po +1 -1
  124. package/lang/translations/en-au.po +1 -1
  125. package/lang/translations/en.po +1 -1
  126. package/lang/translations/es-co.po +1 -1
  127. package/lang/translations/es.po +1 -1
  128. package/lang/translations/et.po +1 -1
  129. package/lang/translations/fa.po +1 -1
  130. package/lang/translations/fi.po +1 -1
  131. package/lang/translations/fr.po +1 -1
  132. package/lang/translations/gl.po +1 -1
  133. package/lang/translations/he.po +1 -1
  134. package/lang/translations/hi.po +1 -1
  135. package/lang/translations/hr.po +1 -1
  136. package/lang/translations/hu.po +1 -1
  137. package/lang/translations/id.po +1 -1
  138. package/lang/translations/it.po +1 -1
  139. package/lang/translations/ja.po +1 -1
  140. package/lang/translations/jv.po +1 -1
  141. package/lang/translations/ko.po +1 -1
  142. package/lang/translations/lt.po +1 -1
  143. package/lang/translations/lv.po +1 -1
  144. package/lang/translations/ms.po +1 -1
  145. package/lang/translations/nl.po +1 -1
  146. package/lang/translations/no.po +1 -1
  147. package/lang/translations/pl.po +1 -1
  148. package/lang/translations/pt-br.po +1 -1
  149. package/lang/translations/pt.po +1 -1
  150. package/lang/translations/ro.po +1 -1
  151. package/lang/translations/ru.po +1 -1
  152. package/lang/translations/sk.po +1 -1
  153. package/lang/translations/sr-latn.po +1 -1
  154. package/lang/translations/sr.po +1 -1
  155. package/lang/translations/sv.po +1 -1
  156. package/lang/translations/th.po +1 -1
  157. package/lang/translations/ti.po +1 -1
  158. package/lang/translations/tk.po +1 -1
  159. package/lang/translations/tr.po +1 -1
  160. package/lang/translations/ug.po +1 -1
  161. package/lang/translations/uk.po +1 -1
  162. package/lang/translations/ur.po +1 -1
  163. package/lang/translations/uz.po +1 -1
  164. package/lang/translations/vi.po +1 -1
  165. package/lang/translations/zh-cn.po +1 -1
  166. package/lang/translations/zh.po +1 -1
  167. package/package.json +4 -4
  168. package/src/adapters/aiadapter.js +1 -1
  169. package/src/adapters/aitextadapter.js +1 -1
  170. package/src/adapters/awstextadapter.js +1 -1
  171. package/src/adapters/openaitextadapter.js +1 -1
  172. package/src/aiassistant.js +1 -1
  173. package/src/aiassistantediting.js +1 -1
  174. package/src/aiassistantui.js +1 -1
  175. package/src/index.js +1 -1
  176. package/src/ui/aiassistantcontroller.d.ts +1 -1
  177. package/src/ui/aiassistantcontroller.js +2 -1
  178. package/src/ui/dropdown/aicommandslistview.js +1 -1
  179. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  180. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  181. package/src/ui/form/aiformcontentarea.js +1 -1
  182. package/src/ui/form/aiformerrorview.js +1 -1
  183. package/src/ui/form/aiformpromptview.js +1 -1
  184. package/src/ui/form/aiformtoolbarview.js +1 -1
  185. package/src/ui/form/aiformview.js +1 -1
  186. package/src/ui/form/aihistorylistitemview.js +1 -1
  187. package/src/ui/form/aihistorylistview.js +1 -1
  188. package/src/ui/form/prompthistory.js +1 -1
  189. package/src/ui/showaiassistantcommand.js +1 -1
  190. package/src/utils/common-translations.js +1 -1
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "Tehisintellekt kirjutab"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Loodud sisu: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "Tekoäly kirjoittaa"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Luotu sisältö: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "L'IA est en train d'écrire"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Contenu généré : %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI כותב"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "התוכן שנוצר: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI लिख रहा है"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "बनाया गया कंटेंट: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "Az AI ír"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Generált tartalom: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI sedang menulis"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "konten yang dihasilkan: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "L'intelligenza artificiale sta scrivendo"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Contenuti generati: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AIが執筆中"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "生成されたコンテンツ:%0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI가 작성 중입니다."
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "생성된 콘텐츠: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "Dirbtinis intelektas rašo"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Sukurtas turinys: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "MI raksta"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Ģenerētais saturs: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI sedang menulis"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Kandungan yang dijana: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI is aan het schrijven"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Gegenereerde content: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "KI skriver"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Generert innhold: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "Sztuczna inteligencja tworzy treść"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Wygenerowana treść: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "A IA está escrevendo"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Conteúdo gerado: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "A IA está a escrever"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Conteúdo gerado: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "Inteligența Artificială scrie"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Conținut generat: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "ИИ пишет"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Сгенерированный контент: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI píše"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Vygenerovaný obsah: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI piše"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Generisani sadržaj: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI skriver"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Genererat innehåll: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI กำลังเขียน"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "เนื้อหาที่สร้างขึ้น: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "Yapay zekâ yazıyor"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Oluşturulan içerik: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "ШІ пише"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Згенерований контент: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr ""
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr ""
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI đang viết"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "Nội dung đã tạo: %0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "人工智能正在写作"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "生成的内容:%0"
183
183
 
@@ -177,7 +177,7 @@ msgctxt "Aria status message indicating that the AI is generating content. Examp
177
177
  msgid "AI is writing"
178
178
  msgstr "AI 撰寫中"
179
179
 
180
- msgctxt "Aria status message indicating that the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
180
+ msgctxt "Aria status message indicating the AI generated content. Example: 'Generated content: [text generated by the AI model]'."
181
181
  msgid "Generated content: %0"
182
182
  msgstr "生成的內容:%0"
183
183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ai",
3
- "version": "41.4.1",
3
+ "version": "42.0.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/)",
@@ -23,10 +23,10 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "ckeditor5": "41.4.1",
27
- "ckeditor5-collaboration": "41.4.1",
26
+ "ckeditor5": "42.0.0-alpha.0",
27
+ "ckeditor5-collaboration": "42.0.0-alpha.0",
28
28
  "@aws-sdk/client-bedrock-runtime": "3.470.0",
29
- "@ckeditor/ckeditor5-ui": "41.4.1",
29
+ "@ckeditor/ckeditor5-ui": "42.0.0-alpha.0",
30
30
  "lodash-es": "4.17.21"
31
31
  },
32
32
  "type": "module",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2ffa2e=_0x25ed;(function(_0x1928a3,_0x278cef){var _0x438622=_0x25ed,_0x404c72=_0x1928a3();while(!![]){try{var _0x26ecd7=parseInt(_0x438622(0x159))/0x1*(-parseInt(_0x438622(0x161))/0x2)+-parseInt(_0x438622(0x169))/0x3*(parseInt(_0x438622(0x15a))/0x4)+-parseInt(_0x438622(0x162))/0x5*(-parseInt(_0x438622(0x167))/0x6)+parseInt(_0x438622(0x157))/0x7*(-parseInt(_0x438622(0x15c))/0x8)+parseInt(_0x438622(0x160))/0x9+-parseInt(_0x438622(0x165))/0xa*(parseInt(_0x438622(0x166))/0xb)+parseInt(_0x438622(0x163))/0xc;if(_0x26ecd7===_0x278cef)break;else _0x404c72['push'](_0x404c72['shift']());}catch(_0x5473bb){_0x404c72['push'](_0x404c72['shift']());}}}(_0x57b4,0x29c43));import{Plugin as _0x156124}from'ckeditor5/src/core.js';import{CKEditorError as _0x24e166}from'ckeditor5/src/utils.js';export default class y extends _0x156124{static get[_0x2ffa2e(0x15e)](){var _0x5c62b0=_0x2ffa2e;return _0x5c62b0(0x15d);}[_0x2ffa2e(0x15f)](){var _0x985810=_0x2ffa2e;if(!this[_0x985810(0x158)])throw new _0x24e166(_0x985810(0x164),null);}}function _0x57b4(){var _0x157d26=['699630qkaVuo','44jPMwYS','386730fSEtUU','name','6633cSaBkn','171409OtHWsC','textAdapter','2nMnodo','572vSzOJC','AIRequestError','48dlImMa','AIAdapter','pluginName','afterInit','866619hwIOhd','287530uFpzIr','20SDIqZX','10169292yQrGup','aiadapter-text-adapter-not-set'];_0x57b4=function(){return _0x157d26;};return _0x57b4();}function _0x25ed(_0x12cbc7,_0x3a2789){var _0x57b441=_0x57b4();return _0x25ed=function(_0x25ed31,_0x53f919){_0x25ed31=_0x25ed31-0x157;var _0x368458=_0x57b441[_0x25ed31];return _0x368458;},_0x25ed(_0x12cbc7,_0x3a2789);}export class AIRequestError extends Error{constructor(_0x39e865){var _0x3f103d=_0x2ffa2e;super(_0x39e865),this[_0x3f103d(0x168)]=_0x3f103d(0x15b);}}
23
+ function _0x1362(_0x4a21c9,_0x2df464){var _0x22bbeb=_0x22bb();return _0x1362=function(_0x136297,_0x14d882){_0x136297=_0x136297-0x110;var _0x5a8f96=_0x22bbeb[_0x136297];return _0x5a8f96;},_0x1362(_0x4a21c9,_0x2df464);}var _0x4e311d=_0x1362;(function(_0x397df9,_0x4a5ecf){var _0x32a0b8=_0x1362,_0x58ea7f=_0x397df9();while(!![]){try{var _0xed8318=parseInt(_0x32a0b8(0x11f))/0x1*(parseInt(_0x32a0b8(0x121))/0x2)+parseInt(_0x32a0b8(0x11e))/0x3+parseInt(_0x32a0b8(0x11c))/0x4+-parseInt(_0x32a0b8(0x11a))/0x5*(-parseInt(_0x32a0b8(0x120))/0x6)+-parseInt(_0x32a0b8(0x115))/0x7+-parseInt(_0x32a0b8(0x11d))/0x8*(parseInt(_0x32a0b8(0x11b))/0x9)+parseInt(_0x32a0b8(0x118))/0xa*(-parseInt(_0x32a0b8(0x114))/0xb);if(_0xed8318===_0x4a5ecf)break;else _0x58ea7f['push'](_0x58ea7f['shift']());}catch(_0x3293f1){_0x58ea7f['push'](_0x58ea7f['shift']());}}}(_0x22bb,0xcd5eb));import{Plugin as _0x527b41}from'ckeditor5/src/core.js';import{CKEditorError as _0x59ec3b}from'ckeditor5/src/utils.js';export default class y extends _0x527b41{static get[_0x4e311d(0x112)](){var _0x2dd0e0=_0x4e311d;return _0x2dd0e0(0x116);}[_0x4e311d(0x113)](){var _0x2a41c5=_0x4e311d;if(!this[_0x2a41c5(0x110)])throw new _0x59ec3b(_0x2a41c5(0x117),null);}}function _0x22bb(){var _0x20a9a4=['2666468SpABad','AIAdapter','aiadapter-text-adapter-not-set','270EcwBtk','AIRequestError','5dGuTbP','9poFNey','4953144OFyepx','7906744FseCNB','542064pjIZCo','8869PshnEG','9776058npsOzM','288gzhXdO','textAdapter','name','pluginName','afterInit','861663rkNapG'];_0x22bb=function(){return _0x20a9a4;};return _0x22bb();}export class AIRequestError extends Error{constructor(_0x16bcf6){var _0x2c89b9=_0x4e311d;super(_0x16bcf6),this[_0x2c89b9(0x111)]=_0x2c89b9(0x119);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4363cb=_0x7093;(function(_0x58e612,_0x4403b8){const _0x1c101e=_0x7093,_0x20cbc9=_0x58e612();while(!![]){try{const _0x15625d=parseInt(_0x1c101e(0x105))/0x1+parseInt(_0x1c101e(0x113))/0x2*(parseInt(_0x1c101e(0xf5))/0x3)+-parseInt(_0x1c101e(0x107))/0x4*(parseInt(_0x1c101e(0x10f))/0x5)+parseInt(_0x1c101e(0x102))/0x6*(-parseInt(_0x1c101e(0x10c))/0x7)+parseInt(_0x1c101e(0xf7))/0x8*(-parseInt(_0x1c101e(0xf9))/0x9)+parseInt(_0x1c101e(0xf8))/0xa*(parseInt(_0x1c101e(0xfc))/0xb)+-parseInt(_0x1c101e(0xf3))/0xc*(-parseInt(_0x1c101e(0xf0))/0xd);if(_0x15625d===_0x4403b8)break;else _0x20cbc9['push'](_0x20cbc9['shift']());}catch(_0x4d3a16){_0x20cbc9['push'](_0x20cbc9['shift']());}}}(_0x4e44,0xd0b5a));function _0x4e44(){const _0x1c97c8=['aitextadapter-send-request-failed','11420QWmCrU','plugins','AI_ERROR_GET_PARAMETERS','name','catch','5490877WjJvbm','editor','assign','1110MtkQOV','object','get','makeRequest','8AmhAQD','AI_ERROR_GET_HEADERS','error','abort','_prepareRequestParameters','143CUmQdH','textAdapter','application/json','1722900VKuQKZ','signal','1131663YWvzQa','init','56dkRbbO','140CMnCJQ','1759554ztpGKg','sendRequest','requires','273108fZxNZe','abortController','_prepareRequestHeaders','reject','locale','AbortError','6XhBPzm','resolve','aborted','205836nbEZWb'];_0x4e44=function(){return _0x1c97c8;};return _0x4e44();}import{Plugin as _0x1f2981}from'ckeditor5/src/core.js';function _0x7093(_0x164d32,_0x1f9bab){const _0x4e44da=_0x4e44();return _0x7093=function(_0x70933c,_0x593d00){_0x70933c=_0x70933c-0xed;let _0x125808=_0x4e44da[_0x70933c];return _0x125808;},_0x7093(_0x164d32,_0x1f9bab);}import{CKEditorError as _0x9c71ff}from'ckeditor5/src/utils.js';import{default as _0x3f73d1,AIRequestError as _0x35dcba}from'./aiadapter.js';import{getTranslation as _0x52123e}from'../utils/common-translations.js';export default class P extends _0x1f2981{static get[_0x4363cb(0xfb)](){return[_0x3f73d1];}constructor(_0xba3e86){const _0x47adef=_0x4363cb;super(_0xba3e86),this[_0x47adef(0xfd)]=new AbortController();}[_0x4363cb(0xf6)](){const _0x419a3f=_0x4363cb;this[_0x419a3f(0x10d)][_0x419a3f(0x108)][_0x419a3f(0x111)](_0x3f73d1)[_0x419a3f(0xf1)]=this;}[_0x4363cb(0xee)](){const _0x4c3474=_0x4363cb;this[_0x4c3474(0xfd)][_0x4c3474(0xf4)][_0x4c3474(0x104)]||(this[_0x4c3474(0xfd)][_0x4c3474(0xee)](),this[_0x4c3474(0xfd)]=new AbortController());}async[_0x4363cb(0x112)](_0x711748){const _0x1d2e3a=_0x4363cb;return this[_0x1d2e3a(0xfa)](_0x711748)[_0x1d2e3a(0x10b)](_0x3291f5=>{const _0x32019b=_0x1d2e3a;if(_0x3291f5 instanceof _0x35dcba)return Promise[_0x32019b(0xff)](_0x3291f5);if(_0x32019b(0x101)==_0x3291f5[_0x32019b(0x10a)])return Promise[_0x32019b(0x103)]();throw console[_0x32019b(0xed)](_0x3291f5),new _0x9c71ff(_0x32019b(0x106),null);});}async[_0x4363cb(0xfe)](_0x58c3b0,_0x516e79){const _0x3b88d1=_0x4363cb,_0xdc629f=this[_0x3b88d1(0x10d)][_0x3b88d1(0x100)],_0x2e83e2={'Content-Type':_0x3b88d1(0xf2)};if(_0x3b88d1(0x110)==typeof _0x58c3b0)Object[_0x3b88d1(0x10e)](_0x2e83e2,_0x58c3b0);else{if(_0x58c3b0)try{const _0x2b885d=await _0x58c3b0(_0x516e79);Object[_0x3b88d1(0x10e)](_0x2e83e2,_0x2b885d);}catch(_0xf868e9){return Promise[_0x3b88d1(0xff)](new _0x35dcba(_0x52123e(_0xdc629f,_0x3b88d1(0x114))));}}return _0x2e83e2;}async[_0x4363cb(0xef)](_0x3b84de,_0x5f556e){const _0x14ad7d=_0x4363cb,_0x4b65ee=this[_0x14ad7d(0x10d)][_0x14ad7d(0x100)];if(_0x14ad7d(0x110)==typeof _0x3b84de)return _0x3b84de;try{return await _0x3b84de(_0x5f556e);}catch(_0x1b8a57){return Promise[_0x14ad7d(0xff)](new _0x35dcba(_0x52123e(_0x4b65ee,_0x14ad7d(0x109))));}}}
23
+ function _0x48db(){const _0x48b5cb=['sendRequest','makeRequest','editor','303524jFLdzg','object','1520244etfNQk','343062Dvrfbo','8eSnOVT','textAdapter','init','_prepareRequestHeaders','679112ffSHSw','153rdlVTe','resolve','AI_ERROR_GET_HEADERS','reject','abort','plugins','_prepareRequestParameters','get','aborted','1546880xSKSfb','aitextadapter-send-request-failed','assign','AI_ERROR_GET_PARAMETERS','3938375KTFMrz','2687139CvRuHp','locale','requires','catch','name','abortController','application/json','AbortError','error','signal'];_0x48db=function(){return _0x48b5cb;};return _0x48db();}const _0x37be83=_0x1cc4;(function(_0x323617,_0x1d067d){const _0x3aad24=_0x1cc4,_0x411ce6=_0x323617();while(!![]){try{const _0x20b6ff=-parseInt(_0x3aad24(0x174))/0x1*(-parseInt(_0x3aad24(0x173))/0x2)+parseInt(_0x3aad24(0x163))/0x3+-parseInt(_0x3aad24(0x170))/0x4+parseInt(_0x3aad24(0x182))/0x5+parseInt(_0x3aad24(0x172))/0x6+-parseInt(_0x3aad24(0x162))/0x7+-parseInt(_0x3aad24(0x178))/0x8*(parseInt(_0x3aad24(0x179))/0x9);if(_0x20b6ff===_0x1d067d)break;else _0x411ce6['push'](_0x411ce6['shift']());}catch(_0x3869fc){_0x411ce6['push'](_0x411ce6['shift']());}}}(_0x48db,0xb6e24));import{Plugin as _0x491d9e}from'ckeditor5/src/core.js';import{CKEditorError as _0x44c3f6}from'ckeditor5/src/utils.js';import{default as _0x5c60c3,AIRequestError as _0x20c956}from'./aiadapter.js';function _0x1cc4(_0x43ed50,_0x374de3){const _0x48dbdc=_0x48db();return _0x1cc4=function(_0x1cc4db,_0x4aa74b){_0x1cc4db=_0x1cc4db-0x162;let _0x280fd5=_0x48dbdc[_0x1cc4db];return _0x280fd5;},_0x1cc4(_0x43ed50,_0x374de3);}import{getTranslation as _0x13bc4e}from'../utils/common-translations.js';export default class P extends _0x491d9e{static get[_0x37be83(0x165)](){return[_0x5c60c3];}constructor(_0x5027f0){const _0x51fdc8=_0x37be83;super(_0x5027f0),this[_0x51fdc8(0x168)]=new AbortController();}[_0x37be83(0x176)](){const _0x128ed8=_0x37be83;this[_0x128ed8(0x16f)][_0x128ed8(0x17e)][_0x128ed8(0x180)](_0x5c60c3)[_0x128ed8(0x175)]=this;}[_0x37be83(0x17d)](){const _0x2b91d9=_0x37be83;this[_0x2b91d9(0x168)][_0x2b91d9(0x16c)][_0x2b91d9(0x181)]||(this[_0x2b91d9(0x168)][_0x2b91d9(0x17d)](),this[_0x2b91d9(0x168)]=new AbortController());}async[_0x37be83(0x16e)](_0x2e6a35){const _0x14611b=_0x37be83;return this[_0x14611b(0x16d)](_0x2e6a35)[_0x14611b(0x166)](_0x10dae8=>{const _0x4716c4=_0x14611b;if(_0x10dae8 instanceof _0x20c956)return Promise[_0x4716c4(0x17c)](_0x10dae8);if(_0x4716c4(0x16a)==_0x10dae8[_0x4716c4(0x167)])return Promise[_0x4716c4(0x17a)]();throw console[_0x4716c4(0x16b)](_0x10dae8),new _0x44c3f6(_0x4716c4(0x183),null);});}async[_0x37be83(0x177)](_0x27f316,_0x4d4ff1){const _0x2a7622=_0x37be83,_0x2f770f=this[_0x2a7622(0x16f)][_0x2a7622(0x164)],_0x4303bb={'Content-Type':_0x2a7622(0x169)};if(_0x2a7622(0x171)==typeof _0x27f316)Object[_0x2a7622(0x184)](_0x4303bb,_0x27f316);else{if(_0x27f316)try{const _0x2fc3d9=await _0x27f316(_0x4d4ff1);Object[_0x2a7622(0x184)](_0x4303bb,_0x2fc3d9);}catch(_0x3284fc){return Promise[_0x2a7622(0x17c)](new _0x20c956(_0x13bc4e(_0x2f770f,_0x2a7622(0x17b))));}}return _0x4303bb;}async[_0x37be83(0x17f)](_0xd27ea9,_0x20ef62){const _0x588f79=_0x37be83,_0xcaeb45=this[_0x588f79(0x16f)][_0x588f79(0x164)];if(_0x588f79(0x171)==typeof _0xd27ea9)return _0xd27ea9;try{return await _0xd27ea9(_0x20ef62);}catch(_0x2119b7){return Promise[_0x588f79(0x17c)](new _0x20c956(_0x13bc4e(_0xcaeb45,_0x588f79(0x185))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x58dc(_0x52340a,_0x53058c){const _0x395a72=_0x395a();return _0x58dc=function(_0x58dc9d,_0x277247){_0x58dc9d=_0x58dc9d-0x1b7;let _0x4aed47=_0x395a72[_0x58dc9d];return _0x4aed47;},_0x58dc(_0x52340a,_0x53058c);}const _0x495761=_0x58dc;(function(_0x47569d,_0x456f6c){const _0x23f024=_0x58dc,_0xa31c7d=_0x47569d();while(!![]){try{const _0xff8d67=parseInt(_0x23f024(0x1fe))/0x1+-parseInt(_0x23f024(0x1d3))/0x2*(parseInt(_0x23f024(0x1f4))/0x3)+parseInt(_0x23f024(0x1df))/0x4*(-parseInt(_0x23f024(0x1ed))/0x5)+-parseInt(_0x23f024(0x1fd))/0x6+-parseInt(_0x23f024(0x1c7))/0x7+parseInt(_0x23f024(0x1d5))/0x8*(parseInt(_0x23f024(0x1f3))/0x9)+parseInt(_0x23f024(0x1f7))/0xa*(parseInt(_0x23f024(0x1e4))/0xb);if(_0xff8d67===_0x456f6c)break;else _0xa31c7d['push'](_0xa31c7d['shift']());}catch(_0x1d508){_0xa31c7d['push'](_0xa31c7d['shift']());}}}(_0x395a,0x8229e));function _0x395a(){const _0x18cb7e=['signal','generations','getReader','POST','bedrock-2023-05-31','81ehHxeY','9LUJHWP','filter','_readAsyncIterableResponse','25244310UoVbPG','ai.aws.apiUrl','ai21.j2','ai.aws.requestParameters','Human:\x0a','ai.aws.requestHeaders','4625808Iwlwzb','208329WJStfn','json','define','sendRequest','meta.llama','anthropic.claude','data','chunk','_bedrockClientConfig','_processProxyRequest','getModelFamily','<<SYS>>\x0a','Instruction:\x0a','AI_ERROR_UNSUPPORTED_MODEL','body','AWSTextAdapter','utf8','_requestHeaders','resolve','stringify','anthropic.claude-v2','editor','join','read','application/json','send','generation','_requestParameters','config','4693899hLIfUe','_prepareRequestHeaders','bytes','ai.aws.bedrockClientConfig','_apiUrl','abortController','length','get','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.','from','pluginName','\x0a\x0aAssistant:','285392BpDRBX','preparePrompt','496016kGeXEs','completions','locale','map','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','\x0a[/INST]','\x0a<</SYS>>\x0a[INST]\x0a','utf-8','_readStaticResponse','decode','4468QDhADh','_prepareRequestParameters','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.','split','cohere.command','11UXtlLh','text','completion','parse','test','_getGeneratedText','_processAWSRequest','_readStreamableResponse','toString','3975zvDjxE'];_0x395a=function(){return _0x18cb7e;};return _0x395a();}import{default as _0x1a083d}from'./aitextadapter.js';import{AIRequestError as _0x2f0df4}from'./aiadapter.js';import{BedrockRuntimeClient as _0x4ac71a,InvokeModelCommand as _0x4b2f1b,InvokeModelWithResponseStreamCommand as _0x3f4aae}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0xc731c6}from'../utils/common-translations.js';export default class J extends _0x1a083d{static get[_0x495761(0x1d1)](){const _0x159eee=_0x495761;return _0x159eee(0x1b9);}constructor(_0x5a235a){const _0x138863=_0x495761;super(_0x5a235a),_0x5a235a[_0x138863(0x1c6)][_0x138863(0x1ce)](_0x138863(0x1fa))||_0x5a235a[_0x138863(0x1c6)][_0x138863(0x200)](_0x138863(0x1fa),{'model':_0x138863(0x1be),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x138863(0x1f2),'stream':!0x0}),this[_0x138863(0x1cb)]=_0x5a235a[_0x138863(0x1c6)][_0x138863(0x1ce)](_0x138863(0x1f8)),this[_0x138863(0x206)]=_0x5a235a[_0x138863(0x1c6)][_0x138863(0x1ce)](_0x138863(0x1ca)),this[_0x138863(0x1bb)]=_0x5a235a[_0x138863(0x1c6)][_0x138863(0x1ce)](_0x138863(0x1fc)),this[_0x138863(0x1c5)]=_0x5a235a[_0x138863(0x1c6)][_0x138863(0x1ce)](_0x138863(0x1fa));}async[_0x495761(0x201)]({query:_0xdd3f14,context:_0x2a2bb1,onData:_0x1c50b9,actionId:_0x2b846e}){const _0x366d87=_0x495761,{model:_0x5ba1a6,stream:_0x2c7498,..._0x3ece6c}=await this[_0x366d87(0x1e0)](this[_0x366d87(0x1c5)],_0x2b846e),_0x418b37={'prompt':await this[_0x366d87(0x1d4)](_0xdd3f14,_0x2a2bb1,_0x5ba1a6,_0x2b846e),..._0x3ece6c};this[_0x366d87(0x1cb)]?await this[_0x366d87(0x207)](_0x418b37,_0x5ba1a6,_0x2c7498,_0x1c50b9,_0x2b846e):await this[_0x366d87(0x1ea)](_0x418b37,_0x5ba1a6,_0x2c7498,_0x1c50b9);}async[_0x495761(0x1d4)](_0x234000,_0x35a788,_0x1a465b,_0x4a5cdf){const _0x46d32d=_0x495761;let _0x3cfb92,_0x205e78;return _0x35a788?(_0x3cfb92=_0x46d32d(0x1e1),_0x205e78=_0x46d32d(0x20a)+_0x234000+_0x46d32d(0x1d9)+_0x35a788):(_0x3cfb92=_0x46d32d(0x1cf),_0x205e78=_0x234000),_0x46d32d(0x202)==this[_0x46d32d(0x208)](_0x1a465b)?_0x46d32d(0x209)+_0x3cfb92+_0x46d32d(0x1db)+_0x205e78+_0x46d32d(0x1da):_0x46d32d(0x1fb)+_0x3cfb92+'\x0a'+_0x205e78+_0x46d32d(0x1d2);}[_0x495761(0x208)](_0x2d2409){const _0x4cd8de=_0x495761;if(/^anthropic\.claude/[_0x4cd8de(0x1e8)](_0x2d2409))return _0x4cd8de(0x203);if(/^ai21\.j2/[_0x4cd8de(0x1e8)](_0x2d2409))return _0x4cd8de(0x1f9);if(/^cohere\.command/[_0x4cd8de(0x1e8)](_0x2d2409))return _0x4cd8de(0x1e3);if(/^meta\.llama/[_0x4cd8de(0x1e8)](_0x2d2409))return _0x4cd8de(0x202);throw new _0x2f0df4(_0xc731c6(this[_0x4cd8de(0x1bf)][_0x4cd8de(0x1d7)],_0x4cd8de(0x1b7),_0x2d2409));}async[_0x495761(0x207)](_0x3480b0,_0x92a062,_0x4272e9,_0x5a4a49,_0x1ea629){const _0x359dbb=_0x495761,_0x337bf9={'method':_0x359dbb(0x1f1),'headers':await this[_0x359dbb(0x1c8)](this[_0x359dbb(0x1bb)],_0x1ea629),'body':JSON[_0x359dbb(0x1bd)]({..._0x3480b0,'model':_0x92a062,'stream':_0x4272e9}),'signal':this[_0x359dbb(0x1cc)][_0x359dbb(0x1ee)]},_0x196982=await fetch(this[_0x359dbb(0x1cb)],_0x337bf9);_0x4272e9?await this[_0x359dbb(0x1eb)](_0x196982,_0x92a062,_0x5a4a49):await this[_0x359dbb(0x1dd)](_0x196982,_0x92a062,_0x5a4a49);}async[_0x495761(0x1ea)](_0x56e39c,_0x70d73f,_0x2ef95c,_0x5e6241){const _0x1db1f0=_0x495761,_0xf79a72=new _0x4ac71a(this[_0x1db1f0(0x206)]),_0x4835f4={'body':JSON[_0x1db1f0(0x1bd)](_0x56e39c),'contentType':_0x1db1f0(0x1c2),'accept':_0x1db1f0(0x1c2),'modelId':_0x70d73f};let _0x146896;if(_0x2ef95c){const _0x24d04a=new _0x3f4aae(_0x4835f4);_0x146896=await _0xf79a72[_0x1db1f0(0x1c3)](_0x24d04a,{'abortSignal':this[_0x1db1f0(0x1cc)][_0x1db1f0(0x1ee)]}),await this[_0x1db1f0(0x1f6)](_0x146896,_0x70d73f,_0x5e6241);}else{const _0x3eca68=new _0x4b2f1b(_0x4835f4);_0x146896=await _0xf79a72[_0x1db1f0(0x1c3)](_0x3eca68,{'abortSignal':this[_0x1db1f0(0x1cc)][_0x1db1f0(0x1ee)]}),await this[_0x1db1f0(0x1dd)](_0x146896,_0x70d73f,_0x5e6241);}}async[_0x495761(0x1f6)](_0x314a0c,_0x1a1cd1,_0x5e263b){const _0x2bb27a=_0x495761,_0x52a871=_0x314a0c[_0x2bb27a(0x1b8)],_0x52ed65=new TextDecoder(_0x2bb27a(0x1dc));let _0x67b133='';for await(const _0x16aafd of _0x52a871)if(_0x16aafd[_0x2bb27a(0x205)]){const _0x5e7afa=_0x52ed65[_0x2bb27a(0x1de)](_0x16aafd[_0x2bb27a(0x205)][_0x2bb27a(0x1c9)]),_0x51c070=JSON[_0x2bb27a(0x1e7)](_0x5e7afa);_0x67b133+=this[_0x2bb27a(0x1e9)](_0x51c070,_0x1a1cd1),_0x5e263b(_0x67b133);}return Promise[_0x2bb27a(0x1bc)]();}async[_0x495761(0x1eb)](_0x2a3bba,_0x34f511,_0xaef3ba){const _0x5b27a4=_0x495761,_0x104621=_0x2a3bba[_0x5b27a4(0x1b8)],_0x2f18b8=new TextDecoder(_0x5b27a4(0x1dc)),_0x555e91=_0x104621[_0x5b27a4(0x1f0)]();let _0x2ede9f='',_0x7ac190='',_0x135ceb=!0x1;for(;!_0x135ceb;){const {done:_0x3e5a70,value:_0x355f57}=await _0x555e91[_0x5b27a4(0x1c1)]();if(_0x135ceb=_0x3e5a70,_0x135ceb)break;const _0x1c629e=(_0x2ede9f+_0x2f18b8[_0x5b27a4(0x1de)](_0x355f57))[_0x5b27a4(0x1e2)]('\x0a')[_0x5b27a4(0x1d8)](_0x15b84a=>{const _0xafe3ef=_0x5b27a4;try{return _0x2ede9f='',JSON[_0xafe3ef(0x1e7)](_0x15b84a);}catch(_0x13d00e){return _0x2ede9f=_0x15b84a,null;}})[_0x5b27a4(0x1f5)](_0x23c095=>null!==_0x23c095);_0x1c629e[_0x5b27a4(0x1cd)]&&(_0x7ac190+=_0x1c629e[_0x5b27a4(0x1d8)](_0x1dadd9=>this[_0x5b27a4(0x1e9)](_0x1dadd9,_0x34f511))[_0x5b27a4(0x1c0)](''),_0xaef3ba(_0x7ac190));}return Promise[_0x5b27a4(0x1bc)]();}async[_0x495761(0x1dd)](_0x6675c,_0x476c3f,_0x465386){const _0x4f516c=_0x495761;let _0x547ee6;return _0x547ee6=_0x6675c instanceof Response?await _0x6675c[_0x4f516c(0x1ff)]():JSON[_0x4f516c(0x1e7)](Buffer[_0x4f516c(0x1d0)](_0x6675c[_0x4f516c(0x1b8)])[_0x4f516c(0x1ec)](_0x4f516c(0x1ba))),(_0x465386(this[_0x4f516c(0x1e9)](_0x547ee6,_0x476c3f)),Promise[_0x4f516c(0x1bc)]());}[_0x495761(0x1e9)](_0x301055,_0x55a8cb){const _0x2c8b4c=_0x495761;switch(this[_0x2c8b4c(0x208)](_0x55a8cb)){case _0x2c8b4c(0x203):return _0x301055[_0x2c8b4c(0x1e6)];case _0x2c8b4c(0x1f9):return _0x301055[_0x2c8b4c(0x1d6)][0x0][_0x2c8b4c(0x204)][_0x2c8b4c(0x1e5)];case _0x2c8b4c(0x1e3):return _0x301055[_0x2c8b4c(0x1ef)][0x0][_0x2c8b4c(0x1e5)];case _0x2c8b4c(0x202):return _0x301055[_0x2c8b4c(0x1c4)];}}}
23
+ const _0x48a11d=_0x3153;(function(_0x1bb0f5,_0x1ba23a){const _0x11217c=_0x3153,_0x152a88=_0x1bb0f5();while(!![]){try{const _0x993023=-parseInt(_0x11217c(0x17b))/0x1*(parseInt(_0x11217c(0x1bb))/0x2)+-parseInt(_0x11217c(0x180))/0x3+-parseInt(_0x11217c(0x185))/0x4*(-parseInt(_0x11217c(0x18e))/0x5)+parseInt(_0x11217c(0x1bc))/0x6*(parseInt(_0x11217c(0x179))/0x7)+parseInt(_0x11217c(0x173))/0x8*(-parseInt(_0x11217c(0x197))/0x9)+parseInt(_0x11217c(0x17a))/0xa+parseInt(_0x11217c(0x196))/0xb;if(_0x993023===_0x1ba23a)break;else _0x152a88['push'](_0x152a88['shift']());}catch(_0x4560e1){_0x152a88['push'](_0x152a88['shift']());}}}(_0x3880,0xa0cc0));function _0x3880(){const _0x102ffc=['join','POST','parse','editor','_processAWSRequest','<<SYS>>\x0a','generation','text','length','_prepareRequestHeaders','data','bedrock-2023-05-31','_requestParameters','ai21.j2','filter','6Rskdbo','6Pkcybi','test','ai.aws.requestHeaders','AWSTextAdapter','_apiUrl','_getGeneratedText','\x0a\x0aAssistant:','bytes','cohere.command','getModelFamily','_readAsyncIterableResponse','66592UCZaTE','stringify','split','\x0a<</SYS>>\x0a[INST]\x0a','signal','utf8','1989330pqccFW','9533090arafYO','379074YutJIs','_readStreamableResponse','anthropic.claude','locale','sendRequest','392031fGqqds','ai.aws.apiUrl','utf-8','pluginName','completion','196mWUfQO','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','resolve','map','body','decode','from','toString','_bedrockClientConfig','49255daKovZ','_processProxyRequest','preparePrompt','send','getReader','completions','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.','\x0a[/INST]','2361139GxDNhi','9qZfESm','_readStaticResponse','_requestHeaders','ai.aws.requestParameters','abortController','application/json','anthropic.claude-v2','meta.llama','_prepareRequestParameters','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.','json','get','Instruction:\x0a','chunk','AI_ERROR_UNSUPPORTED_MODEL','define','ai.aws.bedrockClientConfig','generations','read','Human:\x0a','config'];_0x3880=function(){return _0x102ffc;};return _0x3880();}import{default as _0x1415d3}from'./aitextadapter.js';import{AIRequestError as _0x517eee}from'./aiadapter.js';import{BedrockRuntimeClient as _0x2f6856,InvokeModelCommand as _0x473960,InvokeModelWithResponseStreamCommand as _0x5d91e0}from'@aws-sdk/client-bedrock-runtime';function _0x3153(_0x34e0be,_0x292f35){const _0x388055=_0x3880();return _0x3153=function(_0x3153d5,_0x2e1223){_0x3153d5=_0x3153d5-0x173;let _0x41ec82=_0x388055[_0x3153d5];return _0x41ec82;},_0x3153(_0x34e0be,_0x292f35);}import{getTranslation as _0x13c182}from'../utils/common-translations.js';export default class J extends _0x1415d3{static get[_0x48a11d(0x183)](){const _0x18165b=_0x48a11d;return _0x18165b(0x1bf);}constructor(_0x3cfd1d){const _0x4b90d8=_0x48a11d;super(_0x3cfd1d),_0x3cfd1d[_0x4b90d8(0x1ab)][_0x4b90d8(0x1a2)](_0x4b90d8(0x19a))||_0x3cfd1d[_0x4b90d8(0x1ab)][_0x4b90d8(0x1a6)](_0x4b90d8(0x19a),{'model':_0x4b90d8(0x19d),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x4b90d8(0x1b7),'stream':!0x0}),this[_0x4b90d8(0x1c0)]=_0x3cfd1d[_0x4b90d8(0x1ab)][_0x4b90d8(0x1a2)](_0x4b90d8(0x181)),this[_0x4b90d8(0x18d)]=_0x3cfd1d[_0x4b90d8(0x1ab)][_0x4b90d8(0x1a2)](_0x4b90d8(0x1a7)),this[_0x4b90d8(0x199)]=_0x3cfd1d[_0x4b90d8(0x1ab)][_0x4b90d8(0x1a2)](_0x4b90d8(0x1be)),this[_0x4b90d8(0x1b8)]=_0x3cfd1d[_0x4b90d8(0x1ab)][_0x4b90d8(0x1a2)](_0x4b90d8(0x19a));}async[_0x48a11d(0x17f)]({query:_0x48bb83,context:_0x1c286c,onData:_0x32a8a8,actionId:_0x33f7ef}){const _0x17700e=_0x48a11d,{model:_0x3afa46,stream:_0x4a871f,..._0x29a90f}=await this[_0x17700e(0x19f)](this[_0x17700e(0x1b8)],_0x33f7ef),_0x4da9e9={'prompt':await this[_0x17700e(0x190)](_0x48bb83,_0x1c286c,_0x3afa46,_0x33f7ef),..._0x29a90f};this[_0x17700e(0x1c0)]?await this[_0x17700e(0x18f)](_0x4da9e9,_0x3afa46,_0x4a871f,_0x32a8a8,_0x33f7ef):await this[_0x17700e(0x1b0)](_0x4da9e9,_0x3afa46,_0x4a871f,_0x32a8a8);}async[_0x48a11d(0x190)](_0xbe2ba0,_0x300114,_0x47d59b,_0x11f77b){const _0x46aa5a=_0x48a11d;let _0x36e106,_0xc0abfa;return _0x300114?(_0x36e106=_0x46aa5a(0x1a0),_0xc0abfa=_0x46aa5a(0x1a3)+_0xbe2ba0+_0x46aa5a(0x186)+_0x300114):(_0x36e106=_0x46aa5a(0x194),_0xc0abfa=_0xbe2ba0),_0x46aa5a(0x19e)==this[_0x46aa5a(0x1c5)](_0x47d59b)?_0x46aa5a(0x1b1)+_0x36e106+_0x46aa5a(0x176)+_0xc0abfa+_0x46aa5a(0x195):_0x46aa5a(0x1aa)+_0x36e106+'\x0a'+_0xc0abfa+_0x46aa5a(0x1c2);}[_0x48a11d(0x1c5)](_0x599933){const _0x29d6d6=_0x48a11d;if(/^anthropic\.claude/[_0x29d6d6(0x1bd)](_0x599933))return _0x29d6d6(0x17d);if(/^ai21\.j2/[_0x29d6d6(0x1bd)](_0x599933))return _0x29d6d6(0x1b9);if(/^cohere\.command/[_0x29d6d6(0x1bd)](_0x599933))return _0x29d6d6(0x1c4);if(/^meta\.llama/[_0x29d6d6(0x1bd)](_0x599933))return _0x29d6d6(0x19e);throw new _0x517eee(_0x13c182(this[_0x29d6d6(0x1af)][_0x29d6d6(0x17e)],_0x29d6d6(0x1a5),_0x599933));}async[_0x48a11d(0x18f)](_0xd78a71,_0x32d12c,_0x2e33e4,_0xacb0c1,_0x516669){const _0x21977b=_0x48a11d,_0xcfd943={'method':_0x21977b(0x1ad),'headers':await this[_0x21977b(0x1b5)](this[_0x21977b(0x199)],_0x516669),'body':JSON[_0x21977b(0x174)]({..._0xd78a71,'model':_0x32d12c,'stream':_0x2e33e4}),'signal':this[_0x21977b(0x19b)][_0x21977b(0x177)]},_0x40489a=await fetch(this[_0x21977b(0x1c0)],_0xcfd943);_0x2e33e4?await this[_0x21977b(0x17c)](_0x40489a,_0x32d12c,_0xacb0c1):await this[_0x21977b(0x198)](_0x40489a,_0x32d12c,_0xacb0c1);}async[_0x48a11d(0x1b0)](_0x18b66b,_0x283ab4,_0x2880f8,_0x14fa66){const _0x37b4e3=_0x48a11d,_0x14b20f=new _0x2f6856(this[_0x37b4e3(0x18d)]),_0x22e77e={'body':JSON[_0x37b4e3(0x174)](_0x18b66b),'contentType':_0x37b4e3(0x19c),'accept':_0x37b4e3(0x19c),'modelId':_0x283ab4};let _0x2d1a9f;if(_0x2880f8){const _0x792ee4=new _0x5d91e0(_0x22e77e);_0x2d1a9f=await _0x14b20f[_0x37b4e3(0x191)](_0x792ee4,{'abortSignal':this[_0x37b4e3(0x19b)][_0x37b4e3(0x177)]}),await this[_0x37b4e3(0x1c6)](_0x2d1a9f,_0x283ab4,_0x14fa66);}else{const _0x5c62c5=new _0x473960(_0x22e77e);_0x2d1a9f=await _0x14b20f[_0x37b4e3(0x191)](_0x5c62c5,{'abortSignal':this[_0x37b4e3(0x19b)][_0x37b4e3(0x177)]}),await this[_0x37b4e3(0x198)](_0x2d1a9f,_0x283ab4,_0x14fa66);}}async[_0x48a11d(0x1c6)](_0x33eb4f,_0x4e9536,_0x3b413a){const _0x362a2d=_0x48a11d,_0x1b528a=_0x33eb4f[_0x362a2d(0x189)],_0x4dd939=new TextDecoder(_0x362a2d(0x182));let _0x3cb9b7='';for await(const _0x539085 of _0x1b528a)if(_0x539085[_0x362a2d(0x1a4)]){const _0xfd0ce=_0x4dd939[_0x362a2d(0x18a)](_0x539085[_0x362a2d(0x1a4)][_0x362a2d(0x1c3)]),_0x2ac6ef=JSON[_0x362a2d(0x1ae)](_0xfd0ce);_0x3cb9b7+=this[_0x362a2d(0x1c1)](_0x2ac6ef,_0x4e9536),_0x3b413a(_0x3cb9b7);}return Promise[_0x362a2d(0x187)]();}async[_0x48a11d(0x17c)](_0x6fb13c,_0x133adb,_0x5c6b96){const _0xdf2b26=_0x48a11d,_0xd880b5=_0x6fb13c[_0xdf2b26(0x189)],_0x20ac8b=new TextDecoder(_0xdf2b26(0x182)),_0x198bc1=_0xd880b5[_0xdf2b26(0x192)]();let _0x365679='',_0x47959e='',_0x4ad735=!0x1;for(;!_0x4ad735;){const {done:_0x145591,value:_0x5787be}=await _0x198bc1[_0xdf2b26(0x1a9)]();if(_0x4ad735=_0x145591,_0x4ad735)break;const _0x49505d=(_0x365679+_0x20ac8b[_0xdf2b26(0x18a)](_0x5787be))[_0xdf2b26(0x175)]('\x0a')[_0xdf2b26(0x188)](_0x5e78cd=>{const _0x477a6e=_0xdf2b26;try{return _0x365679='',JSON[_0x477a6e(0x1ae)](_0x5e78cd);}catch(_0x4f423e){return _0x365679=_0x5e78cd,null;}})[_0xdf2b26(0x1ba)](_0x5c2171=>null!==_0x5c2171);_0x49505d[_0xdf2b26(0x1b4)]&&(_0x47959e+=_0x49505d[_0xdf2b26(0x188)](_0x1f1ab4=>this[_0xdf2b26(0x1c1)](_0x1f1ab4,_0x133adb))[_0xdf2b26(0x1ac)](''),_0x5c6b96(_0x47959e));}return Promise[_0xdf2b26(0x187)]();}async[_0x48a11d(0x198)](_0x35792b,_0x711b4e,_0x3e8e5a){const _0x417a1a=_0x48a11d;let _0x14aa9a;return _0x14aa9a=_0x35792b instanceof Response?await _0x35792b[_0x417a1a(0x1a1)]():JSON[_0x417a1a(0x1ae)](Buffer[_0x417a1a(0x18b)](_0x35792b[_0x417a1a(0x189)])[_0x417a1a(0x18c)](_0x417a1a(0x178))),(_0x3e8e5a(this[_0x417a1a(0x1c1)](_0x14aa9a,_0x711b4e)),Promise[_0x417a1a(0x187)]());}[_0x48a11d(0x1c1)](_0x501bc3,_0x46f6d7){const _0x5605a3=_0x48a11d;switch(this[_0x5605a3(0x1c5)](_0x46f6d7)){case _0x5605a3(0x17d):return _0x501bc3[_0x5605a3(0x184)];case _0x5605a3(0x1b9):return _0x501bc3[_0x5605a3(0x193)][0x0][_0x5605a3(0x1b6)][_0x5605a3(0x1b3)];case _0x5605a3(0x1c4):return _0x501bc3[_0x5605a3(0x1a8)][0x0][_0x5605a3(0x1b3)];case _0x5605a3(0x19e):return _0x501bc3[_0x5605a3(0x1b2)];}}}