@ckeditor/ckeditor5-ai 42.0.1-alpha.3 → 42.0.2-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.
- package/build/ai.js +1 -1
- package/dist/index-content.css +2 -0
- package/dist/index-editor.css +296 -319
- package/dist/index.js +2 -2
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -4
- 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/ui/aiassistantcontroller.js +2 -2
- package/src/ui/dropdown/aicommandslistview.js +1 -1
- package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
- package/src/ui/dropdown/labelwithhighlightview.js +1 -1
- 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/dist/{types/adapters → adapters}/aiadapter.d.ts +0 -0
- /package/dist/{types/adapters → adapters}/aitextadapter.d.ts +0 -0
- /package/dist/{types/adapters → adapters}/awstextadapter.d.ts +0 -0
- /package/dist/{types/adapters → adapters}/openaitextadapter.d.ts +0 -0
- /package/dist/{types/aiassistant.d.ts → aiassistant.d.ts} +0 -0
- /package/dist/{types/aiassistantediting.d.ts → aiassistantediting.d.ts} +0 -0
- /package/dist/{types/aiassistantui.d.ts → aiassistantui.d.ts} +0 -0
- /package/dist/{types/aiconfig.d.ts → aiconfig.d.ts} +0 -0
- /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/ui → ui}/aiassistantcontroller.d.ts +0 -0
- /package/dist/{types/ui → ui}/dropdown/aicommandslistview.d.ts +0 -0
- /package/dist/{types/ui → ui}/dropdown/buttonlabelwithhighlightview.d.ts +0 -0
- /package/dist/{types/ui → ui}/dropdown/labelwithhighlightview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformcontentarea.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformerrorview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformpromptview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformtoolbarview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aiformview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aihistorylistitemview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/aihistorylistview.d.ts +0 -0
- /package/dist/{types/ui → ui}/form/prompthistory.d.ts +0 -0
- /package/dist/{types/ui → ui}/showaiassistantcommand.d.ts +0 -0
- /package/dist/{types/utils → utils}/common-translations.d.ts +0 -0
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':'Перекласти','Translate\x20to\x20%0':'Перекласти\x20%0','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підказок','Search\x20AI\x20command':'Пошук\x20команди\x20ШІ','No\x20commands\x20found':'Жодних\x20команд\x20не\x20знайдено','No\x20commands\x20available':'Немає\x20доступних\x20команд','%0\x20commands\x20found':'Знайдено\x20%0\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ШІ'},'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':'Перекласти','Translate\x20to\x20%0':'Перекласти\x20%0','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підказок','Search\x20AI\x20command':'Пошук\x20команди\x20ШІ','No\x20commands\x20found':'Жодних\x20команд\x20не\x20знайдено','No\x20commands\x20available':'Немає\x20доступних\x20команд','%0\x20commands\x20found':'Знайдено\x20%0\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ШІ'},'getPluralForm':_0x562998=>_0x562998%0x1==0x0&&_0x562998%0xa==0x1&&_0x562998%0x64!=0xb?0x0:_0x562998%0x1==0x0&&_0x562998%0xa>=0x2&&_0x562998%0xa<=0x4&&(_0x562998%0x64<0xc||_0x562998%0x64>0xe)?0x1:_0x562998%0x1==0x0&&(_0x562998%0xa==0x0||_0x562998%0xa>=0x5&&_0x562998%0xa<=0x9||_0x562998%0x64>=0xb&&_0x562998%0x64<=0xe)?0x2:0x3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x329fee=>{const {uk:{dictionary:_0x40b410,getPluralForm:_0x793f85}}={'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':'Перекласти','Translate\x20to\x20%0':'Перекласти\x20%0','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підказок','Search\x20AI\x20command':'Пошук\x20команди\x20ШІ','No\x20commands\x20found':'Жодних\x20команд\x20не\x20знайдено','No\x20commands\x20available':'Немає\x20доступних\x20команд','%0\x20commands\x20found':'Знайдено\x20%0\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ШІ'},'getPluralForm':_0x3e06fa=>_0x3e06fa%0x1==0x0&&_0x3e06fa%0xa==0x1&&_0x3e06fa%0x64!=0xb?0x0:_0x3e06fa%0x1==0x0&&_0x3e06fa%0xa>=0x2&&_0x3e06fa%0xa<=0x4&&(_0x3e06fa%0x64<0xc||_0x3e06fa%0x64>0xe)?0x1:_0x3e06fa%0x1==0x0&&(_0x3e06fa%0xa==0x0||_0x3e06fa%0xa>=0x5&&_0x3e06fa%0xa<=0x9||_0x3e06fa%0x64>=0xb&&_0x3e06fa%0x64<=0xe)?0x2:0x3}};_0x329fee['uk']||={'dictionary':{},'getPluralForm':null},_0x329fee['uk']['dictionary']=Object['assign'](_0x329fee['uk']['dictionary'],_0x40b410),_0x329fee['uk']['getPluralForm']=_0x793f85;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
declare const translations: Translations;
|
|
8
8
|
export default 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':'','Translate\x20to\x20%0':'','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':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','%0\x20commands\x20found':'','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':''},'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':'','Translate\x20to\x20%0':'','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':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','%0\x20commands\x20found':'','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':''},'getPluralForm':_0x2e3108=>0x1!=_0x2e3108}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37f8f8=>{const {ur:{dictionary:_0x437b26,getPluralForm:_0x5c453c}}={'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':'','Translate\x20to\x20%0':'','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':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','%0\x20commands\x20found':'','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':''},'getPluralForm':_0x442c73=>0x1!=_0x442c73}};_0x37f8f8['ur']||={'dictionary':{},'getPluralForm':null},_0x37f8f8['ur']['dictionary']=Object['assign'](_0x37f8f8['ur']['dictionary'],_0x437b26),_0x37f8f8['ur']['getPluralForm']=_0x5c453c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
declare const translations: Translations;
|
|
8
8
|
export default 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':'','Translate\x20to\x20%0':'','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':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','%0\x20commands\x20found':'','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':''},'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':'','Translate\x20to\x20%0':'','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':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','%0\x20commands\x20found':'','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':''},'getPluralForm':_0x154bf5=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x190d08=>{const {uz:{dictionary:_0x25cfa3,getPluralForm:_0x192318}}={'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':'','Translate\x20to\x20%0':'','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':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','%0\x20commands\x20found':'','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':''},'getPluralForm':_0x3833c7=>0x0}};_0x190d08['uz']||={'dictionary':{},'getPluralForm':null},_0x190d08['uz']['dictionary']=Object['assign'](_0x190d08['uz']['dictionary'],_0x25cfa3),_0x190d08['uz']['getPluralForm']=_0x192318;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
declare const translations: Translations;
|
|
8
8
|
export default 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','Translate\x20to\x20%0':'Dịch\x20sang\x20%0','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','Search\x20AI\x20command':'Tìm\x20kiếm\x20lệnh\x20AI','No\x20commands\x20found':'Không\x20tìm\x20thấy\x20lệnh\x20nào','No\x20commands\x20available':'Không\x20có\x20lệnh\x20nào\x20khả\x20dụng','%0\x20commands\x20found':'Đã\x20tìm\x20thấy\x20%0\x20lệnh','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'},'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','Translate\x20to\x20%0':'Dịch\x20sang\x20%0','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','Search\x20AI\x20command':'Tìm\x20kiếm\x20lệnh\x20AI','No\x20commands\x20found':'Không\x20tìm\x20thấy\x20lệnh\x20nào','No\x20commands\x20available':'Không\x20có\x20lệnh\x20nào\x20khả\x20dụng','%0\x20commands\x20found':'Đã\x20tìm\x20thấy\x20%0\x20lệnh','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'},'getPluralForm':_0x589743=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x369fab=>{const {vi:{dictionary:_0x2af9d8,getPluralForm:_0x5a1f3b}}={'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','Translate\x20to\x20%0':'Dịch\x20sang\x20%0','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','Search\x20AI\x20command':'Tìm\x20kiếm\x20lệnh\x20AI','No\x20commands\x20found':'Không\x20tìm\x20thấy\x20lệnh\x20nào','No\x20commands\x20available':'Không\x20có\x20lệnh\x20nào\x20khả\x20dụng','%0\x20commands\x20found':'Đã\x20tìm\x20thấy\x20%0\x20lệnh','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'},'getPluralForm':_0x198daf=>0x0}};_0x369fab['vi']||={'dictionary':{},'getPluralForm':null},_0x369fab['vi']['dictionary']=Object['assign'](_0x369fab['vi']['dictionary'],_0x2af9d8),_0x369fab['vi']['getPluralForm']=_0x5a1f3b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
declare const translations: Translations;
|
|
8
8
|
export default 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':'翻译','Translate\x20to\x20%0':'翻译为%0','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':'提示词历史记录','Search\x20AI\x20command':'搜索\x20AI\x20命令','No\x20commands\x20found':'未找到命令','No\x20commands\x20available':'没有可用的命令','%0\x20commands\x20found':'找到\x20%0\x20个命令','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服务通信失败'},'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':'翻译','Translate\x20to\x20%0':'翻译为%0','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':'提示词历史记录','Search\x20AI\x20command':'搜索\x20AI\x20命令','No\x20commands\x20found':'未找到命令','No\x20commands\x20available':'没有可用的命令','%0\x20commands\x20found':'找到\x20%0\x20个命令','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服务通信失败'},'getPluralForm':_0x4f6cf0=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ec7d6=>{const {'zh-cn':{dictionary:_0xeab950,getPluralForm:_0x1d0e2b}}={'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':'翻译','Translate\x20to\x20%0':'翻译为%0','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':'提示词历史记录','Search\x20AI\x20command':'搜索\x20AI\x20命令','No\x20commands\x20found':'未找到命令','No\x20commands\x20available':'没有可用的命令','%0\x20commands\x20found':'找到\x20%0\x20个命令','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服务通信失败'},'getPluralForm':_0x3dc417=>0x0}};_0x3ec7d6['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x3ec7d6['zh-cn']['dictionary']=Object['assign'](_0x3ec7d6['zh-cn']['dictionary'],_0xeab950),_0x3ec7d6['zh-cn']['getPluralForm']=_0x1d0e2b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
declare const translations: Translations;
|
|
8
8
|
export default 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':'翻譯','Translate\x20to\x20%0':'翻譯為%0','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':'提示詞紀錄','Search\x20AI\x20command':'搜尋\x20AI\x20指令','No\x20commands\x20found':'找不到指令','No\x20commands\x20available':'無可用指令','%0\x20commands\x20found':'已找到\x20%0\x20個指令','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服務通訊失敗'},'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':'翻譯','Translate\x20to\x20%0':'翻譯為%0','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':'提示詞紀錄','Search\x20AI\x20command':'搜尋\x20AI\x20指令','No\x20commands\x20found':'找不到指令','No\x20commands\x20available':'無可用指令','%0\x20commands\x20found':'已找到\x20%0\x20個指令','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服務通訊失敗'},'getPluralForm':_0x566f46=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f8b67=>{const {zh:{dictionary:_0x3cd3ed,getPluralForm:_0x29948c}}={'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':'翻譯','Translate\x20to\x20%0':'翻譯為%0','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':'提示詞紀錄','Search\x20AI\x20command':'搜尋\x20AI\x20指令','No\x20commands\x20found':'找不到指令','No\x20commands\x20available':'無可用指令','%0\x20commands\x20found':'已找到\x20%0\x20個指令','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服務通訊失敗'},'getPluralForm':_0x3816e5=>0x0}};_0x3f8b67['zh']||={'dictionary':{},'getPluralForm':null},_0x3f8b67['zh']['dictionary']=Object['assign'](_0x3f8b67['zh']['dictionary'],_0x3cd3ed),_0x3f8b67['zh']['getPluralForm']=_0x29948c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ai",
|
|
3
|
-
"version": "42.0.
|
|
3
|
+
"version": "42.0.2-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,14 @@
|
|
|
23
23
|
"framework"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"ckeditor5": "42.0.1-alpha.3",
|
|
27
|
-
"ckeditor5-collaboration": "42.0.1-alpha.3",
|
|
28
26
|
"@aws-sdk/client-bedrock-runtime": "3.470.0",
|
|
29
|
-
"@ckeditor/ckeditor5-
|
|
27
|
+
"@ckeditor/ckeditor5-clipboard": "42.0.2-alpha.0",
|
|
28
|
+
"@ckeditor/ckeditor5-core": "42.0.2-alpha.0",
|
|
29
|
+
"@ckeditor/ckeditor5-engine": "42.0.2-alpha.0",
|
|
30
|
+
"@ckeditor/ckeditor5-ui": "42.0.2-alpha.0",
|
|
31
|
+
"@ckeditor/ckeditor5-utils": "42.0.2-alpha.0",
|
|
32
|
+
"ckeditor5": "42.0.2-alpha.0",
|
|
33
|
+
"ckeditor5-collaboration": "42.0.2-alpha.0",
|
|
30
34
|
"lodash-es": "4.17.21"
|
|
31
35
|
},
|
|
32
36
|
"type": "module",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1b8953=_0x425d;(function(_0x1ab659,_0x1e96f7){var _0x4849fc=_0x425d,_0x3709c6=_0x1ab659();while(!![]){try{var _0xf1ab8a=-parseInt(_0x4849fc(0x18c))/0x1+parseInt(_0x4849fc(0x18f))/0x2+parseInt(_0x4849fc(0x197))/0x3*(parseInt(_0x4849fc(0x188))/0x4)+parseInt(_0x4849fc(0x196))/0x5*(-parseInt(_0x4849fc(0x194))/0x6)+-parseInt(_0x4849fc(0x189))/0x7+parseInt(_0x4849fc(0x193))/0x8*(parseInt(_0x4849fc(0x187))/0x9)+-parseInt(_0x4849fc(0x195))/0xa;if(_0xf1ab8a===_0x1e96f7)break;else _0x3709c6['push'](_0x3709c6['shift']());}catch(_0x1e09af){_0x3709c6['push'](_0x3709c6['shift']());}}}(_0x316a,0x19070));function _0x316a(){var _0x2a7dc7=['AIRequestError','name','1089088pYNrQS','6RnhjqR','1873620HegEjH','135435xrRZFF','93iNLwRN','9CIjfoD','4EfLWdY','50281DZFSEZ','textAdapter','aiadapter-text-adapter-not-set','3356rRLZwD','afterInit','pluginName','382666dlPwba','AIAdapter'];_0x316a=function(){return _0x2a7dc7;};return _0x316a();}import{Plugin as _0x5440ef}from'ckeditor5/src/core.js';function _0x425d(_0x4b4d46,_0x228db2){var _0x316a0e=_0x316a();return _0x425d=function(_0x425d17,_0x589c5d){_0x425d17=_0x425d17-0x187;var _0x177d5d=_0x316a0e[_0x425d17];return _0x177d5d;},_0x425d(_0x4b4d46,_0x228db2);}import{CKEditorError as _0x11a76d}from'ckeditor5/src/utils.js';export default class y extends _0x5440ef{static get[_0x1b8953(0x18e)](){var _0x1a554c=_0x1b8953;return _0x1a554c(0x190);}[_0x1b8953(0x18d)](){var _0x75a142=_0x1b8953;if(!this[_0x75a142(0x18a)])throw new _0x11a76d(_0x75a142(0x18b),null);}}export class AIRequestError extends Error{constructor(_0x1741b8){var _0x594d6b=_0x1b8953;super(_0x1741b8),this[_0x594d6b(0x192)]=_0x594d6b(0x191);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46bc2f=_0x1d4a;function _0x1d4a(_0x9b19a6,_0x39734c){const _0x57fbdc=_0x57fb();return _0x1d4a=function(_0x1d4ae6,_0x4dfd71){_0x1d4ae6=_0x1d4ae6-0xcf;let _0x1d8dd3=_0x57fbdc[_0x1d4ae6];return _0x1d8dd3;},_0x1d4a(_0x9b19a6,_0x39734c);}(function(_0x427306,_0x27548d){const _0x3c6ac0=_0x1d4a,_0x4553c4=_0x427306();while(!![]){try{const _0x54d591=parseInt(_0x3c6ac0(0xd6))/0x1*(-parseInt(_0x3c6ac0(0xe8))/0x2)+-parseInt(_0x3c6ac0(0xd5))/0x3+-parseInt(_0x3c6ac0(0xe5))/0x4+-parseInt(_0x3c6ac0(0xf1))/0x5+-parseInt(_0x3c6ac0(0xd3))/0x6*(parseInt(_0x3c6ac0(0xd8))/0x7)+-parseInt(_0x3c6ac0(0xed))/0x8+parseInt(_0x3c6ac0(0xec))/0x9*(parseInt(_0x3c6ac0(0xe1))/0xa);if(_0x54d591===_0x27548d)break;else _0x4553c4['push'](_0x4553c4['shift']());}catch(_0x37d077){_0x4553c4['push'](_0x4553c4['shift']());}}}(_0x57fb,0x53cbe));function _0x57fb(){const _0xf7a8cd=['signal','AI_ERROR_GET_PARAMETERS','10aOutXR','catch','application/json','locale','1679364DRCksL','resolve','name','444254EChoTT','AbortError','_prepareRequestHeaders','aitextadapter-send-request-failed','24661791CKnjjJ','1384888mjUSAd','object','error','abortController','3050840weOZbc','requires','assign','sendRequest','makeRequest','editor','init','330SJWVYg','aborted','1415370sNbUdE','2fNLTEv','AI_ERROR_GET_HEADERS','35357CUxOkQ','reject','get','_prepareRequestParameters','abort','plugins','textAdapter'];_0x57fb=function(){return _0xf7a8cd;};return _0x57fb();}import{Plugin as _0x3dc36b}from'ckeditor5/src/core.js';import{CKEditorError as _0xd591a2}from'ckeditor5/src/utils.js';import{default as _0x1f1a2e,AIRequestError as _0x358ad6}from'./aiadapter.js';import{getTranslation as _0x4a905e}from'../utils/common-translations.js';export default class P extends _0x3dc36b{static get[_0x46bc2f(0xf2)](){return[_0x1f1a2e];}constructor(_0xfc1c){const _0x352cc3=_0x46bc2f;super(_0xfc1c),this[_0x352cc3(0xf0)]=new AbortController();}[_0x46bc2f(0xd2)](){const _0x5db63c=_0x46bc2f;this[_0x5db63c(0xd1)][_0x5db63c(0xdd)][_0x5db63c(0xda)](_0x1f1a2e)[_0x5db63c(0xde)]=this;}[_0x46bc2f(0xdc)](){const _0xb4ba3d=_0x46bc2f;this[_0xb4ba3d(0xf0)][_0xb4ba3d(0xdf)][_0xb4ba3d(0xd4)]||(this[_0xb4ba3d(0xf0)][_0xb4ba3d(0xdc)](),this[_0xb4ba3d(0xf0)]=new AbortController());}async[_0x46bc2f(0xd0)](_0x177763){const _0x4b122c=_0x46bc2f;return this[_0x4b122c(0xcf)](_0x177763)[_0x4b122c(0xe2)](_0x4ac66e=>{const _0x13a3a5=_0x4b122c;if(_0x4ac66e instanceof _0x358ad6)return Promise[_0x13a3a5(0xd9)](_0x4ac66e);if(_0x13a3a5(0xe9)==_0x4ac66e[_0x13a3a5(0xe7)])return Promise[_0x13a3a5(0xe6)]();throw console[_0x13a3a5(0xef)](_0x4ac66e),new _0xd591a2(_0x13a3a5(0xeb),null);});}async[_0x46bc2f(0xea)](_0x586fee,_0xa92c67){const _0x17e89f=_0x46bc2f,_0xf11174=this[_0x17e89f(0xd1)][_0x17e89f(0xe4)],_0x988f16={'Content-Type':_0x17e89f(0xe3)};if(_0x17e89f(0xee)==typeof _0x586fee)Object[_0x17e89f(0xf3)](_0x988f16,_0x586fee);else{if(_0x586fee)try{const _0x4c6b6a=await _0x586fee(_0xa92c67);Object[_0x17e89f(0xf3)](_0x988f16,_0x4c6b6a);}catch(_0xa96cac){return Promise[_0x17e89f(0xd9)](new _0x358ad6(_0x4a905e(_0xf11174,_0x17e89f(0xd7))));}}return _0x988f16;}async[_0x46bc2f(0xdb)](_0x394436,_0x32b699){const _0x1999a4=_0x46bc2f,_0x5ccda3=this[_0x1999a4(0xd1)][_0x1999a4(0xe4)];if(_0x1999a4(0xee)==typeof _0x394436)return _0x394436;try{return await _0x394436(_0x32b699);}catch(_0x3c107e){return Promise[_0x1999a4(0xd9)](new _0x358ad6(_0x4a905e(_0x5ccda3,_0x1999a4(0xe0))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x316b7b=_0x7ce8;(function(_0x49a111,_0x3211b8){const _0x4ce4dc=_0x7ce8,_0x3f66fc=_0x49a111();while(!![]){try{const _0x135641=parseInt(_0x4ce4dc(0x1c6))/0x1*(-parseInt(_0x4ce4dc(0x17f))/0x2)+parseInt(_0x4ce4dc(0x1c7))/0x3*(-parseInt(_0x4ce4dc(0x1ad))/0x4)+parseInt(_0x4ce4dc(0x18e))/0x5+-parseInt(_0x4ce4dc(0x1be))/0x6+-parseInt(_0x4ce4dc(0x1ac))/0x7*(parseInt(_0x4ce4dc(0x1a4))/0x8)+-parseInt(_0x4ce4dc(0x18d))/0x9*(-parseInt(_0x4ce4dc(0x181))/0xa)+parseInt(_0x4ce4dc(0x179))/0xb*(parseInt(_0x4ce4dc(0x1aa))/0xc);if(_0x135641===_0x3211b8)break;else _0x3f66fc['push'](_0x3f66fc['shift']());}catch(_0x16f843){_0x3f66fc['push'](_0x3f66fc['shift']());}}}(_0x2052,0x2284e));import{default as _0x172f0e}from'./aitextadapter.js';import{AIRequestError as _0x329b1a}from'./aiadapter.js';import{BedrockRuntimeClient as _0x576263,InvokeModelCommand as _0x54ab36,InvokeModelWithResponseStreamCommand as _0x168a9d}from'@aws-sdk/client-bedrock-runtime';function _0x2052(){const _0x17b034=['ai.aws.requestHeaders','completion','json','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','635diesPm','3UqmpsV','utf8','split','generations','_processProxyRequest','Instruction:\x0a','<<SYS>>\x0a','1890482tusPCR','decode','toString','\x0a[/INST]','generation','anthropic.claude-v2','326TDXogJ','stringify','16200zeQZcY','anthropic.claude','\x0a<</SYS>>\x0a[INST]\x0a','length','data','join','editor','POST','getModelFamily','AWSTextAdapter','ai.aws.apiUrl','define','1359gslBbT','590430LCHZBN','read','body','config','_readStreamableResponse','_prepareRequestParameters','pluginName','_prepareRequestHeaders','_apiUrl','_readAsyncIterableResponse','meta.llama','AI_ERROR_UNSUPPORTED_MODEL','locale','parse','resolve','_getGeneratedText','bedrock-2023-05-31','map','ai.aws.bedrockClientConfig','getReader','abortController','_requestHeaders','16EtNNSV','application/json','Human:\x0a','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.','ai21.j2','chunk','12SDseyK','text','91574hZFWVM','409324DwDGgz','_processAWSRequest','get','send','test','_bedrockClientConfig','_readStaticResponse','_requestParameters','from','bytes','signal','ai.aws.requestParameters','\x0a\x0aAssistant:','sendRequest','utf-8','filter','preparePrompt','967068WtanAe','cohere.command','completions'];_0x2052=function(){return _0x17b034;};return _0x2052();}function _0x7ce8(_0x269efb,_0x505ee0){const _0x2052c6=_0x2052();return _0x7ce8=function(_0x7ce8c1,_0x4c8df5){_0x7ce8c1=_0x7ce8c1-0x173;let _0x114266=_0x2052c6[_0x7ce8c1];return _0x114266;},_0x7ce8(_0x269efb,_0x505ee0);}import{getTranslation as _0x8f9ad5}from'../utils/common-translations.js';export default class J extends _0x172f0e{static get[_0x316b7b(0x194)](){const _0x33ac8e=_0x316b7b;return _0x33ac8e(0x18a);}constructor(_0x10efed){const _0xa12d52=_0x316b7b;super(_0x10efed),_0x10efed[_0xa12d52(0x191)][_0xa12d52(0x1af)](_0xa12d52(0x1b8))||_0x10efed[_0xa12d52(0x191)][_0xa12d52(0x18c)](_0xa12d52(0x1b8),{'model':_0xa12d52(0x17e),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0xa12d52(0x19e),'stream':!0x0}),this[_0xa12d52(0x196)]=_0x10efed[_0xa12d52(0x191)][_0xa12d52(0x1af)](_0xa12d52(0x18b)),this[_0xa12d52(0x1b2)]=_0x10efed[_0xa12d52(0x191)][_0xa12d52(0x1af)](_0xa12d52(0x1a0)),this[_0xa12d52(0x1a3)]=_0x10efed[_0xa12d52(0x191)][_0xa12d52(0x1af)](_0xa12d52(0x1c1)),this[_0xa12d52(0x1b4)]=_0x10efed[_0xa12d52(0x191)][_0xa12d52(0x1af)](_0xa12d52(0x1b8));}async[_0x316b7b(0x1ba)]({query:_0x5e1164,context:_0x23b60e,onData:_0x5b399d,actionId:_0x40fb4d}){const _0x3d3c19=_0x316b7b,{model:_0x20bb8d,stream:_0x133146,..._0x32215c}=await this[_0x3d3c19(0x193)](this[_0x3d3c19(0x1b4)],_0x40fb4d),_0x279360={'prompt':await this[_0x3d3c19(0x1bd)](_0x5e1164,_0x23b60e,_0x20bb8d,_0x40fb4d),..._0x32215c};this[_0x3d3c19(0x196)]?await this[_0x3d3c19(0x176)](_0x279360,_0x20bb8d,_0x133146,_0x5b399d,_0x40fb4d):await this[_0x3d3c19(0x1ae)](_0x279360,_0x20bb8d,_0x133146,_0x5b399d);}async[_0x316b7b(0x1bd)](_0xa06abe,_0x109f44,_0x22b259,_0x18ecc7){const _0x3e073c=_0x316b7b;let _0x49d853,_0x498e92;return _0x109f44?(_0x49d853=_0x3e073c(0x1a7),_0x498e92=_0x3e073c(0x177)+_0xa06abe+_0x3e073c(0x1c4)+_0x109f44):(_0x49d853=_0x3e073c(0x1c5),_0x498e92=_0xa06abe),_0x3e073c(0x198)==this[_0x3e073c(0x189)](_0x22b259)?_0x3e073c(0x178)+_0x49d853+_0x3e073c(0x183)+_0x498e92+_0x3e073c(0x17c):_0x3e073c(0x1a6)+_0x49d853+'\x0a'+_0x498e92+_0x3e073c(0x1b9);}[_0x316b7b(0x189)](_0x48a63){const _0x233be9=_0x316b7b;if(/^anthropic\.claude/[_0x233be9(0x1b1)](_0x48a63))return _0x233be9(0x182);if(/^ai21\.j2/[_0x233be9(0x1b1)](_0x48a63))return _0x233be9(0x1a8);if(/^cohere\.command/[_0x233be9(0x1b1)](_0x48a63))return _0x233be9(0x1bf);if(/^meta\.llama/[_0x233be9(0x1b1)](_0x48a63))return _0x233be9(0x198);throw new _0x329b1a(_0x8f9ad5(this[_0x233be9(0x187)][_0x233be9(0x19a)],_0x233be9(0x199),_0x48a63));}async[_0x316b7b(0x176)](_0x5f3f71,_0x4cca5c,_0x1f748d,_0x2f3a32,_0x435f64){const _0x376af1=_0x316b7b,_0x2e44c2={'method':_0x376af1(0x188),'headers':await this[_0x376af1(0x195)](this[_0x376af1(0x1a3)],_0x435f64),'body':JSON[_0x376af1(0x180)]({..._0x5f3f71,'model':_0x4cca5c,'stream':_0x1f748d}),'signal':this[_0x376af1(0x1a2)][_0x376af1(0x1b7)]},_0x33f110=await fetch(this[_0x376af1(0x196)],_0x2e44c2);_0x1f748d?await this[_0x376af1(0x192)](_0x33f110,_0x4cca5c,_0x2f3a32):await this[_0x376af1(0x1b3)](_0x33f110,_0x4cca5c,_0x2f3a32);}async[_0x316b7b(0x1ae)](_0x2ff2b6,_0x122a2a,_0x10411d,_0x16d497){const _0x16a1cf=_0x316b7b,_0x47ba55=new _0x576263(this[_0x16a1cf(0x1b2)]),_0x2f0640={'body':JSON[_0x16a1cf(0x180)](_0x2ff2b6),'contentType':_0x16a1cf(0x1a5),'accept':_0x16a1cf(0x1a5),'modelId':_0x122a2a};let _0x5168ac;if(_0x10411d){const _0x1e17cf=new _0x168a9d(_0x2f0640);_0x5168ac=await _0x47ba55[_0x16a1cf(0x1b0)](_0x1e17cf,{'abortSignal':this[_0x16a1cf(0x1a2)][_0x16a1cf(0x1b7)]}),await this[_0x16a1cf(0x197)](_0x5168ac,_0x122a2a,_0x16d497);}else{const _0x5e6366=new _0x54ab36(_0x2f0640);_0x5168ac=await _0x47ba55[_0x16a1cf(0x1b0)](_0x5e6366,{'abortSignal':this[_0x16a1cf(0x1a2)][_0x16a1cf(0x1b7)]}),await this[_0x16a1cf(0x1b3)](_0x5168ac,_0x122a2a,_0x16d497);}}async[_0x316b7b(0x197)](_0x1de577,_0x3cfc78,_0x29e8d4){const _0x19c097=_0x316b7b,_0x2d2989=_0x1de577[_0x19c097(0x190)],_0x47fa5d=new TextDecoder(_0x19c097(0x1bb));let _0x5640ed='';for await(const _0x537332 of _0x2d2989)if(_0x537332[_0x19c097(0x1a9)]){const _0x3ab072=_0x47fa5d[_0x19c097(0x17a)](_0x537332[_0x19c097(0x1a9)][_0x19c097(0x1b6)]),_0x590888=JSON[_0x19c097(0x19b)](_0x3ab072);_0x5640ed+=this[_0x19c097(0x19d)](_0x590888,_0x3cfc78),_0x29e8d4(_0x5640ed);}return Promise[_0x19c097(0x19c)]();}async[_0x316b7b(0x192)](_0x5c6c2c,_0x5c59f5,_0xb155e5){const _0x5906b4=_0x316b7b,_0x2ec15b=_0x5c6c2c[_0x5906b4(0x190)],_0x1ae314=new TextDecoder(_0x5906b4(0x1bb)),_0xbaca0f=_0x2ec15b[_0x5906b4(0x1a1)]();let _0x254e4c='',_0x3763af='',_0x4bb20e=!0x1;for(;!_0x4bb20e;){const {done:_0x4315a5,value:_0x298012}=await _0xbaca0f[_0x5906b4(0x18f)]();if(_0x4bb20e=_0x4315a5,_0x4bb20e)break;const _0x3ca39a=(_0x254e4c+_0x1ae314[_0x5906b4(0x17a)](_0x298012))[_0x5906b4(0x174)]('\x0a')[_0x5906b4(0x19f)](_0x629101=>{const _0x4d21cc=_0x5906b4;try{return _0x254e4c='',JSON[_0x4d21cc(0x19b)](_0x629101);}catch(_0x332d22){return _0x254e4c=_0x629101,null;}})[_0x5906b4(0x1bc)](_0x2a92be=>null!==_0x2a92be);_0x3ca39a[_0x5906b4(0x184)]&&(_0x3763af+=_0x3ca39a[_0x5906b4(0x19f)](_0x3ea1ec=>this[_0x5906b4(0x19d)](_0x3ea1ec,_0x5c59f5))[_0x5906b4(0x186)](''),_0xb155e5(_0x3763af));}return Promise[_0x5906b4(0x19c)]();}async[_0x316b7b(0x1b3)](_0x383452,_0xc6db33,_0x2e90d6){const _0x57a453=_0x316b7b;let _0x5ddeca;return _0x5ddeca=_0x383452 instanceof Response?await _0x383452[_0x57a453(0x1c3)]():JSON[_0x57a453(0x19b)](Buffer[_0x57a453(0x1b5)](_0x383452[_0x57a453(0x190)])[_0x57a453(0x17b)](_0x57a453(0x173))),(_0x2e90d6(this[_0x57a453(0x19d)](_0x5ddeca,_0xc6db33)),Promise[_0x57a453(0x19c)]());}[_0x316b7b(0x19d)](_0xe54636,_0xaac348){const _0x62a0d1=_0x316b7b;switch(this[_0x62a0d1(0x189)](_0xaac348)){case _0x62a0d1(0x182):return _0xe54636[_0x62a0d1(0x1c2)];case _0x62a0d1(0x1a8):return _0xe54636[_0x62a0d1(0x1c0)][0x0][_0x62a0d1(0x185)][_0x62a0d1(0x1ab)];case _0x62a0d1(0x1bf):return _0xe54636[_0x62a0d1(0x175)][0x0][_0x62a0d1(0x1ab)];case _0x62a0d1(0x198):return _0xe54636[_0x62a0d1(0x17d)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x335e2c=_0x2874;(function(_0x1b3beb,_0x550c26){const _0x6a85ca=_0x2874,_0x4b5c8d=_0x1b3beb();while(!![]){try{const _0x18b437=-parseInt(_0x6a85ca(0x129))/0x1*(-parseInt(_0x6a85ca(0x11d))/0x2)+parseInt(_0x6a85ca(0x131))/0x3+-parseInt(_0x6a85ca(0x12f))/0x4*(parseInt(_0x6a85ca(0x12c))/0x5)+parseInt(_0x6a85ca(0x11f))/0x6*(parseInt(_0x6a85ca(0x116))/0x7)+-parseInt(_0x6a85ca(0x111))/0x8+parseInt(_0x6a85ca(0x112))/0x9*(parseInt(_0x6a85ca(0x130))/0xa)+-parseInt(_0x6a85ca(0x133))/0xb*(parseInt(_0x6a85ca(0x107))/0xc);if(_0x18b437===_0x550c26)break;else _0x4b5c8d['push'](_0x4b5c8d['shift']());}catch(_0x13dbb1){_0x4b5c8d['push'](_0x4b5c8d['shift']());}}}(_0x26f9,0xc73ed));function _0x2874(_0x4fe510,_0x29e363){const _0x26f925=_0x26f9();return _0x2874=function(_0x2874f2,_0x97e8a8){_0x2874f2=_0x2874f2-0x105;let _0x4ee74c=_0x26f925[_0x2874f2];return _0x4ee74c;},_0x2874(_0x4fe510,_0x29e363);}function _0x26f9(){const _0x1aebb5=['split','128jUHEbT','1717670gOTqCZ','4754877qlekLp','_isBufferIncomplete','2767281MzABKc','data:\x20','map','json','AI_ERROR_CONTEXT_LENGTH','abortController','replace','includes','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.','https://api.openai.com/v1/chat/completions','stream','ai.openAI.apiUrl','parse','_readStaticResponse','AI_ERROR_MODERATION','ai.openAI.requestParameters','reject','Moderation','[DONE]','stringify','user','editor','_readStreamableResponse','_prepareRequestParameters','delta','text','message','_apiUrl','84DJWpjO','context_length_exceeded','resolve','system','getReader','content','define','config','POST','length','4478136RZPusZ','45mUizWM','_prepareRequestHeaders','OpenAITextAdapter','choices','102109zsbZWU','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','signal','_requestParameters','ai.openAI.requestHeaders','read','get','6KTRQrs','sendRequest','498XEzgBF','_cleanUpData','pluginName','prepareMessages','gpt-3.5-turbo','body','decode','filter','locale','join','285810mZcaVT','Instruction:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','214855sejOXq','_requestHeaders'];_0x26f9=function(){return _0x1aebb5;};return _0x26f9();}import{default as _0x28d7f6}from'./aitextadapter.js';import{AIRequestError as _0x220731}from'./aiadapter.js';import{getTranslation as _0xd80ce7}from'../utils/common-translations.js';export default class F extends _0x28d7f6{static get[_0x335e2c(0x121)](){const _0x24f30e=_0x335e2c;return _0x24f30e(0x114);}constructor(_0x45096b){const _0x4fa1a0=_0x335e2c;super(_0x45096b),_0x45096b[_0x4fa1a0(0x10e)][_0x4fa1a0(0x10d)](_0x4fa1a0(0x13e),_0x4fa1a0(0x13c)),_0x45096b[_0x4fa1a0(0x10e)][_0x4fa1a0(0x11c)](_0x4fa1a0(0x142))||_0x45096b[_0x4fa1a0(0x10e)][_0x4fa1a0(0x10d)](_0x4fa1a0(0x142),{'model':_0x4fa1a0(0x123),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4fa1a0(0x106)]=_0x45096b[_0x4fa1a0(0x10e)][_0x4fa1a0(0x11c)](_0x4fa1a0(0x13e)),this[_0x4fa1a0(0x12d)]=_0x45096b[_0x4fa1a0(0x10e)][_0x4fa1a0(0x11c)](_0x4fa1a0(0x11a))||{},this[_0x4fa1a0(0x119)]=_0x45096b[_0x4fa1a0(0x10e)][_0x4fa1a0(0x11c)](_0x4fa1a0(0x142));}async[_0x335e2c(0x11e)]({query:_0x589d5c,context:_0x2dca14,onData:_0x1ea22b,actionId:_0x155c57}){const _0x5bb3a8=_0x335e2c,_0x2f37af=this[_0x5bb3a8(0x148)][_0x5bb3a8(0x127)],_0x2a3222=await this[_0x5bb3a8(0x122)](_0x589d5c,_0x2dca14,_0x155c57),_0x148ecc=await this[_0x5bb3a8(0x113)](this[_0x5bb3a8(0x12d)],_0x155c57),_0x4ba229=await this[_0x5bb3a8(0x14a)](this[_0x5bb3a8(0x119)],_0x155c57),_0x311467={'messages':_0x2a3222,..._0x4ba229},_0x422f1d={'method':_0x5bb3a8(0x10f),'headers':_0x148ecc,'body':JSON[_0x5bb3a8(0x146)](_0x311467),'signal':this[_0x5bb3a8(0x138)][_0x5bb3a8(0x118)]},_0x4992be=await fetch(this[_0x5bb3a8(0x106)],_0x422f1d);if(_0x4992be['ok'])return _0x4ba229[_0x5bb3a8(0x13d)]?await this[_0x5bb3a8(0x149)](_0x4992be,_0x1ea22b):await this[_0x5bb3a8(0x140)](_0x4992be,_0x1ea22b),Promise[_0x5bb3a8(0x109)]();{const _0x1ba1de=await _0x4992be[_0x5bb3a8(0x14c)]();return _0x1ba1de[_0x5bb3a8(0x13a)](_0x5bb3a8(0x108))?Promise[_0x5bb3a8(0x143)](new _0x220731(_0xd80ce7(_0x2f37af,_0x5bb3a8(0x137)))):_0x1ba1de[_0x5bb3a8(0x13a)](_0x5bb3a8(0x144))?Promise[_0x5bb3a8(0x143)](new _0x220731(_0xd80ce7(_0x2f37af,_0x5bb3a8(0x141)))):Promise[_0x5bb3a8(0x143)](new Error(_0x1ba1de));}}async[_0x335e2c(0x122)](_0x5964c4,_0x43f919,_0x368aca){const _0x3eacd1=_0x335e2c;let _0xa6a44a,_0x4a5cc7;return _0x43f919?(_0xa6a44a=_0x3eacd1(0x13b),_0x4a5cc7=_0x3eacd1(0x12a)+_0x5964c4+_0x3eacd1(0x117)+_0x43f919):(_0xa6a44a=_0x3eacd1(0x12b),_0x4a5cc7=_0x5964c4),[{'role':_0x3eacd1(0x10a),'content':_0xa6a44a},{'role':_0x3eacd1(0x147),'content':_0x4a5cc7}];}async[_0x335e2c(0x149)](_0x4c2c95,_0x46ad91){const _0x24a855=_0x335e2c,_0x529b62=_0x4c2c95[_0x24a855(0x124)][_0x24a855(0x10b)](),_0x4c5067=new TextDecoder();let _0xb5a85b='',_0x2f5ffd='',_0x4d0a3b='',_0x3ea175=!0x1;for(;!_0x3ea175;){const {done:_0x889518,value:_0x5159af}=await _0x529b62[_0x24a855(0x11b)](),_0xb58bde=_0xb5a85b+_0x4c5067[_0x24a855(0x125)](_0x5159af);let _0x1f26ad='';_0x3ea175=_0x889518;try{_0x1f26ad=this[_0x24a855(0x120)](_0xb58bde),_0xb5a85b='';}catch(_0x379f34){_0xb5a85b=_0xb58bde;continue;}_0x2f5ffd+=_0x1f26ad,!_0x3ea175&&this[_0x24a855(0x132)](_0x2f5ffd)||_0x2f5ffd&&(_0x4d0a3b+=_0x2f5ffd,_0x2f5ffd='',_0x46ad91(_0x4d0a3b));}return Promise[_0x24a855(0x109)]();}async[_0x335e2c(0x140)](_0x2f56b0,_0x5e225f){const _0x47a4da=_0x335e2c;return _0x5e225f((await _0x2f56b0[_0x47a4da(0x136)]())[_0x47a4da(0x115)][0x0][_0x47a4da(0x105)][_0x47a4da(0x10c)]),Promise[_0x47a4da(0x109)]();}[_0x335e2c(0x132)](_0x7de1b){const _0x1045e1=_0x335e2c,_0x475f3a=_0x7de1b[_0x1045e1(0x12e)]('<')[_0x1045e1(0x110)]!==_0x7de1b[_0x1045e1(0x12e)]('>')[_0x1045e1(0x110)],_0x1ac20c=_0x7de1b[_0x1045e1(0x110)]<0x1e;return _0x475f3a&&_0x1ac20c;}[_0x335e2c(0x120)](_0x59c645){const _0x2a5219=_0x335e2c;return _0x59c645[_0x2a5219(0x12e)](/\n(?![^{]*\})/g)[_0x2a5219(0x135)](_0xd265f0=>_0xd265f0[_0x2a5219(0x139)](_0x2a5219(0x134),''))[_0x2a5219(0x126)](_0x4ba1b7=>_0x4ba1b7&&_0x4ba1b7[_0x2a5219(0x110)]>0x0&&_0x2a5219(0x145)!==_0x4ba1b7)[_0x2a5219(0x135)](_0x52d5db=>{const _0x582f2d=_0x2a5219,{choices:_0x1dbfb9}=JSON[_0x582f2d(0x13f)](_0x52d5db);if(_0x1dbfb9[0x0]&&_0x1dbfb9[0x0][_0x582f2d(0x14b)]&&_0x1dbfb9[0x0][_0x582f2d(0x14b)][_0x582f2d(0x10c)])return _0x1dbfb9[0x0][_0x582f2d(0x14b)][_0x582f2d(0x10c)];})[_0x2a5219(0x126)](_0xe928eb=>_0xe928eb)[_0x2a5219(0x128)]('');}}
|