@ckeditor/ckeditor5-ai 47.1.0-alpha.2 → 47.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  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/adapters/openaitextadapter.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/aiformtoolbarview.js +1 -1
  13. package/src/aiassistant/ui/form/aiformview.js +1 -1
  14. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  15. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  16. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  17. package/src/aiballoon/aiballoon.js +1 -1
  18. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  19. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  20. package/src/aiballoon/ui/aiballoonview.js +1 -1
  21. package/src/aichat/aichat.js +1 -1
  22. package/src/aichat/aichatcontroller.js +1 -1
  23. package/src/aichat/aichatui.js +1 -1
  24. package/src/aichat/model/aichatcontext.js +1 -1
  25. package/src/aichat/model/aichatconversation.js +1 -1
  26. package/src/aichat/model/aichatinteraction.js +1 -1
  27. package/src/aichat/model/aichatmodels.js +1 -1
  28. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  29. package/src/aichat/ui/aichatfeedview.js +1 -1
  30. package/src/aichat/ui/aichatheaderview.js +1 -1
  31. package/src/aichat/ui/aichatview.js +1 -1
  32. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  33. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  34. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  35. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  36. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  37. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  38. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  39. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  40. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  41. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  42. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  43. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  44. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  45. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  46. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  47. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  48. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  53. package/src/aichat/utils/eventnames.js +1 -1
  54. package/src/aichat/utils/promisequeue.js +1 -1
  55. package/src/aichathistory/aichathistory.js +1 -1
  56. package/src/aichathistory/aichathistorycontroller.js +1 -1
  57. package/src/aichathistory/aichathistoryui.js +1 -1
  58. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  59. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  60. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  61. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  62. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  63. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  64. package/src/aicore/aiconnector.js +1 -1
  65. package/src/aicore/aiediting.js +1 -1
  66. package/src/aicore/model/aicapabilities.js +1 -1
  67. package/src/aicore/model/aiinteraction.js +1 -1
  68. package/src/aicore/model/aireply.js +1 -1
  69. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  70. package/src/aicore/pipeline/airesponseparser.js +2 -2
  71. package/src/aicore/ui/aidisclaimerview.js +1 -1
  72. package/src/aicore/ui/aiskeleton.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  74. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  77. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  78. package/src/aicore/utils/createresizebutton.js +1 -1
  79. package/src/aicore/utils/documentposition.js +1 -1
  80. package/src/aicore/utils/documentrange.js +1 -1
  81. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  82. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  83. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  84. package/src/aicore/utils/htmlparser.js +1 -1
  85. package/src/aicore/utils/htmlstreamer.js +1 -1
  86. package/src/aieditorintegration/aieditorintegration.js +1 -1
  87. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  88. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  89. package/src/aiquickactions/aiquickactions.js +1 -1
  90. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  91. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  92. package/src/aiquickactions/aiquickactionsui.js +1 -1
  93. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  94. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  95. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  96. package/src/aireviewmode/aireviewmode.js +1 -1
  97. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  98. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  99. package/src/aireviewmode/aireviewmodeui.js +1 -1
  100. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  101. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  102. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  103. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  104. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  105. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  106. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  107. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  108. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  110. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  111. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  112. package/src/aitabs/aitabs.js +1 -1
  113. package/src/aitabs/tabs/aitabsview.js +1 -1
  114. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x295731=_0x5d87;(function(_0x232fdc,_0xeb86a0){const _0xe1826e=_0x5d87,_0x4f4489=_0x232fdc();while(!![]){try{const _0x3886d8=-parseInt(_0xe1826e(0x1b6))/0x1*(parseInt(_0xe1826e(0x1b9))/0x2)+-parseInt(_0xe1826e(0x1b5))/0x3*(parseInt(_0xe1826e(0x19f))/0x4)+parseInt(_0xe1826e(0x1b4))/0x5*(-parseInt(_0xe1826e(0x1c6))/0x6)+parseInt(_0xe1826e(0x1b2))/0x7+-parseInt(_0xe1826e(0x1a7))/0x8+parseInt(_0xe1826e(0x1c1))/0x9*(-parseInt(_0xe1826e(0x1c3))/0xa)+parseInt(_0xe1826e(0x1db))/0xb;if(_0x3886d8===_0xeb86a0)break;else _0x4f4489['push'](_0x4f4489['shift']());}catch(_0x143b35){_0x4f4489['push'](_0x4f4489['shift']());}}}(_0x976f,0xe8d60));import{FocusTracker as _0x2f3978,KeystrokeHandler as _0x2e8a17}from'ckeditor5/src/utils.js';import{View as _0xc7b00a,FocusCycler as _0x544ec9,createLabeledTextarea as _0x31c4e6}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x161077,AIFormToolbarViewMainActionLabel as _0xb54f01}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x548fab}from'./aiformcontentarea.js';function _0x5d87(_0x165b00,_0x5b19c6){const _0x976fdc=_0x976f();return _0x5d87=function(_0x5d87e6,_0x21529e){_0x5d87e6=_0x5d87e6-0x19e;let _0xcfa69d=_0x976fdc[_0x5d87e6];return _0xcfa69d;},_0x5d87(_0x165b00,_0x5b19c6);}import{AIFormErrorView as _0x4f67d6}from'./aiformerrorview.js';import{AIFormPromptView as _0x56f60b}from'./aiformpromptview.js';import{AIHistoryListView as _0xa181e7}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3b5bf6}from'./aihistorylistitemview.js';import{PromptHistory as _0x299491}from'./prompthistory.js';function _0x976f(){const _0x576b38=['_focusables','170CXrvhC','ck-ai-form-content','AI_ERROR_FAILED','42162CtTAdd','replaceButton','delegate','focus','_promptHistory','fieldView','set','bind','items','mainAction','search','isEnabled','stopProcessing','trim','_createHistoryView','setTemplate','clearHistory','keystrokes','text','insertContentBelow','reset','39327706VHFcnK','add','queryView','Ask\x20AI\x20to\x20edit\x20or\x20generate','tryAgainEvent','submit','bindTo','stopButton','focusFirst','clear','tab','handleError','element','focusCycler','isError','listenTo','shift\x20+\x20tab','isVisible','focusLast','label','_createToolbar','toolbar','Ask\x20AI\x20to\x20improve\x20generated\x20text','chain','submitPrompt','focusTracker','20ZeKMXh','locale','Empty\x20history','startProcessing','REPLACE','ck-ai-form','div','promptView','3359504hKeoAw','_createPromptView','isProcessing','bindTemplate','copyButtonView','finishProcessing','tryAgainButton','contentArea','errorView','insertButton','render','1573075CdJSnl','value','5mjRRcj','271317czvOas','419778DpSSBO','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','ck-hidden','4JQlame','createCollection','high','historyGroupView','fire','execute','prompt','replaceContent','596943ccBmFU'];_0x976f=function(){return _0x576b38;};return _0x976f();}import{getTranslation as _0x14ff1c}from'../../utils/common-translations.js';import{escape as _0x4ea725}from'es-toolkit/compat';export class AIFormView extends _0xc7b00a{[_0x295731(0x19e)];[_0x295731(0x1d7)];[_0x295731(0x1ae)];[_0x295731(0x1f0)];[_0x295731(0x1a6)];[_0x295731(0x1af)];[_0x295731(0x1c2)];[_0x295731(0x1e8)];[_0x295731(0x1ca)];constructor(_0x4fc1c4,_0x3c4e12,_0x3fa89f=''){const _0x5b6d90=_0x295731;super(_0x4fc1c4),this[_0x5b6d90(0x1cc)](_0x5b6d90(0x1d1),!0x0),this[_0x5b6d90(0x1cc)](_0x5b6d90(0x1a9),!0x1),this[_0x5b6d90(0x1cc)](_0x5b6d90(0x1bf),''),this[_0x5b6d90(0x1cc)](_0x5b6d90(0x1b3),''),this[_0x5b6d90(0x1cc)](_0x5b6d90(0x1e9),!0x1),this[_0x5b6d90(0x1cc)](_0x5b6d90(0x1cf),_0xb54f01[_0x5b6d90(0x1a3)]),this[_0x5b6d90(0x1ca)]=new _0x299491(),this[_0x5b6d90(0x1af)]=new _0x4f67d6(_0x4fc1c4),this[_0x5b6d90(0x1ae)]=new _0x548fab(_0x4fc1c4,_0x3fa89f),this[_0x5b6d90(0x1ae)][_0x5b6d90(0x1cd)](_0x5b6d90(0x1a9))['to'](this),this[_0x5b6d90(0x1ae)][_0x5b6d90(0x1cd)](_0x5b6d90(0x1b3))['to'](this),this[_0x5b6d90(0x1f0)]=this[_0x5b6d90(0x1ef)](),this[_0x5b6d90(0x1f0)][_0x5b6d90(0x1cd)](_0x5b6d90(0x1cf))['to'](this),this[_0x5b6d90(0x1a6)]=this[_0x5b6d90(0x1a8)](),this[_0x5b6d90(0x19e)]=new _0x2f3978(),this[_0x5b6d90(0x1d7)]=new _0x2e8a17(),this[_0x5b6d90(0x1c2)]=this[_0x5b6d90(0x1ba)]([this[_0x5b6d90(0x1ae)],this[_0x5b6d90(0x1ae)][_0x5b6d90(0x1ab)],this[_0x5b6d90(0x1f0)],this[_0x5b6d90(0x1a6)]]),this[_0x5b6d90(0x1e8)]=new _0x544ec9({'focusables':this[_0x5b6d90(0x1c2)],'focusTracker':this[_0x5b6d90(0x19e)],'keystrokeHandler':this[_0x5b6d90(0x1d7)],'actions':{'focusPrevious':_0x5b6d90(0x1eb),'focusNext':_0x5b6d90(0x1e5)}}),this[_0x5b6d90(0x1e8)][_0x5b6d90(0x1f2)](this[_0x5b6d90(0x1a6)][_0x5b6d90(0x1e8)]),this[_0x5b6d90(0x1a6)][_0x5b6d90(0x1dd)][_0x5b6d90(0x1cb)][_0x5b6d90(0x1cd)](_0x5b6d90(0x1b3))['to'](this,_0x5b6d90(0x1bf));const _0x28b47c=this[_0x5b6d90(0x1aa)];this[_0x5b6d90(0x1d5)]({'tag':_0x5b6d90(0x1a5),'attributes':{'class':['ck',_0x5b6d90(0x1a4),_0x3c4e12],'tabindex':'-1'},'children':[{'tag':_0x5b6d90(0x1a5),'attributes':{'class':['ck',_0x5b6d90(0x1c4)]},'children':[{'tag':_0x5b6d90(0x1a5),'attributes':{'class':[_0x28b47c['if'](_0x5b6d90(0x1e9),_0x5b6d90(0x1b8),_0x66f497=>!_0x66f497)]},'children':[this[_0x5b6d90(0x1af)]]},this[_0x5b6d90(0x1ae)],this[_0x5b6d90(0x1f0)],this[_0x5b6d90(0x1a6)]]}]});}[_0x295731(0x1b1)](){const _0x4bbb72=_0x295731;super[_0x4bbb72(0x1b1)](),this[_0x4bbb72(0x19e)][_0x4bbb72(0x1dc)](this[_0x4bbb72(0x1ae)][_0x4bbb72(0x1e7)]),this[_0x4bbb72(0x19e)][_0x4bbb72(0x1dc)](this[_0x4bbb72(0x1ae)][_0x4bbb72(0x1ab)][_0x4bbb72(0x1e7)]),this[_0x4bbb72(0x19e)][_0x4bbb72(0x1dc)](this[_0x4bbb72(0x1f0)][_0x4bbb72(0x1e7)]),this[_0x4bbb72(0x19e)][_0x4bbb72(0x1dc)](this[_0x4bbb72(0x1a6)][_0x4bbb72(0x1e7)]),this[_0x4bbb72(0x1d7)][_0x4bbb72(0x1ea)](this[_0x4bbb72(0x1e7)]);}[_0x295731(0x1c9)](_0x1961e0=0x1){const _0x491eb4=_0x295731;-0x1===_0x1961e0?this[_0x491eb4(0x1e8)][_0x491eb4(0x1ed)]():this[_0x491eb4(0x1e8)][_0x491eb4(0x1e3)]();}[_0x295731(0x1da)](){const _0x205ef7=_0x295731;this[_0x205ef7(0x1bf)]='',this[_0x205ef7(0x1b3)]='',this[_0x205ef7(0x1e9)]=!0x1,this[_0x205ef7(0x1a6)][_0x205ef7(0x1da)](),this[_0x205ef7(0x1ae)][_0x205ef7(0x1ec)]=!0x1,this[_0x205ef7(0x1f0)][_0x205ef7(0x1ec)]=!0x1;}[_0x295731(0x1a8)](){const _0x705b82=_0x295731,_0x3cb6ce=this[_0x705b82(0x1a0)],_0x5dd343=new _0x56f60b(_0x3cb6ce,{'queryView':{'label':_0x14ff1c(_0x3cb6ce,_0x705b82(0x1de)),'creator':_0x31c4e6,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x14ff1c(_0x3cb6ce,_0x705b82(0x1a1)),'secondary':_0x14ff1c(_0x3cb6ce,_0x705b82(0x1b7))}}},'filteredView':this[_0x705b82(0x1d4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5dd343[_0x705b82(0x1cd)](_0x705b82(0x1d1))['to'](this,_0x705b82(0x1d1),this,_0x705b82(0x1a9),(_0xde22b0,_0x297a6f)=>_0xde22b0&&!_0x297a6f),this[_0x705b82(0x1ea)](_0x5dd343,_0x705b82(0x1e0),(_0x2bf5bc,_0x2dd709)=>{const _0x576f5a=_0x705b82;this[_0x576f5a(0x1bf)]=_0x2dd709;const _0x12b8cf=_0x4ea725(_0x2dd709);this[_0x576f5a(0x1bd)](_0x576f5a(0x1f3),_0x12b8cf),_0x2dd709[_0x576f5a(0x1d3)]()&&this[_0x576f5a(0x1ca)][_0x576f5a(0x1dc)]({'prompt':_0x12b8cf},0x0);},{'priority':_0x705b82(0x1bb)}),_0x5dd343;}[_0x295731(0x1d4)](){const _0x249902=_0x295731,_0x20bffb=new _0xa181e7(this[_0x249902(0x1a0)]);return _0x20bffb[_0x249902(0x1bc)][_0x249902(0x1ce)][_0x249902(0x1e1)](this[_0x249902(0x1ca)])['as'](_0x3b5bf6),_0x20bffb['on'](_0x249902(0x1d6),()=>{const _0x203176=_0x249902;this[_0x203176(0x1ca)][_0x203176(0x1e4)](),this[_0x203176(0x1a6)][_0x203176(0x1d0)](''),this[_0x203176(0x1a6)][_0x203176(0x1c9)]();}),_0x20bffb;}[_0x295731(0x1ef)](){const _0x9a6b75=_0x295731,_0x2c0fe1=new _0x161077(this[_0x9a6b75(0x1a0)]);return _0x2c0fe1[_0x9a6b75(0x1c7)][_0x9a6b75(0x1cd)](_0x9a6b75(0x1d1))['to'](this,_0x9a6b75(0x1d1),this,_0x9a6b75(0x1a9),this,_0x9a6b75(0x1b3),(_0x5e7998,_0x2950dc,_0x40c31d)=>_0x5e7998&&!_0x2950dc&&!!_0x40c31d),_0x2c0fe1[_0x9a6b75(0x1c7)][_0x9a6b75(0x1c8)](_0x9a6b75(0x1be))['to'](this,_0x9a6b75(0x1c0)),_0x2c0fe1[_0x9a6b75(0x1b0)][_0x9a6b75(0x1cd)](_0x9a6b75(0x1d1))['to'](this,_0x9a6b75(0x1d1),this,_0x9a6b75(0x1a9),this,_0x9a6b75(0x1b3),(_0x521157,_0x5dce1e,_0x15972a)=>_0x521157&&!_0x5dce1e&&!!_0x15972a),_0x2c0fe1[_0x9a6b75(0x1b0)][_0x9a6b75(0x1c8)](_0x9a6b75(0x1be))['to'](this,_0x9a6b75(0x1d9)),_0x2c0fe1[_0x9a6b75(0x1ad)][_0x9a6b75(0x1cd)](_0x9a6b75(0x1d1))['to'](this,_0x9a6b75(0x1d1),this,_0x9a6b75(0x1a9),(_0x5bc34c,_0x39663a)=>_0x5bc34c&&!_0x39663a),_0x2c0fe1[_0x9a6b75(0x1ad)][_0x9a6b75(0x1c8)](_0x9a6b75(0x1be))['to'](this,_0x9a6b75(0x1df)),_0x2c0fe1[_0x9a6b75(0x1e2)][_0x9a6b75(0x1cd)](_0x9a6b75(0x1d1))['to'](this,_0x9a6b75(0x1a9)),_0x2c0fe1[_0x9a6b75(0x1e2)][_0x9a6b75(0x1c8)](_0x9a6b75(0x1be))['to'](this,_0x9a6b75(0x1d2)),_0x2c0fe1;}[_0x295731(0x1a2)](){const _0x543b42=_0x295731;this[_0x543b42(0x1b3)]='',this[_0x543b42(0x1e9)]=!0x1,this[_0x543b42(0x1a9)]=!0x0,this[_0x543b42(0x1ae)][_0x543b42(0x1ec)]=!0x0,this[_0x543b42(0x1f0)][_0x543b42(0x1ec)]=!0x0,this[_0x543b42(0x1ae)][_0x543b42(0x1c9)]();}[_0x295731(0x1ac)](){const _0x9e0f0d=_0x295731,_0x554834=this[_0x9e0f0d(0x1a0)];this[_0x9e0f0d(0x1a9)]=!0x1,this[_0x9e0f0d(0x1bf)]='',this[_0x9e0f0d(0x1a6)][_0x9e0f0d(0x1da)](),this[_0x9e0f0d(0x1b3)]&&(this[_0x9e0f0d(0x1a6)][_0x9e0f0d(0x1dd)][_0x9e0f0d(0x1ee)]=_0x14ff1c(_0x554834,_0x9e0f0d(0x1f1)));}[_0x295731(0x1e6)](_0x2e17e6){const _0x18d658=_0x295731,_0x2b4b66=this[_0x18d658(0x1a0)];this[_0x18d658(0x1ac)](),this[_0x18d658(0x1e9)]=!0x0,this[_0x18d658(0x1af)][_0x18d658(0x1d8)]=_0x2e17e6||_0x14ff1c(_0x2b4b66,_0x18d658(0x1c5)),this[_0x18d658(0x1b3)]||(this[_0x18d658(0x1ae)][_0x18d658(0x1ec)]=!0x1);}}
23
+ const _0x16af6a=_0x2ef7;(function(_0x3305cd,_0x4f2888){const _0xff1af6=_0x2ef7,_0x2abce4=_0x3305cd();while(!![]){try{const _0x2665c1=parseInt(_0xff1af6(0xe1))/0x1+-parseInt(_0xff1af6(0xd3))/0x2+parseInt(_0xff1af6(0xcf))/0x3*(-parseInt(_0xff1af6(0xb5))/0x4)+-parseInt(_0xff1af6(0xa4))/0x5+-parseInt(_0xff1af6(0xc9))/0x6*(-parseInt(_0xff1af6(0xbb))/0x7)+-parseInt(_0xff1af6(0xbf))/0x8*(-parseInt(_0xff1af6(0xec))/0x9)+-parseInt(_0xff1af6(0xd1))/0xa;if(_0x2665c1===_0x4f2888)break;else _0x2abce4['push'](_0x2abce4['shift']());}catch(_0x26f9d4){_0x2abce4['push'](_0x2abce4['shift']());}}}(_0x5dbb,0x39efe));import{FocusTracker as _0x4ee65b,KeystrokeHandler as _0x5bae2b}from'ckeditor5/src/utils.js';import{View as _0x210afd,FocusCycler as _0x4e9d26,createLabeledTextarea as _0x3bbeb3}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x92a323,AIFormToolbarViewMainActionLabel as _0x39ddc2}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x30355e}from'./aiformcontentarea.js';import{AIFormErrorView as _0x5f19ee}from'./aiformerrorview.js';import{AIFormPromptView as _0x1487e1}from'./aiformpromptview.js';function _0x5dbb(){const _0x25eaf6=['bindTemplate','errorView','keystrokes','clearHistory','fire','18ByEVtY','tryAgainButton','Empty\x20history','label','_createPromptView','_focusables','102QWSsDz','fieldView','4287600IUHKKJ','_promptHistory','302864CBTifV','clear','set','bindTo','isEnabled','listenTo','queryView','locale','replaceButton','ck-hidden','copyButtonView','_createHistoryView','trim','ck-ai-form-content','449108vDelLo','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','createCollection','submitPrompt','shift\x20+\x20tab','toolbar','element','Ask\x20AI\x20to\x20edit\x20or\x20generate','chain','isVisible','promptView','24993tGODRt','focusLast','historyGroupView','stopProcessing','insertButton','isProcessing','high','value','render','text','AI_ERROR_FAILED','tryAgainEvent','execute','1400690glJpjF','tab','stopButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','startProcessing','insertContentBelow','reset','focusCycler','finishProcessing','replaceContent','mainAction','_createToolbar','div','contentArea','delegate','focusTracker','items','21532GOZRnP','isError','prompt','focusFirst','focus','add','884107Byhdvt','search','setTemplate','REPLACE','1304vjEtCt','bind','submit','ck-ai-form','handleError'];_0x5dbb=function(){return _0x25eaf6;};return _0x5dbb();}function _0x2ef7(_0x265cc5,_0x1bb6ae){const _0x5dbb73=_0x5dbb();return _0x2ef7=function(_0x2ef7a2,_0x47c679){_0x2ef7a2=_0x2ef7a2-0xa2;let _0x232205=_0x5dbb73[_0x2ef7a2];return _0x232205;},_0x2ef7(_0x265cc5,_0x1bb6ae);}import{AIHistoryListView as _0x4afbac}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x26bac8}from'./aihistorylistitemview.js';import{PromptHistory as _0x41882d}from'./prompthistory.js';import{getTranslation as _0x5b6eb9}from'../../utils/common-translations.js';import{escape as _0x326701}from'es-toolkit/compat';export class AIFormView extends _0x210afd{[_0x16af6a(0xb3)];[_0x16af6a(0xc6)];[_0x16af6a(0xb1)];[_0x16af6a(0xe6)];[_0x16af6a(0xeb)];[_0x16af6a(0xc5)];[_0x16af6a(0xce)];[_0x16af6a(0xab)];[_0x16af6a(0xd2)];constructor(_0x14f118,_0x14705e,_0x5d2cfc=''){const _0x4690f9=_0x16af6a;super(_0x14f118),this[_0x4690f9(0xd5)](_0x4690f9(0xd7),!0x0),this[_0x4690f9(0xd5)](_0x4690f9(0xf1),!0x1),this[_0x4690f9(0xd5)](_0x4690f9(0xb7),''),this[_0x4690f9(0xd5)](_0x4690f9(0xf3),''),this[_0x4690f9(0xd5)](_0x4690f9(0xb6),!0x1),this[_0x4690f9(0xd5)](_0x4690f9(0xae),_0x39ddc2[_0x4690f9(0xbe)]),this[_0x4690f9(0xd2)]=new _0x41882d(),this[_0x4690f9(0xc5)]=new _0x5f19ee(_0x14f118),this[_0x4690f9(0xb1)]=new _0x30355e(_0x14f118,_0x5d2cfc),this[_0x4690f9(0xb1)][_0x4690f9(0xc0)](_0x4690f9(0xf1))['to'](this),this[_0x4690f9(0xb1)][_0x4690f9(0xc0)](_0x4690f9(0xf3))['to'](this),this[_0x4690f9(0xe6)]=this[_0x4690f9(0xaf)](),this[_0x4690f9(0xe6)][_0x4690f9(0xc0)](_0x4690f9(0xae))['to'](this),this[_0x4690f9(0xeb)]=this[_0x4690f9(0xcd)](),this[_0x4690f9(0xb3)]=new _0x4ee65b(),this[_0x4690f9(0xc6)]=new _0x5bae2b(),this[_0x4690f9(0xce)]=this[_0x4690f9(0xe3)]([this[_0x4690f9(0xb1)],this[_0x4690f9(0xb1)][_0x4690f9(0xdd)],this[_0x4690f9(0xe6)],this[_0x4690f9(0xeb)]]),this[_0x4690f9(0xab)]=new _0x4e9d26({'focusables':this[_0x4690f9(0xce)],'focusTracker':this[_0x4690f9(0xb3)],'keystrokeHandler':this[_0x4690f9(0xc6)],'actions':{'focusPrevious':_0x4690f9(0xe5),'focusNext':_0x4690f9(0xa5)}}),this[_0x4690f9(0xab)][_0x4690f9(0xe9)](this[_0x4690f9(0xeb)][_0x4690f9(0xab)]),this[_0x4690f9(0xeb)][_0x4690f9(0xd9)][_0x4690f9(0xd0)][_0x4690f9(0xc0)](_0x4690f9(0xf3))['to'](this,_0x4690f9(0xb7));const _0x2fb40c=this[_0x4690f9(0xc4)];this[_0x4690f9(0xbd)]({'tag':_0x4690f9(0xb0),'attributes':{'class':['ck',_0x4690f9(0xc2),_0x14705e],'tabindex':'-1'},'children':[{'tag':_0x4690f9(0xb0),'attributes':{'class':['ck',_0x4690f9(0xe0)]},'children':[{'tag':_0x4690f9(0xb0),'attributes':{'class':[_0x2fb40c['if'](_0x4690f9(0xb6),_0x4690f9(0xdc),_0x3f8546=>!_0x3f8546)]},'children':[this[_0x4690f9(0xc5)]]},this[_0x4690f9(0xb1)],this[_0x4690f9(0xe6)],this[_0x4690f9(0xeb)]]}]});}[_0x16af6a(0xf4)](){const _0x3d2f73=_0x16af6a;super[_0x3d2f73(0xf4)](),this[_0x3d2f73(0xb3)][_0x3d2f73(0xba)](this[_0x3d2f73(0xb1)][_0x3d2f73(0xe7)]),this[_0x3d2f73(0xb3)][_0x3d2f73(0xba)](this[_0x3d2f73(0xb1)][_0x3d2f73(0xdd)][_0x3d2f73(0xe7)]),this[_0x3d2f73(0xb3)][_0x3d2f73(0xba)](this[_0x3d2f73(0xe6)][_0x3d2f73(0xe7)]),this[_0x3d2f73(0xb3)][_0x3d2f73(0xba)](this[_0x3d2f73(0xeb)][_0x3d2f73(0xe7)]),this[_0x3d2f73(0xc6)][_0x3d2f73(0xd8)](this[_0x3d2f73(0xe7)]);}[_0x16af6a(0xb9)](_0x197b19=0x1){const _0x5e64b8=_0x16af6a;-0x1===_0x197b19?this[_0x5e64b8(0xab)][_0x5e64b8(0xed)]():this[_0x5e64b8(0xab)][_0x5e64b8(0xb8)]();}[_0x16af6a(0xaa)](){const _0x5dd26a=_0x16af6a;this[_0x5dd26a(0xb7)]='',this[_0x5dd26a(0xf3)]='',this[_0x5dd26a(0xb6)]=!0x1,this[_0x5dd26a(0xeb)][_0x5dd26a(0xaa)](),this[_0x5dd26a(0xb1)][_0x5dd26a(0xea)]=!0x1,this[_0x5dd26a(0xe6)][_0x5dd26a(0xea)]=!0x1;}[_0x16af6a(0xcd)](){const _0x1c459a=_0x16af6a,_0x9f4ce=this[_0x1c459a(0xda)],_0x273514=new _0x1487e1(_0x9f4ce,{'queryView':{'label':_0x5b6eb9(_0x9f4ce,_0x1c459a(0xe8)),'creator':_0x3bbeb3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5b6eb9(_0x9f4ce,_0x1c459a(0xcb)),'secondary':_0x5b6eb9(_0x9f4ce,_0x1c459a(0xe2))}}},'filteredView':this[_0x1c459a(0xde)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x273514[_0x1c459a(0xc0)](_0x1c459a(0xd7))['to'](this,_0x1c459a(0xd7),this,_0x1c459a(0xf1),(_0x247433,_0x5a0caa)=>_0x247433&&!_0x5a0caa),this[_0x1c459a(0xd8)](_0x273514,_0x1c459a(0xc1),(_0x11a5aa,_0x4f7e4d)=>{const _0x44d766=_0x1c459a;this[_0x44d766(0xb7)]=_0x4f7e4d;const _0x16ef3b=_0x326701(_0x4f7e4d);this[_0x44d766(0xc8)](_0x44d766(0xe4),_0x16ef3b),_0x4f7e4d[_0x44d766(0xdf)]()&&this[_0x44d766(0xd2)][_0x44d766(0xba)]({'prompt':_0x16ef3b},0x0);},{'priority':_0x1c459a(0xf2)}),_0x273514;}[_0x16af6a(0xde)](){const _0x291504=_0x16af6a,_0xafdfca=new _0x4afbac(this[_0x291504(0xda)]);return _0xafdfca[_0x291504(0xee)][_0x291504(0xb4)][_0x291504(0xd6)](this[_0x291504(0xd2)])['as'](_0x26bac8),_0xafdfca['on'](_0x291504(0xc7),()=>{const _0x2582cb=_0x291504;this[_0x2582cb(0xd2)][_0x2582cb(0xd4)](),this[_0x2582cb(0xeb)][_0x2582cb(0xbc)](''),this[_0x2582cb(0xeb)][_0x2582cb(0xb9)]();}),_0xafdfca;}[_0x16af6a(0xaf)](){const _0x4b1ece=_0x16af6a,_0x3565aa=new _0x92a323(this[_0x4b1ece(0xda)]);return _0x3565aa[_0x4b1ece(0xdb)][_0x4b1ece(0xc0)](_0x4b1ece(0xd7))['to'](this,_0x4b1ece(0xd7),this,_0x4b1ece(0xf1),this,_0x4b1ece(0xf3),(_0x1439ec,_0x508c8d,_0x407c8b)=>_0x1439ec&&!_0x508c8d&&!!_0x407c8b),_0x3565aa[_0x4b1ece(0xdb)][_0x4b1ece(0xb2)](_0x4b1ece(0xa3))['to'](this,_0x4b1ece(0xad)),_0x3565aa[_0x4b1ece(0xf0)][_0x4b1ece(0xc0)](_0x4b1ece(0xd7))['to'](this,_0x4b1ece(0xd7),this,_0x4b1ece(0xf1),this,_0x4b1ece(0xf3),(_0x4c2250,_0x36f9e6,_0x2cd7a0)=>_0x4c2250&&!_0x36f9e6&&!!_0x2cd7a0),_0x3565aa[_0x4b1ece(0xf0)][_0x4b1ece(0xb2)](_0x4b1ece(0xa3))['to'](this,_0x4b1ece(0xa9)),_0x3565aa[_0x4b1ece(0xca)][_0x4b1ece(0xc0)](_0x4b1ece(0xd7))['to'](this,_0x4b1ece(0xd7),this,_0x4b1ece(0xf1),(_0x1ff11a,_0x6d4c0d)=>_0x1ff11a&&!_0x6d4c0d),_0x3565aa[_0x4b1ece(0xca)][_0x4b1ece(0xb2)](_0x4b1ece(0xa3))['to'](this,_0x4b1ece(0xa2)),_0x3565aa[_0x4b1ece(0xa6)][_0x4b1ece(0xc0)](_0x4b1ece(0xd7))['to'](this,_0x4b1ece(0xf1)),_0x3565aa[_0x4b1ece(0xa6)][_0x4b1ece(0xb2)](_0x4b1ece(0xa3))['to'](this,_0x4b1ece(0xef)),_0x3565aa;}[_0x16af6a(0xa8)](){const _0x4bde98=_0x16af6a;this[_0x4bde98(0xf3)]='',this[_0x4bde98(0xb6)]=!0x1,this[_0x4bde98(0xf1)]=!0x0,this[_0x4bde98(0xb1)][_0x4bde98(0xea)]=!0x0,this[_0x4bde98(0xe6)][_0x4bde98(0xea)]=!0x0,this[_0x4bde98(0xb1)][_0x4bde98(0xb9)]();}[_0x16af6a(0xac)](){const _0x5e9419=_0x16af6a,_0x3bf7e9=this[_0x5e9419(0xda)];this[_0x5e9419(0xf1)]=!0x1,this[_0x5e9419(0xb7)]='',this[_0x5e9419(0xeb)][_0x5e9419(0xaa)](),this[_0x5e9419(0xf3)]&&(this[_0x5e9419(0xeb)][_0x5e9419(0xd9)][_0x5e9419(0xcc)]=_0x5b6eb9(_0x3bf7e9,_0x5e9419(0xa7)));}[_0x16af6a(0xc3)](_0x4d3c8c){const _0x26a2d3=_0x16af6a,_0x41b971=this[_0x26a2d3(0xda)];this[_0x26a2d3(0xac)](),this[_0x26a2d3(0xb6)]=!0x0,this[_0x26a2d3(0xc5)][_0x26a2d3(0xf5)]=_0x4d3c8c||_0x5b6eb9(_0x41b971,_0x26a2d3(0xf6)),this[_0x26a2d3(0xf3)]||(this[_0x26a2d3(0xb1)][_0x26a2d3(0xea)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x58de94,_0x18a4b4){const _0x5cc3a8=_0x3567,_0x3d9736=_0x58de94();while(!![]){try{const _0x3d2f73=-parseInt(_0x5cc3a8(0xbd))/0x1+parseInt(_0x5cc3a8(0xc8))/0x2+parseInt(_0x5cc3a8(0xc3))/0x3+-parseInt(_0x5cc3a8(0xc7))/0x4+-parseInt(_0x5cc3a8(0xc4))/0x5*(-parseInt(_0x5cc3a8(0xc9))/0x6)+-parseInt(_0x5cc3a8(0xc1))/0x7+parseInt(_0x5cc3a8(0xc5))/0x8;if(_0x3d2f73===_0x18a4b4)break;else _0x3d9736['push'](_0x3d9736['shift']());}catch(_0x282225){_0x3d9736['push'](_0x3d9736['shift']());}}}(_0x2bbc,0x592ec));import{ListItemView as _0x227770,ButtonView as _0x192e73,ButtonLabelView as _0x125006}from'ckeditor5/src/ui.js';function _0x3567(_0x1cce83,_0x4294a4){const _0x2bbc03=_0x2bbc();return _0x3567=function(_0x35675a,_0x1e1679){_0x35675a=_0x35675a-0xbd;let _0x14ce3e=_0x2bbc03[_0x35675a];return _0x14ce3e;},_0x3567(_0x1cce83,_0x4294a4);}import{unescape as _0x365a6c}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x227770{constructor(_0x4baa08){const _0x5ec83b=_0x3567;super();const _0x2307de=new _0x125006(),_0x3b573f=new _0x192e73(this[_0x5ec83b(0xbe)],_0x2307de);this[_0x5ec83b(0xc2)][_0x5ec83b(0xcb)](_0x3b573f),_0x3b573f[_0x5ec83b(0xc6)]({'label':_0x4baa08[_0x5ec83b(0xca)],'withText':!0x0}),_0x3b573f['on'](_0x5ec83b(0xc0),()=>{const _0x5a1d5c=_0x5ec83b;this[_0x5a1d5c(0xbf)](_0x5a1d5c(0xc0),{'value':_0x365a6c(_0x4baa08[_0x5a1d5c(0xca)])});});}}function _0x2bbc(){const _0x4b900e=['prompt','add','306377UOhkeH','locale','fire','execute','356825fAZbpi','children','315222egHlZP','350kWMXUj','6535592mYrSed','set','2400764tVxQXg','436644ngwqlM','15642xGVYpc'];_0x2bbc=function(){return _0x4b900e;};return _0x2bbc();}
23
+ (function(_0xe1986d,_0x20505c){const _0xe04746=_0x89b5,_0x182b6a=_0xe1986d();while(!![]){try{const _0x53e0fb=-parseInt(_0xe04746(0xca))/0x1*(parseInt(_0xe04746(0xc4))/0x2)+-parseInt(_0xe04746(0xd3))/0x3*(parseInt(_0xe04746(0xd2))/0x4)+parseInt(_0xe04746(0xd1))/0x5*(parseInt(_0xe04746(0xc7))/0x6)+parseInt(_0xe04746(0xcb))/0x7+-parseInt(_0xe04746(0xcf))/0x8+-parseInt(_0xe04746(0xc5))/0x9*(-parseInt(_0xe04746(0xcc))/0xa)+-parseInt(_0xe04746(0xce))/0xb*(-parseInt(_0xe04746(0xc9))/0xc);if(_0x53e0fb===_0x20505c)break;else _0x182b6a['push'](_0x182b6a['shift']());}catch(_0x4a0921){_0x182b6a['push'](_0x182b6a['shift']());}}}(_0x21ca,0x7e55c));function _0x21ca(){const _0x283c4c=['add','execute','fire','2nWaNbM','2150973IhjePz','prompt','195642YXXNbB','locale','11803836oaTXlS','971342oXbYur','5517491aMcSDj','20fSmrTP','set','11cqZcuw','1026328GLtQGr','children','15NdbnVV','16mJOACl','547935oHvIHl'];_0x21ca=function(){return _0x283c4c;};return _0x21ca();}import{ListItemView as _0xa8e1d1,ButtonView as _0xbb299e,ButtonLabelView as _0x5583b2}from'ckeditor5/src/ui.js';import{unescape as _0x78de2e}from'es-toolkit/compat';function _0x89b5(_0x3c7b60,_0x19d01a){const _0x21caaa=_0x21ca();return _0x89b5=function(_0x89b528,_0x79d814){_0x89b528=_0x89b528-0xc1;let _0x40be89=_0x21caaa[_0x89b528];return _0x40be89;},_0x89b5(_0x3c7b60,_0x19d01a);}export class AIHistoryListItemView extends _0xa8e1d1{constructor(_0x527d0){const _0x838c8e=_0x89b5;super();const _0x261164=new _0x5583b2(),_0xf98716=new _0xbb299e(this[_0x838c8e(0xc8)],_0x261164);this[_0x838c8e(0xd0)][_0x838c8e(0xc1)](_0xf98716),_0xf98716[_0x838c8e(0xcd)]({'label':_0x527d0[_0x838c8e(0xc6)],'withText':!0x0}),_0xf98716['on'](_0x838c8e(0xc2),()=>{const _0x1495f4=_0x838c8e;this[_0x1495f4(0xc3)](_0x1495f4(0xc2),{'value':_0x78de2e(_0x527d0[_0x1495f4(0xc6)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e72d7=_0x847a;function _0x2aae(){const _0x27ece5=['3494220EpUipj','fire','Prompt\x20history','delegate','locale','2063640eDhLvz','clearHistoryButton','label','_createClearHistoryButton','18680384zlxsql','set','filter','1044783vppnZP','children','execute','clearHistory','7yCIyIC','Clear','length','items','historyGroupView','1177313tbyWfY','add','6734920eQsGBg','1228120HMvvwI'];_0x2aae=function(){return _0x27ece5;};return _0x2aae();}function _0x847a(_0x3a0b42,_0xb87791){const _0x2aae21=_0x2aae();return _0x847a=function(_0x847a80,_0x2cd54d){_0x847a80=_0x847a80-0x1dd;let _0x4d67c9=_0x2aae21[_0x847a80];return _0x4d67c9;},_0x847a(_0x3a0b42,_0xb87791);}(function(_0x586554,_0x2ef37c){const _0x345cab=_0x847a,_0x4dce7a=_0x586554();while(!![]){try{const _0x2d806d=-parseInt(_0x345cab(0x1e3))/0x1+parseInt(_0x345cab(0x1e6))/0x2+parseInt(_0x345cab(0x1f3))/0x3+parseInt(_0x345cab(0x1ec))/0x4+-parseInt(_0x345cab(0x1e5))/0x5+-parseInt(_0x345cab(0x1e7))/0x6*(parseInt(_0x345cab(0x1de))/0x7)+parseInt(_0x345cab(0x1f0))/0x8;if(_0x2d806d===_0x2ef37c)break;else _0x4dce7a['push'](_0x4dce7a['shift']());}catch(_0x35d3a7){_0x4dce7a['push'](_0x4dce7a['shift']());}}}(_0x2aae,0xac834));import{ListView as _0x4087db,ListItemGroupView as _0x421db9,ButtonView as _0xca7ee}from'ckeditor5/src/ui.js';import{getTranslation as _0x121f11}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x4087db{[_0x4e72d7(0x1e2)];[_0x4e72d7(0x1ed)];constructor(_0x159382){const _0x23ba84=_0x4e72d7;super(_0x159382),this[_0x23ba84(0x1ed)]=this[_0x23ba84(0x1ef)](),this[_0x23ba84(0x1e2)]=new _0x421db9(),this[_0x23ba84(0x1e2)][_0x23ba84(0x1f4)][_0x23ba84(0x1e4)](this[_0x23ba84(0x1ed)],0x1),this[_0x23ba84(0x1e2)][_0x23ba84(0x1ee)]=_0x121f11(_0x159382,_0x23ba84(0x1e9)),this[_0x23ba84(0x1e2)][_0x23ba84(0x1e1)][_0x23ba84(0x1ea)](_0x23ba84(0x1f5))['to'](this),this[_0x23ba84(0x1e1)][_0x23ba84(0x1e4)](this[_0x23ba84(0x1e2)]);}[_0x4e72d7(0x1f2)](){const _0xee2035=_0x4e72d7;let _0x4dea65=0x0;for(const _0x1bb250 of this[_0xee2035(0x1e1)])_0x4dea65+=_0x1bb250[_0xee2035(0x1e1)][_0xee2035(0x1e0)];return{'resultsCount':_0x4dea65,'totalItemsCount':_0x4dea65};}[_0x4e72d7(0x1ef)](){const _0x5ad150=_0x4e72d7,_0x7577cf=this[_0x5ad150(0x1eb)],_0x578228=new _0xca7ee(this[_0x5ad150(0x1eb)]);return _0x578228[_0x5ad150(0x1f1)]({'label':'('+_0x121f11(_0x7577cf,_0x5ad150(0x1df))+')','withText':!0x0}),_0x578228['on'](_0x5ad150(0x1f5),()=>this[_0x5ad150(0x1e8)](_0x5ad150(0x1dd))),_0x578228;}}
23
+ const _0x481de9=_0x48d4;(function(_0x41704a,_0x3a939f){const _0x59711e=_0x48d4,_0x6b7bc3=_0x41704a();while(!![]){try{const _0x387af8=parseInt(_0x59711e(0x1ae))/0x1+-parseInt(_0x59711e(0x1bf))/0x2*(-parseInt(_0x59711e(0x1c0))/0x3)+-parseInt(_0x59711e(0x1b0))/0x4*(parseInt(_0x59711e(0x1ba))/0x5)+-parseInt(_0x59711e(0x1b1))/0x6*(parseInt(_0x59711e(0x1bd))/0x7)+parseInt(_0x59711e(0x1b7))/0x8+parseInt(_0x59711e(0x1b4))/0x9+-parseInt(_0x59711e(0x1bc))/0xa;if(_0x387af8===_0x3a939f)break;else _0x6b7bc3['push'](_0x6b7bc3['shift']());}catch(_0x48e895){_0x6b7bc3['push'](_0x6b7bc3['shift']());}}}(_0x3962,0xb122e));function _0x48d4(_0x10eebc,_0x3b8bad){const _0x396273=_0x3962();return _0x48d4=function(_0x48d497,_0x5d0c86){_0x48d497=_0x48d497-0x1ae;let _0x1a97f2=_0x396273[_0x48d497];return _0x1a97f2;},_0x48d4(_0x10eebc,_0x3b8bad);}import{ListView as _0x15b80e,ListItemGroupView as _0x12d009,ButtonView as _0x35dd29}from'ckeditor5/src/ui.js';function _0x3962(){const _0x14ab4f=['78560Zvptyl','fire','11621240XoDFOn','350yFLVeg','_createClearHistoryButton','61518emvgKH','78tYPCUW','filter','clearHistoryButton','set','execute','items','locale','historyGroupView','Prompt\x20history','1873GnLbfv','length','4PSLkXw','72714keDbiB','Clear','clearHistory','13004370mnZjIG','label','add','2102392rRWjVG','delegate','children'];_0x3962=function(){return _0x14ab4f;};return _0x3962();}import{getTranslation as _0x3c31fb}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x15b80e{[_0x481de9(0x1c7)];[_0x481de9(0x1c2)];constructor(_0x5ecb8b){const _0x4abae3=_0x481de9;super(_0x5ecb8b),this[_0x4abae3(0x1c2)]=this[_0x4abae3(0x1be)](),this[_0x4abae3(0x1c7)]=new _0x12d009(),this[_0x4abae3(0x1c7)][_0x4abae3(0x1b9)][_0x4abae3(0x1b6)](this[_0x4abae3(0x1c2)],0x1),this[_0x4abae3(0x1c7)][_0x4abae3(0x1b5)]=_0x3c31fb(_0x5ecb8b,_0x4abae3(0x1c8)),this[_0x4abae3(0x1c7)][_0x4abae3(0x1c5)][_0x4abae3(0x1b8)](_0x4abae3(0x1c4))['to'](this),this[_0x4abae3(0x1c5)][_0x4abae3(0x1b6)](this[_0x4abae3(0x1c7)]);}[_0x481de9(0x1c1)](){const _0xf19d20=_0x481de9;let _0x21351d=0x0;for(const _0x5e0dd5 of this[_0xf19d20(0x1c5)])_0x21351d+=_0x5e0dd5[_0xf19d20(0x1c5)][_0xf19d20(0x1af)];return{'resultsCount':_0x21351d,'totalItemsCount':_0x21351d};}[_0x481de9(0x1be)](){const _0x25a4d5=_0x481de9,_0x383da6=this[_0x25a4d5(0x1c6)],_0x1b3196=new _0x35dd29(this[_0x25a4d5(0x1c6)]);return _0x1b3196[_0x25a4d5(0x1c3)]({'label':'('+_0x3c31fb(_0x383da6,_0x25a4d5(0x1b2))+')','withText':!0x0}),_0x1b3196['on'](_0x25a4d5(0x1c4),()=>this[_0x25a4d5(0x1bb)](_0x25a4d5(0x1b3))),_0x1b3196;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x67761=_0x4b7a;(function(_0x4f7436,_0x1e4053){const _0x333638=_0x4b7a,_0x477ee2=_0x4f7436();while(!![]){try{const _0x529731=parseInt(_0x333638(0x1ea))/0x1+parseInt(_0x333638(0x207))/0x2+parseInt(_0x333638(0x1fe))/0x3+-parseInt(_0x333638(0x203))/0x4+-parseInt(_0x333638(0x1fc))/0x5*(-parseInt(_0x333638(0x210))/0x6)+-parseInt(_0x333638(0x1ef))/0x7+-parseInt(_0x333638(0x1f4))/0x8*(parseInt(_0x333638(0x20b))/0x9);if(_0x529731===_0x1e4053)break;else _0x477ee2['push'](_0x477ee2['shift']());}catch(_0x2e05a6){_0x477ee2['push'](_0x477ee2['shift']());}}}(_0x3d3e,0xf19b9));import{Command as _0x21c705}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x1f6b20}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x21c705{[_0x67761(0x1e8)];constructor(_0x10d5c2,_0x1c19e5){const _0x1b0b17=_0x67761;super(_0x10d5c2),this[_0x1b0b17(0x1e8)]=_0x1c19e5,this[_0x1b0b17(0x202)](_0x1b0b17(0x1f8),[]),this['on'](_0x1b0b17(0x20a),(_0x3b4eb9,_0x5f241c,_0x56876c)=>{const _0x5d0747=_0x1b0b17;this[_0x5d0747(0x1e7)]&&(this[_0x5d0747(0x1f8)]=ns(this[_0x5d0747(0x1e8)],_0x56876c));}),this[_0x1b0b17(0x202)](_0x1b0b17(0x206),!0x1),this['on'](_0x1b0b17(0x20f),(_0x170851,_0x48a3f,_0x34e6d3)=>{const _0x2d0760=_0x1b0b17;this[_0x2d0760(0x1f8)]=_0x34e6d3?ns(this[_0x2d0760(0x1e8)],this[_0x2d0760(0x206)]):[];});}[_0x67761(0x204)](){const _0x576870=_0x67761,_0x8ce8ef=this[_0x576870(0x20e)][_0x576870(0x205)];this[_0x576870(0x206)]=function(_0x1bc9c8){const _0x3ab625=_0x576870,_0x30b8f0=_0x1bc9c8[_0x3ab625(0x208)][_0x3ab625(0x1fa)];return _0x30b8f0[_0x3ab625(0x1ed)]?0x0!==[..._0x30b8f0[_0x3ab625(0x1f9)]()][_0x3ab625(0x1ec)]&&![..._0x30b8f0[_0x3ab625(0x1f9)]()][0x0][_0x3ab625(0x1f5)]:!!_0x1bc9c8[_0x3ab625(0x20d)](_0x30b8f0[_0x3ab625(0x1f0)]());}(_0x8ce8ef);const _0x542b77=_0x8ce8ef[_0x576870(0x208)][_0x576870(0x1fa)],_0x14f889=this[_0x576870(0x20e)][_0x576870(0x20c)][_0x576870(0x1f3)](_0x576870(0x1eb));for(const _0x233ea4 of _0x542b77[_0x576870(0x201)]())for(const _0x42c6ba of _0x233ea4[_0x576870(0x1f1)]())if(_0x42c6ba['is'](_0x576870(0x1e6))&&_0x14f889[_0x576870(0x1f2)](_0x42c6ba[_0x576870(0x209)]))return void(this[_0x576870(0x1e7)]=!0x1);this[_0x576870(0x1e7)]=!0x0;}[_0x67761(0x1fd)](_0x40cdd9='',_0x21a533='',_0x218358=_0x67761(0x1f6)){const _0x2942bd=_0x67761;this[_0x2942bd(0x20e)][_0x2942bd(0x1ee)][_0x2942bd(0x1f3)](_0x1f6b20)[_0x2942bd(0x1e9)](_0x40cdd9,_0x21a533,_0x218358);}}function _0x3d3e(){const _0x22b9d5=['_commandDefinitions','showUI','322963ycsfwX','ai.assistant.disabledElements','length','isCollapsed','plugins','1788283lKisks','getFirstRange','getItems','includes','get','18920072ImurmT','isEmpty','custom','requiresContent','enabledCommandsIds','getSelectedBlocks','selection','values','15NNcpuQ','execute','3884082snagdw','add','from','getRanges','set','2245048MffrRo','refresh','model','_hasContext','1717194nusfSQ','document','name','change:_hasContext','9szpalb','config','hasContent','editor','change:isEnabled','3390222eqnDqv','element','isEnabled'];_0x3d3e=function(){return _0x22b9d5;};return _0x3d3e();}function _0x4b7a(_0x5cf96f,_0x27910a){const _0x3d3e08=_0x3d3e();return _0x4b7a=function(_0x4b7a74,_0x43292e){_0x4b7a74=_0x4b7a74-0x1e6;let _0x5057f4=_0x3d3e08[_0x4b7a74];return _0x5057f4;},_0x4b7a(_0x5cf96f,_0x27910a);}function ns(_0x54a822,_0x1bd28c){const _0x571f88=_0x67761,_0x380de0=new Set();for(const _0xf163fd of _0x54a822[_0x571f88(0x1fb)]())(_0x1bd28c||!0x1===_0xf163fd[_0x571f88(0x1f7)])&&_0x380de0[_0x571f88(0x1ff)](_0xf163fd['id']);return Array[_0x571f88(0x200)](_0x380de0);}
23
+ const _0x57a494=_0xecf4;function _0xecf4(_0x6c16ea,_0x193bfd){const _0x38d5ea=_0x38d5();return _0xecf4=function(_0xecf41b,_0x5bde32){_0xecf41b=_0xecf41b-0x15a;let _0x1b3a1a=_0x38d5ea[_0xecf41b];return _0x1b3a1a;},_0xecf4(_0x6c16ea,_0x193bfd);}(function(_0x40be71,_0x29f2dd){const _0x3d04e2=_0xecf4,_0x18657d=_0x40be71();while(!![]){try{const _0x17dc09=parseInt(_0x3d04e2(0x17a))/0x1+parseInt(_0x3d04e2(0x169))/0x2*(-parseInt(_0x3d04e2(0x165))/0x3)+-parseInt(_0x3d04e2(0x184))/0x4*(parseInt(_0x3d04e2(0x15e))/0x5)+-parseInt(_0x3d04e2(0x174))/0x6*(parseInt(_0x3d04e2(0x187))/0x7)+-parseInt(_0x3d04e2(0x188))/0x8*(-parseInt(_0x3d04e2(0x16e))/0x9)+parseInt(_0x3d04e2(0x16f))/0xa*(parseInt(_0x3d04e2(0x15c))/0xb)+parseInt(_0x3d04e2(0x17d))/0xc*(parseInt(_0x3d04e2(0x170))/0xd);if(_0x17dc09===_0x29f2dd)break;else _0x18657d['push'](_0x18657d['shift']());}catch(_0x5ef697){_0x18657d['push'](_0x18657d['shift']());}}}(_0x38d5,0xebad4));import{Command as _0x260440}from'ckeditor5/src/core.js';function _0x38d5(){const _0x48949d=['custom','36VTHnIp','isEnabled','add','requiresContent','execute','hasContent','getFirstRange','24572xMwSZu','element','get','10763284IfomNO','4995880czHhXC','refresh','selection','286rDCClX','document','1535vRSIWS','getItems','change:_hasContext','set','ai.assistant.disabledElements','editor','enabledCommandsIds','1563OXIaRO','length','showUI','getRanges','34dKbtim','_commandDefinitions','config','getSelectedBlocks','includes','9EGkBFM','446450LHNkKR','4809779yAxNew','isCollapsed','plugins','isEmpty','6EjoYUG','model','_hasContext','from','change:isEnabled','name','1502498zVCPQc','values'];_0x38d5=function(){return _0x48949d;};return _0x38d5();}import{AIAssistantUI as _0x1d63ec}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x260440{[_0x57a494(0x16a)];constructor(_0x3a09e3,_0x4eaad4){const _0x208873=_0x57a494;super(_0x3a09e3),this[_0x208873(0x16a)]=_0x4eaad4,this[_0x208873(0x161)](_0x208873(0x164),[]),this['on'](_0x208873(0x160),(_0x277ffb,_0x36ec95,_0x1ee973)=>{const _0x38e429=_0x208873;this[_0x38e429(0x17e)]&&(this[_0x38e429(0x164)]=ns(this[_0x38e429(0x16a)],_0x1ee973));}),this[_0x208873(0x161)](_0x208873(0x176),!0x1),this['on'](_0x208873(0x178),(_0x3d72d8,_0x2e8aaa,_0x4dc7a9)=>{const _0x5cee93=_0x208873;this[_0x5cee93(0x164)]=_0x4dc7a9?ns(this[_0x5cee93(0x16a)],this[_0x5cee93(0x176)]):[];});}[_0x57a494(0x15a)](){const _0x454bad=_0x57a494,_0x2424b3=this[_0x454bad(0x163)][_0x454bad(0x175)];this[_0x454bad(0x176)]=function(_0x4f5eac){const _0x42ace3=_0x454bad,_0x19c44b=_0x4f5eac[_0x42ace3(0x15d)][_0x42ace3(0x15b)];return _0x19c44b[_0x42ace3(0x171)]?0x0!==[..._0x19c44b[_0x42ace3(0x16c)]()][_0x42ace3(0x166)]&&![..._0x19c44b[_0x42ace3(0x16c)]()][0x0][_0x42ace3(0x173)]:!!_0x4f5eac[_0x42ace3(0x182)](_0x19c44b[_0x42ace3(0x183)]());}(_0x2424b3);const _0x11ced3=_0x2424b3[_0x454bad(0x15d)][_0x454bad(0x15b)],_0x4e205e=this[_0x454bad(0x163)][_0x454bad(0x16b)][_0x454bad(0x186)](_0x454bad(0x162));for(const _0x3e34b2 of _0x11ced3[_0x454bad(0x168)]())for(const _0x58c5ba of _0x3e34b2[_0x454bad(0x15f)]())if(_0x58c5ba['is'](_0x454bad(0x185))&&_0x4e205e[_0x454bad(0x16d)](_0x58c5ba[_0x454bad(0x179)]))return void(this[_0x454bad(0x17e)]=!0x1);this[_0x454bad(0x17e)]=!0x0;}[_0x57a494(0x181)](_0x313119='',_0x5ebb40='',_0x99b9b4=_0x57a494(0x17c)){const _0x37e386=_0x57a494;this[_0x37e386(0x163)][_0x37e386(0x172)][_0x37e386(0x186)](_0x1d63ec)[_0x37e386(0x167)](_0x313119,_0x5ebb40,_0x99b9b4);}}function ns(_0x5e933e,_0x5ca2c9){const _0x1d6a01=_0x57a494,_0x461156=new Set();for(const _0x58cfcf of _0x5e933e[_0x1d6a01(0x17b)]())(_0x5ca2c9||!0x1===_0x58cfcf[_0x1d6a01(0x180)])&&_0x461156[_0x1d6a01(0x17f)](_0x58cfcf['id']);return Array[_0x1d6a01(0x177)](_0x461156);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ab971=_0x2b17;(function(_0x40db1f,_0x130318){const _0x28c1d5=_0x2b17,_0x70b0e4=_0x40db1f();while(!![]){try{const _0x36163a=-parseInt(_0x28c1d5(0x16a))/0x1*(-parseInt(_0x28c1d5(0x157))/0x2)+-parseInt(_0x28c1d5(0x16c))/0x3+-parseInt(_0x28c1d5(0x175))/0x4*(parseInt(_0x28c1d5(0x179))/0x5)+parseInt(_0x28c1d5(0x186))/0x6+-parseInt(_0x28c1d5(0x172))/0x7+parseInt(_0x28c1d5(0x188))/0x8*(parseInt(_0x28c1d5(0x187))/0x9)+parseInt(_0x28c1d5(0x17a))/0xa*(parseInt(_0x28c1d5(0x180))/0xb);if(_0x36163a===_0x130318)break;else _0x70b0e4['push'](_0x70b0e4['shift']());}catch(_0x3c28ac){_0x70b0e4['push'](_0x70b0e4['shift']());}}}(_0x5b1b,0x71951));import{ContextPlugin as _0x299605}from'ckeditor5/src/core.js';function _0x2b17(_0x2f203a,_0x21b8fd){const _0x5b1bf1=_0x5b1b();return _0x2b17=function(_0x2b172c,_0x1dbf8d){_0x2b172c=_0x2b172c-0x151;let _0x7773dd=_0x5b1bf1[_0x2b172c];return _0x7773dd;},_0x2b17(_0x2f203a,_0x21b8fd);}import{AIConnector as _0x3c44ce}from'../aicore/aiconnector.js';import{AIEditing as _0x5e765f}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x4f30f4,AIBalloonView as _0x2d7521}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x2a227a}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x32e888}from'../aicore/utils/geteditorfromcontext.js';import{ACTIONS as _0x3102a7}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x4f30f4,_0x5ab971(0x189)];function _0x5b1b(){const _0x345a40=['dialogClosed','getBoundingClientRect','width','aiBalloon','config','isPremiumPlugin','setupRotator','height','AIEditing','plugins','_showDialog','AIBalloon','ai-selection','icon','locale','title','showFakeVisualSelection','requires','showRotator','5296OohNsy','delegate','_config','ai.availableReplyActions','_calculateDialogPosition','bind','isTrackChangesOn','hideFakeVisualSelection','balloonView','ai-balloon-selection','_setupVisualSelection','ai-balloon-','ranges','hide','trackChanges','editing','get','show','isOfficialPlugin','238yfcvcO','left','730107FkCIEM','length','value','Dialog','\x20ai-balloon-rotator','pluginName','5491318wFwxYr','close','innerHeight','116zyJVtA','context','commands','markers','128675bnxNcT','106250wCUYQG','_calculateOptimalTopPosition','open','model','top','index','1331mPIFXn','isOpen','ai-balloon','getMarkersGroup','fire','round','855996EApJbi','813942qzUXUn','16oDHtdT'];_0x5b1b=function(){return _0x345a40;};return _0x5b1b();}export class AIBalloon extends _0x299605{static get[_0x5ab971(0x155)](){return[_0x3c44ce,_0x5e765f];}static get[_0x5ab971(0x171)](){const _0x443f1c=_0x5ab971;return _0x443f1c(0x194);}static get[_0x5ab971(0x169)](){return!0x0;}static get[_0x5ab971(0x18e)](){return!0x0;}[_0x5ab971(0x181)]=!0x1;[_0x5ab971(0x159)];[_0x5ab971(0x17c)](_0x39ab7e){const _0x497338=_0x5ab971,_0x194ec8=_0x32e888(this[_0x497338(0x176)]);this[_0x497338(0x159)]=_0x39ab7e;const _0x5be24c=this[_0x497338(0x176)][_0x497338(0x18d)][_0x497338(0x167)](_0x497338(0x15a))||[..._0x3102a7],_0x57a223=_0x194ec8?.[_0x497338(0x177)][_0x497338(0x167)](_0x497338(0x165)),_0x579195=_0x57a223?.[_0x497338(0x16e)];this[_0x497338(0x15f)]=new _0x2d7521(_0x194ec8[_0x497338(0x152)],_0x39ab7e,_0x5be24c,!!_0x579195),this[_0x497338(0x15f)][_0x497338(0x158)](..._0x4f30f4)['to'](this),_0x57a223&&this[_0x497338(0x15f)][_0x497338(0x15c)](_0x497338(0x15d))['to'](_0x57a223,_0x497338(0x16e)),this[_0x497338(0x193)](_0x39ab7e);}[_0x5ab971(0x173)](){const _0x3a8661=_0x5ab971;_0x32e888(this[_0x3a8661(0x176)])[_0x3a8661(0x192)][_0x3a8661(0x167)](_0x3a8661(0x16f))[_0x3a8661(0x164)]();}[_0x5ab971(0x161)](_0x35eedf,_0x4cc975){const _0x52e7bb=_0x5ab971;this[_0x52e7bb(0x176)][_0x52e7bb(0x192)][_0x52e7bb(0x167)](_0x5e765f)[_0x52e7bb(0x154)](_0x35eedf,_0x52e7bb(0x162)+_0x4cc975,!0x0,!0x0);}[_0x5ab971(0x193)](_0xb0a306){const _0x216d77=_0x5ab971,_0x3ff36c=_0x32e888(this[_0x216d77(0x176)]);this[_0x216d77(0x161)](_0xb0a306[_0x216d77(0x163)],_0xb0a306[_0x216d77(0x17f)]),_0x3ff36c[_0x216d77(0x192)][_0x216d77(0x167)](_0x216d77(0x16f))[_0x216d77(0x168)]({'title':_0xb0a306[_0x216d77(0x153)],'icon':_0xb0a306[_0x216d77(0x151)],'hasCloseButton':!0x0,'id':_0x216d77(0x18c),'position':this[_0x216d77(0x15b)][_0x216d77(0x15c)](this),'className':_0x216d77(0x182)+(_0xb0a306[_0x216d77(0x156)]?_0x216d77(0x170):''),'content':this[_0x216d77(0x15f)],'onShow':_0xe0112d=>{const _0x38d084=_0x216d77;_0xb0a306[_0x38d084(0x156)]&&this[_0x38d084(0x15f)][_0x38d084(0x18f)](_0xe0112d),this[_0x38d084(0x181)]=!0x0;},'onHide':()=>{const _0x3cfc2b=_0x216d77;this[_0x3cfc2b(0x176)][_0x3cfc2b(0x192)][_0x3cfc2b(0x167)](_0x3cfc2b(0x191))[_0x3cfc2b(0x15e)](_0x3cfc2b(0x162)+_0xb0a306[_0x3cfc2b(0x17f)]),this[_0x3cfc2b(0x184)](_0x3cfc2b(0x189)),this[_0x3cfc2b(0x181)]=!0x1;}});}[_0x5ab971(0x15b)](_0x29cefc,_0x5bd529){const _0x3290c2=_0x5ab971,_0x58c114=_0x32e888(this[_0x3290c2(0x176)]);if(!_0x5bd529)return null;const _0x3ae37e=_0x2a227a(_0x58c114[_0x3290c2(0x166)],[..._0x58c114[_0x3290c2(0x17d)][_0x3290c2(0x178)][_0x3290c2(0x183)](_0x3290c2(0x195)),..._0x58c114[_0x3290c2(0x17d)][_0x3290c2(0x178)][_0x3290c2(0x183)](_0x3290c2(0x160))]);if(!_0x3ae37e||0x0===_0x3ae37e[_0x3290c2(0x16d)])return{'left':Math[_0x3290c2(0x185)](_0x5bd529[_0x3290c2(0x16b)]+_0x5bd529[_0x3290c2(0x18b)]/0x2-_0x29cefc[_0x3290c2(0x18b)]/0x2),'top':Math[_0x3290c2(0x185)](_0x5bd529[_0x3290c2(0x17e)]+_0x5bd529[_0x3290c2(0x190)]/0x2-_0x29cefc[_0x3290c2(0x190)]/0x2)};const _0x5ab551=Math[_0x3290c2(0x185)](_0x5bd529[_0x3290c2(0x16b)]+_0x5bd529[_0x3290c2(0x18b)]/0x2-_0x29cefc[_0x3290c2(0x18b)]/0x2),_0x28811e=_0x3ae37e[0x0][_0x3290c2(0x18a)](),_0x59601c=_0x3ae37e[_0x3ae37e[_0x3290c2(0x16d)]-0x1][_0x3290c2(0x18a)](),_0x316abc=_0x29cefc[_0x3290c2(0x190)],_0xfaf088=this[_0x3290c2(0x159)][_0x3290c2(0x156)]?0x8:0x0;return{'left':_0x5ab551,'top':this[_0x3290c2(0x17b)](_0x28811e,_0x59601c,_0x316abc,_0xfaf088)};}[_0x5ab971(0x17b)](_0x546f34,_0x4b200d,_0x282162,_0x4c72a7=0x0){const _0xefbeaa=_0x5ab971,_0x455d9a=_0x4b200d[_0xefbeaa(0x17e)]+_0x4b200d[_0xefbeaa(0x190)],_0x2067a0=_0x546f34[_0xefbeaa(0x17e)]-_0x282162-_0x4c72a7,_0x167986=window[_0xefbeaa(0x174)]-_0x455d9a-0xa,_0x3b7b9f=_0x546f34[_0xefbeaa(0x17e)]-_0x4c72a7-0xa;let _0x469c02;if(_0x167986>=_0x282162)_0x469c02=_0x455d9a+0xa;else{if(_0x3b7b9f>=_0x282162)_0x469c02=_0x2067a0-0xa;else _0x469c02=_0x546f34[_0xefbeaa(0x17e)]+(_0x4b200d[_0xefbeaa(0x17e)]+_0x4b200d[_0xefbeaa(0x190)])/0x2-(_0x282162+_0x4c72a7)/0x2;}return _0x469c02;}}
23
+ const _0x54cc2e=_0x3af7;(function(_0x11c55a,_0x4ecb5e){const _0x331747=_0x3af7,_0x238fdc=_0x11c55a();while(!![]){try{const _0x36aab3=parseInt(_0x331747(0x1a9))/0x1+parseInt(_0x331747(0x1b3))/0x2+parseInt(_0x331747(0x197))/0x3+-parseInt(_0x331747(0x1b8))/0x4+-parseInt(_0x331747(0x1a4))/0x5+parseInt(_0x331747(0x192))/0x6+parseInt(_0x331747(0x1c2))/0x7*(parseInt(_0x331747(0x1c6))/0x8);if(_0x36aab3===_0x4ecb5e)break;else _0x238fdc['push'](_0x238fdc['shift']());}catch(_0x4c3d22){_0x238fdc['push'](_0x238fdc['shift']());}}}(_0x38a4,0xc1c38));import{ContextPlugin as _0x1eef6c}from'ckeditor5/src/core.js';import{AIConnector as _0x4b8ea8}from'../aicore/aiconnector.js';import{AIEditing as _0x1d8cc7}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x8bcbe7,AIBalloonView as _0x25e9cb}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5334c3}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x3fe23f}from'../aicore/utils/geteditorfromcontext.js';import{ACTIONS as _0x18e9bf}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x3af7(_0x147448,_0x3d9bcc){const _0x38a4b1=_0x38a4();return _0x3af7=function(_0x3af703,_0x2709ff){_0x3af703=_0x3af703-0x18f;let _0x3dcce2=_0x38a4b1[_0x3af703];return _0x3dcce2;},_0x3af7(_0x147448,_0x3d9bcc);}export const AI_BALLOON_EVENT_NAMES=[..._0x8bcbe7,_0x54cc2e(0x198)];function _0x38a4(){const _0x152bb0=['_config','trackChanges','1027142VOWyqk','icon','model','round','config','2214372iGYBfT','isPremiumPlugin','getBoundingClientRect','_calculateDialogPosition','get','bind','open','\x20ai-balloon-rotator','fire','_calculateOptimalTopPosition','315NQefSF','AIBalloon','setupRotator','innerHeight','11928TfMoAr','close','locale','ai-selection','left','ai-balloon','showRotator','_setupVisualSelection','editing','width','markers','plugins','getMarkersGroup','AIEditing','2155290OOjxzR','hide','isTrackChangesOn','ai-balloon-selection','delegate','1360179pIRImP','dialogClosed','balloonView','hideFakeVisualSelection','aiBalloon','context','Dialog','_showDialog','ai.availableReplyActions','index','length','show','requires','2146095auamNP','height','isOfficialPlugin','ai-balloon-','showFakeVisualSelection','383194ZYYinp','commands','ranges','top','title','pluginName','value','isOpen'];_0x38a4=function(){return _0x152bb0;};return _0x38a4();}export class AIBalloon extends _0x1eef6c{static get[_0x54cc2e(0x1a3)](){return[_0x4b8ea8,_0x1d8cc7];}static get[_0x54cc2e(0x1ae)](){const _0x4cc4b9=_0x54cc2e;return _0x4cc4b9(0x1c3);}static get[_0x54cc2e(0x1a6)](){return!0x0;}static get[_0x54cc2e(0x1b9)](){return!0x0;}[_0x54cc2e(0x1b0)]=!0x1;[_0x54cc2e(0x1b1)];[_0x54cc2e(0x1be)](_0x1e7b18){const _0x4ee915=_0x54cc2e,_0xb5528e=_0x3fe23f(this[_0x4ee915(0x19c)]);this[_0x4ee915(0x1b1)]=_0x1e7b18;const _0x4cfebc=this[_0x4ee915(0x19c)][_0x4ee915(0x1b7)][_0x4ee915(0x1bc)](_0x4ee915(0x19f))||[..._0x18e9bf],_0x4fc7e8=_0xb5528e?.[_0x4ee915(0x1aa)][_0x4ee915(0x1bc)](_0x4ee915(0x1b2)),_0x229fa6=_0x4fc7e8?.[_0x4ee915(0x1af)];this[_0x4ee915(0x199)]=new _0x25e9cb(_0xb5528e[_0x4ee915(0x1c8)],_0x1e7b18,_0x4cfebc,!!_0x229fa6),this[_0x4ee915(0x199)][_0x4ee915(0x196)](..._0x8bcbe7)['to'](this),_0x4fc7e8&&this[_0x4ee915(0x199)][_0x4ee915(0x1bd)](_0x4ee915(0x194))['to'](_0x4fc7e8,_0x4ee915(0x1af)),this[_0x4ee915(0x19e)](_0x1e7b18);}[_0x54cc2e(0x1c7)](){const _0x1fccf9=_0x54cc2e;_0x3fe23f(this[_0x1fccf9(0x19c)])[_0x1fccf9(0x18f)][_0x1fccf9(0x1bc)](_0x1fccf9(0x19d))[_0x1fccf9(0x193)]();}[_0x54cc2e(0x1cd)](_0xfe4e,_0x334102){const _0x344046=_0x54cc2e;this[_0x344046(0x19c)][_0x344046(0x18f)][_0x344046(0x1bc)](_0x1d8cc7)[_0x344046(0x1a8)](_0xfe4e,_0x344046(0x1a7)+_0x334102,!0x0,!0x0);}[_0x54cc2e(0x19e)](_0x311fe8){const _0x5cc576=_0x54cc2e,_0x1154f4=_0x3fe23f(this[_0x5cc576(0x19c)]);this[_0x5cc576(0x1cd)](_0x311fe8[_0x5cc576(0x1ab)],_0x311fe8[_0x5cc576(0x1a0)]),_0x1154f4[_0x5cc576(0x18f)][_0x5cc576(0x1bc)](_0x5cc576(0x19d))[_0x5cc576(0x1a2)]({'title':_0x311fe8[_0x5cc576(0x1ad)],'icon':_0x311fe8[_0x5cc576(0x1b4)],'hasCloseButton':!0x0,'id':_0x5cc576(0x19b),'position':this[_0x5cc576(0x1bb)][_0x5cc576(0x1bd)](this),'className':_0x5cc576(0x1cb)+(_0x311fe8[_0x5cc576(0x1cc)]?_0x5cc576(0x1bf):''),'content':this[_0x5cc576(0x199)],'onShow':_0x3e05be=>{const _0x2a6665=_0x5cc576;_0x311fe8[_0x2a6665(0x1cc)]&&this[_0x2a6665(0x199)][_0x2a6665(0x1c4)](_0x3e05be),this[_0x2a6665(0x1b0)]=!0x0;},'onHide':()=>{const _0x3fa792=_0x5cc576;this[_0x3fa792(0x19c)][_0x3fa792(0x18f)][_0x3fa792(0x1bc)](_0x3fa792(0x191))[_0x3fa792(0x19a)](_0x3fa792(0x1a7)+_0x311fe8[_0x3fa792(0x1a0)]),this[_0x3fa792(0x1c0)](_0x3fa792(0x198)),this[_0x3fa792(0x1b0)]=!0x1;}});}[_0x54cc2e(0x1bb)](_0x5216cb,_0x4270a0){const _0x423d8e=_0x54cc2e,_0x24567c=_0x3fe23f(this[_0x423d8e(0x19c)]);if(!_0x4270a0)return null;const _0x3c8774=_0x5334c3(_0x24567c[_0x423d8e(0x1ce)],[..._0x24567c[_0x423d8e(0x1b5)][_0x423d8e(0x1d0)][_0x423d8e(0x190)](_0x423d8e(0x1c9)),..._0x24567c[_0x423d8e(0x1b5)][_0x423d8e(0x1d0)][_0x423d8e(0x190)](_0x423d8e(0x195))]);if(!_0x3c8774||0x0===_0x3c8774[_0x423d8e(0x1a1)])return{'left':Math[_0x423d8e(0x1b6)](_0x4270a0[_0x423d8e(0x1ca)]+_0x4270a0[_0x423d8e(0x1cf)]/0x2-_0x5216cb[_0x423d8e(0x1cf)]/0x2),'top':Math[_0x423d8e(0x1b6)](_0x4270a0[_0x423d8e(0x1ac)]+_0x4270a0[_0x423d8e(0x1a5)]/0x2-_0x5216cb[_0x423d8e(0x1a5)]/0x2)};const _0x409c32=Math[_0x423d8e(0x1b6)](_0x4270a0[_0x423d8e(0x1ca)]+_0x4270a0[_0x423d8e(0x1cf)]/0x2-_0x5216cb[_0x423d8e(0x1cf)]/0x2),_0x1e36e3=_0x3c8774[0x0][_0x423d8e(0x1ba)](),_0x1b00cf=_0x3c8774[_0x3c8774[_0x423d8e(0x1a1)]-0x1][_0x423d8e(0x1ba)](),_0x43122a=_0x5216cb[_0x423d8e(0x1a5)],_0x589ef2=this[_0x423d8e(0x1b1)][_0x423d8e(0x1cc)]?0x8:0x0;return{'left':_0x409c32,'top':this[_0x423d8e(0x1c1)](_0x1e36e3,_0x1b00cf,_0x43122a,_0x589ef2)};}[_0x54cc2e(0x1c1)](_0x113d0e,_0x43f160,_0xc256bb,_0x1950ff=0x0){const _0x1e647d=_0x54cc2e,_0x28befc=_0x43f160[_0x1e647d(0x1ac)]+_0x43f160[_0x1e647d(0x1a5)],_0x438a2b=_0x113d0e[_0x1e647d(0x1ac)]-_0xc256bb-_0x1950ff,_0x18e2c0=window[_0x1e647d(0x1c5)]-_0x28befc-0xa,_0x331568=_0x113d0e[_0x1e647d(0x1ac)]-_0x1950ff-0xa;let _0x2cd0ff;if(_0x18e2c0>=_0xc256bb)_0x2cd0ff=_0x28befc+0xa;else{if(_0x331568>=_0xc256bb)_0x2cd0ff=_0x438a2b-0xa;else _0x2cd0ff=_0x113d0e[_0x1e647d(0x1ac)]+(_0x43f160[_0x1e647d(0x1ac)]+_0x43f160[_0x1e647d(0x1a5)])/0x2-(_0xc256bb+_0x1950ff)/0x2;}return _0x2cd0ff;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x40bf25,_0x425d45){var _0x14729d=_0x51d2,_0x504c96=_0x40bf25();while(!![]){try{var _0x4e2c68=-parseInt(_0x14729d(0xaa))/0x1*(-parseInt(_0x14729d(0x9a))/0x2)+-parseInt(_0x14729d(0xa4))/0x3*(-parseInt(_0x14729d(0xa1))/0x4)+parseInt(_0x14729d(0xa2))/0x5+parseInt(_0x14729d(0xa5))/0x6+-parseInt(_0x14729d(0xa3))/0x7*(-parseInt(_0x14729d(0xa7))/0x8)+-parseInt(_0x14729d(0xa0))/0x9*(parseInt(_0x14729d(0xa9))/0xa)+parseInt(_0x14729d(0x9f))/0xb*(-parseInt(_0x14729d(0xa8))/0xc);if(_0x4e2c68===_0x425d45)break;else _0x504c96['push'](_0x504c96['shift']());}catch(_0x494d20){_0x504c96['push'](_0x504c96['shift']());}}}(_0x342d,0xdb66f));import{View as _0x5dada0}from'ckeditor5/src/ui.js';import{getTranslation as _0x509539}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x5dada0{constructor(_0x39e1e4){var _0x580069=_0x51d2;super(_0x39e1e4),this[_0x580069(0xa6)]({'tag':_0x580069(0x9c),'attributes':{'class':['ck',_0x580069(0x9d)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x580069(0x9e)]},'children':[{'text':_0x509539(_0x39e1e4,_0x580069(0x9b))}]}]});}}function _0x51d2(_0x1783a2,_0x4a543e){var _0x342d95=_0x342d();return _0x51d2=function(_0x51d242,_0x363d71){_0x51d242=_0x51d242-0x9a;var _0x138c94=_0x342d95[_0x51d242];return _0x138c94;},_0x51d2(_0x1783a2,_0x4a543e);}function _0x342d(){var _0x48760a=['div','ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','11FUjGWo','776331XwZebC','661916yQWvxE','2313145CbYauo','492660vLOyOZ','15QWXkYZ','5168100SHOzLX','setTemplate','64ndSQKe','38790312YZkkNJ','10DfQkyZ','1DEdHot','3006084bvuaME','AI_DISCLAIMER_TEXT'];_0x342d=function(){return _0x48760a;};return _0x342d();}
23
+ function _0x58d0(_0x29c30c,_0x3df007){var _0x5c2b01=_0x5c2b();return _0x58d0=function(_0x58d004,_0x2f4979){_0x58d004=_0x58d004-0x165;var _0x467bfb=_0x5c2b01[_0x58d004];return _0x467bfb;},_0x58d0(_0x29c30c,_0x3df007);}(function(_0x3546c3,_0x2b3185){var _0x4a0044=_0x58d0,_0x986e2f=_0x3546c3();while(!![]){try{var _0x1acd9d=parseInt(_0x4a0044(0x167))/0x1*(-parseInt(_0x4a0044(0x168))/0x2)+-parseInt(_0x4a0044(0x16a))/0x3+-parseInt(_0x4a0044(0x172))/0x4*(parseInt(_0x4a0044(0x174))/0x5)+-parseInt(_0x4a0044(0x166))/0x6+-parseInt(_0x4a0044(0x16f))/0x7*(-parseInt(_0x4a0044(0x165))/0x8)+parseInt(_0x4a0044(0x173))/0x9+parseInt(_0x4a0044(0x169))/0xa*(parseInt(_0x4a0044(0x170))/0xb);if(_0x1acd9d===_0x2b3185)break;else _0x986e2f['push'](_0x986e2f['shift']());}catch(_0x2b0949){_0x986e2f['push'](_0x986e2f['shift']());}}}(_0x5c2b,0x76875));import{View as _0x24428b}from'ckeditor5/src/ui.js';import{getTranslation as _0x5c4b47}from'../../aicore/utils/common-translations.js';function _0x5c2b(){var _0x5cfc58=['865728csyJVv','15445uMSRcx','400xQASAQ','176124AwcIdJ','4217oixpOg','26sYgROB','10tpUvAy','282906ZkbkiT','ck-ai-balloon__disclaimer-content','AI_DISCLAIMER_TEXT','setTemplate','ck-ai-balloon__disclaimer','121058dWsmMg','3563637RvsYxw','div','804eXdSlP'];_0x5c2b=function(){return _0x5cfc58;};return _0x5c2b();}export class AIBalloonDisclaimerView extends _0x24428b{constructor(_0x1c7903){var _0x471fed=_0x58d0;super(_0x1c7903),this[_0x471fed(0x16d)]({'tag':_0x471fed(0x171),'attributes':{'class':['ck',_0x471fed(0x16e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x471fed(0x16b)]},'children':[{'text':_0x5c4b47(_0x1c7903,_0x471fed(0x16c))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13ca21=_0x2013;(function(_0x52a239,_0x282361){const _0x494abb=_0x2013,_0x207172=_0x52a239();while(!![]){try{const _0x32ec14=-parseInt(_0x494abb(0x1b9))/0x1+-parseInt(_0x494abb(0x1ae))/0x2+parseInt(_0x494abb(0x1aa))/0x3+parseInt(_0x494abb(0x1a4))/0x4*(-parseInt(_0x494abb(0x1af))/0x5)+parseInt(_0x494abb(0x1ba))/0x6*(-parseInt(_0x494abb(0x1bb))/0x7)+parseInt(_0x494abb(0x1b5))/0x8*(-parseInt(_0x494abb(0x1a3))/0x9)+-parseInt(_0x494abb(0x1b8))/0xa*(-parseInt(_0x494abb(0x1a1))/0xb);if(_0x32ec14===_0x282361)break;else _0x207172['push'](_0x207172['shift']());}catch(_0x11a42b){_0x207172['push'](_0x207172['shift']());}}}(_0x2bb9,0xb71da));import{ToolbarView as _0x179bab,ButtonView as _0x573419}from'ckeditor5/src/ui.js';import{getTranslation as _0xb6e418}from'../../aicore/utils/common-translations.js';function _0x2013(_0x3e0034,_0x3ecc84){const _0x2bb9c7=_0x2bb9();return _0x2013=function(_0x2013ee,_0x245e21){_0x2013ee=_0x2013ee-0x1a1;let _0x3e4610=_0x2bb9c7[_0x2013ee];return _0x3e4610;},_0x2013(_0x3e0034,_0x3ecc84);}export class AIBalloonToolbarView extends _0x179bab{constructor(_0x3e465b,_0x3c4f18=!0x0,_0x430ea7=!0x0){const _0x2f2c48=_0x2013;super(_0x3e465b),this[_0x2f2c48(0x1a9)](_0x2f2c48(0x1b3),!0x1),_0x3c4f18&&(this[_0x2f2c48(0x1b4)]=this[_0x2f2c48(0x1a7)](_0xb6e418(_0x3e465b,_0x2f2c48(0x1a5)),_0x2f2c48(0x1a8)),this[_0x2f2c48(0x1b4)][_0x2f2c48(0x1ab)](_0x2f2c48(0x1b1))['to'](this,_0x2f2c48(0x1b3),_0x1e121a=>!_0x1e121a),this[_0x2f2c48(0x1a6)][_0x2f2c48(0x1b7)](this[_0x2f2c48(0x1b4)])),_0x430ea7&&(this[_0x2f2c48(0x1b0)]=this[_0x2f2c48(0x1a7)](_0xb6e418(_0x3e465b,_0x2f2c48(0x1b6)),_0x3c4f18?_0x2f2c48(0x1b2):_0x2f2c48(0x1a8)),this[_0x2f2c48(0x1b0)][_0x2f2c48(0x1ab)](_0x2f2c48(0x1b1))['to'](this,_0x2f2c48(0x1b3),_0x416308=>!_0x416308),this[_0x2f2c48(0x1a6)][_0x2f2c48(0x1b7)](this[_0x2f2c48(0x1b0)])),this[_0x2f2c48(0x1ad)]({'attributes':{'class':[_0x2f2c48(0x1a2)]}});}[_0x13ca21(0x1a7)](_0x247784,_0xfd99be){const _0x3275d8=_0x13ca21,_0x19482d=new _0x573419(this[_0x3275d8(0x1ac)]);return _0x19482d[_0x3275d8(0x1a9)]({'label':_0x247784,'class':_0xfd99be||'','isVisible':!0x0,'withText':!0x0}),_0x19482d;}}function _0x2bb9(){const _0x1bbd86=['set','138309BRfcWl','bind','locale','extendTemplate','1387532vLsFFi','5UCpXHi','suggestButton','isEnabled','ck-ai-button-secondary','isLoading','applyButton','24BQRcXQ','AI_BALLOON_SUGGEST_BUTTON','add','16225760LEddhg','1416754CrCWHo','3180480xeKlxK','7kwrgTP','33HjfWHn','ck-ai-balloon__toolbar','3490479AkCELj','1438784Dpjscv','AI_BALLOON_APPLY_BUTTON','items','_createButton','ck-ai-button-primary'];_0x2bb9=function(){return _0x1bbd86;};return _0x2bb9();}
23
+ const _0xd179b4=_0x3551;(function(_0x942655,_0x1ce496){const _0x21b93b=_0x3551,_0x1052b7=_0x942655();while(!![]){try{const _0x2a007d=parseInt(_0x21b93b(0xed))/0x1*(parseInt(_0x21b93b(0xfc))/0x2)+parseInt(_0x21b93b(0xf4))/0x3+parseInt(_0x21b93b(0xfb))/0x4*(parseInt(_0x21b93b(0xef))/0x5)+parseInt(_0x21b93b(0x102))/0x6+-parseInt(_0x21b93b(0xee))/0x7+-parseInt(_0x21b93b(0xfa))/0x8+parseInt(_0x21b93b(0x100))/0x9;if(_0x2a007d===_0x1ce496)break;else _0x1052b7['push'](_0x1052b7['shift']());}catch(_0x3364b2){_0x1052b7['push'](_0x1052b7['shift']());}}}(_0x16f3,0x87d68));import{ToolbarView as _0x2744cc,ButtonView as _0x1c9ee5}from'ckeditor5/src/ui.js';import{getTranslation as _0x589433}from'../../aicore/utils/common-translations.js';function _0x3551(_0x31f9e6,_0x2c7040){const _0x16f379=_0x16f3();return _0x3551=function(_0x355130,_0x57f1ec){_0x355130=_0x355130-0xeb;let _0x5773dc=_0x16f379[_0x355130];return _0x5773dc;},_0x3551(_0x31f9e6,_0x2c7040);}export class AIBalloonToolbarView extends _0x2744cc{constructor(_0x539378,_0x3e99de=!0x0,_0x3856ca=!0x0){const _0x398a05=_0x3551;super(_0x539378),this[_0x398a05(0xf8)](_0x398a05(0xec),!0x1),_0x3e99de&&(this[_0x398a05(0x103)]=this[_0x398a05(0xf5)](_0x589433(_0x539378,_0x398a05(0xf0)),_0x398a05(0xf9)),this[_0x398a05(0x103)][_0x398a05(0xfd)](_0x398a05(0x101))['to'](this,_0x398a05(0xec),_0x228c70=>!_0x228c70),this[_0x398a05(0xeb)][_0x398a05(0xf1)](this[_0x398a05(0x103)])),_0x3856ca&&(this[_0x398a05(0xf7)]=this[_0x398a05(0xf5)](_0x589433(_0x539378,_0x398a05(0xff)),_0x3e99de?_0x398a05(0xf3):_0x398a05(0xf9)),this[_0x398a05(0xf7)][_0x398a05(0xfd)](_0x398a05(0x101))['to'](this,_0x398a05(0xec),_0x409171=>!_0x409171),this[_0x398a05(0xeb)][_0x398a05(0xf1)](this[_0x398a05(0xf7)])),this[_0x398a05(0xf6)]({'attributes':{'class':[_0x398a05(0xf2)]}});}[_0xd179b4(0xf5)](_0x362cdb,_0x393196){const _0x5d2cee=_0xd179b4,_0x1e60a0=new _0x1c9ee5(this[_0x5d2cee(0xfe)]);return _0x1e60a0[_0x5d2cee(0xf8)]({'label':_0x362cdb,'class':_0x393196||'','isVisible':!0x0,'withText':!0x0}),_0x1e60a0;}}function _0x16f3(){const _0x2b6d95=['6396880dKPmzh','16maLcdj','13322EroqTg','bind','locale','AI_BALLOON_SUGGEST_BUTTON','3111777bXBxBd','isEnabled','2851704AwoGQR','applyButton','items','isLoading','85jkBWkC','7348530YYmKlz','944215HGEswJ','AI_BALLOON_APPLY_BUTTON','add','ck-ai-balloon__toolbar','ck-ai-button-secondary','789594UDpvBs','_createButton','extendTemplate','suggestButton','set','ck-ai-button-primary'];_0x16f3=function(){return _0x2b6d95;};return _0x16f3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a8235=_0x11e0;function _0x11e0(_0x13d433,_0xfdcdc4){const _0x113070=_0x1130();return _0x11e0=function(_0x11e00b,_0x20ea0b){_0x11e00b=_0x11e00b-0x107;let _0x155d42=_0x113070[_0x11e00b];return _0x155d42;},_0x11e0(_0x13d433,_0xfdcdc4);}function _0x1130(){const _0x5a642c=['clear','render','set','setTemplate','element','_dropdownConfig','ai-balloon-content','listenTo','353266PULBYQ','bind','setupRotator','view','showNext','_focusables','904251oKFIxa','3553ligbDS','AI_BALLOON_NEXT_TOOLTIP','focusFirst','setLoading','createCollection','_addContentView','disclaimerView','remove','focus','_createPreviousButtonView','showApplyButton','10318bhgqMv','isTrackChangesOn','15030SQovDt','tab','_mainView','shift\x20+\x20tab','_addToolbar','insertSuggestion','focusLast','fire','execute','_createNextButtonView','toolbar','343164sErVlV','mainView','focusTracker','_dialogContent','children','includes','showPrevious','keystrokes','applyButton','1182WgybtY','3055yroRyf','focusCycler','24UvWYvR','locale','change:isTrackChangesOn','addMany','applySuggestion','isLoading','_addDisclaimerView','suggestButton','751392nWeWHe','add','div','340hFuVie','clearLoading','AI_BALLOON_PREVIOUS_TOOLTIP','showSuggestButton','headerView'];_0x1130=function(){return _0x5a642c;};return _0x1130();}(function(_0x3015c4,_0x16604a){const _0x525fc9=_0x11e0,_0xeae4d4=_0x3015c4();while(!![]){try{const _0x2e2826=parseInt(_0x525fc9(0x127))/0x1+parseInt(_0x525fc9(0x108))/0x2+-parseInt(_0x525fc9(0x10e))/0x3+-parseInt(_0x525fc9(0x13e))/0x4*(-parseInt(_0x525fc9(0x131))/0x5)+parseInt(_0x525fc9(0x130))/0x6*(-parseInt(_0x525fc9(0x11a))/0x7)+-parseInt(_0x525fc9(0x133))/0x8*(parseInt(_0x525fc9(0x13b))/0x9)+-parseInt(_0x525fc9(0x11c))/0xa*(-parseInt(_0x525fc9(0x10f))/0xb);if(_0x2e2826===_0x16604a)break;else _0xeae4d4['push'](_0xeae4d4['shift']());}catch(_0x3a6b7e){_0xeae4d4['push'](_0xeae4d4['shift']());}}}(_0x1130,0x3479e));import{ButtonView as _0xb85141,View as _0x5749cd,ViewCollection as _0x53b553,FocusCycler as _0xb49c8c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x15171f,KeystrokeHandler as _0x3eda54}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x262473,IconPreviousArrow as _0x59d048}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x32a6ab}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x5b9789}from'./aiballoondisclaimerview.js';import{getTranslation as _0x1228a4}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x5a8235(0x137),_0x5a8235(0x121),_0x5a8235(0x10c),_0x5a8235(0x12d)];export class AIBalloonView extends _0x5749cd{[_0x5a8235(0x129)];[_0x5a8235(0x12e)];[_0x5a8235(0x132)];[_0x5a8235(0x148)];[_0x5a8235(0x10d)];constructor(_0x15e11a,_0x508537,_0x26cc0d,_0xa8dfdd){const _0x38fbb5=_0x5a8235;super(_0x15e11a),this[_0x38fbb5(0x148)]=_0x26cc0d,this[_0x38fbb5(0x145)](_0x38fbb5(0x138),!0x1),this[_0x38fbb5(0x145)](_0x38fbb5(0x11b),_0xa8dfdd),this[_0x38fbb5(0x129)]=new _0x15171f(),this[_0x38fbb5(0x12e)]=new _0x3eda54(),this[_0x38fbb5(0x10d)]=this[_0x38fbb5(0x113)](),this[_0x38fbb5(0x132)]=new _0xb49c8c({'focusables':this[_0x38fbb5(0x10d)],'focusTracker':this[_0x38fbb5(0x129)],'keystrokeHandler':this[_0x38fbb5(0x12e)],'actions':{'focusPrevious':_0x38fbb5(0x11f),'focusNext':_0x38fbb5(0x11d)}}),this[_0x38fbb5(0x12a)]=new _0x53b553(),this[_0x38fbb5(0x114)](_0x508537[_0x38fbb5(0x128)]),this[_0x38fbb5(0x139)](),this[_0x38fbb5(0x120)](_0x508537[_0x38fbb5(0x119)],_0x508537[_0x38fbb5(0x141)]),this[_0x38fbb5(0x126)][_0x38fbb5(0x109)](_0x38fbb5(0x138))['to'](this),this[_0x38fbb5(0x10d)][_0x38fbb5(0x143)](),this[_0x38fbb5(0x10d)][_0x38fbb5(0x136)]([this[_0x38fbb5(0x126)]]),this[_0x38fbb5(0x146)]({'tag':_0x38fbb5(0x13d),'attributes':{'class':_0x38fbb5(0x149)},'children':this[_0x38fbb5(0x12a)]}),this[_0x38fbb5(0x107)](this,_0x38fbb5(0x135),()=>{const _0xbdc836=_0x38fbb5;this[_0xbdc836(0x12a)][_0xbdc836(0x116)](this[_0xbdc836(0x126)]),this[_0xbdc836(0x120)](_0x508537[_0xbdc836(0x119)],_0x508537[_0xbdc836(0x141)]);});}[_0x5a8235(0x144)](){const _0x42d916=_0x5a8235;super[_0x42d916(0x144)]();for(const _0x2341d0 of this[_0x42d916(0x10d)])this[_0x42d916(0x129)][_0x42d916(0x13c)](_0x2341d0[_0x42d916(0x147)]);this[_0x42d916(0x12e)][_0x42d916(0x107)](this[_0x42d916(0x147)]);}[_0x5a8235(0x117)](_0x328b52){const _0x11571f=_0x5a8235;-0x1===_0x328b52?this[_0x11571f(0x132)][_0x11571f(0x122)]():this[_0x11571f(0x132)][_0x11571f(0x111)]();}[_0x5a8235(0x112)](){const _0x5ef2a9=_0x5a8235;this[_0x5ef2a9(0x138)]=!0x0;}[_0x5a8235(0x13f)](){const _0x11dc07=_0x5a8235;this[_0x11dc07(0x138)]=!0x1;}[_0x5a8235(0x10a)](_0x1c7725){const _0x5890d5=_0x5a8235,_0x91eb87=this[_0x5890d5(0x125)](),_0x43eb69=this[_0x5890d5(0x118)]();_0x1c7725[_0x5890d5(0x10b)][_0x5890d5(0x142)][_0x5890d5(0x12b)][_0x5890d5(0x13c)](_0x91eb87,0x2),_0x1c7725[_0x5890d5(0x10b)][_0x5890d5(0x142)][_0x5890d5(0x12b)][_0x5890d5(0x13c)](_0x43eb69,0x0),this[_0x5890d5(0x10d)][_0x5890d5(0x136)]([_0x91eb87,_0x43eb69]),this[_0x5890d5(0x129)][_0x5890d5(0x13c)](_0x91eb87[_0x5890d5(0x147)]),this[_0x5890d5(0x129)][_0x5890d5(0x13c)](_0x43eb69[_0x5890d5(0x147)]);}[_0x5a8235(0x114)](_0x409d80){const _0x25bf8e=_0x5a8235;this[_0x25bf8e(0x11e)]=_0x409d80,this[_0x25bf8e(0x12a)][_0x25bf8e(0x13c)](this[_0x25bf8e(0x11e)]);}[_0x5a8235(0x139)](){const _0xc6b51=_0x5a8235;this[_0xc6b51(0x115)]=new _0x5b9789(this[_0xc6b51(0x134)]),this[_0xc6b51(0x12a)][_0xc6b51(0x13c)](this[_0xc6b51(0x115)]);}[_0x5a8235(0x120)](_0x58d694=!0x0,_0x4456fc=!0x0){const _0x5a6396=_0x5a8235;_0x58d694=_0x58d694&&!this[_0x5a6396(0x11b)]&&this[_0x5a6396(0x148)][_0x5a6396(0x12c)](_0x5a6396(0x137)),_0x4456fc=_0x4456fc&&this[_0x5a6396(0x148)][_0x5a6396(0x12c)](_0x5a6396(0x121)),this[_0x5a6396(0x126)]=new _0x32a6ab(this[_0x5a6396(0x134)],_0x58d694,_0x4456fc),this[_0x5a6396(0x126)][_0x5a6396(0x12f)]?.['on'](_0x5a6396(0x124),()=>{const _0x3dd5c3=_0x5a6396;this[_0x3dd5c3(0x123)](_0x3dd5c3(0x137));}),this[_0x5a6396(0x126)][_0x5a6396(0x13a)]?.['on'](_0x5a6396(0x124),()=>{const _0x222eff=_0x5a6396;this[_0x222eff(0x123)](_0x222eff(0x121));}),this[_0x5a6396(0x12a)][_0x5a6396(0x13c)](this[_0x5a6396(0x126)]);}[_0x5a8235(0x125)](){const _0x235d30=_0x5a8235,_0x3051ab=new _0xb85141(this[_0x235d30(0x134)]);return _0x3051ab[_0x235d30(0x145)]({'icon':_0x262473,'tooltip':_0x1228a4(this[_0x235d30(0x134)],_0x235d30(0x110))}),_0x3051ab['on'](_0x235d30(0x124),()=>{const _0x5544a7=_0x235d30;this[_0x5544a7(0x123)](_0x5544a7(0x10c));}),_0x3051ab;}[_0x5a8235(0x118)](){const _0x4ea37a=_0x5a8235,_0x53b83d=new _0xb85141(this[_0x4ea37a(0x134)]);return _0x53b83d[_0x4ea37a(0x145)]({'icon':_0x59d048,'tooltip':_0x1228a4(this[_0x4ea37a(0x134)],_0x4ea37a(0x140))}),_0x53b83d['on'](_0x4ea37a(0x124),()=>{const _0x467945=_0x4ea37a;this[_0x467945(0x123)](_0x467945(0x12d));}),_0x53b83d;}}
23
+ function _0x11dd(){const _0x20f450=['543710sDiftW','bind','focusTracker','showSuggestButton','3mlHcne','1206948NuUtEc','shift\x20+\x20tab','_dropdownConfig','insertSuggestion','focusCycler','setTemplate','4882224OrwZgQ','suggestButton','applyButton','2524428SonqEJ','isLoading','setLoading','tab','showNext','keystrokes','change:isTrackChangesOn','clearLoading','focusLast','_dialogContent','9grtOBB','_addContentView','addMany','isTrackChangesOn','includes','toolbar','focusFirst','headerView','AI_BALLOON_PREVIOUS_TOOLTIP','7zpLSxm','_createNextButtonView','view','30CPSVop','9163074HEHDNd','_mainView','createCollection','_addToolbar','render','remove','applySuggestion','set','showPrevious','div','clear','listenTo','execute','ai-balloon-content','AI_BALLOON_NEXT_TOOLTIP','showApplyButton','_createPreviousButtonView','_focusables','fire','_addDisclaimerView','1768187aXFpej','setupRotator','element','focus','children','locale','disclaimerView','add','mainView','914606kaMqZQ'];_0x11dd=function(){return _0x20f450;};return _0x11dd();}const _0x534792=_0x2815;function _0x2815(_0x2673a0,_0x66344){const _0x11dd76=_0x11dd();return _0x2815=function(_0x281526,_0x1696db){_0x281526=_0x281526-0x1d5;let _0x37610d=_0x11dd76[_0x281526];return _0x37610d;},_0x2815(_0x2673a0,_0x66344);}(function(_0x1adb8c,_0x2375e7){const _0x38679b=_0x2815,_0xafbce6=_0x1adb8c();while(!![]){try{const _0x4e3351=-parseInt(_0x38679b(0x1f0))/0x1+parseInt(_0x38679b(0x208))/0x2*(-parseInt(_0x38679b(0x1fe))/0x3)+parseInt(_0x38679b(0x1ff))/0x4*(parseInt(_0x38679b(0x1db))/0x5)+-parseInt(_0x38679b(0x1dc))/0x6*(-parseInt(_0x38679b(0x1d8))/0x7)+parseInt(_0x38679b(0x205))/0x8+-parseInt(_0x38679b(0x212))/0x9*(parseInt(_0x38679b(0x1fa))/0xa)+parseInt(_0x38679b(0x1f9))/0xb;if(_0x4e3351===_0x2375e7)break;else _0xafbce6['push'](_0xafbce6['shift']());}catch(_0x1d4f06){_0xafbce6['push'](_0xafbce6['shift']());}}}(_0x11dd,0xe704d));import{ButtonView as _0x17c116,View as _0x16c41f,ViewCollection as _0x28ff5a,FocusCycler as _0x77cb40}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4edfc2,KeystrokeHandler as _0xc90f1f}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x16311a,IconPreviousArrow as _0x30c27c}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x5d60b0}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x3015d7}from'./aiballoondisclaimerview.js';import{getTranslation as _0x102fc4}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x534792(0x1e2),_0x534792(0x202),_0x534792(0x20c),_0x534792(0x1e4)];export class AIBalloonView extends _0x16c41f{[_0x534792(0x1fc)];[_0x534792(0x20d)];[_0x534792(0x203)];[_0x534792(0x201)];[_0x534792(0x1ed)];constructor(_0x24e7c3,_0x15f83e,_0xb0c9ad,_0x4ab474){const _0xa65812=_0x534792;super(_0x24e7c3),this[_0xa65812(0x201)]=_0xb0c9ad,this[_0xa65812(0x1e3)](_0xa65812(0x209),!0x1),this[_0xa65812(0x1e3)](_0xa65812(0x215),_0x4ab474),this[_0xa65812(0x1fc)]=new _0x4edfc2(),this[_0xa65812(0x20d)]=new _0xc90f1f(),this[_0xa65812(0x1ed)]=this[_0xa65812(0x1de)](),this[_0xa65812(0x203)]=new _0x77cb40({'focusables':this[_0xa65812(0x1ed)],'focusTracker':this[_0xa65812(0x1fc)],'keystrokeHandler':this[_0xa65812(0x20d)],'actions':{'focusPrevious':_0xa65812(0x200),'focusNext':_0xa65812(0x20b)}}),this[_0xa65812(0x211)]=new _0x28ff5a(),this[_0xa65812(0x213)](_0x15f83e[_0xa65812(0x1f8)]),this[_0xa65812(0x1ef)](),this[_0xa65812(0x1df)](_0x15f83e[_0xa65812(0x1eb)],_0x15f83e[_0xa65812(0x1fd)]),this[_0xa65812(0x217)][_0xa65812(0x1fb)](_0xa65812(0x209))['to'](this),this[_0xa65812(0x1ed)][_0xa65812(0x1e6)](),this[_0xa65812(0x1ed)][_0xa65812(0x214)]([this[_0xa65812(0x217)]]),this[_0xa65812(0x204)]({'tag':_0xa65812(0x1e5),'attributes':{'class':_0xa65812(0x1e9)},'children':this[_0xa65812(0x211)]}),this[_0xa65812(0x1e7)](this,_0xa65812(0x20e),()=>{const _0x5bd2a7=_0xa65812;this[_0x5bd2a7(0x211)][_0x5bd2a7(0x1e1)](this[_0x5bd2a7(0x217)]),this[_0x5bd2a7(0x1df)](_0x15f83e[_0x5bd2a7(0x1eb)],_0x15f83e[_0x5bd2a7(0x1fd)]);});}[_0x534792(0x1e0)](){const _0x42b498=_0x534792;super[_0x42b498(0x1e0)]();for(const _0x377c27 of this[_0x42b498(0x1ed)])this[_0x42b498(0x1fc)][_0x42b498(0x1f7)](_0x377c27[_0x42b498(0x1f2)]);this[_0x42b498(0x20d)][_0x42b498(0x1e7)](this[_0x42b498(0x1f2)]);}[_0x534792(0x1f3)](_0x77e1e0){const _0xf6b2be=_0x534792;-0x1===_0x77e1e0?this[_0xf6b2be(0x203)][_0xf6b2be(0x210)]():this[_0xf6b2be(0x203)][_0xf6b2be(0x1d5)]();}[_0x534792(0x20a)](){const _0x363b8b=_0x534792;this[_0x363b8b(0x209)]=!0x0;}[_0x534792(0x20f)](){const _0x4cebac=_0x534792;this[_0x4cebac(0x209)]=!0x1;}[_0x534792(0x1f1)](_0x16c98e){const _0x48f124=_0x534792,_0x572d82=this[_0x48f124(0x1d9)](),_0x5346d4=this[_0x48f124(0x1ec)]();_0x16c98e[_0x48f124(0x1da)][_0x48f124(0x1d6)][_0x48f124(0x1f4)][_0x48f124(0x1f7)](_0x572d82,0x2),_0x16c98e[_0x48f124(0x1da)][_0x48f124(0x1d6)][_0x48f124(0x1f4)][_0x48f124(0x1f7)](_0x5346d4,0x0),this[_0x48f124(0x1ed)][_0x48f124(0x214)]([_0x572d82,_0x5346d4]),this[_0x48f124(0x1fc)][_0x48f124(0x1f7)](_0x572d82[_0x48f124(0x1f2)]),this[_0x48f124(0x1fc)][_0x48f124(0x1f7)](_0x5346d4[_0x48f124(0x1f2)]);}[_0x534792(0x213)](_0x17bd2f){const _0x46b487=_0x534792;this[_0x46b487(0x1dd)]=_0x17bd2f,this[_0x46b487(0x211)][_0x46b487(0x1f7)](this[_0x46b487(0x1dd)]);}[_0x534792(0x1ef)](){const _0x570735=_0x534792;this[_0x570735(0x1f6)]=new _0x3015d7(this[_0x570735(0x1f5)]),this[_0x570735(0x211)][_0x570735(0x1f7)](this[_0x570735(0x1f6)]);}[_0x534792(0x1df)](_0x142482=!0x0,_0x4ac955=!0x0){const _0x285088=_0x534792;_0x142482=_0x142482&&!this[_0x285088(0x215)]&&this[_0x285088(0x201)][_0x285088(0x216)](_0x285088(0x1e2)),_0x4ac955=_0x4ac955&&this[_0x285088(0x201)][_0x285088(0x216)](_0x285088(0x202)),this[_0x285088(0x217)]=new _0x5d60b0(this[_0x285088(0x1f5)],_0x142482,_0x4ac955),this[_0x285088(0x217)][_0x285088(0x207)]?.['on'](_0x285088(0x1e8),()=>{const _0x2a1bc4=_0x285088;this[_0x2a1bc4(0x1ee)](_0x2a1bc4(0x1e2));}),this[_0x285088(0x217)][_0x285088(0x206)]?.['on'](_0x285088(0x1e8),()=>{const _0x5845f6=_0x285088;this[_0x5845f6(0x1ee)](_0x5845f6(0x202));}),this[_0x285088(0x211)][_0x285088(0x1f7)](this[_0x285088(0x217)]);}[_0x534792(0x1d9)](){const _0x515337=_0x534792,_0x1299a6=new _0x17c116(this[_0x515337(0x1f5)]);return _0x1299a6[_0x515337(0x1e3)]({'icon':_0x16311a,'tooltip':_0x102fc4(this[_0x515337(0x1f5)],_0x515337(0x1ea))}),_0x1299a6['on'](_0x515337(0x1e8),()=>{const _0x5f14e4=_0x515337;this[_0x5f14e4(0x1ee)](_0x5f14e4(0x20c));}),_0x1299a6;}[_0x534792(0x1ec)](){const _0x2ab95a=_0x534792,_0x501d9e=new _0x17c116(this[_0x2ab95a(0x1f5)]);return _0x501d9e[_0x2ab95a(0x1e3)]({'icon':_0x30c27c,'tooltip':_0x102fc4(this[_0x2ab95a(0x1f5)],_0x2ab95a(0x1d7))}),_0x501d9e['on'](_0x2ab95a(0x1e8),()=>{const _0x40677c=_0x2ab95a;this[_0x40677c(0x1ee)](_0x40677c(0x1e4));}),_0x501d9e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x33bc70=_0x4422;(function(_0x2f9fd9,_0x57d55d){var _0x13ac43=_0x4422,_0x4cc256=_0x2f9fd9();while(!![]){try{var _0x21b0a2=parseInt(_0x13ac43(0x132))/0x1+-parseInt(_0x13ac43(0x141))/0x2*(parseInt(_0x13ac43(0x13c))/0x3)+-parseInt(_0x13ac43(0x135))/0x4*(parseInt(_0x13ac43(0x143))/0x5)+-parseInt(_0x13ac43(0x146))/0x6+parseInt(_0x13ac43(0x13b))/0x7+parseInt(_0x13ac43(0x139))/0x8+-parseInt(_0x13ac43(0x13a))/0x9*(-parseInt(_0x13ac43(0x147))/0xa);if(_0x21b0a2===_0x57d55d)break;else _0x4cc256['push'](_0x4cc256['shift']());}catch(_0x501b9f){_0x4cc256['push'](_0x4cc256['shift']());}}}(_0x331c,0xb96bb));import{ContextPlugin as _0x4620b6}from'ckeditor5/src/core.js';function _0x331c(){var _0x2e2355=['3KYlUPg','isOfficialPlugin','get','config','sendMessage','457912KDIyHi','focusPromptInput','718845hxfwGR','requires','ai.chat.context','3885438zAwdDX','1539030tnduuq','AIChat','addSelectionToChatContext','plugins','ai.chat.models','define','405914rgVJRH','startConversation','isPremiumPlugin','20BGISaS','pluginName','context','removeSelectionFromChatContext','9241336wFXhBK','36KeSWKy','1247148lLIUhN'];_0x331c=function(){return _0x2e2355;};return _0x331c();}import{AIChatController as _0x3ccfff}from'./aichatcontroller.js';function _0x4422(_0x3acc21,_0x145c45){var _0x331c88=_0x331c();return _0x4422=function(_0x4422ac,_0x2225c0){_0x4422ac=_0x4422ac-0x132;var _0x164c75=_0x331c88[_0x4422ac];return _0x164c75;},_0x4422(_0x3acc21,_0x145c45);}import{AIEditing as _0x1ef051}from'../aicore/aiediting.js';import{AIChatUI as _0x5593aa}from'./aichatui.js';import{AIChatHistory as _0x5247b0}from'../aichathistory/aichathistory.js';export class AIChat extends _0x4620b6{static get[_0x33bc70(0x144)](){return[_0x3ccfff,_0x1ef051,_0x5593aa,_0x5247b0];}static get[_0x33bc70(0x136)](){var _0x3be9ba=_0x33bc70;return _0x3be9ba(0x148);}static get[_0x33bc70(0x13d)](){return!0x0;}static get[_0x33bc70(0x134)](){return!0x0;}constructor(_0x549aaa){var _0x3dbbb9=_0x33bc70;super(_0x549aaa),this[_0x3dbbb9(0x137)][_0x3dbbb9(0x13f)][_0x3dbbb9(0x14c)](_0x3dbbb9(0x145),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x3dbbb9(0x137)][_0x3dbbb9(0x13f)][_0x3dbbb9(0x14c)](_0x3dbbb9(0x14b),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x33bc70(0x149)](){var _0x564f22=_0x33bc70;await this[_0x564f22(0x137)][_0x564f22(0x14a)][_0x564f22(0x13e)](_0x3ccfff)[_0x564f22(0x149)]();}async[_0x33bc70(0x133)](){var _0x5e5140=_0x33bc70;await this[_0x5e5140(0x137)][_0x5e5140(0x14a)][_0x5e5140(0x13e)](_0x3ccfff)[_0x5e5140(0x133)]();}async[_0x33bc70(0x140)]({message:_0x3132a5,quickActionData:_0x31c9e3}){var _0x51c0b5=_0x33bc70;await this[_0x51c0b5(0x137)][_0x51c0b5(0x14a)][_0x51c0b5(0x13e)](_0x3ccfff)[_0x51c0b5(0x140)]({'message':_0x3132a5,'quickActionData':_0x31c9e3});}[_0x33bc70(0x138)](){var _0x1eba6f=_0x33bc70;this[_0x1eba6f(0x137)][_0x1eba6f(0x14a)][_0x1eba6f(0x13e)](_0x3ccfff)[_0x1eba6f(0x138)]();}[_0x33bc70(0x142)](){var _0x4e9beb=_0x33bc70;this[_0x4e9beb(0x137)][_0x4e9beb(0x14a)][_0x4e9beb(0x13e)](_0x3ccfff)[_0x4e9beb(0x142)]();}}
23
+ var _0x103e37=_0x3022;(function(_0x1de653,_0x2423cb){var _0x30efa2=_0x3022,_0x4afa4c=_0x1de653();while(!![]){try{var _0x501169=parseInt(_0x30efa2(0x181))/0x1+parseInt(_0x30efa2(0x183))/0x2+parseInt(_0x30efa2(0x179))/0x3+-parseInt(_0x30efa2(0x190))/0x4+parseInt(_0x30efa2(0x18c))/0x5+-parseInt(_0x30efa2(0x17b))/0x6*(parseInt(_0x30efa2(0x18b))/0x7)+-parseInt(_0x30efa2(0x182))/0x8;if(_0x501169===_0x2423cb)break;else _0x4afa4c['push'](_0x4afa4c['shift']());}catch(_0x3a4fdd){_0x4afa4c['push'](_0x4afa4c['shift']());}}}(_0x4326,0x38f67));import{ContextPlugin as _0xb29108}from'ckeditor5/src/core.js';import{AIChatController as _0xeb99b3}from'./aichatcontroller.js';function _0x4326(){var _0x1e0f97=['requires','119225apNGwc','844608snngfd','484702Hjecgz','removeSelectionFromChatContext','context','isOfficialPlugin','startConversation','AIChat','ai.chat.models','define','21xqCHEW','1100080rULIBS','isPremiumPlugin','focusPromptInput','plugins','747908oejRdu','ai.chat.context','459078RatFtO','config','417492UfTOYo','pluginName','get','sendMessage','addSelectionToChatContext'];_0x4326=function(){return _0x1e0f97;};return _0x4326();}function _0x3022(_0x5202ff,_0x1f123a){var _0x43268e=_0x4326();return _0x3022=function(_0x3022a5,_0x3525fb){_0x3022a5=_0x3022a5-0x178;var _0x4e8432=_0x43268e[_0x3022a5];return _0x4e8432;},_0x3022(_0x5202ff,_0x1f123a);}import{AIEditing as _0x1f2279}from'../aicore/aiediting.js';import{AIChatUI as _0xea0436}from'./aichatui.js';import{AIChatHistory as _0x27fe11}from'../aichathistory/aichathistory.js';export class AIChat extends _0xb29108{static get[_0x103e37(0x180)](){return[_0xeb99b3,_0x1f2279,_0xea0436,_0x27fe11];}static get[_0x103e37(0x17c)](){var _0x512eed=_0x103e37;return _0x512eed(0x188);}static get[_0x103e37(0x186)](){return!0x0;}static get[_0x103e37(0x18d)](){return!0x0;}constructor(_0x2bfdb6){var _0x48796e=_0x103e37;super(_0x2bfdb6),this[_0x48796e(0x185)][_0x48796e(0x17a)][_0x48796e(0x18a)](_0x48796e(0x178),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x48796e(0x185)][_0x48796e(0x17a)][_0x48796e(0x18a)](_0x48796e(0x189),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x103e37(0x17f)](){var _0x2de138=_0x103e37;await this[_0x2de138(0x185)][_0x2de138(0x18f)][_0x2de138(0x17d)](_0xeb99b3)[_0x2de138(0x17f)]();}async[_0x103e37(0x187)](){var _0xe3f217=_0x103e37;await this[_0xe3f217(0x185)][_0xe3f217(0x18f)][_0xe3f217(0x17d)](_0xeb99b3)[_0xe3f217(0x187)]();}async[_0x103e37(0x17e)]({message:_0x51e84b,quickActionData:_0xaaedfb}){var _0x3f5e31=_0x103e37;await this[_0x3f5e31(0x185)][_0x3f5e31(0x18f)][_0x3f5e31(0x17d)](_0xeb99b3)[_0x3f5e31(0x17e)]({'message':_0x51e84b,'quickActionData':_0xaaedfb});}[_0x103e37(0x184)](){var _0x375e21=_0x103e37;this[_0x375e21(0x185)][_0x375e21(0x18f)][_0x375e21(0x17d)](_0xeb99b3)[_0x375e21(0x184)]();}[_0x103e37(0x18e)](){var _0x225f0b=_0x103e37;this[_0x225f0b(0x185)][_0x225f0b(0x18f)][_0x225f0b(0x17d)](_0xeb99b3)[_0x225f0b(0x18e)]();}}