@ckeditor/ckeditor5-ai 41.4.2 → 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.2",
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.2",
27
- "ckeditor5-collaboration": "41.4.2",
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.2",
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 _0x274c50=_0x64de;(function(_0x145f4c,_0x532a26){var _0x5b1780=_0x64de,_0x5b6d5a=_0x145f4c();while(!![]){try{var _0x134b2d=-parseInt(_0x5b1780(0x1cc))/0x1+-parseInt(_0x5b1780(0x1cf))/0x2+parseInt(_0x5b1780(0x1d7))/0x3+parseInt(_0x5b1780(0x1cd))/0x4+-parseInt(_0x5b1780(0x1d8))/0x5*(parseInt(_0x5b1780(0x1d1))/0x6)+-parseInt(_0x5b1780(0x1c9))/0x7*(parseInt(_0x5b1780(0x1cb))/0x8)+parseInt(_0x5b1780(0x1d4))/0x9;if(_0x134b2d===_0x532a26)break;else _0x5b6d5a['push'](_0x5b6d5a['shift']());}catch(_0x3cdd9f){_0x5b6d5a['push'](_0x5b6d5a['shift']());}}}(_0x267e,0x820e6));function _0x64de(_0x3df556,_0x4773b6){var _0x267ea3=_0x267e();return _0x64de=function(_0x64de19,_0x66071){_0x64de19=_0x64de19-0x1c9;var _0x37d589=_0x267ea3[_0x64de19];return _0x37d589;},_0x64de(_0x3df556,_0x4773b6);}function _0x267e(){var _0x19f4c2=['AIAdapter','8SKYGLU','743548JCBobl','944236zHlBee','pluginName','283628derOto','AIRequestError','237048gsYFhh','aiadapter-text-adapter-not-set','afterInit','11282850PqzxKq','textAdapter','name','313248MWBYdP','10PyIDEG','679259veDScg'];_0x267e=function(){return _0x19f4c2;};return _0x267e();}import{Plugin as _0x2807c7}from'ckeditor5/src/core.js';import{CKEditorError as _0x35ebe0}from'ckeditor5/src/utils.js';export default class y extends _0x2807c7{static get[_0x274c50(0x1ce)](){var _0x19f197=_0x274c50;return _0x19f197(0x1ca);}[_0x274c50(0x1d3)](){var _0x435ecd=_0x274c50;if(!this[_0x435ecd(0x1d5)])throw new _0x35ebe0(_0x435ecd(0x1d2),null);}}export class AIRequestError extends Error{constructor(_0x317454){var _0x172c81=_0x274c50;super(_0x317454),this[_0x172c81(0x1d6)]=_0x172c81(0x1d0);}}
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 _0x342b07=_0x4f56;(function(_0x5b529c,_0x889136){const _0x581245=_0x4f56,_0x1a779c=_0x5b529c();while(!![]){try{const _0x5dbbdb=parseInt(_0x581245(0xfa))/0x1*(parseInt(_0x581245(0xf1))/0x2)+parseInt(_0x581245(0xd5))/0x3*(parseInt(_0x581245(0xf8))/0x4)+-parseInt(_0x581245(0xef))/0x5*(parseInt(_0x581245(0xf2))/0x6)+-parseInt(_0x581245(0xde))/0x7*(-parseInt(_0x581245(0xf0))/0x8)+parseInt(_0x581245(0xdd))/0x9*(-parseInt(_0x581245(0xf3))/0xa)+parseInt(_0x581245(0xe5))/0xb+-parseInt(_0x581245(0xd7))/0xc;if(_0x5dbbdb===_0x889136)break;else _0x1a779c['push'](_0x1a779c['shift']());}catch(_0xfb95c5){_0x1a779c['push'](_0x1a779c['shift']());}}}(_0x38d5,0xe559a));function _0x38d5(){const _0x5a0677=['aitextadapter-send-request-failed','45603fCTZQD','149387cGUzsE','abort','resolve','abortController','_prepareRequestParameters','plugins','sendRequest','1609289CwUsDI','makeRequest','locale','assign','requires','get','application/json','AI_ERROR_GET_PARAMETERS','catch','name','5ywAntt','56ZQwidJ','1414166EikzRq','1884486QjboSc','1080WHDmBP','reject','init','error','object','1116JmKNEt','textAdapter','2hyzmzP','aborted','5943SVCbcW','editor','5541792eehWIv','AI_ERROR_GET_HEADERS','AbortError','signal','_prepareRequestHeaders'];_0x38d5=function(){return _0x5a0677;};return _0x38d5();}import{Plugin as _0x1e0a0a}from'ckeditor5/src/core.js';import{CKEditorError as _0x796197}from'ckeditor5/src/utils.js';import{default as _0x1e2c75,AIRequestError as _0x1a4f09}from'./aiadapter.js';function _0x4f56(_0x49432b,_0x4c12a7){const _0x38d5e5=_0x38d5();return _0x4f56=function(_0x4f5666,_0x52b9ed){_0x4f5666=_0x4f5666-0xd5;let _0x21b10c=_0x38d5e5[_0x4f5666];return _0x21b10c;},_0x4f56(_0x49432b,_0x4c12a7);}import{getTranslation as _0x1d6bff}from'../utils/common-translations.js';export default class P extends _0x1e0a0a{static get[_0x342b07(0xe9)](){return[_0x1e2c75];}constructor(_0x5c4bb9){const _0x18731b=_0x342b07;super(_0x5c4bb9),this[_0x18731b(0xe1)]=new AbortController();}[_0x342b07(0xf5)](){const _0x4176c3=_0x342b07;this[_0x4176c3(0xd6)][_0x4176c3(0xe3)][_0x4176c3(0xea)](_0x1e2c75)[_0x4176c3(0xf9)]=this;}[_0x342b07(0xdf)](){const _0x1e4bd1=_0x342b07;this[_0x1e4bd1(0xe1)][_0x1e4bd1(0xda)][_0x1e4bd1(0xfb)]||(this[_0x1e4bd1(0xe1)][_0x1e4bd1(0xdf)](),this[_0x1e4bd1(0xe1)]=new AbortController());}async[_0x342b07(0xe6)](_0x922ca7){const _0x2ba209=_0x342b07;return this[_0x2ba209(0xe4)](_0x922ca7)[_0x2ba209(0xed)](_0x18631f=>{const _0x296752=_0x2ba209;if(_0x18631f instanceof _0x1a4f09)return Promise[_0x296752(0xf4)](_0x18631f);if(_0x296752(0xd9)==_0x18631f[_0x296752(0xee)])return Promise[_0x296752(0xe0)]();throw console[_0x296752(0xf6)](_0x18631f),new _0x796197(_0x296752(0xdc),null);});}async[_0x342b07(0xdb)](_0x5d9e42,_0x38706a){const _0x51e00b=_0x342b07,_0x5d5132=this[_0x51e00b(0xd6)][_0x51e00b(0xe7)],_0x447355={'Content-Type':_0x51e00b(0xeb)};if(_0x51e00b(0xf7)==typeof _0x5d9e42)Object[_0x51e00b(0xe8)](_0x447355,_0x5d9e42);else{if(_0x5d9e42)try{const _0x44b864=await _0x5d9e42(_0x38706a);Object[_0x51e00b(0xe8)](_0x447355,_0x44b864);}catch(_0x3820a3){return Promise[_0x51e00b(0xf4)](new _0x1a4f09(_0x1d6bff(_0x5d5132,_0x51e00b(0xd8))));}}return _0x447355;}async[_0x342b07(0xe2)](_0x24e4de,_0x419f3c){const _0x2fbf20=_0x342b07,_0x572ea2=this[_0x2fbf20(0xd6)][_0x2fbf20(0xe7)];if(_0x2fbf20(0xf7)==typeof _0x24e4de)return _0x24e4de;try{return await _0x24e4de(_0x419f3c);}catch(_0xf8735d){return Promise[_0x2fbf20(0xf4)](new _0x1a4f09(_0x1d6bff(_0x572ea2,_0x2fbf20(0xec))));}}}
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 _0xc275(_0x1ec324,_0x2f782b){const _0x1a75a4=_0x1a75();return _0xc275=function(_0xc27567,_0xebb0d1){_0xc27567=_0xc27567-0x98;let _0x3fb20f=_0x1a75a4[_0xc27567];return _0x3fb20f;},_0xc275(_0x1ec324,_0x2f782b);}function _0x1a75(){const _0x579a50=['anthropic.claude-v2','signal','map','config','generations','\x0a[/INST]','read','_processAWSRequest','_requestParameters','_requestHeaders','3935880bYOBqF','_readStreamableResponse','editor','574413lpmGSL','\x0a\x0aAssistant:','resolve','961878apJeSJ','join','cohere.command','4490232OGrtCB','_readStaticResponse','text','Human:\x0a','ai.aws.requestHeaders','15961500nAdCrL','parse','3693UfcDve','_apiUrl','test','application/json','ai21.j2','generation','ai.aws.bedrockClientConfig','body','utf-8','ai.aws.requestParameters','anthropic.claude','preparePrompt','POST','_readAsyncIterableResponse','_prepareRequestHeaders','define','meta.llama','1262RLjyav','_bedrockClientConfig','abortController','toString','json','length','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.','pluginName','get','14fMzhzP','AI_ERROR_UNSUPPORTED_MODEL','bedrock-2023-05-31','data','from','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.','getModelFamily','bytes','Instruction:\x0a','completions','chunk','getReader','\x0a<</SYS>>\x0a[INST]\x0a','ai.aws.apiUrl','_processProxyRequest','locale','filter','decode','sendRequest','<<SYS>>\x0a','split','stringify','_prepareRequestParameters','completion','_getGeneratedText','send','utf8','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','3590568XcqbXq','AWSTextAdapter'];_0x1a75=function(){return _0x579a50;};return _0x1a75();}const _0x171cce=_0xc275;(function(_0x2cc30c,_0x123580){const _0x3c8d0e=_0xc275,_0x2f1dee=_0x2cc30c();while(!![]){try{const _0xfd27e5=parseInt(_0x3c8d0e(0xb5))/0x1+parseInt(_0x3c8d0e(0xd3))/0x2*(-parseInt(_0x3c8d0e(0xc2))/0x3)+-parseInt(_0x3c8d0e(0xa6))/0x4+-parseInt(_0x3c8d0e(0xb2))/0x5+parseInt(_0x3c8d0e(0xb8))/0x6*(parseInt(_0x3c8d0e(0xdc))/0x7)+parseInt(_0x3c8d0e(0xbb))/0x8+parseInt(_0x3c8d0e(0xc0))/0x9;if(_0xfd27e5===_0x123580)break;else _0x2f1dee['push'](_0x2f1dee['shift']());}catch(_0x517740){_0x2f1dee['push'](_0x2f1dee['shift']());}}}(_0x1a75,0xbb8ef));import{default as _0x559fe8}from'./aitextadapter.js';import{AIRequestError as _0x9ad72e}from'./aiadapter.js';import{BedrockRuntimeClient as _0x229744,InvokeModelCommand as _0x521f0f,InvokeModelWithResponseStreamCommand as _0x36436f}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x5a9074}from'../utils/common-translations.js';export default class J extends _0x559fe8{static get[_0x171cce(0xda)](){const _0x231532=_0x171cce;return _0x231532(0xa7);}constructor(_0x4031c4){const _0x2247b=_0x171cce;super(_0x4031c4),_0x4031c4[_0x2247b(0xab)][_0x2247b(0xdb)](_0x2247b(0xcb))||_0x4031c4[_0x2247b(0xab)][_0x2247b(0xd1)](_0x2247b(0xcb),{'model':_0x2247b(0xa8),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x2247b(0xde),'stream':!0x0}),this[_0x2247b(0xc3)]=_0x4031c4[_0x2247b(0xab)][_0x2247b(0xdb)](_0x2247b(0xe9)),this[_0x2247b(0xd4)]=_0x4031c4[_0x2247b(0xab)][_0x2247b(0xdb)](_0x2247b(0xc8)),this[_0x2247b(0xb1)]=_0x4031c4[_0x2247b(0xab)][_0x2247b(0xdb)](_0x2247b(0xbf)),this[_0x2247b(0xb0)]=_0x4031c4[_0x2247b(0xab)][_0x2247b(0xdb)](_0x2247b(0xcb));}async[_0x171cce(0x9c)]({query:_0x1cf711,context:_0x49f424,onData:_0x5b193d,actionId:_0x3d0b74}){const _0x35aaef=_0x171cce,{model:_0x2d0f51,stream:_0x27e90c,..._0x10a569}=await this[_0x35aaef(0xa0)](this[_0x35aaef(0xb0)],_0x3d0b74),_0x220fb9={'prompt':await this[_0x35aaef(0xcd)](_0x1cf711,_0x49f424,_0x2d0f51,_0x3d0b74),..._0x10a569};this[_0x35aaef(0xc3)]?await this[_0x35aaef(0x98)](_0x220fb9,_0x2d0f51,_0x27e90c,_0x5b193d,_0x3d0b74):await this[_0x35aaef(0xaf)](_0x220fb9,_0x2d0f51,_0x27e90c,_0x5b193d);}async[_0x171cce(0xcd)](_0x2e7fab,_0x4d254f,_0x9cf33b,_0x1402dd){const _0x4d8db4=_0x171cce;let _0x323e84,_0x2c94ee;return _0x4d254f?(_0x323e84=_0x4d8db4(0xd9),_0x2c94ee=_0x4d8db4(0xe4)+_0x2e7fab+_0x4d8db4(0xa5)+_0x4d254f):(_0x323e84=_0x4d8db4(0xe1),_0x2c94ee=_0x2e7fab),_0x4d8db4(0xd2)==this[_0x4d8db4(0xe2)](_0x9cf33b)?_0x4d8db4(0x9d)+_0x323e84+_0x4d8db4(0xe8)+_0x2c94ee+_0x4d8db4(0xad):_0x4d8db4(0xbe)+_0x323e84+'\x0a'+_0x2c94ee+_0x4d8db4(0xb6);}[_0x171cce(0xe2)](_0x2a5b4e){const _0xa3b179=_0x171cce;if(/^anthropic\.claude/[_0xa3b179(0xc4)](_0x2a5b4e))return _0xa3b179(0xcc);if(/^ai21\.j2/[_0xa3b179(0xc4)](_0x2a5b4e))return _0xa3b179(0xc6);if(/^cohere\.command/[_0xa3b179(0xc4)](_0x2a5b4e))return _0xa3b179(0xba);if(/^meta\.llama/[_0xa3b179(0xc4)](_0x2a5b4e))return _0xa3b179(0xd2);throw new _0x9ad72e(_0x5a9074(this[_0xa3b179(0xb4)][_0xa3b179(0x99)],_0xa3b179(0xdd),_0x2a5b4e));}async[_0x171cce(0x98)](_0x567083,_0x2594bb,_0x5302fa,_0xdd2fad,_0x3b3a36){const _0x48e74d=_0x171cce,_0x1a8ee9={'method':_0x48e74d(0xce),'headers':await this[_0x48e74d(0xd0)](this[_0x48e74d(0xb1)],_0x3b3a36),'body':JSON[_0x48e74d(0x9f)]({..._0x567083,'model':_0x2594bb,'stream':_0x5302fa}),'signal':this[_0x48e74d(0xd5)][_0x48e74d(0xa9)]},_0x6059bf=await fetch(this[_0x48e74d(0xc3)],_0x1a8ee9);_0x5302fa?await this[_0x48e74d(0xb3)](_0x6059bf,_0x2594bb,_0xdd2fad):await this[_0x48e74d(0xbc)](_0x6059bf,_0x2594bb,_0xdd2fad);}async[_0x171cce(0xaf)](_0x48a8c3,_0x2678a0,_0x3a8e6d,_0x3eaaa6){const _0x15dab8=_0x171cce,_0x3e724c=new _0x229744(this[_0x15dab8(0xd4)]),_0x542363={'body':JSON[_0x15dab8(0x9f)](_0x48a8c3),'contentType':_0x15dab8(0xc5),'accept':_0x15dab8(0xc5),'modelId':_0x2678a0};let _0x5b8ae4;if(_0x3a8e6d){const _0x272209=new _0x36436f(_0x542363);_0x5b8ae4=await _0x3e724c[_0x15dab8(0xa3)](_0x272209,{'abortSignal':this[_0x15dab8(0xd5)][_0x15dab8(0xa9)]}),await this[_0x15dab8(0xcf)](_0x5b8ae4,_0x2678a0,_0x3eaaa6);}else{const _0x3f058d=new _0x521f0f(_0x542363);_0x5b8ae4=await _0x3e724c[_0x15dab8(0xa3)](_0x3f058d,{'abortSignal':this[_0x15dab8(0xd5)][_0x15dab8(0xa9)]}),await this[_0x15dab8(0xbc)](_0x5b8ae4,_0x2678a0,_0x3eaaa6);}}async[_0x171cce(0xcf)](_0x5d022e,_0x50273b,_0x12cbf3){const _0x422fa7=_0x171cce,_0x40434a=_0x5d022e[_0x422fa7(0xc9)],_0x3e6add=new TextDecoder(_0x422fa7(0xca));let _0x21ee4d='';for await(const _0x17d277 of _0x40434a)if(_0x17d277[_0x422fa7(0xe6)]){const _0x10d93f=_0x3e6add[_0x422fa7(0x9b)](_0x17d277[_0x422fa7(0xe6)][_0x422fa7(0xe3)]),_0x387482=JSON[_0x422fa7(0xc1)](_0x10d93f);_0x21ee4d+=this[_0x422fa7(0xa2)](_0x387482,_0x50273b),_0x12cbf3(_0x21ee4d);}return Promise[_0x422fa7(0xb7)]();}async[_0x171cce(0xb3)](_0xa2bf71,_0x1ca9f6,_0x45234c){const _0x43fe15=_0x171cce,_0x2c1a08=_0xa2bf71[_0x43fe15(0xc9)],_0x566e45=new TextDecoder(_0x43fe15(0xca)),_0x3d8ce8=_0x2c1a08[_0x43fe15(0xe7)]();let _0x338358='',_0x161ab2='',_0x279772=!0x1;for(;!_0x279772;){const {done:_0x4ed297,value:_0x3fbe7b}=await _0x3d8ce8[_0x43fe15(0xae)]();if(_0x279772=_0x4ed297,_0x279772)break;const _0x351010=(_0x338358+_0x566e45[_0x43fe15(0x9b)](_0x3fbe7b))[_0x43fe15(0x9e)]('\x0a')[_0x43fe15(0xaa)](_0x163c4e=>{const _0x1f705c=_0x43fe15;try{return _0x338358='',JSON[_0x1f705c(0xc1)](_0x163c4e);}catch(_0x14e230){return _0x338358=_0x163c4e,null;}})[_0x43fe15(0x9a)](_0x4891ec=>null!==_0x4891ec);_0x351010[_0x43fe15(0xd8)]&&(_0x161ab2+=_0x351010[_0x43fe15(0xaa)](_0x372763=>this[_0x43fe15(0xa2)](_0x372763,_0x1ca9f6))[_0x43fe15(0xb9)](''),_0x45234c(_0x161ab2));}return Promise[_0x43fe15(0xb7)]();}async[_0x171cce(0xbc)](_0x76ac2c,_0x92df4d,_0x86ba43){const _0x5b1dfb=_0x171cce;let _0x329c6b;return _0x329c6b=_0x76ac2c instanceof Response?await _0x76ac2c[_0x5b1dfb(0xd7)]():JSON[_0x5b1dfb(0xc1)](Buffer[_0x5b1dfb(0xe0)](_0x76ac2c[_0x5b1dfb(0xc9)])[_0x5b1dfb(0xd6)](_0x5b1dfb(0xa4))),(_0x86ba43(this[_0x5b1dfb(0xa2)](_0x329c6b,_0x92df4d)),Promise[_0x5b1dfb(0xb7)]());}[_0x171cce(0xa2)](_0x51b68f,_0xf5d65c){const _0x5be916=_0x171cce;switch(this[_0x5be916(0xe2)](_0xf5d65c)){case _0x5be916(0xcc):return _0x51b68f[_0x5be916(0xa1)];case _0x5be916(0xc6):return _0x51b68f[_0x5be916(0xe5)][0x0][_0x5be916(0xdf)][_0x5be916(0xbd)];case _0x5be916(0xba):return _0x51b68f[_0x5be916(0xac)][0x0][_0x5be916(0xbd)];case _0x5be916(0xd2):return _0x51b68f[_0x5be916(0xc7)];}}}
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)];}}}