@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.4

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 (128) 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/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichat/utils/scrollmanager.js +1 -1
  63. package/src/aichathistory/aichathistory.js +1 -1
  64. package/src/aichathistory/aichathistorycontroller.js +1 -1
  65. package/src/aichathistory/aichathistoryui.js +1 -1
  66. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  67. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  68. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  69. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  71. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  72. package/src/aicore/aiconnector.js +1 -1
  73. package/src/aicore/aiediting.js +1 -1
  74. package/src/aicore/model/aicapabilities.js +1 -1
  75. package/src/aicore/model/aiinteraction.js +1 -1
  76. package/src/aicore/model/aimodels.js +1 -1
  77. package/src/aicore/model/aireply.js +1 -1
  78. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  79. package/src/aicore/pipeline/airesponseparser.js +2 -2
  80. package/src/aicore/ui/aidisclaimerview.js +1 -1
  81. package/src/aicore/ui/aiskeleton.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  87. package/src/aicore/utils/createresizebutton.js +1 -1
  88. package/src/aicore/utils/documentrange.js +1 -1
  89. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  90. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  91. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  92. package/src/aicore/utils/htmlparser.js +1 -1
  93. package/src/aicore/utils/htmlstreamer.js +1 -1
  94. package/src/aieditorintegration/aieditorintegration.js +1 -1
  95. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  97. package/src/aiquickactions/aiquickactions.js +1 -1
  98. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  99. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  100. package/src/aiquickactions/aiquickactionsui.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.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/aireviewcheckresultchange.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  113. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  123. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  125. package/src/aitabs/aitabs.js +1 -1
  126. package/src/aitabs/tabs/aitabsview.js +1 -1
  127. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  128. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4dbc(_0x509155,_0x3a9f37){const _0x657f87=_0x657f();return _0x4dbc=function(_0x4dbcb2,_0x55caf5){_0x4dbcb2=_0x4dbcb2-0xc6;let _0x33144e=_0x657f87[_0x4dbcb2];return _0x33144e;},_0x4dbc(_0x509155,_0x3a9f37);}const _0xca73ca=_0x4dbc;(function(_0x34ce56,_0x1ad7a9){const _0x48b209=_0x4dbc,_0x246fe4=_0x34ce56();while(!![]){try{const _0x2bc21b=parseInt(_0x48b209(0xd5))/0x1*(-parseInt(_0x48b209(0xfe))/0x2)+parseInt(_0x48b209(0x121))/0x3*(parseInt(_0x48b209(0xe4))/0x4)+parseInt(_0x48b209(0x10a))/0x5+-parseInt(_0x48b209(0xc7))/0x6+parseInt(_0x48b209(0xd9))/0x7+-parseInt(_0x48b209(0xe1))/0x8+-parseInt(_0x48b209(0x111))/0x9;if(_0x2bc21b===_0x1ad7a9)break;else _0x246fe4['push'](_0x246fe4['shift']());}catch(_0x2097ed){_0x246fe4['push'](_0x246fe4['shift']());}}}(_0x657f,0xd305b));import{KeystrokeHandler as _0x423d75}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2272ad,BodyCollection as _0x323ab5,ButtonView as _0x5aa251,clickOutsideHandler as _0x22b060,ListItemButtonView as _0x4258ed,ListItemView as _0x57735f,ListView as _0x5b61cb,SplitButtonView as _0x27d063,UIModel as _0x26da5d,View as _0x475ef8}from'ckeditor5/src/ui.js';import{IconCheck as _0x4a23c1,IconAddComment as _0x43ef1e,IconDocumentWithLoupe as _0x5e5ddf}from'ckeditor5/src/icons.js';import{getTranslation as _0x3fe1c5}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0xca73ca(0xcc),_0xca73ca(0xd7),_0xca73ca(0xe8)];export class AIChatFeedSuggestionItemActionsView extends _0x475ef8{[_0xca73ca(0xf1)];[_0xca73ca(0xdc)];[_0xca73ca(0x11c)];[_0xca73ca(0xeb)];[_0xca73ca(0x118)];[_0xca73ca(0x11e)]=0x1;[_0xca73ca(0xe9)];[_0xca73ca(0xe3)];[_0xca73ca(0xed)]=!0x0;constructor(_0x44a822,_0xed4d3){const _0x3a8845=_0xca73ca;super(_0x44a822),this[_0x3a8845(0xe9)]=_0xed4d3||[...AI_REPLY_ACTIONS],this[_0x3a8845(0xe3)]=[...this[_0x3a8845(0xe9)]];const _0x503abd=this[_0x3a8845(0xca)];this[_0x3a8845(0xd8)](_0x3a8845(0x101),!0x0),this[_0x3a8845(0xd8)](_0x3a8845(0xc8),!0x0),this[_0x3a8845(0xd8)](_0x3a8845(0xd0),!0x1),this[_0x3a8845(0x11c)]=new _0x26da5d({'label':Hn(_0x3a8845(0xcc),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x4a23c1,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xcc)}),this[_0x3a8845(0xeb)]=new _0x26da5d({'label':Hn(_0x3a8845(0xe8),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x5e5ddf,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xe8)}),this[_0x3a8845(0x118)]=new _0x26da5d({'label':Hn(_0x3a8845(0xd7),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x43ef1e,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xd7)}),this[_0x3a8845(0xf1)]=this[_0x3a8845(0x10b)](_0x44a822),this[_0x3a8845(0xdc)]=this[_0x3a8845(0xc6)](),this[_0x3a8845(0xf1)]&&this[_0x3a8845(0xdc)][_0x3a8845(0xd1)](this[_0x3a8845(0xf1)]),this[_0x3a8845(0xcb)]({'tag':_0x3a8845(0x106),'attributes':{'class':['ck',_0x3a8845(0x104),_0x503abd['if'](_0x3a8845(0xc8),_0x3a8845(0x109),_0x20cc0f=>!_0x20cc0f)]},'children':this[_0x3a8845(0xdc)]}),this['on'](_0x3a8845(0xe0),()=>{const _0x192b7a=_0x3a8845;this[_0x192b7a(0xe3)]=this[_0x192b7a(0xd0)]?this[_0x192b7a(0xe9)][_0x192b7a(0x102)](_0x4f5ef1=>_0x192b7a(0xcc)!==_0x4f5ef1):[...this[_0x192b7a(0xe9)]],this[_0x192b7a(0x11f)](_0x44a822);});}[_0xca73ca(0x11f)](_0x37ffe5){const _0x3f37de=_0xca73ca;this[_0x3f37de(0xf1)]&&this[_0x3f37de(0xdc)][_0x3f37de(0xd3)](this[_0x3f37de(0xf1)])&&(this[_0x3f37de(0xdc)][_0x3f37de(0xcf)](this[_0x3f37de(0xf1)]),this[_0x3f37de(0xf1)][_0x3f37de(0xd4)]()),this[_0x3f37de(0xf1)]=this[_0x3f37de(0x10b)](_0x37ffe5),this[_0x3f37de(0xf1)]&&this[_0x3f37de(0xdc)][_0x3f37de(0xd1)](this[_0x3f37de(0xf1)]);}[_0xca73ca(0x10b)](_0x47670d){const _0x51e881=_0xca73ca;if(0x0==this[_0x51e881(0xe3)][_0x51e881(0x115)])return null;const _0x50efc6=0x1===this[_0x51e881(0xe3)][_0x51e881(0x115)]?this[_0x51e881(0xce)](_0x47670d):this[_0x51e881(0x10e)](_0x47670d),_0x1d4d61=this[_0x51e881(0xed)]?'':_0x51e881(0x110);_0x50efc6[_0x51e881(0xd8)]({'label':Hn(this[_0x51e881(0xe3)][0x0],_0x47670d,this[_0x51e881(0x11e)]),'tooltip':Ln(this[_0x51e881(0xe3)][0x0],_0x47670d,this[_0x51e881(0x11e)]),'withText':!0x0,'class':_0x51e881(0xea)+_0x1d4d61});for(const _0x3ba810 of this[_0x51e881(0xe3)])_0x50efc6['on'](_0x3ba810,()=>{const _0x61b37b=_0x51e881;this[_0x61b37b(0x114)](_0x3ba810);});return this[_0x51e881(0xed)]=!0x1,_0x50efc6;}[_0xca73ca(0xce)](_0x15272d){const _0x23f299=_0xca73ca,_0x1cc357=new _0x5aa251(_0x15272d);return _0x1cc357[_0x23f299(0xd8)]({'class':_0x23f299(0x113),'withText':!0x0}),_0x1cc357['on'](_0x23f299(0xc9),()=>{const _0x17c478=_0x23f299;_0x1cc357[_0x17c478(0x114)](this[_0x17c478(0xe3)][0x0]);}),_0x1cc357;}[_0xca73ca(0x10e)](_0x36bd19){const _0x1d781a=_0xca73ca,_0x5c53e=new Gn(_0x36bd19,{'listItemModels':this[_0x1d781a(0xe3)][_0x1d781a(0xf9)](_0x38ae72=>{const _0x1286e6=_0x1d781a;switch(_0x38ae72){case _0x1286e6(0xcc):return this[_0x1286e6(0x11c)];case _0x1286e6(0xe8):return this[_0x1286e6(0xeb)];case _0x1286e6(0xd7):return this[_0x1286e6(0x118)];}})});return _0x5c53e[_0x1d781a(0xd8)]({'label':Hn(this[_0x1d781a(0xe3)][0x0],_0x36bd19,this[_0x1d781a(0x11e)]),'tooltip':Ln(this[_0x1d781a(0xe3)][0x0],_0x36bd19,this[_0x1d781a(0x11e)]),'withText':!0x0,'class':_0x1d781a(0x104),'balloonPanelClass':_0x1d781a(0xde)}),_0x5c53e[_0x1d781a(0xee)](_0x1d781a(0x101))['to'](this),_0x5c53e;}[_0xca73ca(0xe2)](_0x8d5d10){const _0x333859=_0xca73ca,_0x320c03=this[_0x333859(0xe7)];this[_0x333859(0x11e)]=_0x8d5d10||this[_0x333859(0x11e)],this[_0x333859(0xf1)][_0x333859(0xd8)]({'label':Hn(this[_0x333859(0xe3)][0x0],_0x320c03,this[_0x333859(0x11e)]),'tooltip':Ln(this[_0x333859(0xe3)][0x0],_0x320c03,this[_0x333859(0x11e)])}),this[_0x333859(0x11c)][_0x333859(0xfd)]=Hn(_0x333859(0xcc),_0x320c03,this[_0x333859(0x11e)]),this[_0x333859(0xeb)][_0x333859(0xfd)]=Hn(_0x333859(0xe8),_0x320c03,this[_0x333859(0x11e)]),this[_0x333859(0x118)][_0x333859(0xfd)]=Hn(_0x333859(0xd7),_0x320c03,this[_0x333859(0x11e)]);}}class Gn extends _0x27d063{[_0xca73ca(0xfc)];[_0xca73ca(0xf4)];[_0xca73ca(0xcd)];[_0xca73ca(0x11a)];constructor(_0x59074d,_0xe55a61){const _0x216e20=_0xca73ca;super(_0x59074d),this[_0x216e20(0xf4)]=new _0x2272ad(this[_0x216e20(0xe7)]),this[_0x216e20(0xfc)]=new _0x323ab5(this[_0x216e20(0xe7)]),this[_0x216e20(0xfc)][_0x216e20(0xff)](),this[_0x216e20(0xd8)](_0x216e20(0xf7),''),this[_0x216e20(0xf4)][_0x216e20(0xee)](_0x216e20(0x124))['to'](this,_0x216e20(0xf7)),this[_0x216e20(0xcd)]=this[_0x216e20(0xda)](_0xe55a61[_0x216e20(0x11d)][_0x216e20(0xf8)](0x1)),this[_0x216e20(0xfc)][_0x216e20(0xd1)](this[_0x216e20(0xf4)]),this[_0x216e20(0xf4)][_0x216e20(0xf5)][_0x216e20(0xd1)](this[_0x216e20(0xcd)]),this[_0x216e20(0xec)][_0x216e20(0x100)](_0x216e20(0x107)),this[_0x216e20(0xec)][_0x216e20(0xd8)](_0x216e20(0x107),_0x3fe1c5(this[_0x216e20(0xe7)],_0x216e20(0xe6))),this[_0x216e20(0x112)](),this['on'](_0x216e20(0xc9),()=>{const _0x2d534b=_0x216e20,_0x21b35e=_0xe55a61[_0x2d534b(0x11d)][0x0][_0x2d534b(0xef)];this[_0x2d534b(0x114)](_0x21b35e),this[_0x2d534b(0xf4)][_0x2d534b(0xf2)](),this[_0x2d534b(0xec)][_0x2d534b(0x122)]();}),this['on'](_0x216e20(0x108),()=>{const _0x46039b=_0x216e20;this[_0x46039b(0xf4)][_0x46039b(0xc8)]?(this[_0x46039b(0xf4)][_0x46039b(0xf2)](),this[_0x46039b(0xec)][_0x46039b(0x122)]()):(this[_0x46039b(0xf4)][_0x46039b(0xfb)]({'target':this[_0x46039b(0x103)],'positions':[_0x46039b(0xf0)===this[_0x46039b(0xe7)][_0x46039b(0x105)]?yn:Pn]}),this[_0x46039b(0xcd)][_0x46039b(0x122)]());}),_0x22b060({'emitter':this[_0x216e20(0xf4)],'callback':()=>{const _0x3263d4=_0x216e20;this[_0x3263d4(0xf4)][_0x3263d4(0xf2)]();},'activator':()=>this[_0x216e20(0xf4)][_0x216e20(0xc8)],'contextElements':()=>[this[_0x216e20(0x103)],this[_0x216e20(0xf4)][_0x216e20(0x103)]]});}[_0xca73ca(0xda)](_0x3ad97c){const _0x3a7b4a=_0xca73ca,_0x22a56f=this[_0x3a7b4a(0xe7)],_0x23bf26=new _0x5b61cb(_0x22a56f);for(const _0x29401e of _0x3ad97c){const _0x4e2aaa=new _0x57735f(_0x22a56f),_0x4b5128=new _0x4258ed(_0x22a56f);_0x4b5128[_0x3a7b4a(0xee)](...Object[_0x3a7b4a(0xd2)](_0x29401e))['to'](_0x29401e),_0x4b5128[_0x3a7b4a(0xf6)](_0x3a7b4a(0xc9))['to'](_0x23bf26),_0x4e2aaa[_0x3a7b4a(0xdc)][_0x3a7b4a(0xd1)](_0x4b5128),_0x23bf26[_0x3a7b4a(0xf3)][_0x3a7b4a(0xd1)](_0x4e2aaa);}return _0x23bf26[_0x3a7b4a(0xf3)][_0x3a7b4a(0xf6)](_0x3a7b4a(0xc9))['to'](this),_0x23bf26['on'](_0x3a7b4a(0xc9),_0x37802c=>{const _0x6b0aec=_0x3a7b4a,_0x25586f=_0x37802c[_0x6b0aec(0xfa)];this[_0x6b0aec(0x114)](_0x25586f[_0x6b0aec(0xef)]),this[_0x6b0aec(0xf4)][_0x6b0aec(0xf2)](),this[_0x6b0aec(0xec)][_0x6b0aec(0x122)]();}),_0x23bf26;}[_0xca73ca(0x112)](){const _0x3912e6=_0xca73ca;this[_0x3912e6(0x11a)]=new _0x423d75(),this[_0x3912e6(0x11a)][_0x3912e6(0x11b)](this[_0x3912e6(0xf4)][_0x3912e6(0x103)]),this[_0x3912e6(0x11a)][_0x3912e6(0xd8)](_0x3912e6(0x10f),(_0x32972c,_0x1afbe8)=>{const _0x1b128d=_0x3912e6;this[_0x1b128d(0xf4)][_0x1b128d(0xf2)](),this[_0x1b128d(0xec)][_0x1b128d(0x122)](),_0x1afbe8();});}[_0xca73ca(0xd4)](){const _0x3445c1=_0xca73ca;super[_0x3445c1(0xd4)](),this[_0x3445c1(0x11a)][_0x3445c1(0xd4)](),this[_0x3445c1(0xf4)][_0x3445c1(0xd4)](),this[_0x3445c1(0xfc)][_0x3445c1(0xdb)]();}}function _0x657f(){const _0x241120=['AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','class','createCollection','4715778uigfuC','isVisible','execute','bindTemplate','setTemplate','applySuggestion','listView','_createActionsButton','remove','isTrackChangesOn','add','keys','has','destroy','1jjfFSQ','bottom','insertSuggestion','set','2114672dCfesG','_setUpList','detachFromDom','children','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions__balloon','width','change:isTrackChangesOn','2362816OEPjdK','updateLabels','_dropdownCurrentConfig','4kSIqjr','button','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','locale','showChangeInText','_dropdownOriginalConfig','ck-ai-chat__feed__ai-suggestion__actions\x20','showChangeInTextModel','arrowView','_firstRender','bind','actionName','ltr','actionsButton','hide','items','balloonPanelView','content','delegate','balloonPanelClass','slice','map','source','pin','bodyCollection','label','77854dmOYrk','attachToDom','unbind','isEnabled','filter','element','ck-ai-chat__feed__ai-suggestion__actions','uiLanguageDirection','div','tooltip','open','ck-hidden','5250370qNklOv','_createActionsDropdownOrButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','left','_createActionsDropdown','esc','ck-ai-chat__feed__ai-suggestion__actions--no-animation','9695871bVyKXc','_setUpKeystrokes','ck-ai-button-primary','fire','length','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','arrowless','insertSuggestionModel','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','keystrokeHandler','listenTo','applySuggestionModel','listItemModels','_partsCount','_updateDropdownActions','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','5129214rOhBdo','focus'];_0x657f=function(){return _0x241120;};return _0x657f();}function yn(_0x399440){const _0x176270=_0xca73ca;return{'top':_0x399440[_0x176270(0xd6)],'left':_0x399440[_0x176270(0x10d)],'name':_0x176270(0x117),'config':{'withArrow':!0x1}};}function Pn(_0x4ab3df,_0x49cf87){const _0x3bfcd2=_0xca73ca;return{'top':_0x4ab3df[_0x3bfcd2(0xd6)],'left':_0x4ab3df[_0x3bfcd2(0x10d)]-(_0x49cf87[_0x3bfcd2(0xdf)]-_0x4ab3df[_0x3bfcd2(0xdf)]),'name':_0x3bfcd2(0x117),'config':{'withArrow':!0x1}};}function Hn(_0xee851d,_0x162ff7,_0x38820f){const _0x18b628=_0xca73ca;switch(_0xee851d){case _0x18b628(0xcc):return _0x3fe1c5(_0x162ff7,_0x18b628(0x10c),_0x38820f);case _0x18b628(0xe8):return _0x3fe1c5(_0x162ff7,_0x18b628(0x116),_0x38820f);case _0x18b628(0xd7):return _0x3fe1c5(_0x162ff7,_0x18b628(0x119),_0x38820f);}}function Ln(_0x18571b,_0x5eaf8e,_0x37afb1){const _0x3b9879=_0xca73ca;switch(_0x18571b){case _0x3b9879(0xcc):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0x120),_0x37afb1);case _0x3b9879(0xe8):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0xdd),_0x37afb1);case _0x3b9879(0xd7):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0x123),_0x37afb1);}}
23
+ const _0x14f0dc=_0x1cd9;(function(_0x349330,_0x3a3bf8){const _0x2c2f4a=_0x1cd9,_0x166720=_0x349330();while(!![]){try{const _0x13e209=parseInt(_0x2c2f4a(0x1bd))/0x1+-parseInt(_0x2c2f4a(0x1d8))/0x2*(-parseInt(_0x2c2f4a(0x1dd))/0x3)+-parseInt(_0x2c2f4a(0x199))/0x4*(-parseInt(_0x2c2f4a(0x1ae))/0x5)+parseInt(_0x2c2f4a(0x1e1))/0x6*(parseInt(_0x2c2f4a(0x1e3))/0x7)+-parseInt(_0x2c2f4a(0x1db))/0x8*(-parseInt(_0x2c2f4a(0x1ad))/0x9)+-parseInt(_0x2c2f4a(0x1ee))/0xa*(-parseInt(_0x2c2f4a(0x1aa))/0xb)+parseInt(_0x2c2f4a(0x1e8))/0xc*(-parseInt(_0x2c2f4a(0x1d1))/0xd);if(_0x13e209===_0x3a3bf8)break;else _0x166720['push'](_0x166720['shift']());}catch(_0x192cb2){_0x166720['push'](_0x166720['shift']());}}}(_0x3d06,0x6b74a));import{KeystrokeHandler as _0x349cc5}from'ckeditor5/src/utils.js';function _0x1cd9(_0x5d3024,_0x179bac){const _0x3d067d=_0x3d06();return _0x1cd9=function(_0x1cd9d0,_0x17d65f){_0x1cd9d0=_0x1cd9d0-0x192;let _0x3c8bd9=_0x3d067d[_0x1cd9d0];return _0x3c8bd9;},_0x1cd9(_0x5d3024,_0x179bac);}import{BalloonPanelView as _0xc22553,BodyCollection as _0x30b9a1,ButtonView as _0x418e57,clickOutsideHandler as _0x309056,ListItemButtonView as _0x160a3a,ListItemView as _0x12b2da,ListView as _0x27ace8,SplitButtonView as _0x1ab1e2,UIModel as _0x51e95a,View as _0x5cebd0}from'ckeditor5/src/ui.js';import{IconCheck as _0x319883,IconAddComment as _0x5bbe6e,IconDocumentWithLoupe as _0x55719f}from'ckeditor5/src/icons.js';import{getTranslation as _0x358a12}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x14f0dc(0x1f1),_0x14f0dc(0x19d),_0x14f0dc(0x1a4)];export class AIChatFeedSuggestionItemActionsView extends _0x5cebd0{[_0x14f0dc(0x19b)];[_0x14f0dc(0x1d4)];[_0x14f0dc(0x1e4)];[_0x14f0dc(0x19c)];[_0x14f0dc(0x19f)];[_0x14f0dc(0x1ec)]=0x1;[_0x14f0dc(0x1bf)];[_0x14f0dc(0x1b9)];[_0x14f0dc(0x19a)]=!0x0;constructor(_0x42ea17,_0x4e836a){const _0x5796c4=_0x14f0dc;super(_0x42ea17),this[_0x5796c4(0x1bf)]=_0x4e836a||[...AI_REPLY_ACTIONS],this[_0x5796c4(0x1b9)]=[...this[_0x5796c4(0x1bf)]];const _0x53cc49=this[_0x5796c4(0x1e7)];this[_0x5796c4(0x1b0)](_0x5796c4(0x1a0),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x192),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x1c0),!0x1),this[_0x5796c4(0x1e4)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1f1),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x319883,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1f1)}),this[_0x5796c4(0x19c)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1a4),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x55719f,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1a4)}),this[_0x5796c4(0x19f)]=new _0x51e95a({'label':Hn(_0x5796c4(0x19d),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x5bbe6e,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x19d)}),this[_0x5796c4(0x19b)]=this[_0x5796c4(0x1af)](_0x42ea17),this[_0x5796c4(0x1d4)]=this[_0x5796c4(0x1d0)](),this[_0x5796c4(0x19b)]&&this[_0x5796c4(0x1d4)][_0x5796c4(0x1b8)](this[_0x5796c4(0x19b)]),this[_0x5796c4(0x1d7)]({'tag':_0x5796c4(0x1a1),'attributes':{'class':['ck',_0x5796c4(0x1ef),_0x53cc49['if'](_0x5796c4(0x192),_0x5796c4(0x1d3),_0xcc25eb=>!_0xcc25eb)]},'children':this[_0x5796c4(0x1d4)]}),this['on'](_0x5796c4(0x1c8),()=>{const _0x3eef64=_0x5796c4;this[_0x3eef64(0x1b9)]=this[_0x3eef64(0x1c0)]?this[_0x3eef64(0x1bf)][_0x3eef64(0x1f2)](_0x54a32b=>_0x3eef64(0x1f1)!==_0x54a32b):[...this[_0x3eef64(0x1bf)]],this[_0x3eef64(0x1ba)](_0x42ea17);});}[_0x14f0dc(0x1ba)](_0x4a1c33){const _0x4c5e99=_0x14f0dc;this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x197)](this[_0x4c5e99(0x19b)])&&(this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1f0)](this[_0x4c5e99(0x19b)]),this[_0x4c5e99(0x19b)][_0x4c5e99(0x1de)]()),this[_0x4c5e99(0x19b)]=this[_0x4c5e99(0x1af)](_0x4a1c33),this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1b8)](this[_0x4c5e99(0x19b)]);}[_0x14f0dc(0x1af)](_0x2d273a){const _0x2fc3b2=_0x14f0dc;if(0x0==this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)])return null;const _0x326661=0x1===this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)]?this[_0x2fc3b2(0x1b3)](_0x2d273a):this[_0x2fc3b2(0x1bb)](_0x2d273a),_0x4dd42a=this[_0x2fc3b2(0x19a)]?'':_0x2fc3b2(0x1cb);_0x326661[_0x2fc3b2(0x1b0)]({'label':Hn(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'tooltip':Ln(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'withText':!0x0,'class':_0x2fc3b2(0x1ce)+_0x4dd42a});for(const _0x22fd3c of this[_0x2fc3b2(0x1b9)])_0x326661['on'](_0x22fd3c,()=>{const _0x8a21f3=_0x2fc3b2;this[_0x8a21f3(0x1e0)](_0x22fd3c);});return this[_0x2fc3b2(0x19a)]=!0x1,_0x326661;}[_0x14f0dc(0x1b3)](_0x114db5){const _0x372bc5=_0x14f0dc,_0x56df0c=new _0x418e57(_0x114db5);return _0x56df0c[_0x372bc5(0x1b0)]({'class':_0x372bc5(0x1a7),'withText':!0x0}),_0x56df0c['on'](_0x372bc5(0x1c5),()=>{const _0x51054f=_0x372bc5;_0x56df0c[_0x51054f(0x1e0)](this[_0x51054f(0x1b9)][0x0]);}),_0x56df0c;}[_0x14f0dc(0x1bb)](_0x2c4c0b){const _0xe43b90=_0x14f0dc,_0x4331d0=new Gn(_0x2c4c0b,{'listItemModels':this[_0xe43b90(0x1b9)][_0xe43b90(0x1c7)](_0x407274=>{const _0x3441a0=_0xe43b90;switch(_0x407274){case _0x3441a0(0x1f1):return this[_0x3441a0(0x1e4)];case _0x3441a0(0x1a4):return this[_0x3441a0(0x19c)];case _0x3441a0(0x19d):return this[_0x3441a0(0x19f)];}})});return _0x4331d0[_0xe43b90(0x1b0)]({'label':Hn(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'tooltip':Ln(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'withText':!0x0,'class':_0xe43b90(0x1ef),'balloonPanelClass':_0xe43b90(0x1a3)}),_0x4331d0[_0xe43b90(0x1a6)](_0xe43b90(0x1a0))['to'](this),_0x4331d0;}[_0x14f0dc(0x1cc)](_0x18536b){const _0x490880=_0x14f0dc,_0x59c777=this[_0x490880(0x1ab)];this[_0x490880(0x1ec)]=_0x18536b||this[_0x490880(0x1ec)],this[_0x490880(0x19b)][_0x490880(0x1b0)]({'label':Hn(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)]),'tooltip':Ln(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)])}),this[_0x490880(0x1e4)][_0x490880(0x19e)]=Hn(_0x490880(0x1f1),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19c)][_0x490880(0x19e)]=Hn(_0x490880(0x1a4),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19f)][_0x490880(0x19e)]=Hn(_0x490880(0x19d),_0x59c777,this[_0x490880(0x1ec)]);}}class Gn extends _0x1ab1e2{[_0x14f0dc(0x1e9)];[_0x14f0dc(0x1c3)];[_0x14f0dc(0x1ed)];[_0x14f0dc(0x1eb)];constructor(_0x2175ac,_0x38a2d1){const _0x4043f1=_0x14f0dc;super(_0x2175ac),this[_0x4043f1(0x1c3)]=new _0xc22553(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)]=new _0x30b9a1(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)][_0x4043f1(0x1a5)](),this[_0x4043f1(0x1b0)](_0x4043f1(0x1c2),''),this[_0x4043f1(0x1c3)][_0x4043f1(0x1a6)](_0x4043f1(0x1e2))['to'](this,_0x4043f1(0x1c2)),this[_0x4043f1(0x1ed)]=this[_0x4043f1(0x1df)](_0x38a2d1[_0x4043f1(0x198)][_0x4043f1(0x1a2)](0x1)),this[_0x4043f1(0x1e9)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1c3)]),this[_0x4043f1(0x1c3)][_0x4043f1(0x193)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1ed)]),this[_0x4043f1(0x196)][_0x4043f1(0x1cd)](_0x4043f1(0x1ac)),this[_0x4043f1(0x196)][_0x4043f1(0x1b0)](_0x4043f1(0x1ac),_0x358a12(this[_0x4043f1(0x1ab)],_0x4043f1(0x1b1))),this[_0x4043f1(0x1e5)](),this['on'](_0x4043f1(0x1c5),()=>{const _0x486c6c=_0x4043f1,_0x35c007=_0x38a2d1[_0x486c6c(0x198)][0x0][_0x486c6c(0x1b6)];this[_0x486c6c(0x1e0)](_0x35c007),this[_0x486c6c(0x1c3)][_0x486c6c(0x1c6)](),this[_0x486c6c(0x196)][_0x486c6c(0x195)]();}),this['on'](_0x4043f1(0x1f4),()=>{const _0x195e1a=_0x4043f1;this[_0x195e1a(0x1c3)][_0x195e1a(0x192)]?(this[_0x195e1a(0x1c3)][_0x195e1a(0x1c6)](),this[_0x195e1a(0x196)][_0x195e1a(0x195)]()):(this[_0x195e1a(0x1c3)][_0x195e1a(0x1ea)]({'target':this[_0x195e1a(0x1b7)],'positions':[_0x195e1a(0x1f3)===this[_0x195e1a(0x1ab)][_0x195e1a(0x1b2)]?yn:Pn]}),this[_0x195e1a(0x1ed)][_0x195e1a(0x195)]());}),_0x309056({'emitter':this[_0x4043f1(0x1c3)],'callback':()=>{const _0x2c26cf=_0x4043f1;this[_0x2c26cf(0x1c3)][_0x2c26cf(0x1c6)]();},'activator':()=>this[_0x4043f1(0x1c3)][_0x4043f1(0x192)],'contextElements':()=>[this[_0x4043f1(0x1b7)],this[_0x4043f1(0x1c3)][_0x4043f1(0x1b7)]]});}[_0x14f0dc(0x1df)](_0xb44b62){const _0x593667=_0x14f0dc,_0x229d19=this[_0x593667(0x1ab)],_0x58e765=new _0x27ace8(_0x229d19);for(const _0x2040c3 of _0xb44b62){const _0x37e179=new _0x12b2da(_0x229d19),_0x1075bb=new _0x160a3a(_0x229d19);_0x1075bb[_0x593667(0x1a6)](...Object[_0x593667(0x1d9)](_0x2040c3))['to'](_0x2040c3),_0x1075bb[_0x593667(0x1e6)](_0x593667(0x1c5))['to'](_0x58e765),_0x37e179[_0x593667(0x1d4)][_0x593667(0x1b8)](_0x1075bb),_0x58e765[_0x593667(0x1ca)][_0x593667(0x1b8)](_0x37e179);}return _0x58e765[_0x593667(0x1ca)][_0x593667(0x1e6)](_0x593667(0x1c5))['to'](this),_0x58e765['on'](_0x593667(0x1c5),_0x12db47=>{const _0x4dc379=_0x593667,_0x4cf8c5=_0x12db47[_0x4dc379(0x1d2)];this[_0x4dc379(0x1e0)](_0x4cf8c5[_0x4dc379(0x1b6)]),this[_0x4dc379(0x1c3)][_0x4dc379(0x1c6)](),this[_0x4dc379(0x196)][_0x4dc379(0x195)]();}),_0x58e765;}[_0x14f0dc(0x1e5)](){const _0x1ce309=_0x14f0dc;this[_0x1ce309(0x1eb)]=new _0x349cc5(),this[_0x1ce309(0x1eb)][_0x1ce309(0x1a8)](this[_0x1ce309(0x1c3)][_0x1ce309(0x1b7)]),this[_0x1ce309(0x1eb)][_0x1ce309(0x1b0)](_0x1ce309(0x1b4),(_0x315bd8,_0xdb0522)=>{const _0x1ba069=_0x1ce309;this[_0x1ba069(0x1c3)][_0x1ba069(0x1c6)](),this[_0x1ba069(0x196)][_0x1ba069(0x195)](),_0xdb0522();});}[_0x14f0dc(0x1de)](){const _0x1f2e2d=_0x14f0dc;super[_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1eb)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1c3)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1e9)][_0x1f2e2d(0x194)]();}}function _0x3d06(){const _0x59a556=['_partsCount','listView','4052840cIaZCl','ck-ai-chat__feed__ai-suggestion__actions','remove','applySuggestion','filter','ltr','open','isVisible','content','detachFromDom','focus','arrowView','has','listItemModels','8548DGXqPT','_firstRender','actionsButton','showChangeInTextModel','insertSuggestion','label','insertSuggestionModel','isEnabled','div','slice','ck-ai-chat__feed__ai-suggestion__actions__balloon','showChangeInText','attachToDom','bind','ck-ai-button-primary','listenTo','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','22ESVMhW','locale','tooltip','1735785ILpNzU','240vtkdaj','_createActionsDropdownOrButton','set','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','uiLanguageDirection','_createActionsButton','esc','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','actionName','element','add','_dropdownCurrentConfig','_updateDropdownActions','_createActionsDropdown','arrowless','640485dotTMP','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_dropdownOriginalConfig','isTrackChangesOn','left','balloonPanelClass','balloonPanelView','button','execute','hide','map','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','items','ck-ai-chat__feed__ai-suggestion__actions--no-animation','updateLabels','unbind','ck-ai-chat__feed__ai-suggestion__actions\x20','bottom','createCollection','1534OYKajU','source','ck-hidden','children','width','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','setTemplate','2WKSXac','keys','length','16ExHsEN','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','5307bSIoWx','destroy','_setUpList','fire','246SJMJZx','class','84126AlqtRY','applySuggestionModel','_setUpKeystrokes','delegate','bindTemplate','202752QJOIcx','bodyCollection','pin','keystrokeHandler'];_0x3d06=function(){return _0x59a556;};return _0x3d06();}function yn(_0x72b70f){const _0x5dbf08=_0x14f0dc;return{'top':_0x72b70f[_0x5dbf08(0x1cf)],'left':_0x72b70f[_0x5dbf08(0x1c1)],'name':_0x5dbf08(0x1bc),'config':{'withArrow':!0x1}};}function Pn(_0x54f725,_0xd40ad){const _0x36cab5=_0x14f0dc;return{'top':_0x54f725[_0x36cab5(0x1cf)],'left':_0x54f725[_0x36cab5(0x1c1)]-(_0xd40ad[_0x36cab5(0x1d5)]-_0x54f725[_0x36cab5(0x1d5)]),'name':_0x36cab5(0x1bc),'config':{'withArrow':!0x1}};}function Hn(_0x35b7f9,_0x4a2870,_0x18bda9){const _0x3ab930=_0x14f0dc;switch(_0x35b7f9){case _0x3ab930(0x1f1):return _0x358a12(_0x4a2870,_0x3ab930(0x1be),_0x18bda9);case _0x3ab930(0x1a4):return _0x358a12(_0x4a2870,_0x3ab930(0x1dc),_0x18bda9);case _0x3ab930(0x19d):return _0x358a12(_0x4a2870,_0x3ab930(0x1c9),_0x18bda9);}}function Ln(_0x1c01ec,_0x35edd9,_0x1bac78){const _0x4458d3=_0x14f0dc;switch(_0x1c01ec){case _0x4458d3(0x1f1):return _0x358a12(_0x35edd9,_0x4458d3(0x1a9),_0x1bac78);case _0x4458d3(0x1a4):return _0x358a12(_0x35edd9,_0x4458d3(0x1d6),_0x1bac78);case _0x4458d3(0x19d):return _0x358a12(_0x35edd9,_0x4458d3(0x1b5),_0x1bac78);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44d8(){var _0x6cb891=['areActionsDisabled','isVisible','48Aqlffv','availableActions','extendTemplate','updateLabels','toggleSuggestionDisplayMode','812319reUJrP','bind','markAsDone','952bmqEhL','set','rejectSuggestion','1720122cDWOwK','showDiff','addMany','1gvasfW','mouseOverSuggestion','actionsView','16107620aPSZWo','374490wAJQDg','20874436xmcGZa','838220XrTNgj','containerView','bodyView','7sMbWRy','isTrackChangesOn','children','hasPendingParts','hasNonEmptyParts','options','updateContent','showChangeInText','updateSources','isEnabled','like','insertSuggestion','getPartView','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','fire','updatePartState','partsCount','7731FoeDBA','applySuggestion','dislike'];_0x44d8=function(){return _0x6cb891;};return _0x44d8();}function _0x4084(_0x257374,_0x3fe55c){var _0x44d872=_0x44d8();return _0x4084=function(_0x408420,_0x4c0ea5){_0x408420=_0x408420-0x7a;var _0x33f834=_0x44d872[_0x408420];return _0x33f834;},_0x4084(_0x257374,_0x3fe55c);}var _0x7b043=_0x4084;(function(_0x420346,_0x53d6e2){var _0x564474=_0x4084,_0x3e16c6=_0x420346();while(!![]){try{var _0x228819=-parseInt(_0x564474(0x8f))/0x1*(parseInt(_0x564474(0x95))/0x2)+parseInt(_0x564474(0x86))/0x3+parseInt(_0x564474(0x81))/0x4*(parseInt(_0x564474(0x93))/0x5)+-parseInt(_0x564474(0x8c))/0x6*(parseInt(_0x564474(0x98))/0x7)+-parseInt(_0x564474(0x89))/0x8*(-parseInt(_0x564474(0x7c))/0x9)+-parseInt(_0x564474(0x92))/0xa+parseInt(_0x564474(0x94))/0xb;if(_0x228819===_0x53d6e2)break;else _0x3e16c6['push'](_0x3e16c6['shift']());}catch(_0x3564cc){_0x3e16c6['push'](_0x3e16c6['shift']());}}}(_0x44d8,0xd0397));import{AIChatFeedItemView as _0x188a31}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3d0b1d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x5d1635}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x188a31{[_0x7b043(0x96)];[_0x7b043(0x91)];constructor(_0x5b059c,_0x13e07b){var _0x465bc3=_0x7b043;super(_0x13e07b),this[_0x465bc3(0x8a)](_0x465bc3(0x99),!0x1),this[_0x465bc3(0x96)]=new _0x3d0b1d(_0x5b059c,{'showDiff':_0x13e07b[_0x465bc3(0x8d)],'areActionsDisabled':_0x13e07b[_0x465bc3(0x7f)],'availableActions':_0x13e07b[_0x465bc3(0x82)]}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x85),(_0x758113,_0x1d205c)=>{var _0x4c45f2=_0x465bc3;this[_0x4c45f2(0xa7)](_0x4c45f2(0x85),{'replyId':this[_0x4c45f2(0x9d)]['id'],'showDiff':_0x1d205c[_0x4c45f2(0x8d)]});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa2),()=>{var _0x15d58f=_0x465bc3;this[_0x15d58f(0xa7)](_0x15d58f(0xa2),{'replyId':this[_0x15d58f(0x9d)]['id']});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x7e),()=>{var _0x412c69=_0x465bc3;this[_0x412c69(0xa7)](_0x412c69(0x7e),{'replyId':this[_0x412c69(0x9d)]['id']});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x9f),(_0xe75d3a,{index:_0x303de7})=>{var _0xa0b47a=_0x465bc3;this[_0xa0b47a(0xa7)](_0xa0b47a(0x9f),{'replyId':this[_0xa0b47a(0x9d)]['id'],'partIndex':_0x303de7});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa3),(_0x3f5afa,{index:_0x1215b2})=>{var _0x698c59=_0x465bc3;this[_0x698c59(0xa7)](_0x698c59(0xa3),{'replyId':this[_0x698c59(0x9d)]['id'],'partIndex':_0x1215b2});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x8b),(_0x2fdf7a,{index:_0x2a6b07})=>{var _0x1230d0=_0x465bc3;this[_0x1230d0(0xa7)](_0x1230d0(0x8b),{'replyId':this[_0x1230d0(0x9d)]['id'],'partIndex':_0x2a6b07});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x90),(_0x57d6fd,{index:_0x3463fc})=>{var _0x465693=_0x465bc3;this[_0x465693(0xa7)](_0x465693(0x90),{'replyId':this[_0x465693(0x9d)]['id'],'partIndex':_0x3463fc});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa6),(_0x50c920,{index:_0x204ae2})=>{var _0x5d951d=_0x465bc3;this[_0x5d951d(0xa7)](_0x5d951d(0xa6),{'replyId':this[_0x5d951d(0x9d)]['id'],'partIndex':_0x204ae2});}),this[_0x465bc3(0x91)]=new _0x5d1635(_0x5b059c,this[_0x465bc3(0x9d)][_0x465bc3(0x82)]),this[_0x465bc3(0x91)][_0x465bc3(0x87)](_0x465bc3(0x99))['to'](this,_0x465bc3(0x99)),this[_0x465bc3(0x91)]['on'](_0x465bc3(0x9f),()=>{var _0xaf737d=_0x465bc3;this[_0xaf737d(0xa7)](_0xaf737d(0x9f),{'replyId':this[_0xaf737d(0x9d)]['id']});}),this[_0x465bc3(0x91)]['on'](_0x465bc3(0xa3),()=>{var _0x5c4149=_0x465bc3;this[_0x5c4149(0xa7)](_0x5c4149(0xa3),{'replyId':this[_0x5c4149(0x9d)]['id']});}),this[_0x465bc3(0x91)]['on'](_0x465bc3(0x7d),()=>{var _0xe738c9=_0x465bc3;this[_0xe738c9(0xa7)](_0xe738c9(0x7d),{'replyId':this[_0xe738c9(0x9d)]['id']});}),_0x13e07b[_0x465bc3(0x7f)]?this[_0x465bc3(0x91)][_0x465bc3(0xa1)]=!0x1:this[_0x465bc3(0x91)][_0x465bc3(0x87)](_0x465bc3(0xa1))['to'](this[_0x465bc3(0x96)][_0x465bc3(0x97)],_0x465bc3(0x9b)),this[_0x465bc3(0x9a)][_0x465bc3(0x8e)]([this[_0x465bc3(0x96)],this[_0x465bc3(0x91)]]),this[_0x465bc3(0x83)]({'attributes':{'class':[_0x465bc3(0xa5)]}});}async[_0x7b043(0x9e)](_0x4ca01e){var _0x272550=_0x7b043;await this[_0x272550(0x96)][_0x272550(0x9e)](_0x4ca01e),this[_0x272550(0x91)][_0x272550(0x84)](this[_0x272550(0x96)][_0x272550(0x97)][_0x272550(0x7b)]);}[_0x7b043(0x7a)](_0x546568,_0x12a553){var _0x3ebb24=_0x7b043;this[_0x3ebb24(0x96)][_0x3ebb24(0x97)][_0x3ebb24(0x7a)](_0x546568,_0x12a553);}[_0x7b043(0xa0)](_0x23d843){var _0x199aa2=_0x7b043;this[_0x199aa2(0x96)][_0x199aa2(0xa0)](_0x23d843);}[_0x7b043(0xa4)](_0x44093a){var _0x360831=_0x7b043;return this[_0x360831(0x96)][_0x360831(0x97)][_0x360831(0xa4)](_0x44093a);}[_0x7b043(0x88)](){var _0x4178ee=_0x7b043;super[_0x4178ee(0x88)](),this[_0x4178ee(0x96)][_0x4178ee(0x88)](),this[_0x4178ee(0x91)][_0x4178ee(0x80)]=this[_0x4178ee(0x96)][_0x4178ee(0x97)][_0x4178ee(0x9c)];}}
23
+ var _0x123581=_0xf766;function _0xf766(_0x5abd94,_0x308c52){var _0x3c7c13=_0x3c7c();return _0xf766=function(_0xf76605,_0xf04f55){_0xf76605=_0xf76605-0x109;var _0x543217=_0x3c7c13[_0xf76605];return _0x543217;},_0xf766(_0x5abd94,_0x308c52);}function _0x3c7c(){var _0x2ae53d=['markAsDone','1543504yGJmET','64267LtEUTp','bodyView','ck-ai-chat__feed__ai-suggestion','isEnabled','isTrackChangesOn','fire','addMany','hasNonEmptyParts','updateLabels','7rMMXkX','insertSuggestion','containerView','availableActions','mouseLeaveSuggestion','180JkgyBB','mouseOverSuggestion','applySuggestion','extendTemplate','823160dpzQzP','2399832iJKkHZ','isVisible','options','bind','toggleSuggestionDisplayMode','showDiff','getPartView','like','hasPendingParts','partsCount','set','36363wlnmhv','updateContent','actionsView','128mxFxxP','updatePartState','updateSources','rejectSuggestion','249939trNGSu','children','showChangeInText','2342830fHBOhf','areActionsDisabled','dislike'];_0x3c7c=function(){return _0x2ae53d;};return _0x3c7c();}(function(_0x56b67b,_0x319840){var _0x233798=_0xf766,_0x89a97f=_0x56b67b();while(!![]){try{var _0x51cc30=parseInt(_0x233798(0x10d))/0x1+-parseInt(_0x233798(0x11f))/0x2+-parseInt(_0x233798(0x12b))/0x3*(-parseInt(_0x233798(0x12e))/0x4)+parseInt(_0x233798(0x135))/0x5+-parseInt(_0x233798(0x120))/0x6+-parseInt(_0x233798(0x116))/0x7*(parseInt(_0x233798(0x10c))/0x8)+-parseInt(_0x233798(0x132))/0x9*(-parseInt(_0x233798(0x11b))/0xa);if(_0x51cc30===_0x319840)break;else _0x89a97f['push'](_0x89a97f['shift']());}catch(_0x149d53){_0x89a97f['push'](_0x89a97f['shift']());}}}(_0x3c7c,0x6595d));import{AIChatFeedItemView as _0x13544e}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0xaa4c5a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x2c0285}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x13544e{[_0x123581(0x118)];[_0x123581(0x12d)];constructor(_0x4e00d0,_0x2a2068){var _0x354506=_0x123581;super(_0x2a2068),this[_0x354506(0x12a)](_0x354506(0x111),!0x1),this[_0x354506(0x118)]=new _0xaa4c5a(_0x4e00d0,{'showDiff':_0x2a2068[_0x354506(0x125)],'areActionsDisabled':_0x2a2068[_0x354506(0x109)],'availableActions':_0x2a2068[_0x354506(0x119)]}),this[_0x354506(0x118)]['on'](_0x354506(0x124),(_0x4399be,_0x56bc88)=>{var _0x1fe028=_0x354506;this[_0x1fe028(0x112)](_0x1fe028(0x124),{'replyId':this[_0x1fe028(0x122)]['id'],'showDiff':_0x56bc88[_0x1fe028(0x125)]});}),this[_0x354506(0x118)]['on'](_0x354506(0x127),()=>{var _0x479287=_0x354506;this[_0x479287(0x112)](_0x479287(0x127),{'replyId':this[_0x479287(0x122)]['id']});}),this[_0x354506(0x118)]['on'](_0x354506(0x10a),()=>{var _0x958d79=_0x354506;this[_0x958d79(0x112)](_0x958d79(0x10a),{'replyId':this[_0x958d79(0x122)]['id']});}),this[_0x354506(0x118)]['on'](_0x354506(0x134),(_0x69493a,{index:_0xb33c30})=>{var _0x5484a0=_0x354506;this[_0x5484a0(0x112)](_0x5484a0(0x134),{'replyId':this[_0x5484a0(0x122)]['id'],'partIndex':_0xb33c30});}),this[_0x354506(0x118)]['on'](_0x354506(0x117),(_0x50efbf,{index:_0x1c58ab})=>{var _0x1d44c6=_0x354506;this[_0x1d44c6(0x112)](_0x1d44c6(0x117),{'replyId':this[_0x1d44c6(0x122)]['id'],'partIndex':_0x1c58ab});}),this[_0x354506(0x118)]['on'](_0x354506(0x131),(_0x12b1ab,{index:_0x5ca57a})=>{var _0x27dad2=_0x354506;this[_0x27dad2(0x112)](_0x27dad2(0x131),{'replyId':this[_0x27dad2(0x122)]['id'],'partIndex':_0x5ca57a});}),this[_0x354506(0x118)]['on'](_0x354506(0x11c),(_0x1b4ea1,{index:_0x472129})=>{var _0x3e1255=_0x354506;this[_0x3e1255(0x112)](_0x3e1255(0x11c),{'replyId':this[_0x3e1255(0x122)]['id'],'partIndex':_0x472129});}),this[_0x354506(0x118)]['on'](_0x354506(0x11a),(_0x1b2ff9,{index:_0x664b77})=>{var _0x5d545e=_0x354506;this[_0x5d545e(0x112)](_0x5d545e(0x11a),{'replyId':this[_0x5d545e(0x122)]['id'],'partIndex':_0x664b77});}),this[_0x354506(0x12d)]=new _0x2c0285(_0x4e00d0,this[_0x354506(0x122)][_0x354506(0x119)]),this[_0x354506(0x12d)][_0x354506(0x123)](_0x354506(0x111))['to'](this,_0x354506(0x111)),this[_0x354506(0x12d)]['on'](_0x354506(0x134),()=>{var _0xbbd0d8=_0x354506;this[_0xbbd0d8(0x112)](_0xbbd0d8(0x134),{'replyId':this[_0xbbd0d8(0x122)]['id']});}),this[_0x354506(0x12d)]['on'](_0x354506(0x117),()=>{var _0x102c47=_0x354506;this[_0x102c47(0x112)](_0x102c47(0x117),{'replyId':this[_0x102c47(0x122)]['id']});}),this[_0x354506(0x12d)]['on'](_0x354506(0x11d),()=>{var _0x46ef0c=_0x354506;this[_0x46ef0c(0x112)](_0x46ef0c(0x11d),{'replyId':this[_0x46ef0c(0x122)]['id']});}),_0x2a2068[_0x354506(0x109)]?this[_0x354506(0x12d)][_0x354506(0x110)]=!0x1:this[_0x354506(0x12d)][_0x354506(0x123)](_0x354506(0x110))['to'](this[_0x354506(0x118)][_0x354506(0x10e)],_0x354506(0x128)),this[_0x354506(0x133)][_0x354506(0x113)]([this[_0x354506(0x118)],this[_0x354506(0x12d)]]),this[_0x354506(0x11e)]({'attributes':{'class':[_0x354506(0x10f)]}});}async[_0x123581(0x12c)](_0x55aaeb){var _0xa21235=_0x123581;await this[_0xa21235(0x118)][_0xa21235(0x12c)](_0x55aaeb),this[_0xa21235(0x12d)][_0xa21235(0x115)](this[_0xa21235(0x118)][_0xa21235(0x10e)][_0xa21235(0x129)]);}[_0x123581(0x12f)](_0x212058,_0x4d8e1e){var _0x3c3d9c=_0x123581;this[_0x3c3d9c(0x118)][_0x3c3d9c(0x10e)][_0x3c3d9c(0x12f)](_0x212058,_0x4d8e1e);}[_0x123581(0x130)](_0x1c30d9){var _0x2cdcf6=_0x123581;this[_0x2cdcf6(0x118)][_0x2cdcf6(0x130)](_0x1c30d9);}[_0x123581(0x126)](_0x97b67c){var _0x2fec61=_0x123581;return this[_0x2fec61(0x118)][_0x2fec61(0x10e)][_0x2fec61(0x126)](_0x97b67c);}[_0x123581(0x10b)](){var _0x1bc398=_0x123581;super[_0x1bc398(0x10b)](),this[_0x1bc398(0x118)][_0x1bc398(0x10b)](),this[_0x1bc398(0x12d)][_0x1bc398(0x121)]=this[_0x1bc398(0x118)][_0x1bc398(0x10e)][_0x1bc398(0x114)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x47024c=_0xe00b;(function(_0x2c05d9,_0x34d8d0){var _0xed7559=_0xe00b,_0x4589cd=_0x2c05d9();while(!![]){try{var _0x127b93=parseInt(_0xed7559(0x1cf))/0x1*(-parseInt(_0xed7559(0x1c3))/0x2)+parseInt(_0xed7559(0x1d5))/0x3*(parseInt(_0xed7559(0x1db))/0x4)+parseInt(_0xed7559(0x1e3))/0x5*(-parseInt(_0xed7559(0x1da))/0x6)+-parseInt(_0xed7559(0x1c7))/0x7+-parseInt(_0xed7559(0x1c5))/0x8*(-parseInt(_0xed7559(0x1d2))/0x9)+parseInt(_0xed7559(0x1d1))/0xa+-parseInt(_0xed7559(0x1e0))/0xb*(parseInt(_0xed7559(0x1e2))/0xc);if(_0x127b93===_0x34d8d0)break;else _0x4589cd['push'](_0x4589cd['shift']());}catch(_0x34f2a7){_0x4589cd['push'](_0x4589cd['shift']());}}}(_0x38e8,0x6f211));function _0x38e8(){var _0xb1634d=['initialContent','render','add','402721KkoEEl','_contextChipsView','72bBtTLc','5IfWECN','hidden','length','_createMessageContentView','809194KuZKOc','filter','1960VfTcVz','ck-ai-chat__feed__user-message','85232dXkuGz','_createContextChipsView','markAsDone','ck-ai-chat__feed__context-chips','_bodyCollection','contextItems','_locale','div','2UfnrZh','extendTemplate','7514300tnPNCN','3006yHNrTx','children','options','2066652rKxZuP','element','innerHTML','ck-ai-chat__feed__message-content','_messageContentView','155538xAuCec','4fyPGRO','setTemplate'];_0x38e8=function(){return _0xb1634d;};return _0x38e8();}import{AIChatFeedItemView as _0x468160}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x11eb4d}from'./aichatfeedcontextchipsview.js';import{View as _0xfc53b6}from'ckeditor5/src/ui.js';function _0xe00b(_0x659de6,_0x48ab7b){var _0x38e824=_0x38e8();return _0xe00b=function(_0xe00bd0,_0x59d0e4){_0xe00bd0=_0xe00bd0-0x1c2;var _0xe6c8b7=_0x38e824[_0xe00bd0];return _0xe6c8b7;},_0xe00b(_0x659de6,_0x48ab7b);}export class AIChatFeedUserMessageItemView extends _0x468160{[_0x47024c(0x1e1)]=null;[_0x47024c(0x1cd)];[_0x47024c(0x1cb)];[_0x47024c(0x1d9)];constructor(_0x399ea7,_0xefdd47,_0x2ce771){var _0x731c74=_0x47024c;super(_0xefdd47),this[_0x731c74(0x1cd)]=_0x399ea7,this[_0x731c74(0x1cb)]=_0x2ce771,this[_0x731c74(0x1c8)](),this[_0x731c74(0x1c2)](),this[_0x731c74(0x1d0)]({'attributes':{'class':[_0x731c74(0x1c6)]}});}[_0x47024c(0x1c8)](){var _0x3db8fb=_0x47024c;this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)]&&this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)][_0x3db8fb(0x1e5)]>0x0&&(this[_0x3db8fb(0x1e1)]=new _0x11eb4d(this[_0x3db8fb(0x1cd)],this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)][_0x3db8fb(0x1c4)](_0x1723a6=>!_0x1723a6[_0x3db8fb(0x1e4)]),this[_0x3db8fb(0x1cb)]),this[_0x3db8fb(0x1e1)][_0x3db8fb(0x1d0)]({'attributes':{'class':_0x3db8fb(0x1ca)}}),this[_0x3db8fb(0x1d3)][_0x3db8fb(0x1df)](this[_0x3db8fb(0x1e1)]));}[_0x47024c(0x1c2)](){var _0x56dd9d=_0x47024c;this[_0x56dd9d(0x1d9)]=new _0xfc53b6(this[_0x56dd9d(0x1cd)]),this[_0x56dd9d(0x1d9)][_0x56dd9d(0x1dc)]({'tag':_0x56dd9d(0x1ce),'attributes':{'class':_0x56dd9d(0x1d8)}}),this[_0x56dd9d(0x1d3)][_0x56dd9d(0x1df)](this[_0x56dd9d(0x1d9)]);}[_0x47024c(0x1de)](){var _0x32c923=_0x47024c;super[_0x32c923(0x1de)](),this[_0x32c923(0x1d9)][_0x32c923(0x1d6)][_0x32c923(0x1d7)]=this[_0x32c923(0x1d4)][_0x32c923(0x1dd)],this[_0x32c923(0x1c9)]();}}
23
+ var _0x257612=_0x58e7;(function(_0x5e579a,_0x53523a){var _0x59ba8b=_0x58e7,_0x32cc48=_0x5e579a();while(!![]){try{var _0x1ee5cc=parseInt(_0x59ba8b(0x172))/0x1*(parseInt(_0x59ba8b(0x17b))/0x2)+parseInt(_0x59ba8b(0x16b))/0x3*(parseInt(_0x59ba8b(0x174))/0x4)+-parseInt(_0x59ba8b(0x15e))/0x5*(parseInt(_0x59ba8b(0x15f))/0x6)+parseInt(_0x59ba8b(0x164))/0x7*(-parseInt(_0x59ba8b(0x180))/0x8)+parseInt(_0x59ba8b(0x181))/0x9*(parseInt(_0x59ba8b(0x17a))/0xa)+-parseInt(_0x59ba8b(0x17f))/0xb*(-parseInt(_0x59ba8b(0x16c))/0xc)+parseInt(_0x59ba8b(0x162))/0xd*(-parseInt(_0x59ba8b(0x179))/0xe);if(_0x1ee5cc===_0x53523a)break;else _0x32cc48['push'](_0x32cc48['shift']());}catch(_0x187576){_0x32cc48['push'](_0x32cc48['shift']());}}}(_0x5c61,0x3a8f9));import{AIChatFeedItemView as _0x5f5874}from'./aichatfeeditemview.js';function _0x5c61(){var _0x5e0ac5=['ck-ai-chat__feed__context-chips','initialContent','innerHTML','142077zjrbBW','36DnDCOM','div','add','setTemplate','_createContextChipsView','_bodyCollection','654nSqyOV','_contextChipsView','4VTzKuh','markAsDone','options','length','ck-ai-chat__feed__user-message','364mvqVui','65980xEKwip','1300jdQjsr','render','ck-ai-chat__feed__message-content','extendTemplate','401797czgWEK','8iXyynD','603qJgqsg','element','_locale','5AdhoYH','625284kLqUTA','filter','_messageContentView','135941EnxuNd','_createMessageContentView','2857015tHCAPG','hidden','children','contextItems'];_0x5c61=function(){return _0x5e0ac5;};return _0x5c61();}function _0x58e7(_0x2ad956,_0x20b668){var _0x5c61e9=_0x5c61();return _0x58e7=function(_0x58e725,_0x4963f4){_0x58e725=_0x58e725-0x15c;var _0x29a395=_0x5c61e9[_0x58e725];return _0x29a395;},_0x58e7(_0x2ad956,_0x20b668);}import{AIChatFeedContextChipsView as _0x29def1}from'./aichatfeedcontextchipsview.js';import{View as _0x4f6201}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x5f5874{[_0x257612(0x173)]=null;[_0x257612(0x15d)];[_0x257612(0x171)];[_0x257612(0x161)];constructor(_0xcc8c2b,_0x2ab55d,_0x5e961e){var _0x2bd9b1=_0x257612;super(_0x2ab55d),this[_0x2bd9b1(0x15d)]=_0xcc8c2b,this[_0x2bd9b1(0x171)]=_0x5e961e,this[_0x2bd9b1(0x170)](),this[_0x2bd9b1(0x163)](),this[_0x2bd9b1(0x17e)]({'attributes':{'class':[_0x2bd9b1(0x178)]}});}[_0x257612(0x170)](){var _0x2aa1eb=_0x257612;this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)]&&this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)][_0x2aa1eb(0x177)]>0x0&&(this[_0x2aa1eb(0x173)]=new _0x29def1(this[_0x2aa1eb(0x15d)],this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)][_0x2aa1eb(0x160)](_0x244e31=>!_0x244e31[_0x2aa1eb(0x165)]),this[_0x2aa1eb(0x171)]),this[_0x2aa1eb(0x173)][_0x2aa1eb(0x17e)]({'attributes':{'class':_0x2aa1eb(0x168)}}),this[_0x2aa1eb(0x166)][_0x2aa1eb(0x16e)](this[_0x2aa1eb(0x173)]));}[_0x257612(0x163)](){var _0x150e02=_0x257612;this[_0x150e02(0x161)]=new _0x4f6201(this[_0x150e02(0x15d)]),this[_0x150e02(0x161)][_0x150e02(0x16f)]({'tag':_0x150e02(0x16d),'attributes':{'class':_0x150e02(0x17d)}}),this[_0x150e02(0x166)][_0x150e02(0x16e)](this[_0x150e02(0x161)]);}[_0x257612(0x17c)](){var _0xf3c8de=_0x257612;super[_0xf3c8de(0x17c)](),this[_0xf3c8de(0x161)][_0xf3c8de(0x15c)][_0xf3c8de(0x16a)]=this[_0xf3c8de(0x176)][_0xf3c8de(0x169)],this[_0xf3c8de(0x175)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc3cfd5=_0x5939;(function(_0x5ec77f,_0x2e2f39){const _0x5e4507=_0x5939,_0x152825=_0x5ec77f();while(!![]){try{const _0x21a163=-parseInt(_0x5e4507(0x96))/0x1+parseInt(_0x5e4507(0xa6))/0x2*(parseInt(_0x5e4507(0x9f))/0x3)+parseInt(_0x5e4507(0xa0))/0x4*(-parseInt(_0x5e4507(0x93))/0x5)+-parseInt(_0x5e4507(0xa3))/0x6+-parseInt(_0x5e4507(0xa8))/0x7*(parseInt(_0x5e4507(0x9b))/0x8)+-parseInt(_0x5e4507(0xa9))/0x9+parseInt(_0x5e4507(0x9d))/0xa;if(_0x21a163===_0x2e2f39)break;else _0x152825['push'](_0x152825['shift']());}catch(_0x2e717e){_0x152825['push'](_0x152825['shift']());}}}(_0x3908,0x31446));function _0x3908(){const _0x2ae3c6=['40780ZCszpG','addDocumentToContext','resizeTabs','45188awLpvi','selectModel','toggleWebSearch','startConversation','sendUserMessage','8RKpeVI','addFileToContext','3957640QhCNBT','addResourceToContext','916863RXylLk','8VnnxpM','addUrlToContext','loadSourceResources','219894rrEHjy','removeContextItem','toggleReasoning','2BlTBeU','abortPromptStream','2104193tLWUjd','907551ikabJv'];_0x3908=function(){return _0x2ae3c6;};return _0x3908();}function _0x5939(_0x5afb11,_0x27a0a3){const _0x3908f9=_0x3908();return _0x5939=function(_0x5939d9,_0x3e57d9){_0x5939d9=_0x5939d9-0x93;let _0x3d8bc6=_0x3908f9[_0x5939d9];return _0x3d8bc6;},_0x5939(_0x5afb11,_0x27a0a3);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2852e4}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x2852e4,_0xc3cfd5(0x99),_0xc3cfd5(0x95),_0xc3cfd5(0x9a),_0xc3cfd5(0xa7),_0xc3cfd5(0x94),_0xc3cfd5(0x9c),_0xc3cfd5(0xa1),_0xc3cfd5(0x9e),_0xc3cfd5(0xa4),_0xc3cfd5(0xa2),_0xc3cfd5(0x98),_0xc3cfd5(0xa5),_0xc3cfd5(0x97)];
23
+ const _0x5c069e=_0x3671;(function(_0x599bd7,_0x411d07){const _0x58f9df=_0x3671,_0x59fc79=_0x599bd7();while(!![]){try{const _0x35df03=parseInt(_0x58f9df(0xb1))/0x1+-parseInt(_0x58f9df(0xb2))/0x2*(-parseInt(_0x58f9df(0xb5))/0x3)+parseInt(_0x58f9df(0xad))/0x4+-parseInt(_0x58f9df(0xb8))/0x5*(-parseInt(_0x58f9df(0xa3))/0x6)+-parseInt(_0x58f9df(0xa6))/0x7*(parseInt(_0x58f9df(0xa9))/0x8)+parseInt(_0x58f9df(0xa8))/0x9+-parseInt(_0x58f9df(0xb7))/0xa;if(_0x35df03===_0x411d07)break;else _0x59fc79['push'](_0x59fc79['shift']());}catch(_0x21b85e){_0x59fc79['push'](_0x59fc79['shift']());}}}(_0x1e64,0xe3bbd));function _0x1e64(){const _0x4e1614=['selectModel','70EycZnG','abortPromptStream','6556149cRIJan','1066832GxBMJm','startConversation','sendUserMessage','addUrlToContext','4517952PZfgAP','addFileToContext','addDocumentToContext','toggleReasoning','186305hRgLjF','4usaygj','loadSourceResources','removeContextItem','910794ybyOkg','addResourceToContext','13689130nUwEtB','10CNIPZR','resizeTabs','2951400VwtVLC','toggleWebSearch'];_0x1e64=function(){return _0x4e1614;};return _0x1e64();}function _0x3671(_0xf29f1d,_0x1b1130){const _0x1e645b=_0x1e64();return _0x3671=function(_0x3671e4,_0x3372ea){_0x3671e4=_0x3671e4-0xa3;let _0xf7642f=_0x1e645b[_0x3671e4];return _0xf7642f;},_0x3671(_0xf29f1d,_0x1b1130);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4cb3ec}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4cb3ec,_0x5c069e(0xaa),_0x5c069e(0xb9),_0x5c069e(0xab),_0x5c069e(0xa7),_0x5c069e(0xaf),_0x5c069e(0xae),_0x5c069e(0xac),_0x5c069e(0xb6),_0x5c069e(0xb4),_0x5c069e(0xb3),_0x5c069e(0xa4),_0x5c069e(0xb0),_0x5c069e(0xa5)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x10a7(){const _0x4ca992=['11bJOrnu','push','resolve','423766KAPmdF','4jiatys','5308920rvRhAC','4278064WiMQjX','54irjUnF','1760175AFVPVF','448178jUtYsi','once','6oZYgYD','queueEmptyPromise','abort','enqueue','signal','_processQueue','reject','_queueEmpty','callback','queue','_abortController','createTask','isProcessing','fire','581768LgDwYm','shift','length','completePromise','166233sURnFO'];_0x10a7=function(){return _0x4ca992;};return _0x10a7();}const _0x275e8f=_0x2d69;(function(_0x3227c2,_0x1f6d16){const _0x1995fc=_0x2d69,_0x5292a0=_0x3227c2();while(!![]){try{const _0x3cf0e3=parseInt(_0x1995fc(0x18e))/0x1+parseInt(_0x1995fc(0x188))/0x2+parseInt(_0x1995fc(0x184))/0x3*(parseInt(_0x1995fc(0x189))/0x4)+parseInt(_0x1995fc(0x18d))/0x5*(parseInt(_0x1995fc(0x190))/0x6)+-parseInt(_0x1995fc(0x18b))/0x7+-parseInt(_0x1995fc(0x180))/0x8*(-parseInt(_0x1995fc(0x18c))/0x9)+parseInt(_0x1995fc(0x18a))/0xa*(-parseInt(_0x1995fc(0x185))/0xb);if(_0x3cf0e3===_0x1f6d16)break;else _0x5292a0['push'](_0x5292a0['shift']());}catch(_0x4ea527){_0x5292a0['push'](_0x5292a0['shift']());}}}(_0x10a7,0x5853d));import{EmitterMixin as _0x12c881}from'ckeditor5/src/utils.js';function _0x2d69(_0x1fbed4,_0x400d67){const _0x10a7ea=_0x10a7();return _0x2d69=function(_0x2d6999,_0x12fbb6){_0x2d6999=_0x2d6999-0x17a;let _0x52c9a7=_0x10a7ea[_0x2d6999];return _0x52c9a7;},_0x2d69(_0x1fbed4,_0x400d67);}export class PromiseQueue extends _0x12c881(){[_0x275e8f(0x17b)]=[];[_0x275e8f(0x17e)]=!0x1;[_0x275e8f(0x17c)];async[_0x275e8f(0x193)](_0x2ea75d){const _0x1621b1=_0x275e8f,_0x453b3c=this[_0x1621b1(0x17d)](_0x2ea75d);return this[_0x1621b1(0x17b)][_0x1621b1(0x186)](_0x453b3c),this[_0x1621b1(0x195)](),_0x453b3c[_0x1621b1(0x183)];}[_0x275e8f(0x192)](){const _0x1ea2ed=_0x275e8f;this[_0x1ea2ed(0x17e)]&&(this[_0x1ea2ed(0x17c)][_0x1ea2ed(0x192)](),this[_0x1ea2ed(0x17c)]=void 0x0,this[_0x1ea2ed(0x17b)]=[],this[_0x1ea2ed(0x17f)](_0x1ea2ed(0x197)),this[_0x1ea2ed(0x17e)]=!0x1);}get[_0x275e8f(0x191)](){const _0x2b321f=_0x275e8f;return this[_0x2b321f(0x17b)][_0x2b321f(0x182)]||this[_0x2b321f(0x17e)]?new Promise(_0x1d0e4a=>{const _0xacb10c=_0x2b321f;this[_0xacb10c(0x18f)](_0xacb10c(0x197),()=>{_0x1d0e4a();});}):Promise[_0x2b321f(0x187)]();}async[_0x275e8f(0x195)](){const _0x5e2655=_0x275e8f;if(!this[_0x5e2655(0x17e)]){this[_0x5e2655(0x17c)]=new AbortController(),this[_0x5e2655(0x17e)]=!0x0;try{for(;this[_0x5e2655(0x17b)][_0x5e2655(0x182)]&&this[_0x5e2655(0x17e)];){const _0x3e68e6=this[_0x5e2655(0x17b)][_0x5e2655(0x181)]();try{await _0x3e68e6[_0x5e2655(0x17a)](this[_0x5e2655(0x17c)][_0x5e2655(0x194)]),_0x3e68e6[_0x5e2655(0x187)]();}catch(_0x24a739){_0x3e68e6[_0x5e2655(0x196)](_0x24a739);}}}finally{this[_0x5e2655(0x17e)]=!0x1,this[_0x5e2655(0x17c)]=void 0x0;}this[_0x5e2655(0x17f)](_0x5e2655(0x197));}}[_0x275e8f(0x17d)](_0x1bdf40){let _0x567683,_0x2a3962;const _0x9cfeab=new Promise((_0x5572ba,_0x27061e)=>{_0x567683=_0x5572ba,_0x2a3962=_0x27061e;});return{'callback':_0x1bdf40,'resolve':_0x567683,'reject':_0x2a3962,'completePromise':_0x9cfeab};}}
23
+ const _0x15e2ab=_0x26f5;function _0x26f5(_0x2387d2,_0x39b61b){const _0x544ec7=_0x544e();return _0x26f5=function(_0x26f54b,_0x509a64){_0x26f54b=_0x26f54b-0x154;let _0x8b744a=_0x544ec7[_0x26f54b];return _0x8b744a;},_0x26f5(_0x2387d2,_0x39b61b);}(function(_0xfffe73,_0x4ba823){const _0x41c2d5=_0x26f5,_0x19892b=_0xfffe73();while(!![]){try{const _0xd5d454=parseInt(_0x41c2d5(0x155))/0x1+parseInt(_0x41c2d5(0x154))/0x2*(parseInt(_0x41c2d5(0x165))/0x3)+-parseInt(_0x41c2d5(0x156))/0x4*(parseInt(_0x41c2d5(0x160))/0x5)+-parseInt(_0x41c2d5(0x16f))/0x6*(-parseInt(_0x41c2d5(0x15a))/0x7)+-parseInt(_0x41c2d5(0x15d))/0x8*(-parseInt(_0x41c2d5(0x170))/0x9)+parseInt(_0x41c2d5(0x158))/0xa+-parseInt(_0x41c2d5(0x15b))/0xb;if(_0xd5d454===_0x4ba823)break;else _0x19892b['push'](_0x19892b['shift']());}catch(_0x46bdbe){_0x19892b['push'](_0x19892b['shift']());}}}(_0x544e,0xcbaad));function _0x544e(){const _0x45353b=['56Ljcqzs','fire','callback','60ARiBvr','_abortController','abort','_queueEmpty','length','9AWHmHc','queue','completePromise','signal','shift','enqueue','_processQueue','push','isProcessing','reject','814194fADPlG','1727991XYiAlC','createTask','235756CGHDOu','223598ZMknCn','547528gIfJYp','once','15733570QYLGLB','queueEmptyPromise','7bKdAQQ','12688236GyskpS','resolve'];_0x544e=function(){return _0x45353b;};return _0x544e();}import{EmitterMixin as _0x5852b8}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x5852b8(){[_0x15e2ab(0x166)]=[];[_0x15e2ab(0x16d)]=!0x1;[_0x15e2ab(0x161)];async[_0x15e2ab(0x16a)](_0x522306){const _0x277c13=_0x15e2ab,_0x38be50=this[_0x277c13(0x171)](_0x522306);return this[_0x277c13(0x166)][_0x277c13(0x16c)](_0x38be50),this[_0x277c13(0x16b)](),_0x38be50[_0x277c13(0x167)];}[_0x15e2ab(0x162)](){const _0x3be33e=_0x15e2ab;this[_0x3be33e(0x16d)]&&(this[_0x3be33e(0x161)][_0x3be33e(0x162)](),this[_0x3be33e(0x161)]=void 0x0,this[_0x3be33e(0x166)]=[],this[_0x3be33e(0x15e)](_0x3be33e(0x163)),this[_0x3be33e(0x16d)]=!0x1);}get[_0x15e2ab(0x159)](){const _0x5e9083=_0x15e2ab;return this[_0x5e9083(0x166)][_0x5e9083(0x164)]||this[_0x5e9083(0x16d)]?new Promise(_0x55b65b=>{const _0x340e0c=_0x5e9083;this[_0x340e0c(0x157)](_0x340e0c(0x163),()=>{_0x55b65b();});}):Promise[_0x5e9083(0x15c)]();}async[_0x15e2ab(0x16b)](){const _0x3a6c9f=_0x15e2ab;if(!this[_0x3a6c9f(0x16d)]){this[_0x3a6c9f(0x161)]=new AbortController(),this[_0x3a6c9f(0x16d)]=!0x0;try{for(;this[_0x3a6c9f(0x166)][_0x3a6c9f(0x164)]&&this[_0x3a6c9f(0x16d)];){const _0x243521=this[_0x3a6c9f(0x166)][_0x3a6c9f(0x169)]();try{await _0x243521[_0x3a6c9f(0x15f)](this[_0x3a6c9f(0x161)][_0x3a6c9f(0x168)]),_0x243521[_0x3a6c9f(0x15c)]();}catch(_0x4e4ece){_0x243521[_0x3a6c9f(0x16e)](_0x4e4ece);}}}finally{this[_0x3a6c9f(0x16d)]=!0x1,this[_0x3a6c9f(0x161)]=void 0x0;}this[_0x3a6c9f(0x15e)](_0x3a6c9f(0x163));}}[_0x15e2ab(0x171)](_0x3f3ae7){let _0x3997d2,_0x347391;const _0xd24887=new Promise((_0x5b6979,_0x301fdd)=>{_0x3997d2=_0x5b6979,_0x347391=_0x301fdd;});return{'callback':_0x3f3ae7,'resolve':_0x3997d2,'reject':_0x347391,'completePromise':_0xd24887};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29c2(_0x370a8a,_0x125bcb){const _0x50e86c=_0x50e8();return _0x29c2=function(_0x29c224,_0x4aa64c){_0x29c224=_0x29c224-0x79;let _0x295fb0=_0x50e86c[_0x29c224];return _0x295fb0;},_0x29c2(_0x370a8a,_0x125bcb);}function _0x50e8(){const _0x8a0c72=['isRunning','522LHZpSO','207477gfDXIM','pointerdown','1914054MGvbfo','deltaY','_rafUpdate','_onUserEvent','1771552yXgxBH','scrollTo','scrollHeight','4032384fudXuW','key','44eWyvYE','_stop','End','37720uLmObe','isUserPaused','104247sqpPCf','Home','auto','destroy','3141296yQFqUl','2PGinMx','addEventListener','stop','5NLPiQQ','ArrowDown','PageDown','includes','signal','ArrowUp','wheel','type','touchstart','abortController','PageUp','abort','keydown','element','start','animationFrameId','7JDeQgt','_isAtBottom','bind'];_0x50e8=function(){return _0x8a0c72;};return _0x50e8();}const _0x5547d7=_0x29c2;(function(_0xe8e4ee,_0xb3976b){const _0x56aea8=_0x29c2,_0x219e1b=_0xe8e4ee();while(!![]){try{const _0xef8d0d=-parseInt(_0x56aea8(0x86))/0x1+-parseInt(_0x56aea8(0x9b))/0x2*(-parseInt(_0x56aea8(0x96))/0x3)+-parseInt(_0x56aea8(0x8c))/0x4+parseInt(_0x56aea8(0x9e))/0x5*(-parseInt(_0x56aea8(0x88))/0x6)+parseInt(_0x56aea8(0x81))/0x7*(-parseInt(_0x56aea8(0x9a))/0x8)+parseInt(_0x56aea8(0x85))/0x9*(parseInt(_0x56aea8(0x94))/0xa)+parseInt(_0x56aea8(0x91))/0xb*(parseInt(_0x56aea8(0x8f))/0xc);if(_0xef8d0d===_0xb3976b)break;else _0x219e1b['push'](_0x219e1b['shift']());}catch(_0x468721){_0x219e1b['push'](_0x219e1b['shift']());}}}(_0x50e8,0x39861));const ws=[_0x5547d7(0xa4),_0x5547d7(0x79),_0x5547d7(0x87),_0x5547d7(0x7d)],fs=[_0x5547d7(0xa3),_0x5547d7(0x9f),_0x5547d7(0x7b),_0x5547d7(0xa0),_0x5547d7(0x97),_0x5547d7(0x93),'\x20'];export class ScrollManager{[_0x5547d7(0x7e)];[_0x5547d7(0x80)];[_0x5547d7(0x84)];[_0x5547d7(0x7a)];[_0x5547d7(0x95)];constructor(_0x1e7c22){const _0x51b0ad=_0x5547d7;this[_0x51b0ad(0x7e)]=_0x1e7c22,this[_0x51b0ad(0x80)]=null,this[_0x51b0ad(0x84)]=!0x1,this[_0x51b0ad(0x7a)]=new AbortController(),this[_0x51b0ad(0x95)]=!0x1;for(const _0x409e73 of ws){const _0x5d15b6=_0x51b0ad(0x7d)!==_0x409e73;this[_0x51b0ad(0x7e)][_0x51b0ad(0x9c)](_0x409e73,this[_0x51b0ad(0x8b)][_0x51b0ad(0x83)](this),{'passive':_0x5d15b6,'signal':this[_0x51b0ad(0x7a)][_0x51b0ad(0xa2)]});}}[_0x5547d7(0x7f)](){const _0xb468bc=_0x5547d7;this[_0xb468bc(0x84)]||(this[_0xb468bc(0x84)]=!0x0,this[_0xb468bc(0x95)]=!0x1,this[_0xb468bc(0x80)]=requestAnimationFrame(this[_0xb468bc(0x8a)][_0xb468bc(0x83)](this)));}[_0x5547d7(0x9d)](){requestAnimationFrame(()=>{const _0x5b785c=_0x29c2;this[_0x5b785c(0x92)]();});}[_0x5547d7(0x99)](){const _0x450a29=_0x5547d7;this[_0x450a29(0x92)](),this[_0x450a29(0x7a)][_0x450a29(0x7c)]();}[_0x5547d7(0x92)](){const _0x4f6e89=_0x5547d7;null!==this[_0x4f6e89(0x80)]&&(cancelAnimationFrame(this[_0x4f6e89(0x80)]),this[_0x4f6e89(0x80)]=null),this[_0x4f6e89(0x84)]&&(this[_0x4f6e89(0x84)]=!0x1),this[_0x4f6e89(0x95)]=!0x1;}[_0x5547d7(0x8b)](_0x2ff3f1){const _0x1823c0=_0x5547d7;if(this[_0x1823c0(0x84)]){if(_0x1823c0(0x7d)===_0x2ff3f1[_0x1823c0(0xa5)]){const _0x576fde=_0x2ff3f1[_0x1823c0(0x90)];if(!fs[_0x1823c0(0xa1)](_0x576fde))return;}_0x2ff3f1 instanceof WheelEvent?_0x2ff3f1[_0x1823c0(0x89)]<0x0?this[_0x1823c0(0x95)]=!0x0:this[_0x1823c0(0x95)]=!this[_0x1823c0(0x82)]():this[_0x1823c0(0x95)]=!0x0;}}[_0x5547d7(0x82)](){const _0x5d16f0=_0x5547d7,{scrollTop:_0x41fd2d,scrollHeight:_0x38371d,clientHeight:_0x4e9159}=this[_0x5d16f0(0x7e)];return _0x38371d-_0x41fd2d-_0x4e9159<=0x5;}[_0x5547d7(0x8a)](){const _0x5c9391=_0x5547d7;this[_0x5c9391(0x84)]&&(this[_0x5c9391(0x95)]||this[_0x5c9391(0x7e)][_0x5c9391(0x8d)]({'top':this[_0x5c9391(0x7e)][_0x5c9391(0x8e)],'behavior':_0x5c9391(0x98)}),this[_0x5c9391(0x80)]=requestAnimationFrame(this[_0x5c9391(0x8a)][_0x5c9391(0x83)](this)));}}
23
+ const _0xcb5df5=_0x52cd;(function(_0x5f4864,_0x421282){const _0x21fd75=_0x52cd,_0x19c03f=_0x5f4864();while(!![]){try{const _0x227c66=parseInt(_0x21fd75(0x106))/0x1*(parseInt(_0x21fd75(0xe1))/0x2)+-parseInt(_0x21fd75(0x103))/0x3*(-parseInt(_0x21fd75(0x104))/0x4)+-parseInt(_0x21fd75(0xff))/0x5*(-parseInt(_0x21fd75(0xe6))/0x6)+-parseInt(_0x21fd75(0xef))/0x7*(parseInt(_0x21fd75(0xe9))/0x8)+-parseInt(_0x21fd75(0xf4))/0x9+-parseInt(_0x21fd75(0x108))/0xa*(-parseInt(_0x21fd75(0xdc))/0xb)+-parseInt(_0x21fd75(0xea))/0xc*(-parseInt(_0x21fd75(0xe4))/0xd);if(_0x227c66===_0x421282)break;else _0x19c03f['push'](_0x19c03f['shift']());}catch(_0x516227){_0x19c03f['push'](_0x19c03f['shift']());}}}(_0x2e8a,0xdff8e));const ls=[_0xcb5df5(0xf2),_0xcb5df5(0xdd),_0xcb5df5(0xfc),_0xcb5df5(0xec)],us=[_0xcb5df5(0x100),_0xcb5df5(0x102),_0xcb5df5(0xeb),_0xcb5df5(0xf7),_0xcb5df5(0xe8),_0xcb5df5(0xe5),'\x20'];function _0x2e8a(){const _0x1a3b16=['abortController','1AXupIt','auto','76630KEnCjF','scrollTo','484jmlFUz','touchstart','animationFrameId','_onUserEvent','includes','3326782FPJHhe','addEventListener','_stop','1193179THYHWK','End','1071324tonlnD','_isAtBottom','Home','1112mIrVoX','24aZgoJB','PageUp','keydown','type','isUserPaused','68922gfVVmR','destroy','start','wheel','deltaY','7088499HPybEq','element','stop','PageDown','isRunning','abort','bind','scrollHeight','pointerdown','key','_rafUpdate','20ElnXoa','ArrowUp','signal','ArrowDown','30KVogEb','70100ocINpv'];_0x2e8a=function(){return _0x1a3b16;};return _0x2e8a();}function _0x52cd(_0x128795,_0xb79531){const _0x2e8a50=_0x2e8a();return _0x52cd=function(_0x52cde7,_0x53c39a){_0x52cde7=_0x52cde7-0xdb;let _0x11f9b9=_0x2e8a50[_0x52cde7];return _0x11f9b9;},_0x52cd(_0x128795,_0xb79531);}export class ScrollManager{[_0xcb5df5(0xf5)];[_0xcb5df5(0xde)];[_0xcb5df5(0xf8)];[_0xcb5df5(0x105)];[_0xcb5df5(0xee)];constructor(_0x203610){const _0x5d9eb0=_0xcb5df5;this[_0x5d9eb0(0xf5)]=_0x203610,this[_0x5d9eb0(0xde)]=null,this[_0x5d9eb0(0xf8)]=!0x1,this[_0x5d9eb0(0x105)]=new AbortController(),this[_0x5d9eb0(0xee)]=!0x1;for(const _0x5f1979 of ls){const _0x34e1c7=_0x5d9eb0(0xec)!==_0x5f1979;this[_0x5d9eb0(0xf5)][_0x5d9eb0(0xe2)](_0x5f1979,this[_0x5d9eb0(0xdf)][_0x5d9eb0(0xfa)](this),{'passive':_0x34e1c7,'signal':this[_0x5d9eb0(0x105)][_0x5d9eb0(0x101)]});}}[_0xcb5df5(0xf1)](){const _0x106ebd=_0xcb5df5;this[_0x106ebd(0xf8)]||(this[_0x106ebd(0xf8)]=!0x0,this[_0x106ebd(0xee)]=!0x1,this[_0x106ebd(0xde)]=requestAnimationFrame(this[_0x106ebd(0xfe)][_0x106ebd(0xfa)](this)));}[_0xcb5df5(0xf6)](){requestAnimationFrame(()=>{const _0x5eea01=_0x52cd;this[_0x5eea01(0xe3)]();});}[_0xcb5df5(0xf0)](){const _0x1590c4=_0xcb5df5;this[_0x1590c4(0xe3)](),this[_0x1590c4(0x105)][_0x1590c4(0xf9)]();}[_0xcb5df5(0xe3)](){const _0x11d2c8=_0xcb5df5;null!==this[_0x11d2c8(0xde)]&&(cancelAnimationFrame(this[_0x11d2c8(0xde)]),this[_0x11d2c8(0xde)]=null),this[_0x11d2c8(0xf8)]&&(this[_0x11d2c8(0xf8)]=!0x1),this[_0x11d2c8(0xee)]=!0x1;}[_0xcb5df5(0xdf)](_0x53d968){const _0x4ff20c=_0xcb5df5;if(this[_0x4ff20c(0xf8)]){if(_0x4ff20c(0xec)===_0x53d968[_0x4ff20c(0xed)]){const _0x5a3a9b=_0x53d968[_0x4ff20c(0xfd)];if(!us[_0x4ff20c(0xe0)](_0x5a3a9b))return;}_0x53d968 instanceof WheelEvent?_0x53d968[_0x4ff20c(0xf3)]<0x0?this[_0x4ff20c(0xee)]=!0x0:this[_0x4ff20c(0xee)]=!this[_0x4ff20c(0xe7)]():this[_0x4ff20c(0xee)]=!0x0;}}[_0xcb5df5(0xe7)](){const _0x1aad60=_0xcb5df5,{scrollTop:_0x1cf364,scrollHeight:_0x4ae3ab,clientHeight:_0x44b513}=this[_0x1aad60(0xf5)];return _0x4ae3ab-_0x1cf364-_0x44b513<=0x5;}[_0xcb5df5(0xfe)](){const _0x4db970=_0xcb5df5;this[_0x4db970(0xf8)]&&(this[_0x4db970(0xee)]||this[_0x4db970(0xf5)][_0x4db970(0xdb)]({'top':this[_0x4db970(0xf5)][_0x4db970(0xfb)],'behavior':_0x4db970(0x107)}),this[_0x4db970(0xde)]=requestAnimationFrame(this[_0x4db970(0xfe)][_0x4db970(0xfa)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x427b2c=_0x4020;(function(_0x493659,_0x201ef2){var _0x35a89a=_0x4020,_0x1afda0=_0x493659();while(!![]){try{var _0x3f79cc=parseInt(_0x35a89a(0x12c))/0x1+parseInt(_0x35a89a(0x125))/0x2*(-parseInt(_0x35a89a(0x127))/0x3)+parseInt(_0x35a89a(0x12e))/0x4*(-parseInt(_0x35a89a(0x128))/0x5)+parseInt(_0x35a89a(0x129))/0x6+-parseInt(_0x35a89a(0x123))/0x7+-parseInt(_0x35a89a(0x121))/0x8+parseInt(_0x35a89a(0x126))/0x9;if(_0x3f79cc===_0x201ef2)break;else _0x1afda0['push'](_0x1afda0['shift']());}catch(_0x493ffa){_0x1afda0['push'](_0x1afda0['shift']());}}}(_0x3efe,0x27a68));import{ContextPlugin as _0x4b803c}from'ckeditor5/src/core.js';function _0x4020(_0x540068,_0x21c81a){var _0x3efe00=_0x3efe();return _0x4020=function(_0x40204d,_0x1214ce){_0x40204d=_0x40204d-0x121;var _0x31658f=_0x3efe00[_0x40204d];return _0x31658f;},_0x4020(_0x540068,_0x21c81a);}import{AIChatHistoryController as _0x314dc8}from'./aichathistorycontroller.js';function _0x3efe(){var _0x185e06=['27KfXnvc','331380mbIVnu','1187736mShEfJ','pluginName','isPremiumPlugin','44157QpfWvt','requires','16wnEDfT','1631280LYCIbe','AIChatHistory','77217jKoTMB','isOfficialPlugin','30686ZaLxvr','4845843bgxdAB'];_0x3efe=function(){return _0x185e06;};return _0x3efe();}import{AIChatHistoryUI as _0x575a0b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4b803c{static get[_0x427b2c(0x12d)](){return[_0x314dc8,_0x575a0b];}static get[_0x427b2c(0x12a)](){var _0x152aa6=_0x427b2c;return _0x152aa6(0x122);}static get[_0x427b2c(0x124)](){return!0x0;}static get[_0x427b2c(0x12b)](){return!0x0;}}
23
+ var _0x2ec686=_0x25df;(function(_0x55ee89,_0x322774){var _0x44d72d=_0x25df,_0x56e624=_0x55ee89();while(!![]){try{var _0x383782=-parseInt(_0x44d72d(0xdb))/0x1*(-parseInt(_0x44d72d(0xe3))/0x2)+-parseInt(_0x44d72d(0xdc))/0x3*(parseInt(_0x44d72d(0xda))/0x4)+-parseInt(_0x44d72d(0xe6))/0x5+parseInt(_0x44d72d(0xdd))/0x6*(-parseInt(_0x44d72d(0xe0))/0x7)+parseInt(_0x44d72d(0xdf))/0x8*(parseInt(_0x44d72d(0xea))/0x9)+parseInt(_0x44d72d(0xde))/0xa+-parseInt(_0x44d72d(0xe5))/0xb*(-parseInt(_0x44d72d(0xe9))/0xc);if(_0x383782===_0x322774)break;else _0x56e624['push'](_0x56e624['shift']());}catch(_0x209b9d){_0x56e624['push'](_0x56e624['shift']());}}}(_0x145f,0xcfc0e));function _0x25df(_0x2ed6e2,_0x561661){var _0x145f92=_0x145f();return _0x25df=function(_0x25df4e,_0x49f60d){_0x25df4e=_0x25df4e-0xda;var _0x316369=_0x145f92[_0x25df4e];return _0x316369;},_0x25df(_0x2ed6e2,_0x561661);}import{ContextPlugin as _0x4726a3}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x55bd6e}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x4ab78b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4726a3{static get[_0x2ec686(0xe2)](){return[_0x55bd6e,_0x4ab78b];}static get[_0x2ec686(0xe8)](){var _0x1374e0=_0x2ec686;return _0x1374e0(0xe1);}static get[_0x2ec686(0xe4)](){return!0x0;}static get[_0x2ec686(0xe7)](){return!0x0;}}function _0x145f(){var _0x3cf63c=['isOfficialPlugin','24582437UMxCHQ','4500580JZlpwG','isPremiumPlugin','pluginName','12FvdKWB','9omYzAu','248828dfbRLh','1086ZYGZJO','81JoKLRN','12414dDODzd','3241570wkifGY','5411512fUhmWB','2940bWniua','AIChatHistory','requires','1960ixzGjC'];_0x145f=function(){return _0x3cf63c;};return _0x145f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c4157=_0x148c;(function(_0x471da4,_0x99678b){const _0x505342=_0x148c,_0x5cba71=_0x471da4();while(!![]){try{const _0x4b69f1=-parseInt(_0x505342(0x130))/0x1+-parseInt(_0x505342(0x157))/0x2+parseInt(_0x505342(0x15d))/0x3+parseInt(_0x505342(0x184))/0x4+-parseInt(_0x505342(0x15e))/0x5+-parseInt(_0x505342(0x12d))/0x6+parseInt(_0x505342(0x16a))/0x7;if(_0x4b69f1===_0x99678b)break;else _0x5cba71['push'](_0x5cba71['shift']());}catch(_0x7275ba){_0x5cba71['push'](_0x5cba71['shift']());}}}(_0x4a8f,0x94c1c));function _0x4a8f(){const _0x42f586=['getMonth','_aiChatHistoryUi','chat','updateItemTitle','getGroupId','removeItem','_handleEditTitle','setDate','loadItems','itemRemoved','_setItemLoading','getFullYear','AI_CHAT_HISTORY_CATEGORY_LATER','setConversationPinned','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','2957808SrKMBR','map','_clearItemLoading','init','openChat','_handleHistoryErrorUI','getItems','updateItemLoadingState','updates','pluginName','listenTo','locale','1773438iOnQCJ','activeConversation','pinned','822525fhputL','itemId','_aiConnector','_aiChatController','isOfficialPlugin','plugins','_getCategorizedItems','operation','AI_CHAT_HISTORY_ERROR_GENERIC','loadConversation','AIChatHistoryController','_handleTogglePin','requires','isPremiumPlugin','AI_CHAT_UNTITLED_CONVERSATION','activateTab','itemUpdated','AI_CHAT_HISTORY_PIN_ACTION','pin','showError','_setIsMaximized','change:activeConversation','unpin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','push','activateTab:history','view','_handleRemove','getItem','rename','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_UNPIN_ACTION','getDate','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','setIsMaximized','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setLoadingSkeleton','resize','toLocaleDateString','1128546XKFoAw','resizedTabs','selectConversation','createdAt','history','itemsLoaded','2739900uAEZSu','2260565HEJpgQ','editConversationTitle','remove','removeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','items','removeHistoryItem','_showConversationHistory','context','get','title','updateItemPinned','7637280LHXLei','updateItems','_updateHistoryItemsUI','length','error','handleRemovedConversation','_handleSelectConversation','resizeTabs','AI_CHAT_HISTORY_CATEGORY_PINNED'];_0x4a8f=function(){return _0x42f586;};return _0x4a8f();}import{ContextPlugin as _0x5976de}from'ckeditor5/src/core.js';import{AIConnector as _0x5c5cbb}from'../aicore/aiconnector.js';import{AIChatController as _0x341313}from'../aichat/aichatcontroller.js';import{AITabs as _0x5514c9}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x55d885}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x43ac67}from'./model/aichathistoryconversations.js';function _0x148c(_0x7e0b38,_0x195796){const _0x4a8f16=_0x4a8f();return _0x148c=function(_0x148cb9,_0x40d21d){_0x148cb9=_0x148cb9-0x128;let _0x3eb048=_0x4a8f16[_0x148cb9];return _0x3eb048;},_0x148c(_0x7e0b38,_0x195796);}import{getTranslation as _0x1d7466}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5976de{[_0x1c4157(0x132)];[_0x1c4157(0x174)];[_0x1c4157(0x133)];static get[_0x1c4157(0x13c)](){return[_0x5c5cbb,_0x341313,_0x55d885,_0x5514c9];}static get[_0x1c4157(0x12a)](){const _0x327d12=_0x1c4157;return _0x327d12(0x13a);}static get[_0x1c4157(0x134)](){return!0x0;}static get[_0x1c4157(0x13d)](){return!0x0;}[_0x1c4157(0x187)](){const _0x2f56ac=_0x1c4157;this[_0x2f56ac(0x132)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x5c5cbb),this[_0x2f56ac(0x174)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x55d885),this[_0x2f56ac(0x133)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x341313);const _0x30cf50=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x5514c9),_0x89d2f2=this[_0x2f56ac(0x133)][_0x2f56ac(0x177)]();this[_0x2f56ac(0x15b)]=new _0x43ac67({'connector':this[_0x2f56ac(0x132)],'group':_0x89d2f2}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x161),(_0x1630aa,_0x509cd3)=>{const _0x2f9962=_0x2f56ac;this[_0x2f9962(0x17d)](_0x509cd3['id'],_0x2f9962(0x160)),this[_0x2f9962(0x14b)](_0x509cd3['id']);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x15f),(_0x1cf586,_0x88647b)=>{const _0x210cf2=_0x2f56ac;this[_0x210cf2(0x17d)](_0x88647b['id'],_0x210cf2(0x14d)),this[_0x210cf2(0x179)](_0x88647b['id'],_0x88647b[_0x210cf2(0x168)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x140),(_0x13acc0,_0x5cdce8)=>{const _0xcbc43e=_0x2f56ac;void 0x0!==_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x168)]&&this[_0xcbc43e(0x174)][_0xcbc43e(0x176)](_0x5cdce8[_0xcbc43e(0x131)],_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x168)]),void 0x0!==_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x12f)]&&this[_0xcbc43e(0x16c)](),this[_0xcbc43e(0x186)](_0x5cdce8[_0xcbc43e(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x17c),(_0xaee52a,_0x588331)=>{const _0x1f77eb=_0x2f56ac;this[_0x1f77eb(0x133)][_0x1f77eb(0x16f)](_0x588331[_0x1f77eb(0x131)]),this[_0x1f77eb(0x174)][_0x1f77eb(0x164)](_0x588331[_0x1f77eb(0x131)]),this[_0x1f77eb(0x186)](_0x588331[_0x1f77eb(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x15c),()=>{const _0x520afd=_0x2f56ac;this[_0x520afd(0x16c)]();}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x16e),(_0x21dc7b,_0x4a0e54)=>{const _0x5ac98c=_0x2f56ac;this[_0x5ac98c(0x189)](_0x4a0e54[_0x5ac98c(0x16e)],_0x4a0e54[_0x5ac98c(0x137)],_0x4a0e54[_0x5ac98c(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x159),(_0x5eb3cc,_0x4cf9ff)=>{const _0x15389d=_0x2f56ac;this[_0x15389d(0x170)](_0x4cf9ff['id']);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x180),(_0x22b4c1,_0x11c5ce)=>{const _0x3bb453=_0x2f56ac,_0x2ba4a9=_0x11c5ce[_0x3bb453(0x12f)]?_0x3bb453(0x142):_0x3bb453(0x146);this[_0x3bb453(0x17d)](_0x11c5ce['id'],_0x2ba4a9),this[_0x3bb453(0x13b)](_0x11c5ce['id'],_0x11c5ce[_0x3bb453(0x12f)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x188),()=>{const _0x1f6bbf=_0x2f56ac;_0x30cf50[_0x1f6bbf(0x14a)][_0x1f6bbf(0x13f)](_0x1f6bbf(0x175));}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x133)],_0x2f56ac(0x145),()=>{const _0xec48fe=_0x2f56ac;this[_0xec48fe(0x16c)]();}),_0x30cf50[_0x2f56ac(0x14a)]['on'](_0x2f56ac(0x149),()=>{const _0x32da4f=_0x2f56ac;this[_0x32da4f(0x165)]();}),this[_0x2f56ac(0x12b)](_0x30cf50,_0x2f56ac(0x158),(_0x12f24d,_0x5a8afc)=>{const _0x3f39e1=_0x2f56ac;this[_0x3f39e1(0x144)](_0x5a8afc);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x171),()=>{const _0x2146c1=_0x2f56ac;_0x30cf50[_0x2146c1(0x155)]();});}async[_0x1c4157(0x179)](_0x42590c,_0x112ef1){const _0xf26b28=_0x1c4157;await this[_0xf26b28(0x15b)][_0xf26b28(0x176)](_0x42590c,_0x112ef1);}async[_0x1c4157(0x13b)](_0x5889bd,_0x2b10cc){const _0x450fa9=_0x1c4157;await this[_0x450fa9(0x15b)][_0x450fa9(0x169)](_0x5889bd,_0x2b10cc);}async[_0x1c4157(0x14b)](_0x56db43){const _0x4d5678=_0x1c4157;await this[_0x4d5678(0x15b)][_0x4d5678(0x178)](_0x56db43);}async[_0x1c4157(0x170)](_0x2c3e63){const _0x3dbe5e=_0x1c4157;await this[_0x3dbe5e(0x133)][_0x3dbe5e(0x139)](_0x2c3e63);}async[_0x1c4157(0x165)](){const _0x557489=_0x1c4157;this[_0x557489(0x174)][_0x557489(0x143)](''),this[_0x557489(0x174)][_0x557489(0x154)](!0x0),await this[_0x557489(0x15b)][_0x557489(0x187)](),this[_0x557489(0x174)][_0x557489(0x154)](!0x1);}[_0x1c4157(0x16c)](){const _0x1ea031=_0x1c4157,_0x1e065e=this[_0x1ea031(0x133)][_0x1ea031(0x12e)]?.['id'],_0x57afad=this[_0x1ea031(0x136)]()[_0x1ea031(0x185)](_0x2063bf=>({'title':_0x2063bf[_0x1ea031(0x168)],'items':_0x2063bf[_0x1ea031(0x163)][_0x1ea031(0x185)](_0x41b9a1=>({'id':_0x41b9a1['id'],'title':_0x41b9a1[_0x1ea031(0x168)]||_0x1d7466(this[_0x1ea031(0x166)][_0x1ea031(0x12c)],_0x1ea031(0x13e)),'createdAt':new Date(_0x41b9a1[_0x1ea031(0x15a)])[_0x1ea031(0x156)](),'active':_0x41b9a1['id']===_0x1e065e,'pinned':_0x41b9a1[_0x1ea031(0x12f)]}))}));this[_0x1ea031(0x174)][_0x1ea031(0x16b)](_0x57afad);}[_0x1c4157(0x17d)](_0x424a3b,_0x4adf6b){const _0x20b4b9=_0x1c4157;this[_0x20b4b9(0x174)][_0x20b4b9(0x128)](_0x424a3b,_0x4adf6b,!0x0);}[_0x1c4157(0x186)](_0x292cec){const _0x250ed0=_0x1c4157;this[_0x250ed0(0x174)][_0x250ed0(0x128)](_0x292cec,null,!0x1);}[_0x1c4157(0x189)](_0x3f2704,_0x2693ad,_0x5d3a07){const _0x2d5705=_0x1c4157,_0x49c807=this[_0x2d5705(0x181)](_0x2693ad,_0x5d3a07);this[_0x2d5705(0x174)][_0x2d5705(0x143)](_0x49c807),_0x5d3a07&&this[_0x2d5705(0x186)](_0x5d3a07),this[_0x2d5705(0x174)][_0x2d5705(0x154)](!0x1);}[_0x1c4157(0x181)](_0x5ea4c,_0x46e23c){const _0x75a413=_0x1c4157,_0x1bf60e=_0x46e23c?this[_0x75a413(0x15b)][_0x75a413(0x14c)](_0x46e23c):null,_0x21aafa=_0x1bf60e?.[_0x75a413(0x168)]||_0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x13e));switch(_0x5ea4c){case _0x75a413(0x176):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x182),_0x21aafa);case _0x75a413(0x169):{const _0x2f5d92=_0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x1bf60e?.[_0x75a413(0x12f)]?_0x75a413(0x14f):_0x75a413(0x141));return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x147),[_0x2f5d92,_0x21aafa]);}case _0x75a413(0x178):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x14e),_0x21aafa);case _0x75a413(0x187):case _0x75a413(0x17b):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x183));default:return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x138));}}[_0x1c4157(0x136)](){const _0x37bd64=_0x1c4157,_0x267406=new Date(),_0x452a2d=new Date(_0x267406[_0x37bd64(0x17e)](),_0x267406[_0x37bd64(0x173)](),_0x267406[_0x37bd64(0x150)]()),_0x17279a=new Date(_0x452a2d);_0x17279a[_0x37bd64(0x17a)](_0x17279a[_0x37bd64(0x150)]()-0x1);const _0x1685b3=new Date(_0x452a2d);_0x1685b3[_0x37bd64(0x17a)](_0x1685b3[_0x37bd64(0x150)]()-0xe);const _0x42f800=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'pinned':!0x0}),_0x4416de=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x452a2d,'to':_0x452a2d}),_0x2c3a5e=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x17279a,'to':_0x17279a}),_0x389409=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x1685b3,'to':_0x17279a}),_0x12bc29=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'to':_0x1685b3}),_0x4aada5=[];return _0x42f800[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x172)),'items':_0x42f800}),_0x4416de[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x162)),'items':_0x4416de}),_0x2c3a5e[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x151)),'items':_0x2c3a5e}),_0x389409[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x153)),'items':_0x389409}),_0x12bc29[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x17f)),'items':_0x12bc29}),_0x4aada5;}[_0x1c4157(0x144)](_0x215b25){const _0x26da6d=_0x1c4157;this[_0x26da6d(0x174)][_0x26da6d(0x152)](_0x215b25);}}
23
+ const _0x378ecf=_0x1854;(function(_0x4537e1,_0x23d496){const _0x5735f7=_0x1854,_0x5e298b=_0x4537e1();while(!![]){try{const _0x5420f4=parseInt(_0x5735f7(0xfd))/0x1*(-parseInt(_0x5735f7(0x103))/0x2)+-parseInt(_0x5735f7(0xf9))/0x3*(parseInt(_0x5735f7(0xda))/0x4)+-parseInt(_0x5735f7(0xef))/0x5*(parseInt(_0x5735f7(0x12f))/0x6)+parseInt(_0x5735f7(0xed))/0x7+-parseInt(_0x5735f7(0xd9))/0x8*(-parseInt(_0x5735f7(0xeb))/0x9)+-parseInt(_0x5735f7(0xd8))/0xa+parseInt(_0x5735f7(0xf4))/0xb;if(_0x5420f4===_0x23d496)break;else _0x5e298b['push'](_0x5e298b['shift']());}catch(_0x10f59e){_0x5e298b['push'](_0x5e298b['shift']());}}}(_0x455a,0x3240c));import{ContextPlugin as _0x11ab20}from'ckeditor5/src/core.js';import{AIConnector as _0x1ef2b9}from'../aicore/aiconnector.js';function _0x1854(_0x1ff727,_0x2f07dd){const _0x455afe=_0x455a();return _0x1854=function(_0x185427,_0x3bdd4f){_0x185427=_0x185427-0xd2;let _0x3a6b08=_0x455afe[_0x185427];return _0x3a6b08;},_0x1854(_0x1ff727,_0x2f07dd);}import{AIChatController as _0x4e56b6}from'../aichat/aichatcontroller.js';import{AITabs as _0x157c20}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x36c01b}from'./aichathistoryui.js';function _0x455a(){const _0x1f1fa7=['9035026goRrNH','AI_CHAT_HISTORY_PIN_ACTION','getDate','updateItems','_setIsMaximized','770493RXpjJW','setDate','_showConversationHistory','removeConversation','85408rDAWpO','editConversationTitle','activateTab','_setItemLoading','AIChatHistoryController','selectConversation','6QPWgnJ','operation','get','_handleEditTitle','_handleSelectConversation','_aiChatHistoryUi','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','error','init','_handleHistoryErrorUI','setConversationPinned','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','view','_aiConnector','activateTab:history','remove','pinned','pluginName','getFullYear','showError','map','loadConversation','updateItemTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','context','_handleTogglePin','items','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','requires','updateItemLoadingState','plugins','unpin','activeConversation','loadItems','listenTo','isPremiumPlugin','updates','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','openChat','_updateHistoryItemsUI','_handleRemove','30htPLyc','chat','getItems','AI_CHAT_HISTORY_CATEGORY_LATER','_generateErrorMessage','length','push','isOfficialPlugin','resize','_aiChatController','AI_CHAT_HISTORY_CATEGORY_TODAY','toLocaleDateString','change:activeConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_UNTITLED_CONVERSATION','getGroupId','217040sACiRP','1182728YPyfie','4nqaGoa','getItem','title','AI_CHAT_HISTORY_CATEGORY_PINNED','setIsMaximized','updateItemPinned','handleRemovedConversation','resizeTabs','history','itemId','pin','itemsLoaded','AI_CHAT_HISTORY_UNPIN_ACTION','itemUpdated','removeItem','resizedTabs','itemRemoved','9ZLonSl','locale','405636WcbUjE','_getCategorizedItems','286560uRAWoS','setLoadingSkeleton','removeHistoryItem','_clearItemLoading','rename'];_0x455a=function(){return _0x1f1fa7;};return _0x455a();}import{AIChatHistoryConversations as _0xde18c4}from'./model/aichathistoryconversations.js';import{getTranslation as _0x23a542}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x11ab20{[_0x378ecf(0x112)];[_0x378ecf(0x108)];[_0x378ecf(0x138)];static get[_0x378ecf(0x121)](){return[_0x1ef2b9,_0x4e56b6,_0x36c01b,_0x157c20];}static get[_0x378ecf(0x116)](){const _0x27d10f=_0x378ecf;return _0x27d10f(0x101);}static get[_0x378ecf(0x136)](){return!0x0;}static get[_0x378ecf(0x128)](){return!0x0;}[_0x378ecf(0x10d)](){const _0x284543=_0x378ecf;this[_0x284543(0x112)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x1ef2b9),this[_0x284543(0x108)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x36c01b),this[_0x284543(0x138)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x4e56b6);const _0x54a035=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x157c20),_0x1099e6=this[_0x284543(0x138)][_0x284543(0xd7)]();this[_0x284543(0xe2)]=new _0xde18c4({'connector':this[_0x284543(0x112)],'group':_0x1099e6}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfc),(_0x4d0a04,_0x187190)=>{const _0x5197be=_0x284543;this[_0x5197be(0x100)](_0x187190['id'],_0x5197be(0x114)),this[_0x5197be(0x12e)](_0x187190['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfe),(_0x282494,_0x4e6ec8)=>{const _0x39c6d4=_0x284543;this[_0x39c6d4(0x100)](_0x4e6ec8['id'],_0x39c6d4(0xf3)),this[_0x39c6d4(0x106)](_0x4e6ec8['id'],_0x4e6ec8[_0x39c6d4(0xdc)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe7),(_0x58b1b5,_0x315eeb)=>{const _0x15ba00=_0x284543;void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]&&this[_0x15ba00(0x108)][_0x15ba00(0x11b)](_0x315eeb[_0x15ba00(0xe3)],_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]),void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0x115)]&&this[_0x15ba00(0x12d)](),this[_0x15ba00(0xf2)](_0x315eeb[_0x15ba00(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xea),(_0x229580,_0x642a66)=>{const _0x2252fe=_0x284543;this[_0x2252fe(0x138)][_0x2252fe(0xe0)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0x108)][_0x2252fe(0xf1)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0xf2)](_0x642a66[_0x2252fe(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe5),()=>{const _0x458818=_0x284543;this[_0x458818(0x12d)]();}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0x10c),(_0x84d118,_0x12afd5)=>{const _0x165833=_0x284543;this[_0x165833(0x10e)](_0x12afd5[_0x165833(0x10c)],_0x12afd5[_0x165833(0x104)],_0x12afd5[_0x165833(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x102),(_0x4cb6e8,_0x506408)=>{const _0x3d8f48=_0x284543;this[_0x3d8f48(0x107)](_0x506408['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x10f),(_0x1324de,_0x5c7005)=>{const _0x468d8e=_0x284543,_0x2031a8=_0x5c7005[_0x468d8e(0x115)]?_0x468d8e(0xe4):_0x468d8e(0x124);this[_0x468d8e(0x100)](_0x5c7005['id'],_0x2031a8),this[_0x468d8e(0x11e)](_0x5c7005['id'],_0x5c7005[_0x468d8e(0x115)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x12c),()=>{const _0x392eea=_0x284543;_0x54a035[_0x392eea(0x111)][_0x392eea(0xff)](_0x392eea(0x130));}),this[_0x284543(0x127)](this[_0x284543(0x138)],_0x284543(0xd4),()=>{const _0x863c5a=_0x284543;this[_0x863c5a(0x12d)]();}),_0x54a035[_0x284543(0x111)]['on'](_0x284543(0x113),()=>{const _0x28aaf5=_0x284543;this[_0x28aaf5(0xfb)]();}),this[_0x284543(0x127)](_0x54a035,_0x284543(0xe9),(_0x479cec,_0x12f2f4)=>{const _0x3b764b=_0x284543;this[_0x3b764b(0xf8)](_0x12f2f4);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xe1),()=>{const _0x41fa62=_0x284543;_0x54a035[_0x41fa62(0x137)]();});}async[_0x378ecf(0x106)](_0x354f48,_0x397e63){const _0x3b2bda=_0x378ecf;await this[_0x3b2bda(0xe2)][_0x3b2bda(0x11b)](_0x354f48,_0x397e63);}async[_0x378ecf(0x11e)](_0x1a562b,_0x5a0cb0){const _0x14e1aa=_0x378ecf;await this[_0x14e1aa(0xe2)][_0x14e1aa(0xdf)](_0x1a562b,_0x5a0cb0);}async[_0x378ecf(0x12e)](_0x84d34a){const _0x46e06a=_0x378ecf;await this[_0x46e06a(0xe2)][_0x46e06a(0xe8)](_0x84d34a);}async[_0x378ecf(0x107)](_0x45190c){const _0x1e62a8=_0x378ecf;await this[_0x1e62a8(0x138)][_0x1e62a8(0x11a)](_0x45190c);}async[_0x378ecf(0xfb)](){const _0x39c9ed=_0x378ecf;this[_0x39c9ed(0x108)][_0x39c9ed(0x118)](''),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x0),await this[_0x39c9ed(0xe2)][_0x39c9ed(0x10d)](),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x1);}[_0x378ecf(0x12d)](){const _0x1a9e29=_0x378ecf,_0x3e4fdd=this[_0x1a9e29(0x138)][_0x1a9e29(0x125)]?.['id'],_0x561c31=this[_0x1a9e29(0xee)]()[_0x1a9e29(0x119)](_0x5c5578=>({'title':_0x5c5578[_0x1a9e29(0xdc)],'items':_0x5c5578[_0x1a9e29(0x11f)][_0x1a9e29(0x119)](_0x529453=>({'id':_0x529453['id'],'title':_0x529453[_0x1a9e29(0xdc)]||_0x23a542(this[_0x1a9e29(0x11d)][_0x1a9e29(0xec)],_0x1a9e29(0xd6)),'createdAt':new Date(_0x529453[_0x1a9e29(0x109)])[_0x1a9e29(0xd3)](),'active':_0x529453['id']===_0x3e4fdd,'pinned':_0x529453[_0x1a9e29(0x115)]}))}));this[_0x1a9e29(0x108)][_0x1a9e29(0xf7)](_0x561c31);}[_0x378ecf(0x100)](_0x3058ba,_0x2d3fb0){const _0x26f499=_0x378ecf;this[_0x26f499(0x108)][_0x26f499(0x122)](_0x3058ba,_0x2d3fb0,!0x0);}[_0x378ecf(0xf2)](_0x35a943){const _0x50ebc6=_0x378ecf;this[_0x50ebc6(0x108)][_0x50ebc6(0x122)](_0x35a943,null,!0x1);}[_0x378ecf(0x10e)](_0x428057,_0x5e68a6,_0x48c6f7){const _0x4992ed=_0x378ecf,_0x38752f=this[_0x4992ed(0x133)](_0x5e68a6,_0x48c6f7);this[_0x4992ed(0x108)][_0x4992ed(0x118)](_0x38752f),_0x48c6f7&&this[_0x4992ed(0xf2)](_0x48c6f7),this[_0x4992ed(0x108)][_0x4992ed(0xf0)](!0x1);}[_0x378ecf(0x133)](_0x35189d,_0x4ccdf3){const _0xd2ef6b=_0x378ecf,_0x80b340=_0x4ccdf3?this[_0xd2ef6b(0xe2)][_0xd2ef6b(0xdb)](_0x4ccdf3):null,_0x1fcc47=_0x80b340?.[_0xd2ef6b(0xdc)]||_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd6));switch(_0x35189d){case _0xd2ef6b(0x11b):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x10b),_0x1fcc47);case _0xd2ef6b(0xdf):{const _0x39901d=_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0x80b340?.[_0xd2ef6b(0x115)]?_0xd2ef6b(0xe6):_0xd2ef6b(0xf5));return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x110),[_0x39901d,_0x1fcc47]);}case _0xd2ef6b(0xe8):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd5),_0x1fcc47);case _0xd2ef6b(0x10d):case _0xd2ef6b(0x126):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x120));default:return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x12b));}}[_0x378ecf(0xee)](){const _0x23ef45=_0x378ecf,_0x39fd2d=new Date(),_0x224d2a=new Date(_0x39fd2d[_0x23ef45(0x117)](),_0x39fd2d[_0x23ef45(0x12a)](),_0x39fd2d[_0x23ef45(0xf6)]()),_0x3295f6=new Date(_0x224d2a);_0x3295f6[_0x23ef45(0xfa)](_0x3295f6[_0x23ef45(0xf6)]()-0x1);const _0x1153e4=new Date(_0x224d2a);_0x1153e4[_0x23ef45(0xfa)](_0x1153e4[_0x23ef45(0xf6)]()-0xe);const _0x2dc4a1=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'pinned':!0x0}),_0x4e2424=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x224d2a,'to':_0x224d2a}),_0x198ce4=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x3295f6,'to':_0x3295f6}),_0x552d04=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x1153e4,'to':_0x3295f6}),_0x21ab08=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'to':_0x1153e4}),_0x4a2a30=[];return _0x2dc4a1[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xdd)),'items':_0x2dc4a1}),_0x4e2424[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xd2)),'items':_0x4e2424}),_0x198ce4[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x10a)),'items':_0x198ce4}),_0x552d04[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x11c)),'items':_0x552d04}),_0x21ab08[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x132)),'items':_0x21ab08}),_0x4a2a30;}[_0x378ecf(0xf8)](_0x8d6c69){const _0x474a69=_0x378ecf;this[_0x474a69(0x108)][_0x474a69(0xde)](_0x8d6c69);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17c45f=_0x2354;(function(_0x4973e9,_0x359c40){const _0x5279dc=_0x2354,_0x5f2b5d=_0x4973e9();while(!![]){try{const _0x322ada=parseInt(_0x5279dc(0x1d6))/0x1*(-parseInt(_0x5279dc(0x1ea))/0x2)+parseInt(_0x5279dc(0x1cb))/0x3+-parseInt(_0x5279dc(0x1eb))/0x4+-parseInt(_0x5279dc(0x1e5))/0x5*(parseInt(_0x5279dc(0x1cc))/0x6)+parseInt(_0x5279dc(0x1ef))/0x7+-parseInt(_0x5279dc(0x1d0))/0x8*(parseInt(_0x5279dc(0x1c7))/0x9)+parseInt(_0x5279dc(0x1df))/0xa;if(_0x322ada===_0x359c40)break;else _0x5f2b5d['push'](_0x5f2b5d['shift']());}catch(_0x220188){_0x5f2b5d['push'](_0x5f2b5d['shift']());}}}(_0x243d,0x647e6));import{ContextPlugin as _0x7f068b}from'ckeditor5/src/core.js';import{AITabs as _0x3006fe}from'../aitabs/aitabs.js';import{IconAIHistory as _0x3772ff}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x489fe4}from'./ui/aichathistoryview.js';import{getTranslation as _0x24c8dc}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';function _0x243d(){const _0x39f381=['updateItemLoadingState','showResizeButton','updateItemTitle','delegate','hideError','errorMessage','removeConversation','_historyView','11369920roZtFK','resizeTabs','setLoadingSkeleton','removeHistoryItem','isMaximized','isPremiumPlugin','30KVDOtJ','get','history','updateHistoryItemsWithCategories','selectConversation','1009846eoGMae','749376QhrscU','AITabs','pluginName','AI_CHAT_HISTORY_HEADING','989191zqPpYb','requires','updateItems','addTab','locale','AIChatHistoryUI','18pPSxKQ','isLoading','openChat','context','1049070YSCVDU','482286TKYpzw','plugins','isOfficialPlugin','editConversationTitle','167280SPXatY','setIsMaximized','view','setConversationPinned','showError','showConversationHistory','1mZaFmF'];_0x243d=function(){return _0x39f381;};return _0x243d();}function _0x2354(_0xadf7de,_0x4f9ed0){const _0x243d18=_0x243d();return _0x2354=function(_0x2354a8,_0x4b319f){_0x2354a8=_0x2354a8-0x1c6;let _0x32a66b=_0x243d18[_0x2354a8];return _0x32a66b;},_0x2354(_0xadf7de,_0x4f9ed0);}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x17c45f(0x1d5),_0x17c45f(0x1dd),_0x17c45f(0x1cf),_0x17c45f(0x1d3),_0x17c45f(0x1e9),_0x17c45f(0x1c9),_0x17c45f(0x1e0)];export class AIChatHistoryUI extends _0x7f068b{static get[_0x17c45f(0x1f0)](){return[_0x3006fe];}[_0x17c45f(0x1de)];static get[_0x17c45f(0x1ed)](){const _0x189c42=_0x17c45f;return _0x189c42(0x1c6);}static get[_0x17c45f(0x1ce)](){return!0x0;}static get[_0x17c45f(0x1e4)](){return!0x0;}constructor(_0x5a58d){const _0x250692=_0x17c45f;super(_0x5a58d);const _0x25ed66=this[_0x250692(0x1ca)][_0x250692(0x1cd)][_0x250692(0x1e6)](_0x250692(0x1ec));this[_0x250692(0x1de)]=new _0x489fe4(this[_0x250692(0x1ca)][_0x250692(0x1f3)],_0x25ed66[_0x250692(0x1d8)]),this[_0x250692(0x1de)][_0x250692(0x1da)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x25ed66[_0x250692(0x1d2)][_0x250692(0x1f2)]({'id':_0x250692(0x1e7),'buttonLabel':_0x24c8dc(this[_0x250692(0x1ca)][_0x250692(0x1f3)],_0x250692(0x1ee)),'buttonIcon':_0x3772ff,'order':0x0,'content':this[_0x250692(0x1de)]});}[_0x17c45f(0x1e2)](_0x2bda5d){const _0xafdb08=_0x17c45f;this[_0xafdb08(0x1de)][_0xafdb08(0x1e2)](_0x2bda5d);}[_0x17c45f(0x1f1)](_0x1b694c){const _0x14e5da=_0x17c45f;this[_0x14e5da(0x1de)][_0x14e5da(0x1e8)](_0x1b694c);}[_0x17c45f(0x1d9)](_0x129e17,_0x1049c0){const _0x20a6e2=_0x17c45f;this[_0x20a6e2(0x1de)][_0x20a6e2(0x1d9)](_0x129e17,_0x1049c0);}[_0x17c45f(0x1d7)](_0x48a7d0,_0x3ec844,_0x381c89){const _0x30fafe=_0x17c45f;this[_0x30fafe(0x1de)][_0x30fafe(0x1d7)](_0x48a7d0,_0x3ec844,_0x381c89);}[_0x17c45f(0x1e1)](_0x3acbb8){const _0x349b13=_0x17c45f;this[_0x349b13(0x1de)][_0x349b13(0x1c8)]=_0x3acbb8;}[_0x17c45f(0x1d4)](_0x4f3d63){const _0x1abbd3=_0x17c45f;this[_0x1abbd3(0x1de)][_0x1abbd3(0x1dc)]=_0x4f3d63;}[_0x17c45f(0x1db)](){const _0x32f3a4=_0x17c45f;this[_0x32f3a4(0x1de)][_0x32f3a4(0x1dc)]='';}[_0x17c45f(0x1d1)](_0x4a9619){const _0x3ac13f=_0x17c45f;this[_0x3ac13f(0x1de)][_0x3ac13f(0x1e3)]=_0x4a9619;}}
23
+ const _0x22d1df=_0x35a2;(function(_0x33e644,_0x5ee0bd){const _0x1dd3cc=_0x35a2,_0x343d95=_0x33e644();while(!![]){try{const _0x53b28c=-parseInt(_0x1dd3cc(0xd9))/0x1*(-parseInt(_0x1dd3cc(0xee))/0x2)+-parseInt(_0x1dd3cc(0xd6))/0x3+parseInt(_0x1dd3cc(0xde))/0x4*(parseInt(_0x1dd3cc(0xf2))/0x5)+-parseInt(_0x1dd3cc(0xe9))/0x6*(-parseInt(_0x1dd3cc(0xfd))/0x7)+-parseInt(_0x1dd3cc(0xd3))/0x8+-parseInt(_0x1dd3cc(0xf4))/0x9*(parseInt(_0x1dd3cc(0xff))/0xa)+parseInt(_0x1dd3cc(0xed))/0xb*(parseInt(_0x1dd3cc(0xf1))/0xc);if(_0x53b28c===_0x5ee0bd)break;else _0x343d95['push'](_0x343d95['shift']());}catch(_0x2c18a8){_0x343d95['push'](_0x343d95['shift']());}}}(_0x352e,0x92d18));import{ContextPlugin as _0x18b6ea}from'ckeditor5/src/core.js';import{AITabs as _0x314b2d}from'../aitabs/aitabs.js';function _0x352e(){const _0x46ee15=['14LLvOCY','view','470GPydVW','get','history','setLoadingSkeleton','9060280dhFXjv','errorMessage','isLoading','2997180ogUulh','selectConversation','updateItems','229vOOxHo','_historyView','plugins','isOfficialPlugin','removeHistoryItem','1164HTJCLx','updateHistoryItemsWithCategories','hideError','locale','requires','updateItemLoadingState','isMaximized','AI_CHAT_HISTORY_HEADING','editConversationTitle','resizeTabs','AIChatHistoryUI','648426xLrPha','setConversationPinned','showResizeButton','isPremiumPlugin','11jacxXU','2338eeIPUP','pluginName','removeConversation','14080092xlBExd','19555tkTmkJ','showError','11934YivIZb','setIsMaximized','AITabs','openChat','addTab','showConversationHistory','updateItemTitle','delegate','context'];_0x352e=function(){return _0x46ee15;};return _0x352e();}import{IconAIHistory as _0x50e2a4}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x53b930}from'./ui/aichathistoryview.js';import{getTranslation as _0x16cc9d}from'../aicore/utils/common-translations.js';function _0x35a2(_0x49d9b9,_0x1bcea7){const _0x352eed=_0x352e();return _0x35a2=function(_0x35a2c7,_0x457c34){_0x35a2c7=_0x35a2c7-0xd0;let _0x18240b=_0x352eed[_0x35a2c7];return _0x18240b;},_0x35a2(_0x49d9b9,_0x1bcea7);}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x22d1df(0xf9),_0x22d1df(0xf0),_0x22d1df(0xe6),_0x22d1df(0xea),_0x22d1df(0xd7),_0x22d1df(0xf7),_0x22d1df(0xe7)];export class AIChatHistoryUI extends _0x18b6ea{static get[_0x22d1df(0xe2)](){return[_0x314b2d];}[_0x22d1df(0xda)];static get[_0x22d1df(0xef)](){const _0x50e0d0=_0x22d1df;return _0x50e0d0(0xe8);}static get[_0x22d1df(0xdc)](){return!0x0;}static get[_0x22d1df(0xec)](){return!0x0;}constructor(_0x2176cf){const _0x452264=_0x22d1df;super(_0x2176cf);const _0x4b907f=this[_0x452264(0xfc)][_0x452264(0xdb)][_0x452264(0xd0)](_0x452264(0xf6));this[_0x452264(0xda)]=new _0x53b930(this[_0x452264(0xfc)][_0x452264(0xe1)],_0x4b907f[_0x452264(0xeb)]),this[_0x452264(0xda)][_0x452264(0xfb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4b907f[_0x452264(0xfe)][_0x452264(0xf8)]({'id':_0x452264(0xd1),'buttonLabel':_0x16cc9d(this[_0x452264(0xfc)][_0x452264(0xe1)],_0x452264(0xe5)),'buttonIcon':_0x50e2a4,'order':0x0,'content':this[_0x452264(0xda)]});}[_0x22d1df(0xdd)](_0x48d61e){const _0x21822a=_0x22d1df;this[_0x21822a(0xda)][_0x21822a(0xdd)](_0x48d61e);}[_0x22d1df(0xd8)](_0xbe6cf8){const _0x2edcbd=_0x22d1df;this[_0x2edcbd(0xda)][_0x2edcbd(0xdf)](_0xbe6cf8);}[_0x22d1df(0xfa)](_0x5c5bab,_0x192971){const _0x109986=_0x22d1df;this[_0x109986(0xda)][_0x109986(0xfa)](_0x5c5bab,_0x192971);}[_0x22d1df(0xe3)](_0x109ddf,_0x828c50,_0x45e8b5){const _0x42792e=_0x22d1df;this[_0x42792e(0xda)][_0x42792e(0xe3)](_0x109ddf,_0x828c50,_0x45e8b5);}[_0x22d1df(0xd2)](_0x2f5483){const _0x569dea=_0x22d1df;this[_0x569dea(0xda)][_0x569dea(0xd5)]=_0x2f5483;}[_0x22d1df(0xf3)](_0x12d637){const _0x54f60f=_0x22d1df;this[_0x54f60f(0xda)][_0x54f60f(0xd4)]=_0x12d637;}[_0x22d1df(0xe0)](){const _0x43b52d=_0x22d1df;this[_0x43b52d(0xda)][_0x43b52d(0xd4)]='';}[_0x22d1df(0xf5)](_0x2e5219){const _0x14cb4d=_0x22d1df;this[_0x14cb4d(0xda)][_0x14cb4d(0xe4)]=_0x2e5219;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ece(_0x5ff4d,_0x5701de){const _0x18bd9d=_0x18bd();return _0x4ece=function(_0x4ece90,_0xa58355){_0x4ece90=_0x4ece90-0xf9;let _0x116592=_0x18bd9d[_0x4ece90];return _0x116592;},_0x4ece(_0x5ff4d,_0x5701de);}const _0x44d68c=_0x4ece;(function(_0xf93f3c,_0x33128e){const _0x4a6dca=_0x4ece,_0x180c5d=_0xf93f3c();while(!![]){try{const _0x44aa48=-parseInt(_0x4a6dca(0x126))/0x1*(-parseInt(_0x4a6dca(0x103))/0x2)+parseInt(_0x4a6dca(0x123))/0x3*(-parseInt(_0x4a6dca(0xfa))/0x4)+-parseInt(_0x4a6dca(0x125))/0x5+-parseInt(_0x4a6dca(0x11e))/0x6*(-parseInt(_0x4a6dca(0x124))/0x7)+parseInt(_0x4a6dca(0x108))/0x8*(parseInt(_0x4a6dca(0x127))/0x9)+parseInt(_0x4a6dca(0x111))/0xa+-parseInt(_0x4a6dca(0xfe))/0xb*(parseInt(_0x4a6dca(0x10f))/0xc);if(_0x44aa48===_0x33128e)break;else _0x180c5d['push'](_0x180c5d['shift']());}catch(_0xfa7e73){_0x180c5d['push'](_0x180c5d['shift']());}}}(_0x18bd,0x32241));import{EmitterMixin as _0x420a76}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x3bdcbf}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x420a76(){[_0x44d68c(0xff)]=[];[_0x44d68c(0x105)];[_0x44d68c(0x109)];constructor({connector:_0xc48e6c,group:_0x3bb75a}){const _0x3ab1d3=_0x44d68c;super(),this[_0x3ab1d3(0x105)]=_0xc48e6c,this[_0x3ab1d3(0x109)]=_0x3bb75a;}async[_0x44d68c(0xfb)](){const _0xfeae71=_0x44d68c;try{const _0xc1056f=this[_0xfeae71(0x105)][_0xfeae71(0x110)](this[_0xfeae71(0x109)]),_0x57422b=await _0xc1056f[_0xfeae71(0x128)]();this[_0xfeae71(0x121)](_0x57422b);}catch(_0xff0fb3){this[_0xfeae71(0x119)](_0xfeae71(0x116),{'error':_0xff0fb3,'operation':_0xfeae71(0xfb)});}}[_0x44d68c(0x117)](_0x4ed9f6){const _0x1de96f=_0x44d68c;this[_0x1de96f(0xff)][_0x1de96f(0x113)](_0x4ed9f6);}async[_0x44d68c(0xfc)](_0x3b8be0){const _0xb493e2=_0x44d68c,_0x9ab7a7=this[_0xb493e2(0xff)][_0xb493e2(0x120)](_0x675b83=>_0x675b83['id']===_0x3b8be0);if(-0x1===_0x9ab7a7)return!0x1;try{return await this[_0xb493e2(0x105)][_0xb493e2(0x101)](_0x3b8be0)[_0xb493e2(0x100)](),this[_0xb493e2(0xff)][_0xb493e2(0x11d)](_0x9ab7a7,0x1),this[_0xb493e2(0x119)](_0xb493e2(0x10d),{'itemId':_0x3b8be0}),!0x0;}catch(_0x16bf6e){return this[_0xb493e2(0x119)](_0xb493e2(0x116),{'error':_0x16bf6e,'operation':_0xb493e2(0xfc),'itemId':_0x3b8be0}),!0x1;}}[_0x44d68c(0x10c)](_0x3c85a7){const _0x357492=_0x44d68c;return this[_0x357492(0xff)][_0x357492(0x11f)](_0x196129=>_0x196129['id']===_0x3c85a7);}async[_0x44d68c(0x118)](_0x6038a2,_0x187d03){const _0x15701a=_0x44d68c,_0x4d4545=this[_0x15701a(0x10c)](_0x6038a2);if(!_0x4d4545)return!0x1;try{return await this[_0x15701a(0x105)][_0x15701a(0x10e)](_0x6038a2,{'title':_0x187d03})[_0x15701a(0x10b)](),_0x4d4545[_0x15701a(0x11c)](_0x187d03),this[_0x15701a(0x119)](_0x15701a(0x122),{'itemId':_0x6038a2,'updates':{'title':_0x187d03}}),!0x0;}catch(_0x2bebc5){return this[_0x15701a(0x119)](_0x15701a(0x116),{'error':_0x2bebc5,'operation':_0x15701a(0x118),'itemId':_0x6038a2}),!0x1;}}async[_0x44d68c(0x11a)](_0x29c6d9,_0x2333b4){const _0xb00a53=_0x44d68c,_0xc87df6=this[_0xb00a53(0x10c)](_0x29c6d9);if(!_0xc87df6)return!0x1;try{return await this[_0xb00a53(0x105)][_0xb00a53(0x10e)](_0x29c6d9,{'pinned':_0x2333b4})[_0xb00a53(0x10b)](),_0xc87df6[_0xb00a53(0x11b)](_0x2333b4),this[_0xb00a53(0x119)](_0xb00a53(0x122),{'itemId':_0x29c6d9,'updates':{'pinned':_0x2333b4}}),!0x0;}catch(_0x1b27f1){return this[_0xb00a53(0x119)](_0xb00a53(0x116),{'error':_0x1b27f1,'operation':_0xb00a53(0x11a),'itemId':_0x29c6d9}),!0x1;}}[_0x44d68c(0x121)](_0x284265){const _0x4b87ae=_0x44d68c;try{this[_0x4b87ae(0xff)]=[],_0x284265[_0x4b87ae(0x104)](_0x13ad9d=>{const _0x261697=_0x4b87ae;this[_0x261697(0x117)](new _0x3bdcbf(_0x13ad9d));}),this[_0x4b87ae(0x119)](_0x4b87ae(0xfd),{'items':[...this[_0x4b87ae(0xff)]]});}catch(_0x501a88){this[_0x4b87ae(0x119)](_0x4b87ae(0x116),{'error':_0x501a88,'operation':_0x4b87ae(0x121)});}}[_0x44d68c(0x102)](_0x447d73={}){const _0x24d493=_0x44d68c,_0x3da162=void 0x0!==_0x447d73[_0x24d493(0x115)]&&_0x447d73[_0x24d493(0x115)],_0xd8b672=_0x447d73[_0x24d493(0x114)]?new Date(_0x447d73[_0x24d493(0x114)][_0x24d493(0x129)](),_0x447d73[_0x24d493(0x114)][_0x24d493(0xf9)](),_0x447d73[_0x24d493(0x114)][_0x24d493(0x10a)]()):null,_0xd0411d=_0x447d73['to']?new Date(_0x447d73['to'][_0x24d493(0x129)](),_0x447d73['to'][_0x24d493(0xf9)](),_0x447d73['to'][_0x24d493(0x10a)]()):null;return this[_0x24d493(0xff)][_0x24d493(0x112)](_0x52af4e=>{const _0x3b19e5=_0x24d493;if(_0x52af4e[_0x3b19e5(0x115)]!==_0x3da162)return!0x1;if(_0xd0411d){const _0x5c62df=new Date(_0x52af4e[_0x3b19e5(0x107)][_0x3b19e5(0x129)](),_0x52af4e[_0x3b19e5(0x107)][_0x3b19e5(0xf9)](),_0x52af4e[_0x3b19e5(0x107)][_0x3b19e5(0x10a)]());return _0xd8b672?_0xd8b672[_0x3b19e5(0x106)]()===_0xd0411d[_0x3b19e5(0x106)]()?_0x5c62df[_0x3b19e5(0x106)]()===_0xd8b672[_0x3b19e5(0x106)]():_0x5c62df<_0xd0411d&&_0x5c62df>=_0xd8b672:_0x5c62df<_0xd0411d;}return!0x0;});}}function _0x18bd(){const _0xc3ac34=['getItem','itemRemoved','updateConversation','12ACrSBC','fetchConversations','2184090sNHKYa','filter','push','from','pinned','error','addItem','updateItemTitle','fire','updateItemPinned','updatePinned','updateTitle','splice','6dBClsi','find','findIndex','loadItems','itemUpdated','3pniNbz','1121771vPOYfX','1497025tljUIO','107OqkKbP','126783UXpjOQ','getConversations','getFullYear','getMonth','125456JNEuJt','init','removeItem','itemsLoaded','2688037tsFoYB','items','execute','deleteConversation','getItems','6458gdDabt','map','connector','getTime','createdAt','32evNPyd','group','getDate','getResult'];_0x18bd=function(){return _0xc3ac34;};return _0x18bd();}
23
+ function _0x221f(_0x6d33d9,_0x517af8){const _0x1a05e8=_0x1a05();return _0x221f=function(_0x221fa9,_0x39f010){_0x221fa9=_0x221fa9-0xa1;let _0x203cd5=_0x1a05e8[_0x221fa9];return _0x203cd5;},_0x221f(_0x6d33d9,_0x517af8);}const _0xb9e7cd=_0x221f;function _0x1a05(){const _0x53ef30=['getItem','3145648kjnrAu','createdAt','fire','filter','getMonth','getDate','fetchConversations','itemRemoved','getFullYear','1715931yCAlrI','map','updateConversation','splice','updateItemPinned','updateItemTitle','2236199LESqeX','items','itemsLoaded','getItems','1875269qWYfVj','getResult','84hZyErf','itemUpdated','findIndex','error','545995QkKgoh','init','group','updatePinned','30416560SXfSNC','from','loadItems','connector','pinned','removeItem','find','execute','getConversations','addItem','950062tlfPZr','getTime','deleteConversation','updateTitle','push'];_0x1a05=function(){return _0x53ef30;};return _0x1a05();}(function(_0x46c0e1,_0x1990a8){const _0xef0f9f=_0x221f,_0x5a1eff=_0x46c0e1();while(!![]){try{const _0x217d40=-parseInt(_0xef0f9f(0xa9))/0x1+parseInt(_0xef0f9f(0xbd))/0x2+parseInt(_0xef0f9f(0xcc))/0x3+-parseInt(_0xef0f9f(0xc3))/0x4+-parseInt(_0xef0f9f(0xaf))/0x5*(parseInt(_0xef0f9f(0xab))/0x6)+parseInt(_0xef0f9f(0xa5))/0x7+parseInt(_0xef0f9f(0xb3))/0x8;if(_0x217d40===_0x1990a8)break;else _0x5a1eff['push'](_0x5a1eff['shift']());}catch(_0x2db3ce){_0x5a1eff['push'](_0x5a1eff['shift']());}}}(_0x1a05,0xeec94));import{EmitterMixin as _0xb9b9d0}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x17e9d3}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xb9b9d0(){[_0xb9e7cd(0xa6)]=[];[_0xb9e7cd(0xb6)];[_0xb9e7cd(0xb1)];constructor({connector:_0x460bb2,group:_0x46efb7}){const _0x1e3e6c=_0xb9e7cd;super(),this[_0x1e3e6c(0xb6)]=_0x460bb2,this[_0x1e3e6c(0xb1)]=_0x46efb7;}async[_0xb9e7cd(0xb0)](){const _0x4d2c0f=_0xb9e7cd;try{const _0x171292=this[_0x4d2c0f(0xb6)][_0x4d2c0f(0xc9)](this[_0x4d2c0f(0xb1)]),_0xdf9ce6=await _0x171292[_0x4d2c0f(0xbb)]();this[_0x4d2c0f(0xb5)](_0xdf9ce6);}catch(_0x132955){this[_0x4d2c0f(0xc5)](_0x4d2c0f(0xae),{'error':_0x132955,'operation':_0x4d2c0f(0xb0)});}}[_0xb9e7cd(0xbc)](_0x4285ff){const _0x29975d=_0xb9e7cd;this[_0x29975d(0xa6)][_0x29975d(0xc1)](_0x4285ff);}async[_0xb9e7cd(0xb8)](_0x228d1b){const _0x52b6ba=_0xb9e7cd,_0x5bad0a=this[_0x52b6ba(0xa6)][_0x52b6ba(0xad)](_0x34361e=>_0x34361e['id']===_0x228d1b);if(-0x1===_0x5bad0a)return!0x1;try{return await this[_0x52b6ba(0xb6)][_0x52b6ba(0xbf)](_0x228d1b)[_0x52b6ba(0xba)](),this[_0x52b6ba(0xa6)][_0x52b6ba(0xa2)](_0x5bad0a,0x1),this[_0x52b6ba(0xc5)](_0x52b6ba(0xca),{'itemId':_0x228d1b}),!0x0;}catch(_0x311a01){return this[_0x52b6ba(0xc5)](_0x52b6ba(0xae),{'error':_0x311a01,'operation':_0x52b6ba(0xb8),'itemId':_0x228d1b}),!0x1;}}[_0xb9e7cd(0xc2)](_0x4d179d){const _0x1097aa=_0xb9e7cd;return this[_0x1097aa(0xa6)][_0x1097aa(0xb9)](_0x473638=>_0x473638['id']===_0x4d179d);}async[_0xb9e7cd(0xa4)](_0x3bd758,_0x466114){const _0x1f6e0d=_0xb9e7cd,_0x5a81ab=this[_0x1f6e0d(0xc2)](_0x3bd758);if(!_0x5a81ab)return!0x1;try{return await this[_0x1f6e0d(0xb6)][_0x1f6e0d(0xa1)](_0x3bd758,{'title':_0x466114})[_0x1f6e0d(0xaa)](),_0x5a81ab[_0x1f6e0d(0xc0)](_0x466114),this[_0x1f6e0d(0xc5)](_0x1f6e0d(0xac),{'itemId':_0x3bd758,'updates':{'title':_0x466114}}),!0x0;}catch(_0x3359dc){return this[_0x1f6e0d(0xc5)](_0x1f6e0d(0xae),{'error':_0x3359dc,'operation':_0x1f6e0d(0xa4),'itemId':_0x3bd758}),!0x1;}}async[_0xb9e7cd(0xa3)](_0x3825e6,_0x44e318){const _0x4eca3d=_0xb9e7cd,_0x41a6dd=this[_0x4eca3d(0xc2)](_0x3825e6);if(!_0x41a6dd)return!0x1;try{return await this[_0x4eca3d(0xb6)][_0x4eca3d(0xa1)](_0x3825e6,{'pinned':_0x44e318})[_0x4eca3d(0xaa)](),_0x41a6dd[_0x4eca3d(0xb2)](_0x44e318),this[_0x4eca3d(0xc5)](_0x4eca3d(0xac),{'itemId':_0x3825e6,'updates':{'pinned':_0x44e318}}),!0x0;}catch(_0x4bddf0){return this[_0x4eca3d(0xc5)](_0x4eca3d(0xae),{'error':_0x4bddf0,'operation':_0x4eca3d(0xa3),'itemId':_0x3825e6}),!0x1;}}[_0xb9e7cd(0xb5)](_0x486833){const _0x3e840c=_0xb9e7cd;try{this[_0x3e840c(0xa6)]=[],_0x486833[_0x3e840c(0xcd)](_0x55c8b9=>{const _0x4732b4=_0x3e840c;this[_0x4732b4(0xbc)](new _0x17e9d3(_0x55c8b9));}),this[_0x3e840c(0xc5)](_0x3e840c(0xa7),{'items':[...this[_0x3e840c(0xa6)]]});}catch(_0x3c9600){this[_0x3e840c(0xc5)](_0x3e840c(0xae),{'error':_0x3c9600,'operation':_0x3e840c(0xb5)});}}[_0xb9e7cd(0xa8)](_0x2b7a27={}){const _0x1ee965=_0xb9e7cd,_0x4bbae7=void 0x0!==_0x2b7a27[_0x1ee965(0xb7)]&&_0x2b7a27[_0x1ee965(0xb7)],_0x5216ec=_0x2b7a27[_0x1ee965(0xb4)]?new Date(_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xcb)](),_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xc7)](),_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xc8)]()):null,_0x2a6ab3=_0x2b7a27['to']?new Date(_0x2b7a27['to'][_0x1ee965(0xcb)](),_0x2b7a27['to'][_0x1ee965(0xc7)](),_0x2b7a27['to'][_0x1ee965(0xc8)]()):null;return this[_0x1ee965(0xa6)][_0x1ee965(0xc6)](_0x237bf3=>{const _0x53d966=_0x1ee965;if(_0x237bf3[_0x53d966(0xb7)]!==_0x4bbae7)return!0x1;if(_0x2a6ab3){const _0x3a930e=new Date(_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xcb)](),_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xc7)](),_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xc8)]());return _0x5216ec?_0x5216ec[_0x53d966(0xbe)]()===_0x2a6ab3[_0x53d966(0xbe)]()?_0x3a930e[_0x53d966(0xbe)]()===_0x5216ec[_0x53d966(0xbe)]():_0x3a930e<_0x2a6ab3&&_0x3a930e>=_0x5216ec:_0x3a930e<_0x2a6ab3;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2053a8=_0x3ace;function _0x3ace(_0x19a21e,_0x3c9d42){var _0x54a55b=_0x54a5();return _0x3ace=function(_0x3ace5a,_0x450419){_0x3ace5a=_0x3ace5a-0xf2;var _0x3b7e0c=_0x54a55b[_0x3ace5a];return _0x3b7e0c;},_0x3ace(_0x19a21e,_0x3c9d42);}(function(_0x24c672,_0x668e9d){var _0x212149=_0x3ace,_0x14c2d2=_0x24c672();while(!![]){try{var _0x32a620=-parseInt(_0x212149(0xfc))/0x1*(-parseInt(_0x212149(0x102))/0x2)+-parseInt(_0x212149(0xff))/0x3*(-parseInt(_0x212149(0xf8))/0x4)+parseInt(_0x212149(0xfe))/0x5+-parseInt(_0x212149(0xf4))/0x6+-parseInt(_0x212149(0x101))/0x7*(parseInt(_0x212149(0xf6))/0x8)+parseInt(_0x212149(0xf9))/0x9+-parseInt(_0x212149(0xf7))/0xa;if(_0x32a620===_0x668e9d)break;else _0x14c2d2['push'](_0x14c2d2['shift']());}catch(_0x423092){_0x14c2d2['push'](_0x14c2d2['shift']());}}}(_0x54a5,0x3cd59));import{ObservableMixin as _0x4c5e14}from'ckeditor5/src/utils.js';function _0x54a5(){var _0x31bec2=['2BOGFXG','updatePinned','createdAt','2062302Xzhjlm','title','8424AxniVY','4879050toikqe','1864684pQqKfq','1874736yfnKUw','updateTitle','set','443249GJFhOq','updatedAt','978940LpyyfL','3JajPVX','pinned','1547oboZAD'];_0x54a5=function(){return _0x31bec2;};return _0x54a5();}import{escape as _0x1b5d2f}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x4c5e14(){['id'];[_0x2053a8(0xf3)];constructor({id:_0x569e7b,title:_0x3f0d54,createdAt:_0x1b520f,updatedAt:_0x366b0c,pinned:_0x5dd220}){var _0x19850d=_0x2053a8;super(),this['id']=_0x569e7b,this[_0x19850d(0xf3)]=new Date(_0x1b520f),this[_0x19850d(0xfb)](_0x19850d(0xf5),_0x3f0d54),this[_0x19850d(0xfb)](_0x19850d(0xfd),_0x366b0c?new Date(_0x366b0c):null),this[_0x19850d(0xfb)](_0x19850d(0x100),_0x5dd220||!0x1);}[_0x2053a8(0xfa)](_0x3365b9){var _0x358214=_0x2053a8;this[_0x358214(0xfb)](_0x358214(0xf5),_0x1b5d2f(_0x3365b9)),this[_0x358214(0xfd)]=new Date();}[_0x2053a8(0xf2)](_0x2a106d){var _0x58b37b=_0x2053a8;this[_0x58b37b(0xfb)](_0x58b37b(0x100),_0x2a106d),this[_0x58b37b(0xfd)]=new Date();}}
23
+ var _0x42beca=_0x2c27;(function(_0x5b65cc,_0x552be4){var _0x2488ed=_0x2c27,_0x20bc84=_0x5b65cc();while(!![]){try{var _0x4fced8=parseInt(_0x2488ed(0x19b))/0x1*(parseInt(_0x2488ed(0x1a6))/0x2)+-parseInt(_0x2488ed(0x1a5))/0x3*(parseInt(_0x2488ed(0x1a1))/0x4)+-parseInt(_0x2488ed(0x1a3))/0x5*(-parseInt(_0x2488ed(0x19f))/0x6)+parseInt(_0x2488ed(0x1a7))/0x7+parseInt(_0x2488ed(0x1a2))/0x8+parseInt(_0x2488ed(0x199))/0x9*(-parseInt(_0x2488ed(0x1a8))/0xa)+-parseInt(_0x2488ed(0x1aa))/0xb;if(_0x4fced8===_0x552be4)break;else _0x20bc84['push'](_0x20bc84['shift']());}catch(_0x86b69b){_0x20bc84['push'](_0x20bc84['shift']());}}}(_0x104b,0xaa29f));import{ObservableMixin as _0x1010ba}from'ckeditor5/src/utils.js';function _0x2c27(_0xd90de5,_0x3ac3f1){var _0x104b31=_0x104b();return _0x2c27=function(_0x2c278b,_0x351411){_0x2c278b=_0x2c278b-0x199;var _0x5dca5c=_0x104b31[_0x2c278b];return _0x5dca5c;},_0x2c27(_0xd90de5,_0x3ac3f1);}function _0x104b(){var _0x14fe25=['526842ZxuIDX','title','735409ZoRQoL','updatePinned','set','createdAt','12SQxNIn','updateTitle','28wmrgQT','5272824hgSTbV','575325ctWbuK','pinned','479421aZHpQu','2gwPlhS','8599087udDDXb','10PPgIIV','updatedAt','10767955ezljVR'];_0x104b=function(){return _0x14fe25;};return _0x104b();}import{escape as _0x2328b0}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1010ba(){['id'];[_0x42beca(0x19e)];constructor({id:_0x526dea,title:_0x2078a3,createdAt:_0x34d513,updatedAt:_0x3e4adb,pinned:_0x54c135}){var _0x54d154=_0x42beca;super(),this['id']=_0x526dea,this[_0x54d154(0x19e)]=new Date(_0x34d513),this[_0x54d154(0x19d)](_0x54d154(0x19a),_0x2078a3),this[_0x54d154(0x19d)](_0x54d154(0x1a9),_0x3e4adb?new Date(_0x3e4adb):null),this[_0x54d154(0x19d)](_0x54d154(0x1a4),_0x54c135||!0x1);}[_0x42beca(0x1a0)](_0x3222c5){var _0x4911b5=_0x42beca;this[_0x4911b5(0x19d)](_0x4911b5(0x19a),_0x2328b0(_0x3222c5)),this[_0x4911b5(0x1a9)]=new Date();}[_0x42beca(0x19c)](_0x3e90fe){var _0x4ec78f=_0x42beca;this[_0x4ec78f(0x19d)](_0x4ec78f(0x1a4),_0x3e90fe),this[_0x4ec78f(0x1a9)]=new Date();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x158bb8=_0x4b38;(function(_0x2dd537,_0x4f1273){const _0x45ac06=_0x4b38,_0xf27410=_0x2dd537();while(!![]){try{const _0x207b95=-parseInt(_0x45ac06(0x16d))/0x1+parseInt(_0x45ac06(0x12d))/0x2+-parseInt(_0x45ac06(0x11f))/0x3*(-parseInt(_0x45ac06(0x11a))/0x4)+-parseInt(_0x45ac06(0x129))/0x5*(-parseInt(_0x45ac06(0x13b))/0x6)+parseInt(_0x45ac06(0x14d))/0x7+-parseInt(_0x45ac06(0x136))/0x8+-parseInt(_0x45ac06(0x114))/0x9;if(_0x207b95===_0x4f1273)break;else _0xf27410['push'](_0xf27410['shift']());}catch(_0x25fff2){_0xf27410['push'](_0xf27410['shift']());}}}(_0x227a,0x4ce4e));import{ListItemView as _0x1a1800,HighlightedTextView as _0x24405f,ButtonView as _0x208e23,ListView as _0x3e7a48,IconView as _0x501852,createDropdown as _0x1a0779,InputTextView as _0x1b9a4c}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0xa3ed46,IconPin as _0x5f4df5,IconCheck as _0x2e8f8e,IconCancel as _0x23393c}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x377c7c,ConfirmMixin as _0x557f3c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4b38(_0x569372,_0x52f20b){const _0x227ac9=_0x227a();return _0x4b38=function(_0x4b3899,_0x27c757){_0x4b3899=_0x4b3899-0x112;let _0x429d33=_0x227ac9[_0x4b3899];return _0x429d33;},_0x4b38(_0x569372,_0x52f20b);}function _0x227a(){const _0x597d63=['ck-confirm-view-cancel','set','listitem','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','extendTemplate','addMany','buttonView','ck-confirm-view-submit','234005GfhhiA','edit:cancel','actions','setConversationPinned','571810WExkTv','_createPinButtonView','clear','_titleView','locale','label','isEdit','value','AI_CHAT_HISTORY_EDIT_NAME','219320tZcMWr','updateTitle','pinned','mainContent','showConfirm','12PhEEBb','AI_CHAT_HISTORY_LOADING_UNPINNING','text','loadingState','_createAcceptEditButtonView','change:isEdit','ck-ai-chat-history__item','then','AI_CHAT_HISTORY_REMOVE_CONFIRM','click','AI_CHAT_HISTORY_ACCEPT','updateLoadingState','match','removeConversation','isMatching','panelPosition','AI_CHAT_HISTORY_PIN_BUTTON','bindTemplate','3319547DSORwN','panelView','fire','key','ck-ai-chat-history__item-check-container','_createCheckView','createCollection','span','ck-ai-chat-history__item-content','ck-ai-chat-history__item-check','tiny','execute','children','AI_CHAT_HISTORY_LOADING_PINNING','element','ck-ai-chat-history__item-main-content','ck-ai-loader__text','ck-ai-chat-history__item--edit','AI_CHAT_HISTORY_LOADING_RENAMING','selectConversation','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_CANCEL','_createCancelEditButtonView','add','items','focus','bind','AI_CHAT_HISTORY_REMOVE','ck-ai-chat-history__item--active','setTemplate','editConversationTitle','withText','186294oKhBQe','ck-ai-chat-history__item-title','highlightText','string','isOn','ck-ai-loader','ck-ai-chat-history__item-actions','isVisible','4725918AuwvEJ','_createSpinnerView','Enter','_createMenuDropdownView','ck-ai-chat-history__item-row','LOADING_LABELS','800164qluUAp','_commitEditInputValue','div','ck-hidden','_createEditInputView','3xsWjfm','ck-ai-chat-history__item-date'];_0x227a=function(){return _0x597d63;};return _0x227a();}import{escape as _0x52d70d}from'es-toolkit/compat';import{AISpinnerView as _0x48fc87}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x46776e}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x557f3c(_0x1a1800){['id'];static [_0x158bb8(0x119)]={'remove':_0x158bb8(0x161),'rename':_0x158bb8(0x15f),'pin':_0x158bb8(0x15a),'unpin':_0x158bb8(0x13c)};[_0x158bb8(0x12b)];[_0x158bb8(0x139)];[_0x158bb8(0x130)];constructor(_0x4c7157,_0x2e91eb){const _0x1e9676=_0x158bb8;super(_0x4c7157);const _0xaa3b05=this[_0x1e9676(0x14c)];this[_0x1e9676(0x122)](_0x1e9676(0x133),!0x1),this[_0x1e9676(0x122)](_0x1e9676(0x113),!0x0),this[_0x1e9676(0x122)](_0x1e9676(0x138),!!_0x2e91eb[_0x1e9676(0x138)]),this[_0x1e9676(0x122)](_0x1e9676(0x13e),null),this['id']=_0x2e91eb['id'];const {title:_0x4102a3,createdAt:_0x3fe370,active:_0x4118d3=!0x1}=_0x2e91eb;this[_0x1e9676(0x130)]=new _0x24405f(),this[_0x1e9676(0x130)][_0x1e9676(0x13d)]=_0x4102a3,this[_0x1e9676(0x130)][_0x1e9676(0x125)]({'attributes':{'class':[_0x1e9676(0x16e)]}});const _0x5913b5=this[_0x1e9676(0x152)](),_0x15deba=this[_0x1e9676(0x12e)](_0x4c7157),_0x2c0808=this[_0x1e9676(0x117)](),_0x732e69=this[_0x1e9676(0x11e)](_0x4c7157,_0x4102a3),_0x4e147f=this[_0x1e9676(0x13f)](_0x4c7157,_0x732e69),_0x59c437=this[_0x1e9676(0x163)](_0x4c7157,_0x732e69);this[_0x1e9676(0x12b)]=this[_0x1e9676(0x153)](),this[_0x1e9676(0x139)]=this[_0x1e9676(0x153)](),this[_0x1e9676(0x139)][_0x1e9676(0x164)](this[_0x1e9676(0x130)]),this[_0x1e9676(0x12b)][_0x1e9676(0x164)](_0x15deba),this[_0x1e9676(0x12b)][_0x1e9676(0x164)](_0x2c0808),this['on'](_0x1e9676(0x140),(_0x38c041,_0x19e81e,_0x3b1562)=>{const _0x26cc4c=_0x1e9676;this[_0x26cc4c(0x12b)][_0x26cc4c(0x12f)](),this[_0x26cc4c(0x139)][_0x26cc4c(0x12f)](),_0x3b1562?(this[_0x26cc4c(0x12b)][_0x26cc4c(0x164)](_0x4e147f),this[_0x26cc4c(0x12b)][_0x26cc4c(0x164)](_0x59c437),this[_0x26cc4c(0x139)][_0x26cc4c(0x164)](_0x732e69),_0x732e69[_0x26cc4c(0x15b)][_0x26cc4c(0x166)]()):(this[_0x26cc4c(0x12b)][_0x26cc4c(0x164)](_0x15deba),this[_0x26cc4c(0x12b)][_0x26cc4c(0x164)](_0x2c0808),this[_0x26cc4c(0x139)][_0x26cc4c(0x164)](this[_0x26cc4c(0x130)]));}),this[_0x1e9676(0x16a)]({'tag':'li','attributes':{'class':[_0x1e9676(0x141),_0x4118d3?_0x1e9676(0x169):'',_0xaa3b05['if'](_0x1e9676(0x113),_0x1e9676(0x11d),_0x21608f=>!_0x21608f),_0xaa3b05['if'](_0x1e9676(0x133),_0x1e9676(0x15e))],'role':_0x1e9676(0x123)},'children':[{'tag':_0x1e9676(0x154),'attributes':{'class':[_0x1e9676(0x151)]},'children':[{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x156),_0xaa3b05['if'](_0x1e9676(0x13e),_0x1e9676(0x11d),_0x1c9fbd=>!!_0x1c9fbd)]},'children':_0x4118d3?[_0x5913b5]:[]},{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x172),_0xaa3b05['if'](_0x1e9676(0x13e),_0x1e9676(0x11d),_0x16e689=>!_0x16e689)]},'children':[this[_0x1e9676(0x115)]()]}]},{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x118)]},'children':[{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x155)]},'on':{'click':this[_0x1e9676(0x14c)]['to'](_0x1e9676(0x144))},'children':[{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x15c)]},'children':[{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x16e),_0xaa3b05['if'](_0x1e9676(0x13e),_0x1e9676(0x11d),_0x108c6d=>!!_0x108c6d)]},'children':this[_0x1e9676(0x139)]},{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x15d),_0xaa3b05['if'](_0x1e9676(0x13e),_0x1e9676(0x11d),_0x3a24d9=>!_0x3a24d9)]},'children':[{'text':_0xaa3b05['to'](_0x1e9676(0x13e),_0x2229ce=>_0x2229ce?_0x46776e(this[_0x1e9676(0x131)],AIChatHistoryListItemView[_0x1e9676(0x119)][_0x2229ce]):'')}]}]},{'tag':_0x1e9676(0x154),'attributes':{'class':[_0x1e9676(0x120)]},'children':[_0x3fe370]}]},{'tag':_0x1e9676(0x11c),'attributes':{'class':[_0x1e9676(0x112)]},'children':this[_0x1e9676(0x12b)]}]}]}),this['on'](_0x1e9676(0x144),()=>{const _0x504634=_0x1e9676;this[_0x504634(0x133)]||this[_0x504634(0x14f)](_0x504634(0x160),{'id':this['id']});});}[_0x158bb8(0x137)](_0x2691c0){const _0x5cc3a9=_0x158bb8;this[_0x5cc3a9(0x130)][_0x5cc3a9(0x13d)]=_0x52d70d(_0x2691c0);}[_0x158bb8(0x146)](_0x29c3b6,_0x2be0ff){const _0x56eaed=_0x158bb8;this[_0x56eaed(0x122)](_0x56eaed(0x13e),_0x2be0ff?_0x29c3b6:null);}[_0x158bb8(0x152)](){const _0x197b35=_0x158bb8,_0x51036c=new _0x501852();return _0x51036c[_0x197b35(0x122)]({'content':_0x2e8f8e}),_0x51036c;}[_0x158bb8(0x12e)](_0x1f41bb){const _0x4af001=_0x158bb8,_0x9b3f24=new _0x208e23(_0x1f41bb);return _0x9b3f24[_0x4af001(0x122)]({'label':_0x46776e(_0x1f41bb,_0x4af001(0x14b)),'icon':_0x5f4df5,'withText':!0x1,'tooltip':!0x0}),_0x9b3f24[_0x4af001(0x167)](_0x4af001(0x171))['to'](this,_0x4af001(0x138)),_0x9b3f24['on'](_0x4af001(0x158),()=>{const _0x5473f9=_0x4af001,_0x20b143=!this[_0x5473f9(0x138)];this[_0x5473f9(0x14f)](_0x5473f9(0x12c),{'id':this['id'],'pinned':_0x20b143});}),_0x9b3f24;}[_0x158bb8(0x117)](){const _0x4c0272=_0x158bb8,_0x112491=_0x1a0779(this[_0x4c0272(0x131)],_0x377c7c),_0x1b3ed4=_0x112491[_0x4c0272(0x14e)][_0x4c0272(0x159)];_0x112491[_0x4c0272(0x127)][_0x4c0272(0x122)]({'label':_0x46776e(this[_0x4c0272(0x131)],_0x4c0272(0x124)),'icon':_0xa3ed46}),_0x112491[_0x4c0272(0x14a)]='sw';const _0x4b3ded=new _0x208e23(this[_0x4c0272(0x131)]);_0x4b3ded[_0x4c0272(0x132)]=_0x46776e(this[_0x4c0272(0x131)],_0x4c0272(0x135)),_0x4b3ded[_0x4c0272(0x16c)]=!0x0,_0x4b3ded['on'](_0x4c0272(0x158),()=>{const _0x5e8bd7=_0x4c0272;this[_0x5e8bd7(0x133)]=!0x0;});const _0x8abc64=new _0x208e23(this[_0x4c0272(0x131)]);_0x8abc64[_0x4c0272(0x132)]=_0x46776e(this[_0x4c0272(0x131)],_0x4c0272(0x168)),_0x8abc64[_0x4c0272(0x16c)]=!0x0,_0x8abc64['on'](_0x4c0272(0x158),()=>{const _0x407462=_0x4c0272;this[_0x407462(0x13a)](_0x46776e(this[_0x407462(0x131)],_0x407462(0x143)),this[_0x407462(0x15b)])[_0x407462(0x142)](()=>{const _0x23688b=_0x407462;this[_0x23688b(0x14f)](_0x23688b(0x148),{'id':this['id']});});});const _0xf801b8=new _0x3e7a48(this[_0x4c0272(0x131)]),_0x4d3c6a=new _0x1a1800(this[_0x4c0272(0x131)]);_0x4d3c6a[_0x4c0272(0x159)][_0x4c0272(0x164)](_0x4b3ded);const _0x4cb516=new _0x1a1800(this[_0x4c0272(0x131)]);return _0x4cb516[_0x4c0272(0x159)][_0x4c0272(0x164)](_0x8abc64),_0xf801b8[_0x4c0272(0x165)][_0x4c0272(0x126)]([_0x4d3c6a,_0x4cb516]),_0x1b3ed4[_0x4c0272(0x164)](_0xf801b8),_0x112491;}[_0x158bb8(0x11e)](_0x2e4c83,_0x12821e){const _0x4ba200=_0x158bb8,_0x444344=new _0x1b9a4c(_0x2e4c83),_0x3014df=_0x444344[_0x4ba200(0x14c)];return _0x444344[_0x4ba200(0x134)]=_0x12821e,_0x444344[_0x4ba200(0x125)]({'on':{'keydown':_0x3014df['to'](_0x1ac703=>{const _0x3ab2a1=_0x4ba200;_0x3ab2a1(0x116)==_0x1ac703[_0x3ab2a1(0x150)]&&this[_0x3ab2a1(0x11b)](_0x444344);})}}),_0x444344;}[_0x158bb8(0x13f)](_0x165831,_0x1885df){const _0x2d903c=_0x158bb8,_0x68ce23=new _0x208e23(_0x165831);return _0x68ce23[_0x2d903c(0x122)]({'icon':_0x2e8f8e,'withText':!0x1,'tooltip':_0x46776e(_0x165831,_0x2d903c(0x145))}),_0x68ce23[_0x2d903c(0x125)]({'attributes':{'class':[_0x2d903c(0x128)]}}),_0x68ce23['on'](_0x2d903c(0x158),()=>{const _0x4d285e=_0x2d903c;this[_0x4d285e(0x11b)](_0x1885df);}),_0x68ce23;}[_0x158bb8(0x11b)](_0x168c08){const _0x459a48=_0x158bb8,_0x5c9e70=_0x168c08[_0x459a48(0x15b)][_0x459a48(0x134)]||'';this[_0x459a48(0x130)][_0x459a48(0x13d)]=_0x5c9e70,this[_0x459a48(0x133)]=!0x1,this[_0x459a48(0x14f)](_0x459a48(0x16b),{'id':this['id'],'title':_0x5c9e70});}[_0x158bb8(0x163)](_0x1f4aba,_0x3a2916){const _0x1e4ab3=_0x158bb8,_0x1c0f1d=new _0x208e23(_0x1f4aba);return _0x1c0f1d[_0x1e4ab3(0x122)]({'icon':_0x23393c,'withText':!0x1,'tooltip':_0x46776e(_0x1f4aba,_0x1e4ab3(0x162))}),_0x1c0f1d[_0x1e4ab3(0x125)]({'attributes':{'class':[_0x1e4ab3(0x121)]}}),_0x1c0f1d['on'](_0x1e4ab3(0x158),()=>{const _0xd3cd14=_0x1e4ab3;this[_0xd3cd14(0x133)]=!0x1,_0x3a2916[_0xd3cd14(0x134)]=this[_0xd3cd14(0x130)][_0xd3cd14(0x13d)]||'',this[_0xd3cd14(0x14f)](_0xd3cd14(0x12a));}),_0x1c0f1d;}[_0x158bb8(0x115)](){const _0x33e7e4=_0x158bb8,_0x57f074=new _0x48fc87(_0x33e7e4(0x157));return _0x57f074[_0x33e7e4(0x113)]=!0x0,_0x57f074;}[_0x158bb8(0x149)](_0x2dac56){const _0x2a010b=_0x158bb8;return this[_0x2a010b(0x130)]&&_0x2a010b(0x170)==typeof this[_0x2a010b(0x130)][_0x2a010b(0x13d)]&&this[_0x2a010b(0x130)][_0x2a010b(0x13d)][_0x2a010b(0x147)](_0x2dac56)?{'title':!0x0}:null;}[_0x158bb8(0x16f)](_0x56bbef){const _0x1e6a6e=_0x158bb8;this[_0x1e6a6e(0x130)][_0x1e6a6e(0x16f)](_0x56bbef);}}
23
+ const _0x1ee751=_0x39c2;(function(_0x2efe26,_0x9a33e7){const _0x54e30d=_0x39c2,_0x2d67f2=_0x2efe26();while(!![]){try{const _0x346ef5=parseInt(_0x54e30d(0x13b))/0x1+-parseInt(_0x54e30d(0xf6))/0x2*(parseInt(_0x54e30d(0x121))/0x3)+-parseInt(_0x54e30d(0x13e))/0x4+-parseInt(_0x54e30d(0x110))/0x5+parseInt(_0x54e30d(0x111))/0x6*(-parseInt(_0x54e30d(0xf8))/0x7)+-parseInt(_0x54e30d(0x12b))/0x8*(parseInt(_0x54e30d(0x10d))/0x9)+parseInt(_0x54e30d(0x114))/0xa;if(_0x346ef5===_0x9a33e7)break;else _0x2d67f2['push'](_0x2d67f2['shift']());}catch(_0x430650){_0x2d67f2['push'](_0x2d67f2['shift']());}}}(_0x2413,0x27110));function _0x39c2(_0x352c13,_0xca47bd){const _0x241354=_0x2413();return _0x39c2=function(_0x39c2d5,_0x17085c){_0x39c2d5=_0x39c2d5-0xe1;let _0x8ba6d=_0x241354[_0x39c2d5];return _0x8ba6d;},_0x39c2(_0x352c13,_0xca47bd);}import{ListItemView as _0x249edb,HighlightedTextView as _0x2ecfc4,ButtonView as _0x1c8378,ListView as _0x596afd,IconView as _0x1a655f,createDropdown as _0x440d9c,InputTextView as _0x5082bb}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x26482b,IconPin as _0x468eef,IconCheck as _0x57e9bc,IconCancel as _0x5c5e8a}from'ckeditor5/src/icons.js';function _0x2413(){const _0x4721c3=['value','_createMenuDropdownView','211722hvsvcW','_createCancelEditButtonView','isMatching','1145880RiZoUl','clear','ck-ai-loader','extendTemplate','AI_CHAT_HISTORY_ACCEPT','setTemplate','tiny','_createSpinnerView','pinned','_commitEditInputValue','ck-ai-chat-history__item-content','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item-check-container','listitem','edit:cancel','isVisible','_createAcceptEditButtonView','set','add','removeConversation','actions','AI_CHAT_HISTORY_CANCEL','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-chat-history__item-row','showConfirm','13730upOHut','AI_CHAT_HISTORY_REMOVE_CONFIRM','35GLLoHP','updateTitle','addMany','_titleView','highlightText','createCollection','label','ck-ai-chat-history__item-main-content','setConversationPinned','ck-ai-chat-history__item-date','buttonView','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_LOADING_PINNING','focus','isEdit','isOn','locale','_createEditInputView','ck-confirm-view-cancel','_createPinButtonView','updateLoadingState','9kkOCwd','match','_createCheckView','1029125KbTxcY','289290VvMmuN','ck-ai-loader__text','string','9540020BklwWl','element','bindTemplate','loadingState','selectConversation','ck-hidden','fire','bind','execute','ck-ai-chat-history__item','change:isEdit','ck-ai-chat-history__item-actions','children','63MtZogn','text','Enter','then','span','AI_CHAT_HISTORY_EDIT_NAME','panelPosition','ck-ai-chat-history__item-check','click','mainContent','1025384ZGknGX','key','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','ck-ai-chat-history__item--edit','items','ck-ai-chat-history__item--active','div','LOADING_LABELS','panelView','ck-confirm-view-submit','editConversationTitle','ck-ai-chat-history__item-title','withText','AI_CHAT_HISTORY_REMOVE'];_0x2413=function(){return _0x4721c3;};return _0x2413();}import{LateFocusDropdownButtonView as _0x2e248c,ConfirmMixin as _0x39a86b}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x25c8e1}from'es-toolkit/compat';import{AISpinnerView as _0xaa6bb1}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x544254}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x39a86b(_0x249edb){['id'];static [_0x1ee751(0x132)]={'remove':_0x1ee751(0xe7),'rename':_0x1ee751(0xf3),'pin':_0x1ee751(0x104),'unpin':_0x1ee751(0x103)};[_0x1ee751(0xf1)];[_0x1ee751(0x12a)];[_0x1ee751(0xfb)];constructor(_0x105a89,_0x137ca1){const _0x3a60f6=_0x1ee751;super(_0x105a89);const _0x4e3170=this[_0x3a60f6(0x116)];this[_0x3a60f6(0xee)](_0x3a60f6(0x106),!0x1),this[_0x3a60f6(0xee)](_0x3a60f6(0xec),!0x0),this[_0x3a60f6(0xee)](_0x3a60f6(0xe4),!!_0x137ca1[_0x3a60f6(0xe4)]),this[_0x3a60f6(0xee)](_0x3a60f6(0x117),null),this['id']=_0x137ca1['id'];const {title:_0x549b0e,createdAt:_0x597a32,active:_0x443794=!0x1}=_0x137ca1;this[_0x3a60f6(0xfb)]=new _0x2ecfc4(),this[_0x3a60f6(0xfb)][_0x3a60f6(0x122)]=_0x549b0e,this[_0x3a60f6(0xfb)][_0x3a60f6(0x141)]({'attributes':{'class':[_0x3a60f6(0x136)]}});const _0x2fb941=this[_0x3a60f6(0x10f)](),_0x3b0f0d=this[_0x3a60f6(0x10b)](_0x105a89),_0x534ec5=this[_0x3a60f6(0x13a)](),_0xd2d4d9=this[_0x3a60f6(0x109)](_0x105a89,_0x549b0e),_0x30bde5=this[_0x3a60f6(0xed)](_0x105a89,_0xd2d4d9),_0x3d79ee=this[_0x3a60f6(0x13c)](_0x105a89,_0xd2d4d9);this[_0x3a60f6(0xf1)]=this[_0x3a60f6(0xfd)](),this[_0x3a60f6(0x12a)]=this[_0x3a60f6(0xfd)](),this[_0x3a60f6(0x12a)][_0x3a60f6(0xef)](this[_0x3a60f6(0xfb)]),this[_0x3a60f6(0xf1)][_0x3a60f6(0xef)](_0x3b0f0d),this[_0x3a60f6(0xf1)][_0x3a60f6(0xef)](_0x534ec5),this['on'](_0x3a60f6(0x11e),(_0x3468cb,_0x4b394f,_0x48b9f9)=>{const _0x3ac689=_0x3a60f6;this[_0x3ac689(0xf1)][_0x3ac689(0x13f)](),this[_0x3ac689(0x12a)][_0x3ac689(0x13f)](),_0x48b9f9?(this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x30bde5),this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x3d79ee),this[_0x3ac689(0x12a)][_0x3ac689(0xef)](_0xd2d4d9),_0xd2d4d9[_0x3ac689(0x115)][_0x3ac689(0x105)]()):(this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x3b0f0d),this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x534ec5),this[_0x3ac689(0x12a)][_0x3ac689(0xef)](this[_0x3ac689(0xfb)]));}),this[_0x3a60f6(0xe1)]({'tag':'li','attributes':{'class':[_0x3a60f6(0x11d),_0x443794?_0x3a60f6(0x130):'',_0x4e3170['if'](_0x3a60f6(0xec),_0x3a60f6(0x119),_0x4a9d0c=>!_0x4a9d0c),_0x4e3170['if'](_0x3a60f6(0x106),_0x3a60f6(0x12e))],'role':_0x3a60f6(0xea)},'children':[{'tag':_0x3a60f6(0x125),'attributes':{'class':[_0x3a60f6(0xe9)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x128),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x442057=>!!_0x442057)]},'children':_0x443794?[_0x2fb941]:[]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x140),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x2b2c61=>!_0x2b2c61)]},'children':[this[_0x3a60f6(0xe3)]()]}]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xf4)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xe6)]},'on':{'click':this[_0x3a60f6(0x116)]['to'](_0x3a60f6(0x129))},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xff)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x136),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x188af2=>!!_0x188af2)]},'children':this[_0x3a60f6(0x12a)]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x112),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x17925f=>!_0x17925f)]},'children':[{'text':_0x4e3170['to'](_0x3a60f6(0x117),_0x21fb19=>_0x21fb19?_0x544254(this[_0x3a60f6(0x108)],AIChatHistoryListItemView[_0x3a60f6(0x132)][_0x21fb19]):'')}]}]},{'tag':_0x3a60f6(0x125),'attributes':{'class':[_0x3a60f6(0x101)]},'children':[_0x597a32]}]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x11f)]},'children':this[_0x3a60f6(0xf1)]}]}]}),this['on'](_0x3a60f6(0x129),()=>{const _0x2145ee=_0x3a60f6;this[_0x2145ee(0x106)]||this[_0x2145ee(0x11a)](_0x2145ee(0x118),{'id':this['id']});});}[_0x1ee751(0xf9)](_0x363d99){const _0x36c696=_0x1ee751;this[_0x36c696(0xfb)][_0x36c696(0x122)]=_0x25c8e1(_0x363d99);}[_0x1ee751(0x10c)](_0x3491bd,_0x2e8e1b){const _0x15cb74=_0x1ee751;this[_0x15cb74(0xee)](_0x15cb74(0x117),_0x2e8e1b?_0x3491bd:null);}[_0x1ee751(0x10f)](){const _0x37a5e1=_0x1ee751,_0x9f1a6f=new _0x1a655f();return _0x9f1a6f[_0x37a5e1(0xee)]({'content':_0x57e9bc}),_0x9f1a6f;}[_0x1ee751(0x10b)](_0x9e5f6f){const _0x4bd316=_0x1ee751,_0x21032a=new _0x1c8378(_0x9e5f6f);return _0x21032a[_0x4bd316(0xee)]({'label':_0x544254(_0x9e5f6f,_0x4bd316(0xe8)),'icon':_0x468eef,'withText':!0x1,'tooltip':!0x0}),_0x21032a[_0x4bd316(0x11b)](_0x4bd316(0x107))['to'](this,_0x4bd316(0xe4)),_0x21032a['on'](_0x4bd316(0x11c),()=>{const _0x28cf68=_0x4bd316,_0x125120=!this[_0x28cf68(0xe4)];this[_0x28cf68(0x11a)](_0x28cf68(0x100),{'id':this['id'],'pinned':_0x125120});}),_0x21032a;}[_0x1ee751(0x13a)](){const _0x4359d3=_0x1ee751,_0x1a1728=_0x440d9c(this[_0x4359d3(0x108)],_0x2e248c),_0x269a85=_0x1a1728[_0x4359d3(0x133)][_0x4359d3(0x120)];_0x1a1728[_0x4359d3(0x102)][_0x4359d3(0xee)]({'label':_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x12d)),'icon':_0x26482b}),_0x1a1728[_0x4359d3(0x127)]='sw';const _0x58dadb=new _0x1c8378(this[_0x4359d3(0x108)]);_0x58dadb[_0x4359d3(0xfe)]=_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x126)),_0x58dadb[_0x4359d3(0x137)]=!0x0,_0x58dadb['on'](_0x4359d3(0x11c),()=>{const _0x1db1f4=_0x4359d3;this[_0x1db1f4(0x106)]=!0x0;});const _0x5134ad=new _0x1c8378(this[_0x4359d3(0x108)]);_0x5134ad[_0x4359d3(0xfe)]=_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x138)),_0x5134ad[_0x4359d3(0x137)]=!0x0,_0x5134ad['on'](_0x4359d3(0x11c),()=>{const _0x1b335f=_0x4359d3;this[_0x1b335f(0xf5)](_0x544254(this[_0x1b335f(0x108)],_0x1b335f(0xf7)),this[_0x1b335f(0x115)])[_0x1b335f(0x124)](()=>{const _0x5ae3ec=_0x1b335f;this[_0x5ae3ec(0x11a)](_0x5ae3ec(0xf0),{'id':this['id']});});});const _0x443572=new _0x596afd(this[_0x4359d3(0x108)]),_0x18285f=new _0x249edb(this[_0x4359d3(0x108)]);_0x18285f[_0x4359d3(0x120)][_0x4359d3(0xef)](_0x58dadb);const _0xe40128=new _0x249edb(this[_0x4359d3(0x108)]);return _0xe40128[_0x4359d3(0x120)][_0x4359d3(0xef)](_0x5134ad),_0x443572[_0x4359d3(0x12f)][_0x4359d3(0xfa)]([_0x18285f,_0xe40128]),_0x269a85[_0x4359d3(0xef)](_0x443572),_0x1a1728;}[_0x1ee751(0x109)](_0x3993f9,_0x2f91b5){const _0x5e616f=_0x1ee751,_0x5a8255=new _0x5082bb(_0x3993f9),_0x34f281=_0x5a8255[_0x5e616f(0x116)];return _0x5a8255[_0x5e616f(0x139)]=_0x2f91b5,_0x5a8255[_0x5e616f(0x141)]({'on':{'keydown':_0x34f281['to'](_0x371822=>{const _0x3608bc=_0x5e616f;_0x3608bc(0x123)==_0x371822[_0x3608bc(0x12c)]&&this[_0x3608bc(0xe5)](_0x5a8255);})}}),_0x5a8255;}[_0x1ee751(0xed)](_0x329912,_0x2463f9){const _0x480eb4=_0x1ee751,_0x23b5cd=new _0x1c8378(_0x329912);return _0x23b5cd[_0x480eb4(0xee)]({'icon':_0x57e9bc,'withText':!0x1,'tooltip':_0x544254(_0x329912,_0x480eb4(0x142))}),_0x23b5cd[_0x480eb4(0x141)]({'attributes':{'class':[_0x480eb4(0x134)]}}),_0x23b5cd['on'](_0x480eb4(0x11c),()=>{const _0x59d4f3=_0x480eb4;this[_0x59d4f3(0xe5)](_0x2463f9);}),_0x23b5cd;}[_0x1ee751(0xe5)](_0x14430c){const _0x174d3c=_0x1ee751,_0x44a279=_0x14430c[_0x174d3c(0x115)][_0x174d3c(0x139)]||'';this[_0x174d3c(0xfb)][_0x174d3c(0x122)]=_0x44a279,this[_0x174d3c(0x106)]=!0x1,this[_0x174d3c(0x11a)](_0x174d3c(0x135),{'id':this['id'],'title':_0x44a279});}[_0x1ee751(0x13c)](_0x43c594,_0x3e0295){const _0xae3a60=_0x1ee751,_0xcf3a01=new _0x1c8378(_0x43c594);return _0xcf3a01[_0xae3a60(0xee)]({'icon':_0x5c5e8a,'withText':!0x1,'tooltip':_0x544254(_0x43c594,_0xae3a60(0xf2))}),_0xcf3a01[_0xae3a60(0x141)]({'attributes':{'class':[_0xae3a60(0x10a)]}}),_0xcf3a01['on'](_0xae3a60(0x11c),()=>{const _0x3305eb=_0xae3a60;this[_0x3305eb(0x106)]=!0x1,_0x3e0295[_0x3305eb(0x139)]=this[_0x3305eb(0xfb)][_0x3305eb(0x122)]||'',this[_0x3305eb(0x11a)](_0x3305eb(0xeb));}),_0xcf3a01;}[_0x1ee751(0xe3)](){const _0x38c11f=_0x1ee751,_0x4d2ddd=new _0xaa6bb1(_0x38c11f(0xe2));return _0x4d2ddd[_0x38c11f(0xec)]=!0x0,_0x4d2ddd;}[_0x1ee751(0x13d)](_0x5882ea){const _0xb54bbb=_0x1ee751;return this[_0xb54bbb(0xfb)]&&_0xb54bbb(0x113)==typeof this[_0xb54bbb(0xfb)][_0xb54bbb(0x122)]&&this[_0xb54bbb(0xfb)][_0xb54bbb(0x122)][_0xb54bbb(0x10e)](_0x5882ea)?{'title':!0x0}:null;}[_0x1ee751(0xfc)](_0xf05e2c){const _0x5b84b3=_0x1ee751;this[_0x5b84b3(0xfb)][_0x5b84b3(0xfc)](_0xf05e2c);}}