@ckeditor/ckeditor5-ai 47.0.0-alpha.8 → 47.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/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/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +197 -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.d.ts +30 -0
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/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.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +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/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +1 -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.d.ts +49 -0
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/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.d.ts +14 -0
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3638ba=_0x32af;(function(_0x1b2983,_0x4a36a3){const _0x18950c=_0x32af,_0x550c60=_0x1b2983();while(!![]){try{const _0x400b54=-parseInt(_0x18950c(0x10d))/0x1+-parseInt(_0x18950c(0x123))/0x2+-parseInt(_0x18950c(0x137))/0x3*(-parseInt(_0x18950c(0x13e))/0x4)+parseInt(_0x18950c(0x121))/0x5+parseInt(_0x18950c(0x12b))/0x6*(parseInt(_0x18950c(0x14c))/0x7)+-parseInt(_0x18950c(0x148))/0x8*(-parseInt(_0x18950c(0x114))/0x9)+-parseInt(_0x18950c(0x130))/0xa;if(_0x400b54===_0x4a36a3)break;else _0x550c60['push'](_0x550c60['shift']());}catch(_0x131053){_0x550c60['push'](_0x550c60['shift']());}}}(_0x36e0,0x89fcd));function _0x36e0(){const _0x218a00=['addMany','focusTracker','12168qMNCum','hide','destroy','ck-ai-quick-actions-group-list','actions','564180kVchHv','_setupGroupMenuBehavior','_createListItems','.ck-ai-quick-actions-group-panel','menuitem','mouseleave','ck-reset_all','562443Odxcdr','contains','items','_showNestedPanel','_hideAllNestedPanels','detachFromDom','.ck-ai-quick-actions-group-button','8rNFDTO','pin','bind','add','element','_hideNestedPanel','relatedTarget','ck-ai-quick-actions-group-panel','optionsListView','extendTemplate','2332072yvgFFJ','div','isVisible','show','2359lxuesb','closest','forEach','set','_createGroupActionsList','focusCycler','keystrokes','label','ck-dropdown-menu-list','icon','_createActionButton','uiLanguageDirection','bindTemplate','_createActionGroupButton','focus','content','get','624058gJWoyZ','children','role','delete','ck-ai-quick-actions','clear','ArrowRight','18PJItpL','_openNestedPanels','_isMovingToNestedMenu','eastSouth','ArrowLeft','locale','.ck-ai-quick-actions-group-list','isOn','rtl','menu','_focusables','ck-ai-quick-actions-group-button','ck-dropdown-menu__nested-menu__panel','2157315PsnmAL','_bodyCollection','1654412Jboljn','key','render','addEventListener','setTemplate','ck-rounded-corners'];_0x36e0=function(){return _0x218a00;};return _0x36e0();}import{View as _0x509e47,ListItemView as _0x2b2252,ListView as _0x3da1a8,BalloonPanelView as _0x542394,DropdownMenuPanelPositioningFunctions as _0x1445e1,DropdownMenuButtonView as _0x1c0d6e,ViewCollection as _0x2fc36b,FocusCycler as _0x4578a3}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2ca4}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2d3ff9,KeystrokeHandler as _0x48695e}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x448690}from'./aiquickactionsbuttoncreator.js';const bs=_0x3638ba(0x11d),gs=_0x3638ba(0x134);function _0x32af(_0x384bbf,_0x1e9beb){const _0x36e0ba=_0x36e0();return _0x32af=function(_0x32afa3,_0xd745d5){_0x32afa3=_0x32afa3-0x10c;let _0x1b9408=_0x36e0ba[_0x32afa3];return _0x1b9408;},_0x32af(_0x384bbf,_0x1e9beb);}export class AIQuickActionsDropdownContentView extends _0x509e47{[_0x3638ba(0x122)];[_0x3638ba(0x146)];[_0x3638ba(0x12a)];[_0x3638ba(0x152)];[_0x3638ba(0x11e)];[_0x3638ba(0x151)];[_0x3638ba(0x115)]=new Set();constructor(_0x136d8e,_0x440eee,_0xe5d833,_0x4d4905){const _0x492d99=_0x3638ba,_0x26f196=_0x136d8e[_0x492d99(0x119)];super(_0x26f196),this[_0x492d99(0x122)]=_0x4d4905;const _0x305286=this[_0x492d99(0x132)](_0x136d8e,_0x440eee,_0xe5d833);this[_0x492d99(0x146)]=new _0x3da1a8(_0x26f196),this[_0x492d99(0x146)][_0x492d99(0x10f)]=bs,this[_0x492d99(0x146)][_0x492d99(0x139)][_0x492d99(0x129)](_0x305286),this[_0x492d99(0x12a)]=new _0x2d3ff9(),this[_0x492d99(0x152)]=new _0x48695e(),this[_0x492d99(0x11e)]=_0x305286,this[_0x492d99(0x151)]=new _0x4578a3({'focusables':this[_0x492d99(0x11e)],'focusTracker':this[_0x492d99(0x12a)],'keystrokeHandler':this[_0x492d99(0x152)]}),this[_0x492d99(0x127)]({'tag':_0x492d99(0x149),'attributes':{'class':['ck',_0x492d99(0x136),_0x492d99(0x111),_0x492d99(0x128)],'dir':_0x26f196[_0x492d99(0x157)]},'children':[this[_0x492d99(0x146)]]});}[_0x3638ba(0x132)](_0x2262a2,_0x322701,_0x7a7c60){const _0x44ca08=_0x3638ba,_0x1acaa2=new _0x2fc36b();return _0x322701[_0x44ca08(0x14e)](_0x27cac7=>{const _0x500e67=_0x44ca08;_0x500e67(0x12f)in _0x27cac7?_0x1acaa2[_0x500e67(0x141)](this[_0x500e67(0x159)](_0x2262a2,_0x27cac7,_0x7a7c60)):_0x1acaa2[_0x500e67(0x141)](this[_0x500e67(0x156)](_0x2262a2,_0x27cac7));}),_0x1acaa2;}[_0x3638ba(0x156)](_0x4a7cad,_0x56d520){const _0xdd8092=_0x3638ba,_0x114665=new _0x2b2252(this[_0xdd8092(0x119)]),_0x537f99=_0x448690(_0x4a7cad,_0x56d520,!0x0,void 0x0!==_0x56d520[_0xdd8092(0x155)])();return _0x114665[_0xdd8092(0x10e)][_0xdd8092(0x141)](_0x537f99),_0x114665;}[_0x3638ba(0x159)](_0x49aeed,_0x41c7d9,_0x5dc02c){const _0x252e7f=_0x3638ba,_0x46a467=new _0x2b2252(this[_0x252e7f(0x119)]),_0x39bba4=new _0x1c0d6e(this[_0x252e7f(0x119)]),_0x466118=_0x39bba4[_0x252e7f(0x158)],_0x2d8e02=_0x252e7f(0x11c)===_0x5dc02c[_0x252e7f(0x119)][_0x252e7f(0x157)]?_0x252e7f(0x113):_0x252e7f(0x118),_0x28c9f5=this[_0x252e7f(0x150)](_0x49aeed,_0x41c7d9[_0x252e7f(0x12f)],_0x5dc02c);_0x39bba4[_0x252e7f(0x14f)]({'label':_0x41c7d9[_0x252e7f(0x153)],'withText':!0x0,'role':gs,'icon':_0x41c7d9[_0x252e7f(0x155)]??_0x2ca4}),_0x39bba4[_0x252e7f(0x147)]({'on':{'mouseenter':_0x466118['to'](()=>{const _0xe60bfa=_0x252e7f;_0x39bba4[_0xe60bfa(0x15a)]();})}});const _0x4d8861=new _0x542394(this[_0x252e7f(0x119)]);return _0x4d8861[_0x252e7f(0x147)]({'attributes':{'class':['ck',_0x252e7f(0x136),_0x252e7f(0x145),_0x252e7f(0x120)]},'on':{'keydown':_0x466118['to'](_0x5d4448=>{const _0x31e9e2=_0x252e7f;_0x5d4448[_0x31e9e2(0x124)]==_0x2d8e02&&(_0x39bba4[_0x31e9e2(0x15a)](),this[_0x31e9e2(0x143)](_0x4d8861));})}}),_0x39bba4[_0x252e7f(0x140)](_0x252e7f(0x11b))['to'](_0x4d8861,_0x252e7f(0x14a)),this[_0x252e7f(0x122)][_0x252e7f(0x141)](_0x4d8861),_0x4d8861[_0x252e7f(0x15b)][_0x252e7f(0x141)](_0x28c9f5),this[_0x252e7f(0x131)](_0x39bba4,_0x4d8861),_0x46a467[_0x252e7f(0x10e)][_0x252e7f(0x141)](_0x39bba4),_0x46a467;}[_0x3638ba(0x150)](_0xe6f03f,_0x38bd88,_0x47ffba){const _0x81cb99=_0x3638ba,_0x449f32=new _0x3da1a8(this[_0x81cb99(0x119)]);return _0x449f32[_0x81cb99(0x147)]({'attributes':{'class':['ck',_0x81cb99(0x136),_0x81cb99(0x12e),_0x81cb99(0x154)]}}),_0x38bd88[_0x81cb99(0x14e)](_0x5decc6=>{const _0x15762a=_0x81cb99,_0x526d4a=new _0x2b2252(this[_0x15762a(0x119)]),_0xcd86d3=_0x448690(_0xe6f03f,_0x5decc6,!0x0,!0x1)();_0x526d4a[_0x15762a(0x10e)][_0x15762a(0x141)](_0xcd86d3),_0x47ffba[_0x15762a(0x12a)][_0x15762a(0x141)](_0xcd86d3),_0x449f32[_0x15762a(0x139)][_0x15762a(0x141)](_0x526d4a);}),_0x449f32;}[_0x3638ba(0x131)](_0x234b48,_0x2ee48b){const _0x140dab=_0x3638ba,_0x2b5cf1=_0x234b48[_0x140dab(0x158)],_0x58fbd9=_0x140dab(0x11c)===_0x234b48[_0x140dab(0x119)][_0x140dab(0x157)]?_0x140dab(0x118):_0x140dab(0x113);_0x234b48[_0x140dab(0x147)]({'attributes':{'class':[_0x140dab(0x11f)]},'on':{'mouseenter':_0x2b5cf1['to'](()=>{const _0x2ec298=_0x140dab;this[_0x2ec298(0x13a)](_0x2ee48b,_0x234b48);}),'mouseleave':_0x2b5cf1['to'](_0x36b9e0=>{const _0x3fa292=_0x140dab,_0x432c9b=_0x36b9e0[_0x3fa292(0x144)];this[_0x3fa292(0x116)](_0x432c9b,_0x2ee48b)||this[_0x3fa292(0x143)](_0x2ee48b);}),'keydown':_0x2b5cf1['to'](_0x75c634=>{const _0x4bd1c0=_0x140dab;_0x75c634[_0x4bd1c0(0x124)]==_0x58fbd9&&(this[_0x4bd1c0(0x13a)](_0x2ee48b,_0x234b48),_0x2ee48b[_0x4bd1c0(0x15b)][_0x4bd1c0(0x10c)](0x0)[_0x4bd1c0(0x15a)]());})}}),_0x2ee48b['on'](_0x140dab(0x125),()=>{const _0x14ffc2=_0x140dab;_0x2ee48b[_0x14ffc2(0x142)]?.[_0x14ffc2(0x126)](_0x14ffc2(0x135),_0x34eaab=>{const _0x465436=_0x14ffc2,_0x1b01cc=_0x34eaab[_0x465436(0x144)];_0x234b48[_0x465436(0x142)]?.[_0x465436(0x138)](_0x1b01cc)||this[_0x465436(0x116)](_0x1b01cc,_0x2ee48b)||this[_0x465436(0x143)](_0x2ee48b);});});}[_0x3638ba(0x13a)](_0x2d8246,_0x362eea){const _0x3949c1=_0x3638ba;this[_0x3949c1(0x115)][_0x3949c1(0x14e)](_0x4106c8=>{const _0x3a55ab=_0x3949c1;_0x4106c8!==_0x2d8246&&_0x4106c8[_0x3a55ab(0x14a)]&&_0x4106c8[_0x3a55ab(0x12c)]();}),_0x2d8246[_0x3949c1(0x14b)](),_0x2d8246[_0x3949c1(0x13f)]({'positions':[_0x1445e1[_0x3949c1(0x117)]],'target':_0x362eea[_0x3949c1(0x142)],'fitInViewport':!0x0}),this[_0x3949c1(0x115)][_0x3949c1(0x141)](_0x2d8246);}[_0x3638ba(0x143)](_0x5eaa06){const _0x1e72f4=_0x3638ba;_0x5eaa06[_0x1e72f4(0x12c)](),this[_0x1e72f4(0x115)][_0x1e72f4(0x110)](_0x5eaa06);}[_0x3638ba(0x13b)](){const _0x341f87=_0x3638ba;this[_0x341f87(0x115)][_0x341f87(0x14e)](_0x2251eb=>_0x2251eb[_0x341f87(0x12c)]()),this[_0x341f87(0x115)][_0x341f87(0x112)]();}[_0x3638ba(0x116)](_0x20f0df,_0x18c962){const _0xdb81d7=_0x3638ba;if(!_0x20f0df)return!0x1;if(_0x18c962[_0xdb81d7(0x142)]?.[_0xdb81d7(0x138)](_0x20f0df))return!0x0;const _0x2755a9=_0x20f0df;return _0x2755a9[_0xdb81d7(0x14d)]&&(null!==_0x2755a9[_0xdb81d7(0x14d)](_0xdb81d7(0x133))||null!==_0x2755a9[_0xdb81d7(0x14d)](_0xdb81d7(0x11a))||null!==_0x2755a9[_0xdb81d7(0x14d)](_0xdb81d7(0x13d)));}[_0x3638ba(0x12d)](){const _0x70bb79=_0x3638ba;this[_0x70bb79(0x13b)](),this[_0x70bb79(0x122)][_0x70bb79(0x13c)](),super[_0x70bb79(0x12d)]();}[_0x3638ba(0x15a)](){const _0x19f5b7=_0x3638ba;this[_0x19f5b7(0x146)][_0x19f5b7(0x15a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3770(_0x308017,_0x4f80cd){const _0x15ffab=_0x15ff();return _0x3770=function(_0x37705a,_0x8f4dbb){_0x37705a=_0x37705a-0x179;let _0x36aaaf=_0x15ffab[_0x37705a];return _0x36aaaf;},_0x3770(_0x308017,_0x4f80cd);}(function(_0x3095b7,_0x39e619){const _0x448406=_0x3770,_0x2ba65a=_0x3095b7();while(!![]){try{const _0x179d7d=parseInt(_0x448406(0x183))/0x1*(parseInt(_0x448406(0x17a))/0x2)+parseInt(_0x448406(0x187))/0x3+-parseInt(_0x448406(0x185))/0x4+parseInt(_0x448406(0x17c))/0x5+parseInt(_0x448406(0x18a))/0x6*(-parseInt(_0x448406(0x17d))/0x7)+parseInt(_0x448406(0x182))/0x8*(parseInt(_0x448406(0x186))/0x9)+parseInt(_0x448406(0x17e))/0xa;if(_0x179d7d===_0x39e619)break;else _0x2ba65a['push'](_0x2ba65a['shift']());}catch(_0x119b2f){_0x2ba65a['push'](_0x2ba65a['shift']());}}}(_0x15ff,0x7f0a7));import{createDropdown as _0x1f832b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x308e9a}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x30798e}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x1999c9,_0x344208,_0x5e5962,_0x41635c){return()=>{const _0x3e4d88=_0x3770,_0x3ba25f=_0x1999c9[_0x3e4d88(0x189)],_0x4a952b=_0x1f832b(_0x3ba25f);_0x4a952b[_0x3e4d88(0x179)][_0x3e4d88(0x181)]({'icon':_0x5e5962[_0x3e4d88(0x188)]??_0x308e9a,'label':_0x5e5962[_0x3e4d88(0x17f)],'tooltip':!0x0}),_0x4a952b[_0x3e4d88(0x181)]({'class':_0x3e4d88(0x17b)});const _0x24fa9a=new _0x30798e(_0x1999c9,_0x344208,_0x4a952b,_0x41635c);return _0x4a952b[_0x3e4d88(0x180)][_0x3e4d88(0x18b)][_0x3e4d88(0x184)](_0x24fa9a),_0x4a952b;};}function _0x15ff(){const _0x581f9d=['children','buttonView','2weEQzd','ck-ai-quick-actions-dropdown','1673730XPYYTv','8309QSFbOy','959430Vvwdwk','label','panelView','set','104JdkSqS','883391AznCMP','add','2407460avGzSI','64674LVHjdK','1476633GcifJt','icon','locale','3930vnYGIJ'];_0x15ff=function(){return _0x581f9d;};return _0x15ff();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a0cbf=_0x587c;function _0x587c(_0x3237db,_0x537c5f){const _0x49dae1=_0x49da();return _0x587c=function(_0x587ca2,_0x1714de){_0x587ca2=_0x587ca2-0x94;let _0x291e5f=_0x49dae1[_0x587ca2];return _0x291e5f;},_0x587c(_0x3237db,_0x537c5f);}function _0x49da(){const _0xdab88f=['dropdown','6Rmfhll','Spanish','3969nCEnnp','Adjust\x20tone\x20and\x20style','russian','casual','custom','Direct','Friendly','514340gxFdrm','readability','Custom\x20command','confident','Chinese\x20(Simplified)','clarity','japanese','1360885qHzRgC','670GJRKiF','professional','make-tone','Longer','Readability','Clarity','2516381vNHCFP','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','korean','French','french','Korean','Shorter','correctness','make','italian','Translate','German','friendly','direct','chinese','translate','Adjust\x20length','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Italian','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Professional','Correctness','longer','1353352JTgrHv','Russian','shorter','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Portuguese','german','Translate\x20the\x20text\x20into\x20another\x20language.','549733FMaFGB','english','Confident','436983eLjiPZ','8EAEZVk','portuguese','Casual','Japanese','English','language','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Select\x20language','spanish','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.'];_0x49da=function(){return _0xdab88f;};return _0x49da();}(function(_0x11b25c,_0x2b78a6){const _0x2e251b=_0x587c,_0x1c905a=_0x11b25c();while(!![]){try{const _0xc88453=parseInt(_0x2e251b(0x9c))/0x1+parseInt(_0x2e251b(0xb4))/0x2+parseInt(_0x2e251b(0x9f))/0x3*(-parseInt(_0x2e251b(0xa0))/0x4)+parseInt(_0x2e251b(0xbb))/0x5*(parseInt(_0x2e251b(0xab))/0x6)+-parseInt(_0x2e251b(0xc2))/0x7+-parseInt(_0x2e251b(0x95))/0x8+-parseInt(_0x2e251b(0xad))/0x9*(-parseInt(_0x2e251b(0xbc))/0xa);if(_0xc88453===_0x2b78a6)break;else _0x1c905a['push'](_0x1c905a['shift']());}catch(_0x54d61c){_0x1c905a['push'](_0x1c905a['shift']());}}}(_0x49da,0x4678d));export const AI_REVIEW_CHECKS=[{'id':_0x2a0cbf(0xb1),'title':_0x2a0cbf(0xb6),'description':_0x2a0cbf(0x98),'isParameterized':!0x0},{'id':_0x2a0cbf(0xc9),'title':_0x2a0cbf(0xd7),'description':_0x2a0cbf(0xa6),'isParameterized':!0x1},{'id':_0x2a0cbf(0xb9),'title':_0x2a0cbf(0xc1),'description':_0x2a0cbf(0xc3),'isParameterized':!0x1},{'id':_0x2a0cbf(0xb5),'title':_0x2a0cbf(0xc0),'description':_0x2a0cbf(0xd5),'isParameterized':!0x1},{'id':_0x2a0cbf(0xca),'title':_0x2a0cbf(0xd2),'description':_0x2a0cbf(0xa9),'isParameterized':!0x0,'options':[{'formType':_0x2a0cbf(0xaa),'label':_0x2a0cbf(0xd2),'default':_0x2a0cbf(0x94),'data':[{'label':_0x2a0cbf(0xbf),'id':_0x2a0cbf(0x94)},{'label':_0x2a0cbf(0xc8),'id':_0x2a0cbf(0x97)}]}]},{'id':_0x2a0cbf(0xbe),'title':_0x2a0cbf(0xae),'description':_0x2a0cbf(0xd3),'isParameterized':!0x0,'options':[{'formType':_0x2a0cbf(0xaa),'label':_0x2a0cbf(0xae),'default':_0x2a0cbf(0xb0),'data':[{'label':_0x2a0cbf(0xa2),'id':_0x2a0cbf(0xb0)},{'label':_0x2a0cbf(0xb2),'id':_0x2a0cbf(0xcf)},{'label':_0x2a0cbf(0xb3),'id':_0x2a0cbf(0xce)},{'label':_0x2a0cbf(0x9e),'id':_0x2a0cbf(0xb7)},{'label':_0x2a0cbf(0xd6),'id':_0x2a0cbf(0xbd)}]}]},{'id':_0x2a0cbf(0xd1),'title':_0x2a0cbf(0xcc),'description':_0x2a0cbf(0x9b),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x2a0cbf(0xaa),'label':_0x2a0cbf(0xa7),'argsKey':_0x2a0cbf(0xa5),'data':[{'label':_0x2a0cbf(0xa4),'id':_0x2a0cbf(0x9d)},{'label':_0x2a0cbf(0xac),'id':_0x2a0cbf(0xa8)},{'label':_0x2a0cbf(0xc5),'id':_0x2a0cbf(0xc6)},{'label':_0x2a0cbf(0xcd),'id':_0x2a0cbf(0x9a)},{'label':_0x2a0cbf(0xb8),'id':_0x2a0cbf(0xd0)},{'label':_0x2a0cbf(0xa3),'id':_0x2a0cbf(0xba)},{'label':_0x2a0cbf(0x96),'id':_0x2a0cbf(0xaf)},{'label':_0x2a0cbf(0x99),'id':_0x2a0cbf(0xa1)},{'label':_0x2a0cbf(0xc7),'id':_0x2a0cbf(0xc4)},{'label':_0x2a0cbf(0xd4),'id':_0x2a0cbf(0xcb)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1c4b5c=_0x5b8f;(function(_0x115111,_0x28316b){var _0x22caff=_0x5b8f,_0x5b6294=_0x115111();while(!![]){try{var _0x260821=-parseInt(_0x22caff(0xaf))/0x1+parseInt(_0x22caff(0xa1))/0x2*(-parseInt(_0x22caff(0xa6))/0x3)+parseInt(_0x22caff(0xab))/0x4*(-parseInt(_0x22caff(0xad))/0x5)+-parseInt(_0x22caff(0xa7))/0x6+parseInt(_0x22caff(0xb0))/0x7+-parseInt(_0x22caff(0xa3))/0x8*(-parseInt(_0x22caff(0xae))/0x9)+-parseInt(_0x22caff(0xac))/0xa*(-parseInt(_0x22caff(0xa8))/0xb);if(_0x260821===_0x28316b)break;else _0x5b6294['push'](_0x5b6294['shift']());}catch(_0x3f4e08){_0x5b6294['push'](_0x5b6294['shift']());}}}(_0x4fec,0xe200a));import{ContextPlugin as _0x22b8bc}from'ckeditor5/src/core.js';function _0x4fec(){var _0x468d4d=['60lPjjSt','10mCCxfs','31025UZlXCm','3280860HytKZb','539940qRvIHG','1525881xInYND','128NYgEEv','pluginName','32ishqtp','requires','AIReviewMode','17583NcPEPn','6757194yaihCz','15222691OdVQCE','isPremiumPlugin','isOfficialPlugin'];_0x4fec=function(){return _0x468d4d;};return _0x4fec();}function _0x5b8f(_0x13d681,_0x571854){var _0x4fec7a=_0x4fec();return _0x5b8f=function(_0x5b8ff9,_0xa83031){_0x5b8ff9=_0x5b8ff9-0xa1;var _0x386b33=_0x4fec7a[_0x5b8ff9];return _0x386b33;},_0x5b8f(_0x13d681,_0x571854);}import{AIReviewModeController as _0x101da5}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x4d12fc}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x427821}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x22b8bc{static get[_0x1c4b5c(0xa4)](){return[_0x101da5,_0x4d12fc,_0x427821];}static get[_0x1c4b5c(0xa2)](){var _0x57042f=_0x1c4b5c;return _0x57042f(0xa5);}static get[_0x1c4b5c(0xaa)](){return!0x0;}static get[_0x1c4b5c(0xa9)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x59cf4a=_0x3f0f;function _0x5140(){const _0x583250=['getDocumentData','addClass','documentData','description','runReviewCheck','translate','_changeActivationSource','restart','showChunkErrorView','resetActiveStateInResults','reviewCheckResultAdded','abortReviewStream','leaveReviewModeResultList','AIConnector','leaveReviewMode','custom','contentInitial','reviewCheckResultRejected','updateChangeState','AI_MODEL_DESCRIPTION_','AIReviewModeEditing','isOfficialPlugin','result','markAllChangesAsAccepted','view','_logError','_getTranslationWithDefault','domElement','getCheckById','showGeneralErrorView','changeId','30NmBfPJ','aireviewmode-check-run-failed','source','_currentReviewCheckRun','requires','message','getReviewCheckList','_onReviewModeRunLeave','applyChange','stopListening','document','4LNyhXs','getEditor','get','acceptAllChanges','unmodified','ai-request-aborted','label','dismissChange','addResultChanges','upsertCustomAIReviewRating','rejectChange','35EJGDpS','278589LZSoqR','pluginName','showActionsWhenResultIsReady','_OPTIONS_LABEL','finished','split','showReviewCheckList','7253680LNTMPC','abort','model','acceptChange','editing','models','getActiveChanges','totalCount','getRoot','accepted','AI_REVIEW_CHECK_','markChangeAsRejected','getChangeElement','processedResultsCount','_aiConnector','isCustom','_updateRatings','.ck-ai-review-mode__check-run-result','showChangeBalloon','title','clearAllMarkers','reviewCheckResultActivated','loading','error-chunk','locale','ready','showNoChangesView','changes','isChangeActive','getAll','upsertAIReviewRating','deactivateChange','_aiReviewModeUi','params','removeClass','plugins','config','reviewCheckResultAccepted','_TITLE','AIReviewModeController','_DESCRIPTION','_aiReviewCheckList','990142VJsHhh','rejected','1927214MdIytD','getMarkerElementForChange','aireviewmode-source-check-not-found','options','error-general','checks','_OPTIONS_DATA_','contentNew','showCheckRunResult','ck-ai-review-mode-diff','ai.reviewMode.translations','toggleDiff','296MBpvki','_onDiffChange','status','aireviewmode-no-current-check-run','forceReadyState','activateChange','setAvailableChecks','context','panel','init','closest','ck-ai-review-mode-highlights','getTotalChangesCount','retryReview','aborted','showReviewCompletedView','198351pBDKci','reviewCheckResultReady','AIReviewModeUI','_isDiffOn','_translateReviewChecks','switchToEdit','isPremiumPlugin','callId','reviewCheckRunUpdated','setActiveStateInResults','map','emitter','content','diffContent','markChangePositionInEditorContent','args','finishReview','prompt','hideChangeBalloon','9328671ZvmgoN','switchToReadOnly','reviewName','_aiReviewModeEditing','start','reviewCheckResultDeactivated','change','length','setCheckResultTitle','find','420882PuwCTF','includes','replaceAll','showCheckRunResults','data','markChangeAsAccepted','changeMarkerClick','toUpperCase','listenTo','getAcceptedChangesCount'];_0x5140=function(){return _0x583250;};return _0x5140();}(function(_0x2860d1,_0x4415e9){const _0x327502=_0x3f0f,_0x37d419=_0x2860d1();while(!![]){try{const _0x9b1604=parseInt(_0x327502(0xe7))/0x1+parseInt(_0x327502(0xe9))/0x2+-parseInt(_0x327502(0xb6))/0x3*(parseInt(_0x327502(0xaa))/0x4)+-parseInt(_0x327502(0xb5))/0x5*(parseInt(_0x327502(0x122))/0x6)+parseInt(_0x327502(0xbd))/0x7+parseInt(_0x327502(0xf5))/0x8*(parseInt(_0x327502(0x105))/0x9)+-parseInt(_0x327502(0x9f))/0xa*(parseInt(_0x327502(0x118))/0xb);if(_0x9b1604===_0x4415e9)break;else _0x37d419['push'](_0x37d419['shift']());}catch(_0x2669e6){_0x37d419['push'](_0x37d419['shift']());}}}(_0x5140,0xa55ed));import{ContextPlugin as _0x2b07fb}from'ckeditor5/src/core.js';import{CKEditorError as _0x22e3d8,logError as _0x50995a,scrollAncestorsToShowTarget as _0x582ea3,scrollViewportToShowTarget as _0x33693c}from'ckeditor5/src/utils.js';import{AIConnector as _0x51375e}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x58e01c}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x227774}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x32cc52}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0xc113fd}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x459db9}from'./aireviewcheckdefinitions.js';function _0x3f0f(_0x8f9445,_0x59185f){const _0x5140b2=_0x5140();return _0x3f0f=function(_0x3f0f7b,_0x17abdf){_0x3f0f7b=_0x3f0f7b-0x94;let _0x6393e8=_0x5140b2[_0x3f0f7b];return _0x6393e8;},_0x3f0f(_0x8f9445,_0x59185f);}import{getTranslation as _0x2f7339}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2b07fb{[_0x59cf4a(0xcb)];[_0x59cf4a(0xdd)];[_0x59cf4a(0x11b)];[_0x59cf4a(0xe6)];[_0x59cf4a(0xa2)];[_0x59cf4a(0x108)]=!0x1;[_0x59cf4a(0x132)]=null;static get[_0x59cf4a(0xa3)](){return[_0x51375e];}static get[_0x59cf4a(0xb7)](){const _0x2bd1e2=_0x59cf4a;return _0x2bd1e2(0xe4);}static get[_0x59cf4a(0x95)](){return!0x0;}static get[_0x59cf4a(0x10b)](){return!0x0;}async[_0x59cf4a(0xfe)](){const _0x48dd33=_0x59cf4a;this[_0x48dd33(0xcb)]=this[_0x48dd33(0xfc)][_0x48dd33(0xe0)][_0x48dd33(0xac)](_0x48dd33(0x139)),this[_0x48dd33(0xdd)]=this[_0x48dd33(0xfc)][_0x48dd33(0xe0)][_0x48dd33(0xac)](_0x48dd33(0x107)),this[_0x48dd33(0x11b)]=this[_0x48dd33(0xfc)][_0x48dd33(0xe0)][_0x48dd33(0xac)](_0x48dd33(0x94));const _0x181152=this[_0x48dd33(0xfc)][_0x48dd33(0xe1)][_0x48dd33(0xac)](_0x48dd33(0xf3));if(_0x181152){for(const _0x4fb322 of _0x459db9)_0x48dd33(0x131)===_0x4fb322['id']&&(_0x4fb322[_0x48dd33(0xec)][0x0][_0x48dd33(0x126)]=_0x181152);}const _0x5237b7=this[_0x48dd33(0x109)](_0x459db9);this[_0x48dd33(0xe6)]=new _0x58e01c(_0x5237b7);const _0x5046a8=this[_0x48dd33(0xe6)][_0x48dd33(0xee)][_0x48dd33(0x121)](_0x1b3598=>_0x48dd33(0x13b)===_0x1b3598['id']);if(_0x5046a8){const _0x28dba5=await new _0xc113fd({'connector':this[_0x48dd33(0xcb)]})[_0x48dd33(0xda)]();_0x5046a8[_0x48dd33(0xc2)]=_0x28dba5[_0x48dd33(0x10f)](_0xd09c24=>({..._0xd09c24,'description':this[_0x48dd33(0x9a)](_0x48dd33(0x13f)+_0xd09c24['id'][_0x48dd33(0x129)](),_0xd09c24[_0x48dd33(0x12f)])}));}this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xa5),()=>{const _0x4d03a1=_0x48dd33;this[_0x4d03a1(0xdd)][_0x4d03a1(0xfb)](this[_0x4d03a1(0xe6)][_0x4d03a1(0xee)]);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x130),async(_0x3f91bc,_0x5328c3)=>{const _0x48ab1a=_0x48dd33,_0x4dd89c=this[_0x48ab1a(0xe6)][_0x48ab1a(0x9c)](_0x5328c3['id']);if(_0x4dd89c){this[_0x48ab1a(0xf6)](this[_0x48ab1a(0x108)]),_0x5328c3[_0x48ab1a(0xcc)]?this[_0x48ab1a(0xa2)]=new _0x32cc52(_0x5328c3[_0x48ab1a(0x114)][_0x48ab1a(0x116)],_0x5328c3[_0x48ab1a(0x114)][_0x48ab1a(0xbf)],this[_0x48ab1a(0x11b)][_0x48ab1a(0x12c)](),_0x4dd89c,this[_0x48ab1a(0xcb)]):this[_0x48ab1a(0xa2)]=new _0x227774(this[_0x48ab1a(0x11b)][_0x48ab1a(0x12c)](),_0x4dd89c,this[_0x48ab1a(0xcb)],_0x5328c3[_0x48ab1a(0xde)],_0x5328c3[_0x48ab1a(0x114)]),this[_0x48ab1a(0xdd)][_0x48ab1a(0x120)](this[_0x48ab1a(0xa2)][_0x48ab1a(0xd0)]),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x10d),(_0x2c6e2d,_0x42218e)=>{const _0x3d2df3=_0x48ab1a;_0x3d2df3(0x126)===_0x42218e[_0x3d2df3(0xf7)]||_0x3d2df3(0xd3)===_0x42218e[_0x3d2df3(0xf7)]?(this[_0x3d2df3(0x11b)][_0x3d2df3(0x119)](),this[_0x3d2df3(0xdd)][_0x3d2df3(0x125)](_0x42218e)):_0x3d2df3(0xba)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0x104)]():_0x3d2df3(0xd6)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0xb8)]():_0x3d2df3(0xae)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0xd7)]():_0x3d2df3(0xed)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0x9d)]():_0x3d2df3(0xd4)===_0x42218e[_0x3d2df3(0xf7)]?this[_0x3d2df3(0xdd)][_0x3d2df3(0x134)]():_0x3d2df3(0x103)===_0x42218e[_0x3d2df3(0xf7)]&&(this[_0x3d2df3(0xa2)]&&this[_0x3d2df3(0xa2)][_0x3d2df3(0xca)]>0x0?setTimeout(()=>{const _0x57cd51=_0x3d2df3;this[_0x57cd51(0xa2)]?.[_0x57cd51(0xf9)]();},0x0):this[_0x3d2df3(0xa6)](!0x0));}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x136),(_0x3ec1be,_0x6f2fd5)=>{const _0x53ea3c=_0x48ab1a;if(!this[_0x53ea3c(0xa2)])throw new _0x22e3d8(_0x53ea3c(0xf8),this);const _0x1fea97=this[_0x53ea3c(0x11b)][_0x53ea3c(0x112)](_0x6f2fd5[_0x53ea3c(0x96)][_0x53ea3c(0x13c)],_0x6f2fd5[_0x53ea3c(0x96)][_0x53ea3c(0xf0)]);_0x6f2fd5[_0x53ea3c(0xa1)][_0x53ea3c(0xb2)](_0x6f2fd5[_0x53ea3c(0x96)]['id'],_0x1fea97);}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x106),(_0x1c085f,_0x41522f)=>{const _0x39e704=_0x48ab1a;for(const _0x53bb31 of _0x41522f[_0x39e704(0xd8)])this[_0x39e704(0xdd)][_0x39e704(0xf1)](_0x53bb31);this[_0x39e704(0x11b)][_0x39e704(0x113)](_0x41522f[_0x39e704(0xd8)],_0x41522f[_0x39e704(0xa1)][_0x39e704(0x12e)]);}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0xe2),(_0x1b251,_0x28a464)=>{const _0x2fe9ce=_0x48ab1a;this[_0x2fe9ce(0xdd)][_0x2fe9ce(0x13e)](_0x28a464[_0x2fe9ce(0x11e)]['id'],_0x2fe9ce(0xc6));}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x13d),(_0x513cc6,_0x279d86)=>{const _0x3da1e4=_0x48ab1a;this[_0x3da1e4(0xdd)][_0x3da1e4(0x13e)](_0x279d86[_0x3da1e4(0x11e)]['id'],_0x3da1e4(0xe8));}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0xd2),(_0x8818fd,_0x39117e)=>{const _0x480a87=_0x48ab1a;this[_0x480a87(0xdd)][_0x480a87(0x10e)](_0x39117e[_0x480a87(0x11e)]['id']);const _0x1af92f=this[_0x480a87(0x11b)][_0x480a87(0xea)](_0x39117e[_0x480a87(0x11e)]['id']);if(_0x1af92f){if(_0x480a87(0x111)===this[_0x480a87(0x132)]){const _0x1e03da=this[_0x480a87(0xdd)][_0x480a87(0xc9)](_0x39117e[_0x480a87(0x11e)]['id']);_0x1e03da&&_0x582ea3(_0x1e03da[_0x480a87(0xff)](_0x480a87(0xce))||_0x1e03da);}else{if(_0x480a87(0xfd)===this[_0x480a87(0x132)]){const _0x1b609c={'target':_0x1af92f[_0x480a87(0x9b)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x33693c(_0x1b609c);}}this[_0x480a87(0xdd)][_0x480a87(0xcf)](_0x39117e[_0x480a87(0x11e)],_0x1af92f[_0x480a87(0x9b)]);}}),this[_0x48ab1a(0xa2)]['on'](_0x48ab1a(0x11d),()=>{const _0x35960e=_0x48ab1a;this[_0x35960e(0xdd)][_0x35960e(0x135)]();});try{await this[_0x48ab1a(0xa2)][_0x48ab1a(0x11c)]();}catch(_0xbaba20){_0xbaba20 instanceof Error&&_0xbaba20[_0x48ab1a(0xa4)][_0x48ab1a(0x123)](_0x48ab1a(0xaf))||(_0xbaba20 instanceof _0x22e3d8?this[_0x48ab1a(0x99)](_0xbaba20):this[_0x48ab1a(0x99)](new _0x22e3d8(_0x48ab1a(0xa0),this,{'error':_0xbaba20})));}}else this[_0x48ab1a(0x99)](new _0x22e3d8(_0x48ab1a(0xeb),this,{'checkId':_0x5328c3['id']}));}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x13a),()=>{const _0x3b19f3=_0x48dd33;this[_0x3b19f3(0xa6)]();}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x138),()=>{const _0xc1ce44=_0x48dd33;this[_0xc1ce44(0xa6)](!0x0);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x137),()=>{const _0x539e68=_0x48dd33;this[_0x539e68(0xa2)]&&this[_0x539e68(0xa2)][_0x539e68(0xbe)]();}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x115),()=>{const _0xb8487f=_0x48dd33;this[_0xb8487f(0xa6)](!0x0);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xad),()=>{const _0x382e7c=_0x48dd33;if(!this[_0x382e7c(0xa2)])return;const _0x119bcf=this[_0x382e7c(0xa2)][_0x382e7c(0xc3)]();_0x119bcf[_0x382e7c(0x11f)]&&(this[_0x382e7c(0x11b)][_0x382e7c(0xa7)](_0x119bcf[_0x382e7c(0x10f)](_0x294092=>_0x294092['id'])),this[_0x382e7c(0xa2)][_0x382e7c(0x97)](),this[_0x382e7c(0xcd)]());}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xc0),(_0x22ae4b,_0x49681c)=>{const _0x30dc98=_0x48dd33;if(!this[_0x30dc98(0xa2)]||!this[_0x30dc98(0xa2)][_0x30dc98(0xd9)](_0x49681c['id']))return;this[_0x30dc98(0x11b)][_0x30dc98(0xa7)]([_0x49681c['id']]),this[_0x30dc98(0xa2)][_0x30dc98(0x127)](_0x49681c['id']),this[_0x30dc98(0xdd)][_0x30dc98(0x117)]();const _0x10df0c=_0x49681c['id'][_0x30dc98(0xbb)]('-');this[_0x30dc98(0xcd)](_0x10df0c[0x0]);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xb1),(_0xf18c9e,_0x53f0fd)=>{const _0xd43e55=_0x48dd33;if(!this[_0xd43e55(0xa2)]||!this[_0xd43e55(0xa2)][_0xd43e55(0xd9)](_0x53f0fd['id']))return;this[_0xd43e55(0x11b)][_0xd43e55(0xb4)](_0x53f0fd['id']),this[_0xd43e55(0xa2)][_0xd43e55(0xc8)](_0x53f0fd['id']),this[_0xd43e55(0xdd)][_0xd43e55(0x117)]();const _0x4d54ae=_0x53f0fd['id'][_0xd43e55(0xbb)]('-');this[_0xd43e55(0xcd)](_0x4d54ae[0x0]);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xf4),(_0x439568,_0x16a958)=>{const _0x101837=_0x48dd33;this[_0x101837(0x108)]=_0x16a958['on'],this[_0x101837(0xf6)](this[_0x101837(0x108)]);}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0x102),async()=>{const _0x359081=_0x48dd33;this[_0x359081(0xa2)]&&await this[_0x359081(0xa2)][_0x359081(0x133)]();}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xfa),(_0x19487e,_0x1bfb19)=>{const _0x408eaf=_0x48dd33;this[_0x408eaf(0xa2)]&&(this[_0x408eaf(0x132)]=_0x408eaf(0xfd),this[_0x408eaf(0xa2)][_0x408eaf(0xfa)](_0x1bfb19['id']));}),this[_0x48dd33(0x12a)](this[_0x48dd33(0xdd)],_0x48dd33(0xdc),()=>{const _0x575134=_0x48dd33;this[_0x575134(0xa2)]&&this[_0x575134(0xa2)][_0x575134(0xdc)]();}),this[_0x48dd33(0x12a)](this[_0x48dd33(0x11b)][_0x48dd33(0x110)],_0x48dd33(0x128),(_0xcfaa2f,_0x4692e8)=>{const _0x3635a4=_0x48dd33;this[_0x3635a4(0xa2)]&&(this[_0x3635a4(0x132)]=_0x3635a4(0x111),this[_0x3635a4(0xa2)][_0x3635a4(0xfa)](_0x4692e8[_0x3635a4(0x9e)]));});}[_0x59cf4a(0xcd)](_0x587283){const _0x3cef51=_0x59cf4a;if(!this[_0x3cef51(0xa2)])return;const _0x1089fb={'positiveCount':this[_0x3cef51(0xa2)][_0x3cef51(0x12b)](),'totalCount':this[_0x3cef51(0xa2)][_0x3cef51(0x101)]()};if(0x0===_0x1089fb[_0x3cef51(0xc4)])return;const _0x3320b7=this[_0x3cef51(0xa2)][_0x3cef51(0x10c)];if(this[_0x3cef51(0xa2)]instanceof _0x227774){const _0x305de5=this[_0x3cef51(0xa2)][_0x3cef51(0x11a)];this[_0x3cef51(0xcb)][_0x3cef51(0xdb)](_0x305de5,_0x3320b7,_0x1089fb,_0x587283);}else this[_0x3cef51(0xa2)]instanceof _0x32cc52&&this[_0x3cef51(0xcb)][_0x3cef51(0xb3)](_0x3320b7,_0x1089fb,_0x587283);}[_0x59cf4a(0xa6)](_0x5aca51=!0x1){const _0x113458=_0x59cf4a;this[_0x113458(0xa2)]&&(this[_0x113458(0xcd)](),this[_0x113458(0xa2)][_0x113458(0xbe)](),this[_0x113458(0xa2)][_0x113458(0xa8)](),this[_0x113458(0xa2)]=void 0x0),_0x5aca51&&this[_0x113458(0xdd)][_0x113458(0xbc)](),this[_0x113458(0x11b)][_0x113458(0xd1)](),this[_0x113458(0x11b)][_0x113458(0x10a)](),this[_0x113458(0x132)]=null;const _0x2060ba=this[_0x113458(0x11b)][_0x113458(0xab)]();_0x2060ba&&_0x2060ba[_0x113458(0xc1)][_0x113458(0x98)][_0x113458(0x11e)](_0x108ed8=>{const _0x2682ff=_0x113458,_0x502947=_0x2060ba[_0x2682ff(0xc1)][_0x2682ff(0x98)][_0x2682ff(0xa9)][_0x2682ff(0xc5)]();_0x108ed8[_0x2682ff(0xdf)](_0x2682ff(0xf2),_0x502947),_0x108ed8[_0x2682ff(0xdf)](_0x2682ff(0x100),_0x502947);});}[_0x59cf4a(0xf6)](_0x2680cc){const _0x556752=_0x59cf4a,_0x25d288=this[_0x556752(0x11b)][_0x556752(0xab)]();_0x25d288&&_0x25d288[_0x556752(0xc1)][_0x556752(0x98)][_0x556752(0x11e)](_0x1da237=>{const _0x4c8413=_0x556752,_0x5bdd1b=_0x25d288[_0x4c8413(0xc1)][_0x4c8413(0x98)][_0x4c8413(0xa9)][_0x4c8413(0xc5)]();_0x1da237[_0x4c8413(0xdf)](_0x4c8413(0xf2),_0x5bdd1b),_0x1da237[_0x4c8413(0xdf)](_0x4c8413(0x100),_0x5bdd1b),_0x1da237[_0x4c8413(0x12d)](_0x2680cc?_0x4c8413(0xf2):_0x4c8413(0x100),_0x5bdd1b);});}[_0x59cf4a(0x109)](_0x271950){const _0x24b275=_0x59cf4a;return _0x271950[_0x24b275(0x10f)](_0x386159=>{const _0x5db476=_0x24b275,_0x1de40a=_0x5db476(0xc7)+_0x386159['id'][_0x5db476(0x129)]()[_0x5db476(0x124)]('-','_'),_0x25eb27={..._0x386159,'title':this[_0x5db476(0x9a)](_0x1de40a+_0x5db476(0xe3),_0x386159[_0x5db476(0xd0)]),'description':this[_0x5db476(0x9a)](_0x1de40a+_0x5db476(0xe5),_0x386159[_0x5db476(0x12f)])};return _0x386159[_0x5db476(0xec)]&&(_0x25eb27[_0x5db476(0xec)]=_0x386159[_0x5db476(0xec)][_0x5db476(0x10f)](_0x1ae210=>({..._0x1ae210,'label':this[_0x5db476(0x9a)](_0x1de40a+_0x5db476(0xb9),_0x1ae210[_0x5db476(0xb0)]||''),'data':_0x1ae210[_0x5db476(0x126)]?_0x1ae210[_0x5db476(0x126)][_0x5db476(0x10f)](_0x30c73f=>({..._0x30c73f,'label':this[_0x5db476(0x9a)](_0x1de40a+_0x5db476(0xef)+_0x30c73f['id'][_0x5db476(0x129)](),_0x30c73f[_0x5db476(0xb0)])})):void 0x0}))),_0x25eb27;});}[_0x59cf4a(0x9a)](_0xf08bcc,_0x44d645){const _0x5e22c5=_0x59cf4a,_0x4e61f1=this[_0x5e22c5(0xfc)][_0x5e22c5(0xd5)],_0x1077dc=_0x2f7339(_0x4e61f1,_0xf08bcc);return _0x1077dc===_0xf08bcc?_0x44d645:_0x1077dc;}[_0x59cf4a(0x99)](_0x5e9ed9){const _0x4cfb9c=_0x59cf4a;_0x50995a(_0x5e9ed9[_0x4cfb9c(0xa4)]),this[_0x4cfb9c(0xdd)][_0x4cfb9c(0x9d)]();}}
|
|
23
|
+
const _0x866354=_0x59f5;(function(_0x250353,_0x5737bc){const _0x4a0d63=_0x59f5,_0x3505eb=_0x250353();while(!![]){try{const _0x354461=-parseInt(_0x4a0d63(0x179))/0x1+parseInt(_0x4a0d63(0x1cc))/0x2*(parseInt(_0x4a0d63(0x155))/0x3)+-parseInt(_0x4a0d63(0x19a))/0x4+-parseInt(_0x4a0d63(0x164))/0x5+parseInt(_0x4a0d63(0x1b1))/0x6*(-parseInt(_0x4a0d63(0x1bd))/0x7)+-parseInt(_0x4a0d63(0x13e))/0x8*(-parseInt(_0x4a0d63(0x15f))/0x9)+parseInt(_0x4a0d63(0x1c7))/0xa*(parseInt(_0x4a0d63(0x167))/0xb);if(_0x354461===_0x5737bc)break;else _0x3505eb['push'](_0x3505eb['shift']());}catch(_0x1cbb69){_0x3505eb['push'](_0x3505eb['shift']());}}}(_0x1572,0x412c3));function _0x1572(){const _0x36a97f=['ai.reviewMode.translations','_currentReviewCheckRun','AIReviewModeUI','.ck-ai-review-mode__check-run-result','accepted','reviewCheckResultRejected','aborted','removeClass','source','changeId','reviewCheckRunUpdated','_aiConnector','AIReviewModeEditing','document','checks','requires','showReviewCheckList','replaceAll','_getTranslationWithDefault','totalCount','restart','_onDiffChange','closest','translate','330568aOAULJ','getTotalChangesCount','abort','message','setCheckResultTitle','stopListening','description','_changeActivationSource','ready','AI_REVIEW_CHECK_','upsertCustomAIReviewRating','map','applyChange','change','acceptChange','leaveReviewModeResultList','setActiveStateInResults','args','_DESCRIPTION','showChunkErrorView','diffContent','prompt','panel','3Mhwvlb','content','includes','_onReviewModeRunLeave','ck-ai-review-mode-highlights','_TITLE','contentNew','dismissChange','resetActiveStateInResults','_OPTIONS_LABEL','9PvOzHP','AIConnector','updateChangeState','aireviewmode-check-run-failed','markAllChangesAsAccepted','1806210MYpDon','markChangeAsRejected','hideChangeBalloon','33506JZNtWU','contentInitial','options','getChangeElement','reviewName','unmodified','processedResultsCount','showCheckRunResult','error-chunk','reviewCheckResultAccepted','custom','init','listenTo','changes','_aiReviewModeEditing','domElement','get','isCustom','298435bAAyZj','reviewCheckResultActivated','ck-ai-review-mode-diff','_logError','find','showNoChangesView','isPremiumPlugin','data','_aiReviewCheckList','finished','abortReviewStream','aireviewmode-no-current-check-run','_aiReviewModeUi','leaveReviewMode','title','getDocumentData','getReviewCheckList','showGeneralErrorView','context','view','documentData','rejectChange','editing','config','getCheckById','loading','getActiveChanges','markChangeAsAccepted','getMarkerElementForChange','start','reviewCheckResultReady','model','models','742428CMIyns','activateChange','switchToReadOnly','changeMarkerClick','ai-request-aborted','forceReadyState','reviewCheckResultAdded','length','isOfficialPlugin','upsertAIReviewRating','error-general','pluginName','getEditor','showReviewCompletedView','rejected','result','showCheckRunResults','status','locale','clearAllMarkers','isChangeActive','emitter','split','78sVRgKY','_OPTIONS_DATA_','runReviewCheck','_isDiffOn','AI_MODEL_DESCRIPTION_','setAvailableChecks','getAll','addClass','switchToEdit','deactivateChange','retryReview','callId','80857xFVNpZ','_updateRatings','_translateReviewChecks','toUpperCase','toggleDiff','aireviewmode-source-check-not-found','plugins','showChangeBalloon','showActionsWhenResultIsReady','params','3070ckvgMa','markChangePositionInEditorContent','label','AIReviewModeController','addResultChanges','571902UOGEYt','getRoot','getAcceptedChangesCount','reviewCheckResultDeactivated','finishReview','acceptAllChanges'];_0x1572=function(){return _0x36a97f;};return _0x1572();}import{ContextPlugin as _0x500dd6}from'ckeditor5/src/core.js';import{CKEditorError as _0x49c5f8,logError as _0x4955af,scrollAncestorsToShowTarget as _0x3d7e08,scrollViewportToShowTarget as _0x25eb98}from'ckeditor5/src/utils.js';import{AIConnector as _0x3aedd0}from'../aicore/aiconnector.js';function _0x59f5(_0x3c9dd7,_0x26e13b){const _0x1572e9=_0x1572();return _0x59f5=function(_0x59f53d,_0x113ddf){_0x59f53d=_0x59f53d-0x137;let _0xfc7141=_0x1572e9[_0x59f53d];return _0xfc7141;},_0x59f5(_0x3c9dd7,_0x26e13b);}import{AIReviewCheckList as _0x2b7ead}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5ce461}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x454a48}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x97e860}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x2737ad}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x267b9d}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x500dd6{[_0x866354(0x1dd)];[_0x866354(0x185)];[_0x866354(0x175)];[_0x866354(0x181)];[_0x866354(0x1d3)];[_0x866354(0x1b4)]=!0x1;[_0x866354(0x145)]=null;static get[_0x866354(0x1e1)](){return[_0x3aedd0];}static get[_0x866354(0x1a5)](){const _0x3deef4=_0x866354;return _0x3deef4(0x1ca);}static get[_0x866354(0x1a2)](){return!0x0;}static get[_0x866354(0x17f)](){return!0x0;}async[_0x866354(0x172)](){const _0x4cafc4=_0x866354;this[_0x4cafc4(0x1dd)]=this[_0x4cafc4(0x18b)][_0x4cafc4(0x1c3)][_0x4cafc4(0x177)](_0x4cafc4(0x160)),this[_0x4cafc4(0x185)]=this[_0x4cafc4(0x18b)][_0x4cafc4(0x1c3)][_0x4cafc4(0x177)](_0x4cafc4(0x1d4)),this[_0x4cafc4(0x175)]=this[_0x4cafc4(0x18b)][_0x4cafc4(0x1c3)][_0x4cafc4(0x177)](_0x4cafc4(0x1de));const _0x469dbc=this[_0x4cafc4(0x18b)][_0x4cafc4(0x190)][_0x4cafc4(0x177)](_0x4cafc4(0x1d2));if(_0x469dbc){for(const _0x485488 of _0x2737ad)_0x4cafc4(0x13d)===_0x485488['id']&&(_0x485488[_0x4cafc4(0x169)][0x0][_0x4cafc4(0x180)]=_0x469dbc);}const _0x437d2a=this[_0x4cafc4(0x1bf)](_0x2737ad);this[_0x4cafc4(0x181)]=new _0x2b7ead(_0x437d2a);const _0x4a6e6b=this[_0x4cafc4(0x181)][_0x4cafc4(0x1e0)][_0x4cafc4(0x17d)](_0xb40d16=>_0x4cafc4(0x171)===_0xb40d16['id']);if(_0x4a6e6b){const _0x460eef=await new _0x97e860({'connector':this[_0x4cafc4(0x1dd)]})[_0x4cafc4(0x1b7)]();_0x4a6e6b[_0x4cafc4(0x199)]=_0x460eef[_0x4cafc4(0x149)](_0x464522=>({..._0x464522,'description':this[_0x4cafc4(0x138)](_0x4cafc4(0x1b5)+_0x464522['id'][_0x4cafc4(0x1c0)](),_0x464522[_0x4cafc4(0x144)])}));}this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x189),()=>{const _0x272175=_0x4cafc4;this[_0x272175(0x185)][_0x272175(0x1b6)](this[_0x272175(0x181)][_0x272175(0x1e0)]);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1b3),async(_0x4ca7cc,_0x3026cf)=>{const _0x487202=_0x4cafc4,_0x1d6a6a=this[_0x487202(0x181)][_0x487202(0x191)](_0x3026cf['id']);if(_0x1d6a6a){this[_0x487202(0x13b)](this[_0x487202(0x1b4)]),_0x3026cf[_0x487202(0x178)]?this[_0x487202(0x1d3)]=new _0x454a48(_0x3026cf[_0x487202(0x14f)][_0x487202(0x153)],_0x3026cf[_0x487202(0x14f)][_0x487202(0x198)],this[_0x487202(0x175)][_0x487202(0x188)](),_0x1d6a6a,this[_0x487202(0x1dd)]):this[_0x487202(0x1d3)]=new _0x5ce461(this[_0x487202(0x175)][_0x487202(0x188)](),_0x1d6a6a,this[_0x487202(0x1dd)],_0x3026cf[_0x487202(0x1c6)],_0x3026cf[_0x487202(0x14f)]),this[_0x487202(0x185)][_0x487202(0x142)](this[_0x487202(0x1d3)][_0x487202(0x187)]),this[_0x487202(0x1d3)]['on'](_0x487202(0x1dc),(_0x46b96b,_0x2f9eb2)=>{const _0x96a7c8=_0x487202;_0x96a7c8(0x180)===_0x2f9eb2[_0x96a7c8(0x1ab)]||_0x96a7c8(0x192)===_0x2f9eb2[_0x96a7c8(0x1ab)]?(this[_0x96a7c8(0x175)][_0x96a7c8(0x19c)](),this[_0x96a7c8(0x185)][_0x96a7c8(0x1aa)](_0x2f9eb2)):_0x96a7c8(0x182)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x1a7)]():_0x96a7c8(0x146)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x1c5)]():_0x96a7c8(0x16c)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x17e)]():_0x96a7c8(0x1a4)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x18a)]():_0x96a7c8(0x16f)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x151)]():_0x96a7c8(0x1d8)===_0x2f9eb2[_0x96a7c8(0x1ab)]&&(this[_0x96a7c8(0x1d3)]&&this[_0x96a7c8(0x1d3)][_0x96a7c8(0x16d)]>0x0?setTimeout(()=>{const _0x4273ea=_0x96a7c8;this[_0x4273ea(0x1d3)]?.[_0x4273ea(0x19f)]();},0x0):this[_0x96a7c8(0x158)](!0x0));}),this[_0x487202(0x1d3)]['on'](_0x487202(0x1a0),(_0x7406a9,_0x41e784)=>{const _0x659106=_0x487202;if(!this[_0x659106(0x1d3)])throw new _0x49c5f8(_0x659106(0x184),this);const _0x4fce3f=this[_0x659106(0x175)][_0x659106(0x152)](_0x41e784[_0x659106(0x1a9)][_0x659106(0x168)],_0x41e784[_0x659106(0x1a9)][_0x659106(0x15b)]);_0x41e784[_0x659106(0x1da)][_0x659106(0x1cb)](_0x41e784[_0x659106(0x1a9)]['id'],_0x4fce3f);}),this[_0x487202(0x1d3)]['on'](_0x487202(0x197),(_0x5382f7,_0x44fc73)=>{const _0x6f2778=_0x487202;for(const _0x4ef2e7 of _0x44fc73[_0x6f2778(0x174)])this[_0x6f2778(0x185)][_0x6f2778(0x16e)](_0x4ef2e7);this[_0x6f2778(0x175)][_0x6f2778(0x1c8)](_0x44fc73[_0x6f2778(0x174)],_0x44fc73[_0x6f2778(0x1da)][_0x6f2778(0x18d)]);}),this[_0x487202(0x1d3)]['on'](_0x487202(0x170),(_0x43dbdf,_0x44b6a1)=>{const _0x5c5e11=_0x487202;this[_0x5c5e11(0x185)][_0x5c5e11(0x161)](_0x44b6a1[_0x5c5e11(0x14b)]['id'],_0x5c5e11(0x1d6));}),this[_0x487202(0x1d3)]['on'](_0x487202(0x1d7),(_0x46910d,_0x26051c)=>{const _0x174bb1=_0x487202;this[_0x174bb1(0x185)][_0x174bb1(0x161)](_0x26051c[_0x174bb1(0x14b)]['id'],_0x174bb1(0x1a8));}),this[_0x487202(0x1d3)]['on'](_0x487202(0x17a),(_0x111ec3,_0x51343a)=>{const _0x43f31d=_0x487202;this[_0x43f31d(0x185)][_0x43f31d(0x14e)](_0x51343a[_0x43f31d(0x14b)]['id']);const _0x37d051=this[_0x43f31d(0x175)][_0x43f31d(0x195)](_0x51343a[_0x43f31d(0x14b)]['id']);if(_0x37d051){if(_0x43f31d(0x156)===this[_0x43f31d(0x145)]){const _0x5a9a07=this[_0x43f31d(0x185)][_0x43f31d(0x16a)](_0x51343a[_0x43f31d(0x14b)]['id']);_0x5a9a07&&_0x3d7e08(_0x5a9a07[_0x43f31d(0x13c)](_0x43f31d(0x1d5))||_0x5a9a07);}else{if(_0x43f31d(0x154)===this[_0x43f31d(0x145)]){const _0x4430af={'target':_0x37d051[_0x43f31d(0x176)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x25eb98(_0x4430af);}}this[_0x43f31d(0x185)][_0x43f31d(0x1c4)](_0x51343a[_0x43f31d(0x14b)],_0x37d051[_0x43f31d(0x176)]);}}),this[_0x487202(0x1d3)]['on'](_0x487202(0x1cf),()=>{const _0x144b16=_0x487202;this[_0x144b16(0x185)][_0x144b16(0x15d)]();});try{await this[_0x487202(0x1d3)][_0x487202(0x196)]();}catch(_0x31dea4){_0x31dea4 instanceof Error&&_0x31dea4[_0x487202(0x141)][_0x487202(0x157)](_0x487202(0x19e))||(_0x31dea4 instanceof _0x49c5f8?this[_0x487202(0x17c)](_0x31dea4):this[_0x487202(0x17c)](new _0x49c5f8(_0x487202(0x162),this,{'error':_0x31dea4})));}}else this[_0x487202(0x17c)](new _0x49c5f8(_0x487202(0x1c2),this,{'checkId':_0x3026cf['id']}));}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x186),()=>{const _0x1c6cc1=_0x4cafc4;this[_0x1c6cc1(0x158)]();}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x14d),()=>{const _0x437156=_0x4cafc4;this[_0x437156(0x158)](!0x0);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x183),()=>{const _0x3c6609=_0x4cafc4;this[_0x3c6609(0x1d3)]&&this[_0x3c6609(0x1d3)][_0x3c6609(0x140)]();}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1d0),()=>{const _0xf68871=_0x4cafc4;this[_0xf68871(0x158)](!0x0);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1d1),()=>{const _0x34ef84=_0x4cafc4;if(!this[_0x34ef84(0x1d3)])return;const _0x4b3c6d=this[_0x34ef84(0x1d3)][_0x34ef84(0x193)]();_0x4b3c6d[_0x34ef84(0x1a1)]&&(this[_0x34ef84(0x175)][_0x34ef84(0x14a)](_0x4b3c6d[_0x34ef84(0x149)](_0x1bb48e=>_0x1bb48e['id'])),this[_0x34ef84(0x1d3)][_0x34ef84(0x163)](),this[_0x34ef84(0x1be)]());}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x14c),(_0x20c2ef,_0x482eb2)=>{const _0x5b133a=_0x4cafc4;if(!this[_0x5b133a(0x1d3)]||!this[_0x5b133a(0x1d3)][_0x5b133a(0x1ae)](_0x482eb2['id']))return;this[_0x5b133a(0x175)][_0x5b133a(0x14a)]([_0x482eb2['id']]),this[_0x5b133a(0x1d3)][_0x5b133a(0x194)](_0x482eb2['id']),this[_0x5b133a(0x185)][_0x5b133a(0x166)]();const _0x2981d8=_0x482eb2['id'][_0x5b133a(0x1b0)]('-');this[_0x5b133a(0x1be)](_0x2981d8[0x0]);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x15c),(_0xc8890e,_0x1fa15c)=>{const _0x1f94d8=_0x4cafc4;if(!this[_0x1f94d8(0x1d3)]||!this[_0x1f94d8(0x1d3)][_0x1f94d8(0x1ae)](_0x1fa15c['id']))return;this[_0x1f94d8(0x175)][_0x1f94d8(0x18e)](_0x1fa15c['id']),this[_0x1f94d8(0x1d3)][_0x1f94d8(0x165)](_0x1fa15c['id']),this[_0x1f94d8(0x185)][_0x1f94d8(0x166)]();const _0x40739f=_0x1fa15c['id'][_0x1f94d8(0x1b0)]('-');this[_0x1f94d8(0x1be)](_0x40739f[0x0]);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1c1),(_0x4f882c,_0x51dbbb)=>{const _0x4b9200=_0x4cafc4;this[_0x4b9200(0x1b4)]=_0x51dbbb['on'],this[_0x4b9200(0x13b)](this[_0x4b9200(0x1b4)]);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1bb),async()=>{const _0x12002f=_0x4cafc4;this[_0x12002f(0x1d3)]&&await this[_0x12002f(0x1d3)][_0x12002f(0x13a)]();}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x19b),(_0x289d0c,_0x5c8fd7)=>{const _0x1b4e7a=_0x4cafc4;this[_0x1b4e7a(0x1d3)]&&(this[_0x1b4e7a(0x145)]=_0x1b4e7a(0x154),this[_0x1b4e7a(0x1d3)][_0x1b4e7a(0x19b)](_0x5c8fd7['id']));}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1ba),()=>{const _0x256377=_0x4cafc4;this[_0x256377(0x1d3)]&&this[_0x256377(0x1d3)][_0x256377(0x1ba)]();}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x175)][_0x4cafc4(0x1af)],_0x4cafc4(0x19d),(_0x5d824a,_0x3b6eda)=>{const _0x2c61bc=_0x4cafc4;this[_0x2c61bc(0x1d3)]&&(this[_0x2c61bc(0x145)]=_0x2c61bc(0x156),this[_0x2c61bc(0x1d3)][_0x2c61bc(0x19b)](_0x3b6eda[_0x2c61bc(0x1db)]));});}[_0x866354(0x1be)](_0x1f3d4e){const _0x2b8652=_0x866354;if(!this[_0x2b8652(0x1d3)])return;const _0x3c37b={'positiveCount':this[_0x2b8652(0x1d3)][_0x2b8652(0x1ce)](),'totalCount':this[_0x2b8652(0x1d3)][_0x2b8652(0x13f)]()};if(0x0===_0x3c37b[_0x2b8652(0x139)])return;const _0x2941dd=this[_0x2b8652(0x1d3)][_0x2b8652(0x1bc)];if(this[_0x2b8652(0x1d3)]instanceof _0x5ce461){const _0x5c93eb=this[_0x2b8652(0x1d3)][_0x2b8652(0x16b)];this[_0x2b8652(0x1dd)][_0x2b8652(0x1a3)](_0x5c93eb,_0x2941dd,_0x3c37b,_0x1f3d4e);}else this[_0x2b8652(0x1d3)]instanceof _0x454a48&&this[_0x2b8652(0x1dd)][_0x2b8652(0x148)](_0x2941dd,_0x3c37b,_0x1f3d4e);}[_0x866354(0x158)](_0x4a2af2=!0x1){const _0x58af60=_0x866354;this[_0x58af60(0x1d3)]&&(this[_0x58af60(0x1be)](),this[_0x58af60(0x1d3)][_0x58af60(0x140)](),this[_0x58af60(0x1d3)][_0x58af60(0x143)](),this[_0x58af60(0x1d3)]=void 0x0),_0x4a2af2&&this[_0x58af60(0x185)][_0x58af60(0x1e2)](),this[_0x58af60(0x175)][_0x58af60(0x1ad)](),this[_0x58af60(0x175)][_0x58af60(0x1b9)](),this[_0x58af60(0x145)]=null;const _0x19d391=this[_0x58af60(0x175)][_0x58af60(0x1a6)]();_0x19d391&&_0x19d391[_0x58af60(0x18f)][_0x58af60(0x18c)][_0x58af60(0x14b)](_0x83af3e=>{const _0xb4c2a4=_0x58af60,_0x82aa7d=_0x19d391[_0xb4c2a4(0x18f)][_0xb4c2a4(0x18c)][_0xb4c2a4(0x1df)][_0xb4c2a4(0x1cd)]();_0x83af3e[_0xb4c2a4(0x1d9)](_0xb4c2a4(0x17b),_0x82aa7d),_0x83af3e[_0xb4c2a4(0x1d9)](_0xb4c2a4(0x159),_0x82aa7d);});}[_0x866354(0x13b)](_0x24f28f){const _0x2aa1b5=_0x866354,_0x5360d6=this[_0x2aa1b5(0x175)][_0x2aa1b5(0x1a6)]();_0x5360d6&&_0x5360d6[_0x2aa1b5(0x18f)][_0x2aa1b5(0x18c)][_0x2aa1b5(0x14b)](_0x18e481=>{const _0x2f4d04=_0x2aa1b5,_0x54ecbd=_0x5360d6[_0x2f4d04(0x18f)][_0x2f4d04(0x18c)][_0x2f4d04(0x1df)][_0x2f4d04(0x1cd)]();_0x18e481[_0x2f4d04(0x1d9)](_0x2f4d04(0x17b),_0x54ecbd),_0x18e481[_0x2f4d04(0x1d9)](_0x2f4d04(0x159),_0x54ecbd),_0x18e481[_0x2f4d04(0x1b8)](_0x24f28f?_0x2f4d04(0x17b):_0x2f4d04(0x159),_0x54ecbd);});}[_0x866354(0x1bf)](_0x4a65b5){const _0x4d8f5b=_0x866354;return _0x4a65b5[_0x4d8f5b(0x149)](_0x282edb=>{const _0x339197=_0x4d8f5b,_0xf86b8e=_0x339197(0x147)+_0x282edb['id'][_0x339197(0x1c0)]()[_0x339197(0x137)]('-','_'),_0x3a82a5={..._0x282edb,'title':this[_0x339197(0x138)](_0xf86b8e+_0x339197(0x15a),_0x282edb[_0x339197(0x187)]),'description':this[_0x339197(0x138)](_0xf86b8e+_0x339197(0x150),_0x282edb[_0x339197(0x144)])};return _0x282edb[_0x339197(0x169)]&&(_0x3a82a5[_0x339197(0x169)]=_0x282edb[_0x339197(0x169)][_0x339197(0x149)](_0x1d2595=>({..._0x1d2595,'label':this[_0x339197(0x138)](_0xf86b8e+_0x339197(0x15e),_0x1d2595[_0x339197(0x1c9)]||''),'data':_0x1d2595[_0x339197(0x180)]?_0x1d2595[_0x339197(0x180)][_0x339197(0x149)](_0x3ea5e4=>({..._0x3ea5e4,'label':this[_0x339197(0x138)](_0xf86b8e+_0x339197(0x1b2)+_0x3ea5e4['id'][_0x339197(0x1c0)](),_0x3ea5e4[_0x339197(0x1c9)])})):void 0x0}))),_0x3a82a5;});}[_0x866354(0x138)](_0x1f3933,_0x56a29a){const _0x11044f=_0x866354,_0x1b19b9=this[_0x11044f(0x18b)][_0x11044f(0x1ac)],_0x353938=_0x267b9d(_0x1b19b9,_0x1f3933);return _0x353938===_0x1f3933?_0x56a29a:_0x353938;}[_0x866354(0x17c)](_0x2a9a7b){const _0x1082c9=_0x866354;_0x4955af(_0x2a9a7b[_0x1082c9(0x141)]),this[_0x1082c9(0x185)][_0x1082c9(0x18a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3eef3d=_0x44ce;(function(_0x52bded,_0x25c250){const _0x5dc882=_0x44ce,_0x5f0952=_0x52bded();while(!![]){try{const _0x24d30d=parseInt(_0x5dc882(0x16a))/0x1*(parseInt(_0x5dc882(0x10a))/0x2)+parseInt(_0x5dc882(0x120))/0x3+parseInt(_0x5dc882(0x12a))/0x4*(parseInt(_0x5dc882(0xd8))/0x5)+parseInt(_0x5dc882(0xc8))/0x6*(parseInt(_0x5dc882(0x101))/0x7)+-parseInt(_0x5dc882(0x13f))/0x8*(parseInt(_0x5dc882(0x133))/0x9)+parseInt(_0x5dc882(0xcf))/0xa+parseInt(_0x5dc882(0xf0))/0xb*(-parseInt(_0x5dc882(0xbb))/0xc);if(_0x24d30d===_0x25c250)break;else _0x5f0952['push'](_0x5f0952['shift']());}catch(_0x50e480){_0x5f0952['push'](_0x5f0952['shift']());}}}(_0x315e,0xdea0d));import{InsertOperation as _0x20fc85,MarkerOperation as _0x4e4c04,ModelDocumentFragment as _0x4c829e,ModelPosition as _0x41eb99,ModelRange as _0x3e4a8a,ModelTreeWalker as _0x42c188,transformOperationSets as _0x5bff13}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x3626ab,EmitterMixin as _0x54aa85}from'ckeditor5/src/utils.js';function _0x315e(){const _0x30c7ed=['getRange','ck-ai_review-mode-marker_context-','_changeRangeOwnerDocument','getChildren','parentElement','isOfficialPlugin','enableReadOnlyMode','clearAllMarkers','No\x20element\x20found\x20for\x20ID:\x20','afterInit','[data-marker-id=\x22','innerHTML','switchToEdit','_domEmitter','_getChangeContext','11GzmcLm','caption','_getOperationStart','operationsIsolated','index','set','ellipsisBefore','_createGetContentFn','sort','name','insertContent','suggestion:deletion:id:authorId:','startsWith','markerName','remove-text','change','position','2800OORjJp','backward','affectsData','processor','ellipsisAfter','clear','target','isAtEnd','changeMarkerClick','1572112hBwRnH','isDocumentOperation','from','groupId','outerHTML','history','createText','getDocumentData','marker','values','path','newRange','every','_createGetContentUsingDataIdFn','_changeOperationOwnerDocument','markerToHighlight','querySelector','AIEditing','getRoots','context','_sortMarkers','addOperation','1710201Jxpmvn','isTouching','_changePositionOwnerDocument','isAtStart','dataDowncast','applyChange','_translateOperationToEditorContent','offsetSize','hasClass','model:$text','782860NIWYpD','_shiftOperation','warn','get','concat','plugins','flat','fire','_changePosition','333KETUyY','ai-review-mode','isPremiumPlugin','hasAttribute','markerToElement','ck-ai_review-mode-marker_strikethrough','ck-ai_review-mode-marker_hide','getRoot','createRange','for','_eventEmitter','className','43376qxqteB','emitter','text','getDiff','append','filter','ck-ai_review-mode-marker_context-end','domConverter','operationsA','delete','diffContent','version','ck-ai_review-mode-marker_underline','insert','_findAdjacentContextDistance','click','getChild','getPath','elements','parse','push','batch','oldRange','keys','AIReviewModeEditing','editing','model','getOperations','_findMarkerElement','toDomElement','createPositionAfter','_nextDataId','$textProxy','span','requires','map','getDomRoot','createPositionAt','data','split','suggestion:insertion:id:authorId:','removeMarker','getEditor','1FOqsbw','toView','suggestion-context','parent','view','_markers','end','DocumentCompare','hasContentAfter','_changeRange','element','ck-ai_review-mode-marker_context-start','ck-ai_review-mode-marker_add','_appendChild','_getOperationEnd','conversion','remove-only','$documentFragment','switchToReadOnly','_createGetContextFn','reviewmode-','createSelection','disableReadOnlyMode','listenTo','nodes','createRawElement','_insertMarkers','offset','htmlWriter','isOpening','getAttribute','pluginName','length','jumpTo','baseVersion','stringify','start','getMarkerElementForChange','_removeAttribute','createUIElement','schema','_groupAdjacentOperations','includes','add','pop','39441996dgQkwQ','data-marker-id','viewToDom','createDocumentFragment','getHtml','type','rejectChange','htmlProcessor','clone','[data-id=\x22','deleteContent','childCount','toData','11940APnJCl','exec','howMany','applyOperation','isInline','addMarker','document','10729190UsqmdQ','getShiftedBy','forward','remove-context','_clone','ck-ai_review-mode-marker_','editingDowncast','attributeToAttribute','_setAttribute','30OebYBa','downcast','documentFragment','markChangePositionInEditorContent','markers','$markedRemove','hasContentBefore','_removeChildren','_getMarkersDataForGroup'];_0x315e=function(){return _0x30c7ed;};return _0x315e();}import{ContextPlugin as _0x4c8494}from'ckeditor5/src/core.js';import{DocumentCompare as _0x44c1e4,DATA_ID_MODEL_ATTRIBUTE as _0x26b437,DATA_ID_VIEW_ATTRIBUTE as _0x19830e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x44ce(_0x50783b,_0xd9a256){const _0x315ee7=_0x315e();return _0x44ce=function(_0x44cebf,_0x25c3a9){_0x44cebf=_0x44cebf-0xb3;let _0x5cdbad=_0x315ee7[_0x44cebf];return _0x5cdbad;},_0x44ce(_0x50783b,_0xd9a256);}import{getEditorFromContext as _0x4bdb29}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x515566}from'../aicore/aiediting.js';const oe=_0x3eef3d(0x17e);export class AIReviewModeEditing extends _0x4c8494{static get[_0x3eef3d(0x189)](){const _0x4a8934=_0x3eef3d;return _0x4a8934(0x157);}static get[_0x3eef3d(0x161)](){return[_0x44c1e4,_0x515566];}static get[_0x3eef3d(0xe6)](){return!0x0;}static get[_0x3eef3d(0x135)](){return!0x0;}[_0x3eef3d(0x16f)]=new Map();[_0x3eef3d(0xee)];[_0x3eef3d(0x13d)];constructor(_0x5f2af7){const _0x349e5d=_0x3eef3d;super(_0x5f2af7),this[_0x349e5d(0xee)]=new(_0x3626ab())(),this[_0x349e5d(0x13d)]=new(_0x54aa85())();}get[_0x3eef3d(0x140)](){const _0x3f88cd=_0x3eef3d;return this[_0x3f88cd(0x13d)];}[_0x3eef3d(0xea)](){const _0x5b08d5=_0x3eef3d,_0x127c70=_0x4bdb29(this[_0x5b08d5(0x11d)]);_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd5))[_0x5b08d5(0x137)]({'model':oe+_0x5b08d5(0x14c),'view':(_0x397d75,{writer:_0x201d42})=>{const _0x4ca412=_0x5b08d5,_0x20de57=this[_0x4ca412(0x16f)][_0x4ca412(0x12d)](_0x397d75[_0x4ca412(0xfd)]),_0x26b3f3={'class':_0x4ca412(0x176),'data-marker-id':_0x397d75[_0x4ca412(0xfd)]};return _0x201d42[_0x4ca412(0xb5)](_0x4ca412(0x160),_0x26b3f3,function(_0x33b98b){const _0x59bb0b=_0x4ca412,_0x5cbc0a=this[_0x59bb0b(0x15c)](_0x33b98b);return _0x5cbc0a[_0x59bb0b(0xec)]=_0x20de57?.[_0x59bb0b(0x141)]||'',_0x5cbc0a;});}}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd5))[_0x5b08d5(0x119)]({'model':oe+_0x5b08d5(0x17a),'view':_0x5c5b3a=>({'classes':_0x5b08d5(0x138),'attributes':{'data-marker-id':_0x5c5b3a[_0x5b08d5(0xfd)]}})}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd5))[_0x5b08d5(0x119)]({'model':oe+_0x5b08d5(0xd2),'view':_0x443b8f=>({'classes':_0x5b08d5(0x14b),'attributes':{'data-marker-id':_0x443b8f[_0x5b08d5(0xfd)]}})}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd5))[_0x5b08d5(0x119)]({'model':oe+_0x5b08d5(0xfe),'view':_0x304087=>({'classes':_0x5b08d5(0x139),'attributes':{'data-marker-id':_0x304087[_0x5b08d5(0xfd)]}})}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0x124))[_0x5b08d5(0x137)]({'model':oe+_0x5b08d5(0x16c),'view':(_0x1b01bc,{writer:_0x105c36})=>_0x105c36[_0x5b08d5(0x183)](_0x5b08d5(0x160),{'class':_0x5b08d5(0xe2)+(_0x1b01bc[_0x5b08d5(0x187)]?_0x5b08d5(0x18e):_0x5b08d5(0x170))})}),_0x127c70[_0x5b08d5(0x179)][_0x5b08d5(0x13c)](_0x5b08d5(0xd9))[_0x5b08d5(0xd6)]({'model':_0x26b437,'view':_0x19830e}),this[_0x5b08d5(0xee)][_0x5b08d5(0x181)](document,_0x5b08d5(0x14e),(_0x438ccb,_0xc19684)=>{const _0x557c1b=_0x5b08d5,_0x177d55=_0xc19684[_0x557c1b(0x107)],_0x38f009=this[_0x557c1b(0x15b)](_0x177d55);if(!_0x38f009)return;const _0x10804f=_0x38f009[_0x557c1b(0x188)](_0x557c1b(0xbc)),_0x124813=_0x10804f[_0x557c1b(0x166)](':')[_0x557c1b(0xba)]()?.[_0x557c1b(0x166)]('_')[0x0];this[_0x557c1b(0x13d)][_0x557c1b(0x131)](_0x557c1b(0x109),{'markerId':_0x10804f,'changeId':_0x124813});});}[_0x3eef3d(0x111)](){const _0x20fe33=_0x3eef3d,_0x2cd1f7=this[_0x20fe33(0x11d)][_0x20fe33(0x12f)][_0x20fe33(0x12d)](_0x20fe33(0x11b)),_0xd9b726=_0x4bdb29(this[_0x20fe33(0x11d)]),_0x1f8436=_0xd9b726[_0x20fe33(0x159)],_0x2aa516=new _0x4c829e();for(const _0x136902 of _0x1f8436[_0x20fe33(0xce)][_0x20fe33(0x13a)]()[_0x20fe33(0xe4)]()){const _0x22d547=_0x136902[_0x20fe33(0xd3)](!0x0);_0x2aa516[_0x20fe33(0x177)](_0x22d547);}for(const _0x422161 of _0x1f8436[_0x20fe33(0xdc)])_0x2aa516[_0x20fe33(0xdc)][_0x20fe33(0xf5)](_0x422161[_0x20fe33(0xf9)],this[_0x20fe33(0xe3)](_0x422161[_0x20fe33(0xe1)]()[_0x20fe33(0xc3)](),_0x2aa516));const _0x30e547=new _0x42c188({'ignoreElementEnd':!0x0,'startPosition':_0x1f8436[_0x20fe33(0x164)](_0x2aa516,0x0)}),_0x4f9cde=new Set(),_0x2f50d8=new Map();for(const {item:_0x5f0523}of _0x30e547){if(!_0x5f0523['is'](_0x20fe33(0x15f)))continue;const _0x3c8c9c=_0x5f0523[_0x20fe33(0x16d)];if((!_0x3c8c9c||!_0x3c8c9c['is'](_0x20fe33(0x174),_0x20fe33(0xf1)))&&(_0x3c8c9c&&_0x3c8c9c['is'](_0x20fe33(0x174)))){let _0x328749=_0x3c8c9c[_0x20fe33(0x188)](_0x26b437);_0x328749||(_0x328749=_0x2cd1f7[_0x20fe33(0x15e)](_0x4f9cde),_0x3c8c9c[_0x20fe33(0xd7)](_0x26b437,_0x328749)),_0x4f9cde[_0x20fe33(0xb9)](_0x328749);let _0xc1b3a0=_0x3c8c9c;for(;_0xc1b3a0[_0x20fe33(0x16d)]&&!_0xc1b3a0[_0x20fe33(0x16d)]['is'](_0x20fe33(0xda));)_0xc1b3a0=_0xc1b3a0[_0x20fe33(0x16d)],_0xc1b3a0[_0x20fe33(0x136)](_0x26b437)&&_0xc1b3a0[_0x20fe33(0xb4)](_0x26b437);_0x2f50d8[_0x20fe33(0xf5)](_0x328749,{'path':_0x3c8c9c[_0x20fe33(0x150)](),'getContent':this[_0x20fe33(0x117)](_0xc1b3a0[_0x20fe33(0xd3)](!0x0),_0x328749,_0xd9b726[_0x20fe33(0x165)])}),_0x30e547[_0x20fe33(0x18b)](_0x1f8436[_0x20fe33(0x15d)](_0x3c8c9c));}}return{'content':_0xd9b726[_0x20fe33(0x165)][_0x20fe33(0x104)][_0x20fe33(0xc7)](_0xd9b726[_0x20fe33(0x165)][_0x20fe33(0x16b)](_0x2aa516)),'version':_0xd9b726[_0x20fe33(0x159)][_0x20fe33(0xce)][_0x20fe33(0x14a)],'elements':_0x2f50d8};}[_0x3eef3d(0x149)](_0x1f0992,_0x233a5a){const _0xeba311=_0x3eef3d,_0x3c730a=_0x4bdb29(this[_0xeba311(0x11d)]),_0x5d4f3e=_0x3c730a[_0xeba311(0x165)][_0xeba311(0x152)](_0x1f0992,_0xeba311(0x17b)),_0x532b2d=_0x3c730a[_0xeba311(0x159)][_0xeba311(0x164)](_0x5d4f3e,0x0),_0x3ed307=this[_0xeba311(0x11d)][_0xeba311(0x12f)][_0xeba311(0x12d)](_0xeba311(0x171))[_0xeba311(0x142)](_0x1f0992,_0x233a5a,{'anchor':_0x532b2d,'markDeletions':!0x0})[_0xeba311(0x15a)]()[_0xeba311(0x144)](_0x5d81a1=>_0xeba311(0x14c)===_0x5d81a1[_0xeba311(0xc0)]||_0xeba311(0x112)===_0x5d81a1[_0xeba311(0xc0)]&&_0x5d81a1[_0xeba311(0xf9)][_0xeba311(0xfc)](_0xeba311(0xdd))),_0x1d1a67=this[_0xeba311(0xb7)](_0x3ed307),_0x4cf9d9=[];let _0x48d027=0x0;return _0x3c730a[_0xeba311(0x159)][_0xeba311(0xff)](_0x31ad95=>{const _0x55081a=_0xeba311;for(let _0x171dab=0x0;_0x171dab<_0x1d1a67[_0x55081a(0x18a)];_0x171dab++){const _0x278944=_0x1d1a67[_0x171dab],_0x394577=_0x31ad95[_0x55081a(0xbe)]();for(const _0x4f5ccd of _0x5d4f3e[_0x55081a(0xe4)]())_0x31ad95[_0x55081a(0x143)](_0x4f5ccd[_0x55081a(0xd3)](!0x0),_0x394577);for(const _0x3b12d7 of _0x278944[_0x55081a(0xf3)])if(_0x55081a(0x14c)===_0x3b12d7[_0x55081a(0xc0)]){const _0x3c01d0=_0x3b12d7;_0x3c01d0[_0x55081a(0x18c)]=null,_0x3c01d0[_0x55081a(0x10b)]=!0x1,this[_0x55081a(0x118)](_0x3c01d0,_0x394577),_0x31ad95[_0x55081a(0x154)][_0x55081a(0x11f)](_0x3b12d7),_0x3c730a[_0x55081a(0x159)][_0x55081a(0xcb)](_0x3b12d7);const _0xbf8707=_0x55081a(0x167)+_0x48d027++,_0x439c53=_0x3c730a[_0x55081a(0x159)][_0x55081a(0x13b)](_0x3c01d0[_0x55081a(0x100)],_0x3c01d0[_0x55081a(0x100)][_0x55081a(0xd0)](_0x3c01d0[_0x55081a(0xca)]));_0x394577[_0x55081a(0xdc)][_0x55081a(0xf5)](_0xbf8707,_0x439c53);}else{if(_0x55081a(0x112)===_0x3b12d7[_0x55081a(0xc0)]&&_0x3b12d7[_0x55081a(0xf9)][_0x55081a(0xfc)](_0x55081a(0xdd))){const _0x1f5898=_0x3b12d7,_0x1af606=_0x55081a(0xfb)+_0x48d027++;this[_0x55081a(0x118)](_0x1f5898,_0x394577),_0x394577[_0x55081a(0xdc)][_0x55081a(0xf5)](_0x1af606,_0x1f5898[_0x55081a(0x115)]);}}const _0x2e3bb3=this[_0x55081a(0xef)](this[_0x55081a(0x122)](this[_0x55081a(0xf2)](_0x278944[_0x55081a(0xf3)][0x0]),_0x394577),this[_0x55081a(0x122)](this[_0x55081a(0x178)](_0x278944[_0x55081a(0xf3)][_0x278944[_0x55081a(0xf3)][_0x55081a(0x18a)]-0x1]),_0x394577));_0x394577[_0x55081a(0xdc)][_0x55081a(0xf5)](oe+_0x55081a(0x16c),new _0x3e4a8a(_0x2e3bb3[_0x55081a(0x18e)],_0x2e3bb3[_0x55081a(0x170)])),_0x4cf9d9[_0x55081a(0x153)]({..._0x278944,'context':this[_0x55081a(0x17d)](_0x394577,_0x3c730a[_0x55081a(0x165)],{'ellipsisBefore':_0x2e3bb3[_0x55081a(0xde)],'ellipsisAfter':_0x2e3bb3[_0x55081a(0x172)]}),'content':this[_0x55081a(0xf7)](_0x394577,_0x3c730a[_0x55081a(0x165)])});}}),_0x4cf9d9;}[_0x3eef3d(0xdb)](_0x270b83,_0x346198){const _0x174618=_0x3eef3d,_0x20f26f=_0x270b83[0x0][_0x174618(0x16d)]['id'],_0xc4f061=_0x346198[_0x174618(0x151)][_0x174618(0x12d)](_0x20f26f);if(!_0xc4f061)return void console[_0x174618(0x12c)](_0x174618(0xe9)+_0x20f26f);const _0x5a1fa8=_0xc4f061[_0x174618(0x114)],_0x500060=_0x4bdb29(this[_0x174618(0x11d)]),_0x390f37=_0x500060[_0x174618(0x159)][_0x174618(0xce)][_0x174618(0x10f)][_0x174618(0x15a)](_0x346198[_0x174618(0x14a)]),_0x4ad5f1=[];for(const _0x43545f of _0x270b83){const _0x25a10e=_0x43545f[_0x174618(0xf3)][_0x174618(0x162)](_0x44505f=>this[_0x174618(0x126)](_0x44505f,_0x5a1fa8,_0x500060[_0x174618(0x159)][_0x174618(0xce)][_0x174618(0x11c)]()[0x0]));if(!_0x25a10e||!_0x25a10e[_0x174618(0x18a)])continue;const _0x18d7c3=_0x25a10e[_0x174618(0x116)](_0x45020e=>_0x174618(0x112)===_0x45020e[_0x174618(0xc0)]&&_0x45020e[_0x174618(0xf9)][_0x174618(0xfc)](_0x174618(0xdd))),_0x4c92f1={'document':_0x500060[_0x174618(0x159)][_0x174618(0xce)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4d32f4=_0x5bff13(_0x25a10e,_0x390f37,_0x4c92f1)[_0x174618(0x147)];for(const _0xb4fd10 of _0x4d32f4)if(_0x174618(0x14c)===_0xb4fd10[_0x174618(0xc0)]){const _0x21e018=_0xb4fd10,_0x211812=_0x21e018[_0x174618(0x182)];let _0x15519a='';for(const _0x3eb564 of _0x211812)_0x3eb564&&_0x3eb564['is'](_0x174618(0x129))&&(_0x15519a+=_0x3eb564[_0x174618(0x165)]);_0x4ad5f1[_0x174618(0x153)]({'start':_0x21e018[_0x174618(0x100)],'end':_0x21e018[_0x174618(0x100)],'type':_0x174618(0x14c),'groupId':_0x43545f['id'],'text':_0x15519a});}else{if(_0x174618(0x112)===_0xb4fd10[_0x174618(0xc0)]&&_0xb4fd10[_0x174618(0xf9)][_0x174618(0xfc)](_0x174618(0xdd))){const _0xcb8945=_0xb4fd10;let _0x287de1=_0x174618(0xfe);if(_0x18d7c3){const _0x3eee62=this[_0x174618(0x14d)](_0xcb8945[_0x174618(0x115)][_0x174618(0x18e)],_0x174618(0x102),_0x500060[_0x174618(0x159)][_0x174618(0xb6)]),_0x34865d=this[_0x174618(0x14d)](_0xcb8945[_0x174618(0x115)][_0x174618(0x170)],_0x174618(0xd1),_0x500060[_0x174618(0x159)][_0x174618(0xb6)]);if(_0x3eee62||_0x34865d){const _0x371ab9=_0xcb8945[_0x174618(0x115)][_0x174618(0x18e)][_0x174618(0xd0)](-_0x3eee62),_0xe4496b=_0xcb8945[_0x174618(0x115)][_0x174618(0x170)][_0x174618(0xd0)](_0x34865d);_0x4ad5f1[_0x174618(0x153)]({'start':_0x371ab9,'end':_0xe4496b,'groupId':_0x43545f['id'],'type':_0x174618(0xd2)});}else _0x287de1=_0x174618(0x17a);}_0x4ad5f1[_0x174618(0x153)]({'start':_0xcb8945[_0x174618(0x115)][_0x174618(0x18e)],'end':_0xcb8945[_0x174618(0x115)][_0x174618(0x170)],'groupId':_0x43545f['id'],'type':_0x287de1});}}}this[_0x174618(0x184)](_0x4ad5f1);}[_0x3eef3d(0xe8)](){const _0x277ff2=_0x3eef3d;_0x4bdb29(this[_0x277ff2(0x11d)])[_0x277ff2(0x159)][_0x277ff2(0xff)](_0xb22c3c=>{const _0x128f2d=_0x277ff2;for(const _0x3674aa of this[_0x128f2d(0x16f)][_0x128f2d(0x156)]())_0xb22c3c[_0x128f2d(0x168)](_0x3674aa);}),this[_0x277ff2(0x16f)][_0x277ff2(0x106)]();}[_0x3eef3d(0x17c)](){const _0x7d6076=_0x3eef3d;_0x4bdb29(this[_0x7d6076(0x11d)])[_0x7d6076(0xe7)](_0x7d6076(0x134));}[_0x3eef3d(0xed)](){const _0x3f9a91=_0x3eef3d;_0x4bdb29(this[_0x3f9a91(0x11d)])[_0x3f9a91(0x180)](_0x3f9a91(0x134));}[_0x3eef3d(0x125)](_0x14da09){const _0x964849=_0x3eef3d,_0x449342=_0x4bdb29(this[_0x964849(0x11d)]),_0x2bc923=_0x449342[_0x964849(0x159)],_0x47bfdf=_0x14da09[_0x964849(0x162)](_0x3a4283=>this[_0x964849(0xe0)](_0x3a4283))[_0x964849(0x130)]();_0x2bc923[_0x964849(0xff)](_0xbfef2c=>{const _0x4207a7=_0x964849;for(const _0x4dadd1 of _0x47bfdf){const _0x4c5a74=_0x449342[_0x4207a7(0x159)][_0x4207a7(0xdc)][_0x4207a7(0x12d)](_0x4dadd1['id']);_0x4c5a74&&(_0x4207a7(0x14c)===_0x4dadd1[_0x4207a7(0xc0)]?_0x2bc923[_0x4207a7(0xfa)](_0xbfef2c[_0x4207a7(0x110)](_0x4dadd1[_0x4207a7(0x141)]||''),_0x4c5a74[_0x4207a7(0xe1)]()[_0x4207a7(0x18e)]):_0x4207a7(0xfe)!==_0x4dadd1[_0x4207a7(0xc0)]&&_0x4207a7(0x17a)!==_0x4dadd1[_0x4207a7(0xc0)]||_0x2bc923[_0x4207a7(0xc5)](_0x2bc923[_0x4207a7(0x17f)](_0x4c5a74[_0x4207a7(0xe1)]())),_0xbfef2c[_0x4207a7(0x168)](_0x4dadd1['id']),this[_0x4207a7(0x16f)][_0x4207a7(0x148)](_0x4dadd1['id']));}});}[_0x3eef3d(0xc1)](_0x1387ee){const _0x3d1593=_0x3eef3d,_0x367914=_0x4bdb29(this[_0x3d1593(0x11d)]),_0xb24f30=this[_0x3d1593(0xe0)](_0x1387ee);_0x367914[_0x3d1593(0x159)][_0x3d1593(0xff)](_0x5e373b=>{const _0x23c47a=_0x3d1593;for(const _0x365501 of _0xb24f30)_0x5e373b[_0x23c47a(0x168)](_0x365501['id']),this[_0x23c47a(0x16f)][_0x23c47a(0x148)](_0x365501['id']);});}[_0x3eef3d(0x169)](){const _0x509598=_0x3eef3d;return _0x4bdb29(this[_0x509598(0x11d)]);}[_0x3eef3d(0xb3)](_0x5a56ae){const _0x4d89e0=_0x3eef3d,_0x5106bb=Array[_0x4d89e0(0x10c)](this[_0x4d89e0(0x16f)][_0x4d89e0(0x113)]())[_0x4d89e0(0x144)](_0x451019=>_0x451019[_0x4d89e0(0x10d)]===_0x5a56ae);if(!_0x5106bb[_0x4d89e0(0x18a)])return null;const _0x47d9da=0x1===_0x5106bb[_0x4d89e0(0x18a)]?_0x5106bb[0x0]:this[_0x4d89e0(0x11e)](_0x5106bb)[0x0],_0x5a3177=_0x4bdb29(this[_0x4d89e0(0x11d)]),_0x4fbddf=_0x5a3177[_0x4d89e0(0x159)][_0x4d89e0(0xdc)][_0x4d89e0(0x12d)](_0x47d9da['id']);if(!_0x4fbddf)return null;const _0x5b30f6=_0x4fbddf[_0x4d89e0(0xe1)](),_0x65f338=_0x5a3177[_0x4d89e0(0x158)][_0x4d89e0(0x16e)][_0x4d89e0(0x163)]();if(!_0x65f338||!_0x5b30f6)return null;const _0x222cc3=_0x65f338[_0x4d89e0(0x11a)](_0x4d89e0(0xeb)+_0x47d9da['id']+'\x22]');return _0x222cc3?{'modelRange':_0x5b30f6,'domElement':_0x222cc3}:null;}[_0x3eef3d(0x126)](_0x1ce80a,_0x1c9161,_0xa79d2c){const _0x11f49c=_0x3eef3d;if(_0x11f49c(0x14c)===_0x1ce80a[_0x11f49c(0xc0)]){const _0x44ffac=_0x1ce80a;return new _0x20fc85(this[_0x11f49c(0x132)](_0x44ffac[_0x11f49c(0x100)],_0x1c9161[_0x11f49c(0x12e)](_0x44ffac[_0x11f49c(0x100)][_0x11f49c(0x185)]),_0xa79d2c),_0x44ffac[_0x11f49c(0x182)],_0x44ffac[_0x11f49c(0x18c)]);}if(_0x11f49c(0x112)===_0x1ce80a[_0x11f49c(0xc0)]&&_0x1ce80a[_0x11f49c(0xf9)][_0x11f49c(0xfc)](_0x11f49c(0xdd))){const _0x13429=_0x1ce80a;return new _0x4e4c04(_0x13429[_0x11f49c(0xf9)],_0x13429[_0x11f49c(0x155)],this[_0x11f49c(0x173)](_0x13429[_0x11f49c(0x115)],_0x1c9161[_0x11f49c(0x12e)](_0x13429[_0x11f49c(0x115)][_0x11f49c(0x18e)][_0x11f49c(0x185)]),_0x1c9161[_0x11f49c(0x12e)](_0x13429[_0x11f49c(0x115)][_0x11f49c(0x170)][_0x11f49c(0x185)]),_0xa79d2c),_0x13429[_0x11f49c(0x16f)],_0x13429[_0x11f49c(0x103)],_0x13429[_0x11f49c(0x18c)]);}return _0x1ce80a;}[_0x3eef3d(0xb7)](_0x205e0a){const _0x20a581=_0x3eef3d;if(!_0x205e0a[_0x20a581(0x18a)])return[];const _0x2ccab6=[];let _0x23d784=0x0,_0x3a998c=0x0,_0x4e6d30=[];for(let _0x11975b=0x0;_0x11975b<=_0x205e0a[_0x20a581(0x18a)];_0x11975b++){const _0x51460c=_0x205e0a[_0x11975b],_0x513673=_0x205e0a[_0x11975b-0x1];!_0x51460c||_0x513673&&!this[_0x20a581(0x178)](_0x513673)[_0x20a581(0x121)](this[_0x20a581(0xf2)](_0x51460c))?(_0x2ccab6[_0x20a581(0x153)]({'operations':_0x4e6d30,'operationsIsolated':_0x4e6d30[_0x20a581(0x162)](_0x9727a6=>this[_0x20a581(0x12b)](_0x9727a6[_0x20a581(0xc3)](),-_0x3a998c)),'groupOffset':_0x23d784}),_0x4e6d30=_0x51460c?[_0x51460c]:[],_0x3a998c+=_0x23d784,_0x23d784=0x0):_0x4e6d30[_0x20a581(0x153)](_0x51460c),_0x51460c&&_0x20a581(0x14c)===_0x51460c[_0x20a581(0xc0)]&&(_0x23d784+=_0x51460c[_0x20a581(0xca)]);}return _0x2ccab6;}[_0x3eef3d(0x14d)](_0x18e650,_0x3d2ae5,_0xf9aca6,_0x40d96d=0x1){const _0x289ee7=_0x3eef3d,_0x569a75=new _0x42c188({'startPosition':_0x18e650,'direction':_0x3d2ae5});let _0x18837d=0x0;for(let _0x24d478=0x0;_0x24d478<_0x40d96d;_0x24d478++){let _0x5783a4=0x0,_0x566207=!0x1,_0x1db1e6=_0x289ee7(0xd1)===_0x3d2ae5?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4f8bc1}of _0x569a75)if(_0x4f8bc1['is'](_0x289ee7(0x15f))){const _0x5eeba2=_0x1db1e6[_0x289ee7(0xc9)](_0x4f8bc1[_0x289ee7(0x165)]);if(_0x5eeba2&&_0x5eeba2[_0x289ee7(0x18a)]){if(_0x5783a4+=_0x289ee7(0xd1)===_0x3d2ae5?_0x5eeba2[_0x289ee7(0xf4)]+_0x5eeba2[0x0][_0x289ee7(0x18a)]:_0x4f8bc1[_0x289ee7(0x165)][_0x289ee7(0x18a)]-_0x5eeba2[_0x289ee7(0xf4)],_0x5eeba2[0x0][_0x289ee7(0x18a)]!==_0x4f8bc1[_0x289ee7(0x165)][_0x289ee7(0x18a)])break;_0x566207=!0x0,_0x1db1e6=_0x289ee7(0xd1)===_0x3d2ae5?/^\w+/:/\w+$/;}else{if(_0x566207)break;_0x5783a4+=_0x4f8bc1[_0x289ee7(0x127)];}}else{if(_0x4f8bc1['is'](_0x289ee7(0x174))){_0xf9aca6[_0x289ee7(0xcc)](_0x4f8bc1)&&!_0x566207&&(_0x5783a4+=0x1);break;}}_0x18837d+=_0x5783a4,_0x569a75[_0x289ee7(0x18b)](_0x18e650[_0x289ee7(0xd0)](_0x289ee7(0xd1)===_0x3d2ae5?_0x18837d:-_0x18837d));}return _0x18837d;}[_0x3eef3d(0xef)](_0x30b1c5,_0x3e1683){const _0x31e250=_0x3eef3d,_0x1a4eb0=_0x4bdb29(this[_0x31e250(0x11d)])[_0x31e250(0x159)][_0x31e250(0xb6)],_0x532bdf=this[_0x31e250(0x14d)](_0x30b1c5,_0x31e250(0x102),_0x1a4eb0,0x6),_0xa20e51=this[_0x31e250(0x14d)](_0x3e1683,_0x31e250(0xd1),_0x1a4eb0,0x6),_0x29d6a7=_0x30b1c5[_0x31e250(0xd0)](-_0x532bdf),_0x4f094b=_0x3e1683[_0x31e250(0xd0)](_0xa20e51);return{'start':_0x29d6a7,'end':_0x4f094b,'hasContentBefore':!_0x29d6a7[_0x31e250(0x123)],'hasContentAfter':!_0x4f094b[_0x31e250(0x108)]};}[_0x3eef3d(0x184)](_0x28e818){const _0x25de98=_0x3eef3d,_0x58a5ff=this[_0x25de98(0x11d)][_0x25de98(0x12f)][_0x25de98(0x12d)](_0x25de98(0x11b)),_0x1ecadc=new Set();_0x4bdb29(this[_0x25de98(0x11d)])[_0x25de98(0x159)][_0x25de98(0xff)](_0x5ab931=>{const _0x171279=_0x25de98;for(const _0x2f7fe5 of _0x28e818){const _0x5cb61a=''+oe+_0x2f7fe5[_0x171279(0xc0)]+':'+_0x2f7fe5[_0x171279(0x10d)]+'_'+_0x58a5ff[_0x171279(0x15e)](_0x1ecadc);this[_0x171279(0x16f)][_0x171279(0xf5)](_0x5cb61a,{'id':_0x5cb61a,'groupId':_0x2f7fe5[_0x171279(0x10d)],'type':_0x2f7fe5[_0x171279(0xc0)],'text':_0x2f7fe5[_0x171279(0x141)]}),_0x5ab931[_0x171279(0xcd)](_0x5cb61a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5ab931[_0x171279(0x13b)](_0x2f7fe5[_0x171279(0x18e)],_0x2f7fe5[_0x171279(0x170)])});}});}[_0x3eef3d(0x17d)](_0x1f6ccb,_0x1698b5,_0x48a07e){let _0x11c81f='';return()=>{const _0x4265bd=_0x44ce;if(!_0x11c81f){const _0x4a383e=_0x1698b5[_0x4265bd(0x16b)](_0x1f6ccb,{'showSuggestionHighlights':!0x0}),_0x556bce=_0x4a383e[_0x4265bd(0x14f)](0x0);if(!_0x556bce)return'';let _0x1024a8=!0x1;const _0x449620=[];for(const _0x241cc8 of _0x556bce[_0x4265bd(0xe4)]())_0x241cc8['is'](_0x4265bd(0x174),_0x4265bd(0x160))&&_0x241cc8[_0x4265bd(0x128)](_0x4265bd(0x145))&&(_0x1024a8=!0x1),_0x1024a8&&_0x449620[_0x4265bd(0x153)](_0x241cc8),_0x241cc8['is'](_0x4265bd(0x174),_0x4265bd(0x160))&&_0x241cc8[_0x4265bd(0x128)](_0x4265bd(0x175))&&(_0x1024a8=!0x0);_0x556bce[_0x4265bd(0xdf)](0x0,_0x556bce[_0x4265bd(0xc6)]),_0x48a07e?.[_0x4265bd(0xf6)]&&_0x556bce[_0x4265bd(0x177)]('…'),_0x556bce[_0x4265bd(0x177)](_0x449620),_0x48a07e?.[_0x4265bd(0x105)]&&_0x556bce[_0x4265bd(0x177)]('…');const _0x177e9c=_0x1698b5[_0x4265bd(0xc2)][_0x4265bd(0x146)][_0x4265bd(0xbd)](_0x4a383e),_0x4fd5b7=_0x1698b5[_0x4265bd(0xc2)][_0x4265bd(0x186)][_0x4265bd(0xbf)](_0x177e9c);_0x11c81f=_0x4fd5b7;}return _0x11c81f;};}[_0x3eef3d(0xf7)](_0x20487e,_0x2d2ee1){const _0x2982a9=_0x3eef3d;let _0x543958='';return()=>(_0x543958||(_0x543958=_0x2d2ee1[_0x2982a9(0x18d)](_0x20487e,{'showSuggestionHighlights':!0x0})),_0x543958);}[_0x3eef3d(0x117)](_0x39d123,_0xbdd140,_0x4299f8){let _0x1decaf='';return()=>{const _0x19e6f6=_0x44ce;if(!_0x1decaf){const _0x20ce5a=_0x4299f8[_0x19e6f6(0x16b)](new _0x4c829e(_0x39d123)),_0x1845d5=_0x4299f8[_0x19e6f6(0xc2)][_0x19e6f6(0x146)][_0x19e6f6(0xbd)](_0x20ce5a)[_0x19e6f6(0x11a)](_0x19e6f6(0xc4)+_0xbdd140+'\x22]');_0x1decaf=_0x1845d5?.[_0x19e6f6(0x10e)]||'';}return _0x1decaf;};}[_0x3eef3d(0x15b)](_0x25c14e,_0x1f0948=0x5){const _0x158297=_0x3eef3d;let _0x1dedb7=_0x25c14e,_0x5dc810=null;for(let _0x3c3ff0=0x0;_0x3c3ff0<_0x1f0948&&_0x1dedb7;_0x3c3ff0++){if(!_0x1dedb7[_0x158297(0x13e)]){_0x1dedb7=_0x1dedb7[_0x158297(0xe5)];continue;}if(!(''+_0x1dedb7[_0x158297(0x13e)])[_0x158297(0xb8)](_0x158297(0xd4))){_0x1dedb7=_0x1dedb7[_0x158297(0xe5)];continue;}if(!_0x1dedb7[_0x158297(0x188)](_0x158297(0xbc)))break;_0x5dc810=_0x1dedb7;break;}return _0x5dc810;}[_0x3eef3d(0xe0)](_0x1f2bee){const _0x1c32b9=_0x3eef3d;return Array[_0x1c32b9(0x10c)](this[_0x1c32b9(0x16f)][_0x1c32b9(0x113)]())[_0x1c32b9(0x144)](_0x3878b5=>_0x3878b5[_0x1c32b9(0x10d)]===_0x1f2bee);}[_0x3eef3d(0xf2)](_0x1529b8){const _0x4d5c75=_0x3eef3d;return _0x4d5c75(0x14c)===_0x1529b8[_0x4d5c75(0xc0)]?_0x1529b8[_0x4d5c75(0x100)]:_0x1529b8[_0x4d5c75(0x115)][_0x4d5c75(0x18e)];}[_0x3eef3d(0x178)](_0x394688,_0x2aac09=!0x1){const _0x42ba1d=_0x3eef3d;return _0x42ba1d(0x14c)===_0x394688[_0x42ba1d(0xc0)]?_0x2aac09?_0x394688[_0x42ba1d(0x100)]:_0x394688[_0x42ba1d(0x100)][_0x42ba1d(0xd0)](_0x394688[_0x42ba1d(0xca)]):_0x394688[_0x42ba1d(0x115)][_0x42ba1d(0x170)];}[_0x3eef3d(0x12b)](_0x5f134a,_0x5b2c93){const _0x43f929=_0x3eef3d;return _0x43f929(0x14c)===_0x5f134a[_0x43f929(0xc0)]?_0x5f134a[_0x43f929(0x100)]=_0x5f134a[_0x43f929(0x100)][_0x43f929(0xd0)](_0x5b2c93):_0x43f929(0x112)===_0x5f134a[_0x43f929(0xc0)]&&_0x5f134a[_0x43f929(0x115)]&&(_0x5f134a[_0x43f929(0x115)]=new _0x3e4a8a(_0x5f134a[_0x43f929(0x115)][_0x43f929(0x18e)][_0x43f929(0xd0)](_0x5b2c93),_0x5f134a[_0x43f929(0x115)][_0x43f929(0x170)][_0x43f929(0xd0)](_0x5b2c93))),_0x5f134a;}[_0x3eef3d(0x118)](_0x4e2640,_0x20c855){const _0x376c05=_0x3eef3d;_0x376c05(0x14c)===_0x4e2640[_0x376c05(0xc0)]?_0x4e2640[_0x376c05(0x100)]=this[_0x376c05(0x122)](_0x4e2640[_0x376c05(0x100)],_0x20c855):_0x376c05(0x112)===_0x4e2640[_0x376c05(0xc0)]&&_0x4e2640[_0x376c05(0x115)]&&(_0x4e2640[_0x376c05(0x115)]=this[_0x376c05(0xe3)](_0x4e2640[_0x376c05(0x115)],_0x20c855));}[_0x3eef3d(0x122)](_0x123c3c,_0x3a69c1){const _0x432ed9=_0x3eef3d;return new _0x41eb99(_0x3a69c1,_0x123c3c[_0x432ed9(0x114)]);}[_0x3eef3d(0xe3)](_0x3915b2,_0x356c33){const _0x557f5e=_0x3eef3d;return new _0x3e4a8a(this[_0x557f5e(0x122)](_0x3915b2[_0x557f5e(0x18e)],_0x356c33),this[_0x557f5e(0x122)](_0x3915b2[_0x557f5e(0x170)],_0x356c33));}[_0x3eef3d(0x132)](_0x5026dd,_0x1a6bfb,_0x149781){return new _0x41eb99(_0x149781,[..._0x1a6bfb]);}[_0x3eef3d(0x173)](_0x2c5382,_0x11f62d,_0x29b79b,_0x181a30){const _0x3eeaf4=_0x3eef3d;return new _0x3e4a8a(this[_0x3eeaf4(0x132)](_0x2c5382[_0x3eeaf4(0x18e)],_0x11f62d,_0x181a30),this[_0x3eeaf4(0x132)](_0x2c5382[_0x3eeaf4(0x170)],_0x29b79b,_0x181a30));}[_0x3eef3d(0x11e)](_0x510743){const _0x563e57=_0x3eef3d,_0x309b68=_0x75a094=>{const _0x380938=_0x44ce;switch(_0x75a094){case _0x380938(0x14c):return 0x1;case _0x380938(0xd2):return 0x2;case _0x380938(0x17a):return 0x3;case _0x380938(0xfe):return 0x4;}};return _0x510743[_0x563e57(0xf8)]((_0x4a7cdb,_0x1a9fdf)=>_0x309b68(_0x4a7cdb[_0x563e57(0xc0)])-_0x309b68(_0x1a9fdf[_0x563e57(0xc0)]));}}
|
|
23
|
+
const _0x1e83b9=_0x205c;(function(_0x262e04,_0x28da48){const _0x2566f3=_0x205c,_0x5ec9a6=_0x262e04();while(!![]){try{const _0x542df1=-parseInt(_0x2566f3(0x1fd))/0x1+-parseInt(_0x2566f3(0x1c5))/0x2+parseInt(_0x2566f3(0x164))/0x3+parseInt(_0x2566f3(0x18d))/0x4+parseInt(_0x2566f3(0x160))/0x5*(-parseInt(_0x2566f3(0x147))/0x6)+parseInt(_0x2566f3(0x1b3))/0x7*(parseInt(_0x2566f3(0x202))/0x8)+-parseInt(_0x2566f3(0x212))/0x9*(parseInt(_0x2566f3(0x17f))/0xa);if(_0x542df1===_0x28da48)break;else _0x5ec9a6['push'](_0x5ec9a6['shift']());}catch(_0x80816e){_0x5ec9a6['push'](_0x5ec9a6['shift']());}}}(_0x2b68,0x75841));function _0x205c(_0x1e2411,_0x1e1e7d){const _0x2b68ba=_0x2b68();return _0x205c=function(_0x205c49,_0x2090aa){_0x205c49=_0x205c49-0x13f;let _0x2a2bf9=_0x2b68ba[_0x205c49];return _0x2a2bf9;},_0x205c(_0x1e2411,_0x1e1e7d);}import{InsertOperation as _0x18bb59,MarkerOperation as _0x25e8d6,ModelDocumentFragment as _0x1227db,ModelPosition as _0x19c465,ModelRange as _0x12659e,ModelTreeWalker as _0x3131bf,transformOperationSets as _0x5e6bc6}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x3235d9,EmitterMixin as _0x25649d}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x6ee446}from'ckeditor5/src/core.js';import{DocumentCompare as _0xd6d290,DATA_ID_MODEL_ATTRIBUTE as _0x44e34c,DATA_ID_VIEW_ATTRIBUTE as _0x50b854}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2728df}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x41490c}from'../aicore/aiediting.js';const se=_0x1e83b9(0x1da);export class AIReviewModeEditing extends _0x6ee446{static get[_0x1e83b9(0x18f)](){const _0x390f1c=_0x1e83b9;return _0x390f1c(0x14d);}static get[_0x1e83b9(0x1eb)](){return[_0xd6d290,_0x41490c];}static get[_0x1e83b9(0x17a)](){return!0x0;}static get[_0x1e83b9(0x17c)](){return!0x0;}[_0x1e83b9(0x151)]=new Map();[_0x1e83b9(0x208)];[_0x1e83b9(0x215)];constructor(_0x2ae2d4){const _0xbdc670=_0x1e83b9;super(_0x2ae2d4),this[_0xbdc670(0x208)]=new(_0x3235d9())(),this[_0xbdc670(0x215)]=new(_0x25649d())();}get[_0x1e83b9(0x20e)](){const _0x4e6e0b=_0x1e83b9;return this[_0x4e6e0b(0x215)];}[_0x1e83b9(0x1ef)](){const _0x4e74e4=_0x1e83b9,_0x135cc9=_0x2728df(this[_0x4e74e4(0x15f)]);_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x1e0))[_0x4e74e4(0x184)]({'model':se+_0x4e74e4(0x16c),'view':(_0x166f6b,{writer:_0x5b0449})=>{const _0x2f8123=_0x4e74e4,_0x200a8c=this[_0x2f8123(0x151)][_0x2f8123(0x1c6)](_0x166f6b[_0x2f8123(0x1b1)]),_0x573744={'class':_0x2f8123(0x17e),'data-marker-id':_0x166f6b[_0x2f8123(0x1b1)]};return _0x5b0449[_0x2f8123(0x1d8)](_0x2f8123(0x14e),_0x573744,function(_0x5571ab){const _0x440b08=_0x2f8123,_0xfcc601=this[_0x440b08(0x1aa)](_0x5571ab);return _0xfcc601[_0x440b08(0x1f5)]=_0x200a8c?.[_0x440b08(0x1c0)]||'',_0xfcc601;});}}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x1e0))[_0x4e74e4(0x19a)]({'model':se+_0x4e74e4(0x1ad),'view':_0x4b5f66=>({'classes':_0x4e74e4(0x200),'attributes':{'data-marker-id':_0x4b5f66[_0x4e74e4(0x1b1)]}})}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x1e0))[_0x4e74e4(0x19a)]({'model':se+_0x4e74e4(0x1bf),'view':_0x1a58ee=>({'classes':_0x4e74e4(0x13f),'attributes':{'data-marker-id':_0x1a58ee[_0x4e74e4(0x1b1)]}})}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x1e0))[_0x4e74e4(0x19a)]({'model':se+_0x4e74e4(0x145),'view':_0x406d67=>({'classes':_0x4e74e4(0x1c4),'attributes':{'data-marker-id':_0x406d67[_0x4e74e4(0x1b1)]}})}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x204))[_0x4e74e4(0x184)]({'model':se+_0x4e74e4(0x180),'view':(_0x553476,{writer:_0x1fadbf})=>_0x1fadbf[_0x4e74e4(0x153)](_0x4e74e4(0x14e),{'class':_0x4e74e4(0x1a7)+(_0x553476[_0x4e74e4(0x1b8)]?_0x4e74e4(0x199):_0x4e74e4(0x16b))})}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x188))[_0x4e74e4(0x218)]({'model':_0x44e34c,'view':_0x50b854}),this[_0x4e74e4(0x208)][_0x4e74e4(0x140)](document,_0x4e74e4(0x210),(_0x92a51d,_0x119e1d)=>{const _0x282ede=_0x4e74e4,_0x2dd1f2=_0x119e1d[_0x282ede(0x1e6)],_0x59e122=this[_0x282ede(0x19d)](_0x2dd1f2);if(!_0x59e122)return;const _0x9ba865=_0x59e122[_0x282ede(0x144)](_0x282ede(0x141)),_0x453672=_0x9ba865[_0x282ede(0x1e8)](':')[_0x282ede(0x1ca)]()?.[_0x282ede(0x1e8)]('_')[0x0];this[_0x282ede(0x215)][_0x282ede(0x1d9)](_0x282ede(0x1c2),{'markerId':_0x9ba865,'changeId':_0x453672});});}[_0x1e83b9(0x178)](){const _0x4a490c=_0x1e83b9,_0x4b1294=this[_0x4a490c(0x15f)][_0x4a490c(0x167)][_0x4a490c(0x1c6)](_0x4a490c(0x1d4)),_0x5629fc=_0x2728df(this[_0x4a490c(0x15f)]),_0x2fdbc8=_0x5629fc[_0x4a490c(0x1cd)],_0x26e7f9=new _0x1227db();for(const _0x36c556 of _0x2fdbc8[_0x4a490c(0x1f3)][_0x4a490c(0x1ae)]()[_0x4a490c(0x18b)]()){const _0x4c9470=_0x36c556[_0x4a490c(0x1fe)](!0x0);_0x26e7f9[_0x4a490c(0x1de)](_0x4c9470);}for(const _0x27d5f9 of _0x2fdbc8[_0x4a490c(0x17d)])_0x26e7f9[_0x4a490c(0x17d)][_0x4a490c(0x19e)](_0x27d5f9[_0x4a490c(0x15c)],this[_0x4a490c(0x1a5)](_0x27d5f9[_0x4a490c(0x1fb)]()[_0x4a490c(0x1c9)](),_0x26e7f9));const _0x560527=new _0x3131bf({'ignoreElementEnd':!0x0,'startPosition':_0x2fdbc8[_0x4a490c(0x1f7)](_0x26e7f9,0x0)}),_0x33f78f=new Set(),_0xd2d5d1=new Map();for(const {item:_0x41f90e}of _0x560527){if(!_0x41f90e['is'](_0x4a490c(0x216)))continue;const _0xcb5ef6=_0x41f90e[_0x4a490c(0x15d)];if((!_0xcb5ef6||!_0xcb5ef6['is'](_0x4a490c(0x19f),_0x4a490c(0x195)))&&(_0xcb5ef6&&_0xcb5ef6['is'](_0x4a490c(0x19f)))){let _0x5e0c42=_0xcb5ef6[_0x4a490c(0x144)](_0x44e34c);_0x5e0c42||(_0x5e0c42=_0x4b1294[_0x4a490c(0x156)](_0x33f78f),_0xcb5ef6[_0x4a490c(0x155)](_0x44e34c,_0x5e0c42)),_0x33f78f[_0x4a490c(0x173)](_0x5e0c42);let _0x5e0041=_0xcb5ef6;for(;_0x5e0041[_0x4a490c(0x15d)]&&!_0x5e0041[_0x4a490c(0x15d)]['is'](_0x4a490c(0x206));)_0x5e0041=_0x5e0041[_0x4a490c(0x15d)],_0x5e0041[_0x4a490c(0x14a)](_0x44e34c)&&_0x5e0041[_0x4a490c(0x1c1)](_0x44e34c);_0xd2d5d1[_0x4a490c(0x19e)](_0x5e0c42,{'path':_0xcb5ef6[_0x4a490c(0x20c)](),'getContent':this[_0x4a490c(0x1b4)](_0x5e0041[_0x4a490c(0x1fe)](!0x0),_0x5e0c42,_0x5629fc[_0x4a490c(0x213)])}),_0x560527[_0x4a490c(0x1a0)](_0x2fdbc8[_0x4a490c(0x20d)](_0xcb5ef6));}}return{'content':_0x5629fc[_0x4a490c(0x213)][_0x4a490c(0x20a)][_0x4a490c(0x1c7)](_0x5629fc[_0x4a490c(0x213)][_0x4a490c(0x1a4)](_0x26e7f9)),'version':_0x5629fc[_0x4a490c(0x1cd)][_0x4a490c(0x1f3)][_0x4a490c(0x179)],'elements':_0xd2d5d1};}[_0x1e83b9(0x169)](_0x1cf987,_0x5b2dc2){const _0x44d87b=_0x1e83b9,_0x651fe8=_0x2728df(this[_0x44d87b(0x15f)]),_0x3be5ab=_0x651fe8[_0x44d87b(0x213)][_0x44d87b(0x1b7)](_0x1cf987,_0x44d87b(0x177)),_0x506806=_0x651fe8[_0x44d87b(0x1cd)][_0x44d87b(0x1f7)](_0x3be5ab,0x0),_0x37f0bf=this[_0x44d87b(0x15f)][_0x44d87b(0x167)][_0x44d87b(0x1c6)](_0x44d87b(0x1e3))[_0x44d87b(0x20b)](_0x1cf987,_0x5b2dc2,{'anchor':_0x506806,'markDeletions':!0x0})[_0x44d87b(0x191)]()[_0x44d87b(0x1d7)](_0x45365b=>_0x44d87b(0x16c)===_0x45365b[_0x44d87b(0x182)]||_0x44d87b(0x1e7)===_0x45365b[_0x44d87b(0x182)]&&_0x45365b[_0x44d87b(0x15c)][_0x44d87b(0x19b)](_0x44d87b(0x172))),_0x300cb7=this[_0x44d87b(0x1cb)](_0x37f0bf),_0x53df83=[];let _0x3f108f=0x0;return _0x651fe8[_0x44d87b(0x1cd)][_0x44d87b(0x1a1)](_0x45e66b=>{const _0x493694=_0x44d87b;for(let _0xde356d=0x0;_0xde356d<_0x300cb7[_0x493694(0x16a)];_0xde356d++){const _0x3ca23c=_0x300cb7[_0xde356d],_0x31e71a=_0x45e66b[_0x493694(0x209)]();for(const _0x367bbf of _0x3be5ab[_0x493694(0x18b)]())_0x45e66b[_0x493694(0x16f)](_0x367bbf[_0x493694(0x1fe)](!0x0),_0x31e71a);for(const _0x2e11e5 of _0x3ca23c[_0x493694(0x163)])if(_0x493694(0x16c)===_0x2e11e5[_0x493694(0x182)]){const _0x13296f=_0x2e11e5;_0x13296f[_0x493694(0x205)]=null,_0x13296f[_0x493694(0x185)]=!0x1,this[_0x493694(0x149)](_0x13296f,_0x31e71a),_0x45e66b[_0x493694(0x1e5)][_0x493694(0x14c)](_0x2e11e5),_0x651fe8[_0x493694(0x1cd)][_0x493694(0x1fa)](_0x2e11e5);const _0xe64a33=_0x493694(0x196)+_0x3f108f++,_0x16e368=_0x651fe8[_0x493694(0x1cd)][_0x493694(0x162)](_0x13296f[_0x493694(0x1f1)],_0x13296f[_0x493694(0x1f1)][_0x493694(0x1d5)](_0x13296f[_0x493694(0x1ed)]));_0x31e71a[_0x493694(0x17d)][_0x493694(0x19e)](_0xe64a33,_0x16e368);}else{if(_0x493694(0x1e7)===_0x2e11e5[_0x493694(0x182)]&&_0x2e11e5[_0x493694(0x15c)][_0x493694(0x19b)](_0x493694(0x172))){const _0x32e3e1=_0x2e11e5,_0x33dbce=_0x493694(0x1a9)+_0x3f108f++;this[_0x493694(0x149)](_0x32e3e1,_0x31e71a),_0x31e71a[_0x493694(0x17d)][_0x493694(0x19e)](_0x33dbce,_0x32e3e1[_0x493694(0x16d)]);}}const _0x3b0982=this[_0x493694(0x1a2)](this[_0x493694(0x1a3)](this[_0x493694(0x211)](_0x3ca23c[_0x493694(0x163)][0x0]),_0x31e71a),this[_0x493694(0x1a3)](this[_0x493694(0x15e)](_0x3ca23c[_0x493694(0x163)][_0x3ca23c[_0x493694(0x163)][_0x493694(0x16a)]-0x1]),_0x31e71a));_0x31e71a[_0x493694(0x17d)][_0x493694(0x19e)](se+_0x493694(0x180),new _0x12659e(_0x3b0982[_0x493694(0x199)],_0x3b0982[_0x493694(0x16b)])),_0x53df83[_0x493694(0x1a6)]({..._0x3ca23c,'context':this[_0x493694(0x1b5)](_0x31e71a,_0x651fe8[_0x493694(0x213)],{'ellipsisBefore':_0x3b0982[_0x493694(0x207)],'ellipsisAfter':_0x3b0982[_0x493694(0x1ff)]}),'content':this[_0x493694(0x1dd)](_0x31e71a,_0x651fe8[_0x493694(0x213)])});}}),_0x53df83;}[_0x1e83b9(0x17b)](_0x1fc3c3,_0x9e7da6){const _0xc35111=_0x1e83b9,_0x5488ff=_0x1fc3c3[0x0][_0xc35111(0x15d)]['id'],_0x39ed0c=_0x9e7da6[_0xc35111(0x161)][_0xc35111(0x1c6)](_0x5488ff);if(!_0x39ed0c)return void console[_0xc35111(0x194)](_0xc35111(0x159)+_0x5488ff);const _0x4a7423=_0x39ed0c[_0xc35111(0x198)],_0x1d0873=_0x2728df(this[_0xc35111(0x15f)]),_0x20dd1f=_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x1f3)][_0xc35111(0x150)][_0xc35111(0x191)](_0x9e7da6[_0xc35111(0x179)]),_0x51c393=[];for(const _0x5d3029 of _0x1fc3c3){const _0xbf4e62=_0x5d3029[_0xc35111(0x163)][_0xc35111(0x203)](_0x3adcad=>this[_0xc35111(0x181)](_0x3adcad,_0x4a7423,_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x1f3)][_0xc35111(0x176)]()[0x0]));if(!_0xbf4e62||!_0xbf4e62[_0xc35111(0x16a)])continue;const _0x401dbc=_0xbf4e62[_0xc35111(0x1ec)](_0x44c96d=>_0xc35111(0x1e7)===_0x44c96d[_0xc35111(0x182)]&&_0x44c96d[_0xc35111(0x15c)][_0xc35111(0x19b)](_0xc35111(0x172))),_0x20cbe2={'document':_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x1f3)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x56e05c=_0x5e6bc6(_0xbf4e62,_0x20dd1f,_0x20cbe2)[_0xc35111(0x168)];for(const _0x2dd0dc of _0x56e05c)if(_0xc35111(0x16c)===_0x2dd0dc[_0xc35111(0x182)]){const _0xd6336b=_0x2dd0dc,_0x41ca41=_0xd6336b[_0xc35111(0x1bc)];let _0x2a6f25='';for(const _0x5781af of _0x41ca41)_0x5781af&&_0x5781af['is'](_0xc35111(0x1d6))&&(_0x2a6f25+=_0x5781af[_0xc35111(0x213)]);_0x51c393[_0xc35111(0x1a6)]({'start':_0xd6336b[_0xc35111(0x1f1)],'end':_0xd6336b[_0xc35111(0x1f1)],'type':_0xc35111(0x16c),'groupId':_0x5d3029['id'],'text':_0x2a6f25});}else{if(_0xc35111(0x1e7)===_0x2dd0dc[_0xc35111(0x182)]&&_0x2dd0dc[_0xc35111(0x15c)][_0xc35111(0x19b)](_0xc35111(0x172))){const _0x280152=_0x2dd0dc;let _0x4e194d=_0xc35111(0x145);if(_0x401dbc){const _0xd0b5c3=this[_0xc35111(0x146)](_0x280152[_0xc35111(0x16d)][_0xc35111(0x199)],_0xc35111(0x1f2),_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x197)]),_0x26158a=this[_0xc35111(0x146)](_0x280152[_0xc35111(0x16d)][_0xc35111(0x16b)],_0xc35111(0x1bb),_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x197)]);if(_0xd0b5c3||_0x26158a){const _0x26ca6f=_0x280152[_0xc35111(0x16d)][_0xc35111(0x199)][_0xc35111(0x1d5)](-_0xd0b5c3),_0x59d8b0=_0x280152[_0xc35111(0x16d)][_0xc35111(0x16b)][_0xc35111(0x1d5)](_0x26158a);_0x51c393[_0xc35111(0x1a6)]({'start':_0x26ca6f,'end':_0x59d8b0,'groupId':_0x5d3029['id'],'type':_0xc35111(0x1bf)});}else _0x4e194d=_0xc35111(0x1ad);}_0x51c393[_0xc35111(0x1a6)]({'start':_0x280152[_0xc35111(0x16d)][_0xc35111(0x199)],'end':_0x280152[_0xc35111(0x16d)][_0xc35111(0x16b)],'groupId':_0x5d3029['id'],'type':_0x4e194d});}}}this[_0xc35111(0x186)](_0x51c393);}[_0x1e83b9(0x1f6)](){const _0x3f3ede=_0x1e83b9;_0x2728df(this[_0x3f3ede(0x15f)])[_0x3f3ede(0x1cd)][_0x3f3ede(0x1a1)](_0x39f88d=>{const _0x23d457=_0x3f3ede;for(const _0x51717f of this[_0x23d457(0x151)][_0x23d457(0x1c8)]())_0x39f88d[_0x23d457(0x15b)](_0x51717f);}),this[_0x3f3ede(0x151)][_0x3f3ede(0x187)]();}[_0x1e83b9(0x214)](){const _0x2416bc=_0x1e83b9;_0x2728df(this[_0x2416bc(0x15f)])[_0x2416bc(0x171)](_0x2416bc(0x1fc));}[_0x1e83b9(0x1ab)](){const _0x14e8fc=_0x1e83b9;_0x2728df(this[_0x14e8fc(0x15f)])[_0x14e8fc(0x152)](_0x14e8fc(0x1fc));}[_0x1e83b9(0x1d1)](_0x5bfe9b){const _0x26501d=_0x1e83b9,_0x23fb01=_0x2728df(this[_0x26501d(0x15f)]),_0x12a31b=_0x23fb01[_0x26501d(0x1cd)],_0x2032d3=_0x5bfe9b[_0x26501d(0x203)](_0x483f62=>this[_0x26501d(0x1b9)](_0x483f62))[_0x26501d(0x1f8)]();_0x12a31b[_0x26501d(0x1a1)](_0x23c76e=>{const _0x4eb70b=_0x26501d;for(const _0x4cb31f of _0x2032d3){const _0xc871b0=_0x23fb01[_0x4eb70b(0x1cd)][_0x4eb70b(0x17d)][_0x4eb70b(0x1c6)](_0x4cb31f['id']);_0xc871b0&&(_0x4eb70b(0x16c)===_0x4cb31f[_0x4eb70b(0x182)]?_0x12a31b[_0x4eb70b(0x1be)](_0x23c76e[_0x4eb70b(0x1e2)](_0x4cb31f[_0x4eb70b(0x1c0)]||''),_0xc871b0[_0x4eb70b(0x1fb)]()[_0x4eb70b(0x199)]):_0x4eb70b(0x145)!==_0x4cb31f[_0x4eb70b(0x182)]&&_0x4eb70b(0x1ad)!==_0x4cb31f[_0x4eb70b(0x182)]||_0x12a31b[_0x4eb70b(0x1e4)](_0x12a31b[_0x4eb70b(0x14b)](_0xc871b0[_0x4eb70b(0x1fb)]())),_0x23c76e[_0x4eb70b(0x15b)](_0x4cb31f['id']),this[_0x4eb70b(0x151)][_0x4eb70b(0x165)](_0x4cb31f['id']));}});}[_0x1e83b9(0x1e9)](_0x1bb919){const _0x5c19f9=_0x1e83b9,_0x1bae44=_0x2728df(this[_0x5c19f9(0x15f)]),_0x45afe7=this[_0x5c19f9(0x1b9)](_0x1bb919);_0x1bae44[_0x5c19f9(0x1cd)][_0x5c19f9(0x1a1)](_0x21c298=>{const _0x10087b=_0x5c19f9;for(const _0x24a8a2 of _0x45afe7)_0x21c298[_0x10087b(0x15b)](_0x24a8a2['id']),this[_0x10087b(0x151)][_0x10087b(0x165)](_0x24a8a2['id']);});}[_0x1e83b9(0x183)](){const _0x4b0741=_0x1e83b9;return _0x2728df(this[_0x4b0741(0x15f)]);}[_0x1e83b9(0x157)](_0x1a164d){const _0x2646f3=_0x1e83b9,_0x353ab5=Array[_0x2646f3(0x1b0)](this[_0x2646f3(0x151)][_0x2646f3(0x1cc)]())[_0x2646f3(0x1d7)](_0xdcd69a=>_0xdcd69a[_0x2646f3(0x192)]===_0x1a164d);if(!_0x353ab5[_0x2646f3(0x16a)])return null;const _0x37dd90=0x1===_0x353ab5[_0x2646f3(0x16a)]?_0x353ab5[0x0]:this[_0x2646f3(0x1db)](_0x353ab5)[0x0],_0x5067b8=_0x2728df(this[_0x2646f3(0x15f)]),_0x243585=_0x5067b8[_0x2646f3(0x1cd)][_0x2646f3(0x17d)][_0x2646f3(0x1c6)](_0x37dd90['id']);if(!_0x243585)return null;const _0x2ed6c8=_0x243585[_0x2646f3(0x1fb)](),_0x98ef87=_0x5067b8[_0x2646f3(0x1ce)][_0x2646f3(0x19c)][_0x2646f3(0x18a)]();if(!_0x98ef87||!_0x2ed6c8)return null;const _0x382f1c=_0x98ef87[_0x2646f3(0x1ac)](_0x2646f3(0x1dc)+_0x37dd90['id']+'\x22]');return _0x382f1c?{'modelRange':_0x2ed6c8,'domElement':_0x382f1c}:null;}[_0x1e83b9(0x181)](_0x59709c,_0x52e784,_0x38dfed){const _0x498861=_0x1e83b9;if(_0x498861(0x16c)===_0x59709c[_0x498861(0x182)]){const _0x445810=_0x59709c;return new _0x18bb59(this[_0x498861(0x18e)](_0x445810[_0x498861(0x1f1)],_0x52e784[_0x498861(0x1cf)](_0x445810[_0x498861(0x1f1)][_0x498861(0x15a)]),_0x38dfed),_0x445810[_0x498861(0x1bc)],_0x445810[_0x498861(0x205)]);}if(_0x498861(0x1e7)===_0x59709c[_0x498861(0x182)]&&_0x59709c[_0x498861(0x15c)][_0x498861(0x19b)](_0x498861(0x172))){const _0x2d039c=_0x59709c;return new _0x25e8d6(_0x2d039c[_0x498861(0x15c)],_0x2d039c[_0x498861(0x1d2)],this[_0x498861(0x143)](_0x2d039c[_0x498861(0x16d)],_0x52e784[_0x498861(0x1cf)](_0x2d039c[_0x498861(0x16d)][_0x498861(0x199)][_0x498861(0x15a)]),_0x52e784[_0x498861(0x1cf)](_0x2d039c[_0x498861(0x16d)][_0x498861(0x16b)][_0x498861(0x15a)]),_0x38dfed),_0x2d039c[_0x498861(0x151)],_0x2d039c[_0x498861(0x1ea)],_0x2d039c[_0x498861(0x205)]);}return _0x59709c;}[_0x1e83b9(0x1cb)](_0x49da7d){const _0x5a274b=_0x1e83b9;if(!_0x49da7d[_0x5a274b(0x16a)])return[];const _0x181e1d=[];let _0x4a130c=0x0,_0x4fa94a=0x0,_0x307f5c=[];for(let _0x11cc40=0x0;_0x11cc40<=_0x49da7d[_0x5a274b(0x16a)];_0x11cc40++){const _0x102adf=_0x49da7d[_0x11cc40],_0x4dc3d5=_0x49da7d[_0x11cc40-0x1];!_0x102adf||_0x4dc3d5&&!this[_0x5a274b(0x15e)](_0x4dc3d5)[_0x5a274b(0x201)](this[_0x5a274b(0x211)](_0x102adf))?(_0x181e1d[_0x5a274b(0x1a6)]({'operations':_0x307f5c,'operationsIsolated':_0x307f5c[_0x5a274b(0x203)](_0x7a2bad=>this[_0x5a274b(0x20f)](_0x7a2bad[_0x5a274b(0x1c9)](),-_0x4fa94a)),'groupOffset':_0x4a130c}),_0x307f5c=_0x102adf?[_0x102adf]:[],_0x4fa94a+=_0x4a130c,_0x4a130c=0x0):_0x307f5c[_0x5a274b(0x1a6)](_0x102adf),_0x102adf&&_0x5a274b(0x16c)===_0x102adf[_0x5a274b(0x182)]&&(_0x4a130c+=_0x102adf[_0x5a274b(0x1ed)]);}return _0x181e1d;}[_0x1e83b9(0x146)](_0x5dc82f,_0x3d02a4,_0x2154c2,_0x2c6ed1=0x1){const _0xf0eaed=_0x1e83b9,_0x543acb=new _0x3131bf({'startPosition':_0x5dc82f,'direction':_0x3d02a4});let _0x2e61ee=0x0;for(let _0x4d1dac=0x0;_0x4d1dac<_0x2c6ed1;_0x4d1dac++){let _0x14faf1=0x0,_0x5d9ac2=!0x1,_0x15e534=_0xf0eaed(0x1bb)===_0x3d02a4?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x9631fa}of _0x543acb)if(_0x9631fa['is'](_0xf0eaed(0x216))){const _0x1301ed=_0x15e534[_0xf0eaed(0x175)](_0x9631fa[_0xf0eaed(0x213)]);if(_0x1301ed&&_0x1301ed[_0xf0eaed(0x16a)]){if(_0x14faf1+=_0xf0eaed(0x1bb)===_0x3d02a4?_0x1301ed[_0xf0eaed(0x16e)]+_0x1301ed[0x0][_0xf0eaed(0x16a)]:_0x9631fa[_0xf0eaed(0x213)][_0xf0eaed(0x16a)]-_0x1301ed[_0xf0eaed(0x16e)],_0x1301ed[0x0][_0xf0eaed(0x16a)]!==_0x9631fa[_0xf0eaed(0x213)][_0xf0eaed(0x16a)])break;_0x5d9ac2=!0x0,_0x15e534=_0xf0eaed(0x1bb)===_0x3d02a4?/^\w+/:/\w+$/;}else{if(_0x5d9ac2)break;_0x14faf1+=_0x9631fa[_0xf0eaed(0x1f0)];}}else{if(_0x9631fa['is'](_0xf0eaed(0x19f))){_0x2154c2[_0xf0eaed(0x1f9)](_0x9631fa)&&!_0x5d9ac2&&(_0x14faf1+=0x1);break;}}_0x2e61ee+=_0x14faf1,_0x543acb[_0xf0eaed(0x1a0)](_0x5dc82f[_0xf0eaed(0x1d5)](_0xf0eaed(0x1bb)===_0x3d02a4?_0x2e61ee:-_0x2e61ee));}return _0x2e61ee;}[_0x1e83b9(0x1a2)](_0xba0096,_0x491177){const _0xe6967c=_0x1e83b9,_0x5eddcf=_0x2728df(this[_0xe6967c(0x15f)])[_0xe6967c(0x1cd)][_0xe6967c(0x197)],_0x536a36=this[_0xe6967c(0x146)](_0xba0096,_0xe6967c(0x1f2),_0x5eddcf,0x6),_0x4c5a00=this[_0xe6967c(0x146)](_0x491177,_0xe6967c(0x1bb),_0x5eddcf,0x6),_0x1c4e28=_0xba0096[_0xe6967c(0x1d5)](-_0x536a36),_0x43ffb2=_0x491177[_0xe6967c(0x1d5)](_0x4c5a00);return{'start':_0x1c4e28,'end':_0x43ffb2,'hasContentBefore':!_0x1c4e28[_0xe6967c(0x148)],'hasContentAfter':!_0x43ffb2[_0xe6967c(0x1e1)]};}[_0x1e83b9(0x186)](_0x1cbb6f){const _0x4d6404=_0x1e83b9,_0x3eb4f6=this[_0x4d6404(0x15f)][_0x4d6404(0x167)][_0x4d6404(0x1c6)](_0x4d6404(0x1d4)),_0x4d93c6=new Set();_0x2728df(this[_0x4d6404(0x15f)])[_0x4d6404(0x1cd)][_0x4d6404(0x1a1)](_0x3d3c20=>{const _0x4bbd91=_0x4d6404;for(const _0x23c738 of _0x1cbb6f){const _0x262f42=''+se+_0x23c738[_0x4bbd91(0x182)]+':'+_0x23c738[_0x4bbd91(0x192)]+'_'+_0x3eb4f6[_0x4bbd91(0x156)](_0x4d93c6);this[_0x4bbd91(0x151)][_0x4bbd91(0x19e)](_0x262f42,{'id':_0x262f42,'groupId':_0x23c738[_0x4bbd91(0x192)],'type':_0x23c738[_0x4bbd91(0x182)],'text':_0x23c738[_0x4bbd91(0x1c0)]}),_0x3d3c20[_0x4bbd91(0x1d3)](_0x262f42,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3d3c20[_0x4bbd91(0x162)](_0x23c738[_0x4bbd91(0x199)],_0x23c738[_0x4bbd91(0x16b)])});}});}[_0x1e83b9(0x1b5)](_0x4aadf2,_0x4de6c8,_0x3981a7){let _0x1020ad='';return()=>{const _0x99e0a5=_0x205c;if(!_0x1020ad){const _0x1c77a=_0x4de6c8[_0x99e0a5(0x1a4)](_0x4aadf2,{'showSuggestionHighlights':!0x0}),_0x1342fe=_0x1c77a[_0x99e0a5(0x1df)](0x0);if(!_0x1342fe)return'';let _0x36cb42=!0x1;const _0x1b0c6a=[];for(const _0x30eb6b of _0x1342fe[_0x99e0a5(0x18b)]())_0x30eb6b['is'](_0x99e0a5(0x19f),_0x99e0a5(0x14e))&&_0x30eb6b[_0x99e0a5(0x158)](_0x99e0a5(0x1b2))&&(_0x36cb42=!0x1),_0x36cb42&&_0x1b0c6a[_0x99e0a5(0x1a6)](_0x30eb6b),_0x30eb6b['is'](_0x99e0a5(0x19f),_0x99e0a5(0x14e))&&_0x30eb6b[_0x99e0a5(0x158)](_0x99e0a5(0x142))&&(_0x36cb42=!0x0);_0x1342fe[_0x99e0a5(0x170)](0x0,_0x1342fe[_0x99e0a5(0x193)]),_0x3981a7?.[_0x99e0a5(0x1ba)]&&_0x1342fe[_0x99e0a5(0x1de)]('…'),_0x1342fe[_0x99e0a5(0x1de)](_0x1b0c6a),_0x3981a7?.[_0x99e0a5(0x190)]&&_0x1342fe[_0x99e0a5(0x1de)]('…');const _0x4192cf=_0x4de6c8[_0x99e0a5(0x1bd)][_0x99e0a5(0x1b6)][_0x99e0a5(0x217)](_0x1c77a),_0x3d7a34=_0x4de6c8[_0x99e0a5(0x1bd)][_0x99e0a5(0x1c3)][_0x99e0a5(0x189)](_0x4192cf);_0x1020ad=_0x3d7a34;}return _0x1020ad;};}[_0x1e83b9(0x1dd)](_0x375244,_0x5a20f9){const _0x539e5f=_0x1e83b9;let _0x583fac='';return()=>(_0x583fac||(_0x583fac=_0x5a20f9[_0x539e5f(0x1a8)](_0x375244,{'showSuggestionHighlights':!0x0})),_0x583fac);}[_0x1e83b9(0x1b4)](_0x280356,_0x56b8a8,_0x5b58e5){let _0x4ba2f6='';return()=>{const _0xec570b=_0x205c;if(!_0x4ba2f6){const _0x3b3169=_0x5b58e5[_0xec570b(0x1a4)](new _0x1227db(_0x280356)),_0x51cc79=_0x5b58e5[_0xec570b(0x1bd)][_0xec570b(0x1b6)][_0xec570b(0x217)](_0x3b3169)[_0xec570b(0x1ac)](_0xec570b(0x1d0)+_0x56b8a8+'\x22]');_0x4ba2f6=_0x51cc79?.[_0xec570b(0x166)]||'';}return _0x4ba2f6;};}[_0x1e83b9(0x19d)](_0x3896ed,_0xe7d712=0x5){const _0x26055c=_0x1e83b9;let _0x27f0cf=_0x3896ed,_0x38839a=null;for(let _0x204d04=0x0;_0x204d04<_0xe7d712&&_0x27f0cf;_0x204d04++){if(!_0x27f0cf[_0x26055c(0x1af)]){_0x27f0cf=_0x27f0cf[_0x26055c(0x18c)];continue;}if(!(''+_0x27f0cf[_0x26055c(0x1af)])[_0x26055c(0x1ee)](_0x26055c(0x14f))){_0x27f0cf=_0x27f0cf[_0x26055c(0x18c)];continue;}if(!_0x27f0cf[_0x26055c(0x144)](_0x26055c(0x141)))break;_0x38839a=_0x27f0cf;break;}return _0x38839a;}[_0x1e83b9(0x1b9)](_0x635e47){const _0x2e10f7=_0x1e83b9;return Array[_0x2e10f7(0x1b0)](this[_0x2e10f7(0x151)][_0x2e10f7(0x1cc)]())[_0x2e10f7(0x1d7)](_0x25c7c7=>_0x25c7c7[_0x2e10f7(0x192)]===_0x635e47);}[_0x1e83b9(0x211)](_0x47f058){const _0x51eb57=_0x1e83b9;return _0x51eb57(0x16c)===_0x47f058[_0x51eb57(0x182)]?_0x47f058[_0x51eb57(0x1f1)]:_0x47f058[_0x51eb57(0x16d)][_0x51eb57(0x199)];}[_0x1e83b9(0x15e)](_0x414300,_0x30cfc3=!0x1){const _0x594427=_0x1e83b9;return _0x594427(0x16c)===_0x414300[_0x594427(0x182)]?_0x30cfc3?_0x414300[_0x594427(0x1f1)]:_0x414300[_0x594427(0x1f1)][_0x594427(0x1d5)](_0x414300[_0x594427(0x1ed)]):_0x414300[_0x594427(0x16d)][_0x594427(0x16b)];}[_0x1e83b9(0x20f)](_0x315537,_0x16f619){const _0x4ef7b8=_0x1e83b9;return _0x4ef7b8(0x16c)===_0x315537[_0x4ef7b8(0x182)]?_0x315537[_0x4ef7b8(0x1f1)]=_0x315537[_0x4ef7b8(0x1f1)][_0x4ef7b8(0x1d5)](_0x16f619):_0x4ef7b8(0x1e7)===_0x315537[_0x4ef7b8(0x182)]&&_0x315537[_0x4ef7b8(0x16d)]&&(_0x315537[_0x4ef7b8(0x16d)]=new _0x12659e(_0x315537[_0x4ef7b8(0x16d)][_0x4ef7b8(0x199)][_0x4ef7b8(0x1d5)](_0x16f619),_0x315537[_0x4ef7b8(0x16d)][_0x4ef7b8(0x16b)][_0x4ef7b8(0x1d5)](_0x16f619))),_0x315537;}[_0x1e83b9(0x149)](_0x4b92db,_0x43b1ce){const _0x352f97=_0x1e83b9;_0x352f97(0x16c)===_0x4b92db[_0x352f97(0x182)]?_0x4b92db[_0x352f97(0x1f1)]=this[_0x352f97(0x1a3)](_0x4b92db[_0x352f97(0x1f1)],_0x43b1ce):_0x352f97(0x1e7)===_0x4b92db[_0x352f97(0x182)]&&_0x4b92db[_0x352f97(0x16d)]&&(_0x4b92db[_0x352f97(0x16d)]=this[_0x352f97(0x1a5)](_0x4b92db[_0x352f97(0x16d)],_0x43b1ce));}[_0x1e83b9(0x1a3)](_0x393989,_0x3197cc){const _0x210115=_0x1e83b9;return new _0x19c465(_0x3197cc,_0x393989[_0x210115(0x198)]);}[_0x1e83b9(0x1a5)](_0x27286c,_0xe92c3){const _0x5c2224=_0x1e83b9;return new _0x12659e(this[_0x5c2224(0x1a3)](_0x27286c[_0x5c2224(0x199)],_0xe92c3),this[_0x5c2224(0x1a3)](_0x27286c[_0x5c2224(0x16b)],_0xe92c3));}[_0x1e83b9(0x18e)](_0x2e6481,_0x59d5f6,_0x4cbae6){return new _0x19c465(_0x4cbae6,[..._0x59d5f6]);}[_0x1e83b9(0x143)](_0x3dfc42,_0x2ba66b,_0x386c1a,_0x1c3c4d){const _0x11356d=_0x1e83b9;return new _0x12659e(this[_0x11356d(0x18e)](_0x3dfc42[_0x11356d(0x199)],_0x2ba66b,_0x1c3c4d),this[_0x11356d(0x18e)](_0x3dfc42[_0x11356d(0x16b)],_0x386c1a,_0x1c3c4d));}[_0x1e83b9(0x1db)](_0xb8a44e){const _0x164b95=_0x1e83b9,_0x30cef1=_0x170c9d=>{const _0x5f2244=_0x205c;switch(_0x170c9d){case _0x5f2244(0x16c):return 0x1;case _0x5f2244(0x1bf):return 0x2;case _0x5f2244(0x1ad):return 0x3;case _0x5f2244(0x145):return 0x4;}};return _0xb8a44e[_0x164b95(0x154)]((_0x3a392c,_0xdb5ddd)=>_0x30cef1(_0x3a392c[_0x164b95(0x182)])-_0x30cef1(_0xdb5ddd[_0x164b95(0x182)]));}}function _0x2b68(){const _0x1ce78e=['_appendChild','getChild','editingDowncast','isAtEnd','createText','DocumentCompare','deleteContent','batch','target','marker','split','rejectChange','affectsData','requires','every','howMany','includes','afterInit','offsetSize','position','backward','document','for','innerHTML','clearAllMarkers','createPositionAt','flat','isInline','applyOperation','getRange','ai-review-mode','333520XpJpnj','_clone','hasContentAfter','ck-ai_review-mode-marker_strikethrough','isTouching','9352qStuYZ','map','dataDowncast','baseVersion','documentFragment','hasContentBefore','_domEmitter','createDocumentFragment','processor','getDiff','getPath','createPositionAfter','emitter','_shiftOperation','click','_getOperationStart','419265trumhM','data','switchToReadOnly','_eventEmitter','$textProxy','viewToDom','attributeToAttribute','ck-ai_review-mode-marker_underline','listenTo','data-marker-id','ck-ai_review-mode-marker_context-start','_changeRange','getAttribute','remove-text','_findAdjacentContextDistance','30KHHDzk','isAtStart','_changeOperationOwnerDocument','hasAttribute','createSelection','addOperation','AIReviewModeEditing','span','ck-ai_review-mode-marker_','history','_markers','disableReadOnlyMode','createRawElement','sort','_setAttribute','_nextDataId','getMarkerElementForChange','hasClass','No\x20element\x20found\x20for\x20ID:\x20','offset','removeMarker','name','parent','_getOperationEnd','context','6730dnIQSs','elements','createRange','operationsIsolated','1958133edRdXd','delete','outerHTML','plugins','operationsA','diffContent','length','end','insert','newRange','index','append','_removeChildren','enableReadOnlyMode','$markedRemove','add','conversion','exec','getRoots','$documentFragment','getDocumentData','version','isOfficialPlugin','markChangePositionInEditorContent','isPremiumPlugin','markers','ck-ai_review-mode-marker_add','110eCdMPI','suggestion-context','_translateOperationToEditorContent','type','getEditor','markerToElement','isDocumentOperation','_insertMarkers','clear','downcast','getHtml','getDomRoot','getChildren','parentElement','1980640BGGJBo','_changePosition','pluginName','ellipsisAfter','getOperations','groupId','childCount','warn','caption','suggestion:insertion:id:authorId:','schema','path','start','markerToHighlight','startsWith','view','_findMarkerElement','set','element','jumpTo','change','_getChangeContext','_changePositionOwnerDocument','toView','_changeRangeOwnerDocument','push','ck-ai_review-mode-marker_context-','stringify','suggestion:deletion:id:authorId:','toDomElement','switchToEdit','querySelector','remove-only','getRoot','className','from','markerName','ck-ai_review-mode-marker_context-end','5754zdXZQH','_createGetContentUsingDataIdFn','_createGetContextFn','domConverter','parse','isOpening','_getMarkersDataForGroup','ellipsisBefore','forward','nodes','htmlProcessor','insertContent','remove-context','text','_removeAttribute','changeMarkerClick','htmlWriter','ck-ai_review-mode-marker_hide','1549518CpTnyH','get','toData','keys','clone','pop','_groupAdjacentOperations','values','model','editing','concat','[data-id=\x22','applyChange','oldRange','addMarker','AIEditing','getShiftedBy','model:$text','filter','createUIElement','fire','reviewmode-','_sortMarkers','[data-marker-id=\x22','_createGetContentFn'];_0x2b68=function(){return _0x1ce78e;};return _0x2b68();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4c0e(){const _0x3f464b=['_bodyCollection','setAvailableChecks','hideChangeBalloon','6uwTuGg','view','forEach','delegate','showActionsWhenResultIsReady','getResults','AIReviewModeUI','2544625HQMfIx','1830820yNlikn','pluginName','3750384oVpIIl','leaveReviewModeResultList','detachFromDom','addCheckRunResult','get','_reviewModeView','dismissChange','setTitle','showChangeBalloon','acceptChange','showCheckRunResult','hideResult','error-general','setCheckResultTitle','acceptAllChanges','retryReview','75626tkFbcc','getReviewCheckList','showReviewCheckList','activateTab','1sSvzTq','leaveReviewMode','element','activateChange','hideActionsWhenResultIsReady','hideBalloon','reviewCheckResultsView','addTab','setItemAsActive','status','setChecks','plugins','isOfficialPlugin','runReviewCheck','updateChangeState','context','showBalloon','showReviewCheckListView','locale','2169jOJjGA','learnMore','showGeneralErrorView','abortReviewStream','showChunkErrorView','resetActiveStateInResults','isPremiumPlugin','hasChecks','showNoChangesView','1647852ueeSiD','attachToDom','find','toggleDiff','showReviewCompletedView','32390LiIGoV','finishReview','accepted','_reviewModeBalloonSuggestionItemView','reviewCheckListView','reviewMode','AI_REVIEW_MODE','destroy','showReviewCheckResultsView','AITabs','rejected','getChangeElement','setItemAsInactive','3681552UzMbus','deactivateChange','error-chunk','fire','showCheckRunResults','setActiveStateInResults','init','requires'];_0x4c0e=function(){return _0x3f464b;};return _0x4c0e();}const _0xd051d=_0x2fab;(function(_0x413579,_0x153cb6){const _0x4c5824=_0x2fab,_0x19469e=_0x413579();while(!![]){try{const _0x72e0=-parseInt(_0x4c5824(0x13c))/0x1*(parseInt(_0x4c5824(0x138))/0x2)+-parseInt(_0x4c5824(0x158))/0x3+-parseInt(_0x4c5824(0x126))/0x4+parseInt(_0x4c5824(0x125))/0x5*(parseInt(_0x4c5824(0x11e))/0x6)+parseInt(_0x4c5824(0x113))/0x7+-parseInt(_0x4c5824(0x128))/0x8+parseInt(_0x4c5824(0x14f))/0x9*(parseInt(_0x4c5824(0x15d))/0xa);if(_0x72e0===_0x153cb6)break;else _0x19469e['push'](_0x19469e['shift']());}catch(_0x4ed443){_0x19469e['push'](_0x19469e['shift']());}}}(_0x4c0e,0x49b24));function _0x2fab(_0x1b16f7,_0x5f12e6){const _0x4c0e09=_0x4c0e();return _0x2fab=function(_0x2fab6c,_0x44ee0d){_0x2fab6c=_0x2fab6c-0x108;let _0x3d9f2c=_0x4c0e09[_0x2fab6c];return _0x3d9f2c;},_0x2fab(_0x1b16f7,_0x5f12e6);}import{ContextPlugin as _0x775cfe}from'ckeditor5/src/core.js';import{IconAIReview as _0x1d7385}from'ckeditor5/src/icons.js';import{BodyCollection as _0x2fc87f}from'ckeditor5/src/ui.js';import{AITabs as _0x201366}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x393cda}from'./ui/aireviewmodeview.js';import{getTranslation as _0xc35077}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x46d56c}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0xd051d(0x139),_0xd051d(0x149),_0xd051d(0x152),_0xd051d(0x15b),_0xd051d(0x136),_0xd051d(0x129),_0xd051d(0x13f),_0xd051d(0x131),_0xd051d(0x12e),_0xd051d(0x150),_0xd051d(0x15e),_0xd051d(0x137)];export class AIReviewModeUI extends _0x775cfe{[_0xd051d(0x12d)];[_0xd051d(0x109)];[_0xd051d(0x11b)];static get[_0xd051d(0x11a)](){return[_0x201366];}static get[_0xd051d(0x127)](){const _0xac93fc=_0xd051d;return _0xac93fc(0x124);}static get[_0xd051d(0x148)](){return!0x0;}static get[_0xd051d(0x155)](){return!0x0;}constructor(_0x2e875d){const _0x168218=_0xd051d;super(_0x2e875d),this[_0x168218(0x11b)]=new _0x2fc87f(this[_0x168218(0x14b)][_0x168218(0x14e)]),this[_0x168218(0x11b)][_0x168218(0x159)](),this[_0x168218(0x12d)]=new _0x393cda(this[_0x168218(0x14b)][_0x168218(0x14e)]),this[_0x168218(0x12d)][_0x168218(0x121)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x168218(0x109)]=new _0x46d56c(this[_0x168218(0x14b)][_0x168218(0x14e)],this[_0x168218(0x11b)]),this[_0x168218(0x109)][_0x168218(0x121)](_0x168218(0x131),_0x168218(0x12e),_0x168218(0x114))['to'](this);}[_0xd051d(0x119)](){const _0x520e85=_0xd051d,_0x25fa4a=this[_0x520e85(0x14b)][_0x520e85(0x147)][_0x520e85(0x12c)](_0x520e85(0x10f));_0x25fa4a[_0x520e85(0x11f)]['on'](_0x520e85(0x13b),(_0x5758a5,_0x553057)=>{const _0x465bc8=_0x520e85;_0x465bc8(0x10b)===_0x553057?this[_0x465bc8(0x116)](_0x465bc8(0x139)):this[_0x465bc8(0x116)](_0x465bc8(0x13d));}),_0x25fa4a[_0x520e85(0x11f)][_0x520e85(0x143)]({'id':_0x520e85(0x10b),'buttonLabel':_0xc35077(this[_0x520e85(0x14b)][_0x520e85(0x14e)],_0x520e85(0x10c)),'buttonIcon':_0x1d7385,'order':0x0,'content':this[_0x520e85(0x12d)]});}[_0xd051d(0x10d)](){const _0x515e90=_0xd051d;this[_0x515e90(0x11b)][_0x515e90(0x12a)](),super[_0x515e90(0x10d)]();}[_0xd051d(0x11c)](_0x813c8b){const _0x421a7e=_0xd051d;this[_0x421a7e(0x12d)][_0x421a7e(0x10a)][_0x421a7e(0x156)]()||this[_0x421a7e(0x12d)][_0x421a7e(0x10a)][_0x421a7e(0x146)](_0x813c8b),this[_0x421a7e(0x12d)][_0x421a7e(0x14d)]();}[_0xd051d(0x13a)](){const _0x16a4c6=_0xd051d;this[_0x16a4c6(0x116)](_0x16a4c6(0x139));}[_0xd051d(0x117)](_0x4dc02f){const _0x6a8ce7=_0xd051d;_0x4dc02f&&(_0x6a8ce7(0x134)!==_0x4dc02f[_0x6a8ce7(0x145)]?_0x6a8ce7(0x115)!==_0x4dc02f[_0x6a8ce7(0x145)]?this[_0x6a8ce7(0x12d)][_0x6a8ce7(0x10e)]():this[_0x6a8ce7(0x153)]():this[_0x6a8ce7(0x151)]());}[_0xd051d(0x132)](_0x459b73){const _0x5e58c7=_0xd051d;this[_0x5e58c7(0x12d)][_0x5e58c7(0x12b)](_0x459b73);}[_0xd051d(0x151)](){const _0x25c711=_0xd051d;this[_0x25c711(0x12d)][_0x25c711(0x151)]();}[_0xd051d(0x153)](){const _0x51cdd5=_0xd051d;this[_0x51cdd5(0x12d)][_0x51cdd5(0x153)]();}[_0xd051d(0x135)](_0x3b49f6){const _0x3ef190=_0xd051d;this[_0x3ef190(0x12d)][_0x3ef190(0x142)][_0x3ef190(0x12f)](_0x3b49f6);}[_0xd051d(0x118)](_0xb491c3){const _0x5d4f9b=_0xd051d;this[_0x5d4f9b(0x12d)][_0x5d4f9b(0x142)][_0x5d4f9b(0x123)]()[_0x5d4f9b(0x120)](_0x3ef808=>{const _0x3aa1b3=_0x5d4f9b;_0x3ef808['id']===_0xb491c3&&_0x3ef808[_0x3aa1b3(0x144)]();});}[_0xd051d(0x154)](){const _0x5ba2f0=_0xd051d;this[_0x5ba2f0(0x12d)][_0x5ba2f0(0x142)][_0x5ba2f0(0x123)]()[_0x5ba2f0(0x120)](_0x412854=>_0x412854[_0x5ba2f0(0x112)]());}[_0xd051d(0x14a)](_0x5699ba,_0x479a63){const _0x1434f0=_0xd051d;_0x1434f0(0x108)!==_0x479a63&&_0x1434f0(0x110)!==_0x479a63||this[_0x1434f0(0x12d)][_0x1434f0(0x142)][_0x1434f0(0x133)](_0x5699ba);}[_0xd051d(0x15c)](){const _0x5dd1f6=_0xd051d;this[_0x5dd1f6(0x12d)][_0x5dd1f6(0x15c)]();}[_0xd051d(0x122)](){const _0x4fdbfb=_0xd051d;this[_0x4fdbfb(0x12d)][_0x4fdbfb(0x122)]();}[_0xd051d(0x157)](){const _0x38a0a7=_0xd051d;this[_0x38a0a7(0x12d)][_0x38a0a7(0x157)]();}[_0xd051d(0x140)](){const _0x1bf536=_0xd051d;this[_0x1bf536(0x12d)][_0x1bf536(0x140)]();}[_0xd051d(0x130)](_0x358ad1,_0xc0ce7e){const _0x4f857b=_0xd051d;this[_0x4f857b(0x109)][_0x4f857b(0x14c)](_0x358ad1,_0xc0ce7e);}[_0xd051d(0x11d)](){const _0x156030=_0xd051d;this[_0x156030(0x109)][_0x156030(0x141)]();}[_0xd051d(0x111)](_0x1686dc){const _0x80d776=_0xd051d,_0x335475=this[_0x80d776(0x12d)][_0x80d776(0x142)][_0x80d776(0x123)]()[_0x80d776(0x15a)](_0x506072=>_0x506072['id']===_0x1686dc);return _0x335475?_0x335475[_0x80d776(0x13e)]:null;}[_0xd051d(0x114)](){const _0x1fb603=_0xd051d;this[_0x1fb603(0x109)][_0x1fb603(0x114)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4807(_0x21f501,_0x1acd24){var _0x2be7c1=_0x2be7();return _0x4807=function(_0x480792,_0x2f801d){_0x480792=_0x480792-0x78;var _0x102e87=_0x2be7c1[_0x480792];return _0x102e87;},_0x4807(_0x21f501,_0x1acd24);}var _0x5a49ed=_0x4807;function _0x2be7(){var _0x520e94=['options','isParameterized','320532xttuaM','12SzOdXY','3873248AaqPfv','description','useArgs','title','1815723FQArjg','60741TfqgVf','413176hHJKjT','830gZWuCp','926737YxSkBx','91HTgRWf','1875685nIgIzV'];_0x2be7=function(){return _0x520e94;};return _0x2be7();}(function(_0x186b1a,_0x29bd33){var _0x372316=_0x4807,_0x66487c=_0x186b1a();while(!![]){try{var _0x56d3c7=-parseInt(_0x372316(0x86))/0x1+-parseInt(_0x372316(0x7c))/0x2+parseInt(_0x372316(0x82))/0x3+parseInt(_0x372316(0x7e))/0x4+-parseInt(_0x372316(0x79))/0x5*(parseInt(_0x372316(0x7d))/0x6)+parseInt(_0x372316(0x78))/0x7*(parseInt(_0x372316(0x84))/0x8)+-parseInt(_0x372316(0x83))/0x9*(-parseInt(_0x372316(0x85))/0xa);if(_0x56d3c7===_0x29bd33)break;else _0x66487c['push'](_0x66487c['shift']());}catch(_0xde6409){_0x66487c['push'](_0x66487c['shift']());}}}(_0x2be7,0xec4ae));export class AIReviewCheck{['id'];[_0x5a49ed(0x81)];[_0x5a49ed(0x7f)];[_0x5a49ed(0x7b)];[_0x5a49ed(0x80)];[_0x5a49ed(0x7a)];constructor({id:_0x361726,title:_0x160655,description:_0x4e406c,isParameterized:_0x174b21,useArgs:_0x236fb1,options:_0x564acd}){var _0x3d5ed4=_0x5a49ed;this['id']=_0x361726,this[_0x3d5ed4(0x81)]=_0x160655,this[_0x3d5ed4(0x7f)]=_0x4e406c,this[_0x3d5ed4(0x7b)]=_0x174b21,this[_0x3d5ed4(0x80)]=_0x236fb1,this[_0x3d5ed4(0x7a)]=_0x564acd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x16a1da=_0x1046;function _0x1046(_0x19f0e0,_0x182917){var _0x4398a1=_0x4398();return _0x1046=function(_0x104680,_0x1249ec){_0x104680=_0x104680-0x156;var _0x38a8a9=_0x4398a1[_0x104680];return _0x38a8a9;},_0x1046(_0x19f0e0,_0x182917);}(function(_0x3dcb9e,_0x44785c){var _0x4fc497=_0x1046,_0x1eb056=_0x3dcb9e();while(!![]){try{var _0x2449ab=parseInt(_0x4fc497(0x158))/0x1+parseInt(_0x4fc497(0x161))/0x2*(parseInt(_0x4fc497(0x15f))/0x3)+parseInt(_0x4fc497(0x159))/0x4+parseInt(_0x4fc497(0x15a))/0x5*(parseInt(_0x4fc497(0x156))/0x6)+-parseInt(_0x4fc497(0x157))/0x7+parseInt(_0x4fc497(0x15e))/0x8*(parseInt(_0x4fc497(0x15c))/0x9)+-parseInt(_0x4fc497(0x160))/0xa;if(_0x2449ab===_0x44785c)break;else _0x1eb056['push'](_0x1eb056['shift']());}catch(_0x4e2ac1){_0x1eb056['push'](_0x1eb056['shift']());}}}(_0x4398,0xb066c));function _0x4398(){var _0x75974e=['2612886UyMjuv','88698UwbBBQ','5202386GFbpkj','305364TJQttk','3158180KaayOp','225USxIOW','models','1733463EVbwdy','_models','48GcoHyF','3fZUAix','27564910DMpGVG'];_0x4398=function(){return _0x75974e;};return _0x4398();}import{AIReviewCheck as _0x38960e}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x38960e{[_0x16a1da(0x15d)]=[];get[_0x16a1da(0x15b)](){var _0x14057f=_0x16a1da;return this[_0x14057f(0x15d)];}set[_0x16a1da(0x15b)](_0x4dc24d){var _0x347ed1=_0x16a1da;this[_0x347ed1(0x15d)]=_0x4dc24d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5dba60=_0x39d6;(function(_0x2e2662,_0x3e7823){var _0x57e0cd=_0x39d6,_0x1b5dc1=_0x2e2662();while(!![]){try{var _0x52bd08=parseInt(_0x57e0cd(0xe7))/0x1+parseInt(_0x57e0cd(0xf5))/0x2*(parseInt(_0x57e0cd(0xeb))/0x3)+-parseInt(_0x57e0cd(0xf2))/0x4+parseInt(_0x57e0cd(0xf8))/0x5*(-parseInt(_0x57e0cd(0xe8))/0x6)+-parseInt(_0x57e0cd(0xf7))/0x7*(parseInt(_0x57e0cd(0xea))/0x8)+parseInt(_0x57e0cd(0xef))/0x9+parseInt(_0x57e0cd(0xf6))/0xa*(parseInt(_0x57e0cd(0xed))/0xb);if(_0x52bd08===_0x3e7823)break;else _0x1b5dc1['push'](_0x1b5dc1['shift']());}catch(_0x28eff1){_0x1b5dc1['push'](_0x1b5dc1['shift']());}}}(_0x1e57,0x5e5dd));import{ObservableMixin as _0x141919}from'ckeditor5/src/utils.js';function _0x1e57(){var _0x4b96d4=['3731463EdVDoc','_mapCheckDefinitions','getCheckById','352560NLNtxJ','map','custom','2JXPLfO','1472180SVAUwu','4313302ZhvnWh','12175OMggCi','36625SXrdAO','240CETrbI','checks','8rUnLcm','1327749aHuiYt','find','22BZKxHP','_checks'];_0x1e57=function(){return _0x4b96d4;};return _0x1e57();}function _0x39d6(_0x26dbf7,_0x130ab7){var _0x1e57b8=_0x1e57();return _0x39d6=function(_0x39d665,_0x1cb025){_0x39d665=_0x39d665-0xe7;var _0x1f1e5f=_0x1e57b8[_0x39d665];return _0x1f1e5f;},_0x39d6(_0x26dbf7,_0x130ab7);}import{AIReviewCheck as _0xaa5b0f}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x4a1d58}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x141919(){[_0x5dba60(0xee)];constructor(_0x3df99b){var _0x496c08=_0x5dba60;super(),this[_0x496c08(0xee)]=this[_0x496c08(0xf0)](_0x3df99b);}get[_0x5dba60(0xe9)](){var _0x25cdaf=_0x5dba60;return this[_0x25cdaf(0xee)];}[_0x5dba60(0xf1)](_0x5ae5a6){var _0x189fa8=_0x5dba60;return this[_0x189fa8(0xe9)][_0x189fa8(0xec)](_0x358c95=>_0x358c95['id']===_0x5ae5a6);}[_0x5dba60(0xf0)](_0x1ba670){var _0x4c150b=_0x5dba60;return _0x1ba670[_0x4c150b(0xf3)](_0x326b80=>_0x4c150b(0xf4)===_0x326b80['id']?new _0x4a1d58(_0x326b80):new _0xaa5b0f(_0x326b80));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5727ad=_0x2c59;(function(_0x1bbf65,_0x320b14){var _0x1b6096=_0x2c59,_0x1f9b1b=_0x1bbf65();while(!![]){try{var _0xb7cc40=parseInt(_0x1b6096(0x77))/0x1+parseInt(_0x1b6096(0x7b))/0x2*(parseInt(_0x1b6096(0x7c))/0x3)+parseInt(_0x1b6096(0x76))/0x4*(parseInt(_0x1b6096(0x78))/0x5)+-parseInt(_0x1b6096(0x79))/0x6+parseInt(_0x1b6096(0x72))/0x7*(parseInt(_0x1b6096(0x74))/0x8)+parseInt(_0x1b6096(0x7a))/0x9*(parseInt(_0x1b6096(0x71))/0xa)+-parseInt(_0x1b6096(0x75))/0xb;if(_0xb7cc40===_0x320b14)break;else _0x1f9b1b['push'](_0x1f9b1b['shift']());}catch(_0x370160){_0x1f9b1b['push'](_0x1f9b1b['shift']());}}}(_0x48e9,0x4c15b));function _0x2c59(_0x53edad,_0x35f846){var _0x48e9a3=_0x48e9();return _0x2c59=function(_0x2c5925,_0x2a31fc){_0x2c5925=_0x2c5925-0x6f;var _0x429217=_0x48e9a3[_0x2c5925];return _0x429217;},_0x2c59(_0x53edad,_0x35f846);}import{EmitterMixin as _0x382170}from'ckeditor5/src/utils.js';function _0x48e9(){var _0x3895eb=['7qGqVev','contentInitial','3958304KZkrdO','14087348nZeFzW','64IqmOVg','179147ZcRybZ','188165BOsDpo','2225772Meccwr','3501KetzBQ','528734UaRsyr','3PayTDo','contentNew','documentVersion','10870iYANpr'];_0x48e9=function(){return _0x3895eb;};return _0x48e9();}export class AIReviewCheckResult extends _0x382170(){['id'];[_0x5727ad(0x6f)];[_0x5727ad(0x73)];[_0x5727ad(0x70)];constructor({id:_0xe907f0,contentNew:_0x4fd7eb,contentInitial:_0x5307b1,documentVersion:_0x25b9a5}){var _0xd26b44=_0x5727ad;super(),this['id']=_0xe907f0,this[_0xd26b44(0x6f)]=_0x4fd7eb,this[_0xd26b44(0x73)]=_0x5307b1,this[_0xd26b44(0x70)]=_0x25b9a5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x3b2fde=_0x2862;function _0x4f4d(){var _0x24ac0e=['7ehzErL','401590PXeREN','isActivated','status','operations','active','998evTRdP','3924dAWKkc','contentDiffed','operationsIsolated','_editorOperations','10309744IlFhdZ','set','1425846CwTnWW','3309236bRCowS','parent','7281BLNPaU','23300232feMmzc','22PbPNKv','context','6RNiHJA','_data','590ZOoeLw'];_0x4f4d=function(){return _0x24ac0e;};return _0x4f4d();}(function(_0x128701,_0x212e4b){var _0x296449=_0x2862,_0x42a3b5=_0x128701();while(!![]){try{var _0x291fb3=parseInt(_0x296449(0x16d))/0x1+-parseInt(_0x296449(0x166))/0x2*(-parseInt(_0x296449(0x159))/0x3)+parseInt(_0x296449(0x16e))/0x4+parseInt(_0x296449(0x161))/0x5*(-parseInt(_0x296449(0x15d))/0x6)+-parseInt(_0x296449(0x160))/0x7*(-parseInt(_0x296449(0x16b))/0x8)+-parseInt(_0x296449(0x167))/0x9*(-parseInt(_0x296449(0x15f))/0xa)+-parseInt(_0x296449(0x15b))/0xb*(parseInt(_0x296449(0x15a))/0xc);if(_0x291fb3===_0x212e4b)break;else _0x42a3b5['push'](_0x42a3b5['shift']());}catch(_0x2dfbe3){_0x42a3b5['push'](_0x42a3b5['shift']());}}}(_0x4f4d,0xc6f84));import{ObservableMixin as _0x20820b}from'ckeditor5/src/utils.js';function _0x2862(_0x42b9f3,_0x576274){var _0x4f4d18=_0x4f4d();return _0x2862=function(_0x28625f,_0xb82194){_0x28625f=_0x28625f-0x158;var _0x169b0c=_0x4f4d18[_0x28625f];return _0x169b0c;},_0x2862(_0x42b9f3,_0x576274);}export class AIReviewCheckResultChange extends _0x20820b(){['id'];[_0x3b2fde(0x158)];[_0x3b2fde(0x15e)];[_0x3b2fde(0x16a)]=[];constructor(_0x2cac06,_0x45a8c5,_0x5829d2){var _0x5d65ea=_0x3b2fde;super(),this['id']=_0x2cac06,this[_0x5d65ea(0x158)]=_0x5829d2,this[_0x5d65ea(0x15e)]=_0x45a8c5,this[_0x5d65ea(0x16c)](_0x5d65ea(0x162),!0x1),this[_0x5d65ea(0x16c)](_0x5d65ea(0x163),_0x5d65ea(0x165));}get[_0x3b2fde(0x168)](){var _0xf40884=_0x3b2fde;return this[_0xf40884(0x15e)][_0xf40884(0x15c)]();}get[_0x3b2fde(0x164)](){var _0x22b94e=_0x3b2fde;return this[_0x22b94e(0x15e)][_0x22b94e(0x164)];}get[_0x3b2fde(0x169)](){var _0x39e46e=_0x3b2fde;return this[_0x39e46e(0x15e)][_0x39e46e(0x169)];}}
|