@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.8
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/LICENSE.md +4 -0
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +147 -23
- package/dist/index.css +182 -24
- package/dist/index.js +4 -4
- 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/be.js +1 -1
- package/dist/translations/be.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/lang/contexts.json +5 -0
- package/lang/translations/af.po +224 -0
- package/lang/translations/ar.po +232 -0
- package/lang/translations/ast.po +224 -0
- package/lang/translations/az.po +224 -0
- package/lang/translations/be.po +226 -0
- package/lang/translations/bg.po +224 -0
- package/lang/translations/bn.po +224 -0
- package/lang/translations/bs.po +226 -0
- package/lang/translations/ca.po +224 -0
- package/lang/translations/cs.po +226 -0
- package/lang/translations/da.po +224 -0
- package/lang/translations/de-ch.po +224 -0
- package/lang/translations/de.po +224 -0
- package/lang/translations/el.po +224 -0
- package/lang/translations/en-au.po +224 -0
- package/lang/translations/en-gb.po +224 -0
- package/lang/translations/en.po +224 -0
- package/lang/translations/eo.po +224 -0
- package/lang/translations/es-co.po +224 -0
- package/lang/translations/es.po +224 -0
- package/lang/translations/et.po +224 -0
- package/lang/translations/eu.po +224 -0
- package/lang/translations/fa.po +222 -0
- package/lang/translations/fi.po +224 -0
- package/lang/translations/fr.po +224 -0
- package/lang/translations/gl.po +224 -0
- package/lang/translations/gu.po +224 -0
- package/lang/translations/he.po +224 -0
- package/lang/translations/hi.po +224 -0
- package/lang/translations/hr.po +226 -0
- package/lang/translations/hu.po +224 -0
- package/lang/translations/hy.po +224 -0
- package/lang/translations/id.po +222 -0
- package/lang/translations/it.po +224 -0
- package/lang/translations/ja.po +222 -0
- package/lang/translations/jv.po +224 -0
- package/lang/translations/kk.po +224 -0
- package/lang/translations/km.po +222 -0
- package/lang/translations/kn.po +224 -0
- package/lang/translations/ko.po +222 -0
- package/lang/translations/ku.po +224 -0
- package/lang/translations/lt.po +226 -0
- package/lang/translations/lv.po +226 -0
- package/lang/translations/ms.po +222 -0
- package/lang/translations/nb.po +224 -0
- package/lang/translations/ne.po +224 -0
- package/lang/translations/nl.po +224 -0
- package/lang/translations/no.po +224 -0
- package/lang/translations/oc.po +224 -0
- package/lang/translations/pl.po +226 -0
- package/lang/translations/pt-br.po +224 -0
- package/lang/translations/pt.po +224 -0
- package/lang/translations/ro.po +226 -0
- package/lang/translations/ru.po +226 -0
- package/lang/translations/si.po +224 -0
- package/lang/translations/sk.po +226 -0
- package/lang/translations/sl.po +228 -0
- package/lang/translations/sq.po +224 -0
- package/lang/translations/sr-latn.po +226 -0
- package/lang/translations/sr.po +226 -0
- package/lang/translations/sv.po +224 -0
- package/lang/translations/th.po +222 -0
- package/lang/translations/ti.po +224 -0
- package/lang/translations/tk.po +224 -0
- package/lang/translations/tr.po +224 -0
- package/lang/translations/tt.po +222 -0
- package/lang/translations/ug.po +222 -0
- package/lang/translations/uk.po +226 -0
- package/lang/translations/ur.po +224 -0
- package/lang/translations/uz.po +224 -0
- package/lang/translations/vi.po +222 -0
- package/lang/translations/zh-cn.po +222 -0
- package/lang/translations/zh.po +222 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +0 -2
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.d.ts +12 -4
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +0 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +7 -3
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +1 -227
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.d.ts +3 -0
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +0 -30
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +4 -0
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.d.ts +0 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +64 -9
- package/src/aicore/aiconnector.d.ts +13 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.d.ts +0 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.d.ts +41 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.d.ts +2 -2
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.d.ts +0 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +164 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.d.ts +0 -49
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.d.ts +29 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.d.ts +6 -16
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +17 -4
- package/theme/aichat/aichat.css +1 -0
- package/theme/aichat/aichatfeed.css +39 -0
- package/theme/aichat/aichathistory.css +26 -9
- package/theme/aichat/aiminitoolbar.css +8 -0
- package/theme/aichat/aisuggestioncontainer.css +6 -0
- package/theme/aieditorintegration/aitogglebutton.css +23 -0
- package/theme/aiquickactions/aiquickactions.css +23 -4
- package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
- package/theme/aireviewmode/aireviewmode.css +23 -0
- package/theme/aitabs/aitabsview.css +6 -1
- package/theme/common/aibutton.css +1 -5
- package/theme/common/aiheader.css +1 -0
- package/theme/common/aitrackchanges.css +13 -0
- package/src/aiquickactions/utils/common-translations.d.ts +0 -9
- package/src/aiquickactions/utils/common-translations.js +0 -23
|
@@ -834,3 +834,225 @@ msgstr "抱歉,我们无法正确生成完整评论。请稍后重试。"
|
|
|
834
834
|
msgctxt "The message displayed when an error occurs while processing a chunk of content in the AI review mode."
|
|
835
835
|
msgid "AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE"
|
|
836
836
|
msgstr "并非所有事项都已完成,但已完成的项目列在下面。"
|
|
837
|
+
|
|
838
|
+
msgctxt "The title of the AI review mode functionality."
|
|
839
|
+
msgid "AI_REVIEW_MODE"
|
|
840
|
+
msgstr "浏览模式"
|
|
841
|
+
|
|
842
|
+
msgctxt "The description of the AGENT-1 model."
|
|
843
|
+
msgid "AI_MODEL_DESCRIPTION_AGENT-1"
|
|
844
|
+
msgstr "自动选择最佳模型,兼顾速度、质量和成本"
|
|
845
|
+
|
|
846
|
+
msgctxt "The description of the GPT-5 model."
|
|
847
|
+
msgid "AI_MODEL_DESCRIPTION_GPT-5"
|
|
848
|
+
msgstr "OpenAI 的旗舰模型,适合高级推理、创作和复杂任务"
|
|
849
|
+
|
|
850
|
+
msgctxt "The description of the GPT-5-Mini model."
|
|
851
|
+
msgid "AI_MODEL_DESCRIPTION_GPT-5-MINI"
|
|
852
|
+
msgstr "GPT-5 的轻量版,回复速度更快,费用更低"
|
|
853
|
+
|
|
854
|
+
msgctxt "The description of the GPT-4.1 model."
|
|
855
|
+
msgid "AI_MODEL_DESCRIPTION_GPT-4.1"
|
|
856
|
+
msgstr "OpenAI 出品的模型,推理可靠、快速且多用途"
|
|
857
|
+
|
|
858
|
+
msgctxt "The description of the GPT-4.1-Mini model."
|
|
859
|
+
msgid "AI_MODEL_DESCRIPTION_GPT-4.1-MINI"
|
|
860
|
+
msgstr "GPT-4.1 的轻量级变体,在均衡速度和成本的同时保持了可靠的准确度"
|
|
861
|
+
|
|
862
|
+
msgctxt "The description of the Claude-3-5-Haiku model."
|
|
863
|
+
msgid "AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU"
|
|
864
|
+
msgstr "Anthropic 出品的模型,速度快,费用合理,适合较简单的任务"
|
|
865
|
+
|
|
866
|
+
msgctxt "The description of the Claude-4-Sonnet model."
|
|
867
|
+
msgid "AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET"
|
|
868
|
+
msgstr "高级模型,具备强大的推理能力,能可靠地处理复杂任务"
|
|
869
|
+
|
|
870
|
+
msgctxt "The description of the Gemini-2-5-Pro model."
|
|
871
|
+
msgid "AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO"
|
|
872
|
+
msgstr "Google 的高级模型,可用于多种问题解决和研究"
|
|
873
|
+
|
|
874
|
+
msgctxt "The description of the Gemini-2-5-Flash model."
|
|
875
|
+
msgid "AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH"
|
|
876
|
+
msgstr "轻量版的 Gemini 模型,互动速度更快,费用更低"
|
|
877
|
+
|
|
878
|
+
msgctxt "The title for a custom AI review check."
|
|
879
|
+
msgid "AI_REVIEW_CHECK_CUSTOM_TITLE"
|
|
880
|
+
msgstr "自定义命令"
|
|
881
|
+
|
|
882
|
+
msgctxt "The description of what a custom AI review check does."
|
|
883
|
+
msgid "AI_REVIEW_CHECK_CUSTOM_DESCRIPTION"
|
|
884
|
+
msgstr "输入自定义命令,按照您的需求精准查看内容。"
|
|
885
|
+
|
|
886
|
+
msgctxt "The title for the correctness AI review check."
|
|
887
|
+
msgid "AI_REVIEW_CHECK_CORRECTNESS_TITLE"
|
|
888
|
+
msgstr "校正"
|
|
889
|
+
|
|
890
|
+
msgctxt "The description of what the correctness AI review check does."
|
|
891
|
+
msgid "AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION"
|
|
892
|
+
msgstr "确保文本真实准确,没有错误。"
|
|
893
|
+
|
|
894
|
+
msgctxt "The title for the clarity AI review check."
|
|
895
|
+
msgid "AI_REVIEW_CHECK_CLARITY_TITLE"
|
|
896
|
+
msgstr "清晰度"
|
|
897
|
+
|
|
898
|
+
msgctxt "The description of what the clarity AI review check does."
|
|
899
|
+
msgid "AI_REVIEW_CHECK_CLARITY_DESCRIPTION"
|
|
900
|
+
msgstr "改善文本的清晰度和可读性。"
|
|
901
|
+
|
|
902
|
+
msgctxt "The title for the readability AI review check."
|
|
903
|
+
msgid "AI_REVIEW_CHECK_READABILITY_TITLE"
|
|
904
|
+
msgstr "可读性"
|
|
905
|
+
|
|
906
|
+
msgctxt "The description of what the readability AI review check does."
|
|
907
|
+
msgid "AI_REVIEW_CHECK_READABILITY_DESCRIPTION"
|
|
908
|
+
msgstr "提高文本整体的可读性。"
|
|
909
|
+
|
|
910
|
+
msgctxt "The title for the make length adjustment AI review check."
|
|
911
|
+
msgid "AI_REVIEW_CHECK_MAKE_TITLE"
|
|
912
|
+
msgstr "调整篇幅"
|
|
913
|
+
|
|
914
|
+
msgctxt "The description of what the make length adjustment AI review check does."
|
|
915
|
+
msgid "AI_REVIEW_CHECK_MAKE_DESCRIPTION"
|
|
916
|
+
msgstr "调整文本长度,使其符合您的需求。"
|
|
917
|
+
|
|
918
|
+
msgctxt "The label for the make length adjustment options dropdown button."
|
|
919
|
+
msgid "AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL"
|
|
920
|
+
msgstr "调整篇幅"
|
|
921
|
+
|
|
922
|
+
msgctxt "The label for the make length adjustment option to make the content longer."
|
|
923
|
+
msgid "AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER"
|
|
924
|
+
msgstr "更长"
|
|
925
|
+
|
|
926
|
+
msgctxt "The label for the make length adjustment option to make the content shorter."
|
|
927
|
+
msgid "AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER"
|
|
928
|
+
msgstr "更短"
|
|
929
|
+
|
|
930
|
+
msgctxt "The title for the make tone adjustment AI review check."
|
|
931
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_TITLE"
|
|
932
|
+
msgstr "调整语气和风格"
|
|
933
|
+
|
|
934
|
+
msgctxt "The description of what the make tone adjustment AI review check does."
|
|
935
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION"
|
|
936
|
+
msgstr "选择语气和风格,按需调整内容"
|
|
937
|
+
|
|
938
|
+
msgctxt "The label for the make tone adjustment options dropdown button."
|
|
939
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL"
|
|
940
|
+
msgstr "调整语气和风格"
|
|
941
|
+
|
|
942
|
+
msgctxt "The label for the make tone adjustment option to make the content more casual."
|
|
943
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL"
|
|
944
|
+
msgstr "随意"
|
|
945
|
+
|
|
946
|
+
msgctxt "The label for the make tone adjustment option to make the content more direct."
|
|
947
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT"
|
|
948
|
+
msgstr "直接"
|
|
949
|
+
|
|
950
|
+
msgctxt "The label for the make tone adjustment option to make the content more friendly."
|
|
951
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY"
|
|
952
|
+
msgstr "友好"
|
|
953
|
+
|
|
954
|
+
msgctxt "The label for the make tone adjustment option to make the content more confident."
|
|
955
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT"
|
|
956
|
+
msgstr "自信"
|
|
957
|
+
|
|
958
|
+
msgctxt "The label for the make tone adjustment option to make the content more professional."
|
|
959
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL"
|
|
960
|
+
msgstr "专业"
|
|
961
|
+
|
|
962
|
+
msgctxt "The title for the translate AI review check."
|
|
963
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_TITLE"
|
|
964
|
+
msgstr "翻译"
|
|
965
|
+
|
|
966
|
+
msgctxt "The description of what the translate AI review check does."
|
|
967
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION"
|
|
968
|
+
msgstr "将文本翻译成其他语言。"
|
|
969
|
+
|
|
970
|
+
msgctxt "The label for the translate options dropdown button."
|
|
971
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL"
|
|
972
|
+
msgstr "选择语言"
|
|
973
|
+
|
|
974
|
+
msgctxt "The label for the translate option to English."
|
|
975
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH"
|
|
976
|
+
msgstr "英语"
|
|
977
|
+
|
|
978
|
+
msgctxt "The label for the translate option to Spanish."
|
|
979
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH"
|
|
980
|
+
msgstr "西班牙语"
|
|
981
|
+
|
|
982
|
+
msgctxt "The label for the translate option to French."
|
|
983
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH"
|
|
984
|
+
msgstr "法语"
|
|
985
|
+
|
|
986
|
+
msgctxt "The label for the translate option to German."
|
|
987
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN"
|
|
988
|
+
msgstr "德语"
|
|
989
|
+
|
|
990
|
+
msgctxt "The label for the translate option to Chinese."
|
|
991
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE"
|
|
992
|
+
msgstr "中文(简体)"
|
|
993
|
+
|
|
994
|
+
msgctxt "The label for the translate option to Japanese."
|
|
995
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE"
|
|
996
|
+
msgstr "日语"
|
|
997
|
+
|
|
998
|
+
msgctxt "The label for the translate option to Russian."
|
|
999
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN"
|
|
1000
|
+
msgstr "俄语"
|
|
1001
|
+
|
|
1002
|
+
msgctxt "The label for the translate option to Portuguese."
|
|
1003
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE"
|
|
1004
|
+
msgstr "葡萄牙语"
|
|
1005
|
+
|
|
1006
|
+
msgctxt "The label for the translate option to Korean."
|
|
1007
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN"
|
|
1008
|
+
msgstr "韩语"
|
|
1009
|
+
|
|
1010
|
+
msgctxt "The label for the translate option to Italian."
|
|
1011
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN"
|
|
1012
|
+
msgstr "意大利语"
|
|
1013
|
+
|
|
1014
|
+
msgctxt "Tooltip of the button that shows the changes in the suggestion in the AI chat feed."
|
|
1015
|
+
msgid "AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP"
|
|
1016
|
+
msgid_plural "Show changes in the document"
|
|
1017
|
+
msgstr[0] ""
|
|
1018
|
+
|
|
1019
|
+
msgctxt "Tooltip of the button that inserts the suggestions in the AI chat feed."
|
|
1020
|
+
msgid "AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP"
|
|
1021
|
+
msgid_plural "Insert changes as suggestions"
|
|
1022
|
+
msgstr[0] ""
|
|
1023
|
+
|
|
1024
|
+
msgctxt "The label of the header displayed in the AI chat sources panel."
|
|
1025
|
+
msgid "AI_CHAT_SOURCES_HEADER"
|
|
1026
|
+
msgstr ""
|
|
1027
|
+
|
|
1028
|
+
msgctxt "The label of the toolbar button that toggles the AI chat panel."
|
|
1029
|
+
msgid "AI_TOGGLE_BUTTON_LABEL"
|
|
1030
|
+
msgstr ""
|
|
1031
|
+
|
|
1032
|
+
msgctxt "Label for the AI quick action to translate content to Spanish."
|
|
1033
|
+
msgid "AI_QUICK_ACTIONS_TRANSLATE_SPANISH"
|
|
1034
|
+
msgstr ""
|
|
1035
|
+
|
|
1036
|
+
msgctxt "Label for the AI quick action to translate content to German."
|
|
1037
|
+
msgid "AI_QUICK_ACTIONS_TRANSLATE_GERMAN"
|
|
1038
|
+
msgstr ""
|
|
1039
|
+
|
|
1040
|
+
msgctxt "The message displayed when the AI actions encounters a generic error."
|
|
1041
|
+
msgid "AI_ACTIONS_GENERIC_ERROR"
|
|
1042
|
+
msgstr ""
|
|
1043
|
+
|
|
1044
|
+
msgctxt "The title of the header displayed in the AI balloon."
|
|
1045
|
+
msgid "AI_BALLOON_HEADER_TITLE"
|
|
1046
|
+
msgstr ""
|
|
1047
|
+
|
|
1048
|
+
msgctxt "The tooltip for the button that navigates to the previous AI interaction in the AI actions balloon."
|
|
1049
|
+
msgid "AI_ACTIONS_PREVIOUS_INTERACTION"
|
|
1050
|
+
msgstr ""
|
|
1051
|
+
|
|
1052
|
+
msgctxt "The tooltip for the button that navigates to the next AI interaction in the AI actions balloon."
|
|
1053
|
+
msgid "AI_ACTIONS_NEXT_INTERACTION"
|
|
1054
|
+
msgstr ""
|
|
1055
|
+
|
|
1056
|
+
msgctxt "Text displayed when there were no changes suggested at all to review in the AI review mode."
|
|
1057
|
+
msgid "AI_REVIEW_MODE_EMPTY_RESULTS_TEXT"
|
|
1058
|
+
msgstr ""
|
package/lang/translations/zh.po
CHANGED
|
@@ -834,3 +834,225 @@ msgstr "抱歉,無法正確產生完整的校閱內容。請稍後再試一次
|
|
|
834
834
|
msgctxt "The message displayed when an error occurs while processing a chunk of content in the AI review mode."
|
|
835
835
|
msgid "AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE"
|
|
836
836
|
msgstr "並非所有內容均已處理完畢,已完成的項目如下所列。"
|
|
837
|
+
|
|
838
|
+
msgctxt "The title of the AI review mode functionality."
|
|
839
|
+
msgid "AI_REVIEW_MODE"
|
|
840
|
+
msgstr "校閱模式"
|
|
841
|
+
|
|
842
|
+
msgctxt "The description of the AGENT-1 model."
|
|
843
|
+
msgid "AI_MODEL_DESCRIPTION_AGENT-1"
|
|
844
|
+
msgstr "自動選取兼顧速度、品質及成本效益的最佳模型"
|
|
845
|
+
|
|
846
|
+
msgctxt "The description of the GPT-5 model."
|
|
847
|
+
msgid "AI_MODEL_DESCRIPTION_GPT-5"
|
|
848
|
+
msgstr "OpenAI 的旗艦模型,適用於進階推理、創意發想及複雜任務"
|
|
849
|
+
|
|
850
|
+
msgctxt "The description of the GPT-5-Mini model."
|
|
851
|
+
msgid "AI_MODEL_DESCRIPTION_GPT-5-MINI"
|
|
852
|
+
msgstr "GPT-5 的輕量版,可提供更快速且更具成本效益的回應"
|
|
853
|
+
|
|
854
|
+
msgctxt "The description of the GPT-4.1 model."
|
|
855
|
+
msgid "AI_MODEL_DESCRIPTION_GPT-4.1"
|
|
856
|
+
msgstr "OpenAI 的模型,具備可靠推理、速度及多樣用途"
|
|
857
|
+
|
|
858
|
+
msgctxt "The description of the GPT-4.1-Mini model."
|
|
859
|
+
msgid "AI_MODEL_DESCRIPTION_GPT-4.1-MINI"
|
|
860
|
+
msgstr "GPT-4.1 的輕量版,可同時維持牢靠的準確度並兼顧速度與成本"
|
|
861
|
+
|
|
862
|
+
msgctxt "The description of the Claude-3-5-Haiku model."
|
|
863
|
+
msgid "AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU"
|
|
864
|
+
msgstr "Anthropic 快速且具成本效益的模型,適用於較簡單的任務"
|
|
865
|
+
|
|
866
|
+
msgctxt "The description of the Claude-4-Sonnet model."
|
|
867
|
+
msgid "AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET"
|
|
868
|
+
msgstr "具備強大推理能力與可靠度的進階模型,適用於複雜任務"
|
|
869
|
+
|
|
870
|
+
msgctxt "The description of the Gemini-2-5-Pro model."
|
|
871
|
+
msgid "AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO"
|
|
872
|
+
msgstr "Google 的進階模型,能靈活解決問題並執行研究"
|
|
873
|
+
|
|
874
|
+
msgctxt "The description of the Gemini-2-5-Flash model."
|
|
875
|
+
msgid "AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH"
|
|
876
|
+
msgstr "輕量版 Gemini 模型,可提供快速且具成本效益的互動體驗"
|
|
877
|
+
|
|
878
|
+
msgctxt "The title for a custom AI review check."
|
|
879
|
+
msgid "AI_REVIEW_CHECK_CUSTOM_TITLE"
|
|
880
|
+
msgstr "自訂命令"
|
|
881
|
+
|
|
882
|
+
msgctxt "The description of what a custom AI review check does."
|
|
883
|
+
msgid "AI_REVIEW_CHECK_CUSTOM_DESCRIPTION"
|
|
884
|
+
msgstr "輸入自訂命令,確切依照您的需求校閱內容。"
|
|
885
|
+
|
|
886
|
+
msgctxt "The title for the correctness AI review check."
|
|
887
|
+
msgid "AI_REVIEW_CHECK_CORRECTNESS_TITLE"
|
|
888
|
+
msgstr "正確度"
|
|
889
|
+
|
|
890
|
+
msgctxt "The description of what the correctness AI review check does."
|
|
891
|
+
msgid "AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION"
|
|
892
|
+
msgstr "確保文字內容屬實且沒有錯誤。"
|
|
893
|
+
|
|
894
|
+
msgctxt "The title for the clarity AI review check."
|
|
895
|
+
msgid "AI_REVIEW_CHECK_CLARITY_TITLE"
|
|
896
|
+
msgstr "清晰度"
|
|
897
|
+
|
|
898
|
+
msgctxt "The description of what the clarity AI review check does."
|
|
899
|
+
msgid "AI_REVIEW_CHECK_CLARITY_DESCRIPTION"
|
|
900
|
+
msgstr "提高文字內容的清晰度與可讀性。"
|
|
901
|
+
|
|
902
|
+
msgctxt "The title for the readability AI review check."
|
|
903
|
+
msgid "AI_REVIEW_CHECK_READABILITY_TITLE"
|
|
904
|
+
msgstr "可讀性"
|
|
905
|
+
|
|
906
|
+
msgctxt "The description of what the readability AI review check does."
|
|
907
|
+
msgid "AI_REVIEW_CHECK_READABILITY_DESCRIPTION"
|
|
908
|
+
msgstr "增進文字內容的整體可讀性。"
|
|
909
|
+
|
|
910
|
+
msgctxt "The title for the make length adjustment AI review check."
|
|
911
|
+
msgid "AI_REVIEW_CHECK_MAKE_TITLE"
|
|
912
|
+
msgstr "調整長度"
|
|
913
|
+
|
|
914
|
+
msgctxt "The description of what the make length adjustment AI review check does."
|
|
915
|
+
msgid "AI_REVIEW_CHECK_MAKE_DESCRIPTION"
|
|
916
|
+
msgstr "將文字長度調整成符合需求的篇幅。"
|
|
917
|
+
|
|
918
|
+
msgctxt "The label for the make length adjustment options dropdown button."
|
|
919
|
+
msgid "AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL"
|
|
920
|
+
msgstr "調整長度"
|
|
921
|
+
|
|
922
|
+
msgctxt "The label for the make length adjustment option to make the content longer."
|
|
923
|
+
msgid "AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER"
|
|
924
|
+
msgstr "長一些"
|
|
925
|
+
|
|
926
|
+
msgctxt "The label for the make length adjustment option to make the content shorter."
|
|
927
|
+
msgid "AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER"
|
|
928
|
+
msgstr "短一些"
|
|
929
|
+
|
|
930
|
+
msgctxt "The title for the make tone adjustment AI review check."
|
|
931
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_TITLE"
|
|
932
|
+
msgstr "調整語氣與風格"
|
|
933
|
+
|
|
934
|
+
msgctxt "The description of what the make tone adjustment AI review check does."
|
|
935
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION"
|
|
936
|
+
msgstr "依需求選擇語氣與風格來改寫內容。"
|
|
937
|
+
|
|
938
|
+
msgctxt "The label for the make tone adjustment options dropdown button."
|
|
939
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL"
|
|
940
|
+
msgstr "調整語氣與風格"
|
|
941
|
+
|
|
942
|
+
msgctxt "The label for the make tone adjustment option to make the content more casual."
|
|
943
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL"
|
|
944
|
+
msgstr "非正式"
|
|
945
|
+
|
|
946
|
+
msgctxt "The label for the make tone adjustment option to make the content more direct."
|
|
947
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT"
|
|
948
|
+
msgstr "直接"
|
|
949
|
+
|
|
950
|
+
msgctxt "The label for the make tone adjustment option to make the content more friendly."
|
|
951
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY"
|
|
952
|
+
msgstr "友善"
|
|
953
|
+
|
|
954
|
+
msgctxt "The label for the make tone adjustment option to make the content more confident."
|
|
955
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT"
|
|
956
|
+
msgstr "自信"
|
|
957
|
+
|
|
958
|
+
msgctxt "The label for the make tone adjustment option to make the content more professional."
|
|
959
|
+
msgid "AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL"
|
|
960
|
+
msgstr "專業"
|
|
961
|
+
|
|
962
|
+
msgctxt "The title for the translate AI review check."
|
|
963
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_TITLE"
|
|
964
|
+
msgstr "翻譯"
|
|
965
|
+
|
|
966
|
+
msgctxt "The description of what the translate AI review check does."
|
|
967
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION"
|
|
968
|
+
msgstr "將文字翻譯為其他語言。"
|
|
969
|
+
|
|
970
|
+
msgctxt "The label for the translate options dropdown button."
|
|
971
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL"
|
|
972
|
+
msgstr "選取語言"
|
|
973
|
+
|
|
974
|
+
msgctxt "The label for the translate option to English."
|
|
975
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH"
|
|
976
|
+
msgstr "英文"
|
|
977
|
+
|
|
978
|
+
msgctxt "The label for the translate option to Spanish."
|
|
979
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH"
|
|
980
|
+
msgstr "西班牙文"
|
|
981
|
+
|
|
982
|
+
msgctxt "The label for the translate option to French."
|
|
983
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH"
|
|
984
|
+
msgstr "法文"
|
|
985
|
+
|
|
986
|
+
msgctxt "The label for the translate option to German."
|
|
987
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN"
|
|
988
|
+
msgstr "德文"
|
|
989
|
+
|
|
990
|
+
msgctxt "The label for the translate option to Chinese."
|
|
991
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE"
|
|
992
|
+
msgstr "中文(簡體)"
|
|
993
|
+
|
|
994
|
+
msgctxt "The label for the translate option to Japanese."
|
|
995
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE"
|
|
996
|
+
msgstr "日文"
|
|
997
|
+
|
|
998
|
+
msgctxt "The label for the translate option to Russian."
|
|
999
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN"
|
|
1000
|
+
msgstr "俄文"
|
|
1001
|
+
|
|
1002
|
+
msgctxt "The label for the translate option to Portuguese."
|
|
1003
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE"
|
|
1004
|
+
msgstr "葡萄牙文"
|
|
1005
|
+
|
|
1006
|
+
msgctxt "The label for the translate option to Korean."
|
|
1007
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN"
|
|
1008
|
+
msgstr "韓文"
|
|
1009
|
+
|
|
1010
|
+
msgctxt "The label for the translate option to Italian."
|
|
1011
|
+
msgid "AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN"
|
|
1012
|
+
msgstr "義大利文"
|
|
1013
|
+
|
|
1014
|
+
msgctxt "Tooltip of the button that shows the changes in the suggestion in the AI chat feed."
|
|
1015
|
+
msgid "AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP"
|
|
1016
|
+
msgid_plural "Show changes in the document"
|
|
1017
|
+
msgstr[0] ""
|
|
1018
|
+
|
|
1019
|
+
msgctxt "Tooltip of the button that inserts the suggestions in the AI chat feed."
|
|
1020
|
+
msgid "AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP"
|
|
1021
|
+
msgid_plural "Insert changes as suggestions"
|
|
1022
|
+
msgstr[0] ""
|
|
1023
|
+
|
|
1024
|
+
msgctxt "The label of the header displayed in the AI chat sources panel."
|
|
1025
|
+
msgid "AI_CHAT_SOURCES_HEADER"
|
|
1026
|
+
msgstr ""
|
|
1027
|
+
|
|
1028
|
+
msgctxt "The label of the toolbar button that toggles the AI chat panel."
|
|
1029
|
+
msgid "AI_TOGGLE_BUTTON_LABEL"
|
|
1030
|
+
msgstr ""
|
|
1031
|
+
|
|
1032
|
+
msgctxt "Label for the AI quick action to translate content to Spanish."
|
|
1033
|
+
msgid "AI_QUICK_ACTIONS_TRANSLATE_SPANISH"
|
|
1034
|
+
msgstr ""
|
|
1035
|
+
|
|
1036
|
+
msgctxt "Label for the AI quick action to translate content to German."
|
|
1037
|
+
msgid "AI_QUICK_ACTIONS_TRANSLATE_GERMAN"
|
|
1038
|
+
msgstr ""
|
|
1039
|
+
|
|
1040
|
+
msgctxt "The message displayed when the AI actions encounters a generic error."
|
|
1041
|
+
msgid "AI_ACTIONS_GENERIC_ERROR"
|
|
1042
|
+
msgstr ""
|
|
1043
|
+
|
|
1044
|
+
msgctxt "The title of the header displayed in the AI balloon."
|
|
1045
|
+
msgid "AI_BALLOON_HEADER_TITLE"
|
|
1046
|
+
msgstr ""
|
|
1047
|
+
|
|
1048
|
+
msgctxt "The tooltip for the button that navigates to the previous AI interaction in the AI actions balloon."
|
|
1049
|
+
msgid "AI_ACTIONS_PREVIOUS_INTERACTION"
|
|
1050
|
+
msgstr ""
|
|
1051
|
+
|
|
1052
|
+
msgctxt "The tooltip for the button that navigates to the next AI interaction in the AI actions balloon."
|
|
1053
|
+
msgid "AI_ACTIONS_NEXT_INTERACTION"
|
|
1054
|
+
msgstr ""
|
|
1055
|
+
|
|
1056
|
+
msgctxt "Text displayed when there were no changes suggested at all to review in the AI review mode."
|
|
1057
|
+
msgid "AI_REVIEW_MODE_EMPTY_RESULTS_TEXT"
|
|
1058
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ai",
|
|
3
|
-
"version": "47.0.0-alpha.
|
|
3
|
+
"version": "47.0.0-alpha.8",
|
|
4
4
|
"description": "AI features for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@aws-sdk/client-bedrock-runtime": "3.823.0",
|
|
32
|
-
"@ckeditor/ckeditor5-clipboard": "47.0.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-core": "47.0.0-alpha.
|
|
36
|
-
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.
|
|
37
|
-
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-markdown-gfm": "47.0.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-table": "47.0.0-alpha.
|
|
40
|
-
"@ckeditor/ckeditor5-theme-lark": "47.0.0-alpha.
|
|
41
|
-
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.
|
|
42
|
-
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-real-time-collaboration": "47.0.0-alpha.
|
|
44
|
-
"ckeditor5": "47.0.0-alpha.
|
|
45
|
-
"ckeditor5-collaboration": "47.0.0-alpha.
|
|
32
|
+
"@ckeditor/ckeditor5-clipboard": "47.0.0-alpha.8",
|
|
33
|
+
"@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.8",
|
|
34
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.8",
|
|
35
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.8",
|
|
36
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.8",
|
|
37
|
+
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.8",
|
|
38
|
+
"@ckeditor/ckeditor5-markdown-gfm": "47.0.0-alpha.8",
|
|
39
|
+
"@ckeditor/ckeditor5-table": "47.0.0-alpha.8",
|
|
40
|
+
"@ckeditor/ckeditor5-theme-lark": "47.0.0-alpha.8",
|
|
41
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.8",
|
|
42
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.8",
|
|
43
|
+
"@ckeditor/ckeditor5-real-time-collaboration": "47.0.0-alpha.8",
|
|
44
|
+
"ckeditor5": "47.0.0-alpha.8",
|
|
45
|
+
"ckeditor5-collaboration": "47.0.0-alpha.8",
|
|
46
46
|
"es-toolkit": "1.39.5",
|
|
47
47
|
"eventsource-parser": "3.0.2",
|
|
48
48
|
"htmlparser2": "10.0.0",
|
|
@@ -6,7 +6,6 @@ import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
|
|
6
6
|
import { type AIActionsNames, AIConnector } from '../aicore/aiconnector.js';
|
|
7
7
|
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
8
8
|
import { AIEditing } from '../aicore/aiediting.js';
|
|
9
|
-
import { AIActionsInteraction } from './model/aiactionsinteraction.js';
|
|
10
9
|
import { AIBalloon } from '../aiballoon/aiballoon.js';
|
|
11
10
|
import { DocumentCompare } from '@ckeditor/ckeditor5-collaboration-core';
|
|
12
11
|
export declare class AIActions extends Plugin {
|
|
@@ -36,7 +35,6 @@ export declare class AIActions extends Plugin {
|
|
|
36
35
|
isBusy: boolean;
|
|
37
36
|
constructor(editor: Editor);
|
|
38
37
|
stopInteraction(): void;
|
|
39
|
-
get previousInteractions(): ReadonlyArray<AIActionsInteraction>;
|
|
40
38
|
executeAction(action: AIActionDefinition, label: string, icon?: string): Promise<void>;
|
|
41
39
|
private _createInteraction;
|
|
42
40
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cb3af=_0x1d76;(function(_0x4cefa6,_0xb8421b){const _0x23ec7e=_0x1d76,_0x16563c=_0x4cefa6();while(!![]){try{const _0x2e5833=parseInt(_0x23ec7e(0x1fe))/0x1+parseInt(_0x23ec7e(0x1bb))/0x2*(-parseInt(_0x23ec7e(0x16f))/0x3)+-parseInt(_0x23ec7e(0x1e1))/0x4+parseInt(_0x23ec7e(0x1e4))/0x5*(-parseInt(_0x23ec7e(0x17f))/0x6)+-parseInt(_0x23ec7e(0x1f1))/0x7+parseInt(_0x23ec7e(0x18e))/0x8+parseInt(_0x23ec7e(0x1f9))/0x9;if(_0x2e5833===_0xb8421b)break;else _0x16563c['push'](_0x16563c['shift']());}catch(_0x145847){_0x16563c['push'](_0x16563c['shift']());}}}(_0x54b2,0x8963c));function _0x54b2(){const _0x169231=['end','enqueue','modelToViewWithIds','rootName','abort','_executeAction','_appendChild','editor','position','updateContent','streaming','_filterOperationsOutsideRange','_currentInteractionParams','3080072vRDuLC','replyContentUpdated','execute','insertSuggestion','random','addOperation','slice','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','previousInteractions','AIConnector','data','clone','length','_previousInteractions','isPremiumPlugin','TrackChangesEditing','isOfficialPlugin','applySuggestion','_applyChanges','getSelectedBlocks','Error\x20updating\x20content\x20in\x20replyContentUpdated:','changeGroups','parent','_balloonShowDiff','_stopInteraction','showLoader','locale','ck-ai-custom-action-button','nodeAfter','createPositionAt','executeAction','AIBalloon','type','getSelectedTableCells','_getExecuteDataRegular','howMany','reinsert','push','move','startsWith','processor','stickiness','createPositionBefore','isDocumentOperation','_interaction','4610FgSnGi','documentFragment','getDocumentContext','_clearLoadingState','_setupCustomViews','change','static','_clearSuggestionContent','version','Error\x20refreshing\x20interaction:','start','clearLoading','stop','range','operationsA','close','message','toData','ai-request-aborted','icon','replies','filter','_applyOperationsAsSuggestions','indexOf','Attribute','includes','getLimitElement','_setLoadingState','nextSibling','getSelectionAsFragment','schema','baseVersion','isEnabled','interactionFinished','hideLoader','createRange','_refreshInteraction','_wrapWithCommonAncestors','1387744dKjWzb','has','getChild','5560DkEdqW','batch','first','sourcePosition','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','getFirstRange','applyOperation','toggleSuggestionDisplayMode','Error\x20updating\x20content\x20in\x20replyCreated:','_promiseQueue','insert','documentContextContent','_clone','813512pTARyi','get','_clearInteractionHistory','setLoading','requires','selection','rename','history','13511358WNecLG','No\x20current\x20interaction\x20to\x20refresh','_anchorOperation','TableSelection','focus','686780mKQPSl','merge','hasPendingParts','model','replyCreated','dialogClosed','map','bodyView','getRanges','getAncestors','warn','isBusy','$graveyard','set','getRoot','_customViews','stopInteraction','queueEmptyPromise','_children','_createInteraction','bind','remove','getCommonAncestor','_isAbortError','getSelectedContent','open','plugins','stopListening','listenTo','pluginName','_getExecuteDataInTable','AIActions','837eRlclm','setSelection','root','catch','add','_aiConnector','isCollapsed','error','path','getOperations','split','createPositionAfter','getChildAtOffset','document','balloonView','AI_ACTIONS_TRY_AGAIN','4878UAZFEb','_execute'];_0x54b2=function(){return _0x169231;};return _0x54b2();}import{Plugin as _0x31fa12}from'ckeditor5/src/core.js';import{AIConnector as _0x2b80a3}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x4f1c9e}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0xacc1fc,ButtonView as _0x137a66,ViewCollection as _0x629451}from'ckeditor5/src/ui.js';import{AIEditing as _0xfb7b7f}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x180878}from'./model/aiactionsinteraction.js';import{first as _0x4465b9}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x5b1099,IconRefresh as _0x225576}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x5757b5}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x12f0a7}from'../aichat/utils/promisequeue.js';function _0x1d76(_0x1e2c37,_0x50fcb7){const _0x54b295=_0x54b2();return _0x1d76=function(_0x1d76f0,_0x2b2324){_0x1d76f0=_0x1d76f0-0x157;let _0x2f4811=_0x54b295[_0x1d76f0];return _0x2f4811;},_0x1d76(_0x1e2c37,_0x50fcb7);}import{getTranslation as _0xa1c139}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x4ef310}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x3f3e59}from'@ckeditor/ckeditor5-collaboration-core';import{getOperationsFromReply as _0x3f835f}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x139095,ModelRange as _0x2efb5c,ModelPosition as _0x506d80,_DetachOperation as _0x128d9d,transformOperationSets as _0x2cdc5f}from'ckeditor5/src/engine.js';export class AIActions extends _0x31fa12{static get[_0x1cb3af(0x1f5)](){return[_0x2b80a3,_0xacc1fc,_0xfb7b7f,_0x5757b5,_0x3f3e59];}static get[_0x1cb3af(0x16c)](){const _0x5ec162=_0x1cb3af;return _0x5ec162(0x16e);}static get[_0x1cb3af(0x19e)](){return!0x0;}static get[_0x1cb3af(0x19c)](){return!0x0;}[_0x1cb3af(0x174)];[_0x1cb3af(0x19b)]=[];[_0x1cb3af(0x18d)];[_0x1cb3af(0x1a5)]=!0x1;[_0x1cb3af(0x15e)]=new _0x629451();[_0x1cb3af(0x1ed)];constructor(_0x13bbd9){const _0x562e6b=_0x1cb3af;super(_0x13bbd9),this[_0x562e6b(0x174)]=this[_0x562e6b(0x188)][_0x562e6b(0x169)][_0x562e6b(0x1f2)](_0x562e6b(0x197)),this[_0x562e6b(0x15c)](_0x562e6b(0x15a),!0x1),this[_0x562e6b(0x1ed)]=new _0x12f0a7(),this[_0x562e6b(0x1bf)]();}[_0x1cb3af(0x15f)](){const _0x142730=_0x1cb3af;this[_0x142730(0x1a6)]();}get[_0x1cb3af(0x196)](){const _0x232141=_0x1cb3af;return this[_0x232141(0x19b)];}async[_0x1cb3af(0x1ac)](_0x3dd099,_0x10d7c0,_0x4e596b){const _0x4274fd=_0x1cb3af;if(this[_0x4274fd(0x188)][_0x4274fd(0x169)][_0x4274fd(0x1e2)](_0x4274fd(0x1fc))){if(this[_0x4274fd(0x188)][_0x4274fd(0x169)][_0x4274fd(0x1f2)](_0x4274fd(0x1fc))[_0x4274fd(0x1af)]()){const {modelFragment:_0x851391,anchorData:_0x10b172}=this[_0x4274fd(0x16d)]();return this[_0x4274fd(0x186)](_0x3dd099,_0x851391,_0x10b172,_0x10d7c0,_0x4e596b);}}const {modelFragment:_0x5186ca,anchorData:_0xa9ae26}=this[_0x4274fd(0x1b0)]();return this[_0x4274fd(0x186)](_0x3dd099,_0x5186ca,_0xa9ae26,_0x10d7c0,_0x4e596b);}[_0x1cb3af(0x1b0)](){const _0x37eee0=_0x1cb3af,_0x1276df=this[_0x37eee0(0x188)][_0x37eee0(0x201)][_0x37eee0(0x17c)][_0x37eee0(0x1f6)];if(_0x1276df[_0x37eee0(0x175)]){const _0x2367c6=_0x4465b9(_0x1276df[_0x37eee0(0x1a1)]())||this[_0x37eee0(0x188)][_0x37eee0(0x201)][_0x37eee0(0x1d9)][_0x37eee0(0x1d5)](_0x1276df);this[_0x37eee0(0x188)][_0x37eee0(0x201)][_0x37eee0(0x1c0)](_0x1ddb2d=>{const _0x350b54=_0x37eee0;_0x1ddb2d[_0x350b54(0x170)](_0x2367c6,'in');});}const _0x57e380=_0x1276df[_0x37eee0(0x1e9)](),_0x2024c8=this[_0x37eee0(0x1e0)](this[_0x37eee0(0x188)][_0x37eee0(0x201)][_0x37eee0(0x167)](_0x1276df),_0x57e380[_0x37eee0(0x1c5)],_0x57e380[_0x37eee0(0x181)]),_0x2d2bf8=_0x1276df[_0x37eee0(0x1e9)]()[_0x37eee0(0x1c5)],_0x36eb02=new Map();let _0x756d86=_0x2024c8;for(let _0x4f58ce=0x0;_0x4f58ce<_0x2d2bf8[_0x37eee0(0x177)][_0x37eee0(0x19a)];_0x4f58ce++)_0x36eb02[_0x37eee0(0x15c)](_0x756d86,_0x2d2bf8[_0x37eee0(0x177)][_0x4f58ce]),_0x756d86=_0x756d86[_0x37eee0(0x1e3)](0x0);return{'modelFragment':_0x2024c8,'anchorData':_0x36eb02};}[_0x1cb3af(0x16d)](){const _0x6deb29=_0x1cb3af,_0x4c3740=this[_0x6deb29(0x188)][_0x6deb29(0x201)][_0x6deb29(0x17c)][_0x6deb29(0x1f6)],_0x1c7df7=this[_0x6deb29(0x188)][_0x6deb29(0x169)][_0x6deb29(0x1f2)](_0x6deb29(0x1fc))[_0x6deb29(0x1d8)](),_0x72c2a5=_0x4c3740[_0x6deb29(0x1e9)]()[_0x6deb29(0x1c5)][_0x6deb29(0x1a4)][_0x6deb29(0x1a4)],_0x4eef9e=this[_0x6deb29(0x1e0)](_0x1c7df7,this[_0x6deb29(0x188)][_0x6deb29(0x201)][_0x6deb29(0x1b8)](_0x72c2a5),this[_0x6deb29(0x188)][_0x6deb29(0x201)][_0x6deb29(0x17a)](_0x72c2a5)),_0x400380=_0x4c3740[_0x6deb29(0x1e9)]()[_0x6deb29(0x1c5)],_0xdef5f3=new Map();let _0x3bb688=_0x4eef9e;for(let _0x34a3cb=0x0;_0x34a3cb<_0x400380[_0x6deb29(0x177)][_0x6deb29(0x19a)];_0x34a3cb++)if(_0xdef5f3[_0x6deb29(0x15c)](_0x3bb688,_0x400380[_0x6deb29(0x177)][_0x34a3cb]),_0x34a3cb<_0x400380[_0x6deb29(0x177)][_0x6deb29(0x19a)]-0x1)_0x3bb688=_0x3bb688[_0x6deb29(0x1e3)](0x0);else{let _0x58b528=_0x3bb688[_0x6deb29(0x1d7)];for(;_0x58b528;)_0xdef5f3[_0x6deb29(0x15c)](_0x58b528,_0x400380[_0x6deb29(0x177)][_0x34a3cb]),_0x58b528=_0x58b528[_0x6deb29(0x1d7)];}return{'modelFragment':_0x4eef9e,'anchorData':_0xdef5f3};}[_0x1cb3af(0x186)](_0x427527,_0x3397ad,_0x448ff4,_0xc126d7,_0x521f11){const _0x48e592=_0x1cb3af,_0xd0db6c=this[_0x48e592(0x188)][_0x48e592(0x169)][_0x48e592(0x1f2)](_0xfb7b7f),_0x202820=this[_0x48e592(0x188)][_0x48e592(0x169)][_0x48e592(0x1f2)](_0x5757b5),_0x56613a=this[_0x48e592(0x188)][_0x48e592(0x201)][_0x48e592(0x17c)][_0x48e592(0x1f6)],_0xf10a4c=_0xd0db6c[_0x48e592(0x183)](_0x3397ad),_0x38d5e3=this[_0x48e592(0x188)][_0x48e592(0x198)][_0x48e592(0x1b6)][_0x48e592(0x1cc)](_0xf10a4c),_0x2b521a=this[_0x48e592(0x188)][_0x48e592(0x201)][_0x48e592(0x17c)][_0x48e592(0x1c3)],_0x1b0ac7=[..._0x56613a[_0x48e592(0x157)]()],_0x418e76=new _0x4f1c9e(this[_0x48e592(0x188)][_0x48e592(0x1a8)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x48e592(0x1ce),'customView':this[_0x48e592(0x15e)]},'showUnchangedParts':!0x0});return _0x202820[_0x48e592(0x168)]({'index':0x3e8*Math[_0x48e592(0x192)]()%0x3e8,'title':_0xc126d7,'icon':_0x521f11||_0x5b1099,'mainView':_0x418e76,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x1b0ac7}),this[_0x48e592(0x1d6)](_0x418e76,_0x202820),this[_0x48e592(0x16b)](_0x202820,_0x48e592(0x19f),()=>{const _0x31aa3e=_0x48e592;this[_0x31aa3e(0x1a0)](_0x3397ad,_0x448ff4,!0x1);}),this[_0x48e592(0x16b)](_0x202820,_0x48e592(0x191),()=>{const _0x48c445=_0x48e592;this[_0x48c445(0x1a0)](_0x3397ad,_0x448ff4,!0x0);}),this[_0x48e592(0x16b)](_0x202820,_0x48e592(0x203),()=>{const _0x541f8f=_0x48e592;this[_0x541f8f(0x1a6)](),this[_0x541f8f(0x1f3)](),this[_0x541f8f(0x16a)](_0x202820);}),this[_0x48e592(0x162)](_0x38d5e3,_0x2b521a,_0x418e76,_0x202820,_0x427527);}[_0x1cb3af(0x1e0)](_0x11610e,_0xee6c7c,_0x1cc4e8){const _0x1c8681=_0x1cb3af,_0x189a06=this[_0x1c8681(0x188)][_0x1c8681(0x201)][_0x1c8681(0x1de)](_0xee6c7c,_0x1cc4e8)[_0x1c8681(0x165)](),_0x2e9346=_0x189a06['is'](_0x1c8681(0x1bc))?[]:_0x189a06[_0x1c8681(0x158)]({'includeSelf':!0x0})[_0x1c8681(0x194)](0x1);if(_0x2e9346[_0x1c8681(0x19a)]){const _0x3b48f2=_0x2e9346[_0x1c8681(0x204)](_0x126c81=>_0x126c81[_0x1c8681(0x1f0)](!0x1));for(let _0xa204ed=0x1;_0xa204ed<_0x3b48f2[_0x1c8681(0x19a)];_0xa204ed++)_0x3b48f2[_0xa204ed-0x1][_0x1c8681(0x187)](_0x3b48f2[_0xa204ed]);return _0x3b48f2[_0x3b48f2[_0x1c8681(0x19a)]-0x1][_0x1c8681(0x187)](_0x11610e),new _0x139095(_0x3b48f2[0x0]);}return _0x11610e;}async[_0x1cb3af(0x162)](_0x281c68,_0x46361d,_0x505e8b,_0x38de64,_0x3c3756){const _0x3ee084=_0x1cb3af,_0x1782b9=this[_0x3ee084(0x188)];this[_0x3ee084(0x18d)]={'action':_0x3c3756,'content':_0x281c68,'version':_0x46361d,'mainView':_0x505e8b,'aiBalloon':_0x38de64},this[_0x3ee084(0x1ba)]=new _0x180878({'connector':this[_0x3ee084(0x174)],'editor':_0x1782b9,'content':_0x281c68,'version':_0x46361d,..._0x3c3756});const _0x38fa5a=(_0x746a7e,_0x3f4022,_0x2f205c=!0x1,_0x1c905c=_0x3ee084(0x18b))=>this[_0x3ee084(0x1ed)][_0x3ee084(0x182)](async _0x384d66=>{const _0x5cccd4=_0x3ee084;try{const _0x2cbea1=_0x4ef310({'editor':_0x1782b9,'changeGroups':_0x746a7e[_0x5cccd4(0x1a3)],'documentContextContent':_0x746a7e[_0x5cccd4(0x1ef)],'showDiff':_0x2f205c,'trimUnchanged':!0x1});await _0x3f4022[_0x5cccd4(0x18a)]({'parts':_0x2cbea1,'renderingStrategy':_0x1c905c,'abortSignal':_0x384d66});}catch(_0x122602){if(this[_0x5cccd4(0x166)](_0x122602))return;throw _0x122602;}});this[_0x3ee084(0x1ba)]['on'](_0x3ee084(0x202),(_0x3f79b4,_0x56dd99)=>{const _0x1cef79=_0x3ee084;_0x505e8b[_0x1cef79(0x1dd)](),_0x38fa5a(_0x56dd99,_0x505e8b)[_0x1cef79(0x172)](_0x5d29e3=>{const _0x3f47e4=_0x1cef79;this[_0x3f47e4(0x166)](_0x5d29e3)||console[_0x3f47e4(0x176)](_0x3f47e4(0x1ec),_0x5d29e3);});}),this[_0x3ee084(0x1ba)]['on'](_0x3ee084(0x18f),(_0x40aced,_0x25a3b3)=>{const _0xbc84ea=_0x3ee084;_0x38fa5a(_0x25a3b3,_0x505e8b)[_0xbc84ea(0x172)](_0x47bd6e=>{const _0x4aabf8=_0xbc84ea;this[_0x4aabf8(0x166)](_0x47bd6e)||console[_0x4aabf8(0x176)](_0x4aabf8(0x1a2),_0x47bd6e);});}),this[_0x3ee084(0x1ba)]['on'](_0x3ee084(0x1dc),async()=>{const _0x1f3592=_0x3ee084;try{await this[_0x1f3592(0x1be)](_0x505e8b,_0x38de64);}catch(_0x438a27){this[_0x1f3592(0x166)](_0x438a27)||console[_0x1f3592(0x176)](_0x1f3592(0x1e8),_0x438a27);}}),this[_0x3ee084(0x16b)](_0x505e8b,_0x3ee084(0x1eb),(_0x1c7435,{showDiff:_0x50decf})=>{const _0x574c67=_0x3ee084;this[_0x574c67(0x1a5)]=_0x50decf;const _0x4f7b92=this[_0x574c67(0x1ba)][_0x574c67(0x1cf)][this[_0x574c67(0x1ba)][_0x574c67(0x1cf)][_0x574c67(0x19a)]-0x1];_0x4f7b92&&_0x38fa5a(_0x4f7b92,_0x505e8b,_0x50decf,_0x574c67(0x1c1))[_0x574c67(0x172)](_0x8db8da=>{const _0x445ffb=_0x574c67;this[_0x445ffb(0x166)](_0x8db8da)||console[_0x445ffb(0x176)](_0x445ffb(0x195),_0x8db8da);});}),this[_0x3ee084(0x1d6)](_0x505e8b,_0x38de64);try{return await this[_0x3ee084(0x1ba)][_0x3ee084(0x1c5)]();}catch(_0x502dcc){if(this[_0x3ee084(0x166)](_0x502dcc))return;throw _0x502dcc;}}[_0x1cb3af(0x1a0)](_0x1db3ce,_0x3d948a,_0x36a623){const _0x11f6d5=_0x1cb3af,_0x506dc9=this[_0x11f6d5(0x188)],_0x1631ad=this[_0x11f6d5(0x188)][_0x11f6d5(0x169)][_0x11f6d5(0x1f2)](_0x3f3e59),_0x424d70=this[_0x11f6d5(0x1ba)],_0x11a9fa=this[_0x11f6d5(0x1ba)][_0x11f6d5(0x1cf)][this[_0x11f6d5(0x1ba)][_0x11f6d5(0x1cf)][_0x11f6d5(0x19a)]-0x1],_0x5a33c2=_0x11a9fa[_0x11f6d5(0x1a3)];let _0x20b07b=_0x3f835f({'editor':_0x506dc9,'reply':_0x11a9fa,'interaction':_0x424d70,'groups':_0x5a33c2,'transform':!0x1,'documentCompare':_0x1631ad,'documentCompareOptions':{'anchor':_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x1ab)](_0x1db3ce,0x0),'markDeletions':_0x36a623}});_0x20b07b=this[_0x11f6d5(0x18c)](_0x20b07b,_0x3d948a);for(const _0x1c0aed of _0x20b07b)this[_0x11f6d5(0x1fb)](_0x3d948a,_0x1c0aed,_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x17c)][_0x11f6d5(0x15d)]());const _0x316401=_0x424d70[_0x11f6d5(0x1bd)]()[_0x11f6d5(0x1c3)],_0x2333ea=_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x17c)][_0x11f6d5(0x1f8)][_0x11f6d5(0x178)](_0x316401),_0x402e4e={'document':_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x17c)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1653bb=_0x2cdc5f(_0x20b07b,_0x2333ea,_0x402e4e)[_0x11f6d5(0x1c9)];_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x1c0)](_0x8fc194=>{const _0x5ac148=_0x11f6d5;if(_0x8fc194[_0x5ac148(0x170)](_0x506dc9[_0x5ac148(0x201)][_0x5ac148(0x17c)][_0x5ac148(0x1f6)][_0x5ac148(0x1fd)]),_0x36a623)_0x506dc9[_0x5ac148(0x169)][_0x5ac148(0x1f2)](_0x5ac148(0x19d))[_0x5ac148(0x1d1)](_0x1653bb);else{for(const _0x5a3ffa of _0x1653bb)_0x5a3ffa[_0x5ac148(0x1da)]=_0x506dc9[_0x5ac148(0x201)][_0x5ac148(0x17c)][_0x5ac148(0x1c3)],_0x8fc194[_0x5ac148(0x1e5)][_0x5ac148(0x193)](_0x5a3ffa),_0x506dc9[_0x5ac148(0x201)][_0x5ac148(0x1ea)](_0x5a3ffa);}}),this[_0x11f6d5(0x188)][_0x11f6d5(0x169)][_0x11f6d5(0x1f2)](_0x11f6d5(0x1ad))[_0x11f6d5(0x1ca)]();}[_0x1cb3af(0x18c)](_0x546e47,_0x5a7a99){const _0x49b0e2=_0x1cb3af;return _0x546e47[_0x49b0e2(0x1d0)](_0x185281=>{const _0x3b5411=_0x49b0e2;if(_0x3b5411(0x1f7)==_0x185281[_0x3b5411(0x1ae)]){const _0x2e1ccc=_0x185281[_0x3b5411(0x189)][_0x3b5411(0x1aa)];return!_0x5a7a99[_0x3b5411(0x1e2)](_0x2e1ccc);}if(_0x185281[_0x3b5411(0x1ae)][_0x3b5411(0x1d2)](_0x3b5411(0x1d3))>-0x1){const _0x148312=_0x185281[_0x3b5411(0x1c8)][_0x3b5411(0x1c5)][_0x3b5411(0x1aa)];return!_0x5a7a99[_0x3b5411(0x1e2)](_0x148312);}return!0x0;});}[_0x1cb3af(0x1fb)](_0x561106,_0x3a8a8e,_0xce6284){const _0x4c8d97=_0x1cb3af,_0x12e3d3=_0x3a8a8e[_0x4c8d97(0x199)]();for(const _0x1b9fe2 in _0x3a8a8e){const _0x3ddadc=_0x3a8a8e[_0x1b9fe2];_0x3ddadc instanceof _0x2efb5c?_0x3a8a8e[_0x1b9fe2]=new _0x2efb5c(_0x9ae258(_0x3ddadc[_0x4c8d97(0x1c5)]),_0x9ae258(_0x3ddadc[_0x4c8d97(0x181)])):_0x3ddadc instanceof _0x506d80&&(_0x3a8a8e[_0x1b9fe2]=_0x9ae258(_0x3ddadc));}if([_0x4c8d97(0x1ee),_0x4c8d97(0x1b4),_0x4c8d97(0x164),_0x4c8d97(0x1b2),_0x4c8d97(0x179),_0x4c8d97(0x1ff)][_0x4c8d97(0x1d4)](_0x12e3d3[_0x4c8d97(0x1ae)])){if(_0x12e3d3[_0x4c8d97(0x1b9)]=!0x1,_0x12e3d3[_0x4c8d97(0x1da)]=null,_0x4c8d97(0x164)==_0x12e3d3[_0x4c8d97(0x1ae)]){const _0x1f09de=_0x12e3d3[_0x4c8d97(0x1e7)],_0x105907=_0x12e3d3[_0x4c8d97(0x1b1)];new _0x128d9d(_0x1f09de,_0x105907)[_0x4c8d97(0x180)]();}else _0x12e3d3[_0x4c8d97(0x180)]();}function _0x9ae258(_0x33f1b0){const _0x34c791=_0x4c8d97;if(_0x34c791(0x15b)==_0x33f1b0[_0x34c791(0x171)][_0x34c791(0x184)])return _0x33f1b0;const _0x3f0a32=[];let _0x53260d=_0x33f1b0[_0x34c791(0x171)];for(let _0x1c44c3=0x0;_0x1c44c3<_0x33f1b0[_0x34c791(0x177)][_0x34c791(0x19a)];_0x1c44c3++){const _0x29a475=_0x561106[_0x34c791(0x1f2)](_0x53260d)||0x0;_0x3f0a32[_0x1c44c3]=_0x33f1b0[_0x34c791(0x177)][_0x1c44c3]+_0x29a475,_0x53260d=_0x53260d[_0x34c791(0x17b)](_0x33f1b0[_0x34c791(0x177)][_0x1c44c3]);}return new _0x506d80(_0xce6284,_0x3f0a32,_0x33f1b0[_0x34c791(0x1b7)]);}}[_0x1cb3af(0x1df)](){const _0x21b413=_0x1cb3af;if(!this[_0x21b413(0x18d)])return void console[_0x21b413(0x159)](_0x21b413(0x1fa));this[_0x21b413(0x1ba)]&&(this[_0x21b413(0x19b)][_0x21b413(0x1b3)](this[_0x21b413(0x1ba)]),this[_0x21b413(0x1a6)]());const {action:_0x3e33f4,content:_0x34d367,version:_0x11d84c,mainView:_0x4efa5e,aiBalloon:_0x38f078}=this[_0x21b413(0x18d)];this[_0x21b413(0x1c2)](_0x4efa5e),_0x4efa5e[_0x21b413(0x1a7)](),this[_0x21b413(0x162)](_0x34d367,_0x11d84c,_0x4efa5e,_0x38f078,_0x3e33f4)[_0x21b413(0x172)](_0x54db50=>{const _0x530351=_0x21b413;this[_0x530351(0x166)](_0x54db50)||console[_0x530351(0x176)](_0x530351(0x1c4),_0x54db50);});}[_0x1cb3af(0x1c2)](_0x144c40){const _0x486114=_0x1cb3af,_0x2c16cf=_0x144c40[_0x486114(0x205)][_0x486114(0x161)];for(;_0x2c16cf[_0x486114(0x19a)]>0x0;)_0x2c16cf[_0x486114(0x164)](_0x2c16cf[_0x486114(0x1e6)]);_0x144c40[_0x486114(0x205)][_0x486114(0x200)]=!0x1;}[_0x1cb3af(0x166)](_0x4b76f6){const _0x6846a6=_0x1cb3af;return!!_0x4b76f6[_0x6846a6(0x1cb)]&&_0x4b76f6[_0x6846a6(0x1cb)][_0x6846a6(0x1b5)](_0x6846a6(0x1cd));}[_0x1cb3af(0x1f3)](){const _0x56e604=_0x1cb3af;this[_0x56e604(0x19b)]=[],this[_0x56e604(0x18d)]=void 0x0;}[_0x1cb3af(0x1a6)](){const _0x33a3d7=_0x1cb3af;this[_0x33a3d7(0x1ba)]&&this[_0x33a3d7(0x1ba)][_0x33a3d7(0x1c7)](),this[_0x33a3d7(0x1ed)][_0x33a3d7(0x185)](),this[_0x33a3d7(0x15a)]=!0x1;}[_0x1cb3af(0x1bf)](){const _0x25effc=_0x1cb3af,_0x2810af=new _0x137a66(this[_0x25effc(0x188)][_0x25effc(0x1a8)]);_0x2810af[_0x25effc(0x15c)]({'icon':_0x225576,'label':_0xa1c139(this[_0x25effc(0x188)][_0x25effc(0x1a8)],_0x25effc(0x17e)),'tooltip':!0x0,'class':_0x25effc(0x1a9)}),_0x2810af[_0x25effc(0x163)](_0x25effc(0x1db))['to'](this,_0x25effc(0x15a),_0x2ce8e0=>!_0x2ce8e0),_0x2810af['on'](_0x25effc(0x190),()=>{const _0x45e0d7=_0x25effc;this[_0x45e0d7(0x1df)]();}),this[_0x25effc(0x15e)][_0x25effc(0x173)](_0x2810af);}[_0x1cb3af(0x1d6)](_0x1b9ef4,_0x40e8ce){const _0x158828=_0x1cb3af;_0x1b9ef4[_0x158828(0x1f4)](),_0x40e8ce[_0x158828(0x17d)][_0x158828(0x1f4)](),this[_0x158828(0x15a)]=!0x0;}async[_0x1cb3af(0x1be)](_0x46220a,_0x83251e){const _0x38f726=_0x1cb3af;await this[_0x38f726(0x1ed)][_0x38f726(0x160)],this[_0x38f726(0x15a)]=!0x1,_0x46220a[_0x38f726(0x1c6)](),_0x83251e[_0x38f726(0x17d)][_0x38f726(0x1c6)]();}}
|
|
23
|
+
function _0x4238(){const _0x10cfc7=['_isAbortError','_navigateToPrevious','TableSelection','showChangesButton','bodyView','modelToViewWithIds','version','slice','random','push','rejected','addNavigationItem','isLoading','AI_ACTIONS_TRY_AGAIN','AIActions','pluginName','textContent','$graveyard','_isNavigationCounterInView','getChild','isOfficialPlugin','ck-ai-navigation-button\x20ck-ai-next-button','stopListening','setChangeGroupState','Error\x20updating\x20content\x20in\x20replyContentUpdated:','1/1','history','_children','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','sourcePosition','1924641VPrill','_refreshInteraction','filter','baseVersion','listenTo','ck-ai-custom-action-button','_createInteraction','stopInteraction','queueEmptyPromise','getSelectedBlocks','TrackChangesEditing','requires','documentContextContent','startsWith','_clearErrorState','Error\x20updating\x20content\x20in\x20replyCreated:','Error\x20updating\x20content\x20during\x20navigation:','rootName','replies','span','state','96DjuOoj','close','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','reinsert','_executeAction','indexOf','range','operationsA','_balloonShowDiff','getRoot','createRange','nextSibling','accepted','bind','_isNavigationPreviousButtonInView','_customViews','mainView','selection','getCommonAncestor','createPositionBefore','change','actionCallId','execute','remove','map','hasError','setErrorState','ck-ai-interaction-counter','isEnabled','enqueue','abort','1265588UYvVJE','insertSuggestion','plugins','locale','type','open','has','processor','Error\x20refreshing\x20interaction:','replyContentUpdated','focus','pending','_interaction','toData','includes','isBusy','_navigationPreviousButton','_applyChanges','nodeAfter','_promiseQueue','_setupCustomViews','AIBalloon','_clearSuggestionContent','_navigationNextButton','_setErrorState','removeNavigationItem','toggleSuggestionDisplayMode','toolbar','path','_applyOperationsAsSuggestions','actionName','showError','getFirstRange','_anchorOperation','_currentInteractionIndex','clearLoading','add','_execute','_stopInteraction','getSelectionAsFragment','AIConnector','editor','_aiConnector','miniToolbarView','_setLoadingState','hasPendingParts','length','element','start','root','batch','first','error','_displayInteractionAtIndex','getLimitElement','setLoading','802722FYLYYF','_appendChild','_filterOperationsOutsideRange','static','clearErrorState','move','getRanges','position','Attribute','_interactions','catch','clone','howMany','icon','hideLoader','AI_ACTIONS_PREVIOUS_INTERACTION','replyChangeGroupStateUpdated','split','ai-request-aborted','interactionFinished','message','applySuggestion','8155084LtbvMu','_isNavigationNextButtonInView','2156558NhVqUK','6AKxLIs','isPremiumPlugin','getSelectedTableCells','getOperations','upsertAIActionRating','applyOperation','document','AI_ACTIONS_NEXT_INTERACTION','_navigateToNext','changeGroups','stickiness','rename','areChangesVisible','balloonView','getSelectedContent','_interactionParams','isCollapsed','AI_ACTIONS_GENERIC_ERROR','dialogClosed','_wrapWithCommonAncestors','ck-ai-navigation-button\x20ck-ai-previous-button','createPositionAt','getChildAtOffset','addOperation','setSelection','_navigationCounter','_getExecuteDataRegular','streaming','schema','parent','replyCreated','getDocumentContext','documentFragment','_clearInteractionHistory','hideError','_getExecuteDataInTable','isDocumentOperation','_updateNavigationUI','get','createPositionAfter','aiBalloon','model','end','stop','data','signal','5181755ZtTyOd','executeAction','insert','_clone','showLoader','upsertCustomAIActionRating','_clearLoadingState','set','setTemplate','updateContent','896739VaHGtj','merge','getAncestors'];_0x4238=function(){return _0x10cfc7;};return _0x4238();}const _0x625421=_0x4b3d;(function(_0x4d269f,_0x4218ef){const _0x14f308=_0x4b3d,_0x5eb04a=_0x4d269f();while(!![]){try{const _0x504386=-parseInt(_0x14f308(0x1c8))/0x1+-parseInt(_0x14f308(0x1e0))/0x2+parseInt(_0x14f308(0x219))/0x3+-parseInt(_0x14f308(0x190))/0x4+-parseInt(_0x14f308(0x20f))/0x5+-parseInt(_0x14f308(0x1e1))/0x6*(-parseInt(_0x14f308(0x1de))/0x7)+parseInt(_0x14f308(0x171))/0x8*(parseInt(_0x14f308(0x23a))/0x9);if(_0x504386===_0x4218ef)break;else _0x5eb04a['push'](_0x5eb04a['shift']());}catch(_0x72101){_0x5eb04a['push'](_0x5eb04a['shift']());}}}(_0x4238,0xc26cc));import{Plugin as _0xc2388f}from'ckeditor5/src/core.js';import{AIConnector as _0x10372a}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x339382}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x201968,ButtonView as _0x1121e5,ViewCollection as _0x3138e9,View as _0x55ee2c}from'ckeditor5/src/ui.js';import{AIEditing as _0x5c551}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x40ccc4}from'./model/aiactionsinteraction.js';import{first as _0x55028}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x7f0aef,IconRefresh as _0x591a24,IconNextArrow as _0x44a549,IconPreviousArrow as _0x13e120,IconShowChangesOff as _0x2341b0}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x133e6e}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x2b1a66}from'../aichat/utils/promisequeue.js';function _0x4b3d(_0x13d505,_0x29868f){const _0x4238db=_0x4238();return _0x4b3d=function(_0x4b3d33,_0x5319ea){_0x4b3d33=_0x4b3d33-0x167;let _0x52c0cd=_0x4238db[_0x4b3d33];return _0x52c0cd;},_0x4b3d(_0x13d505,_0x29868f);}import{getTranslation as _0x1db4d8}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x37a51c}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x540dca}from'@ckeditor/ckeditor5-collaboration-core';import{getOperationsFromReply as _0x29c754}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x203401,ModelRange as _0x4d713f,ModelPosition as _0x413028,_DetachOperation as _0x29c6bb,transformOperationSets as _0x3ff366}from'ckeditor5/src/engine.js';export class AIActions extends _0xc2388f{static get[_0x625421(0x167)](){return[_0x10372a,_0x201968,_0x5c551,_0x133e6e,_0x540dca];}static get[_0x625421(0x22b)](){const _0xb834ae=_0x625421;return _0xb834ae(0x22a);}static get[_0x625421(0x230)](){return!0x0;}static get[_0x625421(0x1e2)](){return!0x0;}[_0x625421(0x1ba)];[_0x625421(0x1d1)]=[];[_0x625421(0x1b2)]=0x0;[_0x625421(0x1f0)];[_0x625421(0x179)]=!0x1;[_0x625421(0x180)]=new _0x3138e9();[_0x625421(0x1a0)];[_0x625421(0x1fa)];[_0x625421(0x22e)]=!0x1;[_0x625421(0x1a7)];[_0x625421(0x17f)]=!0x1;[_0x625421(0x1df)]=!0x1;[_0x625421(0x1a3)];get[_0x625421(0x19c)](){const _0x3dcc21=_0x625421;return this[_0x3dcc21(0x1d1)][this[_0x3dcc21(0x1d1)][_0x3dcc21(0x1be)]-0x1];}constructor(_0x3eb16f){const _0x1b4510=_0x625421;super(_0x3eb16f),this[_0x1b4510(0x1ba)]=this[_0x1b4510(0x1b9)][_0x1b4510(0x192)][_0x1b4510(0x207)](_0x1b4510(0x1b8)),this[_0x1b4510(0x216)](_0x1b4510(0x19f),!0x1),this[_0x1b4510(0x1a3)]=new _0x2b1a66(),this[_0x1b4510(0x1a4)]();}[_0x625421(0x241)](){const _0x16234c=_0x625421;this[_0x16234c(0x1b6)]();}async[_0x625421(0x210)](_0x9fa800,_0x2ec7fc,_0x231096){const _0x47ae26=_0x625421;if(this[_0x47ae26(0x1b9)][_0x47ae26(0x192)][_0x47ae26(0x196)](_0x47ae26(0x21e))){if(this[_0x47ae26(0x1b9)][_0x47ae26(0x192)][_0x47ae26(0x207)](_0x47ae26(0x21e))[_0x47ae26(0x1e3)]()){const {modelFragment:_0x3ac018,anchorData:_0x1f6144}=this[_0x47ae26(0x204)]();return this[_0x47ae26(0x175)](_0x9fa800,_0x3ac018,_0x1f6144,_0x2ec7fc,_0x231096);}}const {modelFragment:_0xdc1c3a,anchorData:_0x33a271}=this[_0x47ae26(0x1fb)]();return this[_0x47ae26(0x175)](_0x9fa800,_0xdc1c3a,_0x33a271,_0x2ec7fc,_0x231096);}[_0x625421(0x1fb)](){const _0x376d20=_0x625421,_0xb59dac=this[_0x376d20(0x1b9)][_0x376d20(0x20a)][_0x376d20(0x1e7)][_0x376d20(0x182)];if(_0xb59dac[_0x376d20(0x1f1)]){const _0x1506c1=_0x55028(_0xb59dac[_0x376d20(0x243)]())||this[_0x376d20(0x1b9)][_0x376d20(0x20a)][_0x376d20(0x1fd)][_0x376d20(0x1c6)](_0xb59dac);this[_0x376d20(0x1b9)][_0x376d20(0x20a)][_0x376d20(0x185)](_0x2bd04f=>{const _0x46f6b4=_0x376d20;_0x2bd04f[_0x46f6b4(0x1f9)](_0x1506c1,'in');});}const _0x36e5df=_0xb59dac[_0x376d20(0x1b0)](),_0x533328=this[_0x376d20(0x1f4)](this[_0x376d20(0x1b9)][_0x376d20(0x20a)][_0x376d20(0x1ef)](_0xb59dac),_0x36e5df[_0x376d20(0x1c0)],_0x36e5df[_0x376d20(0x20b)]),_0xf66157=_0xb59dac[_0x376d20(0x1b0)]()[_0x376d20(0x1c0)],_0x428cdc=new Map();let _0xfd6884=_0x533328;for(let _0xa7d524=0x0;_0xa7d524<_0xf66157[_0x376d20(0x1ac)][_0x376d20(0x1be)];_0xa7d524++)_0x428cdc[_0x376d20(0x216)](_0xfd6884,_0xf66157[_0x376d20(0x1ac)][_0xa7d524]),_0xfd6884=_0xfd6884[_0x376d20(0x22f)](0x0);return{'modelFragment':_0x533328,'anchorData':_0x428cdc};}[_0x625421(0x204)](){const _0x28d7d3=_0x625421,_0x179292=this[_0x28d7d3(0x1b9)][_0x28d7d3(0x20a)][_0x28d7d3(0x1e7)][_0x28d7d3(0x182)],_0x387887=this[_0x28d7d3(0x1b9)][_0x28d7d3(0x192)][_0x28d7d3(0x207)](_0x28d7d3(0x21e))[_0x28d7d3(0x1b7)](),_0x3ae3ca=_0x179292[_0x28d7d3(0x1b0)]()[_0x28d7d3(0x1c0)][_0x28d7d3(0x1fe)][_0x28d7d3(0x1fe)],_0x4436d2=this[_0x28d7d3(0x1f4)](_0x387887,this[_0x28d7d3(0x1b9)][_0x28d7d3(0x20a)][_0x28d7d3(0x184)](_0x3ae3ca),this[_0x28d7d3(0x1b9)][_0x28d7d3(0x20a)][_0x28d7d3(0x208)](_0x3ae3ca)),_0xa74cdb=_0x179292[_0x28d7d3(0x1b0)]()[_0x28d7d3(0x1c0)],_0x553237=new Map();let _0x2c26b0=_0x4436d2;for(let _0x526db6=0x0;_0x526db6<_0xa74cdb[_0x28d7d3(0x1ac)][_0x28d7d3(0x1be)];_0x526db6++)if(_0x553237[_0x28d7d3(0x216)](_0x2c26b0,_0xa74cdb[_0x28d7d3(0x1ac)][_0x526db6]),_0x526db6<_0xa74cdb[_0x28d7d3(0x1ac)][_0x28d7d3(0x1be)]-0x1)_0x2c26b0=_0x2c26b0[_0x28d7d3(0x22f)](0x0);else{let _0x31e557=_0x2c26b0[_0x28d7d3(0x17c)];for(;_0x31e557;)_0x553237[_0x28d7d3(0x216)](_0x31e557,_0xa74cdb[_0x28d7d3(0x1ac)][_0x526db6]),_0x31e557=_0x31e557[_0x28d7d3(0x17c)];}return{'modelFragment':_0x4436d2,'anchorData':_0x553237};}[_0x625421(0x175)](_0x1ab6c8,_0xccdc3b,_0x30914c,_0x3999e2,_0x33a56c){const _0x298ccb=_0x625421,_0x405b49=this[_0x298ccb(0x1b9)][_0x298ccb(0x192)][_0x298ccb(0x207)](_0x5c551),_0x3c0b42=this[_0x298ccb(0x1b9)][_0x298ccb(0x192)][_0x298ccb(0x207)](_0x133e6e),_0x5ed08a=this[_0x298ccb(0x1b9)][_0x298ccb(0x20a)][_0x298ccb(0x1e7)][_0x298ccb(0x182)],_0x58625f=_0x405b49[_0x298ccb(0x221)](_0xccdc3b),_0x1393dd=this[_0x298ccb(0x1b9)][_0x298ccb(0x20d)][_0x298ccb(0x197)][_0x298ccb(0x19d)](_0x58625f),_0xa5a346=this[_0x298ccb(0x1b9)][_0x298ccb(0x20a)][_0x298ccb(0x1e7)][_0x298ccb(0x222)],_0x283ae0=[..._0x5ed08a[_0x298ccb(0x1ce)]()],_0x4a3318=new _0x339382(this[_0x298ccb(0x1b9)][_0x298ccb(0x193)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x298ccb(0x1d5),'customView':this[_0x298ccb(0x180)]},'showUnchangedParts':!0x0});return _0x3c0b42[_0x298ccb(0x195)]({'index':0x3e8*Math[_0x298ccb(0x224)]()%0x3e8,'title':_0x3999e2,'icon':_0x33a56c||_0x7f0aef,'mainView':_0x4a3318,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x283ae0}),this[_0x298ccb(0x1bc)](_0x4a3318,_0x3c0b42),this[_0x298ccb(0x23e)](_0x3c0b42,_0x298ccb(0x1dd),()=>{const _0x5ee827=_0x298ccb;this[_0x5ee827(0x1a1)](_0xccdc3b,_0x30914c,!0x1);}),this[_0x298ccb(0x23e)](_0x3c0b42,_0x298ccb(0x191),()=>{const _0x523e29=_0x298ccb;this[_0x523e29(0x1a1)](_0xccdc3b,_0x30914c,!0x0);}),this[_0x298ccb(0x23e)](_0x3c0b42,_0x298ccb(0x1f3),()=>{const _0x51aaa5=_0x298ccb;if(this[_0x51aaa5(0x19c)]&&this[_0x51aaa5(0x19c)][_0x51aaa5(0x16e)][_0x51aaa5(0x1be)]>0x0){const _0x23e135=this[_0x51aaa5(0x19c)][_0x51aaa5(0x16e)][this[_0x51aaa5(0x19c)][_0x51aaa5(0x16e)][_0x51aaa5(0x1be)]-0x1],_0x3d5e11=_0x23e135[_0x51aaa5(0x1ea)][0x0];_0x3d5e11&&_0x51aaa5(0x19b)===_0x3d5e11[_0x51aaa5(0x170)]&&_0x23e135[_0x51aaa5(0x233)](0x0,_0x51aaa5(0x226));}this[_0x51aaa5(0x1b6)](),this[_0x51aaa5(0x202)](),this[_0x51aaa5(0x232)](_0x3c0b42);}),this[_0x298ccb(0x240)](_0x1393dd,_0xa5a346,_0x4a3318,_0x3c0b42,_0x1ab6c8);}[_0x625421(0x1f4)](_0x4756f8,_0x20bd42,_0x994fc6){const _0x36222e=_0x625421,_0x59e416=this[_0x36222e(0x1b9)][_0x36222e(0x20a)][_0x36222e(0x17b)](_0x20bd42,_0x994fc6)[_0x36222e(0x183)](),_0x20a5df=_0x59e416['is'](_0x36222e(0x201))?[]:_0x59e416[_0x36222e(0x21b)]({'includeSelf':!0x0})[_0x36222e(0x223)](0x1);if(_0x20a5df[_0x36222e(0x1be)]){const _0x20bc55=_0x20a5df[_0x36222e(0x189)](_0x4c4dab=>_0x4c4dab[_0x36222e(0x212)](!0x1));for(let _0x804635=0x1;_0x804635<_0x20bc55[_0x36222e(0x1be)];_0x804635++)_0x20bc55[_0x804635-0x1][_0x36222e(0x1c9)](_0x20bc55[_0x804635]);return _0x20bc55[_0x20bc55[_0x36222e(0x1be)]-0x1][_0x36222e(0x1c9)](_0x4756f8),new _0x203401(_0x20bc55[0x0]);}return _0x4756f8;}async[_0x625421(0x240)](_0x3c9a80,_0x167d13,_0x186afc,_0x40dd97,_0x58de5e){const _0x1efdff=_0x625421,_0x4d2397=this[_0x1efdff(0x1b9)];this[_0x1efdff(0x1f0)]={'action':_0x58de5e,'content':_0x3c9a80,'version':_0x167d13,'mainView':_0x186afc,'aiBalloon':_0x40dd97};const _0xc7de9c=new _0x40ccc4({'connector':this[_0x1efdff(0x1ba)],'editor':_0x4d2397,'content':_0x3c9a80,'version':_0x167d13,..._0x58de5e});this[_0x1efdff(0x1d1)][_0x1efdff(0x225)](_0xc7de9c),_0x186afc[_0x1efdff(0x203)]();const _0x1faeb5=(_0x30cade,_0xb35068,_0x2149b6=!0x1,_0x3ebd9e=_0x1efdff(0x1fc))=>this[_0x1efdff(0x1a3)][_0x1efdff(0x18e)](async _0x556059=>{const _0x51233b=_0x1efdff;try{const _0x2f337d=_0x37a51c({'editor':_0x4d2397,'changeGroups':_0x30cade[_0x51233b(0x1ea)],'documentContextContent':_0x30cade[_0x51233b(0x168)],'showDiff':_0x2149b6,'trimUnchanged':!0x1});await _0xb35068[_0x51233b(0x218)]({'parts':_0x2f337d,'renderingStrategy':_0x3ebd9e,'abortSignal':_0x556059});}catch(_0x24ed71){if(this[_0x51233b(0x21c)](_0x24ed71))return;throw _0x24ed71;}});this[_0x1efdff(0x19c)]['on'](_0x1efdff(0x1ff),(_0xf75f33,_0x188e7d)=>{const _0x1b37f2=_0x1efdff;_0x186afc[_0x1b37f2(0x1d6)](),_0x1faeb5(_0x188e7d,_0x186afc)[_0x1b37f2(0x1d2)](_0x35c5a3=>{const _0x27dfaf=_0x1b37f2;this[_0x27dfaf(0x21c)](_0x35c5a3)||(console[_0x27dfaf(0x1c4)](_0x27dfaf(0x16b),_0x35c5a3),this[_0x27dfaf(0x1a8)](_0xc7de9c,_0x186afc));});}),this[_0x1efdff(0x19c)]['on'](_0x1efdff(0x199),(_0xbad685,_0x477e7d)=>{const _0x1999aa=_0x1efdff;_0x1faeb5(_0x477e7d,_0x186afc)[_0x1999aa(0x1d2)](_0x570c0e=>{const _0x33f4f7=_0x1999aa;this[_0x33f4f7(0x21c)](_0x570c0e)||(console[_0x33f4f7(0x1c4)](_0x33f4f7(0x234),_0x570c0e),this[_0x33f4f7(0x1a8)](_0xc7de9c,_0x186afc));});}),this[_0x1efdff(0x19c)]['on'](_0x1efdff(0x1db),async()=>{const _0x32efcf=_0x1efdff;try{await this[_0x32efcf(0x215)](_0x186afc,_0x40dd97),this[_0x32efcf(0x206)]();}catch(_0x596b24){this[_0x32efcf(0x21c)](_0x596b24)||(console[_0x32efcf(0x1c4)](_0x32efcf(0x173),_0x596b24),this[_0x32efcf(0x1a8)](_0xc7de9c,_0x186afc));}}),this[_0x1efdff(0x23e)](_0x186afc,_0x1efdff(0x1aa),(_0x2ab463,{showDiff:_0x4ab481})=>{const _0x449185=_0x1efdff;this[_0x449185(0x179)]=_0x4ab481;const _0x29fe04=this[_0x449185(0x19c)][_0x449185(0x16e)][this[_0x449185(0x19c)][_0x449185(0x16e)][_0x449185(0x1be)]-0x1];_0x29fe04&&_0x1faeb5(_0x29fe04,_0x186afc,_0x4ab481,_0x449185(0x1cb))[_0x449185(0x1d2)](_0x131522=>{const _0x1f07b9=_0x449185;this[_0x1f07b9(0x21c)](_0x131522)||(console[_0x1f07b9(0x1c4)](_0x1f07b9(0x238),_0x131522),this[_0x1f07b9(0x1a8)](_0xc7de9c,_0x186afc));});}),this[_0x1efdff(0x19c)]['on'](_0x1efdff(0x1d8),(_0x495d66,{reply:_0x446f1e})=>{const _0x4f9c10=_0x1efdff,_0x403c4d={'positiveCount':_0x446f1e[_0x4f9c10(0x1ea)][_0x4f9c10(0x23c)](_0x1d2b20=>_0x4f9c10(0x17d)===_0x1d2b20[_0x4f9c10(0x170)])[_0x4f9c10(0x1be)],'totalCount':_0x446f1e[_0x4f9c10(0x1ea)][_0x4f9c10(0x1be)]},_0x3bf047=this[_0x4f9c10(0x19c)][_0x4f9c10(0x186)],_0x2a442d=this[_0x4f9c10(0x19c)][_0x4f9c10(0x1ae)];_0x2a442d?this[_0x4f9c10(0x1ba)][_0x4f9c10(0x1e5)](_0x2a442d,_0x3bf047,_0x403c4d):this[_0x4f9c10(0x1ba)][_0x4f9c10(0x214)](_0x3bf047,_0x403c4d);}),this[_0x1efdff(0x1bc)](_0x186afc,_0x40dd97);try{const _0x14fa0c=await this[_0x1efdff(0x19c)][_0x1efdff(0x1c0)]();return this[_0x1efdff(0x206)](),_0x14fa0c;}catch(_0x438234){if(this[_0x1efdff(0x21c)](_0x438234))return;_0x186afc[_0x1efdff(0x1d6)](),this[_0x1efdff(0x1a8)](_0xc7de9c,_0x186afc);}}[_0x625421(0x1a1)](_0x22ba3e,_0x4b3b04,_0x3c22c5){const _0x511aa6=_0x625421,_0x5d85f2=this[_0x511aa6(0x1b9)],_0x5893d2=this[_0x511aa6(0x1b9)][_0x511aa6(0x192)][_0x511aa6(0x207)](_0x540dca),_0x30ca5d=this[_0x511aa6(0x19c)],_0x3371f3=this[_0x511aa6(0x19c)][_0x511aa6(0x16e)][this[_0x511aa6(0x19c)][_0x511aa6(0x16e)][_0x511aa6(0x1be)]-0x1],_0x749fe2=_0x3371f3[_0x511aa6(0x1ea)];_0x3371f3[_0x511aa6(0x233)](0x0,_0x511aa6(0x17d));let _0x558da7=_0x29c754({'editor':_0x5d85f2,'reply':_0x3371f3,'interaction':_0x30ca5d,'groups':_0x749fe2,'transform':!0x1,'documentCompare':_0x5893d2,'documentCompareOptions':{'anchor':_0x5d85f2[_0x511aa6(0x20a)][_0x511aa6(0x1f6)](_0x22ba3e,0x0),'markDeletions':_0x3c22c5}});_0x558da7=this[_0x511aa6(0x1ca)](_0x558da7,_0x4b3b04);for(const _0x257ac9 of _0x558da7)this[_0x511aa6(0x1b1)](_0x4b3b04,_0x257ac9,_0x5d85f2[_0x511aa6(0x20a)][_0x511aa6(0x1e7)][_0x511aa6(0x17a)]());const _0xe2a698=_0x30ca5d[_0x511aa6(0x200)]()[_0x511aa6(0x222)],_0x4070c3=_0x5d85f2[_0x511aa6(0x20a)][_0x511aa6(0x1e7)][_0x511aa6(0x236)][_0x511aa6(0x1e4)](_0xe2a698),_0x44fe5={'document':_0x5d85f2[_0x511aa6(0x20a)][_0x511aa6(0x1e7)],'useRelations':!0x1,'padWithNoOps':!0x1},_0xa7db68=_0x3ff366(_0x558da7,_0x4070c3,_0x44fe5)[_0x511aa6(0x178)];_0x5d85f2[_0x511aa6(0x20a)][_0x511aa6(0x185)](_0x48fc85=>{const _0x1f8ea3=_0x511aa6;if(_0x48fc85[_0x1f8ea3(0x1f9)](_0x5d85f2[_0x1f8ea3(0x20a)][_0x1f8ea3(0x1e7)][_0x1f8ea3(0x182)][_0x1f8ea3(0x19a)]),_0x3c22c5)_0x5d85f2[_0x1f8ea3(0x192)][_0x1f8ea3(0x207)](_0x1f8ea3(0x244))[_0x1f8ea3(0x1ad)](_0xa7db68);else{for(const _0x33d334 of _0xa7db68)_0x33d334[_0x1f8ea3(0x23d)]=_0x5d85f2[_0x1f8ea3(0x20a)][_0x1f8ea3(0x1e7)][_0x1f8ea3(0x222)],_0x48fc85[_0x1f8ea3(0x1c2)][_0x1f8ea3(0x1f8)](_0x33d334),_0x5d85f2[_0x1f8ea3(0x20a)][_0x1f8ea3(0x1e6)](_0x33d334);}}),this[_0x511aa6(0x1b9)][_0x511aa6(0x192)][_0x511aa6(0x207)](_0x511aa6(0x1a5))[_0x511aa6(0x172)]();}[_0x625421(0x1ca)](_0x1c9585,_0x4e3fc7){const _0x3dd78b=_0x625421;return _0x1c9585[_0x3dd78b(0x23c)](_0x4a6eda=>{const _0x54d060=_0x3dd78b;if(_0x54d060(0x1ec)==_0x4a6eda[_0x54d060(0x194)]){const _0x587021=_0x4a6eda[_0x54d060(0x1cf)][_0x54d060(0x1a2)];return!_0x4e3fc7[_0x54d060(0x196)](_0x587021);}if(_0x4a6eda[_0x54d060(0x194)][_0x54d060(0x176)](_0x54d060(0x1d0))>-0x1){const _0x191284=_0x4a6eda[_0x54d060(0x177)][_0x54d060(0x1c0)][_0x54d060(0x1a2)];return!_0x4e3fc7[_0x54d060(0x196)](_0x191284);}return!0x0;});}[_0x625421(0x1b1)](_0x352555,_0x5182aa,_0x1c296f){const _0x4b07b9=_0x625421,_0x577137=_0x5182aa[_0x4b07b9(0x1d3)]();for(const _0x155f3e in _0x5182aa){const _0x20fa1c=_0x5182aa[_0x155f3e];_0x20fa1c instanceof _0x4d713f?_0x5182aa[_0x155f3e]=new _0x4d713f(_0x23722b(_0x20fa1c[_0x4b07b9(0x1c0)]),_0x23722b(_0x20fa1c[_0x4b07b9(0x20b)])):_0x20fa1c instanceof _0x413028&&(_0x5182aa[_0x155f3e]=_0x23722b(_0x20fa1c));}if([_0x4b07b9(0x211),_0x4b07b9(0x1cd),_0x4b07b9(0x188),_0x4b07b9(0x174),_0x4b07b9(0x1d9),_0x4b07b9(0x21a)][_0x4b07b9(0x19e)](_0x577137[_0x4b07b9(0x194)])){if(_0x577137[_0x4b07b9(0x205)]=!0x1,_0x577137[_0x4b07b9(0x23d)]=null,_0x4b07b9(0x188)==_0x577137[_0x4b07b9(0x194)]){const _0x449d8e=_0x577137[_0x4b07b9(0x239)],_0x3cf65d=_0x577137[_0x4b07b9(0x1d4)];new _0x29c6bb(_0x449d8e,_0x3cf65d)[_0x4b07b9(0x1b5)]();}else _0x577137[_0x4b07b9(0x1b5)]();}function _0x23722b(_0x3d4c61){const _0x8aa76a=_0x4b07b9;if(_0x8aa76a(0x22d)==_0x3d4c61[_0x8aa76a(0x1c1)][_0x8aa76a(0x16d)])return _0x3d4c61;const _0x2a471f=[];let _0x40c30b=_0x3d4c61[_0x8aa76a(0x1c1)];for(let _0x4b5d98=0x0;_0x4b5d98<_0x3d4c61[_0x8aa76a(0x1ac)][_0x8aa76a(0x1be)];_0x4b5d98++){const _0x5d051b=_0x352555[_0x8aa76a(0x207)](_0x40c30b)||0x0;_0x2a471f[_0x4b5d98]=_0x3d4c61[_0x8aa76a(0x1ac)][_0x4b5d98]+_0x5d051b,_0x40c30b=_0x40c30b[_0x8aa76a(0x1f7)](_0x3d4c61[_0x8aa76a(0x1ac)][_0x4b5d98]);}return new _0x413028(_0x1c296f,_0x2a471f,_0x3d4c61[_0x8aa76a(0x1eb)]);}}[_0x625421(0x23b)](){const _0x1ceeca=_0x625421;if(!this[_0x1ceeca(0x1f0)])return;this[_0x1ceeca(0x1d1)][_0x1ceeca(0x1be)]>0x0&&this[_0x1ceeca(0x1b6)](),this[_0x1ceeca(0x1b2)]=0x0,this[_0x1ceeca(0x179)]=!0x1;const {action:_0x2e1b45,content:_0x43f7ec,version:_0x4a95bb,mainView:_0x2077a8,aiBalloon:_0x4b4bc1}=this[_0x1ceeca(0x1f0)];_0x2077a8[_0x1ceeca(0x1ed)]=!0x1,_0x2077a8[_0x1ceeca(0x203)](),this[_0x1ceeca(0x16a)](_0x2077a8,_0x4b4bc1);const _0x95961a=_0x2077a8;_0x95961a[_0x1ceeca(0x1bb)]&&_0x95961a[_0x1ceeca(0x1bb)][_0x1ceeca(0x21f)]&&_0x95961a[_0x1ceeca(0x1bb)][_0x1ceeca(0x21f)][_0x1ceeca(0x216)]({'isOn':!0x1,'icon':_0x2341b0}),this[_0x1ceeca(0x1a6)](_0x2077a8),_0x2077a8[_0x1ceeca(0x213)](),this[_0x1ceeca(0x206)](),this[_0x1ceeca(0x240)](_0x43f7ec,_0x4a95bb,_0x2077a8,_0x4b4bc1,_0x2e1b45)[_0x1ceeca(0x1d2)](_0x402e19=>{const _0xb669cf=_0x1ceeca;this[_0xb669cf(0x21c)](_0x402e19)||console[_0xb669cf(0x1c4)](_0xb669cf(0x198),_0x402e19);});}[_0x625421(0x1a6)](_0x402bcf){const _0xd9a5bf=_0x625421,_0x55b937=_0x402bcf[_0xd9a5bf(0x220)][_0xd9a5bf(0x237)];for(;_0x55b937[_0xd9a5bf(0x1be)]>0x0;)_0x55b937[_0xd9a5bf(0x188)](_0x55b937[_0xd9a5bf(0x1c3)]);_0x402bcf[_0xd9a5bf(0x220)][_0xd9a5bf(0x1bd)]=!0x1;}[_0x625421(0x21c)](_0x152d8d){const _0x2ac739=_0x625421;return!!_0x152d8d[_0x2ac739(0x1dc)]&&_0x152d8d[_0x2ac739(0x1dc)][_0x2ac739(0x169)](_0x2ac739(0x1da));}[_0x625421(0x202)](){const _0x49ea4e=_0x625421;this[_0x49ea4e(0x1d1)]=[],this[_0x49ea4e(0x1f0)]=void 0x0,this[_0x49ea4e(0x1b2)]=0x0,this[_0x49ea4e(0x206)]();}[_0x625421(0x1b6)](){const _0x3f12d9=_0x625421;this[_0x3f12d9(0x19c)]&&this[_0x3f12d9(0x19c)][_0x3f12d9(0x20c)](),this[_0x3f12d9(0x1a3)][_0x3f12d9(0x18f)](),this[_0x3f12d9(0x19f)]=!0x1;}[_0x625421(0x1a4)](){const _0x1d76ea=_0x625421,_0x5569f0=new _0x1121e5(this[_0x1d76ea(0x1b9)][_0x1d76ea(0x193)]),_0x3db12=new _0x1121e5(this[_0x1d76ea(0x1b9)][_0x1d76ea(0x193)]),_0x2bb18d=new _0x55ee2c(this[_0x1d76ea(0x1b9)][_0x1d76ea(0x193)]),_0x865a02=new _0x1121e5(this[_0x1d76ea(0x1b9)][_0x1d76ea(0x193)]);_0x5569f0[_0x1d76ea(0x216)]({'icon':_0x591a24,'label':_0x1db4d8(this[_0x1d76ea(0x1b9)][_0x1d76ea(0x193)],_0x1d76ea(0x229)),'tooltip':!0x0,'class':_0x1d76ea(0x23f)}),_0x3db12[_0x1d76ea(0x216)]({'icon':_0x13e120,'tooltip':_0x1db4d8(this[_0x1d76ea(0x1b9)][_0x1d76ea(0x193)],_0x1d76ea(0x1d7)),'class':_0x1d76ea(0x1f5)}),_0x2bb18d[_0x1d76ea(0x217)]({'tag':_0x1d76ea(0x16f),'attributes':{'class':[_0x1d76ea(0x18c)]},'children':[_0x1d76ea(0x235)]}),_0x865a02[_0x1d76ea(0x216)]({'icon':_0x44a549,'tooltip':_0x1db4d8(this[_0x1d76ea(0x1b9)][_0x1d76ea(0x193)],_0x1d76ea(0x1e8)),'class':_0x1d76ea(0x231)}),_0x5569f0[_0x1d76ea(0x17e)](_0x1d76ea(0x18d))['to'](this,_0x1d76ea(0x19f),_0x3c3e33=>!_0x3c3e33),_0x5569f0['on'](_0x1d76ea(0x187),()=>{const _0x273f4c=_0x1d76ea;this[_0x273f4c(0x23b)]();}),_0x3db12[_0x1d76ea(0x17e)](_0x1d76ea(0x18d))['to'](this,_0x1d76ea(0x19f),_0x50a977=>!_0x50a977),_0x3db12['on'](_0x1d76ea(0x187),()=>{const _0x5a3d0c=_0x1d76ea;this[_0x5a3d0c(0x21d)]();}),_0x865a02[_0x1d76ea(0x17e)](_0x1d76ea(0x18d))['to'](this,_0x1d76ea(0x19f),_0x44bd2d=>!_0x44bd2d),_0x865a02['on'](_0x1d76ea(0x187),()=>{const _0x34a415=_0x1d76ea;this[_0x34a415(0x1e9)]();}),this[_0x1d76ea(0x1a0)]=_0x3db12,this[_0x1d76ea(0x1fa)]=_0x2bb18d,this[_0x1d76ea(0x1a7)]=_0x865a02,this[_0x1d76ea(0x180)][_0x1d76ea(0x1b4)](_0x5569f0);}[_0x625421(0x21d)](){const _0x5cc5ca=_0x625421,_0x4af19c=this[_0x5cc5ca(0x1d1)][_0x5cc5ca(0x1be)];this[_0x5cc5ca(0x1b2)]<_0x4af19c-0x1&&this[_0x5cc5ca(0x1c5)](this[_0x5cc5ca(0x1b2)]+0x1);}[_0x625421(0x1e9)](){const _0x125b2f=_0x625421;this[_0x125b2f(0x1b2)]>0x0&&this[_0x125b2f(0x1c5)](this[_0x125b2f(0x1b2)]-0x1);}async[_0x625421(0x1c5)](_0x54ae5f){const _0x56308e=_0x625421;if(!this[_0x56308e(0x1f0)])return;this[_0x56308e(0x1b2)]=_0x54ae5f;const {mainView:_0x30cf92}=this[_0x56308e(0x1f0)],_0x431f84=this[_0x56308e(0x1d1)][this[_0x56308e(0x1d1)][_0x56308e(0x1be)]-0x1-this[_0x56308e(0x1b2)]];if(!_0x431f84)return;if(_0x431f84[_0x56308e(0x18a)])return this[_0x56308e(0x1a8)](_0x431f84,_0x30cf92),void this[_0x56308e(0x206)]();if(!_0x431f84[_0x56308e(0x16e)][_0x56308e(0x1be)])return;_0x30cf92[_0x56308e(0x203)](),this[_0x56308e(0x1f0)]&&this[_0x56308e(0x16a)](_0x30cf92,this[_0x56308e(0x1f0)][_0x56308e(0x209)]);const _0xe1cc7e=_0x431f84[_0x56308e(0x16e)][_0x431f84[_0x56308e(0x16e)][_0x56308e(0x1be)]-0x1];if(_0xe1cc7e){const _0x46f94c=this[_0x56308e(0x1b9)];this[_0x56308e(0x1a6)](_0x30cf92);try{const _0x4d8c77=_0x37a51c({'editor':_0x46f94c,'changeGroups':_0xe1cc7e[_0x56308e(0x1ea)],'documentContextContent':_0xe1cc7e[_0x56308e(0x168)],'showDiff':this[_0x56308e(0x179)],'trimUnchanged':!0x1});this[_0x56308e(0x1a6)](_0x30cf92),await new Promise(_0x315b90=>setTimeout(_0x315b90,0x32)),await _0x30cf92[_0x56308e(0x218)]({'parts':_0x4d8c77,'renderingStrategy':_0x56308e(0x1cb),'abortSignal':new AbortController()[_0x56308e(0x20e)]});}catch(_0x1f3595){this[_0x56308e(0x21c)](_0x1f3595)||console[_0x56308e(0x1c4)](_0x56308e(0x16c),_0x1f3595);}}this[_0x56308e(0x206)]();}[_0x625421(0x206)](){const _0x33fbd9=_0x625421;if(!this[_0x33fbd9(0x1a0)]||!this[_0x33fbd9(0x1fa)]||!this[_0x33fbd9(0x1a7)])return;const _0x35c8bc=this[_0x33fbd9(0x1d1)][_0x33fbd9(0x1be)],_0x8bd66f=_0x35c8bc>0x1,_0x444399=this[_0x33fbd9(0x1f0)]?.[_0x33fbd9(0x181)];if(_0x8bd66f){this[_0x33fbd9(0x17f)]||this[_0x33fbd9(0x22e)]||this[_0x33fbd9(0x1df)]||(this[_0x33fbd9(0x180)][_0x33fbd9(0x1b4)](this[_0x33fbd9(0x1a0)]),_0x444399?.[_0x33fbd9(0x227)](this[_0x33fbd9(0x1a0)]),this[_0x33fbd9(0x17f)]=!0x0,this[_0x33fbd9(0x180)][_0x33fbd9(0x1b4)](this[_0x33fbd9(0x1fa)]),_0x444399?.[_0x33fbd9(0x227)](this[_0x33fbd9(0x1fa)]),this[_0x33fbd9(0x22e)]=!0x0,this[_0x33fbd9(0x180)][_0x33fbd9(0x1b4)](this[_0x33fbd9(0x1a7)]),_0x444399?.[_0x33fbd9(0x227)](this[_0x33fbd9(0x1a7)]),this[_0x33fbd9(0x1df)]=!0x0);const _0x404098=_0x35c8bc-this[_0x33fbd9(0x1b2)];this[_0x33fbd9(0x1fa)][_0x33fbd9(0x1bf)]&&(this[_0x33fbd9(0x1fa)][_0x33fbd9(0x1bf)][_0x33fbd9(0x22c)]=_0x404098+'/'+_0x35c8bc),this[_0x33fbd9(0x1a0)][_0x33fbd9(0x18d)]=this[_0x33fbd9(0x1b2)]<_0x35c8bc-0x1,this[_0x33fbd9(0x1a7)][_0x33fbd9(0x18d)]=this[_0x33fbd9(0x1b2)]>0x0;}else(this[_0x33fbd9(0x17f)]||this[_0x33fbd9(0x22e)]||this[_0x33fbd9(0x1df)])&&(this[_0x33fbd9(0x180)][_0x33fbd9(0x188)](this[_0x33fbd9(0x1a0)]),_0x444399?.[_0x33fbd9(0x1a9)](this[_0x33fbd9(0x1a0)]),this[_0x33fbd9(0x17f)]=!0x1,this[_0x33fbd9(0x180)][_0x33fbd9(0x188)](this[_0x33fbd9(0x1fa)]),_0x444399?.[_0x33fbd9(0x1a9)](this[_0x33fbd9(0x1fa)]),this[_0x33fbd9(0x22e)]=!0x1,this[_0x33fbd9(0x180)][_0x33fbd9(0x188)](this[_0x33fbd9(0x1a7)]),_0x444399?.[_0x33fbd9(0x1a9)](this[_0x33fbd9(0x1a7)]),this[_0x33fbd9(0x1df)]=!0x1);}[_0x625421(0x1bc)](_0x280fc7,_0x29f411){const _0x29cd22=_0x625421;_0x280fc7[_0x29cd22(0x1c7)](),_0x29f411[_0x29cd22(0x1ee)][_0x29cd22(0x1c7)](),this[_0x29cd22(0x19f)]=!0x0;}async[_0x625421(0x1a8)](_0x40b0c2,_0x446fe3){const _0x398250=_0x625421,_0xe0f9c6=_0x1db4d8(this[_0x398250(0x1b9)][_0x398250(0x193)],_0x398250(0x1f2));_0x446fe3[_0x398250(0x1af)](_0xe0f9c6),_0x40b0c2[_0x398250(0x18a)]=!0x0,await this[_0x398250(0x1a3)][_0x398250(0x242)],_0x446fe3[_0x398250(0x18b)](),this[_0x398250(0x1f0)]?.[_0x398250(0x209)][_0x398250(0x1ee)][_0x398250(0x1ab)]&&(this[_0x398250(0x1f0)][_0x398250(0x209)][_0x398250(0x1ee)][_0x398250(0x1ab)][_0x398250(0x228)]=!0x0);}[_0x625421(0x16a)](_0x235a5a,_0x3affa9){const _0x1eb528=_0x625421;_0x235a5a[_0x1eb528(0x1cc)](),_0x3affa9[_0x1eb528(0x1ee)][_0x1eb528(0x1ab)]&&(_0x3affa9[_0x1eb528(0x1ee)][_0x1eb528(0x1ab)][_0x1eb528(0x228)]=!0x1);}async[_0x625421(0x215)](_0x51ea10,_0x121af4){const _0x1d9724=_0x625421;await this[_0x1d9724(0x1a3)][_0x1d9724(0x242)],this[_0x1d9724(0x19f)]=!0x1,_0x51ea10[_0x1d9724(0x1b3)](),_0x121af4[_0x1d9724(0x1ee)][_0x1d9724(0x1b3)]();}}
|
|
@@ -32,6 +32,7 @@ export declare class AIActionsInteraction extends AIInteraction {
|
|
|
32
32
|
* The model of the command. Specified only for custom actions.
|
|
33
33
|
*/
|
|
34
34
|
readonly model?: string;
|
|
35
|
+
hasError: boolean;
|
|
35
36
|
constructor(options: AIActionsInteractionOptions);
|
|
36
37
|
sendRequest(): Promise<AIConnectorRequest>;
|
|
37
38
|
getDocumentContext(): AIContextItem | undefined;
|