@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +4 -0
- package/build/ai.js +1 -1
- package/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +70 -19
- package/dist/index.css +80 -19
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +6 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +0 -2
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +9 -2
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +4 -0
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +17 -0
- package/src/aicore/aiconnector.d.ts +13 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.d.ts +41 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.d.ts +2 -2
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.d.ts +6 -0
- 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/augmentation.d.ts +6 -0
- package/src/index.d.ts +4 -1
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +17 -4
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aichathistory.css +26 -9
- package/theme/aichat/aiminitoolbar.css +8 -0
- package/theme/aichat/aisuggestioncontainer.css +14 -2
- package/theme/aireviewmode/aireviewmode-check-run-result.css +6 -0
- package/theme/aitabs/aitabsview.css +6 -1
- package/theme/common/aibutton.css +0 -4
- package/theme/common/aiheader.css +1 -0
- package/src/aiquickactions/utils/common-translations.d.ts +0 -9
- package/src/aiquickactions/utils/common-translations.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25764c=_0x40c2;(function(_0x413613,_0x41ffc8){const _0x456d3f=_0x40c2,_0x3ced40=_0x413613();while(!![]){try{const _0x35c371=-parseInt(_0x456d3f(0xf6))/0x1*(-parseInt(_0x456d3f(0xbb))/0x2)+parseInt(_0x456d3f(0x10a))/0x3*(-parseInt(_0x456d3f(0xbd))/0x4)+parseInt(_0x456d3f(0xbe))/0x5+parseInt(_0x456d3f(0xf7))/0x6*(parseInt(_0x456d3f(0xff))/0x7)+-parseInt(_0x456d3f(0xe0))/0x8*(-parseInt(_0x456d3f(0xda))/0x9)+parseInt(_0x456d3f(0xe3))/0xa*(parseInt(_0x456d3f(0xdc))/0xb)+-parseInt(_0x456d3f(0xd3))/0xc*(parseInt(_0x456d3f(0xfe))/0xd);if(_0x35c371===_0x41ffc8)break;else _0x3ced40['push'](_0x3ced40['shift']());}catch(_0x121772){_0x3ced40['push'](_0x3ced40['shift']());}}}(_0x453a,0x21ee6));import{View as _0x3ca034,ListItemView as _0x142f8b,ListView as _0x23b5b6,BalloonPanelView as _0x2e994c,DropdownMenuPanelPositioningFunctions as _0x247384,DropdownMenuButtonView as _0x24809a,ViewCollection as _0x354802,FocusCycler as _0x2d6eba}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3a3940}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x25343c,KeystrokeHandler as _0x414133}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1270e5}from'./aiquickactionsbuttoncreator.js';function _0x453a(){const _0x2ae273=['focusTracker','ArrowLeft','uiLanguageDirection','_showNestedPanel','bindTemplate','keystrokes','60048VpYYhM','locale','closest','div','ck-dropdown-menu-list','.ck-ai-quick-actions-group-button','focusCycler','9wnUdPv','_bodyCollection','2659492JpHFWl','_openNestedPanels','isOn','_createActionButton','1462184oBmvzy','ck-ai-quick-actions-group-list','menuitem','10hLrbhC','clear','ck-rounded-corners','render','destroy','_focusables','_createListItems','pin','children','extendTemplate','content','focus','contains','_isMovingToNestedMenu','actions','items','element','rtl','_setupGroupMenuBehavior','12569XYzeoS','6fmoogx','_createGroupActionsList','.ck-ai-quick-actions-group-list','role','isVisible','ck-dropdown-menu__nested-menu__panel','_createActionGroupButton','1963HyyugC','915278nowUmt','ck-ai-quick-actions-group-panel','hide','icon','optionsListView','ck-reset_all','forEach','relatedTarget','delete','ck-ai-quick-actions','get','3flSWwO','label','add','ck-ai-quick-actions-group-button','38RwqXgx','bind','159244dOmuMp','701435StjYlr','eastSouth','_hideNestedPanel','detachFromDom','addMany','set','menu','_hideAllNestedPanels','addEventListener','setTemplate','.ck-ai-quick-actions-group-panel','ArrowRight','show','key','mouseleave'];_0x453a=function(){return _0x2ae273;};return _0x453a();}const As=_0x25764c(0xc4),qs=_0x25764c(0xe2);function _0x40c2(_0x71c043,_0x22b906){const _0x453a22=_0x453a();return _0x40c2=function(_0x40c25e,_0x2fd843){_0x40c25e=_0x40c25e-0xb8;let _0x1053ff=_0x453a22[_0x40c25e];return _0x1053ff;},_0x40c2(_0x71c043,_0x22b906);}export class AIQuickActionsDropdownContentView extends _0x3ca034{[_0x25764c(0xdb)];[_0x25764c(0x103)];[_0x25764c(0xcd)];[_0x25764c(0xd2)];[_0x25764c(0xe8)];[_0x25764c(0xd9)];[_0x25764c(0xdd)]=new Set();constructor(_0x26ab8a,_0x3bc2d1,_0x2d187d,_0x405e34){const _0x37e0a4=_0x25764c,_0x5c4314=_0x26ab8a[_0x37e0a4(0xd4)];super(_0x5c4314),this[_0x37e0a4(0xdb)]=_0x405e34;const _0x4b1ef8=this[_0x37e0a4(0xe9)](_0x26ab8a,_0x3bc2d1,_0x2d187d);this[_0x37e0a4(0x103)]=new _0x23b5b6(_0x5c4314),this[_0x37e0a4(0x103)][_0x37e0a4(0xfa)]=As,this[_0x37e0a4(0x103)][_0x37e0a4(0xf2)][_0x37e0a4(0xc2)](_0x4b1ef8),this[_0x37e0a4(0xcd)]=new _0x25343c(),this[_0x37e0a4(0xd2)]=new _0x414133(),this[_0x37e0a4(0xe8)]=_0x4b1ef8,this[_0x37e0a4(0xd9)]=new _0x2d6eba({'focusables':this[_0x37e0a4(0xe8)],'focusTracker':this[_0x37e0a4(0xcd)],'keystrokeHandler':this[_0x37e0a4(0xd2)]}),this[_0x37e0a4(0xc7)]({'tag':_0x37e0a4(0xd6),'attributes':{'class':['ck',_0x37e0a4(0x104),_0x37e0a4(0x108),_0x37e0a4(0xe5)],'dir':_0x5c4314[_0x37e0a4(0xcf)]},'children':[this[_0x37e0a4(0x103)]]});}[_0x25764c(0xe9)](_0x1c0e73,_0x55d16e,_0x208613){const _0x196ff0=_0x25764c,_0xe122b1=new _0x354802();return _0x55d16e[_0x196ff0(0x105)](_0x186f9b=>{const _0x2ec975=_0x196ff0;_0x2ec975(0xf1)in _0x186f9b?_0xe122b1[_0x2ec975(0xb9)](this[_0x2ec975(0xfd)](_0x1c0e73,_0x186f9b,_0x208613)):_0xe122b1[_0x2ec975(0xb9)](this[_0x2ec975(0xdf)](_0x1c0e73,_0x186f9b));}),_0xe122b1;}[_0x25764c(0xdf)](_0x40cc08,_0x1133f1){const _0x333b8e=_0x25764c,_0x26b368=new _0x142f8b(this[_0x333b8e(0xd4)]),_0xf70742=_0x1270e5(_0x40cc08,_0x1133f1,!0x0,void 0x0!==_0x1133f1[_0x333b8e(0x102)])();return _0x26b368[_0x333b8e(0xeb)][_0x333b8e(0xb9)](_0xf70742),_0x26b368;}[_0x25764c(0xfd)](_0x131167,_0x30c2ad,_0x16ce63){const _0x51a105=_0x25764c,_0x2c1a3f=new _0x142f8b(this[_0x51a105(0xd4)]),_0x1c0ce1=new _0x24809a(this[_0x51a105(0xd4)]),_0x233d69=_0x1c0ce1[_0x51a105(0xd1)],_0x4849ff=_0x51a105(0xf4)===_0x16ce63[_0x51a105(0xd4)][_0x51a105(0xcf)]?_0x51a105(0xc9):_0x51a105(0xce),_0x2eebac=this[_0x51a105(0xf8)](_0x131167,_0x30c2ad[_0x51a105(0xf1)],_0x16ce63);_0x1c0ce1[_0x51a105(0xc3)]({'label':_0x30c2ad[_0x51a105(0xb8)],'withText':!0x0,'role':qs,'icon':_0x30c2ad[_0x51a105(0x102)]??_0x3a3940}),_0x1c0ce1[_0x51a105(0xec)]({'on':{'mouseenter':_0x233d69['to'](()=>{const _0x582ac7=_0x51a105;_0x1c0ce1[_0x582ac7(0xee)]();})}});const _0x39242f=new _0x2e994c(this[_0x51a105(0xd4)]);return _0x39242f[_0x51a105(0xec)]({'attributes':{'class':['ck',_0x51a105(0x104),_0x51a105(0x100),_0x51a105(0xfc)]},'on':{'keydown':_0x233d69['to'](_0x38ffa1=>{const _0xa64a5b=_0x51a105;_0x38ffa1[_0xa64a5b(0xcb)]==_0x4849ff&&(_0x1c0ce1[_0xa64a5b(0xee)](),this[_0xa64a5b(0xc0)](_0x39242f));})}}),_0x1c0ce1[_0x51a105(0xbc)](_0x51a105(0xde))['to'](_0x39242f,_0x51a105(0xfb)),this[_0x51a105(0xdb)][_0x51a105(0xb9)](_0x39242f),_0x39242f[_0x51a105(0xed)][_0x51a105(0xb9)](_0x2eebac),this[_0x51a105(0xf5)](_0x1c0ce1,_0x39242f),_0x2c1a3f[_0x51a105(0xeb)][_0x51a105(0xb9)](_0x1c0ce1),_0x2c1a3f;}[_0x25764c(0xf8)](_0x408296,_0x5a6747,_0x5e3cb8){const _0x369fb3=_0x25764c,_0x1ca446=new _0x23b5b6(this[_0x369fb3(0xd4)]);return _0x1ca446[_0x369fb3(0xec)]({'attributes':{'class':['ck',_0x369fb3(0x104),_0x369fb3(0xe1),_0x369fb3(0xd7)]}}),_0x5a6747[_0x369fb3(0x105)](_0x524102=>{const _0x2dbb0e=_0x369fb3,_0x3a8ea5=new _0x142f8b(this[_0x2dbb0e(0xd4)]),_0x3d84f4=_0x1270e5(_0x408296,_0x524102,!0x0,!0x1)();_0x3a8ea5[_0x2dbb0e(0xeb)][_0x2dbb0e(0xb9)](_0x3d84f4),_0x5e3cb8[_0x2dbb0e(0xcd)][_0x2dbb0e(0xb9)](_0x3d84f4),_0x1ca446[_0x2dbb0e(0xf2)][_0x2dbb0e(0xb9)](_0x3a8ea5);}),_0x1ca446;}[_0x25764c(0xf5)](_0x3a33ad,_0x4f2ccc){const _0x4f02ca=_0x25764c,_0x2f72fd=_0x3a33ad[_0x4f02ca(0xd1)],_0x150dae=_0x4f02ca(0xf4)===_0x3a33ad[_0x4f02ca(0xd4)][_0x4f02ca(0xcf)]?_0x4f02ca(0xce):_0x4f02ca(0xc9);_0x3a33ad[_0x4f02ca(0xec)]({'attributes':{'class':[_0x4f02ca(0xba)]},'on':{'mouseenter':_0x2f72fd['to'](()=>{const _0x3ec7c4=_0x4f02ca;this[_0x3ec7c4(0xd0)](_0x4f2ccc,_0x3a33ad);}),'mouseleave':_0x2f72fd['to'](_0x3f74d7=>{const _0x54cd55=_0x4f02ca,_0x53c3d7=_0x3f74d7[_0x54cd55(0x106)];this[_0x54cd55(0xf0)](_0x53c3d7,_0x4f2ccc)||this[_0x54cd55(0xc0)](_0x4f2ccc);}),'keydown':_0x2f72fd['to'](_0x1752b6=>{const _0x414a2f=_0x4f02ca;_0x1752b6[_0x414a2f(0xcb)]==_0x150dae&&(this[_0x414a2f(0xd0)](_0x4f2ccc,_0x3a33ad),_0x4f2ccc[_0x414a2f(0xed)][_0x414a2f(0x109)](0x0)[_0x414a2f(0xee)]());})}}),_0x4f2ccc['on'](_0x4f02ca(0xe6),()=>{const _0xe330c9=_0x4f02ca;_0x4f2ccc[_0xe330c9(0xf3)]?.[_0xe330c9(0xc6)](_0xe330c9(0xcc),_0x4b51f0=>{const _0x4dc4b5=_0xe330c9,_0x56e715=_0x4b51f0[_0x4dc4b5(0x106)];_0x3a33ad[_0x4dc4b5(0xf3)]?.[_0x4dc4b5(0xef)](_0x56e715)||this[_0x4dc4b5(0xf0)](_0x56e715,_0x4f2ccc)||this[_0x4dc4b5(0xc0)](_0x4f2ccc);});});}[_0x25764c(0xd0)](_0x1d4870,_0x1fcc44){const _0xe405b4=_0x25764c;this[_0xe405b4(0xdd)][_0xe405b4(0x105)](_0x105a31=>{const _0x369ef=_0xe405b4;_0x105a31!==_0x1d4870&&_0x105a31[_0x369ef(0xfb)]&&_0x105a31[_0x369ef(0x101)]();}),_0x1d4870[_0xe405b4(0xca)](),_0x1d4870[_0xe405b4(0xea)]({'positions':[_0x247384[_0xe405b4(0xbf)]],'target':_0x1fcc44[_0xe405b4(0xf3)],'fitInViewport':!0x0}),this[_0xe405b4(0xdd)][_0xe405b4(0xb9)](_0x1d4870);}[_0x25764c(0xc0)](_0x4222b2){const _0x5d392e=_0x25764c;_0x4222b2[_0x5d392e(0x101)](),this[_0x5d392e(0xdd)][_0x5d392e(0x107)](_0x4222b2);}[_0x25764c(0xc5)](){const _0x1cb708=_0x25764c;this[_0x1cb708(0xdd)][_0x1cb708(0x105)](_0x2a0b00=>_0x2a0b00[_0x1cb708(0x101)]()),this[_0x1cb708(0xdd)][_0x1cb708(0xe4)]();}[_0x25764c(0xf0)](_0x4cd197,_0xded6de){const _0x11275f=_0x25764c;if(!_0x4cd197)return!0x1;if(_0xded6de[_0x11275f(0xf3)]?.[_0x11275f(0xef)](_0x4cd197))return!0x0;const _0x47b335=_0x4cd197;return _0x47b335[_0x11275f(0xd5)]&&(null!==_0x47b335[_0x11275f(0xd5)](_0x11275f(0xc8))||null!==_0x47b335[_0x11275f(0xd5)](_0x11275f(0xf9))||null!==_0x47b335[_0x11275f(0xd5)](_0x11275f(0xd8)));}[_0x25764c(0xe7)](){const _0x1f905a=_0x25764c;this[_0x1f905a(0xc5)](),this[_0x1f905a(0xdb)][_0x1f905a(0xc1)](),super[_0x1f905a(0xe7)]();}[_0x25764c(0xee)](){const _0x366357=_0x25764c;this[_0x366357(0x103)][_0x366357(0xee)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x9260(){const _0x1bcb0a=['510IWSSqJ','11718410IqkuDl','1553832GszTWH','14qLSGMP','children','438560JmheLk','icon','25pwyOiw','13956AKjmAX','set','176hylDFl','108mgiGRw','ck-ai-quick-actions-dropdown','1719276wIIcrx','locale','1174565YpIlMC','buttonView','label','588136oZkKhp','panelView','add'];_0x9260=function(){return _0x1bcb0a;};return _0x9260();}(function(_0x51bb29,_0x223550){const _0x49b9a8=_0x1ccd,_0x6c44e3=_0x51bb29();while(!![]){try{const _0xe1ac0f=parseInt(_0x49b9a8(0x1a7))/0x1+-parseInt(_0x49b9a8(0x1ad))/0x2*(-parseInt(_0x49b9a8(0x1b5))/0x3)+-parseInt(_0x49b9a8(0x1aa))/0x4*(-parseInt(_0x49b9a8(0x1b4))/0x5)+-parseInt(_0x49b9a8(0x1af))/0x6*(-parseInt(_0x49b9a8(0x1b0))/0x7)+-parseInt(_0x49b9a8(0x1b2))/0x8*(-parseInt(_0x49b9a8(0x1a3))/0x9)+-parseInt(_0x49b9a8(0x1ae))/0xa+-parseInt(_0x49b9a8(0x1a2))/0xb*(parseInt(_0x49b9a8(0x1a5))/0xc);if(_0xe1ac0f===_0x223550)break;else _0x6c44e3['push'](_0x6c44e3['shift']());}catch(_0xf97cf2){_0x6c44e3['push'](_0x6c44e3['shift']());}}}(_0x9260,0xc5292));import{createDropdown as _0x19f964}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2ea4af}from'@ckeditor/ckeditor5-icons';function _0x1ccd(_0x426418,_0xc6cb67){const _0x926095=_0x9260();return _0x1ccd=function(_0x1ccdd1,_0x122331){_0x1ccdd1=_0x1ccdd1-0x1a2;let _0x15a79e=_0x926095[_0x1ccdd1];return _0x15a79e;},_0x1ccd(_0x426418,_0xc6cb67);}import{AIQuickActionsDropdownContentView as _0x28a58f}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x3dd263,_0x2d2a36,_0x143de9,_0x42392e){return()=>{const _0x12763b=_0x1ccd,_0x4732a3=_0x3dd263[_0x12763b(0x1a6)],_0xc14260=_0x19f964(_0x4732a3);_0xc14260[_0x12763b(0x1a8)][_0x12763b(0x1b6)]({'icon':_0x143de9[_0x12763b(0x1b3)]??_0x2ea4af,'label':_0x143de9[_0x12763b(0x1a9)],'tooltip':!0x0}),_0xc14260[_0x12763b(0x1b6)]({'class':_0x12763b(0x1a4)});const _0x4ac84d=new _0x28a58f(_0x3dd263,_0x2d2a36,_0xc14260,_0x42392e);return _0xc14260[_0x12763b(0x1ab)][_0x12763b(0x1b1)][_0x12763b(0x1ac)](_0x4ac84d),_0xc14260;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4814(_0x1c8ddc,_0x1abd79){const _0x57096d=_0x5709();return _0x4814=function(_0x4814dc,_0x177998){_0x4814dc=_0x4814dc-0x160;let _0x1092dc=_0x57096d[_0x4814dc];return _0x1092dc;},_0x4814(_0x1c8ddc,_0x1abd79);}const _0x1a6f9b=_0x4814;(function(_0x4af3e8,_0x35bb2d){const _0x4b145a=_0x4814,_0x56dc30=_0x4af3e8();while(!![]){try{const _0x3d01ef=parseInt(_0x4b145a(0x186))/0x1*(parseInt(_0x4b145a(0x19b))/0x2)+parseInt(_0x4b145a(0x199))/0x3+-parseInt(_0x4b145a(0x166))/0x4+parseInt(_0x4b145a(0x161))/0x5*(parseInt(_0x4b145a(0x18f))/0x6)+parseInt(_0x4b145a(0x19d))/0x7+parseInt(_0x4b145a(0x1a3))/0x8*(-parseInt(_0x4b145a(0x193))/0x9)+-parseInt(_0x4b145a(0x19f))/0xa;if(_0x3d01ef===_0x35bb2d)break;else _0x56dc30['push'](_0x56dc30['shift']());}catch(_0x276735){_0x56dc30['push'](_0x56dc30['shift']());}}}(_0x5709,0x5d3f7));function _0x5709(){const _0x1e70eb=['professional','1535gmJNKv','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','italian','Italian','Japanese','306596xKGflx','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Clarity','direct','English','make','Readability','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','French','shorter','Adjust\x20length','french','translate','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','correctness','Korean','portuguese','Confident','confident','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','dropdown','Chinese\x20(Simplified)','German','casual','japanese','Shorter','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','korean','chinese','clarity','Translate\x20the\x20text\x20into\x20another\x20language.','Select\x20language','10010SPcRQO','Correctness','Translate','german','language','spanish','friendly','Spanish','Longer','14538yzZprG','custom','Direct','Professional','1783557DElIvv','make-tone','Casual','readability','Friendly','Custom\x20command','1620258axGIxn','english','142MuFDQT','Russian','1329545fhlMOL','Adjust\x20tone\x20and\x20style','13296540hfvuwp','longer','Portuguese','russian','16LhqylH'];_0x5709=function(){return _0x1e70eb;};return _0x5709();}export const AI_REVIEW_CHECKS=[{'id':_0x1a6f9b(0x190),'title':_0x1a6f9b(0x198),'description':_0x1a6f9b(0x179),'isParameterized':!0x0},{'id':_0x1a6f9b(0x174),'title':_0x1a6f9b(0x187),'description':_0x1a6f9b(0x162),'isParameterized':!0x1},{'id':_0x1a6f9b(0x183),'title':_0x1a6f9b(0x168),'description':_0x1a6f9b(0x16d),'isParameterized':!0x1},{'id':_0x1a6f9b(0x196),'title':_0x1a6f9b(0x16c),'description':_0x1a6f9b(0x167),'isParameterized':!0x1},{'id':_0x1a6f9b(0x16b),'title':_0x1a6f9b(0x170),'description':_0x1a6f9b(0x173),'isParameterized':!0x0,'options':[{'formType':_0x1a6f9b(0x17a),'label':_0x1a6f9b(0x170),'default':_0x1a6f9b(0x1a0),'data':[{'label':_0x1a6f9b(0x18e),'id':_0x1a6f9b(0x1a0)},{'label':_0x1a6f9b(0x17f),'id':_0x1a6f9b(0x16f)}]}]},{'id':_0x1a6f9b(0x194),'title':_0x1a6f9b(0x19e),'description':_0x1a6f9b(0x180),'isParameterized':!0x0,'options':[{'formType':_0x1a6f9b(0x17a),'label':_0x1a6f9b(0x19e),'default':_0x1a6f9b(0x17d),'data':[{'label':_0x1a6f9b(0x195),'id':_0x1a6f9b(0x17d)},{'label':_0x1a6f9b(0x191),'id':_0x1a6f9b(0x169)},{'label':_0x1a6f9b(0x197),'id':_0x1a6f9b(0x18c)},{'label':_0x1a6f9b(0x177),'id':_0x1a6f9b(0x178)},{'label':_0x1a6f9b(0x192),'id':_0x1a6f9b(0x160)}]}]},{'id':_0x1a6f9b(0x172),'title':_0x1a6f9b(0x188),'description':_0x1a6f9b(0x184),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x1a6f9b(0x17a),'label':_0x1a6f9b(0x185),'argsKey':_0x1a6f9b(0x18a),'data':[{'label':_0x1a6f9b(0x16a),'id':_0x1a6f9b(0x19a)},{'label':_0x1a6f9b(0x18d),'id':_0x1a6f9b(0x18b)},{'label':_0x1a6f9b(0x16e),'id':_0x1a6f9b(0x171)},{'label':_0x1a6f9b(0x17c),'id':_0x1a6f9b(0x189)},{'label':_0x1a6f9b(0x17b),'id':_0x1a6f9b(0x182)},{'label':_0x1a6f9b(0x165),'id':_0x1a6f9b(0x17e)},{'label':_0x1a6f9b(0x19c),'id':_0x1a6f9b(0x1a2)},{'label':_0x1a6f9b(0x1a1),'id':_0x1a6f9b(0x176)},{'label':_0x1a6f9b(0x175),'id':_0x1a6f9b(0x181)},{'label':_0x1a6f9b(0x164),'id':_0x1a6f9b(0x163)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xf24aff=_0x4240;(function(_0x192c0f,_0x4b3447){var _0x3d20e5=_0x4240,_0x51cef9=_0x192c0f();while(!![]){try{var _0x38af77=-parseInt(_0x3d20e5(0xa5))/0x1+parseInt(_0x3d20e5(0xa2))/0x2*(parseInt(_0x3d20e5(0xac))/0x3)+parseInt(_0x3d20e5(0xab))/0x4+-parseInt(_0x3d20e5(0xaf))/0x5+-parseInt(_0x3d20e5(0xa3))/0x6+parseInt(_0x3d20e5(0xa4))/0x7+parseInt(_0x3d20e5(0xad))/0x8*(-parseInt(_0x3d20e5(0xa8))/0x9);if(_0x38af77===_0x4b3447)break;else _0x51cef9['push'](_0x51cef9['shift']());}catch(_0x4d4b37){_0x51cef9['push'](_0x51cef9['shift']());}}}(_0x23e9,0x24b2b));import{ContextPlugin as _0x347abf}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x477388}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x2fc9cd}from'./aireviewmodeui.js';function _0x4240(_0xc0c3bf,_0xef1ff3){var _0x23e918=_0x23e9();return _0x4240=function(_0x424021,_0x5d0be8){_0x424021=_0x424021-0xa2;var _0x4e8a5b=_0x23e918[_0x424021];return _0x4e8a5b;},_0x4240(_0xc0c3bf,_0xef1ff3);}import{AIReviewModeEditing as _0x5f56e5}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x347abf{static get[_0xf24aff(0xae)](){return[_0x477388,_0x2fc9cd,_0x5f56e5];}static get[_0xf24aff(0xa7)](){var _0x3b493c=_0xf24aff;return _0x3b493c(0xa9);}static get[_0xf24aff(0xaa)](){return!0x0;}static get[_0xf24aff(0xa6)](){return!0x0;}}function _0x23e9(){var _0x243afc=['isPremiumPlugin','pluginName','279VTHuSX','AIReviewMode','isOfficialPlugin','640428LDdNBk','17892xFhkjk','45872UBwSaV','requires','233525dapmiY','62exgYiN','590160LOvKiW','1389857tVRxuw','70408DDfNgv'];_0x23e9=function(){return _0x243afc;};return _0x23e9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1e771e=_0x7a24;(function(_0x251cfc,_0x4863ee){const _0x3a67a4=_0x7a24,_0x35eab8=_0x251cfc();while(!![]){try{const _0x93f34f=parseInt(_0x3a67a4(0x144))/0x1*(-parseInt(_0x3a67a4(0x1b1))/0x2)+-parseInt(_0x3a67a4(0x1c3))/0x3*(-parseInt(_0x3a67a4(0x152))/0x4)+-parseInt(_0x3a67a4(0x198))/0x5+parseInt(_0x3a67a4(0x190))/0x6*(-parseInt(_0x3a67a4(0x1c1))/0x7)+parseInt(_0x3a67a4(0x1cf))/0x8*(parseInt(_0x3a67a4(0x184))/0x9)+-parseInt(_0x3a67a4(0x167))/0xa+parseInt(_0x3a67a4(0x1a8))/0xb;if(_0x93f34f===_0x4863ee)break;else _0x35eab8['push'](_0x35eab8['shift']());}catch(_0x48459c){_0x35eab8['push'](_0x35eab8['shift']());}}}(_0x51c2,0xd3b01));import{ContextPlugin as _0x3f7f76}from'ckeditor5/src/core.js';import{CKEditorError as _0x226d71,logError as _0x3ee46b,scrollAncestorsToShowTarget as _0x1f58b5,scrollViewportToShowTarget as _0x141262}from'ckeditor5/src/utils.js';import{AIConnector as _0x1b7e69}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x49650b}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x223f60}from'./model/aireviewsystemcheckrun.js';function _0x51c2(){const _0x1aeafd=['forceReadyState','showChunkErrorView','223111eXPBxc','AI_MODEL_DESCRIPTION_','4893galIjf','options','applyChange','_aiReviewModeUi','emitter','add','_isDiffOn','prompt','args','updateChangeState','showReviewCompletedView','find','29096uVoUfP','clearAllMarkers','reviewCheckResultActivated','getMarkerElementForChange','ck-ai-review-mode-highlights','showActionsWhenResultIsReady','source','.ck-ai-review-mode__check-run-result','getContentElement','error-general','toggleDiff','remove','markChangeAsRejected','AIConnector','processedResultsCount','_onDiffChange','data','label','changes','stopListening','documentData','576001jGyLjR','acceptAllChanges','_OPTIONS_LABEL','isPremiumPlugin','message','replaceAll','reviewCheckRunUpdated','_currentReviewCheckRun','markAllChangesAsAccepted','activateChange','_aiConnector','domElement','showGeneralErrorView','model','2676mZIcme','showCheckRunResults','restart','runReviewCheck','AIReviewModeEditing','_TITLE','_OPTIONS_DATA_','config','reviewCheckResultDeactivated','reviewCheckResultAccepted','showChangeBalloon','setCheckResultTitle','_aiReviewCheckList','_logError','classList','markChangeAsAccepted','deactivateChange','contentNew','reviewCheckResultReady','getActiveChanges','changeId','13447630sAlovN','ai.reviewMode.translations','markChangePositionInEditorContent','getReviewCheckList','closest','getAll','rejected','_onReviewModeRunLeave','panel','isCustom','rejectChange','retryReview','checks','unmodified','setActiveStateInResults','showCheckRunResult','length','accepted','showReviewCheckList','start','init','context','result','change','diffContent','toUpperCase','ready','finished','requires','243DltQXW','getChangeElement','custom','plugins','acceptChange','ai-request-aborted','_aiReviewModeEditing','reviewCheckResultRejected','showNoChangesView','_translateReviewChecks','ck-ai-review-mode-diff','AIReviewModeUI','6WBLZsl','status','title','_getTranslationWithDefault','aborted','map','changeMarkerClick','leaveReviewMode','432890hOIhmL','get','isChangeActive','leaveReviewModeResultList','loading','abort','getDocumentData','aireviewmode-source-check-not-found','aireviewmode-check-run-failed','AI_REVIEW_CHECK_','locale','dismissChange','params','contentInitial','isOfficialPlugin','getCheckById','18886450wRxVtg','AIReviewModeController','abortReviewStream','hideChangeBalloon','models','addResultChanges','finishReview','resetActiveStateInResults','listenTo','2pzARKz','content','switchToEdit','error-chunk','includes','pluginName','aireviewmode-no-current-check-run','description','_changeActivationSource','switchToReadOnly','reviewCheckResultAdded','_DESCRIPTION','setAvailableChecks','translate'];_0x51c2=function(){return _0x1aeafd;};return _0x51c2();}import{AIReviewCustomCheckRun as _0x3be7c0}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x265072}from'./model/aireviewmodels.js';function _0x7a24(_0x2949c7,_0x5d354e){const _0x51c2b6=_0x51c2();return _0x7a24=function(_0x7a24b4,_0x312ec4){_0x7a24b4=_0x7a24b4-0x13c;let _0x5c9455=_0x51c2b6[_0x7a24b4];return _0x5c9455;},_0x7a24(_0x2949c7,_0x5d354e);}import{AI_REVIEW_CHECKS as _0x59d124}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x4eb2eb}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x3f7f76{[_0x1e771e(0x14e)];[_0x1e771e(0x1c6)];[_0x1e771e(0x18a)];[_0x1e771e(0x15e)];[_0x1e771e(0x14b)];[_0x1e771e(0x1c9)]=!0x1;[_0x1e771e(0x1b9)]=null;static get[_0x1e771e(0x183)](){return[_0x1b7e69];}static get[_0x1e771e(0x1b6)](){const _0x224bb7=_0x1e771e;return _0x224bb7(0x1a9);}static get[_0x1e771e(0x1a6)](){return!0x0;}static get[_0x1e771e(0x147)](){return!0x0;}async[_0x1e771e(0x17b)](){const _0x31d1cd=_0x1e771e;this[_0x31d1cd(0x14e)]=this[_0x31d1cd(0x17c)][_0x31d1cd(0x187)][_0x31d1cd(0x199)](_0x31d1cd(0x13c)),this[_0x31d1cd(0x1c6)]=this[_0x31d1cd(0x17c)][_0x31d1cd(0x187)][_0x31d1cd(0x199)](_0x31d1cd(0x18f)),this[_0x31d1cd(0x18a)]=this[_0x31d1cd(0x17c)][_0x31d1cd(0x187)][_0x31d1cd(0x199)](_0x31d1cd(0x156));const _0x2c9a2e=this[_0x31d1cd(0x17c)][_0x31d1cd(0x159)][_0x31d1cd(0x199)](_0x31d1cd(0x168));if(_0x2c9a2e){for(const _0x212dc8 of _0x59d124)_0x31d1cd(0x1be)===_0x212dc8['id']&&(_0x212dc8[_0x31d1cd(0x1c4)][0x0][_0x31d1cd(0x13f)]=_0x2c9a2e);}const _0x1b638f=this[_0x31d1cd(0x18d)](_0x59d124);this[_0x31d1cd(0x15e)]=new _0x49650b(_0x1b638f);const _0x51232d=this[_0x31d1cd(0x15e)][_0x31d1cd(0x173)][_0x31d1cd(0x1ce)](_0x395d52=>_0x31d1cd(0x186)===_0x395d52['id']);if(_0x51232d){const _0x933bfa=await new _0x265072({'connector':this[_0x31d1cd(0x14e)]})[_0x31d1cd(0x16c)]();_0x51232d[_0x31d1cd(0x1ac)]=_0x933bfa[_0x31d1cd(0x195)](_0x5108c2=>({..._0x5108c2,'description':this[_0x31d1cd(0x193)](_0x31d1cd(0x1c2)+_0x5108c2['id'][_0x31d1cd(0x180)](),_0x5108c2[_0x31d1cd(0x1b8)])}));}this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x16a),()=>{const _0xf2acac=_0x31d1cd;this[_0xf2acac(0x1c6)][_0xf2acac(0x1bd)](this[_0xf2acac(0x15e)][_0xf2acac(0x173)]);}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x155),async(_0x4043c5,_0x1eacff)=>{const _0x37fd21=_0x31d1cd,_0x519b4c=this[_0x37fd21(0x15e)][_0x37fd21(0x1a7)](_0x1eacff['id']);if(_0x519b4c){this[_0x37fd21(0x13e)](this[_0x37fd21(0x1c9)]),_0x1eacff[_0x37fd21(0x170)]?this[_0x37fd21(0x14b)]=new _0x3be7c0(_0x1eacff[_0x37fd21(0x1cb)][_0x37fd21(0x1ca)],_0x1eacff[_0x37fd21(0x1cb)][_0x37fd21(0x151)],this[_0x37fd21(0x18a)][_0x37fd21(0x19e)](),_0x519b4c,this[_0x37fd21(0x14e)]):this[_0x37fd21(0x14b)]=new _0x223f60(this[_0x37fd21(0x18a)][_0x37fd21(0x19e)](),_0x519b4c,this[_0x37fd21(0x14e)],_0x1eacff[_0x37fd21(0x1a4)],_0x1eacff[_0x37fd21(0x1cb)]),this[_0x37fd21(0x1c6)][_0x37fd21(0x15d)](this[_0x37fd21(0x14b)][_0x37fd21(0x192)]),this[_0x37fd21(0x14b)]['on'](_0x37fd21(0x14a),(_0x24c960,_0x434e05)=>{const _0x289294=_0x37fd21;_0x289294(0x13f)===_0x434e05[_0x289294(0x191)]||_0x289294(0x19c)===_0x434e05[_0x289294(0x191)]?(this[_0x289294(0x18a)][_0x289294(0x1ba)](),this[_0x289294(0x1c6)][_0x289294(0x153)](_0x434e05)):_0x289294(0x182)===_0x434e05[_0x289294(0x191)]?this[_0x289294(0x1c6)][_0x289294(0x1cd)]():_0x289294(0x181)===_0x434e05[_0x289294(0x191)]?this[_0x289294(0x1c6)][_0x289294(0x1d4)]():_0x289294(0x174)===_0x434e05[_0x289294(0x191)]?this[_0x289294(0x1c6)][_0x289294(0x18c)]():_0x289294(0x1d8)===_0x434e05[_0x289294(0x191)]?this[_0x289294(0x1c6)][_0x289294(0x150)]():_0x289294(0x1b4)===_0x434e05[_0x289294(0x191)]?this[_0x289294(0x1c6)][_0x289294(0x1c0)]():_0x289294(0x194)===_0x434e05[_0x289294(0x191)]&&(this[_0x289294(0x14b)]&&this[_0x289294(0x14b)][_0x289294(0x13d)]>0x0?setTimeout(()=>{const _0x111a85=_0x289294;this[_0x111a85(0x14b)]?.[_0x111a85(0x1bf)]();},0x0):this[_0x289294(0x16e)](!0x0));}),this[_0x37fd21(0x14b)]['on'](_0x37fd21(0x1bb),(_0x39fb95,_0x53240d)=>{const _0x13b4a7=_0x37fd21;if(!this[_0x13b4a7(0x14b)])throw new _0x226d71(_0x13b4a7(0x1b7),this);const _0x55e5bd=this[_0x13b4a7(0x18a)][_0x13b4a7(0x17f)](_0x53240d[_0x13b4a7(0x17d)][_0x13b4a7(0x1a5)],_0x53240d[_0x13b4a7(0x17d)][_0x13b4a7(0x163)]);_0x53240d[_0x13b4a7(0x1d5)][_0x13b4a7(0x1ad)](_0x53240d[_0x13b4a7(0x17d)]['id'],_0x55e5bd);}),this[_0x37fd21(0x14b)]['on'](_0x37fd21(0x164),(_0x57501a,_0x4a3098)=>{const _0x217ec0=_0x37fd21;for(const _0x4ab2b6 of _0x4a3098[_0x217ec0(0x141)])this[_0x217ec0(0x1c6)][_0x217ec0(0x176)](_0x4ab2b6);this[_0x217ec0(0x18a)][_0x217ec0(0x169)](_0x4a3098[_0x217ec0(0x141)],_0x4a3098[_0x217ec0(0x1d5)][_0x217ec0(0x143)]);}),this[_0x37fd21(0x14b)]['on'](_0x37fd21(0x15b),(_0x3d4030,_0x21ab78)=>{const _0x327206=_0x37fd21;this[_0x327206(0x1c6)][_0x327206(0x1cc)](_0x21ab78[_0x327206(0x17e)]['id'],_0x327206(0x178));}),this[_0x37fd21(0x14b)]['on'](_0x37fd21(0x18b),(_0x5b293a,_0x42d4d1)=>{const _0x1094c7=_0x37fd21;this[_0x1094c7(0x1c6)][_0x1094c7(0x1cc)](_0x42d4d1[_0x1094c7(0x17e)]['id'],_0x1094c7(0x16d));}),this[_0x37fd21(0x14b)]['on'](_0x37fd21(0x1d1),(_0x1e4b61,_0xb8f9e8)=>{const _0x485cd2=_0x37fd21;this[_0x485cd2(0x1c6)][_0x485cd2(0x175)](_0xb8f9e8[_0x485cd2(0x17e)]['id']);const _0x31fca3=this[_0x485cd2(0x18a)][_0x485cd2(0x1d2)](_0xb8f9e8[_0x485cd2(0x17e)]['id']);if(_0x31fca3){if(_0x485cd2(0x1b2)===this[_0x485cd2(0x1b9)]){const _0x49f72c=this[_0x485cd2(0x1c6)][_0x485cd2(0x185)](_0xb8f9e8[_0x485cd2(0x17e)]['id']);_0x49f72c&&_0x1f58b5(_0x49f72c[_0x485cd2(0x16b)](_0x485cd2(0x1d6))||_0x49f72c);}else{if(_0x485cd2(0x16f)===this[_0x485cd2(0x1b9)]){const _0x156a76={'target':_0x31fca3[_0x485cd2(0x14f)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x141262(_0x156a76);}}this[_0x485cd2(0x1c6)][_0x485cd2(0x15c)](_0xb8f9e8[_0x485cd2(0x17e)],_0x31fca3[_0x485cd2(0x14f)]);}}),this[_0x37fd21(0x14b)]['on'](_0x37fd21(0x15a),()=>{const _0x2778d5=_0x37fd21;this[_0x2778d5(0x1c6)][_0x2778d5(0x1af)]();});try{await this[_0x37fd21(0x14b)][_0x37fd21(0x17a)]();}catch(_0x379414){_0x379414 instanceof Error&&_0x379414[_0x37fd21(0x148)][_0x37fd21(0x1b5)](_0x37fd21(0x189))||(_0x379414 instanceof _0x226d71?this[_0x37fd21(0x15f)](_0x379414):this[_0x37fd21(0x15f)](new _0x226d71(_0x37fd21(0x1a0),this,{'error':_0x379414})));}}else this[_0x37fd21(0x15f)](new _0x226d71(_0x37fd21(0x19f),this,{'checkId':_0x1eacff['id']}));}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x197),()=>{const _0x2903ee=_0x31d1cd;this[_0x2903ee(0x16e)]();}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x19b),()=>{const _0x399ccc=_0x31d1cd;this[_0x399ccc(0x16e)](!0x0);}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x1aa),()=>{const _0xca63fb=_0x31d1cd;this[_0xca63fb(0x14b)]&&this[_0xca63fb(0x14b)][_0xca63fb(0x19d)]();}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x1ae),()=>{const _0x37cd49=_0x31d1cd;this[_0x37cd49(0x16e)](!0x0);}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x145),()=>{const _0x5bfd2a=_0x31d1cd;if(!this[_0x5bfd2a(0x14b)])return;const _0x5f38e3=this[_0x5bfd2a(0x14b)][_0x5bfd2a(0x165)]();_0x5f38e3[_0x5bfd2a(0x177)]&&(this[_0x5bfd2a(0x18a)][_0x5bfd2a(0x1c5)](_0x5f38e3[_0x5bfd2a(0x195)](_0x56f43d=>_0x56f43d['id'])),this[_0x5bfd2a(0x14b)][_0x5bfd2a(0x14c)]());}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x188),(_0x2bb2fb,_0x96e98e)=>{const _0x1ac679=_0x31d1cd;this[_0x1ac679(0x14b)]&&this[_0x1ac679(0x14b)][_0x1ac679(0x19a)](_0x96e98e['id'])&&(this[_0x1ac679(0x18a)][_0x1ac679(0x1c5)]([_0x96e98e['id']]),this[_0x1ac679(0x14b)][_0x1ac679(0x161)](_0x96e98e['id']),this[_0x1ac679(0x1c6)][_0x1ac679(0x1ab)]());}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x1a3),(_0x1eb97b,_0x2cec1b)=>{const _0x280219=_0x31d1cd;this[_0x280219(0x14b)]&&this[_0x280219(0x14b)][_0x280219(0x19a)](_0x2cec1b['id'])&&(this[_0x280219(0x18a)][_0x280219(0x171)](_0x2cec1b['id']),this[_0x280219(0x14b)][_0x280219(0x1db)](_0x2cec1b['id']),this[_0x280219(0x1c6)][_0x280219(0x1ab)]());}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x1d9),(_0x1086ee,_0x78b412)=>{const _0x2594c7=_0x31d1cd;this[_0x2594c7(0x1c9)]=_0x78b412['on'],this[_0x2594c7(0x13e)](this[_0x2594c7(0x1c9)]);}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x172),async()=>{const _0x5c4f5f=_0x31d1cd;this[_0x5c4f5f(0x14b)]&&await this[_0x5c4f5f(0x14b)][_0x5c4f5f(0x154)]();}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x14d),(_0x10672f,_0x264bd8)=>{const _0x14c69e=_0x31d1cd;this[_0x14c69e(0x14b)]&&(this[_0x14c69e(0x1b9)]=_0x14c69e(0x16f),this[_0x14c69e(0x14b)][_0x14c69e(0x14d)](_0x264bd8['id']));}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x1c6)],_0x31d1cd(0x162),()=>{const _0x1f361c=_0x31d1cd;this[_0x1f361c(0x14b)]&&this[_0x1f361c(0x14b)][_0x1f361c(0x162)]();}),this[_0x31d1cd(0x1b0)](this[_0x31d1cd(0x18a)][_0x31d1cd(0x1c7)],_0x31d1cd(0x196),(_0x28d707,_0x256e05)=>{const _0x3ade65=_0x31d1cd;this[_0x3ade65(0x14b)]&&(this[_0x3ade65(0x1b9)]=_0x3ade65(0x1b2),this[_0x3ade65(0x14b)][_0x3ade65(0x14d)](_0x256e05[_0x3ade65(0x166)]));});}[_0x1e771e(0x16e)](_0x5ca589=!0x1){const _0x2f7ec7=_0x1e771e;this[_0x2f7ec7(0x14b)]&&(this[_0x2f7ec7(0x14b)][_0x2f7ec7(0x19d)](),this[_0x2f7ec7(0x14b)][_0x2f7ec7(0x142)](),this[_0x2f7ec7(0x14b)]=void 0x0),_0x5ca589&&this[_0x2f7ec7(0x1c6)][_0x2f7ec7(0x179)](),this[_0x2f7ec7(0x18a)][_0x2f7ec7(0x1d0)](),this[_0x2f7ec7(0x18a)][_0x2f7ec7(0x1b3)](),this[_0x2f7ec7(0x1b9)]=null;const _0x4f8f86=this[_0x2f7ec7(0x18a)][_0x2f7ec7(0x1d7)]();_0x4f8f86&&(_0x4f8f86[_0x2f7ec7(0x160)][_0x2f7ec7(0x1da)](_0x2f7ec7(0x18e)),_0x4f8f86[_0x2f7ec7(0x160)][_0x2f7ec7(0x1da)](_0x2f7ec7(0x1d3)));}[_0x1e771e(0x13e)](_0x57b21f){const _0x2586a2=_0x1e771e,_0x38917b=this[_0x2586a2(0x18a)][_0x2586a2(0x1d7)]();_0x38917b&&(_0x38917b[_0x2586a2(0x160)][_0x2586a2(0x1da)](_0x2586a2(0x18e)),_0x38917b[_0x2586a2(0x160)][_0x2586a2(0x1da)](_0x2586a2(0x1d3)),_0x38917b[_0x2586a2(0x160)][_0x2586a2(0x1c8)](_0x57b21f?_0x2586a2(0x18e):_0x2586a2(0x1d3)));}[_0x1e771e(0x18d)](_0x2d17a9){const _0x7805f7=_0x1e771e;return _0x2d17a9[_0x7805f7(0x195)](_0x4cb519=>{const _0x1f7fd4=_0x7805f7,_0x57f1bc=_0x1f7fd4(0x1a1)+_0x4cb519['id'][_0x1f7fd4(0x180)]()[_0x1f7fd4(0x149)]('-','_'),_0x3b4a23={..._0x4cb519,'title':this[_0x1f7fd4(0x193)](_0x57f1bc+_0x1f7fd4(0x157),_0x4cb519[_0x1f7fd4(0x192)]),'description':this[_0x1f7fd4(0x193)](_0x57f1bc+_0x1f7fd4(0x1bc),_0x4cb519[_0x1f7fd4(0x1b8)])};return _0x4cb519[_0x1f7fd4(0x1c4)]&&(_0x3b4a23[_0x1f7fd4(0x1c4)]=_0x4cb519[_0x1f7fd4(0x1c4)][_0x1f7fd4(0x195)](_0xf1a19f=>({..._0xf1a19f,'label':this[_0x1f7fd4(0x193)](_0x57f1bc+_0x1f7fd4(0x146),_0xf1a19f[_0x1f7fd4(0x140)]||''),'data':_0xf1a19f[_0x1f7fd4(0x13f)]?_0xf1a19f[_0x1f7fd4(0x13f)][_0x1f7fd4(0x195)](_0xf04872=>({..._0xf04872,'label':this[_0x1f7fd4(0x193)](_0x57f1bc+_0x1f7fd4(0x158)+_0xf04872['id'][_0x1f7fd4(0x180)](),_0xf04872[_0x1f7fd4(0x140)])})):void 0x0}))),_0x3b4a23;});}[_0x1e771e(0x193)](_0x342778,_0x40d910){const _0x4f7ac8=_0x1e771e,_0x421ceb=this[_0x4f7ac8(0x17c)][_0x4f7ac8(0x1a2)],_0x1a394e=_0x4eb2eb(_0x421ceb,_0x342778);return _0x1a394e===_0x342778?_0x40d910:_0x1a394e;}[_0x1e771e(0x15f)](_0x1db043){const _0x4f5532=_0x1e771e;_0x3ee46b(_0x1db043[_0x4f5532(0x148)]),this[_0x4f5532(0x1c6)][_0x4f5532(0x150)]();}}
|
|
23
|
+
const _0x2fa5dd=_0x400e;(function(_0x8bc1f8,_0x24e44e){const _0x452689=_0x400e,_0x43e6d3=_0x8bc1f8();while(!![]){try{const _0x1f6c2a=-parseInt(_0x452689(0x253))/0x1*(-parseInt(_0x452689(0x252))/0x2)+parseInt(_0x452689(0x235))/0x3+parseInt(_0x452689(0x200))/0x4*(-parseInt(_0x452689(0x1e9))/0x5)+-parseInt(_0x452689(0x1fe))/0x6+-parseInt(_0x452689(0x212))/0x7+-parseInt(_0x452689(0x21b))/0x8+parseInt(_0x452689(0x1ee))/0x9;if(_0x1f6c2a===_0x24e44e)break;else _0x43e6d3['push'](_0x43e6d3['shift']());}catch(_0x1e67c9){_0x43e6d3['push'](_0x43e6d3['shift']());}}}(_0x12da,0x80698));import{ContextPlugin as _0xbb471a}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d9755,logError as _0x275cb5,scrollAncestorsToShowTarget as _0x24aaee,scrollViewportToShowTarget as _0x377aa6}from'ckeditor5/src/utils.js';import{AIConnector as _0x4bfcf5}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x4c6caa}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x3762e0}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x4c4d86}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x193845}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x35cd9d}from'./aireviewcheckdefinitions.js';function _0x400e(_0x320411,_0x1bb205){const _0x12daa5=_0x12da();return _0x400e=function(_0x400e1f,_0x524278){_0x400e1f=_0x400e1f-0x1b7;let _0x2bf536=_0x12daa5[_0x400e1f];return _0x2bf536;},_0x400e(_0x320411,_0x1bb205);}import{getTranslation as _0x889402}from'../aicore/utils/common-translations.js';function _0x12da(){const _0x42ff5f=['_onDiffChange','leaveReviewModeResultList','upsertAIReviewRating','locale','getAcceptedChangesCount','reviewCheckResultAdded','applyChange','args','checks','accepted','_updateRatings','getMarkerElementForChange','source','1246509VQEoex','AIConnector','changes','isOfficialPlugin','add','rejectChange','activateChange','showReviewCheckList','isPremiumPlugin','diffContent','reviewName','ck-ai-review-mode-diff','context','AI_REVIEW_CHECK_','models','getTotalChangesCount','message','getCheckById','loading','model','translate','switchToEdit','rejected','acceptAllChanges','start','unmodified','ready','emitter','includes','8QdyJrY','2081InVkSO','getActiveChanges','changeMarkerClick','_OPTIONS_DATA_','reviewCheckResultActivated','addResultChanges','listenTo','_aiConnector','updateChangeState','stopListening','closest','changeId','aireviewmode-check-run-failed','showChunkErrorView','error-general','_currentReviewCheckRun','find','_TITLE','showChangeBalloon','error-chunk','finishReview','panel','.ck-ai-review-mode__check-run-result','showNoChangesView','custom','_aiReviewModeUi','AIReviewModeUI','get','plugins','setCheckResultTitle','reviewCheckResultRejected','result','getDocumentData','map','showGeneralErrorView','markChangeAsAccepted','contentNew','runReviewCheck','title','label','aireviewmode-no-current-check-run','deactivateChange','_aiReviewCheckList','domElement','prompt','AIReviewModeController','data','content','_DESCRIPTION','length','reviewCheckRunUpdated','_changeActivationSource','leaveReviewMode','markAllChangesAsAccepted','AIReviewModeEditing','documentData','_onReviewModeRunLeave','forceReadyState','isCustom','1995qIoeRq','markChangeAsRejected','status','upsertCustomAIReviewRating','toUpperCase','19307997iIGPBA','ck-ai-review-mode-highlights','requires','AI_MODEL_DESCRIPTION_','ai.reviewMode.translations','change','getContentElement','getAll','_translateReviewChecks','_OPTIONS_LABEL','_isDiffOn','reviewCheckResultDeactivated','showReviewCompletedView','hideChangeBalloon','clearAllMarkers','ai-request-aborted','5956530azKoaO','aireviewmode-source-check-not-found','772bejuPH','getChangeElement','_getTranslationWithDefault','abort','remove','aborted','isChangeActive','pluginName','resetActiveStateInResults','callId','replaceAll','finished','abortReviewStream','config','classList','dismissChange','params','showCheckRunResult','928515hMizRu','init','setAvailableChecks','processedResultsCount','_logError','description','restart','toggleDiff','switchToReadOnly','6726216qVbuyu','getReviewCheckList','reviewCheckResultAccepted','retryReview','acceptChange','showActionsWhenResultIsReady','contentInitial','reviewCheckResultReady','_aiReviewModeEditing','options','setActiveStateInResults','showCheckRunResults','markChangePositionInEditorContent'];_0x12da=function(){return _0x42ff5f;};return _0x12da();}export class AIReviewModeController extends _0xbb471a{[_0x2fa5dd(0x25a)];[_0x2fa5dd(0x1c7)];[_0x2fa5dd(0x223)];[_0x2fa5dd(0x1d8)];[_0x2fa5dd(0x1bd)];[_0x2fa5dd(0x1f8)]=!0x1;[_0x2fa5dd(0x1e1)]=null;static get[_0x2fa5dd(0x1f0)](){return[_0x4bfcf5];}static get[_0x2fa5dd(0x207)](){const _0x433ba9=_0x2fa5dd;return _0x433ba9(0x1db);}static get[_0x2fa5dd(0x238)](){return!0x0;}static get[_0x2fa5dd(0x23d)](){return!0x0;}async[_0x2fa5dd(0x213)](){const _0x575db5=_0x2fa5dd;this[_0x575db5(0x25a)]=this[_0x575db5(0x241)][_0x575db5(0x1ca)][_0x575db5(0x1c9)](_0x575db5(0x236)),this[_0x575db5(0x1c7)]=this[_0x575db5(0x241)][_0x575db5(0x1ca)][_0x575db5(0x1c9)](_0x575db5(0x1c8)),this[_0x575db5(0x223)]=this[_0x575db5(0x241)][_0x575db5(0x1ca)][_0x575db5(0x1c9)](_0x575db5(0x1e4));const _0x52f1da=this[_0x575db5(0x241)][_0x575db5(0x20d)][_0x575db5(0x1c9)](_0x575db5(0x1f2));if(_0x52f1da){for(const _0x136a5c of _0x35cd9d)_0x575db5(0x249)===_0x136a5c['id']&&(_0x136a5c[_0x575db5(0x224)][0x0][_0x575db5(0x1dc)]=_0x52f1da);}const _0x402a23=this[_0x575db5(0x1f6)](_0x35cd9d);this[_0x575db5(0x1d8)]=new _0x4c6caa(_0x402a23);const _0x29f4fc=this[_0x575db5(0x1d8)][_0x575db5(0x230)][_0x575db5(0x1be)](_0x5b1619=>_0x575db5(0x1c6)===_0x5b1619['id']);if(_0x29f4fc){const _0x505bfe=await new _0x193845({'connector':this[_0x575db5(0x25a)]})[_0x575db5(0x1f5)]();_0x29f4fc[_0x575db5(0x243)]=_0x505bfe[_0x575db5(0x1cf)](_0x553b87=>({..._0x553b87,'description':this[_0x575db5(0x202)](_0x575db5(0x1f1)+_0x553b87['id'][_0x575db5(0x1ed)](),_0x553b87[_0x575db5(0x217)])}));}this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x21c),()=>{const _0x100af5=_0x575db5;this[_0x100af5(0x1c7)][_0x100af5(0x214)](this[_0x100af5(0x1d8)][_0x100af5(0x230)]);}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x1d3),async(_0x20b679,_0xf7d9e9)=>{const _0x39a829=_0x575db5,_0x3de793=this[_0x39a829(0x1d8)][_0x39a829(0x246)](_0xf7d9e9['id']);if(_0x3de793){this[_0x39a829(0x228)](this[_0x39a829(0x1f8)]),_0xf7d9e9[_0x39a829(0x1e8)]?this[_0x39a829(0x1bd)]=new _0x4c4d86(_0xf7d9e9[_0x39a829(0x22f)][_0x39a829(0x1da)],_0xf7d9e9[_0x39a829(0x22f)][_0x39a829(0x248)],this[_0x39a829(0x223)][_0x39a829(0x1ce)](),_0x3de793,this[_0x39a829(0x25a)]):this[_0x39a829(0x1bd)]=new _0x3762e0(this[_0x39a829(0x223)][_0x39a829(0x1ce)](),_0x3de793,this[_0x39a829(0x25a)],_0xf7d9e9[_0x39a829(0x210)],_0xf7d9e9[_0x39a829(0x22f)]),this[_0x39a829(0x1c7)][_0x39a829(0x1cb)](this[_0x39a829(0x1bd)][_0x39a829(0x1d4)]),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x1e0),(_0x4ed151,_0x5473a2)=>{const _0x3da195=_0x39a829;_0x3da195(0x1dc)===_0x5473a2[_0x3da195(0x1eb)]||_0x3da195(0x247)===_0x5473a2[_0x3da195(0x1eb)]?(this[_0x3da195(0x223)][_0x3da195(0x21a)](),this[_0x3da195(0x1c7)][_0x3da195(0x226)](_0x5473a2)):_0x3da195(0x20b)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x1fa)]():_0x3da195(0x24f)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x220)]():_0x3da195(0x24e)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x1c5)]():_0x3da195(0x1bc)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x1d0)]():_0x3da195(0x1c1)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x1bb)]():_0x3da195(0x205)===_0x5473a2[_0x3da195(0x1eb)]&&(this[_0x3da195(0x1bd)]&&this[_0x3da195(0x1bd)][_0x3da195(0x215)]>0x0?setTimeout(()=>{const _0x2c8d50=_0x3da195;this[_0x2c8d50(0x1bd)]?.[_0x2c8d50(0x1e7)]();},0x0):this[_0x3da195(0x1e6)](!0x0));}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x22d),(_0x3e5531,_0x47ac1a)=>{const _0x4df39d=_0x39a829;if(!this[_0x4df39d(0x1bd)])throw new _0x3d9755(_0x4df39d(0x1d6),this);const _0x21e657=this[_0x4df39d(0x223)][_0x4df39d(0x23e)](_0x47ac1a[_0x4df39d(0x1cd)][_0x4df39d(0x221)],_0x47ac1a[_0x4df39d(0x1cd)][_0x4df39d(0x1d2)]);_0x47ac1a[_0x4df39d(0x234)][_0x4df39d(0x258)](_0x47ac1a[_0x4df39d(0x1cd)]['id'],_0x21e657);}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x222),(_0x6c9d9b,_0x345a83)=>{const _0x101e52=_0x39a829;for(const _0x5a791d of _0x345a83[_0x101e52(0x237)])this[_0x101e52(0x1c7)][_0x101e52(0x211)](_0x5a791d);this[_0x101e52(0x223)][_0x101e52(0x227)](_0x345a83[_0x101e52(0x237)],_0x345a83[_0x101e52(0x234)][_0x101e52(0x1e5)]);}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x21d),(_0x5077d1,_0x204cb9)=>{const _0x1a3430=_0x39a829;this[_0x1a3430(0x1c7)][_0x1a3430(0x25b)](_0x204cb9[_0x1a3430(0x1f3)]['id'],_0x1a3430(0x231));}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x1cc),(_0x3ef67d,_0xb32ee7)=>{const _0x15963a=_0x39a829;this[_0x15963a(0x1c7)][_0x15963a(0x25b)](_0xb32ee7[_0x15963a(0x1f3)]['id'],_0x15963a(0x24b));}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x257),(_0x422c25,_0x53507d)=>{const _0x4582d9=_0x39a829;this[_0x4582d9(0x1c7)][_0x4582d9(0x225)](_0x53507d[_0x4582d9(0x1f3)]['id']);const _0x432983=this[_0x4582d9(0x223)][_0x4582d9(0x233)](_0x53507d[_0x4582d9(0x1f3)]['id']);if(_0x432983){if(_0x4582d9(0x1dd)===this[_0x4582d9(0x1e1)]){const _0x385c1c=this[_0x4582d9(0x1c7)][_0x4582d9(0x201)](_0x53507d[_0x4582d9(0x1f3)]['id']);_0x385c1c&&_0x24aaee(_0x385c1c[_0x4582d9(0x1b8)](_0x4582d9(0x1c4))||_0x385c1c);}else{if(_0x4582d9(0x1c3)===this[_0x4582d9(0x1e1)]){const _0x4b9469={'target':_0x432983[_0x4582d9(0x1d9)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x377aa6(_0x4b9469);}}this[_0x4582d9(0x1c7)][_0x4582d9(0x1c0)](_0x53507d[_0x4582d9(0x1f3)],_0x432983[_0x4582d9(0x1d9)]);}}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x1f9),()=>{const _0x512952=_0x39a829;this[_0x512952(0x1c7)][_0x512952(0x208)]();});try{await this[_0x39a829(0x1bd)][_0x39a829(0x24d)]();}catch(_0x5428b5){_0x5428b5 instanceof Error&&_0x5428b5[_0x39a829(0x245)][_0x39a829(0x251)](_0x39a829(0x1fd))||(_0x5428b5 instanceof _0x3d9755?this[_0x39a829(0x216)](_0x5428b5):this[_0x39a829(0x216)](new _0x3d9755(_0x39a829(0x1ba),this,{'error':_0x5428b5})));}}else this[_0x39a829(0x216)](new _0x3d9755(_0x39a829(0x1ff),this,{'checkId':_0xf7d9e9['id']}));}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x1e2),()=>{const _0x147c8c=_0x575db5;this[_0x147c8c(0x1e6)]();}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x229),()=>{const _0x137eb0=_0x575db5;this[_0x137eb0(0x1e6)](!0x0);}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x20c),()=>{const _0x22a932=_0x575db5;this[_0x22a932(0x1bd)]&&this[_0x22a932(0x1bd)][_0x22a932(0x203)]();}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x1c2),()=>{const _0x4070db=_0x575db5;this[_0x4070db(0x1e6)](!0x0);}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x24c),()=>{const _0x24376b=_0x575db5;if(!this[_0x24376b(0x1bd)])return;const _0x42724f=this[_0x24376b(0x1bd)][_0x24376b(0x254)]();_0x42724f[_0x24376b(0x1df)]&&(this[_0x24376b(0x223)][_0x24376b(0x22e)](_0x42724f[_0x24376b(0x1cf)](_0x8ed777=>_0x8ed777['id'])),this[_0x24376b(0x1bd)][_0x24376b(0x1e3)](),this[_0x24376b(0x232)]());}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x21f),(_0x48a28f,_0x3fbd28)=>{const _0x3f90ce=_0x575db5;this[_0x3f90ce(0x1bd)]&&this[_0x3f90ce(0x1bd)][_0x3f90ce(0x206)](_0x3fbd28['id'])&&(this[_0x3f90ce(0x223)][_0x3f90ce(0x22e)]([_0x3fbd28['id']]),this[_0x3f90ce(0x1bd)][_0x3f90ce(0x1d1)](_0x3fbd28['id']),this[_0x3f90ce(0x1c7)][_0x3f90ce(0x1fb)](),this[_0x3f90ce(0x232)]());}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x20f),(_0x459bf3,_0x3d4301)=>{const _0x7f0e66=_0x575db5;this[_0x7f0e66(0x1bd)]&&this[_0x7f0e66(0x1bd)][_0x7f0e66(0x206)](_0x3d4301['id'])&&(this[_0x7f0e66(0x223)][_0x7f0e66(0x23a)](_0x3d4301['id']),this[_0x7f0e66(0x1bd)][_0x7f0e66(0x1ea)](_0x3d4301['id']),this[_0x7f0e66(0x1c7)][_0x7f0e66(0x1fb)]());}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x219),(_0x12a306,_0x418d93)=>{const _0x5eabd1=_0x575db5;this[_0x5eabd1(0x1f8)]=_0x418d93['on'],this[_0x5eabd1(0x228)](this[_0x5eabd1(0x1f8)]);}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x21e),async()=>{const _0x189ba6=_0x575db5;this[_0x189ba6(0x1bd)]&&await this[_0x189ba6(0x1bd)][_0x189ba6(0x218)]();}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x23b),(_0x2341e6,_0x500a41)=>{const _0xaf8f41=_0x575db5;this[_0xaf8f41(0x1bd)]&&(this[_0xaf8f41(0x1e1)]=_0xaf8f41(0x1c3),this[_0xaf8f41(0x1bd)][_0xaf8f41(0x23b)](_0x500a41['id']));}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x1d7),()=>{const _0x7d0735=_0x575db5;this[_0x7d0735(0x1bd)]&&this[_0x7d0735(0x1bd)][_0x7d0735(0x1d7)]();}),this[_0x575db5(0x259)](this[_0x575db5(0x223)][_0x575db5(0x250)],_0x575db5(0x255),(_0x2a52e4,_0x2178a8)=>{const _0x5d9e25=_0x575db5;this[_0x5d9e25(0x1bd)]&&(this[_0x5d9e25(0x1e1)]=_0x5d9e25(0x1dd),this[_0x5d9e25(0x1bd)][_0x5d9e25(0x23b)](_0x2178a8[_0x5d9e25(0x1b9)]));});}[_0x2fa5dd(0x232)](){const _0x577be3=_0x2fa5dd;if(!this[_0x577be3(0x1bd)])return;const _0x48df43={'positiveCount':this[_0x577be3(0x1bd)][_0x577be3(0x22c)](),'totalCount':this[_0x577be3(0x1bd)][_0x577be3(0x244)]()},_0x10394d=this[_0x577be3(0x1bd)][_0x577be3(0x209)];if(this[_0x577be3(0x1bd)]instanceof _0x3762e0){const _0x54f43b=this[_0x577be3(0x1bd)][_0x577be3(0x23f)];this[_0x577be3(0x25a)][_0x577be3(0x22a)](_0x54f43b,_0x10394d,_0x48df43);}else this[_0x577be3(0x1bd)]instanceof _0x4c4d86&&this[_0x577be3(0x25a)][_0x577be3(0x1ec)](_0x10394d,_0x48df43);}[_0x2fa5dd(0x1e6)](_0x1283ba=!0x1){const _0x29d5c5=_0x2fa5dd;this[_0x29d5c5(0x1bd)]&&(this[_0x29d5c5(0x232)](),this[_0x29d5c5(0x1bd)][_0x29d5c5(0x203)](),this[_0x29d5c5(0x1bd)][_0x29d5c5(0x1b7)](),this[_0x29d5c5(0x1bd)]=void 0x0),_0x1283ba&&this[_0x29d5c5(0x1c7)][_0x29d5c5(0x23c)](),this[_0x29d5c5(0x223)][_0x29d5c5(0x1fc)](),this[_0x29d5c5(0x223)][_0x29d5c5(0x24a)](),this[_0x29d5c5(0x1e1)]=null;const _0x542731=this[_0x29d5c5(0x223)][_0x29d5c5(0x1f4)]();_0x542731&&(_0x542731[_0x29d5c5(0x20e)][_0x29d5c5(0x204)](_0x29d5c5(0x240)),_0x542731[_0x29d5c5(0x20e)][_0x29d5c5(0x204)](_0x29d5c5(0x1ef)));}[_0x2fa5dd(0x228)](_0x475568){const _0x26bcaf=_0x2fa5dd,_0x1b951c=this[_0x26bcaf(0x223)][_0x26bcaf(0x1f4)]();_0x1b951c&&(_0x1b951c[_0x26bcaf(0x20e)][_0x26bcaf(0x204)](_0x26bcaf(0x240)),_0x1b951c[_0x26bcaf(0x20e)][_0x26bcaf(0x204)](_0x26bcaf(0x1ef)),_0x1b951c[_0x26bcaf(0x20e)][_0x26bcaf(0x239)](_0x475568?_0x26bcaf(0x240):_0x26bcaf(0x1ef)));}[_0x2fa5dd(0x1f6)](_0xdb7338){const _0xe4b4eb=_0x2fa5dd;return _0xdb7338[_0xe4b4eb(0x1cf)](_0x391dfc=>{const _0x25a545=_0xe4b4eb,_0x3da591=_0x25a545(0x242)+_0x391dfc['id'][_0x25a545(0x1ed)]()[_0x25a545(0x20a)]('-','_'),_0x285078={..._0x391dfc,'title':this[_0x25a545(0x202)](_0x3da591+_0x25a545(0x1bf),_0x391dfc[_0x25a545(0x1d4)]),'description':this[_0x25a545(0x202)](_0x3da591+_0x25a545(0x1de),_0x391dfc[_0x25a545(0x217)])};return _0x391dfc[_0x25a545(0x224)]&&(_0x285078[_0x25a545(0x224)]=_0x391dfc[_0x25a545(0x224)][_0x25a545(0x1cf)](_0x453ef0=>({..._0x453ef0,'label':this[_0x25a545(0x202)](_0x3da591+_0x25a545(0x1f7),_0x453ef0[_0x25a545(0x1d5)]||''),'data':_0x453ef0[_0x25a545(0x1dc)]?_0x453ef0[_0x25a545(0x1dc)][_0x25a545(0x1cf)](_0x51f144=>({..._0x51f144,'label':this[_0x25a545(0x202)](_0x3da591+_0x25a545(0x256)+_0x51f144['id'][_0x25a545(0x1ed)](),_0x51f144[_0x25a545(0x1d5)])})):void 0x0}))),_0x285078;});}[_0x2fa5dd(0x202)](_0x9fff37,_0x3593d6){const _0x1305ed=_0x2fa5dd,_0x38e7d9=this[_0x1305ed(0x241)][_0x1305ed(0x22b)],_0x6078f2=_0x889402(_0x38e7d9,_0x9fff37);return _0x6078f2===_0x9fff37?_0x3593d6:_0x6078f2;}[_0x2fa5dd(0x216)](_0x56b321){const _0x28980a=_0x2fa5dd;_0x275cb5(_0x56b321[_0x28980a(0x245)]),this[_0x28980a(0x1c7)][_0x28980a(0x1d0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x44611c=_0x4e62;(function(_0x165432,_0x1e0b57){const _0x223911=_0x4e62,_0x352182=_0x165432();while(!![]){try{const _0x3a53ac=-parseInt(_0x223911(0x13d))/0x1*(-parseInt(_0x223911(0xd4))/0x2)+parseInt(_0x223911(0xaf))/0x3+-parseInt(_0x223911(0xa2))/0x4*(-parseInt(_0x223911(0xa7))/0x5)+-parseInt(_0x223911(0xad))/0x6+parseInt(_0x223911(0x9b))/0x7*(-parseInt(_0x223911(0xc7))/0x8)+-parseInt(_0x223911(0xbf))/0x9+parseInt(_0x223911(0xf6))/0xa;if(_0x3a53ac===_0x1e0b57)break;else _0x352182['push'](_0x352182['shift']());}catch(_0x112a79){_0x352182['push'](_0x352182['shift']());}}}(_0x49fa,0xdf4e7));function _0x49fa(){const _0x5704c3=['htmlProcessor','getPath','filter','parent','ai-review-mode','_appendChild','nodes','oldRange','getDiff','_eventEmitter','createPositionAfter','markerToHighlight','howMany','_changeRange','get','every','split','documentFragment','_changeOperationOwnerDocument','isPremiumPlugin','_changePositionOwnerDocument','add','createText','hasContentBefore','parentElement','className','isOfficialPlugin','map','ck-ai_review-mode-marker_hide','enableReadOnlyMode','getRoots','markers','deleteContent','42qmIvmX','reviewmode-','push','insertContent','domConverter','remove-text','elements','3672436yAvQsY','target','affectsData','suggestion:insertion:id:authorId:','markerName','5ItCTlC','_domEmitter','hasClass','emitter','plugins','AIReviewModeEditing','6451734TBhKTS','delete','3489690zgiKsA','toData','_createGetContentUsingDataIdFn','_createGetContextFn','_nextDataId','isInline','start','operationsIsolated','baseVersion','switchToEdit','append','view','marker','addOperation','caption','afterInit','2469708LuAUYA','data-marker-id','model','includes','data','ck-ai_review-mode-marker_context-start','batch','isDocumentOperation','1610024zZadiT','htmlWriter','_findAdjacentContextDistance','createUIElement','switchToReadOnly','_getTopElement','listenTo','childCount','_markers','_translateOperationToEditorContent','innerHTML','forward','_changePosition','483788tZjWXZ','createRawElement','parse','remove-only','editingDowncast','getShiftedBy','getContentElement','change','[data-marker-id=\x22','fire','_shiftOperation','ck-ai_review-mode-marker_context-','text','applyChange','_findMarkerElement','createDocumentFragment','createPositionAt','suggestion:deletion:id:authorId:','version','exec','offsetSize','viewToDom','for','_getMarkersDataForGroup','length','[data-id=\x22','ck-ai_review-mode-marker_add','editing','attributeToAttribute','pluginName','_setAttribute','sort','removeMarker','end','11486490WjovBX','element','conversion','position','outerHTML','offset','suggestion-context','newRange','span','document','getChildren','$documentFragment','getChild','pop','getDocumentData','createRange','values','querySelector','isAtEnd','getAttribute','applyOperation','clone','_clone','name','operationsA','_insertMarkers','getRoot','backward','processor','getRange','markChangePositionInEditorContent','diffContent','ck-ai_review-mode-marker_strikethrough','ck-ai_review-mode-marker_underline','toView','_getChangeContext','_changeRangeOwnerDocument','isTouching','toDomElement','hasContentAfter','context','downcast','No\x20element\x20found\x20for\x20ID:\x20','ck-ai_review-mode-marker_context-end','getOperations','ellipsisBefore','_sortMarkers','clearAllMarkers','AIEditing','jumpTo','isOpening','getDomRoot','type','requires','_createGetContentFn','createSelection','flat','getMarkerElementForChange','getHtml','concat','clear','from','disableReadOnlyMode','model:$text','dataDowncast','DocumentCompare','groupId','rejectChange','insert','click','_removeChildren','1WxGixd','keys','changeMarkerClick','$markedRemove','$textProxy','_getOperationStart','history','_getOperationEnd','remove-context','set','index','addMarker','_groupAdjacentOperations','warn','ellipsisAfter','path','schema','startsWith','markerToElement','ck-ai_review-mode-marker_','isAtStart','stringify'];_0x49fa=function(){return _0x5704c3;};return _0x49fa();}import{InsertOperation as _0x37119d,MarkerOperation as _0x108811,ModelDocumentFragment as _0x3fd0c9,ModelPosition as _0x1617d9,ModelRange as _0x40354e,ModelTreeWalker as _0x151074,transformOperationSets as _0x5b990b}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x11b957,EmitterMixin as _0x820858}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4bac35}from'ckeditor5/src/core.js';function _0x4e62(_0x2d5176,_0x3a0ff6){const _0x49fad5=_0x49fa();return _0x4e62=function(_0x4e6256,_0x39ae70){_0x4e6256=_0x4e6256-0x97;let _0x48f1d5=_0x49fad5[_0x4e6256];return _0x48f1d5;},_0x4e62(_0x2d5176,_0x3a0ff6);}import{DocumentCompare as _0x56d1e8,DATA_ID_MODEL_ATTRIBUTE as _0x21cb22,DATA_ID_VIEW_ATTRIBUTE as _0x496eb5}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x33899f}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x127758}from'../aicore/aiediting.js';const Mt=_0x44611c(0x9c);export class AIReviewModeEditing extends _0x4bac35{static get[_0x44611c(0xf1)](){const _0x1c599a=_0x44611c;return _0x1c599a(0xac);}static get[_0x44611c(0x12b)](){return[_0x56d1e8,_0x127758];}static get[_0x44611c(0x16d)](){return!0x0;}static get[_0x44611c(0x166)](){return!0x0;}[_0x44611c(0xcf)]=new Map();[_0x44611c(0xa8)];[_0x44611c(0x15c)];constructor(_0x5b6910){const _0x2d5092=_0x44611c;super(_0x5b6910),this[_0x2d5092(0xa8)]=new(_0x11b957())(),this[_0x2d5092(0x15c)]=new(_0x820858())();}get[_0x44611c(0xaa)](){const _0x32e60c=_0x44611c;return this[_0x32e60c(0x15c)];}[_0x44611c(0xbe)](){const _0x403712=_0x44611c,_0x2eaedc=_0x33899f(this[_0x403712(0x11e)]);_0x2eaedc[_0x403712(0xf8)][_0x403712(0xea)](_0x403712(0xd8))[_0x403712(0x14f)]({'model':Mt+_0x403712(0x13a),'view':(_0x53ccad,{writer:_0x59e0b6})=>{const _0x324ba6=_0x403712,_0x21d8c7=this[_0x324ba6(0xcf)][_0x324ba6(0x161)](_0x53ccad[_0x324ba6(0xa6)]),_0x463bd8={'class':_0x324ba6(0xee),'data-marker-id':_0x53ccad[_0x324ba6(0xa6)]};return _0x59e0b6[_0x324ba6(0xca)](_0x324ba6(0xfe),_0x463bd8,function(_0x15ab47){const _0x1f131f=_0x324ba6,_0x18f421=this[_0x1f131f(0x11c)](_0x15ab47);return _0x18f421[_0x1f131f(0xd1)]=_0x21d8c7?.[_0x1f131f(0xe0)]||'',_0x18f421;});}}),_0x2eaedc[_0x403712(0xf8)][_0x403712(0xea)](_0x403712(0xd8))[_0x403712(0x15e)]({'model':Mt+_0x403712(0xd7),'view':_0x5b05d9=>({'classes':_0x403712(0x116),'attributes':{'data-marker-id':_0x5b05d9[_0x403712(0xa6)]}})}),_0x2eaedc[_0x403712(0xf8)][_0x403712(0xea)](_0x403712(0xd8))[_0x403712(0x15e)]({'model':Mt+_0x403712(0x145),'view':_0x507037=>({'classes':_0x403712(0x117),'attributes':{'data-marker-id':_0x507037[_0x403712(0xa6)]}})}),_0x2eaedc[_0x403712(0xf8)][_0x403712(0xea)](_0x403712(0xd8))[_0x403712(0x15e)]({'model':Mt+_0x403712(0xa0),'view':_0x5f57a5=>({'classes':_0x403712(0x16f),'attributes':{'data-marker-id':_0x5f57a5[_0x403712(0xa6)]}})}),_0x2eaedc[_0x403712(0xf8)][_0x403712(0xea)](_0x403712(0x136))[_0x403712(0x14f)]({'model':Mt+_0x403712(0xfc),'view':(_0x37b216,{writer:_0x315192})=>_0x315192[_0x403712(0xd5)](_0x403712(0xfe),{'class':_0x403712(0xdf)+(_0x37b216[_0x403712(0x128)]?_0x403712(0xb5):_0x403712(0xf5))})}),_0x2eaedc[_0x403712(0xf8)][_0x403712(0xea)](_0x403712(0x11f))[_0x403712(0xf0)]({'model':_0x21cb22,'view':_0x496eb5}),this[_0x403712(0xa8)][_0x403712(0xcd)](document,_0x403712(0x13b),(_0x5e7379,_0x1b5333)=>{const _0x51ff5f=_0x403712,_0x1d35c0=_0x1b5333[_0x51ff5f(0xa3)],_0x3cd8eb=this[_0x51ff5f(0xe2)](_0x1d35c0);if(!_0x3cd8eb)return;const _0x2a5371=_0x3cd8eb[_0x51ff5f(0x109)](_0x51ff5f(0xc0)),_0x28ae98=_0x2a5371[_0x51ff5f(0x163)](':')[_0x51ff5f(0x103)]()?.[_0x51ff5f(0x163)]('_')[0x0];this[_0x51ff5f(0x15c)][_0x51ff5f(0xdd)](_0x51ff5f(0x13f),{'markerId':_0x2a5371,'changeId':_0x28ae98});});}[_0x44611c(0x104)](){const _0xa1e4a4=_0x44611c,_0xb64f5b=this[_0xa1e4a4(0x11e)][_0xa1e4a4(0xab)][_0xa1e4a4(0x161)](_0xa1e4a4(0x126)),_0x3a49cc=_0x33899f(this[_0xa1e4a4(0x11e)]),_0x234aaf=_0x3a49cc[_0xa1e4a4(0xc1)],_0x23a911=new _0x3fd0c9();for(const _0x3a7504 of _0x234aaf[_0xa1e4a4(0xff)][_0xa1e4a4(0x110)]()[_0xa1e4a4(0x100)]()){const _0x389c1b=_0x3a7504[_0xa1e4a4(0x10c)](!0x0);_0x23a911[_0xa1e4a4(0x158)](_0x389c1b);}for(const _0x25ac57 of _0x234aaf[_0xa1e4a4(0x99)])_0x23a911[_0xa1e4a4(0x99)][_0xa1e4a4(0x146)](_0x25ac57[_0xa1e4a4(0x10d)],this[_0xa1e4a4(0x11a)](_0x25ac57[_0xa1e4a4(0x113)]()[_0xa1e4a4(0x10b)](),_0x23a911));const _0x4bc067=new _0x151074({'ignoreElementEnd':!0x0,'startPosition':_0x234aaf[_0xa1e4a4(0xe4)](_0x23a911,0x0)}),_0x4dc121=new Set(),_0x128487=new Map();for(const {item:_0xa73608}of _0x4bc067){if(!_0xa73608['is'](_0xa1e4a4(0x141)))continue;const _0x5ec746=_0xa73608[_0xa1e4a4(0x156)];if((!_0x5ec746||!_0x5ec746['is'](_0xa1e4a4(0xf7),_0xa1e4a4(0xbd)))&&(_0x5ec746&&_0x5ec746['is'](_0xa1e4a4(0xf7)))){let _0x45fcfd=_0x5ec746[_0xa1e4a4(0x109)](_0x21cb22);_0x45fcfd||(_0x45fcfd=_0xb64f5b[_0xa1e4a4(0xb3)](_0x4dc121),_0x5ec746[_0xa1e4a4(0xf2)](_0x21cb22,_0x45fcfd)),_0x4dc121[_0xa1e4a4(0x168)](_0x45fcfd);const _0x527d3=this[_0xa1e4a4(0xcc)](_0x5ec746);_0x128487[_0xa1e4a4(0x146)](_0x45fcfd,{'path':_0x5ec746[_0xa1e4a4(0x154)](),'getContent':this[_0xa1e4a4(0xb1)](_0x527d3[_0xa1e4a4(0x10c)](!0x0),_0x45fcfd,_0x3a49cc[_0xa1e4a4(0xc3)])}),_0x4bc067[_0xa1e4a4(0x127)](_0x234aaf[_0xa1e4a4(0x15d)](_0x5ec746));}}return{'content':_0x3a49cc[_0xa1e4a4(0xc3)][_0xa1e4a4(0x112)][_0xa1e4a4(0xb0)](_0x3a49cc[_0xa1e4a4(0xc3)][_0xa1e4a4(0x118)](_0x23a911)),'version':_0x3a49cc[_0xa1e4a4(0xc1)][_0xa1e4a4(0xff)][_0xa1e4a4(0xe6)],'elements':_0x128487};}[_0x44611c(0x115)](_0x57533e,_0x140800){const _0x49264e=_0x44611c,_0x4a9aa1=_0x33899f(this[_0x49264e(0x11e)]),_0x3d203f=_0x4a9aa1[_0x49264e(0xc3)][_0x49264e(0xd6)](_0x57533e,_0x49264e(0x101)),_0x1c85a1=_0x4a9aa1[_0x49264e(0xc1)][_0x49264e(0xe4)](_0x3d203f,0x0),_0x1d58c6=this[_0x49264e(0x11e)][_0x49264e(0xab)][_0x49264e(0x161)](_0x49264e(0x137))[_0x49264e(0x15b)](_0x57533e,_0x140800,{'anchor':_0x1c85a1,'markDeletions':!0x0})[_0x49264e(0x122)]()[_0x49264e(0x155)](_0x4a2328=>_0x49264e(0x13a)===_0x4a2328[_0x49264e(0x12a)]||_0x49264e(0xbb)===_0x4a2328[_0x49264e(0x12a)]&&_0x4a2328[_0x49264e(0x10d)][_0x49264e(0x14e)](_0x49264e(0x140))),_0x2cd64b=this[_0x49264e(0x149)](_0x1d58c6),_0x142408=[];let _0x140db5=0x0;return _0x4a9aa1[_0x49264e(0xc1)][_0x49264e(0xdb)](_0x33fa8e=>{const _0x514a93=_0x49264e;for(let _0x4d6ee2=0x0;_0x4d6ee2<_0x2cd64b[_0x514a93(0xec)];_0x4d6ee2++){const _0x1133ea=_0x2cd64b[_0x4d6ee2],_0x4e36c3=_0x33fa8e[_0x514a93(0xe3)]();for(const _0x29c673 of _0x3d203f[_0x514a93(0x100)]())_0x33fa8e[_0x514a93(0xb9)](_0x29c673[_0x514a93(0x10c)](!0x0),_0x4e36c3);for(const _0x164cad of _0x1133ea[_0x514a93(0xb6)])if(_0x514a93(0x13a)===_0x164cad[_0x514a93(0x12a)]){const _0x46dda3=_0x164cad;_0x46dda3[_0x514a93(0xb7)]=null,_0x46dda3[_0x514a93(0xc6)]=!0x1,this[_0x514a93(0x165)](_0x46dda3,_0x4e36c3),_0x33fa8e[_0x514a93(0xc5)][_0x514a93(0xbc)](_0x164cad),_0x4a9aa1[_0x514a93(0xc1)][_0x514a93(0x10a)](_0x164cad);const _0x3af741=_0x514a93(0xa5)+_0x140db5++,_0xd3a6f=_0x4a9aa1[_0x514a93(0xc1)][_0x514a93(0x105)](_0x46dda3[_0x514a93(0xf9)],_0x46dda3[_0x514a93(0xf9)][_0x514a93(0xd9)](_0x46dda3[_0x514a93(0x15f)]));_0x4e36c3[_0x514a93(0x99)][_0x514a93(0x146)](_0x3af741,_0xd3a6f);}else{if(_0x514a93(0xbb)===_0x164cad[_0x514a93(0x12a)]&&_0x164cad[_0x514a93(0x10d)][_0x514a93(0x14e)](_0x514a93(0x140))){const _0x2f0c94=_0x164cad,_0x5d67f9=_0x514a93(0xe5)+_0x140db5++;this[_0x514a93(0x165)](_0x2f0c94,_0x4e36c3),_0x4e36c3[_0x514a93(0x99)][_0x514a93(0x146)](_0x5d67f9,_0x2f0c94[_0x514a93(0xfd)]);}}const _0x22411e=this[_0x514a93(0x119)](this[_0x514a93(0x167)](this[_0x514a93(0x142)](_0x1133ea[_0x514a93(0xb6)][0x0]),_0x4e36c3),this[_0x514a93(0x167)](this[_0x514a93(0x144)](_0x1133ea[_0x514a93(0xb6)][_0x1133ea[_0x514a93(0xb6)][_0x514a93(0xec)]-0x1]),_0x4e36c3));_0x4e36c3[_0x514a93(0x99)][_0x514a93(0x146)](Mt+_0x514a93(0xfc),new _0x40354e(_0x22411e[_0x514a93(0xb5)],_0x22411e[_0x514a93(0xf5)])),_0x142408[_0x514a93(0x9d)]({..._0x1133ea,'context':this[_0x514a93(0xb2)](_0x4e36c3,_0x4a9aa1[_0x514a93(0xc3)],{'ellipsisBefore':_0x22411e[_0x514a93(0x16a)],'ellipsisAfter':_0x22411e[_0x514a93(0x11d)]}),'content':this[_0x514a93(0x12c)](_0x4e36c3,_0x4a9aa1[_0x514a93(0xc3)])});}}),_0x142408;}[_0x44611c(0x114)](_0x4f3778,_0x3cfdf6){const _0x47442d=_0x44611c,_0x175fec=_0x4f3778[0x0][_0x47442d(0x156)]['id'],_0x5722cf=_0x3cfdf6[_0x47442d(0xa1)][_0x47442d(0x161)](_0x175fec);if(!_0x5722cf)return void console[_0x47442d(0x14a)](_0x47442d(0x120)+_0x175fec);const _0x1b2978=_0x5722cf[_0x47442d(0x14c)],_0x157e60=_0x33899f(this[_0x47442d(0x11e)]),_0x14ab6e=_0x157e60[_0x47442d(0xc1)][_0x47442d(0xff)][_0x47442d(0x143)][_0x47442d(0x122)](_0x3cfdf6[_0x47442d(0xe6)]),_0x5a331b=[];for(const _0x202203 of _0x4f3778){const _0x432d1d=_0x202203[_0x47442d(0xb6)][_0x47442d(0x16e)](_0x1e83fb=>this[_0x47442d(0xd0)](_0x1e83fb,_0x1b2978,_0x157e60[_0x47442d(0xc1)][_0x47442d(0xff)][_0x47442d(0x98)]()[0x0]));if(!_0x432d1d||!_0x432d1d[_0x47442d(0xec)])continue;const _0x311eae=_0x432d1d[_0x47442d(0x162)](_0x1dae2a=>_0x47442d(0xbb)===_0x1dae2a[_0x47442d(0x12a)]&&_0x1dae2a[_0x47442d(0x10d)][_0x47442d(0x14e)](_0x47442d(0x140))),_0x1cad1e={'document':_0x157e60[_0x47442d(0xc1)][_0x47442d(0xff)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5cf2e8=_0x5b990b(_0x432d1d,_0x14ab6e,_0x1cad1e)[_0x47442d(0x10e)];for(const _0x5a1a83 of _0x5cf2e8)if(_0x47442d(0x13a)===_0x5a1a83[_0x47442d(0x12a)]){const _0x2029d5=_0x5a1a83,_0x2f3481=_0x2029d5[_0x47442d(0x159)];let _0x551be0='';for(const _0x2ab557 of _0x2f3481)_0x2ab557&&_0x2ab557['is'](_0x47442d(0x135))&&(_0x551be0+=_0x2ab557[_0x47442d(0xc3)]);_0x5a331b[_0x47442d(0x9d)]({'start':_0x2029d5[_0x47442d(0xf9)],'end':_0x2029d5[_0x47442d(0xf9)],'type':_0x47442d(0x13a),'groupId':_0x202203['id'],'text':_0x551be0});}else{if(_0x47442d(0xbb)===_0x5a1a83[_0x47442d(0x12a)]&&_0x5a1a83[_0x47442d(0x10d)][_0x47442d(0x14e)](_0x47442d(0x140))){const _0x2f7508=_0x5a1a83;let _0x2085b3=_0x47442d(0xa0);if(_0x311eae){const _0x17694f=this[_0x47442d(0xc9)](_0x2f7508[_0x47442d(0xfd)][_0x47442d(0xb5)],_0x47442d(0x111),_0x157e60[_0x47442d(0xc1)][_0x47442d(0x14d)]),_0xd4ab89=this[_0x47442d(0xc9)](_0x2f7508[_0x47442d(0xfd)][_0x47442d(0xf5)],_0x47442d(0xd2),_0x157e60[_0x47442d(0xc1)][_0x47442d(0x14d)]);if(_0x17694f||_0xd4ab89){const _0x37d86d=_0x2f7508[_0x47442d(0xfd)][_0x47442d(0xb5)][_0x47442d(0xd9)](-_0x17694f),_0x5e42bd=_0x2f7508[_0x47442d(0xfd)][_0x47442d(0xf5)][_0x47442d(0xd9)](_0xd4ab89);_0x5a331b[_0x47442d(0x9d)]({'start':_0x37d86d,'end':_0x5e42bd,'groupId':_0x202203['id'],'type':_0x47442d(0x145)});}else _0x2085b3=_0x47442d(0xd7);}_0x5a331b[_0x47442d(0x9d)]({'start':_0x2f7508[_0x47442d(0xfd)][_0x47442d(0xb5)],'end':_0x2f7508[_0x47442d(0xfd)][_0x47442d(0xf5)],'groupId':_0x202203['id'],'type':_0x2085b3});}}}this[_0x47442d(0x10f)](_0x5a331b);}[_0x44611c(0x125)](){const _0x758bd7=_0x44611c;_0x33899f(this[_0x758bd7(0x11e)])[_0x758bd7(0xc1)][_0x758bd7(0xdb)](_0x4086f2=>{const _0x6c0603=_0x758bd7;for(const _0x315118 of this[_0x6c0603(0xcf)][_0x6c0603(0x13e)]())_0x4086f2[_0x6c0603(0xf4)](_0x315118);}),this[_0x758bd7(0xcf)][_0x758bd7(0x132)]();}[_0x44611c(0xcb)](){const _0x58fd12=_0x44611c;_0x33899f(this[_0x58fd12(0x11e)])[_0x58fd12(0x97)](_0x58fd12(0x157));}[_0x44611c(0xb8)](){const _0x22751d=_0x44611c;_0x33899f(this[_0x22751d(0x11e)])[_0x22751d(0x134)](_0x22751d(0x157));}[_0x44611c(0xe1)](_0x1e8c51){const _0x3ab23d=_0x44611c,_0x2118a2=_0x33899f(this[_0x3ab23d(0x11e)]),_0x19df5c=_0x2118a2[_0x3ab23d(0xc1)],_0x149dc6=_0x1e8c51[_0x3ab23d(0x16e)](_0x4ca02a=>this[_0x3ab23d(0xeb)](_0x4ca02a))[_0x3ab23d(0x12e)]();_0x19df5c[_0x3ab23d(0xdb)](_0x3cd48d=>{const _0xa9bc5c=_0x3ab23d;for(const _0x177432 of _0x149dc6){const _0x4de891=_0x2118a2[_0xa9bc5c(0xc1)][_0xa9bc5c(0x99)][_0xa9bc5c(0x161)](_0x177432['id']);_0x4de891&&(_0xa9bc5c(0x13a)===_0x177432[_0xa9bc5c(0x12a)]?_0x19df5c[_0xa9bc5c(0x9e)](_0x3cd48d[_0xa9bc5c(0x169)](_0x177432[_0xa9bc5c(0xe0)]||''),_0x4de891[_0xa9bc5c(0x113)]()[_0xa9bc5c(0xb5)]):_0xa9bc5c(0xa0)!==_0x177432[_0xa9bc5c(0x12a)]&&_0xa9bc5c(0xd7)!==_0x177432[_0xa9bc5c(0x12a)]||_0x19df5c[_0xa9bc5c(0x9a)](_0x19df5c[_0xa9bc5c(0x12d)](_0x4de891[_0xa9bc5c(0x113)]())),_0x3cd48d[_0xa9bc5c(0xf4)](_0x177432['id']),this[_0xa9bc5c(0xcf)][_0xa9bc5c(0xae)](_0x177432['id']));}});}[_0x44611c(0x139)](_0x5ae84c){const _0x3a23fa=_0x44611c,_0x4c5b02=_0x33899f(this[_0x3a23fa(0x11e)]),_0x469b6b=this[_0x3a23fa(0xeb)](_0x5ae84c);_0x4c5b02[_0x3a23fa(0xc1)][_0x3a23fa(0xdb)](_0x3e0e7e=>{const _0x366621=_0x3a23fa;for(const _0x7a4b84 of _0x469b6b)_0x3e0e7e[_0x366621(0xf4)](_0x7a4b84['id']),this[_0x366621(0xcf)][_0x366621(0xae)](_0x7a4b84['id']);});}[_0x44611c(0xda)](){const _0x17403b=_0x44611c,_0x2fc93f=_0x33899f(this[_0x17403b(0x11e)]);return _0x2fc93f&&_0x2fc93f['ui']&&_0x2fc93f['ui'][_0x17403b(0xf7)]?_0x2fc93f['ui'][_0x17403b(0xf7)]:null;}[_0x44611c(0x12f)](_0x25a75e){const _0x8ee39d=_0x44611c,_0x3299d8=Array[_0x8ee39d(0x133)](this[_0x8ee39d(0xcf)][_0x8ee39d(0x106)]())[_0x8ee39d(0x155)](_0x441c50=>_0x441c50[_0x8ee39d(0x138)]===_0x25a75e);if(!_0x3299d8[_0x8ee39d(0xec)])return null;const _0x43958c=0x1===_0x3299d8[_0x8ee39d(0xec)]?_0x3299d8[0x0]:this[_0x8ee39d(0x124)](_0x3299d8)[0x0],_0x46b958=_0x33899f(this[_0x8ee39d(0x11e)]),_0x318f4b=_0x46b958[_0x8ee39d(0xc1)][_0x8ee39d(0x99)][_0x8ee39d(0x161)](_0x43958c['id']);if(!_0x318f4b)return null;const _0x4ff8a4=_0x318f4b[_0x8ee39d(0x113)](),_0x1cccf4=_0x46b958[_0x8ee39d(0xef)][_0x8ee39d(0xba)][_0x8ee39d(0x129)]();if(!_0x1cccf4||!_0x4ff8a4)return null;const _0x4e25a2=_0x1cccf4[_0x8ee39d(0x107)](_0x8ee39d(0xdc)+_0x43958c['id']+'\x22]');return _0x4e25a2?{'modelRange':_0x4ff8a4,'domElement':_0x4e25a2}:null;}[_0x44611c(0xd0)](_0x1815b3,_0x470fb1,_0x4af9c5){const _0x34891e=_0x44611c;if(_0x34891e(0x13a)===_0x1815b3[_0x34891e(0x12a)]){const _0x4d4231=_0x1815b3;return new _0x37119d(this[_0x34891e(0xd3)](_0x4d4231[_0x34891e(0xf9)],_0x470fb1[_0x34891e(0x131)](_0x4d4231[_0x34891e(0xf9)][_0x34891e(0xfb)]),_0x4af9c5),_0x4d4231[_0x34891e(0x159)],_0x4d4231[_0x34891e(0xb7)]);}if(_0x34891e(0xbb)===_0x1815b3[_0x34891e(0x12a)]&&_0x1815b3[_0x34891e(0x10d)][_0x34891e(0x14e)](_0x34891e(0x140))){const _0x50d9a8=_0x1815b3;return new _0x108811(_0x50d9a8[_0x34891e(0x10d)],_0x50d9a8[_0x34891e(0x15a)],this[_0x34891e(0x160)](_0x50d9a8[_0x34891e(0xfd)],_0x470fb1[_0x34891e(0x131)](_0x50d9a8[_0x34891e(0xfd)][_0x34891e(0xb5)][_0x34891e(0xfb)]),_0x470fb1[_0x34891e(0x131)](_0x50d9a8[_0x34891e(0xfd)][_0x34891e(0xf5)][_0x34891e(0xfb)]),_0x4af9c5),_0x50d9a8[_0x34891e(0xcf)],_0x50d9a8[_0x34891e(0xa4)],_0x50d9a8[_0x34891e(0xb7)]);}return _0x1815b3;}[_0x44611c(0x149)](_0x724c30){const _0x1a1c3c=_0x44611c;if(!_0x724c30[_0x1a1c3c(0xec)])return[];const _0x81ae78=[];let _0x46e714=0x0,_0x460f5e=0x0,_0x10abdd=[];for(let _0x1bf247=0x0;_0x1bf247<=_0x724c30[_0x1a1c3c(0xec)];_0x1bf247++){const _0x26e679=_0x724c30[_0x1bf247],_0x10c1b6=_0x724c30[_0x1bf247-0x1];!_0x26e679||_0x10c1b6&&!this[_0x1a1c3c(0x144)](_0x10c1b6)[_0x1a1c3c(0x11b)](this[_0x1a1c3c(0x142)](_0x26e679))?(_0x81ae78[_0x1a1c3c(0x9d)]({'operations':_0x10abdd,'operationsIsolated':_0x10abdd[_0x1a1c3c(0x16e)](_0x5a0efd=>this[_0x1a1c3c(0xde)](_0x5a0efd[_0x1a1c3c(0x10b)](),-_0x460f5e)),'groupOffset':_0x46e714}),_0x10abdd=_0x26e679?[_0x26e679]:[],_0x460f5e+=_0x46e714,_0x46e714=0x0):_0x10abdd[_0x1a1c3c(0x9d)](_0x26e679),_0x26e679&&_0x1a1c3c(0x13a)===_0x26e679[_0x1a1c3c(0x12a)]&&(_0x46e714+=_0x26e679[_0x1a1c3c(0x15f)]);}return _0x81ae78;}[_0x44611c(0xc9)](_0x13df78,_0x56d9a4,_0x1b0566,_0x5b4acf=0x1){const _0xe19378=_0x44611c,_0xa015b6=new _0x151074({'startPosition':_0x13df78,'direction':_0x56d9a4});let _0x20cd4a=0x0;for(let _0x35f9e6=0x0;_0x35f9e6<_0x5b4acf;_0x35f9e6++){let _0x40b2e8=0x0,_0x13c7ad=!0x1,_0x451927=_0xe19378(0xd2)===_0x56d9a4?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x142732}of _0xa015b6)if(_0x142732['is'](_0xe19378(0x141))){const _0x2656b7=_0x451927[_0xe19378(0xe7)](_0x142732[_0xe19378(0xc3)]);if(_0x2656b7&&_0x2656b7[_0xe19378(0xec)]){if(_0x40b2e8+=_0xe19378(0xd2)===_0x56d9a4?_0x2656b7[_0xe19378(0x147)]+_0x2656b7[0x0][_0xe19378(0xec)]:_0x142732[_0xe19378(0xc3)][_0xe19378(0xec)]-_0x2656b7[_0xe19378(0x147)],_0x2656b7[0x0][_0xe19378(0xec)]!==_0x142732[_0xe19378(0xc3)][_0xe19378(0xec)])break;_0x13c7ad=!0x0,_0x451927=_0xe19378(0xd2)===_0x56d9a4?/^\w+/:/\w+$/;}else{if(_0x13c7ad)break;_0x40b2e8+=_0x142732[_0xe19378(0xe8)];}}else{if(_0x142732['is'](_0xe19378(0xf7))){_0x1b0566[_0xe19378(0xb4)](_0x142732)&&!_0x13c7ad&&(_0x40b2e8+=0x1);break;}}_0x20cd4a+=_0x40b2e8,_0xa015b6[_0xe19378(0x127)](_0x13df78[_0xe19378(0xd9)](_0xe19378(0xd2)===_0x56d9a4?_0x20cd4a:-_0x20cd4a));}return _0x20cd4a;}[_0x44611c(0x119)](_0xdc3019,_0x5f35b8){const _0x2711b7=_0x44611c,_0x405e87=_0x33899f(this[_0x2711b7(0x11e)])[_0x2711b7(0xc1)][_0x2711b7(0x14d)],_0x407317=this[_0x2711b7(0xc9)](_0xdc3019,_0x2711b7(0x111),_0x405e87,0x6),_0x5a6dca=this[_0x2711b7(0xc9)](_0x5f35b8,_0x2711b7(0xd2),_0x405e87,0x6),_0x30cd16=_0xdc3019[_0x2711b7(0xd9)](-_0x407317),_0x4a4cdc=_0x5f35b8[_0x2711b7(0xd9)](_0x5a6dca);return{'start':_0x30cd16,'end':_0x4a4cdc,'hasContentBefore':!_0x30cd16[_0x2711b7(0x151)],'hasContentAfter':!_0x4a4cdc[_0x2711b7(0x108)]};}[_0x44611c(0x10f)](_0x449a86){const _0x5dc19c=_0x44611c,_0x2d2a6c=this[_0x5dc19c(0x11e)][_0x5dc19c(0xab)][_0x5dc19c(0x161)](_0x5dc19c(0x126)),_0x1e76c3=new Set();_0x33899f(this[_0x5dc19c(0x11e)])[_0x5dc19c(0xc1)][_0x5dc19c(0xdb)](_0x3af5db=>{const _0x1f00fa=_0x5dc19c;for(const _0x3758fc of _0x449a86){const _0x1eec1d=''+Mt+_0x3758fc[_0x1f00fa(0x12a)]+':'+_0x3758fc[_0x1f00fa(0x138)]+'_'+_0x2d2a6c[_0x1f00fa(0xb3)](_0x1e76c3);this[_0x1f00fa(0xcf)][_0x1f00fa(0x146)](_0x1eec1d,{'id':_0x1eec1d,'groupId':_0x3758fc[_0x1f00fa(0x138)],'type':_0x3758fc[_0x1f00fa(0x12a)],'text':_0x3758fc[_0x1f00fa(0xe0)]}),_0x3af5db[_0x1f00fa(0x148)](_0x1eec1d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3af5db[_0x1f00fa(0x105)](_0x3758fc[_0x1f00fa(0xb5)],_0x3758fc[_0x1f00fa(0xf5)])});}});}[_0x44611c(0xb2)](_0x427193,_0x3e8614,_0x54092d){let _0x26965c='';return()=>{const _0x40018b=_0x4e62;if(!_0x26965c){const _0x52a759=_0x3e8614[_0x40018b(0x118)](_0x427193,{'showSuggestionHighlights':!0x0}),_0x90cc6c=_0x52a759[_0x40018b(0x102)](0x0);if(!_0x90cc6c)return'';let _0x1fbf6f=!0x1;const _0x4268cb=[];for(const _0x4495e6 of _0x90cc6c[_0x40018b(0x100)]())_0x4495e6['is'](_0x40018b(0xf7),_0x40018b(0xfe))&&_0x4495e6[_0x40018b(0xa9)](_0x40018b(0x121))&&(_0x1fbf6f=!0x1),_0x1fbf6f&&_0x4268cb[_0x40018b(0x9d)](_0x4495e6),_0x4495e6['is'](_0x40018b(0xf7),_0x40018b(0xfe))&&_0x4495e6[_0x40018b(0xa9)](_0x40018b(0xc4))&&(_0x1fbf6f=!0x0);_0x90cc6c[_0x40018b(0x13c)](0x0,_0x90cc6c[_0x40018b(0xce)]),_0x54092d?.[_0x40018b(0x123)]&&_0x90cc6c[_0x40018b(0x158)]('…'),_0x90cc6c[_0x40018b(0x158)](_0x4268cb),_0x54092d?.[_0x40018b(0x14b)]&&_0x90cc6c[_0x40018b(0x158)]('…');const _0x3e438a=_0x3e8614[_0x40018b(0x153)][_0x40018b(0x9f)][_0x40018b(0xe9)](_0x52a759),_0x36ebf4=_0x3e8614[_0x40018b(0x153)][_0x40018b(0xc8)][_0x40018b(0x130)](_0x3e438a);_0x26965c=_0x36ebf4;}return _0x26965c;};}[_0x44611c(0x12c)](_0x48fdfc,_0x5d67f5){const _0x2c744c=_0x44611c;let _0x58801e='';return()=>(_0x58801e||(_0x58801e=_0x5d67f5[_0x2c744c(0x152)](_0x48fdfc,{'showSuggestionHighlights':!0x0})),_0x58801e);}[_0x44611c(0xb1)](_0x47439e,_0x17383a,_0x3eb8e6){let _0x380093='';return()=>{const _0x4b2d96=_0x4e62;if(!_0x380093){const _0x5b75ad=_0x3eb8e6[_0x4b2d96(0x118)](new _0x3fd0c9(_0x47439e)),_0xfb414=_0x3eb8e6[_0x4b2d96(0x153)][_0x4b2d96(0x9f)][_0x4b2d96(0xe9)](_0x5b75ad)[_0x4b2d96(0x107)](_0x4b2d96(0xed)+_0x17383a+'\x22]');_0x380093=_0xfb414?.[_0x4b2d96(0xfa)]||'';}return _0x380093;};}[_0x44611c(0xe2)](_0x123a1e,_0x23d024=0x5){const _0x20cff3=_0x44611c;let _0x36e647=_0x123a1e,_0x4770df=null;for(let _0x43afd4=0x0;_0x43afd4<_0x23d024&&_0x36e647;_0x43afd4++){if(!_0x36e647[_0x20cff3(0x16c)]){_0x36e647=_0x36e647[_0x20cff3(0x16b)];continue;}if(!(''+_0x36e647[_0x20cff3(0x16c)])[_0x20cff3(0xc2)](_0x20cff3(0x150))){_0x36e647=_0x36e647[_0x20cff3(0x16b)];continue;}if(!_0x36e647[_0x20cff3(0x109)](_0x20cff3(0xc0)))break;_0x4770df=_0x36e647;break;}return _0x4770df;}[_0x44611c(0xeb)](_0xca6e82){const _0x5b3c19=_0x44611c;return Array[_0x5b3c19(0x133)](this[_0x5b3c19(0xcf)][_0x5b3c19(0x106)]())[_0x5b3c19(0x155)](_0x386af6=>_0x386af6[_0x5b3c19(0x138)]===_0xca6e82);}[_0x44611c(0x142)](_0x957ee1){const _0x459921=_0x44611c;return _0x459921(0x13a)===_0x957ee1[_0x459921(0x12a)]?_0x957ee1[_0x459921(0xf9)]:_0x957ee1[_0x459921(0xfd)][_0x459921(0xb5)];}[_0x44611c(0x144)](_0x5dd58d,_0x1edcdb=!0x1){const _0x18d8b0=_0x44611c;return _0x18d8b0(0x13a)===_0x5dd58d[_0x18d8b0(0x12a)]?_0x1edcdb?_0x5dd58d[_0x18d8b0(0xf9)]:_0x5dd58d[_0x18d8b0(0xf9)][_0x18d8b0(0xd9)](_0x5dd58d[_0x18d8b0(0x15f)]):_0x5dd58d[_0x18d8b0(0xfd)][_0x18d8b0(0xf5)];}[_0x44611c(0xde)](_0x3b55aa,_0x28dd88){const _0x463b53=_0x44611c;return _0x463b53(0x13a)===_0x3b55aa[_0x463b53(0x12a)]?_0x3b55aa[_0x463b53(0xf9)]=_0x3b55aa[_0x463b53(0xf9)][_0x463b53(0xd9)](_0x28dd88):_0x463b53(0xbb)===_0x3b55aa[_0x463b53(0x12a)]&&_0x3b55aa[_0x463b53(0xfd)]&&(_0x3b55aa[_0x463b53(0xfd)]=new _0x40354e(_0x3b55aa[_0x463b53(0xfd)][_0x463b53(0xb5)][_0x463b53(0xd9)](_0x28dd88),_0x3b55aa[_0x463b53(0xfd)][_0x463b53(0xf5)][_0x463b53(0xd9)](_0x28dd88))),_0x3b55aa;}[_0x44611c(0x165)](_0x1731ed,_0x54089b){const _0x419168=_0x44611c;_0x419168(0x13a)===_0x1731ed[_0x419168(0x12a)]?_0x1731ed[_0x419168(0xf9)]=this[_0x419168(0x167)](_0x1731ed[_0x419168(0xf9)],_0x54089b):_0x419168(0xbb)===_0x1731ed[_0x419168(0x12a)]&&_0x1731ed[_0x419168(0xfd)]&&(_0x1731ed[_0x419168(0xfd)]=this[_0x419168(0x11a)](_0x1731ed[_0x419168(0xfd)],_0x54089b));}[_0x44611c(0x167)](_0x5bc021,_0x39b7c9){const _0x42e676=_0x44611c;return new _0x1617d9(_0x39b7c9,_0x5bc021[_0x42e676(0x14c)]);}[_0x44611c(0x11a)](_0x116057,_0x1c9561){const _0x2410fc=_0x44611c;return new _0x40354e(this[_0x2410fc(0x167)](_0x116057[_0x2410fc(0xb5)],_0x1c9561),this[_0x2410fc(0x167)](_0x116057[_0x2410fc(0xf5)],_0x1c9561));}[_0x44611c(0xd3)](_0x12bd3b,_0x4ea62a,_0x593a88){return new _0x1617d9(_0x593a88,[..._0x4ea62a]);}[_0x44611c(0x160)](_0x730721,_0x117742,_0x5070ca,_0x2a1221){const _0x370d69=_0x44611c;return new _0x40354e(this[_0x370d69(0xd3)](_0x730721[_0x370d69(0xb5)],_0x117742,_0x2a1221),this[_0x370d69(0xd3)](_0x730721[_0x370d69(0xf5)],_0x5070ca,_0x2a1221));}[_0x44611c(0xcc)](_0x5212c2){const _0x50ca04=_0x44611c;let _0x4e49de=_0x5212c2;for(;_0x4e49de[_0x50ca04(0x156)]&&!_0x4e49de[_0x50ca04(0x156)]['is'](_0x50ca04(0x164));)_0x4e49de=_0x4e49de[_0x50ca04(0x156)];return _0x4e49de;}[_0x44611c(0x124)](_0x1624b0){const _0x28a333=_0x44611c,_0x560fa9=_0x307e8b=>{const _0x49da53=_0x4e62;switch(_0x307e8b){case _0x49da53(0x13a):return 0x1;case _0x49da53(0x145):return 0x2;case _0x49da53(0xd7):return 0x3;case _0x49da53(0xa0):return 0x4;}};return _0x1624b0[_0x28a333(0xf3)]((_0x275528,_0x133cac)=>_0x560fa9(_0x275528[_0x28a333(0x12a)])-_0x560fa9(_0x133cac[_0x28a333(0x12a)]));}}
|
|
23
|
+
const _0x124335=_0x4f1e;function _0x8b94(){const _0x1248bf=['_changePositionOwnerDocument','_insertMarkers','_getOperationStart','from','startsWith','toData','querySelector','exec','ck-ai_review-mode-marker_underline','getMarkerElementForChange','_shiftOperation','history','parse','getChild','_changeOperationOwnerDocument','includes','toView','batch','groupId','_translateOperationToEditorContent','switchToReadOnly','processor','marker','_changeRange','concat','markerToHighlight','suggestion:deletion:id:authorId:','8HkyqKc','_findAdjacentContextDistance','get','childCount','ck-ai_review-mode-marker_context-end','viewToDom','_getChangeContext','target','backward','editingDowncast','getDiff','clearAllMarkers','affectsData','createPositionAt','reviewmode-','getDocumentData','pluginName','name','1465080kzdRkk','toDomElement','insert','type','getAttribute','isDocumentOperation','sort','No\x20element\x20found\x20for\x20ID:\x20','flat','AIReviewModeEditing','ck-ai_review-mode-marker_context-','add','isTouching','editing','_appendChild','_removeChildren','_groupAdjacentOperations','document','split','switchToEdit','remove-only','[data-id=\x22','[data-marker-id=\x22','isOpening','documentFragment','8eRrIgg','caption','set','DocumentCompare','model','start','getRoots','_eventEmitter','addOperation','append','hasClass','downcast','isAtStart','_nextDataId','elements','_createGetContentFn','ck-ai_review-mode-marker_','_sortMarkers','_markers','operationsIsolated','delete','removeMarker','isOfficialPlugin','getShiftedBy','keys','ck-ai_review-mode-marker_add','isInline','markerToElement','_findMarkerElement','1140349RiAYMj','ellipsisAfter','position','disableReadOnlyMode','path','parent','ck-ai_review-mode-marker_strikethrough','ck-ai_review-mode-marker_hide','filter','conversion','offsetSize','applyChange','_getOperationEnd','createRange','536301PqSoZa','getDomRoot','addMarker','deleteContent','plugins','htmlWriter','span','_domEmitter','createText','context','every','domConverter','createRawElement','click','offset','createUIElement','clear','change','oldRange','getContentElement','_removeAttribute','ck-ai_review-mode-marker_context-start','getOperations','jumpTo','AIEditing','operationsA','changeMarkerClick','schema','_changePosition','getHtml','afterInit','_setAttribute','_createGetContextFn','length','values','_clone','733347GMcPzR','328505QNwCZn','$textProxy','end','outerHTML','isPremiumPlugin','insertContent','getRange','htmlProcessor','text','createSelection','hasContentBefore','30FMxxmH','isAtEnd','view','map','howMany','171103OIMIMk','fire','804276legiwR','index','clone','element','dataDowncast','_createGetContentUsingDataIdFn','warn','for','listenTo','baseVersion','version','suggestion:insertion:id:authorId:','ai-review-mode','getRoot','getChildren','$markedRemove','getPath','newRange','rejectChange','stringify','markerName','data-marker-id','_getMarkersDataForGroup','createPositionAfter','pop','emitter','nodes','className','createDocumentFragment','_changeRangeOwnerDocument','attributeToAttribute','diffContent','push','enableReadOnlyMode','applyOperation','markChangePositionInEditorContent','parentElement','remove-text','suggestion-context','forward','requires','model:$text','markers','$documentFragment','ellipsisBefore','hasAttribute','innerHTML','hasContentAfter','data','remove-context'];_0x8b94=function(){return _0x1248bf;};return _0x8b94();}function _0x4f1e(_0x587fe7,_0x4f8b15){const _0x8b9481=_0x8b94();return _0x4f1e=function(_0x4f1e9f,_0x1a1483){_0x4f1e9f=_0x4f1e9f-0x177;let _0x3e805a=_0x8b9481[_0x4f1e9f];return _0x3e805a;},_0x4f1e(_0x587fe7,_0x4f8b15);}(function(_0x28c1eb,_0x12ffdd){const _0xda1c9c=_0x4f1e,_0x59204e=_0x28c1eb();while(!![]){try{const _0x22a9cf=-parseInt(_0xda1c9c(0x180))/0x1+parseInt(_0xda1c9c(0x182))/0x2+parseInt(_0xda1c9c(0x225))/0x3+-parseInt(_0xda1c9c(0x1fa))/0x4*(-parseInt(_0xda1c9c(0x24a))/0x5)+-parseInt(_0xda1c9c(0x1e1))/0x6+parseInt(_0xda1c9c(0x217))/0x7*(parseInt(_0xda1c9c(0x1cf))/0x8)+-parseInt(_0xda1c9c(0x249))/0x9*(parseInt(_0xda1c9c(0x17b))/0xa);if(_0x22a9cf===_0x12ffdd)break;else _0x59204e['push'](_0x59204e['shift']());}catch(_0xfc9d18){_0x59204e['push'](_0x59204e['shift']());}}}(_0x8b94,0x349ba));import{InsertOperation as _0x1afefa,MarkerOperation as _0x2d4cd0,ModelDocumentFragment as _0x6c939f,ModelPosition as _0x577688,ModelRange as _0xe35ee,ModelTreeWalker as _0x1e0cc4,transformOperationSets as _0x114145}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x400f18,EmitterMixin as _0xefcb86}from'ckeditor5/src/utils.js';import{ContextPlugin as _0xa53635}from'ckeditor5/src/core.js';import{DocumentCompare as _0x408f63,DATA_ID_MODEL_ATTRIBUTE as _0xd0c32a,DATA_ID_VIEW_ATTRIBUTE as _0x4a917a}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0xc9b6c2}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xff0243}from'../aicore/aiediting.js';const ae=_0x124335(0x1dd);export class AIReviewModeEditing extends _0xa53635{static get[_0x124335(0x1df)](){const _0x1a7149=_0x124335;return _0x1a7149(0x1ea);}static get[_0x124335(0x1aa)](){return[_0x408f63,_0xff0243];}static get[_0x124335(0x210)](){return!0x0;}static get[_0x124335(0x24e)](){return!0x0;}[_0x124335(0x20c)]=new Map();[_0x124335(0x22c)];[_0x124335(0x201)];constructor(_0x43e01e){const _0x1b05f5=_0x124335;super(_0x43e01e),this[_0x1b05f5(0x22c)]=new(_0x400f18())(),this[_0x1b05f5(0x201)]=new(_0xefcb86())();}get[_0x124335(0x19b)](){const _0x246c34=_0x124335;return this[_0x246c34(0x201)];}[_0x124335(0x243)](){const _0xdf8a12=_0x124335,_0x214e00=_0xc9b6c2(this[_0xdf8a12(0x22e)]);_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x1d8))[_0xdf8a12(0x215)]({'model':ae+_0xdf8a12(0x1e3),'view':(_0xe9ac3f,{writer:_0x153cbb})=>{const _0x36d6a6=_0xdf8a12,_0x30dc70=this[_0x36d6a6(0x20c)][_0x36d6a6(0x1d1)](_0xe9ac3f[_0x36d6a6(0x196)]),_0x1df319={'class':_0x36d6a6(0x213),'data-marker-id':_0xe9ac3f[_0x36d6a6(0x196)]};return _0x153cbb[_0x36d6a6(0x234)](_0x36d6a6(0x22b),_0x1df319,function(_0x37740b){const _0x5428e3=_0x36d6a6,_0xd6f129=this[_0x5428e3(0x1e2)](_0x37740b);return _0xd6f129[_0x5428e3(0x1b0)]=_0x30dc70?.[_0x5428e3(0x178)]||'',_0xd6f129;});}}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x1d8))[_0xdf8a12(0x1cd)]({'model':ae+_0xdf8a12(0x1f5),'view':_0x4b45ff=>({'classes':_0xdf8a12(0x21d),'attributes':{'data-marker-id':_0x4b45ff[_0xdf8a12(0x196)]}})}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x1d8))[_0xdf8a12(0x1cd)]({'model':ae+_0xdf8a12(0x1b3),'view':_0x1f4a28=>({'classes':_0xdf8a12(0x1bc),'attributes':{'data-marker-id':_0x1f4a28[_0xdf8a12(0x196)]}})}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x1d8))[_0xdf8a12(0x1cd)]({'model':ae+_0xdf8a12(0x1a7),'view':_0x5e521b=>({'classes':_0xdf8a12(0x21e),'attributes':{'data-marker-id':_0x5e521b[_0xdf8a12(0x196)]}})}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x186))[_0xdf8a12(0x215)]({'model':ae+_0xdf8a12(0x1a8),'view':(_0x5675b7,{writer:_0x12eea2})=>_0x12eea2[_0xdf8a12(0x231)](_0xdf8a12(0x22b),{'class':_0xdf8a12(0x1eb)+(_0x5675b7[_0xdf8a12(0x1f8)]?_0xdf8a12(0x1ff):_0xdf8a12(0x24c))})}),_0x214e00[_0xdf8a12(0x220)][_0xdf8a12(0x189)](_0xdf8a12(0x205))[_0xdf8a12(0x1a0)]({'model':_0xd0c32a,'view':_0x4a917a}),this[_0xdf8a12(0x22c)][_0xdf8a12(0x18a)](document,_0xdf8a12(0x232),(_0x348000,_0xa38e0d)=>{const _0x4a8081=_0xdf8a12,_0x126448=_0xa38e0d[_0x4a8081(0x1d6)],_0x405d97=this[_0x4a8081(0x216)](_0x126448);if(!_0x405d97)return;const _0x5211c7=_0x405d97[_0x4a8081(0x1e5)](_0x4a8081(0x197)),_0x23d4f3=_0x5211c7[_0x4a8081(0x1f3)](':')[_0x4a8081(0x19a)]()?.[_0x4a8081(0x1f3)]('_')[0x0];this[_0x4a8081(0x201)][_0x4a8081(0x181)](_0x4a8081(0x23f),{'markerId':_0x5211c7,'changeId':_0x23d4f3});});}[_0x124335(0x1de)](){const _0xc0c4af=_0x124335,_0x24a5e2=this[_0xc0c4af(0x22e)][_0xc0c4af(0x229)][_0xc0c4af(0x1d1)](_0xc0c4af(0x23d)),_0x464d9d=_0xc9b6c2(this[_0xc0c4af(0x22e)]),_0x577e6a=_0x464d9d[_0xc0c4af(0x1fe)],_0x46c96d=new _0x6c939f();for(const _0x3937ab of _0x577e6a[_0xc0c4af(0x1f2)][_0xc0c4af(0x18f)]()[_0xc0c4af(0x190)]()){const _0x339f00=_0x3937ab[_0xc0c4af(0x248)](!0x0);_0x46c96d[_0xc0c4af(0x1ef)](_0x339f00);}for(const _0x40076b of _0x577e6a[_0xc0c4af(0x1ac)])_0x46c96d[_0xc0c4af(0x1ac)][_0xc0c4af(0x1fc)](_0x40076b[_0xc0c4af(0x1e0)],this[_0xc0c4af(0x19f)](_0x40076b[_0xc0c4af(0x250)]()[_0xc0c4af(0x184)](),_0x46c96d));const _0x1b3632=new _0x1e0cc4({'ignoreElementEnd':!0x0,'startPosition':_0x577e6a[_0xc0c4af(0x1dc)](_0x46c96d,0x0)}),_0x24c467=new Set(),_0xf07ba0=new Map();for(const {item:_0x104744}of _0x1b3632){if(!_0x104744['is'](_0xc0c4af(0x24b)))continue;const _0x37b753=_0x104744[_0xc0c4af(0x21c)];if((!_0x37b753||!_0x37b753['is'](_0xc0c4af(0x185),_0xc0c4af(0x1fb)))&&(_0x37b753&&_0x37b753['is'](_0xc0c4af(0x185)))){let _0x3b6119=_0x37b753[_0xc0c4af(0x1e5)](_0xd0c32a);_0x3b6119||(_0x3b6119=_0x24a5e2[_0xc0c4af(0x207)](_0x24c467),_0x37b753[_0xc0c4af(0x244)](_0xd0c32a,_0x3b6119)),_0x24c467[_0xc0c4af(0x1ec)](_0x3b6119);let _0x343154=_0x37b753;for(;_0x343154[_0xc0c4af(0x21c)]&&!_0x343154[_0xc0c4af(0x21c)]['is'](_0xc0c4af(0x1f9));)_0x343154=_0x343154[_0xc0c4af(0x21c)],_0x343154[_0xc0c4af(0x1af)](_0xd0c32a)&&_0x343154[_0xc0c4af(0x239)](_0xd0c32a);_0xf07ba0[_0xc0c4af(0x1fc)](_0x3b6119,{'path':_0x37b753[_0xc0c4af(0x192)](),'getContent':this[_0xc0c4af(0x187)](_0x343154[_0xc0c4af(0x248)](!0x0),_0x3b6119,_0x464d9d[_0xc0c4af(0x1b2)])}),_0x1b3632[_0xc0c4af(0x23c)](_0x577e6a[_0xc0c4af(0x199)](_0x37b753));}}return{'content':_0x464d9d[_0xc0c4af(0x1b2)][_0xc0c4af(0x1c9)][_0xc0c4af(0x1b9)](_0x464d9d[_0xc0c4af(0x1b2)][_0xc0c4af(0x1c4)](_0x46c96d)),'version':_0x464d9d[_0xc0c4af(0x1fe)][_0xc0c4af(0x1f2)][_0xc0c4af(0x18c)],'elements':_0xf07ba0};}[_0x124335(0x1a1)](_0x3ef8d0,_0x30c1b5){const _0x94b014=_0x124335,_0x3e8cda=_0xc9b6c2(this[_0x94b014(0x22e)]),_0x3e27e5=_0x3e8cda[_0x94b014(0x1b2)][_0x94b014(0x1c0)](_0x3ef8d0,_0x94b014(0x1ad)),_0x3d48af=_0x3e8cda[_0x94b014(0x1fe)][_0x94b014(0x1dc)](_0x3e27e5,0x0),_0x1973d6=this[_0x94b014(0x22e)][_0x94b014(0x229)][_0x94b014(0x1d1)](_0x94b014(0x1fd))[_0x94b014(0x1d9)](_0x3ef8d0,_0x30c1b5,{'anchor':_0x3d48af,'markDeletions':!0x0})[_0x94b014(0x23b)]()[_0x94b014(0x21f)](_0x3641ae=>_0x94b014(0x1e3)===_0x3641ae[_0x94b014(0x1e4)]||_0x94b014(0x1ca)===_0x3641ae[_0x94b014(0x1e4)]&&_0x3641ae[_0x94b014(0x1e0)][_0x94b014(0x1b8)](_0x94b014(0x191))),_0xdcb9d2=this[_0x94b014(0x1f1)](_0x1973d6),_0x2fba97=[];let _0x4ced1c=0x0;return _0x3e8cda[_0x94b014(0x1fe)][_0x94b014(0x236)](_0x438dc4=>{const _0x1f0d1a=_0x94b014;for(let _0x815b13=0x0;_0x815b13<_0xdcb9d2[_0x1f0d1a(0x246)];_0x815b13++){const _0x1ef74f=_0xdcb9d2[_0x815b13],_0x595557=_0x438dc4[_0x1f0d1a(0x19e)]();for(const _0x19f382 of _0x3e27e5[_0x1f0d1a(0x190)]())_0x438dc4[_0x1f0d1a(0x203)](_0x19f382[_0x1f0d1a(0x248)](!0x0),_0x595557);for(const _0x33c5ad of _0x1ef74f[_0x1f0d1a(0x20d)])if(_0x1f0d1a(0x1e3)===_0x33c5ad[_0x1f0d1a(0x1e4)]){const _0x42001f=_0x33c5ad;_0x42001f[_0x1f0d1a(0x18b)]=null,_0x42001f[_0x1f0d1a(0x1e6)]=!0x1,this[_0x1f0d1a(0x1c2)](_0x42001f,_0x595557),_0x438dc4[_0x1f0d1a(0x1c5)][_0x1f0d1a(0x202)](_0x33c5ad),_0x3e8cda[_0x1f0d1a(0x1fe)][_0x1f0d1a(0x1a4)](_0x33c5ad);const _0x13dbd3=_0x1f0d1a(0x18d)+_0x4ced1c++,_0xaeb5c8=_0x3e8cda[_0x1f0d1a(0x1fe)][_0x1f0d1a(0x224)](_0x42001f[_0x1f0d1a(0x219)],_0x42001f[_0x1f0d1a(0x219)][_0x1f0d1a(0x211)](_0x42001f[_0x1f0d1a(0x17f)]));_0x595557[_0x1f0d1a(0x1ac)][_0x1f0d1a(0x1fc)](_0x13dbd3,_0xaeb5c8);}else{if(_0x1f0d1a(0x1ca)===_0x33c5ad[_0x1f0d1a(0x1e4)]&&_0x33c5ad[_0x1f0d1a(0x1e0)][_0x1f0d1a(0x1b8)](_0x1f0d1a(0x191))){const _0x5c121d=_0x33c5ad,_0x7b1ea=_0x1f0d1a(0x1ce)+_0x4ced1c++;this[_0x1f0d1a(0x1c2)](_0x5c121d,_0x595557),_0x595557[_0x1f0d1a(0x1ac)][_0x1f0d1a(0x1fc)](_0x7b1ea,_0x5c121d[_0x1f0d1a(0x193)]);}}const _0xf30646=this[_0x1f0d1a(0x1d5)](this[_0x1f0d1a(0x1b4)](this[_0x1f0d1a(0x1b6)](_0x1ef74f[_0x1f0d1a(0x20d)][0x0]),_0x595557),this[_0x1f0d1a(0x1b4)](this[_0x1f0d1a(0x223)](_0x1ef74f[_0x1f0d1a(0x20d)][_0x1ef74f[_0x1f0d1a(0x20d)][_0x1f0d1a(0x246)]-0x1]),_0x595557));_0x595557[_0x1f0d1a(0x1ac)][_0x1f0d1a(0x1fc)](ae+_0x1f0d1a(0x1a8),new _0xe35ee(_0xf30646[_0x1f0d1a(0x1ff)],_0xf30646[_0x1f0d1a(0x24c)])),_0x2fba97[_0x1f0d1a(0x1a2)]({..._0x1ef74f,'context':this[_0x1f0d1a(0x245)](_0x595557,_0x3e8cda[_0x1f0d1a(0x1b2)],{'ellipsisBefore':_0xf30646[_0x1f0d1a(0x17a)],'ellipsisAfter':_0xf30646[_0x1f0d1a(0x1b1)]}),'content':this[_0x1f0d1a(0x209)](_0x595557,_0x3e8cda[_0x1f0d1a(0x1b2)])});}}),_0x2fba97;}[_0x124335(0x1a5)](_0x5df51d,_0x2e84c2){const _0x4cb428=_0x124335,_0xab12bd=_0x5df51d[0x0][_0x4cb428(0x21c)]['id'],_0x415488=_0x2e84c2[_0x4cb428(0x208)][_0x4cb428(0x1d1)](_0xab12bd);if(!_0x415488)return void console[_0x4cb428(0x188)](_0x4cb428(0x1e8)+_0xab12bd);const _0x5529dd=_0x415488[_0x4cb428(0x21b)],_0x5f1206=_0xc9b6c2(this[_0x4cb428(0x22e)]),_0x30844f=_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x1f2)][_0x4cb428(0x1bf)][_0x4cb428(0x23b)](_0x2e84c2[_0x4cb428(0x18c)]),_0x584918=[];for(const _0x341183 of _0x5df51d){const _0x338b93=_0x341183[_0x4cb428(0x20d)][_0x4cb428(0x17e)](_0x2cb94e=>this[_0x4cb428(0x1c7)](_0x2cb94e,_0x5529dd,_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x1f2)][_0x4cb428(0x200)]()[0x0]));if(!_0x338b93||!_0x338b93[_0x4cb428(0x246)])continue;const _0x29fd6c=_0x338b93[_0x4cb428(0x22f)](_0x2cdeaf=>_0x4cb428(0x1ca)===_0x2cdeaf[_0x4cb428(0x1e4)]&&_0x2cdeaf[_0x4cb428(0x1e0)][_0x4cb428(0x1b8)](_0x4cb428(0x191))),_0x5a55d0={'document':_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x1f2)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2c3963=_0x114145(_0x338b93,_0x30844f,_0x5a55d0)[_0x4cb428(0x23e)];for(const _0x2c8aef of _0x2c3963)if(_0x4cb428(0x1e3)===_0x2c8aef[_0x4cb428(0x1e4)]){const _0x1d65e5=_0x2c8aef,_0x533f90=_0x1d65e5[_0x4cb428(0x19c)];let _0x1d2918='';for(const _0x327d72 of _0x533f90)_0x327d72&&_0x327d72['is'](_0x4cb428(0x1ab))&&(_0x1d2918+=_0x327d72[_0x4cb428(0x1b2)]);_0x584918[_0x4cb428(0x1a2)]({'start':_0x1d65e5[_0x4cb428(0x219)],'end':_0x1d65e5[_0x4cb428(0x219)],'type':_0x4cb428(0x1e3),'groupId':_0x341183['id'],'text':_0x1d2918});}else{if(_0x4cb428(0x1ca)===_0x2c8aef[_0x4cb428(0x1e4)]&&_0x2c8aef[_0x4cb428(0x1e0)][_0x4cb428(0x1b8)](_0x4cb428(0x191))){const _0x1dcb87=_0x2c8aef;let _0x71ef43=_0x4cb428(0x1a7);if(_0x29fd6c){const _0x16e113=this[_0x4cb428(0x1d0)](_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x1ff)],_0x4cb428(0x1d7),_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x240)]),_0x27dcff=this[_0x4cb428(0x1d0)](_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x24c)],_0x4cb428(0x1a9),_0x5f1206[_0x4cb428(0x1fe)][_0x4cb428(0x240)]);if(_0x16e113||_0x27dcff){const _0x3b09bc=_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x1ff)][_0x4cb428(0x211)](-_0x16e113),_0x120287=_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x24c)][_0x4cb428(0x211)](_0x27dcff);_0x584918[_0x4cb428(0x1a2)]({'start':_0x3b09bc,'end':_0x120287,'groupId':_0x341183['id'],'type':_0x4cb428(0x1b3)});}else _0x71ef43=_0x4cb428(0x1f5);}_0x584918[_0x4cb428(0x1a2)]({'start':_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x1ff)],'end':_0x1dcb87[_0x4cb428(0x193)][_0x4cb428(0x24c)],'groupId':_0x341183['id'],'type':_0x71ef43});}}}this[_0x4cb428(0x1b5)](_0x584918);}[_0x124335(0x1da)](){const _0x3b4fa8=_0x124335;_0xc9b6c2(this[_0x3b4fa8(0x22e)])[_0x3b4fa8(0x1fe)][_0x3b4fa8(0x236)](_0x2e60df=>{const _0x198cb7=_0x3b4fa8;for(const _0x206532 of this[_0x198cb7(0x20c)][_0x198cb7(0x212)]())_0x2e60df[_0x198cb7(0x20f)](_0x206532);}),this[_0x3b4fa8(0x20c)][_0x3b4fa8(0x235)]();}[_0x124335(0x1c8)](){const _0x47a2c1=_0x124335;_0xc9b6c2(this[_0x47a2c1(0x22e)])[_0x47a2c1(0x1a3)](_0x47a2c1(0x18e));}[_0x124335(0x1f4)](){const _0x180686=_0x124335;_0xc9b6c2(this[_0x180686(0x22e)])[_0x180686(0x21a)](_0x180686(0x18e));}[_0x124335(0x222)](_0x1bebaf){const _0x287a65=_0x124335,_0x450931=_0xc9b6c2(this[_0x287a65(0x22e)]),_0x5bbdc9=_0x450931[_0x287a65(0x1fe)],_0x1681bf=_0x1bebaf[_0x287a65(0x17e)](_0x5f589e=>this[_0x287a65(0x198)](_0x5f589e))[_0x287a65(0x1e9)]();_0x5bbdc9[_0x287a65(0x236)](_0x1217b1=>{const _0x567a48=_0x287a65;for(const _0x4849d8 of _0x1681bf){const _0x4341fb=_0x450931[_0x567a48(0x1fe)][_0x567a48(0x1ac)][_0x567a48(0x1d1)](_0x4849d8['id']);_0x4341fb&&(_0x567a48(0x1e3)===_0x4849d8[_0x567a48(0x1e4)]?_0x5bbdc9[_0x567a48(0x24f)](_0x1217b1[_0x567a48(0x22d)](_0x4849d8[_0x567a48(0x178)]||''),_0x4341fb[_0x567a48(0x250)]()[_0x567a48(0x1ff)]):_0x567a48(0x1a7)!==_0x4849d8[_0x567a48(0x1e4)]&&_0x567a48(0x1f5)!==_0x4849d8[_0x567a48(0x1e4)]||_0x5bbdc9[_0x567a48(0x228)](_0x5bbdc9[_0x567a48(0x179)](_0x4341fb[_0x567a48(0x250)]())),_0x1217b1[_0x567a48(0x20f)](_0x4849d8['id']),this[_0x567a48(0x20c)][_0x567a48(0x20e)](_0x4849d8['id']));}});}[_0x124335(0x194)](_0x2780f0){const _0x5cc9c5=_0x124335,_0x36e292=_0xc9b6c2(this[_0x5cc9c5(0x22e)]),_0x580647=this[_0x5cc9c5(0x198)](_0x2780f0);_0x36e292[_0x5cc9c5(0x1fe)][_0x5cc9c5(0x236)](_0x1b60b2=>{const _0x5520b3=_0x5cc9c5;for(const _0x58b914 of _0x580647)_0x1b60b2[_0x5520b3(0x20f)](_0x58b914['id']),this[_0x5520b3(0x20c)][_0x5520b3(0x20e)](_0x58b914['id']);});}[_0x124335(0x238)](){const _0x3c0c22=_0x124335,_0x2b28b1=_0xc9b6c2(this[_0x3c0c22(0x22e)]);return _0x2b28b1&&_0x2b28b1['ui']&&_0x2b28b1['ui'][_0x3c0c22(0x185)]?_0x2b28b1['ui'][_0x3c0c22(0x185)]:null;}[_0x124335(0x1bd)](_0x3988bd){const _0x4c5bb5=_0x124335,_0x4cae6d=Array[_0x4c5bb5(0x1b7)](this[_0x4c5bb5(0x20c)][_0x4c5bb5(0x247)]())[_0x4c5bb5(0x21f)](_0x16cb97=>_0x16cb97[_0x4c5bb5(0x1c6)]===_0x3988bd);if(!_0x4cae6d[_0x4c5bb5(0x246)])return null;const _0x380dee=0x1===_0x4cae6d[_0x4c5bb5(0x246)]?_0x4cae6d[0x0]:this[_0x4c5bb5(0x20b)](_0x4cae6d)[0x0],_0x34523b=_0xc9b6c2(this[_0x4c5bb5(0x22e)]),_0x3d1ab7=_0x34523b[_0x4c5bb5(0x1fe)][_0x4c5bb5(0x1ac)][_0x4c5bb5(0x1d1)](_0x380dee['id']);if(!_0x3d1ab7)return null;const _0x8de342=_0x3d1ab7[_0x4c5bb5(0x250)](),_0x326735=_0x34523b[_0x4c5bb5(0x1ee)][_0x4c5bb5(0x17d)][_0x4c5bb5(0x226)]();if(!_0x326735||!_0x8de342)return null;const _0x5402f1=_0x326735[_0x4c5bb5(0x1ba)](_0x4c5bb5(0x1f7)+_0x380dee['id']+'\x22]');return _0x5402f1?{'modelRange':_0x8de342,'domElement':_0x5402f1}:null;}[_0x124335(0x1c7)](_0x34eba3,_0x2c43b9,_0x26c410){const _0x47d1cd=_0x124335;if(_0x47d1cd(0x1e3)===_0x34eba3[_0x47d1cd(0x1e4)]){const _0x439ef9=_0x34eba3;return new _0x1afefa(this[_0x47d1cd(0x241)](_0x439ef9[_0x47d1cd(0x219)],_0x2c43b9[_0x47d1cd(0x1cc)](_0x439ef9[_0x47d1cd(0x219)][_0x47d1cd(0x233)]),_0x26c410),_0x439ef9[_0x47d1cd(0x19c)],_0x439ef9[_0x47d1cd(0x18b)]);}if(_0x47d1cd(0x1ca)===_0x34eba3[_0x47d1cd(0x1e4)]&&_0x34eba3[_0x47d1cd(0x1e0)][_0x47d1cd(0x1b8)](_0x47d1cd(0x191))){const _0x31b4a4=_0x34eba3;return new _0x2d4cd0(_0x31b4a4[_0x47d1cd(0x1e0)],_0x31b4a4[_0x47d1cd(0x237)],this[_0x47d1cd(0x1cb)](_0x31b4a4[_0x47d1cd(0x193)],_0x2c43b9[_0x47d1cd(0x1cc)](_0x31b4a4[_0x47d1cd(0x193)][_0x47d1cd(0x1ff)][_0x47d1cd(0x233)]),_0x2c43b9[_0x47d1cd(0x1cc)](_0x31b4a4[_0x47d1cd(0x193)][_0x47d1cd(0x24c)][_0x47d1cd(0x233)]),_0x26c410),_0x31b4a4[_0x47d1cd(0x20c)],_0x31b4a4[_0x47d1cd(0x1db)],_0x31b4a4[_0x47d1cd(0x18b)]);}return _0x34eba3;}[_0x124335(0x1f1)](_0x4ed5b3){const _0x43c6d2=_0x124335;if(!_0x4ed5b3[_0x43c6d2(0x246)])return[];const _0xc6fa21=[];let _0x425181=0x0,_0x45d32b=0x0,_0x4eda4d=[];for(let _0x453f12=0x0;_0x453f12<=_0x4ed5b3[_0x43c6d2(0x246)];_0x453f12++){const _0x551c33=_0x4ed5b3[_0x453f12],_0x4298f9=_0x4ed5b3[_0x453f12-0x1];!_0x551c33||_0x4298f9&&!this[_0x43c6d2(0x223)](_0x4298f9)[_0x43c6d2(0x1ed)](this[_0x43c6d2(0x1b6)](_0x551c33))?(_0xc6fa21[_0x43c6d2(0x1a2)]({'operations':_0x4eda4d,'operationsIsolated':_0x4eda4d[_0x43c6d2(0x17e)](_0x15304b=>this[_0x43c6d2(0x1be)](_0x15304b[_0x43c6d2(0x184)](),-_0x45d32b)),'groupOffset':_0x425181}),_0x4eda4d=_0x551c33?[_0x551c33]:[],_0x45d32b+=_0x425181,_0x425181=0x0):_0x4eda4d[_0x43c6d2(0x1a2)](_0x551c33),_0x551c33&&_0x43c6d2(0x1e3)===_0x551c33[_0x43c6d2(0x1e4)]&&(_0x425181+=_0x551c33[_0x43c6d2(0x17f)]);}return _0xc6fa21;}[_0x124335(0x1d0)](_0x3d22e3,_0x551f39,_0x33f88d,_0x149751=0x1){const _0x6e89c5=_0x124335,_0x354f33=new _0x1e0cc4({'startPosition':_0x3d22e3,'direction':_0x551f39});let _0x3c6612=0x0;for(let _0x2de72d=0x0;_0x2de72d<_0x149751;_0x2de72d++){let _0x4450ad=0x0,_0x35246d=!0x1,_0x3b8258=_0x6e89c5(0x1a9)===_0x551f39?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4f0c44}of _0x354f33)if(_0x4f0c44['is'](_0x6e89c5(0x24b))){const _0x94bab=_0x3b8258[_0x6e89c5(0x1bb)](_0x4f0c44[_0x6e89c5(0x1b2)]);if(_0x94bab&&_0x94bab[_0x6e89c5(0x246)]){if(_0x4450ad+=_0x6e89c5(0x1a9)===_0x551f39?_0x94bab[_0x6e89c5(0x183)]+_0x94bab[0x0][_0x6e89c5(0x246)]:_0x4f0c44[_0x6e89c5(0x1b2)][_0x6e89c5(0x246)]-_0x94bab[_0x6e89c5(0x183)],_0x94bab[0x0][_0x6e89c5(0x246)]!==_0x4f0c44[_0x6e89c5(0x1b2)][_0x6e89c5(0x246)])break;_0x35246d=!0x0,_0x3b8258=_0x6e89c5(0x1a9)===_0x551f39?/^\w+/:/\w+$/;}else{if(_0x35246d)break;_0x4450ad+=_0x4f0c44[_0x6e89c5(0x221)];}}else{if(_0x4f0c44['is'](_0x6e89c5(0x185))){_0x33f88d[_0x6e89c5(0x214)](_0x4f0c44)&&!_0x35246d&&(_0x4450ad+=0x1);break;}}_0x3c6612+=_0x4450ad,_0x354f33[_0x6e89c5(0x23c)](_0x3d22e3[_0x6e89c5(0x211)](_0x6e89c5(0x1a9)===_0x551f39?_0x3c6612:-_0x3c6612));}return _0x3c6612;}[_0x124335(0x1d5)](_0x43320f,_0x8e016){const _0x120073=_0x124335,_0x233ae9=_0xc9b6c2(this[_0x120073(0x22e)])[_0x120073(0x1fe)][_0x120073(0x240)],_0x1b3e09=this[_0x120073(0x1d0)](_0x43320f,_0x120073(0x1d7),_0x233ae9,0x6),_0x1a8e02=this[_0x120073(0x1d0)](_0x8e016,_0x120073(0x1a9),_0x233ae9,0x6),_0x39ae89=_0x43320f[_0x120073(0x211)](-_0x1b3e09),_0x51fc6e=_0x8e016[_0x120073(0x211)](_0x1a8e02);return{'start':_0x39ae89,'end':_0x51fc6e,'hasContentBefore':!_0x39ae89[_0x120073(0x206)],'hasContentAfter':!_0x51fc6e[_0x120073(0x17c)]};}[_0x124335(0x1b5)](_0x595881){const _0x38d4c7=_0x124335,_0x49848f=this[_0x38d4c7(0x22e)][_0x38d4c7(0x229)][_0x38d4c7(0x1d1)](_0x38d4c7(0x23d)),_0x103477=new Set();_0xc9b6c2(this[_0x38d4c7(0x22e)])[_0x38d4c7(0x1fe)][_0x38d4c7(0x236)](_0x4b6da2=>{const _0x205e87=_0x38d4c7;for(const _0x5590d1 of _0x595881){const _0x409ba5=''+ae+_0x5590d1[_0x205e87(0x1e4)]+':'+_0x5590d1[_0x205e87(0x1c6)]+'_'+_0x49848f[_0x205e87(0x207)](_0x103477);this[_0x205e87(0x20c)][_0x205e87(0x1fc)](_0x409ba5,{'id':_0x409ba5,'groupId':_0x5590d1[_0x205e87(0x1c6)],'type':_0x5590d1[_0x205e87(0x1e4)],'text':_0x5590d1[_0x205e87(0x178)]}),_0x4b6da2[_0x205e87(0x227)](_0x409ba5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b6da2[_0x205e87(0x224)](_0x5590d1[_0x205e87(0x1ff)],_0x5590d1[_0x205e87(0x24c)])});}});}[_0x124335(0x245)](_0x1bb1ae,_0x41e059,_0x4bd560){let _0x43526d='';return()=>{const _0x1b6100=_0x4f1e;if(!_0x43526d){const _0x6d4c4f=_0x41e059[_0x1b6100(0x1c4)](_0x1bb1ae,{'showSuggestionHighlights':!0x0}),_0x3b6dfe=_0x6d4c4f[_0x1b6100(0x1c1)](0x0);if(!_0x3b6dfe)return'';let _0x5c64e2=!0x1;const _0x4410e4=[];for(const _0x189b4d of _0x3b6dfe[_0x1b6100(0x190)]())_0x189b4d['is'](_0x1b6100(0x185),_0x1b6100(0x22b))&&_0x189b4d[_0x1b6100(0x204)](_0x1b6100(0x1d3))&&(_0x5c64e2=!0x1),_0x5c64e2&&_0x4410e4[_0x1b6100(0x1a2)](_0x189b4d),_0x189b4d['is'](_0x1b6100(0x185),_0x1b6100(0x22b))&&_0x189b4d[_0x1b6100(0x204)](_0x1b6100(0x23a))&&(_0x5c64e2=!0x0);_0x3b6dfe[_0x1b6100(0x1f0)](0x0,_0x3b6dfe[_0x1b6100(0x1d2)]),_0x4bd560?.[_0x1b6100(0x1ae)]&&_0x3b6dfe[_0x1b6100(0x1ef)]('…'),_0x3b6dfe[_0x1b6100(0x1ef)](_0x4410e4),_0x4bd560?.[_0x1b6100(0x218)]&&_0x3b6dfe[_0x1b6100(0x1ef)]('…');const _0x543bc2=_0x41e059[_0x1b6100(0x177)][_0x1b6100(0x230)][_0x1b6100(0x1d4)](_0x6d4c4f),_0x4fe085=_0x41e059[_0x1b6100(0x177)][_0x1b6100(0x22a)][_0x1b6100(0x242)](_0x543bc2);_0x43526d=_0x4fe085;}return _0x43526d;};}[_0x124335(0x209)](_0x3ad689,_0xbbad1){const _0x332529=_0x124335;let _0x7b821a='';return()=>(_0x7b821a||(_0x7b821a=_0xbbad1[_0x332529(0x195)](_0x3ad689,{'showSuggestionHighlights':!0x0})),_0x7b821a);}[_0x124335(0x187)](_0x4b41ed,_0x5e161a,_0x240162){let _0x526505='';return()=>{const _0x144c83=_0x4f1e;if(!_0x526505){const _0x28cfe1=_0x240162[_0x144c83(0x1c4)](new _0x6c939f(_0x4b41ed)),_0x378b66=_0x240162[_0x144c83(0x177)][_0x144c83(0x230)][_0x144c83(0x1d4)](_0x28cfe1)[_0x144c83(0x1ba)](_0x144c83(0x1f6)+_0x5e161a+'\x22]');_0x526505=_0x378b66?.[_0x144c83(0x24d)]||'';}return _0x526505;};}[_0x124335(0x216)](_0x348245,_0x743efd=0x5){const _0x177be6=_0x124335;let _0x55c0c2=_0x348245,_0x4b52b9=null;for(let _0x144c96=0x0;_0x144c96<_0x743efd&&_0x55c0c2;_0x144c96++){if(!_0x55c0c2[_0x177be6(0x19d)]){_0x55c0c2=_0x55c0c2[_0x177be6(0x1a6)];continue;}if(!(''+_0x55c0c2[_0x177be6(0x19d)])[_0x177be6(0x1c3)](_0x177be6(0x20a))){_0x55c0c2=_0x55c0c2[_0x177be6(0x1a6)];continue;}if(!_0x55c0c2[_0x177be6(0x1e5)](_0x177be6(0x197)))break;_0x4b52b9=_0x55c0c2;break;}return _0x4b52b9;}[_0x124335(0x198)](_0x5e5c9b){const _0x66a234=_0x124335;return Array[_0x66a234(0x1b7)](this[_0x66a234(0x20c)][_0x66a234(0x247)]())[_0x66a234(0x21f)](_0x5e5d30=>_0x5e5d30[_0x66a234(0x1c6)]===_0x5e5c9b);}[_0x124335(0x1b6)](_0x5d680d){const _0x505aa9=_0x124335;return _0x505aa9(0x1e3)===_0x5d680d[_0x505aa9(0x1e4)]?_0x5d680d[_0x505aa9(0x219)]:_0x5d680d[_0x505aa9(0x193)][_0x505aa9(0x1ff)];}[_0x124335(0x223)](_0x5a5b1c,_0x113509=!0x1){const _0x2b7291=_0x124335;return _0x2b7291(0x1e3)===_0x5a5b1c[_0x2b7291(0x1e4)]?_0x113509?_0x5a5b1c[_0x2b7291(0x219)]:_0x5a5b1c[_0x2b7291(0x219)][_0x2b7291(0x211)](_0x5a5b1c[_0x2b7291(0x17f)]):_0x5a5b1c[_0x2b7291(0x193)][_0x2b7291(0x24c)];}[_0x124335(0x1be)](_0x50d828,_0x182af0){const _0x2634bc=_0x124335;return _0x2634bc(0x1e3)===_0x50d828[_0x2634bc(0x1e4)]?_0x50d828[_0x2634bc(0x219)]=_0x50d828[_0x2634bc(0x219)][_0x2634bc(0x211)](_0x182af0):_0x2634bc(0x1ca)===_0x50d828[_0x2634bc(0x1e4)]&&_0x50d828[_0x2634bc(0x193)]&&(_0x50d828[_0x2634bc(0x193)]=new _0xe35ee(_0x50d828[_0x2634bc(0x193)][_0x2634bc(0x1ff)][_0x2634bc(0x211)](_0x182af0),_0x50d828[_0x2634bc(0x193)][_0x2634bc(0x24c)][_0x2634bc(0x211)](_0x182af0))),_0x50d828;}[_0x124335(0x1c2)](_0x252dc5,_0x275447){const _0x3afc36=_0x124335;_0x3afc36(0x1e3)===_0x252dc5[_0x3afc36(0x1e4)]?_0x252dc5[_0x3afc36(0x219)]=this[_0x3afc36(0x1b4)](_0x252dc5[_0x3afc36(0x219)],_0x275447):_0x3afc36(0x1ca)===_0x252dc5[_0x3afc36(0x1e4)]&&_0x252dc5[_0x3afc36(0x193)]&&(_0x252dc5[_0x3afc36(0x193)]=this[_0x3afc36(0x19f)](_0x252dc5[_0x3afc36(0x193)],_0x275447));}[_0x124335(0x1b4)](_0x2a8085,_0x187d11){const _0x321e41=_0x124335;return new _0x577688(_0x187d11,_0x2a8085[_0x321e41(0x21b)]);}[_0x124335(0x19f)](_0xb30241,_0x21879d){const _0x1f3138=_0x124335;return new _0xe35ee(this[_0x1f3138(0x1b4)](_0xb30241[_0x1f3138(0x1ff)],_0x21879d),this[_0x1f3138(0x1b4)](_0xb30241[_0x1f3138(0x24c)],_0x21879d));}[_0x124335(0x241)](_0x10cbb5,_0x46393c,_0x2cbb36){return new _0x577688(_0x2cbb36,[..._0x46393c]);}[_0x124335(0x1cb)](_0x59b77e,_0x59a63c,_0x577ca6,_0x27d0a8){const _0x45d07c=_0x124335;return new _0xe35ee(this[_0x45d07c(0x241)](_0x59b77e[_0x45d07c(0x1ff)],_0x59a63c,_0x27d0a8),this[_0x45d07c(0x241)](_0x59b77e[_0x45d07c(0x24c)],_0x577ca6,_0x27d0a8));}[_0x124335(0x20b)](_0xbd167){const _0x223ea8=_0x124335,_0x5af9c6=_0x3c61ee=>{const _0x4bdfe5=_0x4f1e;switch(_0x3c61ee){case _0x4bdfe5(0x1e3):return 0x1;case _0x4bdfe5(0x1b3):return 0x2;case _0x4bdfe5(0x1f5):return 0x3;case _0x4bdfe5(0x1a7):return 0x4;}};return _0xbd167[_0x223ea8(0x1e7)]((_0x4a8074,_0x1c0d8e)=>_0x5af9c6(_0x4a8074[_0x223ea8(0x1e4)])-_0x5af9c6(_0x1c0d8e[_0x223ea8(0x1e4)]));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23bcb3=_0x1a4c;(function(_0xf1bc41,_0x4d89f8){const _0x376d1a=_0x1a4c,_0x4f37da=_0xf1bc41();while(!![]){try{const _0x2a4d89=-parseInt(_0x376d1a(0x105))/0x1+-parseInt(_0x376d1a(0xd4))/0x2+parseInt(_0x376d1a(0xe4))/0x3+parseInt(_0x376d1a(0xee))/0x4+-parseInt(_0x376d1a(0xc8))/0x5*(parseInt(_0x376d1a(0xff))/0x6)+-parseInt(_0x376d1a(0x10d))/0x7*(parseInt(_0x376d1a(0x102))/0x8)+-parseInt(_0x376d1a(0xe1))/0x9*(-parseInt(_0x376d1a(0x106))/0xa);if(_0x2a4d89===_0x4d89f8)break;else _0x4f37da['push'](_0x4f37da['shift']());}catch(_0x260248){_0x4f37da['push'](_0x4f37da['shift']());}}}(_0x37e2,0x9e031));import{ContextPlugin as _0x26402b}from'ckeditor5/src/core.js';import{IconAIReview as _0x3174d2}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5e002f}from'ckeditor5/src/ui.js';import{AITabs as _0x17a974}from'../aitabs/aitabs.js';function _0x37e2(){const _0x1f8765=['activateChange','delegate','showBalloon','showReviewCompletedView','showReviewCheckResultsView','setCheckResultTitle','getChangeElement','isOfficialPlugin','reviewMode','_reviewModeView','showGeneralErrorView','hideBalloon','dismissChange','updateChangeState','view','rejected','20kCcqoF','toggleDiff','resetActiveStateInResults','requires','detachFromDom','fire','showActionsWhenResultIsReady','showCheckRunResult','activateTab','destroy','leaveReviewMode','context','1631390wbDKgn','error-general','find','locale','accepted','setChecks','hideActionsWhenResultIsReady','get','finishReview','setTitle','setItemAsActive','AIReviewModeUI','_bodyCollection','25673337ZZJyTe','showNoChangesView','element','1429659HLHHEz','_reviewModeBalloonSuggestionItemView','AI_REVIEW_MODE','leaveReviewModeResultList','learnMore','addCheckRunResult','pluginName','attachToDom','acceptAllChanges','setItemAsInactive','2559580KBSLmJ','hideResult','showChunkErrorView','status','reviewCheckResultsView','getResults','hasChecks','forEach','AITabs','acceptChange','showChangeBalloon','getReviewCheckList','error-chunk','setAvailableChecks','init','abortReviewStream','setActiveStateInResults','1739562cTzsdS','retryReview','hideChangeBalloon','358736nQSqWU','showReviewCheckListView','reviewCheckListView','1167053eBpYCz','10PJjeIA','runReviewCheck','showCheckRunResults','plugins','isPremiumPlugin','deactivateChange','addTab','28llAGMc','showReviewCheckList'];_0x37e2=function(){return _0x1f8765;};return _0x37e2();}import{AIReviewModeView as _0x330f86}from'./ui/aireviewmodeview.js';function _0x1a4c(_0x69cb09,_0x3afa07){const _0x37e2fb=_0x37e2();return _0x1a4c=function(_0x1a4c9,_0x506785){_0x1a4c9=_0x1a4c9-0xb9;let _0x8eefb3=_0x37e2fb[_0x1a4c9];return _0x8eefb3;},_0x1a4c(_0x69cb09,_0x3afa07);}import{getTranslation as _0x1a5f3f}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x4d8b1d}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x23bcb3(0xf9),_0x23bcb3(0x107),_0x23bcb3(0xfd),_0x23bcb3(0xc9),_0x23bcb3(0xec),_0x23bcb3(0xe7),_0x23bcb3(0x10f),_0x23bcb3(0xf7),_0x23bcb3(0xc4),_0x23bcb3(0xe8),_0x23bcb3(0xdc),_0x23bcb3(0x100)];export class AIReviewModeUI extends _0x26402b{[_0x23bcb3(0xc1)];[_0x23bcb3(0xe5)];[_0x23bcb3(0xe0)];static get[_0x23bcb3(0xcb)](){return[_0x17a974];}static get[_0x23bcb3(0xea)](){const _0x9fb9c6=_0x23bcb3;return _0x9fb9c6(0xdf);}static get[_0x23bcb3(0xbf)](){return!0x0;}static get[_0x23bcb3(0x10a)](){return!0x0;}constructor(_0x2651a2){const _0x26861e=_0x23bcb3;super(_0x2651a2),this[_0x26861e(0xe0)]=new _0x5e002f(this[_0x26861e(0xd3)][_0x26861e(0xd7)]),this[_0x26861e(0xe0)][_0x26861e(0xeb)](),this[_0x26861e(0xc1)]=new _0x330f86(this[_0x26861e(0xd3)][_0x26861e(0xd7)]),this[_0x26861e(0xc1)][_0x26861e(0xb9)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x26861e(0xe5)]=new _0x4d8b1d(this[_0x26861e(0xd3)][_0x26861e(0xd7)],this[_0x26861e(0xe0)]),this[_0x26861e(0xe5)][_0x26861e(0xb9)](_0x26861e(0xf7),_0x26861e(0xc4),_0x26861e(0x10b))['to'](this);}[_0x23bcb3(0xfc)](){const _0x5cea31=_0x23bcb3,_0x312176=this[_0x5cea31(0xd3)][_0x5cea31(0x109)][_0x5cea31(0xdb)](_0x5cea31(0xf6));_0x312176[_0x5cea31(0xc6)]['on'](_0x5cea31(0xd0),(_0x4d43ac,_0x568d58)=>{const _0x3538cb=_0x5cea31;_0x3538cb(0xc0)===_0x568d58?this[_0x3538cb(0xcd)](_0x3538cb(0xf9)):this[_0x3538cb(0xcd)](_0x3538cb(0xd2));}),_0x312176[_0x5cea31(0xc6)][_0x5cea31(0x10c)]({'id':_0x5cea31(0xc0),'buttonLabel':_0x1a5f3f(this[_0x5cea31(0xd3)][_0x5cea31(0xd7)],_0x5cea31(0xe6)),'buttonIcon':_0x3174d2,'order':0x0,'content':this[_0x5cea31(0xc1)]});}[_0x23bcb3(0xd1)](){const _0x9f4384=_0x23bcb3;this[_0x9f4384(0xe0)][_0x9f4384(0xcc)](),super[_0x9f4384(0xd1)]();}[_0x23bcb3(0xfb)](_0x674ee7){const _0x591175=_0x23bcb3;this[_0x591175(0xc1)][_0x591175(0x104)][_0x591175(0xf4)]()||this[_0x591175(0xc1)][_0x591175(0x104)][_0x591175(0xd9)](_0x674ee7),this[_0x591175(0xc1)][_0x591175(0x103)]();}[_0x23bcb3(0x10e)](){const _0x1d1858=_0x23bcb3;this[_0x1d1858(0xcd)](_0x1d1858(0xf9));}[_0x23bcb3(0x108)](_0x1e8755){const _0x2853af=_0x23bcb3;_0x1e8755&&(_0x2853af(0xd5)!==_0x1e8755[_0x2853af(0xf1)]?_0x2853af(0xfa)!==_0x1e8755[_0x2853af(0xf1)]?this[_0x2853af(0xc1)][_0x2853af(0xbc)]():this[_0x2853af(0xf0)]():this[_0x2853af(0xc2)]());}[_0x23bcb3(0xcf)](_0x583c1b){const _0x4a0c57=_0x23bcb3;this[_0x4a0c57(0xc1)][_0x4a0c57(0xe9)](_0x583c1b);}[_0x23bcb3(0xc2)](){const _0x21012c=_0x23bcb3;this[_0x21012c(0xc1)][_0x21012c(0xc2)]();}[_0x23bcb3(0xf0)](){const _0x4f6216=_0x23bcb3;this[_0x4f6216(0xc1)][_0x4f6216(0xf0)]();}[_0x23bcb3(0xbd)](_0x2a55ea){const _0x198075=_0x23bcb3;this[_0x198075(0xc1)][_0x198075(0xf2)][_0x198075(0xdd)](_0x2a55ea);}[_0x23bcb3(0xfe)](_0x9b17b3){const _0x75a861=_0x23bcb3;this[_0x75a861(0xc1)][_0x75a861(0xf2)][_0x75a861(0xf3)]()[_0x75a861(0xf5)](_0x4483d3=>{const _0x5173f4=_0x75a861;_0x4483d3['id']===_0x9b17b3&&_0x4483d3[_0x5173f4(0xde)]();});}[_0x23bcb3(0xca)](){const _0x29d79a=_0x23bcb3;this[_0x29d79a(0xc1)][_0x29d79a(0xf2)][_0x29d79a(0xf3)]()[_0x29d79a(0xf5)](_0x3cfcfc=>_0x3cfcfc[_0x29d79a(0xed)]());}[_0x23bcb3(0xc5)](_0x48d4d3,_0x4fab77){const _0x45771d=_0x23bcb3;_0x45771d(0xd8)!==_0x4fab77&&_0x45771d(0xc7)!==_0x4fab77||this[_0x45771d(0xc1)][_0x45771d(0xf2)][_0x45771d(0xef)](_0x48d4d3);}[_0x23bcb3(0xbb)](){const _0x277617=_0x23bcb3;this[_0x277617(0xc1)][_0x277617(0xbb)]();}[_0x23bcb3(0xce)](){const _0x481acd=_0x23bcb3;this[_0x481acd(0xc1)][_0x481acd(0xce)]();}[_0x23bcb3(0xe2)](){const _0x290a64=_0x23bcb3;this[_0x290a64(0xc1)][_0x290a64(0xe2)]();}[_0x23bcb3(0xda)](){const _0xec840d=_0x23bcb3;this[_0xec840d(0xc1)][_0xec840d(0xda)]();}[_0x23bcb3(0xf8)](_0x210a40,_0x1b6f57){const _0x13ec10=_0x23bcb3;this[_0x13ec10(0xe5)][_0x13ec10(0xba)](_0x210a40,_0x1b6f57);}[_0x23bcb3(0x101)](){const _0x168fb7=_0x23bcb3;this[_0x168fb7(0xe5)][_0x168fb7(0xc3)]();}[_0x23bcb3(0xbe)](_0x5ca75a){const _0x46c674=_0x23bcb3,_0x18f345=this[_0x46c674(0xc1)][_0x46c674(0xf2)][_0x46c674(0xf3)]()[_0x46c674(0xd6)](_0x56b4b9=>_0x56b4b9['id']===_0x5ca75a);return _0x18f345?_0x18f345[_0x46c674(0xe3)]:null;}[_0x23bcb3(0x10b)](){const _0x2fca2=_0x23bcb3;this[_0x2fca2(0xe5)][_0x2fca2(0x10b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x15af(){var _0xb8da5c=['21snWAAf','8JhrpHf','title','description','358372ajpihS','51365gZRhTJ','2459180TGfeur','isParameterized','7YKPkdu','203715FqVGlR','3755448KrDHLQ','useArgs','2444574JGEFZB','options','91702kilYtA','11BjWWLl'];_0x15af=function(){return _0xb8da5c;};return _0x15af();}function _0x6a39(_0x113aa9,_0xc680f4){var _0x15afa7=_0x15af();return _0x6a39=function(_0x6a3942,_0xeb8d75){_0x6a3942=_0x6a3942-0x173;var _0x57cbfc=_0x15afa7[_0x6a3942];return _0x57cbfc;},_0x6a39(_0x113aa9,_0xc680f4);}var _0x350485=_0x6a39;(function(_0x4352bf,_0x560f8d){var _0x21486c=_0x6a39,_0x20895c=_0x4352bf();while(!![]){try{var _0x13a1e9=-parseInt(_0x21486c(0x174))/0x1+parseInt(_0x21486c(0x17e))/0x2*(parseInt(_0x21486c(0x180))/0x3)+parseInt(_0x21486c(0x181))/0x4*(parseInt(_0x21486c(0x175))/0x5)+-parseInt(_0x21486c(0x17c))/0x6*(parseInt(_0x21486c(0x178))/0x7)+parseInt(_0x21486c(0x17a))/0x8+-parseInt(_0x21486c(0x179))/0x9+-parseInt(_0x21486c(0x176))/0xa*(-parseInt(_0x21486c(0x17f))/0xb);if(_0x13a1e9===_0x560f8d)break;else _0x20895c['push'](_0x20895c['shift']());}catch(_0x1829ab){_0x20895c['push'](_0x20895c['shift']());}}}(_0x15af,0x41880));export class AIReviewCheck{['id'];[_0x350485(0x182)];[_0x350485(0x173)];[_0x350485(0x177)];[_0x350485(0x17b)];[_0x350485(0x17d)];constructor({id:_0x9d99b3,title:_0x122d19,description:_0x54f2ef,isParameterized:_0x513ff7,useArgs:_0x17b743,options:_0x106fe6}){var _0x7d6e01=_0x350485;this['id']=_0x9d99b3,this[_0x7d6e01(0x182)]=_0x122d19,this[_0x7d6e01(0x173)]=_0x54f2ef,this[_0x7d6e01(0x177)]=_0x513ff7,this[_0x7d6e01(0x17b)]=_0x17b743,this[_0x7d6e01(0x17d)]=_0x106fe6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xab10(_0x5d8401,_0x43a19d){var _0x131ca1=_0x131c();return _0xab10=function(_0xab10eb,_0x3213da){_0xab10eb=_0xab10eb-0x18b;var _0x7928e7=_0x131ca1[_0xab10eb];return _0x7928e7;},_0xab10(_0x5d8401,_0x43a19d);}var _0x46d4c3=_0xab10;function _0x131c(){var _0xdf66cd=['1SyqZsg','349815RQoggw','models','8nosuGb','3044363nAcdbH','195215VHGzho','40fplmyj','4751091zUWotK','_models','232766KIUpxO','4859350jIospR','2198508dupqwr'];_0x131c=function(){return _0xdf66cd;};return _0x131c();}(function(_0x3c71aa,_0x2ce4ff){var _0x269b57=_0xab10,_0xc46d61=_0x3c71aa();while(!![]){try{var _0x3947b8=parseInt(_0x269b57(0x192))/0x1*(-parseInt(_0x269b57(0x18f))/0x2)+-parseInt(_0x269b57(0x193))/0x3+parseInt(_0x269b57(0x18c))/0x4*(parseInt(_0x269b57(0x18b))/0x5)+-parseInt(_0x269b57(0x191))/0x6+parseInt(_0x269b57(0x196))/0x7+parseInt(_0x269b57(0x195))/0x8*(parseInt(_0x269b57(0x18d))/0x9)+-parseInt(_0x269b57(0x190))/0xa;if(_0x3947b8===_0x2ce4ff)break;else _0xc46d61['push'](_0xc46d61['shift']());}catch(_0x124c3a){_0xc46d61['push'](_0xc46d61['shift']());}}}(_0x131c,0x41679));import{AIReviewCheck as _0x4aab75}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x4aab75{[_0x46d4c3(0x18e)]=[];get[_0x46d4c3(0x194)](){var _0x1bff03=_0x46d4c3;return this[_0x1bff03(0x18e)];}set[_0x46d4c3(0x194)](_0x24f5fb){var _0x20f633=_0x46d4c3;this[_0x20f633(0x18e)]=_0x24f5fb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4511(_0x37bd5d,_0x11d865){var _0x4eee63=_0x4eee();return _0x4511=function(_0x4511f9,_0x27fe5b){_0x4511f9=_0x4511f9-0xa9;var _0x375d92=_0x4eee63[_0x4511f9];return _0x375d92;},_0x4511(_0x37bd5d,_0x11d865);}function _0x4eee(){var _0x5c3eba=['4542198HnIJWA','2386647ncspPI','_checks','47156CYduML','793163ThcuKm','_mapCheckDefinitions','getCheckById','find','2515zbFPHu','14897230JpapOa','map','4yldgPF','8PEdapJ','12368IysvIA','custom','checks','3780060FtYmhO','22SeUXBK'];_0x4eee=function(){return _0x5c3eba;};return _0x4eee();}var _0x151754=_0x4511;(function(_0x3c3ef3,_0x4860fa){var _0x19b6dd=_0x4511,_0xb075ef=_0x3c3ef3();while(!![]){try{var _0x1ac1ea=parseInt(_0x19b6dd(0xa9))/0x1*(-parseInt(_0x19b6dd(0xb3))/0x2)+parseInt(_0x19b6dd(0xae))/0x3+parseInt(_0x19b6dd(0xab))/0x4*(parseInt(_0x19b6dd(0xb8))/0x5)+parseInt(_0x19b6dd(0xb0))/0x6+-parseInt(_0x19b6dd(0xb4))/0x7*(-parseInt(_0x19b6dd(0xaa))/0x8)+parseInt(_0x19b6dd(0xb1))/0x9+-parseInt(_0x19b6dd(0xb9))/0xa*(parseInt(_0x19b6dd(0xaf))/0xb);if(_0x1ac1ea===_0x4860fa)break;else _0xb075ef['push'](_0xb075ef['shift']());}catch(_0x363408){_0xb075ef['push'](_0xb075ef['shift']());}}}(_0x4eee,0xd6207));import{ObservableMixin as _0x1649b8}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x12cb04}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x45b186}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x1649b8(){[_0x151754(0xb2)];constructor(_0x55ddf1){var _0xde8e14=_0x151754;super(),this[_0xde8e14(0xb2)]=this[_0xde8e14(0xb5)](_0x55ddf1);}get[_0x151754(0xad)](){var _0xc82808=_0x151754;return this[_0xc82808(0xb2)];}[_0x151754(0xb6)](_0x8e3a69){var _0x97ae43=_0x151754;return this[_0x97ae43(0xad)][_0x97ae43(0xb7)](_0xf32352=>_0xf32352['id']===_0x8e3a69);}[_0x151754(0xb5)](_0x1152ae){var _0x22ea75=_0x151754;return _0x1152ae[_0x22ea75(0xba)](_0x1c6780=>_0x22ea75(0xac)===_0x1c6780['id']?new _0x45b186(_0x1c6780):new _0x12cb04(_0x1c6780));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x77c650=_0xbc0f;function _0xbc0f(_0x55f289,_0x2e12d4){var _0x2eb3a0=_0x2eb3();return _0xbc0f=function(_0xbc0fa6,_0x491d23){_0xbc0fa6=_0xbc0fa6-0x1a8;var _0x46a065=_0x2eb3a0[_0xbc0fa6];return _0x46a065;},_0xbc0f(_0x55f289,_0x2e12d4);}(function(_0x4d800c,_0x39210c){var _0x2974ac=_0xbc0f,_0xbaff46=_0x4d800c();while(!![]){try{var _0x372c37=-parseInt(_0x2974ac(0x1b5))/0x1*(-parseInt(_0x2974ac(0x1b6))/0x2)+-parseInt(_0x2974ac(0x1a8))/0x3*(-parseInt(_0x2974ac(0x1b1))/0x4)+-parseInt(_0x2974ac(0x1b4))/0x5+parseInt(_0x2974ac(0x1aa))/0x6+-parseInt(_0x2974ac(0x1b0))/0x7*(parseInt(_0x2974ac(0x1b2))/0x8)+-parseInt(_0x2974ac(0x1ab))/0x9*(-parseInt(_0x2974ac(0x1af))/0xa)+-parseInt(_0x2974ac(0x1ac))/0xb*(parseInt(_0x2974ac(0x1ad))/0xc);if(_0x372c37===_0x39210c)break;else _0xbaff46['push'](_0xbaff46['shift']());}catch(_0x46d159){_0xbaff46['push'](_0xbaff46['shift']());}}}(_0x2eb3,0xa62a3));import{EmitterMixin as _0x99aeac}from'ckeditor5/src/utils.js';function _0x2eb3(){var _0x350712=['4025845JVrCEU','21233HbUCpS','64EFTTBt','1749711OlZyzS','documentVersion','3069342zlcKND','1197XzMCGx','6448299TOirkJ','24ePNVlG','contentNew','65980Dsfsjl','4037761DbigBG','8cwYgAD','8mtPUkp','contentInitial'];_0x2eb3=function(){return _0x350712;};return _0x2eb3();}export class AIReviewCheckResult extends _0x99aeac(){['id'];[_0x77c650(0x1ae)];[_0x77c650(0x1b3)];[_0x77c650(0x1a9)];constructor({id:_0x2c4d33,contentNew:_0x51fa48,contentInitial:_0x2cc291,documentVersion:_0x56f466}){var _0x249425=_0x77c650;super(),this['id']=_0x2c4d33,this[_0x249425(0x1ae)]=_0x51fa48,this[_0x249425(0x1b3)]=_0x2cc291,this[_0x249425(0x1a9)]=_0x56f466;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xc454(_0x4e1017,_0x4c235c){var _0xe8982c=_0xe898();return _0xc454=function(_0xc45486,_0x1f862b){_0xc45486=_0xc45486-0x1bd;var _0x57104c=_0xe8982c[_0xc45486];return _0x57104c;},_0xc454(_0x4e1017,_0x4c235c);}var _0x35b786=_0xc454;function _0xe898(){var _0x15ef29=['122877QpFOAn','operations','_data','status','operationsIsolated','active','_editorOperations','2145860nhcTIf','1619592FBMZbn','31587AVWbIJ','38qSdqkF','158578bNhnBa','parent','contentDiffed','context','120vyXBkn','212305dvkZCY','isActivated','381429GFqvwM','set'];_0xe898=function(){return _0x15ef29;};return _0xe898();}(function(_0x4767fa,_0x58f934){var _0x5d3e4d=_0xc454,_0x23ccf3=_0x4767fa();while(!![]){try{var _0x263959=parseInt(_0x5d3e4d(0x1cc))/0x1+-parseInt(_0x5d3e4d(0x1c4))/0x2*(parseInt(_0x5d3e4d(0x1c3))/0x3)+parseInt(_0x5d3e4d(0x1c1))/0x4+parseInt(_0x5d3e4d(0x1ca))/0x5+-parseInt(_0x5d3e4d(0x1c2))/0x6+parseInt(_0x5d3e4d(0x1c5))/0x7+parseInt(_0x5d3e4d(0x1c9))/0x8*(-parseInt(_0x5d3e4d(0x1ce))/0x9);if(_0x263959===_0x58f934)break;else _0x23ccf3['push'](_0x23ccf3['shift']());}catch(_0x277499){_0x23ccf3['push'](_0x23ccf3['shift']());}}}(_0xe898,0x4b407));import{ObservableMixin as _0x57838c}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x57838c(){['id'];[_0x35b786(0x1c6)];[_0x35b786(0x1d0)];[_0x35b786(0x1c0)]=[];constructor(_0x2667af,_0x1c7e01,_0x39bb0e){var _0x4e319c=_0x35b786;super(),this['id']=_0x2667af,this[_0x4e319c(0x1c6)]=_0x39bb0e,this[_0x4e319c(0x1d0)]=_0x1c7e01,this[_0x4e319c(0x1cd)](_0x4e319c(0x1cb),!0x1),this[_0x4e319c(0x1cd)](_0x4e319c(0x1bd),_0x4e319c(0x1bf));}get[_0x35b786(0x1c7)](){var _0x4265ea=_0x35b786;return this[_0x4265ea(0x1d0)][_0x4265ea(0x1c8)]();}get[_0x35b786(0x1cf)](){var _0x2d117d=_0x35b786;return this[_0x2d117d(0x1d0)][_0x2d117d(0x1cf)];}get[_0x35b786(0x1be)](){var _0x5da9d7=_0x35b786;return this[_0x5da9d7(0x1d0)][_0x5da9d7(0x1be)];}}
|