@ckeditor/ckeditor5-ai 47.7.0-alpha.4 → 47.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) 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/aiactionsreply.js +1 -1
  6. package/src/aiassistant/adapters/aiadapter.js +1 -1
  7. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  8. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  9. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  10. package/src/aiassistant/aiassistant.js +1 -1
  11. package/src/aiassistant/aiassistantediting.js +1 -1
  12. package/src/aiassistant/aiassistantui.js +1 -1
  13. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  14. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  15. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformview.js +1 -1
  18. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  20. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  21. package/src/aiballoon/aiballoon.js +1 -1
  22. package/src/aichat/aichat.js +1 -1
  23. package/src/aichat/aichatballoon.js +1 -1
  24. package/src/aichat/aichatcontroller.js +1 -1
  25. package/src/aichat/aichatui.js +1 -1
  26. package/src/aichat/model/aichatcontext.js +1 -1
  27. package/src/aichat/ui/aichatballoonview.js +1 -1
  28. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  29. package/src/aichat/ui/aichatheaderview.js +1 -1
  30. package/src/aichat/ui/aichatview.js +1 -1
  31. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  32. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  33. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  34. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  35. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  36. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  37. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  40. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  44. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  45. package/src/aichathistory/aichathistory.js +1 -1
  46. package/src/aichathistory/aichathistorycontroller.js +1 -1
  47. package/src/aichathistory/aichathistoryui.js +1 -1
  48. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  49. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  50. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  51. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  52. package/src/aicore/aiconnector.js +1 -1
  53. package/src/aicore/aiediting.js +1 -1
  54. package/src/aicore/model/aiinteraction.js +1 -1
  55. package/src/aicore/model/aimodels.js +1 -1
  56. package/src/aicore/model/aireply.js +1 -1
  57. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  58. package/src/aicore/pipeline/airesponseparser.js +2 -2
  59. package/src/aicore/ui/aidisclaimerview.js +1 -1
  60. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  61. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  62. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  63. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  64. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  65. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  66. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  68. package/src/aicore/utils/createresizebutton.js +1 -1
  69. package/src/aicore/utils/documentrange.js +1 -1
  70. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  71. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  72. package/src/aicore/utils/htmlparser.js +1 -1
  73. package/src/aicore/utils/htmlstreamer.js +1 -1
  74. package/src/aieditorintegration/aieditorintegration.js +1 -1
  75. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  76. package/src/aiquickactions/aiquickactions.js +1 -1
  77. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  78. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  79. package/src/aiquickactions/aiquickactionsui.js +1 -1
  80. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  81. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  82. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  83. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  84. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  85. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  86. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  87. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  88. package/src/aireviewcore/aireviewcoreui.js +1 -1
  89. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  90. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  91. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  92. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  93. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  94. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  95. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  96. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  97. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  98. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  99. package/src/aireviewmode/aireviewmode.js +1 -1
  100. package/src/aireviewmode/aireviewmodeui.js +1 -1
  101. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  102. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  103. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  104. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  105. package/src/aitabs/aitabs.js +1 -1
  106. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  107. package/src/aitranslate/aitranslate.js +1 -1
  108. package/src/aitranslate/aitranslatecontroller.js +1 -1
  109. package/src/aitranslate/aitranslateui.js +1 -1
  110. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  111. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  112. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21df98=_0x2f3f;(function(_0x4e4a9b,_0x1efa04){const _0x1cd734=_0x2f3f,_0x4cd30b=_0x4e4a9b();while(!![]){try{const _0x4993f0=-parseInt(_0x1cd734(0x18b))/0x1*(-parseInt(_0x1cd734(0x1a1))/0x2)+-parseInt(_0x1cd734(0x1a0))/0x3+-parseInt(_0x1cd734(0x194))/0x4+parseInt(_0x1cd734(0x18f))/0x5+-parseInt(_0x1cd734(0x17b))/0x6*(-parseInt(_0x1cd734(0x1ab))/0x7)+-parseInt(_0x1cd734(0x178))/0x8+parseInt(_0x1cd734(0x1a8))/0x9*(parseInt(_0x1cd734(0x17c))/0xa);if(_0x4993f0===_0x1efa04)break;else _0x4cd30b['push'](_0x4cd30b['shift']());}catch(_0x326ace){_0x4cd30b['push'](_0x4cd30b['shift']());}}}(_0x1952,0x5fb14));import _0xc2b523 from'morphdom';import{NodeWithChildren as _0x3302ee,Text as _0xaafbfa,Element as _0x16cfaa,isText as _0x2a42eb,isDocument as _0x45a610,isTag as _0x4b99f6,cloneNode as _0x47ff1e,getChildren as _0xfac8f,prepend as _0x40426f,removeElement as _0x46bee4,textContent as _0x12d2a9,render as _0x225fe6}from'./htmlparser.js';export class HTMLStreamer{[_0x21df98(0x192)];[_0x21df98(0x17f)]=!0x1;[_0x21df98(0x189)]=null;[_0x21df98(0x18e)]=[];[_0x21df98(0x1aa)]=0x0;[_0x21df98(0x19d)]=null;[_0x21df98(0x19c)]=0x0;constructor(_0x1d7afe){const _0x35022d=_0x21df98;this[_0x35022d(0x192)]={'delay':_0x1d7afe[_0x35022d(0x187)]??0x14,'textNodeStyle':_0x1d7afe[_0x35022d(0x170)],'onStreamUpdate':_0x1d7afe[_0x35022d(0x18a)]||(()=>{})};}async[_0x21df98(0x173)]({document:_0x2fdd96,targetElement:_0x58e441,abortSignal:_0x2b84dd}){const _0x14a158=_0x21df98;this[_0x14a158(0x17f)]&&this[_0x14a158(0x17e)](),_0x2b84dd?.[_0x14a158(0x183)](_0x14a158(0x172),this[_0x14a158(0x17e)][_0x14a158(0x181)](this)),this[_0x14a158(0x189)]=_0x47ff1e(_0x2fdd96,!0x0),this[_0x14a158(0x18e)]=this[_0x14a158(0x176)](),this[_0x14a158(0x17f)]=!0x0,this[_0x14a158(0x1aa)]>this[_0x14a158(0x18e)][_0x14a158(0x18d)]&&(this[_0x14a158(0x1aa)]=this[_0x14a158(0x18e)][_0x14a158(0x18d)]);for(let _0x5174bc=0x0;_0x5174bc<this[_0x14a158(0x1aa)];_0x5174bc++)this[_0x14a158(0x18e)][_0x5174bc][_0x14a158(0x175)]=!0x0;do{const _0x380a42=Date[_0x14a158(0x17d)](),_0x6f98d9=this[_0x14a158(0x18e)][this[_0x14a158(0x1aa)]],_0x20e807=_0x380a42-this[_0x14a158(0x19c)];if(_0x6f98d9){_0x6f98d9[_0x14a158(0x175)]=!0x0;let _0x3ec522=_0x6f98d9[_0x14a158(0x19b)];for(;_0x3ec522;)_0x3ec522[_0x14a158(0x175)]=!0x0,_0x3ec522=_0x3ec522[_0x14a158(0x19b)];}if(_0x20e807<this[_0x14a158(0x192)][_0x14a158(0x187)])try{const {promise:_0x198f28,abortController:_0x25399e}=Ds(this[_0x14a158(0x192)][_0x14a158(0x187)]-_0x20e807);this[_0x14a158(0x19d)]=_0x25399e,await _0x198f28;}catch(_0x51429f){return;}_0xc2b523(_0x58e441,'<'+_0x58e441[_0x14a158(0x16f)]+'>'+this[_0x14a158(0x1a4)](this[_0x14a158(0x189)])+'</'+_0x58e441[_0x14a158(0x16f)]+'>',{'childrenOnly':!0x0}),this[_0x14a158(0x192)][_0x14a158(0x18a)]&&this[_0x14a158(0x192)][_0x14a158(0x18a)](),this[_0x14a158(0x1aa)]++,this[_0x14a158(0x19c)]=Date[_0x14a158(0x17d)]();}while(this[_0x14a158(0x1aa)]<this[_0x14a158(0x18e)][_0x14a158(0x18d)]);this[_0x14a158(0x1aa)]=this[_0x14a158(0x18e)][_0x14a158(0x18d)],this[_0x14a158(0x17f)]=!0x1;}[_0x21df98(0x185)](){const _0x3bd7d0=_0x21df98;this[_0x3bd7d0(0x17f)]=!0x1,this[_0x3bd7d0(0x189)]=null,this[_0x3bd7d0(0x18e)]=[],this[_0x3bd7d0(0x1aa)]=0x0,this[_0x3bd7d0(0x19d)]=null;}[_0x21df98(0x16e)]({targetElement:_0x3f6cc3}){const _0x734af1=_0x21df98;Array[_0x734af1(0x1a5)](_0x3f6cc3[_0x734af1(0x179)](_0x734af1(0x1a3)))[_0x734af1(0x18c)]()[_0x734af1(0x198)](_0x1a5cba=>{const _0x567125=_0x734af1;_0x1a5cba[_0x567125(0x199)](_0x1a5cba[_0x567125(0x197)][0x0]);});}[_0x21df98(0x17e)](){const _0x256bbc=_0x21df98;this[_0x256bbc(0x17f)]=!0x1,this[_0x256bbc(0x19d)]&&(this[_0x256bbc(0x19d)][_0x256bbc(0x172)](),this[_0x256bbc(0x19d)]=null);}[_0x21df98(0x1a4)](_0x254cfb){const _0x2414ee=_0x21df98;let _0x3d6ef5='';if(function(_0x2dd753){return _0x45a610(_0x2dd753);}(_0x254cfb)){for(const _0x16a015 of _0x254cfb[_0x2414ee(0x191)])_0x3d6ef5+=this[_0x2414ee(0x1a4)](_0x16a015);}else{if(Ts(_0x254cfb)){if(!_0x254cfb[_0x2414ee(0x175)])return'';const _0x5eab6a=_0x254cfb,_0x1ef55e=Object[_0x2414ee(0x19f)](_0x5eab6a[_0x2414ee(0x195)])[_0x2414ee(0x174)](([_0x3f1940,_0x8481b])=>_0x3f1940+'=\x22'+_0x8481b+'\x22')[_0x2414ee(0x184)]('\x20');_0x3d6ef5+='<'+_0x5eab6a[_0x2414ee(0x16f)]+(_0x1ef55e?'\x20'+_0x1ef55e:'')+'>';for(const _0x1e9444 of _0xfac8f(_0x5eab6a))_0x3d6ef5+=this[_0x2414ee(0x1a4)](_0x1e9444);_0x3d6ef5+='</'+_0x5eab6a[_0x2414ee(0x16f)]+'>';}else{if(!Ss(_0x254cfb))return'';if(!_0x254cfb[_0x2414ee(0x175)])return'';!function(_0x3ce819){const _0x14952a=_0x2414ee;if(!_0x3ce819[_0x14952a(0x19b)]||!Ts(_0x3ce819[_0x14952a(0x19b)]))return!0x1;if(!ys[_0x14952a(0x171)](_0x3ce819[_0x14952a(0x19b)][_0x14952a(0x16f)]))return!0x1;return!_0x12d2a9(_0x3ce819)[_0x14952a(0x180)](/^\s*[<>]\s*$/);}(_0x254cfb)?_0x3d6ef5+=_0x225fe6(_0x254cfb):_0x3d6ef5+=_0x225fe6(new _0x16cfaa(_0x2414ee(0x196),{'data-ck-html-streamer-word-chunk':'','style':this[_0x2414ee(0x192)][_0x2414ee(0x170)]},[_0x254cfb]));}}return _0x3d6ef5;}[_0x21df98(0x176)](){const _0x165ba2=_0x21df98,_0x5deb71=[];return function(_0x18011c,_0x4fa625){const _0x4f0fb5=_0x2f3f,_0x58c6cd=_0x163756=>{const _0x4adeac=_0x2f3f;if(_0x4fa625(_0x163756),_0x163756 instanceof _0x3302ee)for(let _0x47c1e1=0x0;_0x47c1e1<_0x163756[_0x4adeac(0x191)][_0x4adeac(0x18d)];_0x47c1e1++){const _0x444dd1=_0x163756[_0x4adeac(0x191)][_0x47c1e1];_0x58c6cd(_0x444dd1);}};for(let _0x3ebffe=0x0;_0x3ebffe<_0x18011c[_0x4f0fb5(0x191)][_0x4f0fb5(0x18d)];_0x3ebffe++)_0x58c6cd(_0x18011c[_0x4f0fb5(0x191)][_0x3ebffe]);}(this[_0x165ba2(0x189)],_0x9097b=>{const _0x50227b=_0x165ba2;if(Ss(_0x9097b)){const _0x34de81=this[_0x50227b(0x190)](_0x9097b);_0x34de81[_0x50227b(0x18d)]&&_0x5deb71[_0x50227b(0x17a)](..._0x34de81);}_0x9097b[_0x50227b(0x182)]||_0x9097b[_0x50227b(0x188)]||_0x5deb71[_0x50227b(0x17a)](_0x9097b);}),_0x5deb71;}[_0x21df98(0x190)](_0x2126b1){const _0x5e1a1a=_0x21df98;if(_0x2126b1[_0x5e1a1a(0x182)]||_0x2126b1[_0x5e1a1a(0x188)])return[];const _0x200b4a=_0x12d2a9(_0x2126b1)[_0x5e1a1a(0x180)](/(?:\s*\S+\s*)/g),_0xd608ee=[];if(_0x200b4a&&_0x200b4a[_0x5e1a1a(0x18d)]>0x1){for(const _0x2829f1 of _0x200b4a){const _0x3301d1=new _0xaafbfa(_0x2829f1);_0x3301d1[_0x5e1a1a(0x188)]=!0x0,_0x40426f(_0x2126b1,_0x3301d1),_0xd608ee[_0x5e1a1a(0x17a)](_0x3301d1);}_0x2126b1[_0x5e1a1a(0x182)]=!0x0,_0x46bee4(_0x2126b1);}return _0xd608ee;}}function _0x1952(){const _0x5c8879=['renderNode','from','sup','ins','1270593wcwxSE','signal','currentIndex','2285780xDraeP','cleanUpAnimations','tagName','textNodeStyle','includes','abort','stream','map','shouldBeStreamed','getParsedDocumentNodeList','del','3780800RxDhnU','querySelectorAll','push','6OFrtmV','10rMfhdp','now','stop','isStreaming','match','bind','isWordSplitSource','addEventListener','join','reset','div','delay','isWordSplitResult','document','onStreamUpdate','10IcbCCX','reverse','length','nodesList','1571870XJexrl','splitTextNodeIntoWordNodes','children','options','code','1778908Lxpefc','attribs','span','childNodes','forEach','replaceWith','strong','parent','lastUpdateTime','timeoutAbortController','mark','entries','690804NuxAmL','151492AOjFkG','sub','span[data-ck-html-streamer-word-chunk]'];_0x1952=function(){return _0x5c8879;};return _0x1952();}function _0x2f3f(_0x1312dc,_0x411ca2){const _0x1952f7=_0x1952();return _0x2f3f=function(_0x2f3f01,_0x7ba637){_0x2f3f01=_0x2f3f01-0x16e;let _0x5f5b03=_0x1952f7[_0x2f3f01];return _0x5f5b03;},_0x2f3f(_0x1312dc,_0x411ca2);}const ys=['p','li','td','th',_0x21df98(0x196),'h1','h2','h3','h4','h5','h6','b',_0x21df98(0x19a),'i','em',_0x21df98(0x19e),_0x21df98(0x177),_0x21df98(0x1a7),_0x21df98(0x1a6),_0x21df98(0x1a2),'a',_0x21df98(0x193),_0x21df98(0x186)];function Ss(_0x2ff68f){return _0x2a42eb(_0x2ff68f);}function Ts(_0x39d5b0){return _0x4b99f6(_0x39d5b0);}function Ds(_0x4ed677){const _0x295299=new AbortController();return{'promise':new Promise((_0x42028c,_0x18c491)=>{const _0x5b6517=_0x2f3f,_0x101a53=setTimeout(_0x42028c,_0x4ed677);_0x295299[_0x5b6517(0x1a9)][_0x5b6517(0x183)](_0x5b6517(0x172),()=>{clearTimeout(_0x101a53),_0x18c491();});}),'abortController':_0x295299};}
23
+ const _0x3553df=_0x181a;(function(_0xbe372a,_0x3d5dbe){const _0x50c506=_0x181a,_0x3352b2=_0xbe372a();while(!![]){try{const _0x2c4586=-parseInt(_0x50c506(0x1a9))/0x1+-parseInt(_0x50c506(0x1d5))/0x2+-parseInt(_0x50c506(0x1ca))/0x3*(parseInt(_0x50c506(0x1b4))/0x4)+-parseInt(_0x50c506(0x1b7))/0x5+-parseInt(_0x50c506(0x1de))/0x6*(parseInt(_0x50c506(0x1b3))/0x7)+-parseInt(_0x50c506(0x1d6))/0x8+parseInt(_0x50c506(0x1b9))/0x9*(parseInt(_0x50c506(0x1bb))/0xa);if(_0x2c4586===_0x3d5dbe)break;else _0x3352b2['push'](_0x3352b2['shift']());}catch(_0x1228b2){_0x3352b2['push'](_0x3352b2['shift']());}}}(_0x2ac3,0x47ec4));import _0x43a99b from'morphdom';import{NodeWithChildren as _0x509c65,Text as _0x4ad02d,Element as _0x5e6e1b,isText as _0x6e6f8,isDocument as _0x36195a,isTag as _0x21c7ac,cloneNode as _0x5712c4,getChildren as _0x5cbf04,prepend as _0x2615b2,removeElement as _0x3d8417,textContent as _0x3af72d,render as _0x37e2e3}from'./htmlparser.js';export class HTMLStreamer{[_0x3553df(0x1bc)];[_0x3553df(0x1c0)]=!0x1;[_0x3553df(0x1af)]=null;[_0x3553df(0x1a4)]=[];[_0x3553df(0x1ce)]=0x0;[_0x3553df(0x1c4)]=null;[_0x3553df(0x1c1)]=0x0;constructor(_0x379ed5){const _0x39131e=_0x3553df;this[_0x39131e(0x1bc)]={'delay':_0x379ed5[_0x39131e(0x1ba)]??0x14,'textNodeStyle':_0x379ed5[_0x39131e(0x1a2)],'onStreamUpdate':_0x379ed5[_0x39131e(0x1c6)]||(()=>{})};}async[_0x3553df(0x1ac)]({document:_0x12296d,targetElement:_0x14d6d2,abortSignal:_0xdc0951}){const _0x4cc13d=_0x3553df;this[_0x4cc13d(0x1c0)]&&this[_0x4cc13d(0x1d0)](),_0xdc0951?.[_0x4cc13d(0x1ab)](_0x4cc13d(0x1b2),this[_0x4cc13d(0x1d0)][_0x4cc13d(0x1d2)](this)),this[_0x4cc13d(0x1af)]=_0x5712c4(_0x12296d,!0x0),this[_0x4cc13d(0x1a4)]=this[_0x4cc13d(0x1d4)](),this[_0x4cc13d(0x1c0)]=!0x0,this[_0x4cc13d(0x1ce)]>this[_0x4cc13d(0x1a4)][_0x4cc13d(0x1c5)]&&(this[_0x4cc13d(0x1ce)]=this[_0x4cc13d(0x1a4)][_0x4cc13d(0x1c5)]);for(let _0x4fcddf=0x0;_0x4fcddf<this[_0x4cc13d(0x1ce)];_0x4fcddf++)this[_0x4cc13d(0x1a4)][_0x4fcddf][_0x4cc13d(0x1d3)]=!0x0;do{const _0x3e8150=Date[_0x4cc13d(0x1df)](),_0x3aae89=this[_0x4cc13d(0x1a4)][this[_0x4cc13d(0x1ce)]],_0x421576=_0x3e8150-this[_0x4cc13d(0x1c1)];if(_0x3aae89){_0x3aae89[_0x4cc13d(0x1d3)]=!0x0;let _0x405bac=_0x3aae89[_0x4cc13d(0x1cf)];for(;_0x405bac;)_0x405bac[_0x4cc13d(0x1d3)]=!0x0,_0x405bac=_0x405bac[_0x4cc13d(0x1cf)];}if(_0x421576<this[_0x4cc13d(0x1bc)][_0x4cc13d(0x1ba)])try{const {promise:_0x1b9a2f,abortController:_0x3c4ae9}=Ts(this[_0x4cc13d(0x1bc)][_0x4cc13d(0x1ba)]-_0x421576);this[_0x4cc13d(0x1c4)]=_0x3c4ae9,await _0x1b9a2f;}catch(_0x456f5a){return;}_0x43a99b(_0x14d6d2,'<'+_0x14d6d2[_0x4cc13d(0x1cb)]+'>'+this[_0x4cc13d(0x1a6)](this[_0x4cc13d(0x1af)])+'</'+_0x14d6d2[_0x4cc13d(0x1cb)]+'>',{'childrenOnly':!0x0}),this[_0x4cc13d(0x1bc)][_0x4cc13d(0x1c6)]&&this[_0x4cc13d(0x1bc)][_0x4cc13d(0x1c6)](),this[_0x4cc13d(0x1ce)]++,this[_0x4cc13d(0x1c1)]=Date[_0x4cc13d(0x1df)]();}while(this[_0x4cc13d(0x1ce)]<this[_0x4cc13d(0x1a4)][_0x4cc13d(0x1c5)]);this[_0x4cc13d(0x1ce)]=this[_0x4cc13d(0x1a4)][_0x4cc13d(0x1c5)],this[_0x4cc13d(0x1c0)]=!0x1;}[_0x3553df(0x1d8)](){const _0x5a1d20=_0x3553df;this[_0x5a1d20(0x1c0)]=!0x1,this[_0x5a1d20(0x1af)]=null,this[_0x5a1d20(0x1a4)]=[],this[_0x5a1d20(0x1ce)]=0x0,this[_0x5a1d20(0x1c4)]=null;}[_0x3553df(0x1a3)]({targetElement:_0x39ca96}){const _0x1af782=_0x3553df;Array[_0x1af782(0x1c9)](_0x39ca96[_0x1af782(0x1cc)](_0x1af782(0x1da)))[_0x1af782(0x1be)]()[_0x1af782(0x1a8)](_0x20f354=>{const _0xd7bce6=_0x1af782;_0x20f354[_0xd7bce6(0x1d7)](_0x20f354[_0xd7bce6(0x1a5)][0x0]);});}[_0x3553df(0x1d0)](){const _0x38ee56=_0x3553df;this[_0x38ee56(0x1c0)]=!0x1,this[_0x38ee56(0x1c4)]&&(this[_0x38ee56(0x1c4)][_0x38ee56(0x1b2)](),this[_0x38ee56(0x1c4)]=null);}[_0x3553df(0x1a6)](_0x1eaa90){const _0x47a200=_0x3553df;let _0x142359='';if(function(_0x2e04a7){return _0x36195a(_0x2e04a7);}(_0x1eaa90)){for(const _0x41dff5 of _0x1eaa90[_0x47a200(0x1b8)])_0x142359+=this[_0x47a200(0x1a6)](_0x41dff5);}else{if(Ns(_0x1eaa90)){if(!_0x1eaa90[_0x47a200(0x1d3)])return'';const _0x574d93=_0x1eaa90,_0x54b281=Object[_0x47a200(0x1bf)](_0x574d93[_0x47a200(0x1a7)])[_0x47a200(0x1ae)](([_0x5db596,_0x36fec7])=>_0x5db596+'=\x22'+_0x36fec7+'\x22')[_0x47a200(0x1ad)]('\x20');_0x142359+='<'+_0x574d93[_0x47a200(0x1cb)]+(_0x54b281?'\x20'+_0x54b281:'')+'>';for(const _0x2b2c0b of _0x5cbf04(_0x574d93))_0x142359+=this[_0x47a200(0x1a6)](_0x2b2c0b);_0x142359+='</'+_0x574d93[_0x47a200(0x1cb)]+'>';}else{if(!Ss(_0x1eaa90))return'';if(!_0x1eaa90[_0x47a200(0x1d3)])return'';!function(_0x1248b6){const _0x1758c2=_0x47a200;if(!_0x1248b6[_0x1758c2(0x1cf)]||!Ns(_0x1248b6[_0x1758c2(0x1cf)]))return!0x1;if(!ys[_0x1758c2(0x1cd)](_0x1248b6[_0x1758c2(0x1cf)][_0x1758c2(0x1cb)]))return!0x1;return!_0x3af72d(_0x1248b6)[_0x1758c2(0x1c7)](/^\s*[<>]\s*$/);}(_0x1eaa90)?_0x142359+=_0x37e2e3(_0x1eaa90):_0x142359+=_0x37e2e3(new _0x5e6e1b(_0x47a200(0x1c8),{'data-ck-html-streamer-word-chunk':'','style':this[_0x47a200(0x1bc)][_0x47a200(0x1a2)]},[_0x1eaa90]));}}return _0x142359;}[_0x3553df(0x1d4)](){const _0x1e9ef6=_0x3553df,_0x42798e=[];return function(_0x271872,_0x379c26){const _0x583b17=_0x181a,_0x1daefb=_0x52befc=>{const _0x36078b=_0x181a;if(_0x379c26(_0x52befc),_0x52befc instanceof _0x509c65)for(let _0xe60fc9=0x0;_0xe60fc9<_0x52befc[_0x36078b(0x1b8)][_0x36078b(0x1c5)];_0xe60fc9++){const _0x3ac885=_0x52befc[_0x36078b(0x1b8)][_0xe60fc9];_0x1daefb(_0x3ac885);}};for(let _0x20fd62=0x0;_0x20fd62<_0x271872[_0x583b17(0x1b8)][_0x583b17(0x1c5)];_0x20fd62++)_0x1daefb(_0x271872[_0x583b17(0x1b8)][_0x20fd62]);}(this[_0x1e9ef6(0x1af)],_0x38454e=>{const _0x44e2ff=_0x1e9ef6;if(Ss(_0x38454e)){const _0x2096a8=this[_0x44e2ff(0x1b1)](_0x38454e);_0x2096a8[_0x44e2ff(0x1c5)]&&_0x42798e[_0x44e2ff(0x1b5)](..._0x2096a8);}_0x38454e[_0x44e2ff(0x1d1)]||_0x38454e[_0x44e2ff(0x1dc)]||_0x42798e[_0x44e2ff(0x1b5)](_0x38454e);}),_0x42798e;}[_0x3553df(0x1b1)](_0x596023){const _0x4743b9=_0x3553df;if(_0x596023[_0x4743b9(0x1d1)]||_0x596023[_0x4743b9(0x1dc)])return[];const _0x4a745a=_0x3af72d(_0x596023)[_0x4743b9(0x1c7)](/(?:\s*\S+\s*)/g),_0x2ad803=[];if(_0x4a745a&&_0x4a745a[_0x4743b9(0x1c5)]>0x1){for(const _0x2e4383 of _0x4a745a){const _0x4a68b1=new _0x4ad02d(_0x2e4383);_0x4a68b1[_0x4743b9(0x1dc)]=!0x0,_0x2615b2(_0x596023,_0x4a68b1),_0x2ad803[_0x4743b9(0x1b5)](_0x4a68b1);}_0x596023[_0x4743b9(0x1d1)]=!0x0,_0x3d8417(_0x596023);}return _0x2ad803;}}function _0x2ac3(){const _0xbe4ffe=['reset','ins','span[data-ck-html-streamer-word-chunk]','signal','isWordSplitResult','del','6Yanjwo','now','textNodeStyle','cleanUpAnimations','nodesList','childNodes','renderNode','attribs','forEach','287256bazKka','sup','addEventListener','stream','join','map','document','strong','splitTextNodeIntoWordNodes','abort','2584645aLzYij','837380fXJpCO','push','sub','1415445MHPqrx','children','9MGJBcK','delay','21616750zXqkWh','options','code','reverse','entries','isStreaming','lastUpdateTime','div','mark','timeoutAbortController','length','onStreamUpdate','match','span','from','3nhlSLh','tagName','querySelectorAll','includes','currentIndex','parent','stop','isWordSplitSource','bind','shouldBeStreamed','getParsedDocumentNodeList','283946zBGTEt','4609448jRpeDp','replaceWith'];_0x2ac3=function(){return _0xbe4ffe;};return _0x2ac3();}const ys=['p','li','td','th',_0x3553df(0x1c8),'h1','h2','h3','h4','h5','h6','b',_0x3553df(0x1b0),'i','em',_0x3553df(0x1c3),_0x3553df(0x1dd),_0x3553df(0x1d9),_0x3553df(0x1aa),_0x3553df(0x1b6),'a',_0x3553df(0x1bd),_0x3553df(0x1c2)];function _0x181a(_0x976603,_0x4f9757){const _0x2ac354=_0x2ac3();return _0x181a=function(_0x181a0c,_0x4817f8){_0x181a0c=_0x181a0c-0x1a2;let _0x41f5de=_0x2ac354[_0x181a0c];return _0x41f5de;},_0x181a(_0x976603,_0x4f9757);}function Ss(_0x5a4435){return _0x6e6f8(_0x5a4435);}function Ns(_0x15f3b3){return _0x21c7ac(_0x15f3b3);}function Ts(_0x516e3f){const _0x9cb3d4=new AbortController();return{'promise':new Promise((_0x3794ec,_0x4960b3)=>{const _0x207803=_0x181a,_0xfcedcf=setTimeout(_0x3794ec,_0x516e3f);_0x9cb3d4[_0x207803(0x1db)][_0x207803(0x1ab)](_0x207803(0x1b2),()=>{clearTimeout(_0xfcedcf),_0x4960b3();});}),'abortController':_0x9cb3d4};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x358815=_0x3de1;(function(_0x5c72ec,_0x2ed863){var _0x42eb9f=_0x3de1,_0x444601=_0x5c72ec();while(!![]){try{var _0x3b260e=-parseInt(_0x42eb9f(0x1dc))/0x1+parseInt(_0x42eb9f(0x1d8))/0x2+parseInt(_0x42eb9f(0x1d9))/0x3*(-parseInt(_0x42eb9f(0x1d5))/0x4)+-parseInt(_0x42eb9f(0x1d6))/0x5+parseInt(_0x42eb9f(0x1d7))/0x6+parseInt(_0x42eb9f(0x1dd))/0x7+-parseInt(_0x42eb9f(0x1df))/0x8*(parseInt(_0x42eb9f(0x1d3))/0x9);if(_0x3b260e===_0x2ed863)break;else _0x444601['push'](_0x444601['shift']());}catch(_0x2f8915){_0x444601['push'](_0x444601['shift']());}}}(_0xbf51,0xab4e7));import{Plugin as _0x53aaa5}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x495028}from'./aitogglebutton/aitogglebuttonui.js';function _0x3de1(_0x39c622,_0x1e9c40){var _0xbf5198=_0xbf51();return _0x3de1=function(_0x3de1a3,_0x35b3c4){_0x3de1a3=_0x3de1a3-0x1d3;var _0x28ae28=_0xbf5198[_0x3de1a3];return _0x28ae28;},_0x3de1(_0x39c622,_0x1e9c40);}import{AIChatBalloon as _0x5c9a5c}from'../aichat/aichatballoon.js';function _0xbf51(){var _0x3921ee=['isPremiumPlugin','8960bcUNeq','5101873WZxsxP','AIEditorIntegration','1561336ezaSzw','isOfficialPlugin','18OhsGEK','requires','131812VhhtFV','3384130DWVGlC','5651112RzJqwy','2125474JXcMfm','87QxCdRc','pluginName'];_0xbf51=function(){return _0x3921ee;};return _0xbf51();}import{SuggestionsConversion as _0xeb1074}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x53aaa5{static get[_0x358815(0x1d4)](){return[_0x495028,_0x5c9a5c,_0xeb1074];}static get[_0x358815(0x1da)](){var _0x409386=_0x358815;return _0x409386(0x1de);}static get[_0x358815(0x1e0)](){return!0x0;}static get[_0x358815(0x1db)](){return!0x0;}}
23
+ var _0x269b5c=_0x419c;function _0x419c(_0x49a18f,_0x44ab6c){var _0x18499c=_0x1849();return _0x419c=function(_0x419c8b,_0x551df5){_0x419c8b=_0x419c8b-0x108;var _0x481d55=_0x18499c[_0x419c8b];return _0x481d55;},_0x419c(_0x49a18f,_0x44ab6c);}(function(_0x435273,_0x3b8ca4){var _0x41e6c7=_0x419c,_0x22419d=_0x435273();while(!![]){try{var _0x1c7139=-parseInt(_0x41e6c7(0x116))/0x1+parseInt(_0x41e6c7(0x108))/0x2*(parseInt(_0x41e6c7(0x114))/0x3)+-parseInt(_0x41e6c7(0x10f))/0x4*(parseInt(_0x41e6c7(0x113))/0x5)+parseInt(_0x41e6c7(0x109))/0x6*(parseInt(_0x41e6c7(0x118))/0x7)+parseInt(_0x41e6c7(0x10b))/0x8*(parseInt(_0x41e6c7(0x111))/0x9)+-parseInt(_0x41e6c7(0x10a))/0xa+-parseInt(_0x41e6c7(0x110))/0xb*(-parseInt(_0x41e6c7(0x10d))/0xc);if(_0x1c7139===_0x3b8ca4)break;else _0x22419d['push'](_0x22419d['shift']());}catch(_0x425fc3){_0x22419d['push'](_0x22419d['shift']());}}}(_0x1849,0xaa396));import{Plugin as _0x4c506c}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x413086}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x3be4b9}from'../aichat/aichatballoon.js';function _0x1849(){var _0x137ad2=['58928cpmgpY','requires','6161136VkXNyC','pluginName','334132TUAipt','33sFFJqN','1638hvFgNb','isOfficialPlugin','55Mbqppv','429zqRQMY','AIEditorIntegration','1255119NZkZzC','isPremiumPlugin','290171yCkIYW','164mjTqGR','6jnGHSS','628550pSENAW'];_0x1849=function(){return _0x137ad2;};return _0x1849();}import{SuggestionsConversion as _0x50fe3a}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x4c506c{static get[_0x269b5c(0x10c)](){return[_0x413086,_0x3be4b9,_0x50fe3a];}static get[_0x269b5c(0x10e)](){var _0x39d898=_0x269b5c;return _0x39d898(0x115);}static get[_0x269b5c(0x112)](){return!0x0;}static get[_0x269b5c(0x117)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x450c23=_0x2e04;(function(_0x342fc5,_0x8e2e50){const _0x5b9cc5=_0x2e04,_0xf30525=_0x342fc5();while(!![]){try{const _0x28db2d=parseInt(_0x5b9cc5(0x13c))/0x1+parseInt(_0x5b9cc5(0x11c))/0x2+parseInt(_0x5b9cc5(0x13b))/0x3+-parseInt(_0x5b9cc5(0x124))/0x4*(-parseInt(_0x5b9cc5(0x133))/0x5)+-parseInt(_0x5b9cc5(0x135))/0x6*(parseInt(_0x5b9cc5(0x13d))/0x7)+parseInt(_0x5b9cc5(0x121))/0x8+parseInt(_0x5b9cc5(0x13a))/0x9*(-parseInt(_0x5b9cc5(0x137))/0xa);if(_0x28db2d===_0x8e2e50)break;else _0xf30525['push'](_0xf30525['shift']());}catch(_0x1a0a04){_0xf30525['push'](_0xf30525['shift']());}}}(_0x3ff2,0x8c572));import{Plugin as _0x1f2105}from'ckeditor5/src/core.js';import{ToggleAICommand as _0xea786d}from'./toggleaicommand.js';function _0x3ff2(){const _0x1f454e=['4466802lmnYvJ','add','4615610MofFVI','menuitemcheckbox','locale','45fFNXkz','2115216LnxPdY','375751OCiVRW','7ngThSh','get','1971710IbwMtL','editor','isPremiumPlugin','pluginName','AI_TOGGLE_BUTTON_LABEL','7577120jpvEyd','value','commands','4HiAoyL','componentFactory','toggleAi','isOn','AIToggleButtonUI','execute','set','_createAIUIButton','menuBar:toggleAi','ck-ai-toggle-button','isEnabled','requires','init','isOfficialPlugin','bind','3066440TsYDUT','listenTo'];_0x3ff2=function(){return _0x1f454e;};return _0x3ff2();}import{ButtonView as _0x1c74b1,MenuBarMenuListItemButtonView as _0x511bf2}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x33f32b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4f2013}from'../../aicore/utils/common-translations.js';import{AITabs as _0x2dafe7}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x2e04(_0x2a98e8,_0x23e6d1){const _0x3ff289=_0x3ff2();return _0x2e04=function(_0x2e0459,_0x38f6d6){_0x2e0459=_0x2e0459-0x11b;let _0x106548=_0x3ff289[_0x2e0459];return _0x106548;},_0x2e04(_0x2a98e8,_0x23e6d1);}export class AIToggleButtonUI extends _0x1f2105{static get[_0x450c23(0x12f)](){return[_0x2dafe7];}static get[_0x450c23(0x11f)](){const _0x128b25=_0x450c23;return _0x128b25(0x128);}static get[_0x450c23(0x131)](){return!0x0;}static get[_0x450c23(0x11e)](){return!0x0;}[_0x450c23(0x130)](){const _0x24e9cd=_0x450c23,_0x36ca5d=this[_0x24e9cd(0x11d)];_0x36ca5d[_0x24e9cd(0x123)][_0x24e9cd(0x136)](_0x24e9cd(0x126),new _0xea786d(_0x36ca5d)),_0x36ca5d['ui'][_0x24e9cd(0x125)][_0x24e9cd(0x136)](_0x24e9cd(0x126),()=>{const _0xc40086=_0x24e9cd,_0x387c8a=this[_0xc40086(0x12b)](_0x1c74b1);return _0x387c8a[_0xc40086(0x12a)]({'tooltip':!0x0,'class':_0xc40086(0x12d)}),_0x387c8a;}),_0x36ca5d['ui'][_0x24e9cd(0x125)][_0x24e9cd(0x136)](_0x24e9cd(0x12c),()=>{const _0x20e13b=_0x24e9cd,_0x207e65=this[_0x20e13b(0x12b)](_0x511bf2);return _0x207e65[_0x20e13b(0x12a)]({'role':_0x20e13b(0x138)}),_0x207e65;});}[_0x450c23(0x12b)](_0x3c32a2){const _0x42c850=_0x450c23,_0x406bf8=this[_0x42c850(0x11d)],_0x20f1ad=_0x406bf8[_0x42c850(0x123)][_0x42c850(0x11b)](_0x42c850(0x126)),_0x269953=new _0x3c32a2(_0x406bf8[_0x42c850(0x139)]);return _0x269953[_0x42c850(0x12a)]({'label':_0x4f2013(_0x406bf8[_0x42c850(0x139)],_0x42c850(0x120)),'icon':_0x33f32b,'isToggleable':!0x0}),_0x269953[_0x42c850(0x132)](_0x42c850(0x12e))['to'](_0x20f1ad),_0x269953[_0x42c850(0x132)](_0x42c850(0x127))['to'](_0x20f1ad,_0x42c850(0x122),_0x283c4f=>!!_0x283c4f),this[_0x42c850(0x134)](_0x269953,_0x42c850(0x129),()=>{const _0x356ca3=_0x42c850;_0x20f1ad[_0x356ca3(0x129)]();}),_0x269953;}}
23
+ function _0x3280(_0x275e50,_0x17705d){const _0x48b40a=_0x48b4();return _0x3280=function(_0x3280ad,_0x188deb){_0x3280ad=_0x3280ad-0x18c;let _0xdac8b3=_0x48b40a[_0x3280ad];return _0xdac8b3;},_0x3280(_0x275e50,_0x17705d);}const _0x589756=_0x3280;(function(_0x320d4a,_0x2e8aa9){const _0xc873=_0x3280,_0x38db26=_0x320d4a();while(!![]){try{const _0x588717=parseInt(_0xc873(0x18c))/0x1*(-parseInt(_0xc873(0x18f))/0x2)+parseInt(_0xc873(0x18e))/0x3*(-parseInt(_0xc873(0x198))/0x4)+-parseInt(_0xc873(0x19f))/0x5*(-parseInt(_0xc873(0x1ac))/0x6)+parseInt(_0xc873(0x192))/0x7+parseInt(_0xc873(0x18d))/0x8*(parseInt(_0xc873(0x1a6))/0x9)+-parseInt(_0xc873(0x1aa))/0xa+-parseInt(_0xc873(0x1a4))/0xb;if(_0x588717===_0x2e8aa9)break;else _0x38db26['push'](_0x38db26['shift']());}catch(_0x4e505c){_0x38db26['push'](_0x38db26['shift']());}}}(_0x48b4,0x5c758));import{Plugin as _0x3e2d73}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x5d6542}from'./toggleaicommand.js';import{ButtonView as _0x4d21a0,MenuBarMenuListItemButtonView as _0x104f34}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x2372db}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1164f6}from'../../aicore/utils/common-translations.js';import{AITabs as _0xaf9058}from'../../aitabs/aitabs.js';function _0x48b4(){const _0x4fe373=['get','isPremiumPlugin','menuBar:toggleAi','1lMuvTI','309328wDvflU','3TmlhpR','777220vPsjGE','requires','toggleAi','2056593kfALYK','editor','componentFactory','add','menuitemcheckbox','value','407620MTJYSc','set','bind','commands','execute','isOfficialPlugin','init','1089895OpFmfq','locale','isOn','AI_TOGGLE_BUTTON_LABEL','isEnabled','2312541aYzMDH','listenTo','72kaKhRc','AIToggleButtonUI','pluginName','ck-ai-toggle-button','1776060qrXDiC','_createAIUIButton','18ppFsZA'];_0x48b4=function(){return _0x4fe373;};return _0x48b4();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3e2d73{static get[_0x589756(0x190)](){return[_0xaf9058];}static get[_0x589756(0x1a8)](){const _0x2ff656=_0x589756;return _0x2ff656(0x1a7);}static get[_0x589756(0x19d)](){return!0x0;}static get[_0x589756(0x1ae)](){return!0x0;}[_0x589756(0x19e)](){const _0x2793d7=_0x589756,_0x1379c1=this[_0x2793d7(0x193)];_0x1379c1[_0x2793d7(0x19b)][_0x2793d7(0x195)](_0x2793d7(0x191),new _0x5d6542(_0x1379c1)),_0x1379c1['ui'][_0x2793d7(0x194)][_0x2793d7(0x195)](_0x2793d7(0x191),()=>{const _0x566d39=_0x2793d7,_0xce6f7c=this[_0x566d39(0x1ab)](_0x4d21a0);return _0xce6f7c[_0x566d39(0x199)]({'tooltip':!0x0,'class':_0x566d39(0x1a9)}),_0xce6f7c;}),_0x1379c1['ui'][_0x2793d7(0x194)][_0x2793d7(0x195)](_0x2793d7(0x1af),()=>{const _0x42488b=_0x2793d7,_0x57948d=this[_0x42488b(0x1ab)](_0x104f34);return _0x57948d[_0x42488b(0x199)]({'role':_0x42488b(0x196)}),_0x57948d;});}[_0x589756(0x1ab)](_0x4cbd9b){const _0x5a656e=_0x589756,_0x3b2b4f=this[_0x5a656e(0x193)],_0x1a9324=_0x3b2b4f[_0x5a656e(0x19b)][_0x5a656e(0x1ad)](_0x5a656e(0x191)),_0x4e94f6=new _0x4cbd9b(_0x3b2b4f[_0x5a656e(0x1a0)]);return _0x4e94f6[_0x5a656e(0x199)]({'label':_0x1164f6(_0x3b2b4f[_0x5a656e(0x1a0)],_0x5a656e(0x1a2)),'icon':_0x2372db,'isToggleable':!0x0}),_0x4e94f6[_0x5a656e(0x19a)](_0x5a656e(0x1a3))['to'](_0x1a9324),_0x4e94f6[_0x5a656e(0x19a)](_0x5a656e(0x1a1))['to'](_0x1a9324,_0x5a656e(0x197),_0x4241ec=>!!_0x4241ec),this[_0x5a656e(0x1a5)](_0x4e94f6,_0x5a656e(0x19c),()=>{const _0x23cf73=_0x5a656e;_0x1a9324[_0x23cf73(0x19c)]();}),_0x4e94f6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x34cba8=_0xf47f;(function(_0x2f599c,_0x3682e8){var _0x19230a=_0xf47f,_0x52f421=_0x2f599c();while(!![]){try{var _0x5b7bae=-parseInt(_0x19230a(0xb2))/0x1*(-parseInt(_0x19230a(0xbb))/0x2)+-parseInt(_0x19230a(0xc3))/0x3*(-parseInt(_0x19230a(0xb7))/0x4)+parseInt(_0x19230a(0xbf))/0x5*(parseInt(_0x19230a(0xbe))/0x6)+-parseInt(_0x19230a(0xc6))/0x7*(-parseInt(_0x19230a(0xb3))/0x8)+-parseInt(_0x19230a(0xc4))/0x9+parseInt(_0x19230a(0xb5))/0xa*(-parseInt(_0x19230a(0xb8))/0xb)+parseInt(_0x19230a(0xbd))/0xc*(parseInt(_0x19230a(0xba))/0xd);if(_0x5b7bae===_0x3682e8)break;else _0x52f421['push'](_0x52f421['shift']());}catch(_0x5744fe){_0x52f421['push'](_0x52f421['shift']());}}}(_0xe9fb,0xdf4fd));import{Plugin as _0x489830}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1363de}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x1f3ceb}from'./aiquickactionsediting.js';function _0xf47f(_0x4d2981,_0x35aa9f){var _0xe9fb24=_0xe9fb();return _0xf47f=function(_0xf47f10,_0x5dd535){_0xf47f10=_0xf47f10-0xb2;var _0x1d81b6=_0xe9fb24[_0xf47f10];return _0x1d81b6;},_0xf47f(_0x4d2981,_0x35aa9f);}import{AIActions as _0x344a47}from'../aiactions/aiactions.js';function _0xe9fb(){var _0x19312d=['6sipDUI','3900555rEZssg','config','define','isPremiumPlugin','39831SXWGhT','14466096oUYkNh','ai.quickActions','7LqicLX','1294vpzbio','6261728VqAlJk','pluginName','10uMzaZK','isOfficialPlugin','220DDlRJi','10250680JZOSct','AIQuickActions','224809JRvXJD','1126iZKBFd','requires','300VJLTZa'];_0xe9fb=function(){return _0x19312d;};return _0xe9fb();}export class AIQuickActions extends _0x489830{static get[_0x34cba8(0xbc)](){return[_0x1363de,_0x1f3ceb,_0x344a47];}static get[_0x34cba8(0xb4)](){var _0x2a8a09=_0x34cba8;return _0x2a8a09(0xb9);}static get[_0x34cba8(0xb6)](){return!0x0;}static get[_0x34cba8(0xc2)](){return!0x0;}constructor(_0x5a01b2){var _0x26d0db=_0x34cba8;super(_0x5a01b2),_0x5a01b2[_0x26d0db(0xc0)][_0x26d0db(0xc1)](_0x26d0db(0xc5),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ var _0x3fc99a=_0x1b15;function _0x5441(){var _0x2a6f09=['6nwgLtv','701776iosRdz','define','528bKlRPN','requires','66239MvURus','2waScpA','3BgnKgy','1743770EDPGKa','AIQuickActions','126LCSDCs','692895oWCqTC','isPremiumPlugin','config','ai.quickActions','148312UCZsrt','pluginName','93863zMBpRo','359051oVtZAT','isOfficialPlugin'];_0x5441=function(){return _0x2a6f09;};return _0x5441();}(function(_0x3bff3f,_0x1621fd){var _0x41dadd=_0x1b15,_0x5296c5=_0x3bff3f();while(!![]){try{var _0x4b283d=-parseInt(_0x41dadd(0x67))/0x1*(parseInt(_0x41dadd(0x68))/0x2)+-parseInt(_0x41dadd(0x69))/0x3*(parseInt(_0x41dadd(0x77))/0x4)+parseInt(_0x41dadd(0x6d))/0x5*(-parseInt(_0x41dadd(0x76))/0x6)+parseInt(_0x41dadd(0x74))/0x7+-parseInt(_0x41dadd(0x71))/0x8*(-parseInt(_0x41dadd(0x6c))/0x9)+-parseInt(_0x41dadd(0x6a))/0xa+parseInt(_0x41dadd(0x73))/0xb*(parseInt(_0x41dadd(0x65))/0xc);if(_0x4b283d===_0x1621fd)break;else _0x5296c5['push'](_0x5296c5['shift']());}catch(_0x162892){_0x5296c5['push'](_0x5296c5['shift']());}}}(_0x5441,0x20244));import{Plugin as _0x3230c9}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x2b7529}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x194553}from'./aiquickactionsediting.js';import{AIActions as _0x2cdc55}from'../aiactions/aiactions.js';function _0x1b15(_0x594f77,_0x123370){var _0x5441b8=_0x5441();return _0x1b15=function(_0x1b1590,_0x2f78f8){_0x1b1590=_0x1b1590-0x65;var _0x32a14f=_0x5441b8[_0x1b1590];return _0x32a14f;},_0x1b15(_0x594f77,_0x123370);}export class AIQuickActions extends _0x3230c9{static get[_0x3fc99a(0x66)](){return[_0x2b7529,_0x194553,_0x2cdc55];}static get[_0x3fc99a(0x72)](){var _0x4db152=_0x3fc99a;return _0x4db152(0x6b);}static get[_0x3fc99a(0x75)](){return!0x0;}static get[_0x3fc99a(0x6e)](){return!0x0;}constructor(_0x57de4e){var _0x4b9ae4=_0x3fc99a;super(_0x57de4e),_0x57de4e[_0x4b9ae4(0x6f)][_0x4b9ae4(0x78)](_0x4b9ae4(0x70),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x135c83=_0x1dba;(function(_0x574e89,_0x5990fd){const _0x1f3955=_0x1dba,_0x32fcfd=_0x574e89();while(!![]){try{const _0x353ded=parseInt(_0x1f3955(0x137))/0x1*(-parseInt(_0x1f3955(0x10d))/0x2)+-parseInt(_0x1f3955(0x111))/0x3*(-parseInt(_0x1f3955(0x12e))/0x4)+parseInt(_0x1f3955(0x139))/0x5*(-parseInt(_0x1f3955(0x122))/0x6)+-parseInt(_0x1f3955(0x12c))/0x7+-parseInt(_0x1f3955(0x121))/0x8+parseInt(_0x1f3955(0x128))/0x9+-parseInt(_0x1f3955(0x114))/0xa*(-parseInt(_0x1f3955(0x10c))/0xb);if(_0x353ded===_0x5990fd)break;else _0x32fcfd['push'](_0x32fcfd['shift']());}catch(_0x3850da){_0x32fcfd['push'](_0x32fcfd['shift']());}}}(_0x2c08,0xeba07));import{Command as _0x144aea}from'ckeditor5/src/core.js';function _0x2c08(){const _0x15eedf=['get','locale','ai-quick-actions-plugin-not-found','prompt','actionName','change','_handleAIActionsAction','document','log','executeAction','_handleAIReviewAction','label','parent','args','79607FfhzhG','9254sSCKgJ','other','ACTION','view','875415gPgbNz','activeTab','_handleAIChatAction','1390vgWcMD','handleAIReviewAction','AIReviewMode','has','CHAT','schema','sendMessage','getSelectedBlocks','getLimitElement','execute','removeSelectionFromChatContext','REVIEW','icon','14055192ahDvqk','1643412gyADxv','setSelection','selection','chat','AIActions','focusPromptInput','6565869zlZxPz','_expandSelectionIfCollapsed','_handleAIActionsActionLabel','type','161413IcaTCW','AIChat','24MUXYJf','displayedPrompt','startConversation','ask-ai','editor','AIChatController','AITabs','plugins','model','101Ahhkpk','activateTab','5qFpwsY','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','isVisible','addSelectionToChatContext','isCollapsed'];_0x2c08=function(){return _0x15eedf;};return _0x2c08();}import{CKEditorError as _0x4012c8,first as _0x36eaf7}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x2685c7}from'./aiquickactionsui.js';function _0x1dba(_0x144076,_0x2ad7ed){const _0x2c0893=_0x2c08();return _0x1dba=function(_0x1dbabd,_0x2763fe){_0x1dbabd=_0x1dbabd-0x101;let _0x3958fa=_0x2c0893[_0x1dbabd];return _0x3958fa;},_0x1dba(_0x144076,_0x2ad7ed);}import{getTranslation as _0x28d6d7}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x144aea{[_0x135c83(0x11d)](_0x661f3){const _0x410ac2=_0x135c83;switch(this[_0x410ac2(0x129)](),_0x661f3[_0x410ac2(0x12b)]){case _0x2685c7[_0x410ac2(0x118)]:if(!this[_0x410ac2(0x132)][_0x410ac2(0x135)][_0x410ac2(0x117)](_0x410ac2(0x12d))){const _0x124bf9=_0x28d6d7(this[_0x410ac2(0x132)][_0x410ac2(0x13f)],_0x410ac2(0x13a),_0x410ac2(0x12d));throw new _0x4012c8(_0x410ac2(0x140),this[_0x410ac2(0x132)],{'errorMessage':_0x124bf9});}this[_0x410ac2(0x113)](_0x661f3);break;case _0x2685c7[_0x410ac2(0x10f)]:if(!this[_0x410ac2(0x132)][_0x410ac2(0x135)][_0x410ac2(0x117)](_0x410ac2(0x126))){const _0x4ea093=_0x28d6d7(this[_0x410ac2(0x132)][_0x410ac2(0x13f)],_0x410ac2(0x13a),_0x410ac2(0x126));throw new _0x4012c8(_0x410ac2(0x140),this[_0x410ac2(0x132)],{'errorMessage':_0x4ea093});}this[_0x410ac2(0x104)](_0x661f3);break;case _0x2685c7[_0x410ac2(0x11f)]:if(!this[_0x410ac2(0x132)][_0x410ac2(0x135)][_0x410ac2(0x117)](_0x410ac2(0x116))){const _0x3092b6=_0x28d6d7(this[_0x410ac2(0x132)][_0x410ac2(0x13f)],_0x410ac2(0x13a),_0x410ac2(0x116));throw new _0x4012c8(_0x410ac2(0x140),this[_0x410ac2(0x132)],{'errorMessage':_0x3092b6});}this[_0x410ac2(0x108)](_0x661f3);}}async[_0x135c83(0x113)](_0x3106b2){const _0xcc504c=_0x135c83,_0x1f0562=this[_0xcc504c(0x132)][_0xcc504c(0x135)][_0xcc504c(0x13e)](_0xcc504c(0x12d)),_0x41b9f2=this[_0xcc504c(0x132)][_0xcc504c(0x135)][_0xcc504c(0x13e)](_0xcc504c(0x133)),_0x369d48=this[_0xcc504c(0x132)][_0xcc504c(0x135)][_0xcc504c(0x13e)](_0xcc504c(0x134))[_0xcc504c(0x110)];if(_0x369d48[_0xcc504c(0x13b)]||(_0x369d48[_0xcc504c(0x13b)]=!0x0),_0xcc504c(0x125)!==_0x369d48[_0xcc504c(0x112)]&&_0x369d48[_0xcc504c(0x138)](_0xcc504c(0x125)),_0xcc504c(0x131)===_0x3106b2['id'])_0x41b9f2[_0xcc504c(0x11e)](),await _0x1f0562[_0xcc504c(0x13c)](),_0x1f0562[_0xcc504c(0x127)]();else await _0x1f0562[_0xcc504c(0x130)](),_0x41b9f2[_0xcc504c(0x11e)](),await _0x1f0562[_0xcc504c(0x13c)](),_0x1f0562[_0xcc504c(0x127)](),await _0x1f0562[_0xcc504c(0x11a)]({'message':_0x3106b2[_0xcc504c(0x101)]||_0x3106b2[_0xcc504c(0x12f)],'attributes':{'quickActionData':{'id':_0x3106b2['id']},'displayedPrompt':_0x3106b2[_0xcc504c(0x12f)]}});}[_0x135c83(0x129)](){const _0x302960=_0x135c83,_0x3b8a51=this[_0x302960(0x132)],_0x3cc03b=_0x3b8a51[_0x302960(0x136)][_0x302960(0x105)][_0x302960(0x124)];if(!_0x3cc03b[_0x302960(0x13d)])return;const _0x24376a=_0x36eaf7(_0x3cc03b[_0x302960(0x11b)]())||_0x3b8a51[_0x302960(0x136)][_0x302960(0x119)][_0x302960(0x11c)](_0x3cc03b);_0x3b8a51[_0x302960(0x136)][_0x302960(0x103)](_0xdaaea9=>{const _0x25301c=_0x302960;_0xdaaea9[_0x25301c(0x123)](_0x24376a,'in');});}[_0x135c83(0x12a)](_0x1c5707){const _0x40b8d0=_0x135c83;return _0x1c5707[_0x40b8d0(0x10a)]?.[_0x40b8d0(0x109)]&&_0x40b8d0(0x10e)!==_0x1c5707[_0x40b8d0(0x10a)]?.['id']?_0x1c5707[_0x40b8d0(0x10a)][_0x40b8d0(0x109)]+':\x20'+_0x1c5707[_0x40b8d0(0x12f)]:_0x1c5707[_0x40b8d0(0x12f)];}async[_0x135c83(0x104)](_0x1ac8fa){const _0x1fea3a=_0x135c83,_0x545e86=this[_0x1fea3a(0x132)][_0x1fea3a(0x135)][_0x1fea3a(0x13e)](_0x1fea3a(0x126)),_0x4aaffa=_0x1ac8fa[_0x1fea3a(0x101)]?{'userMessage':_0x1ac8fa[_0x1fea3a(0x101)],'model':_0x1ac8fa[_0x1fea3a(0x136)]}:{'actionName':_0x1ac8fa[_0x1fea3a(0x102)]||_0x1ac8fa['id'],'args':_0x1ac8fa[_0x1fea3a(0x10b)]},_0x24b50b=this[_0x1fea3a(0x12a)](_0x1ac8fa);await _0x545e86[_0x1fea3a(0x107)](_0x4aaffa,_0x24b50b,_0x1ac8fa[_0x1fea3a(0x120)]);}async[_0x135c83(0x108)](_0x3ce5b8){const _0x4a1e02=_0x135c83;console[_0x4a1e02(0x106)](_0x4a1e02(0x115),_0x3ce5b8);}}
23
+ function _0x12b6(_0x1f01b1,_0x4305ff){const _0x2a1f2b=_0x2a1f();return _0x12b6=function(_0x12b623,_0x25f3b3){_0x12b623=_0x12b623-0xf6;let _0x5a5212=_0x2a1f2b[_0x12b623];return _0x5a5212;},_0x12b6(_0x1f01b1,_0x4305ff);}const _0xcb39dc=_0x12b6;function _0x2a1f(){const _0x4764cb=['get','view','AITabs','setSelection','startConversation','107391UnCFPB','removeSelectionFromChatContext','1172176TEeTlU','change','schema','plugins','addSelectionToChatContext','args','executeAction','424676lOKNER','ask-ai','execute','_handleAIChatAction','isVisible','_handleAIActionsActionLabel','chat','25pqSdKC','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','getLimitElement','317562HbuLrg','AIReviewMode','activateTab','icon','CHAT','parent','_handleAIReviewAction','AIChat','displayedPrompt','label','ai-quick-actions-plugin-not-found','handleAIReviewAction','6MUsGep','type','locale','171132WzwKwh','REVIEW','sendMessage','isCollapsed','focusPromptInput','activeTab','_expandSelectionIfCollapsed','selection','other','AIChatController','has','AIActions','model','log','editor','prompt','actionName','1001896FTMDvX','_handleAIActionsAction','document','getSelectedBlocks','6311304SWTPdl','ACTION'];_0x2a1f=function(){return _0x4764cb;};return _0x2a1f();}(function(_0x3c5fa3,_0x34b26c){const _0x4ea097=_0x12b6,_0x50b25e=_0x3c5fa3();while(!![]){try{const _0x5ece43=parseInt(_0x4ea097(0x111))/0x1+-parseInt(_0x4ea097(0x10e))/0x2*(parseInt(_0x4ea097(0x12d))/0x3)+-parseInt(_0x4ea097(0x122))/0x4+parseInt(_0x4ea097(0xff))/0x5*(-parseInt(_0x4ea097(0x102))/0x6)+parseInt(_0x4ea097(0xf8))/0x7+-parseInt(_0x4ea097(0x12f))/0x8+parseInt(_0x4ea097(0x126))/0x9;if(_0x5ece43===_0x34b26c)break;else _0x50b25e['push'](_0x50b25e['shift']());}catch(_0x349e2b){_0x50b25e['push'](_0x50b25e['shift']());}}}(_0x2a1f,0x280c2));import{Command as _0x322b72}from'ckeditor5/src/core.js';import{CKEditorError as _0x526958,first as _0xdbba8b}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x47fe19}from'./aiquickactionsui.js';import{getTranslation as _0x560a7f}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x322b72{[_0xcb39dc(0xfa)](_0x3334a9){const _0x3345db=_0xcb39dc;switch(this[_0x3345db(0x117)](),_0x3334a9[_0x3345db(0x10f)]){case _0x47fe19[_0x3345db(0x106)]:if(!this[_0x3345db(0x11f)][_0x3345db(0x132)][_0x3345db(0x11b)](_0x3345db(0x109))){const _0x4e732b=_0x560a7f(this[_0x3345db(0x11f)][_0x3345db(0x110)],_0x3345db(0x100),_0x3345db(0x109));throw new _0x526958(_0x3345db(0x10c),this[_0x3345db(0x11f)],{'errorMessage':_0x4e732b});}this[_0x3345db(0xfb)](_0x3334a9);break;case _0x47fe19[_0x3345db(0x127)]:if(!this[_0x3345db(0x11f)][_0x3345db(0x132)][_0x3345db(0x11b)](_0x3345db(0x11c))){const _0x4c4a5c=_0x560a7f(this[_0x3345db(0x11f)][_0x3345db(0x110)],_0x3345db(0x100),_0x3345db(0x11c));throw new _0x526958(_0x3345db(0x10c),this[_0x3345db(0x11f)],{'errorMessage':_0x4c4a5c});}this[_0x3345db(0x123)](_0x3334a9);break;case _0x47fe19[_0x3345db(0x112)]:if(!this[_0x3345db(0x11f)][_0x3345db(0x132)][_0x3345db(0x11b)](_0x3345db(0x103))){const _0x12012d=_0x560a7f(this[_0x3345db(0x11f)][_0x3345db(0x110)],_0x3345db(0x100),_0x3345db(0x103));throw new _0x526958(_0x3345db(0x10c),this[_0x3345db(0x11f)],{'errorMessage':_0x12012d});}this[_0x3345db(0x108)](_0x3334a9);}}async[_0xcb39dc(0xfb)](_0x5ba66d){const _0x4bd93a=_0xcb39dc,_0x23bc4b=this[_0x4bd93a(0x11f)][_0x4bd93a(0x132)][_0x4bd93a(0x128)](_0x4bd93a(0x109)),_0x24ec03=this[_0x4bd93a(0x11f)][_0x4bd93a(0x132)][_0x4bd93a(0x128)](_0x4bd93a(0x11a)),_0x3d5003=this[_0x4bd93a(0x11f)][_0x4bd93a(0x132)][_0x4bd93a(0x128)](_0x4bd93a(0x12a))[_0x4bd93a(0x129)];if(_0x3d5003[_0x4bd93a(0xfc)]||(_0x3d5003[_0x4bd93a(0xfc)]=!0x0),_0x4bd93a(0xfe)!==_0x3d5003[_0x4bd93a(0x116)]&&_0x3d5003[_0x4bd93a(0x104)](_0x4bd93a(0xfe)),_0x4bd93a(0xf9)===_0x5ba66d['id'])_0x24ec03[_0x4bd93a(0x12e)](),await _0x23bc4b[_0x4bd93a(0x133)](),_0x23bc4b[_0x4bd93a(0x115)]();else await _0x23bc4b[_0x4bd93a(0x12c)](),_0x24ec03[_0x4bd93a(0x12e)](),await _0x23bc4b[_0x4bd93a(0x133)](),_0x23bc4b[_0x4bd93a(0x115)](),await _0x23bc4b[_0x4bd93a(0x113)]({'message':_0x5ba66d[_0x4bd93a(0x120)]||_0x5ba66d[_0x4bd93a(0x10a)],'attributes':{'quickActionData':{'id':_0x5ba66d['id']},'displayedPrompt':_0x5ba66d[_0x4bd93a(0x10a)]}});}[_0xcb39dc(0x117)](){const _0xa8fee1=_0xcb39dc,_0x49c6ec=this[_0xa8fee1(0x11f)],_0x497106=_0x49c6ec[_0xa8fee1(0x11d)][_0xa8fee1(0x124)][_0xa8fee1(0x118)];if(!_0x497106[_0xa8fee1(0x114)])return;const _0xeba63b=_0xdbba8b(_0x497106[_0xa8fee1(0x125)]())||_0x49c6ec[_0xa8fee1(0x11d)][_0xa8fee1(0x131)][_0xa8fee1(0x101)](_0x497106);_0x49c6ec[_0xa8fee1(0x11d)][_0xa8fee1(0x130)](_0x571af4=>{const _0x4cb72f=_0xa8fee1;_0x571af4[_0x4cb72f(0x12b)](_0xeba63b,'in');});}[_0xcb39dc(0xfd)](_0x54a959){const _0x4ffce4=_0xcb39dc;return _0x54a959[_0x4ffce4(0x107)]?.[_0x4ffce4(0x10b)]&&_0x4ffce4(0x119)!==_0x54a959[_0x4ffce4(0x107)]?.['id']?_0x54a959[_0x4ffce4(0x107)][_0x4ffce4(0x10b)]+':\x20'+_0x54a959[_0x4ffce4(0x10a)]:_0x54a959[_0x4ffce4(0x10a)];}async[_0xcb39dc(0x123)](_0x3a1e7c){const _0x4b98d7=_0xcb39dc,_0x367f1d=this[_0x4b98d7(0x11f)][_0x4b98d7(0x132)][_0x4b98d7(0x128)](_0x4b98d7(0x11c)),_0x5b7520=_0x3a1e7c[_0x4b98d7(0x120)]?{'userMessage':_0x3a1e7c[_0x4b98d7(0x120)],'model':_0x3a1e7c[_0x4b98d7(0x11d)]}:{'actionName':_0x3a1e7c[_0x4b98d7(0x121)]||_0x3a1e7c['id'],'args':_0x3a1e7c[_0x4b98d7(0xf6)]},_0x5dd97c=this[_0x4b98d7(0xfd)](_0x3a1e7c);await _0x367f1d[_0x4b98d7(0xf7)](_0x5b7520,_0x5dd97c,_0x3a1e7c[_0x4b98d7(0x105)]);}async[_0xcb39dc(0x108)](_0x3a1eaf){const _0x5e2abd=_0xcb39dc;console[_0x5e2abd(0x11e)](_0x5e2abd(0x10d),_0x3a1eaf);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3701(){const _0x39dac9=['directChange','init','model','commands','86xqFZNQ','add','plugins','AIChat','editor','isOfficialPlugin','81496xQtTdx','6260592yLPSde','document','441fSJTio','1450566ZggUwg','297iyrknR','85050MPPvEQ','2462800nkSyEh','removeSelectionFromChatContext','pluginName','2051535sspiJj','32213ZqLpUM','change:range','has','isPremiumPlugin','get','AIQuickActionsEditing','selection','aiQuickAction'];_0x3701=function(){return _0x39dac9;};return _0x3701();}const _0x53112f=_0xd696;(function(_0xea340b,_0x18355b){const _0x40c542=_0xd696,_0x72725c=_0xea340b();while(!![]){try{const _0x3a6691=parseInt(_0x40c542(0xe6))/0x1*(parseInt(_0x40c542(0xd5))/0x2)+parseInt(_0x40c542(0xe5))/0x3+-parseInt(_0x40c542(0xdc))/0x4+parseInt(_0x40c542(0xe2))/0x5+parseInt(_0x40c542(0xdf))/0x6+-parseInt(_0x40c542(0xde))/0x7*(parseInt(_0x40c542(0xdb))/0x8)+-parseInt(_0x40c542(0xe0))/0x9*(-parseInt(_0x40c542(0xe1))/0xa);if(_0x3a6691===_0x18355b)break;else _0x72725c['push'](_0x72725c['shift']());}catch(_0x439606){_0x72725c['push'](_0x72725c['shift']());}}}(_0x3701,0xd6205));function _0xd696(_0x237df3,_0x320379){const _0x370162=_0x3701();return _0xd696=function(_0xd69613,_0x57b284){_0xd69613=_0xd69613-0xd5;let _0x3dbada=_0x370162[_0xd69613];return _0x3dbada;},_0xd696(_0x237df3,_0x320379);}import{Plugin as _0x57c343}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x39f5e9}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x57c343{static get[_0x53112f(0xe4)](){const _0x4ef043=_0x53112f;return _0x4ef043(0xeb);}static get[_0x53112f(0xda)](){return!0x0;}static get[_0x53112f(0xe9)](){return!0x0;}[_0x53112f(0xef)](){const _0x501ce1=_0x53112f,_0xdc191=this[_0x501ce1(0xd9)],_0x2af7a7=new _0x39f5e9(this[_0x501ce1(0xd9)]);if(_0xdc191[_0x501ce1(0xf1)][_0x501ce1(0xd6)](_0x501ce1(0xed),_0x2af7a7),_0xdc191[_0x501ce1(0xd7)][_0x501ce1(0xe8)](_0x501ce1(0xd8))){const _0x5f3a23=this[_0x501ce1(0xd9)][_0x501ce1(0xd7)][_0x501ce1(0xea)](_0x501ce1(0xd8));_0xdc191[_0x501ce1(0xf0)][_0x501ce1(0xdd)][_0x501ce1(0xec)]['on'](_0x501ce1(0xe7),(_0x248a04,_0x4fda2c)=>{const _0x3b4121=_0x501ce1;_0x4fda2c[_0x3b4121(0xee)]&&_0x5f3a23[_0x3b4121(0xe3)]();});}}}
23
+ const _0x2638df=_0x5c21;(function(_0x26087b,_0x58ee4b){const _0x159faf=_0x5c21,_0x280a36=_0x26087b();while(!![]){try{const _0x39cd47=parseInt(_0x159faf(0x136))/0x1*(parseInt(_0x159faf(0x13f))/0x2)+parseInt(_0x159faf(0x13a))/0x3+-parseInt(_0x159faf(0x140))/0x4+parseInt(_0x159faf(0x134))/0x5*(-parseInt(_0x159faf(0x133))/0x6)+parseInt(_0x159faf(0x126))/0x7*(parseInt(_0x159faf(0x135))/0x8)+-parseInt(_0x159faf(0x12f))/0x9*(-parseInt(_0x159faf(0x141))/0xa)+-parseInt(_0x159faf(0x142))/0xb;if(_0x39cd47===_0x58ee4b)break;else _0x280a36['push'](_0x280a36['shift']());}catch(_0x17142a){_0x280a36['push'](_0x280a36['shift']());}}}(_0x15a4,0x65210));import{Plugin as _0x4ec180}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x1c0faa}from'./aiquickactionscommand.js';function _0x5c21(_0x3bafa9,_0x2c7fa4){const _0x15a416=_0x15a4();return _0x5c21=function(_0x5c2138,_0x358706){_0x5c2138=_0x5c2138-0x125;let _0x3ea440=_0x15a416[_0x5c2138];return _0x3ea440;},_0x5c21(_0x3bafa9,_0x2c7fa4);}function _0x15a4(){const _0x50c1fa=['model','plugins','pluginName','798116mioMFi','2117160OiBdCv','10xMwpFq','11715869kaAMeu','editor','4195842TStobb','selection','add','AIQuickActionsEditing','directChange','removeSelectionFromChatContext','change:range','has','AIChat','3459303wPxyRb','aiQuickAction','isPremiumPlugin','commands','551202kFjmYn','10OlfHoE','8XWqCbs','1LtPEFv','isOfficialPlugin','get','document','2428488wJObLH','init'];_0x15a4=function(){return _0x50c1fa;};return _0x15a4();}export class AIQuickActionsEditing extends _0x4ec180{static get[_0x2638df(0x13e)](){const _0xe5ff06=_0x2638df;return _0xe5ff06(0x129);}static get[_0x2638df(0x137)](){return!0x0;}static get[_0x2638df(0x131)](){return!0x0;}[_0x2638df(0x13b)](){const _0x48fd26=_0x2638df,_0x51e4d8=this[_0x48fd26(0x125)],_0x4dbcf4=new _0x1c0faa(this[_0x48fd26(0x125)]);if(_0x51e4d8[_0x48fd26(0x132)][_0x48fd26(0x128)](_0x48fd26(0x130),_0x4dbcf4),_0x51e4d8[_0x48fd26(0x13d)][_0x48fd26(0x12d)](_0x48fd26(0x12e))){const _0x124845=this[_0x48fd26(0x125)][_0x48fd26(0x13d)][_0x48fd26(0x138)](_0x48fd26(0x12e));_0x51e4d8[_0x48fd26(0x13c)][_0x48fd26(0x139)][_0x48fd26(0x127)]['on'](_0x48fd26(0x12c),(_0x1e2f1f,_0x3109f0)=>{const _0x4c5713=_0x48fd26;_0x3109f0[_0x4c5713(0x12a)]&&_0x124845[_0x4c5713(0x12b)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c0567=_0x599e;(function(_0x1b659d,_0x27233d){const _0x3c8a60=_0x599e,_0x332b6c=_0x1b659d();while(!![]){try{const _0x51be3d=parseInt(_0x3c8a60(0x10f))/0x1+parseInt(_0x3c8a60(0xd8))/0x2*(-parseInt(_0x3c8a60(0x125))/0x3)+-parseInt(_0x3c8a60(0x14c))/0x4+-parseInt(_0x3c8a60(0xd7))/0x5+parseInt(_0x3c8a60(0x12e))/0x6+-parseInt(_0x3c8a60(0x148))/0x7+-parseInt(_0x3c8a60(0xda))/0x8*(-parseInt(_0x3c8a60(0x129))/0x9);if(_0x51be3d===_0x27233d)break;else _0x332b6c['push'](_0x332b6c['shift']());}catch(_0x2e591e){_0x332b6c['push'](_0x332b6c['shift']());}}}(_0x1410,0xd1e12));import{IconAIAdjustLength as _0x910060,IconAIChangeTone as _0x31dc72,IconAIChatCommands as _0x3253e2,IconAIContinueWriting as _0x1c711c,IconAIGrammarCheck as _0x28ac6c,IconAIImproveWriting as _0x5e66c7,IconAIOther as _0x15a5b4,IconAIQuickActions as _0x1e36c3,IconAITranslate as _0x492dce}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x3def6f}from'ckeditor5/src/core.js';import{CKEditorError as _0x404597,logError as _0x5571c5}from'ckeditor5/src/utils.js';function _0x1410(){const _0x51107c=['_initializeQuickActionsComponentsAndCommands','values','plugins','includes','summarize','aiQuickAction','27565qfDIDR','config','aiQuickActions','isEnabled','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AIActions','init','italian','chinese','translate-to-portuguese','execute','displayedPrompt','improve-writing','requires','make-tone-direct','menu','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-korean','make-tone-friendly','getAll','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','3GvvlyL','_initializeQuickActionsComponents','russian','model','171pObPQs','componentFactory','ACTION','translate-to-russian','translate-to-japanese','1518240gaCMmd','label','spanish','other','CHAT','translate-to-french','_shouldIncludeAction','AI_QUICK_ACTIONS_CHAT_COMMANDS','actions','make-tone-casual','get','panelView','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-english','AI_QUICK_ACTIONS_MAKE_LONGER','editor','pluginName','menuitem','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','continue','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','REVIEW','icon','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','3603915ugcoUe','<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_IMPROVE_WRITING','translate-to-chinese','2854744uupxJi','AI_QUICK_ACTIONS_MAKE_SHORTER','forEach','push','some','has','AIQuickActionsUI','AI_QUICK_ACTIONS_CHANGE_TONE','menuBar:aiQuickActions','change-tone','children','portuguese','translate-to-spanish','ai.quickActions.removeCommands','uiLanguage','view','menuBarView','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_MORE_DIRECT','message','length','filter','<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>','isPremiumPlugin','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_SUMMARIZE','_initializeQuickActionsDropdown','adjust-length','find','attachToDom','_getDefaultAndCustomActions','add','editing','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_ASK_AI','getDefaultQuickActions','replace','DisplayNames','type','close','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','translate','4512415wTerUt','3310578garzxv','ai.quickActions.isSearchEnabled','1838048oDEfwA','ai-quick-actions-models-unable-to-retrieve','fix-grammar','japanese','german','translate-to-german','chat-commands','ai-quick-actions-unavailable-model','focus','make-longer','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_ADJUST_LENGTH','explain','AIReviewMode','korean','language','AI_QUICK_ACTIONS_MORE_FRIENDLY','ask-ai','locale','english','English','buttonView','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','map','_quickActionsDefinition','isOfficialPlugin','highlight-key-points','_initializeQuickActionsMenuBar','make-tone-confident','make-shorter','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','make-tone-professional','<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>','AIChat','ai.chat.context.document.enabled','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','items','translate-to-italian','commands','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AIConnector','set','french','delegate','_executeQuickAction','AI_QUICK_ACTIONS_HEADING'];_0x1410=function(){return _0x51107c;};return _0x1410();}import{getTranslation as _0x232d6b}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1d8f30}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x22b160}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x83cd2c,BalloonToolbar as _0x46f90c,MenuBarMenuView as _0x281169,MenuBarMenuListView as _0x42516e,MenuBarMenuListItemView as _0x2bf5fe,MenuBarMenuListItemButtonView as _0x48a01a}from'ckeditor5/src/ui.js';import{AIModels as _0x2e589b}from'../aicore/model/aimodels.js';import{AIConnector as _0x107eba}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x5c0567(0xc3),ie=_0x5c0567(0x149),ne=_0x5c0567(0xfa);export var AIQuickActionType;function _0x599e(_0x4ff67c,_0x3a6e58){const _0x141035=_0x1410();return _0x599e=function(_0x599e1b,_0x5ec334){_0x599e1b=_0x599e1b-0xb9;let _0x453118=_0x141035[_0x599e1b];return _0x453118;},_0x599e(_0x4ff67c,_0x3a6e58);}!function(_0xf19543){const _0x593fd3=_0x5c0567;_0xf19543[_0x593fd3(0x132)]=_0x593fd3(0x132),_0xf19543[_0x593fd3(0x12b)]=_0x593fd3(0x12b),_0xf19543[_0x593fd3(0x144)]=_0x593fd3(0x144);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x5195aa){const _0x157e5b=_0x5c0567;_0x5195aa[_0x157e5b(0x132)]=_0x157e5b(0xfb),_0x5195aa[_0x157e5b(0x12b)]=_0x157e5b(0x114),_0x5195aa[_0x157e5b(0x144)]=_0x157e5b(0xe7);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x3def6f{static get[_0x5c0567(0x11c)](){return[_0x46f90c,_0x107eba];}static get[_0x5c0567(0x13f)](){const _0x384228=_0x5c0567;return _0x384228(0x152);}static get[_0x5c0567(0xf3)](){return!0x0;}static get[_0x5c0567(0xc4)](){return!0x0;}async[_0x5c0567(0x115)](){const _0x5ba3bb=_0x5c0567,_0x49860a=await this[_0x5ba3bb(0xcb)]();this[_0x5ba3bb(0x13a)](_0x49860a),this[_0x5ba3bb(0x109)]();}static[_0x5c0567(0xd0)](_0x322b82){return function(_0x3dfd2a){const _0x1cbc66=_0x599e,_0x1f4d26=new Intl[(_0x1cbc66(0xd2))](['en'],{'type':_0x1cbc66(0xe9)})['of'](_0x3dfd2a[_0x1cbc66(0xba)]),_0x152505=_0x1f4d26||_0x1cbc66(0xee),_0xcbda87=[{'id':_0x1cbc66(0xeb),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xcf)),'type':AIQuickActionType[_0x1cbc66(0x132)],'icon':_0x3253e2},{'id':_0x1cbc66(0xe0),'label':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x135)),'icon':_0x3253e2,'actions':[{'id':_0x1cbc66(0xe6),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xbd)),'prompt':ee[_0x1cbc66(0xd1)]('%0',_0x152505),'type':AIQuickActionType[_0x1cbc66(0x132)]},{'id':_0x1cbc66(0x10d),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xc6)),'prompt':ie[_0x1cbc66(0xd1)]('%0',_0x152505),'type':AIQuickActionType[_0x1cbc66(0x132)]},{'id':_0x1cbc66(0xf4),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xf0)),'prompt':ne[_0x1cbc66(0xd1)]('%0',_0x152505),'type':AIQuickActionType[_0x1cbc66(0x132)]}]},{'id':_0x1cbc66(0x11b),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x14a)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'icon':_0x5e66c7},{'id':_0x1cbc66(0x142),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x13b)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'icon':_0x1c711c},{'id':_0x1cbc66(0xdc),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xf8)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'icon':_0x28ac6c},{'id':_0x1cbc66(0xc8),'label':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xe5)),'icon':_0x910060,'actions':[{'id':_0x1cbc66(0xf7),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x14d)),'type':AIQuickActionType[_0x1cbc66(0x12b)]},{'id':_0x1cbc66(0xe3),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x13d)),'type':AIQuickActionType[_0x1cbc66(0x12b)]}]},{'id':_0x1cbc66(0x155),'label':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x153)),'icon':_0x31dc72,'actions':[{'id':_0x1cbc66(0x137),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xbe)),'type':AIQuickActionType[_0x1cbc66(0x12b)]},{'id':_0x1cbc66(0x11d),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xbf)),'type':AIQuickActionType[_0x1cbc66(0x12b)]},{'id':_0x1cbc66(0x121),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xea)),'type':AIQuickActionType[_0x1cbc66(0x12b)]},{'id':_0x1cbc66(0xf6),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xe4)),'type':AIQuickActionType[_0x1cbc66(0x12b)]},{'id':_0x1cbc66(0xf9),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x146)),'type':AIQuickActionType[_0x1cbc66(0x12b)]}]},{'id':_0x1cbc66(0xd6),'label':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x101)),'icon':_0x492dce,'actions':[{'id':_0x1cbc66(0x13c),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xfd)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0xed)}},{'id':_0x1cbc66(0x14b),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x113)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0x117)}},{'id':_0x1cbc66(0x158),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x124)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0x130)}},{'id':_0x1cbc66(0xdf),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x143)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0xde)}},{'id':_0x1cbc66(0x133),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xd5)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0x105)}},{'id':_0x1cbc66(0x12d),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x11f)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0xdd)}},{'id':_0x1cbc66(0x118),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x102)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0x157)}},{'id':_0x1cbc66(0x120),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x123)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0xe8)}},{'id':_0x1cbc66(0xff),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x147)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0x116)}},{'id':_0x1cbc66(0x12c),'displayedPrompt':_0x232d6b(_0x3dfd2a,_0x1cbc66(0x141)),'type':AIQuickActionType[_0x1cbc66(0x12b)],'actionName':_0x1cbc66(0xd6),'args':{'language':_0x1cbc66(0x127)}}]},{'id':_0x1cbc66(0x131),'label':_0x232d6b(_0x3dfd2a,_0x1cbc66(0xc5)),'icon':_0x15a5b4,'actions':[]}];return _0xcbda87;}(_0x322b82);}async[_0x5c0567(0xcb)](){const _0x113b5a=_0x5c0567,_0x3cfed1=AIQuickActionsUI[_0x113b5a(0xd0)](this[_0x113b5a(0x13e)][_0x113b5a(0xec)]),_0x34c737=this[_0x113b5a(0x13e)][_0x113b5a(0x110)][_0x113b5a(0x138)](_0x113b5a(0xce))||[];let _0x475c71=[];try{_0x475c71=await new _0x2e589b({'connector':this[_0x113b5a(0x13e)][_0x113b5a(0x10b)][_0x113b5a(0x138)](_0x113b5a(0x103)),'locale':this[_0x113b5a(0x13e)][_0x113b5a(0xec)]})[_0x113b5a(0x122)]();}catch(_0x3dde84){const _0x3fa188=new _0x404597(_0x113b5a(0xdb),this,{'error':_0x3dde84});_0x5571c5(_0x3fa188[_0x113b5a(0xc0)]);}finally{const _0xc2b047=_0x34c737[_0x113b5a(0xf1)](_0xb1d30a=>({..._0xb1d30a,'icon':void 0x0}));_0x3cfed1[_0x113b5a(0xc9)](_0x56b1f8=>_0x113b5a(0x131)===_0x56b1f8['id'])[_0x113b5a(0x136)][_0x113b5a(0x14f)](..._0xc2b047),_0x3cfed1[_0x113b5a(0x14e)](_0x3ea4c0=>{const _0x14280a=_0x113b5a;if(_0x14280a(0x136)in _0x3ea4c0)_0x3ea4c0[_0x14280a(0x136)][_0x14280a(0x14e)](_0x5781ab=>{const _0x561a79=_0x14280a;if(_0x5781ab[_0x561a79(0x112)]=!!_0x475c71[_0x561a79(0xc9)](_0x25feba=>_0x25feba['id']===_0x5781ab[_0x561a79(0x128)])||void 0x0===_0x5781ab[_0x561a79(0x128)],!_0x5781ab[_0x561a79(0x112)]){const _0x286c93=new _0x404597(_0x561a79(0xe1),this,{'actionId':_0x5781ab['id'],'modelId':_0x5781ab[_0x561a79(0x128)]});_0x5571c5(_0x286c93[_0x561a79(0xc0)]);}});else{if(_0x3ea4c0[_0x14280a(0x112)]=!!_0x475c71[_0x14280a(0xc9)](_0x2aa3a6=>_0x2aa3a6['id']===_0x3ea4c0[_0x14280a(0x128)])||void 0x0===_0x3ea4c0[_0x14280a(0x128)],!_0x3ea4c0[_0x14280a(0x112)]){const _0x5910d9=new _0x404597(_0x14280a(0xe1),this,{'actionId':_0x3ea4c0['id'],'modelId':_0x3ea4c0[_0x14280a(0x128)]});_0x5571c5(_0x5910d9[_0x14280a(0xc0)]);}}});}return _0x3cfed1;}[_0x5c0567(0x109)](){const _0x4ec775=_0x5c0567,_0x52a11d=new _0x83cd2c(this[_0x4ec775(0x13e)][_0x4ec775(0xec)]);_0x52a11d[_0x4ec775(0xca)](),this[_0x4ec775(0xc7)](_0x52a11d),this[_0x4ec775(0xf5)](),this[_0x4ec775(0x126)](_0x52a11d);}[_0x5c0567(0xc7)](_0x456a70){const _0x44965b=_0x5c0567,_0x5bb05f=this[_0x44965b(0x13e)][_0x44965b(0x110)][_0x44965b(0x138)](_0x44965b(0xd9))??!0x0;this[_0x44965b(0x13e)]['ui'][_0x44965b(0x12a)][_0x44965b(0xcc)](_0x44965b(0x111),_0x1d8f30({'editor':this[_0x44965b(0x13e)],'content':this[_0x44965b(0xf2)],'buttonDefinition':{'icon':_0x1e36c3,'label':_0x232d6b(this[_0x44965b(0x13e)][_0x44965b(0xec)],_0x44965b(0x108))},'bodyCollection':_0x456a70,'hasSearch':_0x5bb05f}));}[_0x5c0567(0x13a)](_0x122189){const _0x17bc06=_0x5c0567;this[_0x17bc06(0xf2)]=_0x122189[_0x17bc06(0xf1)](_0x58399=>{const _0x4a7e34=_0x17bc06;if(_0x4a7e34(0x136)in _0x58399){const _0x3fa060=_0x58399;return{..._0x3fa060,'actions':_0x3fa060[_0x4a7e34(0x136)][_0x4a7e34(0xf1)](_0x18dcd1=>{const {actions:_0x1f2ae6,..._0xdf42c1}=_0x3fa060;return{..._0x18dcd1,'parent':_0xdf42c1};})[_0x4a7e34(0xc2)](_0x54e6fb=>this[_0x4a7e34(0x134)](_0x54e6fb))};}return _0x58399;})[_0x17bc06(0xc2)](_0x80ed7f=>_0x17bc06(0x136)in _0x80ed7f?_0x80ed7f[_0x17bc06(0x136)][_0x17bc06(0xc1)]>0x0:this[_0x17bc06(0x134)](_0x80ed7f));}[_0x5c0567(0x134)](_0x4dd2a1){const _0x24d06e=_0x5c0567,_0x37416c=this[_0x24d06e(0x13e)][_0x24d06e(0x110)][_0x24d06e(0x138)](_0x24d06e(0xb9))||[];return this[_0x24d06e(0x13e)][_0x24d06e(0x10b)][_0x24d06e(0x151)](AIQuickActionTypeToPluginName[_0x4dd2a1[_0x24d06e(0xd3)]])&&!_0x37416c[_0x24d06e(0x10c)](_0x4dd2a1['id'])&&!(_0x4dd2a1[_0x24d06e(0xd3)]===AIQuickActionType[_0x24d06e(0x132)]&&!0x1===this[_0x24d06e(0x13e)][_0x24d06e(0x110)][_0x24d06e(0x138)](_0x24d06e(0xfc)));}[_0x5c0567(0x126)](_0x36f26c){const _0x49b1bd=_0x5c0567;this[_0x49b1bd(0xf2)][_0x49b1bd(0x14e)](_0x54a45a=>{const _0x41c4d3=_0x49b1bd;if(_0x41c4d3(0x136)in _0x54a45a){const _0x17d891=_0x1d8f30({'editor':this[_0x41c4d3(0x13e)],'content':_0x54a45a[_0x41c4d3(0x136)],'buttonDefinition':_0x54a45a,'bodyCollection':_0x36f26c});this[_0x41c4d3(0x13e)]['ui'][_0x41c4d3(0x12a)][_0x41c4d3(0xcc)](_0x54a45a['id'],_0x17d891),_0x54a45a[_0x41c4d3(0x136)][_0x41c4d3(0x14e)](_0x8bdea7=>{const _0x161313=_0x41c4d3,_0x2dbde1=_0x22b160({'editor':this[_0x161313(0x13e)],'action':_0x8bdea7});this[_0x161313(0x13e)]['ui'][_0x161313(0x12a)][_0x161313(0xcc)](_0x8bdea7['id'],_0x2dbde1);});}else{const _0x47c0e0=_0x22b160({'editor':this[_0x41c4d3(0x13e)],'action':_0x54a45a,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x41c4d3(0x13e)]['ui'][_0x41c4d3(0x12a)][_0x41c4d3(0xcc)](_0x54a45a['id'],_0x47c0e0);}});}[_0x5c0567(0xf5)](){const _0x4e0172=_0x5c0567;this[_0x4e0172(0x13e)]['ui'][_0x4e0172(0x12a)][_0x4e0172(0xcc)](_0x4e0172(0x154),_0x2a1944=>{const _0x365fcd=_0x4e0172,_0x3b0187=new _0x281169(_0x2a1944),_0xd4597b=_0x232d6b(_0x2a1944,_0x365fcd(0x108));_0x3b0187[_0x365fcd(0xef)][_0x365fcd(0x104)]({'label':_0xd4597b,'icon':_0x1e36c3});const _0x40a1e4=new _0x42516e(_0x2a1944);_0x40a1e4[_0x365fcd(0x104)]({'ariaLabel':_0xd4597b,'role':_0x365fcd(0x11e)}),this[_0x365fcd(0xf2)][_0x365fcd(0x14e)](_0x5ea4a9=>{const _0x305c34=_0x365fcd;if(_0x305c34(0x136)in _0x5ea4a9){const _0x539dc0=_0x5ea4a9,_0x5e1bff=new _0x2bf5fe(_0x2a1944,_0x3b0187),_0x4cab64=new _0x281169(_0x2a1944),_0x234d0b=new _0x42516e(_0x2a1944);_0x4cab64[_0x305c34(0xef)][_0x305c34(0x104)]({'label':_0x539dc0[_0x305c34(0x12f)],'icon':_0x539dc0[_0x305c34(0x145)]}),_0x539dc0[_0x305c34(0x136)][_0x305c34(0x14e)](_0x308a62=>{const _0x115aa0=_0x305c34,_0x21c23a=new _0x2bf5fe(_0x2a1944,_0x4cab64),_0x562123=new _0x48a01a(_0x2a1944);_0x562123[_0x115aa0(0x104)]({'label':_0x308a62[_0x115aa0(0x11a)],'icon':_0x308a62[_0x115aa0(0x145)],'role':_0x115aa0(0x140),'isEnabled':_0x308a62[_0x115aa0(0x112)]}),_0x562123['on'](_0x115aa0(0x119),()=>{const _0x508aa4=_0x115aa0;this[_0x508aa4(0x107)](_0x308a62);}),_0x562123[_0x115aa0(0x106)](_0x115aa0(0x119))['to'](_0x4cab64),_0x21c23a[_0x115aa0(0x156)][_0x115aa0(0xcc)](_0x562123),_0x234d0b[_0x115aa0(0xfe)][_0x115aa0(0xcc)](_0x21c23a);}),_0x4cab64[_0x305c34(0x139)][_0x305c34(0x156)][_0x305c34(0xcc)](_0x234d0b),_0x5e1bff[_0x305c34(0x156)][_0x305c34(0xcc)](_0x4cab64),_0x40a1e4[_0x305c34(0xfe)][_0x305c34(0xcc)](_0x5e1bff);}else{const _0x55fd3a=_0x5ea4a9,_0x375f4a=new _0x2bf5fe(_0x2a1944,_0x3b0187),_0x523ca7=new _0x48a01a(_0x2a1944);_0x523ca7[_0x305c34(0x104)]({'label':_0x55fd3a[_0x305c34(0x11a)],'icon':_0x55fd3a[_0x305c34(0x145)],'role':_0x305c34(0x140),'isEnabled':_0x55fd3a[_0x305c34(0x112)]}),_0x523ca7['on'](_0x305c34(0x119),()=>{const _0x1d7140=_0x305c34;this[_0x1d7140(0x107)](_0x55fd3a);}),_0x523ca7[_0x305c34(0x106)](_0x305c34(0x119))['to'](_0x3b0187),_0x375f4a[_0x305c34(0x156)][_0x305c34(0xcc)](_0x523ca7),_0x40a1e4[_0x305c34(0xfe)][_0x305c34(0xcc)](_0x375f4a);}});const _0x198985=Object[_0x365fcd(0x10a)](AIQuickActionTypeToPluginName)[_0x365fcd(0x150)](_0x5359e7=>this[_0x365fcd(0x13e)][_0x365fcd(0x10b)][_0x365fcd(0x151)](_0x5359e7));return _0x3b0187[_0x365fcd(0x104)]({'isEnabled':_0x198985}),_0x3b0187[_0x365fcd(0x139)][_0x365fcd(0x156)][_0x365fcd(0xcc)](_0x40a1e4),_0x3b0187;});}[_0x5c0567(0x107)](_0x4c35db){const _0x3b8391=_0x5c0567,_0x1b0d63=this[_0x3b8391(0x13e)];_0x1b0d63[_0x3b8391(0xcd)][_0x3b8391(0xbb)][_0x3b8391(0xe2)](),_0x1b0d63[_0x3b8391(0x100)][_0x3b8391(0x119)](_0x3b8391(0x10e),_0x4c35db);const _0x11a14e=_0x1b0d63['ui'][_0x3b8391(0xbb)][_0x3b8391(0xbc)];_0x11a14e&&_0x11a14e[_0x3b8391(0xd4)]&&_0x11a14e[_0x3b8391(0xd4)]();}}
23
+ const _0x2f8244=_0x2753;(function(_0x34ac6a,_0x531ea7){const _0x18fbde=_0x2753,_0x3cb553=_0x34ac6a();while(!![]){try{const _0x597409=parseInt(_0x18fbde(0xe5))/0x1*(parseInt(_0x18fbde(0xcd))/0x2)+parseInt(_0x18fbde(0xce))/0x3+parseInt(_0x18fbde(0xf5))/0x4+parseInt(_0x18fbde(0x7d))/0x5*(-parseInt(_0x18fbde(0x85))/0x6)+-parseInt(_0x18fbde(0xe1))/0x7+-parseInt(_0x18fbde(0xfd))/0x8*(-parseInt(_0x18fbde(0xb8))/0x9)+-parseInt(_0x18fbde(0xe3))/0xa;if(_0x597409===_0x531ea7)break;else _0x3cb553['push'](_0x3cb553['shift']());}catch(_0x8bea65){_0x3cb553['push'](_0x3cb553['shift']());}}}(_0x4939,0x54c43));import{IconAIAdjustLength as _0x4227d0,IconAIChangeTone as _0x5bd63d,IconAIChatCommands as _0x3d21a2,IconAIContinueWriting as _0x579459,IconAIGrammarCheck as _0xa729f7,IconAIImproveWriting as _0x3a4fe9,IconAIOther as _0xdb87f9,IconAIQuickActions as _0x145620,IconAITranslate as _0x11c5f9}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x3b5afa}from'ckeditor5/src/core.js';import{CKEditorError as _0x5cdb9c,logError as _0xb0009e}from'ckeditor5/src/utils.js';import{getTranslation as _0x23ef32}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x325740}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1e8d85}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x16256e,BalloonToolbar as _0x5fca16,MenuBarMenuView as _0x169ce1,MenuBarMenuListView as _0x1e7b08,MenuBarMenuListItemView as _0x533a0b,MenuBarMenuListItemButtonView as _0x86d796}from'ckeditor5/src/ui.js';import{AIModels as _0x3cd3b2}from'../aicore/model/aimodels.js';import{AIConnector as _0x39140f}from'../aicore/aiconnector.js';function _0x4939(){const _0x536ece=['improve-writing','<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>','delegate','ai.quickActions.removeCommands','english','_getDefaultAndCustomActions','type','config','make-tone-friendly','forEach','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','view','get','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','summarize','menuitem','_quickActionsDefinition','spanish','includes','menuBar:aiQuickActions','translate-to-french','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_MORE_DIRECT','ai-quick-actions-unavailable-model','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ACTION','uiLanguage','AI_QUICK_ACTIONS_HEADING','translate-to-chinese','portuguese','_initializeQuickActionsComponentsAndCommands','aiQuickAction','AI_QUICK_ACTIONS_SUMMARIZE','some','requires','locale','AI_QUICK_ACTIONS_CONTINUE_WRITING','plugins','chinese','make-tone-confident','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AIActions','<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>','japanese','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIChat','5856759rdUMTJ','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','editing','push','korean','AIReviewMode','map','find','menuBarView','children','translate-to-russian','AI_QUICK_ACTIONS_IMPROVE_WRITING','buttonView','ask-ai','init','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_MORE_CASUAL','message','german','translate','translate-to-korean','2uGLjZo','1371057fwzLiO','close','explain','label','aiQuickActions','make-tone-casual','make-tone-direct','focus','commands','AI_QUICK_ACTIONS_EXPLAIN','make-shorter','change-tone','isEnabled','chat-commands','replace','AI_QUICK_ACTIONS_OTHER','DisplayNames','translate-to-spanish','menu','3598007ffzagE','actions','3976800SzkrgW','ai-quick-actions-models-unable-to-retrieve','67171TtEtxR','_shouldIncludeAction','fix-grammar','translate-to-english','editor','adjust-length','AI_QUICK_ACTIONS_ADJUST_LENGTH','russian','attachToDom','add','AI_QUICK_ACTIONS_TRANSLATE','set','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','displayedPrompt','filter','1669660OYkSzU','AIQuickActionsUI','ai.quickActions.extraCommands','values','_initializeQuickActionsMenuBar','CHAT','AI_QUICK_ACTIONS_MAKE_LONGER','pluginName','8yuiSuO','isPremiumPlugin','french','ai.chat.context.document.enabled','ai.quickActions.isSearchEnabled','getAll','_prepareQuickActionsDefinition','italian','AIConnector','panelView','AI_QUICK_ACTIONS_ASK_AI','icon','isOfficialPlugin','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-italian','componentFactory','length','_initializeQuickActionsComponents','translate-to-german','other','_initializeQuickActionsDropdown','has','make-tone-professional','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','translate-to-japanese','highlight-key-points','AI_QUICK_ACTIONS_CHAT_COMMANDS','make-longer','AI_QUICK_ACTIONS_MORE_FRIENDLY','_executeQuickAction','items','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','12260KNUYxL','translate-to-portuguese','English','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_CHANGE_TONE','language','execute','model','816FIYDcn','<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>'];_0x4939=function(){return _0x536ece;};return _0x4939();}import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x2f8244(0x88),ie=_0x2f8244(0xb3),ne=_0x2f8244(0x86);function _0x2753(_0x1de8c9,_0x3afdf7){const _0x49398b=_0x4939();return _0x2753=function(_0x27535d,_0x380cbf){_0x27535d=_0x27535d-0x69;let _0xd1a751=_0x49398b[_0x27535d];return _0xd1a751;},_0x2753(_0x1de8c9,_0x3afdf7);}export var AIQuickActionType;!function(_0x1ddc5b){const _0x4b910e=_0x2f8244;_0x1ddc5b[_0x4b910e(0xfa)]=_0x4b910e(0xfa),_0x1ddc5b[_0x4b910e(0xa2)]=_0x4b910e(0xa2),_0x1ddc5b[_0x4b910e(0xa0)]=_0x4b910e(0xa0);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x41d9d2){const _0x15d61a=_0x2f8244;_0x41d9d2[_0x15d61a(0xfa)]=_0x15d61a(0xb7),_0x41d9d2[_0x15d61a(0xa2)]=_0x15d61a(0xb2),_0x41d9d2[_0x15d61a(0xa0)]=_0x15d61a(0xbd);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x3b5afa{static get[_0x2f8244(0xab)](){return[_0x5fca16,_0x39140f];}static get[_0x2f8244(0xfc)](){const _0x369aba=_0x2f8244;return _0x369aba(0xf6);}static get[_0x2f8244(0x109)](){return!0x0;}static get[_0x2f8244(0xfe)](){return!0x0;}async[_0x2f8244(0xc6)](){const _0x17dbf7=_0x2f8244,_0x1602e6=await this[_0x17dbf7(0x8c)]();this[_0x17dbf7(0x103)](_0x1602e6),this[_0x17dbf7(0xa7)]();}static[_0x2f8244(0xb5)](_0x3e2138){return function(_0x1af309){const _0x2f2151=_0x2753,_0x2ce379=new Intl[(_0x2f2151(0xde))](['en'],{'type':_0x2f2151(0x82)})['of'](_0x1af309[_0x2f2151(0xa3)]),_0x3fba7f=_0x2ce379||_0x2f2151(0x7f),_0x3e4da0=[{'id':_0x2f2151(0xc5),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x107)),'type':AIQuickActionType[_0x2f2151(0xfa)],'icon':_0x3d21a2},{'id':_0x2f2151(0xdb),'label':_0x23ef32(_0x1af309,_0x2f2151(0x77)),'icon':_0x3d21a2,'actions':[{'id':_0x2f2151(0xd0),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xd7)),'prompt':ee[_0x2f2151(0xdc)]('%0',_0x3fba7f),'type':AIQuickActionType[_0x2f2151(0xfa)]},{'id':_0x2f2151(0x96),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xa9)),'prompt':ie[_0x2f2151(0xdc)]('%0',_0x3fba7f),'type':AIQuickActionType[_0x2f2151(0xfa)]},{'id':_0x2f2151(0x76),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xb9)),'prompt':ne[_0x2f2151(0xdc)]('%0',_0x3fba7f),'type':AIQuickActionType[_0x2f2151(0xfa)]}]},{'id':_0x2f2151(0x87),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xc3)),'type':AIQuickActionType[_0x2f2151(0xa2)],'icon':_0x3a4fe9},{'id':_0x2f2151(0x74),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xad)),'type':AIQuickActionType[_0x2f2151(0xa2)],'icon':_0x579459},{'id':_0x2f2151(0xe7),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x80)),'type':AIQuickActionType[_0x2f2151(0xa2)],'icon':_0xa729f7},{'id':_0x2f2151(0xea),'label':_0x23ef32(_0x1af309,_0x2f2151(0xeb)),'icon':_0x4227d0,'actions':[{'id':_0x2f2151(0xd8),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x69)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0x78),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xfb)),'type':AIQuickActionType[_0x2f2151(0xa2)]}]},{'id':_0x2f2151(0xd9),'label':_0x23ef32(_0x1af309,_0x2f2151(0x81)),'icon':_0x5bd63d,'actions':[{'id':_0x2f2151(0xd3),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xc8)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0xd4),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x9e)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0x8f),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x79)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0xb0),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x73)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0x72),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x9d)),'type':AIQuickActionType[_0x2f2151(0xa2)]}]},{'id':_0x2f2151(0xcb),'label':_0x23ef32(_0x1af309,_0x2f2151(0xef)),'icon':_0x11c5f9,'actions':[{'id':_0x2f2151(0xe8),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x91)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0x8b)}},{'id':_0x2f2151(0xa5),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xa1)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xaf)}},{'id':_0x2f2151(0xdf),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x95)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0x99)}},{'id':_0x2f2151(0x6e),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xc7)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xca)}},{'id':_0x2f2151(0x9c),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xf2)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xff)}},{'id':_0x2f2151(0x75),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xf1)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xb4)}},{'id':_0x2f2151(0x7e),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x92)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xa6)}},{'id':_0x2f2151(0xcc),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x7c)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xbc)}},{'id':_0x2f2151(0x6a),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xb6)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0x104)}},{'id':_0x2f2151(0xc2),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xb1)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xec)}}]},{'id':_0x2f2151(0x6f),'label':_0x23ef32(_0x1af309,_0x2f2151(0xdd)),'icon':_0xdb87f9,'actions':[]}];return _0x3e4da0;}(_0x3e2138);}async[_0x2f8244(0x8c)](){const _0x512487=_0x2f8244,_0x32d57b=AIQuickActionsUI[_0x512487(0xb5)](this[_0x512487(0xe9)][_0x512487(0xac)]),_0x29d534=this[_0x512487(0xe9)][_0x512487(0x8e)][_0x512487(0x94)](_0x512487(0xf7))||[];let _0x278205=[];try{_0x278205=await new _0x3cd3b2({'connector':this[_0x512487(0xe9)][_0x512487(0xae)][_0x512487(0x94)](_0x512487(0x105)),'locale':this[_0x512487(0xe9)][_0x512487(0xac)]})[_0x512487(0x102)]();}catch(_0x1e61c6){const _0x2ca988=new _0x5cdb9c(_0x512487(0xe4),this,{'error':_0x1e61c6});_0xb0009e(_0x2ca988[_0x512487(0xc9)]);}finally{const _0x2064e0=_0x29d534[_0x512487(0xbe)](_0x139850=>({..._0x139850,'icon':void 0x0}));_0x32d57b[_0x512487(0xbf)](_0x15b5f6=>_0x512487(0x6f)===_0x15b5f6['id'])[_0x512487(0xe2)][_0x512487(0xbb)](..._0x2064e0),_0x32d57b[_0x512487(0x90)](_0x1d88d1=>{const _0x913364=_0x512487;if(_0x913364(0xe2)in _0x1d88d1)_0x1d88d1[_0x913364(0xe2)][_0x913364(0x90)](_0x169f0e=>{const _0xbd2f=_0x913364;if(_0x169f0e[_0xbd2f(0xda)]=!!_0x278205[_0xbd2f(0xbf)](_0x29160a=>_0x29160a['id']===_0x169f0e[_0xbd2f(0x84)])||void 0x0===_0x169f0e[_0xbd2f(0x84)],!_0x169f0e[_0xbd2f(0xda)]){const _0x440cb8=new _0x5cdb9c(_0xbd2f(0x9f),this,{'actionId':_0x169f0e['id'],'modelId':_0x169f0e[_0xbd2f(0x84)]});_0xb0009e(_0x440cb8[_0xbd2f(0xc9)]);}});else{if(_0x1d88d1[_0x913364(0xda)]=!!_0x278205[_0x913364(0xbf)](_0x40fd1=>_0x40fd1['id']===_0x1d88d1[_0x913364(0x84)])||void 0x0===_0x1d88d1[_0x913364(0x84)],!_0x1d88d1[_0x913364(0xda)]){const _0x448983=new _0x5cdb9c(_0x913364(0x9f),this,{'actionId':_0x1d88d1['id'],'modelId':_0x1d88d1[_0x913364(0x84)]});_0xb0009e(_0x448983[_0x913364(0xc9)]);}}});}return _0x32d57b;}[_0x2f8244(0xa7)](){const _0x25d9ef=_0x2f8244,_0x1cfeb9=new _0x16256e(this[_0x25d9ef(0xe9)][_0x25d9ef(0xac)]);_0x1cfeb9[_0x25d9ef(0xed)](),this[_0x25d9ef(0x70)](_0x1cfeb9),this[_0x25d9ef(0xf9)](),this[_0x25d9ef(0x6d)](_0x1cfeb9);}[_0x2f8244(0x70)](_0xc9705c){const _0x2cef3b=_0x2f8244,_0x2a1aaf=this[_0x2cef3b(0xe9)][_0x2cef3b(0x8e)][_0x2cef3b(0x94)](_0x2cef3b(0x101))??!0x0;this[_0x2cef3b(0xe9)]['ui'][_0x2cef3b(0x6b)][_0x2cef3b(0xee)](_0x2cef3b(0xd2),_0x325740({'editor':this[_0x2cef3b(0xe9)],'content':this[_0x2cef3b(0x98)],'buttonDefinition':{'icon':_0x145620,'label':_0x23ef32(this[_0x2cef3b(0xe9)][_0x2cef3b(0xac)],_0x2cef3b(0xa4))},'bodyCollection':_0xc9705c,'hasSearch':_0x2a1aaf}));}[_0x2f8244(0x103)](_0x134bc6){const _0x4ddf43=_0x2f8244;this[_0x4ddf43(0x98)]=_0x134bc6[_0x4ddf43(0xbe)](_0x4540d9=>{const _0x288666=_0x4ddf43;if(_0x288666(0xe2)in _0x4540d9){const _0x6fc2bb=_0x4540d9;return{..._0x6fc2bb,'actions':_0x6fc2bb[_0x288666(0xe2)][_0x288666(0xbe)](_0x4e8f70=>{const {actions:_0x12d93f,..._0x266482}=_0x6fc2bb;return{..._0x4e8f70,'parent':_0x266482};})[_0x288666(0xf4)](_0x4914fe=>this[_0x288666(0xe6)](_0x4914fe))};}return _0x4540d9;})[_0x4ddf43(0xf4)](_0x1b1d5c=>_0x4ddf43(0xe2)in _0x1b1d5c?_0x1b1d5c[_0x4ddf43(0xe2)][_0x4ddf43(0x6c)]>0x0:this[_0x4ddf43(0xe6)](_0x1b1d5c));}[_0x2f8244(0xe6)](_0x2eca15){const _0x15a722=_0x2f8244,_0x59dbee=this[_0x15a722(0xe9)][_0x15a722(0x8e)][_0x15a722(0x94)](_0x15a722(0x8a))||[];return this[_0x15a722(0xe9)][_0x15a722(0xae)][_0x15a722(0x71)](AIQuickActionTypeToPluginName[_0x2eca15[_0x15a722(0x8d)]])&&!_0x59dbee[_0x15a722(0x9a)](_0x2eca15['id'])&&!(_0x2eca15[_0x15a722(0x8d)]===AIQuickActionType[_0x15a722(0xfa)]&&!0x1===this[_0x15a722(0xe9)][_0x15a722(0x8e)][_0x15a722(0x94)](_0x15a722(0x100)));}[_0x2f8244(0x6d)](_0xa637ca){const _0x276df7=_0x2f8244;this[_0x276df7(0x98)][_0x276df7(0x90)](_0x3f2f0a=>{const _0x133446=_0x276df7;if(_0x133446(0xe2)in _0x3f2f0a){const _0x1330e3=_0x325740({'editor':this[_0x133446(0xe9)],'content':_0x3f2f0a[_0x133446(0xe2)],'buttonDefinition':_0x3f2f0a,'bodyCollection':_0xa637ca});this[_0x133446(0xe9)]['ui'][_0x133446(0x6b)][_0x133446(0xee)](_0x3f2f0a['id'],_0x1330e3),_0x3f2f0a[_0x133446(0xe2)][_0x133446(0x90)](_0x1213b5=>{const _0x152faa=_0x133446,_0x31a124=_0x1e8d85({'editor':this[_0x152faa(0xe9)],'action':_0x1213b5});this[_0x152faa(0xe9)]['ui'][_0x152faa(0x6b)][_0x152faa(0xee)](_0x1213b5['id'],_0x31a124);});}else{const _0x4cc274=_0x1e8d85({'editor':this[_0x133446(0xe9)],'action':_0x3f2f0a,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x133446(0xe9)]['ui'][_0x133446(0x6b)][_0x133446(0xee)](_0x3f2f0a['id'],_0x4cc274);}});}[_0x2f8244(0xf9)](){const _0x58bcee=_0x2f8244;this[_0x58bcee(0xe9)]['ui'][_0x58bcee(0x6b)][_0x58bcee(0xee)](_0x58bcee(0x9b),_0xbaa5c=>{const _0x4da826=_0x58bcee,_0x4319ee=new _0x169ce1(_0xbaa5c),_0xb17ea=_0x23ef32(_0xbaa5c,_0x4da826(0xa4));_0x4319ee[_0x4da826(0xc4)][_0x4da826(0xf0)]({'label':_0xb17ea,'icon':_0x145620});const _0x1b7d71=new _0x1e7b08(_0xbaa5c);_0x1b7d71[_0x4da826(0xf0)]({'ariaLabel':_0xb17ea,'role':_0x4da826(0xe0)}),this[_0x4da826(0x98)][_0x4da826(0x90)](_0x102518=>{const _0x14f508=_0x4da826;if(_0x14f508(0xe2)in _0x102518){const _0x9b460c=_0x102518,_0x342624=new _0x533a0b(_0xbaa5c,_0x4319ee),_0x1ff791=new _0x169ce1(_0xbaa5c),_0x46419e=new _0x1e7b08(_0xbaa5c);_0x1ff791[_0x14f508(0xc4)][_0x14f508(0xf0)]({'label':_0x9b460c[_0x14f508(0xd1)],'icon':_0x9b460c[_0x14f508(0x108)]}),_0x9b460c[_0x14f508(0xe2)][_0x14f508(0x90)](_0x4e9918=>{const _0xe238ee=_0x14f508,_0xda9677=new _0x533a0b(_0xbaa5c,_0x1ff791),_0x3d2249=new _0x86d796(_0xbaa5c);_0x3d2249[_0xe238ee(0xf0)]({'label':_0x4e9918[_0xe238ee(0xf3)],'icon':_0x4e9918[_0xe238ee(0x108)],'role':_0xe238ee(0x97),'isEnabled':_0x4e9918[_0xe238ee(0xda)]}),_0x3d2249['on'](_0xe238ee(0x83),()=>{const _0x46569b=_0xe238ee;this[_0x46569b(0x7a)](_0x4e9918);}),_0x3d2249[_0xe238ee(0x89)](_0xe238ee(0x83))['to'](_0x1ff791),_0xda9677[_0xe238ee(0xc1)][_0xe238ee(0xee)](_0x3d2249),_0x46419e[_0xe238ee(0x7b)][_0xe238ee(0xee)](_0xda9677);}),_0x1ff791[_0x14f508(0x106)][_0x14f508(0xc1)][_0x14f508(0xee)](_0x46419e),_0x342624[_0x14f508(0xc1)][_0x14f508(0xee)](_0x1ff791),_0x1b7d71[_0x14f508(0x7b)][_0x14f508(0xee)](_0x342624);}else{const _0x883287=_0x102518,_0x46023b=new _0x533a0b(_0xbaa5c,_0x4319ee),_0x422e39=new _0x86d796(_0xbaa5c);_0x422e39[_0x14f508(0xf0)]({'label':_0x883287[_0x14f508(0xf3)],'icon':_0x883287[_0x14f508(0x108)],'role':_0x14f508(0x97),'isEnabled':_0x883287[_0x14f508(0xda)]}),_0x422e39['on'](_0x14f508(0x83),()=>{const _0xcb0298=_0x14f508;this[_0xcb0298(0x7a)](_0x883287);}),_0x422e39[_0x14f508(0x89)](_0x14f508(0x83))['to'](_0x4319ee),_0x46023b[_0x14f508(0xc1)][_0x14f508(0xee)](_0x422e39),_0x1b7d71[_0x14f508(0x7b)][_0x14f508(0xee)](_0x46023b);}});const _0x6bf822=Object[_0x4da826(0xf8)](AIQuickActionTypeToPluginName)[_0x4da826(0xaa)](_0x255b06=>this[_0x4da826(0xe9)][_0x4da826(0xae)][_0x4da826(0x71)](_0x255b06));return _0x4319ee[_0x4da826(0xf0)]({'isEnabled':_0x6bf822}),_0x4319ee[_0x4da826(0x106)][_0x4da826(0xc1)][_0x4da826(0xee)](_0x1b7d71),_0x4319ee;});}[_0x2f8244(0x7a)](_0x23c33e){const _0x27cf5a=_0x2f8244,_0x1671dd=this[_0x27cf5a(0xe9)];_0x1671dd[_0x27cf5a(0xba)][_0x27cf5a(0x93)][_0x27cf5a(0xd5)](),_0x1671dd[_0x27cf5a(0xd6)][_0x27cf5a(0x83)](_0x27cf5a(0xa8),_0x23c33e);const _0x37697f=_0x1671dd['ui'][_0x27cf5a(0x93)][_0x27cf5a(0xc0)];_0x37697f&&_0x37697f[_0x27cf5a(0xcf)]&&_0x37697f[_0x27cf5a(0xcf)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x22f4(_0x17d24d,_0x467328){const _0x41e68d=_0x41e6();return _0x22f4=function(_0x22f47e,_0x143053){_0x22f47e=_0x22f47e-0x6b;let _0x260887=_0x41e68d[_0x22f47e];return _0x260887;},_0x22f4(_0x17d24d,_0x467328);}function _0x41e6(){const _0x311295=['set','ck-ai-quick-actions-button','isEnabled','locale','menuitem','2333811BOJYxT','227801aUClSq','283417WWZzgq','3710415UBSwTg','328oxLOCj','focus','bindTemplate','4786710kaMvFx','editing','804658BCQfGJ','icon','3296368YLCViW','commands','displayedPrompt','view','execute','aiQuickAction','parent','extendTemplate'];_0x41e6=function(){return _0x311295;};return _0x41e6();}(function(_0x55ae9a,_0x35962c){const _0x260a0f=_0x22f4,_0x1742ed=_0x55ae9a();while(!![]){try{const _0x574a6c=-parseInt(_0x260a0f(0x73))/0x1+-parseInt(_0x260a0f(0x7a))/0x2+-parseInt(_0x260a0f(0x71))/0x3+-parseInt(_0x260a0f(0x7c))/0x4+parseInt(_0x260a0f(0x74))/0x5+parseInt(_0x260a0f(0x78))/0x6+parseInt(_0x260a0f(0x72))/0x7*(parseInt(_0x260a0f(0x75))/0x8);if(_0x574a6c===_0x35962c)break;else _0x1742ed['push'](_0x1742ed['shift']());}catch(_0xe1041b){_0x1742ed['push'](_0x1742ed['shift']());}}}(_0x41e6,0x8f274));import{ButtonView as _0x79e72b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x21e845}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x55aa27){const {editor:_0x332deb,action:_0x5d627b,withText:_0x31b7b1=!0x1,withIcon:_0x4264ff=!0x0,isInDropdown:_0x48d15d=!0x0,shouldPreventFocus:_0x526ac1=!0x1}=_0x55aa27;return()=>{const _0x283556=_0x22f4,_0x47d358=_0x332deb[_0x283556(0x6f)],_0x352ba1=new _0x79e72b(_0x47d358),_0x314966=_0x352ba1[_0x283556(0x77)];_0x48d15d&&_0x352ba1[_0x283556(0x6b)]({'on':{'mouseenter':_0x314966['to'](()=>{const _0x1d0573=_0x283556;_0x526ac1&&_0x526ac1()||_0x352ba1[_0x1d0573(0x76)]();})}});const _0x5f318b=_0x5d627b[_0x283556(0x7b)]??_0x5d627b[_0x283556(0x82)]?.[_0x283556(0x7b)];return _0x352ba1[_0x283556(0x6c)]({'label':_0x5d627b[_0x283556(0x7e)],'withText':_0x31b7b1,'role':_0x283556(0x70),'icon':_0x4264ff?_0x5f318b??_0x21e845:void 0x0,'tooltip':!_0x31b7b1,'class':_0x283556(0x6d),'isEnabled':_0x5d627b[_0x283556(0x6e)]}),_0x352ba1['on'](_0x283556(0x80),()=>{const _0x4f70c2=_0x283556;_0x332deb[_0x4f70c2(0x79)][_0x4f70c2(0x7f)][_0x4f70c2(0x76)](),_0x332deb[_0x4f70c2(0x7d)][_0x4f70c2(0x80)](_0x4f70c2(0x81),_0x5d627b);}),_0x352ba1;};}
23
+ (function(_0x4c1901,_0x11c004){const _0x82721=_0x4192,_0x12fd0c=_0x4c1901();while(!![]){try{const _0x2ee625=parseInt(_0x82721(0x1cb))/0x1*(-parseInt(_0x82721(0x1b4))/0x2)+parseInt(_0x82721(0x1be))/0x3*(parseInt(_0x82721(0x1c8))/0x4)+parseInt(_0x82721(0x1bd))/0x5+-parseInt(_0x82721(0x1b2))/0x6*(parseInt(_0x82721(0x1b6))/0x7)+parseInt(_0x82721(0x1b9))/0x8*(parseInt(_0x82721(0x1b3))/0x9)+-parseInt(_0x82721(0x1b7))/0xa+parseInt(_0x82721(0x1cc))/0xb*(parseInt(_0x82721(0x1c0))/0xc);if(_0x2ee625===_0x11c004)break;else _0x12fd0c['push'](_0x12fd0c['shift']());}catch(_0x21b3c4){_0x12fd0c['push'](_0x12fd0c['shift']());}}}(_0xd227,0x57dad));import{ButtonView as _0x50eacd}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x587f47}from'@ckeditor/ckeditor5-icons';function _0xd227(){const _0x34b80e=['6104050gTdVDP','focus','8LmVGah','aiQuickAction','view','menuitem','3050040ISRcTY','132atxpQj','ck-ai-quick-actions-button','876brxXpa','displayedPrompt','icon','execute','commands','locale','parent','editing','44024OuyCsl','set','extendTemplate','19649Vrtvek','60731cUhhpC','bindTemplate','12lAaNkd','966699vcmXDg','20ybcEKB','isEnabled','1532888rrvwRR'];_0xd227=function(){return _0x34b80e;};return _0xd227();}function _0x4192(_0x17405a,_0x3e81ab){const _0xd22757=_0xd227();return _0x4192=function(_0x4192b2,_0x98c93f){_0x4192b2=_0x4192b2-0x1b1;let _0x57b26a=_0xd22757[_0x4192b2];return _0x57b26a;},_0x4192(_0x17405a,_0x3e81ab);}export function aiQuickActionsButtonCreator(_0x34c8cd){const {editor:_0x15e6a4,action:_0x2a6261,withText:_0x56312b=!0x1,withIcon:_0x252768=!0x0,isInDropdown:_0x2276b3=!0x0,shouldPreventFocus:_0x27d292=!0x1}=_0x34c8cd;return()=>{const _0xfa7ffb=_0x4192,_0x542cba=_0x15e6a4[_0xfa7ffb(0x1c5)],_0x2bbc14=new _0x50eacd(_0x542cba),_0x5852e0=_0x2bbc14[_0xfa7ffb(0x1b1)];_0x2276b3&&_0x2bbc14[_0xfa7ffb(0x1ca)]({'on':{'mouseenter':_0x5852e0['to'](()=>{const _0x17d0c0=_0xfa7ffb;_0x27d292&&_0x27d292()||_0x2bbc14[_0x17d0c0(0x1b8)]();})}});const _0x48e6e3=_0x2a6261[_0xfa7ffb(0x1c2)]??_0x2a6261[_0xfa7ffb(0x1c6)]?.[_0xfa7ffb(0x1c2)];return _0x2bbc14[_0xfa7ffb(0x1c9)]({'label':_0x2a6261[_0xfa7ffb(0x1c1)],'withText':_0x56312b,'role':_0xfa7ffb(0x1bc),'icon':_0x252768?_0x48e6e3??_0x587f47:void 0x0,'tooltip':!_0x56312b,'class':_0xfa7ffb(0x1bf),'isEnabled':_0x2a6261[_0xfa7ffb(0x1b5)]}),_0x2bbc14['on'](_0xfa7ffb(0x1c3),()=>{const _0x9a0400=_0xfa7ffb;_0x15e6a4[_0x9a0400(0x1c7)][_0x9a0400(0x1bb)][_0x9a0400(0x1b8)](),_0x15e6a4[_0x9a0400(0x1c4)][_0x9a0400(0x1c3)](_0x9a0400(0x1ba),_0x2a6261);}),_0x2bbc14;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59c939=_0x17cf;(function(_0x32f31b,_0x4a2b5c){const _0x43699b=_0x17cf,_0x1d2615=_0x32f31b();while(!![]){try{const _0x1b99f8=parseInt(_0x43699b(0x207))/0x1*(parseInt(_0x43699b(0x201))/0x2)+-parseInt(_0x43699b(0x1f8))/0x3+parseInt(_0x43699b(0x1dc))/0x4+parseInt(_0x43699b(0x1be))/0x5+parseInt(_0x43699b(0x1a7))/0x6*(parseInt(_0x43699b(0x1f7))/0x7)+-parseInt(_0x43699b(0x215))/0x8+-parseInt(_0x43699b(0x21b))/0x9;if(_0x1b99f8===_0x4a2b5c)break;else _0x1d2615['push'](_0x1d2615['shift']());}catch(_0x4ddb50){_0x1d2615['push'](_0x1d2615['shift']());}}}(_0x2d10,0x6dcf7));import{View as _0x34ba1f,ListItemView as _0x183f38,ListView as _0x4bfe3e,BalloonPanelView as _0x319340,DropdownMenuPanelPositioningFunctions as _0x555644,ViewCollection as _0x3d1fd2,FocusCycler as _0x5b4f12,ButtonView as _0x180784,IconView as _0x84d6d5,HighlightedTextView as _0x26880f,ButtonLabelWithHighlightView as _0x1ff5b5,SearchTextView as _0xc6919}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3cd17c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x48ed44,KeystrokeHandler as _0x8eb98}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x168f98}from'./aiquickactionsbuttoncreator.js';function _0x17cf(_0x356ba6,_0x50e6db){const _0x2d102c=_0x2d10();return _0x17cf=function(_0x17cf45,_0x4b6725){_0x17cf45=_0x17cf45-0x196;let _0x512e61=_0x2d102c[_0x17cf45];return _0x512e61;},_0x17cf(_0x356ba6,_0x50e6db);}import{DropdownMenuButtonWithHighlightView as _0x1445ff}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x1137f3}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x1a4aff}from'./aiquickactionsfilteredlistview.js';const Qs=_0x59c939(0x1c6),Gs=_0x59c939(0x19d);export class AIQuickActionsDropdownContentView extends _0x34ba1f{[_0x59c939(0x211)];[_0x59c939(0x20c)];[_0x59c939(0x202)]=null;[_0x59c939(0x20d)]=[];[_0x59c939(0x1e6)];[_0x59c939(0x1b9)];[_0x59c939(0x1ee)];[_0x59c939(0x199)];[_0x59c939(0x1a0)];[_0x59c939(0x1af)]=new Set();[_0x59c939(0x1aa)];constructor(_0xb615f3,_0x44e260,_0x5a6756,_0x1ab287,_0x187fe5=!0x1){const _0x2e339d=_0x59c939,_0x4c97a1=_0xb615f3[_0x2e339d(0x210)];super(_0x4c97a1),this[_0x2e339d(0x211)]=_0x1ab287,this[_0x2e339d(0x1aa)]=_0x187fe5;const _0x2a9afc=this[_0x2e339d(0x1de)](_0xb615f3,_0x44e260,_0x5a6756);this[_0x2e339d(0x20c)]=new _0x1a4aff(_0x4c97a1,_0x2a9afc,this[_0x2e339d(0x20d)]),this[_0x2e339d(0x20c)][_0x2e339d(0x204)]=Qs,this[_0x2e339d(0x20c)][_0x2e339d(0x1b6)][_0x2e339d(0x214)](_0x2a9afc),this[_0x2e339d(0x1b9)]=new _0x48ed44(),this[_0x2e339d(0x1ee)]=new _0x8eb98(),_0x187fe5&&(this[_0x2e339d(0x202)]=this[_0x2e339d(0x20e)]()),this[_0x2e339d(0x199)]=_0x2a9afc,this[_0x2e339d(0x1a0)]=new _0x5b4f12({'focusables':this[_0x2e339d(0x199)],'focusTracker':this[_0x2e339d(0x1b9)],'keystrokeHandler':this[_0x2e339d(0x1ee)]}),_0x187fe5&&this[_0x2e339d(0x202)]&&this[_0x2e339d(0x1a0)][_0x2e339d(0x1eb)](this[_0x2e339d(0x202)][_0x2e339d(0x1a0)]);const _0x5259e1=_0x187fe5&&this[_0x2e339d(0x202)]?[this[_0x2e339d(0x202)]]:[this[_0x2e339d(0x20c)]];this[_0x2e339d(0x1e6)]=new _0x3d1fd2(_0x5259e1),this[_0x2e339d(0x1df)]({'tag':_0x2e339d(0x1b2),'attributes':{'class':['ck',_0x2e339d(0x1c2),_0x2e339d(0x1dd),_0x2e339d(0x208)],'dir':_0x4c97a1[_0x2e339d(0x1cd)]},'children':this[_0x2e339d(0x1e6)]});}[_0x59c939(0x20e)](){const _0x3a4c52=_0x59c939;return new _0xc6919(this[_0x3a4c52(0x210)],{'filteredView':this[_0x3a4c52(0x20c)],'queryView':{'label':_0x1137f3(this[_0x3a4c52(0x210)],_0x3a4c52(0x1f1))},'class':_0x3a4c52(0x1a8),'infoView':{'text':{'notFound':{'primary':_0x1137f3(this[_0x3a4c52(0x210)],_0x3a4c52(0x1a4))}}}});}[_0x59c939(0x1a6)](){const _0x1c1b59=_0x59c939;if(!this[_0x1c1b59(0x1aa)]||!this[_0x1c1b59(0x202)]||!this[_0x1c1b59(0x202)][_0x1c1b59(0x19b)][_0x1c1b59(0x1da)][_0x1c1b59(0x1f4)])return!0x1;const _0x341eee=this[_0x1c1b59(0x202)][_0x1c1b59(0x19b)][_0x1c1b59(0x1da)][_0x1c1b59(0x1f4)][_0x1c1b59(0x1ce)]?.[_0x1c1b59(0x1c7)];return this[_0x1c1b59(0x202)][_0x1c1b59(0x19b)][_0x1c1b59(0x1da)][_0x1c1b59(0x1f4)][_0x1c1b59(0x1c9)](_0x341eee);}[_0x59c939(0x1de)](_0x34f479,_0xfdfcf2,_0x508ba7){const _0x3bf0b7=_0x59c939,_0x3360f9=new _0x3d1fd2();return _0xfdfcf2[_0x3bf0b7(0x1d0)](_0x12672f=>{const _0x875df=_0x3bf0b7;if(_0x875df(0x1ac)in _0x12672f){const {listItem:_0x3e47e6}=this[_0x875df(0x1b4)](_0x34f479,_0x12672f,_0x508ba7);_0x3360f9[_0x875df(0x213)](_0x3e47e6),_0x12672f[_0x875df(0x1ac)][_0x875df(0x1d0)](_0x1d6408=>{const _0x1eee60=_0x875df;this[_0x1eee60(0x1ff)](_0x34f479,_0x1d6408,_0x12672f[_0x1eee60(0x1e2)],_0x12672f[_0x1eee60(0x1c1)]);const {listItem:_0x29c07e,highlightViews:_0x1ba421}=this[_0x1eee60(0x217)](_0x34f479,_0x1d6408,_0x12672f[_0x1eee60(0x1e2)],_0x12672f[_0x1eee60(0x1c1)]);this[_0x1eee60(0x20d)][_0x1eee60(0x1fb)]({'item':_0x29c07e,'label':_0x1d6408[_0x1eee60(0x1d3)],'groupLabel':_0x12672f[_0x1eee60(0x1e2)],'highlightViews':_0x1ba421});});}else{const {listItem:_0x308687}=this[_0x875df(0x1ff)](_0x34f479,_0x12672f);_0x3360f9[_0x875df(0x213)](_0x308687);const _0x40e67d=_0x308687[_0x875df(0x1e6)][_0x875df(0x1db)];if(_0x40e67d){const {listItem:_0x190c9b,highlightViews:_0x40d283}=this[_0x875df(0x217)](_0x34f479,_0x12672f);this[_0x875df(0x20d)][_0x875df(0x1fb)]({'item':_0x190c9b,'label':_0x40e67d[_0x875df(0x1e2)]||'','highlightViews':_0x40d283});}}}),_0x3360f9;}[_0x59c939(0x1ff)](_0x2bcfe8,_0x4f18bf,_0x25ee8a,_0x3c0dd6){const _0x57f41d=_0x59c939,_0x3659fd=new _0x183f38(this[_0x57f41d(0x210)]);if(_0x25ee8a&&_0x3c0dd6){const _0xb6042a=new _0x180784(this[_0x57f41d(0x210)]),_0x424135=_0xb6042a[_0x57f41d(0x1cb)],_0x558658=new _0x26880f();_0x558658[_0x57f41d(0x196)]=_0x4f18bf[_0x57f41d(0x1d3)];const _0x5b1399=new _0x26880f();_0x5b1399[_0x57f41d(0x196)]=_0x25ee8a;const _0x2d1f29=new _0x84d6d5();_0x2d1f29[_0x57f41d(0x1ab)]=_0x3c0dd6,_0x2d1f29[_0x57f41d(0x1c4)]({'attributes':{'class':_0x57f41d(0x1d2)}});const _0x2b280c=new _0x34ba1f(this[_0x57f41d(0x210)]);_0x2b280c[_0x57f41d(0x1df)]({'tag':_0x57f41d(0x1e8),'attributes':{'class':_0x57f41d(0x1b7)},'children':[{'text':'\x20('}]});const _0x4706b8=new _0x34ba1f(this[_0x57f41d(0x210)]);return _0x4706b8[_0x57f41d(0x1df)]({'tag':_0x57f41d(0x1e8),'attributes':{'class':_0x57f41d(0x1ae)},'children':[{'text':')'}]}),_0xb6042a[_0x57f41d(0x1b5)]({'label':_0x4f18bf[_0x57f41d(0x1d3)]+'\x20('+_0x25ee8a+')','withText':!0x0,'role':_0x57f41d(0x19d),'class':_0x57f41d(0x1fc),'tooltip':!0x1}),_0xb6042a[_0x57f41d(0x1df)]({'tag':_0x57f41d(0x200),'attributes':{'class':['ck',_0x57f41d(0x209),_0x57f41d(0x1e9),_0x57f41d(0x1a9),_0x57f41d(0x1b8)],'type':_0x57f41d(0x200),'role':_0x57f41d(0x19d),'tabindex':'-1'},'children':[_0x558658,_0x2b280c,_0x2d1f29,_0x5b1399,_0x4706b8],'on':{'mouseenter':_0x424135['to'](()=>{const _0x197d5f=_0x57f41d;this[_0x197d5f(0x1a6)]()||_0xb6042a[_0x197d5f(0x216)]();}),'click':_0x424135['to'](()=>{const _0x10da52=_0x57f41d;_0xb6042a[_0x10da52(0x1e4)](_0x10da52(0x1f0));})}}),_0xb6042a['on'](_0x57f41d(0x1f0),()=>{const _0x451290=_0x57f41d;_0x2bcfe8[_0x451290(0x1b3)][_0x451290(0x20b)][_0x451290(0x216)](),_0x2bcfe8[_0x451290(0x198)][_0x451290(0x1f0)](_0x451290(0x212),_0x4f18bf);}),_0x3659fd[_0x57f41d(0x1e6)][_0x57f41d(0x213)](_0xb6042a),{'listItem':_0x3659fd,'highlightViews':[_0x558658,_0x5b1399]};}{const _0x5d4820=new _0x1ff5b5(),_0x3d512e=new _0x180784(this[_0x57f41d(0x210)],_0x5d4820),_0x214013=_0x3d512e[_0x57f41d(0x1cb)],_0x230df6=_0x4f18bf[_0x57f41d(0x1c1)]??_0x4f18bf[_0x57f41d(0x1fa)]?.[_0x57f41d(0x1c1)],_0x3f24d0=void 0x0!==_0x4f18bf[_0x57f41d(0x1c1)];return _0x3d512e[_0x57f41d(0x1b5)]({'label':_0x4f18bf[_0x57f41d(0x1d3)],'withText':!0x0,'role':_0x57f41d(0x19d),'icon':_0x3f24d0?_0x230df6??_0x3cd17c:void 0x0,'tooltip':!0x1,'class':_0x57f41d(0x1a9)}),_0x3d512e[_0x57f41d(0x1c4)]({'on':{'mouseenter':_0x214013['to'](()=>{const _0x2229ef=_0x57f41d;this[_0x2229ef(0x1a6)]()||_0x3d512e[_0x2229ef(0x216)]();})}}),_0x3d512e['on'](_0x57f41d(0x1f0),()=>{const _0x497915=_0x57f41d;_0x2bcfe8[_0x497915(0x1b3)][_0x497915(0x20b)][_0x497915(0x216)](),_0x2bcfe8[_0x497915(0x198)][_0x497915(0x1f0)](_0x497915(0x212),_0x4f18bf);}),_0x3659fd[_0x57f41d(0x1e6)][_0x57f41d(0x213)](_0x3d512e),{'listItem':_0x3659fd,'highlightViews':[_0x5d4820]};}}[_0x59c939(0x217)](_0x4c7011,_0x30931e,_0x979c28,_0x3400ff){const _0x4b7816=_0x59c939;return _0x979c28&&_0x3400ff?this[_0x4b7816(0x219)](_0x4c7011,_0x30931e,_0x979c28,_0x3400ff):this[_0x4b7816(0x1f3)](_0x4c7011,_0x30931e);}[_0x59c939(0x219)](_0x10e44b,_0x2f12e5,_0xc641e8,_0x3f0480){const _0x43bdcd=_0x59c939,_0x2a0b39=new _0x183f38(this[_0x43bdcd(0x210)]),_0x1c4498=new _0x180784(this[_0x43bdcd(0x210)]),_0x1b29d9=_0x1c4498[_0x43bdcd(0x1cb)],{view:_0x4a9602,highlightView:_0x24c5ea}=this[_0x43bdcd(0x1c5)](_0xc641e8,_0x3f0480),{view:_0x56a999,highlightView:_0x1b580e}=this[_0x43bdcd(0x1e3)](_0x2f12e5[_0x43bdcd(0x1d3)]),_0x4f7a14=this[_0x43bdcd(0x19e)](_0x4a9602,_0x56a999);return _0x1c4498[_0x43bdcd(0x1b5)]({'label':_0x2f12e5[_0x43bdcd(0x1d3)],'withText':!0x0,'role':_0x43bdcd(0x19d),'class':_0x43bdcd(0x218),'tooltip':!0x1}),_0x1c4498[_0x43bdcd(0x1df)]({'tag':_0x43bdcd(0x200),'attributes':{'class':['ck',_0x43bdcd(0x209),_0x43bdcd(0x1e9),_0x43bdcd(0x1a9),_0x43bdcd(0x1ca),_0x43bdcd(0x1f5)],'type':_0x43bdcd(0x200),'role':_0x43bdcd(0x19d),'tabindex':'-1'},'children':[_0x4f7a14],'on':{'mouseenter':_0x1b29d9['to'](()=>{const _0x376718=_0x43bdcd;this[_0x376718(0x1a6)]()||_0x1c4498[_0x376718(0x216)]();}),'click':_0x1b29d9['to'](()=>{const _0xf4b1c6=_0x43bdcd;this[_0xf4b1c6(0x1d8)](_0x1c4498);})}}),this[_0x43bdcd(0x205)](_0x1c4498,_0x10e44b,_0x2f12e5),_0x2a0b39[_0x43bdcd(0x1e6)][_0x43bdcd(0x213)](_0x1c4498),{'listItem':_0x2a0b39,'highlightViews':[_0x24c5ea,_0x1b580e]};}[_0x59c939(0x1f3)](_0x5a195f,_0x273bc7){const _0x214400=_0x59c939,_0x1cd0d5=new _0x183f38(this[_0x214400(0x210)]),_0x578dc9=new _0x1ff5b5(),_0x9fa492=new _0x180784(this[_0x214400(0x210)],_0x578dc9),_0xbebedb=_0x9fa492[_0x214400(0x1cb)];return _0x9fa492[_0x214400(0x1b5)]({'label':_0x273bc7[_0x214400(0x1d3)],'withText':!0x0,'role':_0x214400(0x19d),'icon':void 0x0,'tooltip':!0x1,'class':_0x214400(0x1ad)}),_0x9fa492[_0x214400(0x1c4)]({'on':{'mouseenter':_0xbebedb['to'](()=>{const _0x3573ad=_0x214400;this[_0x3573ad(0x1a6)]()||_0x9fa492[_0x3573ad(0x216)]();})}}),this[_0x214400(0x205)](_0x9fa492,_0x5a195f,_0x273bc7),_0x1cd0d5[_0x214400(0x1e6)][_0x214400(0x213)](_0x9fa492),{'listItem':_0x1cd0d5,'highlightViews':[_0x578dc9]};}[_0x59c939(0x1c5)](_0x5b0201,_0x120664){const _0x5f34de=_0x59c939,_0x5ca17a=new _0x34ba1f(this[_0x5f34de(0x210)]),_0x4180b5=new _0x84d6d5();_0x4180b5[_0x5f34de(0x1ab)]=_0x120664,_0x4180b5[_0x5f34de(0x1c4)]({'attributes':{'class':_0x5f34de(0x1d2)}});const _0x3897d9=new _0x26880f();return _0x3897d9[_0x5f34de(0x196)]=_0x5b0201,_0x5ca17a[_0x5f34de(0x1df)]({'tag':_0x5f34de(0x1b2),'attributes':{'class':_0x5f34de(0x20a)},'children':[_0x4180b5,_0x3897d9]}),{'view':_0x5ca17a,'highlightView':_0x3897d9};}[_0x59c939(0x1e3)](_0x436e52){const _0x3e0f14=_0x59c939,_0x31be71=new _0x34ba1f(this[_0x3e0f14(0x210)]),_0x2e8199=new _0x26880f();return _0x2e8199[_0x3e0f14(0x196)]=_0x436e52,_0x31be71[_0x3e0f14(0x1df)]({'tag':_0x3e0f14(0x1b2),'attributes':{'class':_0x3e0f14(0x206)},'children':[_0x2e8199]}),{'view':_0x31be71,'highlightView':_0x2e8199};}[_0x59c939(0x19e)](_0x4ccded,_0xa06c11){const _0xe1642f=_0x59c939,_0x18c552=new _0x34ba1f(this[_0xe1642f(0x210)]);return _0x18c552[_0xe1642f(0x1df)]({'tag':_0xe1642f(0x1b2),'attributes':{'class':_0xe1642f(0x1ed)},'children':[_0x4ccded,_0xa06c11]}),_0x18c552;}[_0x59c939(0x205)](_0x166b6e,_0xec8fbf,_0x25c41b){const _0x294de1=_0x59c939;_0x166b6e['on'](_0x294de1(0x1f0),()=>{const _0x3380c0=_0x294de1;_0xec8fbf[_0x3380c0(0x1b3)][_0x3380c0(0x20b)][_0x3380c0(0x216)](),_0xec8fbf[_0x3380c0(0x198)][_0x3380c0(0x1f0)](_0x3380c0(0x212),_0x25c41b);});}[_0x59c939(0x1b4)](_0xe7f023,_0xed9555,_0x19e681){const _0x722f72=_0x59c939,_0x1fe0f1=new _0x183f38(this[_0x722f72(0x210)]),_0x2d3bd8=new _0x1ff5b5(),_0x309a79=new _0x1445ff(this[_0x722f72(0x210)],_0x2d3bd8),_0x173441=_0x309a79[_0x722f72(0x1cb)],_0x2e90e7=this[_0x722f72(0x1bc)](_0x19e681),_0x5ae605=this[_0x722f72(0x1ba)](_0xe7f023,_0xed9555[_0x722f72(0x1ac)],_0x19e681);_0x309a79[_0x722f72(0x1b5)]({'label':_0xed9555[_0x722f72(0x1e2)],'withText':!0x0,'role':Gs,'icon':_0xed9555[_0x722f72(0x1c1)]??_0x3cd17c,'isEnabled':_0xed9555[_0x722f72(0x1ac)][_0x722f72(0x1fd)](_0x2ea886=>_0x2ea886[_0x722f72(0x1e5)])}),_0x309a79[_0x722f72(0x1c4)]({'on':{'mouseenter':_0x173441['to'](()=>{const _0xb00a45=_0x722f72;this[_0xb00a45(0x1a6)]()||_0x309a79[_0xb00a45(0x216)]();})}});const _0x11f04c=new _0x319340(this[_0x722f72(0x210)]);return _0x11f04c[_0x722f72(0x1c4)]({'attributes':{'class':['ck',_0x722f72(0x1c2),_0x722f72(0x1bf),_0x722f72(0x1d6)]},'on':{'keydown':_0x173441['to'](_0x55915c=>{const _0x344a4b=_0x722f72;this[_0x344a4b(0x21c)](_0x55915c,_0x2e90e7,_0x309a79,_0x11f04c);})}}),_0x309a79[_0x722f72(0x1d1)](_0x722f72(0x1e7))['to'](_0x11f04c,_0x722f72(0x19a)),this[_0x722f72(0x211)][_0x722f72(0x213)](_0x11f04c),_0x11f04c[_0x722f72(0x1ab)][_0x722f72(0x213)](_0x5ae605),this[_0x722f72(0x1c3)](_0x309a79,_0x11f04c),_0x1fe0f1[_0x722f72(0x1e6)][_0x722f72(0x213)](_0x309a79),{'listItem':_0x1fe0f1,'highlightView':_0x2d3bd8};}[_0x59c939(0x1ba)](_0x4ff72a,_0x4c6d79,_0x32fdfb){const _0x1834ab=_0x59c939,_0x444c23=new _0x4bfe3e(this[_0x1834ab(0x210)]);return _0x444c23[_0x1834ab(0x1c4)]({'attributes':{'class':['ck',_0x1834ab(0x1c2),_0x1834ab(0x1a2),_0x1834ab(0x1e0)]}}),_0x4c6d79[_0x1834ab(0x1d0)](_0x691a85=>{const _0x5a5b73=_0x1834ab,_0x30a034=new _0x183f38(this[_0x5a5b73(0x210)]),_0x25af50=_0x168f98({'editor':_0x4ff72a,'action':_0x691a85,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x5a5b73(0x1a6)]()})();_0x30a034[_0x5a5b73(0x1e6)][_0x5a5b73(0x213)](_0x25af50),_0x32fdfb[_0x5a5b73(0x1b9)][_0x5a5b73(0x213)](_0x25af50),_0x444c23[_0x5a5b73(0x1b6)][_0x5a5b73(0x213)](_0x30a034);}),_0x444c23;}[_0x59c939(0x1c3)](_0x34f089,_0xc94b8f){const _0x3866b1=_0x59c939,_0x266cb1=_0x34f089[_0x3866b1(0x1cb)],_0x15cddc=this[_0x3866b1(0x19c)](_0x34f089);_0x34f089[_0x3866b1(0x1c4)]({'attributes':{'class':[_0x3866b1(0x1d7)]},'on':{'mouseenter':_0x266cb1['to'](()=>{const _0x57ebd1=_0x3866b1;this[_0x57ebd1(0x1d9)](_0xc94b8f,_0x34f089);}),'mouseleave':_0x266cb1['to'](_0x411225=>{const _0x1f207f=_0x3866b1,_0x4e9fbf=_0x411225[_0x1f207f(0x1b0)];this[_0x1f207f(0x203)](_0x4e9fbf,_0xc94b8f)||this[_0x1f207f(0x21a)](_0xc94b8f);}),'keydown':_0x266cb1['to'](_0x556c09=>{const _0x26091c=_0x3866b1;_0x556c09[_0x26091c(0x19f)]==_0x15cddc&&(this[_0x26091c(0x1d9)](_0xc94b8f,_0x34f089),_0xc94b8f[_0x26091c(0x1ab)][_0x26091c(0x1cc)](0x0)[_0x26091c(0x216)]());})}}),_0xc94b8f['on'](_0x3866b1(0x1e1),()=>{const _0x12f51e=_0x3866b1;_0xc94b8f[_0x12f51e(0x1f4)]?.[_0x12f51e(0x20f)](_0x12f51e(0x1c0),_0x57e76e=>{const _0x494138=_0x12f51e,_0x3d1334=_0x57e76e[_0x494138(0x1b0)];_0x34f089[_0x494138(0x1f4)]?.[_0x494138(0x1c9)](_0x3d1334)||this[_0x494138(0x203)](_0x3d1334,_0xc94b8f)||this[_0x494138(0x21a)](_0xc94b8f);});});}[_0x59c939(0x1d9)](_0x144bb4,_0xe34bc1){const _0xa08c83=_0x59c939;this[_0xa08c83(0x1af)][_0xa08c83(0x1d0)](_0x5f239c=>{const _0x5a0be6=_0xa08c83;_0x5f239c!==_0x144bb4&&_0x5f239c[_0x5a0be6(0x19a)]&&_0x5f239c[_0x5a0be6(0x1f2)]();}),_0x144bb4[_0xa08c83(0x1cf)](),_0x144bb4[_0xa08c83(0x1f9)]({'positions':[_0x555644[_0xa08c83(0x1bb)]],'target':_0xe34bc1[_0xa08c83(0x1f4)],'fitInViewport':!0x0}),this[_0xa08c83(0x1af)][_0xa08c83(0x213)](_0x144bb4);}[_0x59c939(0x21a)](_0x126f64){const _0x3a6f2f=_0x59c939;_0x126f64[_0x3a6f2f(0x1f2)](),this[_0x3a6f2f(0x1af)][_0x3a6f2f(0x1ec)](_0x126f64);}[_0x59c939(0x1a1)](){const _0x200272=_0x59c939;this[_0x200272(0x1af)][_0x200272(0x1d0)](_0x533cfe=>_0x533cfe[_0x200272(0x1f2)]()),this[_0x200272(0x1af)][_0x200272(0x1bd)]();}[_0x59c939(0x203)](_0x4bb689,_0x1874b4){const _0x3c68de=_0x59c939;if(!_0x4bb689)return!0x1;if(_0x1874b4[_0x3c68de(0x1f4)]?.[_0x3c68de(0x1c9)](_0x4bb689))return!0x0;const _0x49a769=_0x4bb689;return _0x49a769[_0x3c68de(0x1a3)]&&(null!==_0x49a769[_0x3c68de(0x1a3)](_0x3c68de(0x1ea))||null!==_0x49a769[_0x3c68de(0x1a3)](_0x3c68de(0x1d5))||null!==_0x49a769[_0x3c68de(0x1a3)](_0x3c68de(0x1d4)));}[_0x59c939(0x1fe)](){const _0x2dec76=_0x59c939;this[_0x2dec76(0x202)]&&this[_0x2dec76(0x202)][_0x2dec76(0x1ef)]();}[_0x59c939(0x1f6)](){const _0x146379=_0x59c939;this[_0x146379(0x1a1)](),this[_0x146379(0x211)][_0x146379(0x1b1)](),super[_0x146379(0x1f6)]();}[_0x59c939(0x216)](){const _0x4e0829=_0x59c939;this[_0x4e0829(0x202)]?this[_0x4e0829(0x202)][_0x4e0829(0x216)]():this[_0x4e0829(0x20c)][_0x4e0829(0x216)]();}[_0x59c939(0x1bc)](_0x58ba67){const _0x3c5a47=_0x59c939;return _0x3c5a47(0x1c8)===_0x58ba67[_0x3c5a47(0x210)][_0x3c5a47(0x1cd)]?_0x3c5a47(0x197):_0x3c5a47(0x1a5);}[_0x59c939(0x19c)](_0x47e50f){const _0x12cc8a=_0x59c939;return _0x12cc8a(0x1c8)===_0x47e50f[_0x12cc8a(0x210)][_0x12cc8a(0x1cd)]?_0x12cc8a(0x1a5):_0x12cc8a(0x197);}[_0x59c939(0x21c)](_0x422d7d,_0x55a992,_0x21bfc2,_0x38c750){const _0x14b368=_0x59c939;_0x422d7d[_0x14b368(0x19f)]==_0x55a992&&(_0x21bfc2[_0x14b368(0x216)](),this[_0x14b368(0x21a)](_0x38c750));}[_0x59c939(0x1d8)](_0x5b7ba8){const _0x1e6732=_0x59c939;_0x5b7ba8[_0x1e6732(0x1e4)](_0x1e6732(0x1f0));}}function _0x2d10(){const _0xcdea9f=['ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-group-button','_handleSearchResultButtonClick','_showNestedPanel','fieldView','first','2161112ooSrsg','ck-ai-quick-actions','_createListItems','setTemplate','ck-dropdown-menu-list','render','label','_createSearchResultActionRow','fire','isEnabled','children','isOn','span','ck-button_with-text','.ck-ai-quick-actions-group-panel','chain','delete','ck-ai-quick-actions-search-result__content','keystrokes','reset','execute','AI_QUICK_ACTIONS_SEARCH','hide','_createSearchResultIndividualActionButton','element','ck-ai-quick-actions-search-result-button_with-group','destroy','21rTCnQF','479784MJGFja','pin','parent','push','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','some','resetSearch','_createActionButton','button','2xKzrZR','_searchTextView','_isMovingToNestedMenu','role','_setupActionButtonExecution','ck-ai-quick-actions-search-result__action-row','643346ywaRtT','ck-rounded-corners','ck-button','ck-ai-quick-actions-search-result__group-row','view','optionsListView','_allSearchableItems','_createSearchTextView','addEventListener','locale','_bodyCollection','aiQuickAction','add','addMany','1171456QyixEJ','focus','_createSearchResultActionButton','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','_createSearchResultGroupedActionButton','_hideNestedPanel','10868040pvJVcR','_handlePanelKeydown','text','ArrowRight','commands','_focusables','isVisible','queryView','_getButtonKeystroke','menuitem','_createSearchResultContentView','key','focusCycler','_hideAllNestedPanels','ck-ai-quick-actions-group-list','closest','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ArrowLeft','_isSearchFocused','1219554TwzUIR','ck-ai-quick-actions-search','ck-ai-quick-actions-button','_hasSearch','content','actions','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-button_with-group__close-paren','_openNestedPanels','relatedTarget','detachFromDom','div','editing','_createActionGroupButton','set','items','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-button_with-group','focusTracker','_createGroupActionsList','eastSouth','_getPanelKeystroke','clear','851510cVUwhy','ck-ai-quick-actions-group-panel','mouseleave','icon','ck-reset_all','_setupGroupMenuBehavior','extendTemplate','_createSearchResultGroupRow','menu','activeElement','rtl','contains','ck-ai-quick-actions-search-result-button','bindTemplate','get','uiLanguageDirection','ownerDocument','show','forEach','bind','ck-ai-quick-actions-button__group-icon','displayedPrompt','.ck-ai-quick-actions-group-button','.ck-ai-quick-actions-group-list'];_0x2d10=function(){return _0xcdea9f;};return _0x2d10();}
23
+ const _0x3e1b1e=_0x554e;function _0x1064(){const _0x4e2510=['ck-reset_all','key','relatedTarget','content','_createListItems','icon','parent','5224410juagZr','_isSearchFocused','ck-ai-quick-actions-search','ck-ai-quick-actions-search-result__content','_getPanelKeystroke','_createActionButton','ck-dropdown-menu-list','keystrokes','render','ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-list','isOn','ownerDocument','AI_QUICK_ACTIONS_SEARCH','88mjMxYi','140196bgxJAJ','role','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-search-result-button','bind','ck-ai-quick-actions-button_with-group__close-paren','forEach','_allSearchableItems','.ck-ai-quick-actions-group-button','_createSearchResultGroupRow','fire','242738FBVeNS','_handlePanelKeydown','optionsListView','hide','focusCycler','ck-ai-quick-actions-group-panel','commands','_createSearchResultActionRow','fieldView','closest','_isMovingToNestedMenu','35obfssz','ck-button','_focusables','85768nRcdOn','ArrowRight','_handleSearchResultButtonClick','delete','_setupGroupMenuBehavior','addEventListener','editing','bindTemplate','uiLanguageDirection','add','chain','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_showNestedPanel','addMany','ck-ai-quick-actions','_hideAllNestedPanels','children','extendTemplate','isEnabled','_setupActionButtonExecution','focusTracker','_createActionGroupButton','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultActionButton','menu','div','span','push','_createGroupActionsList','setTemplate','set','_createSearchTextView','activeElement','ck-ai-quick-actions-search-result__group-row','queryView','ck-rounded-corners','pin','_createSearchResultIndividualActionButton','displayedPrompt','.ck-ai-quick-actions-group-panel','label','_createSearchResultGroupedActionButton','.ck-ai-quick-actions-group-list','1IiEbev','554013IzIUwI','_hasSearch','ck-ai-quick-actions-search-result__action-row','590742fNOxbh','view','actions','550704iDABTJ','_bodyCollection','_searchTextView','contains','element','_hideNestedPanel','_openNestedPanels','some','mouseleave','items','aiQuickAction','ck-ai-quick-actions-button_with-group__open-paren','get','menuitem','button','isVisible','rtl','first','destroy','ck-ai-quick-actions-button','detachFromDom','_createSearchResultContentView','resetSearch','ck-button_with-text','ck-dropdown-menu__nested-menu__panel','execute','ck-ai-quick-actions-search-result-button_with-group','eastSouth','text','ck-ai-quick-actions-button_with-group','ArrowLeft','_getButtonKeystroke','ck-ai-quick-actions-button__group-icon','show','focus','clear','reset','locale'];_0x1064=function(){return _0x4e2510;};return _0x1064();}(function(_0x13c8ec,_0x3be02e){const _0x125998=_0x554e,_0x365276=_0x13c8ec();while(!![]){try{const _0x2c3df3=-parseInt(_0x125998(0x259))/0x1*(-parseInt(_0x125998(0x21f))/0x2)+parseInt(_0x125998(0x260))/0x3+parseInt(_0x125998(0x22d))/0x4*(parseInt(_0x125998(0x22a))/0x5)+-parseInt(_0x125998(0x25d))/0x6+parseInt(_0x125998(0x214))/0x7*(parseInt(_0x125998(0x213))/0x8)+parseInt(_0x125998(0x25a))/0x9+-parseInt(_0x125998(0x205))/0xa;if(_0x2c3df3===_0x3be02e)break;else _0x365276['push'](_0x365276['shift']());}catch(_0x57e0b3){_0x365276['push'](_0x365276['shift']());}}}(_0x1064,0x1c51e));import{View as _0x2765df,ListItemView as _0x693c85,ListView as _0x388573,BalloonPanelView as _0x9353fd,DropdownMenuPanelPositioningFunctions as _0x4b2f5d,ViewCollection as _0x8230d0,FocusCycler as _0x26052d,ButtonView as _0x344abd,IconView as _0x474741,HighlightedTextView as _0x2b29ed,ButtonLabelWithHighlightView as _0x5d0161,SearchTextView as _0x35d5fa}from'ckeditor5/src/ui.js';function _0x554e(_0x5426d8,_0x49dc8c){const _0x106487=_0x1064();return _0x554e=function(_0x554eef,_0x28085e){_0x554eef=_0x554eef-0x1f1;let _0x10e277=_0x106487[_0x554eef];return _0x10e277;},_0x554e(_0x5426d8,_0x49dc8c);}import{IconAIQuickActions as _0x4a2182}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x1fe578,KeystrokeHandler as _0x151f16}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x42db6c}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1bebe4}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0xfafa76}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x1ee90a}from'./aiquickactionsfilteredlistview.js';const Qs=_0x3e1b1e(0x246),Gs=_0x3e1b1e(0x26d);export class AIQuickActionsDropdownContentView extends _0x2765df{[_0x3e1b1e(0x261)];[_0x3e1b1e(0x221)];[_0x3e1b1e(0x262)]=null;[_0x3e1b1e(0x21b)]=[];[_0x3e1b1e(0x23e)];[_0x3e1b1e(0x242)];[_0x3e1b1e(0x20c)];[_0x3e1b1e(0x22c)];[_0x3e1b1e(0x223)];[_0x3e1b1e(0x266)]=new Set();[_0x3e1b1e(0x25b)];constructor(_0x78d3f0,_0x274246,_0x5d5ea4,_0x752258,_0x3d0ee6=!0x1){const _0x48fc57=_0x3e1b1e,_0x20aa8d=_0x78d3f0[_0x48fc57(0x1fd)];super(_0x20aa8d),this[_0x48fc57(0x261)]=_0x752258,this[_0x48fc57(0x25b)]=_0x3d0ee6;const _0x4f1ea7=this[_0x48fc57(0x202)](_0x78d3f0,_0x274246,_0x5d5ea4);this[_0x48fc57(0x221)]=new _0x1ee90a(_0x20aa8d,_0x4f1ea7,this[_0x48fc57(0x21b)]),this[_0x48fc57(0x221)][_0x48fc57(0x215)]=Qs,this[_0x48fc57(0x221)][_0x48fc57(0x269)][_0x48fc57(0x23b)](_0x4f1ea7),this[_0x48fc57(0x242)]=new _0x1fe578(),this[_0x48fc57(0x20c)]=new _0x151f16(),_0x3d0ee6&&(this[_0x48fc57(0x262)]=this[_0x48fc57(0x24d)]()),this[_0x48fc57(0x22c)]=_0x4f1ea7,this[_0x48fc57(0x223)]=new _0x26052d({'focusables':this[_0x48fc57(0x22c)],'focusTracker':this[_0x48fc57(0x242)],'keystrokeHandler':this[_0x48fc57(0x20c)]}),_0x3d0ee6&&this[_0x48fc57(0x262)]&&this[_0x48fc57(0x223)][_0x48fc57(0x237)](this[_0x48fc57(0x262)][_0x48fc57(0x223)]);const _0x2e3f21=_0x3d0ee6&&this[_0x48fc57(0x262)]?[this[_0x48fc57(0x262)]]:[this[_0x48fc57(0x221)]];this[_0x48fc57(0x23e)]=new _0x8230d0(_0x2e3f21),this[_0x48fc57(0x24b)]({'tag':_0x48fc57(0x247),'attributes':{'class':['ck',_0x48fc57(0x1fe),_0x48fc57(0x23c),_0x48fc57(0x251)],'dir':_0x20aa8d[_0x48fc57(0x235)]},'children':this[_0x48fc57(0x23e)]});}[_0x3e1b1e(0x24d)](){const _0x105e0d=_0x3e1b1e;return new _0x35d5fa(this[_0x105e0d(0x1fd)],{'filteredView':this[_0x105e0d(0x221)],'queryView':{'label':_0xfafa76(this[_0x105e0d(0x1fd)],_0x105e0d(0x212))},'class':_0x105e0d(0x207),'infoView':{'text':{'notFound':{'primary':_0xfafa76(this[_0x105e0d(0x1fd)],_0x105e0d(0x216))}}}});}[_0x3e1b1e(0x206)](){const _0x19b2f3=_0x3e1b1e;if(!this[_0x19b2f3(0x25b)]||!this[_0x19b2f3(0x262)]||!this[_0x19b2f3(0x262)][_0x19b2f3(0x250)][_0x19b2f3(0x227)][_0x19b2f3(0x264)])return!0x1;const _0x10ea3c=this[_0x19b2f3(0x262)][_0x19b2f3(0x250)][_0x19b2f3(0x227)][_0x19b2f3(0x264)][_0x19b2f3(0x211)]?.[_0x19b2f3(0x24e)];return this[_0x19b2f3(0x262)][_0x19b2f3(0x250)][_0x19b2f3(0x227)][_0x19b2f3(0x264)][_0x19b2f3(0x263)](_0x10ea3c);}[_0x3e1b1e(0x202)](_0x4bab03,_0xc7d17c,_0x15ffb4){const _0x42c423=_0x3e1b1e,_0x2161b2=new _0x8230d0();return _0xc7d17c[_0x42c423(0x21a)](_0x5a7295=>{const _0x2ce79a=_0x42c423;if(_0x2ce79a(0x25f)in _0x5a7295){const {listItem:_0x32abfb}=this[_0x2ce79a(0x243)](_0x4bab03,_0x5a7295,_0x15ffb4);_0x2161b2[_0x2ce79a(0x236)](_0x32abfb),_0x5a7295[_0x2ce79a(0x25f)][_0x2ce79a(0x21a)](_0x1e1d9f=>{const _0xce535f=_0x2ce79a;this[_0xce535f(0x20a)](_0x4bab03,_0x1e1d9f,_0x5a7295[_0xce535f(0x256)],_0x5a7295[_0xce535f(0x203)]);const {listItem:_0x419778,highlightViews:_0x37777e}=this[_0xce535f(0x245)](_0x4bab03,_0x1e1d9f,_0x5a7295[_0xce535f(0x256)],_0x5a7295[_0xce535f(0x203)]);this[_0xce535f(0x21b)][_0xce535f(0x249)]({'item':_0x419778,'label':_0x1e1d9f[_0xce535f(0x254)],'groupLabel':_0x5a7295[_0xce535f(0x256)],'highlightViews':_0x37777e});});}else{const {listItem:_0x591b12}=this[_0x2ce79a(0x20a)](_0x4bab03,_0x5a7295);_0x2161b2[_0x2ce79a(0x236)](_0x591b12);const _0x2f00d5=_0x591b12[_0x2ce79a(0x23e)][_0x2ce79a(0x271)];if(_0x2f00d5){const {listItem:_0x55e4e3,highlightViews:_0x2cd353}=this[_0x2ce79a(0x245)](_0x4bab03,_0x5a7295);this[_0x2ce79a(0x21b)][_0x2ce79a(0x249)]({'item':_0x55e4e3,'label':_0x2f00d5[_0x2ce79a(0x256)]||'','highlightViews':_0x2cd353});}}}),_0x2161b2;}[_0x3e1b1e(0x20a)](_0x4e67bf,_0x2c10c0,_0x3eca39,_0x5ddb83){const _0x513963=_0x3e1b1e,_0x3d5e5b=new _0x693c85(this[_0x513963(0x1fd)]);if(_0x3eca39&&_0x5ddb83){const _0x5d497d=new _0x344abd(this[_0x513963(0x1fd)]),_0x38e06e=_0x5d497d[_0x513963(0x234)],_0x180b5c=new _0x2b29ed();_0x180b5c[_0x513963(0x1f4)]=_0x2c10c0[_0x513963(0x254)];const _0x1a7a65=new _0x2b29ed();_0x1a7a65[_0x513963(0x1f4)]=_0x3eca39;const _0x4eb2c7=new _0x474741();_0x4eb2c7[_0x513963(0x201)]=_0x5ddb83,_0x4eb2c7[_0x513963(0x23f)]({'attributes':{'class':_0x513963(0x1f8)}});const _0x2bf247=new _0x2765df(this[_0x513963(0x1fd)]);_0x2bf247[_0x513963(0x24b)]({'tag':_0x513963(0x248),'attributes':{'class':_0x513963(0x26b)},'children':[{'text':'\x20('}]});const _0x32fcf3=new _0x2765df(this[_0x513963(0x1fd)]);return _0x32fcf3[_0x513963(0x24b)]({'tag':_0x513963(0x248),'attributes':{'class':_0x513963(0x219)},'children':[{'text':')'}]}),_0x5d497d[_0x513963(0x24c)]({'label':_0x2c10c0[_0x513963(0x254)]+'\x20('+_0x3eca39+')','withText':!0x0,'role':_0x513963(0x26d),'class':_0x513963(0x244),'tooltip':!0x1}),_0x5d497d[_0x513963(0x24b)]({'tag':_0x513963(0x26e),'attributes':{'class':['ck',_0x513963(0x22b),_0x513963(0x277),_0x513963(0x273),_0x513963(0x1f5)],'type':_0x513963(0x26e),'role':_0x513963(0x26d),'tabindex':'-1'},'children':[_0x180b5c,_0x2bf247,_0x4eb2c7,_0x1a7a65,_0x32fcf3],'on':{'mouseenter':_0x38e06e['to'](()=>{const _0x1de126=_0x513963;this[_0x1de126(0x206)]()||_0x5d497d[_0x1de126(0x1fa)]();}),'click':_0x38e06e['to'](()=>{const _0x396528=_0x513963;_0x5d497d[_0x396528(0x21e)](_0x396528(0x1f1));})}}),_0x5d497d['on'](_0x513963(0x1f1),()=>{const _0x5c68ed=_0x513963;_0x4e67bf[_0x5c68ed(0x233)][_0x5c68ed(0x25e)][_0x5c68ed(0x1fa)](),_0x4e67bf[_0x5c68ed(0x225)][_0x5c68ed(0x1f1)](_0x5c68ed(0x26a),_0x2c10c0);}),_0x3d5e5b[_0x513963(0x23e)][_0x513963(0x236)](_0x5d497d),{'listItem':_0x3d5e5b,'highlightViews':[_0x180b5c,_0x1a7a65]};}{const _0x2256f3=new _0x5d0161(),_0x39d322=new _0x344abd(this[_0x513963(0x1fd)],_0x2256f3),_0x390752=_0x39d322[_0x513963(0x234)],_0x87745d=_0x2c10c0[_0x513963(0x203)]??_0x2c10c0[_0x513963(0x204)]?.[_0x513963(0x203)],_0x494dcc=void 0x0!==_0x2c10c0[_0x513963(0x203)];return _0x39d322[_0x513963(0x24c)]({'label':_0x2c10c0[_0x513963(0x254)],'withText':!0x0,'role':_0x513963(0x26d),'icon':_0x494dcc?_0x87745d??_0x4a2182:void 0x0,'tooltip':!0x1,'class':_0x513963(0x273)}),_0x39d322[_0x513963(0x23f)]({'on':{'mouseenter':_0x390752['to'](()=>{const _0x5d336d=_0x513963;this[_0x5d336d(0x206)]()||_0x39d322[_0x5d336d(0x1fa)]();})}}),_0x39d322['on'](_0x513963(0x1f1),()=>{const _0x57850f=_0x513963;_0x4e67bf[_0x57850f(0x233)][_0x57850f(0x25e)][_0x57850f(0x1fa)](),_0x4e67bf[_0x57850f(0x225)][_0x57850f(0x1f1)](_0x57850f(0x26a),_0x2c10c0);}),_0x3d5e5b[_0x513963(0x23e)][_0x513963(0x236)](_0x39d322),{'listItem':_0x3d5e5b,'highlightViews':[_0x2256f3]};}}[_0x3e1b1e(0x245)](_0x197591,_0x1e6bd5,_0x5d8592,_0x188557){const _0x667fe2=_0x3e1b1e;return _0x5d8592&&_0x188557?this[_0x667fe2(0x257)](_0x197591,_0x1e6bd5,_0x5d8592,_0x188557):this[_0x667fe2(0x253)](_0x197591,_0x1e6bd5);}[_0x3e1b1e(0x257)](_0x173ecb,_0x964e8b,_0x2ba785,_0x34341b){const _0x135a63=_0x3e1b1e,_0x4025b4=new _0x693c85(this[_0x135a63(0x1fd)]),_0x5766b5=new _0x344abd(this[_0x135a63(0x1fd)]),_0x5a3500=_0x5766b5[_0x135a63(0x234)],{view:_0x5bf697,highlightView:_0x2efbb5}=this[_0x135a63(0x21d)](_0x2ba785,_0x34341b),{view:_0x5f11a3,highlightView:_0x51a804}=this[_0x135a63(0x226)](_0x964e8b[_0x135a63(0x254)]),_0x38fbdd=this[_0x135a63(0x275)](_0x5bf697,_0x5f11a3);return _0x5766b5[_0x135a63(0x24c)]({'label':_0x964e8b[_0x135a63(0x254)],'withText':!0x0,'role':_0x135a63(0x26d),'class':_0x135a63(0x238),'tooltip':!0x1}),_0x5766b5[_0x135a63(0x24b)]({'tag':_0x135a63(0x26e),'attributes':{'class':['ck',_0x135a63(0x22b),_0x135a63(0x277),_0x135a63(0x273),_0x135a63(0x217),_0x135a63(0x1f2)],'type':_0x135a63(0x26e),'role':_0x135a63(0x26d),'tabindex':'-1'},'children':[_0x38fbdd],'on':{'mouseenter':_0x5a3500['to'](()=>{const _0x8606dc=_0x135a63;this[_0x8606dc(0x206)]()||_0x5766b5[_0x8606dc(0x1fa)]();}),'click':_0x5a3500['to'](()=>{const _0xf87881=_0x135a63;this[_0xf87881(0x22f)](_0x5766b5);})}}),this[_0x135a63(0x241)](_0x5766b5,_0x173ecb,_0x964e8b),_0x4025b4[_0x135a63(0x23e)][_0x135a63(0x236)](_0x5766b5),{'listItem':_0x4025b4,'highlightViews':[_0x2efbb5,_0x51a804]};}[_0x3e1b1e(0x253)](_0x2da53d,_0x4c463e){const _0x53e876=_0x3e1b1e,_0x1acc31=new _0x693c85(this[_0x53e876(0x1fd)]),_0x2dbbdc=new _0x5d0161(),_0x327349=new _0x344abd(this[_0x53e876(0x1fd)],_0x2dbbdc),_0x5a3f3b=_0x327349[_0x53e876(0x234)];return _0x327349[_0x53e876(0x24c)]({'label':_0x4c463e[_0x53e876(0x254)],'withText':!0x0,'role':_0x53e876(0x26d),'icon':void 0x0,'tooltip':!0x1,'class':_0x53e876(0x239)}),_0x327349[_0x53e876(0x23f)]({'on':{'mouseenter':_0x5a3f3b['to'](()=>{const _0x2df014=_0x53e876;this[_0x2df014(0x206)]()||_0x327349[_0x2df014(0x1fa)]();})}}),this[_0x53e876(0x241)](_0x327349,_0x2da53d,_0x4c463e),_0x1acc31[_0x53e876(0x23e)][_0x53e876(0x236)](_0x327349),{'listItem':_0x1acc31,'highlightViews':[_0x2dbbdc]};}[_0x3e1b1e(0x21d)](_0x548133,_0x1adffc){const _0x53155b=_0x3e1b1e,_0xf19cec=new _0x2765df(this[_0x53155b(0x1fd)]),_0x547294=new _0x474741();_0x547294[_0x53155b(0x201)]=_0x1adffc,_0x547294[_0x53155b(0x23f)]({'attributes':{'class':_0x53155b(0x1f8)}});const _0x19bc83=new _0x2b29ed();return _0x19bc83[_0x53155b(0x1f4)]=_0x548133,_0xf19cec[_0x53155b(0x24b)]({'tag':_0x53155b(0x247),'attributes':{'class':_0x53155b(0x24f)},'children':[_0x547294,_0x19bc83]}),{'view':_0xf19cec,'highlightView':_0x19bc83};}[_0x3e1b1e(0x226)](_0x2c7be9){const _0x4725ff=_0x3e1b1e,_0x420fce=new _0x2765df(this[_0x4725ff(0x1fd)]),_0x1d5e9c=new _0x2b29ed();return _0x1d5e9c[_0x4725ff(0x1f4)]=_0x2c7be9,_0x420fce[_0x4725ff(0x24b)]({'tag':_0x4725ff(0x247),'attributes':{'class':_0x4725ff(0x25c)},'children':[_0x1d5e9c]}),{'view':_0x420fce,'highlightView':_0x1d5e9c};}[_0x3e1b1e(0x275)](_0x537097,_0x22b5ae){const _0xdad2a0=_0x3e1b1e,_0x32332f=new _0x2765df(this[_0xdad2a0(0x1fd)]);return _0x32332f[_0xdad2a0(0x24b)]({'tag':_0xdad2a0(0x247),'attributes':{'class':_0xdad2a0(0x208)},'children':[_0x537097,_0x22b5ae]}),_0x32332f;}[_0x3e1b1e(0x241)](_0x11ccbe,_0x4b96a0,_0x2793dd){const _0x4dc1eb=_0x3e1b1e;_0x11ccbe['on'](_0x4dc1eb(0x1f1),()=>{const _0x6a33d8=_0x4dc1eb;_0x4b96a0[_0x6a33d8(0x233)][_0x6a33d8(0x25e)][_0x6a33d8(0x1fa)](),_0x4b96a0[_0x6a33d8(0x225)][_0x6a33d8(0x1f1)](_0x6a33d8(0x26a),_0x2793dd);});}[_0x3e1b1e(0x243)](_0x12c3a4,_0x3c6fc1,_0xdd33a6){const _0x2f960e=_0x3e1b1e,_0x2e4b5c=new _0x693c85(this[_0x2f960e(0x1fd)]),_0x4dfb41=new _0x5d0161(),_0xb0305c=new _0x1bebe4(this[_0x2f960e(0x1fd)],_0x4dfb41),_0x13a2fa=_0xb0305c[_0x2f960e(0x234)],_0x91606d=this[_0x2f960e(0x209)](_0xdd33a6),_0x4f0693=this[_0x2f960e(0x24a)](_0x12c3a4,_0x3c6fc1[_0x2f960e(0x25f)],_0xdd33a6);_0xb0305c[_0x2f960e(0x24c)]({'label':_0x3c6fc1[_0x2f960e(0x256)],'withText':!0x0,'role':Gs,'icon':_0x3c6fc1[_0x2f960e(0x203)]??_0x4a2182,'isEnabled':_0x3c6fc1[_0x2f960e(0x25f)][_0x2f960e(0x267)](_0x2b20e2=>_0x2b20e2[_0x2f960e(0x240)])}),_0xb0305c[_0x2f960e(0x23f)]({'on':{'mouseenter':_0x13a2fa['to'](()=>{const _0x3930f2=_0x2f960e;this[_0x3930f2(0x206)]()||_0xb0305c[_0x3930f2(0x1fa)]();})}});const _0x1e3926=new _0x9353fd(this[_0x2f960e(0x1fd)]);return _0x1e3926[_0x2f960e(0x23f)]({'attributes':{'class':['ck',_0x2f960e(0x1fe),_0x2f960e(0x224),_0x2f960e(0x278)]},'on':{'keydown':_0x13a2fa['to'](_0x34f4a2=>{const _0x3765f5=_0x2f960e;this[_0x3765f5(0x220)](_0x34f4a2,_0x91606d,_0xb0305c,_0x1e3926);})}}),_0xb0305c[_0x2f960e(0x218)](_0x2f960e(0x210))['to'](_0x1e3926,_0x2f960e(0x26f)),this[_0x2f960e(0x261)][_0x2f960e(0x236)](_0x1e3926),_0x1e3926[_0x2f960e(0x201)][_0x2f960e(0x236)](_0x4f0693),this[_0x2f960e(0x231)](_0xb0305c,_0x1e3926),_0x2e4b5c[_0x2f960e(0x23e)][_0x2f960e(0x236)](_0xb0305c),{'listItem':_0x2e4b5c,'highlightView':_0x4dfb41};}[_0x3e1b1e(0x24a)](_0x501ea4,_0x3da9a1,_0x2cfefc){const _0x4185ab=_0x3e1b1e,_0x1378e0=new _0x388573(this[_0x4185ab(0x1fd)]);return _0x1378e0[_0x4185ab(0x23f)]({'attributes':{'class':['ck',_0x4185ab(0x1fe),_0x4185ab(0x20f),_0x4185ab(0x20b)]}}),_0x3da9a1[_0x4185ab(0x21a)](_0xc38d94=>{const _0x595208=_0x4185ab,_0x210dfc=new _0x693c85(this[_0x595208(0x1fd)]),_0x40ab8e=_0x42db6c({'editor':_0x501ea4,'action':_0xc38d94,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x595208(0x206)]()})();_0x210dfc[_0x595208(0x23e)][_0x595208(0x236)](_0x40ab8e),_0x2cfefc[_0x595208(0x242)][_0x595208(0x236)](_0x40ab8e),_0x1378e0[_0x595208(0x269)][_0x595208(0x236)](_0x210dfc);}),_0x1378e0;}[_0x3e1b1e(0x231)](_0x39d2ca,_0x5121b4){const _0xfc7046=_0x3e1b1e,_0x8fe38e=_0x39d2ca[_0xfc7046(0x234)],_0x505f64=this[_0xfc7046(0x1f7)](_0x39d2ca);_0x39d2ca[_0xfc7046(0x23f)]({'attributes':{'class':[_0xfc7046(0x20e)]},'on':{'mouseenter':_0x8fe38e['to'](()=>{const _0x50720c=_0xfc7046;this[_0x50720c(0x23a)](_0x5121b4,_0x39d2ca);}),'mouseleave':_0x8fe38e['to'](_0x208a18=>{const _0x15e6a2=_0xfc7046,_0x2c1004=_0x208a18[_0x15e6a2(0x200)];this[_0x15e6a2(0x229)](_0x2c1004,_0x5121b4)||this[_0x15e6a2(0x265)](_0x5121b4);}),'keydown':_0x8fe38e['to'](_0x13c5d1=>{const _0x5d1d31=_0xfc7046;_0x13c5d1[_0x5d1d31(0x1ff)]==_0x505f64&&(this[_0x5d1d31(0x23a)](_0x5121b4,_0x39d2ca),_0x5121b4[_0x5d1d31(0x201)][_0x5d1d31(0x26c)](0x0)[_0x5d1d31(0x1fa)]());})}}),_0x5121b4['on'](_0xfc7046(0x20d),()=>{const _0x2c9b62=_0xfc7046;_0x5121b4[_0x2c9b62(0x264)]?.[_0x2c9b62(0x232)](_0x2c9b62(0x268),_0x766d41=>{const _0x20b88d=_0x2c9b62,_0x4ddba8=_0x766d41[_0x20b88d(0x200)];_0x39d2ca[_0x20b88d(0x264)]?.[_0x20b88d(0x263)](_0x4ddba8)||this[_0x20b88d(0x229)](_0x4ddba8,_0x5121b4)||this[_0x20b88d(0x265)](_0x5121b4);});});}[_0x3e1b1e(0x23a)](_0x2e4015,_0x491171){const _0x132ae4=_0x3e1b1e;this[_0x132ae4(0x266)][_0x132ae4(0x21a)](_0x277224=>{const _0x3a4267=_0x132ae4;_0x277224!==_0x2e4015&&_0x277224[_0x3a4267(0x26f)]&&_0x277224[_0x3a4267(0x222)]();}),_0x2e4015[_0x132ae4(0x1f9)](),_0x2e4015[_0x132ae4(0x252)]({'positions':[_0x4b2f5d[_0x132ae4(0x1f3)]],'target':_0x491171[_0x132ae4(0x264)],'fitInViewport':!0x0}),this[_0x132ae4(0x266)][_0x132ae4(0x236)](_0x2e4015);}[_0x3e1b1e(0x265)](_0x340962){const _0x265fa6=_0x3e1b1e;_0x340962[_0x265fa6(0x222)](),this[_0x265fa6(0x266)][_0x265fa6(0x230)](_0x340962);}[_0x3e1b1e(0x23d)](){const _0x599fae=_0x3e1b1e;this[_0x599fae(0x266)][_0x599fae(0x21a)](_0x5dbd7b=>_0x5dbd7b[_0x599fae(0x222)]()),this[_0x599fae(0x266)][_0x599fae(0x1fb)]();}[_0x3e1b1e(0x229)](_0x551931,_0x4c5e6b){const _0x2dd014=_0x3e1b1e;if(!_0x551931)return!0x1;if(_0x4c5e6b[_0x2dd014(0x264)]?.[_0x2dd014(0x263)](_0x551931))return!0x0;const _0xfd31c4=_0x551931;return _0xfd31c4[_0x2dd014(0x228)]&&(null!==_0xfd31c4[_0x2dd014(0x228)](_0x2dd014(0x255))||null!==_0xfd31c4[_0x2dd014(0x228)](_0x2dd014(0x258))||null!==_0xfd31c4[_0x2dd014(0x228)](_0x2dd014(0x21c)));}[_0x3e1b1e(0x276)](){const _0x4a04c2=_0x3e1b1e;this[_0x4a04c2(0x262)]&&this[_0x4a04c2(0x262)][_0x4a04c2(0x1fc)]();}[_0x3e1b1e(0x272)](){const _0x13b80b=_0x3e1b1e;this[_0x13b80b(0x23d)](),this[_0x13b80b(0x261)][_0x13b80b(0x274)](),super[_0x13b80b(0x272)]();}[_0x3e1b1e(0x1fa)](){const _0x43c898=_0x3e1b1e;this[_0x43c898(0x262)]?this[_0x43c898(0x262)][_0x43c898(0x1fa)]():this[_0x43c898(0x221)][_0x43c898(0x1fa)]();}[_0x3e1b1e(0x209)](_0x2c600a){const _0x525d9a=_0x3e1b1e;return _0x525d9a(0x270)===_0x2c600a[_0x525d9a(0x1fd)][_0x525d9a(0x235)]?_0x525d9a(0x22e):_0x525d9a(0x1f6);}[_0x3e1b1e(0x1f7)](_0x1c2215){const _0x1e81a2=_0x3e1b1e;return _0x1e81a2(0x270)===_0x1c2215[_0x1e81a2(0x1fd)][_0x1e81a2(0x235)]?_0x1e81a2(0x1f6):_0x1e81a2(0x22e);}[_0x3e1b1e(0x220)](_0x47b60d,_0x36b014,_0x4dec78,_0x22adc6){const _0x4ac2a4=_0x3e1b1e;_0x47b60d[_0x4ac2a4(0x1ff)]==_0x36b014&&(_0x4dec78[_0x4ac2a4(0x1fa)](),this[_0x4ac2a4(0x265)](_0x22adc6));}[_0x3e1b1e(0x22f)](_0x58bb30){const _0x1f0f61=_0x3e1b1e;_0x58bb30[_0x1f0f61(0x21e)](_0x1f0f61(0x1f1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5eae4a,_0x3daaca){const _0x358bef=_0x2b83,_0x20948e=_0x5eae4a();while(!![]){try{const _0x2d815c=-parseInt(_0x358bef(0xdb))/0x1*(parseInt(_0x358bef(0xc4))/0x2)+parseInt(_0x358bef(0xce))/0x3+-parseInt(_0x358bef(0xc9))/0x4+parseInt(_0x358bef(0xcb))/0x5+-parseInt(_0x358bef(0xca))/0x6+parseInt(_0x358bef(0xc2))/0x7+parseInt(_0x358bef(0xda))/0x8;if(_0x2d815c===_0x3daaca)break;else _0x20948e['push'](_0x20948e['shift']());}catch(_0x3d6b2c){_0x20948e['push'](_0x20948e['shift']());}}}(_0x459b,0xb8d13));import{createDropdown as _0x42a967}from'ckeditor5/src/ui.js';function _0x2b83(_0x34906d,_0x46c262){const _0x459b76=_0x459b();return _0x2b83=function(_0x2b830c,_0x199b3b){_0x2b830c=_0x2b830c-0xc1;let _0x19a6f4=_0x459b76[_0x2b830c];return _0x19a6f4;},_0x2b83(_0x34906d,_0x46c262);}import{IconAIQuickActions as _0x239691}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x451283}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x4cc685}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x2023f4){const {editor:_0x166d98,content:_0x52c430,buttonDefinition:_0x72d26e,bodyCollection:_0x23f71b,hasSearch:_0xd18ddd=!0x1}=_0x2023f4;return()=>{const _0x3149bb=_0x2b83,_0x1a1dfd=_0x166d98[_0x3149bb(0xcf)],_0x139a21=_0x42a967(_0x1a1dfd);_0x139a21[_0x3149bb(0xc5)][_0x3149bb(0xd1)]({'icon':_0x72d26e[_0x3149bb(0xd3)]??_0x239691,'label':_0x72d26e[_0x3149bb(0xc7)],'tooltip':!0x0}),_0x139a21[_0x3149bb(0xd1)]({'class':_0x3149bb(0xdd)});const _0x49c2b4=new _0x451283(_0x166d98,_0x52c430,_0x139a21,_0x23f71b,_0xd18ddd);if(_0x139a21[_0x3149bb(0xdf)][_0x3149bb(0xd0)][_0x3149bb(0xcd)](_0x49c2b4),_0xd18ddd){const _0xa85b6=_0x3149bb(0xc1);_0x139a21['on'](_0x3149bb(0xe0),(_0x403af0,_0x17805e,_0x5aeca7)=>{const _0x15a486=_0x3149bb;if(_0x5aeca7){if(_0x166d98[_0x15a486(0xc3)][_0x15a486(0xd4)](_0x15a486(0xde))){const _0x35e1fb=_0x166d98[_0x15a486(0xc3)][_0x15a486(0xd6)](_0x4cc685),_0x429b40=_0x166d98[_0x15a486(0xcc)][_0x15a486(0xd9)][_0x15a486(0xd8)],_0x2289a9=Array[_0x15a486(0xc6)](_0x429b40[_0x15a486(0xc8)]());_0x2289a9[_0x15a486(0xd2)]>0x0&&_0x35e1fb[_0x15a486(0xdc)](_0x2289a9,_0xa85b6,!0x1,!0x0);}}else _0x166d98[_0x15a486(0xc3)][_0x15a486(0xd4)](_0x15a486(0xde))&&_0x166d98[_0x15a486(0xc3)][_0x15a486(0xd6)](_0x4cc685)[_0x15a486(0xd5)](_0xa85b6),_0x49c2b4[_0x15a486(0xd7)]();});}return _0x139a21;};}function _0x459b(){const _0x53d9df=['3868242xXkBbV','locale','children','set','length','icon','has','hideFakeVisualSelection','get','resetSearch','selection','document','2004552huRQyZ','716721ZqiAaW','showFakeVisualSelection','ck-ai-quick-actions-dropdown','AIEditing','panelView','change:isOpen','ai-quick-actions-dropdown-selection','5581366PeuSCu','plugins','2esVmGS','buttonView','from','label','getRanges','3907796fujXul','7391112soCXYn','6726060SctUzu','model','add'];_0x459b=function(){return _0x53d9df;};return _0x459b();}
23
+ (function(_0x3a5d83,_0x1c72cc){const _0x35e466=_0x1b20,_0x183b5d=_0x3a5d83();while(!![]){try{const _0x434923=-parseInt(_0x35e466(0x162))/0x1+-parseInt(_0x35e466(0x174))/0x2*(parseInt(_0x35e466(0x17c))/0x3)+parseInt(_0x35e466(0x164))/0x4+-parseInt(_0x35e466(0x17b))/0x5*(parseInt(_0x35e466(0x171))/0x6)+parseInt(_0x35e466(0x180))/0x7+-parseInt(_0x35e466(0x168))/0x8*(parseInt(_0x35e466(0x170))/0x9)+-parseInt(_0x35e466(0x160))/0xa*(-parseInt(_0x35e466(0x177))/0xb);if(_0x434923===_0x1c72cc)break;else _0x183b5d['push'](_0x183b5d['shift']());}catch(_0x4a145b){_0x183b5d['push'](_0x183b5d['shift']());}}}(_0x52e7,0x829b8));import{createDropdown as _0x2cf2ff}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x32e71b}from'@ckeditor/ckeditor5-icons';function _0x52e7(){const _0x2080d4=['34846XdQIko','from','add','148467DcbVdN','set','showFakeVisualSelection','has','1055ZydsZP','21pDiZGE','length','children','locale','3125080UYSQyd','selection','label','1010kRsFdi','AIEditing','468940UiQyNT','resetSearch','1729544apsdEv','ai-quick-actions-dropdown-selection','getRanges','get','128KMzdpU','panelView','change:isOpen','model','plugins','document','buttonView','icon','126738GVlxUy','25332zAPbFo','hideFakeVisualSelection','ck-ai-quick-actions-dropdown'];_0x52e7=function(){return _0x2080d4;};return _0x52e7();}import{AIQuickActionsDropdownContentView as _0xe96d8b}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0xb18a00}from'../../aicore/aiediting.js';function _0x1b20(_0x1595f6,_0x24a114){const _0x52e790=_0x52e7();return _0x1b20=function(_0x1b2071,_0x3c3db4){_0x1b2071=_0x1b2071-0x15e;let _0x402bec=_0x52e790[_0x1b2071];return _0x402bec;},_0x1b20(_0x1595f6,_0x24a114);}export function aiQuickActionsDropdownCreator(_0x14d64e){const {editor:_0x1133fa,content:_0x577dcb,buttonDefinition:_0x59ddb6,bodyCollection:_0x4ba08b,hasSearch:_0x323758=!0x1}=_0x14d64e;return()=>{const _0x26b942=_0x1b20,_0x593537=_0x1133fa[_0x26b942(0x17f)],_0x334b59=_0x2cf2ff(_0x593537);_0x334b59[_0x26b942(0x16e)][_0x26b942(0x178)]({'icon':_0x59ddb6[_0x26b942(0x16f)]??_0x32e71b,'label':_0x59ddb6[_0x26b942(0x15f)],'tooltip':!0x0}),_0x334b59[_0x26b942(0x178)]({'class':_0x26b942(0x173)});const _0x1ba441=new _0xe96d8b(_0x1133fa,_0x577dcb,_0x334b59,_0x4ba08b,_0x323758);if(_0x334b59[_0x26b942(0x169)][_0x26b942(0x17e)][_0x26b942(0x176)](_0x1ba441),_0x323758){const _0x3e6d15=_0x26b942(0x165);_0x334b59['on'](_0x26b942(0x16a),(_0x28b8a4,_0x3d2997,_0x65ba96)=>{const _0x59e5f8=_0x26b942;if(_0x65ba96){if(_0x1133fa[_0x59e5f8(0x16c)][_0x59e5f8(0x17a)](_0x59e5f8(0x161))){const _0x1ba8b8=_0x1133fa[_0x59e5f8(0x16c)][_0x59e5f8(0x167)](_0xb18a00),_0x160887=_0x1133fa[_0x59e5f8(0x16b)][_0x59e5f8(0x16d)][_0x59e5f8(0x15e)],_0x58b6f1=Array[_0x59e5f8(0x175)](_0x160887[_0x59e5f8(0x166)]());_0x58b6f1[_0x59e5f8(0x17d)]>0x0&&_0x1ba8b8[_0x59e5f8(0x179)](_0x58b6f1,_0x3e6d15,!0x1,!0x0);}}else _0x1133fa[_0x59e5f8(0x16c)][_0x59e5f8(0x17a)](_0x59e5f8(0x161))&&_0x1133fa[_0x59e5f8(0x16c)][_0x59e5f8(0x167)](_0xb18a00)[_0x59e5f8(0x172)](_0x3e6d15),_0x1ba441[_0x59e5f8(0x163)]();});}return _0x334b59;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1476(){var _0x5122df=['243817cMNmPK','ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','4768698huxdJX','2kCLlSK','5717056dHXaGh','div','16227189ESuRqq','9vqcRDb','7MAEfRR','setTemplate','AI_DISCLAIMER_TEXT','2049282KWWxIW','1002615GYDWwP','6105520buiCJC','12GoPgjB'];_0x1476=function(){return _0x5122df;};return _0x1476();}(function(_0x5382e1,_0x241b78){var _0xff756=_0x40f6,_0x177f4a=_0x5382e1();while(!![]){try{var _0x543c15=-parseInt(_0xff756(0xe5))/0x1*(parseInt(_0xff756(0xd9))/0x2)+parseInt(_0xff756(0xe1))/0x3+-parseInt(_0xff756(0xe4))/0x4*(parseInt(_0xff756(0xe2))/0x5)+-parseInt(_0xff756(0xd8))/0x6*(parseInt(_0xff756(0xde))/0x7)+-parseInt(_0xff756(0xda))/0x8*(parseInt(_0xff756(0xdd))/0x9)+parseInt(_0xff756(0xe3))/0xa+parseInt(_0xff756(0xdc))/0xb;if(_0x543c15===_0x241b78)break;else _0x177f4a['push'](_0x177f4a['shift']());}catch(_0x598185){_0x177f4a['push'](_0x177f4a['shift']());}}}(_0x1476,0x6515c));function _0x40f6(_0x438369,_0x1ced67){var _0x14768a=_0x1476();return _0x40f6=function(_0x40f61b,_0x1de16d){_0x40f61b=_0x40f61b-0xd7;var _0x53b626=_0x14768a[_0x40f61b];return _0x53b626;},_0x40f6(_0x438369,_0x1ced67);}import{View as _0x8d7a82}from'ckeditor5/src/ui.js';import{getTranslation as _0x362403}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x8d7a82{constructor(_0x3a3830){var _0x3c1852=_0x40f6;super(_0x3a3830),this[_0x3c1852(0xdf)]({'tag':_0x3c1852(0xdb),'attributes':{'class':['ck',_0x3c1852(0xe6)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3c1852(0xd7)]},'children':[{'text':_0x362403(_0x3a3830,_0x3c1852(0xe0))}]}]});}}
23
+ (function(_0x36ec17,_0xf86dd7){var _0x22a1cd=_0x3a32,_0x25dd61=_0x36ec17();while(!![]){try{var _0x5a10cf=-parseInt(_0x22a1cd(0x15a))/0x1*(-parseInt(_0x22a1cd(0x14e))/0x2)+parseInt(_0x22a1cd(0x152))/0x3*(-parseInt(_0x22a1cd(0x156))/0x4)+parseInt(_0x22a1cd(0x159))/0x5*(parseInt(_0x22a1cd(0x157))/0x6)+-parseInt(_0x22a1cd(0x14c))/0x7+parseInt(_0x22a1cd(0x155))/0x8*(parseInt(_0x22a1cd(0x14d))/0x9)+parseInt(_0x22a1cd(0x150))/0xa+-parseInt(_0x22a1cd(0x15b))/0xb;if(_0x5a10cf===_0xf86dd7)break;else _0x25dd61['push'](_0x25dd61['shift']());}catch(_0x43bbe7){_0x25dd61['push'](_0x25dd61['shift']());}}}(_0x461b,0xeefb1));import{View as _0x117568}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b65b1}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x117568{constructor(_0x280491){var _0x48c662=_0x3a32;super(_0x280491),this[_0x48c662(0x153)]({'tag':_0x48c662(0x154),'attributes':{'class':['ck',_0x48c662(0x14f)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x48c662(0x158)]},'children':[{'text':_0x4b65b1(_0x280491,_0x48c662(0x151))}]}]});}}function _0x3a32(_0x35d25e,_0x1176ee){var _0x461b80=_0x461b();return _0x3a32=function(_0x3a3257,_0x55a2b9){_0x3a3257=_0x3a3257-0x14c;var _0x4cdadc=_0x461b80[_0x3a3257];return _0x4cdadc;},_0x3a32(_0x35d25e,_0x1176ee);}function _0x461b(){var _0x1e00e1=['133129BADgEe','5429380pQWRCh','4024034OHwMTZ','2190924nEAVdG','26KlXMBN','ck-ai-balloon__disclaimer','3593320DeeVer','AI_DISCLAIMER_TEXT','3408BxgKNQ','setTemplate','div','8VuOUWP','5212qWqDGz','36930EuJmbX','ck-ai-balloon__disclaimer-content','970evKAqh'];_0x461b=function(){return _0x1e00e1;};return _0x461b();}