@ckeditor/ckeditor5-ai 47.2.0-alpha.4 → 47.2.0-alpha.5

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 (128) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichat/utils/scrollmanager.js +1 -1
  63. package/src/aichathistory/aichathistory.js +1 -1
  64. package/src/aichathistory/aichathistorycontroller.js +1 -1
  65. package/src/aichathistory/aichathistoryui.js +1 -1
  66. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  67. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  68. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  69. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  71. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  72. package/src/aicore/aiconnector.js +1 -1
  73. package/src/aicore/aiediting.js +1 -1
  74. package/src/aicore/model/aicapabilities.js +1 -1
  75. package/src/aicore/model/aiinteraction.js +1 -1
  76. package/src/aicore/model/aimodels.js +1 -1
  77. package/src/aicore/model/aireply.js +1 -1
  78. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  79. package/src/aicore/pipeline/airesponseparser.js +2 -2
  80. package/src/aicore/ui/aidisclaimerview.js +1 -1
  81. package/src/aicore/ui/aiskeleton.js +1 -1
  82. package/src/aicore/ui/aispinner.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  88. package/src/aicore/utils/createresizebutton.js +1 -1
  89. package/src/aicore/utils/documentrange.js +1 -1
  90. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  91. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  92. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  93. package/src/aicore/utils/htmlparser.js +1 -1
  94. package/src/aicore/utils/htmlstreamer.js +1 -1
  95. package/src/aieditorintegration/aieditorintegration.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  97. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  98. package/src/aiquickactions/aiquickactions.js +1 -1
  99. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  100. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  101. package/src/aiquickactions/aiquickactionsui.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  104. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  105. package/src/aireviewmode/aireviewmode.js +1 -1
  106. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  107. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  108. package/src/aireviewmode/aireviewmodeui.js +1 -1
  109. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  113. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  123. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  125. package/src/aitabs/aitabs.js +1 -1
  126. package/src/aitabs/tabs/aitabsview.js +1 -1
  127. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  128. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48711b=_0x5103;(function(_0x47a860,_0x218597){const _0x431685=_0x5103,_0x3a230a=_0x47a860();while(!![]){try{const _0x5a4e7d=parseInt(_0x431685(0x1f0))/0x1+-parseInt(_0x431685(0x1fc))/0x2*(parseInt(_0x431685(0x1fa))/0x3)+-parseInt(_0x431685(0x1f7))/0x4+parseInt(_0x431685(0x1ee))/0x5*(parseInt(_0x431685(0x1df))/0x6)+-parseInt(_0x431685(0x1fe))/0x7+-parseInt(_0x431685(0x1bd))/0x8+parseInt(_0x431685(0x1d3))/0x9;if(_0x5a4e7d===_0x218597)break;else _0x3a230a['push'](_0x3a230a['shift']());}catch(_0x4fd497){_0x3a230a['push'](_0x3a230a['shift']());}}}(_0x4ee8,0x88a75));function _0x5103(_0x32cee9,_0x18373a){const _0x4ee8ae=_0x4ee8();return _0x5103=function(_0x510349,_0x4c6a5c){_0x510349=_0x510349-0x1b5;let _0x4a9f31=_0x4ee8ae[_0x510349];return _0x4a9f31;},_0x5103(_0x32cee9,_0x18373a);}import{FocusTracker as _0x3dce25,KeystrokeHandler as _0x2d4909}from'ckeditor5/src/utils.js';import{View as _0x3af2f0,FocusCycler as _0x23e5cb,createLabeledTextarea as _0x2cd075}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x1fd9e3,AIFormToolbarViewMainActionLabel as _0x324f4e}from'./aiformtoolbarview.js';import{AIFormContentArea as _0xca40b9}from'./aiformcontentarea.js';import{AIFormErrorView as _0x303524}from'./aiformerrorview.js';import{AIFormPromptView as _0x1b489f}from'./aiformpromptview.js';import{AIHistoryListView as _0x33329c}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x592e7b}from'./aihistorylistitemview.js';import{PromptHistory as _0x475a93}from'./prompthistory.js';import{getTranslation as _0x57f408}from'../../utils/common-translations.js';function _0x4ee8(){const _0x1df9a8=['insertButton','focusLast','REPLACE','submit','high','clearHistory','shift\x20+\x20tab','queryView','fire','focusCycler','isError','18115KXKCeg','promptView','680142KrXwzJ','_createPromptView','listenTo','replaceContent','Ask\x20AI\x20to\x20edit\x20or\x20generate','_createToolbar','tryAgainEvent','1286788AyCfKd','isVisible','contentArea','12vsPltV','ck-hidden','399248YisBdc','focusTracker','2650977bKoDma','isEnabled','items','keystrokes','_createHistoryView','Empty\x20history','AI_ERROR_FAILED','bind','insertContentBelow','setTemplate','stopProcessing','add','text','startProcessing','createCollection','reset','copyButtonView','handleError','bindTo','6093752AFtWtL','div','historyGroupView','delegate','clear','fieldView','execute','stopButton','bindTemplate','tab','label','chain','focusFirst','element','prompt','value','isProcessing','_focusables','errorView','search','Ask\x20AI\x20to\x20improve\x20generated\x20text','render','16196868OEdJhq','replaceButton','toolbar','_promptHistory','locale','ck-ai-form-content','tryAgainButton','submitPrompt','focus','trim','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','finishProcessing','564tKgFPu','set','mainAction','ck-ai-form'];_0x4ee8=function(){return _0x1df9a8;};return _0x4ee8();}import{escape as _0x127cc8}from'es-toolkit/compat';export class AIFormView extends _0x3af2f0{[_0x48711b(0x1fd)];[_0x48711b(0x201)];[_0x48711b(0x1f9)];[_0x48711b(0x1d5)];[_0x48711b(0x1ef)];[_0x48711b(0x1cf)];[_0x48711b(0x1ce)];[_0x48711b(0x1ec)];[_0x48711b(0x1d6)];constructor(_0x26280d,_0x1a26e0,_0x5a47d1=''){const _0x1157d3=_0x48711b;super(_0x26280d),this[_0x1157d3(0x1e0)](_0x1157d3(0x1ff),!0x0),this[_0x1157d3(0x1e0)](_0x1157d3(0x1cd),!0x1),this[_0x1157d3(0x1e0)](_0x1157d3(0x1cb),''),this[_0x1157d3(0x1e0)](_0x1157d3(0x1cc),''),this[_0x1157d3(0x1e0)](_0x1157d3(0x1ed),!0x1),this[_0x1157d3(0x1e0)](_0x1157d3(0x1e1),_0x324f4e[_0x1157d3(0x1e5)]),this[_0x1157d3(0x1d6)]=new _0x475a93(),this[_0x1157d3(0x1cf)]=new _0x303524(_0x26280d),this[_0x1157d3(0x1f9)]=new _0xca40b9(_0x26280d,_0x5a47d1),this[_0x1157d3(0x1f9)][_0x1157d3(0x205)](_0x1157d3(0x1cd))['to'](this),this[_0x1157d3(0x1f9)][_0x1157d3(0x205)](_0x1157d3(0x1cc))['to'](this),this[_0x1157d3(0x1d5)]=this[_0x1157d3(0x1f5)](),this[_0x1157d3(0x1d5)][_0x1157d3(0x205)](_0x1157d3(0x1e1))['to'](this),this[_0x1157d3(0x1ef)]=this[_0x1157d3(0x1f1)](),this[_0x1157d3(0x1fd)]=new _0x3dce25(),this[_0x1157d3(0x201)]=new _0x2d4909(),this[_0x1157d3(0x1ce)]=this[_0x1157d3(0x1b8)]([this[_0x1157d3(0x1f9)],this[_0x1157d3(0x1f9)][_0x1157d3(0x1ba)],this[_0x1157d3(0x1d5)],this[_0x1157d3(0x1ef)]]),this[_0x1157d3(0x1ec)]=new _0x23e5cb({'focusables':this[_0x1157d3(0x1ce)],'focusTracker':this[_0x1157d3(0x1fd)],'keystrokeHandler':this[_0x1157d3(0x201)],'actions':{'focusPrevious':_0x1157d3(0x1e9),'focusNext':_0x1157d3(0x1c6)}}),this[_0x1157d3(0x1ec)][_0x1157d3(0x1c8)](this[_0x1157d3(0x1ef)][_0x1157d3(0x1ec)]),this[_0x1157d3(0x1ef)][_0x1157d3(0x1ea)][_0x1157d3(0x1c2)][_0x1157d3(0x205)](_0x1157d3(0x1cc))['to'](this,_0x1157d3(0x1cb));const _0x3aca10=this[_0x1157d3(0x1c5)];this[_0x1157d3(0x207)]({'tag':_0x1157d3(0x1be),'attributes':{'class':['ck',_0x1157d3(0x1e2),_0x1a26e0],'tabindex':'-1'},'children':[{'tag':_0x1157d3(0x1be),'attributes':{'class':['ck',_0x1157d3(0x1d8)]},'children':[{'tag':_0x1157d3(0x1be),'attributes':{'class':[_0x3aca10['if'](_0x1157d3(0x1ed),_0x1157d3(0x1fb),_0x4adcb9=>!_0x4adcb9)]},'children':[this[_0x1157d3(0x1cf)]]},this[_0x1157d3(0x1f9)],this[_0x1157d3(0x1d5)],this[_0x1157d3(0x1ef)]]}]});}[_0x48711b(0x1d2)](){const _0x241766=_0x48711b;super[_0x241766(0x1d2)](),this[_0x241766(0x1fd)][_0x241766(0x1b5)](this[_0x241766(0x1f9)][_0x241766(0x1ca)]),this[_0x241766(0x1fd)][_0x241766(0x1b5)](this[_0x241766(0x1f9)][_0x241766(0x1ba)][_0x241766(0x1ca)]),this[_0x241766(0x1fd)][_0x241766(0x1b5)](this[_0x241766(0x1d5)][_0x241766(0x1ca)]),this[_0x241766(0x1fd)][_0x241766(0x1b5)](this[_0x241766(0x1ef)][_0x241766(0x1ca)]),this[_0x241766(0x201)][_0x241766(0x1f2)](this[_0x241766(0x1ca)]);}[_0x48711b(0x1db)](_0x5e55e6=0x1){const _0x2afbef=_0x48711b;-0x1===_0x5e55e6?this[_0x2afbef(0x1ec)][_0x2afbef(0x1e4)]():this[_0x2afbef(0x1ec)][_0x2afbef(0x1c9)]();}[_0x48711b(0x1b9)](){const _0x32552b=_0x48711b;this[_0x32552b(0x1cb)]='',this[_0x32552b(0x1cc)]='',this[_0x32552b(0x1ed)]=!0x1,this[_0x32552b(0x1ef)][_0x32552b(0x1b9)](),this[_0x32552b(0x1f9)][_0x32552b(0x1f8)]=!0x1,this[_0x32552b(0x1d5)][_0x32552b(0x1f8)]=!0x1;}[_0x48711b(0x1f1)](){const _0x3a5f3f=_0x48711b,_0x42a6b1=this[_0x3a5f3f(0x1d7)],_0x495740=new _0x1b489f(_0x42a6b1,{'queryView':{'label':_0x57f408(_0x42a6b1,_0x3a5f3f(0x1f4)),'creator':_0x2cd075,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x57f408(_0x42a6b1,_0x3a5f3f(0x203)),'secondary':_0x57f408(_0x42a6b1,_0x3a5f3f(0x1dd))}}},'filteredView':this[_0x3a5f3f(0x202)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x495740[_0x3a5f3f(0x205)](_0x3a5f3f(0x1ff))['to'](this,_0x3a5f3f(0x1ff),this,_0x3a5f3f(0x1cd),(_0x3ff317,_0x171c4c)=>_0x3ff317&&!_0x171c4c),this[_0x3a5f3f(0x1f2)](_0x495740,_0x3a5f3f(0x1e6),(_0x53f1b9,_0x5d8ac9)=>{const _0x46d5ba=_0x3a5f3f;this[_0x46d5ba(0x1cb)]=_0x5d8ac9;const _0x156925=_0x127cc8(_0x5d8ac9);this[_0x46d5ba(0x1eb)](_0x46d5ba(0x1da),_0x156925),_0x5d8ac9[_0x46d5ba(0x1dc)]()&&this[_0x46d5ba(0x1d6)][_0x46d5ba(0x1b5)]({'prompt':_0x156925},0x0);},{'priority':_0x3a5f3f(0x1e7)}),_0x495740;}[_0x48711b(0x202)](){const _0x482ea9=_0x48711b,_0x31bf3b=new _0x33329c(this[_0x482ea9(0x1d7)]);return _0x31bf3b[_0x482ea9(0x1bf)][_0x482ea9(0x200)][_0x482ea9(0x1bc)](this[_0x482ea9(0x1d6)])['as'](_0x592e7b),_0x31bf3b['on'](_0x482ea9(0x1e8),()=>{const _0x45ac4f=_0x482ea9;this[_0x45ac4f(0x1d6)][_0x45ac4f(0x1c1)](),this[_0x45ac4f(0x1ef)][_0x45ac4f(0x1d0)](''),this[_0x45ac4f(0x1ef)][_0x45ac4f(0x1db)]();}),_0x31bf3b;}[_0x48711b(0x1f5)](){const _0x5e5b5e=_0x48711b,_0x50b203=new _0x1fd9e3(this[_0x5e5b5e(0x1d7)]);return _0x50b203[_0x5e5b5e(0x1d4)][_0x5e5b5e(0x205)](_0x5e5b5e(0x1ff))['to'](this,_0x5e5b5e(0x1ff),this,_0x5e5b5e(0x1cd),this,_0x5e5b5e(0x1cc),(_0x36272e,_0x55a18a,_0x331a35)=>_0x36272e&&!_0x55a18a&&!!_0x331a35),_0x50b203[_0x5e5b5e(0x1d4)][_0x5e5b5e(0x1c0)](_0x5e5b5e(0x1c3))['to'](this,_0x5e5b5e(0x1f3)),_0x50b203[_0x5e5b5e(0x1e3)][_0x5e5b5e(0x205)](_0x5e5b5e(0x1ff))['to'](this,_0x5e5b5e(0x1ff),this,_0x5e5b5e(0x1cd),this,_0x5e5b5e(0x1cc),(_0x2b21b5,_0x1358dc,_0x4d95a6)=>_0x2b21b5&&!_0x1358dc&&!!_0x4d95a6),_0x50b203[_0x5e5b5e(0x1e3)][_0x5e5b5e(0x1c0)](_0x5e5b5e(0x1c3))['to'](this,_0x5e5b5e(0x206)),_0x50b203[_0x5e5b5e(0x1d9)][_0x5e5b5e(0x205)](_0x5e5b5e(0x1ff))['to'](this,_0x5e5b5e(0x1ff),this,_0x5e5b5e(0x1cd),(_0x5b7430,_0x460104)=>_0x5b7430&&!_0x460104),_0x50b203[_0x5e5b5e(0x1d9)][_0x5e5b5e(0x1c0)](_0x5e5b5e(0x1c3))['to'](this,_0x5e5b5e(0x1f6)),_0x50b203[_0x5e5b5e(0x1c4)][_0x5e5b5e(0x205)](_0x5e5b5e(0x1ff))['to'](this,_0x5e5b5e(0x1cd)),_0x50b203[_0x5e5b5e(0x1c4)][_0x5e5b5e(0x1c0)](_0x5e5b5e(0x1c3))['to'](this,_0x5e5b5e(0x208)),_0x50b203;}[_0x48711b(0x1b7)](){const _0x36ec7d=_0x48711b;this[_0x36ec7d(0x1cc)]='',this[_0x36ec7d(0x1ed)]=!0x1,this[_0x36ec7d(0x1cd)]=!0x0,this[_0x36ec7d(0x1f9)][_0x36ec7d(0x1f8)]=!0x0,this[_0x36ec7d(0x1d5)][_0x36ec7d(0x1f8)]=!0x0,this[_0x36ec7d(0x1f9)][_0x36ec7d(0x1db)]();}[_0x48711b(0x1de)](){const _0x49189f=_0x48711b,_0x5ee71e=this[_0x49189f(0x1d7)];this[_0x49189f(0x1cd)]=!0x1,this[_0x49189f(0x1cb)]='',this[_0x49189f(0x1ef)][_0x49189f(0x1b9)](),this[_0x49189f(0x1cc)]&&(this[_0x49189f(0x1ef)][_0x49189f(0x1ea)][_0x49189f(0x1c7)]=_0x57f408(_0x5ee71e,_0x49189f(0x1d1)));}[_0x48711b(0x1bb)](_0x148795){const _0x34b47a=_0x48711b,_0x34b4f2=this[_0x34b47a(0x1d7)];this[_0x34b47a(0x1de)](),this[_0x34b47a(0x1ed)]=!0x0,this[_0x34b47a(0x1cf)][_0x34b47a(0x1b6)]=_0x148795||_0x57f408(_0x34b4f2,_0x34b47a(0x204)),this[_0x34b47a(0x1cc)]||(this[_0x34b47a(0x1f9)][_0x34b47a(0x1f8)]=!0x1);}}
23
+ function _0x35d1(){const _0x2e8d9f=['element','startProcessing','trim','isProcessing','467583SvHjEk','Empty\x20history','delegate','_createToolbar','historyGroupView','replaceContent','focus','listenTo','Ask\x20AI\x20to\x20improve\x20generated\x20text','ck-hidden','errorView','insertContentBelow','bind','11722272dvljKf','tryAgainButton','label','fire','isError','_createPromptView','copyButtonView','bindTo','handleError','chain','700176BloklX','value','submitPrompt','1087632mOgoyb','6VmwnMb','focusTracker','ck-ai-form','render','setTemplate','submit','promptView','fieldView','prompt','tab','set','clearHistory','add','_promptHistory','AI_ERROR_FAILED','stopButton','_createHistoryView','isEnabled','ck-ai-form-content','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusLast','finishProcessing','bindTemplate','clear','search','text','isVisible','createCollection','14788nduSHI','reset','queryView','keystrokes','_focusables','high','2617695oJbGoY','contentArea','stopProcessing','focusCycler','Ask\x20AI\x20to\x20edit\x20or\x20generate','2153943fKTPWu','replaceButton','insertButton','REPLACE','shift\x20+\x20tab','tryAgainEvent','locale','focusFirst','execute','mainAction','toolbar','items','div'];_0x35d1=function(){return _0x2e8d9f;};return _0x35d1();}const _0xd6a836=_0xf3fa;(function(_0x2cc29d,_0x27c4d7){const _0x577107=_0xf3fa,_0x18d891=_0x2cc29d();while(!![]){try{const _0x461177=parseInt(_0x577107(0x179))/0x1+-parseInt(_0x577107(0x13d))/0x2+-parseInt(_0x577107(0x168))/0x3+parseInt(_0x577107(0x15d))/0x4+parseInt(_0x577107(0x163))/0x5*(-parseInt(_0x577107(0x141))/0x6)+parseInt(_0x577107(0x140))/0x7+parseInt(_0x577107(0x133))/0x8;if(_0x461177===_0x27c4d7)break;else _0x18d891['push'](_0x18d891['shift']());}catch(_0x46e7cb){_0x18d891['push'](_0x18d891['shift']());}}}(_0x35d1,0x7a26c));import{FocusTracker as _0x3b34eb,KeystrokeHandler as _0x5b5e24}from'ckeditor5/src/utils.js';import{View as _0x3e9b83,FocusCycler as _0x3fa3c1,createLabeledTextarea as _0x2b7e8a}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x3efd8e,AIFormToolbarViewMainActionLabel as _0x1c9b6d}from'./aiformtoolbarview.js';import{AIFormContentArea as _0xc96067}from'./aiformcontentarea.js';import{AIFormErrorView as _0x12a7c2}from'./aiformerrorview.js';import{AIFormPromptView as _0x1c2f6b}from'./aiformpromptview.js';import{AIHistoryListView as _0x451606}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x4b0876}from'./aihistorylistitemview.js';import{PromptHistory as _0x216173}from'./prompthistory.js';import{getTranslation as _0x4a025b}from'../../utils/common-translations.js';import{escape as _0x39c286}from'es-toolkit/compat';function _0xf3fa(_0x3dcce0,_0x37e4da){const _0x35d1a0=_0x35d1();return _0xf3fa=function(_0xf3fa4a,_0x594255){_0xf3fa4a=_0xf3fa4a-0x12b;let _0x250bc6=_0x35d1a0[_0xf3fa4a];return _0x250bc6;},_0xf3fa(_0x3dcce0,_0x37e4da);}export class AIFormView extends _0x3e9b83{[_0xd6a836(0x142)];[_0xd6a836(0x160)];[_0xd6a836(0x164)];[_0xd6a836(0x172)];[_0xd6a836(0x147)];[_0xd6a836(0x130)];[_0xd6a836(0x161)];[_0xd6a836(0x166)];[_0xd6a836(0x14e)];constructor(_0x4abf63,_0x2da250,_0x30583=''){const _0x8a7e02=_0xd6a836;super(_0x4abf63),this[_0x8a7e02(0x14b)](_0x8a7e02(0x152),!0x0),this[_0x8a7e02(0x14b)](_0x8a7e02(0x178),!0x1),this[_0x8a7e02(0x14b)](_0x8a7e02(0x149),''),this[_0x8a7e02(0x14b)](_0x8a7e02(0x13e),''),this[_0x8a7e02(0x14b)](_0x8a7e02(0x137),!0x1),this[_0x8a7e02(0x14b)](_0x8a7e02(0x171),_0x1c9b6d[_0x8a7e02(0x16b)]),this[_0x8a7e02(0x14e)]=new _0x216173(),this[_0x8a7e02(0x130)]=new _0x12a7c2(_0x4abf63),this[_0x8a7e02(0x164)]=new _0xc96067(_0x4abf63,_0x30583),this[_0x8a7e02(0x164)][_0x8a7e02(0x132)](_0x8a7e02(0x178))['to'](this),this[_0x8a7e02(0x164)][_0x8a7e02(0x132)](_0x8a7e02(0x13e))['to'](this),this[_0x8a7e02(0x172)]=this[_0x8a7e02(0x17c)](),this[_0x8a7e02(0x172)][_0x8a7e02(0x132)](_0x8a7e02(0x171))['to'](this),this[_0x8a7e02(0x147)]=this[_0x8a7e02(0x138)](),this[_0x8a7e02(0x142)]=new _0x3b34eb(),this[_0x8a7e02(0x160)]=new _0x5b5e24(),this[_0x8a7e02(0x161)]=this[_0x8a7e02(0x15c)]([this[_0x8a7e02(0x164)],this[_0x8a7e02(0x164)][_0x8a7e02(0x139)],this[_0x8a7e02(0x172)],this[_0x8a7e02(0x147)]]),this[_0x8a7e02(0x166)]=new _0x3fa3c1({'focusables':this[_0x8a7e02(0x161)],'focusTracker':this[_0x8a7e02(0x142)],'keystrokeHandler':this[_0x8a7e02(0x160)],'actions':{'focusPrevious':_0x8a7e02(0x16c),'focusNext':_0x8a7e02(0x14a)}}),this[_0x8a7e02(0x166)][_0x8a7e02(0x13c)](this[_0x8a7e02(0x147)][_0x8a7e02(0x166)]),this[_0x8a7e02(0x147)][_0x8a7e02(0x15f)][_0x8a7e02(0x148)][_0x8a7e02(0x132)](_0x8a7e02(0x13e))['to'](this,_0x8a7e02(0x149));const _0x37faca=this[_0x8a7e02(0x157)];this[_0x8a7e02(0x145)]({'tag':_0x8a7e02(0x174),'attributes':{'class':['ck',_0x8a7e02(0x143),_0x2da250],'tabindex':'-1'},'children':[{'tag':_0x8a7e02(0x174),'attributes':{'class':['ck',_0x8a7e02(0x153)]},'children':[{'tag':_0x8a7e02(0x174),'attributes':{'class':[_0x37faca['if'](_0x8a7e02(0x137),_0x8a7e02(0x12f),_0x3d2e73=>!_0x3d2e73)]},'children':[this[_0x8a7e02(0x130)]]},this[_0x8a7e02(0x164)],this[_0x8a7e02(0x172)],this[_0x8a7e02(0x147)]]}]});}[_0xd6a836(0x144)](){const _0x933c3b=_0xd6a836;super[_0x933c3b(0x144)](),this[_0x933c3b(0x142)][_0x933c3b(0x14d)](this[_0x933c3b(0x164)][_0x933c3b(0x175)]),this[_0x933c3b(0x142)][_0x933c3b(0x14d)](this[_0x933c3b(0x164)][_0x933c3b(0x139)][_0x933c3b(0x175)]),this[_0x933c3b(0x142)][_0x933c3b(0x14d)](this[_0x933c3b(0x172)][_0x933c3b(0x175)]),this[_0x933c3b(0x142)][_0x933c3b(0x14d)](this[_0x933c3b(0x147)][_0x933c3b(0x175)]),this[_0x933c3b(0x160)][_0x933c3b(0x12d)](this[_0x933c3b(0x175)]);}[_0xd6a836(0x12c)](_0x13432f=0x1){const _0x3c0f11=_0xd6a836;-0x1===_0x13432f?this[_0x3c0f11(0x166)][_0x3c0f11(0x155)]():this[_0x3c0f11(0x166)][_0x3c0f11(0x16f)]();}[_0xd6a836(0x15e)](){const _0x2d38bd=_0xd6a836;this[_0x2d38bd(0x149)]='',this[_0x2d38bd(0x13e)]='',this[_0x2d38bd(0x137)]=!0x1,this[_0x2d38bd(0x147)][_0x2d38bd(0x15e)](),this[_0x2d38bd(0x164)][_0x2d38bd(0x15b)]=!0x1,this[_0x2d38bd(0x172)][_0x2d38bd(0x15b)]=!0x1;}[_0xd6a836(0x138)](){const _0x4a98bc=_0xd6a836,_0x260e74=this[_0x4a98bc(0x16e)],_0x2cdcac=new _0x1c2f6b(_0x260e74,{'queryView':{'label':_0x4a025b(_0x260e74,_0x4a98bc(0x167)),'creator':_0x2b7e8a,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4a025b(_0x260e74,_0x4a98bc(0x17a)),'secondary':_0x4a025b(_0x260e74,_0x4a98bc(0x154))}}},'filteredView':this[_0x4a98bc(0x151)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2cdcac[_0x4a98bc(0x132)](_0x4a98bc(0x152))['to'](this,_0x4a98bc(0x152),this,_0x4a98bc(0x178),(_0x3c8ea4,_0x1d85d1)=>_0x3c8ea4&&!_0x1d85d1),this[_0x4a98bc(0x12d)](_0x2cdcac,_0x4a98bc(0x146),(_0xc01f2c,_0x78b573)=>{const _0x5d0bce=_0x4a98bc;this[_0x5d0bce(0x149)]=_0x78b573;const _0x396ebb=_0x39c286(_0x78b573);this[_0x5d0bce(0x136)](_0x5d0bce(0x13f),_0x396ebb),_0x78b573[_0x5d0bce(0x177)]()&&this[_0x5d0bce(0x14e)][_0x5d0bce(0x14d)]({'prompt':_0x396ebb},0x0);},{'priority':_0x4a98bc(0x162)}),_0x2cdcac;}[_0xd6a836(0x151)](){const _0x30b899=_0xd6a836,_0x3be426=new _0x451606(this[_0x30b899(0x16e)]);return _0x3be426[_0x30b899(0x17d)][_0x30b899(0x173)][_0x30b899(0x13a)](this[_0x30b899(0x14e)])['as'](_0x4b0876),_0x3be426['on'](_0x30b899(0x14c),()=>{const _0x4c5c69=_0x30b899;this[_0x4c5c69(0x14e)][_0x4c5c69(0x158)](),this[_0x4c5c69(0x147)][_0x4c5c69(0x159)](''),this[_0x4c5c69(0x147)][_0x4c5c69(0x12c)]();}),_0x3be426;}[_0xd6a836(0x17c)](){const _0x1f33a5=_0xd6a836,_0x44931c=new _0x3efd8e(this[_0x1f33a5(0x16e)]);return _0x44931c[_0x1f33a5(0x169)][_0x1f33a5(0x132)](_0x1f33a5(0x152))['to'](this,_0x1f33a5(0x152),this,_0x1f33a5(0x178),this,_0x1f33a5(0x13e),(_0x622b8,_0x5a9d97,_0xa721fa)=>_0x622b8&&!_0x5a9d97&&!!_0xa721fa),_0x44931c[_0x1f33a5(0x169)][_0x1f33a5(0x17b)](_0x1f33a5(0x170))['to'](this,_0x1f33a5(0x12b)),_0x44931c[_0x1f33a5(0x16a)][_0x1f33a5(0x132)](_0x1f33a5(0x152))['to'](this,_0x1f33a5(0x152),this,_0x1f33a5(0x178),this,_0x1f33a5(0x13e),(_0x3f06ea,_0x14bd73,_0x2af92a)=>_0x3f06ea&&!_0x14bd73&&!!_0x2af92a),_0x44931c[_0x1f33a5(0x16a)][_0x1f33a5(0x17b)](_0x1f33a5(0x170))['to'](this,_0x1f33a5(0x131)),_0x44931c[_0x1f33a5(0x134)][_0x1f33a5(0x132)](_0x1f33a5(0x152))['to'](this,_0x1f33a5(0x152),this,_0x1f33a5(0x178),(_0x1a24aa,_0x4ffc11)=>_0x1a24aa&&!_0x4ffc11),_0x44931c[_0x1f33a5(0x134)][_0x1f33a5(0x17b)](_0x1f33a5(0x170))['to'](this,_0x1f33a5(0x16d)),_0x44931c[_0x1f33a5(0x150)][_0x1f33a5(0x132)](_0x1f33a5(0x152))['to'](this,_0x1f33a5(0x178)),_0x44931c[_0x1f33a5(0x150)][_0x1f33a5(0x17b)](_0x1f33a5(0x170))['to'](this,_0x1f33a5(0x165)),_0x44931c;}[_0xd6a836(0x176)](){const _0x175806=_0xd6a836;this[_0x175806(0x13e)]='',this[_0x175806(0x137)]=!0x1,this[_0x175806(0x178)]=!0x0,this[_0x175806(0x164)][_0x175806(0x15b)]=!0x0,this[_0x175806(0x172)][_0x175806(0x15b)]=!0x0,this[_0x175806(0x164)][_0x175806(0x12c)]();}[_0xd6a836(0x156)](){const _0x4d09bf=_0xd6a836,_0x29ba02=this[_0x4d09bf(0x16e)];this[_0x4d09bf(0x178)]=!0x1,this[_0x4d09bf(0x149)]='',this[_0x4d09bf(0x147)][_0x4d09bf(0x15e)](),this[_0x4d09bf(0x13e)]&&(this[_0x4d09bf(0x147)][_0x4d09bf(0x15f)][_0x4d09bf(0x135)]=_0x4a025b(_0x29ba02,_0x4d09bf(0x12e)));}[_0xd6a836(0x13b)](_0x3688d1){const _0x53468e=_0xd6a836,_0x51a039=this[_0x53468e(0x16e)];this[_0x53468e(0x156)](),this[_0x53468e(0x137)]=!0x0,this[_0x53468e(0x130)][_0x53468e(0x15a)]=_0x3688d1||_0x4a025b(_0x51a039,_0x53468e(0x14f)),this[_0x53468e(0x13e)]||(this[_0x53468e(0x164)][_0x53468e(0x15b)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3caada,_0x4daa66){const _0x571bd1=_0x2ec4,_0x190ad3=_0x3caada();while(!![]){try{const _0x2f9e6e=-parseInt(_0x571bd1(0xba))/0x1+parseInt(_0x571bd1(0xb9))/0x2+parseInt(_0x571bd1(0xc1))/0x3*(-parseInt(_0x571bd1(0xc3))/0x4)+parseInt(_0x571bd1(0xc2))/0x5+-parseInt(_0x571bd1(0xbc))/0x6*(parseInt(_0x571bd1(0xbd))/0x7)+parseInt(_0x571bd1(0xbb))/0x8+parseInt(_0x571bd1(0xc0))/0x9*(parseInt(_0x571bd1(0xb8))/0xa);if(_0x2f9e6e===_0x4daa66)break;else _0x190ad3['push'](_0x190ad3['shift']());}catch(_0x1e6d58){_0x190ad3['push'](_0x190ad3['shift']());}}}(_0x1d79,0x8af3a));import{ListItemView as _0x4044c7,ButtonView as _0x4779ef,ButtonLabelView as _0x59a8e3}from'ckeditor5/src/ui.js';function _0x1d79(){const _0x52cac0=['784020aTvMlE','156932AHliqY','prompt','locale','execute','children','fire','730sCibVy','768180IOyEDr','1108076UulZno','6579968agnMQk','252krqsAH','13853kgLqcB','set','add','140841YZaBfQ','57xYRrrK'];_0x1d79=function(){return _0x52cac0;};return _0x1d79();}function _0x2ec4(_0x41670f,_0x1f4861){const _0x1d79df=_0x1d79();return _0x2ec4=function(_0x2ec436,_0x20997b){_0x2ec436=_0x2ec436-0xb8;let _0x5dcb56=_0x1d79df[_0x2ec436];return _0x5dcb56;},_0x2ec4(_0x41670f,_0x1f4861);}import{unescape as _0x4672fc}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x4044c7{constructor(_0x2d1df0){const _0x2f6644=_0x2ec4;super();const _0x87b40c=new _0x59a8e3(),_0x440bec=new _0x4779ef(this[_0x2f6644(0xc5)],_0x87b40c);this[_0x2f6644(0xc7)][_0x2f6644(0xbf)](_0x440bec),_0x440bec[_0x2f6644(0xbe)]({'label':_0x2d1df0[_0x2f6644(0xc4)],'withText':!0x0}),_0x440bec['on'](_0x2f6644(0xc6),()=>{const _0x584d26=_0x2f6644;this[_0x584d26(0xc8)](_0x584d26(0xc6),{'value':_0x4672fc(_0x2d1df0[_0x584d26(0xc4)])});});}}
23
+ function _0x1e5b(_0xf6dbcc,_0x5e5c5f){const _0x23811e=_0x2381();return _0x1e5b=function(_0x1e5b40,_0x13a494){_0x1e5b40=_0x1e5b40-0x1f4;let _0x5b68da=_0x23811e[_0x1e5b40];return _0x5b68da;},_0x1e5b(_0xf6dbcc,_0x5e5c5f);}(function(_0x1269d9,_0x401e4f){const _0x186d4e=_0x1e5b,_0x84d139=_0x1269d9();while(!![]){try{const _0x14af01=parseInt(_0x186d4e(0x1fd))/0x1+parseInt(_0x186d4e(0x1f8))/0x2+parseInt(_0x186d4e(0x1fc))/0x3+parseInt(_0x186d4e(0x1f4))/0x4+-parseInt(_0x186d4e(0x203))/0x5+parseInt(_0x186d4e(0x1fb))/0x6*(-parseInt(_0x186d4e(0x1f9))/0x7)+-parseInt(_0x186d4e(0x1fe))/0x8*(parseInt(_0x186d4e(0x1f5))/0x9);if(_0x14af01===_0x401e4f)break;else _0x84d139['push'](_0x84d139['shift']());}catch(_0x34cad4){_0x84d139['push'](_0x84d139['shift']());}}}(_0x2381,0x669f6));import{ListItemView as _0x1f6c55,ButtonView as _0x295c07,ButtonLabelView as _0x1afec6}from'ckeditor5/src/ui.js';function _0x2381(){const _0xbcf534=['fire','execute','locale','133145lLfyge','1754360TTRJxQ','270594azVmYK','set','children','847258UZnwXv','7CoPzbI','add','4241466esBNfW','2306127xIBmcn','815792FkWETM','344xQdeKH','prompt'];_0x2381=function(){return _0xbcf534;};return _0x2381();}import{unescape as _0x10a58c}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x1f6c55{constructor(_0x395324){const _0x52b441=_0x1e5b;super();const _0x5e3a95=new _0x1afec6(),_0x541e73=new _0x295c07(this[_0x52b441(0x202)],_0x5e3a95);this[_0x52b441(0x1f7)][_0x52b441(0x1fa)](_0x541e73),_0x541e73[_0x52b441(0x1f6)]({'label':_0x395324[_0x52b441(0x1ff)],'withText':!0x0}),_0x541e73['on'](_0x52b441(0x201),()=>{const _0xdcd5fb=_0x52b441;this[_0xdcd5fb(0x200)](_0xdcd5fb(0x201),{'value':_0x10a58c(_0x395324[_0xdcd5fb(0x1ff)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ae3(){const _0x4bb96e=['clearHistory','add','224661cPLiQb','length','6zipXTU','3704094EmjIlR','delegate','24nAGGEk','1600336WAWlRv','1216265eAfFLT','historyGroupView','296804kjtoya','41107kpGLqm','20eDoxKk','clearHistoryButton','execute','10985754IKKYdt','Prompt\x20history','items','fire','28PBeVHy','2388jnXmXl','locale','filter','label','Clear','children','12ugfraY','_createClearHistoryButton','set'];_0x5ae3=function(){return _0x4bb96e;};return _0x5ae3();}function _0x2b2d(_0x454b9e,_0x591290){const _0x5ae3e3=_0x5ae3();return _0x2b2d=function(_0x2b2d8d,_0x47d81d){_0x2b2d8d=_0x2b2d8d-0x126;let _0x57786f=_0x5ae3e3[_0x2b2d8d];return _0x57786f;},_0x2b2d(_0x454b9e,_0x591290);}const _0x1b8cfe=_0x2b2d;(function(_0x958543,_0x546bb4){const _0x30572c=_0x2b2d,_0x5708fe=_0x958543();while(!![]){try{const _0x23d887=parseInt(_0x30572c(0x141))/0x1*(parseInt(_0x30572c(0x143))/0x2)+-parseInt(_0x30572c(0x128))/0x3*(parseInt(_0x30572c(0x12c))/0x4)+-parseInt(_0x30572c(0x12a))/0x5*(-parseInt(_0x30572c(0x13c))/0x6)+-parseInt(_0x30572c(0x135))/0x7*(parseInt(_0x30572c(0x129))/0x8)+parseInt(_0x30572c(0x126))/0x9*(parseInt(_0x30572c(0x12e))/0xa)+-parseInt(_0x30572c(0x12d))/0xb*(-parseInt(_0x30572c(0x136))/0xc)+-parseInt(_0x30572c(0x131))/0xd;if(_0x23d887===_0x546bb4)break;else _0x5708fe['push'](_0x5708fe['shift']());}catch(_0x1d8d07){_0x5708fe['push'](_0x5708fe['shift']());}}}(_0x5ae3,0x77402));import{ListView as _0x30d99c,ListItemGroupView as _0x41cd37,ButtonView as _0x6be3b2}from'ckeditor5/src/ui.js';import{getTranslation as _0x273790}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x30d99c{[_0x1b8cfe(0x12b)];[_0x1b8cfe(0x12f)];constructor(_0x28b647){const _0x5863f3=_0x1b8cfe;super(_0x28b647),this[_0x5863f3(0x12f)]=this[_0x5863f3(0x13d)](),this[_0x5863f3(0x12b)]=new _0x41cd37(),this[_0x5863f3(0x12b)][_0x5863f3(0x13b)][_0x5863f3(0x140)](this[_0x5863f3(0x12f)],0x1),this[_0x5863f3(0x12b)][_0x5863f3(0x139)]=_0x273790(_0x28b647,_0x5863f3(0x132)),this[_0x5863f3(0x12b)][_0x5863f3(0x133)][_0x5863f3(0x127)](_0x5863f3(0x130))['to'](this),this[_0x5863f3(0x133)][_0x5863f3(0x140)](this[_0x5863f3(0x12b)]);}[_0x1b8cfe(0x138)](){const _0x15b119=_0x1b8cfe;let _0x323b55=0x0;for(const _0x2a76e6 of this[_0x15b119(0x133)])_0x323b55+=_0x2a76e6[_0x15b119(0x133)][_0x15b119(0x142)];return{'resultsCount':_0x323b55,'totalItemsCount':_0x323b55};}[_0x1b8cfe(0x13d)](){const _0x5e81ca=_0x1b8cfe,_0x63a243=this[_0x5e81ca(0x137)],_0xebd349=new _0x6be3b2(this[_0x5e81ca(0x137)]);return _0xebd349[_0x5e81ca(0x13e)]({'label':'('+_0x273790(_0x63a243,_0x5e81ca(0x13a))+')','withText':!0x0}),_0xebd349['on'](_0x5e81ca(0x130),()=>this[_0x5e81ca(0x134)](_0x5e81ca(0x13f))),_0xebd349;}}
23
+ const _0x544934=_0x1daa;function _0x1daa(_0x3fcd51,_0x293b57){const _0x164614=_0x1646();return _0x1daa=function(_0x1daa8e,_0x5dc9ee){_0x1daa8e=_0x1daa8e-0x1ad;let _0x115563=_0x164614[_0x1daa8e];return _0x115563;},_0x1daa(_0x3fcd51,_0x293b57);}(function(_0x29679e,_0xa9f304){const _0x189a1e=_0x1daa,_0x445ee3=_0x29679e();while(!![]){try{const _0x3041fe=-parseInt(_0x189a1e(0x1af))/0x1*(-parseInt(_0x189a1e(0x1b0))/0x2)+parseInt(_0x189a1e(0x1b5))/0x3+-parseInt(_0x189a1e(0x1c3))/0x4*(-parseInt(_0x189a1e(0x1b6))/0x5)+parseInt(_0x189a1e(0x1c4))/0x6+-parseInt(_0x189a1e(0x1c6))/0x7+-parseInt(_0x189a1e(0x1b9))/0x8*(parseInt(_0x189a1e(0x1bb))/0x9)+-parseInt(_0x189a1e(0x1bf))/0xa;if(_0x3041fe===_0xa9f304)break;else _0x445ee3['push'](_0x445ee3['shift']());}catch(_0x1caf20){_0x445ee3['push'](_0x445ee3['shift']());}}}(_0x1646,0x8a281));import{ListView as _0xbc4f76,ListItemGroupView as _0x399152,ButtonView as _0x1a7144}from'ckeditor5/src/ui.js';function _0x1646(){const _0x3818b8=['label','2836248gnVajN','children','18IpMmwo','length','execute','Prompt\x20history','9860150cvXgVX','clearHistoryButton','items','historyGroupView','383036EYLdnF','6097344GHjvXv','fire','3616228MoumYM','Clear','clearHistory','set','514403BepajR','4valmgz','add','delegate','filter','locale','761235DZGwZA','25UNxnnj','_createClearHistoryButton'];_0x1646=function(){return _0x3818b8;};return _0x1646();}import{getTranslation as _0x44e907}from'../../utils/common-translations.js';export class AIHistoryListView extends _0xbc4f76{[_0x544934(0x1c2)];[_0x544934(0x1c0)];constructor(_0x1018ac){const _0x402cda=_0x544934;super(_0x1018ac),this[_0x402cda(0x1c0)]=this[_0x402cda(0x1b7)](),this[_0x402cda(0x1c2)]=new _0x399152(),this[_0x402cda(0x1c2)][_0x402cda(0x1ba)][_0x402cda(0x1b1)](this[_0x402cda(0x1c0)],0x1),this[_0x402cda(0x1c2)][_0x402cda(0x1b8)]=_0x44e907(_0x1018ac,_0x402cda(0x1be)),this[_0x402cda(0x1c2)][_0x402cda(0x1c1)][_0x402cda(0x1b2)](_0x402cda(0x1bd))['to'](this),this[_0x402cda(0x1c1)][_0x402cda(0x1b1)](this[_0x402cda(0x1c2)]);}[_0x544934(0x1b3)](){const _0x372f33=_0x544934;let _0x49b98a=0x0;for(const _0x29518b of this[_0x372f33(0x1c1)])_0x49b98a+=_0x29518b[_0x372f33(0x1c1)][_0x372f33(0x1bc)];return{'resultsCount':_0x49b98a,'totalItemsCount':_0x49b98a};}[_0x544934(0x1b7)](){const _0xaa0bea=_0x544934,_0x4611cd=this[_0xaa0bea(0x1b4)],_0x2e69da=new _0x1a7144(this[_0xaa0bea(0x1b4)]);return _0x2e69da[_0xaa0bea(0x1ae)]({'label':'('+_0x44e907(_0x4611cd,_0xaa0bea(0x1c7))+')','withText':!0x0}),_0x2e69da['on'](_0xaa0bea(0x1bd),()=>this[_0xaa0bea(0x1c5)](_0xaa0bea(0x1ad))),_0x2e69da;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e07d5=_0xe163;function _0xe163(_0x17f269,_0x4f2f4c){const _0xaa3afa=_0xaa3a();return _0xe163=function(_0xe163c2,_0x441bb7){_0xe163c2=_0xe163c2-0x1b3;let _0x319d83=_0xaa3afa[_0xe163c2];return _0x319d83;},_0xe163(_0x17f269,_0x4f2f4c);}function _0xaa3a(){const _0x33aadf=['2239390jrRqBL','_loadFromSessionStorage','map','_saveToSessionStorage','1004778EQuRWA','add','parse','addMany','765146npmash','last','stringify','getItem','79876gRtwnu','434UQMAWa','6WLTXmg','5036420YGsHmV','remove','toLowerCase','112488PGCSBT','prompt','length','104nKiaYn','CKEditor/AIFormView/PromptHistory','11835WhkNpe','setItem','trim'];_0xaa3a=function(){return _0x33aadf;};return _0xaa3a();}(function(_0x49c081,_0x5444cc){const _0x4feec5=_0xe163,_0x262049=_0x49c081();while(!![]){try{const _0x54a035=-parseInt(_0x4feec5(0x1bc))/0x1+parseInt(_0x4feec5(0x1b8))/0x2+parseInt(_0x4feec5(0x1c7))/0x3*(parseInt(_0x4feec5(0x1c5))/0x4)+parseInt(_0x4feec5(0x1ca))/0x5*(-parseInt(_0x4feec5(0x1be))/0x6)+parseInt(_0x4feec5(0x1bd))/0x7*(parseInt(_0x4feec5(0x1c2))/0x8)+parseInt(_0x4feec5(0x1b4))/0x9+-parseInt(_0x4feec5(0x1bf))/0xa;if(_0x54a035===_0x5444cc)break;else _0x262049['push'](_0x262049['shift']());}catch(_0x51a19c){_0x262049['push'](_0x262049['shift']());}}}(_0xaa3a,0x6abb3));import{Collection as _0x2c5c92}from'ckeditor5/src/utils.js';const Ko=_0x3e07d5(0x1c6);export class PromptHistory extends _0x2c5c92{constructor(){const _0x9b41ae=_0x3e07d5;super(),this[_0x9b41ae(0x1cb)](),this['on'](_0x9b41ae(0x1b5),(_0x2dea8e,_0x43a44d)=>{const _0x2e7840=_0x9b41ae,_0x18c47e=Qo(_0x43a44d[_0x2e7840(0x1c3)]);for(const _0x5117fa of this)if(_0x5117fa!=_0x43a44d&&Qo(_0x5117fa[_0x2e7840(0x1c3)])===_0x18c47e){this[_0x2e7840(0x1c0)](_0x5117fa);break;}this[_0x2e7840(0x1c4)]>0x14&&this[_0x2e7840(0x1c0)](this[_0x2e7840(0x1b9)]),this[_0x2e7840(0x1b3)]();}),this['on'](_0x9b41ae(0x1c0),()=>{const _0x3e9fd3=_0x9b41ae;this[_0x3e9fd3(0x1b3)]();});}[_0x3e07d5(0x1cb)](){const _0x4155db=_0x3e07d5,_0xfcbc3e=sessionStorage[_0x4155db(0x1bb)](Ko)||'[]';this[_0x4155db(0x1b7)](JSON[_0x4155db(0x1b6)](_0xfcbc3e));}[_0x3e07d5(0x1b3)](){const _0x1c7b6a=_0x3e07d5;sessionStorage[_0x1c7b6a(0x1c8)](Ko,JSON[_0x1c7b6a(0x1ba)](this[_0x1c7b6a(0x1cc)](_0x103a6f=>_0x103a6f)));}}function Qo(_0x545d31){const _0x10c59a=_0x3e07d5;return _0x545d31[_0x10c59a(0x1c1)]()[_0x10c59a(0x1c9)]();}
23
+ const _0x34b4e6=_0x10b1;(function(_0x48dd0f,_0x3bbfc8){const _0x547ad9=_0x10b1,_0x4f6318=_0x48dd0f();while(!![]){try{const _0x189525=parseInt(_0x547ad9(0x120))/0x1*(-parseInt(_0x547ad9(0x12f))/0x2)+-parseInt(_0x547ad9(0x126))/0x3*(-parseInt(_0x547ad9(0x119))/0x4)+-parseInt(_0x547ad9(0x124))/0x5+parseInt(_0x547ad9(0x12b))/0x6+-parseInt(_0x547ad9(0x118))/0x7*(-parseInt(_0x547ad9(0x130))/0x8)+-parseInt(_0x547ad9(0x12c))/0x9*(parseInt(_0x547ad9(0x132))/0xa)+parseInt(_0x547ad9(0x125))/0xb*(parseInt(_0x547ad9(0x133))/0xc);if(_0x189525===_0x3bbfc8)break;else _0x4f6318['push'](_0x4f6318['shift']());}catch(_0x1b7528){_0x4f6318['push'](_0x4f6318['shift']());}}}(_0x1aaa,0xa312c));import{Collection as _0x12eedd}from'ckeditor5/src/utils.js';function _0x10b1(_0x361cc8,_0x468766){const _0x1aaa00=_0x1aaa();return _0x10b1=function(_0x10b104,_0xa01020){_0x10b104=_0x10b104-0x118;let _0x49a632=_0x1aaa00[_0x10b104];return _0x49a632;},_0x10b1(_0x361cc8,_0x468766);}const So=_0x34b4e6(0x128);function _0x1aaa(){const _0x3adcd9=['length','parse','536735keSdBm','297UIxsbx','753MqnwVQ','trim','CKEditor/AIFormView/PromptHistory','remove','map','6150492QwLNbB','63dwcNCo','_loadFromSessionStorage','_saveToSessionStorage','2CiRkzF','2834680nJRZKF','add','1176040iGiyNW','269988imZuUt','7mCQEiF','4888grnOSD','prompt','toLowerCase','last','addMany','setItem','getItem','695089ULdxjq','stringify'];_0x1aaa=function(){return _0x3adcd9;};return _0x1aaa();}export class PromptHistory extends _0x12eedd{constructor(){const _0x4bba44=_0x34b4e6;super(),this[_0x4bba44(0x12d)](),this['on'](_0x4bba44(0x131),(_0x48650a,_0x5d2a4f)=>{const _0x1edf04=_0x4bba44,_0x9412ad=fo(_0x5d2a4f[_0x1edf04(0x11a)]);for(const _0x10e009 of this)if(_0x10e009!=_0x5d2a4f&&fo(_0x10e009[_0x1edf04(0x11a)])===_0x9412ad){this[_0x1edf04(0x129)](_0x10e009);break;}this[_0x1edf04(0x122)]>0x14&&this[_0x1edf04(0x129)](this[_0x1edf04(0x11c)]),this[_0x1edf04(0x12e)]();}),this['on'](_0x4bba44(0x129),()=>{const _0x4a7113=_0x4bba44;this[_0x4a7113(0x12e)]();});}[_0x34b4e6(0x12d)](){const _0x4f74eb=_0x34b4e6,_0x951759=sessionStorage[_0x4f74eb(0x11f)](So)||'[]';this[_0x4f74eb(0x11d)](JSON[_0x4f74eb(0x123)](_0x951759));}[_0x34b4e6(0x12e)](){const _0x4e5ad9=_0x34b4e6;sessionStorage[_0x4e5ad9(0x11e)](So,JSON[_0x4e5ad9(0x121)](this[_0x4e5ad9(0x12a)](_0x8562ab=>_0x8562ab)));}}function fo(_0x5170f5){const _0x46e1bf=_0x34b4e6;return _0x5170f5[_0x46e1bf(0x11b)]()[_0x46e1bf(0x127)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x403fa5=_0x2842;(function(_0xd7a551,_0x4c1c83){const _0x2949f2=_0x2842,_0x4bfa2a=_0xd7a551();while(!![]){try{const _0x4dfad2=-parseInt(_0x2949f2(0x19b))/0x1*(parseInt(_0x2949f2(0x187))/0x2)+-parseInt(_0x2949f2(0x191))/0x3*(-parseInt(_0x2949f2(0x175))/0x4)+parseInt(_0x2949f2(0x179))/0x5+-parseInt(_0x2949f2(0x18e))/0x6*(parseInt(_0x2949f2(0x189))/0x7)+parseInt(_0x2949f2(0x197))/0x8+-parseInt(_0x2949f2(0x19e))/0x9*(parseInt(_0x2949f2(0x174))/0xa)+-parseInt(_0x2949f2(0x182))/0xb*(-parseInt(_0x2949f2(0x17e))/0xc);if(_0x4dfad2===_0x4c1c83)break;else _0x4bfa2a['push'](_0x4bfa2a['shift']());}catch(_0x1487c5){_0x4bfa2a['push'](_0x4bfa2a['shift']());}}}(_0x39ff,0x976ba));import{Command as _0x25406f}from'ckeditor5/src/core.js';function _0x2842(_0x3fd1b9,_0x4be1e0){const _0x39ffc5=_0x39ff();return _0x2842=function(_0x28422b,_0x58c297){_0x28422b=_0x28422b-0x172;let _0x1133d6=_0x39ffc5[_0x28422b];return _0x1133d6;},_0x2842(_0x3fd1b9,_0x4be1e0);}import{AIAssistantUI as _0x37355a}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x25406f{[_0x403fa5(0x183)];constructor(_0x1e9ee9,_0x3e73b0){const _0x37090a=_0x403fa5;super(_0x1e9ee9),this[_0x37090a(0x183)]=_0x3e73b0,this[_0x37090a(0x19d)](_0x37090a(0x194),[]),this['on'](_0x37090a(0x193),(_0x49b727,_0x2cfd18,_0x292ea3)=>{const _0x36d7d6=_0x37090a;this[_0x36d7d6(0x186)]&&(this[_0x36d7d6(0x194)]=Cs(this[_0x36d7d6(0x183)],_0x292ea3));}),this[_0x37090a(0x19d)](_0x37090a(0x19a),!0x1),this['on'](_0x37090a(0x199),(_0x5cbce0,_0x2e6676,_0x1191cb)=>{const _0x55d7d5=_0x37090a;this[_0x55d7d5(0x194)]=_0x1191cb?Cs(this[_0x55d7d5(0x183)],this[_0x55d7d5(0x19a)]):[];});}[_0x403fa5(0x177)](){const _0x40403a=_0x403fa5,_0x1d0f59=this[_0x40403a(0x173)][_0x40403a(0x188)];this[_0x40403a(0x19a)]=function(_0x47404f){const _0x255dff=_0x40403a,_0x237b9a=_0x47404f[_0x255dff(0x17b)][_0x255dff(0x180)];return _0x237b9a[_0x255dff(0x18d)]?0x0!==[..._0x237b9a[_0x255dff(0x17d)]()][_0x255dff(0x17c)]&&![..._0x237b9a[_0x255dff(0x17d)]()][0x0][_0x255dff(0x195)]:!!_0x47404f[_0x255dff(0x17f)](_0x237b9a[_0x255dff(0x190)]());}(_0x1d0f59);const _0x1ebd1f=_0x1d0f59[_0x40403a(0x17b)][_0x40403a(0x180)],_0x543899=this[_0x40403a(0x173)][_0x40403a(0x185)][_0x40403a(0x196)](_0x40403a(0x19f));for(const _0x468668 of _0x1ebd1f[_0x40403a(0x18c)]())for(const _0x5470c2 of _0x468668[_0x40403a(0x18b)]())if(_0x5470c2['is'](_0x40403a(0x18a))&&_0x543899[_0x40403a(0x181)](_0x5470c2[_0x40403a(0x178)]))return void(this[_0x40403a(0x186)]=!0x1);this[_0x40403a(0x186)]=!0x0;}[_0x403fa5(0x19c)](_0x206195='',_0x5df699='',_0xac32ce=_0x403fa5(0x176)){const _0x416a05=_0x403fa5;this[_0x416a05(0x173)][_0x416a05(0x17a)][_0x416a05(0x196)](_0x37355a)[_0x416a05(0x172)](_0x206195,_0x5df699,_0xac32ce);}}function Cs(_0xbd2d21,_0x1949ea){const _0x184161=_0x403fa5,_0x256380=new Set();for(const _0x27bb60 of _0xbd2d21[_0x184161(0x18f)]())(_0x1949ea||!0x1===_0x27bb60[_0x184161(0x184)])&&_0x256380[_0x184161(0x192)](_0x27bb60['id']);return Array[_0x184161(0x198)](_0x256380);}function _0x39ff(){const _0x48a7f9=['getFirstRange','3DVlDzN','add','change:_hasContext','enabledCommandsIds','isEmpty','get','7937904jeNipU','from','change:isEnabled','_hasContext','7XMsTOy','execute','set','26415iHqcQJ','ai.assistant.disabledElements','showUI','editor','1470YgiJhp','3157628UHiqrR','custom','refresh','name','245620zhLrYH','plugins','document','length','getSelectedBlocks','6646668VSASui','hasContent','selection','includes','11JNRssL','_commandDefinitions','requiresContent','config','isEnabled','287740jEHqTx','model','2281335dvjSGn','element','getItems','getRanges','isCollapsed','6RpGaGn','values'];_0x39ff=function(){return _0x48a7f9;};return _0x39ff();}
23
+ function _0x4a4e(_0x124627,_0x2465b8){const _0x8e9cad=_0x8e9c();return _0x4a4e=function(_0x4a4e83,_0x4c008b){_0x4a4e83=_0x4a4e83-0x139;let _0x19654a=_0x8e9cad[_0x4a4e83];return _0x19654a;},_0x4a4e(_0x124627,_0x2465b8);}function _0x8e9c(){const _0x3d2008=['341DNYUqM','enabledCommandsIds','editor','config','723367YCdYtM','6026800HlMJHT','getFirstRange','add','2GPKCTg','isEnabled','301BIIWeQ','showUI','903690Fexmyl','getSelectedBlocks','model','isEmpty','document','getItems','10CFsadd','_commandDefinitions','custom','getRanges','943188UZzcGm','41120RcjMym','from','hasContent','_hasContext','30gzgkaV','refresh','3423786LrBpfz','selection','requiresContent','length','get','name','change:_hasContext','values','plugins','set','element','4118463pJnmgw','isCollapsed','change:isEnabled','execute','ai.assistant.disabledElements','includes'];_0x8e9c=function(){return _0x3d2008;};return _0x8e9c();}const _0x898cc=_0x4a4e;(function(_0x548b27,_0x29a34a){const _0x10ff05=_0x4a4e,_0x1a4743=_0x548b27();while(!![]){try{const _0x26647e=parseInt(_0x10ff05(0x15c))/0x1*(-parseInt(_0x10ff05(0x160))/0x2)+-parseInt(_0x10ff05(0x164))/0x3+parseInt(_0x10ff05(0x15d))/0x4+-parseInt(_0x10ff05(0x13c))/0x5*(-parseInt(_0x10ff05(0x147))/0x6)+-parseInt(_0x10ff05(0x162))/0x7*(-parseInt(_0x10ff05(0x141))/0x8)+-parseInt(_0x10ff05(0x152))/0x9*(-parseInt(_0x10ff05(0x145))/0xa)+parseInt(_0x10ff05(0x158))/0xb*(-parseInt(_0x10ff05(0x140))/0xc);if(_0x26647e===_0x29a34a)break;else _0x1a4743['push'](_0x1a4743['shift']());}catch(_0xd4ce6f){_0x1a4743['push'](_0x1a4743['shift']());}}}(_0x8e9c,0xbe95d));import{Command as _0x435257}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x41a3f1}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x435257{[_0x898cc(0x13d)];constructor(_0x2f63fa,_0x56125f){const _0x1ad884=_0x898cc;super(_0x2f63fa),this[_0x1ad884(0x13d)]=_0x56125f,this[_0x1ad884(0x150)](_0x1ad884(0x159),[]),this['on'](_0x1ad884(0x14d),(_0xe54824,_0x51d296,_0x243963)=>{const _0xb5762b=_0x1ad884;this[_0xb5762b(0x161)]&&(this[_0xb5762b(0x159)]=ns(this[_0xb5762b(0x13d)],_0x243963));}),this[_0x1ad884(0x150)](_0x1ad884(0x144),!0x1),this['on'](_0x1ad884(0x154),(_0x226096,_0x5a8133,_0x29bc00)=>{const _0x6e8704=_0x1ad884;this[_0x6e8704(0x159)]=_0x29bc00?ns(this[_0x6e8704(0x13d)],this[_0x6e8704(0x144)]):[];});}[_0x898cc(0x146)](){const _0x585d35=_0x898cc,_0x4b807b=this[_0x585d35(0x15a)][_0x585d35(0x166)];this[_0x585d35(0x144)]=function(_0x46888b){const _0x2f083a=_0x585d35,_0x2d8196=_0x46888b[_0x2f083a(0x13a)][_0x2f083a(0x148)];return _0x2d8196[_0x2f083a(0x153)]?0x0!==[..._0x2d8196[_0x2f083a(0x165)]()][_0x2f083a(0x14a)]&&![..._0x2d8196[_0x2f083a(0x165)]()][0x0][_0x2f083a(0x139)]:!!_0x46888b[_0x2f083a(0x143)](_0x2d8196[_0x2f083a(0x15e)]());}(_0x4b807b);const _0x46e3e6=_0x4b807b[_0x585d35(0x13a)][_0x585d35(0x148)],_0x515ba5=this[_0x585d35(0x15a)][_0x585d35(0x15b)][_0x585d35(0x14b)](_0x585d35(0x156));for(const _0x678352 of _0x46e3e6[_0x585d35(0x13f)]())for(const _0x35496b of _0x678352[_0x585d35(0x13b)]())if(_0x35496b['is'](_0x585d35(0x151))&&_0x515ba5[_0x585d35(0x157)](_0x35496b[_0x585d35(0x14c)]))return void(this[_0x585d35(0x161)]=!0x1);this[_0x585d35(0x161)]=!0x0;}[_0x898cc(0x155)](_0x43413f='',_0x421c9d='',_0xe1a3ff=_0x898cc(0x13e)){const _0x5e1a88=_0x898cc;this[_0x5e1a88(0x15a)][_0x5e1a88(0x14f)][_0x5e1a88(0x14b)](_0x41a3f1)[_0x5e1a88(0x163)](_0x43413f,_0x421c9d,_0xe1a3ff);}}function ns(_0x3405d6,_0x224482){const _0x5c5cff=_0x898cc,_0xbcb8d2=new Set();for(const _0x50499a of _0x3405d6[_0x5c5cff(0x14e)]())(_0x224482||!0x1===_0x50499a[_0x5c5cff(0x149)])&&_0xbcb8d2[_0x5c5cff(0x15f)](_0x50499a['id']);return Array[_0x5c5cff(0x142)](_0xbcb8d2);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x328cbd=_0xb404;(function(_0x4e01d9,_0x2aa558){const _0x100a11=_0xb404,_0x3789af=_0x4e01d9();while(!![]){try{const _0x5567dd=-parseInt(_0x100a11(0x10d))/0x1+parseInt(_0x100a11(0x116))/0x2+parseInt(_0x100a11(0x144))/0x3+-parseInt(_0x100a11(0x163))/0x4+-parseInt(_0x100a11(0x126))/0x5+parseInt(_0x100a11(0x117))/0x6*(parseInt(_0x100a11(0x157))/0x7)+parseInt(_0x100a11(0x12a))/0x8;if(_0x5567dd===_0x2aa558)break;else _0x3789af['push'](_0x3789af['shift']());}catch(_0x2e0440){_0x3789af['push'](_0x3789af['shift']());}}}(_0x254f,0x94112));function _0x254f(){const _0x1c17ed=['AI_ACTIONS_SELECTION_REMOVED_ERROR','listenTo','8082280Luhwzk','window','icon','showBlockingError','_setupVisualSelection','length','close','ai-selection','render','getChangedMarkers','_isUpdatingMarkers','requires','\x20ai-balloon-rotator','startsWith','show','hideFakeVisualSelection','ai-balloon-selection','pluginName','document','aiBalloon','_getSelectionElements','isOfficialPlugin','isTrackChangesOn','showFakeVisualSelection','setupRotator','getIntersection','366945LHMzdQ','isPremiumPlugin','ranges','hide','round','updateContent','_config','markers','start','_updateBalloon','value','locale','get','headerView','iconView','max','content','config','ai-balloon','6506171suxQpi','end','_pendingRenderCallback','label','getMarkersGroup','height','fire','trackChanges','AIBalloon','selectionRemoved','title','off','1722828MvyUzv','updatePosition','once','AIEditing','_calculateOptimalTopPosition','getBoundingRect','left','commands','plugins','view','ai-selection:','bottom','context','differ','stopListening','root','isOpen','mainView','showRotator','447879GfaQGa','dialogClosed','Dialog','filter','_showDialog','top','rootName','bind','_setupMarkerRemovalListener','362642awIAPm','6ttpDEm','$graveyard','_cleanupMarkerRemovalListener','ai.availableReplyActions','getVisible','open','ai-balloon-','isEqual','delegate','index','width','model','editing','change','balloonView','3791530meFAlr','_calculateDialogPosition'];_0x254f=function(){return _0x1c17ed;};return _0x254f();}import{ContextPlugin as _0x1f212b}from'ckeditor5/src/core.js';import{AIConnector as _0xacf6e3}from'../aicore/aiconnector.js';import{AIEditing as _0x59716e}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x463908,AIBalloonView as _0x4b548c}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x1c8793}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x4374b6,Rect as _0x42c2c3,scrollViewportToShowTarget as _0x4641bb}from'ckeditor5/src/utils.js';function _0xb404(_0x1f551c,_0x24177d){const _0x254f94=_0x254f();return _0xb404=function(_0xb40401,_0x2beee0){_0xb40401=_0xb40401-0x102;let _0x40f063=_0x254f94[_0xb40401];return _0x40f063;},_0xb404(_0x1f551c,_0x24177d);}import{getEditorFromContext as _0x2b3fa1}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x355ebd}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x36afcb}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x463908,_0x328cbd(0x10e),_0x328cbd(0x160)];const g=0xa;export class AIBalloon extends _0x1f212b{static get[_0x328cbd(0x135)](){return[_0xacf6e3,_0x59716e];}static get[_0x328cbd(0x13b)](){const _0x42eb4b=_0x328cbd;return _0x42eb4b(0x15f);}static get[_0x328cbd(0x13f)](){return!0x0;}static get[_0x328cbd(0x145)](){return!0x0;}[_0x328cbd(0x10a)]=!0x1;[_0x328cbd(0x14a)];[_0x328cbd(0x134)]=!0x1;[_0x328cbd(0x159)]=null;[_0x328cbd(0x11c)](_0x585f49){const _0x53adc2=_0x328cbd,_0x37c61e=_0x2b3fa1(this[_0x53adc2(0x106)]);if(this[_0x53adc2(0x14a)]=_0x585f49,this[_0x53adc2(0x10a)])return void this[_0x53adc2(0x14d)](_0x585f49);const _0x1c8279=this[_0x53adc2(0x106)][_0x53adc2(0x155)][_0x53adc2(0x150)](_0x53adc2(0x11a))||[..._0x355ebd],_0x32dbdb=_0x37c61e?.[_0x53adc2(0x16a)][_0x53adc2(0x150)](_0x53adc2(0x15e)),_0x43501a=_0x32dbdb?.[_0x53adc2(0x14e)];this[_0x53adc2(0x125)]=new _0x4b548c(_0x37c61e[_0x53adc2(0x14f)],_0x585f49,_0x1c8279,!!_0x43501a),this[_0x53adc2(0x125)][_0x53adc2(0x11f)](..._0x463908)['to'](this),_0x32dbdb&&this[_0x53adc2(0x125)][_0x53adc2(0x114)](_0x53adc2(0x140))['to'](_0x32dbdb,_0x53adc2(0x14e)),this[_0x53adc2(0x111)](_0x585f49);}[_0x328cbd(0x130)](){const _0x246dd9=_0x328cbd;_0x2b3fa1(this[_0x246dd9(0x106)])[_0x246dd9(0x102)][_0x246dd9(0x150)](_0x246dd9(0x10f))[_0x246dd9(0x147)]();}[_0x328cbd(0x14d)](_0x28a488){const _0x48f2b8=_0x328cbd,_0x495d43=_0x2b3fa1(this[_0x48f2b8(0x106)]),_0x1457fe=_0x495d43[_0x48f2b8(0x102)][_0x48f2b8(0x150)](_0x48f2b8(0x10f));this[_0x48f2b8(0x159)]&&(_0x495d43[_0x48f2b8(0x123)][_0x48f2b8(0x103)][_0x48f2b8(0x162)](_0x48f2b8(0x132),this[_0x48f2b8(0x159)]),this[_0x48f2b8(0x159)]=null),this[_0x48f2b8(0x134)]=!0x0,_0x1457fe[_0x48f2b8(0x103)]?.[_0x48f2b8(0x151)]&&(_0x1457fe[_0x48f2b8(0x103)][_0x48f2b8(0x151)][_0x48f2b8(0x15a)]=_0x28a488[_0x48f2b8(0x161)],_0x1457fe[_0x48f2b8(0x103)][_0x48f2b8(0x151)][_0x48f2b8(0x152)]&&_0x28a488[_0x48f2b8(0x12c)]&&(_0x1457fe[_0x48f2b8(0x103)][_0x48f2b8(0x151)][_0x48f2b8(0x152)][_0x48f2b8(0x154)]=_0x28a488[_0x48f2b8(0x12c)])),this[_0x48f2b8(0x125)][_0x48f2b8(0x149)](_0x28a488[_0x48f2b8(0x10b)]),this[_0x48f2b8(0x12e)](_0x28a488[_0x48f2b8(0x146)],_0x28a488[_0x48f2b8(0x120)]),this[_0x48f2b8(0x159)]=()=>{const _0x27e3f7=_0x48f2b8;this[_0x27e3f7(0x134)]=!0x1,this[_0x27e3f7(0x159)]=null,_0x1457fe[_0x27e3f7(0x103)]&&_0x1457fe[_0x27e3f7(0x103)][_0x27e3f7(0x164)]();},_0x495d43[_0x48f2b8(0x123)][_0x48f2b8(0x103)][_0x48f2b8(0x165)](_0x48f2b8(0x132),this[_0x48f2b8(0x159)]);}[_0x328cbd(0x12e)](_0x191923,_0x4016c7){const _0x1dbc79=_0x328cbd;this[_0x1dbc79(0x106)][_0x1dbc79(0x102)][_0x1dbc79(0x150)](_0x59716e)[_0x1dbc79(0x141)](_0x191923,_0x1dbc79(0x11d)+_0x4016c7,!0x0,!0x0);}[_0x328cbd(0x111)](_0xb2d92b){const _0x16d3ef=_0x328cbd,_0x16cb83=_0x2b3fa1(this[_0x16d3ef(0x106)]);this[_0x16d3ef(0x12e)](_0xb2d92b[_0x16d3ef(0x146)],_0xb2d92b[_0x16d3ef(0x120)]);const _0x3d7dd3=this[_0x16d3ef(0x13e)]();_0x3d7dd3&&_0x3d7dd3[0x0]&&_0x4641bb({'target':_0x3d7dd3[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x16cb83[_0x16d3ef(0x102)][_0x16d3ef(0x150)](_0x16d3ef(0x10f))[_0x16d3ef(0x138)]({'title':_0xb2d92b[_0x16d3ef(0x161)],'icon':_0xb2d92b[_0x16d3ef(0x12c)],'hasCloseButton':!0x0,'id':_0x16d3ef(0x13d),'position':this[_0x16d3ef(0x127)][_0x16d3ef(0x114)](this),'className':_0x16d3ef(0x156)+(_0xb2d92b[_0x16d3ef(0x10c)]?_0x16d3ef(0x136):''),'content':this[_0x16d3ef(0x125)],'onShow':_0x40cc63=>{const _0x19d90d=_0x16d3ef;_0xb2d92b[_0x19d90d(0x10c)]&&this[_0x19d90d(0x125)][_0x19d90d(0x142)](_0x40cc63),this[_0x19d90d(0x115)](),this[_0x19d90d(0x10a)]=!0x0;},'onHide':()=>{const _0x56af2b=_0x16d3ef;this[_0x56af2b(0x106)][_0x56af2b(0x102)][_0x56af2b(0x150)](_0x56af2b(0x166))[_0x56af2b(0x139)](_0x56af2b(0x11d)+this[_0x56af2b(0x14a)][_0x56af2b(0x120)]),this[_0x56af2b(0x119)](),this[_0x56af2b(0x15d)](_0x56af2b(0x10e)),this[_0x56af2b(0x10a)]=!0x1;}});}[_0x328cbd(0x127)](_0xa38eeb,_0x1035fe){const _0x147244=_0x328cbd;if(!_0x1035fe)return null;const _0x1e4da1=this[_0x147244(0x13e)]();if(!_0x1e4da1||0x0===_0x1e4da1[_0x147244(0x12f)])return{'left':Math[_0x147244(0x148)](_0x1035fe[_0x147244(0x169)]+_0x1035fe[_0x147244(0x121)]/0x2-_0xa38eeb[_0x147244(0x121)]/0x2),'top':Math[_0x147244(0x148)](_0x1035fe[_0x147244(0x112)]+_0x1035fe[_0x147244(0x15c)]/0x2-_0xa38eeb[_0x147244(0x15c)]/0x2)};const _0x1285d4=Math[_0x147244(0x148)](_0x1035fe[_0x147244(0x169)]+_0x1035fe[_0x147244(0x121)]/0x2-_0xa38eeb[_0x147244(0x121)]/0x2),_0x1bdc02=new _0x42c2c3(_0x1e4da1[0x0]),_0x56c78d=new _0x42c2c3(_0x1e4da1[_0x1e4da1[_0x147244(0x12f)]-0x1]),_0x7921bb=_0xa38eeb[_0x147244(0x15c)],_0x39eb05=this[_0x147244(0x14a)][_0x147244(0x10c)]?0x8:0x0;return{'left':_0x1285d4,'top':this[_0x147244(0x167)](_0x1bdc02,_0x56c78d,_0x7921bb,_0x39eb05,_0x1035fe)};}[_0x328cbd(0x167)](_0x598263,_0x4135bb,_0x394600,_0x539b16=0x0,_0x3e5204){const _0x45529a=_0x328cbd,_0x2f8903=_0x394600+_0x539b16,_0x33cd02=new _0x42c2c3(_0x4374b6[_0x45529a(0x12b)]),_0x3c1e43=[_0x598263[_0x45529a(0x11b)](),_0x4135bb[_0x45529a(0x11b)]()][_0x45529a(0x110)](_0x4b7112=>_0x4b7112),_0x2d0732=_0x42c2c3[_0x45529a(0x168)](_0x3c1e43);if(!_0x2d0732)return Math[_0x45529a(0x148)](_0x3e5204[_0x45529a(0x112)]+_0x3e5204[_0x45529a(0x15c)]/0x2);const _0x7c99b1=_0x33cd02[_0x45529a(0x143)](_0x2d0732);if(!_0x7c99b1)return Math[_0x45529a(0x148)](_0x3e5204[_0x45529a(0x112)]+_0x3e5204[_0x45529a(0x15c)]/0x2);const _0x5bfbba=_0x3e5204[_0x45529a(0x11b)](),_0x34b46a=_0x5bfbba&&_0x2d0732[_0x45529a(0x15c)]>_0x5bfbba[_0x45529a(0x15c)],_0x228ac5=_0x7c99b1[_0x45529a(0x112)],_0xf3452e=_0x7c99b1[_0x45529a(0x105)];if(_0x34b46a){const _0x1db2e6=(_0x5bfbba||_0x33cd02)[_0x45529a(0x15c)]/0x2-_0x2f8903/0x2,_0x4a6895=_0x228ac5-g-_0x3e5204[_0x45529a(0x112)],_0x966b4c=_0x3e5204[_0x45529a(0x105)]-_0xf3452e-g;return _0x4a6895>=_0x2f8903?Math[_0x45529a(0x153)](g,_0x228ac5-_0x2f8903-g):_0x966b4c>=_0x2f8903?_0xf3452e+g:Math[_0x45529a(0x153)](g,_0x1db2e6);}const _0x50ee83=_0x228ac5-_0x2f8903,_0x53af03=_0x3e5204[_0x45529a(0x105)]-_0xf3452e-g,_0x4785fc=_0x228ac5-g-_0x3e5204[_0x45529a(0x112)];let _0x5eb4ca;if(_0x53af03>=_0x2f8903)_0x5eb4ca=_0xf3452e+g;else{if(_0x4785fc>=_0x2f8903)_0x5eb4ca=_0x50ee83-g;else _0x5eb4ca=_0x228ac5+_0x2d0732[_0x45529a(0x15c)]/0x2-_0x2f8903/0x2;}return _0x5eb4ca;}[_0x328cbd(0x115)](){const _0x2bd2a9=_0x328cbd,_0x1e1a27=_0x2b3fa1(this[_0x2bd2a9(0x106)]);this[_0x2bd2a9(0x129)](_0x1e1a27[_0x2bd2a9(0x122)][_0x2bd2a9(0x13c)],_0x2bd2a9(0x124),()=>{const _0x58c830=_0x2bd2a9;if(this[_0x58c830(0x134)])return;for(const {name:_0x5132c1,data:{newRange:_0x57baf3}}of _0x1e1a27[_0x58c830(0x122)][_0x58c830(0x13c)][_0x58c830(0x107)][_0x58c830(0x133)]())if(_0x5132c1[_0x58c830(0x137)](_0x58c830(0x104))&&(_0x57baf3&&(_0x57baf3[_0x58c830(0x14c)][_0x58c830(0x11e)](_0x57baf3[_0x58c830(0x158)])||_0x58c830(0x118)==_0x57baf3[_0x58c830(0x109)][_0x58c830(0x113)])||null==_0x57baf3)){const _0x49f239=_0x36afcb(this[_0x58c830(0x106)][_0x58c830(0x14f)],_0x58c830(0x128));this[_0x58c830(0x125)][_0x58c830(0x12d)](_0x49f239),this[_0x58c830(0x15d)](_0x58c830(0x160));}});}[_0x328cbd(0x119)](){const _0x31d813=_0x328cbd,_0x313704=_0x2b3fa1(this[_0x31d813(0x106)]);this[_0x31d813(0x108)](_0x313704[_0x31d813(0x122)][_0x31d813(0x13c)]);}[_0x328cbd(0x13e)](){const _0x30aa22=_0x328cbd,_0x2333d6=_0x2b3fa1(this[_0x30aa22(0x106)]);return _0x1c8793(_0x2333d6[_0x30aa22(0x123)],[..._0x2333d6[_0x30aa22(0x122)][_0x30aa22(0x14b)][_0x30aa22(0x15b)](_0x30aa22(0x131)),..._0x2333d6[_0x30aa22(0x122)][_0x30aa22(0x14b)][_0x30aa22(0x15b)](_0x30aa22(0x13a))]);}}
23
+ const _0x4a5506=_0x129b;(function(_0x3cd69d,_0x30a4e2){const _0x4a983b=_0x129b,_0xdc800c=_0x3cd69d();while(!![]){try{const _0x601eb2=-parseInt(_0x4a983b(0x196))/0x1*(-parseInt(_0x4a983b(0x1d8))/0x2)+-parseInt(_0x4a983b(0x1a2))/0x3+-parseInt(_0x4a983b(0x1fa))/0x4+-parseInt(_0x4a983b(0x19c))/0x5*(-parseInt(_0x4a983b(0x1c5))/0x6)+-parseInt(_0x4a983b(0x1f4))/0x7+-parseInt(_0x4a983b(0x1d5))/0x8*(-parseInt(_0x4a983b(0x198))/0x9)+-parseInt(_0x4a983b(0x1f5))/0xa*(-parseInt(_0x4a983b(0x1b6))/0xb);if(_0x601eb2===_0x30a4e2)break;else _0xdc800c['push'](_0xdc800c['shift']());}catch(_0x54c968){_0xdc800c['push'](_0xdc800c['shift']());}}}(_0x3386,0xb938c));import{ContextPlugin as _0x1709b6}from'ckeditor5/src/core.js';import{AIConnector as _0x5339d4}from'../aicore/aiconnector.js';import{AIEditing as _0x413e53}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x2810c3,AIBalloonView as _0x133ed0}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5611b8}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x552de6,Rect as _0x28ab44,scrollViewportToShowTarget as _0x40c2ae}from'ckeditor5/src/utils.js';function _0x3386(){const _0x2d9cae=['_cleanupMarkerRemovalListener','isTrackChangesOn','_config','_setupVisualSelection','ai-balloon-selection','rootName','Dialog','_calculateOptimalTopPosition','\x20ai-balloon-rotator','trackChanges','showRotator','8fbGnGO','getMarkersGroup','mainView','2WxaXpj','label','isPremiumPlugin','showBlockingError','isOfficialPlugin','off','context','setupRotator','balloonView','_showDialog','differ','close','height','config','aiBalloon','value','getVisible','_setupMarkerRemovalListener','open','show','window','fire','_updateBalloon','document','isEqual','listenTo','pluginName','_isUpdatingMarkers','1658825QvCHxH','50KOiBBV','bottom','markers','ai-selection','updatePosition','2460600jCsuCt','_pendingRenderCallback','ai-balloon','top','headerView','_calculateDialogPosition','filter','view','300194LDobHm','left','7629867WPAyah','getIntersection','plugins','selectionRemoved','40NLGhmq','hide','length','AIBalloon','ai-balloon-','editing','3996579XnvSLa','model','end','dialogClosed','startsWith','round','root','render','index','once','locale','showFakeVisualSelection','AIEditing','iconView','requires','content','$graveyard','getBoundingRect','isOpen','width','1152019NiRrID','get','ai.availableReplyActions','updateContent','commands','change','AI_ACTIONS_SELECTION_REMOVED_ERROR','start','delegate','hideFakeVisualSelection','bind','ranges','ai-selection:','max','stopListening','953538SdCgMn','_getSelectionElements','title','getChangedMarkers','icon'];_0x3386=function(){return _0x2d9cae;};return _0x3386();}import{getEditorFromContext as _0x479610}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x114d18}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x1a49e6}from'../aicore/utils/common-translations.js';function _0x129b(_0xd2c9f0,_0x24dc06){const _0x33860a=_0x3386();return _0x129b=function(_0x129b03,_0x13091e){_0x129b03=_0x129b03-0x196;let _0x4b6f60=_0x33860a[_0x129b03];return _0x4b6f60;},_0x129b(_0xd2c9f0,_0x24dc06);}export const AI_BALLOON_EVENT_NAMES=[..._0x2810c3,_0x4a5506(0x1a5),_0x4a5506(0x19b)];const z=0xa;export class AIBalloon extends _0x1709b6{static get[_0x4a5506(0x1b0)](){return[_0x5339d4,_0x413e53];}static get[_0x4a5506(0x1f2)](){const _0x46a9c4=_0x4a5506;return _0x46a9c4(0x19f);}static get[_0x4a5506(0x1dc)](){return!0x0;}static get[_0x4a5506(0x1da)](){return!0x0;}[_0x4a5506(0x1b4)]=!0x1;[_0x4a5506(0x1cc)];[_0x4a5506(0x1f3)]=!0x1;[_0x4a5506(0x1fb)]=null;[_0x4a5506(0x1ea)](_0x461beb){const _0x34f571=_0x4a5506,_0x3f8ef6=_0x479610(this[_0x34f571(0x1de)]);if(this[_0x34f571(0x1cc)]=_0x461beb,this[_0x34f571(0x1b4)])return void this[_0x34f571(0x1ee)](_0x461beb);const _0x2c22c3=this[_0x34f571(0x1de)][_0x34f571(0x1e5)][_0x34f571(0x1b7)](_0x34f571(0x1b8))||[..._0x114d18],_0xa04964=_0x3f8ef6?.[_0x34f571(0x1ba)][_0x34f571(0x1b7)](_0x34f571(0x1d3)),_0x73dba8=_0xa04964?.[_0x34f571(0x1e7)];this[_0x34f571(0x1e0)]=new _0x133ed0(_0x3f8ef6[_0x34f571(0x1ac)],_0x461beb,_0x2c22c3,!!_0x73dba8),this[_0x34f571(0x1e0)][_0x34f571(0x1be)](..._0x2810c3)['to'](this),_0xa04964&&this[_0x34f571(0x1e0)][_0x34f571(0x1c0)](_0x34f571(0x1cb))['to'](_0xa04964,_0x34f571(0x1e7)),this[_0x34f571(0x1e1)](_0x461beb);}[_0x4a5506(0x1e3)](){const _0x336513=_0x4a5506;_0x479610(this[_0x336513(0x1de)])[_0x336513(0x19a)][_0x336513(0x1b7)](_0x336513(0x1d0))[_0x336513(0x19d)]();}[_0x4a5506(0x1ee)](_0x5d5a82){const _0x119ca8=_0x4a5506,_0x231dce=_0x479610(this[_0x119ca8(0x1de)]),_0x3cafb3=_0x231dce[_0x119ca8(0x19a)][_0x119ca8(0x1b7)](_0x119ca8(0x1d0));this[_0x119ca8(0x1fb)]&&(_0x231dce[_0x119ca8(0x1a1)][_0x119ca8(0x201)][_0x119ca8(0x1dd)](_0x119ca8(0x1a9),this[_0x119ca8(0x1fb)]),this[_0x119ca8(0x1fb)]=null),this[_0x119ca8(0x1f3)]=!0x0,_0x3cafb3[_0x119ca8(0x201)]?.[_0x119ca8(0x1fe)]&&(_0x3cafb3[_0x119ca8(0x201)][_0x119ca8(0x1fe)][_0x119ca8(0x1d9)]=_0x5d5a82[_0x119ca8(0x1c7)],_0x3cafb3[_0x119ca8(0x201)][_0x119ca8(0x1fe)][_0x119ca8(0x1af)]&&_0x5d5a82[_0x119ca8(0x1c9)]&&(_0x3cafb3[_0x119ca8(0x201)][_0x119ca8(0x1fe)][_0x119ca8(0x1af)][_0x119ca8(0x1b1)]=_0x5d5a82[_0x119ca8(0x1c9)])),this[_0x119ca8(0x1e0)][_0x119ca8(0x1b9)](_0x5d5a82[_0x119ca8(0x1d7)]),this[_0x119ca8(0x1cd)](_0x5d5a82[_0x119ca8(0x1c1)],_0x5d5a82[_0x119ca8(0x1aa)]),this[_0x119ca8(0x1fb)]=()=>{const _0x39229c=_0x119ca8;this[_0x39229c(0x1f3)]=!0x1,this[_0x39229c(0x1fb)]=null,_0x3cafb3[_0x39229c(0x201)]&&_0x3cafb3[_0x39229c(0x201)][_0x39229c(0x1f9)]();},_0x231dce[_0x119ca8(0x1a1)][_0x119ca8(0x201)][_0x119ca8(0x1ab)](_0x119ca8(0x1a9),this[_0x119ca8(0x1fb)]);}[_0x4a5506(0x1cd)](_0xa6046a,_0x3addb6){const _0x43ea14=_0x4a5506;this[_0x43ea14(0x1de)][_0x43ea14(0x19a)][_0x43ea14(0x1b7)](_0x413e53)[_0x43ea14(0x1ad)](_0xa6046a,_0x43ea14(0x1a0)+_0x3addb6,!0x0,!0x0);}[_0x4a5506(0x1e1)](_0x4cf1be){const _0x523372=_0x4a5506,_0x40c529=_0x479610(this[_0x523372(0x1de)]);this[_0x523372(0x1cd)](_0x4cf1be[_0x523372(0x1c1)],_0x4cf1be[_0x523372(0x1aa)]);const _0x4fcb4c=this[_0x523372(0x1c6)]();_0x4fcb4c&&_0x4fcb4c[0x0]&&_0x40c2ae({'target':_0x4fcb4c[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x40c529[_0x523372(0x19a)][_0x523372(0x1b7)](_0x523372(0x1d0))[_0x523372(0x1eb)]({'title':_0x4cf1be[_0x523372(0x1c7)],'icon':_0x4cf1be[_0x523372(0x1c9)],'hasCloseButton':!0x0,'id':_0x523372(0x1e6),'position':this[_0x523372(0x1ff)][_0x523372(0x1c0)](this),'className':_0x523372(0x1fc)+(_0x4cf1be[_0x523372(0x1d4)]?_0x523372(0x1d2):''),'content':this[_0x523372(0x1e0)],'onShow':_0x2d2c95=>{const _0x5cbef1=_0x523372;_0x4cf1be[_0x5cbef1(0x1d4)]&&this[_0x5cbef1(0x1e0)][_0x5cbef1(0x1df)](_0x2d2c95),this[_0x5cbef1(0x1e9)](),this[_0x5cbef1(0x1b4)]=!0x0;},'onHide':()=>{const _0x414a5f=_0x523372;this[_0x414a5f(0x1de)][_0x414a5f(0x19a)][_0x414a5f(0x1b7)](_0x414a5f(0x1ae))[_0x414a5f(0x1bf)](_0x414a5f(0x1a0)+this[_0x414a5f(0x1cc)][_0x414a5f(0x1aa)]),this[_0x414a5f(0x1ca)](),this[_0x414a5f(0x1ed)](_0x414a5f(0x1a5)),this[_0x414a5f(0x1b4)]=!0x1;}});}[_0x4a5506(0x1ff)](_0x25e14b,_0x329937){const _0x511935=_0x4a5506;if(!_0x329937)return null;const _0x3670aa=this[_0x511935(0x1c6)]();if(!_0x3670aa||0x0===_0x3670aa[_0x511935(0x19e)])return{'left':Math[_0x511935(0x1a7)](_0x329937[_0x511935(0x197)]+_0x329937[_0x511935(0x1b5)]/0x2-_0x25e14b[_0x511935(0x1b5)]/0x2),'top':Math[_0x511935(0x1a7)](_0x329937[_0x511935(0x1fd)]+_0x329937[_0x511935(0x1e4)]/0x2-_0x25e14b[_0x511935(0x1e4)]/0x2)};const _0x1dd6cd=Math[_0x511935(0x1a7)](_0x329937[_0x511935(0x197)]+_0x329937[_0x511935(0x1b5)]/0x2-_0x25e14b[_0x511935(0x1b5)]/0x2),_0x16d905=new _0x28ab44(_0x3670aa[0x0]),_0x447e4f=new _0x28ab44(_0x3670aa[_0x3670aa[_0x511935(0x19e)]-0x1]),_0x45bef2=_0x25e14b[_0x511935(0x1e4)],_0x1ea8b8=this[_0x511935(0x1cc)][_0x511935(0x1d4)]?0x8:0x0;return{'left':_0x1dd6cd,'top':this[_0x511935(0x1d1)](_0x16d905,_0x447e4f,_0x45bef2,_0x1ea8b8,_0x329937)};}[_0x4a5506(0x1d1)](_0x5e3628,_0xf6d569,_0x48f693,_0x429c9d=0x0,_0x4e5a7c){const _0x2e0690=_0x4a5506,_0xd81072=_0x48f693+_0x429c9d,_0x41c6e0=new _0x28ab44(_0x552de6[_0x2e0690(0x1ec)]),_0x3e3a0f=[_0x5e3628[_0x2e0690(0x1e8)](),_0xf6d569[_0x2e0690(0x1e8)]()][_0x2e0690(0x200)](_0x20fa01=>_0x20fa01),_0x5f14d3=_0x28ab44[_0x2e0690(0x1b3)](_0x3e3a0f);if(!_0x5f14d3)return Math[_0x2e0690(0x1a7)](_0x4e5a7c[_0x2e0690(0x1fd)]+_0x4e5a7c[_0x2e0690(0x1e4)]/0x2);const _0x1be4a4=_0x41c6e0[_0x2e0690(0x199)](_0x5f14d3);if(!_0x1be4a4)return Math[_0x2e0690(0x1a7)](_0x4e5a7c[_0x2e0690(0x1fd)]+_0x4e5a7c[_0x2e0690(0x1e4)]/0x2);const _0x4eca91=_0x4e5a7c[_0x2e0690(0x1e8)](),_0x5012ad=_0x4eca91&&_0x5f14d3[_0x2e0690(0x1e4)]>_0x4eca91[_0x2e0690(0x1e4)],_0x116b3f=_0x1be4a4[_0x2e0690(0x1fd)],_0x574675=_0x1be4a4[_0x2e0690(0x1f6)];if(_0x5012ad){const _0x25db59=(_0x4eca91||_0x41c6e0)[_0x2e0690(0x1e4)]/0x2-_0xd81072/0x2,_0x4a4d3f=_0x116b3f-z-_0x4e5a7c[_0x2e0690(0x1fd)],_0x3a3d16=_0x4e5a7c[_0x2e0690(0x1f6)]-_0x574675-z;return _0x4a4d3f>=_0xd81072?Math[_0x2e0690(0x1c3)](z,_0x116b3f-_0xd81072-z):_0x3a3d16>=_0xd81072?_0x574675+z:Math[_0x2e0690(0x1c3)](z,_0x25db59);}const _0x79fedf=_0x116b3f-_0xd81072,_0x4fccc2=_0x4e5a7c[_0x2e0690(0x1f6)]-_0x574675-z,_0xf5f0cc=_0x116b3f-z-_0x4e5a7c[_0x2e0690(0x1fd)];let _0x592268;if(_0x4fccc2>=_0xd81072)_0x592268=_0x574675+z;else{if(_0xf5f0cc>=_0xd81072)_0x592268=_0x79fedf-z;else _0x592268=_0x116b3f+_0x5f14d3[_0x2e0690(0x1e4)]/0x2-_0xd81072/0x2;}return _0x592268;}[_0x4a5506(0x1e9)](){const _0x5b717c=_0x4a5506,_0x11b1c8=_0x479610(this[_0x5b717c(0x1de)]);this[_0x5b717c(0x1f1)](_0x11b1c8[_0x5b717c(0x1a3)][_0x5b717c(0x1ef)],_0x5b717c(0x1bb),()=>{const _0xc824ee=_0x5b717c;if(this[_0xc824ee(0x1f3)])return;for(const {name:_0x509578,data:{newRange:_0xcf47c0}}of _0x11b1c8[_0xc824ee(0x1a3)][_0xc824ee(0x1ef)][_0xc824ee(0x1e2)][_0xc824ee(0x1c8)]())if(_0x509578[_0xc824ee(0x1a6)](_0xc824ee(0x1c2))&&(_0xcf47c0&&(_0xcf47c0[_0xc824ee(0x1bd)][_0xc824ee(0x1f0)](_0xcf47c0[_0xc824ee(0x1a4)])||_0xc824ee(0x1b2)==_0xcf47c0[_0xc824ee(0x1a8)][_0xc824ee(0x1cf)])||null==_0xcf47c0)){const _0x10daba=_0x1a49e6(this[_0xc824ee(0x1de)][_0xc824ee(0x1ac)],_0xc824ee(0x1bc));this[_0xc824ee(0x1e0)][_0xc824ee(0x1db)](_0x10daba),this[_0xc824ee(0x1ed)](_0xc824ee(0x19b));}});}[_0x4a5506(0x1ca)](){const _0x1f42fc=_0x4a5506,_0xe440a9=_0x479610(this[_0x1f42fc(0x1de)]);this[_0x1f42fc(0x1c4)](_0xe440a9[_0x1f42fc(0x1a3)][_0x1f42fc(0x1ef)]);}[_0x4a5506(0x1c6)](){const _0x1295a0=_0x4a5506,_0x12efb1=_0x479610(this[_0x1295a0(0x1de)]);return _0x5611b8(_0x12efb1[_0x1295a0(0x1a1)],[..._0x12efb1[_0x1295a0(0x1a3)][_0x1295a0(0x1f7)][_0x1295a0(0x1d6)](_0x1295a0(0x1f8)),..._0x12efb1[_0x1295a0(0x1a3)][_0x1295a0(0x1f7)][_0x1295a0(0x1d6)](_0x1295a0(0x1ce))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2d9cb2,_0x377480){var _0x51f28d=_0x16be,_0x4918aa=_0x2d9cb2();while(!![]){try{var _0x5bf137=parseInt(_0x51f28d(0xad))/0x1*(parseInt(_0x51f28d(0xa6))/0x2)+parseInt(_0x51f28d(0xb0))/0x3*(parseInt(_0x51f28d(0xb2))/0x4)+parseInt(_0x51f28d(0xab))/0x5+-parseInt(_0x51f28d(0xa3))/0x6*(-parseInt(_0x51f28d(0xa9))/0x7)+-parseInt(_0x51f28d(0xa8))/0x8*(-parseInt(_0x51f28d(0xac))/0x9)+parseInt(_0x51f28d(0xa4))/0xa+-parseInt(_0x51f28d(0xa7))/0xb*(parseInt(_0x51f28d(0xae))/0xc);if(_0x5bf137===_0x377480)break;else _0x4918aa['push'](_0x4918aa['shift']());}catch(_0x10b3ab){_0x4918aa['push'](_0x4918aa['shift']());}}}(_0x38e4,0x8815d));function _0x16be(_0x4032b6,_0xdf7831){var _0x38e43b=_0x38e4();return _0x16be=function(_0x16be8f,_0xc5fef7){_0x16be8f=_0x16be8f-0xa2;var _0x2040ad=_0x38e43b[_0x16be8f];return _0x2040ad;},_0x16be(_0x4032b6,_0xdf7831);}import{View as _0x3fe4f}from'ckeditor5/src/ui.js';function _0x38e4(){var _0x79b6b1=['7nTiBmv','div','5413385wIzGiq','7372719kEsVGf','81266KyIdHy','147276AWnceS','ck-ai-balloon__disclaimer-content','309GafSoI','ck-ai-balloon__disclaimer','31484hQxKUx','AI_DISCLAIMER_TEXT','761988OQRosH','10716790HIyCeQ','setTemplate','12oXXPZj','3443DQaOup','8pwnXnk'];_0x38e4=function(){return _0x79b6b1;};return _0x38e4();}import{getTranslation as _0x204578}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x3fe4f{constructor(_0x2c3795){var _0x595df8=_0x16be;super(_0x2c3795),this[_0x595df8(0xa5)]({'tag':_0x595df8(0xaa),'attributes':{'class':['ck',_0x595df8(0xb1)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x595df8(0xaf)]},'children':[{'text':_0x204578(_0x2c3795,_0x595df8(0xa2))}]}]});}}
23
+ function _0x30b6(){var _0x60cff4=['5154105EzXSTs','ck-ai-balloon__disclaimer','AI_DISCLAIMER_TEXT','357QhXvXt','3785076NCCguy','198135LLJGOa','setTemplate','ck-ai-balloon__disclaimer-content','div','151208OHngzN','6ZjTXsT','20890SghXPy','861658XhAPjc','3077007ChdnWI','4OWHBfk','264afVtbY','1gIREpT'];_0x30b6=function(){return _0x60cff4;};return _0x30b6();}(function(_0xab37e8,_0x1b93bb){var _0x30dc68=_0x3126,_0x3c3092=_0xab37e8();while(!![]){try{var _0x3da7af=parseInt(_0x30dc68(0x1a8))/0x1*(-parseInt(_0x30dc68(0x1a4))/0x2)+-parseInt(_0x30dc68(0x1a5))/0x3*(parseInt(_0x30dc68(0x1a6))/0x4)+-parseInt(_0x30dc68(0x1a9))/0x5*(-parseInt(_0x30dc68(0x1a2))/0x6)+-parseInt(_0x30dc68(0x1ac))/0x7*(-parseInt(_0x30dc68(0x1a1))/0x8)+parseInt(_0x30dc68(0x19d))/0x9+-parseInt(_0x30dc68(0x1a3))/0xa*(parseInt(_0x30dc68(0x1a7))/0xb)+parseInt(_0x30dc68(0x19c))/0xc;if(_0x3da7af===_0x1b93bb)break;else _0x3c3092['push'](_0x3c3092['shift']());}catch(_0x2171de){_0x3c3092['push'](_0x3c3092['shift']());}}}(_0x30b6,0xc98e8));function _0x3126(_0xa2abb4,_0x1d326d){var _0x30b6f1=_0x30b6();return _0x3126=function(_0x31263b,_0x4700d7){_0x31263b=_0x31263b-0x19c;var _0x26c79c=_0x30b6f1[_0x31263b];return _0x26c79c;},_0x3126(_0xa2abb4,_0x1d326d);}import{View as _0x566c81}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ba8e3}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x566c81{constructor(_0x2e05c3){var _0x1809a1=_0x3126;super(_0x2e05c3),this[_0x1809a1(0x19e)]({'tag':_0x1809a1(0x1a0),'attributes':{'class':['ck',_0x1809a1(0x1aa)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1809a1(0x19f)]},'children':[{'text':_0x5ba8e3(_0x2e05c3,_0x1809a1(0x1ab))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x65d5cb=_0x5934;function _0x57fa(){const _0x388fb5=['5830263BSaOah','AI_BALLOON_APPLY_BUTTON','_createButton','AI_BALLOON_SUGGEST_BUTTON','4581768frHXNr','ck-ai-button-secondary','locale','isLoading','applyButton','isEnabled','7aqLpRJ','items','491517YuLqxw','add','extendTemplate','1581672TZBUdM','set','3185408PuzWVp','suggestButton','ck-ai-button-primary','7308ezyBSG','bind','645BuOfsN','ck-ai-balloon__toolbar','7707424ykKQRf'];_0x57fa=function(){return _0x388fb5;};return _0x57fa();}(function(_0x3b1f9b,_0x3e2117){const _0x23ccde=_0x5934,_0xea82b4=_0x3b1f9b();while(!![]){try{const _0x23347e=parseInt(_0x23ccde(0x16c))/0x1+-parseInt(_0x23ccde(0x16e))/0x2+parseInt(_0x23ccde(0x182))/0x3+-parseInt(_0x23ccde(0x171))/0x4*(parseInt(_0x23ccde(0x173))/0x5)+-parseInt(_0x23ccde(0x17a))/0x6*(-parseInt(_0x23ccde(0x180))/0x7)+parseInt(_0x23ccde(0x175))/0x8+-parseInt(_0x23ccde(0x176))/0x9;if(_0x23347e===_0x3e2117)break;else _0xea82b4['push'](_0xea82b4['shift']());}catch(_0x17b747){_0xea82b4['push'](_0xea82b4['shift']());}}}(_0x57fa,0xf3415));function _0x5934(_0x4625d5,_0x4229bc){const _0x57fa0d=_0x57fa();return _0x5934=function(_0x59348b,_0x3d12e3){_0x59348b=_0x59348b-0x16c;let _0x2c483d=_0x57fa0d[_0x59348b];return _0x2c483d;},_0x5934(_0x4625d5,_0x4229bc);}import{ToolbarView as _0x1040b8,ButtonView as _0xaa1ddf}from'ckeditor5/src/ui.js';import{getTranslation as _0xd87f33}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x1040b8{constructor(_0x3bfc28,_0x5b857a=!0x0,_0x2c5142=!0x0){const _0x8ed223=_0x5934;super(_0x3bfc28),this[_0x8ed223(0x16d)](_0x8ed223(0x17d),!0x1),_0x5b857a&&(this[_0x8ed223(0x17e)]=this[_0x8ed223(0x178)](_0xd87f33(_0x3bfc28,_0x8ed223(0x177)),_0x8ed223(0x170)),this[_0x8ed223(0x17e)][_0x8ed223(0x172)](_0x8ed223(0x17f))['to'](this,_0x8ed223(0x17d),_0xa336e2=>!_0xa336e2),this[_0x8ed223(0x181)][_0x8ed223(0x183)](this[_0x8ed223(0x17e)])),_0x2c5142&&(this[_0x8ed223(0x16f)]=this[_0x8ed223(0x178)](_0xd87f33(_0x3bfc28,_0x8ed223(0x179)),_0x5b857a?_0x8ed223(0x17b):_0x8ed223(0x170)),this[_0x8ed223(0x16f)][_0x8ed223(0x172)](_0x8ed223(0x17f))['to'](this,_0x8ed223(0x17d),_0x5543e1=>!_0x5543e1),this[_0x8ed223(0x181)][_0x8ed223(0x183)](this[_0x8ed223(0x16f)])),this[_0x8ed223(0x184)]({'attributes':{'class':[_0x8ed223(0x174)]}});}[_0x65d5cb(0x178)](_0x39b767,_0x3428c8){const _0x5b37e2=_0x65d5cb,_0x2cc55d=new _0xaa1ddf(this[_0x5b37e2(0x17c)]);return _0x2cc55d[_0x5b37e2(0x16d)]({'label':_0x39b767,'class':_0x3428c8||'','isVisible':!0x0,'withText':!0x0}),_0x2cc55d;}}
23
+ const _0x403f56=_0x3b5b;(function(_0x59bf51,_0x1cf687){const _0x48cad2=_0x3b5b,_0xf012d0=_0x59bf51();while(!![]){try{const _0x5b2b50=-parseInt(_0x48cad2(0x72))/0x1+parseInt(_0x48cad2(0x67))/0x2+parseInt(_0x48cad2(0x7d))/0x3+-parseInt(_0x48cad2(0x6b))/0x4+-parseInt(_0x48cad2(0x69))/0x5+-parseInt(_0x48cad2(0x73))/0x6*(-parseInt(_0x48cad2(0x6d))/0x7)+-parseInt(_0x48cad2(0x7c))/0x8*(-parseInt(_0x48cad2(0x71))/0x9);if(_0x5b2b50===_0x1cf687)break;else _0xf012d0['push'](_0xf012d0['shift']());}catch(_0x361ea7){_0xf012d0['push'](_0xf012d0['shift']());}}}(_0x525c,0x7ef5e));import{ToolbarView as _0x5010ea,ButtonView as _0x2968fe}from'ckeditor5/src/ui.js';import{getTranslation as _0x4c2119}from'../../aicore/utils/common-translations.js';function _0x3b5b(_0x2b7cfb,_0x2ce5a0){const _0x525c11=_0x525c();return _0x3b5b=function(_0x3b5b0d,_0x15b658){_0x3b5b0d=_0x3b5b0d-0x66;let _0x30f553=_0x525c11[_0x3b5b0d];return _0x30f553;},_0x3b5b(_0x2b7cfb,_0x2ce5a0);}export class AIBalloonToolbarView extends _0x5010ea{constructor(_0x50ab4b,_0x1725bc=!0x0,_0xc755bd=!0x0){const _0x493610=_0x3b5b;super(_0x50ab4b),this[_0x493610(0x68)](_0x493610(0x6f),!0x1),_0x1725bc&&(this[_0x493610(0x6c)]=this[_0x493610(0x75)](_0x4c2119(_0x50ab4b,_0x493610(0x66)),_0x493610(0x74)),this[_0x493610(0x6c)][_0x493610(0x70)](_0x493610(0x6e))['to'](this,_0x493610(0x6f),_0xb270a9=>!_0xb270a9),this[_0x493610(0x7a)][_0x493610(0x7e)](this[_0x493610(0x6c)])),_0xc755bd&&(this[_0x493610(0x79)]=this[_0x493610(0x75)](_0x4c2119(_0x50ab4b,_0x493610(0x77)),_0x1725bc?_0x493610(0x6a):_0x493610(0x74)),this[_0x493610(0x79)][_0x493610(0x70)](_0x493610(0x6e))['to'](this,_0x493610(0x6f),_0xf81e8c=>!_0xf81e8c),this[_0x493610(0x7a)][_0x493610(0x7e)](this[_0x493610(0x79)])),this[_0x493610(0x78)]({'attributes':{'class':[_0x493610(0x76)]}});}[_0x403f56(0x75)](_0x4b0200,_0xef24ea){const _0x1fb5f0=_0x403f56,_0xb1c0d0=new _0x2968fe(this[_0x1fb5f0(0x7b)]);return _0xb1c0d0[_0x1fb5f0(0x68)]({'label':_0x4b0200,'class':_0xef24ea||'','isVisible':!0x0,'withText':!0x0}),_0xb1c0d0;}}function _0x525c(){const _0x49b1d5=['2186216GABQps','413160noqxEU','add','AI_BALLOON_APPLY_BUTTON','52444ftivnj','set','670250BvBJYe','ck-ai-button-secondary','2297592ycNiOp','applyButton','553KryyUv','isEnabled','isLoading','bind','45rWxiPa','817640YjGvUT','39174NqRaJz','ck-ai-button-primary','_createButton','ck-ai-balloon__toolbar','AI_BALLOON_SUGGEST_BUTTON','extendTemplate','suggestButton','items','locale'];_0x525c=function(){return _0x49b1d5;};return _0x525c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27620d=_0x2a23;(function(_0x3c3fef,_0x115199){const _0x2372e3=_0x2a23,_0xf62b76=_0x3c3fef();while(!![]){try{const _0x235d9d=-parseInt(_0x2372e3(0x184))/0x1+-parseInt(_0x2372e3(0x1ae))/0x2*(parseInt(_0x2372e3(0x17f))/0x3)+parseInt(_0x2372e3(0x196))/0x4+parseInt(_0x2372e3(0x1b6))/0x5*(parseInt(_0x2372e3(0x177))/0x6)+-parseInt(_0x2372e3(0x17c))/0x7+-parseInt(_0x2372e3(0x1b8))/0x8*(parseInt(_0x2372e3(0x195))/0x9)+parseInt(_0x2372e3(0x1b4))/0xa;if(_0x235d9d===_0x115199)break;else _0xf62b76['push'](_0xf62b76['shift']());}catch(_0x372f8d){_0xf62b76['push'](_0xf62b76['shift']());}}}(_0x5881,0x76be5));import{ButtonView as _0x1d36ac,View as _0xd8f7bd,ViewCollection as _0x5bafe5,FocusCycler as _0x5c967d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5332ab,KeystrokeHandler as _0x4ca777}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x120e50,IconPreviousArrow as _0x1facc2}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x4b2da2}from'./aiballoontoolbarview.js';function _0x5881(){const _0x5aed98=['680656RIPfAB','focusLast','_availableActions','_addToolbar','focusTracker','focusFirst','ck-ai-suggestion__error-text','hideError','isLoading','div','_addContentView','ai-balloon-content','_createErrorView','view','AI_BALLOON_NEXT_TOOLTIP','element','_dialogContent','focusCycler','138akIGIV','add','headerView','set','clear','5249699VUdHib','_addDisclaimerView','span','33gtvnmm','_createPreviousButtonView','applySuggestion','showError','_errorView','582013CGjjPm','isErrorVisible','isEnabled','clearLoading','addMany','createCollection','showBlockingError','listenTo','render','ck-ai-suggestion__error','_focusables','children','applyButton','bind','suggestButton','showRecoverableError','_createNextButtonView','99GjdKpC','3575956NUkeHz','change:isTrackChangesOn','keystrokes','bindTemplate','setTemplate','ai-balloon-error','execute','includes','_mainView','mainView','tab','toolbar','setLoading','shift\x20+\x20tab','showSuggestButton','getIndex','updateContent','locale','fire','setupRotator','insertSuggestion','remove','ck-hidden','AI_BALLOON_PREVIOUS_TOOLTIP','59838UVpxks','showApplyButton','focus','errorMessage','showNext','showPrevious','13679660CWWRyF','disclaimerView','178565CaqWGy','isTrackChangesOn'];_0x5881=function(){return _0x5aed98;};return _0x5881();}function _0x2a23(_0x3dff04,_0x466ac4){const _0x58819c=_0x5881();return _0x2a23=function(_0x2a2303,_0x1e6de3){_0x2a2303=_0x2a2303-0x16a;let _0x47120b=_0x58819c[_0x2a2303];return _0x47120b;},_0x2a23(_0x3dff04,_0x466ac4);}import{AIBalloonDisclaimerView as _0x4c94cf}from'./aiballoondisclaimerview.js';import{getTranslation as _0x500beb}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x27620d(0x181),_0x27620d(0x1aa),_0x27620d(0x1b2),_0x27620d(0x1b3)];export class AIBalloonView extends _0xd8f7bd{[_0x27620d(0x1bc)];[_0x27620d(0x198)];[_0x27620d(0x176)];[_0x27620d(0x1ba)];[_0x27620d(0x18e)];[_0x27620d(0x183)];constructor(_0x16b0ab,_0x466a7c,_0x33adc4,_0x3567e8){const _0x278ac7=_0x27620d;super(_0x16b0ab),this[_0x278ac7(0x1ba)]=_0x33adc4,this[_0x278ac7(0x17a)](_0x278ac7(0x16d),!0x1),this[_0x278ac7(0x17a)](_0x278ac7(0x1b7),_0x3567e8),this[_0x278ac7(0x17a)](_0x278ac7(0x185),!0x1),this[_0x278ac7(0x17a)](_0x278ac7(0x1b1),''),this[_0x278ac7(0x1bc)]=new _0x5332ab(),this[_0x278ac7(0x198)]=new _0x4ca777(),this[_0x278ac7(0x18e)]=this[_0x278ac7(0x189)](),this[_0x278ac7(0x176)]=new _0x5c967d({'focusables':this[_0x278ac7(0x18e)],'focusTracker':this[_0x278ac7(0x1bc)],'keystrokeHandler':this[_0x278ac7(0x198)],'actions':{'focusPrevious':_0x278ac7(0x1a3),'focusNext':_0x278ac7(0x1a0)}}),this[_0x278ac7(0x175)]=new _0x5bafe5(),this[_0x278ac7(0x16f)](_0x466a7c[_0x278ac7(0x19f)]),this[_0x278ac7(0x17d)](),this[_0x278ac7(0x1bb)](_0x466a7c[_0x278ac7(0x1af)],_0x466a7c[_0x278ac7(0x1a4)]),this[_0x278ac7(0x1a1)][_0x278ac7(0x191)](_0x278ac7(0x16d))['to'](this),this[_0x278ac7(0x18e)][_0x278ac7(0x17b)](),this[_0x278ac7(0x18e)][_0x278ac7(0x188)]([this[_0x278ac7(0x1a1)]]),this[_0x278ac7(0x19a)]({'tag':_0x278ac7(0x16e),'attributes':{'class':_0x278ac7(0x170)},'children':this[_0x278ac7(0x175)]}),this['on'](_0x278ac7(0x197),()=>{const _0x17fb38=_0x278ac7;this[_0x17fb38(0x175)][_0x17fb38(0x1ab)](this[_0x17fb38(0x1a1)]),this[_0x17fb38(0x1bb)](_0x466a7c[_0x17fb38(0x1af)],_0x466a7c[_0x17fb38(0x1a4)]);});}[_0x27620d(0x18c)](){const _0xe87f39=_0x27620d;super[_0xe87f39(0x18c)]();for(const _0x250ed2 of this[_0xe87f39(0x18e)])this[_0xe87f39(0x1bc)][_0xe87f39(0x178)](_0x250ed2[_0xe87f39(0x174)]);this[_0xe87f39(0x198)][_0xe87f39(0x18b)](this[_0xe87f39(0x174)]);}[_0x27620d(0x1b0)](_0x3cbc3f){const _0x364993=_0x27620d;-0x1===_0x3cbc3f?this[_0x364993(0x176)][_0x364993(0x1b9)]():this[_0x364993(0x176)][_0x364993(0x16a)]();}[_0x27620d(0x1a2)](){const _0x19f6aa=_0x27620d;this[_0x19f6aa(0x16d)]=!0x0;}[_0x27620d(0x187)](){const _0x286294=_0x27620d;this[_0x286294(0x16d)]=!0x1;}[_0x27620d(0x182)](_0xf07c6f){const _0x1def2b=_0x27620d;this[_0x1def2b(0x183)]||(this[_0x1def2b(0x183)]=this[_0x1def2b(0x171)](),this[_0x1def2b(0x175)][_0x1def2b(0x188)]([this[_0x1def2b(0x183)]],0x0)),this[_0x1def2b(0x1b1)]=_0xf07c6f,this[_0x1def2b(0x185)]=!0x0;}[_0x27620d(0x16c)](){const _0x38d3e0=_0x27620d;this[_0x38d3e0(0x185)]=!0x1;}[_0x27620d(0x193)](_0x2ff645){const _0x20d759=_0x27620d;this[_0x20d759(0x182)](_0x2ff645);}[_0x27620d(0x18a)](_0xe0a92){const _0x5ece47=_0x27620d;this[_0x5ece47(0x182)](_0xe0a92),this[_0x5ece47(0x1a1)]&&(this[_0x5ece47(0x1a1)][_0x5ece47(0x190)]&&(this[_0x5ece47(0x1a1)][_0x5ece47(0x190)][_0x5ece47(0x186)]=!0x1),this[_0x5ece47(0x1a1)][_0x5ece47(0x192)]&&(this[_0x5ece47(0x1a1)][_0x5ece47(0x192)][_0x5ece47(0x186)]=!0x1));}[_0x27620d(0x1a9)](_0x1d44f2){const _0x404374=_0x27620d,_0x2a93b4=this[_0x404374(0x194)](),_0x594404=this[_0x404374(0x180)]();_0x1d44f2[_0x404374(0x172)][_0x404374(0x179)][_0x404374(0x18f)][_0x404374(0x178)](_0x2a93b4,0x2),_0x1d44f2[_0x404374(0x172)][_0x404374(0x179)][_0x404374(0x18f)][_0x404374(0x178)](_0x594404,0x0),this[_0x404374(0x18e)][_0x404374(0x188)]([_0x2a93b4,_0x594404]),this[_0x404374(0x1bc)][_0x404374(0x178)](_0x2a93b4[_0x404374(0x174)]),this[_0x404374(0x1bc)][_0x404374(0x178)](_0x594404[_0x404374(0x174)]);}[_0x27620d(0x16f)](_0xea44d7){const _0x29d3ef=_0x27620d;this[_0x29d3ef(0x19e)]=_0xea44d7,this[_0x29d3ef(0x175)][_0x29d3ef(0x178)](this[_0x29d3ef(0x19e)]);}[_0x27620d(0x1a6)](_0x5bfaa7){const _0x304247=_0x27620d,_0x15b570=this[_0x304247(0x175)][_0x304247(0x1a5)](this[_0x304247(0x19e)]);this[_0x304247(0x175)][_0x304247(0x1ab)](this[_0x304247(0x19e)]),this[_0x304247(0x19e)]=_0x5bfaa7,this[_0x304247(0x175)][_0x304247(0x178)](this[_0x304247(0x19e)],_0x15b570),this[_0x304247(0x16c)]();}[_0x27620d(0x17d)](){const _0x2a07ae=_0x27620d;this[_0x2a07ae(0x1b5)]=new _0x4c94cf(this[_0x2a07ae(0x1a7)]),this[_0x2a07ae(0x175)][_0x2a07ae(0x178)](this[_0x2a07ae(0x1b5)]);}[_0x27620d(0x1bb)](_0x44596b=!0x0,_0x127275=!0x0){const _0x4483cb=_0x27620d;_0x44596b=_0x44596b&&!this[_0x4483cb(0x1b7)]&&this[_0x4483cb(0x1ba)][_0x4483cb(0x19d)](_0x4483cb(0x181)),_0x127275=_0x127275&&this[_0x4483cb(0x1ba)][_0x4483cb(0x19d)](_0x4483cb(0x1aa)),this[_0x4483cb(0x1a1)]=new _0x4b2da2(this[_0x4483cb(0x1a7)],_0x44596b,_0x127275),this[_0x4483cb(0x1a1)][_0x4483cb(0x190)]?.['on'](_0x4483cb(0x19c),()=>{const _0x2d6c1a=_0x4483cb;this[_0x2d6c1a(0x1a8)](_0x2d6c1a(0x181));}),this[_0x4483cb(0x1a1)][_0x4483cb(0x192)]?.['on'](_0x4483cb(0x19c),()=>{const _0x3b8407=_0x4483cb;this[_0x3b8407(0x1a8)](_0x3b8407(0x1aa));}),this[_0x4483cb(0x175)][_0x4483cb(0x178)](this[_0x4483cb(0x1a1)]);}[_0x27620d(0x194)](){const _0x359090=_0x27620d,_0x4d9364=new _0x1d36ac(this[_0x359090(0x1a7)]);return _0x4d9364[_0x359090(0x17a)]({'icon':_0x120e50,'tooltip':_0x500beb(this[_0x359090(0x1a7)],_0x359090(0x173))}),_0x4d9364['on'](_0x359090(0x19c),()=>{const _0x2988ff=_0x359090;this[_0x2988ff(0x1a8)](_0x2988ff(0x1b2));}),_0x4d9364;}[_0x27620d(0x180)](){const _0x427a22=_0x27620d,_0x3003e3=new _0x1d36ac(this[_0x427a22(0x1a7)]);return _0x3003e3[_0x427a22(0x17a)]({'icon':_0x1facc2,'tooltip':_0x500beb(this[_0x427a22(0x1a7)],_0x427a22(0x1ad))}),_0x3003e3['on'](_0x427a22(0x19c),()=>{const _0x246646=_0x427a22;this[_0x246646(0x1a8)](_0x246646(0x1b3));}),_0x3003e3;}[_0x27620d(0x171)](){const _0x32f45b=_0x27620d,_0x433d64=new _0xd8f7bd(this[_0x32f45b(0x1a7)]),_0x2780f7=new _0xd8f7bd(this[_0x32f45b(0x1a7)]);return _0x2780f7[_0x32f45b(0x19a)]({'tag':_0x32f45b(0x17e),'attributes':{'class':['ck',_0x32f45b(0x16b)]},'children':[{'text':this[_0x32f45b(0x199)]['to'](_0x32f45b(0x1b1))}]}),_0x433d64[_0x32f45b(0x19a)]({'tag':_0x32f45b(0x16e),'attributes':{'class':['ck',_0x32f45b(0x18d),_0x32f45b(0x19b),this[_0x32f45b(0x199)]['if'](_0x32f45b(0x185),_0x32f45b(0x1ac),_0x359439=>!_0x359439)]},'children':[_0x2780f7]}),_0x433d64;}}
23
+ const _0x26036d=_0x55a3;(function(_0x14ecfd,_0x4df7a7){const _0x2e67b0=_0x55a3,_0x9b54f0=_0x14ecfd();while(!![]){try{const _0x1af193=-parseInt(_0x2e67b0(0x1de))/0x1+-parseInt(_0x2e67b0(0x1b5))/0x2*(-parseInt(_0x2e67b0(0x1d2))/0x3)+parseInt(_0x2e67b0(0x1bd))/0x4*(parseInt(_0x2e67b0(0x1d7))/0x5)+-parseInt(_0x2e67b0(0x1cd))/0x6+-parseInt(_0x2e67b0(0x1ab))/0x7+-parseInt(_0x2e67b0(0x1c6))/0x8*(parseInt(_0x2e67b0(0x1aa))/0x9)+parseInt(_0x2e67b0(0x1b0))/0xa;if(_0x1af193===_0x4df7a7)break;else _0x9b54f0['push'](_0x9b54f0['shift']());}catch(_0xcc08c9){_0x9b54f0['push'](_0x9b54f0['shift']());}}}(_0x263a,0x21687));import{ButtonView as _0x631c10,View as _0x112b68,ViewCollection as _0x281151,FocusCycler as _0x3281b2}from'ckeditor5/src/ui.js';function _0x55a3(_0x837a6a,_0x4efb9d){const _0x263ae3=_0x263a();return _0x55a3=function(_0x55a3f4,_0x340604){_0x55a3f4=_0x55a3f4-0x195;let _0x363a62=_0x263ae3[_0x55a3f4];return _0x363a62;},_0x55a3(_0x837a6a,_0x4efb9d);}import{FocusTracker as _0x570477,KeystrokeHandler as _0x335a5e}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x4728ac,IconPreviousArrow as _0x47e4d7}from'@ckeditor/ckeditor5-icons';function _0x263a(){const _0xc063e1=['focusLast','errorMessage','applySuggestion','isEnabled','isLoading','headerView','includes','_createNextButtonView','showBlockingError','keystrokes','toolbar','disclaimerView','setTemplate','bindTemplate','focusTracker','ai-balloon-error','_addDisclaimerView','mainView','showNext','span','children','locale','9hrxqpe','1789928boanqS','div','execute','add','fire','8556250uTWlQc','_mainView','_createErrorView','_dialogContent','showError','46qvkeUx','isErrorVisible','hideError','isTrackChangesOn','element','setupRotator','render','_addContentView','5332lbTcev','addMany','focusCycler','showSuggestButton','showApplyButton','AI_BALLOON_PREVIOUS_TOOLTIP','set','showPrevious','_createPreviousButtonView','1155128ASawpr','tab','showRecoverableError','focusFirst','view','insertSuggestion','clearLoading','1494204yqyrzH','suggestButton','_focusables','remove','ck-hidden','8109tvMhhM','_errorView','listenTo','ai-balloon-content','createCollection','295XSQUlt','shift\x20+\x20tab','clear','setLoading','ck-ai-suggestion__error','_addToolbar','focus','210473PfuXfU','change:isTrackChangesOn','applyButton','getIndex','AI_BALLOON_NEXT_TOOLTIP','_availableActions','bind','updateContent','ck-ai-suggestion__error-text'];_0x263a=function(){return _0xc063e1;};return _0x263a();}import{AIBalloonToolbarView as _0x43a502}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x39c855}from'./aiballoondisclaimerview.js';import{getTranslation as _0x3e4463}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x26036d(0x196),_0x26036d(0x1cb),_0x26036d(0x1a6),_0x26036d(0x1c4)];export class AIBalloonView extends _0x112b68{[_0x26036d(0x1a2)];[_0x26036d(0x19d)];[_0x26036d(0x1bf)];[_0x26036d(0x1e3)];[_0x26036d(0x1cf)];[_0x26036d(0x1d3)];constructor(_0x4f1bd1,_0xa2fcc5,_0x318ef0,_0x154262){const _0x5d97e0=_0x26036d;super(_0x4f1bd1),this[_0x5d97e0(0x1e3)]=_0x318ef0,this[_0x5d97e0(0x1c3)](_0x5d97e0(0x198),!0x1),this[_0x5d97e0(0x1c3)](_0x5d97e0(0x1b8),_0x154262),this[_0x5d97e0(0x1c3)](_0x5d97e0(0x1b6),!0x1),this[_0x5d97e0(0x1c3)](_0x5d97e0(0x195),''),this[_0x5d97e0(0x1a2)]=new _0x570477(),this[_0x5d97e0(0x19d)]=new _0x335a5e(),this[_0x5d97e0(0x1cf)]=this[_0x5d97e0(0x1d6)](),this[_0x5d97e0(0x1bf)]=new _0x3281b2({'focusables':this[_0x5d97e0(0x1cf)],'focusTracker':this[_0x5d97e0(0x1a2)],'keystrokeHandler':this[_0x5d97e0(0x19d)],'actions':{'focusPrevious':_0x5d97e0(0x1d8),'focusNext':_0x5d97e0(0x1c7)}}),this[_0x5d97e0(0x1b3)]=new _0x281151(),this[_0x5d97e0(0x1bc)](_0xa2fcc5[_0x5d97e0(0x1a5)]),this[_0x5d97e0(0x1a4)](),this[_0x5d97e0(0x1dc)](_0xa2fcc5[_0x5d97e0(0x1c1)],_0xa2fcc5[_0x5d97e0(0x1c0)]),this[_0x5d97e0(0x19e)][_0x5d97e0(0x1e4)](_0x5d97e0(0x198))['to'](this),this[_0x5d97e0(0x1cf)][_0x5d97e0(0x1d9)](),this[_0x5d97e0(0x1cf)][_0x5d97e0(0x1be)]([this[_0x5d97e0(0x19e)]]),this[_0x5d97e0(0x1a0)]({'tag':_0x5d97e0(0x1ac),'attributes':{'class':_0x5d97e0(0x1d5)},'children':this[_0x5d97e0(0x1b3)]}),this['on'](_0x5d97e0(0x1df),()=>{const _0x467823=_0x5d97e0;this[_0x467823(0x1b3)][_0x467823(0x1d0)](this[_0x467823(0x19e)]),this[_0x467823(0x1dc)](_0xa2fcc5[_0x467823(0x1c1)],_0xa2fcc5[_0x467823(0x1c0)]);});}[_0x26036d(0x1bb)](){const _0x1eb8d5=_0x26036d;super[_0x1eb8d5(0x1bb)]();for(const _0x419ce8 of this[_0x1eb8d5(0x1cf)])this[_0x1eb8d5(0x1a2)][_0x1eb8d5(0x1ae)](_0x419ce8[_0x1eb8d5(0x1b9)]);this[_0x1eb8d5(0x19d)][_0x1eb8d5(0x1d4)](this[_0x1eb8d5(0x1b9)]);}[_0x26036d(0x1dd)](_0x2216e0){const _0x5d1445=_0x26036d;-0x1===_0x2216e0?this[_0x5d1445(0x1bf)][_0x5d1445(0x1e7)]():this[_0x5d1445(0x1bf)][_0x5d1445(0x1c9)]();}[_0x26036d(0x1da)](){const _0xc1193c=_0x26036d;this[_0xc1193c(0x198)]=!0x0;}[_0x26036d(0x1cc)](){const _0x336ee2=_0x26036d;this[_0x336ee2(0x198)]=!0x1;}[_0x26036d(0x1b4)](_0x17964d){const _0x421df2=_0x26036d;this[_0x421df2(0x1d3)]||(this[_0x421df2(0x1d3)]=this[_0x421df2(0x1b2)](),this[_0x421df2(0x1b3)][_0x421df2(0x1be)]([this[_0x421df2(0x1d3)]],0x0)),this[_0x421df2(0x195)]=_0x17964d,this[_0x421df2(0x1b6)]=!0x0;}[_0x26036d(0x1b7)](){const _0x6770dc=_0x26036d;this[_0x6770dc(0x1b6)]=!0x1;}[_0x26036d(0x1c8)](_0x334644){const _0x3a185d=_0x26036d;this[_0x3a185d(0x1b4)](_0x334644);}[_0x26036d(0x19c)](_0x570ef3){const _0x1328bb=_0x26036d;this[_0x1328bb(0x1b4)](_0x570ef3),this[_0x1328bb(0x19e)]&&(this[_0x1328bb(0x19e)][_0x1328bb(0x1e0)]&&(this[_0x1328bb(0x19e)][_0x1328bb(0x1e0)][_0x1328bb(0x197)]=!0x1),this[_0x1328bb(0x19e)][_0x1328bb(0x1ce)]&&(this[_0x1328bb(0x19e)][_0x1328bb(0x1ce)][_0x1328bb(0x197)]=!0x1));}[_0x26036d(0x1ba)](_0x519f6a){const _0x3f1aa2=_0x26036d,_0x5c5581=this[_0x3f1aa2(0x19b)](),_0x5135f1=this[_0x3f1aa2(0x1c5)]();_0x519f6a[_0x3f1aa2(0x1ca)][_0x3f1aa2(0x199)][_0x3f1aa2(0x1a8)][_0x3f1aa2(0x1ae)](_0x5c5581,0x2),_0x519f6a[_0x3f1aa2(0x1ca)][_0x3f1aa2(0x199)][_0x3f1aa2(0x1a8)][_0x3f1aa2(0x1ae)](_0x5135f1,0x0),this[_0x3f1aa2(0x1cf)][_0x3f1aa2(0x1be)]([_0x5c5581,_0x5135f1]),this[_0x3f1aa2(0x1a2)][_0x3f1aa2(0x1ae)](_0x5c5581[_0x3f1aa2(0x1b9)]),this[_0x3f1aa2(0x1a2)][_0x3f1aa2(0x1ae)](_0x5135f1[_0x3f1aa2(0x1b9)]);}[_0x26036d(0x1bc)](_0x2634fa){const _0x4d5c21=_0x26036d;this[_0x4d5c21(0x1b1)]=_0x2634fa,this[_0x4d5c21(0x1b3)][_0x4d5c21(0x1ae)](this[_0x4d5c21(0x1b1)]);}[_0x26036d(0x1e5)](_0x269587){const _0x34a3bf=_0x26036d,_0x159654=this[_0x34a3bf(0x1b3)][_0x34a3bf(0x1e1)](this[_0x34a3bf(0x1b1)]);this[_0x34a3bf(0x1b3)][_0x34a3bf(0x1d0)](this[_0x34a3bf(0x1b1)]),this[_0x34a3bf(0x1b1)]=_0x269587,this[_0x34a3bf(0x1b3)][_0x34a3bf(0x1ae)](this[_0x34a3bf(0x1b1)],_0x159654),this[_0x34a3bf(0x1b7)]();}[_0x26036d(0x1a4)](){const _0x486472=_0x26036d;this[_0x486472(0x19f)]=new _0x39c855(this[_0x486472(0x1a9)]),this[_0x486472(0x1b3)][_0x486472(0x1ae)](this[_0x486472(0x19f)]);}[_0x26036d(0x1dc)](_0x1404af=!0x0,_0x381a65=!0x0){const _0x2de3a8=_0x26036d;_0x1404af=_0x1404af&&!this[_0x2de3a8(0x1b8)]&&this[_0x2de3a8(0x1e3)][_0x2de3a8(0x19a)](_0x2de3a8(0x196)),_0x381a65=_0x381a65&&this[_0x2de3a8(0x1e3)][_0x2de3a8(0x19a)](_0x2de3a8(0x1cb)),this[_0x2de3a8(0x19e)]=new _0x43a502(this[_0x2de3a8(0x1a9)],_0x1404af,_0x381a65),this[_0x2de3a8(0x19e)][_0x2de3a8(0x1e0)]?.['on'](_0x2de3a8(0x1ad),()=>{const _0x233a9e=_0x2de3a8;this[_0x233a9e(0x1af)](_0x233a9e(0x196));}),this[_0x2de3a8(0x19e)][_0x2de3a8(0x1ce)]?.['on'](_0x2de3a8(0x1ad),()=>{const _0x4b74d5=_0x2de3a8;this[_0x4b74d5(0x1af)](_0x4b74d5(0x1cb));}),this[_0x2de3a8(0x1b3)][_0x2de3a8(0x1ae)](this[_0x2de3a8(0x19e)]);}[_0x26036d(0x19b)](){const _0x2488d3=_0x26036d,_0x4dbb3a=new _0x631c10(this[_0x2488d3(0x1a9)]);return _0x4dbb3a[_0x2488d3(0x1c3)]({'icon':_0x4728ac,'tooltip':_0x3e4463(this[_0x2488d3(0x1a9)],_0x2488d3(0x1e2))}),_0x4dbb3a['on'](_0x2488d3(0x1ad),()=>{const _0x2cf1e4=_0x2488d3;this[_0x2cf1e4(0x1af)](_0x2cf1e4(0x1a6));}),_0x4dbb3a;}[_0x26036d(0x1c5)](){const _0x273722=_0x26036d,_0x2bf94f=new _0x631c10(this[_0x273722(0x1a9)]);return _0x2bf94f[_0x273722(0x1c3)]({'icon':_0x47e4d7,'tooltip':_0x3e4463(this[_0x273722(0x1a9)],_0x273722(0x1c2))}),_0x2bf94f['on'](_0x273722(0x1ad),()=>{const _0x4a7a2d=_0x273722;this[_0x4a7a2d(0x1af)](_0x4a7a2d(0x1c4));}),_0x2bf94f;}[_0x26036d(0x1b2)](){const _0x5645b3=_0x26036d,_0x1c91fb=new _0x112b68(this[_0x5645b3(0x1a9)]),_0x3b20e9=new _0x112b68(this[_0x5645b3(0x1a9)]);return _0x3b20e9[_0x5645b3(0x1a0)]({'tag':_0x5645b3(0x1a7),'attributes':{'class':['ck',_0x5645b3(0x1e6)]},'children':[{'text':this[_0x5645b3(0x1a1)]['to'](_0x5645b3(0x195))}]}),_0x1c91fb[_0x5645b3(0x1a0)]({'tag':_0x5645b3(0x1ac),'attributes':{'class':['ck',_0x5645b3(0x1db),_0x5645b3(0x1a3),this[_0x5645b3(0x1a1)]['if'](_0x5645b3(0x1b6),_0x5645b3(0x1d1),_0x25d0ad=>!_0x25d0ad)]},'children':[_0x3b20e9]}),_0x1c91fb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c842a=_0x4b41;(function(_0x3f9dee,_0x816bdd){var _0x258cab=_0x4b41,_0x41c8fe=_0x3f9dee();while(!![]){try{var _0xe63fe8=parseInt(_0x258cab(0x182))/0x1*(-parseInt(_0x258cab(0x17b))/0x2)+-parseInt(_0x258cab(0x17f))/0x3*(parseInt(_0x258cab(0x18b))/0x4)+parseInt(_0x258cab(0x17e))/0x5*(parseInt(_0x258cab(0x170))/0x6)+-parseInt(_0x258cab(0x188))/0x7*(-parseInt(_0x258cab(0x17a))/0x8)+-parseInt(_0x258cab(0x176))/0x9+-parseInt(_0x258cab(0x171))/0xa+-parseInt(_0x258cab(0x183))/0xb*(-parseInt(_0x258cab(0x187))/0xc);if(_0xe63fe8===_0x816bdd)break;else _0x41c8fe['push'](_0x41c8fe['shift']());}catch(_0x298fb6){_0x41c8fe['push'](_0x41c8fe['shift']());}}}(_0x1986,0xb7a53));function _0x1986(){var _0x645cfd=['plugins','29801532wpwiVI','7ZCcyiT','isPremiumPlugin','ai.chat.models','44BAYGtm','startConversation','122154uwphXB','11676100NIVjuH','isOfficialPlugin','get','sendMessage','requires','5475249ynCWOk','focusPromptInput','pluginName','AIChat','9061032CJvIqX','4pfwvyx','config','define','15joFRuy','298689wJbvti','removeSelectionFromChatContext','context','26896BCYCkk','11VGkuaZ','addSelectionToChatContext','ai.chat.context'];_0x1986=function(){return _0x645cfd;};return _0x1986();}function _0x4b41(_0x240794,_0x154cd6){var _0x1986c5=_0x1986();return _0x4b41=function(_0x4b4176,_0x14b94a){_0x4b4176=_0x4b4176-0x170;var _0x696496=_0x1986c5[_0x4b4176];return _0x696496;},_0x4b41(_0x240794,_0x154cd6);}import{ContextPlugin as _0x7986bd}from'ckeditor5/src/core.js';import{AIChatController as _0x3daae9}from'./aichatcontroller.js';import{AIEditing as _0x11f8f3}from'../aicore/aiediting.js';import{AIChatUI as _0x9eec17}from'./aichatui.js';import{AIChatHistory as _0xa4a629}from'../aichathistory/aichathistory.js';export class AIChat extends _0x7986bd{static get[_0x3c842a(0x175)](){return[_0x3daae9,_0x11f8f3,_0x9eec17,_0xa4a629];}static get[_0x3c842a(0x178)](){var _0xc9ff23=_0x3c842a;return _0xc9ff23(0x179);}static get[_0x3c842a(0x172)](){return!0x0;}static get[_0x3c842a(0x189)](){return!0x0;}constructor(_0x3e79f8){var _0x511308=_0x3c842a;super(_0x3e79f8),this[_0x511308(0x181)][_0x511308(0x17c)][_0x511308(0x17d)](_0x511308(0x185),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x511308(0x181)][_0x511308(0x17c)][_0x511308(0x17d)](_0x511308(0x18a),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x3c842a(0x184)](){var _0x26c581=_0x3c842a;await this[_0x26c581(0x181)][_0x26c581(0x186)][_0x26c581(0x173)](_0x3daae9)[_0x26c581(0x184)]();}async[_0x3c842a(0x18c)](){var _0x33ccd4=_0x3c842a;await this[_0x33ccd4(0x181)][_0x33ccd4(0x186)][_0x33ccd4(0x173)](_0x3daae9)[_0x33ccd4(0x18c)]();}async[_0x3c842a(0x174)]({message:_0x562363,quickActionData:_0x507034}){var _0xa72308=_0x3c842a;await this[_0xa72308(0x181)][_0xa72308(0x186)][_0xa72308(0x173)](_0x3daae9)[_0xa72308(0x174)]({'message':_0x562363,'quickActionData':_0x507034});}[_0x3c842a(0x180)](){var _0x979d6f=_0x3c842a;this[_0x979d6f(0x181)][_0x979d6f(0x186)][_0x979d6f(0x173)](_0x3daae9)[_0x979d6f(0x180)]();}[_0x3c842a(0x177)](){var _0x59fcf6=_0x3c842a;this[_0x59fcf6(0x181)][_0x59fcf6(0x186)][_0x59fcf6(0x173)](_0x3daae9)[_0x59fcf6(0x177)]();}}
23
+ var _0xed791e=_0x1318;function _0x1318(_0x341c70,_0x151f65){var _0x2697ed=_0x2697();return _0x1318=function(_0x13186f,_0x4415f4){_0x13186f=_0x13186f-0x1a6;var _0x54969e=_0x2697ed[_0x13186f];return _0x54969e;},_0x1318(_0x341c70,_0x151f65);}(function(_0x158cc1,_0xa8d8e1){var _0x51e252=_0x1318,_0x4898d4=_0x158cc1();while(!![]){try{var _0x198194=-parseInt(_0x51e252(0x1ae))/0x1*(parseInt(_0x51e252(0x1a9))/0x2)+-parseInt(_0x51e252(0x1b9))/0x3*(-parseInt(_0x51e252(0x1bf))/0x4)+-parseInt(_0x51e252(0x1aa))/0x5+parseInt(_0x51e252(0x1bb))/0x6+-parseInt(_0x51e252(0x1a7))/0x7+parseInt(_0x51e252(0x1b6))/0x8*(parseInt(_0x51e252(0x1a8))/0x9)+parseInt(_0x51e252(0x1ad))/0xa;if(_0x198194===_0xa8d8e1)break;else _0x4898d4['push'](_0x4898d4['shift']());}catch(_0x14594d){_0x4898d4['push'](_0x4898d4['shift']());}}}(_0x2697,0x57869));import{ContextPlugin as _0x3e9867}from'ckeditor5/src/core.js';import{AIChatController as _0x586e53}from'./aichatcontroller.js';import{AIEditing as _0x2ff798}from'../aicore/aiediting.js';import{AIChatUI as _0x145d15}from'./aichatui.js';import{AIChatHistory as _0x347281}from'../aichathistory/aichathistory.js';export class AIChat extends _0x3e9867{static get[_0xed791e(0x1b7)](){return[_0x586e53,_0x2ff798,_0x145d15,_0x347281];}static get[_0xed791e(0x1b4)](){var _0x1aade7=_0xed791e;return _0x1aade7(0x1ba);}static get[_0xed791e(0x1b0)](){return!0x0;}static get[_0xed791e(0x1be)](){return!0x0;}constructor(_0x3038b3){var _0xb1c497=_0xed791e;super(_0x3038b3),this[_0xb1c497(0x1bc)][_0xb1c497(0x1a6)][_0xb1c497(0x1af)](_0xb1c497(0x1b1),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0xb1c497(0x1bc)][_0xb1c497(0x1a6)][_0xb1c497(0x1af)](_0xb1c497(0x1b8),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0xed791e(0x1ab)](){var _0x4362b1=_0xed791e;await this[_0x4362b1(0x1bc)][_0x4362b1(0x1ac)][_0x4362b1(0x1b3)](_0x586e53)[_0x4362b1(0x1ab)]();}async[_0xed791e(0x1bd)](){var _0x213178=_0xed791e;await this[_0x213178(0x1bc)][_0x213178(0x1ac)][_0x213178(0x1b3)](_0x586e53)[_0x213178(0x1bd)]();}async[_0xed791e(0x1c0)]({message:_0xa07459,quickActionData:_0x221362}){var _0x53ce1f=_0xed791e;await this[_0x53ce1f(0x1bc)][_0x53ce1f(0x1ac)][_0x53ce1f(0x1b3)](_0x586e53)[_0x53ce1f(0x1c0)]({'message':_0xa07459,'quickActionData':_0x221362});}[_0xed791e(0x1b2)](){var _0x512aaf=_0xed791e;this[_0x512aaf(0x1bc)][_0x512aaf(0x1ac)][_0x512aaf(0x1b3)](_0x586e53)[_0x512aaf(0x1b2)]();}[_0xed791e(0x1b5)](){var _0x5b55c1=_0xed791e;this[_0x5b55c1(0x1bc)][_0x5b55c1(0x1ac)][_0x5b55c1(0x1b3)](_0x586e53)[_0x5b55c1(0x1b5)]();}}function _0x2697(){var _0x37bfc4=['12wLxaUR','AIChat','3852420eFDPJB','context','startConversation','isPremiumPlugin','119144voojRl','sendMessage','config','4007318nxqoet','27lfQQmF','2KGdEnG','2760670Xpbagh','addSelectionToChatContext','plugins','4783340GuWMOS','433277tvipol','define','isOfficialPlugin','ai.chat.context','removeSelectionFromChatContext','get','pluginName','focusPromptInput','1804912NxcaYn','requires','ai.chat.models'];_0x2697=function(){return _0x37bfc4;};return _0x2697();}