@ckeditor/ckeditor5-ai 44.0.0-alpha.0 → 44.0.0-alpha.2
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.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e6660=>{const {ug:{dictionary:_0x5cec2c,getPluralForm:_0x42154f}}={'ug':{'dictionary':{'Edit\x20or\x20review':'تەھرىر\x20ياكى\x20تەكشۈر','Improve\x20writing':'يازمىنى\x20ياخشىلا','Make\x20shorter':'قىسقارت','Make\x20longer':'ئۇزارت','Simplify\x20language':'ئاددى\x20تىل','Generate\x20from\x20selection':'تاللىغاندىن\x20ھاسىللا','Summarize':'خۇلاسە','Continue':'داۋاملاشتۇر','Change\x20tone':'ئورانىنى\x20ئۆزگەرت','Professional':'كەسپىي','Casual':'ئىختىيارىي','Direct':'بىۋاسىتە','Confident':'ئىشەنچلىك','Friendly':'دوستانە','Change\x20style':'ئۇسلۇب\x20ئۆزگەرت','Business':'سودا','Legal':'قانۇن','Journalism':'ئاخباراتچىلىق','Poetic':'شېئىرىي','Translate':'تەرجىمە','English':'ئىنگلىزچە','Spanish':'ئىسپانچە','German':'گېرمانچە','Portuguese':'پورتۇگالچە','French':'فىرانسۇزچە','Simplified\x20Chinese':'ئاددى\x20خەنچە','Hindi':'ھىندىچە','Arabic':'ئەرەبچە','AI\x20Assistant':'AI\x20ياردەمچى','AI\x20Commands':'AI\x20بۇيرۇقلار','Ask\x20AI\x20to\x20edit\x20or\x20generate':'AI\x20دىن\x20تەھرىرلەش\x20ياكى\x20ھاسىللاشنى\x20تەلەپ\x20قىل','Ask\x20AI\x20to\x20improve\x20generated\x20text':'AI\x20دىن\x20ھاسىللىغان\x20تېكىستنى\x20ياخشىلاشنى\x20تەلەپ\x20قىل','Copy':'كۆچۈر','Submit':'يوللا','Insert\x20below':'تۆۋەنگە\x20قىستۇر','Try\x20again':'قايتا\x20سىنا','Stop':'توختا','AI\x20is\x20writing...':'AI\x20يېزىۋاتىدۇ','AI\x20is\x20writing':'','Generated\x20content:\x20%0':'','Error\x20during\x20AI\x20content\x20generation:\x20%0':'','History':'تارىخ','Empty\x20history':'تارىخ\x20بوش','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'AI\x20دىن\x20سوراڭ،\x20كېيىن\x20ئىشلىتىش\x20ئۈچۈن\x20ئەسكەرتىشىڭىز\x20بۇ\x20جايدا\x20تىزىلىدۇ.','Prompt\x20history':'ئەسكەرتىش\x20تارىخى','AI_REPLACE_CONTENT':'ئالماشتۇر','AI_INSERT_CONTENT':'قىستۇر','AI_ERROR_GET_HEADERS':'ئىلتىماس\x20بېشىنى\x20تەييارلىيالمىدى','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'تاللانغان\x20مەزمۇن\x20بەك\x20ئۇزۇن','AI_ERROR_MODERATION':'ئىلتىماس\x20قىلغان\x20سۈرۈشتۈرۈش\x20تەكشۈرۈش\x20قائىدىسىگە\x20ماس\x20كەلمەيدۇ','AI_ERROR_FAILED':'AI\x20مۇلازىمىتى\x20بىلەن\x20ئالاقە\x20قىلالمىدى','Other':''},'getPluralForm':_0x153d05=>0x0}};_0x4e6660['ug']||={'dictionary':{},'getPluralForm':null},_0x4e6660['ug']['dictionary']=Object['assign'](_0x4e6660['ug']['dictionary'],_0x5cec2c),_0x4e6660['ug']['getPluralForm']=_0x42154f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/uk.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'uk':{'dictionary':{'Edit\x20or\x20review':'Редагувати\x20або\x20внести\x20зміни','Improve\x20writing':'Покращити\x20письмо','Make\x20shorter':'Зробити\x20коротшим','Make\x20longer':'Зробити\x20довшим','Simplify\x20language':'Спростити\x20мову','Generate\x20from\x20selection':'Генерувати\x20з\x20вибраного','Summarize':'Підсумувати','Continue':'Продовжити','Change\x20tone':'Змінити\x20тон','Professional':'Професійний','Casual':'Повсякденний','Direct':'Прямий','Confident':'Впевнений','Friendly':'Дружній','Change\x20style':'Змінити\x20стиль','Business':'Бізнесовий','Legal':'Юридичний','Journalism':'Журналізм','Poetic':'Поетичний','Translate':'Перекласти','English':'Англійською','Spanish':'Іспанською','German':'Німецькою','Portuguese':'Португальською','French':'Французькою','Simplified\x20Chinese':'Спрощеною\x20китайською','Hindi':'Гінді','Arabic':'Арабською','AI\x20Assistant':'ШІ-помічник','AI\x20Commands':'ШІ\x20команди','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Попросіть\x20ШІ\x20редагувати\x20або\x20генерувати','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Попросіть\x20ШІ\x20покращити\x20згенерований\x20текст','Copy':'Копіювати','Submit':'Відправити','Insert\x20below':'Вставити\x20нижче','Try\x20again':'Спробувати\x20ще\x20раз','Stop':'Стоп','AI\x20is\x20writing...':'ШІ\x20пише...','AI\x20is\x20writing':'ШІ\x20пише','Generated\x20content:\x20%0':'Згенерований\x20контент:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'Під\x20час\x20ШІ-генерації\x20контенту\x20сталася\x20помилка:\x20%0','History':'Історія','Empty\x20history':'Порожня\x20історія','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Попросіть\x20ШІ\x20та\x20ваші\x20підказки\x20будуть\x20відображені\x20тут,\x20щоб\x20ви\x20могли\x20використовувати\x20їх\x20пізніше.','Prompt\x20history':'Історія\x20підказок','AI_REPLACE_CONTENT':'Замінити','AI_INSERT_CONTENT':'Вставити','AI_ERROR_GET_HEADERS':'Не\x20вдалося\x20підготувати\x20заголовки\x20запиту','AI_ERROR_GET_PARAMETERS':'Не\x20вдалось\x20підготувати\x20параметри\x20запиту','AI_ERROR_UNSUPPORTED_MODEL':'Запитувана\x20модель\x20ШІ\x20(\x22%0\x22)\x20не\x20підтримується','AI_ERROR_CONTEXT_LENGTH':'Обраний\x20контент\x20задовгий','AI_ERROR_MODERATION':'Створений\x20запит\x20не\x20відповідає\x20правилам\x20модерації','AI_ERROR_FAILED':'Не\x20вдалось\x20зв\x27язатись\x20з\x20сервісом\x20ШІ','Other':'Інше'},'getPluralForm':
|
|
23
|
+
export default{'uk':{'dictionary':{'Edit\x20or\x20review':'Редагувати\x20або\x20внести\x20зміни','Improve\x20writing':'Покращити\x20письмо','Make\x20shorter':'Зробити\x20коротшим','Make\x20longer':'Зробити\x20довшим','Simplify\x20language':'Спростити\x20мову','Generate\x20from\x20selection':'Генерувати\x20з\x20вибраного','Summarize':'Підсумувати','Continue':'Продовжити','Change\x20tone':'Змінити\x20тон','Professional':'Професійний','Casual':'Повсякденний','Direct':'Прямий','Confident':'Впевнений','Friendly':'Дружній','Change\x20style':'Змінити\x20стиль','Business':'Бізнесовий','Legal':'Юридичний','Journalism':'Журналізм','Poetic':'Поетичний','Translate':'Перекласти','English':'Англійською','Spanish':'Іспанською','German':'Німецькою','Portuguese':'Португальською','French':'Французькою','Simplified\x20Chinese':'Спрощеною\x20китайською','Hindi':'Гінді','Arabic':'Арабською','AI\x20Assistant':'ШІ-помічник','AI\x20Commands':'ШІ\x20команди','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Попросіть\x20ШІ\x20редагувати\x20або\x20генерувати','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Попросіть\x20ШІ\x20покращити\x20згенерований\x20текст','Copy':'Копіювати','Submit':'Відправити','Insert\x20below':'Вставити\x20нижче','Try\x20again':'Спробувати\x20ще\x20раз','Stop':'Стоп','AI\x20is\x20writing...':'ШІ\x20пише...','AI\x20is\x20writing':'ШІ\x20пише','Generated\x20content:\x20%0':'Згенерований\x20контент:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'Під\x20час\x20ШІ-генерації\x20контенту\x20сталася\x20помилка:\x20%0','History':'Історія','Empty\x20history':'Порожня\x20історія','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Попросіть\x20ШІ\x20та\x20ваші\x20підказки\x20будуть\x20відображені\x20тут,\x20щоб\x20ви\x20могли\x20використовувати\x20їх\x20пізніше.','Prompt\x20history':'Історія\x20підказок','AI_REPLACE_CONTENT':'Замінити','AI_INSERT_CONTENT':'Вставити','AI_ERROR_GET_HEADERS':'Не\x20вдалося\x20підготувати\x20заголовки\x20запиту','AI_ERROR_GET_PARAMETERS':'Не\x20вдалось\x20підготувати\x20параметри\x20запиту','AI_ERROR_UNSUPPORTED_MODEL':'Запитувана\x20модель\x20ШІ\x20(\x22%0\x22)\x20не\x20підтримується','AI_ERROR_CONTEXT_LENGTH':'Обраний\x20контент\x20задовгий','AI_ERROR_MODERATION':'Створений\x20запит\x20не\x20відповідає\x20правилам\x20модерації','AI_ERROR_FAILED':'Не\x20вдалось\x20зв\x27язатись\x20з\x20сервісом\x20ШІ','Other':'Інше'},'getPluralForm':_0x297744=>_0x297744%0xa==0x1&&_0x297744%0x64!=0xb?0x0:_0x297744%0xa>=0x2&&_0x297744%0xa<=0x4&&(_0x297744%0x64<0xa||_0x297744%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x902ff=>{const {uk:{dictionary:_0x2ed7c6,getPluralForm:_0x24cee2}}={'uk':{'dictionary':{'Edit\x20or\x20review':'Редагувати\x20або\x20внести\x20зміни','Improve\x20writing':'Покращити\x20письмо','Make\x20shorter':'Зробити\x20коротшим','Make\x20longer':'Зробити\x20довшим','Simplify\x20language':'Спростити\x20мову','Generate\x20from\x20selection':'Генерувати\x20з\x20вибраного','Summarize':'Підсумувати','Continue':'Продовжити','Change\x20tone':'Змінити\x20тон','Professional':'Професійний','Casual':'Повсякденний','Direct':'Прямий','Confident':'Впевнений','Friendly':'Дружній','Change\x20style':'Змінити\x20стиль','Business':'Бізнесовий','Legal':'Юридичний','Journalism':'Журналізм','Poetic':'Поетичний','Translate':'Перекласти','English':'Англійською','Spanish':'Іспанською','German':'Німецькою','Portuguese':'Португальською','French':'Французькою','Simplified\x20Chinese':'Спрощеною\x20китайською','Hindi':'Гінді','Arabic':'Арабською','AI\x20Assistant':'ШІ-помічник','AI\x20Commands':'ШІ\x20команди','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Попросіть\x20ШІ\x20редагувати\x20або\x20генерувати','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Попросіть\x20ШІ\x20покращити\x20згенерований\x20текст','Copy':'Копіювати','Submit':'Відправити','Insert\x20below':'Вставити\x20нижче','Try\x20again':'Спробувати\x20ще\x20раз','Stop':'Стоп','AI\x20is\x20writing...':'ШІ\x20пише...','AI\x20is\x20writing':'ШІ\x20пише','Generated\x20content:\x20%0':'Згенерований\x20контент:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'Під\x20час\x20ШІ-генерації\x20контенту\x20сталася\x20помилка:\x20%0','History':'Історія','Empty\x20history':'Порожня\x20історія','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Попросіть\x20ШІ\x20та\x20ваші\x20підказки\x20будуть\x20відображені\x20тут,\x20щоб\x20ви\x20могли\x20використовувати\x20їх\x20пізніше.','Prompt\x20history':'Історія\x20підказок','AI_REPLACE_CONTENT':'Замінити','AI_INSERT_CONTENT':'Вставити','AI_ERROR_GET_HEADERS':'Не\x20вдалося\x20підготувати\x20заголовки\x20запиту','AI_ERROR_GET_PARAMETERS':'Не\x20вдалось\x20підготувати\x20параметри\x20запиту','AI_ERROR_UNSUPPORTED_MODEL':'Запитувана\x20модель\x20ШІ\x20(\x22%0\x22)\x20не\x20підтримується','AI_ERROR_CONTEXT_LENGTH':'Обраний\x20контент\x20задовгий','AI_ERROR_MODERATION':'Створений\x20запит\x20не\x20відповідає\x20правилам\x20модерації','AI_ERROR_FAILED':'Не\x20вдалось\x20зв\x27язатись\x20з\x20сервісом\x20ШІ','Other':'Інше'},'getPluralForm':_0x377c55=>_0x377c55%0xa==0x1&&_0x377c55%0x64!=0xb?0x0:_0x377c55%0xa>=0x2&&_0x377c55%0xa<=0x4&&(_0x377c55%0x64<0xa||_0x377c55%0x64>=0x14)?0x1:0x2}};_0x902ff['uk']||={'dictionary':{},'getPluralForm':null},_0x902ff['uk']['dictionary']=Object['assign'](_0x902ff['uk']['dictionary'],_0x2ed7c6),_0x902ff['uk']['getPluralForm']=_0x24cee2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ur.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ur':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'داخل\x20کریں','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','AI\x20is\x20writing':'','Generated\x20content:\x20%0':'','Error\x20during\x20AI\x20content\x20generation:\x20%0':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','AI_REPLACE_CONTENT':'بدل\x20دیں','AI_INSERT_CONTENT':'','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':'','Other':''},'getPluralForm':
|
|
23
|
+
export default{'ur':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'داخل\x20کریں','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','AI\x20is\x20writing':'','Generated\x20content:\x20%0':'','Error\x20during\x20AI\x20content\x20generation:\x20%0':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','AI_REPLACE_CONTENT':'بدل\x20دیں','AI_INSERT_CONTENT':'','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':'','Other':''},'getPluralForm':_0xe37b28=>0x1!=_0xe37b28}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59d565=>{const {ur:{dictionary:_0x1157ad,getPluralForm:_0x1d338d}}={'ur':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'داخل\x20کریں','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','AI\x20is\x20writing':'','Generated\x20content:\x20%0':'','Error\x20during\x20AI\x20content\x20generation:\x20%0':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','AI_REPLACE_CONTENT':'بدل\x20دیں','AI_INSERT_CONTENT':'','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':'','Other':''},'getPluralForm':_0x28a1db=>0x1!=_0x28a1db}};_0x59d565['ur']||={'dictionary':{},'getPluralForm':null},_0x59d565['ur']['dictionary']=Object['assign'](_0x59d565['ur']['dictionary'],_0x1157ad),_0x59d565['ur']['getPluralForm']=_0x1d338d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/uz.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'uz':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','AI\x20is\x20writing':'','Generated\x20content:\x20%0':'','Error\x20during\x20AI\x20content\x20generation:\x20%0':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','AI_REPLACE_CONTENT':'','AI_INSERT_CONTENT':'Kiritish','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':'','Other':''},'getPluralForm':
|
|
23
|
+
export default{'uz':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','AI\x20is\x20writing':'','Generated\x20content:\x20%0':'','Error\x20during\x20AI\x20content\x20generation:\x20%0':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','AI_REPLACE_CONTENT':'','AI_INSERT_CONTENT':'Kiritish','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':'','Other':''},'getPluralForm':_0x61b2aa=>_0x61b2aa>0x1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57fbb6=>{const {uz:{dictionary:_0xc0ad83,getPluralForm:_0x4c8949}}={'uz':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','AI\x20is\x20writing':'','Generated\x20content:\x20%0':'','Error\x20during\x20AI\x20content\x20generation:\x20%0':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','AI_REPLACE_CONTENT':'','AI_INSERT_CONTENT':'Kiritish','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':'','Other':''},'getPluralForm':_0x16712e=>_0x16712e>0x1}};_0x57fbb6['uz']||={'dictionary':{},'getPluralForm':null},_0x57fbb6['uz']['dictionary']=Object['assign'](_0x57fbb6['uz']['dictionary'],_0xc0ad83),_0x57fbb6['uz']['getPluralForm']=_0x4c8949;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/vi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Edit\x20or\x20review':'Sửa\x20hoặc\x20xem\x20lại','Improve\x20writing':'Cải\x20thiện\x20văn\x20bản','Make\x20shorter':'Viết\x20ngắn\x20hơn','Make\x20longer':'Viết\x20dài\x20hơn','Simplify\x20language':'Đơn\x20giản\x20hóa\x20ngôn\x20ngữ','Generate\x20from\x20selection':'Tạo\x20từ\x20lựa\x20chọn','Summarize':'Tóm\x20tắt','Continue':'Tiếp\x20tục','Change\x20tone':'Thay\x20đổi\x20giọng\x20văn','Professional':'Chuyên\x20nghiệp','Casual':'Đời\x20thường','Direct':'Trực\x20tiếp','Confident':'Tự\x20tin','Friendly':'Thân\x20thiện','Change\x20style':'Thay\x20đổi\x20văn\x20phong','Business':'Kinh\x20doanh','Legal':'Pháp\x20luật','Journalism':'Báo\x20chí','Poetic':'Thơ\x20ca','Translate':'Dịch','English':'Tiếng\x20Anh','Spanish':'Tiếng\x20Tây\x20Ban\x20Nha','German':'Tiếng\x20Đức','Portuguese':'Tiếng\x20Bồ\x20Đào\x20Nha','French':'Tiếng\x20Pháp','Simplified\x20Chinese':'Tiếng\x20Trung\x20giản\x20thể','Hindi':'Tiếng\x20Hindi','Arabic':'Tiếng\x20Ả\x20Rập','AI\x20Assistant':'Trợ\x20lí\x20AI','AI\x20Commands':'Lệnh\x20AI','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Bảo\x20AI\x20sửa\x20hoặc\x20tạo\x20mới','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Bảo\x20AI\x20cải\x20thiện\x20văn\x20bản\x20đã\x20tạo','Copy':'Sao\x20chép','Submit':'Gửi','Insert\x20below':'Chèn\x20vào\x20bên\x20dưới','Try\x20again':'Thử\x20lại','Stop':'Dừng','AI\x20is\x20writing...':'AI\x20đang\x20viết...','AI\x20is\x20writing':'AI\x20đang\x20viết','Generated\x20content:\x20%0':'Nội\x20dung\x20đã\x20tạo:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'Xảy\x20ra\x20lỗi\x20trong\x20quá\x20trình\x20tạo\x20nội\x20dung\x20AI:\x20%0','History':'Lịch\x20sử','Empty\x20history':'Lịch\x20sử\x20trống','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Hãy\x20bảo\x20AI\x20và\x20lời\x20nhắc\x20của\x20bạn\x20sẽ\x20được\x20liệt\x20kê\x20ở\x20đây\x20để\x20sử\x20dụng\x20sau.','Prompt\x20history':'Lịch\x20sử\x20lời\x20nhắc','AI_REPLACE_CONTENT':'Thay\x20thế','AI_INSERT_CONTENT':'Chèn','AI_ERROR_GET_HEADERS':'Chuẩn\x20bị\x20tiêu\x20đề\x20yêu\x20cầu\x20không\x20thành\x20công','AI_ERROR_GET_PARAMETERS':'Không\x20thể\x20chuẩn\x20bị\x20tham\x20số\x20yêu\x20cầu','AI_ERROR_UNSUPPORTED_MODEL':'Không\x20hỗ\x20trợ\x20mô\x20hình\x20AI\x20được\x20yêu\x20cầu\x20(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'Nội\x20dung\x20đã\x20chọn\x20quá\x20dài','AI_ERROR_MODERATION':'Truy\x20vấn\x20được\x20yêu\x20cầu\x20không\x20tuân\x20thủ\x20quy\x20tắc\x20kiểm\x20duyệt','AI_ERROR_FAILED':'Không\x20kết\x20nối\x20được\x20với\x20dịch\x20vụ\x20AI','Other':'Khác'},'getPluralForm':
|
|
23
|
+
export default{'vi':{'dictionary':{'Edit\x20or\x20review':'Sửa\x20hoặc\x20xem\x20lại','Improve\x20writing':'Cải\x20thiện\x20văn\x20bản','Make\x20shorter':'Viết\x20ngắn\x20hơn','Make\x20longer':'Viết\x20dài\x20hơn','Simplify\x20language':'Đơn\x20giản\x20hóa\x20ngôn\x20ngữ','Generate\x20from\x20selection':'Tạo\x20từ\x20lựa\x20chọn','Summarize':'Tóm\x20tắt','Continue':'Tiếp\x20tục','Change\x20tone':'Thay\x20đổi\x20giọng\x20văn','Professional':'Chuyên\x20nghiệp','Casual':'Đời\x20thường','Direct':'Trực\x20tiếp','Confident':'Tự\x20tin','Friendly':'Thân\x20thiện','Change\x20style':'Thay\x20đổi\x20văn\x20phong','Business':'Kinh\x20doanh','Legal':'Pháp\x20luật','Journalism':'Báo\x20chí','Poetic':'Thơ\x20ca','Translate':'Dịch','English':'Tiếng\x20Anh','Spanish':'Tiếng\x20Tây\x20Ban\x20Nha','German':'Tiếng\x20Đức','Portuguese':'Tiếng\x20Bồ\x20Đào\x20Nha','French':'Tiếng\x20Pháp','Simplified\x20Chinese':'Tiếng\x20Trung\x20giản\x20thể','Hindi':'Tiếng\x20Hindi','Arabic':'Tiếng\x20Ả\x20Rập','AI\x20Assistant':'Trợ\x20lí\x20AI','AI\x20Commands':'Lệnh\x20AI','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Bảo\x20AI\x20sửa\x20hoặc\x20tạo\x20mới','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Bảo\x20AI\x20cải\x20thiện\x20văn\x20bản\x20đã\x20tạo','Copy':'Sao\x20chép','Submit':'Gửi','Insert\x20below':'Chèn\x20vào\x20bên\x20dưới','Try\x20again':'Thử\x20lại','Stop':'Dừng','AI\x20is\x20writing...':'AI\x20đang\x20viết...','AI\x20is\x20writing':'AI\x20đang\x20viết','Generated\x20content:\x20%0':'Nội\x20dung\x20đã\x20tạo:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'Xảy\x20ra\x20lỗi\x20trong\x20quá\x20trình\x20tạo\x20nội\x20dung\x20AI:\x20%0','History':'Lịch\x20sử','Empty\x20history':'Lịch\x20sử\x20trống','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Hãy\x20bảo\x20AI\x20và\x20lời\x20nhắc\x20của\x20bạn\x20sẽ\x20được\x20liệt\x20kê\x20ở\x20đây\x20để\x20sử\x20dụng\x20sau.','Prompt\x20history':'Lịch\x20sử\x20lời\x20nhắc','AI_REPLACE_CONTENT':'Thay\x20thế','AI_INSERT_CONTENT':'Chèn','AI_ERROR_GET_HEADERS':'Chuẩn\x20bị\x20tiêu\x20đề\x20yêu\x20cầu\x20không\x20thành\x20công','AI_ERROR_GET_PARAMETERS':'Không\x20thể\x20chuẩn\x20bị\x20tham\x20số\x20yêu\x20cầu','AI_ERROR_UNSUPPORTED_MODEL':'Không\x20hỗ\x20trợ\x20mô\x20hình\x20AI\x20được\x20yêu\x20cầu\x20(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'Nội\x20dung\x20đã\x20chọn\x20quá\x20dài','AI_ERROR_MODERATION':'Truy\x20vấn\x20được\x20yêu\x20cầu\x20không\x20tuân\x20thủ\x20quy\x20tắc\x20kiểm\x20duyệt','AI_ERROR_FAILED':'Không\x20kết\x20nối\x20được\x20với\x20dịch\x20vụ\x20AI','Other':'Khác'},'getPluralForm':_0x22a841=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15e08b=>{const {vi:{dictionary:_0x585b51,getPluralForm:_0xee6580}}={'vi':{'dictionary':{'Edit\x20or\x20review':'Sửa\x20hoặc\x20xem\x20lại','Improve\x20writing':'Cải\x20thiện\x20văn\x20bản','Make\x20shorter':'Viết\x20ngắn\x20hơn','Make\x20longer':'Viết\x20dài\x20hơn','Simplify\x20language':'Đơn\x20giản\x20hóa\x20ngôn\x20ngữ','Generate\x20from\x20selection':'Tạo\x20từ\x20lựa\x20chọn','Summarize':'Tóm\x20tắt','Continue':'Tiếp\x20tục','Change\x20tone':'Thay\x20đổi\x20giọng\x20văn','Professional':'Chuyên\x20nghiệp','Casual':'Đời\x20thường','Direct':'Trực\x20tiếp','Confident':'Tự\x20tin','Friendly':'Thân\x20thiện','Change\x20style':'Thay\x20đổi\x20văn\x20phong','Business':'Kinh\x20doanh','Legal':'Pháp\x20luật','Journalism':'Báo\x20chí','Poetic':'Thơ\x20ca','Translate':'Dịch','English':'Tiếng\x20Anh','Spanish':'Tiếng\x20Tây\x20Ban\x20Nha','German':'Tiếng\x20Đức','Portuguese':'Tiếng\x20Bồ\x20Đào\x20Nha','French':'Tiếng\x20Pháp','Simplified\x20Chinese':'Tiếng\x20Trung\x20giản\x20thể','Hindi':'Tiếng\x20Hindi','Arabic':'Tiếng\x20Ả\x20Rập','AI\x20Assistant':'Trợ\x20lí\x20AI','AI\x20Commands':'Lệnh\x20AI','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Bảo\x20AI\x20sửa\x20hoặc\x20tạo\x20mới','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Bảo\x20AI\x20cải\x20thiện\x20văn\x20bản\x20đã\x20tạo','Copy':'Sao\x20chép','Submit':'Gửi','Insert\x20below':'Chèn\x20vào\x20bên\x20dưới','Try\x20again':'Thử\x20lại','Stop':'Dừng','AI\x20is\x20writing...':'AI\x20đang\x20viết...','AI\x20is\x20writing':'AI\x20đang\x20viết','Generated\x20content:\x20%0':'Nội\x20dung\x20đã\x20tạo:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'Xảy\x20ra\x20lỗi\x20trong\x20quá\x20trình\x20tạo\x20nội\x20dung\x20AI:\x20%0','History':'Lịch\x20sử','Empty\x20history':'Lịch\x20sử\x20trống','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Hãy\x20bảo\x20AI\x20và\x20lời\x20nhắc\x20của\x20bạn\x20sẽ\x20được\x20liệt\x20kê\x20ở\x20đây\x20để\x20sử\x20dụng\x20sau.','Prompt\x20history':'Lịch\x20sử\x20lời\x20nhắc','AI_REPLACE_CONTENT':'Thay\x20thế','AI_INSERT_CONTENT':'Chèn','AI_ERROR_GET_HEADERS':'Chuẩn\x20bị\x20tiêu\x20đề\x20yêu\x20cầu\x20không\x20thành\x20công','AI_ERROR_GET_PARAMETERS':'Không\x20thể\x20chuẩn\x20bị\x20tham\x20số\x20yêu\x20cầu','AI_ERROR_UNSUPPORTED_MODEL':'Không\x20hỗ\x20trợ\x20mô\x20hình\x20AI\x20được\x20yêu\x20cầu\x20(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'Nội\x20dung\x20đã\x20chọn\x20quá\x20dài','AI_ERROR_MODERATION':'Truy\x20vấn\x20được\x20yêu\x20cầu\x20không\x20tuân\x20thủ\x20quy\x20tắc\x20kiểm\x20duyệt','AI_ERROR_FAILED':'Không\x20kết\x20nối\x20được\x20với\x20dịch\x20vụ\x20AI','Other':'Khác'},'getPluralForm':_0x5a667e=>0x0}};_0x15e08b['vi']||={'dictionary':{},'getPluralForm':null},_0x15e08b['vi']['dictionary']=Object['assign'](_0x15e08b['vi']['dictionary'],_0x585b51),_0x15e08b['vi']['getPluralForm']=_0xee6580;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Edit\x20or\x20review':'编辑或审核','Improve\x20writing':'改进写作','Make\x20shorter':'缩短','Make\x20longer':'加长','Simplify\x20language':'简化语言','Generate\x20from\x20selection':'根据选择内容生成','Summarize':'摘要','Continue':'继续','Change\x20tone':'更改基调','Professional':'专业','Casual':'随意','Direct':'直接','Confident':'自信','Friendly':'友好','Change\x20style':'更改风格','Business':'商务','Legal':'法律','Journalism':'旅游','Poetic':'诗意','Translate':'翻译','English':'英语','Spanish':'西班牙语','German':'德语','Portuguese':'葡萄牙语','French':'法语','Simplified\x20Chinese':'简体中文','Hindi':'印地语','Arabic':'阿拉伯语','AI\x20Assistant':'AI\x20助手','AI\x20Commands':'AI\x20命令','Ask\x20AI\x20to\x20edit\x20or\x20generate':'要求\x20AI\x20编辑或生成','Ask\x20AI\x20to\x20improve\x20generated\x20text':'要求\x20AI\x20改进生成的文本','Copy':'复制','Submit':'提交','Insert\x20below':'在下面插入','Try\x20again':'重试','Stop':'停止','AI\x20is\x20writing...':'AI\x20正在撰写……','AI\x20is\x20writing':'人工智能正在写作','Generated\x20content:\x20%0':'生成的内容:%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'人工智能生成内容时出错:%0','History':'历史记录','Empty\x20history':'空历史记录','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'向\x20AI\x20提问,您的提示词将在此处列出,供您以后使用。','Prompt\x20history':'提示词历史记录','AI_REPLACE_CONTENT':'替换','AI_INSERT_CONTENT':'插入','AI_ERROR_GET_HEADERS':'准备请求头失败','AI_ERROR_GET_PARAMETERS':'请求参数准备失败','AI_ERROR_UNSUPPORTED_MODEL':'不支持请求的\x20AI\x20模型\x20(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'选择的内容过长','AI_ERROR_MODERATION':'请求的查询不符合审查规则','AI_ERROR_FAILED':'跟\x20AI\x20服务通信失败','Other':'其他'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Edit\x20or\x20review':'编辑或审核','Improve\x20writing':'改进写作','Make\x20shorter':'缩短','Make\x20longer':'加长','Simplify\x20language':'简化语言','Generate\x20from\x20selection':'根据选择内容生成','Summarize':'摘要','Continue':'继续','Change\x20tone':'更改基调','Professional':'专业','Casual':'随意','Direct':'直接','Confident':'自信','Friendly':'友好','Change\x20style':'更改风格','Business':'商务','Legal':'法律','Journalism':'旅游','Poetic':'诗意','Translate':'翻译','English':'英语','Spanish':'西班牙语','German':'德语','Portuguese':'葡萄牙语','French':'法语','Simplified\x20Chinese':'简体中文','Hindi':'印地语','Arabic':'阿拉伯语','AI\x20Assistant':'AI\x20助手','AI\x20Commands':'AI\x20命令','Ask\x20AI\x20to\x20edit\x20or\x20generate':'要求\x20AI\x20编辑或生成','Ask\x20AI\x20to\x20improve\x20generated\x20text':'要求\x20AI\x20改进生成的文本','Copy':'复制','Submit':'提交','Insert\x20below':'在下面插入','Try\x20again':'重试','Stop':'停止','AI\x20is\x20writing...':'AI\x20正在撰写……','AI\x20is\x20writing':'人工智能正在写作','Generated\x20content:\x20%0':'生成的内容:%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'人工智能生成内容时出错:%0','History':'历史记录','Empty\x20history':'空历史记录','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'向\x20AI\x20提问,您的提示词将在此处列出,供您以后使用。','Prompt\x20history':'提示词历史记录','AI_REPLACE_CONTENT':'替换','AI_INSERT_CONTENT':'插入','AI_ERROR_GET_HEADERS':'准备请求头失败','AI_ERROR_GET_PARAMETERS':'请求参数准备失败','AI_ERROR_UNSUPPORTED_MODEL':'不支持请求的\x20AI\x20模型\x20(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'选择的内容过长','AI_ERROR_MODERATION':'请求的查询不符合审查规则','AI_ERROR_FAILED':'跟\x20AI\x20服务通信失败','Other':'其他'},'getPluralForm':_0x4eba6f=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x23e837=>{const {'zh-cn':{dictionary:_0x16c426,getPluralForm:_0xac5503}}={'zh-cn':{'dictionary':{'Edit\x20or\x20review':'编辑或审核','Improve\x20writing':'改进写作','Make\x20shorter':'缩短','Make\x20longer':'加长','Simplify\x20language':'简化语言','Generate\x20from\x20selection':'根据选择内容生成','Summarize':'摘要','Continue':'继续','Change\x20tone':'更改基调','Professional':'专业','Casual':'随意','Direct':'直接','Confident':'自信','Friendly':'友好','Change\x20style':'更改风格','Business':'商务','Legal':'法律','Journalism':'旅游','Poetic':'诗意','Translate':'翻译','English':'英语','Spanish':'西班牙语','German':'德语','Portuguese':'葡萄牙语','French':'法语','Simplified\x20Chinese':'简体中文','Hindi':'印地语','Arabic':'阿拉伯语','AI\x20Assistant':'AI\x20助手','AI\x20Commands':'AI\x20命令','Ask\x20AI\x20to\x20edit\x20or\x20generate':'要求\x20AI\x20编辑或生成','Ask\x20AI\x20to\x20improve\x20generated\x20text':'要求\x20AI\x20改进生成的文本','Copy':'复制','Submit':'提交','Insert\x20below':'在下面插入','Try\x20again':'重试','Stop':'停止','AI\x20is\x20writing...':'AI\x20正在撰写……','AI\x20is\x20writing':'人工智能正在写作','Generated\x20content:\x20%0':'生成的内容:%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'人工智能生成内容时出错:%0','History':'历史记录','Empty\x20history':'空历史记录','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'向\x20AI\x20提问,您的提示词将在此处列出,供您以后使用。','Prompt\x20history':'提示词历史记录','AI_REPLACE_CONTENT':'替换','AI_INSERT_CONTENT':'插入','AI_ERROR_GET_HEADERS':'准备请求头失败','AI_ERROR_GET_PARAMETERS':'请求参数准备失败','AI_ERROR_UNSUPPORTED_MODEL':'不支持请求的\x20AI\x20模型\x20(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'选择的内容过长','AI_ERROR_MODERATION':'请求的查询不符合审查规则','AI_ERROR_FAILED':'跟\x20AI\x20服务通信失败','Other':'其他'},'getPluralForm':_0x1d9541=>0x0}};_0x23e837['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x23e837['zh-cn']['dictionary']=Object['assign'](_0x23e837['zh-cn']['dictionary'],_0x16c426),_0x23e837['zh-cn']['getPluralForm']=_0xac5503;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Edit\x20or\x20review':'編輯或檢閱','Improve\x20writing':'改善寫作','Make\x20shorter':'短一點','Make\x20longer':'長一點','Simplify\x20language':'簡化用語','Generate\x20from\x20selection':'依選擇範圍生成','Summarize':'總結','Continue':'繼續','Change\x20tone':'改變語調','Professional':'專業','Casual':'非正式','Direct':'直接','Confident':'自信','Friendly':'友善','Change\x20style':'改變風格','Business':'業務','Legal':'法務','Journalism':'報導','Poetic':'詩意','Translate':'翻譯','English':'英文','Spanish':'西班牙文','German':'德文','Portuguese':'葡萄牙文','French':'法文','Simplified\x20Chinese':'簡體中文','Hindi':'印地文','Arabic':'阿拉伯文','AI\x20Assistant':'AI\x20助理','AI\x20Commands':'AI\x20指令','Ask\x20AI\x20to\x20edit\x20or\x20generate':'要求\x20AI\x20編輯或生成內容','Ask\x20AI\x20to\x20improve\x20generated\x20text':'要求\x20AI\x20改善生成的文字','Copy':'複製','Submit':'送出','Insert\x20below':'在下方插入','Try\x20again':'重試','Stop':'停止','AI\x20is\x20writing...':'AI\x20撰寫中...','AI\x20is\x20writing':'AI\x20撰寫中','Generated\x20content:\x20%0':'生成的內容:%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'AI\x20內容生成期間發生錯誤:%0','History':'紀錄','Empty\x20history':'無紀錄','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'要求\x20AI\x20和您的提示詞會列出在此處,供您稍後使用。','Prompt\x20history':'提示詞紀錄','AI_REPLACE_CONTENT':'取代','AI_INSERT_CONTENT':'插入','AI_ERROR_GET_HEADERS':'要求標頭準備失敗','AI_ERROR_GET_PARAMETERS':'要求參數準備失敗','AI_ERROR_UNSUPPORTED_MODEL':'不支援要求的\x20AI\x20模型(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'選取內容過長','AI_ERROR_MODERATION':'提交的要求未通過審核規則','AI_ERROR_FAILED':'與\x20AI\x20服務通訊失敗','Other':'其他'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Edit\x20or\x20review':'編輯或檢閱','Improve\x20writing':'改善寫作','Make\x20shorter':'短一點','Make\x20longer':'長一點','Simplify\x20language':'簡化用語','Generate\x20from\x20selection':'依選擇範圍生成','Summarize':'總結','Continue':'繼續','Change\x20tone':'改變語調','Professional':'專業','Casual':'非正式','Direct':'直接','Confident':'自信','Friendly':'友善','Change\x20style':'改變風格','Business':'業務','Legal':'法務','Journalism':'報導','Poetic':'詩意','Translate':'翻譯','English':'英文','Spanish':'西班牙文','German':'德文','Portuguese':'葡萄牙文','French':'法文','Simplified\x20Chinese':'簡體中文','Hindi':'印地文','Arabic':'阿拉伯文','AI\x20Assistant':'AI\x20助理','AI\x20Commands':'AI\x20指令','Ask\x20AI\x20to\x20edit\x20or\x20generate':'要求\x20AI\x20編輯或生成內容','Ask\x20AI\x20to\x20improve\x20generated\x20text':'要求\x20AI\x20改善生成的文字','Copy':'複製','Submit':'送出','Insert\x20below':'在下方插入','Try\x20again':'重試','Stop':'停止','AI\x20is\x20writing...':'AI\x20撰寫中...','AI\x20is\x20writing':'AI\x20撰寫中','Generated\x20content:\x20%0':'生成的內容:%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'AI\x20內容生成期間發生錯誤:%0','History':'紀錄','Empty\x20history':'無紀錄','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'要求\x20AI\x20和您的提示詞會列出在此處,供您稍後使用。','Prompt\x20history':'提示詞紀錄','AI_REPLACE_CONTENT':'取代','AI_INSERT_CONTENT':'插入','AI_ERROR_GET_HEADERS':'要求標頭準備失敗','AI_ERROR_GET_PARAMETERS':'要求參數準備失敗','AI_ERROR_UNSUPPORTED_MODEL':'不支援要求的\x20AI\x20模型(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'選取內容過長','AI_ERROR_MODERATION':'提交的要求未通過審核規則','AI_ERROR_FAILED':'與\x20AI\x20服務通訊失敗','Other':'其他'},'getPluralForm':_0x2ec64e=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2837ef=>{const {zh:{dictionary:_0x5816cf,getPluralForm:_0x59ec31}}={'zh':{'dictionary':{'Edit\x20or\x20review':'編輯或檢閱','Improve\x20writing':'改善寫作','Make\x20shorter':'短一點','Make\x20longer':'長一點','Simplify\x20language':'簡化用語','Generate\x20from\x20selection':'依選擇範圍生成','Summarize':'總結','Continue':'繼續','Change\x20tone':'改變語調','Professional':'專業','Casual':'非正式','Direct':'直接','Confident':'自信','Friendly':'友善','Change\x20style':'改變風格','Business':'業務','Legal':'法務','Journalism':'報導','Poetic':'詩意','Translate':'翻譯','English':'英文','Spanish':'西班牙文','German':'德文','Portuguese':'葡萄牙文','French':'法文','Simplified\x20Chinese':'簡體中文','Hindi':'印地文','Arabic':'阿拉伯文','AI\x20Assistant':'AI\x20助理','AI\x20Commands':'AI\x20指令','Ask\x20AI\x20to\x20edit\x20or\x20generate':'要求\x20AI\x20編輯或生成內容','Ask\x20AI\x20to\x20improve\x20generated\x20text':'要求\x20AI\x20改善生成的文字','Copy':'複製','Submit':'送出','Insert\x20below':'在下方插入','Try\x20again':'重試','Stop':'停止','AI\x20is\x20writing...':'AI\x20撰寫中...','AI\x20is\x20writing':'AI\x20撰寫中','Generated\x20content:\x20%0':'生成的內容:%0','Error\x20during\x20AI\x20content\x20generation:\x20%0':'AI\x20內容生成期間發生錯誤:%0','History':'紀錄','Empty\x20history':'無紀錄','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'要求\x20AI\x20和您的提示詞會列出在此處,供您稍後使用。','Prompt\x20history':'提示詞紀錄','AI_REPLACE_CONTENT':'取代','AI_INSERT_CONTENT':'插入','AI_ERROR_GET_HEADERS':'要求標頭準備失敗','AI_ERROR_GET_PARAMETERS':'要求參數準備失敗','AI_ERROR_UNSUPPORTED_MODEL':'不支援要求的\x20AI\x20模型(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'選取內容過長','AI_ERROR_MODERATION':'提交的要求未通過審核規則','AI_ERROR_FAILED':'與\x20AI\x20服務通訊失敗','Other':'其他'},'getPluralForm':_0x5df6cc=>0x0}};_0x2837ef['zh']||={'dictionary':{},'getPluralForm':null},_0x2837ef['zh']['dictionary']=Object['assign'](_0x2837ef['zh']['dictionary'],_0x5816cf),_0x2837ef['zh']['getPluralForm']=_0x59ec31;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ai",
|
|
3
|
-
"version": "44.0.0-alpha.
|
|
3
|
+
"version": "44.0.0-alpha.2",
|
|
4
4
|
"description": "AI Assistant feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@aws-sdk/client-bedrock-runtime": "3.621.0",
|
|
27
|
-
"@ckeditor/ckeditor5-clipboard": "44.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-core": "44.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-engine": "44.0.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.
|
|
32
|
-
"ckeditor5": "44.0.0-alpha.
|
|
33
|
-
"ckeditor5-collaboration": "44.0.0-alpha.
|
|
27
|
+
"@ckeditor/ckeditor5-clipboard": "44.0.0-alpha.2",
|
|
28
|
+
"@ckeditor/ckeditor5-core": "44.0.0-alpha.2",
|
|
29
|
+
"@ckeditor/ckeditor5-engine": "44.0.0-alpha.2",
|
|
30
|
+
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.2",
|
|
31
|
+
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.2",
|
|
32
|
+
"ckeditor5": "44.0.0-alpha.2",
|
|
33
|
+
"ckeditor5-collaboration": "44.0.0-alpha.2",
|
|
34
34
|
"lodash-es": "4.17.21"
|
|
35
35
|
},
|
|
36
36
|
"type": "module",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x420082=_0x31ed;function _0x31ed(_0x184f16,_0x9cb3fd){var _0x5d6f0f=_0x5d6f();return _0x31ed=function(_0x31eddc,_0x357584){_0x31eddc=_0x31eddc-0xe0;var _0x540b29=_0x5d6f0f[_0x31eddc];return _0x540b29;},_0x31ed(_0x184f16,_0x9cb3fd);}(function(_0x1600b1,_0x3020fe){var _0x1ca966=_0x31ed,_0x2ce388=_0x1600b1();while(!![]){try{var _0x1bd344=parseInt(_0x1ca966(0xe9))/0x1*(-parseInt(_0x1ca966(0xe1))/0x2)+parseInt(_0x1ca966(0xea))/0x3+-parseInt(_0x1ca966(0xeb))/0x4*(parseInt(_0x1ca966(0xe2))/0x5)+-parseInt(_0x1ca966(0xe5))/0x6+parseInt(_0x1ca966(0xe3))/0x7*(-parseInt(_0x1ca966(0xe8))/0x8)+parseInt(_0x1ca966(0xf0))/0x9+parseInt(_0x1ca966(0xf2))/0xa;if(_0x1bd344===_0x3020fe)break;else _0x2ce388['push'](_0x2ce388['shift']());}catch(_0x2c469f){_0x2ce388['push'](_0x2ce388['shift']());}}}(_0x5d6f,0x740cc));import{Plugin as _0x558903}from'ckeditor5/src/core.js';import{CKEditorError as _0x5b3370}from'ckeditor5/src/utils.js';export default class v extends _0x558903{static get[_0x420082(0xe0)](){var _0x505425=_0x420082;return _0x505425(0xee);}static get[_0x420082(0xe6)](){return!0x0;}static get[_0x420082(0xef)](){return!0x0;}[_0x420082(0xf1)](){var _0x5676d2=_0x420082;if(!this[_0x5676d2(0xed)])throw new _0x5b3370(_0x5676d2(0xe4),null);}}export class AIRequestError extends Error{constructor(_0x3515dc){var _0x4799bf=_0x420082;super(_0x3515dc),this[_0x4799bf(0xec)]=_0x4799bf(0xe7);}}function _0x5d6f(){var _0x55b0b7=['849704WZdjeq','67FEYnuf','1892067oohEZq','44xCcFXm','name','textAdapter','AIAdapter','isPremiumPlugin','8121582SXeZke','afterInit','8768350RbKVts','pluginName','22634oCXNEO','218035vjBEfh','14EZiofK','aiadapter-text-adapter-not-set','2905440adZzoT','isOfficialPlugin','AIRequestError'];_0x5d6f=function(){return _0x55b0b7;};return _0x5d6f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ea101=_0x5527;(function(_0xc89d6d,_0x3b6c50){const _0x4a9739=_0x5527,_0x283981=_0xc89d6d();while(!![]){try{const _0x3558ee=parseInt(_0x4a9739(0x176))/0x1*(-parseInt(_0x4a9739(0x15c))/0x2)+-parseInt(_0x4a9739(0x16c))/0x3*(-parseInt(_0x4a9739(0x162))/0x4)+parseInt(_0x4a9739(0x165))/0x5+-parseInt(_0x4a9739(0x169))/0x6+-parseInt(_0x4a9739(0x171))/0x7+parseInt(_0x4a9739(0x15d))/0x8+parseInt(_0x4a9739(0x15b))/0x9;if(_0x3558ee===_0x3b6c50)break;else _0x283981['push'](_0x283981['shift']());}catch(_0x5d04a4){_0x283981['push'](_0x283981['shift']());}}}(_0x33c4,0x6cfca));import{Plugin as _0x529fac}from'ckeditor5/src/core.js';import{CKEditorError as _0x8c6b93}from'ckeditor5/src/utils.js';import{default as _0x88844c,AIRequestError as _0x5b14fe}from'./aiadapter.js';import{getTranslation as _0x473565}from'../utils/common-translations.js';function _0x5527(_0x46f134,_0x68a7d5){const _0x33c4a2=_0x33c4();return _0x5527=function(_0x5527bd,_0x53de50){_0x5527bd=_0x5527bd-0x153;let _0x29bfec=_0x33c4a2[_0x5527bd];return _0x29bfec;},_0x5527(_0x46f134,_0x68a7d5);}export default class P extends _0x529fac{static get[_0x3ea101(0x15a)](){return[_0x88844c];}constructor(_0x3ed8f5){const _0x5a35b9=_0x3ea101;super(_0x3ed8f5),this[_0x5a35b9(0x155)]=new AbortController();}[_0x3ea101(0x167)](){const _0x54ac27=_0x3ea101;this[_0x54ac27(0x158)][_0x54ac27(0x166)][_0x54ac27(0x170)](_0x88844c)[_0x54ac27(0x173)]=this;}[_0x3ea101(0x153)](){const _0x57a9be=_0x3ea101;this[_0x57a9be(0x155)][_0x57a9be(0x164)][_0x57a9be(0x163)]||(this[_0x57a9be(0x155)][_0x57a9be(0x153)](),this[_0x57a9be(0x155)]=new AbortController());}async[_0x3ea101(0x156)](_0x49383f){const _0x57e06c=_0x3ea101;return this[_0x57e06c(0x159)](_0x49383f)[_0x57e06c(0x161)](_0x3349ed=>{const _0x2c551f=_0x57e06c;if(_0x3349ed instanceof _0x5b14fe)return Promise[_0x2c551f(0x16a)](_0x3349ed);if(_0x2c551f(0x157)==_0x3349ed[_0x2c551f(0x160)])return Promise[_0x2c551f(0x15f)]();throw console[_0x2c551f(0x172)](_0x3349ed),new _0x8c6b93(_0x2c551f(0x168),null);});}async[_0x3ea101(0x15e)](_0x3cb69c,_0x2d79f7){const _0x53160f=_0x3ea101,_0x234cdc=this[_0x53160f(0x158)][_0x53160f(0x16f)],_0xb973e2={'Content-Type':_0x53160f(0x16d)};if(_0x53160f(0x16e)==typeof _0x3cb69c)Object[_0x53160f(0x174)](_0xb973e2,_0x3cb69c);else{if(_0x3cb69c)try{const _0x21164c=await _0x3cb69c(_0x2d79f7);Object[_0x53160f(0x174)](_0xb973e2,_0x21164c);}catch(_0x3bf480){return Promise[_0x53160f(0x16a)](new _0x5b14fe(_0x473565(_0x234cdc,_0x53160f(0x16b))));}}return _0xb973e2;}async[_0x3ea101(0x175)](_0x2626ad,_0x3e2af4){const _0x43b13c=_0x3ea101,_0x5aa355=this[_0x43b13c(0x158)][_0x43b13c(0x16f)];if(_0x43b13c(0x16e)==typeof _0x2626ad)return _0x2626ad;try{return await _0x2626ad(_0x3e2af4);}catch(_0x3a2710){return Promise[_0x43b13c(0x16a)](new _0x5b14fe(_0x473565(_0x5aa355,_0x43b13c(0x154))));}}}function _0x33c4(){const _0x5c8ee1=['5213136gDfHds','_prepareRequestHeaders','resolve','name','catch','680uBhqYk','aborted','signal','2074545jRSPyH','plugins','init','aitextadapter-send-request-failed','1589934dhfSIX','reject','AI_ERROR_GET_HEADERS','771JucMaI','application/json','object','locale','get','5806843oRWRoA','error','textAdapter','assign','_prepareRequestParameters','1USqPlB','abort','AI_ERROR_GET_PARAMETERS','abortController','makeRequest','AbortError','editor','sendRequest','requires','7189164LathRw','736178lfuaJh'];_0x33c4=function(){return _0x5c8ee1;};return _0x33c4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x40c0(_0x3bce30,_0x408ec2){const _0x150b71=_0x150b();return _0x40c0=function(_0x40c0d3,_0x52e338){_0x40c0d3=_0x40c0d3-0x1a0;let _0x308fba=_0x150b71[_0x40c0d3];return _0x308fba;},_0x40c0(_0x3bce30,_0x408ec2);}const _0x539f25=_0x40c0;(function(_0x265da9,_0x21e4af){const _0x14ab2f=_0x40c0,_0x193e32=_0x265da9();while(!![]){try{const _0x2fd489=-parseInt(_0x14ab2f(0x1be))/0x1+parseInt(_0x14ab2f(0x1a7))/0x2+-parseInt(_0x14ab2f(0x1e0))/0x3*(parseInt(_0x14ab2f(0x1d3))/0x4)+parseInt(_0x14ab2f(0x1c2))/0x5*(-parseInt(_0x14ab2f(0x1a8))/0x6)+-parseInt(_0x14ab2f(0x1c7))/0x7+-parseInt(_0x14ab2f(0x1b4))/0x8+parseInt(_0x14ab2f(0x1bc))/0x9;if(_0x2fd489===_0x21e4af)break;else _0x193e32['push'](_0x193e32['shift']());}catch(_0x7d3b2b){_0x193e32['push'](_0x193e32['shift']());}}}(_0x150b,0xe8bbf));import{default as _0x4bc39f}from'./aitextadapter.js';function _0x150b(){const _0x44a201=['map','completion','55612tMlojS','chunk','define','_prepareRequestHeaders','_readStaticResponse','data','editor','text','read','toString','abortController','_processProxyRequest','cohere.command','81ZGapjE','send','ai.aws.apiUrl','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','ai.aws.requestHeaders','body','_requestParameters','filter','_getGeneratedText','ai21.j2','sendRequest','meta.llama','Instruction:\x0a','_readAsyncIterableResponse','\x0a<</SYS>>\x0a[INST]\x0a','locale','signal','getReader','get','config','_processAWSRequest','Human:\x0a','\x0a[/INST]','resolve','_prepareRequestParameters','2191732GKhLNC','598056tuuEsY','utf-8','anthropic.claude','from','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.','generations','ai.aws.requestParameters','AWSTextAdapter','join','application/json','json','utf8','14116424RuBxOI','\x0a\x0aAssistant:','AI_ERROR_UNSUPPORTED_MODEL','getModelFamily','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.','split','<<SYS>>\x0a','_requestHeaders','51151050ztHiYH','POST','412280WEBxPT','test','bytes','stringify','95VYTVoF','completions','preparePrompt','decode','anthropic.claude-v2','9659853lhhlBP','_apiUrl','_readStreamableResponse','_bedrockClientConfig','bedrock-2023-05-31','parse','generation','pluginName','length','ai.aws.bedrockClientConfig'];_0x150b=function(){return _0x44a201;};return _0x150b();}import{AIRequestError as _0x489c54}from'./aiadapter.js';import{BedrockRuntimeClient as _0x49ca20,InvokeModelCommand as _0x2d1f50,InvokeModelWithResponseStreamCommand as _0x20e53f}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x14ba10}from'../utils/common-translations.js';export default class O extends _0x4bc39f{static get[_0x539f25(0x1ce)](){const _0x5a1642=_0x539f25;return _0x5a1642(0x1af);}constructor(_0x2eb918){const _0x33289e=_0x539f25;super(_0x2eb918),_0x2eb918[_0x33289e(0x1a1)][_0x33289e(0x1a0)](_0x33289e(0x1ae))||_0x2eb918[_0x33289e(0x1a1)][_0x33289e(0x1d5)](_0x33289e(0x1ae),{'model':_0x33289e(0x1c6),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x33289e(0x1cb),'stream':!0x0}),this[_0x33289e(0x1c8)]=_0x2eb918[_0x33289e(0x1a1)][_0x33289e(0x1a0)](_0x33289e(0x1e2)),this[_0x33289e(0x1ca)]=_0x2eb918[_0x33289e(0x1a1)][_0x33289e(0x1a0)](_0x33289e(0x1d0)),this[_0x33289e(0x1bb)]=_0x2eb918[_0x33289e(0x1a1)][_0x33289e(0x1a0)](_0x33289e(0x1e4)),this[_0x33289e(0x1e6)]=_0x2eb918[_0x33289e(0x1a1)][_0x33289e(0x1a0)](_0x33289e(0x1ae));}async[_0x539f25(0x1ea)]({query:_0x5d0004,context:_0x388f47,onData:_0x1d18ff,actionId:_0x1603cc}){const _0x3609ed=_0x539f25,{model:_0x2699b2,stream:_0x208082,..._0x39df95}=await this[_0x3609ed(0x1a6)](this[_0x3609ed(0x1e6)],_0x1603cc),_0x937718={'prompt':await this[_0x3609ed(0x1c4)](_0x5d0004,_0x388f47,_0x2699b2,_0x1603cc),..._0x39df95};this[_0x3609ed(0x1c8)]?await this[_0x3609ed(0x1de)](_0x937718,_0x2699b2,_0x208082,_0x1d18ff,_0x1603cc):await this[_0x3609ed(0x1a2)](_0x937718,_0x2699b2,_0x208082,_0x1d18ff);}async[_0x539f25(0x1c4)](_0x377736,_0x2e4f8b,_0xd64c83,_0x557af4){const _0xdd19e=_0x539f25;let _0x22568f,_0x2f5dc1;return _0x2e4f8b?(_0x22568f=_0xdd19e(0x1ac),_0x2f5dc1=_0xdd19e(0x1ec)+_0x377736+_0xdd19e(0x1e3)+_0x2e4f8b):(_0x22568f=_0xdd19e(0x1b8),_0x2f5dc1=_0x377736),_0xdd19e(0x1eb)==this[_0xdd19e(0x1b7)](_0xd64c83)?_0xdd19e(0x1ba)+_0x22568f+_0xdd19e(0x1ee)+_0x2f5dc1+_0xdd19e(0x1a4):_0xdd19e(0x1a3)+_0x22568f+'\x0a'+_0x2f5dc1+_0xdd19e(0x1b5);}[_0x539f25(0x1b7)](_0x4d64be){const _0x587b16=_0x539f25;if(/^anthropic\.claude/[_0x587b16(0x1bf)](_0x4d64be))return _0x587b16(0x1aa);if(/^ai21\.j2/[_0x587b16(0x1bf)](_0x4d64be))return _0x587b16(0x1e9);if(/^cohere\.command/[_0x587b16(0x1bf)](_0x4d64be))return _0x587b16(0x1df);if(/^meta\.llama/[_0x587b16(0x1bf)](_0x4d64be))return _0x587b16(0x1eb);throw new _0x489c54(_0x14ba10(this[_0x587b16(0x1d9)][_0x587b16(0x1ef)],_0x587b16(0x1b6),_0x4d64be));}async[_0x539f25(0x1de)](_0x5f03f8,_0x3c3137,_0x1110c1,_0x12f3ec,_0x1a9831){const _0xd6db0c=_0x539f25,_0x5e26f9={'method':_0xd6db0c(0x1bd),'headers':await this[_0xd6db0c(0x1d6)](this[_0xd6db0c(0x1bb)],_0x1a9831),'body':JSON[_0xd6db0c(0x1c1)]({..._0x5f03f8,'model':_0x3c3137,'stream':_0x1110c1}),'signal':this[_0xd6db0c(0x1dd)][_0xd6db0c(0x1f0)]},_0x3a8f46=await fetch(this[_0xd6db0c(0x1c8)],_0x5e26f9);_0x1110c1?await this[_0xd6db0c(0x1c9)](_0x3a8f46,_0x3c3137,_0x12f3ec):await this[_0xd6db0c(0x1d7)](_0x3a8f46,_0x3c3137,_0x12f3ec);}async[_0x539f25(0x1a2)](_0x24f0ba,_0x1c187e,_0x171f96,_0xbea208){const _0x11e028=_0x539f25,_0xaf1b47=new _0x49ca20(this[_0x11e028(0x1ca)]),_0x5d7d63={'body':JSON[_0x11e028(0x1c1)](_0x24f0ba),'contentType':_0x11e028(0x1b1),'accept':_0x11e028(0x1b1),'modelId':_0x1c187e};let _0x2227cc;if(_0x171f96){const _0x324323=new _0x20e53f(_0x5d7d63);_0x2227cc=await _0xaf1b47[_0x11e028(0x1e1)](_0x324323,{'abortSignal':this[_0x11e028(0x1dd)][_0x11e028(0x1f0)]}),await this[_0x11e028(0x1ed)](_0x2227cc,_0x1c187e,_0xbea208);}else{const _0x59dc73=new _0x2d1f50(_0x5d7d63);_0x2227cc=await _0xaf1b47[_0x11e028(0x1e1)](_0x59dc73,{'abortSignal':this[_0x11e028(0x1dd)][_0x11e028(0x1f0)]}),await this[_0x11e028(0x1d7)](_0x2227cc,_0x1c187e,_0xbea208);}}async[_0x539f25(0x1ed)](_0x2c05c5,_0x415f15,_0x2cdf3b){const _0x38f644=_0x539f25,_0xc0dfe2=_0x2c05c5[_0x38f644(0x1e5)],_0x4b367b=new TextDecoder(_0x38f644(0x1a9));let _0x113c67='';for await(const _0x5afaf5 of _0xc0dfe2)if(_0x5afaf5[_0x38f644(0x1d4)]){const _0x1bcf96=_0x4b367b[_0x38f644(0x1c5)](_0x5afaf5[_0x38f644(0x1d4)][_0x38f644(0x1c0)]),_0x153f84=JSON[_0x38f644(0x1cc)](_0x1bcf96);_0x113c67+=this[_0x38f644(0x1e8)](_0x153f84,_0x415f15),_0x2cdf3b(_0x113c67);}return Promise[_0x38f644(0x1a5)]();}async[_0x539f25(0x1c9)](_0x524dbd,_0x280fe3,_0x10ef45){const _0x180ca9=_0x539f25,_0x5c5e80=_0x524dbd[_0x180ca9(0x1e5)],_0x46e1c8=new TextDecoder(_0x180ca9(0x1a9)),_0x5e4a02=_0x5c5e80[_0x180ca9(0x1f1)]();let _0x554505='',_0xe3cb3b='',_0x1e84ca=!0x1;for(;!_0x1e84ca;){const {done:_0x285434,value:_0x24d8a2}=await _0x5e4a02[_0x180ca9(0x1db)]();if(_0x1e84ca=_0x285434,_0x1e84ca)break;const _0x3c16dc=(_0x554505+_0x46e1c8[_0x180ca9(0x1c5)](_0x24d8a2))[_0x180ca9(0x1b9)]('\x0a')[_0x180ca9(0x1d1)](_0x3ee23f=>{const _0xda68ed=_0x180ca9;try{return _0x554505='',JSON[_0xda68ed(0x1cc)](_0x3ee23f);}catch(_0x1e28c0){return _0x554505=_0x3ee23f,null;}})[_0x180ca9(0x1e7)](_0x5848c0=>null!==_0x5848c0);_0x3c16dc[_0x180ca9(0x1cf)]&&(_0xe3cb3b+=_0x3c16dc[_0x180ca9(0x1d1)](_0x417851=>this[_0x180ca9(0x1e8)](_0x417851,_0x280fe3))[_0x180ca9(0x1b0)](''),_0x10ef45(_0xe3cb3b));}return Promise[_0x180ca9(0x1a5)]();}async[_0x539f25(0x1d7)](_0x554e4c,_0x4cf4c0,_0x905e39){const _0x3e669b=_0x539f25;let _0x50105f;return _0x50105f=_0x554e4c instanceof Response?await _0x554e4c[_0x3e669b(0x1b2)]():JSON[_0x3e669b(0x1cc)](Buffer[_0x3e669b(0x1ab)](_0x554e4c[_0x3e669b(0x1e5)])[_0x3e669b(0x1dc)](_0x3e669b(0x1b3))),(_0x905e39(this[_0x3e669b(0x1e8)](_0x50105f,_0x4cf4c0)),Promise[_0x3e669b(0x1a5)]());}[_0x539f25(0x1e8)](_0x5581f6,_0xe52a7d){const _0x369262=_0x539f25;switch(this[_0x369262(0x1b7)](_0xe52a7d)){case _0x369262(0x1aa):return _0x5581f6[_0x369262(0x1d2)];case _0x369262(0x1e9):return _0x5581f6[_0x369262(0x1c3)][0x0][_0x369262(0x1d8)][_0x369262(0x1da)];case _0x369262(0x1df):return _0x5581f6[_0x369262(0x1ad)][0x0][_0x369262(0x1da)];case _0x369262(0x1eb):return _0x5581f6[_0x369262(0x1cd)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f0c8e=_0x3629;(function(_0x57422f,_0x5f2ac7){const _0x14abfd=_0x3629,_0x3c5298=_0x57422f();while(!![]){try{const _0x3a1ce6=parseInt(_0x14abfd(0xc1))/0x1*(-parseInt(_0x14abfd(0xad))/0x2)+parseInt(_0x14abfd(0xc2))/0x3+-parseInt(_0x14abfd(0xb2))/0x4*(-parseInt(_0x14abfd(0xa6))/0x5)+-parseInt(_0x14abfd(0xa8))/0x6+parseInt(_0x14abfd(0xc6))/0x7+parseInt(_0x14abfd(0xbf))/0x8*(-parseInt(_0x14abfd(0xbe))/0x9)+parseInt(_0x14abfd(0xcb))/0xa;if(_0x3a1ce6===_0x5f2ac7)break;else _0x3c5298['push'](_0x3c5298['shift']());}catch(_0x4f72a3){_0x3c5298['push'](_0x3c5298['shift']());}}}(_0x4b2c,0x7e1d6));function _0x3629(_0x197f82,_0x481c5f){const _0x4b2c8f=_0x4b2c();return _0x3629=function(_0x3629db,_0x9048d4){_0x3629db=_0x3629db-0xa2;let _0x4fcff3=_0x4b2c8f[_0x3629db];return _0x4fcff3;},_0x3629(_0x197f82,_0x481c5f);}function _0x4b2c(){const _0xaf627d=['\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','filter','editor','map','ai.openAI.requestHeaders','349185DsZwNu','[DONE]','3650538BqThQa','AI_ERROR_MODERATION','POST','AI_ERROR_CONTEXT_LENGTH','Moderation','3320mJloGJ','pluginName','signal','reject','prepareMessages','52egzNBK','json','resolve','_prepareRequestParameters','get','locale','read','define','_readStreamableResponse','decode','length','_prepareRequestHeaders','6183ObIoBD','8480Mgnalk','Instruction:\x0a','407rnnDzB','2534085jBLYDW','ai.openAI.requestParameters','user','https://api.openai.com/v1/chat/completions','3269679PPxMeJ','body','includes','content','split','3091560KRUPlh','parse','config','_requestHeaders','OpenAITextAdapter','context_length_exceeded','data:\x20','message','abortController','system','choices','delta','getReader','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.','sendRequest','gpt-3.5-turbo','text','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.','_apiUrl','_readStaticResponse','join','stringify','replace','_cleanUpData','_isBufferIncomplete','ai.openAI.apiUrl','stream','_requestParameters'];_0x4b2c=function(){return _0xaf627d;};return _0x4b2c();}import{default as _0x506952}from'./aitextadapter.js';import{AIRequestError as _0x2bfcbf}from'./aiadapter.js';import{getTranslation as _0x392430}from'../utils/common-translations.js';export default class H extends _0x506952{static get[_0x4f0c8e(0xae)](){const _0xe7020f=_0x4f0c8e;return _0xe7020f(0xcf);}constructor(_0x10a7c7){const _0x900ec3=_0x4f0c8e;super(_0x10a7c7),_0x10a7c7[_0x900ec3(0xcd)][_0x900ec3(0xb9)](_0x900ec3(0xe4),_0x900ec3(0xc5)),_0x10a7c7[_0x900ec3(0xcd)][_0x900ec3(0xb6)](_0x900ec3(0xc3))||_0x10a7c7[_0x900ec3(0xcd)][_0x900ec3(0xb9)](_0x900ec3(0xc3),{'model':_0x900ec3(0xda),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x900ec3(0xdd)]=_0x10a7c7[_0x900ec3(0xcd)][_0x900ec3(0xb6)](_0x900ec3(0xe4)),this[_0x900ec3(0xce)]=_0x10a7c7[_0x900ec3(0xcd)][_0x900ec3(0xb6)](_0x900ec3(0xa5))||{},this[_0x900ec3(0xe6)]=_0x10a7c7[_0x900ec3(0xcd)][_0x900ec3(0xb6)](_0x900ec3(0xc3));}async[_0x4f0c8e(0xd9)]({query:_0x152aee,context:_0x141407,onData:_0x3db243,actionId:_0x31e2ae}){const _0x45bf8c=_0x4f0c8e,_0x1928b0=this[_0x45bf8c(0xa3)][_0x45bf8c(0xb7)],_0x24ad51=await this[_0x45bf8c(0xb1)](_0x152aee,_0x141407,_0x31e2ae),_0x32c68f=await this[_0x45bf8c(0xbd)](this[_0x45bf8c(0xce)],_0x31e2ae),_0x565be6=await this[_0x45bf8c(0xb5)](this[_0x45bf8c(0xe6)],_0x31e2ae),_0x47240d={'messages':_0x24ad51,..._0x565be6},_0x3f746f={'method':_0x45bf8c(0xaa),'headers':_0x32c68f,'body':JSON[_0x45bf8c(0xe0)](_0x47240d),'signal':this[_0x45bf8c(0xd3)][_0x45bf8c(0xaf)]},_0x532b99=await fetch(this[_0x45bf8c(0xdd)],_0x3f746f);if(_0x532b99['ok'])return _0x565be6[_0x45bf8c(0xe5)]?await this[_0x45bf8c(0xba)](_0x532b99,_0x3db243):await this[_0x45bf8c(0xde)](_0x532b99,_0x3db243),Promise[_0x45bf8c(0xb4)]();{const _0x2c5ae6=await _0x532b99[_0x45bf8c(0xdb)]();return _0x2c5ae6[_0x45bf8c(0xc8)](_0x45bf8c(0xd0))?Promise[_0x45bf8c(0xb0)](new _0x2bfcbf(_0x392430(_0x1928b0,_0x45bf8c(0xab)))):_0x2c5ae6[_0x45bf8c(0xc8)](_0x45bf8c(0xac))?Promise[_0x45bf8c(0xb0)](new _0x2bfcbf(_0x392430(_0x1928b0,_0x45bf8c(0xa9)))):Promise[_0x45bf8c(0xb0)](new Error(_0x2c5ae6));}}async[_0x4f0c8e(0xb1)](_0xf5f071,_0x3863cc,_0x5eed98){const _0x51e7be=_0x4f0c8e;let _0x3be5c7,_0xce3d85;return _0x3863cc?(_0x3be5c7=_0x51e7be(0xdc),_0xce3d85=_0x51e7be(0xc0)+_0xf5f071+_0x51e7be(0xe7)+_0x3863cc):(_0x3be5c7=_0x51e7be(0xd8),_0xce3d85=_0xf5f071),[{'role':_0x51e7be(0xd4),'content':_0x3be5c7},{'role':_0x51e7be(0xc4),'content':_0xce3d85}];}async[_0x4f0c8e(0xba)](_0x4c6861,_0x19bc49){const _0x33a179=_0x4f0c8e,_0x28cf2c=_0x4c6861[_0x33a179(0xc7)][_0x33a179(0xd7)](),_0x1397e6=new TextDecoder();let _0x101a68='',_0x58b068='',_0x3e0df8='',_0x11f196=!0x1;for(;!_0x11f196;){const {done:_0x3fff9a,value:_0xa8882}=await _0x28cf2c[_0x33a179(0xb8)](),_0x2ef32a=_0x101a68+_0x1397e6[_0x33a179(0xbb)](_0xa8882);let _0x553305='';_0x11f196=_0x3fff9a;try{_0x553305=this[_0x33a179(0xe2)](_0x2ef32a),_0x101a68='';}catch(_0x211cd7){_0x101a68=_0x2ef32a;continue;}_0x58b068+=_0x553305,!_0x11f196&&this[_0x33a179(0xe3)](_0x58b068)||_0x58b068&&(_0x3e0df8+=_0x58b068,_0x58b068='',_0x19bc49(_0x3e0df8));}return Promise[_0x33a179(0xb4)]();}async[_0x4f0c8e(0xde)](_0x43f92d,_0x4b58c4){const _0xdee035=_0x4f0c8e;return _0x4b58c4((await _0x43f92d[_0xdee035(0xb3)]())[_0xdee035(0xd5)][0x0][_0xdee035(0xd2)][_0xdee035(0xc9)]),Promise[_0xdee035(0xb4)]();}[_0x4f0c8e(0xe3)](_0x4a7fae){const _0x381b79=_0x4f0c8e,_0x1f0fb3=_0x4a7fae[_0x381b79(0xca)]('<')[_0x381b79(0xbc)]!==_0x4a7fae[_0x381b79(0xca)]('>')[_0x381b79(0xbc)],_0x3ceb64=_0x4a7fae[_0x381b79(0xbc)]<0x1e;return _0x1f0fb3&&_0x3ceb64;}[_0x4f0c8e(0xe2)](_0x504199){const _0x4585d3=_0x4f0c8e;return _0x504199[_0x4585d3(0xca)](/\n(?![^{]*\})/g)[_0x4585d3(0xa4)](_0x210d18=>_0x210d18[_0x4585d3(0xe1)](_0x4585d3(0xd1),''))[_0x4585d3(0xa2)](_0x59627b=>_0x59627b&&_0x59627b[_0x4585d3(0xbc)]>0x0&&_0x4585d3(0xa7)!==_0x59627b)[_0x4585d3(0xa4)](_0x762992=>{const _0x5dbb1a=_0x4585d3,{choices:_0x50470a}=JSON[_0x5dbb1a(0xcc)](_0x762992);if(_0x50470a[0x0]&&_0x50470a[0x0][_0x5dbb1a(0xd6)]&&_0x50470a[0x0][_0x5dbb1a(0xd6)][_0x5dbb1a(0xc9)])return _0x50470a[0x0][_0x5dbb1a(0xd6)][_0x5dbb1a(0xc9)];})[_0x4585d3(0xa2)](_0x5039a5=>_0x5039a5)[_0x4585d3(0xdf)]('');}}
|