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

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 (110) 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/awstextadapter.js +1 -1
  8. package/src/aiassistant/aiassistantediting.js +1 -1
  9. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  10. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  12. package/src/aiassistant/ui/form/aiformview.js +1 -1
  13. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  14. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  15. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  16. package/src/aiballoon/aiballoon.js +1 -1
  17. package/src/aichat/aichat.js +1 -1
  18. package/src/aichat/aichatballoon.js +1 -1
  19. package/src/aichat/aichatcontroller.js +1 -1
  20. package/src/aichat/aichatui.js +1 -1
  21. package/src/aichat/model/aichatcontext.js +1 -1
  22. package/src/aichat/model/aichatconversation.js +1 -1
  23. package/src/aichat/model/aichatinteraction.js +1 -1
  24. package/src/aichat/ui/aichatballoonview.js +1 -1
  25. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  26. package/src/aichat/ui/aichatfeedview.js +1 -1
  27. package/src/aichat/ui/aichatheaderview.js +1 -1
  28. package/src/aichat/ui/aichatview.js +1 -1
  29. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  31. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  32. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  33. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  34. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  35. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  40. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  44. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  45. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  46. package/src/aichat/utils/eventnames.js +1 -1
  47. package/src/aichathistory/aichathistory.js +1 -1
  48. package/src/aichathistory/aichathistorycontroller.js +1 -1
  49. package/src/aichathistory/aichathistoryui.js +1 -1
  50. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  51. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  52. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  53. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  54. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  55. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  56. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  57. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  58. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  59. package/src/aicore/aiconnector.js +1 -1
  60. package/src/aicore/aiediting.js +1 -1
  61. package/src/aicore/model/aiinteraction.js +1 -1
  62. package/src/aicore/model/aimodels.js +1 -1
  63. package/src/aicore/model/aireply.js +1 -1
  64. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  65. package/src/aicore/pipeline/airesponseparser.js +2 -2
  66. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  68. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  69. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  71. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  72. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  74. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  77. package/src/aicore/utils/documentposition.js +1 -1
  78. package/src/aicore/utils/documentrange.js +1 -1
  79. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  80. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  81. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  82. package/src/aicore/utils/htmlparser.js +1 -1
  83. package/src/aicore/utils/htmlstreamer.js +1 -1
  84. package/src/aieditorintegration/aieditorintegration.js +1 -1
  85. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  86. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  87. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  88. package/src/aiquickactions/aiquickactionsui.js +1 -1
  89. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  90. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  91. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  92. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  93. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  94. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  95. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  96. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  97. package/src/aireviewcore/aireviewcoreui.js +1 -1
  98. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  99. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  100. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  101. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  102. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  103. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  104. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  105. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  106. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  107. package/src/aireviewmode/aireviewmode.js +1 -1
  108. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  109. package/src/aitabs/aitabs.js +1 -1
  110. package/src/aitranslate/aitranslate.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a4078=_0x4997;function _0x7cee(){const _0x226b06=['bindTo','isError','chain','2094384zdhaQT','_promptHistory','render','178xwFIZq','value','handleError','listenTo','submit','clear','items','Ask\x20AI\x20to\x20improve\x20generated\x20text','18QAZvVs','REPLACE','102422ZtiQyL','stopProcessing','toolbar','2698064ReNbes','focus','text','execute','bindTemplate','createCollection','insertContentBelow','errorView','set','clearHistory','locale','_createHistoryView','keystrokes','isEnabled','Ask\x20AI\x20to\x20edit\x20or\x20generate','trim','div','startProcessing','promptView','stopButton','_createToolbar','_focusables','replaceButton','submitPrompt','delegate','AI_ERROR_FAILED','bind','queryView','focusCycler','shift\x20+\x20tab','prompt','copyButtonView','ck-ai-form','isProcessing','focusFirst','high','search','3235710mcJozU','label','Empty\x20history','85VDJSTL','element','isVisible','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','insertButton','historyGroupView','setTemplate','fire','add','replaceContent','tryAgainButton','106012BRNkvN','fieldView','focusTracker','ck-ai-form-content','6687wpbeTG','ck-hidden','focusLast','tryAgainEvent','reset','mainAction','tab','_createPromptView','4405212KeuxPe','finishProcessing','contentArea'];_0x7cee=function(){return _0x226b06;};return _0x7cee();}(function(_0x4e8c93,_0x3e5a2f){const _0x2a861c=_0x4997,_0x3231d4=_0x4e8c93();while(!![]){try{const _0x21425c=parseInt(_0x2a861c(0x139))/0x1+-parseInt(_0x2a861c(0x12f))/0x2*(parseInt(_0x2a861c(0x11e))/0x3)+parseInt(_0x2a861c(0x11a))/0x4*(parseInt(_0x2a861c(0x10f))/0x5)+-parseInt(_0x2a861c(0x12c))/0x6+parseInt(_0x2a861c(0x126))/0x7+parseInt(_0x2a861c(0x13c))/0x8+parseInt(_0x2a861c(0x137))/0x9*(-parseInt(_0x2a861c(0x10c))/0xa);if(_0x21425c===_0x3e5a2f)break;else _0x3231d4['push'](_0x3231d4['shift']());}catch(_0x132230){_0x3231d4['push'](_0x3231d4['shift']());}}}(_0x7cee,0x4f560));function _0x4997(_0x18ea50,_0xfd37c5){const _0x7cee85=_0x7cee();return _0x4997=function(_0x4997eb,_0x28f4ea){_0x4997eb=_0x4997eb-0xe9;let _0x22620c=_0x7cee85[_0x4997eb];return _0x22620c;},_0x4997(_0x18ea50,_0xfd37c5);}import{FocusTracker as _0x42be42,KeystrokeHandler as _0x4dadf9}from'ckeditor5/src/utils.js';import{View as _0x1bf5ce,FocusCycler as _0x262617,createLabeledTextarea as _0x40114e}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x39e3f9,AIFormToolbarViewMainActionLabel as _0x18b8eb}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x2d54a0}from'./aiformcontentarea.js';import{AIFormErrorView as _0x16a67b}from'./aiformerrorview.js';import{AIFormPromptView as _0x55cc96}from'./aiformpromptview.js';import{AIHistoryListView as _0x56175c}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x4d8dc1}from'./aihistorylistitemview.js';import{PromptHistory as _0x4b8d08}from'./prompthistory.js';import{getTranslation as _0x271735}from'../../utils/common-translations.js';import{escape as _0x579fd5}from'es-toolkit/compat';export class AIFormView extends _0x1bf5ce{[_0x4a4078(0x11c)];[_0x4a4078(0xf3)];[_0x4a4078(0x128)];[_0x4a4078(0x13b)];[_0x4a4078(0xf9)];[_0x4a4078(0xee)];[_0x4a4078(0xfc)];[_0x4a4078(0x103)];[_0x4a4078(0x12d)];constructor(_0x3bfbfd,_0x4741d6,_0x2ea1c7=''){const _0x35d8b6=_0x4a4078;super(_0x3bfbfd),this[_0x35d8b6(0xef)](_0x35d8b6(0xf4),!0x0),this[_0x35d8b6(0xef)](_0x35d8b6(0x108),!0x1),this[_0x35d8b6(0xef)](_0x35d8b6(0x105),''),this[_0x35d8b6(0xef)](_0x35d8b6(0x130),''),this[_0x35d8b6(0xef)](_0x35d8b6(0x12a),!0x1),this[_0x35d8b6(0xef)](_0x35d8b6(0x123),_0x18b8eb[_0x35d8b6(0x138)]),this[_0x35d8b6(0x12d)]=new _0x4b8d08(),this[_0x35d8b6(0xee)]=new _0x16a67b(_0x3bfbfd),this[_0x35d8b6(0x128)]=new _0x2d54a0(_0x3bfbfd,_0x2ea1c7),this[_0x35d8b6(0x128)][_0x35d8b6(0x101)](_0x35d8b6(0x108))['to'](this),this[_0x35d8b6(0x128)][_0x35d8b6(0x101)](_0x35d8b6(0x130))['to'](this),this[_0x35d8b6(0x13b)]=this[_0x35d8b6(0xfb)](),this[_0x35d8b6(0x13b)][_0x35d8b6(0x101)](_0x35d8b6(0x123))['to'](this),this[_0x35d8b6(0xf9)]=this[_0x35d8b6(0x125)](),this[_0x35d8b6(0x11c)]=new _0x42be42(),this[_0x35d8b6(0xf3)]=new _0x4dadf9(),this[_0x35d8b6(0xfc)]=this[_0x35d8b6(0xec)]([this[_0x35d8b6(0x128)],this[_0x35d8b6(0x128)][_0x35d8b6(0x106)],this[_0x35d8b6(0x13b)],this[_0x35d8b6(0xf9)]]),this[_0x35d8b6(0x103)]=new _0x262617({'focusables':this[_0x35d8b6(0xfc)],'focusTracker':this[_0x35d8b6(0x11c)],'keystrokeHandler':this[_0x35d8b6(0xf3)],'actions':{'focusPrevious':_0x35d8b6(0x104),'focusNext':_0x35d8b6(0x124)}}),this[_0x35d8b6(0x103)][_0x35d8b6(0x12b)](this[_0x35d8b6(0xf9)][_0x35d8b6(0x103)]),this[_0x35d8b6(0xf9)][_0x35d8b6(0x102)][_0x35d8b6(0x11b)][_0x35d8b6(0x101)](_0x35d8b6(0x130))['to'](this,_0x35d8b6(0x105));const _0x481a3f=this[_0x35d8b6(0xeb)];this[_0x35d8b6(0x115)]({'tag':_0x35d8b6(0xf7),'attributes':{'class':['ck',_0x35d8b6(0x107),_0x4741d6],'tabindex':'-1'},'children':[{'tag':_0x35d8b6(0xf7),'attributes':{'class':['ck',_0x35d8b6(0x11d)]},'children':[{'tag':_0x35d8b6(0xf7),'attributes':{'class':[_0x481a3f['if'](_0x35d8b6(0x12a),_0x35d8b6(0x11f),_0x5c2542=>!_0x5c2542)]},'children':[this[_0x35d8b6(0xee)]]},this[_0x35d8b6(0x128)],this[_0x35d8b6(0x13b)],this[_0x35d8b6(0xf9)]]}]});}[_0x4a4078(0x12e)](){const _0x5b0a9e=_0x4a4078;super[_0x5b0a9e(0x12e)](),this[_0x5b0a9e(0x11c)][_0x5b0a9e(0x117)](this[_0x5b0a9e(0x128)][_0x5b0a9e(0x110)]),this[_0x5b0a9e(0x11c)][_0x5b0a9e(0x117)](this[_0x5b0a9e(0x128)][_0x5b0a9e(0x106)][_0x5b0a9e(0x110)]),this[_0x5b0a9e(0x11c)][_0x5b0a9e(0x117)](this[_0x5b0a9e(0x13b)][_0x5b0a9e(0x110)]),this[_0x5b0a9e(0x11c)][_0x5b0a9e(0x117)](this[_0x5b0a9e(0xf9)][_0x5b0a9e(0x110)]),this[_0x5b0a9e(0xf3)][_0x5b0a9e(0x132)](this[_0x5b0a9e(0x110)]);}[_0x4a4078(0x13d)](_0x295191=0x1){const _0x187a77=_0x4a4078;-0x1===_0x295191?this[_0x187a77(0x103)][_0x187a77(0x120)]():this[_0x187a77(0x103)][_0x187a77(0x109)]();}[_0x4a4078(0x122)](){const _0x4382e1=_0x4a4078;this[_0x4382e1(0x105)]='',this[_0x4382e1(0x130)]='',this[_0x4382e1(0x12a)]=!0x1,this[_0x4382e1(0xf9)][_0x4382e1(0x122)](),this[_0x4382e1(0x128)][_0x4382e1(0x111)]=!0x1,this[_0x4382e1(0x13b)][_0x4382e1(0x111)]=!0x1;}[_0x4a4078(0x125)](){const _0x54c4c9=_0x4a4078,_0x2311f3=this[_0x54c4c9(0xf1)],_0x4d5d82=new _0x55cc96(_0x2311f3,{'queryView':{'label':_0x271735(_0x2311f3,_0x54c4c9(0xf5)),'creator':_0x40114e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x271735(_0x2311f3,_0x54c4c9(0x10e)),'secondary':_0x271735(_0x2311f3,_0x54c4c9(0x112))}}},'filteredView':this[_0x54c4c9(0xf2)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4d5d82[_0x54c4c9(0x101)](_0x54c4c9(0xf4))['to'](this,_0x54c4c9(0xf4),this,_0x54c4c9(0x108),(_0x46df55,_0x997b05)=>_0x46df55&&!_0x997b05),this[_0x54c4c9(0x132)](_0x4d5d82,_0x54c4c9(0x133),(_0x44adaf,_0x3ddcad)=>{const _0x410b7f=_0x54c4c9;this[_0x410b7f(0x105)]=_0x3ddcad;const _0x21046a=_0x579fd5(_0x3ddcad);this[_0x410b7f(0x116)](_0x410b7f(0xfe),_0x21046a),_0x3ddcad[_0x410b7f(0xf6)]()&&this[_0x410b7f(0x12d)][_0x410b7f(0x117)]({'prompt':_0x21046a},0x0);},{'priority':_0x54c4c9(0x10a)}),_0x4d5d82;}[_0x4a4078(0xf2)](){const _0x5bd6a4=_0x4a4078,_0x5d2b7b=new _0x56175c(this[_0x5bd6a4(0xf1)]);return _0x5d2b7b[_0x5bd6a4(0x114)][_0x5bd6a4(0x135)][_0x5bd6a4(0x129)](this[_0x5bd6a4(0x12d)])['as'](_0x4d8dc1),_0x5d2b7b['on'](_0x5bd6a4(0xf0),()=>{const _0x36496b=_0x5bd6a4;this[_0x36496b(0x12d)][_0x36496b(0x134)](),this[_0x36496b(0xf9)][_0x36496b(0x10b)](''),this[_0x36496b(0xf9)][_0x36496b(0x13d)]();}),_0x5d2b7b;}[_0x4a4078(0xfb)](){const _0x2311e3=_0x4a4078,_0x5c0e00=new _0x39e3f9(this[_0x2311e3(0xf1)]);return _0x5c0e00[_0x2311e3(0xfd)][_0x2311e3(0x101)](_0x2311e3(0xf4))['to'](this,_0x2311e3(0xf4),this,_0x2311e3(0x108),this,_0x2311e3(0x130),(_0x341b77,_0x6d9aa7,_0x23ec84)=>_0x341b77&&!_0x6d9aa7&&!!_0x23ec84),_0x5c0e00[_0x2311e3(0xfd)][_0x2311e3(0xff)](_0x2311e3(0xea))['to'](this,_0x2311e3(0x118)),_0x5c0e00[_0x2311e3(0x113)][_0x2311e3(0x101)](_0x2311e3(0xf4))['to'](this,_0x2311e3(0xf4),this,_0x2311e3(0x108),this,_0x2311e3(0x130),(_0x5d7764,_0x12fe93,_0x1359b8)=>_0x5d7764&&!_0x12fe93&&!!_0x1359b8),_0x5c0e00[_0x2311e3(0x113)][_0x2311e3(0xff)](_0x2311e3(0xea))['to'](this,_0x2311e3(0xed)),_0x5c0e00[_0x2311e3(0x119)][_0x2311e3(0x101)](_0x2311e3(0xf4))['to'](this,_0x2311e3(0xf4),this,_0x2311e3(0x108),(_0x5be3ec,_0x8c02f4)=>_0x5be3ec&&!_0x8c02f4),_0x5c0e00[_0x2311e3(0x119)][_0x2311e3(0xff)](_0x2311e3(0xea))['to'](this,_0x2311e3(0x121)),_0x5c0e00[_0x2311e3(0xfa)][_0x2311e3(0x101)](_0x2311e3(0xf4))['to'](this,_0x2311e3(0x108)),_0x5c0e00[_0x2311e3(0xfa)][_0x2311e3(0xff)](_0x2311e3(0xea))['to'](this,_0x2311e3(0x13a)),_0x5c0e00;}[_0x4a4078(0xf8)](){const _0x6536d1=_0x4a4078;this[_0x6536d1(0x130)]='',this[_0x6536d1(0x12a)]=!0x1,this[_0x6536d1(0x108)]=!0x0,this[_0x6536d1(0x128)][_0x6536d1(0x111)]=!0x0,this[_0x6536d1(0x13b)][_0x6536d1(0x111)]=!0x0,this[_0x6536d1(0x128)][_0x6536d1(0x13d)]();}[_0x4a4078(0x127)](){const _0xf99f68=_0x4a4078,_0x430403=this[_0xf99f68(0xf1)];this[_0xf99f68(0x108)]=!0x1,this[_0xf99f68(0x105)]='',this[_0xf99f68(0xf9)][_0xf99f68(0x122)](),this[_0xf99f68(0x130)]&&(this[_0xf99f68(0xf9)][_0xf99f68(0x102)][_0xf99f68(0x10d)]=_0x271735(_0x430403,_0xf99f68(0x136)));}[_0x4a4078(0x131)](_0x5ad9b9){const _0x3b157c=_0x4a4078,_0x57569d=this[_0x3b157c(0xf1)];this[_0x3b157c(0x127)](),this[_0x3b157c(0x12a)]=!0x0,this[_0x3b157c(0xee)][_0x3b157c(0xe9)]=_0x5ad9b9||_0x271735(_0x57569d,_0x3b157c(0x100)),this[_0x3b157c(0x130)]||(this[_0x3b157c(0x128)][_0x3b157c(0x111)]=!0x1);}}
23
+ const _0x464a8d=_0x54b8;(function(_0x2fb2f0,_0x4217d6){const _0x1729eb=_0x54b8,_0x4ecdcf=_0x2fb2f0();while(!![]){try{const _0x52332f=-parseInt(_0x1729eb(0x176))/0x1+-parseInt(_0x1729eb(0x15e))/0x2*(parseInt(_0x1729eb(0x13d))/0x3)+-parseInt(_0x1729eb(0x171))/0x4*(-parseInt(_0x1729eb(0x16f))/0x5)+-parseInt(_0x1729eb(0x152))/0x6+-parseInt(_0x1729eb(0x140))/0x7*(parseInt(_0x1729eb(0x162))/0x8)+parseInt(_0x1729eb(0x145))/0x9+parseInt(_0x1729eb(0x160))/0xa*(parseInt(_0x1729eb(0x134))/0xb);if(_0x52332f===_0x4217d6)break;else _0x4ecdcf['push'](_0x4ecdcf['shift']());}catch(_0x3dffae){_0x4ecdcf['push'](_0x4ecdcf['shift']());}}}(_0x526a,0xba04c));import{FocusTracker as _0x5c5923,KeystrokeHandler as _0x4214fb}from'ckeditor5/src/utils.js';function _0x54b8(_0x41ddc1,_0x39d068){const _0x526a28=_0x526a();return _0x54b8=function(_0x54b8ed,_0x1431a2){_0x54b8ed=_0x54b8ed-0x125;let _0x4c0c68=_0x526a28[_0x54b8ed];return _0x4c0c68;},_0x54b8(_0x41ddc1,_0x39d068);}import{View as _0xc7d4c2,FocusCycler as _0xa5c565,createLabeledTextarea as _0x1cc4e2}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x1ddedd,AIFormToolbarViewMainActionLabel as _0xd39199}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x504dc9}from'./aiformcontentarea.js';import{AIFormErrorView as _0x410000}from'./aiformerrorview.js';import{AIFormPromptView as _0x538ba3}from'./aiformpromptview.js';import{AIHistoryListView as _0xb50f97}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x280cde}from'./aihistorylistitemview.js';import{PromptHistory as _0x2bb517}from'./prompthistory.js';import{getTranslation as _0x523ab2}from'../../utils/common-translations.js';import{escape as _0x4d0a70}from'es-toolkit/compat';function _0x526a(){const _0x41f7a5=['focusTracker','44233OooglW','_createHistoryView','set','text','REPLACE','9946782BLlHVo','AI_ERROR_FAILED','bindTo','toolbar','isEnabled','shift\x20+\x20tab','items','delegate','focusLast','isError','Empty\x20history','queryView','insertButton','5923554coVCSn','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','clear','div','stopButton','replaceButton','listenTo','search','add','tryAgainEvent','prompt','fieldView','30XiowGX','keystrokes','21050710WEevEK','Ask\x20AI\x20to\x20improve\x20generated\x20text','424PNboeU','bindTemplate','ck-ai-form-content','locale','tab','isProcessing','_createPromptView','promptView','element','bind','submitPrompt','copyButtonView','value','333725mRFexL','fire','44oPiWXM','createCollection','_createToolbar','insertContentBelow','_promptHistory','1331676XSiBZl','ck-hidden','mainAction','chain','_focusables','Ask\x20AI\x20to\x20edit\x20or\x20generate','tryAgainButton','historyGroupView','replaceContent','label','focus','handleError','finishProcessing','startProcessing','execute','ck-ai-form','stopProcessing','clearHistory','reset','trim','11MbIADK','submit','isVisible','focusFirst','focusCycler','errorView','high','setTemplate','render','105738pJEGSF','contentArea'];_0x526a=function(){return _0x41f7a5;};return _0x526a();}export class AIFormView extends _0xc7d4c2{[_0x464a8d(0x13f)];[_0x464a8d(0x15f)];[_0x464a8d(0x13e)];[_0x464a8d(0x148)];[_0x464a8d(0x169)];[_0x464a8d(0x139)];[_0x464a8d(0x17a)];[_0x464a8d(0x138)];[_0x464a8d(0x175)];constructor(_0x5037c9,_0x49b3a5,_0x210c78=''){const _0xde7118=_0x464a8d;super(_0x5037c9),this[_0xde7118(0x142)](_0xde7118(0x149),!0x0),this[_0xde7118(0x142)](_0xde7118(0x167),!0x1),this[_0xde7118(0x142)](_0xde7118(0x15c),''),this[_0xde7118(0x142)](_0xde7118(0x16e),''),this[_0xde7118(0x142)](_0xde7118(0x14e),!0x1),this[_0xde7118(0x142)](_0xde7118(0x178),_0xd39199[_0xde7118(0x144)]),this[_0xde7118(0x175)]=new _0x2bb517(),this[_0xde7118(0x139)]=new _0x410000(_0x5037c9),this[_0xde7118(0x13e)]=new _0x504dc9(_0x5037c9,_0x210c78),this[_0xde7118(0x13e)][_0xde7118(0x16b)](_0xde7118(0x167))['to'](this),this[_0xde7118(0x13e)][_0xde7118(0x16b)](_0xde7118(0x16e))['to'](this),this[_0xde7118(0x148)]=this[_0xde7118(0x173)](),this[_0xde7118(0x148)][_0xde7118(0x16b)](_0xde7118(0x178))['to'](this),this[_0xde7118(0x169)]=this[_0xde7118(0x168)](),this[_0xde7118(0x13f)]=new _0x5c5923(),this[_0xde7118(0x15f)]=new _0x4214fb(),this[_0xde7118(0x17a)]=this[_0xde7118(0x172)]([this[_0xde7118(0x13e)],this[_0xde7118(0x13e)][_0xde7118(0x16d)],this[_0xde7118(0x148)],this[_0xde7118(0x169)]]),this[_0xde7118(0x138)]=new _0xa5c565({'focusables':this[_0xde7118(0x17a)],'focusTracker':this[_0xde7118(0x13f)],'keystrokeHandler':this[_0xde7118(0x15f)],'actions':{'focusPrevious':_0xde7118(0x14a),'focusNext':_0xde7118(0x166)}}),this[_0xde7118(0x138)][_0xde7118(0x179)](this[_0xde7118(0x169)][_0xde7118(0x138)]),this[_0xde7118(0x169)][_0xde7118(0x150)][_0xde7118(0x15d)][_0xde7118(0x16b)](_0xde7118(0x16e))['to'](this,_0xde7118(0x15c));const _0x4c4ba1=this[_0xde7118(0x163)];this[_0xde7118(0x13b)]({'tag':_0xde7118(0x155),'attributes':{'class':['ck',_0xde7118(0x12f),_0x49b3a5],'tabindex':'-1'},'children':[{'tag':_0xde7118(0x155),'attributes':{'class':['ck',_0xde7118(0x164)]},'children':[{'tag':_0xde7118(0x155),'attributes':{'class':[_0x4c4ba1['if'](_0xde7118(0x14e),_0xde7118(0x177),_0x15ebae=>!_0x15ebae)]},'children':[this[_0xde7118(0x139)]]},this[_0xde7118(0x13e)],this[_0xde7118(0x148)],this[_0xde7118(0x169)]]}]});}[_0x464a8d(0x13c)](){const _0x146a60=_0x464a8d;super[_0x146a60(0x13c)](),this[_0x146a60(0x13f)][_0x146a60(0x15a)](this[_0x146a60(0x13e)][_0x146a60(0x16a)]),this[_0x146a60(0x13f)][_0x146a60(0x15a)](this[_0x146a60(0x13e)][_0x146a60(0x16d)][_0x146a60(0x16a)]),this[_0x146a60(0x13f)][_0x146a60(0x15a)](this[_0x146a60(0x148)][_0x146a60(0x16a)]),this[_0x146a60(0x13f)][_0x146a60(0x15a)](this[_0x146a60(0x169)][_0x146a60(0x16a)]),this[_0x146a60(0x15f)][_0x146a60(0x158)](this[_0x146a60(0x16a)]);}[_0x464a8d(0x12a)](_0x15588b=0x1){const _0x3ae629=_0x464a8d;-0x1===_0x15588b?this[_0x3ae629(0x138)][_0x3ae629(0x14d)]():this[_0x3ae629(0x138)][_0x3ae629(0x137)]();}[_0x464a8d(0x132)](){const _0x58b514=_0x464a8d;this[_0x58b514(0x15c)]='',this[_0x58b514(0x16e)]='',this[_0x58b514(0x14e)]=!0x1,this[_0x58b514(0x169)][_0x58b514(0x132)](),this[_0x58b514(0x13e)][_0x58b514(0x136)]=!0x1,this[_0x58b514(0x148)][_0x58b514(0x136)]=!0x1;}[_0x464a8d(0x168)](){const _0x211731=_0x464a8d,_0x5c5cc8=this[_0x211731(0x165)],_0x20e9e3=new _0x538ba3(_0x5c5cc8,{'queryView':{'label':_0x523ab2(_0x5c5cc8,_0x211731(0x125)),'creator':_0x1cc4e2,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x523ab2(_0x5c5cc8,_0x211731(0x14f)),'secondary':_0x523ab2(_0x5c5cc8,_0x211731(0x153))}}},'filteredView':this[_0x211731(0x141)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x20e9e3[_0x211731(0x16b)](_0x211731(0x149))['to'](this,_0x211731(0x149),this,_0x211731(0x167),(_0x3e206f,_0x39194e)=>_0x3e206f&&!_0x39194e),this[_0x211731(0x158)](_0x20e9e3,_0x211731(0x135),(_0x34a5e9,_0x19e57b)=>{const _0x474ebc=_0x211731;this[_0x474ebc(0x15c)]=_0x19e57b;const _0x50ed7a=_0x4d0a70(_0x19e57b);this[_0x474ebc(0x170)](_0x474ebc(0x16c),_0x50ed7a),_0x19e57b[_0x474ebc(0x133)]()&&this[_0x474ebc(0x175)][_0x474ebc(0x15a)]({'prompt':_0x50ed7a},0x0);},{'priority':_0x211731(0x13a)}),_0x20e9e3;}[_0x464a8d(0x141)](){const _0x1a7e49=_0x464a8d,_0x8c9b0=new _0xb50f97(this[_0x1a7e49(0x165)]);return _0x8c9b0[_0x1a7e49(0x127)][_0x1a7e49(0x14b)][_0x1a7e49(0x147)](this[_0x1a7e49(0x175)])['as'](_0x280cde),_0x8c9b0['on'](_0x1a7e49(0x131),()=>{const _0x1a9cf5=_0x1a7e49;this[_0x1a9cf5(0x175)][_0x1a9cf5(0x154)](),this[_0x1a9cf5(0x169)][_0x1a9cf5(0x159)](''),this[_0x1a9cf5(0x169)][_0x1a9cf5(0x12a)]();}),_0x8c9b0;}[_0x464a8d(0x173)](){const _0x717e08=_0x464a8d,_0x5bb56e=new _0x1ddedd(this[_0x717e08(0x165)]);return _0x5bb56e[_0x717e08(0x157)][_0x717e08(0x16b)](_0x717e08(0x149))['to'](this,_0x717e08(0x149),this,_0x717e08(0x167),this,_0x717e08(0x16e),(_0x5afe49,_0x270e02,_0xf2b92e)=>_0x5afe49&&!_0x270e02&&!!_0xf2b92e),_0x5bb56e[_0x717e08(0x157)][_0x717e08(0x14c)](_0x717e08(0x12e))['to'](this,_0x717e08(0x128)),_0x5bb56e[_0x717e08(0x151)][_0x717e08(0x16b)](_0x717e08(0x149))['to'](this,_0x717e08(0x149),this,_0x717e08(0x167),this,_0x717e08(0x16e),(_0x5aa568,_0x1bb073,_0x344981)=>_0x5aa568&&!_0x1bb073&&!!_0x344981),_0x5bb56e[_0x717e08(0x151)][_0x717e08(0x14c)](_0x717e08(0x12e))['to'](this,_0x717e08(0x174)),_0x5bb56e[_0x717e08(0x126)][_0x717e08(0x16b)](_0x717e08(0x149))['to'](this,_0x717e08(0x149),this,_0x717e08(0x167),(_0x89700f,_0x9c832e)=>_0x89700f&&!_0x9c832e),_0x5bb56e[_0x717e08(0x126)][_0x717e08(0x14c)](_0x717e08(0x12e))['to'](this,_0x717e08(0x15b)),_0x5bb56e[_0x717e08(0x156)][_0x717e08(0x16b)](_0x717e08(0x149))['to'](this,_0x717e08(0x167)),_0x5bb56e[_0x717e08(0x156)][_0x717e08(0x14c)](_0x717e08(0x12e))['to'](this,_0x717e08(0x130)),_0x5bb56e;}[_0x464a8d(0x12d)](){const _0x31d546=_0x464a8d;this[_0x31d546(0x16e)]='',this[_0x31d546(0x14e)]=!0x1,this[_0x31d546(0x167)]=!0x0,this[_0x31d546(0x13e)][_0x31d546(0x136)]=!0x0,this[_0x31d546(0x148)][_0x31d546(0x136)]=!0x0,this[_0x31d546(0x13e)][_0x31d546(0x12a)]();}[_0x464a8d(0x12c)](){const _0x27d2a3=_0x464a8d,_0x4198b2=this[_0x27d2a3(0x165)];this[_0x27d2a3(0x167)]=!0x1,this[_0x27d2a3(0x15c)]='',this[_0x27d2a3(0x169)][_0x27d2a3(0x132)](),this[_0x27d2a3(0x16e)]&&(this[_0x27d2a3(0x169)][_0x27d2a3(0x150)][_0x27d2a3(0x129)]=_0x523ab2(_0x4198b2,_0x27d2a3(0x161)));}[_0x464a8d(0x12b)](_0x5459ee){const _0x1189cd=_0x464a8d,_0x477d28=this[_0x1189cd(0x165)];this[_0x1189cd(0x12c)](),this[_0x1189cd(0x14e)]=!0x0,this[_0x1189cd(0x139)][_0x1189cd(0x143)]=_0x5459ee||_0x523ab2(_0x477d28,_0x1189cd(0x146)),this[_0x1189cd(0x16e)]||(this[_0x1189cd(0x13e)][_0x1189cd(0x136)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x38e4(_0x1ad53b,_0x1599a2){const _0x188d90=_0x188d();return _0x38e4=function(_0x38e455,_0x28f55b){_0x38e455=_0x38e455-0x1ae;let _0x5b25dc=_0x188d90[_0x38e455];return _0x5b25dc;},_0x38e4(_0x1ad53b,_0x1599a2);}(function(_0x302b24,_0x109d88){const _0x157746=_0x38e4,_0x511c4b=_0x302b24();while(!![]){try{const _0xdbee56=-parseInt(_0x157746(0x1b9))/0x1*(parseInt(_0x157746(0x1b3))/0x2)+-parseInt(_0x157746(0x1bd))/0x3*(parseInt(_0x157746(0x1b5))/0x4)+parseInt(_0x157746(0x1ae))/0x5*(parseInt(_0x157746(0x1b4))/0x6)+-parseInt(_0x157746(0x1b2))/0x7+-parseInt(_0x157746(0x1b0))/0x8+parseInt(_0x157746(0x1af))/0x9*(-parseInt(_0x157746(0x1bb))/0xa)+-parseInt(_0x157746(0x1b8))/0xb*(-parseInt(_0x157746(0x1c0))/0xc);if(_0xdbee56===_0x109d88)break;else _0x511c4b['push'](_0x511c4b['shift']());}catch(_0x588414){_0x511c4b['push'](_0x511c4b['shift']());}}}(_0x188d,0x820b8));import{ListItemView as _0x578194,ButtonView as _0x4fcd06,ButtonLabelView as _0x3059d0}from'ckeditor5/src/ui.js';import{unescape as _0x432017}from'es-toolkit/compat';function _0x188d(){const _0x42563c=['867039uQThzJ','set','fire','56436dHRZJg','115IRBQFz','110601BwQnhJ','3485664NNUxpF','prompt','3260943BHgfvL','975108mYKlzl','45186pbfPEh','4XXFfIx','locale','execute','6864KDHLwq','1kqrSwO','add','730ruKlqN','children'];_0x188d=function(){return _0x42563c;};return _0x188d();}export class AIHistoryListItemView extends _0x578194{constructor(_0x58d432){const _0x42a330=_0x38e4;super();const _0x15e2f2=new _0x3059d0(),_0x3817be=new _0x4fcd06(this[_0x42a330(0x1b6)],_0x15e2f2);this[_0x42a330(0x1bc)][_0x42a330(0x1ba)](_0x3817be),_0x3817be[_0x42a330(0x1be)]({'label':_0x58d432[_0x42a330(0x1b1)],'withText':!0x0}),_0x3817be['on'](_0x42a330(0x1b7),()=>{const _0x418467=_0x42a330;this[_0x418467(0x1bf)](_0x418467(0x1b7),{'value':_0x432017(_0x58d432[_0x418467(0x1b1)])});});}}
23
+ (function(_0x3c023f,_0x4dd3e9){const _0x142822=_0x5490,_0x1a73d2=_0x3c023f();while(!![]){try{const _0xc0b8fd=-parseInt(_0x142822(0x103))/0x1*(-parseInt(_0x142822(0x107))/0x2)+-parseInt(_0x142822(0xfa))/0x3*(-parseInt(_0x142822(0xfc))/0x4)+-parseInt(_0x142822(0x101))/0x5*(parseInt(_0x142822(0x100))/0x6)+parseInt(_0x142822(0xfd))/0x7+parseInt(_0x142822(0xfe))/0x8+-parseInt(_0x142822(0x105))/0x9*(parseInt(_0x142822(0xf9))/0xa)+-parseInt(_0x142822(0x102))/0xb*(parseInt(_0x142822(0x10a))/0xc);if(_0xc0b8fd===_0x4dd3e9)break;else _0x1a73d2['push'](_0x1a73d2['shift']());}catch(_0x3fded9){_0x1a73d2['push'](_0x1a73d2['shift']());}}}(_0x2ae4,0xc3448));import{ListItemView as _0x21f491,ButtonView as _0x3cc716,ButtonLabelView as _0x32094b}from'ckeditor5/src/ui.js';function _0x2ae4(){const _0x29c872=['children','fire','12BgLBVk','set','20AkLOAa','11073OaTdzy','locale','592bnyAMb','7495915DdthMO','4830496kqpxHt','prompt','1524jkondF','28565eQQQTc','3987236oYFdJc','535TknHhE','execute','2839437TkPwQY','add','3826zEZEDQ'];_0x2ae4=function(){return _0x29c872;};return _0x2ae4();}import{unescape as _0x9a3074}from'es-toolkit/compat';function _0x5490(_0x4b678d,_0x57fc68){const _0x2ae4f2=_0x2ae4();return _0x5490=function(_0x5490f9,_0x1c5822){_0x5490f9=_0x5490f9-0xf8;let _0x3fd218=_0x2ae4f2[_0x5490f9];return _0x3fd218;},_0x5490(_0x4b678d,_0x57fc68);}export class AIHistoryListItemView extends _0x21f491{constructor(_0x2d1098){const _0x39c55f=_0x5490;super();const _0x504c1a=new _0x32094b(),_0x544ec4=new _0x3cc716(this[_0x39c55f(0xfb)],_0x504c1a);this[_0x39c55f(0x108)][_0x39c55f(0x106)](_0x544ec4),_0x544ec4[_0x39c55f(0xf8)]({'label':_0x2d1098[_0x39c55f(0xff)],'withText':!0x0}),_0x544ec4['on'](_0x39c55f(0x104),()=>{const _0xd2b33c=_0x39c55f;this[_0xd2b33c(0x109)](_0xd2b33c(0x104),{'value':_0x9a3074(_0x2d1098[_0xd2b33c(0xff)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2dff22=_0x4492;function _0x4492(_0x7d4705,_0x1e410b){const _0x59d4e8=_0x59d4();return _0x4492=function(_0x449289,_0x93516e){_0x449289=_0x449289-0xf7;let _0x48f72a=_0x59d4e8[_0x449289];return _0x48f72a;},_0x4492(_0x7d4705,_0x1e410b);}(function(_0x244f0a,_0x3ddb2f){const _0x108d5c=_0x4492,_0x1d62c6=_0x244f0a();while(!![]){try{const _0x4936d1=parseInt(_0x108d5c(0xf7))/0x1*(parseInt(_0x108d5c(0x10b))/0x2)+parseInt(_0x108d5c(0x100))/0x3*(-parseInt(_0x108d5c(0x10d))/0x4)+parseInt(_0x108d5c(0x109))/0x5*(parseInt(_0x108d5c(0xfc))/0x6)+-parseInt(_0x108d5c(0x104))/0x7+parseInt(_0x108d5c(0x107))/0x8+-parseInt(_0x108d5c(0x102))/0x9*(-parseInt(_0x108d5c(0x112))/0xa)+-parseInt(_0x108d5c(0x105))/0xb;if(_0x4936d1===_0x3ddb2f)break;else _0x1d62c6['push'](_0x1d62c6['shift']());}catch(_0x36b5f5){_0x1d62c6['push'](_0x1d62c6['shift']());}}}(_0x59d4,0x37496));function _0x59d4(){const _0x480ea2=['historyGroupView','2224QDSmMm','_createClearHistoryButton','execute','fire','filter','439670voLQTV','59JRgdFD','items','clearHistory','Prompt\x20history','label','572196JQllGV','Clear','add','locale','258XrtLwQ','delegate','45qiWNiq','clearHistoryButton','443891PPWlkN','5261982AWQtll','length','206624bqXFjJ','set','20eiEUNA','children','6404dJhHUd'];_0x59d4=function(){return _0x480ea2;};return _0x59d4();}import{ListView as _0x143244,ListItemGroupView as _0x286385,ButtonView as _0x474d5f}from'ckeditor5/src/ui.js';import{getTranslation as _0x20518c}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x143244{[_0x2dff22(0x10c)];[_0x2dff22(0x103)];constructor(_0x12af4f){const _0x17f78d=_0x2dff22;super(_0x12af4f),this[_0x17f78d(0x103)]=this[_0x17f78d(0x10e)](),this[_0x17f78d(0x10c)]=new _0x286385(),this[_0x17f78d(0x10c)][_0x17f78d(0x10a)][_0x17f78d(0xfe)](this[_0x17f78d(0x103)],0x1),this[_0x17f78d(0x10c)][_0x17f78d(0xfb)]=_0x20518c(_0x12af4f,_0x17f78d(0xfa)),this[_0x17f78d(0x10c)][_0x17f78d(0xf8)][_0x17f78d(0x101)](_0x17f78d(0x10f))['to'](this),this[_0x17f78d(0xf8)][_0x17f78d(0xfe)](this[_0x17f78d(0x10c)]);}[_0x2dff22(0x111)](){const _0x2703c2=_0x2dff22;let _0x3ebc20=0x0;for(const _0x47ad35 of this[_0x2703c2(0xf8)])_0x3ebc20+=_0x47ad35[_0x2703c2(0xf8)][_0x2703c2(0x106)];return{'resultsCount':_0x3ebc20,'totalItemsCount':_0x3ebc20};}[_0x2dff22(0x10e)](){const _0x28b913=_0x2dff22,_0x1a8fa9=this[_0x28b913(0xff)],_0x442adc=new _0x474d5f(this[_0x28b913(0xff)]);return _0x442adc[_0x28b913(0x108)]({'label':'('+_0x20518c(_0x1a8fa9,_0x28b913(0xfd))+')','withText':!0x0}),_0x442adc['on'](_0x28b913(0x10f),()=>this[_0x28b913(0x110)](_0x28b913(0xf9))),_0x442adc;}}
23
+ const _0x35b261=_0x2c32;(function(_0x479898,_0xb60066){const _0x3bc8cd=_0x2c32,_0x2d9dba=_0x479898();while(!![]){try{const _0x2b1b33=parseInt(_0x3bc8cd(0xfb))/0x1+-parseInt(_0x3bc8cd(0xf8))/0x2+-parseInt(_0x3bc8cd(0xef))/0x3*(parseInt(_0x3bc8cd(0xed))/0x4)+parseInt(_0x3bc8cd(0xf9))/0x5*(-parseInt(_0x3bc8cd(0xf7))/0x6)+-parseInt(_0x3bc8cd(0xf4))/0x7+parseInt(_0x3bc8cd(0xff))/0x8+parseInt(_0x3bc8cd(0xea))/0x9;if(_0x2b1b33===_0xb60066)break;else _0x2d9dba['push'](_0x2d9dba['shift']());}catch(_0xf6fe5c){_0x2d9dba['push'](_0x2d9dba['shift']());}}}(_0x5f1f,0x9dce3));function _0x5f1f(){const _0x444567=['filter','5634342VPEeak','length','children','1020692JVIsiP','clearHistory','6XECazS','clearHistoryButton','_createClearHistoryButton','execute','delegate','3169313ijTten','label','Clear','1110OORIHO','456686ilgZWr','18520uBOwkE','set','849627VhCKDs','add','Prompt\x20history','historyGroupView','8379152bTMbUu','locale','items','fire'];_0x5f1f=function(){return _0x444567;};return _0x5f1f();}import{ListView as _0x1a94dc,ListItemGroupView as _0x22444b,ButtonView as _0x460775}from'ckeditor5/src/ui.js';function _0x2c32(_0xea0351,_0x40a448){const _0x5f1ffe=_0x5f1f();return _0x2c32=function(_0x2c32dd,_0x26c4f9){_0x2c32dd=_0x2c32dd-0xea;let _0x217a07=_0x5f1ffe[_0x2c32dd];return _0x217a07;},_0x2c32(_0xea0351,_0x40a448);}import{getTranslation as _0x4023b8}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x1a94dc{[_0x35b261(0xfe)];[_0x35b261(0xf0)];constructor(_0x31fb41){const _0x562dd0=_0x35b261;super(_0x31fb41),this[_0x562dd0(0xf0)]=this[_0x562dd0(0xf1)](),this[_0x562dd0(0xfe)]=new _0x22444b(),this[_0x562dd0(0xfe)][_0x562dd0(0xec)][_0x562dd0(0xfc)](this[_0x562dd0(0xf0)],0x1),this[_0x562dd0(0xfe)][_0x562dd0(0xf5)]=_0x4023b8(_0x31fb41,_0x562dd0(0xfd)),this[_0x562dd0(0xfe)][_0x562dd0(0x101)][_0x562dd0(0xf3)](_0x562dd0(0xf2))['to'](this),this[_0x562dd0(0x101)][_0x562dd0(0xfc)](this[_0x562dd0(0xfe)]);}[_0x35b261(0x103)](){const _0x264ff7=_0x35b261;let _0x528db4=0x0;for(const _0x11b648 of this[_0x264ff7(0x101)])_0x528db4+=_0x11b648[_0x264ff7(0x101)][_0x264ff7(0xeb)];return{'resultsCount':_0x528db4,'totalItemsCount':_0x528db4};}[_0x35b261(0xf1)](){const _0x53ec5c=_0x35b261,_0x26b2b3=this[_0x53ec5c(0x100)],_0x352a77=new _0x460775(this[_0x53ec5c(0x100)]);return _0x352a77[_0x53ec5c(0xfa)]({'label':'('+_0x4023b8(_0x26b2b3,_0x53ec5c(0xf6))+')','withText':!0x0}),_0x352a77['on'](_0x53ec5c(0xf2),()=>this[_0x53ec5c(0x102)](_0x53ec5c(0xee))),_0x352a77;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x215cbc=_0x1cab;(function(_0x30f675,_0x1b3033){const _0x1417fe=_0x1cab,_0x193f01=_0x30f675();while(!![]){try{const _0x112fe0=parseInt(_0x1417fe(0x12a))/0x1+-parseInt(_0x1417fe(0x136))/0x2+-parseInt(_0x1417fe(0x11e))/0x3+-parseInt(_0x1417fe(0x120))/0x4*(parseInt(_0x1417fe(0x128))/0x5)+parseInt(_0x1417fe(0x12b))/0x6+-parseInt(_0x1417fe(0x124))/0x7*(parseInt(_0x1417fe(0x119))/0x8)+parseInt(_0x1417fe(0x11d))/0x9;if(_0x112fe0===_0x1b3033)break;else _0x193f01['push'](_0x193f01['shift']());}catch(_0x53dc0a){_0x193f01['push'](_0x193f01['shift']());}}}(_0x5976,0x5725d));function _0x1cab(_0x1d6980,_0x13abd7){const _0x5976cb=_0x5976();return _0x1cab=function(_0x1cab03,_0xa292cb){_0x1cab03=_0x1cab03-0x118;let _0x3c0584=_0x5976cb[_0x1cab03];return _0x3c0584;},_0x1cab(_0x1d6980,_0x13abd7);}import{Command as _0x4a4b79}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x1120e1}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x4a4b79{[_0x215cbc(0x134)];constructor(_0x3b30c8,_0x10796e){const _0x53afa3=_0x215cbc;super(_0x3b30c8),this[_0x53afa3(0x134)]=_0x10796e,this[_0x53afa3(0x135)](_0x53afa3(0x140),[]),this['on'](_0x53afa3(0x133),(_0x16f452,_0x1121d1,_0xd01150)=>{const _0x3b4a25=_0x53afa3;this[_0x3b4a25(0x137)]&&(this[_0x3b4a25(0x140)]=ns(this[_0x3b4a25(0x134)],_0xd01150));}),this[_0x53afa3(0x135)](_0x53afa3(0x130),!0x1),this['on'](_0x53afa3(0x121),(_0x31f137,_0x208dea,_0x2735ba)=>{const _0x22caaf=_0x53afa3;this[_0x22caaf(0x140)]=_0x2735ba?ns(this[_0x22caaf(0x134)],this[_0x22caaf(0x130)]):[];});}[_0x215cbc(0x122)](){const _0x1d4af9=_0x215cbc,_0x47c486=this[_0x1d4af9(0x11f)][_0x1d4af9(0x12c)];this[_0x1d4af9(0x130)]=function(_0x4cdac7){const _0x13948e=_0x1d4af9,_0x326db5=_0x4cdac7[_0x13948e(0x12d)][_0x13948e(0x127)];return _0x326db5[_0x13948e(0x131)]?0x0!==[..._0x326db5[_0x13948e(0x11c)]()][_0x13948e(0x129)]&&![..._0x326db5[_0x13948e(0x11c)]()][0x0][_0x13948e(0x141)]:!!_0x4cdac7[_0x13948e(0x13c)](_0x326db5[_0x13948e(0x12e)]());}(_0x47c486);const _0x4fbab1=_0x47c486[_0x1d4af9(0x12d)][_0x1d4af9(0x127)],_0x1bb999=this[_0x1d4af9(0x11f)][_0x1d4af9(0x11a)][_0x1d4af9(0x13e)](_0x1d4af9(0x132));for(const _0x293f68 of _0x4fbab1[_0x1d4af9(0x13b)]())for(const _0x47c375 of _0x293f68[_0x1d4af9(0x13d)]())if(_0x47c375['is'](_0x1d4af9(0x118))&&_0x1bb999[_0x1d4af9(0x142)](_0x47c375[_0x1d4af9(0x126)]))return void(this[_0x1d4af9(0x137)]=!0x1);this[_0x1d4af9(0x137)]=!0x0;}[_0x215cbc(0x139)](_0x3e17dd='',_0x17ac5b='',_0x444bba=_0x215cbc(0x125)){const _0x5d817e=_0x215cbc;this[_0x5d817e(0x11f)][_0x5d817e(0x12f)][_0x5d817e(0x13e)](_0x1120e1)[_0x5d817e(0x13a)](_0x3e17dd,_0x17ac5b,_0x444bba);}}function _0x5976(){const _0x59d763=['isEmpty','includes','element','224xZUnQs','config','add','getSelectedBlocks','12527919GVtSeM','1106013WYcrqd','editor','2484252vpqHJf','change:isEnabled','refresh','requiresContent','155351LAIZWo','custom','name','selection','5CEwyoS','length','289344RIsgDl','2003526vywtvh','model','document','getFirstRange','plugins','_hasContext','isCollapsed','ai.assistant.disabledElements','change:_hasContext','_commandDefinitions','set','94322AUgrDV','isEnabled','values','execute','showUI','getRanges','hasContent','getItems','get','from','enabledCommandsIds'];_0x5976=function(){return _0x59d763;};return _0x5976();}function ns(_0x4b958f,_0x206d0b){const _0x136715=_0x215cbc,_0x21f925=new Set();for(const _0x84f907 of _0x4b958f[_0x136715(0x138)]())(_0x206d0b||!0x1===_0x84f907[_0x136715(0x123)])&&_0x21f925[_0x136715(0x11b)](_0x84f907['id']);return Array[_0x136715(0x13f)](_0x21f925);}
23
+ const _0x53a678=_0x3e26;(function(_0x1cd432,_0x437fe7){const _0x26880a=_0x3e26,_0x5b08e6=_0x1cd432();while(!![]){try{const _0x4c0720=parseInt(_0x26880a(0x168))/0x1+parseInt(_0x26880a(0x16e))/0x2*(parseInt(_0x26880a(0x182))/0x3)+-parseInt(_0x26880a(0x17f))/0x4*(-parseInt(_0x26880a(0x177))/0x5)+-parseInt(_0x26880a(0x17b))/0x6*(parseInt(_0x26880a(0x17a))/0x7)+-parseInt(_0x26880a(0x18a))/0x8*(-parseInt(_0x26880a(0x16d))/0x9)+-parseInt(_0x26880a(0x18e))/0xa*(parseInt(_0x26880a(0x18c))/0xb)+parseInt(_0x26880a(0x174))/0xc;if(_0x4c0720===_0x437fe7)break;else _0x5b08e6['push'](_0x5b08e6['shift']());}catch(_0x15b2f7){_0x5b08e6['push'](_0x5b08e6['shift']());}}}(_0x919c,0x5599f));import{Command as _0x1c22f6}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x11992a}from'../aiassistantui.js';function _0x919c(){const _0x45d316=['_hasContext','getFirstRange','isCollapsed','showUI','custom','enabledCommandsIds','5448KkVbWq','hasContent','1474PeAlVr','isEmpty','34030PDGMww','_commandDefinitions','get','isEnabled','change:isEnabled','plugins','execute','element','59634aJdrUl','getItems','values','config','ai.assistant.disabledElements','4419juvBNc','6ZFsidB','getRanges','add','from','set','change:_hasContext','5477640sfzfaJ','length','refresh','83985UwYrVX','selection','document','254450BfSdEw','42CbWEuP','requiresContent','includes','model','24vDBnmp','getSelectedBlocks','name','109818eAkXQz','editor'];_0x919c=function(){return _0x45d316;};return _0x919c();}function _0x3e26(_0xa598d3,_0xff37){const _0x919c60=_0x919c();return _0x3e26=function(_0x3e2649,_0xe41df8){_0x3e2649=_0x3e2649-0x165;let _0x5b1980=_0x919c60[_0x3e2649];return _0x5b1980;},_0x3e26(_0xa598d3,_0xff37);}export class ShowAIAssistantCommand extends _0x1c22f6{[_0x53a678(0x18f)];constructor(_0x1e6722,_0x232de0){const _0x71e62=_0x53a678;super(_0x1e6722),this[_0x71e62(0x18f)]=_0x232de0,this[_0x71e62(0x172)](_0x71e62(0x189),[]),this['on'](_0x71e62(0x173),(_0x111d47,_0x5accb3,_0x1c2b87)=>{const _0x15a471=_0x71e62;this[_0x15a471(0x191)]&&(this[_0x15a471(0x189)]=ns(this[_0x15a471(0x18f)],_0x1c2b87));}),this[_0x71e62(0x172)](_0x71e62(0x184),!0x1),this['on'](_0x71e62(0x192),(_0x25e050,_0x5bd8e2,_0x3eb1b2)=>{const _0x24b7e3=_0x71e62;this[_0x24b7e3(0x189)]=_0x3eb1b2?ns(this[_0x24b7e3(0x18f)],this[_0x24b7e3(0x184)]):[];});}[_0x53a678(0x176)](){const _0x5c0c37=_0x53a678,_0x35a12a=this[_0x5c0c37(0x183)][_0x5c0c37(0x17e)];this[_0x5c0c37(0x184)]=function(_0xc3e617){const _0x40d911=_0x5c0c37,_0x135d75=_0xc3e617[_0x40d911(0x179)][_0x40d911(0x178)];return _0x135d75[_0x40d911(0x186)]?0x0!==[..._0x135d75[_0x40d911(0x180)]()][_0x40d911(0x175)]&&![..._0x135d75[_0x40d911(0x180)]()][0x0][_0x40d911(0x18d)]:!!_0xc3e617[_0x40d911(0x18b)](_0x135d75[_0x40d911(0x185)]());}(_0x35a12a);const _0x1efc83=_0x35a12a[_0x5c0c37(0x179)][_0x5c0c37(0x178)],_0x595448=this[_0x5c0c37(0x183)][_0x5c0c37(0x16b)][_0x5c0c37(0x190)](_0x5c0c37(0x16c));for(const _0x274f02 of _0x1efc83[_0x5c0c37(0x16f)]())for(const _0x3f7ea5 of _0x274f02[_0x5c0c37(0x169)]())if(_0x3f7ea5['is'](_0x5c0c37(0x167))&&_0x595448[_0x5c0c37(0x17d)](_0x3f7ea5[_0x5c0c37(0x181)]))return void(this[_0x5c0c37(0x191)]=!0x1);this[_0x5c0c37(0x191)]=!0x0;}[_0x53a678(0x166)](_0x23678b='',_0x1e0d4f='',_0x1d4632=_0x53a678(0x188)){const _0x285b4a=_0x53a678;this[_0x285b4a(0x183)][_0x285b4a(0x165)][_0x285b4a(0x190)](_0x11992a)[_0x285b4a(0x187)](_0x23678b,_0x1e0d4f,_0x1d4632);}}function ns(_0x528de3,_0x5c4f40){const _0x21bd43=_0x53a678,_0xca31c6=new Set();for(const _0x418962 of _0x528de3[_0x21bd43(0x16a)]())(_0x5c4f40||!0x1===_0x418962[_0x21bd43(0x17c)])&&_0xca31c6[_0x21bd43(0x170)](_0x418962['id']);return Array[_0x21bd43(0x171)](_0xca31c6);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ff454=_0x1622;(function(_0x34ac14,_0x533d4e){const _0x23c6cc=_0x1622,_0x5da666=_0x34ac14();while(!![]){try{const _0x3a80b5=-parseInt(_0x23c6cc(0x1f0))/0x1+-parseInt(_0x23c6cc(0x21b))/0x2+parseInt(_0x23c6cc(0x221))/0x3*(-parseInt(_0x23c6cc(0x1d9))/0x4)+-parseInt(_0x23c6cc(0x220))/0x5+-parseInt(_0x23c6cc(0x1d1))/0x6*(parseInt(_0x23c6cc(0x1eb))/0x7)+-parseInt(_0x23c6cc(0x1d0))/0x8+parseInt(_0x23c6cc(0x201))/0x9;if(_0x3a80b5===_0x533d4e)break;else _0x5da666['push'](_0x5da666['shift']());}catch(_0x471516){_0x5da666['push'](_0x5da666['shift']());}}}(_0x43d6,0xdefa1));import{ContextPlugin as _0x4ed76c}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x1b0ffa,AIEditing as _0xfeda8}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x3ee9e0}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x1df378,Rect as _0x337f5f,scrollViewportToShowTarget as _0x5b0928}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x4ca8ba}from'../aicore/utils/geteditorfromcontext.js';function _0x1622(_0x4cb23a,_0x53e2d0){const _0x43d6f4=_0x43d6();return _0x1622=function(_0x162250,_0x315324){_0x162250=_0x162250-0x1d0;let _0x438a58=_0x43d6f4[_0x162250];return _0x438a58;},_0x1622(_0x4cb23a,_0x53e2d0);}import{getTranslation as _0x1a1e06}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x335eee}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x335eee,_0x1ff454(0x210),_0x1ff454(0x204)];function _0x43d6(){const _0x2be347=['differ','showBlockingError','bind','42370LaIGEi','document','context','filter','pluginName','8708610crqdJp','321WwmxjD','_hideFakeVisualSelection','_calculateDialogPosition','ai-balloon-selection','plugins','headerView','showFakeVisualSelection','_getSelectionElements','_setupFakeVisualSelectionMarkerRemovalListener','delegate','content','5725960ypnzeX','1664274ZPzuKm','fire','_showDialog','ai-balloon-','label','window','stopListening','rootName','31532rkxHvN','$graveyard','max','view','ranges','hide','editing','high','_showFakeVisualSelection','index','map','Dialog','startsWith','getMarkersGroup','start','root','beforeDialogClosed','mainView','7weCEXj','hideError','ai-selection','ck-ai-balloon\x20','_currentConfig','443109ZATOau','height','isEqual','locale','get','change','isOpen','_cleanupFakeVisualSelectionMarkerRemovalListener','close','isOfficialPlugin','getVisible','markers','width','AIBalloon','getChangedMarkers','listenTo','round','44603406lhXPjQ','model','isPremiumPlugin','selectionRemoved','open','hideFakeVisualSelection','iconView','length','bottom','updatePosition','_isUpdatingMarkers','left','top','getIntersection','end','dialogClosed','getBoundingRect','once','requires','_updateDialog','show','AI_BALLOON_SELECTION_REMOVED_ERROR','_calculateOptimalTopPosition'];_0x43d6=function(){return _0x2be347;};return _0x43d6();}const at=0xa;export class AIBalloon extends _0x4ed76c{static get[_0x1ff454(0x213)](){return[_0xfeda8];}static get[_0x1ff454(0x21f)](){const _0x585a8a=_0x1ff454;return _0x585a8a(0x1fd);}static get[_0x1ff454(0x1f9)](){return!0x0;}static get[_0x1ff454(0x203)](){return!0x0;}[_0x1ff454(0x1f6)]=!0x1;[_0x1ff454(0x1ef)];[_0x1ff454(0x20b)]=!0x1;[_0x1ff454(0x205)](_0x4464b0){const _0x1f7ee7=_0x1ff454,{id:_0x3be6da}=this[_0x1f7ee7(0x1ef)]??{};this[_0x1f7ee7(0x1ef)]=_0x4464b0;const {id:_0x46bc78}=this[_0x1f7ee7(0x1ef)];this[_0x1f7ee7(0x1f6)]&&_0x3be6da===_0x46bc78?this[_0x1f7ee7(0x214)]():this[_0x1f7ee7(0x1d3)]();}[_0x1ff454(0x1f8)](){const _0x5b69c1=_0x1ff454,_0xee2a0b=_0x4ca8ba(this[_0x5b69c1(0x21d)])[_0x5b69c1(0x225)][_0x5b69c1(0x1f4)](_0x5b69c1(0x1e4));_0xee2a0b[_0x5b69c1(0x1f6)]&&this[_0x5b69c1(0x1ef)]&&_0xee2a0b['id']===this[_0x5b69c1(0x1ef)]['id']&&_0xee2a0b[_0x5b69c1(0x1de)]();}[_0x1ff454(0x214)](){const _0x4169f3=_0x1ff454,_0x15c153=_0x4ca8ba(this[_0x4169f3(0x21d)])[_0x4169f3(0x225)][_0x4169f3(0x1f4)](_0x4169f3(0x1e4)),{icon:_0x241b08,title:_0x4e149c}=this[_0x4169f3(0x1ef)];_0x15c153[_0x4169f3(0x1dc)]?.[_0x4169f3(0x226)]&&(_0x15c153[_0x4169f3(0x1dc)][_0x4169f3(0x226)][_0x4169f3(0x1d5)]=_0x4e149c,_0x15c153[_0x4169f3(0x1dc)][_0x4169f3(0x226)][_0x4169f3(0x207)]&&_0x241b08&&(_0x15c153[_0x4169f3(0x1dc)][_0x4169f3(0x226)][_0x4169f3(0x207)][_0x4169f3(0x22b)]=_0x241b08)),this[_0x4169f3(0x20b)]=!0x0,this[_0x4169f3(0x1e1)](),this[_0x4169f3(0x20b)]=!0x1,_0x15c153[_0x4169f3(0x1dc)]?.[_0x4169f3(0x20a)]();}[_0x1ff454(0x1e1)](){const _0x1de417=_0x1ff454;this[_0x1de417(0x21d)][_0x1de417(0x225)][_0x1de417(0x1f4)](_0xfeda8)[_0x1de417(0x227)](this[_0x1de417(0x1ef)][_0x1de417(0x1dd)],_0x1de417(0x1d4)+this[_0x1de417(0x1ef)][_0x1de417(0x1e2)],!0x0,!0x0);}[_0x1ff454(0x222)](_0x31659a){const _0x52600f=_0x1ff454;this[_0x52600f(0x21d)][_0x52600f(0x225)][_0x52600f(0x1f4)](_0xfeda8)[_0x52600f(0x206)](_0x52600f(0x1d4)+_0x31659a);}[_0x1ff454(0x1d3)](){const _0x5e589a=_0x1ff454,_0xeaac67=_0x4ca8ba(this[_0x5e589a(0x21d)])[_0x5e589a(0x225)][_0x5e589a(0x1f4)](_0x5e589a(0x1e4)),{id:_0x53b5a1,title:_0x30a0cd,icon:_0x262474,class:_0xf646ac,mainView:_0x576472}=this[_0x5e589a(0x1ef)];_0x576472[_0x5e589a(0x22a)](..._0x335eee)['to'](this),_0xeaac67[_0x5e589a(0x215)]({'title':_0x30a0cd,'icon':_0x262474,'hasCloseButton':!0x0,'id':_0x53b5a1,'position':this[_0x5e589a(0x223)][_0x5e589a(0x21a)](this),'className':_0x5e589a(0x1ee)+(_0xf646ac||''),'content':_0x576472,'onShow':_0x13f0fd=>{const _0x43ec11=_0x5e589a;this[_0x43ec11(0x1e1)](),this[_0x43ec11(0x229)]();const _0x1b89d5=this[_0x43ec11(0x228)]();_0x1b89d5&&_0x1b89d5[0x0]&&_0x5b0928({'target':_0x1b89d5[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x43ec11(0x1f6)]=!0x0,_0x13f0fd[_0x43ec11(0x212)](_0x43ec11(0x1de),()=>{const _0x2130d1=_0x43ec11;this[_0x2130d1(0x1d2)](_0x2130d1(0x1e9),{'id':_0x53b5a1});},{'priority':_0x43ec11(0x1e0)});},'onHide':()=>{const _0xc7c8d7=_0x5e589a;this[_0xc7c8d7(0x222)](this[_0xc7c8d7(0x1ef)][_0xc7c8d7(0x1e2)]),this[_0xc7c8d7(0x1f7)](),this[_0xc7c8d7(0x1d2)](_0xc7c8d7(0x210),{'id':_0x53b5a1}),this[_0xc7c8d7(0x1f6)]=!0x1;}});}[_0x1ff454(0x223)](_0x4667d9,_0x23a73a){const _0x24631b=_0x1ff454;if(!_0x23a73a)return null;const _0x43b8d7=this[_0x24631b(0x228)]();if(!_0x43b8d7||0x0===_0x43b8d7[_0x24631b(0x208)])return{'left':Math[_0x24631b(0x200)](_0x23a73a[_0x24631b(0x20c)]+_0x23a73a[_0x24631b(0x1fc)]/0x2-_0x4667d9[_0x24631b(0x1fc)]/0x2),'top':Math[_0x24631b(0x200)](_0x23a73a[_0x24631b(0x20d)]+_0x23a73a[_0x24631b(0x1f1)]/0x2-_0x4667d9[_0x24631b(0x1f1)]/0x2)};const _0x33f863=Math[_0x24631b(0x200)](_0x23a73a[_0x24631b(0x20c)]+_0x23a73a[_0x24631b(0x1fc)]/0x2-_0x4667d9[_0x24631b(0x1fc)]/0x2),_0x172376=_0x43b8d7[_0x24631b(0x1e3)](_0x22e1bd=>new _0x337f5f(_0x22e1bd)),_0x314526=_0x4667d9[_0x24631b(0x1f1)];return{'left':_0x33f863,'top':this[_0x24631b(0x217)](_0x172376,_0x314526,_0x23a73a)};}[_0x1ff454(0x217)](_0x59d0c3,_0x25990e,_0x6c3219){const _0xb5d4cf=_0x1ff454,_0x10fec2=new _0x337f5f(_0x1df378[_0xb5d4cf(0x1d6)]),_0x4ed77b=_0x59d0c3[_0xb5d4cf(0x1e3)](_0x4cbefd=>_0x4cbefd[_0xb5d4cf(0x1fa)]())[_0xb5d4cf(0x21e)](_0xa5eecc=>_0xa5eecc),_0x55b6d9=_0x337f5f[_0xb5d4cf(0x211)](_0x4ed77b);if(!_0x55b6d9)return Math[_0xb5d4cf(0x200)](_0x6c3219[_0xb5d4cf(0x20d)]+_0x6c3219[_0xb5d4cf(0x1f1)]/0x2);const _0x568716=_0x10fec2[_0xb5d4cf(0x20e)](_0x55b6d9);if(!_0x568716)return Math[_0xb5d4cf(0x200)](_0x6c3219[_0xb5d4cf(0x20d)]+_0x6c3219[_0xb5d4cf(0x1f1)]/0x2);const _0x14c494=_0x6c3219[_0xb5d4cf(0x1fa)](),_0x24b65c=_0x14c494&&_0x55b6d9[_0xb5d4cf(0x1f1)]>_0x14c494[_0xb5d4cf(0x1f1)],_0x5d130b=_0x568716[_0xb5d4cf(0x20d)],_0x3385da=_0x568716[_0xb5d4cf(0x209)];if(_0x24b65c){const _0x5b26e1=(_0x14c494||_0x10fec2)[_0xb5d4cf(0x1f1)]/0x2-_0x25990e/0x2,_0x38b013=_0x5d130b-at-_0x6c3219[_0xb5d4cf(0x20d)],_0x131e4f=_0x6c3219[_0xb5d4cf(0x209)]-_0x3385da-at;return _0x38b013>=_0x25990e?Math[_0xb5d4cf(0x1db)](at,_0x5d130b-_0x25990e-at):_0x131e4f>=_0x25990e?_0x3385da+at:Math[_0xb5d4cf(0x1db)](at,_0x5b26e1);}const _0x31bf9c=_0x5d130b-_0x25990e,_0x5e3a69=_0x6c3219[_0xb5d4cf(0x209)]-_0x3385da-at,_0xc7a9a9=_0x5d130b-at-_0x6c3219[_0xb5d4cf(0x20d)];let _0x1ee76d;if(_0x5e3a69>=_0x25990e)_0x1ee76d=_0x3385da+at;else{if(_0xc7a9a9>=_0x25990e)_0x1ee76d=_0x31bf9c-at;else _0x1ee76d=_0x5d130b+_0x55b6d9[_0xb5d4cf(0x1f1)]/0x2-_0x25990e/0x2;}return _0x1ee76d;}[_0x1ff454(0x229)](){const _0x119ff2=_0x1ff454,_0x3b9941=_0x4ca8ba(this[_0x119ff2(0x21d)]);this[_0x119ff2(0x1ff)](_0x3b9941[_0x119ff2(0x202)][_0x119ff2(0x21c)],_0x119ff2(0x1f5),()=>{const _0x6189bb=_0x119ff2;if(!this[_0x6189bb(0x20b)]){for(const {name:_0x2dacf5,data:{newRange:_0x29306b}}of _0x3b9941[_0x6189bb(0x202)][_0x6189bb(0x21c)][_0x6189bb(0x218)][_0x6189bb(0x1fe)]())if(_0x2dacf5[_0x6189bb(0x1e5)](_0x1b0ffa+':')&&(_0x29306b&&(_0x29306b[_0x6189bb(0x1e7)][_0x6189bb(0x1f2)](_0x29306b[_0x6189bb(0x20f)])||_0x6189bb(0x1da)==_0x29306b[_0x6189bb(0x1e8)][_0x6189bb(0x1d8)])||null==_0x29306b)){const _0xca1b07=_0x1a1e06(this[_0x6189bb(0x21d)][_0x6189bb(0x1f3)],_0x6189bb(0x216));this[_0x6189bb(0x1ef)][_0x6189bb(0x1ea)][_0x6189bb(0x219)](_0xca1b07),this[_0x6189bb(0x1d2)](_0x6189bb(0x204));}}});}[_0x1ff454(0x1f7)](){const _0x19d5af=_0x1ff454,_0x5913eb=_0x4ca8ba(this[_0x19d5af(0x21d)]);this[_0x19d5af(0x1ef)][_0x19d5af(0x1ea)][_0x19d5af(0x1ec)](),this[_0x19d5af(0x1d7)](_0x5913eb[_0x19d5af(0x202)][_0x19d5af(0x21c)]);}[_0x1ff454(0x228)](){const _0x279719=_0x1ff454,_0x2f8431=_0x4ca8ba(this[_0x279719(0x21d)]);return _0x3ee9e0(_0x2f8431[_0x279719(0x1df)],[..._0x2f8431[_0x279719(0x202)][_0x279719(0x1fb)][_0x279719(0x1e6)](_0x279719(0x1ed)),..._0x2f8431[_0x279719(0x202)][_0x279719(0x1fb)][_0x279719(0x1e6)](_0x279719(0x224))]);}}
23
+ const _0x53f2b4=_0x3913;(function(_0x1851e5,_0x3a203f){const _0xc5e356=_0x3913,_0x3b8b6d=_0x1851e5();while(!![]){try{const _0x5a1d28=-parseInt(_0xc5e356(0x178))/0x1*(parseInt(_0xc5e356(0x1bf))/0x2)+-parseInt(_0xc5e356(0x18a))/0x3*(parseInt(_0xc5e356(0x186))/0x4)+parseInt(_0xc5e356(0x16e))/0x5*(-parseInt(_0xc5e356(0x190))/0x6)+parseInt(_0xc5e356(0x16b))/0x7+parseInt(_0xc5e356(0x1be))/0x8*(parseInt(_0xc5e356(0x18d))/0x9)+parseInt(_0xc5e356(0x1ac))/0xa*(parseInt(_0xc5e356(0x183))/0xb)+parseInt(_0xc5e356(0x1b8))/0xc;if(_0x5a1d28===_0x3a203f)break;else _0x3b8b6d['push'](_0x3b8b6d['shift']());}catch(_0x9e0f73){_0x3b8b6d['push'](_0x3b8b6d['shift']());}}}(_0xd239,0x7749f));import{ContextPlugin as _0x54f1c5}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x5ecb41,AIEditing as _0x498bb1}from'../aicore/aiediting.js';function _0x3913(_0x4e8d41,_0x581bda){const _0xd239d9=_0xd239();return _0x3913=function(_0x39134a,_0x3d6f48){_0x39134a=_0x39134a-0x165;let _0x3ddfe9=_0xd239d9[_0x39134a];return _0x3ddfe9;},_0x3913(_0x4e8d41,_0x581bda);}import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x2d3a75}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x168565,Rect as _0x5bc7ae,scrollViewportToShowTarget as _0xcf058a}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x40087a}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3553f3}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0xe14b20}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0xe14b20,_0x53f2b4(0x185),_0x53f2b4(0x174)];const $=0xa;function _0xd239(){const _0x40b15e=['_hideFakeVisualSelection','left','isOfficialPlugin','get','_calculateDialogPosition','_showDialog','getIntersection','hideFakeVisualSelection','end','3377738fzIwnl','ai-selection','locale','20PHDbbk','listenTo','fire','getChangedMarkers','AI_BALLOON_SELECTION_REMOVED_ERROR','editing','selectionRemoved','iconView','mainView','differ','224698wBvhlU','pluginName','start','ai-balloon-','delegate','index','document','$graveyard','height','startsWith','updatePosition','11ShiGJb','_getSelectionElements','dialogClosed','1164fwXujn','_showFakeVisualSelection','label','_isUpdatingMarkers','1515rCJSbt','length','getVisible','2034CtvXyi','filter','hide','381408AvQFIG','rootName','getBoundingRect','headerView','ranges','_updateDialog','_cleanupFakeVisualSelectionMarkerRemovalListener','close','Dialog','stopListening','context','view','ck-ai-balloon\x20','showBlockingError','AIBalloon','showFakeVisualSelection','_calculateOptimalTopPosition','_setupFakeVisualSelectionMarkerRemovalListener','plugins','requires','open','beforeDialogClosed','_currentConfig','window','width','max','high','bottom','6089560ZvyRGU','hideError','isPremiumPlugin','once','isEqual','bind','top','show','map','round','change','isOpen','1148352MpciiD','markers','getMarkersGroup','model','root','ai-balloon-selection','13336rUvIIB','6bBXBLg','content'];_0xd239=function(){return _0x40b15e;};return _0xd239();}export class AIBalloon extends _0x54f1c5{static get[_0x53f2b4(0x1a3)](){return[_0x498bb1];}static get[_0x53f2b4(0x179)](){const _0x3f67fc=_0x53f2b4;return _0x3f67fc(0x19e);}static get[_0x53f2b4(0x1c3)](){return!0x0;}static get[_0x53f2b4(0x1ae)](){return!0x0;}[_0x53f2b4(0x1b7)]=!0x1;[_0x53f2b4(0x1a6)];[_0x53f2b4(0x189)]=!0x1;[_0x53f2b4(0x1a4)](_0x30e503){const _0x3a1ef1=_0x53f2b4,{id:_0x127ba5}=this[_0x3a1ef1(0x1a6)]??{};this[_0x3a1ef1(0x1a6)]=_0x30e503;const {id:_0x310d2a}=this[_0x3a1ef1(0x1a6)];this[_0x3a1ef1(0x1b7)]&&_0x127ba5===_0x310d2a?this[_0x3a1ef1(0x195)]():this[_0x3a1ef1(0x167)]();}[_0x53f2b4(0x197)](){const _0x5b4f53=_0x53f2b4,_0x1094fc=_0x40087a(this[_0x5b4f53(0x19a)])[_0x5b4f53(0x1a2)][_0x5b4f53(0x165)](_0x5b4f53(0x198));_0x1094fc[_0x5b4f53(0x1b7)]&&this[_0x5b4f53(0x1a6)]&&_0x1094fc['id']===this[_0x5b4f53(0x1a6)]['id']&&_0x1094fc[_0x5b4f53(0x18f)]();}[_0x53f2b4(0x195)](){const _0x108df6=_0x53f2b4,_0x49a9b9=_0x40087a(this[_0x108df6(0x19a)])[_0x108df6(0x1a2)][_0x108df6(0x165)](_0x108df6(0x198)),{icon:_0x4721d9,title:_0x14cbd2}=this[_0x108df6(0x1a6)];_0x49a9b9[_0x108df6(0x19b)]?.[_0x108df6(0x193)]&&(_0x49a9b9[_0x108df6(0x19b)][_0x108df6(0x193)][_0x108df6(0x188)]=_0x14cbd2,_0x49a9b9[_0x108df6(0x19b)][_0x108df6(0x193)][_0x108df6(0x175)]&&_0x4721d9&&(_0x49a9b9[_0x108df6(0x19b)][_0x108df6(0x193)][_0x108df6(0x175)][_0x108df6(0x1c0)]=_0x4721d9)),this[_0x108df6(0x189)]=!0x0,this[_0x108df6(0x187)](),this[_0x108df6(0x189)]=!0x1,_0x49a9b9[_0x108df6(0x19b)]?.[_0x108df6(0x182)]();}[_0x53f2b4(0x187)](){const _0x5a7438=_0x53f2b4;this[_0x5a7438(0x19a)][_0x5a7438(0x1a2)][_0x5a7438(0x165)](_0x498bb1)[_0x5a7438(0x19f)](this[_0x5a7438(0x1a6)][_0x5a7438(0x194)],_0x5a7438(0x17b)+this[_0x5a7438(0x1a6)][_0x5a7438(0x17d)],!0x0,!0x0);}[_0x53f2b4(0x1c1)](_0x10ca2a){const _0x2ea3d4=_0x53f2b4;this[_0x2ea3d4(0x19a)][_0x2ea3d4(0x1a2)][_0x2ea3d4(0x165)](_0x498bb1)[_0x2ea3d4(0x169)](_0x2ea3d4(0x17b)+_0x10ca2a);}[_0x53f2b4(0x167)](){const _0x5b2e45=_0x53f2b4,_0x2a173d=_0x40087a(this[_0x5b2e45(0x19a)])[_0x5b2e45(0x1a2)][_0x5b2e45(0x165)](_0x5b2e45(0x198)),{id:_0x556b62,title:_0x4f1a50,icon:_0x17d349,class:_0x1ca33a,mainView:_0x45b0a4}=this[_0x5b2e45(0x1a6)];_0x45b0a4[_0x5b2e45(0x17c)](..._0xe14b20)['to'](this),_0x2a173d[_0x5b2e45(0x1b3)]({'title':_0x4f1a50,'icon':_0x17d349,'hasCloseButton':!0x0,'id':_0x556b62,'position':this[_0x5b2e45(0x166)][_0x5b2e45(0x1b1)](this),'className':_0x5b2e45(0x19c)+(_0x1ca33a||''),'content':_0x45b0a4,'onShow':_0x438e5a=>{const _0x17b379=_0x5b2e45;this[_0x17b379(0x187)](),this[_0x17b379(0x1a1)]();const _0x5defa4=this[_0x17b379(0x184)]();_0x5defa4&&_0x5defa4[0x0]&&_0xcf058a({'target':_0x5defa4[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x17b379(0x1b7)]=!0x0,_0x438e5a[_0x17b379(0x1af)](_0x17b379(0x18f),()=>{const _0x3aad21=_0x17b379;this[_0x3aad21(0x170)](_0x3aad21(0x1a5),{'id':_0x556b62});},{'priority':_0x17b379(0x1aa)});},'onHide':()=>{const _0x4baf49=_0x5b2e45;this[_0x4baf49(0x1c1)](this[_0x4baf49(0x1a6)][_0x4baf49(0x17d)]),this[_0x4baf49(0x196)](),this[_0x4baf49(0x170)](_0x4baf49(0x185),{'id':_0x556b62}),this[_0x4baf49(0x1b7)]=!0x1;}});}[_0x53f2b4(0x166)](_0x2ae1f3,_0x1aa168){const _0x2e042b=_0x53f2b4;if(!_0x1aa168)return null;const _0x2a4cfd=this[_0x2e042b(0x184)]();if(!_0x2a4cfd||0x0===_0x2a4cfd[_0x2e042b(0x18b)])return{'left':Math[_0x2e042b(0x1b5)](_0x1aa168[_0x2e042b(0x1c2)]+_0x1aa168[_0x2e042b(0x1a8)]/0x2-_0x2ae1f3[_0x2e042b(0x1a8)]/0x2),'top':Math[_0x2e042b(0x1b5)](_0x1aa168[_0x2e042b(0x1b2)]+_0x1aa168[_0x2e042b(0x180)]/0x2-_0x2ae1f3[_0x2e042b(0x180)]/0x2)};const _0x1ff71e=Math[_0x2e042b(0x1b5)](_0x1aa168[_0x2e042b(0x1c2)]+_0x1aa168[_0x2e042b(0x1a8)]/0x2-_0x2ae1f3[_0x2e042b(0x1a8)]/0x2),_0x297159=_0x2a4cfd[_0x2e042b(0x1b4)](_0x1cda1b=>new _0x5bc7ae(_0x1cda1b)),_0x3ec3e3=_0x2ae1f3[_0x2e042b(0x180)];return{'left':_0x1ff71e,'top':this[_0x2e042b(0x1a0)](_0x297159,_0x3ec3e3,_0x1aa168)};}[_0x53f2b4(0x1a0)](_0xd2c80d,_0x2865a7,_0x271096){const _0x1579dc=_0x53f2b4,_0x12fa33=new _0x5bc7ae(_0x168565[_0x1579dc(0x1a7)]),_0x259100=_0xd2c80d[_0x1579dc(0x1b4)](_0x30b0de=>_0x30b0de[_0x1579dc(0x18c)]())[_0x1579dc(0x18e)](_0x117207=>_0x117207),_0x2f140b=_0x5bc7ae[_0x1579dc(0x192)](_0x259100);if(!_0x2f140b)return Math[_0x1579dc(0x1b5)](_0x271096[_0x1579dc(0x1b2)]+_0x271096[_0x1579dc(0x180)]/0x2);const _0x3e4b14=_0x12fa33[_0x1579dc(0x168)](_0x2f140b);if(!_0x3e4b14)return Math[_0x1579dc(0x1b5)](_0x271096[_0x1579dc(0x1b2)]+_0x271096[_0x1579dc(0x180)]/0x2);const _0xa333e7=_0x271096[_0x1579dc(0x18c)](),_0x36e44e=_0xa333e7&&_0x2f140b[_0x1579dc(0x180)]>_0xa333e7[_0x1579dc(0x180)],_0x50a81d=_0x3e4b14[_0x1579dc(0x1b2)],_0x3e550c=_0x3e4b14[_0x1579dc(0x1ab)];if(_0x36e44e){const _0x420531=(_0xa333e7||_0x12fa33)[_0x1579dc(0x180)]/0x2-_0x2865a7/0x2,_0x4c74ae=_0x50a81d-$-_0x271096[_0x1579dc(0x1b2)],_0x5b24ee=_0x271096[_0x1579dc(0x1ab)]-_0x3e550c-$;return _0x4c74ae>=_0x2865a7?Math[_0x1579dc(0x1a9)]($,_0x50a81d-_0x2865a7-$):_0x5b24ee>=_0x2865a7?_0x3e550c+$:Math[_0x1579dc(0x1a9)]($,_0x420531);}const _0x664056=_0x50a81d-_0x2865a7,_0x231d3b=_0x271096[_0x1579dc(0x1ab)]-_0x3e550c-$,_0x341fee=_0x50a81d-$-_0x271096[_0x1579dc(0x1b2)];let _0xb16e8f;if(_0x231d3b>=_0x2865a7)_0xb16e8f=_0x3e550c+$;else{if(_0x341fee>=_0x2865a7)_0xb16e8f=_0x664056-$;else _0xb16e8f=_0x50a81d+_0x2f140b[_0x1579dc(0x180)]/0x2-_0x2865a7/0x2;}return _0xb16e8f;}[_0x53f2b4(0x1a1)](){const _0x54d6be=_0x53f2b4,_0x409366=_0x40087a(this[_0x54d6be(0x19a)]);this[_0x54d6be(0x16f)](_0x409366[_0x54d6be(0x1bb)][_0x54d6be(0x17e)],_0x54d6be(0x1b6),()=>{const _0x183cd3=_0x54d6be;if(!this[_0x183cd3(0x189)]){for(const {name:_0x3e7544,data:{newRange:_0x256620}}of _0x409366[_0x183cd3(0x1bb)][_0x183cd3(0x17e)][_0x183cd3(0x177)][_0x183cd3(0x171)]())if(_0x3e7544[_0x183cd3(0x181)](_0x5ecb41+':')&&(_0x256620&&(_0x256620[_0x183cd3(0x17a)][_0x183cd3(0x1b0)](_0x256620[_0x183cd3(0x16a)])||_0x183cd3(0x17f)==_0x256620[_0x183cd3(0x1bc)][_0x183cd3(0x191)])||null==_0x256620)){const _0x3eebf9=_0x3553f3(this[_0x183cd3(0x19a)][_0x183cd3(0x16d)],_0x183cd3(0x172));this[_0x183cd3(0x1a6)][_0x183cd3(0x176)][_0x183cd3(0x19d)](_0x3eebf9),this[_0x183cd3(0x170)](_0x183cd3(0x174));}}});}[_0x53f2b4(0x196)](){const _0x46fea4=_0x53f2b4,_0x437b55=_0x40087a(this[_0x46fea4(0x19a)]);this[_0x46fea4(0x1a6)][_0x46fea4(0x176)][_0x46fea4(0x1ad)](),this[_0x46fea4(0x199)](_0x437b55[_0x46fea4(0x1bb)][_0x46fea4(0x17e)]);}[_0x53f2b4(0x184)](){const _0x3dc90c=_0x53f2b4,_0x4b9f06=_0x40087a(this[_0x3dc90c(0x19a)]);return _0x2d3a75(_0x4b9f06[_0x3dc90c(0x173)],[..._0x4b9f06[_0x3dc90c(0x1bb)][_0x3dc90c(0x1b9)][_0x3dc90c(0x1ba)](_0x3dc90c(0x16c)),..._0x4b9f06[_0x3dc90c(0x1bb)][_0x3dc90c(0x1b9)][_0x3dc90c(0x1ba)](_0x3dc90c(0x1bd))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x151565=_0x3024;(function(_0x333332,_0x48115b){var _0x5313c8=_0x3024,_0x3d1b96=_0x333332();while(!![]){try{var _0x5ec702=parseInt(_0x5313c8(0xec))/0x1+parseInt(_0x5313c8(0xf4))/0x2*(parseInt(_0x5313c8(0xea))/0x3)+parseInt(_0x5313c8(0xdd))/0x4+-parseInt(_0x5313c8(0xe1))/0x5*(parseInt(_0x5313c8(0xde))/0x6)+-parseInt(_0x5313c8(0xf0))/0x7*(parseInt(_0x5313c8(0xe8))/0x8)+-parseInt(_0x5313c8(0xdf))/0x9+parseInt(_0x5313c8(0xe9))/0xa;if(_0x5ec702===_0x48115b)break;else _0x3d1b96['push'](_0x3d1b96['shift']());}catch(_0x3115b6){_0x3d1b96['push'](_0x3d1b96['shift']());}}}(_0x316a,0x80cbc));import{ContextPlugin as _0x3fd3d7}from'ckeditor5/src/core.js';import{AIChatController as _0x2e2bbc}from'./aichatcontroller.js';function _0x3024(_0x16d69d,_0xd343d9){var _0x316a7e=_0x316a();return _0x3024=function(_0x302429,_0x119d58){_0x302429=_0x302429-0xdb;var _0x46b3e4=_0x316a7e[_0x302429];return _0x46b3e4;},_0x3024(_0x16d69d,_0xd343d9);}import{AIEditing as _0x3747ef}from'../aicore/aiediting.js';import{AIChatUI as _0x1c88e2}from'./aichatui.js';import{AIChatHistory as _0x135e13}from'../aichathistory/aichathistory.js';export class AIChat extends _0x3fd3d7{static get[_0x151565(0xeb)](){return[_0x2e2bbc,_0x3747ef,_0x1c88e2,_0x135e13];}static get[_0x151565(0xdb)](){var _0x24f2b8=_0x151565;return _0x24f2b8(0xf6);}static get[_0x151565(0xf8)](){return!0x0;}static get[_0x151565(0xe4)](){return!0x0;}constructor(_0x4724b3){var _0x198e24=_0x151565;super(_0x4724b3),this[_0x198e24(0xf3)][_0x198e24(0xe7)][_0x198e24(0xe3)](_0x198e24(0xf2),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x198e24(0xf3)][_0x198e24(0xe7)][_0x198e24(0xe3)](_0x198e24(0xf7),_0x198e24(0xe0));}async[_0x151565(0xed)](){var _0x690ebc=_0x151565;await this[_0x690ebc(0xf3)][_0x690ebc(0xe6)][_0x690ebc(0xee)](_0x2e2bbc)[_0x690ebc(0xed)]();}async[_0x151565(0xdc)](){var _0x2a4da8=_0x151565;await this[_0x2a4da8(0xf3)][_0x2a4da8(0xe6)][_0x2a4da8(0xee)](_0x2e2bbc)[_0x2a4da8(0xdc)]();}async[_0x151565(0xe5)]({message:_0xafc7ee,attributes:_0x30138e}){var _0x2fd3af=_0x151565;await this[_0x2fd3af(0xf3)][_0x2fd3af(0xe6)][_0x2fd3af(0xee)](_0x2e2bbc)[_0x2fd3af(0xe5)]({'message':_0xafc7ee,'attributes':_0x30138e});}[_0x151565(0xf5)](){var _0x51c4b1=_0x151565;this[_0x51c4b1(0xf3)][_0x51c4b1(0xe6)][_0x51c4b1(0xee)](_0x2e2bbc)[_0x51c4b1(0xf5)]();}[_0x151565(0xe2)](){var _0x29e55f=_0x151565;this[_0x29e55f(0xf3)][_0x29e55f(0xe6)][_0x29e55f(0xee)](_0x2e2bbc)[_0x29e55f(0xe2)]();}[_0x151565(0xf1)](_0x4d84a6){var _0x5f3ca1=_0x151565;this[_0x5f3ca1(0xf3)][_0x5f3ca1(0xe6)][_0x5f3ca1(0xee)](_0x2e2bbc)[_0x5f3ca1(0xef)](_0x4d84a6);}}function _0x316a(){var _0x54bdc6=['_registerToolDataCallback','978425XNmsOY','registerToolDataCallback','ai.chat.context','context','42ZktRGa','removeSelectionFromChatContext','AIChat','ai.chat.initialConversation','isOfficialPlugin','pluginName','startConversation','932656oBmJmM','126YbUTWl','2855628uoQpXp','new','70585AbmRYc','focusPromptInput','define','isPremiumPlugin','sendMessage','plugins','config','40iqBteH','3064460pUniIl','140292kirSKs','requires','318518CuJqfJ','addSelectionToChatContext','get'];_0x316a=function(){return _0x54bdc6;};return _0x316a();}
23
+ function _0x4bb7(){var _0x1e05d5=['_registerToolDataCallback','config','plugins','context','500376cqXMOh','startConversation','focusPromptInput','282kycACG','41871WhdGIc','requires','sendMessage','pluginName','get','6744330eWvBPI','6769nQAJnp','1969iIgAwC','define','ai.chat.initialConversation','addSelectionToChatContext','4LJaAZO','ai.chat.context','AIChat','21770QYJIOZ','isOfficialPlugin','isPremiumPlugin','removeSelectionFromChatContext','8HPxrLP','22706RjbvVj','3486IPmEPq','new','registerToolDataCallback','305115uJlxjj'];_0x4bb7=function(){return _0x1e05d5;};return _0x4bb7();}var _0x154b71=_0xae26;function _0xae26(_0x193e85,_0x42f8b1){var _0x4bb767=_0x4bb7();return _0xae26=function(_0xae26d8,_0xe4da0){_0xae26d8=_0xae26d8-0xdc;var _0x3c5a3e=_0x4bb767[_0xae26d8];return _0x3c5a3e;},_0xae26(_0x193e85,_0x42f8b1);}(function(_0x181990,_0x1a8699){var _0x129ef8=_0xae26,_0x2956f8=_0x181990();while(!![]){try{var _0x10b305=-parseInt(_0x129ef8(0xfb))/0x1+parseInt(_0x129ef8(0xee))/0x2*(parseInt(_0x129ef8(0xfa))/0x3)+parseInt(_0x129ef8(0xe6))/0x4*(parseInt(_0x129ef8(0xf2))/0x5)+-parseInt(_0x129ef8(0xef))/0x6*(parseInt(_0x129ef8(0xe1))/0x7)+-parseInt(_0x129ef8(0xed))/0x8*(-parseInt(_0x129ef8(0xe0))/0x9)+-parseInt(_0x129ef8(0xe9))/0xa*(parseInt(_0x129ef8(0xe2))/0xb)+parseInt(_0x129ef8(0xf7))/0xc;if(_0x10b305===_0x1a8699)break;else _0x2956f8['push'](_0x2956f8['shift']());}catch(_0x3e06d1){_0x2956f8['push'](_0x2956f8['shift']());}}}(_0x4bb7,0xe20c4));import{ContextPlugin as _0x243212}from'ckeditor5/src/core.js';import{AIChatController as _0x342581}from'./aichatcontroller.js';import{AIEditing as _0x1129e4}from'../aicore/aiediting.js';import{AIChatUI as _0x3666a0}from'./aichatui.js';import{AIChatHistory as _0x3080bd}from'../aichathistory/aichathistory.js';export class AIChat extends _0x243212{static get[_0x154b71(0xdc)](){return[_0x342581,_0x1129e4,_0x3666a0,_0x3080bd];}static get[_0x154b71(0xde)](){var _0x257eff=_0x154b71;return _0x257eff(0xe8);}static get[_0x154b71(0xea)](){return!0x0;}static get[_0x154b71(0xeb)](){return!0x0;}constructor(_0xbbcc7a){var _0x1d5d12=_0x154b71;super(_0xbbcc7a),this[_0x1d5d12(0xf6)][_0x1d5d12(0xf4)][_0x1d5d12(0xe3)](_0x1d5d12(0xe7),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x1d5d12(0xf6)][_0x1d5d12(0xf4)][_0x1d5d12(0xe3)](_0x1d5d12(0xe4),_0x1d5d12(0xf0));}async[_0x154b71(0xe5)](){var _0x812eaf=_0x154b71;await this[_0x812eaf(0xf6)][_0x812eaf(0xf5)][_0x812eaf(0xdf)](_0x342581)[_0x812eaf(0xe5)]();}async[_0x154b71(0xf8)](){var _0x482a5d=_0x154b71;await this[_0x482a5d(0xf6)][_0x482a5d(0xf5)][_0x482a5d(0xdf)](_0x342581)[_0x482a5d(0xf8)]();}async[_0x154b71(0xdd)]({message:_0x46b6f1,attributes:_0x1ef1e3}){var _0x2d1072=_0x154b71;await this[_0x2d1072(0xf6)][_0x2d1072(0xf5)][_0x2d1072(0xdf)](_0x342581)[_0x2d1072(0xdd)]({'message':_0x46b6f1,'attributes':_0x1ef1e3});}[_0x154b71(0xec)](){var _0x520264=_0x154b71;this[_0x520264(0xf6)][_0x520264(0xf5)][_0x520264(0xdf)](_0x342581)[_0x520264(0xec)]();}[_0x154b71(0xf9)](){var _0x1f7653=_0x154b71;this[_0x1f7653(0xf6)][_0x1f7653(0xf5)][_0x1f7653(0xdf)](_0x342581)[_0x1f7653(0xf9)]();}[_0x154b71(0xf1)](_0x5b33e3){var _0x3b1d59=_0x154b71;this[_0x3b1d59(0xf6)][_0x3b1d59(0xf5)][_0x3b1d59(0xdf)](_0x342581)[_0x3b1d59(0xf3)](_0x5b33e3);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34efa7=_0x5d26;(function(_0xf4df7f,_0x4019a0){const _0x4589d1=_0x5d26,_0x252b3f=_0xf4df7f();while(!![]){try{const _0x29a20d=parseInt(_0x4589d1(0x170))/0x1+parseInt(_0x4589d1(0x175))/0x2*(-parseInt(_0x4589d1(0x144))/0x3)+parseInt(_0x4589d1(0x16d))/0x4*(-parseInt(_0x4589d1(0x15b))/0x5)+parseInt(_0x4589d1(0x150))/0x6*(parseInt(_0x4589d1(0x16a))/0x7)+parseInt(_0x4589d1(0x173))/0x8+parseInt(_0x4589d1(0x16f))/0x9*(parseInt(_0x4589d1(0x16c))/0xa)+-parseInt(_0x4589d1(0x167))/0xb*(parseInt(_0x4589d1(0x161))/0xc);if(_0x29a20d===_0x4019a0)break;else _0x252b3f['push'](_0x252b3f['shift']());}catch(_0x2e294d){_0x252b3f['push'](_0x252b3f['shift']());}}}(_0x4c06,0xa41e1));function _0x5d26(_0x1d1f94,_0x27a1f3){const _0x4c06c5=_0x4c06();return _0x5d26=function(_0x5d2698,_0x1ca48c){_0x5d2698=_0x5d2698-0x136;let _0x3799f8=_0x4c06c5[_0x5d2698];return _0x3799f8;},_0x5d26(_0x1d1f94,_0x27a1f3);}import{Plugin as _0x17c9fc}from'ckeditor5/src/core.js';import{AIBalloon as _0x16d011}from'../aiballoon/aiballoon.js';import{AI_REPLY_ACTIONS as _0x3d6215}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIChatBalloonView as _0x655cb7}from'./ui/aichatballoonview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x239baf}from'../aicore/utils/eventnames.js';import{Dialog as _0x4288b8}from'ckeditor5/src/ui.js';export class AIChatBalloon extends _0x17c9fc{static get[_0x34efa7(0x176)](){return[_0x4288b8,_0x16d011];}static get[_0x34efa7(0x137)](){const _0x3bc785=_0x34efa7;return _0x3bc785(0x160);}static get[_0x34efa7(0x163)](){return!0x0;}static get[_0x34efa7(0x139)](){return!0x0;}[_0x34efa7(0x149)];constructor(_0xf6c07a){const _0x12c38d=_0x34efa7;super(_0xf6c07a),this[_0x12c38d(0x171)](_0x12c38d(0x145),!0x1);}[_0x34efa7(0x143)](_0x719580){const _0x311348=_0x34efa7,_0x2ab3cb=this[_0x311348(0x13d)];this[_0x311348(0x149)]||(this[_0x311348(0x149)]=this[_0x311348(0x15f)]()),_0x2ab3cb[_0x311348(0x151)][_0x311348(0x152)](_0x311348(0x14e))[_0x311348(0x143)]({..._0x719580,'id':_0x311348(0x157),'class':_0x311348(0x140),'mainView':this[_0x311348(0x149)]}),this[_0x311348(0x15e)](_0x719580[_0x311348(0x147)]),this[_0x311348(0x149)][_0x311348(0x16b)](!_0x719580[_0x311348(0x158)]),this[_0x311348(0x153)]();}[_0x34efa7(0x142)](){const _0x3500b4=_0x34efa7;this[_0x3500b4(0x13d)][_0x3500b4(0x151)][_0x3500b4(0x152)](_0x3500b4(0x14e))[_0x3500b4(0x142)]();}[_0x34efa7(0x14d)](_0x1fda80){const _0x154c4d=_0x34efa7;return this[_0x154c4d(0x149)]||(this[_0x154c4d(0x149)]=this[_0x154c4d(0x15f)]()),this[_0x154c4d(0x149)][_0x154c4d(0x14d)](_0x1fda80);}[_0x34efa7(0x168)](_0x34180e){const _0x449f7e=_0x34efa7;this[_0x449f7e(0x149)]&&this[_0x449f7e(0x149)][_0x449f7e(0x168)](_0x34180e);}[_0x34efa7(0x15f)](){const _0xe1e7a6=_0x34efa7,_0x3e961c=this[_0xe1e7a6(0x13d)],_0x4bbf85=_0x3e961c[_0xe1e7a6(0x151)][_0xe1e7a6(0x152)](_0xe1e7a6(0x14e)),_0x4cfc66=_0x3e961c[_0xe1e7a6(0x16e)][_0xe1e7a6(0x152)](_0xe1e7a6(0x14f));let _0x3aad1e=_0x3e961c[_0xe1e7a6(0x146)][_0xe1e7a6(0x152)](_0xe1e7a6(0x15a))||[..._0x3d6215];_0x3e961c[_0xe1e7a6(0x151)][_0xe1e7a6(0x156)](_0xe1e7a6(0x177))||(_0x3aad1e=_0x3aad1e[_0xe1e7a6(0x13e)](_0xad3450=>_0xe1e7a6(0x141)!=_0xad3450));const _0x51fd7a=new _0x655cb7(_0x3e961c[_0xe1e7a6(0x148)],{'availableActions':_0x3aad1e,'showApplyButton':!0x0,'showSuggestButton':!!_0x4cfc66});return _0x51fd7a[_0xe1e7a6(0x165)](_0xe1e7a6(0x145))['to'](this),_0x51fd7a[_0xe1e7a6(0x14b)](..._0x239baf)['to'](this),_0x51fd7a[_0xe1e7a6(0x14b)](_0xe1e7a6(0x13f),_0xe1e7a6(0x178))['to'](this),_0x4bbf85[_0xe1e7a6(0x14b)](_0xe1e7a6(0x136))['to'](this),_0x51fd7a['on'](_0xe1e7a6(0x169),this[_0xe1e7a6(0x153)][_0xe1e7a6(0x165)](this)),_0x51fd7a['on'](_0xe1e7a6(0x141),this[_0xe1e7a6(0x153)][_0xe1e7a6(0x165)](this)),_0x51fd7a['on'](_0xe1e7a6(0x138),this[_0xe1e7a6(0x153)][_0xe1e7a6(0x165)](this)),_0x4cfc66&&_0x51fd7a[_0xe1e7a6(0x165)](_0xe1e7a6(0x166))['to'](_0x4cfc66,_0xe1e7a6(0x164)),_0x51fd7a[_0xe1e7a6(0x14a)](),_0x51fd7a;}[_0x34efa7(0x15e)](_0x39001a){const _0x3cdcfb=_0x34efa7,_0x15c1c6=this[_0x3cdcfb(0x13d)],_0x28ac8a=_0x15c1c6[_0x3cdcfb(0x151)][_0x3cdcfb(0x152)](_0x3cdcfb(0x155))[_0x3cdcfb(0x162)][_0x3cdcfb(0x172)][_0x3cdcfb(0x13c)];this[_0x3cdcfb(0x149)][_0x3cdcfb(0x174)](_0x39001a),_0x28ac8a[_0x3cdcfb(0x156)](this[_0x3cdcfb(0x149)][_0x3cdcfb(0x13b)])||(_0x28ac8a[_0x3cdcfb(0x15c)]([this[_0x3cdcfb(0x149)][_0x3cdcfb(0x13b)],this[_0x3cdcfb(0x149)][_0x3cdcfb(0x15d)]],0x0),_0x15c1c6[_0x3cdcfb(0x151)][_0x3cdcfb(0x152)](_0x3cdcfb(0x14e))[_0x3cdcfb(0x14c)](_0x3cdcfb(0x159),()=>{const _0x3ef508=_0x3cdcfb;_0x28ac8a[_0x3ef508(0x154)](this[_0x3ef508(0x149)][_0x3ef508(0x13b)]),_0x28ac8a[_0x3ef508(0x154)](this[_0x3ef508(0x149)][_0x3ef508(0x15d)]);}));}[_0x34efa7(0x153)](){const _0x3d3b4f=_0x34efa7;this[_0x3d3b4f(0x149)][_0x3d3b4f(0x13a)]();}}function _0x4c06(){const _0x2ab455=['144444RZnDip','plugins','get','_restoreDefaultViewFocus','remove','Dialog','has','aiChatBalloon','areActionsDisabled','beforeDialogClosed','ai.availableReplyActions','5OYosHM','addMany','nextButtonView','_toggleRotatorButtonsInDialogHeader','_createChatBalloonView','AIChatBalloon','1032BHhDrE','view','isOfficialPlugin','value','bind','isTrackChangesOn','221716GudEAm','setState','applySuggestion','287WSmeav','togglePartToolbarEnabled','5876960nYURzn','3152748OPQaBI','commands','18sBtbyA','897659AoVLiP','set','headerView','9495680MwUdzG','toggleRotatorButtonsVisibility','2tuFFeR','requires','TrackChanges','showNext','dialogClosed','pluginName','rejectSuggestion','isPremiumPlugin','focus','previousButtonView','children','editor','filter','showPrevious','ck-ai-chat-balloon','insertSuggestion','close','open','3159651tpmqtk','showDiff','config','showRotator','locale','_chatBalloonView','render','delegate','once','updateContent','AIBalloon','trackChanges'];_0x4c06=function(){return _0x2ab455;};return _0x4c06();}
23
+ const _0x58e03e=_0x55c7;(function(_0x5af62d,_0xc8d2a1){const _0xae4bf9=_0x55c7,_0x4b1e70=_0x5af62d();while(!![]){try{const _0x507e28=parseInt(_0xae4bf9(0x168))/0x1*(parseInt(_0xae4bf9(0x14c))/0x2)+-parseInt(_0xae4bf9(0x165))/0x3+parseInt(_0xae4bf9(0x16c))/0x4*(parseInt(_0xae4bf9(0x14f))/0x5)+-parseInt(_0xae4bf9(0x13f))/0x6*(parseInt(_0xae4bf9(0x140))/0x7)+parseInt(_0xae4bf9(0x130))/0x8+parseInt(_0xae4bf9(0x15a))/0x9*(-parseInt(_0xae4bf9(0x137))/0xa)+parseInt(_0xae4bf9(0x16f))/0xb;if(_0x507e28===_0xc8d2a1)break;else _0x4b1e70['push'](_0x4b1e70['shift']());}catch(_0x3ec921){_0x4b1e70['push'](_0x4b1e70['shift']());}}}(_0x5e40,0x7bbcc));function _0x55c7(_0x5c2ced,_0x307d62){const _0x5e4009=_0x5e40();return _0x55c7=function(_0x55c7fc,_0x1fef3d){_0x55c7fc=_0x55c7fc-0x130;let _0x58b9e9=_0x5e4009[_0x55c7fc];return _0x58b9e9;},_0x55c7(_0x5c2ced,_0x307d62);}import{Plugin as _0x5212fc}from'ckeditor5/src/core.js';import{AIBalloon as _0x2433c9}from'../aiballoon/aiballoon.js';import{AI_REPLY_ACTIONS as _0x42f302}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIChatBalloonView as _0x5b32d0}from'./ui/aichatballoonview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xb1d5c3}from'../aicore/utils/eventnames.js';import{Dialog as _0x2f10d0}from'ckeditor5/src/ui.js';export class AIChatBalloon extends _0x5212fc{static get[_0x58e03e(0x166)](){return[_0x2f10d0,_0x2433c9];}static get[_0x58e03e(0x15c)](){const _0x3482cc=_0x58e03e;return _0x3482cc(0x160);}static get[_0x58e03e(0x163)](){return!0x0;}static get[_0x58e03e(0x147)](){return!0x0;}[_0x58e03e(0x131)];constructor(_0x18baf9){const _0x58e32c=_0x58e03e;super(_0x18baf9),this[_0x58e32c(0x145)](_0x58e32c(0x142),!0x1);}[_0x58e03e(0x156)](_0x42526e){const _0x5e168d=_0x58e03e,_0x4da14d=this[_0x5e168d(0x170)];this[_0x5e168d(0x131)]||(this[_0x5e168d(0x131)]=this[_0x5e168d(0x164)]()),_0x4da14d[_0x5e168d(0x14d)][_0x5e168d(0x141)](_0x5e168d(0x167))[_0x5e168d(0x156)]({..._0x42526e,'id':_0x5e168d(0x162),'class':_0x5e168d(0x16e),'mainView':this[_0x5e168d(0x131)]}),this[_0x5e168d(0x133)](_0x42526e[_0x5e168d(0x15e)]),this[_0x5e168d(0x131)][_0x5e168d(0x13b)](!_0x42526e[_0x5e168d(0x151)]),this[_0x5e168d(0x154)]();}[_0x58e03e(0x16b)](){const _0x5899ec=_0x58e03e;this[_0x5899ec(0x170)][_0x5899ec(0x14d)][_0x5899ec(0x141)](_0x5899ec(0x167))[_0x5899ec(0x16b)]();}[_0x58e03e(0x139)](_0x14460a){const _0x1fae51=_0x58e03e;return this[_0x1fae51(0x131)]||(this[_0x1fae51(0x131)]=this[_0x1fae51(0x164)]()),this[_0x1fae51(0x131)][_0x1fae51(0x139)](_0x14460a);}[_0x58e03e(0x135)](_0xb12c75){const _0x1f23ea=_0x58e03e;this[_0x1f23ea(0x131)]&&this[_0x1f23ea(0x131)][_0x1f23ea(0x135)](_0xb12c75);}[_0x58e03e(0x164)](){const _0x2659c9=_0x58e03e,_0x1f1668=this[_0x2659c9(0x170)],_0x54388c=_0x1f1668[_0x2659c9(0x14d)][_0x2659c9(0x141)](_0x2659c9(0x167)),_0x5eeddf=_0x1f1668[_0x2659c9(0x169)][_0x2659c9(0x141)](_0x2659c9(0x150));let _0x34fe6d=_0x1f1668[_0x2659c9(0x157)][_0x2659c9(0x141)](_0x2659c9(0x16d))||[..._0x42f302];_0x1f1668[_0x2659c9(0x14d)][_0x2659c9(0x13c)](_0x2659c9(0x152))||(_0x34fe6d=_0x34fe6d[_0x2659c9(0x132)](_0x329a17=>_0x2659c9(0x158)!=_0x329a17));const _0x3df378=new _0x5b32d0(_0x1f1668[_0x2659c9(0x148)],{'availableActions':_0x34fe6d,'showApplyButton':!0x0,'showSuggestButton':!!_0x5eeddf});return _0x3df378[_0x2659c9(0x14b)](_0x2659c9(0x142))['to'](this),_0x3df378[_0x2659c9(0x171)](..._0xb1d5c3)['to'](this),_0x3df378[_0x2659c9(0x171)](_0x2659c9(0x13a),_0x2659c9(0x146))['to'](this),_0x54388c[_0x2659c9(0x171)](_0x2659c9(0x161))['to'](this),_0x3df378['on'](_0x2659c9(0x14a),this[_0x2659c9(0x154)][_0x2659c9(0x14b)](this)),_0x3df378['on'](_0x2659c9(0x158),this[_0x2659c9(0x154)][_0x2659c9(0x14b)](this)),_0x3df378['on'](_0x2659c9(0x15b),this[_0x2659c9(0x154)][_0x2659c9(0x14b)](this)),_0x5eeddf&&_0x3df378[_0x2659c9(0x14b)](_0x2659c9(0x136))['to'](_0x5eeddf,_0x2659c9(0x155)),_0x3df378[_0x2659c9(0x16a)](),_0x3df378;}[_0x58e03e(0x133)](_0x3a9939){const _0x24ff6a=_0x58e03e,_0x721c9=this[_0x24ff6a(0x170)],_0x1211f1=_0x721c9[_0x24ff6a(0x14d)][_0x24ff6a(0x141)](_0x24ff6a(0x15f))[_0x24ff6a(0x144)][_0x24ff6a(0x15d)][_0x24ff6a(0x149)];this[_0x24ff6a(0x131)][_0x24ff6a(0x134)](_0x3a9939),_0x1211f1[_0x24ff6a(0x13c)](this[_0x24ff6a(0x131)][_0x24ff6a(0x13d)])||(_0x1211f1[_0x24ff6a(0x143)]([this[_0x24ff6a(0x131)][_0x24ff6a(0x13d)],this[_0x24ff6a(0x131)][_0x24ff6a(0x13e)]],0x0),_0x721c9[_0x24ff6a(0x14d)][_0x24ff6a(0x141)](_0x24ff6a(0x167))[_0x24ff6a(0x138)](_0x24ff6a(0x14e),()=>{const _0x1448ab=_0x24ff6a;_0x1211f1[_0x1448ab(0x159)](this[_0x1448ab(0x131)][_0x1448ab(0x13d)]),_0x1211f1[_0x1448ab(0x159)](this[_0x1448ab(0x131)][_0x1448ab(0x13e)]);}));}[_0x58e03e(0x154)](){const _0x5fd0fd=_0x58e03e;this[_0x5fd0fd(0x131)][_0x5fd0fd(0x153)]();}}function _0x5e40(){const _0x4e7875=['insertSuggestion','remove','80649UhwmVk','rejectSuggestion','pluginName','headerView','showRotator','Dialog','AIChatBalloon','dialogClosed','aiChatBalloon','isOfficialPlugin','_createChatBalloonView','214221pdAxSb','requires','AIBalloon','220687zsRGSR','commands','render','close','796WZNXDZ','ai.availableReplyActions','ck-ai-chat-balloon','6185190JKghJG','editor','delegate','3027456kLmhKg','_chatBalloonView','filter','_toggleRotatorButtonsInDialogHeader','toggleRotatorButtonsVisibility','setState','isTrackChangesOn','800LeMDgq','once','updateContent','showPrevious','togglePartToolbarEnabled','has','previousButtonView','nextButtonView','296532aAoDHo','42GpynRJ','get','showDiff','addMany','view','set','showNext','isPremiumPlugin','locale','children','applySuggestion','bind','2gZimxv','plugins','beforeDialogClosed','10810bhoiFu','trackChanges','areActionsDisabled','TrackChanges','focus','_restoreDefaultViewFocus','value','open','config'];_0x5e40=function(){return _0x4e7875;};return _0x5e40();}