@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.7
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 +1 -1
- package/dist/index-editor.css +54 -18
- package/dist/index.css +64 -19
- 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/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.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +7 -2
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.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.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.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 +17 -0
- package/src/aicore/aiconnector.d.ts +13 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.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.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.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -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.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.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.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/aichathistory.css +26 -9
- package/theme/aichat/aiminitoolbar.css +8 -0
- package/theme/aichat/aisuggestioncontainer.css +6 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
- package/theme/aitabs/aitabsview.css +6 -1
- package/theme/common/aibutton.css +0 -4
- package/theme/common/aiheader.css +1 -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
|
-
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 _0x124335=_0x4f1e;function _0x8b94(){const _0x1248bf=['_changePositionOwnerDocument','_insertMarkers','_getOperationStart','from','startsWith','toData','querySelector','exec','ck-ai_review-mode-marker_underline','getMarkerElementForChange','_shiftOperation','history','parse','getChild','_changeOperationOwnerDocument','includes','toView','batch','groupId','_translateOperationToEditorContent','switchToReadOnly','processor','marker','_changeRange','concat','markerToHighlight','suggestion:deletion:id:authorId:','8HkyqKc','_findAdjacentContextDistance','get','childCount','ck-ai_review-mode-marker_context-end','viewToDom','_getChangeContext','target','backward','editingDowncast','getDiff','clearAllMarkers','affectsData','createPositionAt','reviewmode-','getDocumentData','pluginName','name','1465080kzdRkk','toDomElement','insert','type','getAttribute','isDocumentOperation','sort','No\x20element\x20found\x20for\x20ID:\x20','flat','AIReviewModeEditing','ck-ai_review-mode-marker_context-','add','isTouching','editing','_appendChild','_removeChildren','_groupAdjacentOperations','document','split','switchToEdit','remove-only','[data-id=\x22','[data-marker-id=\x22','isOpening','documentFragment','8eRrIgg','caption','set','DocumentCompare','model','start','getRoots','_eventEmitter','addOperation','append','hasClass','downcast','isAtStart','_nextDataId','elements','_createGetContentFn','ck-ai_review-mode-marker_','_sortMarkers','_markers','operationsIsolated','delete','removeMarker','isOfficialPlugin','getShiftedBy','keys','ck-ai_review-mode-marker_add','isInline','markerToElement','_findMarkerElement','1140349RiAYMj','ellipsisAfter','position','disableReadOnlyMode','path','parent','ck-ai_review-mode-marker_strikethrough','ck-ai_review-mode-marker_hide','filter','conversion','offsetSize','applyChange','_getOperationEnd','createRange','536301PqSoZa','getDomRoot','addMarker','deleteContent','plugins','htmlWriter','span','_domEmitter','createText','context','every','domConverter','createRawElement','click','offset','createUIElement','clear','change','oldRange','getContentElement','_removeAttribute','ck-ai_review-mode-marker_context-start','getOperations','jumpTo','AIEditing','operationsA','changeMarkerClick','schema','_changePosition','getHtml','afterInit','_setAttribute','_createGetContextFn','length','values','_clone','733347GMcPzR','328505QNwCZn','$textProxy','end','outerHTML','isPremiumPlugin','insertContent','getRange','htmlProcessor','text','createSelection','hasContentBefore','30FMxxmH','isAtEnd','view','map','howMany','171103OIMIMk','fire','804276legiwR','index','clone','element','dataDowncast','_createGetContentUsingDataIdFn','warn','for','listenTo','baseVersion','version','suggestion:insertion:id:authorId:','ai-review-mode','getRoot','getChildren','$markedRemove','getPath','newRange','rejectChange','stringify','markerName','data-marker-id','_getMarkersDataForGroup','createPositionAfter','pop','emitter','nodes','className','createDocumentFragment','_changeRangeOwnerDocument','attributeToAttribute','diffContent','push','enableReadOnlyMode','applyOperation','markChangePositionInEditorContent','parentElement','remove-text','suggestion-context','forward','requires','model:$text','markers','$documentFragment','ellipsisBefore','hasAttribute','innerHTML','hasContentAfter','data','remove-context'];_0x8b94=function(){return _0x1248bf;};return _0x8b94();}function _0x4f1e(_0x587fe7,_0x4f8b15){const _0x8b9481=_0x8b94();return _0x4f1e=function(_0x4f1e9f,_0x1a1483){_0x4f1e9f=_0x4f1e9f-0x177;let _0x3e805a=_0x8b9481[_0x4f1e9f];return _0x3e805a;},_0x4f1e(_0x587fe7,_0x4f8b15);}(function(_0x28c1eb,_0x12ffdd){const _0xda1c9c=_0x4f1e,_0x59204e=_0x28c1eb();while(!![]){try{const _0x22a9cf=-parseInt(_0xda1c9c(0x180))/0x1+parseInt(_0xda1c9c(0x182))/0x2+parseInt(_0xda1c9c(0x225))/0x3+-parseInt(_0xda1c9c(0x1fa))/0x4*(-parseInt(_0xda1c9c(0x24a))/0x5)+-parseInt(_0xda1c9c(0x1e1))/0x6+parseInt(_0xda1c9c(0x217))/0x7*(parseInt(_0xda1c9c(0x1cf))/0x8)+-parseInt(_0xda1c9c(0x249))/0x9*(parseInt(_0xda1c9c(0x17b))/0xa);if(_0x22a9cf===_0x12ffdd)break;else _0x59204e['push'](_0x59204e['shift']());}catch(_0xfc9d18){_0x59204e['push'](_0x59204e['shift']());}}}(_0x8b94,0x349ba));import{InsertOperation as _0x1afefa,MarkerOperation as _0x2d4cd0,ModelDocumentFragment as _0x6c939f,ModelPosition as _0x577688,ModelRange as _0xe35ee,ModelTreeWalker as _0x1e0cc4,transformOperationSets as _0x114145}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x400f18,EmitterMixin as _0xefcb86}from'ckeditor5/src/utils.js';import{ContextPlugin as _0xa53635}from'ckeditor5/src/core.js';import{DocumentCompare as _0x408f63,DATA_ID_MODEL_ATTRIBUTE as _0xd0c32a,DATA_ID_VIEW_ATTRIBUTE as _0x4a917a}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0xc9b6c2}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xff0243}from'../aicore/aiediting.js';const ae=_0x124335(0x1dd);export class AIReviewModeEditing extends _0xa53635{static get[_0x124335(0x1df)](){const _0x1a7149=_0x124335;return _0x1a7149(0x1ea);}static get[_0x124335(0x1aa)](){return[_0x408f63,_0xff0243];}static get[_0x124335(0x210)](){return!0x0;}static get[_0x124335(0x24e)](){return!0x0;}[_0x124335(0x20c)]=new Map();[_0x124335(0x22c)];[_0x124335(0x201)];constructor(_0x43e01e){const _0x1b05f5=_0x124335;super(_0x43e01e),this[_0x1b05f5(0x22c)]=new(_0x400f18())(),this[_0x1b05f5(0x201)]=new(_0xefcb86())();}get[_0x124335(0x19b)](){const _0x246c34=_0x124335;return this[_0x246c34(0x201)];}[_0x124335(0x243)](){const _0xdf8a12=_0x124335,_0x214e00=_0xc9b6c2(this[_0xdf8a12(0x22e)]);_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x1d8))[_0xdf8a12(0x215)]({'model':ae+_0xdf8a12(0x1e3),'view':(_0xe9ac3f,{writer:_0x153cbb})=>{const _0x36d6a6=_0xdf8a12,_0x30dc70=this[_0x36d6a6(0x20c)][_0x36d6a6(0x1d1)](_0xe9ac3f[_0x36d6a6(0x196)]),_0x1df319={'class':_0x36d6a6(0x213),'data-marker-id':_0xe9ac3f[_0x36d6a6(0x196)]};return _0x153cbb[_0x36d6a6(0x234)](_0x36d6a6(0x22b),_0x1df319,function(_0x37740b){const _0x5428e3=_0x36d6a6,_0xd6f129=this[_0x5428e3(0x1e2)](_0x37740b);return _0xd6f129[_0x5428e3(0x1b0)]=_0x30dc70?.[_0x5428e3(0x178)]||'',_0xd6f129;});}}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x1d8))[_0xdf8a12(0x1cd)]({'model':ae+_0xdf8a12(0x1f5),'view':_0x4b45ff=>({'classes':_0xdf8a12(0x21d),'attributes':{'data-marker-id':_0x4b45ff[_0xdf8a12(0x196)]}})}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x1d8))[_0xdf8a12(0x1cd)]({'model':ae+_0xdf8a12(0x1b3),'view':_0x1f4a28=>({'classes':_0xdf8a12(0x1bc),'attributes':{'data-marker-id':_0x1f4a28[_0xdf8a12(0x196)]}})}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x1d8))[_0xdf8a12(0x1cd)]({'model':ae+_0xdf8a12(0x1a7),'view':_0x5e521b=>({'classes':_0xdf8a12(0x21e),'attributes':{'data-marker-id':_0x5e521b[_0xdf8a12(0x196)]}})}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x186))[_0xdf8a12(0x215)]({'model':ae+_0xdf8a12(0x1a8),'view':(_0x5675b7,{writer:_0x12eea2})=>_0x12eea2[_0xdf8a12(0x231)](_0xdf8a12(0x22b),{'class':_0xdf8a12(0x1eb)+(_0x5675b7[_0xdf8a12(0x1f8)]?_0xdf8a12(0x1ff):_0xdf8a12(0x24c))})}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x205))[_0xdf8a12(0x1a0)]({'model':_0xd0c32a,'view':_0x4a917a}),this[_0xdf8a12(0x22c)][_0xdf8a12(0x18a)](document,_0xdf8a12(0x232),(_0x348000,_0xa38e0d)=>{const _0x4a8081=_0xdf8a12,_0x126448=_0xa38e0d[_0x4a8081(0x1d6)],_0x405d97=this[_0x4a8081(0x216)](_0x126448);if(!_0x405d97)return;const _0x5211c7=_0x405d97[_0x4a8081(0x1e5)](_0x4a8081(0x197)),_0x23d4f3=_0x5211c7[_0x4a8081(0x1f3)](':')[_0x4a8081(0x19a)]()?.[_0x4a8081(0x1f3)]('_')[0x0];this[_0x4a8081(0x201)][_0x4a8081(0x181)](_0x4a8081(0x23f),{'markerId':_0x5211c7,'changeId':_0x23d4f3});});}[_0x124335(0x1de)](){const _0xc0c4af=_0x124335,_0x24a5e2=this[_0xc0c4af(0x22e)][_0xc0c4af(0x229)][_0xc0c4af(0x1d1)](_0xc0c4af(0x23d)),_0x464d9d=_0xc9b6c2(this[_0xc0c4af(0x22e)]),_0x577e6a=_0x464d9d[_0xc0c4af(0x1fe)],_0x46c96d=new _0x6c939f();for(const _0x3937ab of _0x577e6a[_0xc0c4af(0x1f2)][_0xc0c4af(0x18f)]()[_0xc0c4af(0x190)]()){const _0x339f00=_0x3937ab[_0xc0c4af(0x248)](!0x0);_0x46c96d[_0xc0c4af(0x1ef)](_0x339f00);}for(const _0x40076b of _0x577e6a[_0xc0c4af(0x1ac)])_0x46c96d[_0xc0c4af(0x1ac)][_0xc0c4af(0x1fc)](_0x40076b[_0xc0c4af(0x1e0)],this[_0xc0c4af(0x19f)](_0x40076b[_0xc0c4af(0x250)]()[_0xc0c4af(0x184)](),_0x46c96d));const _0x1b3632=new _0x1e0cc4({'ignoreElementEnd':!0x0,'startPosition':_0x577e6a[_0xc0c4af(0x1dc)](_0x46c96d,0x0)}),_0x24c467=new Set(),_0xf07ba0=new Map();for(const {item:_0x104744}of _0x1b3632){if(!_0x104744['is'](_0xc0c4af(0x24b)))continue;const _0x37b753=_0x104744[_0xc0c4af(0x21c)];if((!_0x37b753||!_0x37b753['is'](_0xc0c4af(0x185),_0xc0c4af(0x1fb)))&&(_0x37b753&&_0x37b753['is'](_0xc0c4af(0x185)))){let _0x3b6119=_0x37b753[_0xc0c4af(0x1e5)](_0xd0c32a);_0x3b6119||(_0x3b6119=_0x24a5e2[_0xc0c4af(0x207)](_0x24c467),_0x37b753[_0xc0c4af(0x244)](_0xd0c32a,_0x3b6119)),_0x24c467[_0xc0c4af(0x1ec)](_0x3b6119);let _0x343154=_0x37b753;for(;_0x343154[_0xc0c4af(0x21c)]&&!_0x343154[_0xc0c4af(0x21c)]['is'](_0xc0c4af(0x1f9));)_0x343154=_0x343154[_0xc0c4af(0x21c)],_0x343154[_0xc0c4af(0x1af)](_0xd0c32a)&&_0x343154[_0xc0c4af(0x239)](_0xd0c32a);_0xf07ba0[_0xc0c4af(0x1fc)](_0x3b6119,{'path':_0x37b753[_0xc0c4af(0x192)](),'getContent':this[_0xc0c4af(0x187)](_0x343154[_0xc0c4af(0x248)](!0x0),_0x3b6119,_0x464d9d[_0xc0c4af(0x1b2)])}),_0x1b3632[_0xc0c4af(0x23c)](_0x577e6a[_0xc0c4af(0x199)](_0x37b753));}}return{'content':_0x464d9d[_0xc0c4af(0x1b2)][_0xc0c4af(0x1c9)][_0xc0c4af(0x1b9)](_0x464d9d[_0xc0c4af(0x1b2)][_0xc0c4af(0x1c4)](_0x46c96d)),'version':_0x464d9d[_0xc0c4af(0x1fe)][_0xc0c4af(0x1f2)][_0xc0c4af(0x18c)],'elements':_0xf07ba0};}[_0x124335(0x1a1)](_0x3ef8d0,_0x30c1b5){const _0x94b014=_0x124335,_0x3e8cda=_0xc9b6c2(this[_0x94b014(0x22e)]),_0x3e27e5=_0x3e8cda[_0x94b014(0x1b2)][_0x94b014(0x1c0)](_0x3ef8d0,_0x94b014(0x1ad)),_0x3d48af=_0x3e8cda[_0x94b014(0x1fe)][_0x94b014(0x1dc)](_0x3e27e5,0x0),_0x1973d6=this[_0x94b014(0x22e)][_0x94b014(0x229)][_0x94b014(0x1d1)](_0x94b014(0x1fd))[_0x94b014(0x1d9)](_0x3ef8d0,_0x30c1b5,{'anchor':_0x3d48af,'markDeletions':!0x0})[_0x94b014(0x23b)]()[_0x94b014(0x21f)](_0x3641ae=>_0x94b014(0x1e3)===_0x3641ae[_0x94b014(0x1e4)]||_0x94b014(0x1ca)===_0x3641ae[_0x94b014(0x1e4)]&&_0x3641ae[_0x94b014(0x1e0)][_0x94b014(0x1b8)](_0x94b014(0x191))),_0xdcb9d2=this[_0x94b014(0x1f1)](_0x1973d6),_0x2fba97=[];let _0x4ced1c=0x0;return _0x3e8cda[_0x94b014(0x1fe)][_0x94b014(0x236)](_0x438dc4=>{const _0x1f0d1a=_0x94b014;for(let _0x815b13=0x0;_0x815b13<_0xdcb9d2[_0x1f0d1a(0x246)];_0x815b13++){const _0x1ef74f=_0xdcb9d2[_0x815b13],_0x595557=_0x438dc4[_0x1f0d1a(0x19e)]();for(const _0x19f382 of _0x3e27e5[_0x1f0d1a(0x190)]())_0x438dc4[_0x1f0d1a(0x203)](_0x19f382[_0x1f0d1a(0x248)](!0x0),_0x595557);for(const _0x33c5ad of _0x1ef74f[_0x1f0d1a(0x20d)])if(_0x1f0d1a(0x1e3)===_0x33c5ad[_0x1f0d1a(0x1e4)]){const _0x42001f=_0x33c5ad;_0x42001f[_0x1f0d1a(0x18b)]=null,_0x42001f[_0x1f0d1a(0x1e6)]=!0x1,this[_0x1f0d1a(0x1c2)](_0x42001f,_0x595557),_0x438dc4[_0x1f0d1a(0x1c5)][_0x1f0d1a(0x202)](_0x33c5ad),_0x3e8cda[_0x1f0d1a(0x1fe)][_0x1f0d1a(0x1a4)](_0x33c5ad);const _0x13dbd3=_0x1f0d1a(0x18d)+_0x4ced1c++,_0xaeb5c8=_0x3e8cda[_0x1f0d1a(0x1fe)][_0x1f0d1a(0x224)](_0x42001f[_0x1f0d1a(0x219)],_0x42001f[_0x1f0d1a(0x219)][_0x1f0d1a(0x211)](_0x42001f[_0x1f0d1a(0x17f)]));_0x595557[_0x1f0d1a(0x1ac)][_0x1f0d1a(0x1fc)](_0x13dbd3,_0xaeb5c8);}else{if(_0x1f0d1a(0x1ca)===_0x33c5ad[_0x1f0d1a(0x1e4)]&&_0x33c5ad[_0x1f0d1a(0x1e0)][_0x1f0d1a(0x1b8)](_0x1f0d1a(0x191))){const _0x5c121d=_0x33c5ad,_0x7b1ea=_0x1f0d1a(0x1ce)+_0x4ced1c++;this[_0x1f0d1a(0x1c2)](_0x5c121d,_0x595557),_0x595557[_0x1f0d1a(0x1ac)][_0x1f0d1a(0x1fc)](_0x7b1ea,_0x5c121d[_0x1f0d1a(0x193)]);}}const _0xf30646=this[_0x1f0d1a(0x1d5)](this[_0x1f0d1a(0x1b4)](this[_0x1f0d1a(0x1b6)](_0x1ef74f[_0x1f0d1a(0x20d)][0x0]),_0x595557),this[_0x1f0d1a(0x1b4)](this[_0x1f0d1a(0x223)](_0x1ef74f[_0x1f0d1a(0x20d)][_0x1ef74f[_0x1f0d1a(0x20d)][_0x1f0d1a(0x246)]-0x1]),_0x595557));_0x595557[_0x1f0d1a(0x1ac)][_0x1f0d1a(0x1fc)](ae+_0x1f0d1a(0x1a8),new _0xe35ee(_0xf30646[_0x1f0d1a(0x1ff)],_0xf30646[_0x1f0d1a(0x24c)])),_0x2fba97[_0x1f0d1a(0x1a2)]({..._0x1ef74f,'context':this[_0x1f0d1a(0x245)](_0x595557,_0x3e8cda[_0x1f0d1a(0x1b2)],{'ellipsisBefore':_0xf30646[_0x1f0d1a(0x17a)],'ellipsisAfter':_0xf30646[_0x1f0d1a(0x1b1)]}),'content':this[_0x1f0d1a(0x209)](_0x595557,_0x3e8cda[_0x1f0d1a(0x1b2)])});}}),_0x2fba97;}[_0x124335(0x1a5)](_0x5df51d,_0x2e84c2){const _0x4cb428=_0x124335,_0xab12bd=_0x5df51d[0x0][_0x4cb428(0x21c)]['id'],_0x415488=_0x2e84c2[_0x4cb428(0x208)][_0x4cb428(0x1d1)](_0xab12bd);if(!_0x415488)return void console[_0x4cb428(0x188)](_0x4cb428(0x1e8)+_0xab12bd);const _0x5529dd=_0x415488[_0x4cb428(0x21b)],_0x5f1206=_0xc9b6c2(this[_0x4cb428(0x22e)]),_0x30844f=_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x1f2)][_0x4cb428(0x1bf)][_0x4cb428(0x23b)](_0x2e84c2[_0x4cb428(0x18c)]),_0x584918=[];for(const _0x341183 of _0x5df51d){const _0x338b93=_0x341183[_0x4cb428(0x20d)][_0x4cb428(0x17e)](_0x2cb94e=>this[_0x4cb428(0x1c7)](_0x2cb94e,_0x5529dd,_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x1f2)][_0x4cb428(0x200)]()[0x0]));if(!_0x338b93||!_0x338b93[_0x4cb428(0x246)])continue;const _0x29fd6c=_0x338b93[_0x4cb428(0x22f)](_0x2cdeaf=>_0x4cb428(0x1ca)===_0x2cdeaf[_0x4cb428(0x1e4)]&&_0x2cdeaf[_0x4cb428(0x1e0)][_0x4cb428(0x1b8)](_0x4cb428(0x191))),_0x5a55d0={'document':_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x1f2)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2c3963=_0x114145(_0x338b93,_0x30844f,_0x5a55d0)[_0x4cb428(0x23e)];for(const _0x2c8aef of _0x2c3963)if(_0x4cb428(0x1e3)===_0x2c8aef[_0x4cb428(0x1e4)]){const _0x1d65e5=_0x2c8aef,_0x533f90=_0x1d65e5[_0x4cb428(0x19c)];let _0x1d2918='';for(const _0x327d72 of _0x533f90)_0x327d72&&_0x327d72['is'](_0x4cb428(0x1ab))&&(_0x1d2918+=_0x327d72[_0x4cb428(0x1b2)]);_0x584918[_0x4cb428(0x1a2)]({'start':_0x1d65e5[_0x4cb428(0x219)],'end':_0x1d65e5[_0x4cb428(0x219)],'type':_0x4cb428(0x1e3),'groupId':_0x341183['id'],'text':_0x1d2918});}else{if(_0x4cb428(0x1ca)===_0x2c8aef[_0x4cb428(0x1e4)]&&_0x2c8aef[_0x4cb428(0x1e0)][_0x4cb428(0x1b8)](_0x4cb428(0x191))){const _0x1dcb87=_0x2c8aef;let _0x71ef43=_0x4cb428(0x1a7);if(_0x29fd6c){const _0x16e113=this[_0x4cb428(0x1d0)](_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x1ff)],_0x4cb428(0x1d7),_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x240)]),_0x27dcff=this[_0x4cb428(0x1d0)](_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x24c)],_0x4cb428(0x1a9),_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x240)]);if(_0x16e113||_0x27dcff){const _0x3b09bc=_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x1ff)][_0x4cb428(0x211)](-_0x16e113),_0x120287=_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x24c)][_0x4cb428(0x211)](_0x27dcff);_0x584918[_0x4cb428(0x1a2)]({'start':_0x3b09bc,'end':_0x120287,'groupId':_0x341183['id'],'type':_0x4cb428(0x1b3)});}else _0x71ef43=_0x4cb428(0x1f5);}_0x584918[_0x4cb428(0x1a2)]({'start':_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x1ff)],'end':_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x24c)],'groupId':_0x341183['id'],'type':_0x71ef43});}}}this[_0x4cb428(0x1b5)](_0x584918);}[_0x124335(0x1da)](){const _0x3b4fa8=_0x124335;_0xc9b6c2(this[_0x3b4fa8(0x22e)])[_0x3b4fa8(0x1fe)][_0x3b4fa8(0x236)](_0x2e60df=>{const _0x198cb7=_0x3b4fa8;for(const _0x206532 of this[_0x198cb7(0x20c)][_0x198cb7(0x212)]())_0x2e60df[_0x198cb7(0x20f)](_0x206532);}),this[_0x3b4fa8(0x20c)][_0x3b4fa8(0x235)]();}[_0x124335(0x1c8)](){const _0x47a2c1=_0x124335;_0xc9b6c2(this[_0x47a2c1(0x22e)])[_0x47a2c1(0x1a3)](_0x47a2c1(0x18e));}[_0x124335(0x1f4)](){const _0x180686=_0x124335;_0xc9b6c2(this[_0x180686(0x22e)])[_0x180686(0x21a)](_0x180686(0x18e));}[_0x124335(0x222)](_0x1bebaf){const _0x287a65=_0x124335,_0x450931=_0xc9b6c2(this[_0x287a65(0x22e)]),_0x5bbdc9=_0x450931[_0x287a65(0x1fe)],_0x1681bf=_0x1bebaf[_0x287a65(0x17e)](_0x5f589e=>this[_0x287a65(0x198)](_0x5f589e))[_0x287a65(0x1e9)]();_0x5bbdc9[_0x287a65(0x236)](_0x1217b1=>{const _0x567a48=_0x287a65;for(const _0x4849d8 of _0x1681bf){const _0x4341fb=_0x450931[_0x567a48(0x1fe)][_0x567a48(0x1ac)][_0x567a48(0x1d1)](_0x4849d8['id']);_0x4341fb&&(_0x567a48(0x1e3)===_0x4849d8[_0x567a48(0x1e4)]?_0x5bbdc9[_0x567a48(0x24f)](_0x1217b1[_0x567a48(0x22d)](_0x4849d8[_0x567a48(0x178)]||''),_0x4341fb[_0x567a48(0x250)]()[_0x567a48(0x1ff)]):_0x567a48(0x1a7)!==_0x4849d8[_0x567a48(0x1e4)]&&_0x567a48(0x1f5)!==_0x4849d8[_0x567a48(0x1e4)]||_0x5bbdc9[_0x567a48(0x228)](_0x5bbdc9[_0x567a48(0x179)](_0x4341fb[_0x567a48(0x250)]())),_0x1217b1[_0x567a48(0x20f)](_0x4849d8['id']),this[_0x567a48(0x20c)][_0x567a48(0x20e)](_0x4849d8['id']));}});}[_0x124335(0x194)](_0x2780f0){const _0x5cc9c5=_0x124335,_0x36e292=_0xc9b6c2(this[_0x5cc9c5(0x22e)]),_0x580647=this[_0x5cc9c5(0x198)](_0x2780f0);_0x36e292[_0x5cc9c5(0x1fe)][_0x5cc9c5(0x236)](_0x1b60b2=>{const _0x5520b3=_0x5cc9c5;for(const _0x58b914 of _0x580647)_0x1b60b2[_0x5520b3(0x20f)](_0x58b914['id']),this[_0x5520b3(0x20c)][_0x5520b3(0x20e)](_0x58b914['id']);});}[_0x124335(0x238)](){const _0x3c0c22=_0x124335,_0x2b28b1=_0xc9b6c2(this[_0x3c0c22(0x22e)]);return _0x2b28b1&&_0x2b28b1['ui']&&_0x2b28b1['ui'][_0x3c0c22(0x185)]?_0x2b28b1['ui'][_0x3c0c22(0x185)]:null;}[_0x124335(0x1bd)](_0x3988bd){const _0x4c5bb5=_0x124335,_0x4cae6d=Array[_0x4c5bb5(0x1b7)](this[_0x4c5bb5(0x20c)][_0x4c5bb5(0x247)]())[_0x4c5bb5(0x21f)](_0x16cb97=>_0x16cb97[_0x4c5bb5(0x1c6)]===_0x3988bd);if(!_0x4cae6d[_0x4c5bb5(0x246)])return null;const _0x380dee=0x1===_0x4cae6d[_0x4c5bb5(0x246)]?_0x4cae6d[0x0]:this[_0x4c5bb5(0x20b)](_0x4cae6d)[0x0],_0x34523b=_0xc9b6c2(this[_0x4c5bb5(0x22e)]),_0x3d1ab7=_0x34523b[_0x4c5bb5(0x1fe)][_0x4c5bb5(0x1ac)][_0x4c5bb5(0x1d1)](_0x380dee['id']);if(!_0x3d1ab7)return null;const _0x8de342=_0x3d1ab7[_0x4c5bb5(0x250)](),_0x326735=_0x34523b[_0x4c5bb5(0x1ee)][_0x4c5bb5(0x17d)][_0x4c5bb5(0x226)]();if(!_0x326735||!_0x8de342)return null;const _0x5402f1=_0x326735[_0x4c5bb5(0x1ba)](_0x4c5bb5(0x1f7)+_0x380dee['id']+'\x22]');return _0x5402f1?{'modelRange':_0x8de342,'domElement':_0x5402f1}:null;}[_0x124335(0x1c7)](_0x34eba3,_0x2c43b9,_0x26c410){const _0x47d1cd=_0x124335;if(_0x47d1cd(0x1e3)===_0x34eba3[_0x47d1cd(0x1e4)]){const _0x439ef9=_0x34eba3;return new _0x1afefa(this[_0x47d1cd(0x241)](_0x439ef9[_0x47d1cd(0x219)],_0x2c43b9[_0x47d1cd(0x1cc)](_0x439ef9[_0x47d1cd(0x219)][_0x47d1cd(0x233)]),_0x26c410),_0x439ef9[_0x47d1cd(0x19c)],_0x439ef9[_0x47d1cd(0x18b)]);}if(_0x47d1cd(0x1ca)===_0x34eba3[_0x47d1cd(0x1e4)]&&_0x34eba3[_0x47d1cd(0x1e0)][_0x47d1cd(0x1b8)](_0x47d1cd(0x191))){const _0x31b4a4=_0x34eba3;return new _0x2d4cd0(_0x31b4a4[_0x47d1cd(0x1e0)],_0x31b4a4[_0x47d1cd(0x237)],this[_0x47d1cd(0x1cb)](_0x31b4a4[_0x47d1cd(0x193)],_0x2c43b9[_0x47d1cd(0x1cc)](_0x31b4a4[_0x47d1cd(0x193)][_0x47d1cd(0x1ff)][_0x47d1cd(0x233)]),_0x2c43b9[_0x47d1cd(0x1cc)](_0x31b4a4[_0x47d1cd(0x193)][_0x47d1cd(0x24c)][_0x47d1cd(0x233)]),_0x26c410),_0x31b4a4[_0x47d1cd(0x20c)],_0x31b4a4[_0x47d1cd(0x1db)],_0x31b4a4[_0x47d1cd(0x18b)]);}return _0x34eba3;}[_0x124335(0x1f1)](_0x4ed5b3){const _0x43c6d2=_0x124335;if(!_0x4ed5b3[_0x43c6d2(0x246)])return[];const _0xc6fa21=[];let _0x425181=0x0,_0x45d32b=0x0,_0x4eda4d=[];for(let _0x453f12=0x0;_0x453f12<=_0x4ed5b3[_0x43c6d2(0x246)];_0x453f12++){const _0x551c33=_0x4ed5b3[_0x453f12],_0x4298f9=_0x4ed5b3[_0x453f12-0x1];!_0x551c33||_0x4298f9&&!this[_0x43c6d2(0x223)](_0x4298f9)[_0x43c6d2(0x1ed)](this[_0x43c6d2(0x1b6)](_0x551c33))?(_0xc6fa21[_0x43c6d2(0x1a2)]({'operations':_0x4eda4d,'operationsIsolated':_0x4eda4d[_0x43c6d2(0x17e)](_0x15304b=>this[_0x43c6d2(0x1be)](_0x15304b[_0x43c6d2(0x184)](),-_0x45d32b)),'groupOffset':_0x425181}),_0x4eda4d=_0x551c33?[_0x551c33]:[],_0x45d32b+=_0x425181,_0x425181=0x0):_0x4eda4d[_0x43c6d2(0x1a2)](_0x551c33),_0x551c33&&_0x43c6d2(0x1e3)===_0x551c33[_0x43c6d2(0x1e4)]&&(_0x425181+=_0x551c33[_0x43c6d2(0x17f)]);}return _0xc6fa21;}[_0x124335(0x1d0)](_0x3d22e3,_0x551f39,_0x33f88d,_0x149751=0x1){const _0x6e89c5=_0x124335,_0x354f33=new _0x1e0cc4({'startPosition':_0x3d22e3,'direction':_0x551f39});let _0x3c6612=0x0;for(let _0x2de72d=0x0;_0x2de72d<_0x149751;_0x2de72d++){let _0x4450ad=0x0,_0x35246d=!0x1,_0x3b8258=_0x6e89c5(0x1a9)===_0x551f39?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4f0c44}of _0x354f33)if(_0x4f0c44['is'](_0x6e89c5(0x24b))){const _0x94bab=_0x3b8258[_0x6e89c5(0x1bb)](_0x4f0c44[_0x6e89c5(0x1b2)]);if(_0x94bab&&_0x94bab[_0x6e89c5(0x246)]){if(_0x4450ad+=_0x6e89c5(0x1a9)===_0x551f39?_0x94bab[_0x6e89c5(0x183)]+_0x94bab[0x0][_0x6e89c5(0x246)]:_0x4f0c44[_0x6e89c5(0x1b2)][_0x6e89c5(0x246)]-_0x94bab[_0x6e89c5(0x183)],_0x94bab[0x0][_0x6e89c5(0x246)]!==_0x4f0c44[_0x6e89c5(0x1b2)][_0x6e89c5(0x246)])break;_0x35246d=!0x0,_0x3b8258=_0x6e89c5(0x1a9)===_0x551f39?/^\w+/:/\w+$/;}else{if(_0x35246d)break;_0x4450ad+=_0x4f0c44[_0x6e89c5(0x221)];}}else{if(_0x4f0c44['is'](_0x6e89c5(0x185))){_0x33f88d[_0x6e89c5(0x214)](_0x4f0c44)&&!_0x35246d&&(_0x4450ad+=0x1);break;}}_0x3c6612+=_0x4450ad,_0x354f33[_0x6e89c5(0x23c)](_0x3d22e3[_0x6e89c5(0x211)](_0x6e89c5(0x1a9)===_0x551f39?_0x3c6612:-_0x3c6612));}return _0x3c6612;}[_0x124335(0x1d5)](_0x43320f,_0x8e016){const _0x120073=_0x124335,_0x233ae9=_0xc9b6c2(this[_0x120073(0x22e)])[_0x120073(0x1fe)][_0x120073(0x240)],_0x1b3e09=this[_0x120073(0x1d0)](_0x43320f,_0x120073(0x1d7),_0x233ae9,0x6),_0x1a8e02=this[_0x120073(0x1d0)](_0x8e016,_0x120073(0x1a9),_0x233ae9,0x6),_0x39ae89=_0x43320f[_0x120073(0x211)](-_0x1b3e09),_0x51fc6e=_0x8e016[_0x120073(0x211)](_0x1a8e02);return{'start':_0x39ae89,'end':_0x51fc6e,'hasContentBefore':!_0x39ae89[_0x120073(0x206)],'hasContentAfter':!_0x51fc6e[_0x120073(0x17c)]};}[_0x124335(0x1b5)](_0x595881){const _0x38d4c7=_0x124335,_0x49848f=this[_0x38d4c7(0x22e)][_0x38d4c7(0x229)][_0x38d4c7(0x1d1)](_0x38d4c7(0x23d)),_0x103477=new Set();_0xc9b6c2(this[_0x38d4c7(0x22e)])[_0x38d4c7(0x1fe)][_0x38d4c7(0x236)](_0x4b6da2=>{const _0x205e87=_0x38d4c7;for(const _0x5590d1 of _0x595881){const _0x409ba5=''+ae+_0x5590d1[_0x205e87(0x1e4)]+':'+_0x5590d1[_0x205e87(0x1c6)]+'_'+_0x49848f[_0x205e87(0x207)](_0x103477);this[_0x205e87(0x20c)][_0x205e87(0x1fc)](_0x409ba5,{'id':_0x409ba5,'groupId':_0x5590d1[_0x205e87(0x1c6)],'type':_0x5590d1[_0x205e87(0x1e4)],'text':_0x5590d1[_0x205e87(0x178)]}),_0x4b6da2[_0x205e87(0x227)](_0x409ba5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b6da2[_0x205e87(0x224)](_0x5590d1[_0x205e87(0x1ff)],_0x5590d1[_0x205e87(0x24c)])});}});}[_0x124335(0x245)](_0x1bb1ae,_0x41e059,_0x4bd560){let _0x43526d='';return()=>{const _0x1b6100=_0x4f1e;if(!_0x43526d){const _0x6d4c4f=_0x41e059[_0x1b6100(0x1c4)](_0x1bb1ae,{'showSuggestionHighlights':!0x0}),_0x3b6dfe=_0x6d4c4f[_0x1b6100(0x1c1)](0x0);if(!_0x3b6dfe)return'';let _0x5c64e2=!0x1;const _0x4410e4=[];for(const _0x189b4d of _0x3b6dfe[_0x1b6100(0x190)]())_0x189b4d['is'](_0x1b6100(0x185),_0x1b6100(0x22b))&&_0x189b4d[_0x1b6100(0x204)](_0x1b6100(0x1d3))&&(_0x5c64e2=!0x1),_0x5c64e2&&_0x4410e4[_0x1b6100(0x1a2)](_0x189b4d),_0x189b4d['is'](_0x1b6100(0x185),_0x1b6100(0x22b))&&_0x189b4d[_0x1b6100(0x204)](_0x1b6100(0x23a))&&(_0x5c64e2=!0x0);_0x3b6dfe[_0x1b6100(0x1f0)](0x0,_0x3b6dfe[_0x1b6100(0x1d2)]),_0x4bd560?.[_0x1b6100(0x1ae)]&&_0x3b6dfe[_0x1b6100(0x1ef)]('…'),_0x3b6dfe[_0x1b6100(0x1ef)](_0x4410e4),_0x4bd560?.[_0x1b6100(0x218)]&&_0x3b6dfe[_0x1b6100(0x1ef)]('…');const _0x543bc2=_0x41e059[_0x1b6100(0x177)][_0x1b6100(0x230)][_0x1b6100(0x1d4)](_0x6d4c4f),_0x4fe085=_0x41e059[_0x1b6100(0x177)][_0x1b6100(0x22a)][_0x1b6100(0x242)](_0x543bc2);_0x43526d=_0x4fe085;}return _0x43526d;};}[_0x124335(0x209)](_0x3ad689,_0xbbad1){const _0x332529=_0x124335;let _0x7b821a='';return()=>(_0x7b821a||(_0x7b821a=_0xbbad1[_0x332529(0x195)](_0x3ad689,{'showSuggestionHighlights':!0x0})),_0x7b821a);}[_0x124335(0x187)](_0x4b41ed,_0x5e161a,_0x240162){let _0x526505='';return()=>{const _0x144c83=_0x4f1e;if(!_0x526505){const _0x28cfe1=_0x240162[_0x144c83(0x1c4)](new _0x6c939f(_0x4b41ed)),_0x378b66=_0x240162[_0x144c83(0x177)][_0x144c83(0x230)][_0x144c83(0x1d4)](_0x28cfe1)[_0x144c83(0x1ba)](_0x144c83(0x1f6)+_0x5e161a+'\x22]');_0x526505=_0x378b66?.[_0x144c83(0x24d)]||'';}return _0x526505;};}[_0x124335(0x216)](_0x348245,_0x743efd=0x5){const _0x177be6=_0x124335;let _0x55c0c2=_0x348245,_0x4b52b9=null;for(let _0x144c96=0x0;_0x144c96<_0x743efd&&_0x55c0c2;_0x144c96++){if(!_0x55c0c2[_0x177be6(0x19d)]){_0x55c0c2=_0x55c0c2[_0x177be6(0x1a6)];continue;}if(!(''+_0x55c0c2[_0x177be6(0x19d)])[_0x177be6(0x1c3)](_0x177be6(0x20a))){_0x55c0c2=_0x55c0c2[_0x177be6(0x1a6)];continue;}if(!_0x55c0c2[_0x177be6(0x1e5)](_0x177be6(0x197)))break;_0x4b52b9=_0x55c0c2;break;}return _0x4b52b9;}[_0x124335(0x198)](_0x5e5c9b){const _0x66a234=_0x124335;return Array[_0x66a234(0x1b7)](this[_0x66a234(0x20c)][_0x66a234(0x247)]())[_0x66a234(0x21f)](_0x5e5d30=>_0x5e5d30[_0x66a234(0x1c6)]===_0x5e5c9b);}[_0x124335(0x1b6)](_0x5d680d){const _0x505aa9=_0x124335;return _0x505aa9(0x1e3)===_0x5d680d[_0x505aa9(0x1e4)]?_0x5d680d[_0x505aa9(0x219)]:_0x5d680d[_0x505aa9(0x193)][_0x505aa9(0x1ff)];}[_0x124335(0x223)](_0x5a5b1c,_0x113509=!0x1){const _0x2b7291=_0x124335;return _0x2b7291(0x1e3)===_0x5a5b1c[_0x2b7291(0x1e4)]?_0x113509?_0x5a5b1c[_0x2b7291(0x219)]:_0x5a5b1c[_0x2b7291(0x219)][_0x2b7291(0x211)](_0x5a5b1c[_0x2b7291(0x17f)]):_0x5a5b1c[_0x2b7291(0x193)][_0x2b7291(0x24c)];}[_0x124335(0x1be)](_0x50d828,_0x182af0){const _0x2634bc=_0x124335;return _0x2634bc(0x1e3)===_0x50d828[_0x2634bc(0x1e4)]?_0x50d828[_0x2634bc(0x219)]=_0x50d828[_0x2634bc(0x219)][_0x2634bc(0x211)](_0x182af0):_0x2634bc(0x1ca)===_0x50d828[_0x2634bc(0x1e4)]&&_0x50d828[_0x2634bc(0x193)]&&(_0x50d828[_0x2634bc(0x193)]=new _0xe35ee(_0x50d828[_0x2634bc(0x193)][_0x2634bc(0x1ff)][_0x2634bc(0x211)](_0x182af0),_0x50d828[_0x2634bc(0x193)][_0x2634bc(0x24c)][_0x2634bc(0x211)](_0x182af0))),_0x50d828;}[_0x124335(0x1c2)](_0x252dc5,_0x275447){const _0x3afc36=_0x124335;_0x3afc36(0x1e3)===_0x252dc5[_0x3afc36(0x1e4)]?_0x252dc5[_0x3afc36(0x219)]=this[_0x3afc36(0x1b4)](_0x252dc5[_0x3afc36(0x219)],_0x275447):_0x3afc36(0x1ca)===_0x252dc5[_0x3afc36(0x1e4)]&&_0x252dc5[_0x3afc36(0x193)]&&(_0x252dc5[_0x3afc36(0x193)]=this[_0x3afc36(0x19f)](_0x252dc5[_0x3afc36(0x193)],_0x275447));}[_0x124335(0x1b4)](_0x2a8085,_0x187d11){const _0x321e41=_0x124335;return new _0x577688(_0x187d11,_0x2a8085[_0x321e41(0x21b)]);}[_0x124335(0x19f)](_0xb30241,_0x21879d){const _0x1f3138=_0x124335;return new _0xe35ee(this[_0x1f3138(0x1b4)](_0xb30241[_0x1f3138(0x1ff)],_0x21879d),this[_0x1f3138(0x1b4)](_0xb30241[_0x1f3138(0x24c)],_0x21879d));}[_0x124335(0x241)](_0x10cbb5,_0x46393c,_0x2cbb36){return new _0x577688(_0x2cbb36,[..._0x46393c]);}[_0x124335(0x1cb)](_0x59b77e,_0x59a63c,_0x577ca6,_0x27d0a8){const _0x45d07c=_0x124335;return new _0xe35ee(this[_0x45d07c(0x241)](_0x59b77e[_0x45d07c(0x1ff)],_0x59a63c,_0x27d0a8),this[_0x45d07c(0x241)](_0x59b77e[_0x45d07c(0x24c)],_0x577ca6,_0x27d0a8));}[_0x124335(0x20b)](_0xbd167){const _0x223ea8=_0x124335,_0x5af9c6=_0x3c61ee=>{const _0x4bdfe5=_0x4f1e;switch(_0x3c61ee){case _0x4bdfe5(0x1e3):return 0x1;case _0x4bdfe5(0x1b3):return 0x2;case _0x4bdfe5(0x1f5):return 0x3;case _0x4bdfe5(0x1a7):return 0x4;}};return _0xbd167[_0x223ea8(0x1e7)]((_0x4a8074,_0x1c0d8e)=>_0x5af9c6(_0x4a8074[_0x223ea8(0x1e4)])-_0x5af9c6(_0x1c0d8e[_0x223ea8(0x1e4)]));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23bcb3=_0x1a4c;(function(_0xf1bc41,_0x4d89f8){const _0x376d1a=_0x1a4c,_0x4f37da=_0xf1bc41();while(!![]){try{const _0x2a4d89=-parseInt(_0x376d1a(0x105))/0x1+-parseInt(_0x376d1a(0xd4))/0x2+parseInt(_0x376d1a(0xe4))/0x3+parseInt(_0x376d1a(0xee))/0x4+-parseInt(_0x376d1a(0xc8))/0x5*(parseInt(_0x376d1a(0xff))/0x6)+-parseInt(_0x376d1a(0x10d))/0x7*(parseInt(_0x376d1a(0x102))/0x8)+-parseInt(_0x376d1a(0xe1))/0x9*(-parseInt(_0x376d1a(0x106))/0xa);if(_0x2a4d89===_0x4d89f8)break;else _0x4f37da['push'](_0x4f37da['shift']());}catch(_0x260248){_0x4f37da['push'](_0x4f37da['shift']());}}}(_0x37e2,0x9e031));import{ContextPlugin as _0x26402b}from'ckeditor5/src/core.js';import{IconAIReview as _0x3174d2}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5e002f}from'ckeditor5/src/ui.js';import{AITabs as _0x17a974}from'../aitabs/aitabs.js';function _0x37e2(){const _0x1f8765=['activateChange','delegate','showBalloon','showReviewCompletedView','showReviewCheckResultsView','setCheckResultTitle','getChangeElement','isOfficialPlugin','reviewMode','_reviewModeView','showGeneralErrorView','hideBalloon','dismissChange','updateChangeState','view','rejected','20kCcqoF','toggleDiff','resetActiveStateInResults','requires','detachFromDom','fire','showActionsWhenResultIsReady','showCheckRunResult','activateTab','destroy','leaveReviewMode','context','1631390wbDKgn','error-general','find','locale','accepted','setChecks','hideActionsWhenResultIsReady','get','finishReview','setTitle','setItemAsActive','AIReviewModeUI','_bodyCollection','25673337ZZJyTe','showNoChangesView','element','1429659HLHHEz','_reviewModeBalloonSuggestionItemView','AI_REVIEW_MODE','leaveReviewModeResultList','learnMore','addCheckRunResult','pluginName','attachToDom','acceptAllChanges','setItemAsInactive','2559580KBSLmJ','hideResult','showChunkErrorView','status','reviewCheckResultsView','getResults','hasChecks','forEach','AITabs','acceptChange','showChangeBalloon','getReviewCheckList','error-chunk','setAvailableChecks','init','abortReviewStream','setActiveStateInResults','1739562cTzsdS','retryReview','hideChangeBalloon','358736nQSqWU','showReviewCheckListView','reviewCheckListView','1167053eBpYCz','10PJjeIA','runReviewCheck','showCheckRunResults','plugins','isPremiumPlugin','deactivateChange','addTab','28llAGMc','showReviewCheckList'];_0x37e2=function(){return _0x1f8765;};return _0x37e2();}import{AIReviewModeView as _0x330f86}from'./ui/aireviewmodeview.js';function _0x1a4c(_0x69cb09,_0x3afa07){const _0x37e2fb=_0x37e2();return _0x1a4c=function(_0x1a4c9,_0x506785){_0x1a4c9=_0x1a4c9-0xb9;let _0x8eefb3=_0x37e2fb[_0x1a4c9];return _0x8eefb3;},_0x1a4c(_0x69cb09,_0x3afa07);}import{getTranslation as _0x1a5f3f}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x4d8b1d}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x23bcb3(0xf9),_0x23bcb3(0x107),_0x23bcb3(0xfd),_0x23bcb3(0xc9),_0x23bcb3(0xec),_0x23bcb3(0xe7),_0x23bcb3(0x10f),_0x23bcb3(0xf7),_0x23bcb3(0xc4),_0x23bcb3(0xe8),_0x23bcb3(0xdc),_0x23bcb3(0x100)];export class AIReviewModeUI extends _0x26402b{[_0x23bcb3(0xc1)];[_0x23bcb3(0xe5)];[_0x23bcb3(0xe0)];static get[_0x23bcb3(0xcb)](){return[_0x17a974];}static get[_0x23bcb3(0xea)](){const _0x9fb9c6=_0x23bcb3;return _0x9fb9c6(0xdf);}static get[_0x23bcb3(0xbf)](){return!0x0;}static get[_0x23bcb3(0x10a)](){return!0x0;}constructor(_0x2651a2){const _0x26861e=_0x23bcb3;super(_0x2651a2),this[_0x26861e(0xe0)]=new _0x5e002f(this[_0x26861e(0xd3)][_0x26861e(0xd7)]),this[_0x26861e(0xe0)][_0x26861e(0xeb)](),this[_0x26861e(0xc1)]=new _0x330f86(this[_0x26861e(0xd3)][_0x26861e(0xd7)]),this[_0x26861e(0xc1)][_0x26861e(0xb9)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x26861e(0xe5)]=new _0x4d8b1d(this[_0x26861e(0xd3)][_0x26861e(0xd7)],this[_0x26861e(0xe0)]),this[_0x26861e(0xe5)][_0x26861e(0xb9)](_0x26861e(0xf7),_0x26861e(0xc4),_0x26861e(0x10b))['to'](this);}[_0x23bcb3(0xfc)](){const _0x5cea31=_0x23bcb3,_0x312176=this[_0x5cea31(0xd3)][_0x5cea31(0x109)][_0x5cea31(0xdb)](_0x5cea31(0xf6));_0x312176[_0x5cea31(0xc6)]['on'](_0x5cea31(0xd0),(_0x4d43ac,_0x568d58)=>{const _0x3538cb=_0x5cea31;_0x3538cb(0xc0)===_0x568d58?this[_0x3538cb(0xcd)](_0x3538cb(0xf9)):this[_0x3538cb(0xcd)](_0x3538cb(0xd2));}),_0x312176[_0x5cea31(0xc6)][_0x5cea31(0x10c)]({'id':_0x5cea31(0xc0),'buttonLabel':_0x1a5f3f(this[_0x5cea31(0xd3)][_0x5cea31(0xd7)],_0x5cea31(0xe6)),'buttonIcon':_0x3174d2,'order':0x0,'content':this[_0x5cea31(0xc1)]});}[_0x23bcb3(0xd1)](){const _0x9f4384=_0x23bcb3;this[_0x9f4384(0xe0)][_0x9f4384(0xcc)](),super[_0x9f4384(0xd1)]();}[_0x23bcb3(0xfb)](_0x674ee7){const _0x591175=_0x23bcb3;this[_0x591175(0xc1)][_0x591175(0x104)][_0x591175(0xf4)]()||this[_0x591175(0xc1)][_0x591175(0x104)][_0x591175(0xd9)](_0x674ee7),this[_0x591175(0xc1)][_0x591175(0x103)]();}[_0x23bcb3(0x10e)](){const _0x1d1858=_0x23bcb3;this[_0x1d1858(0xcd)](_0x1d1858(0xf9));}[_0x23bcb3(0x108)](_0x1e8755){const _0x2853af=_0x23bcb3;_0x1e8755&&(_0x2853af(0xd5)!==_0x1e8755[_0x2853af(0xf1)]?_0x2853af(0xfa)!==_0x1e8755[_0x2853af(0xf1)]?this[_0x2853af(0xc1)][_0x2853af(0xbc)]():this[_0x2853af(0xf0)]():this[_0x2853af(0xc2)]());}[_0x23bcb3(0xcf)](_0x583c1b){const _0x4a0c57=_0x23bcb3;this[_0x4a0c57(0xc1)][_0x4a0c57(0xe9)](_0x583c1b);}[_0x23bcb3(0xc2)](){const _0x21012c=_0x23bcb3;this[_0x21012c(0xc1)][_0x21012c(0xc2)]();}[_0x23bcb3(0xf0)](){const _0x4f6216=_0x23bcb3;this[_0x4f6216(0xc1)][_0x4f6216(0xf0)]();}[_0x23bcb3(0xbd)](_0x2a55ea){const _0x198075=_0x23bcb3;this[_0x198075(0xc1)][_0x198075(0xf2)][_0x198075(0xdd)](_0x2a55ea);}[_0x23bcb3(0xfe)](_0x9b17b3){const _0x75a861=_0x23bcb3;this[_0x75a861(0xc1)][_0x75a861(0xf2)][_0x75a861(0xf3)]()[_0x75a861(0xf5)](_0x4483d3=>{const _0x5173f4=_0x75a861;_0x4483d3['id']===_0x9b17b3&&_0x4483d3[_0x5173f4(0xde)]();});}[_0x23bcb3(0xca)](){const _0x29d79a=_0x23bcb3;this[_0x29d79a(0xc1)][_0x29d79a(0xf2)][_0x29d79a(0xf3)]()[_0x29d79a(0xf5)](_0x3cfcfc=>_0x3cfcfc[_0x29d79a(0xed)]());}[_0x23bcb3(0xc5)](_0x48d4d3,_0x4fab77){const _0x45771d=_0x23bcb3;_0x45771d(0xd8)!==_0x4fab77&&_0x45771d(0xc7)!==_0x4fab77||this[_0x45771d(0xc1)][_0x45771d(0xf2)][_0x45771d(0xef)](_0x48d4d3);}[_0x23bcb3(0xbb)](){const _0x277617=_0x23bcb3;this[_0x277617(0xc1)][_0x277617(0xbb)]();}[_0x23bcb3(0xce)](){const _0x481acd=_0x23bcb3;this[_0x481acd(0xc1)][_0x481acd(0xce)]();}[_0x23bcb3(0xe2)](){const _0x290a64=_0x23bcb3;this[_0x290a64(0xc1)][_0x290a64(0xe2)]();}[_0x23bcb3(0xda)](){const _0xec840d=_0x23bcb3;this[_0xec840d(0xc1)][_0xec840d(0xda)]();}[_0x23bcb3(0xf8)](_0x210a40,_0x1b6f57){const _0x13ec10=_0x23bcb3;this[_0x13ec10(0xe5)][_0x13ec10(0xba)](_0x210a40,_0x1b6f57);}[_0x23bcb3(0x101)](){const _0x168fb7=_0x23bcb3;this[_0x168fb7(0xe5)][_0x168fb7(0xc3)]();}[_0x23bcb3(0xbe)](_0x5ca75a){const _0x46c674=_0x23bcb3,_0x18f345=this[_0x46c674(0xc1)][_0x46c674(0xf2)][_0x46c674(0xf3)]()[_0x46c674(0xd6)](_0x56b4b9=>_0x56b4b9['id']===_0x5ca75a);return _0x18f345?_0x18f345[_0x46c674(0xe3)]:null;}[_0x23bcb3(0x10b)](){const _0x2fca2=_0x23bcb3;this[_0x2fca2(0xe5)][_0x2fca2(0x10b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x15af(){var _0xb8da5c=['21snWAAf','8JhrpHf','title','description','358372ajpihS','51365gZRhTJ','2459180TGfeur','isParameterized','7YKPkdu','203715FqVGlR','3755448KrDHLQ','useArgs','2444574JGEFZB','options','91702kilYtA','11BjWWLl'];_0x15af=function(){return _0xb8da5c;};return _0x15af();}function _0x6a39(_0x113aa9,_0xc680f4){var _0x15afa7=_0x15af();return _0x6a39=function(_0x6a3942,_0xeb8d75){_0x6a3942=_0x6a3942-0x173;var _0x57cbfc=_0x15afa7[_0x6a3942];return _0x57cbfc;},_0x6a39(_0x113aa9,_0xc680f4);}var _0x350485=_0x6a39;(function(_0x4352bf,_0x560f8d){var _0x21486c=_0x6a39,_0x20895c=_0x4352bf();while(!![]){try{var _0x13a1e9=-parseInt(_0x21486c(0x174))/0x1+parseInt(_0x21486c(0x17e))/0x2*(parseInt(_0x21486c(0x180))/0x3)+parseInt(_0x21486c(0x181))/0x4*(parseInt(_0x21486c(0x175))/0x5)+-parseInt(_0x21486c(0x17c))/0x6*(parseInt(_0x21486c(0x178))/0x7)+parseInt(_0x21486c(0x17a))/0x8+-parseInt(_0x21486c(0x179))/0x9+-parseInt(_0x21486c(0x176))/0xa*(-parseInt(_0x21486c(0x17f))/0xb);if(_0x13a1e9===_0x560f8d)break;else _0x20895c['push'](_0x20895c['shift']());}catch(_0x1829ab){_0x20895c['push'](_0x20895c['shift']());}}}(_0x15af,0x41880));export class AIReviewCheck{['id'];[_0x350485(0x182)];[_0x350485(0x173)];[_0x350485(0x177)];[_0x350485(0x17b)];[_0x350485(0x17d)];constructor({id:_0x9d99b3,title:_0x122d19,description:_0x54f2ef,isParameterized:_0x513ff7,useArgs:_0x17b743,options:_0x106fe6}){var _0x7d6e01=_0x350485;this['id']=_0x9d99b3,this[_0x7d6e01(0x182)]=_0x122d19,this[_0x7d6e01(0x173)]=_0x54f2ef,this[_0x7d6e01(0x177)]=_0x513ff7,this[_0x7d6e01(0x17b)]=_0x17b743,this[_0x7d6e01(0x17d)]=_0x106fe6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xab10(_0x5d8401,_0x43a19d){var _0x131ca1=_0x131c();return _0xab10=function(_0xab10eb,_0x3213da){_0xab10eb=_0xab10eb-0x18b;var _0x7928e7=_0x131ca1[_0xab10eb];return _0x7928e7;},_0xab10(_0x5d8401,_0x43a19d);}var _0x46d4c3=_0xab10;function _0x131c(){var _0xdf66cd=['1SyqZsg','349815RQoggw','models','8nosuGb','3044363nAcdbH','195215VHGzho','40fplmyj','4751091zUWotK','_models','232766KIUpxO','4859350jIospR','2198508dupqwr'];_0x131c=function(){return _0xdf66cd;};return _0x131c();}(function(_0x3c71aa,_0x2ce4ff){var _0x269b57=_0xab10,_0xc46d61=_0x3c71aa();while(!![]){try{var _0x3947b8=parseInt(_0x269b57(0x192))/0x1*(-parseInt(_0x269b57(0x18f))/0x2)+-parseInt(_0x269b57(0x193))/0x3+parseInt(_0x269b57(0x18c))/0x4*(parseInt(_0x269b57(0x18b))/0x5)+-parseInt(_0x269b57(0x191))/0x6+parseInt(_0x269b57(0x196))/0x7+parseInt(_0x269b57(0x195))/0x8*(parseInt(_0x269b57(0x18d))/0x9)+-parseInt(_0x269b57(0x190))/0xa;if(_0x3947b8===_0x2ce4ff)break;else _0xc46d61['push'](_0xc46d61['shift']());}catch(_0x124c3a){_0xc46d61['push'](_0xc46d61['shift']());}}}(_0x131c,0x41679));import{AIReviewCheck as _0x4aab75}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x4aab75{[_0x46d4c3(0x18e)]=[];get[_0x46d4c3(0x194)](){var _0x1bff03=_0x46d4c3;return this[_0x1bff03(0x18e)];}set[_0x46d4c3(0x194)](_0x24f5fb){var _0x20f633=_0x46d4c3;this[_0x20f633(0x18e)]=_0x24f5fb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4511(_0x37bd5d,_0x11d865){var _0x4eee63=_0x4eee();return _0x4511=function(_0x4511f9,_0x27fe5b){_0x4511f9=_0x4511f9-0xa9;var _0x375d92=_0x4eee63[_0x4511f9];return _0x375d92;},_0x4511(_0x37bd5d,_0x11d865);}function _0x4eee(){var _0x5c3eba=['4542198HnIJWA','2386647ncspPI','_checks','47156CYduML','793163ThcuKm','_mapCheckDefinitions','getCheckById','find','2515zbFPHu','14897230JpapOa','map','4yldgPF','8PEdapJ','12368IysvIA','custom','checks','3780060FtYmhO','22SeUXBK'];_0x4eee=function(){return _0x5c3eba;};return _0x4eee();}var _0x151754=_0x4511;(function(_0x3c3ef3,_0x4860fa){var _0x19b6dd=_0x4511,_0xb075ef=_0x3c3ef3();while(!![]){try{var _0x1ac1ea=parseInt(_0x19b6dd(0xa9))/0x1*(-parseInt(_0x19b6dd(0xb3))/0x2)+parseInt(_0x19b6dd(0xae))/0x3+parseInt(_0x19b6dd(0xab))/0x4*(parseInt(_0x19b6dd(0xb8))/0x5)+parseInt(_0x19b6dd(0xb0))/0x6+-parseInt(_0x19b6dd(0xb4))/0x7*(-parseInt(_0x19b6dd(0xaa))/0x8)+parseInt(_0x19b6dd(0xb1))/0x9+-parseInt(_0x19b6dd(0xb9))/0xa*(parseInt(_0x19b6dd(0xaf))/0xb);if(_0x1ac1ea===_0x4860fa)break;else _0xb075ef['push'](_0xb075ef['shift']());}catch(_0x363408){_0xb075ef['push'](_0xb075ef['shift']());}}}(_0x4eee,0xd6207));import{ObservableMixin as _0x1649b8}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x12cb04}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x45b186}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x1649b8(){[_0x151754(0xb2)];constructor(_0x55ddf1){var _0xde8e14=_0x151754;super(),this[_0xde8e14(0xb2)]=this[_0xde8e14(0xb5)](_0x55ddf1);}get[_0x151754(0xad)](){var _0xc82808=_0x151754;return this[_0xc82808(0xb2)];}[_0x151754(0xb6)](_0x8e3a69){var _0x97ae43=_0x151754;return this[_0x97ae43(0xad)][_0x97ae43(0xb7)](_0xf32352=>_0xf32352['id']===_0x8e3a69);}[_0x151754(0xb5)](_0x1152ae){var _0x22ea75=_0x151754;return _0x1152ae[_0x22ea75(0xba)](_0x1c6780=>_0x22ea75(0xac)===_0x1c6780['id']?new _0x45b186(_0x1c6780):new _0x12cb04(_0x1c6780));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x77c650=_0xbc0f;function _0xbc0f(_0x55f289,_0x2e12d4){var _0x2eb3a0=_0x2eb3();return _0xbc0f=function(_0xbc0fa6,_0x491d23){_0xbc0fa6=_0xbc0fa6-0x1a8;var _0x46a065=_0x2eb3a0[_0xbc0fa6];return _0x46a065;},_0xbc0f(_0x55f289,_0x2e12d4);}(function(_0x4d800c,_0x39210c){var _0x2974ac=_0xbc0f,_0xbaff46=_0x4d800c();while(!![]){try{var _0x372c37=-parseInt(_0x2974ac(0x1b5))/0x1*(-parseInt(_0x2974ac(0x1b6))/0x2)+-parseInt(_0x2974ac(0x1a8))/0x3*(-parseInt(_0x2974ac(0x1b1))/0x4)+-parseInt(_0x2974ac(0x1b4))/0x5+parseInt(_0x2974ac(0x1aa))/0x6+-parseInt(_0x2974ac(0x1b0))/0x7*(parseInt(_0x2974ac(0x1b2))/0x8)+-parseInt(_0x2974ac(0x1ab))/0x9*(-parseInt(_0x2974ac(0x1af))/0xa)+-parseInt(_0x2974ac(0x1ac))/0xb*(parseInt(_0x2974ac(0x1ad))/0xc);if(_0x372c37===_0x39210c)break;else _0xbaff46['push'](_0xbaff46['shift']());}catch(_0x46d159){_0xbaff46['push'](_0xbaff46['shift']());}}}(_0x2eb3,0xa62a3));import{EmitterMixin as _0x99aeac}from'ckeditor5/src/utils.js';function _0x2eb3(){var _0x350712=['4025845JVrCEU','21233HbUCpS','64EFTTBt','1749711OlZyzS','documentVersion','3069342zlcKND','1197XzMCGx','6448299TOirkJ','24ePNVlG','contentNew','65980Dsfsjl','4037761DbigBG','8cwYgAD','8mtPUkp','contentInitial'];_0x2eb3=function(){return _0x350712;};return _0x2eb3();}export class AIReviewCheckResult extends _0x99aeac(){['id'];[_0x77c650(0x1ae)];[_0x77c650(0x1b3)];[_0x77c650(0x1a9)];constructor({id:_0x2c4d33,contentNew:_0x51fa48,contentInitial:_0x2cc291,documentVersion:_0x56f466}){var _0x249425=_0x77c650;super(),this['id']=_0x2c4d33,this[_0x249425(0x1ae)]=_0x51fa48,this[_0x249425(0x1b3)]=_0x2cc291,this[_0x249425(0x1a9)]=_0x56f466;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xc454(_0x4e1017,_0x4c235c){var _0xe8982c=_0xe898();return _0xc454=function(_0xc45486,_0x1f862b){_0xc45486=_0xc45486-0x1bd;var _0x57104c=_0xe8982c[_0xc45486];return _0x57104c;},_0xc454(_0x4e1017,_0x4c235c);}var _0x35b786=_0xc454;function _0xe898(){var _0x15ef29=['122877QpFOAn','operations','_data','status','operationsIsolated','active','_editorOperations','2145860nhcTIf','1619592FBMZbn','31587AVWbIJ','38qSdqkF','158578bNhnBa','parent','contentDiffed','context','120vyXBkn','212305dvkZCY','isActivated','381429GFqvwM','set'];_0xe898=function(){return _0x15ef29;};return _0xe898();}(function(_0x4767fa,_0x58f934){var _0x5d3e4d=_0xc454,_0x23ccf3=_0x4767fa();while(!![]){try{var _0x263959=parseInt(_0x5d3e4d(0x1cc))/0x1+-parseInt(_0x5d3e4d(0x1c4))/0x2*(parseInt(_0x5d3e4d(0x1c3))/0x3)+parseInt(_0x5d3e4d(0x1c1))/0x4+parseInt(_0x5d3e4d(0x1ca))/0x5+-parseInt(_0x5d3e4d(0x1c2))/0x6+parseInt(_0x5d3e4d(0x1c5))/0x7+parseInt(_0x5d3e4d(0x1c9))/0x8*(-parseInt(_0x5d3e4d(0x1ce))/0x9);if(_0x263959===_0x58f934)break;else _0x23ccf3['push'](_0x23ccf3['shift']());}catch(_0x277499){_0x23ccf3['push'](_0x23ccf3['shift']());}}}(_0xe898,0x4b407));import{ObservableMixin as _0x57838c}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x57838c(){['id'];[_0x35b786(0x1c6)];[_0x35b786(0x1d0)];[_0x35b786(0x1c0)]=[];constructor(_0x2667af,_0x1c7e01,_0x39bb0e){var _0x4e319c=_0x35b786;super(),this['id']=_0x2667af,this[_0x4e319c(0x1c6)]=_0x39bb0e,this[_0x4e319c(0x1d0)]=_0x1c7e01,this[_0x4e319c(0x1cd)](_0x4e319c(0x1cb),!0x1),this[_0x4e319c(0x1cd)](_0x4e319c(0x1bd),_0x4e319c(0x1bf));}get[_0x35b786(0x1c7)](){var _0x4265ea=_0x35b786;return this[_0x4265ea(0x1d0)][_0x4265ea(0x1c8)]();}get[_0x35b786(0x1cf)](){var _0x2d117d=_0x35b786;return this[_0x2d117d(0x1d0)][_0x2d117d(0x1cf)];}get[_0x35b786(0x1be)](){var _0x5da9d7=_0x35b786;return this[_0x5da9d7(0x1d0)][_0x5da9d7(0x1be)];}}
|
|
@@ -23,6 +23,7 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
|
|
|
23
23
|
* The check run ID.
|
|
24
24
|
*/
|
|
25
25
|
readonly id: string;
|
|
26
|
+
callId?: string;
|
|
26
27
|
constructor(documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector, params?: Array<string>, args?: Record<string, any>);
|
|
27
28
|
/**
|
|
28
29
|
* Returns the document data obtained at the time of the check run.
|
|
@@ -58,6 +59,9 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
|
|
|
58
59
|
activateChange(changeId: string): void;
|
|
59
60
|
deactivateChange(): void;
|
|
60
61
|
forceReadyState(): void;
|
|
62
|
+
getAcceptedChangesCount(): number;
|
|
63
|
+
getTotalChangesCount(): number;
|
|
64
|
+
get reviewName(): string;
|
|
61
65
|
}
|
|
62
66
|
export type AIReviewCheckRunUpdatedEvent = {
|
|
63
67
|
name: 'reviewCheckRunUpdated';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23e536=_0xdd60;(function(_0x2c6aa6,_0x357824){const _0x51ae31=_0xdd60,_0x6a1b0a=_0x2c6aa6();while(!![]){try{const _0x2664bc=parseInt(_0x51ae31(0xdd))/0x1*(-parseInt(_0x51ae31(0xbd))/0x2)+-parseInt(_0x51ae31(0xbc))/0x3+parseInt(_0x51ae31(0xbe))/0x4+parseInt(_0x51ae31(0xb6))/0x5*(-parseInt(_0x51ae31(0xe7))/0x6)+-parseInt(_0x51ae31(0xb3))/0x7+-parseInt(_0x51ae31(0xcf))/0x8+parseInt(_0x51ae31(0x104))/0x9;if(_0x2664bc===_0x357824)break;else _0x6a1b0a['push'](_0x6a1b0a['shift']());}catch(_0x2c6de3){_0x6a1b0a['push'](_0x6a1b0a['shift']());}}}(_0x8fc3,0x586b6));import{ObservableMixin as _0xece2d4,uid as _0x1b7607}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2598fc}from'./aireviewcheckresult.js';function _0xdd60(_0x24a46b,_0xc48948){const _0x8fc30c=_0x8fc3();return _0xdd60=function(_0xdd608a,_0x30b8d6){_0xdd608a=_0xdd608a-0xad;let _0x3671f0=_0x8fc30c[_0xdd608a];return _0x3671f0;},_0xdd60(_0x24a46b,_0xc48948);}import{AIReviewCheckResultChange as _0x52dffb}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xece2d4(){['id']=_0x1b7607();[_0x23e536(0xf2)]=new Map();[_0x23e536(0xca)]=[];[_0x23e536(0x102)];[_0x23e536(0xd2)];[_0x23e536(0xf1)];[_0x23e536(0xb0)];[_0x23e536(0xd3)];[_0x23e536(0xf6)]=null;[_0x23e536(0xd5)];[_0x23e536(0xee)];constructor(_0x3a867f,_0x2ca904,_0x234ebc,_0x402d4c,_0x7aad04){const _0x31ff0f=_0x23e536;super(),this[_0x31ff0f(0x102)]=_0x3a867f,this[_0x31ff0f(0xd2)]=_0x2ca904,this[_0x31ff0f(0xf1)]=_0x234ebc,this[_0x31ff0f(0xb0)]=_0x402d4c,this[_0x31ff0f(0xd3)]=_0x7aad04,this['on'](_0x31ff0f(0xc3),(_0x3175c8,_0x5a62b8,_0xd4687a)=>{const _0x296d09=_0x31ff0f;this[_0x296d09(0xb1)](_0x296d09(0xc7),{'status':_0xd4687a,'run':this,'error':this[_0x296d09(0xd5)]});}),this[_0x31ff0f(0xd1)](_0x31ff0f(0xba),_0x31ff0f(0xc9));}get[_0x23e536(0xdc)](){const _0x38f13f=_0x23e536;return this[_0x38f13f(0x102)];}get[_0x23e536(0xd7)](){const _0x5be5fb=_0x23e536;return this[_0x5be5fb(0xf2)][_0x5be5fb(0xd6)];}get[_0x23e536(0xf5)](){const _0x327599=_0x23e536;return this[_0x327599(0xd2)][_0x327599(0xf5)];}async[_0x23e536(0xfb)](){const _0x6480a3=_0x23e536;this[_0x6480a3(0xba)]=_0x6480a3(0xe5),this[_0x6480a3(0xd5)]=void 0x0;try{this[_0x6480a3(0xf6)]=this[_0x6480a3(0xeb)]();const _0x2a7715=await this[_0x6480a3(0xf6)][_0x6480a3(0xd8)]();this[_0x6480a3(0xba)]=_0x6480a3(0xb2);for await(const _0x14b00c of _0x2a7715)_0x6480a3(0xd0)!==_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xcd)]&&(_0x6480a3(0xc8)!==_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xcd)]?_0x6480a3(0xf8)!==_0x14b00c[_0x6480a3(0xe8)]?this[_0x6480a3(0xe6)](_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xed)],_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xe3)]):this[_0x6480a3(0xee)]=_0x14b00c[_0x6480a3(0xb2)][_0x6480a3(0xee)]:this[_0x6480a3(0xba)]=_0x6480a3(0xf3));_0x6480a3(0xf3)!==this[_0x6480a3(0xba)]&&(0x0===this[_0x6480a3(0xf2)][_0x6480a3(0xd6)]?this[_0x6480a3(0xba)]=_0x6480a3(0xd0):this[_0x6480a3(0xba)]=_0x6480a3(0xbf));}catch(_0x519157){this[_0x6480a3(0xd5)]=_0x519157,_0x519157 instanceof Error&&_0x519157[_0x6480a3(0xce)][_0x6480a3(0xe9)](_0x6480a3(0xc4))?this[_0x6480a3(0xba)]=_0x6480a3(0xc6):this[_0x6480a3(0xba)]=_0x6480a3(0xbb);}finally{this[_0x6480a3(0xf6)]=null;}}async[_0x23e536(0xfd)](){const _0xbaaca0=_0x23e536;this[_0xbaaca0(0xf2)][_0xbaaca0(0xff)](),this[_0xbaaca0(0xca)][_0xbaaca0(0xb7)]=0x0,this[_0xbaaca0(0xd5)]=void 0x0,await this[_0xbaaca0(0xfb)]();}[_0x23e536(0xb8)](_0x37ef6d,_0x838b6a){const _0x1bcbe9=_0x23e536,_0x349ed0=this[_0x1bcbe9(0xf2)][_0x1bcbe9(0xb4)](_0x37ef6d);if(!_0x349ed0)return;const _0x2b3609=[];_0x838b6a[_0x1bcbe9(0xc0)]((_0xcf7739,_0x35dbb4)=>{const _0x508613=_0x1bcbe9,_0x550942=new _0x52dffb(_0x349ed0['id']+'-'+_0x35dbb4,_0xcf7739,_0x349ed0);_0x550942['on'](_0x508613(0xc3),()=>{const _0x5cd814=_0x508613;_0x5cd814(0xf9)===_0x550942[_0x5cd814(0xba)]?this[_0x5cd814(0xb1)](_0x5cd814(0xfa),{'change':_0x550942}):_0x5cd814(0xf0)===_0x550942[_0x5cd814(0xba)]&&this[_0x5cd814(0xb1)](_0x5cd814(0x100),{'change':_0x550942});}),_0x550942['on'](_0x508613(0xef),()=>{const _0x161208=_0x508613;_0x550942[_0x161208(0xad)]?this[_0x161208(0xb1)](_0x161208(0xd4),{'change':_0x550942}):this[_0x161208(0xb1)](_0x161208(0xb5),{'change':_0x550942});}),this[_0x508613(0xca)][_0x508613(0xc2)](_0x550942),_0x2b3609[_0x508613(0xc2)](_0x550942);}),this[_0x1bcbe9(0xb1)](_0x1bcbe9(0xec),{'changes':_0x2b3609,'result':_0x349ed0,'source':this});}[_0x23e536(0xb9)](){const _0x2617a9=_0x23e536;this[_0x2617a9(0xf6)]&&(this[_0x2617a9(0xf6)][_0x2617a9(0xdf)][_0x2617a9(0xb9)](),this[_0x2617a9(0xf6)]=null,this[_0x2617a9(0xba)]=_0x2617a9(0xc6));}[_0x23e536(0xe4)](_0x262732){const _0xc714f=_0x23e536,_0x2615be=this[_0xc714f(0xca)][_0xc714f(0xf7)](_0x445968=>_0x445968['id']===_0x262732);return!(!_0x2615be||_0xc714f(0xcb)!==_0x2615be[_0xc714f(0xba)]);}[_0x23e536(0xae)](){const _0x253c35=_0x23e536;return this[_0x253c35(0xca)][_0x253c35(0xc1)](_0x10e2fd=>_0x253c35(0xcb)===_0x10e2fd[_0x253c35(0xba)]);}[_0x23e536(0xcc)](){const _0x1ce73e=_0x23e536;for(const _0x5abb86 of this[_0x1ce73e(0xca)])_0x1ce73e(0xcb)===_0x5abb86[_0x1ce73e(0xba)]&&(_0x5abb86[_0x1ce73e(0xba)]=_0x1ce73e(0xf9));this[_0x1ce73e(0xde)]();}[_0x23e536(0xe0)](_0x1c1fe6){const _0x536d2c=_0x23e536,_0x591a8f=this[_0x536d2c(0xca)][_0x536d2c(0xf7)](_0xda731f=>_0xda731f['id']===_0x1c1fe6);_0x591a8f&&_0x536d2c(0xcb)===_0x591a8f[_0x536d2c(0xba)]&&(_0x591a8f[_0x536d2c(0xba)]=_0x536d2c(0xf9)),this[_0x536d2c(0xde)]();}[_0x23e536(0xc5)](_0x437b7d){const _0x32f971=_0x23e536,_0x5d691=this[_0x32f971(0xca)][_0x32f971(0xf7)](_0x222b5d=>_0x222b5d['id']===_0x437b7d);_0x5d691&&_0x32f971(0xcb)===_0x5d691[_0x32f971(0xba)]&&(_0x5d691[_0x32f971(0xba)]=_0x32f971(0xf0)),this[_0x32f971(0xde)]();}[_0x23e536(0xfe)](_0x47edc7){const _0x257a38=_0x23e536;this[_0x257a38(0xca)][_0x257a38(0xc1)](_0x25674d=>_0x25674d[_0x257a38(0xad)]&&_0x25674d['id']!==_0x47edc7)[_0x257a38(0xc0)](_0x35983b=>{const _0x48eb9e=_0x257a38;_0x35983b[_0x48eb9e(0xad)]=!0x1;});const _0x370a29=this[_0x257a38(0xca)][_0x257a38(0xf7)](_0x22ec14=>_0x22ec14['id']===_0x47edc7);_0x370a29&&(_0x370a29[_0x257a38(0xad)]=!0x0);}[_0x23e536(0x103)](){const _0x120ac1=_0x23e536;this[_0x120ac1(0xca)][_0x120ac1(0xc1)](_0x59d582=>_0x59d582[_0x120ac1(0xad)])[_0x120ac1(0xc0)](_0x322c6d=>{const _0x1afb4b=_0x120ac1;_0x322c6d[_0x1afb4b(0xad)]=!0x1;});}[_0x23e536(0xaf)](){const _0x20ef17=_0x23e536;this[_0x20ef17(0xba)]=_0x20ef17(0xbf);}[_0x23e536(0xe6)](_0x305d53,_0x40e465){const _0xb44691=_0x23e536,_0x459c6d=this[_0xb44691(0x102)][_0xb44691(0xea)][_0xb44691(0xb4)](_0x305d53);if(!_0x459c6d)return;const _0x18f197=_0x459c6d[_0xb44691(0xe1)]();if(_0x18f197===_0x40e465)return;const _0x2119bc=new _0x2598fc({'id':_0x305d53,'contentInitial':_0x18f197,'contentNew':_0x40e465,'documentVersion':this[_0xb44691(0x102)][_0xb44691(0xfc)]});this[_0xb44691(0xf2)][_0xb44691(0xd1)](_0x2119bc['id'],_0x2119bc),this[_0xb44691(0xb1)](_0xb44691(0xda),{'result':_0x2119bc,'source':this});}[_0x23e536(0xde)](){const _0x2ac7c7=_0x23e536;if(_0x2ac7c7(0xbf)!==this[_0x2ac7c7(0xba)])return;0x0===this[_0x2ac7c7(0xca)][_0x2ac7c7(0xc1)](_0x162ae1=>_0x2ac7c7(0xcb)===_0x162ae1[_0x2ac7c7(0xba)])[_0x2ac7c7(0xb7)]&&(this[_0x2ac7c7(0xba)]=_0x2ac7c7(0xe2));}[_0x23e536(0xeb)](){const _0x1b63ce=_0x23e536;throw new Error(_0x1b63ce(0xf4));}[_0x23e536(0xd9)](){const _0x31d71a=_0x23e536;return this[_0x31d71a(0xca)][_0x31d71a(0xc1)](_0x437a15=>_0x31d71a(0xf9)===_0x437a15[_0x31d71a(0xba)])[_0x31d71a(0xb7)];}[_0x23e536(0xdb)](){const _0x2576d4=_0x23e536;return this[_0x2576d4(0xca)][_0x2576d4(0xb7)];}get[_0x23e536(0x101)](){const _0x22027d=_0x23e536;return this[_0x22027d(0xd2)]['id'];}}function _0x8fc3(){const _0xe30d5e=['1005513nFFUXb','226kvlizO','1144188KVuZbJ','ready','forEach','filter','push','change:status','ai-request-aborted','markChangeAsRejected','aborted','reviewCheckRunUpdated','error','initialized','_changes','active','markAllChangesAsAccepted','operation','message','740952XahEHW','unmodified','set','_sourceCheck','_reviewArgs','reviewCheckResultActivated','_currentError','size','processedResultsCount','getStream','getAcceptedChangesCount','reviewCheckResultAdded','getTotalChangesCount','documentData','3851NlkZXZ','_checkIfFinished','abortController','markChangeAsAccepted','getContent','finished','textDelta','isChangeActive','loading','_addReviewCheckResult','15672uEjUuv','event','includes','elements','_createApiRequest','reviewCheckResultReady','dataId','callId','change:isActivated','rejected','_aiConnector','_results','error-chunk','Not\x20implemented.','title','_activeRequest','find','review-metadata','accepted','reviewCheckResultAccepted','start','version','restart','activateChange','clear','reviewCheckResultRejected','reviewName','_documentData','deactivateChange','15422409VQmjhU','isActivated','getActiveChanges','forceReadyState','_reviewParams','fire','data','4836615TKbrMg','get','reviewCheckResultDeactivated','160VDEjBv','length','addResultChanges','abort','status','error-general'];_0x8fc3=function(){return _0xe30d5e;};return _0x8fc3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3634fe=_0x2866;(function(_0x310651,_0x13eb4d){var _0x319dab=_0x2866,_0x3aaced=_0x310651();while(!![]){try{var _0x5380a1=-parseInt(_0x319dab(0x1dd))/0x1+-parseInt(_0x319dab(0x1d8))/0x2*(parseInt(_0x319dab(0x1da))/0x3)+-parseInt(_0x319dab(0x1d6))/0x4+parseInt(_0x319dab(0x1d5))/0x5+-parseInt(_0x319dab(0x1e0))/0x6+parseInt(_0x319dab(0x1db))/0x7*(-parseInt(_0x319dab(0x1de))/0x8)+parseInt(_0x319dab(0x1d3))/0x9;if(_0x5380a1===_0x13eb4d)break;else _0x3aaced['push'](_0x3aaced['shift']());}catch(_0x39e9c1){_0x3aaced['push'](_0x3aaced['shift']());}}}(_0x29b3,0xdd28b));function _0x2866(_0x249be7,_0x19a63f){var _0x29b3ce=_0x29b3();return _0x2866=function(_0x28664e,_0x586cf0){_0x28664e=_0x28664e-0x1d3;var _0x3e4f2e=_0x29b3ce[_0x28664e];return _0x3e4f2e;},_0x2866(_0x249be7,_0x19a63f);}import{AIReviewCheckRun as _0xc11469}from'./aireviewcheckrun.js';function _0x29b3(){var _0x10c701=['2643687YMttQN','5089441qCrUTr','title','1681525ytaZrx','8nlbdLL','_prompt','839394bMfSjn','callCustomReview','_createApiRequest','_aiConnector','23172453uUsfyy','_model','8949675WTSssq','116276eoOTko','_documentData','2AFKlDk','content'];_0x29b3=function(){return _0x10c701;};return _0x29b3();}export class AIReviewCustomCheckRun extends _0xc11469{[_0x3634fe(0x1df)];[_0x3634fe(0x1d4)];constructor(_0x313e4e,_0xed99cb,_0x44dcd5,_0x173e17,_0x47d3ef){var _0x500399=_0x3634fe;super(_0x44dcd5,_0x173e17,_0x47d3ef),this[_0x500399(0x1df)]=_0x313e4e,this[_0x500399(0x1d4)]=_0xed99cb;}get[_0x3634fe(0x1dc)](){var _0x4a3e9f=_0x3634fe;return this[_0x4a3e9f(0x1df)];}[_0x3634fe(0x1e2)](){var _0x90fd4=_0x3634fe;return this[_0x90fd4(0x1e3)][_0x90fd4(0x1e1)]({'content':this[_0x90fd4(0x1d7)][_0x90fd4(0x1d9)],'prompt':this[_0x90fd4(0x1df)],'model':this[_0x90fd4(0x1d4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x24efec=_0x12c6;function _0x408e(){const _0x124a39=['41mOnZVq','length','152AxPTfl','77454uyQQqS','10082uNsmsO','_modelList','getModels','12758010yKMVXG','_connector','getAll','list','4100aPqGfA','2460EOKuXF','items','1678748GuVEMv','3360154jddFZe','1830201DVXeTT'];_0x408e=function(){return _0x124a39;};return _0x408e();}(function(_0x45fcc2,_0x4b4a2d){const _0x2ef1fe=_0x12c6,_0x4b2f43=_0x45fcc2();while(!![]){try{const _0x36e6f0=parseInt(_0x2ef1fe(0x13c))/0x1*(parseInt(_0x2ef1fe(0x12f))/0x2)+-parseInt(_0x2ef1fe(0x13b))/0x3+parseInt(_0x2ef1fe(0x139))/0x4+parseInt(_0x2ef1fe(0x136))/0x5*(-parseInt(_0x2ef1fe(0x137))/0x6)+-parseInt(_0x2ef1fe(0x13a))/0x7+-parseInt(_0x2ef1fe(0x13e))/0x8*(parseInt(_0x2ef1fe(0x12e))/0x9)+parseInt(_0x2ef1fe(0x132))/0xa;if(_0x36e6f0===_0x4b4a2d)break;else _0x4b2f43['push'](_0x4b2f43['shift']());}catch(_0x140314){_0x4b2f43['push'](_0x4b2f43['shift']());}}}(_0x408e,0x4c42e));function _0x12c6(_0x2037ba,_0x12e9c8){const _0x408eda=_0x408e();return _0x12c6=function(_0x12c616,_0x17bb37){_0x12c616=_0x12c616-0x12e;let _0x4c7d78=_0x408eda[_0x12c616];return _0x4c7d78;},_0x12c6(_0x2037ba,_0x12e9c8);}import{EmitterMixin as _0xbf57cb}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0xbf57cb(){[_0x24efec(0x130)]=[];[_0x24efec(0x133)];constructor({connector:_0x2efba2}){const _0x52ffae=_0x24efec;super(),this[_0x52ffae(0x133)]=_0x2efba2;}async[_0x24efec(0x134)](){const _0x31402a=_0x24efec;if(!this[_0x31402a(0x130)][_0x31402a(0x13d)])try{const _0x575d3c=this[_0x31402a(0x133)][_0x31402a(0x131)](),_0x351f77=await _0x575d3c[_0x31402a(0x135)]();this[_0x31402a(0x130)]=_0x351f77[_0x31402a(0x138)];}catch{}return this[_0x31402a(0x130)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2c7063=_0x23fa;(function(_0x16b5d7,_0xf0595f){const _0x1c61b9=_0x23fa,_0x32c7ba=_0x16b5d7();while(!![]){try{const _0x94ae78=parseInt(_0x1c61b9(0xeb))/0x1*(parseInt(_0x1c61b9(0xf8))/0x2)+parseInt(_0x1c61b9(0xfe))/0x3+parseInt(_0x1c61b9(0x101))/0x4+-parseInt(_0x1c61b9(0xf5))/0x5+parseInt(_0x1c61b9(0x102))/0x6*(-parseInt(_0x1c61b9(0xf2))/0x7)+parseInt(_0x1c61b9(0xef))/0x8+-parseInt(_0x1c61b9(0x103))/0x9;if(_0x94ae78===_0xf0595f)break;else _0x32c7ba['push'](_0x32c7ba['shift']());}catch(_0x1e2670){_0x32c7ba['push'](_0x32c7ba['shift']());}}}(_0xc4d9,0xc226f));import{AIReviewCheckRun as _0x5f1a40}from'./aireviewcheckrun.js';function _0x23fa(_0x15e0cb,_0x544c2a){const _0xc4d947=_0xc4d9();return _0x23fa=function(_0x23fa7e,_0xf88ee4){_0x23fa7e=_0x23fa7e-0xeb;let _0x9e60f4=_0xc4d947[_0x23fa7e];return _0x9e60f4;},_0x23fa(_0x15e0cb,_0x544c2a);}function _0xc4d9(){const _0x147a58=['432237fQWRAG','find','callSystemReview','content','2614120tpYoxN','push','_sourceCheck','995127TVNYVk','_aiConnector','_composeReviewName','4990795sepBPb','title','options','2FCZiId','useArgs','label','data','_reviewArgs','length','3218382BUpPfv','_documentData','_reviewParams','5336668vfNCqN','18DLKkPr','8514666KoMPLx','_createApiRequest','join'];_0xc4d9=function(){return _0x147a58;};return _0xc4d9();}export class AIReviewSystemCheckRun extends _0x5f1a40{get[_0x2c7063(0xf6)](){const _0x4a78e5=_0x2c7063;if(!this[_0x4a78e5(0x100)]||0x0===this[_0x4a78e5(0x100)][_0x4a78e5(0xfd)]||this[_0x4a78e5(0xf1)][_0x4a78e5(0xf9)])return this[_0x4a78e5(0xf1)][_0x4a78e5(0xf6)];const _0x2b93db=[];if(this[_0x4a78e5(0x100)][_0x4a78e5(0xfd)]>0x0&&this[_0x4a78e5(0xf1)][_0x4a78e5(0xf7)])for(let _0x2881c7=0x0;_0x2881c7<this[_0x4a78e5(0x100)][_0x4a78e5(0xfd)];_0x2881c7++){if(!this[_0x4a78e5(0x100)][_0x2881c7]||!this[_0x4a78e5(0xf1)][_0x4a78e5(0xf7)][_0x2881c7])continue;const _0x5a758a=this[_0x4a78e5(0xf1)][_0x4a78e5(0xf7)][_0x2881c7],_0xbbf087=_0x5a758a[_0x4a78e5(0xfb)]?.[_0x4a78e5(0xec)](_0x539eed=>_0x539eed['id']===this[_0x4a78e5(0x100)][_0x2881c7]);_0xbbf087&&_0x2b93db[_0x4a78e5(0xf0)](_0xbbf087[_0x4a78e5(0xfa)]);}return this[_0x4a78e5(0xf1)][_0x4a78e5(0xf6)]+':\x20'+_0x2b93db[_0x4a78e5(0x105)](',\x20');}[_0x2c7063(0x104)](){const _0x384f65=_0x2c7063;return this[_0x384f65(0xf3)][_0x384f65(0xed)]({'reviewName':this[_0x384f65(0xf4)](),'content':this[_0x384f65(0xff)][_0x384f65(0xee)],'args':this[_0x384f65(0xfc)]});}[_0x2c7063(0xf4)](){const _0x1170ee=_0x2c7063;return!this[_0x1170ee(0x100)]||0x0===this[_0x1170ee(0x100)][_0x1170ee(0xfd)]||this[_0x1170ee(0xf1)][_0x1170ee(0xf9)]?this[_0x1170ee(0xf1)]['id']:[this[_0x1170ee(0xf1)]['id'],...this[_0x1170ee(0x100)]][_0x1170ee(0x105)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3d4c(_0x238dd7,_0x219640){var _0x5f24b4=_0x5f24();return _0x3d4c=function(_0x3d4ce7,_0x19e0a6){_0x3d4ce7=_0x3d4ce7-0x16e;var _0x29351b=_0x5f24b4[_0x3d4ce7];return _0x29351b;},_0x3d4c(_0x238dd7,_0x219640);}var _0x50fdea=_0x3d4c;(function(_0x8d0ac8,_0x33094b){var _0x137ace=_0x3d4c,_0x30e507=_0x8d0ac8();while(!![]){try{var _0x729998=-parseInt(_0x137ace(0x189))/0x1*(-parseInt(_0x137ace(0x17a))/0x2)+parseInt(_0x137ace(0x17d))/0x3+parseInt(_0x137ace(0x186))/0x4*(-parseInt(_0x137ace(0x18a))/0x5)+parseInt(_0x137ace(0x181))/0x6+-parseInt(_0x137ace(0x172))/0x7*(parseInt(_0x137ace(0x17b))/0x8)+-parseInt(_0x137ace(0x171))/0x9*(-parseInt(_0x137ace(0x188))/0xa)+-parseInt(_0x137ace(0x180))/0xb*(-parseInt(_0x137ace(0x170))/0xc);if(_0x729998===_0x33094b)break;else _0x30e507['push'](_0x30e507['shift']());}catch(_0x17148e){_0x30e507['push'](_0x30e507['shift']());}}}(_0x5f24,0x96d25));import{TextareaView as _0x52903b}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x52903b{static [_0x50fdea(0x18b)]=0x1;static [_0x50fdea(0x179)]=0xc;constructor(_0x54a053){var _0x5606b0=_0x50fdea;super(_0x54a053),this[_0x5606b0(0x174)](_0x5606b0(0x17e),!0x0),this[_0x5606b0(0x187)]=AIReviewModePromptInputView[_0x5606b0(0x18b)],this[_0x5606b0(0x183)]=AIReviewModePromptInputView[_0x5606b0(0x179)],this[_0x5606b0(0x182)]({'attributes':{'id':_0x5606b0(0x17f),'class':['ck',_0x5606b0(0x176)]}}),this[_0x5606b0(0x182)]({'on':{'click':this[_0x5606b0(0x177)]['to'](_0x6a96e4=>{var _0x3fa776=_0x5606b0;_0x6a96e4[_0x3fa776(0x184)]();})}});}[_0x50fdea(0x16f)](){var _0x2f60ac=_0x50fdea;super[_0x2f60ac(0x16f)](),this['on'](_0x2f60ac(0x17c),()=>{var _0x55e2b3=_0x2f60ac;this[_0x55e2b3(0x17e)]=''===this[_0x55e2b3(0x185)][_0x55e2b3(0x175)]?.[_0x55e2b3(0x178)]();});}[_0x50fdea(0x173)](_0x1ba507){var _0x175f98=_0x50fdea;this[_0x175f98(0x174)](_0x175f98(0x16e),_0x1ba507);}}function _0x5f24(){var _0x41b2cc=['bindTemplate','trim','MAX_ROWS','20bsuTkt','5648FhBqQo','update','502299dMqVYU','isEmpty','ai-review-mode-prompt-input','201399gfhYpr','1884078jHZYIx','extendTemplate','maxRows','stopPropagation','element','4efnjAb','minRows','20kOyiMJ','23341cDAjef','1650290LspwjJ','MIN_ROWS','placeholder','render','156iGvBSY','4482261HfhMSX','9926CEAOMC','setPlaceholderText','set','value','ck-review-mode__prompt-input'];_0x5f24=function(){return _0x41b2cc;};return _0x5f24();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x21aa47=_0x3810;function _0x3810(_0x3f20b7,_0x41fef3){const _0x4bbf93=_0x4bbf();return _0x3810=function(_0x381061,_0x3746cc){_0x381061=_0x381061-0xd1;let _0x3b0665=_0x4bbf93[_0x381061];return _0x3b0665;},_0x3810(_0x3f20b7,_0x41fef3);}(function(_0x572968,_0x5bb0e6){const _0x24c219=_0x3810,_0x19b3a3=_0x572968();while(!![]){try{const _0x4b485b=-parseInt(_0x24c219(0xf8))/0x1+parseInt(_0x24c219(0xe9))/0x2*(-parseInt(_0x24c219(0xf0))/0x3)+-parseInt(_0x24c219(0xdd))/0x4+parseInt(_0x24c219(0xe1))/0x5+parseInt(_0x24c219(0xf1))/0x6+-parseInt(_0x24c219(0xee))/0x7+-parseInt(_0x24c219(0xdc))/0x8*(-parseInt(_0x24c219(0xd9))/0x9);if(_0x4b485b===_0x5bb0e6)break;else _0x19b3a3['push'](_0x19b3a3['shift']());}catch(_0x3f0644){_0x19b3a3['push'](_0x19b3a3['shift']());}}}(_0x4bbf,0x8738b));import{BalloonPanelView as _0x12000e,View as _0x263b23,clickOutsideHandler as _0x136d45}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0xd9155f}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x12000e{[_0x21aa47(0xe8)];constructor(_0x3afaa0,_0x597180){const _0x51fef0=_0x21aa47;super(_0x3afaa0),this[_0x51fef0(0xd2)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x51fef0(0xd4)]({'tag':_0x51fef0(0xe5),'attributes':{'class':[_0x51fef0(0xe7)],'tabindex':'-1'}}),this[_0x51fef0(0xd8)][_0x51fef0(0xd6)](this[_0x51fef0(0xf7)]()),_0x597180[_0x51fef0(0xd6)](this),_0x136d45({'emitter':this,'activator':()=>this[_0x51fef0(0xf4)],'contextElements':[this[_0x51fef0(0xdb)]],'callback':()=>{const _0x4f1d6c=_0x51fef0;this[_0x4f1d6c(0xd3)](),this[_0x4f1d6c(0xf3)]();}});}[_0x21aa47(0xeb)](_0xe89c6a){const _0x3d0686=_0x21aa47;this[_0x3d0686(0xe8)][_0x3d0686(0xd1)]=_0xe89c6a['id'],this[_0x3d0686(0xe8)][_0x3d0686(0xde)][_0x3d0686(0xdb)][_0x3d0686(0xe0)]=_0xe89c6a[_0x3d0686(0xe2)];}[_0x21aa47(0xdf)](_0x1d12cd,_0x234f37){const _0x1738c8=_0x21aa47;this[_0x1738c8(0xeb)](_0x1d12cd),this[_0x1738c8(0xef)](),this[_0x1738c8(0xf6)]({'target':_0x234f37});}[_0x21aa47(0xd3)](){const _0x587c72=_0x21aa47;this[_0x587c72(0xed)](),this[_0x587c72(0xf5)]();}[_0x21aa47(0xf3)](){const _0x41b660=_0x21aa47;this[_0x41b660(0xea)](_0x41b660(0xf3));}[_0x21aa47(0xf7)](){const _0x486b00=_0x21aa47,_0x284f50=new _0x263b23();return this[_0x486b00(0xe8)]=new _0xd9155f(this[_0x486b00(0xe6)],''),this[_0x486b00(0xe8)][_0x486b00(0xde)][_0x486b00(0xd4)]({'attributes':{'class':[_0x486b00(0xe4)]}}),this[_0x486b00(0xe8)][_0x486b00(0xe3)](_0x486b00(0xda),_0x486b00(0xec))['to'](this),_0x284f50[_0x486b00(0xd5)]({'tag':_0x486b00(0xe5),'attributes':{'class':[_0x486b00(0xe7),_0x486b00(0xf2)]},'children':[{'tag':'p','attributes':{'class':[_0x486b00(0xd7)]},'children':[this[_0x486b00(0xe8)]]}]}),_0x284f50;}}function _0x4bbf(){const _0x77b264=['7368NnOOxh','3050196OvMmrP','ck-ai-review-mode-balloon-panel-suggestion','deactivateChange','isVisible','unpin','pin','_createContentView','296290TbXSnV','changeId','set','hideBalloon','extendTemplate','setTemplate','add','ck-ai-review-mode__suggestion-text','content','1074267MLOmNf','acceptChange','element','88GMuVFN','1012500sWrbxI','resultResponseView','showBalloon','innerHTML','4781645cDXqyD','contentDiffed','delegate','ck-content','div','locale','ck-reset','resultItemView','580KIxfvD','fire','updateContent','dismissChange','hide','6735162IirnjQ','show'];_0x4bbf=function(){return _0x77b264;};return _0x4bbf();}
|