@ckeditor/ckeditor5-ai 47.4.0-alpha.5 → 47.4.0-alpha.6

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 (130) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.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/aicore/aiconnector.js +1 -1
  69. package/src/aicore/aiediting.js +1 -1
  70. package/src/aicore/model/aicapabilities.js +1 -1
  71. package/src/aicore/model/aiinteraction.js +1 -1
  72. package/src/aicore/model/aimodels.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentposition.js +1 -1
  85. package/src/aicore/utils/documentrange.js +1 -1
  86. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  87. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  88. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  89. package/src/aicore/utils/htmlparser.js +1 -1
  90. package/src/aicore/utils/htmlstreamer.js +1 -1
  91. package/src/aicore/utils/scrollmanager.js +1 -1
  92. package/src/aieditorintegration/aieditorintegration.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  94. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  95. package/src/aiquickactions/aiquickactions.js +1 -1
  96. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  97. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  98. package/src/aiquickactions/aiquickactionsui.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  103. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  104. package/src/aireviewmode/aireviewmode.js +1 -1
  105. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  106. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  107. package/src/aireviewmode/aireviewmodeui.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  109. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  112. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  113. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  124. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  126. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  127. package/src/aitabs/aitabs.js +1 -1
  128. package/src/aitabs/tabs/aitabsview.js +1 -1
  129. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  130. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59c090=_0x1b28;(function(_0x43553d,_0x34189b){const _0x258702=_0x1b28,_0x5133ab=_0x43553d();while(!![]){try{const _0x59b6bc=parseInt(_0x258702(0xfb))/0x1+parseInt(_0x258702(0x11e))/0x2+parseInt(_0x258702(0xf1))/0x3*(parseInt(_0x258702(0x110))/0x4)+-parseInt(_0x258702(0x10c))/0x5+parseInt(_0x258702(0xf4))/0x6*(-parseInt(_0x258702(0x104))/0x7)+parseInt(_0x258702(0xdc))/0x8*(-parseInt(_0x258702(0xe7))/0x9)+-parseInt(_0x258702(0xdb))/0xa*(-parseInt(_0x258702(0xce))/0xb);if(_0x59b6bc===_0x34189b)break;else _0x5133ab['push'](_0x5133ab['shift']());}catch(_0x2bfc12){_0x5133ab['push'](_0x5133ab['shift']());}}}(_0x60cf,0xdec41));import{KeystrokeHandler as _0x2965e1}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x139a3c,BodyCollection as _0x53b843,ButtonView as _0xf1272f,clickOutsideHandler as _0x5e91a1,ListItemButtonView as _0x2bcbae,ListItemView as _0x227ac6,ListView as _0x44e250,SplitButtonView as _0x352f3a,UIModel as _0x6f7c05,View as _0x4cec0a}from'ckeditor5/src/ui.js';function _0x1b28(_0x5c15e0,_0x305dbf){const _0x60cf6f=_0x60cf();return _0x1b28=function(_0x1b28a3,_0xd20037){_0x1b28a3=_0x1b28a3-0xcd;let _0x39cd19=_0x60cf6f[_0x1b28a3];return _0x39cd19;},_0x1b28(_0x5c15e0,_0x305dbf);}import{IconCheck as _0x2d4903,IconAddComment as _0x2db48c,IconDocumentWithLoupe as _0x52e340}from'ckeditor5/src/icons.js';import{getTranslation as _0x5297aa}from'../../../aicore/utils/common-translations.js';function _0x60cf(){const _0x331bb2=['_createActionsButton','_dropdownCurrentConfig','_dropdownOriginalConfig','slice','339666gZCNDp','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','locale','6JOLjMd','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','set','arrowless','pin','uiLanguageDirection','destroy','283822WxLJhW','bottom','_updateDropdownActions','execute','hide','children','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions\x20','tooltip','11310215obhXPp','ck-ai-chat__feed__ai-suggestion__actions--no-animation','_setUpKeystrokes','bodyCollection','bind','delegate','_createActionsDropdown','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','5477860OoRXeo','ltr','detachFromDom','actionName','60FWJOFL','setTemplate','keystrokeHandler','_createActionsDropdownOrButton','fire','keys','open','content','actionsButton','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_firstRender','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','width','class','1415736kPuNaO','isVisible','showChangeInTextModel','label','filter','applySuggestionModel','isEnabled','div','insertSuggestion','balloonPanelView','ck-ai-chat__feed__ai-suggestion__actions','change:isTrackChangesOn','arrowView','bindTemplate','items','has','source','2816hcAGJY','ck-hidden','ck-ai-chat__feed__ai-suggestion__actions__balloon','_partsCount','remove','attachToDom','_setUpList','listenTo','showChangeInText','esc','updateLabels','focus','createCollection','102610GOcRqp','6772280blmmOQ','element','length','listView','unbind','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','isTrackChangesOn','left','ck-ai-button-primary','map','button','18YaPQGk','listItemModels','balloonPanelClass','applySuggestion','add','insertSuggestionModel'];_0x60cf=function(){return _0x331bb2;};return _0x60cf();}export const AI_REPLY_ACTIONS=[_0x59c090(0xea),_0x59c090(0x126),_0x59c090(0xd6)];export class AIChatFeedSuggestionItemActionsView extends _0x4cec0a{[_0x59c090(0x118)];[_0x59c090(0x100)];[_0x59c090(0x123)];[_0x59c090(0x120)];[_0x59c090(0xec)];[_0x59c090(0xd1)]=0x1;[_0x59c090(0xef)];[_0x59c090(0xee)];[_0x59c090(0x11a)]=!0x0;constructor(_0x3c2f45,_0x415a4a){const _0x50068f=_0x59c090;super(_0x3c2f45),this[_0x50068f(0xef)]=_0x415a4a||[...AI_REPLY_ACTIONS],this[_0x50068f(0xee)]=[...this[_0x50068f(0xef)]];const _0x3c5c7a=this[_0x50068f(0x12b)];this[_0x50068f(0xf6)](_0x50068f(0x124),!0x0),this[_0x50068f(0xf6)](_0x50068f(0x11f),!0x0),this[_0x50068f(0xf6)](_0x50068f(0xe2),!0x1),this[_0x50068f(0x123)]=new _0x6f7c05({'label':Pn(_0x50068f(0xea),_0x3c2f45,this[_0x50068f(0xd1)]),'icon':_0x2d4903,'withText':!0x0,'type':_0x50068f(0xe6),'actionName':_0x50068f(0xea)}),this[_0x50068f(0x120)]=new _0x6f7c05({'label':Pn(_0x50068f(0xd6),_0x3c2f45,this[_0x50068f(0xd1)]),'icon':_0x52e340,'withText':!0x0,'type':_0x50068f(0xe6),'actionName':_0x50068f(0xd6)}),this[_0x50068f(0xec)]=new _0x6f7c05({'label':Pn(_0x50068f(0x126),_0x3c2f45,this[_0x50068f(0xd1)]),'icon':_0x2db48c,'withText':!0x0,'type':_0x50068f(0xe6),'actionName':_0x50068f(0x126)}),this[_0x50068f(0x118)]=this[_0x50068f(0x113)](_0x3c2f45),this[_0x50068f(0x100)]=this[_0x50068f(0xda)](),this[_0x50068f(0x118)]&&this[_0x50068f(0x100)][_0x50068f(0xeb)](this[_0x50068f(0x118)]),this[_0x50068f(0x111)]({'tag':_0x50068f(0x125),'attributes':{'class':['ck',_0x50068f(0x128),_0x3c5c7a['if'](_0x50068f(0x11f),_0x50068f(0xcf),_0x1b4f95=>!_0x1b4f95)]},'children':this[_0x50068f(0x100)]}),this['on'](_0x50068f(0x129),()=>{const _0x6c451b=_0x50068f;this[_0x6c451b(0xee)]=this[_0x6c451b(0xe2)]?this[_0x6c451b(0xef)][_0x6c451b(0x122)](_0x237ec6=>_0x6c451b(0xea)!==_0x237ec6):[...this[_0x6c451b(0xef)]],this[_0x6c451b(0xfd)](_0x3c2f45);});}[_0x59c090(0xfd)](_0x3e86f8){const _0x48ae34=_0x59c090;this[_0x48ae34(0x118)]&&this[_0x48ae34(0x100)][_0x48ae34(0x12d)](this[_0x48ae34(0x118)])&&(this[_0x48ae34(0x100)][_0x48ae34(0xd2)](this[_0x48ae34(0x118)]),this[_0x48ae34(0x118)][_0x48ae34(0xfa)]()),this[_0x48ae34(0x118)]=this[_0x48ae34(0x113)](_0x3e86f8),this[_0x48ae34(0x118)]&&this[_0x48ae34(0x100)][_0x48ae34(0xeb)](this[_0x48ae34(0x118)]);}[_0x59c090(0x113)](_0xbb130c){const _0x24a668=_0x59c090;if(0x0==this[_0x24a668(0xee)][_0x24a668(0xde)])return null;const _0x665b80=0x1===this[_0x24a668(0xee)][_0x24a668(0xde)]?this[_0x24a668(0xed)](_0xbb130c):this[_0x24a668(0x10a)](_0xbb130c),_0x5e71f9=this[_0x24a668(0x11a)]?'':_0x24a668(0x105);_0x665b80[_0x24a668(0xf6)]({'label':Pn(this[_0x24a668(0xee)][0x0],_0xbb130c,this[_0x24a668(0xd1)]),'tooltip':Hn(this[_0x24a668(0xee)][0x0],_0xbb130c,this[_0x24a668(0xd1)]),'withText':!0x0,'class':_0x24a668(0x102)+_0x5e71f9});for(const _0x2abb46 of this[_0x24a668(0xee)])_0x665b80['on'](_0x2abb46,()=>{const _0x5e27ca=_0x24a668;this[_0x5e27ca(0x114)](_0x2abb46);});return this[_0x24a668(0x11a)]=!0x1,_0x665b80;}[_0x59c090(0xed)](_0x9fcc2e){const _0x1dce63=_0x59c090,_0x3b8948=new _0xf1272f(_0x9fcc2e);return _0x3b8948[_0x1dce63(0xf6)]({'class':_0x1dce63(0xe4),'withText':!0x0}),_0x3b8948['on'](_0x1dce63(0xfe),()=>{const _0x34b817=_0x1dce63;_0x3b8948[_0x34b817(0x114)](this[_0x34b817(0xee)][0x0]);}),_0x3b8948;}[_0x59c090(0x10a)](_0x383f67){const _0x59ae77=_0x59c090,_0x9919b9=new Nn(_0x383f67,{'listItemModels':this[_0x59ae77(0xee)][_0x59ae77(0xe5)](_0x49a1c6=>{const _0x456848=_0x59ae77;switch(_0x49a1c6){case _0x456848(0xea):return this[_0x456848(0x123)];case _0x456848(0xd6):return this[_0x456848(0x120)];case _0x456848(0x126):return this[_0x456848(0xec)];}})});return _0x9919b9[_0x59ae77(0xf6)]({'label':Pn(this[_0x59ae77(0xee)][0x0],_0x383f67,this[_0x59ae77(0xd1)]),'tooltip':Hn(this[_0x59ae77(0xee)][0x0],_0x383f67,this[_0x59ae77(0xd1)]),'withText':!0x0,'class':_0x59ae77(0x128),'balloonPanelClass':_0x59ae77(0xd0)}),_0x9919b9[_0x59ae77(0x108)](_0x59ae77(0x124))['to'](this),_0x9919b9;}[_0x59c090(0xd8)](_0x4bc5a2){const _0x4c4097=_0x59c090,_0x18c7e0=this[_0x4c4097(0xf3)];this[_0x4c4097(0xd1)]=_0x4bc5a2||this[_0x4c4097(0xd1)],this[_0x4c4097(0x118)][_0x4c4097(0xf6)]({'label':Pn(this[_0x4c4097(0xee)][0x0],_0x18c7e0,this[_0x4c4097(0xd1)]),'tooltip':Hn(this[_0x4c4097(0xee)][0x0],_0x18c7e0,this[_0x4c4097(0xd1)])}),this[_0x4c4097(0x123)][_0x4c4097(0x121)]=Pn(_0x4c4097(0xea),_0x18c7e0,this[_0x4c4097(0xd1)]),this[_0x4c4097(0x120)][_0x4c4097(0x121)]=Pn(_0x4c4097(0xd6),_0x18c7e0,this[_0x4c4097(0xd1)]),this[_0x4c4097(0xec)][_0x4c4097(0x121)]=Pn(_0x4c4097(0x126),_0x18c7e0,this[_0x4c4097(0xd1)]);}}class Nn extends _0x352f3a{[_0x59c090(0x107)];[_0x59c090(0x127)];[_0x59c090(0xdf)];[_0x59c090(0x112)];constructor(_0x3bb295,_0x48cc47){const _0x37b90a=_0x59c090;super(_0x3bb295),this[_0x37b90a(0x127)]=new _0x139a3c(this[_0x37b90a(0xf3)]),this[_0x37b90a(0x107)]=new _0x53b843(this[_0x37b90a(0xf3)]),this[_0x37b90a(0x107)][_0x37b90a(0xd3)](),this[_0x37b90a(0xf6)](_0x37b90a(0xe9),''),this[_0x37b90a(0x127)][_0x37b90a(0x108)](_0x37b90a(0x11d))['to'](this,_0x37b90a(0xe9)),this[_0x37b90a(0xdf)]=this[_0x37b90a(0xd4)](_0x48cc47[_0x37b90a(0xe8)][_0x37b90a(0xf0)](0x1)),this[_0x37b90a(0x107)][_0x37b90a(0xeb)](this[_0x37b90a(0x127)]),this[_0x37b90a(0x127)][_0x37b90a(0x117)][_0x37b90a(0xeb)](this[_0x37b90a(0xdf)]),this[_0x37b90a(0x12a)][_0x37b90a(0xe0)](_0x37b90a(0x103)),this[_0x37b90a(0x12a)][_0x37b90a(0xf6)](_0x37b90a(0x103),_0x5297aa(this[_0x37b90a(0xf3)],_0x37b90a(0x11b))),this[_0x37b90a(0x106)](),this['on'](_0x37b90a(0xfe),()=>{const _0x379a1f=_0x37b90a,_0x45051b=_0x48cc47[_0x379a1f(0xe8)][0x0][_0x379a1f(0x10f)];this[_0x379a1f(0x114)](_0x45051b),this[_0x379a1f(0x127)][_0x379a1f(0xff)](),this[_0x379a1f(0x12a)][_0x379a1f(0xd9)]();}),this['on'](_0x37b90a(0x116),()=>{const _0x21cb1e=_0x37b90a;this[_0x21cb1e(0x127)][_0x21cb1e(0x11f)]?(this[_0x21cb1e(0x127)][_0x21cb1e(0xff)](),this[_0x21cb1e(0x12a)][_0x21cb1e(0xd9)]()):(this[_0x21cb1e(0x127)][_0x21cb1e(0xf8)]({'target':this[_0x21cb1e(0xdd)],'positions':[_0x21cb1e(0x10d)===this[_0x21cb1e(0xf3)][_0x21cb1e(0xf9)]?Gn:yn]}),this[_0x21cb1e(0xdf)][_0x21cb1e(0xd9)]());}),_0x5e91a1({'emitter':this[_0x37b90a(0x127)],'callback':()=>{const _0x26d274=_0x37b90a;this[_0x26d274(0x127)][_0x26d274(0xff)]();},'activator':()=>this[_0x37b90a(0x127)][_0x37b90a(0x11f)],'contextElements':()=>[this[_0x37b90a(0xdd)],this[_0x37b90a(0x127)][_0x37b90a(0xdd)]]});}[_0x59c090(0xd4)](_0x13d896){const _0x3c6514=_0x59c090,_0x28c420=this[_0x3c6514(0xf3)],_0x3ab2f9=new _0x44e250(_0x28c420);for(const _0x46b97f of _0x13d896){const _0x34bb4b=new _0x227ac6(_0x28c420),_0x2d7894=new _0x2bcbae(_0x28c420);_0x2d7894[_0x3c6514(0x108)](...Object[_0x3c6514(0x115)](_0x46b97f))['to'](_0x46b97f),_0x2d7894[_0x3c6514(0x109)](_0x3c6514(0xfe))['to'](_0x3ab2f9),_0x34bb4b[_0x3c6514(0x100)][_0x3c6514(0xeb)](_0x2d7894),_0x3ab2f9[_0x3c6514(0x12c)][_0x3c6514(0xeb)](_0x34bb4b);}return _0x3ab2f9[_0x3c6514(0x12c)][_0x3c6514(0x109)](_0x3c6514(0xfe))['to'](this),_0x3ab2f9['on'](_0x3c6514(0xfe),_0x32ba94=>{const _0x335edd=_0x3c6514,_0x4e0993=_0x32ba94[_0x335edd(0xcd)];this[_0x335edd(0x114)](_0x4e0993[_0x335edd(0x10f)]),this[_0x335edd(0x127)][_0x335edd(0xff)](),this[_0x335edd(0x12a)][_0x335edd(0xd9)]();}),_0x3ab2f9;}[_0x59c090(0x106)](){const _0x4d462b=_0x59c090;this[_0x4d462b(0x112)]=new _0x2965e1(),this[_0x4d462b(0x112)][_0x4d462b(0xd5)](this[_0x4d462b(0x127)][_0x4d462b(0xdd)]),this[_0x4d462b(0x112)][_0x4d462b(0xf6)](_0x4d462b(0xd7),(_0x29648b,_0x1794e8)=>{const _0xf08930=_0x4d462b;this[_0xf08930(0x127)][_0xf08930(0xff)](),this[_0xf08930(0x12a)][_0xf08930(0xd9)](),_0x1794e8();});}[_0x59c090(0xfa)](){const _0x168832=_0x59c090;super[_0x168832(0xfa)](),this[_0x168832(0x112)][_0x168832(0xfa)](),this[_0x168832(0x127)][_0x168832(0xfa)](),this[_0x168832(0x107)][_0x168832(0x10e)]();}}function Gn(_0x205ff6){const _0x2e8bcc=_0x59c090;return{'top':_0x205ff6[_0x2e8bcc(0xfc)],'left':_0x205ff6[_0x2e8bcc(0xe3)],'name':_0x2e8bcc(0xf7),'config':{'withArrow':!0x1}};}function yn(_0x4b61d8,_0x4164f7){const _0x515042=_0x59c090;return{'top':_0x4b61d8[_0x515042(0xfc)],'left':_0x4b61d8[_0x515042(0xe3)]-(_0x4164f7[_0x515042(0x11c)]-_0x4b61d8[_0x515042(0x11c)]),'name':_0x515042(0xf7),'config':{'withArrow':!0x1}};}function Pn(_0x1dec6c,_0x4511cd,_0x15725c){const _0x2f12c8=_0x59c090;switch(_0x1dec6c){case _0x2f12c8(0xea):return _0x5297aa(_0x4511cd,_0x2f12c8(0xf2),_0x15725c);case _0x2f12c8(0xd6):return _0x5297aa(_0x4511cd,_0x2f12c8(0x119),_0x15725c);case _0x2f12c8(0x126):return _0x5297aa(_0x4511cd,_0x2f12c8(0xf5),_0x15725c);}}function Hn(_0x6b77c1,_0x5c884f,_0x2e391b){const _0x1a4ca4=_0x59c090;switch(_0x6b77c1){case _0x1a4ca4(0xea):return _0x5297aa(_0x5c884f,_0x1a4ca4(0x10b),_0x2e391b);case _0x1a4ca4(0xd6):return _0x5297aa(_0x5c884f,_0x1a4ca4(0xe1),_0x2e391b);case _0x1a4ca4(0x126):return _0x5297aa(_0x5c884f,_0x1a4ca4(0x101),_0x2e391b);}}
23
+ const _0x55ef17=_0x1367;function _0x1367(_0x434ab4,_0x359c4f){const _0xc4abf2=_0xc4ab();return _0x1367=function(_0x1367d0,_0x4546bd){_0x1367d0=_0x1367d0-0x9a;let _0x2b1c47=_0xc4abf2[_0x1367d0];return _0x2b1c47;},_0x1367(_0x434ab4,_0x359c4f);}function _0xc4ab(){const _0xbce5e8=['AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','showChangeInTextModel','ck-ai-chat__feed__ai-suggestion__actions--no-animation','isEnabled','listView','listenTo','updateLabels','locale','ck-ai-chat__feed__ai-suggestion__actions__balloon','arrowless','unbind','hide','280647VeGaYC','element','filter','insertSuggestionModel','length','insertSuggestion','attachToDom','children','add','42BXRmfS','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_createActionsDropdown','content','_firstRender','arrowView','ck-ai-chat__feed__ai-suggestion__actions','set','325505AvGmcj','delegate','fire','44GOczrg','change:isTrackChangesOn','items','div','1656354HGncBL','label','balloonPanelClass','applySuggestion','ltr','_dropdownCurrentConfig','7654096SfgqnN','ck-ai-button-primary','source','left','actionName','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_createActionsDropdownOrButton','1796847asfczL','pin','applySuggestionModel','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','bindTemplate','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','31629yjnhud','isTrackChangesOn','balloonPanelView','3734932DsyYKL','ck-hidden','detachFromDom','actionsButton','open','listItemModels','destroy','showChangeInText','width','_dropdownOriginalConfig','isVisible','keys','button','uiLanguageDirection','bottom','remove','class','ck-ai-chat__feed__ai-suggestion__actions\x20','tooltip','has','esc','_setUpKeystrokes','_setUpList','focus','slice','bind','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_createActionsButton','keystrokeHandler','setTemplate','_partsCount','execute','map','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','bodyCollection','_updateDropdownActions','1010IKSEgP'];_0xc4ab=function(){return _0xbce5e8;};return _0xc4ab();}(function(_0xf3433e,_0x34c407){const _0x1ba66e=_0x1367,_0x47ffb0=_0xf3433e();while(!![]){try{const _0x1988bf=-parseInt(_0x1ba66e(0xc0))/0x1+parseInt(_0x1ba66e(0xae))/0x2*(parseInt(_0x1ba66e(0xc6))/0x3)+-parseInt(_0x1ba66e(0xc9))/0x4+parseInt(_0x1ba66e(0xab))/0x5*(-parseInt(_0x1ba66e(0xa3))/0x6)+-parseInt(_0x1ba66e(0xb2))/0x7+parseInt(_0x1ba66e(0xb8))/0x8+-parseInt(_0x1ba66e(0x9a))/0x9*(-parseInt(_0x1ba66e(0xed))/0xa);if(_0x1988bf===_0x34c407)break;else _0x47ffb0['push'](_0x47ffb0['shift']());}catch(_0x5f5cd7){_0x47ffb0['push'](_0x47ffb0['shift']());}}}(_0xc4ab,0xdf752));import{KeystrokeHandler as _0xa72274}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x9b58c5,BodyCollection as _0x76d23c,ButtonView as _0x2c6490,clickOutsideHandler as _0x119957,ListItemButtonView as _0x68714,ListItemView as _0x123447,ListView as _0x467c9a,SplitButtonView as _0x3b8690,UIModel as _0x953fc6,View as _0x3c9f3e}from'ckeditor5/src/ui.js';import{IconCheck as _0x259b02,IconAddComment as _0x2809d9,IconDocumentWithLoupe as _0x58aa5e}from'ckeditor5/src/icons.js';import{getTranslation as _0xa3aa7e}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x55ef17(0xb5),_0x55ef17(0x9f),_0x55ef17(0xd0)];export class AIChatFeedSuggestionItemActionsView extends _0x3c9f3e{[_0x55ef17(0xcc)];[_0x55ef17(0xa1)];[_0x55ef17(0xc2)];[_0x55ef17(0xef)];[_0x55ef17(0x9d)];[_0x55ef17(0xe7)]=0x1;[_0x55ef17(0xd2)];[_0x55ef17(0xb7)];[_0x55ef17(0xa7)]=!0x0;constructor(_0x245993,_0x19e090){const _0x467535=_0x55ef17;super(_0x245993),this[_0x467535(0xd2)]=_0x19e090||[...AI_REPLY_ACTIONS],this[_0x467535(0xb7)]=[...this[_0x467535(0xd2)]];const _0x7810a=this[_0x467535(0xc4)];this[_0x467535(0xaa)](_0x467535(0xf1),!0x0),this[_0x467535(0xaa)](_0x467535(0xd3),!0x0),this[_0x467535(0xaa)](_0x467535(0xc7),!0x1),this[_0x467535(0xc2)]=new _0x953fc6({'label':Nn(_0x467535(0xb5),_0x245993,this[_0x467535(0xe7)]),'icon':_0x259b02,'withText':!0x0,'type':_0x467535(0xd5),'actionName':_0x467535(0xb5)}),this[_0x467535(0xef)]=new _0x953fc6({'label':Nn(_0x467535(0xd0),_0x245993,this[_0x467535(0xe7)]),'icon':_0x58aa5e,'withText':!0x0,'type':_0x467535(0xd5),'actionName':_0x467535(0xd0)}),this[_0x467535(0x9d)]=new _0x953fc6({'label':Nn(_0x467535(0x9f),_0x245993,this[_0x467535(0xe7)]),'icon':_0x2809d9,'withText':!0x0,'type':_0x467535(0xd5),'actionName':_0x467535(0x9f)}),this[_0x467535(0xcc)]=this[_0x467535(0xbf)](_0x245993),this[_0x467535(0xa1)]=this[_0x467535(0xbd)](),this[_0x467535(0xcc)]&&this[_0x467535(0xa1)][_0x467535(0xa2)](this[_0x467535(0xcc)]),this[_0x467535(0xe6)]({'tag':_0x467535(0xb1),'attributes':{'class':['ck',_0x467535(0xa9),_0x7810a['if'](_0x467535(0xd3),_0x467535(0xca),_0x31c194=>!_0x31c194)]},'children':this[_0x467535(0xa1)]}),this['on'](_0x467535(0xaf),()=>{const _0x51e28e=_0x467535;this[_0x51e28e(0xb7)]=this[_0x51e28e(0xc7)]?this[_0x51e28e(0xd2)][_0x51e28e(0x9c)](_0x43b7d0=>_0x51e28e(0xb5)!==_0x43b7d0):[...this[_0x51e28e(0xd2)]],this[_0x51e28e(0xec)](_0x245993);});}[_0x55ef17(0xec)](_0x4c1a16){const _0x2125e=_0x55ef17;this[_0x2125e(0xcc)]&&this[_0x2125e(0xa1)][_0x2125e(0xdc)](this[_0x2125e(0xcc)])&&(this[_0x2125e(0xa1)][_0x2125e(0xd8)](this[_0x2125e(0xcc)]),this[_0x2125e(0xcc)][_0x2125e(0xcf)]()),this[_0x2125e(0xcc)]=this[_0x2125e(0xbf)](_0x4c1a16),this[_0x2125e(0xcc)]&&this[_0x2125e(0xa1)][_0x2125e(0xa2)](this[_0x2125e(0xcc)]);}[_0x55ef17(0xbf)](_0x39a01e){const _0x40a8bd=_0x55ef17;if(0x0==this[_0x40a8bd(0xb7)][_0x40a8bd(0x9e)])return null;const _0x2f98e2=0x1===this[_0x40a8bd(0xb7)][_0x40a8bd(0x9e)]?this[_0x40a8bd(0xe4)](_0x39a01e):this[_0x40a8bd(0xa5)](_0x39a01e),_0xb94661=this[_0x40a8bd(0xa7)]?'':_0x40a8bd(0xf0);_0x2f98e2[_0x40a8bd(0xaa)]({'label':Nn(this[_0x40a8bd(0xb7)][0x0],_0x39a01e,this[_0x40a8bd(0xe7)]),'tooltip':fn(this[_0x40a8bd(0xb7)][0x0],_0x39a01e,this[_0x40a8bd(0xe7)]),'withText':!0x0,'class':_0x40a8bd(0xda)+_0xb94661});for(const _0x96c11a of this[_0x40a8bd(0xb7)])_0x2f98e2['on'](_0x96c11a,()=>{const _0x21d190=_0x40a8bd;this[_0x21d190(0xad)](_0x96c11a);});return this[_0x40a8bd(0xa7)]=!0x1,_0x2f98e2;}[_0x55ef17(0xe4)](_0x2246c5){const _0x5c0834=_0x55ef17,_0x1613b0=new _0x2c6490(_0x2246c5);return _0x1613b0[_0x5c0834(0xaa)]({'class':_0x5c0834(0xb9),'withText':!0x0}),_0x1613b0['on'](_0x5c0834(0xe8),()=>{const _0x6e6ada=_0x5c0834;_0x1613b0[_0x6e6ada(0xad)](this[_0x6e6ada(0xb7)][0x0]);}),_0x1613b0;}[_0x55ef17(0xa5)](_0x2f58c6){const _0x585ca4=_0x55ef17,_0x5143cf=new An(_0x2f58c6,{'listItemModels':this[_0x585ca4(0xb7)][_0x585ca4(0xe9)](_0x4abf22=>{const _0xd4654d=_0x585ca4;switch(_0x4abf22){case _0xd4654d(0xb5):return this[_0xd4654d(0xc2)];case _0xd4654d(0xd0):return this[_0xd4654d(0xef)];case _0xd4654d(0x9f):return this[_0xd4654d(0x9d)];}})});return _0x5143cf[_0x585ca4(0xaa)]({'label':Nn(this[_0x585ca4(0xb7)][0x0],_0x2f58c6,this[_0x585ca4(0xe7)]),'tooltip':fn(this[_0x585ca4(0xb7)][0x0],_0x2f58c6,this[_0x585ca4(0xe7)]),'withText':!0x0,'class':_0x585ca4(0xa9),'balloonPanelClass':_0x585ca4(0xf6)}),_0x5143cf[_0x585ca4(0xe2)](_0x585ca4(0xf1))['to'](this),_0x5143cf;}[_0x55ef17(0xf4)](_0x4265a9){const _0x159dad=_0x55ef17,_0x8bf84=this[_0x159dad(0xf5)];this[_0x159dad(0xe7)]=_0x4265a9||this[_0x159dad(0xe7)],this[_0x159dad(0xcc)][_0x159dad(0xaa)]({'label':Nn(this[_0x159dad(0xb7)][0x0],_0x8bf84,this[_0x159dad(0xe7)]),'tooltip':fn(this[_0x159dad(0xb7)][0x0],_0x8bf84,this[_0x159dad(0xe7)])}),this[_0x159dad(0xc2)][_0x159dad(0xb3)]=Nn(_0x159dad(0xb5),_0x8bf84,this[_0x159dad(0xe7)]),this[_0x159dad(0xef)][_0x159dad(0xb3)]=Nn(_0x159dad(0xd0),_0x8bf84,this[_0x159dad(0xe7)]),this[_0x159dad(0x9d)][_0x159dad(0xb3)]=Nn(_0x159dad(0x9f),_0x8bf84,this[_0x159dad(0xe7)]);}}class An extends _0x3b8690{[_0x55ef17(0xeb)];[_0x55ef17(0xc8)];[_0x55ef17(0xf2)];[_0x55ef17(0xe5)];constructor(_0x353740,_0x2a3b79){const _0x3af767=_0x55ef17;super(_0x353740),this[_0x3af767(0xc8)]=new _0x9b58c5(this[_0x3af767(0xf5)]),this[_0x3af767(0xeb)]=new _0x76d23c(this[_0x3af767(0xf5)]),this[_0x3af767(0xeb)][_0x3af767(0xa0)](),this[_0x3af767(0xaa)](_0x3af767(0xb4),''),this[_0x3af767(0xc8)][_0x3af767(0xe2)](_0x3af767(0xd9))['to'](this,_0x3af767(0xb4)),this[_0x3af767(0xf2)]=this[_0x3af767(0xdf)](_0x2a3b79[_0x3af767(0xce)][_0x3af767(0xe1)](0x1)),this[_0x3af767(0xeb)][_0x3af767(0xa2)](this[_0x3af767(0xc8)]),this[_0x3af767(0xc8)][_0x3af767(0xa6)][_0x3af767(0xa2)](this[_0x3af767(0xf2)]),this[_0x3af767(0xa8)][_0x3af767(0xf8)](_0x3af767(0xdb)),this[_0x3af767(0xa8)][_0x3af767(0xaa)](_0x3af767(0xdb),_0xa3aa7e(this[_0x3af767(0xf5)],_0x3af767(0xee))),this[_0x3af767(0xde)](),this['on'](_0x3af767(0xe8),()=>{const _0x1df390=_0x3af767,_0xac6212=_0x2a3b79[_0x1df390(0xce)][0x0][_0x1df390(0xbc)];this[_0x1df390(0xad)](_0xac6212),this[_0x1df390(0xc8)][_0x1df390(0xf9)](),this[_0x1df390(0xa8)][_0x1df390(0xe0)]();}),this['on'](_0x3af767(0xcd),()=>{const _0x50a152=_0x3af767;this[_0x50a152(0xc8)][_0x50a152(0xd3)]?(this[_0x50a152(0xc8)][_0x50a152(0xf9)](),this[_0x50a152(0xa8)][_0x50a152(0xe0)]()):(this[_0x50a152(0xc8)][_0x50a152(0xc1)]({'target':this[_0x50a152(0x9b)],'positions':[_0x50a152(0xb6)===this[_0x50a152(0xf5)][_0x50a152(0xd6)]?Cn:On]}),this[_0x50a152(0xf2)][_0x50a152(0xe0)]());}),_0x119957({'emitter':this[_0x3af767(0xc8)],'callback':()=>{const _0x21e2d1=_0x3af767;this[_0x21e2d1(0xc8)][_0x21e2d1(0xf9)]();},'activator':()=>this[_0x3af767(0xc8)][_0x3af767(0xd3)],'contextElements':()=>[this[_0x3af767(0x9b)],this[_0x3af767(0xc8)][_0x3af767(0x9b)]]});}[_0x55ef17(0xdf)](_0x451f7d){const _0x278b53=_0x55ef17,_0x34b734=this[_0x278b53(0xf5)],_0x96c29b=new _0x467c9a(_0x34b734);for(const _0x232ef6 of _0x451f7d){const _0x264aa0=new _0x123447(_0x34b734),_0x42f2ac=new _0x68714(_0x34b734);_0x42f2ac[_0x278b53(0xe2)](...Object[_0x278b53(0xd4)](_0x232ef6))['to'](_0x232ef6),_0x42f2ac[_0x278b53(0xac)](_0x278b53(0xe8))['to'](_0x96c29b),_0x264aa0[_0x278b53(0xa1)][_0x278b53(0xa2)](_0x42f2ac),_0x96c29b[_0x278b53(0xb0)][_0x278b53(0xa2)](_0x264aa0);}return _0x96c29b[_0x278b53(0xb0)][_0x278b53(0xac)](_0x278b53(0xe8))['to'](this),_0x96c29b['on'](_0x278b53(0xe8),_0x1e8e49=>{const _0x32ea85=_0x278b53,_0x37697a=_0x1e8e49[_0x32ea85(0xba)];this[_0x32ea85(0xad)](_0x37697a[_0x32ea85(0xbc)]),this[_0x32ea85(0xc8)][_0x32ea85(0xf9)](),this[_0x32ea85(0xa8)][_0x32ea85(0xe0)]();}),_0x96c29b;}[_0x55ef17(0xde)](){const _0x28bdc3=_0x55ef17;this[_0x28bdc3(0xe5)]=new _0xa72274(),this[_0x28bdc3(0xe5)][_0x28bdc3(0xf3)](this[_0x28bdc3(0xc8)][_0x28bdc3(0x9b)]),this[_0x28bdc3(0xe5)][_0x28bdc3(0xaa)](_0x28bdc3(0xdd),(_0x3b72eb,_0x4dcf18)=>{const _0x367b72=_0x28bdc3;this[_0x367b72(0xc8)][_0x367b72(0xf9)](),this[_0x367b72(0xa8)][_0x367b72(0xe0)](),_0x4dcf18();});}[_0x55ef17(0xcf)](){const _0x3f2901=_0x55ef17;super[_0x3f2901(0xcf)](),this[_0x3f2901(0xe5)][_0x3f2901(0xcf)](),this[_0x3f2901(0xc8)][_0x3f2901(0xcf)](),this[_0x3f2901(0xeb)][_0x3f2901(0xcb)]();}}function Cn(_0x53798b){const _0x1dacfa=_0x55ef17;return{'top':_0x53798b[_0x1dacfa(0xd7)],'left':_0x53798b[_0x1dacfa(0xbb)],'name':_0x1dacfa(0xf7),'config':{'withArrow':!0x1}};}function On(_0x5baf6c,_0x19213b){const _0x14b447=_0x55ef17;return{'top':_0x5baf6c[_0x14b447(0xd7)],'left':_0x5baf6c[_0x14b447(0xbb)]-(_0x19213b[_0x14b447(0xd1)]-_0x5baf6c[_0x14b447(0xd1)]),'name':_0x14b447(0xf7),'config':{'withArrow':!0x1}};}function Nn(_0x1c97f3,_0x304d00,_0x37e2e4){const _0x224a4a=_0x55ef17;switch(_0x1c97f3){case _0x224a4a(0xb5):return _0xa3aa7e(_0x304d00,_0x224a4a(0xbe),_0x37e2e4);case _0x224a4a(0xd0):return _0xa3aa7e(_0x304d00,_0x224a4a(0xc3),_0x37e2e4);case _0x224a4a(0x9f):return _0xa3aa7e(_0x304d00,_0x224a4a(0xc5),_0x37e2e4);}}function fn(_0x43086a,_0x2a651a,_0x166386){const _0x539f88=_0x55ef17;switch(_0x43086a){case _0x539f88(0xb5):return _0xa3aa7e(_0x2a651a,_0x539f88(0xea),_0x166386);case _0x539f88(0xd0):return _0xa3aa7e(_0x2a651a,_0x539f88(0xa4),_0x166386);case _0x539f88(0x9f):return _0xa3aa7e(_0x2a651a,_0x539f88(0xe3),_0x166386);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x10e7(_0x33d2ed,_0x3b2d40){var _0x5aa1a4=_0x5aa1();return _0x10e7=function(_0x10e792,_0x2dc6b4){_0x10e792=_0x10e792-0x87;var _0x51188b=_0x5aa1a4[_0x10e792];return _0x51188b;},_0x10e7(_0x33d2ed,_0x3b2d40);}var _0x4a41d6=_0x10e7;(function(_0x56add8,_0x3b8477){var _0x5c4bcb=_0x10e7,_0x39aed1=_0x56add8();while(!![]){try{var _0x4c58b2=parseInt(_0x5c4bcb(0x8e))/0x1*(parseInt(_0x5c4bcb(0x87))/0x2)+parseInt(_0x5c4bcb(0x94))/0x3+parseInt(_0x5c4bcb(0xb3))/0x4+-parseInt(_0x5c4bcb(0xab))/0x5+parseInt(_0x5c4bcb(0x90))/0x6*(-parseInt(_0x5c4bcb(0xaa))/0x7)+-parseInt(_0x5c4bcb(0xac))/0x8*(parseInt(_0x5c4bcb(0xa1))/0x9)+-parseInt(_0x5c4bcb(0x9b))/0xa;if(_0x4c58b2===_0x3b8477)break;else _0x39aed1['push'](_0x39aed1['shift']());}catch(_0x3104e3){_0x39aed1['push'](_0x39aed1['shift']());}}}(_0x5aa1,0x45ac9));import{AIChatFeedItemView as _0x47ff39}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2674ad}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x131faf}from'./aichatfeedsuggestionitemactionsview.js';function _0x5aa1(){var _0x599dab=['isTrackChangesOn','markAsDone','bind','addMany','isEnabled','264565CgKNnv','47020kKVNEa','30824cPedBQ','mouseOverSuggestion','partsCount','insertSuggestion','rejectSuggestion','set','toggleSuggestionDisplayMode','1589748wNUWTT','19828nLDFik','updateSources','showChangeInText','applySuggestion','options','updatePartState','isVisible','46AfEyYo','hasPendingParts','42UFPjhQ','hasNonEmptyParts','showDiff','bodyView','958911oCyklb','like','extendTemplate','dislike','mouseLeaveSuggestion','actionsView','updateLabels','6022050eXPELY','ck-ai-chat__feed__ai-suggestion','fire','updateContent','getPartView','areActionsDisabled','27OgfRzU','children','availableActions','containerView'];_0x5aa1=function(){return _0x599dab;};return _0x5aa1();}export class AIChatFeedSuggestionItemView extends _0x47ff39{[_0x4a41d6(0xa4)];[_0x4a41d6(0x99)];constructor(_0x109dd6,_0x56d327,_0x296d93){var _0x2a894a=_0x4a41d6;super(_0x56d327),this[_0x2a894a(0xb1)](_0x2a894a(0xa5),!0x1),this[_0x2a894a(0xa4)]=new _0x2674ad(_0x109dd6,{'showDiff':_0x56d327[_0x2a894a(0x92)],'areActionsDisabled':_0x56d327[_0x2a894a(0xa0)],'availableActions':_0x56d327[_0x2a894a(0xa3)]},_0x296d93),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0xb2),(_0xe8ff13,_0x3b4d50)=>{var _0x4f6e25=_0x2a894a;this[_0x4f6e25(0x9d)](_0x4f6e25(0xb2),{'replyId':this[_0x4f6e25(0x8b)]['id'],'showDiff':_0x3b4d50[_0x4f6e25(0x92)]});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0x95),()=>{var _0x477661=_0x2a894a;this[_0x477661(0x9d)](_0x477661(0x95),{'replyId':this[_0x477661(0x8b)]['id']});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0x97),()=>{var _0x225888=_0x2a894a;this[_0x225888(0x9d)](_0x225888(0x97),{'replyId':this[_0x225888(0x8b)]['id']});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0x89),(_0x2452f4,{index:_0x3e1978})=>{var _0x50c68c=_0x2a894a;this[_0x50c68c(0x9d)](_0x50c68c(0x89),{'replyId':this[_0x50c68c(0x8b)]['id'],'partIndex':_0x3e1978});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0xaf),(_0x4ed080,{index:_0x5efac1})=>{var _0x3add61=_0x2a894a;this[_0x3add61(0x9d)](_0x3add61(0xaf),{'replyId':this[_0x3add61(0x8b)]['id'],'partIndex':_0x5efac1});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0xb0),(_0x439628,{index:_0x3a1707})=>{var _0x2a553f=_0x2a894a;this[_0x2a553f(0x9d)](_0x2a553f(0xb0),{'replyId':this[_0x2a553f(0x8b)]['id'],'partIndex':_0x3a1707});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0xad),(_0x479557,{index:_0x5393ff})=>{var _0x1c0b2d=_0x2a894a;this[_0x1c0b2d(0x9d)](_0x1c0b2d(0xad),{'replyId':this[_0x1c0b2d(0x8b)]['id'],'partIndex':_0x5393ff});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0x98),(_0x5ee89f,{index:_0x265edd})=>{var _0xa8f886=_0x2a894a;this[_0xa8f886(0x9d)](_0xa8f886(0x98),{'replyId':this[_0xa8f886(0x8b)]['id'],'partIndex':_0x265edd});}),this[_0x2a894a(0x99)]=new _0x131faf(_0x109dd6,this[_0x2a894a(0x8b)][_0x2a894a(0xa3)]),this[_0x2a894a(0x99)][_0x2a894a(0xa7)](_0x2a894a(0xa5))['to'](this,_0x2a894a(0xa5)),this[_0x2a894a(0x99)]['on'](_0x2a894a(0x89),()=>{var _0x2639bb=_0x2a894a;this[_0x2639bb(0x9d)](_0x2639bb(0x89),{'replyId':this[_0x2639bb(0x8b)]['id']});}),this[_0x2a894a(0x99)]['on'](_0x2a894a(0xaf),()=>{var _0x17f8e0=_0x2a894a;this[_0x17f8e0(0x9d)](_0x17f8e0(0xaf),{'replyId':this[_0x17f8e0(0x8b)]['id']});}),this[_0x2a894a(0x99)]['on'](_0x2a894a(0x8a),()=>{var _0x2445fa=_0x2a894a;this[_0x2445fa(0x9d)](_0x2445fa(0x8a),{'replyId':this[_0x2445fa(0x8b)]['id']});}),_0x56d327[_0x2a894a(0xa0)]?this[_0x2a894a(0x99)][_0x2a894a(0xa9)]=!0x1:this[_0x2a894a(0x99)][_0x2a894a(0xa7)](_0x2a894a(0xa9))['to'](this[_0x2a894a(0xa4)][_0x2a894a(0x93)],_0x2a894a(0x8f)),this[_0x2a894a(0xa2)][_0x2a894a(0xa8)]([this[_0x2a894a(0xa4)],this[_0x2a894a(0x99)]]),this[_0x2a894a(0x96)]({'attributes':{'class':[_0x2a894a(0x9c)]}});}async[_0x4a41d6(0x9e)](_0x5519ee){var _0x2d79ad=_0x4a41d6;await this[_0x2d79ad(0xa4)][_0x2d79ad(0x9e)](_0x5519ee),this[_0x2d79ad(0x99)][_0x2d79ad(0x9a)](this[_0x2d79ad(0xa4)][_0x2d79ad(0x93)][_0x2d79ad(0xae)]);}[_0x4a41d6(0x8c)](_0x260ab6,_0x4e52c6){var _0x1057f2=_0x4a41d6;this[_0x1057f2(0xa4)][_0x1057f2(0x93)][_0x1057f2(0x8c)](_0x260ab6,_0x4e52c6);}[_0x4a41d6(0x88)](_0xf49328){var _0x3ebccd=_0x4a41d6;this[_0x3ebccd(0xa4)][_0x3ebccd(0x88)](_0xf49328);}[_0x4a41d6(0x9f)](_0x537e04){var _0x40061f=_0x4a41d6;return this[_0x40061f(0xa4)][_0x40061f(0x93)][_0x40061f(0x9f)](_0x537e04);}[_0x4a41d6(0xa6)](){var _0x248822=_0x4a41d6;super[_0x248822(0xa6)](),this[_0x248822(0xa4)][_0x248822(0xa6)](),this[_0x248822(0x99)][_0x248822(0x8d)]=this[_0x248822(0xa4)][_0x248822(0x93)][_0x248822(0x91)];}}
23
+ var _0x380e0a=_0x2599;function _0x2599(_0x354b20,_0x35e345){var _0x5ca141=_0x5ca1();return _0x2599=function(_0x2599b9,_0x1b597f){_0x2599b9=_0x2599b9-0x139;var _0x137abc=_0x5ca141[_0x2599b9];return _0x137abc;},_0x2599(_0x354b20,_0x35e345);}(function(_0x5a8bfc,_0x404c59){var _0x2ed8bf=_0x2599,_0x22bc08=_0x5a8bfc();while(!![]){try{var _0x5335d0=-parseInt(_0x2ed8bf(0x150))/0x1*(parseInt(_0x2ed8bf(0x148))/0x2)+parseInt(_0x2ed8bf(0x145))/0x3+parseInt(_0x2ed8bf(0x14b))/0x4*(parseInt(_0x2ed8bf(0x157))/0x5)+-parseInt(_0x2ed8bf(0x14d))/0x6+parseInt(_0x2ed8bf(0x13d))/0x7+parseInt(_0x2ed8bf(0x15e))/0x8*(-parseInt(_0x2ed8bf(0x165))/0x9)+-parseInt(_0x2ed8bf(0x14f))/0xa*(-parseInt(_0x2ed8bf(0x166))/0xb);if(_0x5335d0===_0x404c59)break;else _0x22bc08['push'](_0x22bc08['shift']());}catch(_0x36c0c4){_0x22bc08['push'](_0x22bc08['shift']());}}}(_0x5ca1,0xc09a8));function _0x5ca1(){var _0x240af8=['markAsDone','availableActions','mouseOverSuggestion','1386uaHPRP','66SZQnkh','mouseLeaveSuggestion','extendTemplate','isTrackChangesOn','areActionsDisabled','5767111vauyLy','showChangeInText','hasNonEmptyParts','toggleSuggestionDisplayMode','ck-ai-chat__feed__ai-suggestion','bind','set','showDiff','1964349EAgFga','applySuggestion','like','203342BcMYfh','options','hasPendingParts','1312LciCjQ','containerView','8132400CTDZNa','bodyView','1375110CtSidF','4UYdkMJ','insertSuggestion','updateContent','partsCount','isVisible','updatePartState','actionsView','14500rgUIGw','rejectSuggestion','getPartView','updateLabels','isEnabled','addMany','updateSources','36568IIvzWn','dislike','children','fire'];_0x5ca1=function(){return _0x240af8;};return _0x5ca1();}import{AIChatFeedItemView as _0x391d05}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x592c61}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x1d2baa}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x391d05{[_0x380e0a(0x14c)];[_0x380e0a(0x156)];constructor(_0x4cad34,_0x4e36e1,_0x5b508f){var _0x588cdd=_0x380e0a;super(_0x4e36e1),this[_0x588cdd(0x143)](_0x588cdd(0x13b),!0x1),this[_0x588cdd(0x14c)]=new _0x592c61(_0x4cad34,{'showDiff':_0x4e36e1[_0x588cdd(0x144)],'areActionsDisabled':_0x4e36e1[_0x588cdd(0x13c)],'availableActions':_0x4e36e1[_0x588cdd(0x163)]},_0x5b508f),this[_0x588cdd(0x14c)]['on'](_0x588cdd(0x140),(_0x1a8d90,_0x581aa3)=>{var _0x60da7d=_0x588cdd;this[_0x60da7d(0x161)](_0x60da7d(0x140),{'replyId':this[_0x60da7d(0x149)]['id'],'showDiff':_0x581aa3[_0x60da7d(0x144)]});}),this[_0x588cdd(0x14c)]['on'](_0x588cdd(0x147),()=>{var _0x316914=_0x588cdd;this[_0x316914(0x161)](_0x316914(0x147),{'replyId':this[_0x316914(0x149)]['id']});}),this[_0x588cdd(0x14c)]['on'](_0x588cdd(0x15f),()=>{var _0x388ccc=_0x588cdd;this[_0x388ccc(0x161)](_0x388ccc(0x15f),{'replyId':this[_0x388ccc(0x149)]['id']});}),this[_0x588cdd(0x14c)]['on'](_0x588cdd(0x13e),(_0x2ea88d,{index:_0x34e4b4})=>{var _0x35249d=_0x588cdd;this[_0x35249d(0x161)](_0x35249d(0x13e),{'replyId':this[_0x35249d(0x149)]['id'],'partIndex':_0x34e4b4});}),this[_0x588cdd(0x14c)]['on'](_0x588cdd(0x151),(_0x2e095c,{index:_0x1a5575})=>{var _0x20cb5d=_0x588cdd;this[_0x20cb5d(0x161)](_0x20cb5d(0x151),{'replyId':this[_0x20cb5d(0x149)]['id'],'partIndex':_0x1a5575});}),this[_0x588cdd(0x14c)]['on'](_0x588cdd(0x158),(_0x467e5f,{index:_0xbd0208})=>{var _0x2242ba=_0x588cdd;this[_0x2242ba(0x161)](_0x2242ba(0x158),{'replyId':this[_0x2242ba(0x149)]['id'],'partIndex':_0xbd0208});}),this[_0x588cdd(0x14c)]['on'](_0x588cdd(0x164),(_0x33952b,{index:_0x3c7957})=>{var _0xf48bac=_0x588cdd;this[_0xf48bac(0x161)](_0xf48bac(0x164),{'replyId':this[_0xf48bac(0x149)]['id'],'partIndex':_0x3c7957});}),this[_0x588cdd(0x14c)]['on'](_0x588cdd(0x139),(_0x3a2616,{index:_0x597709})=>{var _0x5765ca=_0x588cdd;this[_0x5765ca(0x161)](_0x5765ca(0x139),{'replyId':this[_0x5765ca(0x149)]['id'],'partIndex':_0x597709});}),this[_0x588cdd(0x156)]=new _0x1d2baa(_0x4cad34,this[_0x588cdd(0x149)][_0x588cdd(0x163)]),this[_0x588cdd(0x156)][_0x588cdd(0x142)](_0x588cdd(0x13b))['to'](this,_0x588cdd(0x13b)),this[_0x588cdd(0x156)]['on'](_0x588cdd(0x13e),()=>{var _0x24939f=_0x588cdd;this[_0x24939f(0x161)](_0x24939f(0x13e),{'replyId':this[_0x24939f(0x149)]['id']});}),this[_0x588cdd(0x156)]['on'](_0x588cdd(0x151),()=>{var _0x56ffaf=_0x588cdd;this[_0x56ffaf(0x161)](_0x56ffaf(0x151),{'replyId':this[_0x56ffaf(0x149)]['id']});}),this[_0x588cdd(0x156)]['on'](_0x588cdd(0x146),()=>{var _0x1d1ba1=_0x588cdd;this[_0x1d1ba1(0x161)](_0x1d1ba1(0x146),{'replyId':this[_0x1d1ba1(0x149)]['id']});}),_0x4e36e1[_0x588cdd(0x13c)]?this[_0x588cdd(0x156)][_0x588cdd(0x15b)]=!0x1:this[_0x588cdd(0x156)][_0x588cdd(0x142)](_0x588cdd(0x15b))['to'](this[_0x588cdd(0x14c)][_0x588cdd(0x14e)],_0x588cdd(0x14a)),this[_0x588cdd(0x160)][_0x588cdd(0x15c)]([this[_0x588cdd(0x14c)],this[_0x588cdd(0x156)]]),this[_0x588cdd(0x13a)]({'attributes':{'class':[_0x588cdd(0x141)]}});}async[_0x380e0a(0x152)](_0x3b50c2){var _0x2bf557=_0x380e0a;await this[_0x2bf557(0x14c)][_0x2bf557(0x152)](_0x3b50c2),this[_0x2bf557(0x156)][_0x2bf557(0x15a)](this[_0x2bf557(0x14c)][_0x2bf557(0x14e)][_0x2bf557(0x153)]);}[_0x380e0a(0x155)](_0x2d0d5a,_0x580125){var _0xf7dd79=_0x380e0a;this[_0xf7dd79(0x14c)][_0xf7dd79(0x14e)][_0xf7dd79(0x155)](_0x2d0d5a,_0x580125);}[_0x380e0a(0x15d)](_0x30ed90){var _0x26def1=_0x380e0a;this[_0x26def1(0x14c)][_0x26def1(0x15d)](_0x30ed90);}[_0x380e0a(0x159)](_0x5d3e2e){var _0x37f5d7=_0x380e0a;return this[_0x37f5d7(0x14c)][_0x37f5d7(0x14e)][_0x37f5d7(0x159)](_0x5d3e2e);}[_0x380e0a(0x162)](){var _0x86759f=_0x380e0a;super[_0x86759f(0x162)](),this[_0x86759f(0x14c)][_0x86759f(0x162)](),this[_0x86759f(0x156)][_0x86759f(0x154)]=this[_0x86759f(0x14c)][_0x86759f(0x14e)][_0x86759f(0x13f)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x31a3fa=_0x4760;(function(_0x5d4f3d,_0x587f00){var _0x115b15=_0x4760,_0x25edd1=_0x5d4f3d();while(!![]){try{var _0x2096a5=-parseInt(_0x115b15(0x11d))/0x1*(parseInt(_0x115b15(0x101))/0x2)+-parseInt(_0x115b15(0x11b))/0x3*(-parseInt(_0x115b15(0x102))/0x4)+-parseInt(_0x115b15(0x115))/0x5+-parseInt(_0x115b15(0x112))/0x6+-parseInt(_0x115b15(0x10f))/0x7+-parseInt(_0x115b15(0x113))/0x8*(-parseInt(_0x115b15(0x11f))/0x9)+-parseInt(_0x115b15(0x117))/0xa*(-parseInt(_0x115b15(0x10e))/0xb);if(_0x2096a5===_0x587f00)break;else _0x25edd1['push'](_0x25edd1['shift']());}catch(_0x5587ed){_0x25edd1['push'](_0x25edd1['shift']());}}}(_0x1e9a,0x2e402));import{AIChatFeedItemView as _0x26f2ec}from'./aichatfeeditemview.js';function _0x4760(_0x2403aa,_0x38569c){var _0x1e9a95=_0x1e9a();return _0x4760=function(_0x476096,_0x168c3a){_0x476096=_0x476096-0x100;var _0x380ef3=_0x1e9a95[_0x476096];return _0x380ef3;},_0x4760(_0x2403aa,_0x38569c);}import{AIChatFeedContextChipsView as _0x36fd4f}from'./aichatfeedcontextchipsview.js';function _0x1e9a(){var _0x1dc40d=['ck-ai-chat__feed__message-content','options','_createContextChipsView','extendTemplate','646922hPOuIQ','1472qyDxHe','add','render','div','_messageContentView','children','_contextChipsView','innerHTML','hidden','markAsDone','setTemplate','length','561VdefwT','2356333XmAQet','initialContent','ck-ai-chat__feed__context-chips','2186652LlUQUu','12056IKxqnO','ck-ai-chat__feed__user-message','1888850FIrlfY','contextItems','285170vbdvxL','_locale','_bodyCollection','element','567hsYsqg','_createMessageContentView','1mbToEG','filter','405OFjqOT'];_0x1e9a=function(){return _0x1dc40d;};return _0x1e9a();}import{View as _0x55e6d2}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x26f2ec{[_0x31a3fa(0x108)]=null;[_0x31a3fa(0x118)];[_0x31a3fa(0x119)];[_0x31a3fa(0x106)];constructor(_0x1c9af9,_0x49169d,_0x582786){var _0x5cf305=_0x31a3fa;super(_0x49169d),this[_0x5cf305(0x118)]=_0x1c9af9,this[_0x5cf305(0x119)]=_0x582786,this[_0x5cf305(0x122)](),this[_0x5cf305(0x11c)](),this[_0x5cf305(0x100)]({'attributes':{'class':[_0x5cf305(0x114)]}});}[_0x31a3fa(0x122)](){var _0x59e24e=_0x31a3fa;this[_0x59e24e(0x121)][_0x59e24e(0x116)]&&this[_0x59e24e(0x121)][_0x59e24e(0x116)][_0x59e24e(0x10d)]>0x0&&(this[_0x59e24e(0x108)]=new _0x36fd4f(this[_0x59e24e(0x118)],this[_0x59e24e(0x121)][_0x59e24e(0x116)][_0x59e24e(0x11e)](_0x34c9d3=>!_0x34c9d3[_0x59e24e(0x10a)]),this[_0x59e24e(0x119)]),this[_0x59e24e(0x108)][_0x59e24e(0x100)]({'attributes':{'class':_0x59e24e(0x111)}}),this[_0x59e24e(0x107)][_0x59e24e(0x103)](this[_0x59e24e(0x108)]));}[_0x31a3fa(0x11c)](){var _0x59f462=_0x31a3fa;this[_0x59f462(0x106)]=new _0x55e6d2(this[_0x59f462(0x118)]),this[_0x59f462(0x106)][_0x59f462(0x10c)]({'tag':_0x59f462(0x105),'attributes':{'class':_0x59f462(0x120)}}),this[_0x59f462(0x107)][_0x59f462(0x103)](this[_0x59f462(0x106)]);}[_0x31a3fa(0x104)](){var _0x68a58c=_0x31a3fa;super[_0x68a58c(0x104)](),this[_0x68a58c(0x106)][_0x68a58c(0x11a)][_0x68a58c(0x109)]=this[_0x68a58c(0x121)][_0x68a58c(0x110)],this[_0x68a58c(0x10b)]();}}
23
+ var _0x5c6d16=_0x41f0;function _0x41f0(_0x31ee07,_0x5838fe){var _0x59a0a7=_0x59a0();return _0x41f0=function(_0x41f0ce,_0x7101a5){_0x41f0ce=_0x41f0ce-0x118;var _0x437ac6=_0x59a0a7[_0x41f0ce];return _0x437ac6;},_0x41f0(_0x31ee07,_0x5838fe);}(function(_0x50d60d,_0x4b6aba){var _0x2fafb1=_0x41f0,_0xbe627=_0x50d60d();while(!![]){try{var _0x803ea9=-parseInt(_0x2fafb1(0x11d))/0x1+-parseInt(_0x2fafb1(0x135))/0x2*(parseInt(_0x2fafb1(0x129))/0x3)+-parseInt(_0x2fafb1(0x134))/0x4*(-parseInt(_0x2fafb1(0x124))/0x5)+-parseInt(_0x2fafb1(0x127))/0x6*(parseInt(_0x2fafb1(0x137))/0x7)+-parseInt(_0x2fafb1(0x121))/0x8*(-parseInt(_0x2fafb1(0x128))/0x9)+parseInt(_0x2fafb1(0x13b))/0xa*(-parseInt(_0x2fafb1(0x12f))/0xb)+parseInt(_0x2fafb1(0x130))/0xc;if(_0x803ea9===_0x4b6aba)break;else _0xbe627['push'](_0xbe627['shift']());}catch(_0x2d8cad){_0xbe627['push'](_0xbe627['shift']());}}}(_0x59a0,0xb8018));import{AIChatFeedItemView as _0x347724}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x33e4e0}from'./aichatfeedcontextchipsview.js';import{View as _0x27d14a}from'ckeditor5/src/ui.js';function _0x59a0(){var _0xd0e9cb=['length','element','27785rEjEmx','_locale','_messageContentView','42MLKcZV','72JoaLUp','1389LwtzKR','filter','setTemplate','contextItems','div','options','11rCgqiW','28123464KIyVGC','innerHTML','hidden','children','988MNsgIg','404fpKaaK','_bodyCollection','704347WNEqEC','markAsDone','_contextChipsView','ck-ai-chat__feed__context-chips','13909130lTHCww','render','_createContextChipsView','_createMessageContentView','ck-ai-chat__feed__user-message','ck-ai-chat__feed__message-content','917711zIsuap','extendTemplate','add','initialContent','143984xZUADX'];_0x59a0=function(){return _0xd0e9cb;};return _0x59a0();}export class AIChatFeedUserMessageItemView extends _0x347724{[_0x5c6d16(0x139)]=null;[_0x5c6d16(0x125)];[_0x5c6d16(0x136)];[_0x5c6d16(0x126)];constructor(_0xba1cf5,_0x4d1719,_0x2fae3e){var _0x11adff=_0x5c6d16;super(_0x4d1719),this[_0x11adff(0x125)]=_0xba1cf5,this[_0x11adff(0x136)]=_0x2fae3e,this[_0x11adff(0x119)](),this[_0x11adff(0x11a)](),this[_0x11adff(0x11e)]({'attributes':{'class':[_0x11adff(0x11b)]}});}[_0x5c6d16(0x119)](){var _0x1cabec=_0x5c6d16;this[_0x1cabec(0x12e)][_0x1cabec(0x12c)]&&this[_0x1cabec(0x12e)][_0x1cabec(0x12c)][_0x1cabec(0x122)]>0x0&&(this[_0x1cabec(0x139)]=new _0x33e4e0(this[_0x1cabec(0x125)],this[_0x1cabec(0x12e)][_0x1cabec(0x12c)][_0x1cabec(0x12a)](_0x4809e5=>!_0x4809e5[_0x1cabec(0x132)]),this[_0x1cabec(0x136)]),this[_0x1cabec(0x139)][_0x1cabec(0x11e)]({'attributes':{'class':_0x1cabec(0x13a)}}),this[_0x1cabec(0x133)][_0x1cabec(0x11f)](this[_0x1cabec(0x139)]));}[_0x5c6d16(0x11a)](){var _0x513b00=_0x5c6d16;this[_0x513b00(0x126)]=new _0x27d14a(this[_0x513b00(0x125)]),this[_0x513b00(0x126)][_0x513b00(0x12b)]({'tag':_0x513b00(0x12d),'attributes':{'class':_0x513b00(0x11c)}}),this[_0x513b00(0x133)][_0x513b00(0x11f)](this[_0x513b00(0x126)]);}[_0x5c6d16(0x118)](){var _0x4f1c96=_0x5c6d16;super[_0x4f1c96(0x118)](),this[_0x4f1c96(0x126)][_0x4f1c96(0x123)][_0x4f1c96(0x131)]=this[_0x4f1c96(0x12e)][_0x4f1c96(0x120)],this[_0x4f1c96(0x138)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ea4a9=_0x3144;(function(_0xd0a8b9,_0xf96427){const _0x3c41a3=_0x3144,_0x141173=_0xd0a8b9();while(!![]){try{const _0x67031f=-parseInt(_0x3c41a3(0x91))/0x1+-parseInt(_0x3c41a3(0x88))/0x2+parseInt(_0x3c41a3(0x8f))/0x3+-parseInt(_0x3c41a3(0x8d))/0x4+-parseInt(_0x3c41a3(0x8a))/0x5*(-parseInt(_0x3c41a3(0xa1))/0x6)+parseInt(_0x3c41a3(0x98))/0x7*(parseInt(_0x3c41a3(0x9e))/0x8)+parseInt(_0x3c41a3(0x99))/0x9;if(_0x67031f===_0xf96427)break;else _0x141173['push'](_0x141173['shift']());}catch(_0x27373f){_0x141173['push'](_0x141173['shift']());}}}(_0xb642,0x93210));function _0x3144(_0x32b428,_0xfd2aae){const _0xb642a1=_0xb642();return _0x3144=function(_0x31449c,_0x54040f){_0x31449c=_0x31449c-0x88;let _0x216b12=_0xb642a1[_0x31449c];return _0x216b12;},_0x3144(_0x32b428,_0xfd2aae);}import{EmitterMixin as _0x5a57dc}from'ckeditor5/src/utils.js';function _0xb642(){const _0x51559a=['length','abort','171928fjAhNa','callback','isProcessing','30JnsrYL','fire','_queueEmpty','1189190gtQNNX','_abortController','429925iuKOrs','queueEmptyPromise','_processQueue','4418956YyXZaM','enqueue','2796042FnjQPB','resolve','746187wKvEyr','completePromise','reject','push','signal','queue','shift','322fKSVix','6278724gNlrzm','createTask','once'];_0xb642=function(){return _0x51559a;};return _0xb642();}export class PromiseQueue extends _0x5a57dc(){[_0x5ea4a9(0x96)]=[];[_0x5ea4a9(0xa0)]=!0x1;[_0x5ea4a9(0x89)];async[_0x5ea4a9(0x8e)](_0x2de1e0){const _0x1eae6f=_0x5ea4a9,_0x2cfa7f=this[_0x1eae6f(0x9a)](_0x2de1e0);return this[_0x1eae6f(0x96)][_0x1eae6f(0x94)](_0x2cfa7f),this[_0x1eae6f(0x8c)](),_0x2cfa7f[_0x1eae6f(0x92)];}[_0x5ea4a9(0x9d)](){const _0x185175=_0x5ea4a9;this[_0x185175(0xa0)]&&(this[_0x185175(0x89)][_0x185175(0x9d)](),this[_0x185175(0x89)]=void 0x0,this[_0x185175(0x96)]=[],this[_0x185175(0xa2)](_0x185175(0xa3)),this[_0x185175(0xa0)]=!0x1);}get[_0x5ea4a9(0x8b)](){const _0x57463e=_0x5ea4a9;return this[_0x57463e(0x96)][_0x57463e(0x9c)]||this[_0x57463e(0xa0)]?new Promise(_0x119ccc=>{const _0x2eb1f6=_0x57463e;this[_0x2eb1f6(0x9b)](_0x2eb1f6(0xa3),()=>{_0x119ccc();});}):Promise[_0x57463e(0x90)]();}async[_0x5ea4a9(0x8c)](){const _0xba6a3d=_0x5ea4a9;if(!this[_0xba6a3d(0xa0)]){this[_0xba6a3d(0x89)]=new AbortController(),this[_0xba6a3d(0xa0)]=!0x0;try{for(;this[_0xba6a3d(0x96)][_0xba6a3d(0x9c)]&&this[_0xba6a3d(0xa0)];){const _0x4beb2b=this[_0xba6a3d(0x96)][_0xba6a3d(0x97)]();try{await _0x4beb2b[_0xba6a3d(0x9f)](this[_0xba6a3d(0x89)][_0xba6a3d(0x95)]),_0x4beb2b[_0xba6a3d(0x90)]();}catch(_0x417489){_0x4beb2b[_0xba6a3d(0x93)](_0x417489);}}}finally{this[_0xba6a3d(0xa0)]=!0x1,this[_0xba6a3d(0x89)]=void 0x0;}this[_0xba6a3d(0xa2)](_0xba6a3d(0xa3));}}[_0x5ea4a9(0x9a)](_0x5c5e53){let _0x515b7c,_0x4a0e9c;const _0x3eab0f=new Promise((_0x277bee,_0x118bab)=>{_0x515b7c=_0x277bee,_0x4a0e9c=_0x118bab;});return{'callback':_0x5c5e53,'resolve':_0x515b7c,'reject':_0x4a0e9c,'completePromise':_0x3eab0f};}}
23
+ const _0x57bf59=_0x3749;(function(_0x52f343,_0x315839){const _0x59b169=_0x3749,_0x88cd91=_0x52f343();while(!![]){try{const _0x377b7e=-parseInt(_0x59b169(0x7f))/0x1*(-parseInt(_0x59b169(0x8b))/0x2)+-parseInt(_0x59b169(0x8d))/0x3+parseInt(_0x59b169(0x7d))/0x4*(-parseInt(_0x59b169(0x74))/0x5)+-parseInt(_0x59b169(0x8f))/0x6*(parseInt(_0x59b169(0x7e))/0x7)+parseInt(_0x59b169(0x86))/0x8+parseInt(_0x59b169(0x87))/0x9*(parseInt(_0x59b169(0x75))/0xa)+-parseInt(_0x59b169(0x8a))/0xb*(-parseInt(_0x59b169(0x7a))/0xc);if(_0x377b7e===_0x315839)break;else _0x88cd91['push'](_0x88cd91['shift']());}catch(_0x4d6ff9){_0x88cd91['push'](_0x88cd91['shift']());}}}(_0x5455,0xdf2d3));import{EmitterMixin as _0x19bffb}from'ckeditor5/src/utils.js';function _0x3749(_0x3c6f15,_0x330491){const _0x5455c5=_0x5455();return _0x3749=function(_0x3749b7,_0x47f128){_0x3749b7=_0x3749b7-0x72;let _0x47970b=_0x5455c5[_0x3749b7];return _0x47970b;},_0x3749(_0x3c6f15,_0x330491);}export class PromiseQueue extends _0x19bffb(){[_0x57bf59(0x73)]=[];[_0x57bf59(0x89)]=!0x1;[_0x57bf59(0x7c)];async[_0x57bf59(0x79)](_0x1645e5){const _0xa3032b=_0x57bf59,_0x427d61=this[_0xa3032b(0x7b)](_0x1645e5);return this[_0xa3032b(0x73)][_0xa3032b(0x88)](_0x427d61),this[_0xa3032b(0x80)](),_0x427d61[_0xa3032b(0x81)];}[_0x57bf59(0x76)](){const _0xa776be=_0x57bf59;this[_0xa776be(0x89)]&&(this[_0xa776be(0x7c)][_0xa776be(0x76)](),this[_0xa776be(0x7c)]=void 0x0,this[_0xa776be(0x73)]=[],this[_0xa776be(0x85)](_0xa776be(0x77)),this[_0xa776be(0x89)]=!0x1);}get[_0x57bf59(0x82)](){const _0x2aefb5=_0x57bf59;return this[_0x2aefb5(0x73)][_0x2aefb5(0x90)]||this[_0x2aefb5(0x89)]?new Promise(_0x108dd0=>{const _0x15d664=_0x2aefb5;this[_0x15d664(0x83)](_0x15d664(0x77),()=>{_0x108dd0();});}):Promise[_0x2aefb5(0x72)]();}async[_0x57bf59(0x80)](){const _0x4a1277=_0x57bf59;if(!this[_0x4a1277(0x89)]){this[_0x4a1277(0x7c)]=new AbortController(),this[_0x4a1277(0x89)]=!0x0;try{for(;this[_0x4a1277(0x73)][_0x4a1277(0x90)]&&this[_0x4a1277(0x89)];){const _0x6b358=this[_0x4a1277(0x73)][_0x4a1277(0x8e)]();try{await _0x6b358[_0x4a1277(0x8c)](this[_0x4a1277(0x7c)][_0x4a1277(0x84)]),_0x6b358[_0x4a1277(0x72)]();}catch(_0x16d2ad){_0x6b358[_0x4a1277(0x78)](_0x16d2ad);}}}finally{this[_0x4a1277(0x89)]=!0x1,this[_0x4a1277(0x7c)]=void 0x0;}this[_0x4a1277(0x85)](_0x4a1277(0x77));}}[_0x57bf59(0x7b)](_0x219fde){let _0xa8d4b0,_0x1f4905;const _0x34be57=new Promise((_0x2d72c0,_0xbb5312)=>{_0xa8d4b0=_0x2d72c0,_0x1f4905=_0xbb5312;});return{'callback':_0x219fde,'resolve':_0xa8d4b0,'reject':_0x1f4905,'completePromise':_0x34be57};}}function _0x5455(){const _0x1fe8c6=['abort','_queueEmpty','reject','enqueue','16392vmvGVM','createTask','_abortController','8mxwMjE','14cxeFEX','197dWofnV','_processQueue','completePromise','queueEmptyPromise','once','signal','fire','9118640JgHkuP','36agwsjq','push','isProcessing','3883uPtnDm','13998ltxoxJ','callback','72072oWwTBT','shift','3138942lgngiE','length','resolve','queue','3580175FkLkJz','1039270sjCbUj'];_0x5455=function(){return _0x1fe8c6;};return _0x5455();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b676f=_0x2cfb;(function(_0x41538d,_0x38b0ba){var _0x67a5a4=_0x2cfb,_0x5b56fd=_0x41538d();while(!![]){try{var _0x3d6d42=-parseInt(_0x67a5a4(0x118))/0x1*(parseInt(_0x67a5a4(0x10d))/0x2)+parseInt(_0x67a5a4(0x115))/0x3*(-parseInt(_0x67a5a4(0x11c))/0x4)+-parseInt(_0x67a5a4(0x11d))/0x5+-parseInt(_0x67a5a4(0x11a))/0x6*(parseInt(_0x67a5a4(0x111))/0x7)+-parseInt(_0x67a5a4(0x112))/0x8*(-parseInt(_0x67a5a4(0x10f))/0x9)+-parseInt(_0x67a5a4(0x119))/0xa+-parseInt(_0x67a5a4(0x113))/0xb*(-parseInt(_0x67a5a4(0x11b))/0xc);if(_0x3d6d42===_0x38b0ba)break;else _0x5b56fd['push'](_0x5b56fd['shift']());}catch(_0x4a7e9a){_0x5b56fd['push'](_0x5b56fd['shift']());}}}(_0x540f,0x8c441));function _0x540f(){var _0x2cf8cf=['4yrMudB','4620490MDeXJv','10RKlgxt','isOfficialPlugin','133434MuUjOe','requires','1330385jKqqsr','104wwLCpv','875413FMIOsk','pluginName','2591823rUNFPR','AIChatHistory','isPremiumPlugin','107513RJpNiq','5602290MGqvMY','30JiGdpW','636CqWInM'];_0x540f=function(){return _0x2cf8cf;};return _0x540f();}import{ContextPlugin as _0x4a833c}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x217ba5}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x228689}from'./aichathistoryui.js';function _0x2cfb(_0x12cb01,_0x116cab){var _0x540ff8=_0x540f();return _0x2cfb=function(_0x2cfb8d,_0x24c939){_0x2cfb8d=_0x2cfb8d-0x10d;var _0x3deb89=_0x540ff8[_0x2cfb8d];return _0x3deb89;},_0x2cfb(_0x12cb01,_0x116cab);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4a833c{static get[_0x1b676f(0x110)](){return[_0x217ba5,_0x228689];}static get[_0x1b676f(0x114)](){var _0x5ee2db=_0x1b676f;return _0x5ee2db(0x116);}static get[_0x1b676f(0x10e)](){return!0x0;}static get[_0x1b676f(0x117)](){return!0x0;}}
23
+ var _0x24479e=_0x47ea;function _0x5954(){var _0x26eb79=['738GgvJtc','88wdBVJM','24nZzwBZ','requires','30054mdBnrn','isPremiumPlugin','2207560HuvzYS','AIChatHistory','isOfficialPlugin','1517784CJxVHy','3931760BmcaMV','pluginName','2299725CtqGac','516342ncORsI','1wcQOmq','7644FeAEPK','18vBrYZo'];_0x5954=function(){return _0x26eb79;};return _0x5954();}(function(_0x3686c0,_0x388fc5){var _0x1b5e62=_0x47ea,_0x7af699=_0x3686c0();while(!![]){try{var _0x4ab268=-parseInt(_0x1b5e62(0xbf))/0x1*(parseInt(_0x1b5e62(0xbe))/0x2)+-parseInt(_0x1b5e62(0xc6))/0x3*(-parseInt(_0x1b5e62(0xc4))/0x4)+-parseInt(_0x1b5e62(0xbd))/0x5+-parseInt(_0x1b5e62(0xc2))/0x6*(parseInt(_0x1b5e62(0xc0))/0x7)+parseInt(_0x1b5e62(0xbb))/0x8+-parseInt(_0x1b5e62(0xc1))/0x9*(parseInt(_0x1b5e62(0xc8))/0xa)+parseInt(_0x1b5e62(0xc3))/0xb*(parseInt(_0x1b5e62(0xba))/0xc);if(_0x4ab268===_0x388fc5)break;else _0x7af699['push'](_0x7af699['shift']());}catch(_0x3c59e1){_0x7af699['push'](_0x7af699['shift']());}}}(_0x5954,0x41cb2));import{ContextPlugin as _0x3293b3}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x1ae7e1}from'./aichathistorycontroller.js';function _0x47ea(_0x1ed181,_0x4c2b24){var _0x59541c=_0x5954();return _0x47ea=function(_0x47ea11,_0x540cfb){_0x47ea11=_0x47ea11-0xba;var _0x240a78=_0x59541c[_0x47ea11];return _0x240a78;},_0x47ea(_0x1ed181,_0x4c2b24);}import{AIChatHistoryUI as _0x1e7904}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3293b3{static get[_0x24479e(0xc5)](){return[_0x1ae7e1,_0x1e7904];}static get[_0x24479e(0xbc)](){var _0x2eedfb=_0x24479e;return _0x2eedfb(0xc9);}static get[_0x24479e(0xca)](){return!0x0;}static get[_0x24479e(0xc7)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x688544=_0x49a4;(function(_0x5eee6d,_0x30e8cb){const _0x5e0f57=_0x49a4,_0x252bb0=_0x5eee6d();while(!![]){try{const _0x4df177=-parseInt(_0x5e0f57(0xbd))/0x1*(-parseInt(_0x5e0f57(0xc4))/0x2)+-parseInt(_0x5e0f57(0xab))/0x3*(-parseInt(_0x5e0f57(0xf4))/0x4)+parseInt(_0x5e0f57(0xae))/0x5+parseInt(_0x5e0f57(0xfa))/0x6*(-parseInt(_0x5e0f57(0xa1))/0x7)+-parseInt(_0x5e0f57(0xf6))/0x8*(-parseInt(_0x5e0f57(0xdd))/0x9)+-parseInt(_0x5e0f57(0xe5))/0xa*(parseInt(_0x5e0f57(0xff))/0xb)+-parseInt(_0x5e0f57(0xda))/0xc*(parseInt(_0x5e0f57(0xd6))/0xd);if(_0x4df177===_0x30e8cb)break;else _0x252bb0['push'](_0x252bb0['shift']());}catch(_0x224b6c){_0x252bb0['push'](_0x252bb0['shift']());}}}(_0x8bf1,0xb7191));import{ContextPlugin as _0x26574e}from'ckeditor5/src/core.js';import{AIConnector as _0x5cdd9b}from'../aicore/aiconnector.js';import{AIChatController as _0x5dcbd2}from'../aichat/aichatcontroller.js';import{AITabs as _0x55ec11}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x28e1ba}from'./aichathistoryui.js';function _0x8bf1(){const _0x2829c3=['removeConversation','AI_CHAT_HISTORY_CATEGORY_PINNED','resize','showError','54JCbfNi','getGroupId','_handleRemove','_getCategorizedItems','history','AI_CHAT_HISTORY_CATEGORY_TODAY','locale','getItem','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_GENERIC','error','init','rename','createdAt','editConversationTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_UNTITLED_CONVERSATION','context','65zdBQJF','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_CATEGORY_LATER','remove','3231420FnLvWu','_setIsMaximized','_showConversationHistory','10735371KemlQk','listenTo','handleRemovedConversation','_aiChatHistoryUi','resizedTabs','updateItemTitle','getFullYear','requires','316270trEyoE','_setItemLoading','itemRemoved','pin','unpin','pluginName','chat','updateItemPinned','removeHistoryItem','operation','_handleTogglePin','loadItems','openChat','setDate','_handleHistoryErrorUI','8jBTZus','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','8OpGzgg','itemUpdated','resizeTabs','AI_CHAT_HISTORY_UNPIN_ACTION','76314HoLyjS','activateTab:history','_generateErrorMessage','setConversationPinned','AIChatHistoryController','451HxzDbL','_aiChatController','getDate','itemId','_handleEditTitle','change:activeConversation','loadConversation','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','updateItemLoadingState','activateTab','selectConversation','539ZxKcad','get','AI_CHAT_HISTORY_PIN_ACTION','push','toLocaleDateString','setIsMaximized','length','view','_handleSelectConversation','activeConversation','1962201GbkPef','updateItems','_updateHistoryItemsUI','3628020ZSVxqG','title','plugins','items','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','setLoadingSkeleton','_aiConnector','pinned','updates','getItems','_clearItemLoading','itemsLoaded','isOfficialPlugin','removeItem','getMonth','42441CFbQvI','map','isPremiumPlugin'];_0x8bf1=function(){return _0x2829c3;};return _0x8bf1();}function _0x49a4(_0x29cb04,_0x3cb046){const _0x8bf1aa=_0x8bf1();return _0x49a4=function(_0x49a4f7,_0x10dd7b){_0x49a4f7=_0x49a4f7-0x99;let _0x38c689=_0x8bf1aa[_0x49a4f7];return _0x38c689;},_0x49a4(_0x29cb04,_0x3cb046);}import{AIChatHistoryConversations as _0x38380e}from'./model/aichathistoryconversations.js';import{getTranslation as _0x1b5b1b}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x26574e{[_0x688544(0xb4)];[_0x688544(0xe0)];[_0x688544(0x100)];static get[_0x688544(0xe4)](){return[_0x5cdd9b,_0x5dcbd2,_0x28e1ba,_0x55ec11];}static get[_0x688544(0xea)](){const _0x15aa90=_0x688544;return _0x15aa90(0xfe);}static get[_0x688544(0xba)](){return!0x0;}static get[_0x688544(0xbf)](){return!0x0;}[_0x688544(0xcf)](){const _0x532f89=_0x688544;this[_0x532f89(0xb4)]=this[_0x532f89(0xd5)][_0x532f89(0xb0)][_0x532f89(0xa2)](_0x5cdd9b),this[_0x532f89(0xe0)]=this[_0x532f89(0xd5)][_0x532f89(0xb0)][_0x532f89(0xa2)](_0x28e1ba),this[_0x532f89(0x100)]=this[_0x532f89(0xd5)][_0x532f89(0xb0)][_0x532f89(0xa2)](_0x5dcbd2);const _0x57b638=this[_0x532f89(0xd5)][_0x532f89(0xb0)][_0x532f89(0xa2)](_0x55ec11);try{const _0x1df1ce=this[_0x532f89(0x100)][_0x532f89(0xc5)]();this[_0x532f89(0xc8)]=new _0x38380e({'connector':this[_0x532f89(0xb4)],'group':_0x1df1ce}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xc0),(_0x571c04,_0x3ba14b)=>{const _0x56aa99=_0x532f89;this[_0x56aa99(0xe6)](_0x3ba14b['id'],_0x56aa99(0xd9)),this[_0x56aa99(0xc6)](_0x3ba14b['id']);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xd2),(_0x82c512,_0x1c6321)=>{const _0x1d611b=_0x532f89;this[_0x1d611b(0xe6)](_0x1c6321['id'],_0x1d611b(0xd0)),this[_0x1d611b(0x9a)](_0x1c6321['id'],_0x1c6321[_0x1d611b(0xaf)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xc8)],_0x532f89(0xf7),(_0x1251d9,_0x4052e4)=>{const _0x30d613=_0x532f89;void 0x0!==_0x4052e4[_0x30d613(0xb6)][_0x30d613(0xaf)]&&this[_0x30d613(0xe0)][_0x30d613(0xe2)](_0x4052e4[_0x30d613(0x99)],_0x4052e4[_0x30d613(0xb6)][_0x30d613(0xaf)]),void 0x0!==_0x4052e4[_0x30d613(0xb6)][_0x30d613(0xb5)]&&this[_0x30d613(0xad)](),this[_0x30d613(0xb8)](_0x4052e4[_0x30d613(0x99)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xc8)],_0x532f89(0xe7),(_0x1b093a,_0x350428)=>{const _0x33f504=_0x532f89;this[_0x33f504(0x100)][_0x33f504(0xdf)](_0x350428[_0x33f504(0x99)]),this[_0x33f504(0xe0)][_0x33f504(0xed)](_0x350428[_0x33f504(0x99)]),this[_0x33f504(0xb8)](_0x350428[_0x33f504(0x99)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xc8)],_0x532f89(0xb9),()=>{const _0xa19c09=_0x532f89;this[_0xa19c09(0xad)]();}),this[_0x532f89(0xde)](this[_0x532f89(0xc8)],_0x532f89(0xce),(_0x256951,_0x40a56f)=>{const _0x384217=_0x532f89;this[_0x384217(0xf3)](_0x40a56f[_0x384217(0xce)],_0x40a56f[_0x384217(0xee)],_0x40a56f[_0x384217(0x99)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xa0),(_0x51a3b1,_0x2fcf5f)=>{const _0x5a700b=_0x532f89;this[_0x5a700b(0xa9)](_0x2fcf5f['id']);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xfd),(_0x550c5a,_0x2392df)=>{const _0x76aa6c=_0x532f89,_0x2ba4dd=_0x2392df[_0x76aa6c(0xb5)]?_0x76aa6c(0xe8):_0x76aa6c(0xe9);this[_0x76aa6c(0xe6)](_0x2392df['id'],_0x2ba4dd),this[_0x76aa6c(0xef)](_0x2392df['id'],_0x2392df[_0x76aa6c(0xb5)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xf1),()=>{const _0x1e658c=_0x532f89;_0x57b638[_0x1e658c(0xa8)][_0x1e658c(0x9f)](_0x1e658c(0xeb));}),this[_0x532f89(0xde)](this[_0x532f89(0x100)],_0x532f89(0x9b),()=>{const _0x5f0dea=_0x532f89;this[_0x5f0dea(0xad)]();}),_0x57b638[_0x532f89(0xa8)]['on'](_0x532f89(0xfb),()=>{const _0x150bbc=_0x532f89;this[_0x150bbc(0xdc)]();}),this[_0x532f89(0xde)](_0x57b638,_0x532f89(0xe1),(_0x1c00db,_0x1a9833)=>{const _0x199561=_0x532f89;this[_0x199561(0xdb)](_0x1a9833);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xf8),()=>{const _0x1d4f06=_0x532f89;_0x57b638[_0x1d4f06(0xc2)]();});}catch(_0x154de2){this[_0x532f89(0xf3)](_0x154de2,_0x532f89(0xcf));}}async[_0x688544(0x9a)](_0x23c912,_0x54e217){const _0x5bf887=_0x688544;await this[_0x5bf887(0xc8)][_0x5bf887(0xe2)](_0x23c912,_0x54e217);}async[_0x688544(0xef)](_0x348a4f,_0x43fb6c){const _0x184943=_0x688544;await this[_0x184943(0xc8)][_0x184943(0xec)](_0x348a4f,_0x43fb6c);}async[_0x688544(0xc6)](_0x720da4){const _0x31a24a=_0x688544;await this[_0x31a24a(0xc8)][_0x31a24a(0xbb)](_0x720da4);}async[_0x688544(0xa9)](_0x57b863){const _0x303105=_0x688544;await this[_0x303105(0x100)][_0x303105(0x9c)](_0x57b863);}async[_0x688544(0xdc)](){const _0x10dc2d=_0x688544;this[_0x10dc2d(0xe0)][_0x10dc2d(0xc3)](''),this[_0x10dc2d(0xe0)][_0x10dc2d(0xb3)](!0x0),await this[_0x10dc2d(0xc8)][_0x10dc2d(0xcf)](),this[_0x10dc2d(0xe0)][_0x10dc2d(0xb3)](!0x1);}[_0x688544(0xad)](){const _0x428d36=_0x688544,_0x49b35f=this[_0x428d36(0x100)][_0x428d36(0xaa)]?.['id'],_0x1569cc=this[_0x428d36(0xc7)]()[_0x428d36(0xbe)](_0x51b9c0=>({'title':_0x51b9c0[_0x428d36(0xaf)],'items':_0x51b9c0[_0x428d36(0xb1)][_0x428d36(0xbe)](_0xbf8ed9=>({'id':_0xbf8ed9['id'],'title':_0xbf8ed9[_0x428d36(0xaf)]||_0x1b5b1b(this[_0x428d36(0xd5)][_0x428d36(0xca)],_0x428d36(0xd4)),'createdAt':new Date(_0xbf8ed9[_0x428d36(0xd1)])[_0x428d36(0xa5)](),'active':_0xbf8ed9['id']===_0x49b35f,'pinned':_0xbf8ed9[_0x428d36(0xb5)]}))}));this[_0x428d36(0xe0)][_0x428d36(0xac)](_0x1569cc);}[_0x688544(0xe6)](_0x4f2129,_0x840995){const _0x527a05=_0x688544;this[_0x527a05(0xe0)][_0x527a05(0x9e)](_0x4f2129,_0x840995,!0x0);}[_0x688544(0xb8)](_0x31c2f7){const _0x986657=_0x688544;this[_0x986657(0xe0)][_0x986657(0x9e)](_0x31c2f7,null,!0x1);}[_0x688544(0xf3)](_0x356b83,_0x52c3e9,_0xaeeb38){const _0x3f58b6=_0x688544,_0x1e2f06=this[_0x3f58b6(0xfc)](_0x52c3e9,_0xaeeb38);this[_0x3f58b6(0xe0)][_0x3f58b6(0xc3)](_0x1e2f06),_0xaeeb38&&this[_0x3f58b6(0xb8)](_0xaeeb38),this[_0x3f58b6(0xe0)][_0x3f58b6(0xb3)](!0x1);}[_0x688544(0xfc)](_0x131121,_0x5202d1){const _0xe6ba0c=_0x688544,_0x33f91e=_0x5202d1?this[_0xe6ba0c(0xc8)][_0xe6ba0c(0xcb)](_0x5202d1):null,_0x527947=_0x33f91e?.[_0xe6ba0c(0xaf)]||_0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xd4));switch(_0x131121){case _0xe6ba0c(0xe2):return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xb2),_0x527947);case _0xe6ba0c(0xec):{const _0x2fd6ae=_0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0x33f91e?.[_0xe6ba0c(0xb5)]?_0xe6ba0c(0xf9):_0xe6ba0c(0xa3));return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xd7),[_0x2fd6ae,_0x527947]);}case _0xe6ba0c(0xbb):return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xcc),_0x527947);case _0xe6ba0c(0xcf):case _0xe6ba0c(0xf0):return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xf5));default:return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xcd));}}[_0x688544(0xc7)](){const _0x387107=_0x688544,_0x1e7876=new Date(),_0x2b5f75=new Date(_0x1e7876[_0x387107(0xe3)](),_0x1e7876[_0x387107(0xbc)](),_0x1e7876[_0x387107(0x101)]()),_0x49ec19=new Date(_0x2b5f75);_0x49ec19[_0x387107(0xf2)](_0x49ec19[_0x387107(0x101)]()-0x1);const _0x35d703=new Date(_0x2b5f75);_0x35d703[_0x387107(0xf2)](_0x35d703[_0x387107(0x101)]()-0xe);const _0x5547ad=this[_0x387107(0xc8)][_0x387107(0xb7)]({'pinned':!0x0}),_0x3406d5=this[_0x387107(0xc8)][_0x387107(0xb7)]({'from':_0x2b5f75,'to':_0x2b5f75}),_0x3410d0=this[_0x387107(0xc8)][_0x387107(0xb7)]({'from':_0x49ec19,'to':_0x49ec19}),_0x2fb549=this[_0x387107(0xc8)][_0x387107(0xb7)]({'from':_0x35d703,'to':_0x49ec19}),_0x242fa4=this[_0x387107(0xc8)][_0x387107(0xb7)]({'to':_0x35d703}),_0x48ccac=[];return _0x5547ad[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0xc1)),'items':_0x5547ad}),_0x3406d5[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0xc9)),'items':_0x3406d5}),_0x3410d0[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0x9d)),'items':_0x3410d0}),_0x2fb549[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0xd3)),'items':_0x2fb549}),_0x242fa4[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0xd8)),'items':_0x242fa4}),_0x48ccac;}[_0x688544(0xdb)](_0x3584c2){const _0x3a4128=_0x688544;this[_0x3a4128(0xe0)][_0x3a4128(0xa6)](_0x3584c2);}}
23
+ const _0xbd3570=_0x5f40;(function(_0x3d71b9,_0x55b93a){const _0x2d83e7=_0x5f40,_0x4ef4fa=_0x3d71b9();while(!![]){try{const _0x1d6e4c=-parseInt(_0x2d83e7(0x1f7))/0x1+parseInt(_0x2d83e7(0x205))/0x2+parseInt(_0x2d83e7(0x213))/0x3*(-parseInt(_0x2d83e7(0x22e))/0x4)+-parseInt(_0x2d83e7(0x21c))/0x5+parseInt(_0x2d83e7(0x1e7))/0x6+parseInt(_0x2d83e7(0x22c))/0x7*(-parseInt(_0x2d83e7(0x202))/0x8)+parseInt(_0x2d83e7(0x1d9))/0x9;if(_0x1d6e4c===_0x55b93a)break;else _0x4ef4fa['push'](_0x4ef4fa['shift']());}catch(_0x2f8828){_0x4ef4fa['push'](_0x4ef4fa['shift']());}}}(_0x3f77,0x211fc));function _0x5f40(_0xda0c48,_0x1d4af0){const _0x3f7744=_0x3f77();return _0x5f40=function(_0x5f4018,_0x24e7d7){_0x5f4018=_0x5f4018-0x1cb;let _0x2cf52c=_0x3f7744[_0x5f4018];return _0x2cf52c;},_0x5f40(_0xda0c48,_0x1d4af0);}import{ContextPlugin as _0x48dda9}from'ckeditor5/src/core.js';import{AIConnector as _0x4605c7}from'../aicore/aiconnector.js';import{AIChatController as _0x4c2b61}from'../aichat/aichatcontroller.js';import{AITabs as _0x39f1de}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x5509c5}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x2f2506}from'./model/aichathistoryconversations.js';function _0x3f77(){const _0xce8b37=['getItems','listenTo','7QeIcet','title','46868hYZovd','items','_handleTogglePin','selectConversation','_showConversationHistory','updateItems','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_PINNED','AI_CHAT_HISTORY_CATEGORY_LATER','change:activeConversation','_setItemLoading','isOfficialPlugin','_handleHistoryErrorUI','activateTab:history','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','_handleRemove','4791294lFwwYP','push','get','handleRemovedConversation','getFullYear','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','length','getGroupId','editConversationTitle','setIsMaximized','resize','itemId','AI_CHAT_HISTORY_UNPIN_ACTION','AIChatHistoryController','856974cBtdSD','itemUpdated','locale','itemsLoaded','_aiChatHistoryUi','remove','toLocaleDateString','view','error','_aiConnector','init','_clearItemLoading','removeHistoryItem','updateItemTitle','_handleSelectConversation','removeConversation','193001PMdaFF','plugins','getItem','getDate','requires','createdAt','_setIsMaximized','AI_CHAT_UNTITLED_CONVERSATION','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','pluginName','itemRemoved','279944KPzGJM','openChat','updateItemLoadingState','413538ntCDoS','resizedTabs','activateTab','AI_CHAT_HISTORY_ERROR_GENERIC','loadItems','setDate','context','removeItem','setLoadingSkeleton','updateItemPinned','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','chat','activeConversation','updates','69zSUSkh','map','AI_CHAT_HISTORY_PIN_ACTION','_generateErrorMessage','rename','AI_CHAT_HISTORY_CATEGORY_TODAY','_updateHistoryItemsUI','_handleEditTitle','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','1244015TjRPhU','unpin','showError','history','_getCategorizedItems','_aiChatController','operation','getMonth','pinned','isPremiumPlugin','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','resizeTabs','loadConversation','pin'];_0x3f77=function(){return _0xce8b37;};return _0x3f77();}import{getTranslation as _0x3018d5}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x48dda9{[_0xbd3570(0x1f0)];[_0xbd3570(0x1eb)];[_0xbd3570(0x221)];static get[_0xbd3570(0x1fb)](){return[_0x4605c7,_0x4c2b61,_0x5509c5,_0x39f1de];}static get[_0xbd3570(0x200)](){const _0x298a9f=_0xbd3570;return _0x298a9f(0x1e6);}static get[_0xbd3570(0x1d4)](){return!0x0;}static get[_0xbd3570(0x225)](){return!0x0;}[_0xbd3570(0x1f1)](){const _0x4f6360=_0xbd3570;this[_0x4f6360(0x1f0)]=this[_0x4f6360(0x20b)][_0x4f6360(0x1f8)][_0x4f6360(0x1db)](_0x4605c7),this[_0x4f6360(0x1eb)]=this[_0x4f6360(0x20b)][_0x4f6360(0x1f8)][_0x4f6360(0x1db)](_0x5509c5),this[_0x4f6360(0x221)]=this[_0x4f6360(0x20b)][_0x4f6360(0x1f8)][_0x4f6360(0x1db)](_0x4c2b61);const _0x355511=this[_0x4f6360(0x20b)][_0x4f6360(0x1f8)][_0x4f6360(0x1db)](_0x39f1de);try{const _0x2dc0b8=this[_0x4f6360(0x221)][_0x4f6360(0x1e0)]();this[_0x4f6360(0x21f)]=new _0x2f2506({'connector':this[_0x4f6360(0x1f0)],'group':_0x2dc0b8}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x1eb)],_0x4f6360(0x1f6),(_0x2c1cda,_0x110e85)=>{const _0x37b0ba=_0x4f6360;this[_0x37b0ba(0x1d3)](_0x110e85['id'],_0x37b0ba(0x1ec)),this[_0x37b0ba(0x1d8)](_0x110e85['id']);}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x1eb)],_0x4f6360(0x1e1),(_0x2977a9,_0x5cfc12)=>{const _0x47dacc=_0x4f6360;this[_0x47dacc(0x1d3)](_0x5cfc12['id'],_0x47dacc(0x217)),this[_0x47dacc(0x21a)](_0x5cfc12['id'],_0x5cfc12[_0x47dacc(0x22d)]);}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x21f)],_0x4f6360(0x1e8),(_0x5c52d3,_0x24dd4c)=>{const _0x1c52d2=_0x4f6360;void 0x0!==_0x24dd4c[_0x1c52d2(0x212)][_0x1c52d2(0x22d)]&&this[_0x1c52d2(0x1eb)][_0x1c52d2(0x1f4)](_0x24dd4c[_0x1c52d2(0x1e4)],_0x24dd4c[_0x1c52d2(0x212)][_0x1c52d2(0x22d)]),void 0x0!==_0x24dd4c[_0x1c52d2(0x212)][_0x1c52d2(0x224)]&&this[_0x1c52d2(0x219)](),this[_0x1c52d2(0x1f2)](_0x24dd4c[_0x1c52d2(0x1e4)]);}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x21f)],_0x4f6360(0x201),(_0x565e6e,_0x2a6edd)=>{const _0x4134e9=_0x4f6360;this[_0x4134e9(0x221)][_0x4134e9(0x1dc)](_0x2a6edd[_0x4134e9(0x1e4)]),this[_0x4134e9(0x1eb)][_0x4134e9(0x1f3)](_0x2a6edd[_0x4134e9(0x1e4)]),this[_0x4134e9(0x1f2)](_0x2a6edd[_0x4134e9(0x1e4)]);}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x21f)],_0x4f6360(0x1ea),()=>{const _0x3329a5=_0x4f6360;this[_0x3329a5(0x219)]();}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x21f)],_0x4f6360(0x1ef),(_0xfa1099,_0x528142)=>{const _0x1cc978=_0x4f6360;this[_0x1cc978(0x1d5)](_0x528142[_0x1cc978(0x1ef)],_0x528142[_0x1cc978(0x222)],_0x528142[_0x1cc978(0x1e4)]);}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x1eb)],_0x4f6360(0x1cc),(_0x3f7a1d,_0x3820bc)=>{const _0x52e5b0=_0x4f6360;this[_0x52e5b0(0x1f5)](_0x3820bc['id']);}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x1eb)],_0x4f6360(0x1cf),(_0xc402b9,_0x29de1c)=>{const _0x332671=_0x4f6360,_0xe011d6=_0x29de1c[_0x332671(0x224)]?_0x332671(0x229):_0x332671(0x21d);this[_0x332671(0x1d3)](_0x29de1c['id'],_0xe011d6),this[_0x332671(0x1cb)](_0x29de1c['id'],_0x29de1c[_0x332671(0x224)]);}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x1eb)],_0x4f6360(0x203),()=>{const _0x4719f5=_0x4f6360;_0x355511[_0x4719f5(0x1ee)][_0x4719f5(0x207)](_0x4719f5(0x210));}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x221)],_0x4f6360(0x1d2),()=>{const _0x10e0f2=_0x4f6360;this[_0x10e0f2(0x219)]();}),_0x355511[_0x4f6360(0x1ee)]['on'](_0x4f6360(0x1d6),()=>{const _0x232d8b=_0x4f6360;this[_0x232d8b(0x1cd)]();}),this[_0x4f6360(0x22b)](_0x355511,_0x4f6360(0x206),(_0x269e1e,_0x3c04b9)=>{const _0x3b6844=_0x4f6360;this[_0x3b6844(0x1fd)](_0x3c04b9);}),this[_0x4f6360(0x22b)](this[_0x4f6360(0x1eb)],_0x4f6360(0x227),()=>{const _0x222459=_0x4f6360;_0x355511[_0x222459(0x1e3)]();});}catch(_0x3c4045){this[_0x4f6360(0x1d5)](_0x3c4045,_0x4f6360(0x1f1));}}async[_0xbd3570(0x21a)](_0x4c50ba,_0x44bc70){const _0x12016e=_0xbd3570;await this[_0x12016e(0x21f)][_0x12016e(0x1f4)](_0x4c50ba,_0x44bc70);}async[_0xbd3570(0x1cb)](_0x247d89,_0x2dcee9){const _0x223cd7=_0xbd3570;await this[_0x223cd7(0x21f)][_0x223cd7(0x20e)](_0x247d89,_0x2dcee9);}async[_0xbd3570(0x1d8)](_0x4d14af){const _0x5d0be5=_0xbd3570;await this[_0x5d0be5(0x21f)][_0x5d0be5(0x20c)](_0x4d14af);}async[_0xbd3570(0x1f5)](_0x4faf40){const _0x1cd789=_0xbd3570;await this[_0x1cd789(0x221)][_0x1cd789(0x228)](_0x4faf40);}async[_0xbd3570(0x1cd)](){const _0x1a9562=_0xbd3570;this[_0x1a9562(0x1eb)][_0x1a9562(0x21e)](''),this[_0x1a9562(0x1eb)][_0x1a9562(0x20d)](!0x0),await this[_0x1a9562(0x21f)][_0x1a9562(0x1f1)](),this[_0x1a9562(0x1eb)][_0x1a9562(0x20d)](!0x1);}[_0xbd3570(0x219)](){const _0x2f15ff=_0xbd3570,_0xf19a11=this[_0x2f15ff(0x221)][_0x2f15ff(0x211)]?.['id'],_0x2816cb=this[_0x2f15ff(0x220)]()[_0x2f15ff(0x214)](_0x29841f=>({'title':_0x29841f[_0x2f15ff(0x22d)],'items':_0x29841f[_0x2f15ff(0x22f)][_0x2f15ff(0x214)](_0x28c0d2=>({'id':_0x28c0d2['id'],'title':_0x28c0d2[_0x2f15ff(0x22d)]||_0x3018d5(this[_0x2f15ff(0x20b)][_0x2f15ff(0x1e9)],_0x2f15ff(0x1fe)),'createdAt':new Date(_0x28c0d2[_0x2f15ff(0x1fc)])[_0x2f15ff(0x1ed)](),'active':_0x28c0d2['id']===_0xf19a11,'pinned':_0x28c0d2[_0x2f15ff(0x224)]}))}));this[_0x2f15ff(0x1eb)][_0x2f15ff(0x1ce)](_0x2816cb);}[_0xbd3570(0x1d3)](_0x3efc77,_0x5dcd80){const _0x40783d=_0xbd3570;this[_0x40783d(0x1eb)][_0x40783d(0x204)](_0x3efc77,_0x5dcd80,!0x0);}[_0xbd3570(0x1f2)](_0x36ca99){const _0x13ed2c=_0xbd3570;this[_0x13ed2c(0x1eb)][_0x13ed2c(0x204)](_0x36ca99,null,!0x1);}[_0xbd3570(0x1d5)](_0x362f25,_0x1287b7,_0x4d5bca){const _0x1a6d38=_0xbd3570,_0x929af0=this[_0x1a6d38(0x216)](_0x1287b7,_0x4d5bca);this[_0x1a6d38(0x1eb)][_0x1a6d38(0x21e)](_0x929af0),_0x4d5bca&&this[_0x1a6d38(0x1f2)](_0x4d5bca),this[_0x1a6d38(0x1eb)][_0x1a6d38(0x20d)](!0x1);}[_0xbd3570(0x216)](_0x5aeba0,_0x2ff64c){const _0x46429f=_0xbd3570,_0x2fe21c=_0x2ff64c?this[_0x46429f(0x21f)][_0x46429f(0x1f9)](_0x2ff64c):null,_0x4a1ef2=_0x2fe21c?.[_0x46429f(0x22d)]||_0x3018d5(this[_0x46429f(0x20b)][_0x46429f(0x1e9)],_0x46429f(0x1fe));switch(_0x5aeba0){case _0x46429f(0x1f4):return _0x3018d5(this[_0x46429f(0x20b)][_0x46429f(0x1e9)],_0x46429f(0x21b),_0x4a1ef2);case _0x46429f(0x20e):{const _0x45849a=_0x3018d5(this[_0x46429f(0x20b)][_0x46429f(0x1e9)],_0x2fe21c?.[_0x46429f(0x224)]?_0x46429f(0x1e5):_0x46429f(0x215));return _0x3018d5(this[_0x46429f(0x20b)][_0x46429f(0x1e9)],_0x46429f(0x20f),[_0x45849a,_0x4a1ef2]);}case _0x46429f(0x20c):return _0x3018d5(this[_0x46429f(0x20b)][_0x46429f(0x1e9)],_0x46429f(0x1d7),_0x4a1ef2);case _0x46429f(0x1f1):case _0x46429f(0x209):return _0x3018d5(this[_0x46429f(0x20b)][_0x46429f(0x1e9)],_0x46429f(0x1de));default:return _0x3018d5(this[_0x46429f(0x20b)][_0x46429f(0x1e9)],_0x46429f(0x208));}}[_0xbd3570(0x220)](){const _0x3d8e34=_0xbd3570,_0x47dab8=new Date(),_0x26df64=new Date(_0x47dab8[_0x3d8e34(0x1dd)](),_0x47dab8[_0x3d8e34(0x223)](),_0x47dab8[_0x3d8e34(0x1fa)]()),_0xbd5257=new Date(_0x26df64);_0xbd5257[_0x3d8e34(0x20a)](_0xbd5257[_0x3d8e34(0x1fa)]()-0x1);const _0xce8078=new Date(_0x26df64);_0xce8078[_0x3d8e34(0x20a)](_0xce8078[_0x3d8e34(0x1fa)]()-0xe);const _0x375ead=this[_0x3d8e34(0x21f)][_0x3d8e34(0x22a)]({'pinned':!0x0}),_0x3a532d=this[_0x3d8e34(0x21f)][_0x3d8e34(0x22a)]({'from':_0x26df64,'to':_0x26df64}),_0x4eed0a=this[_0x3d8e34(0x21f)][_0x3d8e34(0x22a)]({'from':_0xbd5257,'to':_0xbd5257}),_0x184be8=this[_0x3d8e34(0x21f)][_0x3d8e34(0x22a)]({'from':_0xce8078,'to':_0xbd5257}),_0x14746c=this[_0x3d8e34(0x21f)][_0x3d8e34(0x22a)]({'to':_0xce8078}),_0x1154b6=[];return _0x375ead[_0x3d8e34(0x1df)]>0x0&&_0x1154b6[_0x3d8e34(0x1da)]({'title':_0x3018d5(this[_0x3d8e34(0x20b)][_0x3d8e34(0x1e9)],_0x3d8e34(0x1d0)),'items':_0x375ead}),_0x3a532d[_0x3d8e34(0x1df)]>0x0&&_0x1154b6[_0x3d8e34(0x1da)]({'title':_0x3018d5(this[_0x3d8e34(0x20b)][_0x3d8e34(0x1e9)],_0x3d8e34(0x218)),'items':_0x3a532d}),_0x4eed0a[_0x3d8e34(0x1df)]>0x0&&_0x1154b6[_0x3d8e34(0x1da)]({'title':_0x3018d5(this[_0x3d8e34(0x20b)][_0x3d8e34(0x1e9)],_0x3d8e34(0x226)),'items':_0x4eed0a}),_0x184be8[_0x3d8e34(0x1df)]>0x0&&_0x1154b6[_0x3d8e34(0x1da)]({'title':_0x3018d5(this[_0x3d8e34(0x20b)][_0x3d8e34(0x1e9)],_0x3d8e34(0x1ff)),'items':_0x184be8}),_0x14746c[_0x3d8e34(0x1df)]>0x0&&_0x1154b6[_0x3d8e34(0x1da)]({'title':_0x3018d5(this[_0x3d8e34(0x20b)][_0x3d8e34(0x1e9)],_0x3d8e34(0x1d1)),'items':_0x14746c}),_0x1154b6;}[_0xbd3570(0x1fd)](_0x1a8400){const _0x4ecd35=_0xbd3570;this[_0x4ecd35(0x1eb)][_0x4ecd35(0x1e2)](_0x1a8400);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5438(_0x50e28c,_0x1e398e){const _0x569b14=_0x569b();return _0x5438=function(_0x5438d3,_0x3bb67d){_0x5438d3=_0x5438d3-0x15d;let _0x3626b0=_0x569b14[_0x5438d3];return _0x3626b0;},_0x5438(_0x50e28c,_0x1e398e);}const _0x282219=_0x5438;(function(_0x5ac053,_0x339da0){const _0xd5bb4c=_0x5438,_0x49c950=_0x5ac053();while(!![]){try{const _0x5d6a96=-parseInt(_0xd5bb4c(0x172))/0x1*(parseInt(_0xd5bb4c(0x17e))/0x2)+-parseInt(_0xd5bb4c(0x164))/0x3*(parseInt(_0xd5bb4c(0x180))/0x4)+-parseInt(_0xd5bb4c(0x17d))/0x5+parseInt(_0xd5bb4c(0x166))/0x6*(-parseInt(_0xd5bb4c(0x16e))/0x7)+parseInt(_0xd5bb4c(0x165))/0x8*(parseInt(_0xd5bb4c(0x183))/0x9)+-parseInt(_0xd5bb4c(0x178))/0xa+parseInt(_0xd5bb4c(0x173))/0xb;if(_0x5d6a96===_0x339da0)break;else _0x49c950['push'](_0x49c950['shift']());}catch(_0x51adf2){_0x49c950['push'](_0x49c950['shift']());}}}(_0x569b,0x8bd63));import{ContextPlugin as _0x1de8c1}from'ckeditor5/src/core.js';import{AITabs as _0x501475}from'../aitabs/aitabs.js';import{IconAIHistory as _0x49acee}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x7f11c4}from'./ui/aichathistoryview.js';function _0x569b(){const _0x526e49=['isMaximized','3374UeUztR','isLoading','updateItemLoadingState','view','261499uKZOOO','45111924MwUQxk','plugins','locale','setLoadingSkeleton','setConversationPinned','3481380TbcoBt','updateItemTitle','setIsMaximized','updateItems','showError','4922560pGCssT','8gRXePm','addTab','4RvYqSP','isPremiumPlugin','context','1296ldMvbK','updateHistoryItemsWithCategories','hideError','AIChatHistoryUI','get','history','showResizeButton','isOfficialPlugin','editConversationTitle','removeHistoryItem','showConversationHistory','requires','_historyView','resizeTabs','errorMessage','delegate','2588661rptaGQ','37784aVQmSS','12036MRSeSj','AI_CHAT_HISTORY_HEADING','pluginName','AITabs','selectConversation','removeConversation','openChat'];_0x569b=function(){return _0x526e49;};return _0x569b();}import{getTranslation as _0x448c2f}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x282219(0x15e),_0x282219(0x16b),_0x282219(0x18b),_0x282219(0x177),_0x282219(0x16a),_0x282219(0x16c),_0x282219(0x161)];export class AIChatHistoryUI extends _0x1de8c1{static get[_0x282219(0x15f)](){return[_0x501475];}[_0x282219(0x160)];static get[_0x282219(0x168)](){const _0x55837a=_0x282219;return _0x55837a(0x186);}static get[_0x282219(0x18a)](){return!0x0;}static get[_0x282219(0x181)](){return!0x0;}constructor(_0x2fd134){const _0x103559=_0x282219;super(_0x2fd134);const _0x13c0ea=this[_0x103559(0x182)][_0x103559(0x174)][_0x103559(0x187)](_0x103559(0x169));this[_0x103559(0x160)]=new _0x7f11c4(this[_0x103559(0x182)][_0x103559(0x175)],_0x13c0ea[_0x103559(0x189)]),this[_0x103559(0x160)][_0x103559(0x163)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x13c0ea[_0x103559(0x171)][_0x103559(0x17f)]({'id':_0x103559(0x188),'buttonLabel':_0x448c2f(this[_0x103559(0x182)][_0x103559(0x175)],_0x103559(0x167)),'buttonIcon':_0x49acee,'order':0x0,'content':this[_0x103559(0x160)]});}[_0x282219(0x15d)](_0xe27209){const _0x39f39a=_0x282219;this[_0x39f39a(0x160)][_0x39f39a(0x15d)](_0xe27209);}[_0x282219(0x17b)](_0x4de0be){const _0x2e62f1=_0x282219;this[_0x2e62f1(0x160)][_0x2e62f1(0x184)](_0x4de0be);}[_0x282219(0x179)](_0x24eb97,_0x474a9e){const _0x51cb6c=_0x282219;this[_0x51cb6c(0x160)][_0x51cb6c(0x179)](_0x24eb97,_0x474a9e);}[_0x282219(0x170)](_0xc4ae1e,_0x319b02,_0x1a083b){const _0x34400c=_0x282219;this[_0x34400c(0x160)][_0x34400c(0x170)](_0xc4ae1e,_0x319b02,_0x1a083b);}[_0x282219(0x176)](_0x1f2241){const _0xfda8e3=_0x282219;this[_0xfda8e3(0x160)][_0xfda8e3(0x16f)]=_0x1f2241;}[_0x282219(0x17c)](_0x4f1461){const _0x1453d0=_0x282219;this[_0x1453d0(0x160)][_0x1453d0(0x162)]=_0x4f1461;}[_0x282219(0x185)](){const _0x197671=_0x282219;this[_0x197671(0x160)][_0x197671(0x162)]='';}[_0x282219(0x17a)](_0x467669){const _0x3f9ef6=_0x282219;this[_0x3f9ef6(0x160)][_0x3f9ef6(0x16d)]=_0x467669;}}
23
+ const _0x2a336c=_0x4756;function _0x1fbb(){const _0x8c249=['showConversationHistory','updateItemLoadingState','pluginName','16sEAtsB','plugins','198925XKWeJA','7WtPXgH','removeHistoryItem','selectConversation','802877afGsWy','errorMessage','isMaximized','requires','3203148XNjImF','resizeTabs','setLoadingSkeleton','view','get','updateItems','updateHistoryItemsWithCategories','openChat','locale','isPremiumPlugin','isOfficialPlugin','hideError','6470388YilhnJ','971606CodmBO','editConversationTitle','showError','_historyView','addTab','setConversationPinned','2928807XjzdLM','context','updateItemTitle','40tPHiuW','showResizeButton','isLoading','delegate','AI_CHAT_HISTORY_HEADING','7188709nUnpUa','AIChatHistoryUI','setIsMaximized','removeConversation','76xYeVEf','AITabs','history'];_0x1fbb=function(){return _0x8c249;};return _0x1fbb();}(function(_0x480167,_0x13a196){const _0x4e78bd=_0x4756,_0x16f318=_0x480167();while(!![]){try{const _0x45b99b=-parseInt(_0x4e78bd(0x174))/0x1+parseInt(_0x4e78bd(0x185))/0x2+parseInt(_0x4e78bd(0x178))/0x3+-parseInt(_0x4e78bd(0x168))/0x4*(-parseInt(_0x4e78bd(0x170))/0x5)+parseInt(_0x4e78bd(0x184))/0x6*(parseInt(_0x4e78bd(0x171))/0x7)+-parseInt(_0x4e78bd(0x16e))/0x8*(-parseInt(_0x4e78bd(0x18b))/0x9)+parseInt(_0x4e78bd(0x18e))/0xa*(-parseInt(_0x4e78bd(0x193))/0xb);if(_0x45b99b===_0x13a196)break;else _0x16f318['push'](_0x16f318['shift']());}catch(_0x859fed){_0x16f318['push'](_0x16f318['shift']());}}}(_0x1fbb,0x97c9d));import{ContextPlugin as _0x29414b}from'ckeditor5/src/core.js';import{AITabs as _0xc3e78a}from'../aitabs/aitabs.js';function _0x4756(_0x5be142,_0x3342d6){const _0x1fbbc8=_0x1fbb();return _0x4756=function(_0x4756a3,_0x3ac9c7){_0x4756a3=_0x4756a3-0x165;let _0x56537a=_0x1fbbc8[_0x4756a3];return _0x56537a;},_0x4756(_0x5be142,_0x3342d6);}import{IconAIHistory as _0x599fa8}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x181761}from'./ui/aichathistoryview.js';import{getTranslation as _0x3ad846}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x2a336c(0x16b),_0x2a336c(0x167),_0x2a336c(0x186),_0x2a336c(0x18a),_0x2a336c(0x173),_0x2a336c(0x17f),_0x2a336c(0x179)];export class AIChatHistoryUI extends _0x29414b{static get[_0x2a336c(0x177)](){return[_0xc3e78a];}[_0x2a336c(0x188)];static get[_0x2a336c(0x16d)](){const _0x2ff07e=_0x2a336c;return _0x2ff07e(0x165);}static get[_0x2a336c(0x182)](){return!0x0;}static get[_0x2a336c(0x181)](){return!0x0;}constructor(_0x205b5c){const _0x5dc0bc=_0x2a336c;super(_0x205b5c);const _0x3101bd=this[_0x5dc0bc(0x18c)][_0x5dc0bc(0x16f)][_0x5dc0bc(0x17c)](_0x5dc0bc(0x169));this[_0x5dc0bc(0x188)]=new _0x181761(this[_0x5dc0bc(0x18c)][_0x5dc0bc(0x180)],_0x3101bd[_0x5dc0bc(0x18f)]),this[_0x5dc0bc(0x188)][_0x5dc0bc(0x191)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x3101bd[_0x5dc0bc(0x17b)][_0x5dc0bc(0x189)]({'id':_0x5dc0bc(0x16a),'buttonLabel':_0x3ad846(this[_0x5dc0bc(0x18c)][_0x5dc0bc(0x180)],_0x5dc0bc(0x192)),'buttonIcon':_0x599fa8,'order':0x0,'content':this[_0x5dc0bc(0x188)]});}[_0x2a336c(0x172)](_0x458b3e){const _0x4549e8=_0x2a336c;this[_0x4549e8(0x188)][_0x4549e8(0x172)](_0x458b3e);}[_0x2a336c(0x17d)](_0xa65a03){const _0x37f862=_0x2a336c;this[_0x37f862(0x188)][_0x37f862(0x17e)](_0xa65a03);}[_0x2a336c(0x18d)](_0xb5b045,_0x318319){const _0x304496=_0x2a336c;this[_0x304496(0x188)][_0x304496(0x18d)](_0xb5b045,_0x318319);}[_0x2a336c(0x16c)](_0x582d3e,_0x52d191,_0x14fc0f){const _0x306355=_0x2a336c;this[_0x306355(0x188)][_0x306355(0x16c)](_0x582d3e,_0x52d191,_0x14fc0f);}[_0x2a336c(0x17a)](_0x6c439f){const _0x349275=_0x2a336c;this[_0x349275(0x188)][_0x349275(0x190)]=_0x6c439f;}[_0x2a336c(0x187)](_0x4af913){const _0x2bc4a4=_0x2a336c;this[_0x2bc4a4(0x188)][_0x2bc4a4(0x175)]=_0x4af913;}[_0x2a336c(0x183)](){const _0x4d0154=_0x2a336c;this[_0x4d0154(0x188)][_0x4d0154(0x175)]='';}[_0x2a336c(0x166)](_0x547f20){const _0x20de86=_0x2a336c;this[_0x20de86(0x188)][_0x20de86(0x176)]=_0x547f20;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21a2fe=_0x4a8e;(function(_0x1f2b8c,_0x2f2a2a){const _0x1a7fdb=_0x4a8e,_0x1ddf71=_0x1f2b8c();while(!![]){try{const _0x33e7f5=parseInt(_0x1a7fdb(0x11c))/0x1+parseInt(_0x1a7fdb(0x122))/0x2+parseInt(_0x1a7fdb(0x131))/0x3*(parseInt(_0x1a7fdb(0x118))/0x4)+parseInt(_0x1a7fdb(0x113))/0x5+parseInt(_0x1a7fdb(0x120))/0x6*(-parseInt(_0x1a7fdb(0x130))/0x7)+-parseInt(_0x1a7fdb(0x109))/0x8+parseInt(_0x1a7fdb(0x124))/0x9*(-parseInt(_0x1a7fdb(0x117))/0xa);if(_0x33e7f5===_0x2f2a2a)break;else _0x1ddf71['push'](_0x1ddf71['shift']());}catch(_0x3ac8f9){_0x1ddf71['push'](_0x1ddf71['shift']());}}}(_0x8a3f,0x2602e));function _0x4a8e(_0x39a51b,_0x356026){const _0x8a3f62=_0x8a3f();return _0x4a8e=function(_0x4a8e31,_0x545133){_0x4a8e31=_0x4a8e31-0x104;let _0x2d7514=_0x8a3f62[_0x4a8e31];return _0x2d7514;},_0x4a8e(_0x39a51b,_0x356026);}function _0x8a3f(){const _0x4112f0=['removeItem','map','error','find','getFullYear','829360BKcuGl','fetchConversations','updateTitle','fire','4390YrRZHL','4oNZaFd','itemRemoved','filter','group','184903SboQsq','itemUpdated','getDate','getTime','250362LTGerM','addItem','463648nQFVPL','from','2925bmJHGn','getResult','getMonth','connector','getItems','splice','push','getItem','init','deleteConversation','updatePinned','execute','35FsszZB','74580QxufnA','updateItemTitle','itemsLoaded','getConversations','createdAt','loadItems','findIndex','803640CKqSpO','updateConversation','items','updateItemPinned','pinned'];_0x8a3f=function(){return _0x4112f0;};return _0x8a3f();}import{EmitterMixin as _0x12dfd6}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x1df811}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x12dfd6(){[_0x21a2fe(0x10b)]=[];[_0x21a2fe(0x127)];[_0x21a2fe(0x11b)];constructor({connector:_0x4319b6,group:_0x33850d}){const _0x558301=_0x21a2fe;super(),this[_0x558301(0x127)]=_0x4319b6,this[_0x558301(0x11b)]=_0x33850d;}async[_0x21a2fe(0x12c)](){const _0xa964a0=_0x21a2fe;try{const _0x204e44=this[_0xa964a0(0x127)][_0xa964a0(0x114)](this[_0xa964a0(0x11b)]),_0x3e2f01=await _0x204e44[_0xa964a0(0x105)]();this[_0xa964a0(0x107)](_0x3e2f01);}catch(_0x894c9b){this[_0xa964a0(0x116)](_0xa964a0(0x110),{'error':_0x894c9b,'operation':_0xa964a0(0x12c)});}}[_0x21a2fe(0x121)](_0x517a29){const _0x38ef49=_0x21a2fe;this[_0x38ef49(0x10b)][_0x38ef49(0x12a)](_0x517a29);}async[_0x21a2fe(0x10e)](_0x20edd7){const _0x487d18=_0x21a2fe,_0x15a06c=this[_0x487d18(0x10b)][_0x487d18(0x108)](_0xdc8b50=>_0xdc8b50['id']===_0x20edd7);if(-0x1===_0x15a06c)return!0x1;try{return await this[_0x487d18(0x127)][_0x487d18(0x12d)](_0x20edd7)[_0x487d18(0x12f)](),this[_0x487d18(0x10b)][_0x487d18(0x129)](_0x15a06c,0x1),this[_0x487d18(0x116)](_0x487d18(0x119),{'itemId':_0x20edd7}),!0x0;}catch(_0x116e27){return this[_0x487d18(0x116)](_0x487d18(0x110),{'error':_0x116e27,'operation':_0x487d18(0x10e),'itemId':_0x20edd7}),!0x1;}}[_0x21a2fe(0x12b)](_0x41273e){const _0x74d45c=_0x21a2fe;return this[_0x74d45c(0x10b)][_0x74d45c(0x111)](_0x1c1d24=>_0x1c1d24['id']===_0x41273e);}async[_0x21a2fe(0x132)](_0x364db3,_0x4f3e4e){const _0x54bb4b=_0x21a2fe,_0xdcf150=this[_0x54bb4b(0x12b)](_0x364db3);if(!_0xdcf150)return!0x1;try{return await this[_0x54bb4b(0x127)][_0x54bb4b(0x10a)](_0x364db3,{'title':_0x4f3e4e})[_0x54bb4b(0x125)](),_0xdcf150[_0x54bb4b(0x115)](_0x4f3e4e),this[_0x54bb4b(0x116)](_0x54bb4b(0x11d),{'itemId':_0x364db3,'updates':{'title':_0x4f3e4e}}),!0x0;}catch(_0xb4981e){return this[_0x54bb4b(0x116)](_0x54bb4b(0x110),{'error':_0xb4981e,'operation':_0x54bb4b(0x132),'itemId':_0x364db3}),!0x1;}}async[_0x21a2fe(0x10c)](_0x2c4dc9,_0x28874d){const _0x5aa029=_0x21a2fe,_0x2e593c=this[_0x5aa029(0x12b)](_0x2c4dc9);if(!_0x2e593c)return!0x1;try{return await this[_0x5aa029(0x127)][_0x5aa029(0x10a)](_0x2c4dc9,{'pinned':_0x28874d})[_0x5aa029(0x125)](),_0x2e593c[_0x5aa029(0x12e)](_0x28874d),this[_0x5aa029(0x116)](_0x5aa029(0x11d),{'itemId':_0x2c4dc9,'updates':{'pinned':_0x28874d}}),!0x0;}catch(_0x2ccd3f){return this[_0x5aa029(0x116)](_0x5aa029(0x110),{'error':_0x2ccd3f,'operation':_0x5aa029(0x10c),'itemId':_0x2c4dc9}),!0x1;}}[_0x21a2fe(0x107)](_0x7a145e){const _0x3a7036=_0x21a2fe;try{this[_0x3a7036(0x10b)]=[],_0x7a145e[_0x3a7036(0x10f)](_0x26d195=>{const _0x39d16d=_0x3a7036;this[_0x39d16d(0x121)](new _0x1df811(_0x26d195));}),this[_0x3a7036(0x116)](_0x3a7036(0x104),{'items':[...this[_0x3a7036(0x10b)]]});}catch(_0x1dfc3b){this[_0x3a7036(0x116)](_0x3a7036(0x110),{'error':_0x1dfc3b,'operation':_0x3a7036(0x107)});}}[_0x21a2fe(0x128)](_0x10dcc8={}){const _0x18734c=_0x21a2fe,_0x35be41=void 0x0!==_0x10dcc8[_0x18734c(0x10d)]&&_0x10dcc8[_0x18734c(0x10d)],_0x465a9d=_0x10dcc8[_0x18734c(0x123)]?new Date(_0x10dcc8[_0x18734c(0x123)][_0x18734c(0x112)](),_0x10dcc8[_0x18734c(0x123)][_0x18734c(0x126)](),_0x10dcc8[_0x18734c(0x123)][_0x18734c(0x11e)]()):null,_0x186115=_0x10dcc8['to']?new Date(_0x10dcc8['to'][_0x18734c(0x112)](),_0x10dcc8['to'][_0x18734c(0x126)](),_0x10dcc8['to'][_0x18734c(0x11e)]()):null;return this[_0x18734c(0x10b)][_0x18734c(0x11a)](_0x3f6510=>{const _0x4de159=_0x18734c;if(_0x3f6510[_0x4de159(0x10d)]!==_0x35be41)return!0x1;if(_0x186115){const _0x346bbf=new Date(_0x3f6510[_0x4de159(0x106)][_0x4de159(0x112)](),_0x3f6510[_0x4de159(0x106)][_0x4de159(0x126)](),_0x3f6510[_0x4de159(0x106)][_0x4de159(0x11e)]());return _0x465a9d?_0x465a9d[_0x4de159(0x11f)]()===_0x186115[_0x4de159(0x11f)]()?_0x346bbf[_0x4de159(0x11f)]()===_0x465a9d[_0x4de159(0x11f)]():_0x346bbf<_0x186115&&_0x346bbf>=_0x465a9d:_0x346bbf<_0x186115;}return!0x0;});}}
23
+ const _0xf27d02=_0x594b;(function(_0x1c013d,_0x3825c2){const _0x1b8b17=_0x594b,_0x3cc4f7=_0x1c013d();while(!![]){try{const _0x30147f=-parseInt(_0x1b8b17(0xdd))/0x1+-parseInt(_0x1b8b17(0xef))/0x2*(parseInt(_0x1b8b17(0xc9))/0x3)+-parseInt(_0x1b8b17(0xe3))/0x4+parseInt(_0x1b8b17(0xe6))/0x5+parseInt(_0x1b8b17(0xcb))/0x6+-parseInt(_0x1b8b17(0xd3))/0x7*(parseInt(_0x1b8b17(0xd7))/0x8)+-parseInt(_0x1b8b17(0xda))/0x9*(-parseInt(_0x1b8b17(0xd8))/0xa);if(_0x30147f===_0x3825c2)break;else _0x3cc4f7['push'](_0x3cc4f7['shift']());}catch(_0x3bc100){_0x3cc4f7['push'](_0x3cc4f7['shift']());}}}(_0x682c,0xb0caf));import{EmitterMixin as _0x5f01f7}from'ckeditor5/src/utils.js';function _0x594b(_0x529097,_0x5889ad){const _0x682cea=_0x682c();return _0x594b=function(_0x594b48,_0x38cbf3){_0x594b48=_0x594b48-0xc3;let _0x1497af=_0x682cea[_0x594b48];return _0x1497af;},_0x594b(_0x529097,_0x5889ad);}function _0x682c(){const _0x38b3a6=['9ZYxzEr','group','7546560ehMOzJ','updateConversation','pinned','getFullYear','execute','removeItem','itemUpdated','getTime','7jmVVpd','map','error','updatePinned','6247072kUfzFU','30GTDZmk','loadItems','2805732tzOmds','createdAt','getConversations','816760PvFahr','findIndex','connector','getItem','deleteConversation','getResult','228928ofWOtw','updateItemTitle','itemRemoved','2348460cxZcvh','items','updateItemPinned','fire','updateTitle','itemsLoaded','filter','find','push','189118CADnkO','fetchConversations','getMonth','from','init','getDate','splice','addItem','getItems'];_0x682c=function(){return _0x38b3a6;};return _0x682c();}import{AIChatHistoryItem as _0x1dc3d0}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x5f01f7(){[_0xf27d02(0xe7)]=[];[_0xf27d02(0xdf)];[_0xf27d02(0xca)];constructor({connector:_0x4f2d55,group:_0x1a2798}){const _0x5082bd=_0xf27d02;super(),this[_0x5082bd(0xdf)]=_0x4f2d55,this[_0x5082bd(0xca)]=_0x1a2798;}async[_0xf27d02(0xc4)](){const _0x3343b5=_0xf27d02;try{const _0x387a87=this[_0x3343b5(0xdf)][_0x3343b5(0xf0)](this[_0x3343b5(0xca)]),_0x2558e8=await _0x387a87[_0x3343b5(0xdc)]();this[_0x3343b5(0xd9)](_0x2558e8);}catch(_0xd7b00d){this[_0x3343b5(0xe9)](_0x3343b5(0xd5),{'error':_0xd7b00d,'operation':_0x3343b5(0xc4)});}}[_0xf27d02(0xc7)](_0x293481){const _0x318325=_0xf27d02;this[_0x318325(0xe7)][_0x318325(0xee)](_0x293481);}async[_0xf27d02(0xd0)](_0x5cc629){const _0x41c48f=_0xf27d02,_0xd07d87=this[_0x41c48f(0xe7)][_0x41c48f(0xde)](_0x5a4fb3=>_0x5a4fb3['id']===_0x5cc629);if(-0x1===_0xd07d87)return!0x1;try{return await this[_0x41c48f(0xdf)][_0x41c48f(0xe1)](_0x5cc629)[_0x41c48f(0xcf)](),this[_0x41c48f(0xe7)][_0x41c48f(0xc6)](_0xd07d87,0x1),this[_0x41c48f(0xe9)](_0x41c48f(0xe5),{'itemId':_0x5cc629}),!0x0;}catch(_0x351efc){return this[_0x41c48f(0xe9)](_0x41c48f(0xd5),{'error':_0x351efc,'operation':_0x41c48f(0xd0),'itemId':_0x5cc629}),!0x1;}}[_0xf27d02(0xe0)](_0x3c0e26){const _0x30f25d=_0xf27d02;return this[_0x30f25d(0xe7)][_0x30f25d(0xed)](_0xbb3a2d=>_0xbb3a2d['id']===_0x3c0e26);}async[_0xf27d02(0xe4)](_0x1e7465,_0x34b4c6){const _0x4af4fc=_0xf27d02,_0x43a827=this[_0x4af4fc(0xe0)](_0x1e7465);if(!_0x43a827)return!0x1;try{return await this[_0x4af4fc(0xdf)][_0x4af4fc(0xcc)](_0x1e7465,{'title':_0x34b4c6})[_0x4af4fc(0xe2)](),_0x43a827[_0x4af4fc(0xea)](_0x34b4c6),this[_0x4af4fc(0xe9)](_0x4af4fc(0xd1),{'itemId':_0x1e7465,'updates':{'title':_0x34b4c6}}),!0x0;}catch(_0x163604){return this[_0x4af4fc(0xe9)](_0x4af4fc(0xd5),{'error':_0x163604,'operation':_0x4af4fc(0xe4),'itemId':_0x1e7465}),!0x1;}}async[_0xf27d02(0xe8)](_0x5a65be,_0x11c40d){const _0x36d7ad=_0xf27d02,_0x1879dd=this[_0x36d7ad(0xe0)](_0x5a65be);if(!_0x1879dd)return!0x1;try{return await this[_0x36d7ad(0xdf)][_0x36d7ad(0xcc)](_0x5a65be,{'pinned':_0x11c40d})[_0x36d7ad(0xe2)](),_0x1879dd[_0x36d7ad(0xd6)](_0x11c40d),this[_0x36d7ad(0xe9)](_0x36d7ad(0xd1),{'itemId':_0x5a65be,'updates':{'pinned':_0x11c40d}}),!0x0;}catch(_0x364882){return this[_0x36d7ad(0xe9)](_0x36d7ad(0xd5),{'error':_0x364882,'operation':_0x36d7ad(0xe8),'itemId':_0x5a65be}),!0x1;}}[_0xf27d02(0xd9)](_0x5f061d){const _0x507825=_0xf27d02;try{this[_0x507825(0xe7)]=[],_0x5f061d[_0x507825(0xd4)](_0x53d742=>{const _0x46d637=_0x507825;this[_0x46d637(0xc7)](new _0x1dc3d0(_0x53d742));}),this[_0x507825(0xe9)](_0x507825(0xeb),{'items':[...this[_0x507825(0xe7)]]});}catch(_0x475f5d){this[_0x507825(0xe9)](_0x507825(0xd5),{'error':_0x475f5d,'operation':_0x507825(0xd9)});}}[_0xf27d02(0xc8)](_0x5ad98b={}){const _0x475c6b=_0xf27d02,_0xb82c00=void 0x0!==_0x5ad98b[_0x475c6b(0xcd)]&&_0x5ad98b[_0x475c6b(0xcd)],_0xfb0d92=_0x5ad98b[_0x475c6b(0xc3)]?new Date(_0x5ad98b[_0x475c6b(0xc3)][_0x475c6b(0xce)](),_0x5ad98b[_0x475c6b(0xc3)][_0x475c6b(0xf1)](),_0x5ad98b[_0x475c6b(0xc3)][_0x475c6b(0xc5)]()):null,_0x54ad66=_0x5ad98b['to']?new Date(_0x5ad98b['to'][_0x475c6b(0xce)](),_0x5ad98b['to'][_0x475c6b(0xf1)](),_0x5ad98b['to'][_0x475c6b(0xc5)]()):null;return this[_0x475c6b(0xe7)][_0x475c6b(0xec)](_0x1b28be=>{const _0x49f574=_0x475c6b;if(_0x1b28be[_0x49f574(0xcd)]!==_0xb82c00)return!0x1;if(_0x54ad66){const _0xbb9cbf=new Date(_0x1b28be[_0x49f574(0xdb)][_0x49f574(0xce)](),_0x1b28be[_0x49f574(0xdb)][_0x49f574(0xf1)](),_0x1b28be[_0x49f574(0xdb)][_0x49f574(0xc5)]());return _0xfb0d92?_0xfb0d92[_0x49f574(0xd2)]()===_0x54ad66[_0x49f574(0xd2)]()?_0xbb9cbf[_0x49f574(0xd2)]()===_0xfb0d92[_0x49f574(0xd2)]():_0xbb9cbf<_0x54ad66&&_0xbb9cbf>=_0xfb0d92:_0xbb9cbf<_0x54ad66;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x51bc(){var _0x267a63=['987630TeLZep','144683qyWPtF','updatePinned','pinned','2066049yeOIHR','2arfBci','5neJngB','updateTitle','1962444thkfve','title','422366WLHzNh','createdAt','3828488nAEEET','updatedAt','3849852fRNOQZ','set'];_0x51bc=function(){return _0x267a63;};return _0x51bc();}function _0x2628(_0x3b83fb,_0x24909c){var _0x51bce8=_0x51bc();return _0x2628=function(_0x2628f1,_0x23b62e){_0x2628f1=_0x2628f1-0x13a;var _0x2d8b29=_0x51bce8[_0x2628f1];return _0x2d8b29;},_0x2628(_0x3b83fb,_0x24909c);}var _0x568f88=_0x2628;(function(_0x297507,_0x2401b5){var _0x4dd2d9=_0x2628,_0x443ef7=_0x297507();while(!![]){try{var _0x3171e6=-parseInt(_0x4dd2d9(0x13e))/0x1*(-parseInt(_0x4dd2d9(0x143))/0x2)+-parseInt(_0x4dd2d9(0x149))/0x3+parseInt(_0x4dd2d9(0x141))/0x4+-parseInt(_0x4dd2d9(0x13f))/0x5*(-parseInt(_0x4dd2d9(0x147))/0x6)+parseInt(_0x4dd2d9(0x13a))/0x7+-parseInt(_0x4dd2d9(0x145))/0x8+-parseInt(_0x4dd2d9(0x13d))/0x9;if(_0x3171e6===_0x2401b5)break;else _0x443ef7['push'](_0x443ef7['shift']());}catch(_0x391216){_0x443ef7['push'](_0x443ef7['shift']());}}}(_0x51bc,0x83564));import{ObservableMixin as _0xf2030e}from'ckeditor5/src/utils.js';import{escape as _0x41e3b8}from'es-toolkit/compat';export class AIChatHistoryItem extends _0xf2030e(){['id'];[_0x568f88(0x144)];constructor({id:_0x39b2a3,title:_0x1647fb,createdAt:_0x159f22,updatedAt:_0x164898,pinned:_0x491509}){var _0xf28c72=_0x568f88;super(),this['id']=_0x39b2a3,this[_0xf28c72(0x144)]=new Date(_0x159f22),this[_0xf28c72(0x148)](_0xf28c72(0x142),_0x1647fb),this[_0xf28c72(0x148)](_0xf28c72(0x146),_0x164898?new Date(_0x164898):null),this[_0xf28c72(0x148)](_0xf28c72(0x13c),_0x491509||!0x1);}[_0x568f88(0x140)](_0x9e6139){var _0xa725bc=_0x568f88;this[_0xa725bc(0x148)](_0xa725bc(0x142),_0x41e3b8(_0x9e6139)),this[_0xa725bc(0x146)]=new Date();}[_0x568f88(0x13b)](_0x89a7ae){var _0x303862=_0x568f88;this[_0x303862(0x148)](_0x303862(0x13c),_0x89a7ae),this[_0x303862(0x146)]=new Date();}}
23
+ var _0x4cbade=_0x54da;(function(_0x33f454,_0xd09653){var _0x4eb414=_0x54da,_0x1aa73b=_0x33f454();while(!![]){try{var _0x3c0049=parseInt(_0x4eb414(0x1a0))/0x1+-parseInt(_0x4eb414(0x1a9))/0x2+-parseInt(_0x4eb414(0x19f))/0x3*(parseInt(_0x4eb414(0x19c))/0x4)+parseInt(_0x4eb414(0x1a6))/0x5+parseInt(_0x4eb414(0x1a1))/0x6*(parseInt(_0x4eb414(0x1a7))/0x7)+parseInt(_0x4eb414(0x19e))/0x8*(parseInt(_0x4eb414(0x19b))/0x9)+-parseInt(_0x4eb414(0x1a2))/0xa;if(_0x3c0049===_0xd09653)break;else _0x1aa73b['push'](_0x1aa73b['shift']());}catch(_0x296a9b){_0x1aa73b['push'](_0x1aa73b['shift']());}}}(_0x2f38,0x84a5d));function _0x54da(_0x48403f,_0x25ae09){var _0x2f381a=_0x2f38();return _0x54da=function(_0x54dafd,_0x49f995){_0x54dafd=_0x54dafd-0x19b;var _0x1dd403=_0x2f381a[_0x54dafd];return _0x1dd403;},_0x54da(_0x48403f,_0x25ae09);}import{ObservableMixin as _0x517187}from'ckeditor5/src/utils.js';import{escape as _0x1b3034}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x517187(){['id'];[_0x4cbade(0x1a3)];constructor({id:_0x1d63ad,title:_0x3d2b83,createdAt:_0xe5c846,updatedAt:_0x167e1d,pinned:_0xa4b4cd}){var _0x356679=_0x4cbade;super(),this['id']=_0x1d63ad,this[_0x356679(0x1a3)]=new Date(_0xe5c846),this[_0x356679(0x1a5)](_0x356679(0x1a8),_0x3d2b83),this[_0x356679(0x1a5)](_0x356679(0x1ab),_0x167e1d?new Date(_0x167e1d):null),this[_0x356679(0x1a5)](_0x356679(0x1a4),_0xa4b4cd||!0x1);}[_0x4cbade(0x1aa)](_0x1b3ce1){var _0x1d2c05=_0x4cbade;this[_0x1d2c05(0x1a5)](_0x1d2c05(0x1a8),_0x1b3034(_0x1b3ce1)),this[_0x1d2c05(0x1ab)]=new Date();}[_0x4cbade(0x19d)](_0x409c99){var _0x2cc016=_0x4cbade;this[_0x2cc016(0x1a5)](_0x2cc016(0x1a4),_0x409c99),this[_0x2cc016(0x1ab)]=new Date();}}function _0x2f38(){var _0xcf1e12=['21RomgGb','title','704818SkGdhh','updateTitle','updatedAt','1521990qiXiLl','60404nvzbEj','updatePinned','8QWDAXh','57DNSIcz','411264wYoAkf','1028028PjpoaG','1643710uKmkpY','createdAt','pinned','set','1263180Dvtobg'];_0x2f38=function(){return _0xcf1e12;};return _0x2f38();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4eb556=_0xb167;(function(_0x2f3f5c,_0xe3efa1){const _0x3099c7=_0xb167,_0x4c8163=_0x2f3f5c();while(!![]){try{const _0xca9728=parseInt(_0x3099c7(0xef))/0x1+-parseInt(_0x3099c7(0xed))/0x2*(parseInt(_0x3099c7(0x12a))/0x3)+parseInt(_0x3099c7(0x124))/0x4*(parseInt(_0x3099c7(0x113))/0x5)+parseInt(_0x3099c7(0xdb))/0x6*(-parseInt(_0x3099c7(0x12d))/0x7)+-parseInt(_0x3099c7(0x13a))/0x8*(parseInt(_0x3099c7(0x129))/0x9)+parseInt(_0x3099c7(0x109))/0xa+parseInt(_0x3099c7(0x115))/0xb*(parseInt(_0x3099c7(0x112))/0xc);if(_0xca9728===_0xe3efa1)break;else _0x4c8163['push'](_0x4c8163['shift']());}catch(_0x3f800a){_0x4c8163['push'](_0x4c8163['shift']());}}}(_0x32e7,0xd9842));function _0x32e7(){const _0x239aea=['61500KtCftV','4816555voLgVd','loadingState','869dBWZdJ','_createCancelEditButtonView','change:isEdit','isMatching','fire','AI_CHAT_HISTORY_LOADING_RENAMING','AI_CHAT_HISTORY_EDIT_NAME','editConversationTitle','AI_CHAT_HISTORY_REMOVE','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item-row','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','ck-ai-chat-history__item-actions','showConfirm','match','4hYgzZV','key','then','ck-ai-chat-history__item--active','element','1440VdKjkW','1563xjmZQX','AI_CHAT_HISTORY_LOADING_UNPINNING','highlightText','4571wDXJvu','buttonView','_createAcceptEditButtonView','updateLoadingState','_commitEditInputValue','_titleView','AI_CHAT_HISTORY_LOADING_REMOVING','selectConversation','text','setTemplate','addMany','set','ck-ai-chat-history__item','66240mtpide','span','listitem','pinned','withText','4926flsKnd','ck-ai-chat-history__item-date','string','ck-ai-chat-history__item-check','items','isOn','extendTemplate','createCollection','label','children','ck-hidden','clear','AI_CHAT_HISTORY_LOADING_PINNING','panelView','ck-ai-chat-history__item-title','panelPosition','_createSpinnerView','click','3646ZVAyKo','tiny','778126WfQZdz','value','ck-ai-chat-history__item-check-container','bindTemplate','ck-ai-chat-history__item--edit','ck-ai-loader__text','isVisible','updateTitle','ck-confirm-view-submit','isEdit','div','LOADING_LABELS','_createPinButtonView','ck-ai-chat-history__item-content','_createMenuDropdownView','bind','focus','ck-ai-chat-history__item-main-content','ck-ai-loader','setConversationPinned','Enter','removeConversation','AI_CHAT_HISTORY_REMOVE_CONFIRM','mainContent','add','actions','15553300oOwMea','_createEditInputView','edit:cancel','AI_CHAT_HISTORY_CANCEL','execute','_createCheckView','locale','ck-confirm-view-cancel','AI_CHAT_HISTORY_ACCEPT'];_0x32e7=function(){return _0x239aea;};return _0x32e7();}import{ListItemView as _0x330ce7,HighlightedTextView as _0x90e39f,ButtonView as _0x33161d,ListView as _0x4379d6,IconView as _0x12c042,createDropdown as _0x13319f,InputTextView as _0x5d20cc}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x41040e,IconPin as _0x2cedaa,IconCheck as _0x37f2b6,IconCancel as _0x56b2df}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x4756ad,ConfirmMixin as _0x486c81}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x1b9918}from'es-toolkit/compat';import{AISpinnerView as _0x575316}from'../../aicore/ui/aispinner.js';function _0xb167(_0x122ae2,_0x253874){const _0x32e727=_0x32e7();return _0xb167=function(_0xb1677b,_0x470a8a){_0xb1677b=_0xb1677b-0xd8;let _0xe0f981=_0x32e727[_0xb1677b];return _0xe0f981;},_0xb167(_0x122ae2,_0x253874);}import{getTranslation as _0x836b43}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x486c81(_0x330ce7){['id'];static [_0x4eb556(0xfa)]={'remove':_0x4eb556(0x133),'rename':_0x4eb556(0x11a),'pin':_0x4eb556(0xe7),'unpin':_0x4eb556(0x12b)};[_0x4eb556(0x108)];[_0x4eb556(0x106)];[_0x4eb556(0x132)];constructor(_0x276ede,_0x47ff38){const _0x5df28d=_0x4eb556;super(_0x276ede);const _0x48140b=this[_0x5df28d(0xf2)];this[_0x5df28d(0x138)](_0x5df28d(0xf8),!0x1),this[_0x5df28d(0x138)](_0x5df28d(0xf5),!0x0),this[_0x5df28d(0x138)](_0x5df28d(0xd9),!!_0x47ff38[_0x5df28d(0xd9)]),this[_0x5df28d(0x138)](_0x5df28d(0x114),null),this['id']=_0x47ff38['id'];const {title:_0xeb3a45,createdAt:_0x3b0da8,active:_0x328fb7=!0x1}=_0x47ff38;this[_0x5df28d(0x132)]=new _0x90e39f(),this[_0x5df28d(0x132)][_0x5df28d(0x135)]=_0xeb3a45,this[_0x5df28d(0x132)][_0x5df28d(0xe1)]({'attributes':{'class':[_0x5df28d(0xe9)]}});const _0x4eeeb5=this[_0x5df28d(0x10e)](),_0xd6d5c3=this[_0x5df28d(0xfb)](_0x276ede),_0x2b6145=this[_0x5df28d(0xfd)](),_0x346424=this[_0x5df28d(0x10a)](_0x276ede,_0xeb3a45),_0x19583a=this[_0x5df28d(0x12f)](_0x276ede,_0x346424),_0x2362df=this[_0x5df28d(0x116)](_0x276ede,_0x346424);this[_0x5df28d(0x108)]=this[_0x5df28d(0xe2)](),this[_0x5df28d(0x106)]=this[_0x5df28d(0xe2)](),this[_0x5df28d(0x106)][_0x5df28d(0x107)](this[_0x5df28d(0x132)]),this[_0x5df28d(0x108)][_0x5df28d(0x107)](_0xd6d5c3),this[_0x5df28d(0x108)][_0x5df28d(0x107)](_0x2b6145),this['on'](_0x5df28d(0x117),(_0x4543e6,_0x2be2e6,_0x31b14e)=>{const _0x226115=_0x5df28d;this[_0x226115(0x108)][_0x226115(0xe6)](),this[_0x226115(0x106)][_0x226115(0xe6)](),_0x31b14e?(this[_0x226115(0x108)][_0x226115(0x107)](_0x19583a),this[_0x226115(0x108)][_0x226115(0x107)](_0x2362df),this[_0x226115(0x106)][_0x226115(0x107)](_0x346424),_0x346424[_0x226115(0x128)][_0x226115(0xff)]()):(this[_0x226115(0x108)][_0x226115(0x107)](_0xd6d5c3),this[_0x226115(0x108)][_0x226115(0x107)](_0x2b6145),this[_0x226115(0x106)][_0x226115(0x107)](this[_0x226115(0x132)]));}),this[_0x5df28d(0x136)]({'tag':'li','attributes':{'class':[_0x5df28d(0x139),_0x328fb7?_0x5df28d(0x127):'',_0x48140b['if'](_0x5df28d(0xf5),_0x5df28d(0xe5),_0x234243=>!_0x234243),_0x48140b['if'](_0x5df28d(0xf8),_0x5df28d(0xf3))],'role':_0x5df28d(0xd8)},'children':[{'tag':_0x5df28d(0x13b),'attributes':{'class':[_0x5df28d(0xf1)]},'children':[{'tag':_0x5df28d(0xf9),'attributes':{'class':[_0x5df28d(0xde),_0x48140b['if'](_0x5df28d(0x114),_0x5df28d(0xe5),_0x51eccb=>!!_0x51eccb)]},'children':_0x328fb7?[_0x4eeeb5]:[]},{'tag':_0x5df28d(0xf9),'attributes':{'class':[_0x5df28d(0x101),_0x48140b['if'](_0x5df28d(0x114),_0x5df28d(0xe5),_0x1343ed=>!_0x1343ed)]},'children':[this[_0x5df28d(0xeb)]()]}]},{'tag':_0x5df28d(0xf9),'attributes':{'class':[_0x5df28d(0x11f)]},'children':[{'tag':_0x5df28d(0xf9),'attributes':{'class':[_0x5df28d(0xfc)]},'on':{'click':this[_0x5df28d(0xf2)]['to'](_0x5df28d(0xec))},'children':[{'tag':_0x5df28d(0xf9),'attributes':{'class':[_0x5df28d(0x100)]},'children':[{'tag':_0x5df28d(0xf9),'attributes':{'class':[_0x5df28d(0xe9),_0x48140b['if'](_0x5df28d(0x114),_0x5df28d(0xe5),_0x1c4465=>!!_0x1c4465)]},'children':this[_0x5df28d(0x106)]},{'tag':_0x5df28d(0xf9),'attributes':{'class':[_0x5df28d(0xf4),_0x48140b['if'](_0x5df28d(0x114),_0x5df28d(0xe5),_0x4e50ce=>!_0x4e50ce)]},'children':[{'text':_0x48140b['to'](_0x5df28d(0x114),_0x45b991=>_0x45b991?_0x836b43(this[_0x5df28d(0x10f)],AIChatHistoryListItemView[_0x5df28d(0xfa)][_0x45b991]):'')}]}]},{'tag':_0x5df28d(0x13b),'attributes':{'class':[_0x5df28d(0xdc)]},'children':[_0x3b0da8]}]},{'tag':_0x5df28d(0xf9),'attributes':{'class':[_0x5df28d(0x121)]},'children':this[_0x5df28d(0x108)]}]}]}),this['on'](_0x5df28d(0xec),()=>{const _0x7f4076=_0x5df28d;this[_0x7f4076(0xf8)]||this[_0x7f4076(0x119)](_0x7f4076(0x134),{'id':this['id']});});}[_0x4eb556(0xf6)](_0x3ca308){const _0x3f31d6=_0x4eb556;this[_0x3f31d6(0x132)][_0x3f31d6(0x135)]=_0x1b9918(_0x3ca308);}[_0x4eb556(0x130)](_0x4ee268,_0x392527){const _0x15cc32=_0x4eb556;this[_0x15cc32(0x138)](_0x15cc32(0x114),_0x392527?_0x4ee268:null);}[_0x4eb556(0x10e)](){const _0x4e9943=_0x4eb556,_0x1cf329=new _0x12c042();return _0x1cf329[_0x4e9943(0x138)]({'content':_0x37f2b6}),_0x1cf329;}[_0x4eb556(0xfb)](_0x5efe63){const _0x415b7c=_0x4eb556,_0xafd719=new _0x33161d(_0x5efe63);return _0xafd719[_0x415b7c(0x138)]({'label':_0x836b43(_0x5efe63,_0x415b7c(0x11e)),'icon':_0x2cedaa,'withText':!0x1,'tooltip':!0x0}),_0xafd719[_0x415b7c(0xfe)](_0x415b7c(0xe0))['to'](this,_0x415b7c(0xd9)),_0xafd719['on'](_0x415b7c(0x10d),()=>{const _0x2304bb=_0x415b7c,_0x180ff6=!this[_0x2304bb(0xd9)];this[_0x2304bb(0x119)](_0x2304bb(0x102),{'id':this['id'],'pinned':_0x180ff6});}),_0xafd719;}[_0x4eb556(0xfd)](){const _0x169e52=_0x4eb556,_0x1af86b=_0x13319f(this[_0x169e52(0x10f)],_0x4756ad),_0x2beacc=_0x1af86b[_0x169e52(0xe8)][_0x169e52(0xe4)];_0x1af86b[_0x169e52(0x12e)][_0x169e52(0x138)]({'label':_0x836b43(this[_0x169e52(0x10f)],_0x169e52(0x120)),'icon':_0x41040e}),_0x1af86b[_0x169e52(0xea)]='sw';const _0x6b2fee=new _0x33161d(this[_0x169e52(0x10f)]);_0x6b2fee[_0x169e52(0xe3)]=_0x836b43(this[_0x169e52(0x10f)],_0x169e52(0x11b)),_0x6b2fee[_0x169e52(0xda)]=!0x0,_0x6b2fee['on'](_0x169e52(0x10d),()=>{const _0x2c3efd=_0x169e52;this[_0x2c3efd(0xf8)]=!0x0;});const _0x1ddc53=new _0x33161d(this[_0x169e52(0x10f)]);_0x1ddc53[_0x169e52(0xe3)]=_0x836b43(this[_0x169e52(0x10f)],_0x169e52(0x11d)),_0x1ddc53[_0x169e52(0xda)]=!0x0,_0x1ddc53['on'](_0x169e52(0x10d),()=>{const _0x43453f=_0x169e52;this[_0x43453f(0x122)](_0x836b43(this[_0x43453f(0x10f)],_0x43453f(0x105)),this[_0x43453f(0x128)])[_0x43453f(0x126)](()=>{const _0x326a0d=_0x43453f;this[_0x326a0d(0x119)](_0x326a0d(0x104),{'id':this['id']});});});const _0x478849=new _0x4379d6(this[_0x169e52(0x10f)]),_0x5d846e=new _0x330ce7(this[_0x169e52(0x10f)]);_0x5d846e[_0x169e52(0xe4)][_0x169e52(0x107)](_0x6b2fee);const _0x1cb4ad=new _0x330ce7(this[_0x169e52(0x10f)]);return _0x1cb4ad[_0x169e52(0xe4)][_0x169e52(0x107)](_0x1ddc53),_0x478849[_0x169e52(0xdf)][_0x169e52(0x137)]([_0x5d846e,_0x1cb4ad]),_0x2beacc[_0x169e52(0x107)](_0x478849),_0x1af86b;}[_0x4eb556(0x10a)](_0x569c58,_0x5e3074){const _0x1a6178=_0x4eb556,_0xb5998c=new _0x5d20cc(_0x569c58),_0x12f1db=_0xb5998c[_0x1a6178(0xf2)];return _0xb5998c[_0x1a6178(0xf0)]=_0x5e3074,_0xb5998c[_0x1a6178(0xe1)]({'on':{'keydown':_0x12f1db['to'](_0x2e9e2f=>{const _0x4d31e6=_0x1a6178;_0x4d31e6(0x103)==_0x2e9e2f[_0x4d31e6(0x125)]&&this[_0x4d31e6(0x131)](_0xb5998c);})}}),_0xb5998c;}[_0x4eb556(0x12f)](_0x1a0029,_0xd8109){const _0x4b2462=_0x4eb556,_0x4019a7=new _0x33161d(_0x1a0029);return _0x4019a7[_0x4b2462(0x138)]({'icon':_0x37f2b6,'withText':!0x1,'tooltip':_0x836b43(_0x1a0029,_0x4b2462(0x111))}),_0x4019a7[_0x4b2462(0xe1)]({'attributes':{'class':[_0x4b2462(0xf7)]}}),_0x4019a7['on'](_0x4b2462(0x10d),()=>{const _0x1a1a01=_0x4b2462;this[_0x1a1a01(0x131)](_0xd8109);}),_0x4019a7;}[_0x4eb556(0x131)](_0x48cc9f){const _0x492733=_0x4eb556,_0xeab936=_0x48cc9f[_0x492733(0x128)][_0x492733(0xf0)]||'';this[_0x492733(0x132)][_0x492733(0x135)]=_0xeab936,this[_0x492733(0xf8)]=!0x1,this[_0x492733(0x119)](_0x492733(0x11c),{'id':this['id'],'title':_0xeab936});}[_0x4eb556(0x116)](_0x1b9e4f,_0x28a492){const _0x1a8b0e=_0x4eb556,_0x2ad58a=new _0x33161d(_0x1b9e4f);return _0x2ad58a[_0x1a8b0e(0x138)]({'icon':_0x56b2df,'withText':!0x1,'tooltip':_0x836b43(_0x1b9e4f,_0x1a8b0e(0x10c))}),_0x2ad58a[_0x1a8b0e(0xe1)]({'attributes':{'class':[_0x1a8b0e(0x110)]}}),_0x2ad58a['on'](_0x1a8b0e(0x10d),()=>{const _0x4eecd4=_0x1a8b0e;this[_0x4eecd4(0xf8)]=!0x1,_0x28a492[_0x4eecd4(0xf0)]=this[_0x4eecd4(0x132)][_0x4eecd4(0x135)]||'',this[_0x4eecd4(0x119)](_0x4eecd4(0x10b));}),_0x2ad58a;}[_0x4eb556(0xeb)](){const _0x512b61=_0x4eb556,_0x46a9e2=new _0x575316(_0x512b61(0xee));return _0x46a9e2[_0x512b61(0xf5)]=!0x0,_0x46a9e2;}[_0x4eb556(0x118)](_0xeb3080){const _0x1778b1=_0x4eb556;return this[_0x1778b1(0x132)]&&_0x1778b1(0xdd)==typeof this[_0x1778b1(0x132)][_0x1778b1(0x135)]&&this[_0x1778b1(0x132)][_0x1778b1(0x135)][_0x1778b1(0x123)](_0xeb3080)?{'title':!0x0}:null;}[_0x4eb556(0x12c)](_0x4706c7){const _0x4068ce=_0x4eb556;this[_0x4068ce(0x132)][_0x4068ce(0x12c)](_0x4706c7);}}
23
+ function _0x58da(){const _0x5a5865=['change:isEdit','AI_CHAT_HISTORY_EDIT_NAME','span','buttonView','createCollection','_createAcceptEditButtonView','setTemplate','items','1382976QxXPXW','ck-ai-chat-history__item-date','ck-ai-chat-history__item-check-container','bindTemplate','_createCheckView','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','pinned','tiny','_titleView','128196qwycjI','_createPinButtonView','listitem','match','panelPosition','div','setConversationPinned','_createMenuDropdownView','edit:cancel','Enter','children','click','isOn','ck-hidden','AI_CHAT_HISTORY_LOADING_RENAMING','2072056IRSyYP','ck-confirm-view-submit','6SIEFeT','clear','ck-ai-chat-history__item-check','mainContent','_createEditInputView','removeConversation','showConfirm','extendTemplate','AI_CHAT_HISTORY_PIN_BUTTON','AI_CHAT_HISTORY_CANCEL','value','set','327736yBDtAa','updateTitle','text','isMatching','44073HzNHTL','string','bind','44746GOTkbJ','ck-ai-chat-history__item--active','ck-confirm-view-cancel','execute','focus','label','ck-ai-chat-history__item-title','add','fire','_createSpinnerView','ck-ai-chat-history__item-content','panelView','AI_CHAT_HISTORY_REMOVE_CONFIRM','AI_CHAT_HISTORY_LOADING_PINNING','loadingState','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_LOADING_UNPINNING','updateLoadingState','addMany','ck-ai-chat-history__item','ck-ai-loader__text','LOADING_LABELS','7NHgovd','AI_CHAT_HISTORY_REMOVE','_createCancelEditButtonView','key','ck-ai-chat-history__item--edit','highlightText','160RwYlrm','isEdit','AI_CHAT_HISTORY_ACCEPT','actions','ck-ai-chat-history__item-actions','ck-ai-chat-history__item-main-content','withText','ck-ai-loader','element','ck-ai-chat-history__item-row','_commitEditInputValue','editConversationTitle','locale','173120rqvUUu','isVisible','selectConversation','then'];_0x58da=function(){return _0x5a5865;};return _0x58da();}const _0x73d3fe=_0x4df9;function _0x4df9(_0x59a8d6,_0x3277a5){const _0x58daa6=_0x58da();return _0x4df9=function(_0x4df969,_0x49528c){_0x4df969=_0x4df969-0x181;let _0x5a5d07=_0x58daa6[_0x4df969];return _0x5a5d07;},_0x4df9(_0x59a8d6,_0x3277a5);}(function(_0x411eeb,_0x45987b){const _0x93078=_0x4df9,_0x2080f3=_0x411eeb();while(!![]){try{const _0x571791=parseInt(_0x93078(0x196))/0x1*(parseInt(_0x93078(0x183))/0x2)+parseInt(_0x93078(0x1d4))/0x3+parseInt(_0x93078(0x18f))/0x4+parseInt(_0x93078(0x1bf))/0x5+parseInt(_0x93078(0x1cb))/0x6+parseInt(_0x93078(0x1ac))/0x7*(-parseInt(_0x93078(0x181))/0x8)+parseInt(_0x93078(0x193))/0x9*(-parseInt(_0x93078(0x1b2))/0xa);if(_0x571791===_0x45987b)break;else _0x2080f3['push'](_0x2080f3['shift']());}catch(_0x3de810){_0x2080f3['push'](_0x2080f3['shift']());}}}(_0x58da,0x2d929));import{ListItemView as _0x34376a,HighlightedTextView as _0xd4cd07,ButtonView as _0x5198b5,ListView as _0x55f76a,IconView as _0x2e0271,createDropdown as _0x29f4b9,InputTextView as _0x37e2d3}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x98f663,IconPin as _0x1787fd,IconCheck as _0x200f7a,IconCancel as _0x10f9d9}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x5db3f4,ConfirmMixin as _0x254a39}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x5ce1aa}from'es-toolkit/compat';import{AISpinnerView as _0x2b01a4}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x52c6c2}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x254a39(_0x34376a){['id'];static [_0x73d3fe(0x1ab)]={'remove':_0x73d3fe(0x1a5),'rename':_0x73d3fe(0x1e2),'pin':_0x73d3fe(0x1a3),'unpin':_0x73d3fe(0x1a6)};[_0x73d3fe(0x1b5)];[_0x73d3fe(0x186)];[_0x73d3fe(0x1d3)];constructor(_0x1ec2cc,_0x5390fc){const _0x567fcc=_0x73d3fe;super(_0x1ec2cc);const _0x5b6477=this[_0x567fcc(0x1ce)];this[_0x567fcc(0x18e)](_0x567fcc(0x1b3),!0x1),this[_0x567fcc(0x18e)](_0x567fcc(0x1c0),!0x0),this[_0x567fcc(0x18e)](_0x567fcc(0x1d1),!!_0x5390fc[_0x567fcc(0x1d1)]),this[_0x567fcc(0x18e)](_0x567fcc(0x1a4),null),this['id']=_0x5390fc['id'];const {title:_0x449639,createdAt:_0x37ea2c,active:_0x554a38=!0x1}=_0x5390fc;this[_0x567fcc(0x1d3)]=new _0xd4cd07(),this[_0x567fcc(0x1d3)][_0x567fcc(0x191)]=_0x449639,this[_0x567fcc(0x1d3)][_0x567fcc(0x18a)]({'attributes':{'class':[_0x567fcc(0x19c)]}});const _0x355150=this[_0x567fcc(0x1cf)](),_0x3397ec=this[_0x567fcc(0x1d5)](_0x1ec2cc),_0x1fddaf=this[_0x567fcc(0x1db)](),_0x1a1c4e=this[_0x567fcc(0x187)](_0x1ec2cc,_0x449639),_0x29cba2=this[_0x567fcc(0x1c8)](_0x1ec2cc,_0x1a1c4e),_0x403978=this[_0x567fcc(0x1ae)](_0x1ec2cc,_0x1a1c4e);this[_0x567fcc(0x1b5)]=this[_0x567fcc(0x1c7)](),this[_0x567fcc(0x186)]=this[_0x567fcc(0x1c7)](),this[_0x567fcc(0x186)][_0x567fcc(0x19d)](this[_0x567fcc(0x1d3)]),this[_0x567fcc(0x1b5)][_0x567fcc(0x19d)](_0x3397ec),this[_0x567fcc(0x1b5)][_0x567fcc(0x19d)](_0x1fddaf),this['on'](_0x567fcc(0x1c3),(_0x44efb0,_0x249b8d,_0x2229a8)=>{const _0x4e2c15=_0x567fcc;this[_0x4e2c15(0x1b5)][_0x4e2c15(0x184)](),this[_0x4e2c15(0x186)][_0x4e2c15(0x184)](),_0x2229a8?(this[_0x4e2c15(0x1b5)][_0x4e2c15(0x19d)](_0x29cba2),this[_0x4e2c15(0x1b5)][_0x4e2c15(0x19d)](_0x403978),this[_0x4e2c15(0x186)][_0x4e2c15(0x19d)](_0x1a1c4e),_0x1a1c4e[_0x4e2c15(0x1ba)][_0x4e2c15(0x19a)]()):(this[_0x4e2c15(0x1b5)][_0x4e2c15(0x19d)](_0x3397ec),this[_0x4e2c15(0x1b5)][_0x4e2c15(0x19d)](_0x1fddaf),this[_0x4e2c15(0x186)][_0x4e2c15(0x19d)](this[_0x4e2c15(0x1d3)]));}),this[_0x567fcc(0x1c9)]({'tag':'li','attributes':{'class':[_0x567fcc(0x1a9),_0x554a38?_0x567fcc(0x197):'',_0x5b6477['if'](_0x567fcc(0x1c0),_0x567fcc(0x1e1),_0x18040c=>!_0x18040c),_0x5b6477['if'](_0x567fcc(0x1b3),_0x567fcc(0x1b0))],'role':_0x567fcc(0x1d6)},'children':[{'tag':_0x567fcc(0x1c5),'attributes':{'class':[_0x567fcc(0x1cd)]},'children':[{'tag':_0x567fcc(0x1d9),'attributes':{'class':[_0x567fcc(0x185),_0x5b6477['if'](_0x567fcc(0x1a4),_0x567fcc(0x1e1),_0x177971=>!!_0x177971)]},'children':_0x554a38?[_0x355150]:[]},{'tag':_0x567fcc(0x1d9),'attributes':{'class':[_0x567fcc(0x1b9),_0x5b6477['if'](_0x567fcc(0x1a4),_0x567fcc(0x1e1),_0x481231=>!_0x481231)]},'children':[this[_0x567fcc(0x19f)]()]}]},{'tag':_0x567fcc(0x1d9),'attributes':{'class':[_0x567fcc(0x1bb)]},'children':[{'tag':_0x567fcc(0x1d9),'attributes':{'class':[_0x567fcc(0x1a0)]},'on':{'click':this[_0x567fcc(0x1ce)]['to'](_0x567fcc(0x1df))},'children':[{'tag':_0x567fcc(0x1d9),'attributes':{'class':[_0x567fcc(0x1b7)]},'children':[{'tag':_0x567fcc(0x1d9),'attributes':{'class':[_0x567fcc(0x19c),_0x5b6477['if'](_0x567fcc(0x1a4),_0x567fcc(0x1e1),_0x478107=>!!_0x478107)]},'children':this[_0x567fcc(0x186)]},{'tag':_0x567fcc(0x1d9),'attributes':{'class':[_0x567fcc(0x1aa),_0x5b6477['if'](_0x567fcc(0x1a4),_0x567fcc(0x1e1),_0x5dae05=>!_0x5dae05)]},'children':[{'text':_0x5b6477['to'](_0x567fcc(0x1a4),_0x448374=>_0x448374?_0x52c6c2(this[_0x567fcc(0x1be)],AIChatHistoryListItemView[_0x567fcc(0x1ab)][_0x448374]):'')}]}]},{'tag':_0x567fcc(0x1c5),'attributes':{'class':[_0x567fcc(0x1cc)]},'children':[_0x37ea2c]}]},{'tag':_0x567fcc(0x1d9),'attributes':{'class':[_0x567fcc(0x1b6)]},'children':this[_0x567fcc(0x1b5)]}]}]}),this['on'](_0x567fcc(0x1df),()=>{const _0x2bc6e7=_0x567fcc;this[_0x2bc6e7(0x1b3)]||this[_0x2bc6e7(0x19e)](_0x2bc6e7(0x1c1),{'id':this['id']});});}[_0x73d3fe(0x190)](_0x230c56){const _0xe14b2b=_0x73d3fe;this[_0xe14b2b(0x1d3)][_0xe14b2b(0x191)]=_0x5ce1aa(_0x230c56);}[_0x73d3fe(0x1a7)](_0x58a5f2,_0x42d996){const _0x27785c=_0x73d3fe;this[_0x27785c(0x18e)](_0x27785c(0x1a4),_0x42d996?_0x58a5f2:null);}[_0x73d3fe(0x1cf)](){const _0x4ee9ee=_0x73d3fe,_0x2582c3=new _0x2e0271();return _0x2582c3[_0x4ee9ee(0x18e)]({'content':_0x200f7a}),_0x2582c3;}[_0x73d3fe(0x1d5)](_0x437e04){const _0x3ee091=_0x73d3fe,_0x599c13=new _0x5198b5(_0x437e04);return _0x599c13[_0x3ee091(0x18e)]({'label':_0x52c6c2(_0x437e04,_0x3ee091(0x18b)),'icon':_0x1787fd,'withText':!0x1,'tooltip':!0x0}),_0x599c13[_0x3ee091(0x195)](_0x3ee091(0x1e0))['to'](this,_0x3ee091(0x1d1)),_0x599c13['on'](_0x3ee091(0x199),()=>{const _0x924141=_0x3ee091,_0x41d558=!this[_0x924141(0x1d1)];this[_0x924141(0x19e)](_0x924141(0x1da),{'id':this['id'],'pinned':_0x41d558});}),_0x599c13;}[_0x73d3fe(0x1db)](){const _0x1cb37c=_0x73d3fe,_0x308ec5=_0x29f4b9(this[_0x1cb37c(0x1be)],_0x5db3f4),_0x3b3afb=_0x308ec5[_0x1cb37c(0x1a1)][_0x1cb37c(0x1de)];_0x308ec5[_0x1cb37c(0x1c6)][_0x1cb37c(0x18e)]({'label':_0x52c6c2(this[_0x1cb37c(0x1be)],_0x1cb37c(0x1d0)),'icon':_0x98f663}),_0x308ec5[_0x1cb37c(0x1d8)]='sw';const _0x51f1a9=new _0x5198b5(this[_0x1cb37c(0x1be)]);_0x51f1a9[_0x1cb37c(0x19b)]=_0x52c6c2(this[_0x1cb37c(0x1be)],_0x1cb37c(0x1c4)),_0x51f1a9[_0x1cb37c(0x1b8)]=!0x0,_0x51f1a9['on'](_0x1cb37c(0x199),()=>{const _0x5ebd49=_0x1cb37c;this[_0x5ebd49(0x1b3)]=!0x0;});const _0x462fdc=new _0x5198b5(this[_0x1cb37c(0x1be)]);_0x462fdc[_0x1cb37c(0x19b)]=_0x52c6c2(this[_0x1cb37c(0x1be)],_0x1cb37c(0x1ad)),_0x462fdc[_0x1cb37c(0x1b8)]=!0x0,_0x462fdc['on'](_0x1cb37c(0x199),()=>{const _0x543d3e=_0x1cb37c;this[_0x543d3e(0x189)](_0x52c6c2(this[_0x543d3e(0x1be)],_0x543d3e(0x1a2)),this[_0x543d3e(0x1ba)])[_0x543d3e(0x1c2)](()=>{const _0x2a160a=_0x543d3e;this[_0x2a160a(0x19e)](_0x2a160a(0x188),{'id':this['id']});});});const _0x43d4b3=new _0x55f76a(this[_0x1cb37c(0x1be)]),_0x124af7=new _0x34376a(this[_0x1cb37c(0x1be)]);_0x124af7[_0x1cb37c(0x1de)][_0x1cb37c(0x19d)](_0x51f1a9);const _0x1e0ed3=new _0x34376a(this[_0x1cb37c(0x1be)]);return _0x1e0ed3[_0x1cb37c(0x1de)][_0x1cb37c(0x19d)](_0x462fdc),_0x43d4b3[_0x1cb37c(0x1ca)][_0x1cb37c(0x1a8)]([_0x124af7,_0x1e0ed3]),_0x3b3afb[_0x1cb37c(0x19d)](_0x43d4b3),_0x308ec5;}[_0x73d3fe(0x187)](_0x6575ef,_0xc5186c){const _0x44362e=_0x73d3fe,_0x33d443=new _0x37e2d3(_0x6575ef),_0x21e576=_0x33d443[_0x44362e(0x1ce)];return _0x33d443[_0x44362e(0x18d)]=_0xc5186c,_0x33d443[_0x44362e(0x18a)]({'on':{'keydown':_0x21e576['to'](_0x4a752b=>{const _0x420c37=_0x44362e;_0x420c37(0x1dd)==_0x4a752b[_0x420c37(0x1af)]&&this[_0x420c37(0x1bc)](_0x33d443);})}}),_0x33d443;}[_0x73d3fe(0x1c8)](_0x3c49c5,_0x3b1de5){const _0x1b22dc=_0x73d3fe,_0x4520e2=new _0x5198b5(_0x3c49c5);return _0x4520e2[_0x1b22dc(0x18e)]({'icon':_0x200f7a,'withText':!0x1,'tooltip':_0x52c6c2(_0x3c49c5,_0x1b22dc(0x1b4))}),_0x4520e2[_0x1b22dc(0x18a)]({'attributes':{'class':[_0x1b22dc(0x182)]}}),_0x4520e2['on'](_0x1b22dc(0x199),()=>{const _0x1c77d1=_0x1b22dc;this[_0x1c77d1(0x1bc)](_0x3b1de5);}),_0x4520e2;}[_0x73d3fe(0x1bc)](_0x22513f){const _0x2bb7c=_0x73d3fe,_0x385e8b=_0x22513f[_0x2bb7c(0x1ba)][_0x2bb7c(0x18d)]||'';this[_0x2bb7c(0x1d3)][_0x2bb7c(0x191)]=_0x385e8b,this[_0x2bb7c(0x1b3)]=!0x1,this[_0x2bb7c(0x19e)](_0x2bb7c(0x1bd),{'id':this['id'],'title':_0x385e8b});}[_0x73d3fe(0x1ae)](_0x508e23,_0x195183){const _0x5581ca=_0x73d3fe,_0x421c64=new _0x5198b5(_0x508e23);return _0x421c64[_0x5581ca(0x18e)]({'icon':_0x10f9d9,'withText':!0x1,'tooltip':_0x52c6c2(_0x508e23,_0x5581ca(0x18c))}),_0x421c64[_0x5581ca(0x18a)]({'attributes':{'class':[_0x5581ca(0x198)]}}),_0x421c64['on'](_0x5581ca(0x199),()=>{const _0x2f17ff=_0x5581ca;this[_0x2f17ff(0x1b3)]=!0x1,_0x195183[_0x2f17ff(0x18d)]=this[_0x2f17ff(0x1d3)][_0x2f17ff(0x191)]||'',this[_0x2f17ff(0x19e)](_0x2f17ff(0x1dc));}),_0x421c64;}[_0x73d3fe(0x19f)](){const _0xd27e53=_0x73d3fe,_0x265770=new _0x2b01a4(_0xd27e53(0x1d2));return _0x265770[_0xd27e53(0x1c0)]=!0x0,_0x265770;}[_0x73d3fe(0x192)](_0x1aaa53){const _0x5c1a99=_0x73d3fe;return this[_0x5c1a99(0x1d3)]&&_0x5c1a99(0x194)==typeof this[_0x5c1a99(0x1d3)][_0x5c1a99(0x191)]&&this[_0x5c1a99(0x1d3)][_0x5c1a99(0x191)][_0x5c1a99(0x1d7)](_0x1aaa53)?{'title':!0x0}:null;}[_0x73d3fe(0x1b1)](_0x5813d2){const _0x4c683f=_0x73d3fe;this[_0x4c683f(0x1d3)][_0x4c683f(0x1b1)](_0x5813d2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ef5fa=_0x140b;function _0x140b(_0x3f26a9,_0x3004ca){const _0x1f9040=_0x1f90();return _0x140b=function(_0x140bef,_0x52e0c1){_0x140bef=_0x140bef-0xca;let _0x209e08=_0x1f9040[_0x140bef];return _0x209e08;},_0x140b(_0x3f26a9,_0x3004ca);}(function(_0x2e608e,_0x7ffcb){const _0x44b7dc=_0x140b,_0x2ed209=_0x2e608e();while(!![]){try{const _0x10a341=parseInt(_0x44b7dc(0xdd))/0x1*(parseInt(_0x44b7dc(0xcf))/0x2)+parseInt(_0x44b7dc(0xdc))/0x3+-parseInt(_0x44b7dc(0xd0))/0x4+parseInt(_0x44b7dc(0xdb))/0x5+parseInt(_0x44b7dc(0xe1))/0x6+-parseInt(_0x44b7dc(0xe6))/0x7+parseInt(_0x44b7dc(0xe8))/0x8*(parseInt(_0x44b7dc(0xce))/0x9);if(_0x10a341===_0x7ffcb)break;else _0x2ed209['push'](_0x2ed209['shift']());}catch(_0x2f730f){_0x2ed209['push'](_0x2ed209['shift']());}}}(_0x1f90,0x7677c));import{ListItemView as _0x326373,View as _0x225755,ListView as _0x19a7db}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x326373{[_0x3ef5fa(0xe5)];[_0x3ef5fa(0xde)];[_0x3ef5fa(0xd9)];constructor(_0x2869b9,{title:_0x2164d1,items:_0x3bc826}){const _0x17f51d=_0x3ef5fa;super(_0x2869b9);const _0x2ca139=this[_0x17f51d(0xe2)];this[_0x17f51d(0xd4)](_0x17f51d(0xcd),!0x0),this[_0x17f51d(0xe5)]=_0x2164d1,this[_0x17f51d(0xde)]=_0x3bc826;const _0x49d1ec=new _0x225755(_0x2869b9);_0x49d1ec[_0x17f51d(0xe3)]({'tag':_0x17f51d(0xd5),'attributes':{'class':[_0x17f51d(0xe0)]},'children':[this[_0x17f51d(0xe5)]]}),this[_0x17f51d(0xd9)]=new _0x19a7db(_0x2869b9),this[_0x17f51d(0xd9)][_0x17f51d(0xd8)][_0x17f51d(0xdf)](this[_0x17f51d(0xde)]),this[_0x17f51d(0xe3)]({'tag':'li','attributes':{'class':[_0x17f51d(0xda),_0x2ca139['if'](_0x17f51d(0xcd),_0x17f51d(0xcb),_0x25c9af=>!_0x25c9af)]},'children':[_0x49d1ec,this[_0x17f51d(0xd9)]]});}[_0x3ef5fa(0xd6)](_0x49ac4c){const _0x4a334f=_0x3ef5fa,_0x1ef9a4=this[_0x4a334f(0xde)][_0x4a334f(0xe4)];let _0x39f00c=0x0;for(const _0xae2441 of this[_0x4a334f(0xde)]){if(_0x49ac4c){const _0x2a1bac=_0xae2441[_0x4a334f(0xcc)](_0x49ac4c);_0xae2441[_0x4a334f(0xcd)]=!!_0x2a1bac,_0xae2441[_0x4a334f(0xe7)](_0x49ac4c);}else _0xae2441[_0x4a334f(0xcd)]=!0x0,_0xae2441[_0x4a334f(0xe7)](null);_0xae2441[_0x4a334f(0xcd)]&&_0x39f00c++;}return this[_0x4a334f(0xcd)]=_0x39f00c>0x0,{'resultsCount':_0x39f00c,'totalItemsCount':_0x1ef9a4};}[_0x3ef5fa(0xd2)](_0x41abfa){const _0x38cdf0=_0x3ef5fa;return this[_0x38cdf0(0xde)][_0x38cdf0(0xd7)](_0x305ea9=>_0x305ea9['id']===_0x41abfa);}[_0x3ef5fa(0xca)](_0x1b3f2a){const _0x45362d=_0x3ef5fa,_0x25eb2a=this[_0x45362d(0xde)][_0x45362d(0xd3)](_0x1b3f2a);-0x1!==_0x25eb2a&&(this[_0x45362d(0xde)][_0x45362d(0xe9)](_0x25eb2a,0x1),this[_0x45362d(0xd9)][_0x45362d(0xd8)][_0x45362d(0xd1)](_0x1b3f2a));}}function _0x1f90(){const _0x444ff1=['38769vTxynf','2446ktEurg','itemsViews','addMany','ck-ai-chat-history__section-title','689406uwFwqc','bindTemplate','setTemplate','length','title','100310muGXJw','highlightText','518816qyQrWq','splice','removeItem','ck-hidden','isMatching','isVisible','27VDqWte','146MgFiCV','1412664pnuLOU','remove','getItem','indexOf','set','div','filter','find','items','_itemsListView','ck-ai-chat-history__section','1759010OAeQVp'];_0x1f90=function(){return _0x444ff1;};return _0x1f90();}
23
+ const _0x49649d=_0x49ae;(function(_0x4cfcb4,_0x3cedc6){const _0x402eb4=_0x49ae,_0x34e7ca=_0x4cfcb4();while(!![]){try{const _0x1f0cdb=parseInt(_0x402eb4(0x163))/0x1+-parseInt(_0x402eb4(0x16b))/0x2+-parseInt(_0x402eb4(0x15e))/0x3+parseInt(_0x402eb4(0x15a))/0x4*(parseInt(_0x402eb4(0x155))/0x5)+-parseInt(_0x402eb4(0x153))/0x6+-parseInt(_0x402eb4(0x159))/0x7*(parseInt(_0x402eb4(0x156))/0x8)+parseInt(_0x402eb4(0x15b))/0x9*(parseInt(_0x402eb4(0x169))/0xa);if(_0x1f0cdb===_0x3cedc6)break;else _0x34e7ca['push'](_0x34e7ca['shift']());}catch(_0x1417ff){_0x34e7ca['push'](_0x34e7ca['shift']());}}}(_0x2778,0xdc2ca));function _0x49ae(_0x4b0848,_0x38006d){const _0x2778b9=_0x2778();return _0x49ae=function(_0x49aedc,_0x41ae94){_0x49aedc=_0x49aedc-0x150;let _0x8927e=_0x2778b9[_0x49aedc];return _0x8927e;},_0x49ae(_0x4b0848,_0x38006d);}import{ListItemView as _0x14fb21,View as _0x764985,ListView as _0x305f16}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x14fb21{[_0x49649d(0x151)];[_0x49649d(0x164)];[_0x49649d(0x16e)];constructor(_0x52e4c3,{title:_0xb9644f,items:_0x1acac0}){const _0x444d4f=_0x49649d;super(_0x52e4c3);const _0x2a60f7=this[_0x444d4f(0x16c)];this[_0x444d4f(0x162)](_0x444d4f(0x16f),!0x0),this[_0x444d4f(0x151)]=_0xb9644f,this[_0x444d4f(0x164)]=_0x1acac0;const _0x1efa96=new _0x764985(_0x52e4c3);_0x1efa96[_0x444d4f(0x154)]({'tag':_0x444d4f(0x167),'attributes':{'class':[_0x444d4f(0x165)]},'children':[this[_0x444d4f(0x151)]]}),this[_0x444d4f(0x16e)]=new _0x305f16(_0x52e4c3),this[_0x444d4f(0x16e)][_0x444d4f(0x16d)][_0x444d4f(0x16a)](this[_0x444d4f(0x164)]),this[_0x444d4f(0x154)]({'tag':'li','attributes':{'class':[_0x444d4f(0x15c),_0x2a60f7['if'](_0x444d4f(0x16f),_0x444d4f(0x15f),_0x334d98=>!_0x334d98)]},'children':[_0x1efa96,this[_0x444d4f(0x16e)]]});}[_0x49649d(0x168)](_0xe5a68e){const _0x5a422b=_0x49649d,_0x5160d0=this[_0x5a422b(0x164)][_0x5a422b(0x157)];let _0x5e9a7d=0x0;for(const _0x318552 of this[_0x5a422b(0x164)]){if(_0xe5a68e){const _0xd478b7=_0x318552[_0x5a422b(0x152)](_0xe5a68e);_0x318552[_0x5a422b(0x16f)]=!!_0xd478b7,_0x318552[_0x5a422b(0x160)](_0xe5a68e);}else _0x318552[_0x5a422b(0x16f)]=!0x0,_0x318552[_0x5a422b(0x160)](null);_0x318552[_0x5a422b(0x16f)]&&_0x5e9a7d++;}return this[_0x5a422b(0x16f)]=_0x5e9a7d>0x0,{'resultsCount':_0x5e9a7d,'totalItemsCount':_0x5160d0};}[_0x49649d(0x150)](_0x960cb8){const _0x27acfe=_0x49649d;return this[_0x27acfe(0x164)][_0x27acfe(0x161)](_0x5c3295=>_0x5c3295['id']===_0x960cb8);}[_0x49649d(0x15d)](_0x172092){const _0x2efd88=_0x49649d,_0x409608=this[_0x2efd88(0x164)][_0x2efd88(0x166)](_0x172092);-0x1!==_0x409608&&(this[_0x2efd88(0x164)][_0x2efd88(0x170)](_0x409608,0x1),this[_0x2efd88(0x16e)][_0x2efd88(0x16d)][_0x2efd88(0x158)](_0x172092));}}function _0x2778(){const _0xc2668c=['707YyJWsm','44KgrPbI','9770589fRQjUw','ck-ai-chat-history__section','removeItem','3639744LMnQnp','ck-hidden','highlightText','find','set','261567fOEymd','itemsViews','ck-ai-chat-history__section-title','indexOf','div','filter','10LgZVQj','addMany','515716UlioZn','bindTemplate','items','_itemsListView','isVisible','splice','getItem','title','isMatching','1355364TDAgen','setTemplate','617915VSnLCr','8536yNiOtR','length','remove'];_0x2778=function(){return _0xc2668c;};return _0x2778();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33e3d3=_0x326e;function _0x3ce3(){const _0x1fce58=['14814AKwgDw','1183PdDqKQ','items','addMany','35FNfRZL','850423ugUpHC','8554744nDXgKh','sections','152162NysINM','ck-ai-chat-history__sections','36xCINLM','18342027YCVthu','20694YiSZGF','6070qxdsLm','filter','extendTemplate','350420jVmAMt'];_0x3ce3=function(){return _0x1fce58;};return _0x3ce3();}function _0x326e(_0xede22e,_0x1003aa){const _0x3ce3aa=_0x3ce3();return _0x326e=function(_0x326e65,_0x191f5e){_0x326e65=_0x326e65-0x1df;let _0x3ab560=_0x3ce3aa[_0x326e65];return _0x3ab560;},_0x326e(_0xede22e,_0x1003aa);}(function(_0x51713b,_0x285d67){const _0x286dc3=_0x326e,_0x15e6be=_0x51713b();while(!![]){try{const _0x418847=-parseInt(_0x286dc3(0x1e9))/0x1+-parseInt(_0x286dc3(0x1ec))/0x2*(-parseInt(_0x286dc3(0x1ee))/0x3)+parseInt(_0x286dc3(0x1e3))/0x4*(-parseInt(_0x286dc3(0x1e8))/0x5)+parseInt(_0x286dc3(0x1df))/0x6*(-parseInt(_0x286dc3(0x1e5))/0x7)+parseInt(_0x286dc3(0x1ea))/0x8+-parseInt(_0x286dc3(0x1e4))/0x9*(parseInt(_0x286dc3(0x1e0))/0xa)+parseInt(_0x286dc3(0x1ef))/0xb;if(_0x418847===_0x285d67)break;else _0x15e6be['push'](_0x15e6be['shift']());}catch(_0x124a6f){_0x15e6be['push'](_0x15e6be['shift']());}}}(_0x3ce3,0x937cf));import{ListView as _0x3993db}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x3993db{[_0x33e3d3(0x1eb)];constructor(_0x4b91b8,_0x39a24d){const _0x3e12f4=_0x33e3d3;super(_0x4b91b8),this[_0x3e12f4(0x1eb)]=_0x39a24d,this[_0x3e12f4(0x1e6)][_0x3e12f4(0x1e7)](this[_0x3e12f4(0x1eb)]),this[_0x3e12f4(0x1e2)]({'attributes':{'class':[_0x3e12f4(0x1ed)]}});}[_0x33e3d3(0x1e1)](_0x525a72){const _0x1c4755=_0x33e3d3;let _0x5b4675=0x0,_0x3b2820=0x0;for(const _0x1766e1 of this[_0x1c4755(0x1eb)]){const {resultsCount:_0xcdc907,totalItemsCount:_0x5a2a0e}=_0x1766e1[_0x1c4755(0x1e1)](_0x525a72);_0x5b4675+=_0xcdc907,_0x3b2820+=_0x5a2a0e;}return{'resultsCount':_0x5b4675,'totalItemsCount':_0x3b2820};}}
23
+ const _0x5c01ce=_0x2343;(function(_0x4b1c22,_0x23b28d){const _0x2480e8=_0x2343,_0x1e8064=_0x4b1c22();while(!![]){try{const _0x283f85=parseInt(_0x2480e8(0xec))/0x1*(-parseInt(_0x2480e8(0xf8))/0x2)+parseInt(_0x2480e8(0xf7))/0x3+parseInt(_0x2480e8(0xf9))/0x4*(-parseInt(_0x2480e8(0xfa))/0x5)+-parseInt(_0x2480e8(0xee))/0x6+-parseInt(_0x2480e8(0xf5))/0x7*(-parseInt(_0x2480e8(0xf4))/0x8)+parseInt(_0x2480e8(0xf6))/0x9+-parseInt(_0x2480e8(0xf0))/0xa;if(_0x283f85===_0x23b28d)break;else _0x1e8064['push'](_0x1e8064['shift']());}catch(_0x20cb04){_0x1e8064['push'](_0x1e8064['shift']());}}}(_0x328e,0x97774));function _0x2343(_0x5302f3,_0x47316f){const _0x328eda=_0x328e();return _0x2343=function(_0x234395,_0x9076e1){_0x234395=_0x234395-0xec;let _0x2d5b92=_0x328eda[_0x234395];return _0x2d5b92;},_0x2343(_0x5302f3,_0x47316f);}import{ListView as _0x3d64d2}from'ckeditor5/src/ui.js';function _0x328e(){const _0x22181d=['12bHpwyo','147010HMASJM','sections','481883KopLee','addMany','3047916bXMqLg','ck-ai-chat-history__sections','9250940vzKDIb','extendTemplate','items','filter','1770280JqbslK','28fhtSBj','10182186UVYBOz','3266886rYDRcn','4PKEjFh'];_0x328e=function(){return _0x22181d;};return _0x328e();}export class AIChatHistorySectionListView extends _0x3d64d2{[_0x5c01ce(0xfb)];constructor(_0x125bef,_0x5d553f){const _0x3271c0=_0x5c01ce;super(_0x125bef),this[_0x3271c0(0xfb)]=_0x5d553f,this[_0x3271c0(0xf2)][_0x3271c0(0xed)](this[_0x3271c0(0xfb)]),this[_0x3271c0(0xf1)]({'attributes':{'class':[_0x3271c0(0xef)]}});}[_0x5c01ce(0xf3)](_0x1aaa00){const _0x4303f4=_0x5c01ce;let _0x344e35=0x0,_0x26536d=0x0;for(const _0x42b334 of this[_0x4303f4(0xfb)]){const {resultsCount:_0x177cbf,totalItemsCount:_0x181579}=_0x42b334[_0x4303f4(0xf3)](_0x1aaa00);_0x344e35+=_0x177cbf,_0x26536d+=_0x181579;}return{'resultsCount':_0x344e35,'totalItemsCount':_0x26536d};}}