@ckeditor/ckeditor5-ai 47.7.1-alpha.0 → 47.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) 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/awstextadapter.js +1 -1
  7. package/src/aiassistant/aiassistantediting.js +1 -1
  8. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  9. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  10. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformview.js +1 -1
  12. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  13. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  14. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  15. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  16. package/src/aiballoon/aiballoon.js +1 -1
  17. package/src/aichat/aichat.js +1 -1
  18. package/src/aichat/aichatballoon.js +1 -1
  19. package/src/aichat/aichatcontroller.js +1 -1
  20. package/src/aichat/aichatui.js +1 -1
  21. package/src/aichat/model/aichatcontext.js +1 -1
  22. package/src/aichat/model/aichatconversation.js +1 -1
  23. package/src/aichat/ui/aichatballoonview.js +1 -1
  24. package/src/aichat/ui/aichatfeedview.js +1 -1
  25. package/src/aichat/ui/aichatheaderview.js +1 -1
  26. package/src/aichat/ui/aichatview.js +1 -1
  27. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  28. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  29. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  31. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  32. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  33. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  34. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  35. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  40. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  44. package/src/aichat/utils/eventnames.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/model/aichathistoryconversations.js +1 -1
  49. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  50. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  51. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  52. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  53. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  54. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  55. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  56. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  57. package/src/aicore/aiconnector.js +1 -1
  58. package/src/aicore/aiediting.js +1 -1
  59. package/src/aicore/model/aimodels.js +1 -1
  60. package/src/aicore/model/aireply.js +1 -1
  61. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  62. package/src/aicore/pipeline/airesponseparser.js +2 -2
  63. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  64. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  65. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  66. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  68. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  69. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  71. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  72. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  74. package/src/aicore/utils/documentrange.js +1 -1
  75. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  76. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  77. package/src/aicore/utils/htmlparser.js +1 -1
  78. package/src/aicore/utils/htmlstreamer.js +1 -1
  79. package/src/aicore/utils/scrollmanager.js +1 -1
  80. package/src/aieditorintegration/aieditorintegration.js +1 -1
  81. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  82. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  83. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  84. package/src/aiquickactions/aiquickactionsui.js +1 -1
  85. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  86. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  87. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  88. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  89. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  90. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  91. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  92. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  93. package/src/aireviewcore/aireviewcoreui.js +1 -1
  94. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  95. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  96. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  97. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  98. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  99. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  100. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  101. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  102. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  103. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  104. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  105. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  106. package/src/aireviewmode/aireviewmode.js +1 -1
  107. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  110. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  111. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  112. package/src/aitabs/aitabs.js +1 -1
  113. package/src/aitranslate/aitranslate.js +1 -1
  114. package/src/aitranslate/model/aitranslatecheck.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46e0b8=_0x1145;function _0x26ca(){const _0x5e0bbd=['childNodes','span','stop','strong','onStreamUpdate','tagName','querySelectorAll','906724gLEumU','getParsedDocumentNodeList','reverse','textNodeStyle','254176JOgbaW','push','26352KcRNhn','renderNode','match','attribs','signal','1121859iyoyNP','length','2023124muWKdK','nodesList','timeoutAbortController','options','addEventListener','isWordSplitSource','136YnZVmK','from','replaceWith','ins','currentIndex','mark','stream','splitTextNodeIntoWordNodes','parent','forEach','shouldBeStreamed','isWordSplitResult','5507200NcoXMz','document','bind','delay','16ZhUSvR','cleanUpAnimations','lastUpdateTime','reset','div','now','entries','join','children','code','span[data-ck-html-streamer-word-chunk]','sup','map','isStreaming','del','7253964AQeGhI','abort','sub','includes'];_0x26ca=function(){return _0x5e0bbd;};return _0x26ca();}(function(_0x3db987,_0x2083cf){const _0x1f3c2b=_0x1145,_0x2d6844=_0x3db987();while(!![]){try{const _0x2849eb=parseInt(_0x1f3c2b(0x1e4))/0x1+-parseInt(_0x1f3c2b(0x1f3))/0x2*(-parseInt(_0x1f3c2b(0x1e6))/0x3)+-parseInt(_0x1f3c2b(0x1ed))/0x4+parseInt(_0x1f3c2b(0x1c2))/0x5+-parseInt(_0x1f3c2b(0x1d5))/0x6+parseInt(_0x1f3c2b(0x1e0))/0x7*(parseInt(_0x1f3c2b(0x1c6))/0x8)+parseInt(_0x1f3c2b(0x1eb))/0x9;if(_0x2849eb===_0x2083cf)break;else _0x2d6844['push'](_0x2d6844['shift']());}catch(_0x582d0a){_0x2d6844['push'](_0x2d6844['shift']());}}}(_0x26ca,0x97d2c));import _0x5610e0 from'morphdom';import{NodeWithChildren as _0x5d1a15,Text as _0x206769,Element as _0x1ed64b,isText as _0x269696,isDocument as _0x50e461,isTag as _0x3a8663,cloneNode as _0x390c38,getChildren as _0x4b71af,prepend as _0x541c4b,removeElement as _0x4749f8,textContent as _0x14b14d,render as _0x2fbbd1}from'./htmlparser.js';function _0x1145(_0x5bc81c,_0x18c702){const _0x26cab7=_0x26ca();return _0x1145=function(_0x1145cb,_0x3e6f06){_0x1145cb=_0x1145cb-0x1bb;let _0x4c5eac=_0x26cab7[_0x1145cb];return _0x4c5eac;},_0x1145(_0x5bc81c,_0x18c702);}export class HTMLStreamer{[_0x46e0b8(0x1f0)];[_0x46e0b8(0x1d3)]=!0x1;[_0x46e0b8(0x1c3)]=null;[_0x46e0b8(0x1ee)]=[];[_0x46e0b8(0x1f7)]=0x0;[_0x46e0b8(0x1ef)]=null;[_0x46e0b8(0x1c8)]=0x0;constructor(_0x2e229d){const _0x18cc91=_0x46e0b8;this[_0x18cc91(0x1f0)]={'delay':_0x2e229d[_0x18cc91(0x1c5)]??0x14,'textNodeStyle':_0x2e229d[_0x18cc91(0x1e3)],'onStreamUpdate':_0x2e229d[_0x18cc91(0x1dd)]||(()=>{})};}async[_0x46e0b8(0x1bc)]({document:_0x100dfe,targetElement:_0x2dde1b,abortSignal:_0x36427b}){const _0x21ed71=_0x46e0b8;this[_0x21ed71(0x1d3)]&&this[_0x21ed71(0x1db)](),_0x36427b?.[_0x21ed71(0x1f1)](_0x21ed71(0x1d6),this[_0x21ed71(0x1db)][_0x21ed71(0x1c4)](this)),this[_0x21ed71(0x1c3)]=_0x390c38(_0x100dfe,!0x0),this[_0x21ed71(0x1ee)]=this[_0x21ed71(0x1e1)](),this[_0x21ed71(0x1d3)]=!0x0,this[_0x21ed71(0x1f7)]>this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]&&(this[_0x21ed71(0x1f7)]=this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]);for(let _0x528bad=0x0;_0x528bad<this[_0x21ed71(0x1f7)];_0x528bad++)this[_0x21ed71(0x1ee)][_0x528bad][_0x21ed71(0x1c0)]=!0x0;do{const _0x25bb1a=Date[_0x21ed71(0x1cb)](),_0x5604fe=this[_0x21ed71(0x1ee)][this[_0x21ed71(0x1f7)]],_0x1a9bce=_0x25bb1a-this[_0x21ed71(0x1c8)];if(_0x5604fe){_0x5604fe[_0x21ed71(0x1c0)]=!0x0;let _0x1ab77b=_0x5604fe[_0x21ed71(0x1be)];for(;_0x1ab77b;)_0x1ab77b[_0x21ed71(0x1c0)]=!0x0,_0x1ab77b=_0x1ab77b[_0x21ed71(0x1be)];}if(_0x1a9bce<this[_0x21ed71(0x1f0)][_0x21ed71(0x1c5)])try{const {promise:_0xd61014,abortController:_0x3a84b5}=Us(this[_0x21ed71(0x1f0)][_0x21ed71(0x1c5)]-_0x1a9bce);this[_0x21ed71(0x1ef)]=_0x3a84b5,await _0xd61014;}catch(_0x322afe){return;}_0x5610e0(_0x2dde1b,'<'+_0x2dde1b[_0x21ed71(0x1de)]+'>'+this[_0x21ed71(0x1e7)](this[_0x21ed71(0x1c3)])+'</'+_0x2dde1b[_0x21ed71(0x1de)]+'>',{'childrenOnly':!0x0}),this[_0x21ed71(0x1f0)][_0x21ed71(0x1dd)]&&this[_0x21ed71(0x1f0)][_0x21ed71(0x1dd)](),this[_0x21ed71(0x1f7)]++,this[_0x21ed71(0x1c8)]=Date[_0x21ed71(0x1cb)]();}while(this[_0x21ed71(0x1f7)]<this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]);this[_0x21ed71(0x1f7)]=this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)],this[_0x21ed71(0x1d3)]=!0x1;}[_0x46e0b8(0x1c9)](){const _0x43ad23=_0x46e0b8;this[_0x43ad23(0x1d3)]=!0x1,this[_0x43ad23(0x1c3)]=null,this[_0x43ad23(0x1ee)]=[],this[_0x43ad23(0x1f7)]=0x0,this[_0x43ad23(0x1ef)]=null;}[_0x46e0b8(0x1c7)]({targetElement:_0x3e199c}){const _0x22c77a=_0x46e0b8;Array[_0x22c77a(0x1f4)](_0x3e199c[_0x22c77a(0x1df)](_0x22c77a(0x1d0)))[_0x22c77a(0x1e2)]()[_0x22c77a(0x1bf)](_0x52b422=>{const _0x44d1d9=_0x22c77a;_0x52b422[_0x44d1d9(0x1f5)](_0x52b422[_0x44d1d9(0x1d9)][0x0]);});}[_0x46e0b8(0x1db)](){const _0x199a37=_0x46e0b8;this[_0x199a37(0x1d3)]=!0x1,this[_0x199a37(0x1ef)]&&(this[_0x199a37(0x1ef)][_0x199a37(0x1d6)](),this[_0x199a37(0x1ef)]=null);}[_0x46e0b8(0x1e7)](_0x530f9c){const _0x880373=_0x46e0b8;let _0x51b245='';if(function(_0x51853e){return _0x50e461(_0x51853e);}(_0x530f9c)){for(const _0x179c65 of _0x530f9c[_0x880373(0x1ce)])_0x51b245+=this[_0x880373(0x1e7)](_0x179c65);}else{if(Ls(_0x530f9c)){if(!_0x530f9c[_0x880373(0x1c0)])return'';const _0x2eba5e=_0x530f9c,_0x4802ff=Object[_0x880373(0x1cc)](_0x2eba5e[_0x880373(0x1e9)])[_0x880373(0x1d2)](([_0x122173,_0x417085])=>_0x122173+'=\x22'+_0x417085+'\x22')[_0x880373(0x1cd)]('\x20');_0x51b245+='<'+_0x2eba5e[_0x880373(0x1de)]+(_0x4802ff?'\x20'+_0x4802ff:'')+'>';for(const _0x3f021f of _0x4b71af(_0x2eba5e))_0x51b245+=this[_0x880373(0x1e7)](_0x3f021f);_0x51b245+='</'+_0x2eba5e[_0x880373(0x1de)]+'>';}else{if(!Ts(_0x530f9c))return'';if(!_0x530f9c[_0x880373(0x1c0)])return'';!function(_0x1079a6){const _0x1a8f4b=_0x880373;if(!_0x1079a6[_0x1a8f4b(0x1be)]||!Ls(_0x1079a6[_0x1a8f4b(0x1be)]))return!0x1;if(!ys[_0x1a8f4b(0x1d8)](_0x1079a6[_0x1a8f4b(0x1be)][_0x1a8f4b(0x1de)]))return!0x1;return!_0x14b14d(_0x1079a6)[_0x1a8f4b(0x1e8)](/^\s*[<>]\s*$/);}(_0x530f9c)?_0x51b245+=_0x2fbbd1(_0x530f9c):_0x51b245+=_0x2fbbd1(new _0x1ed64b(_0x880373(0x1da),{'data-ck-html-streamer-word-chunk':'','style':this[_0x880373(0x1f0)][_0x880373(0x1e3)]},[_0x530f9c]));}}return _0x51b245;}[_0x46e0b8(0x1e1)](){const _0x5632cc=_0x46e0b8,_0x1360fc=[];return function(_0x57ef19,_0x396c6b){const _0x108825=_0x1145,_0x3470f8=_0x308686=>{const _0x47f57c=_0x1145;if(_0x396c6b(_0x308686),_0x308686 instanceof _0x5d1a15)for(let _0x4bf7b0=0x0;_0x4bf7b0<_0x308686[_0x47f57c(0x1ce)][_0x47f57c(0x1ec)];_0x4bf7b0++){const _0x3a738e=_0x308686[_0x47f57c(0x1ce)][_0x4bf7b0];_0x3470f8(_0x3a738e);}};for(let _0x57e3a7=0x0;_0x57e3a7<_0x57ef19[_0x108825(0x1ce)][_0x108825(0x1ec)];_0x57e3a7++)_0x3470f8(_0x57ef19[_0x108825(0x1ce)][_0x57e3a7]);}(this[_0x5632cc(0x1c3)],_0x424ce7=>{const _0xd09d1f=_0x5632cc;if(Ts(_0x424ce7)){const _0x4be02a=this[_0xd09d1f(0x1bd)](_0x424ce7);_0x4be02a[_0xd09d1f(0x1ec)]&&_0x1360fc[_0xd09d1f(0x1e5)](..._0x4be02a);}_0x424ce7[_0xd09d1f(0x1f2)]||_0x424ce7[_0xd09d1f(0x1c1)]||_0x1360fc[_0xd09d1f(0x1e5)](_0x424ce7);}),_0x1360fc;}[_0x46e0b8(0x1bd)](_0x284725){const _0x140367=_0x46e0b8;if(_0x284725[_0x140367(0x1f2)]||_0x284725[_0x140367(0x1c1)])return[];const _0x27fd9b=_0x14b14d(_0x284725)[_0x140367(0x1e8)](/(?:\s*\S+\s*)/g),_0x300af5=[];if(_0x27fd9b&&_0x27fd9b[_0x140367(0x1ec)]>0x1){for(const _0x35f1f9 of _0x27fd9b){const _0x357f03=new _0x206769(_0x35f1f9);_0x357f03[_0x140367(0x1c1)]=!0x0,_0x541c4b(_0x284725,_0x357f03),_0x300af5[_0x140367(0x1e5)](_0x357f03);}_0x284725[_0x140367(0x1f2)]=!0x0,_0x4749f8(_0x284725);}return _0x300af5;}}const ys=['p','li','td','th',_0x46e0b8(0x1da),'h1','h2','h3','h4','h5','h6','b',_0x46e0b8(0x1dc),'i','em',_0x46e0b8(0x1bb),_0x46e0b8(0x1d4),_0x46e0b8(0x1f6),_0x46e0b8(0x1d1),_0x46e0b8(0x1d7),'a',_0x46e0b8(0x1cf),_0x46e0b8(0x1ca)];function Ts(_0x3bb555){return _0x269696(_0x3bb555);}function Ls(_0x8b6a33){return _0x3a8663(_0x8b6a33);}function Us(_0x2dc59c){const _0x374fd3=new AbortController();return{'promise':new Promise((_0x4f7959,_0x4a25b4)=>{const _0x4ea471=_0x1145,_0x967ffb=setTimeout(_0x4f7959,_0x2dc59c);_0x374fd3[_0x4ea471(0x1ea)][_0x4ea471(0x1f1)](_0x4ea471(0x1d6),()=>{clearTimeout(_0x967ffb),_0x4a25b4();});}),'abortController':_0x374fd3};}
23
+ const _0xb197f4=_0x3f64;(function(_0x2b8fcb,_0x2fd58b){const _0x307e0a=_0x3f64,_0x59a68b=_0x2b8fcb();while(!![]){try{const _0x60cc18=parseInt(_0x307e0a(0x12c))/0x1*(parseInt(_0x307e0a(0x12b))/0x2)+-parseInt(_0x307e0a(0x156))/0x3+parseInt(_0x307e0a(0x15e))/0x4+parseInt(_0x307e0a(0x15b))/0x5+-parseInt(_0x307e0a(0x155))/0x6+parseInt(_0x307e0a(0x135))/0x7+-parseInt(_0x307e0a(0x13c))/0x8;if(_0x60cc18===_0x2fd58b)break;else _0x59a68b['push'](_0x59a68b['shift']());}catch(_0x503cd2){_0x59a68b['push'](_0x59a68b['shift']());}}}(_0x54a9,0x33b55));function _0x54a9(){const _0x14d53b=['currentIndex','isWordSplitSource','2745744HpGkeb','from','childNodes','mark','del','code','span[data-ck-html-streamer-word-chunk]','onStreamUpdate','join','shouldBeStreamed','span','entries','match','addEventListener','attribs','push','div','replaceWith','map','nodesList','tagName','cleanUpAnimations','includes','children','delay','562434eouWCn','871926wSHreH','bind','ins','getParsedDocumentNodeList','signal','1612805iMDODb','document','reverse','70996jkajMF','isWordSplitResult','lastUpdateTime','renderNode','options','stop','parent','abort','forEach','2zYlFPj','342497mdjfye','splitTextNodeIntoWordNodes','reset','sup','now','stream','length','textNodeStyle','strong','1796123GQMEic','sub','querySelectorAll','isStreaming','timeoutAbortController'];_0x54a9=function(){return _0x14d53b;};return _0x54a9();}import _0x5dd2fc from'morphdom';import{NodeWithChildren as _0x2e0e14,Text as _0xd97b2,Element as _0x56fdc6,isText as _0xb1154e,isDocument as _0x5e9c19,isTag as _0x3a4ea,cloneNode as _0x5a2896,getChildren as _0x425e07,prepend as _0x4da741,removeElement as _0x1e8168,textContent as _0x2ad8b3,render as _0x5a7c3b}from'./htmlparser.js';export class HTMLStreamer{[_0xb197f4(0x126)];[_0xb197f4(0x138)]=!0x1;[_0xb197f4(0x15c)]=null;[_0xb197f4(0x14f)]=[];[_0xb197f4(0x13a)]=0x0;[_0xb197f4(0x139)]=null;[_0xb197f4(0x160)]=0x0;constructor(_0x40fde6){const _0x3423d9=_0xb197f4;this[_0x3423d9(0x126)]={'delay':_0x40fde6[_0x3423d9(0x154)]??0x14,'textNodeStyle':_0x40fde6[_0x3423d9(0x133)],'onStreamUpdate':_0x40fde6[_0x3423d9(0x143)]||(()=>{})};}async[_0xb197f4(0x131)]({document:_0x2edf32,targetElement:_0x5ad24e,abortSignal:_0x2f4245}){const _0x177b54=_0xb197f4;this[_0x177b54(0x138)]&&this[_0x177b54(0x127)](),_0x2f4245?.[_0x177b54(0x149)](_0x177b54(0x129),this[_0x177b54(0x127)][_0x177b54(0x157)](this)),this[_0x177b54(0x15c)]=_0x5a2896(_0x2edf32,!0x0),this[_0x177b54(0x14f)]=this[_0x177b54(0x159)](),this[_0x177b54(0x138)]=!0x0,this[_0x177b54(0x13a)]>this[_0x177b54(0x14f)][_0x177b54(0x132)]&&(this[_0x177b54(0x13a)]=this[_0x177b54(0x14f)][_0x177b54(0x132)]);for(let _0x3ea5fc=0x0;_0x3ea5fc<this[_0x177b54(0x13a)];_0x3ea5fc++)this[_0x177b54(0x14f)][_0x3ea5fc][_0x177b54(0x145)]=!0x0;do{const _0x35798f=Date[_0x177b54(0x130)](),_0x226715=this[_0x177b54(0x14f)][this[_0x177b54(0x13a)]],_0x18dc8f=_0x35798f-this[_0x177b54(0x160)];if(_0x226715){_0x226715[_0x177b54(0x145)]=!0x0;let _0x507074=_0x226715[_0x177b54(0x128)];for(;_0x507074;)_0x507074[_0x177b54(0x145)]=!0x0,_0x507074=_0x507074[_0x177b54(0x128)];}if(_0x18dc8f<this[_0x177b54(0x126)][_0x177b54(0x154)])try{const {promise:_0x23f105,abortController:_0x3e3def}=Ds(this[_0x177b54(0x126)][_0x177b54(0x154)]-_0x18dc8f);this[_0x177b54(0x139)]=_0x3e3def,await _0x23f105;}catch(_0x140d07){return;}_0x5dd2fc(_0x5ad24e,'<'+_0x5ad24e[_0x177b54(0x150)]+'>'+this[_0x177b54(0x161)](this[_0x177b54(0x15c)])+'</'+_0x5ad24e[_0x177b54(0x150)]+'>',{'childrenOnly':!0x0}),this[_0x177b54(0x126)][_0x177b54(0x143)]&&this[_0x177b54(0x126)][_0x177b54(0x143)](),this[_0x177b54(0x13a)]++,this[_0x177b54(0x160)]=Date[_0x177b54(0x130)]();}while(this[_0x177b54(0x13a)]<this[_0x177b54(0x14f)][_0x177b54(0x132)]);this[_0x177b54(0x13a)]=this[_0x177b54(0x14f)][_0x177b54(0x132)],this[_0x177b54(0x138)]=!0x1;}[_0xb197f4(0x12e)](){const _0x233daf=_0xb197f4;this[_0x233daf(0x138)]=!0x1,this[_0x233daf(0x15c)]=null,this[_0x233daf(0x14f)]=[],this[_0x233daf(0x13a)]=0x0,this[_0x233daf(0x139)]=null;}[_0xb197f4(0x151)]({targetElement:_0x36358c}){const _0x1dd624=_0xb197f4;Array[_0x1dd624(0x13d)](_0x36358c[_0x1dd624(0x137)](_0x1dd624(0x142)))[_0x1dd624(0x15d)]()[_0x1dd624(0x12a)](_0x131738=>{const _0x39d0b4=_0x1dd624;_0x131738[_0x39d0b4(0x14d)](_0x131738[_0x39d0b4(0x13e)][0x0]);});}[_0xb197f4(0x127)](){const _0x2e2ad9=_0xb197f4;this[_0x2e2ad9(0x138)]=!0x1,this[_0x2e2ad9(0x139)]&&(this[_0x2e2ad9(0x139)][_0x2e2ad9(0x129)](),this[_0x2e2ad9(0x139)]=null);}[_0xb197f4(0x161)](_0xdf4f4c){const _0x106c2f=_0xb197f4;let _0x603386='';if(function(_0x561888){return _0x5e9c19(_0x561888);}(_0xdf4f4c)){for(const _0x3a4c30 of _0xdf4f4c[_0x106c2f(0x153)])_0x603386+=this[_0x106c2f(0x161)](_0x3a4c30);}else{if(Ts(_0xdf4f4c)){if(!_0xdf4f4c[_0x106c2f(0x145)])return'';const _0x89d336=_0xdf4f4c,_0x165591=Object[_0x106c2f(0x147)](_0x89d336[_0x106c2f(0x14a)])[_0x106c2f(0x14e)](([_0x528bc4,_0x4154b6])=>_0x528bc4+'=\x22'+_0x4154b6+'\x22')[_0x106c2f(0x144)]('\x20');_0x603386+='<'+_0x89d336[_0x106c2f(0x150)]+(_0x165591?'\x20'+_0x165591:'')+'>';for(const _0x4ac37a of _0x425e07(_0x89d336))_0x603386+=this[_0x106c2f(0x161)](_0x4ac37a);_0x603386+='</'+_0x89d336[_0x106c2f(0x150)]+'>';}else{if(!Ss(_0xdf4f4c))return'';if(!_0xdf4f4c[_0x106c2f(0x145)])return'';!function(_0x17de92){const _0x409bc8=_0x106c2f;if(!_0x17de92[_0x409bc8(0x128)]||!Ts(_0x17de92[_0x409bc8(0x128)]))return!0x1;if(!ys[_0x409bc8(0x152)](_0x17de92[_0x409bc8(0x128)][_0x409bc8(0x150)]))return!0x1;return!_0x2ad8b3(_0x17de92)[_0x409bc8(0x148)](/^\s*[<>]\s*$/);}(_0xdf4f4c)?_0x603386+=_0x5a7c3b(_0xdf4f4c):_0x603386+=_0x5a7c3b(new _0x56fdc6(_0x106c2f(0x146),{'data-ck-html-streamer-word-chunk':'','style':this[_0x106c2f(0x126)][_0x106c2f(0x133)]},[_0xdf4f4c]));}}return _0x603386;}[_0xb197f4(0x159)](){const _0x34a7b5=_0xb197f4,_0xc4f563=[];return function(_0xebf128,_0x2673f1){const _0x27ef4f=_0x3f64,_0x5e5b5d=_0x48a4ae=>{const _0x2df7e2=_0x3f64;if(_0x2673f1(_0x48a4ae),_0x48a4ae instanceof _0x2e0e14)for(let _0x5f016f=0x0;_0x5f016f<_0x48a4ae[_0x2df7e2(0x153)][_0x2df7e2(0x132)];_0x5f016f++){const _0x147429=_0x48a4ae[_0x2df7e2(0x153)][_0x5f016f];_0x5e5b5d(_0x147429);}};for(let _0x20f6f8=0x0;_0x20f6f8<_0xebf128[_0x27ef4f(0x153)][_0x27ef4f(0x132)];_0x20f6f8++)_0x5e5b5d(_0xebf128[_0x27ef4f(0x153)][_0x20f6f8]);}(this[_0x34a7b5(0x15c)],_0x52fccf=>{const _0x5e9a8c=_0x34a7b5;if(Ss(_0x52fccf)){const _0xc5a049=this[_0x5e9a8c(0x12d)](_0x52fccf);_0xc5a049[_0x5e9a8c(0x132)]&&_0xc4f563[_0x5e9a8c(0x14b)](..._0xc5a049);}_0x52fccf[_0x5e9a8c(0x13b)]||_0x52fccf[_0x5e9a8c(0x15f)]||_0xc4f563[_0x5e9a8c(0x14b)](_0x52fccf);}),_0xc4f563;}[_0xb197f4(0x12d)](_0x1411dd){const _0x1ac069=_0xb197f4;if(_0x1411dd[_0x1ac069(0x13b)]||_0x1411dd[_0x1ac069(0x15f)])return[];const _0x3ed172=_0x2ad8b3(_0x1411dd)[_0x1ac069(0x148)](/(?:\s*\S+\s*)/g),_0x3ced28=[];if(_0x3ed172&&_0x3ed172[_0x1ac069(0x132)]>0x1){for(const _0x1ac767 of _0x3ed172){const _0x5a7c7b=new _0xd97b2(_0x1ac767);_0x5a7c7b[_0x1ac069(0x15f)]=!0x0,_0x4da741(_0x1411dd,_0x5a7c7b),_0x3ced28[_0x1ac069(0x14b)](_0x5a7c7b);}_0x1411dd[_0x1ac069(0x13b)]=!0x0,_0x1e8168(_0x1411dd);}return _0x3ced28;}}const ys=['p','li','td','th',_0xb197f4(0x146),'h1','h2','h3','h4','h5','h6','b',_0xb197f4(0x134),'i','em',_0xb197f4(0x13f),_0xb197f4(0x140),_0xb197f4(0x158),_0xb197f4(0x12f),_0xb197f4(0x136),'a',_0xb197f4(0x141),_0xb197f4(0x14c)];function _0x3f64(_0x4396fc,_0x1a188d){const _0x54a946=_0x54a9();return _0x3f64=function(_0x3f643a,_0x294710){_0x3f643a=_0x3f643a-0x126;let _0xe0e9e4=_0x54a946[_0x3f643a];return _0xe0e9e4;},_0x3f64(_0x4396fc,_0x1a188d);}function Ss(_0x63f4ef){return _0xb1154e(_0x63f4ef);}function Ts(_0x375108){return _0x3a4ea(_0x375108);}function Ds(_0x42b264){const _0x4972aa=new AbortController();return{'promise':new Promise((_0x3fa0ca,_0x56a5d6)=>{const _0x19fd11=_0x3f64,_0x1dfe92=setTimeout(_0x3fa0ca,_0x42b264);_0x4972aa[_0x19fd11(0x15a)][_0x19fd11(0x149)](_0x19fd11(0x129),()=>{clearTimeout(_0x1dfe92),_0x56a5d6();});}),'abortController':_0x4972aa};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c11(){const _0x27ffef=['4018428mUZkqK','auto','8PHcNLb','7651953vQhWVH','615FnXSDM','abort','9088653ClQkZw','addEventListener','PageDown','element','scrollTo','start','isRunning','7134JKbnQp','_isAtBottom','10PUHNcl','_rafUpdate','key','pointerdown','type','900427bEjEaE','includes','Home','signal','touchstart','stop','ArrowUp','End','2421159VHPzNH','bind','810437JVcbAp','isUserPaused','scrollHeight','PageUp','keydown','ArrowDown','abortController','deltaY','4sCtCmD','destroy','_stop','animationFrameId','wheel','_onUserEvent'];_0x5c11=function(){return _0x27ffef;};return _0x5c11();}const _0x56e8cf=_0x32bf;(function(_0xe60c24,_0x37dbbd){const _0x152355=_0x32bf,_0x592b8c=_0xe60c24();while(!![]){try{const _0x240fcd=-parseInt(_0x152355(0x96))/0x1+parseInt(_0x152355(0x9e))/0x2*(-parseInt(_0x152355(0x94))/0x3)+parseInt(_0x152355(0x78))/0x4+parseInt(_0x152355(0x7c))/0x5*(parseInt(_0x152355(0x85))/0x6)+-parseInt(_0x152355(0x7e))/0x7*(-parseInt(_0x152355(0x7a))/0x8)+parseInt(_0x152355(0x7b))/0x9*(parseInt(_0x152355(0x87))/0xa)+parseInt(_0x152355(0x8c))/0xb;if(_0x240fcd===_0x37dbbd)break;else _0x592b8c['push'](_0x592b8c['shift']());}catch(_0x4aa6d1){_0x592b8c['push'](_0x592b8c['shift']());}}}(_0x5c11,0xe995c));function _0x32bf(_0x519286,_0xb15b33){const _0x5c11bf=_0x5c11();return _0x32bf=function(_0x32bf98,_0x11ec7c){_0x32bf98=_0x32bf98-0x74;let _0x5ae94d=_0x5c11bf[_0x32bf98];return _0x5ae94d;},_0x32bf(_0x519286,_0xb15b33);}const Fs=[_0x56e8cf(0x76),_0x56e8cf(0x90),_0x56e8cf(0x8a),_0x56e8cf(0x9a)],qs=[_0x56e8cf(0x92),_0x56e8cf(0x9b),_0x56e8cf(0x99),_0x56e8cf(0x80),_0x56e8cf(0x8e),_0x56e8cf(0x93),'\x20'];export class ScrollManager{[_0x56e8cf(0x81)];[_0x56e8cf(0x75)];[_0x56e8cf(0x84)];[_0x56e8cf(0x9c)];[_0x56e8cf(0x97)];constructor(_0x3ad602){const _0x6652ad=_0x56e8cf;this[_0x6652ad(0x81)]=_0x3ad602,this[_0x6652ad(0x75)]=null,this[_0x6652ad(0x84)]=!0x1,this[_0x6652ad(0x9c)]=new AbortController(),this[_0x6652ad(0x97)]=!0x1;for(const _0x21c3c7 of Fs){const _0x429c8f=_0x6652ad(0x9a)!==_0x21c3c7;this[_0x6652ad(0x81)][_0x6652ad(0x7f)](_0x21c3c7,this[_0x6652ad(0x77)][_0x6652ad(0x95)](this),{'passive':_0x429c8f,'signal':this[_0x6652ad(0x9c)][_0x6652ad(0x8f)]});}}[_0x56e8cf(0x83)](){const _0x245aec=_0x56e8cf;this[_0x245aec(0x84)]||(this[_0x245aec(0x84)]=!0x0,this[_0x245aec(0x97)]=!0x1,this[_0x245aec(0x75)]=requestAnimationFrame(this[_0x245aec(0x88)][_0x245aec(0x95)](this)));}[_0x56e8cf(0x91)](){requestAnimationFrame(()=>{const _0x1f686e=_0x32bf;this[_0x1f686e(0x74)]();});}[_0x56e8cf(0x9f)](){const _0x13a319=_0x56e8cf;this[_0x13a319(0x74)](),this[_0x13a319(0x9c)][_0x13a319(0x7d)]();}[_0x56e8cf(0x74)](){const _0x99e275=_0x56e8cf;null!==this[_0x99e275(0x75)]&&(cancelAnimationFrame(this[_0x99e275(0x75)]),this[_0x99e275(0x75)]=null),this[_0x99e275(0x84)]&&(this[_0x99e275(0x84)]=!0x1),this[_0x99e275(0x97)]=!0x1;}[_0x56e8cf(0x77)](_0x151960){const _0x1ef4ec=_0x56e8cf;if(this[_0x1ef4ec(0x84)]){if(_0x1ef4ec(0x9a)===_0x151960[_0x1ef4ec(0x8b)]){const _0x425aa0=_0x151960[_0x1ef4ec(0x89)];if(!qs[_0x1ef4ec(0x8d)](_0x425aa0))return;}_0x151960 instanceof WheelEvent?_0x151960[_0x1ef4ec(0x9d)]<0x0?this[_0x1ef4ec(0x97)]=!0x0:this[_0x1ef4ec(0x97)]=!this[_0x1ef4ec(0x86)]():this[_0x1ef4ec(0x97)]=!0x0;}}[_0x56e8cf(0x86)](){const _0x25d88d=_0x56e8cf,{scrollTop:_0x5cfee1,scrollHeight:_0x279897,clientHeight:_0x46fa85}=this[_0x25d88d(0x81)];return _0x279897-_0x5cfee1-_0x46fa85<=0x5;}[_0x56e8cf(0x88)](){const _0x396afd=_0x56e8cf;this[_0x396afd(0x84)]&&(this[_0x396afd(0x97)]||this[_0x396afd(0x81)][_0x396afd(0x82)]({'top':this[_0x396afd(0x81)][_0x396afd(0x98)],'behavior':_0x396afd(0x79)}),this[_0x396afd(0x75)]=requestAnimationFrame(this[_0x396afd(0x88)][_0x396afd(0x95)](this)));}}
23
+ const _0x2d0ebc=_0x1283;(function(_0x48aa7d,_0x2a7afe){const _0x5a875d=_0x1283,_0x40bff7=_0x48aa7d();while(!![]){try{const _0x2bf457=-parseInt(_0x5a875d(0x10c))/0x1+-parseInt(_0x5a875d(0x11a))/0x2+-parseInt(_0x5a875d(0x10e))/0x3+-parseInt(_0x5a875d(0x113))/0x4*(parseInt(_0x5a875d(0x127))/0x5)+parseInt(_0x5a875d(0x11d))/0x6*(-parseInt(_0x5a875d(0x10d))/0x7)+parseInt(_0x5a875d(0x12d))/0x8*(parseInt(_0x5a875d(0x112))/0x9)+parseInt(_0x5a875d(0x114))/0xa;if(_0x2bf457===_0x2a7afe)break;else _0x40bff7['push'](_0x40bff7['shift']());}catch(_0x565162){_0x40bff7['push'](_0x40bff7['shift']());}}}(_0x14a5,0x75bea));const Fs=[_0x2d0ebc(0x107),_0x2d0ebc(0x11f),_0x2d0ebc(0x120),_0x2d0ebc(0x108)],Us=[_0x2d0ebc(0x11b),_0x2d0ebc(0x118),_0x2d0ebc(0x12b),_0x2d0ebc(0x12c),_0x2d0ebc(0x121),_0x2d0ebc(0x109),'\x20'];function _0x1283(_0x3b2169,_0xcfceb){const _0x14a588=_0x14a5();return _0x1283=function(_0x12836e,_0x4d5fc8){_0x12836e=_0x12836e-0x104;let _0x22c231=_0x14a588[_0x12836e];return _0x22c231;},_0x1283(_0x3b2169,_0xcfceb);}export class ScrollManager{[_0x2d0ebc(0x128)];[_0x2d0ebc(0x12e)];[_0x2d0ebc(0x124)];[_0x2d0ebc(0x104)];[_0x2d0ebc(0x12a)];constructor(_0x40da8c){const _0x1187f3=_0x2d0ebc;this[_0x1187f3(0x128)]=_0x40da8c,this[_0x1187f3(0x12e)]=null,this[_0x1187f3(0x124)]=!0x1,this[_0x1187f3(0x104)]=new AbortController(),this[_0x1187f3(0x12a)]=!0x1;for(const _0x342d97 of Fs){const _0x1bf8dc=_0x1187f3(0x108)!==_0x342d97;this[_0x1187f3(0x128)][_0x1187f3(0x122)](_0x342d97,this[_0x1187f3(0x116)][_0x1187f3(0x126)](this),{'passive':_0x1bf8dc,'signal':this[_0x1187f3(0x104)][_0x1187f3(0x123)]});}}[_0x2d0ebc(0x117)](){const _0x55c79b=_0x2d0ebc;this[_0x55c79b(0x124)]||(this[_0x55c79b(0x124)]=!0x0,this[_0x55c79b(0x12a)]=!0x1,this[_0x55c79b(0x12e)]=requestAnimationFrame(this[_0x55c79b(0x110)][_0x55c79b(0x126)](this)));}[_0x2d0ebc(0x11c)](){requestAnimationFrame(()=>{const _0xc64413=_0x1283;this[_0xc64413(0x115)]();});}[_0x2d0ebc(0x111)](){const _0x43bc9c=_0x2d0ebc;this[_0x43bc9c(0x115)](),this[_0x43bc9c(0x104)][_0x43bc9c(0x105)]();}[_0x2d0ebc(0x115)](){const _0x380f6e=_0x2d0ebc;null!==this[_0x380f6e(0x12e)]&&(cancelAnimationFrame(this[_0x380f6e(0x12e)]),this[_0x380f6e(0x12e)]=null),this[_0x380f6e(0x124)]&&(this[_0x380f6e(0x124)]=!0x1),this[_0x380f6e(0x12a)]=!0x1;}[_0x2d0ebc(0x116)](_0x23c175){const _0x5ade3b=_0x2d0ebc;if(this[_0x5ade3b(0x124)]){if(_0x5ade3b(0x108)===_0x23c175[_0x5ade3b(0x125)]){const _0x4447d1=_0x23c175[_0x5ade3b(0x106)];if(!Us[_0x5ade3b(0x119)](_0x4447d1))return;}_0x23c175 instanceof WheelEvent?_0x23c175[_0x5ade3b(0x10f)]<0x0?this[_0x5ade3b(0x12a)]=!0x0:this[_0x5ade3b(0x12a)]=!this[_0x5ade3b(0x129)]():this[_0x5ade3b(0x12a)]=!0x0;}}[_0x2d0ebc(0x129)](){const _0x2581a7=_0x2d0ebc,{scrollTop:_0xba7b08,scrollHeight:_0x46645d,clientHeight:_0x143a35}=this[_0x2581a7(0x128)];return _0x46645d-_0xba7b08-_0x143a35<=0x5;}[_0x2d0ebc(0x110)](){const _0x32777e=_0x2d0ebc;this[_0x32777e(0x124)]&&(this[_0x32777e(0x12a)]||this[_0x32777e(0x128)][_0x32777e(0x11e)]({'top':this[_0x32777e(0x128)][_0x32777e(0x10b)],'behavior':_0x32777e(0x10a)}),this[_0x32777e(0x12e)]=requestAnimationFrame(this[_0x32777e(0x110)][_0x32777e(0x126)](this)));}}function _0x14a5(){const _0x414ea5=['_stop','_onUserEvent','start','ArrowDown','includes','133132JlwieO','ArrowUp','stop','96qsaKWJ','scrollTo','touchstart','pointerdown','Home','addEventListener','signal','isRunning','type','bind','4004195tHIqle','element','_isAtBottom','isUserPaused','PageUp','PageDown','392NaJNBT','animationFrameId','abortController','abort','key','wheel','keydown','End','auto','scrollHeight','427561EDJtXg','199066fJDIES','2492985BGzJuc','deltaY','_rafUpdate','destroy','163638NhhipF','4kbYbHp','21723330SOpzWo'];_0x14a5=function(){return _0x414ea5;};return _0x14a5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5962(){var _0x1f81b0=['260AEOVav','AIEditorIntegration','145300fxOFIr','612TpZdfS','8PFYNpX','isOfficialPlugin','16933086sgnKRp','1261357QZyAPa','isPremiumPlugin','21189DwQzWk','14DIHjRT','pluginName','486iAJklW','568513NNyiMU','5950350yTSnrE','753396JlhJmt','requires'];_0x5962=function(){return _0x1f81b0;};return _0x5962();}function _0x4292(_0x180c3c,_0x55a728){var _0x59629d=_0x5962();return _0x4292=function(_0x429269,_0x1cd2f8){_0x429269=_0x429269-0xe2;var _0x520a6c=_0x59629d[_0x429269];return _0x520a6c;},_0x4292(_0x180c3c,_0x55a728);}var _0xc743f0=_0x4292;(function(_0x291ad9,_0x579c70){var _0x23a544=_0x4292,_0x4d4156=_0x291ad9();while(!![]){try{var _0x11fb11=parseInt(_0x23a544(0xe4))/0x1+parseInt(_0x23a544(0xe7))/0x2*(-parseInt(_0x23a544(0xec))/0x3)+parseInt(_0x23a544(0xee))/0x4*(parseInt(_0x23a544(0xf0))/0x5)+-parseInt(_0x23a544(0xe9))/0x6*(parseInt(_0x23a544(0xe6))/0x7)+-parseInt(_0x23a544(0xf2))/0x8*(-parseInt(_0x23a544(0xe3))/0x9)+parseInt(_0x23a544(0xeb))/0xa+-parseInt(_0x23a544(0xea))/0xb*(parseInt(_0x23a544(0xf1))/0xc);if(_0x11fb11===_0x579c70)break;else _0x4d4156['push'](_0x4d4156['shift']());}catch(_0x262dba){_0x4d4156['push'](_0x4d4156['shift']());}}}(_0x5962,0xf129a));import{Plugin as _0x3b22a1}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4202cd}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x3037e3}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x32b6b9}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x3b22a1{static get[_0xc743f0(0xed)](){return[_0x4202cd,_0x3037e3,_0x32b6b9];}static get[_0xc743f0(0xe8)](){var _0x4d27cb=_0xc743f0;return _0x4d27cb(0xef);}static get[_0xc743f0(0xe2)](){return!0x0;}static get[_0xc743f0(0xe5)](){return!0x0;}}
23
+ function _0xf8b4(_0x14a248,_0x5a6257){var _0x4e78b2=_0x4e78();return _0xf8b4=function(_0xf8b44b,_0x20e7af){_0xf8b44b=_0xf8b44b-0x12a;var _0x4024f5=_0x4e78b2[_0xf8b44b];return _0x4024f5;},_0xf8b4(_0x14a248,_0x5a6257);}var _0x171d95=_0xf8b4;(function(_0x1d3a88,_0x4c6888){var _0x59fd34=_0xf8b4,_0x16b940=_0x1d3a88();while(!![]){try{var _0x8b75e9=parseInt(_0x59fd34(0x12d))/0x1+parseInt(_0x59fd34(0x131))/0x2+parseInt(_0x59fd34(0x12e))/0x3*(parseInt(_0x59fd34(0x12b))/0x4)+parseInt(_0x59fd34(0x130))/0x5*(parseInt(_0x59fd34(0x134))/0x6)+-parseInt(_0x59fd34(0x137))/0x7+-parseInt(_0x59fd34(0x138))/0x8*(parseInt(_0x59fd34(0x12f))/0x9)+parseInt(_0x59fd34(0x12c))/0xa;if(_0x8b75e9===_0x4c6888)break;else _0x16b940['push'](_0x16b940['shift']());}catch(_0x494ce3){_0x16b940['push'](_0x16b940['shift']());}}}(_0x4e78,0x5b5c1));function _0x4e78(){var _0x59ea3f=['325VEUfpa','225084jerLbe','AIEditorIntegration','pluginName','37146kpwuhU','requires','isPremiumPlugin','2353932QXXjGL','896klvoSu','isOfficialPlugin','930980wQRPGv','3126930PvxtMD','311114vBLXOd','3CJGECA','53118CojnlO'];_0x4e78=function(){return _0x59ea3f;};return _0x4e78();}import{Plugin as _0x17b2b6}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x1db6cf}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x107103}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x3c115c}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x17b2b6{static get[_0x171d95(0x135)](){return[_0x1db6cf,_0x107103,_0x3c115c];}static get[_0x171d95(0x133)](){var _0x537a3c=_0x171d95;return _0x537a3c(0x132);}static get[_0x171d95(0x12a)](){return!0x0;}static get[_0x171d95(0x136)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3268(_0x501200,_0x154e7e){const _0x4eaba5=_0x4eab();return _0x3268=function(_0x326899,_0x536743){_0x326899=_0x326899-0x175;let _0x3d35af=_0x4eaba5[_0x326899];return _0x3d35af;},_0x3268(_0x501200,_0x154e7e);}const _0x1eeb57=_0x3268;(function(_0x56dde1,_0x5df312){const _0x45fe4a=_0x3268,_0x91b59f=_0x56dde1();while(!![]){try{const _0x1c0786=parseInt(_0x45fe4a(0x18a))/0x1*(parseInt(_0x45fe4a(0x17c))/0x2)+parseInt(_0x45fe4a(0x17a))/0x3+-parseInt(_0x45fe4a(0x17f))/0x4+-parseInt(_0x45fe4a(0x198))/0x5*(-parseInt(_0x45fe4a(0x17d))/0x6)+parseInt(_0x45fe4a(0x199))/0x7*(parseInt(_0x45fe4a(0x180))/0x8)+parseInt(_0x45fe4a(0x188))/0x9*(parseInt(_0x45fe4a(0x175))/0xa)+parseInt(_0x45fe4a(0x18e))/0xb*(-parseInt(_0x45fe4a(0x18b))/0xc);if(_0x1c0786===_0x5df312)break;else _0x91b59f['push'](_0x91b59f['shift']());}catch(_0x100eef){_0x91b59f['push'](_0x91b59f['shift']());}}}(_0x4eab,0xd8657));function _0x4eab(){const _0x577fd7=['ck-ai-toggle-button','2208105YqxGtr','AIToggleButtonUI','404fBiVlH','6nraFyX','isOfficialPlugin','4441380wfDgAm','408gfliEI','componentFactory','isPremiumPlugin','listenTo','menuBar:toggleAi','toggleAi','editor','value','9bEVlkd','init','7151eKWMxA','9252dXDjTM','execute','_createAIUIButton','49962AGCNyT','AI_TOGGLE_BUTTON_LABEL','commands','menuitemcheckbox','set','get','requires','add','isOn','isEnabled','5135015IsLZEO','132489WQFBhP','13257690cJzpds','locale','pluginName','bind'];_0x4eab=function(){return _0x577fd7;};return _0x4eab();}import{Plugin as _0x3d27fd}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x57af59}from'./toggleaicommand.js';import{ButtonView as _0x5e9eb8,MenuBarMenuListItemButtonView as _0x490c7c}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x2ed289}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x457574}from'../../aicore/utils/common-translations.js';import{AITabs as _0x5697cc}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3d27fd{static get[_0x1eeb57(0x194)](){return[_0x5697cc];}static get[_0x1eeb57(0x177)](){const _0x3e75d3=_0x1eeb57;return _0x3e75d3(0x17b);}static get[_0x1eeb57(0x17e)](){return!0x0;}static get[_0x1eeb57(0x182)](){return!0x0;}[_0x1eeb57(0x189)](){const _0x522893=_0x1eeb57,_0x1c1668=this[_0x522893(0x186)];_0x1c1668[_0x522893(0x190)][_0x522893(0x195)](_0x522893(0x185),new _0x57af59(_0x1c1668)),_0x1c1668['ui'][_0x522893(0x181)][_0x522893(0x195)](_0x522893(0x185),()=>{const _0x5bf727=_0x522893,_0x3ce033=this[_0x5bf727(0x18d)](_0x5e9eb8);return _0x3ce033[_0x5bf727(0x192)]({'tooltip':!0x0,'class':_0x5bf727(0x179)}),_0x3ce033;}),_0x1c1668['ui'][_0x522893(0x181)][_0x522893(0x195)](_0x522893(0x184),()=>{const _0x31fc59=_0x522893,_0x4cddb7=this[_0x31fc59(0x18d)](_0x490c7c);return _0x4cddb7[_0x31fc59(0x192)]({'role':_0x31fc59(0x191)}),_0x4cddb7;});}[_0x1eeb57(0x18d)](_0x3d8998){const _0x2f9ff5=_0x1eeb57,_0x512dae=this[_0x2f9ff5(0x186)],_0x4b99d4=_0x512dae[_0x2f9ff5(0x190)][_0x2f9ff5(0x193)](_0x2f9ff5(0x185)),_0x5c676f=new _0x3d8998(_0x512dae[_0x2f9ff5(0x176)]);return _0x5c676f[_0x2f9ff5(0x192)]({'label':_0x457574(_0x512dae[_0x2f9ff5(0x176)],_0x2f9ff5(0x18f)),'icon':_0x2ed289,'isToggleable':!0x0}),_0x5c676f[_0x2f9ff5(0x178)](_0x2f9ff5(0x197))['to'](_0x4b99d4),_0x5c676f[_0x2f9ff5(0x178)](_0x2f9ff5(0x196))['to'](_0x4b99d4,_0x2f9ff5(0x187),_0xa1b25f=>!!_0xa1b25f),this[_0x2f9ff5(0x183)](_0x5c676f,_0x2f9ff5(0x18c),()=>{const _0x1e8a68=_0x2f9ff5;_0x4b99d4[_0x1e8a68(0x18c)]();}),_0x5c676f;}}
23
+ const _0x598e44=_0x2932;function _0x4418(){const _0x3cfe14=['isOfficialPlugin','add','803695zTzPhK','10ylvBGD','menuBar:toggleAi','requires','menuitemcheckbox','commands','get','2mbvEGH','toggleAi','AI_TOGGLE_BUTTON_LABEL','72583pVrtTs','bind','764304cZtsnW','552699ZxuuTH','isOn','ck-ai-toggle-button','pluginName','editor','6093CtzRqo','execute','isEnabled','_createAIUIButton','componentFactory','isPremiumPlugin','value','listenTo','48AMXCEt','set','33529bNurZL','locale','init','904152bABiwv','AIToggleButtonUI'];_0x4418=function(){return _0x3cfe14;};return _0x4418();}(function(_0x166eb3,_0x49d0d0){const _0x1172f9=_0x2932,_0xa594e3=_0x166eb3();while(!![]){try{const _0x2f6149=parseInt(_0x1172f9(0xba))/0x1+parseInt(_0x1172f9(0xa5))/0x2*(parseInt(_0x1172f9(0xb0))/0x3)+-parseInt(_0x1172f9(0xaa))/0x4+parseInt(_0x1172f9(0x9e))/0x5+-parseInt(_0x1172f9(0xb8))/0x6*(-parseInt(_0x1172f9(0xa8))/0x7)+parseInt(_0x1172f9(0x9a))/0x8+parseInt(_0x1172f9(0xab))/0x9*(parseInt(_0x1172f9(0x9f))/0xa);if(_0x2f6149===_0x49d0d0)break;else _0xa594e3['push'](_0xa594e3['shift']());}catch(_0x3fdb6e){_0xa594e3['push'](_0xa594e3['shift']());}}}(_0x4418,0x401cd));import{Plugin as _0x41abb1}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x4b13a0}from'./toggleaicommand.js';function _0x2932(_0x8c4f56,_0x1c35db){const _0x4418d2=_0x4418();return _0x2932=function(_0x293218,_0x4130e5){_0x293218=_0x293218-0x99;let _0x43de6e=_0x4418d2[_0x293218];return _0x43de6e;},_0x2932(_0x8c4f56,_0x1c35db);}import{ButtonView as _0x543460,MenuBarMenuListItemButtonView as _0x222a7c}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x1df1ed}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4f4dac}from'../../aicore/utils/common-translations.js';import{AITabs as _0xbbba5}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x41abb1{static get[_0x598e44(0xa1)](){return[_0xbbba5];}static get[_0x598e44(0xae)](){const _0x1cc0db=_0x598e44;return _0x1cc0db(0x9b);}static get[_0x598e44(0x9c)](){return!0x0;}static get[_0x598e44(0xb5)](){return!0x0;}[_0x598e44(0x99)](){const _0x1a9047=_0x598e44,_0x557f0a=this[_0x1a9047(0xaf)];_0x557f0a[_0x1a9047(0xa3)][_0x1a9047(0x9d)](_0x1a9047(0xa6),new _0x4b13a0(_0x557f0a)),_0x557f0a['ui'][_0x1a9047(0xb4)][_0x1a9047(0x9d)](_0x1a9047(0xa6),()=>{const _0x2329b5=_0x1a9047,_0x3fcddc=this[_0x2329b5(0xb3)](_0x543460);return _0x3fcddc[_0x2329b5(0xb9)]({'tooltip':!0x0,'class':_0x2329b5(0xad)}),_0x3fcddc;}),_0x557f0a['ui'][_0x1a9047(0xb4)][_0x1a9047(0x9d)](_0x1a9047(0xa0),()=>{const _0xb430db=_0x1a9047,_0x2df7b1=this[_0xb430db(0xb3)](_0x222a7c);return _0x2df7b1[_0xb430db(0xb9)]({'role':_0xb430db(0xa2)}),_0x2df7b1;});}[_0x598e44(0xb3)](_0x18b299){const _0x5e48fb=_0x598e44,_0x22a403=this[_0x5e48fb(0xaf)],_0x399bc3=_0x22a403[_0x5e48fb(0xa3)][_0x5e48fb(0xa4)](_0x5e48fb(0xa6)),_0x458133=new _0x18b299(_0x22a403[_0x5e48fb(0xbb)]);return _0x458133[_0x5e48fb(0xb9)]({'label':_0x4f4dac(_0x22a403[_0x5e48fb(0xbb)],_0x5e48fb(0xa7)),'icon':_0x1df1ed,'isToggleable':!0x0}),_0x458133[_0x5e48fb(0xa9)](_0x5e48fb(0xb2))['to'](_0x399bc3),_0x458133[_0x5e48fb(0xa9)](_0x5e48fb(0xac))['to'](_0x399bc3,_0x5e48fb(0xb6),_0x2ad0af=>!!_0x2ad0af),this[_0x5e48fb(0xb7)](_0x458133,_0x5e48fb(0xb1),()=>{const _0x88c650=_0x5e48fb;_0x399bc3[_0x88c650(0xb1)]();}),_0x458133;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50f38b=_0x10c6;(function(_0x44b319,_0x4252da){const _0x485d53=_0x10c6,_0x38b30d=_0x44b319();while(!![]){try{const _0x46e48a=-parseInt(_0x485d53(0x1a1))/0x1+parseInt(_0x485d53(0x1a7))/0x2*(parseInt(_0x485d53(0x1a6))/0x3)+-parseInt(_0x485d53(0x1a2))/0x4+-parseInt(_0x485d53(0x1a9))/0x5+-parseInt(_0x485d53(0x19f))/0x6+-parseInt(_0x485d53(0x1a0))/0x7*(parseInt(_0x485d53(0x1a3))/0x8)+parseInt(_0x485d53(0x1a4))/0x9;if(_0x46e48a===_0x4252da)break;else _0x38b30d['push'](_0x38b30d['shift']());}catch(_0x25a499){_0x38b30d['push'](_0x38b30d['shift']());}}}(_0x506c,0x1ef21));function _0x506c(){const _0x5b4877=['6969735ZCxWvY','AITabs','59043tzcPwz','12WdwFqn','execute','1193210wbnsQF','plugins','bind','value','get','view','isEnabled','editor','isVisible','272136lhwUIA','229229rbwOBE','37627tyJSvI','990564HdvpWu','48OIKxTb'];_0x506c=function(){return _0x5b4877;};return _0x506c();}function _0x10c6(_0x3a575c,_0x5c5da1){const _0x506cb4=_0x506c();return _0x10c6=function(_0x10c649,_0xe3cf4){_0x10c649=_0x10c649-0x19b;let _0x504d5f=_0x506cb4[_0x10c649];return _0x504d5f;},_0x10c6(_0x3a575c,_0x5c5da1);}import{Command as _0x17277c}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x17277c{constructor(_0x5f3a6e){const _0x1cb41f=_0x10c6;super(_0x5f3a6e);const _0x1b515a=_0x5f3a6e[_0x1cb41f(0x1aa)][_0x1cb41f(0x1ad)](_0x1cb41f(0x1a5))[_0x1cb41f(0x19b)];this[_0x1cb41f(0x1ab)](_0x1cb41f(0x1ac))['to'](_0x1b515a,_0x1cb41f(0x19e)),this[_0x1cb41f(0x19c)]=!0x0;}[_0x50f38b(0x1a8)](){const _0x1d9628=_0x50f38b,_0x5ebd3a=this[_0x1d9628(0x19d)][_0x1d9628(0x1aa)][_0x1d9628(0x1ad)](_0x1d9628(0x1a5))[_0x1d9628(0x19b)];_0x5ebd3a[_0x1d9628(0x19e)]=!_0x5ebd3a[_0x1d9628(0x19e)];}}
23
+ function _0x42b3(){const _0x44f3ee=['49629105nDIOsM','1677188GfzYMK','2140686EeePvL','isEnabled','bind','740880QZOqtS','AITabs','isVisible','6377816zWTNcJ','plugins','value','5059056eoRYqT','7VuEDrQ','editor','view','get','6356440qCYGMn','1lRqWCq','execute'];_0x42b3=function(){return _0x44f3ee;};return _0x42b3();}const _0x4b9644=_0x1223;function _0x1223(_0x51aa1f,_0x5ef00a){const _0x42b367=_0x42b3();return _0x1223=function(_0x122391,_0x166f5b){_0x122391=_0x122391-0x149;let _0x2882dc=_0x42b367[_0x122391];return _0x2882dc;},_0x1223(_0x51aa1f,_0x5ef00a);}(function(_0x52d3e6,_0x5f0298){const _0xa12d36=_0x1223,_0x5663b2=_0x52d3e6();while(!![]){try{const _0x1dce99=parseInt(_0xa12d36(0x14c))/0x1*(-parseInt(_0xa12d36(0x14f))/0x2)+-parseInt(_0xa12d36(0x153))/0x3+-parseInt(_0xa12d36(0x159))/0x4+-parseInt(_0xa12d36(0x14b))/0x5+parseInt(_0xa12d36(0x150))/0x6*(-parseInt(_0xa12d36(0x15a))/0x7)+-parseInt(_0xa12d36(0x156))/0x8+parseInt(_0xa12d36(0x14e))/0x9;if(_0x1dce99===_0x5f0298)break;else _0x5663b2['push'](_0x5663b2['shift']());}catch(_0x23fb1e){_0x5663b2['push'](_0x5663b2['shift']());}}}(_0x42b3,0xb45ab));import{Command as _0x1b4cf4}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x1b4cf4{constructor(_0x569588){const _0x468524=_0x1223;super(_0x569588);const _0x14e3cb=_0x569588[_0x468524(0x157)][_0x468524(0x14a)](_0x468524(0x154))[_0x468524(0x149)];this[_0x468524(0x152)](_0x468524(0x158))['to'](_0x14e3cb,_0x468524(0x155)),this[_0x468524(0x151)]=!0x0;}[_0x4b9644(0x14d)](){const _0x15d2e5=_0x4b9644,_0x12e2fc=this[_0x15d2e5(0x15b)][_0x15d2e5(0x157)][_0x15d2e5(0x14a)](_0x15d2e5(0x154))[_0x15d2e5(0x149)];_0x12e2fc[_0x15d2e5(0x155)]=!_0x12e2fc[_0x15d2e5(0x155)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2585(){const _0x2e1b74=['other','parent','_handleAIActionsAction','type','editor','getLimitElement','_handleAIChatAction','model','getSelectedBlocks','actionName','activateTab','7936072NavoOv','chat','handleAIReviewAction','plugins','startConversation','AIChat','isVisible','removeSelectionFromChatContext','44PVGnsd','has','_handleAIActionsActionLabel','view','ask-ai','76234jqyXVc','focusPromptInput','252hIyHOn','ACTION','AIChatController','label','change','100576rZdusO','AIActions','ai-quick-actions-plugin-not-found','document','icon','args','9BaqRwX','selection','_handleAIReviewAction','sendMessage','activeTab','704485UMhYin','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','prompt','locale','log','16Tgpusd','get','execute','_expandSelectionIfCollapsed','12821210YPDTzl','11xtCCqx','27004656JFQaFW','displayedPrompt','CHAT','REVIEW','executeAction','2243865gwNKkW','AITabs','schema','isCollapsed','setSelection','AIReviewMode','addSelectionToChatContext'];_0x2585=function(){return _0x2e1b74;};return _0x2585();}function _0x55d0(_0x296537,_0x4172e2){const _0x258552=_0x2585();return _0x55d0=function(_0x55d074,_0x35f79c){_0x55d074=_0x55d074-0x181;let _0x5ad7b9=_0x258552[_0x55d074];return _0x5ad7b9;},_0x55d0(_0x296537,_0x4172e2);}const _0xc0380a=_0x55d0;(function(_0x2f3df3,_0x32f04e){const _0x591118=_0x55d0,_0x16eb2e=_0x2f3df3();while(!![]){try{const _0x2a2221=parseInt(_0x591118(0x182))/0x1*(parseInt(_0x591118(0x199))/0x2)+-parseInt(_0x591118(0x1a4))/0x3+-parseInt(_0x591118(0x1be))/0x4*(-parseInt(_0x591118(0x194))/0x5)+parseInt(_0x591118(0x184))/0x6*(-parseInt(_0x591118(0x189))/0x7)+parseInt(_0x591118(0x1b6))/0x8+-parseInt(_0x591118(0x18f))/0x9*(-parseInt(_0x591118(0x19d))/0xa)+-parseInt(_0x591118(0x19e))/0xb*(parseInt(_0x591118(0x19f))/0xc);if(_0x2a2221===_0x32f04e)break;else _0x16eb2e['push'](_0x16eb2e['shift']());}catch(_0x4f9381){_0x16eb2e['push'](_0x16eb2e['shift']());}}}(_0x2585,0xcb246));import{Command as _0x20bda4}from'ckeditor5/src/core.js';import{CKEditorError as _0x2b0599,first as _0x228489}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x41adfa}from'./aiquickactionsui.js';import{getTranslation as _0x260e26}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x20bda4{[_0xc0380a(0x19b)](_0x414d0a){const _0x2b61fe=_0xc0380a;switch(this[_0x2b61fe(0x19c)](),_0x414d0a[_0x2b61fe(0x1ae)]){case _0x41adfa[_0x2b61fe(0x1a1)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x1bb))){const _0x366065=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x1bb));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0x366065});}this[_0x2b61fe(0x1b1)](_0x414d0a);break;case _0x41adfa[_0x2b61fe(0x185)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x18a))){const _0xc5444d=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x18a));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0xc5444d});}this[_0x2b61fe(0x1ad)](_0x414d0a);break;case _0x41adfa[_0x2b61fe(0x1a2)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x1a9))){const _0x2aeeea=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x1a9));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0x2aeeea});}this[_0x2b61fe(0x191)](_0x414d0a);}}async[_0xc0380a(0x1b1)](_0x1562de){const _0x2d8697=_0xc0380a,_0x4e1234=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x1bb)),_0x3d3e0a=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x186)),_0x3d2ff7=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x1a5))[_0x2d8697(0x1c1)];if(_0x3d2ff7[_0x2d8697(0x1bc)]||(_0x3d2ff7[_0x2d8697(0x1bc)]=!0x0),_0x2d8697(0x1b7)!==_0x3d2ff7[_0x2d8697(0x193)]&&_0x3d2ff7[_0x2d8697(0x1b5)](_0x2d8697(0x1b7)),_0x2d8697(0x181)===_0x1562de['id'])_0x3d3e0a[_0x2d8697(0x1bd)](),await _0x4e1234[_0x2d8697(0x1aa)](),_0x4e1234[_0x2d8697(0x183)]();else await _0x4e1234[_0x2d8697(0x1ba)](),_0x3d3e0a[_0x2d8697(0x1bd)](),await _0x4e1234[_0x2d8697(0x1aa)](),_0x4e1234[_0x2d8697(0x183)](),await _0x4e1234[_0x2d8697(0x192)]({'message':_0x1562de[_0x2d8697(0x196)]||_0x1562de[_0x2d8697(0x1a0)],'attributes':{'quickActionData':{'id':_0x1562de['id']},'displayedPrompt':_0x1562de[_0x2d8697(0x1a0)]}});}[_0xc0380a(0x19c)](){const _0x517f0f=_0xc0380a,_0x3fe073=this[_0x517f0f(0x1af)],_0x1e4dd6=_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x18c)][_0x517f0f(0x190)];if(!_0x1e4dd6[_0x517f0f(0x1a7)])return;const _0x31952e=_0x228489(_0x1e4dd6[_0x517f0f(0x1b3)]())||_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x1a6)][_0x517f0f(0x1b0)](_0x1e4dd6);_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x188)](_0x524ef6=>{const _0x39a8f0=_0x517f0f;_0x524ef6[_0x39a8f0(0x1a8)](_0x31952e,'in');});}[_0xc0380a(0x1c0)](_0x5ec2d2){const _0x2c0713=_0xc0380a;return _0x5ec2d2[_0x2c0713(0x1ac)]?.[_0x2c0713(0x187)]&&_0x2c0713(0x1ab)!==_0x5ec2d2[_0x2c0713(0x1ac)]?.['id']?_0x5ec2d2[_0x2c0713(0x1ac)][_0x2c0713(0x187)]+':\x20'+_0x5ec2d2[_0x2c0713(0x1a0)]:_0x5ec2d2[_0x2c0713(0x1a0)];}async[_0xc0380a(0x1ad)](_0x4e3214){const _0x3827a9=_0xc0380a,_0x21272d=this[_0x3827a9(0x1af)][_0x3827a9(0x1b9)][_0x3827a9(0x19a)](_0x3827a9(0x18a)),_0x2c0f05=_0x4e3214[_0x3827a9(0x196)]?{'userMessage':_0x4e3214[_0x3827a9(0x196)],'model':_0x4e3214[_0x3827a9(0x1b2)]}:{'actionName':_0x4e3214[_0x3827a9(0x1b4)]||_0x4e3214['id'],'args':_0x4e3214[_0x3827a9(0x18e)]},_0x3ad995=this[_0x3827a9(0x1c0)](_0x4e3214);await _0x21272d[_0x3827a9(0x1a3)](_0x2c0f05,_0x3ad995,_0x4e3214[_0x3827a9(0x18d)]);}async[_0xc0380a(0x191)](_0x570f9b){const _0x1bdc45=_0xc0380a;console[_0x1bdc45(0x198)](_0x1bdc45(0x1b8),_0x570f9b);}}
23
+ const _0x390e75=_0x4bd0;function _0x4bd0(_0x15fd24,_0x42caaf){const _0x16150c=_0x1615();return _0x4bd0=function(_0x4bd017,_0x1407af){_0x4bd017=_0x4bd017-0x1ec;let _0x2fc076=_0x16150c[_0x4bd017];return _0x2fc076;},_0x4bd0(_0x15fd24,_0x42caaf);}(function(_0x3b60b7,_0x244cdf){const _0x56c90f=_0x4bd0,_0x25f07c=_0x3b60b7();while(!![]){try{const _0x125846=parseInt(_0x56c90f(0x1f6))/0x1*(parseInt(_0x56c90f(0x21e))/0x2)+-parseInt(_0x56c90f(0x216))/0x3*(parseInt(_0x56c90f(0x212))/0x4)+parseInt(_0x56c90f(0x21c))/0x5+-parseInt(_0x56c90f(0x213))/0x6+parseInt(_0x56c90f(0x1ef))/0x7*(parseInt(_0x56c90f(0x1f1))/0x8)+parseInt(_0x56c90f(0x21a))/0x9*(parseInt(_0x56c90f(0x210))/0xa)+-parseInt(_0x56c90f(0x228))/0xb*(parseInt(_0x56c90f(0x214))/0xc);if(_0x125846===_0x244cdf)break;else _0x25f07c['push'](_0x25f07c['shift']());}catch(_0x3a29e5){_0x25f07c['push'](_0x25f07c['shift']());}}}(_0x1615,0x278e2));function _0x1615(){const _0x10cd17=['68823WeYkhx','AIChatController','556150xHjYkL','AIReviewMode','386072yzaFvf','parent','isVisible','document','AITabs','selection','get','view','_expandSelectionIfCollapsed','model','2682251ydYtbr','executeAction','CHAT','removeSelectionFromChatContext','handleAIReviewAction','_handleAIActionsAction','plugins','ai-quick-actions-plugin-not-found','1297947QXRLCJ','REVIEW','8KRieXo','focusPromptInput','_handleAIChatAction','actionName','args','1TNVtiJ','activeTab','label','icon','other','addSelectionToChatContext','AIChat','getSelectedBlocks','type','has','editor','activateTab','ask-ai','sendMessage','_handleAIActionsActionLabel','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','getLimitElement','isCollapsed','chat','_handleAIReviewAction','prompt','log','AIActions','displayedPrompt','execute','setSelection','210HaTvwm','schema','4596WZacTy','632316NOjylN','12FyZSfq','startConversation','363pgTKlH','ACTION','locale','change'];_0x1615=function(){return _0x10cd17;};return _0x1615();}import{Command as _0xe545b9}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f3f4b,first as _0x157eb4}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x5b4bc2}from'./aiquickactionsui.js';import{getTranslation as _0x15f6d6}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0xe545b9{[_0x390e75(0x20e)](_0x48df1b){const _0x19ac27=_0x390e75;switch(this[_0x19ac27(0x226)](),_0x48df1b[_0x19ac27(0x1fe)]){case _0x5b4bc2[_0x19ac27(0x22a)]:if(!this[_0x19ac27(0x200)][_0x19ac27(0x1ed)][_0x19ac27(0x1ff)](_0x19ac27(0x1fc))){const _0x3ce495=_0x15f6d6(this[_0x19ac27(0x200)][_0x19ac27(0x218)],_0x19ac27(0x205),_0x19ac27(0x1fc));throw new _0x2f3f4b(_0x19ac27(0x1ee),this[_0x19ac27(0x200)],{'errorMessage':_0x3ce495});}this[_0x19ac27(0x1f3)](_0x48df1b);break;case _0x5b4bc2[_0x19ac27(0x217)]:if(!this[_0x19ac27(0x200)][_0x19ac27(0x1ed)][_0x19ac27(0x1ff)](_0x19ac27(0x20c))){const _0x43254b=_0x15f6d6(this[_0x19ac27(0x200)][_0x19ac27(0x218)],_0x19ac27(0x205),_0x19ac27(0x20c));throw new _0x2f3f4b(_0x19ac27(0x1ee),this[_0x19ac27(0x200)],{'errorMessage':_0x43254b});}this[_0x19ac27(0x1ec)](_0x48df1b);break;case _0x5b4bc2[_0x19ac27(0x1f0)]:if(!this[_0x19ac27(0x200)][_0x19ac27(0x1ed)][_0x19ac27(0x1ff)](_0x19ac27(0x21d))){const _0x3f4099=_0x15f6d6(this[_0x19ac27(0x200)][_0x19ac27(0x218)],_0x19ac27(0x205),_0x19ac27(0x21d));throw new _0x2f3f4b(_0x19ac27(0x1ee),this[_0x19ac27(0x200)],{'errorMessage':_0x3f4099});}this[_0x19ac27(0x209)](_0x48df1b);}}async[_0x390e75(0x1f3)](_0x4d3eeb){const _0x2f51df=_0x390e75,_0x4066d5=this[_0x2f51df(0x200)][_0x2f51df(0x1ed)][_0x2f51df(0x224)](_0x2f51df(0x1fc)),_0x195a82=this[_0x2f51df(0x200)][_0x2f51df(0x1ed)][_0x2f51df(0x224)](_0x2f51df(0x21b)),_0x53c133=this[_0x2f51df(0x200)][_0x2f51df(0x1ed)][_0x2f51df(0x224)](_0x2f51df(0x222))[_0x2f51df(0x225)];if(_0x53c133[_0x2f51df(0x220)]||(_0x53c133[_0x2f51df(0x220)]=!0x0),_0x2f51df(0x208)!==_0x53c133[_0x2f51df(0x1f7)]&&_0x53c133[_0x2f51df(0x201)](_0x2f51df(0x208)),_0x2f51df(0x202)===_0x4d3eeb['id'])_0x195a82[_0x2f51df(0x22b)](),await _0x4066d5[_0x2f51df(0x1fb)](),_0x4066d5[_0x2f51df(0x1f2)]();else await _0x4066d5[_0x2f51df(0x215)](),_0x195a82[_0x2f51df(0x22b)](),await _0x4066d5[_0x2f51df(0x1fb)](),_0x4066d5[_0x2f51df(0x1f2)](),await _0x4066d5[_0x2f51df(0x203)]({'message':_0x4d3eeb[_0x2f51df(0x20a)]||_0x4d3eeb[_0x2f51df(0x20d)],'attributes':{'quickActionData':{'id':_0x4d3eeb['id']},'displayedPrompt':_0x4d3eeb[_0x2f51df(0x20d)]}});}[_0x390e75(0x226)](){const _0x29b9bd=_0x390e75,_0x462b40=this[_0x29b9bd(0x200)],_0x21f40f=_0x462b40[_0x29b9bd(0x227)][_0x29b9bd(0x221)][_0x29b9bd(0x223)];if(!_0x21f40f[_0x29b9bd(0x207)])return;const _0x3df1cb=_0x157eb4(_0x21f40f[_0x29b9bd(0x1fd)]())||_0x462b40[_0x29b9bd(0x227)][_0x29b9bd(0x211)][_0x29b9bd(0x206)](_0x21f40f);_0x462b40[_0x29b9bd(0x227)][_0x29b9bd(0x219)](_0x5a10b9=>{const _0x224016=_0x29b9bd;_0x5a10b9[_0x224016(0x20f)](_0x3df1cb,'in');});}[_0x390e75(0x204)](_0x3d112d){const _0x3ff74b=_0x390e75;return _0x3d112d[_0x3ff74b(0x21f)]?.[_0x3ff74b(0x1f8)]&&_0x3ff74b(0x1fa)!==_0x3d112d[_0x3ff74b(0x21f)]?.['id']?_0x3d112d[_0x3ff74b(0x21f)][_0x3ff74b(0x1f8)]+':\x20'+_0x3d112d[_0x3ff74b(0x20d)]:_0x3d112d[_0x3ff74b(0x20d)];}async[_0x390e75(0x1ec)](_0x181403){const _0x3862b5=_0x390e75,_0x143d22=this[_0x3862b5(0x200)][_0x3862b5(0x1ed)][_0x3862b5(0x224)](_0x3862b5(0x20c)),_0x445966=_0x181403[_0x3862b5(0x20a)]?{'userMessage':_0x181403[_0x3862b5(0x20a)],'model':_0x181403[_0x3862b5(0x227)]}:{'actionName':_0x181403[_0x3862b5(0x1f4)]||_0x181403['id'],'args':_0x181403[_0x3862b5(0x1f5)]},_0x23a6da=this[_0x3862b5(0x204)](_0x181403);await _0x143d22[_0x3862b5(0x229)](_0x445966,_0x23a6da,_0x181403[_0x3862b5(0x1f9)]);}async[_0x390e75(0x209)](_0x9a077c){const _0x45508e=_0x390e75;console[_0x45508e(0x20b)](_0x45508e(0x22c),_0x9a077c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52911d=_0x553b;(function(_0x504879,_0x43b7b3){const _0x276d6e=_0x553b,_0x531902=_0x504879();while(!![]){try{const _0x29b183=parseInt(_0x276d6e(0x180))/0x1+parseInt(_0x276d6e(0x187))/0x2*(-parseInt(_0x276d6e(0x1de))/0x3)+parseInt(_0x276d6e(0x1df))/0x4+-parseInt(_0x276d6e(0x1b6))/0x5+parseInt(_0x276d6e(0x19a))/0x6*(-parseInt(_0x276d6e(0x174))/0x7)+-parseInt(_0x276d6e(0x1ac))/0x8*(-parseInt(_0x276d6e(0x177))/0x9)+-parseInt(_0x276d6e(0x1cb))/0xa;if(_0x29b183===_0x43b7b3)break;else _0x531902['push'](_0x531902['shift']());}catch(_0x7a72b4){_0x531902['push'](_0x531902['shift']());}}}(_0x5308,0xc4390));import{IconAIAdjustLength as _0x2a38ce,IconAIChangeTone as _0x5ce6dc,IconAIChatCommands as _0x268576,IconAIContinueWriting as _0x3b9a51,IconAIGrammarCheck as _0x189dc4,IconAIImproveWriting as _0x3a231c,IconAIOther as _0xb3e4df,IconAIQuickActions as _0x4e9204,IconAITranslate as _0x2aec04}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x50a124}from'ckeditor5/src/core.js';import{CKEditorError as _0x59b5b9,logError as _0x4c9ab2}from'ckeditor5/src/utils.js';import{getTranslation as _0x5d817b}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x6ecb3d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2e3fd6}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x73dc31,BalloonToolbar as _0xcc0d70,MenuBarMenuView as _0x511fe7,MenuBarMenuListView as _0x53f69b,MenuBarMenuListItemView as _0x22b4ea,MenuBarMenuListItemButtonView as _0x444f19}from'ckeditor5/src/ui.js';import{AIModels as _0x435968}from'../aicore/model/aimodels.js';function _0x5308(){const _0xeed7ba=['highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','12DIZVpo','isOfficialPlugin','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-tone-direct','focus','buttonView','continue','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','locale','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','chinese','translate-to-english','_initializeQuickActionsComponentsAndCommands','chat-commands','AIReviewMode','ai.quickActions.isSearchEnabled','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','42728MGSBub','forEach','ACTION','componentFactory','aiQuickAction','ai.chat.context.document.enabled','other','get','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','italian','4400605pIiYNI','AI_QUICK_ACTIONS_SUMMARIZE','menuBar:aiQuickActions','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','aiQuickActions','isPremiumPlugin','translate-to-korean','panelView','translate-to-japanese','AI_QUICK_ACTIONS_MORE_CONFIDENT','fix-grammar','AI_QUICK_ACTIONS_CHANGE_TONE','ai.quickActions.removeCommands','execute','add','AI_QUICK_ACTIONS_MAKE_LONGER','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','children','editor','9679240XJtYiI','make-tone-friendly','_quickActionsDefinition','english','AIQuickActionsUI','displayedPrompt','korean','view','push','some','ai-quick-actions-unavailable-model','pluginName','map','AI_QUICK_ACTIONS_OTHER','explain','AIActions','adjust-length','includes','AI_QUICK_ACTIONS_IMPROVE_WRITING','1041FtTLrd','5794756pXDSlQ','ai-quick-actions-models-unable-to-retrieve','summarize','REVIEW','ai.quickActions.extraCommands','_prepareQuickActionsDefinition','change-tone','make-tone-confident','AIConnector','translate-to-spanish','DisplayNames','spanish','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','make-tone-professional','AI_QUICK_ACTIONS_ASK_AI','model','values','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_initializeQuickActionsComponents','menuBarView','filter','AI_QUICK_ACTIONS_ADJUST_LENGTH','_shouldIncludeAction','English','message','icon','russian','translate-to-chinese','AIChat','type','menu','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','attachToDom','requires','delegate','improve-writing','uiLanguage','getDefaultQuickActions','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE','<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>','isEnabled','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_executeQuickAction','label','translate-to-portuguese','editing','japanese','portuguese','find','config','french','AI_QUICK_ACTIONS_MORE_CASUAL','german','2488738YaeQSs','AI_QUICK_ACTIONS_CHAT_COMMANDS','_initializeQuickActionsDropdown','1467uerSLC','items','AI_QUICK_ACTIONS_MORE_DIRECT','make-longer','length','make-shorter','translate-to-german','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_EXPLAIN','1106723iKqIQV','actions','commands','init','language','translate-to-russian','AI_QUICK_ACTIONS_CONTINUE_WRITING','364RmDwfw','CHAT','<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>','set','menuitem','replace','make-tone-casual','_getDefaultAndCustomActions','has','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate','plugins','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','close','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_MAKE_SHORTER','getAll'];_0x5308=function(){return _0xeed7ba;};return _0x5308();}import{AIConnector as _0x1e21f4}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x553b(_0x14c1a2,_0x1f82ca){const _0x530883=_0x5308();return _0x553b=function(_0x553bc7,_0x2452d8){_0x553bc7=_0x553bc7-0x169;let _0x4a1252=_0x530883[_0x553bc7];return _0x4a1252;},_0x553b(_0x14c1a2,_0x1f82ca);}const ee=_0x52911d(0x189),ie=_0x52911d(0x207),ne=_0x52911d(0x209);export var AIQuickActionType;!function(_0x3090ee){const _0xca4d4f=_0x52911d;_0x3090ee[_0xca4d4f(0x188)]=_0xca4d4f(0x188),_0x3090ee[_0xca4d4f(0x1ae)]=_0xca4d4f(0x1ae),_0x3090ee[_0xca4d4f(0x1e2)]=_0xca4d4f(0x1e2);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x1bb327){const _0x25fab7=_0x52911d;_0x1bb327[_0x25fab7(0x188)]=_0x25fab7(0x1fb),_0x1bb327[_0x25fab7(0x1ae)]=_0x25fab7(0x1da),_0x1bb327[_0x25fab7(0x1e2)]=_0x25fab7(0x1a9);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x50a124{static get[_0x52911d(0x200)](){return[_0xcc0d70,_0x1e21f4];}static get[_0x52911d(0x1d6)](){const _0x558571=_0x52911d;return _0x558571(0x1cf);}static get[_0x52911d(0x19b)](){return!0x0;}static get[_0x52911d(0x1bc)](){return!0x0;}async[_0x52911d(0x183)](){const _0x16375b=_0x52911d,_0x4752f4=await this[_0x16375b(0x18e)]();this[_0x16375b(0x1e4)](_0x4752f4),this[_0x16375b(0x1a7)]();}static[_0x52911d(0x204)](_0x2bc696){return function(_0x164878){const _0x442d30=_0x553b,_0x2f86c5=new Intl[(_0x442d30(0x1e9))](['en'],{'type':_0x442d30(0x184)})['of'](_0x164878[_0x442d30(0x203)]),_0x55ada6=_0x2f86c5||_0x442d30(0x1f6),_0x5a6ca0=[{'id':_0x442d30(0x1c7),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1ed)),'type':AIQuickActionType[_0x442d30(0x188)],'icon':_0x268576},{'id':_0x442d30(0x1a8),'label':_0x5d817b(_0x164878,_0x442d30(0x175)),'icon':_0x268576,'actions':[{'id':_0x442d30(0x1d9),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x17f)),'prompt':ee[_0x442d30(0x18c)]('%0',_0x55ada6),'type':AIQuickActionType[_0x442d30(0x188)]},{'id':_0x442d30(0x1e1),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1b7)),'prompt':ie[_0x442d30(0x18c)]('%0',_0x55ada6),'type':AIQuickActionType[_0x442d30(0x188)]},{'id':_0x442d30(0x198),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1eb)),'prompt':ne[_0x442d30(0x18c)]('%0',_0x55ada6),'type':AIQuickActionType[_0x442d30(0x188)]}]},{'id':_0x442d30(0x202),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1dd)),'type':AIQuickActionType[_0x442d30(0x1ae)],'icon':_0x3a231c},{'id':_0x442d30(0x1a0),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x186)),'type':AIQuickActionType[_0x442d30(0x1ae)],'icon':_0x3b9a51},{'id':_0x442d30(0x1c1),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1a4)),'type':AIQuickActionType[_0x442d30(0x1ae)],'icon':_0x189dc4},{'id':_0x442d30(0x1db),'label':_0x5d817b(_0x164878,_0x442d30(0x1f4)),'icon':_0x2a38ce,'actions':[{'id':_0x442d30(0x17c),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x196)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x17a),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1c6)),'type':AIQuickActionType[_0x442d30(0x1ae)]}]},{'id':_0x442d30(0x1e5),'label':_0x5d817b(_0x164878,_0x442d30(0x1c2)),'icon':_0x5ce6dc,'actions':[{'id':_0x442d30(0x18d),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x172)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x19d),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x179)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x1cc),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1a3)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x1e6),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1c0)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x1ec),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x19c)),'type':AIQuickActionType[_0x442d30(0x1ae)]}]},{'id':_0x442d30(0x191),'label':_0x5d817b(_0x164878,_0x442d30(0x206)),'icon':_0x2aec04,'actions':[{'id':_0x442d30(0x1a6),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1c8)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1ce)}},{'id':_0x442d30(0x1fa),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x199)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1a5)}},{'id':_0x442d30(0x1e8),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1b4)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1ea)}},{'id':_0x442d30(0x17d),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x193)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x173)}},{'id':_0x442d30(0x1b9),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1fe)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x171)}},{'id':_0x442d30(0x1bf),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x190)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x16d)}},{'id':_0x442d30(0x16b),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1a1)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x16e)}},{'id':_0x442d30(0x1bd),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1f0)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1d1)}},{'id':_0x442d30(0x205),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1ab)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1b5)}},{'id':_0x442d30(0x185),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1ba)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1f9)}}]},{'id':_0x442d30(0x1b2),'label':_0x5d817b(_0x164878,_0x442d30(0x1d8)),'icon':_0xb3e4df,'actions':[]}];return _0x5a6ca0;}(_0x2bc696);}async[_0x52911d(0x18e)](){const _0x2a67f7=_0x52911d,_0x3e30e5=AIQuickActionsUI[_0x2a67f7(0x204)](this[_0x2a67f7(0x1ca)][_0x2a67f7(0x1a2)]),_0x1472d6=this[_0x2a67f7(0x1ca)][_0x2a67f7(0x170)][_0x2a67f7(0x1b3)](_0x2a67f7(0x1e3))||[];let _0x970f34=[];try{_0x970f34=await new _0x435968({'connector':this[_0x2a67f7(0x1ca)][_0x2a67f7(0x192)][_0x2a67f7(0x1b3)](_0x2a67f7(0x1e7)),'locale':this[_0x2a67f7(0x1ca)][_0x2a67f7(0x1a2)]})[_0x2a67f7(0x197)]();}catch(_0xcc668f){const _0x229005=new _0x59b5b9(_0x2a67f7(0x1e0),this,{'error':_0xcc668f});_0x4c9ab2(_0x229005[_0x2a67f7(0x1f7)]);}finally{const _0x34618a=_0x1472d6[_0x2a67f7(0x1d7)](_0x27f66f=>({..._0x27f66f,'icon':void 0x0}));_0x3e30e5[_0x2a67f7(0x16f)](_0x41bf43=>_0x2a67f7(0x1b2)===_0x41bf43['id'])[_0x2a67f7(0x181)][_0x2a67f7(0x1d3)](..._0x34618a),_0x3e30e5[_0x2a67f7(0x1ad)](_0x455d89=>{const _0x2e6390=_0x2a67f7;if(_0x2e6390(0x181)in _0x455d89)_0x455d89[_0x2e6390(0x181)][_0x2e6390(0x1ad)](_0x169d78=>{const _0x2ce5da=_0x2e6390;if(_0x169d78[_0x2ce5da(0x208)]=!!_0x970f34[_0x2ce5da(0x16f)](_0x19ee03=>_0x19ee03['id']===_0x169d78[_0x2ce5da(0x1ee)])||void 0x0===_0x169d78[_0x2ce5da(0x1ee)],!_0x169d78[_0x2ce5da(0x208)]){const _0x808f69=new _0x59b5b9(_0x2ce5da(0x1d5),this,{'actionId':_0x169d78['id'],'modelId':_0x169d78[_0x2ce5da(0x1ee)]});_0x4c9ab2(_0x808f69[_0x2ce5da(0x1f7)]);}});else{if(_0x455d89[_0x2e6390(0x208)]=!!_0x970f34[_0x2e6390(0x16f)](_0x23e9b2=>_0x23e9b2['id']===_0x455d89[_0x2e6390(0x1ee)])||void 0x0===_0x455d89[_0x2e6390(0x1ee)],!_0x455d89[_0x2e6390(0x208)]){const _0x138e43=new _0x59b5b9(_0x2e6390(0x1d5),this,{'actionId':_0x455d89['id'],'modelId':_0x455d89[_0x2e6390(0x1ee)]});_0x4c9ab2(_0x138e43[_0x2e6390(0x1f7)]);}}});}return _0x3e30e5;}[_0x52911d(0x1a7)](){const _0x19a88c=_0x52911d,_0x17514c=new _0x73dc31(this[_0x19a88c(0x1ca)][_0x19a88c(0x1a2)]);_0x17514c[_0x19a88c(0x1ff)](),this[_0x19a88c(0x176)](_0x17514c),this[_0x19a88c(0x195)](),this[_0x19a88c(0x1f1)](_0x17514c);}[_0x52911d(0x176)](_0x23ad10){const _0x5992e3=_0x52911d,_0x1fd427=this[_0x5992e3(0x1ca)][_0x5992e3(0x170)][_0x5992e3(0x1b3)](_0x5992e3(0x1aa))??!0x0;this[_0x5992e3(0x1ca)]['ui'][_0x5992e3(0x1af)][_0x5992e3(0x1c5)](_0x5992e3(0x1bb),_0x6ecb3d({'editor':this[_0x5992e3(0x1ca)],'content':this[_0x5992e3(0x1cd)],'buttonDefinition':{'icon':_0x4e9204,'label':_0x5d817b(this[_0x5992e3(0x1ca)][_0x5992e3(0x1a2)],_0x5992e3(0x17e))},'bodyCollection':_0x23ad10,'hasSearch':_0x1fd427}));}[_0x52911d(0x1e4)](_0x3ea9ee){const _0x2a0206=_0x52911d;this[_0x2a0206(0x1cd)]=_0x3ea9ee[_0x2a0206(0x1d7)](_0x5beacc=>{const _0x28fec0=_0x2a0206;if(_0x28fec0(0x181)in _0x5beacc){const _0x44758d=_0x5beacc;return{..._0x44758d,'actions':_0x44758d[_0x28fec0(0x181)][_0x28fec0(0x1d7)](_0x6aaca5=>{const {actions:_0xb491a7,..._0x5bce7}=_0x44758d;return{..._0x6aaca5,'parent':_0x5bce7};})[_0x28fec0(0x1f3)](_0x54604f=>this[_0x28fec0(0x1f5)](_0x54604f))};}return _0x5beacc;})[_0x2a0206(0x1f3)](_0x1a3ad2=>_0x2a0206(0x181)in _0x1a3ad2?_0x1a3ad2[_0x2a0206(0x181)][_0x2a0206(0x17b)]>0x0:this[_0x2a0206(0x1f5)](_0x1a3ad2));}[_0x52911d(0x1f5)](_0xf56989){const _0x1ac916=_0x52911d,_0x3258df=this[_0x1ac916(0x1ca)][_0x1ac916(0x170)][_0x1ac916(0x1b3)](_0x1ac916(0x1c3))||[];return this[_0x1ac916(0x1ca)][_0x1ac916(0x192)][_0x1ac916(0x18f)](AIQuickActionTypeToPluginName[_0xf56989[_0x1ac916(0x1fc)]])&&!_0x3258df[_0x1ac916(0x1dc)](_0xf56989['id'])&&!(_0xf56989[_0x1ac916(0x1fc)]===AIQuickActionType[_0x1ac916(0x188)]&&!0x1===this[_0x1ac916(0x1ca)][_0x1ac916(0x170)][_0x1ac916(0x1b3)](_0x1ac916(0x1b1)));}[_0x52911d(0x1f1)](_0x36f374){const _0x4be47e=_0x52911d;this[_0x4be47e(0x1cd)][_0x4be47e(0x1ad)](_0x42e650=>{const _0x2842dc=_0x4be47e;if(_0x2842dc(0x181)in _0x42e650){const _0x503fa7=_0x6ecb3d({'editor':this[_0x2842dc(0x1ca)],'content':_0x42e650[_0x2842dc(0x181)],'buttonDefinition':_0x42e650,'bodyCollection':_0x36f374});this[_0x2842dc(0x1ca)]['ui'][_0x2842dc(0x1af)][_0x2842dc(0x1c5)](_0x42e650['id'],_0x503fa7),_0x42e650[_0x2842dc(0x181)][_0x2842dc(0x1ad)](_0x55bb18=>{const _0x55f49d=_0x2842dc,_0x40f5d7=_0x2e3fd6({'editor':this[_0x55f49d(0x1ca)],'action':_0x55bb18});this[_0x55f49d(0x1ca)]['ui'][_0x55f49d(0x1af)][_0x55f49d(0x1c5)](_0x55bb18['id'],_0x40f5d7);});}else{const _0x2eafe=_0x2e3fd6({'editor':this[_0x2842dc(0x1ca)],'action':_0x42e650,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x2842dc(0x1ca)]['ui'][_0x2842dc(0x1af)][_0x2842dc(0x1c5)](_0x42e650['id'],_0x2eafe);}});}[_0x52911d(0x195)](){const _0x532dc3=_0x52911d;this[_0x532dc3(0x1ca)]['ui'][_0x532dc3(0x1af)][_0x532dc3(0x1c5)](_0x532dc3(0x1b8),_0x567b62=>{const _0x4216fa=_0x532dc3,_0x139f20=new _0x511fe7(_0x567b62),_0x34d26f=_0x5d817b(_0x567b62,_0x4216fa(0x17e));_0x139f20[_0x4216fa(0x19f)][_0x4216fa(0x18a)]({'label':_0x34d26f,'icon':_0x4e9204});const _0x2f3eb8=new _0x53f69b(_0x567b62);_0x2f3eb8[_0x4216fa(0x18a)]({'ariaLabel':_0x34d26f,'role':_0x4216fa(0x1fd)}),this[_0x4216fa(0x1cd)][_0x4216fa(0x1ad)](_0x1f5cf6=>{const _0x4b696c=_0x4216fa;if(_0x4b696c(0x181)in _0x1f5cf6){const _0x28c37b=_0x1f5cf6,_0x4055d1=new _0x22b4ea(_0x567b62,_0x139f20),_0x2dacea=new _0x511fe7(_0x567b62),_0x599f46=new _0x53f69b(_0x567b62);_0x2dacea[_0x4b696c(0x19f)][_0x4b696c(0x18a)]({'label':_0x28c37b[_0x4b696c(0x16a)],'icon':_0x28c37b[_0x4b696c(0x1f8)]}),_0x28c37b[_0x4b696c(0x181)][_0x4b696c(0x1ad)](_0x31449c=>{const _0x512e30=_0x4b696c,_0x36bbea=new _0x22b4ea(_0x567b62,_0x2dacea),_0x317526=new _0x444f19(_0x567b62);_0x317526[_0x512e30(0x18a)]({'label':_0x31449c[_0x512e30(0x1d0)],'icon':_0x31449c[_0x512e30(0x1f8)],'role':_0x512e30(0x18b),'isEnabled':_0x31449c[_0x512e30(0x208)]}),_0x317526['on'](_0x512e30(0x1c4),()=>{const _0x23bf6a=_0x512e30;this[_0x23bf6a(0x169)](_0x31449c);}),_0x317526[_0x512e30(0x201)](_0x512e30(0x1c4))['to'](_0x2dacea),_0x36bbea[_0x512e30(0x1c9)][_0x512e30(0x1c5)](_0x317526),_0x599f46[_0x512e30(0x178)][_0x512e30(0x1c5)](_0x36bbea);}),_0x2dacea[_0x4b696c(0x1be)][_0x4b696c(0x1c9)][_0x4b696c(0x1c5)](_0x599f46),_0x4055d1[_0x4b696c(0x1c9)][_0x4b696c(0x1c5)](_0x2dacea),_0x2f3eb8[_0x4b696c(0x178)][_0x4b696c(0x1c5)](_0x4055d1);}else{const _0x58fb83=_0x1f5cf6,_0x57c9d4=new _0x22b4ea(_0x567b62,_0x139f20),_0x1dfe84=new _0x444f19(_0x567b62);_0x1dfe84[_0x4b696c(0x18a)]({'label':_0x58fb83[_0x4b696c(0x1d0)],'icon':_0x58fb83[_0x4b696c(0x1f8)],'role':_0x4b696c(0x18b),'isEnabled':_0x58fb83[_0x4b696c(0x208)]}),_0x1dfe84['on'](_0x4b696c(0x1c4),()=>{const _0x1fd2f9=_0x4b696c;this[_0x1fd2f9(0x169)](_0x58fb83);}),_0x1dfe84[_0x4b696c(0x201)](_0x4b696c(0x1c4))['to'](_0x139f20),_0x57c9d4[_0x4b696c(0x1c9)][_0x4b696c(0x1c5)](_0x1dfe84),_0x2f3eb8[_0x4b696c(0x178)][_0x4b696c(0x1c5)](_0x57c9d4);}});const _0x39e7d3=Object[_0x4216fa(0x1ef)](AIQuickActionTypeToPluginName)[_0x4216fa(0x1d4)](_0x3628eb=>this[_0x4216fa(0x1ca)][_0x4216fa(0x192)][_0x4216fa(0x18f)](_0x3628eb));return _0x139f20[_0x4216fa(0x18a)]({'isEnabled':_0x39e7d3}),_0x139f20[_0x4216fa(0x1be)][_0x4216fa(0x1c9)][_0x4216fa(0x1c5)](_0x2f3eb8),_0x139f20;});}[_0x52911d(0x169)](_0x258660){const _0x1708be=_0x52911d,_0x48a3a6=this[_0x1708be(0x1ca)];_0x48a3a6[_0x1708be(0x16c)][_0x1708be(0x1d2)][_0x1708be(0x19e)](),_0x48a3a6[_0x1708be(0x182)][_0x1708be(0x1c4)](_0x1708be(0x1b0),_0x258660);const _0xd25146=_0x48a3a6['ui'][_0x1708be(0x1d2)][_0x1708be(0x1f2)];_0xd25146&&_0xd25146[_0x1708be(0x194)]&&_0xd25146[_0x1708be(0x194)]();}}
23
+ const _0xecefba=_0x3c13;(function(_0x286190,_0x1389c9){const _0x4789e3=_0x3c13,_0x4d977b=_0x286190();while(!![]){try{const _0x18f736=parseInt(_0x4789e3(0xe1))/0x1+parseInt(_0x4789e3(0xba))/0x2+-parseInt(_0x4789e3(0x112))/0x3*(parseInt(_0x4789e3(0x99))/0x4)+-parseInt(_0x4789e3(0xa5))/0x5+-parseInt(_0x4789e3(0xc3))/0x6*(parseInt(_0x4789e3(0x101))/0x7)+-parseInt(_0x4789e3(0x95))/0x8*(parseInt(_0x4789e3(0xd6))/0x9)+-parseInt(_0x4789e3(0x104))/0xa*(-parseInt(_0x4789e3(0xd8))/0xb);if(_0x18f736===_0x1389c9)break;else _0x4d977b['push'](_0x4d977b['shift']());}catch(_0x5eec21){_0x4d977b['push'](_0x4d977b['shift']());}}}(_0x284b,0xe26be));import{IconAIAdjustLength as _0x68ccf,IconAIChangeTone as _0x57876d,IconAIChatCommands as _0x1375e4,IconAIContinueWriting as _0x35a675,IconAIGrammarCheck as _0x5afde5,IconAIImproveWriting as _0x223b32,IconAIOther as _0x5a3c6d,IconAIQuickActions as _0x5bca1b,IconAITranslate as _0x523434}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xc6c7d}from'ckeditor5/src/core.js';import{CKEditorError as _0x5effee,logError as _0x4809a2}from'ckeditor5/src/utils.js';import{getTranslation as _0x497050}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x24b69d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2f799d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4f3aa5,BalloonToolbar as _0x18bdd7,MenuBarMenuView as _0xb704cf,MenuBarMenuListView as _0x5ae8ab,MenuBarMenuListItemView as _0x30b9f1,MenuBarMenuListItemButtonView as _0x38ee9f}from'ckeditor5/src/ui.js';function _0x3c13(_0x56db22,_0x37b99d){const _0x284bf6=_0x284b();return _0x3c13=function(_0x3c13b0,_0x3b309b){_0x3c13b0=_0x3c13b0-0x86;let _0x49644d=_0x284bf6[_0x3c13b0];return _0x49644d;},_0x3c13(_0x56db22,_0x37b99d);}import{AIModels as _0x1c6f9d}from'../aicore/model/aimodels.js';import{AIConnector as _0xef3921}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0xecefba(0xf2),ie=_0xecefba(0xac),ne=_0xecefba(0xda);export var AIQuickActionType;!function(_0x159e59){const _0x2bacde=_0xecefba;_0x159e59[_0x2bacde(0x96)]=_0x2bacde(0x96),_0x159e59[_0x2bacde(0xef)]=_0x2bacde(0xef),_0x159e59[_0x2bacde(0x114)]=_0x2bacde(0x114);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x474a59){const _0x2e4ec0=_0xecefba;_0x474a59[_0x2e4ec0(0x96)]=_0x2e4ec0(0x10f),_0x474a59[_0x2e4ec0(0xef)]=_0x2e4ec0(0xe7),_0x474a59[_0x2e4ec0(0x114)]=_0x2e4ec0(0xc5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xc6c7d{static get[_0xecefba(0x9d)](){return[_0x18bdd7,_0xef3921];}static get[_0xecefba(0xdb)](){const _0x41cacb=_0xecefba;return _0x41cacb(0xc6);}static get[_0xecefba(0xf1)](){return!0x0;}static get[_0xecefba(0xb3)](){return!0x0;}async[_0xecefba(0xe4)](){const _0x140806=_0xecefba,_0x4ab27c=await this[_0x140806(0xe3)]();this[_0x140806(0xfc)](_0x4ab27c),this[_0x140806(0xa7)]();}static[_0xecefba(0x10d)](_0x5ab2a1){return function(_0x1c5f7c){const _0x28679f=_0x3c13,_0x349b06=new Intl[(_0x28679f(0xa8))](['en'],{'type':_0x28679f(0xa1)})['of'](_0x1c5f7c[_0x28679f(0x121)]),_0x2b6f6b=_0x349b06||_0x28679f(0xa2),_0x2fa0a5=[{'id':_0x28679f(0xbc),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xd1)),'type':AIQuickActionType[_0x28679f(0x96)],'icon':_0x1375e4},{'id':_0x28679f(0x125),'label':_0x497050(_0x1c5f7c,_0x28679f(0xd7)),'icon':_0x1375e4,'actions':[{'id':_0x28679f(0xe0),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x124)),'prompt':ee[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]},{'id':_0x28679f(0x115),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x126)),'prompt':ie[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]},{'id':_0x28679f(0xcf),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb0)),'prompt':ne[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]}]},{'id':_0x28679f(0xbb),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x97)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x223b32},{'id':_0x28679f(0x117),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x9a)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x35a675},{'id':_0x28679f(0xab),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x120)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x5afde5},{'id':_0x28679f(0x11c),'label':_0x497050(_0x1c5f7c,_0x28679f(0xbe)),'icon':_0x68ccf,'actions':[{'id':_0x28679f(0x119),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb2)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x105),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xdd)),'type':AIQuickActionType[_0x28679f(0xef)]}]},{'id':_0x28679f(0xae),'label':_0x497050(_0x1c5f7c,_0x28679f(0xd3)),'icon':_0x57876d,'actions':[{'id':_0x28679f(0xd2),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x109)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x116),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb7)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x10e),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xa6)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0xcc),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x11f)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x11a),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xed)),'type':AIQuickActionType[_0x28679f(0xef)]}]},{'id':_0x28679f(0xb4),'label':_0x497050(_0x1c5f7c,_0x28679f(0xc0)),'icon':_0x523434,'actions':[{'id':_0x28679f(0xde),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x9f)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x8c)}},{'id':_0x28679f(0xdf),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x102)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xb5)}},{'id':_0x28679f(0x91),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x90)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xfb)}},{'id':_0x28679f(0xff),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xc2)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xf9)}},{'id':_0x28679f(0xe8),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x87)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xe9)}},{'id':_0x28679f(0x94),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xf7)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x8e)}},{'id':_0x28679f(0xea),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x106)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x98)}},{'id':_0x28679f(0x107),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x11d)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x10b)}},{'id':_0x28679f(0x122),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xad)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x103)}},{'id':_0x28679f(0xa0),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xe5)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xee)}}]},{'id':_0x28679f(0xaa),'label':_0x497050(_0x1c5f7c,_0x28679f(0xf3)),'icon':_0x5a3c6d,'actions':[]}];return _0x2fa0a5;}(_0x5ab2a1);}async[_0xecefba(0xe3)](){const _0x22c7cf=_0xecefba,_0x403636=AIQuickActionsUI[_0x22c7cf(0x10d)](this[_0x22c7cf(0xfe)][_0x22c7cf(0xb9)]),_0x1c1178=this[_0x22c7cf(0xfe)][_0x22c7cf(0xfd)][_0x22c7cf(0x8b)](_0x22c7cf(0x9c))||[];let _0x5bf431=[];try{_0x5bf431=await new _0x1c6f9d({'connector':this[_0x22c7cf(0xfe)][_0x22c7cf(0x8a)][_0x22c7cf(0x8b)](_0x22c7cf(0xcd)),'locale':this[_0x22c7cf(0xfe)][_0x22c7cf(0xb9)]})[_0x22c7cf(0x123)]();}catch(_0x57ecd2){const _0x42c00e=new _0x5effee(_0x22c7cf(0xdc),this,{'error':_0x57ecd2});_0x4809a2(_0x42c00e[_0x22c7cf(0xc7)]);}finally{const _0x20f690=_0x1c1178[_0x22c7cf(0xb6)](_0xe43a86=>({..._0xe43a86,'icon':void 0x0}));_0x403636[_0x22c7cf(0xfa)](_0x501028=>_0x22c7cf(0xaa)===_0x501028['id'])[_0x22c7cf(0xca)][_0x22c7cf(0xce)](..._0x20f690),_0x403636[_0x22c7cf(0x127)](_0x5f0ca9=>{const _0x4e0be0=_0x22c7cf;if(_0x4e0be0(0xca)in _0x5f0ca9)_0x5f0ca9[_0x4e0be0(0xca)][_0x4e0be0(0x127)](_0x59ba74=>{const _0x2ae851=_0x4e0be0;if(_0x59ba74[_0x2ae851(0xa9)]=!!_0x5bf431[_0x2ae851(0xfa)](_0x88ba35=>_0x88ba35['id']===_0x59ba74[_0x2ae851(0xd0)])||void 0x0===_0x59ba74[_0x2ae851(0xd0)],!_0x59ba74[_0x2ae851(0xa9)]){const _0x429422=new _0x5effee(_0x2ae851(0x93),this,{'actionId':_0x59ba74['id'],'modelId':_0x59ba74[_0x2ae851(0xd0)]});_0x4809a2(_0x429422[_0x2ae851(0xc7)]);}});else{if(_0x5f0ca9[_0x4e0be0(0xa9)]=!!_0x5bf431[_0x4e0be0(0xfa)](_0x2fef5a=>_0x2fef5a['id']===_0x5f0ca9[_0x4e0be0(0xd0)])||void 0x0===_0x5f0ca9[_0x4e0be0(0xd0)],!_0x5f0ca9[_0x4e0be0(0xa9)]){const _0x502701=new _0x5effee(_0x4e0be0(0x93),this,{'actionId':_0x5f0ca9['id'],'modelId':_0x5f0ca9[_0x4e0be0(0xd0)]});_0x4809a2(_0x502701[_0x4e0be0(0xc7)]);}}});}return _0x403636;}[_0xecefba(0xa7)](){const _0x39be17=_0xecefba,_0x2984c2=new _0x4f3aa5(this[_0x39be17(0xfe)][_0x39be17(0xb9)]);_0x2984c2[_0x39be17(0x11b)](),this[_0x39be17(0xf5)](_0x2984c2),this[_0x39be17(0xc8)](),this[_0x39be17(0xf0)](_0x2984c2);}[_0xecefba(0xf5)](_0x16018c){const _0x4cca6e=_0xecefba,_0x5953df=this[_0x4cca6e(0xfe)][_0x4cca6e(0xfd)][_0x4cca6e(0x8b)](_0x4cca6e(0x100))??!0x0;this[_0x4cca6e(0xfe)]['ui'][_0x4cca6e(0x92)][_0x4cca6e(0xb1)](_0x4cca6e(0x10c),_0x24b69d({'editor':this[_0x4cca6e(0xfe)],'content':this[_0x4cca6e(0x113)],'buttonDefinition':{'icon':_0x5bca1b,'label':_0x497050(this[_0x4cca6e(0xfe)][_0x4cca6e(0xb9)],_0x4cca6e(0x9b))},'bodyCollection':_0x16018c,'hasSearch':_0x5953df}));}[_0xecefba(0xfc)](_0x188114){const _0x1c240c=_0xecefba;this[_0x1c240c(0x113)]=_0x188114[_0x1c240c(0xb6)](_0x3a2858=>{const _0x158df0=_0x1c240c;if(_0x158df0(0xca)in _0x3a2858){const _0x12362a=_0x3a2858;return{..._0x12362a,'actions':_0x12362a[_0x158df0(0xca)][_0x158df0(0xb6)](_0x20c372=>{const {actions:_0x4d346b,..._0x5c3151}=_0x12362a;return{..._0x20c372,'parent':_0x5c3151};})[_0x158df0(0xbd)](_0x1a332e=>this[_0x158df0(0x11e)](_0x1a332e))};}return _0x3a2858;})[_0x1c240c(0xbd)](_0x3cce85=>_0x1c240c(0xca)in _0x3cce85?_0x3cce85[_0x1c240c(0xca)][_0x1c240c(0xb8)]>0x0:this[_0x1c240c(0x11e)](_0x3cce85));}[_0xecefba(0x11e)](_0x3ef928){const _0x148779=_0xecefba,_0x5c5dae=this[_0x148779(0xfe)][_0x148779(0xfd)][_0x148779(0x8b)](_0x148779(0x118))||[];return this[_0x148779(0xfe)][_0x148779(0x8a)][_0x148779(0xd5)](AIQuickActionTypeToPluginName[_0x3ef928[_0x148779(0xaf)]])&&!_0x5c5dae[_0x148779(0x89)](_0x3ef928['id'])&&!(_0x3ef928[_0x148779(0xaf)]===AIQuickActionType[_0x148779(0x96)]&&!0x1===this[_0x148779(0xfe)][_0x148779(0xfd)][_0x148779(0x8b)](_0x148779(0x9e)));}[_0xecefba(0xf0)](_0x26dde9){const _0xc3780=_0xecefba;this[_0xc3780(0x113)][_0xc3780(0x127)](_0x40127b=>{const _0x28613b=_0xc3780;if(_0x28613b(0xca)in _0x40127b){const _0xef4a04=_0x24b69d({'editor':this[_0x28613b(0xfe)],'content':_0x40127b[_0x28613b(0xca)],'buttonDefinition':_0x40127b,'bodyCollection':_0x26dde9});this[_0x28613b(0xfe)]['ui'][_0x28613b(0x92)][_0x28613b(0xb1)](_0x40127b['id'],_0xef4a04),_0x40127b[_0x28613b(0xca)][_0x28613b(0x127)](_0x5be72a=>{const _0x4f003d=_0x28613b,_0x71b46=_0x2f799d({'editor':this[_0x4f003d(0xfe)],'action':_0x5be72a});this[_0x4f003d(0xfe)]['ui'][_0x4f003d(0x92)][_0x4f003d(0xb1)](_0x5be72a['id'],_0x71b46);});}else{const _0x435bd8=_0x2f799d({'editor':this[_0x28613b(0xfe)],'action':_0x40127b,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x28613b(0xfe)]['ui'][_0x28613b(0x92)][_0x28613b(0xb1)](_0x40127b['id'],_0x435bd8);}});}[_0xecefba(0xc8)](){const _0x104e28=_0xecefba;this[_0x104e28(0xfe)]['ui'][_0x104e28(0x92)][_0x104e28(0xb1)](_0x104e28(0xeb),_0x58483d=>{const _0x7c80fc=_0x104e28,_0x2b9139=new _0xb704cf(_0x58483d),_0x3b01a3=_0x497050(_0x58483d,_0x7c80fc(0x9b));_0x2b9139[_0x7c80fc(0x108)][_0x7c80fc(0x10a)]({'label':_0x3b01a3,'icon':_0x5bca1b});const _0x2c15df=new _0x5ae8ab(_0x58483d);_0x2c15df[_0x7c80fc(0x10a)]({'ariaLabel':_0x3b01a3,'role':_0x7c80fc(0x110)}),this[_0x7c80fc(0x113)][_0x7c80fc(0x127)](_0x5a4a3f=>{const _0x3de1f7=_0x7c80fc;if(_0x3de1f7(0xca)in _0x5a4a3f){const _0x18f5c6=_0x5a4a3f,_0x311d07=new _0x30b9f1(_0x58483d,_0x2b9139),_0x1f506a=new _0xb704cf(_0x58483d),_0x50815c=new _0x5ae8ab(_0x58483d);_0x1f506a[_0x3de1f7(0x108)][_0x3de1f7(0x10a)]({'label':_0x18f5c6[_0x3de1f7(0xe6)],'icon':_0x18f5c6[_0x3de1f7(0x88)]}),_0x18f5c6[_0x3de1f7(0xca)][_0x3de1f7(0x127)](_0x5ed170=>{const _0x2f02d1=_0x3de1f7,_0x41869f=new _0x30b9f1(_0x58483d,_0x1f506a),_0x236651=new _0x38ee9f(_0x58483d);_0x236651[_0x2f02d1(0x10a)]({'label':_0x5ed170[_0x2f02d1(0xf4)],'icon':_0x5ed170[_0x2f02d1(0x88)],'role':_0x2f02d1(0xa4),'isEnabled':_0x5ed170[_0x2f02d1(0xa9)]}),_0x236651['on'](_0x2f02d1(0xd4),()=>{const _0x43fced=_0x2f02d1;this[_0x43fced(0xd9)](_0x5ed170);}),_0x236651[_0x2f02d1(0xec)](_0x2f02d1(0xd4))['to'](_0x1f506a),_0x41869f[_0x2f02d1(0xc1)][_0x2f02d1(0xb1)](_0x236651),_0x50815c[_0x2f02d1(0xc4)][_0x2f02d1(0xb1)](_0x41869f);}),_0x1f506a[_0x3de1f7(0xe2)][_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x50815c),_0x311d07[_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x1f506a),_0x2c15df[_0x3de1f7(0xc4)][_0x3de1f7(0xb1)](_0x311d07);}else{const _0x1778ea=_0x5a4a3f,_0x2657f4=new _0x30b9f1(_0x58483d,_0x2b9139),_0x3717ec=new _0x38ee9f(_0x58483d);_0x3717ec[_0x3de1f7(0x10a)]({'label':_0x1778ea[_0x3de1f7(0xf4)],'icon':_0x1778ea[_0x3de1f7(0x88)],'role':_0x3de1f7(0xa4),'isEnabled':_0x1778ea[_0x3de1f7(0xa9)]}),_0x3717ec['on'](_0x3de1f7(0xd4),()=>{const _0x33b83b=_0x3de1f7;this[_0x33b83b(0xd9)](_0x1778ea);}),_0x3717ec[_0x3de1f7(0xec)](_0x3de1f7(0xd4))['to'](_0x2b9139),_0x2657f4[_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x3717ec),_0x2c15df[_0x3de1f7(0xc4)][_0x3de1f7(0xb1)](_0x2657f4);}});const _0x3a666e=Object[_0x7c80fc(0xc9)](AIQuickActionTypeToPluginName)[_0x7c80fc(0xf6)](_0x4a09d2=>this[_0x7c80fc(0xfe)][_0x7c80fc(0x8a)][_0x7c80fc(0xd5)](_0x4a09d2));return _0x2b9139[_0x7c80fc(0x10a)]({'isEnabled':_0x3a666e}),_0x2b9139[_0x7c80fc(0xe2)][_0x7c80fc(0xc1)][_0x7c80fc(0xb1)](_0x2c15df),_0x2b9139;});}[_0xecefba(0xd9)](_0x31dd8a){const _0x458fba=_0xecefba,_0x2a3953=this[_0x458fba(0xfe)];_0x2a3953[_0x458fba(0xbf)][_0x458fba(0x86)][_0x458fba(0x111)](),_0x2a3953[_0x458fba(0xf8)][_0x458fba(0xd4)](_0x458fba(0xa3),_0x31dd8a);const _0x16d449=_0x2a3953['ui'][_0x458fba(0x86)][_0x458fba(0xcb)];_0x16d449&&_0x16d449[_0x458fba(0x8d)]&&_0x16d449[_0x458fba(0x8d)]();}}function _0x284b(){const _0x5a84ae=['chinese','map','AI_QUICK_ACTIONS_MORE_DIRECT','length','locale','1089874PizWNg','improve-writing','ask-ai','filter','AI_QUICK_ACTIONS_ADJUST_LENGTH','editing','AI_QUICK_ACTIONS_TRANSLATE','children','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','679182kzLKEr','items','AIReviewMode','AIQuickActionsUI','message','_initializeQuickActionsMenuBar','values','actions','menuBarView','make-tone-confident','AIConnector','push','highlight-key-points','model','AI_QUICK_ACTIONS_ASK_AI','make-tone-casual','AI_QUICK_ACTIONS_CHANGE_TONE','execute','has','1575jSfojp','AI_QUICK_ACTIONS_CHAT_COMMANDS','3014bOoyMc','_executeQuickAction','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','pluginName','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-english','translate-to-chinese','explain','315945AwoOOf','panelView','_getDefaultAndCustomActions','init','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','label','AIActions','translate-to-french','french','translate-to-portuguese','menuBar:aiQuickActions','delegate','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','russian','ACTION','_initializeQuickActionsComponents','isOfficialPlugin','<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>','AI_QUICK_ACTIONS_OTHER','displayedPrompt','_initializeQuickActionsDropdown','some','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','commands','german','find','spanish','_prepareQuickActionsDefinition','config','editor','translate-to-german','ai.quickActions.isSearchEnabled','49sdIMId','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','italian','88670AhwtSe','make-longer','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-korean','buttonView','AI_QUICK_ACTIONS_MORE_CASUAL','set','korean','aiQuickActions','getDefaultQuickActions','make-tone-friendly','AIChat','menu','focus','3ETBSCs','_quickActionsDefinition','REVIEW','summarize','make-tone-direct','continue','ai.quickActions.removeCommands','make-shorter','make-tone-professional','attachToDom','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','uiLanguage','translate-to-italian','getAll','AI_QUICK_ACTIONS_EXPLAIN','chat-commands','AI_QUICK_ACTIONS_SUMMARIZE','forEach','view','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','icon','includes','plugins','get','english','close','japanese','replace','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-spanish','componentFactory','ai-quick-actions-unavailable-model','translate-to-japanese','32024HjcJGy','CHAT','AI_QUICK_ACTIONS_IMPROVE_WRITING','portuguese','1451896gxiign','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_HEADING','ai.quickActions.extraCommands','requires','ai.chat.context.document.enabled','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-russian','language','English','aiQuickAction','menuitem','2535700KzuodG','AI_QUICK_ACTIONS_MORE_FRIENDLY','_initializeQuickActionsComponentsAndCommands','DisplayNames','isEnabled','other','fix-grammar','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','change-tone','type','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','add','AI_QUICK_ACTIONS_MAKE_SHORTER','isPremiumPlugin','translate'];_0x284b=function(){return _0x5a84ae;};return _0x284b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4243(_0x1fa484,_0x5cfcfc){const _0x31269f=_0x3126();return _0x4243=function(_0x42436b,_0x321c92){_0x42436b=_0x42436b-0x1ee;let _0x81f952=_0x31269f[_0x42436b];return _0x81f952;},_0x4243(_0x1fa484,_0x5cfcfc);}(function(_0x583ea1,_0x5802d3){const _0x41a563=_0x4243,_0x37e43e=_0x583ea1();while(!![]){try{const _0x428378=-parseInt(_0x41a563(0x1fc))/0x1+parseInt(_0x41a563(0x1f3))/0x2+-parseInt(_0x41a563(0x201))/0x3+parseInt(_0x41a563(0x1fa))/0x4+-parseInt(_0x41a563(0x202))/0x5*(-parseInt(_0x41a563(0x1f6))/0x6)+parseInt(_0x41a563(0x1f7))/0x7+parseInt(_0x41a563(0x1f1))/0x8;if(_0x428378===_0x5802d3)break;else _0x37e43e['push'](_0x37e43e['shift']());}catch(_0x2bbbcb){_0x37e43e['push'](_0x37e43e['shift']());}}}(_0x3126,0xc6f73));function _0x3126(){const _0x4ed36c=['extendTemplate','menuitem','3542112HVtukZ','set','789172puccMJ','execute','parent','1301232ytcFmK','1773877CttcKh','focus','aiQuickAction','6235852FaMQzP','displayedPrompt','1386310qlGPuS','locale','icon','isEnabled','commands','4598433BOvliM','25jRpqwN','view','editing','ck-ai-quick-actions-button','bindTemplate'];_0x3126=function(){return _0x4ed36c;};return _0x3126();}import{ButtonView as _0x6e2ec7}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x36366c}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x41acf6){const {editor:_0x49de4e,action:_0x45f401,withText:_0x471940=!0x1,withIcon:_0x49d581=!0x0,isInDropdown:_0x3fe1e0=!0x0,shouldPreventFocus:_0x2d81a7=!0x1}=_0x41acf6;return()=>{const _0x1aac3e=_0x4243,_0x232eab=_0x49de4e[_0x1aac3e(0x1fd)],_0x328d0a=new _0x6e2ec7(_0x232eab),_0x10205b=_0x328d0a[_0x1aac3e(0x1ee)];_0x3fe1e0&&_0x328d0a[_0x1aac3e(0x1ef)]({'on':{'mouseenter':_0x10205b['to'](()=>{const _0x4e0c4f=_0x1aac3e;_0x2d81a7&&_0x2d81a7()||_0x328d0a[_0x4e0c4f(0x1f8)]();})}});const _0x18899a=_0x45f401[_0x1aac3e(0x1fe)]??_0x45f401[_0x1aac3e(0x1f5)]?.[_0x1aac3e(0x1fe)];return _0x328d0a[_0x1aac3e(0x1f2)]({'label':_0x45f401[_0x1aac3e(0x1fb)],'withText':_0x471940,'role':_0x1aac3e(0x1f0),'icon':_0x49d581?_0x18899a??_0x36366c:void 0x0,'tooltip':!_0x471940,'class':_0x1aac3e(0x205),'isEnabled':_0x45f401[_0x1aac3e(0x1ff)]}),_0x328d0a['on'](_0x1aac3e(0x1f4),()=>{const _0x62f352=_0x1aac3e;_0x49de4e[_0x62f352(0x204)][_0x62f352(0x203)][_0x62f352(0x1f8)](),_0x49de4e[_0x62f352(0x200)][_0x62f352(0x1f4)](_0x62f352(0x1f9),_0x45f401);}),_0x328d0a;};}
23
+ (function(_0x544baa,_0x2d1ada){const _0x403663=_0xb89f,_0x28ef2d=_0x544baa();while(!![]){try{const _0x502aaf=-parseInt(_0x403663(0x1bd))/0x1+parseInt(_0x403663(0x1c5))/0x2*(parseInt(_0x403663(0x1bc))/0x3)+parseInt(_0x403663(0x1c3))/0x4*(-parseInt(_0x403663(0x1be))/0x5)+-parseInt(_0x403663(0x1c9))/0x6*(-parseInt(_0x403663(0x1c8))/0x7)+parseInt(_0x403663(0x1c0))/0x8+parseInt(_0x403663(0x1d3))/0x9+parseInt(_0x403663(0x1d2))/0xa;if(_0x502aaf===_0x2d1ada)break;else _0x28ef2d['push'](_0x28ef2d['shift']());}catch(_0x46e554){_0x28ef2d['push'](_0x28ef2d['shift']());}}}(_0x2431,0x8ff2e));function _0x2431(){const _0x20f661=['commands','focus','bindTemplate','menuitem','5994120BLHRLk','1482705MyOSjW','view','icon','28959mleQoz','1049153XaIFFg','7765QYTEZC','isEnabled','6231976qAwtXM','editing','ck-ai-quick-actions-button','1460WeqoQW','aiQuickAction','2lhMkZf','locale','set','35ROkWnf','783366RoRIOg','displayedPrompt','extendTemplate','execute','parent'];_0x2431=function(){return _0x20f661;};return _0x2431();}import{ButtonView as _0x3765c6}from'ckeditor5/src/ui.js';function _0xb89f(_0x3f5c85,_0x3df3c5){const _0x2431de=_0x2431();return _0xb89f=function(_0xb89f43,_0x1ecef0){_0xb89f43=_0xb89f43-0x1ba;let _0x3064ca=_0x2431de[_0xb89f43];return _0x3064ca;},_0xb89f(_0x3f5c85,_0x3df3c5);}import{IconAIQuickActions as _0x32ad2b}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x587d18){const {editor:_0xf3f86b,action:_0x2f55ed,withText:_0xfc8b6f=!0x1,withIcon:_0x2fc1a8=!0x0,isInDropdown:_0xc8bf60=!0x0,shouldPreventFocus:_0x11b743=!0x1}=_0x587d18;return()=>{const _0x53ba78=_0xb89f,_0x5c99f1=_0xf3f86b[_0x53ba78(0x1c6)],_0x299031=new _0x3765c6(_0x5c99f1),_0x40a117=_0x299031[_0x53ba78(0x1d0)];_0xc8bf60&&_0x299031[_0x53ba78(0x1cb)]({'on':{'mouseenter':_0x40a117['to'](()=>{const _0x38e000=_0x53ba78;_0x11b743&&_0x11b743()||_0x299031[_0x38e000(0x1cf)]();})}});const _0x365a03=_0x2f55ed[_0x53ba78(0x1bb)]??_0x2f55ed[_0x53ba78(0x1cd)]?.[_0x53ba78(0x1bb)];return _0x299031[_0x53ba78(0x1c7)]({'label':_0x2f55ed[_0x53ba78(0x1ca)],'withText':_0xfc8b6f,'role':_0x53ba78(0x1d1),'icon':_0x2fc1a8?_0x365a03??_0x32ad2b:void 0x0,'tooltip':!_0xfc8b6f,'class':_0x53ba78(0x1c2),'isEnabled':_0x2f55ed[_0x53ba78(0x1bf)]}),_0x299031['on'](_0x53ba78(0x1cc),()=>{const _0x1b37e9=_0x53ba78;_0xf3f86b[_0x1b37e9(0x1c1)][_0x1b37e9(0x1ba)][_0x1b37e9(0x1cf)](),_0xf3f86b[_0x1b37e9(0x1ce)][_0x1b37e9(0x1cc)](_0x1b37e9(0x1c4),_0x2f55ed);}),_0x299031;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x121528=_0x2a17;(function(_0x3e1d1d,_0x24d88a){const _0x174323=_0x2a17,_0x4ba079=_0x3e1d1d();while(!![]){try{const _0x46b5a2=-parseInt(_0x174323(0x148))/0x1+-parseInt(_0x174323(0x11b))/0x2+-parseInt(_0x174323(0xfd))/0x3*(parseInt(_0x174323(0x10e))/0x4)+parseInt(_0x174323(0x134))/0x5+-parseInt(_0x174323(0xf9))/0x6+-parseInt(_0x174323(0x14a))/0x7+parseInt(_0x174323(0x11a))/0x8;if(_0x46b5a2===_0x24d88a)break;else _0x4ba079['push'](_0x4ba079['shift']());}catch(_0x12cbe7){_0x4ba079['push'](_0x4ba079['shift']());}}}(_0x5f20,0x8bd31));import{View as _0x42f563,ListItemView as _0x483e42,ListView as _0x1cfcfb,BalloonPanelView as _0x8598b0,DropdownMenuPanelPositioningFunctions as _0x49e080,ViewCollection as _0x2782be,FocusCycler as _0x51b749,ButtonView as _0x4630d3,IconView as _0x461e05,HighlightedTextView as _0x4d4344,ButtonLabelWithHighlightView as _0x4d4c15,SearchTextView as _0x1f4856}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4306c3}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x11539e,KeystrokeHandler as _0x41dc0a}from'ckeditor5/src/utils.js';function _0x2a17(_0x43f436,_0x1b05b9){const _0x5f206b=_0x5f20();return _0x2a17=function(_0x2a17ba,_0x83b2d6){_0x2a17ba=_0x2a17ba-0xc5;let _0x178d83=_0x5f206b[_0x2a17ba];return _0x178d83;},_0x2a17(_0x43f436,_0x1b05b9);}import{aiQuickActionsButtonCreator as _0x1e0bed}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x566485}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x3dfc11}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x16f112}from'./aiquickactionsfilteredlistview.js';function _0x5f20(){const _0x237bd5=['AI_QUICK_ACTIONS_SEARCH','relatedTarget','isEnabled','ck-dropdown-menu-list','addMany','children','_hasSearch','forEach','ck-ai-quick-actions-group-panel','element','_createSearchTextView','ck-rounded-corners','closest','_createSearchResultActionButton','fire','parent','render','focusCycler','addEventListener','execute','_isSearchFocused','extendTemplate','1072360nDjSTQ','bindTemplate','ck-ai-quick-actions-button_with-group__open-paren','reset','_createActionGroupButton','ck-ai-quick-actions-group-list','_createSearchResultContentView','_createSearchResultIndividualActionButton','_searchTextView','ArrowRight','_hideAllNestedPanels','items','ArrowLeft','optionsListView','pin','focusTracker','.ck-ai-quick-actions-group-button','locale','content','aiQuickAction','782479ubNtui','ck-ai-quick-actions','3412423BhRBdJ','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','clear','_createActionButton','setTemplate','label','first','ck-ai-quick-actions-button','chain','ck-ai-quick-actions-search-result-button_with-group','span','ck-ai-quick-actions-search-result-button','_focusables','_setupGroupMenuBehavior','displayedPrompt','isOn','_handleSearchResultButtonClick','mouseleave','ck-ai-quick-actions-search-result__group-row','_setupActionButtonExecution','_isMovingToNestedMenu','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','role','some','_showNestedPanel','commands','div','menu','actions','icon','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','rtl','ck-ai-quick-actions-button_with-group','_allSearchableItems','delete','ck-dropdown-menu__nested-menu__panel','_hideNestedPanel','detachFromDom','queryView','button','_createListItems','ck-ai-quick-actions-search','activeElement','.ck-ai-quick-actions-group-list','get','.ck-ai-quick-actions-group-panel','_createSearchResultActionRow','fieldView','focus','_handlePanelKeydown','view','set','3713904OQWjOq','ck-ai-quick-actions-button__group-icon','contains','add','181878zujkEJ','ck-reset_all','ck-button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','_createGroupActionsList','push','editing','ck-button_with-text','ownerDocument','bind','text','_getButtonKeystroke','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','show','key','ck-ai-quick-actions-search-result__action-row','destroy','56MtAKjG','ck-ai-quick-actions-button_with-group__close-paren','_createSearchResultGroupRow','_openNestedPanels','isVisible','menuitem','uiLanguageDirection','_getPanelKeystroke','eastSouth','hide','resetSearch','keystrokes','33451016oakRAJ','2170824tUsYCe','_bodyCollection','_createSearchResultGroupedActionButton'];_0x5f20=function(){return _0x237bd5;};return _0x5f20();}const Os=_0x121528(0xe0),Hs=_0x121528(0x113);export class AIQuickActionsDropdownContentView extends _0x42f563{[_0x121528(0x11c)];[_0x121528(0x141)];[_0x121528(0x13c)]=null;[_0x121528(0xe6)]=[];[_0x121528(0x123)];[_0x121528(0x143)];[_0x121528(0x119)];[_0x121528(0xd1)];[_0x121528(0x12f)];[_0x121528(0x111)]=new Set();[_0x121528(0x124)];constructor(_0x5a064e,_0x2304c8,_0x5205d0,_0x24c631,_0x4f01f6=!0x1){const _0x50533f=_0x121528,_0x1d5ed0=_0x5a064e[_0x50533f(0x145)];super(_0x1d5ed0),this[_0x50533f(0x11c)]=_0x24c631,this[_0x50533f(0x124)]=_0x4f01f6;const _0x59b299=this[_0x50533f(0xed)](_0x5a064e,_0x2304c8,_0x5205d0);this[_0x50533f(0x141)]=new _0x16f112(_0x1d5ed0,_0x59b299,this[_0x50533f(0xe6)]),this[_0x50533f(0x141)][_0x50533f(0xdb)]=Os,this[_0x50533f(0x141)][_0x50533f(0x13f)][_0x50533f(0x122)](_0x59b299),this[_0x50533f(0x143)]=new _0x11539e(),this[_0x50533f(0x119)]=new _0x41dc0a(),_0x4f01f6&&(this[_0x50533f(0x13c)]=this[_0x50533f(0x128)]()),this[_0x50533f(0xd1)]=_0x59b299,this[_0x50533f(0x12f)]=new _0x51b749({'focusables':this[_0x50533f(0xd1)],'focusTracker':this[_0x50533f(0x143)],'keystrokeHandler':this[_0x50533f(0x119)]}),_0x4f01f6&&this[_0x50533f(0x13c)]&&this[_0x50533f(0x12f)][_0x50533f(0xcd)](this[_0x50533f(0x13c)][_0x50533f(0x12f)]);const _0x5d0e2a=_0x4f01f6&&this[_0x50533f(0x13c)]?[this[_0x50533f(0x13c)]]:[this[_0x50533f(0x141)]];this[_0x50533f(0x123)]=new _0x2782be(_0x5d0e2a),this[_0x50533f(0xc9)]({'tag':_0x50533f(0xdf),'attributes':{'class':['ck',_0x50533f(0xfe),_0x50533f(0x149),_0x50533f(0x129)],'dir':_0x1d5ed0[_0x50533f(0x114)]},'children':this[_0x50533f(0x123)]});}[_0x121528(0x128)](){const _0x47b453=_0x121528;return new _0x1f4856(this[_0x47b453(0x145)],{'filteredView':this[_0x47b453(0x141)],'queryView':{'label':_0x3dfc11(this[_0x47b453(0x145)],_0x47b453(0x11e))},'class':_0x47b453(0xee),'infoView':{'text':{'notFound':{'primary':_0x3dfc11(this[_0x47b453(0x145)],_0x47b453(0xe3))}}}});}[_0x121528(0x132)](){const _0x198a2f=_0x121528;if(!this[_0x198a2f(0x124)]||!this[_0x198a2f(0x13c)]||!this[_0x198a2f(0x13c)][_0x198a2f(0xeb)][_0x198a2f(0xf4)][_0x198a2f(0x127)])return!0x1;const _0x36eb2b=this[_0x198a2f(0x13c)][_0x198a2f(0xeb)][_0x198a2f(0xf4)][_0x198a2f(0x127)][_0x198a2f(0x105)]?.[_0x198a2f(0xef)];return this[_0x198a2f(0x13c)][_0x198a2f(0xeb)][_0x198a2f(0xf4)][_0x198a2f(0x127)][_0x198a2f(0xfb)](_0x36eb2b);}[_0x121528(0xed)](_0x918847,_0x142b09,_0x54c12f){const _0x347978=_0x121528,_0x4f1ed7=new _0x2782be();return _0x142b09[_0x347978(0x125)](_0x335225=>{const _0xb104ed=_0x347978;if(_0xb104ed(0xe1)in _0x335225){const {listItem:_0x566a4b}=this[_0xb104ed(0x138)](_0x918847,_0x335225,_0x54c12f);_0x4f1ed7[_0xb104ed(0xfc)](_0x566a4b),_0x335225[_0xb104ed(0xe1)][_0xb104ed(0x125)](_0x58ba45=>{const _0x5ed5d6=_0xb104ed;this[_0x5ed5d6(0xc8)](_0x918847,_0x58ba45,_0x335225[_0x5ed5d6(0xca)],_0x335225[_0x5ed5d6(0xe2)]);const {listItem:_0x215e7f,highlightViews:_0xa7b9e2}=this[_0x5ed5d6(0x12b)](_0x918847,_0x58ba45,_0x335225[_0x5ed5d6(0xca)],_0x335225[_0x5ed5d6(0xe2)]);this[_0x5ed5d6(0xe6)][_0x5ed5d6(0x102)]({'item':_0x215e7f,'label':_0x58ba45[_0x5ed5d6(0xd3)],'groupLabel':_0x335225[_0x5ed5d6(0xca)],'highlightViews':_0xa7b9e2});});}else{const {listItem:_0x2039a1}=this[_0xb104ed(0xc8)](_0x918847,_0x335225);_0x4f1ed7[_0xb104ed(0xfc)](_0x2039a1);const _0x611b62=_0x2039a1[_0xb104ed(0x123)][_0xb104ed(0xcb)];if(_0x611b62){const {listItem:_0x34ce3c,highlightViews:_0x52164c}=this[_0xb104ed(0x12b)](_0x918847,_0x335225);this[_0xb104ed(0xe6)][_0xb104ed(0x102)]({'item':_0x34ce3c,'label':_0x611b62[_0xb104ed(0xca)]||'','highlightViews':_0x52164c});}}}),_0x4f1ed7;}[_0x121528(0xc8)](_0x17aa6f,_0x457075,_0x378f1a,_0x6d8fe2){const _0x532d86=_0x121528,_0x2e0510=new _0x483e42(this[_0x532d86(0x145)]);if(_0x378f1a&&_0x6d8fe2){const _0x5716dd=new _0x4630d3(this[_0x532d86(0x145)]),_0x9e97ff=_0x5716dd[_0x532d86(0x135)],_0xc49c91=new _0x4d4344();_0xc49c91[_0x532d86(0x107)]=_0x457075[_0x532d86(0xd3)];const _0x3d331e=new _0x4d4344();_0x3d331e[_0x532d86(0x107)]=_0x378f1a;const _0x494d79=new _0x461e05();_0x494d79[_0x532d86(0x146)]=_0x6d8fe2,_0x494d79[_0x532d86(0x133)]({'attributes':{'class':_0x532d86(0xfa)}});const _0x40177b=new _0x42f563(this[_0x532d86(0x145)]);_0x40177b[_0x532d86(0xc9)]({'tag':_0x532d86(0xcf),'attributes':{'class':_0x532d86(0x136)},'children':[{'text':'\x20('}]});const _0x4f308d=new _0x42f563(this[_0x532d86(0x145)]);return _0x4f308d[_0x532d86(0xc9)]({'tag':_0x532d86(0xcf),'attributes':{'class':_0x532d86(0x10f)},'children':[{'text':')'}]}),_0x5716dd[_0x532d86(0xf8)]({'label':_0x457075[_0x532d86(0xd3)]+'\x20('+_0x378f1a+')','withText':!0x0,'role':_0x532d86(0x113),'class':_0x532d86(0xda),'tooltip':!0x1}),_0x5716dd[_0x532d86(0xc9)]({'tag':_0x532d86(0xec),'attributes':{'class':['ck',_0x532d86(0xff),_0x532d86(0x104),_0x532d86(0xcc),_0x532d86(0xe5)],'type':_0x532d86(0xec),'role':_0x532d86(0x113),'tabindex':'-1'},'children':[_0xc49c91,_0x40177b,_0x494d79,_0x3d331e,_0x4f308d],'on':{'mouseenter':_0x9e97ff['to'](()=>{const _0x22fe70=_0x532d86;this[_0x22fe70(0x132)]()||_0x5716dd[_0x22fe70(0xf5)]();}),'click':_0x9e97ff['to'](()=>{const _0x1ce029=_0x532d86;_0x5716dd[_0x1ce029(0x12c)](_0x1ce029(0x131));})}}),_0x5716dd['on'](_0x532d86(0x131),()=>{const _0xa99359=_0x532d86;_0x17aa6f[_0xa99359(0x103)][_0xa99359(0xf7)][_0xa99359(0xf5)](),_0x17aa6f[_0xa99359(0xde)][_0xa99359(0x131)](_0xa99359(0x147),_0x457075);}),_0x2e0510[_0x532d86(0x123)][_0x532d86(0xfc)](_0x5716dd),{'listItem':_0x2e0510,'highlightViews':[_0xc49c91,_0x3d331e]};}{const _0x1e0d9c=new _0x4d4c15(),_0x30eed8=new _0x4630d3(this[_0x532d86(0x145)],_0x1e0d9c),_0x4845a9=_0x30eed8[_0x532d86(0x135)],_0x224886=_0x457075[_0x532d86(0xe2)]??_0x457075[_0x532d86(0x12d)]?.[_0x532d86(0xe2)],_0x3a86a1=void 0x0!==_0x457075[_0x532d86(0xe2)];return _0x30eed8[_0x532d86(0xf8)]({'label':_0x457075[_0x532d86(0xd3)],'withText':!0x0,'role':_0x532d86(0x113),'icon':_0x3a86a1?_0x224886??_0x4306c3:void 0x0,'tooltip':!0x1,'class':_0x532d86(0xcc)}),_0x30eed8[_0x532d86(0x133)]({'on':{'mouseenter':_0x4845a9['to'](()=>{const _0x1f0a05=_0x532d86;this[_0x1f0a05(0x132)]()||_0x30eed8[_0x1f0a05(0xf5)]();})}}),_0x30eed8['on'](_0x532d86(0x131),()=>{const _0xc01608=_0x532d86;_0x17aa6f[_0xc01608(0x103)][_0xc01608(0xf7)][_0xc01608(0xf5)](),_0x17aa6f[_0xc01608(0xde)][_0xc01608(0x131)](_0xc01608(0x147),_0x457075);}),_0x2e0510[_0x532d86(0x123)][_0x532d86(0xfc)](_0x30eed8),{'listItem':_0x2e0510,'highlightViews':[_0x1e0d9c]};}}[_0x121528(0x12b)](_0x1e7330,_0x4927ea,_0x2a5734,_0xd85644){const _0x4fc874=_0x121528;return _0x2a5734&&_0xd85644?this[_0x4fc874(0x11d)](_0x1e7330,_0x4927ea,_0x2a5734,_0xd85644):this[_0x4fc874(0x13b)](_0x1e7330,_0x4927ea);}[_0x121528(0x11d)](_0x9e701,_0x54c3e0,_0x2aefa8,_0x4897d6){const _0xfeff0f=_0x121528,_0x4d4b7e=new _0x483e42(this[_0xfeff0f(0x145)]),_0x58f9b9=new _0x4630d3(this[_0xfeff0f(0x145)]),_0x452afd=_0x58f9b9[_0xfeff0f(0x135)],{view:_0x321132,highlightView:_0x26e158}=this[_0xfeff0f(0x110)](_0x2aefa8,_0x4897d6),{view:_0xd27515,highlightView:_0x25a54a}=this[_0xfeff0f(0xf3)](_0x54c3e0[_0xfeff0f(0xd3)]),_0xb3f75e=this[_0xfeff0f(0x13a)](_0x321132,_0xd27515);return _0x58f9b9[_0xfeff0f(0xf8)]({'label':_0x54c3e0[_0xfeff0f(0xd3)],'withText':!0x0,'role':_0xfeff0f(0x113),'class':_0xfeff0f(0x100),'tooltip':!0x1}),_0x58f9b9[_0xfeff0f(0xc9)]({'tag':_0xfeff0f(0xec),'attributes':{'class':['ck',_0xfeff0f(0xff),_0xfeff0f(0x104),_0xfeff0f(0xcc),_0xfeff0f(0xd0),_0xfeff0f(0xce)],'type':_0xfeff0f(0xec),'role':_0xfeff0f(0x113),'tabindex':'-1'},'children':[_0xb3f75e],'on':{'mouseenter':_0x452afd['to'](()=>{const _0x25f599=_0xfeff0f;this[_0x25f599(0x132)]()||_0x58f9b9[_0x25f599(0xf5)]();}),'click':_0x452afd['to'](()=>{const _0x2d0362=_0xfeff0f;this[_0x2d0362(0xd5)](_0x58f9b9);})}}),this[_0xfeff0f(0xd8)](_0x58f9b9,_0x9e701,_0x54c3e0),_0x4d4b7e[_0xfeff0f(0x123)][_0xfeff0f(0xfc)](_0x58f9b9),{'listItem':_0x4d4b7e,'highlightViews':[_0x26e158,_0x25a54a]};}[_0x121528(0x13b)](_0x446be6,_0x55b0a3){const _0x94832e=_0x121528,_0x17b09b=new _0x483e42(this[_0x94832e(0x145)]),_0x3457c8=new _0x4d4c15(),_0x4f8be5=new _0x4630d3(this[_0x94832e(0x145)],_0x3457c8),_0x49be34=_0x4f8be5[_0x94832e(0x135)];return _0x4f8be5[_0x94832e(0xf8)]({'label':_0x55b0a3[_0x94832e(0xd3)],'withText':!0x0,'role':_0x94832e(0x113),'icon':void 0x0,'tooltip':!0x1,'class':_0x94832e(0x109)}),_0x4f8be5[_0x94832e(0x133)]({'on':{'mouseenter':_0x49be34['to'](()=>{const _0x41cbeb=_0x94832e;this[_0x41cbeb(0x132)]()||_0x4f8be5[_0x41cbeb(0xf5)]();})}}),this[_0x94832e(0xd8)](_0x4f8be5,_0x446be6,_0x55b0a3),_0x17b09b[_0x94832e(0x123)][_0x94832e(0xfc)](_0x4f8be5),{'listItem':_0x17b09b,'highlightViews':[_0x3457c8]};}[_0x121528(0x110)](_0x1dca4f,_0x1027d1){const _0x10ad77=_0x121528,_0x12bcab=new _0x42f563(this[_0x10ad77(0x145)]),_0x46a97a=new _0x461e05();_0x46a97a[_0x10ad77(0x146)]=_0x1027d1,_0x46a97a[_0x10ad77(0x133)]({'attributes':{'class':_0x10ad77(0xfa)}});const _0x44587a=new _0x4d4344();return _0x44587a[_0x10ad77(0x107)]=_0x1dca4f,_0x12bcab[_0x10ad77(0xc9)]({'tag':_0x10ad77(0xdf),'attributes':{'class':_0x10ad77(0xd7)},'children':[_0x46a97a,_0x44587a]}),{'view':_0x12bcab,'highlightView':_0x44587a};}[_0x121528(0xf3)](_0x3c4682){const _0x152eba=_0x121528,_0x595d3d=new _0x42f563(this[_0x152eba(0x145)]),_0x284aca=new _0x4d4344();return _0x284aca[_0x152eba(0x107)]=_0x3c4682,_0x595d3d[_0x152eba(0xc9)]({'tag':_0x152eba(0xdf),'attributes':{'class':_0x152eba(0x10c)},'children':[_0x284aca]}),{'view':_0x595d3d,'highlightView':_0x284aca};}[_0x121528(0x13a)](_0x1410e4,_0x1732bc){const _0x320ba7=_0x121528,_0x1e0473=new _0x42f563(this[_0x320ba7(0x145)]);return _0x1e0473[_0x320ba7(0xc9)]({'tag':_0x320ba7(0xdf),'attributes':{'class':_0x320ba7(0xc6)},'children':[_0x1410e4,_0x1732bc]}),_0x1e0473;}[_0x121528(0xd8)](_0x340086,_0x636b9f,_0x5d27ad){const _0x380b20=_0x121528;_0x340086['on'](_0x380b20(0x131),()=>{const _0x19d41b=_0x380b20;_0x636b9f[_0x19d41b(0x103)][_0x19d41b(0xf7)][_0x19d41b(0xf5)](),_0x636b9f[_0x19d41b(0xde)][_0x19d41b(0x131)](_0x19d41b(0x147),_0x5d27ad);});}[_0x121528(0x138)](_0x5ea67b,_0x46b982,_0x2f396e){const _0x55fd6b=_0x121528,_0x19a60f=new _0x483e42(this[_0x55fd6b(0x145)]),_0x61cde4=new _0x4d4c15(),_0x30192b=new _0x566485(this[_0x55fd6b(0x145)],_0x61cde4),_0x12bb52=_0x30192b[_0x55fd6b(0x135)],_0x47c4d0=this[_0x55fd6b(0x115)](_0x2f396e),_0x1081e2=this[_0x55fd6b(0x101)](_0x5ea67b,_0x46b982[_0x55fd6b(0xe1)],_0x2f396e);_0x30192b[_0x55fd6b(0xf8)]({'label':_0x46b982[_0x55fd6b(0xca)],'withText':!0x0,'role':Hs,'icon':_0x46b982[_0x55fd6b(0xe2)]??_0x4306c3,'isEnabled':_0x46b982[_0x55fd6b(0xe1)][_0x55fd6b(0xdc)](_0x16948d=>_0x16948d[_0x55fd6b(0x120)])}),_0x30192b[_0x55fd6b(0x133)]({'on':{'mouseenter':_0x12bb52['to'](()=>{const _0x3ce9d2=_0x55fd6b;this[_0x3ce9d2(0x132)]()||_0x30192b[_0x3ce9d2(0xf5)]();})}});const _0x29c9f8=new _0x8598b0(this[_0x55fd6b(0x145)]);return _0x29c9f8[_0x55fd6b(0x133)]({'attributes':{'class':['ck',_0x55fd6b(0xfe),_0x55fd6b(0x126),_0x55fd6b(0xe8)]},'on':{'keydown':_0x12bb52['to'](_0x1ed471=>{const _0x138655=_0x55fd6b;this[_0x138655(0xf6)](_0x1ed471,_0x47c4d0,_0x30192b,_0x29c9f8);})}}),_0x30192b[_0x55fd6b(0x106)](_0x55fd6b(0xd4))['to'](_0x29c9f8,_0x55fd6b(0x112)),this[_0x55fd6b(0x11c)][_0x55fd6b(0xfc)](_0x29c9f8),_0x29c9f8[_0x55fd6b(0x146)][_0x55fd6b(0xfc)](_0x1081e2),this[_0x55fd6b(0xd2)](_0x30192b,_0x29c9f8),_0x19a60f[_0x55fd6b(0x123)][_0x55fd6b(0xfc)](_0x30192b),{'listItem':_0x19a60f,'highlightView':_0x61cde4};}[_0x121528(0x101)](_0x15f9ab,_0x5c872e,_0x431f42){const _0x5f0b8=_0x121528,_0x503608=new _0x1cfcfb(this[_0x5f0b8(0x145)]);return _0x503608[_0x5f0b8(0x133)]({'attributes':{'class':['ck',_0x5f0b8(0xfe),_0x5f0b8(0x139),_0x5f0b8(0x121)]}}),_0x5c872e[_0x5f0b8(0x125)](_0x5cbccf=>{const _0x48fdc8=_0x5f0b8,_0x255e2a=new _0x483e42(this[_0x48fdc8(0x145)]),_0x2c3f9b=_0x1e0bed({'editor':_0x15f9ab,'action':_0x5cbccf,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x48fdc8(0x132)]()})();_0x255e2a[_0x48fdc8(0x123)][_0x48fdc8(0xfc)](_0x2c3f9b),_0x431f42[_0x48fdc8(0x143)][_0x48fdc8(0xfc)](_0x2c3f9b),_0x503608[_0x48fdc8(0x13f)][_0x48fdc8(0xfc)](_0x255e2a);}),_0x503608;}[_0x121528(0xd2)](_0x137e24,_0x39b149){const _0x50a12b=_0x121528,_0x27f793=_0x137e24[_0x50a12b(0x135)],_0x51061b=this[_0x50a12b(0x108)](_0x137e24);_0x137e24[_0x50a12b(0x133)]({'attributes':{'class':[_0x50a12b(0xc5)]},'on':{'mouseenter':_0x27f793['to'](()=>{const _0x351d25=_0x50a12b;this[_0x351d25(0xdd)](_0x39b149,_0x137e24);}),'mouseleave':_0x27f793['to'](_0x1a157a=>{const _0x50fe2e=_0x50a12b,_0x2b807c=_0x1a157a[_0x50fe2e(0x11f)];this[_0x50fe2e(0xd9)](_0x2b807c,_0x39b149)||this[_0x50fe2e(0xe9)](_0x39b149);}),'keydown':_0x27f793['to'](_0x52a9e7=>{const _0x770529=_0x50a12b;_0x52a9e7[_0x770529(0x10b)]==_0x51061b&&(this[_0x770529(0xdd)](_0x39b149,_0x137e24),_0x39b149[_0x770529(0x146)][_0x770529(0xf1)](0x0)[_0x770529(0xf5)]());})}}),_0x39b149['on'](_0x50a12b(0x12e),()=>{const _0x22d3c5=_0x50a12b;_0x39b149[_0x22d3c5(0x127)]?.[_0x22d3c5(0x130)](_0x22d3c5(0xd6),_0x3a235a=>{const _0x3791fe=_0x22d3c5,_0x5d9ec8=_0x3a235a[_0x3791fe(0x11f)];_0x137e24[_0x3791fe(0x127)]?.[_0x3791fe(0xfb)](_0x5d9ec8)||this[_0x3791fe(0xd9)](_0x5d9ec8,_0x39b149)||this[_0x3791fe(0xe9)](_0x39b149);});});}[_0x121528(0xdd)](_0x486c14,_0x107e76){const _0xb49f6d=_0x121528;this[_0xb49f6d(0x111)][_0xb49f6d(0x125)](_0xa9ed16=>{const _0x28f6f3=_0xb49f6d;_0xa9ed16!==_0x486c14&&_0xa9ed16[_0x28f6f3(0x112)]&&_0xa9ed16[_0x28f6f3(0x117)]();}),_0x486c14[_0xb49f6d(0x10a)](),_0x486c14[_0xb49f6d(0x142)]({'positions':[_0x49e080[_0xb49f6d(0x116)]],'target':_0x107e76[_0xb49f6d(0x127)],'fitInViewport':!0x0}),this[_0xb49f6d(0x111)][_0xb49f6d(0xfc)](_0x486c14);}[_0x121528(0xe9)](_0x54de4d){const _0x58a885=_0x121528;_0x54de4d[_0x58a885(0x117)](),this[_0x58a885(0x111)][_0x58a885(0xe7)](_0x54de4d);}[_0x121528(0x13e)](){const _0x176fc7=_0x121528;this[_0x176fc7(0x111)][_0x176fc7(0x125)](_0x5adf7d=>_0x5adf7d[_0x176fc7(0x117)]()),this[_0x176fc7(0x111)][_0x176fc7(0xc7)]();}[_0x121528(0xd9)](_0x1a41af,_0x338cd1){const _0x186f53=_0x121528;if(!_0x1a41af)return!0x1;if(_0x338cd1[_0x186f53(0x127)]?.[_0x186f53(0xfb)](_0x1a41af))return!0x0;const _0x29f3d5=_0x1a41af;return _0x29f3d5[_0x186f53(0x12a)]&&(null!==_0x29f3d5[_0x186f53(0x12a)](_0x186f53(0xf2))||null!==_0x29f3d5[_0x186f53(0x12a)](_0x186f53(0xf0))||null!==_0x29f3d5[_0x186f53(0x12a)](_0x186f53(0x144)));}[_0x121528(0x118)](){const _0x3d775e=_0x121528;this[_0x3d775e(0x13c)]&&this[_0x3d775e(0x13c)][_0x3d775e(0x137)]();}[_0x121528(0x10d)](){const _0x4cfb1b=_0x121528;this[_0x4cfb1b(0x13e)](),this[_0x4cfb1b(0x11c)][_0x4cfb1b(0xea)](),super[_0x4cfb1b(0x10d)]();}[_0x121528(0xf5)](){const _0x5f2ac9=_0x121528;this[_0x5f2ac9(0x13c)]?this[_0x5f2ac9(0x13c)][_0x5f2ac9(0xf5)]():this[_0x5f2ac9(0x141)][_0x5f2ac9(0xf5)]();}[_0x121528(0x115)](_0x303a94){const _0x5ded81=_0x121528;return _0x5ded81(0xe4)===_0x303a94[_0x5ded81(0x145)][_0x5ded81(0x114)]?_0x5ded81(0x13d):_0x5ded81(0x140);}[_0x121528(0x108)](_0x56ee70){const _0x58b431=_0x121528;return _0x58b431(0xe4)===_0x56ee70[_0x58b431(0x145)][_0x58b431(0x114)]?_0x58b431(0x140):_0x58b431(0x13d);}[_0x121528(0xf6)](_0x3aa4f7,_0x66749f,_0x16b019,_0xfbf25f){const _0x3b8419=_0x121528;_0x3aa4f7[_0x3b8419(0x10b)]==_0x66749f&&(_0x16b019[_0x3b8419(0xf5)](),this[_0x3b8419(0xe9)](_0xfbf25f));}[_0x121528(0xd5)](_0x1514b9){const _0x3b390a=_0x121528;_0x1514b9[_0x3b390a(0x12c)](_0x3b390a(0x131));}}
23
+ const _0x4eec1e=_0x5c0d;(function(_0x1eca11,_0x388cfc){const _0x26c761=_0x5c0d,_0x464d85=_0x1eca11();while(!![]){try{const _0x4b71d2=parseInt(_0x26c761(0x178))/0x1*(-parseInt(_0x26c761(0x186))/0x2)+-parseInt(_0x26c761(0x1c8))/0x3*(-parseInt(_0x26c761(0x1ab))/0x4)+-parseInt(_0x26c761(0x17e))/0x5+-parseInt(_0x26c761(0x170))/0x6*(-parseInt(_0x26c761(0x1d3))/0x7)+parseInt(_0x26c761(0x1ae))/0x8+-parseInt(_0x26c761(0x188))/0x9*(-parseInt(_0x26c761(0x1c1))/0xa)+-parseInt(_0x26c761(0x1bd))/0xb;if(_0x4b71d2===_0x388cfc)break;else _0x464d85['push'](_0x464d85['shift']());}catch(_0x1b4f0e){_0x464d85['push'](_0x464d85['shift']());}}}(_0x9047,0x28a76));import{View as _0x45c967,ListItemView as _0x35e844,ListView as _0x4be61f,BalloonPanelView as _0x4d67bd,DropdownMenuPanelPositioningFunctions as _0x5d4a51,ViewCollection as _0xd9893,FocusCycler as _0x3488dd,ButtonView as _0x33a04f,IconView as _0xa2158d,HighlightedTextView as _0x34286d,ButtonLabelWithHighlightView as _0x1fec51,SearchTextView as _0x1c839a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x526784}from'@ckeditor/ckeditor5-icons';function _0x9047(){const _0x52d4a2=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','81907CgZmkB','ArrowRight','text','queryView','relatedTarget','button','ownerDocument','fieldView','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-search-result-button_with-group','_createGroupActionsList','menuitem','focusCycler','_handleSearchResultButtonClick','ck-ai-quick-actions-group-button','_allSearchableItems','_openNestedPanels','_isSearchFocused','_hideAllNestedPanels','locale','displayedPrompt','ck-ai-quick-actions-button_with-group__open-paren','addEventListener','fire','element','mouseleave','label','_createSearchTextView','items','actions','_createSearchResultGroupRow','execute','_createSearchResultActionRow','_bodyCollection','span','ck-ai-quick-actions-search-result__group-row','ck-dropdown-menu-list','focusTracker','138cqDfKw','pin','keystrokes','_handlePanelKeydown','contains','parent','commands','ck-ai-quick-actions','15205ucUiHW','activeElement','isOn','some','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-button','1251860RriwuR','ck-reset_all','.ck-ai-quick-actions-group-panel','.ck-ai-quick-actions-group-button','_createActionButton','ck-dropdown-menu__nested-menu__panel','setTemplate','show','40wBspPQ','_getButtonKeystroke','39303laiMFk','ck-rounded-corners','_createListItems','ck-ai-quick-actions-search','ArrowLeft','add','children','_getPanelKeystroke','content','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','role','render','_setupGroupMenuBehavior','_hideNestedPanel','forEach','AI_QUICK_ACTIONS_SEARCH','closest','optionsListView','get','push','_createSearchResultGroupedActionButton','rtl','_setupActionButtonExecution','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','first','ck-ai-quick-actions-search-result-button','eastSouth','view','chain','clear','ck-ai-quick-actions-group-list','_showNestedPanel','icon','menu','ck-ai-quick-actions-button__group-icon','4ceBIFE','div','aiQuickAction','2354800EVxLdM','detachFromDom','ck-ai-quick-actions-search-result__action-row','_createActionGroupButton','addMany','delete','bindTemplate','_searchTextView','uiLanguageDirection','focus','isVisible','ck-ai-quick-actions-button_with-group','extendTemplate','ck-button','isEnabled','4046812GnGWzM','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button_with-group__close-paren','ck-button_with-text','650tGmRsz','set','hide','bind','_createSearchResultIndividualActionButton','_hasSearch','key','724662ZZRber','_createSearchResultContentView','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_focusables','reset','_createSearchResultActionButton','resetSearch','_isMovingToNestedMenu','editing'];_0x9047=function(){return _0x52d4a2;};return _0x9047();}import{FocusTracker as _0x35c5f3,KeystrokeHandler as _0x2ecb17}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x459ac1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1635ae}from'./dropdownmenubuttonwithhighlightview.js';function _0x5c0d(_0x9eb44a,_0x4f704f){const _0x904762=_0x9047();return _0x5c0d=function(_0x5c0d36,_0x34a41e){_0x5c0d36=_0x5c0d36-0x14f;let _0xbbc7c1=_0x904762[_0x5c0d36];return _0xbbc7c1;},_0x5c0d(_0x9eb44a,_0x4f704f);}import{getTranslation as _0x3e6d6e}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x764af4}from'./aiquickactionsfilteredlistview.js';const Qs=_0x4eec1e(0x1a9),Gs=_0x4eec1e(0x155);export class AIQuickActionsDropdownContentView extends _0x45c967{[_0x4eec1e(0x16b)];[_0x4eec1e(0x199)];[_0x4eec1e(0x1b5)]=null;[_0x4eec1e(0x159)]=[];[_0x4eec1e(0x18e)];[_0x4eec1e(0x16f)];[_0x4eec1e(0x172)];[_0x4eec1e(0x1cc)];[_0x4eec1e(0x156)];[_0x4eec1e(0x15a)]=new Set();[_0x4eec1e(0x1c6)];constructor(_0x2ece58,_0x3a2697,_0x57242b,_0x260aae,_0x599494=!0x1){const _0x482cf1=_0x4eec1e,_0x1fb69e=_0x2ece58[_0x482cf1(0x15d)];super(_0x1fb69e),this[_0x482cf1(0x16b)]=_0x260aae,this[_0x482cf1(0x1c6)]=_0x599494;const _0x1f4948=this[_0x482cf1(0x18a)](_0x2ece58,_0x3a2697,_0x57242b);this[_0x482cf1(0x199)]=new _0x764af4(_0x1fb69e,_0x1f4948,this[_0x482cf1(0x159)]),this[_0x482cf1(0x199)][_0x482cf1(0x192)]=Qs,this[_0x482cf1(0x199)][_0x482cf1(0x166)][_0x482cf1(0x1b2)](_0x1f4948),this[_0x482cf1(0x16f)]=new _0x35c5f3(),this[_0x482cf1(0x172)]=new _0x2ecb17(),_0x599494&&(this[_0x482cf1(0x1b5)]=this[_0x482cf1(0x165)]()),this[_0x482cf1(0x1cc)]=_0x1f4948,this[_0x482cf1(0x156)]=new _0x3488dd({'focusables':this[_0x482cf1(0x1cc)],'focusTracker':this[_0x482cf1(0x16f)],'keystrokeHandler':this[_0x482cf1(0x172)]}),_0x599494&&this[_0x482cf1(0x1b5)]&&this[_0x482cf1(0x156)][_0x482cf1(0x1a4)](this[_0x482cf1(0x1b5)][_0x482cf1(0x156)]);const _0x4e4de6=_0x599494&&this[_0x482cf1(0x1b5)]?[this[_0x482cf1(0x1b5)]]:[this[_0x482cf1(0x199)]];this[_0x482cf1(0x18e)]=new _0xd9893(_0x4e4de6),this[_0x482cf1(0x184)]({'tag':_0x482cf1(0x1ac),'attributes':{'class':['ck',_0x482cf1(0x17f),_0x482cf1(0x177),_0x482cf1(0x189)],'dir':_0x1fb69e[_0x482cf1(0x1b6)]},'children':this[_0x482cf1(0x18e)]});}[_0x4eec1e(0x165)](){const _0x57ba75=_0x4eec1e;return new _0x1c839a(this[_0x57ba75(0x15d)],{'filteredView':this[_0x57ba75(0x199)],'queryView':{'label':_0x3e6d6e(this[_0x57ba75(0x15d)],_0x57ba75(0x197))},'class':_0x57ba75(0x18b),'infoView':{'text':{'notFound':{'primary':_0x3e6d6e(this[_0x57ba75(0x15d)],_0x57ba75(0x191))}}}});}[_0x4eec1e(0x15b)](){const _0x42f1b0=_0x4eec1e;if(!this[_0x42f1b0(0x1c6)]||!this[_0x42f1b0(0x1b5)]||!this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)])return!0x1;const _0x225ce4=this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)][_0x42f1b0(0x150)]?.[_0x42f1b0(0x179)];return this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)][_0x42f1b0(0x174)](_0x225ce4);}[_0x4eec1e(0x18a)](_0xeeaf4,_0x1b07b5,_0x2cc0fe){const _0x1866a3=_0x4eec1e,_0x2d3323=new _0xd9893();return _0x1b07b5[_0x1866a3(0x196)](_0x12b028=>{const _0x55c158=_0x1866a3;if(_0x55c158(0x167)in _0x12b028){const {listItem:_0xcf900b}=this[_0x55c158(0x1b1)](_0xeeaf4,_0x12b028,_0x2cc0fe);_0x2d3323[_0x55c158(0x18d)](_0xcf900b),_0x12b028[_0x55c158(0x167)][_0x55c158(0x196)](_0x134c62=>{const _0xc2081d=_0x55c158;this[_0xc2081d(0x182)](_0xeeaf4,_0x134c62,_0x12b028[_0xc2081d(0x164)],_0x12b028[_0xc2081d(0x1a8)]);const {listItem:_0x575ff9,highlightViews:_0x15372d}=this[_0xc2081d(0x1ce)](_0xeeaf4,_0x134c62,_0x12b028[_0xc2081d(0x164)],_0x12b028[_0xc2081d(0x1a8)]);this[_0xc2081d(0x159)][_0xc2081d(0x19b)]({'item':_0x575ff9,'label':_0x134c62[_0xc2081d(0x15e)],'groupLabel':_0x12b028[_0xc2081d(0x164)],'highlightViews':_0x15372d});});}else{const {listItem:_0x3a9170}=this[_0x55c158(0x182)](_0xeeaf4,_0x12b028);_0x2d3323[_0x55c158(0x18d)](_0x3a9170);const _0x570cb8=_0x3a9170[_0x55c158(0x18e)][_0x55c158(0x1a0)];if(_0x570cb8){const {listItem:_0x11b9c1,highlightViews:_0x28f3c1}=this[_0x55c158(0x1ce)](_0xeeaf4,_0x12b028);this[_0x55c158(0x159)][_0x55c158(0x19b)]({'item':_0x11b9c1,'label':_0x570cb8[_0x55c158(0x164)]||'','highlightViews':_0x28f3c1});}}}),_0x2d3323;}[_0x4eec1e(0x182)](_0x37d823,_0xc66cee,_0x28aa4d,_0x2b9331){const _0x9cd1e9=_0x4eec1e,_0x4e3f5c=new _0x35e844(this[_0x9cd1e9(0x15d)]);if(_0x28aa4d&&_0x2b9331){const _0x308fd6=new _0x33a04f(this[_0x9cd1e9(0x15d)]),_0x14de76=_0x308fd6[_0x9cd1e9(0x1b4)],_0x16a2b3=new _0x34286d();_0x16a2b3[_0x9cd1e9(0x1d5)]=_0xc66cee[_0x9cd1e9(0x15e)];const _0x5c1491=new _0x34286d();_0x5c1491[_0x9cd1e9(0x1d5)]=_0x28aa4d;const _0x4130dd=new _0xa2158d();_0x4130dd[_0x9cd1e9(0x190)]=_0x2b9331,_0x4130dd[_0x9cd1e9(0x1ba)]({'attributes':{'class':_0x9cd1e9(0x1aa)}});const _0x19c0a6=new _0x45c967(this[_0x9cd1e9(0x15d)]);_0x19c0a6[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x16c),'attributes':{'class':_0x9cd1e9(0x15f)},'children':[{'text':'\x20('}]});const _0x134b1e=new _0x45c967(this[_0x9cd1e9(0x15d)]);return _0x134b1e[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x16c),'attributes':{'class':_0x9cd1e9(0x1bf)},'children':[{'text':')'}]}),_0x308fd6[_0x9cd1e9(0x1c2)]({'label':_0xc66cee[_0x9cd1e9(0x15e)]+'\x20('+_0x28aa4d+')','withText':!0x0,'role':_0x9cd1e9(0x155),'class':_0x9cd1e9(0x1cb),'tooltip':!0x1}),_0x308fd6[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x14f),'attributes':{'class':['ck',_0x9cd1e9(0x1bb),_0x9cd1e9(0x1c0),_0x9cd1e9(0x17d),_0x9cd1e9(0x1b9)],'type':_0x9cd1e9(0x14f),'role':_0x9cd1e9(0x155),'tabindex':'-1'},'children':[_0x16a2b3,_0x19c0a6,_0x4130dd,_0x5c1491,_0x134b1e],'on':{'mouseenter':_0x14de76['to'](()=>{const _0x54e7dc=_0x9cd1e9;this[_0x54e7dc(0x15b)]()||_0x308fd6[_0x54e7dc(0x1b7)]();}),'click':_0x14de76['to'](()=>{const _0x321b83=_0x9cd1e9;_0x308fd6[_0x321b83(0x161)](_0x321b83(0x169));})}}),_0x308fd6['on'](_0x9cd1e9(0x169),()=>{const _0x3d9602=_0x9cd1e9;_0x37d823[_0x3d9602(0x1d1)][_0x3d9602(0x1a3)][_0x3d9602(0x1b7)](),_0x37d823[_0x3d9602(0x176)][_0x3d9602(0x169)](_0x3d9602(0x1ad),_0xc66cee);}),_0x4e3f5c[_0x9cd1e9(0x18e)][_0x9cd1e9(0x18d)](_0x308fd6),{'listItem':_0x4e3f5c,'highlightViews':[_0x16a2b3,_0x5c1491]};}{const _0x308028=new _0x1fec51(),_0x1ca105=new _0x33a04f(this[_0x9cd1e9(0x15d)],_0x308028),_0x4a419a=_0x1ca105[_0x9cd1e9(0x1b4)],_0x1a2e92=_0xc66cee[_0x9cd1e9(0x1a8)]??_0xc66cee[_0x9cd1e9(0x175)]?.[_0x9cd1e9(0x1a8)],_0x39fc6e=void 0x0!==_0xc66cee[_0x9cd1e9(0x1a8)];return _0x1ca105[_0x9cd1e9(0x1c2)]({'label':_0xc66cee[_0x9cd1e9(0x15e)],'withText':!0x0,'role':_0x9cd1e9(0x155),'icon':_0x39fc6e?_0x1a2e92??_0x526784:void 0x0,'tooltip':!0x1,'class':_0x9cd1e9(0x17d)}),_0x1ca105[_0x9cd1e9(0x1ba)]({'on':{'mouseenter':_0x4a419a['to'](()=>{const _0x70fe8c=_0x9cd1e9;this[_0x70fe8c(0x15b)]()||_0x1ca105[_0x70fe8c(0x1b7)]();})}}),_0x1ca105['on'](_0x9cd1e9(0x169),()=>{const _0x2214c4=_0x9cd1e9;_0x37d823[_0x2214c4(0x1d1)][_0x2214c4(0x1a3)][_0x2214c4(0x1b7)](),_0x37d823[_0x2214c4(0x176)][_0x2214c4(0x169)](_0x2214c4(0x1ad),_0xc66cee);}),_0x4e3f5c[_0x9cd1e9(0x18e)][_0x9cd1e9(0x18d)](_0x1ca105),{'listItem':_0x4e3f5c,'highlightViews':[_0x308028]};}}[_0x4eec1e(0x1ce)](_0x46363f,_0x43777a,_0x52262f,_0x27603f){const _0x167c62=_0x4eec1e;return _0x52262f&&_0x27603f?this[_0x167c62(0x19c)](_0x46363f,_0x43777a,_0x52262f,_0x27603f):this[_0x167c62(0x1c5)](_0x46363f,_0x43777a);}[_0x4eec1e(0x19c)](_0x34605f,_0x1d2ddd,_0x18c466,_0x261918){const _0x185228=_0x4eec1e,_0x22164f=new _0x35e844(this[_0x185228(0x15d)]),_0x2496f8=new _0x33a04f(this[_0x185228(0x15d)]),_0xdca9d1=_0x2496f8[_0x185228(0x1b4)],{view:_0x51765e,highlightView:_0x4fac33}=this[_0x185228(0x168)](_0x18c466,_0x261918),{view:_0x3b567d,highlightView:_0x2b7ab3}=this[_0x185228(0x16a)](_0x1d2ddd[_0x185228(0x15e)]),_0x2e61cf=this[_0x185228(0x1c9)](_0x51765e,_0x3b567d);return _0x2496f8[_0x185228(0x1c2)]({'label':_0x1d2ddd[_0x185228(0x15e)],'withText':!0x0,'role':_0x185228(0x155),'class':_0x185228(0x1d2),'tooltip':!0x1}),_0x2496f8[_0x185228(0x184)]({'tag':_0x185228(0x14f),'attributes':{'class':['ck',_0x185228(0x1bb),_0x185228(0x1c0),_0x185228(0x17d),_0x185228(0x1a1),_0x185228(0x153)],'type':_0x185228(0x14f),'role':_0x185228(0x155),'tabindex':'-1'},'children':[_0x2e61cf],'on':{'mouseenter':_0xdca9d1['to'](()=>{const _0x2c4a2a=_0x185228;this[_0x2c4a2a(0x15b)]()||_0x2496f8[_0x2c4a2a(0x1b7)]();}),'click':_0xdca9d1['to'](()=>{const _0x6e6c3b=_0x185228;this[_0x6e6c3b(0x157)](_0x2496f8);})}}),this[_0x185228(0x19e)](_0x2496f8,_0x34605f,_0x1d2ddd),_0x22164f[_0x185228(0x18e)][_0x185228(0x18d)](_0x2496f8),{'listItem':_0x22164f,'highlightViews':[_0x4fac33,_0x2b7ab3]};}[_0x4eec1e(0x1c5)](_0x206cf2,_0x333d70){const _0x55667b=_0x4eec1e,_0x2e4753=new _0x35e844(this[_0x55667b(0x15d)]),_0x551b58=new _0x1fec51(),_0x3cddcd=new _0x33a04f(this[_0x55667b(0x15d)],_0x551b58),_0x5dc793=_0x3cddcd[_0x55667b(0x1b4)];return _0x3cddcd[_0x55667b(0x1c2)]({'label':_0x333d70[_0x55667b(0x15e)],'withText':!0x0,'role':_0x55667b(0x155),'icon':void 0x0,'tooltip':!0x1,'class':_0x55667b(0x19f)}),_0x3cddcd[_0x55667b(0x1ba)]({'on':{'mouseenter':_0x5dc793['to'](()=>{const _0x8ce460=_0x55667b;this[_0x8ce460(0x15b)]()||_0x3cddcd[_0x8ce460(0x1b7)]();})}}),this[_0x55667b(0x19e)](_0x3cddcd,_0x206cf2,_0x333d70),_0x2e4753[_0x55667b(0x18e)][_0x55667b(0x18d)](_0x3cddcd),{'listItem':_0x2e4753,'highlightViews':[_0x551b58]};}[_0x4eec1e(0x168)](_0x2dab68,_0x28cde7){const _0x42265a=_0x4eec1e,_0x3d6db3=new _0x45c967(this[_0x42265a(0x15d)]),_0x3ba61e=new _0xa2158d();_0x3ba61e[_0x42265a(0x190)]=_0x28cde7,_0x3ba61e[_0x42265a(0x1ba)]({'attributes':{'class':_0x42265a(0x1aa)}});const _0xee6a7a=new _0x34286d();return _0xee6a7a[_0x42265a(0x1d5)]=_0x2dab68,_0x3d6db3[_0x42265a(0x184)]({'tag':_0x42265a(0x1ac),'attributes':{'class':_0x42265a(0x16d)},'children':[_0x3ba61e,_0xee6a7a]}),{'view':_0x3d6db3,'highlightView':_0xee6a7a};}[_0x4eec1e(0x16a)](_0x2930d2){const _0x149e0f=_0x4eec1e,_0x45ccc8=new _0x45c967(this[_0x149e0f(0x15d)]),_0x15a947=new _0x34286d();return _0x15a947[_0x149e0f(0x1d5)]=_0x2930d2,_0x45ccc8[_0x149e0f(0x184)]({'tag':_0x149e0f(0x1ac),'attributes':{'class':_0x149e0f(0x1b0)},'children':[_0x15a947]}),{'view':_0x45ccc8,'highlightView':_0x15a947};}[_0x4eec1e(0x1c9)](_0x590a86,_0xd595e7){const _0x106fcb=_0x4eec1e,_0x55ed84=new _0x45c967(this[_0x106fcb(0x15d)]);return _0x55ed84[_0x106fcb(0x184)]({'tag':_0x106fcb(0x1ac),'attributes':{'class':_0x106fcb(0x152)},'children':[_0x590a86,_0xd595e7]}),_0x55ed84;}[_0x4eec1e(0x19e)](_0x280c19,_0x17d89c,_0x24e23a){const _0x327bdc=_0x4eec1e;_0x280c19['on'](_0x327bdc(0x169),()=>{const _0x5af84b=_0x327bdc;_0x17d89c[_0x5af84b(0x1d1)][_0x5af84b(0x1a3)][_0x5af84b(0x1b7)](),_0x17d89c[_0x5af84b(0x176)][_0x5af84b(0x169)](_0x5af84b(0x1ad),_0x24e23a);});}[_0x4eec1e(0x1b1)](_0x225aff,_0x5b1965,_0x1659d6){const _0x2d8245=_0x4eec1e,_0x3e75ed=new _0x35e844(this[_0x2d8245(0x15d)]),_0x30c124=new _0x1fec51(),_0x51a44b=new _0x1635ae(this[_0x2d8245(0x15d)],_0x30c124),_0x3a076a=_0x51a44b[_0x2d8245(0x1b4)],_0x3b59ff=this[_0x2d8245(0x18f)](_0x1659d6),_0x5f1d9e=this[_0x2d8245(0x154)](_0x225aff,_0x5b1965[_0x2d8245(0x167)],_0x1659d6);_0x51a44b[_0x2d8245(0x1c2)]({'label':_0x5b1965[_0x2d8245(0x164)],'withText':!0x0,'role':Gs,'icon':_0x5b1965[_0x2d8245(0x1a8)]??_0x526784,'isEnabled':_0x5b1965[_0x2d8245(0x167)][_0x2d8245(0x17b)](_0x5c711e=>_0x5c711e[_0x2d8245(0x1bc)])}),_0x51a44b[_0x2d8245(0x1ba)]({'on':{'mouseenter':_0x3a076a['to'](()=>{const _0x1e8213=_0x2d8245;this[_0x1e8213(0x15b)]()||_0x51a44b[_0x1e8213(0x1b7)]();})}});const _0x5f34b5=new _0x4d67bd(this[_0x2d8245(0x15d)]);return _0x5f34b5[_0x2d8245(0x1ba)]({'attributes':{'class':['ck',_0x2d8245(0x17f),_0x2d8245(0x1be),_0x2d8245(0x183)]},'on':{'keydown':_0x3a076a['to'](_0x22c303=>{const _0x537325=_0x2d8245;this[_0x537325(0x173)](_0x22c303,_0x3b59ff,_0x51a44b,_0x5f34b5);})}}),_0x51a44b[_0x2d8245(0x1c4)](_0x2d8245(0x17a))['to'](_0x5f34b5,_0x2d8245(0x1b8)),this[_0x2d8245(0x16b)][_0x2d8245(0x18d)](_0x5f34b5),_0x5f34b5[_0x2d8245(0x190)][_0x2d8245(0x18d)](_0x5f1d9e),this[_0x2d8245(0x194)](_0x51a44b,_0x5f34b5),_0x3e75ed[_0x2d8245(0x18e)][_0x2d8245(0x18d)](_0x51a44b),{'listItem':_0x3e75ed,'highlightView':_0x30c124};}[_0x4eec1e(0x154)](_0x39f7c4,_0x133e0d,_0x394c60){const _0x161e36=_0x4eec1e,_0x38f9e9=new _0x4be61f(this[_0x161e36(0x15d)]);return _0x38f9e9[_0x161e36(0x1ba)]({'attributes':{'class':['ck',_0x161e36(0x17f),_0x161e36(0x1a6),_0x161e36(0x16e)]}}),_0x133e0d[_0x161e36(0x196)](_0x207d2c=>{const _0x12a42a=_0x161e36,_0x2e6a3f=new _0x35e844(this[_0x12a42a(0x15d)]),_0x35a23a=_0x459ac1({'editor':_0x39f7c4,'action':_0x207d2c,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x12a42a(0x15b)]()})();_0x2e6a3f[_0x12a42a(0x18e)][_0x12a42a(0x18d)](_0x35a23a),_0x394c60[_0x12a42a(0x16f)][_0x12a42a(0x18d)](_0x35a23a),_0x38f9e9[_0x12a42a(0x166)][_0x12a42a(0x18d)](_0x2e6a3f);}),_0x38f9e9;}[_0x4eec1e(0x194)](_0x2c7cc2,_0x423aea){const _0x24d456=_0x4eec1e,_0x1a89ab=_0x2c7cc2[_0x24d456(0x1b4)],_0x3bcc10=this[_0x24d456(0x187)](_0x2c7cc2);_0x2c7cc2[_0x24d456(0x1ba)]({'attributes':{'class':[_0x24d456(0x158)]},'on':{'mouseenter':_0x1a89ab['to'](()=>{const _0x52c6af=_0x24d456;this[_0x52c6af(0x1a7)](_0x423aea,_0x2c7cc2);}),'mouseleave':_0x1a89ab['to'](_0x232ddf=>{const _0x3c2cf4=_0x24d456,_0x25ac7e=_0x232ddf[_0x3c2cf4(0x1d7)];this[_0x3c2cf4(0x1d0)](_0x25ac7e,_0x423aea)||this[_0x3c2cf4(0x195)](_0x423aea);}),'keydown':_0x1a89ab['to'](_0x586eb7=>{const _0x93508a=_0x24d456;_0x586eb7[_0x93508a(0x1c7)]==_0x3bcc10&&(this[_0x93508a(0x1a7)](_0x423aea,_0x2c7cc2),_0x423aea[_0x93508a(0x190)][_0x93508a(0x19a)](0x0)[_0x93508a(0x1b7)]());})}}),_0x423aea['on'](_0x24d456(0x193),()=>{const _0x37c073=_0x24d456;_0x423aea[_0x37c073(0x162)]?.[_0x37c073(0x160)](_0x37c073(0x163),_0x5cda87=>{const _0x58564e=_0x37c073,_0x31e7c5=_0x5cda87[_0x58564e(0x1d7)];_0x2c7cc2[_0x58564e(0x162)]?.[_0x58564e(0x174)](_0x31e7c5)||this[_0x58564e(0x1d0)](_0x31e7c5,_0x423aea)||this[_0x58564e(0x195)](_0x423aea);});});}[_0x4eec1e(0x1a7)](_0x564942,_0x2dc7d2){const _0x428a72=_0x4eec1e;this[_0x428a72(0x15a)][_0x428a72(0x196)](_0x37fd83=>{const _0x460517=_0x428a72;_0x37fd83!==_0x564942&&_0x37fd83[_0x460517(0x1b8)]&&_0x37fd83[_0x460517(0x1c3)]();}),_0x564942[_0x428a72(0x185)](),_0x564942[_0x428a72(0x171)]({'positions':[_0x5d4a51[_0x428a72(0x1a2)]],'target':_0x2dc7d2[_0x428a72(0x162)],'fitInViewport':!0x0}),this[_0x428a72(0x15a)][_0x428a72(0x18d)](_0x564942);}[_0x4eec1e(0x195)](_0x1d79a3){const _0x2ccb87=_0x4eec1e;_0x1d79a3[_0x2ccb87(0x1c3)](),this[_0x2ccb87(0x15a)][_0x2ccb87(0x1b3)](_0x1d79a3);}[_0x4eec1e(0x15c)](){const _0x41c630=_0x4eec1e;this[_0x41c630(0x15a)][_0x41c630(0x196)](_0x1551da=>_0x1551da[_0x41c630(0x1c3)]()),this[_0x41c630(0x15a)][_0x41c630(0x1a5)]();}[_0x4eec1e(0x1d0)](_0x4a26e1,_0x29943b){const _0x22b292=_0x4eec1e;if(!_0x4a26e1)return!0x1;if(_0x29943b[_0x22b292(0x162)]?.[_0x22b292(0x174)](_0x4a26e1))return!0x0;const _0x149006=_0x4a26e1;return _0x149006[_0x22b292(0x198)]&&(null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x180))||null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x17c))||null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x181)));}[_0x4eec1e(0x1cf)](){const _0x12d4bf=_0x4eec1e;this[_0x12d4bf(0x1b5)]&&this[_0x12d4bf(0x1b5)][_0x12d4bf(0x1cd)]();}[_0x4eec1e(0x1ca)](){const _0x2d7889=_0x4eec1e;this[_0x2d7889(0x15c)](),this[_0x2d7889(0x16b)][_0x2d7889(0x1af)](),super[_0x2d7889(0x1ca)]();}[_0x4eec1e(0x1b7)](){const _0x551657=_0x4eec1e;this[_0x551657(0x1b5)]?this[_0x551657(0x1b5)][_0x551657(0x1b7)]():this[_0x551657(0x199)][_0x551657(0x1b7)]();}[_0x4eec1e(0x18f)](_0x1dd9fd){const _0x12f6dc=_0x4eec1e;return _0x12f6dc(0x19d)===_0x1dd9fd[_0x12f6dc(0x15d)][_0x12f6dc(0x1b6)]?_0x12f6dc(0x1d4):_0x12f6dc(0x18c);}[_0x4eec1e(0x187)](_0x1310c4){const _0x4dd9ae=_0x4eec1e;return _0x4dd9ae(0x19d)===_0x1310c4[_0x4dd9ae(0x15d)][_0x4dd9ae(0x1b6)]?_0x4dd9ae(0x18c):_0x4dd9ae(0x1d4);}[_0x4eec1e(0x173)](_0x2ab881,_0x137e1f,_0x373e65,_0x4514ac){const _0x44df87=_0x4eec1e;_0x2ab881[_0x44df87(0x1c7)]==_0x137e1f&&(_0x373e65[_0x44df87(0x1b7)](),this[_0x44df87(0x195)](_0x4514ac));}[_0x4eec1e(0x157)](_0x598019){const _0x136d20=_0x4eec1e;_0x598019[_0x136d20(0x161)](_0x136d20(0x169));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xf78d70,_0x346ed4){const _0x23108c=_0x4ac1,_0x29e3e0=_0xf78d70();while(!![]){try{const _0x3037ab=parseInt(_0x23108c(0x1f5))/0x1+parseInt(_0x23108c(0x1f7))/0x2*(-parseInt(_0x23108c(0x1f6))/0x3)+-parseInt(_0x23108c(0x1f3))/0x4+-parseInt(_0x23108c(0x1f4))/0x5+parseInt(_0x23108c(0x206))/0x6+-parseInt(_0x23108c(0x20a))/0x7+parseInt(_0x23108c(0x203))/0x8;if(_0x3037ab===_0x346ed4)break;else _0x29e3e0['push'](_0x29e3e0['shift']());}catch(_0x42a4e2){_0x29e3e0['push'](_0x29e3e0['shift']());}}}(_0x4239,0x59ecf));import{createDropdown as _0x4dd90b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x21d57d}from'@ckeditor/ckeditor5-icons';function _0x4239(){const _0x512121=['label','ck-ai-quick-actions-dropdown','hideFakeVisualSelection','AIEditing','buttonView','getRanges','ai-quick-actions-dropdown-selection','6192744lvTGQB','resetSearch','document','1351572vtJBMw','plugins','length','icon','3506762BPYawx','change:isOpen','panelView','add','from','set','selection','locale','get','231180iPpXIF','1629770oyFSgd','449324thCqlF','21vWpOOt','55894gexjdg','has','children','model','showFakeVisualSelection'];_0x4239=function(){return _0x512121;};return _0x4239();}import{AIQuickActionsDropdownContentView as _0x8638d9}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x196183}from'../../aicore/aiediting.js';function _0x4ac1(_0xa5d044,_0x3a055c){const _0x42396f=_0x4239();return _0x4ac1=function(_0x4ac121,_0x3ce637){_0x4ac121=_0x4ac121-0x1ed;let _0x3105c5=_0x42396f[_0x4ac121];return _0x3105c5;},_0x4ac1(_0xa5d044,_0x3a055c);}export function aiQuickActionsDropdownCreator(_0x1415aa){const {editor:_0xdc6eb8,content:_0xec1952,buttonDefinition:_0x339a64,bodyCollection:_0x557548,hasSearch:_0x46fd72=!0x1}=_0x1415aa;return()=>{const _0x226448=_0x4ac1,_0x18dc7a=_0xdc6eb8[_0x226448(0x1f1)],_0x123f6e=_0x4dd90b(_0x18dc7a);_0x123f6e[_0x226448(0x200)][_0x226448(0x1ef)]({'icon':_0x339a64[_0x226448(0x209)]??_0x21d57d,'label':_0x339a64[_0x226448(0x1fc)],'tooltip':!0x0}),_0x123f6e[_0x226448(0x1ef)]({'class':_0x226448(0x1fd)});const _0x217c11=new _0x8638d9(_0xdc6eb8,_0xec1952,_0x123f6e,_0x557548,_0x46fd72);if(_0x123f6e[_0x226448(0x20c)][_0x226448(0x1f9)][_0x226448(0x1ed)](_0x217c11),_0x46fd72){const _0x284a7b=_0x226448(0x202);_0x123f6e['on'](_0x226448(0x20b),(_0x5e9acf,_0x45c7c3,_0x993c42)=>{const _0x243727=_0x226448;if(_0x993c42){if(_0xdc6eb8[_0x243727(0x207)][_0x243727(0x1f8)](_0x243727(0x1ff))){const _0x1da612=_0xdc6eb8[_0x243727(0x207)][_0x243727(0x1f2)](_0x196183),_0x131e9f=_0xdc6eb8[_0x243727(0x1fa)][_0x243727(0x205)][_0x243727(0x1f0)],_0x8f6d9=Array[_0x243727(0x1ee)](_0x131e9f[_0x243727(0x201)]());_0x8f6d9[_0x243727(0x208)]>0x0&&_0x1da612[_0x243727(0x1fb)](_0x8f6d9,_0x284a7b,!0x1,!0x0);}}else _0xdc6eb8[_0x243727(0x207)][_0x243727(0x1f8)](_0x243727(0x1ff))&&_0xdc6eb8[_0x243727(0x207)][_0x243727(0x1f2)](_0x196183)[_0x243727(0x1fe)](_0x284a7b),_0x217c11[_0x243727(0x204)]();});}return _0x123f6e;};}
23
+ (function(_0x2311a0,_0x2ee6cf){const _0x52f63e=_0x1b4d,_0xbc8532=_0x2311a0();while(!![]){try{const _0x2006b1=-parseInt(_0x52f63e(0x166))/0x1*(parseInt(_0x52f63e(0x16a))/0x2)+parseInt(_0x52f63e(0x14e))/0x3+parseInt(_0x52f63e(0x154))/0x4+parseInt(_0x52f63e(0x15c))/0x5*(parseInt(_0x52f63e(0x151))/0x6)+-parseInt(_0x52f63e(0x155))/0x7*(parseInt(_0x52f63e(0x14b))/0x8)+parseInt(_0x52f63e(0x15a))/0x9*(-parseInt(_0x52f63e(0x164))/0xa)+parseInt(_0x52f63e(0x152))/0xb*(parseInt(_0x52f63e(0x14a))/0xc);if(_0x2006b1===_0x2ee6cf)break;else _0xbc8532['push'](_0xbc8532['shift']());}catch(_0x32f4db){_0xbc8532['push'](_0xbc8532['shift']());}}}(_0x31ce,0x64276));import{createDropdown as _0x2a16d1}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3830c9}from'@ckeditor/ckeditor5-icons';function _0x1b4d(_0x2529f5,_0x373795){const _0x31cecc=_0x31ce();return _0x1b4d=function(_0x1b4da1,_0x504d57){_0x1b4da1=_0x1b4da1-0x147;let _0x5512d7=_0x31cecc[_0x1b4da1];return _0x5512d7;},_0x1b4d(_0x2529f5,_0x373795);}import{AIQuickActionsDropdownContentView as _0x4a0d31}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x10a52a}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x16797b){const {editor:_0x23709c,content:_0x2d7458,buttonDefinition:_0x40dabd,bodyCollection:_0x480e8b,hasSearch:_0x524157=!0x1}=_0x16797b;return()=>{const _0xe1daab=_0x1b4d,_0x3bb9bf=_0x23709c[_0xe1daab(0x147)],_0x212fb6=_0x2a16d1(_0x3bb9bf);_0x212fb6[_0xe1daab(0x15e)][_0xe1daab(0x163)]({'icon':_0x40dabd[_0xe1daab(0x169)]??_0x3830c9,'label':_0x40dabd[_0xe1daab(0x159)],'tooltip':!0x0}),_0x212fb6[_0xe1daab(0x163)]({'class':_0xe1daab(0x150)});const _0x574cc6=new _0x4a0d31(_0x23709c,_0x2d7458,_0x212fb6,_0x480e8b,_0x524157);if(_0x212fb6[_0xe1daab(0x156)][_0xe1daab(0x15f)][_0xe1daab(0x161)](_0x574cc6),_0x524157){const _0x355881=_0xe1daab(0x15b);_0x212fb6['on'](_0xe1daab(0x158),(_0x11576b,_0x91a3df,_0x490da0)=>{const _0x27fc50=_0xe1daab;if(_0x490da0){if(_0x23709c[_0x27fc50(0x14c)][_0x27fc50(0x157)](_0x27fc50(0x165))){const _0x141fdc=_0x23709c[_0x27fc50(0x14c)][_0x27fc50(0x168)](_0x10a52a),_0x1790b1=_0x23709c[_0x27fc50(0x162)][_0x27fc50(0x149)][_0x27fc50(0x167)],_0x5e8c15=Array[_0x27fc50(0x14d)](_0x1790b1[_0x27fc50(0x15d)]());_0x5e8c15[_0x27fc50(0x153)]>0x0&&_0x141fdc[_0x27fc50(0x160)](_0x5e8c15,_0x355881,!0x1,!0x0);}}else _0x23709c[_0x27fc50(0x14c)][_0x27fc50(0x157)](_0x27fc50(0x165))&&_0x23709c[_0x27fc50(0x14c)][_0x27fc50(0x168)](_0x10a52a)[_0x27fc50(0x148)](_0x355881),_0x574cc6[_0x27fc50(0x14f)]();});}return _0x212fb6;};}function _0x31ce(){const _0x45e4c9=['length','1303964liOjJk','224413nZOExc','panelView','has','change:isOpen','label','4186503hCaNTH','ai-quick-actions-dropdown-selection','694205wTocgR','getRanges','buttonView','children','showFakeVisualSelection','add','model','set','10NRfJml','AIEditing','751663oxaMFo','selection','get','icon','2tmvsrY','locale','hideFakeVisualSelection','document','48kAkKcv','128NWAqBC','plugins','from','860562VxWAhs','resetSearch','ck-ai-quick-actions-dropdown','18CiFeTE','3054249uigkIh'];_0x31ce=function(){return _0x45e4c9;};return _0x31ce();}