@ckeditor/ckeditor5-ai 47.4.0-alpha.5 → 47.4.0
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 +5 -5
- 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/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/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x24f808,_0x108b8f){const _0x785c61=_0x5bd0,_0x2c22e5=_0x24f808();while(!![]){try{const _0x579803=-parseInt(_0x785c61(0x113))/0x1+-parseInt(_0x785c61(0x103))/0x2+parseInt(_0x785c61(0x116))/0x3*(-parseInt(_0x785c61(0x112))/0x4)+parseInt(_0x785c61(0x118))/0x5+-parseInt(_0x785c61(0x10d))/0x6*(parseInt(_0x785c61(0x117))/0x7)+parseInt(_0x785c61(0x110))/0x8+parseInt(_0x785c61(0x108))/0x9*(parseInt(_0x785c61(0x10e))/0xa);if(_0x579803===_0x108b8f)break;else _0x2c22e5['push'](_0x2c22e5['shift']());}catch(_0x1aa89b){_0x2c22e5['push'](_0x2c22e5['shift']());}}}(_0x3f36,0xa6528));function _0x3f36(){const _0x380935=['aiQuickAction','ck-ai-quick-actions-button','bindTemplate','locale','57366fyGTno','execute','parent','editing','focus','162BMbhNu','1990XbTYHX','view','318688rgjHQp','menuitem','2045372lVZueI','113025trYwYm','displayedPrompt','extendTemplate','6qmwaLV','90685DqhUvd','6766300GKhQJG','commands','isEnabled','set','icon','989540LIcMVC'];_0x3f36=function(){return _0x380935;};return _0x3f36();}function _0x5bd0(_0x41f50e,_0x56e87d){const _0x3f36e6=_0x3f36();return _0x5bd0=function(_0x5bd0d2,_0x2bae4f){_0x5bd0d2=_0x5bd0d2-0x103;let _0x9db2f0=_0x3f36e6[_0x5bd0d2];return _0x9db2f0;},_0x5bd0(_0x41f50e,_0x56e87d);}import{ButtonView as _0x28b258}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x29c573}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x201acf){const {editor:_0x4fef47,action:_0x442f52,withText:_0x3f6a9b=!0x1,withIcon:_0x87b091=!0x0,isInDropdown:_0x4ee3c4=!0x0,shouldPreventFocus:_0x5a8d62=!0x1}=_0x201acf;return()=>{const _0x26a1f4=_0x5bd0,_0x3c10d3=_0x4fef47[_0x26a1f4(0x107)],_0x6f3811=new _0x28b258(_0x3c10d3),_0x3698f4=_0x6f3811[_0x26a1f4(0x106)];_0x4ee3c4&&_0x6f3811[_0x26a1f4(0x115)]({'on':{'mouseenter':_0x3698f4['to'](()=>{const _0x557bb9=_0x26a1f4;_0x5a8d62&&_0x5a8d62()||_0x6f3811[_0x557bb9(0x10c)]();})}});const _0x59b870=_0x442f52[_0x26a1f4(0x11c)]??_0x442f52[_0x26a1f4(0x10a)]?.[_0x26a1f4(0x11c)];return _0x6f3811[_0x26a1f4(0x11b)]({'label':_0x442f52[_0x26a1f4(0x114)],'withText':_0x3f6a9b,'role':_0x26a1f4(0x111),'icon':_0x87b091?_0x59b870??_0x29c573:void 0x0,'tooltip':!_0x3f6a9b,'class':_0x26a1f4(0x105),'isEnabled':_0x442f52[_0x26a1f4(0x11a)]}),_0x6f3811['on'](_0x26a1f4(0x109),()=>{const _0x5d4b5c=_0x26a1f4;_0x4fef47[_0x5d4b5c(0x10b)][_0x5d4b5c(0x10f)][_0x5d4b5c(0x10c)](),_0x4fef47[_0x5d4b5c(0x119)][_0x5d4b5c(0x109)](_0x5d4b5c(0x104),_0x442f52);}),_0x6f3811;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x19e44b=_0x2a39;(function(_0x5aa973,_0x4987ff){const _0x4bb3fa=_0x2a39,_0x43ba76=_0x5aa973();while(!![]){try{const _0x288fea=-parseInt(_0x4bb3fa(0x1a6))/0x1*(-parseInt(_0x4bb3fa(0x1dd))/0x2)+-parseInt(_0x4bb3fa(0x16c))/0x3+-parseInt(_0x4bb3fa(0x1ad))/0x4*(parseInt(_0x4bb3fa(0x156))/0x5)+parseInt(_0x4bb3fa(0x1ae))/0x6+-parseInt(_0x4bb3fa(0x1a3))/0x7*(parseInt(_0x4bb3fa(0x1b3))/0x8)+-parseInt(_0x4bb3fa(0x166))/0x9*(parseInt(_0x4bb3fa(0x16b))/0xa)+-parseInt(_0x4bb3fa(0x16f))/0xb*(-parseInt(_0x4bb3fa(0x182))/0xc);if(_0x288fea===_0x4987ff)break;else _0x43ba76['push'](_0x43ba76['shift']());}catch(_0x268008){_0x43ba76['push'](_0x43ba76['shift']());}}}(_0x987f,0x197c1));import{View as _0x38603a,ListItemView as _0x27a90e,ListView as _0x32623f,BalloonPanelView as _0x4b3d9c,DropdownMenuPanelPositioningFunctions as _0x14de8f,ViewCollection as _0x4785f7,FocusCycler as _0x57a302,ButtonView as _0x32fe1d,IconView as _0x4f2b03,HighlightedTextView as _0x3ab4f5,ButtonLabelWithHighlightView as _0x478a87,SearchTextView as _0x4d85d0}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4af75f}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2da948,KeystrokeHandler as _0x33a1c8}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x366919}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x4a0d05}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x2d367f}from'../../aicore/utils/common-translations.js';function _0x987f(){const _0x4136c5=['ck-ai-quick-actions-search','destroy','get','role','_createActionButton','parent','delete','extendTemplate','ArrowRight','fire','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','focusCycler','90JKSehG','menuitem','displayedPrompt','5bwOyGW','key','_createSearchResultGroupRow','.ck-ai-quick-actions-group-button','_hideNestedPanel','isVisible','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','content','setTemplate','detachFromDom','_createGroupActionsList','fieldView','focus','ck-dropdown-menu-list','ck-ai-quick-actions-button_with-group__close-paren','ck-ai-quick-actions-search-result__action-row','18yaUCQO','optionsListView','_handleSearchResultButtonClick','show','eastSouth','401170WAbTEw','336807dPMqDZ','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','push','121IqkiTM','_searchTextView','_createSearchResultActionButton','activeElement','ArrowLeft','render','ck-ai-quick-actions-button_with-group','_createSearchTextView','ck-ai-quick-actions-search-result__group-row','menu','rtl','ck-ai-quick-actions-search-result-button_with-group','_getPanelKeystroke','_handlePanelKeydown','ck-ai-quick-actions-button__group-icon','_getButtonKeystroke','uiLanguageDirection','addMany','bindTemplate','462444lznQck','_focusables','ck-button','first','AI_QUICK_ACTIONS_SEARCH','ck-button_with-text','_createActionGroupButton','ck-ai-quick-actions-button','execute','chain','reset','hide','_createSearchResultGroupedActionButton','ck-ai-quick-actions-group-button','_allSearchableItems','_createSearchResultActionRow','ownerDocument','.ck-ai-quick-actions-group-list','span','ck-rounded-corners','aiQuickAction','ck-dropdown-menu__nested-menu__panel','mouseleave','items','ck-ai-quick-actions-search-result__content','forEach','editing','ck-ai-quick-actions-button_with-group__open-paren','_isSearchFocused','_createSearchResultIndividualActionButton','some','set','addEventListener','608132uvYBJb','view','_bodyCollection','2035qgvMbP','queryView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_hasSearch','_hideAllNestedPanels','keystrokes','text','777192GDKKUn','375480iVPEun','locale','.ck-ai-quick-actions-group-panel','pin','icon','8eUGjXm','clear','isEnabled','resetSearch','ck-reset_all','element','add','commands','ck-ai-quick-actions-group-panel','focusTracker','actions','_showNestedPanel','isOn','label','relatedTarget','contains','children','_setupGroupMenuBehavior','_isMovingToNestedMenu','_createSearchResultContentView','_openNestedPanels','closest','button','div','_createListItems','_setupActionButtonExecution','ck-ai-quick-actions','ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result-button','bind'];_0x987f=function(){return _0x4136c5;};return _0x987f();}import{AIQuickActionsFilteredListView as _0x811bc4}from'./aiquickactionsfilteredlistview.js';function _0x2a39(_0x35610f,_0x4b45fc){const _0x987f2f=_0x987f();return _0x2a39=function(_0x2a39e8,_0x25a77e){_0x2a39e8=_0x2a39e8-0x154;let _0x2b1eb1=_0x987f2f[_0x2a39e8];return _0x2b1eb1;},_0x2a39(_0x35610f,_0x4b45fc);}const ys=_0x19e44b(0x178),Ts=_0x19e44b(0x154);export class AIQuickActionsDropdownContentView extends _0x38603a{[_0x19e44b(0x1a5)];[_0x19e44b(0x167)];[_0x19e44b(0x170)]=null;[_0x19e44b(0x190)]=[];[_0x19e44b(0x1c3)];[_0x19e44b(0x1bc)];[_0x19e44b(0x1ab)];[_0x19e44b(0x183)];[_0x19e44b(0x1dc)];[_0x19e44b(0x1c7)]=new Set();[_0x19e44b(0x1a9)];constructor(_0x26cdf0,_0x46f837,_0x4c5d68,_0x3cd143,_0x47c14e=!0x1){const _0x4b9c04=_0x19e44b,_0x15aeb0=_0x26cdf0[_0x4b9c04(0x1af)];super(_0x15aeb0),this[_0x4b9c04(0x1a5)]=_0x3cd143,this[_0x4b9c04(0x1a9)]=_0x47c14e;const _0x34b93c=this[_0x4b9c04(0x1cb)](_0x26cdf0,_0x46f837,_0x4c5d68);this[_0x4b9c04(0x167)]=new _0x811bc4(_0x15aeb0,_0x34b93c,this[_0x4b9c04(0x190)]),this[_0x4b9c04(0x167)][_0x4b9c04(0x1d4)]=ys,this[_0x4b9c04(0x167)][_0x4b9c04(0x199)][_0x4b9c04(0x180)](_0x34b93c),this[_0x4b9c04(0x1bc)]=new _0x2da948(),this[_0x4b9c04(0x1ab)]=new _0x33a1c8(),_0x47c14e&&(this[_0x4b9c04(0x170)]=this[_0x4b9c04(0x176)]()),this[_0x4b9c04(0x183)]=_0x34b93c,this[_0x4b9c04(0x1dc)]=new _0x57a302({'focusables':this[_0x4b9c04(0x183)],'focusTracker':this[_0x4b9c04(0x1bc)],'keystrokeHandler':this[_0x4b9c04(0x1ab)]}),_0x47c14e&&this[_0x4b9c04(0x170)]&&this[_0x4b9c04(0x1dc)][_0x4b9c04(0x18b)](this[_0x4b9c04(0x170)][_0x4b9c04(0x1dc)]);const _0x37d565=_0x47c14e&&this[_0x4b9c04(0x170)]?[this[_0x4b9c04(0x170)]]:[this[_0x4b9c04(0x167)]];this[_0x4b9c04(0x1c3)]=new _0x4785f7(_0x37d565),this[_0x4b9c04(0x15e)]({'tag':_0x4b9c04(0x1ca),'attributes':{'class':['ck',_0x4b9c04(0x1b7),_0x4b9c04(0x1cd),_0x4b9c04(0x195)],'dir':_0x15aeb0[_0x4b9c04(0x17f)]},'children':this[_0x4b9c04(0x1c3)]});}[_0x19e44b(0x176)](){const _0xb352a8=_0x19e44b;return new _0x4d85d0(this[_0xb352a8(0x1af)],{'filteredView':this[_0xb352a8(0x167)],'queryView':{'label':_0x2d367f(this[_0xb352a8(0x1af)],_0xb352a8(0x186))},'class':_0xb352a8(0x1d1),'infoView':{'text':{'notFound':{'primary':_0x2d367f(this[_0xb352a8(0x1af)],_0xb352a8(0x15c))}}}});}[_0x19e44b(0x19e)](){const _0xa436e8=_0x19e44b;if(!this[_0xa436e8(0x1a9)]||!this[_0xa436e8(0x170)]||!this[_0xa436e8(0x170)][_0xa436e8(0x1a7)][_0xa436e8(0x161)][_0xa436e8(0x1b8)])return!0x1;const _0x5c40ee=this[_0xa436e8(0x170)][_0xa436e8(0x1a7)][_0xa436e8(0x161)][_0xa436e8(0x1b8)][_0xa436e8(0x192)]?.[_0xa436e8(0x172)];return this[_0xa436e8(0x170)][_0xa436e8(0x1a7)][_0xa436e8(0x161)][_0xa436e8(0x1b8)][_0xa436e8(0x1c2)](_0x5c40ee);}[_0x19e44b(0x1cb)](_0x1cb8ec,_0x521fb0,_0x157a40){const _0x5e0456=_0x19e44b,_0xaabb82=new _0x4785f7();return _0x521fb0[_0x5e0456(0x19b)](_0x1a6a08=>{const _0x5e325f=_0x5e0456;if(_0x5e325f(0x1bd)in _0x1a6a08){const {listItem:_0xd380da}=this[_0x5e325f(0x188)](_0x1cb8ec,_0x1a6a08,_0x157a40);_0xaabb82[_0x5e325f(0x1b9)](_0xd380da),_0x1a6a08[_0x5e325f(0x1bd)][_0x5e325f(0x19b)](_0x1affdf=>{const _0xafb2e5=_0x5e325f;this[_0xafb2e5(0x1d5)](_0x1cb8ec,_0x1affdf,_0x1a6a08[_0xafb2e5(0x1c0)],_0x1a6a08[_0xafb2e5(0x1b2)]);const {listItem:_0x4dbda9,highlightViews:_0x2c163c}=this[_0xafb2e5(0x171)](_0x1cb8ec,_0x1affdf,_0x1a6a08[_0xafb2e5(0x1c0)],_0x1a6a08[_0xafb2e5(0x1b2)]);this[_0xafb2e5(0x190)][_0xafb2e5(0x16e)]({'item':_0x4dbda9,'label':_0x1affdf[_0xafb2e5(0x155)],'groupLabel':_0x1a6a08[_0xafb2e5(0x1c0)],'highlightViews':_0x2c163c});});}else{const {listItem:_0x125986}=this[_0x5e325f(0x1d5)](_0x1cb8ec,_0x1a6a08);_0xaabb82[_0x5e325f(0x1b9)](_0x125986);const _0x196ced=_0x125986[_0x5e325f(0x1c3)][_0x5e325f(0x185)];if(_0x196ced){const {listItem:_0x5c0641,highlightViews:_0x5434f2}=this[_0x5e325f(0x171)](_0x1cb8ec,_0x1a6a08);this[_0x5e325f(0x190)][_0x5e325f(0x16e)]({'item':_0x5c0641,'label':_0x196ced[_0x5e325f(0x1c0)]||'','highlightViews':_0x5434f2});}}}),_0xaabb82;}[_0x19e44b(0x1d5)](_0x5dd4cc,_0x57dd9c,_0x47d84c,_0x1bd158){const _0x24b7a1=_0x19e44b,_0x433190=new _0x27a90e(this[_0x24b7a1(0x1af)]);if(_0x47d84c&&_0x1bd158){const _0x98bd65=new _0x32fe1d(this[_0x24b7a1(0x1af)]),_0x11b6e5=_0x98bd65[_0x24b7a1(0x181)],_0x3c5b41=new _0x3ab4f5();_0x3c5b41[_0x24b7a1(0x1ac)]=_0x57dd9c[_0x24b7a1(0x155)];const _0x11e452=new _0x3ab4f5();_0x11e452[_0x24b7a1(0x1ac)]=_0x47d84c;const _0x44c811=new _0x4f2b03();_0x44c811[_0x24b7a1(0x15d)]=_0x1bd158,_0x44c811[_0x24b7a1(0x1d8)]({'attributes':{'class':_0x24b7a1(0x17d)}});const _0x2b1380=new _0x38603a(this[_0x24b7a1(0x1af)]);_0x2b1380[_0x24b7a1(0x15e)]({'tag':_0x24b7a1(0x194),'attributes':{'class':_0x24b7a1(0x19d)},'children':[{'text':'\x20('}]});const _0x2eb999=new _0x38603a(this[_0x24b7a1(0x1af)]);return _0x2eb999[_0x24b7a1(0x15e)]({'tag':_0x24b7a1(0x194),'attributes':{'class':_0x24b7a1(0x164)},'children':[{'text':')'}]}),_0x98bd65[_0x24b7a1(0x1a1)]({'label':_0x57dd9c[_0x24b7a1(0x155)]+'\x20('+_0x47d84c+')','withText':!0x0,'role':_0x24b7a1(0x154),'class':_0x24b7a1(0x1db),'tooltip':!0x1}),_0x98bd65[_0x24b7a1(0x15e)]({'tag':_0x24b7a1(0x1c9),'attributes':{'class':['ck',_0x24b7a1(0x184),_0x24b7a1(0x187),_0x24b7a1(0x189),_0x24b7a1(0x175)],'type':_0x24b7a1(0x1c9),'role':_0x24b7a1(0x154),'tabindex':'-1'},'children':[_0x3c5b41,_0x2b1380,_0x44c811,_0x11e452,_0x2eb999],'on':{'mouseenter':_0x11b6e5['to'](()=>{const _0x46f66f=_0x24b7a1;this[_0x46f66f(0x19e)]()||_0x98bd65[_0x46f66f(0x162)]();}),'click':_0x11b6e5['to'](()=>{const _0x57d64f=_0x24b7a1;_0x98bd65[_0x57d64f(0x1da)](_0x57d64f(0x18a));})}}),_0x98bd65['on'](_0x24b7a1(0x18a),()=>{const _0x759ad4=_0x24b7a1;_0x5dd4cc[_0x759ad4(0x19c)][_0x759ad4(0x1a4)][_0x759ad4(0x162)](),_0x5dd4cc[_0x759ad4(0x1ba)][_0x759ad4(0x18a)](_0x759ad4(0x196),_0x57dd9c);}),_0x433190[_0x24b7a1(0x1c3)][_0x24b7a1(0x1b9)](_0x98bd65),{'listItem':_0x433190,'highlightViews':[_0x3c5b41,_0x11e452]};}{const _0x142b33=new _0x478a87(),_0x3cdd6e=new _0x32fe1d(this[_0x24b7a1(0x1af)],_0x142b33),_0x446978=_0x3cdd6e[_0x24b7a1(0x181)],_0x39d7f9=_0x57dd9c[_0x24b7a1(0x1b2)]??_0x57dd9c[_0x24b7a1(0x1d6)]?.[_0x24b7a1(0x1b2)],_0x51d285=void 0x0!==_0x57dd9c[_0x24b7a1(0x1b2)];return _0x3cdd6e[_0x24b7a1(0x1a1)]({'label':_0x57dd9c[_0x24b7a1(0x155)],'withText':!0x0,'role':_0x24b7a1(0x154),'icon':_0x51d285?_0x39d7f9??_0x4af75f:void 0x0,'tooltip':!0x1,'class':_0x24b7a1(0x189)}),_0x3cdd6e[_0x24b7a1(0x1d8)]({'on':{'mouseenter':_0x446978['to'](()=>{const _0x1992b0=_0x24b7a1;this[_0x1992b0(0x19e)]()||_0x3cdd6e[_0x1992b0(0x162)]();})}}),_0x3cdd6e['on'](_0x24b7a1(0x18a),()=>{const _0x1c40c0=_0x24b7a1;_0x5dd4cc[_0x1c40c0(0x19c)][_0x1c40c0(0x1a4)][_0x1c40c0(0x162)](),_0x5dd4cc[_0x1c40c0(0x1ba)][_0x1c40c0(0x18a)](_0x1c40c0(0x196),_0x57dd9c);}),_0x433190[_0x24b7a1(0x1c3)][_0x24b7a1(0x1b9)](_0x3cdd6e),{'listItem':_0x433190,'highlightViews':[_0x142b33]};}}[_0x19e44b(0x171)](_0x42f5ce,_0x10dd98,_0x21fb0f,_0x5c7ce2){const _0x40b982=_0x19e44b;return _0x21fb0f&&_0x5c7ce2?this[_0x40b982(0x18e)](_0x42f5ce,_0x10dd98,_0x21fb0f,_0x5c7ce2):this[_0x40b982(0x19f)](_0x42f5ce,_0x10dd98);}[_0x19e44b(0x18e)](_0x2dcd87,_0x3b8d75,_0x5b9a09,_0x2744b0){const _0x3611e5=_0x19e44b,_0x5ac6f2=new _0x27a90e(this[_0x3611e5(0x1af)]),_0x2de342=new _0x32fe1d(this[_0x3611e5(0x1af)]),_0x7e8e9a=_0x2de342[_0x3611e5(0x181)],{view:_0x9fdc67,highlightView:_0x32b9f0}=this[_0x3611e5(0x158)](_0x5b9a09,_0x2744b0),{view:_0x1385f7,highlightView:_0x54c6d9}=this[_0x3611e5(0x191)](_0x3b8d75[_0x3611e5(0x155)]),_0x14ad92=this[_0x3611e5(0x1c6)](_0x9fdc67,_0x1385f7);return _0x2de342[_0x3611e5(0x1a1)]({'label':_0x3b8d75[_0x3611e5(0x155)],'withText':!0x0,'role':_0x3611e5(0x154),'class':_0x3611e5(0x16d),'tooltip':!0x1}),_0x2de342[_0x3611e5(0x15e)]({'tag':_0x3611e5(0x1c9),'attributes':{'class':['ck',_0x3611e5(0x184),_0x3611e5(0x187),_0x3611e5(0x189),_0x3611e5(0x1cf),_0x3611e5(0x17a)],'type':_0x3611e5(0x1c9),'role':_0x3611e5(0x154),'tabindex':'-1'},'children':[_0x14ad92],'on':{'mouseenter':_0x7e8e9a['to'](()=>{const _0x333ec6=_0x3611e5;this[_0x333ec6(0x19e)]()||_0x2de342[_0x333ec6(0x162)]();}),'click':_0x7e8e9a['to'](()=>{const _0x22a9e9=_0x3611e5;this[_0x22a9e9(0x168)](_0x2de342);})}}),this[_0x3611e5(0x1cc)](_0x2de342,_0x2dcd87,_0x3b8d75),_0x5ac6f2[_0x3611e5(0x1c3)][_0x3611e5(0x1b9)](_0x2de342),{'listItem':_0x5ac6f2,'highlightViews':[_0x32b9f0,_0x54c6d9]};}[_0x19e44b(0x19f)](_0x17690f,_0x1791cb){const _0x23d073=_0x19e44b,_0x58fb0b=new _0x27a90e(this[_0x23d073(0x1af)]),_0x4c7bb5=new _0x478a87(),_0x4818e3=new _0x32fe1d(this[_0x23d073(0x1af)],_0x4c7bb5),_0x2612ad=_0x4818e3[_0x23d073(0x181)];return _0x4818e3[_0x23d073(0x1a1)]({'label':_0x1791cb[_0x23d073(0x155)],'withText':!0x0,'role':_0x23d073(0x154),'icon':void 0x0,'tooltip':!0x1,'class':_0x23d073(0x1a8)}),_0x4818e3[_0x23d073(0x1d8)]({'on':{'mouseenter':_0x2612ad['to'](()=>{const _0x23351d=_0x23d073;this[_0x23351d(0x19e)]()||_0x4818e3[_0x23351d(0x162)]();})}}),this[_0x23d073(0x1cc)](_0x4818e3,_0x17690f,_0x1791cb),_0x58fb0b[_0x23d073(0x1c3)][_0x23d073(0x1b9)](_0x4818e3),{'listItem':_0x58fb0b,'highlightViews':[_0x4c7bb5]};}[_0x19e44b(0x158)](_0x59cbd1,_0x6ff803){const _0x16b1c6=_0x19e44b,_0x102ed5=new _0x38603a(this[_0x16b1c6(0x1af)]),_0x32e669=new _0x4f2b03();_0x32e669[_0x16b1c6(0x15d)]=_0x6ff803,_0x32e669[_0x16b1c6(0x1d8)]({'attributes':{'class':_0x16b1c6(0x17d)}});const _0x11e3d8=new _0x3ab4f5();return _0x11e3d8[_0x16b1c6(0x1ac)]=_0x59cbd1,_0x102ed5[_0x16b1c6(0x15e)]({'tag':_0x16b1c6(0x1ca),'attributes':{'class':_0x16b1c6(0x177)},'children':[_0x32e669,_0x11e3d8]}),{'view':_0x102ed5,'highlightView':_0x11e3d8};}[_0x19e44b(0x191)](_0x5e9636){const _0x42ece3=_0x19e44b,_0x4ee88d=new _0x38603a(this[_0x42ece3(0x1af)]),_0x5a2981=new _0x3ab4f5();return _0x5a2981[_0x42ece3(0x1ac)]=_0x5e9636,_0x4ee88d[_0x42ece3(0x15e)]({'tag':_0x42ece3(0x1ca),'attributes':{'class':_0x42ece3(0x165)},'children':[_0x5a2981]}),{'view':_0x4ee88d,'highlightView':_0x5a2981};}[_0x19e44b(0x1c6)](_0x10479a,_0x2b8f0f){const _0x5091bb=_0x19e44b,_0x514aab=new _0x38603a(this[_0x5091bb(0x1af)]);return _0x514aab[_0x5091bb(0x15e)]({'tag':_0x5091bb(0x1ca),'attributes':{'class':_0x5091bb(0x19a)},'children':[_0x10479a,_0x2b8f0f]}),_0x514aab;}[_0x19e44b(0x1cc)](_0x3cce71,_0xb8afcb,_0xa01892){const _0x4c8ae8=_0x19e44b;_0x3cce71['on'](_0x4c8ae8(0x18a),()=>{const _0x3c9703=_0x4c8ae8;_0xb8afcb[_0x3c9703(0x19c)][_0x3c9703(0x1a4)][_0x3c9703(0x162)](),_0xb8afcb[_0x3c9703(0x1ba)][_0x3c9703(0x18a)](_0x3c9703(0x196),_0xa01892);});}[_0x19e44b(0x188)](_0x27c8e4,_0x45fe07,_0x2d5fa3){const _0x55fd7a=_0x19e44b,_0x43e254=new _0x27a90e(this[_0x55fd7a(0x1af)]),_0x505184=new _0x478a87(),_0x8cf77c=new _0x4a0d05(this[_0x55fd7a(0x1af)],_0x505184),_0x508867=_0x8cf77c[_0x55fd7a(0x181)],_0x5e9623=this[_0x55fd7a(0x17b)](_0x2d5fa3),_0x46d484=this[_0x55fd7a(0x160)](_0x27c8e4,_0x45fe07[_0x55fd7a(0x1bd)],_0x2d5fa3);_0x8cf77c[_0x55fd7a(0x1a1)]({'label':_0x45fe07[_0x55fd7a(0x1c0)],'withText':!0x0,'role':Ts,'icon':_0x45fe07[_0x55fd7a(0x1b2)]??_0x4af75f,'isEnabled':_0x45fe07[_0x55fd7a(0x1bd)][_0x55fd7a(0x1a0)](_0x6663ba=>_0x6663ba[_0x55fd7a(0x1b5)])}),_0x8cf77c[_0x55fd7a(0x1d8)]({'on':{'mouseenter':_0x508867['to'](()=>{const _0x5c507d=_0x55fd7a;this[_0x5c507d(0x19e)]()||_0x8cf77c[_0x5c507d(0x162)]();})}});const _0x493075=new _0x4b3d9c(this[_0x55fd7a(0x1af)]);return _0x493075[_0x55fd7a(0x1d8)]({'attributes':{'class':['ck',_0x55fd7a(0x1b7),_0x55fd7a(0x1bb),_0x55fd7a(0x197)]},'on':{'keydown':_0x508867['to'](_0x3c37b0=>{const _0x16df0d=_0x55fd7a;this[_0x16df0d(0x17c)](_0x3c37b0,_0x5e9623,_0x8cf77c,_0x493075);})}}),_0x8cf77c[_0x55fd7a(0x1d0)](_0x55fd7a(0x1bf))['to'](_0x493075,_0x55fd7a(0x15b)),this[_0x55fd7a(0x1a5)][_0x55fd7a(0x1b9)](_0x493075),_0x493075[_0x55fd7a(0x15d)][_0x55fd7a(0x1b9)](_0x46d484),this[_0x55fd7a(0x1c4)](_0x8cf77c,_0x493075),_0x43e254[_0x55fd7a(0x1c3)][_0x55fd7a(0x1b9)](_0x8cf77c),{'listItem':_0x43e254,'highlightView':_0x505184};}[_0x19e44b(0x160)](_0x240d4d,_0x2c2f63,_0x431297){const _0x793c24=_0x19e44b,_0x5835f0=new _0x32623f(this[_0x793c24(0x1af)]);return _0x5835f0[_0x793c24(0x1d8)]({'attributes':{'class':['ck',_0x793c24(0x1b7),_0x793c24(0x1ce),_0x793c24(0x163)]}}),_0x2c2f63[_0x793c24(0x19b)](_0x3b3220=>{const _0x44599f=_0x793c24,_0x190b32=new _0x27a90e(this[_0x44599f(0x1af)]),_0x278de0=_0x366919({'editor':_0x240d4d,'action':_0x3b3220,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x44599f(0x19e)]()})();_0x190b32[_0x44599f(0x1c3)][_0x44599f(0x1b9)](_0x278de0),_0x431297[_0x44599f(0x1bc)][_0x44599f(0x1b9)](_0x278de0),_0x5835f0[_0x44599f(0x199)][_0x44599f(0x1b9)](_0x190b32);}),_0x5835f0;}[_0x19e44b(0x1c4)](_0x237383,_0x3e7e86){const _0x9b728b=_0x19e44b,_0x3fe89c=_0x237383[_0x9b728b(0x181)],_0x337364=this[_0x9b728b(0x17e)](_0x237383);_0x237383[_0x9b728b(0x1d8)]({'attributes':{'class':[_0x9b728b(0x18f)]},'on':{'mouseenter':_0x3fe89c['to'](()=>{const _0x37d7d6=_0x9b728b;this[_0x37d7d6(0x1be)](_0x3e7e86,_0x237383);}),'mouseleave':_0x3fe89c['to'](_0x33092f=>{const _0x31b753=_0x9b728b,_0x12e5e3=_0x33092f[_0x31b753(0x1c1)];this[_0x31b753(0x1c5)](_0x12e5e3,_0x3e7e86)||this[_0x31b753(0x15a)](_0x3e7e86);}),'keydown':_0x3fe89c['to'](_0x1f6e8e=>{const _0x29b29c=_0x9b728b;_0x1f6e8e[_0x29b29c(0x157)]==_0x337364&&(this[_0x29b29c(0x1be)](_0x3e7e86,_0x237383),_0x3e7e86[_0x29b29c(0x15d)][_0x29b29c(0x1d3)](0x0)[_0x29b29c(0x162)]());})}}),_0x3e7e86['on'](_0x9b728b(0x174),()=>{const _0x41e8a8=_0x9b728b;_0x3e7e86[_0x41e8a8(0x1b8)]?.[_0x41e8a8(0x1a2)](_0x41e8a8(0x198),_0x366345=>{const _0x3f87a5=_0x41e8a8,_0x37c1a7=_0x366345[_0x3f87a5(0x1c1)];_0x237383[_0x3f87a5(0x1b8)]?.[_0x3f87a5(0x1c2)](_0x37c1a7)||this[_0x3f87a5(0x1c5)](_0x37c1a7,_0x3e7e86)||this[_0x3f87a5(0x15a)](_0x3e7e86);});});}[_0x19e44b(0x1be)](_0x46d95d,_0x42e32d){const _0x81b3d1=_0x19e44b;this[_0x81b3d1(0x1c7)][_0x81b3d1(0x19b)](_0x13f924=>{const _0x1d29bb=_0x81b3d1;_0x13f924!==_0x46d95d&&_0x13f924[_0x1d29bb(0x15b)]&&_0x13f924[_0x1d29bb(0x18d)]();}),_0x46d95d[_0x81b3d1(0x169)](),_0x46d95d[_0x81b3d1(0x1b1)]({'positions':[_0x14de8f[_0x81b3d1(0x16a)]],'target':_0x42e32d[_0x81b3d1(0x1b8)],'fitInViewport':!0x0}),this[_0x81b3d1(0x1c7)][_0x81b3d1(0x1b9)](_0x46d95d);}[_0x19e44b(0x15a)](_0x4965d3){const _0x3979fe=_0x19e44b;_0x4965d3[_0x3979fe(0x18d)](),this[_0x3979fe(0x1c7)][_0x3979fe(0x1d7)](_0x4965d3);}[_0x19e44b(0x1aa)](){const _0x81403c=_0x19e44b;this[_0x81403c(0x1c7)][_0x81403c(0x19b)](_0x160d6e=>_0x160d6e[_0x81403c(0x18d)]()),this[_0x81403c(0x1c7)][_0x81403c(0x1b4)]();}[_0x19e44b(0x1c5)](_0x572ddf,_0x27d581){const _0x3acba1=_0x19e44b;if(!_0x572ddf)return!0x1;if(_0x27d581[_0x3acba1(0x1b8)]?.[_0x3acba1(0x1c2)](_0x572ddf))return!0x0;const _0x207e64=_0x572ddf;return _0x207e64[_0x3acba1(0x1c8)]&&(null!==_0x207e64[_0x3acba1(0x1c8)](_0x3acba1(0x1b0))||null!==_0x207e64[_0x3acba1(0x1c8)](_0x3acba1(0x193))||null!==_0x207e64[_0x3acba1(0x1c8)](_0x3acba1(0x159)));}[_0x19e44b(0x1b6)](){const _0x15011d=_0x19e44b;this[_0x15011d(0x170)]&&this[_0x15011d(0x170)][_0x15011d(0x18c)]();}[_0x19e44b(0x1d2)](){const _0x3a45f6=_0x19e44b;this[_0x3a45f6(0x1aa)](),this[_0x3a45f6(0x1a5)][_0x3a45f6(0x15f)](),super[_0x3a45f6(0x1d2)]();}[_0x19e44b(0x162)](){const _0x513de4=_0x19e44b;this[_0x513de4(0x170)]?this[_0x513de4(0x170)][_0x513de4(0x162)]():this[_0x513de4(0x167)][_0x513de4(0x162)]();}[_0x19e44b(0x17b)](_0xef7e3){const _0x58e55e=_0x19e44b;return _0x58e55e(0x179)===_0xef7e3[_0x58e55e(0x1af)][_0x58e55e(0x17f)]?_0x58e55e(0x1d9):_0x58e55e(0x173);}[_0x19e44b(0x17e)](_0xb30729){const _0x185d28=_0x19e44b;return _0x185d28(0x179)===_0xb30729[_0x185d28(0x1af)][_0x185d28(0x17f)]?_0x185d28(0x173):_0x185d28(0x1d9);}[_0x19e44b(0x17c)](_0x3ca374,_0x271ba6,_0xea3ec2,_0x5556c4){const _0x33e978=_0x19e44b;_0x3ca374[_0x33e978(0x157)]==_0x271ba6&&(_0xea3ec2[_0x33e978(0x162)](),this[_0x33e978(0x15a)](_0x5556c4));}[_0x19e44b(0x168)](_0x135c0b){const _0x3eb8e2=_0x19e44b;_0x135c0b[_0x3eb8e2(0x1da)](_0x3eb8e2(0x18a));}}
|
|
23
|
+
const _0x29cb80=_0xeb9e;(function(_0x5a8f05,_0x3bcd78){const _0x46f89f=_0xeb9e,_0x1efe3e=_0x5a8f05();while(!![]){try{const _0x23fe0a=-parseInt(_0x46f89f(0xe4))/0x1+parseInt(_0x46f89f(0x11f))/0x2+parseInt(_0x46f89f(0xf0))/0x3+parseInt(_0x46f89f(0xbb))/0x4*(-parseInt(_0x46f89f(0xd0))/0x5)+parseInt(_0x46f89f(0x108))/0x6+-parseInt(_0x46f89f(0xcd))/0x7+parseInt(_0x46f89f(0xca))/0x8*(parseInt(_0x46f89f(0xce))/0x9);if(_0x23fe0a===_0x3bcd78)break;else _0x1efe3e['push'](_0x1efe3e['shift']());}catch(_0x415083){_0x1efe3e['push'](_0x1efe3e['shift']());}}}(_0x3346,0xf330f));import{View as _0x3aea7b,ListItemView as _0x5295f3,ListView as _0x497cd3,BalloonPanelView as _0x56bb0d,DropdownMenuPanelPositioningFunctions as _0x3f4a85,ViewCollection as _0x4e53ba,FocusCycler as _0x41306c,ButtonView as _0x43f908,IconView as _0x20e5a3,HighlightedTextView as _0x20d0fb,ButtonLabelWithHighlightView as _0x589440,SearchTextView as _0x2365d3}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xec60d9}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x5d25ff,KeystrokeHandler as _0x5c4a32}from'ckeditor5/src/utils.js';function _0xeb9e(_0x11bea0,_0x115af5){const _0x33467e=_0x3346();return _0xeb9e=function(_0xeb9e6c,_0x5dab86){_0xeb9e6c=_0xeb9e6c-0xb3;let _0x32fc43=_0x33467e[_0xeb9e6c];return _0x32fc43;},_0xeb9e(_0x11bea0,_0x115af5);}import{aiQuickActionsButtonCreator as _0x3a440a}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x2a1080}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x28a64e}from'../../aicore/utils/common-translations.js';function _0x3346(){const _0x39cedf=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','role','show','addEventListener','ck-ai-quick-actions-group-panel','mouseleave','ck-ai-quick-actions-search-result__group-row','_showNestedPanel','pin','set','button','isOn','_hideNestedPanel','label','6843204QuDBCK','ck-button','ck-reset_all','ck-rounded-corners','_createListItems','extendTemplate','menu','ck-button_with-text','bindTemplate','focusTracker','render','add','element','_isSearchFocused','ownerDocument','6659536NiSEcj','_getButtonKeystroke','editing','5600679GHIeAj','27CMYVPp','push','5CoTruq','delete','ck-ai-quick-actions-group-button','ck-ai-quick-actions-button__group-icon','eastSouth','queryView','children','activeElement','forEach','chain','rtl','ck-ai-quick-actions-button_with-group__close-paren','ck-dropdown-menu__nested-menu__panel','fire','_getPanelKeystroke','_createActionGroupButton','hide','_hideAllNestedPanels','_isMovingToNestedMenu','ArrowLeft','875792YoitBC','items','_createSearchResultContentView','contains','span','isVisible','_allSearchableItems','_createGroupActionsList','_handleSearchResultButtonClick','_createActionButton','_focusables','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','2822556GOabNk','ck-ai-quick-actions-search-result-button','parent','ck-ai-quick-actions-search-result__action-row','displayedPrompt','key','clear','div','fieldView','ArrowRight','aiQuickAction','detachFromDom','ck-dropdown-menu-list','ck-ai-quick-actions','isEnabled','_createSearchTextView','view','.ck-ai-quick-actions-group-list','commands','ck-ai-quick-actions-button','some','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultIndividualActionButton','optionsListView','1272180juHRNv','reset','_openNestedPanels','content','bind','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-search-result-button_with-group','_createSearchResultActionButton','AI_QUICK_ACTIONS_SEARCH','first','_handlePanelKeydown','_createSearchResultActionRow','resetSearch','_setupGroupMenuBehavior','ck-ai-quick-actions-group-list','locale','_setupActionButtonExecution','_searchTextView','.ck-ai-quick-actions-group-panel','focus','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search','addMany','1465186fWkEOF','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-search-result__content','uiLanguageDirection','destroy','execute','setTemplate','get','keystrokes','text','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-button_with-group__open-paren','_hasSearch','closest','_createSearchResultGroupRow','focusCycler','relatedTarget','icon','actions','_bodyCollection','menuitem'];_0x3346=function(){return _0x39cedf;};return _0x3346();}import{AIQuickActionsFilteredListView as _0x154581}from'./aiquickactionsfilteredlistview.js';const vs=_0x29cb80(0xc1),Ss=_0x29cb80(0x133);export class AIQuickActionsDropdownContentView extends _0x3aea7b{[_0x29cb80(0x132)];[_0x29cb80(0x107)];[_0x29cb80(0x119)]=null;[_0x29cb80(0xea)]=[];[_0x29cb80(0xd6)];[_0x29cb80(0xc4)];[_0x29cb80(0x127)];[_0x29cb80(0xee)];[_0x29cb80(0x12e)];[_0x29cb80(0x10a)]=new Set();[_0x29cb80(0x12b)];constructor(_0x1755fd,_0x5b236e,_0x250188,_0x389a13,_0x411406=!0x1){const _0x1d33d2=_0x29cb80,_0x2e07a8=_0x1755fd[_0x1d33d2(0x117)];super(_0x2e07a8),this[_0x1d33d2(0x132)]=_0x389a13,this[_0x1d33d2(0x12b)]=_0x411406;const _0x47ecd8=this[_0x1d33d2(0xbf)](_0x1755fd,_0x5b236e,_0x250188);this[_0x1d33d2(0x107)]=new _0x154581(_0x2e07a8,_0x47ecd8,this[_0x1d33d2(0xea)]),this[_0x1d33d2(0x107)][_0x1d33d2(0x135)]=vs,this[_0x1d33d2(0x107)][_0x1d33d2(0xe5)][_0x1d33d2(0x11e)](_0x47ecd8),this[_0x1d33d2(0xc4)]=new _0x5d25ff(),this[_0x1d33d2(0x127)]=new _0x5c4a32(),_0x411406&&(this[_0x1d33d2(0x119)]=this[_0x1d33d2(0xff)]()),this[_0x1d33d2(0xee)]=_0x47ecd8,this[_0x1d33d2(0x12e)]=new _0x41306c({'focusables':this[_0x1d33d2(0xee)],'focusTracker':this[_0x1d33d2(0xc4)],'keystrokeHandler':this[_0x1d33d2(0x127)]}),_0x411406&&this[_0x1d33d2(0x119)]&&this[_0x1d33d2(0x12e)][_0x1d33d2(0xd9)](this[_0x1d33d2(0x119)][_0x1d33d2(0x12e)]);const _0x144529=_0x411406&&this[_0x1d33d2(0x119)]?[this[_0x1d33d2(0x119)]]:[this[_0x1d33d2(0x107)]];this[_0x1d33d2(0xd6)]=new _0x4e53ba(_0x144529),this[_0x1d33d2(0x125)]({'tag':_0x1d33d2(0xf7),'attributes':{'class':['ck',_0x1d33d2(0xbd),_0x1d33d2(0xfd),_0x1d33d2(0xbe)],'dir':_0x2e07a8[_0x1d33d2(0x122)]},'children':this[_0x1d33d2(0xd6)]});}[_0x29cb80(0xff)](){const _0x93df79=_0x29cb80;return new _0x2365d3(this[_0x93df79(0x117)],{'filteredView':this[_0x93df79(0x107)],'queryView':{'label':_0x28a64e(this[_0x93df79(0x117)],_0x93df79(0x110))},'class':_0x93df79(0x11d),'infoView':{'text':{'notFound':{'primary':_0x28a64e(this[_0x93df79(0x117)],_0x93df79(0x120))}}}});}[_0x29cb80(0xc8)](){const _0x8b968b=_0x29cb80;if(!this[_0x8b968b(0x12b)]||!this[_0x8b968b(0x119)]||!this[_0x8b968b(0x119)][_0x8b968b(0xd5)][_0x8b968b(0xf8)][_0x8b968b(0xc7)])return!0x1;const _0x47a225=this[_0x8b968b(0x119)][_0x8b968b(0xd5)][_0x8b968b(0xf8)][_0x8b968b(0xc7)][_0x8b968b(0xc9)]?.[_0x8b968b(0xd7)];return this[_0x8b968b(0x119)][_0x8b968b(0xd5)][_0x8b968b(0xf8)][_0x8b968b(0xc7)][_0x8b968b(0xe7)](_0x47a225);}[_0x29cb80(0xbf)](_0x30f6a4,_0x552f33,_0x4a49aa){const _0x243537=_0x29cb80,_0x291e90=new _0x4e53ba();return _0x552f33[_0x243537(0xd8)](_0x4484ea=>{const _0x40f8be=_0x243537;if(_0x40f8be(0x131)in _0x4484ea){const {listItem:_0x3c74ad}=this[_0x40f8be(0xdf)](_0x30f6a4,_0x4484ea,_0x4a49aa);_0x291e90[_0x40f8be(0xc6)](_0x3c74ad),_0x4484ea[_0x40f8be(0x131)][_0x40f8be(0xd8)](_0x1af53f=>{const _0x56ba25=_0x40f8be;this[_0x56ba25(0xed)](_0x30f6a4,_0x1af53f,_0x4484ea[_0x56ba25(0xba)],_0x4484ea[_0x56ba25(0x130)]);const {listItem:_0x1af382,highlightViews:_0x332529}=this[_0x56ba25(0x10f)](_0x30f6a4,_0x1af53f,_0x4484ea[_0x56ba25(0xba)],_0x4484ea[_0x56ba25(0x130)]);this[_0x56ba25(0xea)][_0x56ba25(0xcf)]({'item':_0x1af382,'label':_0x1af53f[_0x56ba25(0xf4)],'groupLabel':_0x4484ea[_0x56ba25(0xba)],'highlightViews':_0x332529});});}else{const {listItem:_0x1cfa10}=this[_0x40f8be(0xed)](_0x30f6a4,_0x4484ea);_0x291e90[_0x40f8be(0xc6)](_0x1cfa10);const _0x56ebbb=_0x1cfa10[_0x40f8be(0xd6)][_0x40f8be(0x111)];if(_0x56ebbb){const {listItem:_0x54376f,highlightViews:_0x2ef34f}=this[_0x40f8be(0x10f)](_0x30f6a4,_0x4484ea);this[_0x40f8be(0xea)][_0x40f8be(0xcf)]({'item':_0x54376f,'label':_0x56ebbb[_0x40f8be(0xba)]||'','highlightViews':_0x2ef34f});}}}),_0x291e90;}[_0x29cb80(0xed)](_0x159808,_0x17278e,_0x4a28d2,_0x10fa3c){const _0x3266a4=_0x29cb80,_0x28e98a=new _0x5295f3(this[_0x3266a4(0x117)]);if(_0x4a28d2&&_0x10fa3c){const _0x5505ad=new _0x43f908(this[_0x3266a4(0x117)]),_0x3d1a8f=_0x5505ad[_0x3266a4(0xc3)],_0x2ada83=new _0x20d0fb();_0x2ada83[_0x3266a4(0x128)]=_0x17278e[_0x3266a4(0xf4)];const _0xdef6a6=new _0x20d0fb();_0xdef6a6[_0x3266a4(0x128)]=_0x4a28d2;const _0x309f01=new _0x20e5a3();_0x309f01[_0x3266a4(0x10b)]=_0x10fa3c,_0x309f01[_0x3266a4(0xc0)]({'attributes':{'class':_0x3266a4(0xd3)}});const _0x1e8464=new _0x3aea7b(this[_0x3266a4(0x117)]);_0x1e8464[_0x3266a4(0x125)]({'tag':_0x3266a4(0xe8),'attributes':{'class':_0x3266a4(0x12a)},'children':[{'text':'\x20('}]});const _0x36b65a=new _0x3aea7b(this[_0x3266a4(0x117)]);return _0x36b65a[_0x3266a4(0x125)]({'tag':_0x3266a4(0xe8),'attributes':{'class':_0x3266a4(0xdb)},'children':[{'text':')'}]}),_0x5505ad[_0x3266a4(0xb6)]({'label':_0x17278e[_0x3266a4(0xf4)]+'\x20('+_0x4a28d2+')','withText':!0x0,'role':_0x3266a4(0x133),'class':_0x3266a4(0x105),'tooltip':!0x1}),_0x5505ad[_0x3266a4(0x125)]({'tag':_0x3266a4(0xb7),'attributes':{'class':['ck',_0x3266a4(0xbc),_0x3266a4(0xc2),_0x3266a4(0x103),_0x3266a4(0x10d)],'type':_0x3266a4(0xb7),'role':_0x3266a4(0x133),'tabindex':'-1'},'children':[_0x2ada83,_0x1e8464,_0x309f01,_0xdef6a6,_0x36b65a],'on':{'mouseenter':_0x3d1a8f['to'](()=>{const _0x2f489d=_0x3266a4;this[_0x2f489d(0xc8)]()||_0x5505ad[_0x2f489d(0x11b)]();}),'click':_0x3d1a8f['to'](()=>{const _0xcd827e=_0x3266a4;_0x5505ad[_0xcd827e(0xdd)](_0xcd827e(0x124));})}}),_0x5505ad['on'](_0x3266a4(0x124),()=>{const _0x58c63a=_0x3266a4;_0x159808[_0x58c63a(0xcc)][_0x58c63a(0x100)][_0x58c63a(0x11b)](),_0x159808[_0x58c63a(0x102)][_0x58c63a(0x124)](_0x58c63a(0xfa),_0x17278e);}),_0x28e98a[_0x3266a4(0xd6)][_0x3266a4(0xc6)](_0x5505ad),{'listItem':_0x28e98a,'highlightViews':[_0x2ada83,_0xdef6a6]};}{const _0xe834ab=new _0x589440(),_0x22a387=new _0x43f908(this[_0x3266a4(0x117)],_0xe834ab),_0xed80b=_0x22a387[_0x3266a4(0xc3)],_0x35d115=_0x17278e[_0x3266a4(0x130)]??_0x17278e[_0x3266a4(0xf2)]?.[_0x3266a4(0x130)],_0x2dc3a9=void 0x0!==_0x17278e[_0x3266a4(0x130)];return _0x22a387[_0x3266a4(0xb6)]({'label':_0x17278e[_0x3266a4(0xf4)],'withText':!0x0,'role':_0x3266a4(0x133),'icon':_0x2dc3a9?_0x35d115??_0xec60d9:void 0x0,'tooltip':!0x1,'class':_0x3266a4(0x103)}),_0x22a387[_0x3266a4(0xc0)]({'on':{'mouseenter':_0xed80b['to'](()=>{const _0x3b016c=_0x3266a4;this[_0x3b016c(0xc8)]()||_0x22a387[_0x3b016c(0x11b)]();})}}),_0x22a387['on'](_0x3266a4(0x124),()=>{const _0xe97cc6=_0x3266a4;_0x159808[_0xe97cc6(0xcc)][_0xe97cc6(0x100)][_0xe97cc6(0x11b)](),_0x159808[_0xe97cc6(0x102)][_0xe97cc6(0x124)](_0xe97cc6(0xfa),_0x17278e);}),_0x28e98a[_0x3266a4(0xd6)][_0x3266a4(0xc6)](_0x22a387),{'listItem':_0x28e98a,'highlightViews':[_0xe834ab]};}}[_0x29cb80(0x10f)](_0x30af84,_0x29bfeb,_0x33e3a2,_0x5be176){const _0x53577b=_0x29cb80;return _0x33e3a2&&_0x5be176?this[_0x53577b(0x11c)](_0x30af84,_0x29bfeb,_0x33e3a2,_0x5be176):this[_0x53577b(0x106)](_0x30af84,_0x29bfeb);}[_0x29cb80(0x11c)](_0x5d7910,_0x5dcbfe,_0x151331,_0xb1bf83){const _0x145946=_0x29cb80,_0x5e8598=new _0x5295f3(this[_0x145946(0x117)]),_0x48107d=new _0x43f908(this[_0x145946(0x117)]),_0x288ae6=_0x48107d[_0x145946(0xc3)],{view:_0x307804,highlightView:_0x5c3e69}=this[_0x145946(0x12d)](_0x151331,_0xb1bf83),{view:_0x57e7f5,highlightView:_0xff4431}=this[_0x145946(0x113)](_0x5dcbfe[_0x145946(0xf4)]),_0x1b1a0b=this[_0x145946(0xe6)](_0x307804,_0x57e7f5);return _0x48107d[_0x145946(0xb6)]({'label':_0x5dcbfe[_0x145946(0xf4)],'withText':!0x0,'role':_0x145946(0x133),'class':_0x145946(0xef),'tooltip':!0x1}),_0x48107d[_0x145946(0x125)]({'tag':_0x145946(0xb7),'attributes':{'class':['ck',_0x145946(0xbc),_0x145946(0xc2),_0x145946(0x103),_0x145946(0xf1),_0x145946(0x10e)],'type':_0x145946(0xb7),'role':_0x145946(0x133),'tabindex':'-1'},'children':[_0x1b1a0b],'on':{'mouseenter':_0x288ae6['to'](()=>{const _0x45964d=_0x145946;this[_0x45964d(0xc8)]()||_0x48107d[_0x45964d(0x11b)]();}),'click':_0x288ae6['to'](()=>{const _0x4ef8ba=_0x145946;this[_0x4ef8ba(0xec)](_0x48107d);})}}),this[_0x145946(0x118)](_0x48107d,_0x5d7910,_0x5dcbfe),_0x5e8598[_0x145946(0xd6)][_0x145946(0xc6)](_0x48107d),{'listItem':_0x5e8598,'highlightViews':[_0x5c3e69,_0xff4431]};}[_0x29cb80(0x106)](_0x33689e,_0x27ee05){const _0x24f87f=_0x29cb80,_0x3483d5=new _0x5295f3(this[_0x24f87f(0x117)]),_0x28e48f=new _0x589440(),_0x5c6c5b=new _0x43f908(this[_0x24f87f(0x117)],_0x28e48f),_0x4c449a=_0x5c6c5b[_0x24f87f(0xc3)];return _0x5c6c5b[_0x24f87f(0xb6)]({'label':_0x27ee05[_0x24f87f(0xf4)],'withText':!0x0,'role':_0x24f87f(0x133),'icon':void 0x0,'tooltip':!0x1,'class':_0x24f87f(0x134)}),_0x5c6c5b[_0x24f87f(0xc0)]({'on':{'mouseenter':_0x4c449a['to'](()=>{const _0x4ef800=_0x24f87f;this[_0x4ef800(0xc8)]()||_0x5c6c5b[_0x4ef800(0x11b)]();})}}),this[_0x24f87f(0x118)](_0x5c6c5b,_0x33689e,_0x27ee05),_0x3483d5[_0x24f87f(0xd6)][_0x24f87f(0xc6)](_0x5c6c5b),{'listItem':_0x3483d5,'highlightViews':[_0x28e48f]};}[_0x29cb80(0x12d)](_0x125877,_0x5ebfee){const _0x5b2a4c=_0x29cb80,_0x4fbb91=new _0x3aea7b(this[_0x5b2a4c(0x117)]),_0x2a92da=new _0x20e5a3();_0x2a92da[_0x5b2a4c(0x10b)]=_0x5ebfee,_0x2a92da[_0x5b2a4c(0xc0)]({'attributes':{'class':_0x5b2a4c(0xd3)}});const _0xe4dc69=new _0x20d0fb();return _0xe4dc69[_0x5b2a4c(0x128)]=_0x125877,_0x4fbb91[_0x5b2a4c(0x125)]({'tag':_0x5b2a4c(0xf7),'attributes':{'class':_0x5b2a4c(0xb3)},'children':[_0x2a92da,_0xe4dc69]}),{'view':_0x4fbb91,'highlightView':_0xe4dc69};}[_0x29cb80(0x113)](_0x37c737){const _0x5ec9ca=_0x29cb80,_0x568a9b=new _0x3aea7b(this[_0x5ec9ca(0x117)]),_0x1159df=new _0x20d0fb();return _0x1159df[_0x5ec9ca(0x128)]=_0x37c737,_0x568a9b[_0x5ec9ca(0x125)]({'tag':_0x5ec9ca(0xf7),'attributes':{'class':_0x5ec9ca(0xf3)},'children':[_0x1159df]}),{'view':_0x568a9b,'highlightView':_0x1159df};}[_0x29cb80(0xe6)](_0x4ae730,_0xf01345){const _0xf3fd2e=_0x29cb80,_0x536008=new _0x3aea7b(this[_0xf3fd2e(0x117)]);return _0x536008[_0xf3fd2e(0x125)]({'tag':_0xf3fd2e(0xf7),'attributes':{'class':_0xf3fd2e(0x121)},'children':[_0x4ae730,_0xf01345]}),_0x536008;}[_0x29cb80(0x118)](_0x4d65fe,_0x496842,_0x104b86){const _0x2adf52=_0x29cb80;_0x4d65fe['on'](_0x2adf52(0x124),()=>{const _0x251f9d=_0x2adf52;_0x496842[_0x251f9d(0xcc)][_0x251f9d(0x100)][_0x251f9d(0x11b)](),_0x496842[_0x251f9d(0x102)][_0x251f9d(0x124)](_0x251f9d(0xfa),_0x104b86);});}[_0x29cb80(0xdf)](_0x586015,_0x31bc81,_0x5778dd){const _0xf17689=_0x29cb80,_0x3f26dd=new _0x5295f3(this[_0xf17689(0x117)]),_0x8fca4a=new _0x589440(),_0x1f6776=new _0x2a1080(this[_0xf17689(0x117)],_0x8fca4a),_0x343930=_0x1f6776[_0xf17689(0xc3)],_0x3846af=this[_0xf17689(0xde)](_0x5778dd),_0x48b690=this[_0xf17689(0xeb)](_0x586015,_0x31bc81[_0xf17689(0x131)],_0x5778dd);_0x1f6776[_0xf17689(0xb6)]({'label':_0x31bc81[_0xf17689(0xba)],'withText':!0x0,'role':Ss,'icon':_0x31bc81[_0xf17689(0x130)]??_0xec60d9,'isEnabled':_0x31bc81[_0xf17689(0x131)][_0xf17689(0x104)](_0x3da0a0=>_0x3da0a0[_0xf17689(0xfe)])}),_0x1f6776[_0xf17689(0xc0)]({'on':{'mouseenter':_0x343930['to'](()=>{const _0x226106=_0xf17689;this[_0x226106(0xc8)]()||_0x1f6776[_0x226106(0x11b)]();})}});const _0x100f85=new _0x56bb0d(this[_0xf17689(0x117)]);return _0x100f85[_0xf17689(0xc0)]({'attributes':{'class':['ck',_0xf17689(0xbd),_0xf17689(0x138),_0xf17689(0xdc)]},'on':{'keydown':_0x343930['to'](_0x5198ef=>{const _0xb86775=_0xf17689;this[_0xb86775(0x112)](_0x5198ef,_0x3846af,_0x1f6776,_0x100f85);})}}),_0x1f6776[_0xf17689(0x10c)](_0xf17689(0xb8))['to'](_0x100f85,_0xf17689(0xe9)),this[_0xf17689(0x132)][_0xf17689(0xc6)](_0x100f85),_0x100f85[_0xf17689(0x10b)][_0xf17689(0xc6)](_0x48b690),this[_0xf17689(0x115)](_0x1f6776,_0x100f85),_0x3f26dd[_0xf17689(0xd6)][_0xf17689(0xc6)](_0x1f6776),{'listItem':_0x3f26dd,'highlightView':_0x8fca4a};}[_0x29cb80(0xeb)](_0x3bd719,_0x1af3d5,_0x82f704){const _0x42eb11=_0x29cb80,_0xf9ee38=new _0x497cd3(this[_0x42eb11(0x117)]);return _0xf9ee38[_0x42eb11(0xc0)]({'attributes':{'class':['ck',_0x42eb11(0xbd),_0x42eb11(0x116),_0x42eb11(0xfc)]}}),_0x1af3d5[_0x42eb11(0xd8)](_0x39e3da=>{const _0xc6706c=_0x42eb11,_0x4c5f2d=new _0x5295f3(this[_0xc6706c(0x117)]),_0x5101db=_0x3a440a({'editor':_0x3bd719,'action':_0x39e3da,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0xc6706c(0xc8)]()})();_0x4c5f2d[_0xc6706c(0xd6)][_0xc6706c(0xc6)](_0x5101db),_0x82f704[_0xc6706c(0xc4)][_0xc6706c(0xc6)](_0x5101db),_0xf9ee38[_0xc6706c(0xe5)][_0xc6706c(0xc6)](_0x4c5f2d);}),_0xf9ee38;}[_0x29cb80(0x115)](_0x5249c4,_0x4a909c){const _0x416bc6=_0x29cb80,_0x576447=_0x5249c4[_0x416bc6(0xc3)],_0x8a40e8=this[_0x416bc6(0xcb)](_0x5249c4);_0x5249c4[_0x416bc6(0xc0)]({'attributes':{'class':[_0x416bc6(0xd2)]},'on':{'mouseenter':_0x576447['to'](()=>{const _0x4c7aa9=_0x416bc6;this[_0x4c7aa9(0xb4)](_0x4a909c,_0x5249c4);}),'mouseleave':_0x576447['to'](_0xee0ce=>{const _0x2e9e34=_0x416bc6,_0x259879=_0xee0ce[_0x2e9e34(0x12f)];this[_0x2e9e34(0xe2)](_0x259879,_0x4a909c)||this[_0x2e9e34(0xb9)](_0x4a909c);}),'keydown':_0x576447['to'](_0x5f2689=>{const _0x44c13b=_0x416bc6;_0x5f2689[_0x44c13b(0xf5)]==_0x8a40e8&&(this[_0x44c13b(0xb4)](_0x4a909c,_0x5249c4),_0x4a909c[_0x44c13b(0x10b)][_0x44c13b(0x126)](0x0)[_0x44c13b(0x11b)]());})}}),_0x4a909c['on'](_0x416bc6(0xc5),()=>{const _0x2354b1=_0x416bc6;_0x4a909c[_0x2354b1(0xc7)]?.[_0x2354b1(0x137)](_0x2354b1(0x139),_0x4f44cc=>{const _0x20da3e=_0x2354b1,_0x4a672c=_0x4f44cc[_0x20da3e(0x12f)];_0x5249c4[_0x20da3e(0xc7)]?.[_0x20da3e(0xe7)](_0x4a672c)||this[_0x20da3e(0xe2)](_0x4a672c,_0x4a909c)||this[_0x20da3e(0xb9)](_0x4a909c);});});}[_0x29cb80(0xb4)](_0x21f41a,_0x1b70e5){const _0x5f2c43=_0x29cb80;this[_0x5f2c43(0x10a)][_0x5f2c43(0xd8)](_0x4901de=>{const _0x1390fb=_0x5f2c43;_0x4901de!==_0x21f41a&&_0x4901de[_0x1390fb(0xe9)]&&_0x4901de[_0x1390fb(0xe0)]();}),_0x21f41a[_0x5f2c43(0x136)](),_0x21f41a[_0x5f2c43(0xb5)]({'positions':[_0x3f4a85[_0x5f2c43(0xd4)]],'target':_0x1b70e5[_0x5f2c43(0xc7)],'fitInViewport':!0x0}),this[_0x5f2c43(0x10a)][_0x5f2c43(0xc6)](_0x21f41a);}[_0x29cb80(0xb9)](_0x18fed1){const _0x3fbfd4=_0x29cb80;_0x18fed1[_0x3fbfd4(0xe0)](),this[_0x3fbfd4(0x10a)][_0x3fbfd4(0xd1)](_0x18fed1);}[_0x29cb80(0xe1)](){const _0xa518a9=_0x29cb80;this[_0xa518a9(0x10a)][_0xa518a9(0xd8)](_0x319180=>_0x319180[_0xa518a9(0xe0)]()),this[_0xa518a9(0x10a)][_0xa518a9(0xf6)]();}[_0x29cb80(0xe2)](_0x41c69d,_0x1032ec){const _0x200682=_0x29cb80;if(!_0x41c69d)return!0x1;if(_0x1032ec[_0x200682(0xc7)]?.[_0x200682(0xe7)](_0x41c69d))return!0x0;const _0x32dfc5=_0x41c69d;return _0x32dfc5[_0x200682(0x12c)]&&(null!==_0x32dfc5[_0x200682(0x12c)](_0x200682(0x11a))||null!==_0x32dfc5[_0x200682(0x12c)](_0x200682(0x101))||null!==_0x32dfc5[_0x200682(0x12c)](_0x200682(0x129)));}[_0x29cb80(0x114)](){const _0x1423ed=_0x29cb80;this[_0x1423ed(0x119)]&&this[_0x1423ed(0x119)][_0x1423ed(0x109)]();}[_0x29cb80(0x123)](){const _0x5e24a4=_0x29cb80;this[_0x5e24a4(0xe1)](),this[_0x5e24a4(0x132)][_0x5e24a4(0xfb)](),super[_0x5e24a4(0x123)]();}[_0x29cb80(0x11b)](){const _0x28a8f9=_0x29cb80;this[_0x28a8f9(0x119)]?this[_0x28a8f9(0x119)][_0x28a8f9(0x11b)]():this[_0x28a8f9(0x107)][_0x28a8f9(0x11b)]();}[_0x29cb80(0xde)](_0x4b3930){const _0x5f529a=_0x29cb80;return _0x5f529a(0xda)===_0x4b3930[_0x5f529a(0x117)][_0x5f529a(0x122)]?_0x5f529a(0xf9):_0x5f529a(0xe3);}[_0x29cb80(0xcb)](_0x42034e){const _0x34701b=_0x29cb80;return _0x34701b(0xda)===_0x42034e[_0x34701b(0x117)][_0x34701b(0x122)]?_0x34701b(0xe3):_0x34701b(0xf9);}[_0x29cb80(0x112)](_0x22c11c,_0x2ec873,_0x190591,_0xfdd74f){const _0x53761d=_0x29cb80;_0x22c11c[_0x53761d(0xf5)]==_0x2ec873&&(_0x190591[_0x53761d(0x11b)](),this[_0x53761d(0xb9)](_0xfdd74f));}[_0x29cb80(0xec)](_0x5a7b1a){const _0x835e8c=_0x29cb80;_0x5a7b1a[_0x835e8c(0xdd)](_0x835e8c(0x124));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1a0163,_0x43dc05){const _0x53c6dc=_0x3ed2,_0x573a55=_0x1a0163();while(!![]){try{const _0x452262=parseInt(_0x53c6dc(0x161))/0x1*(-parseInt(_0x53c6dc(0x157))/0x2)+-parseInt(_0x53c6dc(0x14d))/0x3*(parseInt(_0x53c6dc(0x162))/0x4)+parseInt(_0x53c6dc(0x165))/0x5*(parseInt(_0x53c6dc(0x14c))/0x6)+parseInt(_0x53c6dc(0x155))/0x7+-parseInt(_0x53c6dc(0x15d))/0x8*(-parseInt(_0x53c6dc(0x160))/0x9)+parseInt(_0x53c6dc(0x15e))/0xa*(-parseInt(_0x53c6dc(0x169))/0xb)+parseInt(_0x53c6dc(0x151))/0xc*(parseInt(_0x53c6dc(0x16f))/0xd);if(_0x452262===_0x43dc05)break;else _0x573a55['push'](_0x573a55['shift']());}catch(_0x5084c0){_0x573a55['push'](_0x573a55['shift']());}}}(_0x153e,0xeb58d));function _0x153e(){const _0x4a6fc5=['buttonView','change:isOpen','ai-quick-actions-dropdown-selection','1429134PznHWq','AIEditing','426606raKQHC','set','add','children','ck-ai-quick-actions-dropdown','label','61784zZRTcv','20beHwqo','from','54fOVVBl','9oofdFT','60648KIkYza','model','showFakeVisualSelection','14335txzAQr','selection','resetSearch','panelView','2673759gMCWTU','getRanges','length','icon','has','document','429LaDLwY','locale','3906yaNmcg','168sGVPzo','hideFakeVisualSelection','get','plugins','764364hOHOZl'];_0x153e=function(){return _0x4a6fc5;};return _0x153e();}import{createDropdown as _0x5c25de}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4cea92}from'@ckeditor/ckeditor5-icons';function _0x3ed2(_0x5967f7,_0x501428){const _0x153eac=_0x153e();return _0x3ed2=function(_0x3ed2d6,_0x538073){_0x3ed2d6=_0x3ed2d6-0x14c;let _0x3eaedf=_0x153eac[_0x3ed2d6];return _0x3eaedf;},_0x3ed2(_0x5967f7,_0x501428);}import{AIQuickActionsDropdownContentView as _0x2565aa}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x182bc8}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x53e94a){const {editor:_0x505b5d,content:_0x1d36dc,buttonDefinition:_0x5b06fd,bodyCollection:_0x15e333,hasSearch:_0x2cc26a=!0x1}=_0x53e94a;return()=>{const _0x5ab8c7=_0x3ed2,_0x48bee4=_0x505b5d[_0x5ab8c7(0x170)],_0x5187aa=_0x5c25de(_0x48bee4);_0x5187aa[_0x5ab8c7(0x152)][_0x5ab8c7(0x158)]({'icon':_0x5b06fd[_0x5ab8c7(0x16c)]??_0x4cea92,'label':_0x5b06fd[_0x5ab8c7(0x15c)],'tooltip':!0x0}),_0x5187aa[_0x5ab8c7(0x158)]({'class':_0x5ab8c7(0x15b)});const _0x4e772f=new _0x2565aa(_0x505b5d,_0x1d36dc,_0x5187aa,_0x15e333,_0x2cc26a);if(_0x5187aa[_0x5ab8c7(0x168)][_0x5ab8c7(0x15a)][_0x5ab8c7(0x159)](_0x4e772f),_0x2cc26a){const _0x2ab809=_0x5ab8c7(0x154);_0x5187aa['on'](_0x5ab8c7(0x153),(_0x51558c,_0x2f3af8,_0x78f390)=>{const _0x2bae45=_0x5ab8c7;if(_0x78f390){if(_0x505b5d[_0x2bae45(0x150)][_0x2bae45(0x16d)](_0x2bae45(0x156))){const _0x986bf9=_0x505b5d[_0x2bae45(0x150)][_0x2bae45(0x14f)](_0x182bc8),_0x522317=_0x505b5d[_0x2bae45(0x163)][_0x2bae45(0x16e)][_0x2bae45(0x166)],_0x5f4d29=Array[_0x2bae45(0x15f)](_0x522317[_0x2bae45(0x16a)]());_0x5f4d29[_0x2bae45(0x16b)]>0x0&&_0x986bf9[_0x2bae45(0x164)](_0x5f4d29,_0x2ab809,!0x1,!0x0);}}else _0x505b5d[_0x2bae45(0x150)][_0x2bae45(0x16d)](_0x2bae45(0x156))&&_0x505b5d[_0x2bae45(0x150)][_0x2bae45(0x14f)](_0x182bc8)[_0x2bae45(0x14e)](_0x2ab809),_0x4e772f[_0x2bae45(0x167)]();});}return _0x5187aa;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4eb329=_0x415c;(function(_0xe1ab17,_0x2d6090){const _0x5374e8=_0x415c,_0x326676=_0xe1ab17();while(!![]){try{const _0x1f1b31=-parseInt(_0x5374e8(0x171))/0x1*(parseInt(_0x5374e8(0x17d))/0x2)+parseInt(_0x5374e8(0x17c))/0x3+-parseInt(_0x5374e8(0x17a))/0x4+parseInt(_0x5374e8(0x16b))/0x5+parseInt(_0x5374e8(0x164))/0x6*(parseInt(_0x5374e8(0x16f))/0x7)+parseInt(_0x5374e8(0x174))/0x8+parseInt(_0x5374e8(0x172))/0x9;if(_0x1f1b31===_0x2d6090)break;else _0x326676['push'](_0x326676['shift']());}catch(_0x9e38b4){_0x326676['push'](_0x326676['shift']());}}}(_0x3d6b,0x96b40));import{ListView as _0x4aa17d}from'ckeditor5/src/ui.js';function _0x3d6b(){const _0x551317=['highlightText','trim','filter','6XamRqO','function','forEach','item','addMany','toLowerCase','label','2709885jtxAFl','sort','length','_clearHighlight','5332313TTlSnI','items','148706HNSIGF','6164064dEXbCc','groupLabel','2351112hHCvHj','_highlightQuery','_allSearchableItems','source','includes','_allListItems','2651380Gtczoa','highlightViews','561756dCyybe','16neYBzA','clear','map'];_0x3d6b=function(){return _0x551317;};return _0x3d6b();}import{escapeRegExp as _0x4f6531}from'es-toolkit/compat';function _0x415c(_0x195a55,_0x1248bf){const _0x3d6bc9=_0x3d6b();return _0x415c=function(_0x415c2e,_0x1ac212){_0x415c2e=_0x415c2e-0x15f;let _0x522411=_0x3d6bc9[_0x415c2e];return _0x522411;},_0x415c(_0x195a55,_0x1248bf);}export class AIQuickActionsFilteredListView extends _0x4aa17d{[_0x4eb329(0x179)];[_0x4eb329(0x176)];constructor(_0x1734ce,_0x548759,_0x27bde3){const _0x1eb557=_0x4eb329;super(_0x1734ce),this[_0x1eb557(0x179)]=_0x548759,this[_0x1eb557(0x176)]=_0x27bde3;}[_0x4eb329(0x163)](_0x1916e9){const _0x2ebf1e=_0x4eb329;if(!_0x1916e9)return this[_0x2ebf1e(0x170)][_0x2ebf1e(0x15f)](),this[_0x2ebf1e(0x170)][_0x2ebf1e(0x168)](this[_0x2ebf1e(0x179)]),this[_0x2ebf1e(0x16e)](),{'resultsCount':this[_0x2ebf1e(0x179)][_0x2ebf1e(0x16d)],'totalItemsCount':this[_0x2ebf1e(0x179)][_0x2ebf1e(0x16d)]};const _0x410d6e=_0x1916e9[_0x2ebf1e(0x177)][_0x2ebf1e(0x169)]()[_0x2ebf1e(0x162)](),_0x327f81=this[_0x2ebf1e(0x176)][_0x2ebf1e(0x163)](_0x51224a=>(_0x51224a[_0x2ebf1e(0x173)]?_0x51224a[_0x2ebf1e(0x16a)]+'\x20('+_0x51224a[_0x2ebf1e(0x173)]+')':_0x51224a[_0x2ebf1e(0x16a)])[_0x2ebf1e(0x169)]()[_0x2ebf1e(0x178)](_0x410d6e));return this[_0x2ebf1e(0x170)][_0x2ebf1e(0x15f)](),this[_0x2ebf1e(0x170)][_0x2ebf1e(0x168)](_0x327f81[_0x2ebf1e(0x16c)]((_0x53a926,_0x39a1ea)=>{const _0x319c27=_0x2ebf1e,_0x1cb0c2=_0x53a926[_0x319c27(0x173)],_0x2b6410=_0x39a1ea[_0x319c27(0x173)];return _0x1cb0c2||_0x2b6410?_0x1cb0c2?0x1:-0x1:0x0;})[_0x2ebf1e(0x160)](_0x187211=>_0x187211[_0x2ebf1e(0x167)])),this[_0x2ebf1e(0x175)](_0x410d6e,_0x327f81),{'resultsCount':_0x327f81[_0x2ebf1e(0x16d)],'totalItemsCount':this[_0x2ebf1e(0x176)][_0x2ebf1e(0x16d)]};}[_0x4eb329(0x175)](_0x1a22a1,_0x3200a2){const _0x388c9e=_0x4eb329;if(!_0x1a22a1)return;const _0x18e5cc=new RegExp(_0x4f6531(_0x1a22a1),'gi');_0x3200a2[_0x388c9e(0x166)](_0x2f279f=>{const _0x348a72=_0x388c9e;_0x2f279f[_0x348a72(0x17b)]&&_0x2f279f[_0x348a72(0x17b)][_0x348a72(0x166)](_0x273262=>{const _0x58b651=_0x348a72;_0x58b651(0x165)==typeof _0x273262[_0x58b651(0x161)]&&_0x273262[_0x58b651(0x161)](_0x18e5cc);});});}[_0x4eb329(0x16e)](){const _0xa7a51a=_0x4eb329;this[_0xa7a51a(0x176)][_0xa7a51a(0x166)](_0x315f8a=>{const _0x5d9653=_0xa7a51a;_0x315f8a[_0x5d9653(0x17b)]&&_0x315f8a[_0x5d9653(0x17b)][_0x5d9653(0x166)](_0x58f798=>{const _0x1abb48=_0x5d9653;_0x1abb48(0x165)==typeof _0x58f798[_0x1abb48(0x161)]&&_0x58f798[_0x1abb48(0x161)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5a55(_0x559e48,_0x4a9277){const _0x314a5f=_0x314a();return _0x5a55=function(_0x5a55e3,_0x147491){_0x5a55e3=_0x5a55e3-0xc5;let _0x242a63=_0x314a5f[_0x5a55e3];return _0x242a63;},_0x5a55(_0x559e48,_0x4a9277);}const _0x2f155b=_0x5a55;(function(_0x3a53a6,_0x3765ad){const _0x26c33c=_0x5a55,_0x19d431=_0x3a53a6();while(!![]){try{const _0x828a08=-parseInt(_0x26c33c(0xd1))/0x1*(-parseInt(_0x26c33c(0xca))/0x2)+parseInt(_0x26c33c(0xdb))/0x3+-parseInt(_0x26c33c(0xc7))/0x4*(-parseInt(_0x26c33c(0xcf))/0x5)+-parseInt(_0x26c33c(0xd7))/0x6+parseInt(_0x26c33c(0xdc))/0x7+parseInt(_0x26c33c(0xc5))/0x8*(-parseInt(_0x26c33c(0xd2))/0x9)+-parseInt(_0x26c33c(0xc8))/0xa*(parseInt(_0x26c33c(0xd9))/0xb);if(_0x828a08===_0x3765ad)break;else _0x19d431['push'](_0x19d431['shift']());}catch(_0x5b90ec){_0x19d431['push'](_0x19d431['shift']());}}}(_0x314a,0x5af2a));import{IconView as _0x98f318,ListItemButtonView as _0x42034b}from'ckeditor5/src/ui.js';function _0x314a(){const _0x5a7a28=['4620847CkazPY','children','14488bNXQjC','set','240728ubhNUm','182150mKuhLz','_createArrowView','187268FIBmno','content','render','add','arrowView','15yTfrrx','menuitem','6djKJZm','3627UfyPQk','ck-dropdown-menu-list__nested-menu__button__arrow','extendTemplate','mouseenter','bindTemplate','1661490fKWCUb','isOn','143giXsPG','ck-dropdown-menu-list__nested-menu__button','640782wZSSON'];_0x314a=function(){return _0x5a7a28;};return _0x314a();}import{IconDropdownArrow as _0x28a8c0}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x42034b{[_0x2f155b(0xce)];constructor(_0x4c3b79,_0x796055){const _0x48ac11=_0x2f155b;super(_0x4c3b79,_0x796055);const _0x34c703=this[_0x48ac11(0xd6)];this[_0x48ac11(0xc6)]({'withText':!0x0,'role':_0x48ac11(0xd0)}),this[_0x48ac11(0xce)]=this[_0x48ac11(0xc9)](),this[_0x48ac11(0xd4)]({'attributes':{'class':[_0x48ac11(0xda)],'aria-haspopup':!0x0,'aria-expanded':this[_0x48ac11(0xd6)]['to'](_0x48ac11(0xd8),_0x16a0d1=>String(_0x16a0d1)),'data-cke-tooltip-disabled':_0x34c703['to'](_0x48ac11(0xd8))},'on':{'mouseenter':_0x34c703['to'](_0x48ac11(0xd5))}});}[_0x2f155b(0xcc)](){const _0x48c4ca=_0x2f155b;super[_0x48c4ca(0xcc)](),this[_0x48c4ca(0xdd)][_0x48c4ca(0xcd)](this[_0x48c4ca(0xce)]);}[_0x2f155b(0xc9)](){const _0x566586=_0x2f155b,_0xebb020=new _0x98f318();return _0xebb020[_0x566586(0xcb)]=_0x28a8c0,_0xebb020[_0x566586(0xd4)]({'attributes':{'class':_0x566586(0xd3)}}),_0xebb020;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x41cad2=_0x13c0;(function(_0x635eb6,_0x302603){var _0x312e46=_0x13c0,_0x1cb043=_0x635eb6();while(!![]){try{var _0x3adc2c=-parseInt(_0x312e46(0xdc))/0x1*(parseInt(_0x312e46(0xdb))/0x2)+-parseInt(_0x312e46(0xe1))/0x3*(-parseInt(_0x312e46(0xe4))/0x4)+parseInt(_0x312e46(0xe0))/0x5+parseInt(_0x312e46(0xe3))/0x6*(-parseInt(_0x312e46(0xd9))/0x7)+-parseInt(_0x312e46(0xe8))/0x8*(parseInt(_0x312e46(0xe6))/0x9)+parseInt(_0x312e46(0xe7))/0xa+parseInt(_0x312e46(0xe5))/0xb*(parseInt(_0x312e46(0xdf))/0xc);if(_0x3adc2c===_0x302603)break;else _0x1cb043['push'](_0x1cb043['shift']());}catch(_0x26e3a4){_0x1cb043['push'](_0x1cb043['shift']());}}}(_0x39bd,0xf0185));function _0x13c0(_0x1e3d8d,_0x16361d){var _0x39bd11=_0x39bd();return _0x13c0=function(_0x13c011,_0x1898d8){_0x13c011=_0x13c011-0xd9;var _0x3e391f=_0x39bd11[_0x13c011];return _0x3e391f;},_0x13c0(_0x1e3d8d,_0x16361d);}import{ContextPlugin as _0x1d5112}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4c52c5}from'./aireviewmodecontroller.js';function _0x39bd(){var _0x2a2b10=['8728frAOyE','200puzMlT','isOfficialPlugin','pluginName','24EKKkfG','7462990IvDfsu','3MRLxhw','AIReviewMode','6klKamM','6943292iHvQCC','4089558UAbeHD','6650442ySykme','5720060pCXgxF','16OGXTgl','requires','8469146AFTWtq','isPremiumPlugin'];_0x39bd=function(){return _0x2a2b10;};return _0x39bd();}import{AIReviewModeUI as _0x4591c4}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x382f2e}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x1d5112{static get[_0x41cad2(0xe9)](){return[_0x4c52c5,_0x4591c4,_0x382f2e];}static get[_0x41cad2(0xde)](){var _0x16c5c8=_0x41cad2;return _0x16c5c8(0xe2);}static get[_0x41cad2(0xdd)](){return!0x0;}static get[_0x41cad2(0xda)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x348f6a=_0x1924;function _0x1924(_0x475b79,_0x50f0ee){const _0x1ba867=_0x1ba8();return _0x1924=function(_0x1924da,_0xf50ff7){_0x1924da=_0x1924da-0x160;let _0x45e9b8=_0x1ba867[_0x1924da];return _0x45e9b8;},_0x1924(_0x475b79,_0x50f0ee);}(function(_0x1db04e,_0x53fe18){const _0x641c65=_0x1924,_0x2ecccc=_0x1db04e();while(!![]){try{const _0x252b48=parseInt(_0x641c65(0x18b))/0x1+parseInt(_0x641c65(0x1df))/0x2*(parseInt(_0x641c65(0x1cb))/0x3)+-parseInt(_0x641c65(0x178))/0x4+parseInt(_0x641c65(0x196))/0x5*(-parseInt(_0x641c65(0x1e5))/0x6)+parseInt(_0x641c65(0x214))/0x7+-parseInt(_0x641c65(0x182))/0x8*(-parseInt(_0x641c65(0x210))/0x9)+-parseInt(_0x641c65(0x1bc))/0xa;if(_0x252b48===_0x53fe18)break;else _0x2ecccc['push'](_0x2ecccc['shift']());}catch(_0x1d5b02){_0x2ecccc['push'](_0x2ecccc['shift']());}}}(_0x1ba8,0xd613d));import{ContextPlugin as _0x9cdf00}from'ckeditor5/src/core.js';import{CKEditorError as _0x3c4ec4,logError as _0x288458,scrollAncestorsToShowTarget as _0x3912db,scrollViewportToShowTarget as _0x30d334}from'ckeditor5/src/utils.js';import{AIConnector as _0x35d576}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x449652}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x55ed50}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1535d3}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x17d690}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x504316}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x1e2bd6}from'../aicore/utils/common-translations.js';function _0x1ba8(){const _0x9c2e49=['80YFPBAX','dismissChange','checks','changeMarkerClick','AIReviewModeEditing','viewportOffset','34818cbZsyy','model','_aiReviewCheckList','AI_REVIEW_CHECK_','getEditor','showChangeBalloon','acceptAllChanges','switchToReadOnly','leaveReviewModeResultList','leaveReviewMode','activateChange','context','getMarkerElementForChange','unmodified','toggleDiff','showCheckRunResults','markChangePositionInEditorContent','_aiReviewModeUi','contentInitial','AIReviewModeController','ai-review-mode-models-unable-to-retrieve','prompt','view','panel','markChangeAsPending','hideDiffInBalloon','_aiReviewModeEditing','markChangeAsAccepted','map','subTitle','switchToEdit','_OPTIONS_DATA_','isPremiumPlugin','_translateReviewChecks','options','toUpperCase','changeMarkerRestored','clearAllMarkers','runReviewCheck','reviewCheckResultActivated','_DESCRIPTION','_getTranslationWithDefault','showReviewCheckList','99awIAaE','changes','getDocumentData','rejectChange','762335QsGeev','changeMarkerBlurred','reviewCheckRunUpdated','getAll','markerElement','init','finished','setCheckResultTitle','_aiConnector','requires','reviewCheckResultReady','AIConnector','custom','loading','contentNew','changeMarkerRemoved','abort','startsWith','error-chunk','getDomRoot','showGeneralReviewModeErrorView','source','replaceAll','_onReviewModeRunLeave','documentData','start','getChangeElement','hideChangeBalloon','isChangeActive','2726788FbeKiM','resetActiveStateInResults','finishReview','document','applyChange','_isDiffOn','ai-review-mode-check-run-chunk-error','ai.reviewMode.translations','pluginName','showDiffInBalloon','718488AIeoIt','plugins','getChangeById','config','ai-review-mode-source-check-not-found','currentError','getReviewCheckList','acceptChange','ai-review-mode-check-run-failed','1744712SlsOLO','markAllChangesAsAccepted','showActionsWhenResultIsReady','reviewCheckResultAdded','closest','showChunkErrorView','args','domEvent','change','click','ck-ai-review-mode-highlights','1120rIvdWB','find','.ck-ai-review-mode__check-run-result','abortReviewStream','stopListening','addResultChanges','changeId','label','emitter','addClass','ck-ai-review-mode-diff','updateDocumentData','getCheckById','AIReviewModeUI','showReviewCompletedView','processedResultsCount','aborted','sendRating','deactivateChange','_OPTIONS_LABEL','changeMarkerHovered','hover','_TITLE','diffContent','setActiveStateInResults','_currentReviewCheckRun','length','showGeneralResultsErrorView','content','isAnyChangeActivated','description','restart','_onDiffChange','getActiveChanges','message','models','editing','setAvailableChecks','13809880OHKCLe','markChangeAsOutdated','showNoChangesView','_logError','isOfficialPlugin','listenTo','forceReadyState','_changeActivationSource','removeClass','translate','title','reviewCheckResultDeactivated','status','getRoot','domElement','104841XdrazT','isCustom','locale','includes','result','get','error-general','updateChangeState','reviewCheckResultChangeStatusUpdated','removeCheckById','hasModifications','showCheckRunResult','ai-review-mode-check-run-general-error','ready','params','retryReview','ai-review-mode-no-current-check-run','data','ai-request-aborted','markChangeAsRejected'];_0x1ba8=function(){return _0x9c2e49;};return _0x1ba8();}export class AIReviewModeController extends _0x9cdf00{[_0x348f6a(0x163)];[_0x348f6a(0x1f6)];[_0x348f6a(0x1ff)];[_0x348f6a(0x1e7)];[_0x348f6a(0x1af)];[_0x348f6a(0x17d)]=!0x1;[_0x348f6a(0x1c3)]=null;static get[_0x348f6a(0x164)](){return[_0x35d576];}static get[_0x348f6a(0x180)](){const _0xfae11=_0x348f6a;return _0xfae11(0x1f8);}static get[_0x348f6a(0x1c0)](){return!0x0;}static get[_0x348f6a(0x205)](){return!0x0;}async[_0x348f6a(0x160)](){const _0x40b855=_0x348f6a;this[_0x40b855(0x163)]=this[_0x40b855(0x1f0)][_0x40b855(0x183)][_0x40b855(0x1d0)](_0x40b855(0x166)),this[_0x40b855(0x1f6)]=this[_0x40b855(0x1f0)][_0x40b855(0x183)][_0x40b855(0x1d0)](_0x40b855(0x1a3)),this[_0x40b855(0x1ff)]=this[_0x40b855(0x1f0)][_0x40b855(0x183)][_0x40b855(0x1d0)](_0x40b855(0x1e3));const _0x218ec1=this[_0x40b855(0x1f0)][_0x40b855(0x185)][_0x40b855(0x1d0)](_0x40b855(0x17f));if(_0x218ec1){for(const _0x2e3548 of _0x504316)_0x40b855(0x1c5)===_0x2e3548['id']&&(_0x2e3548[_0x40b855(0x207)][0x0][_0x40b855(0x1dc)]=_0x218ec1);}const _0x49703e=this[_0x40b855(0x206)](_0x504316);this[_0x40b855(0x1e7)]=new _0x449652(_0x49703e);const _0x232a07=this[_0x40b855(0x1e7)][_0x40b855(0x1e1)][_0x40b855(0x197)](_0x1d321a=>_0x40b855(0x167)===_0x1d321a['id']);if(_0x232a07)try{_0x232a07[_0x40b855(0x1b9)]=await new _0x17d690({'connector':this[_0x40b855(0x163)],'locale':this[_0x40b855(0x1f0)][_0x40b855(0x1cd)]})[_0x40b855(0x217)]();}catch(_0x494b86){this[_0x40b855(0x1e7)][_0x40b855(0x1d4)](_0x40b855(0x167)),this[_0x40b855(0x1bf)](new _0x3c4ec4(_0x40b855(0x1f9),this,{'error':_0x494b86}));}this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x188),()=>{const _0x55d659=_0x40b855;this[_0x55d659(0x1f6)][_0x55d659(0x1bb)](this[_0x55d659(0x1e7)][_0x55d659(0x1e1)]);}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x20b),async(_0x369154,_0x14bc31)=>{const _0x31bff8=_0x40b855,_0x1f9127=this[_0x31bff8(0x1e7)][_0x31bff8(0x1a2)](_0x14bc31['id']);if(_0x1f9127){this[_0x31bff8(0x1b6)](this[_0x31bff8(0x17d)]),_0x14bc31[_0x31bff8(0x1cc)]?this[_0x31bff8(0x1af)]=new _0x1535d3(_0x14bc31[_0x31bff8(0x191)][_0x31bff8(0x1fa)],_0x14bc31[_0x31bff8(0x191)][_0x31bff8(0x1e6)],this[_0x31bff8(0x1ff)][_0x31bff8(0x212)](),_0x1f9127,this[_0x31bff8(0x163)]):this[_0x31bff8(0x1af)]=new _0x55ed50(this[_0x31bff8(0x1ff)][_0x31bff8(0x212)](),_0x1f9127,this[_0x31bff8(0x163)],_0x14bc31[_0x31bff8(0x1d9)],_0x14bc31[_0x31bff8(0x191)]),this[_0x31bff8(0x1f6)][_0x31bff8(0x162)](this[_0x31bff8(0x1af)][_0x31bff8(0x1c6)],this[_0x31bff8(0x1af)][_0x31bff8(0x202)]),this[_0x31bff8(0x1af)]['on'](_0x31bff8(0x216),(_0x5bae53,_0x2e5ef4)=>{const _0x227b93=_0x31bff8;switch(_0x2e5ef4[_0x227b93(0x1c8)]){case _0x227b93(0x1dc):case _0x227b93(0x168):this[_0x227b93(0x1ff)][_0x227b93(0x1ec)](),this[_0x227b93(0x1f6)][_0x227b93(0x1f4)](_0x2e5ef4);break;case _0x227b93(0x161):this[_0x227b93(0x1f6)][_0x227b93(0x1a4)]();break;case _0x227b93(0x1d8):this[_0x227b93(0x1f6)][_0x227b93(0x18d)]();break;case _0x227b93(0x1f2):this[_0x227b93(0x1f6)][_0x227b93(0x1be)]();break;case _0x227b93(0x1d1):this[_0x227b93(0x1f6)][_0x227b93(0x1b1)](),this[_0x227b93(0x1bf)](new _0x3c4ec4(_0x227b93(0x1d7),this,this[_0x227b93(0x1af)]?.[_0x227b93(0x187)]));break;case _0x227b93(0x16d):this[_0x227b93(0x1f6)][_0x227b93(0x190)](),this[_0x227b93(0x1bf)](new _0x3c4ec4(_0x227b93(0x17e),this,this[_0x227b93(0x1af)]?.[_0x227b93(0x187)]));break;case _0x227b93(0x1a6):this[_0x227b93(0x1af)]&&this[_0x227b93(0x1af)][_0x227b93(0x1a5)]>0x0?setTimeout(()=>{const _0x4887fc=_0x227b93;this[_0x4887fc(0x1af)]?.[_0x4887fc(0x1c2)]();},0x0):this[_0x227b93(0x172)](!0x0);}_0x227b93(0x1d8)!==_0x2e5ef4[_0x227b93(0x1c8)]&&_0x227b93(0x16d)!==_0x2e5ef4[_0x227b93(0x1c8)]&&_0x227b93(0x1d1)!==_0x2e5ef4[_0x227b93(0x1c8)]||this[_0x227b93(0x1af)]?.[_0x227b93(0x1a7)]();}),this[_0x31bff8(0x1af)]['on'](_0x31bff8(0x18e),(_0xb2fea8,_0x37b0d1)=>{const _0x112331=_0x31bff8;if(!this[_0x112331(0x1af)])throw new _0x3c4ec4(_0x112331(0x1db),this);const _0x38127f=this[_0x112331(0x1ff)][_0x112331(0x1ad)](_0x37b0d1[_0x112331(0x1cf)][_0x112331(0x1f7)],_0x37b0d1[_0x112331(0x1cf)][_0x112331(0x169)]);_0x37b0d1[_0x112331(0x170)][_0x112331(0x19b)](_0x37b0d1[_0x112331(0x1cf)]['id'],_0x38127f);}),this[_0x31bff8(0x1af)]['on'](_0x31bff8(0x165),(_0x1ba0aa,_0x3f6b84)=>{const _0x166015=_0x31bff8;for(const _0x41450c of _0x3f6b84[_0x166015(0x211)])this[_0x166015(0x1f6)][_0x166015(0x1d6)](_0x41450c);this[_0x166015(0x1ff)][_0x166015(0x1f5)](_0x3f6b84[_0x166015(0x211)],_0x3f6b84[_0x166015(0x170)][_0x166015(0x173)]);}),this[_0x31bff8(0x1af)]['on'](_0x31bff8(0x1d3),(_0x5d0705,_0x1d4630)=>{const _0x24d3c3=_0x31bff8;this[_0x24d3c3(0x1f6)][_0x24d3c3(0x1d2)](_0x1d4630[_0x24d3c3(0x193)]['id'],_0x1d4630[_0x24d3c3(0x1c8)]);}),this[_0x31bff8(0x1af)]['on'](_0x31bff8(0x20c),(_0x5f305b,_0x2819d4)=>{const _0xc60d83=_0x31bff8;this[_0xc60d83(0x1f6)][_0xc60d83(0x1ae)](_0x2819d4[_0xc60d83(0x193)]['id']);const _0xe6d182=this[_0xc60d83(0x1ff)][_0xc60d83(0x1f1)](_0x2819d4[_0xc60d83(0x193)]['id']);if(!_0xe6d182)return;if(_0xc60d83(0x1b2)===this[_0xc60d83(0x1c3)]){const _0x25c89c=this[_0xc60d83(0x1f6)][_0xc60d83(0x175)](_0x2819d4[_0xc60d83(0x193)]['id']);_0x25c89c&&_0x3912db(_0x25c89c[_0xc60d83(0x18f)](_0xc60d83(0x198))||_0x25c89c);}else{if(_0xc60d83(0x1fc)===this[_0xc60d83(0x1c3)]){const _0xee2c3e={'target':_0xe6d182[_0xc60d83(0x1ca)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x30d334(_0xee2c3e);}}const _0xa95146=this[_0xc60d83(0x1ff)][_0xc60d83(0x1e9)]();this[_0xc60d83(0x1f6)][_0xc60d83(0x1ea)](_0x2819d4[_0xc60d83(0x193)],_0xe6d182[_0xc60d83(0x1ca)],void 0x0,_0xc60d83(0x194),_0xa95146?.[_0xc60d83(0x1ba)]?.[_0xc60d83(0x1fb)]?.[_0xc60d83(0x16e)](),_0xa95146?.['ui']?.[_0xc60d83(0x1e4)]);}),this[_0x31bff8(0x1af)]['on'](_0x31bff8(0x1c7),()=>{const _0x4d69d4=_0x31bff8;this[_0x4d69d4(0x1f6)][_0x4d69d4(0x179)](),this[_0x4d69d4(0x1f6)][_0x4d69d4(0x176)]();});try{await this[_0x31bff8(0x1af)][_0x31bff8(0x174)]();}catch(_0x2352cf){_0x2352cf instanceof Error&&_0x2352cf[_0x31bff8(0x1b8)][_0x31bff8(0x1ce)](_0x31bff8(0x1dd))||(_0x2352cf instanceof _0x3c4ec4?this[_0x31bff8(0x1bf)](_0x2352cf):this[_0x31bff8(0x1bf)](new _0x3c4ec4(_0x31bff8(0x18a),this,{'error':_0x2352cf})));}}else this[_0x31bff8(0x1bf)](new _0x3c4ec4(_0x31bff8(0x186),this,{'checkId':_0x14bc31['id']}));}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x1ee),()=>{const _0x11a808=_0x40b855;this[_0x11a808(0x172)]();}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x1ed),()=>{const _0x4cc9e3=_0x40b855;this[_0x4cc9e3(0x172)](!0x0);}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x199),()=>{const _0x52cb40=_0x40b855;this[_0x52cb40(0x1af)]&&this[_0x52cb40(0x1af)][_0x52cb40(0x16b)]();}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x17a),()=>{const _0x308a70=_0x40b855;this[_0x308a70(0x172)](!0x0);}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x1eb),()=>{const _0x3abc2c=_0x40b855;if(!this[_0x3abc2c(0x1af)])return;const _0x18cd11=this[_0x3abc2c(0x1af)][_0x3abc2c(0x1b7)]();_0x18cd11[_0x3abc2c(0x1b0)]&&(this[_0x3abc2c(0x1ff)][_0x3abc2c(0x17c)](_0x18cd11[_0x3abc2c(0x201)](_0x33ebff=>_0x33ebff['id'])),this[_0x3abc2c(0x1af)][_0x3abc2c(0x18c)](),this[_0x3abc2c(0x1af)][_0x3abc2c(0x1a7)]());}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x189),(_0xb81893,_0x5eccbb)=>{const _0x3574e4=_0x40b855;this[_0x3574e4(0x1af)]&&this[_0x3574e4(0x1af)][_0x3574e4(0x177)](_0x5eccbb['id'])&&(this[_0x3574e4(0x1ff)][_0x3574e4(0x17c)]([_0x5eccbb['id']]),this[_0x3574e4(0x1af)][_0x3574e4(0x200)](_0x5eccbb['id']),this[_0x3574e4(0x1f6)][_0x3574e4(0x176)](),this[_0x3574e4(0x1af)][_0x3574e4(0x1a7)](_0x5eccbb['id']));}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x1e0),(_0xb615f7,_0x38c9bb)=>{const _0x3b232a=_0x40b855;this[_0x3b232a(0x1af)]&&this[_0x3b232a(0x1af)][_0x3b232a(0x177)](_0x38c9bb['id'])&&(this[_0x3b232a(0x1ff)][_0x3b232a(0x213)](_0x38c9bb['id']),this[_0x3b232a(0x1af)][_0x3b232a(0x1de)](_0x38c9bb['id']),this[_0x3b232a(0x1f6)][_0x3b232a(0x176)](),this[_0x3b232a(0x1af)][_0x3b232a(0x1a7)](_0x38c9bb['id']));}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x1f3),(_0xe2d142,_0xe64732)=>{const _0x34c223=_0x40b855;this[_0x34c223(0x17d)]=_0xe64732['on'],this[_0x34c223(0x1b6)](this[_0x34c223(0x17d)]);}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x1da),async()=>{const _0x207f1d=_0x40b855;this[_0x207f1d(0x1af)]&&(this[_0x207f1d(0x1ff)][_0x207f1d(0x20a)](),this[_0x207f1d(0x1af)][_0x207f1d(0x1a1)](this[_0x207f1d(0x1ff)][_0x207f1d(0x212)]()),await this[_0x207f1d(0x1af)][_0x207f1d(0x1b5)]());}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x1ef),(_0x1f0cda,_0x1e892a)=>{const _0x3b510f=_0x40b855;this[_0x3b510f(0x1af)]&&(this[_0x3b510f(0x1c3)]=_0x3b510f(0x1fc),this[_0x3b510f(0x1af)][_0x3b510f(0x1ef)](_0x1e892a['id']));}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1f6)],_0x40b855(0x1a8),()=>{const _0x11eb3f=_0x40b855;this[_0x11eb3f(0x1af)]&&this[_0x11eb3f(0x1af)][_0x11eb3f(0x1a8)]();}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1ff)][_0x40b855(0x19e)],_0x40b855(0x1e2),(_0x16040e,_0x187854)=>{const _0x1f74fb=_0x40b855;if(!this[_0x1f74fb(0x1af)])return;this[_0x1f74fb(0x1c3)]=_0x1f74fb(0x1b2),this[_0x1f74fb(0x1af)][_0x1f74fb(0x1ef)](_0x187854[_0x1f74fb(0x19c)]);const _0x3ba5e8=this[_0x1f74fb(0x1af)][_0x1f74fb(0x184)](_0x187854[_0x1f74fb(0x19c)]);if(!_0x3ba5e8)return;const _0x487797=this[_0x1f74fb(0x1ff)][_0x1f74fb(0x1e9)]();this[_0x1f74fb(0x1f6)][_0x1f74fb(0x1ea)](_0x3ba5e8,_0x187854[_0x1f74fb(0x218)],_0x187854[_0x1f74fb(0x192)],_0x1f74fb(0x194),_0x487797?.[_0x1f74fb(0x1ba)]?.[_0x1f74fb(0x1fb)]?.[_0x1f74fb(0x16e)](),_0x487797?.['ui']?.[_0x1f74fb(0x1e4)]);}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1ff)][_0x40b855(0x19e)],_0x40b855(0x1aa),(_0x421a75,_0x522717)=>{const _0xbd9a70=_0x40b855;if(!this[_0xbd9a70(0x1af)])return;if(this[_0xbd9a70(0x1af)][_0xbd9a70(0x1b3)]())return;const _0x13400b=this[_0xbd9a70(0x1af)][_0xbd9a70(0x184)](_0x522717[_0xbd9a70(0x19c)]);if(!_0x13400b)return;const _0x1896e4=this[_0xbd9a70(0x1ff)][_0xbd9a70(0x1e9)]();this[_0xbd9a70(0x1f6)][_0xbd9a70(0x1ea)](_0x13400b,_0x522717[_0xbd9a70(0x218)],_0x522717[_0xbd9a70(0x192)],_0xbd9a70(0x1ab),_0x1896e4?.[_0xbd9a70(0x1ba)]?.[_0xbd9a70(0x1fb)]?.[_0xbd9a70(0x16e)](),_0x1896e4?.['ui']?.[_0xbd9a70(0x1e4)]);}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1ff)][_0x40b855(0x19e)],_0x40b855(0x215),()=>{const _0x259f1a=_0x40b855;if(!this[_0x259f1a(0x1af)])return;this[_0x259f1a(0x1af)][_0x259f1a(0x1b3)]()||this[_0x259f1a(0x1f6)][_0x259f1a(0x176)]();}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1ff)][_0x40b855(0x19e)],_0x40b855(0x16a),(_0xca298f,_0x4ed95d)=>{const _0x1f22cd=_0x40b855;this[_0x1f22cd(0x1af)]&&this[_0x1f22cd(0x1af)][_0x1f22cd(0x1bd)](_0x4ed95d[_0x1f22cd(0x19c)]);}),this[_0x40b855(0x1c1)](this[_0x40b855(0x1ff)][_0x40b855(0x19e)],_0x40b855(0x209),(_0x3ec494,_0x2bc0a5)=>{const _0x51eb0e=_0x40b855;this[_0x51eb0e(0x1af)]&&this[_0x51eb0e(0x1af)][_0x51eb0e(0x1fd)](_0x2bc0a5[_0x51eb0e(0x19c)]);});}[_0x348f6a(0x172)](_0x38fa95=!0x1){const _0x1e1475=_0x348f6a;this[_0x1e1475(0x1af)]&&(this[_0x1e1475(0x1af)][_0x1e1475(0x1d5)]||this[_0x1e1475(0x1af)][_0x1e1475(0x1a7)](),this[_0x1e1475(0x1af)][_0x1e1475(0x19a)](),this[_0x1e1475(0x1af)][_0x1e1475(0x16b)](),this[_0x1e1475(0x1af)]=void 0x0),_0x38fa95&&this[_0x1e1475(0x1f6)][_0x1e1475(0x20f)](),this[_0x1e1475(0x1ff)][_0x1e1475(0x20a)](),this[_0x1e1475(0x1ff)][_0x1e1475(0x203)](),this[_0x1e1475(0x1c3)]=null;const _0x2e8690=this[_0x1e1475(0x1ff)][_0x1e1475(0x1e9)]();_0x2e8690&&_0x2e8690[_0x1e1475(0x1ba)][_0x1e1475(0x1fb)][_0x1e1475(0x193)](_0xbc9deb=>{const _0x47aa86=_0x1e1475,_0x281d3c=_0x2e8690[_0x47aa86(0x1ba)][_0x47aa86(0x1fb)][_0x47aa86(0x17b)][_0x47aa86(0x1c9)]();_0xbc9deb[_0x47aa86(0x1c4)](_0x47aa86(0x1a0),_0x281d3c),_0xbc9deb[_0x47aa86(0x1c4)](_0x47aa86(0x195),_0x281d3c);});}[_0x348f6a(0x1b6)](_0x4d0eca){const _0x4138cb=_0x348f6a,_0xb535c0=this[_0x4138cb(0x1ff)][_0x4138cb(0x1e9)]();_0x4d0eca?this[_0x4138cb(0x1f6)][_0x4138cb(0x1fe)]():this[_0x4138cb(0x1f6)][_0x4138cb(0x181)](),_0xb535c0&&_0xb535c0[_0x4138cb(0x1ba)][_0x4138cb(0x1fb)][_0x4138cb(0x193)](_0x53718b=>{const _0x446537=_0x4138cb,_0x3a27c1=_0xb535c0[_0x446537(0x1ba)][_0x446537(0x1fb)][_0x446537(0x17b)][_0x446537(0x1c9)]();_0x53718b[_0x446537(0x1c4)](_0x446537(0x1a0),_0x3a27c1),_0x53718b[_0x446537(0x1c4)](_0x446537(0x195),_0x3a27c1),_0x53718b[_0x446537(0x19f)](_0x4d0eca?_0x446537(0x1a0):_0x446537(0x195),_0x3a27c1);});}[_0x348f6a(0x206)](_0x17bfc9){const _0x13a66d=_0x348f6a;return _0x17bfc9[_0x13a66d(0x201)](_0x3669f3=>{const _0x399e55=_0x13a66d,_0x393603=_0x399e55(0x1e8)+_0x3669f3['id'][_0x399e55(0x208)]()[_0x399e55(0x171)]('-','_'),_0x4b7a10={..._0x3669f3,'title':this[_0x399e55(0x20e)](_0x393603+_0x399e55(0x1ac),_0x3669f3[_0x399e55(0x1c6)]),'description':this[_0x399e55(0x20e)](_0x393603+_0x399e55(0x20d),_0x3669f3[_0x399e55(0x1b4)])};return _0x3669f3[_0x399e55(0x207)]&&(_0x4b7a10[_0x399e55(0x207)]=_0x3669f3[_0x399e55(0x207)][_0x399e55(0x201)](_0x360433=>({..._0x360433,'label':this[_0x399e55(0x20e)](_0x393603+_0x399e55(0x1a9),_0x360433[_0x399e55(0x19d)]||''),'data':_0x360433[_0x399e55(0x1dc)]?_0x360433[_0x399e55(0x1dc)][_0x399e55(0x201)](_0x1ca17e=>({..._0x1ca17e,'label':this[_0x399e55(0x20e)](_0x393603+_0x399e55(0x204)+_0x1ca17e['id'][_0x399e55(0x208)](),_0x1ca17e[_0x399e55(0x19d)])})):void 0x0}))),_0x4b7a10;});}[_0x348f6a(0x20e)](_0x517712,_0xaa969e){const _0x4854cc=_0x348f6a,_0x1cb001=this[_0x4854cc(0x1f0)][_0x4854cc(0x1cd)],_0x16ff65=_0x1e2bd6(_0x1cb001,_0x517712);return _0x16ff65===_0x517712?_0xaa969e:_0x16ff65;}[_0x348f6a(0x1bf)](_0x11670f){const _0x443f53=_0x348f6a;_0x288458(_0x11670f[_0x443f53(0x1b8)]),_0x11670f[_0x443f53(0x1b8)][_0x443f53(0x16c)](_0x443f53(0x1f9))?this[_0x443f53(0x1f6)][_0x443f53(0x16f)]():this[_0x443f53(0x1f6)][_0x443f53(0x1b1)]();}}
|
|
23
|
+
const _0x4b64bc=_0x4f6d;(function(_0x6f65ee,_0xdaea36){const _0x51af75=_0x4f6d,_0x3591f9=_0x6f65ee();while(!![]){try{const _0x7b4151=parseInt(_0x51af75(0x14e))/0x1*(parseInt(_0x51af75(0x1cf))/0x2)+parseInt(_0x51af75(0x140))/0x3+parseInt(_0x51af75(0x12d))/0x4*(parseInt(_0x51af75(0x1bb))/0x5)+-parseInt(_0x51af75(0x17f))/0x6+-parseInt(_0x51af75(0x1c8))/0x7*(-parseInt(_0x51af75(0x1d3))/0x8)+parseInt(_0x51af75(0x16e))/0x9+-parseInt(_0x51af75(0x170))/0xa;if(_0x7b4151===_0xdaea36)break;else _0x3591f9['push'](_0x3591f9['shift']());}catch(_0x141377){_0x3591f9['push'](_0x3591f9['shift']());}}}(_0x5293,0x19209));import{ContextPlugin as _0x9c4f1f}from'ckeditor5/src/core.js';import{CKEditorError as _0x5541e0,logError as _0x354fe4,scrollAncestorsToShowTarget as _0x1deebf,scrollViewportToShowTarget as _0x1b14f0}from'ckeditor5/src/utils.js';import{AIConnector as _0x71740e}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x560f48}from'./model/aireviewchecklist.js';function _0x5293(){const _0x51dbe0=['switchToReadOnly','find','24784sSIHjf','emitter','isOfficialPlugin','_onDiffChange','addResultChanges','aborted','markChangeAsOutdated','changeMarkerClick','dismissChange','.ck-ai-review-mode__check-run-result','_currentReviewCheckRun','markChangeAsRejected','start','_aiReviewModeUi','_aiReviewCheckList','getEditor','abort','showCheckRunResult','ai-review-mode-check-run-failed','338934zhUUCS','contentNew','_getTranslationWithDefault','getReviewCheckList','leaveReviewMode','showCheckRunResults','applyChange','changeMarkerBlurred','_translateReviewChecks','diffContent','changeMarkerRestored','error-chunk','activateChange','description','86uLVVqP','AI_REVIEW_CHECK_','showReviewCheckList','loading','clearAllMarkers','setAvailableChecks','getDomRoot','ai.reviewMode.translations','translate','label','showChangeBalloon','closest','ai-review-mode-source-check-not-found','markChangePositionInEditorContent','editing','changeId','_onReviewModeRunLeave','stopListening','showChunkErrorView','map','_isDiffOn','params','showGeneralResultsErrorView','leaveReviewModeResultList','getChangeById','getActiveChanges','setActiveStateInResults','isPremiumPlugin','click','_aiReviewModeEditing','reviewCheckResultDeactivated','getDocumentData','973224UlsiSs','includes','2918270AqDYdr','AIReviewModeEditing','document','getMarkerElementForChange','AIConnector','resetActiveStateInResults','showGeneralReviewModeErrorView','result','contentInitial','length','viewportOffset','switchToEdit','subTitle','showActionsWhenResultIsReady','config','1100574QwkkSQ','abortReviewStream','reviewCheckRunUpdated','toggleDiff','_TITLE','init','reviewCheckResultAdded','getRoot','_logError','changeMarkerRemoved','checks','markAllChangesAsAccepted','message','view','sendRating','ai-review-mode-no-current-check-run','args','panel','_DESCRIPTION','runReviewCheck','domElement','removeClass','ck-ai-review-mode-diff','hasModifications','documentData','showReviewCompletedView','reviewCheckResultChangeStatusUpdated','AIReviewModeController','updateDocumentData','models','ai-review-mode-models-unable-to-retrieve','forceReadyState','plugins','change','retryReview','addClass','acceptChange','showDiffInBalloon','isChangeActive','rejectChange','markerElement','getCheckById','reviewCheckResultActivated','requires','ck-ai-review-mode-highlights','deactivateChange','hideChangeBalloon','changeMarkerHovered','reviewCheckResultReady','options','_changeActivationSource','data','_aiConnector','getChangeElement','acceptAllChanges','status','listenTo','isCustom','prompt','processedResultsCount','55qiUtVJ','content','pluginName','hideDiffInBalloon','isAnyChangeActivated','getAll','context','title','source','ai-review-mode-check-run-general-error','_OPTIONS_DATA_','removeCheckById','model','7VwNdOm','toUpperCase','replaceAll','updateChangeState','domEvent','ready','error-general','2288hIHVab','get','startsWith','showNoChangesView','1524184XzTcKe','_OPTIONS_LABEL','setCheckResultTitle','restart','finishReview','changes','locale','markChangeAsAccepted','AIReviewModeUI','custom','ai-request-aborted','currentError','markChangeAsPending','unmodified','hover','ai-review-mode-check-run-chunk-error','finished'];_0x5293=function(){return _0x51dbe0;};return _0x5293();}import{AIReviewSystemCheckRun as _0x51127e}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1e28f4}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x1a42b4}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x4f9e8b}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x417a28}from'../aicore/utils/common-translations.js';function _0x4f6d(_0x2dc33f,_0x2e5e89){const _0x5293f4=_0x5293();return _0x4f6d=function(_0x4f6d51,_0x10b2ca){_0x4f6d51=_0x4f6d51-0x127;let _0x30983a=_0x5293f4[_0x4f6d51];return _0x30983a;},_0x4f6d(_0x2dc33f,_0x2e5e89);}export class AIReviewModeController extends _0x9c4f1f{[_0x4b64bc(0x1b3)];[_0x4b64bc(0x13a)];[_0x4b64bc(0x16b)];[_0x4b64bc(0x13b)];[_0x4b64bc(0x137)];[_0x4b64bc(0x162)]=!0x1;[_0x4b64bc(0x1b1)]=null;static get[_0x4b64bc(0x1aa)](){return[_0x71740e];}static get[_0x4b64bc(0x1bd)](){const _0x2e15e9=_0x4b64bc;return _0x2e15e9(0x19a);}static get[_0x4b64bc(0x12f)](){return!0x0;}static get[_0x4b64bc(0x169)](){return!0x0;}async[_0x4b64bc(0x184)](){const _0x8ffd71=_0x4b64bc;this[_0x8ffd71(0x1b3)]=this[_0x8ffd71(0x1c1)][_0x8ffd71(0x19f)][_0x8ffd71(0x1d0)](_0x8ffd71(0x174)),this[_0x8ffd71(0x13a)]=this[_0x8ffd71(0x1c1)][_0x8ffd71(0x19f)][_0x8ffd71(0x1d0)](_0x8ffd71(0x1db)),this[_0x8ffd71(0x16b)]=this[_0x8ffd71(0x1c1)][_0x8ffd71(0x19f)][_0x8ffd71(0x1d0)](_0x8ffd71(0x171));const _0x1f141a=this[_0x8ffd71(0x1c1)][_0x8ffd71(0x17e)][_0x8ffd71(0x1d0)](_0x8ffd71(0x155));if(_0x1f141a){for(const _0x5bc754 of _0x4f9e8b)_0x8ffd71(0x156)===_0x5bc754['id']&&(_0x5bc754[_0x8ffd71(0x1b0)][0x0][_0x8ffd71(0x1b2)]=_0x1f141a);}const _0x21f2a9=this[_0x8ffd71(0x148)](_0x4f9e8b);this[_0x8ffd71(0x13b)]=new _0x560f48(_0x21f2a9);const _0x40cb3a=this[_0x8ffd71(0x13b)][_0x8ffd71(0x189)][_0x8ffd71(0x12c)](_0x672cff=>_0x8ffd71(0x1dc)===_0x672cff['id']);if(_0x40cb3a)try{_0x40cb3a[_0x8ffd71(0x19c)]=await new _0x1a42b4({'connector':this[_0x8ffd71(0x1b3)],'locale':this[_0x8ffd71(0x1c1)][_0x8ffd71(0x1d9)]})[_0x8ffd71(0x1c0)]();}catch(_0x9bae50){this[_0x8ffd71(0x13b)][_0x8ffd71(0x1c6)](_0x8ffd71(0x1dc)),this[_0x8ffd71(0x187)](new _0x5541e0(_0x8ffd71(0x19d),this,{'error':_0x9bae50}));}this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x143),()=>{const _0xde3cd9=_0x8ffd71;this[_0xde3cd9(0x13a)][_0xde3cd9(0x153)](this[_0xde3cd9(0x13b)][_0xde3cd9(0x189)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x192),async(_0x3736bf,_0x19a395)=>{const _0x39bb1d=_0x8ffd71,_0x567e68=this[_0x39bb1d(0x13b)][_0x39bb1d(0x1a8)](_0x19a395['id']);if(_0x567e68){this[_0x39bb1d(0x130)](this[_0x39bb1d(0x162)]),_0x19a395[_0x39bb1d(0x1b8)]?this[_0x39bb1d(0x137)]=new _0x1e28f4(_0x19a395[_0x39bb1d(0x18f)][_0x39bb1d(0x1b9)],_0x19a395[_0x39bb1d(0x18f)][_0x39bb1d(0x1c7)],this[_0x39bb1d(0x16b)][_0x39bb1d(0x16d)](),_0x567e68,this[_0x39bb1d(0x1b3)]):this[_0x39bb1d(0x137)]=new _0x51127e(this[_0x39bb1d(0x16b)][_0x39bb1d(0x16d)](),_0x567e68,this[_0x39bb1d(0x1b3)],_0x19a395[_0x39bb1d(0x163)],_0x19a395[_0x39bb1d(0x18f)]),this[_0x39bb1d(0x13a)][_0x39bb1d(0x1d5)](this[_0x39bb1d(0x137)][_0x39bb1d(0x1c2)],this[_0x39bb1d(0x137)][_0x39bb1d(0x17c)]),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x181),(_0x45b4bf,_0x3d91b9)=>{const _0x3e6e0d=_0x39bb1d;switch(_0x3d91b9[_0x3e6e0d(0x1b6)]){case _0x3e6e0d(0x1b2):case _0x3e6e0d(0x151):this[_0x3e6e0d(0x16b)][_0x3e6e0d(0x12b)](),this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x145)](_0x3d91b9);break;case _0x3e6e0d(0x12a):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x198)]();break;case _0x3e6e0d(0x1cd):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x17d)]();break;case _0x3e6e0d(0x127):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x1d2)]();break;case _0x3e6e0d(0x1ce):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x164)](),this[_0x3e6e0d(0x187)](new _0x5541e0(_0x3e6e0d(0x1c4),this,this[_0x3e6e0d(0x137)]?.[_0x3e6e0d(0x1de)]));break;case _0x3e6e0d(0x14b):this[_0x3e6e0d(0x13a)][_0x3e6e0d(0x160)](),this[_0x3e6e0d(0x187)](new _0x5541e0(_0x3e6e0d(0x129),this,this[_0x3e6e0d(0x137)]?.[_0x3e6e0d(0x1de)]));break;case _0x3e6e0d(0x132):this[_0x3e6e0d(0x137)]&&this[_0x3e6e0d(0x137)][_0x3e6e0d(0x1ba)]>0x0?setTimeout(()=>{const _0x54f39c=_0x3e6e0d;this[_0x54f39c(0x137)]?.[_0x54f39c(0x19e)]();},0x0):this[_0x3e6e0d(0x15e)](!0x0);}_0x3e6e0d(0x1cd)!==_0x3d91b9[_0x3e6e0d(0x1b6)]&&_0x3e6e0d(0x14b)!==_0x3d91b9[_0x3e6e0d(0x1b6)]&&_0x3e6e0d(0x1ce)!==_0x3d91b9[_0x3e6e0d(0x1b6)]||this[_0x3e6e0d(0x137)]?.[_0x3e6e0d(0x18d)]();}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x185),(_0x1698b2,_0xfccc69)=>{const _0x1b42bd=_0x39bb1d;if(!this[_0x1b42bd(0x137)])throw new _0x5541e0(_0x1b42bd(0x18e),this);const _0x5475ab=this[_0x1b42bd(0x16b)][_0x1b42bd(0x149)](_0xfccc69[_0x1b42bd(0x177)][_0x1b42bd(0x178)],_0xfccc69[_0x1b42bd(0x177)][_0x1b42bd(0x141)]);_0xfccc69[_0x1b42bd(0x1c3)][_0x1b42bd(0x131)](_0xfccc69[_0x1b42bd(0x177)]['id'],_0x5475ab);}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x1af),(_0x3879a0,_0x4b2738)=>{const _0x62749c=_0x39bb1d;for(const _0x335303 of _0x4b2738[_0x62749c(0x1d8)])this[_0x62749c(0x13a)][_0x62749c(0x13e)](_0x335303);this[_0x62749c(0x16b)][_0x62749c(0x15b)](_0x4b2738[_0x62749c(0x1d8)],_0x4b2738[_0x62749c(0x1c3)][_0x62749c(0x197)]);}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x199),(_0xdac48b,_0x379cc8)=>{const _0x5e9a55=_0x39bb1d;this[_0x5e9a55(0x13a)][_0x5e9a55(0x1cb)](_0x379cc8[_0x5e9a55(0x1a0)]['id'],_0x379cc8[_0x5e9a55(0x1b6)]);}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x1a9),(_0x53c5dc,_0x291398)=>{const _0xf5ec38=_0x39bb1d;this[_0xf5ec38(0x13a)][_0xf5ec38(0x168)](_0x291398[_0xf5ec38(0x1a0)]['id']);const _0x5c223b=this[_0xf5ec38(0x16b)][_0xf5ec38(0x173)](_0x291398[_0xf5ec38(0x1a0)]['id']);if(!_0x5c223b)return;if(_0xf5ec38(0x1bc)===this[_0xf5ec38(0x1b1)]){const _0x30299e=this[_0xf5ec38(0x13a)][_0xf5ec38(0x1b4)](_0x291398[_0xf5ec38(0x1a0)]['id']);_0x30299e&&_0x1deebf(_0x30299e[_0xf5ec38(0x159)](_0xf5ec38(0x136))||_0x30299e);}else{if(_0xf5ec38(0x190)===this[_0xf5ec38(0x1b1)]){const _0x3e83d3={'target':_0x5c223b[_0xf5ec38(0x193)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x1b14f0(_0x3e83d3);}}const _0x2367ca=this[_0xf5ec38(0x16b)][_0xf5ec38(0x13c)]();this[_0xf5ec38(0x13a)][_0xf5ec38(0x158)](_0x291398[_0xf5ec38(0x1a0)],_0x5c223b[_0xf5ec38(0x193)],void 0x0,_0xf5ec38(0x16a),_0x2367ca?.[_0xf5ec38(0x15c)]?.[_0xf5ec38(0x18c)]?.[_0xf5ec38(0x154)](),_0x2367ca?.['ui']?.[_0xf5ec38(0x17a)]);}),this[_0x39bb1d(0x137)]['on'](_0x39bb1d(0x16c),()=>{const _0x35ac77=_0x39bb1d;this[_0x35ac77(0x13a)][_0x35ac77(0x175)](),this[_0x35ac77(0x13a)][_0x35ac77(0x1ad)]();});try{await this[_0x39bb1d(0x137)][_0x39bb1d(0x139)]();}catch(_0x272404){_0x272404 instanceof Error&&_0x272404[_0x39bb1d(0x18b)][_0x39bb1d(0x16f)](_0x39bb1d(0x1dd))||(_0x272404 instanceof _0x5541e0?this[_0x39bb1d(0x187)](_0x272404):this[_0x39bb1d(0x187)](new _0x5541e0(_0x39bb1d(0x13f),this,{'error':_0x272404})));}}else this[_0x39bb1d(0x187)](new _0x5541e0(_0x39bb1d(0x15a),this,{'checkId':_0x19a395['id']}));}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x144),()=>{const _0x3d36b4=_0x8ffd71;this[_0x3d36b4(0x15e)]();}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x165),()=>{const _0x1b01f6=_0x8ffd71;this[_0x1b01f6(0x15e)](!0x0);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x180),()=>{const _0x5b9098=_0x8ffd71;this[_0x5b9098(0x137)]&&this[_0x5b9098(0x137)][_0x5b9098(0x13d)]();}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1d7),()=>{const _0x5d74fe=_0x8ffd71;this[_0x5d74fe(0x15e)](!0x0);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1b5),()=>{const _0x200c2e=_0x8ffd71;if(!this[_0x200c2e(0x137)])return;const _0x49c17c=this[_0x200c2e(0x137)][_0x200c2e(0x167)]();_0x49c17c[_0x200c2e(0x179)]&&(this[_0x200c2e(0x16b)][_0x200c2e(0x146)](_0x49c17c[_0x200c2e(0x161)](_0x21dd11=>_0x21dd11['id'])),this[_0x200c2e(0x137)][_0x200c2e(0x18a)](),this[_0x200c2e(0x137)][_0x200c2e(0x18d)]());}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1a3),(_0x58f920,_0x5e1cd8)=>{const _0x20cd8e=_0x8ffd71;this[_0x20cd8e(0x137)]&&this[_0x20cd8e(0x137)][_0x20cd8e(0x1a5)](_0x5e1cd8['id'])&&(this[_0x20cd8e(0x16b)][_0x20cd8e(0x146)]([_0x5e1cd8['id']]),this[_0x20cd8e(0x137)][_0x20cd8e(0x1da)](_0x5e1cd8['id']),this[_0x20cd8e(0x13a)][_0x20cd8e(0x1ad)](),this[_0x20cd8e(0x137)][_0x20cd8e(0x18d)](_0x5e1cd8['id']));}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x135),(_0x34775f,_0x48b61f)=>{const _0x51f4cd=_0x8ffd71;this[_0x51f4cd(0x137)]&&this[_0x51f4cd(0x137)][_0x51f4cd(0x1a5)](_0x48b61f['id'])&&(this[_0x51f4cd(0x16b)][_0x51f4cd(0x1a6)](_0x48b61f['id']),this[_0x51f4cd(0x137)][_0x51f4cd(0x138)](_0x48b61f['id']),this[_0x51f4cd(0x13a)][_0x51f4cd(0x1ad)](),this[_0x51f4cd(0x137)][_0x51f4cd(0x18d)](_0x48b61f['id']));}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x182),(_0x5ccd90,_0x5f0685)=>{const _0x19b29c=_0x8ffd71;this[_0x19b29c(0x162)]=_0x5f0685['on'],this[_0x19b29c(0x130)](this[_0x19b29c(0x162)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1a1),async()=>{const _0x389177=_0x8ffd71;this[_0x389177(0x137)]&&(this[_0x389177(0x16b)][_0x389177(0x152)](),this[_0x389177(0x137)][_0x389177(0x19b)](this[_0x389177(0x16b)][_0x389177(0x16d)]()),await this[_0x389177(0x137)][_0x389177(0x1d6)]());}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x14c),(_0x1643f8,_0x2e412e)=>{const _0x33f12a=_0x8ffd71;this[_0x33f12a(0x137)]&&(this[_0x33f12a(0x1b1)]=_0x33f12a(0x190),this[_0x33f12a(0x137)][_0x33f12a(0x14c)](_0x2e412e['id']));}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x13a)],_0x8ffd71(0x1ac),()=>{const _0x3eb692=_0x8ffd71;this[_0x3eb692(0x137)]&&this[_0x3eb692(0x137)][_0x3eb692(0x1ac)]();}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x134),(_0x2f4361,_0x5ba84f)=>{const _0x196a76=_0x8ffd71;if(!this[_0x196a76(0x137)])return;this[_0x196a76(0x1b1)]=_0x196a76(0x1bc),this[_0x196a76(0x137)][_0x196a76(0x14c)](_0x5ba84f[_0x196a76(0x15d)]);const _0x4fefde=this[_0x196a76(0x137)][_0x196a76(0x166)](_0x5ba84f[_0x196a76(0x15d)]);if(!_0x4fefde)return;const _0x2a220a=this[_0x196a76(0x16b)][_0x196a76(0x13c)]();this[_0x196a76(0x13a)][_0x196a76(0x158)](_0x4fefde,_0x5ba84f[_0x196a76(0x1a7)],_0x5ba84f[_0x196a76(0x1cc)],_0x196a76(0x16a),_0x2a220a?.[_0x196a76(0x15c)]?.[_0x196a76(0x18c)]?.[_0x196a76(0x154)](),_0x2a220a?.['ui']?.[_0x196a76(0x17a)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x1ae),(_0xdc62c3,_0x197c8a)=>{const _0x3fcf94=_0x8ffd71;if(!this[_0x3fcf94(0x137)])return;if(this[_0x3fcf94(0x137)][_0x3fcf94(0x1bf)]())return;const _0x1b87e1=this[_0x3fcf94(0x137)][_0x3fcf94(0x166)](_0x197c8a[_0x3fcf94(0x15d)]);if(!_0x1b87e1)return;const _0xae9814=this[_0x3fcf94(0x16b)][_0x3fcf94(0x13c)]();this[_0x3fcf94(0x13a)][_0x3fcf94(0x158)](_0x1b87e1,_0x197c8a[_0x3fcf94(0x1a7)],_0x197c8a[_0x3fcf94(0x1cc)],_0x3fcf94(0x128),_0xae9814?.[_0x3fcf94(0x15c)]?.[_0x3fcf94(0x18c)]?.[_0x3fcf94(0x154)](),_0xae9814?.['ui']?.[_0x3fcf94(0x17a)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x147),()=>{const _0x252d01=_0x8ffd71;if(!this[_0x252d01(0x137)])return;this[_0x252d01(0x137)][_0x252d01(0x1bf)]()||this[_0x252d01(0x13a)][_0x252d01(0x1ad)]();}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x188),(_0x1cbf23,_0x658558)=>{const _0x488414=_0x8ffd71;this[_0x488414(0x137)]&&this[_0x488414(0x137)][_0x488414(0x133)](_0x658558[_0x488414(0x15d)]);}),this[_0x8ffd71(0x1b7)](this[_0x8ffd71(0x16b)][_0x8ffd71(0x12e)],_0x8ffd71(0x14a),(_0x53e0d8,_0x48e433)=>{const _0x26b318=_0x8ffd71;this[_0x26b318(0x137)]&&this[_0x26b318(0x137)][_0x26b318(0x1df)](_0x48e433[_0x26b318(0x15d)]);});}[_0x4b64bc(0x15e)](_0x141177=!0x1){const _0x277988=_0x4b64bc;this[_0x277988(0x137)]&&(this[_0x277988(0x137)][_0x277988(0x196)]||this[_0x277988(0x137)][_0x277988(0x18d)](),this[_0x277988(0x137)][_0x277988(0x15f)](),this[_0x277988(0x137)][_0x277988(0x13d)](),this[_0x277988(0x137)]=void 0x0),_0x141177&&this[_0x277988(0x13a)][_0x277988(0x150)](),this[_0x277988(0x16b)][_0x277988(0x152)](),this[_0x277988(0x16b)][_0x277988(0x17b)](),this[_0x277988(0x1b1)]=null;const _0x271bea=this[_0x277988(0x16b)][_0x277988(0x13c)]();_0x271bea&&_0x271bea[_0x277988(0x15c)][_0x277988(0x18c)][_0x277988(0x1a0)](_0x349b25=>{const _0x47ccfb=_0x277988,_0x1af593=_0x271bea[_0x47ccfb(0x15c)][_0x47ccfb(0x18c)][_0x47ccfb(0x172)][_0x47ccfb(0x186)]();_0x349b25[_0x47ccfb(0x194)](_0x47ccfb(0x195),_0x1af593),_0x349b25[_0x47ccfb(0x194)](_0x47ccfb(0x1ab),_0x1af593);});}[_0x4b64bc(0x130)](_0x445ae3){const _0x4d8f33=_0x4b64bc,_0x2135dd=this[_0x4d8f33(0x16b)][_0x4d8f33(0x13c)]();_0x445ae3?this[_0x4d8f33(0x13a)][_0x4d8f33(0x1be)]():this[_0x4d8f33(0x13a)][_0x4d8f33(0x1a4)](),_0x2135dd&&_0x2135dd[_0x4d8f33(0x15c)][_0x4d8f33(0x18c)][_0x4d8f33(0x1a0)](_0x2df1f7=>{const _0x92b66b=_0x4d8f33,_0x44a2c2=_0x2135dd[_0x92b66b(0x15c)][_0x92b66b(0x18c)][_0x92b66b(0x172)][_0x92b66b(0x186)]();_0x2df1f7[_0x92b66b(0x194)](_0x92b66b(0x195),_0x44a2c2),_0x2df1f7[_0x92b66b(0x194)](_0x92b66b(0x1ab),_0x44a2c2),_0x2df1f7[_0x92b66b(0x1a2)](_0x445ae3?_0x92b66b(0x195):_0x92b66b(0x1ab),_0x44a2c2);});}[_0x4b64bc(0x148)](_0x29b136){const _0x3d6290=_0x4b64bc;return _0x29b136[_0x3d6290(0x161)](_0x14a456=>{const _0x135d51=_0x3d6290,_0x403590=_0x135d51(0x14f)+_0x14a456['id'][_0x135d51(0x1c9)]()[_0x135d51(0x1ca)]('-','_'),_0x153d82={..._0x14a456,'title':this[_0x135d51(0x142)](_0x403590+_0x135d51(0x183),_0x14a456[_0x135d51(0x1c2)]),'description':this[_0x135d51(0x142)](_0x403590+_0x135d51(0x191),_0x14a456[_0x135d51(0x14d)])};return _0x14a456[_0x135d51(0x1b0)]&&(_0x153d82[_0x135d51(0x1b0)]=_0x14a456[_0x135d51(0x1b0)][_0x135d51(0x161)](_0x5bbb65=>({..._0x5bbb65,'label':this[_0x135d51(0x142)](_0x403590+_0x135d51(0x1d4),_0x5bbb65[_0x135d51(0x157)]||''),'data':_0x5bbb65[_0x135d51(0x1b2)]?_0x5bbb65[_0x135d51(0x1b2)][_0x135d51(0x161)](_0xdd4cac=>({..._0xdd4cac,'label':this[_0x135d51(0x142)](_0x403590+_0x135d51(0x1c5)+_0xdd4cac['id'][_0x135d51(0x1c9)](),_0xdd4cac[_0x135d51(0x157)])})):void 0x0}))),_0x153d82;});}[_0x4b64bc(0x142)](_0x115eb7,_0x2255e3){const _0x18a399=_0x4b64bc,_0x442fa9=this[_0x18a399(0x1c1)][_0x18a399(0x1d9)],_0x573dc5=_0x417a28(_0x442fa9,_0x115eb7);return _0x573dc5===_0x115eb7?_0x2255e3:_0x573dc5;}[_0x4b64bc(0x187)](_0x18d3f1){const _0x9438b6=_0x4b64bc;_0x354fe4(_0x18d3f1[_0x9438b6(0x18b)]),_0x18d3f1[_0x9438b6(0x18b)][_0x9438b6(0x1d1)](_0x9438b6(0x19d))?this[_0x9438b6(0x13a)][_0x9438b6(0x176)]():this[_0x9438b6(0x13a)][_0x9438b6(0x164)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf02703=_0x4671;(function(_0x3c6f8c,_0x27f308){const _0x23c87c=_0x4671,_0x4d208c=_0x3c6f8c();while(!![]){try{const _0x4f5c90=parseInt(_0x23c87c(0xee))/0x1*(-parseInt(_0x23c87c(0x80))/0x2)+-parseInt(_0x23c87c(0xfd))/0x3+parseInt(_0x23c87c(0x10f))/0x4*(-parseInt(_0x23c87c(0x102))/0x5)+-parseInt(_0x23c87c(0xb6))/0x6*(parseInt(_0x23c87c(0xf7))/0x7)+-parseInt(_0x23c87c(0xa1))/0x8*(-parseInt(_0x23c87c(0xac))/0x9)+parseInt(_0x23c87c(0x103))/0xa+parseInt(_0x23c87c(0x170))/0xb;if(_0x4f5c90===_0x27f308)break;else _0x4d208c['push'](_0x4d208c['shift']());}catch(_0x49b64d){_0x4d208c['push'](_0x4d208c['shift']());}}}(_0xd36e,0x7a8c5));function _0x4671(_0x47793c,_0x579979){const _0xd36ec6=_0xd36e();return _0x4671=function(_0x467188,_0x41537d){_0x467188=_0x467188-0x7d;let _0x5d6016=_0xd36ec6[_0x467188];return _0x5d6016;},_0x4671(_0x47793c,_0x579979);}import{InsertOperation as _0x9e02ab,MarkerOperation as _0x58306e,ModelDocumentFragment as _0x379dd4,ModelPosition as _0x110ede,ModelRange as _0x448e38,ModelTreeWalker as _0x26515f,transformOperationSets as _0x49443f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x4ac2fd,EmitterMixin as _0xbd5e3a}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x325aae}from'ckeditor5/src/core.js';import{DocumentCompare as _0x34a26d,DATA_ID_MODEL_ATTRIBUTE as _0x25a6c5,DATA_ID_VIEW_ATTRIBUTE as _0x408446}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0xbaece2}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x1383d8}from'../aicore/aiediting.js';function _0xd36e(){const _0x1047e2=['suggestion:insertion:id:authorId:','12rwvLah','suggestion:deletion:id:authorId:','target','plugins','schema','has','data-marker-id','_findAdjacentContextDistance','_domEmitter','stringify','$markedRemove','offsetSize','isPremiumPlugin','rootName','editingDowncast','clearAllMarkers','map','_parseMarkerName','changeMarkerClick','groupId','getRoots','isIntersecting','outerHTML','changeMarkerHovered','forward','enableReadOnlyMode','htmlProcessor','emitter','parse','ck-ai_review-mode-marker_context-start','_createGetContextFn','oldRange','differ','addMarker','model','offset','_changePositionOwnerDocument','pop','getDomRoot','_groupAdjacentOperations','getChild','relatedTarget','baseVersion','fire','getDiff','_setAttribute','_removeChildren','name','reviewmode-','createText','addOperation','data','getChanges','isTouching','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','change','368309ZRxcTX','downcast','getStart','type','dataDowncast','_markers','index','$textProxy','_sortMarkers','1160747yLUEJd','getAttribute','disableReadOnlyMode','delete','remove','values','1881303ABeynp','createDocumentFragment','applyChange','$documentFragment','howMany','2073310NhpQnY','7614780TAnSVR','elements','path','start','documentFragment','requires','_changePosition','every','attributeToAttribute','getRange','insertContent','_nextDataId','4Jxpgea','switchToReadOnly','domConverter','ellipsisBefore','forEach','_getChangeContext','_getOperationStart','_removeAttribute','root','No\x20element\x20found\x20for\x20ID:\x20','AIEditing','operationsIsolated','markerToElement','deleteContent','remove-text','_changeRange','model:$text','_createGetContentFn','createRange','closest','toDomElement','getShiftedBy','getRoot','processor','document','changeMarkerBlurred','viewToDom','getDocumentData','append','registerPostFixer','_validateMarkers','_findMarkerElement','$graveyard','mouseover','newRange','length','remove-context','listenTo','position','hasClass','includes','[data-marker-id=\x22','click','getOperations','view','warn','changeMarkerRestored','ck-ai_review-mode-marker_','version','add','filter','marker','createPositionAfter','createPositionAt','hasAttribute','affectsData','AIReviewModeEditing','removeMarker','ck-ai_review-mode-marker_underline','element','className','text','hasContentBefore','DocumentCompare','ck-ai_review-mode-marker_strikethrough','insert','isOpening','remove-only','htmlWriter','innerHTML','isAtStart','flat','toData','createSelection','history','childCount','createRawElement','getPath','getEditor','getHtml','_createGetContentUsingDataIdFn','clear','span','_getOperationEnd','keys','batch','hasContentAfter','parent','_appendChild','getMarkerElementForChange','push','sort','createUIElement','_changeRangeOwnerDocument','_shiftOperation','ck-ai_review-mode-marker_add','markerName','11954701ufkprg','[data-id=\x22','exec','rejectChange','switchToEdit','markerToHighlight','isInline','diffContent','2cKHAqZ','containsRange','clone','_handleMarkerChanges','_haveSingleTopLevelElement','nodes','set','jumpTo','conversion','changeMarkerRemoved','context','end','markers','_upsertDataId','_clone','querySelector','_getMarkersDataForGroup','containerElement','split','size','suggestion-context','for','ck-ai_review-mode-marker_context-','markChangePositionInEditorContent','isAtEnd','getChildren','backward','afterInit','operationsA','_eventEmitter','_hasSameTopLevelElement','applyOperation','ck-ai_review-mode-marker_context-end','3416dTrGlO','getChangedMarkers','_insertMarkers','parentElement','startsWith','ai-review-mode','toView','concat','_translateOperationToEditorContent','_changeOperationOwnerDocument','isDocumentOperation','8334VbjiAC','ck-ai_review-mode-marker_hide','isOfficialPlugin','get','editing','_haveOnlyInlineContent','ellipsisAfter','from','pluginName'];_0xd36e=function(){return _0x1047e2;};return _0xd36e();}import{debounce as _0x2a7890}from'es-toolkit/compat';const we=_0xf02703(0xe6);export class AIReviewModeEditing extends _0x325aae{static get[_0xf02703(0xb4)](){const _0x3b092e=_0xf02703;return _0x3b092e(0x147);}static get[_0xf02703(0x108)](){return[_0x34a26d,_0x1383d8];}static get[_0xf02703(0xae)](){return!0x0;}static get[_0xf02703(0xc2)](){return!0x0;}[_0xf02703(0xf3)]=new Map();[_0xf02703(0xbe)];[_0xf02703(0x9d)];constructor(_0x5c6692){const _0x467626=_0xf02703;super(_0x5c6692),this[_0x467626(0xbe)]=new(_0x4ac2fd())(),this[_0x467626(0x9d)]=new(_0xbd5e3a())();}get[_0xf02703(0xd1)](){const _0x469d0f=_0xf02703;return this[_0x469d0f(0x9d)];}[_0xf02703(0x9b)](){const _0x50c952=_0xf02703,_0x29e7af=_0xbaece2(this[_0x50c952(0x8a)]);_0x29e7af[_0x50c952(0x88)][_0x50c952(0x95)](_0x50c952(0xc4))[_0x50c952(0x11b)]({'model':we+_0x50c952(0x150),'view':(_0x1454aa,{writer:_0x40009c})=>{const _0x2cdcef=_0x50c952,_0x1a7224=this[_0x2cdcef(0xf3)][_0x2cdcef(0xaf)](_0x1454aa[_0x2cdcef(0x16f)]),_0x1460f3={'class':_0x2cdcef(0x16e),'data-marker-id':_0x1454aa[_0x2cdcef(0x16f)]};return _0x40009c[_0x2cdcef(0x16b)](_0x2cdcef(0x161),_0x1460f3,function(_0x50c038){const _0x234b20=_0x2cdcef,_0x39133b=this[_0x234b20(0x123)](_0x50c038);return _0x39133b[_0x234b20(0x154)]=_0x1a7224?.[_0x234b20(0x14c)]||'',_0x39133b;});}}),_0x29e7af[_0x50c952(0x88)][_0x50c952(0x95)](_0x50c952(0xc4))[_0x50c952(0x7d)]({'model':we+_0x50c952(0x152),'view':_0x120319=>({'classes':_0x50c952(0x14f),'attributes':{'data-marker-id':_0x120319[_0x50c952(0x16f)]}})}),_0x29e7af[_0x50c952(0x88)][_0x50c952(0x95)](_0x50c952(0xc4))[_0x50c952(0x7d)]({'model':we+_0x50c952(0x133),'view':_0x3aab15=>({'classes':_0x50c952(0x149),'attributes':{'data-marker-id':_0x3aab15[_0x50c952(0x16f)]}})}),_0x29e7af[_0x50c952(0x88)][_0x50c952(0x95)](_0x50c952(0xc4))[_0x50c952(0x7d)]({'model':we+_0x50c952(0x11d),'view':_0xd948fa=>({'classes':_0x50c952(0xad),'attributes':{'data-marker-id':_0xd948fa[_0x50c952(0x16f)]}})}),_0x29e7af[_0x50c952(0x88)][_0x50c952(0x95)](_0x50c952(0xf2))[_0x50c952(0x11b)]({'model':we+_0x50c952(0x94),'view':(_0x83fab5,{writer:_0x2b6531})=>_0x2b6531[_0x50c952(0x15b)](_0x50c952(0x161),{'class':_0x50c952(0x96)+(_0x83fab5[_0x50c952(0x151)]?_0x50c952(0x106):_0x50c952(0x8b))})}),_0x29e7af[_0x50c952(0x88)][_0x50c952(0x95)](_0x50c952(0xef))[_0x50c952(0x10b)]({'model':_0x25a6c5,'view':_0x408446}),this[_0x50c952(0xbe)][_0x50c952(0x134)](document,_0x50c952(0x139),(_0x1f00ee,_0x525807)=>{const _0x39fdb5=_0x50c952,_0x2d5ca5=_0x525807[_0x39fdb5(0xb8)],_0x1beb1e=this[_0x39fdb5(0x12e)](_0x2d5ca5);if(!_0x1beb1e)return;const _0x486dc1=_0x1beb1e[_0x39fdb5(0xf8)](_0x39fdb5(0xbc)),_0x4e6c45=_0x486dc1[_0x39fdb5(0x92)](':')[_0x39fdb5(0xdb)]()?.[_0x39fdb5(0x92)]('_')[0x0];this[_0x39fdb5(0x9d)][_0x39fdb5(0xe1)](_0x39fdb5(0xc8),{'markerId':_0x486dc1,'changeId':_0x4e6c45,'markerElement':_0x1beb1e,'domEvent':_0x525807});}),this[_0x50c952(0xbe)][_0x50c952(0x134)](document,_0x50c952(0x130),(_0x358c9a,_0x375f77)=>{const _0x4ee57e=_0x50c952,_0x12fcff=_0x375f77[_0x4ee57e(0xb8)],_0x152fe5=_0x375f77[_0x4ee57e(0xdf)];let _0x5e76d7=this[_0x4ee57e(0x12e)](_0x12fcff);if(!_0x5e76d7&&_0x152fe5&&(_0x5e76d7=this[_0x4ee57e(0x12e)](_0x152fe5)),!_0x5e76d7)return;const _0x40b0a2=_0x5e76d7[_0x4ee57e(0xf8)](_0x4ee57e(0xbc)),_0x3c59a2=_0x40b0a2[_0x4ee57e(0x92)](':')[_0x4ee57e(0xdb)]()?.[_0x4ee57e(0x92)]('_')[0x0];this[_0x4ee57e(0x9d)][_0x4ee57e(0xe1)](_0x4ee57e(0xcd),{'changeId':_0x3c59a2,'markerElement':_0x5e76d7,'domEvent':_0x375f77});}),this[_0x50c952(0xbe)][_0x50c952(0x134)](document,_0x50c952(0x130),_0x2a7890((_0x5403ce,_0x3e2030)=>{const _0x5adca2=_0x50c952,_0x202b54=_0x3e2030[_0x5adca2(0xb8)];if(this[_0x5adca2(0x12e)](_0x202b54))return;_0x202b54[_0x5adca2(0x122)](_0x5adca2(0xec))||this[_0x5adca2(0x9d)][_0x5adca2(0xe1)](_0x5adca2(0x128));},0xc8)),_0x29e7af[_0x50c952(0xd8)][_0x50c952(0x127)][_0x50c952(0x12c)](_0x4eba61=>this[_0x50c952(0x12d)](_0x29e7af,_0x4eba61)),_0x29e7af[_0x50c952(0xd8)][_0x50c952(0x127)]['on'](_0x50c952(0xed),()=>this[_0x50c952(0x83)](_0x29e7af));}[_0xf02703(0x12a)](){const _0xbc23e3=_0xf02703,_0x3fae0f=this[_0xbc23e3(0x8a)][_0xbc23e3(0xb9)][_0xbc23e3(0xaf)](_0xbc23e3(0x119)),_0x5eca67=_0xbaece2(this[_0xbc23e3(0x8a)]),_0x339393=_0x5eca67[_0xbc23e3(0xd8)],_0x295460=new _0x379dd4();for(const _0xe4bcce of _0x339393[_0xbc23e3(0x127)][_0xbc23e3(0x125)]()[_0xbc23e3(0x99)]()){const _0xcd80fd=_0xe4bcce[_0xbc23e3(0x8e)](!0x0);_0x295460[_0xbc23e3(0x167)](_0xcd80fd);}for(const _0x47cb68 of _0x339393[_0xbc23e3(0x8c)])_0x295460[_0xbc23e3(0x8c)][_0xbc23e3(0x86)](_0x47cb68[_0xbc23e3(0xe5)],this[_0xbc23e3(0x16c)](_0x47cb68[_0xbc23e3(0x10c)]()[_0xbc23e3(0x82)](),_0x295460));const _0x4ea4f4=new _0x26515f({'ignoreElementEnd':!0x0,'startPosition':_0x339393[_0xbc23e3(0x144)](_0x295460,0x0)}),_0x58a69f=new Set(),_0x4b4994=new Map();for(const {item:_0xe923ee}of _0x4ea4f4){if(!_0xe923ee['is'](_0xbc23e3(0xf5)))continue;const _0x11aef5=_0xe923ee[_0xbc23e3(0x166)];if(_0x11aef5&&_0x11aef5['is'](_0xbc23e3(0x14a))){const _0x469f30=this[_0xbc23e3(0x8d)](_0x11aef5,()=>_0x3fae0f[_0xbc23e3(0x10e)](_0x58a69f));_0x58a69f[_0xbc23e3(0x140)](_0x469f30);for(const _0x2a406e of _0x11aef5[_0xbc23e3(0x99)]())_0x2a406e['is'](_0xbc23e3(0x14a))&&_0x58a69f[_0xbc23e3(0x140)](this[_0xbc23e3(0x8d)](_0x2a406e,()=>_0x3fae0f[_0xbc23e3(0x10e)](_0x58a69f)));let _0x456184=_0x11aef5;for(;_0x456184[_0xbc23e3(0x166)]&&!_0x456184[_0xbc23e3(0x166)]['is'](_0xbc23e3(0x107));)_0x456184=_0x456184[_0xbc23e3(0x166)],_0x456184[_0xbc23e3(0x145)](_0x25a6c5)&&_0x456184[_0xbc23e3(0x116)](_0x25a6c5);_0x4b4994[_0xbc23e3(0x86)](_0x469f30,{'path':_0x11aef5[_0xbc23e3(0x15c)](),'getContent':this[_0xbc23e3(0x15f)](_0x456184[_0xbc23e3(0x8e)](!0x0),_0x469f30,_0x5eca67[_0xbc23e3(0xe9)])}),_0x4ea4f4[_0xbc23e3(0x87)](_0x339393[_0xbc23e3(0x143)](_0x11aef5));}}return{'content':_0x5eca67[_0xbc23e3(0xe9)][_0xbc23e3(0x126)][_0xbc23e3(0x157)](_0x5eca67[_0xbc23e3(0xe9)][_0xbc23e3(0xa7)](_0x295460)),'version':_0x5eca67[_0xbc23e3(0xd8)][_0xbc23e3(0x127)][_0xbc23e3(0x13f)],'elements':_0x4b4994};}[_0xf02703(0x7f)](_0x597712,_0x353359){const _0x4f1f12=_0xf02703,_0xc8f472=[],_0x571209=_0xbaece2(this[_0x4f1f12(0x8a)]),_0x3a0907=_0x571209[_0x4f1f12(0xe9)][_0x4f1f12(0xd2)](_0x353359,_0x4f1f12(0x100)),_0x4d9ed2=_0x571209[_0x4f1f12(0xe9)][_0x4f1f12(0xd2)](_0x597712,_0x4f1f12(0x100)),_0x33038a=_0x571209[_0x4f1f12(0xd8)][_0x4f1f12(0x144)](_0x4d9ed2,0x0);if(this[_0x4f1f12(0x84)](_0x3a0907)){if(!this[_0x4f1f12(0x9e)](_0x4d9ed2,_0x3a0907))return _0xc8f472;}else{const _0x529cea=_0x571209[_0x4f1f12(0xd8)][_0x4f1f12(0xba)];if(!this[_0x4f1f12(0xb1)](_0x4d9ed2,_0x529cea)||!this[_0x4f1f12(0xb1)](_0x3a0907,_0x529cea))return _0xc8f472;}const _0x3befe1=this[_0x4f1f12(0x8a)][_0x4f1f12(0xb9)][_0x4f1f12(0xaf)](_0x4f1f12(0x14e))[_0x4f1f12(0xe2)](_0x597712,_0x353359,{'anchor':_0x33038a,'markDeletions':!0x0})[_0x4f1f12(0x13a)]()[_0x4f1f12(0x141)](_0x11c148=>_0x4f1f12(0x150)===_0x11c148[_0x4f1f12(0xf1)]||_0x4f1f12(0x142)===_0x11c148[_0x4f1f12(0xf1)]&&_0x11c148[_0x4f1f12(0xe5)][_0x4f1f12(0xa5)](_0x4f1f12(0xc0))),_0x3f18e7=this[_0x4f1f12(0xdd)](_0x3befe1);let _0x1270cd=0x0;return _0x571209[_0x4f1f12(0xd8)][_0x4f1f12(0xed)](_0x5bd2ce=>{const _0x2466f8=_0x4f1f12;for(let _0x16d227=0x0;_0x16d227<_0x3f18e7[_0x2466f8(0x132)];_0x16d227++){const _0x3f9002=_0x3f18e7[_0x16d227],_0x19daff=_0x5bd2ce[_0x2466f8(0xfe)]();for(const _0x38509e of _0x4d9ed2[_0x2466f8(0x99)]())_0x5bd2ce[_0x2466f8(0x12b)](_0x38509e[_0x2466f8(0x8e)](!0x0),_0x19daff);for(const _0x42164b of _0x3f9002[_0x2466f8(0x11a)])if(_0x2466f8(0x150)===_0x42164b[_0x2466f8(0xf1)]){const _0x302b43=_0x42164b;_0x302b43[_0x2466f8(0xe0)]=null,_0x302b43[_0x2466f8(0xab)]=!0x1,this[_0x2466f8(0xaa)](_0x302b43,_0x19daff),_0x5bd2ce[_0x2466f8(0x164)][_0x2466f8(0xe8)](_0x42164b),_0x571209[_0x2466f8(0xd8)][_0x2466f8(0x9f)](_0x42164b);const _0x58440e=_0x2466f8(0xb5)+_0x1270cd++,_0x189e6e=_0x571209[_0x2466f8(0xd8)][_0x2466f8(0x121)](_0x302b43[_0x2466f8(0x135)],_0x302b43[_0x2466f8(0x135)][_0x2466f8(0x124)](_0x302b43[_0x2466f8(0x101)]));_0x19daff[_0x2466f8(0x8c)][_0x2466f8(0x86)](_0x58440e,_0x189e6e);}else{if(_0x2466f8(0x142)===_0x42164b[_0x2466f8(0xf1)]&&_0x42164b[_0x2466f8(0xe5)][_0x2466f8(0xa5)](_0x2466f8(0xc0))){const _0x13e2d0=_0x42164b,_0x11bbf4=_0x2466f8(0xb7)+_0x1270cd++;this[_0x2466f8(0xaa)](_0x13e2d0,_0x19daff),_0x19daff[_0x2466f8(0x8c)][_0x2466f8(0x86)](_0x11bbf4,_0x13e2d0[_0x2466f8(0x131)]);}}const _0x14e8d0=this[_0x2466f8(0x114)](this[_0x2466f8(0xda)](this[_0x2466f8(0x115)](_0x3f9002[_0x2466f8(0x11a)][0x0]),_0x19daff),this[_0x2466f8(0xda)](this[_0x2466f8(0x162)](_0x3f9002[_0x2466f8(0x11a)][_0x3f9002[_0x2466f8(0x11a)][_0x2466f8(0x132)]-0x1]),_0x19daff));_0x19daff[_0x2466f8(0x8c)][_0x2466f8(0x86)](we+_0x2466f8(0x94),new _0x448e38(_0x14e8d0[_0x2466f8(0x106)],_0x14e8d0[_0x2466f8(0x8b)])),_0xc8f472[_0x2466f8(0x169)]({..._0x3f9002,'context':this[_0x2466f8(0xd4)](_0x19daff,_0x571209[_0x2466f8(0xe9)],{'ellipsisBefore':_0x14e8d0[_0x2466f8(0x14d)],'ellipsisAfter':_0x14e8d0[_0x2466f8(0x165)]}),'content':this[_0x2466f8(0x120)](_0x19daff,_0x571209[_0x2466f8(0xe9)])});}}),_0xc8f472;}[_0xf02703(0x97)](_0x3a4f39,_0x430a42){const _0x359075=_0xf02703;if(!_0x3a4f39[_0x359075(0x132)])return;const _0x32d662=_0x3a4f39[0x0][_0x359075(0x166)]['id'],_0x5488e0=_0x430a42[_0x359075(0x104)][_0x359075(0xaf)](_0x32d662);if(!_0x5488e0)return void console[_0x359075(0x13c)](_0x359075(0x118)+_0x32d662);const _0x3c0db6=_0x5488e0[_0x359075(0x105)],_0x7da083=_0xbaece2(this[_0x359075(0x8a)]),_0x5eb4cb=_0x7da083[_0x359075(0xd8)][_0x359075(0x127)][_0x359075(0x159)][_0x359075(0x13a)](_0x430a42[_0x359075(0x13f)]),_0x21314f=[];for(const _0x3ef6aa of _0x3a4f39){const _0x512737=_0x3ef6aa[_0x359075(0x11a)][_0x359075(0xc6)](_0x1ca047=>this[_0x359075(0xa9)](_0x1ca047,_0x3c0db6,_0x7da083[_0x359075(0xd8)][_0x359075(0x127)][_0x359075(0xca)]()[0x0]));if(!_0x512737||!_0x512737[_0x359075(0x132)])continue;const _0x4e3c49=_0x512737[_0x359075(0x10a)](_0x4c2480=>_0x359075(0x142)===_0x4c2480[_0x359075(0xf1)]&&_0x4c2480[_0x359075(0xe5)][_0x359075(0xa5)](_0x359075(0xc0))),_0x5684f3={'document':_0x7da083[_0x359075(0xd8)][_0x359075(0x127)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5424f2=_0x49443f(_0x512737,_0x5eb4cb,_0x5684f3)[_0x359075(0x9c)];for(const _0x2485e2 of _0x5424f2)if(_0x359075(0x150)===_0x2485e2[_0x359075(0xf1)]){const _0x31bc28=_0x2485e2,_0x4d079f=_0x31bc28[_0x359075(0x85)];let _0x40b05b='';for(const _0x2c83ae of _0x4d079f)_0x2c83ae&&_0x2c83ae['is'](_0x359075(0x11f))&&(_0x40b05b+=_0x2c83ae[_0x359075(0xe9)]);_0x21314f[_0x359075(0x169)]({'start':_0x31bc28[_0x359075(0x135)],'end':_0x31bc28[_0x359075(0x135)],'type':_0x359075(0x150),'groupId':_0x3ef6aa['id'],'text':_0x40b05b});}else{if(_0x359075(0x142)===_0x2485e2[_0x359075(0xf1)]&&_0x2485e2[_0x359075(0xe5)][_0x359075(0xa5)](_0x359075(0xc0))){const _0x51dfa2=_0x2485e2;let _0x428bf1=_0x359075(0x11d);if(_0x4e3c49){const _0x5ddd1c=this[_0x359075(0xbd)](_0x51dfa2[_0x359075(0x131)][_0x359075(0x106)],_0x359075(0x9a),_0x7da083[_0x359075(0xd8)][_0x359075(0xba)]),_0x2770fa=this[_0x359075(0xbd)](_0x51dfa2[_0x359075(0x131)][_0x359075(0x8b)],_0x359075(0xce),_0x7da083[_0x359075(0xd8)][_0x359075(0xba)]);if(_0x5ddd1c||_0x2770fa){const _0x4bfd11=_0x51dfa2[_0x359075(0x131)][_0x359075(0x106)][_0x359075(0x124)](-_0x5ddd1c),_0x545fb3=_0x51dfa2[_0x359075(0x131)][_0x359075(0x8b)][_0x359075(0x124)](_0x2770fa);_0x21314f[_0x359075(0x169)]({'start':_0x4bfd11,'end':_0x545fb3,'groupId':_0x3ef6aa['id'],'type':_0x359075(0x133)});}else _0x428bf1=_0x359075(0x152);}_0x21314f[_0x359075(0x169)]({'start':_0x51dfa2[_0x359075(0x131)][_0x359075(0x106)],'end':_0x51dfa2[_0x359075(0x131)][_0x359075(0x8b)],'groupId':_0x3ef6aa['id'],'type':_0x428bf1});}}}this[_0x359075(0xa3)](_0x21314f);}[_0xf02703(0xc5)](){const _0x16bb44=_0xf02703,_0x28cb54=_0xbaece2(this[_0x16bb44(0x8a)]);_0x28cb54[_0x16bb44(0xd8)][_0x16bb44(0xed)](_0x3b8b2c=>{const _0xfdfb9b=_0x16bb44;for(const _0x5d4496 of this[_0xfdfb9b(0xf3)][_0xfdfb9b(0x163)]())_0x28cb54[_0xfdfb9b(0xd8)][_0xfdfb9b(0x8c)][_0xfdfb9b(0xaf)](_0x5d4496)&&_0x3b8b2c[_0xfdfb9b(0x148)](_0x5d4496);}),this[_0x16bb44(0xf3)][_0x16bb44(0x160)]();}[_0xf02703(0x110)](){const _0x3d3b61=_0xf02703;_0xbaece2(this[_0x3d3b61(0x8a)])[_0x3d3b61(0xcf)](_0x3d3b61(0xa6));}[_0xf02703(0x174)](){const _0x311532=_0xf02703;_0xbaece2(this[_0x311532(0x8a)])[_0x311532(0xf9)](_0x311532(0xa6));}[_0xf02703(0xff)](_0x249dd5){const _0x125d28=_0xf02703,_0x491ae1=_0xbaece2(this[_0x125d28(0x8a)]),_0x5c07cd=_0x491ae1[_0x125d28(0xd8)],_0x22f5e2=_0x249dd5[_0x125d28(0xc6)](_0x224b22=>this[_0x125d28(0x90)](_0x224b22))[_0x125d28(0x156)]();_0x5c07cd[_0x125d28(0xed)](_0x34fce8=>{const _0x1c4e27=_0x125d28;for(const _0x44312e of _0x22f5e2){const _0x5ead91=_0x491ae1[_0x1c4e27(0xd8)][_0x1c4e27(0x8c)][_0x1c4e27(0xaf)](_0x44312e['id']);_0x5ead91&&(_0x1c4e27(0x150)===_0x44312e[_0x1c4e27(0xf1)]?_0x5c07cd[_0x1c4e27(0x10d)](_0x34fce8[_0x1c4e27(0xe7)](_0x44312e[_0x1c4e27(0x14c)]||''),_0x5ead91[_0x1c4e27(0x10c)]()[_0x1c4e27(0x106)]):_0x1c4e27(0x11d)!==_0x44312e[_0x1c4e27(0xf1)]&&_0x1c4e27(0x152)!==_0x44312e[_0x1c4e27(0xf1)]||_0x5c07cd[_0x1c4e27(0x11c)](_0x5c07cd[_0x1c4e27(0x158)](_0x5ead91[_0x1c4e27(0x10c)]())),_0x34fce8[_0x1c4e27(0x148)](_0x44312e['id']),this[_0x1c4e27(0xf3)][_0x1c4e27(0xfa)](_0x44312e['id']));}});}[_0xf02703(0x173)](_0x12ba49){const _0x3d3ad9=_0xf02703,_0x4f1ad3=_0xbaece2(this[_0x3d3ad9(0x8a)]),_0x42e95e=this[_0x3d3ad9(0x90)](_0x12ba49);_0x4f1ad3[_0x3d3ad9(0xd8)][_0x3d3ad9(0xed)](_0xaab591=>{const _0x22f2b1=_0x3d3ad9;for(const _0x22461c of _0x42e95e)_0xaab591[_0x22f2b1(0x148)](_0x22461c['id']),this[_0x22f2b1(0xf3)][_0x22f2b1(0xfa)](_0x22461c['id']);});}[_0xf02703(0x15d)](){const _0x4d974e=_0xf02703;return _0xbaece2(this[_0x4d974e(0x8a)]);}[_0xf02703(0x168)](_0xb1902d){const _0x55ec58=_0xf02703,_0x5e6f52=Array[_0x55ec58(0xb3)](this[_0x55ec58(0xf3)][_0x55ec58(0xfc)]())[_0x55ec58(0x141)](_0x5b64b7=>_0x5b64b7[_0x55ec58(0xc9)]===_0xb1902d);if(!_0x5e6f52[_0x55ec58(0x132)])return null;const _0x18937f=0x1===_0x5e6f52[_0x55ec58(0x132)]?_0x5e6f52[0x0]:this[_0x55ec58(0xf6)](_0x5e6f52)[0x0],_0x4919ed=_0xbaece2(this[_0x55ec58(0x8a)]),_0x343547=_0x4919ed[_0x55ec58(0xd8)][_0x55ec58(0x8c)][_0x55ec58(0xaf)](_0x18937f['id']);if(!_0x343547)return null;const _0x1184ac=_0x343547[_0x55ec58(0x10c)](),_0x56d306=_0x4919ed[_0x55ec58(0xb0)][_0x55ec58(0x13b)][_0x55ec58(0xdc)]();if(!_0x56d306||!_0x1184ac)return null;const _0x1977ed=_0x56d306[_0x55ec58(0x8f)](_0x55ec58(0x138)+_0x18937f['id']+'\x22]');return _0x1977ed?{'modelRange':_0x1184ac,'domElement':_0x1977ed}:null;}[_0xf02703(0x12d)](_0x5292c0,_0x91a759){const _0xbfd1ee=_0xf02703,_0x1d7c91=Array[_0xbfd1ee(0xb3)](this[_0xbfd1ee(0xf3)][_0xbfd1ee(0x163)]()),_0x298994=new Map();for(const _0x1ca6bf of _0x1d7c91){const _0x2e61fa=_0x5292c0[_0xbfd1ee(0xd8)][_0xbfd1ee(0x8c)][_0xbfd1ee(0xaf)](_0x1ca6bf);if(!_0x2e61fa)continue;const _0x58d158=_0x2e61fa[_0xbfd1ee(0xf0)]()[_0xbfd1ee(0x105)][0x0];_0x298994[_0xbfd1ee(0xbb)](_0x58d158)||_0x298994[_0xbfd1ee(0x86)](_0x58d158,[]),_0x298994[_0xbfd1ee(0xaf)](_0x58d158)[_0xbfd1ee(0x169)](_0x2e61fa);}const _0x4f78d5=new Set();for(const _0x30b90c of _0x5292c0[_0xbfd1ee(0xd8)][_0xbfd1ee(0x127)][_0xbfd1ee(0xd6)][_0xbfd1ee(0xea)]()){let _0x23794c=-0x1,_0x26a588=null;if(_0xbfd1ee(0x150)===_0x30b90c[_0xbfd1ee(0xf1)])_0x26a588=new _0x448e38(_0x30b90c[_0xbfd1ee(0x135)],_0x30b90c[_0xbfd1ee(0x135)][_0xbfd1ee(0x124)](_0x30b90c[_0xbfd1ee(0x132)])),_0x23794c=_0x30b90c[_0xbfd1ee(0x135)][_0xbfd1ee(0x105)][0x0];else{if(_0xbfd1ee(0xfb)!==_0x30b90c[_0xbfd1ee(0xf1)])continue;_0x26a588=new _0x448e38(_0x30b90c[_0xbfd1ee(0x135)]),_0x23794c=_0x30b90c[_0xbfd1ee(0x135)][_0xbfd1ee(0x105)][0x0];}const _0x2179f5=_0x298994[_0xbfd1ee(0xaf)](_0x23794c)||[];if(_0x2179f5[_0xbfd1ee(0x132)]){for(const _0x2c9f23 of _0x2179f5)if(_0x26a588[_0xbfd1ee(0x117)][_0xbfd1ee(0xc3)]===_0x2c9f23[_0xbfd1ee(0x10c)]()[_0xbfd1ee(0x117)][_0xbfd1ee(0xc3)]&&(_0xbfd1ee(0x150)!==_0x30b90c[_0xbfd1ee(0xf1)]||!_0x26a588[_0xbfd1ee(0x81)](_0x2c9f23[_0xbfd1ee(0x10c)]()))&&(_0x26a588[_0xbfd1ee(0xcb)](_0x2c9f23[_0xbfd1ee(0x10c)]())||_0x26a588[_0xbfd1ee(0x106)][_0xbfd1ee(0xeb)](_0x2c9f23[_0xbfd1ee(0x10c)]()[_0xbfd1ee(0x8b)])||_0x26a588[_0xbfd1ee(0x8b)][_0xbfd1ee(0xeb)](_0x2c9f23[_0xbfd1ee(0x10c)]()[_0xbfd1ee(0x106)]))){const _0x50fe94=this[_0xbfd1ee(0xc7)](_0x2c9f23[_0xbfd1ee(0xe5)]);Array[_0xbfd1ee(0xb3)](this[_0xbfd1ee(0xf3)][_0xbfd1ee(0xfc)]())[_0xbfd1ee(0x141)](_0x7984bc=>_0x7984bc[_0xbfd1ee(0xc9)]===_0x50fe94[_0xbfd1ee(0xc9)])[_0xbfd1ee(0x113)](_0x437685=>_0x4f78d5[_0xbfd1ee(0x140)](_0x437685['id']));}}}if(_0x4f78d5[_0xbfd1ee(0x93)]){for(const _0x2e0def of _0x4f78d5)_0x91a759[_0xbfd1ee(0x148)](_0x2e0def);return!0x0;}return!0x1;}[_0xf02703(0x83)](_0x5bec94){const _0x4a2598=_0xf02703;for(const {name:_0x438780,data:_0x451b89}of _0x5bec94[_0x4a2598(0xd8)][_0x4a2598(0x127)][_0x4a2598(0xd6)][_0x4a2598(0xa2)]()){if(!_0x438780[_0x4a2598(0xa5)](we))continue;const _0x5ab5de=_0x451b89[_0x4a2598(0xd5)],_0x1328e7=_0x451b89[_0x4a2598(0x131)],_0x4659a2=_0x5ab5de&&_0x4a2598(0x12f)===_0x5ab5de[_0x4a2598(0x117)][_0x4a2598(0xc3)],_0x2df155=_0x1328e7&&_0x4a2598(0x12f)===_0x1328e7[_0x4a2598(0x117)][_0x4a2598(0xc3)];if(_0x4659a2&&_0x2df155)continue;const _0x111190=this[_0x4a2598(0xc7)](_0x438780);this[_0x4a2598(0xf3)][_0x4a2598(0xaf)](_0x438780)&&(_0x2df155||!_0x1328e7?this[_0x4a2598(0x9d)][_0x4a2598(0xe1)](_0x4a2598(0x89),{'markerId':_0x438780,'changeId':_0x111190[_0x4a2598(0xc9)]}):_0x4659a2&&_0x1328e7&&this[_0x4a2598(0x9d)][_0x4a2598(0xe1)](_0x4a2598(0x13d),{'markerId':_0x438780,'changeId':_0x111190[_0x4a2598(0xc9)]}));}}[_0xf02703(0xc7)](_0x25c579){const _0x4dfaef=_0xf02703,_0x3c60f9=_0x25c579[_0x4dfaef(0x92)](':'),_0x4a6729=(_0x3c60f9[0x1]||'')[_0x4dfaef(0x92)]('_');return{'prefix':_0x3c60f9[0x0],'groupId':_0x4a6729[0x0],'suffix':_0x4a6729[0x1]};}[_0xf02703(0xa9)](_0x3f1381,_0x4439ff,_0x285bc9){const _0xcc802c=_0xf02703;if(_0xcc802c(0x150)===_0x3f1381[_0xcc802c(0xf1)]){const _0x4dff76=_0x3f1381;return new _0x9e02ab(this[_0xcc802c(0x109)](_0x4439ff[_0xcc802c(0xa8)](_0x4dff76[_0xcc802c(0x135)][_0xcc802c(0xd9)]),_0x285bc9),_0x4dff76[_0xcc802c(0x85)],_0x4dff76[_0xcc802c(0xe0)]);}if(_0xcc802c(0x142)===_0x3f1381[_0xcc802c(0xf1)]&&_0x3f1381[_0xcc802c(0xe5)][_0xcc802c(0xa5)](_0xcc802c(0xc0))){const _0x3c4ad2=_0x3f1381;return new _0x58306e(_0x3c4ad2[_0xcc802c(0xe5)],_0x3c4ad2[_0xcc802c(0xd5)],this[_0xcc802c(0x11e)](_0x3c4ad2[_0xcc802c(0x131)],_0x4439ff[_0xcc802c(0xa8)](_0x3c4ad2[_0xcc802c(0x131)][_0xcc802c(0x106)][_0xcc802c(0xd9)]),_0x4439ff[_0xcc802c(0xa8)](_0x3c4ad2[_0xcc802c(0x131)][_0xcc802c(0x8b)][_0xcc802c(0xd9)]),_0x285bc9),_0x3c4ad2[_0xcc802c(0xf3)],_0x3c4ad2[_0xcc802c(0x146)],_0x3c4ad2[_0xcc802c(0xe0)]);}return _0x3f1381;}[_0xf02703(0xdd)](_0x30b031){const _0x3fadbc=_0xf02703;if(!_0x30b031[_0x3fadbc(0x132)])return[];const _0x2f62ba=[];let _0x4c23ee=0x0,_0x2511df=0x0,_0x422c1a=[];for(let _0x50284c=0x0;_0x50284c<=_0x30b031[_0x3fadbc(0x132)];_0x50284c++){const _0x565ac6=_0x30b031[_0x50284c],_0x3c8df1=_0x30b031[_0x50284c-0x1];!_0x565ac6||_0x3c8df1&&!this[_0x3fadbc(0x162)](_0x3c8df1)[_0x3fadbc(0xeb)](this[_0x3fadbc(0x115)](_0x565ac6))?(_0x2f62ba[_0x3fadbc(0x169)]({'operations':_0x422c1a,'operationsIsolated':_0x422c1a[_0x3fadbc(0xc6)](_0xb31fd2=>this[_0x3fadbc(0x16d)](_0xb31fd2[_0x3fadbc(0x82)](),-_0x2511df)),'groupOffset':_0x4c23ee}),_0x422c1a=_0x565ac6?[_0x565ac6]:[],_0x2511df+=_0x4c23ee,_0x4c23ee=0x0):_0x422c1a[_0x3fadbc(0x169)](_0x565ac6),_0x565ac6&&_0x3fadbc(0x150)===_0x565ac6[_0x3fadbc(0xf1)]&&(_0x4c23ee+=_0x565ac6[_0x3fadbc(0x101)]);}return _0x2f62ba;}[_0xf02703(0xbd)](_0x3e52e9,_0x3c5e83,_0x185572,_0x49731f=0x1){const _0x463559=_0xf02703,_0x1ae5cb=new _0x26515f({'startPosition':_0x3e52e9,'direction':_0x3c5e83});let _0x3d9db8=0x0;for(let _0x1045ce=0x0;_0x1045ce<_0x49731f;_0x1045ce++){let _0x17eb1c=0x0,_0x261f56=!0x1,_0xd602c3=_0x463559(0xce)===_0x3c5e83?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xfdd4f2}of _0x1ae5cb)if(_0xfdd4f2['is'](_0x463559(0xf5))){const _0x55da7d=_0xd602c3[_0x463559(0x172)](_0xfdd4f2[_0x463559(0xe9)]);if(_0x55da7d&&_0x55da7d[_0x463559(0x132)]){if(_0x17eb1c+=_0x463559(0xce)===_0x3c5e83?_0x55da7d[_0x463559(0xf4)]+_0x55da7d[0x0][_0x463559(0x132)]:_0xfdd4f2[_0x463559(0xe9)][_0x463559(0x132)]-_0x55da7d[_0x463559(0xf4)],_0x55da7d[0x0][_0x463559(0x132)]!==_0xfdd4f2[_0x463559(0xe9)][_0x463559(0x132)])break;_0x261f56=!0x0,_0xd602c3=_0x463559(0xce)===_0x3c5e83?/^\w+/:/\w+$/;}else{if(_0x261f56)break;_0x17eb1c+=_0xfdd4f2[_0x463559(0xc1)];}}else{if(_0xfdd4f2['is'](_0x463559(0x14a))){_0x185572[_0x463559(0x7e)](_0xfdd4f2)&&!_0x261f56&&(_0x17eb1c+=0x1);break;}}_0x3d9db8+=_0x17eb1c,_0x1ae5cb[_0x463559(0x87)](_0x3e52e9[_0x463559(0x124)](_0x463559(0xce)===_0x3c5e83?_0x3d9db8:-_0x3d9db8));}return _0x3d9db8;}[_0xf02703(0x114)](_0x239ada,_0x470af0){const _0x39f9aa=_0xf02703,_0x12d1fb=_0xbaece2(this[_0x39f9aa(0x8a)])[_0x39f9aa(0xd8)][_0x39f9aa(0xba)],_0x47e867=this[_0x39f9aa(0xbd)](_0x239ada,_0x39f9aa(0x9a),_0x12d1fb,0x6),_0x391763=this[_0x39f9aa(0xbd)](_0x470af0,_0x39f9aa(0xce),_0x12d1fb,0x6),_0xd7e3bf=_0x239ada[_0x39f9aa(0x124)](-_0x47e867),_0x1ecb1d=_0x470af0[_0x39f9aa(0x124)](_0x391763);return{'start':_0xd7e3bf,'end':_0x1ecb1d,'hasContentBefore':!_0xd7e3bf[_0x39f9aa(0x155)],'hasContentAfter':!_0x1ecb1d[_0x39f9aa(0x98)]};}[_0xf02703(0xa3)](_0x4978bd){const _0x17c72b=_0xf02703,_0x594d7c=this[_0x17c72b(0x8a)][_0x17c72b(0xb9)][_0x17c72b(0xaf)](_0x17c72b(0x119)),_0x59d915=new Set();_0xbaece2(this[_0x17c72b(0x8a)])[_0x17c72b(0xd8)][_0x17c72b(0xed)](_0x26d56e=>{const _0x3d38c1=_0x17c72b;for(const _0x244b93 of _0x4978bd){const _0x180f93=''+we+_0x244b93[_0x3d38c1(0xf1)]+':'+_0x244b93[_0x3d38c1(0xc9)]+'_'+_0x594d7c[_0x3d38c1(0x10e)](_0x59d915);this[_0x3d38c1(0xf3)][_0x3d38c1(0x86)](_0x180f93,{'id':_0x180f93,'groupId':_0x244b93[_0x3d38c1(0xc9)],'type':_0x244b93[_0x3d38c1(0xf1)],'text':_0x244b93[_0x3d38c1(0x14c)]}),_0x26d56e[_0x3d38c1(0xd7)](_0x180f93,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x26d56e[_0x3d38c1(0x121)](_0x244b93[_0x3d38c1(0x106)],_0x244b93[_0x3d38c1(0x8b)])});}});}[_0xf02703(0xd4)](_0x3a2b46,_0xca4985,_0x4e1f2b){let _0x133d8b='';return()=>{const _0x44aa09=_0x4671;if(!_0x133d8b){const _0x48e862=_0xca4985[_0x44aa09(0xa7)](_0x3a2b46,{'showSuggestionHighlights':!0x0});let _0x5c896f=_0x48e862[_0x44aa09(0xde)](0x0);if(_0x5c896f['is'](_0x44aa09(0x91))||(_0x5c896f=_0x48e862),!_0x5c896f)return'';let _0x427589=!0x1;const _0x2e3a3d=[];for(const _0x31cbf2 of _0x5c896f[_0x44aa09(0x99)]())_0x31cbf2['is'](_0x44aa09(0x14a),_0x44aa09(0x161))&&_0x31cbf2[_0x44aa09(0x136)](_0x44aa09(0xa0))&&(_0x427589=!0x1),_0x427589&&_0x2e3a3d[_0x44aa09(0x169)](_0x31cbf2),_0x31cbf2['is'](_0x44aa09(0x14a),_0x44aa09(0x161))&&_0x31cbf2[_0x44aa09(0x136)](_0x44aa09(0xd3))&&(_0x427589=!0x0);_0x5c896f[_0x44aa09(0xe4)](0x0,_0x5c896f[_0x44aa09(0x15a)]),_0x4e1f2b?.[_0x44aa09(0x112)]&&_0x5c896f[_0x44aa09(0x167)]('…'),_0x5c896f[_0x44aa09(0x167)](_0x2e3a3d),_0x4e1f2b?.[_0x44aa09(0xb2)]&&_0x5c896f[_0x44aa09(0x167)]('…');const _0x10f389=_0xca4985[_0x44aa09(0xd0)][_0x44aa09(0x111)][_0x44aa09(0x129)](_0x48e862),_0x1d3564=_0xca4985[_0x44aa09(0xd0)][_0x44aa09(0x153)][_0x44aa09(0x15e)](_0x10f389);_0x133d8b=_0x1d3564;}return _0x133d8b;};}[_0xf02703(0x120)](_0x500e67,_0x2ef36b){const _0x29b5a9=_0xf02703;let _0x23dd6a='';return()=>(_0x23dd6a||(_0x23dd6a=_0x2ef36b[_0x29b5a9(0xbf)](_0x500e67,{'showSuggestionHighlights':!0x0})),_0x23dd6a);}[_0xf02703(0x15f)](_0x9cf98c,_0x5557f5,_0x5bd21a){let _0x558dd6='';return()=>{const _0x52734f=_0x4671;if(!_0x558dd6){const _0x337515=_0x5bd21a[_0x52734f(0xa7)](new _0x379dd4(_0x9cf98c)),_0x2f1a5a=_0x5bd21a[_0x52734f(0xd0)][_0x52734f(0x111)][_0x52734f(0x129)](_0x337515)[_0x52734f(0x8f)](_0x52734f(0x171)+_0x5557f5+'\x22]');_0x558dd6=_0x2f1a5a?.[_0x52734f(0xcc)]||'';}return _0x558dd6;};}[_0xf02703(0x12e)](_0x1bde24,_0x3928b3=0x5){const _0xa248e0=_0xf02703;let _0x52beab=_0x1bde24,_0x50f6a2=null;for(let _0x1aba60=0x0;_0x1aba60<_0x3928b3&&_0x52beab;_0x1aba60++){if(!_0x52beab[_0xa248e0(0x14b)]){_0x52beab=_0x52beab[_0xa248e0(0xa4)];continue;}if(!(''+_0x52beab[_0xa248e0(0x14b)])[_0xa248e0(0x137)](_0xa248e0(0x13e))){_0x52beab=_0x52beab[_0xa248e0(0xa4)];continue;}if(!_0x52beab[_0xa248e0(0xf8)](_0xa248e0(0xbc)))break;_0x50f6a2=_0x52beab;break;}return _0x50f6a2;}[_0xf02703(0x90)](_0x2781bd){const _0x2cd8fe=_0xf02703;return Array[_0x2cd8fe(0xb3)](this[_0x2cd8fe(0xf3)][_0x2cd8fe(0xfc)]())[_0x2cd8fe(0x141)](_0x20054f=>_0x20054f[_0x2cd8fe(0xc9)]===_0x2781bd);}[_0xf02703(0x115)](_0x41df34){const _0x4d47ee=_0xf02703;return _0x4d47ee(0x150)===_0x41df34[_0x4d47ee(0xf1)]?_0x41df34[_0x4d47ee(0x135)]:_0x41df34[_0x4d47ee(0x131)][_0x4d47ee(0x106)];}[_0xf02703(0x162)](_0x40d678,_0x2ccb2d=!0x1){const _0x108fa4=_0xf02703;return _0x108fa4(0x150)===_0x40d678[_0x108fa4(0xf1)]?_0x2ccb2d?_0x40d678[_0x108fa4(0x135)]:_0x40d678[_0x108fa4(0x135)][_0x108fa4(0x124)](_0x40d678[_0x108fa4(0x101)]):_0x40d678[_0x108fa4(0x131)][_0x108fa4(0x8b)];}[_0xf02703(0x16d)](_0xcba763,_0x38648a){const _0x2acce1=_0xf02703;return _0x2acce1(0x150)===_0xcba763[_0x2acce1(0xf1)]?_0xcba763[_0x2acce1(0x135)]=_0xcba763[_0x2acce1(0x135)][_0x2acce1(0x124)](_0x38648a):_0x2acce1(0x142)===_0xcba763[_0x2acce1(0xf1)]&&_0xcba763[_0x2acce1(0x131)]&&(_0xcba763[_0x2acce1(0x131)]=new _0x448e38(_0xcba763[_0x2acce1(0x131)][_0x2acce1(0x106)][_0x2acce1(0x124)](_0x38648a),_0xcba763[_0x2acce1(0x131)][_0x2acce1(0x8b)][_0x2acce1(0x124)](_0x38648a))),_0xcba763;}[_0xf02703(0xaa)](_0x3fb8cd,_0x4630fd){const _0x17cc76=_0xf02703;_0x17cc76(0x150)===_0x3fb8cd[_0x17cc76(0xf1)]?_0x3fb8cd[_0x17cc76(0x135)]=this[_0x17cc76(0xda)](_0x3fb8cd[_0x17cc76(0x135)],_0x4630fd):_0x17cc76(0x142)===_0x3fb8cd[_0x17cc76(0xf1)]&&_0x3fb8cd[_0x17cc76(0x131)]&&(_0x3fb8cd[_0x17cc76(0x131)]=this[_0x17cc76(0x16c)](_0x3fb8cd[_0x17cc76(0x131)],_0x4630fd));}[_0xf02703(0xda)](_0x943e92,_0x1099fa){const _0x4008df=_0xf02703;return new _0x110ede(_0x1099fa,_0x943e92[_0x4008df(0x105)]);}[_0xf02703(0x16c)](_0x471a7b,_0x3ce4d0){const _0x55ac06=_0xf02703;return new _0x448e38(this[_0x55ac06(0xda)](_0x471a7b[_0x55ac06(0x106)],_0x3ce4d0),this[_0x55ac06(0xda)](_0x471a7b[_0x55ac06(0x8b)],_0x3ce4d0));}[_0xf02703(0x109)](_0x4a9cc0,_0x1df838){return new _0x110ede(_0x1df838,[..._0x4a9cc0]);}[_0xf02703(0x11e)](_0x12d84f,_0x28d58d,_0x21abf5,_0x340174){const _0x2cda45=_0xf02703;return new _0x448e38(this[_0x2cda45(0x109)](_0x28d58d,_0x340174),this[_0x2cda45(0x109)](_0x21abf5,_0x340174));}[_0xf02703(0xf6)](_0x34386f){const _0x2bc65f=_0xf02703,_0x45e4cb=_0x19a0be=>{const _0x5441af=_0x4671;switch(_0x19a0be){case _0x5441af(0x150):return 0x1;case _0x5441af(0x133):return 0x2;case _0x5441af(0x152):return 0x3;case _0x5441af(0x11d):return 0x4;}};return _0x34386f[_0x2bc65f(0x16a)]((_0x3a8dd8,_0x401c1e)=>_0x45e4cb(_0x3a8dd8[_0x2bc65f(0xf1)])-_0x45e4cb(_0x401c1e[_0x2bc65f(0xf1)]));}[_0xf02703(0x9e)](_0x2c6524,_0x472753){const _0x1c9fbb=_0xf02703,_0xc8c862=_0x2c6524[_0x1c9fbb(0xde)](0x0),_0x12e60e=_0x472753[_0x1c9fbb(0xde)](0x0);return!(!_0xc8c862||!_0x12e60e)&&((!_0xc8c862['is'](_0x1c9fbb(0x14a))||!_0x12e60e['is'](_0x1c9fbb(0x14a))||_0xc8c862[_0x1c9fbb(0xe5)]===_0x12e60e[_0x1c9fbb(0xe5)])&&!(_0xc8c862['is'](_0x1c9fbb(0x14a))&&!_0x12e60e['is'](_0x1c9fbb(0x14a))||!_0xc8c862['is'](_0x1c9fbb(0x14a))&&_0x12e60e['is'](_0x1c9fbb(0x14a))));}[_0xf02703(0x84)](_0x55a0d3){const _0x5061a3=_0xf02703;return 0x1===_0x55a0d3[_0x5061a3(0x15a)];}[_0xf02703(0xb1)](_0xf7db8b,_0x590aed){const _0x179bbe=_0xf02703;for(const _0x6db54f of _0xf7db8b[_0x179bbe(0x99)]())if(_0x6db54f['is'](_0x179bbe(0x14a))&&!_0x590aed[_0x179bbe(0x7e)](_0x6db54f))return!0x1;return!0x0;}[_0xf02703(0x8d)](_0x4e46f6,_0x329ac0){const _0x30b7ba=_0xf02703;let _0x2ad248=_0x4e46f6[_0x30b7ba(0xf8)](_0x25a6c5);return _0x2ad248||(_0x2ad248=_0x329ac0(),_0x4e46f6[_0x30b7ba(0xe3)](_0x25a6c5,_0x2ad248)),_0x2ad248;}}
|
|
23
|
+
function _0x3818(){const _0x220682=['createText','[data-marker-id=\x22','isInline','_hasSameTopLevelElement','listenTo','_removeAttribute','getDiff','mouseover','ellipsisAfter','1341324PRLUDP','suggestion:insertion:id:authorId:','howMany','_changePositionOwnerDocument','_groupAdjacentOperations','getStart','_domEmitter','10425765BGjLXX','querySelector','dataDowncast','markerName','hasContentAfter','clone','_removeChildren','_getOperationEnd','every','_changeOperationOwnerDocument','viewToDom','ck-ai_review-mode-marker_add','start','_getMarkersDataForGroup','_shiftOperation','exec','_getOperationStart','model','ck-ai_review-mode-marker_underline','forEach','_createGetContentUsingDataIdFn','_nextDataId','baseVersion','_setAttribute','markChangePositionInEditorContent','getRoot','_findMarkerElement','isAtEnd','isIntersecting','history','values','26200vdgkcV','switchToEdit','data-marker-id','_parseMarkerName','remove-text','forward','insert','getPath','_changeRange','push','remove','_changePosition','createDocumentFragment','ck-ai_review-mode-marker_context-','diffContent','hasAttribute','editing','96682EEzpnh','delete','view','differ','map','ck-ai_review-mode-marker_context-end','clearAllMarkers','remove-context','innerHTML','root','_findAdjacentContextDistance','end','_insertMarkers','element','change','add','deleteContent','reviewmode-','nodes','changeMarkerClick','suggestion-context','isPremiumPlugin','startsWith','newRange','hasContentBefore','split','length','ck-ai_review-mode-marker_','5166884FIEMNL','getOperations','getDocumentData','stringify','getHtml','model:$text','createRawElement','_translateOperationToEditorContent','getChildren','editingDowncast','ck-ai_review-mode-marker_hide','getRoots','addMarker','className','keys','111lcqqLd','78AiFIQc','warn','_eventEmitter','includes','disableReadOnlyMode','addOperation','markerToElement','containsRange','fire','$textProxy','removeMarker','parse','insertContent','No\x20element\x20found\x20for\x20ID:\x20','conversion','createPositionAt','7461UIYzJv','_clone','_validateMarkers','_sortMarkers','parentElement','groupId','_appendChild','name','applyOperation','document','htmlWriter','flat','markers','_createGetContextFn','416895UeNFjV','getChanges','createRange','elements','applyChange','text','pop','closest','processor','_haveOnlyInlineContent','registerPostFixer','append','documentFragment','[data-id=\x22','backward','_upsertDataId','offset','suggestion:deletion:id:authorId:','concat','createUIElement','childCount','remove-only','htmlProcessor','afterInit','getAttribute','_getChangeContext','getDomRoot','position','_createGetContentFn','ck-ai_review-mode-marker_strikethrough','hasClass','get','isOpening','outerHTML','$documentFragment','getChangedMarkers','_handleMarkerChanges','getEditor','rejectChange','operationsA','index','9208JYNIbL','AIEditing','affectsData','version','changeMarkerBlurred','createSelection','filter','toData','clear','type','context','isAtStart','parent','ai-review-mode','offsetSize','changeMarkerRemoved','span','data','changeMarkerHovered','toView','getMarkerElementForChange','marker','toDomElement','AIReviewModeEditing','relatedTarget','$markedRemove','emitter','target','batch','operationsIsolated','isOfficialPlugin','DocumentCompare','path','domConverter','rootName','switchToReadOnly','ellipsisBefore','getShiftedBy','enableReadOnlyMode','for','sort','oldRange','plugins','getRange','_haveSingleTopLevelElement','click','set','_markers','2222nueErs','pluginName','requires','from','jumpTo','schema','attributeToAttribute','changeMarkerRestored','ck-ai_review-mode-marker_context-start','_changeRangeOwnerDocument','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','markerToHighlight','isDocumentOperation','isTouching','containerElement','size','downcast','createPositionAfter','getChild','$graveyard','has'];_0x3818=function(){return _0x220682;};return _0x3818();}const _0x195745=_0x3aac;function _0x3aac(_0x34ab5c,_0x42312c){const _0x3818ef=_0x3818();return _0x3aac=function(_0x3aac09,_0x502141){_0x3aac09=_0x3aac09-0x14c;let _0x25c67c=_0x3818ef[_0x3aac09];return _0x25c67c;},_0x3aac(_0x34ab5c,_0x42312c);}(function(_0x5df552,_0x52f6d3){const _0x21ac6a=_0x3aac,_0x392d81=_0x5df552();while(!![]){try{const _0x256c70=-parseInt(_0x21ac6a(0x17f))/0x1+-parseInt(_0x21ac6a(0x1b6))/0x2*(-parseInt(_0x21ac6a(0x1e1))/0x3)+parseInt(_0x21ac6a(0x1d2))/0x4+parseInt(_0x21ac6a(0x200))/0x5*(parseInt(_0x21ac6a(0x1e2))/0x6)+-parseInt(_0x21ac6a(0x186))/0x7+-parseInt(_0x21ac6a(0x229))/0x8*(parseInt(_0x21ac6a(0x1f2))/0x9)+parseInt(_0x21ac6a(0x1a5))/0xa*(parseInt(_0x21ac6a(0x161))/0xb);if(_0x256c70===_0x52f6d3)break;else _0x392d81['push'](_0x392d81['shift']());}catch(_0xc4fb23){_0x392d81['push'](_0x392d81['shift']());}}}(_0x3818,0xddd3f));import{InsertOperation as _0x136907,MarkerOperation as _0xb9f64e,ModelDocumentFragment as _0xf8f223,ModelPosition as _0x20cfa2,ModelRange as _0x3cbfe2,ModelTreeWalker as _0x142737,transformOperationSets as _0x21c2b7}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x23cf40,EmitterMixin as _0x513548}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5a8ae3}from'ckeditor5/src/core.js';import{DocumentCompare as _0x2775c9,DATA_ID_MODEL_ATTRIBUTE as _0x1022f4,DATA_ID_VIEW_ATTRIBUTE as _0x27eefc}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x4532a2}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x484e39}from'../aicore/aiediting.js';import{debounce as _0x37eadb}from'es-toolkit/compat';const le=_0x195745(0x1c7);export class AIReviewModeEditing extends _0x5a8ae3{static get[_0x195745(0x162)](){const _0x4098e0=_0x195745;return _0x4098e0(0x240);}static get[_0x195745(0x163)](){return[_0x2775c9,_0x484e39];}static get[_0x195745(0x14f)](){return!0x0;}static get[_0x195745(0x1cb)](){return!0x0;}[_0x195745(0x160)]=new Map();[_0x195745(0x185)];[_0x195745(0x1e4)];constructor(_0x11e138){const _0x26068f=_0x195745;super(_0x11e138),this[_0x26068f(0x185)]=new(_0x23cf40())(),this[_0x26068f(0x1e4)]=new(_0x513548())();}get[_0x195745(0x243)](){const _0x13c0ba=_0x195745;return this[_0x13c0ba(0x1e4)];}[_0x195745(0x217)](){const _0x18de65=_0x195745,_0x2e766e=_0x4532a2(this[_0x18de65(0x233)]);_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x1db))[_0x18de65(0x1e8)]({'model':le+_0x18de65(0x1ab),'view':(_0x17a6df,{writer:_0x2de06f})=>{const _0x764b28=_0x18de65,_0x2afc30=this[_0x764b28(0x160)][_0x764b28(0x21f)](_0x17a6df[_0x764b28(0x189)]),_0x3da636={'class':_0x764b28(0x191),'data-marker-id':_0x17a6df[_0x764b28(0x189)]};return _0x2de06f[_0x764b28(0x213)](_0x764b28(0x239),_0x3da636,function(_0x3c36bf){const _0x42c3c0=_0x764b28,_0x16b758=this[_0x42c3c0(0x23f)](_0x3c36bf);return _0x16b758[_0x42c3c0(0x1be)]=_0x2afc30?.[_0x42c3c0(0x205)]||'',_0x16b758;});}}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x1db))[_0x18de65(0x16c)]({'model':le+_0x18de65(0x215),'view':_0x3f950e=>({'classes':_0x18de65(0x21d),'attributes':{'data-marker-id':_0x3f950e[_0x18de65(0x189)]}})}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x1db))[_0x18de65(0x16c)]({'model':le+_0x18de65(0x1bd),'view':_0x596215=>({'classes':_0x18de65(0x198),'attributes':{'data-marker-id':_0x596215[_0x18de65(0x189)]}})}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x1db))[_0x18de65(0x16c)]({'model':le+_0x18de65(0x1a9),'view':_0x1fed4f=>({'classes':_0x18de65(0x1dc),'attributes':{'data-marker-id':_0x1fed4f[_0x18de65(0x189)]}})}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x188))[_0x18de65(0x1e8)]({'model':le+_0x18de65(0x1ca),'view':(_0x429681,{writer:_0x459f01})=>_0x459f01[_0x18de65(0x1d8)](_0x18de65(0x239),{'class':_0x18de65(0x1b2)+(_0x429681[_0x18de65(0x220)]?_0x18de65(0x192):_0x18de65(0x1c1))})}),_0x2e766e[_0x18de65(0x1f0)][_0x18de65(0x158)](_0x18de65(0x171))[_0x18de65(0x167)]({'model':_0x1022f4,'view':_0x27eefc}),this[_0x18de65(0x185)][_0x18de65(0x17a)](document,_0x18de65(0x15e),(_0x1cc748,_0x9c0c99)=>{const _0x4d8d13=_0x18de65,_0x38efca=_0x9c0c99[_0x4d8d13(0x14c)],_0x9025dc=this[_0x4d8d13(0x1a0)](_0x38efca);if(!_0x9025dc)return;const _0x3f1594=_0x9025dc[_0x4d8d13(0x218)](_0x4d8d13(0x1a7)),_0x895647=_0x3f1594[_0x4d8d13(0x1cf)](':')[_0x4d8d13(0x206)]()?.[_0x4d8d13(0x1cf)]('_')[0x0];this[_0x4d8d13(0x1e4)][_0x4d8d13(0x1ea)](_0x4d8d13(0x1c9),{'markerId':_0x3f1594,'changeId':_0x895647,'markerElement':_0x9025dc,'domEvent':_0x9c0c99});}),this[_0x18de65(0x185)][_0x18de65(0x17a)](document,_0x18de65(0x17d),(_0x2ef3c7,_0x537ee3)=>{const _0x31929a=_0x18de65,_0x4c67f1=_0x537ee3[_0x31929a(0x14c)],_0x4d8be4=_0x537ee3[_0x31929a(0x241)];let _0x663fb3=this[_0x31929a(0x1a0)](_0x4c67f1);if(!_0x663fb3&&_0x4d8be4&&(_0x663fb3=this[_0x31929a(0x1a0)](_0x4d8be4)),!_0x663fb3)return;const _0x28665c=_0x663fb3[_0x31929a(0x218)](_0x31929a(0x1a7)),_0x27f181=_0x28665c[_0x31929a(0x1cf)](':')[_0x31929a(0x206)]()?.[_0x31929a(0x1cf)]('_')[0x0];this[_0x31929a(0x1e4)][_0x31929a(0x1ea)](_0x31929a(0x23b),{'changeId':_0x27f181,'markerElement':_0x663fb3,'domEvent':_0x537ee3});}),this[_0x18de65(0x185)][_0x18de65(0x17a)](document,_0x18de65(0x17d),_0x37eadb((_0x52851e,_0x12b55a)=>{const _0x3f41c8=_0x18de65,_0x55d79f=_0x12b55a[_0x3f41c8(0x14c)];if(this[_0x3f41c8(0x1a0)](_0x55d79f))return;_0x55d79f[_0x3f41c8(0x207)](_0x3f41c8(0x16b))||this[_0x3f41c8(0x1e4)][_0x3f41c8(0x1ea)](_0x3f41c8(0x22d));},0xc8)),_0x2e766e[_0x18de65(0x197)][_0x18de65(0x1fb)][_0x18de65(0x20a)](_0x154d42=>this[_0x18de65(0x1f4)](_0x2e766e,_0x154d42)),_0x2e766e[_0x18de65(0x197)][_0x18de65(0x1fb)]['on'](_0x18de65(0x1c4),()=>this[_0x18de65(0x224)](_0x2e766e));}[_0x195745(0x1d4)](){const _0x5beae2=_0x195745,_0x47239a=this[_0x5beae2(0x233)][_0x5beae2(0x15b)][_0x5beae2(0x21f)](_0x5beae2(0x22a)),_0x2345c5=_0x4532a2(this[_0x5beae2(0x233)]),_0x12b31c=_0x2345c5[_0x5beae2(0x197)],_0x2f4aa0=new _0xf8f223();for(const _0x12203f of _0x12b31c[_0x5beae2(0x1fb)][_0x5beae2(0x19f)]()[_0x5beae2(0x1da)]()){const _0x50d03a=_0x12203f[_0x5beae2(0x1f3)](!0x0);_0x2f4aa0[_0x5beae2(0x1f8)](_0x50d03a);}for(const _0x54ad77 of _0x12b31c[_0x5beae2(0x1fe)])_0x2f4aa0[_0x5beae2(0x1fe)][_0x5beae2(0x15f)](_0x54ad77[_0x5beae2(0x1f9)],this[_0x5beae2(0x16a)](_0x54ad77[_0x5beae2(0x15c)]()[_0x5beae2(0x18b)](),_0x2f4aa0));const _0x35e075=new _0x142737({'ignoreElementEnd':!0x0,'startPosition':_0x12b31c[_0x5beae2(0x1f1)](_0x2f4aa0,0x0)}),_0x440771=new Set(),_0x3fe9e8=new Map();for(const {item:_0x556c57}of _0x35e075){if(!_0x556c57['is'](_0x5beae2(0x1eb)))continue;const _0x32b8e9=_0x556c57[_0x5beae2(0x235)];if(_0x32b8e9&&_0x32b8e9['is'](_0x5beae2(0x1c3))){const _0x5ed21d=this[_0x5beae2(0x20f)](_0x32b8e9,()=>_0x47239a[_0x5beae2(0x19b)](_0x440771));_0x440771[_0x5beae2(0x1c5)](_0x5ed21d);for(const _0x1e80f9 of _0x32b8e9[_0x5beae2(0x1da)]())_0x1e80f9['is'](_0x5beae2(0x1c3))&&_0x440771[_0x5beae2(0x1c5)](this[_0x5beae2(0x20f)](_0x1e80f9,()=>_0x47239a[_0x5beae2(0x19b)](_0x440771)));let _0x5f12b8=_0x32b8e9;for(;_0x5f12b8[_0x5beae2(0x235)]&&!_0x5f12b8[_0x5beae2(0x235)]['is'](_0x5beae2(0x20c));)_0x5f12b8=_0x5f12b8[_0x5beae2(0x235)],_0x5f12b8[_0x5beae2(0x1b4)](_0x1022f4)&&_0x5f12b8[_0x5beae2(0x17b)](_0x1022f4);_0x3fe9e8[_0x5beae2(0x15f)](_0x5ed21d,{'path':_0x32b8e9[_0x5beae2(0x1ac)](),'getContent':this[_0x5beae2(0x19a)](_0x5f12b8[_0x5beae2(0x1f3)](!0x0),_0x5ed21d,_0x2345c5[_0x5beae2(0x23a)])}),_0x35e075[_0x5beae2(0x165)](_0x12b31c[_0x5beae2(0x172)](_0x32b8e9));}}return{'content':_0x2345c5[_0x5beae2(0x23a)][_0x5beae2(0x208)][_0x5beae2(0x230)](_0x2345c5[_0x5beae2(0x23a)][_0x5beae2(0x23c)](_0x2f4aa0)),'version':_0x2345c5[_0x5beae2(0x197)][_0x5beae2(0x1fb)][_0x5beae2(0x22c)],'elements':_0x3fe9e8};}[_0x195745(0x1b3)](_0x58d6ce,_0x1290fd){const _0x1eb557=_0x195745,_0x1de7d7=[],_0x28435a=_0x4532a2(this[_0x1eb557(0x233)]),_0x154268=_0x28435a[_0x1eb557(0x23a)][_0x1eb557(0x1ed)](_0x1290fd,_0x1eb557(0x222)),_0x3b2325=_0x28435a[_0x1eb557(0x23a)][_0x1eb557(0x1ed)](_0x58d6ce,_0x1eb557(0x222)),_0x370e02=_0x28435a[_0x1eb557(0x197)][_0x1eb557(0x1f1)](_0x3b2325,0x0);if(this[_0x1eb557(0x15d)](_0x154268)){if(!this[_0x1eb557(0x179)](_0x3b2325,_0x154268))return _0x1de7d7;}else{const _0x101da4=_0x28435a[_0x1eb557(0x197)][_0x1eb557(0x166)];if(!this[_0x1eb557(0x209)](_0x3b2325,_0x101da4)||!this[_0x1eb557(0x209)](_0x154268,_0x101da4))return _0x1de7d7;}const _0x3884d7=this[_0x1eb557(0x233)][_0x1eb557(0x15b)][_0x1eb557(0x21f)](_0x1eb557(0x150))[_0x1eb557(0x17c)](_0x58d6ce,_0x1290fd,{'anchor':_0x370e02,'markDeletions':!0x0})[_0x1eb557(0x1d3)]()[_0x1eb557(0x22f)](_0x4ad10c=>_0x1eb557(0x1ab)===_0x4ad10c[_0x1eb557(0x232)]||_0x1eb557(0x23e)===_0x4ad10c[_0x1eb557(0x232)]&&_0x4ad10c[_0x1eb557(0x1f9)][_0x1eb557(0x1cc)](_0x1eb557(0x242))),_0x5a213e=this[_0x1eb557(0x183)](_0x3884d7);let _0x245d46=0x0;return _0x28435a[_0x1eb557(0x197)][_0x1eb557(0x1c4)](_0x8ed800=>{const _0x356c73=_0x1eb557;for(let _0x4bcb97=0x0;_0x4bcb97<_0x5a213e[_0x356c73(0x1d0)];_0x4bcb97++){const _0x1cd2ca=_0x5a213e[_0x4bcb97],_0xb16477=_0x8ed800[_0x356c73(0x1b1)]();for(const _0x25422f of _0x3b2325[_0x356c73(0x1da)]())_0x8ed800[_0x356c73(0x20b)](_0x25422f[_0x356c73(0x1f3)](!0x0),_0xb16477);for(const _0x31991e of _0x1cd2ca[_0x356c73(0x14e)])if(_0x356c73(0x1ab)===_0x31991e[_0x356c73(0x232)]){const _0x5d71ac=_0x31991e;_0x5d71ac[_0x356c73(0x19c)]=null,_0x5d71ac[_0x356c73(0x16d)]=!0x1,this[_0x356c73(0x18f)](_0x5d71ac,_0xb16477),_0x8ed800[_0x356c73(0x14d)][_0x356c73(0x1e7)](_0x31991e),_0x28435a[_0x356c73(0x197)][_0x356c73(0x1fa)](_0x31991e);const _0xa49c86=_0x356c73(0x180)+_0x245d46++,_0x106ca0=_0x28435a[_0x356c73(0x197)][_0x356c73(0x202)](_0x5d71ac[_0x356c73(0x21b)],_0x5d71ac[_0x356c73(0x21b)][_0x356c73(0x156)](_0x5d71ac[_0x356c73(0x181)]));_0xb16477[_0x356c73(0x1fe)][_0x356c73(0x15f)](_0xa49c86,_0x106ca0);}else{if(_0x356c73(0x23e)===_0x31991e[_0x356c73(0x232)]&&_0x31991e[_0x356c73(0x1f9)][_0x356c73(0x1cc)](_0x356c73(0x242))){const _0x396dfe=_0x31991e,_0x365c83=_0x356c73(0x211)+_0x245d46++;this[_0x356c73(0x18f)](_0x396dfe,_0xb16477),_0xb16477[_0x356c73(0x1fe)][_0x356c73(0x15f)](_0x365c83,_0x396dfe[_0x356c73(0x1cd)]);}}const _0x30edab=this[_0x356c73(0x219)](this[_0x356c73(0x182)](this[_0x356c73(0x196)](_0x1cd2ca[_0x356c73(0x14e)][0x0]),_0xb16477),this[_0x356c73(0x182)](this[_0x356c73(0x18d)](_0x1cd2ca[_0x356c73(0x14e)][_0x1cd2ca[_0x356c73(0x14e)][_0x356c73(0x1d0)]-0x1]),_0xb16477));_0xb16477[_0x356c73(0x1fe)][_0x356c73(0x15f)](le+_0x356c73(0x1ca),new _0x3cbfe2(_0x30edab[_0x356c73(0x192)],_0x30edab[_0x356c73(0x1c1)])),_0x1de7d7[_0x356c73(0x1ae)]({..._0x1cd2ca,'context':this[_0x356c73(0x1ff)](_0xb16477,_0x28435a[_0x356c73(0x23a)],{'ellipsisBefore':_0x30edab[_0x356c73(0x1ce)],'ellipsisAfter':_0x30edab[_0x356c73(0x18a)]}),'content':this[_0x356c73(0x21c)](_0xb16477,_0x28435a[_0x356c73(0x23a)])});}}),_0x1de7d7;}[_0x195745(0x19e)](_0x5cf178,_0x34292f){const _0x4558e9=_0x195745;if(!_0x5cf178[_0x4558e9(0x1d0)])return;const _0x3bf05c=_0x5cf178[0x0][_0x4558e9(0x235)]['id'],_0x388c4a=_0x34292f[_0x4558e9(0x203)][_0x4558e9(0x21f)](_0x3bf05c);if(!_0x388c4a)return void console[_0x4558e9(0x1e3)](_0x4558e9(0x1ef)+_0x3bf05c);const _0x501530=_0x388c4a[_0x4558e9(0x151)],_0x5792a2=_0x4532a2(this[_0x4558e9(0x233)]),_0x2eb03b=_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x1fb)][_0x4558e9(0x1a3)][_0x4558e9(0x1d3)](_0x34292f[_0x4558e9(0x22c)]),_0x229f49=[];for(const _0x324cfe of _0x5cf178){const _0x51b475=_0x324cfe[_0x4558e9(0x14e)][_0x4558e9(0x1ba)](_0x5bd9f8=>this[_0x4558e9(0x1d9)](_0x5bd9f8,_0x501530,_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x1fb)][_0x4558e9(0x1dd)]()[0x0]));if(!_0x51b475||!_0x51b475[_0x4558e9(0x1d0)])continue;const _0x35571f=_0x51b475[_0x4558e9(0x18e)](_0x83c222=>_0x4558e9(0x23e)===_0x83c222[_0x4558e9(0x232)]&&_0x83c222[_0x4558e9(0x1f9)][_0x4558e9(0x1cc)](_0x4558e9(0x242))),_0xe4d251={'document':_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x1fb)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x38e561=_0x21c2b7(_0x51b475,_0x2eb03b,_0xe4d251)[_0x4558e9(0x227)];for(const _0x37610f of _0x38e561)if(_0x4558e9(0x1ab)===_0x37610f[_0x4558e9(0x232)]){const _0x4792cc=_0x37610f,_0x2da9b8=_0x4792cc[_0x4558e9(0x1c8)];let _0x587b81='';for(const _0x564098 of _0x2da9b8)_0x564098&&_0x564098['is'](_0x4558e9(0x1d7))&&(_0x587b81+=_0x564098[_0x4558e9(0x23a)]);_0x229f49[_0x4558e9(0x1ae)]({'start':_0x4792cc[_0x4558e9(0x21b)],'end':_0x4792cc[_0x4558e9(0x21b)],'type':_0x4558e9(0x1ab),'groupId':_0x324cfe['id'],'text':_0x587b81});}else{if(_0x4558e9(0x23e)===_0x37610f[_0x4558e9(0x232)]&&_0x37610f[_0x4558e9(0x1f9)][_0x4558e9(0x1cc)](_0x4558e9(0x242))){const _0x531c86=_0x37610f;let _0x579470=_0x4558e9(0x1a9);if(_0x35571f){const _0x31ce2e=this[_0x4558e9(0x1c0)](_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x192)],_0x4558e9(0x20e),_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x166)]),_0x33cf20=this[_0x4558e9(0x1c0)](_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x1c1)],_0x4558e9(0x1aa),_0x5792a2[_0x4558e9(0x197)][_0x4558e9(0x166)]);if(_0x31ce2e||_0x33cf20){const _0x2a59f9=_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x192)][_0x4558e9(0x156)](-_0x31ce2e),_0x28d8d6=_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x1c1)][_0x4558e9(0x156)](_0x33cf20);_0x229f49[_0x4558e9(0x1ae)]({'start':_0x2a59f9,'end':_0x28d8d6,'groupId':_0x324cfe['id'],'type':_0x4558e9(0x1bd)});}else _0x579470=_0x4558e9(0x215);}_0x229f49[_0x4558e9(0x1ae)]({'start':_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x192)],'end':_0x531c86[_0x4558e9(0x1cd)][_0x4558e9(0x1c1)],'groupId':_0x324cfe['id'],'type':_0x579470});}}}this[_0x4558e9(0x1c2)](_0x229f49);}[_0x195745(0x1bc)](){const _0x2a7e87=_0x195745,_0x34e99f=_0x4532a2(this[_0x2a7e87(0x233)]);_0x34e99f[_0x2a7e87(0x197)][_0x2a7e87(0x1c4)](_0x2e216c=>{const _0x515570=_0x2a7e87;for(const _0x2bf9eb of this[_0x515570(0x160)][_0x515570(0x1e0)]())_0x34e99f[_0x515570(0x197)][_0x515570(0x1fe)][_0x515570(0x21f)](_0x2bf9eb)&&_0x2e216c[_0x515570(0x1ec)](_0x2bf9eb);}),this[_0x2a7e87(0x160)][_0x2a7e87(0x231)]();}[_0x195745(0x154)](){const _0x2b3a31=_0x195745;_0x4532a2(this[_0x2b3a31(0x233)])[_0x2b3a31(0x157)](_0x2b3a31(0x236));}[_0x195745(0x1a6)](){const _0x894fc5=_0x195745;_0x4532a2(this[_0x894fc5(0x233)])[_0x894fc5(0x1e6)](_0x894fc5(0x236));}[_0x195745(0x204)](_0x421f30){const _0x3c9cc8=_0x195745,_0x164d95=_0x4532a2(this[_0x3c9cc8(0x233)]),_0xc1daf1=_0x164d95[_0x3c9cc8(0x197)],_0x8cdeb1=_0x421f30[_0x3c9cc8(0x1ba)](_0x8ccfee=>this[_0x3c9cc8(0x193)](_0x8ccfee))[_0x3c9cc8(0x1fd)]();_0xc1daf1[_0x3c9cc8(0x1c4)](_0x17715a=>{const _0x3c9dd7=_0x3c9cc8;for(const _0x33fded of _0x8cdeb1){const _0x75963c=_0x164d95[_0x3c9dd7(0x197)][_0x3c9dd7(0x1fe)][_0x3c9dd7(0x21f)](_0x33fded['id']);_0x75963c&&(_0x3c9dd7(0x1ab)===_0x33fded[_0x3c9dd7(0x232)]?_0xc1daf1[_0x3c9dd7(0x1ee)](_0x17715a[_0x3c9dd7(0x176)](_0x33fded[_0x3c9dd7(0x205)]||''),_0x75963c[_0x3c9dd7(0x15c)]()[_0x3c9dd7(0x192)]):_0x3c9dd7(0x1a9)!==_0x33fded[_0x3c9dd7(0x232)]&&_0x3c9dd7(0x215)!==_0x33fded[_0x3c9dd7(0x232)]||_0xc1daf1[_0x3c9dd7(0x1c6)](_0xc1daf1[_0x3c9dd7(0x22e)](_0x75963c[_0x3c9dd7(0x15c)]())),_0x17715a[_0x3c9dd7(0x1ec)](_0x33fded['id']),this[_0x3c9dd7(0x160)][_0x3c9dd7(0x1b7)](_0x33fded['id']));}});}[_0x195745(0x226)](_0x29e68a){const _0x7b60e3=_0x195745,_0x43f163=_0x4532a2(this[_0x7b60e3(0x233)]),_0x294085=this[_0x7b60e3(0x193)](_0x29e68a);_0x43f163[_0x7b60e3(0x197)][_0x7b60e3(0x1c4)](_0x3dd902=>{const _0xdb1e53=_0x7b60e3;for(const _0x2befb5 of _0x294085)_0x3dd902[_0xdb1e53(0x1ec)](_0x2befb5['id']),this[_0xdb1e53(0x160)][_0xdb1e53(0x1b7)](_0x2befb5['id']);});}[_0x195745(0x225)](){const _0x333dd=_0x195745;return _0x4532a2(this[_0x333dd(0x233)]);}[_0x195745(0x23d)](_0x2086d5){const _0x5201cb=_0x195745,_0x7ed897=Array[_0x5201cb(0x164)](this[_0x5201cb(0x160)][_0x5201cb(0x1a4)]())[_0x5201cb(0x22f)](_0x4a0e05=>_0x4a0e05[_0x5201cb(0x1f7)]===_0x2086d5);if(!_0x7ed897[_0x5201cb(0x1d0)])return null;const _0xe68e07=0x1===_0x7ed897[_0x5201cb(0x1d0)]?_0x7ed897[0x0]:this[_0x5201cb(0x1f5)](_0x7ed897)[0x0],_0x148bd1=_0x4532a2(this[_0x5201cb(0x233)]),_0xf60e37=_0x148bd1[_0x5201cb(0x197)][_0x5201cb(0x1fe)][_0x5201cb(0x21f)](_0xe68e07['id']);if(!_0xf60e37)return null;const _0xd30956=_0xf60e37[_0x5201cb(0x15c)](),_0x16c853=_0x148bd1[_0x5201cb(0x1b5)][_0x5201cb(0x1b8)][_0x5201cb(0x21a)]();if(!_0x16c853||!_0xd30956)return null;const _0x4ada4f=_0x16c853[_0x5201cb(0x187)](_0x5201cb(0x177)+_0xe68e07['id']+'\x22]');return _0x4ada4f?{'modelRange':_0xd30956,'domElement':_0x4ada4f}:null;}[_0x195745(0x1f4)](_0x211742,_0x830bf0){const _0x2b9582=_0x195745,_0x561988=Array[_0x2b9582(0x164)](this[_0x2b9582(0x160)][_0x2b9582(0x1e0)]()),_0x4b089f=new Map();for(const _0x9b1571 of _0x561988){const _0x5aa4f0=_0x211742[_0x2b9582(0x197)][_0x2b9582(0x1fe)][_0x2b9582(0x21f)](_0x9b1571);if(!_0x5aa4f0)continue;const _0x3e61d4=_0x5aa4f0[_0x2b9582(0x184)]()[_0x2b9582(0x151)][0x0];_0x4b089f[_0x2b9582(0x175)](_0x3e61d4)||_0x4b089f[_0x2b9582(0x15f)](_0x3e61d4,[]),_0x4b089f[_0x2b9582(0x21f)](_0x3e61d4)[_0x2b9582(0x1ae)](_0x5aa4f0);}const _0x2597dd=new Set();for(const _0x1b6acc of _0x211742[_0x2b9582(0x197)][_0x2b9582(0x1fb)][_0x2b9582(0x1b9)][_0x2b9582(0x201)]()){let _0x56a60f=-0x1,_0x59e0fd=null;if(_0x2b9582(0x1ab)===_0x1b6acc[_0x2b9582(0x232)])_0x59e0fd=new _0x3cbfe2(_0x1b6acc[_0x2b9582(0x21b)],_0x1b6acc[_0x2b9582(0x21b)][_0x2b9582(0x156)](_0x1b6acc[_0x2b9582(0x1d0)])),_0x56a60f=_0x1b6acc[_0x2b9582(0x21b)][_0x2b9582(0x151)][0x0];else{if(_0x2b9582(0x1af)!==_0x1b6acc[_0x2b9582(0x232)])continue;_0x59e0fd=new _0x3cbfe2(_0x1b6acc[_0x2b9582(0x21b)]),_0x56a60f=_0x1b6acc[_0x2b9582(0x21b)][_0x2b9582(0x151)][0x0];}const _0x40d75f=_0x4b089f[_0x2b9582(0x21f)](_0x56a60f)||[];if(_0x40d75f[_0x2b9582(0x1d0)]){for(const _0x2f563f of _0x40d75f)if(_0x59e0fd[_0x2b9582(0x1bf)][_0x2b9582(0x153)]===_0x2f563f[_0x2b9582(0x15c)]()[_0x2b9582(0x1bf)][_0x2b9582(0x153)]&&(_0x2b9582(0x1ab)!==_0x1b6acc[_0x2b9582(0x232)]||!_0x59e0fd[_0x2b9582(0x1e9)](_0x2f563f[_0x2b9582(0x15c)]()))&&(_0x59e0fd[_0x2b9582(0x1a2)](_0x2f563f[_0x2b9582(0x15c)]())||_0x59e0fd[_0x2b9582(0x192)][_0x2b9582(0x16e)](_0x2f563f[_0x2b9582(0x15c)]()[_0x2b9582(0x1c1)])||_0x59e0fd[_0x2b9582(0x1c1)][_0x2b9582(0x16e)](_0x2f563f[_0x2b9582(0x15c)]()[_0x2b9582(0x192)]))){const _0x56250f=this[_0x2b9582(0x1a8)](_0x2f563f[_0x2b9582(0x1f9)]);Array[_0x2b9582(0x164)](this[_0x2b9582(0x160)][_0x2b9582(0x1a4)]())[_0x2b9582(0x22f)](_0x5e8067=>_0x5e8067[_0x2b9582(0x1f7)]===_0x56250f[_0x2b9582(0x1f7)])[_0x2b9582(0x199)](_0x134858=>_0x2597dd[_0x2b9582(0x1c5)](_0x134858['id']));}}}if(_0x2597dd[_0x2b9582(0x170)]){for(const _0x4b79aa of _0x2597dd)_0x830bf0[_0x2b9582(0x1ec)](_0x4b79aa);return!0x0;}return!0x1;}[_0x195745(0x224)](_0x16a696){const _0xb38ecd=_0x195745;for(const {name:_0x58ae24,data:_0x421bf7}of _0x16a696[_0xb38ecd(0x197)][_0xb38ecd(0x1fb)][_0xb38ecd(0x1b9)][_0xb38ecd(0x223)]()){if(!_0x58ae24[_0xb38ecd(0x1cc)](le))continue;const _0x1fcfc4=_0x421bf7[_0xb38ecd(0x15a)],_0x2613e6=_0x421bf7[_0xb38ecd(0x1cd)],_0x32f101=_0x1fcfc4&&_0xb38ecd(0x174)===_0x1fcfc4[_0xb38ecd(0x1bf)][_0xb38ecd(0x153)],_0x4e3dbd=_0x2613e6&&_0xb38ecd(0x174)===_0x2613e6[_0xb38ecd(0x1bf)][_0xb38ecd(0x153)];if(_0x32f101&&_0x4e3dbd)continue;const _0x86745b=this[_0xb38ecd(0x1a8)](_0x58ae24);this[_0xb38ecd(0x160)][_0xb38ecd(0x21f)](_0x58ae24)&&(_0x4e3dbd||!_0x2613e6?this[_0xb38ecd(0x1e4)][_0xb38ecd(0x1ea)](_0xb38ecd(0x238),{'markerId':_0x58ae24,'changeId':_0x86745b[_0xb38ecd(0x1f7)]}):_0x32f101&&_0x2613e6&&this[_0xb38ecd(0x1e4)][_0xb38ecd(0x1ea)](_0xb38ecd(0x168),{'markerId':_0x58ae24,'changeId':_0x86745b[_0xb38ecd(0x1f7)]}));}}[_0x195745(0x1a8)](_0x503165){const _0x52de8a=_0x195745,_0x6d6ab6=_0x503165[_0x52de8a(0x1cf)](':'),_0x40a7cc=(_0x6d6ab6[0x1]||'')[_0x52de8a(0x1cf)]('_');return{'prefix':_0x6d6ab6[0x0],'groupId':_0x40a7cc[0x0],'suffix':_0x40a7cc[0x1]};}[_0x195745(0x1d9)](_0x48f915,_0x5198c9,_0x2da9b2){const _0x2b5f57=_0x195745;if(_0x2b5f57(0x1ab)===_0x48f915[_0x2b5f57(0x232)]){const _0x5b7283=_0x48f915;return new _0x136907(this[_0x2b5f57(0x1b0)](_0x5198c9[_0x2b5f57(0x212)](_0x5b7283[_0x2b5f57(0x21b)][_0x2b5f57(0x210)]),_0x2da9b2),_0x5b7283[_0x2b5f57(0x1c8)],_0x5b7283[_0x2b5f57(0x19c)]);}if(_0x2b5f57(0x23e)===_0x48f915[_0x2b5f57(0x232)]&&_0x48f915[_0x2b5f57(0x1f9)][_0x2b5f57(0x1cc)](_0x2b5f57(0x242))){const _0x1651c6=_0x48f915;return new _0xb9f64e(_0x1651c6[_0x2b5f57(0x1f9)],_0x1651c6[_0x2b5f57(0x15a)],this[_0x2b5f57(0x1ad)](_0x1651c6[_0x2b5f57(0x1cd)],_0x5198c9[_0x2b5f57(0x212)](_0x1651c6[_0x2b5f57(0x1cd)][_0x2b5f57(0x192)][_0x2b5f57(0x210)]),_0x5198c9[_0x2b5f57(0x212)](_0x1651c6[_0x2b5f57(0x1cd)][_0x2b5f57(0x1c1)][_0x2b5f57(0x210)]),_0x2da9b2),_0x1651c6[_0x2b5f57(0x160)],_0x1651c6[_0x2b5f57(0x22b)],_0x1651c6[_0x2b5f57(0x19c)]);}return _0x48f915;}[_0x195745(0x183)](_0x1a915c){const _0x33685f=_0x195745;if(!_0x1a915c[_0x33685f(0x1d0)])return[];const _0x3522de=[];let _0x429848=0x0,_0x30ce1e=0x0,_0x2ecc8b=[];for(let _0x2d80fd=0x0;_0x2d80fd<=_0x1a915c[_0x33685f(0x1d0)];_0x2d80fd++){const _0x599c7e=_0x1a915c[_0x2d80fd],_0x2ce7fb=_0x1a915c[_0x2d80fd-0x1];!_0x599c7e||_0x2ce7fb&&!this[_0x33685f(0x18d)](_0x2ce7fb)[_0x33685f(0x16e)](this[_0x33685f(0x196)](_0x599c7e))?(_0x3522de[_0x33685f(0x1ae)]({'operations':_0x2ecc8b,'operationsIsolated':_0x2ecc8b[_0x33685f(0x1ba)](_0x3f5d0d=>this[_0x33685f(0x194)](_0x3f5d0d[_0x33685f(0x18b)](),-_0x30ce1e)),'groupOffset':_0x429848}),_0x2ecc8b=_0x599c7e?[_0x599c7e]:[],_0x30ce1e+=_0x429848,_0x429848=0x0):_0x2ecc8b[_0x33685f(0x1ae)](_0x599c7e),_0x599c7e&&_0x33685f(0x1ab)===_0x599c7e[_0x33685f(0x232)]&&(_0x429848+=_0x599c7e[_0x33685f(0x181)]);}return _0x3522de;}[_0x195745(0x1c0)](_0x3ba860,_0x20b6f9,_0x307345,_0x4523bc=0x1){const _0xadcca6=_0x195745,_0x4b4d1d=new _0x142737({'startPosition':_0x3ba860,'direction':_0x20b6f9});let _0x277a23=0x0;for(let _0x594d7c=0x0;_0x594d7c<_0x4523bc;_0x594d7c++){let _0xc95cdd=0x0,_0x742d4c=!0x1,_0x17f341=_0xadcca6(0x1aa)===_0x20b6f9?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x3287c3}of _0x4b4d1d)if(_0x3287c3['is'](_0xadcca6(0x1eb))){const _0x1abb4b=_0x17f341[_0xadcca6(0x195)](_0x3287c3[_0xadcca6(0x23a)]);if(_0x1abb4b&&_0x1abb4b[_0xadcca6(0x1d0)]){if(_0xc95cdd+=_0xadcca6(0x1aa)===_0x20b6f9?_0x1abb4b[_0xadcca6(0x228)]+_0x1abb4b[0x0][_0xadcca6(0x1d0)]:_0x3287c3[_0xadcca6(0x23a)][_0xadcca6(0x1d0)]-_0x1abb4b[_0xadcca6(0x228)],_0x1abb4b[0x0][_0xadcca6(0x1d0)]!==_0x3287c3[_0xadcca6(0x23a)][_0xadcca6(0x1d0)])break;_0x742d4c=!0x0,_0x17f341=_0xadcca6(0x1aa)===_0x20b6f9?/^\w+/:/\w+$/;}else{if(_0x742d4c)break;_0xc95cdd+=_0x3287c3[_0xadcca6(0x237)];}}else{if(_0x3287c3['is'](_0xadcca6(0x1c3))){_0x307345[_0xadcca6(0x178)](_0x3287c3)&&!_0x742d4c&&(_0xc95cdd+=0x1);break;}}_0x277a23+=_0xc95cdd,_0x4b4d1d[_0xadcca6(0x165)](_0x3ba860[_0xadcca6(0x156)](_0xadcca6(0x1aa)===_0x20b6f9?_0x277a23:-_0x277a23));}return _0x277a23;}[_0x195745(0x219)](_0x37a400,_0x25ff83){const _0x53818c=_0x195745,_0x554ae2=_0x4532a2(this[_0x53818c(0x233)])[_0x53818c(0x197)][_0x53818c(0x166)],_0x172f3b=this[_0x53818c(0x1c0)](_0x37a400,_0x53818c(0x20e),_0x554ae2,0x6),_0x2f8535=this[_0x53818c(0x1c0)](_0x25ff83,_0x53818c(0x1aa),_0x554ae2,0x6),_0x17c7d1=_0x37a400[_0x53818c(0x156)](-_0x172f3b),_0x4a90e9=_0x25ff83[_0x53818c(0x156)](_0x2f8535);return{'start':_0x17c7d1,'end':_0x4a90e9,'hasContentBefore':!_0x17c7d1[_0x53818c(0x234)],'hasContentAfter':!_0x4a90e9[_0x53818c(0x1a1)]};}[_0x195745(0x1c2)](_0x3e52ad){const _0x404edd=_0x195745,_0x29d62e=this[_0x404edd(0x233)][_0x404edd(0x15b)][_0x404edd(0x21f)](_0x404edd(0x22a)),_0x12322f=new Set();_0x4532a2(this[_0x404edd(0x233)])[_0x404edd(0x197)][_0x404edd(0x1c4)](_0x5d8cd6=>{const _0x2fd1af=_0x404edd;for(const _0x25d567 of _0x3e52ad){const _0x45c211=''+le+_0x25d567[_0x2fd1af(0x232)]+':'+_0x25d567[_0x2fd1af(0x1f7)]+'_'+_0x29d62e[_0x2fd1af(0x19b)](_0x12322f);this[_0x2fd1af(0x160)][_0x2fd1af(0x15f)](_0x45c211,{'id':_0x45c211,'groupId':_0x25d567[_0x2fd1af(0x1f7)],'type':_0x25d567[_0x2fd1af(0x232)],'text':_0x25d567[_0x2fd1af(0x205)]}),_0x5d8cd6[_0x2fd1af(0x1de)](_0x45c211,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5d8cd6[_0x2fd1af(0x202)](_0x25d567[_0x2fd1af(0x192)],_0x25d567[_0x2fd1af(0x1c1)])});}});}[_0x195745(0x1ff)](_0x4ad2b7,_0x544b31,_0x1fef81){let _0x2a3894='';return()=>{const _0x4271f2=_0x3aac;if(!_0x2a3894){const _0x39ddb7=_0x544b31[_0x4271f2(0x23c)](_0x4ad2b7,{'showSuggestionHighlights':!0x0});let _0x47fbb3=_0x39ddb7[_0x4271f2(0x173)](0x0);if(_0x47fbb3['is'](_0x4271f2(0x16f))||(_0x47fbb3=_0x39ddb7),!_0x47fbb3)return'';let _0xefc6ad=!0x1;const _0x11d205=[];for(const _0x221a2d of _0x47fbb3[_0x4271f2(0x1da)]())_0x221a2d['is'](_0x4271f2(0x1c3),_0x4271f2(0x239))&&_0x221a2d[_0x4271f2(0x21e)](_0x4271f2(0x1bb))&&(_0xefc6ad=!0x1),_0xefc6ad&&_0x11d205[_0x4271f2(0x1ae)](_0x221a2d),_0x221a2d['is'](_0x4271f2(0x1c3),_0x4271f2(0x239))&&_0x221a2d[_0x4271f2(0x21e)](_0x4271f2(0x169))&&(_0xefc6ad=!0x0);_0x47fbb3[_0x4271f2(0x18c)](0x0,_0x47fbb3[_0x4271f2(0x214)]),_0x1fef81?.[_0x4271f2(0x155)]&&_0x47fbb3[_0x4271f2(0x1f8)]('…'),_0x47fbb3[_0x4271f2(0x1f8)](_0x11d205),_0x1fef81?.[_0x4271f2(0x17e)]&&_0x47fbb3[_0x4271f2(0x1f8)]('…');const _0x18dcdc=_0x544b31[_0x4271f2(0x216)][_0x4271f2(0x152)][_0x4271f2(0x190)](_0x39ddb7),_0x57a3a4=_0x544b31[_0x4271f2(0x216)][_0x4271f2(0x1fc)][_0x4271f2(0x1d6)](_0x18dcdc);_0x2a3894=_0x57a3a4;}return _0x2a3894;};}[_0x195745(0x21c)](_0x539eea,_0x2d899b){const _0x69f8c2=_0x195745;let _0x2b22fb='';return()=>(_0x2b22fb||(_0x2b22fb=_0x2d899b[_0x69f8c2(0x1d5)](_0x539eea,{'showSuggestionHighlights':!0x0})),_0x2b22fb);}[_0x195745(0x19a)](_0x535d8c,_0x4936ac,_0x4ed21b){let _0x1df609='';return()=>{const _0x5c1d1e=_0x3aac;if(!_0x1df609){const _0x2ae0ae=_0x4ed21b[_0x5c1d1e(0x23c)](new _0xf8f223(_0x535d8c)),_0xed28cf=_0x4ed21b[_0x5c1d1e(0x216)][_0x5c1d1e(0x152)][_0x5c1d1e(0x190)](_0x2ae0ae)[_0x5c1d1e(0x187)](_0x5c1d1e(0x20d)+_0x4936ac+'\x22]');_0x1df609=_0xed28cf?.[_0x5c1d1e(0x221)]||'';}return _0x1df609;};}[_0x195745(0x1a0)](_0x473110,_0x4abea1=0x5){const _0x2987e9=_0x195745;let _0x22c335=_0x473110,_0x1e666a=null;for(let _0x1769d9=0x0;_0x1769d9<_0x4abea1&&_0x22c335;_0x1769d9++){if(!_0x22c335[_0x2987e9(0x1df)]){_0x22c335=_0x22c335[_0x2987e9(0x1f6)];continue;}if(!(''+_0x22c335[_0x2987e9(0x1df)])[_0x2987e9(0x1e5)](_0x2987e9(0x1d1))){_0x22c335=_0x22c335[_0x2987e9(0x1f6)];continue;}if(!_0x22c335[_0x2987e9(0x218)](_0x2987e9(0x1a7)))break;_0x1e666a=_0x22c335;break;}return _0x1e666a;}[_0x195745(0x193)](_0x5f4eb7){const _0x4c5c9b=_0x195745;return Array[_0x4c5c9b(0x164)](this[_0x4c5c9b(0x160)][_0x4c5c9b(0x1a4)]())[_0x4c5c9b(0x22f)](_0xb905a8=>_0xb905a8[_0x4c5c9b(0x1f7)]===_0x5f4eb7);}[_0x195745(0x196)](_0x1657eb){const _0x9fd1f5=_0x195745;return _0x9fd1f5(0x1ab)===_0x1657eb[_0x9fd1f5(0x232)]?_0x1657eb[_0x9fd1f5(0x21b)]:_0x1657eb[_0x9fd1f5(0x1cd)][_0x9fd1f5(0x192)];}[_0x195745(0x18d)](_0x4c7e63,_0x22b480=!0x1){const _0x3dccc9=_0x195745;return _0x3dccc9(0x1ab)===_0x4c7e63[_0x3dccc9(0x232)]?_0x22b480?_0x4c7e63[_0x3dccc9(0x21b)]:_0x4c7e63[_0x3dccc9(0x21b)][_0x3dccc9(0x156)](_0x4c7e63[_0x3dccc9(0x181)]):_0x4c7e63[_0x3dccc9(0x1cd)][_0x3dccc9(0x1c1)];}[_0x195745(0x194)](_0x35d6b3,_0x58c2c4){const _0x3a68d9=_0x195745;return _0x3a68d9(0x1ab)===_0x35d6b3[_0x3a68d9(0x232)]?_0x35d6b3[_0x3a68d9(0x21b)]=_0x35d6b3[_0x3a68d9(0x21b)][_0x3a68d9(0x156)](_0x58c2c4):_0x3a68d9(0x23e)===_0x35d6b3[_0x3a68d9(0x232)]&&_0x35d6b3[_0x3a68d9(0x1cd)]&&(_0x35d6b3[_0x3a68d9(0x1cd)]=new _0x3cbfe2(_0x35d6b3[_0x3a68d9(0x1cd)][_0x3a68d9(0x192)][_0x3a68d9(0x156)](_0x58c2c4),_0x35d6b3[_0x3a68d9(0x1cd)][_0x3a68d9(0x1c1)][_0x3a68d9(0x156)](_0x58c2c4))),_0x35d6b3;}[_0x195745(0x18f)](_0x6c4642,_0x212440){const _0x5c5abc=_0x195745;_0x5c5abc(0x1ab)===_0x6c4642[_0x5c5abc(0x232)]?_0x6c4642[_0x5c5abc(0x21b)]=this[_0x5c5abc(0x182)](_0x6c4642[_0x5c5abc(0x21b)],_0x212440):_0x5c5abc(0x23e)===_0x6c4642[_0x5c5abc(0x232)]&&_0x6c4642[_0x5c5abc(0x1cd)]&&(_0x6c4642[_0x5c5abc(0x1cd)]=this[_0x5c5abc(0x16a)](_0x6c4642[_0x5c5abc(0x1cd)],_0x212440));}[_0x195745(0x182)](_0x56200a,_0x563acc){const _0x268d55=_0x195745;return new _0x20cfa2(_0x563acc,_0x56200a[_0x268d55(0x151)]);}[_0x195745(0x16a)](_0x3af688,_0x16ff8c){const _0x409324=_0x195745;return new _0x3cbfe2(this[_0x409324(0x182)](_0x3af688[_0x409324(0x192)],_0x16ff8c),this[_0x409324(0x182)](_0x3af688[_0x409324(0x1c1)],_0x16ff8c));}[_0x195745(0x1b0)](_0x97865d,_0x1bcff2){return new _0x20cfa2(_0x1bcff2,[..._0x97865d]);}[_0x195745(0x1ad)](_0x4c2a0d,_0x2b1c00,_0x3bc4d8,_0x314a68){const _0x5d59c5=_0x195745;return new _0x3cbfe2(this[_0x5d59c5(0x1b0)](_0x2b1c00,_0x314a68),this[_0x5d59c5(0x1b0)](_0x3bc4d8,_0x314a68));}[_0x195745(0x1f5)](_0x210dbb){const _0x58005c=_0x195745,_0x248d5a=_0x10a806=>{const _0xa55cc7=_0x3aac;switch(_0x10a806){case _0xa55cc7(0x1ab):return 0x1;case _0xa55cc7(0x1bd):return 0x2;case _0xa55cc7(0x215):return 0x3;case _0xa55cc7(0x1a9):return 0x4;}};return _0x210dbb[_0x58005c(0x159)]((_0x4de985,_0x22a7ce)=>_0x248d5a(_0x4de985[_0x58005c(0x232)])-_0x248d5a(_0x22a7ce[_0x58005c(0x232)]));}[_0x195745(0x179)](_0x51bdbf,_0x473e0e){const _0x40dc07=_0x195745,_0x5ca897=_0x51bdbf[_0x40dc07(0x173)](0x0),_0x4f8cee=_0x473e0e[_0x40dc07(0x173)](0x0);return!(!_0x5ca897||!_0x4f8cee)&&((!_0x5ca897['is'](_0x40dc07(0x1c3))||!_0x4f8cee['is'](_0x40dc07(0x1c3))||_0x5ca897[_0x40dc07(0x1f9)]===_0x4f8cee[_0x40dc07(0x1f9)])&&!(_0x5ca897['is'](_0x40dc07(0x1c3))&&!_0x4f8cee['is'](_0x40dc07(0x1c3))||!_0x5ca897['is'](_0x40dc07(0x1c3))&&_0x4f8cee['is'](_0x40dc07(0x1c3))));}[_0x195745(0x15d)](_0x5c4712){const _0x13891e=_0x195745;return 0x1===_0x5c4712[_0x13891e(0x214)];}[_0x195745(0x209)](_0x2e6ee2,_0x55d3eb){const _0x3d8f7c=_0x195745;for(const _0x5b635c of _0x2e6ee2[_0x3d8f7c(0x1da)]())if(_0x5b635c['is'](_0x3d8f7c(0x1c3))&&!_0x55d3eb[_0x3d8f7c(0x178)](_0x5b635c))return!0x1;return!0x0;}[_0x195745(0x20f)](_0x35b151,_0x266964){const _0x5b55c7=_0x195745;let _0x4995d2=_0x35b151[_0x5b55c7(0x218)](_0x1022f4);return _0x4995d2||(_0x4995d2=_0x266964(),_0x35b151[_0x5b55c7(0x19d)](_0x1022f4,_0x4995d2)),_0x4995d2;}}
|