@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.1

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.
Files changed (149) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aichat/aichat.js +1 -1
  26. package/src/aichat/aichatballoon.js +1 -1
  27. package/src/aichat/aichatcontroller.js +1 -1
  28. package/src/aichat/aichatui.js +1 -1
  29. package/src/aichat/model/aichatcontext.js +1 -1
  30. package/src/aichat/model/aichatconversation.js +1 -1
  31. package/src/aichat/model/aichatinteraction.js +1 -1
  32. package/src/aichat/ui/aichatballoonview.js +1 -1
  33. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  34. package/src/aichat/ui/aichatfeedview.js +1 -1
  35. package/src/aichat/ui/aichatheaderview.js +1 -1
  36. package/src/aichat/ui/aichatview.js +1 -1
  37. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  58. package/src/aichat/utils/eventnames.js +1 -1
  59. package/src/aichat/utils/promisequeue.js +1 -1
  60. package/src/aichathistory/aichathistory.js +1 -1
  61. package/src/aichathistory/aichathistorycontroller.js +1 -1
  62. package/src/aichathistory/aichathistoryui.js +1 -1
  63. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  64. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  65. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  66. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  69. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  70. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  71. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  72. package/src/aicore/aiconnector.js +1 -1
  73. package/src/aicore/aiediting.js +1 -1
  74. package/src/aicore/model/aicapabilities.js +1 -1
  75. package/src/aicore/model/aiinteraction.js +1 -1
  76. package/src/aicore/model/aimodels.js +1 -1
  77. package/src/aicore/model/aireply.js +1 -1
  78. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  79. package/src/aicore/pipeline/airesponseparser.js +2 -2
  80. package/src/aicore/ui/aidisclaimerview.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  88. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  89. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  90. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  91. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  92. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  93. package/src/aicore/utils/createresizebutton.js +1 -1
  94. package/src/aicore/utils/documentrange.js +1 -1
  95. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  96. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  97. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  98. package/src/aicore/utils/htmlparser.js +1 -1
  99. package/src/aicore/utils/htmlstreamer.js +1 -1
  100. package/src/aieditorintegration/aieditorintegration.js +1 -1
  101. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  102. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  103. package/src/aiquickactions/aiquickactions.js +1 -1
  104. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  105. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  106. package/src/aiquickactions/aiquickactionsui.js +1 -1
  107. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  108. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  109. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  110. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  111. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  112. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  113. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  114. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  115. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  116. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  117. package/src/aireviewcore/aireviewcoreui.js +1 -1
  118. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  119. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  120. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  121. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  122. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  123. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  124. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  125. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  126. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  127. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  128. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  129. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  130. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  131. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  132. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  133. package/src/aireviewmode/aireviewmode.js +1 -1
  134. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  135. package/src/aireviewmode/aireviewmodeui.js +1 -1
  136. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  137. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  138. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  139. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  140. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  141. package/src/aitabs/aitabs.js +1 -1
  142. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  143. package/src/aitranslate/aitranslate.js +1 -1
  144. package/src/aitranslate/aitranslatecontroller.js +1 -1
  145. package/src/aitranslate/aitranslateui.js +1 -1
  146. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  147. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  148. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  149. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x187aef=_0x34d5;function _0x34d5(_0x4e5379,_0x4b7a3a){const _0x15cf57=_0x15cf();return _0x34d5=function(_0x34d570,_0x81bd9){_0x34d570=_0x34d570-0x140;let _0xb78377=_0x15cf57[_0x34d570];return _0xb78377;},_0x34d5(_0x4e5379,_0x4b7a3a);}function _0x15cf(){const _0x153698=['AIReviewMode','view','icon','locale','146cfFUKt','34252pWYyGG','args','getLimitElement','document','ai-quick-actions-plugin-not-found','REVIEW','1925tWshlJ','handleAIReviewAction','_handleAIActionsActionLabel','53283EqLqSp','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','log','CHAT','1117419xgbjQL','_handleAIActionsAction','getSelectedBlocks','selection','_expandSelectionIfCollapsed','23892jYzXtd','95PTTcfp','get','_handleAIReviewAction','editor','addSelectionToChatContext','24650aWaMtN','parent','ask-ai','chat','514512xQepRx','focusPromptInput','displayedPrompt','executeAction','isVisible','AIChat','setSelection','removeSelectionFromChatContext','startConversation','prompt','AITabs','other','_handleAIChatAction','isCollapsed','plugins','AIChatController','schema','has','model','activeTab','4581GBplwg','sendMessage','AIActions','activateTab','label','type','11089Cobeva','ACTION','8416vLGKAp','28rvcTAP','actionName','execute','change'];_0x15cf=function(){return _0x153698;};return _0x15cf();}(function(_0x1b330,_0x1cb551){const _0x146158=_0x34d5,_0x2c2406=_0x1b330();while(!![]){try{const _0x11d5bb=parseInt(_0x146158(0x15b))/0x1+parseInt(_0x146158(0x14d))/0x2*(-parseInt(_0x146158(0x157))/0x3)+-parseInt(_0x146158(0x14e))/0x4*(parseInt(_0x146158(0x161))/0x5)+parseInt(_0x146158(0x16a))/0x6*(parseInt(_0x146158(0x145))/0x7)+parseInt(_0x146158(0x144))/0x8*(-parseInt(_0x146158(0x17e))/0x9)+parseInt(_0x146158(0x166))/0xa*(-parseInt(_0x146158(0x154))/0xb)+parseInt(_0x146158(0x160))/0xc*(parseInt(_0x146158(0x142))/0xd);if(_0x11d5bb===_0x1cb551)break;else _0x2c2406['push'](_0x2c2406['shift']());}catch(_0x4d2408){_0x2c2406['push'](_0x2c2406['shift']());}}}(_0x15cf,0xb2df1));import{Command as _0x501af2}from'ckeditor5/src/core.js';import{CKEditorError as _0x26aa07,first as _0x3baf0a}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x214366}from'./aiquickactionsui.js';import{getTranslation as _0x575e58}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x501af2{[_0x187aef(0x147)](_0x478460){const _0x46efa9=_0x187aef;switch(this[_0x46efa9(0x15f)](),_0x478460[_0x46efa9(0x141)]){case _0x214366[_0x46efa9(0x15a)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x16f))){const _0x156bab=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x16f));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x156bab});}this[_0x46efa9(0x176)](_0x478460);break;case _0x214366[_0x46efa9(0x143)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x180))){const _0x36c9a1=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x180));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x36c9a1});}this[_0x46efa9(0x15c)](_0x478460);break;case _0x214366[_0x46efa9(0x153)]:if(!this[_0x46efa9(0x164)][_0x46efa9(0x178)][_0x46efa9(0x17b)](_0x46efa9(0x149))){const _0x4be51a=_0x575e58(this[_0x46efa9(0x164)][_0x46efa9(0x14c)],_0x46efa9(0x158),_0x46efa9(0x149));throw new _0x26aa07(_0x46efa9(0x152),this[_0x46efa9(0x164)],{'errorMessage':_0x4be51a});}this[_0x46efa9(0x163)](_0x478460);}}async[_0x187aef(0x176)](_0x1ad4b2){const _0x125cd9=_0x187aef,_0x303b77=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x16f)),_0x4cf4c4=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x179)),_0x5da4a0=this[_0x125cd9(0x164)][_0x125cd9(0x178)][_0x125cd9(0x162)](_0x125cd9(0x174))[_0x125cd9(0x14a)];if(_0x5da4a0[_0x125cd9(0x16e)]||(_0x5da4a0[_0x125cd9(0x16e)]=!0x0),_0x125cd9(0x169)!==_0x5da4a0[_0x125cd9(0x17d)]&&_0x5da4a0[_0x125cd9(0x181)](_0x125cd9(0x169)),_0x125cd9(0x168)===_0x1ad4b2['id'])_0x4cf4c4[_0x125cd9(0x171)](),await _0x303b77[_0x125cd9(0x165)](),_0x303b77[_0x125cd9(0x16b)]();else await _0x303b77[_0x125cd9(0x172)](),_0x4cf4c4[_0x125cd9(0x171)](),await _0x303b77[_0x125cd9(0x165)](),_0x303b77[_0x125cd9(0x16b)](),await _0x303b77[_0x125cd9(0x17f)]({'message':_0x1ad4b2[_0x125cd9(0x173)]||_0x1ad4b2[_0x125cd9(0x16c)],'attributes':{'quickActionData':{'id':_0x1ad4b2['id']},'displayedPrompt':_0x1ad4b2[_0x125cd9(0x16c)]}});}[_0x187aef(0x15f)](){const _0x1699ed=_0x187aef,_0x133abd=this[_0x1699ed(0x164)],_0x3bbca4=_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x151)][_0x1699ed(0x15e)];if(!_0x3bbca4[_0x1699ed(0x177)])return;const _0x5030e2=_0x3baf0a(_0x3bbca4[_0x1699ed(0x15d)]())||_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x17a)][_0x1699ed(0x150)](_0x3bbca4);_0x133abd[_0x1699ed(0x17c)][_0x1699ed(0x148)](_0x57838d=>{const _0x1a61d1=_0x1699ed;_0x57838d[_0x1a61d1(0x170)](_0x5030e2,'in');});}[_0x187aef(0x156)](_0x381648){const _0xd910de=_0x187aef;return _0x381648[_0xd910de(0x167)]?.[_0xd910de(0x140)]&&_0xd910de(0x175)!==_0x381648[_0xd910de(0x167)]?.['id']?_0x381648[_0xd910de(0x167)][_0xd910de(0x140)]+':\x20'+_0x381648[_0xd910de(0x16c)]:_0x381648[_0xd910de(0x16c)];}async[_0x187aef(0x15c)](_0x103ca6){const _0xcf1926=_0x187aef,_0x489b73=this[_0xcf1926(0x164)][_0xcf1926(0x178)][_0xcf1926(0x162)](_0xcf1926(0x180)),_0x2e7f74=_0x103ca6[_0xcf1926(0x173)]?{'userMessage':_0x103ca6[_0xcf1926(0x173)],'model':_0x103ca6[_0xcf1926(0x17c)]}:{'actionName':_0x103ca6[_0xcf1926(0x146)]||_0x103ca6['id'],'args':_0x103ca6[_0xcf1926(0x14f)]},_0x3c1b8b=this[_0xcf1926(0x156)](_0x103ca6);await _0x489b73[_0xcf1926(0x16d)](_0x2e7f74,_0x3c1b8b,_0x103ca6[_0xcf1926(0x14b)]);}async[_0x187aef(0x163)](_0x2dc317){const _0x547dfb=_0x187aef;console[_0x547dfb(0x159)](_0x547dfb(0x155),_0x2dc317);}}
23
+ function _0x548f(_0x5c34eb,_0x5f1ee7){const _0x42d33d=_0x42d3();return _0x548f=function(_0x548f6b,_0x810644){_0x548f6b=_0x548f6b-0x19f;let _0x435473=_0x42d33d[_0x548f6b];return _0x435473;},_0x548f(_0x5c34eb,_0x5f1ee7);}const _0x1bb73f=_0x548f;(function(_0x34c242,_0x3fb516){const _0x2b4c36=_0x548f,_0x42186e=_0x34c242();while(!![]){try{const _0x868ee0=parseInt(_0x2b4c36(0x1b3))/0x1+-parseInt(_0x2b4c36(0x1a9))/0x2+parseInt(_0x2b4c36(0x1d2))/0x3+-parseInt(_0x2b4c36(0x1ac))/0x4+parseInt(_0x2b4c36(0x1c5))/0x5*(parseInt(_0x2b4c36(0x1a3))/0x6)+-parseInt(_0x2b4c36(0x1c1))/0x7+parseInt(_0x2b4c36(0x1da))/0x8*(parseInt(_0x2b4c36(0x1dc))/0x9);if(_0x868ee0===_0x3fb516)break;else _0x42186e['push'](_0x42186e['shift']());}catch(_0x56b7c0){_0x42186e['push'](_0x42186e['shift']());}}}(_0x42d3,0xf3b99));import{Command as _0x254a3c}from'ckeditor5/src/core.js';function _0x42d3(){const _0x4ed4a5=['AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','ACTION','10314zYGkpt','locale','prompt','removeSelectionFromChatContext','actionName','activateTab','2104130zjPCFb','focusPromptInput','plugins','4281632RcBRiy','chat','model','get','view','icon','_handleAIChatAction','856431zMXowD','_expandSelectionIfCollapsed','displayedPrompt','ask-ai','startConversation','AIChatController','args','getSelectedBlocks','AIChat','sendMessage','editor','isVisible','ai-quick-actions-plugin-not-found','_handleAIActionsActionLabel','6558622mttNmj','log','REVIEW','type','5130SEkAES','AIReviewMode','AITabs','activeTab','parent','handleAIReviewAction','change','getLimitElement','selection','execute','_handleAIReviewAction','_handleAIActionsAction','CHAT','307623UeygME','label','setSelection','document','schema','other','addSelectionToChatContext','has','80NcHfSe','executeAction','1201545KiTuzg','isCollapsed','AIActions'];_0x42d3=function(){return _0x4ed4a5;};return _0x42d3();}import{CKEditorError as _0x386001,first as _0x382acc}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4e8ba3}from'./aiquickactionsui.js';import{getTranslation as _0x513847}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x254a3c{[_0x1bb73f(0x1ce)](_0x20248f){const _0x45b09d=_0x1bb73f;switch(this[_0x45b09d(0x1b4)](),_0x20248f[_0x45b09d(0x1c4)]){case _0x4e8ba3[_0x45b09d(0x1d1)]:if(!this[_0x45b09d(0x1bd)][_0x45b09d(0x1ab)][_0x45b09d(0x1d9)](_0x45b09d(0x1bb))){const _0x588f2f=_0x513847(this[_0x45b09d(0x1bd)][_0x45b09d(0x1a4)],_0x45b09d(0x1a1),_0x45b09d(0x1bb));throw new _0x386001(_0x45b09d(0x1bf),this[_0x45b09d(0x1bd)],{'errorMessage':_0x588f2f});}this[_0x45b09d(0x1b2)](_0x20248f);break;case _0x4e8ba3[_0x45b09d(0x1a2)]:if(!this[_0x45b09d(0x1bd)][_0x45b09d(0x1ab)][_0x45b09d(0x1d9)](_0x45b09d(0x1a0))){const _0xa8d25a=_0x513847(this[_0x45b09d(0x1bd)][_0x45b09d(0x1a4)],_0x45b09d(0x1a1),_0x45b09d(0x1a0));throw new _0x386001(_0x45b09d(0x1bf),this[_0x45b09d(0x1bd)],{'errorMessage':_0xa8d25a});}this[_0x45b09d(0x1d0)](_0x20248f);break;case _0x4e8ba3[_0x45b09d(0x1c3)]:if(!this[_0x45b09d(0x1bd)][_0x45b09d(0x1ab)][_0x45b09d(0x1d9)](_0x45b09d(0x1c6))){const _0x2927d2=_0x513847(this[_0x45b09d(0x1bd)][_0x45b09d(0x1a4)],_0x45b09d(0x1a1),_0x45b09d(0x1c6));throw new _0x386001(_0x45b09d(0x1bf),this[_0x45b09d(0x1bd)],{'errorMessage':_0x2927d2});}this[_0x45b09d(0x1cf)](_0x20248f);}}async[_0x1bb73f(0x1b2)](_0x48fb68){const _0x403865=_0x1bb73f,_0x4a5dfe=this[_0x403865(0x1bd)][_0x403865(0x1ab)][_0x403865(0x1af)](_0x403865(0x1bb)),_0x4725b6=this[_0x403865(0x1bd)][_0x403865(0x1ab)][_0x403865(0x1af)](_0x403865(0x1b8)),_0x51bb96=this[_0x403865(0x1bd)][_0x403865(0x1ab)][_0x403865(0x1af)](_0x403865(0x1c7))[_0x403865(0x1b0)];if(_0x51bb96[_0x403865(0x1be)]||(_0x51bb96[_0x403865(0x1be)]=!0x0),_0x403865(0x1ad)!==_0x51bb96[_0x403865(0x1c8)]&&_0x51bb96[_0x403865(0x1a8)](_0x403865(0x1ad)),_0x403865(0x1b6)===_0x48fb68['id'])_0x4725b6[_0x403865(0x1a6)](),await _0x4a5dfe[_0x403865(0x1d8)](),_0x4a5dfe[_0x403865(0x1aa)]();else await _0x4a5dfe[_0x403865(0x1b7)](),_0x4725b6[_0x403865(0x1a6)](),await _0x4a5dfe[_0x403865(0x1d8)](),_0x4a5dfe[_0x403865(0x1aa)](),await _0x4a5dfe[_0x403865(0x1bc)]({'message':_0x48fb68[_0x403865(0x1a5)]||_0x48fb68[_0x403865(0x1b5)],'attributes':{'quickActionData':{'id':_0x48fb68['id']},'displayedPrompt':_0x48fb68[_0x403865(0x1b5)]}});}[_0x1bb73f(0x1b4)](){const _0x1d07a2=_0x1bb73f,_0x21dc98=this[_0x1d07a2(0x1bd)],_0x151a45=_0x21dc98[_0x1d07a2(0x1ae)][_0x1d07a2(0x1d5)][_0x1d07a2(0x1cd)];if(!_0x151a45[_0x1d07a2(0x19f)])return;const _0x2dd6a8=_0x382acc(_0x151a45[_0x1d07a2(0x1ba)]())||_0x21dc98[_0x1d07a2(0x1ae)][_0x1d07a2(0x1d6)][_0x1d07a2(0x1cc)](_0x151a45);_0x21dc98[_0x1d07a2(0x1ae)][_0x1d07a2(0x1cb)](_0x76233a=>{const _0x11d995=_0x1d07a2;_0x76233a[_0x11d995(0x1d4)](_0x2dd6a8,'in');});}[_0x1bb73f(0x1c0)](_0x34b583){const _0x1d882a=_0x1bb73f;return _0x34b583[_0x1d882a(0x1c9)]?.[_0x1d882a(0x1d3)]&&_0x1d882a(0x1d7)!==_0x34b583[_0x1d882a(0x1c9)]?.['id']?_0x34b583[_0x1d882a(0x1c9)][_0x1d882a(0x1d3)]+':\x20'+_0x34b583[_0x1d882a(0x1b5)]:_0x34b583[_0x1d882a(0x1b5)];}async[_0x1bb73f(0x1d0)](_0x21db10){const _0x446dc6=_0x1bb73f,_0x102cc3=this[_0x446dc6(0x1bd)][_0x446dc6(0x1ab)][_0x446dc6(0x1af)](_0x446dc6(0x1a0)),_0x15d5ea=_0x21db10[_0x446dc6(0x1a5)]?{'userMessage':_0x21db10[_0x446dc6(0x1a5)],'model':_0x21db10[_0x446dc6(0x1ae)]}:{'actionName':_0x21db10[_0x446dc6(0x1a7)]||_0x21db10['id'],'args':_0x21db10[_0x446dc6(0x1b9)]},_0x56340b=this[_0x446dc6(0x1c0)](_0x21db10);await _0x102cc3[_0x446dc6(0x1db)](_0x15d5ea,_0x56340b,_0x21db10[_0x446dc6(0x1b1)]);}async[_0x1bb73f(0x1cf)](_0x3b8f35){const _0x3a44a7=_0x1bb73f;console[_0x3a44a7(0x1c2)](_0x3a44a7(0x1ca),_0x3b8f35);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56b095=_0x59f3;(function(_0x541670,_0x2ba21d){const _0xa510ba=_0x59f3,_0x15f064=_0x541670();while(!![]){try{const _0x1b25ac=parseInt(_0xa510ba(0x1b2))/0x1+-parseInt(_0xa510ba(0x1b7))/0x2*(-parseInt(_0xa510ba(0x1ca))/0x3)+-parseInt(_0xa510ba(0x1b9))/0x4*(-parseInt(_0xa510ba(0x1b6))/0x5)+-parseInt(_0xa510ba(0x1b3))/0x6*(parseInt(_0xa510ba(0x1ab))/0x7)+-parseInt(_0xa510ba(0x1c1))/0x8*(-parseInt(_0xa510ba(0x1c8))/0x9)+-parseInt(_0xa510ba(0x1bc))/0xa*(parseInt(_0xa510ba(0x1c9))/0xb)+-parseInt(_0xa510ba(0x1ba))/0xc*(parseInt(_0xa510ba(0x1c7))/0xd);if(_0x1b25ac===_0x2ba21d)break;else _0x15f064['push'](_0x15f064['shift']());}catch(_0x37ed6b){_0x15f064['push'](_0x15f064['shift']());}}}(_0x326d,0xe08c9));function _0x326d(){const _0x1ba205=['model','directChange','selection','AIChat','14514904eSqHgP','has','pluginName','removeSelectionFromChatContext','isOfficialPlugin','add','52lvIybd','9wEzrCb','11Gofvfs','1277568ZhBDML','425089UYZoRZ','editor','aiQuickAction','plugins','AIQuickActionsEditing','get','change:range','1409423QMLxyA','90kmiXlw','init','document','240DtFxDH','2HyDelU','commands','97368EntzTs','8699148EgPiRP','isPremiumPlugin','876840tctFEX'];_0x326d=function(){return _0x1ba205;};return _0x326d();}import{Plugin as _0x1be0b5}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3d3c27}from'./aiquickactionscommand.js';function _0x59f3(_0x5c985a,_0x9fdef0){const _0x326db5=_0x326d();return _0x59f3=function(_0x59f32c,_0x1285c2){_0x59f32c=_0x59f32c-0x1ab;let _0x263509=_0x326db5[_0x59f32c];return _0x263509;},_0x59f3(_0x5c985a,_0x9fdef0);}export class AIQuickActionsEditing extends _0x1be0b5{static get[_0x56b095(0x1c3)](){const _0x1734bf=_0x56b095;return _0x1734bf(0x1af);}static get[_0x56b095(0x1c5)](){return!0x0;}static get[_0x56b095(0x1bb)](){return!0x0;}[_0x56b095(0x1b4)](){const _0x3c1e4b=_0x56b095,_0x48c990=this[_0x3c1e4b(0x1ac)],_0x262f68=new _0x3d3c27(this[_0x3c1e4b(0x1ac)]);if(_0x48c990[_0x3c1e4b(0x1b8)][_0x3c1e4b(0x1c6)](_0x3c1e4b(0x1ad),_0x262f68),_0x48c990[_0x3c1e4b(0x1ae)][_0x3c1e4b(0x1c2)](_0x3c1e4b(0x1c0))){const _0x5dcd46=this[_0x3c1e4b(0x1ac)][_0x3c1e4b(0x1ae)][_0x3c1e4b(0x1b0)](_0x3c1e4b(0x1c0));_0x48c990[_0x3c1e4b(0x1bd)][_0x3c1e4b(0x1b5)][_0x3c1e4b(0x1bf)]['on'](_0x3c1e4b(0x1b1),(_0x346287,_0x59bfb5)=>{const _0x3dc21f=_0x3c1e4b;_0x59bfb5[_0x3dc21f(0x1be)]&&_0x5dcd46[_0x3dc21f(0x1c4)]();});}}}
23
+ const _0x599b50=_0x1f50;(function(_0x21ab17,_0x11e859){const _0x17183f=_0x1f50,_0x4eee7c=_0x21ab17();while(!![]){try{const _0x5e4d64=parseInt(_0x17183f(0x1f2))/0x1+parseInt(_0x17183f(0x1ed))/0x2*(-parseInt(_0x17183f(0x1f3))/0x3)+parseInt(_0x17183f(0x1f1))/0x4+-parseInt(_0x17183f(0x1df))/0x5+-parseInt(_0x17183f(0x1e4))/0x6*(parseInt(_0x17183f(0x1f0))/0x7)+-parseInt(_0x17183f(0x1e7))/0x8+parseInt(_0x17183f(0x1f6))/0x9;if(_0x5e4d64===_0x11e859)break;else _0x4eee7c['push'](_0x4eee7c['shift']());}catch(_0x48166b){_0x4eee7c['push'](_0x4eee7c['shift']());}}}(_0x57ed,0x25f83));import{Plugin as _0x303153}from'ckeditor5/src/core.js';function _0x1f50(_0x38d790,_0x490975){const _0x57ed7d=_0x57ed();return _0x1f50=function(_0x1f50e3,_0x50bc9e){_0x1f50e3=_0x1f50e3-0x1dd;let _0x17f7c5=_0x57ed7d[_0x1f50e3];return _0x17f7c5;},_0x1f50(_0x38d790,_0x490975);}function _0x57ed(){const _0x250a00=['add','init','commands','isPremiumPlugin','735bBUTiJ','AIQuickActionsEditing','document','AIChat','model','294858tBucNV','selection','directChange','2142280tPdIuD','isOfficialPlugin','has','change:range','removeSelectionFromChatContext','pluginName','346ipKhPE','get','aiQuickAction','14UpGGCG','351304KzXUVR','68505GWwIJP','3018KnTCxO','editor','plugins','4855032vmpjgx'];_0x57ed=function(){return _0x250a00;};return _0x57ed();}import{AIQuickActionsCommand as _0xf9a512}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x303153{static get[_0x599b50(0x1ec)](){const _0x278b00=_0x599b50;return _0x278b00(0x1e0);}static get[_0x599b50(0x1e8)](){return!0x0;}static get[_0x599b50(0x1de)](){return!0x0;}[_0x599b50(0x1f8)](){const _0x2bea5a=_0x599b50,_0x51f5ef=this[_0x2bea5a(0x1f4)],_0x5291ea=new _0xf9a512(this[_0x2bea5a(0x1f4)]);if(_0x51f5ef[_0x2bea5a(0x1dd)][_0x2bea5a(0x1f7)](_0x2bea5a(0x1ef),_0x5291ea),_0x51f5ef[_0x2bea5a(0x1f5)][_0x2bea5a(0x1e9)](_0x2bea5a(0x1e2))){const _0x2c6edc=this[_0x2bea5a(0x1f4)][_0x2bea5a(0x1f5)][_0x2bea5a(0x1ee)](_0x2bea5a(0x1e2));_0x51f5ef[_0x2bea5a(0x1e3)][_0x2bea5a(0x1e1)][_0x2bea5a(0x1e5)]['on'](_0x2bea5a(0x1ea),(_0x574296,_0x23cdc8)=>{const _0x7c4ab8=_0x2bea5a;_0x23cdc8[_0x7c4ab8(0x1e6)]&&_0x2c6edc[_0x7c4ab8(0x1eb)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12867d=_0xe7bb;(function(_0x5b96f2,_0x3ae006){const _0x1a6e41=_0xe7bb,_0x3f3bd0=_0x5b96f2();while(!![]){try{const _0x5bbe05=-parseInt(_0x1a6e41(0x124))/0x1+-parseInt(_0x1a6e41(0x118))/0x2+parseInt(_0x1a6e41(0xc5))/0x3+parseInt(_0x1a6e41(0xa9))/0x4*(-parseInt(_0x1a6e41(0x127))/0x5)+parseInt(_0x1a6e41(0x10a))/0x6*(parseInt(_0x1a6e41(0xe7))/0x7)+parseInt(_0x1a6e41(0xd0))/0x8+parseInt(_0x1a6e41(0x13d))/0x9*(parseInt(_0x1a6e41(0x115))/0xa);if(_0x5bbe05===_0x3ae006)break;else _0x3f3bd0['push'](_0x3f3bd0['shift']());}catch(_0x136b45){_0x3f3bd0['push'](_0x3f3bd0['shift']());}}}(_0x3eb5,0xb2270));import{IconAIAdjustLength as _0x3f1d28,IconAIChangeTone as _0x2182c7,IconAIChatCommands as _0x4e3522,IconAIContinueWriting as _0x197a53,IconAIGrammarCheck as _0x592d1f,IconAIImproveWriting as _0x2e8cd6,IconAIOther as _0x8d1c54,IconAIQuickActions as _0x4690e6,IconAITranslate as _0x400a8c}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1ea037}from'ckeditor5/src/core.js';import{CKEditorError as _0x160cd5,logError as _0x4b5475}from'ckeditor5/src/utils.js';import{getTranslation as _0x136237}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4bc92b}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x55fccd}from'./ui/aiquickactionsbuttoncreator.js';function _0xe7bb(_0x5e782e,_0x131fbe){const _0x3eb5a8=_0x3eb5();return _0xe7bb=function(_0xe7bbec,_0x1eeb29){_0xe7bbec=_0xe7bbec-0xa0;let _0x1d1950=_0x3eb5a8[_0xe7bbec];return _0x1d1950;},_0xe7bb(_0x5e782e,_0x131fbe);}import{BodyCollection as _0x3f8741,BalloonToolbar as _0x5677f6,MenuBarMenuView as _0x12067d,MenuBarMenuListView as _0x4687a4,MenuBarMenuListItemView as _0x14d2db,MenuBarMenuListItemButtonView as _0x330456}from'ckeditor5/src/ui.js';import{AIModels as _0x1999eb}from'../aicore/model/aimodels.js';import{AIConnector as _0x285015}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x12867d(0xf6),ie=_0x12867d(0x10b),ne=_0x12867d(0x106);export var AIQuickActionType;!function(_0x43134c){const _0x90daa5=_0x12867d;_0x43134c[_0x90daa5(0xe6)]=_0x90daa5(0xe6),_0x43134c[_0x90daa5(0xfa)]=_0x90daa5(0xfa),_0x43134c[_0x90daa5(0xd2)]=_0x90daa5(0xd2);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x38279a){const _0x158a63=_0x12867d;_0x38279a[_0x158a63(0xe6)]=_0x158a63(0xef),_0x38279a[_0x158a63(0xfa)]=_0x158a63(0xf2),_0x38279a[_0x158a63(0xd2)]=_0x158a63(0xca);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1ea037{static get[_0x12867d(0xc0)](){return[_0x5677f6,_0x285015];}static get[_0x12867d(0x116)](){const _0x137bb7=_0x12867d;return _0x137bb7(0x12e);}static get[_0x12867d(0xa4)](){return!0x0;}static get[_0x12867d(0x105)](){return!0x0;}async[_0x12867d(0xbe)](){const _0x3b5d3a=_0x12867d,_0x23bac8=await this[_0x3b5d3a(0xae)]();this[_0x3b5d3a(0xd7)](_0x23bac8),this[_0x3b5d3a(0xde)]();}static[_0x12867d(0xf3)](_0x1aeee4){return function(_0x263fef){const _0xdf8972=_0xe7bb,_0x270c26=new Intl[(_0xdf8972(0xf9))](['en'],{'type':_0xdf8972(0x100)})['of'](_0x263fef[_0xdf8972(0x114)]),_0x526885=_0x270c26||_0xdf8972(0xea),_0x2dc68d=[{'id':_0xdf8972(0xfd),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xbb)),'type':AIQuickActionType[_0xdf8972(0xe6)],'icon':_0x4e3522},{'id':_0xdf8972(0xa3),'label':_0x136237(_0x263fef,_0xdf8972(0xa7)),'icon':_0x4e3522,'actions':[{'id':_0xdf8972(0x102),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x11d)),'prompt':ee[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]},{'id':_0xdf8972(0xc7),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x12f)),'prompt':ie[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]},{'id':_0xdf8972(0xee),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xf1)),'prompt':ne[_0xdf8972(0x12c)]('%0',_0x526885),'type':AIQuickActionType[_0xdf8972(0xe6)]}]},{'id':_0xdf8972(0x13f),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb1)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x2e8cd6},{'id':_0xdf8972(0xb0),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x11f)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x197a53},{'id':_0xdf8972(0x111),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb7)),'type':AIQuickActionType[_0xdf8972(0xfa)],'icon':_0x592d1f},{'id':_0xdf8972(0xec),'label':_0x136237(_0x263fef,_0xdf8972(0xad)),'icon':_0x3f1d28,'actions':[{'id':_0xdf8972(0x136),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10e)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xda),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x110)),'type':AIQuickActionType[_0xdf8972(0xfa)]}]},{'id':_0xdf8972(0xbf),'label':_0x136237(_0x263fef,_0xdf8972(0xfb)),'icon':_0x2182c7,'actions':[{'id':_0xdf8972(0x137),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xc9)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xdf),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10d)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xb8),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xaf)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0x130),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe1)),'type':AIQuickActionType[_0xdf8972(0xfa)]},{'id':_0xdf8972(0xcd),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb5)),'type':AIQuickActionType[_0xdf8972(0xfa)]}]},{'id':_0xdf8972(0xce),'label':_0x136237(_0x263fef,_0xdf8972(0xfc)),'icon':_0x400a8c,'actions':[{'id':_0xdf8972(0xed),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe9)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xd8)}},{'id':_0xdf8972(0x119),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xb4)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x11a)}},{'id':_0xdf8972(0xd5),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xd3)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xc8)}},{'id':_0xdf8972(0x13a),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xa8)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x131)}},{'id':_0xdf8972(0xcb),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0xe2)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xf0)}},{'id':_0xdf8972(0x113),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x101)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x11e)}},{'id':_0xdf8972(0xff),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x13b)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x138)}},{'id':_0xdf8972(0xfe),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10f)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x104)}},{'id':_0xdf8972(0xba),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x10c)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0x121)}},{'id':_0xdf8972(0x135),'displayedPrompt':_0x136237(_0x263fef,_0xdf8972(0x128)),'type':AIQuickActionType[_0xdf8972(0xfa)],'actionName':_0xdf8972(0xce),'args':{'language':_0xdf8972(0xaa)}}]},{'id':_0xdf8972(0x112),'label':_0x136237(_0x263fef,_0xdf8972(0xb3)),'icon':_0x8d1c54,'actions':[]}];return _0x2dc68d;}(_0x1aeee4);}async[_0x12867d(0xae)](){const _0x1dd5f4=_0x12867d,_0x17e048=AIQuickActionsUI[_0x1dd5f4(0xf3)](this[_0x1dd5f4(0x139)][_0x1dd5f4(0xac)]),_0xfb5417=this[_0x1dd5f4(0x139)][_0x1dd5f4(0x11c)][_0x1dd5f4(0x108)](_0x1dd5f4(0xb9))||[];let _0x16ae56=[];try{_0x16ae56=await new _0x1999eb({'connector':this[_0x1dd5f4(0x139)][_0x1dd5f4(0x125)][_0x1dd5f4(0x108)](_0x1dd5f4(0xe3)),'locale':this[_0x1dd5f4(0x139)][_0x1dd5f4(0xac)]})[_0x1dd5f4(0x103)]();}catch(_0x4dd0a0){const _0x460b99=new _0x160cd5(_0x1dd5f4(0x11b),this,{'error':_0x4dd0a0});_0x4b5475(_0x460b99[_0x1dd5f4(0xb2)]);}finally{const _0x32c3ed=_0xfb5417[_0x1dd5f4(0xa0)](_0x2676bc=>({..._0x2676bc,'icon':void 0x0}));_0x17e048[_0x1dd5f4(0xe5)](_0x3085cb=>_0x1dd5f4(0x112)===_0x3085cb['id'])[_0x1dd5f4(0xd6)][_0x1dd5f4(0xe4)](..._0x32c3ed),_0x17e048[_0x1dd5f4(0x12b)](_0x45c5f5=>{const _0x55f12e=_0x1dd5f4;if(_0x55f12e(0xd6)in _0x45c5f5)_0x45c5f5[_0x55f12e(0xd6)][_0x55f12e(0x12b)](_0x29a16f=>{const _0x2cb32f=_0x55f12e;if(_0x29a16f[_0x2cb32f(0xb6)]=!!_0x16ae56[_0x2cb32f(0xe5)](_0x201f86=>_0x201f86['id']===_0x29a16f[_0x2cb32f(0x134)])||void 0x0===_0x29a16f[_0x2cb32f(0x134)],!_0x29a16f[_0x2cb32f(0xb6)]){const _0x3d476a=new _0x160cd5(_0x2cb32f(0x140),this,{'actionId':_0x29a16f['id'],'modelId':_0x29a16f[_0x2cb32f(0x134)]});_0x4b5475(_0x3d476a[_0x2cb32f(0xb2)]);}});else{if(_0x45c5f5[_0x55f12e(0xb6)]=!!_0x16ae56[_0x55f12e(0xe5)](_0xb7e63c=>_0xb7e63c['id']===_0x45c5f5[_0x55f12e(0x134)])||void 0x0===_0x45c5f5[_0x55f12e(0x134)],!_0x45c5f5[_0x55f12e(0xb6)]){const _0x3be286=new _0x160cd5(_0x55f12e(0x140),this,{'actionId':_0x45c5f5['id'],'modelId':_0x45c5f5[_0x55f12e(0x134)]});_0x4b5475(_0x3be286[_0x55f12e(0xb2)]);}}});}return _0x17e048;}[_0x12867d(0xde)](){const _0x7344df=_0x12867d,_0x22e0c2=new _0x3f8741(this[_0x7344df(0x139)][_0x7344df(0xac)]);_0x22e0c2[_0x7344df(0xf5)](),this[_0x7344df(0xc1)](_0x22e0c2),this[_0x7344df(0xcf)](),this[_0x7344df(0x12a)](_0x22e0c2);}[_0x12867d(0xc1)](_0x28f779){const _0x207f51=_0x12867d,_0x5216e8=this[_0x207f51(0x139)][_0x207f51(0x11c)][_0x207f51(0x108)](_0x207f51(0xc3))??!0x0;this[_0x207f51(0x139)]['ui'][_0x207f51(0x109)][_0x207f51(0xa5)](_0x207f51(0xd1),_0x4bc92b({'editor':this[_0x207f51(0x139)],'content':this[_0x207f51(0x123)],'buttonDefinition':{'icon':_0x4690e6,'label':_0x136237(this[_0x207f51(0x139)][_0x207f51(0xac)],_0x207f51(0xa1))},'bodyCollection':_0x28f779,'hasSearch':_0x5216e8}));}[_0x12867d(0xd7)](_0x43bc38){const _0x3c1c3c=_0x12867d;this[_0x3c1c3c(0x123)]=_0x43bc38[_0x3c1c3c(0xa0)](_0x5214d9=>{const _0x3d0b4d=_0x3c1c3c;if(_0x3d0b4d(0xd6)in _0x5214d9){const _0x1fae32=_0x5214d9;return{..._0x1fae32,'actions':_0x1fae32[_0x3d0b4d(0xd6)][_0x3d0b4d(0xa0)](_0xefed40=>{const {actions:_0x37f500,..._0x161575}=_0x1fae32;return{..._0xefed40,'parent':_0x161575};})[_0x3d0b4d(0x126)](_0x4e3b91=>this[_0x3d0b4d(0xdb)](_0x4e3b91))};}return _0x5214d9;})[_0x3c1c3c(0x126)](_0x3d5239=>_0x3c1c3c(0xd6)in _0x3d5239?_0x3d5239[_0x3c1c3c(0xd6)][_0x3c1c3c(0xa2)]>0x0:this[_0x3c1c3c(0xdb)](_0x3d5239));}[_0x12867d(0xdb)](_0x2e9538){const _0x26bfe1=_0x12867d,_0xcc086b=this[_0x26bfe1(0x139)][_0x26bfe1(0x11c)][_0x26bfe1(0x108)](_0x26bfe1(0xe0))||[];return this[_0x26bfe1(0x139)][_0x26bfe1(0x125)][_0x26bfe1(0xbc)](AIQuickActionTypeToPluginName[_0x2e9538[_0x26bfe1(0xc2)]])&&!_0xcc086b[_0x26bfe1(0xd4)](_0x2e9538['id'])&&!(_0x2e9538[_0x26bfe1(0xc2)]===AIQuickActionType[_0x26bfe1(0xe6)]&&!0x1===this[_0x26bfe1(0x139)][_0x26bfe1(0x11c)][_0x26bfe1(0x108)](_0x26bfe1(0xdd)));}[_0x12867d(0x12a)](_0x2ca2c6){const _0x110f38=_0x12867d;this[_0x110f38(0x123)][_0x110f38(0x12b)](_0x51c092=>{const _0x1da64c=_0x110f38;if(_0x1da64c(0xd6)in _0x51c092){const _0x4219cd=_0x4bc92b({'editor':this[_0x1da64c(0x139)],'content':_0x51c092[_0x1da64c(0xd6)],'buttonDefinition':_0x51c092,'bodyCollection':_0x2ca2c6});this[_0x1da64c(0x139)]['ui'][_0x1da64c(0x109)][_0x1da64c(0xa5)](_0x51c092['id'],_0x4219cd),_0x51c092[_0x1da64c(0xd6)][_0x1da64c(0x12b)](_0x1f122c=>{const _0x5e4ce0=_0x1da64c,_0x215ec6=_0x55fccd({'editor':this[_0x5e4ce0(0x139)],'action':_0x1f122c});this[_0x5e4ce0(0x139)]['ui'][_0x5e4ce0(0x109)][_0x5e4ce0(0xa5)](_0x1f122c['id'],_0x215ec6);});}else{const _0x4fda4b=_0x55fccd({'editor':this[_0x1da64c(0x139)],'action':_0x51c092,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x1da64c(0x139)]['ui'][_0x1da64c(0x109)][_0x1da64c(0xa5)](_0x51c092['id'],_0x4fda4b);}});}[_0x12867d(0xcf)](){const _0x275fd0=_0x12867d;this[_0x275fd0(0x139)]['ui'][_0x275fd0(0x109)][_0x275fd0(0xa5)](_0x275fd0(0x132),_0x181b5d=>{const _0x45d264=_0x275fd0,_0x3bd075=new _0x12067d(_0x181b5d),_0x1401bd=_0x136237(_0x181b5d,_0x45d264(0xa1));_0x3bd075[_0x45d264(0xc4)][_0x45d264(0x13e)]({'label':_0x1401bd,'icon':_0x4690e6});const _0x16bfe0=new _0x4687a4(_0x181b5d);_0x16bfe0[_0x45d264(0x13e)]({'ariaLabel':_0x1401bd,'role':_0x45d264(0xc6)}),this[_0x45d264(0x123)][_0x45d264(0x12b)](_0x45b74f=>{const _0x54b5cd=_0x45d264;if(_0x54b5cd(0xd6)in _0x45b74f){const _0x413e0b=_0x45b74f,_0xb8f738=new _0x14d2db(_0x181b5d,_0x3bd075),_0x3bfc28=new _0x12067d(_0x181b5d),_0x5454e2=new _0x4687a4(_0x181b5d);_0x3bfc28[_0x54b5cd(0xc4)][_0x54b5cd(0x13e)]({'label':_0x413e0b[_0x54b5cd(0x122)],'icon':_0x413e0b[_0x54b5cd(0x117)]}),_0x413e0b[_0x54b5cd(0xd6)][_0x54b5cd(0x12b)](_0x69ea1b=>{const _0x2cb492=_0x54b5cd,_0x535d57=new _0x14d2db(_0x181b5d,_0x3bfc28),_0x48b77c=new _0x330456(_0x181b5d);_0x48b77c[_0x2cb492(0x13e)]({'label':_0x69ea1b[_0x2cb492(0xf4)],'icon':_0x69ea1b[_0x2cb492(0x117)],'role':_0x2cb492(0x107),'isEnabled':_0x69ea1b[_0x2cb492(0xb6)]}),_0x48b77c['on'](_0x2cb492(0x133),()=>{const _0x1a4728=_0x2cb492;this[_0x1a4728(0xf8)](_0x69ea1b);}),_0x48b77c[_0x2cb492(0xeb)](_0x2cb492(0x133))['to'](_0x3bfc28),_0x535d57[_0x2cb492(0xf7)][_0x2cb492(0xa5)](_0x48b77c),_0x5454e2[_0x2cb492(0xab)][_0x2cb492(0xa5)](_0x535d57);}),_0x3bfc28[_0x54b5cd(0x120)][_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x5454e2),_0xb8f738[_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x3bfc28),_0x16bfe0[_0x54b5cd(0xab)][_0x54b5cd(0xa5)](_0xb8f738);}else{const _0x548d71=_0x45b74f,_0x437254=new _0x14d2db(_0x181b5d,_0x3bd075),_0x3610c1=new _0x330456(_0x181b5d);_0x3610c1[_0x54b5cd(0x13e)]({'label':_0x548d71[_0x54b5cd(0xf4)],'icon':_0x548d71[_0x54b5cd(0x117)],'role':_0x54b5cd(0x107),'isEnabled':_0x548d71[_0x54b5cd(0xb6)]}),_0x3610c1['on'](_0x54b5cd(0x133),()=>{const _0x37f90b=_0x54b5cd;this[_0x37f90b(0xf8)](_0x548d71);}),_0x3610c1[_0x54b5cd(0xeb)](_0x54b5cd(0x133))['to'](_0x3bd075),_0x437254[_0x54b5cd(0xf7)][_0x54b5cd(0xa5)](_0x3610c1),_0x16bfe0[_0x54b5cd(0xab)][_0x54b5cd(0xa5)](_0x437254);}});const _0x2b52af=Object[_0x45d264(0xd9)](AIQuickActionTypeToPluginName)[_0x45d264(0xbd)](_0x5132cf=>this[_0x45d264(0x139)][_0x45d264(0x125)][_0x45d264(0xbc)](_0x5132cf));return _0x3bd075[_0x45d264(0x13e)]({'isEnabled':_0x2b52af}),_0x3bd075[_0x45d264(0x120)][_0x45d264(0xf7)][_0x45d264(0xa5)](_0x16bfe0),_0x3bd075;});}[_0x12867d(0xf8)](_0x5df2e5){const _0xbc84e7=_0x12867d,_0x570482=this[_0xbc84e7(0x139)];_0x570482[_0xbc84e7(0xe8)][_0xbc84e7(0xa6)][_0xbc84e7(0x12d)](),_0x570482[_0xbc84e7(0x129)][_0xbc84e7(0x133)](_0xbc84e7(0x13c),_0x5df2e5);const _0x2d2ed3=_0x570482['ui'][_0xbc84e7(0xa6)][_0xbc84e7(0xdc)];_0x2d2ed3&&_0x2d2ed3[_0xbc84e7(0xcc)]&&_0x2d2ed3[_0xbc84e7(0xcc)]();}}function _0x3eb5(){const _0x110dc3=['AI_QUICK_ACTIONS_ASK_AI','has','some','init','change-tone','requires','_initializeQuickActionsDropdown','type','ai.quickActions.isSearchEnabled','buttonView','2827830wmEqAl','menu','summarize','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','AIReviewMode','translate-to-french','close','make-tone-professional','translate','_initializeQuickActionsMenuBar','6146128OGljEP','aiQuickActions','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','includes','translate-to-spanish','actions','_prepareQuickActionsDefinition','english','values','make-longer','_shouldIncludeAction','menuBarView','ai.chat.context.document.enabled','_initializeQuickActionsComponentsAndCommands','make-tone-direct','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AIConnector','push','find','CHAT','28YiDoxF','editing','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','English','delegate','adjust-length','translate-to-english','highlight-key-points','AIChat','french','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIActions','getDefaultQuickActions','displayedPrompt','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>','children','_executeQuickAction','DisplayNames','ACTION','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_TRANSLATE','ask-ai','translate-to-korean','translate-to-portuguese','language','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','explain','getAll','korean','isPremiumPlugin','<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>','menuitem','get','componentFactory','1275066WbfcWA','<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_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MAKE_LONGER','fix-grammar','other','translate-to-japanese','uiLanguage','19100MbeSJj','pluginName','icon','1699842ICZStO','translate-to-chinese','chinese','ai-quick-actions-models-unable-to-retrieve','config','AI_QUICK_ACTIONS_EXPLAIN','japanese','AI_QUICK_ACTIONS_CONTINUE_WRITING','panelView','italian','label','_quickActionsDefinition','920629jDoPmh','plugins','filter','2013895myVlXS','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','commands','_initializeQuickActionsComponents','forEach','replace','focus','AIQuickActionsUI','AI_QUICK_ACTIONS_SUMMARIZE','make-tone-confident','german','menuBar:aiQuickActions','execute','model','translate-to-russian','make-shorter','make-tone-casual','portuguese','editor','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','aiQuickAction','3510OHakbX','set','improve-writing','ai-quick-actions-unavailable-model','map','AI_QUICK_ACTIONS_HEADING','length','chat-commands','isOfficialPlugin','add','view','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','8rSAHUu','russian','items','locale','AI_QUICK_ACTIONS_ADJUST_LENGTH','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MORE_FRIENDLY','continue','AI_QUICK_ACTIONS_IMPROVE_WRITING','message','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','isEnabled','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','make-tone-friendly','ai.quickActions.extraCommands','translate-to-italian'];_0x3eb5=function(){return _0x110dc3;};return _0x3eb5();}
23
+ function _0xae65(_0x1904d6,_0x4cb046){const _0x328550=_0x3285();return _0xae65=function(_0xae65fb,_0xb42714){_0xae65fb=_0xae65fb-0x1db;let _0x4f2954=_0x328550[_0xae65fb];return _0x4f2954;},_0xae65(_0x1904d6,_0x4cb046);}const _0x4e0b60=_0xae65;(function(_0x422824,_0x2e5392){const _0x121b44=_0xae65,_0xa1c6b7=_0x422824();while(!![]){try{const _0x48086e=-parseInt(_0x121b44(0x1ee))/0x1+parseInt(_0x121b44(0x224))/0x2*(parseInt(_0x121b44(0x210))/0x3)+-parseInt(_0x121b44(0x248))/0x4+-parseInt(_0x121b44(0x1fd))/0x5*(parseInt(_0x121b44(0x21b))/0x6)+-parseInt(_0x121b44(0x257))/0x7*(parseInt(_0x121b44(0x204))/0x8)+-parseInt(_0x121b44(0x279))/0x9+-parseInt(_0x121b44(0x1f0))/0xa*(-parseInt(_0x121b44(0x221))/0xb);if(_0x48086e===_0x2e5392)break;else _0xa1c6b7['push'](_0xa1c6b7['shift']());}catch(_0x4ba746){_0xa1c6b7['push'](_0xa1c6b7['shift']());}}}(_0x3285,0x362f5));import{IconAIAdjustLength as _0x21ef50,IconAIChangeTone as _0x391116,IconAIChatCommands as _0x1e4586,IconAIContinueWriting as _0x5bdbd5,IconAIGrammarCheck as _0x4c2924,IconAIImproveWriting as _0x4dd52e,IconAIOther as _0x5e0792,IconAIQuickActions as _0x22ebf7,IconAITranslate as _0x245953}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x47240f}from'ckeditor5/src/core.js';import{CKEditorError as _0x51c541,logError as _0x3dce0c}from'ckeditor5/src/utils.js';import{getTranslation as _0x3c3791}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x551104}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4571bd}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x32c211,BalloonToolbar as _0x17f215,MenuBarMenuView as _0xb3fbaa,MenuBarMenuListView as _0x3b977f,MenuBarMenuListItemView as _0x34a44b,MenuBarMenuListItemButtonView as _0x3fa13e}from'ckeditor5/src/ui.js';import{AIModels as _0x3ffdae}from'../aicore/model/aimodels.js';import{AIConnector as _0x443288}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x3285(){const _0x1d51e5=['requires','REVIEW','isEnabled','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ACTION','filter','commands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','german','AI_QUICK_ACTIONS_MORE_FRIENDLY','menu','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AIQuickActionsUI','AI_QUICK_ACTIONS_ASK_AI','_prepareQuickActionsDefinition','focus','menuBarView','menuBar:aiQuickActions','make-shorter','other','items','1183292pLdwVp','highlight-key-points','improve-writing','plugins','make-tone-direct','editor','pluginName','map','has','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','locale','translate-to-french','ai.quickActions.isSearchEnabled','english','7oMyuuf','AI_QUICK_ACTIONS_MORE_CONFIDENT','change-tone','make-tone-professional','set','italian','icon','AI_QUICK_ACTIONS_MAKE_LONGER','menuitem','japanese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_quickActionsDefinition','push','isOfficialPlugin','execute','spanish','translate-to-spanish','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_OTHER','delegate','DisplayNames','AI_QUICK_ACTIONS_MORE_CASUAL','ask-ai','AI_QUICK_ACTIONS_CONTINUE_WRITING','russian','CHAT','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-german','_initializeQuickActionsDropdown','39906EmsAre','values','translate-to-italian','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate','adjust-length','AIActions','korean','fix-grammar','AIConnector','<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>','_executeQuickAction','explain','chat-commands','<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>','displayedPrompt','model','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','<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>','language','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','portuguese','423975LROtxi','children','4390YNBZpp','get','message','forEach','some','label','make-tone-friendly','config','translate-to-russian','make-tone-casual','attachToDom','ai.quickActions.extraCommands','summarize','268005KiJlbC','panelView','chinese','find','translate-to-japanese','_shouldIncludeAction','aiQuickAction','898656NroPSn','type','AI_QUICK_ACTIONS_CHANGE_TONE','continue','AI_QUICK_ACTIONS_SUMMARIZE','make-tone-confident','translate-to-english','french','isPremiumPlugin','getAll','_getDefaultAndCustomActions','length','216303BZVUbh','getDefaultQuickActions','AI_QUICK_ACTIONS_HEADING','ai.quickActions.removeCommands','editing','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_MAKE_SHORTER','init','view','English','ai-quick-actions-models-unable-to-retrieve','48VjBCmy','uiLanguage','buttonView','includes','_initializeQuickActionsComponentsAndCommands','close','30041Pinfrk','replace','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','8nRzqbt','AIReviewMode','ai.chat.context.document.enabled','ai-quick-actions-unavailable-model','translate-to-portuguese','aiQuickActions','make-longer','add','AIChat','translate-to-chinese','actions','componentFactory'];_0x3285=function(){return _0x1d51e5;};return _0x3285();}const Ut=_0x4e0b60(0x1e9),vt=_0x4e0b60(0x1e5),Pt=_0x4e0b60(0x1e1);export var AIQuickActionType;!function(_0x4753c9){const _0x3b3d9e=_0x4e0b60;_0x4753c9[_0x3b3d9e(0x273)]=_0x3b3d9e(0x273),_0x4753c9[_0x3b3d9e(0x234)]=_0x3b3d9e(0x234),_0x4753c9[_0x3b3d9e(0x231)]=_0x3b3d9e(0x231);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3eca90){const _0x12d65e=_0x4e0b60;_0x3eca90[_0x12d65e(0x273)]=_0x12d65e(0x22c),_0x3eca90[_0x12d65e(0x234)]=_0x12d65e(0x1dd),_0x3eca90[_0x12d65e(0x231)]=_0x12d65e(0x225);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x47240f{static get[_0x4e0b60(0x230)](){return[_0x17f215,_0x443288];}static get[_0x4e0b60(0x24e)](){const _0x376c77=_0x4e0b60;return _0x376c77(0x23f);}static get[_0x4e0b60(0x264)](){return!0x0;}static get[_0x4e0b60(0x20c)](){return!0x0;}async[_0x4e0b60(0x217)](){const _0xc175c4=_0x4e0b60,_0x9f51de=await this[_0xc175c4(0x20e)]();this[_0xc175c4(0x241)](_0x9f51de),this[_0xc175c4(0x21f)]();}static[_0x4e0b60(0x211)](_0x39dc56){return function(_0x71d218){const _0x64ca4d=_0xae65,_0x23c7ec=new Intl[(_0x64ca4d(0x26e))](['en'],{'type':_0x64ca4d(0x1ea)})['of'](_0x71d218[_0x64ca4d(0x21c)]),_0x37589c=_0x23c7ec||_0x64ca4d(0x219),_0x2c5616=[{'id':_0x64ca4d(0x270),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x240)),'type':AIQuickActionType[_0x64ca4d(0x273)],'icon':_0x1e4586},{'id':_0x64ca4d(0x1e4),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x23d)),'icon':_0x1e4586,'actions':[{'id':_0x64ca4d(0x1e3),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26a)),'prompt':Ut[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]},{'id':_0x64ca4d(0x1fc),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x208)),'prompt':vt[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]},{'id':_0x64ca4d(0x249),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x223)),'prompt':Pt[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]}]},{'id':_0x64ca4d(0x24a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x27c)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x4dd52e},{'id':_0x64ca4d(0x207),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x271)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x5bdbd5},{'id':_0x64ca4d(0x1df),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x238)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x4c2924},{'id':_0x64ca4d(0x1dc),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x1ec)),'icon':_0x21ef50,'actions':[{'id':_0x64ca4d(0x245),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x216)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x22a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x25e)),'type':AIQuickActionType[_0x64ca4d(0x234)]}]},{'id':_0x64ca4d(0x259),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x206)),'icon':_0x391116,'actions':[{'id':_0x64ca4d(0x1f9),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26f)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x24c),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23c)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x1f6),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23a)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x209),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x258)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x25a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x261)),'type':AIQuickActionType[_0x64ca4d(0x234)]}]},{'id':_0x64ca4d(0x1db),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x275)),'icon':_0x245953,'actions':[{'id':_0x64ca4d(0x20a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x276)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x256)}},{'id':_0x64ca4d(0x22d),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x1eb)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1ff)}},{'id':_0x64ca4d(0x267),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x237)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x266)}},{'id':_0x64ca4d(0x277),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x233)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x239)}},{'id':_0x64ca4d(0x254),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x252)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x20b)}},{'id':_0x64ca4d(0x201),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x274)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x260)}},{'id':_0x64ca4d(0x228),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x269)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1ed)}},{'id':_0x64ca4d(0x251),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26b)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1de)}},{'id':_0x64ca4d(0x27b),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x1e8)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x25c)}},{'id':_0x64ca4d(0x1f8),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23e)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x272)}}]},{'id':_0x64ca4d(0x246),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x26c)),'icon':_0x5e0792,'actions':[]}];return _0x2c5616;}(_0x39dc56);}async[_0x4e0b60(0x20e)](){const _0x11e843=_0x4e0b60,_0x484c27=AIQuickActionsUI[_0x11e843(0x211)](this[_0x11e843(0x24d)][_0x11e843(0x253)]),_0x239fc7=this[_0x11e843(0x24d)][_0x11e843(0x1f7)][_0x11e843(0x1f1)](_0x11e843(0x1fb))||[];let _0x395cd3=[];try{_0x395cd3=await new _0x3ffdae({'connector':this[_0x11e843(0x24d)][_0x11e843(0x24b)][_0x11e843(0x1f1)](_0x11e843(0x1e0)),'locale':this[_0x11e843(0x24d)][_0x11e843(0x253)]})[_0x11e843(0x20d)]();}catch(_0x206aec){const _0x370bd3=new _0x51c541(_0x11e843(0x21a),this,{'error':_0x206aec});_0x3dce0c(_0x370bd3[_0x11e843(0x1f2)]);}finally{const _0x1709d5=_0x239fc7[_0x11e843(0x24f)](_0x5d2fa8=>({..._0x5d2fa8,'icon':void 0x0}));_0x484c27[_0x11e843(0x200)](_0x5ba14a=>_0x11e843(0x246)===_0x5ba14a['id'])[_0x11e843(0x22e)][_0x11e843(0x263)](..._0x1709d5),_0x484c27[_0x11e843(0x1f3)](_0x2ea794=>{const _0x49c21e=_0x11e843;if(_0x49c21e(0x22e)in _0x2ea794)_0x2ea794[_0x49c21e(0x22e)][_0x49c21e(0x1f3)](_0x46a0a8=>{const _0x42ec4d=_0x49c21e;if(_0x46a0a8[_0x42ec4d(0x232)]=!!_0x395cd3[_0x42ec4d(0x200)](_0x1a9fa5=>_0x1a9fa5['id']===_0x46a0a8[_0x42ec4d(0x1e7)])||void 0x0===_0x46a0a8[_0x42ec4d(0x1e7)],!_0x46a0a8[_0x42ec4d(0x232)]){const _0x71b2f8=new _0x51c541(_0x42ec4d(0x227),this,{'actionId':_0x46a0a8['id'],'modelId':_0x46a0a8[_0x42ec4d(0x1e7)]});_0x3dce0c(_0x71b2f8[_0x42ec4d(0x1f2)]);}});else{if(_0x2ea794[_0x49c21e(0x232)]=!!_0x395cd3[_0x49c21e(0x200)](_0x5d360a=>_0x5d360a['id']===_0x2ea794[_0x49c21e(0x1e7)])||void 0x0===_0x2ea794[_0x49c21e(0x1e7)],!_0x2ea794[_0x49c21e(0x232)]){const _0x143308=new _0x51c541(_0x49c21e(0x227),this,{'actionId':_0x2ea794['id'],'modelId':_0x2ea794[_0x49c21e(0x1e7)]});_0x3dce0c(_0x143308[_0x49c21e(0x1f2)]);}}});}return _0x484c27;}[_0x4e0b60(0x21f)](){const _0x513a94=_0x4e0b60,_0x2d562b=new _0x32c211(this[_0x513a94(0x24d)][_0x513a94(0x253)]);_0x2d562b[_0x513a94(0x1fa)](),this[_0x513a94(0x278)](_0x2d562b),this[_0x513a94(0x268)](),this[_0x513a94(0x215)](_0x2d562b);}[_0x4e0b60(0x278)](_0x322b57){const _0x38a150=_0x4e0b60,_0x4aea3d=this[_0x38a150(0x24d)][_0x38a150(0x1f7)][_0x38a150(0x1f1)](_0x38a150(0x255))??!0x0;this[_0x38a150(0x24d)]['ui'][_0x38a150(0x22f)][_0x38a150(0x22b)](_0x38a150(0x229),_0x551104({'editor':this[_0x38a150(0x24d)],'content':this[_0x38a150(0x262)],'buttonDefinition':{'icon':_0x22ebf7,'label':_0x3c3791(this[_0x38a150(0x24d)][_0x38a150(0x253)],_0x38a150(0x212))},'bodyCollection':_0x322b57,'hasSearch':_0x4aea3d}));}[_0x4e0b60(0x241)](_0x2e2c36){const _0x27d19a=_0x4e0b60;this[_0x27d19a(0x262)]=_0x2e2c36[_0x27d19a(0x24f)](_0x3c8b68=>{const _0x93e3ed=_0x27d19a;if(_0x93e3ed(0x22e)in _0x3c8b68){const _0x563604=_0x3c8b68;return{..._0x563604,'actions':_0x563604[_0x93e3ed(0x22e)][_0x93e3ed(0x24f)](_0x3a97ec=>{const {actions:_0x529d7a,..._0x283629}=_0x563604;return{..._0x3a97ec,'parent':_0x283629};})[_0x93e3ed(0x235)](_0x5c0322=>this[_0x93e3ed(0x202)](_0x5c0322))};}return _0x3c8b68;})[_0x27d19a(0x235)](_0xb23cbb=>_0x27d19a(0x22e)in _0xb23cbb?_0xb23cbb[_0x27d19a(0x22e)][_0x27d19a(0x20f)]>0x0:this[_0x27d19a(0x202)](_0xb23cbb));}[_0x4e0b60(0x202)](_0x7f9162){const _0x6f51d=_0x4e0b60,_0xb2d972=this[_0x6f51d(0x24d)][_0x6f51d(0x1f7)][_0x6f51d(0x1f1)](_0x6f51d(0x213))||[];return this[_0x6f51d(0x24d)][_0x6f51d(0x24b)][_0x6f51d(0x250)](AIQuickActionTypeToPluginName[_0x7f9162[_0x6f51d(0x205)]])&&!_0xb2d972[_0x6f51d(0x21e)](_0x7f9162['id'])&&!(_0x7f9162[_0x6f51d(0x205)]===AIQuickActionType[_0x6f51d(0x273)]&&!0x1===this[_0x6f51d(0x24d)][_0x6f51d(0x1f7)][_0x6f51d(0x1f1)](_0x6f51d(0x226)));}[_0x4e0b60(0x215)](_0xb52cae){const _0x3cfb50=_0x4e0b60;this[_0x3cfb50(0x262)][_0x3cfb50(0x1f3)](_0x41686d=>{const _0x376c63=_0x3cfb50;if(_0x376c63(0x22e)in _0x41686d){const _0x3fdea5=_0x551104({'editor':this[_0x376c63(0x24d)],'content':_0x41686d[_0x376c63(0x22e)],'buttonDefinition':_0x41686d,'bodyCollection':_0xb52cae});this[_0x376c63(0x24d)]['ui'][_0x376c63(0x22f)][_0x376c63(0x22b)](_0x41686d['id'],_0x3fdea5),_0x41686d[_0x376c63(0x22e)][_0x376c63(0x1f3)](_0x454482=>{const _0x2e515a=_0x376c63,_0xc661ad=_0x4571bd({'editor':this[_0x2e515a(0x24d)],'action':_0x454482});this[_0x2e515a(0x24d)]['ui'][_0x2e515a(0x22f)][_0x2e515a(0x22b)](_0x454482['id'],_0xc661ad);});}else{const _0xbf3703=_0x4571bd({'editor':this[_0x376c63(0x24d)],'action':_0x41686d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x376c63(0x24d)]['ui'][_0x376c63(0x22f)][_0x376c63(0x22b)](_0x41686d['id'],_0xbf3703);}});}[_0x4e0b60(0x268)](){const _0xca9af3=_0x4e0b60;this[_0xca9af3(0x24d)]['ui'][_0xca9af3(0x22f)][_0xca9af3(0x22b)](_0xca9af3(0x244),_0xf00f6d=>{const _0x2cf3ec=_0xca9af3,_0x4f52f7=new _0xb3fbaa(_0xf00f6d),_0x117ae4=_0x3c3791(_0xf00f6d,_0x2cf3ec(0x212));_0x4f52f7[_0x2cf3ec(0x21d)][_0x2cf3ec(0x25b)]({'label':_0x117ae4,'icon':_0x22ebf7});const _0x3f5aa2=new _0x3b977f(_0xf00f6d);_0x3f5aa2[_0x2cf3ec(0x25b)]({'ariaLabel':_0x117ae4,'role':_0x2cf3ec(0x23b)}),this[_0x2cf3ec(0x262)][_0x2cf3ec(0x1f3)](_0x1c1822=>{const _0x1c641f=_0x2cf3ec;if(_0x1c641f(0x22e)in _0x1c1822){const _0xa97048=_0x1c1822,_0x3c9b11=new _0x34a44b(_0xf00f6d,_0x4f52f7),_0x57493b=new _0xb3fbaa(_0xf00f6d),_0x36db51=new _0x3b977f(_0xf00f6d);_0x57493b[_0x1c641f(0x21d)][_0x1c641f(0x25b)]({'label':_0xa97048[_0x1c641f(0x1f5)],'icon':_0xa97048[_0x1c641f(0x25d)]}),_0xa97048[_0x1c641f(0x22e)][_0x1c641f(0x1f3)](_0x1cde09=>{const _0x1cc624=_0x1c641f,_0x10b639=new _0x34a44b(_0xf00f6d,_0x57493b),_0x2c4396=new _0x3fa13e(_0xf00f6d);_0x2c4396[_0x1cc624(0x25b)]({'label':_0x1cde09[_0x1cc624(0x1e6)],'icon':_0x1cde09[_0x1cc624(0x25d)],'role':_0x1cc624(0x25f),'isEnabled':_0x1cde09[_0x1cc624(0x232)]}),_0x2c4396['on'](_0x1cc624(0x265),()=>{const _0xddcfa6=_0x1cc624;this[_0xddcfa6(0x1e2)](_0x1cde09);}),_0x2c4396[_0x1cc624(0x26d)](_0x1cc624(0x265))['to'](_0x57493b),_0x10b639[_0x1cc624(0x1ef)][_0x1cc624(0x22b)](_0x2c4396),_0x36db51[_0x1cc624(0x247)][_0x1cc624(0x22b)](_0x10b639);}),_0x57493b[_0x1c641f(0x1fe)][_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x36db51),_0x3c9b11[_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x57493b),_0x3f5aa2[_0x1c641f(0x247)][_0x1c641f(0x22b)](_0x3c9b11);}else{const _0xd0b03=_0x1c1822,_0x429a69=new _0x34a44b(_0xf00f6d,_0x4f52f7),_0x2e5947=new _0x3fa13e(_0xf00f6d);_0x2e5947[_0x1c641f(0x25b)]({'label':_0xd0b03[_0x1c641f(0x1e6)],'icon':_0xd0b03[_0x1c641f(0x25d)],'role':_0x1c641f(0x25f),'isEnabled':_0xd0b03[_0x1c641f(0x232)]}),_0x2e5947['on'](_0x1c641f(0x265),()=>{const _0x3b55e8=_0x1c641f;this[_0x3b55e8(0x1e2)](_0xd0b03);}),_0x2e5947[_0x1c641f(0x26d)](_0x1c641f(0x265))['to'](_0x4f52f7),_0x429a69[_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x2e5947),_0x3f5aa2[_0x1c641f(0x247)][_0x1c641f(0x22b)](_0x429a69);}});const _0x165aef=Object[_0x2cf3ec(0x27a)](AIQuickActionTypeToPluginName)[_0x2cf3ec(0x1f4)](_0x3d2203=>this[_0x2cf3ec(0x24d)][_0x2cf3ec(0x24b)][_0x2cf3ec(0x250)](_0x3d2203));return _0x4f52f7[_0x2cf3ec(0x25b)]({'isEnabled':_0x165aef}),_0x4f52f7[_0x2cf3ec(0x1fe)][_0x2cf3ec(0x1ef)][_0x2cf3ec(0x22b)](_0x3f5aa2),_0x4f52f7;});}[_0x4e0b60(0x1e2)](_0x3bd431){const _0x19ed5b=_0x4e0b60,_0xf9afab=this[_0x19ed5b(0x24d)];_0xf9afab[_0x19ed5b(0x214)][_0x19ed5b(0x218)][_0x19ed5b(0x242)](),_0xf9afab[_0x19ed5b(0x236)][_0x19ed5b(0x265)](_0x19ed5b(0x203),_0x3bd431);const _0x5d4777=_0xf9afab['ui'][_0x19ed5b(0x218)][_0x19ed5b(0x243)];_0x5d4777&&_0x5d4777[_0x19ed5b(0x220)]&&_0x5d4777[_0x19ed5b(0x220)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b0b53,_0x3094c4){const _0x3d4de5=_0x3506,_0x3e2066=_0x4b0b53();while(!![]){try{const _0x19b7fb=-parseInt(_0x3d4de5(0x1dc))/0x1+parseInt(_0x3d4de5(0x1d8))/0x2+parseInt(_0x3d4de5(0x1cd))/0x3+parseInt(_0x3d4de5(0x1dd))/0x4+parseInt(_0x3d4de5(0x1cb))/0x5*(-parseInt(_0x3d4de5(0x1c7))/0x6)+-parseInt(_0x3d4de5(0x1d5))/0x7+parseInt(_0x3d4de5(0x1c9))/0x8;if(_0x19b7fb===_0x3094c4)break;else _0x3e2066['push'](_0x3e2066['shift']());}catch(_0x5eb2d9){_0x3e2066['push'](_0x3e2066['shift']());}}}(_0x4e05,0x453dc));import{ButtonView as _0x5c5603}from'ckeditor5/src/ui.js';function _0x4e05(){const _0x3fead6=['execute','16350LTMozZ','icon','2315056TcFMlu','isEnabled','425IXVPYv','locale','1202760kuIfFu','parent','commands','displayedPrompt','menuitem','editing','focus','set','3458406lZTvHu','ck-ai-quick-actions-button','aiQuickAction','346980Jmjytq','bindTemplate','extendTemplate','view','84801pKDrjX','921216HtIoZJ'];_0x4e05=function(){return _0x3fead6;};return _0x4e05();}import{IconAIQuickActions as _0x192e74}from'@ckeditor/ckeditor5-icons';function _0x3506(_0x5b2c62,_0x3467d7){const _0x4e05d0=_0x4e05();return _0x3506=function(_0x3506b6,_0x3d991b){_0x3506b6=_0x3506b6-0x1c7;let _0x107d6b=_0x4e05d0[_0x3506b6];return _0x107d6b;},_0x3506(_0x5b2c62,_0x3467d7);}export function aiQuickActionsButtonCreator(_0x175620){const {editor:_0x5d6461,action:_0x3ab84e,withText:_0x2a9445=!0x1,withIcon:_0x5269dd=!0x0,isInDropdown:_0x3d704e=!0x0,shouldPreventFocus:_0x5b9a39=!0x1}=_0x175620;return()=>{const _0xfdaca0=_0x3506,_0x5da3fe=_0x5d6461[_0xfdaca0(0x1cc)],_0xcf61fe=new _0x5c5603(_0x5da3fe),_0x3c2716=_0xcf61fe[_0xfdaca0(0x1d9)];_0x3d704e&&_0xcf61fe[_0xfdaca0(0x1da)]({'on':{'mouseenter':_0x3c2716['to'](()=>{const _0x1f28d4=_0xfdaca0;_0x5b9a39&&_0x5b9a39()||_0xcf61fe[_0x1f28d4(0x1d3)]();})}});const _0x5578c7=_0x3ab84e[_0xfdaca0(0x1c8)]??_0x3ab84e[_0xfdaca0(0x1ce)]?.[_0xfdaca0(0x1c8)];return _0xcf61fe[_0xfdaca0(0x1d4)]({'label':_0x3ab84e[_0xfdaca0(0x1d0)],'withText':_0x2a9445,'role':_0xfdaca0(0x1d1),'icon':_0x5269dd?_0x5578c7??_0x192e74:void 0x0,'tooltip':!_0x2a9445,'class':_0xfdaca0(0x1d6),'isEnabled':_0x3ab84e[_0xfdaca0(0x1ca)]}),_0xcf61fe['on'](_0xfdaca0(0x1de),()=>{const _0x44e726=_0xfdaca0;_0x5d6461[_0x44e726(0x1d2)][_0x44e726(0x1db)][_0x44e726(0x1d3)](),_0x5d6461[_0x44e726(0x1cf)][_0x44e726(0x1de)](_0x44e726(0x1d7),_0x3ab84e);}),_0xcf61fe;};}
23
+ function _0x4065(_0x2b39a1,_0x15fab8){const _0x4a6e6a=_0x4a6e();return _0x4065=function(_0x4065b4,_0x261f14){_0x4065b4=_0x4065b4-0x91;let _0x377ede=_0x4a6e6a[_0x4065b4];return _0x377ede;},_0x4065(_0x2b39a1,_0x15fab8);}(function(_0x4a6215,_0x3a6e99){const _0x5dc4d5=_0x4065,_0x51b89c=_0x4a6215();while(!![]){try{const _0x4df0fa=-parseInt(_0x5dc4d5(0x96))/0x1+-parseInt(_0x5dc4d5(0xa5))/0x2*(parseInt(_0x5dc4d5(0x99))/0x3)+parseInt(_0x5dc4d5(0xa7))/0x4+parseInt(_0x5dc4d5(0xa4))/0x5*(-parseInt(_0x5dc4d5(0x9d))/0x6)+parseInt(_0x5dc4d5(0xa1))/0x7+parseInt(_0x5dc4d5(0x94))/0x8+-parseInt(_0x5dc4d5(0x9f))/0x9;if(_0x4df0fa===_0x3a6e99)break;else _0x51b89c['push'](_0x51b89c['shift']());}catch(_0xb970a8){_0x51b89c['push'](_0x51b89c['shift']());}}}(_0x4a6e,0x78b23));import{ButtonView as _0x37e60d}from'ckeditor5/src/ui.js';function _0x4a6e(){const _0x4b8d78=['51HBZUAt','execute','parent','icon','6jQSjig','view','7116399LhpXMU','displayedPrompt','5819443dJOAWh','extendTemplate','commands','870230yRLjiG','106046sEZcWk','bindTemplate','3371564ruWZPD','locale','menuitem','focus','set','aiQuickAction','5748824HkgAsh','isEnabled','32324ZqisTd','editing','ck-ai-quick-actions-button'];_0x4a6e=function(){return _0x4b8d78;};return _0x4a6e();}import{IconAIQuickActions as _0x474d2f}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x3d120c){const {editor:_0x20c5db,action:_0x219a29,withText:_0x6d708a=!0x1,withIcon:_0x77e491=!0x0,isInDropdown:_0x70c171=!0x0,shouldPreventFocus:_0x6bd227=!0x1}=_0x3d120c;return()=>{const _0x280b28=_0x4065,_0x46992f=_0x20c5db[_0x280b28(0xa8)],_0x29b182=new _0x37e60d(_0x46992f),_0x35c1d0=_0x29b182[_0x280b28(0xa6)];_0x70c171&&_0x29b182[_0x280b28(0xa2)]({'on':{'mouseenter':_0x35c1d0['to'](()=>{const _0x21cc31=_0x280b28;_0x6bd227&&_0x6bd227()||_0x29b182[_0x21cc31(0x91)]();})}});const _0x4d974f=_0x219a29[_0x280b28(0x9c)]??_0x219a29[_0x280b28(0x9b)]?.[_0x280b28(0x9c)];return _0x29b182[_0x280b28(0x92)]({'label':_0x219a29[_0x280b28(0xa0)],'withText':_0x6d708a,'role':_0x280b28(0xa9),'icon':_0x77e491?_0x4d974f??_0x474d2f:void 0x0,'tooltip':!_0x6d708a,'class':_0x280b28(0x98),'isEnabled':_0x219a29[_0x280b28(0x95)]}),_0x29b182['on'](_0x280b28(0x9a),()=>{const _0x2891b2=_0x280b28;_0x20c5db[_0x2891b2(0x97)][_0x2891b2(0x9e)][_0x2891b2(0x91)](),_0x20c5db[_0x2891b2(0xa3)][_0x2891b2(0x9a)](_0x2891b2(0x93),_0x219a29);}),_0x29b182;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ec767=_0x25f8;(function(_0x32d0b1,_0x5dae0d){const _0x1ac7c3=_0x25f8,_0x37a8e9=_0x32d0b1();while(!![]){try{const _0x5a43f5=-parseInt(_0x1ac7c3(0x139))/0x1*(-parseInt(_0x1ac7c3(0x17d))/0x2)+-parseInt(_0x1ac7c3(0x161))/0x3*(-parseInt(_0x1ac7c3(0x13b))/0x4)+parseInt(_0x1ac7c3(0x12f))/0x5+parseInt(_0x1ac7c3(0x13a))/0x6+-parseInt(_0x1ac7c3(0x143))/0x7+-parseInt(_0x1ac7c3(0xfe))/0x8+-parseInt(_0x1ac7c3(0x153))/0x9;if(_0x5a43f5===_0x5dae0d)break;else _0x37a8e9['push'](_0x37a8e9['shift']());}catch(_0xed6f25){_0x37a8e9['push'](_0x37a8e9['shift']());}}}(_0x1fbd,0x91b07));import{View as _0xb74707,ListItemView as _0x22b8ba,ListView as _0x3f96aa,BalloonPanelView as _0x271ef6,DropdownMenuPanelPositioningFunctions as _0x48b61b,ViewCollection as _0x290b31,FocusCycler as _0x224dcc,ButtonView as _0x1b6dda,IconView as _0xf08085,HighlightedTextView as _0x365385,ButtonLabelWithHighlightView as _0xb31c85,SearchTextView as _0x2f5b11}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5108ee}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2f0975,KeystrokeHandler as _0xacd6d0}from'ckeditor5/src/utils.js';function _0x1fbd(){const _0x1a0880=['isVisible','actions','2073514kpzEmp','isEnabled','reset','ck-ai-quick-actions-search-result__group-row','_createSearchResultIndividualActionButton','fieldView','set','queryView','4457400rfXMvZ','ck-ai-quick-actions-group-button','_createSearchResultGroupedActionButton','role','ck-ai-quick-actions-button__group-icon','_hideAllNestedPanels','closest','ck-ai-quick-actions-group-panel','fire','children','_allSearchableItems','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','clear','_searchTextView','displayedPrompt','addMany','bindTemplate','extendTemplate','element','get','_setupActionButtonExecution','execute','span','activeElement','addEventListener','ck-ai-quick-actions-button_with-group__close-paren','pin','editing','isOn','add','_createListItems','focusCycler','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','items','.ck-ai-quick-actions-group-button','rtl','ck-rounded-corners','_createSearchResultActionButton','keystrokes','mouseleave','setTemplate','delete','_hasSearch','locale','_createSearchResultGroupRow','render','_openNestedPanels','chain','aiQuickAction','282535zpBHjT','focusTracker','push','ck-ai-quick-actions','ck-ai-quick-actions-search-result__action-row','eastSouth','_createActionGroupButton','_focusables','ownerDocument','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','1qNojbC','1606938QlkkKm','4399544OIaOzQ','forEach','optionsListView','ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result-button','AI_QUICK_ACTIONS_SEARCH','first','uiLanguageDirection','989205EdqoTM','destroy','_handlePanelKeydown','_handleSearchResultButtonClick','resetSearch','ck-ai-quick-actions-button','ArrowLeft','key','icon','menu','menuitem','_getPanelKeystroke','_hideNestedPanel','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','content','detachFromDom','10491660ReBFff','div','button','relatedTarget','ck-ai-quick-actions-search-result-button_with-group','ck-button_with-text','hide','show','ck-ai-quick-actions-button_with-group__open-paren','_createSearchTextView','commands','_showNestedPanel','_isSearchFocused','label','3ABLYDX','_createGroupActionsList','contains','focus','_getButtonKeystroke','parent','_createSearchResultContentView','_isMovingToNestedMenu','ArrowRight','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-search-result__content','_createActionButton','_bodyCollection','_setupGroupMenuBehavior','_createSearchResultActionRow','text','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-search','ck-ai-quick-actions-button_with-group','.ck-ai-quick-actions-group-panel','bind','some','ck-button','view','ck-dropdown-menu-list','ck-reset_all'];_0x1fbd=function(){return _0x1a0880;};return _0x1fbd();}import{aiQuickActionsButtonCreator as _0x12dc38}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x47710c}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x90d739}from'../../aicore/utils/common-translations.js';function _0x25f8(_0x5e2cb9,_0x599855){const _0x1fbd3e=_0x1fbd();return _0x25f8=function(_0x25f89c,_0x282763){_0x25f89c=_0x25f89c-0xfb;let _0x2e621d=_0x1fbd3e[_0x25f89c];return _0x2e621d;},_0x25f8(_0x5e2cb9,_0x599855);}import{AIQuickActionsFilteredListView as _0x104ea5}from'./aiquickactionsfilteredlistview.js';const Js=_0x5ec767(0x14c),Ws=_0x5ec767(0x14d);export class AIQuickActionsDropdownContentView extends _0xb74707{[_0x5ec767(0x16d)];[_0x5ec767(0x13d)];[_0x5ec767(0x10b)]=null;[_0x5ec767(0x108)]=[];[_0x5ec767(0x107)];[_0x5ec767(0x130)];[_0x5ec767(0x124)];[_0x5ec767(0x136)];[_0x5ec767(0x11d)];[_0x5ec767(0x12c)]=new Set();[_0x5ec767(0x128)];constructor(_0x5f1a79,_0x546842,_0x2bfa53,_0x3c6659,_0x31e8b2=!0x1){const _0x1bea2d=_0x5ec767,_0x14ac8d=_0x5f1a79[_0x1bea2d(0x129)];super(_0x14ac8d),this[_0x1bea2d(0x16d)]=_0x3c6659,this[_0x1bea2d(0x128)]=_0x31e8b2;const _0x236b1e=this[_0x1bea2d(0x11c)](_0x5f1a79,_0x546842,_0x2bfa53);this[_0x1bea2d(0x13d)]=new _0x104ea5(_0x14ac8d,_0x236b1e,this[_0x1bea2d(0x108)]),this[_0x1bea2d(0x13d)][_0x1bea2d(0x101)]=Js,this[_0x1bea2d(0x13d)][_0x1bea2d(0x11f)][_0x1bea2d(0x10d)](_0x236b1e),this[_0x1bea2d(0x130)]=new _0x2f0975(),this[_0x1bea2d(0x124)]=new _0xacd6d0(),_0x31e8b2&&(this[_0x1bea2d(0x10b)]=this[_0x1bea2d(0x15c)]()),this[_0x1bea2d(0x136)]=_0x236b1e,this[_0x1bea2d(0x11d)]=new _0x224dcc({'focusables':this[_0x1bea2d(0x136)],'focusTracker':this[_0x1bea2d(0x130)],'keystrokeHandler':this[_0x1bea2d(0x124)]}),_0x31e8b2&&this[_0x1bea2d(0x10b)]&&this[_0x1bea2d(0x11d)][_0x1bea2d(0x12d)](this[_0x1bea2d(0x10b)][_0x1bea2d(0x11d)]);const _0x350f03=_0x31e8b2&&this[_0x1bea2d(0x10b)]?[this[_0x1bea2d(0x10b)]]:[this[_0x1bea2d(0x13d)]];this[_0x1bea2d(0x107)]=new _0x290b31(_0x350f03),this[_0x1bea2d(0x126)]({'tag':_0x1bea2d(0x154),'attributes':{'class':['ck',_0x1bea2d(0x17a),_0x1bea2d(0x132),_0x1bea2d(0x122)],'dir':_0x14ac8d[_0x1bea2d(0x142)]},'children':this[_0x1bea2d(0x107)]});}[_0x5ec767(0x15c)](){const _0x1f6ee4=_0x5ec767;return new _0x2f5b11(this[_0x1f6ee4(0x129)],{'filteredView':this[_0x1f6ee4(0x13d)],'queryView':{'label':_0x90d739(this[_0x1f6ee4(0x129)],_0x1f6ee4(0x140))},'class':_0x1f6ee4(0x172),'infoView':{'text':{'notFound':{'primary':_0x90d739(this[_0x1f6ee4(0x129)],_0x1f6ee4(0x138))}}}});}[_0x5ec767(0x15f)](){const _0x31cfb9=_0x5ec767;if(!this[_0x31cfb9(0x128)]||!this[_0x31cfb9(0x10b)]||!this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)])return!0x1;const _0x474b3c=this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)][_0x31cfb9(0x137)]?.[_0x31cfb9(0x115)];return this[_0x31cfb9(0x10b)][_0x31cfb9(0xfd)][_0x31cfb9(0xfb)][_0x31cfb9(0x110)][_0x31cfb9(0x163)](_0x474b3c);}[_0x5ec767(0x11c)](_0x2736f7,_0x48428c,_0x1429b4){const _0x555c75=_0x5ec767,_0x365adf=new _0x290b31();return _0x48428c[_0x555c75(0x13c)](_0xaf9606=>{const _0x3a829b=_0x555c75;if(_0x3a829b(0x17c)in _0xaf9606){const {listItem:_0xb397a3}=this[_0x3a829b(0x135)](_0x2736f7,_0xaf9606,_0x1429b4);_0x365adf[_0x3a829b(0x11b)](_0xb397a3),_0xaf9606[_0x3a829b(0x17c)][_0x3a829b(0x13c)](_0x2d4158=>{const _0x3986ac=_0x3a829b;this[_0x3986ac(0x16c)](_0x2736f7,_0x2d4158,_0xaf9606[_0x3986ac(0x160)],_0xaf9606[_0x3986ac(0x14b)]);const {listItem:_0x36fc54,highlightViews:_0x1f0e05}=this[_0x3986ac(0x123)](_0x2736f7,_0x2d4158,_0xaf9606[_0x3986ac(0x160)],_0xaf9606[_0x3986ac(0x14b)]);this[_0x3986ac(0x108)][_0x3986ac(0x131)]({'item':_0x36fc54,'label':_0x2d4158[_0x3986ac(0x10c)],'groupLabel':_0xaf9606[_0x3986ac(0x160)],'highlightViews':_0x1f0e05});});}else{const {listItem:_0x5973e7}=this[_0x3a829b(0x16c)](_0x2736f7,_0xaf9606);_0x365adf[_0x3a829b(0x11b)](_0x5973e7);const _0x23caf1=_0x5973e7[_0x3a829b(0x107)][_0x3a829b(0x141)];if(_0x23caf1){const {listItem:_0xa19359,highlightViews:_0x5a3391}=this[_0x3a829b(0x123)](_0x2736f7,_0xaf9606);this[_0x3a829b(0x108)][_0x3a829b(0x131)]({'item':_0xa19359,'label':_0x23caf1[_0x3a829b(0x160)]||'','highlightViews':_0x5a3391});}}}),_0x365adf;}[_0x5ec767(0x16c)](_0x13cbc6,_0x2f20ee,_0x4818f8,_0x55adb6){const _0x2e3f2b=_0x5ec767,_0x320db3=new _0x22b8ba(this[_0x2e3f2b(0x129)]);if(_0x4818f8&&_0x55adb6){const _0x568caf=new _0x1b6dda(this[_0x2e3f2b(0x129)]),_0x48dde3=_0x568caf[_0x2e3f2b(0x10e)],_0x56d9d8=new _0x365385();_0x56d9d8[_0x2e3f2b(0x170)]=_0x2f20ee[_0x2e3f2b(0x10c)];const _0x5c6f31=new _0x365385();_0x5c6f31[_0x2e3f2b(0x170)]=_0x4818f8;const _0x38dc50=new _0xf08085();_0x38dc50[_0x2e3f2b(0x151)]=_0x55adb6,_0x38dc50[_0x2e3f2b(0x10f)]({'attributes':{'class':_0x2e3f2b(0x102)}});const _0x41ff58=new _0xb74707(this[_0x2e3f2b(0x129)]);_0x41ff58[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x114),'attributes':{'class':_0x2e3f2b(0x15b)},'children':[{'text':'\x20('}]});const _0x201611=new _0xb74707(this[_0x2e3f2b(0x129)]);return _0x201611[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x114),'attributes':{'class':_0x2e3f2b(0x117)},'children':[{'text':')'}]}),_0x568caf[_0x2e3f2b(0xfc)]({'label':_0x2f20ee[_0x2e3f2b(0x10c)]+'\x20('+_0x4818f8+')','withText':!0x0,'role':_0x2e3f2b(0x14d),'class':_0x2e3f2b(0x150),'tooltip':!0x1}),_0x568caf[_0x2e3f2b(0x126)]({'tag':_0x2e3f2b(0x155),'attributes':{'class':['ck',_0x2e3f2b(0x177),_0x2e3f2b(0x158),_0x2e3f2b(0x148),_0x2e3f2b(0x173)],'type':_0x2e3f2b(0x155),'role':_0x2e3f2b(0x14d),'tabindex':'-1'},'children':[_0x56d9d8,_0x41ff58,_0x38dc50,_0x5c6f31,_0x201611],'on':{'mouseenter':_0x48dde3['to'](()=>{const _0x5e2db2=_0x2e3f2b;this[_0x5e2db2(0x15f)]()||_0x568caf[_0x5e2db2(0x164)]();}),'click':_0x48dde3['to'](()=>{const _0x5044d3=_0x2e3f2b;_0x568caf[_0x5044d3(0x106)](_0x5044d3(0x113));})}}),_0x568caf['on'](_0x2e3f2b(0x113),()=>{const _0x2d7a90=_0x2e3f2b;_0x13cbc6[_0x2d7a90(0x119)][_0x2d7a90(0x178)][_0x2d7a90(0x164)](),_0x13cbc6[_0x2d7a90(0x15d)][_0x2d7a90(0x113)](_0x2d7a90(0x12e),_0x2f20ee);}),_0x320db3[_0x2e3f2b(0x107)][_0x2e3f2b(0x11b)](_0x568caf),{'listItem':_0x320db3,'highlightViews':[_0x56d9d8,_0x5c6f31]};}{const _0x54cdb7=new _0xb31c85(),_0x30dbe6=new _0x1b6dda(this[_0x2e3f2b(0x129)],_0x54cdb7),_0x5f57c9=_0x30dbe6[_0x2e3f2b(0x10e)],_0x39a02c=_0x2f20ee[_0x2e3f2b(0x14b)]??_0x2f20ee[_0x2e3f2b(0x166)]?.[_0x2e3f2b(0x14b)],_0x39fd33=void 0x0!==_0x2f20ee[_0x2e3f2b(0x14b)];return _0x30dbe6[_0x2e3f2b(0xfc)]({'label':_0x2f20ee[_0x2e3f2b(0x10c)],'withText':!0x0,'role':_0x2e3f2b(0x14d),'icon':_0x39fd33?_0x39a02c??_0x5108ee:void 0x0,'tooltip':!0x1,'class':_0x2e3f2b(0x148)}),_0x30dbe6[_0x2e3f2b(0x10f)]({'on':{'mouseenter':_0x5f57c9['to'](()=>{const _0x16fe80=_0x2e3f2b;this[_0x16fe80(0x15f)]()||_0x30dbe6[_0x16fe80(0x164)]();})}}),_0x30dbe6['on'](_0x2e3f2b(0x113),()=>{const _0x430e98=_0x2e3f2b;_0x13cbc6[_0x430e98(0x119)][_0x430e98(0x178)][_0x430e98(0x164)](),_0x13cbc6[_0x430e98(0x15d)][_0x430e98(0x113)](_0x430e98(0x12e),_0x2f20ee);}),_0x320db3[_0x2e3f2b(0x107)][_0x2e3f2b(0x11b)](_0x30dbe6),{'listItem':_0x320db3,'highlightViews':[_0x54cdb7]};}}[_0x5ec767(0x123)](_0x537f5c,_0x55f94b,_0x393980,_0x425647){const _0x26d449=_0x5ec767;return _0x393980&&_0x425647?this[_0x26d449(0x100)](_0x537f5c,_0x55f94b,_0x393980,_0x425647):this[_0x26d449(0x181)](_0x537f5c,_0x55f94b);}[_0x5ec767(0x100)](_0x58f288,_0xea109,_0x363746,_0x2db276){const _0x2a7695=_0x5ec767,_0x1fbe09=new _0x22b8ba(this[_0x2a7695(0x129)]),_0x2eb6e6=new _0x1b6dda(this[_0x2a7695(0x129)]),_0x1bd923=_0x2eb6e6[_0x2a7695(0x10e)],{view:_0x2bafed,highlightView:_0xbacc61}=this[_0x2a7695(0x12a)](_0x363746,_0x2db276),{view:_0xfdbfe4,highlightView:_0x1c987d}=this[_0x2a7695(0x16f)](_0xea109[_0x2a7695(0x10c)]),_0x6e99c3=this[_0x2a7695(0x167)](_0x2bafed,_0xfdbfe4);return _0x2eb6e6[_0x2a7695(0xfc)]({'label':_0xea109[_0x2a7695(0x10c)],'withText':!0x0,'role':_0x2a7695(0x14d),'class':_0x2a7695(0x11e),'tooltip':!0x1}),_0x2eb6e6[_0x2a7695(0x126)]({'tag':_0x2a7695(0x155),'attributes':{'class':['ck',_0x2a7695(0x177),_0x2a7695(0x158),_0x2a7695(0x148),_0x2a7695(0x13f),_0x2a7695(0x157)],'type':_0x2a7695(0x155),'role':_0x2a7695(0x14d),'tabindex':'-1'},'children':[_0x6e99c3],'on':{'mouseenter':_0x1bd923['to'](()=>{const _0x234ea0=_0x2a7695;this[_0x234ea0(0x15f)]()||_0x2eb6e6[_0x234ea0(0x164)]();}),'click':_0x1bd923['to'](()=>{const _0x3a55c3=_0x2a7695;this[_0x3a55c3(0x146)](_0x2eb6e6);})}}),this[_0x2a7695(0x112)](_0x2eb6e6,_0x58f288,_0xea109),_0x1fbe09[_0x2a7695(0x107)][_0x2a7695(0x11b)](_0x2eb6e6),{'listItem':_0x1fbe09,'highlightViews':[_0xbacc61,_0x1c987d]};}[_0x5ec767(0x181)](_0x18233e,_0x3c6092){const _0x1f54d7=_0x5ec767,_0x32238b=new _0x22b8ba(this[_0x1f54d7(0x129)]),_0x5c4cac=new _0xb31c85(),_0x374d0f=new _0x1b6dda(this[_0x1f54d7(0x129)],_0x5c4cac),_0x44f04c=_0x374d0f[_0x1f54d7(0x10e)];return _0x374d0f[_0x1f54d7(0xfc)]({'label':_0x3c6092[_0x1f54d7(0x10c)],'withText':!0x0,'role':_0x1f54d7(0x14d),'icon':void 0x0,'tooltip':!0x1,'class':_0x1f54d7(0x109)}),_0x374d0f[_0x1f54d7(0x10f)]({'on':{'mouseenter':_0x44f04c['to'](()=>{const _0x2ff031=_0x1f54d7;this[_0x2ff031(0x15f)]()||_0x374d0f[_0x2ff031(0x164)]();})}}),this[_0x1f54d7(0x112)](_0x374d0f,_0x18233e,_0x3c6092),_0x32238b[_0x1f54d7(0x107)][_0x1f54d7(0x11b)](_0x374d0f),{'listItem':_0x32238b,'highlightViews':[_0x5c4cac]};}[_0x5ec767(0x12a)](_0x57bde1,_0x29a3f6){const _0x380644=_0x5ec767,_0x441739=new _0xb74707(this[_0x380644(0x129)]),_0x249bed=new _0xf08085();_0x249bed[_0x380644(0x151)]=_0x29a3f6,_0x249bed[_0x380644(0x10f)]({'attributes':{'class':_0x380644(0x102)}});const _0x43ef50=new _0x365385();return _0x43ef50[_0x380644(0x170)]=_0x57bde1,_0x441739[_0x380644(0x126)]({'tag':_0x380644(0x154),'attributes':{'class':_0x380644(0x180)},'children':[_0x249bed,_0x43ef50]}),{'view':_0x441739,'highlightView':_0x43ef50};}[_0x5ec767(0x16f)](_0x2731b0){const _0x8aec8c=_0x5ec767,_0x2f4cc2=new _0xb74707(this[_0x8aec8c(0x129)]),_0x58462e=new _0x365385();return _0x58462e[_0x8aec8c(0x170)]=_0x2731b0,_0x2f4cc2[_0x8aec8c(0x126)]({'tag':_0x8aec8c(0x154),'attributes':{'class':_0x8aec8c(0x133)},'children':[_0x58462e]}),{'view':_0x2f4cc2,'highlightView':_0x58462e};}[_0x5ec767(0x167)](_0x5575d8,_0x2189e4){const _0x4b1757=_0x5ec767,_0x16b8e2=new _0xb74707(this[_0x4b1757(0x129)]);return _0x16b8e2[_0x4b1757(0x126)]({'tag':_0x4b1757(0x154),'attributes':{'class':_0x4b1757(0x16b)},'children':[_0x5575d8,_0x2189e4]}),_0x16b8e2;}[_0x5ec767(0x112)](_0xc0dc6e,_0x4b5975,_0x574970){const _0xc85f61=_0x5ec767;_0xc0dc6e['on'](_0xc85f61(0x113),()=>{const _0x1f6cb0=_0xc85f61;_0x4b5975[_0x1f6cb0(0x119)][_0x1f6cb0(0x178)][_0x1f6cb0(0x164)](),_0x4b5975[_0x1f6cb0(0x15d)][_0x1f6cb0(0x113)](_0x1f6cb0(0x12e),_0x574970);});}[_0x5ec767(0x135)](_0x5dcc8c,_0x66563c,_0x195487){const _0x4fa37f=_0x5ec767,_0x34704a=new _0x22b8ba(this[_0x4fa37f(0x129)]),_0x25a204=new _0xb31c85(),_0x425f69=new _0x47710c(this[_0x4fa37f(0x129)],_0x25a204),_0x311ab2=_0x425f69[_0x4fa37f(0x10e)],_0x5306bc=this[_0x4fa37f(0x14e)](_0x195487),_0x409a52=this[_0x4fa37f(0x162)](_0x5dcc8c,_0x66563c[_0x4fa37f(0x17c)],_0x195487);_0x425f69[_0x4fa37f(0xfc)]({'label':_0x66563c[_0x4fa37f(0x160)],'withText':!0x0,'role':Ws,'icon':_0x66563c[_0x4fa37f(0x14b)]??_0x5108ee,'isEnabled':_0x66563c[_0x4fa37f(0x17c)][_0x4fa37f(0x176)](_0x1d82ea=>_0x1d82ea[_0x4fa37f(0x17e)])}),_0x425f69[_0x4fa37f(0x10f)]({'on':{'mouseenter':_0x311ab2['to'](()=>{const _0x3ec721=_0x4fa37f;this[_0x3ec721(0x15f)]()||_0x425f69[_0x3ec721(0x164)]();})}});const _0x1212d8=new _0x271ef6(this[_0x4fa37f(0x129)]);return _0x1212d8[_0x4fa37f(0x10f)]({'attributes':{'class':['ck',_0x4fa37f(0x17a),_0x4fa37f(0x105),_0x4fa37f(0x16a)]},'on':{'keydown':_0x311ab2['to'](_0x3ab0f3=>{const _0x202ef8=_0x4fa37f;this[_0x202ef8(0x145)](_0x3ab0f3,_0x5306bc,_0x425f69,_0x1212d8);})}}),_0x425f69[_0x4fa37f(0x175)](_0x4fa37f(0x11a))['to'](_0x1212d8,_0x4fa37f(0x17b)),this[_0x4fa37f(0x16d)][_0x4fa37f(0x11b)](_0x1212d8),_0x1212d8[_0x4fa37f(0x151)][_0x4fa37f(0x11b)](_0x409a52),this[_0x4fa37f(0x16e)](_0x425f69,_0x1212d8),_0x34704a[_0x4fa37f(0x107)][_0x4fa37f(0x11b)](_0x425f69),{'listItem':_0x34704a,'highlightView':_0x25a204};}[_0x5ec767(0x162)](_0x6656ee,_0x33c57d,_0x2e0e8d){const _0x186180=_0x5ec767,_0x4c55ba=new _0x3f96aa(this[_0x186180(0x129)]);return _0x4c55ba[_0x186180(0x10f)]({'attributes':{'class':['ck',_0x186180(0x17a),_0x186180(0x13e),_0x186180(0x179)]}}),_0x33c57d[_0x186180(0x13c)](_0xa8108=>{const _0x31b7d6=_0x186180,_0x3cbced=new _0x22b8ba(this[_0x31b7d6(0x129)]),_0x261eb3=_0x12dc38({'editor':_0x6656ee,'action':_0xa8108,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x31b7d6(0x15f)]()})();_0x3cbced[_0x31b7d6(0x107)][_0x31b7d6(0x11b)](_0x261eb3),_0x2e0e8d[_0x31b7d6(0x130)][_0x31b7d6(0x11b)](_0x261eb3),_0x4c55ba[_0x31b7d6(0x11f)][_0x31b7d6(0x11b)](_0x3cbced);}),_0x4c55ba;}[_0x5ec767(0x16e)](_0x3fa296,_0x17882e){const _0x4f1ba1=_0x5ec767,_0x1931a6=_0x3fa296[_0x4f1ba1(0x10e)],_0x20c9ff=this[_0x4f1ba1(0x165)](_0x3fa296);_0x3fa296[_0x4f1ba1(0x10f)]({'attributes':{'class':[_0x4f1ba1(0xff)]},'on':{'mouseenter':_0x1931a6['to'](()=>{const _0x253a22=_0x4f1ba1;this[_0x253a22(0x15e)](_0x17882e,_0x3fa296);}),'mouseleave':_0x1931a6['to'](_0x3f8e93=>{const _0x314463=_0x4f1ba1,_0x7c1ec0=_0x3f8e93[_0x314463(0x156)];this[_0x314463(0x168)](_0x7c1ec0,_0x17882e)||this[_0x314463(0x14f)](_0x17882e);}),'keydown':_0x1931a6['to'](_0x23c048=>{const _0x35bc08=_0x4f1ba1;_0x23c048[_0x35bc08(0x14a)]==_0x20c9ff&&(this[_0x35bc08(0x15e)](_0x17882e,_0x3fa296),_0x17882e[_0x35bc08(0x151)][_0x35bc08(0x111)](0x0)[_0x35bc08(0x164)]());})}}),_0x17882e['on'](_0x4f1ba1(0x12b),()=>{const _0x43ac30=_0x4f1ba1;_0x17882e[_0x43ac30(0x110)]?.[_0x43ac30(0x116)](_0x43ac30(0x125),_0xf95960=>{const _0x127cfc=_0x43ac30,_0x5c907c=_0xf95960[_0x127cfc(0x156)];_0x3fa296[_0x127cfc(0x110)]?.[_0x127cfc(0x163)](_0x5c907c)||this[_0x127cfc(0x168)](_0x5c907c,_0x17882e)||this[_0x127cfc(0x14f)](_0x17882e);});});}[_0x5ec767(0x15e)](_0x3a0e41,_0x12d258){const _0x561e17=_0x5ec767;this[_0x561e17(0x12c)][_0x561e17(0x13c)](_0x46b4d9=>{const _0x23657a=_0x561e17;_0x46b4d9!==_0x3a0e41&&_0x46b4d9[_0x23657a(0x17b)]&&_0x46b4d9[_0x23657a(0x159)]();}),_0x3a0e41[_0x561e17(0x15a)](),_0x3a0e41[_0x561e17(0x118)]({'positions':[_0x48b61b[_0x561e17(0x134)]],'target':_0x12d258[_0x561e17(0x110)],'fitInViewport':!0x0}),this[_0x561e17(0x12c)][_0x561e17(0x11b)](_0x3a0e41);}[_0x5ec767(0x14f)](_0x5d73df){const _0x1904a0=_0x5ec767;_0x5d73df[_0x1904a0(0x159)](),this[_0x1904a0(0x12c)][_0x1904a0(0x127)](_0x5d73df);}[_0x5ec767(0x103)](){const _0xa11282=_0x5ec767;this[_0xa11282(0x12c)][_0xa11282(0x13c)](_0x4109ce=>_0x4109ce[_0xa11282(0x159)]()),this[_0xa11282(0x12c)][_0xa11282(0x10a)]();}[_0x5ec767(0x168)](_0x477dac,_0x11149d){const _0x282dd2=_0x5ec767;if(!_0x477dac)return!0x1;if(_0x11149d[_0x282dd2(0x110)]?.[_0x282dd2(0x163)](_0x477dac))return!0x0;const _0x11ad12=_0x477dac;return _0x11ad12[_0x282dd2(0x104)]&&(null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x174))||null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x171))||null!==_0x11ad12[_0x282dd2(0x104)](_0x282dd2(0x120)));}[_0x5ec767(0x147)](){const _0x55b8af=_0x5ec767;this[_0x55b8af(0x10b)]&&this[_0x55b8af(0x10b)][_0x55b8af(0x17f)]();}[_0x5ec767(0x144)](){const _0x1af86c=_0x5ec767;this[_0x1af86c(0x103)](),this[_0x1af86c(0x16d)][_0x1af86c(0x152)](),super[_0x1af86c(0x144)]();}[_0x5ec767(0x164)](){const _0x51918b=_0x5ec767;this[_0x51918b(0x10b)]?this[_0x51918b(0x10b)][_0x51918b(0x164)]():this[_0x51918b(0x13d)][_0x51918b(0x164)]();}[_0x5ec767(0x14e)](_0x1cb537){const _0x4371ef=_0x5ec767;return _0x4371ef(0x121)===_0x1cb537[_0x4371ef(0x129)][_0x4371ef(0x142)]?_0x4371ef(0x169):_0x4371ef(0x149);}[_0x5ec767(0x165)](_0x1885d2){const _0x555dec=_0x5ec767;return _0x555dec(0x121)===_0x1885d2[_0x555dec(0x129)][_0x555dec(0x142)]?_0x555dec(0x149):_0x555dec(0x169);}[_0x5ec767(0x145)](_0x642ec9,_0x56b144,_0x19388b,_0x477abd){const _0x3a4427=_0x5ec767;_0x642ec9[_0x3a4427(0x14a)]==_0x56b144&&(_0x19388b[_0x3a4427(0x164)](),this[_0x3a4427(0x14f)](_0x477abd));}[_0x5ec767(0x146)](_0x31b70d){const _0x381f96=_0x5ec767;_0x31b70d[_0x381f96(0x106)](_0x381f96(0x113));}}
23
+ const _0x4a04a0=_0x1a0d;(function(_0x585b43,_0x5b1a76){const _0x2fcc06=_0x1a0d,_0x9f839a=_0x585b43();while(!![]){try{const _0x37bbc3=parseInt(_0x2fcc06(0x116))/0x1+-parseInt(_0x2fcc06(0xfa))/0x2*(-parseInt(_0x2fcc06(0x12c))/0x3)+-parseInt(_0x2fcc06(0x112))/0x4*(-parseInt(_0x2fcc06(0x13e))/0x5)+parseInt(_0x2fcc06(0x15f))/0x6+-parseInt(_0x2fcc06(0x124))/0x7+-parseInt(_0x2fcc06(0xf4))/0x8+-parseInt(_0x2fcc06(0x10f))/0x9;if(_0x37bbc3===_0x5b1a76)break;else _0x9f839a['push'](_0x9f839a['shift']());}catch(_0xf8c868){_0x9f839a['push'](_0x9f839a['shift']());}}}(_0x27db,0xbbe1c));import{View as _0x1104c7,ListItemView as _0x4c8075,ListView as _0x4ad703,BalloonPanelView as _0x31c697,DropdownMenuPanelPositioningFunctions as _0x545a15,ViewCollection as _0x131a79,FocusCycler as _0x585f40,ButtonView as _0x3b4add,IconView as _0x3fbb08,HighlightedTextView as _0x2dd6cf,ButtonLabelWithHighlightView as _0x3eac80,SearchTextView as _0x531e47}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xbda05e}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4dd6a4,KeystrokeHandler as _0xf6b481}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x77d04a}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x141025}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x6d3e8b}from'../../aicore/utils/common-translations.js';function _0x27db(){const _0xbcfa40=['view','ck-ai-quick-actions-button_with-group__open-paren','relatedTarget','set','ArrowRight','_searchTextView','element','_isSearchFocused','ck-ai-quick-actions-search-result-button','_focusables','.ck-ai-quick-actions-group-list','3113504umlRGx','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_bodyCollection','menu','text','ck-rounded-corners','22cxJJoR','eastSouth','ck-reset_all','ck-ai-quick-actions-search-result__content','children','div','ck-ai-quick-actions-button','clear','render','ck-ai-quick-actions-search-result-button_with-group','focusTracker','ck-dropdown-menu__nested-menu__panel','button','isOn','_hasSearch','menuitem','editing','_createActionGroupButton','_handleSearchResultButtonClick','ck-ai-quick-actions-group-list','label','24121179wCQrhn','AI_QUICK_ACTIONS_SEARCH','ck-ai-quick-actions-button_with-group__close-paren','4INKoJw','reset','ck-ai-quick-actions-search','uiLanguageDirection','1387129SmZTbx','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','actions','role','resetSearch','commands','_createSearchResultGroupedActionButton','chain','ArrowLeft','_createListItems','ck-ai-quick-actions-button__group-icon','get','_createSearchResultIndividualActionButton','5443655cRZtKe','_hideNestedPanel','fire','forEach','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createActionButton','detachFromDom','_openNestedPanels','267357lyZBkt','.ck-ai-quick-actions-group-panel','show','_createSearchResultActionRow','setTemplate','contains','ck-dropdown-menu-list','_getPanelKeystroke','ck-ai-quick-actions-group-panel','_getButtonKeystroke','push','ck-button','span','_handlePanelKeydown','content','bindTemplate','_createSearchResultGroupRow','bind','3593175qHXkyx','_setupActionButtonExecution','isEnabled','displayedPrompt','_createSearchResultActionButton','addEventListener','ck-ai-quick-actions-button_with-group','focus','_createSearchTextView','ck-button_with-text','_setupGroupMenuBehavior','items','closest','activeElement','_isMovingToNestedMenu','rtl','_createSearchResultContentView','fieldView','hide','optionsListView','_hideAllNestedPanels','aiQuickAction','ck-ai-quick-actions','some','ownerDocument','focusCycler','ck-ai-quick-actions-search-result__group-row','pin','parent','locale','.ck-ai-quick-actions-group-button','icon','_showNestedPanel','9182850HERGew','add','extendTemplate','first','_createGroupActionsList','execute','ck-ai-quick-actions-search-result__action-row','addMany','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','queryView','delete','key','isVisible','keystrokes','ck-ai-quick-actions-group-button','_allSearchableItems'];_0x27db=function(){return _0xbcfa40;};return _0x27db();}import{AIQuickActionsFilteredListView as _0x552112}from'./aiquickactionsfilteredlistview.js';function _0x1a0d(_0x7ddf81,_0x1e0342){const _0x27dbf2=_0x27db();return _0x1a0d=function(_0x1a0dfa,_0x3bf720){_0x1a0dfa=_0x1a0dfa-0xde;let _0x52d14e=_0x27dbf2[_0x1a0dfa];return _0x52d14e;},_0x1a0d(_0x7ddf81,_0x1e0342);}const Js=_0x4a04a0(0xf7),Xs=_0x4a04a0(0x109);export class AIQuickActionsDropdownContentView extends _0x1104c7{[_0x4a04a0(0xf6)];[_0x4a04a0(0x151)];[_0x4a04a0(0xee)]=null;[_0x4a04a0(0xe8)]=[];[_0x4a04a0(0xfe)];[_0x4a04a0(0x104)];[_0x4a04a0(0xe6)];[_0x4a04a0(0xf2)];[_0x4a04a0(0x157)];[_0x4a04a0(0x12b)]=new Set();[_0x4a04a0(0x108)];constructor(_0x3fcf1a,_0x5d44b5,_0x307de9,_0x20e143,_0x2e42f1=!0x1){const _0x1f5d55=_0x4a04a0,_0x48be60=_0x3fcf1a[_0x1f5d55(0x15b)];super(_0x48be60),this[_0x1f5d55(0xf6)]=_0x20e143,this[_0x1f5d55(0x108)]=_0x2e42f1;const _0x1029bd=this[_0x1f5d55(0x120)](_0x3fcf1a,_0x5d44b5,_0x307de9);this[_0x1f5d55(0x151)]=new _0x552112(_0x48be60,_0x1029bd,this[_0x1f5d55(0xe8)]),this[_0x1f5d55(0x151)][_0x1f5d55(0x11a)]=Js,this[_0x1f5d55(0x151)][_0x1f5d55(0x149)][_0x1f5d55(0xdf)](_0x1029bd),this[_0x1f5d55(0x104)]=new _0x4dd6a4(),this[_0x1f5d55(0xe6)]=new _0xf6b481(),_0x2e42f1&&(this[_0x1f5d55(0xee)]=this[_0x1f5d55(0x146)]()),this[_0x1f5d55(0xf2)]=_0x1029bd,this[_0x1f5d55(0x157)]=new _0x585f40({'focusables':this[_0x1f5d55(0xf2)],'focusTracker':this[_0x1f5d55(0x104)],'keystrokeHandler':this[_0x1f5d55(0xe6)]}),_0x2e42f1&&this[_0x1f5d55(0xee)]&&this[_0x1f5d55(0x157)][_0x1f5d55(0x11e)](this[_0x1f5d55(0xee)][_0x1f5d55(0x157)]);const _0x494374=_0x2e42f1&&this[_0x1f5d55(0xee)]?[this[_0x1f5d55(0xee)]]:[this[_0x1f5d55(0x151)]];this[_0x1f5d55(0xfe)]=new _0x131a79(_0x494374),this[_0x1f5d55(0x130)]({'tag':_0x1f5d55(0xff),'attributes':{'class':['ck',_0x1f5d55(0xfc),_0x1f5d55(0x154),_0x1f5d55(0xf9)],'dir':_0x48be60[_0x1f5d55(0x115)]},'children':this[_0x1f5d55(0xfe)]});}[_0x4a04a0(0x146)](){const _0x52b446=_0x4a04a0;return new _0x531e47(this[_0x52b446(0x15b)],{'filteredView':this[_0x52b446(0x151)],'queryView':{'label':_0x6d3e8b(this[_0x52b446(0x15b)],_0x52b446(0x110))},'class':_0x52b446(0x114),'infoView':{'text':{'notFound':{'primary':_0x6d3e8b(this[_0x52b446(0x15b)],_0x52b446(0x128))}}}});}[_0x4a04a0(0xf0)](){const _0x422bc4=_0x4a04a0;if(!this[_0x422bc4(0x108)]||!this[_0x422bc4(0xee)]||!this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)])return!0x1;const _0x2506f0=this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)][_0x422bc4(0x156)]?.[_0x422bc4(0x14b)];return this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)][_0x422bc4(0x131)](_0x2506f0);}[_0x4a04a0(0x120)](_0x21073c,_0xfcbc19,_0x574a07){const _0x3d4b55=_0x4a04a0,_0x46a7fe=new _0x131a79();return _0xfcbc19[_0x3d4b55(0x127)](_0x42ac25=>{const _0x1648a8=_0x3d4b55;if(_0x1648a8(0x119)in _0x42ac25){const {listItem:_0x3cf406}=this[_0x1648a8(0x10b)](_0x21073c,_0x42ac25,_0x574a07);_0x46a7fe[_0x1648a8(0x160)](_0x3cf406),_0x42ac25[_0x1648a8(0x119)][_0x1648a8(0x127)](_0x31281e=>{const _0x1261fe=_0x1648a8;this[_0x1261fe(0x129)](_0x21073c,_0x31281e,_0x42ac25[_0x1261fe(0x10e)],_0x42ac25[_0x1261fe(0x15d)]);const {listItem:_0x1ff3ca,highlightViews:_0x4abbef}=this[_0x1261fe(0x142)](_0x21073c,_0x31281e,_0x42ac25[_0x1261fe(0x10e)],_0x42ac25[_0x1261fe(0x15d)]);this[_0x1261fe(0xe8)][_0x1261fe(0x136)]({'item':_0x1ff3ca,'label':_0x31281e[_0x1261fe(0x141)],'groupLabel':_0x42ac25[_0x1261fe(0x10e)],'highlightViews':_0x4abbef});});}else{const {listItem:_0x2758ce}=this[_0x1648a8(0x129)](_0x21073c,_0x42ac25);_0x46a7fe[_0x1648a8(0x160)](_0x2758ce);const _0x5b8699=_0x2758ce[_0x1648a8(0xfe)][_0x1648a8(0x162)];if(_0x5b8699){const {listItem:_0x10fe37,highlightViews:_0x23c5a7}=this[_0x1648a8(0x142)](_0x21073c,_0x42ac25);this[_0x1648a8(0xe8)][_0x1648a8(0x136)]({'item':_0x10fe37,'label':_0x5b8699[_0x1648a8(0x10e)]||'','highlightViews':_0x23c5a7});}}}),_0x46a7fe;}[_0x4a04a0(0x129)](_0x6ac896,_0x1c1c88,_0x132304,_0xe4fd2f){const _0x1a70f5=_0x4a04a0,_0x1f0c63=new _0x4c8075(this[_0x1a70f5(0x15b)]);if(_0x132304&&_0xe4fd2f){const _0xc22462=new _0x3b4add(this[_0x1a70f5(0x15b)]),_0x47732e=_0xc22462[_0x1a70f5(0x13b)],_0x4632e0=new _0x2dd6cf();_0x4632e0[_0x1a70f5(0xf8)]=_0x1c1c88[_0x1a70f5(0x141)];const _0x44a8ac=new _0x2dd6cf();_0x44a8ac[_0x1a70f5(0xf8)]=_0x132304;const _0x10585e=new _0x3fbb08();_0x10585e[_0x1a70f5(0x13a)]=_0xe4fd2f,_0x10585e[_0x1a70f5(0x161)]({'attributes':{'class':_0x1a70f5(0x121)}});const _0x2e5bfb=new _0x1104c7(this[_0x1a70f5(0x15b)]);_0x2e5bfb[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x138),'attributes':{'class':_0x1a70f5(0xea)},'children':[{'text':'\x20('}]});const _0x5f5b67=new _0x1104c7(this[_0x1a70f5(0x15b)]);return _0x5f5b67[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x138),'attributes':{'class':_0x1a70f5(0x111)},'children':[{'text':')'}]}),_0xc22462[_0x1a70f5(0xec)]({'label':_0x1c1c88[_0x1a70f5(0x141)]+'\x20('+_0x132304+')','withText':!0x0,'role':_0x1a70f5(0x109),'class':_0x1a70f5(0xf5),'tooltip':!0x1}),_0xc22462[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x106),'attributes':{'class':['ck',_0x1a70f5(0x137),_0x1a70f5(0x147),_0x1a70f5(0x100),_0x1a70f5(0x144)],'type':_0x1a70f5(0x106),'role':_0x1a70f5(0x109),'tabindex':'-1'},'children':[_0x4632e0,_0x2e5bfb,_0x10585e,_0x44a8ac,_0x5f5b67],'on':{'mouseenter':_0x47732e['to'](()=>{const _0x568f61=_0x1a70f5;this[_0x568f61(0xf0)]()||_0xc22462[_0x568f61(0x145)]();}),'click':_0x47732e['to'](()=>{const _0x27c0e1=_0x1a70f5;_0xc22462[_0x27c0e1(0x126)](_0x27c0e1(0x164));})}}),_0xc22462['on'](_0x1a70f5(0x164),()=>{const _0x37dfb6=_0x1a70f5;_0x6ac896[_0x37dfb6(0x10a)][_0x37dfb6(0xe9)][_0x37dfb6(0x145)](),_0x6ac896[_0x37dfb6(0x11c)][_0x37dfb6(0x164)](_0x37dfb6(0x153),_0x1c1c88);}),_0x1f0c63[_0x1a70f5(0xfe)][_0x1a70f5(0x160)](_0xc22462),{'listItem':_0x1f0c63,'highlightViews':[_0x4632e0,_0x44a8ac]};}{const _0x1016b=new _0x3eac80(),_0x2d6587=new _0x3b4add(this[_0x1a70f5(0x15b)],_0x1016b),_0x25847e=_0x2d6587[_0x1a70f5(0x13b)],_0x195267=_0x1c1c88[_0x1a70f5(0x15d)]??_0x1c1c88[_0x1a70f5(0x15a)]?.[_0x1a70f5(0x15d)],_0x22b58a=void 0x0!==_0x1c1c88[_0x1a70f5(0x15d)];return _0x2d6587[_0x1a70f5(0xec)]({'label':_0x1c1c88[_0x1a70f5(0x141)],'withText':!0x0,'role':_0x1a70f5(0x109),'icon':_0x22b58a?_0x195267??_0xbda05e:void 0x0,'tooltip':!0x1,'class':_0x1a70f5(0x100)}),_0x2d6587[_0x1a70f5(0x161)]({'on':{'mouseenter':_0x25847e['to'](()=>{const _0x3f3a43=_0x1a70f5;this[_0x3f3a43(0xf0)]()||_0x2d6587[_0x3f3a43(0x145)]();})}}),_0x2d6587['on'](_0x1a70f5(0x164),()=>{const _0xe2f09b=_0x1a70f5;_0x6ac896[_0xe2f09b(0x10a)][_0xe2f09b(0xe9)][_0xe2f09b(0x145)](),_0x6ac896[_0xe2f09b(0x11c)][_0xe2f09b(0x164)](_0xe2f09b(0x153),_0x1c1c88);}),_0x1f0c63[_0x1a70f5(0xfe)][_0x1a70f5(0x160)](_0x2d6587),{'listItem':_0x1f0c63,'highlightViews':[_0x1016b]};}}[_0x4a04a0(0x142)](_0x444223,_0x3c5a78,_0x51aac7,_0x37a64b){const _0x58a633=_0x4a04a0;return _0x51aac7&&_0x37a64b?this[_0x58a633(0x11d)](_0x444223,_0x3c5a78,_0x51aac7,_0x37a64b):this[_0x58a633(0x123)](_0x444223,_0x3c5a78);}[_0x4a04a0(0x11d)](_0x4e3db9,_0x1fcb93,_0x448ffa,_0x39ae69){const _0x434133=_0x4a04a0,_0x3d6868=new _0x4c8075(this[_0x434133(0x15b)]),_0x533aa5=new _0x3b4add(this[_0x434133(0x15b)]),_0x6b89b9=_0x533aa5[_0x434133(0x13b)],{view:_0x2398d1,highlightView:_0x5b1a04}=this[_0x434133(0x13c)](_0x448ffa,_0x39ae69),{view:_0xc401e2,highlightView:_0xf09545}=this[_0x434133(0x12f)](_0x1fcb93[_0x434133(0x141)]),_0x2f4ff6=this[_0x434133(0x14e)](_0x2398d1,_0xc401e2);return _0x533aa5[_0x434133(0xec)]({'label':_0x1fcb93[_0x434133(0x141)],'withText':!0x0,'role':_0x434133(0x109),'class':_0x434133(0x118),'tooltip':!0x1}),_0x533aa5[_0x434133(0x130)]({'tag':_0x434133(0x106),'attributes':{'class':['ck',_0x434133(0x137),_0x434133(0x147),_0x434133(0x100),_0x434133(0xf1),_0x434133(0x103)],'type':_0x434133(0x106),'role':_0x434133(0x109),'tabindex':'-1'},'children':[_0x2f4ff6],'on':{'mouseenter':_0x6b89b9['to'](()=>{const _0x5aa441=_0x434133;this[_0x5aa441(0xf0)]()||_0x533aa5[_0x5aa441(0x145)]();}),'click':_0x6b89b9['to'](()=>{const _0x518fbf=_0x434133;this[_0x518fbf(0x10c)](_0x533aa5);})}}),this[_0x434133(0x13f)](_0x533aa5,_0x4e3db9,_0x1fcb93),_0x3d6868[_0x434133(0xfe)][_0x434133(0x160)](_0x533aa5),{'listItem':_0x3d6868,'highlightViews':[_0x5b1a04,_0xf09545]};}[_0x4a04a0(0x123)](_0x3656ee,_0x5ea305){const _0x2518c0=_0x4a04a0,_0x5566b7=new _0x4c8075(this[_0x2518c0(0x15b)]),_0x10210f=new _0x3eac80(),_0x57356a=new _0x3b4add(this[_0x2518c0(0x15b)],_0x10210f),_0xf2b4cb=_0x57356a[_0x2518c0(0x13b)];return _0x57356a[_0x2518c0(0xec)]({'label':_0x5ea305[_0x2518c0(0x141)],'withText':!0x0,'role':_0x2518c0(0x109),'icon':void 0x0,'tooltip':!0x1,'class':_0x2518c0(0xe1)}),_0x57356a[_0x2518c0(0x161)]({'on':{'mouseenter':_0xf2b4cb['to'](()=>{const _0x3d520b=_0x2518c0;this[_0x3d520b(0xf0)]()||_0x57356a[_0x3d520b(0x145)]();})}}),this[_0x2518c0(0x13f)](_0x57356a,_0x3656ee,_0x5ea305),_0x5566b7[_0x2518c0(0xfe)][_0x2518c0(0x160)](_0x57356a),{'listItem':_0x5566b7,'highlightViews':[_0x10210f]};}[_0x4a04a0(0x13c)](_0x3c91ce,_0x41a51c){const _0x2f36d2=_0x4a04a0,_0xdb71ca=new _0x1104c7(this[_0x2f36d2(0x15b)]),_0x5e6a7c=new _0x3fbb08();_0x5e6a7c[_0x2f36d2(0x13a)]=_0x41a51c,_0x5e6a7c[_0x2f36d2(0x161)]({'attributes':{'class':_0x2f36d2(0x121)}});const _0x56f4ec=new _0x2dd6cf();return _0x56f4ec[_0x2f36d2(0xf8)]=_0x3c91ce,_0xdb71ca[_0x2f36d2(0x130)]({'tag':_0x2f36d2(0xff),'attributes':{'class':_0x2f36d2(0x158)},'children':[_0x5e6a7c,_0x56f4ec]}),{'view':_0xdb71ca,'highlightView':_0x56f4ec};}[_0x4a04a0(0x12f)](_0x51507a){const _0x16d259=_0x4a04a0,_0x50c1d9=new _0x1104c7(this[_0x16d259(0x15b)]),_0x299817=new _0x2dd6cf();return _0x299817[_0x16d259(0xf8)]=_0x51507a,_0x50c1d9[_0x16d259(0x130)]({'tag':_0x16d259(0xff),'attributes':{'class':_0x16d259(0xde)},'children':[_0x299817]}),{'view':_0x50c1d9,'highlightView':_0x299817};}[_0x4a04a0(0x14e)](_0x352214,_0x4f5042){const _0x4c4965=_0x4a04a0,_0x191746=new _0x1104c7(this[_0x4c4965(0x15b)]);return _0x191746[_0x4c4965(0x130)]({'tag':_0x4c4965(0xff),'attributes':{'class':_0x4c4965(0xfd)},'children':[_0x352214,_0x4f5042]}),_0x191746;}[_0x4a04a0(0x13f)](_0x21f134,_0x4cdcd4,_0x4e336e){const _0x4d7e16=_0x4a04a0;_0x21f134['on'](_0x4d7e16(0x164),()=>{const _0x47e502=_0x4d7e16;_0x4cdcd4[_0x47e502(0x10a)][_0x47e502(0xe9)][_0x47e502(0x145)](),_0x4cdcd4[_0x47e502(0x11c)][_0x47e502(0x164)](_0x47e502(0x153),_0x4e336e);});}[_0x4a04a0(0x10b)](_0x2c00f6,_0x5ef48d,_0x4b6940){const _0x40db9f=_0x4a04a0,_0x508ae0=new _0x4c8075(this[_0x40db9f(0x15b)]),_0x1d7530=new _0x3eac80(),_0x4632ee=new _0x141025(this[_0x40db9f(0x15b)],_0x1d7530),_0x154c75=_0x4632ee[_0x40db9f(0x13b)],_0x330f73=this[_0x40db9f(0x133)](_0x4b6940),_0x128449=this[_0x40db9f(0x163)](_0x2c00f6,_0x5ef48d[_0x40db9f(0x119)],_0x4b6940);_0x4632ee[_0x40db9f(0xec)]({'label':_0x5ef48d[_0x40db9f(0x10e)],'withText':!0x0,'role':Xs,'icon':_0x5ef48d[_0x40db9f(0x15d)]??_0xbda05e,'isEnabled':_0x5ef48d[_0x40db9f(0x119)][_0x40db9f(0x155)](_0x2f34e9=>_0x2f34e9[_0x40db9f(0x140)])}),_0x4632ee[_0x40db9f(0x161)]({'on':{'mouseenter':_0x154c75['to'](()=>{const _0x40b2df=_0x40db9f;this[_0x40b2df(0xf0)]()||_0x4632ee[_0x40b2df(0x145)]();})}});const _0x582dd3=new _0x31c697(this[_0x40db9f(0x15b)]);return _0x582dd3[_0x40db9f(0x161)]({'attributes':{'class':['ck',_0x40db9f(0xfc),_0x40db9f(0x134),_0x40db9f(0x105)]},'on':{'keydown':_0x154c75['to'](_0x15d294=>{const _0x3ce6d9=_0x40db9f;this[_0x3ce6d9(0x139)](_0x15d294,_0x330f73,_0x4632ee,_0x582dd3);})}}),_0x4632ee[_0x40db9f(0x13d)](_0x40db9f(0x107))['to'](_0x582dd3,_0x40db9f(0xe5)),this[_0x40db9f(0xf6)][_0x40db9f(0x160)](_0x582dd3),_0x582dd3[_0x40db9f(0x13a)][_0x40db9f(0x160)](_0x128449),this[_0x40db9f(0x148)](_0x4632ee,_0x582dd3),_0x508ae0[_0x40db9f(0xfe)][_0x40db9f(0x160)](_0x4632ee),{'listItem':_0x508ae0,'highlightView':_0x1d7530};}[_0x4a04a0(0x163)](_0x3e99df,_0x45d64c,_0x41a8f1){const _0x7a0b2e=_0x4a04a0,_0x2292b4=new _0x4ad703(this[_0x7a0b2e(0x15b)]);return _0x2292b4[_0x7a0b2e(0x161)]({'attributes':{'class':['ck',_0x7a0b2e(0xfc),_0x7a0b2e(0x10d),_0x7a0b2e(0x132)]}}),_0x45d64c[_0x7a0b2e(0x127)](_0x172e05=>{const _0x4f8f35=_0x7a0b2e,_0x2ab351=new _0x4c8075(this[_0x4f8f35(0x15b)]),_0x5a5b91=_0x77d04a({'editor':_0x3e99df,'action':_0x172e05,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4f8f35(0xf0)]()})();_0x2ab351[_0x4f8f35(0xfe)][_0x4f8f35(0x160)](_0x5a5b91),_0x41a8f1[_0x4f8f35(0x104)][_0x4f8f35(0x160)](_0x5a5b91),_0x2292b4[_0x4f8f35(0x149)][_0x4f8f35(0x160)](_0x2ab351);}),_0x2292b4;}[_0x4a04a0(0x148)](_0x46a325,_0x4baa66){const _0x51403b=_0x4a04a0,_0x235eb3=_0x46a325[_0x51403b(0x13b)],_0x1fc445=this[_0x51403b(0x135)](_0x46a325);_0x46a325[_0x51403b(0x161)]({'attributes':{'class':[_0x51403b(0xe7)]},'on':{'mouseenter':_0x235eb3['to'](()=>{const _0x3004d8=_0x51403b;this[_0x3004d8(0x15e)](_0x4baa66,_0x46a325);}),'mouseleave':_0x235eb3['to'](_0x1cfbdc=>{const _0x5a6a82=_0x51403b,_0x28f4d3=_0x1cfbdc[_0x5a6a82(0xeb)];this[_0x5a6a82(0x14c)](_0x28f4d3,_0x4baa66)||this[_0x5a6a82(0x125)](_0x4baa66);}),'keydown':_0x235eb3['to'](_0x2a8f95=>{const _0x3a0d47=_0x51403b;_0x2a8f95[_0x3a0d47(0xe4)]==_0x1fc445&&(this[_0x3a0d47(0x15e)](_0x4baa66,_0x46a325),_0x4baa66[_0x3a0d47(0x13a)][_0x3a0d47(0x122)](0x0)[_0x3a0d47(0x145)]());})}}),_0x4baa66['on'](_0x51403b(0x102),()=>{const _0x1583fd=_0x51403b;_0x4baa66[_0x1583fd(0xef)]?.[_0x1583fd(0x143)](_0x1583fd(0xe0),_0xce3d37=>{const _0x1cc0b1=_0x1583fd,_0x1d7224=_0xce3d37[_0x1cc0b1(0xeb)];_0x46a325[_0x1cc0b1(0xef)]?.[_0x1cc0b1(0x131)](_0x1d7224)||this[_0x1cc0b1(0x14c)](_0x1d7224,_0x4baa66)||this[_0x1cc0b1(0x125)](_0x4baa66);});});}[_0x4a04a0(0x15e)](_0x29b157,_0x38f6bc){const _0x571ba0=_0x4a04a0;this[_0x571ba0(0x12b)][_0x571ba0(0x127)](_0x4674b8=>{const _0x1b1460=_0x571ba0;_0x4674b8!==_0x29b157&&_0x4674b8[_0x1b1460(0xe5)]&&_0x4674b8[_0x1b1460(0x150)]();}),_0x29b157[_0x571ba0(0x12e)](),_0x29b157[_0x571ba0(0x159)]({'positions':[_0x545a15[_0x571ba0(0xfb)]],'target':_0x38f6bc[_0x571ba0(0xef)],'fitInViewport':!0x0}),this[_0x571ba0(0x12b)][_0x571ba0(0x160)](_0x29b157);}[_0x4a04a0(0x125)](_0x242536){const _0x2c9be1=_0x4a04a0;_0x242536[_0x2c9be1(0x150)](),this[_0x2c9be1(0x12b)][_0x2c9be1(0xe3)](_0x242536);}[_0x4a04a0(0x152)](){const _0x46acef=_0x4a04a0;this[_0x46acef(0x12b)][_0x46acef(0x127)](_0x3c40d9=>_0x3c40d9[_0x46acef(0x150)]()),this[_0x46acef(0x12b)][_0x46acef(0x101)]();}[_0x4a04a0(0x14c)](_0x1b8072,_0x38a037){const _0x359b7c=_0x4a04a0;if(!_0x1b8072)return!0x1;if(_0x38a037[_0x359b7c(0xef)]?.[_0x359b7c(0x131)](_0x1b8072))return!0x0;const _0x26e7a7=_0x1b8072;return _0x26e7a7[_0x359b7c(0x14a)]&&(null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0x12d))||null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0xf3))||null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0x15c)));}[_0x4a04a0(0x11b)](){const _0x4db8aa=_0x4a04a0;this[_0x4db8aa(0xee)]&&this[_0x4db8aa(0xee)][_0x4db8aa(0x113)]();}[_0x4a04a0(0x117)](){const _0x138855=_0x4a04a0;this[_0x138855(0x152)](),this[_0x138855(0xf6)][_0x138855(0x12a)](),super[_0x138855(0x117)]();}[_0x4a04a0(0x145)](){const _0x365d89=_0x4a04a0;this[_0x365d89(0xee)]?this[_0x365d89(0xee)][_0x365d89(0x145)]():this[_0x365d89(0x151)][_0x365d89(0x145)]();}[_0x4a04a0(0x133)](_0x19c57d){const _0x4ab57d=_0x4a04a0;return _0x4ab57d(0x14d)===_0x19c57d[_0x4ab57d(0x15b)][_0x4ab57d(0x115)]?_0x4ab57d(0xed):_0x4ab57d(0x11f);}[_0x4a04a0(0x135)](_0x12208d){const _0x2ebe32=_0x4a04a0;return _0x2ebe32(0x14d)===_0x12208d[_0x2ebe32(0x15b)][_0x2ebe32(0x115)]?_0x2ebe32(0x11f):_0x2ebe32(0xed);}[_0x4a04a0(0x139)](_0x1a6298,_0x4a5cf6,_0x20ed1f,_0x4b3cfc){const _0x56d97b=_0x4a04a0;_0x1a6298[_0x56d97b(0xe4)]==_0x4a5cf6&&(_0x20ed1f[_0x56d97b(0x145)](),this[_0x56d97b(0x125)](_0x4b3cfc));}[_0x4a04a0(0x10c)](_0x2bd12a){const _0x36902e=_0x4a04a0;_0x2bd12a[_0x36902e(0x126)](_0x36902e(0x164));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x21a52,_0x56b1d8){const _0x365f31=_0x5d68,_0x290a04=_0x21a52();while(!![]){try{const _0xe38e64=parseInt(_0x365f31(0xcb))/0x1+parseInt(_0x365f31(0xd4))/0x2*(-parseInt(_0x365f31(0xd8))/0x3)+parseInt(_0x365f31(0xcf))/0x4+parseInt(_0x365f31(0xc6))/0x5+parseInt(_0x365f31(0xd5))/0x6+-parseInt(_0x365f31(0xd9))/0x7*(parseInt(_0x365f31(0xca))/0x8)+parseInt(_0x365f31(0xc8))/0x9*(parseInt(_0x365f31(0xc5))/0xa);if(_0xe38e64===_0x56b1d8)break;else _0x290a04['push'](_0x290a04['shift']());}catch(_0x2bf9c9){_0x290a04['push'](_0x290a04['shift']());}}}(_0x1ac8,0xdbb42));import{createDropdown as _0x1cbdb9}from'ckeditor5/src/ui.js';function _0x5d68(_0x58ad15,_0x28472d){const _0x1ac869=_0x1ac8();return _0x5d68=function(_0x5d68cd,_0x3a41f7){_0x5d68cd=_0x5d68cd-0xc2;let _0x4166d1=_0x1ac869[_0x5d68cd];return _0x4166d1;},_0x5d68(_0x58ad15,_0x28472d);}import{IconAIQuickActions as _0x2b8d60}from'@ckeditor/ckeditor5-icons';function _0x1ac8(){const _0x39f610=['has','children','showFakeVisualSelection','length','document','getRanges','plugins','selection','add','5456830hXMKru','403745xKUZHp','ai-quick-actions-dropdown-selection','9CLxkNZ','get','39448eNlmIB','1167420HSzLRA','model','label','icon','5533812kernJl','ck-ai-quick-actions-dropdown','from','resetSearch','hideFakeVisualSelection','1092VMtWbC','347382sQnhfr','panelView','buttonView','6654odpevr','1596GNBecG','locale','change:isOpen','AIEditing','set'];_0x1ac8=function(){return _0x39f610;};return _0x1ac8();}import{AIQuickActionsDropdownContentView as _0x3ce7ab}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x314e01}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x437b79){const {editor:_0xe1ee01,content:_0x49ef8e,buttonDefinition:_0x5f1bc4,bodyCollection:_0x47913c,hasSearch:_0x57deed=!0x1}=_0x437b79;return()=>{const _0x2e05de=_0x5d68,_0x1dc68f=_0xe1ee01[_0x2e05de(0xda)],_0x251bec=_0x1cbdb9(_0x1dc68f);_0x251bec[_0x2e05de(0xd7)][_0x2e05de(0xdd)]({'icon':_0x5f1bc4[_0x2e05de(0xce)]??_0x2b8d60,'label':_0x5f1bc4[_0x2e05de(0xcd)],'tooltip':!0x0}),_0x251bec[_0x2e05de(0xdd)]({'class':_0x2e05de(0xd0)});const _0x3307e2=new _0x3ce7ab(_0xe1ee01,_0x49ef8e,_0x251bec,_0x47913c,_0x57deed);if(_0x251bec[_0x2e05de(0xd6)][_0x2e05de(0xdf)][_0x2e05de(0xc4)](_0x3307e2),_0x57deed){const _0x15f711=_0x2e05de(0xc7);_0x251bec['on'](_0x2e05de(0xdb),(_0x1b9c42,_0x2f6543,_0x31fb72)=>{const _0x3f17ef=_0x2e05de;if(_0x31fb72){if(_0xe1ee01[_0x3f17ef(0xc2)][_0x3f17ef(0xde)](_0x3f17ef(0xdc))){const _0x47893f=_0xe1ee01[_0x3f17ef(0xc2)][_0x3f17ef(0xc9)](_0x314e01),_0x5226e1=_0xe1ee01[_0x3f17ef(0xcc)][_0x3f17ef(0xe2)][_0x3f17ef(0xc3)],_0x3a505c=Array[_0x3f17ef(0xd1)](_0x5226e1[_0x3f17ef(0xe3)]());_0x3a505c[_0x3f17ef(0xe1)]>0x0&&_0x47893f[_0x3f17ef(0xe0)](_0x3a505c,_0x15f711,!0x1,!0x0);}}else _0xe1ee01[_0x3f17ef(0xc2)][_0x3f17ef(0xde)](_0x3f17ef(0xdc))&&_0xe1ee01[_0x3f17ef(0xc2)][_0x3f17ef(0xc9)](_0x314e01)[_0x3f17ef(0xd3)](_0x15f711),_0x3307e2[_0x3f17ef(0xd2)]();});}return _0x251bec;};}
23
+ (function(_0x58bbc0,_0xb56410){const _0x201b1b=_0x13a8,_0x348a98=_0x58bbc0();while(!![]){try{const _0xe81438=-parseInt(_0x201b1b(0xb9))/0x1*(-parseInt(_0x201b1b(0xac))/0x2)+parseInt(_0x201b1b(0xb0))/0x3+parseInt(_0x201b1b(0xae))/0x4*(-parseInt(_0x201b1b(0xce))/0x5)+parseInt(_0x201b1b(0xb1))/0x6*(parseInt(_0x201b1b(0xc8))/0x7)+-parseInt(_0x201b1b(0xb3))/0x8*(parseInt(_0x201b1b(0xb5))/0x9)+-parseInt(_0x201b1b(0xb6))/0xa*(parseInt(_0x201b1b(0xbd))/0xb)+parseInt(_0x201b1b(0xbb))/0xc;if(_0xe81438===_0xb56410)break;else _0x348a98['push'](_0x348a98['shift']());}catch(_0xf780fe){_0x348a98['push'](_0x348a98['shift']());}}}(_0xf8dc,0x97b06));import{createDropdown as _0x38a22f}from'ckeditor5/src/ui.js';function _0xf8dc(){const _0x49a390=['770208WZmNNp','icon','8kvXkpj','getRanges','2150505rpRfTT','24210UhtvYL','ck-ai-quick-actions-dropdown','ai-quick-actions-dropdown-selection','16921bBatGP','change:isOpen','15887100CsCOkr','selection','4807PPmzPz','get','buttonView','label','document','model','resetSearch','plugins','add','panelView','children','56KsQkSL','locale','AIEditing','hideFakeVisualSelection','length','has','367035DdgDsJ','from','8bcOTeO','set','52JApAmA','showFakeVisualSelection','1361934pOUGML'];_0xf8dc=function(){return _0x49a390;};return _0xf8dc();}import{IconAIQuickActions as _0x5dd00b}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x536cf6}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x2ffaf2}from'../../aicore/aiediting.js';function _0x13a8(_0x9c76f3,_0x4fe23a){const _0xf8dce6=_0xf8dc();return _0x13a8=function(_0x13a82b,_0x316c26){_0x13a82b=_0x13a82b-0xab;let _0x1db51f=_0xf8dce6[_0x13a82b];return _0x1db51f;},_0x13a8(_0x9c76f3,_0x4fe23a);}export function aiQuickActionsDropdownCreator(_0xf9653d){const {editor:_0x164cdc,content:_0x277b2b,buttonDefinition:_0x541e5e,bodyCollection:_0x2542f7,hasSearch:_0x27128a=!0x1}=_0xf9653d;return()=>{const _0x4ede0e=_0x13a8,_0x1f2ced=_0x164cdc[_0x4ede0e(0xc9)],_0x1489d4=_0x38a22f(_0x1f2ced);_0x1489d4[_0x4ede0e(0xbf)][_0x4ede0e(0xad)]({'icon':_0x541e5e[_0x4ede0e(0xb2)]??_0x5dd00b,'label':_0x541e5e[_0x4ede0e(0xc0)],'tooltip':!0x0}),_0x1489d4[_0x4ede0e(0xad)]({'class':_0x4ede0e(0xb7)});const _0x242f4c=new _0x536cf6(_0x164cdc,_0x277b2b,_0x1489d4,_0x2542f7,_0x27128a);if(_0x1489d4[_0x4ede0e(0xc6)][_0x4ede0e(0xc7)][_0x4ede0e(0xc5)](_0x242f4c),_0x27128a){const _0x47d724=_0x4ede0e(0xb8);_0x1489d4['on'](_0x4ede0e(0xba),(_0x22e09c,_0x2f10e8,_0x333980)=>{const _0xd78869=_0x4ede0e;if(_0x333980){if(_0x164cdc[_0xd78869(0xc4)][_0xd78869(0xcd)](_0xd78869(0xca))){const _0xa0ab6e=_0x164cdc[_0xd78869(0xc4)][_0xd78869(0xbe)](_0x2ffaf2),_0x4adfe3=_0x164cdc[_0xd78869(0xc2)][_0xd78869(0xc1)][_0xd78869(0xbc)],_0x2b9c71=Array[_0xd78869(0xab)](_0x4adfe3[_0xd78869(0xb4)]());_0x2b9c71[_0xd78869(0xcc)]>0x0&&_0xa0ab6e[_0xd78869(0xaf)](_0x2b9c71,_0x47d724,!0x1,!0x0);}}else _0x164cdc[_0xd78869(0xc4)][_0xd78869(0xcd)](_0xd78869(0xca))&&_0x164cdc[_0xd78869(0xc4)][_0xd78869(0xbe)](_0x2ffaf2)[_0xd78869(0xcb)](_0x47d724),_0x242f4c[_0xd78869(0xc3)]();});}return _0x1489d4;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56e2(_0x30086d,_0x243dce){const _0x185b81=_0x185b();return _0x56e2=function(_0x56e28d,_0x2ff02f){_0x56e28d=_0x56e28d-0xf0;let _0x3885b6=_0x185b81[_0x56e28d];return _0x3885b6;},_0x56e2(_0x30086d,_0x243dce);}function _0x185b(){const _0x4ea30a=['21xtoXqr','function','_clearHighlight','highlightText','662730rrGwTG','sort','48KKlimz','_allListItems','label','590XgLEAM','includes','16wpHJqE','203731JImuyP','forEach','length','1249164BslbNX','toLowerCase','100758TIrBnt','_highlightQuery','highlightViews','clear','trim','item','filter','groupLabel','187803FHRmyX','1444652IMboCF','17499SSZUeG','addMany','_allSearchableItems','items','source','map'];_0x185b=function(){return _0x4ea30a;};return _0x185b();}const _0x2eec4f=_0x56e2;(function(_0x1b773e,_0x104c04){const _0x38e2f1=_0x56e2,_0x1a4209=_0x1b773e();while(!![]){try{const _0x4fa567=-parseInt(_0x38e2f1(0x101))/0x1+-parseInt(_0x38e2f1(0x10f))/0x2*(-parseInt(_0x38e2f1(0x103))/0x3)+-parseInt(_0x38e2f1(0x102))/0x4+-parseInt(_0x38e2f1(0x10d))/0x5+parseInt(_0x38e2f1(0xf9))/0x6*(-parseInt(_0x38e2f1(0x109))/0x7)+parseInt(_0x38e2f1(0xf3))/0x8*(-parseInt(_0x38e2f1(0xf7))/0x9)+parseInt(_0x38e2f1(0xf1))/0xa*(parseInt(_0x38e2f1(0xf4))/0xb);if(_0x4fa567===_0x104c04)break;else _0x1a4209['push'](_0x1a4209['shift']());}catch(_0x5cb354){_0x1a4209['push'](_0x1a4209['shift']());}}}(_0x185b,0x36810));import{ListView as _0x2eb1e0}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3606a6}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x2eb1e0{[_0x2eec4f(0x110)];[_0x2eec4f(0x105)];constructor(_0x26b0de,_0x425a5a,_0x36cfcb){const _0xda7fe3=_0x2eec4f;super(_0x26b0de),this[_0xda7fe3(0x110)]=_0x425a5a,this[_0xda7fe3(0x105)]=_0x36cfcb;}[_0x2eec4f(0xff)](_0xc33b41){const _0x8391f=_0x2eec4f;if(!_0xc33b41)return this[_0x8391f(0x106)][_0x8391f(0xfc)](),this[_0x8391f(0x106)][_0x8391f(0x104)](this[_0x8391f(0x110)]),this[_0x8391f(0x10b)](),{'resultsCount':this[_0x8391f(0x110)][_0x8391f(0xf6)],'totalItemsCount':this[_0x8391f(0x110)][_0x8391f(0xf6)]};const _0xe2b01f=_0xc33b41[_0x8391f(0x107)][_0x8391f(0xf8)]()[_0x8391f(0xfd)](),_0x317cde=this[_0x8391f(0x105)][_0x8391f(0xff)](_0x2d6717=>(_0x2d6717[_0x8391f(0x100)]?_0x2d6717[_0x8391f(0xf0)]+'\x20('+_0x2d6717[_0x8391f(0x100)]+')':_0x2d6717[_0x8391f(0xf0)])[_0x8391f(0xf8)]()[_0x8391f(0xf2)](_0xe2b01f));return this[_0x8391f(0x106)][_0x8391f(0xfc)](),this[_0x8391f(0x106)][_0x8391f(0x104)](_0x317cde[_0x8391f(0x10e)]((_0x1cbb13,_0x231b14)=>{const _0x37ffcb=_0x8391f,_0x42cc3a=_0x1cbb13[_0x37ffcb(0x100)],_0x363586=_0x231b14[_0x37ffcb(0x100)];return _0x42cc3a||_0x363586?_0x42cc3a?0x1:-0x1:0x0;})[_0x8391f(0x108)](_0x295a07=>_0x295a07[_0x8391f(0xfe)])),this[_0x8391f(0xfa)](_0xe2b01f,_0x317cde),{'resultsCount':_0x317cde[_0x8391f(0xf6)],'totalItemsCount':this[_0x8391f(0x105)][_0x8391f(0xf6)]};}[_0x2eec4f(0xfa)](_0x4a6c0d,_0x2fb6a5){const _0x539a6=_0x2eec4f;if(!_0x4a6c0d)return;const _0x14b5bb=new RegExp(_0x3606a6(_0x4a6c0d),'gi');_0x2fb6a5[_0x539a6(0xf5)](_0x2420dc=>{const _0x241554=_0x539a6;_0x2420dc[_0x241554(0xfb)]&&_0x2420dc[_0x241554(0xfb)][_0x241554(0xf5)](_0x1b208=>{const _0x2e7a6b=_0x241554;_0x2e7a6b(0x10a)==typeof _0x1b208[_0x2e7a6b(0x10c)]&&_0x1b208[_0x2e7a6b(0x10c)](_0x14b5bb);});});}[_0x2eec4f(0x10b)](){const _0x4f2c0e=_0x2eec4f;this[_0x4f2c0e(0x105)][_0x4f2c0e(0xf5)](_0x2187f1=>{const _0x528661=_0x4f2c0e;_0x2187f1[_0x528661(0xfb)]&&_0x2187f1[_0x528661(0xfb)][_0x528661(0xf5)](_0x2575b1=>{const _0x535489=_0x528661;_0x535489(0x10a)==typeof _0x2575b1[_0x535489(0x10c)]&&_0x2575b1[_0x535489(0x10c)](null);});});}}
23
+ const _0x5e0005=_0x7709;function _0x2e1e(){const _0x115fc0=['sort','length','_clearHighlight','source','items','623440PqGzZp','label','930AeFkOX','clear','_allSearchableItems','toLowerCase','filter','2184680LeFSwM','39357lGPwsU','item','trim','addMany','function','_highlightQuery','forEach','highlightText','931062pztvaz','21WQywVu','groupLabel','map','highlightViews','_allListItems','12YBaMJg','includes','1050460ewcXGk','260718gmmDPz','255003JLPlPX'];_0x2e1e=function(){return _0x115fc0;};return _0x2e1e();}(function(_0x4cd17c,_0x91dd59){const _0x3d1f24=_0x7709,_0x4858f6=_0x4cd17c();while(!![]){try{const _0x5179a4=-parseInt(_0x3d1f24(0x1af))/0x1+parseInt(_0x3d1f24(0x1ae))/0x2+-parseInt(_0x3d1f24(0x1b0))/0x3*(-parseInt(_0x3d1f24(0x1ac))/0x4)+parseInt(_0x3d1f24(0x1b6))/0x5+-parseInt(_0x3d1f24(0x1a6))/0x6*(parseInt(_0x3d1f24(0x1a7))/0x7)+-parseInt(_0x3d1f24(0x1bd))/0x8+parseInt(_0x3d1f24(0x1be))/0x9*(parseInt(_0x3d1f24(0x1b8))/0xa);if(_0x5179a4===_0x91dd59)break;else _0x4858f6['push'](_0x4858f6['shift']());}catch(_0x17148d){_0x4858f6['push'](_0x4858f6['shift']());}}}(_0x2e1e,0x4c3d4));function _0x7709(_0x36166f,_0x59afc8){const _0x2e1e35=_0x2e1e();return _0x7709=function(_0x770970,_0x2a7275){_0x770970=_0x770970-0x1a1;let _0x2b1c51=_0x2e1e35[_0x770970];return _0x2b1c51;},_0x7709(_0x36166f,_0x59afc8);}import{ListView as _0x172113}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x19c72b}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x172113{[_0x5e0005(0x1ab)];[_0x5e0005(0x1ba)];constructor(_0x1ad236,_0x257aac,_0x36c69e){const _0x38d918=_0x5e0005;super(_0x1ad236),this[_0x38d918(0x1ab)]=_0x257aac,this[_0x38d918(0x1ba)]=_0x36c69e;}[_0x5e0005(0x1bc)](_0x24555d){const _0x43e45a=_0x5e0005;if(!_0x24555d)return this[_0x43e45a(0x1b5)][_0x43e45a(0x1b9)](),this[_0x43e45a(0x1b5)][_0x43e45a(0x1a1)](this[_0x43e45a(0x1ab)]),this[_0x43e45a(0x1b3)](),{'resultsCount':this[_0x43e45a(0x1ab)][_0x43e45a(0x1b2)],'totalItemsCount':this[_0x43e45a(0x1ab)][_0x43e45a(0x1b2)]};const _0x2c2396=_0x24555d[_0x43e45a(0x1b4)][_0x43e45a(0x1bb)]()[_0x43e45a(0x1c0)](),_0xb83a5e=this[_0x43e45a(0x1ba)][_0x43e45a(0x1bc)](_0x296324=>(_0x296324[_0x43e45a(0x1a8)]?_0x296324[_0x43e45a(0x1b7)]+'\x20('+_0x296324[_0x43e45a(0x1a8)]+')':_0x296324[_0x43e45a(0x1b7)])[_0x43e45a(0x1bb)]()[_0x43e45a(0x1ad)](_0x2c2396));return this[_0x43e45a(0x1b5)][_0x43e45a(0x1b9)](),this[_0x43e45a(0x1b5)][_0x43e45a(0x1a1)](_0xb83a5e[_0x43e45a(0x1b1)]((_0x4aea06,_0x4092f9)=>{const _0x2de335=_0x43e45a,_0x4d1979=_0x4aea06[_0x2de335(0x1a8)],_0x149cc9=_0x4092f9[_0x2de335(0x1a8)];return _0x4d1979||_0x149cc9?_0x4d1979?0x1:-0x1:0x0;})[_0x43e45a(0x1a9)](_0x4e78ca=>_0x4e78ca[_0x43e45a(0x1bf)])),this[_0x43e45a(0x1a3)](_0x2c2396,_0xb83a5e),{'resultsCount':_0xb83a5e[_0x43e45a(0x1b2)],'totalItemsCount':this[_0x43e45a(0x1ba)][_0x43e45a(0x1b2)]};}[_0x5e0005(0x1a3)](_0x36806a,_0x19ee77){const _0x31cb4e=_0x5e0005;if(!_0x36806a)return;const _0x2cb80c=new RegExp(_0x19c72b(_0x36806a),'gi');_0x19ee77[_0x31cb4e(0x1a4)](_0x3a77ba=>{const _0x1b3825=_0x31cb4e;_0x3a77ba[_0x1b3825(0x1aa)]&&_0x3a77ba[_0x1b3825(0x1aa)][_0x1b3825(0x1a4)](_0x971e80=>{const _0x2179ab=_0x1b3825;_0x2179ab(0x1a2)==typeof _0x971e80[_0x2179ab(0x1a5)]&&_0x971e80[_0x2179ab(0x1a5)](_0x2cb80c);});});}[_0x5e0005(0x1b3)](){const _0x2e0299=_0x5e0005;this[_0x2e0299(0x1ba)][_0x2e0299(0x1a4)](_0x59ead1=>{const _0x5ce1c1=_0x2e0299;_0x59ead1[_0x5ce1c1(0x1aa)]&&_0x59ead1[_0x5ce1c1(0x1aa)][_0x5ce1c1(0x1a4)](_0x197123=>{const _0x57b7a9=_0x5ce1c1;_0x57b7a9(0x1a2)==typeof _0x197123[_0x57b7a9(0x1a5)]&&_0x197123[_0x57b7a9(0x1a5)](null);});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x313cae,_0x2f7d4b){var _0x506449=_0x25f6,_0x38545b=_0x313cae();while(!![]){try{var _0x9f6a5e=parseInt(_0x506449(0x13b))/0x1*(parseInt(_0x506449(0x13a))/0x2)+-parseInt(_0x506449(0x138))/0x3+parseInt(_0x506449(0x13d))/0x4+parseInt(_0x506449(0x143))/0x5*(parseInt(_0x506449(0x13e))/0x6)+-parseInt(_0x506449(0x136))/0x7*(parseInt(_0x506449(0x139))/0x8)+parseInt(_0x506449(0x142))/0x9+parseInt(_0x506449(0x137))/0xa;if(_0x9f6a5e===_0x2f7d4b)break;else _0x38545b['push'](_0x38545b['shift']());}catch(_0x413350){_0x38545b['push'](_0x38545b['shift']());}}}(_0x52a5,0xdc264));import{View as _0x49129b}from'ckeditor5/src/ui.js';function _0x52a5(){var _0x42ec96=['1801910gEIvpw','4902243YVgvaZ','32gndSDB','4midgtM','170355jTRpGt','AI_DISCLAIMER_TEXT','1188244svdfSg','162Ntxfcv','div','setTemplate','ck-ai-balloon__disclaimer-content','2438082pXkHIN','277795jQuOJQ','ck-ai-balloon__disclaimer','92995CzGRAr'];_0x52a5=function(){return _0x42ec96;};return _0x52a5();}import{getTranslation as _0x37ff02}from'../../../aicore/utils/common-translations.js';function _0x25f6(_0x534839,_0x242c28){var _0x52a587=_0x52a5();return _0x25f6=function(_0x25f6f3,_0x302f7b){_0x25f6f3=_0x25f6f3-0x136;var _0x2cf043=_0x52a587[_0x25f6f3];return _0x2cf043;},_0x25f6(_0x534839,_0x242c28);}export class AIActionsBalloonDisclaimerView extends _0x49129b{constructor(_0x12c2f0){var _0x3fb566=_0x25f6;super(_0x12c2f0),this[_0x3fb566(0x140)]({'tag':_0x3fb566(0x13f),'attributes':{'class':['ck',_0x3fb566(0x144)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3fb566(0x141)]},'children':[{'text':_0x37ff02(_0x12c2f0,_0x3fb566(0x13c))}]}]});}}
23
+ function _0x314e(_0x426567,_0x39d113){var _0xf75bd7=_0xf75b();return _0x314e=function(_0x314e91,_0x4ab662){_0x314e91=_0x314e91-0x1bb;var _0x49b13e=_0xf75bd7[_0x314e91];return _0x49b13e;},_0x314e(_0x426567,_0x39d113);}(function(_0x43e83d,_0x37993c){var _0x341219=_0x314e,_0x11fcf8=_0x43e83d();while(!![]){try{var _0x2a21fb=parseInt(_0x341219(0x1bd))/0x1+-parseInt(_0x341219(0x1c5))/0x2+-parseInt(_0x341219(0x1bf))/0x3*(-parseInt(_0x341219(0x1c9))/0x4)+parseInt(_0x341219(0x1c2))/0x5*(parseInt(_0x341219(0x1bb))/0x6)+parseInt(_0x341219(0x1cb))/0x7*(-parseInt(_0x341219(0x1bc))/0x8)+parseInt(_0x341219(0x1c1))/0x9*(-parseInt(_0x341219(0x1be))/0xa)+parseInt(_0x341219(0x1c8))/0xb*(parseInt(_0x341219(0x1c3))/0xc);if(_0x2a21fb===_0x37993c)break;else _0x11fcf8['push'](_0x11fcf8['shift']());}catch(_0x337c52){_0x11fcf8['push'](_0x11fcf8['shift']());}}}(_0xf75b,0xe6a95));import{View as _0x4e8c67}from'ckeditor5/src/ui.js';function _0xf75b(){var _0x18aa51=['12lDSzjq','AI_DISCLAIMER_TEXT','12873ljdGID','426102uMdTWu','5648hTKgZC','684058FMUECh','14541560lQdGgZ','646788mcwDgt','setTemplate','9pmFfgc','65DvNOJw','12slObNm','ck-ai-balloon__disclaimer-content','3723722KuMXmB','div','ck-ai-balloon__disclaimer','36355803WLJDOC'];_0xf75b=function(){return _0x18aa51;};return _0xf75b();}import{getTranslation as _0x2acedb}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x4e8c67{constructor(_0x271310){var _0x28bcc6=_0x314e;super(_0x271310),this[_0x28bcc6(0x1c0)]({'tag':_0x28bcc6(0x1c6),'attributes':{'class':['ck',_0x28bcc6(0x1c7)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x28bcc6(0x1c4)]},'children':[{'text':_0x2acedb(_0x271310,_0x28bcc6(0x1ca))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24fbba=_0x4395;(function(_0x1190c0,_0x1bfdec){const _0xe7d4f0=_0x4395,_0x20ff3e=_0x1190c0();while(!![]){try{const _0x4ca4b5=-parseInt(_0xe7d4f0(0x15c))/0x1+parseInt(_0xe7d4f0(0x156))/0x2+-parseInt(_0xe7d4f0(0x15b))/0x3+parseInt(_0xe7d4f0(0x155))/0x4+-parseInt(_0xe7d4f0(0x15d))/0x5+-parseInt(_0xe7d4f0(0x152))/0x6+parseInt(_0xe7d4f0(0x15e))/0x7;if(_0x4ca4b5===_0x1bfdec)break;else _0x20ff3e['push'](_0x20ff3e['shift']());}catch(_0x5c3cf8){_0x20ff3e['push'](_0x20ff3e['shift']());}}}(_0xa407,0x6caf9));function _0x4395(_0x2df847,_0x5464e0){const _0xa40747=_0xa407();return _0x4395=function(_0x4395c0,_0x416990){_0x4395c0=_0x4395c0-0x14a;let _0x2c563b=_0xa40747[_0x4395c0];return _0x2c563b;},_0x4395(_0x2df847,_0x5464e0);}function _0xa407(){const _0x12b61c=['408058CHswuP','1915895fsPNnv','11106375xRmHKa','set','AI_BALLOON_APPLY_BUTTON','ck-ai-button-secondary','items','_createButton','applyButton','locale','isEnabled','suggestButton','bind','setButtonsVisibility','3302802oeyYhT','AI_BALLOON_SUGGEST_BUTTON','extendTemplate','1228912ciswDo','284648dsgVNi','ck-ai-balloon__toolbar','add','ck-ai-button-primary','isVisible','747888fruAdv'];_0xa407=function(){return _0x12b61c;};return _0xa407();}import{ToolbarView as _0x481744,ButtonView as _0xa9be29}from'ckeditor5/src/ui.js';import{getTranslation as _0x3230af}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x481744{constructor(_0x318776,_0x4ca64e=!0x0,_0x575c14=!0x0){const _0x5be9f6=_0x4395;super(_0x318776),this[_0x5be9f6(0x15f)](_0x5be9f6(0x14e),!0x1),_0x4ca64e&&(this[_0x5be9f6(0x14c)]=this[_0x5be9f6(0x14b)](_0x3230af(_0x318776,_0x5be9f6(0x160)),_0x5be9f6(0x159)),this[_0x5be9f6(0x14c)][_0x5be9f6(0x150)](_0x5be9f6(0x14e))['to'](this),this[_0x5be9f6(0x14a)][_0x5be9f6(0x158)](this[_0x5be9f6(0x14c)])),_0x575c14&&(this[_0x5be9f6(0x14f)]=this[_0x5be9f6(0x14b)](_0x3230af(_0x318776,_0x5be9f6(0x153)),_0x4ca64e?_0x5be9f6(0x161):_0x5be9f6(0x159)),this[_0x5be9f6(0x14f)][_0x5be9f6(0x150)](_0x5be9f6(0x14e))['to'](this),this[_0x5be9f6(0x14a)][_0x5be9f6(0x158)](this[_0x5be9f6(0x14f)])),this[_0x5be9f6(0x151)]({'showApplyButton':_0x4ca64e,'showSuggestButton':_0x575c14}),this[_0x5be9f6(0x154)]({'attributes':{'class':[_0x5be9f6(0x157)]}});}[_0x24fbba(0x151)]({showApplyButton:_0x342462,showSuggestButton:_0x376f13}){const _0x318fee=_0x24fbba;this[_0x318fee(0x14c)]&&(this[_0x318fee(0x14c)][_0x318fee(0x15a)]=_0x342462),this[_0x318fee(0x14f)]&&(this[_0x318fee(0x14f)][_0x318fee(0x15a)]=_0x376f13);}[_0x24fbba(0x14b)](_0x39411e,_0x2f302d){const _0x5b59cf=_0x24fbba,_0xd00fe3=new _0xa9be29(this[_0x5b59cf(0x14d)]);return _0xd00fe3[_0x5b59cf(0x15f)]({'label':_0x39411e,'class':_0x2f302d,'isVisible':!0x0,'withText':!0x0}),_0xd00fe3;}}
23
+ const _0xd043e9=_0x19e1;(function(_0xf53a68,_0x4b43de){const _0x2503a8=_0x19e1,_0x25c1ea=_0xf53a68();while(!![]){try{const _0x520fe4=parseInt(_0x2503a8(0x1de))/0x1+parseInt(_0x2503a8(0x1e9))/0x2*(parseInt(_0x2503a8(0x1da))/0x3)+parseInt(_0x2503a8(0x1f2))/0x4+-parseInt(_0x2503a8(0x1e3))/0x5*(-parseInt(_0x2503a8(0x1db))/0x6)+parseInt(_0x2503a8(0x1e6))/0x7+parseInt(_0x2503a8(0x1f1))/0x8+parseInt(_0x2503a8(0x1e7))/0x9*(-parseInt(_0x2503a8(0x1e1))/0xa);if(_0x520fe4===_0x4b43de)break;else _0x25c1ea['push'](_0x25c1ea['shift']());}catch(_0x3707e3){_0x25c1ea['push'](_0x25c1ea['shift']());}}}(_0x1cf0,0x4778d));function _0x19e1(_0x35efe7,_0x36f1c2){const _0x1cf081=_0x1cf0();return _0x19e1=function(_0x19e1c4,_0x33eb40){_0x19e1c4=_0x19e1c4-0x1d8;let _0x4544a1=_0x1cf081[_0x19e1c4];return _0x4544a1;},_0x19e1(_0x35efe7,_0x36f1c2);}import{ToolbarView as _0x137179,ButtonView as _0x5712f3}from'ckeditor5/src/ui.js';import{getTranslation as _0x98c331}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x137179{constructor(_0x3dee3d,_0x3ebe07=!0x0,_0x52f3da=!0x0){const _0x37b7d6=_0x19e1;super(_0x3dee3d),this[_0x37b7d6(0x1dd)](_0x37b7d6(0x1ec),!0x1),_0x3ebe07&&(this[_0x37b7d6(0x1e0)]=this[_0x37b7d6(0x1e5)](_0x98c331(_0x3dee3d,_0x37b7d6(0x1e2)),_0x37b7d6(0x1dc)),this[_0x37b7d6(0x1e0)][_0x37b7d6(0x1ed)](_0x37b7d6(0x1ec))['to'](this),this[_0x37b7d6(0x1ef)][_0x37b7d6(0x1d9)](this[_0x37b7d6(0x1e0)])),_0x52f3da&&(this[_0x37b7d6(0x1eb)]=this[_0x37b7d6(0x1e5)](_0x98c331(_0x3dee3d,_0x37b7d6(0x1d8)),_0x3ebe07?_0x37b7d6(0x1df):_0x37b7d6(0x1dc)),this[_0x37b7d6(0x1eb)][_0x37b7d6(0x1ed)](_0x37b7d6(0x1ec))['to'](this),this[_0x37b7d6(0x1ef)][_0x37b7d6(0x1d9)](this[_0x37b7d6(0x1eb)])),this[_0x37b7d6(0x1ea)]({'showApplyButton':_0x3ebe07,'showSuggestButton':_0x52f3da}),this[_0x37b7d6(0x1e8)]({'attributes':{'class':[_0x37b7d6(0x1ee)]}});}[_0xd043e9(0x1ea)]({showApplyButton:_0x1ecd41,showSuggestButton:_0x58030a}){const _0x3672e4=_0xd043e9;this[_0x3672e4(0x1e0)]&&(this[_0x3672e4(0x1e0)][_0x3672e4(0x1e4)]=_0x1ecd41),this[_0x3672e4(0x1eb)]&&(this[_0x3672e4(0x1eb)][_0x3672e4(0x1e4)]=_0x58030a);}[_0xd043e9(0x1e5)](_0x190c3f,_0x5be023){const _0x43025b=_0xd043e9,_0xe2cedd=new _0x5712f3(this[_0x43025b(0x1f0)]);return _0xe2cedd[_0x43025b(0x1dd)]({'label':_0x190c3f,'class':_0x5be023,'isVisible':!0x0,'withText':!0x0}),_0xe2cedd;}}function _0x1cf0(){const _0x439aa3=['extendTemplate','9106kGuJlb','setButtonsVisibility','suggestButton','isEnabled','bind','ck-ai-balloon__toolbar','items','locale','1369040mdYShB','1679944RrDUoN','AI_BALLOON_SUGGEST_BUTTON','add','354fAdLUt','6fRwQkZ','ck-ai-button-primary','set','552256FAOFKQ','ck-ai-button-secondary','applyButton','200gRMQSj','AI_BALLOON_APPLY_BUTTON','1312525reausq','isVisible','_createButton','1104306TAhvoh','813663oHPZAR'];_0x1cf0=function(){return _0x439aa3;};return _0x1cf0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c4724=_0x3b3b;(function(_0x60babe,_0x51f0cb){const _0x10247c=_0x3b3b,_0xb30222=_0x60babe();while(!![]){try{const _0x3a0b02=parseInt(_0x10247c(0x1ce))/0x1*(-parseInt(_0x10247c(0x1da))/0x2)+parseInt(_0x10247c(0x173))/0x3*(parseInt(_0x10247c(0x180))/0x4)+-parseInt(_0x10247c(0x176))/0x5+parseInt(_0x10247c(0x1a3))/0x6*(-parseInt(_0x10247c(0x1a8))/0x7)+-parseInt(_0x10247c(0x190))/0x8+-parseInt(_0x10247c(0x18e))/0x9+parseInt(_0x10247c(0x1cd))/0xa;if(_0x3a0b02===_0x51f0cb)break;else _0xb30222['push'](_0xb30222['shift']());}catch(_0x2c7b1e){_0xb30222['push'](_0xb30222['shift']());}}}(_0x454a,0x3468c));import{ViewCollection as _0x5e48ce,FocusCycler as _0xcfc5e0,ButtonView as _0x30cc80,View as _0x1c0adb}from'ckeditor5/src/ui.js';function _0x454a(){const _0x2c1935=['_addContentWrapper','clear','1/1','_getScrollableElement','_navigationNextButton','insertSuggestion','items','delegate','_miniToolbarView','destroy','updateMiniToolbarButtons','fire','createCollection','_streamableContentView','_hasError','clearErrorState','element','_isLoading','startAutoScroll','showNext','isTrackChangesOn','toggleShowChangesEnabled','_setupMiniToolbarButtons','_navigationPreviousButton','AI_ACTIONS_TRY_AGAIN','includes','8551560RMPvsN','3687GIpFAY','toggleIsLoading','focusFirst','miniToolbarConfig','change:isTrackChangesOn','add','showError','setButtonsVisibility','locale','showPrevious','div','render','10spdyLE','setInteractionCount','AI_ACTIONS_NEXT_INTERACTION','updateContent','disableMiniToolbarButtons','stopAutoScroll','_config','bind','bindTemplate','start','isShowChangesOn','isEnabled','suggestButton','ck-ai-navigation-button\x20ck-ai-previous-button','span','ck-ai-navigation-button\x20ck-ai-next-button','toggleShowChanges','102ZUKhIj','has','setIsLoading','1479985AyEgZG','focus','tab','ck-ai-actions-balloon-main','_keystrokes','_loaderView','availableActions','_initializeScrollManager','showLoader','_addToolbar','27452ZlOvMq','isBusy','_toolbarView','focusCycler','_createLoaderView','showBlockingError','ck-ai-actions-balloon-content-wrapper','remove','clearContent','set','setTemplate','_focusables','shift\x20+\x20tab','stop','3559374CnyEyo','_contentWrapper','1019568NipxBq','_dialogContent','_createMiniToolbar','ck-ai-actions-balloon-content','isVisible','_toggleToolbarButtonsVisibility','toggleSuggestionDisplayMode','_errorView','_createStreamableContentView','hideError','resetShowChangesButton','applyButton','listenTo','_addDisclaimerView','execute','focusLast','_focusTracker','AI_ACTIONS_PREVIOUS_INTERACTION','addMiniToolbarItem','12eYGzLf','_navigationCounter','update','removeMiniToolbarItem','applySuggestion','127631XkzIPJ','ck-ai-custom-action-button','interactionCount','setErrorState','hideLoader','addMany','_navigationTryAgainButton','tryAgain','_disclaimerView','_scrollManager','ck-ai-interaction-counter'];_0x454a=function(){return _0x2c1935;};return _0x454a();}import{FocusTracker as _0x2f2abd,KeystrokeHandler as _0xcec81f}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x44126d}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1714c3}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x1d8e02}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x33173a}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xc5870c}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x53d3aa}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x41f7dd}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x32219c,IconPreviousArrow as _0x166adc,IconRefresh as _0x11cab4}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2fc938}from'../../../aicore/utils/common-translations.js';function _0x3b3b(_0x2eb9cd,_0x58ee5e){const _0x454a62=_0x454a();return _0x3b3b=function(_0x3b3b12,_0x5cd32d){_0x3b3b12=_0x3b3b12-0x171;let _0x2fd258=_0x454a62[_0x3b3b12];return _0x2fd258;},_0x3b3b(_0x2eb9cd,_0x58ee5e);}import{AIBalloonView as _0x2f9d06}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x2c4724(0x1a7),_0x2c4724(0x1b8)];export class AIActionsBalloonView extends _0x2f9d06{[_0x2c4724(0x183)];[_0x2c4724(0x1e0)];[_0x2c4724(0x18f)];[_0x2c4724(0x1c0)];[_0x2c4724(0x182)];[_0x2c4724(0x1bb)];[_0x2c4724(0x17b)];[_0x2c4724(0x1b0)];[_0x2c4724(0x1a0)];[_0x2c4724(0x17a)];[_0x2c4724(0x191)];[_0x2c4724(0x18b)];[_0x2c4724(0x1b1)];[_0x2c4724(0x1ca)];[_0x2c4724(0x1b7)];[_0x2c4724(0x1ae)];[_0x2c4724(0x1a4)];constructor(_0x1582ba,_0x67746a){const _0x1b919b=_0x2c4724;super(_0x1582ba),this[_0x1b919b(0x189)](_0x1b919b(0x181),!0x1),this[_0x1b919b(0x189)](_0x1b919b(0x1c7),!0x1),this[_0x1b919b(0x189)](_0x1b919b(0x1c4),!0x1),this[_0x1b919b(0x189)](_0x1b919b(0x1c1),!0x1),this[_0x1b919b(0x1e0)]=_0x67746a,this[_0x1b919b(0x1a0)]=new _0x2f2abd(),this[_0x1b919b(0x17a)]=new _0xcec81f(),this[_0x1b919b(0x18b)]=this[_0x1b919b(0x1bf)](),this[_0x1b919b(0x183)]=new _0xcfc5e0({'focusables':this[_0x1b919b(0x18b)],'focusTracker':this[_0x1b919b(0x1a0)],'keystrokeHandler':this[_0x1b919b(0x17a)],'actions':{'focusPrevious':_0x1b919b(0x18c),'focusNext':_0x1b919b(0x178)}}),this[_0x1b919b(0x191)]=new _0x5e48ce(),this[_0x1b919b(0x1b3)](_0x67746a),this[_0x1b919b(0x19d)](),this[_0x1b919b(0x17f)](_0x67746a),this[_0x1b919b(0x18b)][_0x1b919b(0x1b4)](),this[_0x1b919b(0x18b)][_0x1b919b(0x1ad)]([this[_0x1b919b(0x182)]]),this[_0x1b919b(0x18a)]({'tag':_0x1b919b(0x1d8),'attributes':{'class':[_0x1b919b(0x179)]},'children':this[_0x1b919b(0x191)]}),this['on'](_0x1b919b(0x1d2),()=>{const _0x1dd6d2=_0x1b919b;this[_0x1dd6d2(0x195)](_0x67746a);});}[_0x2c4724(0x1d9)](){const _0x16c8b7=_0x2c4724;super[_0x16c8b7(0x1d9)]();for(const _0x5d3fed of this[_0x16c8b7(0x18b)])this[_0x16c8b7(0x1a0)][_0x16c8b7(0x1d3)](_0x5d3fed[_0x16c8b7(0x1c3)]);this[_0x16c8b7(0x17a)][_0x16c8b7(0x19c)](this[_0x16c8b7(0x1c3)]),this[_0x16c8b7(0x17d)]();}[_0x2c4724(0x1bc)](){const _0x3b82bf=_0x2c4724;super[_0x3b82bf(0x1bc)](),this[_0x3b82bf(0x1b1)]&&this[_0x3b82bf(0x1b1)][_0x3b82bf(0x1bc)]();}[_0x2c4724(0x177)](_0xddaffc){const _0x5a8647=_0x2c4724;-0x1===_0xddaffc?this[_0x5a8647(0x183)][_0x5a8647(0x19f)]():this[_0x5a8647(0x183)][_0x5a8647(0x1d0)]();}[_0x2c4724(0x175)](_0x156a1b){const _0xeb130f=_0x2c4724;this[_0xeb130f(0x1c4)]=_0x156a1b;}[_0x2c4724(0x1ab)](){const _0x26011b=_0x2c4724;this[_0x26011b(0x1c1)]=!0x0,this[_0x26011b(0x1bb)][_0x26011b(0x1c8)](!0x1);}[_0x2c4724(0x1c2)](){const _0x50f112=_0x2c4724;this[_0x50f112(0x1c1)]=!0x1,this[_0x50f112(0x1bb)][_0x50f112(0x1c8)](!0x0);}[_0x2c4724(0x1d4)](_0xd260c4){const _0xa9c13e=_0x2c4724;super[_0xa9c13e(0x1d4)](_0xd260c4),this[_0xa9c13e(0x191)][_0xa9c13e(0x174)](this[_0xa9c13e(0x197)])||this[_0xa9c13e(0x191)][_0xa9c13e(0x1d3)](this[_0xa9c13e(0x197)],0x0);}[_0x2c4724(0x199)](){const _0x3bc8d9=_0x2c4724;super[_0x3bc8d9(0x199)](),this[_0x3bc8d9(0x1c2)]();}[_0x2c4724(0x185)](_0x212de3){const _0x3af684=_0x2c4724;super[_0x3af684(0x185)](_0x212de3),this[_0x3af684(0x1ab)]();}[_0x2c4724(0x1a2)](_0x115a3a){const _0x48b6f2=_0x2c4724;this[_0x48b6f2(0x1bb)][_0x48b6f2(0x1b9)][_0x48b6f2(0x174)](_0x115a3a)||this[_0x48b6f2(0x1bb)][_0x48b6f2(0x1b9)][_0x48b6f2(0x1d3)](_0x115a3a);}[_0x2c4724(0x1a6)](_0x5a2b58){const _0x559193=_0x2c4724;this[_0x559193(0x1bb)][_0x559193(0x1b9)][_0x559193(0x174)](_0x5a2b58)&&this[_0x559193(0x1bb)][_0x559193(0x1b9)][_0x559193(0x187)](_0x5a2b58);}[_0x2c4724(0x17e)](){const _0x1dd0dc=_0x2c4724;this[_0x1dd0dc(0x17b)]&&(this[_0x1dd0dc(0x1c4)]=!0x0);}[_0x2c4724(0x1ac)](){const _0x37cc08=_0x2c4724;this[_0x37cc08(0x17b)]&&(this[_0x37cc08(0x1c4)]=!0x1);}[_0x2c4724(0x195)]({showApplyButton:_0x578fe3,showSuggestButton:_0x1d14cc}){const _0xf4dcc5=_0x2c4724;_0x578fe3=_0x578fe3&&!this[_0xf4dcc5(0x1c7)]&&this[_0xf4dcc5(0x1e0)][_0xf4dcc5(0x17c)][_0xf4dcc5(0x1cc)](_0xf4dcc5(0x1a7)),_0x1d14cc=_0x1d14cc&&this[_0xf4dcc5(0x1e0)][_0xf4dcc5(0x17c)][_0xf4dcc5(0x1cc)](_0xf4dcc5(0x1b8)),this[_0xf4dcc5(0x182)][_0xf4dcc5(0x1d5)]({'showApplyButton':_0x578fe3,'showSuggestButton':_0x1d14cc});}async[_0x2c4724(0x1dd)](_0x4cb2fc){const _0x1ba3f4=_0x2c4724;await this[_0x1ba3f4(0x1c0)][_0x1ba3f4(0x1a5)](_0x4cb2fc);}[_0x2c4724(0x188)](){const _0x5cb466=_0x2c4724;this[_0x5cb466(0x1c0)][_0x5cb466(0x1b4)]();}[_0x2c4724(0x1b3)](_0x270401){const _0xae1a80=_0x2c4724;this[_0xae1a80(0x18f)]=new _0x1c0adb(this[_0xae1a80(0x1d6)]),this[_0xae1a80(0x18f)][_0xae1a80(0x18a)]({'tag':_0xae1a80(0x1d8),'attributes':{'class':[_0xae1a80(0x193)]},'children':[{'tag':_0xae1a80(0x1d8),'attributes':{'class':[_0xae1a80(0x186)]},'children':[this[_0xae1a80(0x184)](),this[_0xae1a80(0x198)]()]},this[_0xae1a80(0x192)](_0x270401[_0xae1a80(0x1d1)])]}),this[_0xae1a80(0x191)][_0xae1a80(0x1d3)](this[_0xae1a80(0x18f)]);}[_0x2c4724(0x19d)](){const _0x1f1059=_0x2c4724;this[_0x1f1059(0x1b0)]=new _0x1714c3(this[_0x1f1059(0x1d6)]),this[_0x1f1059(0x191)][_0x1f1059(0x1d3)](this[_0x1f1059(0x1b0)]);}[_0x2c4724(0x17f)]({showApplyButton:_0x4de651,showSuggestButton:_0x2dca5a}){const _0x935050=_0x2c4724;this[_0x935050(0x182)]=new _0x44126d(this[_0x935050(0x1d6)],_0x4de651,_0x2dca5a),this[_0x935050(0x182)][_0x935050(0x19b)]?.['on'](_0x935050(0x19e),()=>{const _0x5506ed=_0x935050;this[_0x5506ed(0x1be)](_0x5506ed(0x1a7));}),this[_0x935050(0x182)][_0x935050(0x1e6)]?.['on'](_0x935050(0x19e),()=>{const _0x45ee1f=_0x935050;this[_0x45ee1f(0x1be)](_0x45ee1f(0x1b8));}),this[_0x935050(0x182)][_0x935050(0x1e1)](_0x935050(0x1e5))['to'](this,_0x935050(0x181),this,_0x935050(0x1c4),this,_0x935050(0x1c1),(_0x4ec91f,_0xb8a89,_0x1e79c8)=>!(_0x4ec91f||_0xb8a89||_0x1e79c8)),this[_0x935050(0x195)]({'showApplyButton':_0x4de651,'showSuggestButton':_0x2dca5a}),this[_0x935050(0x191)][_0x935050(0x1d3)](this[_0x935050(0x182)]);}[_0x2c4724(0x192)](_0x3bdc74){const _0x45506b=_0x2c4724;return this[_0x45506b(0x1bb)]=new _0x33173a(this[_0x45506b(0x1d6)],_0x3bdc74),this[_0x45506b(0x1bb)][_0x45506b(0x1ba)](..._0xc5870c)['to'](this),this[_0x45506b(0x1bb)]['on'](_0x45506b(0x172),()=>{const _0x3d0588=_0x45506b;this[_0x3d0588(0x1bb)][_0x3d0588(0x1e4)]=!this[_0x3d0588(0x1bb)][_0x3d0588(0x1e4)],this[_0x3d0588(0x1be)](_0x3d0588(0x196),{'showDiff':this[_0x3d0588(0x1bb)][_0x3d0588(0x1e4)]});}),this[_0x45506b(0x1bb)][_0x45506b(0x1e1)](_0x45506b(0x1e5))['to'](this,_0x45506b(0x181),this,_0x45506b(0x1c4),(_0xd4cb52,_0x33ff53)=>!(_0xd4cb52||_0x33ff53)),this[_0x45506b(0x1bb)];}[_0x2c4724(0x184)](){const _0x53471f=_0x2c4724;return this[_0x53471f(0x17b)]=new _0x53d3aa(this[_0x53471f(0x1d6)]),this[_0x53471f(0x17b)][_0x53471f(0x1e1)](_0x53471f(0x194))['to'](this,_0x53471f(0x1c4)),this[_0x53471f(0x17b)];}[_0x2c4724(0x198)](){const _0x18edbc=_0x2c4724;return this[_0x18edbc(0x1c0)]=new _0x41f7dd(this[_0x18edbc(0x1d6)]),this[_0x18edbc(0x1c0)];}[_0x2c4724(0x1c9)](){const _0x13a00e=_0x2c4724,_0xc5a070=new _0x30cc80(this[_0x13a00e(0x1d6)]),_0x2d69fb=new _0x30cc80(this[_0x13a00e(0x1d6)]),_0x918f68=new Ln(this[_0x13a00e(0x1d6)]),_0x2a5181=new _0x30cc80(this[_0x13a00e(0x1d6)]);_0xc5a070[_0x13a00e(0x189)]({'icon':_0x11cab4,'label':_0x2fc938(this[_0x13a00e(0x1d6)],_0x13a00e(0x1cb)),'tooltip':!0x0,'class':_0x13a00e(0x1a9)}),_0x2d69fb[_0x13a00e(0x189)]({'icon':_0x166adc,'tooltip':_0x2fc938(this[_0x13a00e(0x1d6)],_0x13a00e(0x1a1)),'class':_0x13a00e(0x1e7)}),_0x2a5181[_0x13a00e(0x189)]({'icon':_0x32219c,'tooltip':_0x2fc938(this[_0x13a00e(0x1d6)],_0x13a00e(0x1dc)),'class':_0x13a00e(0x171)}),_0xc5a070[_0x13a00e(0x1e1)](_0x13a00e(0x1e5))['to'](this,_0x13a00e(0x181),_0x4d494e=>!_0x4d494e),_0xc5a070['on'](_0x13a00e(0x19e),()=>{const _0x1fb90b=_0x13a00e;this[_0x1fb90b(0x1be)](_0x1fb90b(0x1af));}),_0x2d69fb[_0x13a00e(0x1e1)](_0x13a00e(0x1e5))['to'](this,_0x13a00e(0x181),_0x1d6531=>!_0x1d6531),_0x2d69fb['on'](_0x13a00e(0x19e),()=>{const _0x3d1e65=_0x13a00e;this[_0x3d1e65(0x1be)](_0x3d1e65(0x1d7));}),_0x2a5181[_0x13a00e(0x1e1)](_0x13a00e(0x1e5))['to'](this,_0x13a00e(0x181),_0x5adcbe=>!_0x5adcbe),_0x2a5181['on'](_0x13a00e(0x19e),()=>{const _0x3c7e4e=_0x13a00e;this[_0x3c7e4e(0x1be)](_0x3c7e4e(0x1c6));}),this[_0x13a00e(0x1ca)]=_0x2d69fb,this[_0x13a00e(0x1a4)]=_0x918f68,this[_0x13a00e(0x1b7)]=_0x2a5181,this[_0x13a00e(0x1ae)]=_0xc5a070;}[_0x2c4724(0x1bd)](_0x56dceb,_0x231ed3){const _0x404ea3=_0x2c4724;this[_0x404ea3(0x1ca)]||this[_0x404ea3(0x1c9)]();const _0x13cc42=_0x56dceb>0x1;if(this[_0x404ea3(0x1a2)](this[_0x404ea3(0x1ae)]),_0x13cc42){this[_0x404ea3(0x1a2)](this[_0x404ea3(0x1ca)]),this[_0x404ea3(0x1a2)](this[_0x404ea3(0x1a4)]),this[_0x404ea3(0x1a2)](this[_0x404ea3(0x1b7)]);const _0x3c5be8=_0x56dceb-_0x231ed3;this[_0x404ea3(0x1a4)][_0x404ea3(0x1db)](_0x3c5be8+'/'+_0x56dceb),this[_0x404ea3(0x1ca)][_0x404ea3(0x1e5)]=_0x231ed3<_0x56dceb-0x1,this[_0x404ea3(0x1b7)][_0x404ea3(0x1e5)]=_0x231ed3>0x0;}else this[_0x404ea3(0x1a6)](this[_0x404ea3(0x1ca)]),this[_0x404ea3(0x1a6)](this[_0x404ea3(0x1a4)]),this[_0x404ea3(0x1a6)](this[_0x404ea3(0x1b7)]);}[_0x2c4724(0x1de)](){const _0x220867=_0x2c4724;this[_0x220867(0x1ae)][_0x220867(0x1e5)]=!0x1,this[_0x220867(0x1ca)][_0x220867(0x1e5)]=!0x1,this[_0x220867(0x1b7)][_0x220867(0x1e5)]=!0x1;}[_0x2c4724(0x1c5)](){const _0x4c0325=_0x2c4724;this[_0x4c0325(0x17d)](),this[_0x4c0325(0x1b1)]&&this[_0x4c0325(0x1b1)][_0x4c0325(0x1e3)]();}[_0x2c4724(0x1df)](){const _0x16db3e=_0x2c4724;this[_0x16db3e(0x1b1)]&&this[_0x16db3e(0x1b1)][_0x16db3e(0x18d)]();}[_0x2c4724(0x1cf)](_0x4ecf99){const _0x575e5e=_0x2c4724;this[_0x575e5e(0x1c4)]=_0x4ecf99;}[_0x2c4724(0x19a)](){const _0x4ad6c1=_0x2c4724;this[_0x4ad6c1(0x1bb)][_0x4ad6c1(0x1e4)]=!0x1;}[_0x2c4724(0x17d)](){const _0x2bf07f=_0x2c4724,_0x8c4a03=this[_0x2bf07f(0x1b6)]();_0x8c4a03&&!this[_0x2bf07f(0x1b1)]&&(this[_0x2bf07f(0x1b1)]=new _0x1d8e02(_0x8c4a03));}[_0x2c4724(0x1b6)](){const _0x153885=_0x2c4724;return this[_0x153885(0x1c0)][_0x153885(0x1c3)];}}class Ln extends _0x1c0adb{constructor(_0xcc3d0d){const _0x4d5cf1=_0x2c4724;super(_0xcc3d0d);const _0x16b7e1=this[_0x4d5cf1(0x1e2)];this[_0x4d5cf1(0x189)](_0x4d5cf1(0x1aa),_0x4d5cf1(0x1b5)),this[_0x4d5cf1(0x18a)]({'tag':_0x4d5cf1(0x1e8),'attributes':{'class':[_0x4d5cf1(0x1b2)]},'children':[{'text':_0x16b7e1['to'](_0x4d5cf1(0x1aa))}]});}[_0x2c4724(0x1db)](_0x4b8fd1){const _0x26aaba=_0x2c4724;this[_0x26aaba(0x189)](_0x26aaba(0x1aa),_0x4b8fd1);}}
23
+ const _0x3274f7=_0x5c3b;(function(_0x44afde,_0x33d2c8){const _0x591ee7=_0x5c3b,_0x4c92f3=_0x44afde();while(!![]){try{const _0x5d57b5=-parseInt(_0x591ee7(0x21c))/0x1+-parseInt(_0x591ee7(0x1e9))/0x2+parseInt(_0x591ee7(0x1de))/0x3*(-parseInt(_0x591ee7(0x22a))/0x4)+-parseInt(_0x591ee7(0x1d8))/0x5+-parseInt(_0x591ee7(0x1ca))/0x6*(parseInt(_0x591ee7(0x203))/0x7)+parseInt(_0x591ee7(0x225))/0x8*(parseInt(_0x591ee7(0x1c0))/0x9)+-parseInt(_0x591ee7(0x21e))/0xa*(-parseInt(_0x591ee7(0x21d))/0xb);if(_0x5d57b5===_0x33d2c8)break;else _0x4c92f3['push'](_0x4c92f3['shift']());}catch(_0xd48986){_0x4c92f3['push'](_0x4c92f3['shift']());}}}(_0x52fe,0xd2a36));import{ViewCollection as _0x403060,FocusCycler as _0xb6b500,ButtonView as _0x29032d,View as _0xb6f329}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3e6110,KeystrokeHandler as _0x17ed93}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x4b4481}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x537f32}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3de202}from'../../../aicore/utils/scrollmanager.js';function _0x52fe(){const _0x4863c4=['toggleSuggestionDisplayMode','hideLoader','AI_ACTIONS_NEXT_INTERACTION','includes','_addDisclaimerView','_navigationTryAgainButton','focusCycler','12khaWBc','set','isVisible','AI_ACTIONS_PREVIOUS_INTERACTION','toggleShowChangesEnabled','toggleShowChanges','_navigationNextButton','_navigationCounter','_keystrokes','createCollection','applySuggestion','update','applyButton','ck-ai-actions-balloon-main','4571965LErtXn','AI_ACTIONS_TRY_AGAIN','_contentWrapper','tab','bind','_focusables','201eUxQCs','_scrollManager','span','availableActions','stopAutoScroll','resetShowChangesButton','ck-ai-navigation-button\x20ck-ai-next-button','_isLoading','_toggleToolbarButtonsVisibility','add','showNext','324362sGxmkQ','div','_addToolbar','isEnabled','setIsLoading','miniToolbarConfig','addMany','_config','setButtonsVisibility','clear','ck-ai-actions-balloon-content','_setupMiniToolbarButtons','showError','ck-ai-actions-balloon-content-wrapper','_hasError','isShowChangesOn','updateContent','start','setErrorState','ck-ai-custom-action-button','isTrackChangesOn','stop','clearContent','1/1','focus','_createLoaderView','1957193yDKtYq','_errorView','_initializeScrollManager','hideError','render','_navigationPreviousButton','change:isTrackChangesOn','clearErrorState','_streamableContentView','_toolbarView','shift\x20+\x20tab','disableMiniToolbarButtons','showLoader','updateMiniToolbarButtons','tryAgain','startAutoScroll','interactionCount','addMiniToolbarItem','_disclaimerView','_focusTracker','showBlockingError','setTemplate','locale','ck-ai-interaction-counter','element','1466062rcJuYp','12468269aYfjcj','30bqJSZd','has','remove','_addContentWrapper','_loaderView','ck-ai-navigation-button\x20ck-ai-previous-button','_dialogContent','104AkelQU','_createStreamableContentView','fire','focusFirst','showPrevious','37732zgPdTn','_getScrollableElement','destroy','listenTo','bindTemplate','items','isBusy','suggestButton','insertSuggestion','focusLast','_miniToolbarView','removeMiniToolbarItem','toggleIsLoading','setInteractionCount','delegate','828126mqRczL','_createMiniToolbar','execute'];_0x52fe=function(){return _0x4863c4;};return _0x52fe();}import{AIMiniToolbarView as _0x1250c3}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';function _0x5c3b(_0x2199ba,_0x3b0f44){const _0x52fe50=_0x52fe();return _0x5c3b=function(_0x5c3b4f,_0x3afe4b){_0x5c3b4f=_0x5c3b4f-0x1b6;let _0x5e7d62=_0x52fe50[_0x5c3b4f];return _0x5e7d62;},_0x5c3b(_0x2199ba,_0x3b0f44);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4482d4}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x442fde}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x5c7ad6}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x70a9a4,IconPreviousArrow as _0x55e6f2,IconRefresh as _0x354089}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x21f58b}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x3c754c}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3274f7(0x1d4),_0x3274f7(0x1b9)];export class AIActionsBalloonView extends _0x3c754c{[_0x3274f7(0x1c9)];[_0x3274f7(0x1f0)];[_0x3274f7(0x1da)];[_0x3274f7(0x20b)];[_0x3274f7(0x20c)];[_0x3274f7(0x1bb)];[_0x3274f7(0x222)];[_0x3274f7(0x215)];[_0x3274f7(0x216)];[_0x3274f7(0x1d2)];[_0x3274f7(0x224)];[_0x3274f7(0x1dd)];[_0x3274f7(0x1df)];[_0x3274f7(0x208)];[_0x3274f7(0x1d0)];[_0x3274f7(0x1c8)];[_0x3274f7(0x1d1)];constructor(_0x38ecc3,_0x3fe0e1){const _0x2677b1=_0x3274f7;super(_0x38ecc3),this[_0x2677b1(0x1cb)](_0x2677b1(0x1b7),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1fd),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1e5),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1f7),!0x1),this[_0x2677b1(0x1f0)]=_0x3fe0e1,this[_0x2677b1(0x216)]=new _0x3e6110(),this[_0x2677b1(0x1d2)]=new _0x17ed93(),this[_0x2677b1(0x1dd)]=this[_0x2677b1(0x1d3)](),this[_0x2677b1(0x1c9)]=new _0xb6b500({'focusables':this[_0x2677b1(0x1dd)],'focusTracker':this[_0x2677b1(0x216)],'keystrokeHandler':this[_0x2677b1(0x1d2)],'actions':{'focusPrevious':_0x2677b1(0x20d),'focusNext':_0x2677b1(0x1db)}}),this[_0x2677b1(0x224)]=new _0x403060(),this[_0x2677b1(0x221)](_0x3fe0e1),this[_0x2677b1(0x1c7)](),this[_0x2677b1(0x1eb)](_0x3fe0e1),this[_0x2677b1(0x1dd)][_0x2677b1(0x1f2)](),this[_0x2677b1(0x1dd)][_0x2677b1(0x1ef)]([this[_0x2677b1(0x20c)]]),this[_0x2677b1(0x218)]({'tag':_0x2677b1(0x1ea),'attributes':{'class':[_0x2677b1(0x1d7)]},'children':this[_0x2677b1(0x224)]}),this['on'](_0x2677b1(0x209),()=>{const _0x4292e9=_0x2677b1;this[_0x4292e9(0x1e6)](_0x3fe0e1);});}[_0x3274f7(0x207)](){const _0x2a4e05=_0x3274f7;super[_0x2a4e05(0x207)]();for(const _0x55d754 of this[_0x2a4e05(0x1dd)])this[_0x2a4e05(0x216)][_0x2a4e05(0x1e7)](_0x55d754[_0x2a4e05(0x21b)]);this[_0x2a4e05(0x1d2)][_0x2a4e05(0x22d)](this[_0x2a4e05(0x21b)]),this[_0x2a4e05(0x205)]();}[_0x3274f7(0x22c)](){const _0x436e26=_0x3274f7;super[_0x436e26(0x22c)](),this[_0x436e26(0x1df)]&&this[_0x436e26(0x1df)][_0x436e26(0x22c)]();}[_0x3274f7(0x201)](_0x16f101){const _0x3e4e4a=_0x3274f7;-0x1===_0x16f101?this[_0x3e4e4a(0x1c9)][_0x3e4e4a(0x1ba)]():this[_0x3e4e4a(0x1c9)][_0x3e4e4a(0x228)]();}[_0x3274f7(0x1ed)](_0x5bb63b){const _0x29cce5=_0x3274f7;this[_0x29cce5(0x1e5)]=_0x5bb63b;}[_0x3274f7(0x1fb)](){const _0x19cd97=_0x3274f7;this[_0x19cd97(0x1f7)]=!0x0,this[_0x19cd97(0x1bb)][_0x19cd97(0x1ce)](!0x1);}[_0x3274f7(0x20a)](){const _0x2f1bac=_0x3274f7;this[_0x2f1bac(0x1f7)]=!0x1,this[_0x2f1bac(0x1bb)][_0x2f1bac(0x1ce)](!0x0);}[_0x3274f7(0x1f5)](_0x3f22d5){const _0x1a46b4=_0x3274f7;super[_0x1a46b4(0x1f5)](_0x3f22d5),this[_0x1a46b4(0x224)][_0x1a46b4(0x21f)](this[_0x1a46b4(0x204)])||this[_0x1a46b4(0x224)][_0x1a46b4(0x1e7)](this[_0x1a46b4(0x204)],0x0);}[_0x3274f7(0x206)](){const _0x3d3f5e=_0x3274f7;super[_0x3d3f5e(0x206)](),this[_0x3d3f5e(0x20a)]();}[_0x3274f7(0x217)](_0x192657){const _0x160145=_0x3274f7;super[_0x160145(0x217)](_0x192657),this[_0x160145(0x1fb)]();}[_0x3274f7(0x214)](_0x1e8569){const _0x150d9d=_0x3274f7;this[_0x150d9d(0x1bb)][_0x150d9d(0x1b6)][_0x150d9d(0x21f)](_0x1e8569)||this[_0x150d9d(0x1bb)][_0x150d9d(0x1b6)][_0x150d9d(0x1e7)](_0x1e8569);}[_0x3274f7(0x1bc)](_0x431acd){const _0x97de70=_0x3274f7;this[_0x97de70(0x1bb)][_0x97de70(0x1b6)][_0x97de70(0x21f)](_0x431acd)&&this[_0x97de70(0x1bb)][_0x97de70(0x1b6)][_0x97de70(0x220)](_0x431acd);}[_0x3274f7(0x20f)](){const _0x111091=_0x3274f7;this[_0x111091(0x222)]&&(this[_0x111091(0x1e5)]=!0x0);}[_0x3274f7(0x1c4)](){const _0x126fe8=_0x3274f7;this[_0x126fe8(0x222)]&&(this[_0x126fe8(0x1e5)]=!0x1);}[_0x3274f7(0x1e6)]({showApplyButton:_0x1fb248,showSuggestButton:_0x554a8e}){const _0x3b6940=_0x3274f7;_0x1fb248=_0x1fb248&&!this[_0x3b6940(0x1fd)]&&this[_0x3b6940(0x1f0)][_0x3b6940(0x1e1)][_0x3b6940(0x1c6)](_0x3b6940(0x1d4)),_0x554a8e=_0x554a8e&&this[_0x3b6940(0x1f0)][_0x3b6940(0x1e1)][_0x3b6940(0x1c6)](_0x3b6940(0x1b9)),this[_0x3b6940(0x20c)][_0x3b6940(0x1f1)]({'showApplyButton':_0x1fb248,'showSuggestButton':_0x554a8e});}async[_0x3274f7(0x1f9)](_0x35a069){const _0x15b327=_0x3274f7;await this[_0x15b327(0x20b)][_0x15b327(0x1d5)](_0x35a069);}[_0x3274f7(0x1ff)](){const _0x932d50=_0x3274f7;this[_0x932d50(0x20b)][_0x932d50(0x1f2)]();}[_0x3274f7(0x221)](_0x4f5680){const _0x910cd0=_0x3274f7;this[_0x910cd0(0x1da)]=new _0xb6f329(this[_0x910cd0(0x219)]),this[_0x910cd0(0x1da)][_0x910cd0(0x218)]({'tag':_0x910cd0(0x1ea),'attributes':{'class':[_0x910cd0(0x1f3)]},'children':[{'tag':_0x910cd0(0x1ea),'attributes':{'class':[_0x910cd0(0x1f6)]},'children':[this[_0x910cd0(0x202)](),this[_0x910cd0(0x226)]()]},this[_0x910cd0(0x1c1)](_0x4f5680[_0x910cd0(0x1ee)])]}),this[_0x910cd0(0x224)][_0x910cd0(0x1e7)](this[_0x910cd0(0x1da)]);}[_0x3274f7(0x1c7)](){const _0x12f2f5=_0x3274f7;this[_0x12f2f5(0x215)]=new _0x537f32(this[_0x12f2f5(0x219)]),this[_0x12f2f5(0x224)][_0x12f2f5(0x1e7)](this[_0x12f2f5(0x215)]);}[_0x3274f7(0x1eb)]({showApplyButton:_0x63fdba,showSuggestButton:_0x59afe2}){const _0x3a6631=_0x3274f7;this[_0x3a6631(0x20c)]=new _0x4b4481(this[_0x3a6631(0x219)],_0x63fdba,_0x59afe2),this[_0x3a6631(0x20c)][_0x3a6631(0x1d6)]?.['on'](_0x3a6631(0x1c2),()=>{const _0x62f7a8=_0x3a6631;this[_0x62f7a8(0x227)](_0x62f7a8(0x1d4));}),this[_0x3a6631(0x20c)][_0x3a6631(0x1b8)]?.['on'](_0x3a6631(0x1c2),()=>{const _0x162b44=_0x3a6631;this[_0x162b44(0x227)](_0x162b44(0x1b9));}),this[_0x3a6631(0x20c)][_0x3a6631(0x1dc)](_0x3a6631(0x1ec))['to'](this,_0x3a6631(0x1b7),this,_0x3a6631(0x1e5),this,_0x3a6631(0x1f7),(_0x503d29,_0xf73fe3,_0x47b681)=>!(_0x503d29||_0xf73fe3||_0x47b681)),this[_0x3a6631(0x1e6)]({'showApplyButton':_0x63fdba,'showSuggestButton':_0x59afe2}),this[_0x3a6631(0x224)][_0x3a6631(0x1e7)](this[_0x3a6631(0x20c)]);}[_0x3274f7(0x1c1)](_0x5eb135){const _0x6da43=_0x3274f7;return this[_0x6da43(0x1bb)]=new _0x1250c3(this[_0x6da43(0x219)],_0x5eb135),this[_0x6da43(0x1bb)][_0x6da43(0x1bf)](..._0x4482d4)['to'](this),this[_0x6da43(0x1bb)]['on'](_0x6da43(0x1cf),()=>{const _0xec8bf7=_0x6da43;this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)]=!this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)],this[_0xec8bf7(0x227)](_0xec8bf7(0x1c3),{'showDiff':this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)]});}),this[_0x6da43(0x1bb)][_0x6da43(0x1dc)](_0x6da43(0x1ec))['to'](this,_0x6da43(0x1b7),this,_0x6da43(0x1e5),(_0x7e6d2b,_0x24dd68)=>!(_0x7e6d2b||_0x24dd68)),this[_0x6da43(0x1bb)];}[_0x3274f7(0x202)](){const _0x558ca4=_0x3274f7;return this[_0x558ca4(0x222)]=new _0x442fde(this[_0x558ca4(0x219)]),this[_0x558ca4(0x222)][_0x558ca4(0x1dc)](_0x558ca4(0x1cc))['to'](this,_0x558ca4(0x1e5)),this[_0x558ca4(0x222)];}[_0x3274f7(0x226)](){const _0x500cf5=_0x3274f7;return this[_0x500cf5(0x20b)]=new _0x5c7ad6(this[_0x500cf5(0x219)]),this[_0x500cf5(0x20b)];}[_0x3274f7(0x1f4)](){const _0x39fa9f=_0x3274f7,_0x1f40ca=new _0x29032d(this[_0x39fa9f(0x219)]),_0x1c2bf0=new _0x29032d(this[_0x39fa9f(0x219)]),_0xb43109=new Ln(this[_0x39fa9f(0x219)]),_0x1ea182=new _0x29032d(this[_0x39fa9f(0x219)]);_0x1f40ca[_0x39fa9f(0x1cb)]({'icon':_0x354089,'label':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1d9)),'tooltip':!0x0,'class':_0x39fa9f(0x1fc)}),_0x1c2bf0[_0x39fa9f(0x1cb)]({'icon':_0x55e6f2,'tooltip':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1cd)),'class':_0x39fa9f(0x223)}),_0x1ea182[_0x39fa9f(0x1cb)]({'icon':_0x70a9a4,'tooltip':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1c5)),'class':_0x39fa9f(0x1e4)}),_0x1f40ca[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0x235fcb=>!_0x235fcb),_0x1f40ca['on'](_0x39fa9f(0x1c2),()=>{const _0x1d22ce=_0x39fa9f;this[_0x1d22ce(0x227)](_0x1d22ce(0x211));}),_0x1c2bf0[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0x59030e=>!_0x59030e),_0x1c2bf0['on'](_0x39fa9f(0x1c2),()=>{const _0x983607=_0x39fa9f;this[_0x983607(0x227)](_0x983607(0x229));}),_0x1ea182[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0xbcf244=>!_0xbcf244),_0x1ea182['on'](_0x39fa9f(0x1c2),()=>{const _0xf887b5=_0x39fa9f;this[_0xf887b5(0x227)](_0xf887b5(0x1e8));}),this[_0x39fa9f(0x208)]=_0x1c2bf0,this[_0x39fa9f(0x1d1)]=_0xb43109,this[_0x39fa9f(0x1d0)]=_0x1ea182,this[_0x39fa9f(0x1c8)]=_0x1f40ca;}[_0x3274f7(0x210)](_0x316fcb,_0x4fef44){const _0x27cf3b=_0x3274f7;this[_0x27cf3b(0x208)]||this[_0x27cf3b(0x1f4)]();const _0x2232a0=_0x316fcb>0x1;if(this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1c8)]),_0x2232a0){this[_0x27cf3b(0x214)](this[_0x27cf3b(0x208)]),this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1d1)]),this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1d0)]);const _0x47492d=_0x316fcb-_0x4fef44;this[_0x27cf3b(0x1d1)][_0x27cf3b(0x1be)](_0x47492d+'/'+_0x316fcb),this[_0x27cf3b(0x208)][_0x27cf3b(0x1ec)]=_0x4fef44<_0x316fcb-0x1,this[_0x27cf3b(0x1d0)][_0x27cf3b(0x1ec)]=_0x4fef44>0x0;}else this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x208)]),this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x1d1)]),this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x1d0)]);}[_0x3274f7(0x20e)](){const _0x55072f=_0x3274f7;this[_0x55072f(0x1c8)][_0x55072f(0x1ec)]=!0x1,this[_0x55072f(0x208)][_0x55072f(0x1ec)]=!0x1,this[_0x55072f(0x1d0)][_0x55072f(0x1ec)]=!0x1;}[_0x3274f7(0x212)](){const _0x3f531e=_0x3274f7;this[_0x3f531e(0x205)](),this[_0x3f531e(0x1df)]&&this[_0x3f531e(0x1df)][_0x3f531e(0x1fa)]();}[_0x3274f7(0x1e2)](){const _0x1f7382=_0x3274f7;this[_0x1f7382(0x1df)]&&this[_0x1f7382(0x1df)][_0x1f7382(0x1fe)]();}[_0x3274f7(0x1bd)](_0x4790d4){const _0x1b92dd=_0x3274f7;this[_0x1b92dd(0x1e5)]=_0x4790d4;}[_0x3274f7(0x1e3)](){const _0x33e89b=_0x3274f7;this[_0x33e89b(0x1bb)][_0x33e89b(0x1f8)]=!0x1;}[_0x3274f7(0x205)](){const _0x312867=_0x3274f7,_0x438815=this[_0x312867(0x22b)]();_0x438815&&!this[_0x312867(0x1df)]&&(this[_0x312867(0x1df)]=new _0x3de202(_0x438815));}[_0x3274f7(0x22b)](){const _0x5bd29d=_0x3274f7;return this[_0x5bd29d(0x20b)][_0x5bd29d(0x21b)];}}class Ln extends _0xb6f329{constructor(_0x5599ad){const _0x560a3d=_0x3274f7;super(_0x5599ad);const _0x5118e0=this[_0x560a3d(0x22e)];this[_0x560a3d(0x1cb)](_0x560a3d(0x213),_0x560a3d(0x200)),this[_0x560a3d(0x218)]({'tag':_0x560a3d(0x1e0),'attributes':{'class':[_0x560a3d(0x21a)]},'children':[{'text':_0x5118e0['to'](_0x560a3d(0x213))}]});}[_0x3274f7(0x1be)](_0xf1893e){const _0x3cc8c4=_0x3274f7;this[_0x3cc8c4(0x1cb)](_0x3cc8c4(0x213),_0xf1893e);}}