@ckeditor/ckeditor5-ai 47.7.2-alpha.0 → 47.7.2
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/awstextadapter.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- 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/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/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.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/aichatballoonview.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/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/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.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/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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.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/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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.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/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x453d1c=_0x402e;(function(_0x2262aa,_0x4a9f03){const _0x568a31=_0x402e,_0x4d36b0=_0x2262aa();while(!![]){try{const _0x2deb6b=parseInt(_0x568a31(0x1c0))/0x1+parseInt(_0x568a31(0x1d8))/0x2*(parseInt(_0x568a31(0x190))/0x3)+-parseInt(_0x568a31(0x1cf))/0x4*(parseInt(_0x568a31(0x162))/0x5)+-parseInt(_0x568a31(0x1e4))/0x6*(parseInt(_0x568a31(0x1da))/0x7)+-parseInt(_0x568a31(0x1e5))/0x8*(-parseInt(_0x568a31(0x1cc))/0x9)+parseInt(_0x568a31(0x1d3))/0xa+-parseInt(_0x568a31(0x194))/0xb*(parseInt(_0x568a31(0x196))/0xc);if(_0x2deb6b===_0x4a9f03)break;else _0x4d36b0['push'](_0x4d36b0['shift']());}catch(_0x3b33b4){_0x4d36b0['push'](_0x4d36b0['shift']());}}}(_0x2d5c,0x28852));import{View as _0x26e0ec,ListItemView as _0x3fb246,ListView as _0x4e6a78,BalloonPanelView as _0x26a4e9,DropdownMenuPanelPositioningFunctions as _0x1ac682,ViewCollection as _0x4622ed,FocusCycler as _0x36dfba,ButtonView as _0x45d368,IconView as _0x282034,HighlightedTextView as _0x525326,ButtonLabelWithHighlightView as _0x123b6a,SearchTextView as _0x38bea7}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3b3cb4}from'@ckeditor/ckeditor5-icons';function _0x2d5c(){const _0x43c774=['_setupActionButtonExecution','icon','span','contains','_handlePanelKeydown','isEnabled','_createActionGroupButton','_isSearchFocused','first','clear','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','optionsListView','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-button_with-text','ck-ai-quick-actions-search-result__group-row','destroy','addMany','.ck-ai-quick-actions-group-list','queryView','_setupGroupMenuBehavior','ck-reset_all','aiQuickAction','bind','273445anDnkS','ck-ai-quick-actions','hide','show','ownerDocument','activeElement','_hideAllNestedPanels','bindTemplate','ck-ai-quick-actions-search-result__action-row','_focusables','.ck-ai-quick-actions-group-panel','isVisible','29412wMyeZg','ck-ai-quick-actions-button_with-group__close-paren','element','68BhoFuo','_allSearchableItems','children','menu','3190020nWEEep','get','key','_createSearchTextView','mouseleave','730tBGuyX','ck-ai-quick-actions-group-button','35rxHcEw','eastSouth','detachFromDom','content','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','actions','ck-ai-quick-actions-button_with-group__open-paren','delete','_hasSearch','button','362106JRlsTQ','440PEWHEN','_getPanelKeystroke','ck-rounded-corners','_createSearchResultGroupedActionButton','ck-button','resetSearch','keystrokes','30295IcWyXe','_createGroupActionsList','push','text','ck-ai-quick-actions-button__group-icon','ck-ai-quick-actions-search','set','_createSearchResultGroupRow','ck-ai-quick-actions-search-result-button_with-group','_createActionButton','_createSearchResultContentView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','render','ck-ai-quick-actions-search-result-button','view','displayedPrompt','_createSearchResultActionButton','_isMovingToNestedMenu','focusCycler','some','reset','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-button','extendTemplate','forEach','addEventListener','uiLanguageDirection','_hideNestedPanel','fieldView','AI_QUICK_ACTIONS_SEARCH','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-panel','ck-dropdown-menu-list','rtl','ck-ai-quick-actions-button_with-group','_bodyCollection','_openNestedPanels','ck-ai-quick-actions-group-list','div','_getButtonKeystroke','parent','ArrowRight','chain','add','_createListItems','setTemplate','1203hiEKHW','ArrowLeft','editing','fire','11TYftMm','focusTracker','4173888rwtyUB','role','ck-dropdown-menu__nested-menu__panel','relatedTarget','label','_createSearchResultActionRow','focus','execute','_createSearchResultIndividualActionButton','menuitem','_showNestedPanel','isOn','_searchTextView','locale','closest','pin','items','commands'];_0x2d5c=function(){return _0x43c774;};return _0x2d5c();}import{FocusTracker as _0x1602c9,KeystrokeHandler as _0x31a2ba}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x523208}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x5b7f62}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4021be}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x108440}from'./aiquickactionsfilteredlistview.js';function _0x402e(_0x7bf537,_0x449ee2){const _0x2d5c83=_0x2d5c();return _0x402e=function(_0x402eb4,_0x540a7b){_0x402eb4=_0x402eb4-0x15e;let _0x788287=_0x2d5c83[_0x402eb4];return _0x788287;},_0x402e(_0x7bf537,_0x449ee2);}const Qs=_0x453d1c(0x1d2),Gs=_0x453d1c(0x19f);export class AIQuickActionsDropdownContentView extends _0x26e0ec{[_0x453d1c(0x185)];[_0x453d1c(0x1b3)];[_0x453d1c(0x1a2)]=null;[_0x453d1c(0x1d0)]=[];[_0x453d1c(0x1d1)];[_0x453d1c(0x195)];[_0x453d1c(0x161)];[_0x453d1c(0x1c9)];[_0x453d1c(0x174)];[_0x453d1c(0x186)]=new Set();[_0x453d1c(0x1e2)];constructor(_0x47664a,_0x597a56,_0x5ceb2e,_0xa1046b,_0xbf1974=!0x1){const _0x2bef45=_0x453d1c,_0x22c9e2=_0x47664a[_0x2bef45(0x1a3)];super(_0x22c9e2),this[_0x2bef45(0x185)]=_0xa1046b,this[_0x2bef45(0x1e2)]=_0xbf1974;const _0x293113=this[_0x2bef45(0x18e)](_0x47664a,_0x597a56,_0x5ceb2e);this[_0x2bef45(0x1b3)]=new _0x108440(_0x22c9e2,_0x293113,this[_0x2bef45(0x1d0)]),this[_0x2bef45(0x1b3)][_0x2bef45(0x197)]=Qs,this[_0x2bef45(0x1b3)][_0x2bef45(0x1a6)][_0x2bef45(0x1b9)](_0x293113),this[_0x2bef45(0x195)]=new _0x1602c9(),this[_0x2bef45(0x161)]=new _0x31a2ba(),_0xbf1974&&(this[_0x2bef45(0x1a2)]=this[_0x2bef45(0x1d6)]()),this[_0x2bef45(0x1c9)]=_0x293113,this[_0x2bef45(0x174)]=new _0x36dfba({'focusables':this[_0x2bef45(0x1c9)],'focusTracker':this[_0x2bef45(0x195)],'keystrokeHandler':this[_0x2bef45(0x161)]}),_0xbf1974&&this[_0x2bef45(0x1a2)]&&this[_0x2bef45(0x174)][_0x2bef45(0x18c)](this[_0x2bef45(0x1a2)][_0x2bef45(0x174)]);const _0x53f801=_0xbf1974&&this[_0x2bef45(0x1a2)]?[this[_0x2bef45(0x1a2)]]:[this[_0x2bef45(0x1b3)]];this[_0x2bef45(0x1d1)]=new _0x4622ed(_0x53f801),this[_0x2bef45(0x18f)]({'tag':_0x2bef45(0x188),'attributes':{'class':['ck',_0x2bef45(0x1bd),_0x2bef45(0x1c1),_0x2bef45(0x1e7)],'dir':_0x22c9e2[_0x2bef45(0x17c)]},'children':this[_0x2bef45(0x1d1)]});}[_0x453d1c(0x1d6)](){const _0x37374=_0x453d1c;return new _0x38bea7(this[_0x37374(0x1a3)],{'filteredView':this[_0x37374(0x1b3)],'queryView':{'label':_0x4021be(this[_0x37374(0x1a3)],_0x37374(0x17f))},'class':_0x37374(0x167),'infoView':{'text':{'notFound':{'primary':_0x4021be(this[_0x37374(0x1a3)],_0x37374(0x1b5))}}}});}[_0x453d1c(0x1af)](){const _0x3caf76=_0x453d1c;if(!this[_0x3caf76(0x1e2)]||!this[_0x3caf76(0x1a2)]||!this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)])return!0x1;const _0x1d6e2c=this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)][_0x3caf76(0x1c4)]?.[_0x3caf76(0x1c5)];return this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)][_0x3caf76(0x1ab)](_0x1d6e2c);}[_0x453d1c(0x18e)](_0xcb0aa7,_0x253d3a,_0x16bc15){const _0x2bdb44=_0x453d1c,_0x50e10b=new _0x4622ed();return _0x253d3a[_0x2bdb44(0x17a)](_0x2cf42f=>{const _0x55442f=_0x2bdb44;if(_0x55442f(0x1df)in _0x2cf42f){const {listItem:_0x3eda88}=this[_0x55442f(0x1ae)](_0xcb0aa7,_0x2cf42f,_0x16bc15);_0x50e10b[_0x55442f(0x18d)](_0x3eda88),_0x2cf42f[_0x55442f(0x1df)][_0x55442f(0x17a)](_0x360fc2=>{const _0x1cc37a=_0x55442f;this[_0x1cc37a(0x16b)](_0xcb0aa7,_0x360fc2,_0x2cf42f[_0x1cc37a(0x19a)],_0x2cf42f[_0x1cc37a(0x1a9)]);const {listItem:_0x5d8d81,highlightViews:_0x162ca9}=this[_0x1cc37a(0x172)](_0xcb0aa7,_0x360fc2,_0x2cf42f[_0x1cc37a(0x19a)],_0x2cf42f[_0x1cc37a(0x1a9)]);this[_0x1cc37a(0x1d0)][_0x1cc37a(0x164)]({'item':_0x5d8d81,'label':_0x360fc2[_0x1cc37a(0x171)],'groupLabel':_0x2cf42f[_0x1cc37a(0x19a)],'highlightViews':_0x162ca9});});}else{const {listItem:_0x3c6279}=this[_0x55442f(0x16b)](_0xcb0aa7,_0x2cf42f);_0x50e10b[_0x55442f(0x18d)](_0x3c6279);const _0x81e365=_0x3c6279[_0x55442f(0x1d1)][_0x55442f(0x1b0)];if(_0x81e365){const {listItem:_0x572050,highlightViews:_0xf3f29b}=this[_0x55442f(0x172)](_0xcb0aa7,_0x2cf42f);this[_0x55442f(0x1d0)][_0x55442f(0x164)]({'item':_0x572050,'label':_0x81e365[_0x55442f(0x19a)]||'','highlightViews':_0xf3f29b});}}}),_0x50e10b;}[_0x453d1c(0x16b)](_0x2ceee7,_0x32e9a1,_0x454e3b,_0x385e10){const _0x3e59d4=_0x453d1c,_0x281fd4=new _0x3fb246(this[_0x3e59d4(0x1a3)]);if(_0x454e3b&&_0x385e10){const _0x329f4a=new _0x45d368(this[_0x3e59d4(0x1a3)]),_0x2d463c=_0x329f4a[_0x3e59d4(0x1c7)],_0x4582bf=new _0x525326();_0x4582bf[_0x3e59d4(0x165)]=_0x32e9a1[_0x3e59d4(0x171)];const _0xb6b1ab=new _0x525326();_0xb6b1ab[_0x3e59d4(0x165)]=_0x454e3b;const _0x152096=new _0x282034();_0x152096[_0x3e59d4(0x1dd)]=_0x385e10,_0x152096[_0x3e59d4(0x179)]({'attributes':{'class':_0x3e59d4(0x166)}});const _0x5c4cbd=new _0x26e0ec(this[_0x3e59d4(0x1a3)]);_0x5c4cbd[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1aa),'attributes':{'class':_0x3e59d4(0x1e0)},'children':[{'text':'\x20('}]});const _0x2d3aba=new _0x26e0ec(this[_0x3e59d4(0x1a3)]);return _0x2d3aba[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1aa),'attributes':{'class':_0x3e59d4(0x1cd)},'children':[{'text':')'}]}),_0x329f4a[_0x3e59d4(0x168)]({'label':_0x32e9a1[_0x3e59d4(0x171)]+'\x20('+_0x454e3b+')','withText':!0x0,'role':_0x3e59d4(0x19f),'class':_0x3e59d4(0x1de),'tooltip':!0x1}),_0x329f4a[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1e3),'attributes':{'class':['ck',_0x3e59d4(0x15f),_0x3e59d4(0x1b6),_0x3e59d4(0x178),_0x3e59d4(0x184)],'type':_0x3e59d4(0x1e3),'role':_0x3e59d4(0x19f),'tabindex':'-1'},'children':[_0x4582bf,_0x5c4cbd,_0x152096,_0xb6b1ab,_0x2d3aba],'on':{'mouseenter':_0x2d463c['to'](()=>{const _0x6a850c=_0x3e59d4;this[_0x6a850c(0x1af)]()||_0x329f4a[_0x6a850c(0x19c)]();}),'click':_0x2d463c['to'](()=>{const _0x28b95b=_0x3e59d4;_0x329f4a[_0x28b95b(0x193)](_0x28b95b(0x19d));})}}),_0x329f4a['on'](_0x3e59d4(0x19d),()=>{const _0x535b0e=_0x3e59d4;_0x2ceee7[_0x535b0e(0x192)][_0x535b0e(0x170)][_0x535b0e(0x19c)](),_0x2ceee7[_0x535b0e(0x1a7)][_0x535b0e(0x19d)](_0x535b0e(0x1be),_0x32e9a1);}),_0x281fd4[_0x3e59d4(0x1d1)][_0x3e59d4(0x18d)](_0x329f4a),{'listItem':_0x281fd4,'highlightViews':[_0x4582bf,_0xb6b1ab]};}{const _0x41f2ae=new _0x123b6a(),_0xa6ed4f=new _0x45d368(this[_0x3e59d4(0x1a3)],_0x41f2ae),_0x37dc7b=_0xa6ed4f[_0x3e59d4(0x1c7)],_0x200192=_0x32e9a1[_0x3e59d4(0x1a9)]??_0x32e9a1[_0x3e59d4(0x18a)]?.[_0x3e59d4(0x1a9)],_0x41c93f=void 0x0!==_0x32e9a1[_0x3e59d4(0x1a9)];return _0xa6ed4f[_0x3e59d4(0x168)]({'label':_0x32e9a1[_0x3e59d4(0x171)],'withText':!0x0,'role':_0x3e59d4(0x19f),'icon':_0x41c93f?_0x200192??_0x3b3cb4:void 0x0,'tooltip':!0x1,'class':_0x3e59d4(0x178)}),_0xa6ed4f[_0x3e59d4(0x179)]({'on':{'mouseenter':_0x37dc7b['to'](()=>{const _0x118e66=_0x3e59d4;this[_0x118e66(0x1af)]()||_0xa6ed4f[_0x118e66(0x19c)]();})}}),_0xa6ed4f['on'](_0x3e59d4(0x19d),()=>{const _0x351a80=_0x3e59d4;_0x2ceee7[_0x351a80(0x192)][_0x351a80(0x170)][_0x351a80(0x19c)](),_0x2ceee7[_0x351a80(0x1a7)][_0x351a80(0x19d)](_0x351a80(0x1be),_0x32e9a1);}),_0x281fd4[_0x3e59d4(0x1d1)][_0x3e59d4(0x18d)](_0xa6ed4f),{'listItem':_0x281fd4,'highlightViews':[_0x41f2ae]};}}[_0x453d1c(0x172)](_0x256f9c,_0x56ade1,_0x106d90,_0x2b267f){const _0x87a0ef=_0x453d1c;return _0x106d90&&_0x2b267f?this[_0x87a0ef(0x15e)](_0x256f9c,_0x56ade1,_0x106d90,_0x2b267f):this[_0x87a0ef(0x19e)](_0x256f9c,_0x56ade1);}[_0x453d1c(0x15e)](_0x4ab5d3,_0x5d837c,_0x230e85,_0x2366d8){const _0x30ebd3=_0x453d1c,_0x27fdad=new _0x3fb246(this[_0x30ebd3(0x1a3)]),_0x2836e8=new _0x45d368(this[_0x30ebd3(0x1a3)]),_0x460e66=_0x2836e8[_0x30ebd3(0x1c7)],{view:_0x47ba1f,highlightView:_0x2c3bd5}=this[_0x30ebd3(0x169)](_0x230e85,_0x2366d8),{view:_0x3b9eea,highlightView:_0x3ba9d9}=this[_0x30ebd3(0x19b)](_0x5d837c[_0x30ebd3(0x171)]),_0x3555b5=this[_0x30ebd3(0x16c)](_0x47ba1f,_0x3b9eea);return _0x2836e8[_0x30ebd3(0x168)]({'label':_0x5d837c[_0x30ebd3(0x171)],'withText':!0x0,'role':_0x30ebd3(0x19f),'class':_0x30ebd3(0x1b2),'tooltip':!0x1}),_0x2836e8[_0x30ebd3(0x18f)]({'tag':_0x30ebd3(0x1e3),'attributes':{'class':['ck',_0x30ebd3(0x15f),_0x30ebd3(0x1b6),_0x30ebd3(0x178),_0x30ebd3(0x16f),_0x30ebd3(0x16a)],'type':_0x30ebd3(0x1e3),'role':_0x30ebd3(0x19f),'tabindex':'-1'},'children':[_0x3555b5],'on':{'mouseenter':_0x460e66['to'](()=>{const _0x1e51cc=_0x30ebd3;this[_0x1e51cc(0x1af)]()||_0x2836e8[_0x1e51cc(0x19c)]();}),'click':_0x460e66['to'](()=>{const _0x3d85eb=_0x30ebd3;this[_0x3d85eb(0x1b4)](_0x2836e8);})}}),this[_0x30ebd3(0x1a8)](_0x2836e8,_0x4ab5d3,_0x5d837c),_0x27fdad[_0x30ebd3(0x1d1)][_0x30ebd3(0x18d)](_0x2836e8),{'listItem':_0x27fdad,'highlightViews':[_0x2c3bd5,_0x3ba9d9]};}[_0x453d1c(0x19e)](_0x2bb09c,_0x5eed60){const _0x57f94a=_0x453d1c,_0x40d41b=new _0x3fb246(this[_0x57f94a(0x1a3)]),_0x22c396=new _0x123b6a(),_0x6ae468=new _0x45d368(this[_0x57f94a(0x1a3)],_0x22c396),_0xebe232=_0x6ae468[_0x57f94a(0x1c7)];return _0x6ae468[_0x57f94a(0x168)]({'label':_0x5eed60[_0x57f94a(0x171)],'withText':!0x0,'role':_0x57f94a(0x19f),'icon':void 0x0,'tooltip':!0x1,'class':_0x57f94a(0x16d)}),_0x6ae468[_0x57f94a(0x179)]({'on':{'mouseenter':_0xebe232['to'](()=>{const _0x921dd6=_0x57f94a;this[_0x921dd6(0x1af)]()||_0x6ae468[_0x921dd6(0x19c)]();})}}),this[_0x57f94a(0x1a8)](_0x6ae468,_0x2bb09c,_0x5eed60),_0x40d41b[_0x57f94a(0x1d1)][_0x57f94a(0x18d)](_0x6ae468),{'listItem':_0x40d41b,'highlightViews':[_0x22c396]};}[_0x453d1c(0x169)](_0x31cf2b,_0x3f9c04){const _0x4c4d11=_0x453d1c,_0xe701ba=new _0x26e0ec(this[_0x4c4d11(0x1a3)]),_0x18169e=new _0x282034();_0x18169e[_0x4c4d11(0x1dd)]=_0x3f9c04,_0x18169e[_0x4c4d11(0x179)]({'attributes':{'class':_0x4c4d11(0x166)}});const _0x57f8c2=new _0x525326();return _0x57f8c2[_0x4c4d11(0x165)]=_0x31cf2b,_0xe701ba[_0x4c4d11(0x18f)]({'tag':_0x4c4d11(0x188),'attributes':{'class':_0x4c4d11(0x1b7)},'children':[_0x18169e,_0x57f8c2]}),{'view':_0xe701ba,'highlightView':_0x57f8c2};}[_0x453d1c(0x19b)](_0x34cce8){const _0x5437eb=_0x453d1c,_0x1283fe=new _0x26e0ec(this[_0x5437eb(0x1a3)]),_0x3c695c=new _0x525326();return _0x3c695c[_0x5437eb(0x165)]=_0x34cce8,_0x1283fe[_0x5437eb(0x18f)]({'tag':_0x5437eb(0x188),'attributes':{'class':_0x5437eb(0x1c8)},'children':[_0x3c695c]}),{'view':_0x1283fe,'highlightView':_0x3c695c};}[_0x453d1c(0x16c)](_0x39eac4,_0x3ce376){const _0x2e50c6=_0x453d1c,_0x2cdf5a=new _0x26e0ec(this[_0x2e50c6(0x1a3)]);return _0x2cdf5a[_0x2e50c6(0x18f)]({'tag':_0x2e50c6(0x188),'attributes':{'class':_0x2e50c6(0x177)},'children':[_0x39eac4,_0x3ce376]}),_0x2cdf5a;}[_0x453d1c(0x1a8)](_0x2ca687,_0x4bb214,_0x223ce8){const _0x2d39b2=_0x453d1c;_0x2ca687['on'](_0x2d39b2(0x19d),()=>{const _0xd93ef2=_0x2d39b2;_0x4bb214[_0xd93ef2(0x192)][_0xd93ef2(0x170)][_0xd93ef2(0x19c)](),_0x4bb214[_0xd93ef2(0x1a7)][_0xd93ef2(0x19d)](_0xd93ef2(0x1be),_0x223ce8);});}[_0x453d1c(0x1ae)](_0x40f5a4,_0x1460d6,_0x3f6649){const _0x53c897=_0x453d1c,_0x18a3f8=new _0x3fb246(this[_0x53c897(0x1a3)]),_0x3c6e36=new _0x123b6a(),_0x3a33a2=new _0x5b7f62(this[_0x53c897(0x1a3)],_0x3c6e36),_0x8951f7=_0x3a33a2[_0x53c897(0x1c7)],_0x14e43c=this[_0x53c897(0x1e6)](_0x3f6649),_0x4fcbd0=this[_0x53c897(0x163)](_0x40f5a4,_0x1460d6[_0x53c897(0x1df)],_0x3f6649);_0x3a33a2[_0x53c897(0x168)]({'label':_0x1460d6[_0x53c897(0x19a)],'withText':!0x0,'role':Gs,'icon':_0x1460d6[_0x53c897(0x1a9)]??_0x3b3cb4,'isEnabled':_0x1460d6[_0x53c897(0x1df)][_0x53c897(0x175)](_0x36fcd1=>_0x36fcd1[_0x53c897(0x1ad)])}),_0x3a33a2[_0x53c897(0x179)]({'on':{'mouseenter':_0x8951f7['to'](()=>{const _0x16c4f0=_0x53c897;this[_0x16c4f0(0x1af)]()||_0x3a33a2[_0x16c4f0(0x19c)]();})}});const _0x3e1e69=new _0x26a4e9(this[_0x53c897(0x1a3)]);return _0x3e1e69[_0x53c897(0x179)]({'attributes':{'class':['ck',_0x53c897(0x1bd),_0x53c897(0x181),_0x53c897(0x198)]},'on':{'keydown':_0x8951f7['to'](_0x2d6800=>{const _0x6a3d8e=_0x53c897;this[_0x6a3d8e(0x1ac)](_0x2d6800,_0x14e43c,_0x3a33a2,_0x3e1e69);})}}),_0x3a33a2[_0x53c897(0x1bf)](_0x53c897(0x1a1))['to'](_0x3e1e69,_0x53c897(0x1cb)),this[_0x53c897(0x185)][_0x53c897(0x18d)](_0x3e1e69),_0x3e1e69[_0x53c897(0x1dd)][_0x53c897(0x18d)](_0x4fcbd0),this[_0x53c897(0x1bc)](_0x3a33a2,_0x3e1e69),_0x18a3f8[_0x53c897(0x1d1)][_0x53c897(0x18d)](_0x3a33a2),{'listItem':_0x18a3f8,'highlightView':_0x3c6e36};}[_0x453d1c(0x163)](_0xf6fb44,_0x47deb8,_0x52d05a){const _0x31b529=_0x453d1c,_0x334b3d=new _0x4e6a78(this[_0x31b529(0x1a3)]);return _0x334b3d[_0x31b529(0x179)]({'attributes':{'class':['ck',_0x31b529(0x1bd),_0x31b529(0x187),_0x31b529(0x182)]}}),_0x47deb8[_0x31b529(0x17a)](_0x2cb029=>{const _0xdc3806=_0x31b529,_0x2db5c1=new _0x3fb246(this[_0xdc3806(0x1a3)]),_0x25e766=_0x523208({'editor':_0xf6fb44,'action':_0x2cb029,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0xdc3806(0x1af)]()})();_0x2db5c1[_0xdc3806(0x1d1)][_0xdc3806(0x18d)](_0x25e766),_0x52d05a[_0xdc3806(0x195)][_0xdc3806(0x18d)](_0x25e766),_0x334b3d[_0xdc3806(0x1a6)][_0xdc3806(0x18d)](_0x2db5c1);}),_0x334b3d;}[_0x453d1c(0x1bc)](_0x498702,_0x297134){const _0x4d322c=_0x453d1c,_0x530656=_0x498702[_0x4d322c(0x1c7)],_0x24f2e2=this[_0x4d322c(0x189)](_0x498702);_0x498702[_0x4d322c(0x179)]({'attributes':{'class':[_0x4d322c(0x1d9)]},'on':{'mouseenter':_0x530656['to'](()=>{const _0x14b89f=_0x4d322c;this[_0x14b89f(0x1a0)](_0x297134,_0x498702);}),'mouseleave':_0x530656['to'](_0x57cca4=>{const _0x3e9d3c=_0x4d322c,_0x4e50e7=_0x57cca4[_0x3e9d3c(0x199)];this[_0x3e9d3c(0x173)](_0x4e50e7,_0x297134)||this[_0x3e9d3c(0x17d)](_0x297134);}),'keydown':_0x530656['to'](_0x5289c2=>{const _0x155ae2=_0x4d322c;_0x5289c2[_0x155ae2(0x1d5)]==_0x24f2e2&&(this[_0x155ae2(0x1a0)](_0x297134,_0x498702),_0x297134[_0x155ae2(0x1dd)][_0x155ae2(0x1d4)](0x0)[_0x155ae2(0x19c)]());})}}),_0x297134['on'](_0x4d322c(0x16e),()=>{const _0x22c82a=_0x4d322c;_0x297134[_0x22c82a(0x1ce)]?.[_0x22c82a(0x17b)](_0x22c82a(0x1d7),_0x5906c5=>{const _0x594e32=_0x22c82a,_0x5ddc9e=_0x5906c5[_0x594e32(0x199)];_0x498702[_0x594e32(0x1ce)]?.[_0x594e32(0x1ab)](_0x5ddc9e)||this[_0x594e32(0x173)](_0x5ddc9e,_0x297134)||this[_0x594e32(0x17d)](_0x297134);});});}[_0x453d1c(0x1a0)](_0x609784,_0x47ff5d){const _0x432a6d=_0x453d1c;this[_0x432a6d(0x186)][_0x432a6d(0x17a)](_0x2c8632=>{const _0x550e08=_0x432a6d;_0x2c8632!==_0x609784&&_0x2c8632[_0x550e08(0x1cb)]&&_0x2c8632[_0x550e08(0x1c2)]();}),_0x609784[_0x432a6d(0x1c3)](),_0x609784[_0x432a6d(0x1a5)]({'positions':[_0x1ac682[_0x432a6d(0x1db)]],'target':_0x47ff5d[_0x432a6d(0x1ce)],'fitInViewport':!0x0}),this[_0x432a6d(0x186)][_0x432a6d(0x18d)](_0x609784);}[_0x453d1c(0x17d)](_0x4b8969){const _0x585cd6=_0x453d1c;_0x4b8969[_0x585cd6(0x1c2)](),this[_0x585cd6(0x186)][_0x585cd6(0x1e1)](_0x4b8969);}[_0x453d1c(0x1c6)](){const _0x18992f=_0x453d1c;this[_0x18992f(0x186)][_0x18992f(0x17a)](_0x4ac141=>_0x4ac141[_0x18992f(0x1c2)]()),this[_0x18992f(0x186)][_0x18992f(0x1b1)]();}[_0x453d1c(0x173)](_0x459c10,_0x49bc71){const _0x501d5a=_0x453d1c;if(!_0x459c10)return!0x1;if(_0x49bc71[_0x501d5a(0x1ce)]?.[_0x501d5a(0x1ab)](_0x459c10))return!0x0;const _0x697063=_0x459c10;return _0x697063[_0x501d5a(0x1a4)]&&(null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x1ca))||null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x1ba))||null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x180)));}[_0x453d1c(0x160)](){const _0x4c0b60=_0x453d1c;this[_0x4c0b60(0x1a2)]&&this[_0x4c0b60(0x1a2)][_0x4c0b60(0x176)]();}[_0x453d1c(0x1b8)](){const _0x2adea9=_0x453d1c;this[_0x2adea9(0x1c6)](),this[_0x2adea9(0x185)][_0x2adea9(0x1dc)](),super[_0x2adea9(0x1b8)]();}[_0x453d1c(0x19c)](){const _0x255b4a=_0x453d1c;this[_0x255b4a(0x1a2)]?this[_0x255b4a(0x1a2)][_0x255b4a(0x19c)]():this[_0x255b4a(0x1b3)][_0x255b4a(0x19c)]();}[_0x453d1c(0x1e6)](_0xd92e9e){const _0xb0d4ef=_0x453d1c;return _0xb0d4ef(0x183)===_0xd92e9e[_0xb0d4ef(0x1a3)][_0xb0d4ef(0x17c)]?_0xb0d4ef(0x18b):_0xb0d4ef(0x191);}[_0x453d1c(0x189)](_0x456b7b){const _0x172396=_0x453d1c;return _0x172396(0x183)===_0x456b7b[_0x172396(0x1a3)][_0x172396(0x17c)]?_0x172396(0x191):_0x172396(0x18b);}[_0x453d1c(0x1ac)](_0x703dca,_0x426b21,_0x4f74c9,_0x89d99d){const _0x1aefe3=_0x453d1c;_0x703dca[_0x1aefe3(0x1d5)]==_0x426b21&&(_0x4f74c9[_0x1aefe3(0x19c)](),this[_0x1aefe3(0x17d)](_0x89d99d));}[_0x453d1c(0x1b4)](_0x3e7fa2){const _0x234059=_0x453d1c;_0x3e7fa2[_0x234059(0x193)](_0x234059(0x19d));}}
|
|
23
|
+
const _0x2dcbe9=_0x5651;(function(_0x44b547,_0x33c05a){const _0x37f170=_0x5651,_0x433f87=_0x44b547();while(!![]){try{const _0x184479=-parseInt(_0x37f170(0x17b))/0x1*(-parseInt(_0x37f170(0x141))/0x2)+parseInt(_0x37f170(0x16c))/0x3+-parseInt(_0x37f170(0x177))/0x4+parseInt(_0x37f170(0x179))/0x5+-parseInt(_0x37f170(0x12c))/0x6+-parseInt(_0x37f170(0x126))/0x7+parseInt(_0x37f170(0x14d))/0x8;if(_0x184479===_0x33c05a)break;else _0x433f87['push'](_0x433f87['shift']());}catch(_0x24746c){_0x433f87['push'](_0x433f87['shift']());}}}(_0x5bf1,0xe7ec2));import{View as _0x5f4784,ListItemView as _0x2c7cb0,ListView as _0x563593,BalloonPanelView as _0x3eb81d,DropdownMenuPanelPositioningFunctions as _0x255859,ViewCollection as _0x28adf9,FocusCycler as _0x483b2e,ButtonView as _0x9d50e5,IconView as _0x21c088,HighlightedTextView as _0x41cc49,ButtonLabelWithHighlightView as _0x149ebb,SearchTextView as _0x1c9c78}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x50c411}from'@ckeditor/ckeditor5-icons';function _0x5bf1(){const _0x4f0593=['get','_createActionGroupButton','div','_createListItems','button','14597080kQJhPZ','_createSearchTextView','ck-dropdown-menu-list','.ck-ai-quick-actions-group-button','contains','ck-button','clear','_openNestedPanels','focusCycler','first','mouseleave','ck-ai-quick-actions-search-result-button','extendTemplate','_createSearchResultIndividualActionButton','span','_allSearchableItems','keystrokes','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','detachFromDom','isVisible','rtl','reset','ck-ai-quick-actions','displayedPrompt','items','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_handlePanelKeydown','.ck-ai-quick-actions-group-list','_showNestedPanel','ck-ai-quick-actions-search-result-button_with-group','1531284SxutkT','_setupActionButtonExecution','ck-ai-quick-actions-button','editing','focusTracker','_searchTextView','render','ck-ai-quick-actions-button_with-group','_hideAllNestedPanels','bindTemplate','key','7544208kulHgx','label','7963625qPBATI','_hideNestedPanel','143320XcwltZ','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search','AI_QUICK_ACTIONS_SEARCH','ck-ai-quick-actions-button__group-icon','ArrowLeft','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','_isSearchFocused','_createSearchResultContentView','fieldView','closest','.ck-ai-quick-actions-group-panel','focus','pin','forEach','fire','content','_hasSearch','_createSearchResultActionButton','eastSouth','ArrowRight','ownerDocument','hide','aiQuickAction','_setupGroupMenuBehavior','ck-ai-quick-actions-group-panel','_createActionButton','_createSearchResultActionRow','ck-reset_all','add','locale','uiLanguageDirection','_isMovingToNestedMenu','_handleSearchResultButtonClick','isEnabled','execute','ck-button_with-text','_bodyCollection','children','queryView','show','_getPanelKeystroke','push','menuitem','ck-rounded-corners','menu','isOn','4845806qAWnvP','commands','_createGroupActionsList','activeElement','addMany','parent','8416584hNwiUo','setTemplate','set','chain','view','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultGroupRow','resetSearch','_createSearchResultGroupedActionButton','role','element','ck-ai-quick-actions-search-result__action-row','bind','ck-ai-quick-actions-search-result__content','some','ck-ai-quick-actions-button_with-group__close-paren','optionsListView','addEventListener','destroy','icon','_getButtonKeystroke','14QCJIvR','relatedTarget','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','delete','_focusables','actions','text'];_0x5bf1=function(){return _0x4f0593;};return _0x5bf1();}import{FocusTracker as _0x30a7ca,KeystrokeHandler as _0x202db3}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4a36d1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1daa59}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x8e7bef}from'../../aicore/utils/common-translations.js';function _0x5651(_0x3b7dce,_0xe17e0a){const _0x5bf158=_0x5bf1();return _0x5651=function(_0x5651d8,_0x1d227b){_0x5651d8=_0x5651d8-0xf9;let _0x4ec00c=_0x5bf158[_0x5651d8];return _0x4ec00c;},_0x5651(_0x3b7dce,_0xe17e0a);}import{AIQuickActionsFilteredListView as _0x5f4507}from'./aiquickactionsfilteredlistview.js';const Qs=_0x2dcbe9(0x124),Gs=_0x2dcbe9(0x122);export class AIQuickActionsDropdownContentView extends _0x5f4784{[_0x2dcbe9(0x11c)];[_0x2dcbe9(0x13c)];[_0x2dcbe9(0x171)]=null;[_0x2dcbe9(0x15c)]=[];[_0x2dcbe9(0x11d)];[_0x2dcbe9(0x170)];[_0x2dcbe9(0x15d)];[_0x2dcbe9(0x145)];[_0x2dcbe9(0x155)];[_0x2dcbe9(0x154)]=new Set();[_0x2dcbe9(0x108)];constructor(_0x2b66c7,_0x167371,_0x541a74,_0x355ece,_0x43d130=!0x1){const _0x3d19cc=_0x2dcbe9,_0x28b2b5=_0x2b66c7[_0x3d19cc(0x115)];super(_0x28b2b5),this[_0x3d19cc(0x11c)]=_0x355ece,this[_0x3d19cc(0x108)]=_0x43d130;const _0x3a5bda=this[_0x3d19cc(0x14b)](_0x2b66c7,_0x167371,_0x541a74);this[_0x3d19cc(0x13c)]=new _0x5f4507(_0x28b2b5,_0x3a5bda,this[_0x3d19cc(0x15c)]),this[_0x3d19cc(0x13c)][_0x3d19cc(0x135)]=Qs,this[_0x3d19cc(0x13c)][_0x3d19cc(0x166)][_0x3d19cc(0x12a)](_0x3a5bda),this[_0x3d19cc(0x170)]=new _0x30a7ca(),this[_0x3d19cc(0x15d)]=new _0x202db3(),_0x43d130&&(this[_0x3d19cc(0x171)]=this[_0x3d19cc(0x14e)]()),this[_0x3d19cc(0x145)]=_0x3a5bda,this[_0x3d19cc(0x155)]=new _0x483b2e({'focusables':this[_0x3d19cc(0x145)],'focusTracker':this[_0x3d19cc(0x170)],'keystrokeHandler':this[_0x3d19cc(0x15d)]}),_0x43d130&&this[_0x3d19cc(0x171)]&&this[_0x3d19cc(0x155)][_0x3d19cc(0x12f)](this[_0x3d19cc(0x171)][_0x3d19cc(0x155)]);const _0x34a7e4=_0x43d130&&this[_0x3d19cc(0x171)]?[this[_0x3d19cc(0x171)]]:[this[_0x3d19cc(0x13c)]];this[_0x3d19cc(0x11d)]=new _0x28adf9(_0x34a7e4),this[_0x3d19cc(0x12d)]({'tag':_0x3d19cc(0x14a),'attributes':{'class':['ck',_0x3d19cc(0x113),_0x3d19cc(0x164),_0x3d19cc(0x123)],'dir':_0x28b2b5[_0x3d19cc(0x116)]},'children':this[_0x3d19cc(0x11d)]});}[_0x2dcbe9(0x14e)](){const _0x1f6a8d=_0x2dcbe9;return new _0x1c9c78(this[_0x1f6a8d(0x115)],{'filteredView':this[_0x1f6a8d(0x13c)],'queryView':{'label':_0x8e7bef(this[_0x1f6a8d(0x115)],_0x1f6a8d(0x17e))},'class':_0x1f6a8d(0x17d),'infoView':{'text':{'notFound':{'primary':_0x8e7bef(this[_0x1f6a8d(0x115)],_0x1f6a8d(0x167))}}}});}[_0x2dcbe9(0xfe)](){const _0x30195a=_0x2dcbe9;if(!this[_0x30195a(0x108)]||!this[_0x30195a(0x171)]||!this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)])return!0x1;const _0x1e0733=this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)][_0x30195a(0x10c)]?.[_0x30195a(0x129)];return this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)][_0x30195a(0x151)](_0x1e0733);}[_0x2dcbe9(0x14b)](_0x2a8573,_0x2319ef,_0x1ecbe5){const _0x41d7d3=_0x2dcbe9,_0x20948d=new _0x28adf9();return _0x2319ef[_0x41d7d3(0x105)](_0x592005=>{const _0x31c448=_0x41d7d3;if(_0x31c448(0x146)in _0x592005){const {listItem:_0x3a0015}=this[_0x31c448(0x149)](_0x2a8573,_0x592005,_0x1ecbe5);_0x20948d[_0x31c448(0x114)](_0x3a0015),_0x592005[_0x31c448(0x146)][_0x31c448(0x105)](_0x15c6c8=>{const _0x270ed2=_0x31c448;this[_0x270ed2(0x111)](_0x2a8573,_0x15c6c8,_0x592005[_0x270ed2(0x178)],_0x592005[_0x270ed2(0x13f)]);const {listItem:_0x54ea94,highlightViews:_0x5d138e}=this[_0x270ed2(0x109)](_0x2a8573,_0x15c6c8,_0x592005[_0x270ed2(0x178)],_0x592005[_0x270ed2(0x13f)]);this[_0x270ed2(0x15c)][_0x270ed2(0x121)]({'item':_0x54ea94,'label':_0x15c6c8[_0x270ed2(0x165)],'groupLabel':_0x592005[_0x270ed2(0x178)],'highlightViews':_0x5d138e});});}else{const {listItem:_0x1c0809}=this[_0x31c448(0x111)](_0x2a8573,_0x592005);_0x20948d[_0x31c448(0x114)](_0x1c0809);const _0x5b771f=_0x1c0809[_0x31c448(0x11d)][_0x31c448(0x156)];if(_0x5b771f){const {listItem:_0x396192,highlightViews:_0xed9745}=this[_0x31c448(0x109)](_0x2a8573,_0x592005);this[_0x31c448(0x15c)][_0x31c448(0x121)]({'item':_0x396192,'label':_0x5b771f[_0x31c448(0x178)]||'','highlightViews':_0xed9745});}}}),_0x20948d;}[_0x2dcbe9(0x111)](_0xf097de,_0x280cf7,_0x49a63b,_0x1caf58){const _0x3eb26f=_0x2dcbe9,_0x31ac7c=new _0x2c7cb0(this[_0x3eb26f(0x115)]);if(_0x49a63b&&_0x1caf58){const _0x4b8740=new _0x9d50e5(this[_0x3eb26f(0x115)]),_0x3ec571=_0x4b8740[_0x3eb26f(0x175)],_0x1eae75=new _0x41cc49();_0x1eae75[_0x3eb26f(0x147)]=_0x280cf7[_0x3eb26f(0x165)];const _0x24ffed=new _0x41cc49();_0x24ffed[_0x3eb26f(0x147)]=_0x49a63b;const _0x32c833=new _0x21c088();_0x32c833[_0x3eb26f(0x107)]=_0x1caf58,_0x32c833[_0x3eb26f(0x159)]({'attributes':{'class':_0x3eb26f(0xf9)}});const _0x52751e=new _0x5f4784(this[_0x3eb26f(0x115)]);_0x52751e[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x15b),'attributes':{'class':_0x3eb26f(0xfb)},'children':[{'text':'\x20('}]});const _0x58c168=new _0x5f4784(this[_0x3eb26f(0x115)]);return _0x58c168[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x15b),'attributes':{'class':_0x3eb26f(0x13b)},'children':[{'text':')'}]}),_0x4b8740[_0x3eb26f(0x12e)]({'label':_0x280cf7[_0x3eb26f(0x165)]+'\x20('+_0x49a63b+')','withText':!0x0,'role':_0x3eb26f(0x122),'class':_0x3eb26f(0x131),'tooltip':!0x1}),_0x4b8740[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x14c),'attributes':{'class':['ck',_0x3eb26f(0x152),_0x3eb26f(0x11b),_0x3eb26f(0x16e),_0x3eb26f(0x173)],'type':_0x3eb26f(0x14c),'role':_0x3eb26f(0x122),'tabindex':'-1'},'children':[_0x1eae75,_0x52751e,_0x32c833,_0x24ffed,_0x58c168],'on':{'mouseenter':_0x3ec571['to'](()=>{const _0x307d80=_0x3eb26f;this[_0x307d80(0xfe)]()||_0x4b8740[_0x307d80(0x103)]();}),'click':_0x3ec571['to'](()=>{const _0x22fe7e=_0x3eb26f;_0x4b8740[_0x22fe7e(0x106)](_0x22fe7e(0x11a));})}}),_0x4b8740['on'](_0x3eb26f(0x11a),()=>{const _0x306dbb=_0x3eb26f;_0xf097de[_0x306dbb(0x16f)][_0x306dbb(0x130)][_0x306dbb(0x103)](),_0xf097de[_0x306dbb(0x127)][_0x306dbb(0x11a)](_0x306dbb(0x10e),_0x280cf7);}),_0x31ac7c[_0x3eb26f(0x11d)][_0x3eb26f(0x114)](_0x4b8740),{'listItem':_0x31ac7c,'highlightViews':[_0x1eae75,_0x24ffed]};}{const _0x506dd4=new _0x149ebb(),_0x34ab22=new _0x9d50e5(this[_0x3eb26f(0x115)],_0x506dd4),_0x4765ec=_0x34ab22[_0x3eb26f(0x175)],_0x25b9f5=_0x280cf7[_0x3eb26f(0x13f)]??_0x280cf7[_0x3eb26f(0x12b)]?.[_0x3eb26f(0x13f)],_0x3f6d41=void 0x0!==_0x280cf7[_0x3eb26f(0x13f)];return _0x34ab22[_0x3eb26f(0x12e)]({'label':_0x280cf7[_0x3eb26f(0x165)],'withText':!0x0,'role':_0x3eb26f(0x122),'icon':_0x3f6d41?_0x25b9f5??_0x50c411:void 0x0,'tooltip':!0x1,'class':_0x3eb26f(0x16e)}),_0x34ab22[_0x3eb26f(0x159)]({'on':{'mouseenter':_0x4765ec['to'](()=>{const _0x22fe6e=_0x3eb26f;this[_0x22fe6e(0xfe)]()||_0x34ab22[_0x22fe6e(0x103)]();})}}),_0x34ab22['on'](_0x3eb26f(0x11a),()=>{const _0x5e6b43=_0x3eb26f;_0xf097de[_0x5e6b43(0x16f)][_0x5e6b43(0x130)][_0x5e6b43(0x103)](),_0xf097de[_0x5e6b43(0x127)][_0x5e6b43(0x11a)](_0x5e6b43(0x10e),_0x280cf7);}),_0x31ac7c[_0x3eb26f(0x11d)][_0x3eb26f(0x114)](_0x34ab22),{'listItem':_0x31ac7c,'highlightViews':[_0x506dd4]};}}[_0x2dcbe9(0x109)](_0x4b2249,_0x1e2187,_0x37417b,_0x28bde6){const _0x32e4e3=_0x2dcbe9;return _0x37417b&&_0x28bde6?this[_0x32e4e3(0x134)](_0x4b2249,_0x1e2187,_0x37417b,_0x28bde6):this[_0x32e4e3(0x15a)](_0x4b2249,_0x1e2187);}[_0x2dcbe9(0x134)](_0x338d7b,_0x45c4d8,_0x109278,_0x2f061a){const _0x5947de=_0x2dcbe9,_0x522958=new _0x2c7cb0(this[_0x5947de(0x115)]),_0x51a9c4=new _0x9d50e5(this[_0x5947de(0x115)]),_0x595ec4=_0x51a9c4[_0x5947de(0x175)],{view:_0x559ef2,highlightView:_0x3cf61a}=this[_0x5947de(0x132)](_0x109278,_0x2f061a),{view:_0x53a6a8,highlightView:_0x5c9aa3}=this[_0x5947de(0x112)](_0x45c4d8[_0x5947de(0x165)]),_0x197fe5=this[_0x5947de(0xff)](_0x559ef2,_0x53a6a8);return _0x51a9c4[_0x5947de(0x12e)]({'label':_0x45c4d8[_0x5947de(0x165)],'withText':!0x0,'role':_0x5947de(0x122),'class':_0x5947de(0x143),'tooltip':!0x1}),_0x51a9c4[_0x5947de(0x12d)]({'tag':_0x5947de(0x14c),'attributes':{'class':['ck',_0x5947de(0x152),_0x5947de(0x11b),_0x5947de(0x16e),_0x5947de(0x158),_0x5947de(0x16b)],'type':_0x5947de(0x14c),'role':_0x5947de(0x122),'tabindex':'-1'},'children':[_0x197fe5],'on':{'mouseenter':_0x595ec4['to'](()=>{const _0xaee498=_0x5947de;this[_0xaee498(0xfe)]()||_0x51a9c4[_0xaee498(0x103)]();}),'click':_0x595ec4['to'](()=>{const _0x1673c4=_0x5947de;this[_0x1673c4(0x118)](_0x51a9c4);})}}),this[_0x5947de(0x16d)](_0x51a9c4,_0x338d7b,_0x45c4d8),_0x522958[_0x5947de(0x11d)][_0x5947de(0x114)](_0x51a9c4),{'listItem':_0x522958,'highlightViews':[_0x3cf61a,_0x5c9aa3]};}[_0x2dcbe9(0x15a)](_0x16a670,_0x2ff34c){const _0x14eca4=_0x2dcbe9,_0x1db5c1=new _0x2c7cb0(this[_0x14eca4(0x115)]),_0x289f50=new _0x149ebb(),_0x5200a8=new _0x9d50e5(this[_0x14eca4(0x115)],_0x289f50),_0xd11002=_0x5200a8[_0x14eca4(0x175)];return _0x5200a8[_0x14eca4(0x12e)]({'label':_0x2ff34c[_0x14eca4(0x165)],'withText':!0x0,'role':_0x14eca4(0x122),'icon':void 0x0,'tooltip':!0x1,'class':_0x14eca4(0x15f)}),_0x5200a8[_0x14eca4(0x159)]({'on':{'mouseenter':_0xd11002['to'](()=>{const _0x1dc7ef=_0x14eca4;this[_0x1dc7ef(0xfe)]()||_0x5200a8[_0x1dc7ef(0x103)]();})}}),this[_0x14eca4(0x16d)](_0x5200a8,_0x16a670,_0x2ff34c),_0x1db5c1[_0x14eca4(0x11d)][_0x14eca4(0x114)](_0x5200a8),{'listItem':_0x1db5c1,'highlightViews':[_0x289f50]};}[_0x2dcbe9(0x132)](_0x775655,_0x2fa19d){const _0x58694b=_0x2dcbe9,_0x124305=new _0x5f4784(this[_0x58694b(0x115)]),_0x3340c8=new _0x21c088();_0x3340c8[_0x58694b(0x107)]=_0x2fa19d,_0x3340c8[_0x58694b(0x159)]({'attributes':{'class':_0x58694b(0xf9)}});const _0x378667=new _0x41cc49();return _0x378667[_0x58694b(0x147)]=_0x775655,_0x124305[_0x58694b(0x12d)]({'tag':_0x58694b(0x14a),'attributes':{'class':_0x58694b(0x15e)},'children':[_0x3340c8,_0x378667]}),{'view':_0x124305,'highlightView':_0x378667};}[_0x2dcbe9(0x112)](_0x19a17f){const _0x4c2bae=_0x2dcbe9,_0x2419cb=new _0x5f4784(this[_0x4c2bae(0x115)]),_0x2a5ac5=new _0x41cc49();return _0x2a5ac5[_0x4c2bae(0x147)]=_0x19a17f,_0x2419cb[_0x4c2bae(0x12d)]({'tag':_0x4c2bae(0x14a),'attributes':{'class':_0x4c2bae(0x137)},'children':[_0x2a5ac5]}),{'view':_0x2419cb,'highlightView':_0x2a5ac5};}[_0x2dcbe9(0xff)](_0x4c1121,_0x56d014){const _0x4efc9c=_0x2dcbe9,_0x5a1a50=new _0x5f4784(this[_0x4efc9c(0x115)]);return _0x5a1a50[_0x4efc9c(0x12d)]({'tag':_0x4efc9c(0x14a),'attributes':{'class':_0x4efc9c(0x139)},'children':[_0x4c1121,_0x56d014]}),_0x5a1a50;}[_0x2dcbe9(0x16d)](_0x5bed96,_0x3b4d22,_0x5676ba){const _0x756e76=_0x2dcbe9;_0x5bed96['on'](_0x756e76(0x11a),()=>{const _0x16919b=_0x756e76;_0x3b4d22[_0x16919b(0x16f)][_0x16919b(0x130)][_0x16919b(0x103)](),_0x3b4d22[_0x16919b(0x127)][_0x16919b(0x11a)](_0x16919b(0x10e),_0x5676ba);});}[_0x2dcbe9(0x149)](_0xff93e5,_0x1abd0e,_0x35b4fa){const _0x355336=_0x2dcbe9,_0x579d35=new _0x2c7cb0(this[_0x355336(0x115)]),_0x37d0f6=new _0x149ebb(),_0x233e3e=new _0x1daa59(this[_0x355336(0x115)],_0x37d0f6),_0x4ad501=_0x233e3e[_0x355336(0x175)],_0x4a64ec=this[_0x355336(0x120)](_0x35b4fa),_0x5f07be=this[_0x355336(0x128)](_0xff93e5,_0x1abd0e[_0x355336(0x146)],_0x35b4fa);_0x233e3e[_0x355336(0x12e)]({'label':_0x1abd0e[_0x355336(0x178)],'withText':!0x0,'role':Gs,'icon':_0x1abd0e[_0x355336(0x13f)]??_0x50c411,'isEnabled':_0x1abd0e[_0x355336(0x146)][_0x355336(0x13a)](_0x2cc14f=>_0x2cc14f[_0x355336(0x119)])}),_0x233e3e[_0x355336(0x159)]({'on':{'mouseenter':_0x4ad501['to'](()=>{const _0x16b824=_0x355336;this[_0x16b824(0xfe)]()||_0x233e3e[_0x16b824(0x103)]();})}});const _0xd2ba13=new _0x3eb81d(this[_0x355336(0x115)]);return _0xd2ba13[_0x355336(0x159)]({'attributes':{'class':['ck',_0x355336(0x113),_0x355336(0x110),_0x355336(0xfd)]},'on':{'keydown':_0x4ad501['to'](_0x4eae22=>{const _0x5cd4fa=_0x355336;this[_0x5cd4fa(0x168)](_0x4eae22,_0x4a64ec,_0x233e3e,_0xd2ba13);})}}),_0x233e3e[_0x355336(0x138)](_0x355336(0x125))['to'](_0xd2ba13,_0x355336(0x161)),this[_0x355336(0x11c)][_0x355336(0x114)](_0xd2ba13),_0xd2ba13[_0x355336(0x107)][_0x355336(0x114)](_0x5f07be),this[_0x355336(0x10f)](_0x233e3e,_0xd2ba13),_0x579d35[_0x355336(0x11d)][_0x355336(0x114)](_0x233e3e),{'listItem':_0x579d35,'highlightView':_0x37d0f6};}[_0x2dcbe9(0x128)](_0x3b6922,_0x223b98,_0x2b93f4){const _0x1e3d5f=_0x2dcbe9,_0x382cfa=new _0x563593(this[_0x1e3d5f(0x115)]);return _0x382cfa[_0x1e3d5f(0x159)]({'attributes':{'class':['ck',_0x1e3d5f(0x113),_0x1e3d5f(0xfc),_0x1e3d5f(0x14f)]}}),_0x223b98[_0x1e3d5f(0x105)](_0x26217d=>{const _0x26fca9=_0x1e3d5f,_0x33c14f=new _0x2c7cb0(this[_0x26fca9(0x115)]),_0x515af8=_0x4a36d1({'editor':_0x3b6922,'action':_0x26217d,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x26fca9(0xfe)]()})();_0x33c14f[_0x26fca9(0x11d)][_0x26fca9(0x114)](_0x515af8),_0x2b93f4[_0x26fca9(0x170)][_0x26fca9(0x114)](_0x515af8),_0x382cfa[_0x26fca9(0x166)][_0x26fca9(0x114)](_0x33c14f);}),_0x382cfa;}[_0x2dcbe9(0x10f)](_0x1539dd,_0x3f6c06){const _0x3e01db=_0x2dcbe9,_0x299696=_0x1539dd[_0x3e01db(0x175)],_0x204bab=this[_0x3e01db(0x140)](_0x1539dd);_0x1539dd[_0x3e01db(0x159)]({'attributes':{'class':[_0x3e01db(0x17c)]},'on':{'mouseenter':_0x299696['to'](()=>{const _0x2dc2c1=_0x3e01db;this[_0x2dc2c1(0x16a)](_0x3f6c06,_0x1539dd);}),'mouseleave':_0x299696['to'](_0x2e546f=>{const _0x475e71=_0x3e01db,_0x3a2e1a=_0x2e546f[_0x475e71(0x142)];this[_0x475e71(0x117)](_0x3a2e1a,_0x3f6c06)||this[_0x475e71(0x17a)](_0x3f6c06);}),'keydown':_0x299696['to'](_0x21f6f2=>{const _0x1e05f7=_0x3e01db;_0x21f6f2[_0x1e05f7(0x176)]==_0x204bab&&(this[_0x1e05f7(0x16a)](_0x3f6c06,_0x1539dd),_0x3f6c06[_0x1e05f7(0x107)][_0x1e05f7(0x148)](0x0)[_0x1e05f7(0x103)]());})}}),_0x3f6c06['on'](_0x3e01db(0x172),()=>{const _0x1a3d86=_0x3e01db;_0x3f6c06[_0x1a3d86(0x136)]?.[_0x1a3d86(0x13d)](_0x1a3d86(0x157),_0x4d438d=>{const _0x1ebf3c=_0x1a3d86,_0x35b00f=_0x4d438d[_0x1ebf3c(0x142)];_0x1539dd[_0x1ebf3c(0x136)]?.[_0x1ebf3c(0x151)](_0x35b00f)||this[_0x1ebf3c(0x117)](_0x35b00f,_0x3f6c06)||this[_0x1ebf3c(0x17a)](_0x3f6c06);});});}[_0x2dcbe9(0x16a)](_0x1d6070,_0x4661ef){const _0x56037e=_0x2dcbe9;this[_0x56037e(0x154)][_0x56037e(0x105)](_0x3fb701=>{const _0xd94da3=_0x56037e;_0x3fb701!==_0x1d6070&&_0x3fb701[_0xd94da3(0x161)]&&_0x3fb701[_0xd94da3(0x10d)]();}),_0x1d6070[_0x56037e(0x11f)](),_0x1d6070[_0x56037e(0x104)]({'positions':[_0x255859[_0x56037e(0x10a)]],'target':_0x4661ef[_0x56037e(0x136)],'fitInViewport':!0x0}),this[_0x56037e(0x154)][_0x56037e(0x114)](_0x1d6070);}[_0x2dcbe9(0x17a)](_0x2d6610){const _0x3cb36e=_0x2dcbe9;_0x2d6610[_0x3cb36e(0x10d)](),this[_0x3cb36e(0x154)][_0x3cb36e(0x144)](_0x2d6610);}[_0x2dcbe9(0x174)](){const _0x15f1a0=_0x2dcbe9;this[_0x15f1a0(0x154)][_0x15f1a0(0x105)](_0x4c221d=>_0x4c221d[_0x15f1a0(0x10d)]()),this[_0x15f1a0(0x154)][_0x15f1a0(0x153)]();}[_0x2dcbe9(0x117)](_0x37ef34,_0x242efb){const _0x59d60f=_0x2dcbe9;if(!_0x37ef34)return!0x1;if(_0x242efb[_0x59d60f(0x136)]?.[_0x59d60f(0x151)](_0x37ef34))return!0x0;const _0x13b734=_0x37ef34;return _0x13b734[_0x59d60f(0x101)]&&(null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x102))||null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x169))||null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x150)));}[_0x2dcbe9(0x133)](){const _0x505762=_0x2dcbe9;this[_0x505762(0x171)]&&this[_0x505762(0x171)][_0x505762(0x163)]();}[_0x2dcbe9(0x13e)](){const _0x16d59c=_0x2dcbe9;this[_0x16d59c(0x174)](),this[_0x16d59c(0x11c)][_0x16d59c(0x160)](),super[_0x16d59c(0x13e)]();}[_0x2dcbe9(0x103)](){const _0x4d2e11=_0x2dcbe9;this[_0x4d2e11(0x171)]?this[_0x4d2e11(0x171)][_0x4d2e11(0x103)]():this[_0x4d2e11(0x13c)][_0x4d2e11(0x103)]();}[_0x2dcbe9(0x120)](_0x334750){const _0x1171a0=_0x2dcbe9;return _0x1171a0(0x162)===_0x334750[_0x1171a0(0x115)][_0x1171a0(0x116)]?_0x1171a0(0x10b):_0x1171a0(0xfa);}[_0x2dcbe9(0x140)](_0x137cd4){const _0x37a134=_0x2dcbe9;return _0x37a134(0x162)===_0x137cd4[_0x37a134(0x115)][_0x37a134(0x116)]?_0x37a134(0xfa):_0x37a134(0x10b);}[_0x2dcbe9(0x168)](_0x54fa0e,_0x51b11b,_0x218c40,_0x362a8a){const _0x363dfe=_0x2dcbe9;_0x54fa0e[_0x363dfe(0x176)]==_0x51b11b&&(_0x218c40[_0x363dfe(0x103)](),this[_0x363dfe(0x17a)](_0x362a8a));}[_0x2dcbe9(0x118)](_0x5d9d8d){const _0x43545b=_0x2dcbe9;_0x5d9d8d[_0x43545b(0x106)](_0x43545b(0x11a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x35a2c7,_0x356e34){const _0x1b4ad9=_0x14af,_0x2d0d63=_0x35a2c7();while(!![]){try{const _0xcf5bc7=parseInt(_0x1b4ad9(0xee))/0x1+parseInt(_0x1b4ad9(0x108))/0x2+parseInt(_0x1b4ad9(0xec))/0x3*(parseInt(_0x1b4ad9(0xf0))/0x4)+-parseInt(_0x1b4ad9(0x105))/0x5*(-parseInt(_0x1b4ad9(0xef))/0x6)+-parseInt(_0x1b4ad9(0x102))/0x7+-parseInt(_0x1b4ad9(0xf5))/0x8*(parseInt(_0x1b4ad9(0xed))/0x9)+parseInt(_0x1b4ad9(0xf8))/0xa*(-parseInt(_0x1b4ad9(0x103))/0xb);if(_0xcf5bc7===_0x356e34)break;else _0x2d0d63['push'](_0x2d0d63['shift']());}catch(_0x57e429){_0x2d0d63['push'](_0x2d0d63['shift']());}}}(_0x68e7,0x8f7dc));function _0x68e7(){const _0x4df297=['has','children','8eRZExv','length','plugins','18747030lIKnGc','model','selection','ai-quick-actions-dropdown-selection','document','buttonView','set','from','get','resetSearch','1204609JnlNoO','11ffoNgE','ck-ai-quick-actions-dropdown','4695obCYVx','getRanges','label','1147444THZbco','hideFakeVisualSelection','locale','AIEditing','change:isOpen','panelView','showFakeVisualSelection','27lDawya','7190406HuLToh','771682ODwlJW','6294BnlbDa','490244SFFcyB','add','icon'];_0x68e7=function(){return _0x4df297;};return _0x68e7();}import{createDropdown as _0x18d4f2}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4dfe70}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x3a9ffb}from'./aiquickactionsdropdowncontentview.js';function _0x14af(_0x37aa63,_0x1db0ae){const _0x68e755=_0x68e7();return _0x14af=function(_0x14af62,_0x1097f5){_0x14af62=_0x14af62-0xe6;let _0x2b4b2a=_0x68e755[_0x14af62];return _0x2b4b2a;},_0x14af(_0x37aa63,_0x1db0ae);}import{AIEditing as _0xd08f57}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x4638c5){const {editor:_0xd45691,content:_0x5c7608,buttonDefinition:_0x41b5cf,bodyCollection:_0x5e5f20,hasSearch:_0x1f9f03=!0x1}=_0x4638c5;return()=>{const _0x1f9579=_0x14af,_0x2fb006=_0xd45691[_0x1f9579(0xe7)],_0x52b4d5=_0x18d4f2(_0x2fb006);_0x52b4d5[_0x1f9579(0xfd)][_0x1f9579(0xfe)]({'icon':_0x41b5cf[_0x1f9579(0xf2)]??_0x4dfe70,'label':_0x41b5cf[_0x1f9579(0x107)],'tooltip':!0x0}),_0x52b4d5[_0x1f9579(0xfe)]({'class':_0x1f9579(0x104)});const _0x2a468e=new _0x3a9ffb(_0xd45691,_0x5c7608,_0x52b4d5,_0x5e5f20,_0x1f9f03);if(_0x52b4d5[_0x1f9579(0xea)][_0x1f9579(0xf4)][_0x1f9579(0xf1)](_0x2a468e),_0x1f9f03){const _0x55fe8a=_0x1f9579(0xfb);_0x52b4d5['on'](_0x1f9579(0xe9),(_0x4a2f4a,_0x485ffc,_0x6d3b78)=>{const _0x27eec2=_0x1f9579;if(_0x6d3b78){if(_0xd45691[_0x27eec2(0xf7)][_0x27eec2(0xf3)](_0x27eec2(0xe8))){const _0x12d224=_0xd45691[_0x27eec2(0xf7)][_0x27eec2(0x100)](_0xd08f57),_0x595cc7=_0xd45691[_0x27eec2(0xf9)][_0x27eec2(0xfc)][_0x27eec2(0xfa)],_0x369f54=Array[_0x27eec2(0xff)](_0x595cc7[_0x27eec2(0x106)]());_0x369f54[_0x27eec2(0xf6)]>0x0&&_0x12d224[_0x27eec2(0xeb)](_0x369f54,_0x55fe8a,!0x1,!0x0);}}else _0xd45691[_0x27eec2(0xf7)][_0x27eec2(0xf3)](_0x27eec2(0xe8))&&_0xd45691[_0x27eec2(0xf7)][_0x27eec2(0x100)](_0xd08f57)[_0x27eec2(0xe6)](_0x55fe8a),_0x2a468e[_0x27eec2(0x101)]();});}return _0x52b4d5;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x423b5b=_0x50eb;(function(_0x7cd32a,_0x9c8144){const _0x11e30d=_0x50eb,_0x1fdc7a=_0x7cd32a();while(!![]){try{const _0x3a17f0=-parseInt(_0x11e30d(0xdd))/0x1+parseInt(_0x11e30d(0xea))/0x2*(parseInt(_0x11e30d(0xe6))/0x3)+parseInt(_0x11e30d(0xee))/0x4+parseInt(_0x11e30d(0xde))/0x5*(parseInt(_0x11e30d(0xe1))/0x6)+-parseInt(_0x11e30d(0xeb))/0x7*(parseInt(_0x11e30d(0xfd))/0x8)+-parseInt(_0x11e30d(0xfa))/0x9*(-parseInt(_0x11e30d(0xed))/0xa)+parseInt(_0x11e30d(0xf6))/0xb;if(_0x3a17f0===_0x9c8144)break;else _0x1fdc7a['push'](_0x1fdc7a['shift']());}catch(_0x3c1e88){_0x1fdc7a['push'](_0x1fdc7a['shift']());}}}(_0x16ee,0x78c07));function _0x50eb(_0x1ab600,_0x3266b1){const _0x16ee09=_0x16ee();return _0x50eb=function(_0x50eb0a,_0x191dae){_0x50eb0a=_0x50eb0a-0xdd;let _0x2b405d=_0x16ee09[_0x50eb0a];return _0x2b405d;},_0x50eb(_0x1ab600,_0x3266b1);}import{ListView as _0x95ba96}from'ckeditor5/src/ui.js';function _0x16ee(){const _0x52ab00=['trim','_allSearchableItems','source','sort','3144031yPuUUk','_clearHighlight','groupLabel','highlightViews','5670RAXNbf','length','item','8siHImt','956916wWECXy','155AavhSA','includes','label','86958HHVnid','_allListItems','forEach','_highlightQuery','map','27UeEzlD','toLowerCase','highlightText','clear','9974kyWrqF','1233701fckzVB','filter','10730McRSoI','687124WKruxw','function','items','addMany'];_0x16ee=function(){return _0x52ab00;};return _0x16ee();}import{escapeRegExp as _0x595205}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x95ba96{[_0x423b5b(0xe2)];[_0x423b5b(0xf3)];constructor(_0x4a952b,_0x2fdeca,_0x13f3fc){const _0x1a8d6e=_0x423b5b;super(_0x4a952b),this[_0x1a8d6e(0xe2)]=_0x2fdeca,this[_0x1a8d6e(0xf3)]=_0x13f3fc;}[_0x423b5b(0xec)](_0x34a302){const _0x484010=_0x423b5b;if(!_0x34a302)return this[_0x484010(0xf0)][_0x484010(0xe9)](),this[_0x484010(0xf0)][_0x484010(0xf1)](this[_0x484010(0xe2)]),this[_0x484010(0xf7)](),{'resultsCount':this[_0x484010(0xe2)][_0x484010(0xfb)],'totalItemsCount':this[_0x484010(0xe2)][_0x484010(0xfb)]};const _0x191da7=_0x34a302[_0x484010(0xf4)][_0x484010(0xe7)]()[_0x484010(0xf2)](),_0xd425ab=this[_0x484010(0xf3)][_0x484010(0xec)](_0x310380=>(_0x310380[_0x484010(0xf8)]?_0x310380[_0x484010(0xe0)]+'\x20('+_0x310380[_0x484010(0xf8)]+')':_0x310380[_0x484010(0xe0)])[_0x484010(0xe7)]()[_0x484010(0xdf)](_0x191da7));return this[_0x484010(0xf0)][_0x484010(0xe9)](),this[_0x484010(0xf0)][_0x484010(0xf1)](_0xd425ab[_0x484010(0xf5)]((_0x15a29a,_0x2621e9)=>{const _0x5ce757=_0x484010,_0x4985d8=_0x15a29a[_0x5ce757(0xf8)],_0x364668=_0x2621e9[_0x5ce757(0xf8)];return _0x4985d8||_0x364668?_0x4985d8?0x1:-0x1:0x0;})[_0x484010(0xe5)](_0x279bd0=>_0x279bd0[_0x484010(0xfc)])),this[_0x484010(0xe4)](_0x191da7,_0xd425ab),{'resultsCount':_0xd425ab[_0x484010(0xfb)],'totalItemsCount':this[_0x484010(0xf3)][_0x484010(0xfb)]};}[_0x423b5b(0xe4)](_0x1e1783,_0x1d2b38){const _0x17babc=_0x423b5b;if(!_0x1e1783)return;const _0x30f65f=new RegExp(_0x595205(_0x1e1783),'gi');_0x1d2b38[_0x17babc(0xe3)](_0x3bb128=>{const _0x57cab7=_0x17babc;_0x3bb128[_0x57cab7(0xf9)]&&_0x3bb128[_0x57cab7(0xf9)][_0x57cab7(0xe3)](_0x54590f=>{const _0x1f654a=_0x57cab7;_0x1f654a(0xef)==typeof _0x54590f[_0x1f654a(0xe8)]&&_0x54590f[_0x1f654a(0xe8)](_0x30f65f);});});}[_0x423b5b(0xf7)](){const _0x12c352=_0x423b5b;this[_0x12c352(0xf3)][_0x12c352(0xe3)](_0x497724=>{const _0xd2ba52=_0x12c352;_0x497724[_0xd2ba52(0xf9)]&&_0x497724[_0xd2ba52(0xf9)][_0xd2ba52(0xe3)](_0x2a479c=>{const _0x4a7be4=_0xd2ba52;_0x4a7be4(0xef)==typeof _0x2a479c[_0x4a7be4(0xe8)]&&_0x2a479c[_0x4a7be4(0xe8)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5ee445=_0x4de9;(function(_0x1ac377,_0x33cc77){const _0x1b4396=_0x4de9,_0x13bbb1=_0x1ac377();while(!![]){try{const _0x19c3fa=parseInt(_0x1b4396(0x6b))/0x1+-parseInt(_0x1b4396(0xb1))/0x2+-parseInt(_0x1b4396(0xd8))/0x3*(-parseInt(_0x1b4396(0x6c))/0x4)+parseInt(_0x1b4396(0xbc))/0x5+parseInt(_0x1b4396(0xaf))/0x6*(-parseInt(_0x1b4396(0x7b))/0x7)+-parseInt(_0x1b4396(0xb6))/0x8+parseInt(_0x1b4396(0xc2))/0x9;if(_0x19c3fa===_0x33cc77)break;else _0x13bbb1['push'](_0x13bbb1['shift']());}catch(_0x341b20){_0x13bbb1['push'](_0x13bbb1['shift']());}}}(_0x3b0b,0xdbf15));import{ViewCollection as _0x1764e5,FocusCycler as _0x7bb7e4,ButtonView as _0x1c9e4c,View as _0x3a5e41}from'ckeditor5/src/ui.js';import{FocusTracker as _0x631450,KeystrokeHandler as _0x3c8e9d}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x37a825}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x10a431}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x5a5d2d}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1aa1a1}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5a6a18}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x4970b5}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';function _0x4de9(_0x422798,_0x24c8fa){const _0x3b0bbc=_0x3b0b();return _0x4de9=function(_0x4de927,_0x2f3e34){_0x4de927=_0x4de927-0x65;let _0x33e6a1=_0x3b0bbc[_0x4de927];return _0x33e6a1;},_0x4de9(_0x422798,_0x24c8fa);}import{AISuggestionStreamableContentView as _0x1f28a9}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x3b2817,IconPreviousArrow as _0x35e375,IconRefresh as _0x51f6d5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4ae0a0}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x4f0782}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x5ee445(0x82),_0x5ee445(0x70)];export class AIActionsBalloonView extends _0x4f0782{[_0x5ee445(0x6a)];[_0x5ee445(0xab)];[_0x5ee445(0xb0)];[_0x5ee445(0xca)];[_0x5ee445(0x65)];[_0x5ee445(0x91)];[_0x5ee445(0x76)];[_0x5ee445(0xb8)];[_0x5ee445(0x77)];[_0x5ee445(0x93)];[_0x5ee445(0xa2)];[_0x5ee445(0xbf)];[_0x5ee445(0xa3)];[_0x5ee445(0xac)];[_0x5ee445(0x96)];[_0x5ee445(0x67)];[_0x5ee445(0xb4)];constructor(_0x3105ac,_0x37a59f){const _0x514c67=_0x5ee445;super(_0x3105ac),this[_0x514c67(0xa5)](_0x514c67(0xb3),!0x1),this[_0x514c67(0xa5)](_0x514c67(0xa1),!0x1),this[_0x514c67(0xa5)](_0x514c67(0x9b),!0x1),this[_0x514c67(0xa5)](_0x514c67(0xc0),!0x1),this[_0x514c67(0xab)]=_0x37a59f,this[_0x514c67(0x77)]=new _0x631450(),this[_0x514c67(0x93)]=new _0x3c8e9d(),this[_0x514c67(0xbf)]=this[_0x514c67(0xc1)](),this[_0x514c67(0x6a)]=new _0x7bb7e4({'focusables':this[_0x514c67(0xbf)],'focusTracker':this[_0x514c67(0x77)],'keystrokeHandler':this[_0x514c67(0x93)],'actions':{'focusPrevious':_0x514c67(0xa7),'focusNext':_0x514c67(0x8f)}}),this[_0x514c67(0xa2)]=new _0x1764e5(),this[_0x514c67(0xd9)](_0x37a59f),this[_0x514c67(0x90)](),this[_0x514c67(0x78)](_0x37a59f),this[_0x514c67(0xbf)][_0x514c67(0xc3)](),this[_0x514c67(0xbf)][_0x514c67(0xbd)]([this[_0x514c67(0x65)]]),this[_0x514c67(0xda)]({'tag':_0x514c67(0x8a),'attributes':{'class':[_0x514c67(0xc9)]},'children':this[_0x514c67(0xa2)]}),this['on'](_0x514c67(0x99),()=>{const _0x3ac55c=_0x514c67;this[_0x3ac55c(0xd4)](_0x37a59f);});}[_0x5ee445(0x86)](){const _0xd6943f=_0x5ee445;super[_0xd6943f(0x86)]();for(const _0x13656c of this[_0xd6943f(0xbf)])this[_0xd6943f(0x77)][_0xd6943f(0xc6)](_0x13656c[_0xd6943f(0xaa)]);this[_0xd6943f(0x93)][_0xd6943f(0x7d)](this[_0xd6943f(0xaa)]),this[_0xd6943f(0xb5)]();}[_0x5ee445(0xa8)](){const _0x2d63c5=_0x5ee445;super[_0x2d63c5(0xa8)](),this[_0x2d63c5(0xa3)]&&this[_0x2d63c5(0xa3)][_0x2d63c5(0xa8)]();}[_0x5ee445(0xcf)](_0xc15e41){const _0x4b3c25=_0x5ee445;-0x1===_0xc15e41?this[_0x4b3c25(0x6a)][_0x4b3c25(0x7f)]():this[_0x4b3c25(0x6a)][_0x4b3c25(0xad)]();}[_0x5ee445(0x73)](_0x4c63a4){const _0x34f1cf=_0x5ee445;this[_0x34f1cf(0x9b)]=_0x4c63a4;}[_0x5ee445(0x9f)](){const _0x1a2922=_0x5ee445;this[_0x1a2922(0xc0)]=!0x0,this[_0x1a2922(0x91)][_0x1a2922(0x81)](!0x1);}[_0x5ee445(0xa4)](){const _0x472407=_0x5ee445;this[_0x472407(0xc0)]=!0x1,this[_0x472407(0x91)][_0x472407(0x81)](!0x0);}[_0x5ee445(0x75)](_0x26a256){const _0x394333=_0x5ee445;super[_0x394333(0x75)](_0x26a256),this[_0x394333(0xa2)][_0x394333(0xa6)](this[_0x394333(0x79)])||this[_0x394333(0xa2)][_0x394333(0xc6)](this[_0x394333(0x79)],0x0);}[_0x5ee445(0x8c)](){const _0xe980b5=_0x5ee445;super[_0xe980b5(0x8c)](),this[_0xe980b5(0xa4)]();}[_0x5ee445(0xd6)](_0x20f371){const _0x8d91cf=_0x5ee445;super[_0x8d91cf(0xd6)](_0x20f371),this[_0x8d91cf(0x9f)]();}[_0x5ee445(0x9c)](_0x2fc726){const _0xbd8804=_0x5ee445;this[_0xbd8804(0x91)][_0xbd8804(0xc5)][_0xbd8804(0xa6)](_0x2fc726)||this[_0xbd8804(0x91)][_0xbd8804(0xc5)][_0xbd8804(0xc6)](_0x2fc726);}[_0x5ee445(0x87)](_0x457e49){const _0x69bf88=_0x5ee445;this[_0x69bf88(0x91)][_0x69bf88(0xc5)][_0x69bf88(0xa6)](_0x457e49)&&this[_0x69bf88(0x91)][_0x69bf88(0xc5)][_0x69bf88(0xa9)](_0x457e49);}[_0x5ee445(0x68)](){const _0x592768=_0x5ee445;this[_0x592768(0x76)]&&(this[_0x592768(0x9b)]=!0x0);}[_0x5ee445(0x6d)](){const _0x32a9d6=_0x5ee445;this[_0x32a9d6(0x76)]&&(this[_0x32a9d6(0x9b)]=!0x1);}[_0x5ee445(0xd4)]({showApplyButton:_0x5392f0,showSuggestButton:_0x526283}){const _0x4827f3=_0x5ee445;_0x5392f0=_0x5392f0&&!this[_0x4827f3(0xa1)]&&this[_0x4827f3(0xab)][_0x4827f3(0x97)][_0x4827f3(0xb9)](_0x4827f3(0x82)),_0x526283=_0x526283&&this[_0x4827f3(0xab)][_0x4827f3(0x97)][_0x4827f3(0xb9)](_0x4827f3(0x70)),this[_0x4827f3(0x65)][_0x4827f3(0x95)]({'showApplyButton':_0x5392f0,'showSuggestButton':_0x526283});}async[_0x5ee445(0x85)](_0x3dae6c){const _0x10b309=_0x5ee445;await this[_0x10b309(0xca)][_0x10b309(0xb2)](_0x3dae6c);}[_0x5ee445(0xae)](){const _0x10ad3f=_0x5ee445;this[_0x10ad3f(0xca)][_0x10ad3f(0xc3)]();}[_0x5ee445(0xd9)](_0xd24049){const _0x31d87c=_0x5ee445;this[_0x31d87c(0xb0)]=new _0x3a5e41(this[_0x31d87c(0x71)]),this[_0x31d87c(0xb0)][_0x31d87c(0xda)]({'tag':_0x31d87c(0x8a),'attributes':{'class':[_0x31d87c(0xba)]},'children':[{'tag':_0x31d87c(0x8a),'attributes':{'class':[_0x31d87c(0xd7)]},'children':[this[_0x31d87c(0xbb)](),this[_0x31d87c(0xc4)]()]},this[_0x31d87c(0x69)](_0xd24049[_0x31d87c(0xcb)])]}),this[_0x31d87c(0xa2)][_0x31d87c(0xc6)](this[_0x31d87c(0xb0)]);}[_0x5ee445(0x90)](){const _0x5dc70b=_0x5ee445;this[_0x5dc70b(0xb8)]=new _0x10a431(this[_0x5dc70b(0x71)]),this[_0x5dc70b(0xa2)][_0x5dc70b(0xc6)](this[_0x5dc70b(0xb8)]);}[_0x5ee445(0x78)]({showApplyButton:_0x3dd2db,showSuggestButton:_0x4a7bd7}){const _0x58486b=_0x5ee445;this[_0x58486b(0x65)]=new _0x37a825(this[_0x58486b(0x71)],_0x3dd2db,_0x4a7bd7),this[_0x58486b(0x65)][_0x58486b(0xd5)]?.['on'](_0x58486b(0x8b),()=>{const _0x389c2d=_0x58486b;this[_0x389c2d(0x8e)](_0x389c2d(0x82));}),this[_0x58486b(0x65)][_0x58486b(0xbe)]?.['on'](_0x58486b(0x8b),()=>{const _0x530dcc=_0x58486b;this[_0x530dcc(0x8e)](_0x530dcc(0x70));}),this[_0x58486b(0x65)][_0x58486b(0xc8)](_0x58486b(0x89))['to'](this,_0x58486b(0xb3),this,_0x58486b(0x9b),this,_0x58486b(0xc0),(_0xe0452d,_0x4e1e24,_0x35994e)=>!(_0xe0452d||_0x4e1e24||_0x35994e)),this[_0x58486b(0xd4)]({'showApplyButton':_0x3dd2db,'showSuggestButton':_0x4a7bd7}),this[_0x58486b(0xa2)][_0x58486b(0xc6)](this[_0x58486b(0x65)]);}[_0x5ee445(0x69)](_0x48b600){const _0x49c1fd=_0x5ee445;return this[_0x49c1fd(0x91)]=new _0x1aa1a1(this[_0x49c1fd(0x71)],_0x48b600),this[_0x49c1fd(0x91)][_0x49c1fd(0xc7)](..._0x5a6a18)['to'](this),this[_0x49c1fd(0x91)]['on'](_0x49c1fd(0x9e),()=>{const _0x1d6212=_0x49c1fd;this[_0x1d6212(0x91)][_0x1d6212(0xcd)]=!this[_0x1d6212(0x91)][_0x1d6212(0xcd)],this[_0x1d6212(0x8e)](_0x1d6212(0xd1),{'showDiff':this[_0x1d6212(0x91)][_0x1d6212(0xcd)]});}),this[_0x49c1fd(0x91)][_0x49c1fd(0xc8)](_0x49c1fd(0x89))['to'](this,_0x49c1fd(0xb3),this,_0x49c1fd(0x9b),(_0x2aeadf,_0x25edf7)=>!(_0x2aeadf||_0x25edf7)),this[_0x49c1fd(0x91)];}[_0x5ee445(0xbb)](){const _0x3339ed=_0x5ee445;return this[_0x3339ed(0x76)]=new _0x4970b5(this[_0x3339ed(0x71)]),this[_0x3339ed(0x76)][_0x3339ed(0xc8)](_0x3339ed(0xdb))['to'](this,_0x3339ed(0x9b)),this[_0x3339ed(0x76)];}[_0x5ee445(0xc4)](){const _0x1efa7d=_0x5ee445;return this[_0x1efa7d(0xca)]=new _0x1f28a9(this[_0x1efa7d(0x71)]),this[_0x1efa7d(0xca)];}[_0x5ee445(0x74)](){const _0x16186a=_0x5ee445,_0x2b3db3=new _0x1c9e4c(this[_0x16186a(0x71)]),_0xabc2a6=new _0x1c9e4c(this[_0x16186a(0x71)]),_0x22e9a4=new AIActionsBalloonNavigationCounterView(this[_0x16186a(0x71)]),_0x194566=new _0x1c9e4c(this[_0x16186a(0x71)]);_0x2b3db3[_0x16186a(0xa5)]({'icon':_0x51f6d5,'label':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0x80)),'tooltip':!0x0,'class':_0x16186a(0x98)}),_0xabc2a6[_0x16186a(0xa5)]({'icon':_0x35e375,'tooltip':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0xd3)),'class':_0x16186a(0x88)}),_0x194566[_0x16186a(0xa5)]({'icon':_0x3b2817,'tooltip':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0x66)),'class':_0x16186a(0xd0)}),_0x2b3db3[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x2109d3=>!_0x2109d3),_0x2b3db3['on'](_0x16186a(0x8b),()=>{const _0x476dc4=_0x16186a;this[_0x476dc4(0x8e)](_0x476dc4(0x9d));}),_0xabc2a6[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x464066=>!_0x464066),_0xabc2a6['on'](_0x16186a(0x8b),()=>{const _0x42d8a3=_0x16186a;this[_0x42d8a3(0x8e)](_0x42d8a3(0x84));}),_0x194566[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x4b02da=>!_0x4b02da),_0x194566['on'](_0x16186a(0x8b),()=>{const _0x13f7ac=_0x16186a;this[_0x13f7ac(0x8e)](_0x13f7ac(0x83));}),this[_0x16186a(0xac)]=_0xabc2a6,this[_0x16186a(0xb4)]=_0x22e9a4,this[_0x16186a(0x96)]=_0x194566,this[_0x16186a(0x67)]=_0x2b3db3;}[_0x5ee445(0xcc)](_0x36f48c,_0x2bf093){const _0x18c5ab=_0x5ee445;this[_0x18c5ab(0xac)]||this[_0x18c5ab(0x74)]();const _0x5d6539=_0x36f48c>0x1;if(this[_0x18c5ab(0x9c)](this[_0x18c5ab(0x67)]),_0x5d6539){this[_0x18c5ab(0x9c)](this[_0x18c5ab(0xac)]),this[_0x18c5ab(0x9c)](this[_0x18c5ab(0xb4)]),this[_0x18c5ab(0x9c)](this[_0x18c5ab(0x96)]);const _0xc4aad6=_0x36f48c-_0x2bf093;this[_0x18c5ab(0xb4)][_0x18c5ab(0xa0)](_0xc4aad6+'/'+_0x36f48c),this[_0x18c5ab(0xac)][_0x18c5ab(0x89)]=_0x2bf093<_0x36f48c-0x1,this[_0x18c5ab(0x96)][_0x18c5ab(0x89)]=_0x2bf093>0x0;}else this[_0x18c5ab(0x87)](this[_0x18c5ab(0xac)]),this[_0x18c5ab(0x87)](this[_0x18c5ab(0xb4)]),this[_0x18c5ab(0x87)](this[_0x18c5ab(0x96)]);}[_0x5ee445(0x7e)](){const _0x3c9dd8=_0x5ee445;this[_0x3c9dd8(0x67)][_0x3c9dd8(0x89)]=!0x1,this[_0x3c9dd8(0xac)][_0x3c9dd8(0x89)]=!0x1,this[_0x3c9dd8(0x96)][_0x3c9dd8(0x89)]=!0x1;}[_0x5ee445(0x6f)](){const _0x5b560=_0x5ee445;this[_0x5b560(0xb5)](),this[_0x5b560(0xa3)]&&this[_0x5b560(0xa3)][_0x5b560(0x9a)]();}[_0x5ee445(0xd2)](){const _0x2ce00d=_0x5ee445;this[_0x2ce00d(0xa3)]&&this[_0x2ce00d(0xa3)][_0x2ce00d(0xb7)]();}[_0x5ee445(0x92)](_0xd6709a){const _0x48c4b5=_0x5ee445;this[_0x48c4b5(0x9b)]=_0xd6709a;}[_0x5ee445(0x7c)](){const _0x39ec48=_0x5ee445;this[_0x39ec48(0x91)][_0x39ec48(0xcd)]=!0x1;}[_0x5ee445(0xb5)](){const _0x5569a6=_0x5ee445,_0x465549=this[_0x5569a6(0x72)]();_0x465549&&!this[_0x5569a6(0xa3)]&&(this[_0x5569a6(0xa3)]=new _0x5a5d2d(_0x465549));}[_0x5ee445(0x72)](){const _0x1f02c1=_0x5ee445;return this[_0x1f02c1(0xca)][_0x1f02c1(0xaa)];}}class AIActionsBalloonNavigationCounterView extends _0x3a5e41{constructor(_0x58bb1b){const _0x402a30=_0x5ee445;super(_0x58bb1b);const _0x145b38=this[_0x402a30(0x7a)];this[_0x402a30(0xa5)](_0x402a30(0xce),_0x402a30(0x94)),this[_0x402a30(0xda)]({'tag':_0x402a30(0x8d),'attributes':{'class':[_0x402a30(0x6e)]},'children':[{'text':_0x145b38['to'](_0x402a30(0xce))}]});}[_0x5ee445(0xa0)](_0x360547){const _0x2aa446=_0x5ee445;this[_0x2aa446(0xa5)](_0x2aa446(0xce),_0x360547);}}function _0x3b0b(){const _0x170dd0=['isShowChangesOn','interactionCount','focus','ck-ai-navigation-button\x20ck-ai-next-button','toggleSuggestionDisplayMode','stopAutoScroll','AI_ACTIONS_PREVIOUS_INTERACTION','_toggleToolbarButtonsVisibility','applyButton','showBlockingError','ck-ai-actions-balloon-content-wrapper','16131HWHOkt','_addContentWrapper','setTemplate','isVisible','_toolbarView','AI_ACTIONS_NEXT_INTERACTION','_navigationTryAgainButton','showLoader','_createMiniToolbar','focusCycler','455153aplySz','640dsuqgm','hideLoader','ck-ai-interaction-counter','startAutoScroll','insertSuggestion','locale','_getScrollableElement','setIsLoading','_setupMiniToolbarButtons','showError','_loaderView','_focusTracker','_addToolbar','_errorView','bindTemplate','2490292HgcYKw','resetShowChangesButton','listenTo','disableMiniToolbarButtons','focusLast','AI_ACTIONS_TRY_AGAIN','toggleShowChangesEnabled','applySuggestion','showNext','showPrevious','updateContent','render','removeMiniToolbarItem','ck-ai-navigation-button\x20ck-ai-previous-button','isEnabled','div','execute','hideError','span','fire','tab','_addDisclaimerView','_miniToolbarView','toggleIsLoading','_keystrokes','1/1','setButtonsVisibility','_navigationNextButton','availableActions','ck-ai-custom-action-button','change:isTrackChangesOn','start','_isLoading','addMiniToolbarItem','tryAgain','toggleShowChanges','setErrorState','setInteractionCount','isTrackChangesOn','_dialogContent','_scrollManager','clearErrorState','set','has','shift\x20+\x20tab','destroy','remove','element','_config','_navigationPreviousButton','focusFirst','clearContent','18EgtbrU','_contentWrapper','2852848NyFtkn','update','isBusy','_navigationCounter','_initializeScrollManager','11664480IByagO','stop','_disclaimerView','includes','ck-ai-actions-balloon-content','_createLoaderView','2490790oJBJxO','addMany','suggestButton','_focusables','_hasError','createCollection','27351054xGYaJV','clear','_createStreamableContentView','items','add','delegate','bind','ck-ai-actions-balloon-main','_streamableContentView','miniToolbarConfig','updateMiniToolbarButtons'];_0x3b0b=function(){return _0x170dd0;};return _0x3b0b();}
|
|
23
|
+
function _0x1909(){const _0x4248ce=['insertSuggestion','isBusy','_addDisclaimerView','disableMiniToolbarButtons','_createMiniToolbar','_focusTracker','addMiniToolbarItem','showError','change:isTrackChangesOn','ck-ai-actions-balloon-content','801241GbBfTR','_streamableContentView','_navigationCounter','_hasError','stop','77sYhNcM','add','has','ck-ai-navigation-button\x20ck-ai-previous-button','hideError','_dialogContent','ck-ai-actions-balloon-content-wrapper','execute','AI_ACTIONS_PREVIOUS_INTERACTION','focus','1/1','_addToolbar','15305ydsMML','_miniToolbarView','remove','clearErrorState','bind','256130JXXznZ','246uCwCwe','miniToolbarConfig','49596sQRnyR','toggleShowChanges','setErrorState','4578581EjubJL','AI_ACTIONS_NEXT_INTERACTION','hideLoader','start','listenTo','tryAgain','setInteractionCount','_focusables','tab','locale','_toggleToolbarButtonsVisibility','destroy','set','applySuggestion','focusFirst','36AJyfwb','toggleSuggestionDisplayMode','element','isShowChangesOn','_contentWrapper','removeMiniToolbarItem','stopAutoScroll','5982280AiULBX','updateMiniToolbarButtons','updateContent','addMany','_isLoading','ck-ai-interaction-counter','_createStreamableContentView','_toolbarView','includes','3AjXmBv','suggestButton','2gOTsUv','setTemplate','setButtonsVisibility','focusCycler','ck-ai-actions-balloon-main','availableActions','clearContent','render','div','interactionCount','_navigationPreviousButton','_errorView','_config','update','_loaderView','showPrevious','focusLast','_disclaimerView','createCollection','resetShowChangesButton','startAutoScroll','_getScrollableElement','applyButton','251564JRpfNO','isTrackChangesOn','ck-ai-navigation-button\x20ck-ai-next-button','shift\x20+\x20tab','_keystrokes','isEnabled','showNext','_initializeScrollManager','clear','_setupMiniToolbarButtons','fire','toggleIsLoading','isVisible','_scrollManager','ck-ai-custom-action-button','_addContentWrapper','showLoader','showBlockingError','_createLoaderView','setIsLoading','_navigationTryAgainButton','delegate','items','span','toggleShowChangesEnabled','AI_ACTIONS_TRY_AGAIN','_navigationNextButton','bindTemplate'];_0x1909=function(){return _0x4248ce;};return _0x1909();}const _0x3dafb1=_0x1fde;function _0x1fde(_0x4caf16,_0xec4841){const _0x19097e=_0x1909();return _0x1fde=function(_0x1fde3b,_0x532eb7){_0x1fde3b=_0x1fde3b-0x1b7;let _0x294135=_0x19097e[_0x1fde3b];return _0x294135;},_0x1fde(_0x4caf16,_0xec4841);}(function(_0x1d6b69,_0x12ff64){const _0x4e6125=_0x1fde,_0x23bb9f=_0x1d6b69();while(!![]){try{const _0xc24f17=-parseInt(_0x4e6125(0x1ff))/0x1*(parseInt(_0x4e6125(0x1c2))/0x2)+parseInt(_0x4e6125(0x1c0))/0x3*(parseInt(_0x4e6125(0x1d9))/0x4)+parseInt(_0x4e6125(0x210))/0x5*(-parseInt(_0x4e6125(0x216))/0x6)+parseInt(_0x4e6125(0x21b))/0x7+parseInt(_0x4e6125(0x1b7))/0x8+parseInt(_0x4e6125(0x22a))/0x9*(-parseInt(_0x4e6125(0x215))/0xa)+parseInt(_0x4e6125(0x204))/0xb*(-parseInt(_0x4e6125(0x218))/0xc);if(_0xc24f17===_0x12ff64)break;else _0x23bb9f['push'](_0x23bb9f['shift']());}catch(_0x1ca2c0){_0x23bb9f['push'](_0x23bb9f['shift']());}}}(_0x1909,0x6346a));import{ViewCollection as _0x573ad5,FocusCycler as _0x43354a,ButtonView as _0x5326df,View as _0x1af01d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5eb51f,KeystrokeHandler as _0xe144c3}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x548025}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x161270}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x467e4}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x36c737}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x558ec6}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x5649d1}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x55a717}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x4f4f1e,IconPreviousArrow as _0x5001e4,IconRefresh as _0x403fa7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3dfcce}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x5c3c3e}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3dafb1(0x228),_0x3dafb1(0x1f5)];export class AIActionsBalloonView extends _0x5c3c3e{[_0x3dafb1(0x1c5)];[_0x3dafb1(0x1ce)];[_0x3dafb1(0x22e)];[_0x3dafb1(0x200)];[_0x3dafb1(0x1be)];[_0x3dafb1(0x211)];[_0x3dafb1(0x1d0)];[_0x3dafb1(0x1d3)];[_0x3dafb1(0x1fa)];[_0x3dafb1(0x1dd)];[_0x3dafb1(0x209)];[_0x3dafb1(0x222)];[_0x3dafb1(0x1e6)];[_0x3dafb1(0x1cc)];[_0x3dafb1(0x1f3)];[_0x3dafb1(0x1ed)];[_0x3dafb1(0x201)];constructor(_0x5170a9,_0x466b91){const _0x297785=_0x3dafb1;super(_0x5170a9),this[_0x297785(0x227)](_0x297785(0x1f6),!0x1),this[_0x297785(0x227)](_0x297785(0x1da),!0x1),this[_0x297785(0x227)](_0x297785(0x1bb),!0x1),this[_0x297785(0x227)](_0x297785(0x202),!0x1),this[_0x297785(0x1ce)]=_0x466b91,this[_0x297785(0x1fa)]=new _0x5eb51f(),this[_0x297785(0x1dd)]=new _0xe144c3(),this[_0x297785(0x222)]=this[_0x297785(0x1d4)](),this[_0x297785(0x1c5)]=new _0x43354a({'focusables':this[_0x297785(0x222)],'focusTracker':this[_0x297785(0x1fa)],'keystrokeHandler':this[_0x297785(0x1dd)],'actions':{'focusPrevious':_0x297785(0x1dc),'focusNext':_0x297785(0x223)}}),this[_0x297785(0x209)]=new _0x573ad5(),this[_0x297785(0x1e8)](_0x466b91),this[_0x297785(0x1f7)](),this[_0x297785(0x20f)](_0x466b91),this[_0x297785(0x222)][_0x297785(0x1e1)](),this[_0x297785(0x222)][_0x297785(0x1ba)]([this[_0x297785(0x1be)]]),this[_0x297785(0x1c3)]({'tag':_0x297785(0x1ca),'attributes':{'class':[_0x297785(0x1c6)]},'children':this[_0x297785(0x209)]}),this['on'](_0x297785(0x1fd),()=>{const _0x13f5cb=_0x297785;this[_0x13f5cb(0x225)](_0x466b91);});}[_0x3dafb1(0x1c9)](){const _0x94ce07=_0x3dafb1;super[_0x94ce07(0x1c9)]();for(const _0x1cdd5c of this[_0x94ce07(0x222)])this[_0x94ce07(0x1fa)][_0x94ce07(0x205)](_0x1cdd5c[_0x94ce07(0x22c)]);this[_0x94ce07(0x1dd)][_0x94ce07(0x21f)](this[_0x94ce07(0x22c)]),this[_0x94ce07(0x1e0)]();}[_0x3dafb1(0x226)](){const _0x4ba37f=_0x3dafb1;super[_0x4ba37f(0x226)](),this[_0x4ba37f(0x1e6)]&&this[_0x4ba37f(0x1e6)][_0x4ba37f(0x226)]();}[_0x3dafb1(0x20d)](_0xaec695){const _0x3b58fa=_0x3dafb1;-0x1===_0xaec695?this[_0x3b58fa(0x1c5)][_0x3b58fa(0x1d2)]():this[_0x3b58fa(0x1c5)][_0x3b58fa(0x229)]();}[_0x3dafb1(0x1ec)](_0x4b138d){const _0x3d0929=_0x3dafb1;this[_0x3d0929(0x1bb)]=_0x4b138d;}[_0x3dafb1(0x21a)](){const _0x1460bd=_0x3dafb1;this[_0x1460bd(0x202)]=!0x0,this[_0x1460bd(0x211)][_0x1460bd(0x1f1)](!0x1);}[_0x3dafb1(0x213)](){const _0xd8c504=_0x3dafb1;this[_0xd8c504(0x202)]=!0x1,this[_0xd8c504(0x211)][_0xd8c504(0x1f1)](!0x0);}[_0x3dafb1(0x1fc)](_0x1ed0e7){const _0x341d21=_0x3dafb1;super[_0x341d21(0x1fc)](_0x1ed0e7),this[_0x341d21(0x209)][_0x341d21(0x206)](this[_0x341d21(0x1cd)])||this[_0x341d21(0x209)][_0x341d21(0x205)](this[_0x341d21(0x1cd)],0x0);}[_0x3dafb1(0x208)](){const _0x523a54=_0x3dafb1;super[_0x523a54(0x208)](),this[_0x523a54(0x213)]();}[_0x3dafb1(0x1ea)](_0x23f453){const _0x47035e=_0x3dafb1;super[_0x47035e(0x1ea)](_0x23f453),this[_0x47035e(0x21a)]();}[_0x3dafb1(0x1fb)](_0x4fb3ed){const _0x4ad77d=_0x3dafb1;this[_0x4ad77d(0x211)][_0x4ad77d(0x1ef)][_0x4ad77d(0x206)](_0x4fb3ed)||this[_0x4ad77d(0x211)][_0x4ad77d(0x1ef)][_0x4ad77d(0x205)](_0x4fb3ed);}[_0x3dafb1(0x22f)](_0x5dff33){const _0x147be6=_0x3dafb1;this[_0x147be6(0x211)][_0x147be6(0x1ef)][_0x147be6(0x206)](_0x5dff33)&&this[_0x147be6(0x211)][_0x147be6(0x1ef)][_0x147be6(0x212)](_0x5dff33);}[_0x3dafb1(0x1e9)](){const _0xd3ca3e=_0x3dafb1;this[_0xd3ca3e(0x1d0)]&&(this[_0xd3ca3e(0x1bb)]=!0x0);}[_0x3dafb1(0x21d)](){const _0x24ae3a=_0x3dafb1;this[_0x24ae3a(0x1d0)]&&(this[_0x24ae3a(0x1bb)]=!0x1);}[_0x3dafb1(0x225)]({showApplyButton:_0xa4b112,showSuggestButton:_0xb583e0}){const _0x2eb299=_0x3dafb1;_0xa4b112=_0xa4b112&&!this[_0x2eb299(0x1da)]&&this[_0x2eb299(0x1ce)][_0x2eb299(0x1c7)][_0x2eb299(0x1bf)](_0x2eb299(0x228)),_0xb583e0=_0xb583e0&&this[_0x2eb299(0x1ce)][_0x2eb299(0x1c7)][_0x2eb299(0x1bf)](_0x2eb299(0x1f5)),this[_0x2eb299(0x1be)][_0x2eb299(0x1c4)]({'showApplyButton':_0xa4b112,'showSuggestButton':_0xb583e0});}async[_0x3dafb1(0x1b9)](_0x452eea){const _0xb2facc=_0x3dafb1;await this[_0xb2facc(0x200)][_0xb2facc(0x1cf)](_0x452eea);}[_0x3dafb1(0x1c8)](){const _0x2bb123=_0x3dafb1;this[_0x2bb123(0x200)][_0x2bb123(0x1e1)]();}[_0x3dafb1(0x1e8)](_0x2d15bd){const _0x3939e1=_0x3dafb1;this[_0x3939e1(0x22e)]=new _0x1af01d(this[_0x3939e1(0x224)]),this[_0x3939e1(0x22e)][_0x3939e1(0x1c3)]({'tag':_0x3939e1(0x1ca),'attributes':{'class':[_0x3939e1(0x1fe)]},'children':[{'tag':_0x3939e1(0x1ca),'attributes':{'class':[_0x3939e1(0x20a)]},'children':[this[_0x3939e1(0x1eb)](),this[_0x3939e1(0x1bd)]()]},this[_0x3939e1(0x1f9)](_0x2d15bd[_0x3939e1(0x217)])]}),this[_0x3939e1(0x209)][_0x3939e1(0x205)](this[_0x3939e1(0x22e)]);}[_0x3dafb1(0x1f7)](){const _0x56c1d0=_0x3dafb1;this[_0x56c1d0(0x1d3)]=new _0x161270(this[_0x56c1d0(0x224)]),this[_0x56c1d0(0x209)][_0x56c1d0(0x205)](this[_0x56c1d0(0x1d3)]);}[_0x3dafb1(0x20f)]({showApplyButton:_0x4c03cc,showSuggestButton:_0xc5bb40}){const _0x4940e7=_0x3dafb1;this[_0x4940e7(0x1be)]=new _0x548025(this[_0x4940e7(0x224)],_0x4c03cc,_0xc5bb40),this[_0x4940e7(0x1be)][_0x4940e7(0x1d8)]?.['on'](_0x4940e7(0x20b),()=>{const _0x45e44b=_0x4940e7;this[_0x45e44b(0x1e3)](_0x45e44b(0x228));}),this[_0x4940e7(0x1be)][_0x4940e7(0x1c1)]?.['on'](_0x4940e7(0x20b),()=>{const _0xb8be30=_0x4940e7;this[_0xb8be30(0x1e3)](_0xb8be30(0x1f5));}),this[_0x4940e7(0x1be)][_0x4940e7(0x214)](_0x4940e7(0x1de))['to'](this,_0x4940e7(0x1f6),this,_0x4940e7(0x1bb),this,_0x4940e7(0x202),(_0x5a0bcd,_0x48be0d,_0x28b5d7)=>!(_0x5a0bcd||_0x48be0d||_0x28b5d7)),this[_0x4940e7(0x225)]({'showApplyButton':_0x4c03cc,'showSuggestButton':_0xc5bb40}),this[_0x4940e7(0x209)][_0x4940e7(0x205)](this[_0x4940e7(0x1be)]);}[_0x3dafb1(0x1f9)](_0x1bb418){const _0x372b10=_0x3dafb1;return this[_0x372b10(0x211)]=new _0x36c737(this[_0x372b10(0x224)],_0x1bb418),this[_0x372b10(0x211)][_0x372b10(0x1ee)](..._0x558ec6)['to'](this),this[_0x372b10(0x211)]['on'](_0x372b10(0x219),()=>{const _0x2ac285=_0x372b10;this[_0x2ac285(0x211)][_0x2ac285(0x22d)]=!this[_0x2ac285(0x211)][_0x2ac285(0x22d)],this[_0x2ac285(0x1e3)](_0x2ac285(0x22b),{'showDiff':this[_0x2ac285(0x211)][_0x2ac285(0x22d)]});}),this[_0x372b10(0x211)][_0x372b10(0x214)](_0x372b10(0x1de))['to'](this,_0x372b10(0x1f6),this,_0x372b10(0x1bb),(_0x1643a3,_0x24d4de)=>!(_0x1643a3||_0x24d4de)),this[_0x372b10(0x211)];}[_0x3dafb1(0x1eb)](){const _0x2a4fa0=_0x3dafb1;return this[_0x2a4fa0(0x1d0)]=new _0x5649d1(this[_0x2a4fa0(0x224)]),this[_0x2a4fa0(0x1d0)][_0x2a4fa0(0x214)](_0x2a4fa0(0x1e5))['to'](this,_0x2a4fa0(0x1bb)),this[_0x2a4fa0(0x1d0)];}[_0x3dafb1(0x1bd)](){const _0x508355=_0x3dafb1;return this[_0x508355(0x200)]=new _0x55a717(this[_0x508355(0x224)]),this[_0x508355(0x200)];}[_0x3dafb1(0x1e2)](){const _0x3ebe73=_0x3dafb1,_0x15802b=new _0x5326df(this[_0x3ebe73(0x224)]),_0x39e4fa=new _0x5326df(this[_0x3ebe73(0x224)]),_0x205140=new AIActionsBalloonNavigationCounterView(this[_0x3ebe73(0x224)]),_0x330138=new _0x5326df(this[_0x3ebe73(0x224)]);_0x15802b[_0x3ebe73(0x227)]({'icon':_0x403fa7,'label':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x1f2)),'tooltip':!0x0,'class':_0x3ebe73(0x1e7)}),_0x39e4fa[_0x3ebe73(0x227)]({'icon':_0x5001e4,'tooltip':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x20c)),'class':_0x3ebe73(0x207)}),_0x330138[_0x3ebe73(0x227)]({'icon':_0x4f4f1e,'tooltip':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x21c)),'class':_0x3ebe73(0x1db)}),_0x15802b[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x2d44ad=>!_0x2d44ad),_0x15802b['on'](_0x3ebe73(0x20b),()=>{const _0x27219e=_0x3ebe73;this[_0x27219e(0x1e3)](_0x27219e(0x220));}),_0x39e4fa[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x2821b6=>!_0x2821b6),_0x39e4fa['on'](_0x3ebe73(0x20b),()=>{const _0xbe7467=_0x3ebe73;this[_0xbe7467(0x1e3)](_0xbe7467(0x1d1));}),_0x330138[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x4a5173=>!_0x4a5173),_0x330138['on'](_0x3ebe73(0x20b),()=>{const _0x484c95=_0x3ebe73;this[_0x484c95(0x1e3)](_0x484c95(0x1df));}),this[_0x3ebe73(0x1cc)]=_0x39e4fa,this[_0x3ebe73(0x201)]=_0x205140,this[_0x3ebe73(0x1f3)]=_0x330138,this[_0x3ebe73(0x1ed)]=_0x15802b;}[_0x3dafb1(0x1b8)](_0x2a7282,_0x35b152){const _0x493c1f=_0x3dafb1;this[_0x493c1f(0x1cc)]||this[_0x493c1f(0x1e2)]();const _0x229786=_0x2a7282>0x1;if(this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1ed)]),_0x229786){this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1cc)]),this[_0x493c1f(0x1fb)](this[_0x493c1f(0x201)]),this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1f3)]);const _0x440388=_0x2a7282-_0x35b152;this[_0x493c1f(0x201)][_0x493c1f(0x221)](_0x440388+'/'+_0x2a7282),this[_0x493c1f(0x1cc)][_0x493c1f(0x1de)]=_0x35b152<_0x2a7282-0x1,this[_0x493c1f(0x1f3)][_0x493c1f(0x1de)]=_0x35b152>0x0;}else this[_0x493c1f(0x22f)](this[_0x493c1f(0x1cc)]),this[_0x493c1f(0x22f)](this[_0x493c1f(0x201)]),this[_0x493c1f(0x22f)](this[_0x493c1f(0x1f3)]);}[_0x3dafb1(0x1f8)](){const _0x40c78d=_0x3dafb1;this[_0x40c78d(0x1ed)][_0x40c78d(0x1de)]=!0x1,this[_0x40c78d(0x1cc)][_0x40c78d(0x1de)]=!0x1,this[_0x40c78d(0x1f3)][_0x40c78d(0x1de)]=!0x1;}[_0x3dafb1(0x1d6)](){const _0x3d89b3=_0x3dafb1;this[_0x3d89b3(0x1e0)](),this[_0x3d89b3(0x1e6)]&&this[_0x3d89b3(0x1e6)][_0x3d89b3(0x21e)]();}[_0x3dafb1(0x230)](){const _0x19b553=_0x3dafb1;this[_0x19b553(0x1e6)]&&this[_0x19b553(0x1e6)][_0x19b553(0x203)]();}[_0x3dafb1(0x1e4)](_0x41672f){const _0x574b8f=_0x3dafb1;this[_0x574b8f(0x1bb)]=_0x41672f;}[_0x3dafb1(0x1d5)](){const _0x3ef78c=_0x3dafb1;this[_0x3ef78c(0x211)][_0x3ef78c(0x22d)]=!0x1;}[_0x3dafb1(0x1e0)](){const _0x218b00=_0x3dafb1,_0x3b319=this[_0x218b00(0x1d7)]();_0x3b319&&!this[_0x218b00(0x1e6)]&&(this[_0x218b00(0x1e6)]=new _0x467e4(_0x3b319));}[_0x3dafb1(0x1d7)](){const _0x465efa=_0x3dafb1;return this[_0x465efa(0x200)][_0x465efa(0x22c)];}}class AIActionsBalloonNavigationCounterView extends _0x1af01d{constructor(_0x4d5bb3){const _0x1ac39c=_0x3dafb1;super(_0x4d5bb3);const _0x3f0e62=this[_0x1ac39c(0x1f4)];this[_0x1ac39c(0x227)](_0x1ac39c(0x1cb),_0x1ac39c(0x20e)),this[_0x1ac39c(0x1c3)]({'tag':_0x1ac39c(0x1f0),'attributes':{'class':[_0x1ac39c(0x1bc)]},'children':[{'text':_0x3f0e62['to'](_0x1ac39c(0x1cb))}]});}[_0x3dafb1(0x221)](_0x214d91){const _0x8adbfb=_0x3dafb1;this[_0x8adbfb(0x227)](_0x8adbfb(0x1cb),_0x214d91);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x223b(_0x206a03,_0x262ae6){const _0x475475=_0x4754();return _0x223b=function(_0x223b16,_0x310034){_0x223b16=_0x223b16-0x1de;let _0x2606c5=_0x475475[_0x223b16];return _0x2606c5;},_0x223b(_0x206a03,_0x262ae6);}const _0x12083f=_0x223b;(function(_0x1ceb49,_0x57359c){const _0x329a5c=_0x223b,_0x31af83=_0x1ceb49();while(!![]){try{const _0x5a9f50=-parseInt(_0x329a5c(0x1de))/0x1*(parseInt(_0x329a5c(0x1ef))/0x2)+parseInt(_0x329a5c(0x1ee))/0x3+-parseInt(_0x329a5c(0x1f1))/0x4+parseInt(_0x329a5c(0x1e7))/0x5+parseInt(_0x329a5c(0x1e0))/0x6+parseInt(_0x329a5c(0x1e3))/0x7+parseInt(_0x329a5c(0x1e5))/0x8;if(_0x5a9f50===_0x57359c)break;else _0x31af83['push'](_0x31af83['shift']());}catch(_0x62217c){_0x31af83['push'](_0x31af83['shift']());}}}(_0x4754,0x73053));import{IconView as _0x2ab15c,ListItemButtonView as _0x204802}from'ckeditor5/src/ui.js';function _0x4754(){const _0x4b13de=['bindTemplate','ck-dropdown-menu-list__nested-menu__button__arrow','children','set','368127aSYTCX','2rZCTpK','_createArrowView','1514232qjbpJB','extendTemplate','menuitem','617950iIqPTq','ck-dropdown-menu-list__nested-menu__button','1172064VPTpVX','render','add','3443720LygfFt','arrowView','987776IXkwgn','isOn','2670730YcUIDv','mouseenter','content'];_0x4754=function(){return _0x4b13de;};return _0x4754();}import{IconDropdownArrow as _0x39ec6f}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x204802{[_0x12083f(0x1e4)];constructor(_0x22d261,_0x1af28f){const _0x49ab4f=_0x12083f;super(_0x22d261,_0x1af28f);const _0x2f208f=this[_0x49ab4f(0x1ea)];this[_0x49ab4f(0x1ed)]({'withText':!0x0,'role':_0x49ab4f(0x1f3)}),this[_0x49ab4f(0x1e4)]=this[_0x49ab4f(0x1f0)](),this[_0x49ab4f(0x1f2)]({'attributes':{'class':[_0x49ab4f(0x1df)],'aria-haspopup':!0x0,'aria-expanded':this[_0x49ab4f(0x1ea)]['to'](_0x49ab4f(0x1e6),_0x2366ed=>String(_0x2366ed)),'data-cke-tooltip-disabled':_0x2f208f['to'](_0x49ab4f(0x1e6))},'on':{'mouseenter':_0x2f208f['to'](_0x49ab4f(0x1e8))}});}[_0x12083f(0x1e1)](){const _0x4d2462=_0x12083f;super[_0x4d2462(0x1e1)](),this[_0x4d2462(0x1ec)][_0x4d2462(0x1e2)](this[_0x4d2462(0x1e4)]);}[_0x12083f(0x1f0)](){const _0x2c3a0f=_0x12083f,_0xffc340=new _0x2ab15c();return _0xffc340[_0x2c3a0f(0x1e9)]=_0x39ec6f,_0xffc340[_0x2c3a0f(0x1f2)]({'attributes':{'class':_0x2c3a0f(0x1eb)}}),_0xffc340;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4766(_0x1a19c3,_0xf396d3){const _0x4dafcc=_0x4daf();return _0x4766=function(_0x47664b,_0xdab387){_0x47664b=_0x47664b-0x1d4;let _0x248ade=_0x4dafcc[_0x47664b];return _0x248ade;},_0x4766(_0x1a19c3,_0xf396d3);}const _0x17345f=_0x4766;(function(_0x121dab,_0x3f9045){const _0x76ed8e=_0x4766,_0x465f8c=_0x121dab();while(!![]){try{const _0x247298=parseInt(_0x76ed8e(0x1f7))/0x1*(parseInt(_0x76ed8e(0x20f))/0x2)+parseInt(_0x76ed8e(0x212))/0x3*(parseInt(_0x76ed8e(0x1de))/0x4)+-parseInt(_0x76ed8e(0x25c))/0x5+parseInt(_0x76ed8e(0x21d))/0x6*(parseInt(_0x76ed8e(0x244))/0x7)+-parseInt(_0x76ed8e(0x1fa))/0x8*(-parseInt(_0x76ed8e(0x261))/0x9)+-parseInt(_0x76ed8e(0x26e))/0xa*(parseInt(_0x76ed8e(0x1f2))/0xb)+-parseInt(_0x76ed8e(0x250))/0xc;if(_0x247298===_0x3f9045)break;else _0x465f8c['push'](_0x465f8c['shift']());}catch(_0x175c5d){_0x465f8c['push'](_0x465f8c['shift']());}}}(_0x4daf,0xba83f));function _0x4daf(){const _0x219a7d=['reviewCheckRunUpdated','_onDeactivateChange','plugins','.ck-ai_review__check-run-result','finished','ai-request-aborted','sendRating','_getChangeContentElement','showReviewCompletedView','showChunkErrorView','ai-review-mode-check-run-failed','requires','275wikPqz','changes','_diffContent','view','rejectChange','710916wJKXGv','_onCheckRunFinished','ai-review-mode-models-unable-to-retrieve','72YXuker','_aiReviewCoreEditing','switchToEdit','getCheckById','unmodified','ck-ai_review-diff','_createReviewCheckRun','context','abort','markAllChangesAsAccepted','AIConnector','isOfficialPlugin','leaveReviewCoreResultList','isChangeActive','showNoChangesView','getRoot','emitter','switchToReadOnly','_getChecksList','isPremiumPlugin','map','4TNiXaU','removeClass','changeMarkerClicked','1930389NMKBhY','checks','_onActivateChange','editing','_scrollToChange','acceptAllChanges','ai-review-mode-check-run-general-error','changeMarkerRestored','ck-ai_review-highlights','_changeActivationSource','getReviewCheckList','36XryWzW','includes','showCheckRunResult','currentError','start','_onReviewRunLeave','markChangeAsAccepted','source','length','retryReview','abortReviewStream','showActionsWhenResultIsReady','hasModifications','reviewCheckResultChangeStatusUpdated','changeId','_logError','getChangeElement','clearAllMarkers','_aiConnector','runReviewCheck','documentData','ck-ai-translate-mode-content','ai-review-mode-check-run-chunk-error','setAvailableChecks','args','contentInitial','getEditor','markChangeAsRejected','markChangeAsOutdated','dismissChange','ai-review-mode-source-check-not-found','change','_onChangeMarkerRemoved','startsWith','error-chunk','panel','result','finishReview','restart','603204vusdLO','_onReviewCheckResultActivated','forceReadyState','_onReviewCheckRun','_onChangeMarkerRestored','error-general','init','acceptChange','params','showCheckRunResults','getActiveChanges','leaveReview','22535700nGZTyy','updateDocumentData','listenTo','aborted','_onChangeMarkerHovered','_onChangeMarkerClicked','updateChangeState','changeMarkerRemoved','changeMarkerBlurred','showGeneralReviewCoreErrorView','reviewCheckResultDeactivated','message','1481090KmUeoG','_markChangePositionInEditorContent','ready','title','data','1450683ReSIEc','reviewCheckResultReady','content','deactivateChange','ai-review-mode-no-current-check-run','reviewCheckResultActivated','showGeneralResultsErrorView','_currentReviewCheckRun','addResultChanges','get','_onChangeMarkerBlurred','loading','getDocumentData','437940lxFads','contentNew','setCheckResultTitle','changeMarkerHovered','activateChange','subTitle','processedResultsCount','_aiReviewCheckList','_aiReviewCoreUi','hideChangeBalloon','applyChange','closest','markChangeAsPending','_initRequiredPlugins','status','4NUyjwL','reviewCheckResultAdded','locale','_onReviewCheckResultDeactivated','_getTranslationWithDefault','showReviewCheckList','stopListening','document'];_0x4daf=function(){return _0x219a7d;};return _0x4daf();}import{ContextPlugin as _0x305185}from'ckeditor5/src/core.js';import{CKEditorError as _0x1b9b1b,logError as _0x7a6e2f,scrollAncestorsToShowTarget as _0x2b6cad,scrollViewportToShowTarget as _0x15e829}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x432a85}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0xff4312}from'../aicore/utils/common-translations.js';import{AIConnector as _0x5afd0c}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x305185{[_0x17345f(0x22f)];[_0x17345f(0x1d7)];[_0x17345f(0x1fb)];[_0x17345f(0x1d6)];[_0x17345f(0x268)];[_0x17345f(0x21b)]=null;static get[_0x17345f(0x1f1)](){return[_0x5afd0c];}static get[_0x17345f(0x205)](){return!0x0;}static get[_0x17345f(0x20d)](){return!0x0;}async[_0x17345f(0x24a)](){const _0x3ab586=_0x17345f;this[_0x3ab586(0x1dc)](),this[_0x3ab586(0x1d6)]=await this[_0x3ab586(0x20c)](),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x21c),()=>{const _0x3c2b0f=_0x3ab586;this[_0x3c2b0f(0x1d7)][_0x3c2b0f(0x234)](this[_0x3c2b0f(0x1d6)][_0x3c2b0f(0x213)]);}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x230),async(_0x371826,_0x48b931)=>{const _0x291da6=_0x3ab586,_0x4868b4=this[_0x291da6(0x1d6)][_0x291da6(0x1fd)](_0x48b931['id']);if(_0x4868b4){this[_0x291da6(0x247)](_0x48b931),this[_0x291da6(0x1fb)][_0x291da6(0x20b)](),this[_0x291da6(0x268)]=this[_0x291da6(0x200)](_0x48b931,_0x4868b4),this[_0x291da6(0x1d7)][_0x291da6(0x270)](this[_0x291da6(0x268)][_0x291da6(0x25f)],this[_0x291da6(0x268)][_0x291da6(0x1d4)]),this[_0x291da6(0x268)]['on'](_0x291da6(0x1e6),(_0xf36610,_0x43366d)=>{const _0x41de21=_0x291da6;switch(_0x43366d[_0x41de21(0x1dd)]){case _0x41de21(0x260):case _0x41de21(0x26c):this[_0x41de21(0x1d7)][_0x41de21(0x24d)](_0x43366d);break;case _0x41de21(0x1ea):this[_0x41de21(0x1f8)]();break;case _0x41de21(0x25e):this[_0x41de21(0x1d7)][_0x41de21(0x228)]();break;case _0x41de21(0x1fe):this[_0x41de21(0x1d7)][_0x41de21(0x208)]();break;case _0x41de21(0x249):this[_0x41de21(0x1d7)][_0x41de21(0x267)](),this[_0x41de21(0x22c)](new _0x1b9b1b(_0x41de21(0x218),this,void 0x0,this[_0x41de21(0x268)]?.[_0x41de21(0x220)]));break;case _0x41de21(0x23f):this[_0x41de21(0x1d7)][_0x41de21(0x1ef)](),this[_0x41de21(0x22c)](new _0x1b9b1b(_0x41de21(0x233),this,void 0x0,this[_0x41de21(0x268)]?.[_0x41de21(0x220)]));break;case _0x41de21(0x253):this[_0x41de21(0x268)]&&this[_0x41de21(0x268)][_0x41de21(0x1d5)]>0x0?setTimeout(()=>{const _0x7d4350=_0x41de21;this[_0x7d4350(0x268)]?.[_0x7d4350(0x246)]();},0x0):this[_0x41de21(0x222)](!0x0);}_0x41de21(0x25e)!==_0x43366d[_0x41de21(0x1dd)]&&_0x41de21(0x23f)!==_0x43366d[_0x41de21(0x1dd)]&&_0x41de21(0x249)!==_0x43366d[_0x41de21(0x1dd)]||this[_0x41de21(0x268)]?.[_0x41de21(0x1ec)]();}),this[_0x291da6(0x268)]['on'](_0x291da6(0x1df),(_0x506bde,_0x448a8f)=>{const _0x58e6d8=_0x291da6;if(!this[_0x58e6d8(0x268)])throw new _0x1b9b1b(_0x58e6d8(0x265),this);const _0x569d4c=this[_0x58e6d8(0x1f4)](_0x448a8f[_0x58e6d8(0x241)][_0x58e6d8(0x236)],_0x448a8f[_0x58e6d8(0x241)][_0x58e6d8(0x26f)]);_0x448a8f[_0x58e6d8(0x224)][_0x58e6d8(0x269)](_0x448a8f[_0x58e6d8(0x241)]['id'],_0x569d4c);}),this[_0x291da6(0x268)]['on'](_0x291da6(0x262),(_0x335074,_0x524a40)=>{const _0x3a7f8b=_0x291da6;for(const _0x44e730 of _0x524a40[_0x3a7f8b(0x1f3)])this[_0x3a7f8b(0x1d7)][_0x3a7f8b(0x21f)](_0x44e730);this[_0x3a7f8b(0x25d)](_0x524a40[_0x3a7f8b(0x1f3)],_0x524a40[_0x3a7f8b(0x224)][_0x3a7f8b(0x231)]);}),this[_0x291da6(0x268)]['on'](_0x291da6(0x22a),(_0x4894b9,_0x5b3eb5)=>{const _0x3e89bb=_0x291da6;this[_0x3e89bb(0x1d7)][_0x3e89bb(0x256)](_0x5b3eb5[_0x3e89bb(0x23c)]['id'],_0x5b3eb5[_0x3e89bb(0x1dd)]);}),this[_0x291da6(0x268)]['on'](_0x291da6(0x266),(_0xbb4bd,_0x3cc1a3)=>{const _0x390ee4=_0x291da6;this[_0x390ee4(0x245)](_0x3cc1a3);}),this[_0x291da6(0x268)]['on'](_0x291da6(0x25a),()=>{const _0x32c9d1=_0x291da6;this[_0x32c9d1(0x1e1)]();});try{await this[_0x291da6(0x268)][_0x291da6(0x221)]();}catch(_0x528d75){_0x528d75 instanceof Error&&_0x528d75[_0x291da6(0x25b)][_0x291da6(0x21e)](_0x291da6(0x1eb))||(_0x528d75 instanceof _0x1b9b1b?this[_0x291da6(0x22c)](_0x528d75):this[_0x291da6(0x22c)](new _0x1b9b1b(_0x291da6(0x1f0),this,void 0x0,_0x528d75)));}}else this[_0x291da6(0x22c)](new _0x1b9b1b(_0x291da6(0x23b),this,{'checkId':_0x48b931['id']}));}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x24f),()=>{const _0x5cfd7b=_0x3ab586;this[_0x5cfd7b(0x222)]();}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x206),()=>{const _0x536bd5=_0x3ab586;this[_0x536bd5(0x222)](!0x0);}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x227),()=>{const _0x378298=_0x3ab586;this[_0x378298(0x268)]&&this[_0x378298(0x268)][_0x378298(0x202)]();}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x242),()=>{const _0x305753=_0x3ab586;this[_0x305753(0x222)](!0x0);}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x217),()=>{const _0x59d524=_0x3ab586;if(!this[_0x59d524(0x268)])return;const _0x4bfdc1=this[_0x59d524(0x268)][_0x59d524(0x24e)]();if(!_0x4bfdc1[_0x59d524(0x225)])return;this[_0x59d524(0x1fb)][_0x59d524(0x1d9)](_0x4bfdc1[_0x59d524(0x20e)](_0x587a2b=>_0x587a2b['id']));const _0x3e33cb=this[_0x59d524(0x268)];_0x3e33cb[_0x59d524(0x203)](),_0x3e33cb[_0x59d524(0x1ec)]();}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x24b),(_0x4e0d9c,_0x3f65c9)=>{const _0x49a104=_0x3ab586;this[_0x49a104(0x268)]&&this[_0x49a104(0x268)][_0x49a104(0x207)](_0x3f65c9['id'])&&(this[_0x49a104(0x1fb)][_0x49a104(0x1d9)]([_0x3f65c9['id']]),this[_0x49a104(0x268)][_0x49a104(0x223)](_0x3f65c9['id']),this[_0x49a104(0x1d7)][_0x49a104(0x1d8)](),this[_0x49a104(0x268)][_0x49a104(0x1ec)](_0x3f65c9['id']));}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x23a),(_0x15dfb7,_0x53d9b8)=>{const _0x1285b9=_0x3ab586;this[_0x1285b9(0x268)]&&this[_0x1285b9(0x268)][_0x1285b9(0x207)](_0x53d9b8['id'])&&(this[_0x1285b9(0x1fb)][_0x1285b9(0x1f6)](_0x53d9b8['id']),this[_0x1285b9(0x268)][_0x1285b9(0x238)](_0x53d9b8['id']),this[_0x1285b9(0x1d7)][_0x1285b9(0x1d8)](),this[_0x1285b9(0x268)][_0x1285b9(0x1ec)](_0x53d9b8['id']));}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x226),async()=>{const _0x104208=_0x3ab586;this[_0x104208(0x268)]&&(this[_0x104208(0x1fb)][_0x104208(0x22e)](),this[_0x104208(0x268)][_0x104208(0x251)](this[_0x104208(0x1fb)][_0x104208(0x26d)]()),await this[_0x104208(0x268)][_0x104208(0x243)]());}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x272),(_0x37382c,_0x41eafe)=>{const _0x453265=_0x3ab586;this[_0x453265(0x214)](_0x41eafe);}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1d7)],_0x3ab586(0x264),(_0x3a94a8,_0x24c57d)=>{const _0x35bf80=_0x3ab586;this[_0x35bf80(0x1e7)](_0x24c57d);}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1fb)][_0x3ab586(0x20a)],_0x3ab586(0x211),(_0x30d157,_0x12cbf6)=>{const _0xf6519b=_0x3ab586;this[_0xf6519b(0x255)](_0x30d157,_0x12cbf6);}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1fb)][_0x3ab586(0x20a)],_0x3ab586(0x271),(_0x463b1e,_0x3a1a4e)=>{const _0x5e8f6d=_0x3ab586;this[_0x5e8f6d(0x254)](_0x463b1e,_0x3a1a4e);}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1fb)][_0x3ab586(0x20a)],_0x3ab586(0x258),()=>{const _0x579986=_0x3ab586;this[_0x579986(0x26b)]();}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1fb)][_0x3ab586(0x20a)],_0x3ab586(0x257),(_0x5e6b14,_0x319f97)=>{const _0x244d05=_0x3ab586;this[_0x244d05(0x23d)](_0x5e6b14,_0x319f97);}),this[_0x3ab586(0x252)](this[_0x3ab586(0x1fb)][_0x3ab586(0x20a)],_0x3ab586(0x219),(_0x3ee65c,_0x3b0827)=>{const _0x35539b=_0x3ab586;this[_0x35539b(0x248)](_0x3ee65c,_0x3b0827);});}[_0x17345f(0x200)](_0x30aef5,_0x1dc775){const _0x4bc324=_0x17345f;return new _0x432a85(this[_0x4bc324(0x1fb)][_0x4bc324(0x26d)](),_0x1dc775,this[_0x4bc324(0x22f)],_0x30aef5[_0x4bc324(0x24c)],_0x30aef5[_0x4bc324(0x235)]);}[_0x17345f(0x23d)](_0x2aaa76,_0x3612ce){const _0x356533=_0x17345f;this[_0x356533(0x268)]&&this[_0x356533(0x268)][_0x356533(0x239)](_0x3612ce[_0x356533(0x22b)]);}[_0x17345f(0x248)](_0x32f24d,_0x5d39f3){const _0x16bed0=_0x17345f;this[_0x16bed0(0x268)]&&this[_0x16bed0(0x268)][_0x16bed0(0x1db)](_0x5d39f3[_0x16bed0(0x22b)]);}[_0x17345f(0x1f8)](){const _0x205fcb=_0x17345f;this[_0x205fcb(0x1d7)][_0x205fcb(0x1ee)]();}[_0x17345f(0x1dc)](){const _0x4f9d9c=_0x17345f;this[_0x4f9d9c(0x22f)]=this[_0x4f9d9c(0x201)][_0x4f9d9c(0x1e8)][_0x4f9d9c(0x26a)](_0x4f9d9c(0x204));}[_0x17345f(0x222)](_0x431bca=!0x1){const _0xf72ab6=_0x17345f;this[_0xf72ab6(0x268)]&&(this[_0xf72ab6(0x268)][_0xf72ab6(0x229)]||this[_0xf72ab6(0x268)][_0xf72ab6(0x1ec)](),this[_0xf72ab6(0x268)][_0xf72ab6(0x1e4)](),this[_0xf72ab6(0x268)][_0xf72ab6(0x202)](),this[_0xf72ab6(0x268)]=void 0x0),_0x431bca&&this[_0xf72ab6(0x1d7)][_0xf72ab6(0x1e3)](),this[_0xf72ab6(0x1fb)][_0xf72ab6(0x22e)](),this[_0xf72ab6(0x1fb)][_0xf72ab6(0x1fc)](),this[_0xf72ab6(0x21b)]=null;const _0x42c8e9=this[_0xf72ab6(0x1fb)][_0xf72ab6(0x237)]();_0x42c8e9&&_0x42c8e9[_0xf72ab6(0x215)][_0xf72ab6(0x1f5)][_0xf72ab6(0x23c)](_0x2088d2=>{const _0x555d77=_0xf72ab6,_0x2e3ba6=_0x42c8e9[_0x555d77(0x215)][_0x555d77(0x1f5)][_0x555d77(0x1e5)][_0x555d77(0x209)]();_0x2088d2[_0x555d77(0x210)](_0x555d77(0x1ff),_0x2e3ba6),_0x2088d2[_0x555d77(0x210)](_0x555d77(0x21a),_0x2e3ba6),_0x2088d2[_0x555d77(0x210)](_0x555d77(0x232),_0x2e3ba6);});}[_0x17345f(0x1e2)](_0x4c5e04,_0x2d72c6){const _0x53c90f=_0x17345f,_0x3480f1=this[_0x53c90f(0x201)][_0x53c90f(0x1e0)],_0x1cc601=_0xff4312(_0x3480f1,_0x4c5e04);return _0x1cc601===_0x4c5e04?_0x2d72c6:_0x1cc601;}[_0x17345f(0x22c)](_0x383809,_0x2ca9d3=!0x1){const _0x34d8af=_0x17345f;_0x7a6e2f(_0x383809[_0x34d8af(0x25b)]),_0x2ca9d3||(_0x383809[_0x34d8af(0x25b)][_0x34d8af(0x23e)](_0x34d8af(0x1f9))?this[_0x34d8af(0x1d7)][_0x34d8af(0x259)]():this[_0x34d8af(0x1d7)][_0x34d8af(0x267)]());}[_0x17345f(0x216)](_0x18db65){const _0xcc4d8f=_0x17345f;if(_0xcc4d8f(0x263)===this[_0xcc4d8f(0x21b)]){const _0x229a1a=this[_0xcc4d8f(0x1d7)][_0xcc4d8f(0x22d)](_0x18db65);_0x229a1a&&_0x2b6cad(_0x229a1a[_0xcc4d8f(0x1da)](_0xcc4d8f(0x1e9))||_0x229a1a);}else{if(_0xcc4d8f(0x240)===this[_0xcc4d8f(0x21b)]){const _0x538bc3=this[_0xcc4d8f(0x1ed)](_0x18db65);if(!_0x538bc3)return;_0x15e829({'target':_0x538bc3,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
23
|
+
function _0x31a0(_0x2e3c5d,_0x565154){const _0xd69107=_0xd691();return _0x31a0=function(_0x31a073,_0x281843){_0x31a073=_0x31a073-0x99;let _0x2d8b2e=_0xd69107[_0x31a073];return _0x2d8b2e;},_0x31a0(_0x2e3c5d,_0x565154);}const _0x28b523=_0x31a0;(function(_0x16f8c0,_0x56d553){const _0x398fc1=_0x31a0,_0x2e80be=_0x16f8c0();while(!![]){try{const _0x12ddc7=parseInt(_0x398fc1(0xeb))/0x1*(parseInt(_0x398fc1(0xba))/0x2)+parseInt(_0x398fc1(0x106))/0x3*(parseInt(_0x398fc1(0x135))/0x4)+-parseInt(_0x398fc1(0xf9))/0x5+parseInt(_0x398fc1(0xac))/0x6*(-parseInt(_0x398fc1(0xa5))/0x7)+parseInt(_0x398fc1(0x109))/0x8*(parseInt(_0x398fc1(0x11b))/0x9)+parseInt(_0x398fc1(0xd1))/0xa*(parseInt(_0x398fc1(0xaa))/0xb)+-parseInt(_0x398fc1(0xe7))/0xc;if(_0x12ddc7===_0x56d553)break;else _0x2e80be['push'](_0x2e80be['shift']());}catch(_0x552796){_0x2e80be['push'](_0x2e80be['shift']());}}}(_0xd691,0x374ae));import{ContextPlugin as _0x5e757f}from'ckeditor5/src/core.js';import{CKEditorError as _0x21150c,logError as _0x350e60,scrollAncestorsToShowTarget as _0x7ff6d8,scrollViewportToShowTarget as _0x2180c6}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x11f44f}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x2946fc}from'../aicore/utils/common-translations.js';function _0xd691(){const _0x10274f=['setAvailableChecks','ready','455570mHYDsN','source','map','_onReviewCheckResultActivated','changeMarkerBlurred','_changeActivationSource','ai-request-aborted','_onDeactivateChange','reviewCheckResultDeactivated','getCheckById','ai-review-mode-check-run-failed','finishReview','_scrollToChange','markChangeAsRejected','leaveReview','processedResultsCount','_initRequiredPlugins','changeId','content','_getTranslationWithDefault','_logError','ai-review-mode-check-run-general-error','reviewCheckRunUpdated','200MupiDQ','acceptChange','reviewCheckResultActivated','startsWith','_aiReviewCoreUi','showActionsWhenResultIsReady','locale','showReviewCompletedView','sendRating','ai-review-mode-no-current-check-run','addResultChanges','markChangeAsAccepted','checks','clearAllMarkers','get','_onChangeMarkerRestored','_onReviewCheckRun','AIConnector','panel','document','dismissChange','init','3854772yPFvNI','showGeneralReviewCoreErrorView','_currentReviewCheckRun','getActiveChanges','1ZpWqJC','isChangeActive','forceReadyState','showGeneralResultsErrorView','hasModifications','ai-review-mode-models-unable-to-retrieve','ai-review-mode-check-run-chunk-error','listenTo','closest','acceptAllChanges','showChunkErrorView','_getChecksList','_onActivateChange','error-chunk','234375RTaQmA','showReviewCheckList','length','retryReview','_aiConnector','_onChangeMarkerRemoved','getChangeElement','contentInitial','restart','changeMarkerHovered','hideChangeBalloon','getDocumentData','getRoot','3yxFfDH','_onChangeMarkerClicked','start','4048weVJLF','ck-ai-translate-mode-content','emitter','showNoChangesView','activateChange','requires','showCheckRunResult','finished','change','applyChange','changes','_onCheckRunFinished','_onChangeMarkerHovered','markAllChangesAsAccepted','switchToReadOnly','markChangeAsPending','showCheckRunResults','data','5328KOAyoQ','ai-review-mode-source-check-not-found','error-general','includes','editing','stopListening','_markChangePositionInEditorContent','_onReviewRunLeave','updateChangeState','deactivateChange','view','currentError','params','leaveReviewCoreResultList','changeMarkerRestored','contentNew','_onReviewCheckResultDeactivated','markChangeAsOutdated','status','changeMarkerClicked','rejectChange','runReviewCheck','updateDocumentData','reviewCheckResultAdded','reviewCheckResultChangeStatusUpdated','abort','1574740xgOyMg','getEditor','removeClass','_aiReviewCheckList','.ck-ai_review__check-run-result','abortReviewStream','documentData','loading','unmodified','setCheckResultTitle','context','result','reviewCheckResultReady','_diffContent','_aiReviewCoreEditing','14kJBeDm','changeMarkerRemoved','title','ck-ai_review-highlights','getReviewCheckList','22484hTKkmh','_createReviewCheckRun','1101954ftalMY','ck-ai_review-diff','aborted','args','_getChangeContentElement','isPremiumPlugin','subTitle','plugins','switchToEdit','_onChangeMarkerBlurred','isOfficialPlugin','message'];_0xd691=function(){return _0x10274f;};return _0xd691();}import{AIConnector as _0x1ed94b}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x5e757f{[_0x28b523(0xfd)];[_0x28b523(0xd5)];[_0x28b523(0xa4)];[_0x28b523(0x99)];[_0x28b523(0xe9)];[_0x28b523(0xbf)]=null;static get[_0x28b523(0x10e)](){return[_0x1ed94b];}static get[_0x28b523(0xb6)](){return!0x0;}static get[_0x28b523(0xb1)](){return!0x0;}async[_0x28b523(0xe6)](){const _0x33ac15=_0x28b523;this[_0x33ac15(0xca)](),this[_0x33ac15(0x99)]=await this[_0x33ac15(0xf6)](),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0xa9),()=>{const _0x67f6c4=_0x33ac15;this[_0x67f6c4(0xd5)][_0x67f6c4(0xb8)](this[_0x67f6c4(0x99)][_0x67f6c4(0xdd)]);}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0x130),async(_0x1ea945,_0x2208e5)=>{const _0x4c9be7=_0x33ac15,_0x393868=this[_0x4c9be7(0x99)][_0x4c9be7(0xc3)](_0x2208e5['id']);if(_0x393868){this[_0x4c9be7(0xe1)](_0x2208e5),this[_0x4c9be7(0xa4)][_0x4c9be7(0x117)](),this[_0x4c9be7(0xe9)]=this[_0x4c9be7(0xab)](_0x2208e5,_0x393868),this[_0x4c9be7(0xd5)][_0x4c9be7(0x9f)](this[_0x4c9be7(0xe9)][_0x4c9be7(0xa7)],this[_0x4c9be7(0xe9)][_0x4c9be7(0xb2)]),this[_0x4c9be7(0xe9)]['on'](_0x4c9be7(0xd0),(_0x464fcb,_0x14a11f)=>{const _0x138d06=_0x4c9be7;switch(_0x14a11f[_0x138d06(0x12d)]){case _0x138d06(0x11a):case _0x138d06(0x9d):this[_0x138d06(0xd5)][_0x138d06(0x119)](_0x14a11f);break;case _0x138d06(0x110):this[_0x138d06(0x114)]();break;case _0x138d06(0xb9):this[_0x138d06(0xd5)][_0x138d06(0xd6)]();break;case _0x138d06(0x9e):this[_0x138d06(0xd5)][_0x138d06(0x10c)]();break;case _0x138d06(0x11d):this[_0x138d06(0xd5)][_0x138d06(0xee)](),this[_0x138d06(0xce)](new _0x21150c(_0x138d06(0xcf),this,void 0x0,this[_0x138d06(0xe9)]?.[_0x138d06(0x126)]));break;case _0x138d06(0xf8):this[_0x138d06(0xd5)][_0x138d06(0xf5)](),this[_0x138d06(0xce)](new _0x21150c(_0x138d06(0xf1),this,void 0x0,this[_0x138d06(0xe9)]?.[_0x138d06(0x126)]));break;case _0x138d06(0xae):this[_0x138d06(0xe9)]&&this[_0x138d06(0xe9)][_0x138d06(0xc9)]>0x0?setTimeout(()=>{const _0x30fc35=_0x138d06;this[_0x30fc35(0xe9)]?.[_0x30fc35(0xed)]();},0x0):this[_0x138d06(0x122)](!0x0);}_0x138d06(0xb9)!==_0x14a11f[_0x138d06(0x12d)]&&_0x138d06(0xf8)!==_0x14a11f[_0x138d06(0x12d)]&&_0x138d06(0x11d)!==_0x14a11f[_0x138d06(0x12d)]||this[_0x138d06(0xe9)]?.[_0x138d06(0xd9)]();}),this[_0x4c9be7(0xe9)]['on'](_0x4c9be7(0x132),(_0x2352cf,_0xd75588)=>{const _0x2cb894=_0x4c9be7;if(!this[_0x2cb894(0xe9)])throw new _0x21150c(_0x2cb894(0xda),this);const _0x1adb37=this[_0x2cb894(0xa3)](_0xd75588[_0x2cb894(0xa1)][_0x2cb894(0x100)],_0xd75588[_0x2cb894(0xa1)][_0x2cb894(0x12a)]);_0xd75588[_0x2cb894(0xbb)][_0x2cb894(0xdb)](_0xd75588[_0x2cb894(0xa1)]['id'],_0x1adb37);}),this[_0x4c9be7(0xe9)]['on'](_0x4c9be7(0xa2),(_0x571990,_0x4c48e1)=>{const _0x32b0da=_0x4c9be7;for(const _0x434f1d of _0x4c48e1[_0x32b0da(0x113)])this[_0x32b0da(0xd5)][_0x32b0da(0x10f)](_0x434f1d);this[_0x32b0da(0x121)](_0x4c48e1[_0x32b0da(0x113)],_0x4c48e1[_0x32b0da(0xbb)][_0x32b0da(0x9c)]);}),this[_0x4c9be7(0xe9)]['on'](_0x4c9be7(0x133),(_0x27b374,_0x57a983)=>{const _0x5e7596=_0x4c9be7;this[_0x5e7596(0xd5)][_0x5e7596(0x123)](_0x57a983[_0x5e7596(0x111)]['id'],_0x57a983[_0x5e7596(0x12d)]);}),this[_0x4c9be7(0xe9)]['on'](_0x4c9be7(0xd3),(_0x4355a6,_0xaeeac2)=>{const _0x297690=_0x4c9be7;this[_0x297690(0xbd)](_0xaeeac2);}),this[_0x4c9be7(0xe9)]['on'](_0x4c9be7(0xc2),()=>{const _0x317190=_0x4c9be7;this[_0x317190(0x12b)]();});try{await this[_0x4c9be7(0xe9)][_0x4c9be7(0x108)]();}catch(_0x126306){_0x126306 instanceof Error&&_0x126306[_0x4c9be7(0xb7)][_0x4c9be7(0x11e)](_0x4c9be7(0xc0))||(_0x126306 instanceof _0x21150c?this[_0x4c9be7(0xce)](_0x126306):this[_0x4c9be7(0xce)](new _0x21150c(_0x4c9be7(0xc4),this,void 0x0,_0x126306)));}}else this[_0x4c9be7(0xce)](new _0x21150c(_0x4c9be7(0x11c),this,{'checkId':_0x2208e5['id']}));}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0xc8),()=>{const _0x113125=_0x33ac15;this[_0x113125(0x122)]();}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0x128),()=>{const _0x5686af=_0x33ac15;this[_0x5686af(0x122)](!0x0);}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0x9b),()=>{const _0x5d4797=_0x33ac15;this[_0x5d4797(0xe9)]&&this[_0x5d4797(0xe9)][_0x5d4797(0x134)]();}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0xc5),()=>{const _0x5a3cdd=_0x33ac15;this[_0x5a3cdd(0x122)](!0x0);}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0xf4),()=>{const _0x49a635=_0x33ac15;if(!this[_0x49a635(0xe9)])return;const _0x5d53a2=this[_0x49a635(0xe9)][_0x49a635(0xea)]();if(!_0x5d53a2[_0x49a635(0xfb)])return;this[_0x49a635(0xa4)][_0x49a635(0x112)](_0x5d53a2[_0x49a635(0xbc)](_0x4614c9=>_0x4614c9['id']));const _0x1cf7c4=this[_0x49a635(0xe9)];_0x1cf7c4[_0x49a635(0x116)](),_0x1cf7c4[_0x49a635(0xd9)]();}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0xd2),(_0x4ed468,_0x30869a)=>{const _0x45c67c=_0x33ac15;this[_0x45c67c(0xe9)]&&this[_0x45c67c(0xe9)][_0x45c67c(0xec)](_0x30869a['id'])&&(this[_0x45c67c(0xa4)][_0x45c67c(0x112)]([_0x30869a['id']]),this[_0x45c67c(0xe9)][_0x45c67c(0xdc)](_0x30869a['id']),this[_0x45c67c(0xd5)][_0x45c67c(0x103)](),this[_0x45c67c(0xe9)][_0x45c67c(0xd9)](_0x30869a['id']));}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0xe5),(_0xbd968c,_0x177866)=>{const _0x4628c6=_0x33ac15;this[_0x4628c6(0xe9)]&&this[_0x4628c6(0xe9)][_0x4628c6(0xec)](_0x177866['id'])&&(this[_0x4628c6(0xa4)][_0x4628c6(0x12f)](_0x177866['id']),this[_0x4628c6(0xe9)][_0x4628c6(0xc7)](_0x177866['id']),this[_0x4628c6(0xd5)][_0x4628c6(0x103)](),this[_0x4628c6(0xe9)][_0x4628c6(0xd9)](_0x177866['id']));}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0xfc),async()=>{const _0x5e8dd8=_0x33ac15;this[_0x5e8dd8(0xe9)]&&(this[_0x5e8dd8(0xa4)][_0x5e8dd8(0xde)](),this[_0x5e8dd8(0xe9)][_0x5e8dd8(0x131)](this[_0x5e8dd8(0xa4)][_0x5e8dd8(0x104)]()),await this[_0x5e8dd8(0xe9)][_0x5e8dd8(0x101)]());}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0x10d),(_0x133fed,_0x31d79c)=>{const _0x29a9bb=_0x33ac15;this[_0x29a9bb(0xf7)](_0x31d79c);}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xd5)],_0x33ac15(0x124),(_0x18ff5e,_0x2a2b2d)=>{const _0x45772c=_0x33ac15;this[_0x45772c(0xc1)](_0x2a2b2d);}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xa4)][_0x33ac15(0x10b)],_0x33ac15(0x12e),(_0x3524a1,_0x23ab76)=>{const _0x1e694b=_0x33ac15;this[_0x1e694b(0x107)](_0x3524a1,_0x23ab76);}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xa4)][_0x33ac15(0x10b)],_0x33ac15(0x102),(_0x420c63,_0x19dd26)=>{const _0x809d00=_0x33ac15;this[_0x809d00(0x115)](_0x420c63,_0x19dd26);}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xa4)][_0x33ac15(0x10b)],_0x33ac15(0xbe),()=>{const _0x5c8fe4=_0x33ac15;this[_0x5c8fe4(0xb5)]();}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xa4)][_0x33ac15(0x10b)],_0x33ac15(0xa6),(_0x3e0ecf,_0x28e794)=>{const _0x1e3873=_0x33ac15;this[_0x1e3873(0xfe)](_0x3e0ecf,_0x28e794);}),this[_0x33ac15(0xf2)](this[_0x33ac15(0xa4)][_0x33ac15(0x10b)],_0x33ac15(0x129),(_0x1a1e21,_0x58bc24)=>{const _0x442f49=_0x33ac15;this[_0x442f49(0xe0)](_0x1a1e21,_0x58bc24);});}[_0x28b523(0xab)](_0x46e0eb,_0x5f00f6){const _0xb19890=_0x28b523;return new _0x11f44f(this[_0xb19890(0xa4)][_0xb19890(0x104)](),_0x5f00f6,this[_0xb19890(0xfd)],_0x46e0eb[_0xb19890(0x127)],_0x46e0eb[_0xb19890(0xaf)]);}[_0x28b523(0xfe)](_0x168f85,_0x1b99bb){const _0x4cce48=_0x28b523;this[_0x4cce48(0xe9)]&&this[_0x4cce48(0xe9)][_0x4cce48(0x12c)](_0x1b99bb[_0x4cce48(0xcb)]);}[_0x28b523(0xe0)](_0x59cb16,_0x1c5af2){const _0x588d26=_0x28b523;this[_0x588d26(0xe9)]&&this[_0x588d26(0xe9)][_0x588d26(0x118)](_0x1c5af2[_0x588d26(0xcb)]);}[_0x28b523(0x114)](){const _0x27d0e3=_0x28b523;this[_0x27d0e3(0xd5)][_0x27d0e3(0xd8)]();}[_0x28b523(0xca)](){const _0x3945a9=_0x28b523;this[_0x3945a9(0xfd)]=this[_0x3945a9(0xa0)][_0x3945a9(0xb3)][_0x3945a9(0xdf)](_0x3945a9(0xe2));}[_0x28b523(0x122)](_0x418e53=!0x1){const _0x368342=_0x28b523;this[_0x368342(0xe9)]&&(this[_0x368342(0xe9)][_0x368342(0xef)]||this[_0x368342(0xe9)][_0x368342(0xd9)](),this[_0x368342(0xe9)][_0x368342(0x120)](),this[_0x368342(0xe9)][_0x368342(0x134)](),this[_0x368342(0xe9)]=void 0x0),_0x418e53&&this[_0x368342(0xd5)][_0x368342(0xfa)](),this[_0x368342(0xa4)][_0x368342(0xde)](),this[_0x368342(0xa4)][_0x368342(0xb4)](),this[_0x368342(0xbf)]=null;const _0x488215=this[_0x368342(0xa4)][_0x368342(0x136)]();_0x488215&&_0x488215[_0x368342(0x11f)][_0x368342(0x125)][_0x368342(0x111)](_0xfc9dfd=>{const _0x11c2cb=_0x368342,_0x2a37cb=_0x488215[_0x11c2cb(0x11f)][_0x11c2cb(0x125)][_0x11c2cb(0xe4)][_0x11c2cb(0x105)]();_0xfc9dfd[_0x11c2cb(0x137)](_0x11c2cb(0xad),_0x2a37cb),_0xfc9dfd[_0x11c2cb(0x137)](_0x11c2cb(0xa8),_0x2a37cb),_0xfc9dfd[_0x11c2cb(0x137)](_0x11c2cb(0x10a),_0x2a37cb);});}[_0x28b523(0xcd)](_0x4f2c24,_0x36afdf){const _0x447acd=_0x28b523,_0x279fa1=this[_0x447acd(0xa0)][_0x447acd(0xd7)],_0x2edf4d=_0x2946fc(_0x279fa1,_0x4f2c24);return _0x2edf4d===_0x4f2c24?_0x36afdf:_0x2edf4d;}[_0x28b523(0xce)](_0x493ba3,_0x4d29ba=!0x1){const _0x5195d3=_0x28b523;_0x350e60(_0x493ba3[_0x5195d3(0xb7)]),_0x4d29ba||(_0x493ba3[_0x5195d3(0xb7)][_0x5195d3(0xd4)](_0x5195d3(0xf0))?this[_0x5195d3(0xd5)][_0x5195d3(0xe8)]():this[_0x5195d3(0xd5)][_0x5195d3(0xee)]());}[_0x28b523(0xc6)](_0x2d2e57){const _0x5c8f53=_0x28b523;if(_0x5c8f53(0xcc)===this[_0x5c8f53(0xbf)]){const _0x50ceaa=this[_0x5c8f53(0xd5)][_0x5c8f53(0xff)](_0x2d2e57);_0x50ceaa&&_0x7ff6d8(_0x50ceaa[_0x5c8f53(0xf3)](_0x5c8f53(0x9a))||_0x50ceaa);}else{if(_0x5c8f53(0xe3)===this[_0x5c8f53(0xbf)]){const _0x2e66fb=this[_0x5c8f53(0xb0)](_0x2d2e57);if(!_0x2e66fb)return;_0x2180c6({'target':_0x2e66fb,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a2f58=_0x2fed;(function(_0x8695fd,_0x1787d5){const _0x4bc48a=_0x2fed,_0x2ae89a=_0x8695fd();while(!![]){try{const _0xf790bf=parseInt(_0x4bc48a(0x23a))/0x1*(-parseInt(_0x4bc48a(0x2ec))/0x2)+-parseInt(_0x4bc48a(0x210))/0x3+parseInt(_0x4bc48a(0x207))/0x4+-parseInt(_0x4bc48a(0x2d2))/0x5+parseInt(_0x4bc48a(0x2ad))/0x6*(parseInt(_0x4bc48a(0x2bb))/0x7)+-parseInt(_0x4bc48a(0x28b))/0x8*(-parseInt(_0x4bc48a(0x2ae))/0x9)+-parseInt(_0x4bc48a(0x2f6))/0xa;if(_0xf790bf===_0x1787d5)break;else _0x2ae89a['push'](_0x2ae89a['shift']());}catch(_0x57be67){_0x2ae89a['push'](_0x2ae89a['shift']());}}}(_0x50a7,0x216bb));import{InsertOperation as _0x212ee0,MarkerOperation as _0x43c30c,ModelDocumentFragment as _0x103304,ModelPosition as _0x4e7274,ModelRange as _0x106927,ModelTreeWalker as _0xb73e42,transformOperationSets as _0x998593}from'ckeditor5/src/engine.js';function _0x50a7(){const _0x562031=['deleteContent','createRangeOn','markerName','append','target','path','_parseMarkerName','ck-ai_review-marker_context-end','switchToReadOnly','groupId','_changePositionOwnerDocument','forward','dataDowncast','type','for','createRangeIn','processor','hasClass','outerHTML','length','_nextDataId','clone','_getOperationEnd','operationsA','conversion','ck-ai_review-marker_underline','childCount','editing','split','getEditableElement','changeMarkerBlurred','getMarkerElementForChange','createRawElement','switchToEdit','exec','highest','batch','_changeOperationOwnerDocument','_removeChildren','requires','span','getPath','remove','closest','getChildren','setAllMarkersAsInactive','isBlock','_eventEmitter','htmlProcessor','createSelection','diffContent','_handleMarkerChanges','parse','forEach','clear','hasContentAfter','_markers','end','filter','content','_insertMarkers','has','applyOperation','suggestion:deletion:id:authorId:','getStart','_activeMarkers','.ck-reset.ck-ai_review-balloon-panel-suggestion','ck-ai_review-marker_hide','isAtStart','_hasSameTopLevelElement','_translateOperationToEditorContent','differ','documentFragment','from','data','24yOdoTK','isPremiumPlugin','elements','isIntersecting','disableReadOnlyMode','howMany','_validateMarkers','isOfficialPlugin','flat','$markedRemove','_shiftOperation','_haveSingleTopLevelElement','getRoots','addMarker','reactivateMarkers','getRoot','reconvertMarker','backward','_clone','insertContent','keys','context','ck-ai_review-marker_context-','[data-marker-id=\x22','set','downcast','baseVersion','values','_setAttribute','_domEmitter','body','remove-text','AIReviewCoreEditing','isOpening','1551786lqcjVk','44523XvcfKc','getDomRoot','getChild','getOperations','rootName','querySelector','add','element','mouseover','markers','removeMarker','setMarkersInElementAsActive','outside','7aMraJP','stringify','markChangePositionInEditorContent','_changePosition','parent','$textProxy','attributeToAttribute','mouseup','root','toDomElement','remove-only','changeMarkerClicked','fire','ck-ai_review-marker_','$markedRemove:synthetic','addOperation','ck-ai_review-marker_context-start','afterInit','offset','_haveOnlyInlineContent','clearAllMarkers','insert','history','121730WrAgyi','_findMarkerElementById','changeMarkerHovered','ck-ai_review-marker_strikethrough','getRange','oldRange','\x20ck-ai_review__change_active','isTouching','editingDowncast','operationsIsolated','getHtml','position','viewToDom','affectsData','suggestion:insertion:id:authorId:','[data-id=\x22','enableReadOnlyMode','pop','asFragment','includes','containerElement','suggestion-context','_upsertDataId','_getMarkersDataForGroup','markerToHighlight','createDocumentFragment','461956rfgKRy','name','containsRange','No\x20element\x20found\x20for\x20ID:\x20','operations','innerHTML','listenTo','emitter','_createGetContextFn','_getPositionLimitingRange','230790iIfwdN','hasAttribute','createPositionAt','toView','isDocumentOperation','warn','version','className','parentElement','$graveyard','_findAdjacentContextDistance','getAttribute','get','map','getChangedMarkers','change','DocumentCompare','_appendChild','domConverter','ck-ai_review-marker_add','changeMarkerRemoved','marker','_createGetContentUsingDataIdFn','schema','$documentFragment','_groupAdjacentOperations','ellipsisBefore','join','model','ck-ai_review__change_active','inside','815524mPWodM','_changeRange','delete','markerToElement','_findMarkerElement','ellipsisAfter','push','_getOperationStart','index','186177LlRUJH','createRange','asString','start','data-marker-id','getChanges','remove-context','isInline','pluginName','every','startsWith','newRange','concat','getEditor','_changeRangeOwnerDocument','AIEditing','ai-review','_getChangeContext','nodes','$root','size','isLimit','registerPostFixer','toData','sort','offsetSize','getContentElementForChange','review-','createPositionAfter','_removeAttribute','getDocumentData','applyChange','getDiff','_createGetContentFn','plugins','rejectChange','createUIElement','_sortMarkers','document','htmlWriter','hasContentBefore','view','1bDMOGZ','isAtEnd','getShiftedBy','jumpTo','relatedTarget','changeMarkerRestored'];_0x50a7=function(){return _0x562031;};return _0x50a7();}import{DomEmitterMixin as _0x2dd765,EmitterMixin as _0x58038b,uid as _0x109b82}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x2d02b3}from'ckeditor5/src/core.js';import{DocumentCompare as _0x301708,DATA_ID_MODEL_ATTRIBUTE as _0x3ba25b,DATA_ID_VIEW_ATTRIBUTE as _0x470d16,getMarkerDomElement as _0x4fcd42}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x3170ba}from'../aicore/utils/geteditorfromcontext.js';function _0x2fed(_0x34568d,_0x4b66aa){const _0x50a73c=_0x50a7();return _0x2fed=function(_0x2fed31,_0x25f549){_0x2fed31=_0x2fed31-0x1ee;let _0x126d5f=_0x50a73c[_0x2fed31];return _0x126d5f;},_0x2fed(_0x34568d,_0x4b66aa);}import{AIEditing as _0x1016c9}from'../aicore/aiediting.js';import{debounce as _0x33c372}from'es-toolkit/compat';const fe=_0x1a2f58(0x22b);export class AIReviewCoreEditing extends _0x2d02b3{static get[_0x1a2f58(0x267)](){return[_0x301708,_0x1016c9];}static get[_0x1a2f58(0x218)](){const _0x32aa78=_0x1a2f58;return _0x32aa78(0x2ab);}static get[_0x1a2f58(0x292)](){return!0x0;}static get[_0x1a2f58(0x28c)](){return!0x0;}[_0x1a2f58(0x278)]=new Map();[_0x1a2f58(0x281)]=new Set();[_0x1a2f58(0x2a8)];[_0x1a2f58(0x26f)];constructor(_0x5b25f8){const _0x1966a3=_0x1a2f58;super(_0x5b25f8),this[_0x1966a3(0x2a8)]=new(_0x2dd765())(),this[_0x1966a3(0x26f)]=new(_0x58038b())();}get[_0x1a2f58(0x2f3)](){const _0x4c9247=_0x1a2f58;return this[_0x4c9247(0x26f)];}[_0x1a2f58(0x2cc)](){const _0x31f77d=_0x1a2f58,_0x651bf0=_0x3170ba(this[_0x31f77d(0x2a0)]);_0x651bf0[_0x31f77d(0x258)][_0x31f77d(0x24e)](_0x31f77d(0x2da))[_0x31f77d(0x20a)]({'model':fe+_0x31f77d(0x2d0),'view':(_0x2200ae,{writer:_0x441362})=>{const _0x1eb8c5=_0x31f77d,_0x4527b2=this[_0x1eb8c5(0x278)][_0x1eb8c5(0x1f4)](_0x2200ae[_0x1eb8c5(0x242)]),_0xd51c8={'class':_0x1eb8c5(0x1fb)+(this[_0x1eb8c5(0x281)][_0x1eb8c5(0x27d)](_0x4527b2?.['id']||'')?_0x1eb8c5(0x2d8):''),'data-marker-id':_0x2200ae[_0x1eb8c5(0x242)]};return _0x441362[_0x1eb8c5(0x234)](_0x1eb8c5(0x268),_0xd51c8,function(_0x1ab4fc){const _0xce0682=_0x1eb8c5,_0x3f4d0d=this[_0xce0682(0x2c4)](_0x1ab4fc);return _0x3f4d0d[_0xce0682(0x2f1)]=_0x4527b2?.[_0xce0682(0x27b)]?.[_0xce0682(0x212)]||'',_0x3f4d0d;});}}),_0x651bf0[_0x31f77d(0x258)][_0x31f77d(0x24e)](_0x31f77d(0x2da))[_0x31f77d(0x2ea)]({'model':fe+_0x31f77d(0x2c5),'view':_0x17b4bb=>{const _0x502e15=_0x31f77d,_0x5e10aa=this[_0x502e15(0x278)][_0x502e15(0x1f4)](_0x17b4bb[_0x502e15(0x242)]),_0x2aaf5a=[_0x502e15(0x2d5)];return this[_0x502e15(0x281)][_0x502e15(0x27d)](_0x5e10aa?.['id']||'')&&_0x2aaf5a[_0x502e15(0x20d)](_0x502e15(0x205)),{'classes':_0x2aaf5a,'attributes':{'data-marker-id':_0x17b4bb[_0x502e15(0x242)]}};}}),_0x651bf0[_0x31f77d(0x258)][_0x31f77d(0x24e)](_0x31f77d(0x2da))[_0x31f77d(0x2ea)]({'model':fe+_0x31f77d(0x216),'view':_0x28e8ba=>{const _0x7adb7f=_0x31f77d,_0x356e38=this[_0x7adb7f(0x278)][_0x7adb7f(0x1f4)](_0x28e8ba[_0x7adb7f(0x242)]),_0x4d943f=[_0x7adb7f(0x259)];return this[_0x7adb7f(0x281)][_0x7adb7f(0x27d)](_0x356e38?.['id']||'')&&_0x4d943f[_0x7adb7f(0x20d)](_0x7adb7f(0x205)),{'classes':_0x4d943f,'attributes':{'data-marker-id':_0x28e8ba[_0x7adb7f(0x242)]}};}}),_0x651bf0[_0x31f77d(0x258)][_0x31f77d(0x24e)](_0x31f77d(0x2da))[_0x31f77d(0x2ea)]({'model':fe+_0x31f77d(0x2aa),'view':_0x48a7e0=>{const _0x2ae019=_0x31f77d,_0x3a05e4=this[_0x2ae019(0x278)][_0x2ae019(0x1f4)](_0x48a7e0[_0x2ae019(0x242)]),_0x534340=[_0x2ae019(0x283)];return this[_0x2ae019(0x281)][_0x2ae019(0x27d)](_0x3a05e4?.['id']||'')&&_0x534340[_0x2ae019(0x20d)](_0x2ae019(0x205)),{'classes':_0x534340,'attributes':{'data-marker-id':_0x48a7e0[_0x2ae019(0x242)]}};}}),_0x651bf0[_0x31f77d(0x258)][_0x31f77d(0x24e)](_0x31f77d(0x24c))[_0x31f77d(0x20a)]({'model':fe+_0x31f77d(0x2e7),'view':(_0x14c22e,{writer:_0x27b1ba})=>_0x27b1ba[_0x31f77d(0x260)](_0x31f77d(0x268),{'class':_0x31f77d(0x2a1)+(_0x14c22e[_0x31f77d(0x2ac)]?_0x31f77d(0x213):_0x31f77d(0x279))})}),_0x651bf0[_0x31f77d(0x258)][_0x31f77d(0x24e)](_0x31f77d(0x2a4))[_0x31f77d(0x2c1)]({'model':_0x3ba25b,'view':_0x470d16});const _0x208e4e=_0x651bf0['ui'][_0x31f77d(0x25d)]()||document[_0x31f77d(0x2a9)];this[_0x31f77d(0x2a8)][_0x31f77d(0x2f2)](_0x208e4e,_0x31f77d(0x2c2),(_0x29f093,_0x420fa1)=>{const _0x59fc48=_0x31f77d,_0x412caf=_0x420fa1[_0x59fc48(0x244)],_0xe1bfb1=this[_0x59fc48(0x20b)](_0x412caf);if(!_0xe1bfb1)return;const _0x27a4cc=_0xe1bfb1[_0x59fc48(0x1f3)](_0x59fc48(0x214)),_0x2eaec7=_0x27a4cc[_0x59fc48(0x25c)](':')[_0x59fc48(0x2e3)]()?.[_0x59fc48(0x25c)]('_')[0x0];this[_0x59fc48(0x26f)][_0x59fc48(0x2c7)](_0x59fc48(0x2c6),{'markerId':_0x27a4cc,'changeId':_0x2eaec7,'markerElement':()=>this[_0x59fc48(0x2d3)](_0x27a4cc),'domEvent':_0x420fa1});},{'usePassive':!0x0,'priority':_0x31f77d(0x263)}),this[_0x31f77d(0x2a8)][_0x31f77d(0x2f2)](_0x208e4e,_0x31f77d(0x2b6),(_0x494eb1,_0xfa44e2)=>{const _0x17e874=_0x31f77d,_0xc51fe8=_0xfa44e2[_0x17e874(0x244)],_0x363eed=_0xfa44e2[_0x17e874(0x23e)];let _0x3fc94b=this[_0x17e874(0x20b)](_0xc51fe8);if(!_0x3fc94b&&_0x363eed&&(_0x3fc94b=this[_0x17e874(0x20b)](_0x363eed)),!_0x3fc94b)return;const _0x3fc5b0=_0x3fc94b[_0x17e874(0x1f3)](_0x17e874(0x214)),_0x10b153=_0x3fc5b0[_0x17e874(0x25c)](':')[_0x17e874(0x2e3)]()?.[_0x17e874(0x25c)]('_')[0x0];this[_0x17e874(0x26f)][_0x17e874(0x2c7)](_0x17e874(0x2d4),{'changeId':_0x10b153,'markerElement':()=>this[_0x17e874(0x2d3)](_0x3fc5b0),'domEvent':_0xfa44e2});}),this[_0x31f77d(0x2a8)][_0x31f77d(0x2f2)](document,_0x31f77d(0x2b6),_0x33c372((_0x4c594e,_0x1163fe)=>{const _0x6ee261=_0x31f77d,_0x4fbf6c=_0x1163fe[_0x6ee261(0x244)];if(this[_0x6ee261(0x20b)](_0x4fbf6c))return;_0x4fbf6c[_0x6ee261(0x26b)](_0x6ee261(0x282))||this[_0x6ee261(0x26f)][_0x6ee261(0x2c7)](_0x6ee261(0x25e));},0xc8)),_0x651bf0[_0x31f77d(0x204)][_0x31f77d(0x236)][_0x31f77d(0x226)](_0x3e39f4=>this[_0x31f77d(0x291)](_0x651bf0,_0x3e39f4)),_0x651bf0[_0x31f77d(0x204)][_0x31f77d(0x236)]['on'](_0x31f77d(0x1f7),()=>this[_0x31f77d(0x273)](_0x651bf0));}[_0x1a2f58(0x22e)](){const _0x45ed2f=_0x1a2f58,_0x215050=this[_0x45ed2f(0x2a0)][_0x45ed2f(0x232)][_0x45ed2f(0x1f4)](_0x45ed2f(0x21f)),_0x55062a=_0x3170ba(this[_0x45ed2f(0x2a0)]),_0xcdccb6=_0x55062a[_0x45ed2f(0x204)],_0x4202c2=new _0x103304();for(const _0x1eb1fc of _0xcdccb6[_0x45ed2f(0x236)][_0x45ed2f(0x29a)]()[_0x45ed2f(0x26c)]()){const _0x5f17a8=_0x1eb1fc[_0x45ed2f(0x29d)](!0x0);_0x4202c2[_0x45ed2f(0x1f9)](_0x5f17a8);}for(const _0x1d4837 of _0xcdccb6[_0x45ed2f(0x2b7)])_0x4202c2[_0x45ed2f(0x2b7)][_0x45ed2f(0x2a3)](_0x1d4837[_0x45ed2f(0x2ed)],this[_0x45ed2f(0x21e)](_0x1d4837[_0x45ed2f(0x2d6)]()[_0x45ed2f(0x255)](),_0x4202c2));const _0x2098a8=new _0xb73e42({'ignoreElementEnd':!0x0,'startPosition':_0xcdccb6[_0x45ed2f(0x2f8)](_0x4202c2,0x0)}),_0x86076a=new Set(),_0x2c6dcd=new Map();for(const {item:_0x482e84}of _0x2098a8){if(!_0x482e84['is'](_0x45ed2f(0x2c0)))continue;const _0x3a7da5=_0x482e84[_0x45ed2f(0x2bf)];if(_0x3a7da5&&_0x3a7da5['is'](_0x45ed2f(0x2b5))){const _0x36baf6=this[_0x45ed2f(0x2e8)](_0x3a7da5,()=>_0x215050[_0x45ed2f(0x254)](_0x86076a));_0x86076a[_0x45ed2f(0x2b4)](_0x36baf6);for(const _0x39c52b of _0x3a7da5[_0x45ed2f(0x26c)]())_0x39c52b['is'](_0x45ed2f(0x2b5))&&_0x86076a[_0x45ed2f(0x2b4)](this[_0x45ed2f(0x2e8)](_0x39c52b,()=>_0x215050[_0x45ed2f(0x254)](_0x86076a)));let _0x5142e6=_0x3a7da5;for(;_0x5142e6[_0x45ed2f(0x2bf)]&&!_0x5142e6[_0x45ed2f(0x2bf)]['is'](_0x45ed2f(0x288));)_0x5142e6=_0x5142e6[_0x45ed2f(0x2bf)],_0x5142e6[_0x45ed2f(0x2f7)](_0x3ba25b)&&_0x5142e6[_0x45ed2f(0x22d)](_0x3ba25b);_0x2c6dcd[_0x45ed2f(0x2a3)](_0x36baf6,{'path':_0x3a7da5[_0x45ed2f(0x269)](),'getContent':this[_0x45ed2f(0x1fe)](_0x5142e6[_0x45ed2f(0x29d)](!0x0),_0x36baf6,_0x55062a[_0x45ed2f(0x28a)])}),_0x2098a8[_0x45ed2f(0x23d)](_0xcdccb6[_0x45ed2f(0x22c)](_0x3a7da5));}}return{'content':_0x55062a[_0x45ed2f(0x28a)][_0x45ed2f(0x250)][_0x45ed2f(0x227)](_0x55062a[_0x45ed2f(0x28a)][_0x45ed2f(0x2f9)](_0x4202c2)),'version':_0x55062a[_0x45ed2f(0x204)][_0x45ed2f(0x236)][_0x45ed2f(0x1ee)],'elements':_0x2c6dcd};}[_0x1a2f58(0x272)](_0x253915,_0x497dcc,_0x321d46=!0x1){const _0x13f7bb=_0x1a2f58,_0x183870=[],_0x3b55bc=_0x3170ba(this[_0x13f7bb(0x2a0)]),_0x1fff92=_0x3b55bc[_0x13f7bb(0x28a)][_0x13f7bb(0x274)](_0x497dcc,_0x13f7bb(0x200)),_0x3f1a2d=_0x3b55bc[_0x13f7bb(0x28a)][_0x13f7bb(0x274)](_0x253915,_0x13f7bb(0x200)),_0xbadc6a=_0x3b55bc[_0x13f7bb(0x204)][_0x13f7bb(0x2f8)](_0x3f1a2d,0x0);if(this[_0x13f7bb(0x296)](_0x1fff92)){if(!this[_0x13f7bb(0x285)](_0x3f1a2d,_0x1fff92))return _0x183870;}else{const _0x48e3c2=_0x3b55bc[_0x13f7bb(0x204)][_0x13f7bb(0x1ff)];if(!this[_0x13f7bb(0x2ce)](_0x3f1a2d,_0x48e3c2)||!this[_0x13f7bb(0x2ce)](_0x1fff92,_0x48e3c2))return _0x183870;}const _0x5248b2=this[_0x13f7bb(0x2a0)][_0x13f7bb(0x232)][_0x13f7bb(0x1f4)](_0x13f7bb(0x1f8))[_0x13f7bb(0x230)](_0x253915,_0x497dcc,{'anchor':_0xbadc6a,'markDeletions':!0x0})[_0x13f7bb(0x2b1)]()[_0x13f7bb(0x27a)](_0x4522ea=>_0x13f7bb(0x2d0)===_0x4522ea[_0x13f7bb(0x24d)]||_0x13f7bb(0x1fd)===_0x4522ea[_0x13f7bb(0x24d)]&&_0x4522ea[_0x13f7bb(0x2ed)][_0x13f7bb(0x21a)](_0x13f7bb(0x294))),_0x40087a=this[_0x13f7bb(0x201)](_0x5248b2),_0xcc3dd=[];if(_0x321d46){if(_0x40087a[_0x13f7bb(0x253)]){const _0x29e603=_0x40087a[0x0][_0x13f7bb(0x2f0)][0x0],_0x300580=_0x13f7bb(0x2d0)===_0x29e603[_0x13f7bb(0x24d)]?_0x29e603[_0x13f7bb(0x2dd)]:_0x29e603[_0x13f7bb(0x21b)][_0x13f7bb(0x213)],_0x4ebcc6=this[_0x13f7bb(0x2f5)](_0x300580,_0x3b55bc,_0x13f7bb(0x206)),_0x222eb4=_0x4ebcc6?_0x1fff92[_0x13f7bb(0x2b0)](0x0)[_0x13f7bb(0x26c)]():_0x1fff92[_0x13f7bb(0x26c)](),_0xf0403d=_0x4ebcc6||_0x3b55bc[_0x13f7bb(0x204)][_0x13f7bb(0x24f)](_0x3f1a2d),_0x13deb6=[new _0x43c30c(_0x13f7bb(0x2c9)+_0x109b82(),null,_0xf0403d,_0x3b55bc[_0x13f7bb(0x204)][_0x13f7bb(0x236)][_0x13f7bb(0x204)][_0x13f7bb(0x2b7)],!0x0,_0x3b55bc[_0x13f7bb(0x204)][_0x13f7bb(0x236)][_0x13f7bb(0x1ee)]+0x1),new _0x212ee0(_0xf0403d[_0x13f7bb(0x279)],_0x222eb4,_0x3b55bc[_0x13f7bb(0x204)][_0x13f7bb(0x236)][_0x13f7bb(0x1ee)]+0x2)];_0xcc3dd[_0x13f7bb(0x20d)]({'operations':_0x13deb6,'operationsIsolated':_0x13deb6,'groupOffset':0x0});}}else _0xcc3dd[_0x13f7bb(0x20d)](..._0x40087a);let _0x5dd9a5=0x0;return _0x3b55bc[_0x13f7bb(0x204)][_0x13f7bb(0x1f7)](_0x258261=>{const _0x412a4f=_0x13f7bb;for(let _0x379402=0x0;_0x379402<_0xcc3dd[_0x412a4f(0x253)];_0x379402++){const _0x30ed0c=_0xcc3dd[_0x379402],_0x2c5ec4=_0x258261[_0x412a4f(0x2eb)]();for(const _0x9837a7 of _0x3f1a2d[_0x412a4f(0x26c)]())_0x258261[_0x412a4f(0x243)](_0x9837a7[_0x412a4f(0x29d)](!0x0),_0x2c5ec4);for(const _0x354912 of _0x30ed0c[_0x412a4f(0x2db)])if(_0x412a4f(0x2d0)===_0x354912[_0x412a4f(0x24d)]){const _0x4a143d=_0x354912;_0x4a143d[_0x412a4f(0x2a5)]=null,_0x4a143d[_0x412a4f(0x2fa)]=!0x1,this[_0x412a4f(0x265)](_0x4a143d,_0x2c5ec4),_0x258261[_0x412a4f(0x264)][_0x412a4f(0x2ca)](_0x354912),_0x3b55bc[_0x412a4f(0x204)][_0x412a4f(0x27e)](_0x354912);const _0x3e3795=_0x412a4f(0x2e0)+_0x5dd9a5++,_0x1360b8=_0x3b55bc[_0x412a4f(0x204)][_0x412a4f(0x211)](_0x4a143d[_0x412a4f(0x2dd)],_0x4a143d[_0x412a4f(0x2dd)][_0x412a4f(0x23c)](_0x4a143d[_0x412a4f(0x290)]));_0x2c5ec4[_0x412a4f(0x2b7)][_0x412a4f(0x2a3)](_0x3e3795,_0x1360b8);}else{if(_0x412a4f(0x1fd)===_0x354912[_0x412a4f(0x24d)]&&_0x354912[_0x412a4f(0x2ed)][_0x412a4f(0x21a)](_0x412a4f(0x294))){const _0xbb958f=_0x354912,_0x5ed6db=_0x412a4f(0x27f)+_0x5dd9a5++;this[_0x412a4f(0x265)](_0xbb958f,_0x2c5ec4),_0x2c5ec4[_0x412a4f(0x2b7)][_0x412a4f(0x2a3)](_0x5ed6db,_0xbb958f[_0x412a4f(0x21b)]);}}if(_0x321d46)_0x183870[_0x412a4f(0x20d)]({..._0x30ed0c,'context':this[_0x412a4f(0x231)](_0x3f1a2d,_0x3b55bc[_0x412a4f(0x28a)]),'content':this[_0x412a4f(0x231)](_0x3f1a2d,_0x3b55bc[_0x412a4f(0x28a)])});else{const _0x13512b=this[_0x412a4f(0x221)](this[_0x412a4f(0x24a)](this[_0x412a4f(0x20e)](_0x30ed0c[_0x412a4f(0x2db)][0x0]),_0x2c5ec4),this[_0x412a4f(0x24a)](this[_0x412a4f(0x256)](_0x30ed0c[_0x412a4f(0x2db)][_0x30ed0c[_0x412a4f(0x2db)][_0x412a4f(0x253)]-0x1]),_0x2c5ec4));_0x2c5ec4[_0x412a4f(0x2b7)][_0x412a4f(0x2a3)](fe+_0x412a4f(0x2e7),new _0x106927(_0x13512b[_0x412a4f(0x213)],_0x13512b[_0x412a4f(0x279)])),_0x183870[_0x412a4f(0x20d)]({..._0x30ed0c,'context':this[_0x412a4f(0x2f4)](_0x2c5ec4,_0x3b55bc[_0x412a4f(0x28a)],{'ellipsisBefore':_0x13512b[_0x412a4f(0x238)],'ellipsisAfter':_0x13512b[_0x412a4f(0x277)]}),'content':this[_0x412a4f(0x231)](_0x2c5ec4,_0x3b55bc[_0x412a4f(0x28a)])});}}}),_0x183870;}[_0x1a2f58(0x2bd)](_0x5482ab,_0x4cbe6f){const _0x4affc4=_0x1a2f58;if(!_0x5482ab[_0x4affc4(0x253)])return;const _0x5de003=_0x5482ab[0x0][_0x4affc4(0x2bf)]['id'],_0x4da4c0=_0x4cbe6f[_0x4affc4(0x28d)][_0x4affc4(0x1f4)](_0x5de003);if(!_0x4da4c0)return void console[_0x4affc4(0x2fb)](_0x4affc4(0x2ef)+_0x5de003);const _0x4ae26c=_0x4da4c0[_0x4affc4(0x245)],_0x495535=_0x3170ba(this[_0x4affc4(0x2a0)]),_0x26a43d=_0x495535[_0x4affc4(0x204)][_0x4affc4(0x236)][_0x4affc4(0x2d1)][_0x4affc4(0x2b1)](_0x4cbe6f[_0x4affc4(0x1ee)]),_0x1d7637=[];for(const _0xed4f5c of _0x5482ab){const _0x54ee25=_0xed4f5c[_0x4affc4(0x2db)][_0x4affc4(0x1f5)](_0x5b4b64=>this[_0x4affc4(0x286)](_0x5b4b64,_0x4ae26c,_0x495535[_0x4affc4(0x204)][_0x4affc4(0x236)][_0x4affc4(0x297)]()[0x0]));if(!_0x54ee25||!_0x54ee25[_0x4affc4(0x253)])continue;const _0x7ad539=_0x54ee25[_0x4affc4(0x219)](_0x2ac64c=>_0x4affc4(0x1fd)===_0x2ac64c[_0x4affc4(0x24d)]&&_0x2ac64c[_0x4affc4(0x2ed)][_0x4affc4(0x21a)](_0x4affc4(0x294))),_0x1ca7c5={'document':_0x495535[_0x4affc4(0x204)][_0x4affc4(0x236)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x41fd51=_0x998593(_0x54ee25,_0x26a43d,_0x1ca7c5)[_0x4affc4(0x257)];for(const _0x302135 of _0x41fd51)if(_0x4affc4(0x2d0)===_0x302135[_0x4affc4(0x24d)]){const _0x48116b=_0x302135,_0xfbc7ff=_0x48116b[_0x4affc4(0x222)];_0x495535[_0x4affc4(0x204)][_0x4affc4(0x1f7)](_0x25274d=>{const _0x141d5f=_0x4affc4,_0x1e42ab=_0x25274d[_0x141d5f(0x2eb)]();for(const _0x4ad4f5 of _0xfbc7ff)_0x25274d[_0x141d5f(0x243)](_0x4ad4f5[_0x141d5f(0x29d)](!0x0),_0x1e42ab);_0x1d7637[_0x141d5f(0x20d)]({'start':_0x48116b[_0x141d5f(0x2dd)],'end':_0x48116b[_0x141d5f(0x2dd)],'type':_0x141d5f(0x2d0),'groupId':_0xed4f5c['id'],'content':{'asString':this[_0x141d5f(0x231)](_0x1e42ab,_0x495535[_0x141d5f(0x28a)])(),'asFragment':_0x1e42ab}});});}else{if(_0x4affc4(0x1fd)===_0x302135[_0x4affc4(0x24d)]&&_0x302135[_0x4affc4(0x2ed)][_0x4affc4(0x21a)](_0x4affc4(0x294))){const _0x390d6e=_0x302135;let _0x1c203a=_0x4affc4(0x2aa);if(_0x7ad539){const _0x44d5e1=this[_0x4affc4(0x1f2)](_0x390d6e[_0x4affc4(0x21b)][_0x4affc4(0x213)],_0x4affc4(0x29c),_0x495535[_0x4affc4(0x204)][_0x4affc4(0x1ff)]),_0x475760=this[_0x4affc4(0x1f2)](_0x390d6e[_0x4affc4(0x21b)][_0x4affc4(0x279)],_0x4affc4(0x24b),_0x495535[_0x4affc4(0x204)][_0x4affc4(0x1ff)]);if(_0x44d5e1||_0x475760){const _0x11a907=_0x390d6e[_0x4affc4(0x21b)][_0x4affc4(0x213)][_0x4affc4(0x23c)](-_0x44d5e1),_0x2f912b=_0x390d6e[_0x4affc4(0x21b)][_0x4affc4(0x279)][_0x4affc4(0x23c)](_0x475760);_0x1d7637[_0x4affc4(0x20d)]({'start':_0x11a907,'end':_0x2f912b,'groupId':_0xed4f5c['id'],'type':_0x4affc4(0x216)});}else _0x1c203a=_0x4affc4(0x2c5);}_0x1d7637[_0x4affc4(0x20d)]({'start':_0x390d6e[_0x4affc4(0x21b)][_0x4affc4(0x213)],'end':_0x390d6e[_0x4affc4(0x21b)][_0x4affc4(0x279)],'groupId':_0xed4f5c['id'],'type':_0x1c203a});}}}this[_0x4affc4(0x27c)](_0x1d7637);}[_0x1a2f58(0x2cf)](){const _0x379ecd=_0x1a2f58,_0x29137e=_0x3170ba(this[_0x379ecd(0x2a0)]);_0x29137e[_0x379ecd(0x204)][_0x379ecd(0x1f7)](_0x477f97=>{const _0x301ffb=_0x379ecd;for(const _0x2f59fa of this[_0x301ffb(0x278)][_0x301ffb(0x29f)]())_0x29137e[_0x301ffb(0x204)][_0x301ffb(0x2b7)][_0x301ffb(0x1f4)](_0x2f59fa)&&_0x477f97[_0x301ffb(0x2b8)](_0x2f59fa);}),this[_0x379ecd(0x278)][_0x379ecd(0x276)](),this[_0x379ecd(0x281)][_0x379ecd(0x276)]();}[_0x1a2f58(0x248)](){const _0x536093=_0x1a2f58;_0x3170ba(this[_0x536093(0x2a0)])[_0x536093(0x2e2)](_0x536093(0x220));}[_0x1a2f58(0x261)](){const _0x1591e2=_0x1a2f58;_0x3170ba(this[_0x1591e2(0x2a0)])[_0x1591e2(0x28f)](_0x1591e2(0x220));}[_0x1a2f58(0x22f)](_0x58fc4b){const _0x33bb86=_0x1a2f58,_0x9e7774=_0x3170ba(this[_0x33bb86(0x2a0)]),_0x55c28f=_0x9e7774[_0x33bb86(0x204)],_0x2582e1=_0x58fc4b[_0x33bb86(0x1f5)](_0xc5524a=>this[_0x33bb86(0x2e9)](_0xc5524a))[_0x33bb86(0x293)]();_0x55c28f[_0x33bb86(0x1f7)](_0x2651e2=>{const _0x3812c3=_0x33bb86;for(const _0x158a1a of _0x2582e1){const _0x25cd49=_0x9e7774[_0x3812c3(0x204)][_0x3812c3(0x2b7)][_0x3812c3(0x1f4)](_0x158a1a['id']);if(_0x25cd49){if(_0x3812c3(0x2d0)===_0x158a1a[_0x3812c3(0x24d)]){if(!_0x158a1a[_0x3812c3(0x27b)])continue;_0x55c28f[_0x3812c3(0x29e)](_0x158a1a[_0x3812c3(0x27b)][_0x3812c3(0x2e4)]||null,_0x25cd49[_0x3812c3(0x2d6)]()[_0x3812c3(0x213)]);}else _0x3812c3(0x2aa)!==_0x158a1a[_0x3812c3(0x24d)]&&_0x3812c3(0x2c5)!==_0x158a1a[_0x3812c3(0x24d)]||_0x55c28f[_0x3812c3(0x240)](_0x55c28f[_0x3812c3(0x271)](_0x25cd49[_0x3812c3(0x2d6)]()));_0x2651e2[_0x3812c3(0x2b8)](_0x158a1a['id']),this[_0x3812c3(0x278)][_0x3812c3(0x209)](_0x158a1a['id']);}}});}[_0x1a2f58(0x233)](_0x3710ae){const _0x14f80f=_0x1a2f58,_0x27890d=_0x3170ba(this[_0x14f80f(0x2a0)]),_0x5601f9=this[_0x14f80f(0x2e9)](_0x3710ae);_0x27890d[_0x14f80f(0x204)][_0x14f80f(0x1f7)](_0x2f06d9=>{const _0x49fb18=_0x14f80f;for(const _0x1d8731 of _0x5601f9)_0x2f06d9[_0x49fb18(0x2b8)](_0x1d8731['id']),this[_0x49fb18(0x278)][_0x49fb18(0x209)](_0x1d8731['id']);});}[_0x1a2f58(0x21d)](){const _0x3c18aa=_0x1a2f58;return _0x3170ba(this[_0x3c18aa(0x2a0)]);}[_0x1a2f58(0x25f)](_0x115022){const _0x468dc3=_0x1a2f58,_0x100030=Array[_0x468dc3(0x289)](this[_0x468dc3(0x278)][_0x468dc3(0x2a6)]())[_0x468dc3(0x27a)](_0xa10a12=>_0xa10a12[_0x468dc3(0x249)]===_0x115022);if(!_0x100030[_0x468dc3(0x253)])return null;const _0x125b19=0x1===_0x100030[_0x468dc3(0x253)]?_0x100030[0x0]:this[_0x468dc3(0x235)](_0x100030)[0x0],_0x20179a=_0x3170ba(this[_0x468dc3(0x2a0)])[_0x468dc3(0x204)][_0x468dc3(0x2b7)][_0x468dc3(0x1f4)](_0x125b19['id']);if(!_0x20179a)return null;return{'modelRange':_0x20179a[_0x468dc3(0x2d6)](),'getElement':()=>this[_0x468dc3(0x2d3)](_0x125b19['id'])};}[_0x1a2f58(0x22a)](_0x2da6c5){const _0x49cb59=_0x1a2f58,_0x190488=Array[_0x49cb59(0x289)](this[_0x49cb59(0x278)][_0x49cb59(0x2a6)]())[_0x49cb59(0x27a)](_0x3ebb5e=>_0x3ebb5e[_0x49cb59(0x249)]===_0x2da6c5);if(!_0x190488[_0x49cb59(0x253)])return null;const _0x252411=0x1===_0x190488[_0x49cb59(0x253)]?_0x190488[0x0]:this[_0x49cb59(0x235)](_0x190488)[0x0],_0x438c4a=_0x3170ba(this[_0x49cb59(0x2a0)]),_0x1d5e61=_0x438c4a[_0x49cb59(0x204)][_0x49cb59(0x2b7)][_0x49cb59(0x1f4)](_0x252411['id']);if(!_0x1d5e61)return null;const _0x2e7210=_0x1d5e61[_0x49cb59(0x2d6)](),_0x375942=_0x438c4a[_0x49cb59(0x25b)][_0x49cb59(0x239)][_0x49cb59(0x2af)]();if(!_0x375942||!_0x2e7210)return null;let _0x35e921=_0x2e7210[_0x49cb59(0x213)][_0x49cb59(0x2bf)];for(;_0x35e921[_0x49cb59(0x2bf)]&&_0x49cb59(0x223)!==_0x35e921[_0x49cb59(0x2bf)][_0x49cb59(0x2ed)];)_0x35e921=_0x35e921[_0x49cb59(0x2bf)];if(!_0x35e921||!_0x35e921[_0x49cb59(0x2ed)])return null;const _0x531dbb=_0x375942[_0x49cb59(0x2b3)](_0x49cb59(0x2a2)+_0x252411['id']+'\x22]');if(!_0x531dbb)return null;let _0x12beab=null;_0x438c4a[_0x49cb59(0x204)][_0x49cb59(0x1f7)](_0x11974f=>{const _0x2610ab=_0x49cb59;_0x12beab=_0x11974f[_0x2610ab(0x2eb)](),_0x11974f[_0x2610ab(0x243)](_0x35e921[_0x2610ab(0x29d)](!0x0),_0x12beab);});const _0x586b3f=_0x438c4a[_0x49cb59(0x28a)][_0x49cb59(0x2f9)](_0x12beab)[_0x49cb59(0x2b0)](0x0);return _0x531dbb[_0x49cb59(0x26b)](_0x586b3f[_0x49cb59(0x2ed)]);}[_0x1a2f58(0x299)](_0x75c0c6){const _0x580812=_0x1a2f58,_0x2e5c2d=this[_0x580812(0x2e9)](_0x75c0c6);if(!_0x2e5c2d[_0x580812(0x253)])return;const _0x2de8c6=Array[_0x580812(0x289)](this[_0x580812(0x281)])[_0x580812(0x228)](),_0x277a0e=Array[_0x580812(0x289)](new Set(_0x2e5c2d[_0x580812(0x1f5)](_0x4c0674=>_0x4c0674['id'])))[_0x580812(0x228)]();_0x2de8c6[_0x580812(0x203)]('|')!==_0x277a0e[_0x580812(0x203)]('|')&&(this[_0x580812(0x26d)](),this[_0x580812(0x2b9)](_0x75c0c6));}[_0x1a2f58(0x2b9)](_0x11a002){const _0x49c782=_0x1a2f58,_0xa9ac=this[_0x49c782(0x2e9)](_0x11a002);if(!_0xa9ac[_0x49c782(0x253)])return;const _0x57587f=_0x3170ba(this[_0x49c782(0x2a0)]),_0x4f9356=new Set(_0xa9ac[_0x49c782(0x1f5)](_0x8e36ee=>_0x8e36ee['id'])),_0x4a0595=Array[_0x49c782(0x289)](_0x4f9356[_0x49c782(0x2a6)]())[_0x49c782(0x1f5)](_0x53e892=>_0x57587f[_0x49c782(0x204)][_0x49c782(0x2b7)][_0x49c782(0x1f4)](_0x53e892))[_0x49c782(0x27a)](_0x229634=>!!_0x229634);_0x4f9356[_0x49c782(0x275)](_0x30d86b=>{const _0x1fcbff=_0x49c782;this[_0x1fcbff(0x281)][_0x1fcbff(0x2b4)](_0x30d86b);}),_0x57587f[_0x49c782(0x204)][_0x49c782(0x1f7)](()=>{const _0x3af304=_0x49c782;_0x4a0595[_0x3af304(0x275)](_0x131fae=>{const _0x4890d7=_0x3af304;_0x57587f[_0x4890d7(0x25b)][_0x4890d7(0x29b)](_0x131fae);});});}[_0x1a2f58(0x26d)](){const _0x3993af=_0x1a2f58,_0x19610=Array[_0x3993af(0x289)](this[_0x3993af(0x281)]);if(!_0x19610[_0x3993af(0x253)])return;this[_0x3993af(0x281)][_0x3993af(0x276)]();const _0x39ecec=_0x3170ba(this[_0x3993af(0x2a0)]),_0x3252c7=_0x19610[_0x3993af(0x1f5)](_0x25b38b=>_0x39ecec[_0x3993af(0x204)][_0x3993af(0x2b7)][_0x3993af(0x1f4)](_0x25b38b))[_0x3993af(0x27a)](_0x29c402=>!!_0x29c402);_0x39ecec[_0x3993af(0x204)][_0x3993af(0x1f7)](()=>{const _0x152a85=_0x3993af;_0x3252c7[_0x152a85(0x275)](_0x461a7b=>{const _0x443f84=_0x152a85;_0x39ecec[_0x443f84(0x25b)][_0x443f84(0x29b)](_0x461a7b);});});}[_0x1a2f58(0x2f5)](_0x40b24c,_0x5a0de2,_0x1a4d5a=_0x1a2f58(0x2ba)){const _0x2517d5=_0x1a2f58;if(!_0x40b24c)return null;let _0xd4eb3a=_0x40b24c[_0x2517d5(0x2bf)];for(;_0xd4eb3a&&_0xd4eb3a[_0x2517d5(0x2bf)]&&_0x2517d5(0x223)!==_0xd4eb3a[_0x2517d5(0x2bf)][_0x2517d5(0x2ed)]&&!_0x5a0de2[_0x2517d5(0x204)][_0x2517d5(0x1ff)][_0x2517d5(0x225)](_0xd4eb3a)&&!_0x5a0de2[_0x2517d5(0x204)][_0x2517d5(0x1ff)][_0x2517d5(0x26e)](_0xd4eb3a);)_0xd4eb3a=_0xd4eb3a[_0x2517d5(0x2bf)];if(!_0xd4eb3a||!_0xd4eb3a[_0x2517d5(0x2ed)]||_0x2517d5(0x223)===_0xd4eb3a[_0x2517d5(0x2ed)])return null;let _0x16c733=null;return _0x5a0de2[_0x2517d5(0x204)][_0x2517d5(0x1f7)](_0x31cf8f=>{const _0x4845ec=_0x2517d5;_0x16c733=_0x4845ec(0x206)===_0x1a4d5a?_0x31cf8f[_0x4845ec(0x24f)](_0xd4eb3a):_0x31cf8f[_0x4845ec(0x241)](_0xd4eb3a);}),_0x16c733;}[_0x1a2f58(0x291)](_0x393eaf,_0x33672c){const _0x40840c=_0x1a2f58,_0xc8b57f=Array[_0x40840c(0x289)](this[_0x40840c(0x278)][_0x40840c(0x29f)]()),_0x5f5146=new Map();for(const _0x276a75 of _0xc8b57f){const _0x2b892d=_0x393eaf[_0x40840c(0x204)][_0x40840c(0x2b7)][_0x40840c(0x1f4)](_0x276a75);if(!_0x2b892d)continue;const _0x5cd25e=_0x2b892d[_0x40840c(0x280)]()[_0x40840c(0x245)][0x0];_0x5f5146[_0x40840c(0x27d)](_0x5cd25e)||_0x5f5146[_0x40840c(0x2a3)](_0x5cd25e,[]),_0x5f5146[_0x40840c(0x1f4)](_0x5cd25e)[_0x40840c(0x20d)](_0x2b892d);}const _0x339b8d=new Set();for(const _0x4b1bb2 of _0x393eaf[_0x40840c(0x204)][_0x40840c(0x236)][_0x40840c(0x287)][_0x40840c(0x215)]()){let _0x42101e=-0x1,_0x526dce=null;if(_0x40840c(0x2d0)===_0x4b1bb2[_0x40840c(0x24d)])_0x526dce=new _0x106927(_0x4b1bb2[_0x40840c(0x2dd)],_0x4b1bb2[_0x40840c(0x2dd)][_0x40840c(0x23c)](_0x4b1bb2[_0x40840c(0x253)])),_0x42101e=_0x4b1bb2[_0x40840c(0x2dd)][_0x40840c(0x245)][0x0];else{if(_0x40840c(0x26a)!==_0x4b1bb2[_0x40840c(0x24d)])continue;_0x526dce=new _0x106927(_0x4b1bb2[_0x40840c(0x2dd)]),_0x42101e=_0x4b1bb2[_0x40840c(0x2dd)][_0x40840c(0x245)][0x0];}const _0x3c3e89=_0x5f5146[_0x40840c(0x1f4)](_0x42101e)||[];if(_0x3c3e89[_0x40840c(0x253)]){for(const _0x465eb9 of _0x3c3e89)if(_0x526dce[_0x40840c(0x2c3)][_0x40840c(0x2b2)]===_0x465eb9[_0x40840c(0x2d6)]()[_0x40840c(0x2c3)][_0x40840c(0x2b2)]&&(_0x40840c(0x2d0)!==_0x4b1bb2[_0x40840c(0x24d)]||!_0x526dce[_0x40840c(0x2ee)](_0x465eb9[_0x40840c(0x2d6)]()))&&(_0x526dce[_0x40840c(0x28e)](_0x465eb9[_0x40840c(0x2d6)]())||_0x526dce[_0x40840c(0x213)][_0x40840c(0x2d9)](_0x465eb9[_0x40840c(0x2d6)]()[_0x40840c(0x279)])||_0x526dce[_0x40840c(0x279)][_0x40840c(0x2d9)](_0x465eb9[_0x40840c(0x2d6)]()[_0x40840c(0x213)]))){const _0x55bbf7=this[_0x40840c(0x246)](_0x465eb9[_0x40840c(0x2ed)]);Array[_0x40840c(0x289)](this[_0x40840c(0x278)][_0x40840c(0x2a6)]())[_0x40840c(0x27a)](_0x2f74fb=>_0x2f74fb[_0x40840c(0x249)]===_0x55bbf7[_0x40840c(0x249)])[_0x40840c(0x275)](_0x225828=>_0x339b8d[_0x40840c(0x2b4)](_0x225828['id']));}}}if(_0x339b8d[_0x40840c(0x224)]){for(const _0x3b2a99 of _0x339b8d)_0x33672c[_0x40840c(0x2b8)](_0x3b2a99);return!0x0;}return!0x1;}[_0x1a2f58(0x273)](_0xd47ff9){const _0x351e1c=_0x1a2f58;for(const {name:_0x1bbefb,data:_0xee3ef5}of _0xd47ff9[_0x351e1c(0x204)][_0x351e1c(0x236)][_0x351e1c(0x287)][_0x351e1c(0x1f6)]()){if(!_0x1bbefb[_0x351e1c(0x21a)](fe))continue;const _0x213bff=_0xee3ef5[_0x351e1c(0x2d7)],_0x468264=_0xee3ef5[_0x351e1c(0x21b)],_0x47114f=_0x213bff&&_0x351e1c(0x1f1)===_0x213bff[_0x351e1c(0x2c3)][_0x351e1c(0x2b2)],_0x23e5c0=_0x468264&&_0x351e1c(0x1f1)===_0x468264[_0x351e1c(0x2c3)][_0x351e1c(0x2b2)];if(_0x47114f&&_0x23e5c0)continue;const _0x57038c=this[_0x351e1c(0x246)](_0x1bbefb);this[_0x351e1c(0x278)][_0x351e1c(0x1f4)](_0x1bbefb)&&(_0x23e5c0||!_0x468264?this[_0x351e1c(0x26f)][_0x351e1c(0x2c7)](_0x351e1c(0x1fc),{'markerId':_0x1bbefb,'changeId':_0x57038c[_0x351e1c(0x249)]}):_0x47114f&&_0x468264&&this[_0x351e1c(0x26f)][_0x351e1c(0x2c7)](_0x351e1c(0x23f),{'markerId':_0x1bbefb,'changeId':_0x57038c[_0x351e1c(0x249)]}));}}[_0x1a2f58(0x246)](_0x42d115){const _0x254aad=_0x1a2f58,_0x5353a3=_0x42d115[_0x254aad(0x25c)](':'),_0x4e47d6=(_0x5353a3[0x1]||'')[_0x254aad(0x25c)]('_');return{'prefix':_0x5353a3[0x0],'groupId':_0x4e47d6[0x0],'suffix':_0x4e47d6[0x1]};}[_0x1a2f58(0x286)](_0xe465b6,_0x225e72,_0x58a393){const _0x505053=_0x1a2f58;if(_0x505053(0x2d0)===_0xe465b6[_0x505053(0x24d)]){const _0x33f413=_0xe465b6;return new _0x212ee0(this[_0x505053(0x2be)](_0x225e72[_0x505053(0x21c)](_0x33f413[_0x505053(0x2dd)][_0x505053(0x2cd)]),_0x58a393),_0x33f413[_0x505053(0x222)],_0x33f413[_0x505053(0x2a5)]);}if(_0x505053(0x1fd)===_0xe465b6[_0x505053(0x24d)]&&_0xe465b6[_0x505053(0x2ed)][_0x505053(0x21a)](_0x505053(0x294))){const _0x5de7a1=_0xe465b6;return new _0x43c30c(_0x5de7a1[_0x505053(0x2ed)],_0x5de7a1[_0x505053(0x2d7)],this[_0x505053(0x208)](_0x5de7a1[_0x505053(0x21b)],_0x225e72[_0x505053(0x21c)](_0x5de7a1[_0x505053(0x21b)][_0x505053(0x213)][_0x505053(0x2cd)]),_0x225e72[_0x505053(0x21c)](_0x5de7a1[_0x505053(0x21b)][_0x505053(0x279)][_0x505053(0x2cd)]),_0x58a393),_0x5de7a1[_0x505053(0x278)],_0x5de7a1[_0x505053(0x2df)],_0x5de7a1[_0x505053(0x2a5)]);}return _0xe465b6;}[_0x1a2f58(0x201)](_0x14ecae){const _0x3fe118=_0x1a2f58;if(!_0x14ecae[_0x3fe118(0x253)])return[];const _0x10787b=[];let _0x13e6eb=0x0,_0x1d4348=0x0,_0x3280b3=[];for(let _0x4b3054=0x0;_0x4b3054<=_0x14ecae[_0x3fe118(0x253)];_0x4b3054++){const _0x69c50c=_0x14ecae[_0x4b3054],_0x4400fc=_0x14ecae[_0x4b3054-0x1];!_0x69c50c||_0x4400fc&&!this[_0x3fe118(0x256)](_0x4400fc)[_0x3fe118(0x2d9)](this[_0x3fe118(0x20e)](_0x69c50c))?(_0x10787b[_0x3fe118(0x20d)]({'operations':_0x3280b3,'operationsIsolated':_0x3280b3[_0x3fe118(0x1f5)](_0x494da0=>this[_0x3fe118(0x295)](_0x494da0[_0x3fe118(0x255)](),-_0x1d4348)),'groupOffset':_0x13e6eb}),_0x3280b3=_0x69c50c?[_0x69c50c]:[],_0x1d4348+=_0x13e6eb,_0x13e6eb=0x0):_0x3280b3[_0x3fe118(0x20d)](_0x69c50c),_0x69c50c&&_0x3fe118(0x2d0)===_0x69c50c[_0x3fe118(0x24d)]&&(_0x13e6eb+=_0x69c50c[_0x3fe118(0x290)]);}return _0x10787b;}[_0x1a2f58(0x1f2)](_0x5c07ed,_0x2f2ece,_0xca747a,_0xbc37f1=0x1){const _0x25a32a=_0x1a2f58,_0x45c955=new _0xb73e42({'startPosition':_0x5c07ed,'direction':_0x2f2ece});let _0x5ca7b1=0x0;for(let _0x3cdaaa=0x0;_0x3cdaaa<_0xbc37f1;_0x3cdaaa++){let _0x49666b=0x0,_0x586d4b=!0x1,_0x4b7218=_0x25a32a(0x24b)===_0x2f2ece?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x3c4bc8}of _0x45c955)if(_0x3c4bc8['is'](_0x25a32a(0x2c0))){const _0x3cda71=_0x4b7218[_0x25a32a(0x262)](_0x3c4bc8[_0x25a32a(0x28a)]);if(_0x3cda71&&_0x3cda71[_0x25a32a(0x253)]){if(_0x49666b+=_0x25a32a(0x24b)===_0x2f2ece?_0x3cda71[_0x25a32a(0x20f)]+_0x3cda71[0x0][_0x25a32a(0x253)]:_0x3c4bc8[_0x25a32a(0x28a)][_0x25a32a(0x253)]-_0x3cda71[_0x25a32a(0x20f)],_0x3cda71[0x0][_0x25a32a(0x253)]!==_0x3c4bc8[_0x25a32a(0x28a)][_0x25a32a(0x253)])break;_0x586d4b=!0x0,_0x4b7218=_0x25a32a(0x24b)===_0x2f2ece?/^\w+/:/\w+$/;}else{if(_0x586d4b)break;_0x49666b+=_0x3c4bc8[_0x25a32a(0x229)];}}else{if(_0x3c4bc8['is'](_0x25a32a(0x2b5))){_0xca747a[_0x25a32a(0x217)](_0x3c4bc8)&&!_0x586d4b&&(_0x49666b+=0x1);break;}}_0x5ca7b1+=_0x49666b,_0x45c955[_0x25a32a(0x23d)](_0x5c07ed[_0x25a32a(0x23c)](_0x25a32a(0x24b)===_0x2f2ece?_0x5ca7b1:-_0x5ca7b1));}return _0x5ca7b1;}[_0x1a2f58(0x221)](_0x4ef764,_0xab406c){const _0x1970a9=_0x1a2f58,_0x3d38a1=_0x3170ba(this[_0x1970a9(0x2a0)])[_0x1970a9(0x204)][_0x1970a9(0x1ff)],_0x1f879e=this[_0x1970a9(0x1f2)](_0x4ef764,_0x1970a9(0x29c),_0x3d38a1,0x6),_0x161873=this[_0x1970a9(0x1f2)](_0xab406c,_0x1970a9(0x24b),_0x3d38a1,0x6),_0x4fb577=_0x4ef764[_0x1970a9(0x23c)](-_0x1f879e),_0x4e08ac=_0xab406c[_0x1970a9(0x23c)](_0x161873);return{'start':_0x4fb577,'end':_0x4e08ac,'hasContentBefore':!_0x4fb577[_0x1970a9(0x284)],'hasContentAfter':!_0x4e08ac[_0x1970a9(0x23b)]};}[_0x1a2f58(0x27c)](_0x1db237){const _0x218795=_0x1a2f58,_0x52002b=this[_0x218795(0x2a0)][_0x218795(0x232)][_0x218795(0x1f4)](_0x218795(0x21f)),_0x446229=new Set();_0x3170ba(this[_0x218795(0x2a0)])[_0x218795(0x204)][_0x218795(0x1f7)](_0x344c65=>{const _0x90a47b=_0x218795;for(const _0x22283d of _0x1db237){const _0xa9fa89=''+fe+_0x22283d[_0x90a47b(0x24d)]+':'+_0x22283d[_0x90a47b(0x249)]+'_'+_0x52002b[_0x90a47b(0x254)](_0x446229);this[_0x90a47b(0x278)][_0x90a47b(0x2a3)](_0xa9fa89,{'id':_0xa9fa89,'groupId':_0x22283d[_0x90a47b(0x249)],'type':_0x22283d[_0x90a47b(0x24d)],'content':_0x22283d[_0x90a47b(0x27b)]}),_0x344c65[_0x90a47b(0x298)](_0xa9fa89,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x344c65[_0x90a47b(0x211)](_0x22283d[_0x90a47b(0x213)],_0x22283d[_0x90a47b(0x279)])});}});}[_0x1a2f58(0x2f4)](_0x3135e8,_0x57dc03,_0x10174b){let _0x4f47d7='';return()=>{const _0x2dafaf=_0x2fed;if(!_0x4f47d7){const _0x5f465f=_0x57dc03[_0x2dafaf(0x2f9)](_0x3135e8,{'showSuggestionHighlights':!0x0});let _0x364ea8=_0x5f465f[_0x2dafaf(0x2b0)](0x0);if(_0x364ea8['is'](_0x2dafaf(0x2e6))||(_0x364ea8=_0x5f465f),!_0x364ea8)return'';let _0x514e25=!0x1;const _0x5086ea=[];for(const _0x109541 of _0x364ea8[_0x2dafaf(0x26c)]())_0x109541['is'](_0x2dafaf(0x2b5),_0x2dafaf(0x268))&&_0x109541[_0x2dafaf(0x251)](_0x2dafaf(0x247))&&(_0x514e25=!0x1),_0x514e25&&_0x5086ea[_0x2dafaf(0x20d)](_0x109541),_0x109541['is'](_0x2dafaf(0x2b5),_0x2dafaf(0x268))&&_0x109541[_0x2dafaf(0x251)](_0x2dafaf(0x2cb))&&(_0x514e25=!0x0);_0x364ea8[_0x2dafaf(0x266)](0x0,_0x364ea8[_0x2dafaf(0x25a)]),_0x10174b?.[_0x2dafaf(0x202)]&&_0x364ea8[_0x2dafaf(0x1f9)]('…'),_0x364ea8[_0x2dafaf(0x1f9)](_0x5086ea),_0x10174b?.[_0x2dafaf(0x20c)]&&_0x364ea8[_0x2dafaf(0x1f9)]('…');const _0x37802c=_0x57dc03[_0x2dafaf(0x270)][_0x2dafaf(0x1fa)][_0x2dafaf(0x2de)](_0x5f465f),_0x502587=_0x57dc03[_0x2dafaf(0x270)][_0x2dafaf(0x237)][_0x2dafaf(0x2dc)](_0x37802c);_0x4f47d7=_0x502587;}return _0x4f47d7;};}[_0x1a2f58(0x231)](_0x2f2d50,_0x1c822b){const _0x2d8f95=_0x1a2f58;let _0x5031bd='';return()=>(_0x5031bd||(_0x5031bd=_0x1c822b[_0x2d8f95(0x2bc)](_0x2f2d50,{'showSuggestionHighlights':!0x0})),_0x5031bd);}[_0x1a2f58(0x1fe)](_0x5474af,_0x41fe8f,_0x6e983e){let _0x469e63='';return()=>{const _0x3f3b05=_0x2fed;if(!_0x469e63){const _0x4271b9=_0x6e983e[_0x3f3b05(0x2f9)](new _0x103304(_0x5474af)),_0x47ec7f=_0x6e983e[_0x3f3b05(0x270)][_0x3f3b05(0x1fa)][_0x3f3b05(0x2de)](_0x4271b9)[_0x3f3b05(0x2b3)](_0x3f3b05(0x2e1)+_0x41fe8f+'\x22]');_0x469e63=_0x47ec7f?.[_0x3f3b05(0x252)]||'';}return _0x469e63;};}[_0x1a2f58(0x20b)](_0x127021,_0x23c05a=0x5){const _0x4969d1=_0x1a2f58;let _0x113475=_0x127021,_0x51bde8=null;for(let _0x15e847=0x0;_0x15e847<_0x23c05a&&_0x113475;_0x15e847++){if(!_0x113475[_0x4969d1(0x1ef)]){_0x113475=_0x113475[_0x4969d1(0x1f0)];continue;}if(!(''+_0x113475[_0x4969d1(0x1ef)])[_0x4969d1(0x2e5)](_0x4969d1(0x2c8))){_0x113475=_0x113475[_0x4969d1(0x1f0)];continue;}if(!_0x113475[_0x4969d1(0x1f3)](_0x4969d1(0x214)))break;_0x51bde8=_0x113475;break;}return _0x51bde8;}[_0x1a2f58(0x2d3)](_0x2a8fdd){const _0xae4dd1=_0x1a2f58,_0x2912eb=_0x3170ba(this[_0xae4dd1(0x2a0)]),_0x2d6f60=_0x2912eb[_0xae4dd1(0x204)][_0xae4dd1(0x2b7)][_0xae4dd1(0x1f4)](_0x2a8fdd);return _0x2d6f60?_0x4fcd42(_0x2912eb[_0xae4dd1(0x25b)],_0x2d6f60):null;}[_0x1a2f58(0x2e9)](_0x5b8fc8){const _0x3276f8=_0x1a2f58;return Array[_0x3276f8(0x289)](this[_0x3276f8(0x278)][_0x3276f8(0x2a6)]())[_0x3276f8(0x27a)](_0x33b0cb=>_0x33b0cb[_0x3276f8(0x249)]===_0x5b8fc8);}[_0x1a2f58(0x20e)](_0x2108bc){const _0x5cd93d=_0x1a2f58;return _0x5cd93d(0x2d0)===_0x2108bc[_0x5cd93d(0x24d)]?_0x2108bc[_0x5cd93d(0x2dd)]:_0x2108bc[_0x5cd93d(0x21b)][_0x5cd93d(0x213)];}[_0x1a2f58(0x256)](_0x1aef11,_0x213424=!0x1){const _0x1f00e5=_0x1a2f58;return _0x1f00e5(0x2d0)===_0x1aef11[_0x1f00e5(0x24d)]?_0x213424?_0x1aef11[_0x1f00e5(0x2dd)]:_0x1aef11[_0x1f00e5(0x2dd)][_0x1f00e5(0x23c)](_0x1aef11[_0x1f00e5(0x290)]):_0x1aef11[_0x1f00e5(0x21b)][_0x1f00e5(0x279)];}[_0x1a2f58(0x295)](_0x239207,_0x14aba9){const _0x4c9b48=_0x1a2f58;return _0x4c9b48(0x2d0)===_0x239207[_0x4c9b48(0x24d)]?_0x239207[_0x4c9b48(0x2dd)]=_0x239207[_0x4c9b48(0x2dd)][_0x4c9b48(0x23c)](_0x14aba9):_0x4c9b48(0x1fd)===_0x239207[_0x4c9b48(0x24d)]&&_0x239207[_0x4c9b48(0x21b)]&&(_0x239207[_0x4c9b48(0x21b)]=new _0x106927(_0x239207[_0x4c9b48(0x21b)][_0x4c9b48(0x213)][_0x4c9b48(0x23c)](_0x14aba9),_0x239207[_0x4c9b48(0x21b)][_0x4c9b48(0x279)][_0x4c9b48(0x23c)](_0x14aba9))),_0x239207;}[_0x1a2f58(0x265)](_0x330ae3,_0x459566){const _0x170187=_0x1a2f58;_0x170187(0x2d0)===_0x330ae3[_0x170187(0x24d)]?_0x330ae3[_0x170187(0x2dd)]=this[_0x170187(0x24a)](_0x330ae3[_0x170187(0x2dd)],_0x459566):_0x170187(0x1fd)===_0x330ae3[_0x170187(0x24d)]&&_0x330ae3[_0x170187(0x21b)]&&(_0x330ae3[_0x170187(0x21b)]=this[_0x170187(0x21e)](_0x330ae3[_0x170187(0x21b)],_0x459566));}[_0x1a2f58(0x24a)](_0x51a4ff,_0x426d08){const _0x575198=_0x1a2f58;return new _0x4e7274(_0x426d08,_0x51a4ff[_0x575198(0x245)]);}[_0x1a2f58(0x21e)](_0x47e71b,_0x13bc8f){const _0x3a3a2f=_0x1a2f58;return new _0x106927(this[_0x3a3a2f(0x24a)](_0x47e71b[_0x3a3a2f(0x213)],_0x13bc8f),this[_0x3a3a2f(0x24a)](_0x47e71b[_0x3a3a2f(0x279)],_0x13bc8f));}[_0x1a2f58(0x2be)](_0x3632ab,_0x4a3fad){return new _0x4e7274(_0x4a3fad,[..._0x3632ab]);}[_0x1a2f58(0x208)](_0x17fb76,_0x48256f,_0x93dae5,_0x3daf83){const _0x8cff0d=_0x1a2f58;return new _0x106927(this[_0x8cff0d(0x2be)](_0x48256f,_0x3daf83),this[_0x8cff0d(0x2be)](_0x93dae5,_0x3daf83));}[_0x1a2f58(0x235)](_0x26269a){const _0x2f1f33=_0x1a2f58,_0x219ad3=_0xe68e1d=>{const _0x2a13c8=_0x2fed;switch(_0xe68e1d){case _0x2a13c8(0x2d0):return 0x0;case _0x2a13c8(0x216):return 0x1;case _0x2a13c8(0x2c5):return 0x2;case _0x2a13c8(0x2aa):return 0x3;}};return _0x26269a[_0x2f1f33(0x228)]((_0x1bf27c,_0x2fac84)=>_0x219ad3(_0x1bf27c[_0x2f1f33(0x24d)])-_0x219ad3(_0x2fac84[_0x2f1f33(0x24d)]));}[_0x1a2f58(0x285)](_0x33c434,_0x407c1a){const _0x1dd53a=_0x1a2f58,_0x9f9ad2=_0x33c434[_0x1dd53a(0x2b0)](0x0),_0x54bbcd=_0x407c1a[_0x1dd53a(0x2b0)](0x0);return!(!_0x9f9ad2||!_0x54bbcd)&&((!_0x9f9ad2['is'](_0x1dd53a(0x2b5))||!_0x54bbcd['is'](_0x1dd53a(0x2b5))||_0x9f9ad2[_0x1dd53a(0x2ed)]===_0x54bbcd[_0x1dd53a(0x2ed)])&&!(_0x9f9ad2['is'](_0x1dd53a(0x2b5))&&!_0x54bbcd['is'](_0x1dd53a(0x2b5))||!_0x9f9ad2['is'](_0x1dd53a(0x2b5))&&_0x54bbcd['is'](_0x1dd53a(0x2b5))));}[_0x1a2f58(0x296)](_0x43bba5){const _0x3b8009=_0x1a2f58;return 0x1===_0x43bba5[_0x3b8009(0x25a)];}[_0x1a2f58(0x2ce)](_0x27e9e8,_0x4fda1e){const _0x2af609=_0x1a2f58;for(const _0x32cb0c of _0x27e9e8[_0x2af609(0x26c)]())if(_0x32cb0c['is'](_0x2af609(0x2b5))&&!_0x4fda1e[_0x2af609(0x217)](_0x32cb0c))return!0x1;return!0x0;}[_0x1a2f58(0x2e8)](_0x3421c3,_0xb31bd8){const _0x5756f5=_0x1a2f58;let _0x387265=_0x3421c3[_0x5756f5(0x1f3)](_0x3ba25b);return _0x387265||(_0x387265=_0xb31bd8(),_0x3421c3[_0x5756f5(0x2a7)](_0x3ba25b,_0x387265)),_0x387265;}}
|
|
23
|
+
function _0x2b75(_0x38ba41,_0x4ee89a){const _0x310ff9=_0x310f();return _0x2b75=function(_0x2b7536,_0x58e037){_0x2b7536=_0x2b7536-0x1b1;let _0x5b1744=_0x310ff9[_0x2b7536];return _0x5b1744;},_0x2b75(_0x38ba41,_0x4ee89a);}const _0x190505=_0x2b75;(function(_0x19fa2b,_0x5f4e9d){const _0x10c3fc=_0x2b75,_0x28d909=_0x19fa2b();while(!![]){try{const _0x215c7e=parseInt(_0x10c3fc(0x2a4))/0x1+-parseInt(_0x10c3fc(0x1f0))/0x2*(-parseInt(_0x10c3fc(0x1e3))/0x3)+parseInt(_0x10c3fc(0x20d))/0x4+-parseInt(_0x10c3fc(0x25f))/0x5*(-parseInt(_0x10c3fc(0x2a0))/0x6)+parseInt(_0x10c3fc(0x213))/0x7*(-parseInt(_0x10c3fc(0x285))/0x8)+parseInt(_0x10c3fc(0x1c5))/0x9+-parseInt(_0x10c3fc(0x25d))/0xa;if(_0x215c7e===_0x5f4e9d)break;else _0x28d909['push'](_0x28d909['shift']());}catch(_0x4869cf){_0x28d909['push'](_0x28d909['shift']());}}}(_0x310f,0x33935));import{InsertOperation as _0x5112a5,MarkerOperation as _0xfa789a,ModelDocumentFragment as _0x4218ef,ModelPosition as _0x43b75f,ModelRange as _0x3ff854,ModelTreeWalker as _0x1bf251,transformOperationSets as _0x22d1e5}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x3088b2,EmitterMixin as _0x3d7979,uid as _0x2d4698}from'ckeditor5/src/utils.js';function _0x310f(){const _0x2c81dd=['length','setMarkersInElementAsActive','groupId','_handleMarkerChanges','pluginName','delete','isLimit','$textProxy','differ','addOperation','_eventEmitter','markers','isIntersecting','stringify','429948DMsXng','_changeRangeOwnerDocument','version','insert','applyChange','append','toData','position','getRoots','getDomRoot','changeMarkerBlurred','suggestion:insertion:id:authorId:','remove-text','ck-ai_review-marker_','markChangePositionInEditorContent','_changePositionOwnerDocument','_haveSingleTopLevelElement','getStart','model','_clone','isDocumentOperation','switchToEdit','markerName','htmlProcessor','_domEmitter','operationsIsolated','createPositionAt','_changeRange','isOpening','data','12AaUAQo','operationsA','includes','isAtEnd','registerPostFixer','clearAllMarkers','ck-ai_review-marker_context-start','_hasSameTopLevelElement','fire','view','containsRange','switchToReadOnly','_groupAdjacentOperations','48486kQoIsh','span','viewToDom','toDomElement','getMarkerElementForChange','forEach','childCount','_validateMarkers','for','createRawElement','createRangeOn','ck-ai_review__change_active','mouseover','remove-context','innerHTML','ellipsisBefore','_createGetContentFn','containerElement','set','rejectChange','_findMarkerElementById','ck-ai_review-marker_context-end','dataDowncast','remove','rootName','has','hasContentAfter','history','_removeChildren','1250164wHWHmp','getChanges','sort','concat','clear','getDiff','18837JriQty','_findAdjacentContextDistance','toView','getEditor','mouseup','keys','context','asString','setAllMarkersAsInactive','hasContentBefore','getHtml','_setAttribute','processor','hasClass','outerHTML','createDocumentFragment','getChangedMarkers','$graveyard','.ck-reset.ck-ai_review-balloon-panel-suggestion','markerToHighlight','offset','clone','getChildren','insertContent','start','join','type','isInline','htmlWriter','enableReadOnlyMode','isTouching','backward','[data-marker-id=\x22','_haveOnlyInlineContent','getRange','nodes','map','element','_shiftOperation','getAttribute','_sortMarkers','forward','jumpTo','_translateOperationToEditorContent','editing','document','ck-ai_review-marker_underline','createSelection','path','push','_createGetContentUsingDataIdFn','getContentElementForChange','remove-only','conversion','_getOperationStart','afterInit','review-','$documentFragment','domConverter','offsetSize','batch','getPath','affectsData','diffContent','DocumentCompare','createRangeIn','isPremiumPlugin','hasAttribute','_insertMarkers','getRoot','warn','_findMarkerElement','$markedRemove:synthetic','listenTo','5611820UHmefi','asFragment','2028645oZmWVI','requires','_nextDataId','disableReadOnlyMode','pop','getOperations','end','ellipsisAfter','removeMarker','content','index','_upsertDataId','_removeAttribute','outside','closest','suggestion:deletion:id:authorId:','addMarker','schema','every','ck-ai_review-marker_context-','from','reactivateMarkers','AIEditing','getChild','createRange','inside','root','deleteContent','_getOperationEnd','target','filter','applyOperation','_activeMarkers','createPositionAfter','suggestion-context','\x20ck-ai_review__change_active','elements','ck-ai_review-marker_add','1232noooDm','parentElement','className','_getChangeContext','baseVersion','_createGetContextFn','ai-review','downcast','ck-ai_review-marker_strikethrough','_markers','querySelector','_getPositionLimitingRange','change','changeMarkerClicked','plugins','markerToElement','emitter','relatedTarget','_changePosition','newRange','$markedRemove','getDocumentData','oldRange','operations','editingDowncast','changeMarkerRemoved','changeMarkerHovered','6SSQtDj','add','marker','startsWith','323835Mfmsbt','exec','isOfficialPlugin','body','No\x20element\x20found\x20for\x20ID:\x20','size','getShiftedBy','get','reconvertMarker','changeMarkerRestored','howMany','highest','_changeOperationOwnerDocument','ck-ai_review-marker_hide','_appendChild','attributeToAttribute','name','$root','documentFragment','[data-id=\x22','AIReviewCoreEditing','flat','isBlock','values','isAtStart','_parseMarkerName','parse','parent','data-marker-id','getEditableElement','createUIElement','_getMarkersDataForGroup','split'];_0x310f=function(){return _0x2c81dd;};return _0x310f();}import{ContextPlugin as _0x385970}from'ckeditor5/src/core.js';import{DocumentCompare as _0x22983b,DATA_ID_MODEL_ATTRIBUTE as _0x5bc399,DATA_ID_VIEW_ATTRIBUTE as _0x1356ed,getMarkerDomElement as _0x5c9e8d}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x1e4e36}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x2005fa}from'../aicore/aiediting.js';import{debounce as _0x203e45}from'es-toolkit/compat';const fe=_0x190505(0x24b);export class AIReviewCoreEditing extends _0x385970{static get[_0x190505(0x260)](){return[_0x22983b,_0x2005fa];}static get[_0x190505(0x1bb)](){const _0x1c646f=_0x190505;return _0x1c646f(0x2b8);}static get[_0x190505(0x2a6)](){return!0x0;}static get[_0x190505(0x255)](){return!0x0;}[_0x190505(0x28e)]=new Map();[_0x190505(0x27f)]=new Set();[_0x190505(0x1dd)];[_0x190505(0x1c1)];constructor(_0x25b281){const _0x3e5292=_0x190505;super(_0x25b281),this[_0x3e5292(0x1dd)]=new(_0x3088b2())(),this[_0x3e5292(0x1c1)]=new(_0x3d7979())();}get[_0x190505(0x295)](){const _0x3bba7b=_0x190505;return this[_0x3bba7b(0x1c1)];}[_0x190505(0x24a)](){const _0xa02ad1=_0x190505,_0x583a11=_0x1e4e36(this[_0xa02ad1(0x219)]);_0x583a11[_0xa02ad1(0x248)][_0xa02ad1(0x1f8)](_0xa02ad1(0x29d))[_0xa02ad1(0x294)]({'model':fe+_0xa02ad1(0x1c8),'view':(_0xddf1e,{writer:_0x3521ca})=>{const _0x525461=_0xa02ad1,_0x4402b5=this[_0x525461(0x28e)][_0x525461(0x2ab)](_0xddf1e[_0x525461(0x1db)]),_0x3bcefd={'class':_0x525461(0x284)+(this[_0x525461(0x27f)][_0x525461(0x209)](_0x4402b5?.['id']||'')?_0x525461(0x282):''),'data-marker-id':_0xddf1e[_0x525461(0x1db)]};return _0x3521ca[_0x525461(0x1b4)](_0x525461(0x1f1),_0x3bcefd,function(_0x28114d){const _0x4a0b44=_0x525461,_0x5d6a10=this[_0x4a0b44(0x1f3)](_0x28114d);return _0x5d6a10[_0x4a0b44(0x1fe)]=_0x4402b5?.[_0x4a0b44(0x268)]?.[_0x4a0b44(0x21a)]||'',_0x5d6a10;});}}),_0x583a11[_0xa02ad1(0x248)][_0xa02ad1(0x1f8)](_0xa02ad1(0x29d))[_0xa02ad1(0x226)]({'model':fe+_0xa02ad1(0x247),'view':_0x5e4554=>{const _0x46cb0f=_0xa02ad1,_0xb81912=this[_0x46cb0f(0x28e)][_0x46cb0f(0x2ab)](_0x5e4554[_0x46cb0f(0x1db)]),_0x27713e=[_0x46cb0f(0x28d)];return this[_0x46cb0f(0x27f)][_0x46cb0f(0x209)](_0xb81912?.['id']||'')&&_0x27713e[_0x46cb0f(0x244)](_0x46cb0f(0x1fb)),{'classes':_0x27713e,'attributes':{'data-marker-id':_0x5e4554[_0x46cb0f(0x1db)]}};}}),_0x583a11[_0xa02ad1(0x248)][_0xa02ad1(0x1f8)](_0xa02ad1(0x29d))[_0xa02ad1(0x226)]({'model':fe+_0xa02ad1(0x1fd),'view':_0x20a3e4=>{const _0x279f37=_0xa02ad1,_0x5d575b=this[_0x279f37(0x28e)][_0x279f37(0x2ab)](_0x20a3e4[_0x279f37(0x1db)]),_0x5e81e3=[_0x279f37(0x241)];return this[_0x279f37(0x27f)][_0x279f37(0x209)](_0x5d575b?.['id']||'')&&_0x5e81e3[_0x279f37(0x244)](_0x279f37(0x1fb)),{'classes':_0x5e81e3,'attributes':{'data-marker-id':_0x20a3e4[_0x279f37(0x1db)]}};}}),_0x583a11[_0xa02ad1(0x248)][_0xa02ad1(0x1f8)](_0xa02ad1(0x29d))[_0xa02ad1(0x226)]({'model':fe+_0xa02ad1(0x1d1),'view':_0x2a3177=>{const _0x1a43ad=_0xa02ad1,_0x52777f=this[_0x1a43ad(0x28e)][_0x1a43ad(0x2ab)](_0x2a3177[_0x1a43ad(0x1db)]),_0x59d8b6=[_0x1a43ad(0x2b1)];return this[_0x1a43ad(0x27f)][_0x1a43ad(0x209)](_0x52777f?.['id']||'')&&_0x59d8b6[_0x1a43ad(0x244)](_0x1a43ad(0x1fb)),{'classes':_0x59d8b6,'attributes':{'data-marker-id':_0x2a3177[_0x1a43ad(0x1db)]}};}}),_0x583a11[_0xa02ad1(0x248)][_0xa02ad1(0x1f8)](_0xa02ad1(0x206))[_0xa02ad1(0x294)]({'model':fe+_0xa02ad1(0x281),'view':(_0x2fb690,{writer:_0x2e8536})=>_0x2e8536[_0xa02ad1(0x1f9)](_0xa02ad1(0x1f1),{'class':_0xa02ad1(0x272)+(_0x2fb690[_0xa02ad1(0x1e1)]?_0xa02ad1(0x22b):_0xa02ad1(0x265))})}),_0x583a11[_0xa02ad1(0x248)][_0xa02ad1(0x1f8)](_0xa02ad1(0x28c))[_0xa02ad1(0x2b3)]({'model':_0x5bc399,'view':_0x1356ed});const _0x181196=_0x583a11['ui'][_0xa02ad1(0x1b3)]()||document[_0xa02ad1(0x2a7)];this[_0xa02ad1(0x1dd)][_0xa02ad1(0x25c)](_0x181196,_0xa02ad1(0x217),(_0x44d582,_0x3e2d25)=>{const _0x1e7df2=_0xa02ad1,_0x274269=_0x3e2d25[_0x1e7df2(0x27c)],_0x367392=this[_0x1e7df2(0x25a)](_0x274269);if(!_0x367392)return;const _0x2c8213=_0x367392[_0x1e7df2(0x23a)](_0x1e7df2(0x1b2)),_0x44ee4a=_0x2c8213[_0x1e7df2(0x1b6)](':')[_0x1e7df2(0x263)]()?.[_0x1e7df2(0x1b6)]('_')[0x0];this[_0x1e7df2(0x1c1)][_0x1e7df2(0x1eb)](_0x1e7df2(0x292),{'markerId':_0x2c8213,'changeId':_0x44ee4a,'markerElement':()=>this[_0x1e7df2(0x204)](_0x2c8213),'domEvent':_0x3e2d25});},{'usePassive':!0x0,'priority':_0xa02ad1(0x2af)}),this[_0xa02ad1(0x1dd)][_0xa02ad1(0x25c)](_0x181196,_0xa02ad1(0x1fc),(_0x2e2c5d,_0x2d7845)=>{const _0x40113d=_0xa02ad1,_0x20c8c1=_0x2d7845[_0x40113d(0x27c)],_0x2d43d1=_0x2d7845[_0x40113d(0x296)];let _0x490f85=this[_0x40113d(0x25a)](_0x20c8c1);if(!_0x490f85&&_0x2d43d1&&(_0x490f85=this[_0x40113d(0x25a)](_0x2d43d1)),!_0x490f85)return;const _0x4f3fc8=_0x490f85[_0x40113d(0x23a)](_0x40113d(0x1b2)),_0x1ca938=_0x4f3fc8[_0x40113d(0x1b6)](':')[_0x40113d(0x263)]()?.[_0x40113d(0x1b6)]('_')[0x0];this[_0x40113d(0x1c1)][_0x40113d(0x1eb)](_0x40113d(0x29f),{'changeId':_0x1ca938,'markerElement':()=>this[_0x40113d(0x204)](_0x4f3fc8),'domEvent':_0x2d7845});}),this[_0xa02ad1(0x1dd)][_0xa02ad1(0x25c)](document,_0xa02ad1(0x1fc),_0x203e45((_0x4a25a9,_0x5cdb9f)=>{const _0x211c10=_0xa02ad1,_0x501475=_0x5cdb9f[_0x211c10(0x27c)];if(this[_0x211c10(0x25a)](_0x501475))return;_0x501475[_0x211c10(0x26d)](_0x211c10(0x225))||this[_0x211c10(0x1c1)][_0x211c10(0x1eb)](_0x211c10(0x1cf));},0xc8)),_0x583a11[_0xa02ad1(0x1d7)][_0xa02ad1(0x240)][_0xa02ad1(0x1e7)](_0x335456=>this[_0xa02ad1(0x1f7)](_0x583a11,_0x335456)),_0x583a11[_0xa02ad1(0x1d7)][_0xa02ad1(0x240)]['on'](_0xa02ad1(0x291),()=>this[_0xa02ad1(0x1ba)](_0x583a11));}[_0x190505(0x29a)](){const _0x6b9c=_0x190505,_0x3ee5a1=this[_0x6b9c(0x219)][_0x6b9c(0x293)][_0x6b9c(0x2ab)](_0x6b9c(0x275)),_0x417d86=_0x1e4e36(this[_0x6b9c(0x219)]),_0x51f004=_0x417d86[_0x6b9c(0x1d7)],_0x4c8da2=new _0x4218ef();for(const _0x209c2e of _0x51f004[_0x6b9c(0x240)][_0x6b9c(0x258)]()[_0x6b9c(0x229)]()){const _0xa07bad=_0x209c2e[_0x6b9c(0x1d8)](!0x0);_0x4c8da2[_0x6b9c(0x2b2)](_0xa07bad);}for(const _0x5a50a5 of _0x51f004[_0x6b9c(0x1c2)])_0x4c8da2[_0x6b9c(0x1c2)][_0x6b9c(0x202)](_0x5a50a5[_0x6b9c(0x2b4)],this[_0x6b9c(0x1c6)](_0x5a50a5[_0x6b9c(0x235)]()[_0x6b9c(0x228)](),_0x4c8da2));const _0x2134e5=new _0x1bf251({'ignoreElementEnd':!0x0,'startPosition':_0x51f004[_0x6b9c(0x1df)](_0x4c8da2,0x0)}),_0x34f9d0=new Set(),_0x494273=new Map();for(const {item:_0x28f8c4}of _0x2134e5){if(!_0x28f8c4['is'](_0x6b9c(0x1be)))continue;const _0x594f3b=_0x28f8c4[_0x6b9c(0x1b1)];if(_0x594f3b&&_0x594f3b['is'](_0x6b9c(0x238))){const _0x810e07=this[_0x6b9c(0x26a)](_0x594f3b,()=>_0x3ee5a1[_0x6b9c(0x261)](_0x34f9d0));_0x34f9d0[_0x6b9c(0x2a1)](_0x810e07);for(const _0x3d4f1d of _0x594f3b[_0x6b9c(0x229)]())_0x3d4f1d['is'](_0x6b9c(0x238))&&_0x34f9d0[_0x6b9c(0x2a1)](this[_0x6b9c(0x26a)](_0x3d4f1d,()=>_0x3ee5a1[_0x6b9c(0x261)](_0x34f9d0)));let _0x11a28a=_0x594f3b;for(;_0x11a28a[_0x6b9c(0x1b1)]&&!_0x11a28a[_0x6b9c(0x1b1)]['is'](_0x6b9c(0x2b6));)_0x11a28a=_0x11a28a[_0x6b9c(0x1b1)],_0x11a28a[_0x6b9c(0x256)](_0x5bc399)&&_0x11a28a[_0x6b9c(0x26b)](_0x5bc399);_0x494273[_0x6b9c(0x202)](_0x810e07,{'path':_0x594f3b[_0x6b9c(0x250)](),'getContent':this[_0x6b9c(0x245)](_0x11a28a[_0x6b9c(0x1d8)](!0x0),_0x810e07,_0x417d86[_0x6b9c(0x1e2)])}),_0x2134e5[_0x6b9c(0x23d)](_0x51f004[_0x6b9c(0x280)](_0x594f3b));}}return{'content':_0x417d86[_0x6b9c(0x1e2)][_0x6b9c(0x21f)][_0x6b9c(0x1cb)](_0x417d86[_0x6b9c(0x1e2)][_0x6b9c(0x215)](_0x4c8da2)),'version':_0x417d86[_0x6b9c(0x1d7)][_0x6b9c(0x240)][_0x6b9c(0x1c7)],'elements':_0x494273};}[_0x190505(0x252)](_0x2e6bd8,_0x28bbd2,_0xe57987=!0x1){const _0x2381bf=_0x190505,_0x19197c=[],_0x1486c8=_0x1e4e36(this[_0x2381bf(0x219)]),_0x1e332e=_0x1486c8[_0x2381bf(0x1e2)][_0x2381bf(0x2be)](_0x28bbd2,_0x2381bf(0x24c)),_0x29a3f4=_0x1486c8[_0x2381bf(0x1e2)][_0x2381bf(0x2be)](_0x2e6bd8,_0x2381bf(0x24c)),_0x36cbea=_0x1486c8[_0x2381bf(0x1d7)][_0x2381bf(0x1df)](_0x29a3f4,0x0);if(this[_0x2381bf(0x1d5)](_0x1e332e)){if(!this[_0x2381bf(0x1ea)](_0x29a3f4,_0x1e332e))return _0x19197c;}else{const _0x541be5=_0x1486c8[_0x2381bf(0x1d7)][_0x2381bf(0x270)];if(!this[_0x2381bf(0x234)](_0x29a3f4,_0x541be5)||!this[_0x2381bf(0x234)](_0x1e332e,_0x541be5))return _0x19197c;}const _0x1c8cfe=this[_0x2381bf(0x219)][_0x2381bf(0x293)][_0x2381bf(0x2ab)](_0x2381bf(0x253))[_0x2381bf(0x212)](_0x2e6bd8,_0x28bbd2,{'anchor':_0x36cbea,'markDeletions':!0x0})[_0x2381bf(0x264)]()[_0x2381bf(0x27d)](_0x35da40=>_0x2381bf(0x1c8)===_0x35da40[_0x2381bf(0x22d)]||_0x2381bf(0x2a2)===_0x35da40[_0x2381bf(0x22d)]&&_0x35da40[_0x2381bf(0x2b4)][_0x2381bf(0x2a3)](_0x2381bf(0x299))),_0x276cbb=this[_0x2381bf(0x1ef)](_0x1c8cfe),_0x52e4d3=[];if(_0xe57987){if(_0x276cbb[_0x2381bf(0x1b7)]){const _0x982f40=_0x276cbb[0x0][_0x2381bf(0x29c)][0x0],_0x1e1d50=_0x2381bf(0x1c8)===_0x982f40[_0x2381bf(0x22d)]?_0x982f40[_0x2381bf(0x1cc)]:_0x982f40[_0x2381bf(0x298)][_0x2381bf(0x22b)],_0x4d2229=this[_0x2381bf(0x290)](_0x1e1d50,_0x1486c8,_0x2381bf(0x278)),_0x5246ab=_0x4d2229?_0x1e332e[_0x2381bf(0x276)](0x0)[_0x2381bf(0x229)]():_0x1e332e[_0x2381bf(0x229)](),_0x36ac2a=_0x4d2229||_0x1486c8[_0x2381bf(0x1d7)][_0x2381bf(0x254)](_0x29a3f4),_0x59ad11=[new _0xfa789a(_0x2381bf(0x25b)+_0x2d4698(),null,_0x36ac2a,_0x1486c8[_0x2381bf(0x1d7)][_0x2381bf(0x240)][_0x2381bf(0x1d7)][_0x2381bf(0x1c2)],!0x0,_0x1486c8[_0x2381bf(0x1d7)][_0x2381bf(0x240)][_0x2381bf(0x1c7)]+0x1),new _0x5112a5(_0x36ac2a[_0x2381bf(0x265)],_0x5246ab,_0x1486c8[_0x2381bf(0x1d7)][_0x2381bf(0x240)][_0x2381bf(0x1c7)]+0x2)];_0x52e4d3[_0x2381bf(0x244)]({'operations':_0x59ad11,'operationsIsolated':_0x59ad11,'groupOffset':0x0});}}else _0x52e4d3[_0x2381bf(0x244)](..._0x276cbb);let _0x48a000=0x0;return _0x1486c8[_0x2381bf(0x1d7)][_0x2381bf(0x291)](_0xd3cbf=>{const _0x461909=_0x2381bf;for(let _0x114082=0x0;_0x114082<_0x52e4d3[_0x461909(0x1b7)];_0x114082++){const _0x28fefa=_0x52e4d3[_0x114082],_0x2460f2=_0xd3cbf[_0x461909(0x222)]();for(const _0xfe63ad of _0x29a3f4[_0x461909(0x229)]())_0xd3cbf[_0x461909(0x1ca)](_0xfe63ad[_0x461909(0x1d8)](!0x0),_0x2460f2);for(const _0x3b5286 of _0x28fefa[_0x461909(0x1de)])if(_0x461909(0x1c8)===_0x3b5286[_0x461909(0x22d)]){const _0x53cbd1=_0x3b5286;_0x53cbd1[_0x461909(0x289)]=null,_0x53cbd1[_0x461909(0x1d9)]=!0x1,this[_0x461909(0x2b0)](_0x53cbd1,_0x2460f2),_0xd3cbf[_0x461909(0x24f)][_0x461909(0x1c0)](_0x3b5286),_0x1486c8[_0x461909(0x1d7)][_0x461909(0x27e)](_0x3b5286);const _0x3bbbd2=_0x461909(0x1d0)+_0x48a000++,_0x29e496=_0x1486c8[_0x461909(0x1d7)][_0x461909(0x277)](_0x53cbd1[_0x461909(0x1cc)],_0x53cbd1[_0x461909(0x1cc)][_0x461909(0x2aa)](_0x53cbd1[_0x461909(0x2ae)]));_0x2460f2[_0x461909(0x1c2)][_0x461909(0x202)](_0x3bbbd2,_0x29e496);}else{if(_0x461909(0x2a2)===_0x3b5286[_0x461909(0x22d)]&&_0x3b5286[_0x461909(0x2b4)][_0x461909(0x2a3)](_0x461909(0x299))){const _0x215d16=_0x3b5286,_0x4c104f=_0x461909(0x26e)+_0x48a000++;this[_0x461909(0x2b0)](_0x215d16,_0x2460f2),_0x2460f2[_0x461909(0x1c2)][_0x461909(0x202)](_0x4c104f,_0x215d16[_0x461909(0x298)]);}}if(_0xe57987)_0x19197c[_0x461909(0x244)]({..._0x28fefa,'context':this[_0x461909(0x200)](_0x29a3f4,_0x1486c8[_0x461909(0x1e2)]),'content':this[_0x461909(0x200)](_0x29a3f4,_0x1486c8[_0x461909(0x1e2)])});else{const _0x2468f9=this[_0x461909(0x288)](this[_0x461909(0x1d4)](this[_0x461909(0x249)](_0x28fefa[_0x461909(0x1de)][0x0]),_0x2460f2),this[_0x461909(0x1d4)](this[_0x461909(0x27b)](_0x28fefa[_0x461909(0x1de)][_0x28fefa[_0x461909(0x1de)][_0x461909(0x1b7)]-0x1]),_0x2460f2));_0x2460f2[_0x461909(0x1c2)][_0x461909(0x202)](fe+_0x461909(0x281),new _0x3ff854(_0x2468f9[_0x461909(0x22b)],_0x2468f9[_0x461909(0x265)])),_0x19197c[_0x461909(0x244)]({..._0x28fefa,'context':this[_0x461909(0x28a)](_0x2460f2,_0x1486c8[_0x461909(0x1e2)],{'ellipsisBefore':_0x2468f9[_0x461909(0x21c)],'ellipsisAfter':_0x2468f9[_0x461909(0x20a)]}),'content':this[_0x461909(0x200)](_0x2460f2,_0x1486c8[_0x461909(0x1e2)])});}}}),_0x19197c;}[_0x190505(0x1d3)](_0x554d37,_0x20d32b){const _0x35b4be=_0x190505;if(!_0x554d37[_0x35b4be(0x1b7)])return;const _0xa96c3d=_0x554d37[0x0][_0x35b4be(0x1b1)]['id'],_0x22f489=_0x20d32b[_0x35b4be(0x283)][_0x35b4be(0x2ab)](_0xa96c3d);if(!_0x22f489)return void console[_0x35b4be(0x259)](_0x35b4be(0x2a8)+_0xa96c3d);const _0x388a77=_0x22f489[_0x35b4be(0x243)],_0x59fff4=_0x1e4e36(this[_0x35b4be(0x219)]),_0x28cfea=_0x59fff4[_0x35b4be(0x1d7)][_0x35b4be(0x240)][_0x35b4be(0x20b)][_0x35b4be(0x264)](_0x20d32b[_0x35b4be(0x1c7)]),_0x2b477b=[];for(const _0x4043d7 of _0x554d37){const _0xb85497=_0x4043d7[_0x35b4be(0x1de)][_0x35b4be(0x237)](_0x2579b9=>this[_0x35b4be(0x23e)](_0x2579b9,_0x388a77,_0x59fff4[_0x35b4be(0x1d7)][_0x35b4be(0x240)][_0x35b4be(0x1cd)]()[0x0]));if(!_0xb85497||!_0xb85497[_0x35b4be(0x1b7)])continue;const _0x1e4a1e=_0xb85497[_0x35b4be(0x271)](_0xdaa306=>_0x35b4be(0x2a2)===_0xdaa306[_0x35b4be(0x22d)]&&_0xdaa306[_0x35b4be(0x2b4)][_0x35b4be(0x2a3)](_0x35b4be(0x299))),_0x2ee0dc={'document':_0x59fff4[_0x35b4be(0x1d7)][_0x35b4be(0x240)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x399ec7=_0x22d1e5(_0xb85497,_0x28cfea,_0x2ee0dc)[_0x35b4be(0x1e4)];for(const _0x10e1ef of _0x399ec7)if(_0x35b4be(0x1c8)===_0x10e1ef[_0x35b4be(0x22d)]){const _0x1b8f67=_0x10e1ef,_0x148215=_0x1b8f67[_0x35b4be(0x236)];_0x59fff4[_0x35b4be(0x1d7)][_0x35b4be(0x291)](_0x268fca=>{const _0x1e1645=_0x35b4be,_0xe61c2=_0x268fca[_0x1e1645(0x222)]();for(const _0x1f9c44 of _0x148215)_0x268fca[_0x1e1645(0x1ca)](_0x1f9c44[_0x1e1645(0x1d8)](!0x0),_0xe61c2);_0x2b477b[_0x1e1645(0x244)]({'start':_0x1b8f67[_0x1e1645(0x1cc)],'end':_0x1b8f67[_0x1e1645(0x1cc)],'type':_0x1e1645(0x1c8),'groupId':_0x4043d7['id'],'content':{'asString':this[_0x1e1645(0x200)](_0xe61c2,_0x59fff4[_0x1e1645(0x1e2)])(),'asFragment':_0xe61c2}});});}else{if(_0x35b4be(0x2a2)===_0x10e1ef[_0x35b4be(0x22d)]&&_0x10e1ef[_0x35b4be(0x2b4)][_0x35b4be(0x2a3)](_0x35b4be(0x299))){const _0x32bf97=_0x10e1ef;let _0x48649c=_0x35b4be(0x1d1);if(_0x1e4a1e){const _0x11cc99=this[_0x35b4be(0x214)](_0x32bf97[_0x35b4be(0x298)][_0x35b4be(0x22b)],_0x35b4be(0x232),_0x59fff4[_0x35b4be(0x1d7)][_0x35b4be(0x270)]),_0x24f145=this[_0x35b4be(0x214)](_0x32bf97[_0x35b4be(0x298)][_0x35b4be(0x265)],_0x35b4be(0x23c),_0x59fff4[_0x35b4be(0x1d7)][_0x35b4be(0x270)]);if(_0x11cc99||_0x24f145){const _0xcf5113=_0x32bf97[_0x35b4be(0x298)][_0x35b4be(0x22b)][_0x35b4be(0x2aa)](-_0x11cc99),_0x269045=_0x32bf97[_0x35b4be(0x298)][_0x35b4be(0x265)][_0x35b4be(0x2aa)](_0x24f145);_0x2b477b[_0x35b4be(0x244)]({'start':_0xcf5113,'end':_0x269045,'groupId':_0x4043d7['id'],'type':_0x35b4be(0x1fd)});}else _0x48649c=_0x35b4be(0x247);}_0x2b477b[_0x35b4be(0x244)]({'start':_0x32bf97[_0x35b4be(0x298)][_0x35b4be(0x22b)],'end':_0x32bf97[_0x35b4be(0x298)][_0x35b4be(0x265)],'groupId':_0x4043d7['id'],'type':_0x48649c});}}}this[_0x35b4be(0x257)](_0x2b477b);}[_0x190505(0x1e8)](){const _0x1e7a54=_0x190505,_0x50a905=_0x1e4e36(this[_0x1e7a54(0x219)]);_0x50a905[_0x1e7a54(0x1d7)][_0x1e7a54(0x291)](_0x495c98=>{const _0x2cd533=_0x1e7a54;for(const _0xa274a9 of this[_0x2cd533(0x28e)][_0x2cd533(0x218)]())_0x50a905[_0x2cd533(0x1d7)][_0x2cd533(0x1c2)][_0x2cd533(0x2ab)](_0xa274a9)&&_0x495c98[_0x2cd533(0x267)](_0xa274a9);}),this[_0x1e7a54(0x28e)][_0x1e7a54(0x211)](),this[_0x1e7a54(0x27f)][_0x1e7a54(0x211)]();}[_0x190505(0x1ee)](){const _0x5a136c=_0x190505;_0x1e4e36(this[_0x5a136c(0x219)])[_0x5a136c(0x230)](_0x5a136c(0x28b));}[_0x190505(0x1da)](){const _0x3ab68d=_0x190505;_0x1e4e36(this[_0x3ab68d(0x219)])[_0x3ab68d(0x262)](_0x3ab68d(0x28b));}[_0x190505(0x1c9)](_0x357825){const _0x32157e=_0x190505,_0x50e348=_0x1e4e36(this[_0x32157e(0x219)]),_0x1a702f=_0x50e348[_0x32157e(0x1d7)],_0x3e8b38=_0x357825[_0x32157e(0x237)](_0xf9dd2c=>this[_0x32157e(0x1b5)](_0xf9dd2c))[_0x32157e(0x2b9)]();_0x1a702f[_0x32157e(0x291)](_0x15b61b=>{const _0x59206a=_0x32157e;for(const _0x5572f8 of _0x3e8b38){const _0x1326fb=_0x50e348[_0x59206a(0x1d7)][_0x59206a(0x1c2)][_0x59206a(0x2ab)](_0x5572f8['id']);if(_0x1326fb){if(_0x59206a(0x1c8)===_0x5572f8[_0x59206a(0x22d)]){if(!_0x5572f8[_0x59206a(0x268)])continue;_0x1a702f[_0x59206a(0x22a)](_0x5572f8[_0x59206a(0x268)][_0x59206a(0x25e)]||null,_0x1326fb[_0x59206a(0x235)]()[_0x59206a(0x22b)]);}else _0x59206a(0x1d1)!==_0x5572f8[_0x59206a(0x22d)]&&_0x59206a(0x247)!==_0x5572f8[_0x59206a(0x22d)]||_0x1a702f[_0x59206a(0x27a)](_0x1a702f[_0x59206a(0x242)](_0x1326fb[_0x59206a(0x235)]()));_0x15b61b[_0x59206a(0x267)](_0x5572f8['id']),this[_0x59206a(0x28e)][_0x59206a(0x1bc)](_0x5572f8['id']);}}});}[_0x190505(0x203)](_0x4ae455){const _0x17a4e5=_0x190505,_0x3c1dee=_0x1e4e36(this[_0x17a4e5(0x219)]),_0x4c7d65=this[_0x17a4e5(0x1b5)](_0x4ae455);_0x3c1dee[_0x17a4e5(0x1d7)][_0x17a4e5(0x291)](_0x37dca7=>{const _0xf49b46=_0x17a4e5;for(const _0x3f6658 of _0x4c7d65)_0x37dca7[_0xf49b46(0x267)](_0x3f6658['id']),this[_0xf49b46(0x28e)][_0xf49b46(0x1bc)](_0x3f6658['id']);});}[_0x190505(0x216)](){const _0x1cc5ac=_0x190505;return _0x1e4e36(this[_0x1cc5ac(0x219)]);}[_0x190505(0x1f4)](_0x23c2ab){const _0x4c245e=_0x190505,_0x80df44=Array[_0x4c245e(0x273)](this[_0x4c245e(0x28e)][_0x4c245e(0x2bb)]())[_0x4c245e(0x27d)](_0x32df10=>_0x32df10[_0x4c245e(0x1b9)]===_0x23c2ab);if(!_0x80df44[_0x4c245e(0x1b7)])return null;const _0x147af1=0x1===_0x80df44[_0x4c245e(0x1b7)]?_0x80df44[0x0]:this[_0x4c245e(0x23b)](_0x80df44)[0x0],_0x473ef9=_0x1e4e36(this[_0x4c245e(0x219)])[_0x4c245e(0x1d7)][_0x4c245e(0x1c2)][_0x4c245e(0x2ab)](_0x147af1['id']);if(!_0x473ef9)return null;return{'modelRange':_0x473ef9[_0x4c245e(0x235)](),'getElement':()=>this[_0x4c245e(0x204)](_0x147af1['id'])};}[_0x190505(0x246)](_0x5bf677){const _0x4d04e0=_0x190505,_0x46cf4a=Array[_0x4d04e0(0x273)](this[_0x4d04e0(0x28e)][_0x4d04e0(0x2bb)]())[_0x4d04e0(0x27d)](_0x2301d0=>_0x2301d0[_0x4d04e0(0x1b9)]===_0x5bf677);if(!_0x46cf4a[_0x4d04e0(0x1b7)])return null;const _0x4c3044=0x1===_0x46cf4a[_0x4d04e0(0x1b7)]?_0x46cf4a[0x0]:this[_0x4d04e0(0x23b)](_0x46cf4a)[0x0],_0x1852a7=_0x1e4e36(this[_0x4d04e0(0x219)]),_0x243fdc=_0x1852a7[_0x4d04e0(0x1d7)][_0x4d04e0(0x1c2)][_0x4d04e0(0x2ab)](_0x4c3044['id']);if(!_0x243fdc)return null;const _0x270fef=_0x243fdc[_0x4d04e0(0x235)](),_0x52d476=_0x1852a7[_0x4d04e0(0x23f)][_0x4d04e0(0x1ec)][_0x4d04e0(0x1ce)]();if(!_0x52d476||!_0x270fef)return null;let _0xde3c8d=_0x270fef[_0x4d04e0(0x22b)][_0x4d04e0(0x1b1)];for(;_0xde3c8d[_0x4d04e0(0x1b1)]&&_0x4d04e0(0x2b5)!==_0xde3c8d[_0x4d04e0(0x1b1)][_0x4d04e0(0x2b4)];)_0xde3c8d=_0xde3c8d[_0x4d04e0(0x1b1)];if(!_0xde3c8d||!_0xde3c8d[_0x4d04e0(0x2b4)])return null;const _0x966977=_0x52d476[_0x4d04e0(0x28f)](_0x4d04e0(0x233)+_0x4c3044['id']+'\x22]');if(!_0x966977)return null;let _0xa88717=null;_0x1852a7[_0x4d04e0(0x1d7)][_0x4d04e0(0x291)](_0x270552=>{const _0x450404=_0x4d04e0;_0xa88717=_0x270552[_0x450404(0x222)](),_0x270552[_0x450404(0x1ca)](_0xde3c8d[_0x450404(0x1d8)](!0x0),_0xa88717);});const _0x484242=_0x1852a7[_0x4d04e0(0x1e2)][_0x4d04e0(0x215)](_0xa88717)[_0x4d04e0(0x276)](0x0);return _0x966977[_0x4d04e0(0x26d)](_0x484242[_0x4d04e0(0x2b4)]);}[_0x190505(0x274)](_0x354574){const _0x2c01df=_0x190505,_0x5bd068=this[_0x2c01df(0x1b5)](_0x354574);if(!_0x5bd068[_0x2c01df(0x1b7)])return;const _0x470479=Array[_0x2c01df(0x273)](this[_0x2c01df(0x27f)])[_0x2c01df(0x20f)](),_0x224c16=Array[_0x2c01df(0x273)](new Set(_0x5bd068[_0x2c01df(0x237)](_0x2488f4=>_0x2488f4['id'])))[_0x2c01df(0x20f)]();_0x470479[_0x2c01df(0x22c)]('|')!==_0x224c16[_0x2c01df(0x22c)]('|')&&(this[_0x2c01df(0x21b)](),this[_0x2c01df(0x1b8)](_0x354574));}[_0x190505(0x1b8)](_0x23c1ce){const _0x26cd5e=_0x190505,_0x35f3b9=this[_0x26cd5e(0x1b5)](_0x23c1ce);if(!_0x35f3b9[_0x26cd5e(0x1b7)])return;const _0x2df520=_0x1e4e36(this[_0x26cd5e(0x219)]),_0x191c3b=new Set(_0x35f3b9[_0x26cd5e(0x237)](_0x5d04dc=>_0x5d04dc['id'])),_0x67499b=Array[_0x26cd5e(0x273)](_0x191c3b[_0x26cd5e(0x2bb)]())[_0x26cd5e(0x237)](_0xee7eab=>_0x2df520[_0x26cd5e(0x1d7)][_0x26cd5e(0x1c2)][_0x26cd5e(0x2ab)](_0xee7eab))[_0x26cd5e(0x27d)](_0x150c35=>!!_0x150c35);_0x191c3b[_0x26cd5e(0x1f5)](_0x145316=>{const _0x1196ae=_0x26cd5e;this[_0x1196ae(0x27f)][_0x1196ae(0x2a1)](_0x145316);}),_0x2df520[_0x26cd5e(0x1d7)][_0x26cd5e(0x291)](()=>{const _0x10eaaf=_0x26cd5e;_0x67499b[_0x10eaaf(0x1f5)](_0x4da531=>{const _0x51791b=_0x10eaaf;_0x2df520[_0x51791b(0x23f)][_0x51791b(0x2ac)](_0x4da531);});});}[_0x190505(0x21b)](){const _0x43f629=_0x190505,_0x3296bc=Array[_0x43f629(0x273)](this[_0x43f629(0x27f)]);if(!_0x3296bc[_0x43f629(0x1b7)])return;this[_0x43f629(0x27f)][_0x43f629(0x211)]();const _0x583865=_0x1e4e36(this[_0x43f629(0x219)]),_0x249384=_0x3296bc[_0x43f629(0x237)](_0x4b783a=>_0x583865[_0x43f629(0x1d7)][_0x43f629(0x1c2)][_0x43f629(0x2ab)](_0x4b783a))[_0x43f629(0x27d)](_0x3ea9ad=>!!_0x3ea9ad);_0x583865[_0x43f629(0x1d7)][_0x43f629(0x291)](()=>{const _0x3e037f=_0x43f629;_0x249384[_0x3e037f(0x1f5)](_0x11e03a=>{const _0x4d7b7b=_0x3e037f;_0x583865[_0x4d7b7b(0x23f)][_0x4d7b7b(0x2ac)](_0x11e03a);});});}[_0x190505(0x290)](_0x5d1a38,_0x526aec,_0x49cbd5=_0x190505(0x26c)){const _0x40bf5e=_0x190505;if(!_0x5d1a38)return null;let _0x4dccd7=_0x5d1a38[_0x40bf5e(0x1b1)];for(;_0x4dccd7&&_0x4dccd7[_0x40bf5e(0x1b1)]&&_0x40bf5e(0x2b5)!==_0x4dccd7[_0x40bf5e(0x1b1)][_0x40bf5e(0x2b4)]&&!_0x526aec[_0x40bf5e(0x1d7)][_0x40bf5e(0x270)][_0x40bf5e(0x1bd)](_0x4dccd7)&&!_0x526aec[_0x40bf5e(0x1d7)][_0x40bf5e(0x270)][_0x40bf5e(0x2ba)](_0x4dccd7);)_0x4dccd7=_0x4dccd7[_0x40bf5e(0x1b1)];if(!_0x4dccd7||!_0x4dccd7[_0x40bf5e(0x2b4)]||_0x40bf5e(0x2b5)===_0x4dccd7[_0x40bf5e(0x2b4)])return null;let _0x3ff914=null;return _0x526aec[_0x40bf5e(0x1d7)][_0x40bf5e(0x291)](_0x5edacc=>{const _0x5d77c6=_0x40bf5e;_0x3ff914=_0x5d77c6(0x278)===_0x49cbd5?_0x5edacc[_0x5d77c6(0x254)](_0x4dccd7):_0x5edacc[_0x5d77c6(0x1fa)](_0x4dccd7);}),_0x3ff914;}[_0x190505(0x1f7)](_0x264e06,_0x5896af){const _0x1c2cd2=_0x190505,_0x21bf33=Array[_0x1c2cd2(0x273)](this[_0x1c2cd2(0x28e)][_0x1c2cd2(0x218)]()),_0x486055=new Map();for(const _0x482347 of _0x21bf33){const _0x568b04=_0x264e06[_0x1c2cd2(0x1d7)][_0x1c2cd2(0x1c2)][_0x1c2cd2(0x2ab)](_0x482347);if(!_0x568b04)continue;const _0x1b32f5=_0x568b04[_0x1c2cd2(0x1d6)]()[_0x1c2cd2(0x243)][0x0];_0x486055[_0x1c2cd2(0x209)](_0x1b32f5)||_0x486055[_0x1c2cd2(0x202)](_0x1b32f5,[]),_0x486055[_0x1c2cd2(0x2ab)](_0x1b32f5)[_0x1c2cd2(0x244)](_0x568b04);}const _0x97900a=new Set();for(const _0x4678c1 of _0x264e06[_0x1c2cd2(0x1d7)][_0x1c2cd2(0x240)][_0x1c2cd2(0x1bf)][_0x1c2cd2(0x20e)]()){let _0x57c493=-0x1,_0x16724e=null;if(_0x1c2cd2(0x1c8)===_0x4678c1[_0x1c2cd2(0x22d)])_0x16724e=new _0x3ff854(_0x4678c1[_0x1c2cd2(0x1cc)],_0x4678c1[_0x1c2cd2(0x1cc)][_0x1c2cd2(0x2aa)](_0x4678c1[_0x1c2cd2(0x1b7)])),_0x57c493=_0x4678c1[_0x1c2cd2(0x1cc)][_0x1c2cd2(0x243)][0x0];else{if(_0x1c2cd2(0x207)!==_0x4678c1[_0x1c2cd2(0x22d)])continue;_0x16724e=new _0x3ff854(_0x4678c1[_0x1c2cd2(0x1cc)]),_0x57c493=_0x4678c1[_0x1c2cd2(0x1cc)][_0x1c2cd2(0x243)][0x0];}const _0x4b2d98=_0x486055[_0x1c2cd2(0x2ab)](_0x57c493)||[];if(_0x4b2d98[_0x1c2cd2(0x1b7)]){for(const _0x1e0207 of _0x4b2d98)if(_0x16724e[_0x1c2cd2(0x279)][_0x1c2cd2(0x208)]===_0x1e0207[_0x1c2cd2(0x235)]()[_0x1c2cd2(0x279)][_0x1c2cd2(0x208)]&&(_0x1c2cd2(0x1c8)!==_0x4678c1[_0x1c2cd2(0x22d)]||!_0x16724e[_0x1c2cd2(0x1ed)](_0x1e0207[_0x1c2cd2(0x235)]()))&&(_0x16724e[_0x1c2cd2(0x1c3)](_0x1e0207[_0x1c2cd2(0x235)]())||_0x16724e[_0x1c2cd2(0x22b)][_0x1c2cd2(0x231)](_0x1e0207[_0x1c2cd2(0x235)]()[_0x1c2cd2(0x265)])||_0x16724e[_0x1c2cd2(0x265)][_0x1c2cd2(0x231)](_0x1e0207[_0x1c2cd2(0x235)]()[_0x1c2cd2(0x22b)]))){const _0x17bf22=this[_0x1c2cd2(0x2bd)](_0x1e0207[_0x1c2cd2(0x2b4)]);Array[_0x1c2cd2(0x273)](this[_0x1c2cd2(0x28e)][_0x1c2cd2(0x2bb)]())[_0x1c2cd2(0x27d)](_0x5ddc32=>_0x5ddc32[_0x1c2cd2(0x1b9)]===_0x17bf22[_0x1c2cd2(0x1b9)])[_0x1c2cd2(0x1f5)](_0x106047=>_0x97900a[_0x1c2cd2(0x2a1)](_0x106047['id']));}}}if(_0x97900a[_0x1c2cd2(0x2a9)]){for(const _0x588b6b of _0x97900a)_0x5896af[_0x1c2cd2(0x267)](_0x588b6b);return!0x0;}return!0x1;}[_0x190505(0x1ba)](_0x2fb4c3){const _0x26ae9f=_0x190505;for(const {name:_0x5f2d5c,data:_0x4e5ba1}of _0x2fb4c3[_0x26ae9f(0x1d7)][_0x26ae9f(0x240)][_0x26ae9f(0x1bf)][_0x26ae9f(0x223)]()){if(!_0x5f2d5c[_0x26ae9f(0x2a3)](fe))continue;const _0x122492=_0x4e5ba1[_0x26ae9f(0x29b)],_0x1fa33f=_0x4e5ba1[_0x26ae9f(0x298)],_0xaab2e3=_0x122492&&_0x26ae9f(0x224)===_0x122492[_0x26ae9f(0x279)][_0x26ae9f(0x208)],_0x47887f=_0x1fa33f&&_0x26ae9f(0x224)===_0x1fa33f[_0x26ae9f(0x279)][_0x26ae9f(0x208)];if(_0xaab2e3&&_0x47887f)continue;const _0x10ce30=this[_0x26ae9f(0x2bd)](_0x5f2d5c);this[_0x26ae9f(0x28e)][_0x26ae9f(0x2ab)](_0x5f2d5c)&&(_0x47887f||!_0x1fa33f?this[_0x26ae9f(0x1c1)][_0x26ae9f(0x1eb)](_0x26ae9f(0x29e),{'markerId':_0x5f2d5c,'changeId':_0x10ce30[_0x26ae9f(0x1b9)]}):_0xaab2e3&&_0x1fa33f&&this[_0x26ae9f(0x1c1)][_0x26ae9f(0x1eb)](_0x26ae9f(0x2ad),{'markerId':_0x5f2d5c,'changeId':_0x10ce30[_0x26ae9f(0x1b9)]}));}}[_0x190505(0x2bd)](_0x54ea3b){const _0x5bbac4=_0x190505,_0x12af09=_0x54ea3b[_0x5bbac4(0x1b6)](':'),_0x350b09=(_0x12af09[0x1]||'')[_0x5bbac4(0x1b6)]('_');return{'prefix':_0x12af09[0x0],'groupId':_0x350b09[0x0],'suffix':_0x350b09[0x1]};}[_0x190505(0x23e)](_0x273a62,_0x1a3554,_0x53b43d){const _0xc6ab81=_0x190505;if(_0xc6ab81(0x1c8)===_0x273a62[_0xc6ab81(0x22d)]){const _0xfaea56=_0x273a62;return new _0x5112a5(this[_0xc6ab81(0x297)](_0x1a3554[_0xc6ab81(0x210)](_0xfaea56[_0xc6ab81(0x1cc)][_0xc6ab81(0x227)]),_0x53b43d),_0xfaea56[_0xc6ab81(0x236)],_0xfaea56[_0xc6ab81(0x289)]);}if(_0xc6ab81(0x2a2)===_0x273a62[_0xc6ab81(0x22d)]&&_0x273a62[_0xc6ab81(0x2b4)][_0xc6ab81(0x2a3)](_0xc6ab81(0x299))){const _0x5542c7=_0x273a62;return new _0xfa789a(_0x5542c7[_0xc6ab81(0x2b4)],_0x5542c7[_0xc6ab81(0x29b)],this[_0xc6ab81(0x1e0)](_0x5542c7[_0xc6ab81(0x298)],_0x1a3554[_0xc6ab81(0x210)](_0x5542c7[_0xc6ab81(0x298)][_0xc6ab81(0x22b)][_0xc6ab81(0x227)]),_0x1a3554[_0xc6ab81(0x210)](_0x5542c7[_0xc6ab81(0x298)][_0xc6ab81(0x265)][_0xc6ab81(0x227)]),_0x53b43d),_0x5542c7[_0xc6ab81(0x28e)],_0x5542c7[_0xc6ab81(0x251)],_0x5542c7[_0xc6ab81(0x289)]);}return _0x273a62;}[_0x190505(0x1ef)](_0x1b27e2){const _0x192cba=_0x190505;if(!_0x1b27e2[_0x192cba(0x1b7)])return[];const _0x1993b4=[];let _0x285876=0x0,_0x3c83a1=0x0,_0x525f86=[];for(let _0x188c8f=0x0;_0x188c8f<=_0x1b27e2[_0x192cba(0x1b7)];_0x188c8f++){const _0x2ca37a=_0x1b27e2[_0x188c8f],_0x6ac205=_0x1b27e2[_0x188c8f-0x1];!_0x2ca37a||_0x6ac205&&!this[_0x192cba(0x27b)](_0x6ac205)[_0x192cba(0x231)](this[_0x192cba(0x249)](_0x2ca37a))?(_0x1993b4[_0x192cba(0x244)]({'operations':_0x525f86,'operationsIsolated':_0x525f86[_0x192cba(0x237)](_0x5e0c7b=>this[_0x192cba(0x239)](_0x5e0c7b[_0x192cba(0x228)](),-_0x3c83a1)),'groupOffset':_0x285876}),_0x525f86=_0x2ca37a?[_0x2ca37a]:[],_0x3c83a1+=_0x285876,_0x285876=0x0):_0x525f86[_0x192cba(0x244)](_0x2ca37a),_0x2ca37a&&_0x192cba(0x1c8)===_0x2ca37a[_0x192cba(0x22d)]&&(_0x285876+=_0x2ca37a[_0x192cba(0x2ae)]);}return _0x1993b4;}[_0x190505(0x214)](_0x379f1b,_0x31d455,_0xf216e2,_0x2471f1=0x1){const _0x2b92b8=_0x190505,_0x2d7002=new _0x1bf251({'startPosition':_0x379f1b,'direction':_0x31d455});let _0x30800c=0x0;for(let _0x254782=0x0;_0x254782<_0x2471f1;_0x254782++){let _0xdff677=0x0,_0x5d2109=!0x1,_0x5934e1=_0x2b92b8(0x23c)===_0x31d455?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5eab84}of _0x2d7002)if(_0x5eab84['is'](_0x2b92b8(0x1be))){const _0x4437ba=_0x5934e1[_0x2b92b8(0x2a5)](_0x5eab84[_0x2b92b8(0x1e2)]);if(_0x4437ba&&_0x4437ba[_0x2b92b8(0x1b7)]){if(_0xdff677+=_0x2b92b8(0x23c)===_0x31d455?_0x4437ba[_0x2b92b8(0x269)]+_0x4437ba[0x0][_0x2b92b8(0x1b7)]:_0x5eab84[_0x2b92b8(0x1e2)][_0x2b92b8(0x1b7)]-_0x4437ba[_0x2b92b8(0x269)],_0x4437ba[0x0][_0x2b92b8(0x1b7)]!==_0x5eab84[_0x2b92b8(0x1e2)][_0x2b92b8(0x1b7)])break;_0x5d2109=!0x0,_0x5934e1=_0x2b92b8(0x23c)===_0x31d455?/^\w+/:/\w+$/;}else{if(_0x5d2109)break;_0xdff677+=_0x5eab84[_0x2b92b8(0x24e)];}}else{if(_0x5eab84['is'](_0x2b92b8(0x238))){_0xf216e2[_0x2b92b8(0x22e)](_0x5eab84)&&!_0x5d2109&&(_0xdff677+=0x1);break;}}_0x30800c+=_0xdff677,_0x2d7002[_0x2b92b8(0x23d)](_0x379f1b[_0x2b92b8(0x2aa)](_0x2b92b8(0x23c)===_0x31d455?_0x30800c:-_0x30800c));}return _0x30800c;}[_0x190505(0x288)](_0x5d4080,_0x4aa3c3){const _0x1137ad=_0x190505,_0x192d24=_0x1e4e36(this[_0x1137ad(0x219)])[_0x1137ad(0x1d7)][_0x1137ad(0x270)],_0xdc3f73=this[_0x1137ad(0x214)](_0x5d4080,_0x1137ad(0x232),_0x192d24,0x6),_0x587c59=this[_0x1137ad(0x214)](_0x4aa3c3,_0x1137ad(0x23c),_0x192d24,0x6),_0x263056=_0x5d4080[_0x1137ad(0x2aa)](-_0xdc3f73),_0x45cc3c=_0x4aa3c3[_0x1137ad(0x2aa)](_0x587c59);return{'start':_0x263056,'end':_0x45cc3c,'hasContentBefore':!_0x263056[_0x1137ad(0x2bc)],'hasContentAfter':!_0x45cc3c[_0x1137ad(0x1e6)]};}[_0x190505(0x257)](_0xee39bf){const _0x366c7b=_0x190505,_0x381ae8=this[_0x366c7b(0x219)][_0x366c7b(0x293)][_0x366c7b(0x2ab)](_0x366c7b(0x275)),_0x4074f6=new Set();_0x1e4e36(this[_0x366c7b(0x219)])[_0x366c7b(0x1d7)][_0x366c7b(0x291)](_0x54594f=>{const _0x3c1ea6=_0x366c7b;for(const _0x238beb of _0xee39bf){const _0x24c8ca=''+fe+_0x238beb[_0x3c1ea6(0x22d)]+':'+_0x238beb[_0x3c1ea6(0x1b9)]+'_'+_0x381ae8[_0x3c1ea6(0x261)](_0x4074f6);this[_0x3c1ea6(0x28e)][_0x3c1ea6(0x202)](_0x24c8ca,{'id':_0x24c8ca,'groupId':_0x238beb[_0x3c1ea6(0x1b9)],'type':_0x238beb[_0x3c1ea6(0x22d)],'content':_0x238beb[_0x3c1ea6(0x268)]}),_0x54594f[_0x3c1ea6(0x26f)](_0x24c8ca,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x54594f[_0x3c1ea6(0x277)](_0x238beb[_0x3c1ea6(0x22b)],_0x238beb[_0x3c1ea6(0x265)])});}});}[_0x190505(0x28a)](_0xa0241d,_0x39381e,_0x57f996){let _0x5057e3='';return()=>{const _0x1381c3=_0x2b75;if(!_0x5057e3){const _0x2a241a=_0x39381e[_0x1381c3(0x215)](_0xa0241d,{'showSuggestionHighlights':!0x0});let _0x5c4ad6=_0x2a241a[_0x1381c3(0x276)](0x0);if(_0x5c4ad6['is'](_0x1381c3(0x201))||(_0x5c4ad6=_0x2a241a),!_0x5c4ad6)return'';let _0x1392cc=!0x1;const _0x428028=[];for(const _0x502ef2 of _0x5c4ad6[_0x1381c3(0x229)]())_0x502ef2['is'](_0x1381c3(0x238),_0x1381c3(0x1f1))&&_0x502ef2[_0x1381c3(0x220)](_0x1381c3(0x205))&&(_0x1392cc=!0x1),_0x1392cc&&_0x428028[_0x1381c3(0x244)](_0x502ef2),_0x502ef2['is'](_0x1381c3(0x238),_0x1381c3(0x1f1))&&_0x502ef2[_0x1381c3(0x220)](_0x1381c3(0x1e9))&&(_0x1392cc=!0x0);_0x5c4ad6[_0x1381c3(0x20c)](0x0,_0x5c4ad6[_0x1381c3(0x1f6)]),_0x57f996?.[_0x1381c3(0x1ff)]&&_0x5c4ad6[_0x1381c3(0x2b2)]('…'),_0x5c4ad6[_0x1381c3(0x2b2)](_0x428028),_0x57f996?.[_0x1381c3(0x266)]&&_0x5c4ad6[_0x1381c3(0x2b2)]('…');const _0x43c458=_0x39381e[_0x1381c3(0x1dc)][_0x1381c3(0x24d)][_0x1381c3(0x1f2)](_0x2a241a),_0xdad838=_0x39381e[_0x1381c3(0x1dc)][_0x1381c3(0x22f)][_0x1381c3(0x21d)](_0x43c458);_0x5057e3=_0xdad838;}return _0x5057e3;};}[_0x190505(0x200)](_0x17ac0a,_0x46acb6){const _0x343d46=_0x190505;let _0x3700a0='';return()=>(_0x3700a0||(_0x3700a0=_0x46acb6[_0x343d46(0x1c4)](_0x17ac0a,{'showSuggestionHighlights':!0x0})),_0x3700a0);}[_0x190505(0x245)](_0x35ca23,_0x19af20,_0x3d06d9){let _0x166d77='';return()=>{const _0x54455d=_0x2b75;if(!_0x166d77){const _0x3db4b7=_0x3d06d9[_0x54455d(0x215)](new _0x4218ef(_0x35ca23)),_0x10862e=_0x3d06d9[_0x54455d(0x1dc)][_0x54455d(0x24d)][_0x54455d(0x1f2)](_0x3db4b7)[_0x54455d(0x28f)](_0x54455d(0x2b7)+_0x19af20+'\x22]');_0x166d77=_0x10862e?.[_0x54455d(0x221)]||'';}return _0x166d77;};}[_0x190505(0x25a)](_0x3df324,_0x27d4a2=0x5){const _0x1af531=_0x190505;let _0x2106bd=_0x3df324,_0x299d36=null;for(let _0x225abf=0x0;_0x225abf<_0x27d4a2&&_0x2106bd;_0x225abf++){if(!_0x2106bd[_0x1af531(0x287)]){_0x2106bd=_0x2106bd[_0x1af531(0x286)];continue;}if(!(''+_0x2106bd[_0x1af531(0x287)])[_0x1af531(0x1e5)](_0x1af531(0x1d2))){_0x2106bd=_0x2106bd[_0x1af531(0x286)];continue;}if(!_0x2106bd[_0x1af531(0x23a)](_0x1af531(0x1b2)))break;_0x299d36=_0x2106bd;break;}return _0x299d36;}[_0x190505(0x204)](_0x41b9c3){const _0x3cff0c=_0x190505,_0x2cc171=_0x1e4e36(this[_0x3cff0c(0x219)]),_0x140334=_0x2cc171[_0x3cff0c(0x1d7)][_0x3cff0c(0x1c2)][_0x3cff0c(0x2ab)](_0x41b9c3);return _0x140334?_0x5c9e8d(_0x2cc171[_0x3cff0c(0x23f)],_0x140334):null;}[_0x190505(0x1b5)](_0x381ce9){const _0x263b42=_0x190505;return Array[_0x263b42(0x273)](this[_0x263b42(0x28e)][_0x263b42(0x2bb)]())[_0x263b42(0x27d)](_0x1d9326=>_0x1d9326[_0x263b42(0x1b9)]===_0x381ce9);}[_0x190505(0x249)](_0x3d94fd){const _0x40ad44=_0x190505;return _0x40ad44(0x1c8)===_0x3d94fd[_0x40ad44(0x22d)]?_0x3d94fd[_0x40ad44(0x1cc)]:_0x3d94fd[_0x40ad44(0x298)][_0x40ad44(0x22b)];}[_0x190505(0x27b)](_0x4b1252,_0x3f4773=!0x1){const _0x473e7e=_0x190505;return _0x473e7e(0x1c8)===_0x4b1252[_0x473e7e(0x22d)]?_0x3f4773?_0x4b1252[_0x473e7e(0x1cc)]:_0x4b1252[_0x473e7e(0x1cc)][_0x473e7e(0x2aa)](_0x4b1252[_0x473e7e(0x2ae)]):_0x4b1252[_0x473e7e(0x298)][_0x473e7e(0x265)];}[_0x190505(0x239)](_0xa2b5dc,_0x453bb8){const _0xdc3c2c=_0x190505;return _0xdc3c2c(0x1c8)===_0xa2b5dc[_0xdc3c2c(0x22d)]?_0xa2b5dc[_0xdc3c2c(0x1cc)]=_0xa2b5dc[_0xdc3c2c(0x1cc)][_0xdc3c2c(0x2aa)](_0x453bb8):_0xdc3c2c(0x2a2)===_0xa2b5dc[_0xdc3c2c(0x22d)]&&_0xa2b5dc[_0xdc3c2c(0x298)]&&(_0xa2b5dc[_0xdc3c2c(0x298)]=new _0x3ff854(_0xa2b5dc[_0xdc3c2c(0x298)][_0xdc3c2c(0x22b)][_0xdc3c2c(0x2aa)](_0x453bb8),_0xa2b5dc[_0xdc3c2c(0x298)][_0xdc3c2c(0x265)][_0xdc3c2c(0x2aa)](_0x453bb8))),_0xa2b5dc;}[_0x190505(0x2b0)](_0x2e70c6,_0x537677){const _0x31e7e6=_0x190505;_0x31e7e6(0x1c8)===_0x2e70c6[_0x31e7e6(0x22d)]?_0x2e70c6[_0x31e7e6(0x1cc)]=this[_0x31e7e6(0x1d4)](_0x2e70c6[_0x31e7e6(0x1cc)],_0x537677):_0x31e7e6(0x2a2)===_0x2e70c6[_0x31e7e6(0x22d)]&&_0x2e70c6[_0x31e7e6(0x298)]&&(_0x2e70c6[_0x31e7e6(0x298)]=this[_0x31e7e6(0x1c6)](_0x2e70c6[_0x31e7e6(0x298)],_0x537677));}[_0x190505(0x1d4)](_0x3228ba,_0x2adb66){const _0xf9afe5=_0x190505;return new _0x43b75f(_0x2adb66,_0x3228ba[_0xf9afe5(0x243)]);}[_0x190505(0x1c6)](_0x52e407,_0x2a7af5){const _0x4e7560=_0x190505;return new _0x3ff854(this[_0x4e7560(0x1d4)](_0x52e407[_0x4e7560(0x22b)],_0x2a7af5),this[_0x4e7560(0x1d4)](_0x52e407[_0x4e7560(0x265)],_0x2a7af5));}[_0x190505(0x297)](_0x22f0dd,_0xea83fa){return new _0x43b75f(_0xea83fa,[..._0x22f0dd]);}[_0x190505(0x1e0)](_0x4fe041,_0x35b6d5,_0x2af7c7,_0x524297){const _0x539797=_0x190505;return new _0x3ff854(this[_0x539797(0x297)](_0x35b6d5,_0x524297),this[_0x539797(0x297)](_0x2af7c7,_0x524297));}[_0x190505(0x23b)](_0x1c41d7){const _0x8297f0=_0x190505,_0x1d9b71=_0x3b8ea=>{const _0x5b9ecc=_0x2b75;switch(_0x3b8ea){case _0x5b9ecc(0x1c8):return 0x0;case _0x5b9ecc(0x1fd):return 0x1;case _0x5b9ecc(0x247):return 0x2;case _0x5b9ecc(0x1d1):return 0x3;}};return _0x1c41d7[_0x8297f0(0x20f)]((_0x10c600,_0x2ea387)=>_0x1d9b71(_0x10c600[_0x8297f0(0x22d)])-_0x1d9b71(_0x2ea387[_0x8297f0(0x22d)]));}[_0x190505(0x1ea)](_0xd3cb2a,_0x447a5c){const _0x2b27bb=_0x190505,_0x318dcc=_0xd3cb2a[_0x2b27bb(0x276)](0x0),_0x3451c6=_0x447a5c[_0x2b27bb(0x276)](0x0);return!(!_0x318dcc||!_0x3451c6)&&((!_0x318dcc['is'](_0x2b27bb(0x238))||!_0x3451c6['is'](_0x2b27bb(0x238))||_0x318dcc[_0x2b27bb(0x2b4)]===_0x3451c6[_0x2b27bb(0x2b4)])&&!(_0x318dcc['is'](_0x2b27bb(0x238))&&!_0x3451c6['is'](_0x2b27bb(0x238))||!_0x318dcc['is'](_0x2b27bb(0x238))&&_0x3451c6['is'](_0x2b27bb(0x238))));}[_0x190505(0x1d5)](_0x54e001){const _0x2b993b=_0x190505;return 0x1===_0x54e001[_0x2b993b(0x1f6)];}[_0x190505(0x234)](_0x599553,_0x5b20d4){const _0xa95d74=_0x190505;for(const _0x3d07a0 of _0x599553[_0xa95d74(0x229)]())if(_0x3d07a0['is'](_0xa95d74(0x238))&&!_0x5b20d4[_0xa95d74(0x22e)](_0x3d07a0))return!0x1;return!0x0;}[_0x190505(0x26a)](_0xf565c0,_0x1319e4){const _0x448ec7=_0x190505;let _0x33cf2c=_0xf565c0[_0x448ec7(0x23a)](_0x5bc399);return _0x33cf2c||(_0x33cf2c=_0x1319e4(),_0xf565c0[_0x448ec7(0x21e)](_0x5bc399,_0x33cf2c)),_0x33cf2c;}}
|