@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 47.4.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  56. package/src/aichat/utils/promisequeue.js +1 -1
  57. package/src/aichathistory/aichathistory.js +1 -1
  58. package/src/aichathistory/aichathistorycontroller.js +1 -1
  59. package/src/aichathistory/aichathistoryui.js +1 -1
  60. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  61. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  62. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  63. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  64. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  65. package/src/aicore/aiconnector.js +1 -1
  66. package/src/aicore/aiediting.js +1 -1
  67. package/src/aicore/model/aicapabilities.js +1 -1
  68. package/src/aicore/model/aiinteraction.js +1 -1
  69. package/src/aicore/model/aimodels.js +1 -1
  70. package/src/aicore/model/aireply.js +1 -1
  71. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  72. package/src/aicore/pipeline/airesponseparser.js +2 -2
  73. package/src/aicore/ui/aidisclaimerview.js +1 -1
  74. package/src/aicore/ui/aiskeleton.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  77. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  80. package/src/aicore/utils/createresizebutton.js +1 -1
  81. package/src/aicore/utils/documentrange.js +1 -1
  82. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  83. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  84. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  85. package/src/aicore/utils/htmlparser.js +1 -1
  86. package/src/aicore/utils/htmlstreamer.js +1 -1
  87. package/src/aieditorintegration/aieditorintegration.js +1 -1
  88. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  89. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  90. package/src/aiquickactions/aiquickactions.js +1 -1
  91. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  92. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  93. package/src/aiquickactions/aiquickactionsui.js +1 -1
  94. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  95. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  96. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  97. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  98. package/src/aireviewmode/aireviewmode.js +1 -1
  99. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  100. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  101. package/src/aireviewmode/aireviewmodeui.js +1 -1
  102. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  103. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  104. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  105. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  106. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  107. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  108. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  115. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  116. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  117. package/src/aitabs/aitabs.js +1 -1
  118. package/src/aitabs/tabs/aitabsview.js +1 -1
  119. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  120. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x763bab=_0x1f6d;(function(_0x31ef29,_0x1be33e){const _0x2316b3=_0x1f6d,_0x1f148f=_0x31ef29();while(!![]){try{const _0x17ca9a=parseInt(_0x2316b3(0xfe))/0x1*(parseInt(_0x2316b3(0x139))/0x2)+parseInt(_0x2316b3(0x147))/0x3+-parseInt(_0x2316b3(0x121))/0x4+parseInt(_0x2316b3(0x102))/0x5*(parseInt(_0x2316b3(0x12e))/0x6)+parseInt(_0x2316b3(0xf5))/0x7+-parseInt(_0x2316b3(0x13f))/0x8+-parseInt(_0x2316b3(0xf9))/0x9;if(_0x17ca9a===_0x1be33e)break;else _0x1f148f['push'](_0x1f148f['shift']());}catch(_0x3933ae){_0x1f148f['push'](_0x1f148f['shift']());}}}(_0x3072,0x644fc));import{FocusTracker as _0x38dd4d,KeystrokeHandler as _0x58e601}from'ckeditor5/src/utils.js';import{View as _0x52a94b,FocusCycler as _0x218680,createLabeledTextarea as _0x212a31}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x7c8662,AIFormToolbarViewMainActionLabel as _0x2ed0e6}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x391617}from'./aiformcontentarea.js';import{AIFormErrorView as _0x2b2f81}from'./aiformerrorview.js';function _0x1f6d(_0x632535,_0x41e65a){const _0x3072f0=_0x3072();return _0x1f6d=function(_0x1f6dee,_0x4d4d86){_0x1f6dee=_0x1f6dee-0xf4;let _0x21cb58=_0x3072f0[_0x1f6dee];return _0x21cb58;},_0x1f6d(_0x632535,_0x41e65a);}import{AIFormPromptView as _0x4e32e4}from'./aiformpromptview.js';import{AIHistoryListView as _0x4404e5}from'./aihistorylistview.js';function _0x3072(){const _0x1c56c1=['bindTemplate','submitPrompt','listenTo','Empty\x20history','value','focusCycler','handleError','items','_createHistoryView','insertContentBelow','label','promptView','chain','queryView','tryAgainEvent','tryAgainButton','locale','stopProcessing','fieldView','shift\x20+\x20tab','mainAction','fire','replaceContent','ck-hidden','focus','clear','high','_focusables','973592HfmBzP','createCollection','clearHistory','isEnabled','focusLast','Ask\x20AI\x20to\x20improve\x20generated\x20text','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','element','REPLACE','AI_ERROR_FAILED','historyGroupView','delegate','focusFirst','258slIxDq','replaceButton','toolbar','isVisible','bind','execute','search','bindTo','tab','contentArea','insertButton','7210xYnpqk','render','set','ck-ai-form','setTemplate','isError','4530144zfVhQh','text','keystrokes','errorView','ck-ai-form-content','reset','_createToolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','992136QYgfVJ','copyButtonView','385812wUMbLO','_promptHistory','div','trim','3345570eDvwAX','_createPromptView','isProcessing','startProcessing','focusTracker','173sOrwWm','add','prompt','finishProcessing','67765WPQzwY','submit','stopButton'];_0x3072=function(){return _0x1c56c1;};return _0x3072();}import{AIHistoryListItemView as _0x23dd69}from'./aihistorylistitemview.js';import{PromptHistory as _0x44f7c9}from'./prompthistory.js';import{getTranslation as _0x54571b}from'../../utils/common-translations.js';import{escape as _0x361a13}from'es-toolkit/compat';export class AIFormView extends _0x52a94b{[_0x763bab(0xfd)];[_0x763bab(0x141)];[_0x763bab(0x137)];[_0x763bab(0x130)];[_0x763bab(0x110)];[_0x763bab(0x142)];[_0x763bab(0x120)];[_0x763bab(0x10a)];[_0x763bab(0xf6)];constructor(_0x33e4cd,_0xb9b401,_0x160496=''){const _0x5ade05=_0x763bab;super(_0x33e4cd),this[_0x5ade05(0x13b)](_0x5ade05(0x124),!0x0),this[_0x5ade05(0x13b)](_0x5ade05(0xfb),!0x1),this[_0x5ade05(0x13b)](_0x5ade05(0x100),''),this[_0x5ade05(0x13b)](_0x5ade05(0x109),''),this[_0x5ade05(0x13b)](_0x5ade05(0x13e),!0x1),this[_0x5ade05(0x13b)](_0x5ade05(0x119),_0x2ed0e6[_0x5ade05(0x129)]),this[_0x5ade05(0xf6)]=new _0x44f7c9(),this[_0x5ade05(0x142)]=new _0x2b2f81(_0x33e4cd),this[_0x5ade05(0x137)]=new _0x391617(_0x33e4cd,_0x160496),this[_0x5ade05(0x137)][_0x5ade05(0x132)](_0x5ade05(0xfb))['to'](this),this[_0x5ade05(0x137)][_0x5ade05(0x132)](_0x5ade05(0x109))['to'](this),this[_0x5ade05(0x130)]=this[_0x5ade05(0x145)](),this[_0x5ade05(0x130)][_0x5ade05(0x132)](_0x5ade05(0x119))['to'](this),this[_0x5ade05(0x110)]=this[_0x5ade05(0xfa)](),this[_0x5ade05(0xfd)]=new _0x38dd4d(),this[_0x5ade05(0x141)]=new _0x58e601(),this[_0x5ade05(0x120)]=this[_0x5ade05(0x122)]([this[_0x5ade05(0x137)],this[_0x5ade05(0x137)][_0x5ade05(0xf4)],this[_0x5ade05(0x130)],this[_0x5ade05(0x110)]]),this[_0x5ade05(0x10a)]=new _0x218680({'focusables':this[_0x5ade05(0x120)],'focusTracker':this[_0x5ade05(0xfd)],'keystrokeHandler':this[_0x5ade05(0x141)],'actions':{'focusPrevious':_0x5ade05(0x118),'focusNext':_0x5ade05(0x136)}}),this[_0x5ade05(0x10a)][_0x5ade05(0x111)](this[_0x5ade05(0x110)][_0x5ade05(0x10a)]),this[_0x5ade05(0x110)][_0x5ade05(0x112)][_0x5ade05(0x117)][_0x5ade05(0x132)](_0x5ade05(0x109))['to'](this,_0x5ade05(0x100));const _0x4a1492=this[_0x5ade05(0x105)];this[_0x5ade05(0x13d)]({'tag':_0x5ade05(0xf7),'attributes':{'class':['ck',_0x5ade05(0x13c),_0xb9b401],'tabindex':'-1'},'children':[{'tag':_0x5ade05(0xf7),'attributes':{'class':['ck',_0x5ade05(0x143)]},'children':[{'tag':_0x5ade05(0xf7),'attributes':{'class':[_0x4a1492['if'](_0x5ade05(0x13e),_0x5ade05(0x11c),_0x20936b=>!_0x20936b)]},'children':[this[_0x5ade05(0x142)]]},this[_0x5ade05(0x137)],this[_0x5ade05(0x130)],this[_0x5ade05(0x110)]]}]});}[_0x763bab(0x13a)](){const _0x40b25a=_0x763bab;super[_0x40b25a(0x13a)](),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x137)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x137)][_0x40b25a(0xf4)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x130)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x110)][_0x40b25a(0x128)]),this[_0x40b25a(0x141)][_0x40b25a(0x107)](this[_0x40b25a(0x128)]);}[_0x763bab(0x11d)](_0x57d3ac=0x1){const _0x250fdf=_0x763bab;-0x1===_0x57d3ac?this[_0x250fdf(0x10a)][_0x250fdf(0x125)]():this[_0x250fdf(0x10a)][_0x250fdf(0x12d)]();}[_0x763bab(0x144)](){const _0x47e74b=_0x763bab;this[_0x47e74b(0x100)]='',this[_0x47e74b(0x109)]='',this[_0x47e74b(0x13e)]=!0x1,this[_0x47e74b(0x110)][_0x47e74b(0x144)](),this[_0x47e74b(0x137)][_0x47e74b(0x131)]=!0x1,this[_0x47e74b(0x130)][_0x47e74b(0x131)]=!0x1;}[_0x763bab(0xfa)](){const _0x53b85c=_0x763bab,_0x46da0e=this[_0x53b85c(0x115)],_0x211d86=new _0x4e32e4(_0x46da0e,{'queryView':{'label':_0x54571b(_0x46da0e,_0x53b85c(0x146)),'creator':_0x212a31,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x54571b(_0x46da0e,_0x53b85c(0x108)),'secondary':_0x54571b(_0x46da0e,_0x53b85c(0x127))}}},'filteredView':this[_0x53b85c(0x10d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x211d86[_0x53b85c(0x132)](_0x53b85c(0x124))['to'](this,_0x53b85c(0x124),this,_0x53b85c(0xfb),(_0x51989c,_0x59eacf)=>_0x51989c&&!_0x59eacf),this[_0x53b85c(0x107)](_0x211d86,_0x53b85c(0x103),(_0x492635,_0x252938)=>{const _0x49206b=_0x53b85c;this[_0x49206b(0x100)]=_0x252938;const _0x4e079a=_0x361a13(_0x252938);this[_0x49206b(0x11a)](_0x49206b(0x106),_0x4e079a),_0x252938[_0x49206b(0xf8)]()&&this[_0x49206b(0xf6)][_0x49206b(0xff)]({'prompt':_0x4e079a},0x0);},{'priority':_0x53b85c(0x11f)}),_0x211d86;}[_0x763bab(0x10d)](){const _0x1fc472=_0x763bab,_0x3a6040=new _0x4404e5(this[_0x1fc472(0x115)]);return _0x3a6040[_0x1fc472(0x12b)][_0x1fc472(0x10c)][_0x1fc472(0x135)](this[_0x1fc472(0xf6)])['as'](_0x23dd69),_0x3a6040['on'](_0x1fc472(0x123),()=>{const _0x4b02dd=_0x1fc472;this[_0x4b02dd(0xf6)][_0x4b02dd(0x11e)](),this[_0x4b02dd(0x110)][_0x4b02dd(0x134)](''),this[_0x4b02dd(0x110)][_0x4b02dd(0x11d)]();}),_0x3a6040;}[_0x763bab(0x145)](){const _0x4c3db8=_0x763bab,_0x15e47d=new _0x7c8662(this[_0x4c3db8(0x115)]);return _0x15e47d[_0x4c3db8(0x12f)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),this,_0x4c3db8(0x109),(_0x328d27,_0x530234,_0x5a173b)=>_0x328d27&&!_0x530234&&!!_0x5a173b),_0x15e47d[_0x4c3db8(0x12f)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x11b)),_0x15e47d[_0x4c3db8(0x138)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),this,_0x4c3db8(0x109),(_0x3dbea6,_0x2c8889,_0x2fc145)=>_0x3dbea6&&!_0x2c8889&&!!_0x2fc145),_0x15e47d[_0x4c3db8(0x138)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x10e)),_0x15e47d[_0x4c3db8(0x114)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),(_0xb84f47,_0x57cee2)=>_0xb84f47&&!_0x57cee2),_0x15e47d[_0x4c3db8(0x114)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x113)),_0x15e47d[_0x4c3db8(0x104)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0xfb)),_0x15e47d[_0x4c3db8(0x104)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x116)),_0x15e47d;}[_0x763bab(0xfc)](){const _0x419a4b=_0x763bab;this[_0x419a4b(0x109)]='',this[_0x419a4b(0x13e)]=!0x1,this[_0x419a4b(0xfb)]=!0x0,this[_0x419a4b(0x137)][_0x419a4b(0x131)]=!0x0,this[_0x419a4b(0x130)][_0x419a4b(0x131)]=!0x0,this[_0x419a4b(0x137)][_0x419a4b(0x11d)]();}[_0x763bab(0x101)](){const _0x28ae1b=_0x763bab,_0x5ae24c=this[_0x28ae1b(0x115)];this[_0x28ae1b(0xfb)]=!0x1,this[_0x28ae1b(0x100)]='',this[_0x28ae1b(0x110)][_0x28ae1b(0x144)](),this[_0x28ae1b(0x109)]&&(this[_0x28ae1b(0x110)][_0x28ae1b(0x112)][_0x28ae1b(0x10f)]=_0x54571b(_0x5ae24c,_0x28ae1b(0x126)));}[_0x763bab(0x10b)](_0x733298){const _0x464300=_0x763bab,_0x3ea6e3=this[_0x464300(0x115)];this[_0x464300(0x101)](),this[_0x464300(0x13e)]=!0x0,this[_0x464300(0x142)][_0x464300(0x140)]=_0x733298||_0x54571b(_0x3ea6e3,_0x464300(0x12a)),this[_0x464300(0x109)]||(this[_0x464300(0x137)][_0x464300(0x131)]=!0x1);}}
23
+ const _0x2d32c7=_0x1745;(function(_0x2c275f,_0x245c8d){const _0x22f9d1=_0x1745,_0x46c871=_0x2c275f();while(!![]){try{const _0x55767b=parseInt(_0x22f9d1(0x1bb))/0x1+parseInt(_0x22f9d1(0x1a8))/0x2+-parseInt(_0x22f9d1(0x1c7))/0x3*(-parseInt(_0x22f9d1(0x189))/0x4)+-parseInt(_0x22f9d1(0x181))/0x5+parseInt(_0x22f9d1(0x1c5))/0x6*(-parseInt(_0x22f9d1(0x196))/0x7)+parseInt(_0x22f9d1(0x1a9))/0x8+parseInt(_0x22f9d1(0x18c))/0x9*(-parseInt(_0x22f9d1(0x184))/0xa);if(_0x55767b===_0x245c8d)break;else _0x46c871['push'](_0x46c871['shift']());}catch(_0x1cddfa){_0x46c871['push'](_0x46c871['shift']());}}}(_0xa56d,0xa7bf5));import{FocusTracker as _0x14b49e,KeystrokeHandler as _0x40d069}from'ckeditor5/src/utils.js';import{View as _0x7e98c2,FocusCycler as _0x4000bf,createLabeledTextarea as _0x289d91}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x26efe7,AIFormToolbarViewMainActionLabel as _0x8662ff}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x295f62}from'./aiformcontentarea.js';import{AIFormErrorView as _0x115bdf}from'./aiformerrorview.js';import{AIFormPromptView as _0x16e129}from'./aiformpromptview.js';function _0x1745(_0x2a3cc0,_0x1db161){const _0xa56de2=_0xa56d();return _0x1745=function(_0x1745be,_0x8b37c7){_0x1745be=_0x1745be-0x17a;let _0x3dc0b4=_0xa56de2[_0x1745be];return _0x3dc0b4;},_0x1745(_0x2a3cc0,_0x1db161);}import{AIHistoryListView as _0x351eb3}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x97744}from'./aihistorylistitemview.js';import{PromptHistory as _0x40c842}from'./prompthistory.js';import{getTranslation as _0x45206a}from'../../utils/common-translations.js';function _0xa56d(){const _0x464810=['contentArea','locale','chain','_focusables','_createPromptView','shift\x20+\x20tab','copyButtonView','isProcessing','clearHistory','4918755paFSbQ','text','toolbar','977950cvcyYd','ck-hidden','fieldView','fire','keystrokes','8KfxALj','delegate','isVisible','63znTIFj','insertContentBelow','Empty\x20history','focus','listenTo','replaceContent','execute','tryAgainButton','focusTracker','stopButton','532nCqvXs','promptView','reset','_createToolbar','queryView','startProcessing','insertButton','historyGroupView','element','Ask\x20AI\x20to\x20improve\x20generated\x20text','ck-ai-form-content','createCollection','isEnabled','set','_promptHistory','replaceButton','isError','value','548958dwKSEZ','6733880HowGtK','finishProcessing','setTemplate','bindTo','high','AI_ERROR_FAILED','items','prompt','div','search','tab','bind','handleError','label','clear','stopProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','submit','1026749sCSbbU','tryAgainEvent','focusFirst','Ask\x20AI\x20to\x20edit\x20or\x20generate','add','bindTemplate','ck-ai-form','focusCycler','errorView','REPLACE','19038NsKZYl','_createHistoryView','680391faxHBE','trim','focusLast','mainAction','submitPrompt','render'];_0xa56d=function(){return _0x464810;};return _0xa56d();}import{escape as _0x3a1709}from'es-toolkit/compat';export class AIFormView extends _0x7e98c2{[_0x2d32c7(0x194)];[_0x2d32c7(0x188)];[_0x2d32c7(0x1cd)];[_0x2d32c7(0x183)];[_0x2d32c7(0x197)];[_0x2d32c7(0x1c3)];[_0x2d32c7(0x17b)];[_0x2d32c7(0x1c2)];[_0x2d32c7(0x1a4)];constructor(_0x1a21f1,_0x1ac542,_0x1f71ce=''){const _0x304904=_0x2d32c7;super(_0x1a21f1),this[_0x304904(0x1a3)](_0x304904(0x1a2),!0x0),this[_0x304904(0x1a3)](_0x304904(0x17f),!0x1),this[_0x304904(0x1a3)](_0x304904(0x1b0),''),this[_0x304904(0x1a3)](_0x304904(0x1a7),''),this[_0x304904(0x1a3)](_0x304904(0x1a6),!0x1),this[_0x304904(0x1a3)](_0x304904(0x1ca),_0x8662ff[_0x304904(0x1c4)]),this[_0x304904(0x1a4)]=new _0x40c842(),this[_0x304904(0x1c3)]=new _0x115bdf(_0x1a21f1),this[_0x304904(0x1cd)]=new _0x295f62(_0x1a21f1,_0x1f71ce),this[_0x304904(0x1cd)][_0x304904(0x1b4)](_0x304904(0x17f))['to'](this),this[_0x304904(0x1cd)][_0x304904(0x1b4)](_0x304904(0x1a7))['to'](this),this[_0x304904(0x183)]=this[_0x304904(0x199)](),this[_0x304904(0x183)][_0x304904(0x1b4)](_0x304904(0x1ca))['to'](this),this[_0x304904(0x197)]=this[_0x304904(0x17c)](),this[_0x304904(0x194)]=new _0x14b49e(),this[_0x304904(0x188)]=new _0x40d069(),this[_0x304904(0x17b)]=this[_0x304904(0x1a1)]([this[_0x304904(0x1cd)],this[_0x304904(0x1cd)][_0x304904(0x17e)],this[_0x304904(0x183)],this[_0x304904(0x197)]]),this[_0x304904(0x1c2)]=new _0x4000bf({'focusables':this[_0x304904(0x17b)],'focusTracker':this[_0x304904(0x194)],'keystrokeHandler':this[_0x304904(0x188)],'actions':{'focusPrevious':_0x304904(0x17d),'focusNext':_0x304904(0x1b3)}}),this[_0x304904(0x1c2)][_0x304904(0x17a)](this[_0x304904(0x197)][_0x304904(0x1c2)]),this[_0x304904(0x197)][_0x304904(0x19a)][_0x304904(0x186)][_0x304904(0x1b4)](_0x304904(0x1a7))['to'](this,_0x304904(0x1b0));const _0x1e837d=this[_0x304904(0x1c0)];this[_0x304904(0x1ab)]({'tag':_0x304904(0x1b1),'attributes':{'class':['ck',_0x304904(0x1c1),_0x1ac542],'tabindex':'-1'},'children':[{'tag':_0x304904(0x1b1),'attributes':{'class':['ck',_0x304904(0x1a0)]},'children':[{'tag':_0x304904(0x1b1),'attributes':{'class':[_0x1e837d['if'](_0x304904(0x1a6),_0x304904(0x185),_0x294c39=>!_0x294c39)]},'children':[this[_0x304904(0x1c3)]]},this[_0x304904(0x1cd)],this[_0x304904(0x183)],this[_0x304904(0x197)]]}]});}[_0x2d32c7(0x1cc)](){const _0xb0ab33=_0x2d32c7;super[_0xb0ab33(0x1cc)](),this[_0xb0ab33(0x194)][_0xb0ab33(0x1bf)](this[_0xb0ab33(0x1cd)][_0xb0ab33(0x19e)]),this[_0xb0ab33(0x194)][_0xb0ab33(0x1bf)](this[_0xb0ab33(0x1cd)][_0xb0ab33(0x17e)][_0xb0ab33(0x19e)]),this[_0xb0ab33(0x194)][_0xb0ab33(0x1bf)](this[_0xb0ab33(0x183)][_0xb0ab33(0x19e)]),this[_0xb0ab33(0x194)][_0xb0ab33(0x1bf)](this[_0xb0ab33(0x197)][_0xb0ab33(0x19e)]),this[_0xb0ab33(0x188)][_0xb0ab33(0x190)](this[_0xb0ab33(0x19e)]);}[_0x2d32c7(0x18f)](_0x39d63a=0x1){const _0x1621cc=_0x2d32c7;-0x1===_0x39d63a?this[_0x1621cc(0x1c2)][_0x1621cc(0x1c9)]():this[_0x1621cc(0x1c2)][_0x1621cc(0x1bd)]();}[_0x2d32c7(0x198)](){const _0x20d70e=_0x2d32c7;this[_0x20d70e(0x1b0)]='',this[_0x20d70e(0x1a7)]='',this[_0x20d70e(0x1a6)]=!0x1,this[_0x20d70e(0x197)][_0x20d70e(0x198)](),this[_0x20d70e(0x1cd)][_0x20d70e(0x18b)]=!0x1,this[_0x20d70e(0x183)][_0x20d70e(0x18b)]=!0x1;}[_0x2d32c7(0x17c)](){const _0x2a5ebd=_0x2d32c7,_0x57877a=this[_0x2a5ebd(0x1ce)],_0x321dea=new _0x16e129(_0x57877a,{'queryView':{'label':_0x45206a(_0x57877a,_0x2a5ebd(0x1be)),'creator':_0x289d91,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x45206a(_0x57877a,_0x2a5ebd(0x18e)),'secondary':_0x45206a(_0x57877a,_0x2a5ebd(0x1b9))}}},'filteredView':this[_0x2a5ebd(0x1c6)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x321dea[_0x2a5ebd(0x1b4)](_0x2a5ebd(0x1a2))['to'](this,_0x2a5ebd(0x1a2),this,_0x2a5ebd(0x17f),(_0x1fcfad,_0x1b66be)=>_0x1fcfad&&!_0x1b66be),this[_0x2a5ebd(0x190)](_0x321dea,_0x2a5ebd(0x1ba),(_0x35861a,_0x323a66)=>{const _0xb45343=_0x2a5ebd;this[_0xb45343(0x1b0)]=_0x323a66;const _0x2e05ef=_0x3a1709(_0x323a66);this[_0xb45343(0x187)](_0xb45343(0x1cb),_0x2e05ef),_0x323a66[_0xb45343(0x1c8)]()&&this[_0xb45343(0x1a4)][_0xb45343(0x1bf)]({'prompt':_0x2e05ef},0x0);},{'priority':_0x2a5ebd(0x1ad)}),_0x321dea;}[_0x2d32c7(0x1c6)](){const _0x39e16c=_0x2d32c7,_0x341d14=new _0x351eb3(this[_0x39e16c(0x1ce)]);return _0x341d14[_0x39e16c(0x19d)][_0x39e16c(0x1af)][_0x39e16c(0x1ac)](this[_0x39e16c(0x1a4)])['as'](_0x97744),_0x341d14['on'](_0x39e16c(0x180),()=>{const _0x246c21=_0x39e16c;this[_0x246c21(0x1a4)][_0x246c21(0x1b7)](),this[_0x246c21(0x197)][_0x246c21(0x1b2)](''),this[_0x246c21(0x197)][_0x246c21(0x18f)]();}),_0x341d14;}[_0x2d32c7(0x199)](){const _0x4ac99b=_0x2d32c7,_0x4b1b7c=new _0x26efe7(this[_0x4ac99b(0x1ce)]);return _0x4b1b7c[_0x4ac99b(0x1a5)][_0x4ac99b(0x1b4)](_0x4ac99b(0x1a2))['to'](this,_0x4ac99b(0x1a2),this,_0x4ac99b(0x17f),this,_0x4ac99b(0x1a7),(_0x1cffa3,_0xdcadf,_0x345a45)=>_0x1cffa3&&!_0xdcadf&&!!_0x345a45),_0x4b1b7c[_0x4ac99b(0x1a5)][_0x4ac99b(0x18a)](_0x4ac99b(0x192))['to'](this,_0x4ac99b(0x191)),_0x4b1b7c[_0x4ac99b(0x19c)][_0x4ac99b(0x1b4)](_0x4ac99b(0x1a2))['to'](this,_0x4ac99b(0x1a2),this,_0x4ac99b(0x17f),this,_0x4ac99b(0x1a7),(_0x44e414,_0x6d5e,_0x29bf98)=>_0x44e414&&!_0x6d5e&&!!_0x29bf98),_0x4b1b7c[_0x4ac99b(0x19c)][_0x4ac99b(0x18a)](_0x4ac99b(0x192))['to'](this,_0x4ac99b(0x18d)),_0x4b1b7c[_0x4ac99b(0x193)][_0x4ac99b(0x1b4)](_0x4ac99b(0x1a2))['to'](this,_0x4ac99b(0x1a2),this,_0x4ac99b(0x17f),(_0x3ab00f,_0x354772)=>_0x3ab00f&&!_0x354772),_0x4b1b7c[_0x4ac99b(0x193)][_0x4ac99b(0x18a)](_0x4ac99b(0x192))['to'](this,_0x4ac99b(0x1bc)),_0x4b1b7c[_0x4ac99b(0x195)][_0x4ac99b(0x1b4)](_0x4ac99b(0x1a2))['to'](this,_0x4ac99b(0x17f)),_0x4b1b7c[_0x4ac99b(0x195)][_0x4ac99b(0x18a)](_0x4ac99b(0x192))['to'](this,_0x4ac99b(0x1b8)),_0x4b1b7c;}[_0x2d32c7(0x19b)](){const _0x33296c=_0x2d32c7;this[_0x33296c(0x1a7)]='',this[_0x33296c(0x1a6)]=!0x1,this[_0x33296c(0x17f)]=!0x0,this[_0x33296c(0x1cd)][_0x33296c(0x18b)]=!0x0,this[_0x33296c(0x183)][_0x33296c(0x18b)]=!0x0,this[_0x33296c(0x1cd)][_0x33296c(0x18f)]();}[_0x2d32c7(0x1aa)](){const _0x4b3a7a=_0x2d32c7,_0x19b6ed=this[_0x4b3a7a(0x1ce)];this[_0x4b3a7a(0x17f)]=!0x1,this[_0x4b3a7a(0x1b0)]='',this[_0x4b3a7a(0x197)][_0x4b3a7a(0x198)](),this[_0x4b3a7a(0x1a7)]&&(this[_0x4b3a7a(0x197)][_0x4b3a7a(0x19a)][_0x4b3a7a(0x1b6)]=_0x45206a(_0x19b6ed,_0x4b3a7a(0x19f)));}[_0x2d32c7(0x1b5)](_0x4c1f10){const _0x977930=_0x2d32c7,_0x4d6743=this[_0x977930(0x1ce)];this[_0x977930(0x1aa)](),this[_0x977930(0x1a6)]=!0x0,this[_0x977930(0x1c3)][_0x977930(0x182)]=_0x4c1f10||_0x45206a(_0x4d6743,_0x977930(0x1ae)),this[_0x977930(0x1a7)]||(this[_0x977930(0x1cd)][_0x977930(0x18b)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x404d(){const _0x3e44c3=['2949357nSyMWz','fire','224sgElAp','children','execute','251378gPFAek','422487aULMOr','35VRhdCU','add','locale','1225440BnkXpC','53011FraRKL','70VPbMXU','298772ZbQbKa','prompt','set','1081158nxuQkI'];_0x404d=function(){return _0x3e44c3;};return _0x404d();}(function(_0x1f9be2,_0x4f00e9){const _0x40c0ac=_0x568b,_0x3ad03c=_0x1f9be2();while(!![]){try{const _0x1ae970=parseInt(_0x40c0ac(0x1da))/0x1+-parseInt(_0x40c0ac(0x1d4))/0x2+parseInt(_0x40c0ac(0x1d5))/0x3+parseInt(_0x40c0ac(0x1e2))/0x4*(-parseInt(_0x40c0ac(0x1dc))/0x5)+-parseInt(_0x40c0ac(0x1df))/0x6+-parseInt(_0x40c0ac(0x1e0))/0x7*(-parseInt(_0x40c0ac(0x1d7))/0x8)+-parseInt(_0x40c0ac(0x1db))/0x9*(-parseInt(_0x40c0ac(0x1e1))/0xa);if(_0x1ae970===_0x4f00e9)break;else _0x3ad03c['push'](_0x3ad03c['shift']());}catch(_0x5553cc){_0x3ad03c['push'](_0x3ad03c['shift']());}}}(_0x404d,0x7be50));import{ListItemView as _0x204e20,ButtonView as _0x4a0f13,ButtonLabelView as _0x462a3f}from'ckeditor5/src/ui.js';import{unescape as _0x2fa3da}from'es-toolkit/compat';function _0x568b(_0x3f1226,_0x508184){const _0x404dbb=_0x404d();return _0x568b=function(_0x568b19,_0x4636cd){_0x568b19=_0x568b19-0x1d2;let _0x4c930d=_0x404dbb[_0x568b19];return _0x4c930d;},_0x568b(_0x3f1226,_0x508184);}export class AIHistoryListItemView extends _0x204e20{constructor(_0xe13b9c){const _0x492d42=_0x568b;super();const _0x75f270=new _0x462a3f(),_0x527adb=new _0x4a0f13(this[_0x492d42(0x1de)],_0x75f270);this[_0x492d42(0x1d8)][_0x492d42(0x1dd)](_0x527adb),_0x527adb[_0x492d42(0x1d3)]({'label':_0xe13b9c[_0x492d42(0x1d2)],'withText':!0x0}),_0x527adb['on'](_0x492d42(0x1d9),()=>{const _0x5ae228=_0x492d42;this[_0x5ae228(0x1d6)](_0x5ae228(0x1d9),{'value':_0x2fa3da(_0xe13b9c[_0x5ae228(0x1d2)])});});}}
23
+ function _0x3b35(){const _0x3a37a1=['fire','474KdqGFT','11BZAPeq','set','add','2720070RPpyGJ','9TfKDwM','children','954020HPJChp','prompt','6OdAjzG','1104467PRexSL','197380dwSazl','124840Htfbbv','locale','execute','1710024nUyRRp','3545vszfep'];_0x3b35=function(){return _0x3a37a1;};return _0x3b35();}(function(_0x54aa92,_0x3e51a5){const _0xd45b67=_0x140f,_0x157fad=_0x54aa92();while(!![]){try{const _0x32e386=-parseInt(_0xd45b67(0x198))/0x1+parseInt(_0xd45b67(0x199))/0x2*(-parseInt(_0xd45b67(0x196))/0x3)+-parseInt(_0xd45b67(0x194))/0x4+-parseInt(_0xd45b67(0x18b))/0x5*(-parseInt(_0xd45b67(0x18d))/0x6)+parseInt(_0xd45b67(0x197))/0x7+-parseInt(_0xd45b67(0x18a))/0x8*(-parseInt(_0xd45b67(0x192))/0x9)+-parseInt(_0xd45b67(0x191))/0xa*(-parseInt(_0xd45b67(0x18e))/0xb);if(_0x32e386===_0x3e51a5)break;else _0x157fad['push'](_0x157fad['shift']());}catch(_0x1cb4d2){_0x157fad['push'](_0x157fad['shift']());}}}(_0x3b35,0x21e4b));function _0x140f(_0x4057a8,_0x1b78ce){const _0x3b3541=_0x3b35();return _0x140f=function(_0x140f68,_0x112373){_0x140f68=_0x140f68-0x18a;let _0x497ab6=_0x3b3541[_0x140f68];return _0x497ab6;},_0x140f(_0x4057a8,_0x1b78ce);}import{ListItemView as _0x183b50,ButtonView as _0x397bed,ButtonLabelView as _0x204b7e}from'ckeditor5/src/ui.js';import{unescape as _0x26ff13}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x183b50{constructor(_0x4b5ac8){const _0x2dc2ea=_0x140f;super();const _0x27ca14=new _0x204b7e(),_0x32ef93=new _0x397bed(this[_0x2dc2ea(0x19a)],_0x27ca14);this[_0x2dc2ea(0x193)][_0x2dc2ea(0x190)](_0x32ef93),_0x32ef93[_0x2dc2ea(0x18f)]({'label':_0x4b5ac8[_0x2dc2ea(0x195)],'withText':!0x0}),_0x32ef93['on'](_0x2dc2ea(0x19b),()=>{const _0x398d75=_0x2dc2ea;this[_0x398d75(0x18c)](_0x398d75(0x19b),{'value':_0x26ff13(_0x4b5ac8[_0x398d75(0x195)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ff043=_0x680e;(function(_0x5528b7,_0x479b2f){const _0x410e09=_0x680e,_0x58983a=_0x5528b7();while(!![]){try{const _0x27a15a=-parseInt(_0x410e09(0x18c))/0x1+parseInt(_0x410e09(0x189))/0x2+parseInt(_0x410e09(0x18b))/0x3*(parseInt(_0x410e09(0x19d))/0x4)+parseInt(_0x410e09(0x193))/0x5+parseInt(_0x410e09(0x190))/0x6*(-parseInt(_0x410e09(0x199))/0x7)+-parseInt(_0x410e09(0x19b))/0x8+parseInt(_0x410e09(0x196))/0x9*(parseInt(_0x410e09(0x18d))/0xa);if(_0x27a15a===_0x479b2f)break;else _0x58983a['push'](_0x58983a['shift']());}catch(_0xe9ee3){_0x58983a['push'](_0x58983a['shift']());}}}(_0x4a28,0x48ded));import{ListView as _0x4324d9,ListItemGroupView as _0x401e6c,ButtonView as _0x1770f4}from'ckeditor5/src/ui.js';function _0x4a28(){const _0x150be8=['42262qyvclL','295180PtSHUN','length','historyGroupView','2062626IHEsFL','clearHistory','children','2417435isSNOG','locale','fire','45tukXNR','_createClearHistoryButton','set','7LAqVVH','filter','1608056grEEei','Clear','24mnpGTs','items','Prompt\x20history','add','clearHistoryButton','execute','delegate','182744svITgP','label','81534ViBliz'];_0x4a28=function(){return _0x150be8;};return _0x4a28();}function _0x680e(_0x6ddee2,_0x17c718){const _0x4a2835=_0x4a28();return _0x680e=function(_0x680e4e,_0x4c4be4){_0x680e4e=_0x680e4e-0x183;let _0x438d68=_0x4a2835[_0x680e4e];return _0x438d68;},_0x680e(_0x6ddee2,_0x17c718);}import{getTranslation as _0x31c95f}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x4324d9{[_0x3ff043(0x18f)];[_0x3ff043(0x186)];constructor(_0x25e894){const _0x22c675=_0x3ff043;super(_0x25e894),this[_0x22c675(0x186)]=this[_0x22c675(0x197)](),this[_0x22c675(0x18f)]=new _0x401e6c(),this[_0x22c675(0x18f)][_0x22c675(0x192)][_0x22c675(0x185)](this[_0x22c675(0x186)],0x1),this[_0x22c675(0x18f)][_0x22c675(0x18a)]=_0x31c95f(_0x25e894,_0x22c675(0x184)),this[_0x22c675(0x18f)][_0x22c675(0x183)][_0x22c675(0x188)](_0x22c675(0x187))['to'](this),this[_0x22c675(0x183)][_0x22c675(0x185)](this[_0x22c675(0x18f)]);}[_0x3ff043(0x19a)](){const _0x2fdfca=_0x3ff043;let _0x3d2fab=0x0;for(const _0x38393e of this[_0x2fdfca(0x183)])_0x3d2fab+=_0x38393e[_0x2fdfca(0x183)][_0x2fdfca(0x18e)];return{'resultsCount':_0x3d2fab,'totalItemsCount':_0x3d2fab};}[_0x3ff043(0x197)](){const _0x182fdf=_0x3ff043,_0x5d9dba=this[_0x182fdf(0x194)],_0x56eafe=new _0x1770f4(this[_0x182fdf(0x194)]);return _0x56eafe[_0x182fdf(0x198)]({'label':'('+_0x31c95f(_0x5d9dba,_0x182fdf(0x19c))+')','withText':!0x0}),_0x56eafe['on'](_0x182fdf(0x187),()=>this[_0x182fdf(0x195)](_0x182fdf(0x191))),_0x56eafe;}}
23
+ const _0x3baf1d=_0x49c5;(function(_0x79d60e,_0x2ea7f9){const _0x4c5dd8=_0x49c5,_0x34a953=_0x79d60e();while(!![]){try{const _0x2badff=-parseInt(_0x4c5dd8(0x116))/0x1+-parseInt(_0x4c5dd8(0x11d))/0x2*(parseInt(_0x4c5dd8(0x10c))/0x3)+parseInt(_0x4c5dd8(0x120))/0x4+parseInt(_0x4c5dd8(0x123))/0x5+parseInt(_0x4c5dd8(0x10f))/0x6+-parseInt(_0x4c5dd8(0x11e))/0x7*(parseInt(_0x4c5dd8(0x10a))/0x8)+-parseInt(_0x4c5dd8(0x10d))/0x9*(-parseInt(_0x4c5dd8(0x115))/0xa);if(_0x2badff===_0x2ea7f9)break;else _0x34a953['push'](_0x34a953['shift']());}catch(_0x223b43){_0x34a953['push'](_0x34a953['shift']());}}}(_0x1f36,0x29d2a));function _0x1f36(){const _0xa68a7=['118993URvDRf','_createClearHistoryButton','818444jrgCmp','length','historyGroupView','1080280JGgvVf','items','16AIkSBc','delegate','103485ZzYIVU','45VjcnYP','clearHistory','575196bNhHMR','execute','clearHistoryButton','Prompt\x20history','add','Clear','85190OujFBl','250339rePFaf','filter','fire','set','locale','label','children','6ctxVYX'];_0x1f36=function(){return _0xa68a7;};return _0x1f36();}function _0x49c5(_0x4b3f1f,_0x115ac6){const _0x1f3610=_0x1f36();return _0x49c5=function(_0x49c590,_0x517f52){_0x49c590=_0x49c590-0x109;let _0x28ece9=_0x1f3610[_0x49c590];return _0x28ece9;},_0x49c5(_0x4b3f1f,_0x115ac6);}import{ListView as _0x10f288,ListItemGroupView as _0x25dfba,ButtonView as _0x3ef77c}from'ckeditor5/src/ui.js';import{getTranslation as _0x2fb84b}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x10f288{[_0x3baf1d(0x122)];[_0x3baf1d(0x111)];constructor(_0x538148){const _0x10ca83=_0x3baf1d;super(_0x538148),this[_0x10ca83(0x111)]=this[_0x10ca83(0x11f)](),this[_0x10ca83(0x122)]=new _0x25dfba(),this[_0x10ca83(0x122)][_0x10ca83(0x11c)][_0x10ca83(0x113)](this[_0x10ca83(0x111)],0x1),this[_0x10ca83(0x122)][_0x10ca83(0x11b)]=_0x2fb84b(_0x538148,_0x10ca83(0x112)),this[_0x10ca83(0x122)][_0x10ca83(0x109)][_0x10ca83(0x10b)](_0x10ca83(0x110))['to'](this),this[_0x10ca83(0x109)][_0x10ca83(0x113)](this[_0x10ca83(0x122)]);}[_0x3baf1d(0x117)](){const _0x366fe5=_0x3baf1d;let _0x120515=0x0;for(const _0x15554a of this[_0x366fe5(0x109)])_0x120515+=_0x15554a[_0x366fe5(0x109)][_0x366fe5(0x121)];return{'resultsCount':_0x120515,'totalItemsCount':_0x120515};}[_0x3baf1d(0x11f)](){const _0x31f789=_0x3baf1d,_0x32021f=this[_0x31f789(0x11a)],_0x4b7eb1=new _0x3ef77c(this[_0x31f789(0x11a)]);return _0x4b7eb1[_0x31f789(0x119)]({'label':'('+_0x2fb84b(_0x32021f,_0x31f789(0x114))+')','withText':!0x0}),_0x4b7eb1['on'](_0x31f789(0x110),()=>this[_0x31f789(0x118)](_0x31f789(0x10e))),_0x4b7eb1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10b44c=_0x49a1;(function(_0x39a2ac,_0x2b772d){const _0x3016e2=_0x49a1,_0x23d5fa=_0x39a2ac();while(!![]){try{const _0x5ee39c=parseInt(_0x3016e2(0x1da))/0x1+parseInt(_0x3016e2(0x1c4))/0x2*(parseInt(_0x3016e2(0x1d4))/0x3)+parseInt(_0x3016e2(0x1cd))/0x4+parseInt(_0x3016e2(0x1d5))/0x5*(parseInt(_0x3016e2(0x1d1))/0x6)+parseInt(_0x3016e2(0x1db))/0x7*(parseInt(_0x3016e2(0x1d6))/0x8)+parseInt(_0x3016e2(0x1d3))/0x9*(-parseInt(_0x3016e2(0x1d9))/0xa)+-parseInt(_0x3016e2(0x1c6))/0xb*(parseInt(_0x3016e2(0x1c2))/0xc);if(_0x5ee39c===_0x2b772d)break;else _0x23d5fa['push'](_0x23d5fa['shift']());}catch(_0x11c7fc){_0x23d5fa['push'](_0x23d5fa['shift']());}}}(_0x5449,0xa8a1d));import{Collection as _0x5c0d4a}from'ckeditor5/src/utils.js';function _0x5449(){const _0x4286fa=['length','setItem','prompt','3565824ZcmfEL','parse','CKEditor/AIFormView/PromptHistory','add','3771912eeUkKf','remove','9SZDYvY','40542WkObjv','5BeFJiV','8cupVRw','map','_saveToSessionStorage','2948290kyZmsy','274128YHbnxS','1089109gcoeIC','last','_loadFromSessionStorage','2628nrbOZd','addMany','28znonDC','trim','57937WbQmQP','getItem','stringify','toLowerCase'];_0x5449=function(){return _0x4286fa;};return _0x5449();}const So=_0x10b44c(0x1cf);function _0x49a1(_0x4aabaa,_0x237b8c){const _0x54496f=_0x5449();return _0x49a1=function(_0x49a103,_0x203fe2){_0x49a103=_0x49a103-0x1c1;let _0x10d30d=_0x54496f[_0x49a103];return _0x10d30d;},_0x49a1(_0x4aabaa,_0x237b8c);}export class PromptHistory extends _0x5c0d4a{constructor(){const _0x22751e=_0x10b44c;super(),this[_0x22751e(0x1c1)](),this['on'](_0x22751e(0x1d0),(_0xe42d4c,_0x27f702)=>{const _0x4efa24=_0x22751e,_0x2f37ea=fo(_0x27f702[_0x4efa24(0x1cc)]);for(const _0x1ed565 of this)if(_0x1ed565!=_0x27f702&&fo(_0x1ed565[_0x4efa24(0x1cc)])===_0x2f37ea){this[_0x4efa24(0x1d2)](_0x1ed565);break;}this[_0x4efa24(0x1ca)]>0x14&&this[_0x4efa24(0x1d2)](this[_0x4efa24(0x1dc)]),this[_0x4efa24(0x1d8)]();}),this['on'](_0x22751e(0x1d2),()=>{const _0x243688=_0x22751e;this[_0x243688(0x1d8)]();});}[_0x10b44c(0x1c1)](){const _0x45d1ab=_0x10b44c,_0x596f43=sessionStorage[_0x45d1ab(0x1c7)](So)||'[]';this[_0x45d1ab(0x1c3)](JSON[_0x45d1ab(0x1ce)](_0x596f43));}[_0x10b44c(0x1d8)](){const _0x10dc6a=_0x10b44c;sessionStorage[_0x10dc6a(0x1cb)](So,JSON[_0x10dc6a(0x1c8)](this[_0x10dc6a(0x1d7)](_0x535d94=>_0x535d94)));}}function fo(_0x3afa1f){const _0x59a016=_0x10b44c;return _0x3afa1f[_0x59a016(0x1c9)]()[_0x59a016(0x1c5)]();}
23
+ const _0xa042b4=_0x2b4a;(function(_0xcbc93e,_0x58e5df){const _0x83123a=_0x2b4a,_0x2b38ae=_0xcbc93e();while(!![]){try{const _0x1cc80d=-parseInt(_0x83123a(0x120))/0x1*(-parseInt(_0x83123a(0x12a))/0x2)+parseInt(_0x83123a(0x129))/0x3*(parseInt(_0x83123a(0x125))/0x4)+-parseInt(_0x83123a(0x131))/0x5*(-parseInt(_0x83123a(0x128))/0x6)+parseInt(_0x83123a(0x12e))/0x7+-parseInt(_0x83123a(0x13a))/0x8*(-parseInt(_0x83123a(0x138))/0x9)+parseInt(_0x83123a(0x132))/0xa+parseInt(_0x83123a(0x134))/0xb*(-parseInt(_0x83123a(0x122))/0xc);if(_0x1cc80d===_0x58e5df)break;else _0x2b38ae['push'](_0x2b38ae['shift']());}catch(_0x56652a){_0x2b38ae['push'](_0x2b38ae['shift']());}}}(_0x2dbb,0x3028f));import{Collection as _0x2b01a4}from'ckeditor5/src/utils.js';const So=_0xa042b4(0x139);function _0x2b4a(_0x3819f9,_0x2ba167){const _0x2dbb4f=_0x2dbb();return _0x2b4a=function(_0x2b4aad,_0xfc3e0c){_0x2b4aad=_0x2b4aad-0x11f;let _0xbc20f1=_0x2dbb4f[_0x2b4aad];return _0xbc20f1;},_0x2b4a(_0x3819f9,_0x2ba167);}export class PromptHistory extends _0x2b01a4{constructor(){const _0xf313ca=_0xa042b4;super(),this[_0xf313ca(0x136)](),this['on'](_0xf313ca(0x133),(_0x4b0b91,_0xc76900)=>{const _0x3620fe=_0xf313ca,_0x3696d8=fo(_0xc76900[_0x3620fe(0x12b)]);for(const _0x4bdabb of this)if(_0x4bdabb!=_0xc76900&&fo(_0x4bdabb[_0x3620fe(0x12b)])===_0x3696d8){this[_0x3620fe(0x12f)](_0x4bdabb);break;}this[_0x3620fe(0x130)]>0x14&&this[_0x3620fe(0x12f)](this[_0x3620fe(0x121)]),this[_0x3620fe(0x127)]();}),this['on'](_0xf313ca(0x12f),()=>{const _0x30f8aa=_0xf313ca;this[_0x30f8aa(0x127)]();});}[_0xa042b4(0x136)](){const _0x4b1166=_0xa042b4,_0x5c019d=sessionStorage[_0x4b1166(0x135)](So)||'[]';this[_0x4b1166(0x12c)](JSON[_0x4b1166(0x123)](_0x5c019d));}[_0xa042b4(0x127)](){const _0xe6a4a2=_0xa042b4;sessionStorage[_0xe6a4a2(0x11f)](So,JSON[_0xe6a4a2(0x124)](this[_0xe6a4a2(0x12d)](_0x3b6a00=>_0x3b6a00)));}}function fo(_0x3fe9ff){const _0x37934f=_0xa042b4;return _0x3fe9ff[_0x37934f(0x137)]()[_0x37934f(0x126)]();}function _0x2dbb(){const _0x360344=['204pGssBr','prompt','addMany','map','1468362urKCRS','remove','length','25DcFJgG','3497940scSBcD','add','12388387gkDyuR','getItem','_loadFromSessionStorage','toLowerCase','651645ySbXHR','CKEditor/AIFormView/PromptHistory','24jMhhIF','setItem','814RszjWl','last','12IsBUcx','parse','stringify','16JliCoD','trim','_saveToSessionStorage','161166hjupQG','247029wZvLCx'];_0x2dbb=function(){return _0x360344;};return _0x2dbb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x424049=_0xd3ed;(function(_0x3f0513,_0x258cfb){const _0x30f43d=_0xd3ed,_0x22414c=_0x3f0513();while(!![]){try{const _0x4930ec=parseInt(_0x30f43d(0xdf))/0x1+parseInt(_0x30f43d(0xd8))/0x2*(parseInt(_0x30f43d(0xca))/0x3)+-parseInt(_0x30f43d(0xd2))/0x4+-parseInt(_0x30f43d(0xe6))/0x5*(-parseInt(_0x30f43d(0xdd))/0x6)+parseInt(_0x30f43d(0xea))/0x7*(-parseInt(_0x30f43d(0xe8))/0x8)+-parseInt(_0x30f43d(0xe0))/0x9+parseInt(_0x30f43d(0xe2))/0xa;if(_0x4930ec===_0x258cfb)break;else _0x22414c['push'](_0x22414c['shift']());}catch(_0x3e45a7){_0x22414c['push'](_0x22414c['shift']());}}}(_0x3bfd,0x35656));import{Command as _0x3813cd}from'ckeditor5/src/core.js';function _0xd3ed(_0xcc9159,_0xc9ae23){const _0x3bfddc=_0x3bfd();return _0xd3ed=function(_0xd3ed2f,_0x5837ce){_0xd3ed2f=_0xd3ed2f-0xc2;let _0x28be4d=_0x3bfddc[_0xd3ed2f];return _0x28be4d;},_0xd3ed(_0xcc9159,_0xc9ae23);}import{AIAssistantUI as _0x1a5ec0}from'../aiassistantui.js';function _0x3bfd(){const _0x976639=['getItems','element','from','ai.assistant.disabledElements','set','hasContent','values','1079768vRiysT','getSelectedBlocks','editor','length','custom','requiresContent','2NJpbBS','enabledCommandsIds','model','isEnabled','name','18pVfjeW','getRanges','324015AsSyAp','1699470MqVHmW','showUI','1441190RUyXIn','config','change:isEnabled','get','316180LGLZKH','document','3252552olFWEM','getFirstRange','7rrJGKl','isEmpty','_hasContext','refresh','execute','_commandDefinitions','isCollapsed','change:_hasContext','selection','add','plugins','includes','1278627fJfxRM'];_0x3bfd=function(){return _0x976639;};return _0x3bfd();}export class ShowAIAssistantCommand extends _0x3813cd{[_0x424049(0xc3)];constructor(_0x14a45e,_0x5bcc6c){const _0x412479=_0x424049;super(_0x14a45e),this[_0x412479(0xc3)]=_0x5bcc6c,this[_0x412479(0xcf)](_0x412479(0xd9),[]),this['on'](_0x412479(0xc5),(_0x1fee1e,_0x205f7b,_0x227ba2)=>{const _0x40bd78=_0x412479;this[_0x40bd78(0xdb)]&&(this[_0x40bd78(0xd9)]=ns(this[_0x40bd78(0xc3)],_0x227ba2));}),this[_0x412479(0xcf)](_0x412479(0xec),!0x1),this['on'](_0x412479(0xe4),(_0x48fde4,_0x3d1cd6,_0x8e3357)=>{const _0x2b1d57=_0x412479;this[_0x2b1d57(0xd9)]=_0x8e3357?ns(this[_0x2b1d57(0xc3)],this[_0x2b1d57(0xec)]):[];});}[_0x424049(0xed)](){const _0x1f5759=_0x424049,_0x567499=this[_0x1f5759(0xd4)][_0x1f5759(0xda)];this[_0x1f5759(0xec)]=function(_0x5861a4){const _0x32a30c=_0x1f5759,_0x56cc51=_0x5861a4[_0x32a30c(0xe7)][_0x32a30c(0xc6)];return _0x56cc51[_0x32a30c(0xc4)]?0x0!==[..._0x56cc51[_0x32a30c(0xd3)]()][_0x32a30c(0xd5)]&&![..._0x56cc51[_0x32a30c(0xd3)]()][0x0][_0x32a30c(0xeb)]:!!_0x5861a4[_0x32a30c(0xd0)](_0x56cc51[_0x32a30c(0xe9)]());}(_0x567499);const _0x29da4a=_0x567499[_0x1f5759(0xe7)][_0x1f5759(0xc6)],_0x40c15a=this[_0x1f5759(0xd4)][_0x1f5759(0xe3)][_0x1f5759(0xe5)](_0x1f5759(0xce));for(const _0x492568 of _0x29da4a[_0x1f5759(0xde)]())for(const _0x5711b1 of _0x492568[_0x1f5759(0xcb)]())if(_0x5711b1['is'](_0x1f5759(0xcc))&&_0x40c15a[_0x1f5759(0xc9)](_0x5711b1[_0x1f5759(0xdc)]))return void(this[_0x1f5759(0xdb)]=!0x1);this[_0x1f5759(0xdb)]=!0x0;}[_0x424049(0xc2)](_0x3fd148='',_0x549d03='',_0x331101=_0x424049(0xd6)){const _0x12daf0=_0x424049;this[_0x12daf0(0xd4)][_0x12daf0(0xc8)][_0x12daf0(0xe5)](_0x1a5ec0)[_0x12daf0(0xe1)](_0x3fd148,_0x549d03,_0x331101);}}function ns(_0x5b77a9,_0x58b42e){const _0x4bc3f7=_0x424049,_0x548558=new Set();for(const _0x1c57e8 of _0x5b77a9[_0x4bc3f7(0xd1)]())(_0x58b42e||!0x1===_0x1c57e8[_0x4bc3f7(0xd7)])&&_0x548558[_0x4bc3f7(0xc7)](_0x1c57e8['id']);return Array[_0x4bc3f7(0xcd)](_0x548558);}
23
+ const _0x119d4a=_0x4827;function _0x3c89(){const _0x5b6100=['isCollapsed','showUI','execute','model','selection','document','set','hasContent','change:_hasContext','ai.assistant.disabledElements','from','name','change:isEnabled','1929955pPpFqv','_commandDefinitions','plugins','element','12pesirO','isEmpty','getItems','1675884VrXenZ','2842704JZgUWc','enabledCommandsIds','config','add','requiresContent','getRanges','4738405WKaxyV','getSelectedBlocks','editor','732768YMPLiW','getFirstRange','get','11114912PlpNye','length','860270wjctAN','refresh','isEnabled','includes','custom','_hasContext','values'];_0x3c89=function(){return _0x5b6100;};return _0x3c89();}(function(_0x16a272,_0x575128){const _0x2c1095=_0x4827,_0x4d6cce=_0x16a272();while(!![]){try{const _0x518d8d=-parseInt(_0x2c1095(0x184))/0x1+-parseInt(_0x2c1095(0x189))/0x2+-parseInt(_0x2c1095(0x1a4))/0x3+-parseInt(_0x2c1095(0x1a5))/0x4+parseInt(_0x2c1095(0x19d))/0x5*(parseInt(_0x2c1095(0x1a1))/0x6)+parseInt(_0x2c1095(0x181))/0x7+parseInt(_0x2c1095(0x187))/0x8;if(_0x518d8d===_0x575128)break;else _0x4d6cce['push'](_0x4d6cce['shift']());}catch(_0x2942a2){_0x4d6cce['push'](_0x4d6cce['shift']());}}}(_0x3c89,0x63226));function _0x4827(_0x375b2c,_0x1fb83b){const _0x3c893e=_0x3c89();return _0x4827=function(_0x4827d7,_0x1ed848){_0x4827d7=_0x4827d7-0x17e;let _0x6ecb2a=_0x3c893e[_0x4827d7];return _0x6ecb2a;},_0x4827(_0x375b2c,_0x1fb83b);}import{Command as _0x48cc25}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x184f95}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x48cc25{[_0x119d4a(0x19e)];constructor(_0x29f082,_0x2f4503){const _0x5bab85=_0x119d4a;super(_0x29f082),this[_0x5bab85(0x19e)]=_0x2f4503,this[_0x5bab85(0x196)](_0x5bab85(0x1a6),[]),this['on'](_0x5bab85(0x198),(_0xcf9ca3,_0x52ddfb,_0x2d3dc5)=>{const _0x127428=_0x5bab85;this[_0x127428(0x18b)]&&(this[_0x127428(0x1a6)]=os(this[_0x127428(0x19e)],_0x2d3dc5));}),this[_0x5bab85(0x196)](_0x5bab85(0x18e),!0x1),this['on'](_0x5bab85(0x19c),(_0x5357c8,_0x578ecf,_0x44eb46)=>{const _0x2b0ee4=_0x5bab85;this[_0x2b0ee4(0x1a6)]=_0x44eb46?os(this[_0x2b0ee4(0x19e)],this[_0x2b0ee4(0x18e)]):[];});}[_0x119d4a(0x18a)](){const _0x2196b4=_0x119d4a,_0xdf64e3=this[_0x2196b4(0x183)][_0x2196b4(0x193)];this[_0x2196b4(0x18e)]=function(_0x107719){const _0xb19cfd=_0x2196b4,_0x5712b8=_0x107719[_0xb19cfd(0x195)][_0xb19cfd(0x194)];return _0x5712b8[_0xb19cfd(0x190)]?0x0!==[..._0x5712b8[_0xb19cfd(0x182)]()][_0xb19cfd(0x188)]&&![..._0x5712b8[_0xb19cfd(0x182)]()][0x0][_0xb19cfd(0x1a2)]:!!_0x107719[_0xb19cfd(0x197)](_0x5712b8[_0xb19cfd(0x185)]());}(_0xdf64e3);const _0x19bbf0=_0xdf64e3[_0x2196b4(0x195)][_0x2196b4(0x194)],_0x146488=this[_0x2196b4(0x183)][_0x2196b4(0x1a7)][_0x2196b4(0x186)](_0x2196b4(0x199));for(const _0x4428e6 of _0x19bbf0[_0x2196b4(0x180)]())for(const _0x138366 of _0x4428e6[_0x2196b4(0x1a3)]())if(_0x138366['is'](_0x2196b4(0x1a0))&&_0x146488[_0x2196b4(0x18c)](_0x138366[_0x2196b4(0x19b)]))return void(this[_0x2196b4(0x18b)]=!0x1);this[_0x2196b4(0x18b)]=!0x0;}[_0x119d4a(0x192)](_0x29808f='',_0x25762e='',_0x396c2e=_0x119d4a(0x18d)){const _0x10ccf1=_0x119d4a;this[_0x10ccf1(0x183)][_0x10ccf1(0x19f)][_0x10ccf1(0x186)](_0x184f95)[_0x10ccf1(0x191)](_0x29808f,_0x25762e,_0x396c2e);}}function os(_0x3d220d,_0xe8e557){const _0x4dbb24=_0x119d4a,_0x8f0bb3=new Set();for(const _0x5d36fd of _0x3d220d[_0x4dbb24(0x18f)]())(_0xe8e557||!0x1===_0x5d36fd[_0x4dbb24(0x17f)])&&_0x8f0bb3[_0x4dbb24(0x17e)](_0x5d36fd['id']);return Array[_0x4dbb24(0x19a)](_0x8f0bb3);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52845e=_0x276f;(function(_0x528194,_0x20f4e7){const _0x1c0ee1=_0x276f,_0x26e359=_0x528194();while(!![]){try{const _0x48c78f=-parseInt(_0x1c0ee1(0x1bb))/0x1*(parseInt(_0x1c0ee1(0x209))/0x2)+-parseInt(_0x1c0ee1(0x1bd))/0x3+parseInt(_0x1c0ee1(0x1b3))/0x4+parseInt(_0x1c0ee1(0x211))/0x5+-parseInt(_0x1c0ee1(0x215))/0x6+parseInt(_0x1c0ee1(0x21a))/0x7*(-parseInt(_0x1c0ee1(0x1e3))/0x8)+parseInt(_0x1c0ee1(0x1b7))/0x9;if(_0x48c78f===_0x20f4e7)break;else _0x26e359['push'](_0x26e359['shift']());}catch(_0x41f152){_0x26e359['push'](_0x26e359['shift']());}}}(_0x12c0,0x3ef25));import{ContextPlugin as _0x14c959}from'ckeditor5/src/core.js';import{AIConnector as _0x36dfd0}from'../aicore/aiconnector.js';import{AIEditing as _0x5808db}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x248df9,AIBalloonView as _0x5db8b5}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x4b022c}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x42086d,Rect as _0x4113e9,scrollViewportToShowTarget as _0x1db90c}from'ckeditor5/src/utils.js';function _0x12c0(){const _0x275554=['root','bind','updatePosition','window','_calculateOptimalTopPosition','_setupMarkerRemovalListener','delegate','off','trackChanges','$graveyard','_setupVisualSelection','get','ai-selection:','close','length','ai-balloon','start','AIBalloon','isOfficialPlugin','ai-balloon-','config','startAutoScroll','iconView','fire','selectionRemoved','balloonView','getIntersection','821722ZdLmPb','title','view','label','_updateBalloon','\x20ai-balloon-rotator','once','content','783240RCWFWC','Dialog','requires','filter','52488SwHEAg','aiBalloon','setupRotator','stopAutoScroll','_calculateDialogPosition','1169xqZgPt','hide','isPremiumPlugin','document','getVisible','1905448NHFjCz','pluginName','dialogClosed','AI_ACTIONS_SELECTION_REMOVED_ERROR','3018150JAhdIH','height','headerView','value','1ZbkBIq','isOpen','798117tuHTFh','change','isEqual','ai-selection','index','open','isTrackChangesOn','stopListening','hideFakeVisualSelection','_isUpdatingMarkers','ai-balloon-selection','_config','startsWith','_pendingRenderCallback','getBoundingRect','_getSelectionElements','max','markers','showBlockingError','commands','listenTo','getChangedMarkers','model','end','show','render','_showDialog','round','locale','_cleanupMarkerRemovalListener','mainView','context','AIEditing','editing','rootName','showRotator','plugins','updateContent','1192eUyOAC','getMarkersGroup','differ','icon','ranges','ai.availableReplyActions','showFakeVisualSelection','bottom','left','top','width'];_0x12c0=function(){return _0x275554;};return _0x12c0();}import{getEditorFromContext as _0x123f56}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x1cf8b1}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x30c577}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x248df9,_0x52845e(0x1b5),_0x52845e(0x206)];function _0x276f(_0x4268da,_0x5c505f){const _0x12c098=_0x12c0();return _0x276f=function(_0x276f76,_0x25b115){_0x276f76=_0x276f76-0x1b1;let _0x577442=_0x12c098[_0x276f76];return _0x577442;},_0x276f(_0x4268da,_0x5c505f);}const mt=0xa;export class AIBalloon extends _0x14c959{static get[_0x52845e(0x213)](){return[_0x36dfd0,_0x5808db];}static get[_0x52845e(0x1b4)](){const _0x59e41b=_0x52845e;return _0x59e41b(0x1ff);}static get[_0x52845e(0x200)](){return!0x0;}static get[_0x52845e(0x21c)](){return!0x0;}[_0x52845e(0x1bc)]=!0x1;[_0x52845e(0x1c8)];[_0x52845e(0x1c6)]=!0x1;[_0x52845e(0x1ca)]=null;[_0x52845e(0x1c2)](_0x5a6ade){const _0x2b5d14=_0x52845e,_0x24daa0=_0x123f56(this[_0x2b5d14(0x1dc)]);if(this[_0x2b5d14(0x1c8)]=_0x5a6ade,this[_0x2b5d14(0x1bc)])return void this[_0x2b5d14(0x20d)](_0x5a6ade);const _0xdbfd20=this[_0x2b5d14(0x1dc)][_0x2b5d14(0x202)][_0x2b5d14(0x1f9)](_0x2b5d14(0x1e8))||[..._0x1cf8b1],_0x4f50e2=_0x24daa0?.[_0x2b5d14(0x1d0)][_0x2b5d14(0x1f9)](_0x2b5d14(0x1f6)),_0x3fcc8d=_0x4f50e2?.[_0x2b5d14(0x1ba)];this[_0x2b5d14(0x207)]=new _0x5db8b5(_0x24daa0[_0x2b5d14(0x1d9)],_0x5a6ade,_0xdbfd20,!!_0x3fcc8d),this[_0x2b5d14(0x207)][_0x2b5d14(0x1f4)](..._0x248df9)['to'](this),_0x4f50e2&&this[_0x2b5d14(0x207)][_0x2b5d14(0x1ef)](_0x2b5d14(0x1c3))['to'](_0x4f50e2,_0x2b5d14(0x1ba)),this[_0x2b5d14(0x1d7)](_0x5a6ade);}[_0x52845e(0x1fb)](){const _0x39bc60=_0x52845e;_0x123f56(this[_0x39bc60(0x1dc)])[_0x39bc60(0x1e1)][_0x39bc60(0x1f9)](_0x39bc60(0x212))[_0x39bc60(0x21b)]();}[_0x52845e(0x203)](){const _0x195307=_0x52845e;this[_0x195307(0x207)]&&this[_0x195307(0x207)][_0x195307(0x203)]();}[_0x52845e(0x218)](){const _0x4bfeb6=_0x52845e;this[_0x4bfeb6(0x207)]&&this[_0x4bfeb6(0x207)][_0x4bfeb6(0x218)]();}[_0x52845e(0x20d)](_0x3aef6a){const _0x41fd53=_0x52845e,_0x556b05=_0x123f56(this[_0x41fd53(0x1dc)]),_0x2c546d=_0x556b05[_0x41fd53(0x1e1)][_0x41fd53(0x1f9)](_0x41fd53(0x212));this[_0x41fd53(0x1ca)]&&(_0x556b05[_0x41fd53(0x1de)][_0x41fd53(0x20b)][_0x41fd53(0x1f5)](_0x41fd53(0x1d6),this[_0x41fd53(0x1ca)]),this[_0x41fd53(0x1ca)]=null),this[_0x41fd53(0x1c6)]=!0x0,_0x2c546d[_0x41fd53(0x20b)]?.[_0x41fd53(0x1b9)]&&(_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x20c)]=_0x3aef6a[_0x41fd53(0x20a)],_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x204)]&&_0x3aef6a[_0x41fd53(0x1e6)]&&(_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x204)][_0x41fd53(0x210)]=_0x3aef6a[_0x41fd53(0x1e6)])),this[_0x41fd53(0x207)][_0x41fd53(0x1e2)](_0x3aef6a[_0x41fd53(0x1db)]),this[_0x41fd53(0x1f8)](_0x3aef6a[_0x41fd53(0x1e7)],_0x3aef6a[_0x41fd53(0x1c1)]),this[_0x41fd53(0x1ca)]=()=>{const _0xca8014=_0x41fd53;this[_0xca8014(0x1c6)]=!0x1,this[_0xca8014(0x1ca)]=null,_0x2c546d[_0xca8014(0x20b)]&&_0x2c546d[_0xca8014(0x20b)][_0xca8014(0x1f0)]();},_0x556b05[_0x41fd53(0x1de)][_0x41fd53(0x20b)][_0x41fd53(0x20f)](_0x41fd53(0x1d6),this[_0x41fd53(0x1ca)]);}[_0x52845e(0x1f8)](_0x50e097,_0x471e66){const _0x541821=_0x52845e;this[_0x541821(0x1dc)][_0x541821(0x1e1)][_0x541821(0x1f9)](_0x5808db)[_0x541821(0x1e9)](_0x50e097,_0x541821(0x201)+_0x471e66,!0x0,!0x0);}[_0x52845e(0x1d7)](_0x2cbcf6){const _0x36fd91=_0x52845e,_0x48bb4c=_0x123f56(this[_0x36fd91(0x1dc)]);this[_0x36fd91(0x1f8)](_0x2cbcf6[_0x36fd91(0x1e7)],_0x2cbcf6[_0x36fd91(0x1c1)]);const _0x3b5da6=this[_0x36fd91(0x1cc)]();_0x3b5da6&&_0x3b5da6[0x0]&&_0x1db90c({'target':_0x3b5da6[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x48bb4c[_0x36fd91(0x1e1)][_0x36fd91(0x1f9)](_0x36fd91(0x212))[_0x36fd91(0x1d5)]({'title':_0x2cbcf6[_0x36fd91(0x20a)],'icon':_0x2cbcf6[_0x36fd91(0x1e6)],'hasCloseButton':!0x0,'id':_0x36fd91(0x216),'position':this[_0x36fd91(0x219)][_0x36fd91(0x1ef)](this),'className':_0x36fd91(0x1fd)+(_0x2cbcf6[_0x36fd91(0x1e0)]?_0x36fd91(0x20e):''),'content':this[_0x36fd91(0x207)],'onShow':_0x5a62e0=>{const _0x3f063f=_0x36fd91;_0x2cbcf6[_0x3f063f(0x1e0)]&&this[_0x3f063f(0x207)][_0x3f063f(0x217)](_0x5a62e0),this[_0x3f063f(0x1f3)](),this[_0x3f063f(0x1bc)]=!0x0;},'onHide':()=>{const _0x2481cf=_0x36fd91;this[_0x2481cf(0x1dc)][_0x2481cf(0x1e1)][_0x2481cf(0x1f9)](_0x2481cf(0x1dd))[_0x2481cf(0x1c5)](_0x2481cf(0x201)+this[_0x2481cf(0x1c8)][_0x2481cf(0x1c1)]),this[_0x2481cf(0x1da)](),this[_0x2481cf(0x205)](_0x2481cf(0x1b5)),this[_0x2481cf(0x1bc)]=!0x1;}});}[_0x52845e(0x219)](_0x33e9ad,_0x2450e3){const _0x497fe3=_0x52845e;if(!_0x2450e3)return null;const _0x5b3256=this[_0x497fe3(0x1cc)]();if(!_0x5b3256||0x0===_0x5b3256[_0x497fe3(0x1fc)])return{'left':Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1eb)]+_0x2450e3[_0x497fe3(0x1ed)]/0x2-_0x33e9ad[_0x497fe3(0x1ed)]/0x2),'top':Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1ec)]+_0x2450e3[_0x497fe3(0x1b8)]/0x2-_0x33e9ad[_0x497fe3(0x1b8)]/0x2)};const _0x15fa2d=Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1eb)]+_0x2450e3[_0x497fe3(0x1ed)]/0x2-_0x33e9ad[_0x497fe3(0x1ed)]/0x2),_0x5e0285=new _0x4113e9(_0x5b3256[0x0]),_0x78a5db=new _0x4113e9(_0x5b3256[_0x5b3256[_0x497fe3(0x1fc)]-0x1]),_0x3ff3b2=_0x33e9ad[_0x497fe3(0x1b8)],_0x2e6cab=this[_0x497fe3(0x1c8)][_0x497fe3(0x1e0)]?0x8:0x0;return{'left':_0x15fa2d,'top':this[_0x497fe3(0x1f2)](_0x5e0285,_0x78a5db,_0x3ff3b2,_0x2e6cab,_0x2450e3)};}[_0x52845e(0x1f2)](_0x5d1e71,_0x29aa47,_0x244afa,_0x55ed09=0x0,_0x399e2f){const _0x21c1bf=_0x52845e,_0x32fa8e=_0x244afa+_0x55ed09,_0x5f51e9=new _0x4113e9(_0x42086d[_0x21c1bf(0x1f1)]),_0x244c9b=[_0x5d1e71[_0x21c1bf(0x1b2)](),_0x29aa47[_0x21c1bf(0x1b2)]()][_0x21c1bf(0x214)](_0x16c351=>_0x16c351),_0x49d93e=_0x4113e9[_0x21c1bf(0x1cb)](_0x244c9b);if(!_0x49d93e)return Math[_0x21c1bf(0x1d8)](_0x399e2f[_0x21c1bf(0x1ec)]+_0x399e2f[_0x21c1bf(0x1b8)]/0x2);const _0x2a8aec=_0x5f51e9[_0x21c1bf(0x208)](_0x49d93e);if(!_0x2a8aec)return Math[_0x21c1bf(0x1d8)](_0x399e2f[_0x21c1bf(0x1ec)]+_0x399e2f[_0x21c1bf(0x1b8)]/0x2);const _0x37b3f2=_0x399e2f[_0x21c1bf(0x1b2)](),_0x1742b7=_0x37b3f2&&_0x49d93e[_0x21c1bf(0x1b8)]>_0x37b3f2[_0x21c1bf(0x1b8)],_0x4c5638=_0x2a8aec[_0x21c1bf(0x1ec)],_0x156e18=_0x2a8aec[_0x21c1bf(0x1ea)];if(_0x1742b7){const _0x6347c=(_0x37b3f2||_0x5f51e9)[_0x21c1bf(0x1b8)]/0x2-_0x32fa8e/0x2,_0x18d9f1=_0x4c5638-mt-_0x399e2f[_0x21c1bf(0x1ec)],_0x1115bd=_0x399e2f[_0x21c1bf(0x1ea)]-_0x156e18-mt;return _0x18d9f1>=_0x32fa8e?Math[_0x21c1bf(0x1cd)](mt,_0x4c5638-_0x32fa8e-mt):_0x1115bd>=_0x32fa8e?_0x156e18+mt:Math[_0x21c1bf(0x1cd)](mt,_0x6347c);}const _0x6a4525=_0x4c5638-_0x32fa8e,_0x5e7eec=_0x399e2f[_0x21c1bf(0x1ea)]-_0x156e18-mt,_0x4bb4d5=_0x4c5638-mt-_0x399e2f[_0x21c1bf(0x1ec)];let _0x50a5ba;if(_0x5e7eec>=_0x32fa8e)_0x50a5ba=_0x156e18+mt;else{if(_0x4bb4d5>=_0x32fa8e)_0x50a5ba=_0x6a4525-mt;else _0x50a5ba=_0x4c5638+_0x49d93e[_0x21c1bf(0x1b8)]/0x2-_0x32fa8e/0x2;}return _0x50a5ba;}[_0x52845e(0x1f3)](){const _0x3d196f=_0x52845e,_0xbc2a12=_0x123f56(this[_0x3d196f(0x1dc)]);this[_0x3d196f(0x1d1)](_0xbc2a12[_0x3d196f(0x1d3)][_0x3d196f(0x1b1)],_0x3d196f(0x1be),()=>{const _0x492ecd=_0x3d196f;if(this[_0x492ecd(0x1c6)])return;for(const {name:_0x27e0f3,data:{newRange:_0x2a644c}}of _0xbc2a12[_0x492ecd(0x1d3)][_0x492ecd(0x1b1)][_0x492ecd(0x1e5)][_0x492ecd(0x1d2)]())if(_0x27e0f3[_0x492ecd(0x1c9)](_0x492ecd(0x1fa))&&(_0x2a644c&&(_0x2a644c[_0x492ecd(0x1fe)][_0x492ecd(0x1bf)](_0x2a644c[_0x492ecd(0x1d4)])||_0x492ecd(0x1f7)==_0x2a644c[_0x492ecd(0x1ee)][_0x492ecd(0x1df)])||null==_0x2a644c)){const _0x16ca2b=_0x30c577(this[_0x492ecd(0x1dc)][_0x492ecd(0x1d9)],_0x492ecd(0x1b6));this[_0x492ecd(0x207)][_0x492ecd(0x1cf)](_0x16ca2b),this[_0x492ecd(0x205)](_0x492ecd(0x206));}});}[_0x52845e(0x1da)](){const _0x109d98=_0x52845e,_0x3adbe0=_0x123f56(this[_0x109d98(0x1dc)]);this[_0x109d98(0x1c4)](_0x3adbe0[_0x109d98(0x1d3)][_0x109d98(0x1b1)]);}[_0x52845e(0x1cc)](){const _0x4b1648=_0x52845e,_0x4a27aa=_0x123f56(this[_0x4b1648(0x1dc)]);return _0x4b022c(_0x4a27aa[_0x4b1648(0x1de)],[..._0x4a27aa[_0x4b1648(0x1d3)][_0x4b1648(0x1ce)][_0x4b1648(0x1e4)](_0x4b1648(0x1c0)),..._0x4a27aa[_0x4b1648(0x1d3)][_0x4b1648(0x1ce)][_0x4b1648(0x1e4)](_0x4b1648(0x1c7))]);}}
23
+ function _0x15a5(_0x4856f7,_0x2c310e){const _0x43b345=_0x43b3();return _0x15a5=function(_0x15a5a7,_0x44c6aa){_0x15a5a7=_0x15a5a7-0x78;let _0x6ad0cd=_0x43b345[_0x15a5a7];return _0x6ad0cd;},_0x15a5(_0x4856f7,_0x2c310e);}const _0x1d91cd=_0x15a5;(function(_0x2f8218,_0x146c2b){const _0x37c6b4=_0x15a5,_0x1b12dd=_0x2f8218();while(!![]){try{const _0xda67b6=-parseInt(_0x37c6b4(0xde))/0x1*(parseInt(_0x37c6b4(0xb4))/0x2)+-parseInt(_0x37c6b4(0xd8))/0x3*(parseInt(_0x37c6b4(0x97))/0x4)+parseInt(_0x37c6b4(0xd9))/0x5*(parseInt(_0x37c6b4(0x90))/0x6)+-parseInt(_0x37c6b4(0xc5))/0x7+-parseInt(_0x37c6b4(0xb5))/0x8+-parseInt(_0x37c6b4(0xaa))/0x9+-parseInt(_0x37c6b4(0x91))/0xa*(-parseInt(_0x37c6b4(0xab))/0xb);if(_0xda67b6===_0x146c2b)break;else _0x1b12dd['push'](_0x1b12dd['shift']());}catch(_0x1a3f37){_0x1b12dd['push'](_0x1b12dd['shift']());}}}(_0x43b3,0x872d9));import{ContextPlugin as _0x15dc63}from'ckeditor5/src/core.js';import{AIConnector as _0x112393}from'../aicore/aiconnector.js';import{AIEditing as _0x86949d}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x21226a,AIBalloonView as _0xc09b77}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0x43b3(){const _0x6c19ba=['showFakeVisualSelection','once','length','AI_ACTIONS_SELECTION_REMOVED_ERROR','markers','index','bottom','ai-selection','ai.availableReplyActions','7137186TnjWiu','ranges','isOfficialPlugin','_pendingRenderCallback','setupRotator','config','showBlockingError','locale','getIntersection','render','updatePosition','isOpen','balloonView','model','context','AIBalloon','differ','startsWith','bind','153eWWrOr','302935BPXKPL','_setupVisualSelection','ai-balloon-selection','icon','requires','18FExGxw','_showDialog','document','isEqual','hide','pluginName','height','_config','getMarkersGroup','rootName','headerView','_isUpdatingMarkers','editing','updateContent','aiBalloon','round','max','ai-balloon-','isPremiumPlugin','AIEditing','stopAutoScroll','getVisible','_calculateDialogPosition','left','window','\x20ai-balloon-rotator','_calculateOptimalTopPosition','commands','change','Dialog','off','delegate','102KaGAAD','30TYeaxZ','trackChanges','root','start','value','getChangedMarkers','61168DEhyDR','ai-balloon','_cleanupMarkerRemovalListener','fire','$graveyard','isTrackChangesOn','iconView','plugins','listenTo','_getSelectionElements','view','ai-selection:','end','_updateBalloon','show','showRotator','startAutoScroll','selectionRemoved','mainView','9050598ZWcYeN','12591689YvkgoU','label','open','getBoundingRect','close','top','content','title','hideFakeVisualSelection','29658XDCoUM','6706824mIerJF','width','_setupMarkerRemovalListener','stopListening','dialogClosed','filter','get'];_0x43b3=function(){return _0x6c19ba;};return _0x43b3();}import{getAllMarkersDomElementsSorted as _0xd2e375}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x2fe053,Rect as _0x1886d0,scrollViewportToShowTarget as _0x2ed5d4}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0xcf8872}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x28a520}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0xc1c6c2}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x21226a,_0x1d91cd(0xb9),_0x1d91cd(0xa8)];const lt=0xa;export class AIBalloon extends _0x15dc63{static get[_0x1d91cd(0xdd)](){return[_0x112393,_0x86949d];}static get[_0x1d91cd(0xe3)](){const _0x1c4fe5=_0x1d91cd;return _0x1c4fe5(0xd4);}static get[_0x1d91cd(0xc7)](){return!0x0;}static get[_0x1d91cd(0x82)](){return!0x0;}[_0x1d91cd(0xd0)]=!0x1;[_0x1d91cd(0xe5)];[_0x1d91cd(0x7b)]=!0x1;[_0x1d91cd(0xc8)]=null;[_0x1d91cd(0xad)](_0x60cb8c){const _0x126970=_0x1d91cd,_0x27d531=_0xcf8872(this[_0x126970(0xd3)]);if(this[_0x126970(0xe5)]=_0x60cb8c,this[_0x126970(0xd0)])return void this[_0x126970(0xa4)](_0x60cb8c);const _0x30864a=this[_0x126970(0xd3)][_0x126970(0xca)][_0x126970(0xbb)](_0x126970(0xc4))||[..._0x28a520],_0x47e21b=_0x27d531?.[_0x126970(0x8b)][_0x126970(0xbb)](_0x126970(0x92)),_0x5382f0=_0x47e21b?.[_0x126970(0x95)];this[_0x126970(0xd1)]=new _0xc09b77(_0x27d531[_0x126970(0xcc)],_0x60cb8c,_0x30864a,!!_0x5382f0),this[_0x126970(0xd1)][_0x126970(0x8f)](..._0x21226a)['to'](this),_0x47e21b&&this[_0x126970(0xd1)][_0x126970(0xd7)](_0x126970(0x9c))['to'](_0x47e21b,_0x126970(0x95)),this[_0x126970(0xdf)](_0x60cb8c);}[_0x1d91cd(0xaf)](){const _0x5f3cd7=_0x1d91cd;_0xcf8872(this[_0x5f3cd7(0xd3)])[_0x5f3cd7(0x9e)][_0x5f3cd7(0xbb)](_0x5f3cd7(0x8d))[_0x5f3cd7(0xe2)]();}[_0x1d91cd(0xa7)](){const _0x46bcd1=_0x1d91cd;this[_0x46bcd1(0xd1)]&&this[_0x46bcd1(0xd1)][_0x46bcd1(0xa7)]();}[_0x1d91cd(0x84)](){const _0x85480=_0x1d91cd;this[_0x85480(0xd1)]&&this[_0x85480(0xd1)][_0x85480(0x84)]();}[_0x1d91cd(0xa4)](_0x5a8e77){const _0x4762f7=_0x1d91cd,_0x19d46e=_0xcf8872(this[_0x4762f7(0xd3)]),_0x2de298=_0x19d46e[_0x4762f7(0x9e)][_0x4762f7(0xbb)](_0x4762f7(0x8d));this[_0x4762f7(0xc8)]&&(_0x19d46e[_0x4762f7(0x7c)][_0x4762f7(0xa1)][_0x4762f7(0x8e)](_0x4762f7(0xce),this[_0x4762f7(0xc8)]),this[_0x4762f7(0xc8)]=null),this[_0x4762f7(0x7b)]=!0x0,_0x2de298[_0x4762f7(0xa1)]?.[_0x4762f7(0x7a)]&&(_0x2de298[_0x4762f7(0xa1)][_0x4762f7(0x7a)][_0x4762f7(0xac)]=_0x5a8e77[_0x4762f7(0xb2)],_0x2de298[_0x4762f7(0xa1)][_0x4762f7(0x7a)][_0x4762f7(0x9d)]&&_0x5a8e77[_0x4762f7(0xdc)]&&(_0x2de298[_0x4762f7(0xa1)][_0x4762f7(0x7a)][_0x4762f7(0x9d)][_0x4762f7(0xb1)]=_0x5a8e77[_0x4762f7(0xdc)])),this[_0x4762f7(0xd1)][_0x4762f7(0x7d)](_0x5a8e77[_0x4762f7(0xa9)]),this[_0x4762f7(0xda)](_0x5a8e77[_0x4762f7(0xc6)],_0x5a8e77[_0x4762f7(0xc1)]),this[_0x4762f7(0xc8)]=()=>{const _0x4f855c=_0x4762f7;this[_0x4f855c(0x7b)]=!0x1,this[_0x4f855c(0xc8)]=null,_0x2de298[_0x4f855c(0xa1)]&&_0x2de298[_0x4f855c(0xa1)][_0x4f855c(0xcf)]();},_0x19d46e[_0x4762f7(0x7c)][_0x4762f7(0xa1)][_0x4762f7(0xbd)](_0x4762f7(0xce),this[_0x4762f7(0xc8)]);}[_0x1d91cd(0xda)](_0x48a7c3,_0x2f3093){const _0x4a6cac=_0x1d91cd;this[_0x4a6cac(0xd3)][_0x4a6cac(0x9e)][_0x4a6cac(0xbb)](_0x86949d)[_0x4a6cac(0xbc)](_0x48a7c3,_0x4a6cac(0x81)+_0x2f3093,!0x0,!0x0);}[_0x1d91cd(0xdf)](_0x4cf91a){const _0xf1afc0=_0x1d91cd,_0x45add2=_0xcf8872(this[_0xf1afc0(0xd3)]);this[_0xf1afc0(0xda)](_0x4cf91a[_0xf1afc0(0xc6)],_0x4cf91a[_0xf1afc0(0xc1)]);const _0x597a57=this[_0xf1afc0(0xa0)]();_0x597a57&&_0x597a57[0x0]&&_0x2ed5d4({'target':_0x597a57[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x45add2[_0xf1afc0(0x9e)][_0xf1afc0(0xbb)](_0xf1afc0(0x8d))[_0xf1afc0(0xa5)]({'title':_0x4cf91a[_0xf1afc0(0xb2)],'icon':_0x4cf91a[_0xf1afc0(0xdc)],'hasCloseButton':!0x0,'id':_0xf1afc0(0x7e),'position':this[_0xf1afc0(0x86)][_0xf1afc0(0xd7)](this),'className':_0xf1afc0(0x98)+(_0x4cf91a[_0xf1afc0(0xa6)]?_0xf1afc0(0x89):''),'content':this[_0xf1afc0(0xd1)],'onShow':_0x2444f6=>{const _0x5f1591=_0xf1afc0;_0x4cf91a[_0x5f1591(0xa6)]&&this[_0x5f1591(0xd1)][_0x5f1591(0xc9)](_0x2444f6),this[_0x5f1591(0xb7)](),this[_0x5f1591(0xd0)]=!0x0;},'onHide':()=>{const _0x30decc=_0xf1afc0;this[_0x30decc(0xd3)][_0x30decc(0x9e)][_0x30decc(0xbb)](_0x30decc(0x83))[_0x30decc(0xb3)](_0x30decc(0x81)+this[_0x30decc(0xe5)][_0x30decc(0xc1)]),this[_0x30decc(0x99)](),this[_0x30decc(0x9a)](_0x30decc(0xb9)),this[_0x30decc(0xd0)]=!0x1;}});}[_0x1d91cd(0x86)](_0x288190,_0x2c682e){const _0x3ea84e=_0x1d91cd;if(!_0x2c682e)return null;const _0x764b9e=this[_0x3ea84e(0xa0)]();if(!_0x764b9e||0x0===_0x764b9e[_0x3ea84e(0xbe)])return{'left':Math[_0x3ea84e(0x7f)](_0x2c682e[_0x3ea84e(0x87)]+_0x2c682e[_0x3ea84e(0xb6)]/0x2-_0x288190[_0x3ea84e(0xb6)]/0x2),'top':Math[_0x3ea84e(0x7f)](_0x2c682e[_0x3ea84e(0xb0)]+_0x2c682e[_0x3ea84e(0xe4)]/0x2-_0x288190[_0x3ea84e(0xe4)]/0x2)};const _0x26cf25=Math[_0x3ea84e(0x7f)](_0x2c682e[_0x3ea84e(0x87)]+_0x2c682e[_0x3ea84e(0xb6)]/0x2-_0x288190[_0x3ea84e(0xb6)]/0x2),_0x307c47=new _0x1886d0(_0x764b9e[0x0]),_0x5a83bd=new _0x1886d0(_0x764b9e[_0x764b9e[_0x3ea84e(0xbe)]-0x1]),_0x1655dc=_0x288190[_0x3ea84e(0xe4)],_0x45cd4e=this[_0x3ea84e(0xe5)][_0x3ea84e(0xa6)]?0x8:0x0;return{'left':_0x26cf25,'top':this[_0x3ea84e(0x8a)](_0x307c47,_0x5a83bd,_0x1655dc,_0x45cd4e,_0x2c682e)};}[_0x1d91cd(0x8a)](_0x2f523d,_0x781523,_0x1a707c,_0x339d33=0x0,_0x4888d2){const _0x18ebea=_0x1d91cd,_0x27947c=_0x1a707c+_0x339d33,_0x15e546=new _0x1886d0(_0x2fe053[_0x18ebea(0x88)]),_0x1669c8=[_0x2f523d[_0x18ebea(0x85)](),_0x781523[_0x18ebea(0x85)]()][_0x18ebea(0xba)](_0x39479d=>_0x39479d),_0x38f3bc=_0x1886d0[_0x18ebea(0xae)](_0x1669c8);if(!_0x38f3bc)return Math[_0x18ebea(0x7f)](_0x4888d2[_0x18ebea(0xb0)]+_0x4888d2[_0x18ebea(0xe4)]/0x2);const _0xfa03b5=_0x15e546[_0x18ebea(0xcd)](_0x38f3bc);if(!_0xfa03b5)return Math[_0x18ebea(0x7f)](_0x4888d2[_0x18ebea(0xb0)]+_0x4888d2[_0x18ebea(0xe4)]/0x2);const _0x76772=_0x4888d2[_0x18ebea(0x85)](),_0x1f5ca2=_0x76772&&_0x38f3bc[_0x18ebea(0xe4)]>_0x76772[_0x18ebea(0xe4)],_0x29ae0=_0xfa03b5[_0x18ebea(0xb0)],_0x2520ff=_0xfa03b5[_0x18ebea(0xc2)];if(_0x1f5ca2){const _0x5db8b6=(_0x76772||_0x15e546)[_0x18ebea(0xe4)]/0x2-_0x27947c/0x2,_0x16e014=_0x29ae0-lt-_0x4888d2[_0x18ebea(0xb0)],_0x3c49e9=_0x4888d2[_0x18ebea(0xc2)]-_0x2520ff-lt;return _0x16e014>=_0x27947c?Math[_0x18ebea(0x80)](lt,_0x29ae0-_0x27947c-lt):_0x3c49e9>=_0x27947c?_0x2520ff+lt:Math[_0x18ebea(0x80)](lt,_0x5db8b6);}const _0x2afc40=_0x29ae0-_0x27947c,_0x18e559=_0x4888d2[_0x18ebea(0xc2)]-_0x2520ff-lt,_0x46fb5f=_0x29ae0-lt-_0x4888d2[_0x18ebea(0xb0)];let _0x4edeb5;if(_0x18e559>=_0x27947c)_0x4edeb5=_0x2520ff+lt;else{if(_0x46fb5f>=_0x27947c)_0x4edeb5=_0x2afc40-lt;else _0x4edeb5=_0x29ae0+_0x38f3bc[_0x18ebea(0xe4)]/0x2-_0x27947c/0x2;}return _0x4edeb5;}[_0x1d91cd(0xb7)](){const _0x9117c9=_0x1d91cd,_0x1b03e1=_0xcf8872(this[_0x9117c9(0xd3)]);this[_0x9117c9(0x9f)](_0x1b03e1[_0x9117c9(0xd2)][_0x9117c9(0xe0)],_0x9117c9(0x8c),()=>{const _0x57bafa=_0x9117c9;if(this[_0x57bafa(0x7b)])return;for(const {name:_0x424c33,data:{newRange:_0x5778ec}}of _0x1b03e1[_0x57bafa(0xd2)][_0x57bafa(0xe0)][_0x57bafa(0xd5)][_0x57bafa(0x96)]())if(_0x424c33[_0x57bafa(0xd6)](_0x57bafa(0xa2))&&(_0x5778ec&&(_0x5778ec[_0x57bafa(0x94)][_0x57bafa(0xe1)](_0x5778ec[_0x57bafa(0xa3)])||_0x57bafa(0x9b)==_0x5778ec[_0x57bafa(0x93)][_0x57bafa(0x79)])||null==_0x5778ec)){const _0x195128=_0xc1c6c2(this[_0x57bafa(0xd3)][_0x57bafa(0xcc)],_0x57bafa(0xbf));this[_0x57bafa(0xd1)][_0x57bafa(0xcb)](_0x195128),this[_0x57bafa(0x9a)](_0x57bafa(0xa8));}});}[_0x1d91cd(0x99)](){const _0x14cc28=_0x1d91cd,_0x508a67=_0xcf8872(this[_0x14cc28(0xd3)]);this[_0x14cc28(0xb8)](_0x508a67[_0x14cc28(0xd2)][_0x14cc28(0xe0)]);}[_0x1d91cd(0xa0)](){const _0x28c4e7=_0x1d91cd,_0x137478=_0xcf8872(this[_0x28c4e7(0xd3)]);return _0xd2e375(_0x137478[_0x28c4e7(0x7c)],[..._0x137478[_0x28c4e7(0xd2)][_0x28c4e7(0xc0)][_0x28c4e7(0x78)](_0x28c4e7(0xc3)),..._0x137478[_0x28c4e7(0xd2)][_0x28c4e7(0xc0)][_0x28c4e7(0x78)](_0x28c4e7(0xdb))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x520d21,_0x36d989){var _0x3d601b=_0x4567,_0x24c0e7=_0x520d21();while(!![]){try{var _0x17d1a9=parseInt(_0x3d601b(0xed))/0x1+-parseInt(_0x3d601b(0xeb))/0x2*(parseInt(_0x3d601b(0xf2))/0x3)+-parseInt(_0x3d601b(0xec))/0x4*(-parseInt(_0x3d601b(0xf0))/0x5)+parseInt(_0x3d601b(0xf8))/0x6+parseInt(_0x3d601b(0xef))/0x7+parseInt(_0x3d601b(0xf6))/0x8*(parseInt(_0x3d601b(0xee))/0x9)+-parseInt(_0x3d601b(0xf3))/0xa;if(_0x17d1a9===_0x36d989)break;else _0x24c0e7['push'](_0x24c0e7['shift']());}catch(_0x1a8ef8){_0x24c0e7['push'](_0x24c0e7['shift']());}}}(_0x40c9,0xa2d20));function _0x40c9(){var _0x2c6061=['ck-ai-balloon__disclaimer','7218bSPoco','30697090gYkxUW','AI_DISCLAIMER_TEXT','setTemplate','1988464nrfgNT','div','6187884ivRaow','ck-ai-balloon__disclaimer-content','740iSRGnO','2276bJJkRA','631889ibjPzc','36iusuMg','9073953nKMsVq','5915SxxNLF'];_0x40c9=function(){return _0x2c6061;};return _0x40c9();}import{View as _0x56bcb4}from'ckeditor5/src/ui.js';import{getTranslation as _0x50a821}from'../../aicore/utils/common-translations.js';function _0x4567(_0x56e1a2,_0xa1405e){var _0x40c9a0=_0x40c9();return _0x4567=function(_0x4567c6,_0x47a0d6){_0x4567c6=_0x4567c6-0xeb;var _0x14b4f6=_0x40c9a0[_0x4567c6];return _0x14b4f6;},_0x4567(_0x56e1a2,_0xa1405e);}export class AIBalloonDisclaimerView extends _0x56bcb4{constructor(_0xcd7cb3){var _0x27c6ab=_0x4567;super(_0xcd7cb3),this[_0x27c6ab(0xf5)]({'tag':_0x27c6ab(0xf7),'attributes':{'class':['ck',_0x27c6ab(0xf1)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x27c6ab(0xf9)]},'children':[{'text':_0x50a821(_0xcd7cb3,_0x27c6ab(0xf4))}]}]});}}
23
+ (function(_0xf2fb81,_0x2bdf34){var _0x248d58=_0x191b,_0x3ef8df=_0xf2fb81();while(!![]){try{var _0x178fc9=parseInt(_0x248d58(0xa0))/0x1*(parseInt(_0x248d58(0xa3))/0x2)+-parseInt(_0x248d58(0x97))/0x3+parseInt(_0x248d58(0x9d))/0x4+parseInt(_0x248d58(0x9c))/0x5*(-parseInt(_0x248d58(0x99))/0x6)+parseInt(_0x248d58(0x9e))/0x7+parseInt(_0x248d58(0x98))/0x8*(parseInt(_0x248d58(0x95))/0x9)+-parseInt(_0x248d58(0x96))/0xa*(parseInt(_0x248d58(0xa2))/0xb);if(_0x178fc9===_0x2bdf34)break;else _0x3ef8df['push'](_0x3ef8df['shift']());}catch(_0xb31ee2){_0x3ef8df['push'](_0x3ef8df['shift']());}}}(_0x2fcc,0xeb6f2));import{View as _0xb9ea2e}from'ckeditor5/src/ui.js';import{getTranslation as _0x52601a}from'../../aicore/utils/common-translations.js';function _0x191b(_0x13d9da,_0x1ae8ed){var _0x2fcc0d=_0x2fcc();return _0x191b=function(_0x191bf0,_0x3f1a96){_0x191bf0=_0x191bf0-0x95;var _0xf31aa8=_0x2fcc0d[_0x191bf0];return _0xf31aa8;},_0x191b(_0x13d9da,_0x1ae8ed);}function _0x2fcc(){var _0x1ee493=['ck-ai-balloon__disclaimer','2005fOswbS','5450732VMKwPm','8537102JpcqZn','AI_DISCLAIMER_TEXT','1eAuFJQ','div','3065326pCYcrE','2656172OuxGoG','setTemplate','40797RScshw','10PhrBoY','3996996ETabTi','520hERjhN','24384ZtZjhZ','ck-ai-balloon__disclaimer-content'];_0x2fcc=function(){return _0x1ee493;};return _0x2fcc();}export class AIBalloonDisclaimerView extends _0xb9ea2e{constructor(_0x32ef2e){var _0x4faf88=_0x191b;super(_0x32ef2e),this[_0x4faf88(0xa4)]({'tag':_0x4faf88(0xa1),'attributes':{'class':['ck',_0x4faf88(0x9b)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x4faf88(0x9a)]},'children':[{'text':_0x52601a(_0x32ef2e,_0x4faf88(0x9f))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e4787=_0x229b;function _0x5d96(){const _0x3df467=['isEnabled','add','items','134735RcvhEK','3ocHlDx','applyButton','ck-ai-button-secondary','12coogUE','6695143Qrovep','ck-ai-button-primary','bind','locale','3585050ojEdRd','set','isLoading','extendTemplate','274393krADEG','8078032oCVeIf','2XgSNvY','AI_BALLOON_APPLY_BUTTON','4699971EghCqN','_createButton','ck-ai-balloon__toolbar','AI_BALLOON_SUGGEST_BUTTON','suggestButton','1801252ILmXGd'];_0x5d96=function(){return _0x3df467;};return _0x5d96();}function _0x229b(_0x1c803a,_0x3f1780){const _0x5d96c4=_0x5d96();return _0x229b=function(_0x229b32,_0x4a6dc7){_0x229b32=_0x229b32-0x170;let _0x3d32c7=_0x5d96c4[_0x229b32];return _0x3d32c7;},_0x229b(_0x1c803a,_0x3f1780);}(function(_0x21c463,_0x46ae13){const _0x3c9442=_0x229b,_0x1854f5=_0x21c463();while(!![]){try{const _0x54f51e=parseInt(_0x3c9442(0x178))/0x1*(parseInt(_0x3c9442(0x17a))/0x2)+-parseInt(_0x3c9442(0x186))/0x3*(-parseInt(_0x3c9442(0x181))/0x4)+parseInt(_0x3c9442(0x185))/0x5*(parseInt(_0x3c9442(0x189))/0x6)+-parseInt(_0x3c9442(0x170))/0x7+parseInt(_0x3c9442(0x179))/0x8+-parseInt(_0x3c9442(0x17c))/0x9+parseInt(_0x3c9442(0x174))/0xa;if(_0x54f51e===_0x46ae13)break;else _0x1854f5['push'](_0x1854f5['shift']());}catch(_0x5c00cc){_0x1854f5['push'](_0x1854f5['shift']());}}}(_0x5d96,0xa321f));import{ToolbarView as _0x5b5f22,ButtonView as _0x3900fe}from'ckeditor5/src/ui.js';import{getTranslation as _0x26024f}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x5b5f22{constructor(_0x3befad,_0x222a23=!0x0,_0x1c008d=!0x0){const _0x11f900=_0x229b;super(_0x3befad),this[_0x11f900(0x175)](_0x11f900(0x176),!0x1),_0x222a23&&(this[_0x11f900(0x187)]=this[_0x11f900(0x17d)](_0x26024f(_0x3befad,_0x11f900(0x17b)),_0x11f900(0x171)),this[_0x11f900(0x187)][_0x11f900(0x172)](_0x11f900(0x182))['to'](this,_0x11f900(0x176),_0x5bd4dd=>!_0x5bd4dd),this[_0x11f900(0x184)][_0x11f900(0x183)](this[_0x11f900(0x187)])),_0x1c008d&&(this[_0x11f900(0x180)]=this[_0x11f900(0x17d)](_0x26024f(_0x3befad,_0x11f900(0x17f)),_0x222a23?_0x11f900(0x188):_0x11f900(0x171)),this[_0x11f900(0x180)][_0x11f900(0x172)](_0x11f900(0x182))['to'](this,_0x11f900(0x176),_0x184b94=>!_0x184b94),this[_0x11f900(0x184)][_0x11f900(0x183)](this[_0x11f900(0x180)])),this[_0x11f900(0x177)]({'attributes':{'class':[_0x11f900(0x17e)]}});}[_0x3e4787(0x17d)](_0x4b2332,_0x33fc8e){const _0x40b3ce=_0x3e4787,_0x3d8dc2=new _0x3900fe(this[_0x40b3ce(0x173)]);return _0x3d8dc2[_0x40b3ce(0x175)]({'label':_0x4b2332,'class':_0x33fc8e||'','isVisible':!0x0,'withText':!0x0}),_0x3d8dc2;}}
23
+ function _0x136e(_0x1065c4,_0x3610e3){const _0x440a6b=_0x440a();return _0x136e=function(_0x136eac,_0x2be1f3){_0x136eac=_0x136eac-0x138;let _0x3cf40e=_0x440a6b[_0x136eac];return _0x3cf40e;},_0x136e(_0x1065c4,_0x3610e3);}const _0x3fe860=_0x136e;(function(_0x127567,_0xd7e45c){const _0x2b5fd3=_0x136e,_0xe1cf98=_0x127567();while(!![]){try{const _0x10ba76=parseInt(_0x2b5fd3(0x14c))/0x1*(-parseInt(_0x2b5fd3(0x140))/0x2)+parseInt(_0x2b5fd3(0x148))/0x3+parseInt(_0x2b5fd3(0x141))/0x4+parseInt(_0x2b5fd3(0x146))/0x5*(-parseInt(_0x2b5fd3(0x14f))/0x6)+parseInt(_0x2b5fd3(0x149))/0x7*(parseInt(_0x2b5fd3(0x147))/0x8)+-parseInt(_0x2b5fd3(0x152))/0x9+parseInt(_0x2b5fd3(0x13f))/0xa*(-parseInt(_0x2b5fd3(0x138))/0xb);if(_0x10ba76===_0xd7e45c)break;else _0xe1cf98['push'](_0xe1cf98['shift']());}catch(_0x9b9adf){_0xe1cf98['push'](_0xe1cf98['shift']());}}}(_0x440a,0x9c182));import{ToolbarView as _0x26ff94,ButtonView as _0x7fd461}from'ckeditor5/src/ui.js';import{getTranslation as _0x37ef0e}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x26ff94{constructor(_0x26cda3,_0x4bb54f=!0x0,_0x2100fd=!0x0){const _0x4a92bf=_0x136e;super(_0x26cda3),this[_0x4a92bf(0x14e)](_0x4a92bf(0x144),!0x1),_0x4bb54f&&(this[_0x4a92bf(0x13c)]=this[_0x4a92bf(0x14b)](_0x37ef0e(_0x26cda3,_0x4a92bf(0x13e)),_0x4a92bf(0x142)),this[_0x4a92bf(0x13c)][_0x4a92bf(0x150)](_0x4a92bf(0x139))['to'](this,_0x4a92bf(0x144),_0x1f634c=>!_0x1f634c),this[_0x4a92bf(0x151)][_0x4a92bf(0x13d)](this[_0x4a92bf(0x13c)])),_0x2100fd&&(this[_0x4a92bf(0x14a)]=this[_0x4a92bf(0x14b)](_0x37ef0e(_0x26cda3,_0x4a92bf(0x13a)),_0x4bb54f?_0x4a92bf(0x143):_0x4a92bf(0x142)),this[_0x4a92bf(0x14a)][_0x4a92bf(0x150)](_0x4a92bf(0x139))['to'](this,_0x4a92bf(0x144),_0x41e267=>!_0x41e267),this[_0x4a92bf(0x151)][_0x4a92bf(0x13d)](this[_0x4a92bf(0x14a)])),this[_0x4a92bf(0x145)]({'attributes':{'class':[_0x4a92bf(0x13b)]}});}[_0x3fe860(0x14b)](_0xc5c694,_0x48fa6d){const _0x21c992=_0x3fe860,_0x298c66=new _0x7fd461(this[_0x21c992(0x14d)]);return _0x298c66[_0x21c992(0x14e)]({'label':_0xc5c694,'class':_0x48fa6d||'','isVisible':!0x0,'withText':!0x0}),_0x298c66;}}function _0x440a(){const _0x38205f=['ck-ai-button-primary','ck-ai-button-secondary','isLoading','extendTemplate','2285zltWUD','303136EoEYtU','3733152DvcrzI','161qADnAH','suggestButton','_createButton','36589mNDBDU','locale','set','4674BtpaEO','bind','items','9552528CCygGH','11GdqTgv','isEnabled','AI_BALLOON_SUGGEST_BUTTON','ck-ai-balloon__toolbar','applyButton','add','AI_BALLOON_APPLY_BUTTON','11356750inqcZM','10ApETef','5037908CPHOmc'];_0x440a=function(){return _0x38205f;};return _0x440a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x876952=_0x5b58;(function(_0x5551ef,_0x29c8bd){const _0x3165e2=_0x5b58,_0x3eb4ba=_0x5551ef();while(!![]){try{const _0x4599a4=-parseInt(_0x3165e2(0x9c))/0x1*(-parseInt(_0x3165e2(0xb1))/0x2)+-parseInt(_0x3165e2(0xa5))/0x3+-parseInt(_0x3165e2(0xd7))/0x4*(-parseInt(_0x3165e2(0x8c))/0x5)+parseInt(_0x3165e2(0x89))/0x6+-parseInt(_0x3165e2(0xbb))/0x7*(parseInt(_0x3165e2(0x8d))/0x8)+-parseInt(_0x3165e2(0x8a))/0x9*(-parseInt(_0x3165e2(0xe1))/0xa)+parseInt(_0x3165e2(0x94))/0xb;if(_0x4599a4===_0x29c8bd)break;else _0x3eb4ba['push'](_0x3eb4ba['shift']());}catch(_0x30829e){_0x3eb4ba['push'](_0x3eb4ba['shift']());}}}(_0x2401,0x64625));import{ButtonView as _0x1bee3f,View as _0x2891ea,ViewCollection as _0x321c21,FocusCycler as _0x1eaeeb}from'ckeditor5/src/ui.js';import{FocusTracker as _0xf8474c,KeystrokeHandler as _0x323db5}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x59c86c,IconPreviousArrow as _0x12f884}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x307759}from'./aiballoontoolbarview.js';function _0x2401(){const _0x2c177e=['_mainView','AI_BALLOON_PREVIOUS_TOOLTIP','focusFirst','disclaimerView','ai-balloon-error','setTemplate','focusCycler','isErrorVisible','getIndex','headerView','createCollection','start','showRecoverableError','_createNextButtonView','shift\x20+\x20tab','applySuggestion','_addDisclaimerView','tab','focusTracker','_createPreviousButtonView','19132biwEWo','showSuggestButton','hideError','scrollManager','_dialogContent','includes','fire','stop','render','_initializeScrollManager','55900mdQxWk','focusLast','keystrokes','suggestButton','ck-hidden','3294666mpIrgB','144puAbKz','applyButton','125NzDLZt','72ExHrQM','setLoading','ck-ai-suggestion__error','AI_BALLOON_NEXT_TOOLTIP','isLoading','bind','showBlockingError','504570iRYgtJ','focus','isEnabled','add','_focusables','remove','updateContent','destroy','1VvKmaP','showNext','errorMessage','bodyView','view','execute','insertSuggestion','showPrevious','_availableActions','1645212AHOsds','span','clearLoading','locale','_createErrorView','bindTemplate','change:isTrackChangesOn','listenTo','stopAutoScroll','toolbar','_addContentView','ai-balloon-content','348044naUGMJ','showError','children','setupRotator','addMany','element','showApplyButton','clear','mainView','isTrackChangesOn','14343dWZvGq','set','_getScrollableElement','ck-ai-suggestion__error-text','_addToolbar','_errorView','div','startAutoScroll'];_0x2401=function(){return _0x2c177e;};return _0x2401();}import{AIBalloonDisclaimerView as _0x24728b}from'./aiballoondisclaimerview.js';import{getTranslation as _0x9eebff}from'../../aicore/utils/common-translations.js';import{ScrollManager as _0x3ab49d}from'../../aicore/utils/scrollmanager.js';function _0x5b58(_0x4892a0,_0x4da544){const _0x2401f1=_0x2401();return _0x5b58=function(_0x5b5883,_0x12bbb3){_0x5b5883=_0x5b5883-0x88;let _0x3ac3ee=_0x2401f1[_0x5b5883];return _0x3ac3ee;},_0x5b58(_0x4892a0,_0x4da544);}import{AISuggestionContainerView as _0x150e9b}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x876952(0xd2),_0x876952(0xa2),_0x876952(0x9d),_0x876952(0xa3)];export class AIBalloonView extends _0x2891ea{[_0x876952(0xd5)];[_0x876952(0xe3)];[_0x876952(0xc9)];[_0x876952(0xa4)];[_0x876952(0x98)];[_0x876952(0xc0)];[_0x876952(0xda)];constructor(_0x30bdd2,_0x1157dd,_0x3f2a18,_0x4bf619){const _0x48aa2b=_0x876952;super(_0x30bdd2),this[_0x48aa2b(0xa4)]=_0x3f2a18,this[_0x48aa2b(0xbc)](_0x48aa2b(0x91),!0x1),this[_0x48aa2b(0xbc)](_0x48aa2b(0xba),_0x4bf619),this[_0x48aa2b(0xbc)](_0x48aa2b(0xca),!0x1),this[_0x48aa2b(0xbc)](_0x48aa2b(0x9e),''),this[_0x48aa2b(0xd5)]=new _0xf8474c(),this[_0x48aa2b(0xe3)]=new _0x323db5(),this[_0x48aa2b(0x98)]=this[_0x48aa2b(0xcd)](),this[_0x48aa2b(0xc9)]=new _0x1eaeeb({'focusables':this[_0x48aa2b(0x98)],'focusTracker':this[_0x48aa2b(0xd5)],'keystrokeHandler':this[_0x48aa2b(0xe3)],'actions':{'focusPrevious':_0x48aa2b(0xd1),'focusNext':_0x48aa2b(0xd4)}}),this[_0x48aa2b(0xdb)]=new _0x321c21(),this[_0x48aa2b(0xaf)](_0x1157dd[_0x48aa2b(0xb9)]),this[_0x48aa2b(0xd3)](),this[_0x48aa2b(0xbf)](_0x1157dd[_0x48aa2b(0xb7)],_0x1157dd[_0x48aa2b(0xd8)]),this[_0x48aa2b(0xae)][_0x48aa2b(0x92)](_0x48aa2b(0x91))['to'](this),this[_0x48aa2b(0x98)][_0x48aa2b(0xb8)](),this[_0x48aa2b(0x98)][_0x48aa2b(0xb5)]([this[_0x48aa2b(0xae)]]),this[_0x48aa2b(0xc8)]({'tag':_0x48aa2b(0xc1),'attributes':{'class':_0x48aa2b(0xb0)},'children':this[_0x48aa2b(0xdb)]}),this['on'](_0x48aa2b(0xab),()=>{const _0x4b06e8=_0x48aa2b;this[_0x4b06e8(0xdb)][_0x4b06e8(0x99)](this[_0x4b06e8(0xae)]),this[_0x4b06e8(0xbf)](_0x1157dd[_0x4b06e8(0xb7)],_0x1157dd[_0x4b06e8(0xd8)]);});}[_0x876952(0xdf)](){const _0x28378a=_0x876952;super[_0x28378a(0xdf)]();for(const _0x52c92e of this[_0x28378a(0x98)])this[_0x28378a(0xd5)][_0x28378a(0x97)](_0x52c92e[_0x28378a(0xb6)]);this[_0x28378a(0xe3)][_0x28378a(0xac)](this[_0x28378a(0xb6)]),this[_0x28378a(0xe0)]();}[_0x876952(0x9b)](){const _0xe9ce70=_0x876952;super[_0xe9ce70(0x9b)](),this[_0xe9ce70(0xda)]&&this[_0xe9ce70(0xda)][_0xe9ce70(0x9b)]();}[_0x876952(0x95)](_0x1d7fe0){const _0x5614dd=_0x876952;-0x1===_0x1d7fe0?this[_0x5614dd(0xc9)][_0x5614dd(0xe2)]():this[_0x5614dd(0xc9)][_0x5614dd(0xc5)]();}[_0x876952(0x8e)](){const _0x3e5266=_0x876952;this[_0x3e5266(0x91)]=!0x0;}[_0x876952(0xa7)](){const _0x39d1b1=_0x876952;this[_0x39d1b1(0x91)]=!0x1;}[_0x876952(0xb2)](_0x412ac3){const _0x4a9194=_0x876952;this[_0x4a9194(0xc0)]||(this[_0x4a9194(0xc0)]=this[_0x4a9194(0xa9)](),this[_0x4a9194(0xdb)][_0x4a9194(0xb5)]([this[_0x4a9194(0xc0)]],0x0)),this[_0x4a9194(0x9e)]=_0x412ac3,this[_0x4a9194(0xca)]=!0x0;}[_0x876952(0xd9)](){const _0x638acd=_0x876952;this[_0x638acd(0xca)]=!0x1;}[_0x876952(0xcf)](_0x57a8da){const _0x481262=_0x876952;this[_0x481262(0xb2)](_0x57a8da);}[_0x876952(0x93)](_0xb1d1d7){const _0x17db26=_0x876952;this[_0x17db26(0xb2)](_0xb1d1d7),this[_0x17db26(0xae)]&&(this[_0x17db26(0xae)][_0x17db26(0x8b)]&&(this[_0x17db26(0xae)][_0x17db26(0x8b)][_0x17db26(0x96)]=!0x1),this[_0x17db26(0xae)][_0x17db26(0xe4)]&&(this[_0x17db26(0xae)][_0x17db26(0xe4)][_0x17db26(0x96)]=!0x1));}[_0x876952(0xb4)](_0x2c4253){const _0x23d56d=_0x876952,_0x58d42d=this[_0x23d56d(0xd0)](),_0x584ef7=this[_0x23d56d(0xd6)]();_0x2c4253[_0x23d56d(0xa0)][_0x23d56d(0xcc)][_0x23d56d(0xb3)][_0x23d56d(0x97)](_0x58d42d,0x2),_0x2c4253[_0x23d56d(0xa0)][_0x23d56d(0xcc)][_0x23d56d(0xb3)][_0x23d56d(0x97)](_0x584ef7,0x0),this[_0x23d56d(0x98)][_0x23d56d(0xb5)]([_0x58d42d,_0x584ef7]),this[_0x23d56d(0xd5)][_0x23d56d(0x97)](_0x58d42d[_0x23d56d(0xb6)]),this[_0x23d56d(0xd5)][_0x23d56d(0x97)](_0x584ef7[_0x23d56d(0xb6)]);}[_0x876952(0xaf)](_0x3cc8b8){const _0x121c82=_0x876952;this[_0x121c82(0xc3)]=_0x3cc8b8,this[_0x121c82(0xdb)][_0x121c82(0x97)](this[_0x121c82(0xc3)]);}[_0x876952(0x9a)](_0x3f4979){const _0x5c9274=_0x876952,_0x5a3b60=this[_0x5c9274(0xdb)][_0x5c9274(0xcb)](this[_0x5c9274(0xc3)]);this[_0x5c9274(0xdb)][_0x5c9274(0x99)](this[_0x5c9274(0xc3)]),this[_0x5c9274(0xc3)]=_0x3f4979,this[_0x5c9274(0xdb)][_0x5c9274(0x97)](this[_0x5c9274(0xc3)],_0x5a3b60),this[_0x5c9274(0xd9)](),this[_0x5c9274(0xda)]&&this[_0x5c9274(0xda)][_0x5c9274(0x9b)](),this[_0x5c9274(0xe0)]();}[_0x876952(0xd3)](){const _0x7b8467=_0x876952;this[_0x7b8467(0xc6)]=new _0x24728b(this[_0x7b8467(0xa8)]),this[_0x7b8467(0xdb)][_0x7b8467(0x97)](this[_0x7b8467(0xc6)]);}[_0x876952(0xbf)](_0xbfbb97=!0x0,_0x2a1f2a=!0x0){const _0x52d504=_0x876952;_0xbfbb97=_0xbfbb97&&!this[_0x52d504(0xba)]&&this[_0x52d504(0xa4)][_0x52d504(0xdc)](_0x52d504(0xd2)),_0x2a1f2a=_0x2a1f2a&&this[_0x52d504(0xa4)][_0x52d504(0xdc)](_0x52d504(0xa2)),this[_0x52d504(0xae)]=new _0x307759(this[_0x52d504(0xa8)],_0xbfbb97,_0x2a1f2a),this[_0x52d504(0xae)][_0x52d504(0x8b)]?.['on'](_0x52d504(0xa1),()=>{const _0x1a985c=_0x52d504;this[_0x1a985c(0xdd)](_0x1a985c(0xd2));}),this[_0x52d504(0xae)][_0x52d504(0xe4)]?.['on'](_0x52d504(0xa1),()=>{const _0x2924e7=_0x52d504;this[_0x2924e7(0xdd)](_0x2924e7(0xa2));}),this[_0x52d504(0xdb)][_0x52d504(0x97)](this[_0x52d504(0xae)]);}[_0x876952(0xd0)](){const _0x2da951=_0x876952,_0x58c034=new _0x1bee3f(this[_0x2da951(0xa8)]);return _0x58c034[_0x2da951(0xbc)]({'icon':_0x59c86c,'tooltip':_0x9eebff(this[_0x2da951(0xa8)],_0x2da951(0x90))}),_0x58c034['on'](_0x2da951(0xa1),()=>{const _0x4015bd=_0x2da951;this[_0x4015bd(0xdd)](_0x4015bd(0x9d));}),_0x58c034;}[_0x876952(0xd6)](){const _0xb8c5b8=_0x876952,_0x30793c=new _0x1bee3f(this[_0xb8c5b8(0xa8)]);return _0x30793c[_0xb8c5b8(0xbc)]({'icon':_0x12f884,'tooltip':_0x9eebff(this[_0xb8c5b8(0xa8)],_0xb8c5b8(0xc4))}),_0x30793c['on'](_0xb8c5b8(0xa1),()=>{const _0x10b8af=_0xb8c5b8;this[_0x10b8af(0xdd)](_0x10b8af(0xa3));}),_0x30793c;}[_0x876952(0xa9)](){const _0x2e3006=_0x876952,_0x2fd9ec=new _0x2891ea(this[_0x2e3006(0xa8)]),_0x5cc50a=new _0x2891ea(this[_0x2e3006(0xa8)]);return _0x5cc50a[_0x2e3006(0xc8)]({'tag':_0x2e3006(0xa6),'attributes':{'class':['ck',_0x2e3006(0xbe)]},'children':[{'text':this[_0x2e3006(0xaa)]['to'](_0x2e3006(0x9e))}]}),_0x2fd9ec[_0x2e3006(0xc8)]({'tag':_0x2e3006(0xc1),'attributes':{'class':['ck',_0x2e3006(0x8f),_0x2e3006(0xc7),this[_0x2e3006(0xaa)]['if'](_0x2e3006(0xca),_0x2e3006(0x88),_0x40ff04=>!_0x40ff04)]},'children':[_0x5cc50a]}),_0x2fd9ec;}[_0x876952(0xc2)](){const _0x193927=_0x876952;this[_0x193927(0xe0)](),this[_0x193927(0xda)]&&this[_0x193927(0xda)][_0x193927(0xce)]();}[_0x876952(0xad)](){const _0x3e21fa=_0x876952;this[_0x3e21fa(0xda)]&&this[_0x3e21fa(0xda)][_0x3e21fa(0xde)]();}[_0x876952(0xe0)](){const _0x4fd5d9=_0x876952,_0x4cc82a=this[_0x4fd5d9(0xbd)]();_0x4cc82a&&!this[_0x4fd5d9(0xda)]&&(this[_0x4fd5d9(0xda)]=new _0x3ab49d(_0x4cc82a));}[_0x876952(0xbd)](){const _0x525faa=_0x876952;return this[_0x525faa(0xc3)]instanceof _0x150e9b&&this[_0x525faa(0xc3)][_0x525faa(0x9f)][_0x525faa(0xb6)]?this[_0x525faa(0xc3)][_0x525faa(0x9f)][_0x525faa(0xb6)]:null;}}
23
+ const _0x56a12a=_0x5767;(function(_0x2160d1,_0x2d50ec){const _0x593b9c=_0x5767,_0x576658=_0x2160d1();while(!![]){try{const _0x402cac=-parseInt(_0x593b9c(0x14b))/0x1*(parseInt(_0x593b9c(0x14e))/0x2)+parseInt(_0x593b9c(0x13a))/0x3+-parseInt(_0x593b9c(0x167))/0x4*(parseInt(_0x593b9c(0x133))/0x5)+parseInt(_0x593b9c(0x140))/0x6+parseInt(_0x593b9c(0x17c))/0x7+-parseInt(_0x593b9c(0x14f))/0x8+parseInt(_0x593b9c(0x158))/0x9;if(_0x402cac===_0x2d50ec)break;else _0x576658['push'](_0x576658['shift']());}catch(_0x4ab5b6){_0x576658['push'](_0x576658['shift']());}}}(_0x250b,0x40e38));import{ButtonView as _0x4d2035,View as _0x28a2f5,ViewCollection as _0x229141,FocusCycler as _0x56dc53}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4a6a9a,KeystrokeHandler as _0x2cf552}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x34ef05,IconPreviousArrow as _0x31d37a}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x59a15d}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x53b43e}from'./aiballoondisclaimerview.js';import{getTranslation as _0x844ce9}from'../../aicore/utils/common-translations.js';import{ScrollManager as _0x4725b4}from'../../aicore/utils/scrollmanager.js';function _0x250b(){const _0x1eef43=['158008CHImbD','getIndex','span','_initializeScrollManager','showRecoverableError','AI_BALLOON_PREVIOUS_TOOLTIP','isTrackChangesOn','render','startAutoScroll','538830yCKMcq','element','ck-ai-suggestion__error','focusCycler','set','focusFirst','showApplyButton','_getScrollableElement','_addToolbar','showNext','locale','includes','applySuggestion','bodyView','isErrorVisible','4oVLuiL','bindTemplate','div','_mainView','_addContentView','insertSuggestion','focusTracker','focusLast','listenTo','isLoading','ai-balloon-error','_dialogContent','clearLoading','setTemplate','remove','_createNextButtonView','execute','change:isTrackChangesOn','_createErrorView','shift\x20+\x20tab','keystrokes','3524703GUhDrS','errorMessage','scrollManager','_availableActions','setLoading','_addDisclaimerView','view','ai-balloon-content','setupRotator','add','showError','stop','suggestButton','addMany','start','clear','disclaimerView','toolbar','1657030omMQlB','isEnabled','stopAutoScroll','destroy','showBlockingError','AI_BALLOON_NEXT_TOOLTIP','_createPreviousButtonView','1237476GHAweb','updateContent','showPrevious','children','hideError','_focusables','518784GoWDqo','headerView','focus','ck-hidden','bind','mainView','_errorView','showSuggestButton','fire','ck-ai-suggestion__error-text','applyButton','2lqmpyN','tab','createCollection','445414wrCSxP'];_0x250b=function(){return _0x1eef43;};return _0x250b();}import{AISuggestionContainerView as _0x442f22}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x56a12a(0x164),_0x56a12a(0x16c),_0x56a12a(0x161),_0x56a12a(0x13c)];function _0x5767(_0x3a0b03,_0x4a7b52){const _0x250beb=_0x250b();return _0x5767=function(_0x57677d,_0x54582a){_0x57677d=_0x57677d-0x12a;let _0x207edb=_0x250beb[_0x57677d];return _0x207edb;},_0x5767(_0x3a0b03,_0x4a7b52);}export class AIBalloonView extends _0x28a2f5{[_0x56a12a(0x16d)];[_0x56a12a(0x17b)];[_0x56a12a(0x15b)];[_0x56a12a(0x17f)];[_0x56a12a(0x13f)];[_0x56a12a(0x146)];[_0x56a12a(0x17e)];constructor(_0x174288,_0x27e612,_0x2cb8b1,_0x498e01){const _0x1de6a8=_0x56a12a;super(_0x174288),this[_0x1de6a8(0x17f)]=_0x2cb8b1,this[_0x1de6a8(0x15c)](_0x1de6a8(0x170),!0x1),this[_0x1de6a8(0x15c)](_0x1de6a8(0x155),_0x498e01),this[_0x1de6a8(0x15c)](_0x1de6a8(0x166),!0x1),this[_0x1de6a8(0x15c)](_0x1de6a8(0x17d),''),this[_0x1de6a8(0x16d)]=new _0x4a6a9a(),this[_0x1de6a8(0x17b)]=new _0x2cf552(),this[_0x1de6a8(0x13f)]=this[_0x1de6a8(0x14d)](),this[_0x1de6a8(0x15b)]=new _0x56dc53({'focusables':this[_0x1de6a8(0x13f)],'focusTracker':this[_0x1de6a8(0x16d)],'keystrokeHandler':this[_0x1de6a8(0x17b)],'actions':{'focusPrevious':_0x1de6a8(0x17a),'focusNext':_0x1de6a8(0x14c)}}),this[_0x1de6a8(0x172)]=new _0x229141(),this[_0x1de6a8(0x16b)](_0x27e612[_0x1de6a8(0x145)]),this[_0x1de6a8(0x181)](),this[_0x1de6a8(0x160)](_0x27e612[_0x1de6a8(0x15e)],_0x27e612[_0x1de6a8(0x147)]),this[_0x1de6a8(0x132)][_0x1de6a8(0x144)](_0x1de6a8(0x170))['to'](this),this[_0x1de6a8(0x13f)][_0x1de6a8(0x130)](),this[_0x1de6a8(0x13f)][_0x1de6a8(0x12e)]([this[_0x1de6a8(0x132)]]),this[_0x1de6a8(0x174)]({'tag':_0x1de6a8(0x169),'attributes':{'class':_0x1de6a8(0x183)},'children':this[_0x1de6a8(0x172)]}),this['on'](_0x1de6a8(0x178),()=>{const _0x46ebdc=_0x1de6a8;this[_0x46ebdc(0x172)][_0x46ebdc(0x175)](this[_0x46ebdc(0x132)]),this[_0x46ebdc(0x160)](_0x27e612[_0x46ebdc(0x15e)],_0x27e612[_0x46ebdc(0x147)]);});}[_0x56a12a(0x156)](){const _0x139fec=_0x56a12a;super[_0x139fec(0x156)]();for(const _0x469906 of this[_0x139fec(0x13f)])this[_0x139fec(0x16d)][_0x139fec(0x12a)](_0x469906[_0x139fec(0x159)]);this[_0x139fec(0x17b)][_0x139fec(0x16f)](this[_0x139fec(0x159)]),this[_0x139fec(0x152)]();}[_0x56a12a(0x136)](){const _0x17d5f6=_0x56a12a;super[_0x17d5f6(0x136)](),this[_0x17d5f6(0x17e)]&&this[_0x17d5f6(0x17e)][_0x17d5f6(0x136)]();}[_0x56a12a(0x142)](_0x23ba81){const _0x32aa22=_0x56a12a;-0x1===_0x23ba81?this[_0x32aa22(0x15b)][_0x32aa22(0x16e)]():this[_0x32aa22(0x15b)][_0x32aa22(0x15d)]();}[_0x56a12a(0x180)](){const _0x2a1e98=_0x56a12a;this[_0x2a1e98(0x170)]=!0x0;}[_0x56a12a(0x173)](){const _0x547e20=_0x56a12a;this[_0x547e20(0x170)]=!0x1;}[_0x56a12a(0x12b)](_0x1d9032){const _0x9ba68c=_0x56a12a;this[_0x9ba68c(0x146)]||(this[_0x9ba68c(0x146)]=this[_0x9ba68c(0x179)](),this[_0x9ba68c(0x172)][_0x9ba68c(0x12e)]([this[_0x9ba68c(0x146)]],0x0)),this[_0x9ba68c(0x17d)]=_0x1d9032,this[_0x9ba68c(0x166)]=!0x0;}[_0x56a12a(0x13e)](){const _0x2824b6=_0x56a12a;this[_0x2824b6(0x166)]=!0x1;}[_0x56a12a(0x153)](_0x3b10ae){const _0xbd551c=_0x56a12a;this[_0xbd551c(0x12b)](_0x3b10ae);}[_0x56a12a(0x137)](_0x231dea){const _0x360dce=_0x56a12a;this[_0x360dce(0x12b)](_0x231dea),this[_0x360dce(0x132)]&&(this[_0x360dce(0x132)][_0x360dce(0x14a)]&&(this[_0x360dce(0x132)][_0x360dce(0x14a)][_0x360dce(0x134)]=!0x1),this[_0x360dce(0x132)][_0x360dce(0x12d)]&&(this[_0x360dce(0x132)][_0x360dce(0x12d)][_0x360dce(0x134)]=!0x1));}[_0x56a12a(0x184)](_0x7ee427){const _0x54a464=_0x56a12a,_0x5ac945=this[_0x54a464(0x176)](),_0xbf0735=this[_0x54a464(0x139)]();_0x7ee427[_0x54a464(0x182)][_0x54a464(0x141)][_0x54a464(0x13d)][_0x54a464(0x12a)](_0x5ac945,0x2),_0x7ee427[_0x54a464(0x182)][_0x54a464(0x141)][_0x54a464(0x13d)][_0x54a464(0x12a)](_0xbf0735,0x0),this[_0x54a464(0x13f)][_0x54a464(0x12e)]([_0x5ac945,_0xbf0735]),this[_0x54a464(0x16d)][_0x54a464(0x12a)](_0x5ac945[_0x54a464(0x159)]),this[_0x54a464(0x16d)][_0x54a464(0x12a)](_0xbf0735[_0x54a464(0x159)]);}[_0x56a12a(0x16b)](_0x355f1f){const _0x4b2855=_0x56a12a;this[_0x4b2855(0x16a)]=_0x355f1f,this[_0x4b2855(0x172)][_0x4b2855(0x12a)](this[_0x4b2855(0x16a)]);}[_0x56a12a(0x13b)](_0xe1bd2){const _0x21b625=_0x56a12a,_0x298de7=this[_0x21b625(0x172)][_0x21b625(0x150)](this[_0x21b625(0x16a)]);this[_0x21b625(0x172)][_0x21b625(0x175)](this[_0x21b625(0x16a)]),this[_0x21b625(0x16a)]=_0xe1bd2,this[_0x21b625(0x172)][_0x21b625(0x12a)](this[_0x21b625(0x16a)],_0x298de7),this[_0x21b625(0x13e)](),this[_0x21b625(0x17e)]&&this[_0x21b625(0x17e)][_0x21b625(0x136)](),this[_0x21b625(0x152)]();}[_0x56a12a(0x181)](){const _0x49eac9=_0x56a12a;this[_0x49eac9(0x131)]=new _0x53b43e(this[_0x49eac9(0x162)]),this[_0x49eac9(0x172)][_0x49eac9(0x12a)](this[_0x49eac9(0x131)]);}[_0x56a12a(0x160)](_0x542c7d=!0x0,_0x17bbe7=!0x0){const _0x5f327e=_0x56a12a;_0x542c7d=_0x542c7d&&!this[_0x5f327e(0x155)]&&this[_0x5f327e(0x17f)][_0x5f327e(0x163)](_0x5f327e(0x164)),_0x17bbe7=_0x17bbe7&&this[_0x5f327e(0x17f)][_0x5f327e(0x163)](_0x5f327e(0x16c)),this[_0x5f327e(0x132)]=new _0x59a15d(this[_0x5f327e(0x162)],_0x542c7d,_0x17bbe7),this[_0x5f327e(0x132)][_0x5f327e(0x14a)]?.['on'](_0x5f327e(0x177),()=>{const _0x509b69=_0x5f327e;this[_0x509b69(0x148)](_0x509b69(0x164));}),this[_0x5f327e(0x132)][_0x5f327e(0x12d)]?.['on'](_0x5f327e(0x177),()=>{const _0x3497e9=_0x5f327e;this[_0x3497e9(0x148)](_0x3497e9(0x16c));}),this[_0x5f327e(0x172)][_0x5f327e(0x12a)](this[_0x5f327e(0x132)]);}[_0x56a12a(0x176)](){const _0x2382fc=_0x56a12a,_0x21eb2e=new _0x4d2035(this[_0x2382fc(0x162)]);return _0x21eb2e[_0x2382fc(0x15c)]({'icon':_0x34ef05,'tooltip':_0x844ce9(this[_0x2382fc(0x162)],_0x2382fc(0x138))}),_0x21eb2e['on'](_0x2382fc(0x177),()=>{const _0x400c34=_0x2382fc;this[_0x400c34(0x148)](_0x400c34(0x161));}),_0x21eb2e;}[_0x56a12a(0x139)](){const _0x267d55=_0x56a12a,_0x459133=new _0x4d2035(this[_0x267d55(0x162)]);return _0x459133[_0x267d55(0x15c)]({'icon':_0x31d37a,'tooltip':_0x844ce9(this[_0x267d55(0x162)],_0x267d55(0x154))}),_0x459133['on'](_0x267d55(0x177),()=>{const _0x4e2f78=_0x267d55;this[_0x4e2f78(0x148)](_0x4e2f78(0x13c));}),_0x459133;}[_0x56a12a(0x179)](){const _0x57915a=_0x56a12a,_0x44025a=new _0x28a2f5(this[_0x57915a(0x162)]),_0x3fcdd2=new _0x28a2f5(this[_0x57915a(0x162)]);return _0x3fcdd2[_0x57915a(0x174)]({'tag':_0x57915a(0x151),'attributes':{'class':['ck',_0x57915a(0x149)]},'children':[{'text':this[_0x57915a(0x168)]['to'](_0x57915a(0x17d))}]}),_0x44025a[_0x57915a(0x174)]({'tag':_0x57915a(0x169),'attributes':{'class':['ck',_0x57915a(0x15a),_0x57915a(0x171),this[_0x57915a(0x168)]['if'](_0x57915a(0x166),_0x57915a(0x143),_0x52ddbe=>!_0x52ddbe)]},'children':[_0x3fcdd2]}),_0x44025a;}[_0x56a12a(0x157)](){const _0x2d6d45=_0x56a12a;this[_0x2d6d45(0x152)](),this[_0x2d6d45(0x17e)]&&this[_0x2d6d45(0x17e)][_0x2d6d45(0x12f)]();}[_0x56a12a(0x135)](){const _0x49b7a1=_0x56a12a;this[_0x49b7a1(0x17e)]&&this[_0x49b7a1(0x17e)][_0x49b7a1(0x12c)]();}[_0x56a12a(0x152)](){const _0x5ad268=_0x56a12a,_0x198a2d=this[_0x5ad268(0x15f)]();_0x198a2d&&!this[_0x5ad268(0x17e)]&&(this[_0x5ad268(0x17e)]=new _0x4725b4(_0x198a2d));}[_0x56a12a(0x15f)](){const _0x588075=_0x56a12a;return this[_0x588075(0x16a)]instanceof _0x442f22&&this[_0x588075(0x16a)][_0x588075(0x165)][_0x588075(0x159)]?this[_0x588075(0x16a)][_0x588075(0x165)][_0x588075(0x159)]:null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x997db0=_0x3ea7;(function(_0x5a873e,_0x368851){var _0xdd39cf=_0x3ea7,_0x4f0bea=_0x5a873e();while(!![]){try{var _0x108d38=parseInt(_0xdd39cf(0x18a))/0x1+parseInt(_0xdd39cf(0x175))/0x2*(parseInt(_0xdd39cf(0x18d))/0x3)+parseInt(_0xdd39cf(0x179))/0x4*(parseInt(_0xdd39cf(0x17e))/0x5)+-parseInt(_0xdd39cf(0x17d))/0x6*(-parseInt(_0xdd39cf(0x178))/0x7)+-parseInt(_0xdd39cf(0x185))/0x8+-parseInt(_0xdd39cf(0x176))/0x9*(-parseInt(_0xdd39cf(0x186))/0xa)+-parseInt(_0xdd39cf(0x17a))/0xb;if(_0x108d38===_0x368851)break;else _0x4f0bea['push'](_0x4f0bea['shift']());}catch(_0xa8a33e){_0x4f0bea['push'](_0x4f0bea['shift']());}}}(_0xa6d3,0x7b3a6));import{ContextPlugin as _0x18cfca}from'ckeditor5/src/core.js';function _0xa6d3(){var _0x334e29=['ai.chat.models','startConversation','743824gQJXDi','5513470xBrOlA','plugins','config','pluginName','251684EslbIG','addSelectionToChatContext','requires','153vULkSK','context','ai.chat.context','isOfficialPlugin','36054ippEhS','9KwMcXx','focusPromptInput','1343083MLaMfr','24452hzyrCu','24366848cWhQqn','isPremiumPlugin','define','6wyEAnd','735VEZSLI','sendMessage','get','removeSelectionFromChatContext','AIChat'];_0xa6d3=function(){return _0x334e29;};return _0xa6d3();}import{AIChatController as _0x107a4c}from'./aichatcontroller.js';import{AIEditing as _0x16b8b2}from'../aicore/aiediting.js';import{AIChatUI as _0x4caa96}from'./aichatui.js';import{AIChatHistory as _0x45e518}from'../aichathistory/aichathistory.js';function _0x3ea7(_0x1fa57e,_0x9a409d){var _0xa6d3eb=_0xa6d3();return _0x3ea7=function(_0x3ea75d,_0x4a7c49){_0x3ea75d=_0x3ea75d-0x175;var _0x59daf3=_0xa6d3eb[_0x3ea75d];return _0x59daf3;},_0x3ea7(_0x1fa57e,_0x9a409d);}export class AIChat extends _0x18cfca{static get[_0x997db0(0x18c)](){return[_0x107a4c,_0x16b8b2,_0x4caa96,_0x45e518];}static get[_0x997db0(0x189)](){var _0x496567=_0x997db0;return _0x496567(0x182);}static get[_0x997db0(0x190)](){return!0x0;}static get[_0x997db0(0x17b)](){return!0x0;}constructor(_0x45ad72){var _0x25ea1c=_0x997db0;super(_0x45ad72),this[_0x25ea1c(0x18e)][_0x25ea1c(0x188)][_0x25ea1c(0x17c)](_0x25ea1c(0x18f),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x25ea1c(0x18e)][_0x25ea1c(0x188)][_0x25ea1c(0x17c)](_0x25ea1c(0x183),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x997db0(0x18b)](){var _0x451cdb=_0x997db0;await this[_0x451cdb(0x18e)][_0x451cdb(0x187)][_0x451cdb(0x180)](_0x107a4c)[_0x451cdb(0x18b)]();}async[_0x997db0(0x184)](){var _0x59e41a=_0x997db0;await this[_0x59e41a(0x18e)][_0x59e41a(0x187)][_0x59e41a(0x180)](_0x107a4c)[_0x59e41a(0x184)]();}async[_0x997db0(0x17f)]({message:_0xa56d24,quickActionData:_0x354960}){var _0x505a29=_0x997db0;await this[_0x505a29(0x18e)][_0x505a29(0x187)][_0x505a29(0x180)](_0x107a4c)[_0x505a29(0x17f)]({'message':_0xa56d24,'quickActionData':_0x354960});}[_0x997db0(0x181)](){var _0x176994=_0x997db0;this[_0x176994(0x18e)][_0x176994(0x187)][_0x176994(0x180)](_0x107a4c)[_0x176994(0x181)]();}[_0x997db0(0x177)](){var _0x2222ef=_0x997db0;this[_0x2222ef(0x18e)][_0x2222ef(0x187)][_0x2222ef(0x180)](_0x107a4c)[_0x2222ef(0x177)]();}}
23
+ var _0x3bbdf4=_0x13f6;(function(_0xb7a64b,_0x5a6e53){var _0x590747=_0x13f6,_0x2f8f16=_0xb7a64b();while(!![]){try{var _0x315494=parseInt(_0x590747(0xd6))/0x1*(parseInt(_0x590747(0xcd))/0x2)+parseInt(_0x590747(0xd9))/0x3+-parseInt(_0x590747(0xc7))/0x4+-parseInt(_0x590747(0xc6))/0x5+-parseInt(_0x590747(0xd3))/0x6+parseInt(_0x590747(0xc9))/0x7*(-parseInt(_0x590747(0xca))/0x8)+parseInt(_0x590747(0xcf))/0x9;if(_0x315494===_0x5a6e53)break;else _0x2f8f16['push'](_0x2f8f16['shift']());}catch(_0x52f815){_0x2f8f16['push'](_0x2f8f16['shift']());}}}(_0x8612,0xade09));function _0x8612(){var _0x13484e=['isOfficialPlugin','sendMessage','get','5634610KNasHe','5574312nopnDo','context','161LHKGbV','198736rJbPKY','define','ai.chat.context','82ygvTGO','requires','31518864qlsSIL','removeSelectionFromChatContext','ai.chat.models','startConversation','678078eGVeMJ','focusPromptInput','plugins','7435NpUoCE','pluginName','addSelectionToChatContext','330447GFfrwk','config','isPremiumPlugin','AIChat'];_0x8612=function(){return _0x13484e;};return _0x8612();}import{ContextPlugin as _0x223988}from'ckeditor5/src/core.js';import{AIChatController as _0x44179f}from'./aichatcontroller.js';function _0x13f6(_0x3495ab,_0x47f116){var _0x861284=_0x8612();return _0x13f6=function(_0x13f601,_0x30c575){_0x13f601=_0x13f601-0xc6;var _0x357601=_0x861284[_0x13f601];return _0x357601;},_0x13f6(_0x3495ab,_0x47f116);}import{AIEditing as _0xe41c6f}from'../aicore/aiediting.js';import{AIChatUI as _0x5af83a}from'./aichatui.js';import{AIChatHistory as _0x33356d}from'../aichathistory/aichathistory.js';export class AIChat extends _0x223988{static get[_0x3bbdf4(0xce)](){return[_0x44179f,_0xe41c6f,_0x5af83a,_0x33356d];}static get[_0x3bbdf4(0xd7)](){var _0x3a0bb8=_0x3bbdf4;return _0x3a0bb8(0xdc);}static get[_0x3bbdf4(0xdd)](){return!0x0;}static get[_0x3bbdf4(0xdb)](){return!0x0;}constructor(_0x50db10){var _0x86436a=_0x3bbdf4;super(_0x50db10),this[_0x86436a(0xc8)][_0x86436a(0xda)][_0x86436a(0xcb)](_0x86436a(0xcc),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x86436a(0xc8)][_0x86436a(0xda)][_0x86436a(0xcb)](_0x86436a(0xd1),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x3bbdf4(0xd8)](){var _0x5009d3=_0x3bbdf4;await this[_0x5009d3(0xc8)][_0x5009d3(0xd5)][_0x5009d3(0xdf)](_0x44179f)[_0x5009d3(0xd8)]();}async[_0x3bbdf4(0xd2)](){var _0x2df4fd=_0x3bbdf4;await this[_0x2df4fd(0xc8)][_0x2df4fd(0xd5)][_0x2df4fd(0xdf)](_0x44179f)[_0x2df4fd(0xd2)]();}async[_0x3bbdf4(0xde)]({message:_0x576949,quickActionData:_0x210893}){var _0x29dd28=_0x3bbdf4;await this[_0x29dd28(0xc8)][_0x29dd28(0xd5)][_0x29dd28(0xdf)](_0x44179f)[_0x29dd28(0xde)]({'message':_0x576949,'quickActionData':_0x210893});}[_0x3bbdf4(0xd0)](){var _0x29741e=_0x3bbdf4;this[_0x29741e(0xc8)][_0x29741e(0xd5)][_0x29741e(0xdf)](_0x44179f)[_0x29741e(0xd0)]();}[_0x3bbdf4(0xd4)](){var _0x138ddd=_0x3bbdf4;this[_0x138ddd(0xc8)][_0x138ddd(0xd5)][_0x138ddd(0xdf)](_0x44179f)[_0x138ddd(0xd4)]();}}