@ckeditor/ckeditor5-ai 47.2.0-alpha.1 → 47.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/ar.po +34 -34
- package/lang/translations/bg.po +26 -26
- package/lang/translations/bn.po +26 -26
- package/lang/translations/ca.po +26 -26
- package/lang/translations/cs.po +28 -28
- package/lang/translations/da.po +26 -26
- package/lang/translations/de.po +26 -26
- package/lang/translations/el.po +26 -26
- package/lang/translations/es.po +26 -26
- package/lang/translations/et.po +26 -26
- package/lang/translations/fi.po +26 -26
- package/lang/translations/fr.po +26 -26
- package/lang/translations/he.po +26 -26
- package/lang/translations/hi.po +26 -26
- package/lang/translations/hu.po +26 -26
- package/lang/translations/id.po +24 -24
- package/lang/translations/it.po +26 -26
- package/lang/translations/ja.po +24 -24
- package/lang/translations/ko.po +24 -24
- package/lang/translations/lt.po +28 -28
- package/lang/translations/lv.po +28 -28
- package/lang/translations/ms.po +24 -24
- package/lang/translations/nl.po +26 -26
- package/lang/translations/no.po +26 -26
- package/lang/translations/pl.po +28 -28
- package/lang/translations/pt-br.po +26 -26
- package/lang/translations/pt.po +26 -26
- package/lang/translations/ro.po +28 -28
- package/lang/translations/ru.po +28 -28
- package/lang/translations/sk.po +28 -28
- package/lang/translations/sr.po +28 -28
- package/lang/translations/sv.po +26 -26
- package/lang/translations/th.po +24 -24
- package/lang/translations/tr.po +26 -26
- package/lang/translations/uk.po +28 -28
- package/lang/translations/vi.po +24 -24
- package/lang/translations/zh-cn.po +24 -24
- package/lang/translations/zh.po +24 -24
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -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.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.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/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/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 +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/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.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.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/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5d82(){const _0x3ca3b6=['8iDUvCV','showDiffInBalloon','showCheckRunResult','dismissChange','ai-review-mode-check-run-general-error','markChangePositionInEditorContent','description','_OPTIONS_DATA_','args','finishReview','_aiReviewModeUi','ck-ai-review-mode-highlights','_changeActivationSource','forceReadyState','hideDiffInBalloon','change','listenTo','getChangeElement','content','aborted','showChunkErrorView','finished','diffContent','changeMarkerRemoved','acceptAllChanges','processedResultsCount','ai.reviewMode.translations','8236080EInXjo','closest','setCheckResultTitle','leaveReviewModeResultList','544GZtCAp','getMarkerElementForChange','init','loading','activateChange','subTitle','documentData','unmodified','toUpperCase','abortReviewStream','domElement','model','_aiReviewCheckList','reviewCheckResultDeactivated','requires','status','_TITLE','_isDiffOn','showCheckRunResults','addClass','emitter','resetActiveStateInResults','getCheckById','ck-ai-review-mode-diff','checks','2984784oPMxEG','isChangeActive','find','contentInitial','getActiveChanges','_OPTIONS_LABEL','error-general','getDocumentData','3833055ASFhAu','_onDiffChange','source','ai-review-mode-check-run-chunk-error','params','255609wEloZp','AI_REVIEW_CHECK_','_logError','changes','hideChangeBalloon','_aiConnector','removeClass','ai-review-mode-check-run-failed','AIReviewModeEditing','getRoot','retryReview','5vBWbMH','message','panel','showActionsWhenResultIsReady','contentNew','deactivateChange','showGeneralErrorView','sendRating','stopListening','acceptChange','ai-review-mode-no-current-check-run','switchToEdit','hasModifications','plugins','pluginName','updateChangeState','applyChange','title','runReviewCheck','changeId','getAll','toggleDiff','reviewCheckRunUpdated','setActiveStateInResults','ready','getEditor','_getTranslationWithDefault','map','48LcVyGo','_DESCRIPTION','isPremiumPlugin','rejectChange','get','label','prompt','switchToReadOnly','result','showReviewCompletedView','data','_onReviewModeRunLeave','custom','AI_MODEL_DESCRIPTION_','showReviewCheckList','start','AIReviewModeController','isCustom','74329qxJEWF','reviewCheckResultChangeStatusUpdated','_translateReviewChecks','34636JcYqtA','reviewCheckResultReady','showNoChangesView','markChangeAsOutdated','reviewCheckResultActivated','reviewCheckResultAdded','locale','_aiReviewModeEditing','document','getReviewCheckList','markChangeAsPending','1892472IELkpK','context','translate','config','addResultChanges','length','AIConnector','ai-request-aborted','models','ai-review-mode-source-check-not-found','changeMarkerRestored','_currentReviewCheckRun','.ck-ai-review-mode__check-run-result','editing','isOfficialPlugin','error-chunk','includes','setAvailableChecks','view','clearAllMarkers','showChangeBalloon','changeMarkerClick','replaceAll','AIReviewModeUI','options','markAllChangesAsAccepted','abort','leaveReviewMode','markChangeAsAccepted','markChangeAsRejected','restart','currentError'];_0x5d82=function(){return _0x3ca3b6;};return _0x5d82();}const _0x21c3ca=_0x5ae7;function _0x5ae7(_0xe623bd,_0x1dc143){const _0x5d823b=_0x5d82();return _0x5ae7=function(_0x5ae781,_0x3f470f){_0x5ae781=_0x5ae781-0x172;let _0x4fc7f9=_0x5d823b[_0x5ae781];return _0x4fc7f9;},_0x5ae7(_0xe623bd,_0x1dc143);}(function(_0x7371c8,_0x397242){const _0x1b346a=_0x5ae7,_0x14aa14=_0x7371c8();while(!![]){try{const _0x1d9289=parseInt(_0x1b346a(0x217))/0x1*(parseInt(_0x1b346a(0x199))/0x2)+-parseInt(_0x1b346a(0x1de))/0x3*(parseInt(_0x1b346a(0x205))/0x4)+parseInt(_0x1b346a(0x1e9))/0x5*(parseInt(_0x1b346a(0x179))/0x6)+parseInt(_0x1b346a(0x21a))/0x7*(parseInt(_0x1b346a(0x1b8))/0x8)+-parseInt(_0x1b346a(0x1d9))/0x9+parseInt(_0x1b346a(0x1b4))/0xa+parseInt(_0x1b346a(0x1d1))/0xb;if(_0x1d9289===_0x397242)break;else _0x14aa14['push'](_0x14aa14['shift']());}catch(_0x1c1145){_0x14aa14['push'](_0x14aa14['shift']());}}}(_0x5d82,0x91765));import{ContextPlugin as _0x1721dc}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e21a3,logError as _0x221a16,scrollAncestorsToShowTarget as _0x5a6b8f,scrollViewportToShowTarget as _0x8fccfd}from'ckeditor5/src/utils.js';import{AIConnector as _0x3078e7}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x2e3c5f}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x1de102}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x2c6f3d}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4bc57b}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x295cac}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x1448c3}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x1721dc{[_0x21c3ca(0x1e3)];[_0x21c3ca(0x1a3)];[_0x21c3ca(0x175)];[_0x21c3ca(0x1c4)];[_0x21c3ca(0x184)];[_0x21c3ca(0x1c9)]=!0x1;[_0x21c3ca(0x1a5)]=null;static get[_0x21c3ca(0x1c6)](){return[_0x3078e7];}static get[_0x21c3ca(0x1f7)](){const _0x3cb7a3=_0x21c3ca;return _0x3cb7a3(0x215);}static get[_0x21c3ca(0x187)](){return!0x0;}static get[_0x21c3ca(0x207)](){return!0x0;}async[_0x21c3ca(0x1ba)](){const _0x2e8ec5=_0x21c3ca;this[_0x2e8ec5(0x1e3)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x17f)),this[_0x2e8ec5(0x1a3)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x190)),this[_0x2e8ec5(0x175)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x1e6));const _0x1a5bdc=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x17c)][_0x2e8ec5(0x209)](_0x2e8ec5(0x1b3));if(_0x1a5bdc){for(const _0x303d8e of _0x295cac)_0x2e8ec5(0x17b)===_0x303d8e['id']&&(_0x303d8e[_0x2e8ec5(0x191)][0x0][_0x2e8ec5(0x20f)]=_0x1a5bdc);}const _0x2bd835=this[_0x2e8ec5(0x219)](_0x295cac);this[_0x2e8ec5(0x1c4)]=new _0x2e3c5f(_0x2bd835);const _0x3c54f9=this[_0x2e8ec5(0x1c4)][_0x2e8ec5(0x1d0)][_0x2e8ec5(0x1d3)](_0x54ec41=>_0x2e8ec5(0x211)===_0x54ec41['id']);if(_0x3c54f9){const _0x33fff0=await new _0x4bc57b({'connector':this[_0x2e8ec5(0x1e3)]})[_0x2e8ec5(0x1fd)]();_0x3c54f9[_0x2e8ec5(0x181)]=_0x33fff0[_0x2e8ec5(0x204)](_0x22c0a0=>({..._0x22c0a0,'description':this[_0x2e8ec5(0x203)](_0x2e8ec5(0x212)+_0x22c0a0['id'][_0x2e8ec5(0x1c0)](),_0x22c0a0[_0x2e8ec5(0x19f)])}));}this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x177),()=>{const _0x1d770c=_0x2e8ec5;this[_0x1d770c(0x1a3)][_0x1d770c(0x18a)](this[_0x1d770c(0x1c4)][_0x1d770c(0x1d0)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1fb),async(_0x19154f,_0x3837fe)=>{const _0xa0c065=_0x2e8ec5,_0x3fbb92=this[_0xa0c065(0x1c4)][_0xa0c065(0x1ce)](_0x3837fe['id']);if(_0x3fbb92){this[_0xa0c065(0x1da)](this[_0xa0c065(0x1c9)]),_0x3837fe[_0xa0c065(0x216)]?this[_0xa0c065(0x184)]=new _0x2c6f3d(_0x3837fe[_0xa0c065(0x1a1)][_0xa0c065(0x20b)],_0x3837fe[_0xa0c065(0x1a1)][_0xa0c065(0x1c3)],this[_0xa0c065(0x175)][_0xa0c065(0x1d8)](),_0x3fbb92,this[_0xa0c065(0x1e3)]):this[_0xa0c065(0x184)]=new _0x1de102(this[_0xa0c065(0x175)][_0xa0c065(0x1d8)](),_0x3fbb92,this[_0xa0c065(0x1e3)],_0x3837fe[_0xa0c065(0x1dd)],_0x3837fe[_0xa0c065(0x1a1)]),this[_0xa0c065(0x1a3)][_0xa0c065(0x1b6)](this[_0xa0c065(0x184)][_0xa0c065(0x1fa)],this[_0xa0c065(0x184)][_0xa0c065(0x1bd)]),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x1ff),(_0x3895db,_0x417c1a)=>{const _0x2d5b52=_0xa0c065;_0x2d5b52(0x20f)===_0x417c1a[_0x2d5b52(0x1c7)]||_0x2d5b52(0x1bb)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x175)][_0x2d5b52(0x20c)](),this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ca)](_0x417c1a)):_0x2d5b52(0x1ae)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x20e)]():_0x2d5b52(0x201)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ec)]():_0x2d5b52(0x1bf)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x21c)]():_0x2d5b52(0x1d7)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ef)](),this[_0x2d5b52(0x1e0)](new _0x4e21a3(_0x2d5b52(0x19d),this,this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x198)]))):_0x2d5b52(0x188)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ad)](),this[_0x2d5b52(0x1e0)](new _0x4e21a3(_0x2d5b52(0x1dc),this,this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x198)]))):_0x2d5b52(0x1ac)===_0x417c1a[_0x2d5b52(0x1c7)]&&(this[_0x2d5b52(0x184)]&&this[_0x2d5b52(0x184)][_0x2d5b52(0x1b2)]>0x0?setTimeout(()=>{const _0x1aa16a=_0x2d5b52;this[_0x1aa16a(0x184)]?.[_0x1aa16a(0x1a6)]();},0x0):this[_0x2d5b52(0x210)](!0x0)),_0x2d5b52(0x201)!==_0x417c1a[_0x2d5b52(0x1c7)]&&_0x2d5b52(0x188)!==_0x417c1a[_0x2d5b52(0x1c7)]&&_0x2d5b52(0x1d7)!==_0x417c1a[_0x2d5b52(0x1c7)]||this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x1f0)]();}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x173),(_0x202222,_0x5cb6b9)=>{const _0x3cd408=_0xa0c065;if(!this[_0x3cd408(0x184)])throw new _0x4e21a3(_0x3cd408(0x1f3),this);const _0x247eed=this[_0x3cd408(0x175)][_0x3cd408(0x1af)](_0x5cb6b9[_0x3cd408(0x20d)][_0x3cd408(0x1d4)],_0x5cb6b9[_0x3cd408(0x20d)][_0x3cd408(0x1ed)]);_0x5cb6b9[_0x3cd408(0x1db)][_0x3cd408(0x17d)](_0x5cb6b9[_0x3cd408(0x20d)]['id'],_0x247eed);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x21b),(_0x4db190,_0x5ac8f2)=>{const _0x2df1d2=_0xa0c065;for(const _0x2793cf of _0x5ac8f2[_0x2df1d2(0x1e1)])this[_0x2df1d2(0x1a3)][_0x2df1d2(0x19b)](_0x2793cf);this[_0x2df1d2(0x175)][_0x2df1d2(0x19e)](_0x5ac8f2[_0x2df1d2(0x1e1)],_0x5ac8f2[_0x2df1d2(0x1db)][_0x2df1d2(0x1be)]);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x218),(_0x58c8d3,_0x39bf1e)=>{const _0x22d7b9=_0xa0c065;this[_0x22d7b9(0x1a3)][_0x22d7b9(0x1f8)](_0x39bf1e[_0x22d7b9(0x1a8)]['id'],_0x39bf1e[_0x22d7b9(0x1c7)]);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x172),(_0x9253ad,_0x1ac144)=>{const _0x35e8d9=_0xa0c065;this[_0x35e8d9(0x1a3)][_0x35e8d9(0x200)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);const _0x2a5f84=this[_0x35e8d9(0x175)][_0x35e8d9(0x1b9)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);if(_0x2a5f84){if(_0x35e8d9(0x1ab)===this[_0x35e8d9(0x1a5)]){const _0x2743c8=this[_0x35e8d9(0x1a3)][_0x35e8d9(0x1aa)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);_0x2743c8&&_0x5a6b8f(_0x2743c8[_0x35e8d9(0x1b5)](_0x35e8d9(0x185))||_0x2743c8);}else{if(_0x35e8d9(0x1eb)===this[_0x35e8d9(0x1a5)]){const _0x5eb658={'target':_0x2a5f84[_0x35e8d9(0x1c2)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x8fccfd(_0x5eb658);}}this[_0x35e8d9(0x1a3)][_0x35e8d9(0x18d)](_0x1ac144[_0x35e8d9(0x1a8)],_0x2a5f84[_0x35e8d9(0x1c2)]);}}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x1c5),()=>{const _0x186d71=_0xa0c065;this[_0x186d71(0x1a3)][_0x186d71(0x1cd)](),this[_0x186d71(0x1a3)][_0x186d71(0x1e2)]();});try{await this[_0xa0c065(0x184)][_0xa0c065(0x214)]();}catch(_0x450b79){_0x450b79 instanceof Error&&_0x450b79[_0xa0c065(0x1ea)][_0xa0c065(0x189)](_0xa0c065(0x180))||(_0x450b79 instanceof _0x4e21a3?this[_0xa0c065(0x1e0)](_0x450b79):this[_0xa0c065(0x1e0)](new _0x4e21a3(_0xa0c065(0x1e5),this,{'error':_0x450b79})));}}else this[_0xa0c065(0x1e0)](new _0x4e21a3(_0xa0c065(0x182),this,{'checkId':_0x3837fe['id']}));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x194),()=>{const _0x180c3e=_0x2e8ec5;this[_0x180c3e(0x210)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1b7),()=>{const _0x2a88df=_0x2e8ec5;this[_0x2a88df(0x210)](!0x0);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1c1),()=>{const _0x1f95df=_0x2e8ec5;this[_0x1f95df(0x184)]&&this[_0x1f95df(0x184)][_0x1f95df(0x193)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1a2),()=>{const _0x24d752=_0x2e8ec5;this[_0x24d752(0x210)](!0x0);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1b1),()=>{const _0xaf3d4e=_0x2e8ec5;if(!this[_0xaf3d4e(0x184)])return;const _0x4bc67b=this[_0xaf3d4e(0x184)][_0xaf3d4e(0x1d5)]();_0x4bc67b[_0xaf3d4e(0x17e)]&&(this[_0xaf3d4e(0x175)][_0xaf3d4e(0x1f9)](_0x4bc67b[_0xaf3d4e(0x204)](_0x4ff191=>_0x4ff191['id'])),this[_0xaf3d4e(0x184)][_0xaf3d4e(0x192)](),this[_0xaf3d4e(0x184)][_0xaf3d4e(0x1f0)]());}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1f2),(_0x473e6b,_0x6c57a8)=>{const _0x136dc6=_0x2e8ec5;this[_0x136dc6(0x184)]&&this[_0x136dc6(0x184)][_0x136dc6(0x1d2)](_0x6c57a8['id'])&&(this[_0x136dc6(0x175)][_0x136dc6(0x1f9)]([_0x6c57a8['id']]),this[_0x136dc6(0x184)][_0x136dc6(0x195)](_0x6c57a8['id']),this[_0x136dc6(0x1a3)][_0x136dc6(0x1e2)](),this[_0x136dc6(0x184)][_0x136dc6(0x1f0)](_0x6c57a8['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x19c),(_0x377b5b,_0x4556c1)=>{const _0x46fff2=_0x2e8ec5;this[_0x46fff2(0x184)]&&this[_0x46fff2(0x184)][_0x46fff2(0x1d2)](_0x4556c1['id'])&&(this[_0x46fff2(0x175)][_0x46fff2(0x208)](_0x4556c1['id']),this[_0x46fff2(0x184)][_0x46fff2(0x196)](_0x4556c1['id']),this[_0x46fff2(0x1a3)][_0x46fff2(0x1e2)](),this[_0x46fff2(0x184)][_0x46fff2(0x1f0)](_0x4556c1['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1fe),(_0x44b462,_0x31b8a7)=>{const _0x9a0a76=_0x2e8ec5;this[_0x9a0a76(0x1c9)]=_0x31b8a7['on'],this[_0x9a0a76(0x1da)](this[_0x9a0a76(0x1c9)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1e8),async()=>{const _0xc3ffda=_0x2e8ec5;this[_0xc3ffda(0x184)]&&await this[_0xc3ffda(0x184)][_0xc3ffda(0x197)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1bc),(_0x516a39,_0x19018e)=>{const _0x583df0=_0x2e8ec5;this[_0x583df0(0x184)]&&(this[_0x583df0(0x1a5)]=_0x583df0(0x1eb),this[_0x583df0(0x184)][_0x583df0(0x1bc)](_0x19018e['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1ee),()=>{const _0x221547=_0x2e8ec5;this[_0x221547(0x184)]&&this[_0x221547(0x184)][_0x221547(0x1ee)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x18e),(_0x36b316,_0x44a86e)=>{const _0x15728e=_0x2e8ec5;this[_0x15728e(0x184)]&&(this[_0x15728e(0x1a5)]=_0x15728e(0x1ab),this[_0x15728e(0x184)][_0x15728e(0x1bc)](_0x44a86e[_0x15728e(0x1fc)]));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x1b0),(_0x8f1435,_0x28d1e9)=>{const _0x26414b=_0x2e8ec5;this[_0x26414b(0x184)]&&this[_0x26414b(0x184)][_0x26414b(0x21d)](_0x28d1e9[_0x26414b(0x1fc)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x183),(_0x16386c,_0x1a7b6f)=>{const _0x252e75=_0x2e8ec5;this[_0x252e75(0x184)]&&this[_0x252e75(0x184)][_0x252e75(0x178)](_0x1a7b6f[_0x252e75(0x1fc)]);});}[_0x21c3ca(0x210)](_0x454f88=!0x1){const _0x231417=_0x21c3ca;this[_0x231417(0x184)]&&(this[_0x231417(0x184)][_0x231417(0x1f5)]||this[_0x231417(0x184)][_0x231417(0x1f0)](),this[_0x231417(0x184)][_0x231417(0x1f1)](),this[_0x231417(0x184)][_0x231417(0x193)](),this[_0x231417(0x184)]=void 0x0),_0x454f88&&this[_0x231417(0x1a3)][_0x231417(0x213)](),this[_0x231417(0x175)][_0x231417(0x18c)](),this[_0x231417(0x175)][_0x231417(0x1f4)](),this[_0x231417(0x1a5)]=null;const _0x52c441=this[_0x231417(0x175)][_0x231417(0x202)]();_0x52c441&&_0x52c441[_0x231417(0x186)][_0x231417(0x18b)][_0x231417(0x1a8)](_0x234bba=>{const _0x9d91b4=_0x231417,_0x7c1d3f=_0x52c441[_0x9d91b4(0x186)][_0x9d91b4(0x18b)][_0x9d91b4(0x176)][_0x9d91b4(0x1e7)]();_0x234bba[_0x9d91b4(0x1e4)](_0x9d91b4(0x1cf),_0x7c1d3f),_0x234bba[_0x9d91b4(0x1e4)](_0x9d91b4(0x1a4),_0x7c1d3f);});}[_0x21c3ca(0x1da)](_0x5bb04e){const _0x910a1e=_0x21c3ca,_0x129c46=this[_0x910a1e(0x175)][_0x910a1e(0x202)]();_0x5bb04e?this[_0x910a1e(0x1a3)][_0x910a1e(0x1a7)]():this[_0x910a1e(0x1a3)][_0x910a1e(0x19a)](),_0x129c46&&_0x129c46[_0x910a1e(0x186)][_0x910a1e(0x18b)][_0x910a1e(0x1a8)](_0x21987a=>{const _0x300e54=_0x910a1e,_0x3d9e16=_0x129c46[_0x300e54(0x186)][_0x300e54(0x18b)][_0x300e54(0x176)][_0x300e54(0x1e7)]();_0x21987a[_0x300e54(0x1e4)](_0x300e54(0x1cf),_0x3d9e16),_0x21987a[_0x300e54(0x1e4)](_0x300e54(0x1a4),_0x3d9e16),_0x21987a[_0x300e54(0x1cb)](_0x5bb04e?_0x300e54(0x1cf):_0x300e54(0x1a4),_0x3d9e16);});}[_0x21c3ca(0x219)](_0x323fbd){const _0x5bb2e7=_0x21c3ca;return _0x323fbd[_0x5bb2e7(0x204)](_0x14f8e1=>{const _0x53e231=_0x5bb2e7,_0x4d08dd=_0x53e231(0x1df)+_0x14f8e1['id'][_0x53e231(0x1c0)]()[_0x53e231(0x18f)]('-','_'),_0x541bf4={..._0x14f8e1,'title':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1c8),_0x14f8e1[_0x53e231(0x1fa)]),'description':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x206),_0x14f8e1[_0x53e231(0x19f)])};return _0x14f8e1[_0x53e231(0x191)]&&(_0x541bf4[_0x53e231(0x191)]=_0x14f8e1[_0x53e231(0x191)][_0x53e231(0x204)](_0x43dc86=>({..._0x43dc86,'label':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1d6),_0x43dc86[_0x53e231(0x20a)]||''),'data':_0x43dc86[_0x53e231(0x20f)]?_0x43dc86[_0x53e231(0x20f)][_0x53e231(0x204)](_0xabbfcc=>({..._0xabbfcc,'label':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1a0)+_0xabbfcc['id'][_0x53e231(0x1c0)](),_0xabbfcc[_0x53e231(0x20a)])})):void 0x0}))),_0x541bf4;});}[_0x21c3ca(0x203)](_0x2a519d,_0x1ab7e6){const _0x5baa6e=_0x21c3ca,_0x28d75a=this[_0x5baa6e(0x17a)][_0x5baa6e(0x174)],_0x2b4eb5=_0x1448c3(_0x28d75a,_0x2a519d);return _0x2b4eb5===_0x2a519d?_0x1ab7e6:_0x2b4eb5;}[_0x21c3ca(0x1e0)](_0x477d56){const _0x175a1b=_0x21c3ca;_0x221a16(_0x477d56[_0x175a1b(0x1ea)]),this[_0x175a1b(0x1a3)][_0x175a1b(0x1ef)]();}}
|
|
23
|
+
const _0x1aff0b=_0x3466;(function(_0x3fd833,_0x5a72e9){const _0x2e44cc=_0x3466,_0x953800=_0x3fd833();while(!![]){try{const _0x2b404d=-parseInt(_0x2e44cc(0x23b))/0x1*(-parseInt(_0x2e44cc(0x1aa))/0x2)+-parseInt(_0x2e44cc(0x22a))/0x3*(-parseInt(_0x2e44cc(0x214))/0x4)+-parseInt(_0x2e44cc(0x1b4))/0x5*(-parseInt(_0x2e44cc(0x246))/0x6)+parseInt(_0x2e44cc(0x219))/0x7+parseInt(_0x2e44cc(0x1f6))/0x8+-parseInt(_0x2e44cc(0x20e))/0x9*(-parseInt(_0x2e44cc(0x213))/0xa)+parseInt(_0x2e44cc(0x239))/0xb*(-parseInt(_0x2e44cc(0x1c4))/0xc);if(_0x2b404d===_0x5a72e9)break;else _0x953800['push'](_0x953800['shift']());}catch(_0x4e3d31){_0x953800['push'](_0x953800['shift']());}}}(_0x447d,0x39a22));import{ContextPlugin as _0x3d0f09}from'ckeditor5/src/core.js';import{CKEditorError as _0x50c1c0,logError as _0x51da8c,scrollAncestorsToShowTarget as _0x654390,scrollViewportToShowTarget as _0x542a20}from'ckeditor5/src/utils.js';import{AIConnector as _0x30bf70}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x2548b1}from'./model/aireviewchecklist.js';function _0x447d(){const _0xf28f09=['948670XRVtdg','28XOYMmb','_TITLE','message','showReviewCheckList','getEditor','1031583dHadlH','aborted','leaveReviewMode','switchToEdit','changeMarkerRemoved','_onDiffChange','source','model','getChangeElement','changeMarkerClick','args','ai-review-mode-source-check-not-found','ck-ai-review-mode-highlights','_aiReviewModeUi','prompt','addClass','_aiReviewModeEditing','20955fmVAeP','_OPTIONS_LABEL','rejectChange','label','_aiConnector','plugins','showChangeBalloon','AIReviewModeController','options','document','_logError','showNoChangesView','abort','showCheckRunResult','clearAllMarkers','2838GJzevc','documentData','60842lGALbw','isChangeActive','description','finished','isCustom','getMarkerElementForChange','processedResultsCount','_aiReviewCheckList','panel','ai-review-mode-check-run-failed','restart','2603574thqrBI','config','markChangeAsRejected','forceReadyState','sendRating','_OPTIONS_DATA_','acceptChange','resetActiveStateInResults','toUpperCase','error-general','AIConnector','removeClass','changes','updateChangeState','changeMarkerRestored','isOfficialPlugin','abortReviewStream','6KKAPTu','_onReviewModeRunLeave','hideChangeBalloon','finishReview','data','markChangeAsOutdated','context','markChangeAsPending','find','reviewCheckResultActivated','5UPdtyd','reviewCheckRunUpdated','editing','hideDiffInBalloon','ai-review-mode-check-run-general-error','domElement','getDocumentData','contentInitial','length','showActionsWhenResultIsReady','AIReviewModeEditing','content','hasModifications','includes','custom','applyChange','52572ZnKdKt','setActiveStateInResults','setCheckResultTitle','markChangeAsAccepted','title','.ck-ai-review-mode__check-run-result','runReviewCheck','reviewCheckResultChangeStatusUpdated','view','currentError','_DESCRIPTION','reviewCheckResultReady','ai-request-aborted','loading','map','_translateReviewChecks','diffContent','dismissChange','translate','showDiffInBalloon','changeId','activateChange','locale','get','stopListening','markChangePositionInEditorContent','deactivateChange','closest','contentNew','_changeActivationSource','setAvailableChecks','_currentReviewCheckRun','ai-review-mode-check-run-chunk-error','models','change','params','ai.reviewMode.translations','retryReview','addResultChanges','getRoot','getCheckById','getActiveChanges','pluginName','result','ready','showGeneralErrorView','error-chunk','status','_isDiffOn','leaveReviewModeResultList','2152352lvFGIv','getReviewCheckList','reviewCheckResultDeactivated','start','ck-ai-review-mode-diff','listenTo','_getTranslationWithDefault','unmodified','emitter','ai-review-mode-no-current-check-run','requires','acceptAllChanges','AIReviewModeUI','getAll','AI_MODEL_DESCRIPTION_','switchToReadOnly','init','markAllChangesAsAccepted','isPremiumPlugin','replaceAll','reviewCheckResultAdded','toggleDiff','AI_REVIEW_CHECK_','subTitle','27BynfCA','showChunkErrorView','showCheckRunResults','showReviewCompletedView','checks'];_0x447d=function(){return _0xf28f09;};return _0x447d();}import{AIReviewSystemCheckRun as _0x1d335e}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x144533}from'./model/aireviewcustomcheckrun.js';function _0x3466(_0x521669,_0x254add){const _0x447df9=_0x447d();return _0x3466=function(_0x34667b,_0x209d17){_0x34667b=_0x34667b-0x1a5;let _0x585e18=_0x447df9[_0x34667b];return _0x585e18;},_0x3466(_0x521669,_0x254add);}import{AIModels as _0xbe7a63}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x2923e7}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2b07ac}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x3d0f09{[_0x1aff0b(0x22e)];[_0x1aff0b(0x226)];[_0x1aff0b(0x229)];[_0x1aff0b(0x242)];[_0x1aff0b(0x1e3)];[_0x1aff0b(0x1f4)]=!0x1;[_0x1aff0b(0x1e1)]=null;static get[_0x1aff0b(0x200)](){return[_0x30bf70];}static get[_0x1aff0b(0x1ee)](){const _0x2b77c0=_0x1aff0b;return _0x2b77c0(0x231);}static get[_0x1aff0b(0x1a8)](){return!0x0;}static get[_0x1aff0b(0x208)](){return!0x0;}async[_0x1aff0b(0x206)](){const _0x1d9e14=_0x1aff0b;this[_0x1d9e14(0x22e)]=this[_0x1d9e14(0x1b0)][_0x1d9e14(0x22f)][_0x1d9e14(0x1db)](_0x1d9e14(0x250)),this[_0x1d9e14(0x226)]=this[_0x1d9e14(0x1b0)][_0x1d9e14(0x22f)][_0x1d9e14(0x1db)](_0x1d9e14(0x202)),this[_0x1d9e14(0x229)]=this[_0x1d9e14(0x1b0)][_0x1d9e14(0x22f)][_0x1d9e14(0x1db)](_0x1d9e14(0x1be));const _0xc194d1=this[_0x1d9e14(0x1b0)][_0x1d9e14(0x247)][_0x1d9e14(0x1db)](_0x1d9e14(0x1e8));if(_0xc194d1){for(const _0x4ff51d of _0x2923e7)_0x1d9e14(0x1d6)===_0x4ff51d['id']&&(_0x4ff51d[_0x1d9e14(0x232)][0x0][_0x1d9e14(0x1ae)]=_0xc194d1);}const _0xd57564=this[_0x1d9e14(0x1d3)](_0x2923e7);this[_0x1d9e14(0x242)]=new _0x2548b1(_0xd57564);const _0x2304d6=this[_0x1d9e14(0x242)][_0x1d9e14(0x212)][_0x1d9e14(0x1b2)](_0x4e6176=>_0x1d9e14(0x1c2)===_0x4e6176['id']);if(_0x2304d6){const _0x4c15ac=await new _0xbe7a63({'connector':this[_0x1d9e14(0x22e)]})[_0x1d9e14(0x203)]();_0x2304d6[_0x1d9e14(0x1e5)]=_0x4c15ac[_0x1d9e14(0x1d2)](_0xc56177=>({..._0xc56177,'description':this[_0x1d9e14(0x1fc)](_0x1d9e14(0x204)+_0xc56177['id'][_0x1d9e14(0x24e)](),_0xc56177[_0x1d9e14(0x23d)])}));}this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1f7),()=>{const _0xe7ebd9=_0x1d9e14;this[_0xe7ebd9(0x226)][_0xe7ebd9(0x1e2)](this[_0xe7ebd9(0x242)][_0xe7ebd9(0x212)]);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1ca),async(_0x5a6080,_0x22a74b)=>{const _0x138464=_0x1d9e14,_0x460dd4=this[_0x138464(0x242)][_0x138464(0x1ec)](_0x22a74b['id']);if(_0x460dd4){this[_0x138464(0x21e)](this[_0x138464(0x1f4)]),_0x22a74b[_0x138464(0x23f)]?this[_0x138464(0x1e3)]=new _0x144533(_0x22a74b[_0x138464(0x223)][_0x138464(0x227)],_0x22a74b[_0x138464(0x223)][_0x138464(0x220)],this[_0x138464(0x229)][_0x138464(0x1ba)](),_0x460dd4,this[_0x138464(0x22e)]):this[_0x138464(0x1e3)]=new _0x1d335e(this[_0x138464(0x229)][_0x138464(0x1ba)](),_0x460dd4,this[_0x138464(0x22e)],_0x22a74b[_0x138464(0x1e7)],_0x22a74b[_0x138464(0x223)]),this[_0x138464(0x226)][_0x138464(0x1c6)](this[_0x138464(0x1e3)][_0x138464(0x1c8)],this[_0x138464(0x1e3)][_0x138464(0x20d)]),this[_0x138464(0x1e3)]['on'](_0x138464(0x1b5),(_0x3bd1b3,_0x5dbdbe)=>{const _0x312e5f=_0x138464;_0x312e5f(0x1ae)===_0x5dbdbe[_0x312e5f(0x1f3)]||_0x312e5f(0x1d1)===_0x5dbdbe[_0x312e5f(0x1f3)]?(this[_0x312e5f(0x229)][_0x312e5f(0x205)](),this[_0x312e5f(0x226)][_0x312e5f(0x210)](_0x5dbdbe)):_0x312e5f(0x23e)===_0x5dbdbe[_0x312e5f(0x1f3)]?this[_0x312e5f(0x226)][_0x312e5f(0x211)]():_0x312e5f(0x1f0)===_0x5dbdbe[_0x312e5f(0x1f3)]?this[_0x312e5f(0x226)][_0x312e5f(0x1bd)]():_0x312e5f(0x1fd)===_0x5dbdbe[_0x312e5f(0x1f3)]?this[_0x312e5f(0x226)][_0x312e5f(0x235)]():_0x312e5f(0x24f)===_0x5dbdbe[_0x312e5f(0x1f3)]?(this[_0x312e5f(0x226)][_0x312e5f(0x1f1)](),this[_0x312e5f(0x234)](new _0x50c1c0(_0x312e5f(0x1b8),this,this[_0x312e5f(0x1e3)]?.[_0x312e5f(0x1cd)]))):_0x312e5f(0x1f2)===_0x5dbdbe[_0x312e5f(0x1f3)]?(this[_0x312e5f(0x226)][_0x312e5f(0x20f)](),this[_0x312e5f(0x234)](new _0x50c1c0(_0x312e5f(0x1e4),this,this[_0x312e5f(0x1e3)]?.[_0x312e5f(0x1cd)]))):_0x312e5f(0x21a)===_0x5dbdbe[_0x312e5f(0x1f3)]&&(this[_0x312e5f(0x1e3)]&&this[_0x312e5f(0x1e3)][_0x312e5f(0x241)]>0x0?setTimeout(()=>{const _0x1ffce8=_0x312e5f;this[_0x1ffce8(0x1e3)]?.[_0x1ffce8(0x249)]();},0x0):this[_0x312e5f(0x1ab)](!0x0)),_0x312e5f(0x1f0)!==_0x5dbdbe[_0x312e5f(0x1f3)]&&_0x312e5f(0x1f2)!==_0x5dbdbe[_0x312e5f(0x1f3)]&&_0x312e5f(0x24f)!==_0x5dbdbe[_0x312e5f(0x1f3)]||this[_0x312e5f(0x1e3)]?.[_0x312e5f(0x24a)]();}),this[_0x138464(0x1e3)]['on'](_0x138464(0x20a),(_0x401ad2,_0x4ccee8)=>{const _0x2b8045=_0x138464;if(!this[_0x2b8045(0x1e3)])throw new _0x50c1c0(_0x2b8045(0x1ff),this);const _0xa7b9a3=this[_0x2b8045(0x229)][_0x2b8045(0x1d4)](_0x4ccee8[_0x2b8045(0x1ef)][_0x2b8045(0x1bb)],_0x4ccee8[_0x2b8045(0x1ef)][_0x2b8045(0x1e0)]);_0x4ccee8[_0x2b8045(0x21f)][_0x2b8045(0x1ea)](_0x4ccee8[_0x2b8045(0x1ef)]['id'],_0xa7b9a3);}),this[_0x138464(0x1e3)]['on'](_0x138464(0x1cf),(_0x2c9726,_0xbfbf2)=>{const _0x2239d2=_0x138464;for(const _0x46838e of _0xbfbf2[_0x2239d2(0x1a5)])this[_0x2239d2(0x226)][_0x2239d2(0x237)](_0x46838e);this[_0x2239d2(0x229)][_0x2239d2(0x1dd)](_0xbfbf2[_0x2239d2(0x1a5)],_0xbfbf2[_0x2239d2(0x21f)][_0x2239d2(0x23a)]);}),this[_0x138464(0x1e3)]['on'](_0x138464(0x1cb),(_0x1a8f45,_0x382583)=>{const _0x9622c9=_0x138464;this[_0x9622c9(0x226)][_0x9622c9(0x1a6)](_0x382583[_0x9622c9(0x1e6)]['id'],_0x382583[_0x9622c9(0x1f3)]);}),this[_0x138464(0x1e3)]['on'](_0x138464(0x1b3),(_0x1cff2a,_0x307add)=>{const _0x5ca02f=_0x138464;this[_0x5ca02f(0x226)][_0x5ca02f(0x1c5)](_0x307add[_0x5ca02f(0x1e6)]['id']);const _0x5c6f82=this[_0x5ca02f(0x229)][_0x5ca02f(0x240)](_0x307add[_0x5ca02f(0x1e6)]['id']);if(_0x5c6f82){if(_0x5ca02f(0x1bf)===this[_0x5ca02f(0x1e1)]){const _0x1bd66a=this[_0x5ca02f(0x226)][_0x5ca02f(0x221)](_0x307add[_0x5ca02f(0x1e6)]['id']);_0x1bd66a&&_0x654390(_0x1bd66a[_0x5ca02f(0x1df)](_0x5ca02f(0x1c9))||_0x1bd66a);}else{if(_0x5ca02f(0x243)===this[_0x5ca02f(0x1e1)]){const _0x38d6d2={'target':_0x5c6f82[_0x5ca02f(0x1b9)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x542a20(_0x38d6d2);}}this[_0x5ca02f(0x226)][_0x5ca02f(0x230)](_0x307add[_0x5ca02f(0x1e6)],_0x5c6f82[_0x5ca02f(0x1b9)]);}}),this[_0x138464(0x1e3)]['on'](_0x138464(0x1f8),()=>{const _0x3c9613=_0x138464;this[_0x3c9613(0x226)][_0x3c9613(0x24d)](),this[_0x3c9613(0x226)][_0x3c9613(0x1ac)]();});try{await this[_0x138464(0x1e3)][_0x138464(0x1f9)]();}catch(_0x2a4cce){_0x2a4cce instanceof Error&&_0x2a4cce[_0x138464(0x216)][_0x138464(0x1c1)](_0x138464(0x1d0))||(_0x2a4cce instanceof _0x50c1c0?this[_0x138464(0x234)](_0x2a4cce):this[_0x138464(0x234)](new _0x50c1c0(_0x138464(0x244),this,{'error':_0x2a4cce})));}}else this[_0x138464(0x234)](new _0x50c1c0(_0x138464(0x224),this,{'checkId':_0x22a74b['id']}));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x21b),()=>{const _0x3df4c4=_0x1d9e14;this[_0x3df4c4(0x1ab)]();}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1f5),()=>{const _0x5202c0=_0x1d9e14;this[_0x5202c0(0x1ab)](!0x0);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1a9),()=>{const _0x2475af=_0x1d9e14;this[_0x2475af(0x1e3)]&&this[_0x2475af(0x1e3)][_0x2475af(0x236)]();}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1ad),()=>{const _0x596940=_0x1d9e14;this[_0x596940(0x1ab)](!0x0);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x201),()=>{const _0x4ad5d5=_0x1d9e14;if(!this[_0x4ad5d5(0x1e3)])return;const _0xb88e00=this[_0x4ad5d5(0x1e3)][_0x4ad5d5(0x1ed)]();_0xb88e00[_0x4ad5d5(0x1bc)]&&(this[_0x4ad5d5(0x229)][_0x4ad5d5(0x1c3)](_0xb88e00[_0x4ad5d5(0x1d2)](_0x327d6d=>_0x327d6d['id'])),this[_0x4ad5d5(0x1e3)][_0x4ad5d5(0x207)](),this[_0x4ad5d5(0x1e3)][_0x4ad5d5(0x24a)]());}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x24c),(_0x74d89e,_0x1607ec)=>{const _0x1015ae=_0x1d9e14;this[_0x1015ae(0x1e3)]&&this[_0x1015ae(0x1e3)][_0x1015ae(0x23c)](_0x1607ec['id'])&&(this[_0x1015ae(0x229)][_0x1015ae(0x1c3)]([_0x1607ec['id']]),this[_0x1015ae(0x1e3)][_0x1015ae(0x1c7)](_0x1607ec['id']),this[_0x1015ae(0x226)][_0x1015ae(0x1ac)](),this[_0x1015ae(0x1e3)][_0x1015ae(0x24a)](_0x1607ec['id']));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1d5),(_0x1d551b,_0xdd9ee0)=>{const _0x3ff904=_0x1d9e14;this[_0x3ff904(0x1e3)]&&this[_0x3ff904(0x1e3)][_0x3ff904(0x23c)](_0xdd9ee0['id'])&&(this[_0x3ff904(0x229)][_0x3ff904(0x22c)](_0xdd9ee0['id']),this[_0x3ff904(0x1e3)][_0x3ff904(0x248)](_0xdd9ee0['id']),this[_0x3ff904(0x226)][_0x3ff904(0x1ac)](),this[_0x3ff904(0x1e3)][_0x3ff904(0x24a)](_0xdd9ee0['id']));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x20b),(_0x523c19,_0x2c4b2a)=>{const _0x493a8d=_0x1d9e14;this[_0x493a8d(0x1f4)]=_0x2c4b2a['on'],this[_0x493a8d(0x21e)](this[_0x493a8d(0x1f4)]);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1e9),async()=>{const _0x1a23db=_0x1d9e14;this[_0x1a23db(0x1e3)]&&await this[_0x1a23db(0x1e3)][_0x1a23db(0x245)]();}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1d9),(_0x492908,_0x2644a1)=>{const _0x41e5d9=_0x1d9e14;this[_0x41e5d9(0x1e3)]&&(this[_0x41e5d9(0x1e1)]=_0x41e5d9(0x243),this[_0x41e5d9(0x1e3)][_0x41e5d9(0x1d9)](_0x2644a1['id']));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x226)],_0x1d9e14(0x1de),()=>{const _0x41e501=_0x1d9e14;this[_0x41e501(0x1e3)]&&this[_0x41e501(0x1e3)][_0x41e501(0x1de)]();}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x229)][_0x1d9e14(0x1fe)],_0x1d9e14(0x222),(_0x13d033,_0x140f91)=>{const _0x33e82f=_0x1d9e14;this[_0x33e82f(0x1e3)]&&(this[_0x33e82f(0x1e1)]=_0x33e82f(0x1bf),this[_0x33e82f(0x1e3)][_0x33e82f(0x1d9)](_0x140f91[_0x33e82f(0x1d8)]));}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x229)][_0x1d9e14(0x1fe)],_0x1d9e14(0x21d),(_0x5e6065,_0x52f55c)=>{const _0x282f60=_0x1d9e14;this[_0x282f60(0x1e3)]&&this[_0x282f60(0x1e3)][_0x282f60(0x1af)](_0x52f55c[_0x282f60(0x1d8)]);}),this[_0x1d9e14(0x1fb)](this[_0x1d9e14(0x229)][_0x1d9e14(0x1fe)],_0x1d9e14(0x1a7),(_0x1eb448,_0x39bd3c)=>{const _0x194a49=_0x1d9e14;this[_0x194a49(0x1e3)]&&this[_0x194a49(0x1e3)][_0x194a49(0x1b1)](_0x39bd3c[_0x194a49(0x1d8)]);});}[_0x1aff0b(0x1ab)](_0x18f165=!0x1){const _0x1865e0=_0x1aff0b;this[_0x1865e0(0x1e3)]&&(this[_0x1865e0(0x1e3)][_0x1865e0(0x1c0)]||this[_0x1865e0(0x1e3)][_0x1865e0(0x24a)](),this[_0x1865e0(0x1e3)][_0x1865e0(0x1dc)](),this[_0x1865e0(0x1e3)][_0x1865e0(0x236)](),this[_0x1865e0(0x1e3)]=void 0x0),_0x18f165&&this[_0x1865e0(0x226)][_0x1865e0(0x217)](),this[_0x1865e0(0x229)][_0x1865e0(0x238)](),this[_0x1865e0(0x229)][_0x1865e0(0x21c)](),this[_0x1865e0(0x1e1)]=null;const _0x17dd5b=this[_0x1865e0(0x229)][_0x1865e0(0x218)]();_0x17dd5b&&_0x17dd5b[_0x1865e0(0x1b6)][_0x1865e0(0x1cc)][_0x1865e0(0x1e6)](_0x4ee98c=>{const _0x465ff0=_0x1865e0,_0x5757c9=_0x17dd5b[_0x465ff0(0x1b6)][_0x465ff0(0x1cc)][_0x465ff0(0x233)][_0x465ff0(0x1eb)]();_0x4ee98c[_0x465ff0(0x251)](_0x465ff0(0x1fa),_0x5757c9),_0x4ee98c[_0x465ff0(0x251)](_0x465ff0(0x225),_0x5757c9);});}[_0x1aff0b(0x21e)](_0x1fa0cf){const _0xf78cf7=_0x1aff0b,_0x3e89fc=this[_0xf78cf7(0x229)][_0xf78cf7(0x218)]();_0x1fa0cf?this[_0xf78cf7(0x226)][_0xf78cf7(0x1b7)]():this[_0xf78cf7(0x226)][_0xf78cf7(0x1d7)](),_0x3e89fc&&_0x3e89fc[_0xf78cf7(0x1b6)][_0xf78cf7(0x1cc)][_0xf78cf7(0x1e6)](_0x2a2254=>{const _0x1e327e=_0xf78cf7,_0x109808=_0x3e89fc[_0x1e327e(0x1b6)][_0x1e327e(0x1cc)][_0x1e327e(0x233)][_0x1e327e(0x1eb)]();_0x2a2254[_0x1e327e(0x251)](_0x1e327e(0x1fa),_0x109808),_0x2a2254[_0x1e327e(0x251)](_0x1e327e(0x225),_0x109808),_0x2a2254[_0x1e327e(0x228)](_0x1fa0cf?_0x1e327e(0x1fa):_0x1e327e(0x225),_0x109808);});}[_0x1aff0b(0x1d3)](_0x1f8637){const _0x440e17=_0x1aff0b;return _0x1f8637[_0x440e17(0x1d2)](_0x409883=>{const _0x2ce91c=_0x440e17,_0xe5420f=_0x2ce91c(0x20c)+_0x409883['id'][_0x2ce91c(0x24e)]()[_0x2ce91c(0x209)]('-','_'),_0x1f21e5={..._0x409883,'title':this[_0x2ce91c(0x1fc)](_0xe5420f+_0x2ce91c(0x215),_0x409883[_0x2ce91c(0x1c8)]),'description':this[_0x2ce91c(0x1fc)](_0xe5420f+_0x2ce91c(0x1ce),_0x409883[_0x2ce91c(0x23d)])};return _0x409883[_0x2ce91c(0x232)]&&(_0x1f21e5[_0x2ce91c(0x232)]=_0x409883[_0x2ce91c(0x232)][_0x2ce91c(0x1d2)](_0x4d1147=>({..._0x4d1147,'label':this[_0x2ce91c(0x1fc)](_0xe5420f+_0x2ce91c(0x22b),_0x4d1147[_0x2ce91c(0x22d)]||''),'data':_0x4d1147[_0x2ce91c(0x1ae)]?_0x4d1147[_0x2ce91c(0x1ae)][_0x2ce91c(0x1d2)](_0x55e29b=>({..._0x55e29b,'label':this[_0x2ce91c(0x1fc)](_0xe5420f+_0x2ce91c(0x24b)+_0x55e29b['id'][_0x2ce91c(0x24e)](),_0x55e29b[_0x2ce91c(0x22d)])})):void 0x0}))),_0x1f21e5;});}[_0x1aff0b(0x1fc)](_0x365c41,_0x6af8ec){const _0x5035b2=_0x1aff0b,_0x5c339f=this[_0x5035b2(0x1b0)][_0x5035b2(0x1da)],_0x391165=_0x2b07ac(_0x5c339f,_0x365c41);return _0x391165===_0x365c41?_0x6af8ec:_0x391165;}[_0x1aff0b(0x234)](_0x492267){const _0x50fa55=_0x1aff0b;_0x51da8c(_0x492267[_0x50fa55(0x216)]),this[_0x50fa55(0x226)][_0x50fa55(0x1f1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xff2b94=_0x1a8a;(function(_0x3c5e51,_0x46af51){const _0x1eb502=_0x1a8a,_0xe59827=_0x3c5e51();while(!![]){try{const _0x4089f5=-parseInt(_0x1eb502(0x176))/0x1+parseInt(_0x1eb502(0x201))/0x2+-parseInt(_0x1eb502(0x1e7))/0x3+-parseInt(_0x1eb502(0x1be))/0x4+-parseInt(_0x1eb502(0x1d8))/0x5*(-parseInt(_0x1eb502(0x1fe))/0x6)+parseInt(_0x1eb502(0x1c0))/0x7+-parseInt(_0x1eb502(0x1f2))/0x8*(-parseInt(_0x1eb502(0x151))/0x9);if(_0x4089f5===_0x46af51)break;else _0xe59827['push'](_0xe59827['shift']());}catch(_0x52fab6){_0xe59827['push'](_0xe59827['shift']());}}}(_0x4835,0x3b341));import{InsertOperation as _0x2bc0ae,MarkerOperation as _0x1ae859,ModelDocumentFragment as _0x34f008,ModelPosition as _0x29f8a7,ModelRange as _0x1ae561,ModelTreeWalker as _0x4fbbb7,transformOperationSets as _0x37f3b3}from'ckeditor5/src/engine.js';function _0x1a8a(_0x1b3bae,_0x42b59c){const _0x48358d=_0x4835();return _0x1a8a=function(_0x1a8a26,_0x4ff1f7){_0x1a8a26=_0x1a8a26-0x148;let _0x1f4018=_0x48358d[_0x1a8a26];return _0x1f4018;},_0x1a8a(_0x1b3bae,_0x42b59c);}import{DomEmitterMixin as _0x363ba,EmitterMixin as _0x56b1c2}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x2b9ee0}from'ckeditor5/src/core.js';import{DocumentCompare as _0x386002,DATA_ID_MODEL_ATTRIBUTE as _0x4840cb,DATA_ID_VIEW_ATTRIBUTE as _0x278019}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4835(){const _0x51debb=['changeMarkerRestored','$textProxy','isOpening','data-marker-id','add','suggestion:insertion:id:authorId:','differ','markChangePositionInEditorContent','caption','filter','hasAttribute','$documentFragment','jumpTo','$graveyard','_createGetContentUsingDataIdFn','ellipsisBefore','markerName','ai-review-mode','length','documentFragment','_translateOperationToEditorContent','createDocumentFragment','376708OsrhDQ','listenTo','outerHTML','ck-ai_review-mode-marker_context-start','requires','clone','ellipsisAfter','_changePositionOwnerDocument','htmlProcessor','isIntersecting','No\x20element\x20found\x20for\x20ID:\x20','toView','diffContent','childCount','parent','delete','isInline','_insertMarkers','getPath','afterInit','push','context','getDiff','getChanges','baseVersion','offset','howMany','rootName','applyOperation','dataDowncast','toDomElement','element','history','_hasSameTopLevelElement','innerHTML','processor','ck-ai_review-mode-marker_','getHtml','exec','hasContentBefore','_domEmitter','isOfficialPlugin','attributeToAttribute','schema','_shiftOperation','nodes','index','_changeRangeOwnerDocument','clear','_getOperationStart','sort','_createGetContentFn','markers','_clone','fire','getChildren','$markedRemove','operationsA','text','insertContent','ck-ai_review-mode-marker_add','isPremiumPlugin','htmlWriter','name','isDocumentOperation','DocumentCompare','newRange','getMarkerElementForChange','_eventEmitter','_parseMarkerName','batch','addMarker','899648aMljub','affectsData','1044421XBmRcG','getRoots','_removeChildren','createRawElement','remove-only','addOperation','getChangedMarkers','click','suggestion:deletion:id:authorId:','ck-ai_review-mode-marker_context-end','append','getRoot','values','className','startsWith','_markers','parentElement','insert','change','createText','pop','remove-context','disableReadOnlyMode','hasClass','1675965DnIldj','createRange','model:$text','_validateMarkers','get','[data-id=\x22','backward','_groupAdjacentOperations','_getOperationEnd','target','_getMarkersDataForGroup','ck-ai_review-mode-marker_context-','suggestion-context','oldRange','getStart','1210647UaMYmX','switchToEdit','warn','_sortMarkers','isTouching','_getChangeContext','domConverter','forEach','createPositionAt','span','from','200YBnBPn','position','_appendChild','hasContentAfter','every','ck-ai_review-mode-marker_hide','_removeAttribute','changeMarkerRemoved','getEditor','offsetSize','type','getDomRoot','6vwvqtj','_changePosition','AIEditing','9090ebzhEB','clearAllMarkers','_createGetContextFn','emitter','forward','groupId','pluginName','elements','AIReviewModeEditing','end','editing','_findAdjacentContextDistance','_changeOperationOwnerDocument','changeMarkerClick','_findMarkerElement','querySelector','switchToReadOnly','isAtEnd','createUIElement','operationsIsolated','has','includes','conversion','parse','getShiftedBy','split','markerToHighlight','enableReadOnlyMode','ck-ai_review-mode-marker_strikethrough','[data-marker-id=\x22','_changeRange','plugins','document','remove-text','getChild','data','flat','for','markerToElement','toData','model','remove','viewToDom','downcast','marker','editingDowncast','rejectChange','ck-ai_review-mode-marker_underline','getOperations','reviewmode-','applyChange','isAtStart','getDocumentData','containsRange','map','path','removeMarker','set','getAttribute','createSelection','_nextDataId','273141kNGTrZ','getRange','_setAttribute','registerPostFixer','size','version','keys','_handleMarkerChanges','concat','root','deleteContent','stringify','start','view','createPositionAfter'];_0x4835=function(){return _0x51debb;};return _0x4835();}import{getEditorFromContext as _0x2dd432}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xec86cd}from'../aicore/aiediting.js';const me=_0xff2b94(0x232);export class AIReviewModeEditing extends _0x2b9ee0{static get[_0xff2b94(0x207)](){const _0x27b2ab=_0xff2b94;return _0x27b2ab(0x209);}static get[_0xff2b94(0x17a)](){return[_0x386002,_0xec86cd];}static get[_0xff2b94(0x19f)](){return!0x0;}static get[_0xff2b94(0x1b3)](){return!0x0;}[_0xff2b94(0x1cf)]=new Map();[_0xff2b94(0x19e)];[_0xff2b94(0x1ba)];constructor(_0x2798b4){const _0x578f08=_0xff2b94;super(_0x2798b4),this[_0x578f08(0x19e)]=new(_0x363ba())(),this[_0x578f08(0x1ba)]=new(_0x56b1c2())();}get[_0xff2b94(0x204)](){const _0x45f741=_0xff2b94;return this[_0x45f741(0x1ba)];}[_0xff2b94(0x189)](){const _0x1ec386=_0xff2b94,_0x8345bb=_0x2dd432(this[_0x1ec386(0x18b)]);_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x227)]({'model':me+_0x1ec386(0x1d1),'view':(_0x3c4e3c,{writer:_0x1cc708})=>{const _0x4dd213=_0x1ec386,_0x4a34da=this[_0x4dd213(0x1cf)][_0x4dd213(0x1dc)](_0x3c4e3c[_0x4dd213(0x170)]),_0x4059ba={'class':_0x4dd213(0x1b2),'data-marker-id':_0x3c4e3c[_0x4dd213(0x170)]};return _0x1cc708[_0x4dd213(0x213)](_0x4dd213(0x1f0),_0x4059ba,function(_0x48f57c){const _0x4bd2c4=_0x4dd213,_0x3f379d=this[_0x4bd2c4(0x194)](_0x48f57c);return _0x3f379d[_0x4bd2c4(0x198)]=_0x4a34da?.[_0x4bd2c4(0x1b0)]||'',_0x3f379d;});}}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x1c4),'view':_0x126d2f=>({'classes':_0x1ec386(0x21d),'attributes':{'data-marker-id':_0x126d2f[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x1d5),'view':_0x34d165=>({'classes':_0x1ec386(0x230),'attributes':{'data-marker-id':_0x34d165[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x222),'view':_0xa26a94=>({'classes':_0x1ec386(0x1f7),'attributes':{'data-marker-id':_0xa26a94[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x193))[_0x1ec386(0x227)]({'model':me+_0x1ec386(0x1e4),'view':(_0x46e587,{writer:_0x4f041b})=>_0x4f041b[_0x1ec386(0x1c3)](_0x1ec386(0x1f0),{'class':_0x1ec386(0x1e3)+(_0x46e587[_0x1ec386(0x162)]?_0x1ec386(0x15d):_0x1ec386(0x20a))})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22c))[_0x1ec386(0x1a0)]({'model':_0x4840cb,'view':_0x278019}),this[_0x1ec386(0x19e)][_0x1ec386(0x177)](document,_0x1ec386(0x1c7),(_0x2da34d,_0x269901)=>{const _0x1114d4=_0x1ec386,_0x5ac540=_0x269901[_0x1114d4(0x1e1)],_0xd2e8ed=this[_0x1114d4(0x20f)](_0x5ac540);if(!_0xd2e8ed)return;const _0x1bbcc7=_0xd2e8ed[_0x1114d4(0x14e)](_0x1114d4(0x163)),_0x5b8de0=_0x1bbcc7[_0x1114d4(0x21a)](':')[_0x1114d4(0x1d4)]()?.[_0x1114d4(0x21a)]('_')[0x0];this[_0x1114d4(0x1ba)][_0x1114d4(0x1ac)](_0x1114d4(0x20e),{'markerId':_0x1bbcc7,'changeId':_0x5b8de0});}),_0x8345bb[_0x1ec386(0x229)][_0x1ec386(0x221)][_0x1ec386(0x154)](_0x16f919=>this[_0x1ec386(0x1db)](_0x8345bb,_0x16f919)),_0x8345bb[_0x1ec386(0x229)][_0x1ec386(0x221)]['on'](_0x1ec386(0x1d2),()=>this[_0x1ec386(0x158)](_0x8345bb));}[_0xff2b94(0x148)](){const _0x2588cc=_0xff2b94,_0x243d9d=this[_0x2588cc(0x18b)][_0x2588cc(0x220)][_0x2588cc(0x1dc)](_0x2588cc(0x200)),_0x17df19=_0x2dd432(this[_0x2588cc(0x18b)]),_0x2c3a06=_0x17df19[_0x2588cc(0x229)],_0x3d89b8=new _0x34f008();for(const _0x119f43 of _0x2c3a06[_0x2588cc(0x221)][_0x2588cc(0x1cb)]()[_0x2588cc(0x1ad)]()){const _0x1a50ca=_0x119f43[_0x2588cc(0x1ab)](!0x0);_0x3d89b8[_0x2588cc(0x1f4)](_0x1a50ca);}for(const _0x4b956f of _0x2c3a06[_0x2588cc(0x1aa)])_0x3d89b8[_0x2588cc(0x1aa)][_0x2588cc(0x14d)](_0x4b956f[_0x2588cc(0x1b5)],this[_0x2588cc(0x1a5)](_0x4b956f[_0x2588cc(0x152)]()[_0x2588cc(0x17b)](),_0x3d89b8));const _0x4ac632=new _0x4fbbb7({'ignoreElementEnd':!0x0,'startPosition':_0x2c3a06[_0x2588cc(0x1ef)](_0x3d89b8,0x0)}),_0x178694=new Set(),_0x1715e4=new Map();for(const {item:_0x294ade}of _0x4ac632){if(!_0x294ade['is'](_0x2588cc(0x161)))continue;const _0x37b69e=_0x294ade[_0x2588cc(0x184)];if((!_0x37b69e||!_0x37b69e['is'](_0x2588cc(0x195),_0x2588cc(0x168)))&&(_0x37b69e&&_0x37b69e['is'](_0x2588cc(0x195)))){let _0x6b7f4c=_0x37b69e[_0x2588cc(0x14e)](_0x4840cb);_0x6b7f4c||(_0x6b7f4c=_0x243d9d[_0x2588cc(0x150)](_0x178694),_0x37b69e[_0x2588cc(0x153)](_0x4840cb,_0x6b7f4c)),_0x178694[_0x2588cc(0x164)](_0x6b7f4c);let _0x18d504=_0x37b69e;for(;_0x18d504[_0x2588cc(0x184)]&&!_0x18d504[_0x2588cc(0x184)]['is'](_0x2588cc(0x173));)_0x18d504=_0x18d504[_0x2588cc(0x184)],_0x18d504[_0x2588cc(0x16a)](_0x4840cb)&&_0x18d504[_0x2588cc(0x1f8)](_0x4840cb);_0x1715e4[_0x2588cc(0x14d)](_0x6b7f4c,{'path':_0x37b69e[_0x2588cc(0x188)](),'getContent':this[_0x2588cc(0x16e)](_0x18d504[_0x2588cc(0x1ab)](!0x0),_0x6b7f4c,_0x17df19[_0x2588cc(0x224)])}),_0x4ac632[_0x2588cc(0x16c)](_0x2c3a06[_0x2588cc(0x15f)](_0x37b69e));}}return{'content':_0x17df19[_0x2588cc(0x224)][_0x2588cc(0x199)][_0x2588cc(0x228)](_0x17df19[_0x2588cc(0x224)][_0x2588cc(0x181)](_0x3d89b8)),'version':_0x17df19[_0x2588cc(0x229)][_0x2588cc(0x221)][_0x2588cc(0x156)],'elements':_0x1715e4};}[_0xff2b94(0x182)](_0x15322b,_0x5af7d7){const _0x17913c=_0xff2b94,_0x14ce80=[],_0xb9e4b8=_0x2dd432(this[_0x17913c(0x18b)]),_0xb131fe=_0xb9e4b8[_0x17913c(0x224)][_0x17913c(0x218)](_0x15322b,_0x17913c(0x16b)),_0x2d85ce=_0xb9e4b8[_0x17913c(0x229)][_0x17913c(0x1ef)](_0xb131fe,0x0),_0x4374b8=_0xb9e4b8[_0x17913c(0x224)][_0x17913c(0x218)](_0x5af7d7,_0x17913c(0x16b));if(!this[_0x17913c(0x197)](_0xb131fe,_0x4374b8))return _0x14ce80;const _0x2a01fa=this[_0x17913c(0x18b)][_0x17913c(0x220)][_0x17913c(0x1dc)](_0x17913c(0x1b7))[_0x17913c(0x18c)](_0x15322b,_0x5af7d7,{'anchor':_0x2d85ce,'markDeletions':!0x0})[_0x17913c(0x231)]()[_0x17913c(0x169)](_0x5a6317=>_0x17913c(0x1d1)===_0x5a6317[_0x17913c(0x1fc)]||_0x17913c(0x22d)===_0x5a6317[_0x17913c(0x1fc)]&&_0x5a6317[_0x17913c(0x1b5)][_0x17913c(0x1ce)](_0x17913c(0x1ae))),_0x11b654=this[_0x17913c(0x1df)](_0x2a01fa);let _0x2cdd3c=0x0;return _0xb9e4b8[_0x17913c(0x229)][_0x17913c(0x1d2)](_0x1bfc87=>{const _0x3e4b75=_0x17913c;for(let _0xacb89f=0x0;_0xacb89f<_0x11b654[_0x3e4b75(0x172)];_0xacb89f++){const _0x18121c=_0x11b654[_0xacb89f],_0x36aac5=_0x1bfc87[_0x3e4b75(0x175)]();for(const _0x431cd7 of _0xb131fe[_0x3e4b75(0x1ad)]())_0x1bfc87[_0x3e4b75(0x1ca)](_0x431cd7[_0x3e4b75(0x1ab)](!0x0),_0x36aac5);for(const _0x5af803 of _0x18121c[_0x3e4b75(0x214)])if(_0x3e4b75(0x1d1)===_0x5af803[_0x3e4b75(0x1fc)]){const _0x5e9554=_0x5af803;_0x5e9554[_0x3e4b75(0x18e)]=null,_0x5e9554[_0x3e4b75(0x1b6)]=!0x1,this[_0x3e4b75(0x20d)](_0x5e9554,_0x36aac5),_0x1bfc87[_0x3e4b75(0x1bc)][_0x3e4b75(0x1c5)](_0x5af803),_0xb9e4b8[_0x3e4b75(0x229)][_0x3e4b75(0x192)](_0x5af803);const _0x100e96=_0x3e4b75(0x165)+_0x2cdd3c++,_0x5db704=_0xb9e4b8[_0x3e4b75(0x229)][_0x3e4b75(0x1d9)](_0x5e9554[_0x3e4b75(0x1f3)],_0x5e9554[_0x3e4b75(0x1f3)][_0x3e4b75(0x219)](_0x5e9554[_0x3e4b75(0x190)]));_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](_0x100e96,_0x5db704);}else{if(_0x3e4b75(0x22d)===_0x5af803[_0x3e4b75(0x1fc)]&&_0x5af803[_0x3e4b75(0x1b5)][_0x3e4b75(0x1ce)](_0x3e4b75(0x1ae))){const _0x1ca6c1=_0x5af803,_0x48ce06=_0x3e4b75(0x1c8)+_0x2cdd3c++;this[_0x3e4b75(0x20d)](_0x1ca6c1,_0x36aac5),_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](_0x48ce06,_0x1ca6c1[_0x3e4b75(0x1b8)]);}}const _0x4457d5=this[_0x3e4b75(0x1ec)](this[_0x3e4b75(0x17d)](this[_0x3e4b75(0x1a7)](_0x18121c[_0x3e4b75(0x214)][0x0]),_0x36aac5),this[_0x3e4b75(0x17d)](this[_0x3e4b75(0x1e0)](_0x18121c[_0x3e4b75(0x214)][_0x18121c[_0x3e4b75(0x214)][_0x3e4b75(0x172)]-0x1]),_0x36aac5));_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](me+_0x3e4b75(0x1e4),new _0x1ae561(_0x4457d5[_0x3e4b75(0x15d)],_0x4457d5[_0x3e4b75(0x20a)])),_0x14ce80[_0x3e4b75(0x18a)]({..._0x18121c,'context':this[_0x3e4b75(0x203)](_0x36aac5,_0xb9e4b8[_0x3e4b75(0x224)],{'ellipsisBefore':_0x4457d5[_0x3e4b75(0x19d)],'ellipsisAfter':_0x4457d5[_0x3e4b75(0x1f5)]}),'content':this[_0x3e4b75(0x1a9)](_0x36aac5,_0xb9e4b8[_0x3e4b75(0x224)])});}}),_0x14ce80;}[_0xff2b94(0x167)](_0x2b73f7,_0x281d0e){const _0x4f0fd2=_0xff2b94;if(!_0x2b73f7[_0x4f0fd2(0x172)])return;const _0x1a41cb=_0x2b73f7[0x0][_0x4f0fd2(0x184)]['id'],_0x259920=_0x281d0e[_0x4f0fd2(0x208)][_0x4f0fd2(0x1dc)](_0x1a41cb);if(!_0x259920)return void console[_0x4f0fd2(0x1e9)](_0x4f0fd2(0x180)+_0x1a41cb);const _0x59337e=_0x259920[_0x4f0fd2(0x14b)],_0x31ac8e=_0x2dd432(this[_0x4f0fd2(0x18b)]),_0xf4c1f0=_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)][_0x4f0fd2(0x196)][_0x4f0fd2(0x231)](_0x281d0e[_0x4f0fd2(0x156)]),_0x56f404=[];for(const _0x3558c3 of _0x2b73f7){const _0x3dbd6c=_0x3558c3[_0x4f0fd2(0x214)][_0x4f0fd2(0x14a)](_0x7a469d=>this[_0x4f0fd2(0x174)](_0x7a469d,_0x59337e,_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)][_0x4f0fd2(0x1c1)]()[0x0]));if(!_0x3dbd6c||!_0x3dbd6c[_0x4f0fd2(0x172)])continue;const _0x5e3a83=_0x3dbd6c[_0x4f0fd2(0x1f6)](_0x47ed2b=>_0x4f0fd2(0x22d)===_0x47ed2b[_0x4f0fd2(0x1fc)]&&_0x47ed2b[_0x4f0fd2(0x1b5)][_0x4f0fd2(0x1ce)](_0x4f0fd2(0x1ae))),_0x5daa26={'document':_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2bc37c=_0x37f3b3(_0x3dbd6c,_0xf4c1f0,_0x5daa26)[_0x4f0fd2(0x1af)];for(const _0x492ccc of _0x2bc37c)if(_0x4f0fd2(0x1d1)===_0x492ccc[_0x4f0fd2(0x1fc)]){const _0x415f6a=_0x492ccc,_0x1d0ded=_0x415f6a[_0x4f0fd2(0x1a3)];let _0xc90c70='';for(const _0x5a7ac8 of _0x1d0ded)_0x5a7ac8&&_0x5a7ac8['is'](_0x4f0fd2(0x1da))&&(_0xc90c70+=_0x5a7ac8[_0x4f0fd2(0x224)]);_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x415f6a[_0x4f0fd2(0x1f3)],'end':_0x415f6a[_0x4f0fd2(0x1f3)],'type':_0x4f0fd2(0x1d1),'groupId':_0x3558c3['id'],'text':_0xc90c70});}else{if(_0x4f0fd2(0x22d)===_0x492ccc[_0x4f0fd2(0x1fc)]&&_0x492ccc[_0x4f0fd2(0x1b5)][_0x4f0fd2(0x1ce)](_0x4f0fd2(0x1ae))){const _0x23694f=_0x492ccc;let _0x71b748=_0x4f0fd2(0x222);if(_0x5e3a83){const _0x268e06=this[_0x4f0fd2(0x20c)](_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)],_0x4f0fd2(0x1de),_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x1a1)]),_0xff835b=this[_0x4f0fd2(0x20c)](_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)],_0x4f0fd2(0x205),_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x1a1)]);if(_0x268e06||_0xff835b){const _0x2bfed3=_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)][_0x4f0fd2(0x219)](-_0x268e06),_0x2980c9=_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)][_0x4f0fd2(0x219)](_0xff835b);_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x2bfed3,'end':_0x2980c9,'groupId':_0x3558c3['id'],'type':_0x4f0fd2(0x1d5)});}else _0x71b748=_0x4f0fd2(0x1c4);}_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)],'end':_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)],'groupId':_0x3558c3['id'],'type':_0x71b748});}}}this[_0x4f0fd2(0x187)](_0x56f404);}[_0xff2b94(0x202)](){const _0x3c676d=_0xff2b94,_0x1b1e9a=_0x2dd432(this[_0x3c676d(0x18b)]);_0x1b1e9a[_0x3c676d(0x229)][_0x3c676d(0x1d2)](_0x29503=>{const _0x31a430=_0x3c676d;for(const _0x22c199 of this[_0x31a430(0x1cf)][_0x31a430(0x157)]())_0x1b1e9a[_0x31a430(0x229)][_0x31a430(0x1aa)][_0x31a430(0x1dc)](_0x22c199)&&_0x29503[_0x31a430(0x14c)](_0x22c199);}),this[_0x3c676d(0x1cf)][_0x3c676d(0x1a6)]();}[_0xff2b94(0x211)](){const _0x44c299=_0xff2b94;_0x2dd432(this[_0x44c299(0x18b)])[_0x44c299(0x21c)](_0x44c299(0x171));}[_0xff2b94(0x1e8)](){const _0x3f3670=_0xff2b94;_0x2dd432(this[_0x3f3670(0x18b)])[_0x3f3670(0x1d6)](_0x3f3670(0x171));}[_0xff2b94(0x233)](_0x438faf){const _0x44781f=_0xff2b94,_0x3c5b73=_0x2dd432(this[_0x44781f(0x18b)]),_0xab6551=_0x3c5b73[_0x44781f(0x229)],_0x535b7b=_0x438faf[_0x44781f(0x14a)](_0x189ff7=>this[_0x44781f(0x1e2)](_0x189ff7))[_0x44781f(0x225)]();_0xab6551[_0x44781f(0x1d2)](_0x4b6df5=>{const _0x3ef07d=_0x44781f;for(const _0x4911c5 of _0x535b7b){const _0xe3037c=_0x3c5b73[_0x3ef07d(0x229)][_0x3ef07d(0x1aa)][_0x3ef07d(0x1dc)](_0x4911c5['id']);_0xe3037c&&(_0x3ef07d(0x1d1)===_0x4911c5[_0x3ef07d(0x1fc)]?_0xab6551[_0x3ef07d(0x1b1)](_0x4b6df5[_0x3ef07d(0x1d3)](_0x4911c5[_0x3ef07d(0x1b0)]||''),_0xe3037c[_0x3ef07d(0x152)]()[_0x3ef07d(0x15d)]):_0x3ef07d(0x222)!==_0x4911c5[_0x3ef07d(0x1fc)]&&_0x3ef07d(0x1c4)!==_0x4911c5[_0x3ef07d(0x1fc)]||_0xab6551[_0x3ef07d(0x15b)](_0xab6551[_0x3ef07d(0x14f)](_0xe3037c[_0x3ef07d(0x152)]())),_0x4b6df5[_0x3ef07d(0x14c)](_0x4911c5['id']),this[_0x3ef07d(0x1cf)][_0x3ef07d(0x185)](_0x4911c5['id']));}});}[_0xff2b94(0x22f)](_0x4134b3){const _0x2e3cec=_0xff2b94,_0xa231f7=_0x2dd432(this[_0x2e3cec(0x18b)]),_0x36932c=this[_0x2e3cec(0x1e2)](_0x4134b3);_0xa231f7[_0x2e3cec(0x229)][_0x2e3cec(0x1d2)](_0x10b305=>{const _0x16745d=_0x2e3cec;for(const _0x1f9691 of _0x36932c)_0x10b305[_0x16745d(0x14c)](_0x1f9691['id']),this[_0x16745d(0x1cf)][_0x16745d(0x185)](_0x1f9691['id']);});}[_0xff2b94(0x1fa)](){const _0x1be729=_0xff2b94;return _0x2dd432(this[_0x1be729(0x18b)]);}[_0xff2b94(0x1b9)](_0x1d9560){const _0x2a95c0=_0xff2b94,_0x71b535=Array[_0x2a95c0(0x1f1)](this[_0x2a95c0(0x1cf)][_0x2a95c0(0x1cc)]())[_0x2a95c0(0x169)](_0x3e52a3=>_0x3e52a3[_0x2a95c0(0x206)]===_0x1d9560);if(!_0x71b535[_0x2a95c0(0x172)])return null;const _0x5ede9a=0x1===_0x71b535[_0x2a95c0(0x172)]?_0x71b535[0x0]:this[_0x2a95c0(0x1ea)](_0x71b535)[0x0],_0x1f0af9=_0x2dd432(this[_0x2a95c0(0x18b)]),_0x4ef525=_0x1f0af9[_0x2a95c0(0x229)][_0x2a95c0(0x1aa)][_0x2a95c0(0x1dc)](_0x5ede9a['id']);if(!_0x4ef525)return null;const _0x51fbe8=_0x4ef525[_0x2a95c0(0x152)](),_0x1aae15=_0x1f0af9[_0x2a95c0(0x20b)][_0x2a95c0(0x15e)][_0x2a95c0(0x1fd)]();if(!_0x1aae15||!_0x51fbe8)return null;const _0xa0af19=_0x1aae15[_0x2a95c0(0x210)](_0x2a95c0(0x21e)+_0x5ede9a['id']+'\x22]');return _0xa0af19?{'modelRange':_0x51fbe8,'domElement':_0xa0af19}:null;}[_0xff2b94(0x1db)](_0x35161b,_0x32ddaf){const _0x8687ff=_0xff2b94,_0x18f533=Array[_0x8687ff(0x1f1)](this[_0x8687ff(0x1cf)][_0x8687ff(0x157)]()),_0x5a16c1=new Map();for(const _0x75eb73 of _0x18f533){const _0x1b1ff4=_0x35161b[_0x8687ff(0x229)][_0x8687ff(0x1aa)][_0x8687ff(0x1dc)](_0x75eb73);if(!_0x1b1ff4)continue;const _0x815660=_0x1b1ff4[_0x8687ff(0x1e6)]()[_0x8687ff(0x14b)][0x0];_0x5a16c1[_0x8687ff(0x215)](_0x815660)||_0x5a16c1[_0x8687ff(0x14d)](_0x815660,[]),_0x5a16c1[_0x8687ff(0x1dc)](_0x815660)[_0x8687ff(0x18a)](_0x1b1ff4);}const _0x5b83f0=new Set();for(const _0x14ff97 of _0x35161b[_0x8687ff(0x229)][_0x8687ff(0x221)][_0x8687ff(0x166)][_0x8687ff(0x18d)]()){let _0x173f45=-0x1,_0x12214c=null;if(_0x8687ff(0x1d1)===_0x14ff97[_0x8687ff(0x1fc)])_0x12214c=new _0x1ae561(_0x14ff97[_0x8687ff(0x1f3)],_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x219)](_0x14ff97[_0x8687ff(0x172)])),_0x173f45=_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x14b)][0x0];else{if(_0x8687ff(0x22a)!==_0x14ff97[_0x8687ff(0x1fc)])continue;_0x12214c=new _0x1ae561(_0x14ff97[_0x8687ff(0x1f3)]),_0x173f45=_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x14b)][0x0];}const _0x2e8782=_0x5a16c1[_0x8687ff(0x1dc)](_0x173f45)||[];if(_0x2e8782[_0x8687ff(0x172)]){for(const _0x3eddf8 of _0x2e8782)if(_0x12214c[_0x8687ff(0x15a)][_0x8687ff(0x191)]===_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x15a)][_0x8687ff(0x191)]&&(_0x8687ff(0x1d1)!==_0x14ff97[_0x8687ff(0x1fc)]||!_0x12214c[_0x8687ff(0x149)](_0x3eddf8[_0x8687ff(0x152)]()))&&(_0x12214c[_0x8687ff(0x17f)](_0x3eddf8[_0x8687ff(0x152)]())||_0x12214c[_0x8687ff(0x15d)][_0x8687ff(0x1eb)](_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x20a)])||_0x12214c[_0x8687ff(0x20a)][_0x8687ff(0x1eb)](_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x15d)]))){const _0x53b6bd=this[_0x8687ff(0x1bb)](_0x3eddf8[_0x8687ff(0x1b5)]);Array[_0x8687ff(0x1f1)](this[_0x8687ff(0x1cf)][_0x8687ff(0x1cc)]())[_0x8687ff(0x169)](_0x1ff38e=>_0x1ff38e[_0x8687ff(0x206)]===_0x53b6bd[_0x8687ff(0x206)])[_0x8687ff(0x1ee)](_0x369764=>_0x5b83f0[_0x8687ff(0x164)](_0x369764['id']));}}}if(_0x5b83f0[_0x8687ff(0x155)]){for(const _0x5e8577 of _0x5b83f0)_0x32ddaf[_0x8687ff(0x14c)](_0x5e8577);return!0x0;}return!0x1;}[_0xff2b94(0x158)](_0xc892a5){const _0x408c10=_0xff2b94;for(const {name:_0x239891,data:_0x23371e}of _0xc892a5[_0x408c10(0x229)][_0x408c10(0x221)][_0x408c10(0x166)][_0x408c10(0x1c6)]()){if(!_0x239891[_0x408c10(0x1ce)](me))continue;const _0x5aa424=_0x23371e[_0x408c10(0x1e5)],_0x39bef8=_0x23371e[_0x408c10(0x1b8)],_0x4d44e4=_0x5aa424&&_0x408c10(0x16d)===_0x5aa424[_0x408c10(0x15a)][_0x408c10(0x191)],_0x4f7415=_0x39bef8&&_0x408c10(0x16d)===_0x39bef8[_0x408c10(0x15a)][_0x408c10(0x191)];if(_0x4d44e4&&_0x4f7415)continue;const _0x4363c2=this[_0x408c10(0x1bb)](_0x239891);this[_0x408c10(0x1cf)][_0x408c10(0x1dc)](_0x239891)&&(_0x4f7415||!_0x39bef8?this[_0x408c10(0x1ba)][_0x408c10(0x1ac)](_0x408c10(0x1f9),{'markerId':_0x239891,'changeId':_0x4363c2[_0x408c10(0x206)]}):_0x4d44e4&&_0x39bef8&&this[_0x408c10(0x1ba)][_0x408c10(0x1ac)](_0x408c10(0x160),{'markerId':_0x239891,'changeId':_0x4363c2[_0x408c10(0x206)]}));}}[_0xff2b94(0x1bb)](_0x3805eb){const _0x3d0032=_0xff2b94,_0x22cd52=_0x3805eb[_0x3d0032(0x21a)](':'),_0x1c0c47=(_0x22cd52[0x1]||'')[_0x3d0032(0x21a)]('_');return{'prefix':_0x22cd52[0x0],'groupId':_0x1c0c47[0x0],'suffix':_0x1c0c47[0x1]};}[_0xff2b94(0x174)](_0x2e9ff0,_0x19b7ca,_0x1a79cb){const _0xad83f6=_0xff2b94;if(_0xad83f6(0x1d1)===_0x2e9ff0[_0xad83f6(0x1fc)]){const _0x562917=_0x2e9ff0;return new _0x2bc0ae(this[_0xad83f6(0x1ff)](_0x19b7ca[_0xad83f6(0x159)](_0x562917[_0xad83f6(0x1f3)][_0xad83f6(0x18f)]),_0x1a79cb),_0x562917[_0xad83f6(0x1a3)],_0x562917[_0xad83f6(0x18e)]);}if(_0xad83f6(0x22d)===_0x2e9ff0[_0xad83f6(0x1fc)]&&_0x2e9ff0[_0xad83f6(0x1b5)][_0xad83f6(0x1ce)](_0xad83f6(0x1ae))){const _0x3d75cb=_0x2e9ff0;return new _0x1ae859(_0x3d75cb[_0xad83f6(0x1b5)],_0x3d75cb[_0xad83f6(0x1e5)],this[_0xad83f6(0x21f)](_0x3d75cb[_0xad83f6(0x1b8)],_0x19b7ca[_0xad83f6(0x159)](_0x3d75cb[_0xad83f6(0x1b8)][_0xad83f6(0x15d)][_0xad83f6(0x18f)]),_0x19b7ca[_0xad83f6(0x159)](_0x3d75cb[_0xad83f6(0x1b8)][_0xad83f6(0x20a)][_0xad83f6(0x18f)]),_0x1a79cb),_0x3d75cb[_0xad83f6(0x1cf)],_0x3d75cb[_0xad83f6(0x1bf)],_0x3d75cb[_0xad83f6(0x18e)]);}return _0x2e9ff0;}[_0xff2b94(0x1df)](_0x52d710){const _0x44b262=_0xff2b94;if(!_0x52d710[_0x44b262(0x172)])return[];const _0x33a3f7=[];let _0xd8f840=0x0,_0x42d77b=0x0,_0x2b3cac=[];for(let _0x4368a2=0x0;_0x4368a2<=_0x52d710[_0x44b262(0x172)];_0x4368a2++){const _0xa81a66=_0x52d710[_0x4368a2],_0x3da607=_0x52d710[_0x4368a2-0x1];!_0xa81a66||_0x3da607&&!this[_0x44b262(0x1e0)](_0x3da607)[_0x44b262(0x1eb)](this[_0x44b262(0x1a7)](_0xa81a66))?(_0x33a3f7[_0x44b262(0x18a)]({'operations':_0x2b3cac,'operationsIsolated':_0x2b3cac[_0x44b262(0x14a)](_0x2f0f1f=>this[_0x44b262(0x1a2)](_0x2f0f1f[_0x44b262(0x17b)](),-_0x42d77b)),'groupOffset':_0xd8f840}),_0x2b3cac=_0xa81a66?[_0xa81a66]:[],_0x42d77b+=_0xd8f840,_0xd8f840=0x0):_0x2b3cac[_0x44b262(0x18a)](_0xa81a66),_0xa81a66&&_0x44b262(0x1d1)===_0xa81a66[_0x44b262(0x1fc)]&&(_0xd8f840+=_0xa81a66[_0x44b262(0x190)]);}return _0x33a3f7;}[_0xff2b94(0x20c)](_0x53b9a4,_0x12a013,_0x21f484,_0x30dcb8=0x1){const _0xeed9ee=_0xff2b94,_0x498aa9=new _0x4fbbb7({'startPosition':_0x53b9a4,'direction':_0x12a013});let _0x4565a7=0x0;for(let _0x10e7ed=0x0;_0x10e7ed<_0x30dcb8;_0x10e7ed++){let _0x2f853f=0x0,_0x1382cd=!0x1,_0x50a019=_0xeed9ee(0x205)===_0x12a013?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xd6e4e9}of _0x498aa9)if(_0xd6e4e9['is'](_0xeed9ee(0x161))){const _0x45f622=_0x50a019[_0xeed9ee(0x19c)](_0xd6e4e9[_0xeed9ee(0x224)]);if(_0x45f622&&_0x45f622[_0xeed9ee(0x172)]){if(_0x2f853f+=_0xeed9ee(0x205)===_0x12a013?_0x45f622[_0xeed9ee(0x1a4)]+_0x45f622[0x0][_0xeed9ee(0x172)]:_0xd6e4e9[_0xeed9ee(0x224)][_0xeed9ee(0x172)]-_0x45f622[_0xeed9ee(0x1a4)],_0x45f622[0x0][_0xeed9ee(0x172)]!==_0xd6e4e9[_0xeed9ee(0x224)][_0xeed9ee(0x172)])break;_0x1382cd=!0x0,_0x50a019=_0xeed9ee(0x205)===_0x12a013?/^\w+/:/\w+$/;}else{if(_0x1382cd)break;_0x2f853f+=_0xd6e4e9[_0xeed9ee(0x1fb)];}}else{if(_0xd6e4e9['is'](_0xeed9ee(0x195))){_0x21f484[_0xeed9ee(0x186)](_0xd6e4e9)&&!_0x1382cd&&(_0x2f853f+=0x1);break;}}_0x4565a7+=_0x2f853f,_0x498aa9[_0xeed9ee(0x16c)](_0x53b9a4[_0xeed9ee(0x219)](_0xeed9ee(0x205)===_0x12a013?_0x4565a7:-_0x4565a7));}return _0x4565a7;}[_0xff2b94(0x1ec)](_0x5517b2,_0x3df8ff){const _0x5f096e=_0xff2b94,_0x34691a=_0x2dd432(this[_0x5f096e(0x18b)])[_0x5f096e(0x229)][_0x5f096e(0x1a1)],_0x170c60=this[_0x5f096e(0x20c)](_0x5517b2,_0x5f096e(0x1de),_0x34691a,0x6),_0xa8a9f6=this[_0x5f096e(0x20c)](_0x3df8ff,_0x5f096e(0x205),_0x34691a,0x6),_0x10242d=_0x5517b2[_0x5f096e(0x219)](-_0x170c60),_0x19dce7=_0x3df8ff[_0x5f096e(0x219)](_0xa8a9f6);return{'start':_0x10242d,'end':_0x19dce7,'hasContentBefore':!_0x10242d[_0x5f096e(0x234)],'hasContentAfter':!_0x19dce7[_0x5f096e(0x212)]};}[_0xff2b94(0x187)](_0x49f264){const _0x3f6e0f=_0xff2b94,_0x239577=this[_0x3f6e0f(0x18b)][_0x3f6e0f(0x220)][_0x3f6e0f(0x1dc)](_0x3f6e0f(0x200)),_0xfba50b=new Set();_0x2dd432(this[_0x3f6e0f(0x18b)])[_0x3f6e0f(0x229)][_0x3f6e0f(0x1d2)](_0x439655=>{const _0x23a92f=_0x3f6e0f;for(const _0x40787b of _0x49f264){const _0x327854=''+me+_0x40787b[_0x23a92f(0x1fc)]+':'+_0x40787b[_0x23a92f(0x206)]+'_'+_0x239577[_0x23a92f(0x150)](_0xfba50b);this[_0x23a92f(0x1cf)][_0x23a92f(0x14d)](_0x327854,{'id':_0x327854,'groupId':_0x40787b[_0x23a92f(0x206)],'type':_0x40787b[_0x23a92f(0x1fc)],'text':_0x40787b[_0x23a92f(0x1b0)]}),_0x439655[_0x23a92f(0x1bd)](_0x327854,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x439655[_0x23a92f(0x1d9)](_0x40787b[_0x23a92f(0x15d)],_0x40787b[_0x23a92f(0x20a)])});}});}[_0xff2b94(0x203)](_0x2ea385,_0x588c37,_0x55a756){let _0xbf73f4='';return()=>{const _0x5b8d80=_0x1a8a;if(!_0xbf73f4){const _0x4473cc=_0x588c37[_0x5b8d80(0x181)](_0x2ea385,{'showSuggestionHighlights':!0x0}),_0x5763cc=_0x4473cc[_0x5b8d80(0x223)](0x0);if(!_0x5763cc)return'';let _0x230be7=!0x1;const _0x1132aa=[];for(const _0x100874 of _0x5763cc[_0x5b8d80(0x1ad)]())_0x100874['is'](_0x5b8d80(0x195),_0x5b8d80(0x1f0))&&_0x100874[_0x5b8d80(0x1d7)](_0x5b8d80(0x1c9))&&(_0x230be7=!0x1),_0x230be7&&_0x1132aa[_0x5b8d80(0x18a)](_0x100874),_0x100874['is'](_0x5b8d80(0x195),_0x5b8d80(0x1f0))&&_0x100874[_0x5b8d80(0x1d7)](_0x5b8d80(0x179))&&(_0x230be7=!0x0);_0x5763cc[_0x5b8d80(0x1c2)](0x0,_0x5763cc[_0x5b8d80(0x183)]),_0x55a756?.[_0x5b8d80(0x16f)]&&_0x5763cc[_0x5b8d80(0x1f4)]('…'),_0x5763cc[_0x5b8d80(0x1f4)](_0x1132aa),_0x55a756?.[_0x5b8d80(0x17c)]&&_0x5763cc[_0x5b8d80(0x1f4)]('…');const _0xb31746=_0x588c37[_0x5b8d80(0x17e)][_0x5b8d80(0x1ed)][_0x5b8d80(0x22b)](_0x4473cc),_0x4f9cac=_0x588c37[_0x5b8d80(0x17e)][_0x5b8d80(0x1b4)][_0x5b8d80(0x19b)](_0xb31746);_0xbf73f4=_0x4f9cac;}return _0xbf73f4;};}[_0xff2b94(0x1a9)](_0x542d13,_0x39b54e){const _0x4a1251=_0xff2b94;let _0x5df12d='';return()=>(_0x5df12d||(_0x5df12d=_0x39b54e[_0x4a1251(0x15c)](_0x542d13,{'showSuggestionHighlights':!0x0})),_0x5df12d);}[_0xff2b94(0x16e)](_0xbb570a,_0x3fe165,_0x11011a){let _0x716258='';return()=>{const _0x300e74=_0x1a8a;if(!_0x716258){const _0x2bef56=_0x11011a[_0x300e74(0x181)](new _0x34f008(_0xbb570a)),_0x1698a8=_0x11011a[_0x300e74(0x17e)][_0x300e74(0x1ed)][_0x300e74(0x22b)](_0x2bef56)[_0x300e74(0x210)](_0x300e74(0x1dd)+_0x3fe165+'\x22]');_0x716258=_0x1698a8?.[_0x300e74(0x178)]||'';}return _0x716258;};}[_0xff2b94(0x20f)](_0x926fa0,_0x1eb6ad=0x5){const _0xd030d6=_0xff2b94;let _0x15e01e=_0x926fa0,_0x57c1d1=null;for(let _0x1d299d=0x0;_0x1d299d<_0x1eb6ad&&_0x15e01e;_0x1d299d++){if(!_0x15e01e[_0xd030d6(0x1cd)]){_0x15e01e=_0x15e01e[_0xd030d6(0x1d0)];continue;}if(!(''+_0x15e01e[_0xd030d6(0x1cd)])[_0xd030d6(0x216)](_0xd030d6(0x19a))){_0x15e01e=_0x15e01e[_0xd030d6(0x1d0)];continue;}if(!_0x15e01e[_0xd030d6(0x14e)](_0xd030d6(0x163)))break;_0x57c1d1=_0x15e01e;break;}return _0x57c1d1;}[_0xff2b94(0x1e2)](_0x2a51aa){const _0x6139bf=_0xff2b94;return Array[_0x6139bf(0x1f1)](this[_0x6139bf(0x1cf)][_0x6139bf(0x1cc)]())[_0x6139bf(0x169)](_0x3907bc=>_0x3907bc[_0x6139bf(0x206)]===_0x2a51aa);}[_0xff2b94(0x1a7)](_0x3c2a96){const _0x6b67b7=_0xff2b94;return _0x6b67b7(0x1d1)===_0x3c2a96[_0x6b67b7(0x1fc)]?_0x3c2a96[_0x6b67b7(0x1f3)]:_0x3c2a96[_0x6b67b7(0x1b8)][_0x6b67b7(0x15d)];}[_0xff2b94(0x1e0)](_0x1bb3c3,_0x267a56=!0x1){const _0x110fdb=_0xff2b94;return _0x110fdb(0x1d1)===_0x1bb3c3[_0x110fdb(0x1fc)]?_0x267a56?_0x1bb3c3[_0x110fdb(0x1f3)]:_0x1bb3c3[_0x110fdb(0x1f3)][_0x110fdb(0x219)](_0x1bb3c3[_0x110fdb(0x190)]):_0x1bb3c3[_0x110fdb(0x1b8)][_0x110fdb(0x20a)];}[_0xff2b94(0x1a2)](_0x586172,_0x3175f7){const _0x4be8ce=_0xff2b94;return _0x4be8ce(0x1d1)===_0x586172[_0x4be8ce(0x1fc)]?_0x586172[_0x4be8ce(0x1f3)]=_0x586172[_0x4be8ce(0x1f3)][_0x4be8ce(0x219)](_0x3175f7):_0x4be8ce(0x22d)===_0x586172[_0x4be8ce(0x1fc)]&&_0x586172[_0x4be8ce(0x1b8)]&&(_0x586172[_0x4be8ce(0x1b8)]=new _0x1ae561(_0x586172[_0x4be8ce(0x1b8)][_0x4be8ce(0x15d)][_0x4be8ce(0x219)](_0x3175f7),_0x586172[_0x4be8ce(0x1b8)][_0x4be8ce(0x20a)][_0x4be8ce(0x219)](_0x3175f7))),_0x586172;}[_0xff2b94(0x20d)](_0x254780,_0x3fad57){const _0x1b82e7=_0xff2b94;_0x1b82e7(0x1d1)===_0x254780[_0x1b82e7(0x1fc)]?_0x254780[_0x1b82e7(0x1f3)]=this[_0x1b82e7(0x17d)](_0x254780[_0x1b82e7(0x1f3)],_0x3fad57):_0x1b82e7(0x22d)===_0x254780[_0x1b82e7(0x1fc)]&&_0x254780[_0x1b82e7(0x1b8)]&&(_0x254780[_0x1b82e7(0x1b8)]=this[_0x1b82e7(0x1a5)](_0x254780[_0x1b82e7(0x1b8)],_0x3fad57));}[_0xff2b94(0x17d)](_0x2c35dd,_0x111c30){const _0x47307b=_0xff2b94;return new _0x29f8a7(_0x111c30,_0x2c35dd[_0x47307b(0x14b)]);}[_0xff2b94(0x1a5)](_0x28b70d,_0x477310){const _0x166801=_0xff2b94;return new _0x1ae561(this[_0x166801(0x17d)](_0x28b70d[_0x166801(0x15d)],_0x477310),this[_0x166801(0x17d)](_0x28b70d[_0x166801(0x20a)],_0x477310));}[_0xff2b94(0x1ff)](_0x1997c7,_0x34cf20){return new _0x29f8a7(_0x34cf20,[..._0x1997c7]);}[_0xff2b94(0x21f)](_0x477646,_0x3af38a,_0x429736,_0x160324){const _0x2ec2c5=_0xff2b94;return new _0x1ae561(this[_0x2ec2c5(0x1ff)](_0x3af38a,_0x160324),this[_0x2ec2c5(0x1ff)](_0x429736,_0x160324));}[_0xff2b94(0x1ea)](_0x449f1c){const _0x395b6c=_0xff2b94,_0x580400=_0x1654c7=>{const _0x5a1f38=_0x1a8a;switch(_0x1654c7){case _0x5a1f38(0x1d1):return 0x1;case _0x5a1f38(0x1d5):return 0x2;case _0x5a1f38(0x1c4):return 0x3;case _0x5a1f38(0x222):return 0x4;}};return _0x449f1c[_0x395b6c(0x1a8)]((_0x241c56,_0xfdf85d)=>_0x580400(_0x241c56[_0x395b6c(0x1fc)])-_0x580400(_0xfdf85d[_0x395b6c(0x1fc)]));}[_0xff2b94(0x197)](_0x26349f,_0x1b551c){const _0x423c40=_0xff2b94,_0x42f342=_0x26349f[_0x423c40(0x223)](0x0),_0x125c62=_0x1b551c[_0x423c40(0x223)](0x0);return!(!_0x42f342||!_0x125c62)&&((!_0x42f342['is'](_0x423c40(0x195))||!_0x125c62['is'](_0x423c40(0x195))||_0x42f342[_0x423c40(0x1b5)]===_0x125c62[_0x423c40(0x1b5)])&&!(_0x42f342['is'](_0x423c40(0x195))&&!_0x125c62['is'](_0x423c40(0x195))||!_0x42f342['is'](_0x423c40(0x195))&&_0x125c62['is'](_0x423c40(0x195))));}}
|
|
23
|
+
const _0x388d04=_0x16d0;(function(_0x19f11c,_0x4fd8f0){const _0x28c542=_0x16d0,_0x10e029=_0x19f11c();while(!![]){try{const _0x6e60d=parseInt(_0x28c542(0x13a))/0x1+parseInt(_0x28c542(0x143))/0x2+parseInt(_0x28c542(0x92))/0x3*(parseInt(_0x28c542(0xa8))/0x4)+parseInt(_0x28c542(0xe8))/0x5*(parseInt(_0x28c542(0x117))/0x6)+parseInt(_0x28c542(0x136))/0x7*(parseInt(_0x28c542(0xf6))/0x8)+-parseInt(_0x28c542(0xa5))/0x9+parseInt(_0x28c542(0x114))/0xa*(-parseInt(_0x28c542(0x9f))/0xb);if(_0x6e60d===_0x4fd8f0)break;else _0x10e029['push'](_0x10e029['shift']());}catch(_0xd14e4a){_0x10e029['push'](_0x10e029['shift']());}}}(_0x595b,0x1eb9b));function _0x595b(){const _0x3f4c78=['_findAdjacentContextDistance','hasAttribute','getChangedMarkers','parent','ellipsisAfter','_domEmitter','No\x20element\x20found\x20for\x20ID:\x20','ck-ai_review-mode-marker_context-','htmlWriter','applyChange','context','_insertMarkers','downcast','history','delete','$documentFragment','plugins','forward','text','[data-id=\x22','disableReadOnlyMode','forEach','1195rTkcij','remove-only','version','getHtml','ck-ai_review-mode-marker_','isOpening','type','getChildren','nodes','markChangePositionInEditorContent','oldRange','jumpTo','clone','affectsData','215056PioBss','createRawElement','_hasSameTopLevelElement','_getChangeContext','document','_appendChild','index','newRange','createUIElement','_getOperationEnd','clearAllMarkers','howMany','remove-context','createRange','flat','pop','getDiff','reviewmode-','batch','getAttribute','insertContent','isAtEnd','ai-review-mode','createPositionAt','_createGetContentFn','$markedRemove','fire','toDomElement','htmlProcessor','from','30ZmlyqA','suggestion:insertion:id:authorId:','start','5826wjCSRw','suggestion:deletion:id:authorId:','set','createPositionAfter','concat','_changePosition','isInline','_handleMarkerChanges','backward','filter','registerPostFixer','editing','requires','_createGetContentUsingDataIdFn','parse','markerToHighlight','getPath','ck-ai_review-mode-marker_add','get','afterInit','for','addOperation','_shiftOperation','_clone','innerHTML','size','keys','addMarker','AIReviewModeEditing','getChild','schema','7dlaaSF','data-marker-id','_getOperationStart','documentFragment','207417FVjnOO','domConverter','changeMarkerRestored','_changePositionOwnerDocument','_changeRange','elements','path','_translateOperationToEditorContent','rootName','104664bnYPSO','offset','AIEditing','hasContentAfter','split','sort','removeMarker','getEditor','target','groupId','getDomRoot','isIntersecting','toData','getDocumentData','ellipsisBefore','getRoots','dataDowncast','_createGetContextFn','warn','getMarkerElementForChange','model','getRoot','isOfficialPlugin','hasContentBefore','add','includes','emitter','applyOperation','_groupAdjacentOperations','_changeOperationOwnerDocument','enableReadOnlyMode','createText','ck-ai_review-mode-marker_hide','_findMarkerElement','differ','getShiftedBy','insert','_setAttribute','_markers','clear','ck-ai_review-mode-marker_context-end','view','DocumentCompare','end','editingDowncast','caption','length','remove-text','data','_changeRangeOwnerDocument','element','offsetSize','isPremiumPlugin','containsRange','className','position','root','createSelection','switchToReadOnly','startsWith','exec','getStart','6rjvmDJ','stringify','map','querySelector','$textProxy','_getMarkersDataForGroup','values','change','changeMarkerRemoved','_removeChildren','markers','span','operationsIsolated','1926221twlMul','switchToEdit','deleteContent','baseVersion','getOperations','getChanges','186246OFkPyJ','isDocumentOperation','diffContent','306356xCvYsM','_sortMarkers','click','toView','hasClass','parentElement','createDocumentFragment','pluginName','suggestion-context','markerToElement','conversion','listenTo','viewToDom','_validateMarkers','ck-ai_review-mode-marker_underline','childCount','outerHTML','[data-marker-id=\x22','has','markerName','_parseMarkerName','isAtStart','ck-ai_review-mode-marker_context-start','changeMarkerClick','processor','rejectChange','ck-ai_review-mode-marker_strikethrough','name','_nextDataId','every','_eventEmitter','$graveyard','push','getRange','model:$text','remove','attributeToAttribute','_removeAttribute','marker','operationsA','isTouching','append'];_0x595b=function(){return _0x3f4c78;};return _0x595b();}import{InsertOperation as _0x3dbfbf,MarkerOperation as _0x51fb45,ModelDocumentFragment as _0x180523,ModelPosition as _0x103c63,ModelRange as _0x3f99d3,ModelTreeWalker as _0x311394,transformOperationSets as _0x1610ac}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x643620,EmitterMixin as _0x55eef0}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4671ce}from'ckeditor5/src/core.js';import{DocumentCompare as _0x127954,DATA_ID_MODEL_ATTRIBUTE as _0x1edfd5,DATA_ID_VIEW_ATTRIBUTE as _0xe81ccc}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x252e44}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x1f0247}from'../aicore/aiediting.js';function _0x16d0(_0x543128,_0x1b586a){const _0x595b19=_0x595b();return _0x16d0=function(_0x16d057,_0x1b5201){_0x16d057=_0x16d057-0x75;let _0x6e1b8c=_0x595b19[_0x16d057];return _0x6e1b8c;},_0x16d0(_0x543128,_0x1b586a);}const me=_0x388d04(0x107);export class AIReviewModeEditing extends _0x4671ce{static get[_0x388d04(0xaf)](){const _0xc1ffc0=_0x388d04;return _0xc1ffc0(0x133);}static get[_0x388d04(0x123)](){return[_0x127954,_0x1f0247];}static get[_0x388d04(0x159)](){return!0x0;}static get[_0x388d04(0x88)](){return!0x0;}[_0x388d04(0x7a)]=new Map();[_0x388d04(0xd7)];[_0x388d04(0xc6)];constructor(_0x3dc728){const _0x4c3cfe=_0x388d04;super(_0x3dc728),this[_0x4c3cfe(0xd7)]=new(_0x643620())(),this[_0x4c3cfe(0xc6)]=new(_0x55eef0())();}get[_0x388d04(0x15d)](){const _0x290803=_0x388d04;return this[_0x290803(0xc6)];}[_0x388d04(0x12a)](){const _0x2280ed=_0x388d04,_0x274ae4=_0x252e44(this[_0x2280ed(0xdc)]);_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x80))[_0x2280ed(0xb1)]({'model':me+_0x2280ed(0x78),'view':(_0x51b72a,{writer:_0x10b48b})=>{const _0xed2a8b=_0x2280ed,_0x1e1fc4=this[_0xed2a8b(0x7a)][_0xed2a8b(0x129)](_0x51b72a[_0xed2a8b(0xbb)]),_0x30c2ef={'class':_0xed2a8b(0x128),'data-marker-id':_0x51b72a[_0xed2a8b(0xbb)]};return _0x10b48b[_0xed2a8b(0xfe)](_0xed2a8b(0x9d),_0x30c2ef,function(_0x565e97){const _0x5728a3=_0xed2a8b,_0x4b8ead=this[_0x5728a3(0x111)](_0x565e97);return _0x4b8ead[_0x5728a3(0x12f)]=_0x1e1fc4?.[_0x5728a3(0xe4)]||'',_0x4b8ead;});}}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x80))[_0x2280ed(0x126)]({'model':me+_0x2280ed(0xe9),'view':_0x472fc8=>({'classes':_0x2280ed(0xc2),'attributes':{'data-marker-id':_0x472fc8[_0x2280ed(0xbb)]}})}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x80))[_0x2280ed(0x126)]({'model':me+_0x2280ed(0x102),'view':_0x515ea9=>({'classes':_0x2280ed(0xb6),'attributes':{'data-marker-id':_0x515ea9[_0x2280ed(0xbb)]}})}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x80))[_0x2280ed(0x126)]({'model':me+_0x2280ed(0x83),'view':_0x4a4347=>({'classes':_0x2280ed(0x163),'attributes':{'data-marker-id':_0x4a4347[_0x2280ed(0xbb)]}})}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0x153))[_0x2280ed(0xb1)]({'model':me+_0x2280ed(0xb0),'view':(_0x229bda,{writer:_0x2060fe})=>_0x2060fe[_0x2280ed(0xf7)](_0x2280ed(0x9d),{'class':_0x2280ed(0xd9)+(_0x229bda[_0x2280ed(0xed)]?_0x2280ed(0x116):_0x2280ed(0x7f))})}),_0x274ae4[_0x2280ed(0xb2)][_0x2280ed(0x12b)](_0x2280ed(0xde))[_0x2280ed(0xcc)]({'model':_0x1edfd5,'view':_0xe81ccc}),this[_0x2280ed(0xd7)][_0x2280ed(0xb3)](document,_0x2280ed(0xaa),(_0x27227b,_0x4c00f9)=>{const _0x48e8e9=_0x2280ed,_0x485408=_0x4c00f9[_0x48e8e9(0x14b)],_0x4e2e39=this[_0x48e8e9(0x75)](_0x485408);if(!_0x4e2e39)return;const _0x48a32a=_0x4e2e39[_0x48e8e9(0x109)](_0x48e8e9(0x137)),_0x586be6=_0x48a32a[_0x48e8e9(0x147)](':')[_0x48e8e9(0x105)]()?.[_0x48e8e9(0x147)]('_')[0x0];this[_0x48e8e9(0xc6)][_0x48e8e9(0x110)](_0x48e8e9(0xbf),{'markerId':_0x48a32a,'changeId':_0x586be6});}),_0x274ae4[_0x2280ed(0x157)][_0x2280ed(0xfa)][_0x2280ed(0x121)](_0x31e9c0=>this[_0x2280ed(0xb5)](_0x274ae4,_0x31e9c0)),_0x274ae4[_0x2280ed(0x157)][_0x2280ed(0xfa)]['on'](_0x2280ed(0x99),()=>this[_0x2280ed(0x11e)](_0x274ae4));}[_0x388d04(0x150)](){const _0x32b81f=_0x388d04,_0x2ea0f2=this[_0x32b81f(0xdc)][_0x32b81f(0xe2)][_0x32b81f(0x129)](_0x32b81f(0x145)),_0x4b070a=_0x252e44(this[_0x32b81f(0xdc)]),_0x173bd4=_0x4b070a[_0x32b81f(0x157)],_0x2d7462=new _0x180523();for(const _0x194839 of _0x173bd4[_0x32b81f(0xfa)][_0x32b81f(0x158)]()[_0x32b81f(0xef)]()){const _0x266384=_0x194839[_0x32b81f(0x12e)](!0x0);_0x2d7462[_0x32b81f(0xfb)](_0x266384);}for(const _0x11a32a of _0x173bd4[_0x32b81f(0x9c)])_0x2d7462[_0x32b81f(0x9c)][_0x32b81f(0x119)](_0x11a32a[_0x32b81f(0xc3)],this[_0x32b81f(0x85)](_0x11a32a[_0x32b81f(0xc9)]()[_0x32b81f(0xf4)](),_0x2d7462));const _0x5675a4=new _0x311394({'ignoreElementEnd':!0x0,'startPosition':_0x173bd4[_0x32b81f(0x10d)](_0x2d7462,0x0)}),_0x2931cf=new Set(),_0x333a82=new Map();for(const {item:_0x14cd4b}of _0x5675a4){if(!_0x14cd4b['is'](_0x32b81f(0x96)))continue;const _0x9e0c85=_0x14cd4b[_0x32b81f(0xd5)];if((!_0x9e0c85||!_0x9e0c85['is'](_0x32b81f(0x86),_0x32b81f(0x81)))&&(_0x9e0c85&&_0x9e0c85['is'](_0x32b81f(0x86)))){let _0xbb3361=_0x9e0c85[_0x32b81f(0x109)](_0x1edfd5);_0xbb3361||(_0xbb3361=_0x2ea0f2[_0x32b81f(0xc4)](_0x2931cf),_0x9e0c85[_0x32b81f(0x79)](_0x1edfd5,_0xbb3361)),_0x2931cf[_0x32b81f(0x15b)](_0xbb3361);let _0x140d14=_0x9e0c85;for(;_0x140d14[_0x32b81f(0xd5)]&&!_0x140d14[_0x32b81f(0xd5)]['is'](_0x32b81f(0x139));)_0x140d14=_0x140d14[_0x32b81f(0xd5)],_0x140d14[_0x32b81f(0xd3)](_0x1edfd5)&&_0x140d14[_0x32b81f(0xcd)](_0x1edfd5);_0x333a82[_0x32b81f(0x119)](_0xbb3361,{'path':_0x9e0c85[_0x32b81f(0x127)](),'getContent':this[_0x32b81f(0x124)](_0x140d14[_0x32b81f(0x12e)](!0x0),_0xbb3361,_0x4b070a[_0x32b81f(0x84)])}),_0x5675a4[_0x32b81f(0xf3)](_0x173bd4[_0x32b81f(0x11a)](_0x9e0c85));}}return{'content':_0x4b070a[_0x32b81f(0x84)][_0x32b81f(0xc0)][_0x32b81f(0x14f)](_0x4b070a[_0x32b81f(0x84)][_0x32b81f(0xab)](_0x2d7462)),'version':_0x4b070a[_0x32b81f(0x157)][_0x32b81f(0xfa)][_0x32b81f(0xea)],'elements':_0x333a82};}[_0x388d04(0xa7)](_0x1f93f5,_0x50a462){const _0x1d281a=_0x388d04,_0x213b0f=[],_0x3ff213=_0x252e44(this[_0x1d281a(0xdc)]),_0x3f91ef=_0x3ff213[_0x1d281a(0x84)][_0x1d281a(0x125)](_0x1f93f5,_0x1d281a(0xe1)),_0x40e814=_0x3ff213[_0x1d281a(0x157)][_0x1d281a(0x10d)](_0x3f91ef,0x0),_0x1f9a34=_0x3ff213[_0x1d281a(0x84)][_0x1d281a(0x125)](_0x50a462,_0x1d281a(0xe1));if(!this[_0x1d281a(0xf8)](_0x3f91ef,_0x1f9a34))return _0x213b0f;const _0x372469=this[_0x1d281a(0xdc)][_0x1d281a(0xe2)][_0x1d281a(0x129)](_0x1d281a(0x7e))[_0x1d281a(0x106)](_0x1f93f5,_0x50a462,{'anchor':_0x40e814,'markDeletions':!0x0})[_0x1d281a(0xa3)]()[_0x1d281a(0x120)](_0x137baa=>_0x1d281a(0x78)===_0x137baa[_0x1d281a(0xee)]||_0x1d281a(0xce)===_0x137baa[_0x1d281a(0xee)]&&_0x137baa[_0x1d281a(0xc3)][_0x1d281a(0x8f)](_0x1d281a(0x10f))),_0x39c6e5=this[_0x1d281a(0x15f)](_0x372469);let _0x598e6d=0x0;return _0x3ff213[_0x1d281a(0x157)][_0x1d281a(0x99)](_0x2ade00=>{const _0x3fb6e9=_0x1d281a;for(let _0x141a8a=0x0;_0x141a8a<_0x39c6e5[_0x3fb6e9(0x82)];_0x141a8a++){const _0x49db78=_0x39c6e5[_0x141a8a],_0x5ea6d9=_0x2ade00[_0x3fb6e9(0xae)]();for(const _0x2ba8c2 of _0x3f91ef[_0x3fb6e9(0xef)]())_0x2ade00[_0x3fb6e9(0xd1)](_0x2ba8c2[_0x3fb6e9(0x12e)](!0x0),_0x5ea6d9);for(const _0x5ae631 of _0x49db78[_0x3fb6e9(0x9e)])if(_0x3fb6e9(0x78)===_0x5ae631[_0x3fb6e9(0xee)]){const _0x58a015=_0x5ae631;_0x58a015[_0x3fb6e9(0xa2)]=null,_0x58a015[_0x3fb6e9(0xa6)]=!0x1,this[_0x3fb6e9(0x160)](_0x58a015,_0x5ea6d9),_0x2ade00[_0x3fb6e9(0x108)][_0x3fb6e9(0x12c)](_0x5ae631),_0x3ff213[_0x3fb6e9(0x157)][_0x3fb6e9(0x15e)](_0x5ae631);const _0x193901=_0x3fb6e9(0x115)+_0x598e6d++,_0x27ed77=_0x3ff213[_0x3fb6e9(0x157)][_0x3fb6e9(0x103)](_0x58a015[_0x3fb6e9(0x8b)],_0x58a015[_0x3fb6e9(0x8b)][_0x3fb6e9(0x77)](_0x58a015[_0x3fb6e9(0x101)]));_0x5ea6d9[_0x3fb6e9(0x9c)][_0x3fb6e9(0x119)](_0x193901,_0x27ed77);}else{if(_0x3fb6e9(0xce)===_0x5ae631[_0x3fb6e9(0xee)]&&_0x5ae631[_0x3fb6e9(0xc3)][_0x3fb6e9(0x8f)](_0x3fb6e9(0x10f))){const _0x583a01=_0x5ae631,_0x6271a=_0x3fb6e9(0x118)+_0x598e6d++;this[_0x3fb6e9(0x160)](_0x583a01,_0x5ea6d9),_0x5ea6d9[_0x3fb6e9(0x9c)][_0x3fb6e9(0x119)](_0x6271a,_0x583a01[_0x3fb6e9(0xfd)]);}}const _0x195898=this[_0x3fb6e9(0xf9)](this[_0x3fb6e9(0x13d)](this[_0x3fb6e9(0x138)](_0x49db78[_0x3fb6e9(0x9e)][0x0]),_0x5ea6d9),this[_0x3fb6e9(0x13d)](this[_0x3fb6e9(0xff)](_0x49db78[_0x3fb6e9(0x9e)][_0x49db78[_0x3fb6e9(0x9e)][_0x3fb6e9(0x82)]-0x1]),_0x5ea6d9));_0x5ea6d9[_0x3fb6e9(0x9c)][_0x3fb6e9(0x119)](me+_0x3fb6e9(0xb0),new _0x3f99d3(_0x195898[_0x3fb6e9(0x116)],_0x195898[_0x3fb6e9(0x7f)])),_0x213b0f[_0x3fb6e9(0xc8)]({..._0x49db78,'context':this[_0x3fb6e9(0x154)](_0x5ea6d9,_0x3ff213[_0x3fb6e9(0x84)],{'ellipsisBefore':_0x195898[_0x3fb6e9(0x15a)],'ellipsisAfter':_0x195898[_0x3fb6e9(0x146)]}),'content':this[_0x3fb6e9(0x10e)](_0x5ea6d9,_0x3ff213[_0x3fb6e9(0x84)])});}}),_0x213b0f;}[_0x388d04(0xf1)](_0x3ad224,_0x2b0ea2){const _0xd54724=_0x388d04;if(!_0x3ad224[_0xd54724(0x82)])return;const _0x564d11=_0x3ad224[0x0][_0xd54724(0xd5)]['id'],_0x36835d=_0x2b0ea2[_0xd54724(0x13f)][_0xd54724(0x129)](_0x564d11);if(!_0x36835d)return void console[_0xd54724(0x155)](_0xd54724(0xd8)+_0x564d11);const _0x109fb0=_0x36835d[_0xd54724(0x140)],_0x2ffeda=_0x252e44(this[_0xd54724(0xdc)]),_0x5a845c=_0x2ffeda[_0xd54724(0x157)][_0xd54724(0xfa)][_0xd54724(0xdf)][_0xd54724(0xa3)](_0x2b0ea2[_0xd54724(0xea)]),_0x42d53a=[];for(const _0x53216b of _0x3ad224){const _0x4a9ae9=_0x53216b[_0xd54724(0x9e)][_0xd54724(0x94)](_0x23f1a2=>this[_0xd54724(0x141)](_0x23f1a2,_0x109fb0,_0x2ffeda[_0xd54724(0x157)][_0xd54724(0xfa)][_0xd54724(0x152)]()[0x0]));if(!_0x4a9ae9||!_0x4a9ae9[_0xd54724(0x82)])continue;const _0xc02a77=_0x4a9ae9[_0xd54724(0xc5)](_0x4177bb=>_0xd54724(0xce)===_0x4177bb[_0xd54724(0xee)]&&_0x4177bb[_0xd54724(0xc3)][_0xd54724(0x8f)](_0xd54724(0x10f))),_0x48b2e0={'document':_0x2ffeda[_0xd54724(0x157)][_0xd54724(0xfa)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1f8043=_0x1610ac(_0x4a9ae9,_0x5a845c,_0x48b2e0)[_0xd54724(0xcf)];for(const _0x1ad310 of _0x1f8043)if(_0xd54724(0x78)===_0x1ad310[_0xd54724(0xee)]){const _0xd18664=_0x1ad310,_0x39e526=_0xd18664[_0xd54724(0xf0)];let _0x5b542b='';for(const _0x1f08b6 of _0x39e526)_0x1f08b6&&_0x1f08b6['is'](_0xd54724(0xca))&&(_0x5b542b+=_0x1f08b6[_0xd54724(0x84)]);_0x42d53a[_0xd54724(0xc8)]({'start':_0xd18664[_0xd54724(0x8b)],'end':_0xd18664[_0xd54724(0x8b)],'type':_0xd54724(0x78),'groupId':_0x53216b['id'],'text':_0x5b542b});}else{if(_0xd54724(0xce)===_0x1ad310[_0xd54724(0xee)]&&_0x1ad310[_0xd54724(0xc3)][_0xd54724(0x8f)](_0xd54724(0x10f))){const _0x482361=_0x1ad310;let _0x46890f=_0xd54724(0x83);if(_0xc02a77){const _0x4ce615=this[_0xd54724(0xd2)](_0x482361[_0xd54724(0xfd)][_0xd54724(0x116)],_0xd54724(0x11f),_0x2ffeda[_0xd54724(0x157)][_0xd54724(0x135)]),_0x15f60b=this[_0xd54724(0xd2)](_0x482361[_0xd54724(0xfd)][_0xd54724(0x7f)],_0xd54724(0xe3),_0x2ffeda[_0xd54724(0x157)][_0xd54724(0x135)]);if(_0x4ce615||_0x15f60b){const _0x83b495=_0x482361[_0xd54724(0xfd)][_0xd54724(0x116)][_0xd54724(0x77)](-_0x4ce615),_0x323d2=_0x482361[_0xd54724(0xfd)][_0xd54724(0x7f)][_0xd54724(0x77)](_0x15f60b);_0x42d53a[_0xd54724(0xc8)]({'start':_0x83b495,'end':_0x323d2,'groupId':_0x53216b['id'],'type':_0xd54724(0x102)});}else _0x46890f=_0xd54724(0xe9);}_0x42d53a[_0xd54724(0xc8)]({'start':_0x482361[_0xd54724(0xfd)][_0xd54724(0x116)],'end':_0x482361[_0xd54724(0xfd)][_0xd54724(0x7f)],'groupId':_0x53216b['id'],'type':_0x46890f});}}}this[_0xd54724(0xdd)](_0x42d53a);}[_0x388d04(0x100)](){const _0x536366=_0x388d04,_0x13f7f6=_0x252e44(this[_0x536366(0xdc)]);_0x13f7f6[_0x536366(0x157)][_0x536366(0x99)](_0x419801=>{const _0x3e90c6=_0x536366;for(const _0x2fa900 of this[_0x3e90c6(0x7a)][_0x3e90c6(0x131)]())_0x13f7f6[_0x3e90c6(0x157)][_0x3e90c6(0x9c)][_0x3e90c6(0x129)](_0x2fa900)&&_0x419801[_0x3e90c6(0x149)](_0x2fa900);}),this[_0x536366(0x7a)][_0x536366(0x7b)]();}[_0x388d04(0x8e)](){const _0x5e4806=_0x388d04;_0x252e44(this[_0x5e4806(0xdc)])[_0x5e4806(0x161)](_0x5e4806(0x10c));}[_0x388d04(0xa0)](){const _0x4953a3=_0x388d04;_0x252e44(this[_0x4953a3(0xdc)])[_0x4953a3(0xe6)](_0x4953a3(0x10c));}[_0x388d04(0xdb)](_0x5a6cf2){const _0x5de57b=_0x388d04,_0x230282=_0x252e44(this[_0x5de57b(0xdc)]),_0x2ead44=_0x230282[_0x5de57b(0x157)],_0x17cbee=_0x5a6cf2[_0x5de57b(0x94)](_0x8477e8=>this[_0x5de57b(0x97)](_0x8477e8))[_0x5de57b(0x104)]();_0x2ead44[_0x5de57b(0x99)](_0x1ed17b=>{const _0x322fa8=_0x5de57b;for(const _0x466f79 of _0x17cbee){const _0xa8ecb2=_0x230282[_0x322fa8(0x157)][_0x322fa8(0x9c)][_0x322fa8(0x129)](_0x466f79['id']);_0xa8ecb2&&(_0x322fa8(0x78)===_0x466f79[_0x322fa8(0xee)]?_0x2ead44[_0x322fa8(0x10a)](_0x1ed17b[_0x322fa8(0x162)](_0x466f79[_0x322fa8(0xe4)]||''),_0xa8ecb2[_0x322fa8(0xc9)]()[_0x322fa8(0x116)]):_0x322fa8(0x83)!==_0x466f79[_0x322fa8(0xee)]&&_0x322fa8(0xe9)!==_0x466f79[_0x322fa8(0xee)]||_0x2ead44[_0x322fa8(0xa1)](_0x2ead44[_0x322fa8(0x8d)](_0xa8ecb2[_0x322fa8(0xc9)]())),_0x1ed17b[_0x322fa8(0x149)](_0x466f79['id']),this[_0x322fa8(0x7a)][_0x322fa8(0xe0)](_0x466f79['id']));}});}[_0x388d04(0xc1)](_0x152c42){const _0xa3d1b9=_0x388d04,_0x5bb076=_0x252e44(this[_0xa3d1b9(0xdc)]),_0x2766e5=this[_0xa3d1b9(0x97)](_0x152c42);_0x5bb076[_0xa3d1b9(0x157)][_0xa3d1b9(0x99)](_0x20f9d0=>{const _0x22ef1a=_0xa3d1b9;for(const _0x493105 of _0x2766e5)_0x20f9d0[_0x22ef1a(0x149)](_0x493105['id']),this[_0x22ef1a(0x7a)][_0x22ef1a(0xe0)](_0x493105['id']);});}[_0x388d04(0x14a)](){const _0x4f7439=_0x388d04;return _0x252e44(this[_0x4f7439(0xdc)]);}[_0x388d04(0x156)](_0x12931c){const _0x375641=_0x388d04,_0x2e042a=Array[_0x375641(0x113)](this[_0x375641(0x7a)][_0x375641(0x98)]())[_0x375641(0x120)](_0x252f72=>_0x252f72[_0x375641(0x14c)]===_0x12931c);if(!_0x2e042a[_0x375641(0x82)])return null;const _0x3102d0=0x1===_0x2e042a[_0x375641(0x82)]?_0x2e042a[0x0]:this[_0x375641(0xa9)](_0x2e042a)[0x0],_0x1ca885=_0x252e44(this[_0x375641(0xdc)]),_0x346ff4=_0x1ca885[_0x375641(0x157)][_0x375641(0x9c)][_0x375641(0x129)](_0x3102d0['id']);if(!_0x346ff4)return null;const _0x27c0bf=_0x346ff4[_0x375641(0xc9)](),_0x5de58c=_0x1ca885[_0x375641(0x122)][_0x375641(0x7d)][_0x375641(0x14d)]();if(!_0x5de58c||!_0x27c0bf)return null;const _0x4ce816=_0x5de58c[_0x375641(0x95)](_0x375641(0xb9)+_0x3102d0['id']+'\x22]');return _0x4ce816?{'modelRange':_0x27c0bf,'domElement':_0x4ce816}:null;}[_0x388d04(0xb5)](_0x4063c5,_0x24065f){const _0xfe312c=_0x388d04,_0x74d541=Array[_0xfe312c(0x113)](this[_0xfe312c(0x7a)][_0xfe312c(0x131)]()),_0x11c543=new Map();for(const _0x3380d3 of _0x74d541){const _0x28a783=_0x4063c5[_0xfe312c(0x157)][_0xfe312c(0x9c)][_0xfe312c(0x129)](_0x3380d3);if(!_0x28a783)continue;const _0x4af09f=_0x28a783[_0xfe312c(0x91)]()[_0xfe312c(0x140)][0x0];_0x11c543[_0xfe312c(0xba)](_0x4af09f)||_0x11c543[_0xfe312c(0x119)](_0x4af09f,[]),_0x11c543[_0xfe312c(0x129)](_0x4af09f)[_0xfe312c(0xc8)](_0x28a783);}const _0x3fb859=new Set();for(const _0x1231dc of _0x4063c5[_0xfe312c(0x157)][_0xfe312c(0xfa)][_0xfe312c(0x76)][_0xfe312c(0xa4)]()){let _0xf1639=-0x1,_0x357090=null;if(_0xfe312c(0x78)===_0x1231dc[_0xfe312c(0xee)])_0x357090=new _0x3f99d3(_0x1231dc[_0xfe312c(0x8b)],_0x1231dc[_0xfe312c(0x8b)][_0xfe312c(0x77)](_0x1231dc[_0xfe312c(0x82)])),_0xf1639=_0x1231dc[_0xfe312c(0x8b)][_0xfe312c(0x140)][0x0];else{if(_0xfe312c(0xcb)!==_0x1231dc[_0xfe312c(0xee)])continue;_0x357090=new _0x3f99d3(_0x1231dc[_0xfe312c(0x8b)]),_0xf1639=_0x1231dc[_0xfe312c(0x8b)][_0xfe312c(0x140)][0x0];}const _0x592900=_0x11c543[_0xfe312c(0x129)](_0xf1639)||[];if(_0x592900[_0xfe312c(0x82)]){for(const _0x3b08d7 of _0x592900)if(_0x357090[_0xfe312c(0x8c)][_0xfe312c(0x142)]===_0x3b08d7[_0xfe312c(0xc9)]()[_0xfe312c(0x8c)][_0xfe312c(0x142)]&&(_0xfe312c(0x78)!==_0x1231dc[_0xfe312c(0xee)]||!_0x357090[_0xfe312c(0x89)](_0x3b08d7[_0xfe312c(0xc9)]()))&&(_0x357090[_0xfe312c(0x14e)](_0x3b08d7[_0xfe312c(0xc9)]())||_0x357090[_0xfe312c(0x116)][_0xfe312c(0xd0)](_0x3b08d7[_0xfe312c(0xc9)]()[_0xfe312c(0x7f)])||_0x357090[_0xfe312c(0x7f)][_0xfe312c(0xd0)](_0x3b08d7[_0xfe312c(0xc9)]()[_0xfe312c(0x116)]))){const _0x59f035=this[_0xfe312c(0xbc)](_0x3b08d7[_0xfe312c(0xc3)]);Array[_0xfe312c(0x113)](this[_0xfe312c(0x7a)][_0xfe312c(0x98)]())[_0xfe312c(0x120)](_0x574ee0=>_0x574ee0[_0xfe312c(0x14c)]===_0x59f035[_0xfe312c(0x14c)])[_0xfe312c(0xe7)](_0x3d04e9=>_0x3fb859[_0xfe312c(0x15b)](_0x3d04e9['id']));}}}if(_0x3fb859[_0xfe312c(0x130)]){for(const _0x34caeb of _0x3fb859)_0x24065f[_0xfe312c(0x149)](_0x34caeb);return!0x0;}return!0x1;}[_0x388d04(0x11e)](_0x2b81f3){const _0x1ea998=_0x388d04;for(const {name:_0x20be75,data:_0x1cbac7}of _0x2b81f3[_0x1ea998(0x157)][_0x1ea998(0xfa)][_0x1ea998(0x76)][_0x1ea998(0xd4)]()){if(!_0x20be75[_0x1ea998(0x8f)](me))continue;const _0x2fdc8f=_0x1cbac7[_0x1ea998(0xf2)],_0x3e16a9=_0x1cbac7[_0x1ea998(0xfd)],_0x122009=_0x2fdc8f&&_0x1ea998(0xc7)===_0x2fdc8f[_0x1ea998(0x8c)][_0x1ea998(0x142)],_0x2645c0=_0x3e16a9&&_0x1ea998(0xc7)===_0x3e16a9[_0x1ea998(0x8c)][_0x1ea998(0x142)];if(_0x122009&&_0x2645c0)continue;const _0x46d0af=this[_0x1ea998(0xbc)](_0x20be75);this[_0x1ea998(0x7a)][_0x1ea998(0x129)](_0x20be75)&&(_0x2645c0||!_0x3e16a9?this[_0x1ea998(0xc6)][_0x1ea998(0x110)](_0x1ea998(0x9a),{'markerId':_0x20be75,'changeId':_0x46d0af[_0x1ea998(0x14c)]}):_0x122009&&_0x3e16a9&&this[_0x1ea998(0xc6)][_0x1ea998(0x110)](_0x1ea998(0x13c),{'markerId':_0x20be75,'changeId':_0x46d0af[_0x1ea998(0x14c)]}));}}[_0x388d04(0xbc)](_0x2d63ac){const _0xad6c4=_0x388d04,_0x2b8533=_0x2d63ac[_0xad6c4(0x147)](':'),_0x47810e=(_0x2b8533[0x1]||'')[_0xad6c4(0x147)]('_');return{'prefix':_0x2b8533[0x0],'groupId':_0x47810e[0x0],'suffix':_0x47810e[0x1]};}[_0x388d04(0x141)](_0x58695e,_0x610a39,_0x2e6aee){const _0x9c438b=_0x388d04;if(_0x9c438b(0x78)===_0x58695e[_0x9c438b(0xee)]){const _0x467ba9=_0x58695e;return new _0x3dbfbf(this[_0x9c438b(0x11c)](_0x610a39[_0x9c438b(0x11b)](_0x467ba9[_0x9c438b(0x8b)][_0x9c438b(0x144)]),_0x2e6aee),_0x467ba9[_0x9c438b(0xf0)],_0x467ba9[_0x9c438b(0xa2)]);}if(_0x9c438b(0xce)===_0x58695e[_0x9c438b(0xee)]&&_0x58695e[_0x9c438b(0xc3)][_0x9c438b(0x8f)](_0x9c438b(0x10f))){const _0x34fc5d=_0x58695e;return new _0x51fb45(_0x34fc5d[_0x9c438b(0xc3)],_0x34fc5d[_0x9c438b(0xf2)],this[_0x9c438b(0x13e)](_0x34fc5d[_0x9c438b(0xfd)],_0x610a39[_0x9c438b(0x11b)](_0x34fc5d[_0x9c438b(0xfd)][_0x9c438b(0x116)][_0x9c438b(0x144)]),_0x610a39[_0x9c438b(0x11b)](_0x34fc5d[_0x9c438b(0xfd)][_0x9c438b(0x7f)][_0x9c438b(0x144)]),_0x2e6aee),_0x34fc5d[_0x9c438b(0x7a)],_0x34fc5d[_0x9c438b(0xf5)],_0x34fc5d[_0x9c438b(0xa2)]);}return _0x58695e;}[_0x388d04(0x15f)](_0x23e2c9){const _0x49ab42=_0x388d04;if(!_0x23e2c9[_0x49ab42(0x82)])return[];const _0x42bcbd=[];let _0x1d5ffd=0x0,_0x484b3e=0x0,_0x2f8fe6=[];for(let _0x5b2c78=0x0;_0x5b2c78<=_0x23e2c9[_0x49ab42(0x82)];_0x5b2c78++){const _0x2a67f2=_0x23e2c9[_0x5b2c78],_0x5961b4=_0x23e2c9[_0x5b2c78-0x1];!_0x2a67f2||_0x5961b4&&!this[_0x49ab42(0xff)](_0x5961b4)[_0x49ab42(0xd0)](this[_0x49ab42(0x138)](_0x2a67f2))?(_0x42bcbd[_0x49ab42(0xc8)]({'operations':_0x2f8fe6,'operationsIsolated':_0x2f8fe6[_0x49ab42(0x94)](_0x430ce3=>this[_0x49ab42(0x12d)](_0x430ce3[_0x49ab42(0xf4)](),-_0x484b3e)),'groupOffset':_0x1d5ffd}),_0x2f8fe6=_0x2a67f2?[_0x2a67f2]:[],_0x484b3e+=_0x1d5ffd,_0x1d5ffd=0x0):_0x2f8fe6[_0x49ab42(0xc8)](_0x2a67f2),_0x2a67f2&&_0x49ab42(0x78)===_0x2a67f2[_0x49ab42(0xee)]&&(_0x1d5ffd+=_0x2a67f2[_0x49ab42(0x101)]);}return _0x42bcbd;}[_0x388d04(0xd2)](_0xd665c4,_0x433475,_0x5e2a14,_0x4a8417=0x1){const _0x515c37=_0x388d04,_0x21041c=new _0x311394({'startPosition':_0xd665c4,'direction':_0x433475});let _0x48d290=0x0;for(let _0x9702d1=0x0;_0x9702d1<_0x4a8417;_0x9702d1++){let _0x33f42e=0x0,_0x5b7478=!0x1,_0x153f99=_0x515c37(0xe3)===_0x433475?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x210a4}of _0x21041c)if(_0x210a4['is'](_0x515c37(0x96))){const _0x94ed10=_0x153f99[_0x515c37(0x90)](_0x210a4[_0x515c37(0x84)]);if(_0x94ed10&&_0x94ed10[_0x515c37(0x82)]){if(_0x33f42e+=_0x515c37(0xe3)===_0x433475?_0x94ed10[_0x515c37(0xfc)]+_0x94ed10[0x0][_0x515c37(0x82)]:_0x210a4[_0x515c37(0x84)][_0x515c37(0x82)]-_0x94ed10[_0x515c37(0xfc)],_0x94ed10[0x0][_0x515c37(0x82)]!==_0x210a4[_0x515c37(0x84)][_0x515c37(0x82)])break;_0x5b7478=!0x0,_0x153f99=_0x515c37(0xe3)===_0x433475?/^\w+/:/\w+$/;}else{if(_0x5b7478)break;_0x33f42e+=_0x210a4[_0x515c37(0x87)];}}else{if(_0x210a4['is'](_0x515c37(0x86))){_0x5e2a14[_0x515c37(0x11d)](_0x210a4)&&!_0x5b7478&&(_0x33f42e+=0x1);break;}}_0x48d290+=_0x33f42e,_0x21041c[_0x515c37(0xf3)](_0xd665c4[_0x515c37(0x77)](_0x515c37(0xe3)===_0x433475?_0x48d290:-_0x48d290));}return _0x48d290;}[_0x388d04(0xf9)](_0x42849e,_0x371d5d){const _0x41fb7b=_0x388d04,_0xdc80b7=_0x252e44(this[_0x41fb7b(0xdc)])[_0x41fb7b(0x157)][_0x41fb7b(0x135)],_0x134e78=this[_0x41fb7b(0xd2)](_0x42849e,_0x41fb7b(0x11f),_0xdc80b7,0x6),_0x2a28a0=this[_0x41fb7b(0xd2)](_0x371d5d,_0x41fb7b(0xe3),_0xdc80b7,0x6),_0x2bc200=_0x42849e[_0x41fb7b(0x77)](-_0x134e78),_0x40b6a9=_0x371d5d[_0x41fb7b(0x77)](_0x2a28a0);return{'start':_0x2bc200,'end':_0x40b6a9,'hasContentBefore':!_0x2bc200[_0x41fb7b(0xbd)],'hasContentAfter':!_0x40b6a9[_0x41fb7b(0x10b)]};}[_0x388d04(0xdd)](_0x3e6707){const _0x24515e=_0x388d04,_0x17b5bc=this[_0x24515e(0xdc)][_0x24515e(0xe2)][_0x24515e(0x129)](_0x24515e(0x145)),_0x15ebe2=new Set();_0x252e44(this[_0x24515e(0xdc)])[_0x24515e(0x157)][_0x24515e(0x99)](_0x25207e=>{const _0x2fc58b=_0x24515e;for(const _0x18628e of _0x3e6707){const _0x744099=''+me+_0x18628e[_0x2fc58b(0xee)]+':'+_0x18628e[_0x2fc58b(0x14c)]+'_'+_0x17b5bc[_0x2fc58b(0xc4)](_0x15ebe2);this[_0x2fc58b(0x7a)][_0x2fc58b(0x119)](_0x744099,{'id':_0x744099,'groupId':_0x18628e[_0x2fc58b(0x14c)],'type':_0x18628e[_0x2fc58b(0xee)],'text':_0x18628e[_0x2fc58b(0xe4)]}),_0x25207e[_0x2fc58b(0x132)](_0x744099,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x25207e[_0x2fc58b(0x103)](_0x18628e[_0x2fc58b(0x116)],_0x18628e[_0x2fc58b(0x7f)])});}});}[_0x388d04(0x154)](_0x4686e0,_0x3fa5a4,_0x325cb2){let _0x5c2827='';return()=>{const _0x19cf80=_0x16d0;if(!_0x5c2827){const _0x540e5d=_0x3fa5a4[_0x19cf80(0xab)](_0x4686e0,{'showSuggestionHighlights':!0x0}),_0x542bc4=_0x540e5d[_0x19cf80(0x134)](0x0);if(!_0x542bc4)return'';let _0x5065c0=!0x1;const _0x210ce3=[];for(const _0x3248fe of _0x542bc4[_0x19cf80(0xef)]())_0x3248fe['is'](_0x19cf80(0x86),_0x19cf80(0x9d))&&_0x3248fe[_0x19cf80(0xac)](_0x19cf80(0x7c))&&(_0x5065c0=!0x1),_0x5065c0&&_0x210ce3[_0x19cf80(0xc8)](_0x3248fe),_0x3248fe['is'](_0x19cf80(0x86),_0x19cf80(0x9d))&&_0x3248fe[_0x19cf80(0xac)](_0x19cf80(0xbe))&&(_0x5065c0=!0x0);_0x542bc4[_0x19cf80(0x9b)](0x0,_0x542bc4[_0x19cf80(0xb7)]),_0x325cb2?.[_0x19cf80(0x151)]&&_0x542bc4[_0x19cf80(0xfb)]('…'),_0x542bc4[_0x19cf80(0xfb)](_0x210ce3),_0x325cb2?.[_0x19cf80(0xd6)]&&_0x542bc4[_0x19cf80(0xfb)]('…');const _0x313fd6=_0x3fa5a4[_0x19cf80(0x112)][_0x19cf80(0x13b)][_0x19cf80(0xb4)](_0x540e5d),_0x1d3290=_0x3fa5a4[_0x19cf80(0x112)][_0x19cf80(0xda)][_0x19cf80(0xeb)](_0x313fd6);_0x5c2827=_0x1d3290;}return _0x5c2827;};}[_0x388d04(0x10e)](_0x5e92cb,_0x48b713){const _0x493b16=_0x388d04;let _0x2c933b='';return()=>(_0x2c933b||(_0x2c933b=_0x48b713[_0x493b16(0x93)](_0x5e92cb,{'showSuggestionHighlights':!0x0})),_0x2c933b);}[_0x388d04(0x124)](_0x137ff2,_0x23e687,_0x49bb4b){let _0x64ce73='';return()=>{const _0x261615=_0x16d0;if(!_0x64ce73){const _0x5de81b=_0x49bb4b[_0x261615(0xab)](new _0x180523(_0x137ff2)),_0x10cb97=_0x49bb4b[_0x261615(0x112)][_0x261615(0x13b)][_0x261615(0xb4)](_0x5de81b)[_0x261615(0x95)](_0x261615(0xe5)+_0x23e687+'\x22]');_0x64ce73=_0x10cb97?.[_0x261615(0xb8)]||'';}return _0x64ce73;};}[_0x388d04(0x75)](_0x2f375e,_0x265418=0x5){const _0x5dbe1c=_0x388d04;let _0xf4989c=_0x2f375e,_0x1a1401=null;for(let _0x24ea9c=0x0;_0x24ea9c<_0x265418&&_0xf4989c;_0x24ea9c++){if(!_0xf4989c[_0x5dbe1c(0x8a)]){_0xf4989c=_0xf4989c[_0x5dbe1c(0xad)];continue;}if(!(''+_0xf4989c[_0x5dbe1c(0x8a)])[_0x5dbe1c(0x15c)](_0x5dbe1c(0xec))){_0xf4989c=_0xf4989c[_0x5dbe1c(0xad)];continue;}if(!_0xf4989c[_0x5dbe1c(0x109)](_0x5dbe1c(0x137)))break;_0x1a1401=_0xf4989c;break;}return _0x1a1401;}[_0x388d04(0x97)](_0x136525){const _0x17959f=_0x388d04;return Array[_0x17959f(0x113)](this[_0x17959f(0x7a)][_0x17959f(0x98)]())[_0x17959f(0x120)](_0x51867e=>_0x51867e[_0x17959f(0x14c)]===_0x136525);}[_0x388d04(0x138)](_0xc71387){const _0x2093f7=_0x388d04;return _0x2093f7(0x78)===_0xc71387[_0x2093f7(0xee)]?_0xc71387[_0x2093f7(0x8b)]:_0xc71387[_0x2093f7(0xfd)][_0x2093f7(0x116)];}[_0x388d04(0xff)](_0x151b3a,_0x303c98=!0x1){const _0x8a478=_0x388d04;return _0x8a478(0x78)===_0x151b3a[_0x8a478(0xee)]?_0x303c98?_0x151b3a[_0x8a478(0x8b)]:_0x151b3a[_0x8a478(0x8b)][_0x8a478(0x77)](_0x151b3a[_0x8a478(0x101)]):_0x151b3a[_0x8a478(0xfd)][_0x8a478(0x7f)];}[_0x388d04(0x12d)](_0x5007a8,_0x448c9a){const _0xc2f685=_0x388d04;return _0xc2f685(0x78)===_0x5007a8[_0xc2f685(0xee)]?_0x5007a8[_0xc2f685(0x8b)]=_0x5007a8[_0xc2f685(0x8b)][_0xc2f685(0x77)](_0x448c9a):_0xc2f685(0xce)===_0x5007a8[_0xc2f685(0xee)]&&_0x5007a8[_0xc2f685(0xfd)]&&(_0x5007a8[_0xc2f685(0xfd)]=new _0x3f99d3(_0x5007a8[_0xc2f685(0xfd)][_0xc2f685(0x116)][_0xc2f685(0x77)](_0x448c9a),_0x5007a8[_0xc2f685(0xfd)][_0xc2f685(0x7f)][_0xc2f685(0x77)](_0x448c9a))),_0x5007a8;}[_0x388d04(0x160)](_0x2d3dcf,_0x4dab2d){const _0x15d988=_0x388d04;_0x15d988(0x78)===_0x2d3dcf[_0x15d988(0xee)]?_0x2d3dcf[_0x15d988(0x8b)]=this[_0x15d988(0x13d)](_0x2d3dcf[_0x15d988(0x8b)],_0x4dab2d):_0x15d988(0xce)===_0x2d3dcf[_0x15d988(0xee)]&&_0x2d3dcf[_0x15d988(0xfd)]&&(_0x2d3dcf[_0x15d988(0xfd)]=this[_0x15d988(0x85)](_0x2d3dcf[_0x15d988(0xfd)],_0x4dab2d));}[_0x388d04(0x13d)](_0x30248c,_0x5e8260){const _0x3a09c8=_0x388d04;return new _0x103c63(_0x5e8260,_0x30248c[_0x3a09c8(0x140)]);}[_0x388d04(0x85)](_0x14c3e1,_0x213e71){const _0x19945a=_0x388d04;return new _0x3f99d3(this[_0x19945a(0x13d)](_0x14c3e1[_0x19945a(0x116)],_0x213e71),this[_0x19945a(0x13d)](_0x14c3e1[_0x19945a(0x7f)],_0x213e71));}[_0x388d04(0x11c)](_0x1fac82,_0x53706c){return new _0x103c63(_0x53706c,[..._0x1fac82]);}[_0x388d04(0x13e)](_0x1da552,_0x9121ef,_0x1e0e5a,_0x2adf94){const _0x5c53a4=_0x388d04;return new _0x3f99d3(this[_0x5c53a4(0x11c)](_0x9121ef,_0x2adf94),this[_0x5c53a4(0x11c)](_0x1e0e5a,_0x2adf94));}[_0x388d04(0xa9)](_0x2e6451){const _0x409296=_0x388d04,_0x3cf96e=_0x286502=>{const _0x41b0ed=_0x16d0;switch(_0x286502){case _0x41b0ed(0x78):return 0x1;case _0x41b0ed(0x102):return 0x2;case _0x41b0ed(0xe9):return 0x3;case _0x41b0ed(0x83):return 0x4;}};return _0x2e6451[_0x409296(0x148)]((_0x1c95d2,_0x7c0262)=>_0x3cf96e(_0x1c95d2[_0x409296(0xee)])-_0x3cf96e(_0x7c0262[_0x409296(0xee)]));}[_0x388d04(0xf8)](_0x41f97e,_0x5b9920){const _0x19ead2=_0x388d04,_0x52d32b=_0x41f97e[_0x19ead2(0x134)](0x0),_0x5acfcd=_0x5b9920[_0x19ead2(0x134)](0x0);return!(!_0x52d32b||!_0x5acfcd)&&((!_0x52d32b['is'](_0x19ead2(0x86))||!_0x5acfcd['is'](_0x19ead2(0x86))||_0x52d32b[_0x19ead2(0xc3)]===_0x5acfcd[_0x19ead2(0xc3)])&&!(_0x52d32b['is'](_0x19ead2(0x86))&&!_0x5acfcd['is'](_0x19ead2(0x86))||!_0x52d32b['is'](_0x19ead2(0x86))&&_0x5acfcd['is'](_0x19ead2(0x86))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4ac4(_0x52c171,_0x13d42d){const _0x2cc5d0=_0x2cc5();return _0x4ac4=function(_0x4ac40b,_0x59223e){_0x4ac40b=_0x4ac40b-0x8c;let _0x391740=_0x2cc5d0[_0x4ac40b];return _0x391740;},_0x4ac4(_0x52c171,_0x13d42d);}const _0x2229d0=_0x4ac4;(function(_0x11b898,_0x3ef24c){const _0x1ea9b7=_0x4ac4,_0x50c640=_0x11b898();while(!![]){try{const _0x29dcb2=-parseInt(_0x1ea9b7(0x98))/0x1+parseInt(_0x1ea9b7(0xb5))/0x2+-parseInt(_0x1ea9b7(0x95))/0x3+parseInt(_0x1ea9b7(0xad))/0x4+-parseInt(_0x1ea9b7(0x94))/0x5*(-parseInt(_0x1ea9b7(0x92))/0x6)+-parseInt(_0x1ea9b7(0xdb))/0x7*(parseInt(_0x1ea9b7(0xbc))/0x8)+-parseInt(_0x1ea9b7(0xce))/0x9*(-parseInt(_0x1ea9b7(0x9d))/0xa);if(_0x29dcb2===_0x3ef24c)break;else _0x50c640['push'](_0x50c640['shift']());}catch(_0x5590c4){_0x50c640['push'](_0x50c640['shift']());}}}(_0x2cc5,0x7ada9));import{ContextPlugin as _0x6b1ce9}from'ckeditor5/src/core.js';import{IconAIReview as _0x232084}from'ckeditor5/src/icons.js';import{BodyCollection as _0x47c00b}from'ckeditor5/src/ui.js';import{AITabs as _0x1e815f}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x56a41c}from'./ui/aireviewmodeview.js';import{getTranslation as _0x2d9b05}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x46e9ce}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2229d0(0x8d),_0x2229d0(0xc5),_0x2229d0(0xa0),_0x2229d0(0x90),_0x2229d0(0xac),_0x2229d0(0x91),_0x2229d0(0xae),_0x2229d0(0xa3),_0x2229d0(0xc1),_0x2229d0(0xcf),_0x2229d0(0xc4),_0x2229d0(0x9a)];function _0x2cc5(){const _0x40e1dc=['rejected','retryReview','setItemAsActive','hideChangeBalloon','45890bxgZNr','showGeneralErrorView','hideBalloon','abortReviewStream','error-chunk','forEach','acceptChange','showCheckRunResult','locale','detachFromDom','addCheckRunResult','accepted','deactivateChange','activateTab','delegate','acceptAllChanges','2025964eGJSsC','activateChange','resetActiveStateInResults','showNoChangesView','showReviewCheckResultsView','pluginName','showReviewCompletedView','setAvailableChecks','1513924SslzGU','plugins','getResults','AI_REVIEW_MODE','addTab','showChunkErrorView','setItemAsInactive','1984BCHJIp','showReviewCheckListView','showResult','showDiffInBalloon','_reviewModeView','dismissChange','status','get','finishReview','runReviewCheck','updateChangeState','_reviewModeBalloonSuggestionItemView','_bodyCollection','view','error-general','outdated','hasChecks','showBalloon','1521XAfNQj','learnMore','find','setCheckResultTitle','reviewMode','reviewCheckResultsView','showCheckRunResults','leaveReviewMode','hideResult','attachToDom','AIReviewModeUI','showActionsWhenResultIsReady','setTitle','3787TWnYHE','context','init','showChangeBalloon','hideDiffInBalloon','isOfficialPlugin','AITabs','showReviewCheckList','fire','destroy','isPremiumPlugin','setActiveStateInResults','element','getReviewCheckList','getChangeElement','hideActionsWhenResultIsReady','toggleDiff','leaveReviewModeResultList','36gOwWdF','reviewCheckListView','33890ptQTVq','2676945vUCSvJ','requires','setChecks','549970qqSjmw'];_0x2cc5=function(){return _0x40e1dc;};return _0x2cc5();}export class AIReviewModeUI extends _0x6b1ce9{[_0x2229d0(0xc0)];[_0x2229d0(0xc7)];[_0x2229d0(0xc8)];static get[_0x2229d0(0x96)](){return[_0x1e815f];}static get[_0x2229d0(0xb2)](){const _0x5eea38=_0x2229d0;return _0x5eea38(0xd8);}static get[_0x2229d0(0xe0)](){return!0x0;}static get[_0x2229d0(0xe5)](){return!0x0;}constructor(_0x4d7f80){const _0x6391b0=_0x2229d0;super(_0x4d7f80),this[_0x6391b0(0xc8)]=new _0x47c00b(this[_0x6391b0(0xdc)][_0x6391b0(0xa5)]),this[_0x6391b0(0xc8)][_0x6391b0(0xd7)](),this[_0x6391b0(0xc0)]=new _0x56a41c(this[_0x6391b0(0xdc)][_0x6391b0(0xa5)]),this[_0x6391b0(0xc0)][_0x6391b0(0xab)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x6391b0(0xc7)]=new _0x46e9ce(this[_0x6391b0(0xdc)][_0x6391b0(0xa5)],this[_0x6391b0(0xc8)]),this[_0x6391b0(0xc7)][_0x6391b0(0xab)](_0x6391b0(0xa3),_0x6391b0(0xc1),_0x6391b0(0xa9))['to'](this);}[_0x2229d0(0xdd)](){const _0xb344ec=_0x2229d0,_0x59540b=this[_0xb344ec(0xdc)][_0xb344ec(0xb6)][_0xb344ec(0xc3)](_0xb344ec(0xe1));_0x59540b[_0xb344ec(0xc9)]['on'](_0xb344ec(0xaa),(_0x121d78,_0x1291d5)=>{const _0x5a6288=_0xb344ec;_0x5a6288(0xd2)===_0x1291d5?this[_0x5a6288(0xe3)](_0x5a6288(0x8d)):this[_0x5a6288(0xe3)](_0x5a6288(0xd5));}),_0x59540b[_0xb344ec(0xc9)][_0xb344ec(0xb9)]({'id':_0xb344ec(0xd2),'buttonLabel':_0x2d9b05(this[_0xb344ec(0xdc)][_0xb344ec(0xa5)],_0xb344ec(0xb8)),'buttonIcon':_0x232084,'order':0x0,'content':this[_0xb344ec(0xc0)]});}[_0x2229d0(0xe4)](){const _0x446c97=_0x2229d0;this[_0x446c97(0xc8)][_0x446c97(0xa6)](),super[_0x446c97(0xe4)]();}[_0x2229d0(0xb4)](_0x15bf26){const _0x5d926c=_0x2229d0;this[_0x5d926c(0xc0)][_0x5d926c(0x93)][_0x5d926c(0xcc)]()||this[_0x5d926c(0xc0)][_0x5d926c(0x93)][_0x5d926c(0x97)](_0x15bf26),this[_0x5d926c(0xc0)][_0x5d926c(0xbd)]();}[_0x2229d0(0xe2)](){const _0x32c7de=_0x2229d0;this[_0x32c7de(0xe3)](_0x32c7de(0x8d));}[_0x2229d0(0xd4)](_0x5b3b71){const _0x464aac=_0x2229d0;_0x5b3b71&&(_0x464aac(0xca)!==_0x5b3b71[_0x464aac(0xc2)]?_0x464aac(0xa1)!==_0x5b3b71[_0x464aac(0xc2)]?this[_0x464aac(0xc0)][_0x464aac(0xb1)]():this[_0x464aac(0xba)]():this[_0x464aac(0x9e)]());}[_0x2229d0(0xa4)](_0x348813){const _0xf5183b=_0x2229d0;this[_0xf5183b(0xc0)][_0xf5183b(0xa7)](_0x348813);}[_0x2229d0(0x9e)](){const _0x2f419a=_0x2229d0;this[_0x2f419a(0xc0)][_0x2f419a(0x9e)]();}[_0x2229d0(0xba)](){const _0x3e407a=_0x2229d0;this[_0x3e407a(0xc0)][_0x3e407a(0xba)]();}[_0x2229d0(0xd1)](_0x4218ae,_0x1a5d51){const _0xfa2d35=_0x2229d0;this[_0xfa2d35(0xc0)][_0xfa2d35(0xd3)][_0xfa2d35(0xda)](_0x4218ae,_0x1a5d51);}[_0x2229d0(0xe6)](_0x35f672){const _0x4cca88=_0x2229d0;this[_0x4cca88(0xc0)][_0x4cca88(0xd3)][_0x4cca88(0xb7)]()[_0x4cca88(0xa2)](_0x1980a5=>{const _0x3aa3d7=_0x4cca88;_0x1980a5['id']===_0x35f672&&_0x1980a5[_0x3aa3d7(0x9b)]();});}[_0x2229d0(0xaf)](){const _0x4d9893=_0x2229d0;this[_0x4d9893(0xc0)][_0x4d9893(0xd3)][_0x4d9893(0xb7)]()[_0x4d9893(0xa2)](_0x441df9=>_0x441df9[_0x4d9893(0xbb)]());}[_0x2229d0(0xc6)](_0x3bd414,_0x3ba772){const _0x2c9e4e=_0x2229d0;_0x2c9e4e(0xa8)===_0x3ba772||_0x2c9e4e(0x99)===_0x3ba772||_0x2c9e4e(0xcb)===_0x3ba772?this[_0x2c9e4e(0xc0)][_0x2c9e4e(0xd3)][_0x2c9e4e(0xd6)](_0x3bd414,_0x3ba772):this[_0x2c9e4e(0xc0)][_0x2c9e4e(0xd3)][_0x2c9e4e(0xbe)](_0x3bd414,_0x3ba772);}[_0x2229d0(0xb3)](){const _0x331916=_0x2229d0;this[_0x331916(0xc0)][_0x331916(0xb3)]();}[_0x2229d0(0xd9)](){const _0x404eab=_0x2229d0;this[_0x404eab(0xc0)][_0x404eab(0xd9)]();}[_0x2229d0(0xb0)](){const _0x4947a3=_0x2229d0;this[_0x4947a3(0xc0)][_0x4947a3(0xb0)]();}[_0x2229d0(0x8f)](){const _0x476ec4=_0x2229d0;this[_0x476ec4(0xc0)][_0x476ec4(0x8f)]();}[_0x2229d0(0xde)](_0x495f20,_0x4a9b7f){const _0x493da3=_0x2229d0;this[_0x493da3(0xc7)][_0x493da3(0xcd)](_0x495f20,_0x4a9b7f);}[_0x2229d0(0x9c)](){const _0x2d9d7e=_0x2229d0;this[_0x2d9d7e(0xc7)][_0x2d9d7e(0x9f)]();}[_0x2229d0(0xdf)](){const _0x168759=_0x2229d0;this[_0x168759(0xc7)][_0x168759(0xdf)]();}[_0x2229d0(0xbf)](){const _0x48849c=_0x2229d0;this[_0x48849c(0xc7)][_0x48849c(0xbf)]();}[_0x2229d0(0x8e)](_0x359548){const _0x33bfa6=_0x2229d0,_0xa9d1f6=this[_0x33bfa6(0xc0)][_0x33bfa6(0xd3)][_0x33bfa6(0xb7)]()[_0x33bfa6(0xd0)](_0x44dcd2=>_0x44dcd2['id']===_0x359548);return _0xa9d1f6?_0xa9d1f6[_0x33bfa6(0x8c)]:null;}[_0x2229d0(0xa9)](){const _0x2e3cde=_0x2229d0;this[_0x2e3cde(0xc7)][_0x2e3cde(0xa9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x325e(){var _0x3a421a=['2552392LlSjGW','4468640QgWUbs','143841lGIjCa','480345xPNhSv','useArgs','12sVTtcu','title','2345464ZPNlEO','options','description','227920nbwHKT','isParameterized','2092125mvgxsF'];_0x325e=function(){return _0x3a421a;};return _0x325e();}var _0x2c7068=_0x5f20;(function(_0x21596d,_0x541217){var _0x4e30c5=_0x5f20,_0x1f1089=_0x21596d();while(!![]){try{var _0x5813b0=parseInt(_0x4e30c5(0x122))/0x1+parseInt(_0x4e30c5(0x126))/0x2+parseInt(_0x4e30c5(0x121))/0x3+-parseInt(_0x4e30c5(0x120))/0x4+parseInt(_0x4e30c5(0x12b))/0x5+parseInt(_0x4e30c5(0x124))/0x6*(-parseInt(_0x4e30c5(0x129))/0x7)+-parseInt(_0x4e30c5(0x11f))/0x8;if(_0x5813b0===_0x541217)break;else _0x1f1089['push'](_0x1f1089['shift']());}catch(_0x262a41){_0x1f1089['push'](_0x1f1089['shift']());}}}(_0x325e,0x96e88));function _0x5f20(_0xcbebae,_0x1142b7){var _0x325e7e=_0x325e();return _0x5f20=function(_0x5f203f,_0x5c9cad){_0x5f203f=_0x5f203f-0x11f;var _0x131cb6=_0x325e7e[_0x5f203f];return _0x131cb6;},_0x5f20(_0xcbebae,_0x1142b7);}export class AIReviewCheck{['id'];[_0x2c7068(0x125)];[_0x2c7068(0x128)];[_0x2c7068(0x12a)];[_0x2c7068(0x123)];[_0x2c7068(0x127)];constructor({id:_0x284d0d,title:_0x19c747,description:_0x3f72f5,isParameterized:_0x5b0188,useArgs:_0x50c218,options:_0x2febba}){var _0x264cf9=_0x2c7068;this['id']=_0x284d0d,this[_0x264cf9(0x125)]=_0x19c747,this[_0x264cf9(0x128)]=_0x3f72f5,this[_0x264cf9(0x12a)]=_0x5b0188,this[_0x264cf9(0x123)]=_0x50c218,this[_0x264cf9(0x127)]=_0x2febba;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1c73(){var _0x4b6427=['_models','models','11145592NNvhIx','194RZxnSK','306234FNlwkN','9528498xqvPZd','24268887nBDofx','35859flBNCB','10lRutmT','6540606IPGSEg','1746748tvNZSm'];_0x1c73=function(){return _0x4b6427;};return _0x1c73();}var _0x344f40=_0x66fb;(function(_0x1fec76,_0x2a0f72){var _0x5baf8d=_0x66fb,_0x5433a1=_0x1fec76();while(!![]){try{var _0x1229ac=parseInt(_0x5baf8d(0xe4))/0x1+parseInt(_0x5baf8d(0xe3))/0x2*(parseInt(_0x5baf8d(0xe7))/0x3)+parseInt(_0x5baf8d(0xdf))/0x4*(parseInt(_0x5baf8d(0xe8))/0x5)+parseInt(_0x5baf8d(0xe9))/0x6+-parseInt(_0x5baf8d(0xe5))/0x7+parseInt(_0x5baf8d(0xe2))/0x8+-parseInt(_0x5baf8d(0xe6))/0x9;if(_0x1229ac===_0x2a0f72)break;else _0x5433a1['push'](_0x5433a1['shift']());}catch(_0x5729b8){_0x5433a1['push'](_0x5433a1['shift']());}}}(_0x1c73,0xbaab0));function _0x66fb(_0x2a0806,_0x1ab71e){var _0x1c73d9=_0x1c73();return _0x66fb=function(_0x66fbee,_0x4aa743){_0x66fbee=_0x66fbee-0xdf;var _0x4d7940=_0x1c73d9[_0x66fbee];return _0x4d7940;},_0x66fb(_0x2a0806,_0x1ab71e);}import{AIReviewCheck as _0x33272e}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x33272e{[_0x344f40(0xe0)]=[];get[_0x344f40(0xe1)](){var _0x1d6997=_0x344f40;return this[_0x1d6997(0xe0)];}set[_0x344f40(0xe1)](_0x4b01fd){var _0x3cb8f5=_0x344f40;this[_0x3cb8f5(0xe0)]=_0x4b01fd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4585d9=_0x3d2f;(function(_0x5a3118,_0x395f3f){var _0x3cc24e=_0x3d2f,_0x5afbd5=_0x5a3118();while(!![]){try{var _0x8a5c3a=parseInt(_0x3cc24e(0x171))/0x1*(parseInt(_0x3cc24e(0x16c))/0x2)+-parseInt(_0x3cc24e(0x174))/0x3*(parseInt(_0x3cc24e(0x170))/0x4)+parseInt(_0x3cc24e(0x175))/0x5+parseInt(_0x3cc24e(0x177))/0x6*(-parseInt(_0x3cc24e(0x169))/0x7)+parseInt(_0x3cc24e(0x16f))/0x8+-parseInt(_0x3cc24e(0x16a))/0x9+-parseInt(_0x3cc24e(0x167))/0xa*(-parseInt(_0x3cc24e(0x172))/0xb);if(_0x8a5c3a===_0x395f3f)break;else _0x5afbd5['push'](_0x5afbd5['shift']());}catch(_0x2c1337){_0x5afbd5['push'](_0x5afbd5['shift']());}}}(_0x1c64,0x65352));import{ObservableMixin as _0x495b3a}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x4b34af}from'./aireviewcheck.js';function _0x3d2f(_0x216cc3,_0x479d0f){var _0x1c64a6=_0x1c64();return _0x3d2f=function(_0x3d2fb2,_0x79274){_0x3d2fb2=_0x3d2fb2-0x166;var _0x9fe565=_0x1c64a6[_0x3d2fb2];return _0x9fe565;},_0x3d2f(_0x216cc3,_0x479d0f);}import{AIReviewCheckCustom as _0x2d6661}from'./aireviewcheckcustom.js';function _0x1c64(){var _0x3b7023=['8741Eqoxkz','1771gSMnGd','_checks','30TrxNtk','2777190lCRrSp','custom','3399858mamSSz','checks','61830bPrxAv','map','7HcViwD','3765591EEEkBD','find','32bUvMNg','getCheckById','_mapCheckDefinitions','1312808lxArYG','182108IZLPVX'];_0x1c64=function(){return _0x3b7023;};return _0x1c64();}export class AIReviewCheckList extends _0x495b3a(){[_0x4585d9(0x173)];constructor(_0xd4ddee){var _0x12e906=_0x4585d9;super(),this[_0x12e906(0x173)]=this[_0x12e906(0x16e)](_0xd4ddee);}get[_0x4585d9(0x166)](){var _0x546942=_0x4585d9;return this[_0x546942(0x173)];}[_0x4585d9(0x16d)](_0x21a523){var _0x5ccb04=_0x4585d9;return this[_0x5ccb04(0x166)][_0x5ccb04(0x16b)](_0x8e537f=>_0x8e537f['id']===_0x21a523);}[_0x4585d9(0x16e)](_0x390c4d){var _0x1a1102=_0x4585d9;return _0x390c4d[_0x1a1102(0x168)](_0x29585c=>_0x1a1102(0x176)===_0x29585c['id']?new _0x2d6661(_0x29585c):new _0x4b34af(_0x29585c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5ddb8a=_0x3a10;(function(_0x31e05f,_0x289ee3){var _0x2b25e7=_0x3a10,_0xa3b77f=_0x31e05f();while(!![]){try{var _0x2210bb=-parseInt(_0x2b25e7(0x1cb))/0x1+-parseInt(_0x2b25e7(0x1d0))/0x2*(parseInt(_0x2b25e7(0x1c6))/0x3)+-parseInt(_0x2b25e7(0x1cc))/0x4+-parseInt(_0x2b25e7(0x1c8))/0x5+parseInt(_0x2b25e7(0x1c7))/0x6*(-parseInt(_0x2b25e7(0x1ce))/0x7)+-parseInt(_0x2b25e7(0x1cf))/0x8+parseInt(_0x2b25e7(0x1c9))/0x9;if(_0x2210bb===_0x289ee3)break;else _0xa3b77f['push'](_0xa3b77f['shift']());}catch(_0x26773){_0xa3b77f['push'](_0xa3b77f['shift']());}}}(_0x4a4b,0x43290));import{EmitterMixin as _0x267035}from'ckeditor5/src/utils.js';function _0x3a10(_0x5c7721,_0x109c8d){var _0x4a4bc3=_0x4a4b();return _0x3a10=function(_0x3a1034,_0x3015fb){_0x3a1034=_0x3a1034-0x1c6;var _0x12cdb8=_0x4a4bc3[_0x3a1034];return _0x12cdb8;},_0x3a10(_0x5c7721,_0x109c8d);}function _0x4a4b(){var _0x38ba23=['6DbuQWM','2506950ZTaTBX','15767262eRtjOb','contentNew','59938SKZyPh','305508helMnk','contentInitial','1802129EfIwKe','3911368Nvhgix','3786lbCjbE','documentVersion','147ePUaTf'];_0x4a4b=function(){return _0x38ba23;};return _0x4a4b();}export class AIReviewCheckResult extends _0x267035(){['id'];[_0x5ddb8a(0x1ca)];[_0x5ddb8a(0x1cd)];[_0x5ddb8a(0x1d1)];constructor({id:_0x299508,contentNew:_0x2c528e,contentInitial:_0x4f0445,documentVersion:_0xa939d7}){var _0x3242e1=_0x5ddb8a;super(),this['id']=_0x299508,this[_0x3242e1(0x1ca)]=_0x2c528e,this[_0x3242e1(0x1cd)]=_0x4f0445,this[_0x3242e1(0x1d1)]=_0xa939d7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1628c4=_0x5a0f;(function(_0x2ab41c,_0x27b7c8){var _0x110953=_0x5a0f,_0x32fdb1=_0x2ab41c();while(!![]){try{var _0x43ee09=parseInt(_0x110953(0x1db))/0x1+-parseInt(_0x110953(0x1cb))/0x2+parseInt(_0x110953(0x1d7))/0x3*(-parseInt(_0x110953(0x1d0))/0x4)+-parseInt(_0x110953(0x1da))/0x5+-parseInt(_0x110953(0x1ca))/0x6*(parseInt(_0x110953(0x1cd))/0x7)+parseInt(_0x110953(0x1cf))/0x8*(-parseInt(_0x110953(0x1dd))/0x9)+parseInt(_0x110953(0x1cc))/0xa;if(_0x43ee09===_0x27b7c8)break;else _0x32fdb1['push'](_0x32fdb1['shift']());}catch(_0x4ffcff){_0x32fdb1['push'](_0x32fdb1['shift']());}}}(_0x109a,0x5b3a0));function _0x5a0f(_0x3d15f7,_0x3b60e7){var _0x109a1e=_0x109a();return _0x5a0f=function(_0x5a0fd3,_0x29b14a){_0x5a0fd3=_0x5a0fd3-0x1c8;var _0x8ba624=_0x109a1e[_0x5a0fd3];return _0x8ba624;},_0x5a0f(_0x3d15f7,_0x3b60e7);}function _0x109a(){var _0x4b6c35=['70185JSWzRi','409463vjjhrk','change:status','153GzCWVo','isActivated','operationsIsolated','isRated','31050rqbbKF','1282674VmwEEF','9959400FLpbHf','287KLFZwG','pending','55520zurEAz','20RYDYRX','_data','status','operations','contentDiffed','context','set','27726tRoXul','parent','_editorOperations'];_0x109a=function(){return _0x4b6c35;};return _0x109a();}import{ObservableMixin as _0x140f12}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x140f12(){['id'];[_0x1628c4(0x1d8)];[_0x1628c4(0x1d1)];[_0x1628c4(0x1d9)]=[];constructor(_0x10b5b3,_0x5ec554,_0x57131a){var _0x861ef1=_0x1628c4;super(),this['id']=_0x10b5b3,this[_0x861ef1(0x1d8)]=_0x57131a,this[_0x861ef1(0x1d1)]=_0x5ec554,this[_0x861ef1(0x1d6)](_0x861ef1(0x1de),!0x1),this[_0x861ef1(0x1d6)](_0x861ef1(0x1c9),!0x1),this[_0x861ef1(0x1d6)](_0x861ef1(0x1d2),_0x861ef1(0x1ce)),this['on'](_0x861ef1(0x1dc),()=>{var _0x1410d2=_0x861ef1;_0x1410d2(0x1ce)!==this[_0x1410d2(0x1d2)]&&this[_0x1410d2(0x1de)]&&(this[_0x1410d2(0x1de)]=!0x1);});}get[_0x1628c4(0x1d4)](){var _0x2d0e33=_0x1628c4;return this[_0x2d0e33(0x1d1)][_0x2d0e33(0x1d5)]();}get[_0x1628c4(0x1d3)](){var _0x1d943a=_0x1628c4;return this[_0x1d943a(0x1d1)][_0x1d943a(0x1d3)];}get[_0x1628c4(0x1c8)](){var _0x162f2b=_0x1628c4;return this[_0x162f2b(0x1d1)][_0x162f2b(0x1c8)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x215b2d=_0x22ce;(function(_0x1404b1,_0x554fdb){const _0xb52a8c=_0x22ce,_0x33a07a=_0x1404b1();while(!![]){try{const _0x19b591=parseInt(_0xb52a8c(0x153))/0x1+parseInt(_0xb52a8c(0x190))/0x2*(parseInt(_0xb52a8c(0x16d))/0x3)+-parseInt(_0xb52a8c(0x161))/0x4+-parseInt(_0xb52a8c(0x17c))/0x5+-parseInt(_0xb52a8c(0x199))/0x6+-parseInt(_0xb52a8c(0x156))/0x7+parseInt(_0xb52a8c(0x18b))/0x8*(parseInt(_0xb52a8c(0x196))/0x9);if(_0x19b591===_0x554fdb)break;else _0x33a07a['push'](_0x33a07a['shift']());}catch(_0x1b0a88){_0x33a07a['push'](_0x33a07a['shift']());}}}(_0x16ec,0xf3786));import{ObservableMixin as _0x214a67,uid as _0x4267d6}from'ckeditor5/src/utils.js';function _0x16ec(){const _0x4d5494=['loading','_sourceCheck','hasModifications','currentError','_addReviewCheckResult','_results','markChangeAsRejected','1489707YNcScH','size','find','_documentData','error-chunk','data','restart','error','reviewCheckResultDeactivated','initialized','markChangeAsOutdated','status','_reviewParams','reviewCheckRunUpdated','_createApiRequest','647855sBlMvg','change:status','message','documentData','dataId','accepted','set','sendRating','aborted','elements','subTitle','forEach','rejected','ai-request-aborted','_aiConnector','8ahQfqI','finished','textDelta','getContent','fire','6tNEnNR','event','callId','abort','markChangeAsAccepted','length','7373610mMGHgz','parent','processedResultsCount','3124788xPXGHy','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','includes','addResultChanges','isRated','markAllChangesAsAccepted','_sendRatingRequest','reviewCheckResultReady','clear','review-metadata','ready','markChangeAsPending','_currentError','activateChange','every','forceReadyState','reviewName','pending','filter','reviewCheckResultAdded','change:isActivated','push','deactivateChange','outdated','1019545yqymLt','error-general','unmodified','2559928IwGpCW','version','operation','start','_reviewArgs','title','get','_activeRequest','_changes','isActivated','_checkIfFinished','5260860yQBuRt','isChangeActive','abortController','getActiveChanges','getStream'];_0x16ec=function(){return _0x4d5494;};return _0x16ec();}import{AIReviewCheckResult as _0x4bf7cb}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3ebd55}from'./aireviewcheckresultchange.js';function _0x22ce(_0x3679c7,_0x87046a){const _0x16ec4f=_0x16ec();return _0x22ce=function(_0x22ce1b,_0x283823){_0x22ce1b=_0x22ce1b-0x13f;let _0x47c6d3=_0x16ec4f[_0x22ce1b];return _0x47c6d3;},_0x22ce(_0x3679c7,_0x87046a);}export class AIReviewCheckRun extends _0x214a67(){['id']=_0x4267d6();[_0x215b2d(0x192)];[_0x215b2d(0x16b)]=new Map();[_0x215b2d(0x15e)]=[];[_0x215b2d(0x170)];[_0x215b2d(0x167)];[_0x215b2d(0x18a)];[_0x215b2d(0x179)];[_0x215b2d(0x15a)];[_0x215b2d(0x15d)]=null;[_0x215b2d(0x147)];constructor(_0x407429,_0x3eaa2f,_0x2d365a,_0x29bda6,_0x1daf53){const _0x438dfe=_0x215b2d;super(),this[_0x438dfe(0x170)]=_0x407429,this[_0x438dfe(0x167)]=_0x3eaa2f,this[_0x438dfe(0x18a)]=_0x2d365a,this[_0x438dfe(0x179)]=_0x29bda6,this[_0x438dfe(0x15a)]=_0x1daf53,this['on'](_0x438dfe(0x17d),(_0x552a6f,_0x1a1c6d,_0x4c5b04)=>{const _0x5680b6=_0x438dfe;this[_0x5680b6(0x18f)](_0x5680b6(0x17a),{'status':_0x4c5b04,'run':this,'error':this[_0x5680b6(0x147)]});}),this[_0x438dfe(0x182)](_0x438dfe(0x178),_0x438dfe(0x176));}get[_0x215b2d(0x17f)](){const _0x4637ed=_0x215b2d;return this[_0x4637ed(0x170)];}get[_0x215b2d(0x198)](){const _0x12d6e9=_0x215b2d;return this[_0x12d6e9(0x16b)][_0x12d6e9(0x16e)];}get[_0x215b2d(0x15b)](){const _0x404715=_0x215b2d;return this[_0x404715(0x167)][_0x404715(0x15b)];}get[_0x215b2d(0x186)](){return'';}get[_0x215b2d(0x14b)](){const _0x15a8bf=_0x215b2d;return this[_0x15a8bf(0x167)]['id'];}get[_0x215b2d(0x168)](){const _0x1406f0=_0x215b2d;return!this[_0x1406f0(0x15e)][_0x1406f0(0x149)](_0x2d2b38=>_0x1406f0(0x14c)===_0x2d2b38[_0x1406f0(0x178)]);}get[_0x215b2d(0x169)](){const _0x497f64=_0x215b2d;return this[_0x497f64(0x147)];}async[_0x215b2d(0x159)](){const _0xa2d856=_0x215b2d;this[_0xa2d856(0x178)]=_0xa2d856(0x166),this[_0xa2d856(0x147)]=void 0x0;try{this[_0xa2d856(0x15d)]=this[_0xa2d856(0x17b)]();const _0x43b3f0=await this[_0xa2d856(0x15d)][_0xa2d856(0x165)]();this[_0xa2d856(0x178)]=_0xa2d856(0x172);for await(const _0x3ca593 of _0x43b3f0)_0xa2d856(0x155)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]&&(_0xa2d856(0x174)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]?_0xa2d856(0x144)!==_0x3ca593[_0xa2d856(0x191)]?this[_0xa2d856(0x16a)](_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x180)],_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x18d)]):this[_0xa2d856(0x192)]=_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x192)]:this[_0xa2d856(0x178)]=_0xa2d856(0x171));_0xa2d856(0x171)!==this[_0xa2d856(0x178)]&&(0x0===this[_0xa2d856(0x16b)][_0xa2d856(0x16e)]?this[_0xa2d856(0x178)]=_0xa2d856(0x155):this[_0xa2d856(0x178)]=_0xa2d856(0x145));}catch(_0x10cd8b){this[_0xa2d856(0x147)]=_0x10cd8b,_0x10cd8b instanceof Error&&_0x10cd8b[_0xa2d856(0x17e)][_0xa2d856(0x19c)](_0xa2d856(0x189))?this[_0xa2d856(0x178)]=_0xa2d856(0x184):this[_0xa2d856(0x178)]=_0xa2d856(0x154);}finally{this[_0xa2d856(0x15d)]=null;}}async[_0x215b2d(0x173)](){const _0x11a395=_0x215b2d;this[_0x11a395(0x16b)][_0x11a395(0x143)](),this[_0x11a395(0x15e)][_0x11a395(0x195)]=0x0,this[_0x11a395(0x147)]=void 0x0,await this[_0x11a395(0x159)]();}[_0x215b2d(0x19d)](_0x34aa02,_0x7b227c){const _0x33958e=_0x215b2d,_0x1b3b46=this[_0x33958e(0x16b)][_0x33958e(0x15c)](_0x34aa02);if(!_0x1b3b46)return;const _0x1fe288=[];_0x7b227c[_0x33958e(0x187)]((_0x554533,_0x527531)=>{const _0x239f1d=_0x33958e,_0x510600=new _0x3ebd55(_0x1b3b46['id']+'-'+_0x527531,_0x554533,_0x1b3b46);_0x510600['on'](_0x239f1d(0x17d),()=>{const _0x5b393c=_0x239f1d;this[_0x5b393c(0x18f)](_0x5b393c(0x19b),{'change':_0x510600,'status':_0x510600[_0x5b393c(0x178)]});}),_0x510600['on'](_0x239f1d(0x14f),()=>{const _0x20cc98=_0x239f1d;_0x510600[_0x20cc98(0x15f)]?this[_0x20cc98(0x18f)](_0x20cc98(0x19a),{'change':_0x510600}):this[_0x20cc98(0x18f)](_0x20cc98(0x175),{'change':_0x510600});}),this[_0x239f1d(0x15e)][_0x239f1d(0x150)](_0x510600),_0x1fe288[_0x239f1d(0x150)](_0x510600);}),this[_0x33958e(0x18f)](_0x33958e(0x142),{'changes':_0x1fe288,'result':_0x1b3b46,'source':this});}[_0x215b2d(0x193)](){const _0x343a07=_0x215b2d;this[_0x343a07(0x15d)]&&(this[_0x343a07(0x15d)][_0x343a07(0x163)][_0x343a07(0x193)](),this[_0x343a07(0x15d)]=null,this[_0x343a07(0x178)]=_0x343a07(0x184));}[_0x215b2d(0x162)](_0x5ad2ab){const _0x30c4a3=_0x215b2d,_0x381666=this[_0x30c4a3(0x15e)][_0x30c4a3(0x16f)](_0x15c8bc=>_0x15c8bc['id']===_0x5ad2ab);return!(!_0x381666||_0x30c4a3(0x14c)!==_0x381666[_0x30c4a3(0x178)]);}[_0x215b2d(0x164)](){const _0x1b1d4d=_0x215b2d;return this[_0x1b1d4d(0x15e)][_0x1b1d4d(0x14d)](_0x445d38=>_0x1b1d4d(0x14c)===_0x445d38[_0x1b1d4d(0x178)]);}[_0x215b2d(0x140)](){const _0x100809=_0x215b2d;for(const _0x111998 of this[_0x100809(0x15e)])_0x100809(0x14c)===_0x111998[_0x100809(0x178)]&&(_0x111998[_0x100809(0x178)]=_0x100809(0x181));this[_0x100809(0x160)]();}[_0x215b2d(0x194)](_0x47230b){const _0xf4942=_0x215b2d,_0x151677=this[_0xf4942(0x15e)][_0xf4942(0x16f)](_0x4795d3=>_0x4795d3['id']===_0x47230b);_0x151677&&_0xf4942(0x14c)===_0x151677[_0xf4942(0x178)]&&(_0x151677[_0xf4942(0x178)]=_0xf4942(0x181)),this[_0xf4942(0x160)]();}[_0x215b2d(0x16c)](_0x4e1749){const _0x4bd608=_0x215b2d,_0x3c3a17=this[_0x4bd608(0x15e)][_0x4bd608(0x16f)](_0x5f1238=>_0x5f1238['id']===_0x4e1749);_0x3c3a17&&_0x4bd608(0x14c)===_0x3c3a17[_0x4bd608(0x178)]&&(_0x3c3a17[_0x4bd608(0x178)]=_0x4bd608(0x188)),this[_0x4bd608(0x160)]();}[_0x215b2d(0x177)](_0x2ac63d){const _0x2e551c=_0x215b2d,_0x3bc329=this[_0x2e551c(0x15e)][_0x2e551c(0x16f)](_0x4ea913=>_0x4ea913['id']===_0x2ac63d);_0x3bc329&&_0x2e551c(0x14c)===_0x3bc329[_0x2e551c(0x178)]&&(_0x3bc329[_0x2e551c(0x178)]=_0x2e551c(0x152)),this[_0x2e551c(0x160)]();}[_0x215b2d(0x146)](_0x566305){const _0x213bdb=_0x215b2d,_0x3fbc39=this[_0x213bdb(0x15e)][_0x213bdb(0x16f)](_0x17cf27=>_0x17cf27['id']===_0x566305);_0x3fbc39&&_0x213bdb(0x152)===_0x3fbc39[_0x213bdb(0x178)]&&(_0x3fbc39[_0x213bdb(0x178)]=_0x213bdb(0x14c)),this[_0x213bdb(0x160)]();}[_0x215b2d(0x148)](_0x24b818){const _0x9051ef=_0x215b2d;this[_0x9051ef(0x15e)][_0x9051ef(0x14d)](_0x565d28=>_0x565d28[_0x9051ef(0x15f)]&&_0x565d28['id']!==_0x24b818)[_0x9051ef(0x187)](_0x2b160c=>{const _0x5b6827=_0x9051ef;_0x2b160c[_0x5b6827(0x15f)]=!0x1;});const _0x30e2cf=this[_0x9051ef(0x15e)][_0x9051ef(0x16f)](_0x49f06f=>_0x49f06f['id']===_0x24b818);_0x30e2cf&&_0x9051ef(0x14c)===_0x30e2cf[_0x9051ef(0x178)]&&(_0x30e2cf[_0x9051ef(0x15f)]=!0x0);}[_0x215b2d(0x151)](){const _0x20bae7=_0x215b2d;this[_0x20bae7(0x15e)][_0x20bae7(0x14d)](_0x509976=>_0x509976[_0x20bae7(0x15f)])[_0x20bae7(0x187)](_0x218141=>{const _0x5060e5=_0x20bae7;_0x218141[_0x5060e5(0x15f)]=!0x1;});}[_0x215b2d(0x14a)](){const _0x294e41=_0x215b2d;this[_0x294e41(0x178)]=_0x294e41(0x145);}async[_0x215b2d(0x183)](_0xccfaa8){const _0x2ca46c=_0x215b2d;if(_0x2ca46c(0x176)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x166)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x172)===this[_0x2ca46c(0x178)])return;if(!this[_0x2ca46c(0x192)]||0x0===this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)])return;let _0x3b45dd;if(_0xccfaa8){const _0x124841=this[_0x2ca46c(0x15e)][_0x2ca46c(0x16f)](_0x23bbd3=>_0x23bbd3['id']===_0xccfaa8);if(_0x124841&&_0x124841[_0x2ca46c(0x13f)])return;_0x124841&&(_0x3b45dd=_0x124841[_0x2ca46c(0x197)]['id'],_0x124841[_0x2ca46c(0x13f)]=!0x0);}const _0xa8f6bc={'positiveCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x14d)](_0x445e43=>_0x2ca46c(0x181)===_0x445e43[_0x2ca46c(0x178)])[_0x2ca46c(0x195)],'totalCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)]};this[_0x2ca46c(0x141)](_0xa8f6bc,this[_0x2ca46c(0x192)],_0x3b45dd);}[_0x215b2d(0x16a)](_0x1eef2f,_0x42c1db){const _0x3f1199=_0x215b2d,_0x237df6=this[_0x3f1199(0x170)][_0x3f1199(0x185)][_0x3f1199(0x15c)](_0x1eef2f);if(!_0x237df6)return;const _0x2a9514=_0x237df6[_0x3f1199(0x18e)]();if(_0x2a9514===_0x42c1db)return;const _0x226b34=new _0x4bf7cb({'id':_0x1eef2f,'contentInitial':_0x2a9514,'contentNew':_0x42c1db,'documentVersion':this[_0x3f1199(0x170)][_0x3f1199(0x157)]});this[_0x3f1199(0x16b)][_0x3f1199(0x182)](_0x226b34['id'],_0x226b34),this[_0x3f1199(0x18f)](_0x3f1199(0x14e),{'result':_0x226b34,'source':this});}[_0x215b2d(0x160)](){const _0x382b6d=_0x215b2d;_0x382b6d(0x18c)===this[_0x382b6d(0x178)]&&(this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x3ccb67=>_0x382b6d(0x14c)===_0x3ccb67[_0x382b6d(0x178)])[_0x382b6d(0x195)]>0x0&&(this[_0x382b6d(0x178)]=_0x382b6d(0x145))),_0x382b6d(0x145)===this[_0x382b6d(0x178)]&&(0x0===this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x500af5=>_0x382b6d(0x14c)===_0x500af5[_0x382b6d(0x178)])[_0x382b6d(0x195)]&&(this[_0x382b6d(0x178)]=_0x382b6d(0x18c)));}}
|
|
23
|
+
const _0x352f89=_0x45b2;(function(_0x5f1f7e,_0x56c2e6){const _0x5f4dcc=_0x45b2,_0x3345dc=_0x5f1f7e();while(!![]){try{const _0x4828ca=-parseInt(_0x5f4dcc(0xc5))/0x1*(parseInt(_0x5f4dcc(0xe4))/0x2)+parseInt(_0x5f4dcc(0xe1))/0x3*(-parseInt(_0x5f4dcc(0xa9))/0x4)+-parseInt(_0x5f4dcc(0xd7))/0x5+parseInt(_0x5f4dcc(0x96))/0x6*(parseInt(_0x5f4dcc(0xbf))/0x7)+parseInt(_0x5f4dcc(0x94))/0x8+-parseInt(_0x5f4dcc(0xc3))/0x9+parseInt(_0x5f4dcc(0xe8))/0xa;if(_0x4828ca===_0x56c2e6)break;else _0x3345dc['push'](_0x3345dc['shift']());}catch(_0x49ceb0){_0x3345dc['push'](_0x3345dc['shift']());}}}(_0x51b8,0x40206));function _0x45b2(_0x1a1175,_0x731d48){const _0x51b89b=_0x51b8();return _0x45b2=function(_0x45b29d,_0x1658a7){_0x45b29d=_0x45b29d-0x93;let _0x2ae434=_0x51b89b[_0x45b29d];return _0x2ae434;},_0x45b2(_0x1a1175,_0x731d48);}import{ObservableMixin as _0x4237e2,uid as _0x4aeefb}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x5c7613}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x14120a}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x4237e2(){['id']=_0x4aeefb();[_0x352f89(0xa3)];[_0x352f89(0xc8)]=new Map();[_0x352f89(0x9e)]=[];[_0x352f89(0xc9)];[_0x352f89(0xb2)];[_0x352f89(0xbd)];[_0x352f89(0xec)];[_0x352f89(0xd9)];[_0x352f89(0xd5)]=null;[_0x352f89(0xde)];constructor(_0x2ae589,_0x262cc0,_0x84e072,_0x4710b3,_0x3e0383){const _0x36c64b=_0x352f89;super(),this[_0x36c64b(0xc9)]=_0x2ae589,this[_0x36c64b(0xb2)]=_0x262cc0,this[_0x36c64b(0xbd)]=_0x84e072,this[_0x36c64b(0xec)]=_0x4710b3,this[_0x36c64b(0xd9)]=_0x3e0383,this['on'](_0x36c64b(0xba),(_0x583da4,_0x2e3ca9,_0x210fde)=>{const _0x363e87=_0x36c64b;this[_0x363e87(0xb3)](_0x363e87(0xcd),{'status':_0x210fde,'run':this,'error':this[_0x363e87(0xde)]});}),this[_0x36c64b(0xa5)](_0x36c64b(0xbc),_0x36c64b(0x9f));}get[_0x352f89(0xef)](){const _0x341cea=_0x352f89;return this[_0x341cea(0xc9)];}get[_0x352f89(0xee)](){const _0xa8e4fe=_0x352f89;return this[_0xa8e4fe(0xc8)][_0xa8e4fe(0x9a)];}get[_0x352f89(0xb6)](){const _0x439213=_0x352f89;return this[_0x439213(0xb2)][_0x439213(0xb6)];}get[_0x352f89(0x93)](){return'';}get[_0x352f89(0xad)](){const _0x1a8ab9=_0x352f89;return this[_0x1a8ab9(0xb2)]['id'];}get[_0x352f89(0xc6)](){const _0x278c45=_0x352f89;return!this[_0x278c45(0x9e)][_0x278c45(0xcb)](_0x33718e=>_0x278c45(0xcf)===_0x33718e[_0x278c45(0xbc)]);}get[_0x352f89(0x95)](){const _0x287ea5=_0x352f89;return this[_0x287ea5(0xde)];}async[_0x352f89(0xbe)](){const _0x2f3ff0=_0x352f89;this[_0x2f3ff0(0xbc)]=_0x2f3ff0(0xed),this[_0x2f3ff0(0xde)]=void 0x0;try{this[_0x2f3ff0(0xd5)]=this[_0x2f3ff0(0xb7)]();const _0x2550a2=await this[_0x2f3ff0(0xd5)][_0x2f3ff0(0xd4)]();this[_0x2f3ff0(0xbc)]=_0x2f3ff0(0xc2);for await(const _0x1133c4 of _0x2550a2)_0x2f3ff0(0xa8)!==_0x1133c4[_0x2f3ff0(0xc2)][_0x2f3ff0(0xd6)]&&(_0x2f3ff0(0x98)!==_0x1133c4[_0x2f3ff0(0xc2)][_0x2f3ff0(0xd6)]?_0x2f3ff0(0xaf)!==_0x1133c4[_0x2f3ff0(0xce)]?this[_0x2f3ff0(0xaa)](_0x1133c4[_0x2f3ff0(0xc2)][_0x2f3ff0(0xa2)],_0x1133c4[_0x2f3ff0(0xc2)][_0x2f3ff0(0xf0)]):this[_0x2f3ff0(0xa3)]=_0x1133c4[_0x2f3ff0(0xc2)][_0x2f3ff0(0xa3)]:this[_0x2f3ff0(0xbc)]=_0x2f3ff0(0xa7));_0x2f3ff0(0xa7)!==this[_0x2f3ff0(0xbc)]&&(0x0===this[_0x2f3ff0(0xc8)][_0x2f3ff0(0x9a)]?this[_0x2f3ff0(0xbc)]=_0x2f3ff0(0xa8):this[_0x2f3ff0(0xbc)]=_0x2f3ff0(0xd8));}catch(_0x1f75f9){this[_0x2f3ff0(0xde)]=_0x1f75f9,_0x1f75f9 instanceof Error&&_0x1f75f9[_0x2f3ff0(0xdd)][_0x2f3ff0(0xe3)](_0x2f3ff0(0xe7))?this[_0x2f3ff0(0xbc)]=_0x2f3ff0(0xf1):this[_0x2f3ff0(0xbc)]=_0x2f3ff0(0x9d);}finally{this[_0x2f3ff0(0xd5)]=null;}}async[_0x352f89(0xa6)](){const _0x58ed9a=_0x352f89;this[_0x58ed9a(0xc8)][_0x58ed9a(0xbb)](),this[_0x58ed9a(0x9e)][_0x58ed9a(0xd1)]=0x0,this[_0x58ed9a(0xde)]=void 0x0,await this[_0x58ed9a(0xbe)]();}[_0x352f89(0xea)](_0x2f8d17,_0x573a2d){const _0x12fa53=_0x352f89,_0x3189cc=this[_0x12fa53(0xc8)][_0x12fa53(0xeb)](_0x2f8d17);if(!_0x3189cc)return;const _0x55dde1=[];_0x573a2d[_0x12fa53(0xe9)]((_0x38ae81,_0x7e8be4)=>{const _0x5481ae=_0x12fa53,_0x1a9b3a=new _0x14120a(_0x3189cc['id']+'-'+_0x7e8be4,_0x38ae81,_0x3189cc);_0x1a9b3a['on'](_0x5481ae(0xba),()=>{const _0x5ad035=_0x5481ae;this[_0x5ad035(0xb3)](_0x5ad035(0xb8),{'change':_0x1a9b3a,'status':_0x1a9b3a[_0x5ad035(0xbc)]});}),_0x1a9b3a['on'](_0x5481ae(0xc4),()=>{const _0x36a259=_0x5481ae;_0x1a9b3a[_0x36a259(0xb9)]?this[_0x36a259(0xb3)](_0x36a259(0xf2),{'change':_0x1a9b3a}):this[_0x36a259(0xb3)](_0x36a259(0xe6),{'change':_0x1a9b3a});}),this[_0x5481ae(0x9e)][_0x5481ae(0xd3)](_0x1a9b3a),_0x55dde1[_0x5481ae(0xd3)](_0x1a9b3a);}),this[_0x12fa53(0xb3)](_0x12fa53(0xc7),{'changes':_0x55dde1,'result':_0x3189cc,'source':this});}[_0x352f89(0xb5)](){const _0x55b0a2=_0x352f89;this[_0x55b0a2(0xd5)]&&(this[_0x55b0a2(0xd5)][_0x55b0a2(0x9c)][_0x55b0a2(0xb5)](),this[_0x55b0a2(0xd5)]=null,this[_0x55b0a2(0xbc)]=_0x55b0a2(0xf1));}[_0x352f89(0xe2)](_0x3a2522){const _0x3bad94=_0x352f89,_0x290434=this[_0x3bad94(0x9e)][_0x3bad94(0x9b)](_0x184167=>_0x184167['id']===_0x3a2522);return!(!_0x290434||_0x3bad94(0xcf)!==_0x290434[_0x3bad94(0xbc)]);}[_0x352f89(0xdc)](){const _0x6e0fdb=_0x352f89;return this[_0x6e0fdb(0x9e)][_0x6e0fdb(0x97)](_0x35635c=>_0x6e0fdb(0xcf)===_0x35635c[_0x6e0fdb(0xbc)]);}[_0x352f89(0xa1)](){const _0x53d2fd=_0x352f89;for(const _0x57428d of this[_0x53d2fd(0x9e)])_0x53d2fd(0xcf)===_0x57428d[_0x53d2fd(0xbc)]&&(_0x57428d[_0x53d2fd(0xbc)]=_0x53d2fd(0xdb));this[_0x53d2fd(0xe0)]();}[_0x352f89(0xdf)](_0x487ce7){const _0x1b005c=_0x352f89,_0x8abb53=this[_0x1b005c(0x9e)][_0x1b005c(0x9b)](_0x31dac5=>_0x31dac5['id']===_0x487ce7);_0x8abb53&&_0x1b005c(0xcf)===_0x8abb53[_0x1b005c(0xbc)]&&(_0x8abb53[_0x1b005c(0xbc)]=_0x1b005c(0xdb)),this[_0x1b005c(0xe0)]();}[_0x352f89(0xca)](_0x1d99da){const _0x51f95b=_0x352f89,_0x34e27f=this[_0x51f95b(0x9e)][_0x51f95b(0x9b)](_0x4669f7=>_0x4669f7['id']===_0x1d99da);_0x34e27f&&_0x51f95b(0xcf)===_0x34e27f[_0x51f95b(0xbc)]&&(_0x34e27f[_0x51f95b(0xbc)]=_0x51f95b(0xc1)),this[_0x51f95b(0xe0)]();}[_0x352f89(0xb1)](_0x17509f){const _0x56cecf=_0x352f89,_0x28ec4b=this[_0x56cecf(0x9e)][_0x56cecf(0x9b)](_0x15545d=>_0x15545d['id']===_0x17509f);_0x28ec4b&&_0x56cecf(0xcf)===_0x28ec4b[_0x56cecf(0xbc)]&&(_0x28ec4b[_0x56cecf(0xbc)]=_0x56cecf(0xb0)),this[_0x56cecf(0xe0)]();}[_0x352f89(0xe5)](_0x1eb8c5){const _0x42b22a=_0x352f89,_0x5347ae=this[_0x42b22a(0x9e)][_0x42b22a(0x9b)](_0x5f4eb2=>_0x5f4eb2['id']===_0x1eb8c5);_0x5347ae&&_0x42b22a(0xb0)===_0x5347ae[_0x42b22a(0xbc)]&&(_0x5347ae[_0x42b22a(0xbc)]=_0x42b22a(0xcf)),this[_0x42b22a(0xe0)]();}[_0x352f89(0xa4)](_0x2afd9a){const _0x4e1998=_0x352f89;this[_0x4e1998(0x9e)][_0x4e1998(0x97)](_0x1383b4=>_0x1383b4[_0x4e1998(0xb9)]&&_0x1383b4['id']!==_0x2afd9a)[_0x4e1998(0xe9)](_0x5c1f65=>{const _0x582ec8=_0x4e1998;_0x5c1f65[_0x582ec8(0xb9)]=!0x1;});const _0x4b7b08=this[_0x4e1998(0x9e)][_0x4e1998(0x9b)](_0x24513f=>_0x24513f['id']===_0x2afd9a);_0x4b7b08&&_0x4e1998(0xcf)===_0x4b7b08[_0x4e1998(0xbc)]&&(_0x4b7b08[_0x4e1998(0xb9)]=!0x0);}[_0x352f89(0xa0)](){const _0x51fddc=_0x352f89;this[_0x51fddc(0x9e)][_0x51fddc(0x97)](_0x2a8d36=>_0x2a8d36[_0x51fddc(0xb9)])[_0x51fddc(0xe9)](_0x27815b=>{const _0x464d74=_0x51fddc;_0x27815b[_0x464d74(0xb9)]=!0x1;});}[_0x352f89(0xab)](){const _0x3feda9=_0x352f89;this[_0x3feda9(0xbc)]=_0x3feda9(0xd8);}async[_0x352f89(0xb4)](_0x12426a){const _0x5436d7=_0x352f89;if(_0x5436d7(0x9f)===this[_0x5436d7(0xbc)]||_0x5436d7(0xed)===this[_0x5436d7(0xbc)]||_0x5436d7(0xc2)===this[_0x5436d7(0xbc)])return;if(!this[_0x5436d7(0xa3)]||0x0===this[_0x5436d7(0x9e)][_0x5436d7(0xd1)])return;let _0x3e8e59;if(_0x12426a){const _0x5d992d=this[_0x5436d7(0x9e)][_0x5436d7(0x9b)](_0x432b76=>_0x432b76['id']===_0x12426a);if(_0x5d992d&&_0x5d992d[_0x5436d7(0xda)])return;_0x5d992d&&(_0x3e8e59=_0x5d992d[_0x5436d7(0xc0)]['id'],_0x5d992d[_0x5436d7(0xda)]=!0x0);}const _0x56b7c6={'positiveCount':this[_0x5436d7(0x9e)][_0x5436d7(0x97)](_0x3640d3=>_0x5436d7(0xdb)===_0x3640d3[_0x5436d7(0xbc)])[_0x5436d7(0xd1)],'totalCount':this[_0x5436d7(0x9e)][_0x5436d7(0xd1)]};this[_0x5436d7(0xae)](_0x56b7c6,this[_0x5436d7(0xa3)],_0x3e8e59);}[_0x352f89(0xaa)](_0x580405,_0x4b361a){const _0x3ae7bc=_0x352f89,_0xccf5da=this[_0x3ae7bc(0xc9)][_0x3ae7bc(0x99)][_0x3ae7bc(0xeb)](_0x580405);if(!_0xccf5da)return;const _0x177ccb=_0xccf5da[_0x3ae7bc(0xd0)]();if(_0x177ccb===_0x4b361a)return;const _0x1ef129=new _0x5c7613({'id':_0x580405,'contentInitial':_0x177ccb,'contentNew':_0x4b361a,'documentVersion':this[_0x3ae7bc(0xc9)][_0x3ae7bc(0xac)]});this[_0x3ae7bc(0xc8)][_0x3ae7bc(0xa5)](_0x1ef129['id'],_0x1ef129),this[_0x3ae7bc(0xb3)](_0x3ae7bc(0xd2),{'result':_0x1ef129,'source':this});}[_0x352f89(0xe0)](){const _0x5f300d=_0x352f89;_0x5f300d(0xcc)===this[_0x5f300d(0xbc)]&&(this[_0x5f300d(0x9e)][_0x5f300d(0x97)](_0x202a61=>_0x5f300d(0xcf)===_0x202a61[_0x5f300d(0xbc)])[_0x5f300d(0xd1)]>0x0&&(this[_0x5f300d(0xbc)]=_0x5f300d(0xd8))),_0x5f300d(0xd8)===this[_0x5f300d(0xbc)]&&(0x0===this[_0x5f300d(0x9e)][_0x5f300d(0x97)](_0x2c1597=>_0x5f300d(0xcf)===_0x2c1597[_0x5f300d(0xbc)])[_0x5f300d(0xd1)]&&(this[_0x5f300d(0xbc)]=_0x5f300d(0xcc)));}}function _0x51b8(){const _0x327f11=['1804276VsqDiY','_addReviewCheckResult','forceReadyState','version','reviewName','_sendRatingRequest','review-metadata','outdated','markChangeAsOutdated','_sourceCheck','fire','sendRating','abort','title','_createApiRequest','reviewCheckResultChangeStatusUpdated','isActivated','change:status','clear','status','_aiConnector','start','859831HoNvtk','parent','rejected','data','4718619ZBrQEc','change:isActivated','9QkEbGe','hasModifications','reviewCheckResultReady','_results','_documentData','markChangeAsRejected','every','finished','reviewCheckRunUpdated','event','pending','getContent','length','reviewCheckResultAdded','push','getStream','_activeRequest','operation','2266110IYheWC','ready','_reviewArgs','isRated','accepted','getActiveChanges','message','_currentError','markChangeAsAccepted','_checkIfFinished','3QjkOJg','isChangeActive','includes','14890OyedqJ','markChangeAsPending','reviewCheckResultDeactivated','ai-request-aborted','12526610dGfbKg','forEach','addResultChanges','get','_reviewParams','loading','processedResultsCount','documentData','textDelta','aborted','reviewCheckResultActivated','subTitle','114048AvdFNz','currentError','24SUcMpr','filter','error','elements','size','find','abortController','error-general','_changes','initialized','deactivateChange','markAllChangesAsAccepted','dataId','callId','activateChange','set','restart','error-chunk','unmodified'];_0x51b8=function(){return _0x327f11;};return _0x51b8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x126e(_0xbbdba3,_0x495518){var _0x18b108=_0x18b1();return _0x126e=function(_0x126e7d,_0x4c877a){_0x126e7d=_0x126e7d-0xd2;var _0x19cfef=_0x18b108[_0x126e7d];return _0x19cfef;},_0x126e(_0xbbdba3,_0x495518);}var _0xcb26d6=_0x126e;(function(_0x4c7175,_0x2a4ff6){var _0x4d536e=_0x126e,_0x2846cf=_0x4c7175();while(!![]){try{var _0x4234f2=-parseInt(_0x4d536e(0xe0))/0x1+-parseInt(_0x4d536e(0xd3))/0x2+parseInt(_0x4d536e(0xdb))/0x3+parseInt(_0x4d536e(0xd4))/0x4+parseInt(_0x4d536e(0xdf))/0x5*(-parseInt(_0x4d536e(0xd7))/0x6)+-parseInt(_0x4d536e(0xd8))/0x7+parseInt(_0x4d536e(0xe2))/0x8*(parseInt(_0x4d536e(0xd5))/0x9);if(_0x4234f2===_0x2a4ff6)break;else _0x2846cf['push'](_0x2846cf['shift']());}catch(_0x34fb29){_0x2846cf['push'](_0x2846cf['shift']());}}}(_0x18b1,0x235ac));import{AIReviewCheckRun as _0x170344}from'./aireviewcheckrun.js';function _0x18b1(){var _0x11204a=['callCustomReview','974992XWOToz','upsertCustomAIReviewRating','_aiConnector','_model','349200aaYRIW','256076CvjQVa','27STrlDG','subTitle','21606HyRKVR','1615425aEkGjA','_createApiRequest','_sendRatingRequest','506874yHokaV','_documentData','_prompt','content','5bhWldu','44811MSHJlu'];_0x18b1=function(){return _0x11204a;};return _0x18b1();}export class AIReviewCustomCheckRun extends _0x170344{[_0xcb26d6(0xdd)];[_0xcb26d6(0xd2)];constructor(_0x5753ae,_0x50e545,_0x132290,_0x16f828,_0x367b50){var _0x376ec1=_0xcb26d6;super(_0x132290,_0x16f828,_0x367b50),this[_0x376ec1(0xdd)]=_0x5753ae,this[_0x376ec1(0xd2)]=_0x50e545;}get[_0xcb26d6(0xd6)](){var _0x50469c=_0xcb26d6;return this[_0x50469c(0xdd)];}[_0xcb26d6(0xd9)](){var _0x3330c1=_0xcb26d6;return this[_0x3330c1(0xe4)][_0x3330c1(0xe1)]({'content':this[_0x3330c1(0xdc)][_0x3330c1(0xde)],'prompt':this[_0x3330c1(0xdd)],'model':this[_0x3330c1(0xd2)]});}[_0xcb26d6(0xda)](_0x178ff6,_0x33fd49,_0x47296a){var _0x11a119=_0xcb26d6;return this[_0x11a119(0xe4)][_0x11a119(0xe3)](_0x33fd49,_0x178ff6,_0x47296a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1f0c(_0x403ddf,_0x433394){const _0x2a65ea=_0x2a65();return _0x1f0c=function(_0x1f0c04,_0x16e4c7){_0x1f0c04=_0x1f0c04-0x1d2;let _0x32985e=_0x2a65ea[_0x1f0c04];return _0x32985e;},_0x1f0c(_0x403ddf,_0x433394);}const _0x457be4=_0x1f0c;(function(_0x1b6b66,_0x4e0af4){const _0xffe53d=_0x1f0c,_0x1cd161=_0x1b6b66();while(!![]){try{const _0x31b0b0=parseInt(_0xffe53d(0x1df))/0x1*(parseInt(_0xffe53d(0x1ed))/0x2)+-parseInt(_0xffe53d(0x1e7))/0x3*(-parseInt(_0xffe53d(0x1eb))/0x4)+parseInt(_0xffe53d(0x1e6))/0x5+parseInt(_0xffe53d(0x1e5))/0x6+parseInt(_0xffe53d(0x1e0))/0x7*(-parseInt(_0xffe53d(0x1e1))/0x8)+parseInt(_0xffe53d(0x1f1))/0x9+-parseInt(_0xffe53d(0x1de))/0xa*(-parseInt(_0xffe53d(0x1d9))/0xb);if(_0x31b0b0===_0x4e0af4)break;else _0x1cd161['push'](_0x1cd161['shift']());}catch(_0x35f676){_0x1cd161['push'](_0x1cd161['shift']());}}}(_0x2a65,0x91f4e));import{AIReviewCheckRun as _0x145c70}from'./aireviewcheckrun.js';function _0x2a65(){const _0x2866ed=['_createApiRequest','_reviewParams','join','10iZjEzy','11bpJJdW','71225wAvyDw','728TxmEJo','callSystemReview','_documentData','push','1668354SSbaKY','1186315AavuQw','3eTUJXF','_composeReviewName','useArgs','_aiConnector','281188fsFihH','length','86042hZZPvy','reviewName','upsertAIReviewRating','_sourceCheck','1086372GGdmdj','options','_sendRatingRequest','content','subTitle','_reviewArgs','label','find','3786255GNLusK','data'];_0x2a65=function(){return _0x2866ed;};return _0x2a65();}export class AIReviewSystemCheckRun extends _0x145c70{get[_0x457be4(0x1d5)](){const _0x31b454=_0x457be4;if(!this[_0x31b454(0x1dc)]||0x0===this[_0x31b454(0x1dc)][_0x31b454(0x1ec)])return'';const _0x5b1d6c=[];if(this[_0x31b454(0x1dc)][_0x31b454(0x1ec)]>0x0&&this[_0x31b454(0x1f0)][_0x31b454(0x1d2)])for(let _0x531f49=0x0;_0x531f49<this[_0x31b454(0x1dc)][_0x31b454(0x1ec)];_0x531f49++){if(!this[_0x31b454(0x1dc)][_0x531f49]||!this[_0x31b454(0x1f0)][_0x31b454(0x1d2)][_0x531f49])continue;const _0x38bd3c=this[_0x31b454(0x1f0)][_0x31b454(0x1d2)][_0x531f49],_0x27a317=_0x38bd3c[_0x31b454(0x1da)]?.[_0x31b454(0x1d8)](_0xdfa2b8=>_0xdfa2b8['id']===this[_0x31b454(0x1dc)][_0x531f49]);_0x27a317&&_0x5b1d6c[_0x31b454(0x1e4)](_0x27a317[_0x31b454(0x1d7)]);}return _0x5b1d6c[_0x31b454(0x1dd)](',\x20');}get[_0x457be4(0x1ee)](){const _0x18751c=_0x457be4;return this[_0x18751c(0x1e8)]();}[_0x457be4(0x1db)](){const _0xeaf9ae=_0x457be4;return this[_0xeaf9ae(0x1ea)][_0xeaf9ae(0x1e2)]({'reviewName':this[_0xeaf9ae(0x1e8)](),'content':this[_0xeaf9ae(0x1e3)][_0xeaf9ae(0x1d4)],'args':this[_0xeaf9ae(0x1d6)]});}[_0x457be4(0x1d3)](_0xad1f8d,_0x27014b,_0x1b787f){const _0x199ca0=_0x457be4;return this[_0x199ca0(0x1ea)][_0x199ca0(0x1ef)](this[_0x199ca0(0x1ee)],_0x27014b,_0xad1f8d,_0x1b787f);}[_0x457be4(0x1e8)](){const _0x3b0df4=_0x457be4;return!this[_0x3b0df4(0x1dc)]||0x0===this[_0x3b0df4(0x1dc)][_0x3b0df4(0x1ec)]||this[_0x3b0df4(0x1f0)][_0x3b0df4(0x1e9)]?this[_0x3b0df4(0x1f0)]['id']:[this[_0x3b0df4(0x1f0)]['id'],...this[_0x3b0df4(0x1dc)]][_0x3b0df4(0x1dd)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1a46a9=_0x3801;function _0x3801(_0x9f73fb,_0x3282d9){var _0x4704eb=_0x4704();return _0x3801=function(_0x380155,_0x3c20ad){_0x380155=_0x380155-0x16b;var _0x273560=_0x4704eb[_0x380155];return _0x273560;},_0x3801(_0x9f73fb,_0x3282d9);}(function(_0x434b06,_0xe9bfd6){var _0x3469c4=_0x3801,_0x3359b5=_0x434b06();while(!![]){try{var _0x3cf7ba=-parseInt(_0x3469c4(0x17a))/0x1*(parseInt(_0x3469c4(0x174))/0x2)+parseInt(_0x3469c4(0x17f))/0x3+parseInt(_0x3469c4(0x16c))/0x4+parseInt(_0x3469c4(0x17e))/0x5+parseInt(_0x3469c4(0x172))/0x6+-parseInt(_0x3469c4(0x179))/0x7+-parseInt(_0x3469c4(0x16e))/0x8*(parseInt(_0x3469c4(0x173))/0x9);if(_0x3cf7ba===_0xe9bfd6)break;else _0x3359b5['push'](_0x3359b5['shift']());}catch(_0x5626ee){_0x3359b5['push'](_0x3359b5['shift']());}}}(_0x4704,0x6a2c0));import{TextareaView as _0x521329}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x55e6f4}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x521329{[_0x1a46a9(0x16f)];static [_0x1a46a9(0x17d)]=0x1;static [_0x1a46a9(0x175)]=0xc;constructor(_0x2668e8){var _0x1ee5ca=_0x1a46a9;super(_0x2668e8),this[_0x1ee5ca(0x171)](_0x1ee5ca(0x16b),!0x0),this[_0x1ee5ca(0x16f)]=new _0x55e6f4(),this[_0x1ee5ca(0x17c)]=AIReviewModePromptInputView[_0x1ee5ca(0x17d)],this[_0x1ee5ca(0x181)]=AIReviewModePromptInputView[_0x1ee5ca(0x175)],this[_0x1ee5ca(0x180)]({'attributes':{'id':_0x1ee5ca(0x178),'class':['ck',_0x1ee5ca(0x177)]}});}[_0x1a46a9(0x17b)](){var _0x41d81e=_0x1a46a9;super[_0x41d81e(0x17b)](),this['on'](_0x41d81e(0x183),()=>{var _0x105ad1=_0x41d81e;this[_0x105ad1(0x16b)]=''===this[_0x105ad1(0x16d)][_0x105ad1(0x176)]?.[_0x105ad1(0x170)]();}),this[_0x41d81e(0x16f)][_0x41d81e(0x182)](this[_0x41d81e(0x16d)]);}}function _0x4704(){var _0x19cf0a=['4244709WXfRqH','10FPOdUX','render','minRows','MIN_ROWS','4312410ceftkJ','1585188AwtEaf','extendTemplate','maxRows','listenTo','update','isEmpty','1135404SIHBwf','element','8OoHwdd','keystrokes','trim','set','1703046RdqEIj','6621417owxCrE','36318kwJYXg','MAX_ROWS','value','ck-review-mode__prompt-input','ai-review-mode-prompt-input'];_0x4704=function(){return _0x19cf0a;};return _0x4704();}
|