@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 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 (129) 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/aireviewcheckcustom.js +1 -1
  110. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  113. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  126. package/src/aitabs/aitabs.js +1 -1
  127. package/src/aitabs/tabs/aitabsview.js +1 -1
  128. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  129. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x264b87=_0x4bee;function _0x4bee(_0x39b341,_0x1fda6b){const _0x23e7d1=_0x23e7();return _0x4bee=function(_0x4beee8,_0x50bfdc){_0x4beee8=_0x4beee8-0x1a5;let _0x218415=_0x23e7d1[_0x4beee8];return _0x218415;},_0x4bee(_0x39b341,_0x1fda6b);}(function(_0x14604d,_0x5d8009){const _0x2c23e8=_0x4bee,_0x47f614=_0x14604d();while(!![]){try{const _0xc3b178=-parseInt(_0x2c23e8(0x1e9))/0x1*(-parseInt(_0x2c23e8(0x1d0))/0x2)+parseInt(_0x2c23e8(0x1cf))/0x3*(parseInt(_0x2c23e8(0x1db))/0x4)+parseInt(_0x2c23e8(0x1ab))/0x5+-parseInt(_0x2c23e8(0x1cd))/0x6*(parseInt(_0x2c23e8(0x1d9))/0x7)+-parseInt(_0x2c23e8(0x1c6))/0x8*(parseInt(_0x2c23e8(0x1c3))/0x9)+-parseInt(_0x2c23e8(0x1cc))/0xa+parseInt(_0x2c23e8(0x1b3))/0xb;if(_0xc3b178===_0x5d8009)break;else _0x47f614['push'](_0x47f614['shift']());}catch(_0x402332){_0x47f614['push'](_0x47f614['shift']());}}}(_0x23e7,0x8fe1e));import{FocusTracker as _0x320cd2,KeystrokeHandler as _0x57fcaf}from'ckeditor5/src/utils.js';import{View as _0x30403e,FocusCycler as _0x3cdded,createLabeledTextarea as _0x497dc3}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x440e18,AIFormToolbarViewMainActionLabel as _0x4701ba}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x452205}from'./aiformcontentarea.js';import{AIFormErrorView as _0x27adf0}from'./aiformerrorview.js';import{AIFormPromptView as _0x5bf570}from'./aiformpromptview.js';import{AIHistoryListView as _0x58dabd}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x528e10}from'./aihistorylistitemview.js';import{PromptHistory as _0x1edbf1}from'./prompthistory.js';import{getTranslation as _0x493123}from'../../utils/common-translations.js';import{escape as _0x12324}from'es-toolkit/compat';function _0x23e7(){const _0x432932=['_createPromptView','114888NZbnXe','bindTo','focusFirst','mainAction','_createToolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','queryView','focus','toolbar','stopProcessing','finishProcessing','copyButtonView','tab','fire','25PUQOsW','stopButton','bindTemplate','set','createCollection','isEnabled','submitPrompt','insertContentBelow','errorView','execute','_focusables','clearHistory','prompt','listenTo','startProcessing','REPLACE','replaceContent','locale','focusLast','submit','trim','ck-ai-form','contentArea','isProcessing','5472220Wuzrof','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_promptHistory','promptView','tryAgainButton','AI_ERROR_FAILED','_createHistoryView','handleError','981805rCAdZL','tryAgainEvent','element','clear','delegate','fieldView','bind','isVisible','text','insertButton','isError','add','reset','shift\x20+\x20tab','focusCycler','items','463842PJWtLB','historyGroupView','ck-hidden','88UoNQAp','render','value','Empty\x20history','div','ck-ai-form-content','3520620igOIyG','3228126xfrnDN','high','6kmCGEb','64416SvNgtx','setTemplate','replaceButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','chain','keystrokes','label','search','focusTracker','7unwnab'];_0x23e7=function(){return _0x432932;};return _0x23e7();}export class AIFormView extends _0x30403e{[_0x264b87(0x1d8)];[_0x264b87(0x1d5)];[_0x264b87(0x1a9)];[_0x264b87(0x1e3)];[_0x264b87(0x1ae)];[_0x264b87(0x1f1)];[_0x264b87(0x1f3)];[_0x264b87(0x1c1)];[_0x264b87(0x1ad)];constructor(_0x5890fe,_0x465df0,_0x4004dc=''){const _0x241fa6=_0x264b87;super(_0x5890fe),this[_0x241fa6(0x1ec)](_0x241fa6(0x1ee),!0x0),this[_0x241fa6(0x1ec)](_0x241fa6(0x1aa),!0x1),this[_0x241fa6(0x1ec)](_0x241fa6(0x1f5),''),this[_0x241fa6(0x1ec)](_0x241fa6(0x1c8),''),this[_0x241fa6(0x1ec)](_0x241fa6(0x1bd),!0x1),this[_0x241fa6(0x1ec)](_0x241fa6(0x1de),_0x4701ba[_0x241fa6(0x1f8)]),this[_0x241fa6(0x1ad)]=new _0x1edbf1(),this[_0x241fa6(0x1f1)]=new _0x27adf0(_0x5890fe),this[_0x241fa6(0x1a9)]=new _0x452205(_0x5890fe,_0x4004dc),this[_0x241fa6(0x1a9)][_0x241fa6(0x1b9)](_0x241fa6(0x1aa))['to'](this),this[_0x241fa6(0x1a9)][_0x241fa6(0x1b9)](_0x241fa6(0x1c8))['to'](this),this[_0x241fa6(0x1e3)]=this[_0x241fa6(0x1df)](),this[_0x241fa6(0x1e3)][_0x241fa6(0x1b9)](_0x241fa6(0x1de))['to'](this),this[_0x241fa6(0x1ae)]=this[_0x241fa6(0x1da)](),this[_0x241fa6(0x1d8)]=new _0x320cd2(),this[_0x241fa6(0x1d5)]=new _0x57fcaf(),this[_0x241fa6(0x1f3)]=this[_0x241fa6(0x1ed)]([this[_0x241fa6(0x1a9)],this[_0x241fa6(0x1a9)][_0x241fa6(0x1e6)],this[_0x241fa6(0x1e3)],this[_0x241fa6(0x1ae)]]),this[_0x241fa6(0x1c1)]=new _0x3cdded({'focusables':this[_0x241fa6(0x1f3)],'focusTracker':this[_0x241fa6(0x1d8)],'keystrokeHandler':this[_0x241fa6(0x1d5)],'actions':{'focusPrevious':_0x241fa6(0x1c0),'focusNext':_0x241fa6(0x1e7)}}),this[_0x241fa6(0x1c1)][_0x241fa6(0x1d4)](this[_0x241fa6(0x1ae)][_0x241fa6(0x1c1)]),this[_0x241fa6(0x1ae)][_0x241fa6(0x1e1)][_0x241fa6(0x1b8)][_0x241fa6(0x1b9)](_0x241fa6(0x1c8))['to'](this,_0x241fa6(0x1f5));const _0x5b3e9b=this[_0x241fa6(0x1eb)];this[_0x241fa6(0x1d1)]({'tag':_0x241fa6(0x1ca),'attributes':{'class':['ck',_0x241fa6(0x1a8),_0x465df0],'tabindex':'-1'},'children':[{'tag':_0x241fa6(0x1ca),'attributes':{'class':['ck',_0x241fa6(0x1cb)]},'children':[{'tag':_0x241fa6(0x1ca),'attributes':{'class':[_0x5b3e9b['if'](_0x241fa6(0x1bd),_0x241fa6(0x1c5),_0x1d85f3=>!_0x1d85f3)]},'children':[this[_0x241fa6(0x1f1)]]},this[_0x241fa6(0x1a9)],this[_0x241fa6(0x1e3)],this[_0x241fa6(0x1ae)]]}]});}[_0x264b87(0x1c7)](){const _0x54463a=_0x264b87;super[_0x54463a(0x1c7)](),this[_0x54463a(0x1d8)][_0x54463a(0x1be)](this[_0x54463a(0x1a9)][_0x54463a(0x1b5)]),this[_0x54463a(0x1d8)][_0x54463a(0x1be)](this[_0x54463a(0x1a9)][_0x54463a(0x1e6)][_0x54463a(0x1b5)]),this[_0x54463a(0x1d8)][_0x54463a(0x1be)](this[_0x54463a(0x1e3)][_0x54463a(0x1b5)]),this[_0x54463a(0x1d8)][_0x54463a(0x1be)](this[_0x54463a(0x1ae)][_0x54463a(0x1b5)]),this[_0x54463a(0x1d5)][_0x54463a(0x1f6)](this[_0x54463a(0x1b5)]);}[_0x264b87(0x1e2)](_0x9117f3=0x1){const _0x39e3df=_0x264b87;-0x1===_0x9117f3?this[_0x39e3df(0x1c1)][_0x39e3df(0x1a5)]():this[_0x39e3df(0x1c1)][_0x39e3df(0x1dd)]();}[_0x264b87(0x1bf)](){const _0x40bff2=_0x264b87;this[_0x40bff2(0x1f5)]='',this[_0x40bff2(0x1c8)]='',this[_0x40bff2(0x1bd)]=!0x1,this[_0x40bff2(0x1ae)][_0x40bff2(0x1bf)](),this[_0x40bff2(0x1a9)][_0x40bff2(0x1ba)]=!0x1,this[_0x40bff2(0x1e3)][_0x40bff2(0x1ba)]=!0x1;}[_0x264b87(0x1da)](){const _0x5afb48=_0x264b87,_0x1fafaa=this[_0x5afb48(0x1fa)],_0x3a8798=new _0x5bf570(_0x1fafaa,{'queryView':{'label':_0x493123(_0x1fafaa,_0x5afb48(0x1e0)),'creator':_0x497dc3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x493123(_0x1fafaa,_0x5afb48(0x1c9)),'secondary':_0x493123(_0x1fafaa,_0x5afb48(0x1ac))}}},'filteredView':this[_0x5afb48(0x1b1)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3a8798[_0x5afb48(0x1b9)](_0x5afb48(0x1ee))['to'](this,_0x5afb48(0x1ee),this,_0x5afb48(0x1aa),(_0xc8261a,_0xfa6d55)=>_0xc8261a&&!_0xfa6d55),this[_0x5afb48(0x1f6)](_0x3a8798,_0x5afb48(0x1a6),(_0x10c536,_0x64e198)=>{const _0xbfef53=_0x5afb48;this[_0xbfef53(0x1f5)]=_0x64e198;const _0x2754fe=_0x12324(_0x64e198);this[_0xbfef53(0x1e8)](_0xbfef53(0x1ef),_0x2754fe),_0x64e198[_0xbfef53(0x1a7)]()&&this[_0xbfef53(0x1ad)][_0xbfef53(0x1be)]({'prompt':_0x2754fe},0x0);},{'priority':_0x5afb48(0x1ce)}),_0x3a8798;}[_0x264b87(0x1b1)](){const _0x2ca4d4=_0x264b87,_0x214460=new _0x58dabd(this[_0x2ca4d4(0x1fa)]);return _0x214460[_0x2ca4d4(0x1c4)][_0x2ca4d4(0x1c2)][_0x2ca4d4(0x1dc)](this[_0x2ca4d4(0x1ad)])['as'](_0x528e10),_0x214460['on'](_0x2ca4d4(0x1f4),()=>{const _0x175754=_0x2ca4d4;this[_0x175754(0x1ad)][_0x175754(0x1b6)](),this[_0x175754(0x1ae)][_0x175754(0x1d7)](''),this[_0x175754(0x1ae)][_0x175754(0x1e2)]();}),_0x214460;}[_0x264b87(0x1df)](){const _0x2f156f=_0x264b87,_0x5ee1ee=new _0x440e18(this[_0x2f156f(0x1fa)]);return _0x5ee1ee[_0x2f156f(0x1d2)][_0x2f156f(0x1b9)](_0x2f156f(0x1ee))['to'](this,_0x2f156f(0x1ee),this,_0x2f156f(0x1aa),this,_0x2f156f(0x1c8),(_0x33fc33,_0x43daa8,_0x1e1624)=>_0x33fc33&&!_0x43daa8&&!!_0x1e1624),_0x5ee1ee[_0x2f156f(0x1d2)][_0x2f156f(0x1b7)](_0x2f156f(0x1f2))['to'](this,_0x2f156f(0x1f9)),_0x5ee1ee[_0x2f156f(0x1bc)][_0x2f156f(0x1b9)](_0x2f156f(0x1ee))['to'](this,_0x2f156f(0x1ee),this,_0x2f156f(0x1aa),this,_0x2f156f(0x1c8),(_0x195a8f,_0xf8f97d,_0x292600)=>_0x195a8f&&!_0xf8f97d&&!!_0x292600),_0x5ee1ee[_0x2f156f(0x1bc)][_0x2f156f(0x1b7)](_0x2f156f(0x1f2))['to'](this,_0x2f156f(0x1f0)),_0x5ee1ee[_0x2f156f(0x1af)][_0x2f156f(0x1b9)](_0x2f156f(0x1ee))['to'](this,_0x2f156f(0x1ee),this,_0x2f156f(0x1aa),(_0x58c5fa,_0x3ab35b)=>_0x58c5fa&&!_0x3ab35b),_0x5ee1ee[_0x2f156f(0x1af)][_0x2f156f(0x1b7)](_0x2f156f(0x1f2))['to'](this,_0x2f156f(0x1b4)),_0x5ee1ee[_0x2f156f(0x1ea)][_0x2f156f(0x1b9)](_0x2f156f(0x1ee))['to'](this,_0x2f156f(0x1aa)),_0x5ee1ee[_0x2f156f(0x1ea)][_0x2f156f(0x1b7)](_0x2f156f(0x1f2))['to'](this,_0x2f156f(0x1e4)),_0x5ee1ee;}[_0x264b87(0x1f7)](){const _0x249fea=_0x264b87;this[_0x249fea(0x1c8)]='',this[_0x249fea(0x1bd)]=!0x1,this[_0x249fea(0x1aa)]=!0x0,this[_0x249fea(0x1a9)][_0x249fea(0x1ba)]=!0x0,this[_0x249fea(0x1e3)][_0x249fea(0x1ba)]=!0x0,this[_0x249fea(0x1a9)][_0x249fea(0x1e2)]();}[_0x264b87(0x1e5)](){const _0x4787f0=_0x264b87,_0x23f996=this[_0x4787f0(0x1fa)];this[_0x4787f0(0x1aa)]=!0x1,this[_0x4787f0(0x1f5)]='',this[_0x4787f0(0x1ae)][_0x4787f0(0x1bf)](),this[_0x4787f0(0x1c8)]&&(this[_0x4787f0(0x1ae)][_0x4787f0(0x1e1)][_0x4787f0(0x1d6)]=_0x493123(_0x23f996,_0x4787f0(0x1d3)));}[_0x264b87(0x1b2)](_0x23c881){const _0x241671=_0x264b87,_0x190036=this[_0x241671(0x1fa)];this[_0x241671(0x1e5)](),this[_0x241671(0x1bd)]=!0x0,this[_0x241671(0x1f1)][_0x241671(0x1bb)]=_0x23c881||_0x493123(_0x190036,_0x241671(0x1b0)),this[_0x241671(0x1c8)]||(this[_0x241671(0x1a9)][_0x241671(0x1ba)]=!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 _0x48d8(){const _0x4e6fdd=['5825uTBRVK','children','53510xwibuu','execute','34HimsyY','3849942fieyGn','265860YVOEGH','2456RBPJJN','1511224AkjrmF','prompt','locale','set','fire','add','17008AOfUKk','2863260fMaONZ','3708cnltmt'];_0x48d8=function(){return _0x4e6fdd;};return _0x48d8();}(function(_0x4af490,_0x2048eb){const _0x33dbba=_0x1a97,_0x4edabf=_0x4af490();while(!![]){try{const _0x126ae9=-parseInt(_0x33dbba(0xa3))/0x1*(-parseInt(_0x33dbba(0x9c))/0x2)+parseInt(_0x33dbba(0x9d))/0x3+-parseInt(_0x33dbba(0xa6))/0x4*(-parseInt(_0x33dbba(0x9f))/0x5)+parseInt(_0x33dbba(0xa4))/0x6+-parseInt(_0x33dbba(0xa5))/0x7+parseInt(_0x33dbba(0x96))/0x8+parseInt(_0x33dbba(0x9e))/0x9*(-parseInt(_0x33dbba(0xa1))/0xa);if(_0x126ae9===_0x2048eb)break;else _0x4edabf['push'](_0x4edabf['shift']());}catch(_0x290835){_0x4edabf['push'](_0x4edabf['shift']());}}}(_0x48d8,0x85812));function _0x1a97(_0x340c9b,_0x51b303){const _0x48d8e4=_0x48d8();return _0x1a97=function(_0x1a97c8,_0x25ea82){_0x1a97c8=_0x1a97c8-0x96;let _0x238849=_0x48d8e4[_0x1a97c8];return _0x238849;},_0x1a97(_0x340c9b,_0x51b303);}import{ListItemView as _0x334b0e,ButtonView as _0x292e11,ButtonLabelView as _0x25f5ff}from'ckeditor5/src/ui.js';import{unescape as _0x1a4276}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x334b0e{constructor(_0x5472b1){const _0x10a90a=_0x1a97;super();const _0x5aef42=new _0x25f5ff(),_0x3584b6=new _0x292e11(this[_0x10a90a(0x98)],_0x5aef42);this[_0x10a90a(0xa0)][_0x10a90a(0x9b)](_0x3584b6),_0x3584b6[_0x10a90a(0x99)]({'label':_0x5472b1[_0x10a90a(0x97)],'withText':!0x0}),_0x3584b6['on'](_0x10a90a(0xa2),()=>{const _0x361897=_0x10a90a;this[_0x361897(0x9a)](_0x361897(0xa2),{'value':_0x1a4276(_0x5472b1[_0x361897(0x97)])});});}}
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
- const _0x3e4c9d=_0x43c2;(function(_0x2eda76,_0x2d8656){const _0x287550=_0x43c2,_0x2be111=_0x2eda76();while(!![]){try{const _0x43d23e=parseInt(_0x287550(0xfe))/0x1+parseInt(_0x287550(0xec))/0x2+-parseInt(_0x287550(0xeb))/0x3*(-parseInt(_0x287550(0xe9))/0x4)+-parseInt(_0x287550(0xe6))/0x5+-parseInt(_0x287550(0xfc))/0x6*(parseInt(_0x287550(0xef))/0x7)+parseInt(_0x287550(0xf6))/0x8+-parseInt(_0x287550(0xf0))/0x9;if(_0x43d23e===_0x2d8656)break;else _0x2be111['push'](_0x2be111['shift']());}catch(_0x1c9458){_0x2be111['push'](_0x2be111['shift']());}}}(_0x3cf9,0x5d0d0));function _0x43c2(_0x2a6a4f,_0x3a1624){const _0x3cf9c5=_0x3cf9();return _0x43c2=function(_0x43c2df,_0xe93745){_0x43c2df=_0x43c2df-0xe6;let _0x52d551=_0x3cf9c5[_0x43c2df];return _0x52d551;},_0x43c2(_0x2a6a4f,_0x3a1624);}function _0x3cf9(){const _0x1e80e6=['Prompt\x20history','2688644NAzCbD','locale','3HQgFSH','1077856DqJsbm','execute','Clear','3556WAHvcp','15924573VUtNtA','historyGroupView','fire','clearHistory','_createClearHistoryButton','delegate','5598896dxXEJY','clearHistoryButton','set','items','children','add','3144QjfUXa','filter','760543QxqVnf','length','1273845NcBzak','label'];_0x3cf9=function(){return _0x1e80e6;};return _0x3cf9();}import{ListView as _0x727d8b,ListItemGroupView as _0x17fb91,ButtonView as _0x341030}from'ckeditor5/src/ui.js';import{getTranslation as _0x51950c}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x727d8b{[_0x3e4c9d(0xf1)];[_0x3e4c9d(0xf7)];constructor(_0x39b2b8){const _0x693ade=_0x3e4c9d;super(_0x39b2b8),this[_0x693ade(0xf7)]=this[_0x693ade(0xf4)](),this[_0x693ade(0xf1)]=new _0x17fb91(),this[_0x693ade(0xf1)][_0x693ade(0xfa)][_0x693ade(0xfb)](this[_0x693ade(0xf7)],0x1),this[_0x693ade(0xf1)][_0x693ade(0xe7)]=_0x51950c(_0x39b2b8,_0x693ade(0xe8)),this[_0x693ade(0xf1)][_0x693ade(0xf9)][_0x693ade(0xf5)](_0x693ade(0xed))['to'](this),this[_0x693ade(0xf9)][_0x693ade(0xfb)](this[_0x693ade(0xf1)]);}[_0x3e4c9d(0xfd)](){const _0x2ab646=_0x3e4c9d;let _0x4c221d=0x0;for(const _0x35405e of this[_0x2ab646(0xf9)])_0x4c221d+=_0x35405e[_0x2ab646(0xf9)][_0x2ab646(0xff)];return{'resultsCount':_0x4c221d,'totalItemsCount':_0x4c221d};}[_0x3e4c9d(0xf4)](){const _0x243df4=_0x3e4c9d,_0x2ccf87=this[_0x243df4(0xea)],_0x14ad75=new _0x341030(this[_0x243df4(0xea)]);return _0x14ad75[_0x243df4(0xf8)]({'label':'('+_0x51950c(_0x2ccf87,_0x243df4(0xee))+')','withText':!0x0}),_0x14ad75['on'](_0x243df4(0xed),()=>this[_0x243df4(0xf2)](_0x243df4(0xf3))),_0x14ad75;}}
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
- function _0x1128(_0x1213ea,_0x2cc55b){const _0x39adba=_0x39ad();return _0x1128=function(_0x112831,_0x460761){_0x112831=_0x112831-0xd9;let _0x193553=_0x39adba[_0x112831];return _0x193553;},_0x1128(_0x1213ea,_0x2cc55b);}const _0xe467ec=_0x1128;(function(_0x2c34d8,_0x186e95){const _0x36eb00=_0x1128,_0x3d1bea=_0x2c34d8();while(!![]){try{const _0x6fe963=parseInt(_0x36eb00(0xea))/0x1*(parseInt(_0x36eb00(0xe1))/0x2)+-parseInt(_0x36eb00(0xdc))/0x3*(parseInt(_0x36eb00(0xf0))/0x4)+-parseInt(_0x36eb00(0xed))/0x5*(-parseInt(_0x36eb00(0xef))/0x6)+-parseInt(_0x36eb00(0xe3))/0x7+parseInt(_0x36eb00(0xe2))/0x8*(parseInt(_0x36eb00(0xe0))/0x9)+parseInt(_0x36eb00(0xdd))/0xa+parseInt(_0x36eb00(0xe6))/0xb;if(_0x6fe963===_0x186e95)break;else _0x3d1bea['push'](_0x3d1bea['shift']());}catch(_0x24fc07){_0x3d1bea['push'](_0x3d1bea['shift']());}}}(_0x39ad,0xe8357));import{Collection as _0x5c7ca3}from'ckeditor5/src/utils.js';const So=_0xe467ec(0xf3);export class PromptHistory extends _0x5c7ca3{constructor(){const _0x298afc=_0xe467ec;super(),this[_0x298afc(0xee)](),this['on'](_0x298afc(0xec),(_0xa283f7,_0x493bee)=>{const _0x5642ef=_0x298afc,_0x2e1555=fo(_0x493bee[_0x5642ef(0xe9)]);for(const _0x1221b7 of this)if(_0x1221b7!=_0x493bee&&fo(_0x1221b7[_0x5642ef(0xe9)])===_0x2e1555){this[_0x5642ef(0xd9)](_0x1221b7);break;}this[_0x5642ef(0xde)]>0x14&&this[_0x5642ef(0xd9)](this[_0x5642ef(0xdb)]),this[_0x5642ef(0xe4)]();}),this['on'](_0x298afc(0xd9),()=>{const _0x1a5ba3=_0x298afc;this[_0x1a5ba3(0xe4)]();});}[_0xe467ec(0xee)](){const _0x325ea3=_0xe467ec,_0x141e29=sessionStorage[_0x325ea3(0xe8)](So)||'[]';this[_0x325ea3(0xe7)](JSON[_0x325ea3(0xe5)](_0x141e29));}[_0xe467ec(0xe4)](){const _0xd0673d=_0xe467ec;sessionStorage[_0xd0673d(0xda)](So,JSON[_0xd0673d(0xeb)](this[_0xd0673d(0xdf)](_0x26eba9=>_0x26eba9)));}}function fo(_0x2aca16){const _0x2cfef7=_0xe467ec;return _0x2aca16[_0x2cfef7(0xf2)]()[_0x2cfef7(0xf1)]();}function _0x39ad(){const _0x9bc198=['_saveToSessionStorage','parse','20748970sHHWDX','addMany','getItem','prompt','2ERwKTE','stringify','add','1745FNoqWp','_loadFromSessionStorage','19566xNvVgv','9324aMkiSA','trim','toLowerCase','CKEditor/AIFormView/PromptHistory','remove','setItem','last','2073PQTOdC','2491180PXcFcQ','length','map','6219FXpOFS','498202NqKuTg','4376Boutpr','11114656ZfOnwJ'];_0x39ad=function(){return _0x9bc198;};return _0x39ad();}
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
- function _0x5a21(_0x426ddc,_0x315f2f){const _0x2795b8=_0x2795();return _0x5a21=function(_0x5a2107,_0x330090){_0x5a2107=_0x5a2107-0x1e7;let _0xdefa6a=_0x2795b8[_0x5a2107];return _0xdefa6a;},_0x5a21(_0x426ddc,_0x315f2f);}function _0x2795(){const _0x14fb04=['1734QovtAJ','24OVJuSW','isEmpty','enabledCommandsIds','change:_hasContext','refresh','showUI','getFirstRange','27017925iowUwz','6VvvoTz','isEnabled','selection','config','hasContent','set','includes','getItems','10cJkHSP','length','_commandDefinitions','523KIuKPr','2676755QfGHJb','3869811rIMArR','change:isEnabled','getSelectedBlocks','custom','getRanges','execute','_hasContext','editor','252957ZFliRn','from','get','8091240cFiypy','ai.assistant.disabledElements','requiresContent','name','add','element','document','plugins','values','4778074UMwgyu','model','isCollapsed'];_0x2795=function(){return _0x14fb04;};return _0x2795();}const _0x532f56=_0x5a21;(function(_0x1bf1ac,_0x2fa18c){const _0x2952f1=_0x5a21,_0x374d2e=_0x1bf1ac();while(!![]){try{const _0x5978bb=-parseInt(_0x2952f1(0x20e))/0x1*(-parseInt(_0x2952f1(0x1fa))/0x2)+parseInt(_0x2952f1(0x1eb))/0x3*(parseInt(_0x2952f1(0x1fb))/0x4)+-parseInt(_0x2952f1(0x20f))/0x5*(parseInt(_0x2952f1(0x203))/0x6)+-parseInt(_0x2952f1(0x1f7))/0x7+-parseInt(_0x2952f1(0x1ee))/0x8+parseInt(_0x2952f1(0x210))/0x9*(-parseInt(_0x2952f1(0x20b))/0xa)+parseInt(_0x2952f1(0x202))/0xb;if(_0x5978bb===_0x2fa18c)break;else _0x374d2e['push'](_0x374d2e['shift']());}catch(_0x4ee5e3){_0x374d2e['push'](_0x374d2e['shift']());}}}(_0x2795,0xb89f5));import{Command as _0x55ee81}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x33094a}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x55ee81{[_0x532f56(0x20d)];constructor(_0x289f33,_0x3c01a5){const _0x450427=_0x532f56;super(_0x289f33),this[_0x450427(0x20d)]=_0x3c01a5,this[_0x450427(0x208)](_0x450427(0x1fd),[]),this['on'](_0x450427(0x1fe),(_0x812149,_0x1f91f3,_0x52c8a1)=>{const _0x8f0f48=_0x450427;this[_0x8f0f48(0x204)]&&(this[_0x8f0f48(0x1fd)]=cs(this[_0x8f0f48(0x20d)],_0x52c8a1));}),this[_0x450427(0x208)](_0x450427(0x1e9),!0x1),this['on'](_0x450427(0x211),(_0x558ec0,_0x347693,_0xf358fc)=>{const _0x23f8e3=_0x450427;this[_0x23f8e3(0x1fd)]=_0xf358fc?cs(this[_0x23f8e3(0x20d)],this[_0x23f8e3(0x1e9)]):[];});}[_0x532f56(0x1ff)](){const _0x2b5772=_0x532f56,_0x534d11=this[_0x2b5772(0x1ea)][_0x2b5772(0x1f8)];this[_0x2b5772(0x1e9)]=function(_0x2a829c){const _0x494907=_0x2b5772,_0x4fc596=_0x2a829c[_0x494907(0x1f4)][_0x494907(0x205)];return _0x4fc596[_0x494907(0x1f9)]?0x0!==[..._0x4fc596[_0x494907(0x212)]()][_0x494907(0x20c)]&&![..._0x4fc596[_0x494907(0x212)]()][0x0][_0x494907(0x1fc)]:!!_0x2a829c[_0x494907(0x207)](_0x4fc596[_0x494907(0x201)]());}(_0x534d11);const _0x56a470=_0x534d11[_0x2b5772(0x1f4)][_0x2b5772(0x205)],_0x5342dc=this[_0x2b5772(0x1ea)][_0x2b5772(0x206)][_0x2b5772(0x1ed)](_0x2b5772(0x1ef));for(const _0x2986c6 of _0x56a470[_0x2b5772(0x1e7)]())for(const _0x2a4705 of _0x2986c6[_0x2b5772(0x20a)]())if(_0x2a4705['is'](_0x2b5772(0x1f3))&&_0x5342dc[_0x2b5772(0x209)](_0x2a4705[_0x2b5772(0x1f1)]))return void(this[_0x2b5772(0x204)]=!0x1);this[_0x2b5772(0x204)]=!0x0;}[_0x532f56(0x1e8)](_0x215b9e='',_0x4a2fd6='',_0x54ca18=_0x532f56(0x213)){const _0x44562a=_0x532f56;this[_0x44562a(0x1ea)][_0x44562a(0x1f5)][_0x44562a(0x1ed)](_0x33094a)[_0x44562a(0x200)](_0x215b9e,_0x4a2fd6,_0x54ca18);}}function cs(_0x195486,_0x18eb85){const _0x5a691b=_0x532f56,_0x9e7807=new Set();for(const _0x4fd345 of _0x195486[_0x5a691b(0x1f6)]())(_0x18eb85||!0x1===_0x4fd345[_0x5a691b(0x1f0)])&&_0x9e7807[_0x5a691b(0x1f2)](_0x4fd345['id']);return Array[_0x5a691b(0x1ec)](_0x9e7807);}
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 _0x18d597=_0x31f6;function _0x31f6(_0x20fccf,_0xbc1641){const _0x3a77af=_0x3a77();return _0x31f6=function(_0x31f6a5,_0x404af9){_0x31f6a5=_0x31f6a5-0x19d;let _0x4dd311=_0x3a77af[_0x31f6a5];return _0x4dd311;},_0x31f6(_0x20fccf,_0xbc1641);}(function(_0x4fa806,_0x410751){const _0x577307=_0x31f6,_0x140521=_0x4fa806();while(!![]){try{const _0x464b8e=parseInt(_0x577307(0x1d5))/0x1*(-parseInt(_0x577307(0x1e2))/0x2)+-parseInt(_0x577307(0x1aa))/0x3*(-parseInt(_0x577307(0x1c8))/0x4)+parseInt(_0x577307(0x1ca))/0x5+-parseInt(_0x577307(0x1d0))/0x6*(-parseInt(_0x577307(0x1b6))/0x7)+-parseInt(_0x577307(0x1b2))/0x8+parseInt(_0x577307(0x1d3))/0x9+parseInt(_0x577307(0x1fd))/0xa*(-parseInt(_0x577307(0x1c3))/0xb);if(_0x464b8e===_0x410751)break;else _0x140521['push'](_0x140521['shift']());}catch(_0x278042){_0x140521['push'](_0x140521['shift']());}}}(_0x3a77,0x68b90));import{ContextPlugin as _0x2b405a}from'ckeditor5/src/core.js';import{AIConnector as _0x36fa77}from'../aicore/aiconnector.js';import{AIEditing as _0x191fbf}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0xf8fad7,AIBalloonView as _0x1dae2f}from'./ui/aiballoonview.js';function _0x3a77(){const _0x15f068=['426659TIprRz','requires','_setupVisualSelection','markers','icon','isEqual','_getSelectionElements','max','ai-balloon','open','\x20ai-balloon-rotator','_cleanupMarkerRemovalListener','round','2jKGEMs','differ','width','ai-selection:','height','bottom','isOpen','updatePosition','updateContent','render','ai-selection','listenTo','top','balloonView','Dialog','mainView','start','value','getBoundingRect','locale','plugins','headerView','content','window','AIEditing','_updateBalloon','show','40cKzQuq','end','isOfficialPlugin','editing','getMarkersGroup','_calculateDialogPosition','pluginName','getIntersection','index','_config','ai-balloon-selection','ai-balloon-','delegate','commands','ranges','showBlockingError','title','trackChanges','off','hideFakeVisualSelection','getVisible','rootName','hide','length','isTrackChangesOn','248181hkouSf','view','setupRotator','showFakeVisualSelection','_calculateOptimalTopPosition','_showDialog','filter','fire','3692584DqZhUr','iconView','left','isPremiumPlugin','44534lkrwfL','document','once','get','dialogClosed','root','startsWith','_setupMarkerRemovalListener','model','bind','label','_pendingRenderCallback','aiBalloon','193831mNwLvK','config','selectionRemoved','close','change','12jCfJhb','stopListening','2539640YcERCZ','showRotator','$graveyard','ai.availableReplyActions','_isUpdatingMarkers','AI_ACTIONS_SELECTION_REMOVED_ERROR','132hxJAJO','context','getChangedMarkers','4424283MGnbgt','AIBalloon'];_0x3a77=function(){return _0x15f068;};return _0x3a77();}import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x3a41dc}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x257901,Rect as _0x372a19,scrollViewportToShowTarget as _0x7a343c}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x2a6d9a}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x55a705}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x264d57}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0xf8fad7,_0x18d597(0x1ba),_0x18d597(0x1c5)];const x=0xa;export class AIBalloon extends _0x2b405a{static get[_0x18d597(0x1d6)](){return[_0x36fa77,_0x191fbf];}static get[_0x18d597(0x203)](){const _0x497f07=_0x18d597;return _0x497f07(0x1d4);}static get[_0x18d597(0x1ff)](){return!0x0;}static get[_0x18d597(0x1b5)](){return!0x0;}[_0x18d597(0x1e8)]=!0x1;[_0x18d597(0x206)];[_0x18d597(0x1ce)]=!0x1;[_0x18d597(0x1c1)]=null;[_0x18d597(0x1de)](_0x20485f){const _0x2a064e=_0x18d597,_0x26a155=_0x2a6d9a(this[_0x2a064e(0x1d1)]);if(this[_0x2a064e(0x206)]=_0x20485f,this[_0x2a064e(0x1e8)])return void this[_0x2a064e(0x1fb)](_0x20485f);const _0x5891b8=this[_0x2a064e(0x1d1)][_0x2a064e(0x1c4)][_0x2a064e(0x1b9)](_0x2a064e(0x1cd))||[..._0x55a705],_0xcfc870=_0x26a155?.[_0x2a064e(0x19e)][_0x2a064e(0x1b9)](_0x2a064e(0x1a2)),_0x5b4e8f=_0xcfc870?.[_0x2a064e(0x1f3)];this[_0x2a064e(0x1ef)]=new _0x1dae2f(_0x26a155[_0x2a064e(0x1f5)],_0x20485f,_0x5891b8,!!_0x5b4e8f),this[_0x2a064e(0x1ef)][_0x2a064e(0x19d)](..._0xf8fad7)['to'](this),_0xcfc870&&this[_0x2a064e(0x1ef)][_0x2a064e(0x1bf)](_0x2a064e(0x1a9))['to'](_0xcfc870,_0x2a064e(0x1f3)),this[_0x2a064e(0x1af)](_0x20485f);}[_0x18d597(0x1c6)](){const _0x648937=_0x18d597;_0x2a6d9a(this[_0x648937(0x1d1)])[_0x648937(0x1f6)][_0x648937(0x1b9)](_0x648937(0x1f0))[_0x648937(0x1a7)]();}[_0x18d597(0x1fb)](_0x3551a8){const _0x52edb7=_0x18d597,_0x33bcf5=_0x2a6d9a(this[_0x52edb7(0x1d1)]),_0x2eedc8=_0x33bcf5[_0x52edb7(0x1f6)][_0x52edb7(0x1b9)](_0x52edb7(0x1f0));this[_0x52edb7(0x1c1)]&&(_0x33bcf5[_0x52edb7(0x200)][_0x52edb7(0x1ab)][_0x52edb7(0x1a3)](_0x52edb7(0x1eb),this[_0x52edb7(0x1c1)]),this[_0x52edb7(0x1c1)]=null),this[_0x52edb7(0x1ce)]=!0x0,_0x2eedc8[_0x52edb7(0x1ab)]?.[_0x52edb7(0x1f7)]&&(_0x2eedc8[_0x52edb7(0x1ab)][_0x52edb7(0x1f7)][_0x52edb7(0x1c0)]=_0x3551a8[_0x52edb7(0x1a1)],_0x2eedc8[_0x52edb7(0x1ab)][_0x52edb7(0x1f7)][_0x52edb7(0x1b3)]&&_0x3551a8[_0x52edb7(0x1d9)]&&(_0x2eedc8[_0x52edb7(0x1ab)][_0x52edb7(0x1f7)][_0x52edb7(0x1b3)][_0x52edb7(0x1f8)]=_0x3551a8[_0x52edb7(0x1d9)])),this[_0x52edb7(0x1ef)][_0x52edb7(0x1ea)](_0x3551a8[_0x52edb7(0x1f1)]),this[_0x52edb7(0x1d7)](_0x3551a8[_0x52edb7(0x19f)],_0x3551a8[_0x52edb7(0x205)]),this[_0x52edb7(0x1c1)]=()=>{const _0x4e2395=_0x52edb7;this[_0x4e2395(0x1ce)]=!0x1,this[_0x4e2395(0x1c1)]=null,_0x2eedc8[_0x4e2395(0x1ab)]&&_0x2eedc8[_0x4e2395(0x1ab)][_0x4e2395(0x1e9)]();},_0x33bcf5[_0x52edb7(0x200)][_0x52edb7(0x1ab)][_0x52edb7(0x1b8)](_0x52edb7(0x1eb),this[_0x52edb7(0x1c1)]);}[_0x18d597(0x1d7)](_0x2044a2,_0x577cca){const _0x73f3ca=_0x18d597;this[_0x73f3ca(0x1d1)][_0x73f3ca(0x1f6)][_0x73f3ca(0x1b9)](_0x191fbf)[_0x73f3ca(0x1ad)](_0x2044a2,_0x73f3ca(0x208)+_0x577cca,!0x0,!0x0);}[_0x18d597(0x1af)](_0x846ae2){const _0x4a1115=_0x18d597,_0x5d5638=_0x2a6d9a(this[_0x4a1115(0x1d1)]);this[_0x4a1115(0x1d7)](_0x846ae2[_0x4a1115(0x19f)],_0x846ae2[_0x4a1115(0x205)]);const _0xb5b0bf=this[_0x4a1115(0x1db)]();_0xb5b0bf&&_0xb5b0bf[0x0]&&_0x7a343c({'target':_0xb5b0bf[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x5d5638[_0x4a1115(0x1f6)][_0x4a1115(0x1b9)](_0x4a1115(0x1f0))[_0x4a1115(0x1fc)]({'title':_0x846ae2[_0x4a1115(0x1a1)],'icon':_0x846ae2[_0x4a1115(0x1d9)],'hasCloseButton':!0x0,'id':_0x4a1115(0x1c2),'position':this[_0x4a1115(0x202)][_0x4a1115(0x1bf)](this),'className':_0x4a1115(0x1dd)+(_0x846ae2[_0x4a1115(0x1cb)]?_0x4a1115(0x1df):''),'content':this[_0x4a1115(0x1ef)],'onShow':_0x423810=>{const _0x5de683=_0x4a1115;_0x846ae2[_0x5de683(0x1cb)]&&this[_0x5de683(0x1ef)][_0x5de683(0x1ac)](_0x423810),this[_0x5de683(0x1bd)](),this[_0x5de683(0x1e8)]=!0x0;},'onHide':()=>{const _0x349ad8=_0x4a1115;this[_0x349ad8(0x1d1)][_0x349ad8(0x1f6)][_0x349ad8(0x1b9)](_0x349ad8(0x1fa))[_0x349ad8(0x1a4)](_0x349ad8(0x208)+this[_0x349ad8(0x206)][_0x349ad8(0x205)]),this[_0x349ad8(0x1e0)](),this[_0x349ad8(0x1b1)](_0x349ad8(0x1ba)),this[_0x349ad8(0x1e8)]=!0x1;}});}[_0x18d597(0x202)](_0x44122a,_0x51d33c){const _0x2ccf99=_0x18d597;if(!_0x51d33c)return null;const _0x574b7a=this[_0x2ccf99(0x1db)]();if(!_0x574b7a||0x0===_0x574b7a[_0x2ccf99(0x1a8)])return{'left':Math[_0x2ccf99(0x1e1)](_0x51d33c[_0x2ccf99(0x1b4)]+_0x51d33c[_0x2ccf99(0x1e4)]/0x2-_0x44122a[_0x2ccf99(0x1e4)]/0x2),'top':Math[_0x2ccf99(0x1e1)](_0x51d33c[_0x2ccf99(0x1ee)]+_0x51d33c[_0x2ccf99(0x1e6)]/0x2-_0x44122a[_0x2ccf99(0x1e6)]/0x2)};const _0x444cf3=Math[_0x2ccf99(0x1e1)](_0x51d33c[_0x2ccf99(0x1b4)]+_0x51d33c[_0x2ccf99(0x1e4)]/0x2-_0x44122a[_0x2ccf99(0x1e4)]/0x2),_0x186029=new _0x372a19(_0x574b7a[0x0]),_0x1c4593=new _0x372a19(_0x574b7a[_0x574b7a[_0x2ccf99(0x1a8)]-0x1]),_0x14488d=_0x44122a[_0x2ccf99(0x1e6)],_0x13e28e=this[_0x2ccf99(0x206)][_0x2ccf99(0x1cb)]?0x8:0x0;return{'left':_0x444cf3,'top':this[_0x2ccf99(0x1ae)](_0x186029,_0x1c4593,_0x14488d,_0x13e28e,_0x51d33c)};}[_0x18d597(0x1ae)](_0x3cb1cf,_0x59dfaf,_0x4c9ba4,_0x54569d=0x0,_0x1131ac){const _0x1f15f6=_0x18d597,_0x47ccba=_0x4c9ba4+_0x54569d,_0x500657=new _0x372a19(_0x257901[_0x1f15f6(0x1f9)]),_0x20667f=[_0x3cb1cf[_0x1f15f6(0x1a5)](),_0x59dfaf[_0x1f15f6(0x1a5)]()][_0x1f15f6(0x1b0)](_0x31711f=>_0x31711f),_0x54124c=_0x372a19[_0x1f15f6(0x1f4)](_0x20667f);if(!_0x54124c)return Math[_0x1f15f6(0x1e1)](_0x1131ac[_0x1f15f6(0x1ee)]+_0x1131ac[_0x1f15f6(0x1e6)]/0x2);const _0x4e00fd=_0x500657[_0x1f15f6(0x204)](_0x54124c);if(!_0x4e00fd)return Math[_0x1f15f6(0x1e1)](_0x1131ac[_0x1f15f6(0x1ee)]+_0x1131ac[_0x1f15f6(0x1e6)]/0x2);const _0x503e84=_0x1131ac[_0x1f15f6(0x1a5)](),_0x15e7b3=_0x503e84&&_0x54124c[_0x1f15f6(0x1e6)]>_0x503e84[_0x1f15f6(0x1e6)],_0x24316a=_0x4e00fd[_0x1f15f6(0x1ee)],_0x31e458=_0x4e00fd[_0x1f15f6(0x1e7)];if(_0x15e7b3){const _0x4a7331=(_0x503e84||_0x500657)[_0x1f15f6(0x1e6)]/0x2-_0x47ccba/0x2,_0x1bca64=_0x24316a-x-_0x1131ac[_0x1f15f6(0x1ee)],_0x421363=_0x1131ac[_0x1f15f6(0x1e7)]-_0x31e458-x;return _0x1bca64>=_0x47ccba?Math[_0x1f15f6(0x1dc)](x,_0x24316a-_0x47ccba-x):_0x421363>=_0x47ccba?_0x31e458+x:Math[_0x1f15f6(0x1dc)](x,_0x4a7331);}const _0x198d6b=_0x24316a-_0x47ccba,_0x47cacc=_0x1131ac[_0x1f15f6(0x1e7)]-_0x31e458-x,_0x15bbc3=_0x24316a-x-_0x1131ac[_0x1f15f6(0x1ee)];let _0x55f194;if(_0x47cacc>=_0x47ccba)_0x55f194=_0x31e458+x;else{if(_0x15bbc3>=_0x47ccba)_0x55f194=_0x198d6b-x;else _0x55f194=_0x24316a+_0x54124c[_0x1f15f6(0x1e6)]/0x2-_0x47ccba/0x2;}return _0x55f194;}[_0x18d597(0x1bd)](){const _0x20082f=_0x18d597,_0x37d193=_0x2a6d9a(this[_0x20082f(0x1d1)]);this[_0x20082f(0x1ed)](_0x37d193[_0x20082f(0x1be)][_0x20082f(0x1b7)],_0x20082f(0x1c7),()=>{const _0x5c296b=_0x20082f;if(this[_0x5c296b(0x1ce)])return;for(const {name:_0x1575ae,data:{newRange:_0x4bf15c}}of _0x37d193[_0x5c296b(0x1be)][_0x5c296b(0x1b7)][_0x5c296b(0x1e3)][_0x5c296b(0x1d2)]())if(_0x1575ae[_0x5c296b(0x1bc)](_0x5c296b(0x1e5))&&(_0x4bf15c&&(_0x4bf15c[_0x5c296b(0x1f2)][_0x5c296b(0x1da)](_0x4bf15c[_0x5c296b(0x1fe)])||_0x5c296b(0x1cc)==_0x4bf15c[_0x5c296b(0x1bb)][_0x5c296b(0x1a6)])||null==_0x4bf15c)){const _0x1e9393=_0x264d57(this[_0x5c296b(0x1d1)][_0x5c296b(0x1f5)],_0x5c296b(0x1cf));this[_0x5c296b(0x1ef)][_0x5c296b(0x1a0)](_0x1e9393),this[_0x5c296b(0x1b1)](_0x5c296b(0x1c5));}});}[_0x18d597(0x1e0)](){const _0x180552=_0x18d597,_0x35d775=_0x2a6d9a(this[_0x180552(0x1d1)]);this[_0x180552(0x1c9)](_0x35d775[_0x180552(0x1be)][_0x180552(0x1b7)]);}[_0x18d597(0x1db)](){const _0x53946f=_0x18d597,_0x167caf=_0x2a6d9a(this[_0x53946f(0x1d1)]);return _0x3a41dc(_0x167caf[_0x53946f(0x200)],[..._0x167caf[_0x53946f(0x1be)][_0x53946f(0x1d8)][_0x53946f(0x201)](_0x53946f(0x1ec)),..._0x167caf[_0x53946f(0x1be)][_0x53946f(0x1d8)][_0x53946f(0x201)](_0x53946f(0x207))]);}}
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(_0x5d431f,_0xd276bc){var _0xc0cce3=_0x298b,_0x4bd881=_0x5d431f();while(!![]){try{var _0x42a6b9=parseInt(_0xc0cce3(0x98))/0x1+parseInt(_0xc0cce3(0x9d))/0x2*(-parseInt(_0xc0cce3(0xa2))/0x3)+parseInt(_0xc0cce3(0x99))/0x4*(-parseInt(_0xc0cce3(0x9a))/0x5)+parseInt(_0xc0cce3(0xa3))/0x6+parseInt(_0xc0cce3(0xa4))/0x7+parseInt(_0xc0cce3(0x96))/0x8*(parseInt(_0xc0cce3(0x9b))/0x9)+-parseInt(_0xc0cce3(0xa0))/0xa*(parseInt(_0xc0cce3(0x9c))/0xb);if(_0x42a6b9===_0xd276bc)break;else _0x4bd881['push'](_0x4bd881['shift']());}catch(_0xce0a8f){_0x4bd881['push'](_0x4bd881['shift']());}}}(_0x4168,0x6bef4));import{View as _0x5affdc}from'ckeditor5/src/ui.js';function _0x4168(){var _0x2a7672=['6106583bLaYWY','setTemplate','912yRCzfY','div','329529cfcSTO','14940XbVjHq','195rFyrHr','35829CxACZl','11GDBruh','2XeVitl','ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','7800310ooVcAX','AI_DISCLAIMER_TEXT','870171zAUDpe','12726fmOiTQ'];_0x4168=function(){return _0x2a7672;};return _0x4168();}function _0x298b(_0x5f2539,_0x5a9a1b){var _0x416858=_0x4168();return _0x298b=function(_0x298b1d,_0x527e3e){_0x298b1d=_0x298b1d-0x96;var _0x1e673b=_0x416858[_0x298b1d];return _0x1e673b;},_0x298b(_0x5f2539,_0x5a9a1b);}import{getTranslation as _0x4468cc}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x5affdc{constructor(_0x32ad9e){var _0xcb180b=_0x298b;super(_0x32ad9e),this[_0xcb180b(0xa5)]({'tag':_0xcb180b(0x97),'attributes':{'class':['ck',_0xcb180b(0x9e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0xcb180b(0x9f)]},'children':[{'text':_0x4468cc(_0x32ad9e,_0xcb180b(0xa1))}]}]});}}
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 _0x111157=_0x2661;function _0x4489(){const _0x37357a=['set','items','108yAwVEJ','locale','ck-ai-button-secondary','465376sAgupV','10147357jBQjqj','66YCRABa','ck-ai-button-primary','ck-ai-balloon__toolbar','suggestButton','55WUXvvB','523485dtmfPa','isEnabled','_createButton','bind','add','applyButton','12OdxlZE','278720FxCHEi','extendTemplate','3903977TxaafI','isLoading','11032970XukijF','51494MOcxPi','AI_BALLOON_SUGGEST_BUTTON','AI_BALLOON_APPLY_BUTTON'];_0x4489=function(){return _0x37357a;};return _0x4489();}(function(_0x1114c2,_0x23e203){const _0x44878a=_0x2661,_0x12122f=_0x1114c2();while(!![]){try{const _0x3b739d=-parseInt(_0x44878a(0xeb))/0x1+-parseInt(_0x44878a(0xdc))/0x2*(parseInt(_0x44878a(0xe6))/0x3)+-parseInt(_0x44878a(0xe4))/0x4*(-parseInt(_0x44878a(0xea))/0x5)+parseInt(_0x44878a(0xf1))/0x6*(-parseInt(_0x44878a(0xd9))/0x7)+parseInt(_0x44878a(0xf2))/0x8*(-parseInt(_0x44878a(0xe1))/0x9)+parseInt(_0x44878a(0xdb))/0xa+parseInt(_0x44878a(0xe5))/0xb;if(_0x3b739d===_0x23e203)break;else _0x12122f['push'](_0x12122f['shift']());}catch(_0x200ade){_0x12122f['push'](_0x12122f['shift']());}}}(_0x4489,0xa68a3));function _0x2661(_0x5b43bd,_0x38d93b){const _0x448979=_0x4489();return _0x2661=function(_0x2661ca,_0x4d3c13){_0x2661ca=_0x2661ca-0xd9;let _0x51b27b=_0x448979[_0x2661ca];return _0x51b27b;},_0x2661(_0x5b43bd,_0x38d93b);}import{ToolbarView as _0xaf7f58,ButtonView as _0x437ebe}from'ckeditor5/src/ui.js';import{getTranslation as _0x1a972c}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0xaf7f58{constructor(_0x13b491,_0xf0e015=!0x0,_0x31c97a=!0x0){const _0x69735d=_0x2661;super(_0x13b491),this[_0x69735d(0xdf)](_0x69735d(0xda),!0x1),_0xf0e015&&(this[_0x69735d(0xf0)]=this[_0x69735d(0xed)](_0x1a972c(_0x13b491,_0x69735d(0xde)),_0x69735d(0xe7)),this[_0x69735d(0xf0)][_0x69735d(0xee)](_0x69735d(0xec))['to'](this,_0x69735d(0xda),_0x306430=>!_0x306430),this[_0x69735d(0xe0)][_0x69735d(0xef)](this[_0x69735d(0xf0)])),_0x31c97a&&(this[_0x69735d(0xe9)]=this[_0x69735d(0xed)](_0x1a972c(_0x13b491,_0x69735d(0xdd)),_0xf0e015?_0x69735d(0xe3):_0x69735d(0xe7)),this[_0x69735d(0xe9)][_0x69735d(0xee)](_0x69735d(0xec))['to'](this,_0x69735d(0xda),_0x32b585=>!_0x32b585),this[_0x69735d(0xe0)][_0x69735d(0xef)](this[_0x69735d(0xe9)])),this[_0x69735d(0xf3)]({'attributes':{'class':[_0x69735d(0xe8)]}});}[_0x111157(0xed)](_0x2b67fb,_0x29f587){const _0x2227bf=_0x111157,_0x293ec9=new _0x437ebe(this[_0x2227bf(0xe2)]);return _0x293ec9[_0x2227bf(0xdf)]({'label':_0x2b67fb,'class':_0x29f587||'','isVisible':!0x0,'withText':!0x0}),_0x293ec9;}}
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 _0x2b20f9=_0x3721;(function(_0x436e08,_0x1edf1e){const _0x502a91=_0x3721,_0x2123a2=_0x436e08();while(!![]){try{const _0x2700c0=-parseInt(_0x502a91(0x13d))/0x1*(parseInt(_0x502a91(0x139))/0x2)+-parseInt(_0x502a91(0x15a))/0x3+parseInt(_0x502a91(0x14e))/0x4*(parseInt(_0x502a91(0x158))/0x5)+-parseInt(_0x502a91(0x13a))/0x6+parseInt(_0x502a91(0x167))/0x7*(-parseInt(_0x502a91(0x137))/0x8)+-parseInt(_0x502a91(0x166))/0x9+parseInt(_0x502a91(0x121))/0xa;if(_0x2700c0===_0x1edf1e)break;else _0x2123a2['push'](_0x2123a2['shift']());}catch(_0x2ea789){_0x2123a2['push'](_0x2123a2['shift']());}}}(_0x1cf6,0x74749));import{ButtonView as _0x3fe220,View as _0x4f455f,ViewCollection as _0x1c3f6a,FocusCycler as _0x1bb01e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x58f0de,KeystrokeHandler as _0x2ed6f5}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x160eff,IconPreviousArrow as _0x154753}from'@ckeditor/ckeditor5-icons';function _0x1cf6(){const _0x2f2909=['disclaimerView','29692730cXOtDy','_addToolbar','add','hideError','showRecoverableError','applyButton','fire','showBlockingError','_addDisclaimerView','showPrevious','children','AI_BALLOON_PREVIOUS_TOOLTIP','div','_mainView','_createNextButtonView','element','ck-ai-suggestion__error-text','_availableActions','suggestButton','_errorView','bindTemplate','focusFirst','133816iGZuTl','bind','8tIUyvd','5428710oVfrfq','ai-balloon-content','clearLoading','99449tYIiKY','includes','AI_BALLOON_NEXT_TOOLTIP','listenTo','_dialogContent','focusTracker','span','isTrackChangesOn','clear','mainView','getIndex','updateContent','remove','change:isTrackChangesOn','_createErrorView','_focusables','errorMessage','96tFNfpM','showNext','set','headerView','insertSuggestion','focusCycler','_createPreviousButtonView','createCollection','shift\x20+\x20tab','showApplyButton','33910oTBubC','execute','2122776BwllSv','_addContentView','view','ck-ai-suggestion__error','render','showError','addMany','keystrokes','ai-balloon-error','focus','setTemplate','applySuggestion','3244572fPzGhB','119JbeUiO','setLoading','isErrorVisible','toolbar','isEnabled','showSuggestButton','tab','locale','isLoading','focusLast','ck-hidden','setupRotator'];_0x1cf6=function(){return _0x2f2909;};return _0x1cf6();}import{AIBalloonToolbarView as _0x511c5b}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x155f37}from'./aiballoondisclaimerview.js';import{getTranslation as _0x2cb588}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x2b20f9(0x165),_0x2b20f9(0x152),_0x2b20f9(0x14f),_0x2b20f9(0x12a)];function _0x3721(_0x4da1b5,_0x19c06f){const _0x1cf63f=_0x1cf6();return _0x3721=function(_0x37215d,_0x3fcc44){_0x37215d=_0x37215d-0x117;let _0xa49690=_0x1cf63f[_0x37215d];return _0xa49690;},_0x3721(_0x4da1b5,_0x19c06f);}export class AIBalloonView extends _0x4f455f{[_0x2b20f9(0x142)];[_0x2b20f9(0x161)];[_0x2b20f9(0x153)];[_0x2b20f9(0x132)];[_0x2b20f9(0x14c)];[_0x2b20f9(0x134)];constructor(_0x427235,_0x164627,_0x16d3f5,_0x5bc69e){const _0x314fff=_0x2b20f9;super(_0x427235),this[_0x314fff(0x132)]=_0x16d3f5,this[_0x314fff(0x150)](_0x314fff(0x11c),!0x1),this[_0x314fff(0x150)](_0x314fff(0x144),_0x5bc69e),this[_0x314fff(0x150)](_0x314fff(0x169),!0x1),this[_0x314fff(0x150)](_0x314fff(0x14d),''),this[_0x314fff(0x142)]=new _0x58f0de(),this[_0x314fff(0x161)]=new _0x2ed6f5(),this[_0x314fff(0x14c)]=this[_0x314fff(0x155)](),this[_0x314fff(0x153)]=new _0x1bb01e({'focusables':this[_0x314fff(0x14c)],'focusTracker':this[_0x314fff(0x142)],'keystrokeHandler':this[_0x314fff(0x161)],'actions':{'focusPrevious':_0x314fff(0x156),'focusNext':_0x314fff(0x11a)}}),this[_0x314fff(0x141)]=new _0x1c3f6a(),this[_0x314fff(0x15b)](_0x164627[_0x314fff(0x146)]),this[_0x314fff(0x129)](),this[_0x314fff(0x122)](_0x164627[_0x314fff(0x157)],_0x164627[_0x314fff(0x119)]),this[_0x314fff(0x117)][_0x314fff(0x138)](_0x314fff(0x11c))['to'](this),this[_0x314fff(0x14c)][_0x314fff(0x145)](),this[_0x314fff(0x14c)][_0x314fff(0x160)]([this[_0x314fff(0x117)]]),this[_0x314fff(0x164)]({'tag':_0x314fff(0x12d),'attributes':{'class':_0x314fff(0x13b)},'children':this[_0x314fff(0x141)]}),this['on'](_0x314fff(0x14a),()=>{const _0x5377e0=_0x314fff;this[_0x5377e0(0x141)][_0x5377e0(0x149)](this[_0x5377e0(0x117)]),this[_0x5377e0(0x122)](_0x164627[_0x5377e0(0x157)],_0x164627[_0x5377e0(0x119)]);});}[_0x2b20f9(0x15e)](){const _0x582c64=_0x2b20f9;super[_0x582c64(0x15e)]();for(const _0x37fbae of this[_0x582c64(0x14c)])this[_0x582c64(0x142)][_0x582c64(0x123)](_0x37fbae[_0x582c64(0x130)]);this[_0x582c64(0x161)][_0x582c64(0x140)](this[_0x582c64(0x130)]);}[_0x2b20f9(0x163)](_0x1adc11){const _0x5ac1c2=_0x2b20f9;-0x1===_0x1adc11?this[_0x5ac1c2(0x153)][_0x5ac1c2(0x11d)]():this[_0x5ac1c2(0x153)][_0x5ac1c2(0x136)]();}[_0x2b20f9(0x168)](){const _0x2113ef=_0x2b20f9;this[_0x2113ef(0x11c)]=!0x0;}[_0x2b20f9(0x13c)](){const _0x1c1710=_0x2b20f9;this[_0x1c1710(0x11c)]=!0x1;}[_0x2b20f9(0x15f)](_0x331545){const _0x545398=_0x2b20f9;this[_0x545398(0x134)]||(this[_0x545398(0x134)]=this[_0x545398(0x14b)](),this[_0x545398(0x141)][_0x545398(0x160)]([this[_0x545398(0x134)]],0x0)),this[_0x545398(0x14d)]=_0x331545,this[_0x545398(0x169)]=!0x0;}[_0x2b20f9(0x124)](){const _0x2966eb=_0x2b20f9;this[_0x2966eb(0x169)]=!0x1;}[_0x2b20f9(0x125)](_0x497fb8){const _0x35ab94=_0x2b20f9;this[_0x35ab94(0x15f)](_0x497fb8);}[_0x2b20f9(0x128)](_0xe631cb){const _0x449098=_0x2b20f9;this[_0x449098(0x15f)](_0xe631cb),this[_0x449098(0x117)]&&(this[_0x449098(0x117)][_0x449098(0x126)]&&(this[_0x449098(0x117)][_0x449098(0x126)][_0x449098(0x118)]=!0x1),this[_0x449098(0x117)][_0x449098(0x133)]&&(this[_0x449098(0x117)][_0x449098(0x133)][_0x449098(0x118)]=!0x1));}[_0x2b20f9(0x11f)](_0x5bde6f){const _0x11d454=_0x2b20f9,_0x1aef15=this[_0x11d454(0x12f)](),_0x1660d5=this[_0x11d454(0x154)]();_0x5bde6f[_0x11d454(0x15c)][_0x11d454(0x151)][_0x11d454(0x12b)][_0x11d454(0x123)](_0x1aef15,0x2),_0x5bde6f[_0x11d454(0x15c)][_0x11d454(0x151)][_0x11d454(0x12b)][_0x11d454(0x123)](_0x1660d5,0x0),this[_0x11d454(0x14c)][_0x11d454(0x160)]([_0x1aef15,_0x1660d5]),this[_0x11d454(0x142)][_0x11d454(0x123)](_0x1aef15[_0x11d454(0x130)]),this[_0x11d454(0x142)][_0x11d454(0x123)](_0x1660d5[_0x11d454(0x130)]);}[_0x2b20f9(0x15b)](_0x398c95){const _0x208166=_0x2b20f9;this[_0x208166(0x12e)]=_0x398c95,this[_0x208166(0x141)][_0x208166(0x123)](this[_0x208166(0x12e)]);}[_0x2b20f9(0x148)](_0x4f8267){const _0x10dd3b=_0x2b20f9,_0x268993=this[_0x10dd3b(0x141)][_0x10dd3b(0x147)](this[_0x10dd3b(0x12e)]);this[_0x10dd3b(0x141)][_0x10dd3b(0x149)](this[_0x10dd3b(0x12e)]),this[_0x10dd3b(0x12e)]=_0x4f8267,this[_0x10dd3b(0x141)][_0x10dd3b(0x123)](this[_0x10dd3b(0x12e)],_0x268993),this[_0x10dd3b(0x124)]();}[_0x2b20f9(0x129)](){const _0x3fd362=_0x2b20f9;this[_0x3fd362(0x120)]=new _0x155f37(this[_0x3fd362(0x11b)]),this[_0x3fd362(0x141)][_0x3fd362(0x123)](this[_0x3fd362(0x120)]);}[_0x2b20f9(0x122)](_0x3eaed8=!0x0,_0x297566=!0x0){const _0xdbdcb3=_0x2b20f9;_0x3eaed8=_0x3eaed8&&!this[_0xdbdcb3(0x144)]&&this[_0xdbdcb3(0x132)][_0xdbdcb3(0x13e)](_0xdbdcb3(0x165)),_0x297566=_0x297566&&this[_0xdbdcb3(0x132)][_0xdbdcb3(0x13e)](_0xdbdcb3(0x152)),this[_0xdbdcb3(0x117)]=new _0x511c5b(this[_0xdbdcb3(0x11b)],_0x3eaed8,_0x297566),this[_0xdbdcb3(0x117)][_0xdbdcb3(0x126)]?.['on'](_0xdbdcb3(0x159),()=>{const _0x5b6437=_0xdbdcb3;this[_0x5b6437(0x127)](_0x5b6437(0x165));}),this[_0xdbdcb3(0x117)][_0xdbdcb3(0x133)]?.['on'](_0xdbdcb3(0x159),()=>{const _0xdb656a=_0xdbdcb3;this[_0xdb656a(0x127)](_0xdb656a(0x152));}),this[_0xdbdcb3(0x141)][_0xdbdcb3(0x123)](this[_0xdbdcb3(0x117)]);}[_0x2b20f9(0x12f)](){const _0x4bf5dd=_0x2b20f9,_0x5deefb=new _0x3fe220(this[_0x4bf5dd(0x11b)]);return _0x5deefb[_0x4bf5dd(0x150)]({'icon':_0x160eff,'tooltip':_0x2cb588(this[_0x4bf5dd(0x11b)],_0x4bf5dd(0x13f))}),_0x5deefb['on'](_0x4bf5dd(0x159),()=>{const _0x57e164=_0x4bf5dd;this[_0x57e164(0x127)](_0x57e164(0x14f));}),_0x5deefb;}[_0x2b20f9(0x154)](){const _0x57a38f=_0x2b20f9,_0x28d264=new _0x3fe220(this[_0x57a38f(0x11b)]);return _0x28d264[_0x57a38f(0x150)]({'icon':_0x154753,'tooltip':_0x2cb588(this[_0x57a38f(0x11b)],_0x57a38f(0x12c))}),_0x28d264['on'](_0x57a38f(0x159),()=>{const _0x11e272=_0x57a38f;this[_0x11e272(0x127)](_0x11e272(0x12a));}),_0x28d264;}[_0x2b20f9(0x14b)](){const _0x30f37a=_0x2b20f9,_0x301c2b=new _0x4f455f(this[_0x30f37a(0x11b)]),_0x4f67ff=new _0x4f455f(this[_0x30f37a(0x11b)]);return _0x4f67ff[_0x30f37a(0x164)]({'tag':_0x30f37a(0x143),'attributes':{'class':['ck',_0x30f37a(0x131)]},'children':[{'text':this[_0x30f37a(0x135)]['to'](_0x30f37a(0x14d))}]}),_0x301c2b[_0x30f37a(0x164)]({'tag':_0x30f37a(0x12d),'attributes':{'class':['ck',_0x30f37a(0x15d),_0x30f37a(0x162),this[_0x30f37a(0x135)]['if'](_0x30f37a(0x169),_0x30f37a(0x11e),_0x32dc79=>!_0x32dc79)]},'children':[_0x4f67ff]}),_0x301c2b;}}
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
- function _0x44bd(_0x551e14,_0x4e30da){var _0x21b269=_0x21b2();return _0x44bd=function(_0x44bd21,_0xf2f967){_0x44bd21=_0x44bd21-0xde;var _0x9e281f=_0x21b269[_0x44bd21];return _0x9e281f;},_0x44bd(_0x551e14,_0x4e30da);}var _0x48c4e0=_0x44bd;(function(_0x363137,_0x16294b){var _0xf77e4b=_0x44bd,_0x1fdadc=_0x363137();while(!![]){try{var _0x3eb898=-parseInt(_0xf77e4b(0xe1))/0x1+-parseInt(_0xf77e4b(0xee))/0x2+-parseInt(_0xf77e4b(0xeb))/0x3+-parseInt(_0xf77e4b(0xe3))/0x4*(-parseInt(_0xf77e4b(0xdf))/0x5)+-parseInt(_0xf77e4b(0xe5))/0x6+-parseInt(_0xf77e4b(0xde))/0x7+-parseInt(_0xf77e4b(0xf1))/0x8*(-parseInt(_0xf77e4b(0xef))/0x9);if(_0x3eb898===_0x16294b)break;else _0x1fdadc['push'](_0x1fdadc['shift']());}catch(_0x4016e3){_0x1fdadc['push'](_0x1fdadc['shift']());}}}(_0x21b2,0x4c690));function _0x21b2(){var _0x66908c=['removeSelectionFromChatContext','ai.chat.context','isOfficialPlugin','context','AIChat','1123809eMYUyK','startConversation','pluginName','1114490VEhcdx','3419919MiMEQA','sendMessage','40EfpvwP','plugins','isPremiumPlugin','requires','focusPromptInput','ai.chat.models','addSelectionToChatContext','1020957IosCCB','197425dTlUua','config','489595NkHQAH','define','44hmUkLq','get','2724120cFbacW'];_0x21b2=function(){return _0x66908c;};return _0x21b2();}import{ContextPlugin as _0x5e08b3}from'ckeditor5/src/core.js';import{AIChatController as _0x494c95}from'./aichatcontroller.js';import{AIEditing as _0xe66c6}from'../aicore/aiediting.js';import{AIChatUI as _0x6931e6}from'./aichatui.js';import{AIChatHistory as _0x1c283b}from'../aichathistory/aichathistory.js';export class AIChat extends _0x5e08b3{static get[_0x48c4e0(0xf4)](){return[_0x494c95,_0xe66c6,_0x6931e6,_0x1c283b];}static get[_0x48c4e0(0xed)](){var _0x3b2fa4=_0x48c4e0;return _0x3b2fa4(0xea);}static get[_0x48c4e0(0xe8)](){return!0x0;}static get[_0x48c4e0(0xf3)](){return!0x0;}constructor(_0x40a993){var _0x5cc2e8=_0x48c4e0;super(_0x40a993),this[_0x5cc2e8(0xe9)][_0x5cc2e8(0xe0)][_0x5cc2e8(0xe2)](_0x5cc2e8(0xe7),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x5cc2e8(0xe9)][_0x5cc2e8(0xe0)][_0x5cc2e8(0xe2)](_0x5cc2e8(0xf6),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x48c4e0(0xf7)](){var _0x4e5f01=_0x48c4e0;await this[_0x4e5f01(0xe9)][_0x4e5f01(0xf2)][_0x4e5f01(0xe4)](_0x494c95)[_0x4e5f01(0xf7)]();}async[_0x48c4e0(0xec)](){var _0x322899=_0x48c4e0;await this[_0x322899(0xe9)][_0x322899(0xf2)][_0x322899(0xe4)](_0x494c95)[_0x322899(0xec)]();}async[_0x48c4e0(0xf0)]({message:_0x289dec,quickActionData:_0x2d766f}){var _0x2b7135=_0x48c4e0;await this[_0x2b7135(0xe9)][_0x2b7135(0xf2)][_0x2b7135(0xe4)](_0x494c95)[_0x2b7135(0xf0)]({'message':_0x289dec,'quickActionData':_0x2d766f});}[_0x48c4e0(0xe6)](){var _0x484c57=_0x48c4e0;this[_0x484c57(0xe9)][_0x484c57(0xf2)][_0x484c57(0xe4)](_0x494c95)[_0x484c57(0xe6)]();}[_0x48c4e0(0xf5)](){var _0x58a84a=_0x48c4e0;this[_0x58a84a(0xe9)][_0x58a84a(0xf2)][_0x58a84a(0xe4)](_0x494c95)[_0x58a84a(0xf5)]();}}
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();}