@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
|
|
23
|
+
const _0x238cee=_0x22bc;(function(_0x137760,_0x4d0cd5){const _0x29bba8=_0x22bc,_0x4c4e7e=_0x137760();while(!![]){try{const _0x54ef9b=-parseInt(_0x29bba8(0xa9))/0x1+parseInt(_0x29bba8(0x93))/0x2+parseInt(_0x29bba8(0xa8))/0x3*(-parseInt(_0x29bba8(0xc0))/0x4)+parseInt(_0x29bba8(0x7d))/0x5+parseInt(_0x29bba8(0xb7))/0x6*(-parseInt(_0x29bba8(0xbe))/0x7)+-parseInt(_0x29bba8(0x8a))/0x8+-parseInt(_0x29bba8(0x89))/0x9*(-parseInt(_0x29bba8(0x92))/0xa);if(_0x54ef9b===_0x4d0cd5)break;else _0x4c4e7e['push'](_0x4c4e7e['shift']());}catch(_0x579d50){_0x4c4e7e['push'](_0x4c4e7e['shift']());}}}(_0x158e,0xb9d87));import{View as _0x35b443,ListItemView as _0x1e6f73,ListView as _0x2cf763,BalloonPanelView as _0x47f0e0,DropdownMenuPanelPositioningFunctions as _0xfb0780,DropdownMenuButtonView as _0x4dfc9d,ViewCollection as _0x34cc4d,FocusCycler as _0x1da75d}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x252088}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2ab46e,KeystrokeHandler as _0x40f1d9}from'ckeditor5/src/utils.js';function _0x22bc(_0x1950f4,_0x2df7b5){const _0x158eb3=_0x158e();return _0x22bc=function(_0x22bcfd,_0x1f824a){_0x22bcfd=_0x22bcfd-0x73;let _0x2907b8=_0x158eb3[_0x22bcfd];return _0x2907b8;},_0x22bc(_0x1950f4,_0x2df7b5);}import{aiQuickActionsButtonCreator as _0x731a07}from'./aiquickactionsbuttoncreator.js';function _0x158e(){const _0x1090a5=['rtl','_hideAllNestedPanels','_hideNestedPanel','forEach','menuitem','1276758erJEXc','.ck-ai-quick-actions-group-button','set','focusTracker','render','eastSouth','.ck-ai-quick-actions-group-list','7wuAfWa','clear','32nPTwtu','focus','_openNestedPanels','get','ArrowLeft','role','pin','ck-ai-quick-actions','ck-ai-quick-actions-group-panel','add','_isMovingToNestedMenu','_showNestedPanel','label','7535255kvcJxM','_focusables','div','uiLanguageDirection','contains','ArrowRight','ck-ai-quick-actions-group-button','ck-dropdown-menu__nested-menu__panel','isOn','children','detachFromDom','hide','2492622mqrTBw','10844696OYBqdY','content','addEventListener','delete','closest','extendTemplate','key','locale','10IWleBi','2397138WPNucA','ck-rounded-corners','addMany','_createActionGroupButton','ck-ai-quick-actions-group-list','_setupGroupMenuBehavior','optionsListView','show','_createActionButton','relatedTarget','ck-dropdown-menu-list','.ck-ai-quick-actions-group-panel','setTemplate','destroy','_createListItems','_bodyCollection','bindTemplate','icon','bind','keystrokes','isVisible','237264WNmuIm','20271zTWGPj','actions','menu','_createGroupActionsList','mouseleave','element','items','focusCycler','ck-reset_all'];_0x158e=function(){return _0x1090a5;};return _0x158e();}const Ls=_0x238cee(0xab),Ns=_0x238cee(0xb6);export class AIQuickActionsDropdownContentView extends _0x35b443{[_0x238cee(0xa2)];[_0x238cee(0x99)];[_0x238cee(0xba)];[_0x238cee(0xa6)];[_0x238cee(0x7e)];[_0x238cee(0xb0)];[_0x238cee(0xc2)]=new Set();constructor(_0x27081c,_0x5cb5e4,_0x36b27c,_0x12c3ac){const _0x33313b=_0x238cee,_0x4fb7ce=_0x27081c[_0x33313b(0x91)];super(_0x4fb7ce),this[_0x33313b(0xa2)]=_0x12c3ac;const _0x436a9c=this[_0x33313b(0xa1)](_0x27081c,_0x5cb5e4,_0x36b27c);this[_0x33313b(0x99)]=new _0x2cf763(_0x4fb7ce),this[_0x33313b(0x99)][_0x33313b(0x75)]=Ls,this[_0x33313b(0x99)][_0x33313b(0xaf)][_0x33313b(0x95)](_0x436a9c),this[_0x33313b(0xba)]=new _0x2ab46e(),this[_0x33313b(0xa6)]=new _0x40f1d9(),this[_0x33313b(0x7e)]=_0x436a9c,this[_0x33313b(0xb0)]=new _0x1da75d({'focusables':this[_0x33313b(0x7e)],'focusTracker':this[_0x33313b(0xba)],'keystrokeHandler':this[_0x33313b(0xa6)]}),this[_0x33313b(0x9f)]({'tag':_0x33313b(0x7f),'attributes':{'class':['ck',_0x33313b(0xb1),_0x33313b(0x77),_0x33313b(0x94)],'dir':_0x4fb7ce[_0x33313b(0x80)]},'children':[this[_0x33313b(0x99)]]});}[_0x238cee(0xa1)](_0x145f33,_0x1e8baf,_0x92c2a4){const _0x137cdb=_0x238cee,_0x49c32e=new _0x34cc4d();return _0x1e8baf[_0x137cdb(0xb5)](_0x4764b1=>{const _0x41c088=_0x137cdb;_0x41c088(0xaa)in _0x4764b1?_0x49c32e[_0x41c088(0x79)](this[_0x41c088(0x96)](_0x145f33,_0x4764b1,_0x92c2a4)):_0x49c32e[_0x41c088(0x79)](this[_0x41c088(0x9b)](_0x145f33,_0x4764b1));}),_0x49c32e;}[_0x238cee(0x9b)](_0x462966,_0x44f619){const _0x4a2d43=_0x238cee,_0x44c03f=new _0x1e6f73(this[_0x4a2d43(0x91)]),_0x1e5d8f=_0x731a07(_0x462966,_0x44f619,!0x0,void 0x0!==_0x44f619[_0x4a2d43(0xa4)])();return _0x44c03f[_0x4a2d43(0x86)][_0x4a2d43(0x79)](_0x1e5d8f),_0x44c03f;}[_0x238cee(0x96)](_0x40517f,_0x263449,_0x7afdea){const _0x4fa6b0=_0x238cee,_0x354869=new _0x1e6f73(this[_0x4fa6b0(0x91)]),_0x41d5e8=new _0x4dfc9d(this[_0x4fa6b0(0x91)]),_0x33a847=_0x41d5e8[_0x4fa6b0(0xa3)],_0x2ec997=_0x4fa6b0(0xb2)===_0x7afdea[_0x4fa6b0(0x91)][_0x4fa6b0(0x80)]?_0x4fa6b0(0x82):_0x4fa6b0(0x74),_0x5a0bf6=this[_0x4fa6b0(0xac)](_0x40517f,_0x263449[_0x4fa6b0(0xaa)],_0x7afdea);_0x41d5e8[_0x4fa6b0(0xb9)]({'label':_0x263449[_0x4fa6b0(0x7c)],'withText':!0x0,'role':Ns,'icon':_0x263449[_0x4fa6b0(0xa4)]??_0x252088}),_0x41d5e8[_0x4fa6b0(0x8f)]({'on':{'mouseenter':_0x33a847['to'](()=>{const _0xf346ea=_0x4fa6b0;_0x41d5e8[_0xf346ea(0xc1)]();})}});const _0x38aad0=new _0x47f0e0(this[_0x4fa6b0(0x91)]);return _0x38aad0[_0x4fa6b0(0x8f)]({'attributes':{'class':['ck',_0x4fa6b0(0xb1),_0x4fa6b0(0x78),_0x4fa6b0(0x84)]},'on':{'keydown':_0x33a847['to'](_0x259efa=>{const _0x433c4e=_0x4fa6b0;_0x259efa[_0x433c4e(0x90)]==_0x2ec997&&(_0x41d5e8[_0x433c4e(0xc1)](),this[_0x433c4e(0xb4)](_0x38aad0));})}}),_0x41d5e8[_0x4fa6b0(0xa5)](_0x4fa6b0(0x85))['to'](_0x38aad0,_0x4fa6b0(0xa7)),this[_0x4fa6b0(0xa2)][_0x4fa6b0(0x79)](_0x38aad0),_0x38aad0[_0x4fa6b0(0x8b)][_0x4fa6b0(0x79)](_0x5a0bf6),this[_0x4fa6b0(0x98)](_0x41d5e8,_0x38aad0),_0x354869[_0x4fa6b0(0x86)][_0x4fa6b0(0x79)](_0x41d5e8),_0x354869;}[_0x238cee(0xac)](_0x4b605f,_0x4e6465,_0x5cf006){const _0x441056=_0x238cee,_0x262dc7=new _0x2cf763(this[_0x441056(0x91)]);return _0x262dc7[_0x441056(0x8f)]({'attributes':{'class':['ck',_0x441056(0xb1),_0x441056(0x97),_0x441056(0x9d)]}}),_0x4e6465[_0x441056(0xb5)](_0x5cc068=>{const _0x9ed86=_0x441056,_0x1ece85=new _0x1e6f73(this[_0x9ed86(0x91)]),_0xa1e620=_0x731a07(_0x4b605f,_0x5cc068,!0x0,!0x1)();_0x1ece85[_0x9ed86(0x86)][_0x9ed86(0x79)](_0xa1e620),_0x5cf006[_0x9ed86(0xba)][_0x9ed86(0x79)](_0xa1e620),_0x262dc7[_0x9ed86(0xaf)][_0x9ed86(0x79)](_0x1ece85);}),_0x262dc7;}[_0x238cee(0x98)](_0x5cfe21,_0x158f4b){const _0x2003c5=_0x238cee,_0x409d39=_0x5cfe21[_0x2003c5(0xa3)],_0x47d1e3=_0x2003c5(0xb2)===_0x5cfe21[_0x2003c5(0x91)][_0x2003c5(0x80)]?_0x2003c5(0x74):_0x2003c5(0x82);_0x5cfe21[_0x2003c5(0x8f)]({'attributes':{'class':[_0x2003c5(0x83)]},'on':{'mouseenter':_0x409d39['to'](()=>{const _0x210058=_0x2003c5;this[_0x210058(0x7b)](_0x158f4b,_0x5cfe21);}),'mouseleave':_0x409d39['to'](_0xc0d0f6=>{const _0x20847e=_0x2003c5,_0x408a2f=_0xc0d0f6[_0x20847e(0x9c)];this[_0x20847e(0x7a)](_0x408a2f,_0x158f4b)||this[_0x20847e(0xb4)](_0x158f4b);}),'keydown':_0x409d39['to'](_0x589e90=>{const _0x2384e3=_0x2003c5;_0x589e90[_0x2384e3(0x90)]==_0x47d1e3&&(this[_0x2384e3(0x7b)](_0x158f4b,_0x5cfe21),_0x158f4b[_0x2384e3(0x8b)][_0x2384e3(0x73)](0x0)[_0x2384e3(0xc1)]());})}}),_0x158f4b['on'](_0x2003c5(0xbb),()=>{const _0x50bf27=_0x2003c5;_0x158f4b[_0x50bf27(0xae)]?.[_0x50bf27(0x8c)](_0x50bf27(0xad),_0x86aad3=>{const _0x2b0075=_0x50bf27,_0x37b9f2=_0x86aad3[_0x2b0075(0x9c)];_0x5cfe21[_0x2b0075(0xae)]?.[_0x2b0075(0x81)](_0x37b9f2)||this[_0x2b0075(0x7a)](_0x37b9f2,_0x158f4b)||this[_0x2b0075(0xb4)](_0x158f4b);});});}[_0x238cee(0x7b)](_0x2cc6c6,_0x17e500){const _0x40bfdc=_0x238cee;this[_0x40bfdc(0xc2)][_0x40bfdc(0xb5)](_0xb94a7e=>{const _0x30b892=_0x40bfdc;_0xb94a7e!==_0x2cc6c6&&_0xb94a7e[_0x30b892(0xa7)]&&_0xb94a7e[_0x30b892(0x88)]();}),_0x2cc6c6[_0x40bfdc(0x9a)](),_0x2cc6c6[_0x40bfdc(0x76)]({'positions':[_0xfb0780[_0x40bfdc(0xbc)]],'target':_0x17e500[_0x40bfdc(0xae)],'fitInViewport':!0x0}),this[_0x40bfdc(0xc2)][_0x40bfdc(0x79)](_0x2cc6c6);}[_0x238cee(0xb4)](_0x114947){const _0x27adf4=_0x238cee;_0x114947[_0x27adf4(0x88)](),this[_0x27adf4(0xc2)][_0x27adf4(0x8d)](_0x114947);}[_0x238cee(0xb3)](){const _0x3a7e38=_0x238cee;this[_0x3a7e38(0xc2)][_0x3a7e38(0xb5)](_0x363f28=>_0x363f28[_0x3a7e38(0x88)]()),this[_0x3a7e38(0xc2)][_0x3a7e38(0xbf)]();}[_0x238cee(0x7a)](_0x3198f2,_0x2bb147){const _0x5c618c=_0x238cee;if(!_0x3198f2)return!0x1;if(_0x2bb147[_0x5c618c(0xae)]?.[_0x5c618c(0x81)](_0x3198f2))return!0x0;const _0x5c5196=_0x3198f2;return _0x5c5196[_0x5c618c(0x8e)]&&(null!==_0x5c5196[_0x5c618c(0x8e)](_0x5c618c(0x9e))||null!==_0x5c5196[_0x5c618c(0x8e)](_0x5c618c(0xbd))||null!==_0x5c5196[_0x5c618c(0x8e)](_0x5c618c(0xb8)));}[_0x238cee(0xa0)](){const _0x5bbe8=_0x238cee;this[_0x5bbe8(0xb3)](),this[_0x5bbe8(0xa2)][_0x5bbe8(0x87)](),super[_0x5bbe8(0xa0)]();}[_0x238cee(0xc1)](){const _0x486227=_0x238cee;this[_0x486227(0x99)][_0x486227(0xc1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1ad3f8,_0x476f70){const _0x44d8ed=_0x9285,_0xec3c50=_0x1ad3f8();while(!![]){try{const _0x4847e1=-parseInt(_0x44d8ed(0xff))/0x1*(parseInt(_0x44d8ed(0xfe))/0x2)+-parseInt(_0x44d8ed(0xf2))/0x3*(parseInt(_0x44d8ed(0xf8))/0x4)+-parseInt(_0x44d8ed(0x104))/0x5*(parseInt(_0x44d8ed(0x100))/0x6)+-parseInt(_0x44d8ed(0x102))/0x7*(parseInt(_0x44d8ed(0xf4))/0x8)+parseInt(_0x44d8ed(0xf3))/0x9*(-parseInt(_0x44d8ed(0x101))/0xa)+parseInt(_0x44d8ed(0xf9))/0xb+parseInt(_0x44d8ed(0xf7))/0xc;if(_0x4847e1===_0x476f70)break;else _0xec3c50['push'](_0xec3c50['shift']());}catch(_0x1e05c9){_0xec3c50['push'](_0xec3c50['shift']());}}}(_0x34f8,0xaf8e7));function _0x34f8(){const _0x3561c4=['9eTddUs','32fLBLGC','add','locale','44199048ejtRiZ','132QuGgxT','1858989EgypMy','panelView','set','ck-ai-quick-actions-dropdown','label','2ShuRkD','1299721BBEZoQ','36PxmJaa','9196130VFUrmU','685279cPJqYS','icon','400395WOQTJU','buttonView','children','3798xyRZzx'];_0x34f8=function(){return _0x3561c4;};return _0x34f8();}import{createDropdown as _0x3b0d4e}from'ckeditor5/src/ui.js';function _0x9285(_0x3bae53,_0x355342){const _0x34f84a=_0x34f8();return _0x9285=function(_0x9285b3,_0x35777d){_0x9285b3=_0x9285b3-0xf0;let _0x2edc21=_0x34f84a[_0x9285b3];return _0x2edc21;},_0x9285(_0x3bae53,_0x355342);}import{IconAIQuickActions as _0x31e6de}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x313325}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x4b10fb,_0x10ddb7,_0x2e794d,_0x5f3e4d){return()=>{const _0x11f050=_0x9285,_0x3ffd95=_0x4b10fb[_0x11f050(0xf6)],_0x5ba1c1=_0x3b0d4e(_0x3ffd95);_0x5ba1c1[_0x11f050(0xf0)][_0x11f050(0xfb)]({'icon':_0x2e794d[_0x11f050(0x103)]??_0x31e6de,'label':_0x2e794d[_0x11f050(0xfd)],'tooltip':!0x0}),_0x5ba1c1[_0x11f050(0xfb)]({'class':_0x11f050(0xfc)});const _0x8febd1=new _0x313325(_0x4b10fb,_0x10ddb7,_0x5ba1c1,_0x5f3e4d);return _0x5ba1c1[_0x11f050(0xfa)][_0x11f050(0xf1)][_0x11f050(0xf5)](_0x8febd1),_0x5ba1c1;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3dc106=_0x5de2;function _0x5de2(_0x5bac7b,_0x2b8ccb){const _0x3b4a07=_0x3b4a();return _0x5de2=function(_0x5de21b,_0x48fc5b){_0x5de21b=_0x5de21b-0x147;let _0x5f0bc2=_0x3b4a07[_0x5de21b];return _0x5f0bc2;},_0x5de2(_0x5bac7b,_0x2b8ccb);}(function(_0x1e9003,_0x3e93e8){const _0x45023c=_0x5de2,_0x530685=_0x1e9003();while(!![]){try{const _0x5ac642=parseInt(_0x45023c(0x171))/0x1+parseInt(_0x45023c(0x15b))/0x2*(-parseInt(_0x45023c(0x178))/0x3)+parseInt(_0x45023c(0x15c))/0x4+-parseInt(_0x45023c(0x17d))/0x5+parseInt(_0x45023c(0x15a))/0x6+-parseInt(_0x45023c(0x16d))/0x7+parseInt(_0x45023c(0x16b))/0x8*(parseInt(_0x45023c(0x155))/0x9);if(_0x5ac642===_0x3e93e8)break;else _0x530685['push'](_0x530685['shift']());}catch(_0x133346){_0x530685['push'](_0x530685['shift']());}}}(_0x3b4a,0xefcc7));function _0x3b4a(){const _0x19e3fc=['english','English','longer','French','Chinese\x20(Simplified)','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Adjust\x20tone\x20and\x20style','24394185jTVljC','Professional','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','translate','japanese','1134666vfUQWy','114660nTZnky','473172hrrHPA','russian','Japanese','clarity','Adjust\x20length','spanish','french','italian','readability','Clarity','Translate','Custom\x20command','Casual','language','chinese','8neUmOP','make-tone','2341850DkKEfl','Shorter','direct','Portuguese','1627721Nqlkmf','Spanish','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','korean','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Confident','casual','87njMCjT','friendly','german','Longer','Friendly','8331275tkevyE','dropdown','Direct','Readability','Korean','Select\x20language','confident','Italian','professional','make','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','portuguese','Correctness','shorter','German','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','correctness','custom','Russian','Translate\x20the\x20text\x20into\x20another\x20language.'];_0x3b4a=function(){return _0x19e3fc;};return _0x3b4a();}export const AI_REVIEW_CHECKS=[{'id':_0x3dc106(0x14b),'title':_0x3dc106(0x167),'description':_0x3dc106(0x157),'isParameterized':!0x0},{'id':_0x3dc106(0x14a),'title':_0x3dc106(0x189),'description':_0x3dc106(0x187),'isParameterized':!0x1},{'id':_0x3dc106(0x15f),'title':_0x3dc106(0x165),'description':_0x3dc106(0x149),'isParameterized':!0x1},{'id':_0x3dc106(0x164),'title':_0x3dc106(0x180),'description':_0x3dc106(0x153),'isParameterized':!0x1},{'id':_0x3dc106(0x186),'title':_0x3dc106(0x160),'description':_0x3dc106(0x175),'isParameterized':!0x0,'options':[{'formType':_0x3dc106(0x17e),'label':_0x3dc106(0x160),'default':_0x3dc106(0x150),'data':[{'label':_0x3dc106(0x17b),'id':_0x3dc106(0x150)},{'label':_0x3dc106(0x16e),'id':_0x3dc106(0x147)}]}]},{'id':_0x3dc106(0x16c),'title':_0x3dc106(0x154),'description':_0x3dc106(0x173),'isParameterized':!0x0,'options':[{'formType':_0x3dc106(0x17e),'label':_0x3dc106(0x154),'default':_0x3dc106(0x177),'data':[{'label':_0x3dc106(0x168),'id':_0x3dc106(0x177)},{'label':_0x3dc106(0x17f),'id':_0x3dc106(0x16f)},{'label':_0x3dc106(0x17c),'id':_0x3dc106(0x179)},{'label':_0x3dc106(0x176),'id':_0x3dc106(0x183)},{'label':_0x3dc106(0x156),'id':_0x3dc106(0x185)}]}]},{'id':_0x3dc106(0x158),'title':_0x3dc106(0x166),'description':_0x3dc106(0x14d),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x3dc106(0x17e),'label':_0x3dc106(0x182),'argsKey':_0x3dc106(0x169),'data':[{'label':_0x3dc106(0x14f),'id':_0x3dc106(0x14e)},{'label':_0x3dc106(0x172),'id':_0x3dc106(0x161)},{'label':_0x3dc106(0x151),'id':_0x3dc106(0x162)},{'label':_0x3dc106(0x148),'id':_0x3dc106(0x17a)},{'label':_0x3dc106(0x152),'id':_0x3dc106(0x16a)},{'label':_0x3dc106(0x15e),'id':_0x3dc106(0x159)},{'label':_0x3dc106(0x14c),'id':_0x3dc106(0x15d)},{'label':_0x3dc106(0x170),'id':_0x3dc106(0x188)},{'label':_0x3dc106(0x181),'id':_0x3dc106(0x174)},{'label':_0x3dc106(0x184),'id':_0x3dc106(0x163)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x933a(){var _0x5ce9e6=['1489651YBqksY','1240vqFlck','1622795qbhayl','6mJXrGE','54313rAKyAS','AIReviewMode','2471402pniRbz','pluginName','isOfficialPlugin','13427496xVPcdd','requires','989876MWtcCo','isPremiumPlugin','629916blXwgn'];_0x933a=function(){return _0x5ce9e6;};return _0x933a();}var _0x111de5=_0x46d8;(function(_0x2d5057,_0x136f8a){var _0x4e1379=_0x46d8,_0x28106b=_0x2d5057();while(!![]){try{var _0x187612=parseInt(_0x4e1379(0x7b))/0x1+-parseInt(_0x4e1379(0x73))/0x2+parseInt(_0x4e1379(0x7a))/0x3+parseInt(_0x4e1379(0x78))/0x4+-parseInt(_0x4e1379(0x7d))/0x5*(-parseInt(_0x4e1379(0x7e))/0x6)+-parseInt(_0x4e1379(0x7f))/0x7*(-parseInt(_0x4e1379(0x7c))/0x8)+-parseInt(_0x4e1379(0x76))/0x9;if(_0x187612===_0x136f8a)break;else _0x28106b['push'](_0x28106b['shift']());}catch(_0x41514c){_0x28106b['push'](_0x28106b['shift']());}}}(_0x933a,0xb649b));import{ContextPlugin as _0x8add35}from'ckeditor5/src/core.js';import{AIReviewModeController as _0xcfcc4e}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x5102ec}from'./aireviewmodeui.js';function _0x46d8(_0x36146c,_0xce73eb){var _0x933aa8=_0x933a();return _0x46d8=function(_0x46d839,_0x13d846){_0x46d839=_0x46d839-0x73;var _0x15587b=_0x933aa8[_0x46d839];return _0x15587b;},_0x46d8(_0x36146c,_0xce73eb);}import{AIReviewModeEditing as _0x28ce49}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x8add35{static get[_0x111de5(0x77)](){return[_0xcfcc4e,_0x5102ec,_0x28ce49];}static get[_0x111de5(0x74)](){var _0x64c640=_0x111de5;return _0x64c640(0x80);}static get[_0x111de5(0x75)](){return!0x0;}static get[_0x111de5(0x79)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xd39d4c=_0x32d1;(function(_0x2f5278,_0x3eb721){const _0x1ec8bb=_0x32d1,_0x1d6697=_0x2f5278();while(!![]){try{const _0x3d859e=-parseInt(_0x1ec8bb(0x236))/0x1*(-parseInt(_0x1ec8bb(0x260))/0x2)+parseInt(_0x1ec8bb(0x1e1))/0x3*(parseInt(_0x1ec8bb(0x226))/0x4)+-parseInt(_0x1ec8bb(0x1fc))/0x5*(parseInt(_0x1ec8bb(0x272))/0x6)+parseInt(_0x1ec8bb(0x244))/0x7+parseInt(_0x1ec8bb(0x1f0))/0x8*(parseInt(_0x1ec8bb(0x20c))/0x9)+parseInt(_0x1ec8bb(0x1fd))/0xa*(parseInt(_0x1ec8bb(0x213))/0xb)+parseInt(_0x1ec8bb(0x1e5))/0xc*(-parseInt(_0x1ec8bb(0x23f))/0xd);if(_0x3d859e===_0x3eb721)break;else _0x1d6697['push'](_0x1d6697['shift']());}catch(_0x27fc47){_0x1d6697['push'](_0x1d6697['shift']());}}}(_0x2df4,0x21ffa));import{ContextPlugin as _0x14da28}from'ckeditor5/src/core.js';function _0x2df4(){const _0x55e2b0=['length','options','getAll','625772iUnNGe','showReviewCheckList','custom','_OPTIONS_LABEL','AIReviewModeController','_TITLE','status','_currentReviewCheckRun','config','emitter','showChangeBalloon','showReviewCompletedView','contentNew','requires','init','change','reviewCheckRunUpdated','editing','toggleDiff','changeId','isOfficialPlugin','ready','showDiffInBalloon','message','changes','forceReadyState','showGeneralErrorView','args','2iLAYnL','getReviewCheckList','reviewCheckResultRejected','includes','translate','showActionsWhenResultIsReady','panel','reviewCheckResultDeactivated','leaveReviewMode','accepted','showChunkErrorView','error-general','ck-ai-review-mode-highlights','error-chunk','ck-ai-review-mode-diff','clearAllMarkers','getCheckById','_translateReviewChecks','1085622XSSSmU','getDocumentData','data','AI_REVIEW_CHECK_','AIConnector','AIReviewModeEditing','isChangeActive','locale','finishReview','reviewCheckResultActivated','ai-review-mode-no-current-check-run','showNoChangesView','reviewCheckResultReady','params','updateChangeState','toUpperCase','ai-review-mode-source-check-not-found','prompt','reviewCheckResultAccepted','applyChange','ai.reviewMode.translations','getRoot','activateChange','runReviewCheck','finished','3ITrqRP','listenTo','.ck-ai-review-mode__check-run-result','get','60NqHAtO','_isDiffOn','model','source','sendRating','hideChangeBalloon','content','showCheckRunResult','abortReviewStream','subTitle','restart','19256VQopRA','_aiReviewModeEditing','AIReviewModeUI','checks','setActiveStateInResults','_OPTIONS_DATA_','replaceAll','processedResultsCount','title','markAllChangesAsAccepted','hasModifications','contentInitial','5aLINwR','2290IOEWLG','changeMarkerClick','acceptChange','getActiveChanges','result','leaveReviewModeResultList','unmodified','label','showCheckRunResults','rejected','context','_onReviewModeRunLeave','retryReview','resetActiveStateInResults','description','288kbylaT','reviewCheckResultAdded','getChangeElement','getEditor','hideDiffInBalloon','diffContent','find','7854hmREdK','_logError','abort','_changeActivationSource','AI_MODEL_DESCRIPTION_','getMarkerElementForChange','_getTranslationWithDefault','documentData','document','isPremiumPlugin','aborted','addResultChanges','plugins','addClass','isCustom','domElement','switchToEdit','setAvailableChecks','map','126908GVYfRF','dismissChange','_aiReviewModeUi','start','removeClass','_aiReviewCheckList','_onDiffChange','markChangeAsAccepted','acceptAllChanges','switchToReadOnly','pluginName','markChangePositionInEditorContent','loading','closest','view','models','112247wgdoyv','ai-request-aborted','markChangeAsRejected','setCheckResultTitle','rejectChange','ai-review-mode-check-run-failed','_aiConnector','deactivateChange','_DESCRIPTION','399633ITqkZu','stopListening'];_0x2df4=function(){return _0x55e2b0;};return _0x2df4();}function _0x32d1(_0x5e4310,_0xf1bdb3){const _0x2df45d=_0x2df4();return _0x32d1=function(_0x32d132,_0x30876d){_0x32d132=_0x32d132-0x1cf;let _0x4410d4=_0x2df45d[_0x32d132];return _0x4410d4;},_0x32d1(_0x5e4310,_0xf1bdb3);}import{CKEditorError as _0x36462e,logError as _0x232d3c,scrollAncestorsToShowTarget as _0x2ce398,scrollViewportToShowTarget as _0x25bb03}from'ckeditor5/src/utils.js';import{AIConnector as _0x523142}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x305c1d}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x4f8a5d}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x10437b}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x2f1cf7}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x284439}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x3d44b1}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x14da28{[_0xd39d4c(0x23c)];[_0xd39d4c(0x228)];[_0xd39d4c(0x1f1)];[_0xd39d4c(0x22b)];[_0xd39d4c(0x24b)];[_0xd39d4c(0x1e6)]=!0x1;[_0xd39d4c(0x216)]=null;static get[_0xd39d4c(0x251)](){return[_0x523142];}static get[_0xd39d4c(0x230)](){const _0x65bb28=_0xd39d4c;return _0x65bb28(0x248);}static get[_0xd39d4c(0x258)](){return!0x0;}static get[_0xd39d4c(0x21c)](){return!0x0;}async[_0xd39d4c(0x252)](){const _0x5e295e=_0xd39d4c;this[_0x5e295e(0x23c)]=this[_0x5e295e(0x207)][_0x5e295e(0x21f)][_0x5e295e(0x1e4)](_0x5e295e(0x276)),this[_0x5e295e(0x228)]=this[_0x5e295e(0x207)][_0x5e295e(0x21f)][_0x5e295e(0x1e4)](_0x5e295e(0x1f2)),this[_0x5e295e(0x1f1)]=this[_0x5e295e(0x207)][_0x5e295e(0x21f)][_0x5e295e(0x1e4)](_0x5e295e(0x277));const _0x3a7193=this[_0x5e295e(0x207)][_0x5e295e(0x24c)][_0x5e295e(0x1e4)](_0x5e295e(0x1dc));if(_0x3a7193){for(const _0x2c1b20 of _0x284439)_0x5e295e(0x264)===_0x2c1b20['id']&&(_0x2c1b20[_0x5e295e(0x242)][0x0][_0x5e295e(0x274)]=_0x3a7193);}const _0x384733=this[_0x5e295e(0x271)](_0x284439);this[_0x5e295e(0x22b)]=new _0x305c1d(_0x384733);const _0x5076b3=this[_0x5e295e(0x22b)][_0x5e295e(0x1f3)][_0x5e295e(0x212)](_0x562202=>_0x5e295e(0x246)===_0x562202['id']);if(_0x5076b3){const _0x38cb2c=await new _0x2f1cf7({'connector':this[_0x5e295e(0x23c)]})[_0x5e295e(0x243)]();_0x5076b3[_0x5e295e(0x235)]=_0x38cb2c[_0x5e295e(0x225)](_0x13b2a7=>({..._0x13b2a7,'description':this[_0x5e295e(0x219)](_0x5e295e(0x217)+_0x13b2a7['id'][_0x5e295e(0x1d7)](),_0x13b2a7[_0x5e295e(0x20b)])}));}this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x261),()=>{const _0x173016=_0x5e295e;this[_0x173016(0x228)][_0x173016(0x224)](this[_0x173016(0x22b)][_0x173016(0x1f3)]);}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1df),async(_0x13f6b9,_0x3b760e)=>{const _0xc2c51b=_0x5e295e,_0x243319=this[_0xc2c51b(0x22b)][_0xc2c51b(0x270)](_0x3b760e['id']);if(_0x243319){this[_0xc2c51b(0x22c)](this[_0xc2c51b(0x1e6)]),_0x3b760e[_0xc2c51b(0x221)]?this[_0xc2c51b(0x24b)]=new _0x10437b(_0x3b760e[_0xc2c51b(0x25f)][_0xc2c51b(0x1d9)],_0x3b760e[_0xc2c51b(0x25f)][_0xc2c51b(0x1e7)],this[_0xc2c51b(0x1f1)][_0xc2c51b(0x273)](),_0x243319,this[_0xc2c51b(0x23c)]):this[_0xc2c51b(0x24b)]=new _0x4f8a5d(this[_0xc2c51b(0x1f1)][_0xc2c51b(0x273)](),_0x243319,this[_0xc2c51b(0x23c)],_0x3b760e[_0xc2c51b(0x1d5)],_0x3b760e[_0xc2c51b(0x25f)]),this[_0xc2c51b(0x228)][_0xc2c51b(0x239)](this[_0xc2c51b(0x24b)][_0xc2c51b(0x1f8)],this[_0xc2c51b(0x24b)][_0xc2c51b(0x1ee)]),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x254),(_0x3532f2,_0x16496c)=>{const _0x21860b=_0xc2c51b;_0x21860b(0x274)===_0x16496c[_0x21860b(0x24a)]||_0x21860b(0x232)===_0x16496c[_0x21860b(0x24a)]?(this[_0x21860b(0x1f1)][_0x21860b(0x22f)](),this[_0x21860b(0x228)][_0x21860b(0x205)](_0x16496c)):_0x21860b(0x1e0)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x24f)]():_0x21860b(0x259)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x265)]():_0x21860b(0x203)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x1d3)]():_0x21860b(0x26b)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x25e)]():_0x21860b(0x26d)===_0x16496c[_0x21860b(0x24a)]?this[_0x21860b(0x228)][_0x21860b(0x26a)]():_0x21860b(0x21d)===_0x16496c[_0x21860b(0x24a)]&&(this[_0x21860b(0x24b)]&&this[_0x21860b(0x24b)][_0x21860b(0x1f7)]>0x0?setTimeout(()=>{const _0x37fa2b=_0x21860b;this[_0x37fa2b(0x24b)]?.[_0x37fa2b(0x25d)]();},0x0):this[_0x21860b(0x208)](!0x0)),_0x21860b(0x259)!==_0x16496c[_0x21860b(0x24a)]&&_0x21860b(0x26d)!==_0x16496c[_0x21860b(0x24a)]&&_0x21860b(0x26b)!==_0x16496c[_0x21860b(0x24a)]||this[_0x21860b(0x24b)]?.[_0x21860b(0x1e9)]();}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x20d),(_0x58e317,_0x2e2f02)=>{const _0x492d7c=_0xc2c51b;if(!this[_0x492d7c(0x24b)])throw new _0x36462e(_0x492d7c(0x1d2),this);const _0x1b2d61=this[_0x492d7c(0x1f1)][_0x492d7c(0x211)](_0x2e2f02[_0x492d7c(0x201)][_0x492d7c(0x1fb)],_0x2e2f02[_0x492d7c(0x201)][_0x492d7c(0x250)]);_0x2e2f02[_0x492d7c(0x1e8)][_0x492d7c(0x21e)](_0x2e2f02[_0x492d7c(0x201)]['id'],_0x1b2d61);}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x1d4),(_0x5a1fd8,_0x3f33a2)=>{const _0xbc30cf=_0xc2c51b;for(const _0x4160c0 of _0x3f33a2[_0xbc30cf(0x25c)])this[_0xbc30cf(0x228)][_0xbc30cf(0x1ec)](_0x4160c0);this[_0xbc30cf(0x1f1)][_0xbc30cf(0x231)](_0x3f33a2[_0xbc30cf(0x25c)],_0x3f33a2[_0xbc30cf(0x1e8)][_0xbc30cf(0x21a)]);}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x1da),(_0xf45b48,_0x42b7e2)=>{const _0x4ee950=_0xc2c51b;this[_0x4ee950(0x228)][_0x4ee950(0x1d6)](_0x42b7e2[_0x4ee950(0x253)]['id'],_0x4ee950(0x269));}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x262),(_0x3d38bc,_0x13ffc9)=>{const _0xe3c86f=_0xc2c51b;this[_0xe3c86f(0x228)][_0xe3c86f(0x1d6)](_0x13ffc9[_0xe3c86f(0x253)]['id'],_0xe3c86f(0x206));}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x1d1),(_0x41e7f1,_0x855d09)=>{const _0x5e1fe5=_0xc2c51b;this[_0x5e1fe5(0x228)][_0x5e1fe5(0x1f4)](_0x855d09[_0x5e1fe5(0x253)]['id']);const _0x30b435=this[_0x5e1fe5(0x1f1)][_0x5e1fe5(0x218)](_0x855d09[_0x5e1fe5(0x253)]['id']);if(_0x30b435){if(_0x5e1fe5(0x1eb)===this[_0x5e1fe5(0x216)]){const _0x137cdf=this[_0x5e1fe5(0x228)][_0x5e1fe5(0x20e)](_0x855d09[_0x5e1fe5(0x253)]['id']);_0x137cdf&&_0x2ce398(_0x137cdf[_0x5e1fe5(0x233)](_0x5e1fe5(0x1e3))||_0x137cdf);}else{if(_0x5e1fe5(0x266)===this[_0x5e1fe5(0x216)]){const _0xbcc161={'target':_0x30b435[_0x5e1fe5(0x222)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x25bb03(_0xbcc161);}}this[_0x5e1fe5(0x228)][_0x5e1fe5(0x24e)](_0x855d09[_0x5e1fe5(0x253)],_0x30b435[_0x5e1fe5(0x222)]);}}),this[_0xc2c51b(0x24b)]['on'](_0xc2c51b(0x267),()=>{const _0x4f2658=_0xc2c51b;this[_0x4f2658(0x228)][_0x4f2658(0x20a)]();});try{await this[_0xc2c51b(0x24b)][_0xc2c51b(0x229)]();}catch(_0xb2edf0){_0xb2edf0 instanceof Error&&_0xb2edf0[_0xc2c51b(0x25b)][_0xc2c51b(0x263)](_0xc2c51b(0x237))||(_0xb2edf0 instanceof _0x36462e?this[_0xc2c51b(0x214)](_0xb2edf0):this[_0xc2c51b(0x214)](new _0x36462e(_0xc2c51b(0x23b),this,{'error':_0xb2edf0})));}}else this[_0xc2c51b(0x214)](new _0x36462e(_0xc2c51b(0x1d8),this,{'checkId':_0x3b760e['id']}));}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x268),()=>{const _0x242167=_0x5e295e;this[_0x242167(0x208)]();}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x202),()=>{const _0x2d9946=_0x5e295e;this[_0x2d9946(0x208)](!0x0);}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1ed),()=>{const _0x4847e1=_0x5e295e;this[_0x4847e1(0x24b)]&&this[_0x4847e1(0x24b)][_0x4847e1(0x215)]();}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1d0),()=>{const _0x8f209a=_0x5e295e;this[_0x8f209a(0x208)](!0x0);}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x22e),()=>{const _0x329ad6=_0x5e295e;if(!this[_0x329ad6(0x24b)])return;const _0x7337bd=this[_0x329ad6(0x24b)][_0x329ad6(0x200)]();_0x7337bd[_0x329ad6(0x241)]&&(this[_0x329ad6(0x1f1)][_0x329ad6(0x1db)](_0x7337bd[_0x329ad6(0x225)](_0x401f01=>_0x401f01['id'])),this[_0x329ad6(0x24b)][_0x329ad6(0x1f9)](),this[_0x329ad6(0x24b)][_0x329ad6(0x1e9)]());}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1ff),(_0x428d00,_0x4f36d6)=>{const _0x3e2e2f=_0x5e295e;this[_0x3e2e2f(0x24b)]&&this[_0x3e2e2f(0x24b)][_0x3e2e2f(0x278)](_0x4f36d6['id'])&&(this[_0x3e2e2f(0x1f1)][_0x3e2e2f(0x1db)]([_0x4f36d6['id']]),this[_0x3e2e2f(0x24b)][_0x3e2e2f(0x22d)](_0x4f36d6['id']),this[_0x3e2e2f(0x228)][_0x3e2e2f(0x1ea)](),this[_0x3e2e2f(0x24b)][_0x3e2e2f(0x1e9)](_0x4f36d6['id']));}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x227),(_0x3fe72d,_0x3853a1)=>{const _0x581dc7=_0x5e295e;this[_0x581dc7(0x24b)]&&this[_0x581dc7(0x24b)][_0x581dc7(0x278)](_0x3853a1['id'])&&(this[_0x581dc7(0x1f1)][_0x581dc7(0x23a)](_0x3853a1['id']),this[_0x581dc7(0x24b)][_0x581dc7(0x238)](_0x3853a1['id']),this[_0x581dc7(0x228)][_0x581dc7(0x1ea)](),this[_0x581dc7(0x24b)][_0x581dc7(0x1e9)](_0x3853a1['id']));}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x256),(_0x31b5b6,_0xb683e)=>{const _0x1904cf=_0x5e295e;this[_0x1904cf(0x1e6)]=_0xb683e['on'],this[_0x1904cf(0x22c)](this[_0x1904cf(0x1e6)]);}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x209),async()=>{const _0x1f0126=_0x5e295e;this[_0x1f0126(0x24b)]&&await this[_0x1f0126(0x24b)][_0x1f0126(0x1ef)]();}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x1de),(_0x2dde25,_0x43ffcf)=>{const _0x4db63c=_0x5e295e;this[_0x4db63c(0x24b)]&&(this[_0x4db63c(0x216)]=_0x4db63c(0x266),this[_0x4db63c(0x24b)][_0x4db63c(0x1de)](_0x43ffcf['id']));}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x228)],_0x5e295e(0x23d),()=>{const _0x3fc4b6=_0x5e295e;this[_0x3fc4b6(0x24b)]&&this[_0x3fc4b6(0x24b)][_0x3fc4b6(0x23d)]();}),this[_0x5e295e(0x1e2)](this[_0x5e295e(0x1f1)][_0x5e295e(0x24d)],_0x5e295e(0x1fe),(_0x5d81b0,_0xfe927e)=>{const _0x1600cf=_0x5e295e;this[_0x1600cf(0x24b)]&&(this[_0x1600cf(0x216)]=_0x1600cf(0x1eb),this[_0x1600cf(0x24b)][_0x1600cf(0x1de)](_0xfe927e[_0x1600cf(0x257)]));});}[_0xd39d4c(0x208)](_0x1ab674=!0x1){const _0x2b9d48=_0xd39d4c;this[_0x2b9d48(0x24b)]&&(this[_0x2b9d48(0x24b)][_0x2b9d48(0x1fa)]||this[_0x2b9d48(0x24b)][_0x2b9d48(0x1e9)](),this[_0x2b9d48(0x24b)][_0x2b9d48(0x215)](),this[_0x2b9d48(0x24b)][_0x2b9d48(0x240)](),this[_0x2b9d48(0x24b)]=void 0x0),_0x1ab674&&this[_0x2b9d48(0x228)][_0x2b9d48(0x245)](),this[_0x2b9d48(0x1f1)][_0x2b9d48(0x26f)](),this[_0x2b9d48(0x1f1)][_0x2b9d48(0x223)](),this[_0x2b9d48(0x216)]=null;const _0x30d1e1=this[_0x2b9d48(0x1f1)][_0x2b9d48(0x20f)]();_0x30d1e1&&_0x30d1e1[_0x2b9d48(0x255)][_0x2b9d48(0x234)][_0x2b9d48(0x253)](_0xd9c2ea=>{const _0xf9491f=_0x2b9d48,_0x2f891c=_0x30d1e1[_0xf9491f(0x255)][_0xf9491f(0x234)][_0xf9491f(0x21b)][_0xf9491f(0x1dd)]();_0xd9c2ea[_0xf9491f(0x22a)](_0xf9491f(0x26e),_0x2f891c),_0xd9c2ea[_0xf9491f(0x22a)](_0xf9491f(0x26c),_0x2f891c);});}[_0xd39d4c(0x22c)](_0x109d7e){const _0x29b6b7=_0xd39d4c,_0x483d65=this[_0x29b6b7(0x1f1)][_0x29b6b7(0x20f)]();_0x109d7e?this[_0x29b6b7(0x228)][_0x29b6b7(0x210)]():this[_0x29b6b7(0x228)][_0x29b6b7(0x25a)](),_0x483d65&&_0x483d65[_0x29b6b7(0x255)][_0x29b6b7(0x234)][_0x29b6b7(0x253)](_0x1fee2c=>{const _0x14031d=_0x29b6b7,_0x171109=_0x483d65[_0x14031d(0x255)][_0x14031d(0x234)][_0x14031d(0x21b)][_0x14031d(0x1dd)]();_0x1fee2c[_0x14031d(0x22a)](_0x14031d(0x26e),_0x171109),_0x1fee2c[_0x14031d(0x22a)](_0x14031d(0x26c),_0x171109),_0x1fee2c[_0x14031d(0x220)](_0x109d7e?_0x14031d(0x26e):_0x14031d(0x26c),_0x171109);});}[_0xd39d4c(0x271)](_0x4fdc6a){const _0x28eeeb=_0xd39d4c;return _0x4fdc6a[_0x28eeeb(0x225)](_0x4f5a35=>{const _0x32f53e=_0x28eeeb,_0x5c591b=_0x32f53e(0x275)+_0x4f5a35['id'][_0x32f53e(0x1d7)]()[_0x32f53e(0x1f6)]('-','_'),_0x1ff734={..._0x4f5a35,'title':this[_0x32f53e(0x219)](_0x5c591b+_0x32f53e(0x249),_0x4f5a35[_0x32f53e(0x1f8)]),'description':this[_0x32f53e(0x219)](_0x5c591b+_0x32f53e(0x23e),_0x4f5a35[_0x32f53e(0x20b)])};return _0x4f5a35[_0x32f53e(0x242)]&&(_0x1ff734[_0x32f53e(0x242)]=_0x4f5a35[_0x32f53e(0x242)][_0x32f53e(0x225)](_0x33672e=>({..._0x33672e,'label':this[_0x32f53e(0x219)](_0x5c591b+_0x32f53e(0x247),_0x33672e[_0x32f53e(0x204)]||''),'data':_0x33672e[_0x32f53e(0x274)]?_0x33672e[_0x32f53e(0x274)][_0x32f53e(0x225)](_0x13878e=>({..._0x13878e,'label':this[_0x32f53e(0x219)](_0x5c591b+_0x32f53e(0x1f5)+_0x13878e['id'][_0x32f53e(0x1d7)](),_0x13878e[_0x32f53e(0x204)])})):void 0x0}))),_0x1ff734;});}[_0xd39d4c(0x219)](_0x58d3d5,_0x565925){const _0x9a3144=_0xd39d4c,_0x4e1da9=this[_0x9a3144(0x207)][_0x9a3144(0x1cf)],_0x516804=_0x3d44b1(_0x4e1da9,_0x58d3d5);return _0x516804===_0x58d3d5?_0x565925:_0x516804;}[_0xd39d4c(0x214)](_0x1cc540){const _0x5ff566=_0xd39d4c;_0x232d3c(_0x1cc540[_0x5ff566(0x25b)]),this[_0x5ff566(0x228)][_0x5ff566(0x25e)]();}}
|
|
23
|
+
function _0x5d82(){const _0x3ca3b6=['8iDUvCV','showDiffInBalloon','showCheckRunResult','dismissChange','ai-review-mode-check-run-general-error','markChangePositionInEditorContent','description','_OPTIONS_DATA_','args','finishReview','_aiReviewModeUi','ck-ai-review-mode-highlights','_changeActivationSource','forceReadyState','hideDiffInBalloon','change','listenTo','getChangeElement','content','aborted','showChunkErrorView','finished','diffContent','changeMarkerRemoved','acceptAllChanges','processedResultsCount','ai.reviewMode.translations','8236080EInXjo','closest','setCheckResultTitle','leaveReviewModeResultList','544GZtCAp','getMarkerElementForChange','init','loading','activateChange','subTitle','documentData','unmodified','toUpperCase','abortReviewStream','domElement','model','_aiReviewCheckList','reviewCheckResultDeactivated','requires','status','_TITLE','_isDiffOn','showCheckRunResults','addClass','emitter','resetActiveStateInResults','getCheckById','ck-ai-review-mode-diff','checks','2984784oPMxEG','isChangeActive','find','contentInitial','getActiveChanges','_OPTIONS_LABEL','error-general','getDocumentData','3833055ASFhAu','_onDiffChange','source','ai-review-mode-check-run-chunk-error','params','255609wEloZp','AI_REVIEW_CHECK_','_logError','changes','hideChangeBalloon','_aiConnector','removeClass','ai-review-mode-check-run-failed','AIReviewModeEditing','getRoot','retryReview','5vBWbMH','message','panel','showActionsWhenResultIsReady','contentNew','deactivateChange','showGeneralErrorView','sendRating','stopListening','acceptChange','ai-review-mode-no-current-check-run','switchToEdit','hasModifications','plugins','pluginName','updateChangeState','applyChange','title','runReviewCheck','changeId','getAll','toggleDiff','reviewCheckRunUpdated','setActiveStateInResults','ready','getEditor','_getTranslationWithDefault','map','48LcVyGo','_DESCRIPTION','isPremiumPlugin','rejectChange','get','label','prompt','switchToReadOnly','result','showReviewCompletedView','data','_onReviewModeRunLeave','custom','AI_MODEL_DESCRIPTION_','showReviewCheckList','start','AIReviewModeController','isCustom','74329qxJEWF','reviewCheckResultChangeStatusUpdated','_translateReviewChecks','34636JcYqtA','reviewCheckResultReady','showNoChangesView','markChangeAsOutdated','reviewCheckResultActivated','reviewCheckResultAdded','locale','_aiReviewModeEditing','document','getReviewCheckList','markChangeAsPending','1892472IELkpK','context','translate','config','addResultChanges','length','AIConnector','ai-request-aborted','models','ai-review-mode-source-check-not-found','changeMarkerRestored','_currentReviewCheckRun','.ck-ai-review-mode__check-run-result','editing','isOfficialPlugin','error-chunk','includes','setAvailableChecks','view','clearAllMarkers','showChangeBalloon','changeMarkerClick','replaceAll','AIReviewModeUI','options','markAllChangesAsAccepted','abort','leaveReviewMode','markChangeAsAccepted','markChangeAsRejected','restart','currentError'];_0x5d82=function(){return _0x3ca3b6;};return _0x5d82();}const _0x21c3ca=_0x5ae7;function _0x5ae7(_0xe623bd,_0x1dc143){const _0x5d823b=_0x5d82();return _0x5ae7=function(_0x5ae781,_0x3f470f){_0x5ae781=_0x5ae781-0x172;let _0x4fc7f9=_0x5d823b[_0x5ae781];return _0x4fc7f9;},_0x5ae7(_0xe623bd,_0x1dc143);}(function(_0x7371c8,_0x397242){const _0x1b346a=_0x5ae7,_0x14aa14=_0x7371c8();while(!![]){try{const _0x1d9289=parseInt(_0x1b346a(0x217))/0x1*(parseInt(_0x1b346a(0x199))/0x2)+-parseInt(_0x1b346a(0x1de))/0x3*(parseInt(_0x1b346a(0x205))/0x4)+parseInt(_0x1b346a(0x1e9))/0x5*(parseInt(_0x1b346a(0x179))/0x6)+parseInt(_0x1b346a(0x21a))/0x7*(parseInt(_0x1b346a(0x1b8))/0x8)+-parseInt(_0x1b346a(0x1d9))/0x9+parseInt(_0x1b346a(0x1b4))/0xa+parseInt(_0x1b346a(0x1d1))/0xb;if(_0x1d9289===_0x397242)break;else _0x14aa14['push'](_0x14aa14['shift']());}catch(_0x1c1145){_0x14aa14['push'](_0x14aa14['shift']());}}}(_0x5d82,0x91765));import{ContextPlugin as _0x1721dc}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e21a3,logError as _0x221a16,scrollAncestorsToShowTarget as _0x5a6b8f,scrollViewportToShowTarget as _0x8fccfd}from'ckeditor5/src/utils.js';import{AIConnector as _0x3078e7}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x2e3c5f}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x1de102}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x2c6f3d}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4bc57b}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x295cac}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x1448c3}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x1721dc{[_0x21c3ca(0x1e3)];[_0x21c3ca(0x1a3)];[_0x21c3ca(0x175)];[_0x21c3ca(0x1c4)];[_0x21c3ca(0x184)];[_0x21c3ca(0x1c9)]=!0x1;[_0x21c3ca(0x1a5)]=null;static get[_0x21c3ca(0x1c6)](){return[_0x3078e7];}static get[_0x21c3ca(0x1f7)](){const _0x3cb7a3=_0x21c3ca;return _0x3cb7a3(0x215);}static get[_0x21c3ca(0x187)](){return!0x0;}static get[_0x21c3ca(0x207)](){return!0x0;}async[_0x21c3ca(0x1ba)](){const _0x2e8ec5=_0x21c3ca;this[_0x2e8ec5(0x1e3)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x17f)),this[_0x2e8ec5(0x1a3)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x190)),this[_0x2e8ec5(0x175)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x1e6));const _0x1a5bdc=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x17c)][_0x2e8ec5(0x209)](_0x2e8ec5(0x1b3));if(_0x1a5bdc){for(const _0x303d8e of _0x295cac)_0x2e8ec5(0x17b)===_0x303d8e['id']&&(_0x303d8e[_0x2e8ec5(0x191)][0x0][_0x2e8ec5(0x20f)]=_0x1a5bdc);}const _0x2bd835=this[_0x2e8ec5(0x219)](_0x295cac);this[_0x2e8ec5(0x1c4)]=new _0x2e3c5f(_0x2bd835);const _0x3c54f9=this[_0x2e8ec5(0x1c4)][_0x2e8ec5(0x1d0)][_0x2e8ec5(0x1d3)](_0x54ec41=>_0x2e8ec5(0x211)===_0x54ec41['id']);if(_0x3c54f9){const _0x33fff0=await new _0x4bc57b({'connector':this[_0x2e8ec5(0x1e3)]})[_0x2e8ec5(0x1fd)]();_0x3c54f9[_0x2e8ec5(0x181)]=_0x33fff0[_0x2e8ec5(0x204)](_0x22c0a0=>({..._0x22c0a0,'description':this[_0x2e8ec5(0x203)](_0x2e8ec5(0x212)+_0x22c0a0['id'][_0x2e8ec5(0x1c0)](),_0x22c0a0[_0x2e8ec5(0x19f)])}));}this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x177),()=>{const _0x1d770c=_0x2e8ec5;this[_0x1d770c(0x1a3)][_0x1d770c(0x18a)](this[_0x1d770c(0x1c4)][_0x1d770c(0x1d0)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1fb),async(_0x19154f,_0x3837fe)=>{const _0xa0c065=_0x2e8ec5,_0x3fbb92=this[_0xa0c065(0x1c4)][_0xa0c065(0x1ce)](_0x3837fe['id']);if(_0x3fbb92){this[_0xa0c065(0x1da)](this[_0xa0c065(0x1c9)]),_0x3837fe[_0xa0c065(0x216)]?this[_0xa0c065(0x184)]=new _0x2c6f3d(_0x3837fe[_0xa0c065(0x1a1)][_0xa0c065(0x20b)],_0x3837fe[_0xa0c065(0x1a1)][_0xa0c065(0x1c3)],this[_0xa0c065(0x175)][_0xa0c065(0x1d8)](),_0x3fbb92,this[_0xa0c065(0x1e3)]):this[_0xa0c065(0x184)]=new _0x1de102(this[_0xa0c065(0x175)][_0xa0c065(0x1d8)](),_0x3fbb92,this[_0xa0c065(0x1e3)],_0x3837fe[_0xa0c065(0x1dd)],_0x3837fe[_0xa0c065(0x1a1)]),this[_0xa0c065(0x1a3)][_0xa0c065(0x1b6)](this[_0xa0c065(0x184)][_0xa0c065(0x1fa)],this[_0xa0c065(0x184)][_0xa0c065(0x1bd)]),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x1ff),(_0x3895db,_0x417c1a)=>{const _0x2d5b52=_0xa0c065;_0x2d5b52(0x20f)===_0x417c1a[_0x2d5b52(0x1c7)]||_0x2d5b52(0x1bb)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x175)][_0x2d5b52(0x20c)](),this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ca)](_0x417c1a)):_0x2d5b52(0x1ae)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x20e)]():_0x2d5b52(0x201)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ec)]():_0x2d5b52(0x1bf)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x21c)]():_0x2d5b52(0x1d7)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ef)](),this[_0x2d5b52(0x1e0)](new _0x4e21a3(_0x2d5b52(0x19d),this,this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x198)]))):_0x2d5b52(0x188)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ad)](),this[_0x2d5b52(0x1e0)](new _0x4e21a3(_0x2d5b52(0x1dc),this,this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x198)]))):_0x2d5b52(0x1ac)===_0x417c1a[_0x2d5b52(0x1c7)]&&(this[_0x2d5b52(0x184)]&&this[_0x2d5b52(0x184)][_0x2d5b52(0x1b2)]>0x0?setTimeout(()=>{const _0x1aa16a=_0x2d5b52;this[_0x1aa16a(0x184)]?.[_0x1aa16a(0x1a6)]();},0x0):this[_0x2d5b52(0x210)](!0x0)),_0x2d5b52(0x201)!==_0x417c1a[_0x2d5b52(0x1c7)]&&_0x2d5b52(0x188)!==_0x417c1a[_0x2d5b52(0x1c7)]&&_0x2d5b52(0x1d7)!==_0x417c1a[_0x2d5b52(0x1c7)]||this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x1f0)]();}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x173),(_0x202222,_0x5cb6b9)=>{const _0x3cd408=_0xa0c065;if(!this[_0x3cd408(0x184)])throw new _0x4e21a3(_0x3cd408(0x1f3),this);const _0x247eed=this[_0x3cd408(0x175)][_0x3cd408(0x1af)](_0x5cb6b9[_0x3cd408(0x20d)][_0x3cd408(0x1d4)],_0x5cb6b9[_0x3cd408(0x20d)][_0x3cd408(0x1ed)]);_0x5cb6b9[_0x3cd408(0x1db)][_0x3cd408(0x17d)](_0x5cb6b9[_0x3cd408(0x20d)]['id'],_0x247eed);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x21b),(_0x4db190,_0x5ac8f2)=>{const _0x2df1d2=_0xa0c065;for(const _0x2793cf of _0x5ac8f2[_0x2df1d2(0x1e1)])this[_0x2df1d2(0x1a3)][_0x2df1d2(0x19b)](_0x2793cf);this[_0x2df1d2(0x175)][_0x2df1d2(0x19e)](_0x5ac8f2[_0x2df1d2(0x1e1)],_0x5ac8f2[_0x2df1d2(0x1db)][_0x2df1d2(0x1be)]);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x218),(_0x58c8d3,_0x39bf1e)=>{const _0x22d7b9=_0xa0c065;this[_0x22d7b9(0x1a3)][_0x22d7b9(0x1f8)](_0x39bf1e[_0x22d7b9(0x1a8)]['id'],_0x39bf1e[_0x22d7b9(0x1c7)]);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x172),(_0x9253ad,_0x1ac144)=>{const _0x35e8d9=_0xa0c065;this[_0x35e8d9(0x1a3)][_0x35e8d9(0x200)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);const _0x2a5f84=this[_0x35e8d9(0x175)][_0x35e8d9(0x1b9)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);if(_0x2a5f84){if(_0x35e8d9(0x1ab)===this[_0x35e8d9(0x1a5)]){const _0x2743c8=this[_0x35e8d9(0x1a3)][_0x35e8d9(0x1aa)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);_0x2743c8&&_0x5a6b8f(_0x2743c8[_0x35e8d9(0x1b5)](_0x35e8d9(0x185))||_0x2743c8);}else{if(_0x35e8d9(0x1eb)===this[_0x35e8d9(0x1a5)]){const _0x5eb658={'target':_0x2a5f84[_0x35e8d9(0x1c2)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x8fccfd(_0x5eb658);}}this[_0x35e8d9(0x1a3)][_0x35e8d9(0x18d)](_0x1ac144[_0x35e8d9(0x1a8)],_0x2a5f84[_0x35e8d9(0x1c2)]);}}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x1c5),()=>{const _0x186d71=_0xa0c065;this[_0x186d71(0x1a3)][_0x186d71(0x1cd)](),this[_0x186d71(0x1a3)][_0x186d71(0x1e2)]();});try{await this[_0xa0c065(0x184)][_0xa0c065(0x214)]();}catch(_0x450b79){_0x450b79 instanceof Error&&_0x450b79[_0xa0c065(0x1ea)][_0xa0c065(0x189)](_0xa0c065(0x180))||(_0x450b79 instanceof _0x4e21a3?this[_0xa0c065(0x1e0)](_0x450b79):this[_0xa0c065(0x1e0)](new _0x4e21a3(_0xa0c065(0x1e5),this,{'error':_0x450b79})));}}else this[_0xa0c065(0x1e0)](new _0x4e21a3(_0xa0c065(0x182),this,{'checkId':_0x3837fe['id']}));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x194),()=>{const _0x180c3e=_0x2e8ec5;this[_0x180c3e(0x210)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1b7),()=>{const _0x2a88df=_0x2e8ec5;this[_0x2a88df(0x210)](!0x0);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1c1),()=>{const _0x1f95df=_0x2e8ec5;this[_0x1f95df(0x184)]&&this[_0x1f95df(0x184)][_0x1f95df(0x193)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1a2),()=>{const _0x24d752=_0x2e8ec5;this[_0x24d752(0x210)](!0x0);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1b1),()=>{const _0xaf3d4e=_0x2e8ec5;if(!this[_0xaf3d4e(0x184)])return;const _0x4bc67b=this[_0xaf3d4e(0x184)][_0xaf3d4e(0x1d5)]();_0x4bc67b[_0xaf3d4e(0x17e)]&&(this[_0xaf3d4e(0x175)][_0xaf3d4e(0x1f9)](_0x4bc67b[_0xaf3d4e(0x204)](_0x4ff191=>_0x4ff191['id'])),this[_0xaf3d4e(0x184)][_0xaf3d4e(0x192)](),this[_0xaf3d4e(0x184)][_0xaf3d4e(0x1f0)]());}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1f2),(_0x473e6b,_0x6c57a8)=>{const _0x136dc6=_0x2e8ec5;this[_0x136dc6(0x184)]&&this[_0x136dc6(0x184)][_0x136dc6(0x1d2)](_0x6c57a8['id'])&&(this[_0x136dc6(0x175)][_0x136dc6(0x1f9)]([_0x6c57a8['id']]),this[_0x136dc6(0x184)][_0x136dc6(0x195)](_0x6c57a8['id']),this[_0x136dc6(0x1a3)][_0x136dc6(0x1e2)](),this[_0x136dc6(0x184)][_0x136dc6(0x1f0)](_0x6c57a8['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x19c),(_0x377b5b,_0x4556c1)=>{const _0x46fff2=_0x2e8ec5;this[_0x46fff2(0x184)]&&this[_0x46fff2(0x184)][_0x46fff2(0x1d2)](_0x4556c1['id'])&&(this[_0x46fff2(0x175)][_0x46fff2(0x208)](_0x4556c1['id']),this[_0x46fff2(0x184)][_0x46fff2(0x196)](_0x4556c1['id']),this[_0x46fff2(0x1a3)][_0x46fff2(0x1e2)](),this[_0x46fff2(0x184)][_0x46fff2(0x1f0)](_0x4556c1['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1fe),(_0x44b462,_0x31b8a7)=>{const _0x9a0a76=_0x2e8ec5;this[_0x9a0a76(0x1c9)]=_0x31b8a7['on'],this[_0x9a0a76(0x1da)](this[_0x9a0a76(0x1c9)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1e8),async()=>{const _0xc3ffda=_0x2e8ec5;this[_0xc3ffda(0x184)]&&await this[_0xc3ffda(0x184)][_0xc3ffda(0x197)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1bc),(_0x516a39,_0x19018e)=>{const _0x583df0=_0x2e8ec5;this[_0x583df0(0x184)]&&(this[_0x583df0(0x1a5)]=_0x583df0(0x1eb),this[_0x583df0(0x184)][_0x583df0(0x1bc)](_0x19018e['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1ee),()=>{const _0x221547=_0x2e8ec5;this[_0x221547(0x184)]&&this[_0x221547(0x184)][_0x221547(0x1ee)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x18e),(_0x36b316,_0x44a86e)=>{const _0x15728e=_0x2e8ec5;this[_0x15728e(0x184)]&&(this[_0x15728e(0x1a5)]=_0x15728e(0x1ab),this[_0x15728e(0x184)][_0x15728e(0x1bc)](_0x44a86e[_0x15728e(0x1fc)]));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x1b0),(_0x8f1435,_0x28d1e9)=>{const _0x26414b=_0x2e8ec5;this[_0x26414b(0x184)]&&this[_0x26414b(0x184)][_0x26414b(0x21d)](_0x28d1e9[_0x26414b(0x1fc)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x183),(_0x16386c,_0x1a7b6f)=>{const _0x252e75=_0x2e8ec5;this[_0x252e75(0x184)]&&this[_0x252e75(0x184)][_0x252e75(0x178)](_0x1a7b6f[_0x252e75(0x1fc)]);});}[_0x21c3ca(0x210)](_0x454f88=!0x1){const _0x231417=_0x21c3ca;this[_0x231417(0x184)]&&(this[_0x231417(0x184)][_0x231417(0x1f5)]||this[_0x231417(0x184)][_0x231417(0x1f0)](),this[_0x231417(0x184)][_0x231417(0x1f1)](),this[_0x231417(0x184)][_0x231417(0x193)](),this[_0x231417(0x184)]=void 0x0),_0x454f88&&this[_0x231417(0x1a3)][_0x231417(0x213)](),this[_0x231417(0x175)][_0x231417(0x18c)](),this[_0x231417(0x175)][_0x231417(0x1f4)](),this[_0x231417(0x1a5)]=null;const _0x52c441=this[_0x231417(0x175)][_0x231417(0x202)]();_0x52c441&&_0x52c441[_0x231417(0x186)][_0x231417(0x18b)][_0x231417(0x1a8)](_0x234bba=>{const _0x9d91b4=_0x231417,_0x7c1d3f=_0x52c441[_0x9d91b4(0x186)][_0x9d91b4(0x18b)][_0x9d91b4(0x176)][_0x9d91b4(0x1e7)]();_0x234bba[_0x9d91b4(0x1e4)](_0x9d91b4(0x1cf),_0x7c1d3f),_0x234bba[_0x9d91b4(0x1e4)](_0x9d91b4(0x1a4),_0x7c1d3f);});}[_0x21c3ca(0x1da)](_0x5bb04e){const _0x910a1e=_0x21c3ca,_0x129c46=this[_0x910a1e(0x175)][_0x910a1e(0x202)]();_0x5bb04e?this[_0x910a1e(0x1a3)][_0x910a1e(0x1a7)]():this[_0x910a1e(0x1a3)][_0x910a1e(0x19a)](),_0x129c46&&_0x129c46[_0x910a1e(0x186)][_0x910a1e(0x18b)][_0x910a1e(0x1a8)](_0x21987a=>{const _0x300e54=_0x910a1e,_0x3d9e16=_0x129c46[_0x300e54(0x186)][_0x300e54(0x18b)][_0x300e54(0x176)][_0x300e54(0x1e7)]();_0x21987a[_0x300e54(0x1e4)](_0x300e54(0x1cf),_0x3d9e16),_0x21987a[_0x300e54(0x1e4)](_0x300e54(0x1a4),_0x3d9e16),_0x21987a[_0x300e54(0x1cb)](_0x5bb04e?_0x300e54(0x1cf):_0x300e54(0x1a4),_0x3d9e16);});}[_0x21c3ca(0x219)](_0x323fbd){const _0x5bb2e7=_0x21c3ca;return _0x323fbd[_0x5bb2e7(0x204)](_0x14f8e1=>{const _0x53e231=_0x5bb2e7,_0x4d08dd=_0x53e231(0x1df)+_0x14f8e1['id'][_0x53e231(0x1c0)]()[_0x53e231(0x18f)]('-','_'),_0x541bf4={..._0x14f8e1,'title':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1c8),_0x14f8e1[_0x53e231(0x1fa)]),'description':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x206),_0x14f8e1[_0x53e231(0x19f)])};return _0x14f8e1[_0x53e231(0x191)]&&(_0x541bf4[_0x53e231(0x191)]=_0x14f8e1[_0x53e231(0x191)][_0x53e231(0x204)](_0x43dc86=>({..._0x43dc86,'label':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1d6),_0x43dc86[_0x53e231(0x20a)]||''),'data':_0x43dc86[_0x53e231(0x20f)]?_0x43dc86[_0x53e231(0x20f)][_0x53e231(0x204)](_0xabbfcc=>({..._0xabbfcc,'label':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1a0)+_0xabbfcc['id'][_0x53e231(0x1c0)](),_0xabbfcc[_0x53e231(0x20a)])})):void 0x0}))),_0x541bf4;});}[_0x21c3ca(0x203)](_0x2a519d,_0x1ab7e6){const _0x5baa6e=_0x21c3ca,_0x28d75a=this[_0x5baa6e(0x17a)][_0x5baa6e(0x174)],_0x2b4eb5=_0x1448c3(_0x28d75a,_0x2a519d);return _0x2b4eb5===_0x2a519d?_0x1ab7e6:_0x2b4eb5;}[_0x21c3ca(0x1e0)](_0x477d56){const _0x175a1b=_0x21c3ca;_0x221a16(_0x477d56[_0x175a1b(0x1ea)]),this[_0x175a1b(0x1a3)][_0x175a1b(0x1ef)]();}}
|
|
@@ -142,3 +142,21 @@ export type AIReviewModeChangeMarkerClickedEvent = {
|
|
|
142
142
|
}
|
|
143
143
|
];
|
|
144
144
|
};
|
|
145
|
+
export type AIReviewModeChangeMarkerRemovedEvent = {
|
|
146
|
+
name: 'changeMarkerRemoved';
|
|
147
|
+
args: [
|
|
148
|
+
{
|
|
149
|
+
markerId: string;
|
|
150
|
+
changeId: string;
|
|
151
|
+
}
|
|
152
|
+
];
|
|
153
|
+
};
|
|
154
|
+
export type AIReviewModeChangeMarkerRestoredEvent = {
|
|
155
|
+
name: 'changeMarkerRestored';
|
|
156
|
+
args: [
|
|
157
|
+
{
|
|
158
|
+
markerId: string;
|
|
159
|
+
changeId: string;
|
|
160
|
+
}
|
|
161
|
+
];
|
|
162
|
+
};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xc1e4(){const _0x44bbf1=['ck-ai_review-mode-marker_context-end','isOfficialPlugin','ellipsisAfter','span','changeMarkerClick','remove-context','viewToDom','push','length','isInline','caption','_translateOperationToEditorContent','processor','reviewmode-','for','6WCdsow','disableReadOnlyMode','applyChange','hasContentAfter','_changePosition','4423176xMmfND','howMany','_changeRangeOwnerDocument','ck-ai_review-mode-marker_','_groupAdjacentOperations','sort','addMarker','getRoot','markerToElement','_getChangeContext','conversion','set','position','markerToHighlight','hasContentBefore','hasClass','No\x20element\x20found\x20for\x20ID:\x20','add','append','diffContent','_eventEmitter','querySelector','_findAdjacentContextDistance','attributeToAttribute','createText','switchToEdit','downcast','getAttribute','oldRange','split','start','7155846RwqcLL','toView','change','getOperations','map','$markedRemove','offset','getMarkerElementForChange','parse','element','dataDowncast','_getOperationEnd','switchToReadOnly','documentFragment','ai-review-mode','createPositionAt','operationsA','parentElement','_markers','clearAllMarkers','target','stringify','getDomRoot','createSelection','getPath','isAtEnd','_clone','$documentFragment','1rhmMgY','requires','document','innerHTML','suggestion:deletion:id:authorId:','startsWith','createPositionAfter','suggestion-context','context','getEditor','1011913XNxGQU','concat','ck-ai_review-mode-marker_underline','listenTo','_shiftOperation','delete','ck-ai_review-mode-marker_add','remove-only','getRoots','isOpening','data-marker-id','clone','enableReadOnlyMode','editing','_changeOperationOwnerDocument','ck-ai_review-mode-marker_context-','plugins','isDocumentOperation','toData','nodes','type','ck-ai_review-mode-marker_strikethrough','_createGetContentFn','isPremiumPlugin','childCount','elements','isAtStart','_getOperationStart','5568mhPcOx','model:$text','operationsIsolated','insertContent','className','suggestion:insertion:id:authorId:','_setAttribute','fire','markerName','isTouching','hasAttribute','408050XtqBMx','getShiftedBy','view','text','get','data','editingDowncast','backward','createDocumentFragment','offsetSize','ellipsisBefore','htmlWriter','version','outerHTML','pop','remove-text','getDiff','_getMarkersDataForGroup','end','forward','every','afterInit','DocumentCompare','getChild','history','schema','1826762qsxZrx','_domEmitter','markChangePositionInEditorContent','values','name','_removeAttribute','_insertMarkers','getHtml','removeMarker','keys','_sortMarkers','381riMXdG','AIEditing','_findMarkerElement','getRange','_changePositionOwnerDocument','emitter','deleteContent','ck-ai_review-mode-marker_context-start','flat','createUIElement','[data-id=\x22','index','getDocumentData','click','_createGetContextFn','batch','filter','warn','includes','_changeRange','from','_createGetContentUsingDataIdFn','ck-ai_review-mode-marker_hide','exec','markers','_nextDataId','getChildren','pluginName','clear','marker','835345XLsxlL','applyOperation','path','addOperation','AIReviewModeEditing','model','_appendChild','baseVersion','htmlProcessor','[data-marker-id=\x22','$textProxy','parent','affectsData','_removeChildren','createRange','groupId','rejectChange','domConverter','insert','newRange','jumpTo','toDomElement','createRawElement'];_0xc1e4=function(){return _0x44bbf1;};return _0xc1e4();}const _0x47bb5e=_0x2458;(function(_0x13fae,_0x5447a9){const _0x399892=_0x2458,_0x34542e=_0x13fae();while(!![]){try{const _0x19e785=-parseInt(_0x399892(0x212))/0x1*(parseInt(_0x399892(0x25d))/0x2)+-parseInt(_0x399892(0x268))/0x3*(-parseInt(_0x399892(0x238))/0x4)+-parseInt(_0x399892(0x1ac))/0x5+parseInt(_0x399892(0x1d2))/0x6*(parseInt(_0x399892(0x21c))/0x7)+parseInt(_0x399892(0x1d7))/0x8+parseInt(_0x399892(0x1f6))/0x9+parseInt(_0x399892(0x243))/0xa;if(_0x19e785===_0x5447a9)break;else _0x34542e['push'](_0x34542e['shift']());}catch(_0x3e2084){_0x34542e['push'](_0x34542e['shift']());}}}(_0xc1e4,0x99bb9));import{InsertOperation as _0x1f9eb0,MarkerOperation as _0x373e94,ModelDocumentFragment as _0x521e0c,ModelPosition as _0x4584a1,ModelRange as _0x9e9625,ModelTreeWalker as _0x5b2cf8,transformOperationSets as _0x3b87d4}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x5be040,EmitterMixin as _0x1392f7}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x503ec6}from'ckeditor5/src/core.js';import{DocumentCompare as _0x1012cc,DATA_ID_MODEL_ATTRIBUTE as _0x206552,DATA_ID_VIEW_ATTRIBUTE as _0x118397}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x17c963}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x326ce8}from'../aicore/aiediting.js';function _0x2458(_0x2879ae,_0x1029c0){const _0xc1e4d1=_0xc1e4();return _0x2458=function(_0x245801,_0x33e100){_0x245801=_0x245801-0x1a5;let _0x4ae313=_0xc1e4d1[_0x245801];return _0x4ae313;},_0x2458(_0x2879ae,_0x1029c0);}const se=_0x47bb5e(0x1d0);export class AIReviewModeEditing extends _0x503ec6{static get[_0x47bb5e(0x1a9)](){const _0x18da4a=_0x47bb5e;return _0x18da4a(0x1b0);}static get[_0x47bb5e(0x213)](){return[_0x1012cc,_0x326ce8];}static get[_0x47bb5e(0x1c4)](){return!0x0;}static get[_0x47bb5e(0x233)](){return!0x0;}[_0x47bb5e(0x208)]=new Map();[_0x47bb5e(0x25e)];[_0x47bb5e(0x1eb)];constructor(_0x411195){const _0x53f8e4=_0x47bb5e;super(_0x411195),this[_0x53f8e4(0x25e)]=new(_0x5be040())(),this[_0x53f8e4(0x1eb)]=new(_0x1392f7())();}get[_0x47bb5e(0x26d)](){const _0x2409e7=_0x47bb5e;return this[_0x2409e7(0x1eb)];}[_0x47bb5e(0x258)](){const _0x182016=_0x47bb5e,_0x38de90=_0x17c963(this[_0x182016(0x21a)]);_0x38de90[_0x182016(0x1e1)][_0x182016(0x1d1)](_0x182016(0x249))[_0x182016(0x1df)]({'model':se+_0x182016(0x1be),'view':(_0x312b38,{writer:_0x5349c0})=>{const _0x2e18d0=_0x182016,_0xd0c3f9=this[_0x2e18d0(0x208)][_0x2e18d0(0x247)](_0x312b38[_0x2e18d0(0x240)]),_0x5b399b={'class':_0x2e18d0(0x222),'data-marker-id':_0x312b38[_0x2e18d0(0x240)]};return _0x5349c0[_0x2e18d0(0x271)](_0x2e18d0(0x1c6),_0x5b399b,function(_0x3879cf){const _0x4b15ef=_0x2e18d0,_0x494132=this[_0x4b15ef(0x1c1)](_0x3879cf);return _0x494132[_0x4b15ef(0x215)]=_0xd0c3f9?.[_0x4b15ef(0x246)]||'',_0x494132;});}}),_0x38de90[_0x182016(0x1e1)][_0x182016(0x1d1)](_0x182016(0x249))[_0x182016(0x1e4)]({'model':se+_0x182016(0x223),'view':_0x1ac7a4=>({'classes':_0x182016(0x231),'attributes':{'data-marker-id':_0x1ac7a4[_0x182016(0x240)]}})}),_0x38de90[_0x182016(0x1e1)][_0x182016(0x1d1)](_0x182016(0x249))[_0x182016(0x1e4)]({'model':se+_0x182016(0x1c8),'view':_0x531cce=>({'classes':_0x182016(0x21e),'attributes':{'data-marker-id':_0x531cce[_0x182016(0x240)]}})}),_0x38de90[_0x182016(0x1e1)][_0x182016(0x1d1)](_0x182016(0x249))[_0x182016(0x1e4)]({'model':se+_0x182016(0x252),'view':_0x3f4418=>({'classes':_0x182016(0x27e),'attributes':{'data-marker-id':_0x3f4418[_0x182016(0x240)]}})}),_0x38de90[_0x182016(0x1e1)][_0x182016(0x1d1)](_0x182016(0x200))[_0x182016(0x1df)]({'model':se+_0x182016(0x219),'view':(_0x52fddf,{writer:_0x3de823})=>_0x3de823[_0x182016(0x1c2)](_0x182016(0x1c6),{'class':_0x182016(0x22b)+(_0x52fddf[_0x182016(0x225)]?_0x182016(0x1f5):_0x182016(0x255))})}),_0x38de90[_0x182016(0x1e1)][_0x182016(0x1d1)](_0x182016(0x1f1))[_0x182016(0x1ee)]({'model':_0x206552,'view':_0x118397}),this[_0x182016(0x25e)][_0x182016(0x21f)](document,_0x182016(0x275),(_0x2a8e78,_0x52027f)=>{const _0x1651cb=_0x182016,_0x43713c=_0x52027f[_0x1651cb(0x20a)],_0x3b52d3=this[_0x1651cb(0x26a)](_0x43713c);if(!_0x3b52d3)return;const _0x41b79c=_0x3b52d3[_0x1651cb(0x1f2)](_0x1651cb(0x226)),_0x434657=_0x41b79c[_0x1651cb(0x1f4)](':')[_0x1651cb(0x251)]()?.[_0x1651cb(0x1f4)]('_')[0x0];this[_0x1651cb(0x1eb)][_0x1651cb(0x23f)](_0x1651cb(0x1c7),{'markerId':_0x41b79c,'changeId':_0x434657});});}[_0x47bb5e(0x274)](){const _0x2e034b=_0x47bb5e,_0x4f3154=this[_0x2e034b(0x21a)][_0x2e034b(0x22c)][_0x2e034b(0x247)](_0x2e034b(0x269)),_0x4e72e1=_0x17c963(this[_0x2e034b(0x21a)]),_0x35dd42=_0x4e72e1[_0x2e034b(0x1b1)],_0x516c04=new _0x521e0c();for(const _0x440aae of _0x35dd42[_0x2e034b(0x214)][_0x2e034b(0x1de)]()[_0x2e034b(0x1a8)]()){const _0x47b7fd=_0x440aae[_0x2e034b(0x210)](!0x0);_0x516c04[_0x2e034b(0x1b2)](_0x47b7fd);}for(const _0x6fd914 of _0x35dd42[_0x2e034b(0x1a6)])_0x516c04[_0x2e034b(0x1a6)][_0x2e034b(0x1e2)](_0x6fd914[_0x2e034b(0x261)],this[_0x2e034b(0x1d9)](_0x6fd914[_0x2e034b(0x26b)]()[_0x2e034b(0x227)](),_0x516c04));const _0x5795bd=new _0x5b2cf8({'ignoreElementEnd':!0x0,'startPosition':_0x35dd42[_0x2e034b(0x205)](_0x516c04,0x0)}),_0x90921d=new Set(),_0x1edad7=new Map();for(const {item:_0x121ff9}of _0x5795bd){if(!_0x121ff9['is'](_0x2e034b(0x1b6)))continue;const _0x2ed15d=_0x121ff9[_0x2e034b(0x1b7)];if((!_0x2ed15d||!_0x2ed15d['is'](_0x2e034b(0x1ff),_0x2e034b(0x1cd)))&&(_0x2ed15d&&_0x2ed15d['is'](_0x2e034b(0x1ff)))){let _0xc0d50c=_0x2ed15d[_0x2e034b(0x1f2)](_0x206552);_0xc0d50c||(_0xc0d50c=_0x4f3154[_0x2e034b(0x1a7)](_0x90921d),_0x2ed15d[_0x2e034b(0x23e)](_0x206552,_0xc0d50c)),_0x90921d[_0x2e034b(0x1e8)](_0xc0d50c);let _0x110792=_0x2ed15d;for(;_0x110792[_0x2e034b(0x1b7)]&&!_0x110792[_0x2e034b(0x1b7)]['is'](_0x2e034b(0x203));)_0x110792=_0x110792[_0x2e034b(0x1b7)],_0x110792[_0x2e034b(0x242)](_0x206552)&&_0x110792[_0x2e034b(0x262)](_0x206552);_0x1edad7[_0x2e034b(0x1e2)](_0xc0d50c,{'path':_0x2ed15d[_0x2e034b(0x20e)](),'getContent':this[_0x2e034b(0x27d)](_0x110792[_0x2e034b(0x210)](!0x0),_0xc0d50c,_0x4e72e1[_0x2e034b(0x248)])}),_0x5795bd[_0x2e034b(0x1c0)](_0x35dd42[_0x2e034b(0x218)](_0x2ed15d));}}return{'content':_0x4e72e1[_0x2e034b(0x248)][_0x2e034b(0x1cf)][_0x2e034b(0x22e)](_0x4e72e1[_0x2e034b(0x248)][_0x2e034b(0x1f7)](_0x516c04)),'version':_0x4e72e1[_0x2e034b(0x1b1)][_0x2e034b(0x214)][_0x2e034b(0x24f)],'elements':_0x1edad7};}[_0x47bb5e(0x1ea)](_0x3840c2,_0x284698){const _0x3e44d5=_0x47bb5e,_0x56c2e9=_0x17c963(this[_0x3e44d5(0x21a)]),_0x2a70ff=_0x56c2e9[_0x3e44d5(0x248)][_0x3e44d5(0x1fe)](_0x3840c2,_0x3e44d5(0x211)),_0x2a023e=_0x56c2e9[_0x3e44d5(0x1b1)][_0x3e44d5(0x205)](_0x2a70ff,0x0),_0x1ff8b8=this[_0x3e44d5(0x21a)][_0x3e44d5(0x22c)][_0x3e44d5(0x247)](_0x3e44d5(0x259))[_0x3e44d5(0x253)](_0x3840c2,_0x284698,{'anchor':_0x2a023e,'markDeletions':!0x0})[_0x3e44d5(0x1f9)]()[_0x3e44d5(0x278)](_0x4116a0=>_0x3e44d5(0x1be)===_0x4116a0[_0x3e44d5(0x230)]||_0x3e44d5(0x1ab)===_0x4116a0[_0x3e44d5(0x230)]&&_0x4116a0[_0x3e44d5(0x261)][_0x3e44d5(0x217)](_0x3e44d5(0x1fb))),_0x2b8430=this[_0x3e44d5(0x1db)](_0x1ff8b8),_0x1d0d76=[];let _0x3c420d=0x0;return _0x56c2e9[_0x3e44d5(0x1b1)][_0x3e44d5(0x1f8)](_0x12560e=>{const _0x358746=_0x3e44d5;for(let _0x4351b4=0x0;_0x4351b4<_0x2b8430[_0x358746(0x1cb)];_0x4351b4++){const _0x1285fd=_0x2b8430[_0x4351b4],_0x14dc9b=_0x12560e[_0x358746(0x24b)]();for(const _0x5df8eb of _0x2a70ff[_0x358746(0x1a8)]())_0x12560e[_0x358746(0x1e9)](_0x5df8eb[_0x358746(0x210)](!0x0),_0x14dc9b);for(const _0x474ba2 of _0x1285fd[_0x358746(0x23a)])if(_0x358746(0x1be)===_0x474ba2[_0x358746(0x230)]){const _0x52c9db=_0x474ba2;_0x52c9db[_0x358746(0x1b3)]=null,_0x52c9db[_0x358746(0x22d)]=!0x1,this[_0x358746(0x22a)](_0x52c9db,_0x14dc9b),_0x12560e[_0x358746(0x277)][_0x358746(0x1af)](_0x474ba2),_0x56c2e9[_0x358746(0x1b1)][_0x358746(0x1ad)](_0x474ba2);const _0x4ed3a8=_0x358746(0x23d)+_0x3c420d++,_0x14e1d9=_0x56c2e9[_0x358746(0x1b1)][_0x358746(0x1ba)](_0x52c9db[_0x358746(0x1e3)],_0x52c9db[_0x358746(0x1e3)][_0x358746(0x244)](_0x52c9db[_0x358746(0x1d8)]));_0x14dc9b[_0x358746(0x1a6)][_0x358746(0x1e2)](_0x4ed3a8,_0x14e1d9);}else{if(_0x358746(0x1ab)===_0x474ba2[_0x358746(0x230)]&&_0x474ba2[_0x358746(0x261)][_0x358746(0x217)](_0x358746(0x1fb))){const _0x3f4309=_0x474ba2,_0x2e5b60=_0x358746(0x216)+_0x3c420d++;this[_0x358746(0x22a)](_0x3f4309,_0x14dc9b),_0x14dc9b[_0x358746(0x1a6)][_0x358746(0x1e2)](_0x2e5b60,_0x3f4309[_0x358746(0x1bf)]);}}const _0x501c6a=this[_0x358746(0x1e0)](this[_0x358746(0x26c)](this[_0x358746(0x237)](_0x1285fd[_0x358746(0x23a)][0x0]),_0x14dc9b),this[_0x358746(0x26c)](this[_0x358746(0x201)](_0x1285fd[_0x358746(0x23a)][_0x1285fd[_0x358746(0x23a)][_0x358746(0x1cb)]-0x1]),_0x14dc9b));_0x14dc9b[_0x358746(0x1a6)][_0x358746(0x1e2)](se+_0x358746(0x219),new _0x9e9625(_0x501c6a[_0x358746(0x1f5)],_0x501c6a[_0x358746(0x255)])),_0x1d0d76[_0x358746(0x1ca)]({..._0x1285fd,'context':this[_0x358746(0x276)](_0x14dc9b,_0x56c2e9[_0x358746(0x248)],{'ellipsisBefore':_0x501c6a[_0x358746(0x1e5)],'ellipsisAfter':_0x501c6a[_0x358746(0x1d5)]}),'content':this[_0x358746(0x232)](_0x14dc9b,_0x56c2e9[_0x358746(0x248)])});}}),_0x1d0d76;}[_0x47bb5e(0x25f)](_0x13e2a4,_0x574647){const _0x333a66=_0x47bb5e,_0x4dfd05=_0x13e2a4[0x0][_0x333a66(0x1b7)]['id'],_0x3eac80=_0x574647[_0x333a66(0x235)][_0x333a66(0x247)](_0x4dfd05);if(!_0x3eac80)return void console[_0x333a66(0x279)](_0x333a66(0x1e7)+_0x4dfd05);const _0xce57df=_0x3eac80[_0x333a66(0x1ae)],_0x3d6fb3=_0x17c963(this[_0x333a66(0x21a)]),_0x1ba16c=_0x3d6fb3[_0x333a66(0x1b1)][_0x333a66(0x214)][_0x333a66(0x25b)][_0x333a66(0x1f9)](_0x574647[_0x333a66(0x24f)]),_0x1dc09a=[];for(const _0xc6cd60 of _0x13e2a4){const _0x1430ab=_0xc6cd60[_0x333a66(0x23a)][_0x333a66(0x1fa)](_0x25c32b=>this[_0x333a66(0x1ce)](_0x25c32b,_0xce57df,_0x3d6fb3[_0x333a66(0x1b1)][_0x333a66(0x214)][_0x333a66(0x224)]()[0x0]));if(!_0x1430ab||!_0x1430ab[_0x333a66(0x1cb)])continue;const _0x3e844e=_0x1430ab[_0x333a66(0x257)](_0x2b25c5=>_0x333a66(0x1ab)===_0x2b25c5[_0x333a66(0x230)]&&_0x2b25c5[_0x333a66(0x261)][_0x333a66(0x217)](_0x333a66(0x1fb))),_0x232dc4={'document':_0x3d6fb3[_0x333a66(0x1b1)][_0x333a66(0x214)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x50e5f4=_0x3b87d4(_0x1430ab,_0x1ba16c,_0x232dc4)[_0x333a66(0x206)];for(const _0x1b6e02 of _0x50e5f4)if(_0x333a66(0x1be)===_0x1b6e02[_0x333a66(0x230)]){const _0x2631f5=_0x1b6e02,_0x32cbd5=_0x2631f5[_0x333a66(0x22f)];let _0x31e914='';for(const _0x256bbe of _0x32cbd5)_0x256bbe&&_0x256bbe['is'](_0x333a66(0x239))&&(_0x31e914+=_0x256bbe[_0x333a66(0x248)]);_0x1dc09a[_0x333a66(0x1ca)]({'start':_0x2631f5[_0x333a66(0x1e3)],'end':_0x2631f5[_0x333a66(0x1e3)],'type':_0x333a66(0x1be),'groupId':_0xc6cd60['id'],'text':_0x31e914});}else{if(_0x333a66(0x1ab)===_0x1b6e02[_0x333a66(0x230)]&&_0x1b6e02[_0x333a66(0x261)][_0x333a66(0x217)](_0x333a66(0x1fb))){const _0x2b0367=_0x1b6e02;let _0x2d77bc=_0x333a66(0x252);if(_0x3e844e){const _0x1de0a0=this[_0x333a66(0x1ed)](_0x2b0367[_0x333a66(0x1bf)][_0x333a66(0x1f5)],_0x333a66(0x24a),_0x3d6fb3[_0x333a66(0x1b1)][_0x333a66(0x25c)]),_0x31fd5b=this[_0x333a66(0x1ed)](_0x2b0367[_0x333a66(0x1bf)][_0x333a66(0x255)],_0x333a66(0x256),_0x3d6fb3[_0x333a66(0x1b1)][_0x333a66(0x25c)]);if(_0x1de0a0||_0x31fd5b){const _0x45ae04=_0x2b0367[_0x333a66(0x1bf)][_0x333a66(0x1f5)][_0x333a66(0x244)](-_0x1de0a0),_0x1d34ea=_0x2b0367[_0x333a66(0x1bf)][_0x333a66(0x255)][_0x333a66(0x244)](_0x31fd5b);_0x1dc09a[_0x333a66(0x1ca)]({'start':_0x45ae04,'end':_0x1d34ea,'groupId':_0xc6cd60['id'],'type':_0x333a66(0x1c8)});}else _0x2d77bc=_0x333a66(0x223);}_0x1dc09a[_0x333a66(0x1ca)]({'start':_0x2b0367[_0x333a66(0x1bf)][_0x333a66(0x1f5)],'end':_0x2b0367[_0x333a66(0x1bf)][_0x333a66(0x255)],'groupId':_0xc6cd60['id'],'type':_0x2d77bc});}}}this[_0x333a66(0x263)](_0x1dc09a);}[_0x47bb5e(0x209)](){const _0x58e33d=_0x47bb5e;_0x17c963(this[_0x58e33d(0x21a)])[_0x58e33d(0x1b1)][_0x58e33d(0x1f8)](_0x44679f=>{const _0x4999ad=_0x58e33d;for(const _0x2598a3 of this[_0x4999ad(0x208)][_0x4999ad(0x266)]())_0x44679f[_0x4999ad(0x265)](_0x2598a3);}),this[_0x58e33d(0x208)][_0x58e33d(0x1aa)]();}[_0x47bb5e(0x202)](){const _0x547984=_0x47bb5e;_0x17c963(this[_0x547984(0x21a)])[_0x547984(0x228)](_0x547984(0x204));}[_0x47bb5e(0x1f0)](){const _0x24dc30=_0x47bb5e;_0x17c963(this[_0x24dc30(0x21a)])[_0x24dc30(0x1d3)](_0x24dc30(0x204));}[_0x47bb5e(0x1d4)](_0x6afa8d){const _0xa6350=_0x47bb5e,_0x456e0d=_0x17c963(this[_0xa6350(0x21a)]),_0x13e21e=_0x456e0d[_0xa6350(0x1b1)],_0x3d9bbf=_0x6afa8d[_0xa6350(0x1fa)](_0x55e2ad=>this[_0xa6350(0x254)](_0x55e2ad))[_0xa6350(0x270)]();_0x13e21e[_0xa6350(0x1f8)](_0x30c9ed=>{const _0x48ca56=_0xa6350;for(const _0x657e2d of _0x3d9bbf){const _0x1feaa5=_0x456e0d[_0x48ca56(0x1b1)][_0x48ca56(0x1a6)][_0x48ca56(0x247)](_0x657e2d['id']);_0x1feaa5&&(_0x48ca56(0x1be)===_0x657e2d[_0x48ca56(0x230)]?_0x13e21e[_0x48ca56(0x23b)](_0x30c9ed[_0x48ca56(0x1ef)](_0x657e2d[_0x48ca56(0x246)]||''),_0x1feaa5[_0x48ca56(0x26b)]()[_0x48ca56(0x1f5)]):_0x48ca56(0x252)!==_0x657e2d[_0x48ca56(0x230)]&&_0x48ca56(0x223)!==_0x657e2d[_0x48ca56(0x230)]||_0x13e21e[_0x48ca56(0x26e)](_0x13e21e[_0x48ca56(0x20d)](_0x1feaa5[_0x48ca56(0x26b)]())),_0x30c9ed[_0x48ca56(0x265)](_0x657e2d['id']),this[_0x48ca56(0x208)][_0x48ca56(0x221)](_0x657e2d['id']));}});}[_0x47bb5e(0x1bc)](_0x59601e){const _0x2a3e62=_0x47bb5e,_0x4a1e34=_0x17c963(this[_0x2a3e62(0x21a)]),_0x19a3c2=this[_0x2a3e62(0x254)](_0x59601e);_0x4a1e34[_0x2a3e62(0x1b1)][_0x2a3e62(0x1f8)](_0x160340=>{const _0x47996e=_0x2a3e62;for(const _0x4a93df of _0x19a3c2)_0x160340[_0x47996e(0x265)](_0x4a93df['id']),this[_0x47996e(0x208)][_0x47996e(0x221)](_0x4a93df['id']);});}[_0x47bb5e(0x21b)](){const _0x25db3b=_0x47bb5e;return _0x17c963(this[_0x25db3b(0x21a)]);}[_0x47bb5e(0x1fd)](_0x3dd31f){const _0x2feb5c=_0x47bb5e,_0x41a2bc=Array[_0x2feb5c(0x27c)](this[_0x2feb5c(0x208)][_0x2feb5c(0x260)]())[_0x2feb5c(0x278)](_0x4df765=>_0x4df765[_0x2feb5c(0x1bb)]===_0x3dd31f);if(!_0x41a2bc[_0x2feb5c(0x1cb)])return null;const _0x4abb3f=0x1===_0x41a2bc[_0x2feb5c(0x1cb)]?_0x41a2bc[0x0]:this[_0x2feb5c(0x267)](_0x41a2bc)[0x0],_0x2b2d0f=_0x17c963(this[_0x2feb5c(0x21a)]),_0x3dc6f8=_0x2b2d0f[_0x2feb5c(0x1b1)][_0x2feb5c(0x1a6)][_0x2feb5c(0x247)](_0x4abb3f['id']);if(!_0x3dc6f8)return null;const _0x5359e9=_0x3dc6f8[_0x2feb5c(0x26b)](),_0x43cd97=_0x2b2d0f[_0x2feb5c(0x229)][_0x2feb5c(0x245)][_0x2feb5c(0x20c)]();if(!_0x43cd97||!_0x5359e9)return null;const _0x186ac6=_0x43cd97[_0x2feb5c(0x1ec)](_0x2feb5c(0x1b5)+_0x4abb3f['id']+'\x22]');return _0x186ac6?{'modelRange':_0x5359e9,'domElement':_0x186ac6}:null;}[_0x47bb5e(0x1ce)](_0x21b494,_0x45c210,_0x1ecb77){const _0x4c9bcd=_0x47bb5e;if(_0x4c9bcd(0x1be)===_0x21b494[_0x4c9bcd(0x230)]){const _0x40a29c=_0x21b494;return new _0x1f9eb0(this[_0x4c9bcd(0x1d6)](_0x40a29c[_0x4c9bcd(0x1e3)],_0x45c210[_0x4c9bcd(0x21d)](_0x40a29c[_0x4c9bcd(0x1e3)][_0x4c9bcd(0x1fc)]),_0x1ecb77),_0x40a29c[_0x4c9bcd(0x22f)],_0x40a29c[_0x4c9bcd(0x1b3)]);}if(_0x4c9bcd(0x1ab)===_0x21b494[_0x4c9bcd(0x230)]&&_0x21b494[_0x4c9bcd(0x261)][_0x4c9bcd(0x217)](_0x4c9bcd(0x1fb))){const _0x30f12d=_0x21b494;return new _0x373e94(_0x30f12d[_0x4c9bcd(0x261)],_0x30f12d[_0x4c9bcd(0x1f3)],this[_0x4c9bcd(0x27b)](_0x30f12d[_0x4c9bcd(0x1bf)],_0x45c210[_0x4c9bcd(0x21d)](_0x30f12d[_0x4c9bcd(0x1bf)][_0x4c9bcd(0x1f5)][_0x4c9bcd(0x1fc)]),_0x45c210[_0x4c9bcd(0x21d)](_0x30f12d[_0x4c9bcd(0x1bf)][_0x4c9bcd(0x255)][_0x4c9bcd(0x1fc)]),_0x1ecb77),_0x30f12d[_0x4c9bcd(0x208)],_0x30f12d[_0x4c9bcd(0x1b8)],_0x30f12d[_0x4c9bcd(0x1b3)]);}return _0x21b494;}[_0x47bb5e(0x1db)](_0x18da28){const _0x2f5c4b=_0x47bb5e;if(!_0x18da28[_0x2f5c4b(0x1cb)])return[];const _0x4d736e=[];let _0x28ac91=0x0,_0x19673d=0x0,_0x76ec8c=[];for(let _0x4d6059=0x0;_0x4d6059<=_0x18da28[_0x2f5c4b(0x1cb)];_0x4d6059++){const _0x590476=_0x18da28[_0x4d6059],_0x7690cf=_0x18da28[_0x4d6059-0x1];!_0x590476||_0x7690cf&&!this[_0x2f5c4b(0x201)](_0x7690cf)[_0x2f5c4b(0x241)](this[_0x2f5c4b(0x237)](_0x590476))?(_0x4d736e[_0x2f5c4b(0x1ca)]({'operations':_0x76ec8c,'operationsIsolated':_0x76ec8c[_0x2f5c4b(0x1fa)](_0x178ccf=>this[_0x2f5c4b(0x220)](_0x178ccf[_0x2f5c4b(0x227)](),-_0x19673d)),'groupOffset':_0x28ac91}),_0x76ec8c=_0x590476?[_0x590476]:[],_0x19673d+=_0x28ac91,_0x28ac91=0x0):_0x76ec8c[_0x2f5c4b(0x1ca)](_0x590476),_0x590476&&_0x2f5c4b(0x1be)===_0x590476[_0x2f5c4b(0x230)]&&(_0x28ac91+=_0x590476[_0x2f5c4b(0x1d8)]);}return _0x4d736e;}[_0x47bb5e(0x1ed)](_0xbc7fb2,_0x128b0f,_0x150c3a,_0x18e276=0x1){const _0x383d4b=_0x47bb5e,_0x5e53da=new _0x5b2cf8({'startPosition':_0xbc7fb2,'direction':_0x128b0f});let _0xf9e0ba=0x0;for(let _0x3b1568=0x0;_0x3b1568<_0x18e276;_0x3b1568++){let _0x69c991=0x0,_0x48ccfa=!0x1,_0x4305d1=_0x383d4b(0x256)===_0x128b0f?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x1cdb1d}of _0x5e53da)if(_0x1cdb1d['is'](_0x383d4b(0x1b6))){const _0x37817a=_0x4305d1[_0x383d4b(0x1a5)](_0x1cdb1d[_0x383d4b(0x248)]);if(_0x37817a&&_0x37817a[_0x383d4b(0x1cb)]){if(_0x69c991+=_0x383d4b(0x256)===_0x128b0f?_0x37817a[_0x383d4b(0x273)]+_0x37817a[0x0][_0x383d4b(0x1cb)]:_0x1cdb1d[_0x383d4b(0x248)][_0x383d4b(0x1cb)]-_0x37817a[_0x383d4b(0x273)],_0x37817a[0x0][_0x383d4b(0x1cb)]!==_0x1cdb1d[_0x383d4b(0x248)][_0x383d4b(0x1cb)])break;_0x48ccfa=!0x0,_0x4305d1=_0x383d4b(0x256)===_0x128b0f?/^\w+/:/\w+$/;}else{if(_0x48ccfa)break;_0x69c991+=_0x1cdb1d[_0x383d4b(0x24c)];}}else{if(_0x1cdb1d['is'](_0x383d4b(0x1ff))){_0x150c3a[_0x383d4b(0x1cc)](_0x1cdb1d)&&!_0x48ccfa&&(_0x69c991+=0x1);break;}}_0xf9e0ba+=_0x69c991,_0x5e53da[_0x383d4b(0x1c0)](_0xbc7fb2[_0x383d4b(0x244)](_0x383d4b(0x256)===_0x128b0f?_0xf9e0ba:-_0xf9e0ba));}return _0xf9e0ba;}[_0x47bb5e(0x1e0)](_0x2b84c6,_0x3bf812){const _0x177a3e=_0x47bb5e,_0x96ad25=_0x17c963(this[_0x177a3e(0x21a)])[_0x177a3e(0x1b1)][_0x177a3e(0x25c)],_0x805014=this[_0x177a3e(0x1ed)](_0x2b84c6,_0x177a3e(0x24a),_0x96ad25,0x6),_0x8d77ed=this[_0x177a3e(0x1ed)](_0x3bf812,_0x177a3e(0x256),_0x96ad25,0x6),_0x4d62e0=_0x2b84c6[_0x177a3e(0x244)](-_0x805014),_0x39f1fc=_0x3bf812[_0x177a3e(0x244)](_0x8d77ed);return{'start':_0x4d62e0,'end':_0x39f1fc,'hasContentBefore':!_0x4d62e0[_0x177a3e(0x236)],'hasContentAfter':!_0x39f1fc[_0x177a3e(0x20f)]};}[_0x47bb5e(0x263)](_0x16afd5){const _0x54c471=_0x47bb5e,_0x31f4fd=this[_0x54c471(0x21a)][_0x54c471(0x22c)][_0x54c471(0x247)](_0x54c471(0x269)),_0x2eedeb=new Set();_0x17c963(this[_0x54c471(0x21a)])[_0x54c471(0x1b1)][_0x54c471(0x1f8)](_0x1f6be3=>{const _0x5f43f0=_0x54c471;for(const _0x2f033e of _0x16afd5){const _0x567212=''+se+_0x2f033e[_0x5f43f0(0x230)]+':'+_0x2f033e[_0x5f43f0(0x1bb)]+'_'+_0x31f4fd[_0x5f43f0(0x1a7)](_0x2eedeb);this[_0x5f43f0(0x208)][_0x5f43f0(0x1e2)](_0x567212,{'id':_0x567212,'groupId':_0x2f033e[_0x5f43f0(0x1bb)],'type':_0x2f033e[_0x5f43f0(0x230)],'text':_0x2f033e[_0x5f43f0(0x246)]}),_0x1f6be3[_0x5f43f0(0x1dd)](_0x567212,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1f6be3[_0x5f43f0(0x1ba)](_0x2f033e[_0x5f43f0(0x1f5)],_0x2f033e[_0x5f43f0(0x255)])});}});}[_0x47bb5e(0x276)](_0x138c40,_0xea04a1,_0x25e317){let _0x1898bb='';return()=>{const _0x3be195=_0x2458;if(!_0x1898bb){const _0x7fb82e=_0xea04a1[_0x3be195(0x1f7)](_0x138c40,{'showSuggestionHighlights':!0x0}),_0x43b08b=_0x7fb82e[_0x3be195(0x25a)](0x0);if(!_0x43b08b)return'';let _0x306513=!0x1;const _0x5035b3=[];for(const _0x321e35 of _0x43b08b[_0x3be195(0x1a8)]())_0x321e35['is'](_0x3be195(0x1ff),_0x3be195(0x1c6))&&_0x321e35[_0x3be195(0x1e6)](_0x3be195(0x1c3))&&(_0x306513=!0x1),_0x306513&&_0x5035b3[_0x3be195(0x1ca)](_0x321e35),_0x321e35['is'](_0x3be195(0x1ff),_0x3be195(0x1c6))&&_0x321e35[_0x3be195(0x1e6)](_0x3be195(0x26f))&&(_0x306513=!0x0);_0x43b08b[_0x3be195(0x1b9)](0x0,_0x43b08b[_0x3be195(0x234)]),_0x25e317?.[_0x3be195(0x24d)]&&_0x43b08b[_0x3be195(0x1b2)]('…'),_0x43b08b[_0x3be195(0x1b2)](_0x5035b3),_0x25e317?.[_0x3be195(0x1c5)]&&_0x43b08b[_0x3be195(0x1b2)]('…');const _0x59fa9a=_0xea04a1[_0x3be195(0x1b4)][_0x3be195(0x1bd)][_0x3be195(0x1c9)](_0x7fb82e),_0x15de5b=_0xea04a1[_0x3be195(0x1b4)][_0x3be195(0x24e)][_0x3be195(0x264)](_0x59fa9a);_0x1898bb=_0x15de5b;}return _0x1898bb;};}[_0x47bb5e(0x232)](_0x17c28f,_0x5469e4){const _0x169984=_0x47bb5e;let _0x5181f8='';return()=>(_0x5181f8||(_0x5181f8=_0x5469e4[_0x169984(0x20b)](_0x17c28f,{'showSuggestionHighlights':!0x0})),_0x5181f8);}[_0x47bb5e(0x27d)](_0x164b1d,_0x136e13,_0x10fe00){let _0x34f3a1='';return()=>{const _0xb454e1=_0x2458;if(!_0x34f3a1){const _0x4e454d=_0x10fe00[_0xb454e1(0x1f7)](new _0x521e0c(_0x164b1d)),_0x294190=_0x10fe00[_0xb454e1(0x1b4)][_0xb454e1(0x1bd)][_0xb454e1(0x1c9)](_0x4e454d)[_0xb454e1(0x1ec)](_0xb454e1(0x272)+_0x136e13+'\x22]');_0x34f3a1=_0x294190?.[_0xb454e1(0x250)]||'';}return _0x34f3a1;};}[_0x47bb5e(0x26a)](_0x477a45,_0x2004a8=0x5){const _0x4a2cf1=_0x47bb5e;let _0x15ae8a=_0x477a45,_0x31b8ea=null;for(let _0x440483=0x0;_0x440483<_0x2004a8&&_0x15ae8a;_0x440483++){if(!_0x15ae8a[_0x4a2cf1(0x23c)]){_0x15ae8a=_0x15ae8a[_0x4a2cf1(0x207)];continue;}if(!(''+_0x15ae8a[_0x4a2cf1(0x23c)])[_0x4a2cf1(0x27a)](_0x4a2cf1(0x1da))){_0x15ae8a=_0x15ae8a[_0x4a2cf1(0x207)];continue;}if(!_0x15ae8a[_0x4a2cf1(0x1f2)](_0x4a2cf1(0x226)))break;_0x31b8ea=_0x15ae8a;break;}return _0x31b8ea;}[_0x47bb5e(0x254)](_0x1cb0ca){const _0x438b51=_0x47bb5e;return Array[_0x438b51(0x27c)](this[_0x438b51(0x208)][_0x438b51(0x260)]())[_0x438b51(0x278)](_0x45e288=>_0x45e288[_0x438b51(0x1bb)]===_0x1cb0ca);}[_0x47bb5e(0x237)](_0x9e0bd5){const _0x5b035d=_0x47bb5e;return _0x5b035d(0x1be)===_0x9e0bd5[_0x5b035d(0x230)]?_0x9e0bd5[_0x5b035d(0x1e3)]:_0x9e0bd5[_0x5b035d(0x1bf)][_0x5b035d(0x1f5)];}[_0x47bb5e(0x201)](_0x3cb5b1,_0x4100ce=!0x1){const _0xfa4993=_0x47bb5e;return _0xfa4993(0x1be)===_0x3cb5b1[_0xfa4993(0x230)]?_0x4100ce?_0x3cb5b1[_0xfa4993(0x1e3)]:_0x3cb5b1[_0xfa4993(0x1e3)][_0xfa4993(0x244)](_0x3cb5b1[_0xfa4993(0x1d8)]):_0x3cb5b1[_0xfa4993(0x1bf)][_0xfa4993(0x255)];}[_0x47bb5e(0x220)](_0x5b3018,_0x5d654f){const _0x46ccd2=_0x47bb5e;return _0x46ccd2(0x1be)===_0x5b3018[_0x46ccd2(0x230)]?_0x5b3018[_0x46ccd2(0x1e3)]=_0x5b3018[_0x46ccd2(0x1e3)][_0x46ccd2(0x244)](_0x5d654f):_0x46ccd2(0x1ab)===_0x5b3018[_0x46ccd2(0x230)]&&_0x5b3018[_0x46ccd2(0x1bf)]&&(_0x5b3018[_0x46ccd2(0x1bf)]=new _0x9e9625(_0x5b3018[_0x46ccd2(0x1bf)][_0x46ccd2(0x1f5)][_0x46ccd2(0x244)](_0x5d654f),_0x5b3018[_0x46ccd2(0x1bf)][_0x46ccd2(0x255)][_0x46ccd2(0x244)](_0x5d654f))),_0x5b3018;}[_0x47bb5e(0x22a)](_0x252cfe,_0x3c3f93){const _0x210baa=_0x47bb5e;_0x210baa(0x1be)===_0x252cfe[_0x210baa(0x230)]?_0x252cfe[_0x210baa(0x1e3)]=this[_0x210baa(0x26c)](_0x252cfe[_0x210baa(0x1e3)],_0x3c3f93):_0x210baa(0x1ab)===_0x252cfe[_0x210baa(0x230)]&&_0x252cfe[_0x210baa(0x1bf)]&&(_0x252cfe[_0x210baa(0x1bf)]=this[_0x210baa(0x1d9)](_0x252cfe[_0x210baa(0x1bf)],_0x3c3f93));}[_0x47bb5e(0x26c)](_0x8b7828,_0x1b7832){const _0x2adbfb=_0x47bb5e;return new _0x4584a1(_0x1b7832,_0x8b7828[_0x2adbfb(0x1ae)]);}[_0x47bb5e(0x1d9)](_0x20fe7,_0x4fd209){const _0x307d9a=_0x47bb5e;return new _0x9e9625(this[_0x307d9a(0x26c)](_0x20fe7[_0x307d9a(0x1f5)],_0x4fd209),this[_0x307d9a(0x26c)](_0x20fe7[_0x307d9a(0x255)],_0x4fd209));}[_0x47bb5e(0x1d6)](_0x5b4899,_0x5ee668,_0x4d14af){return new _0x4584a1(_0x4d14af,[..._0x5ee668]);}[_0x47bb5e(0x27b)](_0x170c66,_0x1bb704,_0x4ab096,_0x4d08fc){const _0x506ff4=_0x47bb5e;return new _0x9e9625(this[_0x506ff4(0x1d6)](_0x170c66[_0x506ff4(0x1f5)],_0x1bb704,_0x4d08fc),this[_0x506ff4(0x1d6)](_0x170c66[_0x506ff4(0x255)],_0x4ab096,_0x4d08fc));}[_0x47bb5e(0x267)](_0x1085a9){const _0x26b4d3=_0x47bb5e,_0x4ed1ba=_0x56f01c=>{const _0x218668=_0x2458;switch(_0x56f01c){case _0x218668(0x1be):return 0x1;case _0x218668(0x1c8):return 0x2;case _0x218668(0x223):return 0x3;case _0x218668(0x252):return 0x4;}};return _0x1085a9[_0x26b4d3(0x1dc)]((_0x213533,_0x41eb89)=>_0x4ed1ba(_0x213533[_0x26b4d3(0x230)])-_0x4ed1ba(_0x41eb89[_0x26b4d3(0x230)]));}}
|
|
23
|
+
const _0xff2b94=_0x1a8a;(function(_0x3c5e51,_0x46af51){const _0x1eb502=_0x1a8a,_0xe59827=_0x3c5e51();while(!![]){try{const _0x4089f5=-parseInt(_0x1eb502(0x176))/0x1+parseInt(_0x1eb502(0x201))/0x2+-parseInt(_0x1eb502(0x1e7))/0x3+-parseInt(_0x1eb502(0x1be))/0x4+-parseInt(_0x1eb502(0x1d8))/0x5*(-parseInt(_0x1eb502(0x1fe))/0x6)+parseInt(_0x1eb502(0x1c0))/0x7+-parseInt(_0x1eb502(0x1f2))/0x8*(-parseInt(_0x1eb502(0x151))/0x9);if(_0x4089f5===_0x46af51)break;else _0xe59827['push'](_0xe59827['shift']());}catch(_0x52fab6){_0xe59827['push'](_0xe59827['shift']());}}}(_0x4835,0x3b341));import{InsertOperation as _0x2bc0ae,MarkerOperation as _0x1ae859,ModelDocumentFragment as _0x34f008,ModelPosition as _0x29f8a7,ModelRange as _0x1ae561,ModelTreeWalker as _0x4fbbb7,transformOperationSets as _0x37f3b3}from'ckeditor5/src/engine.js';function _0x1a8a(_0x1b3bae,_0x42b59c){const _0x48358d=_0x4835();return _0x1a8a=function(_0x1a8a26,_0x4ff1f7){_0x1a8a26=_0x1a8a26-0x148;let _0x1f4018=_0x48358d[_0x1a8a26];return _0x1f4018;},_0x1a8a(_0x1b3bae,_0x42b59c);}import{DomEmitterMixin as _0x363ba,EmitterMixin as _0x56b1c2}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x2b9ee0}from'ckeditor5/src/core.js';import{DocumentCompare as _0x386002,DATA_ID_MODEL_ATTRIBUTE as _0x4840cb,DATA_ID_VIEW_ATTRIBUTE as _0x278019}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4835(){const _0x51debb=['changeMarkerRestored','$textProxy','isOpening','data-marker-id','add','suggestion:insertion:id:authorId:','differ','markChangePositionInEditorContent','caption','filter','hasAttribute','$documentFragment','jumpTo','$graveyard','_createGetContentUsingDataIdFn','ellipsisBefore','markerName','ai-review-mode','length','documentFragment','_translateOperationToEditorContent','createDocumentFragment','376708OsrhDQ','listenTo','outerHTML','ck-ai_review-mode-marker_context-start','requires','clone','ellipsisAfter','_changePositionOwnerDocument','htmlProcessor','isIntersecting','No\x20element\x20found\x20for\x20ID:\x20','toView','diffContent','childCount','parent','delete','isInline','_insertMarkers','getPath','afterInit','push','context','getDiff','getChanges','baseVersion','offset','howMany','rootName','applyOperation','dataDowncast','toDomElement','element','history','_hasSameTopLevelElement','innerHTML','processor','ck-ai_review-mode-marker_','getHtml','exec','hasContentBefore','_domEmitter','isOfficialPlugin','attributeToAttribute','schema','_shiftOperation','nodes','index','_changeRangeOwnerDocument','clear','_getOperationStart','sort','_createGetContentFn','markers','_clone','fire','getChildren','$markedRemove','operationsA','text','insertContent','ck-ai_review-mode-marker_add','isPremiumPlugin','htmlWriter','name','isDocumentOperation','DocumentCompare','newRange','getMarkerElementForChange','_eventEmitter','_parseMarkerName','batch','addMarker','899648aMljub','affectsData','1044421XBmRcG','getRoots','_removeChildren','createRawElement','remove-only','addOperation','getChangedMarkers','click','suggestion:deletion:id:authorId:','ck-ai_review-mode-marker_context-end','append','getRoot','values','className','startsWith','_markers','parentElement','insert','change','createText','pop','remove-context','disableReadOnlyMode','hasClass','1675965DnIldj','createRange','model:$text','_validateMarkers','get','[data-id=\x22','backward','_groupAdjacentOperations','_getOperationEnd','target','_getMarkersDataForGroup','ck-ai_review-mode-marker_context-','suggestion-context','oldRange','getStart','1210647UaMYmX','switchToEdit','warn','_sortMarkers','isTouching','_getChangeContext','domConverter','forEach','createPositionAt','span','from','200YBnBPn','position','_appendChild','hasContentAfter','every','ck-ai_review-mode-marker_hide','_removeAttribute','changeMarkerRemoved','getEditor','offsetSize','type','getDomRoot','6vwvqtj','_changePosition','AIEditing','9090ebzhEB','clearAllMarkers','_createGetContextFn','emitter','forward','groupId','pluginName','elements','AIReviewModeEditing','end','editing','_findAdjacentContextDistance','_changeOperationOwnerDocument','changeMarkerClick','_findMarkerElement','querySelector','switchToReadOnly','isAtEnd','createUIElement','operationsIsolated','has','includes','conversion','parse','getShiftedBy','split','markerToHighlight','enableReadOnlyMode','ck-ai_review-mode-marker_strikethrough','[data-marker-id=\x22','_changeRange','plugins','document','remove-text','getChild','data','flat','for','markerToElement','toData','model','remove','viewToDom','downcast','marker','editingDowncast','rejectChange','ck-ai_review-mode-marker_underline','getOperations','reviewmode-','applyChange','isAtStart','getDocumentData','containsRange','map','path','removeMarker','set','getAttribute','createSelection','_nextDataId','273141kNGTrZ','getRange','_setAttribute','registerPostFixer','size','version','keys','_handleMarkerChanges','concat','root','deleteContent','stringify','start','view','createPositionAfter'];_0x4835=function(){return _0x51debb;};return _0x4835();}import{getEditorFromContext as _0x2dd432}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xec86cd}from'../aicore/aiediting.js';const me=_0xff2b94(0x232);export class AIReviewModeEditing extends _0x2b9ee0{static get[_0xff2b94(0x207)](){const _0x27b2ab=_0xff2b94;return _0x27b2ab(0x209);}static get[_0xff2b94(0x17a)](){return[_0x386002,_0xec86cd];}static get[_0xff2b94(0x19f)](){return!0x0;}static get[_0xff2b94(0x1b3)](){return!0x0;}[_0xff2b94(0x1cf)]=new Map();[_0xff2b94(0x19e)];[_0xff2b94(0x1ba)];constructor(_0x2798b4){const _0x578f08=_0xff2b94;super(_0x2798b4),this[_0x578f08(0x19e)]=new(_0x363ba())(),this[_0x578f08(0x1ba)]=new(_0x56b1c2())();}get[_0xff2b94(0x204)](){const _0x45f741=_0xff2b94;return this[_0x45f741(0x1ba)];}[_0xff2b94(0x189)](){const _0x1ec386=_0xff2b94,_0x8345bb=_0x2dd432(this[_0x1ec386(0x18b)]);_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x227)]({'model':me+_0x1ec386(0x1d1),'view':(_0x3c4e3c,{writer:_0x1cc708})=>{const _0x4dd213=_0x1ec386,_0x4a34da=this[_0x4dd213(0x1cf)][_0x4dd213(0x1dc)](_0x3c4e3c[_0x4dd213(0x170)]),_0x4059ba={'class':_0x4dd213(0x1b2),'data-marker-id':_0x3c4e3c[_0x4dd213(0x170)]};return _0x1cc708[_0x4dd213(0x213)](_0x4dd213(0x1f0),_0x4059ba,function(_0x48f57c){const _0x4bd2c4=_0x4dd213,_0x3f379d=this[_0x4bd2c4(0x194)](_0x48f57c);return _0x3f379d[_0x4bd2c4(0x198)]=_0x4a34da?.[_0x4bd2c4(0x1b0)]||'',_0x3f379d;});}}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x1c4),'view':_0x126d2f=>({'classes':_0x1ec386(0x21d),'attributes':{'data-marker-id':_0x126d2f[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x1d5),'view':_0x34d165=>({'classes':_0x1ec386(0x230),'attributes':{'data-marker-id':_0x34d165[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x222),'view':_0xa26a94=>({'classes':_0x1ec386(0x1f7),'attributes':{'data-marker-id':_0xa26a94[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x193))[_0x1ec386(0x227)]({'model':me+_0x1ec386(0x1e4),'view':(_0x46e587,{writer:_0x4f041b})=>_0x4f041b[_0x1ec386(0x1c3)](_0x1ec386(0x1f0),{'class':_0x1ec386(0x1e3)+(_0x46e587[_0x1ec386(0x162)]?_0x1ec386(0x15d):_0x1ec386(0x20a))})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22c))[_0x1ec386(0x1a0)]({'model':_0x4840cb,'view':_0x278019}),this[_0x1ec386(0x19e)][_0x1ec386(0x177)](document,_0x1ec386(0x1c7),(_0x2da34d,_0x269901)=>{const _0x1114d4=_0x1ec386,_0x5ac540=_0x269901[_0x1114d4(0x1e1)],_0xd2e8ed=this[_0x1114d4(0x20f)](_0x5ac540);if(!_0xd2e8ed)return;const _0x1bbcc7=_0xd2e8ed[_0x1114d4(0x14e)](_0x1114d4(0x163)),_0x5b8de0=_0x1bbcc7[_0x1114d4(0x21a)](':')[_0x1114d4(0x1d4)]()?.[_0x1114d4(0x21a)]('_')[0x0];this[_0x1114d4(0x1ba)][_0x1114d4(0x1ac)](_0x1114d4(0x20e),{'markerId':_0x1bbcc7,'changeId':_0x5b8de0});}),_0x8345bb[_0x1ec386(0x229)][_0x1ec386(0x221)][_0x1ec386(0x154)](_0x16f919=>this[_0x1ec386(0x1db)](_0x8345bb,_0x16f919)),_0x8345bb[_0x1ec386(0x229)][_0x1ec386(0x221)]['on'](_0x1ec386(0x1d2),()=>this[_0x1ec386(0x158)](_0x8345bb));}[_0xff2b94(0x148)](){const _0x2588cc=_0xff2b94,_0x243d9d=this[_0x2588cc(0x18b)][_0x2588cc(0x220)][_0x2588cc(0x1dc)](_0x2588cc(0x200)),_0x17df19=_0x2dd432(this[_0x2588cc(0x18b)]),_0x2c3a06=_0x17df19[_0x2588cc(0x229)],_0x3d89b8=new _0x34f008();for(const _0x119f43 of _0x2c3a06[_0x2588cc(0x221)][_0x2588cc(0x1cb)]()[_0x2588cc(0x1ad)]()){const _0x1a50ca=_0x119f43[_0x2588cc(0x1ab)](!0x0);_0x3d89b8[_0x2588cc(0x1f4)](_0x1a50ca);}for(const _0x4b956f of _0x2c3a06[_0x2588cc(0x1aa)])_0x3d89b8[_0x2588cc(0x1aa)][_0x2588cc(0x14d)](_0x4b956f[_0x2588cc(0x1b5)],this[_0x2588cc(0x1a5)](_0x4b956f[_0x2588cc(0x152)]()[_0x2588cc(0x17b)](),_0x3d89b8));const _0x4ac632=new _0x4fbbb7({'ignoreElementEnd':!0x0,'startPosition':_0x2c3a06[_0x2588cc(0x1ef)](_0x3d89b8,0x0)}),_0x178694=new Set(),_0x1715e4=new Map();for(const {item:_0x294ade}of _0x4ac632){if(!_0x294ade['is'](_0x2588cc(0x161)))continue;const _0x37b69e=_0x294ade[_0x2588cc(0x184)];if((!_0x37b69e||!_0x37b69e['is'](_0x2588cc(0x195),_0x2588cc(0x168)))&&(_0x37b69e&&_0x37b69e['is'](_0x2588cc(0x195)))){let _0x6b7f4c=_0x37b69e[_0x2588cc(0x14e)](_0x4840cb);_0x6b7f4c||(_0x6b7f4c=_0x243d9d[_0x2588cc(0x150)](_0x178694),_0x37b69e[_0x2588cc(0x153)](_0x4840cb,_0x6b7f4c)),_0x178694[_0x2588cc(0x164)](_0x6b7f4c);let _0x18d504=_0x37b69e;for(;_0x18d504[_0x2588cc(0x184)]&&!_0x18d504[_0x2588cc(0x184)]['is'](_0x2588cc(0x173));)_0x18d504=_0x18d504[_0x2588cc(0x184)],_0x18d504[_0x2588cc(0x16a)](_0x4840cb)&&_0x18d504[_0x2588cc(0x1f8)](_0x4840cb);_0x1715e4[_0x2588cc(0x14d)](_0x6b7f4c,{'path':_0x37b69e[_0x2588cc(0x188)](),'getContent':this[_0x2588cc(0x16e)](_0x18d504[_0x2588cc(0x1ab)](!0x0),_0x6b7f4c,_0x17df19[_0x2588cc(0x224)])}),_0x4ac632[_0x2588cc(0x16c)](_0x2c3a06[_0x2588cc(0x15f)](_0x37b69e));}}return{'content':_0x17df19[_0x2588cc(0x224)][_0x2588cc(0x199)][_0x2588cc(0x228)](_0x17df19[_0x2588cc(0x224)][_0x2588cc(0x181)](_0x3d89b8)),'version':_0x17df19[_0x2588cc(0x229)][_0x2588cc(0x221)][_0x2588cc(0x156)],'elements':_0x1715e4};}[_0xff2b94(0x182)](_0x15322b,_0x5af7d7){const _0x17913c=_0xff2b94,_0x14ce80=[],_0xb9e4b8=_0x2dd432(this[_0x17913c(0x18b)]),_0xb131fe=_0xb9e4b8[_0x17913c(0x224)][_0x17913c(0x218)](_0x15322b,_0x17913c(0x16b)),_0x2d85ce=_0xb9e4b8[_0x17913c(0x229)][_0x17913c(0x1ef)](_0xb131fe,0x0),_0x4374b8=_0xb9e4b8[_0x17913c(0x224)][_0x17913c(0x218)](_0x5af7d7,_0x17913c(0x16b));if(!this[_0x17913c(0x197)](_0xb131fe,_0x4374b8))return _0x14ce80;const _0x2a01fa=this[_0x17913c(0x18b)][_0x17913c(0x220)][_0x17913c(0x1dc)](_0x17913c(0x1b7))[_0x17913c(0x18c)](_0x15322b,_0x5af7d7,{'anchor':_0x2d85ce,'markDeletions':!0x0})[_0x17913c(0x231)]()[_0x17913c(0x169)](_0x5a6317=>_0x17913c(0x1d1)===_0x5a6317[_0x17913c(0x1fc)]||_0x17913c(0x22d)===_0x5a6317[_0x17913c(0x1fc)]&&_0x5a6317[_0x17913c(0x1b5)][_0x17913c(0x1ce)](_0x17913c(0x1ae))),_0x11b654=this[_0x17913c(0x1df)](_0x2a01fa);let _0x2cdd3c=0x0;return _0xb9e4b8[_0x17913c(0x229)][_0x17913c(0x1d2)](_0x1bfc87=>{const _0x3e4b75=_0x17913c;for(let _0xacb89f=0x0;_0xacb89f<_0x11b654[_0x3e4b75(0x172)];_0xacb89f++){const _0x18121c=_0x11b654[_0xacb89f],_0x36aac5=_0x1bfc87[_0x3e4b75(0x175)]();for(const _0x431cd7 of _0xb131fe[_0x3e4b75(0x1ad)]())_0x1bfc87[_0x3e4b75(0x1ca)](_0x431cd7[_0x3e4b75(0x1ab)](!0x0),_0x36aac5);for(const _0x5af803 of _0x18121c[_0x3e4b75(0x214)])if(_0x3e4b75(0x1d1)===_0x5af803[_0x3e4b75(0x1fc)]){const _0x5e9554=_0x5af803;_0x5e9554[_0x3e4b75(0x18e)]=null,_0x5e9554[_0x3e4b75(0x1b6)]=!0x1,this[_0x3e4b75(0x20d)](_0x5e9554,_0x36aac5),_0x1bfc87[_0x3e4b75(0x1bc)][_0x3e4b75(0x1c5)](_0x5af803),_0xb9e4b8[_0x3e4b75(0x229)][_0x3e4b75(0x192)](_0x5af803);const _0x100e96=_0x3e4b75(0x165)+_0x2cdd3c++,_0x5db704=_0xb9e4b8[_0x3e4b75(0x229)][_0x3e4b75(0x1d9)](_0x5e9554[_0x3e4b75(0x1f3)],_0x5e9554[_0x3e4b75(0x1f3)][_0x3e4b75(0x219)](_0x5e9554[_0x3e4b75(0x190)]));_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](_0x100e96,_0x5db704);}else{if(_0x3e4b75(0x22d)===_0x5af803[_0x3e4b75(0x1fc)]&&_0x5af803[_0x3e4b75(0x1b5)][_0x3e4b75(0x1ce)](_0x3e4b75(0x1ae))){const _0x1ca6c1=_0x5af803,_0x48ce06=_0x3e4b75(0x1c8)+_0x2cdd3c++;this[_0x3e4b75(0x20d)](_0x1ca6c1,_0x36aac5),_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](_0x48ce06,_0x1ca6c1[_0x3e4b75(0x1b8)]);}}const _0x4457d5=this[_0x3e4b75(0x1ec)](this[_0x3e4b75(0x17d)](this[_0x3e4b75(0x1a7)](_0x18121c[_0x3e4b75(0x214)][0x0]),_0x36aac5),this[_0x3e4b75(0x17d)](this[_0x3e4b75(0x1e0)](_0x18121c[_0x3e4b75(0x214)][_0x18121c[_0x3e4b75(0x214)][_0x3e4b75(0x172)]-0x1]),_0x36aac5));_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](me+_0x3e4b75(0x1e4),new _0x1ae561(_0x4457d5[_0x3e4b75(0x15d)],_0x4457d5[_0x3e4b75(0x20a)])),_0x14ce80[_0x3e4b75(0x18a)]({..._0x18121c,'context':this[_0x3e4b75(0x203)](_0x36aac5,_0xb9e4b8[_0x3e4b75(0x224)],{'ellipsisBefore':_0x4457d5[_0x3e4b75(0x19d)],'ellipsisAfter':_0x4457d5[_0x3e4b75(0x1f5)]}),'content':this[_0x3e4b75(0x1a9)](_0x36aac5,_0xb9e4b8[_0x3e4b75(0x224)])});}}),_0x14ce80;}[_0xff2b94(0x167)](_0x2b73f7,_0x281d0e){const _0x4f0fd2=_0xff2b94;if(!_0x2b73f7[_0x4f0fd2(0x172)])return;const _0x1a41cb=_0x2b73f7[0x0][_0x4f0fd2(0x184)]['id'],_0x259920=_0x281d0e[_0x4f0fd2(0x208)][_0x4f0fd2(0x1dc)](_0x1a41cb);if(!_0x259920)return void console[_0x4f0fd2(0x1e9)](_0x4f0fd2(0x180)+_0x1a41cb);const _0x59337e=_0x259920[_0x4f0fd2(0x14b)],_0x31ac8e=_0x2dd432(this[_0x4f0fd2(0x18b)]),_0xf4c1f0=_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)][_0x4f0fd2(0x196)][_0x4f0fd2(0x231)](_0x281d0e[_0x4f0fd2(0x156)]),_0x56f404=[];for(const _0x3558c3 of _0x2b73f7){const _0x3dbd6c=_0x3558c3[_0x4f0fd2(0x214)][_0x4f0fd2(0x14a)](_0x7a469d=>this[_0x4f0fd2(0x174)](_0x7a469d,_0x59337e,_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)][_0x4f0fd2(0x1c1)]()[0x0]));if(!_0x3dbd6c||!_0x3dbd6c[_0x4f0fd2(0x172)])continue;const _0x5e3a83=_0x3dbd6c[_0x4f0fd2(0x1f6)](_0x47ed2b=>_0x4f0fd2(0x22d)===_0x47ed2b[_0x4f0fd2(0x1fc)]&&_0x47ed2b[_0x4f0fd2(0x1b5)][_0x4f0fd2(0x1ce)](_0x4f0fd2(0x1ae))),_0x5daa26={'document':_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2bc37c=_0x37f3b3(_0x3dbd6c,_0xf4c1f0,_0x5daa26)[_0x4f0fd2(0x1af)];for(const _0x492ccc of _0x2bc37c)if(_0x4f0fd2(0x1d1)===_0x492ccc[_0x4f0fd2(0x1fc)]){const _0x415f6a=_0x492ccc,_0x1d0ded=_0x415f6a[_0x4f0fd2(0x1a3)];let _0xc90c70='';for(const _0x5a7ac8 of _0x1d0ded)_0x5a7ac8&&_0x5a7ac8['is'](_0x4f0fd2(0x1da))&&(_0xc90c70+=_0x5a7ac8[_0x4f0fd2(0x224)]);_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x415f6a[_0x4f0fd2(0x1f3)],'end':_0x415f6a[_0x4f0fd2(0x1f3)],'type':_0x4f0fd2(0x1d1),'groupId':_0x3558c3['id'],'text':_0xc90c70});}else{if(_0x4f0fd2(0x22d)===_0x492ccc[_0x4f0fd2(0x1fc)]&&_0x492ccc[_0x4f0fd2(0x1b5)][_0x4f0fd2(0x1ce)](_0x4f0fd2(0x1ae))){const _0x23694f=_0x492ccc;let _0x71b748=_0x4f0fd2(0x222);if(_0x5e3a83){const _0x268e06=this[_0x4f0fd2(0x20c)](_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)],_0x4f0fd2(0x1de),_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x1a1)]),_0xff835b=this[_0x4f0fd2(0x20c)](_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)],_0x4f0fd2(0x205),_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x1a1)]);if(_0x268e06||_0xff835b){const _0x2bfed3=_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)][_0x4f0fd2(0x219)](-_0x268e06),_0x2980c9=_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)][_0x4f0fd2(0x219)](_0xff835b);_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x2bfed3,'end':_0x2980c9,'groupId':_0x3558c3['id'],'type':_0x4f0fd2(0x1d5)});}else _0x71b748=_0x4f0fd2(0x1c4);}_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)],'end':_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)],'groupId':_0x3558c3['id'],'type':_0x71b748});}}}this[_0x4f0fd2(0x187)](_0x56f404);}[_0xff2b94(0x202)](){const _0x3c676d=_0xff2b94,_0x1b1e9a=_0x2dd432(this[_0x3c676d(0x18b)]);_0x1b1e9a[_0x3c676d(0x229)][_0x3c676d(0x1d2)](_0x29503=>{const _0x31a430=_0x3c676d;for(const _0x22c199 of this[_0x31a430(0x1cf)][_0x31a430(0x157)]())_0x1b1e9a[_0x31a430(0x229)][_0x31a430(0x1aa)][_0x31a430(0x1dc)](_0x22c199)&&_0x29503[_0x31a430(0x14c)](_0x22c199);}),this[_0x3c676d(0x1cf)][_0x3c676d(0x1a6)]();}[_0xff2b94(0x211)](){const _0x44c299=_0xff2b94;_0x2dd432(this[_0x44c299(0x18b)])[_0x44c299(0x21c)](_0x44c299(0x171));}[_0xff2b94(0x1e8)](){const _0x3f3670=_0xff2b94;_0x2dd432(this[_0x3f3670(0x18b)])[_0x3f3670(0x1d6)](_0x3f3670(0x171));}[_0xff2b94(0x233)](_0x438faf){const _0x44781f=_0xff2b94,_0x3c5b73=_0x2dd432(this[_0x44781f(0x18b)]),_0xab6551=_0x3c5b73[_0x44781f(0x229)],_0x535b7b=_0x438faf[_0x44781f(0x14a)](_0x189ff7=>this[_0x44781f(0x1e2)](_0x189ff7))[_0x44781f(0x225)]();_0xab6551[_0x44781f(0x1d2)](_0x4b6df5=>{const _0x3ef07d=_0x44781f;for(const _0x4911c5 of _0x535b7b){const _0xe3037c=_0x3c5b73[_0x3ef07d(0x229)][_0x3ef07d(0x1aa)][_0x3ef07d(0x1dc)](_0x4911c5['id']);_0xe3037c&&(_0x3ef07d(0x1d1)===_0x4911c5[_0x3ef07d(0x1fc)]?_0xab6551[_0x3ef07d(0x1b1)](_0x4b6df5[_0x3ef07d(0x1d3)](_0x4911c5[_0x3ef07d(0x1b0)]||''),_0xe3037c[_0x3ef07d(0x152)]()[_0x3ef07d(0x15d)]):_0x3ef07d(0x222)!==_0x4911c5[_0x3ef07d(0x1fc)]&&_0x3ef07d(0x1c4)!==_0x4911c5[_0x3ef07d(0x1fc)]||_0xab6551[_0x3ef07d(0x15b)](_0xab6551[_0x3ef07d(0x14f)](_0xe3037c[_0x3ef07d(0x152)]())),_0x4b6df5[_0x3ef07d(0x14c)](_0x4911c5['id']),this[_0x3ef07d(0x1cf)][_0x3ef07d(0x185)](_0x4911c5['id']));}});}[_0xff2b94(0x22f)](_0x4134b3){const _0x2e3cec=_0xff2b94,_0xa231f7=_0x2dd432(this[_0x2e3cec(0x18b)]),_0x36932c=this[_0x2e3cec(0x1e2)](_0x4134b3);_0xa231f7[_0x2e3cec(0x229)][_0x2e3cec(0x1d2)](_0x10b305=>{const _0x16745d=_0x2e3cec;for(const _0x1f9691 of _0x36932c)_0x10b305[_0x16745d(0x14c)](_0x1f9691['id']),this[_0x16745d(0x1cf)][_0x16745d(0x185)](_0x1f9691['id']);});}[_0xff2b94(0x1fa)](){const _0x1be729=_0xff2b94;return _0x2dd432(this[_0x1be729(0x18b)]);}[_0xff2b94(0x1b9)](_0x1d9560){const _0x2a95c0=_0xff2b94,_0x71b535=Array[_0x2a95c0(0x1f1)](this[_0x2a95c0(0x1cf)][_0x2a95c0(0x1cc)]())[_0x2a95c0(0x169)](_0x3e52a3=>_0x3e52a3[_0x2a95c0(0x206)]===_0x1d9560);if(!_0x71b535[_0x2a95c0(0x172)])return null;const _0x5ede9a=0x1===_0x71b535[_0x2a95c0(0x172)]?_0x71b535[0x0]:this[_0x2a95c0(0x1ea)](_0x71b535)[0x0],_0x1f0af9=_0x2dd432(this[_0x2a95c0(0x18b)]),_0x4ef525=_0x1f0af9[_0x2a95c0(0x229)][_0x2a95c0(0x1aa)][_0x2a95c0(0x1dc)](_0x5ede9a['id']);if(!_0x4ef525)return null;const _0x51fbe8=_0x4ef525[_0x2a95c0(0x152)](),_0x1aae15=_0x1f0af9[_0x2a95c0(0x20b)][_0x2a95c0(0x15e)][_0x2a95c0(0x1fd)]();if(!_0x1aae15||!_0x51fbe8)return null;const _0xa0af19=_0x1aae15[_0x2a95c0(0x210)](_0x2a95c0(0x21e)+_0x5ede9a['id']+'\x22]');return _0xa0af19?{'modelRange':_0x51fbe8,'domElement':_0xa0af19}:null;}[_0xff2b94(0x1db)](_0x35161b,_0x32ddaf){const _0x8687ff=_0xff2b94,_0x18f533=Array[_0x8687ff(0x1f1)](this[_0x8687ff(0x1cf)][_0x8687ff(0x157)]()),_0x5a16c1=new Map();for(const _0x75eb73 of _0x18f533){const _0x1b1ff4=_0x35161b[_0x8687ff(0x229)][_0x8687ff(0x1aa)][_0x8687ff(0x1dc)](_0x75eb73);if(!_0x1b1ff4)continue;const _0x815660=_0x1b1ff4[_0x8687ff(0x1e6)]()[_0x8687ff(0x14b)][0x0];_0x5a16c1[_0x8687ff(0x215)](_0x815660)||_0x5a16c1[_0x8687ff(0x14d)](_0x815660,[]),_0x5a16c1[_0x8687ff(0x1dc)](_0x815660)[_0x8687ff(0x18a)](_0x1b1ff4);}const _0x5b83f0=new Set();for(const _0x14ff97 of _0x35161b[_0x8687ff(0x229)][_0x8687ff(0x221)][_0x8687ff(0x166)][_0x8687ff(0x18d)]()){let _0x173f45=-0x1,_0x12214c=null;if(_0x8687ff(0x1d1)===_0x14ff97[_0x8687ff(0x1fc)])_0x12214c=new _0x1ae561(_0x14ff97[_0x8687ff(0x1f3)],_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x219)](_0x14ff97[_0x8687ff(0x172)])),_0x173f45=_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x14b)][0x0];else{if(_0x8687ff(0x22a)!==_0x14ff97[_0x8687ff(0x1fc)])continue;_0x12214c=new _0x1ae561(_0x14ff97[_0x8687ff(0x1f3)]),_0x173f45=_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x14b)][0x0];}const _0x2e8782=_0x5a16c1[_0x8687ff(0x1dc)](_0x173f45)||[];if(_0x2e8782[_0x8687ff(0x172)]){for(const _0x3eddf8 of _0x2e8782)if(_0x12214c[_0x8687ff(0x15a)][_0x8687ff(0x191)]===_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x15a)][_0x8687ff(0x191)]&&(_0x8687ff(0x1d1)!==_0x14ff97[_0x8687ff(0x1fc)]||!_0x12214c[_0x8687ff(0x149)](_0x3eddf8[_0x8687ff(0x152)]()))&&(_0x12214c[_0x8687ff(0x17f)](_0x3eddf8[_0x8687ff(0x152)]())||_0x12214c[_0x8687ff(0x15d)][_0x8687ff(0x1eb)](_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x20a)])||_0x12214c[_0x8687ff(0x20a)][_0x8687ff(0x1eb)](_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x15d)]))){const _0x53b6bd=this[_0x8687ff(0x1bb)](_0x3eddf8[_0x8687ff(0x1b5)]);Array[_0x8687ff(0x1f1)](this[_0x8687ff(0x1cf)][_0x8687ff(0x1cc)]())[_0x8687ff(0x169)](_0x1ff38e=>_0x1ff38e[_0x8687ff(0x206)]===_0x53b6bd[_0x8687ff(0x206)])[_0x8687ff(0x1ee)](_0x369764=>_0x5b83f0[_0x8687ff(0x164)](_0x369764['id']));}}}if(_0x5b83f0[_0x8687ff(0x155)]){for(const _0x5e8577 of _0x5b83f0)_0x32ddaf[_0x8687ff(0x14c)](_0x5e8577);return!0x0;}return!0x1;}[_0xff2b94(0x158)](_0xc892a5){const _0x408c10=_0xff2b94;for(const {name:_0x239891,data:_0x23371e}of _0xc892a5[_0x408c10(0x229)][_0x408c10(0x221)][_0x408c10(0x166)][_0x408c10(0x1c6)]()){if(!_0x239891[_0x408c10(0x1ce)](me))continue;const _0x5aa424=_0x23371e[_0x408c10(0x1e5)],_0x39bef8=_0x23371e[_0x408c10(0x1b8)],_0x4d44e4=_0x5aa424&&_0x408c10(0x16d)===_0x5aa424[_0x408c10(0x15a)][_0x408c10(0x191)],_0x4f7415=_0x39bef8&&_0x408c10(0x16d)===_0x39bef8[_0x408c10(0x15a)][_0x408c10(0x191)];if(_0x4d44e4&&_0x4f7415)continue;const _0x4363c2=this[_0x408c10(0x1bb)](_0x239891);this[_0x408c10(0x1cf)][_0x408c10(0x1dc)](_0x239891)&&(_0x4f7415||!_0x39bef8?this[_0x408c10(0x1ba)][_0x408c10(0x1ac)](_0x408c10(0x1f9),{'markerId':_0x239891,'changeId':_0x4363c2[_0x408c10(0x206)]}):_0x4d44e4&&_0x39bef8&&this[_0x408c10(0x1ba)][_0x408c10(0x1ac)](_0x408c10(0x160),{'markerId':_0x239891,'changeId':_0x4363c2[_0x408c10(0x206)]}));}}[_0xff2b94(0x1bb)](_0x3805eb){const _0x3d0032=_0xff2b94,_0x22cd52=_0x3805eb[_0x3d0032(0x21a)](':'),_0x1c0c47=(_0x22cd52[0x1]||'')[_0x3d0032(0x21a)]('_');return{'prefix':_0x22cd52[0x0],'groupId':_0x1c0c47[0x0],'suffix':_0x1c0c47[0x1]};}[_0xff2b94(0x174)](_0x2e9ff0,_0x19b7ca,_0x1a79cb){const _0xad83f6=_0xff2b94;if(_0xad83f6(0x1d1)===_0x2e9ff0[_0xad83f6(0x1fc)]){const _0x562917=_0x2e9ff0;return new _0x2bc0ae(this[_0xad83f6(0x1ff)](_0x19b7ca[_0xad83f6(0x159)](_0x562917[_0xad83f6(0x1f3)][_0xad83f6(0x18f)]),_0x1a79cb),_0x562917[_0xad83f6(0x1a3)],_0x562917[_0xad83f6(0x18e)]);}if(_0xad83f6(0x22d)===_0x2e9ff0[_0xad83f6(0x1fc)]&&_0x2e9ff0[_0xad83f6(0x1b5)][_0xad83f6(0x1ce)](_0xad83f6(0x1ae))){const _0x3d75cb=_0x2e9ff0;return new _0x1ae859(_0x3d75cb[_0xad83f6(0x1b5)],_0x3d75cb[_0xad83f6(0x1e5)],this[_0xad83f6(0x21f)](_0x3d75cb[_0xad83f6(0x1b8)],_0x19b7ca[_0xad83f6(0x159)](_0x3d75cb[_0xad83f6(0x1b8)][_0xad83f6(0x15d)][_0xad83f6(0x18f)]),_0x19b7ca[_0xad83f6(0x159)](_0x3d75cb[_0xad83f6(0x1b8)][_0xad83f6(0x20a)][_0xad83f6(0x18f)]),_0x1a79cb),_0x3d75cb[_0xad83f6(0x1cf)],_0x3d75cb[_0xad83f6(0x1bf)],_0x3d75cb[_0xad83f6(0x18e)]);}return _0x2e9ff0;}[_0xff2b94(0x1df)](_0x52d710){const _0x44b262=_0xff2b94;if(!_0x52d710[_0x44b262(0x172)])return[];const _0x33a3f7=[];let _0xd8f840=0x0,_0x42d77b=0x0,_0x2b3cac=[];for(let _0x4368a2=0x0;_0x4368a2<=_0x52d710[_0x44b262(0x172)];_0x4368a2++){const _0xa81a66=_0x52d710[_0x4368a2],_0x3da607=_0x52d710[_0x4368a2-0x1];!_0xa81a66||_0x3da607&&!this[_0x44b262(0x1e0)](_0x3da607)[_0x44b262(0x1eb)](this[_0x44b262(0x1a7)](_0xa81a66))?(_0x33a3f7[_0x44b262(0x18a)]({'operations':_0x2b3cac,'operationsIsolated':_0x2b3cac[_0x44b262(0x14a)](_0x2f0f1f=>this[_0x44b262(0x1a2)](_0x2f0f1f[_0x44b262(0x17b)](),-_0x42d77b)),'groupOffset':_0xd8f840}),_0x2b3cac=_0xa81a66?[_0xa81a66]:[],_0x42d77b+=_0xd8f840,_0xd8f840=0x0):_0x2b3cac[_0x44b262(0x18a)](_0xa81a66),_0xa81a66&&_0x44b262(0x1d1)===_0xa81a66[_0x44b262(0x1fc)]&&(_0xd8f840+=_0xa81a66[_0x44b262(0x190)]);}return _0x33a3f7;}[_0xff2b94(0x20c)](_0x53b9a4,_0x12a013,_0x21f484,_0x30dcb8=0x1){const _0xeed9ee=_0xff2b94,_0x498aa9=new _0x4fbbb7({'startPosition':_0x53b9a4,'direction':_0x12a013});let _0x4565a7=0x0;for(let _0x10e7ed=0x0;_0x10e7ed<_0x30dcb8;_0x10e7ed++){let _0x2f853f=0x0,_0x1382cd=!0x1,_0x50a019=_0xeed9ee(0x205)===_0x12a013?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xd6e4e9}of _0x498aa9)if(_0xd6e4e9['is'](_0xeed9ee(0x161))){const _0x45f622=_0x50a019[_0xeed9ee(0x19c)](_0xd6e4e9[_0xeed9ee(0x224)]);if(_0x45f622&&_0x45f622[_0xeed9ee(0x172)]){if(_0x2f853f+=_0xeed9ee(0x205)===_0x12a013?_0x45f622[_0xeed9ee(0x1a4)]+_0x45f622[0x0][_0xeed9ee(0x172)]:_0xd6e4e9[_0xeed9ee(0x224)][_0xeed9ee(0x172)]-_0x45f622[_0xeed9ee(0x1a4)],_0x45f622[0x0][_0xeed9ee(0x172)]!==_0xd6e4e9[_0xeed9ee(0x224)][_0xeed9ee(0x172)])break;_0x1382cd=!0x0,_0x50a019=_0xeed9ee(0x205)===_0x12a013?/^\w+/:/\w+$/;}else{if(_0x1382cd)break;_0x2f853f+=_0xd6e4e9[_0xeed9ee(0x1fb)];}}else{if(_0xd6e4e9['is'](_0xeed9ee(0x195))){_0x21f484[_0xeed9ee(0x186)](_0xd6e4e9)&&!_0x1382cd&&(_0x2f853f+=0x1);break;}}_0x4565a7+=_0x2f853f,_0x498aa9[_0xeed9ee(0x16c)](_0x53b9a4[_0xeed9ee(0x219)](_0xeed9ee(0x205)===_0x12a013?_0x4565a7:-_0x4565a7));}return _0x4565a7;}[_0xff2b94(0x1ec)](_0x5517b2,_0x3df8ff){const _0x5f096e=_0xff2b94,_0x34691a=_0x2dd432(this[_0x5f096e(0x18b)])[_0x5f096e(0x229)][_0x5f096e(0x1a1)],_0x170c60=this[_0x5f096e(0x20c)](_0x5517b2,_0x5f096e(0x1de),_0x34691a,0x6),_0xa8a9f6=this[_0x5f096e(0x20c)](_0x3df8ff,_0x5f096e(0x205),_0x34691a,0x6),_0x10242d=_0x5517b2[_0x5f096e(0x219)](-_0x170c60),_0x19dce7=_0x3df8ff[_0x5f096e(0x219)](_0xa8a9f6);return{'start':_0x10242d,'end':_0x19dce7,'hasContentBefore':!_0x10242d[_0x5f096e(0x234)],'hasContentAfter':!_0x19dce7[_0x5f096e(0x212)]};}[_0xff2b94(0x187)](_0x49f264){const _0x3f6e0f=_0xff2b94,_0x239577=this[_0x3f6e0f(0x18b)][_0x3f6e0f(0x220)][_0x3f6e0f(0x1dc)](_0x3f6e0f(0x200)),_0xfba50b=new Set();_0x2dd432(this[_0x3f6e0f(0x18b)])[_0x3f6e0f(0x229)][_0x3f6e0f(0x1d2)](_0x439655=>{const _0x23a92f=_0x3f6e0f;for(const _0x40787b of _0x49f264){const _0x327854=''+me+_0x40787b[_0x23a92f(0x1fc)]+':'+_0x40787b[_0x23a92f(0x206)]+'_'+_0x239577[_0x23a92f(0x150)](_0xfba50b);this[_0x23a92f(0x1cf)][_0x23a92f(0x14d)](_0x327854,{'id':_0x327854,'groupId':_0x40787b[_0x23a92f(0x206)],'type':_0x40787b[_0x23a92f(0x1fc)],'text':_0x40787b[_0x23a92f(0x1b0)]}),_0x439655[_0x23a92f(0x1bd)](_0x327854,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x439655[_0x23a92f(0x1d9)](_0x40787b[_0x23a92f(0x15d)],_0x40787b[_0x23a92f(0x20a)])});}});}[_0xff2b94(0x203)](_0x2ea385,_0x588c37,_0x55a756){let _0xbf73f4='';return()=>{const _0x5b8d80=_0x1a8a;if(!_0xbf73f4){const _0x4473cc=_0x588c37[_0x5b8d80(0x181)](_0x2ea385,{'showSuggestionHighlights':!0x0}),_0x5763cc=_0x4473cc[_0x5b8d80(0x223)](0x0);if(!_0x5763cc)return'';let _0x230be7=!0x1;const _0x1132aa=[];for(const _0x100874 of _0x5763cc[_0x5b8d80(0x1ad)]())_0x100874['is'](_0x5b8d80(0x195),_0x5b8d80(0x1f0))&&_0x100874[_0x5b8d80(0x1d7)](_0x5b8d80(0x1c9))&&(_0x230be7=!0x1),_0x230be7&&_0x1132aa[_0x5b8d80(0x18a)](_0x100874),_0x100874['is'](_0x5b8d80(0x195),_0x5b8d80(0x1f0))&&_0x100874[_0x5b8d80(0x1d7)](_0x5b8d80(0x179))&&(_0x230be7=!0x0);_0x5763cc[_0x5b8d80(0x1c2)](0x0,_0x5763cc[_0x5b8d80(0x183)]),_0x55a756?.[_0x5b8d80(0x16f)]&&_0x5763cc[_0x5b8d80(0x1f4)]('…'),_0x5763cc[_0x5b8d80(0x1f4)](_0x1132aa),_0x55a756?.[_0x5b8d80(0x17c)]&&_0x5763cc[_0x5b8d80(0x1f4)]('…');const _0xb31746=_0x588c37[_0x5b8d80(0x17e)][_0x5b8d80(0x1ed)][_0x5b8d80(0x22b)](_0x4473cc),_0x4f9cac=_0x588c37[_0x5b8d80(0x17e)][_0x5b8d80(0x1b4)][_0x5b8d80(0x19b)](_0xb31746);_0xbf73f4=_0x4f9cac;}return _0xbf73f4;};}[_0xff2b94(0x1a9)](_0x542d13,_0x39b54e){const _0x4a1251=_0xff2b94;let _0x5df12d='';return()=>(_0x5df12d||(_0x5df12d=_0x39b54e[_0x4a1251(0x15c)](_0x542d13,{'showSuggestionHighlights':!0x0})),_0x5df12d);}[_0xff2b94(0x16e)](_0xbb570a,_0x3fe165,_0x11011a){let _0x716258='';return()=>{const _0x300e74=_0x1a8a;if(!_0x716258){const _0x2bef56=_0x11011a[_0x300e74(0x181)](new _0x34f008(_0xbb570a)),_0x1698a8=_0x11011a[_0x300e74(0x17e)][_0x300e74(0x1ed)][_0x300e74(0x22b)](_0x2bef56)[_0x300e74(0x210)](_0x300e74(0x1dd)+_0x3fe165+'\x22]');_0x716258=_0x1698a8?.[_0x300e74(0x178)]||'';}return _0x716258;};}[_0xff2b94(0x20f)](_0x926fa0,_0x1eb6ad=0x5){const _0xd030d6=_0xff2b94;let _0x15e01e=_0x926fa0,_0x57c1d1=null;for(let _0x1d299d=0x0;_0x1d299d<_0x1eb6ad&&_0x15e01e;_0x1d299d++){if(!_0x15e01e[_0xd030d6(0x1cd)]){_0x15e01e=_0x15e01e[_0xd030d6(0x1d0)];continue;}if(!(''+_0x15e01e[_0xd030d6(0x1cd)])[_0xd030d6(0x216)](_0xd030d6(0x19a))){_0x15e01e=_0x15e01e[_0xd030d6(0x1d0)];continue;}if(!_0x15e01e[_0xd030d6(0x14e)](_0xd030d6(0x163)))break;_0x57c1d1=_0x15e01e;break;}return _0x57c1d1;}[_0xff2b94(0x1e2)](_0x2a51aa){const _0x6139bf=_0xff2b94;return Array[_0x6139bf(0x1f1)](this[_0x6139bf(0x1cf)][_0x6139bf(0x1cc)]())[_0x6139bf(0x169)](_0x3907bc=>_0x3907bc[_0x6139bf(0x206)]===_0x2a51aa);}[_0xff2b94(0x1a7)](_0x3c2a96){const _0x6b67b7=_0xff2b94;return _0x6b67b7(0x1d1)===_0x3c2a96[_0x6b67b7(0x1fc)]?_0x3c2a96[_0x6b67b7(0x1f3)]:_0x3c2a96[_0x6b67b7(0x1b8)][_0x6b67b7(0x15d)];}[_0xff2b94(0x1e0)](_0x1bb3c3,_0x267a56=!0x1){const _0x110fdb=_0xff2b94;return _0x110fdb(0x1d1)===_0x1bb3c3[_0x110fdb(0x1fc)]?_0x267a56?_0x1bb3c3[_0x110fdb(0x1f3)]:_0x1bb3c3[_0x110fdb(0x1f3)][_0x110fdb(0x219)](_0x1bb3c3[_0x110fdb(0x190)]):_0x1bb3c3[_0x110fdb(0x1b8)][_0x110fdb(0x20a)];}[_0xff2b94(0x1a2)](_0x586172,_0x3175f7){const _0x4be8ce=_0xff2b94;return _0x4be8ce(0x1d1)===_0x586172[_0x4be8ce(0x1fc)]?_0x586172[_0x4be8ce(0x1f3)]=_0x586172[_0x4be8ce(0x1f3)][_0x4be8ce(0x219)](_0x3175f7):_0x4be8ce(0x22d)===_0x586172[_0x4be8ce(0x1fc)]&&_0x586172[_0x4be8ce(0x1b8)]&&(_0x586172[_0x4be8ce(0x1b8)]=new _0x1ae561(_0x586172[_0x4be8ce(0x1b8)][_0x4be8ce(0x15d)][_0x4be8ce(0x219)](_0x3175f7),_0x586172[_0x4be8ce(0x1b8)][_0x4be8ce(0x20a)][_0x4be8ce(0x219)](_0x3175f7))),_0x586172;}[_0xff2b94(0x20d)](_0x254780,_0x3fad57){const _0x1b82e7=_0xff2b94;_0x1b82e7(0x1d1)===_0x254780[_0x1b82e7(0x1fc)]?_0x254780[_0x1b82e7(0x1f3)]=this[_0x1b82e7(0x17d)](_0x254780[_0x1b82e7(0x1f3)],_0x3fad57):_0x1b82e7(0x22d)===_0x254780[_0x1b82e7(0x1fc)]&&_0x254780[_0x1b82e7(0x1b8)]&&(_0x254780[_0x1b82e7(0x1b8)]=this[_0x1b82e7(0x1a5)](_0x254780[_0x1b82e7(0x1b8)],_0x3fad57));}[_0xff2b94(0x17d)](_0x2c35dd,_0x111c30){const _0x47307b=_0xff2b94;return new _0x29f8a7(_0x111c30,_0x2c35dd[_0x47307b(0x14b)]);}[_0xff2b94(0x1a5)](_0x28b70d,_0x477310){const _0x166801=_0xff2b94;return new _0x1ae561(this[_0x166801(0x17d)](_0x28b70d[_0x166801(0x15d)],_0x477310),this[_0x166801(0x17d)](_0x28b70d[_0x166801(0x20a)],_0x477310));}[_0xff2b94(0x1ff)](_0x1997c7,_0x34cf20){return new _0x29f8a7(_0x34cf20,[..._0x1997c7]);}[_0xff2b94(0x21f)](_0x477646,_0x3af38a,_0x429736,_0x160324){const _0x2ec2c5=_0xff2b94;return new _0x1ae561(this[_0x2ec2c5(0x1ff)](_0x3af38a,_0x160324),this[_0x2ec2c5(0x1ff)](_0x429736,_0x160324));}[_0xff2b94(0x1ea)](_0x449f1c){const _0x395b6c=_0xff2b94,_0x580400=_0x1654c7=>{const _0x5a1f38=_0x1a8a;switch(_0x1654c7){case _0x5a1f38(0x1d1):return 0x1;case _0x5a1f38(0x1d5):return 0x2;case _0x5a1f38(0x1c4):return 0x3;case _0x5a1f38(0x222):return 0x4;}};return _0x449f1c[_0x395b6c(0x1a8)]((_0x241c56,_0xfdf85d)=>_0x580400(_0x241c56[_0x395b6c(0x1fc)])-_0x580400(_0xfdf85d[_0x395b6c(0x1fc)]));}[_0xff2b94(0x197)](_0x26349f,_0x1b551c){const _0x423c40=_0xff2b94,_0x42f342=_0x26349f[_0x423c40(0x223)](0x0),_0x125c62=_0x1b551c[_0x423c40(0x223)](0x0);return!(!_0x42f342||!_0x125c62)&&((!_0x42f342['is'](_0x423c40(0x195))||!_0x125c62['is'](_0x423c40(0x195))||_0x42f342[_0x423c40(0x1b5)]===_0x125c62[_0x423c40(0x1b5)])&&!(_0x42f342['is'](_0x423c40(0x195))&&!_0x125c62['is'](_0x423c40(0x195))||!_0x42f342['is'](_0x423c40(0x195))&&_0x125c62['is'](_0x423c40(0x195))));}}
|
|
@@ -59,7 +59,7 @@ export declare class AIReviewModeUI extends ContextPlugin {
|
|
|
59
59
|
setCheckResultTitle(title: string, subtitle?: string): void;
|
|
60
60
|
setActiveStateInResults(id: string): void;
|
|
61
61
|
resetActiveStateInResults(): void;
|
|
62
|
-
updateChangeState(id: string, status: '
|
|
62
|
+
updateChangeState(id: string, status: AIReviewCheckResultChange['status']): void;
|
|
63
63
|
showReviewCompletedView(): void;
|
|
64
64
|
showActionsWhenResultIsReady(): void;
|
|
65
65
|
showNoChangesView(): void;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x441c38=_0x6bd5;(function(_0x506e41,_0x2ae2fc){const _0x169b4d=_0x6bd5,_0x1915fb=_0x506e41();while(!![]){try{const _0xa8bb96=-parseInt(_0x169b4d(0x122))/0x1+parseInt(_0x169b4d(0x14c))/0x2*(parseInt(_0x169b4d(0x128))/0x3)+parseInt(_0x169b4d(0x11b))/0x4+parseInt(_0x169b4d(0x135))/0x5+-parseInt(_0x169b4d(0x160))/0x6+-parseInt(_0x169b4d(0x155))/0x7+-parseInt(_0x169b4d(0x16b))/0x8*(parseInt(_0x169b4d(0x157))/0x9);if(_0xa8bb96===_0x2ae2fc)break;else _0x1915fb['push'](_0x1915fb['shift']());}catch(_0x453b5e){_0x1915fb['push'](_0x1915fb['shift']());}}}(_0x2b44,0x45c0e));import{ContextPlugin as _0x3563bb}from'ckeditor5/src/core.js';import{IconAIReview as _0x59310d}from'ckeditor5/src/icons.js';function _0x2b44(){const _0x50027c=['showReviewCheckListView','showResult','showChunkErrorView','status','forEach','showCheckRunResult','detachFromDom','showReviewCompletedView','getResults','hideChangeBalloon','setActiveStateInResults','outdated','plugins','requires','error-chunk','acceptAllChanges','showGeneralErrorView','destroy','showChangeBalloon','showBalloon','425860BHWALZ','hideDiffInBalloon','leaveReviewModeResultList','acceptChange','addCheckRunResult','reviewCheckResultsView','setTitle','leaveReviewMode','setItemAsInactive','4095fhxdVk','dismissChange','9KgWCoP','runReviewCheck','showCheckRunResults','_reviewModeView','showReviewCheckList','AI_REVIEW_MODE','_bodyCollection','init','_reviewModeBalloonSuggestionItemView','2652612hqopRG','showDiffInBalloon','setChecks','isOfficialPlugin','hideResult','find','getChangeElement','finishReview','accepted','hideBalloon','fire','539536PpSHca','activateTab','showReviewCheckResultsView','setAvailableChecks','showActionsWhenResultIsReady','hasChecks','get','attachToDom','getReviewCheckList','AIReviewModeUI','2054916lTIvEm','setItemAsActive','reviewCheckListView','updateChangeState','context','view','error-general','481197BMJeiI','showNoChangesView','resetActiveStateInResults','reviewMode','AITabs','locale','6IypPFZ','learnMore','deactivateChange','element','abortReviewStream','activateChange','toggleDiff','delegate','rejected','addTab','setCheckResultTitle','hideActionsWhenResultIsReady','pluginName','1687235stjdWh','isPremiumPlugin','retryReview'];_0x2b44=function(){return _0x50027c;};return _0x2b44();}import{BodyCollection as _0x56aac1}from'ckeditor5/src/ui.js';import{AITabs as _0x4122db}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x1b18c7}from'./ui/aireviewmodeview.js';import{getTranslation as _0x45fe56}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0xb11cfb}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x441c38(0x119),_0x441c38(0x158),_0x441c38(0x12c),_0x441c38(0x12e),_0x441c38(0x147),_0x441c38(0x14e),_0x441c38(0x12d),_0x441c38(0x14f),_0x441c38(0x156),_0x441c38(0x129),_0x441c38(0x167),_0x441c38(0x137)];function _0x6bd5(_0x276c7b,_0x1aeabf){const _0x2b4455=_0x2b44();return _0x6bd5=function(_0x6bd5e1,_0x4e0f88){_0x6bd5e1=_0x6bd5e1-0x112;let _0x446485=_0x2b4455[_0x6bd5e1];return _0x446485;},_0x6bd5(_0x276c7b,_0x1aeabf);}export class AIReviewModeUI extends _0x3563bb{[_0x441c38(0x15a)];[_0x441c38(0x15f)];[_0x441c38(0x15d)];static get[_0x441c38(0x145)](){return[_0x4122db];}static get[_0x441c38(0x134)](){const _0x2b1388=_0x441c38;return _0x2b1388(0x11a);}static get[_0x441c38(0x163)](){return!0x0;}static get[_0x441c38(0x136)](){return!0x0;}constructor(_0x1ca98f){const _0x3ba3f2=_0x441c38;super(_0x1ca98f),this[_0x3ba3f2(0x15d)]=new _0x56aac1(this[_0x3ba3f2(0x11f)][_0x3ba3f2(0x127)]),this[_0x3ba3f2(0x15d)][_0x3ba3f2(0x118)](),this[_0x3ba3f2(0x15a)]=new _0x1b18c7(this[_0x3ba3f2(0x11f)][_0x3ba3f2(0x127)]),this[_0x3ba3f2(0x15a)][_0x3ba3f2(0x12f)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3ba3f2(0x15f)]=new _0xb11cfb(this[_0x3ba3f2(0x11f)][_0x3ba3f2(0x127)],this[_0x3ba3f2(0x15d)]),this[_0x3ba3f2(0x15f)][_0x3ba3f2(0x12f)](_0x3ba3f2(0x14f),_0x3ba3f2(0x156),_0x3ba3f2(0x12a))['to'](this);}[_0x441c38(0x15e)](){const _0x59b9a5=_0x441c38,_0x168c90=this[_0x59b9a5(0x11f)][_0x59b9a5(0x144)][_0x59b9a5(0x117)](_0x59b9a5(0x126));_0x168c90[_0x59b9a5(0x120)]['on'](_0x59b9a5(0x112),(_0x282913,_0x17414a)=>{const _0x4f5542=_0x59b9a5;_0x4f5542(0x125)===_0x17414a?this[_0x4f5542(0x16a)](_0x4f5542(0x119)):this[_0x4f5542(0x16a)](_0x4f5542(0x153));}),_0x168c90[_0x59b9a5(0x120)][_0x59b9a5(0x131)]({'id':_0x59b9a5(0x125),'buttonLabel':_0x45fe56(this[_0x59b9a5(0x11f)][_0x59b9a5(0x127)],_0x59b9a5(0x15c)),'buttonIcon':_0x59310d,'order':0x0,'content':this[_0x59b9a5(0x15a)]});}[_0x441c38(0x149)](){const _0x3875e6=_0x441c38;this[_0x3875e6(0x15d)][_0x3875e6(0x13e)](),super[_0x3875e6(0x149)]();}[_0x441c38(0x114)](_0x160722){const _0x356eec=_0x441c38;this[_0x356eec(0x15a)][_0x356eec(0x11d)][_0x356eec(0x116)]()||this[_0x356eec(0x15a)][_0x356eec(0x11d)][_0x356eec(0x162)](_0x160722),this[_0x356eec(0x15a)][_0x356eec(0x138)]();}[_0x441c38(0x15b)](){const _0xe5ded5=_0x441c38;this[_0xe5ded5(0x16a)](_0xe5ded5(0x119));}[_0x441c38(0x159)](_0x3e702c){const _0x8735d9=_0x441c38;_0x3e702c&&(_0x8735d9(0x121)!==_0x3e702c[_0x8735d9(0x13b)]?_0x8735d9(0x146)!==_0x3e702c[_0x8735d9(0x13b)]?this[_0x8735d9(0x15a)][_0x8735d9(0x113)]():this[_0x8735d9(0x13a)]():this[_0x8735d9(0x148)]());}[_0x441c38(0x13d)](_0x2d0602){const _0x43fc64=_0x441c38;this[_0x43fc64(0x15a)][_0x43fc64(0x150)](_0x2d0602);}[_0x441c38(0x148)](){const _0x25864f=_0x441c38;this[_0x25864f(0x15a)][_0x25864f(0x148)]();}[_0x441c38(0x13a)](){const _0xa1b0fd=_0x441c38;this[_0xa1b0fd(0x15a)][_0xa1b0fd(0x13a)]();}[_0x441c38(0x132)](_0x480c5f,_0x313cc0){const _0x2c58d0=_0x441c38;this[_0x2c58d0(0x15a)][_0x2c58d0(0x151)][_0x2c58d0(0x152)](_0x480c5f,_0x313cc0);}[_0x441c38(0x142)](_0x4e6f6c){const _0x42bc20=_0x441c38;this[_0x42bc20(0x15a)][_0x42bc20(0x151)][_0x42bc20(0x140)]()[_0x42bc20(0x13c)](_0x4a3ee1=>{const _0x1878bb=_0x42bc20;_0x4a3ee1['id']===_0x4e6f6c&&_0x4a3ee1[_0x1878bb(0x11c)]();});}[_0x441c38(0x124)](){const _0x46a129=_0x441c38;this[_0x46a129(0x15a)][_0x46a129(0x151)][_0x46a129(0x140)]()[_0x46a129(0x13c)](_0x28329a=>_0x28329a[_0x46a129(0x154)]());}[_0x441c38(0x11e)](_0x57bf94,_0x5688e6){const _0x247bc6=_0x441c38;_0x247bc6(0x168)===_0x5688e6||_0x247bc6(0x130)===_0x5688e6||_0x247bc6(0x143)===_0x5688e6?this[_0x247bc6(0x15a)][_0x247bc6(0x151)][_0x247bc6(0x164)](_0x57bf94,_0x5688e6):this[_0x247bc6(0x15a)][_0x247bc6(0x151)][_0x247bc6(0x139)](_0x57bf94,_0x5688e6);}[_0x441c38(0x13f)](){const _0x2862fc=_0x441c38;this[_0x2862fc(0x15a)][_0x2862fc(0x13f)]();}[_0x441c38(0x115)](){const _0x4b8360=_0x441c38;this[_0x4b8360(0x15a)][_0x4b8360(0x115)]();}[_0x441c38(0x123)](){const _0xa6c560=_0x441c38;this[_0xa6c560(0x15a)][_0xa6c560(0x123)]();}[_0x441c38(0x133)](){const _0x72fc42=_0x441c38;this[_0x72fc42(0x15a)][_0x72fc42(0x133)]();}[_0x441c38(0x14a)](_0x37ff99,_0x31f98e){const _0x459ae7=_0x441c38;this[_0x459ae7(0x15f)][_0x459ae7(0x14b)](_0x37ff99,_0x31f98e);}[_0x441c38(0x141)](){const _0x3e05e9=_0x441c38;this[_0x3e05e9(0x15f)][_0x3e05e9(0x169)]();}[_0x441c38(0x14d)](){const _0x32b9e2=_0x441c38;this[_0x32b9e2(0x15f)][_0x32b9e2(0x14d)]();}[_0x441c38(0x161)](){const _0x1c548c=_0x441c38;this[_0x1c548c(0x15f)][_0x1c548c(0x161)]();}[_0x441c38(0x166)](_0x22a510){const _0x2fa58c=_0x441c38,_0x3633b2=this[_0x2fa58c(0x15a)][_0x2fa58c(0x151)][_0x2fa58c(0x140)]()[_0x2fa58c(0x165)](_0x46fcae=>_0x46fcae['id']===_0x22a510);return _0x3633b2?_0x3633b2[_0x2fa58c(0x12b)]:null;}[_0x441c38(0x12a)](){const _0x537d0e=_0x441c38;this[_0x537d0e(0x15f)][_0x537d0e(0x12a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x2d7299=_0x3d53;function _0x3d53(_0xa5aabc,_0x19ab58){var _0x58d212=_0x58d2();return _0x3d53=function(_0x3d53e1,_0x93833){_0x3d53e1=_0x3d53e1-0x1a9;var _0x26275d=_0x58d212[_0x3d53e1];return _0x26275d;},_0x3d53(_0xa5aabc,_0x19ab58);}function _0x58d2(){var _0x4ec913=['1374YYnEZu','4435AeQdEW','1000516FmEvRd','416037qlwQCt','11296160PGiwih','description','531TCATAE','useArgs','1968975nsMmOb','4IrDjzk','4064284txgZbR','isParameterized','85688mdKXYX','title','options'];_0x58d2=function(){return _0x4ec913;};return _0x58d2();}(function(_0x2e2185,_0x382b19){var _0x5ec22e=_0x3d53,_0x224d29=_0x2e2185();while(!![]){try{var _0x330bf1=parseInt(_0x5ec22e(0x1ac))/0x1+parseInt(_0x5ec22e(0x1ab))/0x2+-parseInt(_0x5ec22e(0x1b1))/0x3*(parseInt(_0x5ec22e(0x1b2))/0x4)+parseInt(_0x5ec22e(0x1aa))/0x5*(parseInt(_0x5ec22e(0x1a9))/0x6)+-parseInt(_0x5ec22e(0x1b3))/0x7+-parseInt(_0x5ec22e(0x1b5))/0x8*(parseInt(_0x5ec22e(0x1af))/0x9)+parseInt(_0x5ec22e(0x1ad))/0xa;if(_0x330bf1===_0x382b19)break;else _0x224d29['push'](_0x224d29['shift']());}catch(_0x25a81e){_0x224d29['push'](_0x224d29['shift']());}}}(_0x58d2,0x5ccf4));export class AIReviewCheck{['id'];[_0x2d7299(0x1b6)];[_0x2d7299(0x1ae)];[_0x2d7299(0x1b4)];[_0x2d7299(0x1b0)];[_0x2d7299(0x1b7)];constructor({id:_0x144b5d,title:_0x5e5345,description:_0x300cf6,isParameterized:_0x2463de,useArgs:_0x4a8268,options:_0x550e34}){var _0x27a449=_0x2d7299;this['id']=_0x144b5d,this[_0x27a449(0x1b6)]=_0x5e5345,this[_0x27a449(0x1ae)]=_0x300cf6,this[_0x27a449(0x1b4)]=_0x2463de,this[_0x27a449(0x1b0)]=_0x4a8268,this[_0x27a449(0x1b7)]=_0x550e34;}}
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
* @module ai/aireviewmode/model/aireviewcheckcustom
|
|
7
7
|
*/
|
|
8
8
|
import { AIReviewCheck } from './aireviewcheck.js';
|
|
9
|
-
import { type
|
|
9
|
+
import { type AIModelData } from '../../aicore/aiconnector.js';
|
|
10
10
|
/**
|
|
11
11
|
* Represents the single type of custom check that can be performed in the AI Review Mode.
|
|
12
12
|
*/
|
|
13
13
|
export declare class AIReviewCheckCustom extends AIReviewCheck {
|
|
14
|
-
get models(): Array<
|
|
15
|
-
set models(models: Array<
|
|
14
|
+
get models(): Array<AIModelData>;
|
|
15
|
+
set models(models: Array<AIModelData>);
|
|
16
16
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x58e4(){var _0xd7b354=['_models','models','877511mGGrAp','99tMRadS','75103IMfPWj','2ParCjg','6742595JuLRHv','1804326fBpOBH','568xWOOYv','8TZsbfj','11FrTkgp','7622478cTPtxr','1068510NUhsij','71267172EtgiwL'];_0x58e4=function(){return _0xd7b354;};return _0x58e4();}function _0x10d5(_0x546186,_0x3cdce4){var _0x58e414=_0x58e4();return _0x10d5=function(_0x10d5ad,_0x42d752){_0x10d5ad=_0x10d5ad-0x180;var _0x3af846=_0x58e414[_0x10d5ad];return _0x3af846;},_0x10d5(_0x546186,_0x3cdce4);}var _0x215c46=_0x10d5;(function(_0x5c91b9,_0x5139f8){var _0x49cd63=_0x10d5,_0x1b11cf=_0x5c91b9();while(!![]){try{var _0x69ac5d=-parseInt(_0x49cd63(0x18b))/0x1*(parseInt(_0x49cd63(0x180))/0x2)+parseInt(_0x49cd63(0x182))/0x3*(-parseInt(_0x49cd63(0x184))/0x4)+-parseInt(_0x49cd63(0x181))/0x5+-parseInt(_0x49cd63(0x186))/0x6+parseInt(_0x49cd63(0x18d))/0x7*(parseInt(_0x49cd63(0x183))/0x8)+-parseInt(_0x49cd63(0x18c))/0x9*(parseInt(_0x49cd63(0x187))/0xa)+parseInt(_0x49cd63(0x185))/0xb*(parseInt(_0x49cd63(0x188))/0xc);if(_0x69ac5d===_0x5139f8)break;else _0x1b11cf['push'](_0x1b11cf['shift']());}catch(_0x28e755){_0x1b11cf['push'](_0x1b11cf['shift']());}}}(_0x58e4,0xc9a92));import{AIReviewCheck as _0x22016a}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x22016a{[_0x215c46(0x189)]=[];get[_0x215c46(0x18a)](){var _0xd32c55=_0x215c46;return this[_0xd32c55(0x189)];}set[_0x215c46(0x18a)](_0x3a5bf6){var _0x5dd2da=_0x215c46;this[_0x5dd2da(0x189)]=_0x3a5bf6;}}
|