@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +4 -0
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +147 -23
- package/dist/index.css +182 -24
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +5 -0
- package/lang/translations/af.po +224 -0
- package/lang/translations/ar.po +232 -0
- package/lang/translations/ast.po +224 -0
- package/lang/translations/az.po +224 -0
- package/lang/translations/be.po +226 -0
- package/lang/translations/bg.po +224 -0
- package/lang/translations/bn.po +224 -0
- package/lang/translations/bs.po +226 -0
- package/lang/translations/ca.po +224 -0
- package/lang/translations/cs.po +226 -0
- package/lang/translations/da.po +224 -0
- package/lang/translations/de-ch.po +224 -0
- package/lang/translations/de.po +224 -0
- package/lang/translations/el.po +224 -0
- package/lang/translations/en-au.po +224 -0
- package/lang/translations/en-gb.po +224 -0
- package/lang/translations/en.po +224 -0
- package/lang/translations/eo.po +224 -0
- package/lang/translations/es-co.po +224 -0
- package/lang/translations/es.po +224 -0
- package/lang/translations/et.po +224 -0
- package/lang/translations/eu.po +224 -0
- package/lang/translations/fa.po +222 -0
- package/lang/translations/fi.po +224 -0
- package/lang/translations/fr.po +224 -0
- package/lang/translations/gl.po +224 -0
- package/lang/translations/gu.po +224 -0
- package/lang/translations/he.po +224 -0
- package/lang/translations/hi.po +224 -0
- package/lang/translations/hr.po +226 -0
- package/lang/translations/hu.po +224 -0
- package/lang/translations/hy.po +224 -0
- package/lang/translations/id.po +222 -0
- package/lang/translations/it.po +224 -0
- package/lang/translations/ja.po +222 -0
- package/lang/translations/jv.po +224 -0
- package/lang/translations/kk.po +224 -0
- package/lang/translations/km.po +222 -0
- package/lang/translations/kn.po +224 -0
- package/lang/translations/ko.po +222 -0
- package/lang/translations/ku.po +224 -0
- package/lang/translations/lt.po +226 -0
- package/lang/translations/lv.po +226 -0
- package/lang/translations/ms.po +222 -0
- package/lang/translations/nb.po +224 -0
- package/lang/translations/ne.po +224 -0
- package/lang/translations/nl.po +224 -0
- package/lang/translations/no.po +224 -0
- package/lang/translations/oc.po +224 -0
- package/lang/translations/pl.po +226 -0
- package/lang/translations/pt-br.po +224 -0
- package/lang/translations/pt.po +224 -0
- package/lang/translations/ro.po +226 -0
- package/lang/translations/ru.po +226 -0
- package/lang/translations/si.po +224 -0
- package/lang/translations/sk.po +226 -0
- package/lang/translations/sl.po +228 -0
- package/lang/translations/sq.po +224 -0
- package/lang/translations/sr-latn.po +226 -0
- package/lang/translations/sr.po +226 -0
- package/lang/translations/sv.po +224 -0
- package/lang/translations/th.po +222 -0
- package/lang/translations/ti.po +224 -0
- package/lang/translations/tk.po +224 -0
- package/lang/translations/tr.po +224 -0
- package/lang/translations/tt.po +222 -0
- package/lang/translations/ug.po +222 -0
- package/lang/translations/uk.po +226 -0
- package/lang/translations/ur.po +224 -0
- package/lang/translations/uz.po +224 -0
- package/lang/translations/vi.po +222 -0
- package/lang/translations/zh-cn.po +222 -0
- package/lang/translations/zh.po +222 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +0 -2
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.d.ts +12 -4
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +0 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +7 -3
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +1 -227
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.d.ts +3 -0
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +0 -30
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +4 -0
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.d.ts +0 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +64 -9
- package/src/aicore/aiconnector.d.ts +13 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.d.ts +0 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.d.ts +41 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.d.ts +2 -2
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.d.ts +0 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +164 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.d.ts +0 -49
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.d.ts +29 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.d.ts +6 -16
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +17 -4
- package/theme/aichat/aichat.css +1 -0
- package/theme/aichat/aichatfeed.css +39 -0
- package/theme/aichat/aichathistory.css +26 -9
- package/theme/aichat/aiminitoolbar.css +8 -0
- package/theme/aichat/aisuggestioncontainer.css +6 -0
- package/theme/aieditorintegration/aitogglebutton.css +23 -0
- package/theme/aiquickactions/aiquickactions.css +23 -4
- package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
- package/theme/aireviewmode/aireviewmode.css +23 -0
- package/theme/aitabs/aitabsview.css +6 -1
- package/theme/common/aibutton.css +1 -5
- package/theme/common/aiheader.css +1 -0
- package/theme/common/aitrackchanges.css +13 -0
- package/src/aiquickactions/utils/common-translations.d.ts +0 -9
- package/src/aiquickactions/utils/common-translations.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55a6dc=_0x2851;(function(_0x38eb35,_0x3b9089){const _0x534ee0=_0x2851,_0x9722af=_0x38eb35();while(!![]){try{const _0x455065=parseInt(_0x534ee0(0xc7))/0x1*(-parseInt(_0x534ee0(0xd2))/0x2)+-parseInt(_0x534ee0(0xcc))/0x3+parseInt(_0x534ee0(0xc9))/0x4*(-parseInt(_0x534ee0(0xcd))/0x5)+parseInt(_0x534ee0(0xb2))/0x6+-parseInt(_0x534ee0(0xf1))/0x7*(-parseInt(_0x534ee0(0xd1))/0x8)+parseInt(_0x534ee0(0xb3))/0x9*(-parseInt(_0x534ee0(0xe7))/0xa)+-parseInt(_0x534ee0(0xcf))/0xb*(-parseInt(_0x534ee0(0xe9))/0xc);if(_0x455065===_0x3b9089)break;else _0x9722af['push'](_0x9722af['shift']());}catch(_0x1a3f8e){_0x9722af['push'](_0x9722af['shift']());}}}(_0x5e63,0x2c7fc));import{View as _0x5eaec9,ListItemView as _0x25bc3f,ListView as _0x439bf6,BalloonPanelView as _0x4a5add,DropdownMenuPanelPositioningFunctions as _0x1b898e,DropdownMenuButtonView as _0x246064,ViewCollection as _0xe6360e,FocusCycler as _0x406718}from'ckeditor5/src/ui.js';function _0x2851(_0x308479,_0x19e141){const _0x5e636d=_0x5e63();return _0x2851=function(_0x285156,_0x4f37b6){_0x285156=_0x285156-0xaa;let _0x4bdcf9=_0x5e636d[_0x285156];return _0x4bdcf9;},_0x2851(_0x308479,_0x19e141);}import{IconAIQuickActions as _0x17dfc7}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x484692,KeystrokeHandler as _0x5642d5}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x520a19}from'./aiquickactionsbuttoncreator.js';const gs=_0x55a6dc(0xc5),As=_0x55a6dc(0xce);export class AIQuickActionsDropdownContentView extends _0x5eaec9{[_0x55a6dc(0xb4)];[_0x55a6dc(0xae)];[_0x55a6dc(0xc6)];[_0x55a6dc(0xaf)];[_0x55a6dc(0xd0)];[_0x55a6dc(0xd5)];[_0x55a6dc(0xeb)]=new Set();constructor(_0x3c50fc,_0x3ef22c,_0x1a37c1,_0x59ed5d){const _0x2e06a1=_0x55a6dc,_0x56a8aa=_0x3c50fc[_0x2e06a1(0xb9)];super(_0x56a8aa),this[_0x2e06a1(0xb4)]=_0x59ed5d;const _0x38c3cb=this[_0x2e06a1(0xf3)](_0x3c50fc,_0x3ef22c,_0x1a37c1);this[_0x2e06a1(0xae)]=new _0x439bf6(_0x56a8aa),this[_0x2e06a1(0xae)][_0x2e06a1(0xf5)]=gs,this[_0x2e06a1(0xae)][_0x2e06a1(0xc1)][_0x2e06a1(0xdd)](_0x38c3cb),this[_0x2e06a1(0xc6)]=new _0x484692(),this[_0x2e06a1(0xaf)]=new _0x5642d5(),this[_0x2e06a1(0xd0)]=_0x38c3cb,this[_0x2e06a1(0xd5)]=new _0x406718({'focusables':this[_0x2e06a1(0xd0)],'focusTracker':this[_0x2e06a1(0xc6)],'keystrokeHandler':this[_0x2e06a1(0xaf)]}),this[_0x2e06a1(0xc2)]({'tag':_0x2e06a1(0xbc),'attributes':{'class':['ck',_0x2e06a1(0xe5),_0x2e06a1(0xb0),_0x2e06a1(0xf9)],'dir':_0x56a8aa[_0x2e06a1(0xd4)]},'children':[this[_0x2e06a1(0xae)]]});}[_0x55a6dc(0xf3)](_0x45f8db,_0x31acf1,_0x26bdfe){const _0x69786=_0x55a6dc,_0x104e92=new _0xe6360e();return _0x31acf1[_0x69786(0xee)](_0x326f71=>{const _0x19fa06=_0x69786;_0x19fa06(0xdf)in _0x326f71?_0x104e92[_0x19fa06(0xc4)](this[_0x19fa06(0xd6)](_0x45f8db,_0x326f71,_0x26bdfe)):_0x104e92[_0x19fa06(0xc4)](this[_0x19fa06(0xac)](_0x45f8db,_0x326f71));}),_0x104e92;}[_0x55a6dc(0xac)](_0x412f4e,_0x5c7d3c){const _0xcf127=_0x55a6dc,_0x270617=new _0x25bc3f(this[_0xcf127(0xb9)]),_0x44fcc6=_0x520a19(_0x412f4e,_0x5c7d3c,!0x0,void 0x0!==_0x5c7d3c[_0xcf127(0xfa)])();return _0x270617[_0xcf127(0xe0)][_0xcf127(0xc4)](_0x44fcc6),_0x270617;}[_0x55a6dc(0xd6)](_0x52ac6b,_0xafbc1b,_0x47de56){const _0x5b4c5c=_0x55a6dc,_0x163bb9=new _0x25bc3f(this[_0x5b4c5c(0xb9)]),_0x1942e6=new _0x246064(this[_0x5b4c5c(0xb9)]),_0x3f7b7d=_0x1942e6[_0x5b4c5c(0xde)],_0x50f67a=_0x5b4c5c(0xe3)===_0x47de56[_0x5b4c5c(0xb9)][_0x5b4c5c(0xd4)]?_0x5b4c5c(0xc0):_0x5b4c5c(0xd3),_0x14891a=this[_0x5b4c5c(0xf0)](_0x52ac6b,_0xafbc1b[_0x5b4c5c(0xdf)],_0x47de56);_0x1942e6[_0x5b4c5c(0xad)]({'label':_0xafbc1b[_0x5b4c5c(0xed)],'withText':!0x0,'role':As,'icon':_0xafbc1b[_0x5b4c5c(0xfa)]??_0x17dfc7}),_0x1942e6[_0x5b4c5c(0xc3)]({'on':{'mouseenter':_0x3f7b7d['to'](()=>{const _0x47b395=_0x5b4c5c;_0x1942e6[_0x47b395(0xea)]();})}});const _0x153042=new _0x4a5add(this[_0x5b4c5c(0xb9)]);return _0x153042[_0x5b4c5c(0xc3)]({'attributes':{'class':['ck',_0x5b4c5c(0xe5),_0x5b4c5c(0xe4),_0x5b4c5c(0xbb)]},'on':{'keydown':_0x3f7b7d['to'](_0x8a80e=>{const _0x2522c7=_0x5b4c5c;_0x8a80e[_0x2522c7(0xd7)]==_0x50f67a&&(_0x1942e6[_0x2522c7(0xea)](),this[_0x2522c7(0xdb)](_0x153042));})}}),_0x1942e6[_0x5b4c5c(0xf7)](_0x5b4c5c(0xe1))['to'](_0x153042,_0x5b4c5c(0xd9)),this[_0x5b4c5c(0xb4)][_0x5b4c5c(0xc4)](_0x153042),_0x153042[_0x5b4c5c(0xb5)][_0x5b4c5c(0xc4)](_0x14891a),this[_0x5b4c5c(0xc8)](_0x1942e6,_0x153042),_0x163bb9[_0x5b4c5c(0xe0)][_0x5b4c5c(0xc4)](_0x1942e6),_0x163bb9;}[_0x55a6dc(0xf0)](_0x3c746e,_0x355797,_0xf600d8){const _0x362090=_0x55a6dc,_0x5f249f=new _0x439bf6(this[_0x362090(0xb9)]);return _0x5f249f[_0x362090(0xc3)]({'attributes':{'class':['ck',_0x362090(0xe5),_0x362090(0xfb),_0x362090(0xab)]}}),_0x355797[_0x362090(0xee)](_0xd35064=>{const _0x3a4967=_0x362090,_0x2d0e5c=new _0x25bc3f(this[_0x3a4967(0xb9)]),_0xbf4b30=_0x520a19(_0x3c746e,_0xd35064,!0x0,!0x1)();_0x2d0e5c[_0x3a4967(0xe0)][_0x3a4967(0xc4)](_0xbf4b30),_0xf600d8[_0x3a4967(0xc6)][_0x3a4967(0xc4)](_0xbf4b30),_0x5f249f[_0x3a4967(0xc1)][_0x3a4967(0xc4)](_0x2d0e5c);}),_0x5f249f;}[_0x55a6dc(0xc8)](_0x5cb552,_0x2bdc1c){const _0x542594=_0x55a6dc,_0x1d882f=_0x5cb552[_0x542594(0xde)],_0x4d4af5=_0x542594(0xe3)===_0x5cb552[_0x542594(0xb9)][_0x542594(0xd4)]?_0x542594(0xd3):_0x542594(0xc0);_0x5cb552[_0x542594(0xc3)]({'attributes':{'class':[_0x542594(0xaa)]},'on':{'mouseenter':_0x1d882f['to'](()=>{const _0xa36410=_0x542594;this[_0xa36410(0xf2)](_0x2bdc1c,_0x5cb552);}),'mouseleave':_0x1d882f['to'](_0x2eeb73=>{const _0x4d5d9b=_0x542594,_0xbd8b34=_0x2eeb73[_0x4d5d9b(0xbf)];this[_0x4d5d9b(0xf4)](_0xbd8b34,_0x2bdc1c)||this[_0x4d5d9b(0xdb)](_0x2bdc1c);}),'keydown':_0x1d882f['to'](_0x10c323=>{const _0x56d941=_0x542594;_0x10c323[_0x56d941(0xd7)]==_0x4d4af5&&(this[_0x56d941(0xf2)](_0x2bdc1c,_0x5cb552),_0x2bdc1c[_0x56d941(0xb5)][_0x56d941(0xbe)](0x0)[_0x56d941(0xea)]());})}}),_0x2bdc1c['on'](_0x542594(0xe8),()=>{const _0xffe1f0=_0x542594;_0x2bdc1c[_0xffe1f0(0xca)]?.[_0xffe1f0(0xb7)](_0xffe1f0(0xb8),_0x16bd08=>{const _0x5baae6=_0xffe1f0,_0x89424e=_0x16bd08[_0x5baae6(0xbf)];_0x5cb552[_0x5baae6(0xca)]?.[_0x5baae6(0xdc)](_0x89424e)||this[_0x5baae6(0xf4)](_0x89424e,_0x2bdc1c)||this[_0x5baae6(0xdb)](_0x2bdc1c);});});}[_0x55a6dc(0xf2)](_0x43e01b,_0x392326){const _0x2dcafb=_0x55a6dc;this[_0x2dcafb(0xeb)][_0x2dcafb(0xee)](_0x5d0be3=>{const _0xad21a9=_0x2dcafb;_0x5d0be3!==_0x43e01b&&_0x5d0be3[_0xad21a9(0xd9)]&&_0x5d0be3[_0xad21a9(0xe6)]();}),_0x43e01b[_0x2dcafb(0xd8)](),_0x43e01b[_0x2dcafb(0xba)]({'positions':[_0x1b898e[_0x2dcafb(0xe2)]],'target':_0x392326[_0x2dcafb(0xca)],'fitInViewport':!0x0}),this[_0x2dcafb(0xeb)][_0x2dcafb(0xc4)](_0x43e01b);}[_0x55a6dc(0xdb)](_0xd65768){const _0x34049c=_0x55a6dc;_0xd65768[_0x34049c(0xe6)](),this[_0x34049c(0xeb)][_0x34049c(0xec)](_0xd65768);}[_0x55a6dc(0xcb)](){const _0x45255f=_0x55a6dc;this[_0x45255f(0xeb)][_0x45255f(0xee)](_0x3436d6=>_0x3436d6[_0x45255f(0xe6)]()),this[_0x45255f(0xeb)][_0x45255f(0xf6)]();}[_0x55a6dc(0xf4)](_0xf820bb,_0x558f2d){const _0x3e3839=_0x55a6dc;if(!_0xf820bb)return!0x1;if(_0x558f2d[_0x3e3839(0xca)]?.[_0x3e3839(0xdc)](_0xf820bb))return!0x0;const _0x1171fe=_0xf820bb;return _0x1171fe[_0x3e3839(0xef)]&&(null!==_0x1171fe[_0x3e3839(0xef)](_0x3e3839(0xb1))||null!==_0x1171fe[_0x3e3839(0xef)](_0x3e3839(0xb6))||null!==_0x1171fe[_0x3e3839(0xef)](_0x3e3839(0xda)));}[_0x55a6dc(0xf8)](){const _0x3e91b4=_0x55a6dc;this[_0x3e91b4(0xcb)](),this[_0x3e91b4(0xb4)][_0x3e91b4(0xbd)](),super[_0x3e91b4(0xf8)]();}[_0x55a6dc(0xea)](){const _0x4349b0=_0x55a6dc;this[_0x4349b0(0xae)][_0x4349b0(0xea)]();}}function _0x5e63(){const _0x2f9241=['focusTracker','2RiSxuG','_setupGroupMenuBehavior','4xBaabf','element','_hideAllNestedPanels','170127sbDoLE','1657155EqgFxI','menuitem','2299JHWrWk','_focusables','3512cxyJPh','4162fovXcO','ArrowLeft','uiLanguageDirection','focusCycler','_createActionGroupButton','key','show','isVisible','.ck-ai-quick-actions-group-button','_hideNestedPanel','contains','addMany','bindTemplate','actions','children','isOn','eastSouth','rtl','ck-ai-quick-actions-group-panel','ck-reset_all','hide','769530LsQXsh','render','29436nZUhNv','focus','_openNestedPanels','delete','label','forEach','closest','_createGroupActionsList','1267HDnUqW','_showNestedPanel','_createListItems','_isMovingToNestedMenu','role','clear','bind','destroy','ck-rounded-corners','icon','ck-ai-quick-actions-group-list','ck-ai-quick-actions-group-button','ck-dropdown-menu-list','_createActionButton','set','optionsListView','keystrokes','ck-ai-quick-actions','.ck-ai-quick-actions-group-panel','356322WqutOV','9Khyefq','_bodyCollection','content','.ck-ai-quick-actions-group-list','addEventListener','mouseleave','locale','pin','ck-dropdown-menu__nested-menu__panel','div','detachFromDom','get','relatedTarget','ArrowRight','items','setTemplate','extendTemplate','add','menu'];_0x5e63=function(){return _0x2f9241;};return _0x5e63();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2bc322,_0x4b7177){const _0x93e41=_0x7466,_0x265e3d=_0x2bc322();while(!![]){try{const _0x1ce88b=-parseInt(_0x93e41(0x110))/0x1+-parseInt(_0x93e41(0x10a))/0x2+-parseInt(_0x93e41(0x113))/0x3*(-parseInt(_0x93e41(0x114))/0x4)+-parseInt(_0x93e41(0x105))/0x5+parseInt(_0x93e41(0x107))/0x6*(-parseInt(_0x93e41(0x104))/0x7)+parseInt(_0x93e41(0x111))/0x8+parseInt(_0x93e41(0x10b))/0x9*(parseInt(_0x93e41(0x103))/0xa);if(_0x1ce88b===_0x4b7177)break;else _0x265e3d['push'](_0x265e3d['shift']());}catch(_0x70b1f7){_0x265e3d['push'](_0x265e3d['shift']());}}}(_0x32ba,0x82ace));function _0x32ba(){const _0x429440=['265388pdQGFc','icon','5864570iWavri','68138BDNBYI','4297815cuDnLF','children','54DPsdZW','buttonView','locale','1492330TDiPcN','27PzGgZK','label','add','panelView','ck-ai-quick-actions-dropdown','551457jVjVfd','3919120MuCEsH','set','24HIiMVz'];_0x32ba=function(){return _0x429440;};return _0x32ba();}function _0x7466(_0x20901f,_0x49323f){const _0x32bae6=_0x32ba();return _0x7466=function(_0x74664c,_0x54df64){_0x74664c=_0x74664c-0x103;let _0x1a9da6=_0x32bae6[_0x74664c];return _0x1a9da6;},_0x7466(_0x20901f,_0x49323f);}import{createDropdown as _0x288005}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x47ded7}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x45e49c}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0xc9ebe8,_0x20c3fa,_0x1173c9,_0x58b1dc){return()=>{const _0x35e774=_0x7466,_0x42fa9d=_0xc9ebe8[_0x35e774(0x109)],_0x47a9aa=_0x288005(_0x42fa9d);_0x47a9aa[_0x35e774(0x108)][_0x35e774(0x112)]({'icon':_0x1173c9[_0x35e774(0x115)]??_0x47ded7,'label':_0x1173c9[_0x35e774(0x10c)],'tooltip':!0x0}),_0x47a9aa[_0x35e774(0x112)]({'class':_0x35e774(0x10f)});const _0x4e5055=new _0x45e49c(_0xc9ebe8,_0x20c3fa,_0x47a9aa,_0x58b1dc);return _0x47a9aa[_0x35e774(0x10e)][_0x35e774(0x106)][_0x35e774(0x10d)](_0x4e5055),_0x47a9aa;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x46fde7=_0x2068;(function(_0x73d765,_0x182486){const _0x7a42d6=_0x2068,_0x25573a=_0x73d765();while(!![]){try{const _0x4c884b=parseInt(_0x7a42d6(0x145))/0x1+parseInt(_0x7a42d6(0x139))/0x2+parseInt(_0x7a42d6(0x135))/0x3*(parseInt(_0x7a42d6(0x126))/0x4)+parseInt(_0x7a42d6(0x143))/0x5+-parseInt(_0x7a42d6(0x147))/0x6+-parseInt(_0x7a42d6(0x146))/0x7+-parseInt(_0x7a42d6(0x111))/0x8;if(_0x4c884b===_0x182486)break;else _0x25573a['push'](_0x25573a['shift']());}catch(_0x13195d){_0x25573a['push'](_0x25573a['shift']());}}}(_0x43db,0xc4c71));export const AI_REVIEW_CHECKS=[{'id':_0x46fde7(0x10a),'title':_0x46fde7(0x119),'description':_0x46fde7(0x148),'isParameterized':!0x0},{'id':_0x46fde7(0x127),'title':_0x46fde7(0x115),'description':_0x46fde7(0x122),'isParameterized':!0x1},{'id':_0x46fde7(0x116),'title':_0x46fde7(0x142),'description':_0x46fde7(0x144),'isParameterized':!0x1},{'id':_0x46fde7(0x10c),'title':_0x46fde7(0x136),'description':_0x46fde7(0x13c),'isParameterized':!0x1},{'id':_0x46fde7(0x13a),'title':_0x46fde7(0x132),'description':_0x46fde7(0x11d),'isParameterized':!0x0,'options':[{'formType':_0x46fde7(0x130),'label':_0x46fde7(0x132),'default':_0x46fde7(0x12b),'data':[{'label':_0x46fde7(0x12d),'id':_0x46fde7(0x12b)},{'label':_0x46fde7(0x13d),'id':_0x46fde7(0x10b)}]}]},{'id':_0x46fde7(0x137),'title':_0x46fde7(0x11f),'description':_0x46fde7(0x113),'isParameterized':!0x0,'options':[{'formType':_0x46fde7(0x130),'label':_0x46fde7(0x11f),'default':_0x46fde7(0x12f),'data':[{'label':_0x46fde7(0x131),'id':_0x46fde7(0x12f)},{'label':_0x46fde7(0x121),'id':_0x46fde7(0x14b)},{'label':_0x46fde7(0x124),'id':_0x46fde7(0x123)},{'label':_0x46fde7(0x120),'id':_0x46fde7(0x112)},{'label':_0x46fde7(0x128),'id':_0x46fde7(0x138)}]}]},{'id':_0x46fde7(0x140),'title':_0x46fde7(0x13f),'description':_0x46fde7(0x12c),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x46fde7(0x130),'label':_0x46fde7(0x125),'argsKey':_0x46fde7(0x133),'data':[{'label':_0x46fde7(0x129),'id':_0x46fde7(0x110)},{'label':_0x46fde7(0x14a),'id':_0x46fde7(0x149)},{'label':_0x46fde7(0x11a),'id':_0x46fde7(0x141)},{'label':_0x46fde7(0x117),'id':_0x46fde7(0x10e)},{'label':_0x46fde7(0x134),'id':_0x46fde7(0x11c)},{'label':_0x46fde7(0x10d),'id':_0x46fde7(0x11b)},{'label':_0x46fde7(0x11e),'id':_0x46fde7(0x10f)},{'label':_0x46fde7(0x12a),'id':_0x46fde7(0x13b)},{'label':_0x46fde7(0x12e),'id':_0x46fde7(0x118)},{'label':_0x46fde7(0x13e),'id':_0x46fde7(0x114)}]}]}];function _0x2068(_0x2c3a7c,_0x8dfde1){const _0x43dbb2=_0x43db();return _0x2068=function(_0x20687c,_0x352ca5){_0x20687c=_0x20687c-0x10a;let _0x4d5609=_0x43dbb2[_0x20687c];return _0x4d5609;},_0x2068(_0x2c3a7c,_0x8dfde1);}function _0x43db(){const _0x3a0cfc=['French','japanese','chinese','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Russian','Adjust\x20tone\x20and\x20style','Confident','Direct','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','friendly','Friendly','Select\x20language','3614692SgXfHm','correctness','Professional','English','Portuguese','longer','Translate\x20the\x20text\x20into\x20another\x20language.','Longer','Korean','casual','dropdown','Casual','Adjust\x20length','language','Chinese\x20(Simplified)','3iDudps','Readability','make-tone','professional','82530tBhTjc','make','portuguese','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Shorter','Italian','Translate','translate','french','Clarity','1272580LEGHAj','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','1275781rsqWHl','55489vzrXem','7773648HKIGHc','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','spanish','Spanish','direct','custom','shorter','readability','Japanese','german','russian','english','2925592fhWYgt','confident','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','italian','Correctness','clarity','German','korean','Custom\x20command'];_0x43db=function(){return _0x3a0cfc;};return _0x43db();}
|
|
@@ -10,6 +10,16 @@ import { ContextPlugin } from 'ckeditor5/src/core.js';
|
|
|
10
10
|
import { AIReviewModeController } from './aireviewmodecontroller.js';
|
|
11
11
|
import { AIReviewModeUI } from './aireviewmodeui.js';
|
|
12
12
|
import { AIReviewModeEditing } from './aireviewmodeediting.js';
|
|
13
|
+
/**
|
|
14
|
+
* The AI Review Mode feature.
|
|
15
|
+
*
|
|
16
|
+
* The Review feature provides users with AI-powered quality assurance for their content by automatically running checks
|
|
17
|
+
* for grammar, style, tone, and more.
|
|
18
|
+
*
|
|
19
|
+
* You can configure the feature by setting the {@link module:ai/aireviewmode/aireviewmode~AIReviewModeConfig} property.
|
|
20
|
+
*
|
|
21
|
+
* Learn more about AI features in CKEditor in the {@glink features/ai/ckeditor-ai-overview AI Overview} documentation.
|
|
22
|
+
*/
|
|
13
23
|
export declare class AIReviewMode extends ContextPlugin {
|
|
14
24
|
/**
|
|
15
25
|
* @inheritDoc
|
|
@@ -30,6 +40,25 @@ export declare class AIReviewMode extends ContextPlugin {
|
|
|
30
40
|
}
|
|
31
41
|
/**
|
|
32
42
|
* The configuration of the {@link module:ai/aireviewmode/aireviewmode~AIReviewMode AI Review Mode feature}.
|
|
43
|
+
*
|
|
44
|
+
* The properties defined in this config are set in the `config.ai.reviewMode` namespace.
|
|
45
|
+
*
|
|
46
|
+
* ```ts
|
|
47
|
+
* ClassicEditor
|
|
48
|
+
* .create( editorElement, {
|
|
49
|
+
* ai: {
|
|
50
|
+
* reviewMode: {
|
|
51
|
+
* // AI Review Mode configuration.
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
* } )
|
|
55
|
+
* .then( ... )
|
|
56
|
+
* .catch( ... );
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* See {@link module:ai/aiconfig~AIConfig the full AI configuration}.
|
|
60
|
+
*
|
|
61
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
33
62
|
*/
|
|
34
63
|
export interface AIReviewModeConfig {
|
|
35
64
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1e5d(_0x13a114,_0x1d3ad8){var _0x75f46f=_0x75f4();return _0x1e5d=function(_0x1e5da3,_0x9ddc1d){_0x1e5da3=_0x1e5da3-0x16c;var _0x34d4c0=_0x75f46f[_0x1e5da3];return _0x34d4c0;},_0x1e5d(_0x13a114,_0x1d3ad8);}var _0x258c98=_0x1e5d;(function(_0x4fedaa,_0x566416){var _0x3d2f59=_0x1e5d,_0x10e5af=_0x4fedaa();while(!![]){try{var _0x11327f=parseInt(_0x3d2f59(0x16c))/0x1+-parseInt(_0x3d2f59(0x172))/0x2+-parseInt(_0x3d2f59(0x174))/0x3+parseInt(_0x3d2f59(0x178))/0x4+-parseInt(_0x3d2f59(0x170))/0x5+-parseInt(_0x3d2f59(0x176))/0x6*(parseInt(_0x3d2f59(0x177))/0x7)+parseInt(_0x3d2f59(0x173))/0x8;if(_0x11327f===_0x566416)break;else _0x10e5af['push'](_0x10e5af['shift']());}catch(_0x3f4b27){_0x10e5af['push'](_0x10e5af['shift']());}}}(_0x75f4,0xe310c));import{ContextPlugin as _0x1e7d86}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x1d2b8e}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x215b3f}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0xe88687}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x1e7d86{static get[_0x258c98(0x175)](){return[_0x1d2b8e,_0x215b3f,_0xe88687];}static get[_0x258c98(0x171)](){var _0x2e56fc=_0x258c98;return _0x2e56fc(0x16e);}static get[_0x258c98(0x16d)](){return!0x0;}static get[_0x258c98(0x16f)](){return!0x0;}}function _0x75f4(){var _0x40d39b=['306540lbIIuZ','12227904Lrjbom','4260825lcWxFs','requires','4404dYOHjT','2527ssiIQG','2762300rrGYyQ','552760QBElfL','isOfficialPlugin','AIReviewMode','isPremiumPlugin','16220cZpdBh','pluginName'];_0x75f4=function(){return _0x40d39b;};return _0x75f4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x539e87=_0x551a;(function(_0x491b61,_0x3cc7c9){const _0x455ce2=_0x551a,_0x531107=_0x491b61();while(!![]){try{const _0x5eb86d=-parseInt(_0x455ce2(0x234))/0x1*(-parseInt(_0x455ce2(0x204))/0x2)+parseInt(_0x455ce2(0x231))/0x3+-parseInt(_0x455ce2(0x20b))/0x4*(parseInt(_0x455ce2(0x1e4))/0x5)+-parseInt(_0x455ce2(0x205))/0x6+parseInt(_0x455ce2(0x1b5))/0x7*(parseInt(_0x455ce2(0x22e))/0x8)+-parseInt(_0x455ce2(0x248))/0x9*(-parseInt(_0x455ce2(0x224))/0xa)+parseInt(_0x455ce2(0x23c))/0xb;if(_0x5eb86d===_0x3cc7c9)break;else _0x531107['push'](_0x531107['shift']());}catch(_0x27faf6){_0x531107['push'](_0x531107['shift']());}}}(_0x1f38,0x8dcf2));import{ContextPlugin as _0x1449c1}from'ckeditor5/src/core.js';import{CKEditorError as _0x52910b,logError as _0x35ae9d,scrollAncestorsToShowTarget as _0xe6619b,scrollViewportToShowTarget as _0x2144d5}from'ckeditor5/src/utils.js';import{AIConnector as _0x1e35b4}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3b2cdd}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x101f36}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x355a84}from'./model/aireviewcustomcheckrun.js';function _0x551a(_0x3363aa,_0x18aab8){const _0x1f38e8=_0x1f38();return _0x551a=function(_0x551a43,_0x1f79dc){_0x551a43=_0x551a43-0x1a9;let _0x328597=_0x1f38e8[_0x551a43];return _0x328597;},_0x551a(_0x3363aa,_0x18aab8);}import{AIReviewModels as _0x5840d}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0xd266e7}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x17e50d}from'../aicore/utils/common-translations.js';function _0x1f38(){const _0x1e3e36=['plugins','get','config','map','_translateReviewChecks','setAvailableChecks','ready','_aiReviewModeUi','models','translate','reviewCheckRunUpdated','hideChangeBalloon','leaveReviewMode','restart','listenTo','_currentReviewCheckRun','checks','start','reviewCheckResultDeactivated','title','showReviewCompletedView','AIReviewModeEditing','prompt','_getTranslationWithDefault','data','args','showReviewCheckList','add','markChangePositionInEditorContent','2wUQygK','4366980Wrnlbq','getCheckById','reviewCheckResultAdded','showActionsWhenResultIsReady','reviewCheckResultRejected','toUpperCase','2452CvCZEh','init','label','_changeActivationSource','replaceAll','finishReview','aireviewmode-no-current-check-run','showChangeBalloon','clearAllMarkers','AI_MODEL_DESCRIPTION_','ai-request-aborted','result','isCustom','locale','processedResultsCount','finished','find','acceptAllChanges','reviewCheckResultActivated','documentData','changeMarkerClick','status','description','length','changeId','646010hbwjic','source','getContentElement','showCheckRunResults','updateChangeState','switchToReadOnly','classList','closest','custom','forceReadyState','1026072svEXud','_logError','_aiReviewModeEditing','205290kkzpaw','isOfficialPlugin','AI_REVIEW_CHECK_','878349MoqGjk','options','abortReviewStream','reviewCheckResultAccepted','_onReviewModeRunLeave','markChangeAsAccepted','leaveReviewModeResultList','acceptChange','1855293KJeBFU','context','_isDiffOn','AIConnector','ai.reviewMode.translations','markChangeAsRejected','remove','reviewCheckResultReady','content','isPremiumPlugin','resetActiveStateInResults','_aiReviewCheckList','18mVasXC','deactivateChange','_onDiffChange','loading','getActiveChanges','abort','showGeneralErrorView','accepted','addResultChanges','getAll','_OPTIONS_LABEL','includes','.ck-ai-review-mode__check-run-result','14hWjAOK','pluginName','switchToEdit','domElement','_OPTIONS_DATA_','requires','unmodified','ck-ai-review-mode-diff','_DESCRIPTION','getReviewCheckList','AIReviewModeController','error-chunk','AIReviewModeUI','rejectChange','aireviewmode-source-check-not-found','getDocumentData','showChunkErrorView','aborted','emitter','panel','getMarkerElementForChange','runReviewCheck','error-general','markAllChangesAsAccepted','params','dismissChange','model','ck-ai-review-mode-highlights','aireviewmode-check-run-failed','rejected','setActiveStateInResults','applyChange','isChangeActive','change','setCheckResultTitle','contentInitial','showNoChangesView','diffContent','toggleDiff','getChangeElement','showCheckRunResult','activateChange','changes','message','_aiConnector','_TITLE','contentNew','1570LCQaxy','retryReview','stopListening'];_0x1f38=function(){return _0x1e3e36;};return _0x1f38();}export class AIReviewModeController extends _0x1449c1{[_0x539e87(0x1e1)];[_0x539e87(0x1ee)];[_0x539e87(0x230)];[_0x539e87(0x247)];[_0x539e87(0x1f6)];[_0x539e87(0x23e)]=!0x1;[_0x539e87(0x20e)]=null;static get[_0x539e87(0x1ba)](){return[_0x1e35b4];}static get[_0x539e87(0x1b6)](){const _0x76881d=_0x539e87;return _0x76881d(0x1bf);}static get[_0x539e87(0x232)](){return!0x0;}static get[_0x539e87(0x245)](){return!0x0;}async[_0x539e87(0x20c)](){const _0x78b89b=_0x539e87;this[_0x78b89b(0x1e1)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x23f)),this[_0x78b89b(0x1ee)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x1c1)),this[_0x78b89b(0x230)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x1fc));const _0x49104d=this[_0x78b89b(0x23d)][_0x78b89b(0x1e9)][_0x78b89b(0x1e8)](_0x78b89b(0x240));if(_0x49104d){for(const _0x19fd17 of _0xd266e7)_0x78b89b(0x1f0)===_0x19fd17['id']&&(_0x19fd17[_0x78b89b(0x235)][0x0][_0x78b89b(0x1ff)]=_0x49104d);}const _0x29f8b6=this[_0x78b89b(0x1eb)](_0xd266e7);this[_0x78b89b(0x247)]=new _0x3b2cdd(_0x29f8b6);const _0x4bb3ce=this[_0x78b89b(0x247)][_0x78b89b(0x1f7)][_0x78b89b(0x21b)](_0x3ba97c=>_0x78b89b(0x22c)===_0x3ba97c['id']);if(_0x4bb3ce){const _0x45f74e=await new _0x5840d({'connector':this[_0x78b89b(0x1e1)]})[_0x78b89b(0x1b1)]();_0x4bb3ce[_0x78b89b(0x1ef)]=_0x45f74e[_0x78b89b(0x1ea)](_0x1ea5df=>({..._0x1ea5df,'description':this[_0x78b89b(0x1fe)](_0x78b89b(0x214)+_0x1ea5df['id'][_0x78b89b(0x20a)](),_0x1ea5df[_0x78b89b(0x221)])}));}this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1be),()=>{const _0x40cb10=_0x78b89b;this[_0x40cb10(0x1ee)][_0x40cb10(0x1ec)](this[_0x40cb10(0x247)][_0x40cb10(0x1f7)]);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1ca),async(_0x49295f,_0x52972e)=>{const _0x5af60b=_0x78b89b,_0x1df7da=this[_0x5af60b(0x247)][_0x5af60b(0x206)](_0x52972e['id']);if(_0x1df7da){this[_0x5af60b(0x1aa)](this[_0x5af60b(0x23e)]),_0x52972e[_0x5af60b(0x217)]?this[_0x5af60b(0x1f6)]=new _0x355a84(_0x52972e[_0x5af60b(0x200)][_0x5af60b(0x1fd)],_0x52972e[_0x5af60b(0x200)][_0x5af60b(0x1cf)],this[_0x5af60b(0x230)][_0x5af60b(0x1c4)](),_0x1df7da,this[_0x5af60b(0x1e1)]):this[_0x5af60b(0x1f6)]=new _0x101f36(this[_0x5af60b(0x230)][_0x5af60b(0x1c4)](),_0x1df7da,this[_0x5af60b(0x1e1)],_0x52972e[_0x5af60b(0x1cd)],_0x52972e[_0x5af60b(0x200)]),this[_0x5af60b(0x1ee)][_0x5af60b(0x1d7)](this[_0x5af60b(0x1f6)][_0x5af60b(0x1fa)]),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x1f1),(_0x3a65eb,_0x4b8341)=>{const _0x516540=_0x5af60b;_0x516540(0x1ff)===_0x4b8341[_0x516540(0x220)]||_0x516540(0x1ab)===_0x4b8341[_0x516540(0x220)]?(this[_0x516540(0x230)][_0x516540(0x229)](),this[_0x516540(0x1ee)][_0x516540(0x227)](_0x4b8341)):_0x516540(0x21a)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1fb)]():_0x516540(0x1ed)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x208)]():_0x516540(0x1bb)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1d9)]():_0x516540(0x1cb)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1ae)]():_0x516540(0x1c0)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1c5)]():_0x516540(0x1c6)===_0x4b8341[_0x516540(0x220)]&&(this[_0x516540(0x1f6)]&&this[_0x516540(0x1f6)][_0x516540(0x219)]>0x0?setTimeout(()=>{const _0x964fe=_0x516540;this[_0x964fe(0x1f6)]?.[_0x964fe(0x22d)]();},0x0):this[_0x516540(0x238)](!0x0));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x207),(_0xe8574b,_0x50023f)=>{const _0x52e22a=_0x5af60b;if(!this[_0x52e22a(0x1f6)])throw new _0x52910b(_0x52e22a(0x211),this);const _0xc2a48f=this[_0x52e22a(0x230)][_0x52e22a(0x1da)](_0x50023f[_0x52e22a(0x216)][_0x52e22a(0x1d8)],_0x50023f[_0x52e22a(0x216)][_0x52e22a(0x1e3)]);_0x50023f[_0x52e22a(0x225)][_0x52e22a(0x1b0)](_0x50023f[_0x52e22a(0x216)]['id'],_0xc2a48f);}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x243),(_0x38f7d7,_0x968981)=>{const _0x524b24=_0x5af60b;for(const _0x47f145 of _0x968981[_0x524b24(0x1df)])this[_0x524b24(0x1ee)][_0x524b24(0x1dd)](_0x47f145);this[_0x524b24(0x230)][_0x524b24(0x203)](_0x968981[_0x524b24(0x1df)],_0x968981[_0x524b24(0x225)][_0x524b24(0x21e)]);}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x237),(_0x8deb46,_0x524eab)=>{const _0x3f778d=_0x5af60b;this[_0x3f778d(0x1ee)][_0x3f778d(0x228)](_0x524eab[_0x3f778d(0x1d6)]['id'],_0x3f778d(0x1af));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x209),(_0x494b83,_0x49dd08)=>{const _0x3ae809=_0x5af60b;this[_0x3ae809(0x1ee)][_0x3ae809(0x228)](_0x49dd08[_0x3ae809(0x1d6)]['id'],_0x3ae809(0x1d2));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x21d),(_0x5193da,_0x418b72)=>{const _0x58e4d2=_0x5af60b;this[_0x58e4d2(0x1ee)][_0x58e4d2(0x1d3)](_0x418b72[_0x58e4d2(0x1d6)]['id']);const _0x19fcd1=this[_0x58e4d2(0x230)][_0x58e4d2(0x1c9)](_0x418b72[_0x58e4d2(0x1d6)]['id']);if(_0x19fcd1){if(_0x58e4d2(0x244)===this[_0x58e4d2(0x20e)]){const _0x2e79b2=this[_0x58e4d2(0x1ee)][_0x58e4d2(0x1dc)](_0x418b72[_0x58e4d2(0x1d6)]['id']);_0x2e79b2&&_0xe6619b(_0x2e79b2[_0x58e4d2(0x22b)](_0x58e4d2(0x1b4))||_0x2e79b2);}else{if(_0x58e4d2(0x1c8)===this[_0x58e4d2(0x20e)]){const _0x185638={'target':_0x19fcd1[_0x58e4d2(0x1b8)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x2144d5(_0x185638);}}this[_0x58e4d2(0x1ee)][_0x58e4d2(0x212)](_0x418b72[_0x58e4d2(0x1d6)],_0x19fcd1[_0x58e4d2(0x1b8)]);}}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x1f9),()=>{const _0x5abc36=_0x5af60b;this[_0x5abc36(0x1ee)][_0x5abc36(0x246)]();});try{await this[_0x5af60b(0x1f6)][_0x5af60b(0x1f8)]();}catch(_0x3135cc){_0x3135cc instanceof Error&&_0x3135cc[_0x5af60b(0x1e0)][_0x5af60b(0x1b3)](_0x5af60b(0x215))||(_0x3135cc instanceof _0x52910b?this[_0x5af60b(0x22f)](_0x3135cc):this[_0x5af60b(0x22f)](new _0x52910b(_0x5af60b(0x1d1),this,{'error':_0x3135cc})));}}else this[_0x5af60b(0x22f)](new _0x52910b(_0x5af60b(0x1c3),this,{'checkId':_0x52972e['id']}));}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1f3),()=>{const _0x2d623f=_0x78b89b;this[_0x2d623f(0x238)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x23a),()=>{const _0x4d4edd=_0x78b89b;this[_0x4d4edd(0x238)](!0x0);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x236),()=>{const _0x359484=_0x78b89b;this[_0x359484(0x1f6)]&&this[_0x359484(0x1f6)][_0x359484(0x1ad)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x210),()=>{const _0x59e2fd=_0x78b89b;this[_0x59e2fd(0x238)](!0x0);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x21c),()=>{const _0x16ce90=_0x78b89b;if(!this[_0x16ce90(0x1f6)])return;const _0x132b65=this[_0x16ce90(0x1f6)][_0x16ce90(0x1ac)]();_0x132b65[_0x16ce90(0x222)]&&(this[_0x16ce90(0x230)][_0x16ce90(0x1d4)](_0x132b65[_0x16ce90(0x1ea)](_0x1d16b1=>_0x1d16b1['id'])),this[_0x16ce90(0x1f6)][_0x16ce90(0x1cc)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x23b),(_0x408e65,_0x470f7a)=>{const _0x2a1fac=_0x78b89b;this[_0x2a1fac(0x1f6)]&&this[_0x2a1fac(0x1f6)][_0x2a1fac(0x1d5)](_0x470f7a['id'])&&(this[_0x2a1fac(0x230)][_0x2a1fac(0x1d4)]([_0x470f7a['id']]),this[_0x2a1fac(0x1f6)][_0x2a1fac(0x239)](_0x470f7a['id']),this[_0x2a1fac(0x1ee)][_0x2a1fac(0x1f2)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1ce),(_0x2c63b4,_0x276ac1)=>{const _0x1b69e9=_0x78b89b;this[_0x1b69e9(0x1f6)]&&this[_0x1b69e9(0x1f6)][_0x1b69e9(0x1d5)](_0x276ac1['id'])&&(this[_0x1b69e9(0x230)][_0x1b69e9(0x1c2)](_0x276ac1['id']),this[_0x1b69e9(0x1f6)][_0x1b69e9(0x241)](_0x276ac1['id']),this[_0x1b69e9(0x1ee)][_0x1b69e9(0x1f2)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1db),(_0x5bbc92,_0x2f6c9)=>{const _0x413e6f=_0x78b89b;this[_0x413e6f(0x23e)]=_0x2f6c9['on'],this[_0x413e6f(0x1aa)](this[_0x413e6f(0x23e)]);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1e5),async()=>{const _0x5d41e9=_0x78b89b;this[_0x5d41e9(0x1f6)]&&await this[_0x5d41e9(0x1f6)][_0x5d41e9(0x1f4)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1de),(_0xe50a95,_0x497c43)=>{const _0x57b635=_0x78b89b;this[_0x57b635(0x1f6)]&&(this[_0x57b635(0x20e)]=_0x57b635(0x1c8),this[_0x57b635(0x1f6)][_0x57b635(0x1de)](_0x497c43['id']));}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1a9),()=>{const _0x4df327=_0x78b89b;this[_0x4df327(0x1f6)]&&this[_0x4df327(0x1f6)][_0x4df327(0x1a9)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x230)][_0x78b89b(0x1c7)],_0x78b89b(0x21f),(_0xbff2a2,_0x272078)=>{const _0x371f6c=_0x78b89b;this[_0x371f6c(0x1f6)]&&(this[_0x371f6c(0x20e)]=_0x371f6c(0x244),this[_0x371f6c(0x1f6)][_0x371f6c(0x1de)](_0x272078[_0x371f6c(0x223)]));});}[_0x539e87(0x238)](_0x272447=!0x1){const _0x5b3109=_0x539e87;this[_0x5b3109(0x1f6)]&&(this[_0x5b3109(0x1f6)][_0x5b3109(0x1ad)](),this[_0x5b3109(0x1f6)][_0x5b3109(0x1e6)](),this[_0x5b3109(0x1f6)]=void 0x0),_0x272447&&this[_0x5b3109(0x1ee)][_0x5b3109(0x201)](),this[_0x5b3109(0x230)][_0x5b3109(0x213)](),this[_0x5b3109(0x230)][_0x5b3109(0x1b7)](),this[_0x5b3109(0x20e)]=null;const _0x32b815=this[_0x5b3109(0x230)][_0x5b3109(0x226)]();_0x32b815&&(_0x32b815[_0x5b3109(0x22a)][_0x5b3109(0x242)](_0x5b3109(0x1bc)),_0x32b815[_0x5b3109(0x22a)][_0x5b3109(0x242)](_0x5b3109(0x1d0)));}[_0x539e87(0x1aa)](_0x207beb){const _0x11fc12=_0x539e87,_0x1738ef=this[_0x11fc12(0x230)][_0x11fc12(0x226)]();_0x1738ef&&(_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x242)](_0x11fc12(0x1bc)),_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x242)](_0x11fc12(0x1d0)),_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x202)](_0x207beb?_0x11fc12(0x1bc):_0x11fc12(0x1d0)));}[_0x539e87(0x1eb)](_0x4cf7a8){const _0x10edef=_0x539e87;return _0x4cf7a8[_0x10edef(0x1ea)](_0xf4cc84=>{const _0xfdaa53=_0x10edef,_0x52f7b2=_0xfdaa53(0x233)+_0xf4cc84['id'][_0xfdaa53(0x20a)]()[_0xfdaa53(0x20f)]('-','_'),_0x13788b={..._0xf4cc84,'title':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1e2),_0xf4cc84[_0xfdaa53(0x1fa)]),'description':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1bd),_0xf4cc84[_0xfdaa53(0x221)])};return _0xf4cc84[_0xfdaa53(0x235)]&&(_0x13788b[_0xfdaa53(0x235)]=_0xf4cc84[_0xfdaa53(0x235)][_0xfdaa53(0x1ea)](_0x2b02af=>({..._0x2b02af,'label':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1b2),_0x2b02af[_0xfdaa53(0x20d)]||''),'data':_0x2b02af[_0xfdaa53(0x1ff)]?_0x2b02af[_0xfdaa53(0x1ff)][_0xfdaa53(0x1ea)](_0x17cdba=>({..._0x17cdba,'label':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1b9)+_0x17cdba['id'][_0xfdaa53(0x20a)](),_0x17cdba[_0xfdaa53(0x20d)])})):void 0x0}))),_0x13788b;});}[_0x539e87(0x1fe)](_0x11b3cf,_0x56fe99){const _0x1a7df3=_0x539e87,_0x3d447a=this[_0x1a7df3(0x23d)][_0x1a7df3(0x218)],_0x1371db=_0x17e50d(_0x3d447a,_0x11b3cf);return _0x1371db===_0x11b3cf?_0x56fe99:_0x1371db;}[_0x539e87(0x22f)](_0xc93aa5){const _0x330a40=_0x539e87;_0x35ae9d(_0xc93aa5[_0x330a40(0x1e0)]),this[_0x330a40(0x1ee)][_0x330a40(0x1ae)]();}}
|
|
23
|
+
const _0x59cf4a=_0x3f0f;function _0x5140(){const _0x583250=['getDocumentData','addClass','documentData','description','runReviewCheck','translate','_changeActivationSource','restart','showChunkErrorView','resetActiveStateInResults','reviewCheckResultAdded','abortReviewStream','leaveReviewModeResultList','AIConnector','leaveReviewMode','custom','contentInitial','reviewCheckResultRejected','updateChangeState','AI_MODEL_DESCRIPTION_','AIReviewModeEditing','isOfficialPlugin','result','markAllChangesAsAccepted','view','_logError','_getTranslationWithDefault','domElement','getCheckById','showGeneralErrorView','changeId','30NmBfPJ','aireviewmode-check-run-failed','source','_currentReviewCheckRun','requires','message','getReviewCheckList','_onReviewModeRunLeave','applyChange','stopListening','document','4LNyhXs','getEditor','get','acceptAllChanges','unmodified','ai-request-aborted','label','dismissChange','addResultChanges','upsertCustomAIReviewRating','rejectChange','35EJGDpS','278589LZSoqR','pluginName','showActionsWhenResultIsReady','_OPTIONS_LABEL','finished','split','showReviewCheckList','7253680LNTMPC','abort','model','acceptChange','editing','models','getActiveChanges','totalCount','getRoot','accepted','AI_REVIEW_CHECK_','markChangeAsRejected','getChangeElement','processedResultsCount','_aiConnector','isCustom','_updateRatings','.ck-ai-review-mode__check-run-result','showChangeBalloon','title','clearAllMarkers','reviewCheckResultActivated','loading','error-chunk','locale','ready','showNoChangesView','changes','isChangeActive','getAll','upsertAIReviewRating','deactivateChange','_aiReviewModeUi','params','removeClass','plugins','config','reviewCheckResultAccepted','_TITLE','AIReviewModeController','_DESCRIPTION','_aiReviewCheckList','990142VJsHhh','rejected','1927214MdIytD','getMarkerElementForChange','aireviewmode-source-check-not-found','options','error-general','checks','_OPTIONS_DATA_','contentNew','showCheckRunResult','ck-ai-review-mode-diff','ai.reviewMode.translations','toggleDiff','296MBpvki','_onDiffChange','status','aireviewmode-no-current-check-run','forceReadyState','activateChange','setAvailableChecks','context','panel','init','closest','ck-ai-review-mode-highlights','getTotalChangesCount','retryReview','aborted','showReviewCompletedView','198351pBDKci','reviewCheckResultReady','AIReviewModeUI','_isDiffOn','_translateReviewChecks','switchToEdit','isPremiumPlugin','callId','reviewCheckRunUpdated','setActiveStateInResults','map','emitter','content','diffContent','markChangePositionInEditorContent','args','finishReview','prompt','hideChangeBalloon','9328671ZvmgoN','switchToReadOnly','reviewName','_aiReviewModeEditing','start','reviewCheckResultDeactivated','change','length','setCheckResultTitle','find','420882PuwCTF','includes','replaceAll','showCheckRunResults','data','markChangeAsAccepted','changeMarkerClick','toUpperCase','listenTo','getAcceptedChangesCount'];_0x5140=function(){return _0x583250;};return _0x5140();}(function(_0x2860d1,_0x4415e9){const _0x327502=_0x3f0f,_0x37d419=_0x2860d1();while(!![]){try{const _0x9b1604=parseInt(_0x327502(0xe7))/0x1+parseInt(_0x327502(0xe9))/0x2+-parseInt(_0x327502(0xb6))/0x3*(parseInt(_0x327502(0xaa))/0x4)+-parseInt(_0x327502(0xb5))/0x5*(parseInt(_0x327502(0x122))/0x6)+parseInt(_0x327502(0xbd))/0x7+parseInt(_0x327502(0xf5))/0x8*(parseInt(_0x327502(0x105))/0x9)+-parseInt(_0x327502(0x9f))/0xa*(parseInt(_0x327502(0x118))/0xb);if(_0x9b1604===_0x4415e9)break;else _0x37d419['push'](_0x37d419['shift']());}catch(_0x2669e6){_0x37d419['push'](_0x37d419['shift']());}}}(_0x5140,0xa55ed));import{ContextPlugin as _0x2b07fb}from'ckeditor5/src/core.js';import{CKEditorError as _0x22e3d8,logError as _0x50995a,scrollAncestorsToShowTarget as _0x582ea3,scrollViewportToShowTarget as _0x33693c}from'ckeditor5/src/utils.js';import{AIConnector as _0x51375e}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x58e01c}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x227774}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x32cc52}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0xc113fd}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x459db9}from'./aireviewcheckdefinitions.js';function _0x3f0f(_0x8f9445,_0x59185f){const _0x5140b2=_0x5140();return _0x3f0f=function(_0x3f0f7b,_0x17abdf){_0x3f0f7b=_0x3f0f7b-0x94;let _0x6393e8=_0x5140b2[_0x3f0f7b];return _0x6393e8;},_0x3f0f(_0x8f9445,_0x59185f);}import{getTranslation as _0x2f7339}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2b07fb{[_0x59cf4a(0xcb)];[_0x59cf4a(0xdd)];[_0x59cf4a(0x11b)];[_0x59cf4a(0xe6)];[_0x59cf4a(0xa2)];[_0x59cf4a(0x108)]=!0x1;[_0x59cf4a(0x132)]=null;static get[_0x59cf4a(0xa3)](){return[_0x51375e];}static get[_0x59cf4a(0xb7)](){const _0x2bd1e2=_0x59cf4a;return _0x2bd1e2(0xe4);}static get[_0x59cf4a(0x95)](){return!0x0;}static get[_0x59cf4a(0x10b)](){return!0x0;}async[_0x59cf4a(0xfe)](){const _0x48dd33=_0x59cf4a;this[_0x48dd33(0xcb)]=this[_0x48dd33(0xfc)][_0x48dd33(0xe0)][_0x48dd33(0xac)](_0x48dd33(0x139)),this[_0x48dd33(0xdd)]=this[_0x48dd33(0xfc)][_0x48dd33(0xe0)][_0x48dd33(0xac)](_0x48dd33(0x107)),this[_0x48dd33(0x11b)]=this[_0x48dd33(0xfc)][_0x48dd33(0xe0)][_0x48dd33(0xac)](_0x48dd33(0x94));const _0x181152=this[_0x48dd33(0xfc)][_0x48dd33(0xe1)][_0x48dd33(0xac)](_0x48dd33(0xf3));if(_0x181152){for(const _0x4fb322 of _0x459db9)_0x48dd33(0x131)===_0x4fb322['id']&&(_0x4fb322[_0x48dd33(0xec)][0x0][_0x48dd33(0x126)]=_0x181152);}const _0x5237b7=this[_0x48dd33(0x109)](_0x459db9);this[_0x48dd33(0xe6)]=new _0x58e01c(_0x5237b7);const _0x5046a8=this[_0x48dd33(0xe6)][_0x48dd33(0xee)][_0x48dd33(0x121)](_0x1b3598=>_0x48dd33(0x13b)===_0x1b3598['id']);if(_0x5046a8){const _0x28dba5=await new _0xc113fd({'connector':this[_0x48dd33(0xcb)]})[_0x48dd33(0xda)]();_0x5046a8[_0x48dd33(0xc2)]=_0x28dba5[_0x48dd33(0x10f)](_0xd09c24=>({..._0xd09c24,'description':this[_0x48dd33(0x9a)](_0x48dd33(0x13f)+_0xd09c24['id'][_0x48dd33(0x129)](),_0xd09c24[_0x48dd33(0x12f)])}));}this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xa5),()=>{const _0x4d03a1=_0x48dd33;this[_0x4d03a1(0xdd)][_0x4d03a1(0xfb)](this[_0x4d03a1(0xe6)][_0x4d03a1(0xee)]);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x130),async(_0x3f91bc,_0x5328c3)=>{const _0x48ab1a=_0x48dd33,_0x4dd89c=this[_0x48ab1a(0xe6)][_0x48ab1a(0x9c)](_0x5328c3['id']);if(_0x4dd89c){this[_0x48ab1a(0xf6)](this[_0x48ab1a(0x108)]),_0x5328c3[_0x48ab1a(0xcc)]?this[_0x48ab1a(0xa2)]=new _0x32cc52(_0x5328c3[_0x48ab1a(0x114)][_0x48ab1a(0x116)],_0x5328c3[_0x48ab1a(0x114)][_0x48ab1a(0xbf)],this[_0x48ab1a(0x11b)][_0x48ab1a(0x12c)](),_0x4dd89c,this[_0x48ab1a(0xcb)]):this[_0x48ab1a(0xa2)]=new _0x227774(this[_0x48ab1a(0x11b)][_0x48ab1a(0x12c)](),_0x4dd89c,this[_0x48ab1a(0xcb)],_0x5328c3[_0x48ab1a(0xde)],_0x5328c3[_0x48ab1a(0x114)]),this[_0x48ab1a(0xdd)][_0x48ab1a(0x120)](this[_0x48ab1a(0xa2)][_0x48ab1a(0xd0)]),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x10d),(_0x2c6e2d,_0x42218e)=>{const _0x3d2df3=_0x48ab1a;_0x3d2df3(0x126)===_0x42218e[_0x3d2df3(0xf7)]||_0x3d2df3(0xd3)===_0x42218e[_0x3d2df3(0xf7)]?(this[_0x3d2df3(0x11b)][_0x3d2df3(0x119)](),this[_0x3d2df3(0xdd)][_0x3d2df3(0x125)](_0x42218e)):_0x3d2df3(0xba)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0x104)]():_0x3d2df3(0xd6)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0xb8)]():_0x3d2df3(0xae)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0xd7)]():_0x3d2df3(0xed)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0x9d)]():_0x3d2df3(0xd4)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0x134)]():_0x3d2df3(0x103)===_0x42218e[_0x3d2df3(0xf7)]&&(this[_0x3d2df3(0xa2)]&&this[_0x3d2df3(0xa2)][_0x3d2df3(0xca)]>0x0?setTimeout(()=>{const _0x57cd51=_0x3d2df3;this[_0x57cd51(0xa2)]?.[_0x57cd51(0xf9)]();},0x0):this[_0x3d2df3(0xa6)](!0x0));}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x136),(_0x3ec1be,_0x6f2fd5)=>{const _0x53ea3c=_0x48ab1a;if(!this[_0x53ea3c(0xa2)])throw new _0x22e3d8(_0x53ea3c(0xf8),this);const _0x1fea97=this[_0x53ea3c(0x11b)][_0x53ea3c(0x112)](_0x6f2fd5[_0x53ea3c(0x96)][_0x53ea3c(0x13c)],_0x6f2fd5[_0x53ea3c(0x96)][_0x53ea3c(0xf0)]);_0x6f2fd5[_0x53ea3c(0xa1)][_0x53ea3c(0xb2)](_0x6f2fd5[_0x53ea3c(0x96)]['id'],_0x1fea97);}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x106),(_0x1c085f,_0x41522f)=>{const _0x39e704=_0x48ab1a;for(const _0x53bb31 of _0x41522f[_0x39e704(0xd8)])this[_0x39e704(0xdd)][_0x39e704(0xf1)](_0x53bb31);this[_0x39e704(0x11b)][_0x39e704(0x113)](_0x41522f[_0x39e704(0xd8)],_0x41522f[_0x39e704(0xa1)][_0x39e704(0x12e)]);}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0xe2),(_0x1b251,_0x28a464)=>{const _0x2fe9ce=_0x48ab1a;this[_0x2fe9ce(0xdd)][_0x2fe9ce(0x13e)](_0x28a464[_0x2fe9ce(0x11e)]['id'],_0x2fe9ce(0xc6));}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x13d),(_0x513cc6,_0x279d86)=>{const _0x3da1e4=_0x48ab1a;this[_0x3da1e4(0xdd)][_0x3da1e4(0x13e)](_0x279d86[_0x3da1e4(0x11e)]['id'],_0x3da1e4(0xe8));}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0xd2),(_0x8818fd,_0x39117e)=>{const _0x480a87=_0x48ab1a;this[_0x480a87(0xdd)][_0x480a87(0x10e)](_0x39117e[_0x480a87(0x11e)]['id']);const _0x1af92f=this[_0x480a87(0x11b)][_0x480a87(0xea)](_0x39117e[_0x480a87(0x11e)]['id']);if(_0x1af92f){if(_0x480a87(0x111)===this[_0x480a87(0x132)]){const _0x1e03da=this[_0x480a87(0xdd)][_0x480a87(0xc9)](_0x39117e[_0x480a87(0x11e)]['id']);_0x1e03da&&_0x582ea3(_0x1e03da[_0x480a87(0xff)](_0x480a87(0xce))||_0x1e03da);}else{if(_0x480a87(0xfd)===this[_0x480a87(0x132)]){const _0x1b609c={'target':_0x1af92f[_0x480a87(0x9b)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x33693c(_0x1b609c);}}this[_0x480a87(0xdd)][_0x480a87(0xcf)](_0x39117e[_0x480a87(0x11e)],_0x1af92f[_0x480a87(0x9b)]);}}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x11d),()=>{const _0x35960e=_0x48ab1a;this[_0x35960e(0xdd)][_0x35960e(0x135)]();});try{await this[_0x48ab1a(0xa2)][_0x48ab1a(0x11c)]();}catch(_0xbaba20){_0xbaba20 instanceof Error&&_0xbaba20[_0x48ab1a(0xa4)][_0x48ab1a(0x123)](_0x48ab1a(0xaf))||(_0xbaba20 instanceof _0x22e3d8?this[_0x48ab1a(0x99)](_0xbaba20):this[_0x48ab1a(0x99)](new _0x22e3d8(_0x48ab1a(0xa0),this,{'error':_0xbaba20})));}}else this[_0x48ab1a(0x99)](new _0x22e3d8(_0x48ab1a(0xeb),this,{'checkId':_0x5328c3['id']}));}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x13a),()=>{const _0x3b19f3=_0x48dd33;this[_0x3b19f3(0xa6)]();}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x138),()=>{const _0xc1ce44=_0x48dd33;this[_0xc1ce44(0xa6)](!0x0);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x137),()=>{const _0x539e68=_0x48dd33;this[_0x539e68(0xa2)]&&this[_0x539e68(0xa2)][_0x539e68(0xbe)]();}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x115),()=>{const _0xb8487f=_0x48dd33;this[_0xb8487f(0xa6)](!0x0);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xad),()=>{const _0x382e7c=_0x48dd33;if(!this[_0x382e7c(0xa2)])return;const _0x119bcf=this[_0x382e7c(0xa2)][_0x382e7c(0xc3)]();_0x119bcf[_0x382e7c(0x11f)]&&(this[_0x382e7c(0x11b)][_0x382e7c(0xa7)](_0x119bcf[_0x382e7c(0x10f)](_0x294092=>_0x294092['id'])),this[_0x382e7c(0xa2)][_0x382e7c(0x97)](),this[_0x382e7c(0xcd)]());}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xc0),(_0x22ae4b,_0x49681c)=>{const _0x30dc98=_0x48dd33;if(!this[_0x30dc98(0xa2)]||!this[_0x30dc98(0xa2)][_0x30dc98(0xd9)](_0x49681c['id']))return;this[_0x30dc98(0x11b)][_0x30dc98(0xa7)]([_0x49681c['id']]),this[_0x30dc98(0xa2)][_0x30dc98(0x127)](_0x49681c['id']),this[_0x30dc98(0xdd)][_0x30dc98(0x117)]();const _0x10df0c=_0x49681c['id'][_0x30dc98(0xbb)]('-');this[_0x30dc98(0xcd)](_0x10df0c[0x0]);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xb1),(_0xf18c9e,_0x53f0fd)=>{const _0xd43e55=_0x48dd33;if(!this[_0xd43e55(0xa2)]||!this[_0xd43e55(0xa2)][_0xd43e55(0xd9)](_0x53f0fd['id']))return;this[_0xd43e55(0x11b)][_0xd43e55(0xb4)](_0x53f0fd['id']),this[_0xd43e55(0xa2)][_0xd43e55(0xc8)](_0x53f0fd['id']),this[_0xd43e55(0xdd)][_0xd43e55(0x117)]();const _0x4d54ae=_0x53f0fd['id'][_0xd43e55(0xbb)]('-');this[_0xd43e55(0xcd)](_0x4d54ae[0x0]);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xf4),(_0x439568,_0x16a958)=>{const _0x101837=_0x48dd33;this[_0x101837(0x108)]=_0x16a958['on'],this[_0x101837(0xf6)](this[_0x101837(0x108)]);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x102),async()=>{const _0x359081=_0x48dd33;this[_0x359081(0xa2)]&&await this[_0x359081(0xa2)][_0x359081(0x133)]();}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xfa),(_0x19487e,_0x1bfb19)=>{const _0x408eaf=_0x48dd33;this[_0x408eaf(0xa2)]&&(this[_0x408eaf(0x132)]=_0x408eaf(0xfd),this[_0x408eaf(0xa2)][_0x408eaf(0xfa)](_0x1bfb19['id']));}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xdc),()=>{const _0x575134=_0x48dd33;this[_0x575134(0xa2)]&&this[_0x575134(0xa2)][_0x575134(0xdc)]();}),this[_0x48dd33(0x12a)](this[_0x48dd33(0x11b)][_0x48dd33(0x110)],_0x48dd33(0x128),(_0xcfaa2f,_0x4692e8)=>{const _0x3635a4=_0x48dd33;this[_0x3635a4(0xa2)]&&(this[_0x3635a4(0x132)]=_0x3635a4(0x111),this[_0x3635a4(0xa2)][_0x3635a4(0xfa)](_0x4692e8[_0x3635a4(0x9e)]));});}[_0x59cf4a(0xcd)](_0x587283){const _0x3cef51=_0x59cf4a;if(!this[_0x3cef51(0xa2)])return;const _0x1089fb={'positiveCount':this[_0x3cef51(0xa2)][_0x3cef51(0x12b)](),'totalCount':this[_0x3cef51(0xa2)][_0x3cef51(0x101)]()};if(0x0===_0x1089fb[_0x3cef51(0xc4)])return;const _0x3320b7=this[_0x3cef51(0xa2)][_0x3cef51(0x10c)];if(this[_0x3cef51(0xa2)]instanceof _0x227774){const _0x305de5=this[_0x3cef51(0xa2)][_0x3cef51(0x11a)];this[_0x3cef51(0xcb)][_0x3cef51(0xdb)](_0x305de5,_0x3320b7,_0x1089fb,_0x587283);}else this[_0x3cef51(0xa2)]instanceof _0x32cc52&&this[_0x3cef51(0xcb)][_0x3cef51(0xb3)](_0x3320b7,_0x1089fb,_0x587283);}[_0x59cf4a(0xa6)](_0x5aca51=!0x1){const _0x113458=_0x59cf4a;this[_0x113458(0xa2)]&&(this[_0x113458(0xcd)](),this[_0x113458(0xa2)][_0x113458(0xbe)](),this[_0x113458(0xa2)][_0x113458(0xa8)](),this[_0x113458(0xa2)]=void 0x0),_0x5aca51&&this[_0x113458(0xdd)][_0x113458(0xbc)](),this[_0x113458(0x11b)][_0x113458(0xd1)](),this[_0x113458(0x11b)][_0x113458(0x10a)](),this[_0x113458(0x132)]=null;const _0x2060ba=this[_0x113458(0x11b)][_0x113458(0xab)]();_0x2060ba&&_0x2060ba[_0x113458(0xc1)][_0x113458(0x98)][_0x113458(0x11e)](_0x108ed8=>{const _0x2682ff=_0x113458,_0x502947=_0x2060ba[_0x2682ff(0xc1)][_0x2682ff(0x98)][_0x2682ff(0xa9)][_0x2682ff(0xc5)]();_0x108ed8[_0x2682ff(0xdf)](_0x2682ff(0xf2),_0x502947),_0x108ed8[_0x2682ff(0xdf)](_0x2682ff(0x100),_0x502947);});}[_0x59cf4a(0xf6)](_0x2680cc){const _0x556752=_0x59cf4a,_0x25d288=this[_0x556752(0x11b)][_0x556752(0xab)]();_0x25d288&&_0x25d288[_0x556752(0xc1)][_0x556752(0x98)][_0x556752(0x11e)](_0x1da237=>{const _0x4c8413=_0x556752,_0x5bdd1b=_0x25d288[_0x4c8413(0xc1)][_0x4c8413(0x98)][_0x4c8413(0xa9)][_0x4c8413(0xc5)]();_0x1da237[_0x4c8413(0xdf)](_0x4c8413(0xf2),_0x5bdd1b),_0x1da237[_0x4c8413(0xdf)](_0x4c8413(0x100),_0x5bdd1b),_0x1da237[_0x4c8413(0x12d)](_0x2680cc?_0x4c8413(0xf2):_0x4c8413(0x100),_0x5bdd1b);});}[_0x59cf4a(0x109)](_0x271950){const _0x24b275=_0x59cf4a;return _0x271950[_0x24b275(0x10f)](_0x386159=>{const _0x5db476=_0x24b275,_0x1de40a=_0x5db476(0xc7)+_0x386159['id'][_0x5db476(0x129)]()[_0x5db476(0x124)]('-','_'),_0x25eb27={..._0x386159,'title':this[_0x5db476(0x9a)](_0x1de40a+_0x5db476(0xe3),_0x386159[_0x5db476(0xd0)]),'description':this[_0x5db476(0x9a)](_0x1de40a+_0x5db476(0xe5),_0x386159[_0x5db476(0x12f)])};return _0x386159[_0x5db476(0xec)]&&(_0x25eb27[_0x5db476(0xec)]=_0x386159[_0x5db476(0xec)][_0x5db476(0x10f)](_0x1ae210=>({..._0x1ae210,'label':this[_0x5db476(0x9a)](_0x1de40a+_0x5db476(0xb9),_0x1ae210[_0x5db476(0xb0)]||''),'data':_0x1ae210[_0x5db476(0x126)]?_0x1ae210[_0x5db476(0x126)][_0x5db476(0x10f)](_0x30c73f=>({..._0x30c73f,'label':this[_0x5db476(0x9a)](_0x1de40a+_0x5db476(0xef)+_0x30c73f['id'][_0x5db476(0x129)](),_0x30c73f[_0x5db476(0xb0)])})):void 0x0}))),_0x25eb27;});}[_0x59cf4a(0x9a)](_0xf08bcc,_0x44d645){const _0x5e22c5=_0x59cf4a,_0x4e61f1=this[_0x5e22c5(0xfc)][_0x5e22c5(0xd5)],_0x1077dc=_0x2f7339(_0x4e61f1,_0xf08bcc);return _0x1077dc===_0xf08bcc?_0x44d645:_0x1077dc;}[_0x59cf4a(0x99)](_0x5e9ed9){const _0x4cfb9c=_0x59cf4a;_0x50995a(_0x5e9ed9[_0x4cfb9c(0xa4)]),this[_0x4cfb9c(0xdd)][_0x4cfb9c(0x9d)]();}}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aireviewmode/aireviewmodeediting
|
|
7
|
-
* @publicApi
|
|
8
7
|
*/
|
|
9
8
|
import { InsertOperation, MarkerOperation, ModelPosition, ModelRange, type Operation } from 'ckeditor5/src/engine.js';
|
|
10
9
|
import { type Emitter } from 'ckeditor5/src/utils.js';
|
|
@@ -92,7 +91,7 @@ export declare class AIReviewModeEditing extends ContextPlugin {
|
|
|
92
91
|
switchToEdit(): void;
|
|
93
92
|
applyChange(changeIds: Array<string>): void;
|
|
94
93
|
rejectChange(changeId: string): void;
|
|
95
|
-
|
|
94
|
+
getEditor(): Editor;
|
|
96
95
|
getMarkerElementForChange(changeId: string): {
|
|
97
96
|
modelRange: ModelRange;
|
|
98
97
|
domElement: HTMLElement;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3272(_0x3e489a,_0x41f1b8){const _0x2effe2=_0x2eff();return _0x3272=function(_0x3272e4,_0x28b7f5){_0x3272e4=_0x3272e4-0x154;let _0x15ea82=_0x2effe2[_0x3272e4];return _0x15ea82;},_0x3272(_0x3e489a,_0x41f1b8);}const _0x4c0b13=_0x3272;(function(_0x48d0c9,_0x4d2887){const _0x22023c=_0x3272,_0x1ad4e7=_0x48d0c9();while(!![]){try{const _0x503a64=-parseInt(_0x22023c(0x192))/0x1+parseInt(_0x22023c(0x183))/0x2*(-parseInt(_0x22023c(0x169))/0x3)+-parseInt(_0x22023c(0x1ef))/0x4*(-parseInt(_0x22023c(0x218))/0x5)+parseInt(_0x22023c(0x159))/0x6+-parseInt(_0x22023c(0x196))/0x7*(-parseInt(_0x22023c(0x1cf))/0x8)+-parseInt(_0x22023c(0x1f6))/0x9+parseInt(_0x22023c(0x22c))/0xa;if(_0x503a64===_0x4d2887)break;else _0x1ad4e7['push'](_0x1ad4e7['shift']());}catch(_0x338e1b){_0x1ad4e7['push'](_0x1ad4e7['shift']());}}}(_0x2eff,0x32984));import{InsertOperation as _0x1b4722,MarkerOperation as _0x79ff16,ModelDocumentFragment as _0x362020,ModelPosition as _0x2198df,ModelRange as _0xbb2005,ModelTreeWalker as _0x23d2cd,transformOperationSets as _0xe83c1d}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2c1ff8,EmitterMixin as _0x5eb1ff}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x136d09}from'ckeditor5/src/core.js';import{DocumentCompare as _0x366bab,DATA_ID_MODEL_ATTRIBUTE as _0x3fdd75,DATA_ID_VIEW_ATTRIBUTE as _0x5916c2}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x21d297}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xdc57e7}from'../aicore/aiediting.js';const ae=_0x4c0b13(0x1f0);function _0x2eff(){const _0x577e10=['map','getHtml','caption','end','diffContent','name','[data-marker-id=\x22','stringify','concat','emitter','markerToHighlight','createSelection','data-marker-id','getDiff','createRawElement','viewToDom','listenTo','createPositionAfter','model:$text','8UiDhyw','[data-id=\x22','pop','elements','hasContentAfter','createPositionAt','_changePositionOwnerDocument','clone','editingDowncast','markers','markerToElement','add','offset','_getOperationEnd','remove-only','_markers','getRoots','ck-ai_review-mode-marker_underline','_findAdjacentContextDistance','requires','version','downcast','ellipsisBefore','childCount','clearAllMarkers','operationsIsolated','forward','_insertMarkers','markerName','isDocumentOperation','start','htmlWriter','4RLEHtL','reviewmode-','insertContent','for','$textProxy','every','outerHTML','1901502bHTWGX','howMany','removeMarker','editing','delete','_createGetContentFn','parse','domConverter','toDomElement','switchToEdit','isInline','getChild','warn','set','get','ck-ai_review-mode-marker_add','_getChangeContext','_groupAdjacentOperations','AIReviewModeEditing','addOperation','document','getDocumentData','_changeRange','change','remove-text','conversion','sort','dataDowncast','isOpening','attributeToAttribute','ck-ai_review-mode-marker_context-','getOperations','exec','append','684155odixtc','_nextDataId','ck-ai_review-mode-marker_hide','_appendChild','span','hasContentBefore','history','flat','DocumentCompare','target','view','_clone','No\x20element\x20found\x20for\x20ID:\x20','_findMarkerElement','suggestion:insertion:id:authorId:','fire','schema','filter','rejectChange','oldRange','7987560TePali','applyOperation','ck-ai_review-mode-marker_context-end','_shiftOperation','$markedRemove','_getTopElement','674082LwkiMN','createText','getPath','text','className','deleteContent','markChangePositionInEditorContent','length','getMarkerElementForChange','ck-ai_review-mode-marker_context-start','operationsA','_getOperationStart','element','ck-ai_review-mode-marker_','includes','startsWith','12381AhHdMk','getContentElement','AIEditing','split','keys','batch','getAttribute','pluginName','switchToReadOnly','documentFragment','toData','groupId','position','isPremiumPlugin','innerHTML','getRange','getRoot','_translateOperationToEditorContent','$documentFragment','createDocumentFragment','_createGetContextFn','from','_setAttribute','model','affectsData','suggestion:deletion:id:authorId:','166BZrRVk','push','plugins','insert','parent','jumpTo','isOfficialPlugin','clear','baseVersion','newRange','marker','ai-review-mode','changeMarkerClick','backward','values','336603sicejK','_domEmitter','parentElement','enableReadOnlyMode','348068erSMXT','toView','_changeOperationOwnerDocument','path','hasClass','addMarker','isAtEnd','_createGetContentUsingDataIdFn','createRange','isTouching','isAtStart','index','offsetSize','afterInit','_removeChildren','querySelector','disableReadOnlyMode','_changeRangeOwnerDocument','_sortMarkers','click','htmlProcessor','remove-context','createUIElement','type','_changePosition','ellipsisAfter','getDomRoot','processor','applyChange','nodes','ck-ai_review-mode-marker_strikethrough','getChildren','suggestion-context','_eventEmitter','context','data','_getMarkersDataForGroup','getShiftedBy'];_0x2eff=function(){return _0x577e10;};return _0x2eff();}export class AIReviewModeEditing extends _0x136d09{static get[_0x4c0b13(0x170)](){const _0x3d3612=_0x4c0b13;return _0x3d3612(0x208);}static get[_0x4c0b13(0x1e2)](){return[_0x366bab,_0xdc57e7];}static get[_0x4c0b13(0x189)](){return!0x0;}static get[_0x4c0b13(0x176)](){return!0x0;}[_0x4c0b13(0x1de)]=new Map();[_0x4c0b13(0x193)];[_0x4c0b13(0x1b7)];constructor(_0x34d845){const _0x286e92=_0x4c0b13;super(_0x34d845),this[_0x286e92(0x193)]=new(_0x2c1ff8())(),this[_0x286e92(0x1b7)]=new(_0x5eb1ff())();}get[_0x4c0b13(0x1c5)](){const _0x5be9a9=_0x4c0b13;return this[_0x5be9a9(0x1b7)];}[_0x4c0b13(0x1a3)](){const _0x1f5e25=_0x4c0b13,_0x363524=_0x21d297(this[_0x1f5e25(0x1b8)]);_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1d7))[_0x1f5e25(0x1d9)]({'model':ae+_0x1f5e25(0x186),'view':(_0x3aff6a,{writer:_0x40bd8d})=>{const _0x146a3d=_0x1f5e25,_0x1881e2=this[_0x146a3d(0x1de)][_0x146a3d(0x204)](_0x3aff6a[_0x146a3d(0x1eb)]),_0x3a3a7a={'class':_0x146a3d(0x205),'data-marker-id':_0x3aff6a[_0x146a3d(0x1eb)]};return _0x40bd8d[_0x146a3d(0x1ac)](_0x146a3d(0x21c),_0x3a3a7a,function(_0x125cd8){const _0x564d9a=_0x146a3d,_0x59454a=this[_0x564d9a(0x1fe)](_0x125cd8);return _0x59454a[_0x564d9a(0x177)]=_0x1881e2?.[_0x564d9a(0x15c)]||'',_0x59454a;});}}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1d7))[_0x1f5e25(0x1c6)]({'model':ae+_0x1f5e25(0x1dd),'view':_0x14228b=>({'classes':_0x1f5e25(0x1b4),'attributes':{'data-marker-id':_0x14228b[_0x1f5e25(0x1eb)]}})}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1d7))[_0x1f5e25(0x1c6)]({'model':ae+_0x1f5e25(0x1ab),'view':_0x199cdd=>({'classes':_0x1f5e25(0x1e0),'attributes':{'data-marker-id':_0x199cdd[_0x1f5e25(0x1eb)]}})}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1d7))[_0x1f5e25(0x1c6)]({'model':ae+_0x1f5e25(0x20e),'view':_0x3ce888=>({'classes':_0x1f5e25(0x21a),'attributes':{'data-marker-id':_0x3ce888[_0x1f5e25(0x1eb)]}})}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x211))[_0x1f5e25(0x1d9)]({'model':ae+_0x1f5e25(0x1b6),'view':(_0x28f447,{writer:_0x33e81d})=>_0x33e81d[_0x1f5e25(0x1ca)](_0x1f5e25(0x21c),{'class':_0x1f5e25(0x214)+(_0x28f447[_0x1f5e25(0x212)]?_0x1f5e25(0x1ed):_0x1f5e25(0x1bf))})}),_0x363524[_0x1f5e25(0x20f)][_0x1f5e25(0x1f2)](_0x1f5e25(0x1e4))[_0x1f5e25(0x213)]({'model':_0x3fdd75,'view':_0x5916c2}),this[_0x1f5e25(0x193)][_0x1f5e25(0x1cc)](document,_0x1f5e25(0x1a9),(_0x196fc2,_0x187d03)=>{const _0x405b34=_0x1f5e25,_0x4badf2=_0x187d03[_0x405b34(0x221)],_0x46b04e=this[_0x405b34(0x225)](_0x4badf2);if(!_0x46b04e)return;const _0x319877=_0x46b04e[_0x405b34(0x16f)](_0x405b34(0x1c8)),_0x1887e8=_0x319877[_0x405b34(0x16c)](':')[_0x405b34(0x1d1)]()?.[_0x405b34(0x16c)]('_')[0x0];this[_0x405b34(0x1b7)][_0x405b34(0x227)](_0x405b34(0x18f),{'markerId':_0x319877,'changeId':_0x1887e8});});}[_0x4c0b13(0x20b)](){const _0x234afe=_0x4c0b13,_0x132f95=this[_0x234afe(0x1b8)][_0x234afe(0x185)][_0x234afe(0x204)](_0x234afe(0x16b)),_0x46d496=_0x21d297(this[_0x234afe(0x1b8)]),_0x80cfea=_0x46d496[_0x234afe(0x180)],_0x17668a=new _0x362020();for(const _0x1e886a of _0x80cfea[_0x234afe(0x20a)][_0x234afe(0x179)]()[_0x234afe(0x1b5)]()){const _0x347435=_0x1e886a[_0x234afe(0x223)](!0x0);_0x17668a[_0x234afe(0x21b)](_0x347435);}for(const _0x4512e6 of _0x80cfea[_0x234afe(0x1d8)])_0x17668a[_0x234afe(0x1d8)][_0x234afe(0x203)](_0x4512e6[_0x234afe(0x1c1)],this[_0x234afe(0x1a7)](_0x4512e6[_0x234afe(0x178)]()[_0x234afe(0x1d6)](),_0x17668a));const _0x2c5abe=new _0x23d2cd({'ignoreElementEnd':!0x0,'startPosition':_0x80cfea[_0x234afe(0x1d4)](_0x17668a,0x0)}),_0x43c4a1=new Set(),_0x2dc1b0=new Map();for(const {item:_0x175d54}of _0x2c5abe){if(!_0x175d54['is'](_0x234afe(0x1f3)))continue;const _0x1929ab=_0x175d54[_0x234afe(0x187)];if((!_0x1929ab||!_0x1929ab['is'](_0x234afe(0x165),_0x234afe(0x1be)))&&(_0x1929ab&&_0x1929ab['is'](_0x234afe(0x165)))){let _0xf758d=_0x1929ab[_0x234afe(0x16f)](_0x3fdd75);_0xf758d||(_0xf758d=_0x132f95[_0x234afe(0x219)](_0x43c4a1),_0x1929ab[_0x234afe(0x17f)](_0x3fdd75,_0xf758d)),_0x43c4a1[_0x234afe(0x1da)](_0xf758d);const _0x49b81d=this[_0x234afe(0x158)](_0x1929ab);_0x2dc1b0[_0x234afe(0x203)](_0xf758d,{'path':_0x1929ab[_0x234afe(0x15b)](),'getContent':this[_0x234afe(0x19d)](_0x49b81d[_0x234afe(0x223)](!0x0),_0xf758d,_0x46d496[_0x234afe(0x1b9)])}),_0x2c5abe[_0x234afe(0x188)](_0x80cfea[_0x234afe(0x1cd)](_0x1929ab));}}return{'content':_0x46d496[_0x234afe(0x1b9)][_0x234afe(0x1b1)][_0x234afe(0x173)](_0x46d496[_0x234afe(0x1b9)][_0x234afe(0x197)](_0x17668a)),'version':_0x46d496[_0x234afe(0x180)][_0x234afe(0x20a)][_0x234afe(0x1e3)],'elements':_0x2dc1b0};}[_0x4c0b13(0x1c0)](_0x6a4661,_0x32f911){const _0xfdf5f4=_0x4c0b13,_0x1e8012=_0x21d297(this[_0xfdf5f4(0x1b8)]),_0x33f5b6=_0x1e8012[_0xfdf5f4(0x1b9)][_0xfdf5f4(0x1fc)](_0x6a4661,_0xfdf5f4(0x17b)),_0x492401=_0x1e8012[_0xfdf5f4(0x180)][_0xfdf5f4(0x1d4)](_0x33f5b6,0x0),_0x2e6341=this[_0xfdf5f4(0x1b8)][_0xfdf5f4(0x185)][_0xfdf5f4(0x204)](_0xfdf5f4(0x220))[_0xfdf5f4(0x1c9)](_0x6a4661,_0x32f911,{'anchor':_0x492401,'markDeletions':!0x0})[_0xfdf5f4(0x215)]()[_0xfdf5f4(0x229)](_0x15c23b=>_0xfdf5f4(0x186)===_0x15c23b[_0xfdf5f4(0x1ad)]||_0xfdf5f4(0x18d)===_0x15c23b[_0xfdf5f4(0x1ad)]&&_0x15c23b[_0xfdf5f4(0x1c1)][_0xfdf5f4(0x168)](_0xfdf5f4(0x157))),_0x382c52=this[_0xfdf5f4(0x207)](_0x2e6341),_0x354637=[];let _0x31e5b0=0x0;return _0x1e8012[_0xfdf5f4(0x180)][_0xfdf5f4(0x20d)](_0x71e4fa=>{const _0x1a0a43=_0xfdf5f4;for(let _0x3c5dad=0x0;_0x3c5dad<_0x382c52[_0x1a0a43(0x160)];_0x3c5dad++){const _0x4d18f0=_0x382c52[_0x3c5dad],_0x20fec2=_0x71e4fa[_0x1a0a43(0x17c)]();for(const _0x29e516 of _0x33f5b6[_0x1a0a43(0x1b5)]())_0x71e4fa[_0x1a0a43(0x217)](_0x29e516[_0x1a0a43(0x223)](!0x0),_0x20fec2);for(const _0x399723 of _0x4d18f0[_0x1a0a43(0x1e8)])if(_0x1a0a43(0x186)===_0x399723[_0x1a0a43(0x1ad)]){const _0x47d180=_0x399723;_0x47d180[_0x1a0a43(0x18b)]=null,_0x47d180[_0x1a0a43(0x1ec)]=!0x1,this[_0x1a0a43(0x198)](_0x47d180,_0x20fec2),_0x71e4fa[_0x1a0a43(0x16e)][_0x1a0a43(0x209)](_0x399723),_0x1e8012[_0x1a0a43(0x180)][_0x1a0a43(0x154)](_0x399723);const _0x548019=_0x1a0a43(0x226)+_0x31e5b0++,_0x2192fa=_0x1e8012[_0x1a0a43(0x180)][_0x1a0a43(0x19e)](_0x47d180[_0x1a0a43(0x175)],_0x47d180[_0x1a0a43(0x175)][_0x1a0a43(0x1bb)](_0x47d180[_0x1a0a43(0x1f7)]));_0x20fec2[_0x1a0a43(0x1d8)][_0x1a0a43(0x203)](_0x548019,_0x2192fa);}else{if(_0x1a0a43(0x18d)===_0x399723[_0x1a0a43(0x1ad)]&&_0x399723[_0x1a0a43(0x1c1)][_0x1a0a43(0x168)](_0x1a0a43(0x157))){const _0x4b3c79=_0x399723,_0x4938e3=_0x1a0a43(0x182)+_0x31e5b0++;this[_0x1a0a43(0x198)](_0x4b3c79,_0x20fec2),_0x20fec2[_0x1a0a43(0x1d8)][_0x1a0a43(0x203)](_0x4938e3,_0x4b3c79[_0x1a0a43(0x18c)]);}}const _0x1dd7ed=this[_0x1a0a43(0x206)](this[_0x1a0a43(0x1d5)](this[_0x1a0a43(0x164)](_0x4d18f0[_0x1a0a43(0x1e8)][0x0]),_0x20fec2),this[_0x1a0a43(0x1d5)](this[_0x1a0a43(0x1dc)](_0x4d18f0[_0x1a0a43(0x1e8)][_0x4d18f0[_0x1a0a43(0x1e8)][_0x1a0a43(0x160)]-0x1]),_0x20fec2));_0x20fec2[_0x1a0a43(0x1d8)][_0x1a0a43(0x203)](ae+_0x1a0a43(0x1b6),new _0xbb2005(_0x1dd7ed[_0x1a0a43(0x1ed)],_0x1dd7ed[_0x1a0a43(0x1bf)])),_0x354637[_0x1a0a43(0x184)]({..._0x4d18f0,'context':this[_0x1a0a43(0x17d)](_0x20fec2,_0x1e8012[_0x1a0a43(0x1b9)],{'ellipsisBefore':_0x1dd7ed[_0x1a0a43(0x21d)],'ellipsisAfter':_0x1dd7ed[_0x1a0a43(0x1d3)]}),'content':this[_0x1a0a43(0x1fb)](_0x20fec2,_0x1e8012[_0x1a0a43(0x1b9)])});}}),_0x354637;}[_0x4c0b13(0x15f)](_0xad84e4,_0x173249){const _0x467c8f=_0x4c0b13,_0x2200b8=_0xad84e4[0x0][_0x467c8f(0x187)]['id'],_0x3d52d2=_0x173249[_0x467c8f(0x1d2)][_0x467c8f(0x204)](_0x2200b8);if(!_0x3d52d2)return void console[_0x467c8f(0x202)](_0x467c8f(0x224)+_0x2200b8);const _0x4d6068=_0x3d52d2[_0x467c8f(0x199)],_0x71c121=_0x21d297(this[_0x467c8f(0x1b8)]),_0x499ac7=_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x20a)][_0x467c8f(0x21e)][_0x467c8f(0x215)](_0x173249[_0x467c8f(0x1e3)]),_0x4089d9=[];for(const _0xfe39e7 of _0xad84e4){const _0x58412b=_0xfe39e7[_0x467c8f(0x1e8)][_0x467c8f(0x1bc)](_0xdb19f1=>this[_0x467c8f(0x17a)](_0xdb19f1,_0x4d6068,_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x20a)][_0x467c8f(0x1df)]()[0x0]));if(!_0x58412b||!_0x58412b[_0x467c8f(0x160)])continue;const _0xa0712c=_0x58412b[_0x467c8f(0x1f4)](_0x3c8e55=>_0x467c8f(0x18d)===_0x3c8e55[_0x467c8f(0x1ad)]&&_0x3c8e55[_0x467c8f(0x1c1)][_0x467c8f(0x168)](_0x467c8f(0x157))),_0x3e1dc8={'document':_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x20a)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x167d26=_0xe83c1d(_0x58412b,_0x499ac7,_0x3e1dc8)[_0x467c8f(0x163)];for(const _0x5b071f of _0x167d26)if(_0x467c8f(0x186)===_0x5b071f[_0x467c8f(0x1ad)]){const _0x2025b5=_0x5b071f,_0x56bb81=_0x2025b5[_0x467c8f(0x1b3)];let _0x58cfd5='';for(const _0x55a4cd of _0x56bb81)_0x55a4cd&&_0x55a4cd['is'](_0x467c8f(0x1ce))&&(_0x58cfd5+=_0x55a4cd[_0x467c8f(0x1b9)]);_0x4089d9[_0x467c8f(0x184)]({'start':_0x2025b5[_0x467c8f(0x175)],'end':_0x2025b5[_0x467c8f(0x175)],'type':_0x467c8f(0x186),'groupId':_0xfe39e7['id'],'text':_0x58cfd5});}else{if(_0x467c8f(0x18d)===_0x5b071f[_0x467c8f(0x1ad)]&&_0x5b071f[_0x467c8f(0x1c1)][_0x467c8f(0x168)](_0x467c8f(0x157))){const _0x56b175=_0x5b071f;let _0x42ab17=_0x467c8f(0x20e);if(_0xa0712c){const _0x5eb1c7=this[_0x467c8f(0x1e1)](_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1ed)],_0x467c8f(0x190),_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x228)]),_0x4b856d=this[_0x467c8f(0x1e1)](_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1bf)],_0x467c8f(0x1e9),_0x71c121[_0x467c8f(0x180)][_0x467c8f(0x228)]);if(_0x5eb1c7||_0x4b856d){const _0x4ccd4b=_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1ed)][_0x467c8f(0x1bb)](-_0x5eb1c7),_0xa8d424=_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1bf)][_0x467c8f(0x1bb)](_0x4b856d);_0x4089d9[_0x467c8f(0x184)]({'start':_0x4ccd4b,'end':_0xa8d424,'groupId':_0xfe39e7['id'],'type':_0x467c8f(0x1ab)});}else _0x42ab17=_0x467c8f(0x1dd);}_0x4089d9[_0x467c8f(0x184)]({'start':_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1ed)],'end':_0x56b175[_0x467c8f(0x18c)][_0x467c8f(0x1bf)],'groupId':_0xfe39e7['id'],'type':_0x42ab17});}}}this[_0x467c8f(0x1ea)](_0x4089d9);}[_0x4c0b13(0x1e7)](){const _0x2e828b=_0x4c0b13;_0x21d297(this[_0x2e828b(0x1b8)])[_0x2e828b(0x180)][_0x2e828b(0x20d)](_0x497764=>{const _0x5cb233=_0x2e828b;for(const _0x9d8392 of this[_0x5cb233(0x1de)][_0x5cb233(0x16d)]())_0x497764[_0x5cb233(0x1f8)](_0x9d8392);}),this[_0x2e828b(0x1de)][_0x2e828b(0x18a)]();}[_0x4c0b13(0x171)](){const _0x4fa2b5=_0x4c0b13;_0x21d297(this[_0x4fa2b5(0x1b8)])[_0x4fa2b5(0x195)](_0x4fa2b5(0x18e));}[_0x4c0b13(0x1ff)](){const _0x587c0=_0x4c0b13;_0x21d297(this[_0x587c0(0x1b8)])[_0x587c0(0x1a6)](_0x587c0(0x18e));}[_0x4c0b13(0x1b2)](_0x5d1841){const _0x274bf3=_0x4c0b13,_0x581c47=_0x21d297(this[_0x274bf3(0x1b8)]),_0x5ee8ce=_0x581c47[_0x274bf3(0x180)],_0x3a85db=_0x5d1841[_0x274bf3(0x1bc)](_0x217d7b=>this[_0x274bf3(0x1ba)](_0x217d7b))[_0x274bf3(0x21f)]();_0x5ee8ce[_0x274bf3(0x20d)](_0x3d3091=>{const _0x48320d=_0x274bf3;for(const _0x72c955 of _0x3a85db){const _0x58c959=_0x581c47[_0x48320d(0x180)][_0x48320d(0x1d8)][_0x48320d(0x204)](_0x72c955['id']);_0x58c959&&(_0x48320d(0x186)===_0x72c955[_0x48320d(0x1ad)]?_0x5ee8ce[_0x48320d(0x1f1)](_0x3d3091[_0x48320d(0x15a)](_0x72c955[_0x48320d(0x15c)]||''),_0x58c959[_0x48320d(0x178)]()[_0x48320d(0x1ed)]):_0x48320d(0x20e)!==_0x72c955[_0x48320d(0x1ad)]&&_0x48320d(0x1dd)!==_0x72c955[_0x48320d(0x1ad)]||_0x5ee8ce[_0x48320d(0x15e)](_0x5ee8ce[_0x48320d(0x1c7)](_0x58c959[_0x48320d(0x178)]())),_0x3d3091[_0x48320d(0x1f8)](_0x72c955['id']),this[_0x48320d(0x1de)][_0x48320d(0x1fa)](_0x72c955['id']));}});}[_0x4c0b13(0x22a)](_0x3cd9fd){const _0x2cf4d4=_0x4c0b13,_0x44e89b=_0x21d297(this[_0x2cf4d4(0x1b8)]),_0x46af55=this[_0x2cf4d4(0x1ba)](_0x3cd9fd);_0x44e89b[_0x2cf4d4(0x180)][_0x2cf4d4(0x20d)](_0x246b50=>{const _0x5bd862=_0x2cf4d4;for(const _0x4cee8e of _0x46af55)_0x246b50[_0x5bd862(0x1f8)](_0x4cee8e['id']),this[_0x5bd862(0x1de)][_0x5bd862(0x1fa)](_0x4cee8e['id']);});}[_0x4c0b13(0x16a)](){const _0x2970af=_0x4c0b13,_0x203455=_0x21d297(this[_0x2970af(0x1b8)]);return _0x203455&&_0x203455['ui']&&_0x203455['ui'][_0x2970af(0x165)]?_0x203455['ui'][_0x2970af(0x165)]:null;}[_0x4c0b13(0x161)](_0x4ded5c){const _0x15344d=_0x4c0b13,_0x5c5c21=Array[_0x15344d(0x17e)](this[_0x15344d(0x1de)][_0x15344d(0x191)]())[_0x15344d(0x229)](_0x7fe0f0=>_0x7fe0f0[_0x15344d(0x174)]===_0x4ded5c);if(!_0x5c5c21[_0x15344d(0x160)])return null;const _0x60693f=0x1===_0x5c5c21[_0x15344d(0x160)]?_0x5c5c21[0x0]:this[_0x15344d(0x1a8)](_0x5c5c21)[0x0],_0x2cf624=_0x21d297(this[_0x15344d(0x1b8)]),_0x32c155=_0x2cf624[_0x15344d(0x180)][_0x15344d(0x1d8)][_0x15344d(0x204)](_0x60693f['id']);if(!_0x32c155)return null;const _0x2358f3=_0x32c155[_0x15344d(0x178)](),_0x4c4b33=_0x2cf624[_0x15344d(0x1f9)][_0x15344d(0x222)][_0x15344d(0x1b0)]();if(!_0x4c4b33||!_0x2358f3)return null;const _0x1f319a=_0x4c4b33[_0x15344d(0x1a5)](_0x15344d(0x1c2)+_0x60693f['id']+'\x22]');return _0x1f319a?{'modelRange':_0x2358f3,'domElement':_0x1f319a}:null;}[_0x4c0b13(0x17a)](_0x14ffbb,_0x56c1cc,_0x49d69e){const _0xa45c82=_0x4c0b13;if(_0xa45c82(0x186)===_0x14ffbb[_0xa45c82(0x1ad)]){const _0x556c52=_0x14ffbb;return new _0x1b4722(this[_0xa45c82(0x1ae)](_0x556c52[_0xa45c82(0x175)],_0x56c1cc[_0xa45c82(0x1c4)](_0x556c52[_0xa45c82(0x175)][_0xa45c82(0x1db)]),_0x49d69e),_0x556c52[_0xa45c82(0x1b3)],_0x556c52[_0xa45c82(0x18b)]);}if(_0xa45c82(0x18d)===_0x14ffbb[_0xa45c82(0x1ad)]&&_0x14ffbb[_0xa45c82(0x1c1)][_0xa45c82(0x168)](_0xa45c82(0x157))){const _0x443697=_0x14ffbb;return new _0x79ff16(_0x443697[_0xa45c82(0x1c1)],_0x443697[_0xa45c82(0x22b)],this[_0xa45c82(0x20c)](_0x443697[_0xa45c82(0x18c)],_0x56c1cc[_0xa45c82(0x1c4)](_0x443697[_0xa45c82(0x18c)][_0xa45c82(0x1ed)][_0xa45c82(0x1db)]),_0x56c1cc[_0xa45c82(0x1c4)](_0x443697[_0xa45c82(0x18c)][_0xa45c82(0x1bf)][_0xa45c82(0x1db)]),_0x49d69e),_0x443697[_0xa45c82(0x1de)],_0x443697[_0xa45c82(0x181)],_0x443697[_0xa45c82(0x18b)]);}return _0x14ffbb;}[_0x4c0b13(0x207)](_0x491aa3){const _0x5df860=_0x4c0b13;if(!_0x491aa3[_0x5df860(0x160)])return[];const _0x364f7a=[];let _0x1890fc=0x0,_0x5cac84=0x0,_0x11d58e=[];for(let _0x16e29c=0x0;_0x16e29c<=_0x491aa3[_0x5df860(0x160)];_0x16e29c++){const _0x4cb84c=_0x491aa3[_0x16e29c],_0x8c801b=_0x491aa3[_0x16e29c-0x1];!_0x4cb84c||_0x8c801b&&!this[_0x5df860(0x1dc)](_0x8c801b)[_0x5df860(0x19f)](this[_0x5df860(0x164)](_0x4cb84c))?(_0x364f7a[_0x5df860(0x184)]({'operations':_0x11d58e,'operationsIsolated':_0x11d58e[_0x5df860(0x1bc)](_0x2f5b9b=>this[_0x5df860(0x156)](_0x2f5b9b[_0x5df860(0x1d6)](),-_0x5cac84)),'groupOffset':_0x1890fc}),_0x11d58e=_0x4cb84c?[_0x4cb84c]:[],_0x5cac84+=_0x1890fc,_0x1890fc=0x0):_0x11d58e[_0x5df860(0x184)](_0x4cb84c),_0x4cb84c&&_0x5df860(0x186)===_0x4cb84c[_0x5df860(0x1ad)]&&(_0x1890fc+=_0x4cb84c[_0x5df860(0x1f7)]);}return _0x364f7a;}[_0x4c0b13(0x1e1)](_0x13fe10,_0x2accee,_0x2571a6,_0x53fb8a=0x1){const _0x38cda7=_0x4c0b13,_0x4ce415=new _0x23d2cd({'startPosition':_0x13fe10,'direction':_0x2accee});let _0x3cc8a8=0x0;for(let _0x287a61=0x0;_0x287a61<_0x53fb8a;_0x287a61++){let _0x5f0deb=0x0,_0x141871=!0x1,_0x507ab1=_0x38cda7(0x1e9)===_0x2accee?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x3d4a4a}of _0x4ce415)if(_0x3d4a4a['is'](_0x38cda7(0x1f3))){const _0x4beabe=_0x507ab1[_0x38cda7(0x216)](_0x3d4a4a[_0x38cda7(0x1b9)]);if(_0x4beabe&&_0x4beabe[_0x38cda7(0x160)]){if(_0x5f0deb+=_0x38cda7(0x1e9)===_0x2accee?_0x4beabe[_0x38cda7(0x1a1)]+_0x4beabe[0x0][_0x38cda7(0x160)]:_0x3d4a4a[_0x38cda7(0x1b9)][_0x38cda7(0x160)]-_0x4beabe[_0x38cda7(0x1a1)],_0x4beabe[0x0][_0x38cda7(0x160)]!==_0x3d4a4a[_0x38cda7(0x1b9)][_0x38cda7(0x160)])break;_0x141871=!0x0,_0x507ab1=_0x38cda7(0x1e9)===_0x2accee?/^\w+/:/\w+$/;}else{if(_0x141871)break;_0x5f0deb+=_0x3d4a4a[_0x38cda7(0x1a2)];}}else{if(_0x3d4a4a['is'](_0x38cda7(0x165))){_0x2571a6[_0x38cda7(0x200)](_0x3d4a4a)&&!_0x141871&&(_0x5f0deb+=0x1);break;}}_0x3cc8a8+=_0x5f0deb,_0x4ce415[_0x38cda7(0x188)](_0x13fe10[_0x38cda7(0x1bb)](_0x38cda7(0x1e9)===_0x2accee?_0x3cc8a8:-_0x3cc8a8));}return _0x3cc8a8;}[_0x4c0b13(0x206)](_0x266af1,_0x589879){const _0x176b7e=_0x4c0b13,_0x500672=_0x21d297(this[_0x176b7e(0x1b8)])[_0x176b7e(0x180)][_0x176b7e(0x228)],_0x4c8ba6=this[_0x176b7e(0x1e1)](_0x266af1,_0x176b7e(0x190),_0x500672,0x6),_0x25da13=this[_0x176b7e(0x1e1)](_0x589879,_0x176b7e(0x1e9),_0x500672,0x6),_0x4fd735=_0x266af1[_0x176b7e(0x1bb)](-_0x4c8ba6),_0x53d19d=_0x589879[_0x176b7e(0x1bb)](_0x25da13);return{'start':_0x4fd735,'end':_0x53d19d,'hasContentBefore':!_0x4fd735[_0x176b7e(0x1a0)],'hasContentAfter':!_0x53d19d[_0x176b7e(0x19c)]};}[_0x4c0b13(0x1ea)](_0x3cc733){const _0x36c57c=_0x4c0b13,_0x372dd9=this[_0x36c57c(0x1b8)][_0x36c57c(0x185)][_0x36c57c(0x204)](_0x36c57c(0x16b)),_0x339306=new Set();_0x21d297(this[_0x36c57c(0x1b8)])[_0x36c57c(0x180)][_0x36c57c(0x20d)](_0x26ac77=>{const _0x42545a=_0x36c57c;for(const _0x5338da of _0x3cc733){const _0x25464f=''+ae+_0x5338da[_0x42545a(0x1ad)]+':'+_0x5338da[_0x42545a(0x174)]+'_'+_0x372dd9[_0x42545a(0x219)](_0x339306);this[_0x42545a(0x1de)][_0x42545a(0x203)](_0x25464f,{'id':_0x25464f,'groupId':_0x5338da[_0x42545a(0x174)],'type':_0x5338da[_0x42545a(0x1ad)],'text':_0x5338da[_0x42545a(0x15c)]}),_0x26ac77[_0x42545a(0x19b)](_0x25464f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x26ac77[_0x42545a(0x19e)](_0x5338da[_0x42545a(0x1ed)],_0x5338da[_0x42545a(0x1bf)])});}});}[_0x4c0b13(0x17d)](_0x3d9732,_0x35a5cd,_0x9ddd54){let _0x580175='';return()=>{const _0x341a37=_0x3272;if(!_0x580175){const _0x16c2e0=_0x35a5cd[_0x341a37(0x197)](_0x3d9732,{'showSuggestionHighlights':!0x0}),_0x43b5f1=_0x16c2e0[_0x341a37(0x201)](0x0);if(!_0x43b5f1)return'';let _0x159489=!0x1;const _0x82d6d7=[];for(const _0x21cff0 of _0x43b5f1[_0x341a37(0x1b5)]())_0x21cff0['is'](_0x341a37(0x165),_0x341a37(0x21c))&&_0x21cff0[_0x341a37(0x19a)](_0x341a37(0x155))&&(_0x159489=!0x1),_0x159489&&_0x82d6d7[_0x341a37(0x184)](_0x21cff0),_0x21cff0['is'](_0x341a37(0x165),_0x341a37(0x21c))&&_0x21cff0[_0x341a37(0x19a)](_0x341a37(0x162))&&(_0x159489=!0x0);_0x43b5f1[_0x341a37(0x1a4)](0x0,_0x43b5f1[_0x341a37(0x1e6)]),_0x9ddd54?.[_0x341a37(0x1e5)]&&_0x43b5f1[_0x341a37(0x21b)]('…'),_0x43b5f1[_0x341a37(0x21b)](_0x82d6d7),_0x9ddd54?.[_0x341a37(0x1af)]&&_0x43b5f1[_0x341a37(0x21b)]('…');const _0x327451=_0x35a5cd[_0x341a37(0x1aa)][_0x341a37(0x1fd)][_0x341a37(0x1cb)](_0x16c2e0),_0x3d7759=_0x35a5cd[_0x341a37(0x1aa)][_0x341a37(0x1ee)][_0x341a37(0x1bd)](_0x327451);_0x580175=_0x3d7759;}return _0x580175;};}[_0x4c0b13(0x1fb)](_0x1e9b6d,_0x332ce5){const _0x167336=_0x4c0b13;let _0x3ff0ba='';return()=>(_0x3ff0ba||(_0x3ff0ba=_0x332ce5[_0x167336(0x1c3)](_0x1e9b6d,{'showSuggestionHighlights':!0x0})),_0x3ff0ba);}[_0x4c0b13(0x19d)](_0x8421d0,_0x3f3b61,_0xf3bab7){let _0x451718='';return()=>{const _0x22a7ff=_0x3272;if(!_0x451718){const _0x34bb0c=_0xf3bab7[_0x22a7ff(0x197)](new _0x362020(_0x8421d0)),_0x5a5db3=_0xf3bab7[_0x22a7ff(0x1aa)][_0x22a7ff(0x1fd)][_0x22a7ff(0x1cb)](_0x34bb0c)[_0x22a7ff(0x1a5)](_0x22a7ff(0x1d0)+_0x3f3b61+'\x22]');_0x451718=_0x5a5db3?.[_0x22a7ff(0x1f5)]||'';}return _0x451718;};}[_0x4c0b13(0x225)](_0x3f443f,_0x1adbdb=0x5){const _0xf50da=_0x4c0b13;let _0x4dae05=_0x3f443f,_0x57a4d0=null;for(let _0x1ac95c=0x0;_0x1ac95c<_0x1adbdb&&_0x4dae05;_0x1ac95c++){if(!_0x4dae05[_0xf50da(0x15d)]){_0x4dae05=_0x4dae05[_0xf50da(0x194)];continue;}if(!(''+_0x4dae05[_0xf50da(0x15d)])[_0xf50da(0x167)](_0xf50da(0x166))){_0x4dae05=_0x4dae05[_0xf50da(0x194)];continue;}if(!_0x4dae05[_0xf50da(0x16f)](_0xf50da(0x1c8)))break;_0x57a4d0=_0x4dae05;break;}return _0x57a4d0;}[_0x4c0b13(0x1ba)](_0x3ec618){const _0x25c8b0=_0x4c0b13;return Array[_0x25c8b0(0x17e)](this[_0x25c8b0(0x1de)][_0x25c8b0(0x191)]())[_0x25c8b0(0x229)](_0x349ac2=>_0x349ac2[_0x25c8b0(0x174)]===_0x3ec618);}[_0x4c0b13(0x164)](_0x3b2eb1){const _0x2170d2=_0x4c0b13;return _0x2170d2(0x186)===_0x3b2eb1[_0x2170d2(0x1ad)]?_0x3b2eb1[_0x2170d2(0x175)]:_0x3b2eb1[_0x2170d2(0x18c)][_0x2170d2(0x1ed)];}[_0x4c0b13(0x1dc)](_0x2cd3c6,_0x2871d0=!0x1){const _0x7a8e6b=_0x4c0b13;return _0x7a8e6b(0x186)===_0x2cd3c6[_0x7a8e6b(0x1ad)]?_0x2871d0?_0x2cd3c6[_0x7a8e6b(0x175)]:_0x2cd3c6[_0x7a8e6b(0x175)][_0x7a8e6b(0x1bb)](_0x2cd3c6[_0x7a8e6b(0x1f7)]):_0x2cd3c6[_0x7a8e6b(0x18c)][_0x7a8e6b(0x1bf)];}[_0x4c0b13(0x156)](_0x32b5c5,_0x3ad0dc){const _0x5e2b25=_0x4c0b13;return _0x5e2b25(0x186)===_0x32b5c5[_0x5e2b25(0x1ad)]?_0x32b5c5[_0x5e2b25(0x175)]=_0x32b5c5[_0x5e2b25(0x175)][_0x5e2b25(0x1bb)](_0x3ad0dc):_0x5e2b25(0x18d)===_0x32b5c5[_0x5e2b25(0x1ad)]&&_0x32b5c5[_0x5e2b25(0x18c)]&&(_0x32b5c5[_0x5e2b25(0x18c)]=new _0xbb2005(_0x32b5c5[_0x5e2b25(0x18c)][_0x5e2b25(0x1ed)][_0x5e2b25(0x1bb)](_0x3ad0dc),_0x32b5c5[_0x5e2b25(0x18c)][_0x5e2b25(0x1bf)][_0x5e2b25(0x1bb)](_0x3ad0dc))),_0x32b5c5;}[_0x4c0b13(0x198)](_0x3c0047,_0x5bd1db){const _0x256298=_0x4c0b13;_0x256298(0x186)===_0x3c0047[_0x256298(0x1ad)]?_0x3c0047[_0x256298(0x175)]=this[_0x256298(0x1d5)](_0x3c0047[_0x256298(0x175)],_0x5bd1db):_0x256298(0x18d)===_0x3c0047[_0x256298(0x1ad)]&&_0x3c0047[_0x256298(0x18c)]&&(_0x3c0047[_0x256298(0x18c)]=this[_0x256298(0x1a7)](_0x3c0047[_0x256298(0x18c)],_0x5bd1db));}[_0x4c0b13(0x1d5)](_0x585b54,_0x2aab11){const _0x2b5c69=_0x4c0b13;return new _0x2198df(_0x2aab11,_0x585b54[_0x2b5c69(0x199)]);}[_0x4c0b13(0x1a7)](_0x4ff42b,_0x3920b6){const _0x42dcca=_0x4c0b13;return new _0xbb2005(this[_0x42dcca(0x1d5)](_0x4ff42b[_0x42dcca(0x1ed)],_0x3920b6),this[_0x42dcca(0x1d5)](_0x4ff42b[_0x42dcca(0x1bf)],_0x3920b6));}[_0x4c0b13(0x1ae)](_0x50ff32,_0x22b43c,_0x24f43c){return new _0x2198df(_0x24f43c,[..._0x22b43c]);}[_0x4c0b13(0x20c)](_0x30ddaf,_0x21ad74,_0x3de2f7,_0x1763a1){const _0x5388bf=_0x4c0b13;return new _0xbb2005(this[_0x5388bf(0x1ae)](_0x30ddaf[_0x5388bf(0x1ed)],_0x21ad74,_0x1763a1),this[_0x5388bf(0x1ae)](_0x30ddaf[_0x5388bf(0x1bf)],_0x3de2f7,_0x1763a1));}[_0x4c0b13(0x158)](_0x2aeec6){const _0x206e11=_0x4c0b13;let _0x4a9344=_0x2aeec6;for(;_0x4a9344[_0x206e11(0x187)]&&!_0x4a9344[_0x206e11(0x187)]['is'](_0x206e11(0x172));)_0x4a9344=_0x4a9344[_0x206e11(0x187)];return _0x4a9344;}[_0x4c0b13(0x1a8)](_0xffb438){const _0x27a54f=_0x4c0b13,_0x4e521b=_0x5788a6=>{const _0x12607=_0x3272;switch(_0x5788a6){case _0x12607(0x186):return 0x1;case _0x12607(0x1ab):return 0x2;case _0x12607(0x1dd):return 0x3;case _0x12607(0x20e):return 0x4;}};return _0xffb438[_0x27a54f(0x210)]((_0x349ed5,_0x525d73)=>_0x4e521b(_0x349ed5[_0x27a54f(0x1ad)])-_0x4e521b(_0x525d73[_0x27a54f(0x1ad)]));}}
|
|
23
|
+
const _0x3eef3d=_0x44ce;(function(_0x52bded,_0x25c250){const _0x5dc882=_0x44ce,_0x5f0952=_0x52bded();while(!![]){try{const _0x24d30d=parseInt(_0x5dc882(0x16a))/0x1*(parseInt(_0x5dc882(0x10a))/0x2)+parseInt(_0x5dc882(0x120))/0x3+parseInt(_0x5dc882(0x12a))/0x4*(parseInt(_0x5dc882(0xd8))/0x5)+parseInt(_0x5dc882(0xc8))/0x6*(parseInt(_0x5dc882(0x101))/0x7)+-parseInt(_0x5dc882(0x13f))/0x8*(parseInt(_0x5dc882(0x133))/0x9)+parseInt(_0x5dc882(0xcf))/0xa+parseInt(_0x5dc882(0xf0))/0xb*(-parseInt(_0x5dc882(0xbb))/0xc);if(_0x24d30d===_0x25c250)break;else _0x5f0952['push'](_0x5f0952['shift']());}catch(_0x50e480){_0x5f0952['push'](_0x5f0952['shift']());}}}(_0x315e,0xdea0d));import{InsertOperation as _0x20fc85,MarkerOperation as _0x4e4c04,ModelDocumentFragment as _0x4c829e,ModelPosition as _0x41eb99,ModelRange as _0x3e4a8a,ModelTreeWalker as _0x42c188,transformOperationSets as _0x5bff13}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x3626ab,EmitterMixin as _0x54aa85}from'ckeditor5/src/utils.js';function _0x315e(){const _0x30c7ed=['getRange','ck-ai_review-mode-marker_context-','_changeRangeOwnerDocument','getChildren','parentElement','isOfficialPlugin','enableReadOnlyMode','clearAllMarkers','No\x20element\x20found\x20for\x20ID:\x20','afterInit','[data-marker-id=\x22','innerHTML','switchToEdit','_domEmitter','_getChangeContext','11GzmcLm','caption','_getOperationStart','operationsIsolated','index','set','ellipsisBefore','_createGetContentFn','sort','name','insertContent','suggestion:deletion:id:authorId:','startsWith','markerName','remove-text','change','position','2800OORjJp','backward','affectsData','processor','ellipsisAfter','clear','target','isAtEnd','changeMarkerClick','1572112hBwRnH','isDocumentOperation','from','groupId','outerHTML','history','createText','getDocumentData','marker','values','path','newRange','every','_createGetContentUsingDataIdFn','_changeOperationOwnerDocument','markerToHighlight','querySelector','AIEditing','getRoots','context','_sortMarkers','addOperation','1710201Jxpmvn','isTouching','_changePositionOwnerDocument','isAtStart','dataDowncast','applyChange','_translateOperationToEditorContent','offsetSize','hasClass','model:$text','782860NIWYpD','_shiftOperation','warn','get','concat','plugins','flat','fire','_changePosition','333KETUyY','ai-review-mode','isPremiumPlugin','hasAttribute','markerToElement','ck-ai_review-mode-marker_strikethrough','ck-ai_review-mode-marker_hide','getRoot','createRange','for','_eventEmitter','className','43376qxqteB','emitter','text','getDiff','append','filter','ck-ai_review-mode-marker_context-end','domConverter','operationsA','delete','diffContent','version','ck-ai_review-mode-marker_underline','insert','_findAdjacentContextDistance','click','getChild','getPath','elements','parse','push','batch','oldRange','keys','AIReviewModeEditing','editing','model','getOperations','_findMarkerElement','toDomElement','createPositionAfter','_nextDataId','$textProxy','span','requires','map','getDomRoot','createPositionAt','data','split','suggestion:insertion:id:authorId:','removeMarker','getEditor','1FOqsbw','toView','suggestion-context','parent','view','_markers','end','DocumentCompare','hasContentAfter','_changeRange','element','ck-ai_review-mode-marker_context-start','ck-ai_review-mode-marker_add','_appendChild','_getOperationEnd','conversion','remove-only','$documentFragment','switchToReadOnly','_createGetContextFn','reviewmode-','createSelection','disableReadOnlyMode','listenTo','nodes','createRawElement','_insertMarkers','offset','htmlWriter','isOpening','getAttribute','pluginName','length','jumpTo','baseVersion','stringify','start','getMarkerElementForChange','_removeAttribute','createUIElement','schema','_groupAdjacentOperations','includes','add','pop','39441996dgQkwQ','data-marker-id','viewToDom','createDocumentFragment','getHtml','type','rejectChange','htmlProcessor','clone','[data-id=\x22','deleteContent','childCount','toData','11940APnJCl','exec','howMany','applyOperation','isInline','addMarker','document','10729190UsqmdQ','getShiftedBy','forward','remove-context','_clone','ck-ai_review-mode-marker_','editingDowncast','attributeToAttribute','_setAttribute','30OebYBa','downcast','documentFragment','markChangePositionInEditorContent','markers','$markedRemove','hasContentBefore','_removeChildren','_getMarkersDataForGroup'];_0x315e=function(){return _0x30c7ed;};return _0x315e();}import{ContextPlugin as _0x4c8494}from'ckeditor5/src/core.js';import{DocumentCompare as _0x44c1e4,DATA_ID_MODEL_ATTRIBUTE as _0x26b437,DATA_ID_VIEW_ATTRIBUTE as _0x19830e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x44ce(_0x50783b,_0xd9a256){const _0x315ee7=_0x315e();return _0x44ce=function(_0x44cebf,_0x25c3a9){_0x44cebf=_0x44cebf-0xb3;let _0x5cdbad=_0x315ee7[_0x44cebf];return _0x5cdbad;},_0x44ce(_0x50783b,_0xd9a256);}import{getEditorFromContext as _0x4bdb29}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x515566}from'../aicore/aiediting.js';const oe=_0x3eef3d(0x17e);export class AIReviewModeEditing extends _0x4c8494{static get[_0x3eef3d(0x189)](){const _0x4a8934=_0x3eef3d;return _0x4a8934(0x157);}static get[_0x3eef3d(0x161)](){return[_0x44c1e4,_0x515566];}static get[_0x3eef3d(0xe6)](){return!0x0;}static get[_0x3eef3d(0x135)](){return!0x0;}[_0x3eef3d(0x16f)]=new Map();[_0x3eef3d(0xee)];[_0x3eef3d(0x13d)];constructor(_0x5f2af7){const _0x349e5d=_0x3eef3d;super(_0x5f2af7),this[_0x349e5d(0xee)]=new(_0x3626ab())(),this[_0x349e5d(0x13d)]=new(_0x54aa85())();}get[_0x3eef3d(0x140)](){const _0x3f88cd=_0x3eef3d;return this[_0x3f88cd(0x13d)];}[_0x3eef3d(0xea)](){const _0x5b08d5=_0x3eef3d,_0x127c70=_0x4bdb29(this[_0x5b08d5(0x11d)]);_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd5))[_0x5b08d5(0x137)]({'model':oe+_0x5b08d5(0x14c),'view':(_0x397d75,{writer:_0x201d42})=>{const _0x4ca412=_0x5b08d5,_0x20de57=this[_0x4ca412(0x16f)][_0x4ca412(0x12d)](_0x397d75[_0x4ca412(0xfd)]),_0x26b3f3={'class':_0x4ca412(0x176),'data-marker-id':_0x397d75[_0x4ca412(0xfd)]};return _0x201d42[_0x4ca412(0xb5)](_0x4ca412(0x160),_0x26b3f3,function(_0x33b98b){const _0x59bb0b=_0x4ca412,_0x5cbc0a=this[_0x59bb0b(0x15c)](_0x33b98b);return _0x5cbc0a[_0x59bb0b(0xec)]=_0x20de57?.[_0x59bb0b(0x141)]||'',_0x5cbc0a;});}}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd5))[_0x5b08d5(0x119)]({'model':oe+_0x5b08d5(0x17a),'view':_0x5c5b3a=>({'classes':_0x5b08d5(0x138),'attributes':{'data-marker-id':_0x5c5b3a[_0x5b08d5(0xfd)]}})}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd5))[_0x5b08d5(0x119)]({'model':oe+_0x5b08d5(0xd2),'view':_0x443b8f=>({'classes':_0x5b08d5(0x14b),'attributes':{'data-marker-id':_0x443b8f[_0x5b08d5(0xfd)]}})}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd5))[_0x5b08d5(0x119)]({'model':oe+_0x5b08d5(0xfe),'view':_0x304087=>({'classes':_0x5b08d5(0x139),'attributes':{'data-marker-id':_0x304087[_0x5b08d5(0xfd)]}})}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0x124))[_0x5b08d5(0x137)]({'model':oe+_0x5b08d5(0x16c),'view':(_0x1b01bc,{writer:_0x105c36})=>_0x105c36[_0x5b08d5(0x183)](_0x5b08d5(0x160),{'class':_0x5b08d5(0xe2)+(_0x1b01bc[_0x5b08d5(0x187)]?_0x5b08d5(0x18e):_0x5b08d5(0x170))})}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd9))[_0x5b08d5(0xd6)]({'model':_0x26b437,'view':_0x19830e}),this[_0x5b08d5(0xee)][_0x5b08d5(0x181)](document,_0x5b08d5(0x14e),(_0x438ccb,_0xc19684)=>{const _0x557c1b=_0x5b08d5,_0x177d55=_0xc19684[_0x557c1b(0x107)],_0x38f009=this[_0x557c1b(0x15b)](_0x177d55);if(!_0x38f009)return;const _0x10804f=_0x38f009[_0x557c1b(0x188)](_0x557c1b(0xbc)),_0x124813=_0x10804f[_0x557c1b(0x166)](':')[_0x557c1b(0xba)]()?.[_0x557c1b(0x166)]('_')[0x0];this[_0x557c1b(0x13d)][_0x557c1b(0x131)](_0x557c1b(0x109),{'markerId':_0x10804f,'changeId':_0x124813});});}[_0x3eef3d(0x111)](){const _0x20fe33=_0x3eef3d,_0x2cd1f7=this[_0x20fe33(0x11d)][_0x20fe33(0x12f)][_0x20fe33(0x12d)](_0x20fe33(0x11b)),_0xd9b726=_0x4bdb29(this[_0x20fe33(0x11d)]),_0x1f8436=_0xd9b726[_0x20fe33(0x159)],_0x2aa516=new _0x4c829e();for(const _0x136902 of _0x1f8436[_0x20fe33(0xce)][_0x20fe33(0x13a)]()[_0x20fe33(0xe4)]()){const _0x22d547=_0x136902[_0x20fe33(0xd3)](!0x0);_0x2aa516[_0x20fe33(0x177)](_0x22d547);}for(const _0x422161 of _0x1f8436[_0x20fe33(0xdc)])_0x2aa516[_0x20fe33(0xdc)][_0x20fe33(0xf5)](_0x422161[_0x20fe33(0xf9)],this[_0x20fe33(0xe3)](_0x422161[_0x20fe33(0xe1)]()[_0x20fe33(0xc3)](),_0x2aa516));const _0x30e547=new _0x42c188({'ignoreElementEnd':!0x0,'startPosition':_0x1f8436[_0x20fe33(0x164)](_0x2aa516,0x0)}),_0x4f9cde=new Set(),_0x2f50d8=new Map();for(const {item:_0x5f0523}of _0x30e547){if(!_0x5f0523['is'](_0x20fe33(0x15f)))continue;const _0x3c8c9c=_0x5f0523[_0x20fe33(0x16d)];if((!_0x3c8c9c||!_0x3c8c9c['is'](_0x20fe33(0x174),_0x20fe33(0xf1)))&&(_0x3c8c9c&&_0x3c8c9c['is'](_0x20fe33(0x174)))){let _0x328749=_0x3c8c9c[_0x20fe33(0x188)](_0x26b437);_0x328749||(_0x328749=_0x2cd1f7[_0x20fe33(0x15e)](_0x4f9cde),_0x3c8c9c[_0x20fe33(0xd7)](_0x26b437,_0x328749)),_0x4f9cde[_0x20fe33(0xb9)](_0x328749);let _0xc1b3a0=_0x3c8c9c;for(;_0xc1b3a0[_0x20fe33(0x16d)]&&!_0xc1b3a0[_0x20fe33(0x16d)]['is'](_0x20fe33(0xda));)_0xc1b3a0=_0xc1b3a0[_0x20fe33(0x16d)],_0xc1b3a0[_0x20fe33(0x136)](_0x26b437)&&_0xc1b3a0[_0x20fe33(0xb4)](_0x26b437);_0x2f50d8[_0x20fe33(0xf5)](_0x328749,{'path':_0x3c8c9c[_0x20fe33(0x150)](),'getContent':this[_0x20fe33(0x117)](_0xc1b3a0[_0x20fe33(0xd3)](!0x0),_0x328749,_0xd9b726[_0x20fe33(0x165)])}),_0x30e547[_0x20fe33(0x18b)](_0x1f8436[_0x20fe33(0x15d)](_0x3c8c9c));}}return{'content':_0xd9b726[_0x20fe33(0x165)][_0x20fe33(0x104)][_0x20fe33(0xc7)](_0xd9b726[_0x20fe33(0x165)][_0x20fe33(0x16b)](_0x2aa516)),'version':_0xd9b726[_0x20fe33(0x159)][_0x20fe33(0xce)][_0x20fe33(0x14a)],'elements':_0x2f50d8};}[_0x3eef3d(0x149)](_0x1f0992,_0x233a5a){const _0xeba311=_0x3eef3d,_0x3c730a=_0x4bdb29(this[_0xeba311(0x11d)]),_0x5d4f3e=_0x3c730a[_0xeba311(0x165)][_0xeba311(0x152)](_0x1f0992,_0xeba311(0x17b)),_0x532b2d=_0x3c730a[_0xeba311(0x159)][_0xeba311(0x164)](_0x5d4f3e,0x0),_0x3ed307=this[_0xeba311(0x11d)][_0xeba311(0x12f)][_0xeba311(0x12d)](_0xeba311(0x171))[_0xeba311(0x142)](_0x1f0992,_0x233a5a,{'anchor':_0x532b2d,'markDeletions':!0x0})[_0xeba311(0x15a)]()[_0xeba311(0x144)](_0x5d81a1=>_0xeba311(0x14c)===_0x5d81a1[_0xeba311(0xc0)]||_0xeba311(0x112)===_0x5d81a1[_0xeba311(0xc0)]&&_0x5d81a1[_0xeba311(0xf9)][_0xeba311(0xfc)](_0xeba311(0xdd))),_0x1d1a67=this[_0xeba311(0xb7)](_0x3ed307),_0x4cf9d9=[];let _0x48d027=0x0;return _0x3c730a[_0xeba311(0x159)][_0xeba311(0xff)](_0x31ad95=>{const _0x55081a=_0xeba311;for(let _0x171dab=0x0;_0x171dab<_0x1d1a67[_0x55081a(0x18a)];_0x171dab++){const _0x278944=_0x1d1a67[_0x171dab],_0x394577=_0x31ad95[_0x55081a(0xbe)]();for(const _0x4f5ccd of _0x5d4f3e[_0x55081a(0xe4)]())_0x31ad95[_0x55081a(0x143)](_0x4f5ccd[_0x55081a(0xd3)](!0x0),_0x394577);for(const _0x3b12d7 of _0x278944[_0x55081a(0xf3)])if(_0x55081a(0x14c)===_0x3b12d7[_0x55081a(0xc0)]){const _0x3c01d0=_0x3b12d7;_0x3c01d0[_0x55081a(0x18c)]=null,_0x3c01d0[_0x55081a(0x10b)]=!0x1,this[_0x55081a(0x118)](_0x3c01d0,_0x394577),_0x31ad95[_0x55081a(0x154)][_0x55081a(0x11f)](_0x3b12d7),_0x3c730a[_0x55081a(0x159)][_0x55081a(0xcb)](_0x3b12d7);const _0xbf8707=_0x55081a(0x167)+_0x48d027++,_0x439c53=_0x3c730a[_0x55081a(0x159)][_0x55081a(0x13b)](_0x3c01d0[_0x55081a(0x100)],_0x3c01d0[_0x55081a(0x100)][_0x55081a(0xd0)](_0x3c01d0[_0x55081a(0xca)]));_0x394577[_0x55081a(0xdc)][_0x55081a(0xf5)](_0xbf8707,_0x439c53);}else{if(_0x55081a(0x112)===_0x3b12d7[_0x55081a(0xc0)]&&_0x3b12d7[_0x55081a(0xf9)][_0x55081a(0xfc)](_0x55081a(0xdd))){const _0x1f5898=_0x3b12d7,_0x1af606=_0x55081a(0xfb)+_0x48d027++;this[_0x55081a(0x118)](_0x1f5898,_0x394577),_0x394577[_0x55081a(0xdc)][_0x55081a(0xf5)](_0x1af606,_0x1f5898[_0x55081a(0x115)]);}}const _0x2e3bb3=this[_0x55081a(0xef)](this[_0x55081a(0x122)](this[_0x55081a(0xf2)](_0x278944[_0x55081a(0xf3)][0x0]),_0x394577),this[_0x55081a(0x122)](this[_0x55081a(0x178)](_0x278944[_0x55081a(0xf3)][_0x278944[_0x55081a(0xf3)][_0x55081a(0x18a)]-0x1]),_0x394577));_0x394577[_0x55081a(0xdc)][_0x55081a(0xf5)](oe+_0x55081a(0x16c),new _0x3e4a8a(_0x2e3bb3[_0x55081a(0x18e)],_0x2e3bb3[_0x55081a(0x170)])),_0x4cf9d9[_0x55081a(0x153)]({..._0x278944,'context':this[_0x55081a(0x17d)](_0x394577,_0x3c730a[_0x55081a(0x165)],{'ellipsisBefore':_0x2e3bb3[_0x55081a(0xde)],'ellipsisAfter':_0x2e3bb3[_0x55081a(0x172)]}),'content':this[_0x55081a(0xf7)](_0x394577,_0x3c730a[_0x55081a(0x165)])});}}),_0x4cf9d9;}[_0x3eef3d(0xdb)](_0x270b83,_0x346198){const _0x174618=_0x3eef3d,_0x20f26f=_0x270b83[0x0][_0x174618(0x16d)]['id'],_0xc4f061=_0x346198[_0x174618(0x151)][_0x174618(0x12d)](_0x20f26f);if(!_0xc4f061)return void console[_0x174618(0x12c)](_0x174618(0xe9)+_0x20f26f);const _0x5a1fa8=_0xc4f061[_0x174618(0x114)],_0x500060=_0x4bdb29(this[_0x174618(0x11d)]),_0x390f37=_0x500060[_0x174618(0x159)][_0x174618(0xce)][_0x174618(0x10f)][_0x174618(0x15a)](_0x346198[_0x174618(0x14a)]),_0x4ad5f1=[];for(const _0x43545f of _0x270b83){const _0x25a10e=_0x43545f[_0x174618(0xf3)][_0x174618(0x162)](_0x44505f=>this[_0x174618(0x126)](_0x44505f,_0x5a1fa8,_0x500060[_0x174618(0x159)][_0x174618(0xce)][_0x174618(0x11c)]()[0x0]));if(!_0x25a10e||!_0x25a10e[_0x174618(0x18a)])continue;const _0x18d7c3=_0x25a10e[_0x174618(0x116)](_0x45020e=>_0x174618(0x112)===_0x45020e[_0x174618(0xc0)]&&_0x45020e[_0x174618(0xf9)][_0x174618(0xfc)](_0x174618(0xdd))),_0x4c92f1={'document':_0x500060[_0x174618(0x159)][_0x174618(0xce)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4d32f4=_0x5bff13(_0x25a10e,_0x390f37,_0x4c92f1)[_0x174618(0x147)];for(const _0xb4fd10 of _0x4d32f4)if(_0x174618(0x14c)===_0xb4fd10[_0x174618(0xc0)]){const _0x21e018=_0xb4fd10,_0x211812=_0x21e018[_0x174618(0x182)];let _0x15519a='';for(const _0x3eb564 of _0x211812)_0x3eb564&&_0x3eb564['is'](_0x174618(0x129))&&(_0x15519a+=_0x3eb564[_0x174618(0x165)]);_0x4ad5f1[_0x174618(0x153)]({'start':_0x21e018[_0x174618(0x100)],'end':_0x21e018[_0x174618(0x100)],'type':_0x174618(0x14c),'groupId':_0x43545f['id'],'text':_0x15519a});}else{if(_0x174618(0x112)===_0xb4fd10[_0x174618(0xc0)]&&_0xb4fd10[_0x174618(0xf9)][_0x174618(0xfc)](_0x174618(0xdd))){const _0xcb8945=_0xb4fd10;let _0x287de1=_0x174618(0xfe);if(_0x18d7c3){const _0x3eee62=this[_0x174618(0x14d)](_0xcb8945[_0x174618(0x115)][_0x174618(0x18e)],_0x174618(0x102),_0x500060[_0x174618(0x159)][_0x174618(0xb6)]),_0x34865d=this[_0x174618(0x14d)](_0xcb8945[_0x174618(0x115)][_0x174618(0x170)],_0x174618(0xd1),_0x500060[_0x174618(0x159)][_0x174618(0xb6)]);if(_0x3eee62||_0x34865d){const _0x371ab9=_0xcb8945[_0x174618(0x115)][_0x174618(0x18e)][_0x174618(0xd0)](-_0x3eee62),_0xe4496b=_0xcb8945[_0x174618(0x115)][_0x174618(0x170)][_0x174618(0xd0)](_0x34865d);_0x4ad5f1[_0x174618(0x153)]({'start':_0x371ab9,'end':_0xe4496b,'groupId':_0x43545f['id'],'type':_0x174618(0xd2)});}else _0x287de1=_0x174618(0x17a);}_0x4ad5f1[_0x174618(0x153)]({'start':_0xcb8945[_0x174618(0x115)][_0x174618(0x18e)],'end':_0xcb8945[_0x174618(0x115)][_0x174618(0x170)],'groupId':_0x43545f['id'],'type':_0x287de1});}}}this[_0x174618(0x184)](_0x4ad5f1);}[_0x3eef3d(0xe8)](){const _0x277ff2=_0x3eef3d;_0x4bdb29(this[_0x277ff2(0x11d)])[_0x277ff2(0x159)][_0x277ff2(0xff)](_0xb22c3c=>{const _0x128f2d=_0x277ff2;for(const _0x3674aa of this[_0x128f2d(0x16f)][_0x128f2d(0x156)]())_0xb22c3c[_0x128f2d(0x168)](_0x3674aa);}),this[_0x277ff2(0x16f)][_0x277ff2(0x106)]();}[_0x3eef3d(0x17c)](){const _0x7d6076=_0x3eef3d;_0x4bdb29(this[_0x7d6076(0x11d)])[_0x7d6076(0xe7)](_0x7d6076(0x134));}[_0x3eef3d(0xed)](){const _0x3f9a91=_0x3eef3d;_0x4bdb29(this[_0x3f9a91(0x11d)])[_0x3f9a91(0x180)](_0x3f9a91(0x134));}[_0x3eef3d(0x125)](_0x14da09){const _0x964849=_0x3eef3d,_0x449342=_0x4bdb29(this[_0x964849(0x11d)]),_0x2bc923=_0x449342[_0x964849(0x159)],_0x47bfdf=_0x14da09[_0x964849(0x162)](_0x3a4283=>this[_0x964849(0xe0)](_0x3a4283))[_0x964849(0x130)]();_0x2bc923[_0x964849(0xff)](_0xbfef2c=>{const _0x4207a7=_0x964849;for(const _0x4dadd1 of _0x47bfdf){const _0x4c5a74=_0x449342[_0x4207a7(0x159)][_0x4207a7(0xdc)][_0x4207a7(0x12d)](_0x4dadd1['id']);_0x4c5a74&&(_0x4207a7(0x14c)===_0x4dadd1[_0x4207a7(0xc0)]?_0x2bc923[_0x4207a7(0xfa)](_0xbfef2c[_0x4207a7(0x110)](_0x4dadd1[_0x4207a7(0x141)]||''),_0x4c5a74[_0x4207a7(0xe1)]()[_0x4207a7(0x18e)]):_0x4207a7(0xfe)!==_0x4dadd1[_0x4207a7(0xc0)]&&_0x4207a7(0x17a)!==_0x4dadd1[_0x4207a7(0xc0)]||_0x2bc923[_0x4207a7(0xc5)](_0x2bc923[_0x4207a7(0x17f)](_0x4c5a74[_0x4207a7(0xe1)]())),_0xbfef2c[_0x4207a7(0x168)](_0x4dadd1['id']),this[_0x4207a7(0x16f)][_0x4207a7(0x148)](_0x4dadd1['id']));}});}[_0x3eef3d(0xc1)](_0x1387ee){const _0x3d1593=_0x3eef3d,_0x367914=_0x4bdb29(this[_0x3d1593(0x11d)]),_0xb24f30=this[_0x3d1593(0xe0)](_0x1387ee);_0x367914[_0x3d1593(0x159)][_0x3d1593(0xff)](_0x5e373b=>{const _0x23c47a=_0x3d1593;for(const _0x365501 of _0xb24f30)_0x5e373b[_0x23c47a(0x168)](_0x365501['id']),this[_0x23c47a(0x16f)][_0x23c47a(0x148)](_0x365501['id']);});}[_0x3eef3d(0x169)](){const _0x509598=_0x3eef3d;return _0x4bdb29(this[_0x509598(0x11d)]);}[_0x3eef3d(0xb3)](_0x5a56ae){const _0x4d89e0=_0x3eef3d,_0x5106bb=Array[_0x4d89e0(0x10c)](this[_0x4d89e0(0x16f)][_0x4d89e0(0x113)]())[_0x4d89e0(0x144)](_0x451019=>_0x451019[_0x4d89e0(0x10d)]===_0x5a56ae);if(!_0x5106bb[_0x4d89e0(0x18a)])return null;const _0x47d9da=0x1===_0x5106bb[_0x4d89e0(0x18a)]?_0x5106bb[0x0]:this[_0x4d89e0(0x11e)](_0x5106bb)[0x0],_0x5a3177=_0x4bdb29(this[_0x4d89e0(0x11d)]),_0x4fbddf=_0x5a3177[_0x4d89e0(0x159)][_0x4d89e0(0xdc)][_0x4d89e0(0x12d)](_0x47d9da['id']);if(!_0x4fbddf)return null;const _0x5b30f6=_0x4fbddf[_0x4d89e0(0xe1)](),_0x65f338=_0x5a3177[_0x4d89e0(0x158)][_0x4d89e0(0x16e)][_0x4d89e0(0x163)]();if(!_0x65f338||!_0x5b30f6)return null;const _0x222cc3=_0x65f338[_0x4d89e0(0x11a)](_0x4d89e0(0xeb)+_0x47d9da['id']+'\x22]');return _0x222cc3?{'modelRange':_0x5b30f6,'domElement':_0x222cc3}:null;}[_0x3eef3d(0x126)](_0x1ce80a,_0x1c9161,_0xa79d2c){const _0x11f49c=_0x3eef3d;if(_0x11f49c(0x14c)===_0x1ce80a[_0x11f49c(0xc0)]){const _0x44ffac=_0x1ce80a;return new _0x20fc85(this[_0x11f49c(0x132)](_0x44ffac[_0x11f49c(0x100)],_0x1c9161[_0x11f49c(0x12e)](_0x44ffac[_0x11f49c(0x100)][_0x11f49c(0x185)]),_0xa79d2c),_0x44ffac[_0x11f49c(0x182)],_0x44ffac[_0x11f49c(0x18c)]);}if(_0x11f49c(0x112)===_0x1ce80a[_0x11f49c(0xc0)]&&_0x1ce80a[_0x11f49c(0xf9)][_0x11f49c(0xfc)](_0x11f49c(0xdd))){const _0x13429=_0x1ce80a;return new _0x4e4c04(_0x13429[_0x11f49c(0xf9)],_0x13429[_0x11f49c(0x155)],this[_0x11f49c(0x173)](_0x13429[_0x11f49c(0x115)],_0x1c9161[_0x11f49c(0x12e)](_0x13429[_0x11f49c(0x115)][_0x11f49c(0x18e)][_0x11f49c(0x185)]),_0x1c9161[_0x11f49c(0x12e)](_0x13429[_0x11f49c(0x115)][_0x11f49c(0x170)][_0x11f49c(0x185)]),_0xa79d2c),_0x13429[_0x11f49c(0x16f)],_0x13429[_0x11f49c(0x103)],_0x13429[_0x11f49c(0x18c)]);}return _0x1ce80a;}[_0x3eef3d(0xb7)](_0x205e0a){const _0x20a581=_0x3eef3d;if(!_0x205e0a[_0x20a581(0x18a)])return[];const _0x2ccab6=[];let _0x23d784=0x0,_0x3a998c=0x0,_0x4e6d30=[];for(let _0x11975b=0x0;_0x11975b<=_0x205e0a[_0x20a581(0x18a)];_0x11975b++){const _0x51460c=_0x205e0a[_0x11975b],_0x513673=_0x205e0a[_0x11975b-0x1];!_0x51460c||_0x513673&&!this[_0x20a581(0x178)](_0x513673)[_0x20a581(0x121)](this[_0x20a581(0xf2)](_0x51460c))?(_0x2ccab6[_0x20a581(0x153)]({'operations':_0x4e6d30,'operationsIsolated':_0x4e6d30[_0x20a581(0x162)](_0x9727a6=>this[_0x20a581(0x12b)](_0x9727a6[_0x20a581(0xc3)](),-_0x3a998c)),'groupOffset':_0x23d784}),_0x4e6d30=_0x51460c?[_0x51460c]:[],_0x3a998c+=_0x23d784,_0x23d784=0x0):_0x4e6d30[_0x20a581(0x153)](_0x51460c),_0x51460c&&_0x20a581(0x14c)===_0x51460c[_0x20a581(0xc0)]&&(_0x23d784+=_0x51460c[_0x20a581(0xca)]);}return _0x2ccab6;}[_0x3eef3d(0x14d)](_0x18e650,_0x3d2ae5,_0xf9aca6,_0x40d96d=0x1){const _0x289ee7=_0x3eef3d,_0x569a75=new _0x42c188({'startPosition':_0x18e650,'direction':_0x3d2ae5});let _0x18837d=0x0;for(let _0x24d478=0x0;_0x24d478<_0x40d96d;_0x24d478++){let _0x5783a4=0x0,_0x566207=!0x1,_0x1db1e6=_0x289ee7(0xd1)===_0x3d2ae5?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4f8bc1}of _0x569a75)if(_0x4f8bc1['is'](_0x289ee7(0x15f))){const _0x5eeba2=_0x1db1e6[_0x289ee7(0xc9)](_0x4f8bc1[_0x289ee7(0x165)]);if(_0x5eeba2&&_0x5eeba2[_0x289ee7(0x18a)]){if(_0x5783a4+=_0x289ee7(0xd1)===_0x3d2ae5?_0x5eeba2[_0x289ee7(0xf4)]+_0x5eeba2[0x0][_0x289ee7(0x18a)]:_0x4f8bc1[_0x289ee7(0x165)][_0x289ee7(0x18a)]-_0x5eeba2[_0x289ee7(0xf4)],_0x5eeba2[0x0][_0x289ee7(0x18a)]!==_0x4f8bc1[_0x289ee7(0x165)][_0x289ee7(0x18a)])break;_0x566207=!0x0,_0x1db1e6=_0x289ee7(0xd1)===_0x3d2ae5?/^\w+/:/\w+$/;}else{if(_0x566207)break;_0x5783a4+=_0x4f8bc1[_0x289ee7(0x127)];}}else{if(_0x4f8bc1['is'](_0x289ee7(0x174))){_0xf9aca6[_0x289ee7(0xcc)](_0x4f8bc1)&&!_0x566207&&(_0x5783a4+=0x1);break;}}_0x18837d+=_0x5783a4,_0x569a75[_0x289ee7(0x18b)](_0x18e650[_0x289ee7(0xd0)](_0x289ee7(0xd1)===_0x3d2ae5?_0x18837d:-_0x18837d));}return _0x18837d;}[_0x3eef3d(0xef)](_0x30b1c5,_0x3e1683){const _0x31e250=_0x3eef3d,_0x1a4eb0=_0x4bdb29(this[_0x31e250(0x11d)])[_0x31e250(0x159)][_0x31e250(0xb6)],_0x532bdf=this[_0x31e250(0x14d)](_0x30b1c5,_0x31e250(0x102),_0x1a4eb0,0x6),_0xa20e51=this[_0x31e250(0x14d)](_0x3e1683,_0x31e250(0xd1),_0x1a4eb0,0x6),_0x29d6a7=_0x30b1c5[_0x31e250(0xd0)](-_0x532bdf),_0x4f094b=_0x3e1683[_0x31e250(0xd0)](_0xa20e51);return{'start':_0x29d6a7,'end':_0x4f094b,'hasContentBefore':!_0x29d6a7[_0x31e250(0x123)],'hasContentAfter':!_0x4f094b[_0x31e250(0x108)]};}[_0x3eef3d(0x184)](_0x28e818){const _0x25de98=_0x3eef3d,_0x58a5ff=this[_0x25de98(0x11d)][_0x25de98(0x12f)][_0x25de98(0x12d)](_0x25de98(0x11b)),_0x1ecadc=new Set();_0x4bdb29(this[_0x25de98(0x11d)])[_0x25de98(0x159)][_0x25de98(0xff)](_0x5ab931=>{const _0x171279=_0x25de98;for(const _0x2f7fe5 of _0x28e818){const _0x5cb61a=''+oe+_0x2f7fe5[_0x171279(0xc0)]+':'+_0x2f7fe5[_0x171279(0x10d)]+'_'+_0x58a5ff[_0x171279(0x15e)](_0x1ecadc);this[_0x171279(0x16f)][_0x171279(0xf5)](_0x5cb61a,{'id':_0x5cb61a,'groupId':_0x2f7fe5[_0x171279(0x10d)],'type':_0x2f7fe5[_0x171279(0xc0)],'text':_0x2f7fe5[_0x171279(0x141)]}),_0x5ab931[_0x171279(0xcd)](_0x5cb61a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5ab931[_0x171279(0x13b)](_0x2f7fe5[_0x171279(0x18e)],_0x2f7fe5[_0x171279(0x170)])});}});}[_0x3eef3d(0x17d)](_0x1f6ccb,_0x1698b5,_0x48a07e){let _0x11c81f='';return()=>{const _0x4265bd=_0x44ce;if(!_0x11c81f){const _0x4a383e=_0x1698b5[_0x4265bd(0x16b)](_0x1f6ccb,{'showSuggestionHighlights':!0x0}),_0x556bce=_0x4a383e[_0x4265bd(0x14f)](0x0);if(!_0x556bce)return'';let _0x1024a8=!0x1;const _0x449620=[];for(const _0x241cc8 of _0x556bce[_0x4265bd(0xe4)]())_0x241cc8['is'](_0x4265bd(0x174),_0x4265bd(0x160))&&_0x241cc8[_0x4265bd(0x128)](_0x4265bd(0x145))&&(_0x1024a8=!0x1),_0x1024a8&&_0x449620[_0x4265bd(0x153)](_0x241cc8),_0x241cc8['is'](_0x4265bd(0x174),_0x4265bd(0x160))&&_0x241cc8[_0x4265bd(0x128)](_0x4265bd(0x175))&&(_0x1024a8=!0x0);_0x556bce[_0x4265bd(0xdf)](0x0,_0x556bce[_0x4265bd(0xc6)]),_0x48a07e?.[_0x4265bd(0xf6)]&&_0x556bce[_0x4265bd(0x177)]('…'),_0x556bce[_0x4265bd(0x177)](_0x449620),_0x48a07e?.[_0x4265bd(0x105)]&&_0x556bce[_0x4265bd(0x177)]('…');const _0x177e9c=_0x1698b5[_0x4265bd(0xc2)][_0x4265bd(0x146)][_0x4265bd(0xbd)](_0x4a383e),_0x4fd5b7=_0x1698b5[_0x4265bd(0xc2)][_0x4265bd(0x186)][_0x4265bd(0xbf)](_0x177e9c);_0x11c81f=_0x4fd5b7;}return _0x11c81f;};}[_0x3eef3d(0xf7)](_0x20487e,_0x2d2ee1){const _0x2982a9=_0x3eef3d;let _0x543958='';return()=>(_0x543958||(_0x543958=_0x2d2ee1[_0x2982a9(0x18d)](_0x20487e,{'showSuggestionHighlights':!0x0})),_0x543958);}[_0x3eef3d(0x117)](_0x39d123,_0xbdd140,_0x4299f8){let _0x1decaf='';return()=>{const _0x19e6f6=_0x44ce;if(!_0x1decaf){const _0x20ce5a=_0x4299f8[_0x19e6f6(0x16b)](new _0x4c829e(_0x39d123)),_0x1845d5=_0x4299f8[_0x19e6f6(0xc2)][_0x19e6f6(0x146)][_0x19e6f6(0xbd)](_0x20ce5a)[_0x19e6f6(0x11a)](_0x19e6f6(0xc4)+_0xbdd140+'\x22]');_0x1decaf=_0x1845d5?.[_0x19e6f6(0x10e)]||'';}return _0x1decaf;};}[_0x3eef3d(0x15b)](_0x25c14e,_0x1f0948=0x5){const _0x158297=_0x3eef3d;let _0x1dedb7=_0x25c14e,_0x5dc810=null;for(let _0x3c3ff0=0x0;_0x3c3ff0<_0x1f0948&&_0x1dedb7;_0x3c3ff0++){if(!_0x1dedb7[_0x158297(0x13e)]){_0x1dedb7=_0x1dedb7[_0x158297(0xe5)];continue;}if(!(''+_0x1dedb7[_0x158297(0x13e)])[_0x158297(0xb8)](_0x158297(0xd4))){_0x1dedb7=_0x1dedb7[_0x158297(0xe5)];continue;}if(!_0x1dedb7[_0x158297(0x188)](_0x158297(0xbc)))break;_0x5dc810=_0x1dedb7;break;}return _0x5dc810;}[_0x3eef3d(0xe0)](_0x1f2bee){const _0x1c32b9=_0x3eef3d;return Array[_0x1c32b9(0x10c)](this[_0x1c32b9(0x16f)][_0x1c32b9(0x113)]())[_0x1c32b9(0x144)](_0x3878b5=>_0x3878b5[_0x1c32b9(0x10d)]===_0x1f2bee);}[_0x3eef3d(0xf2)](_0x1529b8){const _0x4d5c75=_0x3eef3d;return _0x4d5c75(0x14c)===_0x1529b8[_0x4d5c75(0xc0)]?_0x1529b8[_0x4d5c75(0x100)]:_0x1529b8[_0x4d5c75(0x115)][_0x4d5c75(0x18e)];}[_0x3eef3d(0x178)](_0x394688,_0x2aac09=!0x1){const _0x42ba1d=_0x3eef3d;return _0x42ba1d(0x14c)===_0x394688[_0x42ba1d(0xc0)]?_0x2aac09?_0x394688[_0x42ba1d(0x100)]:_0x394688[_0x42ba1d(0x100)][_0x42ba1d(0xd0)](_0x394688[_0x42ba1d(0xca)]):_0x394688[_0x42ba1d(0x115)][_0x42ba1d(0x170)];}[_0x3eef3d(0x12b)](_0x5f134a,_0x5b2c93){const _0x43f929=_0x3eef3d;return _0x43f929(0x14c)===_0x5f134a[_0x43f929(0xc0)]?_0x5f134a[_0x43f929(0x100)]=_0x5f134a[_0x43f929(0x100)][_0x43f929(0xd0)](_0x5b2c93):_0x43f929(0x112)===_0x5f134a[_0x43f929(0xc0)]&&_0x5f134a[_0x43f929(0x115)]&&(_0x5f134a[_0x43f929(0x115)]=new _0x3e4a8a(_0x5f134a[_0x43f929(0x115)][_0x43f929(0x18e)][_0x43f929(0xd0)](_0x5b2c93),_0x5f134a[_0x43f929(0x115)][_0x43f929(0x170)][_0x43f929(0xd0)](_0x5b2c93))),_0x5f134a;}[_0x3eef3d(0x118)](_0x4e2640,_0x20c855){const _0x376c05=_0x3eef3d;_0x376c05(0x14c)===_0x4e2640[_0x376c05(0xc0)]?_0x4e2640[_0x376c05(0x100)]=this[_0x376c05(0x122)](_0x4e2640[_0x376c05(0x100)],_0x20c855):_0x376c05(0x112)===_0x4e2640[_0x376c05(0xc0)]&&_0x4e2640[_0x376c05(0x115)]&&(_0x4e2640[_0x376c05(0x115)]=this[_0x376c05(0xe3)](_0x4e2640[_0x376c05(0x115)],_0x20c855));}[_0x3eef3d(0x122)](_0x123c3c,_0x3a69c1){const _0x432ed9=_0x3eef3d;return new _0x41eb99(_0x3a69c1,_0x123c3c[_0x432ed9(0x114)]);}[_0x3eef3d(0xe3)](_0x3915b2,_0x356c33){const _0x557f5e=_0x3eef3d;return new _0x3e4a8a(this[_0x557f5e(0x122)](_0x3915b2[_0x557f5e(0x18e)],_0x356c33),this[_0x557f5e(0x122)](_0x3915b2[_0x557f5e(0x170)],_0x356c33));}[_0x3eef3d(0x132)](_0x5026dd,_0x1a6bfb,_0x149781){return new _0x41eb99(_0x149781,[..._0x1a6bfb]);}[_0x3eef3d(0x173)](_0x2c5382,_0x11f62d,_0x29b79b,_0x181a30){const _0x3eeaf4=_0x3eef3d;return new _0x3e4a8a(this[_0x3eeaf4(0x132)](_0x2c5382[_0x3eeaf4(0x18e)],_0x11f62d,_0x181a30),this[_0x3eeaf4(0x132)](_0x2c5382[_0x3eeaf4(0x170)],_0x29b79b,_0x181a30));}[_0x3eef3d(0x11e)](_0x510743){const _0x563e57=_0x3eef3d,_0x309b68=_0x75a094=>{const _0x380938=_0x44ce;switch(_0x75a094){case _0x380938(0x14c):return 0x1;case _0x380938(0xd2):return 0x2;case _0x380938(0x17a):return 0x3;case _0x380938(0xfe):return 0x4;}};return _0x510743[_0x563e57(0xf8)]((_0x4a7cdb,_0x1a9fdf)=>_0x309b68(_0x4a7cdb[_0x563e57(0xc0)])-_0x309b68(_0x1a9fdf[_0x563e57(0xc0)]));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d4c0a=_0x238e;(function(_0x156003,_0x21bb68){const _0x13fe33=_0x238e,_0x587ddf=_0x156003();while(!![]){try{const _0x398e47=parseInt(_0x13fe33(0x19a))/0x1*(-parseInt(_0x13fe33(0x19f))/0x2)+-parseInt(_0x13fe33(0x1df))/0x3+parseInt(_0x13fe33(0x1a1))/0x4*(parseInt(_0x13fe33(0x1b4))/0x5)+parseInt(_0x13fe33(0x1c5))/0x6+parseInt(_0x13fe33(0x1ce))/0x7*(parseInt(_0x13fe33(0x1bb))/0x8)+-parseInt(_0x13fe33(0x1e9))/0x9*(parseInt(_0x13fe33(0x1de))/0xa)+-parseInt(_0x13fe33(0x1cf))/0xb*(parseInt(_0x13fe33(0x1d7))/0xc);if(_0x398e47===_0x21bb68)break;else _0x587ddf['push'](_0x587ddf['shift']());}catch(_0x4b9e22){_0x587ddf['push'](_0x587ddf['shift']());}}}(_0x35d3,0x8fc44));import{ContextPlugin as _0xb2f766}from'ckeditor5/src/core.js';import{IconAIReview as _0x4e7bb2}from'ckeditor5/src/icons.js';function _0x35d3(){const _0x189349=['reviewCheckListView','setActiveStateInResults','addCheckRunResult','showCheckRunResults','reviewCheckResultsView','setItemAsActive','setAvailableChecks','1vANaIF','accepted','runReviewCheck','hideResult','isOfficialPlugin','1048088HMlFoM','plugins','20xvhAgh','abortReviewStream','showNoChangesView','error-general','setItemAsInactive','acceptAllChanges','reviewMode','showChangeBalloon','leaveReviewModeResultList','acceptChange','getChangeElement','showReviewCheckResultsView','locale','retryReview','showActionsWhenResultIsReady','setCheckResultTitle','get','finishReview','_reviewModeView','588425oylQgX','showReviewCheckList','status','hideChangeBalloon','attachToDom','showReviewCheckListView','AIReviewModeUI','2103280tHJsEF','showChunkErrorView','showReviewCompletedView','hideBalloon','_reviewModeBalloonSuggestionItemView','delegate','_bodyCollection','element','AITabs','forEach','4401534kLoRNi','isPremiumPlugin','showBalloon','rejected','init','requires','learnMore','find','setTitle','28LKKjHG','11KPOzPC','addTab','activateChange','destroy','getReviewCheckList','hideActionsWhenResultIsReady','showCheckRunResult','toggleDiff','7125744ssTBPY','setChecks','fire','detachFromDom','hasChecks','dismissChange','AI_REVIEW_MODE','10fwOmnd','488427EQkSRu','getResults','context','deactivateChange','resetActiveStateInResults','showGeneralErrorView','updateChangeState','pluginName','view','activateTab','4537089EwpxsB','error-chunk','leaveReviewMode'];_0x35d3=function(){return _0x189349;};return _0x35d3();}import{BodyCollection as _0x2c3414}from'ckeditor5/src/ui.js';import{AITabs as _0x4f2847}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x6ff7c}from'./ui/aireviewmodeview.js';import{getTranslation as _0x111b2d}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x1bf755}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2d4c0a(0x1d3),_0x2d4c0a(0x19c),_0x2d4c0a(0x1a2),_0x2d4c0a(0x1d6),_0x2d4c0a(0x1a6),_0x2d4c0a(0x1a9),_0x2d4c0a(0x1d1),_0x2d4c0a(0x1aa),_0x2d4c0a(0x1dc),_0x2d4c0a(0x1cb),_0x2d4c0a(0x1b2),_0x2d4c0a(0x1ae)];function _0x238e(_0x24f7f4,_0x3ddeb3){const _0x35d32d=_0x35d3();return _0x238e=function(_0x238eb6,_0x4d4c8c){_0x238eb6=_0x238eb6-0x192;let _0x3f148a=_0x35d32d[_0x238eb6];return _0x3f148a;},_0x238e(_0x24f7f4,_0x3ddeb3);}export class AIReviewModeUI extends _0xb2f766{[_0x2d4c0a(0x1b3)];[_0x2d4c0a(0x1bf)];[_0x2d4c0a(0x1c1)];static get[_0x2d4c0a(0x1ca)](){return[_0x4f2847];}static get[_0x2d4c0a(0x1e6)](){const _0x283ccc=_0x2d4c0a;return _0x283ccc(0x1ba);}static get[_0x2d4c0a(0x19e)](){return!0x0;}static get[_0x2d4c0a(0x1c6)](){return!0x0;}constructor(_0x1bcb36){const _0xd576f8=_0x2d4c0a;super(_0x1bcb36),this[_0xd576f8(0x1c1)]=new _0x2c3414(this[_0xd576f8(0x1e1)][_0xd576f8(0x1ad)]),this[_0xd576f8(0x1c1)][_0xd576f8(0x1b8)](),this[_0xd576f8(0x1b3)]=new _0x6ff7c(this[_0xd576f8(0x1e1)][_0xd576f8(0x1ad)]),this[_0xd576f8(0x1b3)][_0xd576f8(0x1c0)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0xd576f8(0x1bf)]=new _0x1bf755(this[_0xd576f8(0x1e1)][_0xd576f8(0x1ad)],this[_0xd576f8(0x1c1)]),this[_0xd576f8(0x1bf)][_0xd576f8(0x1c0)](_0xd576f8(0x1aa),_0xd576f8(0x1dc),_0xd576f8(0x1e2))['to'](this);}[_0x2d4c0a(0x1c9)](){const _0x1518e2=_0x2d4c0a,_0x134eef=this[_0x1518e2(0x1e1)][_0x1518e2(0x1a0)][_0x1518e2(0x1b1)](_0x1518e2(0x1c3));_0x134eef[_0x1518e2(0x1e7)]['on'](_0x1518e2(0x1e8),(_0xb8e85,_0x570bf2)=>{const _0x326ffa=_0x1518e2;_0x326ffa(0x1a7)===_0x570bf2?this[_0x326ffa(0x1d9)](_0x326ffa(0x1d3)):this[_0x326ffa(0x1d9)](_0x326ffa(0x192));}),_0x134eef[_0x1518e2(0x1e7)][_0x1518e2(0x1d0)]({'id':_0x1518e2(0x1a7),'buttonLabel':_0x111b2d(this[_0x1518e2(0x1e1)][_0x1518e2(0x1ad)],_0x1518e2(0x1dd)),'buttonIcon':_0x4e7bb2,'order':0x0,'content':this[_0x1518e2(0x1b3)]});}[_0x2d4c0a(0x1d2)](){const _0x1918fd=_0x2d4c0a;this[_0x1918fd(0x1c1)][_0x1918fd(0x1da)](),super[_0x1918fd(0x1d2)]();}[_0x2d4c0a(0x199)](_0x4dea72){const _0x1ce073=_0x2d4c0a;this[_0x1ce073(0x1b3)][_0x1ce073(0x193)][_0x1ce073(0x1db)]()||this[_0x1ce073(0x1b3)][_0x1ce073(0x193)][_0x1ce073(0x1d8)](_0x4dea72),this[_0x1ce073(0x1b3)][_0x1ce073(0x1b9)]();}[_0x2d4c0a(0x1b5)](){const _0x58dcfe=_0x2d4c0a;this[_0x58dcfe(0x1d9)](_0x58dcfe(0x1d3));}[_0x2d4c0a(0x196)](_0x19a8ad){const _0x3a6d77=_0x2d4c0a;_0x19a8ad&&(_0x3a6d77(0x1a4)!==_0x19a8ad[_0x3a6d77(0x1b6)]?_0x3a6d77(0x1ea)!==_0x19a8ad[_0x3a6d77(0x1b6)]?this[_0x3a6d77(0x1b3)][_0x3a6d77(0x1ac)]():this[_0x3a6d77(0x1bc)]():this[_0x3a6d77(0x1e4)]());}[_0x2d4c0a(0x1d5)](_0x4de08d){const _0x407f18=_0x2d4c0a;this[_0x407f18(0x1b3)][_0x407f18(0x195)](_0x4de08d);}[_0x2d4c0a(0x1e4)](){const _0x1aa907=_0x2d4c0a;this[_0x1aa907(0x1b3)][_0x1aa907(0x1e4)]();}[_0x2d4c0a(0x1bc)](){const _0x3d1b94=_0x2d4c0a;this[_0x3d1b94(0x1b3)][_0x3d1b94(0x1bc)]();}[_0x2d4c0a(0x1b0)](_0x4eafd1){const _0x3b0dd9=_0x2d4c0a;this[_0x3b0dd9(0x1b3)][_0x3b0dd9(0x197)][_0x3b0dd9(0x1cd)](_0x4eafd1);}[_0x2d4c0a(0x194)](_0xabbd86){const _0x5624d1=_0x2d4c0a;this[_0x5624d1(0x1b3)][_0x5624d1(0x197)][_0x5624d1(0x1e0)]()[_0x5624d1(0x1c4)](_0x572b3a=>{const _0x39a254=_0x5624d1;_0x572b3a['id']===_0xabbd86&&_0x572b3a[_0x39a254(0x198)]();});}[_0x2d4c0a(0x1e3)](){const _0x5f07d3=_0x2d4c0a;this[_0x5f07d3(0x1b3)][_0x5f07d3(0x197)][_0x5f07d3(0x1e0)]()[_0x5f07d3(0x1c4)](_0x4165ab=>_0x4165ab[_0x5f07d3(0x1a5)]());}[_0x2d4c0a(0x1e5)](_0x5ad092,_0x358f26){const _0x13605a=_0x2d4c0a;_0x13605a(0x19b)!==_0x358f26&&_0x13605a(0x1c8)!==_0x358f26||this[_0x13605a(0x1b3)][_0x13605a(0x197)][_0x13605a(0x19d)](_0x5ad092);}[_0x2d4c0a(0x1bd)](){const _0x430965=_0x2d4c0a;this[_0x430965(0x1b3)][_0x430965(0x1bd)]();}[_0x2d4c0a(0x1af)](){const _0x205e43=_0x2d4c0a;this[_0x205e43(0x1b3)][_0x205e43(0x1af)]();}[_0x2d4c0a(0x1a3)](){const _0x297546=_0x2d4c0a;this[_0x297546(0x1b3)][_0x297546(0x1a3)]();}[_0x2d4c0a(0x1d4)](){const _0x391bce=_0x2d4c0a;this[_0x391bce(0x1b3)][_0x391bce(0x1d4)]();}[_0x2d4c0a(0x1a8)](_0x266a1b,_0x58d058){const _0x5f5a52=_0x2d4c0a;this[_0x5f5a52(0x1bf)][_0x5f5a52(0x1c7)](_0x266a1b,_0x58d058);}[_0x2d4c0a(0x1b7)](){const _0x3ae993=_0x2d4c0a;this[_0x3ae993(0x1bf)][_0x3ae993(0x1be)]();}[_0x2d4c0a(0x1ab)](_0x110bd2){const _0x10df98=_0x2d4c0a,_0x46713c=this[_0x10df98(0x1b3)][_0x10df98(0x197)][_0x10df98(0x1e0)]()[_0x10df98(0x1cc)](_0x490240=>_0x490240['id']===_0x110bd2);return _0x46713c?_0x46713c[_0x10df98(0x1c2)]:null;}[_0x2d4c0a(0x1e2)](){const _0x2b7c01=_0x2d4c0a;this[_0x2b7c01(0x1bf)][_0x2b7c01(0x1e2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x140294=_0x5b27;(function(_0x2ab8c0,_0x2cb2b7){var _0x1b7409=_0x5b27,_0x389026=_0x2ab8c0();while(!![]){try{var _0x1080e8=parseInt(_0x1b7409(0x12b))/0x1+-parseInt(_0x1b7409(0x11f))/0x2*(-parseInt(_0x1b7409(0x126))/0x3)+-parseInt(_0x1b7409(0x127))/0x4*(-parseInt(_0x1b7409(0x129))/0x5)+parseInt(_0x1b7409(0x12a))/0x6+-parseInt(_0x1b7409(0x123))/0x7*(parseInt(_0x1b7409(0x11d))/0x8)+parseInt(_0x1b7409(0x120))/0x9+-parseInt(_0x1b7409(0x124))/0xa;if(_0x1080e8===_0x2cb2b7)break;else _0x389026['push'](_0x389026['shift']());}catch(_0x4d0c4a){_0x389026['push'](_0x389026['shift']());}}}(_0xf489,0xec82c));export class AIReviewCheck{['id'];[_0x140294(0x121)];[_0x140294(0x125)];[_0x140294(0x128)];[_0x140294(0x122)];[_0x140294(0x11e)];constructor({id:_0x10c155,title:_0x208363,description:_0x1c3b4b,isParameterized:_0x3e3cc6,useArgs:_0x2d8579,options:_0x2f405d}){var _0x4dabb0=_0x140294;this['id']=_0x10c155,this[_0x4dabb0(0x121)]=_0x208363,this[_0x4dabb0(0x125)]=_0x1c3b4b,this[_0x4dabb0(0x128)]=_0x3e3cc6,this[_0x4dabb0(0x122)]=_0x2d8579,this[_0x4dabb0(0x11e)]=_0x2f405d;}}function _0x5b27(_0xce2638,_0x5e510d){var _0xf489fd=_0xf489();return _0x5b27=function(_0x5b2799,_0x5b25de){_0x5b2799=_0x5b2799-0x11d;var _0x1fde8c=_0xf489fd[_0x5b2799];return _0x1fde8c;},_0x5b27(_0xce2638,_0x5e510d);}function _0xf489(){var _0x52515a=['options','161704eyruTt','9159102syEGsp','title','useArgs','7lNeFqr','34170680zDKrqe','description','12AYxjqM','41332Vbytfx','isParameterized','805opFyzo','11399646AbwYrx','17065VzUnoC','4287112qHcObP'];_0xf489=function(){return _0x52515a;};return _0xf489();}
|