UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

23 lines • 21.3 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x5157c1=_0x1e18;(function(_0x30913d,_0x23619a){const _0x3002b9=_0x1e18,_0xa2c8b9=_0x30913d();while(!![]){try{const _0x345c94=parseInt(_0x3002b9(0x1a3))/0x1*(parseInt(_0x3002b9(0x1d2))/0x2)+parseInt(_0x3002b9(0x1f0))/0x3+parseInt(_0x3002b9(0x1f5))/0x4*(parseInt(_0x3002b9(0x1ff))/0x5)+-parseInt(_0x3002b9(0x1f4))/0x6*(-parseInt(_0x3002b9(0x1da))/0x7)+-parseInt(_0x3002b9(0x18e))/0x8*(-parseInt(_0x3002b9(0x1b4))/0x9)+-parseInt(_0x3002b9(0x205))/0xa+-parseInt(_0x3002b9(0x1e0))/0xb;if(_0x345c94===_0x23619a)break;else _0xa2c8b9['push'](_0xa2c8b9['shift']());}catch(_0x6e67c1){_0xa2c8b9['push'](_0xa2c8b9['shift']());}}}(_0x2818,0xd0fea));import{View as _0x27ef48,ListItemView as _0x409cc1,ListView as _0x5d023a,BalloonPanelView as _0x8c826c,DropdownMenuPanelPositioningFunctions as _0x3ff9c0,ViewCollection as _0x623257,FocusCycler as _0x7078de,ButtonView as _0x955150,IconView as _0xb8b5c9,HighlightedTextView as _0xcaccef,ButtonLabelWithHighlightView as _0x2002e6,SearchTextView as _0x3202f8}from'ckeditor5/src/ui.js';function _0x1e18(_0x5b3b10,_0x15def6){const _0x281857=_0x2818();return _0x1e18=function(_0x1e18d7,_0x19db33){_0x1e18d7=_0x1e18d7-0x181;let _0x396380=_0x281857[_0x1e18d7];return _0x396380;},_0x1e18(_0x5b3b10,_0x15def6);}import{IconAIQuickActions as _0x47060a}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x30040f,KeystrokeHandler as _0x40ead1}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x588179}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x360ac4}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x14c797}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x1b37c3}from'./aiquickactionsfilteredlistview.js';function _0x2818(){const _0x5a9fec=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_getButtonKeystroke','ck-button_with-text','bind','_createSearchResultActionButton','ck-ai-quick-actions-group-panel','first','_createGroupActionsList','_createActionButton','ck-rounded-corners','_setupActionButtonExecution','ArrowRight','focus','_createSearchResultGroupRow','ck-ai-quick-actions-group-list','some','719272BqxtmR','span','_hideNestedPanel','resetSearch','ck-ai-quick-actions-search-result-button','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','button','relatedTarget','ck-ai-quick-actions-search','queryView','_createActionGroupButton','ck-ai-quick-actions-button__group-icon','_createSearchResultContentView','_createSearchResultActionRow','activeElement','ck-ai-quick-actions-button_with-group','clear','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','view','show','351797zEUYDf','_openNestedPanels','ck-ai-quick-actions','push','delete','closest','chain','editing','set','ck-ai-quick-actions-search-result__group-row','actions','_allSearchableItems','ck-ai-quick-actions-search-result__action-row','_handlePanelKeydown','_setupGroupMenuBehavior','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search-result-button_with-group','9zrmzel','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','addMany','_createSearchResultIndividualActionButton','content','ck-dropdown-menu__nested-menu__panel','_searchTextView','rtl','isVisible','eastSouth','_getPanelKeystroke','_createListItems','parent','mouseleave','_bodyCollection','_isSearchFocused','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_focusables','fieldView','ck-ai-quick-actions-button_with-group__open-paren','uiLanguageDirection','ck-ai-quick-actions-button','render','reset','ArrowLeft','menuitem','aiQuickAction','.ck-ai-quick-actions-group-list','children','4AiuFCt','isEnabled','contains','_hasSearch','ck-ai-quick-actions-button_with-group__close-paren','displayedPrompt','text','menu','14eIhFpt','.ck-ai-quick-actions-group-panel','AI_QUICK_ACTIONS_SEARCH','items','ck-button','element','22383570UCGAdW','addEventListener','div','label','hide','ck-dropdown-menu-list','add','isOn','forEach','_hideAllNestedPanels','fire','commands','optionsListView','_createSearchTextView','execute','icon','4474206jfHuDX','ownerDocument','extendTemplate','_showNestedPanel','942246EPyDSX','13316SiVmWi','locale','ck-reset_all','bindTemplate','role','key','_handleSearchResultButtonClick','keystrokes','.ck-ai-quick-actions-group-button','_isMovingToNestedMenu','2550HwCIQd','focusTracker','setTemplate','focusCycler','detachFromDom','get','14058650eZuyDA','pin'];_0x2818=function(){return _0x5a9fec;};return _0x2818();}const Ts=_0x5157c1(0x1d9),Rs=_0x5157c1(0x1ce);export class AIQuickActionsDropdownContentView extends _0x27ef48{[_0x5157c1(0x1c3)];[_0x5157c1(0x1ec)];[_0x5157c1(0x1bb)]=null;[_0x5157c1(0x1ae)]=[];[_0x5157c1(0x1d1)];[_0x5157c1(0x200)];[_0x5157c1(0x1fc)];[_0x5157c1(0x1c6)];[_0x5157c1(0x202)];[_0x5157c1(0x1a4)]=new Set();[_0x5157c1(0x1d5)];constructor(_0x96cba0,_0x626ecd,_0x443fcb,_0x202302,_0x3025e8=!0x1){const _0x5ae024=_0x5157c1,_0x590de3=_0x96cba0[_0x5ae024(0x1f6)];super(_0x590de3),this[_0x5ae024(0x1c3)]=_0x202302,this[_0x5ae024(0x1d5)]=_0x3025e8;const _0x2436d9=this[_0x5ae024(0x1c0)](_0x96cba0,_0x626ecd,_0x443fcb);this[_0x5ae024(0x1ec)]=new _0x1b37c3(_0x590de3,_0x2436d9,this[_0x5ae024(0x1ae)]),this[_0x5ae024(0x1ec)][_0x5ae024(0x1f9)]=Ts,this[_0x5ae024(0x1ec)][_0x5ae024(0x1dd)][_0x5ae024(0x1b7)](_0x2436d9),this[_0x5ae024(0x200)]=new _0x30040f(),this[_0x5ae024(0x1fc)]=new _0x40ead1(),_0x3025e8&&(this[_0x5ae024(0x1bb)]=this[_0x5ae024(0x1ed)]()),this[_0x5ae024(0x1c6)]=_0x2436d9,this[_0x5ae024(0x202)]=new _0x7078de({'focusables':this[_0x5ae024(0x1c6)],'focusTracker':this[_0x5ae024(0x200)],'keystrokeHandler':this[_0x5ae024(0x1fc)]}),_0x3025e8&&this[_0x5ae024(0x1bb)]&&this[_0x5ae024(0x202)][_0x5ae024(0x1a9)](this[_0x5ae024(0x1bb)][_0x5ae024(0x202)]);const _0x2edead=_0x3025e8&&this[_0x5ae024(0x1bb)]?[this[_0x5ae024(0x1bb)]]:[this[_0x5ae024(0x1ec)]];this[_0x5ae024(0x1d1)]=new _0x623257(_0x2edead),this[_0x5ae024(0x201)]({'tag':_0x5ae024(0x1e2),'attributes':{'class':['ck',_0x5ae024(0x1f7),_0x5ae024(0x1a5),_0x5ae024(0x187)],'dir':_0x590de3[_0x5ae024(0x1c9)]},'children':this[_0x5ae024(0x1d1)]});}[_0x5157c1(0x1ed)](){const _0x318330=_0x5157c1;return new _0x3202f8(this[_0x318330(0x1f6)],{'filteredView':this[_0x318330(0x1ec)],'queryView':{'label':_0x14c797(this[_0x318330(0x1f6)],_0x318330(0x1dc))},'class':_0x318330(0x197),'infoView':{'text':{'notFound':{'primary':_0x14c797(this[_0x318330(0x1f6)],_0x318330(0x1c5))}}}});}[_0x5157c1(0x1c4)](){const _0x2af420=_0x5157c1;if(!this[_0x2af420(0x1d5)]||!this[_0x2af420(0x1bb)]||!this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)])return!0x1;const _0x404d39=this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)][_0x2af420(0x1f1)]?.[_0x2af420(0x19d)];return this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)][_0x2af420(0x1d4)](_0x404d39);}[_0x5157c1(0x1c0)](_0x1c9888,_0x244ce9,_0x63f04){const _0x502492=_0x5157c1,_0x202439=new _0x623257();return _0x244ce9[_0x502492(0x1e8)](_0x5173af=>{const _0x5c1a45=_0x502492;if(_0x5c1a45(0x1ad)in _0x5173af){const {listItem:_0x3fceed}=this[_0x5c1a45(0x199)](_0x1c9888,_0x5173af,_0x63f04);_0x202439[_0x5c1a45(0x1e6)](_0x3fceed),_0x5173af[_0x5c1a45(0x1ad)][_0x5c1a45(0x1e8)](_0x5e9884=>{const _0x217218=_0x5c1a45;this[_0x217218(0x186)](_0x1c9888,_0x5e9884,_0x5173af[_0x217218(0x1e3)],_0x5173af[_0x217218(0x1ef)]);const {listItem:_0x298656,highlightViews:_0x5ada42}=this[_0x217218(0x182)](_0x1c9888,_0x5e9884,_0x5173af[_0x217218(0x1e3)],_0x5173af[_0x217218(0x1ef)]);this[_0x217218(0x1ae)][_0x217218(0x1a6)]({'item':_0x298656,'label':_0x5e9884[_0x217218(0x1d7)],'groupLabel':_0x5173af[_0x217218(0x1e3)],'highlightViews':_0x5ada42});});}else{const {listItem:_0x5e1797}=this[_0x5c1a45(0x186)](_0x1c9888,_0x5173af);_0x202439[_0x5c1a45(0x1e6)](_0x5e1797);const _0x423117=_0x5e1797[_0x5c1a45(0x1d1)][_0x5c1a45(0x184)];if(_0x423117){const {listItem:_0x18479e,highlightViews:_0x305fc5}=this[_0x5c1a45(0x182)](_0x1c9888,_0x5173af);this[_0x5c1a45(0x1ae)][_0x5c1a45(0x1a6)]({'item':_0x18479e,'label':_0x423117[_0x5c1a45(0x1e3)]||'','highlightViews':_0x305fc5});}}}),_0x202439;}[_0x5157c1(0x186)](_0x29248a,_0x2b7287,_0x42f6e1,_0x3d398f){const _0x2acb0b=_0x5157c1,_0x543898=new _0x409cc1(this[_0x2acb0b(0x1f6)]);if(_0x42f6e1&&_0x3d398f){const _0x5b03f3=new _0x955150(this[_0x2acb0b(0x1f6)]),_0x22c479=_0x5b03f3[_0x2acb0b(0x1f8)],_0x3e45ec=new _0xcaccef();_0x3e45ec[_0x2acb0b(0x1d8)]=_0x2b7287[_0x2acb0b(0x1d7)];const _0x2263af=new _0xcaccef();_0x2263af[_0x2acb0b(0x1d8)]=_0x42f6e1;const _0x541052=new _0xb8b5c9();_0x541052[_0x2acb0b(0x1b9)]=_0x3d398f,_0x541052[_0x2acb0b(0x1f2)]({'attributes':{'class':_0x2acb0b(0x19a)}});const _0x31f4f5=new _0x27ef48(this[_0x2acb0b(0x1f6)]);_0x31f4f5[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x18f),'attributes':{'class':_0x2acb0b(0x1c8)},'children':[{'text':'\x20('}]});const _0x19740b=new _0x27ef48(this[_0x2acb0b(0x1f6)]);return _0x19740b[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x18f),'attributes':{'class':_0x2acb0b(0x1d6)},'children':[{'text':')'}]}),_0x5b03f3[_0x2acb0b(0x1ab)]({'label':_0x2b7287[_0x2acb0b(0x1d7)]+'\x20('+_0x42f6e1+')','withText':!0x0,'role':_0x2acb0b(0x1ce),'class':_0x2acb0b(0x1a0),'tooltip':!0x1}),_0x5b03f3[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x195),'attributes':{'class':['ck',_0x2acb0b(0x1de),_0x2acb0b(0x209),_0x2acb0b(0x1ca),_0x2acb0b(0x19e)],'type':_0x2acb0b(0x195),'role':_0x2acb0b(0x1ce),'tabindex':'-1'},'children':[_0x3e45ec,_0x31f4f5,_0x541052,_0x2263af,_0x19740b],'on':{'mouseenter':_0x22c479['to'](()=>{const _0x16454d=_0x2acb0b;this[_0x16454d(0x1c4)]()||_0x5b03f3[_0x16454d(0x18a)]();}),'click':_0x22c479['to'](()=>{const _0x34cc57=_0x2acb0b;_0x5b03f3[_0x34cc57(0x1ea)](_0x34cc57(0x1ee));})}}),_0x5b03f3['on'](_0x2acb0b(0x1ee),()=>{const _0x243fdb=_0x2acb0b;_0x29248a[_0x243fdb(0x1aa)][_0x243fdb(0x1a1)][_0x243fdb(0x18a)](),_0x29248a[_0x243fdb(0x1eb)][_0x243fdb(0x1ee)](_0x243fdb(0x1cf),_0x2b7287);}),_0x543898[_0x2acb0b(0x1d1)][_0x2acb0b(0x1e6)](_0x5b03f3),{'listItem':_0x543898,'highlightViews':[_0x3e45ec,_0x2263af]};}{const _0x1941e7=new _0x2002e6(),_0x146c14=new _0x955150(this[_0x2acb0b(0x1f6)],_0x1941e7),_0x1adddc=_0x146c14[_0x2acb0b(0x1f8)],_0x10f38e=_0x2b7287[_0x2acb0b(0x1ef)]??_0x2b7287[_0x2acb0b(0x1c1)]?.[_0x2acb0b(0x1ef)],_0x57c06d=void 0x0!==_0x2b7287[_0x2acb0b(0x1ef)];return _0x146c14[_0x2acb0b(0x1ab)]({'label':_0x2b7287[_0x2acb0b(0x1d7)],'withText':!0x0,'role':_0x2acb0b(0x1ce),'icon':_0x57c06d?_0x10f38e??_0x47060a:void 0x0,'tooltip':!0x1,'class':_0x2acb0b(0x1ca)}),_0x146c14[_0x2acb0b(0x1f2)]({'on':{'mouseenter':_0x1adddc['to'](()=>{const _0x403d88=_0x2acb0b;this[_0x403d88(0x1c4)]()||_0x146c14[_0x403d88(0x18a)]();})}}),_0x146c14['on'](_0x2acb0b(0x1ee),()=>{const _0x39a4c5=_0x2acb0b;_0x29248a[_0x39a4c5(0x1aa)][_0x39a4c5(0x1a1)][_0x39a4c5(0x18a)](),_0x29248a[_0x39a4c5(0x1eb)][_0x39a4c5(0x1ee)](_0x39a4c5(0x1cf),_0x2b7287);}),_0x543898[_0x2acb0b(0x1d1)][_0x2acb0b(0x1e6)](_0x146c14),{'listItem':_0x543898,'highlightViews':[_0x1941e7]};}}[_0x5157c1(0x182)](_0x2268c5,_0x55733b,_0x19b4f4,_0x2798c7){const _0x44f081=_0x5157c1;return _0x19b4f4&&_0x2798c7?this[_0x44f081(0x1b2)](_0x2268c5,_0x55733b,_0x19b4f4,_0x2798c7):this[_0x44f081(0x1b8)](_0x2268c5,_0x55733b);}[_0x5157c1(0x1b2)](_0xea122f,_0x1fd41a,_0x57ef2b,_0x2f35f2){const _0x57a4fe=_0x5157c1,_0x37cd18=new _0x409cc1(this[_0x57a4fe(0x1f6)]),_0x59078e=new _0x955150(this[_0x57a4fe(0x1f6)]),_0x1af4af=_0x59078e[_0x57a4fe(0x1f8)],{view:_0xcfa7c5,highlightView:_0x3a9089}=this[_0x57a4fe(0x18b)](_0x57ef2b,_0x2f35f2),{view:_0x3ad63d,highlightView:_0x5ada09}=this[_0x57a4fe(0x19c)](_0x1fd41a[_0x57a4fe(0x1d7)]),_0x1925f2=this[_0x57a4fe(0x19b)](_0xcfa7c5,_0x3ad63d);return _0x59078e[_0x57a4fe(0x1ab)]({'label':_0x1fd41a[_0x57a4fe(0x1d7)],'withText':!0x0,'role':_0x57a4fe(0x1ce),'class':_0x57a4fe(0x194),'tooltip':!0x1}),_0x59078e[_0x57a4fe(0x201)]({'tag':_0x57a4fe(0x195),'attributes':{'class':['ck',_0x57a4fe(0x1de),_0x57a4fe(0x209),_0x57a4fe(0x1ca),_0x57a4fe(0x192),_0x57a4fe(0x1b3)],'type':_0x57a4fe(0x195),'role':_0x57a4fe(0x1ce),'tabindex':'-1'},'children':[_0x1925f2],'on':{'mouseenter':_0x1af4af['to'](()=>{const _0x1cea39=_0x57a4fe;this[_0x1cea39(0x1c4)]()||_0x59078e[_0x1cea39(0x18a)]();}),'click':_0x1af4af['to'](()=>{const _0x694545=_0x57a4fe;this[_0x694545(0x1fb)](_0x59078e);})}}),this[_0x57a4fe(0x188)](_0x59078e,_0xea122f,_0x1fd41a),_0x37cd18[_0x57a4fe(0x1d1)][_0x57a4fe(0x1e6)](_0x59078e),{'listItem':_0x37cd18,'highlightViews':[_0x3a9089,_0x5ada09]};}[_0x5157c1(0x1b8)](_0x47fd2b,_0x277776){const _0x3771c7=_0x5157c1,_0x29c0c5=new _0x409cc1(this[_0x3771c7(0x1f6)]),_0x519d76=new _0x2002e6(),_0xf00877=new _0x955150(this[_0x3771c7(0x1f6)],_0x519d76),_0x46de8a=_0xf00877[_0x3771c7(0x1f8)];return _0xf00877[_0x3771c7(0x1ab)]({'label':_0x277776[_0x3771c7(0x1d7)],'withText':!0x0,'role':_0x3771c7(0x1ce),'icon':void 0x0,'tooltip':!0x1,'class':_0x3771c7(0x207)}),_0xf00877[_0x3771c7(0x1f2)]({'on':{'mouseenter':_0x46de8a['to'](()=>{const _0x5a1975=_0x3771c7;this[_0x5a1975(0x1c4)]()||_0xf00877[_0x5a1975(0x18a)]();})}}),this[_0x3771c7(0x188)](_0xf00877,_0x47fd2b,_0x277776),_0x29c0c5[_0x3771c7(0x1d1)][_0x3771c7(0x1e6)](_0xf00877),{'listItem':_0x29c0c5,'highlightViews':[_0x519d76]};}[_0x5157c1(0x18b)](_0x49a4a0,_0x4797a0){const _0x4e57e1=_0x5157c1,_0x4bd96b=new _0x27ef48(this[_0x4e57e1(0x1f6)]),_0x53cad1=new _0xb8b5c9();_0x53cad1[_0x4e57e1(0x1b9)]=_0x4797a0,_0x53cad1[_0x4e57e1(0x1f2)]({'attributes':{'class':_0x4e57e1(0x19a)}});const _0x2b5c61=new _0xcaccef();return _0x2b5c61[_0x4e57e1(0x1d8)]=_0x49a4a0,_0x4bd96b[_0x4e57e1(0x201)]({'tag':_0x4e57e1(0x1e2),'attributes':{'class':_0x4e57e1(0x1ac)},'children':[_0x53cad1,_0x2b5c61]}),{'view':_0x4bd96b,'highlightView':_0x2b5c61};}[_0x5157c1(0x19c)](_0x42507b){const _0x5e4fd1=_0x5157c1,_0x436540=new _0x27ef48(this[_0x5e4fd1(0x1f6)]),_0x34296a=new _0xcaccef();return _0x34296a[_0x5e4fd1(0x1d8)]=_0x42507b,_0x436540[_0x5e4fd1(0x201)]({'tag':_0x5e4fd1(0x1e2),'attributes':{'class':_0x5e4fd1(0x1af)},'children':[_0x34296a]}),{'view':_0x436540,'highlightView':_0x34296a};}[_0x5157c1(0x19b)](_0x1e204f,_0x384cfb){const _0x3e185a=_0x5157c1,_0x5b145c=new _0x27ef48(this[_0x3e185a(0x1f6)]);return _0x5b145c[_0x3e185a(0x201)]({'tag':_0x3e185a(0x1e2),'attributes':{'class':_0x3e185a(0x1b6)},'children':[_0x1e204f,_0x384cfb]}),_0x5b145c;}[_0x5157c1(0x188)](_0x30bd0a,_0x4d38cc,_0xc69b6b){const _0x4660e3=_0x5157c1;_0x30bd0a['on'](_0x4660e3(0x1ee),()=>{const _0x30b35d=_0x4660e3;_0x4d38cc[_0x30b35d(0x1aa)][_0x30b35d(0x1a1)][_0x30b35d(0x18a)](),_0x4d38cc[_0x30b35d(0x1eb)][_0x30b35d(0x1ee)](_0x30b35d(0x1cf),_0xc69b6b);});}[_0x5157c1(0x199)](_0x5c537b,_0x4dde78,_0x5b294b){const _0x47024e=_0x5157c1,_0x5cbd90=new _0x409cc1(this[_0x47024e(0x1f6)]),_0x2a807d=new _0x2002e6(),_0x26d848=new _0x360ac4(this[_0x47024e(0x1f6)],_0x2a807d),_0x4cbd89=_0x26d848[_0x47024e(0x1f8)],_0x430f0d=this[_0x47024e(0x1bf)](_0x5b294b),_0x23ab25=this[_0x47024e(0x185)](_0x5c537b,_0x4dde78[_0x47024e(0x1ad)],_0x5b294b);_0x26d848[_0x47024e(0x1ab)]({'label':_0x4dde78[_0x47024e(0x1e3)],'withText':!0x0,'role':Rs,'icon':_0x4dde78[_0x47024e(0x1ef)]??_0x47060a,'isEnabled':_0x4dde78[_0x47024e(0x1ad)][_0x47024e(0x18d)](_0x3cac2b=>_0x3cac2b[_0x47024e(0x1d3)])}),_0x26d848[_0x47024e(0x1f2)]({'on':{'mouseenter':_0x4cbd89['to'](()=>{const _0x3052dc=_0x47024e;this[_0x3052dc(0x1c4)]()||_0x26d848[_0x3052dc(0x18a)]();})}});const _0x4a5305=new _0x8c826c(this[_0x47024e(0x1f6)]);return _0x4a5305[_0x47024e(0x1f2)]({'attributes':{'class':['ck',_0x47024e(0x1f7),_0x47024e(0x183),_0x47024e(0x1ba)]},'on':{'keydown':_0x4cbd89['to'](_0x325b54=>{const _0x180692=_0x47024e;this[_0x180692(0x1b0)](_0x325b54,_0x430f0d,_0x26d848,_0x4a5305);})}}),_0x26d848[_0x47024e(0x181)](_0x47024e(0x1e7))['to'](_0x4a5305,_0x47024e(0x1bd)),this[_0x47024e(0x1c3)][_0x47024e(0x1e6)](_0x4a5305),_0x4a5305[_0x47024e(0x1b9)][_0x47024e(0x1e6)](_0x23ab25),this[_0x47024e(0x1b1)](_0x26d848,_0x4a5305),_0x5cbd90[_0x47024e(0x1d1)][_0x47024e(0x1e6)](_0x26d848),{'listItem':_0x5cbd90,'highlightView':_0x2a807d};}[_0x5157c1(0x185)](_0x651f99,_0x1e9b84,_0x36fd31){const _0x5cbdaf=_0x5157c1,_0x5de83b=new _0x5d023a(this[_0x5cbdaf(0x1f6)]);return _0x5de83b[_0x5cbdaf(0x1f2)]({'attributes':{'class':['ck',_0x5cbdaf(0x1f7),_0x5cbdaf(0x18c),_0x5cbdaf(0x1e5)]}}),_0x1e9b84[_0x5cbdaf(0x1e8)](_0x2bf311=>{const _0x18d82b=_0x5cbdaf,_0x1afe51=new _0x409cc1(this[_0x18d82b(0x1f6)]),_0x256232=_0x588179({'editor':_0x651f99,'action':_0x2bf311,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x18d82b(0x1c4)]()})();_0x1afe51[_0x18d82b(0x1d1)][_0x18d82b(0x1e6)](_0x256232),_0x36fd31[_0x18d82b(0x200)][_0x18d82b(0x1e6)](_0x256232),_0x5de83b[_0x18d82b(0x1dd)][_0x18d82b(0x1e6)](_0x1afe51);}),_0x5de83b;}[_0x5157c1(0x1b1)](_0x20278c,_0x3f2076){const _0x485b82=_0x5157c1,_0x49ce5c=_0x20278c[_0x485b82(0x1f8)],_0x27dbd7=this[_0x485b82(0x208)](_0x20278c);_0x20278c[_0x485b82(0x1f2)]({'attributes':{'class':[_0x485b82(0x1b5)]},'on':{'mouseenter':_0x49ce5c['to'](()=>{const _0x1b62a3=_0x485b82;this[_0x1b62a3(0x1f3)](_0x3f2076,_0x20278c);}),'mouseleave':_0x49ce5c['to'](_0x54bab7=>{const _0x4cd5fa=_0x485b82,_0x5b4084=_0x54bab7[_0x4cd5fa(0x196)];this[_0x4cd5fa(0x1fe)](_0x5b4084,_0x3f2076)||this[_0x4cd5fa(0x190)](_0x3f2076);}),'keydown':_0x49ce5c['to'](_0x104bd0=>{const _0x123496=_0x485b82;_0x104bd0[_0x123496(0x1fa)]==_0x27dbd7&&(this[_0x123496(0x1f3)](_0x3f2076,_0x20278c),_0x3f2076[_0x123496(0x1b9)][_0x123496(0x204)](0x0)[_0x123496(0x18a)]());})}}),_0x3f2076['on'](_0x485b82(0x1cb),()=>{const _0x19055f=_0x485b82;_0x3f2076[_0x19055f(0x1df)]?.[_0x19055f(0x1e1)](_0x19055f(0x1c2),_0x183da1=>{const _0x4ebf2f=_0x19055f,_0x51b69f=_0x183da1[_0x4ebf2f(0x196)];_0x20278c[_0x4ebf2f(0x1df)]?.[_0x4ebf2f(0x1d4)](_0x51b69f)||this[_0x4ebf2f(0x1fe)](_0x51b69f,_0x3f2076)||this[_0x4ebf2f(0x190)](_0x3f2076);});});}[_0x5157c1(0x1f3)](_0x1928ed,_0x487759){const _0x4bad30=_0x5157c1;this[_0x4bad30(0x1a4)][_0x4bad30(0x1e8)](_0x47df9e=>{const _0x2c9be9=_0x4bad30;_0x47df9e!==_0x1928ed&&_0x47df9e[_0x2c9be9(0x1bd)]&&_0x47df9e[_0x2c9be9(0x1e4)]();}),_0x1928ed[_0x4bad30(0x1a2)](),_0x1928ed[_0x4bad30(0x206)]({'positions':[_0x3ff9c0[_0x4bad30(0x1be)]],'target':_0x487759[_0x4bad30(0x1df)],'fitInViewport':!0x0}),this[_0x4bad30(0x1a4)][_0x4bad30(0x1e6)](_0x1928ed);}[_0x5157c1(0x190)](_0x15fb18){const _0x5a6ae8=_0x5157c1;_0x15fb18[_0x5a6ae8(0x1e4)](),this[_0x5a6ae8(0x1a4)][_0x5a6ae8(0x1a7)](_0x15fb18);}[_0x5157c1(0x1e9)](){const _0x130e61=_0x5157c1;this[_0x130e61(0x1a4)][_0x130e61(0x1e8)](_0x33b7d3=>_0x33b7d3[_0x130e61(0x1e4)]()),this[_0x130e61(0x1a4)][_0x130e61(0x19f)]();}[_0x5157c1(0x1fe)](_0x150648,_0x239824){const _0x1fbac7=_0x5157c1;if(!_0x150648)return!0x1;if(_0x239824[_0x1fbac7(0x1df)]?.[_0x1fbac7(0x1d4)](_0x150648))return!0x0;const _0x491ec4=_0x150648;return _0x491ec4[_0x1fbac7(0x1a8)]&&(null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1db))||null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1d0))||null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1fd)));}[_0x5157c1(0x191)](){const _0x317194=_0x5157c1;this[_0x317194(0x1bb)]&&this[_0x317194(0x1bb)][_0x317194(0x1cc)]();}[_0x5157c1(0x193)](){const _0x5aa897=_0x5157c1;this[_0x5aa897(0x1e9)](),this[_0x5aa897(0x1c3)][_0x5aa897(0x203)](),super[_0x5aa897(0x193)]();}[_0x5157c1(0x18a)](){const _0x3b71d5=_0x5157c1;this[_0x3b71d5(0x1bb)]?this[_0x3b71d5(0x1bb)][_0x3b71d5(0x18a)]():this[_0x3b71d5(0x1ec)][_0x3b71d5(0x18a)]();}[_0x5157c1(0x1bf)](_0x4ca1a1){const _0x563b39=_0x5157c1;return _0x563b39(0x1bc)===_0x4ca1a1[_0x563b39(0x1f6)][_0x563b39(0x1c9)]?_0x563b39(0x189):_0x563b39(0x1cd);}[_0x5157c1(0x208)](_0x86185a){const _0x26b445=_0x5157c1;return _0x26b445(0x1bc)===_0x86185a[_0x26b445(0x1f6)][_0x26b445(0x1c9)]?_0x26b445(0x1cd):_0x26b445(0x189);}[_0x5157c1(0x1b0)](_0x42a552,_0x56824e,_0x3e1167,_0x40973f){const _0x59e104=_0x5157c1;_0x42a552[_0x59e104(0x1fa)]==_0x56824e&&(_0x3e1167[_0x59e104(0x18a)](),this[_0x59e104(0x190)](_0x40973f));}[_0x5157c1(0x1fb)](_0x38549d){const _0x55e23a=_0x5157c1;_0x38549d[_0x55e23a(0x1ea)](_0x55e23a(0x1ee));}}