@ckeditor/ckeditor5-ai 47.7.0-alpha.0 → 47.7.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 (151) 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/model/aiactionsinteraction.js +1 -1
  5. package/src/aiactions/model/aiactionsreply.js +1 -1
  6. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  7. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  8. package/src/aiassistant/aiassistant.js +1 -1
  9. package/src/aiassistant/aiassistantediting.js +1 -1
  10. package/src/aiassistant/aiassistantui.js +1 -1
  11. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  12. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  13. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  14. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  15. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformview.js +1 -1
  17. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  18. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  19. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  20. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  21. package/src/aiballoon/aiballoon.js +1 -1
  22. package/src/aiballoon/ui/aiballoonview.js +1 -1
  23. package/src/aichat/aichat.js +1 -1
  24. package/src/aichat/aichatballoon.js +1 -1
  25. package/src/aichat/aichatcontroller.js +1 -1
  26. package/src/aichat/aichatui.js +1 -1
  27. package/src/aichat/model/aichatcontext.js +1 -1
  28. package/src/aichat/model/aichatconversation.js +1 -1
  29. package/src/aichat/model/aichatinteraction.js +1 -1
  30. package/src/aichat/ui/aichatballoonview.js +1 -1
  31. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  32. package/src/aichat/ui/aichatfeedview.js +1 -1
  33. package/src/aichat/ui/aichatheaderview.js +1 -1
  34. package/src/aichat/ui/aichatview.js +1 -1
  35. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  36. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  37. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  40. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  41. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  43. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  44. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  48. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  57. package/src/aichat/utils/eventnames.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichathistory/aichathistory.js +1 -1
  60. package/src/aichathistory/aichathistorycontroller.js +1 -1
  61. package/src/aichathistory/aichathistoryui.js +1 -1
  62. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  63. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  64. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  65. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  68. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  69. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  70. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  71. package/src/aicore/aiconnector.js +1 -1
  72. package/src/aicore/aiediting.js +1 -1
  73. package/src/aicore/model/aicapabilities.js +1 -1
  74. package/src/aicore/model/aiinteraction.js +1 -1
  75. package/src/aicore/model/aimodels.js +1 -1
  76. package/src/aicore/model/aireply.js +1 -1
  77. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  78. package/src/aicore/pipeline/airesponseparser.js +2 -2
  79. package/src/aicore/ui/aidisclaimerview.js +1 -1
  80. package/src/aicore/ui/aiskeleton.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  88. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  89. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  90. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  91. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  92. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  93. package/src/aicore/utils/createresizebutton.js +1 -1
  94. package/src/aicore/utils/documentrange.js +1 -1
  95. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  96. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  97. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  98. package/src/aicore/utils/htmlparser.js +1 -1
  99. package/src/aicore/utils/htmlstreamer.js +1 -1
  100. package/src/aieditorintegration/aieditorintegration.js +1 -1
  101. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  102. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  103. package/src/aiquickactions/aiquickactions.js +1 -1
  104. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  105. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  106. package/src/aiquickactions/aiquickactionsui.js +1 -1
  107. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  108. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  109. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  110. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  111. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  112. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  113. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  114. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  115. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  116. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  117. package/src/aireviewcore/aireviewcoreui.js +1 -1
  118. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  119. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  120. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  121. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  122. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  123. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  124. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  125. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  126. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  127. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  128. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  129. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  130. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  131. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  132. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  133. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  134. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  135. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  136. package/src/aireviewmode/aireviewmode.js +1 -1
  137. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  138. package/src/aireviewmode/aireviewmodeui.js +1 -1
  139. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  140. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  141. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  142. package/src/aitabs/aitabs.js +1 -1
  143. package/src/aitabs/tabs/aitabsview.js +1 -1
  144. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  145. package/src/aitabs/tabs/tabpanelview.js +1 -1
  146. package/src/aitranslate/aitranslate.js +1 -1
  147. package/src/aitranslate/aitranslatecontroller.js +1 -1
  148. package/src/aitranslate/aitranslateui.js +1 -1
  149. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  150. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  151. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4c1b95,IconView as _0x5802c8,LabeledFieldView as _0x338ca0,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x1d8c9e,IconCancel as _0xeda509}from'ckeditor5/src/icons.js';import{getTranslation as _0x2a666a}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x338ca0{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x4df8eb){const t=_0x4df8eb['t'],_0x16f15d={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x2a666a(_0x4df8eb,'AI_CHAT_SEARCH_RESOURCES')};super(_0x4df8eb,_0x16f15d['creator']),this['label']=_0x16f15d['label'],this['_viewConfig']=_0x16f15d,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x4df8eb,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4e8079){this['fire']('search',_0x4e8079);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5802c8(),this['iconView']['content']=_0x1d8c9e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x84cd9f,t){this['resetButtonView']=new _0x4c1b95(_0x84cd9f),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0xeda509,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x3f1f28=>!_0x3f1f28),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x261db7,IconView as _0x14050e,LabeledFieldView as _0x255de4,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0xa22056,IconCancel as _0x206159}from'ckeditor5/src/icons.js';import{getTranslation as _0x4519fc}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x255de4{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x3c9a52){const t=_0x3c9a52['t'],_0x59043f={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x4519fc(_0x3c9a52,'AI_CHAT_SEARCH_RESOURCES')};super(_0x3c9a52,_0x59043f['creator']),this['label']=_0x59043f['label'],this['_viewConfig']=_0x59043f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x3c9a52,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2ce0c6){this['fire']('search',_0x2ce0c6);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x14050e(),this['iconView']['content']=_0xa22056,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x1f0241,t){this['resetButtonView']=new _0x261db7(_0x1f0241),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x206159,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x2278ad=>!_0x2278ad),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6776f3=_0x3e27;function _0xf225(){const _0x24543a=['9qrNlFG','_bodyCollection','reorganizeChips','ck-ai-chat-context-chips-wrapper-balloon','_createContextChips','div','8VHPAlg','ck-ai-chat-controls_context_show-more-button','setTemplate','createCollection','22196lEsBEq','10902650twdLqn','14708364BDEujN','91BzkdpW','render','10ykZbUz','querySelector','339OKiwvr','locale','_overflowManager','ck-ai-chat-context-controls__show-more-balloon-panel','272279VviOYV','ck-ai-chat__feed__context-chips','setContainerElement','destroy','add','2840952PCTmVX','1803474fIPiIX','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','ck-reset_all','10aQtCqP','123827UncUOi','_contextChips','element'];_0xf225=function(){return _0x24543a;};return _0xf225();}(function(_0x280ee6,_0x496132){const _0x4312ee=_0x3e27,_0x4362f0=_0x280ee6();while(!![]){try{const _0x1dce9e=-parseInt(_0x4312ee(0x103))/0x1*(parseInt(_0x4312ee(0xf2))/0x2)+-parseInt(_0x4312ee(0xf4))/0x3*(-parseInt(_0x4312ee(0xed))/0x4)+parseInt(_0x4312ee(0x102))/0x5*(-parseInt(_0x4312ee(0xfe))/0x6)+-parseInt(_0x4312ee(0xf8))/0x7*(parseInt(_0x4312ee(0x10c))/0x8)+parseInt(_0x4312ee(0x106))/0x9*(parseInt(_0x4312ee(0xee))/0xa)+-parseInt(_0x4312ee(0xef))/0xb+-parseInt(_0x4312ee(0xfd))/0xc*(-parseInt(_0x4312ee(0xf0))/0xd);if(_0x1dce9e===_0x496132)break;else _0x4362f0['push'](_0x4362f0['shift']());}catch(_0xeb8a9a){_0x4362f0['push'](_0x4362f0['shift']());}}}(_0xf225,0xbdfe2));import{View as _0x4530ed}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x3aae90}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x57a2ed}from'../controls/aichatchipsoverflowmanager.js';function _0x3e27(_0x133f3b,_0x72dfcc){const _0xf22555=_0xf225();return _0x3e27=function(_0x3e2769,_0x1cb22e){_0x3e2769=_0x3e2769-0xeb;let _0x4c342a=_0xf22555[_0x3e2769];return _0x4c342a;},_0x3e27(_0x133f3b,_0x72dfcc);}const oc=_0x6776f3(0xf9),nc=_0x6776f3(0xff),ac=_0x6776f3(0x109),Uo=_0x6776f3(0x100),No=_0x6776f3(0x10d),Mo=_0x6776f3(0xf7);export class AIChatFeedContextChipsView extends _0x4530ed{[_0x6776f3(0x104)]=this[_0x6776f3(0xec)]();[_0x6776f3(0xf6)];[_0x6776f3(0x107)];constructor(_0x161bbe,_0x439c4d,_0x6ac825){const _0x432b97=_0x6776f3;super(_0x161bbe),this[_0x432b97(0x107)]=_0x6ac825,this[_0x432b97(0x10a)](_0x439c4d);const _0x3fb791={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Mo,'overflowContainer':ac,'controlsButton':Uo}};this[_0x432b97(0xf6)]=new _0x57a2ed(_0x161bbe,this[_0x432b97(0x104)],_0x3fb791,this[_0x432b97(0x107)],this),this[_0x432b97(0xeb)]({'tag':_0x432b97(0x10b),'attributes':{'class':[oc,'ck',_0x432b97(0x101)]},'children':[{'tag':_0x432b97(0x10b),'attributes':{'class':nc},'children':this[_0x432b97(0x104)]}]});}[_0x6776f3(0xf1)](){const _0x4b0b03=_0x6776f3;super[_0x4b0b03(0xf1)]();const _0x588d6b=this[_0x4b0b03(0x105)][_0x4b0b03(0xf3)]('.'+nc);_0x588d6b&&(this[_0x4b0b03(0xf6)][_0x4b0b03(0xfa)](_0x588d6b),this[_0x4b0b03(0xf6)][_0x4b0b03(0x108)]());}[_0x6776f3(0xfb)](){const _0x436c06=_0x6776f3;super[_0x436c06(0xfb)](),this[_0x436c06(0xf6)][_0x436c06(0xfb)]();}[_0x6776f3(0x10a)](_0x3e08c9){const _0x20c88b=_0x6776f3;for(const _0x353e0d of _0x3e08c9){const _0x3879bb=new _0x3aae90(this[_0x20c88b(0xf5)],_0x353e0d,!0x0,!0x1);this[_0x20c88b(0x104)][_0x20c88b(0xfc)](_0x3879bb);}}}
23
+ const _0xe60f32=_0x1f9a;(function(_0x46a343,_0xf5be1b){const _0x42fab3=_0x1f9a,_0x30a424=_0x46a343();while(!![]){try{const _0xaecc6d=parseInt(_0x42fab3(0x205))/0x1+-parseInt(_0x42fab3(0x1f8))/0x2*(-parseInt(_0x42fab3(0x209))/0x3)+parseInt(_0x42fab3(0x20c))/0x4+-parseInt(_0x42fab3(0x206))/0x5+parseInt(_0x42fab3(0x203))/0x6+-parseInt(_0x42fab3(0x1fe))/0x7*(-parseInt(_0x42fab3(0x1f0))/0x8)+-parseInt(_0x42fab3(0x20e))/0x9*(parseInt(_0x42fab3(0x1f2))/0xa);if(_0xaecc6d===_0xf5be1b)break;else _0x30a424['push'](_0x30a424['shift']());}catch(_0x4c9305){_0x30a424['push'](_0x30a424['shift']());}}}(_0x583e,0xbab8e));import{View as _0x361675}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x168bde}from'../controls/aichatcontextitembuttonview.js';function _0x1f9a(_0x6da93c,_0x5b6974){const _0x583e2e=_0x583e();return _0x1f9a=function(_0x1f9a58,_0x534bf3){_0x1f9a58=_0x1f9a58-0x1f0;let _0x30e37f=_0x583e2e[_0x1f9a58];return _0x30e37f;},_0x1f9a(_0x6da93c,_0x5b6974);}import{AIChatChipsOverflowManager as _0x3dd729}from'../controls/aichatchipsoverflowmanager.js';const oc=_0xe60f32(0x200),nc=_0xe60f32(0x1ff),ac=_0xe60f32(0x1f6),Xo=_0xe60f32(0x201),$o=_0xe60f32(0x1f3),Wo=_0xe60f32(0x1f9);export class AIChatFeedContextChipsView extends _0x361675{[_0xe60f32(0x1fa)]=this[_0xe60f32(0x1f7)]();[_0xe60f32(0x20b)];[_0xe60f32(0x20a)];constructor(_0x87d4f0,_0x5e9dd4,_0x3e221d){const _0x1aa505=_0xe60f32;super(_0x87d4f0),this[_0x1aa505(0x20a)]=_0x3e221d,this[_0x1aa505(0x208)](_0x5e9dd4);const _0x212fc0={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':ac,'controlsButton':Xo}};this[_0x1aa505(0x20b)]=new _0x3dd729(_0x87d4f0,this[_0x1aa505(0x1fa)],_0x212fc0,this[_0x1aa505(0x20a)],this),this[_0x1aa505(0x1f1)]({'tag':_0x1aa505(0x202),'attributes':{'class':[oc,'ck',_0x1aa505(0x20f)]},'children':[{'tag':_0x1aa505(0x202),'attributes':{'class':nc},'children':this[_0x1aa505(0x1fa)]}]});}[_0xe60f32(0x1f4)](){const _0x5a2800=_0xe60f32;super[_0x5a2800(0x1f4)]();const _0x20e66c=this[_0x5a2800(0x1fc)][_0x5a2800(0x207)]('.'+nc);_0x20e66c&&(this[_0x5a2800(0x20b)][_0x5a2800(0x20d)](_0x20e66c),this[_0x5a2800(0x20b)][_0x5a2800(0x204)]());}[_0xe60f32(0x1fb)](){const _0x1e2d24=_0xe60f32;super[_0x1e2d24(0x1fb)](),this[_0x1e2d24(0x20b)][_0x1e2d24(0x1fb)]();}[_0xe60f32(0x208)](_0xc8fa13){const _0x404847=_0xe60f32;for(const _0x3797a9 of _0xc8fa13){const _0x1c52ae=new _0x168bde(this[_0x404847(0x1f5)],_0x3797a9,!0x0,!0x1);this[_0x404847(0x1fa)][_0x404847(0x1fd)](_0x1c52ae);}}}function _0x583e(){const _0x18954f=['ck-ai-chat-controls-button','div','5692212yJbGRI','reorganizeChips','1452204KVxaws','4978410xRnRbI','querySelector','_createContextChips','813LCBUIV','_bodyCollection','_overflowManager','3366440hYvtvf','setContainerElement','74061yFOrJK','ck-reset_all','1208856YqlHrH','setTemplate','2860Vmtioh','ck-ai-chat-controls_context_show-more-button','render','locale','ck-ai-chat-context-chips-wrapper-balloon','createCollection','3086AFITRi','ck-ai-chat-context-controls__show-more-balloon-panel','_contextChips','destroy','element','add','21WInUFI','ck-ai-chat-context-chips-wrapper','ck-ai-chat__feed__context-chips'];_0x583e=function(){return _0x18954f;};return _0x583e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x244c(_0x226495,_0x11a515){var _0x99b8bf=_0x99b8();return _0x244c=function(_0x244c35,_0x3edbc2){_0x244c35=_0x244c35-0x99;var _0xa49145=_0x99b8bf[_0x244c35];return _0xa49145;},_0x244c(_0x226495,_0x11a515);}function _0x99b8(){var _0x120886=['extendTemplate','2947696SSONnv','1205580oUzMfz','2151eBisSl','10575896NDEjYQ','element','28dCDWAc','appendChild','ck-ai-chat__feed__custom-element','string','3003048RDJQUr','2CBmOSO','innerHTML','options','5878040xdJUqN','9670XVaxoI','content','1274850vMtjlX','render'];_0x99b8=function(){return _0x120886;};return _0x99b8();}var _0x3f33bf=_0x244c;(function(_0x2a3115,_0xf4f038){var _0x2bf88c=_0x244c,_0x1fe8b0=_0x2a3115();while(!![]){try{var _0x295f7c=-parseInt(_0x2bf88c(0x9d))/0x1+-parseInt(_0x2bf88c(0xaa))/0x2*(-parseInt(_0x2bf88c(0xa9))/0x3)+-parseInt(_0x2bf88c(0xa0))/0x4+parseInt(_0x2bf88c(0x9a))/0x5+parseInt(_0x2bf88c(0xa1))/0x6*(-parseInt(_0x2bf88c(0xa5))/0x7)+parseInt(_0x2bf88c(0xa3))/0x8+parseInt(_0x2bf88c(0xa2))/0x9*(parseInt(_0x2bf88c(0x9b))/0xa);if(_0x295f7c===_0xf4f038)break;else _0x1fe8b0['push'](_0x1fe8b0['shift']());}catch(_0x3fa960){_0x1fe8b0['push'](_0x1fe8b0['shift']());}}}(_0x99b8,0xdf336));import{AIChatFeedItemView as _0x5ad209}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x5ad209{constructor(_0x38f48e){var _0x2dfa3e=_0x244c;super(_0x38f48e),this[_0x2dfa3e(0x9f)]({'attributes':{'class':[_0x2dfa3e(0xa7)]}});}async[_0x3f33bf(0x9e)](){var _0x4d225e=_0x3f33bf;super[_0x4d225e(0x9e)](),_0x4d225e(0xa8)==typeof this[_0x4d225e(0x99)][_0x4d225e(0x9c)]?this[_0x4d225e(0xa4)][_0x4d225e(0xab)]=this[_0x4d225e(0x99)][_0x4d225e(0x9c)]:this[_0x4d225e(0xa4)][_0x4d225e(0xa6)](this[_0x4d225e(0x99)][_0x4d225e(0x9c)]);}}
23
+ function _0x44cb(_0x81a1ef,_0x483758){var _0x4d0fff=_0x4d0f();return _0x44cb=function(_0x44cb1a,_0x2dc7de){_0x44cb1a=_0x44cb1a-0x13c;var _0x343e90=_0x4d0fff[_0x44cb1a];return _0x343e90;},_0x44cb(_0x81a1ef,_0x483758);}function _0x4d0f(){var _0x522074=['311BpxlHN','6164560ncQKib','options','319oJWPTp','21llYIHd','innerHTML','string','element','227410lZtIrk','content','2752580SlKrAZ','623514yQXelg','ck-ai-chat__feed__custom-element','8123724gsszyt','extendTemplate','1542MvOosa','2648DnStfR','appendChild','9VHvSqA','2858MGLbJf','render'];_0x4d0f=function(){return _0x522074;};return _0x4d0f();}var _0x15e24c=_0x44cb;(function(_0x3c34b0,_0xedc266){var _0x24983d=_0x44cb,_0x1462d6=_0x3c34b0();while(!![]){try{var _0x184a9e=parseInt(_0x24983d(0x14d))/0x1*(parseInt(_0x24983d(0x14b))/0x2)+parseInt(_0x24983d(0x147))/0x3*(parseInt(_0x24983d(0x148))/0x4)+-parseInt(_0x24983d(0x142))/0x5+parseInt(_0x24983d(0x143))/0x6*(-parseInt(_0x24983d(0x13c))/0x7)+-parseInt(_0x24983d(0x14e))/0x8*(parseInt(_0x24983d(0x14a))/0x9)+-parseInt(_0x24983d(0x140))/0xa*(-parseInt(_0x24983d(0x150))/0xb)+parseInt(_0x24983d(0x145))/0xc;if(_0x184a9e===_0xedc266)break;else _0x1462d6['push'](_0x1462d6['shift']());}catch(_0x54e557){_0x1462d6['push'](_0x1462d6['shift']());}}}(_0x4d0f,0x77376));import{AIChatFeedItemView as _0x2443a4}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x2443a4{constructor(_0x1f799e){var _0x38febf=_0x44cb;super(_0x1f799e),this[_0x38febf(0x146)]({'attributes':{'class':[_0x38febf(0x144)]}});}async[_0x15e24c(0x14c)](){var _0x41ab1a=_0x15e24c;super[_0x41ab1a(0x14c)](),_0x41ab1a(0x13e)==typeof this[_0x41ab1a(0x14f)][_0x41ab1a(0x141)]?this[_0x41ab1a(0x13f)][_0x41ab1a(0x13d)]=this[_0x41ab1a(0x14f)][_0x41ab1a(0x141)]:this[_0x41ab1a(0x13f)][_0x41ab1a(0x149)](this[_0x41ab1a(0x14f)][_0x41ab1a(0x141)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b67(_0x3e8bea,_0x40a846){var _0x1ea9d0=_0x1ea9();return _0x3b67=function(_0x3b6790,_0x20fb01){_0x3b6790=_0x3b6790-0x8b;var _0x2bf95f=_0x1ea9d0[_0x3b6790];return _0x2bf95f;},_0x3b67(_0x3e8bea,_0x40a846);}var _0x11e45f=_0x3b67;(function(_0x2dff7b,_0x47b76d){var _0x4e16b5=_0x3b67,_0x137fef=_0x2dff7b();while(!![]){try{var _0x92ba1a=-parseInt(_0x4e16b5(0x9c))/0x1+parseInt(_0x4e16b5(0x9f))/0x2+parseInt(_0x4e16b5(0x9b))/0x3+-parseInt(_0x4e16b5(0x8d))/0x4*(-parseInt(_0x4e16b5(0x94))/0x5)+parseInt(_0x4e16b5(0x96))/0x6*(-parseInt(_0x4e16b5(0x9e))/0x7)+-parseInt(_0x4e16b5(0xa1))/0x8+parseInt(_0x4e16b5(0x98))/0x9*(parseInt(_0x4e16b5(0x99))/0xa);if(_0x92ba1a===_0x47b76d)break;else _0x137fef['push'](_0x137fef['shift']());}catch(_0x1cc70f){_0x137fef['push'](_0x137fef['shift']());}}}(_0x1ea9,0x60521));import{AIChatFeedItemView as _0x21c8d4}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x21c8d4{constructor(_0x237fcb){var _0x53c5a6=_0x3b67;super(_0x237fcb),this[_0x53c5a6(0x8e)]({'attributes':{'class':[_0x53c5a6(0x8f),_0x53c5a6(0x91)===_0x237fcb[_0x53c5a6(0x8c)]?_0x53c5a6(0x92):_0x53c5a6(0x97)]}});}[_0x11e45f(0x95)](){var _0x2aca4f=_0x11e45f;super[_0x2aca4f(0x95)](),this[_0x2aca4f(0x9a)](this[_0x2aca4f(0x90)][_0x2aca4f(0x9d)]),this[_0x2aca4f(0xa0)]();}[_0x11e45f(0x9a)](_0x392340){var _0x552baa=_0x11e45f;this[_0x552baa(0x8b)][_0x552baa(0x93)]=_0x392340;}}function _0x1ea9(){var _0x3025c4=['initialContent','2988671haalyS','245528rgGUqR','markAsDone','1720944chugAo','element','level','68bidxnc','extendTemplate','ck-ai-notification','options','warning','ck-ai-notification_warning','innerHTML','67415NCiccK','render','6cQKhwg','ck-ai-notification_error','27CvyxAo','682810hAVNbd','setContent','1778364fAxRJM','113006dxgsGK'];_0x1ea9=function(){return _0x3025c4;};return _0x1ea9();}
23
+ var _0x3f1a59=_0x2470;(function(_0x83cfa2,_0x427572){var _0x42ba47=_0x2470,_0x2e82ff=_0x83cfa2();while(!![]){try{var _0x369428=-parseInt(_0x42ba47(0x95))/0x1+parseInt(_0x42ba47(0x9e))/0x2*(parseInt(_0x42ba47(0x9c))/0x3)+-parseInt(_0x42ba47(0xa5))/0x4*(parseInt(_0x42ba47(0xa4))/0x5)+parseInt(_0x42ba47(0xa0))/0x6+-parseInt(_0x42ba47(0x94))/0x7+-parseInt(_0x42ba47(0xa1))/0x8+parseInt(_0x42ba47(0xa9))/0x9*(parseInt(_0x42ba47(0xa2))/0xa);if(_0x369428===_0x427572)break;else _0x2e82ff['push'](_0x2e82ff['shift']());}catch(_0x32621b){_0x2e82ff['push'](_0x2e82ff['shift']());}}}(_0x456f,0x8a684));function _0x2470(_0x35e3c4,_0x3c1143){var _0x456fb3=_0x456f();return _0x2470=function(_0x2470db,_0x3308e2){_0x2470db=_0x2470db-0x93;var _0x40c4cd=_0x456fb3[_0x2470db];return _0x40c4cd;},_0x2470(_0x35e3c4,_0x3c1143);}import{AIChatFeedItemView as _0x14c10f}from'./aichatfeeditemview.js';function _0x456f(){var _0x2425f0=['extendTemplate','29196ADJXcv','setContent','46ExPdqQ','ck-ai-notification','3998142hmGvpy','6994104JEhONu','130ttuIHX','element','65VnHfEI','300168lowmyO','options','render','level','2371023RvVaiu','warning','7766773fvEPRA','788740XWhIhH','markAsDone','initialContent','ck-ai-notification_warning','innerHTML','ck-ai-notification_error'];_0x456f=function(){return _0x2425f0;};return _0x456f();}export class AIChatFeedErrorItemView extends _0x14c10f{constructor(_0x2b2788){var _0x4330be=_0x2470;super(_0x2b2788),this[_0x4330be(0x9b)]({'attributes':{'class':[_0x4330be(0x9f),_0x4330be(0x93)===_0x2b2788[_0x4330be(0xa8)]?_0x4330be(0x98):_0x4330be(0x9a)]}});}[_0x3f1a59(0xa7)](){var _0x5ce086=_0x3f1a59;super[_0x5ce086(0xa7)](),this[_0x5ce086(0x9d)](this[_0x5ce086(0xa6)][_0x5ce086(0x97)]),this[_0x5ce086(0x96)]();}[_0x3f1a59(0x9d)](_0x4af3e0){var _0x42a02a=_0x3f1a59;this[_0x42a02a(0xa3)][_0x42a02a(0x99)]=_0x4af3e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1a8f(_0x1ec835,_0x1cb04d){const _0x48e36d=_0x48e3();return _0x1a8f=function(_0x1a8f5d,_0x5c4e16){_0x1a8f5d=_0x1a8f5d-0x142;let _0x587a6a=_0x48e36d[_0x1a8f5d];return _0x587a6a;},_0x1a8f(_0x1ec835,_0x1cb04d);}const _0xfc2eb3=_0x1a8f;(function(_0x55553f,_0x4dca82){const _0xbafe7c=_0x1a8f,_0x41f990=_0x55553f();while(!![]){try{const _0x57b8a4=parseInt(_0xbafe7c(0x14c))/0x1+-parseInt(_0xbafe7c(0x14a))/0x2*(parseInt(_0xbafe7c(0x156))/0x3)+parseInt(_0xbafe7c(0x14d))/0x4+-parseInt(_0xbafe7c(0x149))/0x5+parseInt(_0xbafe7c(0x15a))/0x6+parseInt(_0xbafe7c(0x155))/0x7*(-parseInt(_0xbafe7c(0x14f))/0x8)+-parseInt(_0xbafe7c(0x145))/0x9*(-parseInt(_0xbafe7c(0x147))/0xa);if(_0x57b8a4===_0x4dca82)break;else _0x41f990['push'](_0x41f990['shift']());}catch(_0x5ea04d){_0x41f990['push'](_0x41f990['shift']());}}}(_0x48e3,0x2937d));import{IconBulb as _0x1ebbb1,IconWeb as _0x24c53a}from'@ckeditor/ckeditor5-icons';import{IconView as _0x14359f,View as _0x1771b0}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x279c33}from'./aichatfeeditemview.js';import{getTranslation as _0x3011a8}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x279c33{[_0xfc2eb3(0x154)];constructor(_0x4fcb52,_0x23303f){const _0x347a19=_0xfc2eb3;super(_0x23303f);const {isWebSearchEnabled:_0x596b83,isReasoningEnabled:_0x3d3f1b}=_0x23303f[_0x347a19(0x154)],_0x1eb63b=[];let _0x466e05='';_0x596b83&&_0x3d3f1b?(_0x466e05=_0x3011a8(_0x4fcb52,_0x347a19(0x146)),_0x1eb63b[_0x347a19(0x153)](aa(_0x24c53a)),_0x1eb63b[_0x347a19(0x153)](aa(_0x1ebbb1))):_0x596b83?(_0x466e05=_0x3011a8(_0x4fcb52,_0x347a19(0x148)),_0x1eb63b[_0x347a19(0x153)](aa(_0x24c53a))):_0x3d3f1b&&(_0x466e05=_0x3011a8(_0x4fcb52,_0x347a19(0x151)),_0x1eb63b[_0x347a19(0x153)](aa(_0x1ebbb1))),this[_0x347a19(0x150)]({'attributes':{'class':[_0x347a19(0x142),_0x466e05?'':_0x347a19(0x15b)]}});const _0x549026=new _0x1771b0();_0x549026[_0x347a19(0x144)]({'tag':_0x347a19(0x14b),'attributes':{'class':['ck',_0x347a19(0x157)]},'children':[..._0x1eb63b,{'tag':_0x347a19(0x152),'attributes':{'class':[_0x347a19(0x159)]},'children':[_0x466e05]}]}),this[_0x347a19(0x14e)][_0x347a19(0x143)](_0x549026),this[_0x347a19(0x154)]=_0x23303f[_0x347a19(0x154)];}}function aa(_0x1e311e){const _0x145667=_0xfc2eb3,_0x290b3c=new _0x14359f();return _0x290b3c[_0x145667(0x158)]=_0x1e311e,_0x290b3c;}function _0x48e3(){const _0x8268b0=['AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','span','push','capabilities','865900XWJcKM','32313pRLuxY','ck-ai-chat__feed__interaction-header__capabilities','content','ck-ai-chat__feed__interaction-header__capabilities__text','197310tFAmeX','ck-hidden','ck-ai-chat__feed__interaction-header','add','setTemplate','206892KhQQbo','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','130jIiKPI','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','895195ZDsLwW','6uggJRU','div','231251ojROki','258404AvWBXy','children','16OEghxW','extendTemplate'];_0x48e3=function(){return _0x8268b0;};return _0x48e3();}
23
+ const _0x1d8522=_0x5212;(function(_0x57d339,_0xed8660){const _0x11c64d=_0x5212,_0x275fcf=_0x57d339();while(!![]){try{const _0xa32a2e=parseInt(_0x11c64d(0xb9))/0x1+parseInt(_0x11c64d(0xaa))/0x2*(parseInt(_0x11c64d(0xbb))/0x3)+-parseInt(_0x11c64d(0xaf))/0x4+parseInt(_0x11c64d(0xa7))/0x5*(-parseInt(_0x11c64d(0xb1))/0x6)+-parseInt(_0x11c64d(0xb8))/0x7+parseInt(_0x11c64d(0xb4))/0x8*(-parseInt(_0x11c64d(0xa8))/0x9)+parseInt(_0x11c64d(0xac))/0xa;if(_0xa32a2e===_0xed8660)break;else _0x275fcf['push'](_0x275fcf['shift']());}catch(_0x3b2e26){_0x275fcf['push'](_0x275fcf['shift']());}}}(_0x1ffc,0x391e8));function _0x1ffc(){const _0x4e0a6e=['1359668KzlABC','add','7176cUeSYd','children','ck-ai-chat__feed__interaction-header','32zhlDqV','div','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','3167857vMzoyn','421370PudzXd','ck-hidden','836256kNQkUp','capabilities','setTemplate','content','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','span','775DlRqlm','692064ZMcdId','ck-ai-chat__feed__interaction-header__capabilities','2qDhbYa','push','8192700HHQEwf','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','extendTemplate'];_0x1ffc=function(){return _0x4e0a6e;};return _0x1ffc();}import{IconBulb as _0x8e33ce,IconWeb as _0x284aa4}from'@ckeditor/ckeditor5-icons';import{IconView as _0x37cb32,View as _0x3448bd}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x250add}from'./aichatfeeditemview.js';import{getTranslation as _0x1054f3}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x250add{[_0x1d8522(0xbc)];constructor(_0x54cb46,_0x59af7d){const _0x2bc52e=_0x1d8522;super(_0x59af7d);const {isWebSearchEnabled:_0x55b882,isReasoningEnabled:_0x5889e7}=_0x59af7d[_0x2bc52e(0xbc)],_0x2fe22b=[];let _0x5a32af='';_0x55b882&&_0x5889e7?(_0x5a32af=_0x1054f3(_0x54cb46,_0x2bc52e(0xb6)),_0x2fe22b[_0x2bc52e(0xab)](aa(_0x284aa4)),_0x2fe22b[_0x2bc52e(0xab)](aa(_0x8e33ce))):_0x55b882?(_0x5a32af=_0x1054f3(_0x54cb46,_0x2bc52e(0xbf)),_0x2fe22b[_0x2bc52e(0xab)](aa(_0x284aa4))):_0x5889e7&&(_0x5a32af=_0x1054f3(_0x54cb46,_0x2bc52e(0xad)),_0x2fe22b[_0x2bc52e(0xab)](aa(_0x8e33ce))),this[_0x2bc52e(0xae)]({'attributes':{'class':[_0x2bc52e(0xb3),_0x5a32af?'':_0x2bc52e(0xba)]}});const _0x32ed13=new _0x3448bd();_0x32ed13[_0x2bc52e(0xbd)]({'tag':_0x2bc52e(0xb5),'attributes':{'class':['ck',_0x2bc52e(0xa9)]},'children':[..._0x2fe22b,{'tag':_0x2bc52e(0xa6),'attributes':{'class':[_0x2bc52e(0xb7)]},'children':[_0x5a32af]}]}),this[_0x2bc52e(0xb2)][_0x2bc52e(0xb0)](_0x32ed13),this[_0x2bc52e(0xbc)]=_0x59af7d[_0x2bc52e(0xbc)];}}function _0x5212(_0x2b9c03,_0x58bd0d){const _0x1ffcc5=_0x1ffc();return _0x5212=function(_0x52122e,_0x2505e1){_0x52122e=_0x52122e-0xa6;let _0x11115e=_0x1ffcc5[_0x52122e];return _0x11115e;},_0x5212(_0x2b9c03,_0x58bd0d);}function aa(_0x56ff7c){const _0x15a258=_0x1d8522,_0x4b43b6=new _0x37cb32();return _0x4b43b6[_0x15a258(0xbe)]=_0x56ff7c,_0x4b43b6;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x564f87=_0x336f;(function(_0x22217e,_0x513b78){const _0x5b8fb3=_0x336f,_0x55cc02=_0x22217e();while(!![]){try{const _0x5ace6a=parseInt(_0x5b8fb3(0x1ec))/0x1*(-parseInt(_0x5b8fb3(0x201))/0x2)+parseInt(_0x5b8fb3(0x1ef))/0x3*(parseInt(_0x5b8fb3(0x1eb))/0x4)+parseInt(_0x5b8fb3(0x1f8))/0x5*(-parseInt(_0x5b8fb3(0x1f3))/0x6)+parseInt(_0x5b8fb3(0x200))/0x7*(-parseInt(_0x5b8fb3(0x1f1))/0x8)+parseInt(_0x5b8fb3(0x1fb))/0x9*(parseInt(_0x5b8fb3(0x1f0))/0xa)+-parseInt(_0x5b8fb3(0x1f7))/0xb*(parseInt(_0x5b8fb3(0x1e6))/0xc)+parseInt(_0x5b8fb3(0x1ee))/0xd*(parseInt(_0x5b8fb3(0x1fa))/0xe);if(_0x5ace6a===_0x513b78)break;else _0x55cc02['push'](_0x55cc02['shift']());}catch(_0x3ebca3){_0x55cc02['push'](_0x55cc02['shift']());}}}(_0x325d,0xef079));function _0x325d(){const _0x74dfb3=['setTemplate','30VmIKhj','ck-ai-chat__feed__item','ck-hidden','htmlStreamer','4186083pDJYWF','1293515jqCvFz','data-id','42rWxepM','139113qMdxYu','stream','[data-id]','set','children','2604637zqHoPQ','526SjWYXU','isVisible','element','content','options','removeAttribute','createCollection','ck-ai-chat__feed__text-item','isDone','cleanUpAnimations','forEach','streamIntoElement','div','36usyEdI','querySelectorAll','animation:\x20ck-html-streamer-fade-in\x20.5s','markAsDone','bindTemplate','5692omGxGE','4115dmliIg','ck-ai-chat__feed__item_done','17150263CUHfyC','1464sQRFlV','140oVNVrB','8blRyRb'];_0x325d=function(){return _0x74dfb3;};return _0x325d();}function _0x336f(_0xa2e9f4,_0x18aff9){const _0x325d9a=_0x325d();return _0x336f=function(_0x336f56,_0xab4b8e){_0x336f56=_0x336f56-0x1da;let _0x2db04b=_0x325d9a[_0x336f56];return _0x2db04b;},_0x336f(_0xa2e9f4,_0x18aff9);}import{View as _0x2b838a}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1b4cf8}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2b838a{[_0x564f87(0x1dd)];[_0x564f87(0x1dc)]='';[_0x564f87(0x1f6)];[_0x564f87(0x1ff)];constructor(_0x44416d){const _0x2c4080=_0x564f87;super();const _0x54ffaf=this[_0x2c4080(0x1ea)];this[_0x2c4080(0x1fe)](_0x2c4080(0x1e1),!0x1),this[_0x2c4080(0x1fe)](_0x2c4080(0x1da),!0x0),this[_0x2c4080(0x1f6)]=new _0x1b4cf8({'textNodeStyle':_0x2c4080(0x1e8),'delay':0x14}),this[_0x2c4080(0x1dd)]=_0x44416d,this[_0x2c4080(0x1ff)]=this[_0x2c4080(0x1df)](),this[_0x2c4080(0x1f2)]({'tag':_0x2c4080(0x1e5),'attributes':{'class':['ck',_0x2c4080(0x1f4),_0x54ffaf['if'](_0x2c4080(0x1e1),_0x2c4080(0x1ed)),_0x54ffaf['if'](_0x2c4080(0x1da),_0x2c4080(0x1f5),_0x926fe8=>!_0x926fe8),_0x2c4080(0x1e0)],'data-cke-ai-id':this[_0x2c4080(0x1dd)]['id']},'children':this[_0x2c4080(0x1ff)]});}[_0x564f87(0x1e9)](){const _0x47a6aa=_0x564f87;this[_0x47a6aa(0x1f6)][_0x47a6aa(0x1e2)]({'targetElement':this[_0x47a6aa(0x1db)]}),this[_0x47a6aa(0x1db)][_0x47a6aa(0x1e7)](_0x47a6aa(0x1fd))[_0x47a6aa(0x1e3)](_0x5d8aec=>{const _0x5c983b=_0x47a6aa;_0x5d8aec[_0x5c983b(0x1de)](_0x5c983b(0x1f9));}),this[_0x47a6aa(0x1e1)]=!0x0;}async[_0x564f87(0x1e4)](_0x4ab6d2,_0x5ee8a2,_0x3879dd){const _0x128947=_0x564f87;await this[_0x128947(0x1f6)][_0x128947(0x1fc)]({'document':_0x4ab6d2,'targetElement':_0x5ee8a2,'abortSignal':_0x3879dd});}}
23
+ const _0x4f8288=_0x3762;function _0x3762(_0x2f9ccf,_0x22c52e){const _0x583e3a=_0x583e();return _0x3762=function(_0x3762f9,_0x562801){_0x3762f9=_0x3762f9-0x175;let _0x52e690=_0x583e3a[_0x3762f9];return _0x52e690;},_0x3762(_0x2f9ccf,_0x22c52e);}function _0x583e(){const _0x3af1f8=['setTemplate','ck-ai-chat__feed__item','div','ck-ai-chat__feed__text-item','data-id','bindTemplate','markAsDone','7926021ZTIoIE','forEach','element','7641720KSxffT','4jGrLxv','cleanUpAnimations','isVisible','options','stream','streamIntoElement','children','querySelectorAll','2798590PMrhDI','224SpTvki','3ScVjgJ','isDone','ck-ai-chat__feed__item_done','createCollection','540990coaXzl','removeAttribute','htmlStreamer','content','1338045bdycyJ','[data-id]','3627440RBQhYc','animation:\x20ck-html-streamer-fade-in\x20.5s','98148mBSUHL','ck-hidden','set'];_0x583e=function(){return _0x3af1f8;};return _0x583e();}(function(_0x40525b,_0x3b740f){const _0x403613=_0x3762,_0x4377e3=_0x40525b();while(!![]){try{const _0x372d58=-parseInt(_0x403613(0x197))/0x1*(parseInt(_0x403613(0x177))/0x2)+parseInt(_0x403613(0x17b))/0x3*(parseInt(_0x403613(0x18d))/0x4)+-parseInt(_0x403613(0x17d))/0x5+parseInt(_0x403613(0x17f))/0x6*(-parseInt(_0x403613(0x196))/0x7)+parseInt(_0x403613(0x18c))/0x8+parseInt(_0x403613(0x189))/0x9+parseInt(_0x403613(0x195))/0xa;if(_0x372d58===_0x3b740f)break;else _0x4377e3['push'](_0x4377e3['shift']());}catch(_0x1d23e0){_0x4377e3['push'](_0x4377e3['shift']());}}}(_0x583e,0x7a651));import{View as _0x4d00d7}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x5dc78b}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x4d00d7{[_0x4f8288(0x190)];[_0x4f8288(0x17a)]='';[_0x4f8288(0x179)];[_0x4f8288(0x193)];constructor(_0x54aa26){const _0x3569ed=_0x4f8288;super();const _0x553444=this[_0x3569ed(0x187)];this[_0x3569ed(0x181)](_0x3569ed(0x198),!0x1),this[_0x3569ed(0x181)](_0x3569ed(0x18f),!0x0),this[_0x3569ed(0x179)]=new _0x5dc78b({'textNodeStyle':_0x3569ed(0x17e),'delay':0x14}),this[_0x3569ed(0x190)]=_0x54aa26,this[_0x3569ed(0x193)]=this[_0x3569ed(0x176)](),this[_0x3569ed(0x182)]({'tag':_0x3569ed(0x184),'attributes':{'class':['ck',_0x3569ed(0x183),_0x553444['if'](_0x3569ed(0x198),_0x3569ed(0x175)),_0x553444['if'](_0x3569ed(0x18f),_0x3569ed(0x180),_0x4e7e9b=>!_0x4e7e9b),_0x3569ed(0x185)],'data-cke-ai-id':this[_0x3569ed(0x190)]['id']},'children':this[_0x3569ed(0x193)]});}[_0x4f8288(0x188)](){const _0x1ecf59=_0x4f8288;this[_0x1ecf59(0x179)][_0x1ecf59(0x18e)]({'targetElement':this[_0x1ecf59(0x18b)]}),this[_0x1ecf59(0x18b)][_0x1ecf59(0x194)](_0x1ecf59(0x17c))[_0x1ecf59(0x18a)](_0x41b88e=>{const _0x3e4fa9=_0x1ecf59;_0x41b88e[_0x3e4fa9(0x178)](_0x3e4fa9(0x186));}),this[_0x1ecf59(0x198)]=!0x0;}async[_0x4f8288(0x192)](_0x50c746,_0x2c6325,_0x21b219){const _0x1ce9fe=_0x4f8288;await this[_0x1ce9fe(0x179)][_0x1ce9fe(0x191)]({'document':_0x50c746,'targetElement':_0x2c6325,'abortSignal':_0x21b219});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x362c(){const _0x3f73cb=['137092qdvgXv','options','5KIyJiW','markAsDone','setTemplate','869278hekKym','streamIntoElement','static','5886265eLaulL','isVisible','innerHTML','streaming','updateContent','replyContainer','3506408EefzOY','ck-ai-chat__feed__ai-reply','addMany','ck-reset_all-excluded','348oEySSr','updateSources','extendTemplate','add','children','87ujlJAb','div','10626LQwiDa','initialContent','render','_bodyCollection','1MrSfHp','547573KEbxUv','7371912BAnDEL','8590diTosB','element','balloonPanelView','map','locale','ck-ai-chat__feed__ai-reply-container','18SZxbmQ'];_0x362c=function(){return _0x3f73cb;};return _0x362c();}const _0x41acc0=_0x1017;(function(_0x106d9a,_0x378e0f){const _0x177502=_0x1017,_0x178267=_0x106d9a();while(!![]){try{const _0xae71ef=-parseInt(_0x177502(0xf4))/0x1*(parseInt(_0x177502(0xdc))/0x2)+parseInt(_0x177502(0xee))/0x3*(parseInt(_0x177502(0xd7))/0x4)+-parseInt(_0x177502(0xd9))/0x5*(parseInt(_0x177502(0xf6))/0x6)+parseInt(_0x177502(0xdf))/0x7+-parseInt(_0x177502(0xe5))/0x8*(-parseInt(_0x177502(0xd6))/0x9)+-parseInt(_0x177502(0xf7))/0xa*(-parseInt(_0x177502(0xf0))/0xb)+-parseInt(_0x177502(0xe9))/0xc*(parseInt(_0x177502(0xf5))/0xd);if(_0xae71ef===_0x378e0f)break;else _0x178267['push'](_0x178267['shift']());}catch(_0x24da6c){_0x178267['push'](_0x178267['shift']());}}}(_0x362c,0xa0418));function _0x1017(_0x528a96,_0x5ea2a7){const _0x362cfd=_0x362c();return _0x1017=function(_0x1017fd,_0x265b3a){_0x1017fd=_0x1017fd-0xd3;let _0x796e06=_0x362cfd[_0x1017fd];return _0x796e06;},_0x1017(_0x528a96,_0x5ea2a7);}import{AIChatFeedItemView as _0x542219}from'./aichatfeeditemview.js';import{parse as _0x5f4dd2,render as _0x28c35d}from'../../../aicore/utils/htmlparser.js';import{View as _0x14db88}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x56d982,AIWebSourceView as _0x1331a7}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x542219{[_0x41acc0(0xe4)];[_0x41acc0(0xf3)];constructor(_0x260bcc,_0x9e83e6,_0x14e88b){const _0x35f482=_0x41acc0;super(_0x9e83e6),this[_0x35f482(0xf3)]=_0x14e88b,this[_0x35f482(0xd4)]=_0x260bcc,this[_0x35f482(0xeb)]({'attributes':{'class':[_0x35f482(0xe6)]}}),this[_0x35f482(0xe4)]=new _0x14db88(),this[_0x35f482(0xe4)][_0x35f482(0xdb)]({'tag':_0x35f482(0xef),'attributes':{'class':['ck',_0x35f482(0xe8),_0x35f482(0xd5)]}}),this[_0x35f482(0xed)][_0x35f482(0xec)](this[_0x35f482(0xe4)]);}async[_0x41acc0(0xf2)](){const _0x54762f=_0x41acc0;super[_0x54762f(0xf2)](),this[_0x54762f(0xd8)][_0x54762f(0xf1)]&&(await this[_0x54762f(0xe3)]({'parsedContent':_0x5f4dd2(this[_0x54762f(0xd8)][_0x54762f(0xf1)]),'renderingStrategy':_0x54762f(0xde)}),this[_0x54762f(0xda)]());}async[_0x41acc0(0xe3)]({parsedContent:_0x44a088,renderingStrategy:_0x389eb6,abortSignal:_0xedcfc1}){const _0x4d8b93=_0x41acc0;_0x4d8b93(0xe2)===_0x389eb6?await this[_0x4d8b93(0xdd)](_0x44a088,this[_0x4d8b93(0xe4)][_0x4d8b93(0xf8)],_0xedcfc1):this[_0x4d8b93(0xe4)][_0x4d8b93(0xf8)][_0x4d8b93(0xe1)]=_0x28c35d(_0x44a088);}[_0x41acc0(0xea)](_0x71f56f){const _0x548652=_0x41acc0,_0xa6097c=new _0x56d982(this[_0x548652(0xd4)],this[_0x548652(0xf3)]);_0xa6097c[_0x548652(0xed)][_0x548652(0xe7)](_0x71f56f[_0x548652(0xd3)](_0x208189=>new _0x1331a7(this[_0x548652(0xd4)],_0x208189,_0xa6097c[_0x548652(0xf9)]))),_0xa6097c[_0x548652(0xe0)]=!0x0,this[_0x548652(0xed)][_0x548652(0xec)](_0xa6097c);}}
23
+ const _0x389f39=_0x2ecc;(function(_0x4c233d,_0x1604a6){const _0x301699=_0x2ecc,_0xbf6cf7=_0x4c233d();while(!![]){try{const _0x193980=parseInt(_0x301699(0x133))/0x1+parseInt(_0x301699(0x11f))/0x2*(parseInt(_0x301699(0x12f))/0x3)+parseInt(_0x301699(0x12a))/0x4+-parseInt(_0x301699(0x116))/0x5+-parseInt(_0x301699(0x125))/0x6+parseInt(_0x301699(0x12e))/0x7+-parseInt(_0x301699(0x124))/0x8*(parseInt(_0x301699(0x113))/0x9);if(_0x193980===_0x1604a6)break;else _0xbf6cf7['push'](_0xbf6cf7['shift']());}catch(_0x1022ba){_0xbf6cf7['push'](_0xbf6cf7['shift']());}}}(_0x411d,0x98b73));function _0x411d(){const _0x1df01f=['replyContainer','streaming','children','streamIntoElement','add','element','78646oPzyAF','ck-ai-chat__feed__ai-reply-container','initialContent','options','updateContent','94664IRUxMx','4525050WsUsZd','_bodyCollection','markAsDone','static','render','3050204NuTSHI','locale','ck-ai-chat__feed__ai-reply','extendTemplate','6120240kRarHI','30KLlKGM','isVisible','balloonPanelView','innerHTML','1219874SObvcy','addMany','map','1143rZeTgM','ck-reset_all-excluded','setTemplate','1837430YzRBky','div','updateSources'];_0x411d=function(){return _0x1df01f;};return _0x411d();}import{AIChatFeedItemView as _0x46b448}from'./aichatfeeditemview.js';import{parse as _0x39e312,render as _0xfcb4b0}from'../../../aicore/utils/htmlparser.js';import{View as _0x276971}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x99dc92,AIWebSourceView as _0x4d09ac}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';function _0x2ecc(_0x3e5bb6,_0x6cce7c){const _0x411d69=_0x411d();return _0x2ecc=function(_0x2ecc59,_0x57042a){_0x2ecc59=_0x2ecc59-0x111;let _0x524631=_0x411d69[_0x2ecc59];return _0x524631;},_0x2ecc(_0x3e5bb6,_0x6cce7c);}export class AIChatFeedReplyItemView extends _0x46b448{[_0x389f39(0x119)];[_0x389f39(0x126)];constructor(_0x18a67b,_0x320a0b,_0x15efd7){const _0x13cf95=_0x389f39;super(_0x320a0b),this[_0x13cf95(0x126)]=_0x15efd7,this[_0x13cf95(0x12b)]=_0x18a67b,this[_0x13cf95(0x12d)]({'attributes':{'class':[_0x13cf95(0x12c)]}}),this[_0x13cf95(0x119)]=new _0x276971(),this[_0x13cf95(0x119)][_0x13cf95(0x115)]({'tag':_0x13cf95(0x117),'attributes':{'class':['ck',_0x13cf95(0x114),_0x13cf95(0x120)]}}),this[_0x13cf95(0x11b)][_0x13cf95(0x11d)](this[_0x13cf95(0x119)]);}async[_0x389f39(0x129)](){const _0x3052d3=_0x389f39;super[_0x3052d3(0x129)](),this[_0x3052d3(0x122)][_0x3052d3(0x121)]&&(await this[_0x3052d3(0x123)]({'parsedContent':_0x39e312(this[_0x3052d3(0x122)][_0x3052d3(0x121)]),'renderingStrategy':_0x3052d3(0x128)}),this[_0x3052d3(0x127)]());}async[_0x389f39(0x123)]({parsedContent:_0x57779d,renderingStrategy:_0x5f2032,abortSignal:_0x390197}){const _0x52e554=_0x389f39;_0x52e554(0x11a)===_0x5f2032?await this[_0x52e554(0x11c)](_0x57779d,this[_0x52e554(0x119)][_0x52e554(0x11e)],_0x390197):this[_0x52e554(0x119)][_0x52e554(0x11e)][_0x52e554(0x132)]=_0xfcb4b0(_0x57779d);}[_0x389f39(0x118)](_0xb18c8d){const _0x2e054e=_0x389f39,_0xf84753=new _0x99dc92(this[_0x2e054e(0x12b)],this[_0x2e054e(0x126)]);_0xf84753[_0x2e054e(0x11b)][_0x2e054e(0x111)](_0xb18c8d[_0x2e054e(0x112)](_0x3da4e3=>new _0x4d09ac(this[_0x2e054e(0x12b)],_0x3da4e3,_0xf84753[_0x2e054e(0x131)]))),_0xf84753[_0x2e054e(0x130)]=!0x0,this[_0x2e054e(0x11b)][_0x2e054e(0x11d)](_0xf84753);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc14ced=_0x48d9;function _0x51c6(){const _0x31ef29=['locale','_switchButtonLabelsPlurality','insertSuggestion','execute','bind','set','3204120MMRoeu','includes','bindTemplate','addMany','isEnabled','ck-ai-button-primary','setTemplate','forEach','4kiUmLn','22tgIGng','button','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-hidden','AI_CHAT_SUGGESTION_ACTION_APPLY','applySuggestion','updateVisibility','23076WCsKKd','90gANrqW','ck-ai-chat__feed__ai-suggestion__actions','children','2MLIAqM','398993rsAfgX','1367805hkkFDH','_insertSuggestionsButton','add','225792bDZlDL','AI_SUGGESTION_DISABLED_FEED_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','2711780NOrVyo','_applyChangesButton','ck-ai-button-secondary','494604bfHErW','change:isTrackChangesOn','fire','ck-ai-chat__feed__suggestion__actions__info','createCollection','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','AI_CHAT_SUGGESTION_ACTION_SUGGEST','label','isVisible','div','isTrackChangesOn','24aheSDO'];_0x51c6=function(){return _0x31ef29;};return _0x51c6();}(function(_0x482b0f,_0x430149){const _0x1faeb5=_0x48d9,_0x3f8499=_0x482b0f();while(!![]){try{const _0x29c412=parseInt(_0x1faeb5(0x151))/0x1*(parseInt(_0x1faeb5(0x150))/0x2)+parseInt(_0x1faeb5(0x152))/0x3*(parseInt(_0x1faeb5(0x144))/0x4)+-parseInt(_0x1faeb5(0x14d))/0x5*(-parseInt(_0x1faeb5(0x14c))/0x6)+parseInt(_0x1faeb5(0x155))/0x7+-parseInt(_0x1faeb5(0x166))/0x8*(-parseInt(_0x1faeb5(0x15b))/0x9)+-parseInt(_0x1faeb5(0x158))/0xa*(parseInt(_0x1faeb5(0x145))/0xb)+-parseInt(_0x1faeb5(0x16d))/0xc;if(_0x29c412===_0x430149)break;else _0x3f8499['push'](_0x3f8499['shift']());}catch(_0x501342){_0x3f8499['push'](_0x3f8499['shift']());}}}(_0x51c6,0x4c26a));import{ButtonView as _0x2ef964,View as _0x2ef804}from'ckeditor5/src/ui.js';function _0x48d9(_0x21b6a2,_0x116094){const _0x51c6df=_0x51c6();return _0x48d9=function(_0x48d92c,_0x151659){_0x48d92c=_0x48d92c-0x13f;let _0x50ecbb=_0x51c6df[_0x48d92c];return _0x50ecbb;},_0x48d9(_0x21b6a2,_0x116094);}import{getTranslation as _0x4a423b}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x20166a}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0xc14ced(0x14a),_0xc14ced(0x169)];export class AIChatFeedSuggestionItemActionsView extends _0x2ef804{[_0xc14ced(0x159)];[_0xc14ced(0x153)];[_0xc14ced(0x14f)];constructor(_0x44541f,_0x31fac0=[...AI_REPLY_ACTIONS],_0xdc4ad1){const _0x4db791=_0xc14ced;super(_0x44541f);const _0xe91443=this[_0x4db791(0x16f)],_0x522d6e=Boolean(_0xdc4ad1);if(this[_0x4db791(0x16c)](_0x4db791(0x140),!_0x522d6e),this[_0x4db791(0x16c)](_0x4db791(0x163),!0x1),this[_0x4db791(0x16c)](_0x4db791(0x165),!0x1),this[_0x4db791(0x14f)]=this[_0x4db791(0x15f)](),_0x522d6e){const _0x4b8a8a=new _0x2ef964(_0x44541f);_0x4b8a8a[_0x4db791(0x16c)]({'label':_0x4a423b(_0x44541f,_0x4db791(0x147)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x20166a});const _0x5c5d91=new _0x2ef804(_0x44541f);_0x5c5d91[_0x4db791(0x142)]({'tag':_0x4db791(0x164),'attributes':{'class':_0x4db791(0x15e)},'children':[{'tag':'p','children':[_0x4a423b(_0x44541f,_0x4db791(0x156)),_0x4b8a8a]}]}),this[_0x4db791(0x14f)][_0x4db791(0x154)](_0x5c5d91);}else this[_0x4db791(0x159)]=new _0x2ef964(_0x44541f),this[_0x4db791(0x159)][_0x4db791(0x16c)]({'label':_0x4a423b(_0x44541f,_0x4db791(0x157)),'withText':!0x0,'type':_0x4db791(0x146),'isVisible':_0x31fac0[_0x4db791(0x16e)](_0x4db791(0x14a)),'class':_0x4db791(0x141)}),this[_0x4db791(0x153)]=new _0x2ef964(_0x44541f),this[_0x4db791(0x153)][_0x4db791(0x16c)]({'label':_0x4a423b(_0x44541f,_0x4db791(0x160)),'withText':!0x0,'type':_0x4db791(0x146),'isVisible':_0x31fac0[_0x4db791(0x16e)](_0x4db791(0x169)),'class':_0x4db791(0x15a)}),this[_0x4db791(0x153)]['on'](_0x4db791(0x16a),()=>{const _0x4d14ce=_0x4db791;this[_0x4d14ce(0x15d)](_0x4d14ce(0x169));}),this[_0x4db791(0x159)]['on'](_0x4db791(0x16a),()=>{const _0x3272ee=_0x4db791;this[_0x3272ee(0x15d)](_0x3272ee(0x14a));}),[this[_0x4db791(0x159)],this[_0x4db791(0x153)]][_0x4db791(0x143)](_0x39f3a9=>{const _0x5a2fd2=_0x4db791;_0x39f3a9[_0x5a2fd2(0x16b)](_0x5a2fd2(0x140))['to'](this);}),this[_0x4db791(0x14f)][_0x4db791(0x13f)]([this[_0x4db791(0x159)],this[_0x4db791(0x153)]]);this[_0x4db791(0x142)]({'tag':_0x4db791(0x164),'attributes':{'class':['ck',_0x4db791(0x14e),_0xe91443['if'](_0x4db791(0x163),_0x4db791(0x148),_0x148c05=>!_0x148c05)]},'children':this[_0x4db791(0x14f)]}),this['on'](_0x4db791(0x15c),()=>{const _0x3ba1cb=_0x4db791;this[_0x3ba1cb(0x159)]&&(this[_0x3ba1cb(0x159)][_0x3ba1cb(0x163)]=!this[_0x3ba1cb(0x165)]);});}[_0xc14ced(0x14b)](_0x43e72d){const _0x45e2db=_0xc14ced;this[_0x45e2db(0x163)]=_0x43e72d;}[_0xc14ced(0x168)](_0x249079){const _0x4d4df6=_0xc14ced;this[_0x4d4df6(0x159)]&&this[_0x4d4df6(0x153)]&&(_0x249079?(this[_0x4d4df6(0x159)][_0x4d4df6(0x162)]=_0x4a423b(this[_0x4d4df6(0x167)],_0x4d4df6(0x157)),this[_0x4d4df6(0x153)][_0x4d4df6(0x162)]=_0x4a423b(this[_0x4d4df6(0x167)],_0x4d4df6(0x160))):(this[_0x4d4df6(0x159)][_0x4d4df6(0x162)]=_0x4a423b(this[_0x4d4df6(0x167)],_0x4d4df6(0x149)),this[_0x4d4df6(0x153)][_0x4d4df6(0x162)]=_0x4a423b(this[_0x4d4df6(0x167)],_0x4d4df6(0x161))));}}
23
+ const _0x3e3025=_0x4293;(function(_0x121d10,_0x474561){const _0x4471f9=_0x4293,_0x494e76=_0x121d10();while(!![]){try{const _0x28fac8=parseInt(_0x4471f9(0x1cd))/0x1+-parseInt(_0x4471f9(0x1db))/0x2*(parseInt(_0x4471f9(0x1e1))/0x3)+parseInt(_0x4471f9(0x1d9))/0x4*(-parseInt(_0x4471f9(0x1d4))/0x5)+-parseInt(_0x4471f9(0x1ed))/0x6*(-parseInt(_0x4471f9(0x1d1))/0x7)+-parseInt(_0x4471f9(0x1e0))/0x8*(parseInt(_0x4471f9(0x1c6))/0x9)+parseInt(_0x4471f9(0x1c3))/0xa*(parseInt(_0x4471f9(0x1df))/0xb)+parseInt(_0x4471f9(0x1e4))/0xc*(-parseInt(_0x4471f9(0x1c2))/0xd);if(_0x28fac8===_0x474561)break;else _0x494e76['push'](_0x494e76['shift']());}catch(_0x41edbd){_0x494e76['push'](_0x494e76['shift']());}}}(_0x34ef,0x7ada3));import{ButtonView as _0x2bc483,View as _0x1fbbda}from'ckeditor5/src/ui.js';import{getTranslation as _0x25430b}from'../../../aicore/utils/common-translations.js';function _0x34ef(){const _0x4139d8=['createCollection','444759itGVqp','ck-ai-chat__feed__suggestion__actions__info','setTemplate','locale','6615vccKhI','bind','isVisible','855115UZPJqA','addMany','AI_CHAT_SUGGESTION_ACTION_APPLY','bindTemplate','isTrackChangesOn','20JEjorq','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','1486UjSWpN','_switchButtonLabelsPlurality','forEach','add','132660usiusm','48824zACDdF','141JDGJet','set','insertSuggestion','4313724QYWMgL','button','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','fire','ck-ai-button-primary','includes','children','4452ZGzTCB','ck-ai-button-secondary','ck-ai-chat__feed__ai-suggestion__actions','div','AI_CHAT_SUGGESTION_ACTION_SUGGEST','AI_SUGGESTION_DISABLED_FEED_MESSAGE','updateVisibility','13jeIhtk','660pqFfpZ','applySuggestion','execute','279DOXhPz','ck-hidden','_insertSuggestionsButton','isEnabled','_applyChangesButton','label'];_0x34ef=function(){return _0x4139d8;};return _0x34ef();}import{IconInfo as _0x43074b}from'ckeditor5/src/icons.js';function _0x4293(_0x1716b2,_0x21aed6){const _0x34ef28=_0x34ef();return _0x4293=function(_0x42934c,_0x5cd7d0){_0x42934c=_0x42934c-0x1be;let _0x18dca6=_0x34ef28[_0x42934c];return _0x18dca6;},_0x4293(_0x1716b2,_0x21aed6);}export const AI_REPLY_ACTIONS=[_0x3e3025(0x1c4),_0x3e3025(0x1e3)];export class AIChatFeedSuggestionItemActionsView extends _0x1fbbda{[_0x3e3025(0x1ca)];[_0x3e3025(0x1c8)];[_0x3e3025(0x1ec)];constructor(_0x6eb234,_0x17c891=[...AI_REPLY_ACTIONS],_0x19f7ce){const _0x4197d0=_0x3e3025;super(_0x6eb234);const _0x2d9c50=this[_0x4197d0(0x1d7)],_0x25cb7b=Boolean(_0x19f7ce);if(this[_0x4197d0(0x1e2)](_0x4197d0(0x1c9),!_0x25cb7b),this[_0x4197d0(0x1e2)](_0x4197d0(0x1d3),!0x1),this[_0x4197d0(0x1e2)](_0x4197d0(0x1d8),!0x1),this[_0x4197d0(0x1ec)]=this[_0x4197d0(0x1cc)](),_0x25cb7b){const _0x1111db=new _0x2bc483(_0x6eb234);_0x1111db[_0x4197d0(0x1e2)]({'label':_0x25430b(_0x6eb234,_0x4197d0(0x1e6)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x43074b});const _0x9012c=new _0x1fbbda(_0x6eb234);_0x9012c[_0x4197d0(0x1cf)]({'tag':_0x4197d0(0x1be),'attributes':{'class':_0x4197d0(0x1ce)},'children':[{'tag':'p','children':[_0x25430b(_0x6eb234,_0x4197d0(0x1c0)),_0x1111db]}]}),this[_0x4197d0(0x1ec)][_0x4197d0(0x1de)](_0x9012c);}else this[_0x4197d0(0x1ca)]=new _0x2bc483(_0x6eb234),this[_0x4197d0(0x1ca)][_0x4197d0(0x1e2)]({'label':_0x25430b(_0x6eb234,_0x4197d0(0x1e8)),'withText':!0x0,'type':_0x4197d0(0x1e5),'isVisible':_0x17c891[_0x4197d0(0x1eb)](_0x4197d0(0x1c4)),'class':_0x4197d0(0x1ea)}),this[_0x4197d0(0x1c8)]=new _0x2bc483(_0x6eb234),this[_0x4197d0(0x1c8)][_0x4197d0(0x1e2)]({'label':_0x25430b(_0x6eb234,_0x4197d0(0x1da)),'withText':!0x0,'type':_0x4197d0(0x1e5),'isVisible':_0x17c891[_0x4197d0(0x1eb)](_0x4197d0(0x1e3)),'class':_0x4197d0(0x1ee)}),this[_0x4197d0(0x1c8)]['on'](_0x4197d0(0x1c5),()=>{const _0x13547e=_0x4197d0;this[_0x13547e(0x1e9)](_0x13547e(0x1e3));}),this[_0x4197d0(0x1ca)]['on'](_0x4197d0(0x1c5),()=>{const _0x390446=_0x4197d0;this[_0x390446(0x1e9)](_0x390446(0x1c4));}),[this[_0x4197d0(0x1ca)],this[_0x4197d0(0x1c8)]][_0x4197d0(0x1dd)](_0x5845b9=>{const _0xdd5456=_0x4197d0;_0x5845b9[_0xdd5456(0x1d2)](_0xdd5456(0x1c9))['to'](this);}),this[_0x4197d0(0x1ec)][_0x4197d0(0x1d5)]([this[_0x4197d0(0x1ca)],this[_0x4197d0(0x1c8)]]);this[_0x4197d0(0x1cf)]({'tag':_0x4197d0(0x1be),'attributes':{'class':['ck',_0x4197d0(0x1ef),_0x2d9c50['if'](_0x4197d0(0x1d3),_0x4197d0(0x1c7),_0x522e50=>!_0x522e50)]},'children':this[_0x4197d0(0x1ec)]}),this['on'](_0x4197d0(0x1e7),()=>{const _0x405fce=_0x4197d0;this[_0x405fce(0x1ca)]&&(this[_0x405fce(0x1ca)][_0x405fce(0x1d3)]=!this[_0x405fce(0x1d8)]);});}[_0x3e3025(0x1c1)](_0x190e0b){const _0x4cb565=_0x3e3025;this[_0x4cb565(0x1d3)]=_0x190e0b;}[_0x3e3025(0x1dc)](_0x212ce4){const _0x2f233a=_0x3e3025;this[_0x2f233a(0x1ca)]&&this[_0x2f233a(0x1c8)]&&(_0x212ce4?(this[_0x2f233a(0x1ca)][_0x2f233a(0x1cb)]=_0x25430b(this[_0x2f233a(0x1d0)],_0x2f233a(0x1e8)),this[_0x2f233a(0x1c8)][_0x2f233a(0x1cb)]=_0x25430b(this[_0x2f233a(0x1d0)],_0x2f233a(0x1da))):(this[_0x2f233a(0x1ca)][_0x2f233a(0x1cb)]=_0x25430b(this[_0x2f233a(0x1d0)],_0x2f233a(0x1d6)),this[_0x2f233a(0x1c8)][_0x2f233a(0x1cb)]=_0x25430b(this[_0x2f233a(0x1d0)],_0x2f233a(0x1bf))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1a5c(_0x1499db,_0x52d933){var _0x4e9c98=_0x4e9c();return _0x1a5c=function(_0x1a5cbc,_0x565f2b){_0x1a5cbc=_0x1a5cbc-0x1c9;var _0x2e068b=_0x4e9c98[_0x1a5cbc];return _0x2e068b;},_0x1a5c(_0x1499db,_0x52d933);}var _0x380964=_0x1a5c;(function(_0x5b3fb5,_0x2c3661){var _0x2575f5=_0x1a5c,_0x3b7a0e=_0x5b3fb5();while(!![]){try{var _0x1cba44=parseInt(_0x2575f5(0x1d9))/0x1*(parseInt(_0x2575f5(0x1ed))/0x2)+-parseInt(_0x2575f5(0x1e1))/0x3+parseInt(_0x2575f5(0x1cd))/0x4+parseInt(_0x2575f5(0x1d2))/0x5+-parseInt(_0x2575f5(0x1e6))/0x6*(-parseInt(_0x2575f5(0x1d8))/0x7)+parseInt(_0x2575f5(0x1d0))/0x8+-parseInt(_0x2575f5(0x1d3))/0x9;if(_0x1cba44===_0x2c3661)break;else _0x3b7a0e['push'](_0x3b7a0e['shift']());}catch(_0x7a9661){_0x3b7a0e['push'](_0x3b7a0e['shift']());}}}(_0x4e9c,0xc3b0e));import{AIChatFeedItemView as _0x23f267}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3ab8d2}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x23f267{[_0x380964(0x1dd)];constructor(_0x31f6ef,_0x2cb382,_0xa44d1f){var _0x12ecdd=_0x380964;super(_0x2cb382),this[_0x12ecdd(0x1da)](_0x12ecdd(0x1d4),!0x1),this[_0x12ecdd(0x1dd)]=new _0x3ab8d2(_0x31f6ef,{'showDiff':_0x2cb382[_0x12ecdd(0x1ec)],'areActionsDisabled':_0x2cb382[_0x12ecdd(0x1ea)],'availableActions':_0x2cb382[_0x12ecdd(0x1e7)]},_0xa44d1f),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1cf),(_0x1c0028,_0xe3964b)=>{var _0x322aca=_0x12ecdd;this[_0x322aca(0x1db)](_0x322aca(0x1cf),{'replyId':this[_0x322aca(0x1e3)]['id'],'showDiff':_0xe3964b[_0x322aca(0x1ec)]});}),this[_0x12ecdd(0x1dd)][_0x12ecdd(0x1d1)](_0x12ecdd(0x1d4))['to'](this),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1e4),()=>{var _0x4a9db7=_0x12ecdd;this[_0x4a9db7(0x1db)](_0x4a9db7(0x1e4),{'replyId':this[_0x4a9db7(0x1e3)]['id']});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1eb),()=>{var _0x5b3280=_0x12ecdd;this[_0x5b3280(0x1db)](_0x5b3280(0x1eb),{'replyId':this[_0x5b3280(0x1e3)]['id']});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1d5),(_0x17646b,{index:_0x58c979})=>{var _0x15d789=_0x12ecdd;this[_0x15d789(0x1db)](_0x15d789(0x1d5),{'replyId':this[_0x15d789(0x1e3)]['id'],'partIndex':_0x58c979});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1cb),(_0x461170,{index:_0x4c1a1}={})=>{var _0x44f576=_0x12ecdd;this[_0x44f576(0x1db)](_0x44f576(0x1cb),{'replyId':this[_0x44f576(0x1e3)]['id'],'partIndex':_0x4c1a1});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1e8),(_0x57b426,{index:_0x565d51}={})=>{var _0x217d60=_0x12ecdd;this[_0x217d60(0x1db)](_0x217d60(0x1e8),{'replyId':this[_0x217d60(0x1e3)]['id'],'partIndex':_0x565d51});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1e2),(_0x2ff889,{index:_0x4b9c5b})=>{var _0x5d2a7b=_0x12ecdd;this[_0x5d2a7b(0x1db)](_0x5d2a7b(0x1e2),{'replyId':this[_0x5d2a7b(0x1e3)]['id'],'partIndex':_0x4b9c5b});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1de),(_0x5d3f18,{index:_0x5dcfb5})=>{var _0x557610=_0x12ecdd;this[_0x557610(0x1db)](_0x557610(0x1de),{'replyId':this[_0x557610(0x1e3)]['id'],'partIndex':_0x5dcfb5});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1df),(_0x1a745a,{index:_0x48fdd0})=>{var _0x4e2525=_0x12ecdd;this[_0x4e2525(0x1db)](_0x4e2525(0x1df),{'replyId':this[_0x4e2525(0x1e3)]['id'],'partIndex':_0x48fdd0});}),this[_0x12ecdd(0x1d7)][_0x12ecdd(0x1e0)]([this[_0x12ecdd(0x1dd)]]),this[_0x12ecdd(0x1c9)]({'attributes':{'class':[_0x12ecdd(0x1dc)]}});}async[_0x380964(0x1cc)](_0x4e9432){var _0x4225db=_0x380964;await this[_0x4225db(0x1dd)][_0x4225db(0x1cc)](_0x4e9432);}[_0x380964(0x1ca)](_0x154269,_0x3c844b){var _0x1eff28=_0x380964;this[_0x1eff28(0x1dd)][_0x1eff28(0x1ce)][_0x1eff28(0x1ca)](_0x154269,_0x3c844b);}[_0x380964(0x1ee)](_0xd3f89f,_0x109e23){var _0x485342=_0x380964;!0x1===_0xd3f89f?this[_0x485342(0x1dd)][_0x485342(0x1ce)][_0x485342(0x1ee)](!0x1):this[_0x485342(0x1dd)][_0x485342(0x1ce)][_0x485342(0x1ee)](_0xd3f89f,_0x109e23);}[_0x380964(0x1e5)](_0x51bb56){var _0x185177=_0x380964;this[_0x185177(0x1dd)][_0x185177(0x1e5)](_0x51bb56);}[_0x380964(0x1e9)](_0x5009b3){var _0x30e141=_0x380964;return this[_0x30e141(0x1dd)][_0x30e141(0x1ce)][_0x30e141(0x1e9)](_0x5009b3);}[_0x380964(0x1d6)](){var _0x501b5e=_0x380964;super[_0x501b5e(0x1d6)](),this[_0x501b5e(0x1dd)][_0x501b5e(0x1d6)]();}}function _0x4e9c(){var _0x3e73b2=['updateSources','24kwpMQP','availableActions','insertSuggestion','getPartView','areActionsDisabled','dislike','showDiff','82ffNxhy','setPartActive','extendTemplate','updatePartState','applySuggestion','updateContent','4147460Ceckpx','bodyView','toggleSuggestionDisplayMode','9608904UYleJG','bind','228215IeSChf','11442240JgdZre','isTrackChangesOn','showChangeInText','markAsDone','children','1791209wifhrP','759cfbjfz','set','fire','ck-ai-chat__feed__ai-suggestion','containerView','mouseOverSuggestion','mouseLeaveSuggestion','addMany','3796134JLhBnI','rejectSuggestion','options','like'];_0x4e9c=function(){return _0x3e73b2;};return _0x4e9c();}
23
+ function _0x4ab3(_0x5ea750,_0x46140d){var _0x548de2=_0x548d();return _0x4ab3=function(_0x4ab39f,_0x2056fe){_0x4ab39f=_0x4ab39f-0x1f1;var _0x36c556=_0x548de2[_0x4ab39f];return _0x36c556;},_0x4ab3(_0x5ea750,_0x46140d);}var _0x5c0c44=_0x4ab3;(function(_0x56473f,_0x890256){var _0x206d06=_0x4ab3,_0x116779=_0x56473f();while(!![]){try{var _0x4eb4fa=parseInt(_0x206d06(0x208))/0x1+-parseInt(_0x206d06(0x214))/0x2*(-parseInt(_0x206d06(0x1fc))/0x3)+parseInt(_0x206d06(0x20b))/0x4*(-parseInt(_0x206d06(0x1fe))/0x5)+parseInt(_0x206d06(0x212))/0x6+parseInt(_0x206d06(0x203))/0x7+parseInt(_0x206d06(0x20e))/0x8*(parseInt(_0x206d06(0x204))/0x9)+-parseInt(_0x206d06(0x1fa))/0xa*(parseInt(_0x206d06(0x20f))/0xb);if(_0x4eb4fa===_0x890256)break;else _0x116779['push'](_0x116779['shift']());}catch(_0x343ed1){_0x116779['push'](_0x116779['shift']());}}}(_0x548d,0xefdc8));import{AIChatFeedItemView as _0x2b3637}from'./aichatfeeditemview.js';function _0x548d(){var _0x5c836f=['666qukoop','insertSuggestion','ck-ai-chat__feed__ai-suggestion','fire','862100YdJvyS','children','addMany','153996SqgkFq','updateContent','markAsDone','185080YCFWnM','42206527CzHLst','options','mouseLeaveSuggestion','10617948tJVMoX','areActionsDisabled','2CYvZgM','containerView','showChangeInText','set','setPartActive','getPartView','showDiff','extendTemplate','bodyView','bind','updatePartState','isTrackChangesOn','like','applySuggestion','10csNptk','toggleSuggestionDisplayMode','1184817vKZEam','dislike','85StPEfK','mouseOverSuggestion','rejectSuggestion','updateSources','availableActions','5146575QgIdeq'];_0x548d=function(){return _0x5c836f;};return _0x548d();}import{AISuggestionContainerView as _0x3cd6b6}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x2b3637{[_0x5c0c44(0x215)];constructor(_0x55de5c,_0x2e0023,_0x1a78df){var _0x1c1d2c=_0x5c0c44;super(_0x2e0023),this[_0x1c1d2c(0x217)](_0x1c1d2c(0x1f7),!0x1),this[_0x1c1d2c(0x215)]=new _0x3cd6b6(_0x55de5c,{'showDiff':_0x2e0023[_0x1c1d2c(0x1f2)],'areActionsDisabled':_0x2e0023[_0x1c1d2c(0x213)],'availableActions':_0x2e0023[_0x1c1d2c(0x202)]},_0x1a78df),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1fb),(_0x5f4516,_0x3556a2)=>{var _0x2d7e49=_0x1c1d2c;this[_0x2d7e49(0x207)](_0x2d7e49(0x1fb),{'replyId':this[_0x2d7e49(0x210)]['id'],'showDiff':_0x3556a2[_0x2d7e49(0x1f2)]});}),this[_0x1c1d2c(0x215)][_0x1c1d2c(0x1f5)](_0x1c1d2c(0x1f7))['to'](this),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1f8),()=>{var _0x187649=_0x1c1d2c;this[_0x187649(0x207)](_0x187649(0x1f8),{'replyId':this[_0x187649(0x210)]['id']});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1fd),()=>{var _0x34fba5=_0x1c1d2c;this[_0x34fba5(0x207)](_0x34fba5(0x1fd),{'replyId':this[_0x34fba5(0x210)]['id']});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x216),(_0x3dd400,{index:_0x2dcf3e})=>{var _0xb7fdd=_0x1c1d2c;this[_0xb7fdd(0x207)](_0xb7fdd(0x216),{'replyId':this[_0xb7fdd(0x210)]['id'],'partIndex':_0x2dcf3e});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1f9),(_0x250701,{index:_0x2bb4a6}={})=>{var _0x309ad1=_0x1c1d2c;this[_0x309ad1(0x207)](_0x309ad1(0x1f9),{'replyId':this[_0x309ad1(0x210)]['id'],'partIndex':_0x2bb4a6});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x205),(_0x47ae6b,{index:_0x537f65}={})=>{var _0x8bcb94=_0x1c1d2c;this[_0x8bcb94(0x207)](_0x8bcb94(0x205),{'replyId':this[_0x8bcb94(0x210)]['id'],'partIndex':_0x537f65});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x200),(_0x1e9088,{index:_0x21bed3})=>{var _0x126511=_0x1c1d2c;this[_0x126511(0x207)](_0x126511(0x200),{'replyId':this[_0x126511(0x210)]['id'],'partIndex':_0x21bed3});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1ff),(_0x57740c,{index:_0x26b01d})=>{var _0x190f01=_0x1c1d2c;this[_0x190f01(0x207)](_0x190f01(0x1ff),{'replyId':this[_0x190f01(0x210)]['id'],'partIndex':_0x26b01d});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x211),(_0x4a9106,{index:_0x21a469})=>{var _0x4ed5a4=_0x1c1d2c;this[_0x4ed5a4(0x207)](_0x4ed5a4(0x211),{'replyId':this[_0x4ed5a4(0x210)]['id'],'partIndex':_0x21a469});}),this[_0x1c1d2c(0x209)][_0x1c1d2c(0x20a)]([this[_0x1c1d2c(0x215)]]),this[_0x1c1d2c(0x1f3)]({'attributes':{'class':[_0x1c1d2c(0x206)]}});}async[_0x5c0c44(0x20c)](_0x461820){var _0x30dfb5=_0x5c0c44;await this[_0x30dfb5(0x215)][_0x30dfb5(0x20c)](_0x461820);}[_0x5c0c44(0x1f6)](_0x2ab4e8,_0x1725a5){var _0x3b5583=_0x5c0c44;this[_0x3b5583(0x215)][_0x3b5583(0x1f4)][_0x3b5583(0x1f6)](_0x2ab4e8,_0x1725a5);}[_0x5c0c44(0x218)](_0x365f01,_0x2c3a6c){var _0x1c8e4b=_0x5c0c44;!0x1===_0x365f01?this[_0x1c8e4b(0x215)][_0x1c8e4b(0x1f4)][_0x1c8e4b(0x218)](!0x1):this[_0x1c8e4b(0x215)][_0x1c8e4b(0x1f4)][_0x1c8e4b(0x218)](_0x365f01,_0x2c3a6c);}[_0x5c0c44(0x201)](_0x364175){var _0x38ef6f=_0x5c0c44;this[_0x38ef6f(0x215)][_0x38ef6f(0x201)](_0x364175);}[_0x5c0c44(0x1f1)](_0x1731ad){var _0x3d599f=_0x5c0c44;return this[_0x3d599f(0x215)][_0x3d599f(0x1f4)][_0x3d599f(0x1f1)](_0x1731ad);}[_0x5c0c44(0x20d)](){var _0x28d4b1=_0x5c0c44;super[_0x28d4b1(0x20d)](),this[_0x28d4b1(0x215)][_0x28d4b1(0x20d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x445c41=_0x35f6;(function(_0x5cb92c,_0x4d8647){var _0x4a33ca=_0x35f6,_0x223a4a=_0x5cb92c();while(!![]){try{var _0x194e8c=parseInt(_0x4a33ca(0x9d))/0x1+-parseInt(_0x4a33ca(0xaa))/0x2*(-parseInt(_0x4a33ca(0xa6))/0x3)+-parseInt(_0x4a33ca(0x97))/0x4+-parseInt(_0x4a33ca(0x9a))/0x5*(parseInt(_0x4a33ca(0xb4))/0x6)+-parseInt(_0x4a33ca(0xa7))/0x7*(parseInt(_0x4a33ca(0xa2))/0x8)+parseInt(_0x4a33ca(0xb2))/0x9*(parseInt(_0x4a33ca(0xb1))/0xa)+parseInt(_0x4a33ca(0xab))/0xb*(-parseInt(_0x4a33ca(0xac))/0xc);if(_0x194e8c===_0x4d8647)break;else _0x223a4a['push'](_0x223a4a['shift']());}catch(_0x63dd31){_0x223a4a['push'](_0x223a4a['shift']());}}}(_0x452c,0xe92af));function _0x35f6(_0x18f09d,_0x22616d){var _0x452c69=_0x452c();return _0x35f6=function(_0x35f694,_0x4841f4){_0x35f694=_0x35f694-0x96;var _0x582bb9=_0x452c69[_0x35f694];return _0x582bb9;},_0x35f6(_0x18f09d,_0x22616d);}import{AIChatFeedItemView as _0x210e09}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1961c0}from'./aichatfeedcontextchipsview.js';function _0x452c(){var _0x52b081=['4911988kWREBZ','hidden','_contextChipsView','5GmvWua','setTemplate','element','335877NQpFsJ','innerHTML','contextItems','_bodyCollection','_locale','2584aTyrXP','div','_createContextChipsView','length','161130DyyCXH','14161ZKBCEH','add','markAsDone','32dZGpPT','22WuIsMo','3372vvWPaV','extendTemplate','children','render','options','190sBsJvE','792945WzfQIB','ck-ai-chat__feed__user-message','193134HqANWn','_messageContentView','ck-ai-chat__feed__context-chips','initialContent','filter','_createMessageContentView','ck-ai-chat__feed__message-content'];_0x452c=function(){return _0x52b081;};return _0x452c();}import{View as _0x323e98}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x210e09{[_0x445c41(0x99)]=null;[_0x445c41(0xa1)];[_0x445c41(0xa0)];[_0x445c41(0xb5)];constructor(_0x559ffb,_0x23e71e,_0x54730f){var _0x3b3413=_0x445c41;super(_0x23e71e),this[_0x3b3413(0xa1)]=_0x559ffb,this[_0x3b3413(0xa0)]=_0x54730f,this[_0x3b3413(0xa4)](),this[_0x3b3413(0xb9)](),this[_0x3b3413(0xad)]({'attributes':{'class':[_0x3b3413(0xb3)]}});}[_0x445c41(0xa4)](){var _0x16d5e8=_0x445c41;this[_0x16d5e8(0xb0)][_0x16d5e8(0x9f)]&&this[_0x16d5e8(0xb0)][_0x16d5e8(0x9f)][_0x16d5e8(0xa5)]>0x0&&(this[_0x16d5e8(0x99)]=new _0x1961c0(this[_0x16d5e8(0xa1)],this[_0x16d5e8(0xb0)][_0x16d5e8(0x9f)][_0x16d5e8(0xb8)](_0x3f70c5=>!_0x3f70c5[_0x16d5e8(0x98)]),this[_0x16d5e8(0xa0)]),this[_0x16d5e8(0x99)][_0x16d5e8(0xad)]({'attributes':{'class':_0x16d5e8(0xb6)}}),this[_0x16d5e8(0xae)][_0x16d5e8(0xa8)](this[_0x16d5e8(0x99)]));}[_0x445c41(0xb9)](){var _0x145b92=_0x445c41;this[_0x145b92(0xb5)]=new _0x323e98(this[_0x145b92(0xa1)]),this[_0x145b92(0xb5)][_0x145b92(0x9b)]({'tag':_0x145b92(0xa3),'attributes':{'class':_0x145b92(0x96)}}),this[_0x145b92(0xae)][_0x145b92(0xa8)](this[_0x145b92(0xb5)]);}[_0x445c41(0xaf)](){var _0x4aa32f=_0x445c41;super[_0x4aa32f(0xaf)](),this[_0x4aa32f(0xb5)][_0x4aa32f(0x9c)][_0x4aa32f(0x9e)]=this[_0x4aa32f(0xb0)][_0x4aa32f(0xb7)],this[_0x4aa32f(0xa9)]();}}
23
+ var _0x5d9534=_0x543d;(function(_0x54fef0,_0x2dd4a0){var _0x5089a5=_0x543d,_0x148ac0=_0x54fef0();while(!![]){try{var _0x3e332a=parseInt(_0x5089a5(0xbb))/0x1+-parseInt(_0x5089a5(0xb0))/0x2*(-parseInt(_0x5089a5(0xa4))/0x3)+parseInt(_0x5089a5(0xaa))/0x4*(-parseInt(_0x5089a5(0xba))/0x5)+-parseInt(_0x5089a5(0xb5))/0x6*(parseInt(_0x5089a5(0xbc))/0x7)+parseInt(_0x5089a5(0xa8))/0x8*(-parseInt(_0x5089a5(0xac))/0x9)+-parseInt(_0x5089a5(0x9e))/0xa*(parseInt(_0x5089a5(0x9f))/0xb)+parseInt(_0x5089a5(0xb9))/0xc;if(_0x3e332a===_0x2dd4a0)break;else _0x148ac0['push'](_0x148ac0['shift']());}catch(_0x180c83){_0x148ac0['push'](_0x148ac0['shift']());}}}(_0x5f33,0xa13cc));function _0x543d(_0x2d71f5,_0x219d45){var _0x5f3322=_0x5f33();return _0x543d=function(_0x543d85,_0xa5dc54){_0x543d85=_0x543d85-0x9d;var _0x53b52b=_0x5f3322[_0x543d85];return _0x53b52b;},_0x543d(_0x2d71f5,_0x219d45);}import{AIChatFeedItemView as _0x3ea85}from'./aichatfeeditemview.js';function _0x5f33(){var _0x173891=['44806608VYmBqu','10oKkzse','53758ryQBAp','840553zGTCvm','_createContextChipsView','element','_contextChipsView','extendTemplate','add','230PktMIg','557953REqExy','contextItems','innerHTML','_locale','children','3ARFqWy','ck-ai-chat__feed__message-content','initialContent','options','72QsumvY','_bodyCollection','2099516xkdfEV','setTemplate','710667hYGKhv','render','hidden','div','320154fLIgbe','ck-ai-chat__feed__context-chips','filter','ck-ai-chat__feed__user-message','_messageContentView','18LJwdBe','markAsDone','_createMessageContentView','length'];_0x5f33=function(){return _0x173891;};return _0x5f33();}import{AIChatFeedContextChipsView as _0x4214a9}from'./aichatfeedcontextchipsview.js';import{View as _0x42a0bc}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3ea85{[_0x5d9534(0xbf)]=null;[_0x5d9534(0xa2)];[_0x5d9534(0xa9)];[_0x5d9534(0xb4)];constructor(_0x1227cc,_0x53ddb0,_0x2e6da8){var _0x526fba=_0x5d9534;super(_0x53ddb0),this[_0x526fba(0xa2)]=_0x1227cc,this[_0x526fba(0xa9)]=_0x2e6da8,this[_0x526fba(0xbd)](),this[_0x526fba(0xb7)](),this[_0x526fba(0xc0)]({'attributes':{'class':[_0x526fba(0xb3)]}});}[_0x5d9534(0xbd)](){var _0x5d488a=_0x5d9534;this[_0x5d488a(0xa7)][_0x5d488a(0xa0)]&&this[_0x5d488a(0xa7)][_0x5d488a(0xa0)][_0x5d488a(0xb8)]>0x0&&(this[_0x5d488a(0xbf)]=new _0x4214a9(this[_0x5d488a(0xa2)],this[_0x5d488a(0xa7)][_0x5d488a(0xa0)][_0x5d488a(0xb2)](_0x40d8af=>!_0x40d8af[_0x5d488a(0xae)]),this[_0x5d488a(0xa9)]),this[_0x5d488a(0xbf)][_0x5d488a(0xc0)]({'attributes':{'class':_0x5d488a(0xb1)}}),this[_0x5d488a(0xa3)][_0x5d488a(0x9d)](this[_0x5d488a(0xbf)]));}[_0x5d9534(0xb7)](){var _0x121c18=_0x5d9534;this[_0x121c18(0xb4)]=new _0x42a0bc(this[_0x121c18(0xa2)]),this[_0x121c18(0xb4)][_0x121c18(0xab)]({'tag':_0x121c18(0xaf),'attributes':{'class':_0x121c18(0xa5)}}),this[_0x121c18(0xa3)][_0x121c18(0x9d)](this[_0x121c18(0xb4)]);}[_0x5d9534(0xad)](){var _0x461d1f=_0x5d9534;super[_0x461d1f(0xad)](),this[_0x461d1f(0xb4)][_0x461d1f(0xbe)][_0x461d1f(0xa1)]=this[_0x461d1f(0xa7)][_0x461d1f(0xa6)],this[_0x461d1f(0xb6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x11d9(){const _0x57c38f=['6170958tyEWEB','executeCustomItemCallback','addUrlToContext','selectModel','addFileToContext','sendUserMessage','1095132aupuCW','628227HlVMBg','220201vtvHpK','addDocumentToContext','1076820rJyyXG','loadSourceResources','removeContextItem','toggleReasoning','toggleWebSearch','abortPromptStream','7824240nrQKUa','resizeTabs','startConversation','7uHBCRv','1607785YmCqpy','addResourceToContext'];_0x11d9=function(){return _0x57c38f;};return _0x11d9();}const _0x5ad442=_0x7538;(function(_0x26e605,_0x16c709){const _0x35a922=_0x7538,_0x1439fe=_0x26e605();while(!![]){try{const _0x721b50=parseInt(_0x35a922(0x161))/0x1+parseInt(_0x35a922(0x15f))/0x2+-parseInt(_0x35a922(0x160))/0x3+parseInt(_0x35a922(0x163))/0x4+-parseInt(_0x35a922(0x157))/0x5+-parseInt(_0x35a922(0x159))/0x6*(-parseInt(_0x35a922(0x156))/0x7)+-parseInt(_0x35a922(0x153))/0x8;if(_0x721b50===_0x16c709)break;else _0x1439fe['push'](_0x1439fe['shift']());}catch(_0x1851b7){_0x1439fe['push'](_0x1439fe['shift']());}}}(_0x11d9,0x87db5));function _0x7538(_0x15ab4b,_0x1577c9){const _0x11d9b1=_0x11d9();return _0x7538=function(_0x7538e9,_0x5bca5f){_0x7538e9=_0x7538e9-0x14f;let _0x442f78=_0x11d9b1[_0x7538e9];return _0x442f78;},_0x7538(_0x15ab4b,_0x1577c9);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3ca61e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x3ca61e,_0x5ad442(0x155),_0x5ad442(0x154),_0x5ad442(0x15e),_0x5ad442(0x152),_0x5ad442(0x162),_0x5ad442(0x15d),_0x5ad442(0x15b),_0x5ad442(0x15a),_0x5ad442(0x158),_0x5ad442(0x14f),_0x5ad442(0x164),_0x5ad442(0x151),_0x5ad442(0x150),_0x5ad442(0x15c)];
23
+ const _0x5cb8b3=_0x2799;(function(_0x4d6cd4,_0x751e1){const _0x3136a=_0x2799,_0x4456a7=_0x4d6cd4();while(!![]){try{const _0x1139d8=parseInt(_0x3136a(0x1cd))/0x1+parseInt(_0x3136a(0x1cb))/0x2*(parseInt(_0x3136a(0x1ce))/0x3)+parseInt(_0x3136a(0x1d4))/0x4+parseInt(_0x3136a(0x1c2))/0x5+-parseInt(_0x3136a(0x1d5))/0x6+-parseInt(_0x3136a(0x1c8))/0x7+-parseInt(_0x3136a(0x1d0))/0x8*(-parseInt(_0x3136a(0x1c6))/0x9);if(_0x1139d8===_0x751e1)break;else _0x4456a7['push'](_0x4456a7['shift']());}catch(_0x5c5d74){_0x4456a7['push'](_0x4456a7['shift']());}}}(_0x3da5,0x5d2fc));function _0x3da5(){const _0x47ec92=['selectModel','375916uPZDSr','3940536zshOXe','addUrlToContext','resizeTabs','executeCustomItemCallback','2155925BTnCnv','abortPromptStream','toggleReasoning','addDocumentToContext','96399rQofdM','toggleWebSearch','4894827jzFUbj','addFileToContext','loadSourceResources','98TWJtWx','removeContextItem','46349MeGggD','32709snUghS','startConversation','472JwmFfq','sendUserMessage','addResourceToContext'];_0x3da5=function(){return _0x47ec92;};return _0x3da5();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x36892f}from'../../aicore/utils/eventnames.js';function _0x2799(_0x478d51,_0x3d12ac){const _0x3da54d=_0x3da5();return _0x2799=function(_0x2799c7,_0x4f2d28){_0x2799c7=_0x2799c7-0x1bf;let _0x2cad85=_0x3da54d[_0x2799c7];return _0x2cad85;},_0x2799(_0x478d51,_0x3d12ac);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x36892f,_0x5cb8b3(0x1cf),_0x5cb8b3(0x1c0),_0x5cb8b3(0x1d1),_0x5cb8b3(0x1c3),_0x5cb8b3(0x1c5),_0x5cb8b3(0x1c9),_0x5cb8b3(0x1bf),_0x5cb8b3(0x1c1),_0x5cb8b3(0x1d2),_0x5cb8b3(0x1cc),_0x5cb8b3(0x1ca),_0x5cb8b3(0x1c7),_0x5cb8b3(0x1c4),_0x5cb8b3(0x1d3)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53d5fa=_0x37d9;(function(_0x2c173f,_0x5e1655){const _0x1b6bac=_0x37d9,_0x1de020=_0x2c173f();while(!![]){try{const _0x3eb11f=parseInt(_0x1b6bac(0x1c0))/0x1+-parseInt(_0x1b6bac(0x1be))/0x2*(-parseInt(_0x1b6bac(0x1c2))/0x3)+-parseInt(_0x1b6bac(0x1b0))/0x4+-parseInt(_0x1b6bac(0x1ae))/0x5*(-parseInt(_0x1b6bac(0x1b7))/0x6)+parseInt(_0x1b6bac(0x1ad))/0x7+parseInt(_0x1b6bac(0x1ac))/0x8+-parseInt(_0x1b6bac(0x1b5))/0x9;if(_0x3eb11f===_0x5e1655)break;else _0x1de020['push'](_0x1de020['shift']());}catch(_0x39e3f2){_0x1de020['push'](_0x1de020['shift']());}}}(_0x4ab8,0xbdc2c));import{EmitterMixin as _0x5ee5e3}from'ckeditor5/src/utils.js';function _0x37d9(_0x857dcd,_0x22559d){const _0x4ab8b1=_0x4ab8();return _0x37d9=function(_0x37d9ee,_0x3bca55){_0x37d9ee=_0x37d9ee-0x1aa;let _0x313a78=_0x4ab8b1[_0x37d9ee];return _0x313a78;},_0x37d9(_0x857dcd,_0x22559d);}function _0x4ab8(){const _0x37d2bf=['12legjsF','abort','fire','queueEmptyPromise','push','reject','queue','1803268GggLtW','length','52604ZbISfx','once','3flzUFm','callback','shift','_abortController','createTask','_processQueue','12292360oVNxUw','7133490izLrgA','3679105ECuVAh','resolve','3926176ozzqmy','signal','completePromise','enqueue','_queueEmpty','29004219lLaMSC','isProcessing'];_0x4ab8=function(){return _0x37d2bf;};return _0x4ab8();}export class PromiseQueue extends _0x5ee5e3(){[_0x53d5fa(0x1bd)]=[];[_0x53d5fa(0x1b6)]=!0x1;[_0x53d5fa(0x1c5)];async[_0x53d5fa(0x1b3)](_0x4253f7){const _0x449b11=_0x53d5fa,_0x2c9585=this[_0x449b11(0x1aa)](_0x4253f7);return this[_0x449b11(0x1bd)][_0x449b11(0x1bb)](_0x2c9585),this[_0x449b11(0x1ab)](),_0x2c9585[_0x449b11(0x1b2)];}[_0x53d5fa(0x1b8)](){const _0x45c0a0=_0x53d5fa;this[_0x45c0a0(0x1b6)]&&(this[_0x45c0a0(0x1c5)][_0x45c0a0(0x1b8)](),this[_0x45c0a0(0x1c5)]=void 0x0,this[_0x45c0a0(0x1bd)]=[],this[_0x45c0a0(0x1b9)](_0x45c0a0(0x1b4)),this[_0x45c0a0(0x1b6)]=!0x1);}get[_0x53d5fa(0x1ba)](){const _0x5c87ad=_0x53d5fa;return this[_0x5c87ad(0x1bd)][_0x5c87ad(0x1bf)]||this[_0x5c87ad(0x1b6)]?new Promise(_0x3fd5f7=>{const _0x34a813=_0x5c87ad;this[_0x34a813(0x1c1)](_0x34a813(0x1b4),()=>{_0x3fd5f7();});}):Promise[_0x5c87ad(0x1af)]();}async[_0x53d5fa(0x1ab)](){const _0x33e52c=_0x53d5fa;if(!this[_0x33e52c(0x1b6)]){this[_0x33e52c(0x1c5)]=new AbortController(),this[_0x33e52c(0x1b6)]=!0x0;try{for(;this[_0x33e52c(0x1bd)][_0x33e52c(0x1bf)]&&this[_0x33e52c(0x1b6)];){const _0x56770=this[_0x33e52c(0x1bd)][_0x33e52c(0x1c4)]();try{await _0x56770[_0x33e52c(0x1c3)](this[_0x33e52c(0x1c5)][_0x33e52c(0x1b1)]),_0x56770[_0x33e52c(0x1af)]();}catch(_0x630ba0){_0x56770[_0x33e52c(0x1bc)](_0x630ba0);}}}finally{this[_0x33e52c(0x1b6)]=!0x1,this[_0x33e52c(0x1c5)]=void 0x0;}this[_0x33e52c(0x1b9)](_0x33e52c(0x1b4));}}[_0x53d5fa(0x1aa)](_0x158f4d){let _0x1d16a2,_0x40057d;const _0x210681=new Promise((_0x281163,_0x4be2ea)=>{_0x1d16a2=_0x281163,_0x40057d=_0x4be2ea;});return{'callback':_0x158f4d,'resolve':_0x1d16a2,'reject':_0x40057d,'completePromise':_0x210681};}}
23
+ function _0xcf11(){const _0x49daf2=['_queueEmpty','876048hKgqOG','queueEmptyPromise','_abortController','createTask','length','abort','1qihyYD','once','228484ixksKm','push','reject','fire','18KIXYdo','_processQueue','queue','895074gYZJSr','completePromise','resolve','callback','718870mwdrFX','5KOjrMg','isProcessing','signal','564838UDjJog','16181iwdckP','enqueue','852DZpNbP','6yrZefD','861973uTKcLQ','shift'];_0xcf11=function(){return _0x49daf2;};return _0xcf11();}function _0x22bc(_0x458d9e,_0x35cfed){const _0xcf11ce=_0xcf11();return _0x22bc=function(_0x22bc3c,_0x3fec4e){_0x22bc3c=_0x22bc3c-0xd3;let _0x8393f5=_0xcf11ce[_0x22bc3c];return _0x8393f5;},_0x22bc(_0x458d9e,_0x35cfed);}const _0x159c30=_0x22bc;(function(_0x2c9bec,_0x4a5b95){const _0x540304=_0x22bc,_0xbce348=_0x2c9bec();while(!![]){try{const _0x4e7488=-parseInt(_0x540304(0xe4))/0x1*(-parseInt(_0x540304(0xd6))/0x2)+-parseInt(_0x540304(0xed))/0x3+parseInt(_0x540304(0xe6))/0x4*(-parseInt(_0x540304(0xd3))/0x5)+-parseInt(_0x540304(0xda))/0x6*(-parseInt(_0x540304(0xdb))/0x7)+-parseInt(_0x540304(0xde))/0x8+-parseInt(_0x540304(0xea))/0x9*(-parseInt(_0x540304(0xf1))/0xa)+parseInt(_0x540304(0xd7))/0xb*(parseInt(_0x540304(0xd9))/0xc);if(_0x4e7488===_0x4a5b95)break;else _0xbce348['push'](_0xbce348['shift']());}catch(_0x1e4f97){_0xbce348['push'](_0xbce348['shift']());}}}(_0xcf11,0x2e174));import{EmitterMixin as _0x295656}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x295656(){[_0x159c30(0xec)]=[];[_0x159c30(0xd4)]=!0x1;[_0x159c30(0xe0)];async[_0x159c30(0xd8)](_0x8a70e0){const _0x272dc5=_0x159c30,_0x367027=this[_0x272dc5(0xe1)](_0x8a70e0);return this[_0x272dc5(0xec)][_0x272dc5(0xe7)](_0x367027),this[_0x272dc5(0xeb)](),_0x367027[_0x272dc5(0xee)];}[_0x159c30(0xe3)](){const _0x5c4088=_0x159c30;this[_0x5c4088(0xd4)]&&(this[_0x5c4088(0xe0)][_0x5c4088(0xe3)](),this[_0x5c4088(0xe0)]=void 0x0,this[_0x5c4088(0xec)]=[],this[_0x5c4088(0xe9)](_0x5c4088(0xdd)),this[_0x5c4088(0xd4)]=!0x1);}get[_0x159c30(0xdf)](){const _0xa7833e=_0x159c30;return this[_0xa7833e(0xec)][_0xa7833e(0xe2)]||this[_0xa7833e(0xd4)]?new Promise(_0x48d800=>{const _0x57b005=_0xa7833e;this[_0x57b005(0xe5)](_0x57b005(0xdd),()=>{_0x48d800();});}):Promise[_0xa7833e(0xef)]();}async[_0x159c30(0xeb)](){const _0x14838c=_0x159c30;if(!this[_0x14838c(0xd4)]){this[_0x14838c(0xe0)]=new AbortController(),this[_0x14838c(0xd4)]=!0x0;try{for(;this[_0x14838c(0xec)][_0x14838c(0xe2)]&&this[_0x14838c(0xd4)];){const _0x417cad=this[_0x14838c(0xec)][_0x14838c(0xdc)]();try{await _0x417cad[_0x14838c(0xf0)](this[_0x14838c(0xe0)][_0x14838c(0xd5)]),_0x417cad[_0x14838c(0xef)]();}catch(_0x191ae4){_0x417cad[_0x14838c(0xe8)](_0x191ae4);}}}finally{this[_0x14838c(0xd4)]=!0x1,this[_0x14838c(0xe0)]=void 0x0;}this[_0x14838c(0xe9)](_0x14838c(0xdd));}}[_0x159c30(0xe1)](_0x549bf2){let _0x3e008a,_0x5e9ffb;const _0x5c3044=new Promise((_0x4c4f51,_0x16b21e)=>{_0x3e008a=_0x4c4f51,_0x5e9ffb=_0x16b21e;});return{'callback':_0x549bf2,'resolve':_0x3e008a,'reject':_0x5e9ffb,'completePromise':_0x5c3044};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4dbfe2=_0x489e;(function(_0x1d3a29,_0x354b86){var _0x2433c2=_0x489e,_0x41b567=_0x1d3a29();while(!![]){try{var _0x497627=parseInt(_0x2433c2(0x15b))/0x1*(parseInt(_0x2433c2(0x163))/0x2)+-parseInt(_0x2433c2(0x164))/0x3*(parseInt(_0x2433c2(0x15f))/0x4)+-parseInt(_0x2433c2(0x15d))/0x5+-parseInt(_0x2433c2(0x161))/0x6+-parseInt(_0x2433c2(0x157))/0x7+-parseInt(_0x2433c2(0x15c))/0x8*(-parseInt(_0x2433c2(0x165))/0x9)+parseInt(_0x2433c2(0x15a))/0xa;if(_0x497627===_0x354b86)break;else _0x41b567['push'](_0x41b567['shift']());}catch(_0x5f5c43){_0x41b567['push'](_0x41b567['shift']());}}}(_0x4f0d,0x6a801));import{ContextPlugin as _0x582550}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x3427c0}from'./aichathistorycontroller.js';function _0x489e(_0x4b34f8,_0x59b67d){var _0x4f0dcb=_0x4f0d();return _0x489e=function(_0x489e06,_0x40d87d){_0x489e06=_0x489e06-0x157;var _0x3d445d=_0x4f0dcb[_0x489e06];return _0x3d445d;},_0x489e(_0x4b34f8,_0x59b67d);}function _0x4f0d(){var _0x467047=['isOfficialPlugin','28QJIUrq','isPremiumPlugin','521226LGNmdX','AIChatHistory','16280cZumFs','369153yGQUzo','18PYrXSh','3285247fIrIdA','requires','pluginName','20835810MkWFvD','2rMBGSK','1165216FhIHRr','2686955teyhHi'];_0x4f0d=function(){return _0x467047;};return _0x4f0d();}import{AIChatHistoryUI as _0x2ccd2a}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x582550{static get[_0x4dbfe2(0x158)](){return[_0x3427c0,_0x2ccd2a];}static get[_0x4dbfe2(0x159)](){var _0x10e006=_0x4dbfe2;return _0x10e006(0x162);}static get[_0x4dbfe2(0x15e)](){return!0x0;}static get[_0x4dbfe2(0x160)](){return!0x0;}}
23
+ var _0x44dd9d=_0x3cb0;(function(_0x51a5f5,_0x4dfadd){var _0x3bede8=_0x3cb0,_0x3b708a=_0x51a5f5();while(!![]){try{var _0x27325c=-parseInt(_0x3bede8(0xee))/0x1+parseInt(_0x3bede8(0xef))/0x2*(parseInt(_0x3bede8(0xe7))/0x3)+parseInt(_0x3bede8(0xf1))/0x4*(parseInt(_0x3bede8(0xe6))/0x5)+-parseInt(_0x3bede8(0xed))/0x6+parseInt(_0x3bede8(0xeb))/0x7+-parseInt(_0x3bede8(0xf2))/0x8+-parseInt(_0x3bede8(0xec))/0x9*(-parseInt(_0x3bede8(0xe8))/0xa);if(_0x27325c===_0x4dfadd)break;else _0x3b708a['push'](_0x3b708a['shift']());}catch(_0x4d1247){_0x3b708a['push'](_0x3b708a['shift']());}}}(_0x5400,0x1ccd9));function _0x5400(){var _0x6f50bf=['13569sSvYXl','10WphUBj','AIChatHistory','pluginName','952056zNKpcr','1042983DIHRLB','1212342LirOXE','80117DNKRiD','102MxEgBv','isOfficialPlugin','17284vQeFqS','1869216uzqDVi','isPremiumPlugin','requires','175FBTnIa'];_0x5400=function(){return _0x6f50bf;};return _0x5400();}function _0x3cb0(_0x304108,_0x161c8f){var _0x54000b=_0x5400();return _0x3cb0=function(_0x3cb083,_0x1ea7c9){_0x3cb083=_0x3cb083-0xe6;var _0x9b8f6=_0x54000b[_0x3cb083];return _0x9b8f6;},_0x3cb0(_0x304108,_0x161c8f);}import{ContextPlugin as _0x5a661d}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x537d30}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x204391}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x5a661d{static get[_0x44dd9d(0xf4)](){return[_0x537d30,_0x204391];}static get[_0x44dd9d(0xea)](){var _0xeff073=_0x44dd9d;return _0xeff073(0xe9);}static get[_0x44dd9d(0xf0)](){return!0x0;}static get[_0x44dd9d(0xf3)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4553b5=_0x4beb;(function(_0x424a70,_0x20ea6d){const _0x324f94=_0x4beb,_0x5bc909=_0x424a70();while(!![]){try{const _0x46641e=parseInt(_0x324f94(0x176))/0x1+-parseInt(_0x324f94(0x17e))/0x2*(parseInt(_0x324f94(0x192))/0x3)+parseInt(_0x324f94(0x168))/0x4*(parseInt(_0x324f94(0x1af))/0x5)+-parseInt(_0x324f94(0x19c))/0x6*(parseInt(_0x324f94(0x1b6))/0x7)+parseInt(_0x324f94(0x1b9))/0x8*(parseInt(_0x324f94(0x169))/0x9)+-parseInt(_0x324f94(0x164))/0xa+parseInt(_0x324f94(0x16b))/0xb;if(_0x46641e===_0x20ea6d)break;else _0x5bc909['push'](_0x5bc909['shift']());}catch(_0x3806be){_0x5bc909['push'](_0x5bc909['shift']());}}}(_0x88aa,0xab20f));import{ContextPlugin as _0x39e2a0}from'ckeditor5/src/core.js';import{AIConnector as _0x3162ad}from'../aicore/aiconnector.js';import{AIChatController as _0x5db346}from'../aichat/aichatcontroller.js';function _0x88aa(){const _0x51bba6=['operation','_updateHistoryItemsUI','chat','2042770AktOeD','toLocaleDateString','itemUpdated','pluginName','240cMvbSE','9080793kBGKox','init','6847852gKihlt','push','map','plugins','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','activateTab','itemsLoaded','requires','_setIsMaximized','AI_CHAT_HISTORY_ERROR_GENERIC','481563QvvVzT','updates','length','removeHistoryItem','AI_CHAT_HISTORY_UNPIN_ACTION','unpin','AI_CHAT_HISTORY_PIN_ACTION','_setItemLoading','3170RTlgDY','getDate','remove','_handleRemove','error','editConversationTitle','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updateItemTitle','items','setLoadingSkeleton','change:activeConversation','itemRemoved','_handleTogglePin','setConversationPinned','_showConversationHistory','openChat','setIsMaximized','context','title','createdAt','1821pCNhrO','resizedTabs','AI_CHAT_HISTORY_CATEGORY_TODAY','locale','_clearItemLoading','_aiConnector','removeConversation','AI_CHAT_HISTORY_CATEGORY_PINNED','itemId','getMonth','438QszAlX','getItems','activateTab:history','activeConversation','history','_generateErrorMessage','AI_CHAT_HISTORY_CATEGORY_LATER','AIChatHistoryController','getItem','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','isPremiumPlugin','_getCategorizedItems','showError','resize','removeItem','view','AI_CHAT_UNTITLED_CONVERSATION','updateItemPinned','get','57685qORAJN','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setDate','pin','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','getFullYear','_handleHistoryErrorUI','89943UkIovI','selectConversation','getGroupId','8hiuLGI','listenTo','updateItemLoadingState','updateItems','isOfficialPlugin','_aiChatHistoryUi','resizeTabs','loadItems','_handleSelectConversation','_handleEditTitle','_aiChatController','rename','pinned','loadConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS'];_0x88aa=function(){return _0x51bba6;};return _0x88aa();}import{AITabs as _0x4bf232}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x3002b2}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x40e805}from'./model/aichathistoryconversations.js';function _0x4beb(_0x29a2d8,_0x1d3055){const _0x88aa93=_0x88aa();return _0x4beb=function(_0x4beb69,_0x3e5d33){_0x4beb69=_0x4beb69-0x160;let _0x27140f=_0x88aa93[_0x4beb69];return _0x27140f;},_0x4beb(_0x29a2d8,_0x1d3055);}import{getTranslation as _0x565e8e}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x39e2a0{[_0x4553b5(0x197)];[_0x4553b5(0x1be)];[_0x4553b5(0x1c3)];static get[_0x4553b5(0x173)](){return[_0x3162ad,_0x5db346,_0x3002b2,_0x4bf232];}static get[_0x4553b5(0x167)](){const _0x35fb45=_0x4553b5;return _0x35fb45(0x1a3);}static get[_0x4553b5(0x1bd)](){return!0x0;}static get[_0x4553b5(0x1a6)](){return!0x0;}[_0x4553b5(0x16a)](){const _0x5c3cac=_0x4553b5;this[_0x5c3cac(0x197)]=this[_0x5c3cac(0x18f)][_0x5c3cac(0x16e)][_0x5c3cac(0x1ae)](_0x3162ad),this[_0x5c3cac(0x1be)]=this[_0x5c3cac(0x18f)][_0x5c3cac(0x16e)][_0x5c3cac(0x1ae)](_0x3002b2),this[_0x5c3cac(0x1c3)]=this[_0x5c3cac(0x18f)][_0x5c3cac(0x16e)][_0x5c3cac(0x1ae)](_0x5db346);const _0x353aae=this[_0x5c3cac(0x18f)][_0x5c3cac(0x16e)][_0x5c3cac(0x1ae)](_0x4bf232);try{const _0x21cac6=this[_0x5c3cac(0x1c3)][_0x5c3cac(0x1b8)]();this[_0x5c3cac(0x1a0)]=new _0x40e805({'connector':this[_0x5c3cac(0x197)],'group':_0x21cac6}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x198),(_0x6582f4,_0x4cb786)=>{const _0x367d53=_0x5c3cac;this[_0x367d53(0x17d)](_0x4cb786['id'],_0x367d53(0x180)),this[_0x367d53(0x181)](_0x4cb786['id']);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x183),(_0x3a7246,_0x16897e)=>{const _0x9d64e9=_0x5c3cac;this[_0x9d64e9(0x17d)](_0x16897e['id'],_0x9d64e9(0x1c4)),this[_0x9d64e9(0x1c2)](_0x16897e['id'],_0x16897e[_0x9d64e9(0x190)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1a0)],_0x5c3cac(0x166),(_0x3adb92,_0x79be25)=>{const _0x111638=_0x5c3cac;void 0x0!==_0x79be25[_0x111638(0x177)][_0x111638(0x190)]&&this[_0x111638(0x1be)][_0x111638(0x185)](_0x79be25[_0x111638(0x19a)],_0x79be25[_0x111638(0x177)][_0x111638(0x190)]),void 0x0!==_0x79be25[_0x111638(0x177)][_0x111638(0x1c5)]&&this[_0x111638(0x162)](),this[_0x111638(0x196)](_0x79be25[_0x111638(0x19a)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1a0)],_0x5c3cac(0x189),(_0x3ba798,_0x3d539f)=>{const _0x476ce4=_0x5c3cac;this[_0x476ce4(0x1c3)][_0x476ce4(0x16f)](_0x3d539f[_0x476ce4(0x19a)]),this[_0x476ce4(0x1be)][_0x476ce4(0x179)](_0x3d539f[_0x476ce4(0x19a)]),this[_0x476ce4(0x196)](_0x3d539f[_0x476ce4(0x19a)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1a0)],_0x5c3cac(0x172),()=>{const _0x3c66fd=_0x5c3cac;this[_0x3c66fd(0x162)]();}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1a0)],_0x5c3cac(0x182),(_0x26ab07,_0x241be1)=>{const _0x2f52e1=_0x5c3cac;this[_0x2f52e1(0x1b5)](_0x241be1[_0x2f52e1(0x182)],_0x241be1[_0x2f52e1(0x161)],_0x241be1[_0x2f52e1(0x19a)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x1b7),(_0x527cda,_0x40f1cb)=>{const _0xe774a0=_0x5c3cac;this[_0xe774a0(0x1c1)](_0x40f1cb['id']);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x18b),(_0x5cb7f9,_0x1989ab)=>{const _0x394a18=_0x5c3cac,_0x21482a=_0x1989ab[_0x394a18(0x1c5)]?_0x394a18(0x1b2):_0x394a18(0x17b);this[_0x394a18(0x17d)](_0x1989ab['id'],_0x21482a),this[_0x394a18(0x18a)](_0x1989ab['id'],_0x1989ab[_0x394a18(0x1c5)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x18d),()=>{const _0x4172fa=_0x5c3cac;_0x353aae[_0x4172fa(0x1ab)][_0x4172fa(0x171)](_0x4172fa(0x163));}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1c3)],_0x5c3cac(0x188),()=>{const _0x2905ab=_0x5c3cac;this[_0x2905ab(0x162)]();}),_0x353aae[_0x5c3cac(0x1ab)]['on'](_0x5c3cac(0x19e),()=>{const _0x2f13fd=_0x5c3cac;this[_0x2f13fd(0x18c)]();}),this[_0x5c3cac(0x1ba)](_0x353aae,_0x5c3cac(0x193),(_0x2d5db3,_0x36c1d8)=>{const _0x2346c5=_0x5c3cac;this[_0x2346c5(0x174)](_0x36c1d8);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x1bf),()=>{const _0xbdce19=_0x5c3cac;_0x353aae[_0xbdce19(0x1a9)]();});}catch(_0x1f72f9){this[_0x5c3cac(0x1b5)](_0x1f72f9,_0x5c3cac(0x16a));}}async[_0x4553b5(0x1c2)](_0x23b111,_0x17502a){const _0x4a15f6=_0x4553b5;await this[_0x4a15f6(0x1a0)][_0x4a15f6(0x185)](_0x23b111,_0x17502a);}async[_0x4553b5(0x18a)](_0x28d691,_0x60fbc2){const _0x593acb=_0x4553b5;await this[_0x593acb(0x1a0)][_0x593acb(0x1ad)](_0x28d691,_0x60fbc2);}async[_0x4553b5(0x181)](_0x28479b){const _0x3ec006=_0x4553b5;await this[_0x3ec006(0x1a0)][_0x3ec006(0x1aa)](_0x28479b);}async[_0x4553b5(0x1c1)](_0x1b567b){const _0x1f78ab=_0x4553b5;await this[_0x1f78ab(0x1c3)][_0x1f78ab(0x1c6)](_0x1b567b);}async[_0x4553b5(0x18c)](){const _0x37f423=_0x4553b5;this[_0x37f423(0x1be)][_0x37f423(0x1a8)](''),this[_0x37f423(0x1be)][_0x37f423(0x187)](!0x0),await this[_0x37f423(0x1a0)][_0x37f423(0x16a)](),this[_0x37f423(0x1be)][_0x37f423(0x187)](!0x1);}[_0x4553b5(0x162)](){const _0x5e2582=_0x4553b5,_0x12e9de=this[_0x5e2582(0x1c3)][_0x5e2582(0x19f)]?.['id'],_0x131176=this[_0x5e2582(0x1a7)]()[_0x5e2582(0x16d)](_0x595b4f=>({'title':_0x595b4f[_0x5e2582(0x190)],'items':_0x595b4f[_0x5e2582(0x186)][_0x5e2582(0x16d)](_0x45ffda=>({'id':_0x45ffda['id'],'title':_0x45ffda[_0x5e2582(0x190)]||_0x565e8e(this[_0x5e2582(0x18f)][_0x5e2582(0x195)],_0x5e2582(0x1ac)),'createdAt':new Date(_0x45ffda[_0x5e2582(0x191)])[_0x5e2582(0x165)](),'active':_0x45ffda['id']===_0x12e9de,'pinned':_0x45ffda[_0x5e2582(0x1c5)]}))}));this[_0x5e2582(0x1be)][_0x5e2582(0x1bc)](_0x131176);}[_0x4553b5(0x17d)](_0x1d25c5,_0x17c8c8){const _0x531567=_0x4553b5;this[_0x531567(0x1be)][_0x531567(0x1bb)](_0x1d25c5,_0x17c8c8,!0x0);}[_0x4553b5(0x196)](_0x5dd1d8){const _0x40390b=_0x4553b5;this[_0x40390b(0x1be)][_0x40390b(0x1bb)](_0x5dd1d8,null,!0x1);}[_0x4553b5(0x1b5)](_0x363589,_0x293d57,_0x549315){const _0x344438=_0x4553b5,_0x27d66a=this[_0x344438(0x1a1)](_0x293d57,_0x549315);this[_0x344438(0x1be)][_0x344438(0x1a8)](_0x27d66a),_0x549315&&this[_0x344438(0x196)](_0x549315),this[_0x344438(0x1be)][_0x344438(0x187)](!0x1);}[_0x4553b5(0x1a1)](_0x253e47,_0x3346e5){const _0x2c31d6=_0x4553b5,_0x4710c4=_0x3346e5?this[_0x2c31d6(0x1a0)][_0x2c31d6(0x1a4)](_0x3346e5):null,_0x1cfe21=_0x4710c4?.[_0x2c31d6(0x190)]||_0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x1ac));switch(_0x253e47){case _0x2c31d6(0x185):return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x170),_0x1cfe21);case _0x2c31d6(0x1ad):{const _0x124f4e=_0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x4710c4?.[_0x2c31d6(0x1c5)]?_0x2c31d6(0x17a):_0x2c31d6(0x17c));return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x1a5),[_0x124f4e,_0x1cfe21]);}case _0x2c31d6(0x1aa):return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x184),_0x1cfe21);case _0x2c31d6(0x16a):case _0x2c31d6(0x1c0):return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x160));default:return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x175));}}[_0x4553b5(0x1a7)](){const _0x12c594=_0x4553b5,_0x2b6236=new Date(),_0x5f569e=new Date(_0x2b6236[_0x12c594(0x1b4)](),_0x2b6236[_0x12c594(0x19b)](),_0x2b6236[_0x12c594(0x17f)]()),_0x27e2fa=new Date(_0x5f569e);_0x27e2fa[_0x12c594(0x1b1)](_0x27e2fa[_0x12c594(0x17f)]()-0x1);const _0x45d6db=new Date(_0x5f569e);_0x45d6db[_0x12c594(0x1b1)](_0x45d6db[_0x12c594(0x17f)]()-0xe);const _0x8c1071=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'pinned':!0x0}),_0x23f351=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'from':_0x5f569e,'to':_0x5f569e}),_0x4e8be3=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'from':_0x27e2fa,'to':_0x27e2fa}),_0x51b24a=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'from':_0x45d6db,'to':_0x27e2fa}),_0x3c0708=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'to':_0x45d6db}),_0x7f0008=[];return _0x8c1071[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x199)),'items':_0x8c1071}),_0x23f351[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x194)),'items':_0x23f351}),_0x4e8be3[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x1b3)),'items':_0x4e8be3}),_0x51b24a[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x1b0)),'items':_0x51b24a}),_0x3c0708[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x1a2)),'items':_0x3c0708}),_0x7f0008;}[_0x4553b5(0x174)](_0x318e0d){const _0x277f7b=_0x4553b5;this[_0x277f7b(0x1be)][_0x277f7b(0x18e)](_0x318e0d);}}
23
+ const _0x51e21d=_0x3e44;(function(_0x3c9557,_0x33f0c5){const _0x47c613=_0x3e44,_0x5f9dd=_0x3c9557();while(!![]){try{const _0x4bbeb3=-parseInt(_0x47c613(0xac))/0x1+parseInt(_0x47c613(0x96))/0x2*(-parseInt(_0x47c613(0x85))/0x3)+-parseInt(_0x47c613(0xb2))/0x4+parseInt(_0x47c613(0x76))/0x5+parseInt(_0x47c613(0xc0))/0x6+parseInt(_0x47c613(0xd6))/0x7+parseInt(_0x47c613(0xb5))/0x8*(parseInt(_0x47c613(0xc2))/0x9);if(_0x4bbeb3===_0x33f0c5)break;else _0x5f9dd['push'](_0x5f9dd['shift']());}catch(_0x3b8b68){_0x5f9dd['push'](_0x5f9dd['shift']());}}}(_0x4eb6,0x84bca));import{ContextPlugin as _0x3100f0}from'ckeditor5/src/core.js';import{AIConnector as _0x2173ce}from'../aicore/aiconnector.js';import{AIChatController as _0x2c4507}from'../aichat/aichatcontroller.js';import{AITabs as _0x442b57}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x3f1ced}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x43db20}from'./model/aichathistoryconversations.js';function _0x3e44(_0x4219fd,_0x3e6f36){const _0x4eb687=_0x4eb6();return _0x3e44=function(_0x3e44ff,_0x4f0b38){_0x3e44ff=_0x3e44ff-0x74;let _0x697441=_0x4eb687[_0x3e44ff];return _0x697441;},_0x3e44(_0x4219fd,_0x3e6f36);}function _0x4eb6(){const _0x58d46e=['_setItemLoading','unpin','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_UNTITLED_CONVERSATION','1158vZMrIO','getItems','setConversationPinned','listenTo','context','getMonth','removeHistoryItem','push','getGroupId','toLocaleDateString','removeItem','pluginName','change:activeConversation','history','updateItemTitle','getDate','operation','openChat','AI_CHAT_HISTORY_CATEGORY_TODAY','_setIsMaximized','_generateErrorMessage','activateTab','619972VUQRjM','_handleSelectConversation','AIChatHistoryController','error','requires','AI_CHAT_HISTORY_ERROR_GENERIC','1789316hKWqzQ','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','items','8pnNRQS','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getFullYear','chat','handleRemovedConversation','activateTab:history','get','AI_CHAT_HISTORY_PIN_ACTION','_showConversationHistory','remove','isOfficialPlugin','2861934CVNDLf','updateItems','6777603WizeoO','removeConversation','title','loadConversation','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_PINNED','_handleHistoryErrorUI','_aiChatController','setIsMaximized','_handleEditTitle','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','plugins','length','map','view','resizedTabs','itemUpdated','setLoadingSkeleton','isPremiumPlugin','_clearItemLoading','1883679tZaLwG','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','updates','_aiConnector','setDate','1922735aWQwen','updateItemLoadingState','rename','AI_CHAT_HISTORY_CATEGORY_LATER','itemRemoved','init','getItem','itemId','loadItems','_handleTogglePin','resizeTabs','pinned','updateItemPinned','_aiChatHistoryUi','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','1413lNKDmJ','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','resize','activeConversation','locale','_handleRemove','showError','pin','editConversationTitle','itemsLoaded','createdAt','selectConversation'];_0x4eb6=function(){return _0x58d46e;};return _0x4eb6();}import{getTranslation as _0x10e29c}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x3100f0{[_0x51e21d(0x74)];[_0x51e21d(0x83)];[_0x51e21d(0xc9)];static get[_0x51e21d(0xb0)](){return[_0x2173ce,_0x2c4507,_0x3f1ced,_0x442b57];}static get[_0x51e21d(0xa1)](){const _0x33cfca=_0x51e21d;return _0x33cfca(0xae);}static get[_0x51e21d(0xbf)](){return!0x0;}static get[_0x51e21d(0xd4)](){return!0x0;}[_0x51e21d(0x7b)](){const _0x1d67bc=_0x51e21d;this[_0x1d67bc(0x74)]=this[_0x1d67bc(0x9a)][_0x1d67bc(0xcd)][_0x1d67bc(0xbb)](_0x2173ce),this[_0x1d67bc(0x83)]=this[_0x1d67bc(0x9a)][_0x1d67bc(0xcd)][_0x1d67bc(0xbb)](_0x3f1ced),this[_0x1d67bc(0xc9)]=this[_0x1d67bc(0x9a)][_0x1d67bc(0xcd)][_0x1d67bc(0xbb)](_0x2c4507);const _0x2036b0=this[_0x1d67bc(0x9a)][_0x1d67bc(0xcd)][_0x1d67bc(0xbb)](_0x442b57);try{const _0x5a4a4a=this[_0x1d67bc(0xc9)][_0x1d67bc(0x9e)]();this[_0x1d67bc(0xa3)]=new _0x43db20({'connector':this[_0x1d67bc(0x74)],'group':_0x5a4a4a}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0xc3),(_0x781ec4,_0x52a5b7)=>{const _0x5dc1e0=_0x1d67bc;this[_0x5dc1e0(0x92)](_0x52a5b7['id'],_0x5dc1e0(0xbe)),this[_0x5dc1e0(0x8b)](_0x52a5b7['id']);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0x8e),(_0x148600,_0x146fd7)=>{const _0x382d8e=_0x1d67bc;this[_0x382d8e(0x92)](_0x146fd7['id'],_0x382d8e(0x78)),this[_0x382d8e(0xcb)](_0x146fd7['id'],_0x146fd7[_0x382d8e(0xc4)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xa3)],_0x1d67bc(0xd2),(_0x3bc58b,_0x3a1ff6)=>{const _0x3d5578=_0x1d67bc;void 0x0!==_0x3a1ff6[_0x3d5578(0xd8)][_0x3d5578(0xc4)]&&this[_0x3d5578(0x83)][_0x3d5578(0xa4)](_0x3a1ff6[_0x3d5578(0x7d)],_0x3a1ff6[_0x3d5578(0xd8)][_0x3d5578(0xc4)]),void 0x0!==_0x3a1ff6[_0x3d5578(0xd8)][_0x3d5578(0x81)]&&this[_0x3d5578(0xc6)](),this[_0x3d5578(0xd5)](_0x3a1ff6[_0x3d5578(0x7d)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xa3)],_0x1d67bc(0x7a),(_0x18f3e0,_0x3c9880)=>{const _0x2d1f66=_0x1d67bc;this[_0x2d1f66(0xc9)][_0x2d1f66(0xb9)](_0x3c9880[_0x2d1f66(0x7d)]),this[_0x2d1f66(0x83)][_0x2d1f66(0x9c)](_0x3c9880[_0x2d1f66(0x7d)]),this[_0x2d1f66(0xd5)](_0x3c9880[_0x2d1f66(0x7d)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xa3)],_0x1d67bc(0x8f),()=>{const _0x5240b2=_0x1d67bc;this[_0x5240b2(0xc6)]();}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xa3)],_0x1d67bc(0xaf),(_0x275536,_0x41bd8e)=>{const _0x3cbe3c=_0x1d67bc;this[_0x3cbe3c(0xc8)](_0x41bd8e[_0x3cbe3c(0xaf)],_0x41bd8e[_0x3cbe3c(0xa6)],_0x41bd8e[_0x3cbe3c(0x7d)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0x91),(_0x22104f,_0x29c099)=>{const _0x1d90b3=_0x1d67bc;this[_0x1d90b3(0xad)](_0x29c099['id']);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0x98),(_0x2f2c3d,_0x40a7c1)=>{const _0x1b35e7=_0x1d67bc,_0x565616=_0x40a7c1[_0x1b35e7(0x81)]?_0x1b35e7(0x8d):_0x1b35e7(0x93);this[_0x1b35e7(0x92)](_0x40a7c1['id'],_0x565616),this[_0x1b35e7(0x7f)](_0x40a7c1['id'],_0x40a7c1[_0x1b35e7(0x81)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0xa7),()=>{const _0x53d138=_0x1d67bc;_0x2036b0[_0x53d138(0xd0)][_0x53d138(0xab)](_0x53d138(0xb8));}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xc9)],_0x1d67bc(0xa2),()=>{const _0xf1d1eb=_0x1d67bc;this[_0xf1d1eb(0xc6)]();}),_0x2036b0[_0x1d67bc(0xd0)]['on'](_0x1d67bc(0xba),()=>{const _0x404e89=_0x1d67bc;this[_0x404e89(0xbd)]();}),this[_0x1d67bc(0x99)](_0x2036b0,_0x1d67bc(0xd1),(_0x582e9d,_0x436102)=>{const _0x286b8f=_0x1d67bc;this[_0x286b8f(0xa9)](_0x436102);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0x80),()=>{const _0x558e83=_0x1d67bc;_0x2036b0[_0x558e83(0x88)]();});}catch(_0x407d19){this[_0x1d67bc(0xc8)](_0x407d19,_0x1d67bc(0x7b));}}async[_0x51e21d(0xcb)](_0x3002b3,_0x3b85ea){const _0x16846b=_0x51e21d;await this[_0x16846b(0xa3)][_0x16846b(0xa4)](_0x3002b3,_0x3b85ea);}async[_0x51e21d(0x7f)](_0x40e9a0,_0x2543ab){const _0x39394f=_0x51e21d;await this[_0x39394f(0xa3)][_0x39394f(0x82)](_0x40e9a0,_0x2543ab);}async[_0x51e21d(0x8b)](_0x4d3c38){const _0x55f8c7=_0x51e21d;await this[_0x55f8c7(0xa3)][_0x55f8c7(0xa0)](_0x4d3c38);}async[_0x51e21d(0xad)](_0xa79c78){const _0xddab1f=_0x51e21d;await this[_0xddab1f(0xc9)][_0xddab1f(0xc5)](_0xa79c78);}async[_0x51e21d(0xbd)](){const _0x453e3d=_0x51e21d;this[_0x453e3d(0x83)][_0x453e3d(0x8c)](''),this[_0x453e3d(0x83)][_0x453e3d(0xd3)](!0x0),await this[_0x453e3d(0xa3)][_0x453e3d(0x7b)](),this[_0x453e3d(0x83)][_0x453e3d(0xd3)](!0x1);}[_0x51e21d(0xc6)](){const _0x46b16f=_0x51e21d,_0x5ee344=this[_0x46b16f(0xc9)][_0x46b16f(0x89)]?.['id'],_0x4d4f08=this[_0x46b16f(0x86)]()[_0x46b16f(0xcf)](_0xdee7b3=>({'title':_0xdee7b3[_0x46b16f(0xc4)],'items':_0xdee7b3[_0x46b16f(0xb4)][_0x46b16f(0xcf)](_0x17806d=>({'id':_0x17806d['id'],'title':_0x17806d[_0x46b16f(0xc4)]||_0x10e29c(this[_0x46b16f(0x9a)][_0x46b16f(0x8a)],_0x46b16f(0x95)),'createdAt':new Date(_0x17806d[_0x46b16f(0x90)])[_0x46b16f(0x9f)](),'active':_0x17806d['id']===_0x5ee344,'pinned':_0x17806d[_0x46b16f(0x81)]}))}));this[_0x46b16f(0x83)][_0x46b16f(0xc1)](_0x4d4f08);}[_0x51e21d(0x92)](_0x265a58,_0x2a8f64){const _0x22f563=_0x51e21d;this[_0x22f563(0x83)][_0x22f563(0x77)](_0x265a58,_0x2a8f64,!0x0);}[_0x51e21d(0xd5)](_0x31c175){const _0x56cadc=_0x51e21d;this[_0x56cadc(0x83)][_0x56cadc(0x77)](_0x31c175,null,!0x1);}[_0x51e21d(0xc8)](_0x52244b,_0x5be33a,_0x29fb43){const _0x1b6d62=_0x51e21d,_0x18073f=this[_0x1b6d62(0xaa)](_0x5be33a,_0x29fb43);this[_0x1b6d62(0x83)][_0x1b6d62(0x8c)](_0x18073f),_0x29fb43&&this[_0x1b6d62(0xd5)](_0x29fb43),this[_0x1b6d62(0x83)][_0x1b6d62(0xd3)](!0x1);}[_0x51e21d(0xaa)](_0x1d27cd,_0x397ad1){const _0x32acaf=_0x51e21d,_0x16fe7d=_0x397ad1?this[_0x32acaf(0xa3)][_0x32acaf(0x7c)](_0x397ad1):null,_0x1abefa=_0x16fe7d?.[_0x32acaf(0xc4)]||_0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0x95));switch(_0x1d27cd){case _0x32acaf(0xa4):return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0x84),_0x1abefa);case _0x32acaf(0x82):{const _0x3e948b=_0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x16fe7d?.[_0x32acaf(0x81)]?_0x32acaf(0x94):_0x32acaf(0xbc));return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0xcc),[_0x3e948b,_0x1abefa]);}case _0x32acaf(0xa0):return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0xb3),_0x1abefa);case _0x32acaf(0x7b):case _0x32acaf(0x7e):return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0xd7));default:return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0xb1));}}[_0x51e21d(0x86)](){const _0x3af5a2=_0x51e21d,_0x338f69=new Date(),_0x298ad8=new Date(_0x338f69[_0x3af5a2(0xb7)](),_0x338f69[_0x3af5a2(0x9b)](),_0x338f69[_0x3af5a2(0xa5)]()),_0x39d0b2=new Date(_0x298ad8);_0x39d0b2[_0x3af5a2(0x75)](_0x39d0b2[_0x3af5a2(0xa5)]()-0x1);const _0x4d344b=new Date(_0x298ad8);_0x4d344b[_0x3af5a2(0x75)](_0x4d344b[_0x3af5a2(0xa5)]()-0xe);const _0x257a74=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'pinned':!0x0}),_0x2b6df0=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'from':_0x298ad8,'to':_0x298ad8}),_0x4e9e25=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'from':_0x39d0b2,'to':_0x39d0b2}),_0x27fb5e=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'from':_0x4d344b,'to':_0x39d0b2}),_0x33f7ed=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'to':_0x4d344b}),_0x2838c5=[];return _0x257a74[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0xc7)),'items':_0x257a74}),_0x2b6df0[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0xa8)),'items':_0x2b6df0}),_0x4e9e25[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0x87)),'items':_0x4e9e25}),_0x27fb5e[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0xb6)),'items':_0x27fb5e}),_0x33f7ed[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0x79)),'items':_0x33f7ed}),_0x2838c5;}[_0x51e21d(0xa9)](_0x3f3322){const _0x36c5cc=_0x51e21d;this[_0x36c5cc(0x83)][_0x36c5cc(0xca)](_0x3f3322);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x485b37=_0x1e1c;(function(_0x6fabbe,_0x414198){const _0x19e096=_0x1e1c,_0x2464bd=_0x6fabbe();while(!![]){try{const _0x190b45=-parseInt(_0x19e096(0xc5))/0x1*(-parseInt(_0x19e096(0xcd))/0x2)+parseInt(_0x19e096(0xac))/0x3*(parseInt(_0x19e096(0xbd))/0x4)+-parseInt(_0x19e096(0xcf))/0x5+parseInt(_0x19e096(0xd3))/0x6+-parseInt(_0x19e096(0xc8))/0x7+-parseInt(_0x19e096(0xc7))/0x8*(-parseInt(_0x19e096(0xc4))/0x9)+-parseInt(_0x19e096(0xca))/0xa*(parseInt(_0x19e096(0xcc))/0xb);if(_0x190b45===_0x414198)break;else _0x2464bd['push'](_0x2464bd['shift']());}catch(_0x3111bf){_0x2464bd['push'](_0x2464bd['shift']());}}}(_0x498f,0x4fce8));import{ContextPlugin as _0x51b55f}from'ckeditor5/src/core.js';import{AITabs as _0x376b98}from'../aitabs/aitabs.js';function _0x498f(){const _0x101c63=['updateItemLoadingState','editConversationTitle','setLoadingSkeleton','isMaximized','_historyView','3hgZnbY','selectConversation','updateItems','removeConversation','addTab','get','context','updateHistoryItemsWithCategories','view','openChat','setIsMaximized','resizeTabs','showResizeButton','hideError','locale','updateItemTitle','AITabs','669584hoXwfA','showConversationHistory','AI_CHAT_HISTORY_HEADING','AIChatHistoryUI','isPremiumPlugin','history','requires','3843lMNmCy','31rFgpzy','showError','11992kSdDxl','776041uRXhqL','setConversationPinned','4650JkhiYQ','delegate','5016gthELb','24366xPSjzV','isOfficialPlugin','3200155sXroYu','errorMessage','removeHistoryItem','pluginName','628080LhppeQ','isLoading','plugins'];_0x498f=function(){return _0x101c63;};return _0x498f();}import{IconAIHistory as _0x468ae6}from'ckeditor5/src/icons.js';function _0x1e1c(_0x42d836,_0x33e1f1){const _0x498fa0=_0x498f();return _0x1e1c=function(_0x1e1c2d,_0x5be941){_0x1e1c2d=_0x1e1c2d-0xa6;let _0x5dfef5=_0x498fa0[_0x1e1c2d];return _0x5dfef5;},_0x1e1c(_0x42d836,_0x33e1f1);}import{AIChatHistoryView as _0x12dbcf}from'./ui/aichathistoryview.js';import{getTranslation as _0x5f1830}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x485b37(0xbe),_0x485b37(0xaf),_0x485b37(0xa8),_0x485b37(0xc9),_0x485b37(0xad),_0x485b37(0xb5),_0x485b37(0xb7)];export class AIChatHistoryUI extends _0x51b55f{static get[_0x485b37(0xc3)](){return[_0x376b98];}[_0x485b37(0xab)];static get[_0x485b37(0xd2)](){const _0x23c63b=_0x485b37;return _0x23c63b(0xc0);}static get[_0x485b37(0xce)](){return!0x0;}static get[_0x485b37(0xc1)](){return!0x0;}constructor(_0x309654){const _0xe7902e=_0x485b37;super(_0x309654);const _0x265191=this[_0xe7902e(0xb2)][_0xe7902e(0xa6)][_0xe7902e(0xb1)](_0xe7902e(0xbc));this[_0xe7902e(0xab)]=new _0x12dbcf(this[_0xe7902e(0xb2)][_0xe7902e(0xba)],_0x265191[_0xe7902e(0xb8)]),this[_0xe7902e(0xab)][_0xe7902e(0xcb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x265191[_0xe7902e(0xb4)][_0xe7902e(0xb0)]({'id':_0xe7902e(0xc2),'buttonLabel':_0x5f1830(this[_0xe7902e(0xb2)][_0xe7902e(0xba)],_0xe7902e(0xbf)),'buttonIcon':_0x468ae6,'order':0x0,'content':this[_0xe7902e(0xab)]});}[_0x485b37(0xd1)](_0x6bf82f){const _0x271112=_0x485b37;this[_0x271112(0xab)][_0x271112(0xd1)](_0x6bf82f);}[_0x485b37(0xae)](_0x85917b){const _0x2e6c12=_0x485b37;this[_0x2e6c12(0xab)][_0x2e6c12(0xb3)](_0x85917b);}[_0x485b37(0xbb)](_0x181985,_0x1f81c4){const _0x1ff31b=_0x485b37;this[_0x1ff31b(0xab)][_0x1ff31b(0xbb)](_0x181985,_0x1f81c4);}[_0x485b37(0xa7)](_0x456397,_0x13b159,_0x4b7e5e){const _0x1f2633=_0x485b37;this[_0x1f2633(0xab)][_0x1f2633(0xa7)](_0x456397,_0x13b159,_0x4b7e5e);}[_0x485b37(0xa9)](_0x24dbb0){const _0xd5c8f7=_0x485b37;this[_0xd5c8f7(0xab)][_0xd5c8f7(0xd4)]=_0x24dbb0;}[_0x485b37(0xc6)](_0x4f3b2f){const _0x41e69c=_0x485b37;this[_0x41e69c(0xab)][_0x41e69c(0xd0)]=_0x4f3b2f;}[_0x485b37(0xb9)](){const _0x58849c=_0x485b37;this[_0x58849c(0xab)][_0x58849c(0xd0)]='';}[_0x485b37(0xb6)](_0x3b9394){const _0x578a92=_0x485b37;this[_0x578a92(0xab)][_0x578a92(0xaa)]=_0x3b9394;}}
23
+ const _0x45644f=_0x3f2c;(function(_0xb9bf12,_0xa7ce28){const _0x386d0d=_0x3f2c,_0x591556=_0xb9bf12();while(!![]){try{const _0x189998=-parseInt(_0x386d0d(0x156))/0x1*(parseInt(_0x386d0d(0x141))/0x2)+-parseInt(_0x386d0d(0x14a))/0x3*(-parseInt(_0x386d0d(0x15b))/0x4)+parseInt(_0x386d0d(0x157))/0x5+parseInt(_0x386d0d(0x13a))/0x6+parseInt(_0x386d0d(0x158))/0x7+parseInt(_0x386d0d(0x143))/0x8+parseInt(_0x386d0d(0x160))/0x9*(-parseInt(_0x386d0d(0x151))/0xa);if(_0x189998===_0xa7ce28)break;else _0x591556['push'](_0x591556['shift']());}catch(_0x4e824f){_0x591556['push'](_0x591556['shift']());}}}(_0x181c,0x56ee7));import{ContextPlugin as _0x389d10}from'ckeditor5/src/core.js';import{AITabs as _0x36719b}from'../aitabs/aitabs.js';import{IconAIHistory as _0x1d7ba7}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x51f6a2}from'./ui/aichathistoryview.js';function _0x181c(){const _0x52f236=['get','876321pRjrTD','removeConversation','editConversationTitle','updateItemTitle','setConversationPinned','addTab','removeHistoryItem','view','3852408gbBPyH','showConversationHistory','errorMessage','showResizeButton','locale','AITabs','isMaximized','2282gtKEQB','isPremiumPlugin','3634480kCATvC','_historyView','AIChatHistoryUI','history','showError','isLoading','pluginName','3QMbWlC','plugins','context','setIsMaximized','hideError','AI_CHAT_HISTORY_HEADING','delegate','190nnXBNg','updateItems','requires','selectConversation','isOfficialPlugin','47CGPtOD','790535uuecWY','4212292uLWtcn','updateHistoryItemsWithCategories','setLoadingSkeleton','1613872OcCFmc','openChat','resizeTabs','updateItemLoadingState'];_0x181c=function(){return _0x52f236;};return _0x181c();}function _0x3f2c(_0x354562,_0x184e4b){const _0x181c51=_0x181c();return _0x3f2c=function(_0x3f2c7e,_0x2f5adb){_0x3f2c7e=_0x3f2c7e-0x137;let _0x22a23c=_0x181c51[_0x3f2c7e];return _0x22a23c;},_0x3f2c(_0x354562,_0x184e4b);}import{getTranslation as _0x530b12}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x45644f(0x13b),_0x45644f(0x161),_0x45644f(0x162),_0x45644f(0x164),_0x45644f(0x154),_0x45644f(0x15c),_0x45644f(0x15d)];export class AIChatHistoryUI extends _0x389d10{static get[_0x45644f(0x153)](){return[_0x36719b];}[_0x45644f(0x144)];static get[_0x45644f(0x149)](){const _0x5ad3ee=_0x45644f;return _0x5ad3ee(0x145);}static get[_0x45644f(0x155)](){return!0x0;}static get[_0x45644f(0x142)](){return!0x0;}constructor(_0x2ac8af){const _0x3c1d4c=_0x45644f;super(_0x2ac8af);const _0x239e30=this[_0x3c1d4c(0x14c)][_0x3c1d4c(0x14b)][_0x3c1d4c(0x15f)](_0x3c1d4c(0x13f));this[_0x3c1d4c(0x144)]=new _0x51f6a2(this[_0x3c1d4c(0x14c)][_0x3c1d4c(0x13e)],_0x239e30[_0x3c1d4c(0x13d)]),this[_0x3c1d4c(0x144)][_0x3c1d4c(0x150)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x239e30[_0x3c1d4c(0x139)][_0x3c1d4c(0x137)]({'id':_0x3c1d4c(0x146),'buttonLabel':_0x530b12(this[_0x3c1d4c(0x14c)][_0x3c1d4c(0x13e)],_0x3c1d4c(0x14f)),'buttonIcon':_0x1d7ba7,'order':0x0,'content':this[_0x3c1d4c(0x144)]});}[_0x45644f(0x138)](_0x348a63){const _0x56e919=_0x45644f;this[_0x56e919(0x144)][_0x56e919(0x138)](_0x348a63);}[_0x45644f(0x152)](_0x29792e){const _0x5285a3=_0x45644f;this[_0x5285a3(0x144)][_0x5285a3(0x159)](_0x29792e);}[_0x45644f(0x163)](_0xeb9cb9,_0x3b79a7){const _0x37133b=_0x45644f;this[_0x37133b(0x144)][_0x37133b(0x163)](_0xeb9cb9,_0x3b79a7);}[_0x45644f(0x15e)](_0x303269,_0x130cd8,_0xfca6a7){const _0x255f3c=_0x45644f;this[_0x255f3c(0x144)][_0x255f3c(0x15e)](_0x303269,_0x130cd8,_0xfca6a7);}[_0x45644f(0x15a)](_0x174f46){const _0x384755=_0x45644f;this[_0x384755(0x144)][_0x384755(0x148)]=_0x174f46;}[_0x45644f(0x147)](_0x422027){const _0xc509ad=_0x45644f;this[_0xc509ad(0x144)][_0xc509ad(0x13c)]=_0x422027;}[_0x45644f(0x14e)](){const _0x5527ff=_0x45644f;this[_0x5527ff(0x144)][_0x5527ff(0x13c)]='';}[_0x45644f(0x14d)](_0x2c6e7d){const _0xac83e6=_0x45644f;this[_0xac83e6(0x144)][_0xac83e6(0x140)]=_0x2c6e7d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x219f4d=_0x2894;function _0x2894(_0x42987f,_0x1e780a){const _0x29f606=_0x29f6();return _0x2894=function(_0x2894e3,_0x1b9f44){_0x2894e3=_0x2894e3-0xf5;let _0x202a78=_0x29f606[_0x2894e3];return _0x202a78;},_0x2894(_0x42987f,_0x1e780a);}(function(_0x4b0eb4,_0x205671){const _0x8d8cab=_0x2894,_0x176c24=_0x4b0eb4();while(!![]){try{const _0x201562=-parseInt(_0x8d8cab(0x107))/0x1+-parseInt(_0x8d8cab(0xf7))/0x2+parseInt(_0x8d8cab(0x10e))/0x3*(parseInt(_0x8d8cab(0x11a))/0x4)+parseInt(_0x8d8cab(0xfa))/0x5*(parseInt(_0x8d8cab(0x106))/0x6)+-parseInt(_0x8d8cab(0x11d))/0x7+parseInt(_0x8d8cab(0x11c))/0x8+-parseInt(_0x8d8cab(0x119))/0x9;if(_0x201562===_0x205671)break;else _0x176c24['push'](_0x176c24['shift']());}catch(_0x980c77){_0x176c24['push'](_0x176c24['shift']());}}}(_0x29f6,0xe85d0));function _0x29f6(){const _0xfb2573=['3956829SAJswK','updateItemPinned','itemUpdated','filter','updateItemTitle','getFullYear','findIndex','getDate','removeItem','execute','itemsLoaded','19378656ssbutO','4tdbQcA','itemRemoved','9557208IPQdzW','5584103DlxMqc','loadItems','map','updatePinned','find','from','getConversations','updateTitle','389286ptdVLY','group','splice','8578565ullvjk','getTime','addItem','items','init','error','fire','deleteConversation','pinned','getItem','connector','createdAt','6ILDEVm','131991JwctSb','getResult','getItems','updateConversation','fetchConversations','getMonth','push'];_0x29f6=function(){return _0xfb2573;};return _0x29f6();}import{EmitterMixin as _0x55f323}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x459e59}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x55f323(){[_0x219f4d(0xfd)]=[];[_0x219f4d(0x104)];[_0x219f4d(0xf8)];constructor({connector:_0x57cbc4,group:_0x1aa3f8}){const _0x3143a1=_0x219f4d;super(),this[_0x3143a1(0x104)]=_0x57cbc4,this[_0x3143a1(0xf8)]=_0x1aa3f8;}async[_0x219f4d(0xfe)](){const _0x96ae23=_0x219f4d;try{const _0x5133bf=this[_0x96ae23(0x104)][_0x96ae23(0x10b)](this[_0x96ae23(0xf8)]),_0x51109a=await _0x5133bf[_0x96ae23(0xf5)]();this[_0x96ae23(0x11e)](_0x51109a);}catch(_0x1305ee){this[_0x96ae23(0x100)](_0x96ae23(0xff),{'error':_0x1305ee,'operation':_0x96ae23(0xfe)});}}[_0x219f4d(0xfc)](_0x52afb6){const _0x321e55=_0x219f4d;this[_0x321e55(0xfd)][_0x321e55(0x10d)](_0x52afb6);}async[_0x219f4d(0x116)](_0x1db566){const _0x3f2049=_0x219f4d,_0x54ebd2=this[_0x3f2049(0xfd)][_0x3f2049(0x114)](_0x2b7948=>_0x2b7948['id']===_0x1db566);if(-0x1===_0x54ebd2)return!0x1;try{return await this[_0x3f2049(0x104)][_0x3f2049(0x101)](_0x1db566)[_0x3f2049(0x117)](),this[_0x3f2049(0xfd)][_0x3f2049(0xf9)](_0x54ebd2,0x1),this[_0x3f2049(0x100)](_0x3f2049(0x11b),{'itemId':_0x1db566}),!0x0;}catch(_0x5f442b){return this[_0x3f2049(0x100)](_0x3f2049(0xff),{'error':_0x5f442b,'operation':_0x3f2049(0x116),'itemId':_0x1db566}),!0x1;}}[_0x219f4d(0x103)](_0xb96354){const _0x2ed7c0=_0x219f4d;return this[_0x2ed7c0(0xfd)][_0x2ed7c0(0x121)](_0x1f4df2=>_0x1f4df2['id']===_0xb96354);}async[_0x219f4d(0x112)](_0x1de233,_0xabc482){const _0x4a394f=_0x219f4d,_0x5e86a0=this[_0x4a394f(0x103)](_0x1de233);if(!_0x5e86a0)return!0x1;try{return await this[_0x4a394f(0x104)][_0x4a394f(0x10a)](_0x1de233,{'title':_0xabc482})[_0x4a394f(0x108)](),_0x5e86a0[_0x4a394f(0xf6)](_0xabc482),this[_0x4a394f(0x100)](_0x4a394f(0x110),{'itemId':_0x1de233,'updates':{'title':_0xabc482}}),!0x0;}catch(_0x5b4e8d){return this[_0x4a394f(0x100)](_0x4a394f(0xff),{'error':_0x5b4e8d,'operation':_0x4a394f(0x112),'itemId':_0x1de233}),!0x1;}}async[_0x219f4d(0x10f)](_0x3b0c33,_0x44ea32){const _0x5250b5=_0x219f4d,_0xed2c8a=this[_0x5250b5(0x103)](_0x3b0c33);if(!_0xed2c8a)return!0x1;try{return await this[_0x5250b5(0x104)][_0x5250b5(0x10a)](_0x3b0c33,{'pinned':_0x44ea32})[_0x5250b5(0x108)](),_0xed2c8a[_0x5250b5(0x120)](_0x44ea32),this[_0x5250b5(0x100)](_0x5250b5(0x110),{'itemId':_0x3b0c33,'updates':{'pinned':_0x44ea32}}),!0x0;}catch(_0x216b37){return this[_0x5250b5(0x100)](_0x5250b5(0xff),{'error':_0x216b37,'operation':_0x5250b5(0x10f),'itemId':_0x3b0c33}),!0x1;}}[_0x219f4d(0x11e)](_0x2e808f){const _0x5ab584=_0x219f4d;try{this[_0x5ab584(0xfd)]=[],_0x2e808f[_0x5ab584(0x11f)](_0x20753f=>{const _0x4d4590=_0x5ab584;this[_0x4d4590(0xfc)](new _0x459e59(_0x20753f));}),this[_0x5ab584(0x100)](_0x5ab584(0x118),{'items':[...this[_0x5ab584(0xfd)]]});}catch(_0x31f949){this[_0x5ab584(0x100)](_0x5ab584(0xff),{'error':_0x31f949,'operation':_0x5ab584(0x11e)});}}[_0x219f4d(0x109)](_0x3c578c={}){const _0x44f98b=_0x219f4d,_0x8cb9cd=void 0x0!==_0x3c578c[_0x44f98b(0x102)]&&_0x3c578c[_0x44f98b(0x102)],_0x108b0b=_0x3c578c[_0x44f98b(0x122)]?new Date(_0x3c578c[_0x44f98b(0x122)][_0x44f98b(0x113)](),_0x3c578c[_0x44f98b(0x122)][_0x44f98b(0x10c)](),_0x3c578c[_0x44f98b(0x122)][_0x44f98b(0x115)]()):null,_0x416811=_0x3c578c['to']?new Date(_0x3c578c['to'][_0x44f98b(0x113)](),_0x3c578c['to'][_0x44f98b(0x10c)](),_0x3c578c['to'][_0x44f98b(0x115)]()):null;return this[_0x44f98b(0xfd)][_0x44f98b(0x111)](_0x54d2ed=>{const _0x4c3cae=_0x44f98b;if(_0x54d2ed[_0x4c3cae(0x102)]!==_0x8cb9cd)return!0x1;if(_0x416811){const _0x7b49a7=new Date(_0x54d2ed[_0x4c3cae(0x105)][_0x4c3cae(0x113)](),_0x54d2ed[_0x4c3cae(0x105)][_0x4c3cae(0x10c)](),_0x54d2ed[_0x4c3cae(0x105)][_0x4c3cae(0x115)]());return _0x108b0b?_0x108b0b[_0x4c3cae(0xfb)]()===_0x416811[_0x4c3cae(0xfb)]()?_0x7b49a7[_0x4c3cae(0xfb)]()===_0x108b0b[_0x4c3cae(0xfb)]():_0x7b49a7<_0x416811&&_0x7b49a7>=_0x108b0b:_0x7b49a7<_0x416811;}return!0x0;});}}
23
+ const _0x4d0703=_0x2cda;(function(_0x69db3d,_0x51ba2b){const _0x5899db=_0x2cda,_0xa9dc36=_0x69db3d();while(!![]){try{const _0x48a859=-parseInt(_0x5899db(0x1ba))/0x1*(parseInt(_0x5899db(0x1c1))/0x2)+-parseInt(_0x5899db(0x1b2))/0x3*(-parseInt(_0x5899db(0x1b8))/0x4)+parseInt(_0x5899db(0x1b9))/0x5*(-parseInt(_0x5899db(0x1a3))/0x6)+-parseInt(_0x5899db(0x1ca))/0x7+-parseInt(_0x5899db(0x1b4))/0x8+parseInt(_0x5899db(0x1c3))/0x9+parseInt(_0x5899db(0x1b3))/0xa;if(_0x48a859===_0x51ba2b)break;else _0xa9dc36['push'](_0xa9dc36['shift']());}catch(_0x17cbef){_0xa9dc36['push'](_0xa9dc36['shift']());}}}(_0x1ae6,0x76872));import{EmitterMixin as _0xa1a155}from'ckeditor5/src/utils.js';function _0x1ae6(){const _0x5366fa=['removeItem','pinned','splice','group','connector','updatePinned','1068GMFkyq','deleteConversation','getFullYear','getItem','init','getConversations','itemRemoved','updateItemTitle','push','findIndex','addItem','getMonth','map','itemUpdated','getDate','3KPANTq','9292300mHRgpk','2372104YbasAs','loadItems','items','itemsLoaded','1587396rQaSOk','13160lbjawM','1DBAKQU','filter','execute','updateTitle','fire','getTime','updateConversation','945294jkyBeR','error','5562360oZjNFA','find','createdAt','getResult','from','getItems','updateItemPinned','1546811PDkAPQ','fetchConversations'];_0x1ae6=function(){return _0x5366fa;};return _0x1ae6();}function _0x2cda(_0x66d67a,_0x41d161){const _0x1ae632=_0x1ae6();return _0x2cda=function(_0x2cdac8,_0x50630e){_0x2cdac8=_0x2cdac8-0x19f;let _0x9f0dbd=_0x1ae632[_0x2cdac8];return _0x9f0dbd;},_0x2cda(_0x66d67a,_0x41d161);}import{AIChatHistoryItem as _0x3f4569}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xa1a155(){[_0x4d0703(0x1b6)]=[];[_0x4d0703(0x1a1)];[_0x4d0703(0x1a0)];constructor({connector:_0x14dd83,group:_0x114c38}){const _0x4e72d5=_0x4d0703;super(),this[_0x4e72d5(0x1a1)]=_0x14dd83,this[_0x4e72d5(0x1a0)]=_0x114c38;}async[_0x4d0703(0x1a7)](){const _0x9d0ba=_0x4d0703;try{const _0x133e7d=this[_0x9d0ba(0x1a1)][_0x9d0ba(0x1cb)](this[_0x9d0ba(0x1a0)]),_0x44ef3d=await _0x133e7d[_0x9d0ba(0x1a8)]();this[_0x9d0ba(0x1b5)](_0x44ef3d);}catch(_0xde916f){this[_0x9d0ba(0x1be)](_0x9d0ba(0x1c2),{'error':_0xde916f,'operation':_0x9d0ba(0x1a7)});}}[_0x4d0703(0x1ad)](_0x347904){const _0x4bf372=_0x4d0703;this[_0x4bf372(0x1b6)][_0x4bf372(0x1ab)](_0x347904);}async[_0x4d0703(0x1cc)](_0x24766a){const _0x33e342=_0x4d0703,_0x5a6926=this[_0x33e342(0x1b6)][_0x33e342(0x1ac)](_0x49074e=>_0x49074e['id']===_0x24766a);if(-0x1===_0x5a6926)return!0x1;try{return await this[_0x33e342(0x1a1)][_0x33e342(0x1a4)](_0x24766a)[_0x33e342(0x1bc)](),this[_0x33e342(0x1b6)][_0x33e342(0x19f)](_0x5a6926,0x1),this[_0x33e342(0x1be)](_0x33e342(0x1a9),{'itemId':_0x24766a}),!0x0;}catch(_0x3945f4){return this[_0x33e342(0x1be)](_0x33e342(0x1c2),{'error':_0x3945f4,'operation':_0x33e342(0x1cc),'itemId':_0x24766a}),!0x1;}}[_0x4d0703(0x1a6)](_0xb90c3){const _0x22f131=_0x4d0703;return this[_0x22f131(0x1b6)][_0x22f131(0x1c4)](_0x5c949a=>_0x5c949a['id']===_0xb90c3);}async[_0x4d0703(0x1aa)](_0x464c55,_0x38bc29){const _0xcc1b28=_0x4d0703,_0x164c56=this[_0xcc1b28(0x1a6)](_0x464c55);if(!_0x164c56)return!0x1;try{return await this[_0xcc1b28(0x1a1)][_0xcc1b28(0x1c0)](_0x464c55,{'title':_0x38bc29})[_0xcc1b28(0x1c6)](),_0x164c56[_0xcc1b28(0x1bd)](_0x38bc29),this[_0xcc1b28(0x1be)](_0xcc1b28(0x1b0),{'itemId':_0x464c55,'updates':{'title':_0x38bc29}}),!0x0;}catch(_0x1e79ba){return this[_0xcc1b28(0x1be)](_0xcc1b28(0x1c2),{'error':_0x1e79ba,'operation':_0xcc1b28(0x1aa),'itemId':_0x464c55}),!0x1;}}async[_0x4d0703(0x1c9)](_0x2dd284,_0x498108){const _0x32c137=_0x4d0703,_0x8c3f=this[_0x32c137(0x1a6)](_0x2dd284);if(!_0x8c3f)return!0x1;try{return await this[_0x32c137(0x1a1)][_0x32c137(0x1c0)](_0x2dd284,{'pinned':_0x498108})[_0x32c137(0x1c6)](),_0x8c3f[_0x32c137(0x1a2)](_0x498108),this[_0x32c137(0x1be)](_0x32c137(0x1b0),{'itemId':_0x2dd284,'updates':{'pinned':_0x498108}}),!0x0;}catch(_0x476ddf){return this[_0x32c137(0x1be)](_0x32c137(0x1c2),{'error':_0x476ddf,'operation':_0x32c137(0x1c9),'itemId':_0x2dd284}),!0x1;}}[_0x4d0703(0x1b5)](_0x14b9c5){const _0x29efcb=_0x4d0703;try{this[_0x29efcb(0x1b6)]=[],_0x14b9c5[_0x29efcb(0x1af)](_0xa4b6ea=>{const _0x47c966=_0x29efcb;this[_0x47c966(0x1ad)](new _0x3f4569(_0xa4b6ea));}),this[_0x29efcb(0x1be)](_0x29efcb(0x1b7),{'items':[...this[_0x29efcb(0x1b6)]]});}catch(_0x44fa59){this[_0x29efcb(0x1be)](_0x29efcb(0x1c2),{'error':_0x44fa59,'operation':_0x29efcb(0x1b5)});}}[_0x4d0703(0x1c8)](_0x1cd252={}){const _0x4b1b67=_0x4d0703,_0x4ad597=void 0x0!==_0x1cd252[_0x4b1b67(0x1cd)]&&_0x1cd252[_0x4b1b67(0x1cd)],_0x4dfea0=_0x1cd252[_0x4b1b67(0x1c7)]?new Date(_0x1cd252[_0x4b1b67(0x1c7)][_0x4b1b67(0x1a5)](),_0x1cd252[_0x4b1b67(0x1c7)][_0x4b1b67(0x1ae)](),_0x1cd252[_0x4b1b67(0x1c7)][_0x4b1b67(0x1b1)]()):null,_0x279f0e=_0x1cd252['to']?new Date(_0x1cd252['to'][_0x4b1b67(0x1a5)](),_0x1cd252['to'][_0x4b1b67(0x1ae)](),_0x1cd252['to'][_0x4b1b67(0x1b1)]()):null;return this[_0x4b1b67(0x1b6)][_0x4b1b67(0x1bb)](_0xa750db=>{const _0x3ad489=_0x4b1b67;if(_0xa750db[_0x3ad489(0x1cd)]!==_0x4ad597)return!0x1;if(_0x279f0e){const _0x134ece=new Date(_0xa750db[_0x3ad489(0x1c5)][_0x3ad489(0x1a5)](),_0xa750db[_0x3ad489(0x1c5)][_0x3ad489(0x1ae)](),_0xa750db[_0x3ad489(0x1c5)][_0x3ad489(0x1b1)]());return _0x4dfea0?_0x4dfea0[_0x3ad489(0x1bf)]()===_0x279f0e[_0x3ad489(0x1bf)]()?_0x134ece[_0x3ad489(0x1bf)]()===_0x4dfea0[_0x3ad489(0x1bf)]():_0x134ece<_0x279f0e&&_0x134ece>=_0x4dfea0:_0x134ece<_0x279f0e;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x36812d=_0x3aee;function _0x3aee(_0x1928d6,_0x5358e4){var _0x5e558f=_0x5e55();return _0x3aee=function(_0x3aee39,_0x16ba61){_0x3aee39=_0x3aee39-0x18f;var _0xc6cea2=_0x5e558f[_0x3aee39];return _0xc6cea2;},_0x3aee(_0x1928d6,_0x5358e4);}(function(_0x2805ec,_0x515764){var _0x55d090=_0x3aee,_0x2e80b7=_0x2805ec();while(!![]){try{var _0x1df0ac=-parseInt(_0x55d090(0x198))/0x1*(-parseInt(_0x55d090(0x197))/0x2)+parseInt(_0x55d090(0x195))/0x3+-parseInt(_0x55d090(0x199))/0x4*(-parseInt(_0x55d090(0x196))/0x5)+parseInt(_0x55d090(0x190))/0x6+-parseInt(_0x55d090(0x191))/0x7*(-parseInt(_0x55d090(0x19e))/0x8)+parseInt(_0x55d090(0x19f))/0x9+-parseInt(_0x55d090(0x194))/0xa*(parseInt(_0x55d090(0x18f))/0xb);if(_0x1df0ac===_0x515764)break;else _0x2e80b7['push'](_0x2e80b7['shift']());}catch(_0x4f04d1){_0x2e80b7['push'](_0x2e80b7['shift']());}}}(_0x5e55,0x7721c));import{ObservableMixin as _0x3c8345}from'ckeditor5/src/utils.js';function _0x5e55(){var _0x119389=['createdAt','pinned','updatePinned','13016bsIKSx','751806ohUcHj','title','13101QZwWcb','1870296sciQKr','707FjbpKq','updateTitle','set','20890jMfwDJ','2564823DIisJC','15ZgLhhc','4426pvqKlT','394FUwFHa','919364UlXzNs','updatedAt'];_0x5e55=function(){return _0x119389;};return _0x5e55();}import{escape as _0x102259}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x3c8345(){['id'];[_0x36812d(0x19b)];constructor({id:_0x25c9b6,title:_0x4c9ee7,createdAt:_0x4d06b6,updatedAt:_0x58809c,pinned:_0x43e87e}){var _0x2cda6e=_0x36812d;super(),this['id']=_0x25c9b6,this[_0x2cda6e(0x19b)]=new Date(_0x4d06b6),this[_0x2cda6e(0x193)](_0x2cda6e(0x1a0),_0x4c9ee7),this[_0x2cda6e(0x193)](_0x2cda6e(0x19a),_0x58809c?new Date(_0x58809c):null),this[_0x2cda6e(0x193)](_0x2cda6e(0x19c),_0x43e87e||!0x1);}[_0x36812d(0x192)](_0x1cebaa){var _0x2abf37=_0x36812d;this[_0x2abf37(0x193)](_0x2abf37(0x1a0),_0x102259(_0x1cebaa)),this[_0x2abf37(0x19a)]=new Date();}[_0x36812d(0x19d)](_0x38b665){var _0x1daaec=_0x36812d;this[_0x1daaec(0x193)](_0x1daaec(0x19c),_0x38b665),this[_0x1daaec(0x19a)]=new Date();}}
23
+ var _0x54ef45=_0x12f8;function _0x1016(){var _0x49cda7=['6GEybxw','68956Deplyl','updatePinned','2039415ulOeoj','1016265SydHZB','createdAt','5gvQLPf','68409rDVVKH','updatedAt','set','pinned','8KKxpPt','370708WsmWTf','updateTitle','50PWsmGE','1450005uMrzzp','13661010vrCncL','title'];_0x1016=function(){return _0x49cda7;};return _0x1016();}function _0x12f8(_0x4639e4,_0x28245c){var _0x101620=_0x1016();return _0x12f8=function(_0x12f835,_0x333738){_0x12f835=_0x12f835-0x64;var _0x199def=_0x101620[_0x12f835];return _0x199def;},_0x12f8(_0x4639e4,_0x28245c);}(function(_0x53398d,_0x198e67){var _0x5cea4b=_0x12f8,_0x2f6c23=_0x53398d();while(!![]){try{var _0x44f20e=-parseInt(_0x5cea4b(0x6d))/0x1*(parseInt(_0x5cea4b(0x68))/0x2)+-parseInt(_0x5cea4b(0x6b))/0x3+parseInt(_0x5cea4b(0x73))/0x4+-parseInt(_0x5cea4b(0x64))/0x5*(parseInt(_0x5cea4b(0x67))/0x6)+-parseInt(_0x5cea4b(0x6a))/0x7*(parseInt(_0x5cea4b(0x72))/0x8)+parseInt(_0x5cea4b(0x6e))/0x9*(-parseInt(_0x5cea4b(0x75))/0xa)+parseInt(_0x5cea4b(0x65))/0xb;if(_0x44f20e===_0x198e67)break;else _0x2f6c23['push'](_0x2f6c23['shift']());}catch(_0x18d0c2){_0x2f6c23['push'](_0x2f6c23['shift']());}}}(_0x1016,0x31d3b));import{ObservableMixin as _0x50d547}from'ckeditor5/src/utils.js';import{escape as _0x4d8dd2}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x50d547(){['id'];[_0x54ef45(0x6c)];constructor({id:_0x5a4699,title:_0x120c3a,createdAt:_0x388428,updatedAt:_0x1447a7,pinned:_0x5421cb}){var _0x5f1605=_0x54ef45;super(),this['id']=_0x5a4699,this[_0x5f1605(0x6c)]=new Date(_0x388428),this[_0x5f1605(0x70)](_0x5f1605(0x66),_0x120c3a),this[_0x5f1605(0x70)](_0x5f1605(0x6f),_0x1447a7?new Date(_0x1447a7):null),this[_0x5f1605(0x70)](_0x5f1605(0x71),_0x5421cb||!0x1);}[_0x54ef45(0x74)](_0x41baff){var _0xbec1ce=_0x54ef45;this[_0xbec1ce(0x70)](_0xbec1ce(0x66),_0x4d8dd2(_0x41baff)),this[_0xbec1ce(0x6f)]=new Date();}[_0x54ef45(0x69)](_0x31742b){var _0x3c78a2=_0x54ef45;this[_0x3c78a2(0x70)](_0x3c78a2(0x71),_0x31742b),this[_0x3c78a2(0x6f)]=new Date();}}