@ckeditor/ckeditor5-ai 47.1.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +573 -203
- package/dist/index.css +627 -204
- package/dist/index.js +5 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +8 -1
- package/lang/translations/af.po +52 -4
- package/lang/translations/ar.po +52 -4
- package/lang/translations/ast.po +52 -4
- package/lang/translations/az.po +52 -4
- package/lang/translations/be.po +52 -4
- package/lang/translations/bg.po +52 -4
- package/lang/translations/bn.po +52 -4
- package/lang/translations/bs.po +52 -4
- package/lang/translations/ca.po +52 -4
- package/lang/translations/cs.po +52 -4
- package/lang/translations/da.po +52 -4
- package/lang/translations/de-ch.po +52 -4
- package/lang/translations/de.po +52 -4
- package/lang/translations/el.po +52 -4
- package/lang/translations/en-au.po +52 -4
- package/lang/translations/en-gb.po +52 -4
- package/lang/translations/en.po +52 -4
- package/lang/translations/eo.po +52 -4
- package/lang/translations/es-co.po +52 -4
- package/lang/translations/es.po +52 -4
- package/lang/translations/et.po +52 -4
- package/lang/translations/eu.po +52 -4
- package/lang/translations/fa.po +52 -4
- package/lang/translations/fi.po +52 -4
- package/lang/translations/fr.po +52 -4
- package/lang/translations/gl.po +52 -4
- package/lang/translations/gu.po +52 -4
- package/lang/translations/he.po +52 -4
- package/lang/translations/hi.po +52 -4
- package/lang/translations/hr.po +52 -4
- package/lang/translations/hu.po +52 -4
- package/lang/translations/hy.po +52 -4
- package/lang/translations/id.po +52 -4
- package/lang/translations/it.po +52 -4
- package/lang/translations/ja.po +52 -4
- package/lang/translations/jv.po +52 -4
- package/lang/translations/kk.po +52 -4
- package/lang/translations/km.po +52 -4
- package/lang/translations/kn.po +52 -4
- package/lang/translations/ko.po +52 -4
- package/lang/translations/ku.po +52 -4
- package/lang/translations/lt.po +52 -4
- package/lang/translations/lv.po +52 -4
- package/lang/translations/ms.po +52 -4
- package/lang/translations/nb.po +52 -4
- package/lang/translations/ne.po +52 -4
- package/lang/translations/nl.po +52 -4
- package/lang/translations/no.po +52 -4
- package/lang/translations/oc.po +52 -4
- package/lang/translations/pl.po +52 -4
- package/lang/translations/pt-br.po +52 -4
- package/lang/translations/pt.po +52 -4
- package/lang/translations/ro.po +52 -4
- package/lang/translations/ru.po +52 -4
- package/lang/translations/si.po +52 -4
- package/lang/translations/sk.po +52 -4
- package/lang/translations/sl.po +52 -4
- package/lang/translations/sq.po +52 -4
- package/lang/translations/sr-latn.po +52 -4
- package/lang/translations/sr.po +52 -4
- package/lang/translations/sv.po +52 -4
- package/lang/translations/th.po +52 -4
- package/lang/translations/ti.po +52 -4
- package/lang/translations/tk.po +52 -4
- package/lang/translations/tr.po +52 -4
- package/lang/translations/tt.po +52 -4
- package/lang/translations/ug.po +52 -4
- package/lang/translations/uk.po +52 -4
- package/lang/translations/ur.po +52 -4
- package/lang/translations/uz.po +52 -4
- package/lang/translations/vi.po +52 -4
- package/lang/translations/zh-cn.po +52 -4
- package/lang/translations/zh.po +52 -4
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +1 -1
- 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.d.ts +5 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +1 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +4 -0
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +8 -29
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +2 -2
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.d.ts +4 -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.d.ts +4 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
- 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/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.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.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 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +28 -7
- package/src/aicore/aiconnector.d.ts +1 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.d.ts +66 -0
- package/src/aicore/model/aimodels.js +23 -0
- package/src/aicore/model/aireply.d.ts +9 -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.d.ts +5 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +2 -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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.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/errors.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +12 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
- package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
- package/theme/aichat/aichat-controls.css +11 -27
- package/theme/aichat/aichat.css +2 -3
- package/theme/aichat/aichatfeed.css +1 -27
- package/theme/aichat/aichathistory.css +12 -0
- package/theme/aichat/aisuggestioncontainer.css +5 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
- package/theme/aireviewmode/aireviewmode.css +17 -7
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/theme/aitabs/tabs/tabsview.css +1 -0
- package/theme/common/aibutton.css +27 -0
- package/theme/common/aiheader.css +14 -4
- package/theme/common/aitrackchanges.css +8 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
- package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
- package/src/aireviewmode/model/aireviewmodels.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2479e0=_0x9c3d;function _0x9c3d(_0x3586fc,_0x58b81e){const _0x385163=_0x3851();return _0x9c3d=function(_0x9c3d5b,_0x86f40a){_0x9c3d5b=_0x9c3d5b-0x15a;let _0x49c35e=_0x385163[_0x9c3d5b];return _0x49c35e;},_0x9c3d(_0x3586fc,_0x58b81e);}(function(_0x33060b,_0x4991f0){const _0x5573ed=_0x9c3d,_0x3d9888=_0x33060b();while(!![]){try{const _0x19877c=parseInt(_0x5573ed(0x1e0))/0x1*(parseInt(_0x5573ed(0x18b))/0x2)+parseInt(_0x5573ed(0x213))/0x3+-parseInt(_0x5573ed(0x1cd))/0x4+parseInt(_0x5573ed(0x22f))/0x5+parseInt(_0x5573ed(0x1bd))/0x6*(parseInt(_0x5573ed(0x1d4))/0x7)+parseInt(_0x5573ed(0x196))/0x8+-parseInt(_0x5573ed(0x1a2))/0x9;if(_0x19877c===_0x4991f0)break;else _0x3d9888['push'](_0x3d9888['shift']());}catch(_0x1b0e6c){_0x3d9888['push'](_0x3d9888['shift']());}}}(_0x3851,0xe95ec));import{Plugin as _0x237fee}from'ckeditor5/src/core.js';import{AIConnector as _0x4af7c2}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x9c00ca}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x21b127,ButtonView as _0x4add50,ViewCollection as _0x46fe62,View as _0x1ec23b}from'ckeditor5/src/ui.js';import{AIEditing as _0x96b669}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x188218}from'./model/aiactionsinteraction.js';import{first as _0x5c3470}from'ckeditor5/src/utils.js';function _0x3851(){const _0x4d34b6=['startsWith','message','setLoading','getSelectionAsFragment','getChildAtOffset','replyCreated','hasPendingParts','error','editor','sourcePosition','isCollapsed','1/1','stopInteraction','path','removeNavigationItem','ck-ai-interaction-counter','start','_createInteraction','TableSelection','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','set','add','isDocumentOperation','isLoading','actionCallId','documentContextContent','open','_clearInteractionHistory','miniToolbarView','isPremiumPlugin','setErrorState','toggleSuggestionDisplayMode','queueEmptyPromise','AIBalloon','focus','_isNavigationPreviousButtonInView','setSelection','AI_ACTIONS_TRY_AGAIN','createPositionAt','icon','actionName','document','stopListening','isOfficialPlugin','bodyView','getRoot','reinsert','batch','history','nodeAfter','_applyOperationsAsSuggestions','22reyQkx','clearErrorState','toolbar','showLoader','filter','_refreshInteraction','_aiConnector','Error\x20updating\x20content\x20in\x20replyContentUpdated:','getDocumentContext','state','_filterOperationsOutsideRange','7665264HSrkcB','mainView','documentFragment','AI_ACTIONS_PREVIOUS_INTERACTION','howMany','getLimitElement','stop','split','insert','upsertCustomAIActionRating','dialogClosed','requires','27747099iMasdi','setChangeGroupState','end','stickiness','rootName','applySuggestion','ck-ai-custom-action-button','change','Error\x20updating\x20content\x20during\x20navigation:','changeGroups','addNavigationItem','catch','length','_clearSuggestionContent','upsertAIActionRating','_setLoadingState','slice','close','updateContent','replyChangeGroupStateUpdated','_getExecuteDataRegular','_clearLoadingState','plugins','getOperations','nextSibling','balloonView','Error\x20refreshing\x20interaction:','6VPUEIq','getSelectedTableCells','first','_customViews','getRanges','pluginName','AI_ACTIONS_GENERIC_ERROR','operationsA','createPositionAfter','model','_setErrorState','_navigationNextButton','execute','_applyChanges','clone','createPositionBefore','3063056HXaprc','push','modelToViewWithIds','executeAction','_clearErrorState','replies','clearLoading','10797367uReNAL','processor','_children','insertSuggestion','toData','version','parent','textContent','ck-ai-navigation-button\x20ck-ai-next-button','replyContentUpdated','remove','enqueue','25019ohLMFf','_clone','pending','setTemplate','getChild','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','$graveyard','_executeAction','_displayInteractionAtIndex','position','has','isBusy','_currentInteractionIndex','_interactions','move','getFirstRange','type','static','baseVersion','random','AIConnector','_navigateToPrevious','bind','get','element','createRange','_navigateToNext','signal','applyOperation','accepted','schema','_navigationPreviousButton','aiBalloon','_execute','selection','rejected','_setupCustomViews','_interaction','showError','includes','AI_ACTIONS_NEXT_INTERACTION','Attribute','interactionFinished','_updateNavigationUI','showChangesButton','AIActions','getAncestors','streaming','_appendChild','_interactionParams','ck-ai-navigation-button\x20ck-ai-previous-button','5524593Plwuhc','_getExecuteDataInTable','_isNavigationCounterInView','merge','data','getSelectedBlocks','addOperation','span','range','rename','Error\x20updating\x20content\x20in\x20replyCreated:','_isAbortError','listenTo','abort','locale','_isNavigationNextButtonInView','getSelectedContent','getCommonAncestor','_balloonShowDiff','_navigationCounter','TrackChangesEditing','hasError','hideLoader','map','indexOf','hideError','isEnabled','areChangesVisible','936400rnFApn','_anchorOperation','_promiseQueue','ai-request-aborted','_wrapWithCommonAncestors','root','_stopInteraction'];_0x3851=function(){return _0x4d34b6;};return _0x3851();}import{IconAIQuickActions as _0x362165,IconRefresh as _0x1a5cb6,IconNextArrow as _0x1a6bc0,IconPreviousArrow as _0xc58103,IconShowChangesOff as _0x2c4432}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x1671e1}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x769762}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x335cac}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x2b0cca}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x3ee950}from'@ckeditor/ckeditor5-collaboration-core';import{getOperationsFromReply as _0x50152c}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x1e8921,ModelRange as _0x5275ab,ModelPosition as _0x25505,_DetachOperation as _0x1204ad,transformOperationSets as _0x296773}from'ckeditor5/src/engine.js';export class AIActions extends _0x237fee{static get[_0x2479e0(0x1a1)](){return[_0x4af7c2,_0x21b127,_0x96b669,_0x1671e1,_0x3ee950];}static get[_0x2479e0(0x1c2)](){const _0x29edd0=_0x2479e0;return _0x29edd0(0x20d);}static get[_0x2479e0(0x183)](){return!0x0;}static get[_0x2479e0(0x175)](){return!0x0;}[_0x2479e0(0x191)];[_0x2479e0(0x1ed)]=[];[_0x2479e0(0x1ec)]=0x0;[_0x2479e0(0x211)];[_0x2479e0(0x225)]=!0x1;[_0x2479e0(0x1c0)]=new _0x46fe62();[_0x2479e0(0x1ff)];[_0x2479e0(0x226)];[_0x2479e0(0x215)]=!0x1;[_0x2479e0(0x1c8)];[_0x2479e0(0x17b)]=!0x1;[_0x2479e0(0x222)]=!0x1;[_0x2479e0(0x231)];get[_0x2479e0(0x205)](){const _0x26eb15=_0x2479e0;return this[_0x26eb15(0x1ed)][this[_0x26eb15(0x1ed)][_0x26eb15(0x1ae)]-0x1];}constructor(_0x40e251){const _0x14f42f=_0x2479e0;super(_0x40e251),this[_0x14f42f(0x191)]=this[_0x14f42f(0x160)][_0x14f42f(0x1b8)][_0x14f42f(0x1f7)](_0x14f42f(0x1f4)),this[_0x14f42f(0x16c)](_0x14f42f(0x1eb),!0x1),this[_0x14f42f(0x231)]=new _0x769762(),this[_0x14f42f(0x204)]();}[_0x2479e0(0x164)](){const _0x2b87d9=_0x2479e0;this[_0x2b87d9(0x235)]();}async[_0x2479e0(0x1d0)](_0x340927,_0x27bab2,_0x352685){const _0x13541f=_0x2479e0;if(this[_0x13541f(0x160)][_0x13541f(0x1b8)][_0x13541f(0x1ea)](_0x13541f(0x16a))){if(this[_0x13541f(0x160)][_0x13541f(0x1b8)][_0x13541f(0x1f7)](_0x13541f(0x16a))[_0x13541f(0x1be)]()){const {modelFragment:_0x472def,anchorData:_0x5c3662}=this[_0x13541f(0x214)]();return this[_0x13541f(0x1e7)](_0x340927,_0x472def,_0x5c3662,_0x27bab2,_0x352685);}}const {modelFragment:_0x4a2087,anchorData:_0x14a65d}=this[_0x13541f(0x1b6)]();return this[_0x13541f(0x1e7)](_0x340927,_0x4a2087,_0x14a65d,_0x27bab2,_0x352685);}[_0x2479e0(0x1b6)](){const _0x57d34c=_0x2479e0,_0x4bb531=this[_0x57d34c(0x160)][_0x57d34c(0x1c6)][_0x57d34c(0x181)][_0x57d34c(0x202)];if(_0x4bb531[_0x57d34c(0x162)]){const _0x419a30=_0x5c3470(_0x4bb531[_0x57d34c(0x218)]())||this[_0x57d34c(0x160)][_0x57d34c(0x1c6)][_0x57d34c(0x1fe)][_0x57d34c(0x19b)](_0x4bb531);this[_0x57d34c(0x160)][_0x57d34c(0x1c6)][_0x57d34c(0x1a9)](_0x179c34=>{const _0x140626=_0x57d34c;_0x179c34[_0x140626(0x17c)](_0x419a30,'in');});}const _0x34e996=_0x4bb531[_0x57d34c(0x1ef)](),_0x75ffd5=this[_0x57d34c(0x233)](this[_0x57d34c(0x160)][_0x57d34c(0x1c6)][_0x57d34c(0x223)](_0x4bb531),_0x34e996[_0x57d34c(0x168)],_0x34e996[_0x57d34c(0x1a4)]),_0x22f5b4=_0x4bb531[_0x57d34c(0x1ef)]()[_0x57d34c(0x168)],_0x2aac6e=new Map();let _0x8e8866=_0x75ffd5;for(let _0x306617=0x0;_0x306617<_0x22f5b4[_0x57d34c(0x165)][_0x57d34c(0x1ae)];_0x306617++)_0x2aac6e[_0x57d34c(0x16c)](_0x8e8866,_0x22f5b4[_0x57d34c(0x165)][_0x306617]),_0x8e8866=_0x8e8866[_0x57d34c(0x1e4)](0x0);return{'modelFragment':_0x75ffd5,'anchorData':_0x2aac6e};}[_0x2479e0(0x214)](){const _0x1497be=_0x2479e0,_0x242623=this[_0x1497be(0x160)][_0x1497be(0x1c6)][_0x1497be(0x181)][_0x1497be(0x202)],_0x294240=this[_0x1497be(0x160)][_0x1497be(0x1b8)][_0x1497be(0x1f7)](_0x1497be(0x16a))[_0x1497be(0x15b)](),_0x5dc38b=_0x242623[_0x1497be(0x1ef)]()[_0x1497be(0x168)][_0x1497be(0x1da)][_0x1497be(0x1da)],_0x165851=this[_0x1497be(0x233)](_0x294240,this[_0x1497be(0x160)][_0x1497be(0x1c6)][_0x1497be(0x1cc)](_0x5dc38b),this[_0x1497be(0x160)][_0x1497be(0x1c6)][_0x1497be(0x1c5)](_0x5dc38b)),_0x3b84a6=_0x242623[_0x1497be(0x1ef)]()[_0x1497be(0x168)],_0x383ebc=new Map();let _0x5b3e3d=_0x165851;for(let _0x4e268d=0x0;_0x4e268d<_0x3b84a6[_0x1497be(0x165)][_0x1497be(0x1ae)];_0x4e268d++)if(_0x383ebc[_0x1497be(0x16c)](_0x5b3e3d,_0x3b84a6[_0x1497be(0x165)][_0x4e268d]),_0x4e268d<_0x3b84a6[_0x1497be(0x165)][_0x1497be(0x1ae)]-0x1)_0x5b3e3d=_0x5b3e3d[_0x1497be(0x1e4)](0x0);else{let _0x703c87=_0x5b3e3d[_0x1497be(0x1ba)];for(;_0x703c87;)_0x383ebc[_0x1497be(0x16c)](_0x703c87,_0x3b84a6[_0x1497be(0x165)][_0x4e268d]),_0x703c87=_0x703c87[_0x1497be(0x1ba)];}return{'modelFragment':_0x165851,'anchorData':_0x383ebc};}[_0x2479e0(0x1e7)](_0x172fc9,_0x2b9544,_0x10275a,_0x2ae408,_0x1fd311){const _0x2c858c=_0x2479e0,_0xf26977=this[_0x2c858c(0x160)][_0x2c858c(0x1b8)][_0x2c858c(0x1f7)](_0x96b669),_0x15e205=this[_0x2c858c(0x160)][_0x2c858c(0x1b8)][_0x2c858c(0x1f7)](_0x1671e1),_0x2e22c1=this[_0x2c858c(0x160)][_0x2c858c(0x1c6)][_0x2c858c(0x181)][_0x2c858c(0x202)],_0x49aeb0=_0xf26977[_0x2c858c(0x1cf)](_0x2b9544),_0x4010c3=this[_0x2c858c(0x160)][_0x2c858c(0x217)][_0x2c858c(0x1d5)][_0x2c858c(0x1d8)](_0x49aeb0),_0x1caa00=this[_0x2c858c(0x160)][_0x2c858c(0x1c6)][_0x2c858c(0x181)][_0x2c858c(0x1d9)],_0x31827b=[..._0x2e22c1[_0x2c858c(0x1c1)]()],_0x3c38c6=new _0x9c00ca(this[_0x2c858c(0x160)][_0x2c858c(0x221)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x2c858c(0x17f),'customView':this[_0x2c858c(0x1c0)]},'showUnchangedParts':!0x0});return _0x15e205[_0x2c858c(0x172)]({'index':0x3e8*Math[_0x2c858c(0x1f3)]()%0x3e8,'title':_0x2ae408,'icon':_0x1fd311||_0x362165,'mainView':_0x3c38c6,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x31827b}),this[_0x2c858c(0x1b1)](_0x3c38c6,_0x15e205),this[_0x2c858c(0x21f)](_0x15e205,_0x2c858c(0x1a7),()=>{const _0x345aff=_0x2c858c;this[_0x345aff(0x1ca)](_0x2b9544,_0x10275a,!0x1);}),this[_0x2c858c(0x21f)](_0x15e205,_0x2c858c(0x1d7),()=>{const _0x22fbaa=_0x2c858c;this[_0x22fbaa(0x1ca)](_0x2b9544,_0x10275a,!0x0);}),this[_0x2c858c(0x21f)](_0x15e205,_0x2c858c(0x1a0),()=>{const _0x50a0c0=_0x2c858c;if(this[_0x50a0c0(0x205)]&&this[_0x50a0c0(0x205)][_0x50a0c0(0x1d2)][_0x50a0c0(0x1ae)]>0x0){const _0x4e7a7e=this[_0x50a0c0(0x205)][_0x50a0c0(0x1d2)][this[_0x50a0c0(0x205)][_0x50a0c0(0x1d2)][_0x50a0c0(0x1ae)]-0x1],_0x57fba3=_0x4e7a7e[_0x50a0c0(0x1ab)][0x0];_0x57fba3&&_0x50a0c0(0x1e2)===_0x57fba3[_0x50a0c0(0x194)]&&_0x4e7a7e[_0x50a0c0(0x1a3)](0x0,_0x50a0c0(0x203));}this[_0x50a0c0(0x235)](),this[_0x50a0c0(0x173)](),this[_0x50a0c0(0x182)](_0x15e205);}),this[_0x2c858c(0x169)](_0x4010c3,_0x1caa00,_0x3c38c6,_0x15e205,_0x172fc9);}[_0x2479e0(0x233)](_0x3edc9e,_0x3164d2,_0x2701cf){const _0x57777e=_0x2479e0,_0x35c55e=this[_0x57777e(0x160)][_0x57777e(0x1c6)][_0x57777e(0x1f9)](_0x3164d2,_0x2701cf)[_0x57777e(0x224)](),_0x131847=_0x35c55e['is'](_0x57777e(0x198))?[]:_0x35c55e[_0x57777e(0x20e)]({'includeSelf':!0x0})[_0x57777e(0x1b2)](0x1);if(_0x131847[_0x57777e(0x1ae)]){const _0x305933=_0x131847[_0x57777e(0x22a)](_0x26e3d0=>_0x26e3d0[_0x57777e(0x1e1)](!0x1));for(let _0x209112=0x1;_0x209112<_0x305933[_0x57777e(0x1ae)];_0x209112++)_0x305933[_0x209112-0x1][_0x57777e(0x210)](_0x305933[_0x209112]);return _0x305933[_0x305933[_0x57777e(0x1ae)]-0x1][_0x57777e(0x210)](_0x3edc9e),new _0x1e8921(_0x305933[0x0]);}return _0x3edc9e;}async[_0x2479e0(0x169)](_0x373310,_0x32328d,_0x40f871,_0x510115,_0x26db83){const _0x58bf20=_0x2479e0,_0x41855e=this[_0x58bf20(0x160)];this[_0x58bf20(0x211)]={'action':_0x26db83,'content':_0x373310,'version':_0x32328d,'mainView':_0x40f871,'aiBalloon':_0x510115};const _0x34f731=new _0x188218({'connector':this[_0x58bf20(0x191)],'editor':_0x41855e,'content':_0x373310,'version':_0x32328d,..._0x26db83});this[_0x58bf20(0x1ed)][_0x58bf20(0x1ce)](_0x34f731),_0x40f871[_0x58bf20(0x22c)]();const _0x4de5ea=(_0x56bd3d,_0x40fdf4,_0x4f8863=!0x1,_0x22071b=_0x58bf20(0x20f))=>this[_0x58bf20(0x231)][_0x58bf20(0x1df)](async _0x59d8f3=>{const _0x5238ec=_0x58bf20;try{const _0x57ce30=_0x2b0cca({'editor':_0x41855e,'changeGroups':_0x56bd3d[_0x5238ec(0x1ab)],'documentContextContent':_0x56bd3d[_0x5238ec(0x171)],'showDiff':_0x4f8863,'trimUnchanged':!0x1});await _0x40fdf4[_0x5238ec(0x1b4)]({'parts':_0x57ce30,'renderingStrategy':_0x22071b,'abortSignal':_0x59d8f3});}catch(_0x48e776){if(this[_0x5238ec(0x21e)](_0x48e776))return;throw _0x48e776;}});this[_0x58bf20(0x205)]['on'](_0x58bf20(0x15d),(_0x50c757,_0x359f8c)=>{const _0xab1895=_0x58bf20;_0x40f871[_0xab1895(0x229)](),_0x4de5ea(_0x359f8c,_0x40f871)[_0xab1895(0x1ad)](_0x494574=>{const _0x44ce2e=_0xab1895;this[_0x44ce2e(0x21e)](_0x494574)||(console[_0x44ce2e(0x15f)](_0x44ce2e(0x21d),_0x494574),this[_0x44ce2e(0x1c7)](_0x34f731,_0x40f871));});}),this[_0x58bf20(0x205)]['on'](_0x58bf20(0x1dd),(_0x3fd68d,_0x300660)=>{const _0xf5b49f=_0x58bf20;_0x4de5ea(_0x300660,_0x40f871)[_0xf5b49f(0x1ad)](_0x1c8210=>{const _0x5b7813=_0xf5b49f;this[_0x5b7813(0x21e)](_0x1c8210)||(console[_0x5b7813(0x15f)](_0x5b7813(0x192),_0x1c8210),this[_0x5b7813(0x1c7)](_0x34f731,_0x40f871));});}),this[_0x58bf20(0x205)]['on'](_0x58bf20(0x20a),async()=>{const _0xdbd97c=_0x58bf20;try{await this[_0xdbd97c(0x1b7)](_0x40f871,_0x510115),this[_0xdbd97c(0x20b)]();}catch(_0x25a8c6){this[_0xdbd97c(0x21e)](_0x25a8c6)||(console[_0xdbd97c(0x15f)](_0xdbd97c(0x1e5),_0x25a8c6),this[_0xdbd97c(0x1c7)](_0x34f731,_0x40f871));}}),this[_0x58bf20(0x21f)](_0x40f871,_0x58bf20(0x177),(_0x5c4efd,{showDiff:_0x2772a4})=>{const _0x2899ed=_0x58bf20;this[_0x2899ed(0x225)]=_0x2772a4;const _0x38da21=this[_0x2899ed(0x205)][_0x2899ed(0x1d2)][this[_0x2899ed(0x205)][_0x2899ed(0x1d2)][_0x2899ed(0x1ae)]-0x1];_0x38da21&&_0x4de5ea(_0x38da21,_0x40f871,_0x2772a4,_0x2899ed(0x1f1))[_0x2899ed(0x1ad)](_0x91968d=>{const _0x6360eb=_0x2899ed;this[_0x6360eb(0x21e)](_0x91968d)||(console[_0x6360eb(0x15f)](_0x6360eb(0x16b),_0x91968d),this[_0x6360eb(0x1c7)](_0x34f731,_0x40f871));});}),this[_0x58bf20(0x205)]['on'](_0x58bf20(0x1b5),(_0xb6fc04,{reply:_0x345860})=>{const _0x365ed7=_0x58bf20,_0x11469a={'positiveCount':_0x345860[_0x365ed7(0x1ab)][_0x365ed7(0x18f)](_0x493eb4=>_0x365ed7(0x1fd)===_0x493eb4[_0x365ed7(0x194)])[_0x365ed7(0x1ae)],'totalCount':_0x345860[_0x365ed7(0x1ab)][_0x365ed7(0x1ae)]},_0x130d79=this[_0x365ed7(0x205)][_0x365ed7(0x170)],_0x490204=this[_0x365ed7(0x205)][_0x365ed7(0x180)];_0x490204?this[_0x365ed7(0x191)][_0x365ed7(0x1b0)](_0x490204,_0x130d79,_0x11469a):this[_0x365ed7(0x191)][_0x365ed7(0x19f)](_0x130d79,_0x11469a);}),this[_0x58bf20(0x1b1)](_0x40f871,_0x510115);try{const _0x2403c1=await this[_0x58bf20(0x205)][_0x58bf20(0x168)]();return this[_0x58bf20(0x20b)](),_0x2403c1;}catch(_0x285f46){if(this[_0x58bf20(0x21e)](_0x285f46))return;_0x40f871[_0x58bf20(0x229)](),this[_0x58bf20(0x1c7)](_0x34f731,_0x40f871);}}[_0x2479e0(0x1ca)](_0x4b3b8d,_0x58b92e,_0x55a6a4){const _0xf0d9f0=_0x2479e0,_0x7830e=this[_0xf0d9f0(0x160)],_0x21493b=this[_0xf0d9f0(0x160)][_0xf0d9f0(0x1b8)][_0xf0d9f0(0x1f7)](_0x3ee950),_0x1c855d=this[_0xf0d9f0(0x205)],_0x3c6d1c=this[_0xf0d9f0(0x205)][_0xf0d9f0(0x1d2)][this[_0xf0d9f0(0x205)][_0xf0d9f0(0x1d2)][_0xf0d9f0(0x1ae)]-0x1],_0x2564f9=_0x3c6d1c[_0xf0d9f0(0x1ab)];_0x3c6d1c[_0xf0d9f0(0x1a3)](0x0,_0xf0d9f0(0x1fd));let _0x6ab507=_0x50152c({'editor':_0x7830e,'reply':_0x3c6d1c,'interaction':_0x1c855d,'groups':_0x2564f9,'transform':!0x1,'documentCompare':_0x21493b,'documentCompareOptions':{'anchor':_0x7830e[_0xf0d9f0(0x1c6)][_0xf0d9f0(0x17e)](_0x4b3b8d,0x0),'markDeletions':_0x55a6a4}});_0x6ab507=this[_0xf0d9f0(0x195)](_0x6ab507,_0x58b92e);for(const _0xe58c7e of _0x6ab507)this[_0xf0d9f0(0x230)](_0x58b92e,_0xe58c7e,_0x7830e[_0xf0d9f0(0x1c6)][_0xf0d9f0(0x181)][_0xf0d9f0(0x185)]());const _0xec9634=_0x1c855d[_0xf0d9f0(0x193)]()[_0xf0d9f0(0x1d9)],_0x59d91b=_0x7830e[_0xf0d9f0(0x1c6)][_0xf0d9f0(0x181)][_0xf0d9f0(0x188)][_0xf0d9f0(0x1b9)](_0xec9634),_0x26ff10={'document':_0x7830e[_0xf0d9f0(0x1c6)][_0xf0d9f0(0x181)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x227c10=_0x296773(_0x6ab507,_0x59d91b,_0x26ff10)[_0xf0d9f0(0x1c4)];_0x7830e[_0xf0d9f0(0x1c6)][_0xf0d9f0(0x1a9)](_0x3cf540=>{const _0x1d5a1c=_0xf0d9f0;if(_0x3cf540[_0x1d5a1c(0x17c)](_0x7830e[_0x1d5a1c(0x1c6)][_0x1d5a1c(0x181)][_0x1d5a1c(0x202)][_0x1d5a1c(0x17a)]),_0x55a6a4)_0x7830e[_0x1d5a1c(0x1b8)][_0x1d5a1c(0x1f7)](_0x1d5a1c(0x227))[_0x1d5a1c(0x18a)](_0x227c10);else{for(const _0x4f345f of _0x227c10)_0x4f345f[_0x1d5a1c(0x1f2)]=_0x7830e[_0x1d5a1c(0x1c6)][_0x1d5a1c(0x181)][_0x1d5a1c(0x1d9)],_0x3cf540[_0x1d5a1c(0x187)][_0x1d5a1c(0x219)](_0x4f345f),_0x7830e[_0x1d5a1c(0x1c6)][_0x1d5a1c(0x1fc)](_0x4f345f);}}),this[_0xf0d9f0(0x160)][_0xf0d9f0(0x1b8)][_0xf0d9f0(0x1f7)](_0xf0d9f0(0x179))[_0xf0d9f0(0x1b3)]();}[_0x2479e0(0x195)](_0x15e224,_0x20e8b9){const _0x252b5c=_0x2479e0;return _0x15e224[_0x252b5c(0x18f)](_0x2f5c1f=>{const _0x7ef5cc=_0x252b5c;if(_0x7ef5cc(0x21c)==_0x2f5c1f[_0x7ef5cc(0x1f0)]){const _0x4e52eb=_0x2f5c1f[_0x7ef5cc(0x1e9)][_0x7ef5cc(0x189)];return!_0x20e8b9[_0x7ef5cc(0x1ea)](_0x4e52eb);}if(_0x2f5c1f[_0x7ef5cc(0x1f0)][_0x7ef5cc(0x22b)](_0x7ef5cc(0x209))>-0x1){const _0xb05ecf=_0x2f5c1f[_0x7ef5cc(0x21b)][_0x7ef5cc(0x168)][_0x7ef5cc(0x189)];return!_0x20e8b9[_0x7ef5cc(0x1ea)](_0xb05ecf);}return!0x0;});}[_0x2479e0(0x230)](_0x48981f,_0x262b1c,_0x24c238){const _0x76d996=_0x2479e0,_0x34a225=_0x262b1c[_0x76d996(0x1cb)]();for(const _0x4c02ac in _0x262b1c){const _0xd8c5bd=_0x262b1c[_0x4c02ac];_0xd8c5bd instanceof _0x5275ab?_0x262b1c[_0x4c02ac]=new _0x5275ab(_0x2af09b(_0xd8c5bd[_0x76d996(0x168)]),_0x2af09b(_0xd8c5bd[_0x76d996(0x1a4)])):_0xd8c5bd instanceof _0x25505&&(_0x262b1c[_0x4c02ac]=_0x2af09b(_0xd8c5bd));}if([_0x76d996(0x19e),_0x76d996(0x1ee),_0x76d996(0x1de),_0x76d996(0x186),_0x76d996(0x19d),_0x76d996(0x216)][_0x76d996(0x207)](_0x34a225[_0x76d996(0x1f0)])){if(_0x34a225[_0x76d996(0x16e)]=!0x1,_0x34a225[_0x76d996(0x1f2)]=null,_0x76d996(0x1de)==_0x34a225[_0x76d996(0x1f0)]){const _0x2d9024=_0x34a225[_0x76d996(0x161)],_0x5b14d9=_0x34a225[_0x76d996(0x19a)];new _0x1204ad(_0x2d9024,_0x5b14d9)[_0x76d996(0x201)]();}else _0x34a225[_0x76d996(0x201)]();}function _0x2af09b(_0xacdf6a){const _0x5559b3=_0x76d996;if(_0x5559b3(0x1e6)==_0xacdf6a[_0x5559b3(0x234)][_0x5559b3(0x1a6)])return _0xacdf6a;const _0x558075=[];let _0x568f7b=_0xacdf6a[_0x5559b3(0x234)];for(let _0x51446f=0x0;_0x51446f<_0xacdf6a[_0x5559b3(0x165)][_0x5559b3(0x1ae)];_0x51446f++){const _0x5f59d5=_0x48981f[_0x5559b3(0x1f7)](_0x568f7b)||0x0;_0x558075[_0x51446f]=_0xacdf6a[_0x5559b3(0x165)][_0x51446f]+_0x5f59d5,_0x568f7b=_0x568f7b[_0x5559b3(0x15c)](_0xacdf6a[_0x5559b3(0x165)][_0x51446f]);}return new _0x25505(_0x24c238,_0x558075,_0xacdf6a[_0x5559b3(0x1a5)]);}}[_0x2479e0(0x190)](){const _0x4f37b5=_0x2479e0;if(!this[_0x4f37b5(0x211)])return;this[_0x4f37b5(0x1ed)][_0x4f37b5(0x1ae)]>0x0&&this[_0x4f37b5(0x235)](),this[_0x4f37b5(0x1ec)]=0x0,this[_0x4f37b5(0x225)]=!0x1;const {action:_0x5b5f9a,content:_0x51482c,version:_0x48e892,mainView:_0x5c003d,aiBalloon:_0x40a631}=this[_0x4f37b5(0x211)];_0x5c003d[_0x4f37b5(0x22e)]=!0x1,_0x5c003d[_0x4f37b5(0x22c)](),this[_0x4f37b5(0x1d1)](_0x5c003d,_0x40a631);const _0x132fcc=_0x5c003d;_0x132fcc[_0x4f37b5(0x174)]&&_0x132fcc[_0x4f37b5(0x174)][_0x4f37b5(0x20c)]&&_0x132fcc[_0x4f37b5(0x174)][_0x4f37b5(0x20c)][_0x4f37b5(0x16c)]({'isOn':!0x1,'icon':_0x2c4432}),this[_0x4f37b5(0x1af)](_0x5c003d),_0x5c003d[_0x4f37b5(0x18e)](),this[_0x4f37b5(0x20b)](),this[_0x4f37b5(0x169)](_0x51482c,_0x48e892,_0x5c003d,_0x40a631,_0x5b5f9a)[_0x4f37b5(0x1ad)](_0x42638c=>{const _0x2641b8=_0x4f37b5;this[_0x2641b8(0x21e)](_0x42638c)||console[_0x2641b8(0x15f)](_0x2641b8(0x1bc),_0x42638c);});}[_0x2479e0(0x1af)](_0xc14997){const _0x1ac4d1=_0x2479e0,_0x1a828a=_0xc14997[_0x1ac4d1(0x184)][_0x1ac4d1(0x1d6)];for(;_0x1a828a[_0x1ac4d1(0x1ae)]>0x0;)_0x1a828a[_0x1ac4d1(0x1de)](_0x1a828a[_0x1ac4d1(0x1bf)]);_0xc14997[_0x1ac4d1(0x184)][_0x1ac4d1(0x15e)]=!0x1;}[_0x2479e0(0x21e)](_0x4cbdec){const _0x558d08=_0x2479e0;return!!_0x4cbdec[_0x558d08(0x237)]&&_0x4cbdec[_0x558d08(0x237)][_0x558d08(0x236)](_0x558d08(0x232));}[_0x2479e0(0x173)](){const _0x1cbc18=_0x2479e0;this[_0x1cbc18(0x1ed)]=[],this[_0x1cbc18(0x211)]=void 0x0,this[_0x1cbc18(0x1ec)]=0x0,this[_0x1cbc18(0x20b)]();}[_0x2479e0(0x235)](){const _0x46c345=_0x2479e0;this[_0x46c345(0x205)]&&this[_0x46c345(0x205)][_0x46c345(0x19c)](),this[_0x46c345(0x231)][_0x46c345(0x220)](),this[_0x46c345(0x1eb)]=!0x1;}[_0x2479e0(0x204)](){const _0xf871ab=_0x2479e0,_0xc9b852=new _0x4add50(this[_0xf871ab(0x160)][_0xf871ab(0x221)]),_0x4741fd=new _0x4add50(this[_0xf871ab(0x160)][_0xf871ab(0x221)]),_0x3a8473=new _0x1ec23b(this[_0xf871ab(0x160)][_0xf871ab(0x221)]),_0x44b0a4=new _0x4add50(this[_0xf871ab(0x160)][_0xf871ab(0x221)]);_0xc9b852[_0xf871ab(0x16c)]({'icon':_0x1a5cb6,'label':_0x335cac(this[_0xf871ab(0x160)][_0xf871ab(0x221)],_0xf871ab(0x17d)),'tooltip':!0x0,'class':_0xf871ab(0x1a8)}),_0x4741fd[_0xf871ab(0x16c)]({'icon':_0xc58103,'tooltip':_0x335cac(this[_0xf871ab(0x160)][_0xf871ab(0x221)],_0xf871ab(0x199)),'class':_0xf871ab(0x212)}),_0x3a8473[_0xf871ab(0x1e3)]({'tag':_0xf871ab(0x21a),'attributes':{'class':[_0xf871ab(0x167)]},'children':[_0xf871ab(0x163)]}),_0x44b0a4[_0xf871ab(0x16c)]({'icon':_0x1a6bc0,'tooltip':_0x335cac(this[_0xf871ab(0x160)][_0xf871ab(0x221)],_0xf871ab(0x208)),'class':_0xf871ab(0x1dc)}),_0xc9b852[_0xf871ab(0x1f6)](_0xf871ab(0x22d))['to'](this,_0xf871ab(0x1eb),_0x4e6aac=>!_0x4e6aac),_0xc9b852['on'](_0xf871ab(0x1c9),()=>{const _0x66f958=_0xf871ab;this[_0x66f958(0x190)]();}),_0x4741fd[_0xf871ab(0x1f6)](_0xf871ab(0x22d))['to'](this,_0xf871ab(0x1eb),_0x8448da=>!_0x8448da),_0x4741fd['on'](_0xf871ab(0x1c9),()=>{const _0x44558d=_0xf871ab;this[_0x44558d(0x1f5)]();}),_0x44b0a4[_0xf871ab(0x1f6)](_0xf871ab(0x22d))['to'](this,_0xf871ab(0x1eb),_0x217ab7=>!_0x217ab7),_0x44b0a4['on'](_0xf871ab(0x1c9),()=>{const _0x482b8a=_0xf871ab;this[_0x482b8a(0x1fa)]();}),this[_0xf871ab(0x1ff)]=_0x4741fd,this[_0xf871ab(0x226)]=_0x3a8473,this[_0xf871ab(0x1c8)]=_0x44b0a4,this[_0xf871ab(0x1c0)][_0xf871ab(0x16d)](_0xc9b852);}[_0x2479e0(0x1f5)](){const _0x263ea8=_0x2479e0,_0x31a722=this[_0x263ea8(0x1ed)][_0x263ea8(0x1ae)];this[_0x263ea8(0x1ec)]<_0x31a722-0x1&&this[_0x263ea8(0x1e8)](this[_0x263ea8(0x1ec)]+0x1);}[_0x2479e0(0x1fa)](){const _0x225ecc=_0x2479e0;this[_0x225ecc(0x1ec)]>0x0&&this[_0x225ecc(0x1e8)](this[_0x225ecc(0x1ec)]-0x1);}async[_0x2479e0(0x1e8)](_0x4d317e){const _0x52eb4c=_0x2479e0;if(!this[_0x52eb4c(0x211)])return;this[_0x52eb4c(0x1ec)]=_0x4d317e;const {mainView:_0x5d3a24}=this[_0x52eb4c(0x211)],_0x100717=this[_0x52eb4c(0x1ed)][this[_0x52eb4c(0x1ed)][_0x52eb4c(0x1ae)]-0x1-this[_0x52eb4c(0x1ec)]];if(!_0x100717)return;if(_0x100717[_0x52eb4c(0x228)])return this[_0x52eb4c(0x1c7)](_0x100717,_0x5d3a24),void this[_0x52eb4c(0x20b)]();if(!_0x100717[_0x52eb4c(0x1d2)][_0x52eb4c(0x1ae)])return;_0x5d3a24[_0x52eb4c(0x22c)](),this[_0x52eb4c(0x211)]&&this[_0x52eb4c(0x1d1)](_0x5d3a24,this[_0x52eb4c(0x211)][_0x52eb4c(0x200)]);const _0x5d1d8a=_0x100717[_0x52eb4c(0x1d2)][_0x100717[_0x52eb4c(0x1d2)][_0x52eb4c(0x1ae)]-0x1];if(_0x5d1d8a){const _0x468f09=this[_0x52eb4c(0x160)];this[_0x52eb4c(0x1af)](_0x5d3a24);try{const _0x201af3=_0x2b0cca({'editor':_0x468f09,'changeGroups':_0x5d1d8a[_0x52eb4c(0x1ab)],'documentContextContent':_0x5d1d8a[_0x52eb4c(0x171)],'showDiff':this[_0x52eb4c(0x225)],'trimUnchanged':!0x1});this[_0x52eb4c(0x1af)](_0x5d3a24),await new Promise(_0x5d4e8e=>setTimeout(_0x5d4e8e,0x32)),await _0x5d3a24[_0x52eb4c(0x1b4)]({'parts':_0x201af3,'renderingStrategy':_0x52eb4c(0x1f1),'abortSignal':new AbortController()[_0x52eb4c(0x1fb)]});}catch(_0x146b5f){this[_0x52eb4c(0x21e)](_0x146b5f)||console[_0x52eb4c(0x15f)](_0x52eb4c(0x1aa),_0x146b5f);}}this[_0x52eb4c(0x20b)]();}[_0x2479e0(0x20b)](){const _0x16ea9c=_0x2479e0;if(!this[_0x16ea9c(0x1ff)]||!this[_0x16ea9c(0x226)]||!this[_0x16ea9c(0x1c8)])return;const _0x25c409=this[_0x16ea9c(0x1ed)][_0x16ea9c(0x1ae)],_0x3e1f0b=_0x25c409>0x1,_0x5d51b5=this[_0x16ea9c(0x211)]?.[_0x16ea9c(0x197)];if(_0x3e1f0b){this[_0x16ea9c(0x17b)]||this[_0x16ea9c(0x215)]||this[_0x16ea9c(0x222)]||(this[_0x16ea9c(0x1c0)][_0x16ea9c(0x16d)](this[_0x16ea9c(0x1ff)]),_0x5d51b5?.[_0x16ea9c(0x1ac)](this[_0x16ea9c(0x1ff)]),this[_0x16ea9c(0x17b)]=!0x0,this[_0x16ea9c(0x1c0)][_0x16ea9c(0x16d)](this[_0x16ea9c(0x226)]),_0x5d51b5?.[_0x16ea9c(0x1ac)](this[_0x16ea9c(0x226)]),this[_0x16ea9c(0x215)]=!0x0,this[_0x16ea9c(0x1c0)][_0x16ea9c(0x16d)](this[_0x16ea9c(0x1c8)]),_0x5d51b5?.[_0x16ea9c(0x1ac)](this[_0x16ea9c(0x1c8)]),this[_0x16ea9c(0x222)]=!0x0);const _0x346194=_0x25c409-this[_0x16ea9c(0x1ec)];this[_0x16ea9c(0x226)][_0x16ea9c(0x1f8)]&&(this[_0x16ea9c(0x226)][_0x16ea9c(0x1f8)][_0x16ea9c(0x1db)]=_0x346194+'/'+_0x25c409),this[_0x16ea9c(0x1ff)][_0x16ea9c(0x22d)]=this[_0x16ea9c(0x1ec)]<_0x25c409-0x1,this[_0x16ea9c(0x1c8)][_0x16ea9c(0x22d)]=this[_0x16ea9c(0x1ec)]>0x0;}else(this[_0x16ea9c(0x17b)]||this[_0x16ea9c(0x215)]||this[_0x16ea9c(0x222)])&&(this[_0x16ea9c(0x1c0)][_0x16ea9c(0x1de)](this[_0x16ea9c(0x1ff)]),_0x5d51b5?.[_0x16ea9c(0x166)](this[_0x16ea9c(0x1ff)]),this[_0x16ea9c(0x17b)]=!0x1,this[_0x16ea9c(0x1c0)][_0x16ea9c(0x1de)](this[_0x16ea9c(0x226)]),_0x5d51b5?.[_0x16ea9c(0x166)](this[_0x16ea9c(0x226)]),this[_0x16ea9c(0x215)]=!0x1,this[_0x16ea9c(0x1c0)][_0x16ea9c(0x1de)](this[_0x16ea9c(0x1c8)]),_0x5d51b5?.[_0x16ea9c(0x166)](this[_0x16ea9c(0x1c8)]),this[_0x16ea9c(0x222)]=!0x1);}[_0x2479e0(0x1b1)](_0x1f6438,_0x44e83d){const _0x24b2e6=_0x2479e0;_0x1f6438[_0x24b2e6(0x15a)](),_0x44e83d[_0x24b2e6(0x1bb)][_0x24b2e6(0x15a)](),this[_0x24b2e6(0x1eb)]=!0x0;}async[_0x2479e0(0x1c7)](_0xf0b78e,_0x31bbbc){const _0x31bdb4=_0x2479e0,_0x55e810=_0x335cac(this[_0x31bdb4(0x160)][_0x31bdb4(0x221)],_0x31bdb4(0x1c3));_0x31bbbc[_0x31bdb4(0x206)](_0x55e810),_0xf0b78e[_0x31bdb4(0x228)]=!0x0,await this[_0x31bdb4(0x231)][_0x31bdb4(0x178)],_0x31bbbc[_0x31bdb4(0x176)](),this[_0x31bdb4(0x211)]?.[_0x31bdb4(0x200)][_0x31bdb4(0x1bb)][_0x31bdb4(0x18d)]&&(this[_0x31bdb4(0x211)][_0x31bdb4(0x200)][_0x31bdb4(0x1bb)][_0x31bdb4(0x18d)][_0x31bdb4(0x16f)]=!0x0);}[_0x2479e0(0x1d1)](_0x80028a,_0xc1bad3){const _0x27e281=_0x2479e0;_0x80028a[_0x27e281(0x18c)](),_0xc1bad3[_0x27e281(0x1bb)][_0x27e281(0x18d)]&&(_0xc1bad3[_0x27e281(0x1bb)][_0x27e281(0x18d)][_0x27e281(0x16f)]=!0x1);}async[_0x2479e0(0x1b7)](_0x261a3a,_0x57098b){const _0x25c80d=_0x2479e0;await this[_0x25c80d(0x231)][_0x25c80d(0x178)],this[_0x25c80d(0x1eb)]=!0x1,_0x261a3a[_0x25c80d(0x1d3)](),_0x57098b[_0x25c80d(0x1bb)][_0x25c80d(0x1d3)]();}}
|
|
23
|
+
function _0x3772(_0x1766a5,_0x2a3063){const _0x180f6c=_0x180f();return _0x3772=function(_0x377235,_0x478b41){_0x377235=_0x377235-0xdd;let _0x40afed=_0x180f6c[_0x377235];return _0x40afed;},_0x3772(_0x1766a5,_0x2a3063);}const _0x14e726=_0x3772;(function(_0x44a0c2,_0x56fa59){const _0x4d2d35=_0x3772,_0x2bf6c1=_0x44a0c2();while(!![]){try{const _0x19f751=parseInt(_0x4d2d35(0x173))/0x1*(-parseInt(_0x4d2d35(0x124))/0x2)+parseInt(_0x4d2d35(0x140))/0x3+-parseInt(_0x4d2d35(0x16a))/0x4+-parseInt(_0x4d2d35(0x19a))/0x5*(parseInt(_0x4d2d35(0x1a0))/0x6)+parseInt(_0x4d2d35(0x13d))/0x7*(-parseInt(_0x4d2d35(0xe3))/0x8)+parseInt(_0x4d2d35(0x105))/0x9+-parseInt(_0x4d2d35(0x1a9))/0xa*(-parseInt(_0x4d2d35(0x11d))/0xb);if(_0x19f751===_0x56fa59)break;else _0x2bf6c1['push'](_0x2bf6c1['shift']());}catch(_0x4f4019){_0x2bf6c1['push'](_0x2bf6c1['shift']());}}}(_0x180f,0x98b71));import{Plugin as _0x17ef6c}from'ckeditor5/src/core.js';import{AIConnector as _0x4829df}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0xcd0656}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x1f548f,ButtonView as _0x5e2901,ViewCollection as _0x4b75e7,View as _0x2f90e6}from'ckeditor5/src/ui.js';import{AIEditing as _0x2d428c}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x29426a}from'./model/aiactionsinteraction.js';import{CKEditorError as _0xc43016,first as _0x3e80dd}from'ckeditor5/src/utils.js';function _0x180f(){const _0x2371e4=['TrackChangesEditing','isCollapsed','config','_disableCustomViews','getSelectedContent','hideError','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','_setErrorState','_clearSuggestionContent','ai-no-track-changes','actionName','change','upsertCustomAIActionRating','selection','model','hasPendingParts','rootName','2816232cCLJrF','getSelectedBlocks','_refreshInteraction','$graveyard','queueEmptyPromise','howMany','reinsert','message','AI_ACTIONS_NEXT_INTERACTION','170867tuPOIP','_promiseQueue','ck-ai-custom-action-button','_stopInteraction','_interactions','_isAbortError','enqueue','focus','indexOf','startsWith','isDocumentOperation','clearLoading','insertSuggestion','type','getAncestors','toolbar','replyContentUpdated','_filterOperationsOutsideRange','documentFragment','locale','dialogClosed','abort','move','parent','batch','_updateNavigationUI','push','add','_navigateToNext','miniToolbarView','setErrorState','element','replies','getChild','addNavigationItem','nodeAfter','listenTo','path','stopInteraction','30hJnVYr','_aiConnector','Error\x20refreshing\x20interaction:','showLoader','executeAction','balloonView','15270QNEtLT','hasError','modelToViewWithIds','_anchorOperation','getSelectedTableCells','updateContent','Error\x20updating\x20content\x20during\x20navigation:','AIConnector','stop','30vrmjgZ','processor','setSelection','data','has','getDocumentContext','AI_ACTIONS_PREVIOUS_INTERACTION','AIBalloon','first','span','root','interactionFinished','random','_currentInteractionIndex','editor','_clearInteractionHistory','_clone','includes','catch','accepted','_clearLoadingState','_execute','replyChangeGroupStateUpdated','ai-request-aborted','open','getCommonAncestor','ck-ai-navigation-button\x20ck-ai-previous-button','set','selectionRemoved','_interaction','_displayInteractionAtIndex','_isNavigationPreviousButtonInView','changeGroups','6980632TzazxJ','merge','version','pluginName','_navigationPreviousButton','AIActions','schema','showError','_setLoadingState','error','toData','Error\x20updating\x20content\x20in\x20replyCreated:','isPremiumPlugin','_createInteraction','getFirstRange','1/1','areChangesVisible','mainView','bodyView','getSelectionAsFragment','_isNavigationCounterInView','forEach','_navigationNextButton','setLoading','_balloonShowDiff','length','baseVersion','textContent','bind','history','getRanges','createRange','_setupCustomViews','_navigationCounter','2149542EUMEiQ','streaming','range','createPositionAfter','clearErrorState','documentContextContent','setTemplate','ck-ai-navigation-button\x20ck-ai-next-button','createPositionBefore','isEnabled','isLoading','_children','close','_interactionParams','rename','actionCallId','rejected','split','showChangesButton','toggleSuggestionDisplayMode','stopListening','start','removeNavigationItem','_clearErrorState','7928943iBtsXZ','getLimitElement','replyCreated','insert','end','TableSelection','_wrapWithCommonAncestors','6WjWYYy','requires','Error\x20updating\x20content\x20in\x20replyContentUpdated:','hideLoader','sourcePosition','get','pending','createPositionAt','_customViews','clone','getOperations','_isNavigationNextButtonInView','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','upsertAIActionRating','_executeAction','_getExecuteDataRegular','icon','signal','_appendChild','_applyOperationsAsSuggestions','execute','setChangeGroupState','nextSibling','static','isBusy','7yEBRau','remove','slice','986256awwsnP','plugins','getChildAtOffset','AI_ACTIONS_TRY_AGAIN','operationsA','isOfficialPlugin','ai.availableReplyActions','applySuggestion','Attribute','applyOperation','_getExecuteDataInTable','document','addOperation','position','stickiness','_applyChanges','map','_navigateToPrevious','AI_ACTIONS_GENERIC_ERROR','ck-ai-interaction-counter','TrackChanges','state','filter','aiBalloon','getRoot'];_0x180f=function(){return _0x2371e4;};return _0x180f();}import{IconAIQuickActions as _0x5e7d8c,IconRefresh as _0x3d3c11,IconNextArrow as _0x57f53a,IconPreviousArrow as _0x478ee6,IconShowChangesOff as _0x24c223}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x19d5a9}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x2502b8}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x375185}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x575629}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0xc30ece}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x295bc9,getOperationsFromReply as _0x386c98}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x5583db,ModelRange as _0x2fcff2,ModelPosition as _0x41e1c1,_DetachOperation as _0x299b9d,transformOperationSets as _0x5ab5eb}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x24196}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x17ef6c{static get[_0x14e726(0x125)](){return[_0x4829df,_0x1f548f,_0x2d428c,_0x19d5a9,_0xc30ece];}static get[_0x14e726(0xe6)](){const _0x1d963a=_0x14e726;return _0x1d963a(0xe8);}static get[_0x14e726(0x145)](){return!0x0;}static get[_0x14e726(0xef)](){return!0x0;}[_0x14e726(0x19b)];[_0x14e726(0x177)]=[];[_0x14e726(0x1b6)]=0x0;[_0x14e726(0x112)];[_0x14e726(0xfb)]=!0x1;[_0x14e726(0x12c)]=new _0x4b75e7();[_0x14e726(0xe7)];[_0x14e726(0x104)];[_0x14e726(0xf7)]=!0x1;[_0x14e726(0xf9)];[_0x14e726(0xe1)]=!0x1;[_0x14e726(0x12f)]=!0x1;[_0x14e726(0x174)];get[_0x14e726(0xdf)](){const _0x5ea3c8=_0x14e726;return this[_0x5ea3c8(0x177)][this[_0x5ea3c8(0x177)][_0x5ea3c8(0xfc)]-0x1];}constructor(_0x3b8f79){const _0x6cdebd=_0x14e726;super(_0x3b8f79),this[_0x6cdebd(0x19b)]=this[_0x6cdebd(0x1b7)][_0x6cdebd(0x141)][_0x6cdebd(0x129)](_0x6cdebd(0x1a7)),this[_0x6cdebd(0xdd)](_0x6cdebd(0x13c),!0x1),this[_0x6cdebd(0x174)]=new _0x2502b8(),this[_0x6cdebd(0x103)]();}[_0x14e726(0x199)](){const _0x59fa25=_0x14e726;this[_0x59fa25(0x176)]();}async[_0x14e726(0x19e)](_0x30f7ba,_0xab6cee,_0x3577c2){const _0x12d730=_0x14e726;if(this[_0x12d730(0x1b7)][_0x12d730(0x141)][_0x12d730(0x1ad)](_0x12d730(0x122))){if(this[_0x12d730(0x1b7)][_0x12d730(0x141)][_0x12d730(0x129)](_0x12d730(0x122))[_0x12d730(0x1a4)]()){const {modelFragment:_0x20b7cf,anchorData:_0xb8b22}=this[_0x12d730(0x14a)]();return this[_0x12d730(0x132)](_0x30f7ba,_0x20b7cf,_0xb8b22,_0xab6cee,_0x3577c2);}}const {modelFragment:_0x25ced1,anchorData:_0x41229b}=this[_0x12d730(0x133)]();return this[_0x12d730(0x132)](_0x30f7ba,_0x25ced1,_0x41229b,_0xab6cee,_0x3577c2);}[_0x14e726(0x133)](){const _0x495e7f=_0x14e726,_0x2d9132=this[_0x495e7f(0x1b7)][_0x495e7f(0x167)][_0x495e7f(0x14b)][_0x495e7f(0x166)];if(_0x2d9132[_0x495e7f(0x15a)]){const _0x131bcc=_0x3e80dd(_0x2d9132[_0x495e7f(0x16b)]())||this[_0x495e7f(0x1b7)][_0x495e7f(0x167)][_0x495e7f(0xe9)][_0x495e7f(0x11e)](_0x2d9132);this[_0x495e7f(0x1b7)][_0x495e7f(0x167)][_0x495e7f(0x164)](_0x1c98de=>{const _0x129d26=_0x495e7f;_0x1c98de[_0x129d26(0x1ab)](_0x131bcc,'in');});}const _0x1df20b=_0x2d9132[_0x495e7f(0xf1)](),_0x2bb820=this[_0x495e7f(0x123)](this[_0x495e7f(0x1b7)][_0x495e7f(0x167)][_0x495e7f(0x15d)](_0x2d9132),_0x1df20b[_0x495e7f(0x11a)],_0x1df20b[_0x495e7f(0x121)]),_0x3ee74c=_0x2d9132[_0x495e7f(0xf1)]()[_0x495e7f(0x11a)],_0x4551cc=new Map();let _0x55cd7d=_0x2bb820;for(let _0x29d230=0x0;_0x29d230<_0x3ee74c[_0x495e7f(0x198)][_0x495e7f(0xfc)];_0x29d230++)_0x4551cc[_0x495e7f(0xdd)](_0x55cd7d,_0x3ee74c[_0x495e7f(0x198)][_0x29d230]),_0x55cd7d=_0x55cd7d[_0x495e7f(0x194)](0x0);return{'modelFragment':_0x2bb820,'anchorData':_0x4551cc};}[_0x14e726(0x14a)](){const _0x5181ce=_0x14e726,_0x2da185=this[_0x5181ce(0x1b7)][_0x5181ce(0x167)][_0x5181ce(0x14b)][_0x5181ce(0x166)],_0x5b48c9=this[_0x5181ce(0x1b7)][_0x5181ce(0x141)][_0x5181ce(0x129)](_0x5181ce(0x122))[_0x5181ce(0xf6)](),_0x253c2b=_0x2da185[_0x5181ce(0xf1)]()[_0x5181ce(0x11a)][_0x5181ce(0x18a)][_0x5181ce(0x18a)],_0x4d80c7=this[_0x5181ce(0x123)](_0x5b48c9,this[_0x5181ce(0x1b7)][_0x5181ce(0x167)][_0x5181ce(0x10d)](_0x253c2b),this[_0x5181ce(0x1b7)][_0x5181ce(0x167)][_0x5181ce(0x108)](_0x253c2b)),_0x9362e9=_0x2da185[_0x5181ce(0xf1)]()[_0x5181ce(0x11a)],_0x383f87=new Map();let _0x1fef33=_0x4d80c7;for(let _0x1269fc=0x0;_0x1269fc<_0x9362e9[_0x5181ce(0x198)][_0x5181ce(0xfc)];_0x1269fc++)if(_0x383f87[_0x5181ce(0xdd)](_0x1fef33,_0x9362e9[_0x5181ce(0x198)][_0x1269fc]),_0x1269fc<_0x9362e9[_0x5181ce(0x198)][_0x5181ce(0xfc)]-0x1)_0x1fef33=_0x1fef33[_0x5181ce(0x194)](0x0);else{let _0x1d1fe8=_0x1fef33[_0x5181ce(0x13a)];for(;_0x1d1fe8;)_0x383f87[_0x5181ce(0xdd)](_0x1d1fe8,_0x9362e9[_0x5181ce(0x198)][_0x1269fc]),_0x1d1fe8=_0x1d1fe8[_0x5181ce(0x13a)];}return{'modelFragment':_0x4d80c7,'anchorData':_0x383f87};}[_0x14e726(0x132)](_0x3c67fa,_0x362d8a,_0x37f752,_0x3a5b50,_0x484d3b){const _0x1821c9=_0x14e726,_0x4eda94=this[_0x1821c9(0x1b7)][_0x1821c9(0x141)][_0x1821c9(0x129)](_0x2d428c),_0x24a11d=this[_0x1821c9(0x1b7)][_0x1821c9(0x141)][_0x1821c9(0x129)](_0x19d5a9),_0x438359=this[_0x1821c9(0x1b7)][_0x1821c9(0x167)][_0x1821c9(0x14b)][_0x1821c9(0x166)],_0x111b7e=_0x4eda94[_0x1821c9(0x1a2)](_0x362d8a),_0xe003a9=this[_0x1821c9(0x1b7)][_0x1821c9(0x1ac)][_0x1821c9(0x1aa)][_0x1821c9(0xed)](_0x111b7e),_0x4aa7ad=this[_0x1821c9(0x1b7)][_0x1821c9(0x167)][_0x1821c9(0x14b)][_0x1821c9(0xe5)],_0x4609b7=[..._0x438359[_0x1821c9(0x101)]()];let _0x58ce26=this[_0x1821c9(0x1b7)][_0x1821c9(0x15b)][_0x1821c9(0x129)](_0x1821c9(0x146))||[..._0x24196];this[_0x1821c9(0x1b7)][_0x1821c9(0x141)][_0x1821c9(0x1ad)](_0x1821c9(0x154))||(_0x58ce26=_0x58ce26[_0x1821c9(0x156)](_0x3af2c9=>_0x1821c9(0x17f)!=_0x3af2c9));const _0x38c093=new _0xcd0656(this[_0x1821c9(0x1b7)][_0x1821c9(0x186)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x1821c9(0x134),'customView':this[_0x1821c9(0x12c)]},'showUnchangedParts':!0x0,'availableActions':_0x58ce26});return _0x24a11d[_0x1821c9(0x1c1)]({'index':0x3e8*Math[_0x1821c9(0x1b5)]()%0x3e8,'title':_0x3a5b50,'icon':_0x484d3b||_0x5e7d8c,'mainView':_0x38c093,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x4609b7}),this[_0x1821c9(0xeb)](_0x38c093,_0x24a11d),this[_0x1821c9(0x197)](_0x24a11d,_0x1821c9(0x147),()=>{const _0xb653c0=_0x1821c9;this[_0xb653c0(0x14f)](_0x362d8a,_0x37f752,!0x1);}),this[_0x1821c9(0x197)](_0x24a11d,_0x1821c9(0x17f),()=>{const _0x4e45d4=_0x1821c9;this[_0x4e45d4(0x14f)](_0x362d8a,_0x37f752,!0x0);}),this[_0x1821c9(0x197)](_0x24a11d,_0x1821c9(0xde),()=>{const _0x985d00=_0x1821c9;this[_0x985d00(0x176)](),this[_0x985d00(0x15c)]();}),this[_0x1821c9(0x197)](_0x24a11d,_0x1821c9(0x187),()=>{const _0xcc5fc6=_0x1821c9;if(this[_0xcc5fc6(0xdf)]&&this[_0xcc5fc6(0xdf)][_0xcc5fc6(0x193)][_0xcc5fc6(0xfc)]>0x0){const _0x2ff082=this[_0xcc5fc6(0xdf)][_0xcc5fc6(0x193)][this[_0xcc5fc6(0xdf)][_0xcc5fc6(0x193)][_0xcc5fc6(0xfc)]-0x1],_0x22ff88=_0x2ff082[_0xcc5fc6(0xe2)][0x0];_0x22ff88&&_0xcc5fc6(0x12a)===_0x22ff88[_0xcc5fc6(0x155)]&&_0x2ff082[_0xcc5fc6(0x139)](0x0,_0xcc5fc6(0x115));}this[_0xcc5fc6(0x176)](),this[_0xcc5fc6(0x1b8)](),this[_0xcc5fc6(0x119)](_0x24a11d);}),this[_0x1821c9(0xf0)](_0xe003a9,_0x4aa7ad,_0x38c093,_0x24a11d,_0x3c67fa);}[_0x14e726(0x123)](_0x48ac69,_0x2923f5,_0x2ac356){const _0x5114bc=_0x14e726,_0x5466bd=this[_0x5114bc(0x1b7)][_0x5114bc(0x167)][_0x5114bc(0x102)](_0x2923f5,_0x2ac356)[_0x5114bc(0x1c2)](),_0xf5e4b4=_0x5466bd['is'](_0x5114bc(0x185))?[]:_0x5466bd[_0x5114bc(0x181)]({'includeSelf':!0x0})[_0x5114bc(0x13f)](0x1);if(_0xf5e4b4[_0x5114bc(0xfc)]){const _0x291c18=_0xf5e4b4[_0x5114bc(0x150)](_0xa450e7=>_0xa450e7[_0x5114bc(0x1b9)](!0x1));for(let _0x551dd5=0x1;_0x551dd5<_0x291c18[_0x5114bc(0xfc)];_0x551dd5++)_0x291c18[_0x551dd5-0x1][_0x5114bc(0x136)](_0x291c18[_0x551dd5]);return _0x291c18[_0x291c18[_0x5114bc(0xfc)]-0x1][_0x5114bc(0x136)](_0x48ac69),new _0x5583db(_0x291c18[0x0]);}return _0x48ac69;}async[_0x14e726(0xf0)](_0x134de9,_0x3d871f,_0x2c6d34,_0x56b81e,_0x414670){const _0x24b6b0=_0x14e726,_0x2368dc=this[_0x24b6b0(0x1b7)];this[_0x24b6b0(0x112)]={'action':_0x414670,'content':_0x134de9,'version':_0x3d871f,'mainView':_0x2c6d34,'aiBalloon':_0x56b81e};const _0x2b276a=new _0x29426a({'connector':this[_0x24b6b0(0x19b)],'editor':_0x2368dc,'content':_0x134de9,'version':_0x3d871f,..._0x414670});this[_0x24b6b0(0x177)][_0x24b6b0(0x18d)](_0x2b276a),_0x2c6d34[_0x24b6b0(0x15e)]();const _0x135752=(_0x35eeaf,_0x83aef6,_0xc59685=!0x1,_0x458642=_0x24b6b0(0x106))=>this[_0x24b6b0(0x174)][_0x24b6b0(0x179)](async _0x4254ef=>{const _0x2a2691=_0x24b6b0;try{const _0x34f92a=_0x575629({'editor':_0x2368dc,'changeGroups':_0x35eeaf[_0x2a2691(0xe2)],'documentContextContent':_0x35eeaf[_0x2a2691(0x10a)],'showDiff':_0xc59685,'trimUnchanged':!0x1});await _0x83aef6[_0x2a2691(0x1a5)]({'parts':_0x34f92a,'renderingStrategy':_0x458642,'abortSignal':_0x4254ef});}catch(_0x2d2640){if(this[_0x2a2691(0x178)](_0x2d2640))return;throw _0x2d2640;}});this[_0x24b6b0(0xdf)]['on'](_0x24b6b0(0x11f),(_0x71c931,_0x14ff39)=>{const _0x9c208=_0x24b6b0;_0x2c6d34[_0x9c208(0x127)](),_0x135752(_0x14ff39,_0x2c6d34)[_0x9c208(0x1bb)](_0x9f972f=>{const _0x5c3a5c=_0x9c208;this[_0x5c3a5c(0x178)](_0x9f972f)||(console[_0x5c3a5c(0xec)](_0x5c3a5c(0xee),_0x9f972f),this[_0x5c3a5c(0x160)](_0x2b276a,_0x2c6d34));});}),this[_0x24b6b0(0xdf)]['on'](_0x24b6b0(0x183),(_0xa61040,_0x4ff614)=>{const _0x291f55=_0x24b6b0;_0x135752(_0x4ff614,_0x2c6d34)[_0x291f55(0x1bb)](_0xb74941=>{const _0x21541f=_0x291f55;this[_0x21541f(0x178)](_0xb74941)||(console[_0x21541f(0xec)](_0x21541f(0x126),_0xb74941),this[_0x21541f(0x160)](_0x2b276a,_0x2c6d34));});}),this[_0x24b6b0(0xdf)]['on'](_0x24b6b0(0x1b4),async()=>{const _0x36c08c=_0x24b6b0;try{await this[_0x36c08c(0x1bd)](_0x2c6d34,_0x56b81e),this[_0x36c08c(0x18c)]();}catch(_0x9d11f6){this[_0x36c08c(0x178)](_0x9d11f6)||(console[_0x36c08c(0xec)](_0x36c08c(0x130),_0x9d11f6),this[_0x36c08c(0x160)](_0x2b276a,_0x2c6d34));}}),this[_0x24b6b0(0x197)](_0x2c6d34,_0x24b6b0(0x118),(_0x15cb0b,{showDiff:_0x133421})=>{const _0x17d983=_0x24b6b0;this[_0x17d983(0xfb)]=_0x133421;const _0x2737ef=this[_0x17d983(0xdf)][_0x17d983(0x193)][this[_0x17d983(0xdf)][_0x17d983(0x193)][_0x17d983(0xfc)]-0x1];_0x2737ef&&_0x135752(_0x2737ef,_0x2c6d34,_0x133421,_0x17d983(0x13b))[_0x17d983(0x1bb)](_0x441cab=>{const _0x4cf742=_0x17d983;this[_0x4cf742(0x178)](_0x441cab)||(console[_0x4cf742(0xec)](_0x4cf742(0x15f),_0x441cab),this[_0x4cf742(0x160)](_0x2b276a,_0x2c6d34));});}),this[_0x24b6b0(0xdf)]['on'](_0x24b6b0(0x1bf),(_0x5c4d46,{reply:_0x4dc545})=>{const _0xb4af57=_0x24b6b0,_0x399cc7={'positiveCount':_0x4dc545[_0xb4af57(0xe2)][_0xb4af57(0x156)](_0x1a013e=>_0xb4af57(0x1bc)===_0x1a013e[_0xb4af57(0x155)])[_0xb4af57(0xfc)],'totalCount':_0x4dc545[_0xb4af57(0xe2)][_0xb4af57(0xfc)]},_0x3c7d64=this[_0xb4af57(0xdf)][_0xb4af57(0x114)],_0x49643e=this[_0xb4af57(0xdf)][_0xb4af57(0x163)];_0x49643e?this[_0xb4af57(0x19b)][_0xb4af57(0x131)](_0x49643e,_0x3c7d64,_0x399cc7):this[_0xb4af57(0x19b)][_0xb4af57(0x165)](_0x3c7d64,_0x399cc7);}),this[_0x24b6b0(0xeb)](_0x2c6d34,_0x56b81e);try{const _0x1001e7=await this[_0x24b6b0(0xdf)][_0x24b6b0(0x11a)]();return this[_0x24b6b0(0x18c)](),_0x1001e7;}catch(_0x3b385f){if(this[_0x24b6b0(0x178)](_0x3b385f))return;_0x2c6d34[_0x24b6b0(0x127)](),this[_0x24b6b0(0x160)](_0x2b276a,_0x2c6d34);}}[_0x14e726(0x14f)](_0x4b1c6a,_0x5c4a1b,_0x532e22){const _0x1f768b=_0x14e726,_0x2566ce=this[_0x1f768b(0x1b7)];if(_0x532e22&&!_0x2566ce[_0x1f768b(0x141)][_0x1f768b(0x1ad)](_0x1f768b(0x154)))throw new _0xc43016(_0x1f768b(0x162),null);const _0x14de36=this[_0x1f768b(0x1b7)][_0x1f768b(0x141)][_0x1f768b(0x129)](_0xc30ece),_0x117177=this[_0x1f768b(0xdf)],_0x2bd9e9=this[_0x1f768b(0xdf)][_0x1f768b(0x193)][this[_0x1f768b(0xdf)][_0x1f768b(0x193)][_0x1f768b(0xfc)]-0x1],_0xb40593=_0x2bd9e9[_0x1f768b(0xe2)];_0x2bd9e9[_0x1f768b(0x139)](0x0,_0x1f768b(0x1bc));let _0x42a94f=_0x386c98({'editor':_0x2566ce,'reply':_0x2bd9e9,'interaction':_0x117177,'groups':_0xb40593,'transform':!0x1,'documentCompare':_0x14de36,'documentCompareOptions':{'anchor':_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x12b)](_0x4b1c6a,0x0),'markDeletions':_0x532e22}});_0x42a94f=this[_0x1f768b(0x184)](_0x42a94f,_0x5c4a1b);for(const _0x19c509 of _0x42a94f)this[_0x1f768b(0x1a3)](_0x5c4a1b,_0x19c509,_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x14b)][_0x1f768b(0x158)]());const _0xac4833=_0x117177[_0x1f768b(0x1ae)]()[_0x1f768b(0xe5)],_0x22b75a=_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x14b)][_0x1f768b(0x100)][_0x1f768b(0x12e)](_0xac4833),_0x175b5a={'document':_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x14b)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4fbee3=_0x5ab5eb(_0x42a94f,_0x22b75a,_0x175b5a)[_0x1f768b(0x144)];_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x164)](_0x221a92=>{const _0x56af35=_0x1f768b;if(_0x221a92[_0x56af35(0x1ab)](_0x2566ce[_0x56af35(0x167)][_0x56af35(0x14b)][_0x56af35(0x166)][_0x56af35(0x17a)]),_0x532e22)_0x2566ce[_0x56af35(0x141)][_0x56af35(0x129)](_0x56af35(0x159))[_0x56af35(0x137)](_0x4fbee3);else{for(const _0x5d4e29 of _0x4fbee3)_0x5d4e29[_0x56af35(0xfd)]=_0x2566ce[_0x56af35(0x167)][_0x56af35(0x14b)][_0x56af35(0xe5)],_0x295bc9(_0x2566ce,_0x5d4e29),_0x221a92[_0x56af35(0x18b)][_0x56af35(0x14c)](_0x5d4e29),_0x2566ce[_0x56af35(0x167)][_0x56af35(0x149)](_0x5d4e29);}}),this[_0x1f768b(0x1b7)][_0x1f768b(0x141)][_0x1f768b(0x129)](_0x1f768b(0x1b0))[_0x1f768b(0x111)]();}[_0x14e726(0x184)](_0x1f4089,_0x248387){const _0x56565f=_0x14e726;return _0x1f4089[_0x56565f(0x156)](_0x10d677=>{const _0x2d13ca=_0x56565f;if(_0x2d13ca(0x113)==_0x10d677[_0x2d13ca(0x180)]){const _0x5cca5f=_0x10d677[_0x2d13ca(0x14d)][_0x2d13ca(0x196)];return!_0x248387[_0x2d13ca(0x1ad)](_0x5cca5f);}if(_0x10d677[_0x2d13ca(0x180)][_0x2d13ca(0x17b)](_0x2d13ca(0x148))>-0x1){const _0x54584e=_0x10d677[_0x2d13ca(0x107)][_0x2d13ca(0x11a)][_0x2d13ca(0x196)];return!_0x248387[_0x2d13ca(0x1ad)](_0x54584e);}return!0x0;});}[_0x14e726(0x1a3)](_0x241200,_0x2d10e8,_0x5b4744){const _0x1859e8=_0x14e726,_0x3451c5=_0x2d10e8[_0x1859e8(0x12d)]();for(const _0x4fc178 in _0x2d10e8){const _0x1fd754=_0x2d10e8[_0x4fc178];_0x1fd754 instanceof _0x2fcff2?_0x2d10e8[_0x4fc178]=new _0x2fcff2(_0x164f1d(_0x1fd754[_0x1859e8(0x11a)]),_0x164f1d(_0x1fd754[_0x1859e8(0x121)])):_0x1fd754 instanceof _0x41e1c1&&(_0x2d10e8[_0x4fc178]=_0x164f1d(_0x1fd754));}if([_0x1859e8(0x120),_0x1859e8(0x189),_0x1859e8(0x13e),_0x1859e8(0x170),_0x1859e8(0x116),_0x1859e8(0xe4)][_0x1859e8(0x1ba)](_0x3451c5[_0x1859e8(0x180)])){if(_0x3451c5[_0x1859e8(0x17d)]=!0x1,_0x3451c5[_0x1859e8(0xfd)]=null,_0x1859e8(0x13e)==_0x3451c5[_0x1859e8(0x180)]){const _0x429bfa=_0x3451c5[_0x1859e8(0x128)],_0x37845c=_0x3451c5[_0x1859e8(0x16f)];new _0x299b9d(_0x429bfa,_0x37845c)[_0x1859e8(0x1be)]();}else _0x3451c5[_0x1859e8(0x1be)]();}function _0x164f1d(_0x94d11e){const _0x59d609=_0x1859e8;if(_0x59d609(0x16d)==_0x94d11e[_0x59d609(0x1b3)][_0x59d609(0x169)])return _0x94d11e;const _0x5e4875=[];let _0x298bc6=_0x94d11e[_0x59d609(0x1b3)];for(let _0x3c7dbb=0x0;_0x3c7dbb<_0x94d11e[_0x59d609(0x198)][_0x59d609(0xfc)];_0x3c7dbb++){const _0x1ada0c=_0x241200[_0x59d609(0x129)](_0x298bc6)||0x0;_0x5e4875[_0x3c7dbb]=_0x94d11e[_0x59d609(0x198)][_0x3c7dbb]+_0x1ada0c,_0x298bc6=_0x298bc6[_0x59d609(0x142)](_0x94d11e[_0x59d609(0x198)][_0x3c7dbb]);}return new _0x41e1c1(_0x5b4744,_0x5e4875,_0x94d11e[_0x59d609(0x14e)]);}}[_0x14e726(0x16c)](){const _0x2a5ccf=_0x14e726;if(!this[_0x2a5ccf(0x112)])return;this[_0x2a5ccf(0x177)][_0x2a5ccf(0xfc)]>0x0&&this[_0x2a5ccf(0x176)](),this[_0x2a5ccf(0x1b6)]=0x0,this[_0x2a5ccf(0xfb)]=!0x1;const {action:_0x53db63,content:_0x26793e,version:_0x3472e0,mainView:_0x51595b,aiBalloon:_0x4a6aee}=this[_0x2a5ccf(0x112)];_0x51595b[_0x2a5ccf(0xf3)]=!0x1,_0x51595b[_0x2a5ccf(0x15e)](),this[_0x2a5ccf(0x11c)](_0x51595b,_0x4a6aee);const _0x177204=_0x51595b;_0x177204[_0x2a5ccf(0x190)]&&_0x177204[_0x2a5ccf(0x190)][_0x2a5ccf(0x117)]&&_0x177204[_0x2a5ccf(0x190)][_0x2a5ccf(0x117)][_0x2a5ccf(0xdd)]({'isOn':!0x1,'icon':_0x24c223}),this[_0x2a5ccf(0x161)](_0x51595b),_0x51595b[_0x2a5ccf(0x19d)](),this[_0x2a5ccf(0x18c)](),this[_0x2a5ccf(0xf0)](_0x26793e,_0x3472e0,_0x51595b,_0x4a6aee,_0x53db63)[_0x2a5ccf(0x1bb)](_0x3b54f6=>{const _0xf82d5a=_0x2a5ccf;this[_0xf82d5a(0x178)](_0x3b54f6)||console[_0xf82d5a(0xec)](_0xf82d5a(0x19c),_0x3b54f6);});}[_0x14e726(0x161)](_0x25c4c8){const _0x316455=_0x14e726,_0x4d0927=_0x25c4c8[_0x316455(0xf5)][_0x316455(0x110)];for(;_0x4d0927[_0x316455(0xfc)]>0x0;)_0x4d0927[_0x316455(0x13e)](_0x4d0927[_0x316455(0x1b1)]);_0x25c4c8[_0x316455(0xf5)][_0x316455(0x168)]=!0x1;}[_0x14e726(0x178)](_0x5a7d96){const _0xf47c05=_0x14e726;return!!_0x5a7d96[_0xf47c05(0x171)]&&_0x5a7d96[_0xf47c05(0x171)][_0xf47c05(0x17c)](_0xf47c05(0x1c0));}[_0x14e726(0x1b8)](){const _0x1a6c01=_0x14e726;this[_0x1a6c01(0x177)]=[],this[_0x1a6c01(0x112)]=void 0x0,this[_0x1a6c01(0x1b6)]=0x0,this[_0x1a6c01(0x18c)]();}[_0x14e726(0x176)](){const _0x1ef1e3=_0x14e726;this[_0x1ef1e3(0xdf)]&&this[_0x1ef1e3(0xdf)][_0x1ef1e3(0x1a8)](),this[_0x1ef1e3(0x174)][_0x1ef1e3(0x188)](),this[_0x1ef1e3(0x13c)]=!0x1;}[_0x14e726(0x103)](){const _0x36d158=_0x14e726,_0x414c8d=new _0x5e2901(this[_0x36d158(0x1b7)][_0x36d158(0x186)]),_0x4097d9=new _0x5e2901(this[_0x36d158(0x1b7)][_0x36d158(0x186)]),_0xa8dbe9=new _0x2f90e6(this[_0x36d158(0x1b7)][_0x36d158(0x186)]),_0x4e6599=new _0x5e2901(this[_0x36d158(0x1b7)][_0x36d158(0x186)]);_0x414c8d[_0x36d158(0xdd)]({'icon':_0x3d3c11,'label':_0x375185(this[_0x36d158(0x1b7)][_0x36d158(0x186)],_0x36d158(0x143)),'tooltip':!0x0,'class':_0x36d158(0x175)}),_0x4097d9[_0x36d158(0xdd)]({'icon':_0x478ee6,'tooltip':_0x375185(this[_0x36d158(0x1b7)][_0x36d158(0x186)],_0x36d158(0x1af)),'class':_0x36d158(0x1c3)}),_0xa8dbe9[_0x36d158(0x10b)]({'tag':_0x36d158(0x1b2),'attributes':{'class':[_0x36d158(0x153)]},'children':[_0x36d158(0xf2)]}),_0x4e6599[_0x36d158(0xdd)]({'icon':_0x57f53a,'tooltip':_0x375185(this[_0x36d158(0x1b7)][_0x36d158(0x186)],_0x36d158(0x172)),'class':_0x36d158(0x10c)}),_0x414c8d[_0x36d158(0xff)](_0x36d158(0x10e))['to'](this,_0x36d158(0x13c),_0x4d094d=>!_0x4d094d),_0x414c8d['on'](_0x36d158(0x138),()=>{const _0x15555d=_0x36d158;this[_0x15555d(0x16c)]();}),_0x4097d9[_0x36d158(0xff)](_0x36d158(0x10e))['to'](this,_0x36d158(0x13c),_0xa3f8a6=>!_0xa3f8a6),_0x4097d9['on'](_0x36d158(0x138),()=>{const _0x2139f3=_0x36d158;this[_0x2139f3(0x151)]();}),_0x4e6599[_0x36d158(0xff)](_0x36d158(0x10e))['to'](this,_0x36d158(0x13c),_0x409c0d=>!_0x409c0d),_0x4e6599['on'](_0x36d158(0x138),()=>{const _0x9c054f=_0x36d158;this[_0x9c054f(0x18f)]();}),this[_0x36d158(0xe7)]=_0x4097d9,this[_0x36d158(0x104)]=_0xa8dbe9,this[_0x36d158(0xf9)]=_0x4e6599,this[_0x36d158(0x12c)][_0x36d158(0x18e)](_0x414c8d);}[_0x14e726(0x151)](){const _0x4d72cb=_0x14e726,_0x5912ab=this[_0x4d72cb(0x177)][_0x4d72cb(0xfc)];this[_0x4d72cb(0x1b6)]<_0x5912ab-0x1&&this[_0x4d72cb(0xe0)](this[_0x4d72cb(0x1b6)]+0x1);}[_0x14e726(0x18f)](){const _0xffe5c9=_0x14e726;this[_0xffe5c9(0x1b6)]>0x0&&this[_0xffe5c9(0xe0)](this[_0xffe5c9(0x1b6)]-0x1);}async[_0x14e726(0xe0)](_0x5e12f9){const _0x25ee69=_0x14e726;if(!this[_0x25ee69(0x112)])return;this[_0x25ee69(0x1b6)]=_0x5e12f9;const {mainView:_0x2d31eb}=this[_0x25ee69(0x112)],_0x523ff8=this[_0x25ee69(0x177)][this[_0x25ee69(0x177)][_0x25ee69(0xfc)]-0x1-this[_0x25ee69(0x1b6)]];if(!_0x523ff8)return;if(_0x523ff8[_0x25ee69(0x1a1)])return this[_0x25ee69(0x160)](_0x523ff8,_0x2d31eb),void this[_0x25ee69(0x18c)]();if(!_0x523ff8[_0x25ee69(0x193)][_0x25ee69(0xfc)])return;_0x2d31eb[_0x25ee69(0x15e)](),this[_0x25ee69(0x112)]&&this[_0x25ee69(0x11c)](_0x2d31eb,this[_0x25ee69(0x112)][_0x25ee69(0x157)]);const _0x582a56=_0x523ff8[_0x25ee69(0x193)][_0x523ff8[_0x25ee69(0x193)][_0x25ee69(0xfc)]-0x1];if(_0x582a56){const _0x4c6cec=this[_0x25ee69(0x1b7)];this[_0x25ee69(0x161)](_0x2d31eb);try{const _0x461a3a=_0x575629({'editor':_0x4c6cec,'changeGroups':_0x582a56[_0x25ee69(0xe2)],'documentContextContent':_0x582a56[_0x25ee69(0x10a)],'showDiff':this[_0x25ee69(0xfb)],'trimUnchanged':!0x1});this[_0x25ee69(0x161)](_0x2d31eb),await new Promise(_0x581fda=>setTimeout(_0x581fda,0x32)),await _0x2d31eb[_0x25ee69(0x1a5)]({'parts':_0x461a3a,'renderingStrategy':_0x25ee69(0x13b),'abortSignal':new AbortController()[_0x25ee69(0x135)]});}catch(_0x3397b5){this[_0x25ee69(0x178)](_0x3397b5)||console[_0x25ee69(0xec)](_0x25ee69(0x1a6),_0x3397b5);}}this[_0x25ee69(0x18c)]();}[_0x14e726(0x18c)](){const _0x34cda0=_0x14e726;if(!this[_0x34cda0(0xe7)]||!this[_0x34cda0(0x104)]||!this[_0x34cda0(0xf9)])return;const _0x4d8b20=this[_0x34cda0(0x177)][_0x34cda0(0xfc)],_0x3d19f=_0x4d8b20>0x1,_0x128cdc=this[_0x34cda0(0x112)]?.[_0x34cda0(0xf4)];if(_0x3d19f){this[_0x34cda0(0xe1)]||this[_0x34cda0(0xf7)]||this[_0x34cda0(0x12f)]||(this[_0x34cda0(0x12c)][_0x34cda0(0x18e)](this[_0x34cda0(0xe7)]),_0x128cdc?.[_0x34cda0(0x195)](this[_0x34cda0(0xe7)]),this[_0x34cda0(0xe1)]=!0x0,this[_0x34cda0(0x12c)][_0x34cda0(0x18e)](this[_0x34cda0(0x104)]),_0x128cdc?.[_0x34cda0(0x195)](this[_0x34cda0(0x104)]),this[_0x34cda0(0xf7)]=!0x0,this[_0x34cda0(0x12c)][_0x34cda0(0x18e)](this[_0x34cda0(0xf9)]),_0x128cdc?.[_0x34cda0(0x195)](this[_0x34cda0(0xf9)]),this[_0x34cda0(0x12f)]=!0x0);const _0xd1cab1=_0x4d8b20-this[_0x34cda0(0x1b6)];this[_0x34cda0(0x104)][_0x34cda0(0x192)]&&(this[_0x34cda0(0x104)][_0x34cda0(0x192)][_0x34cda0(0xfe)]=_0xd1cab1+'/'+_0x4d8b20),this[_0x34cda0(0xe7)][_0x34cda0(0x10e)]=this[_0x34cda0(0x1b6)]<_0x4d8b20-0x1,this[_0x34cda0(0xf9)][_0x34cda0(0x10e)]=this[_0x34cda0(0x1b6)]>0x0;}else(this[_0x34cda0(0xe1)]||this[_0x34cda0(0xf7)]||this[_0x34cda0(0x12f)])&&(this[_0x34cda0(0x12c)][_0x34cda0(0x13e)](this[_0x34cda0(0xe7)]),_0x128cdc?.[_0x34cda0(0x11b)](this[_0x34cda0(0xe7)]),this[_0x34cda0(0xe1)]=!0x1,this[_0x34cda0(0x12c)][_0x34cda0(0x13e)](this[_0x34cda0(0x104)]),_0x128cdc?.[_0x34cda0(0x11b)](this[_0x34cda0(0x104)]),this[_0x34cda0(0xf7)]=!0x1,this[_0x34cda0(0x12c)][_0x34cda0(0x13e)](this[_0x34cda0(0xf9)]),_0x128cdc?.[_0x34cda0(0x11b)](this[_0x34cda0(0xf9)]),this[_0x34cda0(0x12f)]=!0x1);}[_0x14e726(0xeb)](_0x476f47,_0x5f3bec){const _0x1dd9c2=_0x14e726;_0x476f47[_0x1dd9c2(0xfa)](),_0x5f3bec[_0x1dd9c2(0x19f)][_0x1dd9c2(0xfa)](),this[_0x1dd9c2(0x13c)]=!0x0;}async[_0x14e726(0x160)](_0x366a03,_0x4cdf4e){const _0xd1d56f=_0x14e726,_0x218472=_0x375185(this[_0xd1d56f(0x1b7)][_0xd1d56f(0x186)],_0xd1d56f(0x152));_0x4cdf4e[_0xd1d56f(0xea)](_0x218472),_0x366a03[_0xd1d56f(0x1a1)]=!0x0,await this[_0xd1d56f(0x174)][_0xd1d56f(0x16e)],_0x4cdf4e[_0xd1d56f(0x191)](),this[_0xd1d56f(0x112)]?.[_0xd1d56f(0x157)][_0xd1d56f(0x19f)][_0xd1d56f(0x182)]&&(this[_0xd1d56f(0x112)][_0xd1d56f(0x157)][_0xd1d56f(0x19f)][_0xd1d56f(0x182)][_0xd1d56f(0x10f)]=!0x0);}[_0x14e726(0x11c)](_0x55d1be,_0x2cd4c2){const _0x48ebf0=_0x14e726;_0x55d1be[_0x48ebf0(0x109)](),_0x2cd4c2[_0x48ebf0(0x19f)][_0x48ebf0(0x182)]&&(_0x2cd4c2[_0x48ebf0(0x19f)][_0x48ebf0(0x182)][_0x48ebf0(0x10f)]=!0x1);}async[_0x14e726(0x1bd)](_0x8211fe,_0x15c4fe){const _0xe19975=_0x14e726;await this[_0xe19975(0x174)][_0xe19975(0x16e)],this[_0xe19975(0x13c)]=!0x1,_0x8211fe[_0xe19975(0x17e)](),_0x15c4fe[_0xe19975(0x19f)][_0xe19975(0x17e)]();}[_0x14e726(0x15c)](){const _0x50305f=_0x14e726;this[_0x50305f(0x12c)][_0x50305f(0xf8)](_0x5ef41b=>{const _0x37d51f=_0x50305f;_0x37d51f(0x10e)in _0x5ef41b&&(_0x5ef41b[_0x37d51f(0x10e)]=!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ddc63=_0x4a45;function _0x4a45(_0x198403,_0x61e7ca){const _0x48bf83=_0x48bf();return _0x4a45=function(_0x4a459e,_0x45b49c){_0x4a459e=_0x4a459e-0x18e;let _0x35e34f=_0x48bf83[_0x4a459e];return _0x35e34f;},_0x4a45(_0x198403,_0x61e7ca);}(function(_0x23888e,_0x65f60c){const _0x4afd44=_0x4a45,_0x1d825c=_0x23888e();while(!![]){try{const _0x123b2f=-parseInt(_0x4afd44(0x196))/0x1+-parseInt(_0x4afd44(0x1a1))/0x2*(-parseInt(_0x4afd44(0x194))/0x3)+-parseInt(_0x4afd44(0x1a6))/0x4+-parseInt(_0x4afd44(0x19b))/0x5+parseInt(_0x4afd44(0x1a3))/0x6*(-parseInt(_0x4afd44(0x19a))/0x7)+-parseInt(_0x4afd44(0x1a9))/0x8+parseInt(_0x4afd44(0x192))/0x9;if(_0x123b2f===_0x65f60c)break;else _0x1d825c['push'](_0x1d825c['shift']());}catch(_0x5e37a7){_0x1d825c['push'](_0x1d825c['shift']());}}}(_0x48bf,0x6d960));import{AIInteraction as _0x5a3356,AI_MODEL_EVENT_NAMES as _0x41d94f}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x1c8073}from'../../aicore/model/aicontext.js';function _0x48bf(){const _0x43a4e8=['108jgiGdd','current-document','Current\x20document','867668xVGtBn','content','html','1412328YUbZbT','replyCreated','connector','model','replies','version','createReply','args','TEXT','20782116fTQZoe','executeAction','1283577gjdVzd','userMessage','873805VotUWj','getDocumentContext','hasError','executeCustomAction','73234rjNeJq','4162700UCGgLy','sendRequest','actionName','delegate','editor','push','2lvSqdh','fire'];_0x48bf=function(){return _0x43a4e8;};return _0x48bf();}import{AIActionsReply as _0x7e3e60}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x5a3356{[_0x2ddc63(0x1a7)];[_0x2ddc63(0x18e)];[_0x2ddc63(0x19d)];[_0x2ddc63(0x190)];[_0x2ddc63(0x195)];[_0x2ddc63(0x1ac)];[_0x2ddc63(0x198)]=!0x1;constructor(_0x40cd65){const _0x1a0e60=_0x2ddc63;super(_0x40cd65),this[_0x1a0e60(0x1a7)]=_0x40cd65[_0x1a0e60(0x1a7)],this[_0x1a0e60(0x18e)]=_0x40cd65[_0x1a0e60(0x18e)],this[_0x1a0e60(0x19d)]=_0x40cd65[_0x1a0e60(0x19d)],this[_0x1a0e60(0x190)]=_0x40cd65[_0x1a0e60(0x190)],this[_0x1a0e60(0x195)]=_0x40cd65[_0x1a0e60(0x195)],this[_0x1a0e60(0x1ac)]=_0x40cd65[_0x1a0e60(0x1ac)];}async[_0x2ddc63(0x19c)](){const _0x50fecd=_0x2ddc63;return this[_0x50fecd(0x19d)]?this[_0x50fecd(0x1ab)][_0x50fecd(0x193)]({'content':this[_0x50fecd(0x1a7)],'actionName':this[_0x50fecd(0x19d)],'args':this[_0x50fecd(0x190)]}):this[_0x50fecd(0x1ab)][_0x50fecd(0x199)]({'content':this[_0x50fecd(0x1a7)],'message':this[_0x50fecd(0x195)],'model':this[_0x50fecd(0x1ac)],'outputFormat':_0x50fecd(0x1a8)});}[_0x2ddc63(0x197)](){const _0x10d8aa=_0x2ddc63;return{'type':_0x1c8073[_0x10d8aa(0x191)],'content':this[_0x10d8aa(0x1a7)],'version':this[_0x10d8aa(0x18e)],'label':_0x10d8aa(0x1a5),'uiId':_0x10d8aa(0x1a4)};}[_0x2ddc63(0x18f)](_0xce4371){const _0x55150b=_0x2ddc63,_0x155fb9=new _0x7e3e60({'editor':this[_0x55150b(0x19f)],'documentContextContent':this[_0x55150b(0x1a7)],..._0xce4371});return this[_0x55150b(0x1ad)][_0x55150b(0x1a0)](_0x155fb9),_0x155fb9[_0x55150b(0x19e)](..._0x41d94f)['to'](this),this[_0x55150b(0x1a2)](_0x55150b(0x1aa),_0x155fb9),_0x155fb9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31e4de=_0x16ad;(function(_0x4506da,_0x18b29f){const _0x199d0e=_0x16ad,_0x58b1bd=_0x4506da();while(!![]){try{const _0x4f538b=parseInt(_0x199d0e(0xaa))/0x1*(-parseInt(_0x199d0e(0xb1))/0x2)+parseInt(_0x199d0e(0x9b))/0x3*(-parseInt(_0x199d0e(0xaf))/0x4)+parseInt(_0x199d0e(0xb4))/0x5*(-parseInt(_0x199d0e(0x95))/0x6)+-parseInt(_0x199d0e(0xa4))/0x7+parseInt(_0x199d0e(0x9d))/0x8*(-parseInt(_0x199d0e(0xad))/0x9)+parseInt(_0x199d0e(0xac))/0xa*(-parseInt(_0x199d0e(0x99))/0xb)+parseInt(_0x199d0e(0x9c))/0xc;if(_0x4f538b===_0x18b29f)break;else _0x58b1bd['push'](_0x58b1bd['shift']());}catch(_0x2fd859){_0x58b1bd['push'](_0x58b1bd['shift']());}}}(_0x10e1,0xbc4ab));import{AIReply as _0x42a945}from'../../aicore/model/aireply.js';function _0x10e1(){const _0xed13b=['new','value','8459231RNOSOu','parsedContent','332517AFyGpM','57730980bCVAgB','199384LvzoZH','removed','updateChangeGroups','documentContextContent','data-id','node','_getDifferentChangeGroups','3594927RMFccD','changeGroups','cloneNode','pop','added','children','210KRwbhh','modified','10WWQjXX','306PzzPjn','childNodes','24OohCGH','length','4920gsWhmq','parsedMergedContent','pending','1820185VzgMUe','map','12mACOJO','isDone'];_0x10e1=function(){return _0xed13b;};return _0x10e1();}function _0x16ad(_0x96ff48,_0x5351a4){const _0x10e1f7=_0x10e1();return _0x16ad=function(_0x16ad3f,_0x59c9cd){_0x16ad3f=_0x16ad3f-0x94;let _0x599ea4=_0x10e1f7[_0x16ad3f];return _0x599ea4;},_0x16ad(_0x96ff48,_0x5351a4);}import{getAttribute as _0x1091fa}from'../../aicore/utils/htmlparser.js';import{uid as _0x3fb488}from'ckeditor5/src/utils.js';import{diffArrays as _0x37db06}from'diff';export class AIActionsReply extends _0x42a945{[_0x31e4de(0x9f)](){const _0x148f5b=_0x31e4de;if(this[_0x148f5b(0xb2)]=this[_0x148f5b(0x9a)][_0x148f5b(0xa6)](!0x0),0x0==this[_0x148f5b(0xb2)][_0x148f5b(0xae)][_0x148f5b(0xb0)])return void(this[_0x148f5b(0xa5)]=[]);const _0x5ef9a4=this[_0x148f5b(0xa0)][_0x148f5b(0xa9)][_0x148f5b(0x94)](_0x2a7975=>({'node':_0x2a7975,'id':_0x1091fa(_0x2a7975,_0x148f5b(0xa1))})),_0x4e221e=this[_0x148f5b(0xb2)][_0x148f5b(0xa9)][_0x148f5b(0x94)](_0x3b4047=>({'node':_0x3b4047,'id':_0x1091fa(_0x3b4047,_0x148f5b(0xa1))||_0x3fb488()})),_0x2a6d07=_0x37db06(_0x5ef9a4,_0x4e221e,{'comparator':(_0xefbe0,_0x2224a7)=>_0xefbe0['id']==_0x2224a7['id'],'oneChangePerToken':!0x0});if(!this[_0x148f5b(0x96)]){for(;_0x2a6d07[_0x148f5b(0xb0)]&&_0x2a6d07[_0x2a6d07[_0x148f5b(0xb0)]-0x1][_0x148f5b(0x9e)];)_0x2a6d07[_0x148f5b(0xa7)]();}const _0x17fcd6=_0x2a6d07[_0x148f5b(0x94)](_0x8d179a=>{const _0x2a911d=_0x148f5b,_0x41ae5a=_0x8d179a[_0x2a911d(0xa8)]?_0x2a911d(0x97):_0x8d179a[_0x2a911d(0x9e)]?_0x2a911d(0x9e):_0x2a911d(0xab);return{'node':_0x8d179a[_0x2a911d(0x98)][0x0][_0x2a911d(0xa2)],'type':_0x41ae5a,'id':_0x8d179a[_0x2a911d(0x98)][0x0]['id']};});this[_0x148f5b(0xa5)]=[{'changes':_0x17fcd6,'state':_0x148f5b(0xb3),'index':0x0}];}[_0x31e4de(0xa3)](_0x2a6476,_0x434a46){return _0x434a46;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x34389d=_0x2a34;(function(_0x3e84e3,_0x2885a2){var _0x34cbd8=_0x2a34,_0x22a9c7=_0x3e84e3();while(!![]){try{var _0x592401=-parseInt(_0x34cbd8(0xf8))/0x1+-parseInt(_0x34cbd8(0xf7))/0x2+-parseInt(_0x34cbd8(0xe9))/0x3*(parseInt(_0x34cbd8(0xf3))/0x4)+-parseInt(_0x34cbd8(0xf1))/0x5*(parseInt(_0x34cbd8(0xf0))/0x6)+-parseInt(_0x34cbd8(0xea))/0x7*(-parseInt(_0x34cbd8(0xeb))/0x8)+parseInt(_0x34cbd8(0xee))/0x9*(-parseInt(_0x34cbd8(0xef))/0xa)+-parseInt(_0x34cbd8(0xf4))/0xb*(-parseInt(_0x34cbd8(0xe8))/0xc);if(_0x592401===_0x2885a2)break;else _0x22a9c7['push'](_0x22a9c7['shift']());}catch(_0x63e5b2){_0x22a9c7['push'](_0x22a9c7['shift']());}}}(_0x1dde,0xec208));function _0x1dde(){var _0x2f12e9=['81tOfqlt','1559050XXPlRI','6183066aioazF','5mWQeAt','AIRequestError','6287012LhYIQa','943316lEQIhD','aiadapter-text-adapter-not-set','name','2932244XnRhKp','980742ZljEFV','afterInit','textAdapter','pluginName','AIAdapter','948nKdwAR','3rWvKIo','119cYbROJ','303400bxPPQC','isPremiumPlugin','isOfficialPlugin'];_0x1dde=function(){return _0x2f12e9;};return _0x1dde();}function _0x2a34(_0x228be4,_0x18646f){var _0x1ddec5=_0x1dde();return _0x2a34=function(_0x2a344f,_0x4f2f82){_0x2a344f=_0x2a344f-0xe6;var _0x5fcadc=_0x1ddec5[_0x2a344f];return _0x5fcadc;},_0x2a34(_0x228be4,_0x18646f);}import{Plugin as _0x452b1f}from'ckeditor5/src/core.js';import{CKEditorError as _0x437b10}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x452b1f{static get[_0x34389d(0xe6)](){var _0x5b2575=_0x34389d;return _0x5b2575(0xe7);}static get[_0x34389d(0xed)](){return!0x0;}static get[_0x34389d(0xec)](){return!0x0;}[_0x34389d(0xf9)](){var _0x2d2412=_0x34389d;if(!this[_0x2d2412(0xfa)])throw new _0x437b10(_0x2d2412(0xf5),null);}}export class AIRequestError extends Error{constructor(_0xdc6ef8){var _0xc492d=_0x34389d;super(_0xdc6ef8),this[_0xc492d(0xf6)]=_0xc492d(0xf2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x52b106=_0x2672;(function(_0x277723,_0xb07669){const _0x3186c9=_0x2672,_0x4381e4=_0x277723();while(!![]){try{const _0x228b56=-parseInt(_0x3186c9(0x14b))/0x1+-parseInt(_0x3186c9(0x140))/0x2+parseInt(_0x3186c9(0x144))/0x3*(parseInt(_0x3186c9(0x13d))/0x4)+parseInt(_0x3186c9(0x149))/0x5+-parseInt(_0x3186c9(0x143))/0x6*(-parseInt(_0x3186c9(0x139))/0x7)+-parseInt(_0x3186c9(0x146))/0x8*(-parseInt(_0x3186c9(0x136))/0x9)+-parseInt(_0x3186c9(0x145))/0xa;if(_0x228b56===_0xb07669)break;else _0x4381e4['push'](_0x4381e4['shift']());}catch(_0x1dc842){_0x4381e4['push'](_0x4381e4['shift']());}}}(_0x5941,0xbfeac));import{Plugin as _0x29e87b}from'ckeditor5/src/core.js';function _0x2672(_0x1153dc,_0x481b83){const _0x5941fa=_0x5941();return _0x2672=function(_0x2672c4,_0x158778){_0x2672c4=_0x2672c4-0x136;let _0x995027=_0x5941fa[_0x2672c4];return _0x995027;},_0x2672(_0x1153dc,_0x481b83);}function _0x5941(){const _0x413a85=['signal','aitextadapter-send-request-failed','init','abort','plugins','reject','3920877wKtAHq','sendRequest','editor','14mYljYH','error','textAdapter','_prepareRequestHeaders','77344OUUQJB','get','resolve','283250DPvKfo','assign','catch','3661674UMRfRp','69KnsiRj','25320100pXWqvZ','16XTCazr','AI_ERROR_GET_PARAMETERS','name','6770205qFKPIq','abortController','430906FyvXJl','_prepareRequestParameters','application/json','AbortError','requires','aborted','object','makeRequest','AI_ERROR_GET_HEADERS','locale'];_0x5941=function(){return _0x413a85;};return _0x5941();}import{CKEditorError as _0x76e013}from'ckeditor5/src/utils.js';import{AIAdapter as _0x4d1115,AIRequestError as _0x528bc3}from'./aiadapter.js';import{getTranslation as _0x2fb4dd}from'../utils/common-translations.js';export class AITextAdapter extends _0x29e87b{[_0x52b106(0x14a)];static get[_0x52b106(0x14f)](){return[_0x4d1115];}constructor(_0x207007){const _0x530876=_0x52b106;super(_0x207007),this[_0x530876(0x14a)]=new AbortController();}[_0x52b106(0x157)](){const _0x11e53e=_0x52b106;this[_0x11e53e(0x138)][_0x11e53e(0x159)][_0x11e53e(0x13e)](_0x4d1115)[_0x11e53e(0x13b)]=this;}[_0x52b106(0x158)](){const _0x2dd764=_0x52b106;this[_0x2dd764(0x14a)][_0x2dd764(0x155)][_0x2dd764(0x150)]||(this[_0x2dd764(0x14a)][_0x2dd764(0x158)](),this[_0x2dd764(0x14a)]=new AbortController());}async[_0x52b106(0x152)](_0x113d2b){const _0x4a663d=_0x52b106;return this[_0x4a663d(0x137)](_0x113d2b)[_0x4a663d(0x142)](_0x3697db=>{const _0x5f3395=_0x4a663d;if(_0x3697db instanceof _0x528bc3)return Promise[_0x5f3395(0x15a)](_0x3697db);if(_0x5f3395(0x14e)==_0x3697db[_0x5f3395(0x148)])return Promise[_0x5f3395(0x13f)]();throw console[_0x5f3395(0x13a)](_0x3697db),new _0x76e013(_0x5f3395(0x156),null);});}async[_0x52b106(0x13c)](_0x3c243b,_0x4f711d){const _0x16430e=_0x52b106,_0x5d8a19=this[_0x16430e(0x138)][_0x16430e(0x154)],_0x56abdf={'Content-Type':_0x16430e(0x14d)};if(_0x16430e(0x151)==typeof _0x3c243b)Object[_0x16430e(0x141)](_0x56abdf,_0x3c243b);else{if(_0x3c243b)try{const _0x59d492=await _0x3c243b(_0x4f711d);Object[_0x16430e(0x141)](_0x56abdf,_0x59d492);}catch{return Promise[_0x16430e(0x15a)](new _0x528bc3(_0x2fb4dd(_0x5d8a19,_0x16430e(0x153))));}}return _0x56abdf;}async[_0x52b106(0x14c)](_0x2a335b,_0xe35bb1){const _0x438dd1=_0x52b106,_0x37424b=this[_0x438dd1(0x138)][_0x438dd1(0x154)];if(_0x438dd1(0x151)==typeof _0x2a335b)return _0x2a335b;try{return await _0x2a335b(_0xe35bb1);}catch{return Promise[_0x438dd1(0x15a)](new _0x528bc3(_0x2fb4dd(_0x37424b,_0x438dd1(0x147))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1c4121=_0x56f7;function _0x56f7(_0x5d89be,_0x7e2de2){const _0x581d68=_0x581d();return _0x56f7=function(_0x56f758,_0x124a97){_0x56f758=_0x56f758-0xc1;let _0x45639b=_0x581d68[_0x56f758];return _0x45639b;},_0x56f7(_0x5d89be,_0x7e2de2);}(function(_0xf7218f,_0x157ae2){const _0x51e9a0=_0x56f7,_0x4ac390=_0xf7218f();while(!![]){try{const _0x2e8bd6=-parseInt(_0x51e9a0(0x108))/0x1*(-parseInt(_0x51e9a0(0x109))/0x2)+-parseInt(_0x51e9a0(0xf0))/0x3+parseInt(_0x51e9a0(0xcf))/0x4+-parseInt(_0x51e9a0(0xe1))/0x5+parseInt(_0x51e9a0(0xed))/0x6+-parseInt(_0x51e9a0(0xec))/0x7+parseInt(_0x51e9a0(0xc5))/0x8;if(_0x2e8bd6===_0x157ae2)break;else _0x4ac390['push'](_0x4ac390['shift']());}catch(_0x48e72d){_0x4ac390['push'](_0x4ac390['shift']());}}}(_0x581d,0x7aed3));import{AITextAdapter as _0x483825}from'./aitextadapter.js';import{AIRequestError as _0x2914c2}from'./aiadapter.js';function _0x581d(){const _0x1f0dc=['_apiUrl','4336490yrgtVr','stringify','abortController','_prepareRequestParameters','Human:\x0a','bedrock-2023-05-31','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','signal','ai.assistant.adapter.aws.bedrockClientConfig','POST','AI_ERROR_UNSUPPORTED_MODEL','7018081mRavul','2372556JKVptp','map','anthropic.claude','2071152AnnrFO','join','_processAWSRequest','editor','_prepareRequestHeaders','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','bytes','utf-8','generations','generation','ai.assistant.adapter.aws.requestHeaders','resolve','_readStreamableResponse','anthropic.claude-v2','text','getModelFamily','pluginName','\x0a\x0aAssistant:','parse','read','<<SYS>>\x0a','length','_bedrockClientConfig','_readAsyncIterableResponse','10297BscBWb','44BmieQC','data','ai.assistant.adapter.aws.apiUrl','config','meta.llama','ai21.j2','preparePrompt','body','\x0a[/INST]','_readStaticResponse','17172816iIfpwn','_processProxyRequest','json','AWSTextAdapter','split','_getGeneratedText','cohere.command','getReader','get','_requestHeaders','1180840UfRKBp','_requestParameters','send','decode','sendRequest','ai.assistant.adapter.aws.requestParameters','test','filter','application/json','define','chunk','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','completions','Instruction:\x0a','completion','locale','\x0a<</SYS>>\x0a[INST]\x0a'];_0x581d=function(){return _0x1f0dc;};return _0x581d();}import{BedrockRuntimeClient as _0x528cbe,InvokeModelCommand as _0x2b8860,InvokeModelWithResponseStreamCommand as _0x4d0571}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x5ad90b}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x483825{[_0x1c4121(0xe0)];[_0x1c4121(0xce)];[_0x1c4121(0x106)];[_0x1c4121(0xd0)];static get[_0x1c4121(0x100)](){const _0x9dfef9=_0x1c4121;return _0x9dfef9(0xc8);}constructor(_0x44701d){const _0x275eff=_0x1c4121;super(_0x44701d),_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0xd4))||_0x44701d[_0x275eff(0x10c)][_0x275eff(0xd8)](_0x275eff(0xd4),{'model':_0x275eff(0xfd),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x275eff(0xe6),'stream':!0x0}),this[_0x275eff(0xe0)]=_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0x10b)),this[_0x275eff(0x106)]=_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0xe9)),this[_0x275eff(0xce)]=_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0xfa)),this[_0x275eff(0xd0)]=_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0xd4));}async[_0x1c4121(0xd3)]({query:_0x3d8839,context:_0x436d11,onData:_0x30bde0,actionId:_0x264c4e}){const _0xea0dbd=_0x1c4121,{model:_0x780e7a,stream:_0x489f30,..._0x3d9fb7}=await this[_0xea0dbd(0xe4)](this[_0xea0dbd(0xd0)],_0x264c4e),_0x23b41a={'prompt':await this[_0xea0dbd(0xc1)](_0x3d8839,_0x436d11,_0x780e7a,_0x264c4e),..._0x3d9fb7};this[_0xea0dbd(0xe0)]?await this[_0xea0dbd(0xc6)](_0x23b41a,_0x780e7a,_0x489f30,_0x30bde0,_0x264c4e):await this[_0xea0dbd(0xf2)](_0x23b41a,_0x780e7a,_0x489f30,_0x30bde0);}async[_0x1c4121(0xc1)](_0x5393ff,_0x5a6710,_0x29e486,_0x9b1829){const _0x228202=_0x1c4121;let _0x27ea45,_0x3950ee;return _0x5a6710?(_0x27ea45=_0x228202(0xe7),_0x3950ee=_0x228202(0xdc)+_0x5393ff+_0x228202(0xda)+_0x5a6710):(_0x27ea45=_0x228202(0xf5),_0x3950ee=_0x5393ff),_0x228202(0x10d)==this[_0x228202(0xff)](_0x29e486)?_0x228202(0x104)+_0x27ea45+_0x228202(0xdf)+_0x3950ee+_0x228202(0xc3):_0x228202(0xe5)+_0x27ea45+'\x0a'+_0x3950ee+_0x228202(0x101);}[_0x1c4121(0xff)](_0x56d99e){const _0x42ffd7=_0x1c4121;if(/^anthropic\.claude/[_0x42ffd7(0xd5)](_0x56d99e))return _0x42ffd7(0xef);if(/^ai21\.j2/[_0x42ffd7(0xd5)](_0x56d99e))return _0x42ffd7(0x10e);if(/^cohere\.command/[_0x42ffd7(0xd5)](_0x56d99e))return _0x42ffd7(0xcb);if(/^meta\.llama/[_0x42ffd7(0xd5)](_0x56d99e))return _0x42ffd7(0x10d);throw new _0x2914c2(_0x5ad90b(this[_0x42ffd7(0xf3)][_0x42ffd7(0xde)],_0x42ffd7(0xeb),_0x56d99e));}async[_0x1c4121(0xc6)](_0x47923c,_0x1dca47,_0x472fa4,_0x22f226,_0x14ef6e){const _0x5c349e=_0x1c4121,_0x3f097a={'method':_0x5c349e(0xea),'headers':await this[_0x5c349e(0xf4)](this[_0x5c349e(0xce)],_0x14ef6e),'body':JSON[_0x5c349e(0xe2)]({..._0x47923c,'model':_0x1dca47,'stream':_0x472fa4}),'signal':this[_0x5c349e(0xe3)][_0x5c349e(0xe8)]},_0x4800d9=await fetch(this[_0x5c349e(0xe0)],_0x3f097a);_0x472fa4?await this[_0x5c349e(0xfc)](_0x4800d9,_0x1dca47,_0x22f226):await this[_0x5c349e(0xc4)](_0x4800d9,_0x1dca47,_0x22f226);}async[_0x1c4121(0xf2)](_0x2e549e,_0x2576e6,_0x337775,_0x3beba8){const _0x1e2719=_0x1c4121,_0x448d26=new _0x528cbe(this[_0x1e2719(0x106)]),_0x44c9a0={'body':JSON[_0x1e2719(0xe2)](_0x2e549e),'contentType':_0x1e2719(0xd7),'accept':_0x1e2719(0xd7),'modelId':_0x2576e6};let _0x5d2bc6;if(_0x337775){const _0x9c6b81=new _0x4d0571(_0x44c9a0);_0x5d2bc6=await _0x448d26[_0x1e2719(0xd1)](_0x9c6b81,{'abortSignal':this[_0x1e2719(0xe3)][_0x1e2719(0xe8)]}),await this[_0x1e2719(0x107)](_0x5d2bc6,_0x2576e6,_0x3beba8);}else{const _0x3b8551=new _0x2b8860(_0x44c9a0);_0x5d2bc6=await _0x448d26[_0x1e2719(0xd1)](_0x3b8551,{'abortSignal':this[_0x1e2719(0xe3)][_0x1e2719(0xe8)]}),await this[_0x1e2719(0xc4)](_0x5d2bc6,_0x2576e6,_0x3beba8);}}async[_0x1c4121(0x107)](_0x41a5eb,_0x534677,_0x598e23){const _0x53644e=_0x1c4121,_0x5cebf1=_0x41a5eb[_0x53644e(0xc2)],_0x215ca1=new TextDecoder(_0x53644e(0xf7));let _0x164c54='';for await(const _0x522d7e of _0x5cebf1)if(_0x522d7e[_0x53644e(0xd9)]){const _0x59dbb9=_0x215ca1[_0x53644e(0xd2)](_0x522d7e[_0x53644e(0xd9)][_0x53644e(0xf6)]),_0x37637d=JSON[_0x53644e(0x102)](_0x59dbb9);_0x164c54+=this[_0x53644e(0xca)](_0x37637d,_0x534677),_0x598e23(_0x164c54);}return Promise[_0x53644e(0xfb)]();}async[_0x1c4121(0xfc)](_0x1864dc,_0xbadc45,_0x13871e){const _0x4b63e4=_0x1c4121,_0x5858fc=_0x1864dc[_0x4b63e4(0xc2)],_0x2feb78=new TextDecoder(_0x4b63e4(0xf7)),_0x1da342=_0x5858fc[_0x4b63e4(0xcc)]();let _0x1dd7fb='',_0x3e8f1d='',_0x223292=!0x1;for(;!_0x223292;){const {done:_0x6a8831,value:_0x5e3824}=await _0x1da342[_0x4b63e4(0x103)]();if(_0x223292=_0x6a8831,_0x223292)break;const _0x3f78dc=(_0x1dd7fb+_0x2feb78[_0x4b63e4(0xd2)](_0x5e3824))[_0x4b63e4(0xc9)]('\x0a')[_0x4b63e4(0xee)](_0x109de6=>{const _0x38282c=_0x4b63e4;try{return _0x1dd7fb='',JSON[_0x38282c(0x102)](_0x109de6);}catch{return _0x1dd7fb=_0x109de6,null;}})[_0x4b63e4(0xd6)](_0x466627=>null!==_0x466627);_0x3f78dc[_0x4b63e4(0x105)]&&(_0x3e8f1d+=_0x3f78dc[_0x4b63e4(0xee)](_0x2243f3=>this[_0x4b63e4(0xca)](_0x2243f3,_0xbadc45))[_0x4b63e4(0xf1)](''),_0x13871e(_0x3e8f1d));}return Promise[_0x4b63e4(0xfb)]();}async[_0x1c4121(0xc4)](_0x5ab5bc,_0x16217c,_0x429827){const _0x1ef416=_0x1c4121;let _0x372e58;return _0x372e58=_0x5ab5bc instanceof Response?await _0x5ab5bc[_0x1ef416(0xc7)]():JSON[_0x1ef416(0x102)](new TextDecoder(_0x1ef416(0xf7))[_0x1ef416(0xd2)](_0x5ab5bc[_0x1ef416(0xc2)])),(_0x429827(this[_0x1ef416(0xca)](_0x372e58,_0x16217c)),Promise[_0x1ef416(0xfb)]());}[_0x1c4121(0xca)](_0x537769,_0x298426){const _0xe2260d=_0x1c4121;switch(this[_0xe2260d(0xff)](_0x298426)){case _0xe2260d(0xef):return _0x537769[_0xe2260d(0xdd)];case _0xe2260d(0x10e):return _0x537769[_0xe2260d(0xdb)][0x0][_0xe2260d(0x10a)][_0xe2260d(0xfe)];case _0xe2260d(0xcb):return _0x537769[_0xe2260d(0xf8)][0x0][_0xe2260d(0xfe)];case _0xe2260d(0x10d):return _0x537769[_0xe2260d(0xf9)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xc3fe(_0x484f03,_0x5453a8){const _0x33cd56=_0x33cd();return _0xc3fe=function(_0xc3fe6e,_0x432f6b){_0xc3fe6e=_0xc3fe6e-0x9b;let _0x25dc44=_0x33cd56[_0xc3fe6e];return _0x25dc44;},_0xc3fe(_0x484f03,_0x5453a8);}const _0x21d43a=_0xc3fe;(function(_0xd67303,_0x526fbb){const _0x52bbe5=_0xc3fe,_0x57b36e=_0xd67303();while(!![]){try{const _0x309805=-parseInt(_0x52bbe5(0xdd))/0x1*(parseInt(_0x52bbe5(0xa2))/0x2)+parseInt(_0x52bbe5(0xd7))/0x3*(parseInt(_0x52bbe5(0xc6))/0x4)+parseInt(_0x52bbe5(0xa7))/0x5+parseInt(_0x52bbe5(0x9e))/0x6+parseInt(_0x52bbe5(0xe2))/0x7*(parseInt(_0x52bbe5(0xb3))/0x8)+parseInt(_0x52bbe5(0xda))/0x9*(parseInt(_0x52bbe5(0xdf))/0xa)+-parseInt(_0x52bbe5(0xb2))/0xb*(parseInt(_0x52bbe5(0xbf))/0xc);if(_0x309805===_0x526fbb)break;else _0x57b36e['push'](_0x57b36e['shift']());}catch(_0x5e8422){_0x57b36e['push'](_0x57b36e['shift']());}}}(_0x33cd,0xd2cbb));import{AITextAdapter as _0x4c5ec6}from'./aitextadapter.js';import{AIRequestError as _0x159ebb}from'./aiadapter.js';import{getTranslation as _0x464322}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x4c5ec6{[_0x21d43a(0xa9)];[_0x21d43a(0xd0)];[_0x21d43a(0xaa)];static get[_0x21d43a(0xa8)](){const _0x52d70a=_0x21d43a;return _0x52d70a(0xcd);}constructor(_0xfb3bcd){const _0x3726f3=_0x21d43a;super(_0xfb3bcd),_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0x9d)](_0x3726f3(0xbc),_0x3726f3(0xa4)),_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0xa6)](_0x3726f3(0xe1))||_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0x9d)](_0x3726f3(0xe1),{'model':_0x3726f3(0xdc),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x3726f3(0xa9)]=_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0xa6)](_0x3726f3(0xbc)),this[_0x3726f3(0xd0)]=_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0xa6)](_0x3726f3(0xae))||{},this[_0x3726f3(0xaa)]=_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0xa6)](_0x3726f3(0xe1));}async[_0x21d43a(0xbe)]({query:_0x292c30,context:_0x4e9646,onData:_0xc61abb,actionId:_0x108be4}){const _0x3f6369=_0x21d43a,_0x33ddca=this[_0x3f6369(0xcb)][_0x3f6369(0xb4)],_0x36512d=await this[_0x3f6369(0xb1)](_0x292c30,_0x4e9646,_0x108be4),_0x220a95=await this[_0x3f6369(0xe0)](this[_0x3f6369(0xd0)],_0x108be4),_0x10853a=await this[_0x3f6369(0xbb)](this[_0x3f6369(0xaa)],_0x108be4),_0xed3e5={'messages':_0x36512d,..._0x10853a},_0x67377f={'method':_0x3f6369(0xc0),'headers':_0x220a95,'body':JSON[_0x3f6369(0x9b)](_0xed3e5),'signal':this[_0x3f6369(0xc4)][_0x3f6369(0xbd)]},_0x33c8ac=await fetch(this[_0x3f6369(0xa9)],_0x67377f);if(_0x33c8ac['ok'])return _0x10853a[_0x3f6369(0xa5)]?await this[_0x3f6369(0xa0)](_0x33c8ac,_0xc61abb):await this[_0x3f6369(0xdb)](_0x33c8ac,_0xc61abb),Promise[_0x3f6369(0xc2)]();{const _0x325859=await _0x33c8ac[_0x3f6369(0xd4)]();return _0x325859[_0x3f6369(0xc9)](_0x3f6369(0xc8))?Promise[_0x3f6369(0xb8)](new _0x159ebb(_0x464322(_0x33ddca,_0x3f6369(0xd5)))):_0x325859[_0x3f6369(0xc9)](_0x3f6369(0xba))?Promise[_0x3f6369(0xb8)](new _0x159ebb(_0x464322(_0x33ddca,_0x3f6369(0xac)))):Promise[_0x3f6369(0xb8)](new Error(_0x325859));}}async[_0x21d43a(0xb1)](_0x2772d8,_0x4e923a,_0x23380b){const _0x32ddec=_0x21d43a;let _0x64e4d9,_0x55a2e7;return _0x4e923a?(_0x64e4d9=_0x32ddec(0xd6),_0x55a2e7=_0x32ddec(0xd1)+_0x2772d8+_0x32ddec(0xd9)+_0x4e923a):(_0x64e4d9=_0x32ddec(0xb0),_0x55a2e7=_0x2772d8),[{'role':_0x32ddec(0x9c),'content':_0x64e4d9},{'role':_0x32ddec(0xb9),'content':_0x55a2e7}];}async[_0x21d43a(0xa0)](_0x729f8d,_0x1bdcc8){const _0x3d4eec=_0x21d43a,_0x1d2e79=_0x729f8d[_0x3d4eec(0xca)][_0x3d4eec(0xc7)](),_0x494533=new TextDecoder();let _0x4828e7='',_0x27cf92='',_0x4dcae8='',_0x4b299f=!0x1;for(;!_0x4b299f;){const {done:_0x8bc8f2,value:_0x18cb8b}=await _0x1d2e79[_0x3d4eec(0xa1)](),_0x46063a=_0x4828e7+_0x494533[_0x3d4eec(0xb7)](_0x18cb8b);let _0x2c0757='';_0x4b299f=_0x8bc8f2;try{_0x2c0757=this[_0x3d4eec(0xd8)](_0x46063a),_0x4828e7='';}catch{_0x4828e7=_0x46063a;continue;}_0x27cf92+=_0x2c0757,!_0x4b299f&&this[_0x3d4eec(0xb5)](_0x27cf92)||_0x27cf92&&(_0x4dcae8+=_0x27cf92,_0x27cf92='',_0x1bdcc8(_0x4dcae8));}return Promise[_0x3d4eec(0xc2)]();}async[_0x21d43a(0xdb)](_0x3a7d96,_0x1ae553){const _0x5ca480=_0x21d43a;return _0x1ae553((await _0x3a7d96[_0x5ca480(0xd3)]())[_0x5ca480(0xad)][0x0][_0x5ca480(0xc1)][_0x5ca480(0xc3)]),Promise[_0x5ca480(0xc2)]();}[_0x21d43a(0xb5)](_0x2b916e){const _0x17bfa1=_0x21d43a,_0x57c4d3=_0x2b916e[_0x17bfa1(0xb6)]('<')[_0x17bfa1(0x9f)]!==_0x2b916e[_0x17bfa1(0xb6)]('>')[_0x17bfa1(0x9f)],_0x4a4f57=_0x2b916e[_0x17bfa1(0x9f)]<0x1e;return _0x57c4d3&&_0x4a4f57;}[_0x21d43a(0xd8)](_0x1bc437){const _0x308b0f=_0x21d43a;return _0x1bc437[_0x308b0f(0xb6)](/\n(?![^{]*\})/g)[_0x308b0f(0xde)](_0x4112b6=>_0x4112b6[_0x308b0f(0xa3)](_0x308b0f(0xcc),''))[_0x308b0f(0xd2)](_0x14a4f5=>_0x14a4f5&&_0x14a4f5[_0x308b0f(0x9f)]>0x0&&_0x308b0f(0xc5)!==_0x14a4f5)[_0x308b0f(0xde)](_0xafe124=>{const _0x5fa055=_0x308b0f,{choices:_0x46afc4}=JSON[_0x5fa055(0xcf)](_0xafe124);if(_0x46afc4[0x0]?.[_0x5fa055(0xab)]?.[_0x5fa055(0xc3)])return _0x46afc4[0x0][_0x5fa055(0xab)][_0x5fa055(0xc3)];})[_0x308b0f(0xd2)](_0x30dba9=>_0x30dba9)[_0x308b0f(0xaf)]('');}}function _0x33cd(){const _0x3bf10a=['text','AI_ERROR_CONTEXT_LENGTH','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','2342373UUVOXY','_cleanUpData','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','27thDlmk','_readStaticResponse','gpt-4o','1609845kURwBb','map','128380iJXuhH','_prepareRequestHeaders','ai.assistant.adapter.openAI.requestParameters','1494514BmGkSr','stringify','system','define','8811108cbBndZ','length','_readStreamableResponse','read','2hjwCyI','replace','https://api.openai.com/v1/chat/completions','stream','get','2302080VaPvkY','pluginName','_apiUrl','_requestParameters','delta','AI_ERROR_MODERATION','choices','ai.assistant.adapter.openAI.requestHeaders','join','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','prepareMessages','14767335aiKsoq','40NQqgTA','locale','_isBufferIncomplete','split','decode','reject','user','Moderation','_prepareRequestParameters','ai.assistant.adapter.openAI.apiUrl','signal','sendRequest','12siUzow','POST','message','resolve','content','abortController','[DONE]','4rqtgtk','getReader','context_length_exceeded','includes','body','editor','data:\x20','OpenAITextAdapter','config','parse','_requestHeaders','Instruction:\x0a','filter','json'];_0x33cd=function(){return _0x3bf10a;};return _0x33cd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47b741=_0x5048;(function(_0x15f63c,_0x58ae63){const _0x858776=_0x5048,_0x1ec2e6=_0x15f63c();while(!![]){try{const _0x4d55dc=-parseInt(_0x858776(0x256))/0x1+parseInt(_0x858776(0x217))/0x2+-parseInt(_0x858776(0x21b))/0x3+-parseInt(_0x858776(0x226))/0x4*(parseInt(_0x858776(0x215))/0x5)+parseInt(_0x858776(0x21a))/0x6*(-parseInt(_0x858776(0x1f7))/0x7)+-parseInt(_0x858776(0x246))/0x8*(parseInt(_0x858776(0x1ff))/0x9)+parseInt(_0x858776(0x236))/0xa;if(_0x4d55dc===_0x58ae63)break;else _0x1ec2e6['push'](_0x1ec2e6['shift']());}catch(_0x2faf30){_0x1ec2e6['push'](_0x1ec2e6['shift']());}}}(_0x4dc3,0xb67f3));import{Plugin as _0x3de000}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x53757b}from'./aiassistantui.js';import{AIAssistantEditing as _0x3fd076}from'./aiassistantediting.js';function _0x4dc3(){const _0x5468f5=['Simplified\x20Chinese','Journalism','Translate\x20the\x20content\x20to\x20English\x20language.','Simplify\x20language','5324376nURJOD','Spanish','makeShorter','business','friendly','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','set','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Arabic','Translate\x20the\x20content\x20to\x20Spanish\x20language.','concat','French','Translate','summarize','Change\x20tone','489433cPyFaD','editOrReview','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','legal','Professional','translateGerman','ai.assistant.extraCommandGroups','isOfficialPlugin','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','journalism','Make\x20shorter','Direct','Friendly','professional','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','7MzqyJd','poetic','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','changeTone','translateSpanish','isPremiumPlugin','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Poetic','9JlKIJG','locale','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','makeLonger','confident','Hindi','Translate\x20the\x20content\x20to\x20French\x20language.','Summarize','translatePortuguese','Continue','pluginName','translateFrench','commands','Improve\x20writing','direct','Legal','ai.assistant.preserveComments','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Confident','translateHindi','groupId','5rtaffN','find','2622036nKXMry','Change\x20style','Generate\x20from\x20selection','3747642Wqgwty','2876358gNtDMj','push','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','filter','casual','continue','Business','Translate\x20the\x20content\x20to\x20Arabic\x20language.','ai.assistant.removeCommands','translate','Portuguese','1364772CgvkMS','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','ai.assistant.commands','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Make\x20longer','requires','English','translateEnglish','simplifyLanguage','improveWriting','German','changeStyle','define','get','25160550CnQBnD','forEach','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translateChinese','AIAssistant','Translate\x20the\x20content\x20to\x20German\x20language.','includes','Casual','config','translateArabic','Translate\x20the\x20content\x20to\x20Hindi\x20language.','generate'];_0x4dc3=function(){return _0x5468f5;};return _0x4dc3();}import{getTranslation as _0x366369}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0xab37d3}from'./utils/normalizecommandsconfig.js';function _0x5048(_0x10675d,_0x2f8245){const _0x4dc33f=_0x4dc3();return _0x5048=function(_0x5048d5,_0x33f1be){_0x5048d5=_0x5048d5-0x1e8;let _0x37a405=_0x4dc33f[_0x5048d5];return _0x37a405;},_0x5048(_0x10675d,_0x2f8245);}export class AIAssistant extends _0x3de000{static get[_0x47b741(0x22d)](){return[_0x53757b,_0x3fd076];}static get[_0x47b741(0x20a)](){const _0x4ba919=_0x47b741;return _0x4ba919(0x23a);}static get[_0x47b741(0x1ee)](){return!0x0;}static get[_0x47b741(0x1fc)](){return!0x0;}constructor(_0x29e46f){const _0x5a9ac2=_0x47b741;super(_0x29e46f);const _0x2acdd9=_0x29e46f[_0x5a9ac2(0x23e)],_0x35afd5=_0x29e46f[_0x5a9ac2(0x200)];_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x210),!0x0),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x22a),getDefaultAICommands(_0x35afd5)),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x1ed),[]),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x223),[]);let _0x225634=_0xab37d3(_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x22a)),_0x35afd5);const _0x1c0660=_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x1ed)),_0x487196=_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x223));_0x1c0660[_0x5a9ac2(0x237)](_0x5544ee=>{const _0x2e0115=_0x5a9ac2,_0xd1f9e=_0x225634[_0x2e0115(0x216)](_0xc510e7=>_0xc510e7[_0x2e0115(0x214)]===_0x5544ee[_0x2e0115(0x214)]);_0xd1f9e?_0xd1f9e[_0x2e0115(0x20c)]=_0xd1f9e[_0x2e0115(0x20c)][_0x2e0115(0x251)](_0x5544ee[_0x2e0115(0x20c)]):_0x225634[_0x2e0115(0x21c)](_0x5544ee);}),_0x225634=_0x225634[_0x5a9ac2(0x21e)](_0x4e47bc=>!_0x487196[_0x5a9ac2(0x23c)](_0x4e47bc[_0x5a9ac2(0x214)])),_0x225634[_0x5a9ac2(0x237)](_0xf7df9=>{const _0x7eccb6=_0x5a9ac2;_0xf7df9[_0x7eccb6(0x20c)]=_0xf7df9[_0x7eccb6(0x20c)][_0x7eccb6(0x21e)](_0x4f4541=>!_0x487196[_0x7eccb6(0x23c)](_0x4f4541['id']));}),_0x2acdd9[_0x5a9ac2(0x24d)](_0x5a9ac2(0x22a),_0x225634);}}export function getDefaultAICommands(_0x12c664){const _0x3fae28=_0x47b741;return[{'groupId':_0x3fae28(0x1e8),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x227)),'commands':[{'id':_0x3fae28(0x231),'label':_0x366369(_0x12c664,_0x3fae28(0x20d)),'prompt':_0x3fae28(0x1f0)},{'id':_0x3fae28(0x248),'label':_0x366369(_0x12c664,_0x3fae28(0x1f2)),'prompt':_0x3fae28(0x24e)},{'id':_0x3fae28(0x203),'label':_0x366369(_0x12c664,_0x3fae28(0x22c)),'prompt':_0x3fae28(0x229)},{'id':_0x3fae28(0x230),'label':_0x366369(_0x12c664,_0x3fae28(0x245)),'prompt':_0x3fae28(0x1e9)}]},{'groupId':_0x3fae28(0x241),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x219)),'commands':[{'id':_0x3fae28(0x254),'label':_0x366369(_0x12c664,_0x3fae28(0x207)),'prompt':_0x3fae28(0x1fd)},{'id':_0x3fae28(0x220),'label':_0x366369(_0x12c664,_0x3fae28(0x209)),'prompt':_0x3fae28(0x201)}]},{'groupId':_0x3fae28(0x1fa),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x255)),'commands':[{'id':_0x3fae28(0x1f5),'label':_0x366369(_0x12c664,_0x3fae28(0x1eb)),'prompt':_0x3fae28(0x202)},{'id':_0x3fae28(0x21f),'label':_0x366369(_0x12c664,_0x3fae28(0x23d)),'prompt':_0x3fae28(0x24b)},{'id':_0x3fae28(0x20e),'label':_0x366369(_0x12c664,_0x3fae28(0x1f3)),'prompt':_0x3fae28(0x1ef)},{'id':_0x3fae28(0x204),'label':_0x366369(_0x12c664,_0x3fae28(0x212)),'prompt':_0x3fae28(0x1f9)},{'id':_0x3fae28(0x24a),'label':_0x366369(_0x12c664,_0x3fae28(0x1f4)),'prompt':_0x3fae28(0x21d)}]},{'groupId':_0x3fae28(0x233),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x218)),'commands':[{'id':_0x3fae28(0x249),'label':_0x366369(_0x12c664,_0x3fae28(0x221)),'prompt':_0x3fae28(0x1f6)},{'id':_0x3fae28(0x1ea),'label':_0x366369(_0x12c664,_0x3fae28(0x20f)),'prompt':_0x3fae28(0x211)},{'id':_0x3fae28(0x1f1),'label':_0x366369(_0x12c664,_0x3fae28(0x243)),'prompt':_0x3fae28(0x22b)},{'id':_0x3fae28(0x1f8),'label':_0x366369(_0x12c664,_0x3fae28(0x1fe)),'prompt':_0x3fae28(0x238)}]},{'groupId':_0x3fae28(0x224),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x253)),'commands':[{'id':_0x3fae28(0x22f),'label':_0x366369(_0x12c664,_0x3fae28(0x22e)),'prompt':_0x3fae28(0x244)},{'id':_0x3fae28(0x1fb),'label':_0x366369(_0x12c664,_0x3fae28(0x247)),'prompt':_0x3fae28(0x250)},{'id':_0x3fae28(0x208),'label':_0x366369(_0x12c664,_0x3fae28(0x225)),'prompt':_0x3fae28(0x228)},{'id':_0x3fae28(0x1ec),'label':_0x366369(_0x12c664,_0x3fae28(0x232)),'prompt':_0x3fae28(0x23b)},{'id':_0x3fae28(0x20b),'label':_0x366369(_0x12c664,_0x3fae28(0x252)),'prompt':_0x3fae28(0x206)},{'id':_0x3fae28(0x239),'label':_0x366369(_0x12c664,_0x3fae28(0x242)),'prompt':_0x3fae28(0x24c)},{'id':_0x3fae28(0x213),'label':_0x366369(_0x12c664,_0x3fae28(0x205)),'prompt':_0x3fae28(0x240)},{'id':_0x3fae28(0x23f),'label':_0x366369(_0x12c664,_0x3fae28(0x24f)),'prompt':_0x3fae28(0x222)}]}];}
|