@ckeditor/ckeditor5-ai 47.4.0-alpha.3 → 47.4.0-alpha.4
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/aiactionsreply.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/form/prompthistory.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.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/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30d144=_0x117a;(function(_0x166feb,_0x28aeae){const _0x5503b5=_0x117a,_0x32d865=_0x166feb();while(!![]){try{const _0x1f0ec8=-parseInt(_0x5503b5(0x84))/0x1*(-parseInt(_0x5503b5(0x73))/0x2)+-parseInt(_0x5503b5(0xa9))/0x3*(parseInt(_0x5503b5(0x8a))/0x4)+-parseInt(_0x5503b5(0xa5))/0x5*(parseInt(_0x5503b5(0x83))/0x6)+parseInt(_0x5503b5(0x79))/0x7+parseInt(_0x5503b5(0x8c))/0x8*(-parseInt(_0x5503b5(0x77))/0x9)+-parseInt(_0x5503b5(0x9e))/0xa+parseInt(_0x5503b5(0x9b))/0xb;if(_0x1f0ec8===_0x28aeae)break;else _0x32d865['push'](_0x32d865['shift']());}catch(_0x1c4b94){_0x32d865['push'](_0x32d865['shift']());}}}(_0x4a41,0x25ca4));import{Command as _0x3dc396}from'ckeditor5/src/core.js';function _0x117a(_0x361607,_0x4e8f20){const _0x4a4173=_0x4a41();return _0x117a=function(_0x117a63,_0x4583ea){_0x117a63=_0x117a63-0x6e;let _0x4baf11=_0x4a4173[_0x117a63];return _0x4baf11;},_0x117a(_0x361607,_0x4e8f20);}import{CKEditorError as _0x19ffe1,first as _0x5e275e}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0xf98786}from'./aiquickactionsui.js';import{getTranslation as _0x13c3d7}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x3dc396{[_0x30d144(0x8d)](_0x6689f7){const _0x3f550c=_0x30d144;switch(this[_0x3f550c(0x81)](),_0x6689f7[_0x3f550c(0x93)]){case _0xf98786[_0x3f550c(0x86)]:if(!this[_0x3f550c(0x75)][_0x3f550c(0x92)][_0x3f550c(0x78)](_0x3f550c(0xa7))){const _0x6acef9=_0x13c3d7(this[_0x3f550c(0x75)][_0x3f550c(0x98)],_0x3f550c(0x87),_0x3f550c(0xa7));throw new _0x19ffe1(_0x3f550c(0xa6),this[_0x3f550c(0x75)],{'errorMessage':_0x6acef9});}this[_0x3f550c(0x9d)](_0x6689f7);break;case _0xf98786[_0x3f550c(0x71)]:if(!this[_0x3f550c(0x75)][_0x3f550c(0x92)][_0x3f550c(0x78)](_0x3f550c(0x96))){const _0x58bea4=_0x13c3d7(this[_0x3f550c(0x75)][_0x3f550c(0x98)],_0x3f550c(0x87),_0x3f550c(0x96));throw new _0x19ffe1(_0x3f550c(0xa6),this[_0x3f550c(0x75)],{'errorMessage':_0x58bea4});}this[_0x3f550c(0x90)](_0x6689f7);break;case _0xf98786[_0x3f550c(0x97)]:if(!this[_0x3f550c(0x75)][_0x3f550c(0x92)][_0x3f550c(0x78)](_0x3f550c(0x82))){const _0x59aa86=_0x13c3d7(this[_0x3f550c(0x75)][_0x3f550c(0x98)],_0x3f550c(0x87),_0x3f550c(0x82));throw new _0x19ffe1(_0x3f550c(0xa6),this[_0x3f550c(0x75)],{'errorMessage':_0x59aa86});}this[_0x3f550c(0xaa)](_0x6689f7);}}async[_0x30d144(0x9d)](_0x2cc5a7){const _0x5ba141=_0x30d144,_0x1dbb6f=this[_0x5ba141(0x75)][_0x5ba141(0x92)][_0x5ba141(0x8f)](_0x5ba141(0xa7)),_0x5b5545=this[_0x5ba141(0x75)][_0x5ba141(0x92)][_0x5ba141(0x8f)](_0x5ba141(0x72)),_0x135a98=this[_0x5ba141(0x75)][_0x5ba141(0x92)][_0x5ba141(0x8f)](_0x5ba141(0x7e))[_0x5ba141(0x7f)];if(_0x135a98[_0x5ba141(0xa1)]||(_0x135a98[_0x5ba141(0xa1)]=!0x0),_0x5ba141(0x6f)!==_0x135a98[_0x5ba141(0x89)]&&_0x135a98[_0x5ba141(0x70)](_0x5ba141(0x6f)),_0x5ba141(0x7b)===_0x2cc5a7['id'])_0x5b5545[_0x5ba141(0x94)](),await _0x1dbb6f[_0x5ba141(0x7a)](),_0x1dbb6f[_0x5ba141(0xa4)]();else await _0x1dbb6f[_0x5ba141(0x9a)](),_0x5b5545[_0x5ba141(0x94)](),await _0x1dbb6f[_0x5ba141(0x7a)](),_0x1dbb6f[_0x5ba141(0xa4)](),await _0x1dbb6f[_0x5ba141(0xa3)]({'message':_0x2cc5a7[_0x5ba141(0x80)]||_0x2cc5a7[_0x5ba141(0x8e)],'quickActionData':{'id':_0x2cc5a7['id'],'displayedPrompt':_0x2cc5a7[_0x5ba141(0x8e)]}});}[_0x30d144(0x81)](){const _0x2e3217=_0x30d144,_0x5e6b7f=this[_0x2e3217(0x75)],_0x52c130=_0x5e6b7f[_0x2e3217(0x99)][_0x2e3217(0x7c)][_0x2e3217(0xab)];if(!_0x52c130[_0x2e3217(0x91)])return;const _0x3969a3=_0x5e275e(_0x52c130[_0x2e3217(0xa0)]())||_0x5e6b7f[_0x2e3217(0x99)][_0x2e3217(0x6e)][_0x2e3217(0xa2)](_0x52c130);_0x5e6b7f[_0x2e3217(0x99)][_0x2e3217(0x74)](_0x301308=>{const _0x934e81=_0x2e3217;_0x301308[_0x934e81(0x76)](_0x3969a3,'in');});}[_0x30d144(0xa8)](_0x156df0){const _0x598f4f=_0x30d144;return _0x156df0[_0x598f4f(0xad)]?.[_0x598f4f(0xac)]&&_0x598f4f(0x85)!==_0x156df0[_0x598f4f(0xad)]?.['id']?_0x156df0[_0x598f4f(0xad)][_0x598f4f(0xac)]+':\x20'+_0x156df0[_0x598f4f(0x8e)]:_0x156df0[_0x598f4f(0x8e)];}async[_0x30d144(0x90)](_0x189078){const _0x55a5fb=_0x30d144,_0x22764e=this[_0x55a5fb(0x75)][_0x55a5fb(0x92)][_0x55a5fb(0x8f)](_0x55a5fb(0x96)),_0x3eb1fb=_0x189078[_0x55a5fb(0x80)]?{'userMessage':_0x189078[_0x55a5fb(0x80)],'model':_0x189078[_0x55a5fb(0x99)]}:{'actionName':_0x189078[_0x55a5fb(0x7d)]||_0x189078['id'],'args':_0x189078[_0x55a5fb(0x8b)]},_0x59c3da=this[_0x55a5fb(0xa8)](_0x189078);await _0x22764e[_0x55a5fb(0x95)](_0x3eb1fb,_0x59c3da,_0x189078[_0x55a5fb(0x88)]);}async[_0x30d144(0xaa)](_0x17cea6){const _0x56300c=_0x30d144;console[_0x56300c(0x9f)](_0x56300c(0x9c),_0x17cea6);}}function _0x4a41(){const _0x5c4ec4=['ask-ai','document','actionName','AITabs','view','prompt','_expandSelectionIfCollapsed','AIReviewMode','12gpwntK','24793hEjRuc','other','CHAT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','icon','activeTab','8lqoysU','args','24tAcmsm','execute','displayedPrompt','get','_handleAIActionsAction','isCollapsed','plugins','type','removeSelectionFromChatContext','executeAction','AIActions','REVIEW','locale','model','startConversation','6295058GkOEAk','handleAIReviewAction','_handleAIChatAction','1780280pSRtZP','log','getSelectedBlocks','isVisible','getLimitElement','sendMessage','focusPromptInput','591835otEoET','ai-quick-actions-plugin-not-found','AIChat','_handleAIActionsActionLabel','124635KeWUYI','_handleAIReviewAction','selection','label','parent','schema','chat','activateTab','ACTION','AIChatController','2eTTIdL','change','editor','setSelection','71010LNXNIX','has','554673lhLqCj','addSelectionToChatContext'];_0x4a41=function(){return _0x5c4ec4;};return _0x4a41();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x31719b=_0x151a;(function(_0xfdb7e2,_0xefc655){const _0x1ad665=_0x151a,_0x481df6=_0xfdb7e2();while(!![]){try{const _0x1e29ca=parseInt(_0x1ad665(0x209))/0x1*(-parseInt(_0x1ad665(0x208))/0x2)+-parseInt(_0x1ad665(0x169))/0x3+-parseInt(_0x1ad665(0x1f1))/0x4*(-parseInt(_0x1ad665(0x175))/0x5)+parseInt(_0x1ad665(0x1fc))/0x6*(-parseInt(_0x1ad665(0x189))/0x7)+-parseInt(_0x1ad665(0x19a))/0x8+parseInt(_0x1ad665(0x19e))/0x9*(-parseInt(_0x1ad665(0x1ac))/0xa)+parseInt(_0x1ad665(0x18e))/0xb;if(_0x1e29ca===_0xefc655)break;else _0x481df6['push'](_0x481df6['shift']());}catch(_0x15b084){_0x481df6['push'](_0x481df6['shift']());}}}(_0x5292,0x39063));import{IconAIAdjustLength as _0x17506e,IconAIChangeTone as _0x8e3233,IconAIChatCommands as _0x4f7f5a,IconAIContinueWriting as _0x109673,IconAIGrammarCheck as _0xfdd85d,IconAIImproveWriting as _0x553c44,IconAIOther as _0x4b087d,IconAIQuickActions as _0x141fa0,IconAITranslate as _0x50f643}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x46bf32}from'ckeditor5/src/core.js';import{CKEditorError as _0x4866d8,logError as _0x23c61f}from'ckeditor5/src/utils.js';import{getTranslation as _0x50c4e8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x18dad2}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x43cf56}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x6b02ba,BalloonToolbar as _0x3674fa,MenuBarMenuView as _0x1995d7,MenuBarMenuListView as _0x536620,MenuBarMenuListItemView as _0x518ec2,MenuBarMenuListItemButtonView as _0x3a98da}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x35273c}from'../aicore/model/aimodels.js';function _0x151a(_0x4e9690,_0x1f8277){const _0x529237=_0x5292();return _0x151a=function(_0x151a21,_0x5bd5a8){_0x151a21=_0x151a21-0x167;let _0x1395d4=_0x529237[_0x151a21];return _0x1395d4;},_0x151a(_0x4e9690,_0x1f8277);}function _0x5292(){const _0x58a929=['italian','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','translate-to-german','chinese','translate-to-japanese','_prepareQuickActionsDefinition','commands','10YWhuSG','_executeQuickAction','ai.chat.context.document.enabled','isOfficialPlugin','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','buttonView','model','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','change-tone','some','summarize','AI_QUICK_ACTIONS_MAKE_LONGER','view','componentFactory','translate-to-russian','adjust-length','focus','translate-to-chinese','russian','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','pluginName','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_MORE_CASUAL','message','improve-writing','ask-ai','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','children','make-tone-direct','aiQuickAction','length','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','push','menuBarView','getDefaultQuickActions','locale','AIQuickActionsUI','AI_QUICK_ACTIONS_OTHER','fix-grammar','set','AI_QUICK_ACTIONS_ADJUST_LENGTH','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate','CHAT','forEach','portuguese','english','execute','filter','has','french','English','editing','translate-to-portuguese','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','getAvailableModels','delegate','spanish','AI_QUICK_ACTIONS_EXPLAIN','translate-to-french','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_CHAT_COMMANDS','map','attachToDom','70988koBEZl','panelView','AI_QUICK_ACTIONS_MAKE_SHORTER','uiLanguage','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AIReviewMode','ACTION','make-shorter','find','6uQhHsl','korean','displayedPrompt','translate-to-italian','make-tone-confident','ai.chat.models.displayedModels','menuitem','AI_QUICK_ACTIONS_SUMMARIZE','icon','highlight-key-points','AI_QUICK_ACTIONS_MORE_FRIENDLY','make-tone-friendly','5956pkwQJR','139GHlMKC','config','_initializeQuickActionsComponents','1053849BujYpm','items','AI_QUICK_ACTIONS_ASK_AI','translate-to-english','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_HEADING','menuBar:aiQuickActions','explain','_initializeQuickActionsDropdown','actions','japanese','ai.quickActions.isSearchEnabled','20dfZjbS','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','make-longer','german','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AIConnector','isEnabled','aiQuickActions','editor','continue','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AIChat','menu','plugins','_shouldIncludeAction','language','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_DIRECT','2310259RHTmaa','_quickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','other','AIActions','19349781VKsSVy','REVIEW','close','AI_QUICK_ACTIONS_MORE_CONFIDENT','chat-commands','get','isPremiumPlugin','label','requires','type','ai-quick-actions-models-unable-to-retrieve','_getDefaultAndCustomActions','455704FJUaXs','DisplayNames','make-tone-professional','add','3998367exjXAX','replace','init','_initializeQuickActionsComponentsAndCommands','includes','values','make-tone-casual'];_0x5292=function(){return _0x58a929;};return _0x5292();}const oe=_0x31719b(0x1cc),ae=_0x31719b(0x1c7),se=_0x31719b(0x1c0);export var AIQuickActionType;!function(_0x1d3791){const _0x38b8cf=_0x31719b;_0x1d3791[_0x38b8cf(0x1d9)]=_0x38b8cf(0x1d9),_0x1d3791[_0x38b8cf(0x1f9)]=_0x38b8cf(0x1f9),_0x1d3791[_0x38b8cf(0x18f)]=_0x38b8cf(0x18f);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2c191f){const _0x187296=_0x31719b;_0x2c191f[_0x187296(0x1d9)]=_0x187296(0x182),_0x2c191f[_0x187296(0x1f9)]=_0x187296(0x18d),_0x2c191f[_0x187296(0x18f)]=_0x187296(0x1f8);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x46bf32{static get[_0x31719b(0x196)](){return[_0x3674fa];}static get[_0x31719b(0x1c1)](){const _0xedc3a5=_0x31719b;return _0xedc3a5(0x1d1);}static get[_0x31719b(0x1af)](){return!0x0;}static get[_0x31719b(0x194)](){return!0x0;}async[_0x31719b(0x1a0)](){const _0x2b5bd8=_0x31719b,_0x38c19a=await this[_0x2b5bd8(0x199)]();this[_0x2b5bd8(0x1aa)](_0x38c19a),this[_0x2b5bd8(0x1a1)]();}static[_0x31719b(0x1cf)](_0xc7717f){return function(_0x5f5522){const _0x3b9544=_0x151a,_0x543ee1=new Intl[(_0x3b9544(0x19b))](['en'],{'type':_0x3b9544(0x186)})['of'](_0x5f5522[_0x3b9544(0x1f4)]),_0x41de3d=_0x543ee1||_0x3b9544(0x1e1),_0x3fa80e=[{'id':_0x3b9544(0x1c6),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x16b)),'type':AIQuickActionType[_0x3b9544(0x1d9)],'icon':_0x4f7f5a},{'id':_0x3b9544(0x192),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1ee)),'icon':_0x4f7f5a,'actions':[{'id':_0x3b9544(0x170),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1eb)),'prompt':oe[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]},{'id':_0x3b9544(0x1b7),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x203)),'prompt':ae[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]},{'id':_0x3b9544(0x205),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d7)),'prompt':se[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]}]},{'id':_0x3b9544(0x1c5),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x17a)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0x553c44},{'id':_0x3b9544(0x180),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f5)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0x109673},{'id':_0x3b9544(0x1d3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1ed)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0xfdd85d},{'id':_0x3b9544(0x1bc),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d5)),'icon':_0x17506e,'actions':[{'id':_0x3b9544(0x1fa),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f3)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x178),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b8)),'type':AIQuickActionType[_0x3b9544(0x1f9)]}]},{'id':_0x3b9544(0x1b5),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x16d)),'icon':_0x8e3233,'actions':[{'id':_0x3b9544(0x1a4),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1c3)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x1c9),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x188)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x207),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x206)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x200),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x191)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x19c),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1a6)),'type':AIQuickActionType[_0x3b9544(0x1f9)]}]},{'id':_0x3b9544(0x1d8),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1e5)),'icon':_0x50f643,'actions':[{'id':_0x3b9544(0x16c),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x17b)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1dc)}},{'id':_0x3b9544(0x1be),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b0)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1a8)}},{'id':_0x3b9544(0x1b3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b4)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1ea)}},{'id':_0x3b9544(0x1a7),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1c2)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x179)}},{'id':_0x3b9544(0x1ec),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x181)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1e0)}},{'id':_0x3b9544(0x1a9),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x177)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x173)}},{'id':_0x3b9544(0x1e3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f6)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1db)}},{'id':_0x3b9544(0x176),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f7)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1fd)}},{'id':_0x3b9544(0x1ff),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x18b)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1a5)}},{'id':_0x3b9544(0x1bb),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1e7)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1bf)}}]},{'id':_0x3b9544(0x18c),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d2)),'icon':_0x4b087d,'actions':[]}];return _0x3fa80e;}(_0xc7717f);}async[_0x31719b(0x199)](){const _0x1452cd=_0x31719b,_0x1fb9ae=AIQuickActionsUI[_0x1452cd(0x1cf)](this[_0x1452cd(0x17f)][_0x1452cd(0x1d0)]),_0x3c7dcb=this[_0x1452cd(0x17f)][_0x1452cd(0x167)][_0x1452cd(0x193)](_0x1452cd(0x187))||[];let _0xaedb83=[];try{_0xaedb83=await new _0x35273c({'connector':this[_0x1452cd(0x17f)][_0x1452cd(0x184)][_0x1452cd(0x193)](_0x1452cd(0x17c)),'availableModels':this[_0x1452cd(0x17f)][_0x1452cd(0x167)][_0x1452cd(0x193)](_0x1452cd(0x201)),'locale':this[_0x1452cd(0x17f)][_0x1452cd(0x1d0)]})[_0x1452cd(0x1e8)]();}catch(_0x17ae3d){const _0x4de479=new _0x4866d8(_0x1452cd(0x198),this,{'error':_0x17ae3d});_0x23c61f(_0x4de479[_0x1452cd(0x1c4)]);}finally{const _0x16ff5c=_0x3c7dcb[_0x1452cd(0x1ef)](_0x430ec3=>({..._0x430ec3,'icon':void 0x0}));_0x1fb9ae[_0x1452cd(0x1fb)](_0x184b64=>_0x1452cd(0x18c)===_0x184b64['id'])[_0x1452cd(0x172)][_0x1452cd(0x1cd)](..._0x16ff5c),_0x1fb9ae[_0x1452cd(0x1da)](_0x395ab7=>{const _0x4cf054=_0x1452cd;if(_0x4cf054(0x172)in _0x395ab7)_0x395ab7[_0x4cf054(0x172)][_0x4cf054(0x1da)](_0x4f4f98=>{const _0xd18203=_0x4cf054;if(_0x4f4f98[_0xd18203(0x17d)]=!!_0xaedb83[_0xd18203(0x1fb)](_0x144b5a=>_0x144b5a['id']===_0x4f4f98[_0xd18203(0x1b2)])||void 0x0===_0x4f4f98[_0xd18203(0x1b2)],!_0x4f4f98[_0xd18203(0x17d)]){const _0x377c8b=new _0x4866d8(_0xd18203(0x1d6),this,{'actionId':_0x4f4f98['id'],'modelId':_0x4f4f98[_0xd18203(0x1b2)]});_0x23c61f(_0x377c8b[_0xd18203(0x1c4)]);}});else{if(_0x395ab7[_0x4cf054(0x17d)]=!!_0xaedb83[_0x4cf054(0x1fb)](_0x1a2fc4=>_0x1a2fc4['id']===_0x395ab7[_0x4cf054(0x1b2)])||void 0x0===_0x395ab7[_0x4cf054(0x1b2)],!_0x395ab7[_0x4cf054(0x17d)]){const _0x439e2f=new _0x4866d8(_0x4cf054(0x1d6),this,{'actionId':_0x395ab7['id'],'modelId':_0x395ab7[_0x4cf054(0x1b2)]});_0x23c61f(_0x439e2f[_0x4cf054(0x1c4)]);}}});}return _0x1fb9ae;}[_0x31719b(0x1a1)](){const _0x3f9258=_0x31719b,_0x4ff426=new _0x6b02ba(this[_0x3f9258(0x17f)][_0x3f9258(0x1d0)]);_0x4ff426[_0x3f9258(0x1f0)](),this[_0x3f9258(0x171)](_0x4ff426),this[_0x3f9258(0x1e4)](),this[_0x3f9258(0x168)](_0x4ff426);}[_0x31719b(0x171)](_0x33f9a5){const _0xe66aa2=_0x31719b,_0x2601cb=this[_0xe66aa2(0x17f)][_0xe66aa2(0x167)][_0xe66aa2(0x193)](_0xe66aa2(0x174))??!0x0;this[_0xe66aa2(0x17f)]['ui'][_0xe66aa2(0x1ba)][_0xe66aa2(0x19d)](_0xe66aa2(0x17e),_0x18dad2({'editor':this[_0xe66aa2(0x17f)],'content':this[_0xe66aa2(0x18a)],'buttonDefinition':{'icon':_0x141fa0,'label':_0x50c4e8(this[_0xe66aa2(0x17f)][_0xe66aa2(0x1d0)],_0xe66aa2(0x16e))},'bodyCollection':_0x33f9a5,'hasSearch':_0x2601cb}));}[_0x31719b(0x1aa)](_0x1ae824){const _0x4689c0=_0x31719b;this[_0x4689c0(0x18a)]=_0x1ae824[_0x4689c0(0x1ef)](_0x374980=>{const _0x124f93=_0x4689c0;if(_0x124f93(0x172)in _0x374980){const _0x50c274=_0x374980;return{..._0x50c274,'actions':_0x50c274[_0x124f93(0x172)][_0x124f93(0x1ef)](_0x1e9752=>{const {actions:_0x2dd86b,..._0x11c3f9}=_0x50c274;return{..._0x1e9752,'parent':_0x11c3f9};})[_0x124f93(0x1de)](_0x1812e1=>this[_0x124f93(0x185)](_0x1812e1))};}return _0x374980;})[_0x4689c0(0x1de)](_0x6417c6=>_0x4689c0(0x172)in _0x6417c6?_0x6417c6[_0x4689c0(0x172)][_0x4689c0(0x1cb)]>0x0:this[_0x4689c0(0x185)](_0x6417c6));}[_0x31719b(0x185)](_0x1d64b3){const _0x2ac3ad=_0x31719b,_0x113cd7=this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x167)][_0x2ac3ad(0x193)](_0x2ac3ad(0x1e6))||[];return this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x184)][_0x2ac3ad(0x1df)](AIQuickActionTypeToPluginName[_0x1d64b3[_0x2ac3ad(0x197)]])&&!_0x113cd7[_0x2ac3ad(0x1a2)](_0x1d64b3['id'])&&!(_0x1d64b3[_0x2ac3ad(0x197)]===AIQuickActionType[_0x2ac3ad(0x1d9)]&&!0x1===this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x167)][_0x2ac3ad(0x193)](_0x2ac3ad(0x1ae)));}[_0x31719b(0x168)](_0x39916c){const _0x2f7c5a=_0x31719b;this[_0x2f7c5a(0x18a)][_0x2f7c5a(0x1da)](_0x6c2068=>{const _0x3ac166=_0x2f7c5a;if(_0x3ac166(0x172)in _0x6c2068){const _0x8d4cbd=_0x18dad2({'editor':this[_0x3ac166(0x17f)],'content':_0x6c2068[_0x3ac166(0x172)],'buttonDefinition':_0x6c2068,'bodyCollection':_0x39916c});this[_0x3ac166(0x17f)]['ui'][_0x3ac166(0x1ba)][_0x3ac166(0x19d)](_0x6c2068['id'],_0x8d4cbd),_0x6c2068[_0x3ac166(0x172)][_0x3ac166(0x1da)](_0x57ea04=>{const _0x47f621=_0x3ac166,_0x37d871=_0x43cf56({'editor':this[_0x47f621(0x17f)],'action':_0x57ea04});this[_0x47f621(0x17f)]['ui'][_0x47f621(0x1ba)][_0x47f621(0x19d)](_0x57ea04['id'],_0x37d871);});}else{const _0x39280f=_0x43cf56({'editor':this[_0x3ac166(0x17f)],'action':_0x6c2068,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3ac166(0x17f)]['ui'][_0x3ac166(0x1ba)][_0x3ac166(0x19d)](_0x6c2068['id'],_0x39280f);}});}[_0x31719b(0x1e4)](){const _0x4d4aa8=_0x31719b;this[_0x4d4aa8(0x17f)]['ui'][_0x4d4aa8(0x1ba)][_0x4d4aa8(0x19d)](_0x4d4aa8(0x16f),_0x12ec1b=>{const _0x5a9648=_0x4d4aa8,_0x185991=new _0x1995d7(_0x12ec1b),_0x5bde80=_0x50c4e8(_0x12ec1b,_0x5a9648(0x16e));_0x185991[_0x5a9648(0x1b1)][_0x5a9648(0x1d4)]({'label':_0x5bde80,'icon':_0x141fa0});const _0x2855e5=new _0x536620(_0x12ec1b);_0x2855e5[_0x5a9648(0x1d4)]({'ariaLabel':_0x5bde80,'role':_0x5a9648(0x183)}),this[_0x5a9648(0x18a)][_0x5a9648(0x1da)](_0x3bf4e6=>{const _0x5b7efe=_0x5a9648;if(_0x5b7efe(0x172)in _0x3bf4e6){const _0x311a2e=_0x3bf4e6,_0x4adb66=new _0x518ec2(_0x12ec1b,_0x185991),_0x286486=new _0x1995d7(_0x12ec1b),_0x8c8209=new _0x536620(_0x12ec1b);_0x286486[_0x5b7efe(0x1b1)][_0x5b7efe(0x1d4)]({'label':_0x311a2e[_0x5b7efe(0x195)],'icon':_0x311a2e[_0x5b7efe(0x204)]}),_0x311a2e[_0x5b7efe(0x172)][_0x5b7efe(0x1da)](_0x495b72=>{const _0x11a826=_0x5b7efe,_0x1c9cef=new _0x518ec2(_0x12ec1b,_0x286486),_0x5d1efd=new _0x3a98da(_0x12ec1b);_0x5d1efd[_0x11a826(0x1d4)]({'label':_0x495b72[_0x11a826(0x1fe)],'icon':_0x495b72[_0x11a826(0x204)],'role':_0x11a826(0x202),'isEnabled':_0x495b72[_0x11a826(0x17d)]}),_0x5d1efd['on'](_0x11a826(0x1dd),()=>{const _0x569a1b=_0x11a826;this[_0x569a1b(0x1ad)](_0x495b72);}),_0x5d1efd[_0x11a826(0x1e9)](_0x11a826(0x1dd))['to'](_0x286486),_0x1c9cef[_0x11a826(0x1c8)][_0x11a826(0x19d)](_0x5d1efd),_0x8c8209[_0x11a826(0x16a)][_0x11a826(0x19d)](_0x1c9cef);}),_0x286486[_0x5b7efe(0x1f2)][_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x8c8209),_0x4adb66[_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x286486),_0x2855e5[_0x5b7efe(0x16a)][_0x5b7efe(0x19d)](_0x4adb66);}else{const _0x598838=_0x3bf4e6,_0x38847d=new _0x518ec2(_0x12ec1b,_0x185991),_0x5ea16c=new _0x3a98da(_0x12ec1b);_0x5ea16c[_0x5b7efe(0x1d4)]({'label':_0x598838[_0x5b7efe(0x1fe)],'icon':_0x598838[_0x5b7efe(0x204)],'role':_0x5b7efe(0x202),'isEnabled':_0x598838[_0x5b7efe(0x17d)]}),_0x5ea16c['on'](_0x5b7efe(0x1dd),()=>{const _0x4e5716=_0x5b7efe;this[_0x4e5716(0x1ad)](_0x598838);}),_0x5ea16c[_0x5b7efe(0x1e9)](_0x5b7efe(0x1dd))['to'](_0x185991),_0x38847d[_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x5ea16c),_0x2855e5[_0x5b7efe(0x16a)][_0x5b7efe(0x19d)](_0x38847d);}});const _0x1d9007=Object[_0x5a9648(0x1a3)](AIQuickActionTypeToPluginName)[_0x5a9648(0x1b6)](_0x3c92e8=>this[_0x5a9648(0x17f)][_0x5a9648(0x184)][_0x5a9648(0x1df)](_0x3c92e8));return _0x185991[_0x5a9648(0x1d4)]({'isEnabled':_0x1d9007}),_0x185991[_0x5a9648(0x1f2)][_0x5a9648(0x1c8)][_0x5a9648(0x19d)](_0x2855e5),_0x185991;});}[_0x31719b(0x1ad)](_0x5da7d0){const _0x3d1ca0=_0x31719b,_0xc592d0=this[_0x3d1ca0(0x17f)];_0xc592d0[_0x3d1ca0(0x1e2)][_0x3d1ca0(0x1b9)][_0x3d1ca0(0x1bd)](),_0xc592d0[_0x3d1ca0(0x1ab)][_0x3d1ca0(0x1dd)](_0x3d1ca0(0x1ca),_0x5da7d0);const _0x1bbdaa=_0xc592d0['ui'][_0x3d1ca0(0x1b9)][_0x3d1ca0(0x1ce)];_0x1bbdaa&&_0x1bbdaa[_0x3d1ca0(0x190)]&&_0x1bbdaa[_0x3d1ca0(0x190)]();}}
|
|
23
|
+
const _0x43ea7f=_0x54ad;(function(_0x3d3344,_0x38f607){const _0x4396e7=_0x54ad,_0xbb8f63=_0x3d3344();while(!![]){try{const _0x382826=parseInt(_0x4396e7(0x179))/0x1+parseInt(_0x4396e7(0xef))/0x2*(-parseInt(_0x4396e7(0x144))/0x3)+-parseInt(_0x4396e7(0x168))/0x4*(-parseInt(_0x4396e7(0xf9))/0x5)+parseInt(_0x4396e7(0x105))/0x6*(parseInt(_0x4396e7(0x138))/0x7)+-parseInt(_0x4396e7(0x146))/0x8+-parseInt(_0x4396e7(0xe7))/0x9+parseInt(_0x4396e7(0x125))/0xa;if(_0x382826===_0x38f607)break;else _0xbb8f63['push'](_0xbb8f63['shift']());}catch(_0x402809){_0xbb8f63['push'](_0xbb8f63['shift']());}}}(_0x524e,0xd6a78));import{IconAIAdjustLength as _0x3a0ec3,IconAIChangeTone as _0x5471a6,IconAIChatCommands as _0x5b3d32,IconAIContinueWriting as _0x5bf661,IconAIGrammarCheck as _0x50cde9,IconAIImproveWriting as _0x24d58e,IconAIOther as _0x57fc9b,IconAIQuickActions as _0x3e4678,IconAITranslate as _0xe7ced5}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x38158c}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ceb3e,logError as _0x596a0b}from'ckeditor5/src/utils.js';import{getTranslation as _0x466751}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xeb777d}from'./ui/aiquickactionsdropdowncreator.js';function _0x54ad(_0x3578de,_0x195316){const _0x524e1e=_0x524e();return _0x54ad=function(_0x54adbe,_0x294067){_0x54adbe=_0x54adbe-0xdb;let _0x46dd69=_0x524e1e[_0x54adbe];return _0x46dd69;},_0x54ad(_0x3578de,_0x195316);}import{aiQuickActionsButtonCreator as _0x2e32f2}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4684d7,BalloonToolbar as _0x52367f,MenuBarMenuView as _0x574203,MenuBarMenuListView as _0xd53a66,MenuBarMenuListItemView as _0x7236c3,MenuBarMenuListItemButtonView as _0x306f8d}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x45d7aa}from'../aicore/model/aimodels.js';const oe=_0x43ea7f(0xdf),ae=_0x43ea7f(0xfe),se=_0x43ea7f(0x11f);export var AIQuickActionType;!function(_0x4b550a){const _0xfe9d7f=_0x43ea7f;_0x4b550a[_0xfe9d7f(0xdc)]=_0xfe9d7f(0xdc),_0x4b550a[_0xfe9d7f(0x112)]=_0xfe9d7f(0x112),_0x4b550a[_0xfe9d7f(0x121)]=_0xfe9d7f(0x121);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x37f253){const _0x82ce0f=_0x43ea7f;_0x37f253[_0x82ce0f(0xdc)]=_0x82ce0f(0x10b),_0x37f253[_0x82ce0f(0x112)]=_0x82ce0f(0xed),_0x37f253[_0x82ce0f(0x121)]=_0x82ce0f(0x101);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x524e(){const _0x310ca9=['_initializeQuickActionsMenuBar','explain','_initializeQuickActionsComponents','translate','make-tone-direct','improve-writing','continue','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_MORE_CASUAL','717692cNluXQ','AI_QUICK_ACTIONS_ADJUST_LENGTH','menuBarView','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_executeQuickAction','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_CHANGE_TONE','commands','close','AI_QUICK_ACTIONS_HEADING','label','portuguese','componentFactory','translate-to-portuguese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','italian','1125040elXgkt','translate-to-chinese','_quickActionsDefinition','some','german','CHAT','make-longer','attachToDom','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','English','requires','icon','AIQuickActionsUI','spanish','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','12896622BzJLdH','length','filter','has','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AIActions','isOfficialPlugin','1359444HSogtM','AI_QUICK_ACTIONS_CONTINUE_WRITING','english','displayedPrompt','fix-grammar','children','execute','forEach','AI_QUICK_ACTIONS_CHAT_COMMANDS','translate-to-italian','20bHokgT','aiQuickAction','DisplayNames','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','adjust-length','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_MAKE_LONGER','ai.chat.models.displayedModels','AIReviewMode','translate-to-russian','set','AIConnector','87486CzIcju','change-tone','actions','AI_QUICK_ACTIONS_MORE_FRIENDLY','push','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIChat','AI_QUICK_ACTIONS_EXPLAIN','isEnabled','ai.quickActions.isSearchEnabled','translate-to-english','values','make-tone-professional','ACTION','highlight-key-points','get','locale','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','config','translate-to-french','_getDefaultAndCustomActions','make-tone-casual','editor','replace','chat-commands','AI_QUICK_ACTIONS_MORE_DIRECT','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','focus','REVIEW','aiQuickActions','editing','model','20311250uHQTyW','translate-to-japanese','_initializeQuickActionsDropdown','french','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ai.quickActions.extraCommands','includes','pluginName','AI_QUICK_ACTIONS_ASK_AI','russian','find','uiLanguage','getAvailableModels','summarize','_shouldIncludeAction','AI_QUICK_ACTIONS_OTHER','make-tone-friendly','AI_QUICK_ACTIONS_MAKE_SHORTER','280fgvsrU','menuitem','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-korean','ai.chat.context.document.enabled','buttonView','getDefaultQuickActions','menu','japanese','AI_QUICK_ACTIONS_SUMMARIZE','3jubFvq','_initializeQuickActionsComponentsAndCommands','11721544ZVIgqR','make-tone-confident','translate-to-german','chinese','ai.quickActions.removeCommands','type','add','init','view','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','korean','language','delegate','isPremiumPlugin','items','map','menuBar:aiQuickActions','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','panelView','make-shorter','plugins','ai-quick-actions-unavailable-model','other','message','ask-ai'];_0x524e=function(){return _0x310ca9;};return _0x524e();}export class AIQuickActionsUI extends _0x38158c{static get[_0x43ea7f(0xe1)](){return[_0x52367f];}static get[_0x43ea7f(0x12d)](){const _0x3a8cb4=_0x43ea7f;return _0x3a8cb4(0xe3);}static get[_0x43ea7f(0xee)](){return!0x0;}static get[_0x43ea7f(0x153)](){return!0x0;}async[_0x43ea7f(0x14d)](){const _0xf84fb7=_0x43ea7f,_0xfdb86d=await this[_0xf84fb7(0x119)]();this[_0xf84fb7(0x16e)](_0xfdb86d),this[_0xf84fb7(0x145)]();}static[_0x43ea7f(0x140)](_0x27e200){return function(_0x4c2f11){const _0x565fc0=_0x54ad,_0x46c642=new Intl[(_0x565fc0(0xfb))](['en'],{'type':_0x565fc0(0x151)})['of'](_0x4c2f11[_0x565fc0(0x131)]),_0x32d8be=_0x46c642||_0x565fc0(0xe0),_0x2425c6=[{'id':_0x565fc0(0x15e),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x12e)),'type':AIQuickActionType[_0x565fc0(0xdc)],'icon':_0x5b3d32},{'id':_0x565fc0(0x11d),'label':_0x466751(_0x4c2f11,_0x565fc0(0xf7)),'icon':_0x5b3d32,'actions':[{'id':_0x565fc0(0x160),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x10c)),'prompt':oe[_0x565fc0(0x11c)]('%0',_0x32d8be),'type':AIQuickActionType[_0x565fc0(0xdc)]},{'id':_0x565fc0(0x133),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x143)),'prompt':ae[_0x565fc0(0x11c)]('%0',_0x32d8be),'type':AIQuickActionType[_0x565fc0(0xdc)]},{'id':_0x565fc0(0x113),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x14f)),'prompt':se[_0x565fc0(0x11c)]('%0',_0x32d8be),'type':AIQuickActionType[_0x565fc0(0xdc)]}]},{'id':_0x565fc0(0x164),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x16b)),'type':AIQuickActionType[_0x565fc0(0x112)],'icon':_0x24d58e},{'id':_0x565fc0(0x165),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xf0)),'type':AIQuickActionType[_0x565fc0(0x112)],'icon':_0x5bf661},{'id':_0x565fc0(0xf3),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x157)),'type':AIQuickActionType[_0x565fc0(0x112)],'icon':_0x50cde9},{'id':_0x565fc0(0xfd),'label':_0x466751(_0x4c2f11,_0x565fc0(0x169)),'icon':_0x3a0ec3,'actions':[{'id':_0x565fc0(0x159),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x137)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0xdd),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xff)),'type':AIQuickActionType[_0x565fc0(0x112)]}]},{'id':_0x565fc0(0x106),'label':_0x466751(_0x4c2f11,_0x565fc0(0x16f)),'icon':_0x5471a6,'actions':[{'id':_0x565fc0(0x11a),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x167)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0x163),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x11e)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0x136),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x108)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0x147),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x166)),'type':AIQuickActionType[_0x565fc0(0x112)]},{'id':_0x565fc0(0x111),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x177)),'type':AIQuickActionType[_0x565fc0(0x112)]}]},{'id':_0x565fc0(0x162),'label':_0x466751(_0x4c2f11,_0x565fc0(0x13b)),'icon':_0xe7ced5,'actions':[{'id':_0x565fc0(0x10f),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xeb)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0xf1)}},{'id':_0x565fc0(0x17a),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x12a)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x149)}},{'id':_0x565fc0(0x129),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x13a)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0xe4)}},{'id':_0x565fc0(0x148),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xe6)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0xdb)}},{'id':_0x565fc0(0x118),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x16c)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x128)}},{'id':_0x565fc0(0x126),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x13c)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x142)}},{'id':_0x565fc0(0x176),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x116)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x174)}},{'id':_0x565fc0(0x13d),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xec)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x150)}},{'id':_0x565fc0(0xf8),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0x10a)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x178)}},{'id':_0x565fc0(0x102),'displayedPrompt':_0x466751(_0x4c2f11,_0x565fc0(0xfc)),'type':AIQuickActionType[_0x565fc0(0x112)],'actionName':_0x565fc0(0x162),'args':{'language':_0x565fc0(0x12f)}}]},{'id':_0x565fc0(0x15c),'label':_0x466751(_0x4c2f11,_0x565fc0(0x135)),'icon':_0x57fc9b,'actions':[]}];return _0x2425c6;}(_0x27e200);}async[_0x43ea7f(0x119)](){const _0x5267ad=_0x43ea7f,_0x2d42d1=AIQuickActionsUI[_0x5267ad(0x140)](this[_0x5267ad(0x11b)][_0x5267ad(0x115)]),_0x3a47b1=this[_0x5267ad(0x11b)][_0x5267ad(0x117)][_0x5267ad(0x114)](_0x5267ad(0x12b))||[];let _0xf68b32=[];try{_0xf68b32=await new _0x45d7aa({'connector':this[_0x5267ad(0x11b)][_0x5267ad(0x15a)][_0x5267ad(0x114)](_0x5267ad(0x104)),'availableModels':this[_0x5267ad(0x11b)][_0x5267ad(0x117)][_0x5267ad(0x114)](_0x5267ad(0x100)),'locale':this[_0x5267ad(0x11b)][_0x5267ad(0x115)]})[_0x5267ad(0x132)]();}catch(_0xfcea){const _0xd76d80=new _0x3ceb3e(_0x5267ad(0xe5),this,{'error':_0xfcea});_0x596a0b(_0xd76d80[_0x5267ad(0x15d)]);}finally{const _0x2d3544=_0x3a47b1[_0x5267ad(0x155)](_0x309aeb=>({..._0x309aeb,'icon':void 0x0}));_0x2d42d1[_0x5267ad(0x130)](_0x3dd321=>_0x5267ad(0x15c)===_0x3dd321['id'])[_0x5267ad(0x107)][_0x5267ad(0x109)](..._0x2d3544),_0x2d42d1[_0x5267ad(0xf6)](_0x5343b3=>{const _0x480d34=_0x5267ad;if(_0x480d34(0x107)in _0x5343b3)_0x5343b3[_0x480d34(0x107)][_0x480d34(0xf6)](_0x43a418=>{const _0x4b3c43=_0x480d34;if(_0x43a418[_0x4b3c43(0x10d)]=!!_0xf68b32[_0x4b3c43(0x130)](_0xfc2c27=>_0xfc2c27['id']===_0x43a418[_0x4b3c43(0x124)])||void 0x0===_0x43a418[_0x4b3c43(0x124)],!_0x43a418[_0x4b3c43(0x10d)]){const _0x275fd6=new _0x3ceb3e(_0x4b3c43(0x15b),this,{'actionId':_0x43a418['id'],'modelId':_0x43a418[_0x4b3c43(0x124)]});_0x596a0b(_0x275fd6[_0x4b3c43(0x15d)]);}});else{if(_0x5343b3[_0x480d34(0x10d)]=!!_0xf68b32[_0x480d34(0x130)](_0x4591f8=>_0x4591f8['id']===_0x5343b3[_0x480d34(0x124)])||void 0x0===_0x5343b3[_0x480d34(0x124)],!_0x5343b3[_0x480d34(0x10d)]){const _0x1e40cc=new _0x3ceb3e(_0x480d34(0x15b),this,{'actionId':_0x5343b3['id'],'modelId':_0x5343b3[_0x480d34(0x124)]});_0x596a0b(_0x1e40cc[_0x480d34(0x15d)]);}}});}return _0x2d42d1;}[_0x43ea7f(0x145)](){const _0x23079b=_0x43ea7f,_0x576a44=new _0x4684d7(this[_0x23079b(0x11b)][_0x23079b(0x115)]);_0x576a44[_0x23079b(0xde)](),this[_0x23079b(0x127)](_0x576a44),this[_0x23079b(0x15f)](),this[_0x23079b(0x161)](_0x576a44);}[_0x43ea7f(0x127)](_0xd08d8){const _0x1d6ad7=_0x43ea7f,_0x18516d=this[_0x1d6ad7(0x11b)][_0x1d6ad7(0x117)][_0x1d6ad7(0x114)](_0x1d6ad7(0x10e))??!0x0;this[_0x1d6ad7(0x11b)]['ui'][_0x1d6ad7(0x175)][_0x1d6ad7(0x14c)](_0x1d6ad7(0x122),_0xeb777d({'editor':this[_0x1d6ad7(0x11b)],'content':this[_0x1d6ad7(0x17b)],'buttonDefinition':{'icon':_0x3e4678,'label':_0x466751(this[_0x1d6ad7(0x11b)][_0x1d6ad7(0x115)],_0x1d6ad7(0x172))},'bodyCollection':_0xd08d8,'hasSearch':_0x18516d}));}[_0x43ea7f(0x16e)](_0x3de680){const _0x1fd4c0=_0x43ea7f;this[_0x1fd4c0(0x17b)]=_0x3de680[_0x1fd4c0(0x155)](_0xb00bb3=>{const _0x1760d9=_0x1fd4c0;if(_0x1760d9(0x107)in _0xb00bb3){const _0x1a5138=_0xb00bb3;return{..._0x1a5138,'actions':_0x1a5138[_0x1760d9(0x107)][_0x1760d9(0x155)](_0x7eab2e=>{const {actions:_0x5e403a,..._0x46a3b9}=_0x1a5138;return{..._0x7eab2e,'parent':_0x46a3b9};})[_0x1760d9(0xe9)](_0x34a6d9=>this[_0x1760d9(0x134)](_0x34a6d9))};}return _0xb00bb3;})[_0x1fd4c0(0xe9)](_0x3f46e7=>_0x1fd4c0(0x107)in _0x3f46e7?_0x3f46e7[_0x1fd4c0(0x107)][_0x1fd4c0(0xe8)]>0x0:this[_0x1fd4c0(0x134)](_0x3f46e7));}[_0x43ea7f(0x134)](_0xd83e1f){const _0x248a60=_0x43ea7f,_0x27ef6e=this[_0x248a60(0x11b)][_0x248a60(0x117)][_0x248a60(0x114)](_0x248a60(0x14a))||[];return this[_0x248a60(0x11b)][_0x248a60(0x15a)][_0x248a60(0xea)](AIQuickActionTypeToPluginName[_0xd83e1f[_0x248a60(0x14b)]])&&!_0x27ef6e[_0x248a60(0x12c)](_0xd83e1f['id'])&&!(_0xd83e1f[_0x248a60(0x14b)]===AIQuickActionType[_0x248a60(0xdc)]&&!0x1===this[_0x248a60(0x11b)][_0x248a60(0x117)][_0x248a60(0x114)](_0x248a60(0x13e)));}[_0x43ea7f(0x161)](_0x43d201){const _0x5a2dd8=_0x43ea7f;this[_0x5a2dd8(0x17b)][_0x5a2dd8(0xf6)](_0x55b132=>{const _0x4f281e=_0x5a2dd8;if(_0x4f281e(0x107)in _0x55b132){const _0x3a6488=_0xeb777d({'editor':this[_0x4f281e(0x11b)],'content':_0x55b132[_0x4f281e(0x107)],'buttonDefinition':_0x55b132,'bodyCollection':_0x43d201});this[_0x4f281e(0x11b)]['ui'][_0x4f281e(0x175)][_0x4f281e(0x14c)](_0x55b132['id'],_0x3a6488),_0x55b132[_0x4f281e(0x107)][_0x4f281e(0xf6)](_0x171955=>{const _0x5f4612=_0x4f281e,_0x4a30d1=_0x2e32f2({'editor':this[_0x5f4612(0x11b)],'action':_0x171955});this[_0x5f4612(0x11b)]['ui'][_0x5f4612(0x175)][_0x5f4612(0x14c)](_0x171955['id'],_0x4a30d1);});}else{const _0x3b7665=_0x2e32f2({'editor':this[_0x4f281e(0x11b)],'action':_0x55b132,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4f281e(0x11b)]['ui'][_0x4f281e(0x175)][_0x4f281e(0x14c)](_0x55b132['id'],_0x3b7665);}});}[_0x43ea7f(0x15f)](){const _0x271885=_0x43ea7f;this[_0x271885(0x11b)]['ui'][_0x271885(0x175)][_0x271885(0x14c)](_0x271885(0x156),_0x4ac09f=>{const _0x59e5cc=_0x271885,_0x54ad76=new _0x574203(_0x4ac09f),_0x1a4fd3=_0x466751(_0x4ac09f,_0x59e5cc(0x172));_0x54ad76[_0x59e5cc(0x13f)][_0x59e5cc(0x103)]({'label':_0x1a4fd3,'icon':_0x3e4678});const _0x2e4cca=new _0xd53a66(_0x4ac09f);_0x2e4cca[_0x59e5cc(0x103)]({'ariaLabel':_0x1a4fd3,'role':_0x59e5cc(0x141)}),this[_0x59e5cc(0x17b)][_0x59e5cc(0xf6)](_0x1321f8=>{const _0x116569=_0x59e5cc;if(_0x116569(0x107)in _0x1321f8){const _0x4c33b1=_0x1321f8,_0x5d2b04=new _0x7236c3(_0x4ac09f,_0x54ad76),_0x280416=new _0x574203(_0x4ac09f),_0x17d024=new _0xd53a66(_0x4ac09f);_0x280416[_0x116569(0x13f)][_0x116569(0x103)]({'label':_0x4c33b1[_0x116569(0x173)],'icon':_0x4c33b1[_0x116569(0xe2)]}),_0x4c33b1[_0x116569(0x107)][_0x116569(0xf6)](_0x3a1b09=>{const _0x4e3add=_0x116569,_0x1ece58=new _0x7236c3(_0x4ac09f,_0x280416),_0x16cb40=new _0x306f8d(_0x4ac09f);_0x16cb40[_0x4e3add(0x103)]({'label':_0x3a1b09[_0x4e3add(0xf2)],'icon':_0x3a1b09[_0x4e3add(0xe2)],'role':_0x4e3add(0x139),'isEnabled':_0x3a1b09[_0x4e3add(0x10d)]}),_0x16cb40['on'](_0x4e3add(0xf5),()=>{const _0xce97bb=_0x4e3add;this[_0xce97bb(0x16d)](_0x3a1b09);}),_0x16cb40[_0x4e3add(0x152)](_0x4e3add(0xf5))['to'](_0x280416),_0x1ece58[_0x4e3add(0xf4)][_0x4e3add(0x14c)](_0x16cb40),_0x17d024[_0x4e3add(0x154)][_0x4e3add(0x14c)](_0x1ece58);}),_0x280416[_0x116569(0x158)][_0x116569(0xf4)][_0x116569(0x14c)](_0x17d024),_0x5d2b04[_0x116569(0xf4)][_0x116569(0x14c)](_0x280416),_0x2e4cca[_0x116569(0x154)][_0x116569(0x14c)](_0x5d2b04);}else{const _0xfd7ab=_0x1321f8,_0x5a872c=new _0x7236c3(_0x4ac09f,_0x54ad76),_0x1b6ef5=new _0x306f8d(_0x4ac09f);_0x1b6ef5[_0x116569(0x103)]({'label':_0xfd7ab[_0x116569(0xf2)],'icon':_0xfd7ab[_0x116569(0xe2)],'role':_0x116569(0x139),'isEnabled':_0xfd7ab[_0x116569(0x10d)]}),_0x1b6ef5['on'](_0x116569(0xf5),()=>{const _0x21ab34=_0x116569;this[_0x21ab34(0x16d)](_0xfd7ab);}),_0x1b6ef5[_0x116569(0x152)](_0x116569(0xf5))['to'](_0x54ad76),_0x5a872c[_0x116569(0xf4)][_0x116569(0x14c)](_0x1b6ef5),_0x2e4cca[_0x116569(0x154)][_0x116569(0x14c)](_0x5a872c);}});const _0x243c4d=Object[_0x59e5cc(0x110)](AIQuickActionTypeToPluginName)[_0x59e5cc(0x17c)](_0x3fc8c7=>this[_0x59e5cc(0x11b)][_0x59e5cc(0x15a)][_0x59e5cc(0xea)](_0x3fc8c7));return _0x54ad76[_0x59e5cc(0x103)]({'isEnabled':_0x243c4d}),_0x54ad76[_0x59e5cc(0x158)][_0x59e5cc(0xf4)][_0x59e5cc(0x14c)](_0x2e4cca),_0x54ad76;});}[_0x43ea7f(0x16d)](_0x34f50c){const _0x3c36ca=_0x43ea7f,_0x29940a=this[_0x3c36ca(0x11b)];_0x29940a[_0x3c36ca(0x123)][_0x3c36ca(0x14e)][_0x3c36ca(0x120)](),_0x29940a[_0x3c36ca(0x170)][_0x3c36ca(0xf5)](_0x3c36ca(0xfa),_0x34f50c);const _0xc75076=_0x29940a['ui'][_0x3c36ca(0x14e)][_0x3c36ca(0x16a)];_0xc75076&&_0xc75076[_0x3c36ca(0x171)]&&_0xc75076[_0x3c36ca(0x171)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2798(_0x45d018,_0x25dd27){const _0x284eaa=_0x284e();return _0x2798=function(_0x2798b7,_0x917f90){_0x2798b7=_0x2798b7-0x147;let _0x45aeb6=_0x284eaa[_0x2798b7];return _0x45aeb6;},_0x2798(_0x45d018,_0x25dd27);}function _0x284e(){const _0x8b2eb8=['icon','parent','10AsCZxM','view','extendTemplate','set','execute','displayedPrompt','8EcnfQj','1148157hHUnkK','menuitem','2068415PrGgfa','commands','locale','ck-ai-quick-actions-button','4hwDSFq','isEnabled','editing','12833780AYAlAc','117347KwkqlL','focus','aiQuickAction','1234281ZuUcqr','4710948abBnFT','bindTemplate','2453668TICLEO'];_0x284e=function(){return _0x8b2eb8;};return _0x284e();}(function(_0x154a35,_0x550a2a){const _0x44d9a4=_0x2798,_0x218565=_0x154a35();while(!![]){try{const _0x2e2e89=-parseInt(_0x44d9a4(0x14d))/0x1*(parseInt(_0x44d9a4(0x156))/0x2)+parseInt(_0x44d9a4(0x150))/0x3+-parseInt(_0x44d9a4(0x149))/0x4*(-parseInt(_0x44d9a4(0x15f))/0x5)+-parseInt(_0x44d9a4(0x151))/0x6+-parseInt(_0x44d9a4(0x153))/0x7*(parseInt(_0x44d9a4(0x15c))/0x8)+parseInt(_0x44d9a4(0x15d))/0x9+parseInt(_0x44d9a4(0x14c))/0xa;if(_0x2e2e89===_0x550a2a)break;else _0x218565['push'](_0x218565['shift']());}catch(_0x219be3){_0x218565['push'](_0x218565['shift']());}}}(_0x284e,0x7d66c));import{ButtonView as _0xb1afa9}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xdca907}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x54854d){const {editor:_0x2278e1,action:_0x42d285,withText:_0x4e126d=!0x1,withIcon:_0x3697a1=!0x0,isInDropdown:_0x1fce4c=!0x0,shouldPreventFocus:_0x43397c=!0x1}=_0x54854d;return()=>{const _0x3e91e9=_0x2798,_0x1ac4ac=_0x2278e1[_0x3e91e9(0x147)],_0x150cab=new _0xb1afa9(_0x1ac4ac),_0x3324ec=_0x150cab[_0x3e91e9(0x152)];_0x1fce4c&&_0x150cab[_0x3e91e9(0x158)]({'on':{'mouseenter':_0x3324ec['to'](()=>{const _0x570fb3=_0x3e91e9;_0x43397c&&_0x43397c()||_0x150cab[_0x570fb3(0x14e)]();})}});const _0x442917=_0x42d285[_0x3e91e9(0x154)]??_0x42d285[_0x3e91e9(0x155)]?.[_0x3e91e9(0x154)];return _0x150cab[_0x3e91e9(0x159)]({'label':_0x42d285[_0x3e91e9(0x15b)],'withText':_0x4e126d,'role':_0x3e91e9(0x15e),'icon':_0x3697a1?_0x442917??_0xdca907:void 0x0,'tooltip':!_0x4e126d,'class':_0x3e91e9(0x148),'isEnabled':_0x42d285[_0x3e91e9(0x14a)]}),_0x150cab['on'](_0x3e91e9(0x15a),()=>{const _0x40bd28=_0x3e91e9;_0x2278e1[_0x40bd28(0x14b)][_0x40bd28(0x157)][_0x40bd28(0x14e)](),_0x2278e1[_0x40bd28(0x160)][_0x40bd28(0x15a)](_0x40bd28(0x14f),_0x42d285);}),_0x150cab;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x358435=_0x199e;(function(_0x223ee2,_0xbdb569){const _0x27f790=_0x199e,_0x489b11=_0x223ee2();while(!![]){try{const _0x53eb18=parseInt(_0x27f790(0x210))/0x1*(parseInt(_0x27f790(0x22d))/0x2)+parseInt(_0x27f790(0x227))/0x3+parseInt(_0x27f790(0x1b4))/0x4*(parseInt(_0x27f790(0x1fa))/0x5)+-parseInt(_0x27f790(0x1df))/0x6+parseInt(_0x27f790(0x1ec))/0x7*(-parseInt(_0x27f790(0x20b))/0x8)+parseInt(_0x27f790(0x21f))/0x9+-parseInt(_0x27f790(0x213))/0xa;if(_0x53eb18===_0xbdb569)break;else _0x489b11['push'](_0x489b11['shift']());}catch(_0x5ad24d){_0x489b11['push'](_0x489b11['shift']());}}}(_0x2ba7,0x46b91));function _0x2ba7(){const _0x12ab97=['content','ck-rounded-corners','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchTextView','_showNestedPanel','_openNestedPanels','execute','_createSearchResultActionRow','contains','queryView','872czRaCl','isEnabled','hide','detachFromDom','menu','22583whhTEC','focusTracker','ck-ai-quick-actions-group-button','6188950iQZYzJ','uiLanguageDirection','_isMovingToNestedMenu','set','_getButtonKeystroke','setTemplate','ck-dropdown-menu-list','ck-ai-quick-actions-search-result-button_with-group','show','text','push','activeElement','3427920JVEBFr','ArrowRight','ck-ai-quick-actions-group-list','displayedPrompt','_createActionGroupButton','ck-ai-quick-actions-search-result__content','.ck-ai-quick-actions-group-list','_bodyCollection','649872QMUFHq','aiQuickAction','ck-ai-quick-actions-search-result__group-row','addEventListener','parent','optionsListView','46UhdPlo','children','keystrokes','closest','pin','first','some','bindTemplate','_getPanelKeystroke','_createActionButton','isOn','menuitem','_searchTextView','_createSearchResultGroupedActionButton','_createSearchResultContentView','4dxwIgA','destroy','_allSearchableItems','relatedTarget','rtl','role','_createSearchResultActionButton','_focusables','_createSearchResultGroupRow','ck-reset_all','element','bind','fieldView','ck-ai-quick-actions-button__group-icon','_setupActionButtonExecution','commands','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','AI_QUICK_ACTIONS_SEARCH','focus','ArrowLeft','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','locale','_createGroupActionsList','resetSearch','ck-ai-quick-actions-search-result-button','items','get','.ck-ai-quick-actions-group-button','view','delete','ck-dropdown-menu__nested-menu__panel','focusCycler','.ck-ai-quick-actions-group-panel','_handleSearchResultButtonClick','editing','_hideNestedPanel','forEach','ck-button','ck-ai-quick-actions-button_with-group','_setupGroupMenuBehavior','extendTemplate','ck-ai-quick-actions-button_with-group__close-paren','addMany','2413074AVcjWw','clear','span','ck-ai-quick-actions-button','key','ck-ai-quick-actions','ck-ai-quick-actions-button_with-group__open-paren','_createListItems','ck-ai-quick-actions-search-result__action-row','_handlePanelKeydown','_isSearchFocused','ck-ai-quick-actions-group-panel','add','4333xYsCce','fire','_hideAllNestedPanels','ck-ai-quick-actions-search','div','chain','actions','_createSearchResultIndividualActionButton','mouseleave','ck-button_with-text','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','button','isVisible','ownerDocument','1306565rPbveT','label','icon','eastSouth','reset','render','_hasSearch'];_0x2ba7=function(){return _0x12ab97;};return _0x2ba7();}import{View as _0x1cdfff,ListItemView as _0x19257c,ListView as _0x11ebbf,BalloonPanelView as _0x5488a3,DropdownMenuPanelPositioningFunctions as _0x5ec280,ViewCollection as _0x4d12b8,FocusCycler as _0x32f33b,ButtonView as _0x132777,IconView as _0x5ce53d,HighlightedTextView as _0xb26aba,ButtonLabelWithHighlightView as _0x154ca3,SearchTextView as _0x3fa9a5}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3fb04c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x238981,KeystrokeHandler as _0x56a12f}from'ckeditor5/src/utils.js';function _0x199e(_0x179dd2,_0x14ca8a){const _0x2ba7cd=_0x2ba7();return _0x199e=function(_0x199e3f,_0x4592b4){_0x199e3f=_0x199e3f-0x1a9;let _0x1895aa=_0x2ba7cd[_0x199e3f];return _0x1895aa;},_0x199e(_0x179dd2,_0x14ca8a);}import{aiQuickActionsButtonCreator as _0x4e2a8b}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x666bb7}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x378738}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x46b008}from'./aiquickactionsfilteredlistview.js';const ys=_0x358435(0x20f),Ts=_0x358435(0x1b0);export class AIQuickActionsDropdownContentView extends _0x1cdfff{[_0x358435(0x226)];[_0x358435(0x22c)];[_0x358435(0x1b1)]=null;[_0x358435(0x1b6)]=[];[_0x358435(0x22e)];[_0x358435(0x211)];[_0x358435(0x22f)];[_0x358435(0x1bb)];[_0x358435(0x1d3)];[_0x358435(0x206)]=new Set();[_0x358435(0x200)];constructor(_0xb61dd6,_0x2f424f,_0x13afaa,_0x1ef187,_0x3f6b14=!0x1){const _0x1b3d49=_0x358435,_0x5e366f=_0xb61dd6[_0x1b3d49(0x1c9)];super(_0x5e366f),this[_0x1b3d49(0x226)]=_0x1ef187,this[_0x1b3d49(0x200)]=_0x3f6b14;const _0x513aac=this[_0x1b3d49(0x1e6)](_0xb61dd6,_0x2f424f,_0x13afaa);this[_0x1b3d49(0x22c)]=new _0x46b008(_0x5e366f,_0x513aac,this[_0x1b3d49(0x1b6)]),this[_0x1b3d49(0x22c)][_0x1b3d49(0x1b9)]=ys,this[_0x1b3d49(0x22c)][_0x1b3d49(0x1cd)][_0x1b3d49(0x1de)](_0x513aac),this[_0x1b3d49(0x211)]=new _0x238981(),this[_0x1b3d49(0x22f)]=new _0x56a12f(),_0x3f6b14&&(this[_0x1b3d49(0x1b1)]=this[_0x1b3d49(0x204)]()),this[_0x1b3d49(0x1bb)]=_0x513aac,this[_0x1b3d49(0x1d3)]=new _0x32f33b({'focusables':this[_0x1b3d49(0x1bb)],'focusTracker':this[_0x1b3d49(0x211)],'keystrokeHandler':this[_0x1b3d49(0x22f)]}),_0x3f6b14&&this[_0x1b3d49(0x1b1)]&&this[_0x1b3d49(0x1d3)][_0x1b3d49(0x1f1)](this[_0x1b3d49(0x1b1)][_0x1b3d49(0x1d3)]);const _0x4a07e2=_0x3f6b14&&this[_0x1b3d49(0x1b1)]?[this[_0x1b3d49(0x1b1)]]:[this[_0x1b3d49(0x22c)]];this[_0x1b3d49(0x22e)]=new _0x4d12b8(_0x4a07e2),this[_0x1b3d49(0x218)]({'tag':_0x1b3d49(0x1f0),'attributes':{'class':['ck',_0x1b3d49(0x1bd),_0x1b3d49(0x1e4),_0x1b3d49(0x202)],'dir':_0x5e366f[_0x1b3d49(0x214)]},'children':this[_0x1b3d49(0x22e)]});}[_0x358435(0x204)](){const _0x5d8bda=_0x358435;return new _0x3fa9a5(this[_0x5d8bda(0x1c9)],{'filteredView':this[_0x5d8bda(0x22c)],'queryView':{'label':_0x378738(this[_0x5d8bda(0x1c9)],_0x5d8bda(0x1c5))},'class':_0x5d8bda(0x1ef),'infoView':{'text':{'notFound':{'primary':_0x378738(this[_0x5d8bda(0x1c9)],_0x5d8bda(0x1c4))}}}});}[_0x358435(0x1e9)](){const _0x37f920=_0x358435;if(!this[_0x37f920(0x200)]||!this[_0x37f920(0x1b1)]||!this[_0x37f920(0x1b1)][_0x37f920(0x20a)][_0x37f920(0x1c0)][_0x37f920(0x1be)])return!0x1;const _0x4016b8=this[_0x37f920(0x1b1)][_0x37f920(0x20a)][_0x37f920(0x1c0)][_0x37f920(0x1be)][_0x37f920(0x1f9)]?.[_0x37f920(0x21e)];return this[_0x37f920(0x1b1)][_0x37f920(0x20a)][_0x37f920(0x1c0)][_0x37f920(0x1be)][_0x37f920(0x209)](_0x4016b8);}[_0x358435(0x1e6)](_0x2ebc70,_0x312ed3,_0x52bbdd){const _0x21ff79=_0x358435,_0x2f3f10=new _0x4d12b8();return _0x312ed3[_0x21ff79(0x1d8)](_0xe9379a=>{const _0x30e8ef=_0x21ff79;if(_0x30e8ef(0x1f2)in _0xe9379a){const {listItem:_0x247ee0}=this[_0x30e8ef(0x223)](_0x2ebc70,_0xe9379a,_0x52bbdd);_0x2f3f10[_0x30e8ef(0x1eb)](_0x247ee0),_0xe9379a[_0x30e8ef(0x1f2)][_0x30e8ef(0x1d8)](_0x5dbf72=>{const _0x529bb2=_0x30e8ef;this[_0x529bb2(0x1ae)](_0x2ebc70,_0x5dbf72,_0xe9379a[_0x529bb2(0x1fb)],_0xe9379a[_0x529bb2(0x1fc)]);const {listItem:_0x207c9a,highlightViews:_0x10a7f1}=this[_0x529bb2(0x1ba)](_0x2ebc70,_0x5dbf72,_0xe9379a[_0x529bb2(0x1fb)],_0xe9379a[_0x529bb2(0x1fc)]);this[_0x529bb2(0x1b6)][_0x529bb2(0x21d)]({'item':_0x207c9a,'label':_0x5dbf72[_0x529bb2(0x222)],'groupLabel':_0xe9379a[_0x529bb2(0x1fb)],'highlightViews':_0x10a7f1});});}else{const {listItem:_0x3b5b92}=this[_0x30e8ef(0x1ae)](_0x2ebc70,_0xe9379a);_0x2f3f10[_0x30e8ef(0x1eb)](_0x3b5b92);const _0x41aa07=_0x3b5b92[_0x30e8ef(0x22e)][_0x30e8ef(0x1aa)];if(_0x41aa07){const {listItem:_0x2b96b6,highlightViews:_0x4f5131}=this[_0x30e8ef(0x1ba)](_0x2ebc70,_0xe9379a);this[_0x30e8ef(0x1b6)][_0x30e8ef(0x21d)]({'item':_0x2b96b6,'label':_0x41aa07[_0x30e8ef(0x1fb)]||'','highlightViews':_0x4f5131});}}}),_0x2f3f10;}[_0x358435(0x1ae)](_0x3a5e56,_0x13d608,_0x362759,_0x40bf0c){const _0x4d6e7c=_0x358435,_0x5c42c5=new _0x19257c(this[_0x4d6e7c(0x1c9)]);if(_0x362759&&_0x40bf0c){const _0x5166ca=new _0x132777(this[_0x4d6e7c(0x1c9)]),_0x34c6a5=_0x5166ca[_0x4d6e7c(0x1ac)],_0x42de72=new _0xb26aba();_0x42de72[_0x4d6e7c(0x21c)]=_0x13d608[_0x4d6e7c(0x222)];const _0x133669=new _0xb26aba();_0x133669[_0x4d6e7c(0x21c)]=_0x362759;const _0x169426=new _0x5ce53d();_0x169426[_0x4d6e7c(0x201)]=_0x40bf0c,_0x169426[_0x4d6e7c(0x1dc)]({'attributes':{'class':_0x4d6e7c(0x1c1)}});const _0x3ee086=new _0x1cdfff(this[_0x4d6e7c(0x1c9)]);_0x3ee086[_0x4d6e7c(0x218)]({'tag':_0x4d6e7c(0x1e1),'attributes':{'class':_0x4d6e7c(0x1e5)},'children':[{'text':'\x20('}]});const _0x145867=new _0x1cdfff(this[_0x4d6e7c(0x1c9)]);return _0x145867[_0x4d6e7c(0x218)]({'tag':_0x4d6e7c(0x1e1),'attributes':{'class':_0x4d6e7c(0x1dd)},'children':[{'text':')'}]}),_0x5166ca[_0x4d6e7c(0x216)]({'label':_0x13d608[_0x4d6e7c(0x222)]+'\x20('+_0x362759+')','withText':!0x0,'role':_0x4d6e7c(0x1b0),'class':_0x4d6e7c(0x203),'tooltip':!0x1}),_0x5166ca[_0x4d6e7c(0x218)]({'tag':_0x4d6e7c(0x1f7),'attributes':{'class':['ck',_0x4d6e7c(0x1d9),_0x4d6e7c(0x1f5),_0x4d6e7c(0x1e2),_0x4d6e7c(0x1da)],'type':_0x4d6e7c(0x1f7),'role':_0x4d6e7c(0x1b0),'tabindex':'-1'},'children':[_0x42de72,_0x3ee086,_0x169426,_0x133669,_0x145867],'on':{'mouseenter':_0x34c6a5['to'](()=>{const _0x158c9d=_0x4d6e7c;this[_0x158c9d(0x1e9)]()||_0x5166ca[_0x158c9d(0x1c6)]();}),'click':_0x34c6a5['to'](()=>{const _0x53361f=_0x4d6e7c;_0x5166ca[_0x53361f(0x1ed)](_0x53361f(0x207));})}}),_0x5166ca['on'](_0x4d6e7c(0x207),()=>{const _0x1e5053=_0x4d6e7c;_0x3a5e56[_0x1e5053(0x1d6)][_0x1e5053(0x1d0)][_0x1e5053(0x1c6)](),_0x3a5e56[_0x1e5053(0x1c3)][_0x1e5053(0x207)](_0x1e5053(0x228),_0x13d608);}),_0x5c42c5[_0x4d6e7c(0x22e)][_0x4d6e7c(0x1eb)](_0x5166ca),{'listItem':_0x5c42c5,'highlightViews':[_0x42de72,_0x133669]};}{const _0x1584cb=new _0x154ca3(),_0x358249=new _0x132777(this[_0x4d6e7c(0x1c9)],_0x1584cb),_0x4cb36c=_0x358249[_0x4d6e7c(0x1ac)],_0x4f8a47=_0x13d608[_0x4d6e7c(0x1fc)]??_0x13d608[_0x4d6e7c(0x22b)]?.[_0x4d6e7c(0x1fc)],_0x533516=void 0x0!==_0x13d608[_0x4d6e7c(0x1fc)];return _0x358249[_0x4d6e7c(0x216)]({'label':_0x13d608[_0x4d6e7c(0x222)],'withText':!0x0,'role':_0x4d6e7c(0x1b0),'icon':_0x533516?_0x4f8a47??_0x3fb04c:void 0x0,'tooltip':!0x1,'class':_0x4d6e7c(0x1e2)}),_0x358249[_0x4d6e7c(0x1dc)]({'on':{'mouseenter':_0x4cb36c['to'](()=>{const _0x2ceb75=_0x4d6e7c;this[_0x2ceb75(0x1e9)]()||_0x358249[_0x2ceb75(0x1c6)]();})}}),_0x358249['on'](_0x4d6e7c(0x207),()=>{const _0x2ff09b=_0x4d6e7c;_0x3a5e56[_0x2ff09b(0x1d6)][_0x2ff09b(0x1d0)][_0x2ff09b(0x1c6)](),_0x3a5e56[_0x2ff09b(0x1c3)][_0x2ff09b(0x207)](_0x2ff09b(0x228),_0x13d608);}),_0x5c42c5[_0x4d6e7c(0x22e)][_0x4d6e7c(0x1eb)](_0x358249),{'listItem':_0x5c42c5,'highlightViews':[_0x1584cb]};}}[_0x358435(0x1ba)](_0x41307b,_0x4c6636,_0x459401,_0x3755e7){const _0x280c53=_0x358435;return _0x459401&&_0x3755e7?this[_0x280c53(0x1b2)](_0x41307b,_0x4c6636,_0x459401,_0x3755e7):this[_0x280c53(0x1f3)](_0x41307b,_0x4c6636);}[_0x358435(0x1b2)](_0xc79b56,_0x1f85ba,_0x5c2d60,_0x18adcf){const _0x1b3d0f=_0x358435,_0x2e30c0=new _0x19257c(this[_0x1b3d0f(0x1c9)]),_0x2b40fe=new _0x132777(this[_0x1b3d0f(0x1c9)]),_0x354a61=_0x2b40fe[_0x1b3d0f(0x1ac)],{view:_0x573042,highlightView:_0x5dbf06}=this[_0x1b3d0f(0x1bc)](_0x5c2d60,_0x18adcf),{view:_0x5eadf7,highlightView:_0x41d09e}=this[_0x1b3d0f(0x208)](_0x1f85ba[_0x1b3d0f(0x222)]),_0x20c9d4=this[_0x1b3d0f(0x1b3)](_0x573042,_0x5eadf7);return _0x2b40fe[_0x1b3d0f(0x216)]({'label':_0x1f85ba[_0x1b3d0f(0x222)],'withText':!0x0,'role':_0x1b3d0f(0x1b0),'class':_0x1b3d0f(0x1c8),'tooltip':!0x1}),_0x2b40fe[_0x1b3d0f(0x218)]({'tag':_0x1b3d0f(0x1f7),'attributes':{'class':['ck',_0x1b3d0f(0x1d9),_0x1b3d0f(0x1f5),_0x1b3d0f(0x1e2),_0x1b3d0f(0x1cc),_0x1b3d0f(0x21a)],'type':_0x1b3d0f(0x1f7),'role':_0x1b3d0f(0x1b0),'tabindex':'-1'},'children':[_0x20c9d4],'on':{'mouseenter':_0x354a61['to'](()=>{const _0x4ec055=_0x1b3d0f;this[_0x4ec055(0x1e9)]()||_0x2b40fe[_0x4ec055(0x1c6)]();}),'click':_0x354a61['to'](()=>{const _0x4cab3f=_0x1b3d0f;this[_0x4cab3f(0x1d5)](_0x2b40fe);})}}),this[_0x1b3d0f(0x1c2)](_0x2b40fe,_0xc79b56,_0x1f85ba),_0x2e30c0[_0x1b3d0f(0x22e)][_0x1b3d0f(0x1eb)](_0x2b40fe),{'listItem':_0x2e30c0,'highlightViews':[_0x5dbf06,_0x41d09e]};}[_0x358435(0x1f3)](_0x7c1973,_0x347d0c){const _0x322054=_0x358435,_0x55a9a2=new _0x19257c(this[_0x322054(0x1c9)]),_0x5770ec=new _0x154ca3(),_0x147ed4=new _0x132777(this[_0x322054(0x1c9)],_0x5770ec),_0xd907fd=_0x147ed4[_0x322054(0x1ac)];return _0x147ed4[_0x322054(0x216)]({'label':_0x347d0c[_0x322054(0x222)],'withText':!0x0,'role':_0x322054(0x1b0),'icon':void 0x0,'tooltip':!0x1,'class':_0x322054(0x1f6)}),_0x147ed4[_0x322054(0x1dc)]({'on':{'mouseenter':_0xd907fd['to'](()=>{const _0x302dd6=_0x322054;this[_0x302dd6(0x1e9)]()||_0x147ed4[_0x302dd6(0x1c6)]();})}}),this[_0x322054(0x1c2)](_0x147ed4,_0x7c1973,_0x347d0c),_0x55a9a2[_0x322054(0x22e)][_0x322054(0x1eb)](_0x147ed4),{'listItem':_0x55a9a2,'highlightViews':[_0x5770ec]};}[_0x358435(0x1bc)](_0x2f05c3,_0x3c72b9){const _0x5bd095=_0x358435,_0x4a05c5=new _0x1cdfff(this[_0x5bd095(0x1c9)]),_0x120e12=new _0x5ce53d();_0x120e12[_0x5bd095(0x201)]=_0x3c72b9,_0x120e12[_0x5bd095(0x1dc)]({'attributes':{'class':_0x5bd095(0x1c1)}});const _0x5be5ce=new _0xb26aba();return _0x5be5ce[_0x5bd095(0x21c)]=_0x2f05c3,_0x4a05c5[_0x5bd095(0x218)]({'tag':_0x5bd095(0x1f0),'attributes':{'class':_0x5bd095(0x229)},'children':[_0x120e12,_0x5be5ce]}),{'view':_0x4a05c5,'highlightView':_0x5be5ce};}[_0x358435(0x208)](_0x43432d){const _0x240d6b=_0x358435,_0x29e0b8=new _0x1cdfff(this[_0x240d6b(0x1c9)]),_0x1c9610=new _0xb26aba();return _0x1c9610[_0x240d6b(0x21c)]=_0x43432d,_0x29e0b8[_0x240d6b(0x218)]({'tag':_0x240d6b(0x1f0),'attributes':{'class':_0x240d6b(0x1e7)},'children':[_0x1c9610]}),{'view':_0x29e0b8,'highlightView':_0x1c9610};}[_0x358435(0x1b3)](_0x2d6506,_0x2387af){const _0x358092=_0x358435,_0x441f42=new _0x1cdfff(this[_0x358092(0x1c9)]);return _0x441f42[_0x358092(0x218)]({'tag':_0x358092(0x1f0),'attributes':{'class':_0x358092(0x224)},'children':[_0x2d6506,_0x2387af]}),_0x441f42;}[_0x358435(0x1c2)](_0x561e67,_0x2f8408,_0x1c0ea2){const _0x5c2d61=_0x358435;_0x561e67['on'](_0x5c2d61(0x207),()=>{const _0x2a18aa=_0x5c2d61;_0x2f8408[_0x2a18aa(0x1d6)][_0x2a18aa(0x1d0)][_0x2a18aa(0x1c6)](),_0x2f8408[_0x2a18aa(0x1c3)][_0x2a18aa(0x207)](_0x2a18aa(0x228),_0x1c0ea2);});}[_0x358435(0x223)](_0x45f3db,_0x1e190f,_0x1649a6){const _0x44e853=_0x358435,_0x241292=new _0x19257c(this[_0x44e853(0x1c9)]),_0x13d95d=new _0x154ca3(),_0x2ada4e=new _0x666bb7(this[_0x44e853(0x1c9)],_0x13d95d),_0x531c36=_0x2ada4e[_0x44e853(0x1ac)],_0x288252=this[_0x44e853(0x1ad)](_0x1649a6),_0x137c73=this[_0x44e853(0x1ca)](_0x45f3db,_0x1e190f[_0x44e853(0x1f2)],_0x1649a6);_0x2ada4e[_0x44e853(0x216)]({'label':_0x1e190f[_0x44e853(0x1fb)],'withText':!0x0,'role':Ts,'icon':_0x1e190f[_0x44e853(0x1fc)]??_0x3fb04c,'isEnabled':_0x1e190f[_0x44e853(0x1f2)][_0x44e853(0x1ab)](_0x520bb6=>_0x520bb6[_0x44e853(0x20c)])}),_0x2ada4e[_0x44e853(0x1dc)]({'on':{'mouseenter':_0x531c36['to'](()=>{const _0x5608d7=_0x44e853;this[_0x5608d7(0x1e9)]()||_0x2ada4e[_0x5608d7(0x1c6)]();})}});const _0x1cea73=new _0x5488a3(this[_0x44e853(0x1c9)]);return _0x1cea73[_0x44e853(0x1dc)]({'attributes':{'class':['ck',_0x44e853(0x1bd),_0x44e853(0x1ea),_0x44e853(0x1d2)]},'on':{'keydown':_0x531c36['to'](_0x2a20e7=>{const _0x2a300e=_0x44e853;this[_0x2a300e(0x1e8)](_0x2a20e7,_0x288252,_0x2ada4e,_0x1cea73);})}}),_0x2ada4e[_0x44e853(0x1bf)](_0x44e853(0x1af))['to'](_0x1cea73,_0x44e853(0x1f8)),this[_0x44e853(0x226)][_0x44e853(0x1eb)](_0x1cea73),_0x1cea73[_0x44e853(0x201)][_0x44e853(0x1eb)](_0x137c73),this[_0x44e853(0x1db)](_0x2ada4e,_0x1cea73),_0x241292[_0x44e853(0x22e)][_0x44e853(0x1eb)](_0x2ada4e),{'listItem':_0x241292,'highlightView':_0x13d95d};}[_0x358435(0x1ca)](_0x527706,_0x1d5a3d,_0x2394a8){const _0x47e896=_0x358435,_0x34a696=new _0x11ebbf(this[_0x47e896(0x1c9)]);return _0x34a696[_0x47e896(0x1dc)]({'attributes':{'class':['ck',_0x47e896(0x1bd),_0x47e896(0x221),_0x47e896(0x219)]}}),_0x1d5a3d[_0x47e896(0x1d8)](_0x550b82=>{const _0x25e45c=_0x47e896,_0x461bb5=new _0x19257c(this[_0x25e45c(0x1c9)]),_0x4beba7=_0x4e2a8b({'editor':_0x527706,'action':_0x550b82,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x25e45c(0x1e9)]()})();_0x461bb5[_0x25e45c(0x22e)][_0x25e45c(0x1eb)](_0x4beba7),_0x2394a8[_0x25e45c(0x211)][_0x25e45c(0x1eb)](_0x4beba7),_0x34a696[_0x25e45c(0x1cd)][_0x25e45c(0x1eb)](_0x461bb5);}),_0x34a696;}[_0x358435(0x1db)](_0x5630a1,_0x2c1956){const _0x308d99=_0x358435,_0xc80d1f=_0x5630a1[_0x308d99(0x1ac)],_0x417ea7=this[_0x308d99(0x217)](_0x5630a1);_0x5630a1[_0x308d99(0x1dc)]({'attributes':{'class':[_0x308d99(0x212)]},'on':{'mouseenter':_0xc80d1f['to'](()=>{const _0x3f352c=_0x308d99;this[_0x3f352c(0x205)](_0x2c1956,_0x5630a1);}),'mouseleave':_0xc80d1f['to'](_0x225d57=>{const _0x3e29a1=_0x308d99,_0x46b53d=_0x225d57[_0x3e29a1(0x1b7)];this[_0x3e29a1(0x215)](_0x46b53d,_0x2c1956)||this[_0x3e29a1(0x1d7)](_0x2c1956);}),'keydown':_0xc80d1f['to'](_0x325e47=>{const _0x878cb7=_0x308d99;_0x325e47[_0x878cb7(0x1e3)]==_0x417ea7&&(this[_0x878cb7(0x205)](_0x2c1956,_0x5630a1),_0x2c1956[_0x878cb7(0x201)][_0x878cb7(0x1ce)](0x0)[_0x878cb7(0x1c6)]());})}}),_0x2c1956['on'](_0x308d99(0x1ff),()=>{const _0x1b7ca8=_0x308d99;_0x2c1956[_0x1b7ca8(0x1be)]?.[_0x1b7ca8(0x22a)](_0x1b7ca8(0x1f4),_0x35e01b=>{const _0x2cb54e=_0x1b7ca8,_0x4482c8=_0x35e01b[_0x2cb54e(0x1b7)];_0x5630a1[_0x2cb54e(0x1be)]?.[_0x2cb54e(0x209)](_0x4482c8)||this[_0x2cb54e(0x215)](_0x4482c8,_0x2c1956)||this[_0x2cb54e(0x1d7)](_0x2c1956);});});}[_0x358435(0x205)](_0x55e2c4,_0x1cfbc7){const _0x116d84=_0x358435;this[_0x116d84(0x206)][_0x116d84(0x1d8)](_0x4672b4=>{const _0x3bba82=_0x116d84;_0x4672b4!==_0x55e2c4&&_0x4672b4[_0x3bba82(0x1f8)]&&_0x4672b4[_0x3bba82(0x20d)]();}),_0x55e2c4[_0x116d84(0x21b)](),_0x55e2c4[_0x116d84(0x1a9)]({'positions':[_0x5ec280[_0x116d84(0x1fd)]],'target':_0x1cfbc7[_0x116d84(0x1be)],'fitInViewport':!0x0}),this[_0x116d84(0x206)][_0x116d84(0x1eb)](_0x55e2c4);}[_0x358435(0x1d7)](_0x209cdf){const _0x389d33=_0x358435;_0x209cdf[_0x389d33(0x20d)](),this[_0x389d33(0x206)][_0x389d33(0x1d1)](_0x209cdf);}[_0x358435(0x1ee)](){const _0x56c2df=_0x358435;this[_0x56c2df(0x206)][_0x56c2df(0x1d8)](_0x5341f9=>_0x5341f9[_0x56c2df(0x20d)]()),this[_0x56c2df(0x206)][_0x56c2df(0x1e0)]();}[_0x358435(0x215)](_0x3679cf,_0x4faa40){const _0x4d31db=_0x358435;if(!_0x3679cf)return!0x1;if(_0x4faa40[_0x4d31db(0x1be)]?.[_0x4d31db(0x209)](_0x3679cf))return!0x0;const _0x5f16c8=_0x3679cf;return _0x5f16c8[_0x4d31db(0x230)]&&(null!==_0x5f16c8[_0x4d31db(0x230)](_0x4d31db(0x1d4))||null!==_0x5f16c8[_0x4d31db(0x230)](_0x4d31db(0x225))||null!==_0x5f16c8[_0x4d31db(0x230)](_0x4d31db(0x1cf)));}[_0x358435(0x1cb)](){const _0x1d5f80=_0x358435;this[_0x1d5f80(0x1b1)]&&this[_0x1d5f80(0x1b1)][_0x1d5f80(0x1fe)]();}[_0x358435(0x1b5)](){const _0x44244c=_0x358435;this[_0x44244c(0x1ee)](),this[_0x44244c(0x226)][_0x44244c(0x20e)](),super[_0x44244c(0x1b5)]();}[_0x358435(0x1c6)](){const _0x436963=_0x358435;this[_0x436963(0x1b1)]?this[_0x436963(0x1b1)][_0x436963(0x1c6)]():this[_0x436963(0x22c)][_0x436963(0x1c6)]();}[_0x358435(0x1ad)](_0x3b8c57){const _0x4b7c6d=_0x358435;return _0x4b7c6d(0x1b8)===_0x3b8c57[_0x4b7c6d(0x1c9)][_0x4b7c6d(0x214)]?_0x4b7c6d(0x220):_0x4b7c6d(0x1c7);}[_0x358435(0x217)](_0x20fb4d){const _0x2825b2=_0x358435;return _0x2825b2(0x1b8)===_0x20fb4d[_0x2825b2(0x1c9)][_0x2825b2(0x214)]?_0x2825b2(0x1c7):_0x2825b2(0x220);}[_0x358435(0x1e8)](_0x2ebc78,_0x58dc8f,_0x49a248,_0xdeffa){const _0x1dba91=_0x358435;_0x2ebc78[_0x1dba91(0x1e3)]==_0x58dc8f&&(_0x49a248[_0x1dba91(0x1c6)](),this[_0x1dba91(0x1d7)](_0xdeffa));}[_0x358435(0x1d5)](_0x50a617){const _0x50031d=_0x358435;_0x50a617[_0x50031d(0x1ed)](_0x50031d(0x207));}}
|
|
23
|
+
const _0x17fb1d=_0x5527;(function(_0x5c9f2d,_0x5155ae){const _0x563315=_0x5527,_0x41569d=_0x5c9f2d();while(!![]){try{const _0x371393=parseInt(_0x563315(0x254))/0x1+-parseInt(_0x563315(0x23e))/0x2+-parseInt(_0x563315(0x24c))/0x3*(-parseInt(_0x563315(0x21b))/0x4)+-parseInt(_0x563315(0x229))/0x5*(-parseInt(_0x563315(0x242))/0x6)+-parseInt(_0x563315(0x243))/0x7*(parseInt(_0x563315(0x25f))/0x8)+parseInt(_0x563315(0x238))/0x9*(-parseInt(_0x563315(0x251))/0xa)+-parseInt(_0x563315(0x23c))/0xb*(-parseInt(_0x563315(0x270))/0xc);if(_0x371393===_0x5155ae)break;else _0x41569d['push'](_0x41569d['shift']());}catch(_0x5aae01){_0x41569d['push'](_0x41569d['shift']());}}}(_0x55b5,0xba0fb));import{View as _0x3d48c8,ListItemView as _0x22b056,ListView as _0x2f8b18,BalloonPanelView as _0x7771,DropdownMenuPanelPositioningFunctions as _0x5588a5,ViewCollection as _0x26932f,FocusCycler as _0x3707da,ButtonView as _0x2b7d84,IconView as _0x4e0fdc,HighlightedTextView as _0x972b5a,ButtonLabelWithHighlightView as _0x2b4c88,SearchTextView as _0x18d379}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3bfda1}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x435319,KeystrokeHandler as _0x1b2c3b}from'ckeditor5/src/utils.js';function _0x55b5(){const _0x2ce82d=['AI_QUICK_ACTIONS_SEARCH','_setupGroupMenuBehavior','isOn','_getButtonKeystroke','activeElement','relatedTarget','_allSearchableItems','.ck-ai-quick-actions-group-button','uiLanguageDirection','clear','ck-dropdown-menu__nested-menu__panel','addMany','reset','_handleSearchResultButtonClick','_createListItems','_createSearchResultContentView','_hasSearch','4obFcHd','set','focus','optionsListView','queryView','aiQuickAction','resetSearch','add','_createActionGroupButton','ck-ai-quick-actions-group-list','ck-ai-quick-actions','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ArrowRight','635hYMvqZ','_focusables','ArrowLeft','icon','extendTemplate','isVisible','menuitem','ck-button_with-text','_openNestedPanels','_createSearchTextView','ck-ai-quick-actions-button','execute','forEach','_hideAllNestedPanels','actions','3656277HbDghQ','chain','pin','detachFromDom','23573oqKsFR','get','1497714ShOuzP','ck-ai-quick-actions-button_with-group__close-paren','_isSearchFocused','_createSearchResultGroupRow','69606gpnLpH','4964827nTwdmP','_isMovingToNestedMenu','text','mouseleave','focusCycler','editing','_hideNestedPanel','render','rtl','1073751EtfkYj','destroy','displayedPrompt','_createSearchResultActionRow','role','30HrYaPU','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','fire','645461khGAxD','ck-ai-quick-actions-search-result__group-row','setTemplate','ck-ai-quick-actions-search-result__action-row','_handlePanelKeydown','_createSearchResultIndividualActionButton','label','_bodyCollection','first','_showNestedPanel','ownerDocument','16qkJICt','fieldView','children','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-group-button','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createActionButton','ck-reset_all','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','.ck-ai-quick-actions-group-panel','_searchTextView','contains','bind','focusTracker','hide','key','ck-button','9360QdDOEN','_setupActionButtonExecution','closest','ck-ai-quick-actions-group-panel','button','locale','ck-ai-quick-actions-search-result__content','eastSouth','items','push','element','keystrokes','div','content','.ck-ai-quick-actions-group-list','ck-dropdown-menu-list','_getPanelKeystroke','ck-rounded-corners','_createSearchResultActionButton','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-search-result-button_with-group','parent','commands','some','show','ck-ai-quick-actions-search','ck-ai-quick-actions-button__group-icon','addEventListener','span','bindTemplate','view','delete','_createSearchResultGroupedActionButton','menu','isEnabled','_createGroupActionsList'];_0x55b5=function(){return _0x2ce82d;};return _0x55b5();}import{aiQuickActionsButtonCreator as _0x2476eb}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x142b47}from'./dropdownmenubuttonwithhighlightview.js';function _0x5527(_0x154a80,_0x12cf9f){const _0x55b5f3=_0x55b5();return _0x5527=function(_0x552710,_0x564fca){_0x552710=_0x552710-0x1f3;let _0x4655d3=_0x55b5f3[_0x552710];return _0x4655d3;},_0x5527(_0x154a80,_0x12cf9f);}import{getTranslation as _0x672aaa}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0xa7705d}from'./aiquickactionsfilteredlistview.js';const Ss=_0x17fb1d(0x207),ys=_0x17fb1d(0x22f);export class AIQuickActionsDropdownContentView extends _0x3d48c8{[_0x17fb1d(0x25b)];[_0x17fb1d(0x21e)];[_0x17fb1d(0x269)]=null;[_0x17fb1d(0x210)]=[];[_0x17fb1d(0x261)];[_0x17fb1d(0x26c)];[_0x17fb1d(0x27b)];[_0x17fb1d(0x22a)];[_0x17fb1d(0x247)];[_0x17fb1d(0x231)]=new Set();[_0x17fb1d(0x21a)];constructor(_0x4edbb8,_0x40feb8,_0x7e41a4,_0x2ad08f,_0x1981eb=!0x1){const _0x51cc50=_0x17fb1d,_0x3dd6a2=_0x4edbb8[_0x51cc50(0x275)];super(_0x3dd6a2),this[_0x51cc50(0x25b)]=_0x2ad08f,this[_0x51cc50(0x21a)]=_0x1981eb;const _0x5371c6=this[_0x51cc50(0x218)](_0x4edbb8,_0x40feb8,_0x7e41a4);this[_0x51cc50(0x21e)]=new _0xa7705d(_0x3dd6a2,_0x5371c6,this[_0x51cc50(0x210)]),this[_0x51cc50(0x21e)][_0x51cc50(0x250)]=Ss,this[_0x51cc50(0x21e)][_0x51cc50(0x278)][_0x51cc50(0x215)](_0x5371c6),this[_0x51cc50(0x26c)]=new _0x435319(),this[_0x51cc50(0x27b)]=new _0x1b2c3b(),_0x1981eb&&(this[_0x51cc50(0x269)]=this[_0x51cc50(0x232)]()),this[_0x51cc50(0x22a)]=_0x5371c6,this[_0x51cc50(0x247)]=new _0x3707da({'focusables':this[_0x51cc50(0x22a)],'focusTracker':this[_0x51cc50(0x26c)],'keystrokeHandler':this[_0x51cc50(0x27b)]}),_0x1981eb&&this[_0x51cc50(0x269)]&&this[_0x51cc50(0x247)][_0x51cc50(0x239)](this[_0x51cc50(0x269)][_0x51cc50(0x247)]);const _0x159a21=_0x1981eb&&this[_0x51cc50(0x269)]?[this[_0x51cc50(0x269)]]:[this[_0x51cc50(0x21e)]];this[_0x51cc50(0x261)]=new _0x26932f(_0x159a21),this[_0x51cc50(0x256)]({'tag':_0x51cc50(0x27c),'attributes':{'class':['ck',_0x51cc50(0x266),_0x51cc50(0x225),_0x51cc50(0x1f7)],'dir':_0x3dd6a2[_0x51cc50(0x212)]},'children':this[_0x51cc50(0x261)]});}[_0x17fb1d(0x232)](){const _0x57f446=_0x17fb1d;return new _0x18d379(this[_0x57f446(0x275)],{'filteredView':this[_0x57f446(0x21e)],'queryView':{'label':_0x672aaa(this[_0x57f446(0x275)],_0x57f446(0x20a))},'class':_0x57f446(0x1ff),'infoView':{'text':{'notFound':{'primary':_0x672aaa(this[_0x57f446(0x275)],_0x57f446(0x264))}}}});}[_0x17fb1d(0x240)](){const _0x202e56=_0x17fb1d;if(!this[_0x202e56(0x21a)]||!this[_0x202e56(0x269)]||!this[_0x202e56(0x269)][_0x202e56(0x21f)][_0x202e56(0x260)][_0x202e56(0x27a)])return!0x1;const _0x5c4211=this[_0x202e56(0x269)][_0x202e56(0x21f)][_0x202e56(0x260)][_0x202e56(0x27a)][_0x202e56(0x25e)]?.[_0x202e56(0x20e)];return this[_0x202e56(0x269)][_0x202e56(0x21f)][_0x202e56(0x260)][_0x202e56(0x27a)][_0x202e56(0x26a)](_0x5c4211);}[_0x17fb1d(0x218)](_0x481113,_0x39092d,_0x2bbde5){const _0x26ffb7=_0x17fb1d,_0x5d8fd4=new _0x26932f();return _0x39092d[_0x26ffb7(0x235)](_0x24f151=>{const _0x201d9a=_0x26ffb7;if(_0x201d9a(0x237)in _0x24f151){const {listItem:_0x333464}=this[_0x201d9a(0x223)](_0x481113,_0x24f151,_0x2bbde5);_0x5d8fd4[_0x201d9a(0x222)](_0x333464),_0x24f151[_0x201d9a(0x237)][_0x201d9a(0x235)](_0x4cc842=>{const _0x57d963=_0x201d9a;this[_0x57d963(0x265)](_0x481113,_0x4cc842,_0x24f151[_0x57d963(0x25a)],_0x24f151[_0x57d963(0x22c)]);const {listItem:_0x455ec2,highlightViews:_0x3e3384}=this[_0x57d963(0x1f8)](_0x481113,_0x4cc842,_0x24f151[_0x57d963(0x25a)],_0x24f151[_0x57d963(0x22c)]);this[_0x57d963(0x210)][_0x57d963(0x279)]({'item':_0x455ec2,'label':_0x4cc842[_0x57d963(0x24e)],'groupLabel':_0x24f151[_0x57d963(0x25a)],'highlightViews':_0x3e3384});});}else{const {listItem:_0xd581c1}=this[_0x201d9a(0x265)](_0x481113,_0x24f151);_0x5d8fd4[_0x201d9a(0x222)](_0xd581c1);const _0x177c92=_0xd581c1[_0x201d9a(0x261)][_0x201d9a(0x25c)];if(_0x177c92){const {listItem:_0x13ba6b,highlightViews:_0x366283}=this[_0x201d9a(0x1f8)](_0x481113,_0x24f151);this[_0x201d9a(0x210)][_0x201d9a(0x279)]({'item':_0x13ba6b,'label':_0x177c92[_0x201d9a(0x25a)]||'','highlightViews':_0x366283});}}}),_0x5d8fd4;}[_0x17fb1d(0x265)](_0x38ddac,_0x302a13,_0x526536,_0xf4832c){const _0x582712=_0x17fb1d,_0x10cdda=new _0x22b056(this[_0x582712(0x275)]);if(_0x526536&&_0xf4832c){const _0x6d732=new _0x2b7d84(this[_0x582712(0x275)]),_0x1d97e0=_0x6d732[_0x582712(0x203)],_0xb499a8=new _0x972b5a();_0xb499a8[_0x582712(0x245)]=_0x302a13[_0x582712(0x24e)];const _0x3d9d71=new _0x972b5a();_0x3d9d71[_0x582712(0x245)]=_0x526536;const _0xef7e62=new _0x4e0fdc();_0xef7e62[_0x582712(0x1f3)]=_0xf4832c,_0xef7e62[_0x582712(0x22d)]({'attributes':{'class':_0x582712(0x200)}});const _0x15bc0b=new _0x3d48c8(this[_0x582712(0x275)]);_0x15bc0b[_0x582712(0x256)]({'tag':_0x582712(0x202),'attributes':{'class':_0x582712(0x1f9)},'children':[{'text':'\x20('}]});const _0x243f75=new _0x3d48c8(this[_0x582712(0x275)]);return _0x243f75[_0x582712(0x256)]({'tag':_0x582712(0x202),'attributes':{'class':_0x582712(0x23f)},'children':[{'text':')'}]}),_0x6d732[_0x582712(0x21c)]({'label':_0x302a13[_0x582712(0x24e)]+'\x20('+_0x526536+')','withText':!0x0,'role':_0x582712(0x22f),'class':_0x582712(0x227),'tooltip':!0x1}),_0x6d732[_0x582712(0x256)]({'tag':_0x582712(0x274),'attributes':{'class':['ck',_0x582712(0x26f),_0x582712(0x230),_0x582712(0x233),_0x582712(0x262)],'type':_0x582712(0x274),'role':_0x582712(0x22f),'tabindex':'-1'},'children':[_0xb499a8,_0x15bc0b,_0xef7e62,_0x3d9d71,_0x243f75],'on':{'mouseenter':_0x1d97e0['to'](()=>{const _0xc02d83=_0x582712;this[_0xc02d83(0x240)]()||_0x6d732[_0xc02d83(0x21d)]();}),'click':_0x1d97e0['to'](()=>{const _0x144dc6=_0x582712;_0x6d732[_0x144dc6(0x253)](_0x144dc6(0x234));})}}),_0x6d732['on'](_0x582712(0x234),()=>{const _0x4686f7=_0x582712;_0x38ddac[_0x4686f7(0x248)][_0x4686f7(0x204)][_0x4686f7(0x21d)](),_0x38ddac[_0x4686f7(0x1fc)][_0x4686f7(0x234)](_0x4686f7(0x220),_0x302a13);}),_0x10cdda[_0x582712(0x261)][_0x582712(0x222)](_0x6d732),{'listItem':_0x10cdda,'highlightViews':[_0xb499a8,_0x3d9d71]};}{const _0x16a935=new _0x2b4c88(),_0xb99516=new _0x2b7d84(this[_0x582712(0x275)],_0x16a935),_0xdacfbd=_0xb99516[_0x582712(0x203)],_0x3a712c=_0x302a13[_0x582712(0x22c)]??_0x302a13[_0x582712(0x1fb)]?.[_0x582712(0x22c)],_0x15df5f=void 0x0!==_0x302a13[_0x582712(0x22c)];return _0xb99516[_0x582712(0x21c)]({'label':_0x302a13[_0x582712(0x24e)],'withText':!0x0,'role':_0x582712(0x22f),'icon':_0x15df5f?_0x3a712c??_0x3bfda1:void 0x0,'tooltip':!0x1,'class':_0x582712(0x233)}),_0xb99516[_0x582712(0x22d)]({'on':{'mouseenter':_0xdacfbd['to'](()=>{const _0x2092a5=_0x582712;this[_0x2092a5(0x240)]()||_0xb99516[_0x2092a5(0x21d)]();})}}),_0xb99516['on'](_0x582712(0x234),()=>{const _0x632416=_0x582712;_0x38ddac[_0x632416(0x248)][_0x632416(0x204)][_0x632416(0x21d)](),_0x38ddac[_0x632416(0x1fc)][_0x632416(0x234)](_0x632416(0x220),_0x302a13);}),_0x10cdda[_0x582712(0x261)][_0x582712(0x222)](_0xb99516),{'listItem':_0x10cdda,'highlightViews':[_0x16a935]};}}[_0x17fb1d(0x1f8)](_0x3c0554,_0x575f0e,_0x247612,_0x253100){const _0xf26844=_0x17fb1d;return _0x247612&&_0x253100?this[_0xf26844(0x206)](_0x3c0554,_0x575f0e,_0x247612,_0x253100):this[_0xf26844(0x259)](_0x3c0554,_0x575f0e);}[_0x17fb1d(0x206)](_0xc9e238,_0x584d06,_0x11c594,_0x11eecf){const _0x247f6f=_0x17fb1d,_0x2a8715=new _0x22b056(this[_0x247f6f(0x275)]),_0x4df84b=new _0x2b7d84(this[_0x247f6f(0x275)]),_0x3af271=_0x4df84b[_0x247f6f(0x203)],{view:_0x13848b,highlightView:_0x1823c5}=this[_0x247f6f(0x241)](_0x11c594,_0x11eecf),{view:_0x447905,highlightView:_0x3edbe2}=this[_0x247f6f(0x24f)](_0x584d06[_0x247f6f(0x24e)]),_0x2ca3bb=this[_0x247f6f(0x219)](_0x13848b,_0x447905);return _0x4df84b[_0x247f6f(0x21c)]({'label':_0x584d06[_0x247f6f(0x24e)],'withText':!0x0,'role':_0x247f6f(0x22f),'class':_0x247f6f(0x252),'tooltip':!0x1}),_0x4df84b[_0x247f6f(0x256)]({'tag':_0x247f6f(0x274),'attributes':{'class':['ck',_0x247f6f(0x26f),_0x247f6f(0x230),_0x247f6f(0x233),_0x247f6f(0x226),_0x247f6f(0x1fa)],'type':_0x247f6f(0x274),'role':_0x247f6f(0x22f),'tabindex':'-1'},'children':[_0x2ca3bb],'on':{'mouseenter':_0x3af271['to'](()=>{const _0x38117e=_0x247f6f;this[_0x38117e(0x240)]()||_0x4df84b[_0x38117e(0x21d)]();}),'click':_0x3af271['to'](()=>{const _0x2ba3d2=_0x247f6f;this[_0x2ba3d2(0x217)](_0x4df84b);})}}),this[_0x247f6f(0x271)](_0x4df84b,_0xc9e238,_0x584d06),_0x2a8715[_0x247f6f(0x261)][_0x247f6f(0x222)](_0x4df84b),{'listItem':_0x2a8715,'highlightViews':[_0x1823c5,_0x3edbe2]};}[_0x17fb1d(0x259)](_0xd979dc,_0x220b65){const _0x2568a8=_0x17fb1d,_0x4fe269=new _0x22b056(this[_0x2568a8(0x275)]),_0x53e5fb=new _0x2b4c88(),_0x178366=new _0x2b7d84(this[_0x2568a8(0x275)],_0x53e5fb),_0x5280a2=_0x178366[_0x2568a8(0x203)];return _0x178366[_0x2568a8(0x21c)]({'label':_0x220b65[_0x2568a8(0x24e)],'withText':!0x0,'role':_0x2568a8(0x22f),'icon':void 0x0,'tooltip':!0x1,'class':_0x2568a8(0x267)}),_0x178366[_0x2568a8(0x22d)]({'on':{'mouseenter':_0x5280a2['to'](()=>{const _0x5a1bac=_0x2568a8;this[_0x5a1bac(0x240)]()||_0x178366[_0x5a1bac(0x21d)]();})}}),this[_0x2568a8(0x271)](_0x178366,_0xd979dc,_0x220b65),_0x4fe269[_0x2568a8(0x261)][_0x2568a8(0x222)](_0x178366),{'listItem':_0x4fe269,'highlightViews':[_0x53e5fb]};}[_0x17fb1d(0x241)](_0x56c320,_0xef2ddd){const _0x5aa5f5=_0x17fb1d,_0x4ae5ee=new _0x3d48c8(this[_0x5aa5f5(0x275)]),_0x3773d4=new _0x4e0fdc();_0x3773d4[_0x5aa5f5(0x1f3)]=_0xef2ddd,_0x3773d4[_0x5aa5f5(0x22d)]({'attributes':{'class':_0x5aa5f5(0x200)}});const _0x1e60a1=new _0x972b5a();return _0x1e60a1[_0x5aa5f5(0x245)]=_0x56c320,_0x4ae5ee[_0x5aa5f5(0x256)]({'tag':_0x5aa5f5(0x27c),'attributes':{'class':_0x5aa5f5(0x255)},'children':[_0x3773d4,_0x1e60a1]}),{'view':_0x4ae5ee,'highlightView':_0x1e60a1};}[_0x17fb1d(0x24f)](_0xb645e5){const _0x1cbe92=_0x17fb1d,_0x4f25ac=new _0x3d48c8(this[_0x1cbe92(0x275)]),_0x16a537=new _0x972b5a();return _0x16a537[_0x1cbe92(0x245)]=_0xb645e5,_0x4f25ac[_0x1cbe92(0x256)]({'tag':_0x1cbe92(0x27c),'attributes':{'class':_0x1cbe92(0x257)},'children':[_0x16a537]}),{'view':_0x4f25ac,'highlightView':_0x16a537};}[_0x17fb1d(0x219)](_0x2b8820,_0xcdbfc3){const _0x36d946=_0x17fb1d,_0xcd0cc6=new _0x3d48c8(this[_0x36d946(0x275)]);return _0xcd0cc6[_0x36d946(0x256)]({'tag':_0x36d946(0x27c),'attributes':{'class':_0x36d946(0x276)},'children':[_0x2b8820,_0xcdbfc3]}),_0xcd0cc6;}[_0x17fb1d(0x271)](_0x3d08c9,_0x55463b,_0x24cbc8){const _0x452cc4=_0x17fb1d;_0x3d08c9['on'](_0x452cc4(0x234),()=>{const _0x227cb7=_0x452cc4;_0x55463b[_0x227cb7(0x248)][_0x227cb7(0x204)][_0x227cb7(0x21d)](),_0x55463b[_0x227cb7(0x1fc)][_0x227cb7(0x234)](_0x227cb7(0x220),_0x24cbc8);});}[_0x17fb1d(0x223)](_0x461363,_0x3f438b,_0x5246cd){const _0x4e6c11=_0x17fb1d,_0x55c39b=new _0x22b056(this[_0x4e6c11(0x275)]),_0x428d9f=new _0x2b4c88(),_0xfb6b97=new _0x142b47(this[_0x4e6c11(0x275)],_0x428d9f),_0x2c9769=_0xfb6b97[_0x4e6c11(0x203)],_0x369468=this[_0x4e6c11(0x1f6)](_0x5246cd),_0x3173cb=this[_0x4e6c11(0x209)](_0x461363,_0x3f438b[_0x4e6c11(0x237)],_0x5246cd);_0xfb6b97[_0x4e6c11(0x21c)]({'label':_0x3f438b[_0x4e6c11(0x25a)],'withText':!0x0,'role':ys,'icon':_0x3f438b[_0x4e6c11(0x22c)]??_0x3bfda1,'isEnabled':_0x3f438b[_0x4e6c11(0x237)][_0x4e6c11(0x1fd)](_0x49a1b5=>_0x49a1b5[_0x4e6c11(0x208)])}),_0xfb6b97[_0x4e6c11(0x22d)]({'on':{'mouseenter':_0x2c9769['to'](()=>{const _0x67eef7=_0x4e6c11;this[_0x67eef7(0x240)]()||_0xfb6b97[_0x67eef7(0x21d)]();})}});const _0x1ecb8a=new _0x7771(this[_0x4e6c11(0x275)]);return _0x1ecb8a[_0x4e6c11(0x22d)]({'attributes':{'class':['ck',_0x4e6c11(0x266),_0x4e6c11(0x273),_0x4e6c11(0x214)]},'on':{'keydown':_0x2c9769['to'](_0x55f62f=>{const _0x451545=_0x4e6c11;this[_0x451545(0x258)](_0x55f62f,_0x369468,_0xfb6b97,_0x1ecb8a);})}}),_0xfb6b97[_0x4e6c11(0x26b)](_0x4e6c11(0x20c))['to'](_0x1ecb8a,_0x4e6c11(0x22e)),this[_0x4e6c11(0x25b)][_0x4e6c11(0x222)](_0x1ecb8a),_0x1ecb8a[_0x4e6c11(0x1f3)][_0x4e6c11(0x222)](_0x3173cb),this[_0x4e6c11(0x20b)](_0xfb6b97,_0x1ecb8a),_0x55c39b[_0x4e6c11(0x261)][_0x4e6c11(0x222)](_0xfb6b97),{'listItem':_0x55c39b,'highlightView':_0x428d9f};}[_0x17fb1d(0x209)](_0x1c10f7,_0xd070b7,_0x3b7d20){const _0x4f24cb=_0x17fb1d,_0x3c13d0=new _0x2f8b18(this[_0x4f24cb(0x275)]);return _0x3c13d0[_0x4f24cb(0x22d)]({'attributes':{'class':['ck',_0x4f24cb(0x266),_0x4f24cb(0x224),_0x4f24cb(0x1f5)]}}),_0xd070b7[_0x4f24cb(0x235)](_0x1d51b9=>{const _0x28481b=_0x4f24cb,_0x46ca6e=new _0x22b056(this[_0x28481b(0x275)]),_0x15e382=_0x2476eb({'editor':_0x1c10f7,'action':_0x1d51b9,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x28481b(0x240)]()})();_0x46ca6e[_0x28481b(0x261)][_0x28481b(0x222)](_0x15e382),_0x3b7d20[_0x28481b(0x26c)][_0x28481b(0x222)](_0x15e382),_0x3c13d0[_0x28481b(0x278)][_0x28481b(0x222)](_0x46ca6e);}),_0x3c13d0;}[_0x17fb1d(0x20b)](_0x41b8d4,_0x550bcb){const _0x4735f7=_0x17fb1d,_0x2173e8=_0x41b8d4[_0x4735f7(0x203)],_0x35a733=this[_0x4735f7(0x20d)](_0x41b8d4);_0x41b8d4[_0x4735f7(0x22d)]({'attributes':{'class':[_0x4735f7(0x263)]},'on':{'mouseenter':_0x2173e8['to'](()=>{const _0x4a3617=_0x4735f7;this[_0x4a3617(0x25d)](_0x550bcb,_0x41b8d4);}),'mouseleave':_0x2173e8['to'](_0x3e8503=>{const _0x5defd6=_0x4735f7,_0x2efd52=_0x3e8503[_0x5defd6(0x20f)];this[_0x5defd6(0x244)](_0x2efd52,_0x550bcb)||this[_0x5defd6(0x249)](_0x550bcb);}),'keydown':_0x2173e8['to'](_0x310c23=>{const _0x145aca=_0x4735f7;_0x310c23[_0x145aca(0x26e)]==_0x35a733&&(this[_0x145aca(0x25d)](_0x550bcb,_0x41b8d4),_0x550bcb[_0x145aca(0x1f3)][_0x145aca(0x23d)](0x0)[_0x145aca(0x21d)]());})}}),_0x550bcb['on'](_0x4735f7(0x24a),()=>{const _0x48d96d=_0x4735f7;_0x550bcb[_0x48d96d(0x27a)]?.[_0x48d96d(0x201)](_0x48d96d(0x246),_0x151b2a=>{const _0x10bae7=_0x48d96d,_0x861704=_0x151b2a[_0x10bae7(0x20f)];_0x41b8d4[_0x10bae7(0x27a)]?.[_0x10bae7(0x26a)](_0x861704)||this[_0x10bae7(0x244)](_0x861704,_0x550bcb)||this[_0x10bae7(0x249)](_0x550bcb);});});}[_0x17fb1d(0x25d)](_0x30a7d1,_0x3d4e1a){const _0x43beb4=_0x17fb1d;this[_0x43beb4(0x231)][_0x43beb4(0x235)](_0x12f227=>{const _0x6983c1=_0x43beb4;_0x12f227!==_0x30a7d1&&_0x12f227[_0x6983c1(0x22e)]&&_0x12f227[_0x6983c1(0x26d)]();}),_0x30a7d1[_0x43beb4(0x1fe)](),_0x30a7d1[_0x43beb4(0x23a)]({'positions':[_0x5588a5[_0x43beb4(0x277)]],'target':_0x3d4e1a[_0x43beb4(0x27a)],'fitInViewport':!0x0}),this[_0x43beb4(0x231)][_0x43beb4(0x222)](_0x30a7d1);}[_0x17fb1d(0x249)](_0x4f14e4){const _0x2c312b=_0x17fb1d;_0x4f14e4[_0x2c312b(0x26d)](),this[_0x2c312b(0x231)][_0x2c312b(0x205)](_0x4f14e4);}[_0x17fb1d(0x236)](){const _0x2f1a97=_0x17fb1d;this[_0x2f1a97(0x231)][_0x2f1a97(0x235)](_0x4609e2=>_0x4609e2[_0x2f1a97(0x26d)]()),this[_0x2f1a97(0x231)][_0x2f1a97(0x213)]();}[_0x17fb1d(0x244)](_0x51bcef,_0x1a19c7){const _0x15fb84=_0x17fb1d;if(!_0x51bcef)return!0x1;if(_0x1a19c7[_0x15fb84(0x27a)]?.[_0x15fb84(0x26a)](_0x51bcef))return!0x0;const _0x490518=_0x51bcef;return _0x490518[_0x15fb84(0x272)]&&(null!==_0x490518[_0x15fb84(0x272)](_0x15fb84(0x268))||null!==_0x490518[_0x15fb84(0x272)](_0x15fb84(0x1f4))||null!==_0x490518[_0x15fb84(0x272)](_0x15fb84(0x211)));}[_0x17fb1d(0x221)](){const _0x23b837=_0x17fb1d;this[_0x23b837(0x269)]&&this[_0x23b837(0x269)][_0x23b837(0x216)]();}[_0x17fb1d(0x24d)](){const _0xcc0f63=_0x17fb1d;this[_0xcc0f63(0x236)](),this[_0xcc0f63(0x25b)][_0xcc0f63(0x23b)](),super[_0xcc0f63(0x24d)]();}[_0x17fb1d(0x21d)](){const _0x582f77=_0x17fb1d;this[_0x582f77(0x269)]?this[_0x582f77(0x269)][_0x582f77(0x21d)]():this[_0x582f77(0x21e)][_0x582f77(0x21d)]();}[_0x17fb1d(0x1f6)](_0x2e9731){const _0x2e3ad4=_0x17fb1d;return _0x2e3ad4(0x24b)===_0x2e9731[_0x2e3ad4(0x275)][_0x2e3ad4(0x212)]?_0x2e3ad4(0x228):_0x2e3ad4(0x22b);}[_0x17fb1d(0x20d)](_0x1550a2){const _0x3cc70a=_0x17fb1d;return _0x3cc70a(0x24b)===_0x1550a2[_0x3cc70a(0x275)][_0x3cc70a(0x212)]?_0x3cc70a(0x22b):_0x3cc70a(0x228);}[_0x17fb1d(0x258)](_0x452c4c,_0x409412,_0x1f665c,_0x4b2bc1){const _0x457b52=_0x17fb1d;_0x452c4c[_0x457b52(0x26e)]==_0x409412&&(_0x1f665c[_0x457b52(0x21d)](),this[_0x457b52(0x249)](_0x4b2bc1));}[_0x17fb1d(0x217)](_0x3fca5e){const _0x13b539=_0x17fb1d;_0x3fca5e[_0x13b539(0x253)](_0x13b539(0x234));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1824af,_0x17fcda){const _0xe311dd=_0x284d,_0x1ccf6f=_0x1824af();while(!![]){try{const _0xa78a1b=parseInt(_0xe311dd(0x183))/0x1*(parseInt(_0xe311dd(0x186))/0x2)+parseInt(_0xe311dd(0x19c))/0x3+-parseInt(_0xe311dd(0x187))/0x4+-parseInt(_0xe311dd(0x19b))/0x5*(-parseInt(_0xe311dd(0x190))/0x6)+parseInt(_0xe311dd(0x18a))/0x7+-parseInt(_0xe311dd(0x17e))/0x8*(parseInt(_0xe311dd(0x19a))/0x9)+parseInt(_0xe311dd(0x196))/0xa;if(_0xa78a1b===_0x17fcda)break;else _0x1ccf6f['push'](_0x1ccf6f['shift']());}catch(_0xf7cf14){_0x1ccf6f['push'](_0x1ccf6f['shift']());}}}(_0x3979,0x26d30));import{createDropdown as _0x2e27f5}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xc1653d}from'@ckeditor/ckeditor5-icons';function _0x3979(){const _0x18c962=['ck-ai-quick-actions-dropdown','buttonView','1332664eSLKSe','children','from','getRanges','has','3718hVblNV','length','icon','118svYRXh','798704eYlaoA','label','selection','39949ZRRMao','showFakeVisualSelection','set','model','get','ai-quick-actions-dropdown-selection','49200IKqDPD','document','plugins','hideFakeVisualSelection','locale','resetSearch','1412470ddsAfB','AIEditing','add','change:isOpen','9bAKDZL','25AKQzri','353901iAyHfQ','panelView'];_0x3979=function(){return _0x18c962;};return _0x3979();}import{AIQuickActionsDropdownContentView as _0x22826c}from'./aiquickactionsdropdowncontentview.js';function _0x284d(_0x41e9ed,_0x5cb7d5){const _0x39791d=_0x3979();return _0x284d=function(_0x284da6,_0x47d29e){_0x284da6=_0x284da6-0x17d;let _0xa2cd85=_0x39791d[_0x284da6];return _0xa2cd85;},_0x284d(_0x41e9ed,_0x5cb7d5);}import{AIEditing as _0x9389c}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x459083){const {editor:_0x301a05,content:_0x5a1263,buttonDefinition:_0x1176c7,bodyCollection:_0x46edbe,hasSearch:_0x2d92ce=!0x1}=_0x459083;return()=>{const _0x42e3a7=_0x284d,_0x2eb171=_0x301a05[_0x42e3a7(0x194)],_0x140d12=_0x2e27f5(_0x2eb171);_0x140d12[_0x42e3a7(0x17d)][_0x42e3a7(0x18c)]({'icon':_0x1176c7[_0x42e3a7(0x185)]??_0xc1653d,'label':_0x1176c7[_0x42e3a7(0x188)],'tooltip':!0x0}),_0x140d12[_0x42e3a7(0x18c)]({'class':_0x42e3a7(0x19e)});const _0xca3aa4=new _0x22826c(_0x301a05,_0x5a1263,_0x140d12,_0x46edbe,_0x2d92ce);if(_0x140d12[_0x42e3a7(0x19d)][_0x42e3a7(0x17f)][_0x42e3a7(0x198)](_0xca3aa4),_0x2d92ce){const _0x5287c4=_0x42e3a7(0x18f);_0x140d12['on'](_0x42e3a7(0x199),(_0x22a313,_0x3c45ba,_0x281be5)=>{const _0x2bf4e9=_0x42e3a7;if(_0x281be5){if(_0x301a05[_0x2bf4e9(0x192)][_0x2bf4e9(0x182)](_0x2bf4e9(0x197))){const _0x1c9ddf=_0x301a05[_0x2bf4e9(0x192)][_0x2bf4e9(0x18e)](_0x9389c),_0x3efa3d=_0x301a05[_0x2bf4e9(0x18d)][_0x2bf4e9(0x191)][_0x2bf4e9(0x189)],_0x4a83be=Array[_0x2bf4e9(0x180)](_0x3efa3d[_0x2bf4e9(0x181)]());_0x4a83be[_0x2bf4e9(0x184)]>0x0&&_0x1c9ddf[_0x2bf4e9(0x18b)](_0x4a83be,_0x5287c4,!0x1,!0x0);}}else _0x301a05[_0x2bf4e9(0x192)][_0x2bf4e9(0x182)](_0x2bf4e9(0x197))&&_0x301a05[_0x2bf4e9(0x192)][_0x2bf4e9(0x18e)](_0x9389c)[_0x2bf4e9(0x193)](_0x5287c4),_0xca3aa4[_0x2bf4e9(0x195)]();});}return _0x140d12;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d46a5=_0x41cd;function _0x33e7(){const _0x475e67=['sort','clear','_highlightQuery','function','6096671LQRIfS','addMany','map','12XBCMsh','length','highlightViews','_clearHighlight','1046905RmfEoI','forEach','groupLabel','toLowerCase','items','2695845WlOzTh','filter','_allListItems','label','2125000eQtmhr','includes','_allSearchableItems','2632496IshyiJ','36289088qXXUEg','item','highlightText','trim','1214995KMrCZB','source'];_0x33e7=function(){return _0x475e67;};return _0x33e7();}(function(_0x4c2407,_0x197bf8){const _0x2fef85=_0x41cd,_0x2135cc=_0x4c2407();while(!![]){try{const _0x85dbaf=-parseInt(_0x2fef85(0x85))/0x1+-parseInt(_0x2fef85(0x7d))/0x2+-parseInt(_0x2fef85(0x79))/0x3+parseInt(_0x2fef85(0x80))/0x4+-parseInt(_0x2fef85(0x92))/0x5*(parseInt(_0x2fef85(0x8e))/0x6)+-parseInt(_0x2fef85(0x8b))/0x7+parseInt(_0x2fef85(0x81))/0x8;if(_0x85dbaf===_0x197bf8)break;else _0x2135cc['push'](_0x2135cc['shift']());}catch(_0x1ac201){_0x2135cc['push'](_0x2135cc['shift']());}}}(_0x33e7,0xb1d73));import{ListView as _0x2c5cf3}from'ckeditor5/src/ui.js';import{escapeRegExp as _0xd865cf}from'es-toolkit/compat';function _0x41cd(_0x453488,_0x2922cd){const _0x33e7f8=_0x33e7();return _0x41cd=function(_0x41cd1a,_0x105902){_0x41cd1a=_0x41cd1a-0x77;let _0x459799=_0x33e7f8[_0x41cd1a];return _0x459799;},_0x41cd(_0x453488,_0x2922cd);}export class AIQuickActionsFilteredListView extends _0x2c5cf3{[_0x4d46a5(0x7b)];[_0x4d46a5(0x7f)];constructor(_0x232aae,_0x430bb1,_0xbe87e6){const _0x3ffb68=_0x4d46a5;super(_0x232aae),this[_0x3ffb68(0x7b)]=_0x430bb1,this[_0x3ffb68(0x7f)]=_0xbe87e6;}[_0x4d46a5(0x7a)](_0x1b06f1){const _0x21435a=_0x4d46a5;if(!_0x1b06f1)return this[_0x21435a(0x78)][_0x21435a(0x88)](),this[_0x21435a(0x78)][_0x21435a(0x8c)](this[_0x21435a(0x7b)]),this[_0x21435a(0x91)](),{'resultsCount':this[_0x21435a(0x7b)][_0x21435a(0x8f)],'totalItemsCount':this[_0x21435a(0x7b)][_0x21435a(0x8f)]};const _0x16e9e0=_0x1b06f1[_0x21435a(0x86)][_0x21435a(0x77)]()[_0x21435a(0x84)](),_0x40f68e=this[_0x21435a(0x7f)][_0x21435a(0x7a)](_0x2d5670=>(_0x2d5670[_0x21435a(0x94)]?_0x2d5670[_0x21435a(0x7c)]+'\x20('+_0x2d5670[_0x21435a(0x94)]+')':_0x2d5670[_0x21435a(0x7c)])[_0x21435a(0x77)]()[_0x21435a(0x7e)](_0x16e9e0));return this[_0x21435a(0x78)][_0x21435a(0x88)](),this[_0x21435a(0x78)][_0x21435a(0x8c)](_0x40f68e[_0x21435a(0x87)]((_0x4e879c,_0x4bbc6e)=>{const _0x763b5=_0x21435a,_0x3b722c=_0x4e879c[_0x763b5(0x94)],_0x311ef3=_0x4bbc6e[_0x763b5(0x94)];return _0x3b722c||_0x311ef3?_0x3b722c?0x1:-0x1:0x0;})[_0x21435a(0x8d)](_0x5ddc8d=>_0x5ddc8d[_0x21435a(0x82)])),this[_0x21435a(0x89)](_0x16e9e0,_0x40f68e),{'resultsCount':_0x40f68e[_0x21435a(0x8f)],'totalItemsCount':this[_0x21435a(0x7f)][_0x21435a(0x8f)]};}[_0x4d46a5(0x89)](_0x90026,_0x11237f){const _0x2f6402=_0x4d46a5;if(!_0x90026)return;const _0x4d5986=new RegExp(_0xd865cf(_0x90026),'gi');_0x11237f[_0x2f6402(0x93)](_0x26247c=>{const _0x384f8e=_0x2f6402;_0x26247c[_0x384f8e(0x90)]&&_0x26247c[_0x384f8e(0x90)][_0x384f8e(0x93)](_0x15932a=>{const _0x1d5c21=_0x384f8e;_0x1d5c21(0x8a)==typeof _0x15932a[_0x1d5c21(0x83)]&&_0x15932a[_0x1d5c21(0x83)](_0x4d5986);});});}[_0x4d46a5(0x91)](){const _0x21fc73=_0x4d46a5;this[_0x21fc73(0x7f)][_0x21fc73(0x93)](_0x33df4c=>{const _0x592106=_0x21fc73;_0x33df4c[_0x592106(0x90)]&&_0x33df4c[_0x592106(0x90)][_0x592106(0x93)](_0x4b4134=>{const _0x53b229=_0x592106;_0x53b229(0x8a)==typeof _0x4b4134[_0x53b229(0x83)]&&_0x4b4134[_0x53b229(0x83)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x566e20=_0x2164;function _0x32e6(){const _0x6a4dc1=['bindTemplate','ck-dropdown-menu-list__nested-menu__button__arrow','children','5946zKuqZK','arrowView','set','isOn','ck-dropdown-menu-list__nested-menu__button','55188KeeIls','render','184oaRtuJ','extendTemplate','_createArrowView','2436137SlZNfO','8254slwyIr','861eQyzIi','21253VQkkrG','1789020dgqyql','content','menuitem','20XPQSJn','339965xXHbqo','42BYJAUH','mouseenter','add'];_0x32e6=function(){return _0x6a4dc1;};return _0x32e6();}(function(_0x593c81,_0x581e31){const _0x130ef5=_0x2164,_0x3ed7d6=_0x593c81();while(!![]){try{const _0x496f35=-parseInt(_0x130ef5(0x15f))/0x1+parseInt(_0x130ef5(0x15d))/0x2*(-parseInt(_0x130ef5(0x165))/0x3)+-parseInt(_0x130ef5(0x163))/0x4*(-parseInt(_0x130ef5(0x164))/0x5)+parseInt(_0x130ef5(0x152))/0x6*(parseInt(_0x130ef5(0x15e))/0x7)+parseInt(_0x130ef5(0x159))/0x8*(-parseInt(_0x130ef5(0x157))/0x9)+parseInt(_0x130ef5(0x160))/0xa+-parseInt(_0x130ef5(0x15c))/0xb;if(_0x496f35===_0x581e31)break;else _0x3ed7d6['push'](_0x3ed7d6['shift']());}catch(_0x17cd4e){_0x3ed7d6['push'](_0x3ed7d6['shift']());}}}(_0x32e6,0x30a3a));function _0x2164(_0xc641ac,_0x519a67){const _0x32e6fe=_0x32e6();return _0x2164=function(_0x2164d7,_0x50741c){_0x2164d7=_0x2164d7-0x150;let _0x339d42=_0x32e6fe[_0x2164d7];return _0x339d42;},_0x2164(_0xc641ac,_0x519a67);}import{IconView as _0x31511f,ListItemButtonView as _0x67ec04}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x20763f}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x67ec04{[_0x566e20(0x153)];constructor(_0x5c641a,_0x36912b){const _0x1a8f82=_0x566e20;super(_0x5c641a,_0x36912b);const _0x4d7511=this[_0x1a8f82(0x168)];this[_0x1a8f82(0x154)]({'withText':!0x0,'role':_0x1a8f82(0x162)}),this[_0x1a8f82(0x153)]=this[_0x1a8f82(0x15b)](),this[_0x1a8f82(0x15a)]({'attributes':{'class':[_0x1a8f82(0x156)],'aria-haspopup':!0x0,'aria-expanded':this[_0x1a8f82(0x168)]['to'](_0x1a8f82(0x155),_0x1ba2cc=>String(_0x1ba2cc)),'data-cke-tooltip-disabled':_0x4d7511['to'](_0x1a8f82(0x155))},'on':{'mouseenter':_0x4d7511['to'](_0x1a8f82(0x166))}});}[_0x566e20(0x158)](){const _0x126854=_0x566e20;super[_0x126854(0x158)](),this[_0x126854(0x151)][_0x126854(0x167)](this[_0x126854(0x153)]);}[_0x566e20(0x15b)](){const _0x3bcd46=_0x566e20,_0x3705f7=new _0x31511f();return _0x3705f7[_0x3bcd46(0x161)]=_0x20763f,_0x3705f7[_0x3bcd46(0x15a)]({'attributes':{'class':_0x3bcd46(0x150)}}),_0x3705f7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x244e44=_0x1d23;(function(_0x2c7f59,_0x3f93e6){var _0x18f853=_0x1d23,_0x137d22=_0x2c7f59();while(!![]){try{var _0x738957=parseInt(_0x18f853(0xcb))/0x1+-parseInt(_0x18f853(0xc8))/0x2+-parseInt(_0x18f853(0xc2))/0x3+parseInt(_0x18f853(0xc3))/0x4+-parseInt(_0x18f853(0xc5))/0x5*(parseInt(_0x18f853(0xc9))/0x6)+-parseInt(_0x18f853(0xc7))/0x7+parseInt(_0x18f853(0xc0))/0x8*(parseInt(_0x18f853(0xcc))/0x9);if(_0x738957===_0x3f93e6)break;else _0x137d22['push'](_0x137d22['shift']());}catch(_0x55964a){_0x137d22['push'](_0x137d22['shift']());}}}(_0x4e1f,0xe5082));import{ContextPlugin as _0x2d660e}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x2cf5d7}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0xb80e45}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x3d90ed}from'./aireviewmodeediting.js';function _0x1d23(_0x390fae,_0x4ca4c9){var _0x4e1f43=_0x4e1f();return _0x1d23=function(_0x1d2301,_0x561e65){_0x1d2301=_0x1d2301-0xc0;var _0x1cc78d=_0x4e1f43[_0x1d2301];return _0x1cc78d;},_0x1d23(_0x390fae,_0x4ca4c9);}function _0x4e1f(){var _0x5d42c9=['requires','6255gFxsEq','AIReviewMode','4295949TURyUF','2828702aelimD','4794dzezGG','isOfficialPlugin','907023tlQkWN','9158382FTXyjp','isPremiumPlugin','24teTyxW','pluginName','4456884yRCyuL','5966128MCzLTy'];_0x4e1f=function(){return _0x5d42c9;};return _0x4e1f();}export class AIReviewMode extends _0x2d660e{static get[_0x244e44(0xc4)](){return[_0x2cf5d7,_0xb80e45,_0x3d90ed];}static get[_0x244e44(0xc1)](){var _0x343dfa=_0x244e44;return _0x343dfa(0xc6);}static get[_0x244e44(0xca)](){return!0x0;}static get[_0x244e44(0xcd)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3c2c4b=_0x4ebd;(function(_0x38b4c9,_0x22e977){const _0x5537fb=_0x4ebd,_0x5a690d=_0x38b4c9();while(!![]){try{const _0x41b994=parseInt(_0x5537fb(0x185))/0x1+parseInt(_0x5537fb(0xf3))/0x2*(parseInt(_0x5537fb(0x178))/0x3)+-parseInt(_0x5537fb(0x16f))/0x4*(-parseInt(_0x5537fb(0x164))/0x5)+-parseInt(_0x5537fb(0x136))/0x6*(-parseInt(_0x5537fb(0x159))/0x7)+parseInt(_0x5537fb(0x12e))/0x8*(parseInt(_0x5537fb(0x12f))/0x9)+parseInt(_0x5537fb(0x165))/0xa*(parseInt(_0x5537fb(0xfe))/0xb)+-parseInt(_0x5537fb(0x112))/0xc*(parseInt(_0x5537fb(0x145))/0xd);if(_0x41b994===_0x22e977)break;else _0x5a690d['push'](_0x5a690d['shift']());}catch(_0x475d45){_0x5a690d['push'](_0x5a690d['shift']());}}}(_0x5e0f,0x20db9));import{ContextPlugin as _0x2d6cfd}from'ckeditor5/src/core.js';function _0x5e0f(){const _0x29ff73=['getChangeById','switchToReadOnly','changeMarkerHovered','emitter','changes','acceptAllChanges','restart','markChangeAsRejected','4kKdGVy','getActiveChanges','reviewCheckResultChangeStatusUpdated','_getTranslationWithDefault','reviewCheckResultDeactivated','showCheckRunResults','ck-ai-review-mode-highlights','isPremiumPlugin','contentNew','title','processedResultsCount','248083OKlKjI','changeId','options','error-chunk','translate','listenTo','AI_REVIEW_CHECK_','updateChangeState','acceptChange','changeMarkerClick','init','ai-review-mode-check-run-failed','ai-request-aborted','source','args','data','isChangeActive','find','context','contentInitial','73812dLmgRb','content','isOfficialPlugin','getMarkerElementForChange','addClass','aborted','updateDocumentData','get','view','reviewCheckResultAdded','prompt','showGeneralReviewModeErrorView','reviewCheckResultActivated','map','forceReadyState','resetActiveStateInResults','AIReviewModeUI','ai.reviewMode.translations','showChangeBalloon','changeMarkerBlurred','plugins','applyChange','ck-ai-review-mode-diff','viewportOffset','subTitle','label','_isDiffOn','setAvailableChecks','8QubCQK','132417qtorGk','getRoot','domElement','leaveReviewModeResultList','showChunkErrorView','getDomRoot','getAll','6XisTKL','_currentReviewCheckRun','rejectChange','status','AIReviewModeController','showNoChangesView','_aiConnector','isAnyChangeActivated','markAllChangesAsAccepted','_DESCRIPTION','setCheckResultTitle','showActionsWhenResultIsReady','click','getEditor','models','1066sbQrVP','model','_aiReviewCheckList','panel','.ck-ai-review-mode__check-run-result','markChangePositionInEditorContent','showGeneralResultsErrorView','_logError','activateChange','markChangeAsPending','leaveReviewMode','length','hideDiffInBalloon','startsWith','hasModifications','_TITLE','document','finishReview','loading','ai-review-mode-check-run-general-error','839797hHjNnY','_onDiffChange','AIReviewModeEditing','showReviewCheckList','message','finished','getCheckById','_OPTIONS_LABEL','getChangeElement','closest','markChangeAsAccepted','445WZwOOQ','110HxUNFQ','hover','_aiReviewModeUi','diffContent','isCustom','hideChangeBalloon','ai-review-mode-no-current-check-run','documentData','currentError','requires','604wzIOYP','change','ai-review-mode-check-run-chunk-error','_aiReviewModeEditing','getDocumentData','markerElement','custom','replaceAll','sendRating','54171qphASd','_changeActivationSource','ai-review-mode-source-check-not-found','editing','showReviewCompletedView','stopListening','changeMarkerRestored','_onReviewModeRunLeave','AIConnector','unmodified','reviewCheckResultReady','pluginName','removeCheckById','206647JVduxj','getReviewCheckList','_translateReviewChecks','clearAllMarkers','changeMarkerRemoved','includes','ai-review-mode-models-unable-to-retrieve','switchToEdit','domEvent','ready','showDiffInBalloon','description','params','_OPTIONS_DATA_','removeClass','retryReview','runReviewCheck','toUpperCase','markChangeAsOutdated','result','reviewCheckRunUpdated','showCheckRunResult','deactivateChange','start','checks','addResultChanges','dismissChange','toggleDiff','setActiveStateInResults','abortReviewStream','locale','abort','error-general','config'];_0x5e0f=function(){return _0x29ff73;};return _0x5e0f();}import{CKEditorError as _0x1b63b9,logError as _0x2e7983,scrollAncestorsToShowTarget as _0x385093,scrollViewportToShowTarget as _0x20d0cc}from'ckeditor5/src/utils.js';import{AIConnector as _0xde7e5}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x30d3fe}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x36b5f3}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x45d044}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4cf6e1}from'../aicore/model/aimodels.js';function _0x4ebd(_0x52ba3d,_0x33f9d8){const _0x5e0f20=_0x5e0f();return _0x4ebd=function(_0x4ebd06,_0x5a9eb1){_0x4ebd06=_0x4ebd06-0xd8;let _0x385e66=_0x5e0f20[_0x4ebd06];return _0x385e66;},_0x4ebd(_0x52ba3d,_0x33f9d8);}import{AI_REVIEW_CHECKS as _0x5cf220}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x47446f}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2d6cfd{[_0x3c2c4b(0x13c)];[_0x3c2c4b(0x167)];[_0x3c2c4b(0x172)];[_0x3c2c4b(0x147)];[_0x3c2c4b(0x137)];[_0x3c2c4b(0x12c)]=!0x1;[_0x3c2c4b(0x179)]=null;static get[_0x3c2c4b(0x16e)](){return[_0xde7e5];}static get[_0x3c2c4b(0x183)](){const _0x13a3ef=_0x3c2c4b;return _0x13a3ef(0x13a);}static get[_0x3c2c4b(0x114)](){return!0x0;}static get[_0x3c2c4b(0xfa)](){return!0x0;}async[_0x3c2c4b(0x108)](){const _0x7b7e5f=_0x3c2c4b;this[_0x7b7e5f(0x13c)]=this[_0x7b7e5f(0x110)][_0x7b7e5f(0x126)][_0x7b7e5f(0x119)](_0x7b7e5f(0x180)),this[_0x7b7e5f(0x167)]=this[_0x7b7e5f(0x110)][_0x7b7e5f(0x126)][_0x7b7e5f(0x119)](_0x7b7e5f(0x122)),this[_0x7b7e5f(0x172)]=this[_0x7b7e5f(0x110)][_0x7b7e5f(0x126)][_0x7b7e5f(0x119)](_0x7b7e5f(0x15b));const _0x16f256=this[_0x7b7e5f(0x110)][_0x7b7e5f(0xea)][_0x7b7e5f(0x119)](_0x7b7e5f(0x123));if(_0x16f256){for(const _0x3c1296 of _0x5cf220)_0x7b7e5f(0x102)===_0x3c1296['id']&&(_0x3c1296[_0x7b7e5f(0x100)][0x0][_0x7b7e5f(0x10d)]=_0x16f256);}const _0x2e68b1=this[_0x7b7e5f(0x187)](_0x5cf220);this[_0x7b7e5f(0x147)]=new _0x30d3fe(_0x2e68b1);const _0x56bcfb=this[_0x7b7e5f(0x147)][_0x7b7e5f(0xe1)][_0x7b7e5f(0x10f)](_0x48f177=>_0x7b7e5f(0x175)===_0x48f177['id']);if(_0x56bcfb)try{_0x56bcfb[_0x7b7e5f(0x144)]=await new _0x4cf6e1({'connector':this[_0x7b7e5f(0x13c)],'locale':this[_0x7b7e5f(0x110)][_0x7b7e5f(0xe7)]})[_0x7b7e5f(0x135)]();}catch(_0x44297d){this[_0x7b7e5f(0x147)][_0x7b7e5f(0x184)](_0x7b7e5f(0x175)),this[_0x7b7e5f(0x14c)](new _0x1b63b9(_0x7b7e5f(0x18b),this,{'error':_0x44297d}));}this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x186),()=>{const _0x5022ba=_0x7b7e5f;this[_0x5022ba(0x167)][_0x5022ba(0x12d)](this[_0x5022ba(0x147)][_0x5022ba(0xe1)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xd9),async(_0xd13012,_0x4b9698)=>{const _0x4bc900=_0x7b7e5f,_0x13454f=this[_0x4bc900(0x147)][_0x4bc900(0x15f)](_0x4b9698['id']);if(_0x13454f){this[_0x4bc900(0x15a)](this[_0x4bc900(0x12c)]),_0x4b9698[_0x4bc900(0x169)]?this[_0x4bc900(0x137)]=new _0x45d044(_0x4b9698[_0x4bc900(0x10c)][_0x4bc900(0x11c)],_0x4b9698[_0x4bc900(0x10c)][_0x4bc900(0x146)],this[_0x4bc900(0x172)][_0x4bc900(0x173)](),_0x13454f,this[_0x4bc900(0x13c)]):this[_0x4bc900(0x137)]=new _0x36b5f3(this[_0x4bc900(0x172)][_0x4bc900(0x173)](),_0x13454f,this[_0x4bc900(0x13c)],_0x4b9698[_0x4bc900(0x191)],_0x4b9698[_0x4bc900(0x10c)]),this[_0x4bc900(0x167)][_0x4bc900(0x140)](this[_0x4bc900(0x137)][_0x4bc900(0xfc)],this[_0x4bc900(0x137)][_0x4bc900(0x12a)]),this[_0x4bc900(0x137)]['on'](_0x4bc900(0xdd),(_0x1bf5ee,_0x175c31)=>{const _0x3a07aa=_0x4bc900;switch(_0x175c31[_0x3a07aa(0x139)]){case _0x3a07aa(0x10d):case _0x3a07aa(0x157):this[_0x3a07aa(0x172)][_0x3a07aa(0xec)](),this[_0x3a07aa(0x167)][_0x3a07aa(0xf8)](_0x175c31);break;case _0x3a07aa(0x15e):this[_0x3a07aa(0x167)][_0x3a07aa(0x17c)]();break;case _0x3a07aa(0x18e):this[_0x3a07aa(0x167)][_0x3a07aa(0x141)]();break;case _0x3a07aa(0x181):this[_0x3a07aa(0x167)][_0x3a07aa(0x13b)]();break;case _0x3a07aa(0xe9):this[_0x3a07aa(0x167)][_0x3a07aa(0x14b)](),this[_0x3a07aa(0x14c)](new _0x1b63b9(_0x3a07aa(0x158),this,this[_0x3a07aa(0x137)]?.[_0x3a07aa(0x16d)]));break;case _0x3a07aa(0x101):this[_0x3a07aa(0x167)][_0x3a07aa(0x133)](),this[_0x3a07aa(0x14c)](new _0x1b63b9(_0x3a07aa(0x171),this,this[_0x3a07aa(0x137)]?.[_0x3a07aa(0x16d)]));break;case _0x3a07aa(0x117):this[_0x3a07aa(0x137)]&&this[_0x3a07aa(0x137)][_0x3a07aa(0xfd)]>0x0?setTimeout(()=>{const _0x25e254=_0x3a07aa;this[_0x25e254(0x137)]?.[_0x25e254(0x120)]();},0x0):this[_0x3a07aa(0x17f)](!0x0);}_0x3a07aa(0x18e)!==_0x175c31[_0x3a07aa(0x139)]&&_0x3a07aa(0x101)!==_0x175c31[_0x3a07aa(0x139)]&&_0x3a07aa(0xe9)!==_0x175c31[_0x3a07aa(0x139)]||this[_0x3a07aa(0x137)]?.[_0x3a07aa(0x177)]();}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0x11b),(_0x121399,_0x4c7252)=>{const _0x2e6538=_0x4bc900;if(!this[_0x2e6538(0x137)])throw new _0x1b63b9(_0x2e6538(0x16b),this);const _0x1fd290=this[_0x2e6538(0x172)][_0x2e6538(0x168)](_0x4c7252[_0x2e6538(0xdc)][_0x2e6538(0x111)],_0x4c7252[_0x2e6538(0xdc)][_0x2e6538(0xfb)]);_0x4c7252[_0x2e6538(0x10b)][_0x2e6538(0xe2)](_0x4c7252[_0x2e6538(0xdc)]['id'],_0x1fd290);}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0x182),(_0x3b8347,_0x4f22d4)=>{const _0x597e1c=_0x4bc900;for(const _0x3ca676 of _0x4f22d4[_0x597e1c(0xef)])this[_0x597e1c(0x167)][_0x597e1c(0xde)](_0x3ca676);this[_0x597e1c(0x172)][_0x597e1c(0x14a)](_0x4f22d4[_0x597e1c(0xef)],_0x4f22d4[_0x597e1c(0x10b)][_0x597e1c(0x16c)]);}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0xf5),(_0x442be2,_0x410df4)=>{const _0x274390=_0x4bc900;this[_0x274390(0x167)][_0x274390(0x105)](_0x410df4[_0x274390(0x170)]['id'],_0x410df4[_0x274390(0x139)]);}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0x11e),(_0x4fc337,_0x1a0260)=>{const _0x11b45f=_0x4bc900;this[_0x11b45f(0x167)][_0x11b45f(0xe5)](_0x1a0260[_0x11b45f(0x170)]['id']);const _0x14d644=this[_0x11b45f(0x172)][_0x11b45f(0x115)](_0x1a0260[_0x11b45f(0x170)]['id']);if(!_0x14d644)return;if(_0x11b45f(0x113)===this[_0x11b45f(0x179)]){const _0x9ab401=this[_0x11b45f(0x167)][_0x11b45f(0x161)](_0x1a0260[_0x11b45f(0x170)]['id']);_0x9ab401&&_0x385093(_0x9ab401[_0x11b45f(0x162)](_0x11b45f(0x149))||_0x9ab401);}else{if(_0x11b45f(0x148)===this[_0x11b45f(0x179)]){const _0x2be50a={'target':_0x14d644[_0x11b45f(0x131)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x20d0cc(_0x2be50a);}}const _0x508939=this[_0x11b45f(0x172)][_0x11b45f(0x143)]();this[_0x11b45f(0x167)][_0x11b45f(0x124)](_0x1a0260[_0x11b45f(0x170)],_0x14d644[_0x11b45f(0x131)],void 0x0,_0x11b45f(0x142),_0x508939?.[_0x11b45f(0x17b)]?.[_0x11b45f(0x11a)]?.[_0x11b45f(0x134)](),_0x508939?.['ui']?.[_0x11b45f(0x129)]);}),this[_0x4bc900(0x137)]['on'](_0x4bc900(0xf7),()=>{const _0x56edf0=_0x4bc900;this[_0x56edf0(0x167)][_0x56edf0(0x121)](),this[_0x56edf0(0x167)][_0x56edf0(0x16a)]();});try{await this[_0x4bc900(0x137)][_0x4bc900(0xe0)]();}catch(_0xf9604d){_0xf9604d instanceof Error&&_0xf9604d[_0x4bc900(0x15d)][_0x4bc900(0x18a)](_0x4bc900(0x10a))||(_0xf9604d instanceof _0x1b63b9?this[_0x4bc900(0x14c)](_0xf9604d):this[_0x4bc900(0x14c)](new _0x1b63b9(_0x4bc900(0x109),this,{'error':_0xf9604d})));}}else this[_0x4bc900(0x14c)](new _0x1b63b9(_0x4bc900(0x17a),this,{'checkId':_0x4b9698['id']}));}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x14f),()=>{const _0x450156=_0x7b7e5f;this[_0x450156(0x17f)]();}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x132),()=>{const _0x3a8426=_0x7b7e5f;this[_0x3a8426(0x17f)](!0x0);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xe6),()=>{const _0x5cb270=_0x7b7e5f;this[_0x5cb270(0x137)]&&this[_0x5cb270(0x137)][_0x5cb270(0xe8)]();}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x156),()=>{const _0x22e3e5=_0x7b7e5f;this[_0x22e3e5(0x17f)](!0x0);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xf0),()=>{const _0x2fd8a5=_0x7b7e5f;if(!this[_0x2fd8a5(0x137)])return;const _0x226839=this[_0x2fd8a5(0x137)][_0x2fd8a5(0xf4)]();_0x226839[_0x2fd8a5(0x150)]&&(this[_0x2fd8a5(0x172)][_0x2fd8a5(0x127)](_0x226839[_0x2fd8a5(0x11f)](_0x1c241c=>_0x1c241c['id'])),this[_0x2fd8a5(0x137)][_0x2fd8a5(0x13e)](),this[_0x2fd8a5(0x137)][_0x2fd8a5(0x177)]());}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x106),(_0x5d2ae0,_0x50a84b)=>{const _0x3e2f2b=_0x7b7e5f;this[_0x3e2f2b(0x137)]&&this[_0x3e2f2b(0x137)][_0x3e2f2b(0x10e)](_0x50a84b['id'])&&(this[_0x3e2f2b(0x172)][_0x3e2f2b(0x127)]([_0x50a84b['id']]),this[_0x3e2f2b(0x137)][_0x3e2f2b(0x163)](_0x50a84b['id']),this[_0x3e2f2b(0x167)][_0x3e2f2b(0x16a)](),this[_0x3e2f2b(0x137)][_0x3e2f2b(0x177)](_0x50a84b['id']));}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xe3),(_0x1961c7,_0x344954)=>{const _0x3e32b4=_0x7b7e5f;this[_0x3e32b4(0x137)]&&this[_0x3e32b4(0x137)][_0x3e32b4(0x10e)](_0x344954['id'])&&(this[_0x3e32b4(0x172)][_0x3e32b4(0x138)](_0x344954['id']),this[_0x3e32b4(0x137)][_0x3e32b4(0xf2)](_0x344954['id']),this[_0x3e32b4(0x167)][_0x3e32b4(0x16a)](),this[_0x3e32b4(0x137)][_0x3e32b4(0x177)](_0x344954['id']));}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xe4),(_0x357290,_0x23548d)=>{const _0x324d69=_0x7b7e5f;this[_0x324d69(0x12c)]=_0x23548d['on'],this[_0x324d69(0x15a)](this[_0x324d69(0x12c)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xd8),async()=>{const _0x4b2157=_0x7b7e5f;this[_0x4b2157(0x137)]&&(this[_0x4b2157(0x172)][_0x4b2157(0x188)](),this[_0x4b2157(0x137)][_0x4b2157(0x118)](this[_0x4b2157(0x172)][_0x4b2157(0x173)]()),await this[_0x4b2157(0x137)][_0x4b2157(0xf1)]());}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0x14d),(_0x5bd428,_0x2cff54)=>{const _0x55a4d3=_0x7b7e5f;this[_0x55a4d3(0x137)]&&(this[_0x55a4d3(0x179)]=_0x55a4d3(0x148),this[_0x55a4d3(0x137)][_0x55a4d3(0x14d)](_0x2cff54['id']));}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x167)],_0x7b7e5f(0xdf),()=>{const _0x2fa717=_0x7b7e5f;this[_0x2fa717(0x137)]&&this[_0x2fa717(0x137)][_0x2fa717(0xdf)]();}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0x107),(_0x5bfed9,_0x229e27)=>{const _0x2e8df8=_0x7b7e5f;if(!this[_0x2e8df8(0x137)])return;this[_0x2e8df8(0x179)]=_0x2e8df8(0x113),this[_0x2e8df8(0x137)][_0x2e8df8(0x14d)](_0x229e27[_0x2e8df8(0xff)]);const _0x4ae128=this[_0x2e8df8(0x137)][_0x2e8df8(0xeb)](_0x229e27[_0x2e8df8(0xff)]);if(!_0x4ae128)return;const _0x7dbaf6=this[_0x2e8df8(0x172)][_0x2e8df8(0x143)]();this[_0x2e8df8(0x167)][_0x2e8df8(0x124)](_0x4ae128,_0x229e27[_0x2e8df8(0x174)],_0x229e27[_0x2e8df8(0x18d)],_0x2e8df8(0x142),_0x7dbaf6?.[_0x2e8df8(0x17b)]?.[_0x2e8df8(0x11a)]?.[_0x2e8df8(0x134)](),_0x7dbaf6?.['ui']?.[_0x2e8df8(0x129)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0xed),(_0x4ce39c,_0x2d186f)=>{const _0x20b8e4=_0x7b7e5f;if(!this[_0x20b8e4(0x137)])return;if(this[_0x20b8e4(0x137)][_0x20b8e4(0x13d)]())return;const _0xb718cb=this[_0x20b8e4(0x137)][_0x20b8e4(0xeb)](_0x2d186f[_0x20b8e4(0xff)]);if(!_0xb718cb)return;const _0xb3ed26=this[_0x20b8e4(0x172)][_0x20b8e4(0x143)]();this[_0x20b8e4(0x167)][_0x20b8e4(0x124)](_0xb718cb,_0x2d186f[_0x20b8e4(0x174)],_0x2d186f[_0x20b8e4(0x18d)],_0x20b8e4(0x166),_0xb3ed26?.[_0x20b8e4(0x17b)]?.[_0x20b8e4(0x11a)]?.[_0x20b8e4(0x134)](),_0xb3ed26?.['ui']?.[_0x20b8e4(0x129)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0x125),()=>{const _0x39b426=_0x7b7e5f;if(!this[_0x39b426(0x137)])return;this[_0x39b426(0x137)][_0x39b426(0x13d)]()||this[_0x39b426(0x167)][_0x39b426(0x16a)]();}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0x189),(_0x18c182,_0x5c4d96)=>{const _0xf0f406=_0x7b7e5f;this[_0xf0f406(0x137)]&&this[_0xf0f406(0x137)][_0xf0f406(0xdb)](_0x5c4d96[_0xf0f406(0xff)]);}),this[_0x7b7e5f(0x103)](this[_0x7b7e5f(0x172)][_0x7b7e5f(0xee)],_0x7b7e5f(0x17e),(_0x35334c,_0x5d7acd)=>{const _0x363616=_0x7b7e5f;this[_0x363616(0x137)]&&this[_0x363616(0x137)][_0x363616(0x14e)](_0x5d7acd[_0x363616(0xff)]);});}[_0x3c2c4b(0x17f)](_0x29acf9=!0x1){const _0x181ef4=_0x3c2c4b;this[_0x181ef4(0x137)]&&(this[_0x181ef4(0x137)][_0x181ef4(0x153)]||this[_0x181ef4(0x137)][_0x181ef4(0x177)](),this[_0x181ef4(0x137)][_0x181ef4(0x17d)](),this[_0x181ef4(0x137)][_0x181ef4(0xe8)](),this[_0x181ef4(0x137)]=void 0x0),_0x29acf9&&this[_0x181ef4(0x167)][_0x181ef4(0x15c)](),this[_0x181ef4(0x172)][_0x181ef4(0x188)](),this[_0x181ef4(0x172)][_0x181ef4(0x18c)](),this[_0x181ef4(0x179)]=null;const _0x356ad2=this[_0x181ef4(0x172)][_0x181ef4(0x143)]();_0x356ad2&&_0x356ad2[_0x181ef4(0x17b)][_0x181ef4(0x11a)][_0x181ef4(0x170)](_0x5531f3=>{const _0x5248c8=_0x181ef4,_0x557f59=_0x356ad2[_0x5248c8(0x17b)][_0x5248c8(0x11a)][_0x5248c8(0x155)][_0x5248c8(0x130)]();_0x5531f3[_0x5248c8(0x193)](_0x5248c8(0x128),_0x557f59),_0x5531f3[_0x5248c8(0x193)](_0x5248c8(0xf9),_0x557f59);});}[_0x3c2c4b(0x15a)](_0x1f493a){const _0x1b8866=_0x3c2c4b,_0x130482=this[_0x1b8866(0x172)][_0x1b8866(0x143)]();_0x1f493a?this[_0x1b8866(0x167)][_0x1b8866(0x151)]():this[_0x1b8866(0x167)][_0x1b8866(0x18f)](),_0x130482&&_0x130482[_0x1b8866(0x17b)][_0x1b8866(0x11a)][_0x1b8866(0x170)](_0x5c572b=>{const _0x13525b=_0x1b8866,_0x4bf61f=_0x130482[_0x13525b(0x17b)][_0x13525b(0x11a)][_0x13525b(0x155)][_0x13525b(0x130)]();_0x5c572b[_0x13525b(0x193)](_0x13525b(0x128),_0x4bf61f),_0x5c572b[_0x13525b(0x193)](_0x13525b(0xf9),_0x4bf61f),_0x5c572b[_0x13525b(0x116)](_0x1f493a?_0x13525b(0x128):_0x13525b(0xf9),_0x4bf61f);});}[_0x3c2c4b(0x187)](_0x132606){const _0x807cf7=_0x3c2c4b;return _0x132606[_0x807cf7(0x11f)](_0xee6bd5=>{const _0x472234=_0x807cf7,_0x1d1a45=_0x472234(0x104)+_0xee6bd5['id'][_0x472234(0xda)]()[_0x472234(0x176)]('-','_'),_0x2053c3={..._0xee6bd5,'title':this[_0x472234(0xf6)](_0x1d1a45+_0x472234(0x154),_0xee6bd5[_0x472234(0xfc)]),'description':this[_0x472234(0xf6)](_0x1d1a45+_0x472234(0x13f),_0xee6bd5[_0x472234(0x190)])};return _0xee6bd5[_0x472234(0x100)]&&(_0x2053c3[_0x472234(0x100)]=_0xee6bd5[_0x472234(0x100)][_0x472234(0x11f)](_0x70f564=>({..._0x70f564,'label':this[_0x472234(0xf6)](_0x1d1a45+_0x472234(0x160),_0x70f564[_0x472234(0x12b)]||''),'data':_0x70f564[_0x472234(0x10d)]?_0x70f564[_0x472234(0x10d)][_0x472234(0x11f)](_0x1520c8=>({..._0x1520c8,'label':this[_0x472234(0xf6)](_0x1d1a45+_0x472234(0x192)+_0x1520c8['id'][_0x472234(0xda)](),_0x1520c8[_0x472234(0x12b)])})):void 0x0}))),_0x2053c3;});}[_0x3c2c4b(0xf6)](_0x239f83,_0x157886){const _0x5b222b=_0x3c2c4b,_0x35a682=this[_0x5b222b(0x110)][_0x5b222b(0xe7)],_0x1a0815=_0x47446f(_0x35a682,_0x239f83);return _0x1a0815===_0x239f83?_0x157886:_0x1a0815;}[_0x3c2c4b(0x14c)](_0x3813da){const _0x289daa=_0x3c2c4b;_0x2e7983(_0x3813da[_0x289daa(0x15d)]),_0x3813da[_0x289daa(0x15d)][_0x289daa(0x152)](_0x289daa(0x18b))?this[_0x289daa(0x167)][_0x289daa(0x11d)]():this[_0x289daa(0x167)][_0x289daa(0x14b)]();}}
|
|
23
|
+
const _0x25e591=_0x179a;function _0x563e(){const _0x2b017a=['_TITLE','loading','find','panel','leaveReviewModeResultList','locale','ai-review-mode-check-run-chunk-error','AIReviewModeController','toUpperCase','showCheckRunResults','aborted','_onReviewModeRunLeave','getMarkerElementForChange','_logError','changeMarkerHovered','231867ChXqXn','getCheckById','checks','updateDocumentData','getRoot','rejectChange','startsWith','listenTo','234ShsjNy','ai-request-aborted','ai.reviewMode.translations','translate','removeClass','resetActiveStateInResults','context','documentData','changeMarkerRemoved','toggleDiff','_OPTIONS_DATA_','source','removeCheckById','unmodified','config','start','changeMarkerRestored','switchToReadOnly','_currentReviewCheckRun','reviewCheckRunUpdated','updateChangeState','isChangeActive','sendRating','showCheckRunResult','isOfficialPlugin','domEvent','click','addResultChanges','showReviewCheckList','switchToEdit','524860DQBDwo','length','getReviewCheckList','content','hideChangeBalloon','ai-review-mode-check-run-failed','markerElement','activateChange','error-chunk','_getTranslationWithDefault','getActiveChanges','setActiveStateInResults','showGeneralReviewModeErrorView','stopListening','markAllChangesAsAccepted','finished','1117732XrkvSw','reviewCheckResultChangeStatusUpdated','message','getEditor','acceptAllChanges','reviewCheckResultActivated','contentInitial','reviewCheckResultAdded','models','getChangeElement','leaveReviewMode','_translateReviewChecks','179615lQnCWu','_DESCRIPTION','getAll','changeMarkerBlurred','reviewCheckResultReady','_aiConnector','diffContent','abortReviewStream','AI_REVIEW_CHECK_','651746bLgzKi','viewportOffset','get','title','ai-review-mode-models-unable-to-retrieve','clearAllMarkers','600AjMZjn','AIReviewModeEditing','label','domElement','_changeActivationSource','currentError','markChangeAsAccepted','getDomRoot','runReviewCheck','finishReview','change','showGeneralResultsErrorView','prompt','changes','includes','getChangeById','showReviewCompletedView','args','showActionsWhenResultIsReady','restart','processedResultsCount','data','options','isAnyChangeActivated','AIConnector','model','hideDiffInBalloon','ai-review-mode-no-current-check-run','_isDiffOn','_OPTIONS_LABEL','showNoChangesView','plugins','markChangePositionInEditorContent','addClass','_aiReviewCheckList','status','showChunkErrorView','view','requires','ai-review-mode-source-check-not-found','ready','acceptChange','markChangeAsPending','params','description','isPremiumPlugin','isCustom','emitter','editing','_aiReviewModeUi','markChangeAsOutdated','error-general','applyChange','document','pluginName','_aiReviewModeEditing','2660916OXBkBt','AIReviewModeUI','contentNew','closest','.ck-ai-review-mode__check-run-result','changeId','setAvailableChecks','20848VwFvpU','showChangeBalloon','ai-review-mode-check-run-general-error','getDocumentData','abort','246pnSYJh','changeMarkerClick','reviewCheckResultDeactivated','showDiffInBalloon','ck-ai-review-mode-highlights','hasModifications','subTitle','retryReview','40WLxELT','custom','markChangeAsRejected','replaceAll','dismissChange','map','deactivateChange','init','hover','ck-ai-review-mode-diff','setCheckResultTitle','result','_onDiffChange','forceReadyState'];_0x563e=function(){return _0x2b017a;};return _0x563e();}(function(_0x33e544,_0x199f8f){const _0x4141c2=_0x179a,_0x548773=_0x33e544();while(!![]){try{const _0x3e30a1=parseInt(_0x4141c2(0x263))/0x1+-parseInt(_0x4141c2(0x1ee))/0x2*(-parseInt(_0x4141c2(0x1f3))/0x3)+-parseInt(_0x4141c2(0x1e7))/0x4+parseInt(_0x4141c2(0x25a))/0x5*(parseInt(_0x4141c2(0x220))/0x6)+-parseInt(_0x4141c2(0x23e))/0x7*(-parseInt(_0x4141c2(0x1fb))/0x8)+-parseInt(_0x4141c2(0x218))/0x9*(parseInt(_0x4141c2(0x269))/0xa)+-parseInt(_0x4141c2(0x24e))/0xb;if(_0x3e30a1===_0x199f8f)break;else _0x548773['push'](_0x548773['shift']());}catch(_0x578f6c){_0x548773['push'](_0x548773['shift']());}}}(_0x563e,0xecc3e));import{ContextPlugin as _0xc0ba7e}from'ckeditor5/src/core.js';import{CKEditorError as _0x4927ae,logError as _0x103ea8,scrollAncestorsToShowTarget as _0x1999b1,scrollViewportToShowTarget as _0x30ed88}from'ckeditor5/src/utils.js';import{AIConnector as _0x545f73}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x7252f8}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x1074a3}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x4a92f2}from'./model/aireviewcustomcheckrun.js';function _0x179a(_0x568e1d,_0x1fdf69){const _0x563ec2=_0x563e();return _0x179a=function(_0x179afd,_0xe897d5){_0x179afd=_0x179afd-0x1bf;let _0x308a53=_0x563ec2[_0x179afd];return _0x308a53;},_0x179a(_0x568e1d,_0x1fdf69);}import{AIModels as _0x28668b}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x434f95}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x98fad6}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0xc0ba7e{[_0x25e591(0x25f)];[_0x25e591(0x1e0)];[_0x25e591(0x1e6)];[_0x25e591(0x1d1)];[_0x25e591(0x232)];[_0x25e591(0x1cb)]=!0x1;[_0x25e591(0x26d)]=null;static get[_0x25e591(0x1d5)](){return[_0x545f73];}static get[_0x25e591(0x1e5)](){const _0xfc376=_0x25e591;return _0xfc376(0x210);}static get[_0x25e591(0x238)](){return!0x0;}static get[_0x25e591(0x1dc)](){return!0x0;}async[_0x25e591(0x202)](){const _0x1547c3=_0x25e591;this[_0x1547c3(0x25f)]=this[_0x1547c3(0x226)][_0x1547c3(0x1ce)][_0x1547c3(0x265)](_0x1547c3(0x1c7)),this[_0x1547c3(0x1e0)]=this[_0x1547c3(0x226)][_0x1547c3(0x1ce)][_0x1547c3(0x265)](_0x1547c3(0x1e8)),this[_0x1547c3(0x1e6)]=this[_0x1547c3(0x226)][_0x1547c3(0x1ce)][_0x1547c3(0x265)](_0x1547c3(0x26a));const _0x32397d=this[_0x1547c3(0x226)][_0x1547c3(0x22e)][_0x1547c3(0x265)](_0x1547c3(0x222));if(_0x32397d){for(const _0x1513bd of _0x434f95)_0x1547c3(0x223)===_0x1513bd['id']&&(_0x1513bd[_0x1547c3(0x1c5)][0x0][_0x1547c3(0x1c4)]=_0x32397d);}const _0x42064a=this[_0x1547c3(0x259)](_0x434f95);this[_0x1547c3(0x1d1)]=new _0x7252f8(_0x42064a);const _0x5d4055=this[_0x1547c3(0x1d1)][_0x1547c3(0x21a)][_0x1547c3(0x20b)](_0x3dbba8=>_0x1547c3(0x1fc)===_0x3dbba8['id']);if(_0x5d4055)try{_0x5d4055[_0x1547c3(0x256)]=await new _0x28668b({'connector':this[_0x1547c3(0x25f)],'locale':this[_0x1547c3(0x226)][_0x1547c3(0x20e)]})[_0x1547c3(0x25c)]();}catch(_0x1f1cba){this[_0x1547c3(0x1d1)][_0x1547c3(0x22c)](_0x1547c3(0x1fc)),this[_0x1547c3(0x216)](new _0x4927ae(_0x1547c3(0x267),this,{'error':_0x1f1cba}));}this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x240),()=>{const _0x5cd850=_0x1547c3;this[_0x5cd850(0x1e0)][_0x5cd850(0x1ed)](this[_0x5cd850(0x1d1)][_0x5cd850(0x21a)]);}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x271),async(_0x5c6c0d,_0x1089f4)=>{const _0x1a3c61=_0x1547c3,_0x10c7a0=this[_0x1a3c61(0x1d1)][_0x1a3c61(0x219)](_0x1089f4['id']);if(_0x10c7a0){this[_0x1a3c61(0x207)](this[_0x1a3c61(0x1cb)]),_0x1089f4[_0x1a3c61(0x1dd)]?this[_0x1a3c61(0x232)]=new _0x4a92f2(_0x1089f4[_0x1a3c61(0x1c0)][_0x1a3c61(0x275)],_0x1089f4[_0x1a3c61(0x1c0)][_0x1a3c61(0x1c8)],this[_0x1a3c61(0x1e6)][_0x1a3c61(0x1f1)](),_0x10c7a0,this[_0x1a3c61(0x25f)]):this[_0x1a3c61(0x232)]=new _0x1074a3(this[_0x1a3c61(0x1e6)][_0x1a3c61(0x1f1)](),_0x10c7a0,this[_0x1a3c61(0x25f)],_0x1089f4[_0x1a3c61(0x1da)],_0x1089f4[_0x1a3c61(0x1c0)]),this[_0x1a3c61(0x1e0)][_0x1a3c61(0x205)](this[_0x1a3c61(0x232)][_0x1a3c61(0x266)],this[_0x1a3c61(0x232)][_0x1a3c61(0x1f9)]),this[_0x1a3c61(0x232)]['on'](_0x1a3c61(0x233),(_0x1fe750,_0x34fa3d)=>{const _0xd5b0ba=_0x1a3c61;switch(_0x34fa3d[_0xd5b0ba(0x1d2)]){case _0xd5b0ba(0x1c4):case _0xd5b0ba(0x20a):this[_0xd5b0ba(0x1e6)][_0xd5b0ba(0x231)](),this[_0xd5b0ba(0x1e0)][_0xd5b0ba(0x212)](_0x34fa3d);break;case _0xd5b0ba(0x24d):this[_0xd5b0ba(0x1e0)][_0xd5b0ba(0x1bf)]();break;case _0xd5b0ba(0x1d7):this[_0xd5b0ba(0x1e0)][_0xd5b0ba(0x1c1)]();break;case _0xd5b0ba(0x22d):this[_0xd5b0ba(0x1e0)][_0xd5b0ba(0x1cd)]();break;case _0xd5b0ba(0x1e2):this[_0xd5b0ba(0x1e0)][_0xd5b0ba(0x274)](),this[_0xd5b0ba(0x216)](new _0x4927ae(_0xd5b0ba(0x1f0),this,this[_0xd5b0ba(0x232)]?.[_0xd5b0ba(0x26e)]));break;case _0xd5b0ba(0x246):this[_0xd5b0ba(0x1e0)][_0xd5b0ba(0x1d3)](),this[_0xd5b0ba(0x216)](new _0x4927ae(_0xd5b0ba(0x20f),this,this[_0xd5b0ba(0x232)]?.[_0xd5b0ba(0x26e)]));break;case _0xd5b0ba(0x213):this[_0xd5b0ba(0x232)]&&this[_0xd5b0ba(0x232)][_0xd5b0ba(0x1c3)]>0x0?setTimeout(()=>{const _0x1e8110=_0xd5b0ba;this[_0x1e8110(0x232)]?.[_0x1e8110(0x208)]();},0x0):this[_0xd5b0ba(0x214)](!0x0);}_0xd5b0ba(0x1d7)!==_0x34fa3d[_0xd5b0ba(0x1d2)]&&_0xd5b0ba(0x246)!==_0x34fa3d[_0xd5b0ba(0x1d2)]&&_0xd5b0ba(0x1e2)!==_0x34fa3d[_0xd5b0ba(0x1d2)]||this[_0xd5b0ba(0x232)]?.[_0xd5b0ba(0x236)]();}),this[_0x1a3c61(0x232)]['on'](_0x1a3c61(0x255),(_0xc79a04,_0x565cc6)=>{const _0x4cdf13=_0x1a3c61;if(!this[_0x4cdf13(0x232)])throw new _0x4927ae(_0x4cdf13(0x1ca),this);const _0x5856af=this[_0x4cdf13(0x1e6)][_0x4cdf13(0x260)](_0x565cc6[_0x4cdf13(0x206)][_0x4cdf13(0x254)],_0x565cc6[_0x4cdf13(0x206)][_0x4cdf13(0x1e9)]);_0x565cc6[_0x4cdf13(0x22b)][_0x4cdf13(0x23b)](_0x565cc6[_0x4cdf13(0x206)]['id'],_0x5856af);}),this[_0x1a3c61(0x232)]['on'](_0x1a3c61(0x25e),(_0x3d3422,_0xb1453b)=>{const _0x5bd8a5=_0x1a3c61;for(const _0x4b416c of _0xb1453b[_0x5bd8a5(0x276)])this[_0x5bd8a5(0x1e0)][_0x5bd8a5(0x237)](_0x4b416c);this[_0x5bd8a5(0x1e6)][_0x5bd8a5(0x1cf)](_0xb1453b[_0x5bd8a5(0x276)],_0xb1453b[_0x5bd8a5(0x22b)][_0x5bd8a5(0x227)]);}),this[_0x1a3c61(0x232)]['on'](_0x1a3c61(0x24f),(_0x5b345c,_0x5eb4c1)=>{const _0x42f9f6=_0x1a3c61;this[_0x42f9f6(0x1e0)][_0x42f9f6(0x234)](_0x5eb4c1[_0x42f9f6(0x273)]['id'],_0x5eb4c1[_0x42f9f6(0x1d2)]);}),this[_0x1a3c61(0x232)]['on'](_0x1a3c61(0x253),(_0x5232b9,_0x2fadbf)=>{const _0x4d7549=_0x1a3c61;this[_0x4d7549(0x1e0)][_0x4d7549(0x249)](_0x2fadbf[_0x4d7549(0x273)]['id']);const _0x27fdbd=this[_0x4d7549(0x1e6)][_0x4d7549(0x215)](_0x2fadbf[_0x4d7549(0x273)]['id']);if(!_0x27fdbd)return;if(_0x4d7549(0x241)===this[_0x4d7549(0x26d)]){const _0xe266ba=this[_0x4d7549(0x1e0)][_0x4d7549(0x257)](_0x2fadbf[_0x4d7549(0x273)]['id']);_0xe266ba&&_0x1999b1(_0xe266ba[_0x4d7549(0x1ea)](_0x4d7549(0x1eb))||_0xe266ba);}else{if(_0x4d7549(0x20c)===this[_0x4d7549(0x26d)]){const _0x1726c2={'target':_0x27fdbd[_0x4d7549(0x26c)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x30ed88(_0x1726c2);}}const _0x13be80=this[_0x4d7549(0x1e6)][_0x4d7549(0x251)]();this[_0x4d7549(0x1e0)][_0x4d7549(0x1ef)](_0x2fadbf[_0x4d7549(0x273)],_0x27fdbd[_0x4d7549(0x26c)],void 0x0,_0x4d7549(0x23a),_0x13be80?.[_0x4d7549(0x1df)]?.[_0x4d7549(0x1d4)]?.[_0x4d7549(0x270)](),_0x13be80?.['ui']?.[_0x4d7549(0x264)]);}),this[_0x1a3c61(0x232)]['on'](_0x1a3c61(0x1f5),()=>{const _0x4e6816=_0x1a3c61;this[_0x4e6816(0x1e0)][_0x4e6816(0x225)](),this[_0x4e6816(0x1e0)][_0x4e6816(0x242)]();});try{await this[_0x1a3c61(0x232)][_0x1a3c61(0x22f)]();}catch(_0x29d73d){_0x29d73d instanceof Error&&_0x29d73d[_0x1a3c61(0x250)][_0x1a3c61(0x277)](_0x1a3c61(0x221))||(_0x29d73d instanceof _0x4927ae?this[_0x1a3c61(0x216)](_0x29d73d):this[_0x1a3c61(0x216)](new _0x4927ae(_0x1a3c61(0x243),this,{'error':_0x29d73d})));}}else this[_0x1a3c61(0x216)](new _0x4927ae(_0x1a3c61(0x1d6),this,{'checkId':_0x1089f4['id']}));}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x258),()=>{const _0x41c81c=_0x1547c3;this[_0x41c81c(0x214)]();}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x20d),()=>{const _0x1fb11d=_0x1547c3;this[_0x1fb11d(0x214)](!0x0);}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x261),()=>{const _0x2e7e88=_0x1547c3;this[_0x2e7e88(0x232)]&&this[_0x2e7e88(0x232)][_0x2e7e88(0x1f2)]();}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x272),()=>{const _0x54ea27=_0x1547c3;this[_0x54ea27(0x214)](!0x0);}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x252),()=>{const _0x3829fd=_0x1547c3;if(!this[_0x3829fd(0x232)])return;const _0x1a3f4d=this[_0x3829fd(0x232)][_0x3829fd(0x248)]();_0x1a3f4d[_0x3829fd(0x23f)]&&(this[_0x3829fd(0x1e6)][_0x3829fd(0x1e3)](_0x1a3f4d[_0x3829fd(0x200)](_0x133e6c=>_0x133e6c['id'])),this[_0x3829fd(0x232)][_0x3829fd(0x24c)](),this[_0x3829fd(0x232)][_0x3829fd(0x236)]());}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x1d8),(_0x239329,_0x3956cf)=>{const _0x36c7fd=_0x1547c3;this[_0x36c7fd(0x232)]&&this[_0x36c7fd(0x232)][_0x36c7fd(0x235)](_0x3956cf['id'])&&(this[_0x36c7fd(0x1e6)][_0x36c7fd(0x1e3)]([_0x3956cf['id']]),this[_0x36c7fd(0x232)][_0x36c7fd(0x26f)](_0x3956cf['id']),this[_0x36c7fd(0x1e0)][_0x36c7fd(0x242)](),this[_0x36c7fd(0x232)][_0x36c7fd(0x236)](_0x3956cf['id']));}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x1ff),(_0x54c6b7,_0x59db58)=>{const _0x177fc4=_0x1547c3;this[_0x177fc4(0x232)]&&this[_0x177fc4(0x232)][_0x177fc4(0x235)](_0x59db58['id'])&&(this[_0x177fc4(0x1e6)][_0x177fc4(0x21d)](_0x59db58['id']),this[_0x177fc4(0x232)][_0x177fc4(0x1fd)](_0x59db58['id']),this[_0x177fc4(0x1e0)][_0x177fc4(0x242)](),this[_0x177fc4(0x232)][_0x177fc4(0x236)](_0x59db58['id']));}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x229),(_0x256dcd,_0x417d21)=>{const _0x4bb845=_0x1547c3;this[_0x4bb845(0x1cb)]=_0x417d21['on'],this[_0x4bb845(0x207)](this[_0x4bb845(0x1cb)]);}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x1fa),async()=>{const _0x4416ba=_0x1547c3;this[_0x4416ba(0x232)]&&(this[_0x4416ba(0x1e6)][_0x4416ba(0x268)](),this[_0x4416ba(0x232)][_0x4416ba(0x21b)](this[_0x4416ba(0x1e6)][_0x4416ba(0x1f1)]()),await this[_0x4416ba(0x232)][_0x4416ba(0x1c2)]());}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x245),(_0x6cf100,_0x19d09a)=>{const _0x2dd13b=_0x1547c3;this[_0x2dd13b(0x232)]&&(this[_0x2dd13b(0x26d)]=_0x2dd13b(0x20c),this[_0x2dd13b(0x232)][_0x2dd13b(0x245)](_0x19d09a['id']));}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e0)],_0x1547c3(0x201),()=>{const _0x489c1a=_0x1547c3;this[_0x489c1a(0x232)]&&this[_0x489c1a(0x232)][_0x489c1a(0x201)]();}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e6)][_0x1547c3(0x1de)],_0x1547c3(0x1f4),(_0x5184f2,_0x371220)=>{const _0x495af1=_0x1547c3;if(!this[_0x495af1(0x232)])return;this[_0x495af1(0x26d)]=_0x495af1(0x241),this[_0x495af1(0x232)][_0x495af1(0x245)](_0x371220[_0x495af1(0x1ec)]);const _0x237c9c=this[_0x495af1(0x232)][_0x495af1(0x278)](_0x371220[_0x495af1(0x1ec)]);if(!_0x237c9c)return;const _0x2b3210=this[_0x495af1(0x1e6)][_0x495af1(0x251)]();this[_0x495af1(0x1e0)][_0x495af1(0x1ef)](_0x237c9c,_0x371220[_0x495af1(0x244)],_0x371220[_0x495af1(0x239)],_0x495af1(0x23a),_0x2b3210?.[_0x495af1(0x1df)]?.[_0x495af1(0x1d4)]?.[_0x495af1(0x270)](),_0x2b3210?.['ui']?.[_0x495af1(0x264)]);}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e6)][_0x1547c3(0x1de)],_0x1547c3(0x217),(_0x705a3f,_0x201b3b)=>{const _0x481006=_0x1547c3;if(!this[_0x481006(0x232)])return;if(this[_0x481006(0x232)][_0x481006(0x1c6)]())return;const _0xc653d1=this[_0x481006(0x232)][_0x481006(0x278)](_0x201b3b[_0x481006(0x1ec)]);if(!_0xc653d1)return;const _0x2c573c=this[_0x481006(0x1e6)][_0x481006(0x251)]();this[_0x481006(0x1e0)][_0x481006(0x1ef)](_0xc653d1,_0x201b3b[_0x481006(0x244)],_0x201b3b[_0x481006(0x239)],_0x481006(0x203),_0x2c573c?.[_0x481006(0x1df)]?.[_0x481006(0x1d4)]?.[_0x481006(0x270)](),_0x2c573c?.['ui']?.[_0x481006(0x264)]);}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e6)][_0x1547c3(0x1de)],_0x1547c3(0x25d),()=>{const _0xc57e8a=_0x1547c3;if(!this[_0xc57e8a(0x232)])return;this[_0xc57e8a(0x232)][_0xc57e8a(0x1c6)]()||this[_0xc57e8a(0x1e0)][_0xc57e8a(0x242)]();}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e6)][_0x1547c3(0x1de)],_0x1547c3(0x228),(_0x474caa,_0x21d172)=>{const _0x54c524=_0x1547c3;this[_0x54c524(0x232)]&&this[_0x54c524(0x232)][_0x54c524(0x1e1)](_0x21d172[_0x54c524(0x1ec)]);}),this[_0x1547c3(0x21f)](this[_0x1547c3(0x1e6)][_0x1547c3(0x1de)],_0x1547c3(0x230),(_0x2e9b3d,_0x40ef25)=>{const _0x25af22=_0x1547c3;this[_0x25af22(0x232)]&&this[_0x25af22(0x232)][_0x25af22(0x1d9)](_0x40ef25[_0x25af22(0x1ec)]);});}[_0x25e591(0x214)](_0x28eee6=!0x1){const _0xdb9fad=_0x25e591;this[_0xdb9fad(0x232)]&&(this[_0xdb9fad(0x232)][_0xdb9fad(0x1f8)]||this[_0xdb9fad(0x232)][_0xdb9fad(0x236)](),this[_0xdb9fad(0x232)][_0xdb9fad(0x24b)](),this[_0xdb9fad(0x232)][_0xdb9fad(0x1f2)](),this[_0xdb9fad(0x232)]=void 0x0),_0x28eee6&&this[_0xdb9fad(0x1e0)][_0xdb9fad(0x23c)](),this[_0xdb9fad(0x1e6)][_0xdb9fad(0x268)](),this[_0xdb9fad(0x1e6)][_0xdb9fad(0x23d)](),this[_0xdb9fad(0x26d)]=null;const _0x581ef2=this[_0xdb9fad(0x1e6)][_0xdb9fad(0x251)]();_0x581ef2&&_0x581ef2[_0xdb9fad(0x1df)][_0xdb9fad(0x1d4)][_0xdb9fad(0x273)](_0x29254b=>{const _0x40b105=_0xdb9fad,_0x376884=_0x581ef2[_0x40b105(0x1df)][_0x40b105(0x1d4)][_0x40b105(0x1e4)][_0x40b105(0x21c)]();_0x29254b[_0x40b105(0x224)](_0x40b105(0x204),_0x376884),_0x29254b[_0x40b105(0x224)](_0x40b105(0x1f7),_0x376884);});}[_0x25e591(0x207)](_0x1a926d){const _0x14b9c9=_0x25e591,_0x5716b3=this[_0x14b9c9(0x1e6)][_0x14b9c9(0x251)]();_0x1a926d?this[_0x14b9c9(0x1e0)][_0x14b9c9(0x1c9)]():this[_0x14b9c9(0x1e0)][_0x14b9c9(0x1f6)](),_0x5716b3&&_0x5716b3[_0x14b9c9(0x1df)][_0x14b9c9(0x1d4)][_0x14b9c9(0x273)](_0x1795cc=>{const _0x1520fc=_0x14b9c9,_0x1452a3=_0x5716b3[_0x1520fc(0x1df)][_0x1520fc(0x1d4)][_0x1520fc(0x1e4)][_0x1520fc(0x21c)]();_0x1795cc[_0x1520fc(0x224)](_0x1520fc(0x204),_0x1452a3),_0x1795cc[_0x1520fc(0x224)](_0x1520fc(0x1f7),_0x1452a3),_0x1795cc[_0x1520fc(0x1d0)](_0x1a926d?_0x1520fc(0x204):_0x1520fc(0x1f7),_0x1452a3);});}[_0x25e591(0x259)](_0x22ed35){const _0x33867c=_0x25e591;return _0x22ed35[_0x33867c(0x200)](_0x558c6d=>{const _0x369b25=_0x33867c,_0x144ca6=_0x369b25(0x262)+_0x558c6d['id'][_0x369b25(0x211)]()[_0x369b25(0x1fe)]('-','_'),_0x203ebb={..._0x558c6d,'title':this[_0x369b25(0x247)](_0x144ca6+_0x369b25(0x209),_0x558c6d[_0x369b25(0x266)]),'description':this[_0x369b25(0x247)](_0x144ca6+_0x369b25(0x25b),_0x558c6d[_0x369b25(0x1db)])};return _0x558c6d[_0x369b25(0x1c5)]&&(_0x203ebb[_0x369b25(0x1c5)]=_0x558c6d[_0x369b25(0x1c5)][_0x369b25(0x200)](_0x20f33c=>({..._0x20f33c,'label':this[_0x369b25(0x247)](_0x144ca6+_0x369b25(0x1cc),_0x20f33c[_0x369b25(0x26b)]||''),'data':_0x20f33c[_0x369b25(0x1c4)]?_0x20f33c[_0x369b25(0x1c4)][_0x369b25(0x200)](_0x1cd27=>({..._0x1cd27,'label':this[_0x369b25(0x247)](_0x144ca6+_0x369b25(0x22a)+_0x1cd27['id'][_0x369b25(0x211)](),_0x1cd27[_0x369b25(0x26b)])})):void 0x0}))),_0x203ebb;});}[_0x25e591(0x247)](_0x427d1b,_0x100fc0){const _0x36f7d7=_0x25e591,_0x293ab3=this[_0x36f7d7(0x226)][_0x36f7d7(0x20e)],_0x27d646=_0x98fad6(_0x293ab3,_0x427d1b);return _0x27d646===_0x427d1b?_0x100fc0:_0x27d646;}[_0x25e591(0x216)](_0x2cfb01){const _0x48b0ca=_0x25e591;_0x103ea8(_0x2cfb01[_0x48b0ca(0x250)]),_0x2cfb01[_0x48b0ca(0x250)][_0x48b0ca(0x21e)](_0x48b0ca(0x267))?this[_0x48b0ca(0x1e0)][_0x48b0ca(0x24a)]():this[_0x48b0ca(0x1e0)][_0x48b0ca(0x274)]();}}
|