@ckeditor/ckeditor5-ai 47.5.0 → 47.6.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/966.ai.js +5 -0
- package/build/ai.js +1 -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/en.js +1 -0
- 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 +387 -403
- package/dist/index.css +441 -413
- package/dist/index.js +5 -5
- 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 +1 -0
- package/lang/translations/af.po +8 -4
- package/lang/translations/ar.po +8 -4
- package/lang/translations/ast.po +8 -4
- package/lang/translations/az.po +8 -4
- package/lang/translations/be.po +8 -4
- package/lang/translations/bg.po +8 -4
- package/lang/translations/bn.po +8 -4
- package/lang/translations/bs.po +8 -4
- package/lang/translations/ca.po +8 -4
- package/lang/translations/cs.po +8 -4
- package/lang/translations/da.po +8 -4
- package/lang/translations/de-ch.po +8 -4
- package/lang/translations/de.po +8 -4
- package/lang/translations/el.po +8 -4
- package/lang/translations/en-au.po +8 -4
- package/lang/translations/en-gb.po +8 -4
- package/lang/translations/en.po +8 -4
- package/lang/translations/eo.po +8 -4
- package/lang/translations/es-co.po +8 -4
- package/lang/translations/es.po +8 -4
- package/lang/translations/et.po +8 -4
- package/lang/translations/eu.po +8 -4
- package/lang/translations/fa.po +8 -4
- package/lang/translations/fi.po +8 -4
- package/lang/translations/fr.po +8 -4
- package/lang/translations/gl.po +8 -4
- package/lang/translations/gu.po +8 -4
- package/lang/translations/he.po +8 -4
- package/lang/translations/hi.po +8 -4
- package/lang/translations/hr.po +8 -4
- package/lang/translations/hu.po +8 -4
- package/lang/translations/hy.po +8 -4
- package/lang/translations/id.po +8 -4
- package/lang/translations/it.po +8 -4
- package/lang/translations/ja.po +8 -4
- package/lang/translations/jv.po +8 -4
- package/lang/translations/kk.po +8 -4
- package/lang/translations/km.po +8 -4
- package/lang/translations/kn.po +8 -4
- package/lang/translations/ko.po +8 -4
- package/lang/translations/ku.po +8 -4
- package/lang/translations/lt.po +8 -4
- package/lang/translations/lv.po +8 -4
- package/lang/translations/ms.po +8 -4
- package/lang/translations/nb.po +8 -4
- package/lang/translations/ne.po +8 -4
- package/lang/translations/nl.po +8 -4
- package/lang/translations/no.po +8 -4
- package/lang/translations/oc.po +8 -4
- package/lang/translations/pl.po +8 -4
- package/lang/translations/pt-br.po +8 -4
- package/lang/translations/pt.po +8 -4
- package/lang/translations/ro.po +8 -4
- package/lang/translations/ru.po +8 -4
- package/lang/translations/si.po +8 -4
- package/lang/translations/sk.po +8 -4
- package/lang/translations/sl.po +8 -4
- package/lang/translations/sq.po +8 -4
- package/lang/translations/sr-latn.po +8 -4
- package/lang/translations/sr.po +8 -4
- package/lang/translations/sv.po +8 -4
- package/lang/translations/th.po +8 -4
- package/lang/translations/ti.po +8 -4
- package/lang/translations/tk.po +8 -4
- package/lang/translations/tr.po +8 -4
- package/lang/translations/tt.po +8 -4
- package/lang/translations/ug.po +8 -4
- package/lang/translations/uk.po +8 -4
- package/lang/translations/ur.po +8 -4
- package/lang/translations/uz.po +8 -4
- package/lang/translations/vi.po +8 -4
- package/lang/translations/zh-cn.po +8 -4
- package/lang/translations/zh.po +8 -4
- package/package.json +21 -21
- package/src/aiactions/aiactions.js +1 -1
- 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/aiballoonview.js +1 -1
- package/src/aichat/aichat.d.ts +12 -8
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +24 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +13 -0
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +5 -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.d.ts +5 -0
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- 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.js +1 -1
- 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/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -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.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- 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/aichatshortcuts/aichatshortcuts.d.ts +324 -0
- package/src/aichatshortcuts/aichatshortcuts.js +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutsview.d.ts +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutview.d.ts +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutview.js +23 -0
- package/src/aiconfig.d.ts +7 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.d.ts +8 -0
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.d.ts +7 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- 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.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.d.ts +1 -0
- 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.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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -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.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/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.d.ts +4 -0
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.d.ts +3 -3
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/types.d.ts +11 -2
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +4 -0
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.d.ts +95 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +5 -0
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +6 -3
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.d.ts +35 -0
- package/src/aireviewmode/model/aireviewcheckextra.js +23 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +2 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.d.ts +20 -0
- package/src/aireviewmode/model/aireviewextracheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewmodechecklist.d.ts +10 -0
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- 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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.d.ts +5 -0
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/augmentation.d.ts +2 -0
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.d.ts +2 -1
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -1
- package/theme/aichat/aichat-controls/aichat-controls-button.css +22 -23
- package/theme/aichat/aichat-controls/prompt-input.css +23 -0
- package/theme/aichat/aichat-controls.css +0 -19
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aiminitoolbar.css +0 -16
- package/theme/aichatshortcuts/aichatshortcuts.css +84 -0
- package/theme/aieditorintegration/aitogglebutton.css +5 -11
- package/theme/aiquickactions/aiquickactions.css +6 -11
- package/theme/aiquickactions/aiquickactionsballoon.css +37 -29
- package/theme/aireviewcore/aireviewcore-check-run.css +4 -0
- package/theme/aireviewcore/aireviewcore.css +4 -4
- package/theme/aitabs/aitabsresizebutton.css +14 -0
- package/theme/aitranslate/aitranslate.css +4 -0
- package/theme/common/aibutton.css +56 -67
- package/theme/common/aiheader.css +1 -1
- package/theme/common/aisuggestioncontentparttoolbar.css +1 -1
- package/theme/common/aisuggestionstreamablecontent.css +4 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2c62(_0x38234d,_0x4db499){var _0x2cae49=_0x2cae();return _0x2c62=function(_0x2c623d,_0x2eb3e7){_0x2c623d=_0x2c623d-0x78;var _0x34c839=_0x2cae49[_0x2c623d];return _0x34c839;},_0x2c62(_0x38234d,_0x4db499);}var _0x4eac07=_0x2c62;function _0x2cae(){var _0x481efa=['listenTo','set','maxRows','30946949wNZtkH','MAX_ROWS','ai-review-prompt-input','update','2220vmslGx','extendTemplate','12330rVmovJ','8214668cGpeRX','element','isEmpty','value','154330Djjtiw','301144jdyEQP','trim','minRows','MIN_ROWS','ck-review__prompt-input','render','12QDaQLd','3vJQAEr','keystrokes','5928264lVyPoV','5jZEaYg','4494484cUmtRE'];_0x2cae=function(){return _0x481efa;};return _0x2cae();}(function(_0x5646c8,_0xd9396d){var _0x58fe90=_0x2c62,_0x1a6778=_0x5646c8();while(!![]){try{var _0x1bbd9b=-parseInt(_0x58fe90(0x8d))/0x1*(-parseInt(_0x58fe90(0x83))/0x2)+-parseInt(_0x58fe90(0x8a))/0x3*(-parseInt(_0x58fe90(0x8e))/0x4)+-parseInt(_0x58fe90(0x82))/0x5*(parseInt(_0x58fe90(0x89))/0x6)+parseInt(_0x58fe90(0x7e))/0x7+parseInt(_0x58fe90(0x8c))/0x8+parseInt(_0x58fe90(0x7d))/0x9*(-parseInt(_0x58fe90(0x7b))/0xa)+-parseInt(_0x58fe90(0x92))/0xb;if(_0x1bbd9b===_0xd9396d)break;else _0x1a6778['push'](_0x1a6778['shift']());}catch(_0x1fc572){_0x1a6778['push'](_0x1a6778['shift']());}}}(_0x2cae,0x955df));import{TextareaView as _0x2715f2}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1a2733}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x2715f2{[_0x4eac07(0x8b)];static [_0x4eac07(0x86)]=0x1;static [_0x4eac07(0x78)]=0xc;constructor(_0x46fe68){var _0x4a36ef=_0x4eac07;super(_0x46fe68),this[_0x4a36ef(0x90)](_0x4a36ef(0x80),!0x0),this[_0x4a36ef(0x8b)]=new _0x1a2733(),this[_0x4a36ef(0x85)]=AIReviewCorePromptInputView[_0x4a36ef(0x86)],this[_0x4a36ef(0x91)]=AIReviewCorePromptInputView[_0x4a36ef(0x78)],this[_0x4a36ef(0x7c)]({'attributes':{'id':_0x4a36ef(0x79),'class':['ck',_0x4a36ef(0x87)]}});}[_0x4eac07(0x88)](){var _0x14c6ec=_0x4eac07;super[_0x14c6ec(0x88)](),this['on'](_0x14c6ec(0x7a),()=>{var _0x4accdf=_0x14c6ec;this[_0x4accdf(0x80)]=''===this[_0x4accdf(0x7f)][_0x4accdf(0x81)]?.[_0x4accdf(0x84)]();}),this[_0x14c6ec(0x8b)][_0x14c6ec(0x8f)](this[_0x14c6ec(0x7f)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cdd9e=_0x1a7b;(function(_0x5e129b,_0x329e62){const _0x5951fe=_0x1a7b,_0x2027e0=_0x5e129b();while(!![]){try{const _0x5b487e=-parseInt(_0x5951fe(0xc6))/0x1+parseInt(_0x5951fe(0xcf))/0x2+-parseInt(_0x5951fe(0xc1))/0x3*(-parseInt(_0x5951fe(0xbe))/0x4)+parseInt(_0x5951fe(0xcd))/0x5+parseInt(_0x5951fe(0xc4))/0x6+parseInt(_0x5951fe(0xc8))/0x7+-parseInt(_0x5951fe(0xcb))/0x8;if(_0x5b487e===_0x329e62)break;else _0x2027e0['push'](_0x2027e0['shift']());}catch(_0x2f1eed){_0x2027e0['push'](_0x2027e0['shift']());}}}(_0x118d,0xe191a));import{ListItemView as _0x56aabf,ViewCollection as _0x6dcce8}from'ckeditor5/src/ui.js';function _0x118d(){const _0x5d9e8c=['623124cNJGCY','resetToDefault','bindTemplate','delegate','setChecks','_checkViews','div','ck-ai_review__check-list','setTemplate','clear','415060SNKHHa','ck-hidden','isVisible','51cYRTvj','add','hasChecks','2371206JtqMqO','_setupTemplate','698644krQatg','locale','12225206NHKqAZ','resetAllParameterizedChecks','entries','27133160gMEPqn','runReviewCheck','3984965vKKVom','length'];_0x118d=function(){return _0x5d9e8c;};return _0x118d();}function _0x1a7b(_0x5c01fe,_0x4ef95d){const _0x118dd6=_0x118d();return _0x1a7b=function(_0x1a7b7e,_0x2d3a5b){_0x1a7b7e=_0x1a7b7e-0xbc;let _0x20bf8f=_0x118dd6[_0x1a7b7e];return _0x20bf8f;},_0x1a7b(_0x5c01fe,_0x4ef95d);}import{AIReviewCoreReviewCommandListItemView as _0x3cd859}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x56aabf{[_0x1cdd9e(0xd4)];constructor(_0x5d28c2){const _0x1bdb93=_0x1cdd9e;super(_0x5d28c2),this[_0x1bdb93(0xd4)]=new _0x6dcce8(),this[_0x1bdb93(0xc5)]();}[_0x1cdd9e(0xd3)](_0x39c8ec,_0x3f0cb5=!0x1){const _0x5bdd37=_0x1cdd9e;this[_0x5bdd37(0xd4)][_0x5bdd37(0xbd)]();for(const [_0x1d23d2,_0x1b40cf]of _0x39c8ec[_0x5bdd37(0xca)]()){const _0x5bf0f6=new _0x3cd859(this[_0x5bdd37(0xc7)],_0x1b40cf,_0x1d23d2,_0x3f0cb5);_0x5bf0f6[_0x5bdd37(0xd2)](_0x5bdd37(0xcc))['to'](this),this[_0x5bdd37(0xd4)][_0x5bdd37(0xc2)](_0x5bf0f6);}}[_0x1cdd9e(0xc3)](){const _0x44fe4b=_0x1cdd9e;return this[_0x44fe4b(0xd4)][_0x44fe4b(0xce)]>0x0;}[_0x1cdd9e(0xc9)](){const _0x4ef578=_0x1cdd9e;for(const _0x2b1dcc of this[_0x4ef578(0xd4)])_0x2b1dcc instanceof _0x3cd859&&_0x2b1dcc[_0x4ef578(0xd0)]();}[_0x1cdd9e(0xc5)](){const _0xcaf9ec=_0x1cdd9e,_0xd4d641=this[_0xcaf9ec(0xd1)];this[_0xcaf9ec(0xbc)]({'tag':_0xcaf9ec(0xd5),'attributes':{'class':[_0xcaf9ec(0xd6),_0xd4d641['if'](_0xcaf9ec(0xc0),_0xcaf9ec(0xbf),_0x33be7e=>!_0x33be7e)]},'children':this[_0xcaf9ec(0xd4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0xfa5fcb,IconView as _0x5ddf28,View as _0x55ef2d,ViewCollection as _0x283c9c,ButtonView as _0x74387e,clickOutsideHandler as _0x4b30ce}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x280623}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x48cdfa}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x4c0d4f}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0xfa5fcb{['_formItemsCollection']=new _0x283c9c();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x809ec4,_0x582524,_0x4f0c15,_0x1090d8=!0x1){super(_0x809ec4),this['_hideModels']=_0x1090d8,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x582524['isParameterized']);const _0xafc8b7=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x4c2750=>_0x4c2750),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x413c45=>_0x413c45)],'style':{'--ck-ai-review-check-list-item-index':_0x4f0c15}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x582524['title']}]},_0xafc8b7]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x582524['description']?[{'text':_0x582524['description']}]:[]}]}]},..._0x582524['isParameterized']?[this['_createParameterizedView'](_0x582524)]:[],...'custom'===_0x582524['id']?[this['_createCustomView'](_0x582524,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x582524['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x582524['id'],'args':_0x582524['useArgs']?_0x582524['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x4b30ce({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x192360=>{_0x192360['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x30423b=new _0x5ddf28();return _0x30423b['content']=_0x280623,_0x30423b['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x30423b;}['_createParameterizedView'](_0x287374){const _0xcfdbe7=new _0x55ef2d(),_0x53fdf5=this['_createFormView'](_0x287374);return _0xcfdbe7['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x13e792=>!_0x13e792)]},'children':[_0x53fdf5]}),_0xcfdbe7;}['_createFormView'](_0x504b06){const _0x14682f=new _0x55ef2d(),_0x6e8e4c=Array['isArray'](_0x504b06['options'])?_0x504b06['options']:[],_0x5dcd01=new _0x74387e(this['locale']),t=this['locale']['t'];_0x5dcd01['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5dcd01['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x54aee7=>{_0x54aee7['stopPropagation']();})}}),_0x5dcd01['on']('execute',()=>{const _0x270f6d=[],_0x661d89={};this['_formItemsCollection']['forEach'](_0xae4c58=>{_0x270f6d['push'](_0xae4c58['value']),_0x504b06['useArgs']&&_0x504b06['options']&&(_0x661d89[_0xae4c58['argsKey']]=_0xae4c58['value']);}),this['fire']('runReviewCheck',{'id':_0x504b06['id'],'params':_0x270f6d['length']?_0x270f6d:void 0x0,'args':Object['keys'](_0x661d89)['length']?_0x661d89:void 0x0});});const _0x2fcf1a=_0x6e8e4c['length'];return _0x6e8e4c['forEach']((_0x11bcd0,_0x4315a0)=>{const _0x5a92f5=_0x4315a0===_0x2fcf1a-0x1;this['_formItemsCollection']['add'](new _0x48cdfa(this['locale'],_0x11bcd0,_0x5a92f5?_0x5dcd01:null));}),_0x14682f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x14682f;}['_createCustomView'](_0x3ab5ab,_0x32a33f=!0x1){return this['_customCheckView']=new _0x4c0d4f(this['locale'],_0x3ab5ab,_0x32a33f),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x37c2a6=>!_0x37c2a6)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x145aa6,_0x11f980,_0x57494a)=>{_0x57494a||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbae655=_0x2186;(function(_0x5caea0,_0xf86f7d){const _0x2cc00f=_0x2186,_0x38f021=_0x5caea0();while(!![]){try{const _0x3ab332=-parseInt(_0x2cc00f(0x87))/0x1*(-parseInt(_0x2cc00f(0x8e))/0x2)+-parseInt(_0x2cc00f(0x8c))/0x3*(parseInt(_0x2cc00f(0x88))/0x4)+-parseInt(_0x2cc00f(0x82))/0x5+parseInt(_0x2cc00f(0x98))/0x6*(-parseInt(_0x2cc00f(0x86))/0x7)+parseInt(_0x2cc00f(0x91))/0x8+-parseInt(_0x2cc00f(0x93))/0x9+parseInt(_0x2cc00f(0x92))/0xa*(parseInt(_0x2cc00f(0x96))/0xb);if(_0x3ab332===_0xf86f7d)break;else _0x38f021['push'](_0x38f021['shift']());}catch(_0x1fc30b){_0x38f021['push'](_0x38f021['shift']());}}}(_0x2c74,0xaba91));function _0x2c74(){const _0x59c34d=['292035xTDFKj','locale','ck-ai_review__review-completed-content-text','ck-ai_review__review-completed-content-icon','203fcTJts','277094hOvpKn','766372wdOarU','_createFinishReviewButtonView','headerText','ck-ai_review__review-completed-header-title','6sdiJUh','span','4sUzSyF','ck-ai_review__review-completed','ck-ai_review__review-completed-header-buttons','1041352YziTbu','248470zxDDAv','3131298hlMMGq','_createResultHeaderView','buttonText','814OsMnCI','emptyResultsText','213186cScWJf','_resultsHeader','bindTemplate','_finishReviewButtonView','setTemplate','ck-ai_review__review-completed-content','ck-hidden','isVisible','delegate','div','ck-ai_review__review-completed-header','finishReview'];_0x2c74=function(){return _0x59c34d;};return _0x2c74();}import{ListItemView as _0x5e7a74,View as _0x5239a7}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x10e93c}from'./aireviewcorefinishreviewbuttonview.js';function _0x2186(_0xdb2b83,_0x35a3d5){const _0x2c7482=_0x2c74();return _0x2186=function(_0x2186c9,_0x1298e9){_0x2186c9=_0x2186c9-0x7f;let _0x11282d=_0x2c7482[_0x2186c9];return _0x11282d;},_0x2186(_0xdb2b83,_0x35a3d5);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x5e7a74{[_0xbae655(0x99)];[_0xbae655(0x9b)];constructor(_0x192763,_0x429254){const _0x3389fd=_0xbae655;super(_0x192763),this[_0x3389fd(0x9b)]=this[_0x3389fd(0x89)](_0x429254[_0x3389fd(0x95)]),this[_0x3389fd(0x99)]=this[_0x3389fd(0x94)](_0x429254[_0x3389fd(0x8a)]);const _0x2dd415=this[_0x3389fd(0x9a)];this[_0x3389fd(0x9c)]({'tag':_0x3389fd(0x7f),'attributes':{'class':[_0x3389fd(0x8f),_0x2dd415['if'](_0x3389fd(0x9f),_0x3389fd(0x9e),_0x1898e3=>!_0x1898e3)]},'children':[this[_0x3389fd(0x99)],{'tag':_0x3389fd(0x7f),'attributes':{'class':[_0x3389fd(0x9d)]},'children':[{'tag':_0x3389fd(0x8d),'attributes':{'class':[_0x3389fd(0x85)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x3389fd(0x84)]},'children':[{'text':_0x429254[_0x3389fd(0x97)]}]}]}]});}[_0xbae655(0x89)](_0x316e10){const _0x35d2c7=_0xbae655,_0x407482=new _0x10e93c(_0x316e10,this[_0x35d2c7(0x83)]);return _0x407482[_0x35d2c7(0xa0)](_0x35d2c7(0x81))['to'](this),_0x407482;}[_0xbae655(0x94)](_0x1929dd){const _0x579b6e=_0xbae655,_0x1dcc50=new _0x5239a7(this[_0x579b6e(0x83)]);return _0x1dcc50[_0x579b6e(0x9c)]({'tag':_0x579b6e(0x7f),'attributes':{'class':[_0x579b6e(0x80)]},'children':[{'tag':_0x579b6e(0x8d),'attributes':{'class':[_0x579b6e(0x8b)]},'children':[{'text':_0x1929dd}]},{'tag':_0x579b6e(0x7f),'attributes':{'class':[_0x579b6e(0x90)]},'children':[this[_0x579b6e(0x9b)]]}]}),_0x1dcc50;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x11a24f,View as _0x258e6c,ViewCollection as _0x2ba660,ButtonView as _0x542232}from'ckeditor5/src/ui.js';import{IconStop as _0x5cb599,IconEye as _0x4bcc2e,IconEyeCrossedOut as _0x1f302e}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x45c2ca,SKELETON_DEFINITIONS as _0x590dcd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x285096}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x3696b8}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x4ffa3e}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x310bc2}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x1952ad}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x11a24f{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x43742a,_0x4c35d4){super(_0x43742a),this['_contents']=_0x4c35d4,this['_resultViews']=new _0x2ba660(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x285096(_0x43742a),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x88b7a6=this['_createCombinedSkeletonLoader'](),_0x25b7f9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x25b7f9['if']('isLoading','ck-ai_review__check-run_loading',_0x5200be=>_0x5200be),_0x25b7f9['if']('isResultReady','ck-ai_review__check-run_ready',_0x4764f8=>_0x4764f8),_0x25b7f9['if']('isVisible','ck-hidden',_0x1dea7e=>!_0x1dea7e)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x40ca66=>_0x40ca66)]},'children':this['_resultViews']},_0x88b7a6]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x7ef9ea){const _0x5bf1a5=new _0x310bc2(this['locale'],_0x7ef9ea['id']);_0x5bf1a5['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5bf1a5),_0x5bf1a5['resultResponseView']['element']['innerHTML']=_0x7ef9ea['contentDiffed'];}['hideResult'](_0x2a4bf0,_0x55c7cd){if('pending'===_0x55c7cd)return;const _0xf2708d=this['_resultViews']['find'](_0xeca4ed=>_0xeca4ed['id']===_0x2a4bf0);_0xf2708d&&(_0xf2708d['status']=_0x55c7cd,_0xf2708d['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x249574,_0x254c53){if('pending'!==_0x254c53)return;const _0x3a406b=this['_resultViews']['find'](_0x326b68=>_0x326b68['id']===_0x249574);_0x3a406b&&(_0x3a406b['status']=_0x254c53,_0x3a406b['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x498969,_0x54b96c){this['headerTitle']=_0x498969,this['headerSubtitle']=_0x54b96c||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x45c2ca(this['locale'],_0x590dcd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0xe07e28=new _0x258e6c(this['locale']),_0x4ce9e7=[];for(let _0x1991e2=0x0;_0x1991e2<0x10;_0x1991e2++){const _0x410750=this['_createSkeletonLoader']();_0x410750['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x4ce9e7['push'](_0x410750);}return _0xe07e28['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x31fb37=>!_0x31fb37)]},'children':_0x4ce9e7}),_0xe07e28;}['_createErrorView'](){const _0x29e41a=new _0x258e6c(this['locale']),_0x3e51d8=new _0x542232(this['locale']),t=this['locale']['t'];return _0x29e41a['delegate']('retryReview')['to'](this),_0x3e51d8['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x3e51d8['on']('execute',()=>{this['fire']('retryReview');}),_0x29e41a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x422aa5=>!_0x422aa5),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2516f1=>'chunk'===_0x2516f1)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x37d000=>'chunk'===_0x37d000)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2335f9=>'general'!==_0x2335f9)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4b3564=>'chunk'!==_0x4b3564)]},'children':[{'text':_0x3696b8(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3e51d8]}),_0x29e41a;}['_createCancelButtonView'](){const _0xdfac88=new _0x542232(this['locale']);return _0xdfac88['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5cb599}),_0xdfac88['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x486c12=>_0x486c12),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5744a7=>_0x5744a7)]}}),_0xdfac88['on']('execute',()=>{this['fire']('abortReviewStream');}),_0xdfac88;}['_createToggleDiffButtonView'](){const _0x852168=new _0x542232(this['locale']);_0x852168['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x852168['bind']('isEnabled')['to'](this,'isError',_0x230f97=>!_0x230f97),_0x852168['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x339215=>!_0x339215),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x136fbf=>_0x136fbf)]}});const _0x2b91ba=_0x3696b8(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x8567a9=_0x3696b8(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x852168['bind']('isOn')['to'](this,'isToggleDiffOn',_0x58bae7=>_0x58bae7),_0x852168['bind']('icon')['to'](this,'isToggleDiffOn',_0x4e4ace=>_0x4e4ace?_0x4bcc2e:_0x1f302e),_0x852168['bind']('label')['to'](this,'isToggleDiffOn',_0x3aec2a=>_0x3aec2a?_0x2b91ba:_0x8567a9),_0x852168['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x852168;}['_createAcceptAllButtonView'](){const _0x2481e=new _0x542232(this['locale']);return _0x2481e['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x2481e['bind']('isEnabled')['to'](this,'isError',_0x500825=>!_0x500825),_0x2481e['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x182463=>!_0x182463),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4f3b1f=>_0x4f3b1f)]}}),_0x2481e['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x2481e;}['_createExitReviewButtonView'](){const _0x30cd9e=new _0x542232(this['locale']);return _0x30cd9e['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x30cd9e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x354eee=>!_0x354eee),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1ede5b=>_0x1ede5b)]}}),_0x30cd9e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x30cd9e;}['_createResultHeaderView'](){const _0x46b029=new _0x258e6c(this['locale']),_0x52d2d8=this['_createTitleView']();return _0x46b029['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x3e7f5a=>_0x3e7f5a)]},'children':[_0x52d2d8,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x46b029;}['_createTitleView'](){const _0x7cdea2=new _0x258e6c(this['locale']),_0xbb197b=new _0x4ffa3e();return _0xbb197b['bind']('isVisible')['to'](this,'isResultReady',_0xe91948=>!_0xe91948),_0x7cdea2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0xbb197b,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4fe493=>_0x4fe493)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b65b5=>!_0x2b65b5)]},'children':[{'text':_0x3696b8(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x7cdea2;}['_createFinishReviewButtonView'](){const _0xa2e67c=new _0x1952ad(_0x3696b8(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0xa2e67c['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x26e42a=>!_0x26e42a)]}}),_0xa2e67c['delegate']('finishReview')['to'](this),_0xa2e67c;}}
|
|
23
|
+
import{ListItemView as _0x472119,View as _0x35ea0f,ViewCollection as _0x30fa77,ButtonView as _0x46a266}from'ckeditor5/src/ui.js';import{IconStop as _0x2cbedf,IconEye as _0x10228,IconEyeCrossedOut as _0x3c71f1}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x452228,SKELETON_DEFINITIONS as _0x30ab21}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x5180e9}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x8db986}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x43931c}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x460986}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x5abf39}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x472119{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x20a1eb,_0x59e165){super(_0x20a1eb),this['_contents']=_0x59e165,this['_resultViews']=new _0x30fa77(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x5180e9(_0x20a1eb),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x70a5f2=this['_createCombinedSkeletonLoader'](),_0x524fa5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x524fa5['if']('isLoading','ck-ai_review__check-run_loading',_0x2de9ba=>_0x2de9ba),_0x524fa5['if']('isResultReady','ck-ai_review__check-run_ready',_0x4a6f56=>_0x4a6f56),_0x524fa5['if']('isVisible','ck-hidden',_0x57a255=>!_0x57a255)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x41bb68=>_0x41bb68)]},'children':this['_resultViews']},_0x70a5f2]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4dbf0e){const _0x234c63=new _0x460986(this['locale'],_0x4dbf0e['id']);_0x234c63['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x234c63),_0x234c63['resultResponseView']['element']['innerHTML']=_0x4dbf0e['contentDiffed'];}['hideResult'](_0x564367,_0x46830e){if('pending'===_0x46830e)return;const _0x28d18c=this['_resultViews']['find'](_0x1f95e5=>_0x1f95e5['id']===_0x564367);_0x28d18c&&(_0x28d18c['status']=_0x46830e,_0x28d18c['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x1fd0e8,_0x2fce37){if('pending'!==_0x2fce37)return;const _0x59e3ca=this['_resultViews']['find'](_0x50087e=>_0x50087e['id']===_0x1fd0e8);_0x59e3ca&&(_0x59e3ca['status']=_0x2fce37,_0x59e3ca['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x425368,_0x2e5e61){this['headerTitle']=_0x425368,this['headerSubtitle']=_0x2e5e61||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x452228(this['locale'],_0x30ab21['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x5caf0c=new _0x35ea0f(this['locale']),_0x478774=[];for(let _0xa0f86c=0x0;_0xa0f86c<0x10;_0xa0f86c++){const _0x461ae1=this['_createSkeletonLoader']();_0x461ae1['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x478774['push'](_0x461ae1);}return _0x5caf0c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2af046=>!_0x2af046)]},'children':_0x478774}),_0x5caf0c;}['_createErrorView'](){const _0x38b85c=new _0x35ea0f(this['locale']),_0x534b37=new _0x46a266(this['locale']),t=this['locale']['t'];return _0x38b85c['delegate']('retryReview')['to'](this),_0x534b37['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x534b37['on']('execute',()=>{this['fire']('retryReview');}),_0x38b85c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x105f23=>!_0x105f23),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x4cdee8=>'chunk'===_0x4cdee8)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x5d72df=>'chunk'===_0x5d72df)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2d20c3=>'general'!==_0x2d20c3)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3d67e4=>'chunk'!==_0x3d67e4)]},'children':[{'text':_0x8db986(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x534b37]}),_0x38b85c;}['_createCancelButtonView'](){const _0x1d2c1c=new _0x46a266(this['locale']);return _0x1d2c1c['set']({'label':_0x8db986(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x2cbedf}),_0x1d2c1c['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x19d16e=>_0x19d16e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x9f65bf=>_0x9f65bf)]}}),_0x1d2c1c['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x1d2c1c;}['_createToggleDiffButtonView'](){const _0x495af1=new _0x46a266(this['locale']);_0x495af1['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x495af1['bind']('isEnabled')['to'](this,'isError',_0x4ee177=>!_0x4ee177),_0x495af1['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x59f17f=>!_0x59f17f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x45ce76=>_0x45ce76)]}});const _0x5ee5a6=_0x8db986(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3c0d7a=_0x8db986(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x495af1['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2a016e=>_0x2a016e),_0x495af1['bind']('icon')['to'](this,'isToggleDiffOn',_0x37f7bb=>_0x37f7bb?_0x10228:_0x3c71f1),_0x495af1['bind']('label')['to'](this,'isToggleDiffOn',_0x239d96=>_0x239d96?_0x5ee5a6:_0x3c0d7a),_0x495af1['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x495af1;}['_createAcceptAllButtonView'](){const _0x543456=new _0x46a266(this['locale']);return _0x543456['set']({'label':_0x8db986(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x543456['bind']('isEnabled')['to'](this,'isError',_0x4692af=>!_0x4692af),_0x543456['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2c50b8=>!_0x2c50b8),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x6658db=>_0x6658db)]}}),_0x543456['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x543456;}['_createExitReviewButtonView'](){const _0x149211=new _0x46a266(this['locale']);return _0x149211['set']({'label':_0x8db986(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x149211['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x17c6ef=>!_0x17c6ef),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5cb7c6=>_0x5cb7c6)]}}),_0x149211['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x149211;}['_createResultHeaderView'](){const _0x2be64a=new _0x35ea0f(this['locale']),_0x1caea4=this['_createTitleView']();return _0x2be64a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x3e5ce7=>_0x3e5ce7)]},'children':[_0x1caea4,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x2be64a;}['_createTitleView'](){const _0x1d38b7=new _0x35ea0f(this['locale']),_0xc75ef0=new _0x43931c();return _0xc75ef0['bind']('isVisible')['to'](this,'isResultReady',_0x47c2fd=>!_0x47c2fd),_0x1d38b7['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0xc75ef0,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1c504a=>_0x1c504a)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1f8e3d=>!_0x1f8e3d)]},'children':[{'text':_0x8db986(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x1d38b7;}['_createFinishReviewButtonView'](){const _0x3f30cd=new _0x5abf39(_0x8db986(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3f30cd['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5a9024=>!_0x5a9024)]}}),_0x3f30cd['delegate']('finishReview')['to'](this),_0x3f30cd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x16b1(){var _0x576775=['set','showGeneralResultsErrorView','ck-ai-review','setTemplate','reviewCheckListView','reviewCheckResultsView','header','list','showChunkErrorView','showNoChangesView','2259000DWktty','110rkGtXB','div','1304844WiwOeB','clearResults','errorMessage','addCheckRunResult','hideActionsWhenResultIsReady','showActionsWhenResultIsReady','isVisible','results','5565iyzPzG','showReviewCheckResultsView','showReviewCheckListView','finishReview','isResultReady','ck-reset_all','19866xBQGEe','resetErrorState','completed','ck-rounded-corners','showChunkErrorMessage','isLoading','1968BKPcKY','806184cCiVxF','generalErrorView','delegate','797815UQbJoV','showGeneralReviewCoreErrorView','showReviewCompletedView','ltr','addResult','526258aNTdBe','reviewCoreHeader','showGeneralErrorMessage','reviewCompletedView','resetAllParameterizedChecks','isCompleted'];_0x16b1=function(){return _0x576775;};return _0x16b1();}var _0xfc2cb8=_0x287d;(function(_0x2f3892,_0x529756){var _0x20ed50=_0x287d,_0x5c9d79=_0x2f3892();while(!![]){try{var _0x2d30b9=-parseInt(_0x20ed50(0x121))/0x1+parseInt(_0x20ed50(0x132))/0x2*(parseInt(_0x20ed50(0x142))/0x3)+parseInt(_0x20ed50(0x134))/0x4+-parseInt(_0x20ed50(0x14c))/0x5+-parseInt(_0x20ed50(0x149))/0x6+-parseInt(_0x20ed50(0x13c))/0x7*(-parseInt(_0x20ed50(0x148))/0x8)+parseInt(_0x20ed50(0x131))/0x9;if(_0x2d30b9===_0x529756)break;else _0x5c9d79['push'](_0x5c9d79['shift']());}catch(_0x182f0b){_0x5c9d79['push'](_0x5c9d79['shift']());}}}(_0x16b1,0x4d586));function _0x287d(_0x1de077,_0x4218d8){var _0x16b12d=_0x16b1();return _0x287d=function(_0x287d67,_0x26b700){_0x287d67=_0x287d67-0x11e;var _0x6480c8=_0x16b12d[_0x287d67];return _0x6480c8;},_0x287d(_0x1de077,_0x4218d8);}import{View as _0x4b715e}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x30db76}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x1c6f90}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x4b715e{[_0xfc2cb8(0x122)];[_0xfc2cb8(0x14a)];[_0xfc2cb8(0x12b)];[_0xfc2cb8(0x12c)];[_0xfc2cb8(0x124)];constructor(_0x4d94e9,_0x13d8a0){var _0x11e7ef=_0xfc2cb8;super(_0x4d94e9),this[_0x11e7ef(0x122)]=_0x13d8a0[_0x11e7ef(0x12d)],this[_0x11e7ef(0x14a)]=new _0x1c6f90(_0x4d94e9),this[_0x11e7ef(0x12b)]=_0x13d8a0[_0x11e7ef(0x12e)],this[_0x11e7ef(0x12b)][_0x11e7ef(0x14b)](..._0x30db76)['to'](this),this[_0x11e7ef(0x12c)]=_0x13d8a0[_0x11e7ef(0x13b)],this[_0x11e7ef(0x12c)][_0x11e7ef(0x14b)](..._0x30db76)['to'](this),this[_0x11e7ef(0x124)]=_0x13d8a0[_0x11e7ef(0x144)],this[_0x11e7ef(0x124)][_0x11e7ef(0x14b)](_0x11e7ef(0x13f))['to'](this),this[_0x11e7ef(0x12b)][_0x11e7ef(0x127)](_0x11e7ef(0x13a),!0x1),this[_0x11e7ef(0x12c)][_0x11e7ef(0x127)](_0x11e7ef(0x13a),!0x1),this[_0x11e7ef(0x12c)][_0x11e7ef(0x127)](_0x11e7ef(0x147),!0x1),this[_0x11e7ef(0x12c)][_0x11e7ef(0x127)](_0x11e7ef(0x140),!0x1),this[_0x11e7ef(0x124)][_0x11e7ef(0x127)](_0x11e7ef(0x13a),!0x1),this[_0x11e7ef(0x12a)]({'tag':_0x11e7ef(0x133),'attributes':{'class':['ck',_0x11e7ef(0x141),_0x11e7ef(0x129),_0x11e7ef(0x145)],'dir':_0x11e7ef(0x11f)},'children':[this[_0x11e7ef(0x122)],this[_0x11e7ef(0x14a)],this[_0x11e7ef(0x12b)],this[_0x11e7ef(0x12c)],this[_0x11e7ef(0x124)]]});}[_0xfc2cb8(0x13e)](){var _0x46fcb9=_0xfc2cb8;this[_0x46fcb9(0x12b)][_0x46fcb9(0x125)](),this[_0x46fcb9(0x12b)][_0x46fcb9(0x127)](_0x46fcb9(0x13a),!0x0),this[_0x46fcb9(0x12c)][_0x46fcb9(0x127)](_0x46fcb9(0x13a),!0x1),this[_0x46fcb9(0x124)][_0x46fcb9(0x127)](_0x46fcb9(0x13a),!0x1);}[_0xfc2cb8(0x13d)](){var _0x1ebbf4=_0xfc2cb8;this[_0x1ebbf4(0x138)](),this[_0x1ebbf4(0x12c)][_0x1ebbf4(0x143)](),this[_0x1ebbf4(0x12b)][_0x1ebbf4(0x127)](_0x1ebbf4(0x13a),!0x1),this[_0x1ebbf4(0x12c)][_0x1ebbf4(0x127)](_0x1ebbf4(0x13a),!0x0),this[_0x1ebbf4(0x12c)][_0x1ebbf4(0x135)](),this[_0x1ebbf4(0x12c)][_0x1ebbf4(0x127)](_0x1ebbf4(0x147),!0x0),this[_0x1ebbf4(0x12c)][_0x1ebbf4(0x127)](_0x1ebbf4(0x126),!0x1);}[_0xfc2cb8(0x137)](_0x193b00){var _0x2bf72d=_0xfc2cb8;this[_0x2bf72d(0x12c)][_0x2bf72d(0x120)](_0x193b00),this[_0x2bf72d(0x12c)][_0x2bf72d(0x127)](_0x2bf72d(0x147),!0x1);}[_0xfc2cb8(0x11e)](){var _0x241889=_0xfc2cb8;this[_0x241889(0x12c)][_0x241889(0x127)](_0x241889(0x13a),!0x0),this[_0x241889(0x124)][_0x241889(0x127)](_0x241889(0x13a),!0x1),this[_0x241889(0x12c)][_0x241889(0x127)](_0x241889(0x126),!0x0),this[_0x241889(0x12b)][_0x241889(0x127)](_0x241889(0x13a),!0x1);}[_0xfc2cb8(0x139)](){var _0x30972c=_0xfc2cb8;this[_0x30972c(0x12c)][_0x30972c(0x140)]?(this[_0x30972c(0x12b)][_0x30972c(0x127)](_0x30972c(0x13a),!0x1),this[_0x30972c(0x12c)][_0x30972c(0x127)](_0x30972c(0x13a),!0x0),this[_0x30972c(0x124)][_0x30972c(0x127)](_0x30972c(0x13a),!0x1)):this[_0x30972c(0x12c)][_0x30972c(0x140)]=!0x0;}[_0xfc2cb8(0x130)](){var _0x48f91b=_0xfc2cb8;this[_0x48f91b(0x12b)][_0x48f91b(0x127)](_0x48f91b(0x13a),!0x1),this[_0x48f91b(0x12c)][_0x48f91b(0x127)](_0x48f91b(0x13a),!0x1),this[_0x48f91b(0x124)][_0x48f91b(0x127)](_0x48f91b(0x13a),!0x0);}[_0xfc2cb8(0x138)](){var _0x3a93a6=_0xfc2cb8;this[_0x3a93a6(0x12c)][_0x3a93a6(0x140)]=!0x1;}[_0xfc2cb8(0x14d)](_0x1e669d){var _0x29189b=_0xfc2cb8;this[_0x29189b(0x14a)][_0x29189b(0x127)](_0x29189b(0x13a),!0x0),this[_0x29189b(0x14a)][_0x29189b(0x136)]=_0x1e669d;}[_0xfc2cb8(0x128)](){var _0x190e25=_0xfc2cb8;this[_0x190e25(0x12c)][_0x190e25(0x127)](_0x190e25(0x147),!0x1),this[_0x190e25(0x139)](),this[_0x190e25(0x12c)][_0x190e25(0x123)]();}[_0xfc2cb8(0x12f)](){var _0x1e5131=_0xfc2cb8;this[_0x1e5131(0x12c)][_0x1e5131(0x127)](_0x1e5131(0x147),!0x1),this[_0x1e5131(0x139)](),this[_0x1e5131(0x12c)][_0x1e5131(0x146)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x19af4d=_0x291d;function _0x291d(_0xf489ed,_0x264733){const _0x559b0f=_0x559b();return _0x291d=function(_0x291d82,_0x3479bc){_0x291d82=_0x291d82-0xbf;let _0x33f0f2=_0x559b0f[_0x291d82];return _0x33f0f2;},_0x291d(_0xf489ed,_0x264733);}(function(_0xf9673c,_0x34f6a5){const _0x3e89e2=_0x291d,_0x5ccf0d=_0xf9673c();while(!![]){try{const _0x1fa55c=parseInt(_0x3e89e2(0xe6))/0x1+parseInt(_0x3e89e2(0xe1))/0x2*(parseInt(_0x3e89e2(0xdf))/0x3)+-parseInt(_0x3e89e2(0xcf))/0x4+-parseInt(_0x3e89e2(0xda))/0x5+parseInt(_0x3e89e2(0xc8))/0x6+parseInt(_0x3e89e2(0xe3))/0x7*(-parseInt(_0x3e89e2(0xe2))/0x8)+parseInt(_0x3e89e2(0xc9))/0x9;if(_0x1fa55c===_0x34f6a5)break;else _0x5ccf0d['push'](_0x5ccf0d['shift']());}catch(_0x550516){_0x5ccf0d['push'](_0x5ccf0d['shift']());}}}(_0x559b,0x261ee));import{Collection as _0x6007ca}from'ckeditor5/src/utils.js';import{View as _0x4f3692,createDropdown as _0x447648,addListToDropdown as _0x3acf8c,UIModel as _0x273811}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x4f3692{[_0x19af4d(0xde)];[_0x19af4d(0xc7)];[_0x19af4d(0xe7)];constructor(_0x29bfe6,_0x23990a){const _0x38b28b=_0x19af4d;super(_0x29bfe6),this[_0x38b28b(0xc7)]=_0x23990a[_0x38b28b(0xc1)]||(_0x23990a[_0x38b28b(0xdb)][_0x38b28b(0xc6)]>0x0?_0x23990a[_0x38b28b(0xdb)][0x0]['id']:''),this[_0x38b28b(0xe7)]=_0x23990a[_0x38b28b(0xdb)][_0x38b28b(0xc2)](_0x1bd570=>_0x1bd570['id']===this[_0x38b28b(0xc7)])?.[_0x38b28b(0xc5)]||'',this[_0x38b28b(0xcd)](_0x38b28b(0xce),''),this[_0x38b28b(0xde)]=_0x447648(this[_0x38b28b(0xe5)]);const _0xe82eb4=this[_0x38b28b(0xd0)](_0x23990a[_0x38b28b(0xdb)]);_0x3acf8c(this[_0x38b28b(0xde)],_0xe82eb4,{'role':_0x38b28b(0xd8),'ariaLabel':_0x23990a[_0x38b28b(0xc5)]}),this[_0x38b28b(0xde)][_0x38b28b(0xd5)][_0x38b28b(0xcd)]({'label':this[_0x38b28b(0xe7)],'withText':!0x0}),this[_0x38b28b(0xde)][_0x38b28b(0xc4)]({'on':{'click':this[_0x38b28b(0xdc)]['to'](_0x298652=>{const _0x8b0d97=_0x38b28b;_0x298652[_0x8b0d97(0xd3)]();})}}),this[_0x38b28b(0xd2)](this[_0x38b28b(0xde)],_0x38b28b(0xd7),_0x7103f3=>{const _0x2a5a55=_0x38b28b;this[_0x2a5a55(0xce)]=_0x7103f3[_0x2a5a55(0xe4)][_0x2a5a55(0xd1)]['id'],this[_0x2a5a55(0xde)][_0x2a5a55(0xd5)][_0x2a5a55(0xc5)]=_0x7103f3[_0x2a5a55(0xe4)][_0x2a5a55(0xd1)][_0x2a5a55(0xc5)];}),this[_0x38b28b(0xd9)]({'tag':_0x38b28b(0xd4),'attributes':{'class':['ck',_0x38b28b(0xcc),_0x38b28b(0xca),_0x38b28b(0xd6)]},'children':[this[_0x38b28b(0xde)]]});}[_0x19af4d(0xc3)](){const _0xc96cc2=_0x19af4d;this[_0xc96cc2(0xce)]=this[_0xc96cc2(0xc7)],this[_0xc96cc2(0xde)][_0xc96cc2(0xd5)][_0xc96cc2(0xc5)]=this[_0xc96cc2(0xe7)];}[_0x19af4d(0xd0)](_0x4d2203=[]){const _0x211b18=_0x19af4d,_0x53bb54=new _0x6007ca();this[_0x211b18(0xc3)]();for(const _0x49b772 of _0x4d2203){const _0xcd6c44=new _0x273811({'label':_0x49b772[_0x211b18(0xc5)],'withText':!0x0,'role':_0x211b18(0xc0),'id':_0x49b772['id'],'model':_0x49b772});_0xcd6c44[_0x211b18(0xe0)](_0x211b18(0xdd))['to'](this,_0x211b18(0xce),_0x43c747=>_0x43c747===_0xcd6c44['id']);const _0x9f6278={'type':_0x211b18(0xbf),'model':_0xcd6c44};_0x53bb54[_0x211b18(0xcb)](_0x9f6278);}return _0x53bb54;}}function _0x559b(){const _0x1c1257=['set','formValue','1045440VEjDyb','_prepareListOptions','model','listenTo','stopPropagation','div','buttonView','ck-ai_review__check-list-item-parameterized-form-element_dropdown','execute','menu','setTemplate','1000455XLdWXt','data','bindTemplate','isOn','_dropdownView','72PhLaJL','bind','25462phWaIK','2544lyPuZg','2387GqgMal','source','locale','81768Wygqlk','_defaultLabel','button','menuitemradio','default','find','resetToDefault','extendTemplate','label','length','_defaultValue','397572cxoIJR','2452113wmlwxq','ck-ai_review__check-list-item-parameterized-form-element','add','ck-reset_all'];_0x559b=function(){return _0x1c1257;};return _0x559b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e296a=_0x896c;function _0x896c(_0x198b42,_0x2cd21f){const _0x32a41d=_0x32a4();return _0x896c=function(_0x896c5b,_0x811a7c){_0x896c5b=_0x896c5b-0x1b2;let _0x358f66=_0x32a41d[_0x896c5b];return _0x358f66;},_0x896c(_0x198b42,_0x2cd21f);}(function(_0x29e2c2,_0x873625){const _0x3c9c01=_0x896c,_0xc6154d=_0x29e2c2();while(!![]){try{const _0x44f383=-parseInt(_0x3c9c01(0x1b3))/0x1+-parseInt(_0x3c9c01(0x1bb))/0x2+parseInt(_0x3c9c01(0x1ca))/0x3*(-parseInt(_0x3c9c01(0x1b9))/0x4)+parseInt(_0x3c9c01(0x1c9))/0x5+parseInt(_0x3c9c01(0x1b7))/0x6*(-parseInt(_0x3c9c01(0x1c3))/0x7)+parseInt(_0x3c9c01(0x1c6))/0x8+parseInt(_0x3c9c01(0x1c0))/0x9;if(_0x44f383===_0x873625)break;else _0xc6154d['push'](_0xc6154d['shift']());}catch(_0x36c307){_0xc6154d['push'](_0xc6154d['shift']());}}}(_0x32a4,0x44635));import{FormRowView as _0x4d9565,ListItemView as _0x1bbc85}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x346b19}from'./aireviewcoreformdropdown.js';export class AIReviewCoreFormManagerView extends _0x1bbc85{[_0x5e296a(0x1c8)]=null;constructor(_0x53ea62,_0x4be0fc,_0x13b319){const _0x27c9a6=_0x5e296a;super(_0x53ea62),this[_0x27c9a6(0x1cb)]=_0x4be0fc?.[_0x27c9a6(0x1cb)];if(_0x27c9a6(0x1ba)===_0x4be0fc[_0x27c9a6(0x1c5)])this[_0x27c9a6(0x1c8)]=new _0x346b19(this[_0x27c9a6(0x1c1)],_0x4be0fc);this[_0x27c9a6(0x1b5)](_0x27c9a6(0x1c2),''),this[_0x27c9a6(0x1b8)](_0x27c9a6(0x1c2))['to'](this[_0x27c9a6(0x1c8)],_0x27c9a6(0x1be));const _0x2267ad=new _0x4d9565(this[_0x27c9a6(0x1c1)],{'children':[this[_0x27c9a6(0x1c8)]],'class':[_0x13b319?_0x27c9a6(0x1bc):'']});_0x13b319&&_0x2267ad[_0x27c9a6(0x1b6)][_0x27c9a6(0x1bd)](_0x13b319),this[_0x27c9a6(0x1c7)]({'tag':_0x27c9a6(0x1c4),'attributes':{'class':['ck',_0x27c9a6(0x1bf),_0x27c9a6(0x1b2)]},'children':[_0x2267ad]});}[_0x5e296a(0x1b4)](){const _0x4d174=_0x5e296a;this[_0x4d174(0x1c8)][_0x4d174(0x1b4)]();}}function _0x32a4(){const _0x27a64f=['formType','437352xbKeKs','setTemplate','_formItem','1158180UmDouy','33WYIntA','argsKey','ck-reset_all','324701lWyJWi','resetToDefault','set','children','516hpVOuz','bind','54176jmnvCT','dropdown','398204kqirOh','ck-form__row_with-submit','add','formValue','ck-ai_review__form-item','7038099qwCsDE','locale','value','9394qjZSGI','div'];_0x32a4=function(){return _0x27a64f;};return _0x32a4();}
|
|
@@ -8,5 +8,9 @@
|
|
|
8
8
|
import { type AIReviewCheckDefinition } from '../aireviewcore/types.js';
|
|
9
9
|
/**
|
|
10
10
|
* List of definitions of available review checks that can be performed in the AI Review Mode.
|
|
11
|
+
*
|
|
12
|
+
* IMPORTANT: Every time this list changes, the `availableCommands` property
|
|
13
|
+
* in {@link module:ai/aireviewmode/aireviewmode~AIReviewModeConfig} and Review feature guide
|
|
14
|
+
* should be updated accordingly.
|
|
11
15
|
*/
|
|
12
16
|
export declare const AI_REVIEW_CHECKS: Array<AIReviewCheckDefinition>;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x17a9(){const _0x5506d4=['28JpUtSO','Shorter','34739235wbiQIp','Professional','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','longer','Casual','professional','Custom\x20command','8ivyZlH','correctness','Readability','custom','make','tone','Confident','make-tone','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','clarity','shorter','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Adjust\x20tone\x20and\x20style','Correctness','Longer','casual','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','confident','readability','direct','3578968IzspLt','dropdown','Friendly','length','friendly','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','2252679bCZeNc','763665VDjOZn','6899900YQsxaL','4366710PgRwld','228301vrhjWm','Direct','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Clarity','Adjust\x20length'];_0x17a9=function(){return _0x5506d4;};return _0x17a9();}const _0x5a8df3=_0x4232;(function(_0x270442,_0x253829){const _0x47bae2=_0x4232,_0x48d368=_0x270442();while(!![]){try{const _0xcff17c=parseInt(_0x47bae2(0x7e))/0x1+-parseInt(_0x47bae2(0x74))/0x2+-parseInt(_0x47bae2(0x7a))/0x3+-parseInt(_0x47bae2(0x83))/0x4*(-parseInt(_0x47bae2(0x7b))/0x5)+-parseInt(_0x47bae2(0x7d))/0x6+parseInt(_0x47bae2(0x7c))/0x7*(-parseInt(_0x47bae2(0x8c))/0x8)+parseInt(_0x47bae2(0x85))/0x9;if(_0xcff17c===_0x253829)break;else _0x48d368['push'](_0x48d368['shift']());}catch(_0xaf3268){_0x48d368['push'](_0x48d368['shift']());}}}(_0x17a9,0xdc93d));function _0x4232(_0x11822b,_0x1b1fa0){const _0x17a9a0=_0x17a9();return _0x4232=function(_0x42327c,_0x2803b4){_0x42327c=_0x42327c-0x68;let _0x3e2cb8=_0x17a9a0[_0x42327c];return _0x3e2cb8;},_0x4232(_0x11822b,_0x1b1fa0);}export const AI_REVIEW_CHECKS=[{'id':_0x5a8df3(0x8f),'commandId':_0x5a8df3(0x8f),'title':_0x5a8df3(0x8b),'description':_0x5a8df3(0x70),'isParameterized':!0x0},{'id':_0x5a8df3(0x8d),'commandId':_0x5a8df3(0x8d),'title':_0x5a8df3(0x6d),'description':_0x5a8df3(0x87),'isParameterized':!0x1},{'id':_0x5a8df3(0x69),'commandId':_0x5a8df3(0x69),'title':_0x5a8df3(0x81),'description':_0x5a8df3(0x6b),'isParameterized':!0x1},{'id':_0x5a8df3(0x72),'commandId':_0x5a8df3(0x72),'title':_0x5a8df3(0x8e),'description':_0x5a8df3(0x68),'isParameterized':!0x1},{'id':_0x5a8df3(0x77),'commandId':_0x5a8df3(0x90),'title':_0x5a8df3(0x82),'description':_0x5a8df3(0x79),'isParameterized':!0x0,'options':[{'formType':_0x5a8df3(0x75),'label':_0x5a8df3(0x82),'default':_0x5a8df3(0x88),'data':[{'label':_0x5a8df3(0x6e),'id':_0x5a8df3(0x88)},{'label':_0x5a8df3(0x84),'id':_0x5a8df3(0x6a)}]}]},{'id':_0x5a8df3(0x91),'commandId':_0x5a8df3(0x93),'title':_0x5a8df3(0x6c),'description':_0x5a8df3(0x80),'isParameterized':!0x0,'options':[{'formType':_0x5a8df3(0x75),'label':_0x5a8df3(0x6c),'default':_0x5a8df3(0x6f),'data':[{'label':_0x5a8df3(0x89),'id':_0x5a8df3(0x6f)},{'label':_0x5a8df3(0x7f),'id':_0x5a8df3(0x73)},{'label':_0x5a8df3(0x76),'id':_0x5a8df3(0x78)},{'label':_0x5a8df3(0x92),'id':_0x5a8df3(0x71)},{'label':_0x5a8df3(0x86),'id':_0x5a8df3(0x8a)}]}]}];
|
|
@@ -36,3 +36,98 @@ export declare class AIReviewMode extends ContextPlugin {
|
|
|
36
36
|
*/
|
|
37
37
|
static get isPremiumPlugin(): true;
|
|
38
38
|
}
|
|
39
|
+
export interface AIReviewModeConfig {
|
|
40
|
+
/**
|
|
41
|
+
* List of IDs of review commands that will be available in the AI Review feature UI. If not set, all available
|
|
42
|
+
* predefined commands will be used. The order of IDs defines the order of commands in the UI.
|
|
43
|
+
*
|
|
44
|
+
* The list of all predefined commands, used by default:
|
|
45
|
+
* - `custom`
|
|
46
|
+
* - `correctness`
|
|
47
|
+
* - `clarity`
|
|
48
|
+
* - `readability`
|
|
49
|
+
* - `length`
|
|
50
|
+
* - `tone`
|
|
51
|
+
*
|
|
52
|
+
* The commands can be used selectively and rearranged with this configuration option. For example:
|
|
53
|
+
*
|
|
54
|
+
* ```ts
|
|
55
|
+
* ClassicEditor
|
|
56
|
+
* .create( editorElement, {
|
|
57
|
+
* ai: {
|
|
58
|
+
* review: {
|
|
59
|
+
* availableCommands: [
|
|
60
|
+
* 'length', 'tone', 'clarity', 'readability'
|
|
61
|
+
* ]
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* } )
|
|
65
|
+
* .then( ... )
|
|
66
|
+
* .catch( ... );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
availableCommands?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
* List of extra review commands that can be added to the AI Review feature.
|
|
72
|
+
*
|
|
73
|
+
* Keep in mind that each command should have a unique ID that does not collide with predefined commands.
|
|
74
|
+
* The `custom` command ID is reserved and cannot be used as an ID for extra command.
|
|
75
|
+
*
|
|
76
|
+
* To add a command and expose it in the UI, first a command definition needs to be provided:
|
|
77
|
+
*
|
|
78
|
+
* ```ts
|
|
79
|
+
* ClassicEditor
|
|
80
|
+
* .create( editorElement, {
|
|
81
|
+
* ai: {
|
|
82
|
+
* review: {
|
|
83
|
+
* extraCommands: [
|
|
84
|
+
* {
|
|
85
|
+
* id: 'improve-captions',
|
|
86
|
+
* label: 'Improve Captions',
|
|
87
|
+
* description: 'Improve image captions in the document.',
|
|
88
|
+
* prompt: 'Suggest improvements for the image captions in the document.',
|
|
89
|
+
* },
|
|
90
|
+
* {
|
|
91
|
+
* id: 'expand-abbreviations',
|
|
92
|
+
* label: 'Expand Abbreviations',
|
|
93
|
+
* description: 'Expand abbreviations in the document.',
|
|
94
|
+
* prompt: 'Suggest expansions for abbreviations in the document.',
|
|
95
|
+
* model: 'gpt-5-2' // Optional, if not set, default model will be used.
|
|
96
|
+
* }
|
|
97
|
+
* ]
|
|
98
|
+
* }
|
|
99
|
+
* }
|
|
100
|
+
* } )
|
|
101
|
+
* .then( ... )
|
|
102
|
+
* .catch( ... );
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* Then if {@link #availableCommands} is not set, the extra commands will be added to the end of the list of available
|
|
106
|
+
* commands and visible in the UI by default. Otherwise, the extra commands need to be explicitly added to the list
|
|
107
|
+
* of available commands to be exposed in the UI:
|
|
108
|
+
*
|
|
109
|
+
* ```ts
|
|
110
|
+
* ClassicEditor
|
|
111
|
+
* .create( editorElement, {
|
|
112
|
+
* ai: {
|
|
113
|
+
* review: {
|
|
114
|
+
* extraCommands: [ ... ],
|
|
115
|
+
* availableCommands: [
|
|
116
|
+
* 'custom', 'correctness', 'clarity', 'readability', 'length', 'tone', 'improve-captions', 'expand-abbreviations'
|
|
117
|
+
* ]
|
|
118
|
+
* }
|
|
119
|
+
* }
|
|
120
|
+
* } )
|
|
121
|
+
* .then( ... )
|
|
122
|
+
* .catch( ... );
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
extraCommands?: Array<AIReviewCustomCommand>;
|
|
126
|
+
}
|
|
127
|
+
export type AIReviewCustomCommand = {
|
|
128
|
+
id: string;
|
|
129
|
+
label: string;
|
|
130
|
+
description: string;
|
|
131
|
+
prompt: string;
|
|
132
|
+
model?: string;
|
|
133
|
+
};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2deba4=_0x33d8;(function(_0x404411,_0x12a58b){var _0x1655aa=_0x33d8,_0x1079e6=_0x404411();while(!![]){try{var _0x50a686=-parseInt(_0x1655aa(0x104))/0x1*(-parseInt(_0x1655aa(0xfb))/0x2)+parseInt(_0x1655aa(0x10b))/0x3+parseInt(_0x1655aa(0x101))/0x4+parseInt(_0x1655aa(0xfd))/0x5*(parseInt(_0x1655aa(0x102))/0x6)+parseInt(_0x1655aa(0x103))/0x7*(-parseInt(_0x1655aa(0xff))/0x8)+-parseInt(_0x1655aa(0xfe))/0x9*(-parseInt(_0x1655aa(0x105))/0xa)+parseInt(_0x1655aa(0x107))/0xb*(-parseInt(_0x1655aa(0x109))/0xc);if(_0x50a686===_0x12a58b)break;else _0x1079e6['push'](_0x1079e6['shift']());}catch(_0x4e8c33){_0x1079e6['push'](_0x1079e6['shift']());}}}(_0x27df,0xe00d6));import{ContextPlugin as _0x2dd487}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x1d9256}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x357f63}from'../aireviewcore/aireviewcoreediting.js';function _0x27df(){var _0x4abc69=['2884356FHfOuF','2621512LpgAuV','requires','25RthdmT','9PHbnjs','40816MWejKF','AIReviewMode','7113668KpmVZI','1819758yyiqXG','287oatFPh','1SiVieZ','2970250NzZHvp','isPremiumPlugin','7444195AIygRd','isOfficialPlugin','84pmabMu','pluginName'];_0x27df=function(){return _0x4abc69;};return _0x27df();}import{AIReviewModeController as _0x4009c8}from'./aireviewmodecontroller.js';function _0x33d8(_0x295c03,_0x55951f){var _0x27df04=_0x27df();return _0x33d8=function(_0x33d8e2,_0x32e368){_0x33d8e2=_0x33d8e2-0xfb;var _0x1dc272=_0x27df04[_0x33d8e2];return _0x1dc272;},_0x33d8(_0x295c03,_0x55951f);}export class AIReviewMode extends _0x2dd487{static get[_0x2deba4(0xfc)](){return[_0x4009c8,_0x1d9256,_0x357f63];}static get[_0x2deba4(0x10a)](){var _0x276fd3=_0x2deba4;return _0x276fd3(0x100);}static get[_0x2deba4(0x108)](){return!0x0;}static get[_0x2deba4(0x106)](){return!0x0;}}
|
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { AIReviewCoreController } from '../aireviewcore/aireviewcorecontroller.js';
|
|
6
|
+
import { type Context, type Editor } from 'ckeditor5/src/core.js';
|
|
6
7
|
export declare class AIReviewModeController extends AIReviewCoreController {
|
|
7
8
|
/**
|
|
8
9
|
* @inheritDoc
|
|
9
10
|
*/
|
|
10
11
|
static get pluginName(): "AIReviewModeController";
|
|
12
|
+
/**
|
|
13
|
+
* @inheritDoc
|
|
14
|
+
*/
|
|
15
|
+
constructor(context: Context | Editor);
|
|
11
16
|
/**
|
|
12
17
|
* @inheritDoc
|
|
13
18
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x219996=_0x507e;(function(_0x90e02e,_0x3a9286){const _0x10c8f1=_0x507e,_0x719590=_0x90e02e();while(!![]){try{const _0xcf106c=parseInt(_0x10c8f1(0x83))/0x1*(-parseInt(_0x10c8f1(0xbe))/0x2)+parseInt(_0x10c8f1(0xc6))/0x3*(-parseInt(_0x10c8f1(0xad))/0x4)+parseInt(_0x10c8f1(0x93))/0x5+-parseInt(_0x10c8f1(0xcb))/0x6*(parseInt(_0x10c8f1(0xb9))/0x7)+parseInt(_0x10c8f1(0x84))/0x8+-parseInt(_0x10c8f1(0x95))/0x9+parseInt(_0x10c8f1(0xb5))/0xa;if(_0xcf106c===_0x3a9286)break;else _0x719590['push'](_0x719590['shift']());}catch(_0x348449){_0x719590['push'](_0x719590['shift']());}}}(_0x36df,0x8a807));import{CKEditorError as _0x5dbfe6}from'ckeditor5/src/utils.js';function _0x507e(_0x281058,_0xdb939f){const _0x36df89=_0x36df();return _0x507e=function(_0x507e5c,_0x33410b){_0x507e5c=_0x507e5c-0x80;let _0x57fb6a=_0x36df89[_0x507e5c];return _0x57fb6a;},_0x507e(_0x281058,_0xdb939f);}import{AIReviewCoreController as _0x141308}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x1f3392}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0xdbd38e}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x21bc32}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x2db797}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0xfce6a7}from'../aicore/model/aimodels.js';export class AIReviewModeController extends _0x141308{static get[_0x219996(0xb6)](){const _0x349055=_0x219996;return _0x349055(0xe8);}[_0x219996(0x9f)]=!0x1;async[_0x219996(0xd1)](){const _0x44ae4d=_0x219996;await super[_0x44ae4d(0xd1)](),this[_0x44ae4d(0xb7)](this[_0x44ae4d(0xb0)],_0x44ae4d(0xa2),(_0x1bb27c,_0x329d36)=>{const _0x19bec5=_0x44ae4d;this[_0x19bec5(0x9f)]=_0x329d36['on'],this[_0x19bec5(0xc8)](this[_0x19bec5(0x9f)]);});}[_0x219996(0xd7)](){const _0x55eec=_0x219996;super[_0x55eec(0xd7)](),this[_0x55eec(0xb0)]=this[_0x55eec(0xe7)][_0x55eec(0xde)][_0x55eec(0xe5)](_0x55eec(0xe3)),this[_0x55eec(0x90)]=this[_0x55eec(0xe7)][_0x55eec(0xde)][_0x55eec(0xe5)](_0x55eec(0xac));}[_0x219996(0xea)](_0x4e64b6,_0x3cedce){const _0x3e5f37=_0x219996;return _0x4e64b6[_0x3e5f37(0xa1)]?new _0x21bc32(_0x4e64b6[_0x3e5f37(0xc2)][_0x3e5f37(0xd4)],_0x4e64b6[_0x3e5f37(0xc2)][_0x3e5f37(0xdc)],this[_0x3e5f37(0x90)][_0x3e5f37(0xb4)](),_0x3cedce,this[_0x3e5f37(0x9e)]):new _0x2db797(this[_0x3e5f37(0x90)][_0x3e5f37(0xb4)](),_0x3cedce,this[_0x3e5f37(0x9e)],_0x4e64b6[_0x3e5f37(0xbb)],_0x4e64b6[_0x3e5f37(0xc2)]);}[_0x219996(0xf2)](_0x291204){const _0x4116bd=_0x219996;this[_0x4116bd(0xb0)][_0x4116bd(0xa9)](_0x291204[_0x4116bd(0xa0)]['id']),this[_0x4116bd(0xe0)](_0x291204[_0x4116bd(0xa0)]['id']);const _0x419c68=this[_0x4116bd(0x90)][_0x4116bd(0xf3)](_0x291204[_0x4116bd(0xa0)]['id']);if(!_0x419c68)return;const _0xa4b324=this[_0x4116bd(0x90)][_0x4116bd(0xab)]();this[_0x4116bd(0xb0)][_0x4116bd(0xcf)](_0x291204[_0x4116bd(0xa0)],()=>_0x419c68[_0x4116bd(0xf0)](),void 0x0,_0x4116bd(0xb1),_0xa4b324?.[_0x4116bd(0xce)]?.[_0x4116bd(0x82)]?.[_0x4116bd(0xf1)](),_0xa4b324?.['ui']?.[_0x4116bd(0xaa)]),this[_0x4116bd(0x90)][_0x4116bd(0xdf)](_0x291204[_0x4116bd(0xa0)]['id']);}[_0x219996(0xba)](){const _0x28a0c6=_0x219996;this[_0x28a0c6(0xb0)][_0x28a0c6(0x99)](),this[_0x28a0c6(0xb0)][_0x28a0c6(0x87)](),this[_0x28a0c6(0x90)][_0x28a0c6(0x98)]();}[_0x219996(0xd0)](_0x49802d){const _0x6d5ad5=_0x219996;this[_0x6d5ad5(0xc1)]&&_0x6d5ad5(0xb1)===_0x49802d[_0x6d5ad5(0xa8)]&&(this[_0x6d5ad5(0xcd)]=_0x6d5ad5(0x9d),this[_0x6d5ad5(0xc1)][_0x6d5ad5(0xef)](_0x49802d['id']));}[_0x219996(0xd6)](_0x59efef){const _0x160a77=_0x219996;this[_0x160a77(0xc1)]&&_0x160a77(0xa5)===_0x59efef[_0x160a77(0xa4)]&&this[_0x160a77(0xc1)][_0x160a77(0xe2)]();}[_0x219996(0xd5)](_0x15d58b,_0x4a587a){const _0x2b0b33=_0x219996;if(!this[_0x2b0b33(0xc1)])return;this[_0x2b0b33(0xcd)]=_0x2b0b33(0x81),this[_0x2b0b33(0xc1)][_0x2b0b33(0xef)](_0x4a587a[_0x2b0b33(0xcc)]);const _0x2acade=this[_0x2b0b33(0xc1)][_0x2b0b33(0xb2)](_0x4a587a[_0x2b0b33(0xcc)]);if(!_0x2acade)return;const _0x595c3e=this[_0x2b0b33(0x90)][_0x2b0b33(0xab)]();this[_0x2b0b33(0xb0)][_0x2b0b33(0xcf)](_0x2acade,_0x4a587a[_0x2b0b33(0xda)],_0x4a587a[_0x2b0b33(0x92)],_0x2b0b33(0xb1),_0x595c3e?.[_0x2b0b33(0xce)]?.[_0x2b0b33(0x82)]?.[_0x2b0b33(0xf1)](),_0x595c3e?.['ui']?.[_0x2b0b33(0xaa)]);}[_0x219996(0xbd)](_0x5d992d,_0x5338a1){const _0x1b5291=_0x219996;if(!this[_0x1b5291(0xc1)])return;if(this[_0x1b5291(0xc1)][_0x1b5291(0xae)]())return;const _0x24a6aa=this[_0x1b5291(0xc1)][_0x1b5291(0xb2)](_0x5338a1[_0x1b5291(0xcc)]);if(!_0x24a6aa)return;const _0x4baf8a=this[_0x1b5291(0x90)][_0x1b5291(0xab)]();this[_0x1b5291(0xb0)][_0x1b5291(0xcf)](_0x24a6aa,_0x5338a1[_0x1b5291(0xda)],_0x5338a1[_0x1b5291(0x92)],_0x1b5291(0xd2),_0x4baf8a?.[_0x1b5291(0xce)]?.[_0x1b5291(0x82)]?.[_0x1b5291(0xf1)](),_0x4baf8a?.['ui']?.[_0x1b5291(0xaa)]);}[_0x219996(0xc9)](){const _0x31c10e=_0x219996;if(!this[_0x31c10e(0xc1)])return;this[_0x31c10e(0xc1)][_0x31c10e(0xae)]()||this[_0x31c10e(0xb0)][_0x31c10e(0x87)]();}[_0x219996(0xc3)](_0x5600de){const _0x201e0d=_0x219996,_0x2ceb33=this[_0x201e0d(0x90)][_0x201e0d(0xf3)](_0x5600de);return _0x2ceb33?_0x2ceb33[_0x201e0d(0xf0)]():null;}[_0x219996(0xe1)](_0x5de825,_0x45e7a8){const _0x69616d=_0x219996;this[_0x69616d(0x90)][_0x69616d(0xc0)](_0x5de825,_0x45e7a8);}[_0x219996(0xc5)](_0x3ef994,_0xb90385){const _0x5b8427=_0x219996;return this[_0x5b8427(0x90)][_0x5b8427(0xec)](_0x3ef994,_0xb90385);}[_0x219996(0x9c)](){const _0x14798b=_0x219996;this[_0x14798b(0xc8)](this[_0x14798b(0x9f)]);}[_0x219996(0xc8)](_0x269c0c){const _0x22c564=_0x219996,_0x34398f=this[_0x22c564(0x90)][_0x22c564(0xab)]();_0x269c0c?this[_0x22c564(0xb0)][_0x22c564(0xd3)]():this[_0x22c564(0xb0)][_0x22c564(0xbc)](),_0x34398f&&_0x34398f[_0x22c564(0xce)][_0x22c564(0x82)][_0x22c564(0xa0)](_0x57d1dc=>{const _0x461d62=_0x22c564,_0x36bd61=_0x34398f[_0x461d62(0xce)][_0x461d62(0x82)][_0x461d62(0x96)][_0x461d62(0xe4)]();for(const _0x1585a7 of _0x36bd61[_0x461d62(0xbf)]())_0x1585a7[_0x461d62(0x8c)](_0x461d62(0xa3))&&_0x57d1dc[_0x461d62(0x8a)](_0x1585a7,_0x36bd61);_0x57d1dc[_0x461d62(0x86)](_0x269c0c?_0x461d62(0xeb):_0x461d62(0xdb),_0x36bd61);});}async[_0x219996(0xe6)](){const _0x5de7aa=_0x219996;let _0x2bf58c=this[_0x5de7aa(0x8b)](_0x1f3392);const _0x42e952=_0x2bf58c[_0x5de7aa(0x8d)](_0x8911b4=>_0x5de7aa(0xc4)===_0x8911b4['id']);if(_0x42e952)try{const _0x374a6a=new _0xfce6a7({'connector':this[_0x5de7aa(0x9e)],'config':this[_0x5de7aa(0xe7)][_0x5de7aa(0xa6)][_0x5de7aa(0xe5)](_0x5de7aa(0xd9)),'locale':this[_0x5de7aa(0xe7)][_0x5de7aa(0x9a)]});_0x42e952[_0x5de7aa(0x85)]=await _0x374a6a[_0x5de7aa(0xca)](),_0x42e952[_0x5de7aa(0x80)]=await _0x374a6a[_0x5de7aa(0x88)]();}catch(_0xa27634){_0x2bf58c=_0x2bf58c[_0x5de7aa(0xe9)](_0x51e30f=>_0x5de7aa(0xc4)!==_0x51e30f['id']),this[_0x5de7aa(0xee)](new _0x5dbfe6(_0x5de7aa(0x94),this,void 0x0,_0xa27634));}return new _0xdbd38e(_0x2bf58c);}[_0x219996(0x8b)](_0x25c3bd){const _0x502562=_0x219996;return _0x25c3bd[_0x502562(0xb3)](_0x29b827=>{const _0x11f9fa=_0x502562,_0xa296ff=_0x11f9fa(0xd8)+_0x29b827['id'][_0x11f9fa(0x8e)]()[_0x11f9fa(0x9b)]('-','_'),_0x3034a9={..._0x29b827,'title':this[_0x11f9fa(0x89)](_0xa296ff+_0x11f9fa(0xed),_0x29b827[_0x11f9fa(0xc7)]),'description':this[_0x11f9fa(0x89)](_0xa296ff+_0x11f9fa(0x91),_0x29b827[_0x11f9fa(0x8f)])};return _0x29b827[_0x11f9fa(0xa7)]&&(_0x3034a9[_0x11f9fa(0xa7)]=_0x29b827[_0x11f9fa(0xa7)][_0x11f9fa(0xb3)](_0x37f379=>({..._0x37f379,'label':this[_0x11f9fa(0x89)](_0xa296ff+_0x11f9fa(0x97),_0x37f379[_0x11f9fa(0xdd)]||''),'data':_0x37f379[_0x11f9fa(0xaf)]?_0x37f379[_0x11f9fa(0xaf)][_0x11f9fa(0xb3)](_0x499b5b=>({..._0x499b5b,'label':this[_0x11f9fa(0x89)](_0xa296ff+_0x11f9fa(0xb8)+_0x499b5b['id'][_0x11f9fa(0x8e)](),_0x499b5b[_0x11f9fa(0xdd)])})):void 0x0}))),_0x3034a9;});}}function _0x36df(){const _0x4cb299=['ai-review-mode-models-unable-to-retrieve','4393458PBkYJg','document','_OPTIONS_LABEL','setAllMarkersAsInactive','resetActiveStateInResults','locale','replaceAll','_onReviewCheckRun','panel','_aiConnector','_isDiffOn','change','isCustom','toggleDiff','ck-ai_review-','origin','balloon','config','options','uiInteraction','setActiveStateInResults','viewportOffset','getEditor','AIReviewCoreEditing','40ZhuvYY','isAnyChangeActivated','data','_aiReviewCoreUi','click','getChangeById','map','getDocumentData','6444250mJyenA','pluginName','listenTo','_OPTIONS_DATA_','6246709GanoYE','_onReviewCheckResultDeactivated','params','showDiffInBalloon','_onChangeMarkerHovered','44iyeiqq','getClassNames','markChangePositionInEditorContent','_currentReviewCheckRun','args','_getChangeContentElement','custom','_diffContent','120372utpPFW','title','_onDiffChange','_onChangeMarkerBlurred','getAvailableModels','6LVQTBq','changeId','_changeActivationSource','editing','showChangeBalloon','_onActivateChange','init','hover','hideDiffInBalloon','prompt','_onChangeMarkerClicked','_onDeactivateChange','_initRequiredPlugins','AI_REVIEW_CHECK_','ai.models','markerElement','ck-ai_review-highlights','model','label','plugins','setMarkersInElementAsActive','_scrollToChange','_markChangePositionInEditorContent','deactivateChange','AIReviewModeUI','getRoot','get','_getChecksList','context','AIReviewModeController','filter','_createReviewCheckRun','ck-ai_review-diff','diffContent','_TITLE','_logError','activateChange','getElement','getDomRoot','_onReviewCheckResultActivated','getMarkerElementForChange','defaultModel','content','view','8024psygDD','8398680aJzyVx','models','addClass','hideChangeBalloon','getDefault','_getTranslationWithDefault','removeClass','_translateReviewChecks','startsWith','find','toUpperCase','description','_aiReviewCoreEditing','_DESCRIPTION','domEvent','4156800UEGpiU'];_0x36df=function(){return _0x4cb299;};return _0x36df();}
|
|
23
|
+
const _0x528cf9=_0x4842;(function(_0x45e770,_0x224222){const _0x1cc55b=_0x4842,_0x4f0270=_0x45e770();while(!![]){try{const _0x56d62a=parseInt(_0x1cc55b(0x9c))/0x1*(parseInt(_0x1cc55b(0xa4))/0x2)+-parseInt(_0x1cc55b(0x7c))/0x3*(parseInt(_0x1cc55b(0xb9))/0x4)+-parseInt(_0x1cc55b(0x7f))/0x5*(-parseInt(_0x1cc55b(0xe7))/0x6)+parseInt(_0x1cc55b(0x77))/0x7+parseInt(_0x1cc55b(0xb1))/0x8*(parseInt(_0x1cc55b(0x8e))/0x9)+-parseInt(_0x1cc55b(0xb5))/0xa+-parseInt(_0x1cc55b(0xa2))/0xb;if(_0x56d62a===_0x224222)break;else _0x4f0270['push'](_0x4f0270['shift']());}catch(_0x20b6be){_0x4f0270['push'](_0x4f0270['shift']());}}}(_0x39ba,0xbc01b));import{CKEditorError as _0x367afb}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x1ed522}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x1efd2b}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x3ef320}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x4e4353}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x236007}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x460cbd}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x50d667}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x8bf1b3}from'./model/aireviewcheckextra.js';function _0x4842(_0x16e7f3,_0x4344e4){const _0x39ba00=_0x39ba();return _0x4842=function(_0x48421d,_0x42c452){_0x48421d=_0x48421d-0x73;let _0x2e19b5=_0x39ba00[_0x48421d];return _0x2e19b5;},_0x4842(_0x16e7f3,_0x4344e4);}function _0x39ba(){const _0x272afd=['deactivateChange','_aiReviewCoreUi','init','origin','_logErrorForNonExistentChecks','_logError','_onReviewCheckResultActivated','startsWith','AI_REVIEW_CHECK_','_currentReviewCheckRun','_getChangeContentElement','_onReviewCheckResultDeactivated','removeCheckById','_getModels','recommended','_changeActivationSource','isCustom','_DESCRIPTION','markerElement','ai.models','_onChangeMarkerClicked','getDomRoot','all','_initRequiredPlugins','_aiConnector','_getExtraChecks','find','setActiveStateInResults','click','_createReviewCheckRun','defaultModel','pluginName','default','join','label','isExtra','_hasDefaultAvailableCommands','12876XRuwVx','plugins','title','getChangeById','_markChangePositionInEditorContent','isAnyChangeActivated','args','AIReviewModeUI','get','checks','replaceAll','getMarkerElementForChange','length','_diffContent','filter','_aiReviewCoreEditing','toggleDiff','showDiffInBalloon','_OPTIONS_LABEL','ck-ai_review-diff','changeId','toUpperCase','diffContent','push','hideChangeBalloon','_scrollToChange','addClass','_filterChecksWithMissingModel','1646442YDnXjP','options','some','listenTo','config','14562kZXnmr','AIReviewModeController','setMarkersInElementAsActive','3485LGtIKF','custom','_onChangeMarkerBlurred','params','view','panel','setAllMarkersAsInactive','hover','_getChecksList','_translateReviewCheck','_OPTIONS_DATA_','models','_isDiffOn','locale','getDefault','9uUvfRU','_onChangeMarkerHovered','getRoot','getAll','balloon','data','showChangeBalloon','content','model','_getTranslationWithDefault','AIReviewCoreEditing','ai.review.availableCommands','map','_onDeactivateChange','3sLNrwA','_onDiffChange','change','hideDiffInBalloon','_TITLE','ai-review-mode-non-existent-commands-used','12776841hbaPgu','getElement','864596EsvPFL','setupChecks','activateChange','prompt','_onReviewCheckRun','markChangePositionInEditorContent','_onActivateChange','ck-ai_review-','getClassNames','editing','viewportOffset','description','getEditor','905672qSBYqz','getDocumentData','removeClass','ai.review.extraCommands','105270MTyBns','context','uiInteraction','resetActiveStateInResults','988hjmsnb','ck-ai_review-highlights','ai-review-mode-models-unable-to-retrieve','getAvailableModels','document','ai-review-mode-command-unavailable-due-to-missing-model','define','forEach','domEvent'];_0x39ba=function(){return _0x272afd;};return _0x39ba();}import{AIReviewExtraCheckRun as _0x10049e}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x1ed522{static get[_0x528cf9(0xe1)](){const _0x32b6dd=_0x528cf9;return _0x32b6dd(0x7d);}[_0x528cf9(0x8b)]=!0x1;[_0x528cf9(0xe6)]=!0x1;constructor(_0x840823){const _0x50b6b3=_0x528cf9;super(_0x840823),this[_0x50b6b3(0xe6)]=!this[_0x50b6b3(0xb6)][_0x50b6b3(0x7b)][_0x50b6b3(0xef)](_0x50b6b3(0x99)),this[_0x50b6b3(0xb6)][_0x50b6b3(0x7b)][_0x50b6b3(0xbf)](_0x50b6b3(0x99),_0x1efd2b[_0x50b6b3(0x9a)](_0x306999=>_0x306999['id'])),this[_0x50b6b3(0xb6)][_0x50b6b3(0x7b)][_0x50b6b3(0xbf)](_0x50b6b3(0xb4),[]);}async[_0x528cf9(0xc4)](){const _0x5c6e79=_0x528cf9;await super[_0x5c6e79(0xc4)](),this[_0x5c6e79(0x7a)](this[_0x5c6e79(0xc3)],_0x5c6e79(0xf7),(_0x11837b,_0x556abf)=>{const _0x2f1a59=_0x5c6e79;this[_0x2f1a59(0x8b)]=_0x556abf['on'],this[_0x2f1a59(0x9d)](this[_0x2f1a59(0x8b)]);});}[_0x528cf9(0xd9)](){const _0x4d5ef3=_0x528cf9;super[_0x4d5ef3(0xd9)](),this[_0x4d5ef3(0xc3)]=this[_0x4d5ef3(0xb6)][_0x4d5ef3(0xe8)][_0x4d5ef3(0xef)](_0x4d5ef3(0xee)),this[_0x4d5ef3(0xf6)]=this[_0x4d5ef3(0xb6)][_0x4d5ef3(0xe8)][_0x4d5ef3(0xef)](_0x4d5ef3(0x98));}[_0x528cf9(0xdf)](_0x58e4d8,_0x1c61ca){const _0x53e90e=_0x528cf9;return _0x58e4d8[_0x53e90e(0xd2)]?new _0x4e4353(_0x58e4d8[_0x53e90e(0xed)][_0x53e90e(0xa7)],_0x58e4d8[_0x53e90e(0xed)][_0x53e90e(0x96)],this[_0x53e90e(0xf6)][_0x53e90e(0xb2)](),_0x1c61ca,this[_0x53e90e(0xda)]):_0x1c61ca[_0x53e90e(0xe5)]?new _0x10049e(_0x1c61ca[_0x53e90e(0xa7)],_0x1c61ca[_0x53e90e(0xe0)]['id'],this[_0x53e90e(0xf6)][_0x53e90e(0xb2)](),_0x1c61ca,this[_0x53e90e(0xda)]):new _0x236007(this[_0x53e90e(0xf6)][_0x53e90e(0xb2)](),_0x1c61ca,this[_0x53e90e(0xda)],_0x58e4d8[_0x53e90e(0x82)],_0x58e4d8[_0x53e90e(0xed)]);}[_0x528cf9(0xc8)](_0x2cef97){const _0x2ae430=_0x528cf9;this[_0x2ae430(0xc3)][_0x2ae430(0xdd)](_0x2cef97[_0x2ae430(0x9e)]['id']),this[_0x2ae430(0x74)](_0x2cef97[_0x2ae430(0x9e)]['id']);const _0x396a85=this[_0x2ae430(0xf6)][_0x2ae430(0xf2)](_0x2cef97[_0x2ae430(0x9e)]['id']);if(!_0x396a85)return;const _0x17eb6b=this[_0x2ae430(0xf6)][_0x2ae430(0xb0)]();this[_0x2ae430(0xc3)][_0x2ae430(0x94)](_0x2cef97[_0x2ae430(0x9e)],()=>_0x396a85[_0x2ae430(0xa3)](),void 0x0,_0x2ae430(0xde),_0x17eb6b?.[_0x2ae430(0xad)]?.[_0x2ae430(0x83)]?.[_0x2ae430(0xd7)](),_0x17eb6b?.['ui']?.[_0x2ae430(0xae)]),this[_0x2ae430(0xf6)][_0x2ae430(0x7e)](_0x2cef97[_0x2ae430(0x9e)]['id']);}[_0x528cf9(0xcd)](){const _0x1abf7f=_0x528cf9;this[_0x1abf7f(0xc3)][_0x1abf7f(0xb8)](),this[_0x1abf7f(0xc3)][_0x1abf7f(0x73)](),this[_0x1abf7f(0xf6)][_0x1abf7f(0x85)]();}[_0x528cf9(0xaa)](_0x98a2ad){const _0x1e2a7f=_0x528cf9;this[_0x1e2a7f(0xcb)]&&_0x1e2a7f(0xde)===_0x98a2ad[_0x1e2a7f(0xb7)]&&(this[_0x1e2a7f(0xd1)]=_0x1e2a7f(0x84),this[_0x1e2a7f(0xcb)][_0x1e2a7f(0xa6)](_0x98a2ad['id']));}[_0x528cf9(0x9b)](_0x105666){const _0x37d9b9=_0x528cf9;this[_0x37d9b9(0xcb)]&&_0x37d9b9(0x92)===_0x105666[_0x37d9b9(0xc5)]&&this[_0x37d9b9(0xcb)][_0x37d9b9(0xc2)]();}[_0x528cf9(0xd6)](_0x1f5c16,_0x92b7be){const _0x4494b0=_0x528cf9;if(!this[_0x4494b0(0xcb)])return;this[_0x4494b0(0xd1)]=_0x4494b0(0x95),this[_0x4494b0(0xcb)][_0x4494b0(0xa6)](_0x92b7be[_0x4494b0(0xfb)]);const _0x23be3b=this[_0x4494b0(0xcb)][_0x4494b0(0xea)](_0x92b7be[_0x4494b0(0xfb)]);if(!_0x23be3b)return;const _0x204285=this[_0x4494b0(0xf6)][_0x4494b0(0xb0)]();this[_0x4494b0(0xc3)][_0x4494b0(0x94)](_0x23be3b,_0x92b7be[_0x4494b0(0xd4)],_0x92b7be[_0x4494b0(0xc1)],_0x4494b0(0xde),_0x204285?.[_0x4494b0(0xad)]?.[_0x4494b0(0x83)]?.[_0x4494b0(0xd7)](),_0x204285?.['ui']?.[_0x4494b0(0xae)]);}[_0x528cf9(0x8f)](_0x5e491c,_0x572350){const _0x5216d3=_0x528cf9;if(!this[_0x5216d3(0xcb)])return;if(this[_0x5216d3(0xcb)][_0x5216d3(0xec)]())return;const _0x5ef2ef=this[_0x5216d3(0xcb)][_0x5216d3(0xea)](_0x572350[_0x5216d3(0xfb)]);if(!_0x5ef2ef)return;const _0x5039f2=this[_0x5216d3(0xf6)][_0x5216d3(0xb0)]();this[_0x5216d3(0xc3)][_0x5216d3(0x94)](_0x5ef2ef,_0x572350[_0x5216d3(0xd4)],_0x572350[_0x5216d3(0xc1)],_0x5216d3(0x86),_0x5039f2?.[_0x5216d3(0xad)]?.[_0x5216d3(0x83)]?.[_0x5216d3(0xd7)](),_0x5039f2?.['ui']?.[_0x5216d3(0xae)]);}[_0x528cf9(0x81)](){const _0x5f1b29=_0x528cf9;if(!this[_0x5f1b29(0xcb)])return;this[_0x5f1b29(0xcb)][_0x5f1b29(0xec)]()||this[_0x5f1b29(0xc3)][_0x5f1b29(0x73)]();}[_0x528cf9(0xcc)](_0x1f4ad1){const _0x39eb73=_0x528cf9,_0x27ea13=this[_0x39eb73(0xf6)][_0x39eb73(0xf2)](_0x1f4ad1);return _0x27ea13?_0x27ea13[_0x39eb73(0xa3)]():null;}[_0x528cf9(0xeb)](_0x2daee2,_0x202630){const _0x357757=_0x528cf9;this[_0x357757(0xf6)][_0x357757(0xa9)](_0x2daee2,_0x202630);}[_0x528cf9(0xf4)](_0x12a1d6,_0x43b023){const _0x1f72d7=_0x528cf9;return this[_0x1f72d7(0xf6)][_0x1f72d7(0xfd)](_0x12a1d6,_0x43b023);}[_0x528cf9(0xa8)](){const _0x3079d7=_0x528cf9;this[_0x3079d7(0x9d)](this[_0x3079d7(0x8b)]);}[_0x528cf9(0x9d)](_0x14381b){const _0x4ba834=_0x528cf9,_0xaffec5=this[_0x4ba834(0xf6)][_0x4ba834(0xb0)]();_0x14381b?this[_0x4ba834(0xc3)][_0x4ba834(0x9f)]():this[_0x4ba834(0xc3)][_0x4ba834(0xf8)](),_0xaffec5&&_0xaffec5[_0x4ba834(0xad)][_0x4ba834(0x83)][_0x4ba834(0x9e)](_0x35971c=>{const _0x4805f3=_0x4ba834,_0x1cc013=_0xaffec5[_0x4805f3(0xad)][_0x4805f3(0x83)][_0x4805f3(0xbd)][_0x4805f3(0x90)]();for(const _0x53d082 of _0x1cc013[_0x4805f3(0xac)]())_0x53d082[_0x4805f3(0xc9)](_0x4805f3(0xab))&&_0x35971c[_0x4805f3(0xb3)](_0x53d082,_0x1cc013);_0x35971c[_0x4805f3(0x75)](_0x14381b?_0x4805f3(0xfa):_0x4805f3(0xba),_0x1cc013);});}async[_0x528cf9(0x87)](){const _0x32c32c=_0x528cf9,_0x15ffb4=[..._0x1efd2b,...this[_0x32c32c(0xdb)]()],_0x8faaf6=this[_0x32c32c(0xb6)][_0x32c32c(0x7b)][_0x32c32c(0xef)](_0x32c32c(0x99))||[];this[_0x32c32c(0xc6)](_0x8faaf6,_0x15ffb4);let _0x4ffcac=_0x15ffb4;this[_0x32c32c(0xe6)]||(_0x4ffcac=_0x8faaf6[_0x32c32c(0x9a)](_0x147a25=>_0x15ffb4[_0x32c32c(0xdc)](_0x24668f=>_0x24668f['id']===_0x147a25))[_0x32c32c(0xf5)](_0x57ddc4=>!!_0x57ddc4)),_0x4ffcac=_0x4ffcac[_0x32c32c(0x9a)](_0x2b0a50=>_0x2b0a50[_0x32c32c(0xe5)]?_0x2b0a50:this[_0x32c32c(0x88)](_0x2b0a50));const _0x5de61d=_0x4ffcac[_0x32c32c(0x79)](_0x278b9c=>_0x278b9c[_0x32c32c(0xe5)]||_0x32c32c(0x80)===_0x278b9c['id']);let _0x3983be=[],_0xc4630=[],_0x3c3155=null;if(_0x5de61d){const _0x64ede1=await this[_0x32c32c(0xcf)]();_0x3983be=_0x64ede1[_0x32c32c(0xd8)],_0xc4630=_0x64ede1[_0x32c32c(0xd0)],_0x3c3155=_0x64ede1[_0x32c32c(0xe2)];}const _0x4f963f=new _0x3ef320(_0x3983be,_0xc4630,_0x3c3155);return _0x4f963f[_0x32c32c(0xa5)](_0x4ffcac),_0x5de61d&&this[_0x32c32c(0x76)](_0x4f963f),_0x4f963f;}[_0x528cf9(0xdb)](){const _0x29f353=_0x528cf9;return(this[_0x29f353(0xb6)][_0x29f353(0x7b)][_0x29f353(0xef)](_0x29f353(0xb4))||[])[_0x29f353(0x9a)](_0x3b3408=>({'id':_0x3b3408['id'],'commandId':_0x3b3408['id'],'title':_0x3b3408[_0x29f353(0xe4)],'description':_0x3b3408[_0x29f353(0xaf)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x3b3408[_0x29f353(0xa7)],'model':_0x3b3408[_0x29f353(0x96)]}));}[_0x528cf9(0xc6)](_0x39ee91,_0x5f3656){const _0x489024=_0x528cf9,_0x520876=_0x39ee91[_0x489024(0xf5)](_0xfe896f=>!_0x5f3656[_0x489024(0x79)](_0x5bb2fb=>_0x5bb2fb['id']===_0xfe896f));_0x520876[_0x489024(0xf3)]&&this[_0x489024(0xc7)](new _0x367afb(_0x489024(0xa1),this,{'commandIds':_0x520876[_0x489024(0xe3)](',\x20')}),!0x0);}async[_0x528cf9(0xcf)](){const _0x1e3071=_0x528cf9;try{const _0x543b28=new _0x460cbd({'connector':this[_0x1e3071(0xda)],'config':this[_0x1e3071(0xb6)][_0x1e3071(0x7b)][_0x1e3071(0xef)](_0x1e3071(0xd5)),'locale':this[_0x1e3071(0xb6)][_0x1e3071(0x8c)]});return{'all':await _0x543b28[_0x1e3071(0x91)](),'recommended':await _0x543b28[_0x1e3071(0xbc)](),'default':await _0x543b28[_0x1e3071(0x8d)]()};}catch(_0x342380){return this[_0x1e3071(0xc7)](new _0x367afb(_0x1e3071(0xbb),this,void 0x0,_0x342380)),{'all':[],'recommended':[],'default':null};}}[_0x528cf9(0x88)](_0x3008b6){const _0x4c95d7=_0x528cf9,_0x5d030a=_0x4c95d7(0xca)+_0x3008b6['id'][_0x4c95d7(0xfc)]()[_0x4c95d7(0xf1)]('-','_'),_0x14a80f={..._0x3008b6,'title':this[_0x4c95d7(0x97)](_0x5d030a+_0x4c95d7(0xa0),_0x3008b6[_0x4c95d7(0xe9)]),'description':this[_0x4c95d7(0x97)](_0x5d030a+_0x4c95d7(0xd3),_0x3008b6[_0x4c95d7(0xaf)])};return _0x3008b6[_0x4c95d7(0x78)]&&(_0x14a80f[_0x4c95d7(0x78)]=_0x3008b6[_0x4c95d7(0x78)][_0x4c95d7(0x9a)](_0x5ae763=>({..._0x5ae763,'label':this[_0x4c95d7(0x97)](_0x5d030a+_0x4c95d7(0xf9),_0x5ae763[_0x4c95d7(0xe4)]||''),'data':_0x5ae763[_0x4c95d7(0x93)]?_0x5ae763[_0x4c95d7(0x93)][_0x4c95d7(0x9a)](_0x183457=>({..._0x183457,'label':this[_0x4c95d7(0x97)](_0x5d030a+_0x4c95d7(0x89)+_0x183457['id'][_0x4c95d7(0xfc)](),_0x183457[_0x4c95d7(0xe4)])})):void 0x0}))),_0x14a80f;}[_0x528cf9(0x76)](_0x1b95f8){const _0x155979=_0x528cf9,_0x5529de=[];_0x1b95f8[_0x155979(0xf0)][_0x155979(0xc0)](_0x41d381=>{const _0x2e8c5f=_0x155979;(_0x41d381 instanceof _0x8bf1b3&&!_0x41d381[_0x2e8c5f(0xe0)]||_0x41d381 instanceof _0x50d667&&!_0x41d381[_0x2e8c5f(0x8a)][_0x2e8c5f(0xf3)])&&_0x5529de[_0x2e8c5f(0xfe)](_0x41d381['id']);}),_0x5529de[_0x155979(0xf3)]&&_0x5529de[_0x155979(0xc0)](_0x49099d=>{const _0x3eea7e=_0x155979;_0x1b95f8[_0x3eea7e(0xce)](_0x49099d),this[_0x3eea7e(0xc7)](new _0x367afb(_0x3eea7e(0xbe),this,{'commandId':_0x49099d}),!0x0);});}}
|