@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) 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/aichathistory/aichathistory.js +1 -1
  63. package/src/aichathistory/aichathistorycontroller.js +1 -1
  64. package/src/aichathistory/aichathistoryui.js +1 -1
  65. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  66. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  67. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  68. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  69. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  71. package/src/aicore/aiconnector.js +1 -1
  72. package/src/aicore/aiediting.js +1 -1
  73. package/src/aicore/model/aicapabilities.js +1 -1
  74. package/src/aicore/model/aiinteraction.js +1 -1
  75. package/src/aicore/model/aimodels.js +1 -1
  76. package/src/aicore/model/aireply.js +1 -1
  77. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  78. package/src/aicore/pipeline/airesponseparser.js +2 -2
  79. package/src/aicore/ui/aidisclaimerview.js +1 -1
  80. package/src/aicore/ui/aiskeleton.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/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/aireviewchecklist.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  112. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  122. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  123. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  124. package/src/aitabs/aitabs.js +1 -1
  125. package/src/aitabs/tabs/aitabsview.js +1 -1
  126. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  127. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cba14=_0x9d8a;(function(_0x108a48,_0x33e4cc){const _0x22563c=_0x9d8a,_0x5be2ba=_0x108a48();while(!![]){try{const _0x45ae83=parseInt(_0x22563c(0x169))/0x1+parseInt(_0x22563c(0x15f))/0x2*(-parseInt(_0x22563c(0x15e))/0x3)+parseInt(_0x22563c(0x173))/0x4+-parseInt(_0x22563c(0x1a5))/0x5*(parseInt(_0x22563c(0x161))/0x6)+parseInt(_0x22563c(0x17b))/0x7*(parseInt(_0x22563c(0x177))/0x8)+-parseInt(_0x22563c(0x187))/0x9*(-parseInt(_0x22563c(0x198))/0xa)+-parseInt(_0x22563c(0x18e))/0xb;if(_0x45ae83===_0x33e4cc)break;else _0x5be2ba['push'](_0x5be2ba['shift']());}catch(_0x305ce8){_0x5be2ba['push'](_0x5be2ba['shift']());}}}(_0x5ec9,0xee75e));import{KeystrokeHandler as _0x3f1eeb}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x44ab73,BodyCollection as _0x4124df,ButtonView as _0x498832,clickOutsideHandler as _0x1ee7b0,ListItemButtonView as _0x48730f,ListItemView as _0x23a9fb,ListView as _0x3194d3,SplitButtonView as _0x2c97d5,UIModel as _0x573059,View as _0x42a2bd}from'ckeditor5/src/ui.js';import{IconCheck as _0x3400d5,IconAddComment as _0x1786b0,IconDocumentWithLoupe as _0x821131}from'ckeditor5/src/icons.js';import{getTranslation as _0x4fb31a}from'../../../aicore/utils/common-translations.js';function _0x9d8a(_0x4b4667,_0x400ed4){const _0x5ec9ce=_0x5ec9();return _0x9d8a=function(_0x9d8a32,_0x11529a){_0x9d8a32=_0x9d8a32-0x14f;let _0x3df25e=_0x5ec9ce[_0x9d8a32];return _0x3df25e;},_0x9d8a(_0x4b4667,_0x400ed4);}export const AI_REPLY_ACTIONS=[_0x4cba14(0x195),_0x4cba14(0x151),_0x4cba14(0x191)];export class AIChatFeedSuggestionItemActionsView extends _0x42a2bd{[_0x4cba14(0x167)];[_0x4cba14(0x15d)];[_0x4cba14(0x1a1)];[_0x4cba14(0x159)];[_0x4cba14(0x162)];[_0x4cba14(0x186)]=0x1;[_0x4cba14(0x193)];[_0x4cba14(0x18b)];[_0x4cba14(0x172)]=!0x0;constructor(_0x31411a,_0xcb9c36){const _0x397f2e=_0x4cba14;super(_0x31411a),this[_0x397f2e(0x193)]=_0xcb9c36||[...AI_REPLY_ACTIONS],this[_0x397f2e(0x18b)]=[...this[_0x397f2e(0x193)]];const _0x13fa72=this[_0x397f2e(0x163)];this[_0x397f2e(0x17f)](_0x397f2e(0x152),!0x0),this[_0x397f2e(0x17f)](_0x397f2e(0x1a4),!0x0),this[_0x397f2e(0x17f)](_0x397f2e(0x17a),!0x1),this[_0x397f2e(0x1a1)]=new _0x573059({'label':Hn(_0x397f2e(0x195),_0x31411a,this[_0x397f2e(0x186)]),'icon':_0x3400d5,'withText':!0x0,'type':_0x397f2e(0x182),'actionName':_0x397f2e(0x195)}),this[_0x397f2e(0x159)]=new _0x573059({'label':Hn(_0x397f2e(0x191),_0x31411a,this[_0x397f2e(0x186)]),'icon':_0x821131,'withText':!0x0,'type':_0x397f2e(0x182),'actionName':_0x397f2e(0x191)}),this[_0x397f2e(0x162)]=new _0x573059({'label':Hn(_0x397f2e(0x151),_0x31411a,this[_0x397f2e(0x186)]),'icon':_0x1786b0,'withText':!0x0,'type':_0x397f2e(0x182),'actionName':_0x397f2e(0x151)}),this[_0x397f2e(0x167)]=this[_0x397f2e(0x16d)](_0x31411a),this[_0x397f2e(0x15d)]=this[_0x397f2e(0x16c)](),this[_0x397f2e(0x167)]&&this[_0x397f2e(0x15d)][_0x397f2e(0x16e)](this[_0x397f2e(0x167)]),this[_0x397f2e(0x14f)]({'tag':_0x397f2e(0x153),'attributes':{'class':['ck',_0x397f2e(0x1a7),_0x13fa72['if'](_0x397f2e(0x1a4),_0x397f2e(0x194),_0x3e8fd5=>!_0x3e8fd5)]},'children':this[_0x397f2e(0x15d)]}),this['on'](_0x397f2e(0x189),()=>{const _0xa1282c=_0x397f2e;this[_0xa1282c(0x18b)]=this[_0xa1282c(0x17a)]?this[_0xa1282c(0x193)][_0xa1282c(0x168)](_0x13c3fd=>_0xa1282c(0x195)!==_0x13c3fd):[...this[_0xa1282c(0x193)]],this[_0xa1282c(0x1ae)](_0x31411a);});}[_0x4cba14(0x1ae)](_0x26dbee){const _0x3a3d5c=_0x4cba14;this[_0x3a3d5c(0x167)]&&this[_0x3a3d5c(0x15d)][_0x3a3d5c(0x166)](this[_0x3a3d5c(0x167)])&&(this[_0x3a3d5c(0x15d)][_0x3a3d5c(0x185)](this[_0x3a3d5c(0x167)]),this[_0x3a3d5c(0x167)][_0x3a3d5c(0x199)]()),this[_0x3a3d5c(0x167)]=this[_0x3a3d5c(0x16d)](_0x26dbee),this[_0x3a3d5c(0x167)]&&this[_0x3a3d5c(0x15d)][_0x3a3d5c(0x16e)](this[_0x3a3d5c(0x167)]);}[_0x4cba14(0x16d)](_0x44b4fa){const _0x167ba4=_0x4cba14;if(0x0==this[_0x167ba4(0x18b)][_0x167ba4(0x1a8)])return null;const _0x66c48b=0x1===this[_0x167ba4(0x18b)][_0x167ba4(0x1a8)]?this[_0x167ba4(0x183)](_0x44b4fa):this[_0x167ba4(0x184)](_0x44b4fa),_0x13fd69=this[_0x167ba4(0x172)]?'':_0x167ba4(0x18d);_0x66c48b[_0x167ba4(0x17f)]({'label':Hn(this[_0x167ba4(0x18b)][0x0],_0x44b4fa,this[_0x167ba4(0x186)]),'tooltip':Ln(this[_0x167ba4(0x18b)][0x0],_0x44b4fa,this[_0x167ba4(0x186)]),'withText':!0x0,'class':_0x167ba4(0x180)+_0x13fd69});for(const _0x556d70 of this[_0x167ba4(0x18b)])_0x66c48b['on'](_0x556d70,()=>{const _0x2e3020=_0x167ba4;this[_0x2e3020(0x1ac)](_0x556d70);});return this[_0x167ba4(0x172)]=!0x1,_0x66c48b;}[_0x4cba14(0x183)](_0x49f81a){const _0x3f2811=_0x4cba14,_0x541a8d=new _0x498832(_0x49f81a);return _0x541a8d[_0x3f2811(0x17f)]({'class':_0x3f2811(0x17d),'withText':!0x0}),_0x541a8d['on'](_0x3f2811(0x157),()=>{const _0xe5a99=_0x3f2811;_0x541a8d[_0xe5a99(0x1ac)](this[_0xe5a99(0x18b)][0x0]);}),_0x541a8d;}[_0x4cba14(0x184)](_0x28acb3){const _0x518c2c=_0x4cba14,_0x4cd450=new Gn(_0x28acb3,{'listItemModels':this[_0x518c2c(0x18b)][_0x518c2c(0x188)](_0x5a7b9e=>{const _0x30b449=_0x518c2c;switch(_0x5a7b9e){case _0x30b449(0x195):return this[_0x30b449(0x1a1)];case _0x30b449(0x191):return this[_0x30b449(0x159)];case _0x30b449(0x151):return this[_0x30b449(0x162)];}})});return _0x4cd450[_0x518c2c(0x17f)]({'label':Hn(this[_0x518c2c(0x18b)][0x0],_0x28acb3,this[_0x518c2c(0x186)]),'tooltip':Ln(this[_0x518c2c(0x18b)][0x0],_0x28acb3,this[_0x518c2c(0x186)]),'withText':!0x0,'class':_0x518c2c(0x1a7),'balloonPanelClass':_0x518c2c(0x175)}),_0x4cd450[_0x518c2c(0x171)](_0x518c2c(0x152))['to'](this),_0x4cd450;}[_0x4cba14(0x1a2)](_0x1c5f32){const _0x560fce=_0x4cba14,_0x4f0b4c=this[_0x560fce(0x18f)];this[_0x560fce(0x186)]=_0x1c5f32||this[_0x560fce(0x186)],this[_0x560fce(0x167)][_0x560fce(0x17f)]({'label':Hn(this[_0x560fce(0x18b)][0x0],_0x4f0b4c,this[_0x560fce(0x186)]),'tooltip':Ln(this[_0x560fce(0x18b)][0x0],_0x4f0b4c,this[_0x560fce(0x186)])}),this[_0x560fce(0x1a1)][_0x560fce(0x160)]=Hn(_0x560fce(0x195),_0x4f0b4c,this[_0x560fce(0x186)]),this[_0x560fce(0x159)][_0x560fce(0x160)]=Hn(_0x560fce(0x191),_0x4f0b4c,this[_0x560fce(0x186)]),this[_0x560fce(0x162)][_0x560fce(0x160)]=Hn(_0x560fce(0x151),_0x4f0b4c,this[_0x560fce(0x186)]);}}class Gn extends _0x2c97d5{[_0x4cba14(0x17c)];[_0x4cba14(0x196)];[_0x4cba14(0x16a)];[_0x4cba14(0x19f)];constructor(_0xd63d86,_0x4b1ff8){const _0x345dbd=_0x4cba14;super(_0xd63d86),this[_0x345dbd(0x196)]=new _0x44ab73(this[_0x345dbd(0x18f)]),this[_0x345dbd(0x17c)]=new _0x4124df(this[_0x345dbd(0x18f)]),this[_0x345dbd(0x17c)][_0x345dbd(0x174)](),this[_0x345dbd(0x17f)](_0x345dbd(0x1aa),''),this[_0x345dbd(0x196)][_0x345dbd(0x171)](_0x345dbd(0x1af))['to'](this,_0x345dbd(0x1aa)),this[_0x345dbd(0x16a)]=this[_0x345dbd(0x164)](_0x4b1ff8[_0x345dbd(0x1a3)][_0x345dbd(0x18a)](0x1)),this[_0x345dbd(0x17c)][_0x345dbd(0x16e)](this[_0x345dbd(0x196)]),this[_0x345dbd(0x196)][_0x345dbd(0x176)][_0x345dbd(0x16e)](this[_0x345dbd(0x16a)]),this[_0x345dbd(0x165)][_0x345dbd(0x170)](_0x345dbd(0x1ad)),this[_0x345dbd(0x165)][_0x345dbd(0x17f)](_0x345dbd(0x1ad),_0x4fb31a(this[_0x345dbd(0x18f)],_0x345dbd(0x19d))),this[_0x345dbd(0x190)](),this['on'](_0x345dbd(0x157),()=>{const _0x335b26=_0x345dbd,_0x4964d2=_0x4b1ff8[_0x335b26(0x1a3)][0x0][_0x335b26(0x19c)];this[_0x335b26(0x1ac)](_0x4964d2),this[_0x335b26(0x196)][_0x335b26(0x179)](),this[_0x335b26(0x165)][_0x335b26(0x1a0)]();}),this['on'](_0x345dbd(0x15b),()=>{const _0x25d13c=_0x345dbd;this[_0x25d13c(0x196)][_0x25d13c(0x1a4)]?(this[_0x25d13c(0x196)][_0x25d13c(0x179)](),this[_0x25d13c(0x165)][_0x25d13c(0x1a0)]()):(this[_0x25d13c(0x196)][_0x25d13c(0x19e)]({'target':this[_0x25d13c(0x178)],'positions':[_0x25d13c(0x1ab)===this[_0x25d13c(0x18f)][_0x25d13c(0x16b)]?yn:Pn]}),this[_0x25d13c(0x16a)][_0x25d13c(0x1a0)]());}),_0x1ee7b0({'emitter':this[_0x345dbd(0x196)],'callback':()=>{const _0x271a9e=_0x345dbd;this[_0x271a9e(0x196)][_0x271a9e(0x179)]();},'activator':()=>this[_0x345dbd(0x196)][_0x345dbd(0x1a4)],'contextElements':()=>[this[_0x345dbd(0x178)],this[_0x345dbd(0x196)][_0x345dbd(0x178)]]});}[_0x4cba14(0x164)](_0x18f01f){const _0x707161=_0x4cba14,_0x4b6665=this[_0x707161(0x18f)],_0x5efd9e=new _0x3194d3(_0x4b6665);for(const _0x16c5bb of _0x18f01f){const _0x40c62a=new _0x23a9fb(_0x4b6665),_0x2db613=new _0x48730f(_0x4b6665);_0x2db613[_0x707161(0x171)](...Object[_0x707161(0x15c)](_0x16c5bb))['to'](_0x16c5bb),_0x2db613[_0x707161(0x155)](_0x707161(0x157))['to'](_0x5efd9e),_0x40c62a[_0x707161(0x15d)][_0x707161(0x16e)](_0x2db613),_0x5efd9e[_0x707161(0x1a9)][_0x707161(0x16e)](_0x40c62a);}return _0x5efd9e[_0x707161(0x1a9)][_0x707161(0x155)](_0x707161(0x157))['to'](this),_0x5efd9e['on'](_0x707161(0x157),_0xcd362c=>{const _0x7b3d42=_0x707161,_0x474058=_0xcd362c[_0x7b3d42(0x19a)];this[_0x7b3d42(0x1ac)](_0x474058[_0x7b3d42(0x19c)]),this[_0x7b3d42(0x196)][_0x7b3d42(0x179)](),this[_0x7b3d42(0x165)][_0x7b3d42(0x1a0)]();}),_0x5efd9e;}[_0x4cba14(0x190)](){const _0x5f37cc=_0x4cba14;this[_0x5f37cc(0x19f)]=new _0x3f1eeb(),this[_0x5f37cc(0x19f)][_0x5f37cc(0x19b)](this[_0x5f37cc(0x196)][_0x5f37cc(0x178)]),this[_0x5f37cc(0x19f)][_0x5f37cc(0x17f)](_0x5f37cc(0x1a6),(_0x348bc1,_0x3889ea)=>{const _0x1f36f7=_0x5f37cc;this[_0x1f36f7(0x196)][_0x1f36f7(0x179)](),this[_0x1f36f7(0x165)][_0x1f36f7(0x1a0)](),_0x3889ea();});}[_0x4cba14(0x199)](){const _0x898e9a=_0x4cba14;super[_0x898e9a(0x199)](),this[_0x898e9a(0x19f)][_0x898e9a(0x199)](),this[_0x898e9a(0x196)][_0x898e9a(0x199)](),this[_0x898e9a(0x17c)][_0x898e9a(0x150)]();}}function yn(_0x52a27e){const _0x2bd19a=_0x4cba14;return{'top':_0x52a27e[_0x2bd19a(0x192)],'left':_0x52a27e[_0x2bd19a(0x16f)],'name':_0x2bd19a(0x17e),'config':{'withArrow':!0x1}};}function _0x5ec9(){const _0x3e7dc9=['arrowless','set','ck-ai-chat__feed__ai-suggestion__actions\x20','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','button','_createActionsButton','_createActionsDropdown','remove','_partsCount','9GXAWBg','map','change:isTrackChangesOn','slice','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions--no-animation','21589337FhwFis','locale','_setUpKeystrokes','showChangeInText','bottom','_dropdownOriginalConfig','ck-hidden','applySuggestion','balloonPanelView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','7266290RwkCgM','destroy','source','listenTo','actionName','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','pin','keystrokeHandler','focus','applySuggestionModel','updateLabels','listItemModels','isVisible','15330QXmWgp','esc','ck-ai-chat__feed__ai-suggestion__actions','length','items','balloonPanelClass','ltr','fire','tooltip','_updateDropdownActions','class','setTemplate','detachFromDom','insertSuggestion','isEnabled','div','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','delegate','width','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','showChangeInTextModel','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','open','keys','children','3LMXOXo','2393738WIqgOA','label','366JidYtD','insertSuggestionModel','bindTemplate','_setUpList','arrowView','has','actionsButton','filter','1235351bZHmZv','listView','uiLanguageDirection','createCollection','_createActionsDropdownOrButton','add','left','unbind','bind','_firstRender','2564808KSwAIV','attachToDom','ck-ai-chat__feed__ai-suggestion__actions__balloon','content','335632ajNtyy','element','hide','isTrackChangesOn','287pEHmsp','bodyCollection','ck-ai-button-primary'];_0x5ec9=function(){return _0x3e7dc9;};return _0x5ec9();}function Pn(_0x392d00,_0x1b3398){const _0x26dd95=_0x4cba14;return{'top':_0x392d00[_0x26dd95(0x192)],'left':_0x392d00[_0x26dd95(0x16f)]-(_0x1b3398[_0x26dd95(0x156)]-_0x392d00[_0x26dd95(0x156)]),'name':_0x26dd95(0x17e),'config':{'withArrow':!0x1}};}function Hn(_0x2f2116,_0x5729c5,_0xe48d96){const _0x1db75d=_0x4cba14;switch(_0x2f2116){case _0x1db75d(0x195):return _0x4fb31a(_0x5729c5,_0x1db75d(0x158),_0xe48d96);case _0x1db75d(0x191):return _0x4fb31a(_0x5729c5,_0x1db75d(0x15a),_0xe48d96);case _0x1db75d(0x151):return _0x4fb31a(_0x5729c5,_0x1db75d(0x197),_0xe48d96);}}function Ln(_0x12ed00,_0x3469d4,_0x25d95c){const _0x481b00=_0x4cba14;switch(_0x12ed00){case _0x481b00(0x195):return _0x4fb31a(_0x3469d4,_0x481b00(0x154),_0x25d95c);case _0x481b00(0x191):return _0x4fb31a(_0x3469d4,_0x481b00(0x18c),_0x25d95c);case _0x481b00(0x151):return _0x4fb31a(_0x3469d4,_0x481b00(0x181),_0x25d95c);}}
23
+ const _0x55aaf2=_0x13a4;(function(_0x44cdb1,_0x32cb3f){const _0x695adf=_0x13a4,_0x58b685=_0x44cdb1();while(!![]){try{const _0x282141=-parseInt(_0x695adf(0x1b5))/0x1+parseInt(_0x695adf(0x1ce))/0x2*(-parseInt(_0x695adf(0x1a0))/0x3)+parseInt(_0x695adf(0x1ad))/0x4+-parseInt(_0x695adf(0x188))/0x5*(-parseInt(_0x695adf(0x1d8))/0x6)+-parseInt(_0x695adf(0x1c0))/0x7*(-parseInt(_0x695adf(0x1bf))/0x8)+-parseInt(_0x695adf(0x1dc))/0x9+parseInt(_0x695adf(0x1d9))/0xa;if(_0x282141===_0x32cb3f)break;else _0x58b685['push'](_0x58b685['shift']());}catch(_0x15f59b){_0x58b685['push'](_0x58b685['shift']());}}}(_0x4b55,0xe994d));import{KeystrokeHandler as _0x40515f}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x43c198,BodyCollection as _0x254715,ButtonView as _0x1e0813,clickOutsideHandler as _0x2a1772,ListItemButtonView as _0x56a50b,ListItemView as _0x52d716,ListView as _0xd0cc2f,SplitButtonView as _0x419569,UIModel as _0x52fb30,View as _0x2712de}from'ckeditor5/src/ui.js';function _0x13a4(_0x3680c1,_0x431c28){const _0x4b5501=_0x4b55();return _0x13a4=function(_0x13a4e8,_0x4f2d8f){_0x13a4e8=_0x13a4e8-0x17f;let _0x29188f=_0x4b5501[_0x13a4e8];return _0x29188f;},_0x13a4(_0x3680c1,_0x431c28);}import{IconCheck as _0x25713f,IconAddComment as _0x4c6228,IconDocumentWithLoupe as _0x3ca25e}from'ckeditor5/src/icons.js';import{getTranslation as _0x8563d5}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x55aaf2(0x19e),_0x55aaf2(0x1a3),_0x55aaf2(0x19d)];export class AIChatFeedSuggestionItemActionsView extends _0x2712de{[_0x55aaf2(0x1ac)];[_0x55aaf2(0x1a4)];[_0x55aaf2(0x181)];[_0x55aaf2(0x1b1)];[_0x55aaf2(0x1d1)];[_0x55aaf2(0x1b6)]=0x1;[_0x55aaf2(0x1c7)];[_0x55aaf2(0x197)];[_0x55aaf2(0x1c5)]=!0x0;constructor(_0x39a270,_0xc32c82){const _0x56df3c=_0x55aaf2;super(_0x39a270),this[_0x56df3c(0x1c7)]=_0xc32c82||[...AI_REPLY_ACTIONS],this[_0x56df3c(0x197)]=[...this[_0x56df3c(0x1c7)]];const _0x11f87f=this[_0x56df3c(0x1c3)];this[_0x56df3c(0x1be)](_0x56df3c(0x1d6),!0x0),this[_0x56df3c(0x1be)](_0x56df3c(0x180),!0x0),this[_0x56df3c(0x1be)](_0x56df3c(0x1cb),!0x1),this[_0x56df3c(0x181)]=new _0x52fb30({'label':Sn(_0x56df3c(0x19e),_0x39a270,this[_0x56df3c(0x1b6)]),'icon':_0x25713f,'withText':!0x0,'type':_0x56df3c(0x1c2),'actionName':_0x56df3c(0x19e)}),this[_0x56df3c(0x1b1)]=new _0x52fb30({'label':Sn(_0x56df3c(0x19d),_0x39a270,this[_0x56df3c(0x1b6)]),'icon':_0x3ca25e,'withText':!0x0,'type':_0x56df3c(0x1c2),'actionName':_0x56df3c(0x19d)}),this[_0x56df3c(0x1d1)]=new _0x52fb30({'label':Sn(_0x56df3c(0x1a3),_0x39a270,this[_0x56df3c(0x1b6)]),'icon':_0x4c6228,'withText':!0x0,'type':_0x56df3c(0x1c2),'actionName':_0x56df3c(0x1a3)}),this[_0x56df3c(0x1ac)]=this[_0x56df3c(0x1bb)](_0x39a270),this[_0x56df3c(0x1a4)]=this[_0x56df3c(0x186)](),this[_0x56df3c(0x1ac)]&&this[_0x56df3c(0x1a4)][_0x56df3c(0x1b3)](this[_0x56df3c(0x1ac)]),this[_0x56df3c(0x18a)]({'tag':_0x56df3c(0x184),'attributes':{'class':['ck',_0x56df3c(0x1ab),_0x11f87f['if'](_0x56df3c(0x180),_0x56df3c(0x1c8),_0x1e146f=>!_0x1e146f)]},'children':this[_0x56df3c(0x1a4)]}),this['on'](_0x56df3c(0x1aa),()=>{const _0x9a6f0=_0x56df3c;this[_0x9a6f0(0x197)]=this[_0x9a6f0(0x1cb)]?this[_0x9a6f0(0x1c7)][_0x9a6f0(0x1c6)](_0x3967a8=>_0x9a6f0(0x19e)!==_0x3967a8):[...this[_0x9a6f0(0x1c7)]],this[_0x9a6f0(0x1b4)](_0x39a270);});}[_0x55aaf2(0x1b4)](_0x34e803){const _0x1dfed6=_0x55aaf2;this[_0x1dfed6(0x1ac)]&&this[_0x1dfed6(0x1a4)][_0x1dfed6(0x1a8)](this[_0x1dfed6(0x1ac)])&&(this[_0x1dfed6(0x1a4)][_0x1dfed6(0x1d4)](this[_0x1dfed6(0x1ac)]),this[_0x1dfed6(0x1ac)][_0x1dfed6(0x1b8)]()),this[_0x1dfed6(0x1ac)]=this[_0x1dfed6(0x1bb)](_0x34e803),this[_0x1dfed6(0x1ac)]&&this[_0x1dfed6(0x1a4)][_0x1dfed6(0x1b3)](this[_0x1dfed6(0x1ac)]);}[_0x55aaf2(0x1bb)](_0x42dcc0){const _0x24f1c9=_0x55aaf2;if(0x0==this[_0x24f1c9(0x197)][_0x24f1c9(0x19a)])return null;const _0x43d1aa=0x1===this[_0x24f1c9(0x197)][_0x24f1c9(0x19a)]?this[_0x24f1c9(0x191)](_0x42dcc0):this[_0x24f1c9(0x17f)](_0x42dcc0),_0x4f238a=this[_0x24f1c9(0x1c5)]?'':_0x24f1c9(0x1b9);_0x43d1aa[_0x24f1c9(0x1be)]({'label':Sn(this[_0x24f1c9(0x197)][0x0],_0x42dcc0,this[_0x24f1c9(0x1b6)]),'tooltip':wn(this[_0x24f1c9(0x197)][0x0],_0x42dcc0,this[_0x24f1c9(0x1b6)]),'withText':!0x0,'class':_0x24f1c9(0x18d)+_0x4f238a});for(const _0x2c825a of this[_0x24f1c9(0x197)])_0x43d1aa['on'](_0x2c825a,()=>{const _0x40d1a0=_0x24f1c9;this[_0x40d1a0(0x194)](_0x2c825a);});return this[_0x24f1c9(0x1c5)]=!0x1,_0x43d1aa;}[_0x55aaf2(0x191)](_0x13135a){const _0xb99a8=_0x55aaf2,_0x1a8855=new _0x1e0813(_0x13135a);return _0x1a8855[_0xb99a8(0x1be)]({'class':_0xb99a8(0x1c1),'withText':!0x0}),_0x1a8855['on'](_0xb99a8(0x185),()=>{const _0x1c00a9=_0xb99a8;_0x1a8855[_0x1c00a9(0x194)](this[_0x1c00a9(0x197)][0x0]);}),_0x1a8855;}[_0x55aaf2(0x17f)](_0x4f98eb){const _0x8ae6eb=_0x55aaf2,_0x237505=new Tn(_0x4f98eb,{'listItemModels':this[_0x8ae6eb(0x197)][_0x8ae6eb(0x1db)](_0x1c119c=>{const _0x1016cb=_0x8ae6eb;switch(_0x1c119c){case _0x1016cb(0x19e):return this[_0x1016cb(0x181)];case _0x1016cb(0x19d):return this[_0x1016cb(0x1b1)];case _0x1016cb(0x1a3):return this[_0x1016cb(0x1d1)];}})});return _0x237505[_0x8ae6eb(0x1be)]({'label':Sn(this[_0x8ae6eb(0x197)][0x0],_0x4f98eb,this[_0x8ae6eb(0x1b6)]),'tooltip':wn(this[_0x8ae6eb(0x197)][0x0],_0x4f98eb,this[_0x8ae6eb(0x1b6)]),'withText':!0x0,'class':_0x8ae6eb(0x1ab),'balloonPanelClass':_0x8ae6eb(0x1d5)}),_0x237505[_0x8ae6eb(0x1c9)](_0x8ae6eb(0x1d6))['to'](this),_0x237505;}[_0x55aaf2(0x190)](_0x5362b6){const _0x1e2b9b=_0x55aaf2,_0x20f7c2=this[_0x1e2b9b(0x1a1)];this[_0x1e2b9b(0x1b6)]=_0x5362b6||this[_0x1e2b9b(0x1b6)],this[_0x1e2b9b(0x1ac)][_0x1e2b9b(0x1be)]({'label':Sn(this[_0x1e2b9b(0x197)][0x0],_0x20f7c2,this[_0x1e2b9b(0x1b6)]),'tooltip':wn(this[_0x1e2b9b(0x197)][0x0],_0x20f7c2,this[_0x1e2b9b(0x1b6)])}),this[_0x1e2b9b(0x181)][_0x1e2b9b(0x1bc)]=Sn(_0x1e2b9b(0x19e),_0x20f7c2,this[_0x1e2b9b(0x1b6)]),this[_0x1e2b9b(0x1b1)][_0x1e2b9b(0x1bc)]=Sn(_0x1e2b9b(0x19d),_0x20f7c2,this[_0x1e2b9b(0x1b6)]),this[_0x1e2b9b(0x1d1)][_0x1e2b9b(0x1bc)]=Sn(_0x1e2b9b(0x1a3),_0x20f7c2,this[_0x1e2b9b(0x1b6)]);}}class Tn extends _0x419569{[_0x55aaf2(0x1cd)];[_0x55aaf2(0x195)];[_0x55aaf2(0x1d0)];[_0x55aaf2(0x182)];constructor(_0x43fa0e,_0x3b94e8){const _0x2ed8a8=_0x55aaf2;super(_0x43fa0e),this[_0x2ed8a8(0x195)]=new _0x43c198(this[_0x2ed8a8(0x1a1)]),this[_0x2ed8a8(0x1cd)]=new _0x254715(this[_0x2ed8a8(0x1a1)]),this[_0x2ed8a8(0x1cd)][_0x2ed8a8(0x1af)](),this[_0x2ed8a8(0x1be)](_0x2ed8a8(0x1a5),''),this[_0x2ed8a8(0x195)][_0x2ed8a8(0x1c9)](_0x2ed8a8(0x192))['to'](this,_0x2ed8a8(0x1a5)),this[_0x2ed8a8(0x1d0)]=this[_0x2ed8a8(0x18f)](_0x3b94e8[_0x2ed8a8(0x189)][_0x2ed8a8(0x1dd)](0x1)),this[_0x2ed8a8(0x1cd)][_0x2ed8a8(0x1b3)](this[_0x2ed8a8(0x195)]),this[_0x2ed8a8(0x195)][_0x2ed8a8(0x1b0)][_0x2ed8a8(0x1b3)](this[_0x2ed8a8(0x1d0)]),this[_0x2ed8a8(0x198)][_0x2ed8a8(0x1a2)](_0x2ed8a8(0x199)),this[_0x2ed8a8(0x198)][_0x2ed8a8(0x1be)](_0x2ed8a8(0x199),_0x8563d5(this[_0x2ed8a8(0x1a1)],_0x2ed8a8(0x1cf))),this[_0x2ed8a8(0x1a6)](),this['on'](_0x2ed8a8(0x185),()=>{const _0x37985c=_0x2ed8a8,_0x3eea9e=_0x3b94e8[_0x37985c(0x189)][0x0][_0x37985c(0x1de)];this[_0x37985c(0x194)](_0x3eea9e),this[_0x37985c(0x195)][_0x37985c(0x1ae)](),this[_0x37985c(0x198)][_0x37985c(0x18c)]();}),this['on'](_0x2ed8a8(0x1bd),()=>{const _0xde6b74=_0x2ed8a8;this[_0xde6b74(0x195)][_0xde6b74(0x180)]?(this[_0xde6b74(0x195)][_0xde6b74(0x1ae)](),this[_0xde6b74(0x198)][_0xde6b74(0x18c)]()):(this[_0xde6b74(0x195)][_0xde6b74(0x1d3)]({'target':this[_0xde6b74(0x1cc)],'positions':[_0xde6b74(0x19b)===this[_0xde6b74(0x1a1)][_0xde6b74(0x19c)]?pn:In]}),this[_0xde6b74(0x1d0)][_0xde6b74(0x18c)]());}),_0x2a1772({'emitter':this[_0x2ed8a8(0x195)],'callback':()=>{const _0x43b505=_0x2ed8a8;this[_0x43b505(0x195)][_0x43b505(0x1ae)]();},'activator':()=>this[_0x2ed8a8(0x195)][_0x2ed8a8(0x180)],'contextElements':()=>[this[_0x2ed8a8(0x1cc)],this[_0x2ed8a8(0x195)][_0x2ed8a8(0x1cc)]]});}[_0x55aaf2(0x18f)](_0x2edefc){const _0x534b79=_0x55aaf2,_0x15fb4c=this[_0x534b79(0x1a1)],_0x2f8587=new _0xd0cc2f(_0x15fb4c);for(const _0xd61be of _0x2edefc){const _0x27ec00=new _0x52d716(_0x15fb4c),_0x4fa34b=new _0x56a50b(_0x15fb4c);_0x4fa34b[_0x534b79(0x1c9)](...Object[_0x534b79(0x18e)](_0xd61be))['to'](_0xd61be),_0x4fa34b[_0x534b79(0x1c4)](_0x534b79(0x185))['to'](_0x2f8587),_0x27ec00[_0x534b79(0x1a4)][_0x534b79(0x1b3)](_0x4fa34b),_0x2f8587[_0x534b79(0x1a7)][_0x534b79(0x1b3)](_0x27ec00);}return _0x2f8587[_0x534b79(0x1a7)][_0x534b79(0x1c4)](_0x534b79(0x185))['to'](this),_0x2f8587['on'](_0x534b79(0x185),_0x5c7ce5=>{const _0x210efe=_0x534b79,_0x359c54=_0x5c7ce5[_0x210efe(0x1ca)];this[_0x210efe(0x194)](_0x359c54[_0x210efe(0x1de)]),this[_0x210efe(0x195)][_0x210efe(0x1ae)](),this[_0x210efe(0x198)][_0x210efe(0x18c)]();}),_0x2f8587;}[_0x55aaf2(0x1a6)](){const _0x38365c=_0x55aaf2;this[_0x38365c(0x182)]=new _0x40515f(),this[_0x38365c(0x182)][_0x38365c(0x1d7)](this[_0x38365c(0x195)][_0x38365c(0x1cc)]),this[_0x38365c(0x182)][_0x38365c(0x1be)](_0x38365c(0x196),(_0x127d38,_0x368908)=>{const _0x28eeb1=_0x38365c;this[_0x28eeb1(0x195)][_0x28eeb1(0x1ae)](),this[_0x28eeb1(0x198)][_0x28eeb1(0x18c)](),_0x368908();});}[_0x55aaf2(0x1b8)](){const _0x263db6=_0x55aaf2;super[_0x263db6(0x1b8)](),this[_0x263db6(0x182)][_0x263db6(0x1b8)](),this[_0x263db6(0x195)][_0x263db6(0x1b8)](),this[_0x263db6(0x1cd)][_0x263db6(0x1b7)]();}}function pn(_0x409d2c){const _0x1dfa12=_0x55aaf2;return{'top':_0x409d2c[_0x1dfa12(0x19f)],'left':_0x409d2c[_0x1dfa12(0x183)],'name':_0x1dfa12(0x193),'config':{'withArrow':!0x1}};}function In(_0x26b82b,_0x17ca35){const _0x5b770b=_0x55aaf2;return{'top':_0x26b82b[_0x5b770b(0x19f)],'left':_0x26b82b[_0x5b770b(0x183)]-(_0x17ca35[_0x5b770b(0x1ba)]-_0x26b82b[_0x5b770b(0x1ba)]),'name':_0x5b770b(0x193),'config':{'withArrow':!0x1}};}function Sn(_0x47f10b,_0x47a243,_0x345771){const _0x962768=_0x55aaf2;switch(_0x47f10b){case _0x962768(0x19e):return _0x8563d5(_0x47a243,_0x962768(0x187),_0x345771);case _0x962768(0x19d):return _0x8563d5(_0x47a243,_0x962768(0x1a9),_0x345771);case _0x962768(0x1a3):return _0x8563d5(_0x47a243,_0x962768(0x1da),_0x345771);}}function _0x4b55(){const _0x15a396=['bind','source','isTrackChangesOn','element','bodyCollection','4hODbmy','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','listView','insertSuggestionModel','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','pin','remove','ck-ai-chat__feed__ai-suggestion__actions__balloon','isEnabled','listenTo','24NMMPjG','32653760yCKdrI','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','map','12214134SzGBWH','slice','actionName','_createActionsDropdown','isVisible','applySuggestionModel','keystrokeHandler','left','div','execute','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','1545930JGXCVL','listItemModels','setTemplate','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','focus','ck-ai-chat__feed__ai-suggestion__actions\x20','keys','_setUpList','updateLabels','_createActionsButton','class','arrowless','fire','balloonPanelView','esc','_dropdownCurrentConfig','arrowView','tooltip','length','ltr','uiLanguageDirection','showChangeInText','applySuggestion','bottom','2651667TAwIOl','locale','unbind','insertSuggestion','children','balloonPanelClass','_setUpKeystrokes','items','has','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','change:isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions','actionsButton','1823208lxROhW','hide','attachToDom','content','showChangeInTextModel','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','add','_updateDropdownActions','1216496LSRHZq','_partsCount','detachFromDom','destroy','ck-ai-chat__feed__ai-suggestion__actions--no-animation','width','_createActionsDropdownOrButton','label','open','set','24yvziww','793863qjTJbL','ck-ai-button-primary','button','bindTemplate','delegate','_firstRender','filter','_dropdownOriginalConfig','ck-hidden'];_0x4b55=function(){return _0x15a396;};return _0x4b55();}function wn(_0x3f907e,_0x157ad1,_0x255898){const _0x569404=_0x55aaf2;switch(_0x3f907e){case _0x569404(0x19e):return _0x8563d5(_0x157ad1,_0x569404(0x18b),_0x255898);case _0x569404(0x19d):return _0x8563d5(_0x157ad1,_0x569404(0x1b2),_0x255898);case _0x569404(0x1a3):return _0x8563d5(_0x157ad1,_0x569404(0x1d2),_0x255898);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3e9873=_0x336a;function _0xd2fe(){var _0x3bbf70=['isEnabled','9310SDbjpL','insertSuggestion','dislike','like','fire','applySuggestion','hasNonEmptyParts','updateSources','6EMvFWZ','set','options','toggleSuggestionDisplayMode','extendTemplate','6033933rrBFIv','278470foTWZQ','ck-ai-chat__feed__ai-suggestion','bodyView','updatePartState','isVisible','bind','mouseLeaveSuggestion','1116132jykcXy','609SQiWvV','partsCount','updateLabels','updateContent','hasPendingParts','showDiff','5035615mELOhq','markAsDone','children','isTrackChangesOn','getPartView','containerView','addMany','715JtOEco','114OuctPS','areActionsDisabled','availableActions','mouseOverSuggestion','showChangeInText','rejectSuggestion','2498404MmIfht','1832jYjYxw','actionsView'];_0xd2fe=function(){return _0x3bbf70;};return _0xd2fe();}(function(_0x575dec,_0x856679){var _0x23ed1b=_0x336a,_0x2a9781=_0x575dec();while(!![]){try{var _0x104f1f=-parseInt(_0x23ed1b(0x1d5))/0x1*(parseInt(_0x23ed1b(0x1b1))/0x2)+parseInt(_0x23ed1b(0x1c6))/0x3+parseInt(_0x23ed1b(0x1ad))/0x4+parseInt(_0x23ed1b(0x1cd))/0x5*(-parseInt(_0x23ed1b(0x1b9))/0x6)+-parseInt(_0x23ed1b(0x1c7))/0x7*(-parseInt(_0x23ed1b(0x1ae))/0x8)+-parseInt(_0x23ed1b(0x1be))/0x9+-parseInt(_0x23ed1b(0x1bf))/0xa*(-parseInt(_0x23ed1b(0x1d4))/0xb);if(_0x104f1f===_0x856679)break;else _0x2a9781['push'](_0x2a9781['shift']());}catch(_0x5a5ec5){_0x2a9781['push'](_0x2a9781['shift']());}}}(_0xd2fe,0x96f99));function _0x336a(_0x4f01b6,_0x17c40b){var _0xd2fe71=_0xd2fe();return _0x336a=function(_0x336a72,_0x5e0ca0){_0x336a72=_0x336a72-0x1ab;var _0x5aea33=_0xd2fe71[_0x336a72];return _0x5aea33;},_0x336a(_0x4f01b6,_0x17c40b);}import{AIChatFeedItemView as _0x122fcd}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x347188}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x4a2889}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x122fcd{[_0x3e9873(0x1d2)];[_0x3e9873(0x1af)];constructor(_0x189872,_0x180833){var _0x1936f8=_0x3e9873;super(_0x180833),this[_0x1936f8(0x1ba)](_0x1936f8(0x1d0),!0x1),this[_0x1936f8(0x1d2)]=new _0x347188(_0x189872,{'showDiff':_0x180833[_0x1936f8(0x1cc)],'areActionsDisabled':_0x180833[_0x1936f8(0x1d6)],'availableActions':_0x180833[_0x1936f8(0x1d7)]}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1bc),(_0x32d388,_0x1d6f62)=>{var _0x1ef2eb=_0x1936f8;this[_0x1ef2eb(0x1b5)](_0x1ef2eb(0x1bc),{'replyId':this[_0x1ef2eb(0x1bb)]['id'],'showDiff':_0x1d6f62[_0x1ef2eb(0x1cc)]});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1b4),()=>{var _0x5f0bc4=_0x1936f8;this[_0x5f0bc4(0x1b5)](_0x5f0bc4(0x1b4),{'replyId':this[_0x5f0bc4(0x1bb)]['id']});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1b3),()=>{var _0x4e3b0f=_0x1936f8;this[_0x4e3b0f(0x1b5)](_0x4e3b0f(0x1b3),{'replyId':this[_0x4e3b0f(0x1bb)]['id']});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1ab),(_0x34349b,{index:_0x4a269a})=>{var _0x52616f=_0x1936f8;this[_0x52616f(0x1b5)](_0x52616f(0x1ab),{'replyId':this[_0x52616f(0x1bb)]['id'],'partIndex':_0x4a269a});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1b2),(_0x4db523,{index:_0x586463})=>{var _0x16fe21=_0x1936f8;this[_0x16fe21(0x1b5)](_0x16fe21(0x1b2),{'replyId':this[_0x16fe21(0x1bb)]['id'],'partIndex':_0x586463});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1ac),(_0x1fe521,{index:_0x520d01})=>{var _0x59c322=_0x1936f8;this[_0x59c322(0x1b5)](_0x59c322(0x1ac),{'replyId':this[_0x59c322(0x1bb)]['id'],'partIndex':_0x520d01});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1d8),(_0xa4e4e4,{index:_0x58ff39})=>{var _0x441ab6=_0x1936f8;this[_0x441ab6(0x1b5)](_0x441ab6(0x1d8),{'replyId':this[_0x441ab6(0x1bb)]['id'],'partIndex':_0x58ff39});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1c5),(_0x1783d,{index:_0xafc836})=>{var _0x2d9675=_0x1936f8;this[_0x2d9675(0x1b5)](_0x2d9675(0x1c5),{'replyId':this[_0x2d9675(0x1bb)]['id'],'partIndex':_0xafc836});}),this[_0x1936f8(0x1af)]=new _0x4a2889(_0x189872,this[_0x1936f8(0x1bb)][_0x1936f8(0x1d7)]),this[_0x1936f8(0x1af)][_0x1936f8(0x1c4)](_0x1936f8(0x1d0))['to'](this,_0x1936f8(0x1d0)),this[_0x1936f8(0x1af)]['on'](_0x1936f8(0x1ab),()=>{var _0x46b56e=_0x1936f8;this[_0x46b56e(0x1b5)](_0x46b56e(0x1ab),{'replyId':this[_0x46b56e(0x1bb)]['id']});}),this[_0x1936f8(0x1af)]['on'](_0x1936f8(0x1b2),()=>{var _0x2491bc=_0x1936f8;this[_0x2491bc(0x1b5)](_0x2491bc(0x1b2),{'replyId':this[_0x2491bc(0x1bb)]['id']});}),this[_0x1936f8(0x1af)]['on'](_0x1936f8(0x1b6),()=>{var _0x51e92a=_0x1936f8;this[_0x51e92a(0x1b5)](_0x51e92a(0x1b6),{'replyId':this[_0x51e92a(0x1bb)]['id']});}),_0x180833[_0x1936f8(0x1d6)]?this[_0x1936f8(0x1af)][_0x1936f8(0x1b0)]=!0x1:this[_0x1936f8(0x1af)][_0x1936f8(0x1c4)](_0x1936f8(0x1b0))['to'](this[_0x1936f8(0x1d2)][_0x1936f8(0x1c1)],_0x1936f8(0x1cb)),this[_0x1936f8(0x1cf)][_0x1936f8(0x1d3)]([this[_0x1936f8(0x1d2)],this[_0x1936f8(0x1af)]]),this[_0x1936f8(0x1bd)]({'attributes':{'class':[_0x1936f8(0x1c0)]}});}async[_0x3e9873(0x1ca)](_0x1fbc50){var _0x2e668c=_0x3e9873;await this[_0x2e668c(0x1d2)][_0x2e668c(0x1ca)](_0x1fbc50),this[_0x2e668c(0x1af)][_0x2e668c(0x1c9)](this[_0x2e668c(0x1d2)][_0x2e668c(0x1c1)][_0x2e668c(0x1c8)]);}[_0x3e9873(0x1c2)](_0x20fffe,_0x3f90fb){var _0x515111=_0x3e9873;this[_0x515111(0x1d2)][_0x515111(0x1c1)][_0x515111(0x1c2)](_0x20fffe,_0x3f90fb);}[_0x3e9873(0x1b8)](_0x1f7787){var _0x2c6222=_0x3e9873;this[_0x2c6222(0x1d2)][_0x2c6222(0x1b8)](_0x1f7787);}[_0x3e9873(0x1d1)](_0xe9ef72){var _0x50a24a=_0x3e9873;return this[_0x50a24a(0x1d2)][_0x50a24a(0x1c1)][_0x50a24a(0x1d1)](_0xe9ef72);}[_0x3e9873(0x1ce)](){var _0x5a78fe=_0x3e9873;super[_0x5a78fe(0x1ce)](),this[_0x5a78fe(0x1d2)][_0x5a78fe(0x1ce)](),this[_0x5a78fe(0x1af)][_0x5a78fe(0x1c3)]=this[_0x5a78fe(0x1d2)][_0x5a78fe(0x1c1)][_0x5a78fe(0x1b7)];}}
23
+ var _0x510eaa=_0x4f1f;(function(_0x2f356f,_0x27cc6f){var _0x2bcebf=_0x4f1f,_0x4d1fe2=_0x2f356f();while(!![]){try{var _0x1e4dc5=parseInt(_0x2bcebf(0xdd))/0x1*(-parseInt(_0x2bcebf(0xdf))/0x2)+parseInt(_0x2bcebf(0xed))/0x3+-parseInt(_0x2bcebf(0xd9))/0x4*(parseInt(_0x2bcebf(0xf6))/0x5)+parseInt(_0x2bcebf(0x100))/0x6+-parseInt(_0x2bcebf(0xd4))/0x7*(-parseInt(_0x2bcebf(0xe1))/0x8)+-parseInt(_0x2bcebf(0xf2))/0x9*(parseInt(_0x2bcebf(0xdb))/0xa)+-parseInt(_0x2bcebf(0xd6))/0xb*(parseInt(_0x2bcebf(0xfd))/0xc);if(_0x1e4dc5===_0x27cc6f)break;else _0x4d1fe2['push'](_0x4d1fe2['shift']());}catch(_0x51acc5){_0x4d1fe2['push'](_0x4d1fe2['shift']());}}}(_0x35c9,0xd471b));import{AIChatFeedItemView as _0x32b95b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2efd48}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x29cbff}from'./aichatfeedsuggestionitemactionsview.js';function _0x35c9(){var _0x343639=['toggleSuggestionDisplayMode','children','availableActions','updateLabels','12sdSPCc','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','7635774wcdVUU','markAsDone','getPartView','1216222SCNvEw','insertSuggestion','13356926YaADju','containerView','updateContent','174100QghtyK','like','922770YheRGM','fire','427489JQsRfs','isEnabled','2KjwFWC','areActionsDisabled','80ezzUoz','partsCount','applySuggestion','addMany','bind','isVisible','updatePartState','extendTemplate','dislike','options','isTrackChangesOn','updateSources','1258140HEJlqz','mouseLeaveSuggestion','rejectSuggestion','hasPendingParts','set','81JBmDgA','actionsView','hasNonEmptyParts','bodyView','10ViQafG','showChangeInText','showDiff'];_0x35c9=function(){return _0x343639;};return _0x35c9();}function _0x4f1f(_0xdc1110,_0x3c31ed){var _0x35c986=_0x35c9();return _0x4f1f=function(_0x4f1f16,_0x441153){_0x4f1f16=_0x4f1f16-0xd4;var _0x4c6a3a=_0x35c986[_0x4f1f16];return _0x4c6a3a;},_0x4f1f(_0xdc1110,_0x3c31ed);}export class AIChatFeedSuggestionItemView extends _0x32b95b{[_0x510eaa(0xd7)];[_0x510eaa(0xf3)];constructor(_0x4ff2f2,_0x49087e){var _0x43f56d=_0x510eaa;super(_0x49087e),this[_0x43f56d(0xf1)](_0x43f56d(0xeb),!0x1),this[_0x43f56d(0xd7)]=new _0x2efd48(_0x4ff2f2,{'showDiff':_0x49087e[_0x43f56d(0xf8)],'areActionsDisabled':_0x49087e[_0x43f56d(0xe0)],'availableActions':_0x49087e[_0x43f56d(0xfb)]}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xf9),(_0x4549c2,_0x3369f0)=>{var _0x2a32ca=_0x43f56d;this[_0x2a32ca(0xdc)](_0x2a32ca(0xf9),{'replyId':this[_0x2a32ca(0xea)]['id'],'showDiff':_0x3369f0[_0x2a32ca(0xf8)]});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xda),()=>{var _0xffb3d7=_0x43f56d;this[_0xffb3d7(0xdc)](_0xffb3d7(0xda),{'replyId':this[_0xffb3d7(0xea)]['id']});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xe9),()=>{var _0x5bca0c=_0x43f56d;this[_0x5bca0c(0xdc)](_0x5bca0c(0xe9),{'replyId':this[_0x5bca0c(0xea)]['id']});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xf7),(_0x2cfa6b,{index:_0x252a28})=>{var _0x55d86c=_0x43f56d;this[_0x55d86c(0xdc)](_0x55d86c(0xf7),{'replyId':this[_0x55d86c(0xea)]['id'],'partIndex':_0x252a28});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xd5),(_0x38ccf7,{index:_0x47d490})=>{var _0x2ea0ec=_0x43f56d;this[_0x2ea0ec(0xdc)](_0x2ea0ec(0xd5),{'replyId':this[_0x2ea0ec(0xea)]['id'],'partIndex':_0x47d490});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xef),(_0x3a2cff,{index:_0x55dea2})=>{var _0x319bff=_0x43f56d;this[_0x319bff(0xdc)](_0x319bff(0xef),{'replyId':this[_0x319bff(0xea)]['id'],'partIndex':_0x55dea2});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xfe),(_0x5e8886,{index:_0x33b934})=>{var _0x449e10=_0x43f56d;this[_0x449e10(0xdc)](_0x449e10(0xfe),{'replyId':this[_0x449e10(0xea)]['id'],'partIndex':_0x33b934});}),this[_0x43f56d(0xd7)]['on'](_0x43f56d(0xee),(_0x15f254,{index:_0xfd17ef})=>{var _0x49b799=_0x43f56d;this[_0x49b799(0xdc)](_0x49b799(0xee),{'replyId':this[_0x49b799(0xea)]['id'],'partIndex':_0xfd17ef});}),this[_0x43f56d(0xf3)]=new _0x29cbff(_0x4ff2f2,this[_0x43f56d(0xea)][_0x43f56d(0xfb)]),this[_0x43f56d(0xf3)][_0x43f56d(0xe5)](_0x43f56d(0xeb))['to'](this,_0x43f56d(0xeb)),this[_0x43f56d(0xf3)]['on'](_0x43f56d(0xf7),()=>{var _0x53c6c7=_0x43f56d;this[_0x53c6c7(0xdc)](_0x53c6c7(0xf7),{'replyId':this[_0x53c6c7(0xea)]['id']});}),this[_0x43f56d(0xf3)]['on'](_0x43f56d(0xd5),()=>{var _0x3a9bc5=_0x43f56d;this[_0x3a9bc5(0xdc)](_0x3a9bc5(0xd5),{'replyId':this[_0x3a9bc5(0xea)]['id']});}),this[_0x43f56d(0xf3)]['on'](_0x43f56d(0xe3),()=>{var _0x4ac146=_0x43f56d;this[_0x4ac146(0xdc)](_0x4ac146(0xe3),{'replyId':this[_0x4ac146(0xea)]['id']});}),_0x49087e[_0x43f56d(0xe0)]?this[_0x43f56d(0xf3)][_0x43f56d(0xde)]=!0x1:this[_0x43f56d(0xf3)][_0x43f56d(0xe5)](_0x43f56d(0xde))['to'](this[_0x43f56d(0xd7)][_0x43f56d(0xf5)],_0x43f56d(0xf0)),this[_0x43f56d(0xfa)][_0x43f56d(0xe4)]([this[_0x43f56d(0xd7)],this[_0x43f56d(0xf3)]]),this[_0x43f56d(0xe8)]({'attributes':{'class':[_0x43f56d(0xff)]}});}async[_0x510eaa(0xd8)](_0x53df83){var _0x189729=_0x510eaa;await this[_0x189729(0xd7)][_0x189729(0xd8)](_0x53df83),this[_0x189729(0xf3)][_0x189729(0xfc)](this[_0x189729(0xd7)][_0x189729(0xf5)][_0x189729(0xe2)]);}[_0x510eaa(0xe7)](_0x42db73,_0x3d3831){var _0x5218e4=_0x510eaa;this[_0x5218e4(0xd7)][_0x5218e4(0xf5)][_0x5218e4(0xe7)](_0x42db73,_0x3d3831);}[_0x510eaa(0xec)](_0x572eda){var _0x3f140c=_0x510eaa;this[_0x3f140c(0xd7)][_0x3f140c(0xec)](_0x572eda);}[_0x510eaa(0x102)](_0x4398df){var _0x3f338a=_0x510eaa;return this[_0x3f338a(0xd7)][_0x3f338a(0xf5)][_0x3f338a(0x102)](_0x4398df);}[_0x510eaa(0x101)](){var _0x39d37a=_0x510eaa;super[_0x39d37a(0x101)](),this[_0x39d37a(0xd7)][_0x39d37a(0x101)](),this[_0x39d37a(0xf3)][_0x39d37a(0xe6)]=this[_0x39d37a(0xd7)][_0x39d37a(0xf5)][_0x39d37a(0xf4)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1c98(_0x3fa715,_0x136cb0){var _0x18c309=_0x18c3();return _0x1c98=function(_0x1c9805,_0x2eb447){_0x1c9805=_0x1c9805-0x1ea;var _0xd97b0d=_0x18c309[_0x1c9805];return _0xd97b0d;},_0x1c98(_0x3fa715,_0x136cb0);}var _0x4380ba=_0x1c98;function _0x18c3(){var _0x5e75eb=['options','9gvhynT','markAsDone','innerHTML','ck-ai-chat__feed__message-content','7olaHkr','_locale','1478045kNlILc','extendTemplate','children','add','1715214YURqiN','ck-ai-chat__feed__context-chips','setTemplate','1502808DWKCUe','22SlFckZ','length','_createMessageContentView','34114116SfRLeH','element','4405232gINnEK','filter','4jGsVDG','div','_messageContentView','hidden','ck-ai-chat__feed__user-message','11822072xHiWOi','_contextChipsView','_bodyCollection','5bmBRAg','initialContent','contextItems','_createContextChipsView','1726120nHfTfa','render'];_0x18c3=function(){return _0x5e75eb;};return _0x18c3();}(function(_0x1e7963,_0x538b61){var _0x4a28ca=_0x1c98,_0x328fc8=_0x1e7963();while(!![]){try{var _0x3dc23c=-parseInt(_0x4a28ca(0x1f3))/0x1+-parseInt(_0x4a28ca(0x202))/0x2*(parseInt(_0x4a28ca(0x1fa))/0x3)+-parseInt(_0x4a28ca(0x200))/0x4*(parseInt(_0x4a28ca(0x20a))/0x5)+parseInt(_0x4a28ca(0x1f7))/0x6+-parseInt(_0x4a28ca(0x1f1))/0x7*(parseInt(_0x4a28ca(0x207))/0x8)+parseInt(_0x4a28ca(0x1ed))/0x9*(-parseInt(_0x4a28ca(0x1ea))/0xa)+-parseInt(_0x4a28ca(0x1fb))/0xb*(-parseInt(_0x4a28ca(0x1fe))/0xc);if(_0x3dc23c===_0x538b61)break;else _0x328fc8['push'](_0x328fc8['shift']());}catch(_0x529ee2){_0x328fc8['push'](_0x328fc8['shift']());}}}(_0x18c3,0xb4a77));import{AIChatFeedItemView as _0x384587}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1314e5}from'./aichatfeedcontextchipsview.js';import{View as _0x3f88f2}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x384587{[_0x4380ba(0x208)]=null;[_0x4380ba(0x1f2)];[_0x4380ba(0x209)];[_0x4380ba(0x204)];constructor(_0x4236e9,_0x3c07e4,_0xe61fad){var _0x3571a5=_0x4380ba;super(_0x3c07e4),this[_0x3571a5(0x1f2)]=_0x4236e9,this[_0x3571a5(0x209)]=_0xe61fad,this[_0x3571a5(0x20d)](),this[_0x3571a5(0x1fd)](),this[_0x3571a5(0x1f4)]({'attributes':{'class':[_0x3571a5(0x206)]}});}[_0x4380ba(0x20d)](){var _0x3768d4=_0x4380ba;this[_0x3768d4(0x1ec)][_0x3768d4(0x20c)]&&this[_0x3768d4(0x1ec)][_0x3768d4(0x20c)][_0x3768d4(0x1fc)]>0x0&&(this[_0x3768d4(0x208)]=new _0x1314e5(this[_0x3768d4(0x1f2)],this[_0x3768d4(0x1ec)][_0x3768d4(0x20c)][_0x3768d4(0x201)](_0x3e98c3=>!_0x3e98c3[_0x3768d4(0x205)]),this[_0x3768d4(0x209)]),this[_0x3768d4(0x208)][_0x3768d4(0x1f4)]({'attributes':{'class':_0x3768d4(0x1f8)}}),this[_0x3768d4(0x1f5)][_0x3768d4(0x1f6)](this[_0x3768d4(0x208)]));}[_0x4380ba(0x1fd)](){var _0x4e7bb4=_0x4380ba;this[_0x4e7bb4(0x204)]=new _0x3f88f2(this[_0x4e7bb4(0x1f2)]),this[_0x4e7bb4(0x204)][_0x4e7bb4(0x1f9)]({'tag':_0x4e7bb4(0x203),'attributes':{'class':_0x4e7bb4(0x1f0)}}),this[_0x4e7bb4(0x1f5)][_0x4e7bb4(0x1f6)](this[_0x4e7bb4(0x204)]);}[_0x4380ba(0x1eb)](){var _0xeae9bb=_0x4380ba;super[_0xeae9bb(0x1eb)](),this[_0xeae9bb(0x204)][_0xeae9bb(0x1ff)][_0xeae9bb(0x1ef)]=this[_0xeae9bb(0x1ec)][_0xeae9bb(0x20b)],this[_0xeae9bb(0x1ee)]();}}
23
+ function _0x3b15(){var _0x23fbc8=['_createMessageContentView','11BCDiZn','3141moWxCQ','_contextChipsView','hidden','_createContextChipsView','1372568zxgxQA','markAsDone','ck-ai-chat__feed__user-message','innerHTML','ck-ai-chat__feed__message-content','length','contextItems','15774FWKkAJ','1815RMzzch','element','7862436uixDpH','_locale','_bodyCollection','initialContent','ck-ai-chat__feed__context-chips','25930cBGkqP','children','add','329033hBkYiU','extendTemplate','setTemplate','options','27ZwNDCe','render','2BtWVOd','6565363hyHzcY','87092OfMQzb','filter','_messageContentView','div'];_0x3b15=function(){return _0x23fbc8;};return _0x3b15();}var _0x7a683b=_0x30da;(function(_0x526c6d,_0x2c3151){var _0x269cbd=_0x30da,_0x4f4cd4=_0x526c6d();while(!![]){try{var _0x2a460b=parseInt(_0x269cbd(0xc5))/0x1*(parseInt(_0x269cbd(0xa7))/0x2)+parseInt(_0x269cbd(0xa5))/0x3*(parseInt(_0x269cbd(0xa9))/0x4)+-parseInt(_0x269cbd(0xbb))/0x5*(parseInt(_0x269cbd(0xba))/0x6)+parseInt(_0x269cbd(0xa8))/0x7+-parseInt(_0x269cbd(0xb3))/0x8+parseInt(_0x269cbd(0xaf))/0x9*(parseInt(_0x269cbd(0xc2))/0xa)+parseInt(_0x269cbd(0xae))/0xb*(-parseInt(_0x269cbd(0xbd))/0xc);if(_0x2a460b===_0x2c3151)break;else _0x4f4cd4['push'](_0x4f4cd4['shift']());}catch(_0x6ad5e6){_0x4f4cd4['push'](_0x4f4cd4['shift']());}}}(_0x3b15,0x8f403));import{AIChatFeedItemView as _0x4cd2c3}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1fbe1f}from'./aichatfeedcontextchipsview.js';function _0x30da(_0x283d26,_0x1b3df6){var _0x3b1585=_0x3b15();return _0x30da=function(_0x30da77,_0x11f68a){_0x30da77=_0x30da77-0xa2;var _0x3c0dad=_0x3b1585[_0x30da77];return _0x3c0dad;},_0x30da(_0x283d26,_0x1b3df6);}import{View as _0x21c653}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x4cd2c3{[_0x7a683b(0xb0)]=null;[_0x7a683b(0xbe)];[_0x7a683b(0xbf)];[_0x7a683b(0xab)];constructor(_0x1912b0,_0x33a651,_0x43b226){var _0x4120da=_0x7a683b;super(_0x33a651),this[_0x4120da(0xbe)]=_0x1912b0,this[_0x4120da(0xbf)]=_0x43b226,this[_0x4120da(0xb2)](),this[_0x4120da(0xad)](),this[_0x4120da(0xa2)]({'attributes':{'class':[_0x4120da(0xb5)]}});}[_0x7a683b(0xb2)](){var _0x430f90=_0x7a683b;this[_0x430f90(0xa4)][_0x430f90(0xb9)]&&this[_0x430f90(0xa4)][_0x430f90(0xb9)][_0x430f90(0xb8)]>0x0&&(this[_0x430f90(0xb0)]=new _0x1fbe1f(this[_0x430f90(0xbe)],this[_0x430f90(0xa4)][_0x430f90(0xb9)][_0x430f90(0xaa)](_0x239d22=>!_0x239d22[_0x430f90(0xb1)]),this[_0x430f90(0xbf)]),this[_0x430f90(0xb0)][_0x430f90(0xa2)]({'attributes':{'class':_0x430f90(0xc1)}}),this[_0x430f90(0xc3)][_0x430f90(0xc4)](this[_0x430f90(0xb0)]));}[_0x7a683b(0xad)](){var _0xd16e76=_0x7a683b;this[_0xd16e76(0xab)]=new _0x21c653(this[_0xd16e76(0xbe)]),this[_0xd16e76(0xab)][_0xd16e76(0xa3)]({'tag':_0xd16e76(0xac),'attributes':{'class':_0xd16e76(0xb7)}}),this[_0xd16e76(0xc3)][_0xd16e76(0xc4)](this[_0xd16e76(0xab)]);}[_0x7a683b(0xa6)](){var _0x17c4fa=_0x7a683b;super[_0x17c4fa(0xa6)](),this[_0x17c4fa(0xab)][_0x17c4fa(0xbc)][_0x17c4fa(0xb6)]=this[_0x17c4fa(0xa4)][_0x17c4fa(0xc0)],this[_0x17c4fa(0xb4)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd27ffe=_0x1223;(function(_0x2db481,_0x26d3a3){const _0x4294c4=_0x1223,_0xd3fb72=_0x2db481();while(!![]){try{const _0x44b034=parseInt(_0x4294c4(0x15d))/0x1*(-parseInt(_0x4294c4(0x15a))/0x2)+-parseInt(_0x4294c4(0x167))/0x3+-parseInt(_0x4294c4(0x166))/0x4*(-parseInt(_0x4294c4(0x162))/0x5)+-parseInt(_0x4294c4(0x164))/0x6+parseInt(_0x4294c4(0x161))/0x7+-parseInt(_0x4294c4(0x15e))/0x8*(-parseInt(_0x4294c4(0x165))/0x9)+parseInt(_0x4294c4(0x169))/0xa*(-parseInt(_0x4294c4(0x15f))/0xb);if(_0x44b034===_0x26d3a3)break;else _0xd3fb72['push'](_0xd3fb72['shift']());}catch(_0x24505f){_0xd3fb72['push'](_0xd3fb72['shift']());}}}(_0x96aa,0xe1fcc));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3dfdaa}from'../../aicore/utils/eventnames.js';function _0x1223(_0x2c3aa9,_0x32dbb3){const _0x96aa90=_0x96aa();return _0x1223=function(_0x1223ab,_0x5b215e){_0x1223ab=_0x1223ab-0x15a;let _0x422206=_0x96aa90[_0x1223ab];return _0x422206;},_0x1223(_0x2c3aa9,_0x32dbb3);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x3dfdaa,_0xd27ffe(0x16f),_0xd27ffe(0x16e),_0xd27ffe(0x15b),_0xd27ffe(0x16a),_0xd27ffe(0x16d),_0xd27ffe(0x16b),_0xd27ffe(0x16c),_0xd27ffe(0x160),_0xd27ffe(0x168),_0xd27ffe(0x15c),_0xd27ffe(0x163),_0xd27ffe(0x171),_0xd27ffe(0x170)];function _0x96aa(){const _0xcd4ff7=['1236462MIWCdZ','removeContextItem','6610kzNoWn','abortPromptStream','addFileToContext','addUrlToContext','addDocumentToContext','resizeTabs','startConversation','selectModel','toggleReasoning','314rhMPAI','sendUserMessage','loadSourceResources','3590BZwVKt','107080gnEJjF','1837xFWxDE','addResourceToContext','2182712lFWzFf','2535985ASDeFi','toggleWebSearch','1356048BKXnCX','954agKEhX','4cuphAY'];_0x96aa=function(){return _0xcd4ff7;};return _0x96aa();}
23
+ const _0x2f4d54=_0x5a45;(function(_0x10c47a,_0x3f4b94){const _0x4db779=_0x5a45,_0x2308c7=_0x10c47a();while(!![]){try{const _0x5a693d=parseInt(_0x4db779(0x128))/0x1+parseInt(_0x4db779(0x11f))/0x2+parseInt(_0x4db779(0x129))/0x3+-parseInt(_0x4db779(0x117))/0x4+parseInt(_0x4db779(0x11d))/0x5*(parseInt(_0x4db779(0x124))/0x6)+-parseInt(_0x4db779(0x118))/0x7+parseInt(_0x4db779(0x127))/0x8;if(_0x5a693d===_0x3f4b94)break;else _0x2308c7['push'](_0x2308c7['shift']());}catch(_0x25c162){_0x2308c7['push'](_0x2308c7['shift']());}}}(_0x3492,0xd8a2e));function _0x3492(){const _0x214c38=['sendUserMessage','3271550uIYAyt','resizeTabs','selectModel','addUrlToContext','addResourceToContext','826794FKpsSI','addFileToContext','loadSourceResources','5504464NtfHmE','797207ISWXhI','151044VaaDvu','toggleReasoning','startConversation','6747720sLDgsQ','5144405USJJgC','removeContextItem','abortPromptStream','toggleWebSearch','addDocumentToContext','5nZClPw'];_0x3492=function(){return _0x214c38;};return _0x3492();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x249405}from'../../aicore/utils/eventnames.js';function _0x5a45(_0x47ae88,_0x3b5a91){const _0x349208=_0x3492();return _0x5a45=function(_0x5a45b9,_0x3634a7){_0x5a45b9=_0x5a45b9-0x115;let _0x4800d4=_0x349208[_0x5a45b9];return _0x4800d4;},_0x5a45(_0x47ae88,_0x3b5a91);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x249405,_0x2f4d54(0x116),_0x2f4d54(0x120),_0x2f4d54(0x11e),_0x2f4d54(0x11a),_0x2f4d54(0x11c),_0x2f4d54(0x125),_0x2f4d54(0x122),_0x2f4d54(0x123),_0x2f4d54(0x119),_0x2f4d54(0x126),_0x2f4d54(0x11b),_0x2f4d54(0x115),_0x2f4d54(0x121)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2764(_0x38964f,_0x3da3b7){const _0x201d99=_0x201d();return _0x2764=function(_0x2764ad,_0x476cc3){_0x2764ad=_0x2764ad-0xe1;let _0x5bf3ea=_0x201d99[_0x2764ad];return _0x5bf3ea;},_0x2764(_0x38964f,_0x3da3b7);}function _0x201d(){const _0x33687f=['120240itIamJ','shift','signal','length','completePromise','resolve','896XbNyaq','9ULXOPk','callback','_queueEmpty','createTask','215dIHvnT','fire','5808880mrSfYR','enqueue','8097osoKjT','queueEmptyPromise','isProcessing','reject','2453130dOetOb','57264NcXezf','_processQueue','abort','once','push','_abortController','1284854hqtDkZ','28USHtNb','28384UyCviq','queue'];_0x201d=function(){return _0x33687f;};return _0x201d();}const _0x976f86=_0x2764;(function(_0x2a01ef,_0x2d98f9){const _0x1dcedd=_0x2764,_0x3db6f4=_0x2a01ef();while(!![]){try{const _0x2da236=parseInt(_0x1dcedd(0xee))/0x1+parseInt(_0x1dcedd(0xea))/0x2+parseInt(_0x1dcedd(0xfd))/0x3*(parseInt(_0x1dcedd(0xeb))/0x4)+parseInt(_0x1dcedd(0xf9))/0x5*(-parseInt(_0x1dcedd(0xe4))/0x6)+-parseInt(_0x1dcedd(0xf4))/0x7*(-parseInt(_0x1dcedd(0xec))/0x8)+parseInt(_0x1dcedd(0xf5))/0x9*(parseInt(_0x1dcedd(0xe3))/0xa)+-parseInt(_0x1dcedd(0xfb))/0xb;if(_0x2da236===_0x2d98f9)break;else _0x3db6f4['push'](_0x3db6f4['shift']());}catch(_0x129c3c){_0x3db6f4['push'](_0x3db6f4['shift']());}}}(_0x201d,0x84751));import{EmitterMixin as _0x40977d}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x40977d(){[_0x976f86(0xed)]=[];[_0x976f86(0xe1)]=!0x1;[_0x976f86(0xe9)];async[_0x976f86(0xfc)](_0x4bc668){const _0x5daba6=_0x976f86,_0x57fcd7=this[_0x5daba6(0xf8)](_0x4bc668);return this[_0x5daba6(0xed)][_0x5daba6(0xe8)](_0x57fcd7),this[_0x5daba6(0xe5)](),_0x57fcd7[_0x5daba6(0xf2)];}[_0x976f86(0xe6)](){const _0x276a82=_0x976f86;this[_0x276a82(0xe1)]&&(this[_0x276a82(0xe9)][_0x276a82(0xe6)](),this[_0x276a82(0xe9)]=void 0x0,this[_0x276a82(0xed)]=[],this[_0x276a82(0xfa)](_0x276a82(0xf7)),this[_0x276a82(0xe1)]=!0x1);}get[_0x976f86(0xfe)](){const _0x449fec=_0x976f86;return this[_0x449fec(0xed)][_0x449fec(0xf1)]||this[_0x449fec(0xe1)]?new Promise(_0x4e5249=>{const _0x51f039=_0x449fec;this[_0x51f039(0xe7)](_0x51f039(0xf7),()=>{_0x4e5249();});}):Promise[_0x449fec(0xf3)]();}async[_0x976f86(0xe5)](){const _0x1ce3fa=_0x976f86;if(!this[_0x1ce3fa(0xe1)]){this[_0x1ce3fa(0xe9)]=new AbortController(),this[_0x1ce3fa(0xe1)]=!0x0;try{for(;this[_0x1ce3fa(0xed)][_0x1ce3fa(0xf1)]&&this[_0x1ce3fa(0xe1)];){const _0x3f0b37=this[_0x1ce3fa(0xed)][_0x1ce3fa(0xef)]();try{await _0x3f0b37[_0x1ce3fa(0xf6)](this[_0x1ce3fa(0xe9)][_0x1ce3fa(0xf0)]),_0x3f0b37[_0x1ce3fa(0xf3)]();}catch(_0x49e558){_0x3f0b37[_0x1ce3fa(0xe2)](_0x49e558);}}}finally{this[_0x1ce3fa(0xe1)]=!0x1,this[_0x1ce3fa(0xe9)]=void 0x0;}this[_0x1ce3fa(0xfa)](_0x1ce3fa(0xf7));}}[_0x976f86(0xf8)](_0x2e68c1){let _0x5a3652,_0x16c257;const _0x41d63a=new Promise((_0x3f7f3b,_0x4bdcbf)=>{_0x5a3652=_0x3f7f3b,_0x16c257=_0x4bdcbf;});return{'callback':_0x2e68c1,'resolve':_0x5a3652,'reject':_0x16c257,'completePromise':_0x41d63a};}}
23
+ const _0x27ae09=_0x1ba7;function _0x46f0(){const _0x3017d9=['length','225rQsMRa','108wgExWg','204NySoia','queueEmptyPromise','abort','398680QHDqlG','createTask','once','push','11035024PVlYMe','990688zFddTx','54930WmwaHV','_processQueue','116080puhSeH','1661jHpQFp','completePromise','138808ORgNRh','isProcessing','_queueEmpty','1136347LYMYwk','fire','shift','_abortController','enqueue','callback','queue','reject','resolve','signal'];_0x46f0=function(){return _0x3017d9;};return _0x46f0();}(function(_0x1ddc4c,_0x3b2e41){const _0x2e9af1=_0x1ba7,_0x3389c7=_0x1ddc4c();while(!![]){try{const _0x26ffa1=-parseInt(_0x2e9af1(0x1ce))/0x1+-parseInt(_0x2e9af1(0x1e3))/0x2+-parseInt(_0x2e9af1(0x1da))/0x3*(-parseInt(_0x2e9af1(0x1cb))/0x4)+-parseInt(_0x2e9af1(0x1e6))/0x5*(parseInt(_0x2e9af1(0x1db))/0x6)+parseInt(_0x2e9af1(0x1e2))/0x7+parseInt(_0x2e9af1(0x1de))/0x8*(parseInt(_0x2e9af1(0x1d9))/0x9)+parseInt(_0x2e9af1(0x1e4))/0xa*(-parseInt(_0x2e9af1(0x1e7))/0xb);if(_0x26ffa1===_0x3b2e41)break;else _0x3389c7['push'](_0x3389c7['shift']());}catch(_0x5ee39c){_0x3389c7['push'](_0x3389c7['shift']());}}}(_0x46f0,0xc876d));import{EmitterMixin as _0xf756f4}from'ckeditor5/src/utils.js';function _0x1ba7(_0x48fa67,_0x3af81c){const _0x46f06f=_0x46f0();return _0x1ba7=function(_0x1ba791,_0x3fb8da){_0x1ba791=_0x1ba791-0x1ca;let _0x522586=_0x46f06f[_0x1ba791];return _0x522586;},_0x1ba7(_0x48fa67,_0x3af81c);}export class PromiseQueue extends _0xf756f4(){[_0x27ae09(0x1d4)]=[];[_0x27ae09(0x1cc)]=!0x1;[_0x27ae09(0x1d1)];async[_0x27ae09(0x1d2)](_0x5c06a2){const _0x33e7a3=_0x27ae09,_0x320730=this[_0x33e7a3(0x1df)](_0x5c06a2);return this[_0x33e7a3(0x1d4)][_0x33e7a3(0x1e1)](_0x320730),this[_0x33e7a3(0x1e5)](),_0x320730[_0x33e7a3(0x1ca)];}[_0x27ae09(0x1dd)](){const _0x2d0ef1=_0x27ae09;this[_0x2d0ef1(0x1cc)]&&(this[_0x2d0ef1(0x1d1)][_0x2d0ef1(0x1dd)](),this[_0x2d0ef1(0x1d1)]=void 0x0,this[_0x2d0ef1(0x1d4)]=[],this[_0x2d0ef1(0x1cf)](_0x2d0ef1(0x1cd)),this[_0x2d0ef1(0x1cc)]=!0x1);}get[_0x27ae09(0x1dc)](){const _0x206d2a=_0x27ae09;return this[_0x206d2a(0x1d4)][_0x206d2a(0x1d8)]||this[_0x206d2a(0x1cc)]?new Promise(_0xf4abf8=>{const _0x435048=_0x206d2a;this[_0x435048(0x1e0)](_0x435048(0x1cd),()=>{_0xf4abf8();});}):Promise[_0x206d2a(0x1d6)]();}async[_0x27ae09(0x1e5)](){const _0xeeb520=_0x27ae09;if(!this[_0xeeb520(0x1cc)]){this[_0xeeb520(0x1d1)]=new AbortController(),this[_0xeeb520(0x1cc)]=!0x0;try{for(;this[_0xeeb520(0x1d4)][_0xeeb520(0x1d8)]&&this[_0xeeb520(0x1cc)];){const _0xf6ea28=this[_0xeeb520(0x1d4)][_0xeeb520(0x1d0)]();try{await _0xf6ea28[_0xeeb520(0x1d3)](this[_0xeeb520(0x1d1)][_0xeeb520(0x1d7)]),_0xf6ea28[_0xeeb520(0x1d6)]();}catch(_0x38487e){_0xf6ea28[_0xeeb520(0x1d5)](_0x38487e);}}}finally{this[_0xeeb520(0x1cc)]=!0x1,this[_0xeeb520(0x1d1)]=void 0x0;}this[_0xeeb520(0x1cf)](_0xeeb520(0x1cd));}}[_0x27ae09(0x1df)](_0x367dbb){let _0x73effa,_0x5aa21c;const _0x29aba3=new Promise((_0x1f4062,_0x3f8f58)=>{_0x73effa=_0x1f4062,_0x5aa21c=_0x3f8f58;});return{'callback':_0x367dbb,'resolve':_0x73effa,'reject':_0x5aa21c,'completePromise':_0x29aba3};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b430a=_0x365a;(function(_0x11abb6,_0x1f028b){var _0x5fd502=_0x365a,_0x2c7bc1=_0x11abb6();while(!![]){try{var _0x47b14b=-parseInt(_0x5fd502(0x10e))/0x1*(parseInt(_0x5fd502(0x10c))/0x2)+-parseInt(_0x5fd502(0x112))/0x3*(-parseInt(_0x5fd502(0x115))/0x4)+-parseInt(_0x5fd502(0x108))/0x5+parseInt(_0x5fd502(0x117))/0x6+-parseInt(_0x5fd502(0x10d))/0x7*(parseInt(_0x5fd502(0x10f))/0x8)+parseInt(_0x5fd502(0x109))/0x9+parseInt(_0x5fd502(0x116))/0xa*(parseInt(_0x5fd502(0x10b))/0xb);if(_0x47b14b===_0x1f028b)break;else _0x2c7bc1['push'](_0x2c7bc1['shift']());}catch(_0x3742ac){_0x2c7bc1['push'](_0x2c7bc1['shift']());}}}(_0x5c39,0x1af2b));import{ContextPlugin as _0x284a56}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x2298c}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x2d596b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x365a(_0x48392a,_0x52e453){var _0x5c3985=_0x5c39();return _0x365a=function(_0x365ac1,_0x2c8a00){_0x365ac1=_0x365ac1-0x108;var _0x1badf6=_0x5c3985[_0x365ac1];return _0x1badf6;},_0x365a(_0x48392a,_0x52e453);}function _0x5c39(){var _0x2f9dfa=['50bYWHVR','953586bVpNIb','1088180UBRQeI','136719mZRBGq','isOfficialPlugin','803297xcieOs','343022yhmurQ','7fuesIA','1fTzwMR','542560GTXuDZ','AIChatHistory','requires','9363dtngcS','isPremiumPlugin','pluginName','36NDyBat'];_0x5c39=function(){return _0x2f9dfa;};return _0x5c39();}export class AIChatHistory extends _0x284a56{static get[_0x2b430a(0x111)](){return[_0x2298c,_0x2d596b];}static get[_0x2b430a(0x114)](){var _0x3e4193=_0x2b430a;return _0x3e4193(0x110);}static get[_0x2b430a(0x10a)](){return!0x0;}static get[_0x2b430a(0x113)](){return!0x0;}}
23
+ var _0x546ac0=_0x307d;(function(_0x39169b,_0x6d993e){var _0x1afef9=_0x307d,_0x338595=_0x39169b();while(!![]){try{var _0x4f2374=parseInt(_0x1afef9(0xcf))/0x1*(parseInt(_0x1afef9(0xc7))/0x2)+-parseInt(_0x1afef9(0xd2))/0x3+-parseInt(_0x1afef9(0xd1))/0x4*(-parseInt(_0x1afef9(0xd0))/0x5)+parseInt(_0x1afef9(0xc6))/0x6+-parseInt(_0x1afef9(0xc4))/0x7*(parseInt(_0x1afef9(0xc8))/0x8)+parseInt(_0x1afef9(0xcc))/0x9*(-parseInt(_0x1afef9(0xcd))/0xa)+parseInt(_0x1afef9(0xc5))/0xb;if(_0x4f2374===_0x6d993e)break;else _0x338595['push'](_0x338595['shift']());}catch(_0xc4ef1){_0x338595['push'](_0x338595['shift']());}}}(_0x1de1,0x79125));import{ContextPlugin as _0x5e4dcd}from'ckeditor5/src/core.js';function _0x1de1(){var _0x4f4c06=['AIChatHistory','1VhwVDm','10FHsbYH','740576xQpmDx','1568541KteBpg','isPremiumPlugin','4536RrgHkH','2225421QRGfJJ','4688994FAPlbp','1238154XMcDvo','656EKHCDX','isOfficialPlugin','pluginName','requires','8111547xarWhV','10aeoxAJ'];_0x1de1=function(){return _0x4f4c06;};return _0x1de1();}import{AIChatHistoryController as _0x336dde}from'./aichathistorycontroller.js';function _0x307d(_0x374b37,_0x351070){var _0x1de1e1=_0x1de1();return _0x307d=function(_0x307d95,_0x509e9d){_0x307d95=_0x307d95-0xc3;var _0x3faf81=_0x1de1e1[_0x307d95];return _0x3faf81;},_0x307d(_0x374b37,_0x351070);}import{AIChatHistoryUI as _0x229fa9}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x5e4dcd{static get[_0x546ac0(0xcb)](){return[_0x336dde,_0x229fa9];}static get[_0x546ac0(0xca)](){var _0x27fa14=_0x546ac0;return _0x27fa14(0xce);}static get[_0x546ac0(0xc9)](){return!0x0;}static get[_0x546ac0(0xc3)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d54d5=_0x19d5;(function(_0x28e03e,_0x4246ca){const _0x3962ad=_0x19d5,_0x2534a2=_0x28e03e();while(!![]){try{const _0x4b67be=-parseInt(_0x3962ad(0x1c7))/0x1*(parseInt(_0x3962ad(0x1dd))/0x2)+parseInt(_0x3962ad(0x1f1))/0x3*(parseInt(_0x3962ad(0x1a8))/0x4)+-parseInt(_0x3962ad(0x1c6))/0x5+parseInt(_0x3962ad(0x1ae))/0x6+-parseInt(_0x3962ad(0x1ea))/0x7+parseInt(_0x3962ad(0x1e7))/0x8+parseInt(_0x3962ad(0x1b3))/0x9;if(_0x4b67be===_0x4246ca)break;else _0x2534a2['push'](_0x2534a2['shift']());}catch(_0xb92552){_0x2534a2['push'](_0x2534a2['shift']());}}}(_0x3974,0xb4739));import{ContextPlugin as _0x73b58e}from'ckeditor5/src/core.js';import{AIConnector as _0x38761b}from'../aicore/aiconnector.js';import{AIChatController as _0x2f3f67}from'../aichat/aichatcontroller.js';import{AITabs as _0x53bb06}from'../aitabs/aitabs.js';function _0x3974(){const _0x10c30a=['AI_CHAT_HISTORY_CATEGORY_YESTERDAY','itemsLoaded','_clearItemLoading','rename','_handleTogglePin','context','removeHistoryItem','getItems','_getCategorizedItems','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','showError','AI_CHAT_HISTORY_CATEGORY_PINNED','loadItems','activateTab','itemId','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','getFullYear','requires','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_generateErrorMessage','activateTab:history','AI_CHAT_HISTORY_CATEGORY_TODAY','get','length','896004PQwpJO','title','removeConversation','openChat','pluginName','createdAt','1781118rSOpNF','loadConversation','pinned','setIsMaximized','toLocaleDateString','12494916XtQphl','activeConversation','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','init','listenTo','remove','unpin','editConversationTitle','chat','setConversationPinned','_handleSelectConversation','history','operation','isOfficialPlugin','getDate','_setItemLoading','updateItems','_handleHistoryErrorUI','selectConversation','3039955OfKbkJ','1VcAFRS','_handleRemove','_updateHistoryItemsUI','_showConversationHistory','_setIsMaximized','updateItemPinned','view','AI_CHAT_HISTORY_UNPIN_ACTION','getGroupId','getItem','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setDate','AI_CHAT_UNTITLED_CONVERSATION','resize','locale','_handleEditTitle','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_CATEGORY_LATER','push','_aiChatHistoryUi','updates','isPremiumPlugin','2077422FICnya','_aiConnector','getMonth','updateItemLoadingState','itemUpdated','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','error','updateItemTitle','change:activeConversation','items','4446712XluViO','resizedTabs','_aiChatController','2122309weLIDL','itemRemoved','plugins','resizeTabs','pin','removeItem','map','6BUVbwa'];_0x3974=function(){return _0x10c30a;};return _0x3974();}import{AIChatHistoryUI as _0x41d81e}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x2acad4}from'./model/aichathistoryconversations.js';function _0x19d5(_0x8d92b4,_0x2766e6){const _0x39748d=_0x3974();return _0x19d5=function(_0x19d5dc,_0x39f7d2){_0x19d5dc=_0x19d5dc-0x193;let _0x9cbeda=_0x39748d[_0x19d5dc];return _0x9cbeda;},_0x19d5(_0x8d92b4,_0x2766e6);}import{getTranslation as _0x2e3ade}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x73b58e{[_0x4d54d5(0x1de)];[_0x4d54d5(0x1da)];[_0x4d54d5(0x1e9)];static get[_0x4d54d5(0x1a0)](){return[_0x38761b,_0x2f3f67,_0x41d81e,_0x53bb06];}static get[_0x4d54d5(0x1ac)](){const _0x40ed01=_0x4d54d5;return _0x40ed01(0x19d);}static get[_0x4d54d5(0x1c0)](){return!0x0;}static get[_0x4d54d5(0x1dc)](){return!0x0;}[_0x4d54d5(0x1b6)](){const _0x5a6403=_0x4d54d5;this[_0x5a6403(0x1de)]=this[_0x5a6403(0x1f7)][_0x5a6403(0x1ec)][_0x5a6403(0x1a6)](_0x38761b),this[_0x5a6403(0x1da)]=this[_0x5a6403(0x1f7)][_0x5a6403(0x1ec)][_0x5a6403(0x1a6)](_0x41d81e),this[_0x5a6403(0x1e9)]=this[_0x5a6403(0x1f7)][_0x5a6403(0x1ec)][_0x5a6403(0x1a6)](_0x2f3f67);const _0x5231de=this[_0x5a6403(0x1f7)][_0x5a6403(0x1ec)][_0x5a6403(0x1a6)](_0x53bb06),_0x15a921=this[_0x5a6403(0x1e9)][_0x5a6403(0x1cf)]();this[_0x5a6403(0x1be)]=new _0x2acad4({'connector':this[_0x5a6403(0x1de)],'group':_0x15a921}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1aa),(_0x39c66e,_0x182235)=>{const _0x21bb6c=_0x5a6403;this[_0x21bb6c(0x1c2)](_0x182235['id'],_0x21bb6c(0x1b8)),this[_0x21bb6c(0x1c8)](_0x182235['id']);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1ba),(_0x11a627,_0x43121e)=>{const _0x4842e2=_0x5a6403;this[_0x4842e2(0x1c2)](_0x43121e['id'],_0x4842e2(0x1f5)),this[_0x4842e2(0x1d6)](_0x43121e['id'],_0x43121e[_0x4842e2(0x1a9)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1be)],_0x5a6403(0x1e1),(_0x2d3988,_0x5bcaf1)=>{const _0x1e3759=_0x5a6403;void 0x0!==_0x5bcaf1[_0x1e3759(0x1db)][_0x1e3759(0x1a9)]&&this[_0x1e3759(0x1da)][_0x1e3759(0x1e4)](_0x5bcaf1[_0x1e3759(0x19c)],_0x5bcaf1[_0x1e3759(0x1db)][_0x1e3759(0x1a9)]),void 0x0!==_0x5bcaf1[_0x1e3759(0x1db)][_0x1e3759(0x1b0)]&&this[_0x1e3759(0x1c9)](),this[_0x1e3759(0x1f4)](_0x5bcaf1[_0x1e3759(0x19c)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1be)],_0x5a6403(0x1eb),(_0x14fa8a,_0x13275a)=>{const _0x58bdb6=_0x5a6403;this[_0x58bdb6(0x1e9)][_0x58bdb6(0x1a1)](_0x13275a[_0x58bdb6(0x19c)]),this[_0x58bdb6(0x1da)][_0x58bdb6(0x193)](_0x13275a[_0x58bdb6(0x19c)]),this[_0x58bdb6(0x1f4)](_0x13275a[_0x58bdb6(0x19c)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1be)],_0x5a6403(0x1f3),()=>{const _0xa4b968=_0x5a6403;this[_0xa4b968(0x1c9)]();}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1be)],_0x5a6403(0x1e3),(_0x524b30,_0x54ded5)=>{const _0x4ea1b4=_0x5a6403;this[_0x4ea1b4(0x1c4)](_0x54ded5[_0x4ea1b4(0x1e3)],_0x54ded5[_0x4ea1b4(0x1bf)],_0x54ded5[_0x4ea1b4(0x19c)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1c5),(_0x201b9b,_0xcf5e61)=>{const _0x7d76cb=_0x5a6403;this[_0x7d76cb(0x1bd)](_0xcf5e61['id']);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1bc),(_0x3dd71d,_0x548c59)=>{const _0x565719=_0x5a6403,_0x55ddad=_0x548c59[_0x565719(0x1b0)]?_0x565719(0x1ee):_0x565719(0x1b9);this[_0x565719(0x1c2)](_0x548c59['id'],_0x55ddad),this[_0x565719(0x1f6)](_0x548c59['id'],_0x548c59[_0x565719(0x1b0)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1ab),()=>{const _0x30d791=_0x5a6403;_0x5231de[_0x30d791(0x1cd)][_0x30d791(0x19b)](_0x30d791(0x1bb));}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1e9)],_0x5a6403(0x1e5),()=>{const _0x8ec9f7=_0x5a6403;this[_0x8ec9f7(0x1c9)]();}),_0x5231de[_0x5a6403(0x1cd)]['on'](_0x5a6403(0x1a4),()=>{const _0x46832a=_0x5a6403;this[_0x46832a(0x1ca)]();}),this[_0x5a6403(0x1b7)](_0x5231de,_0x5a6403(0x1e8),(_0xbcab38,_0x59a8fe)=>{const _0x4550cc=_0x5a6403;this[_0x4550cc(0x1cb)](_0x59a8fe);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1ed),()=>{const _0x2164db=_0x5a6403;_0x5231de[_0x2164db(0x1d4)]();});}async[_0x4d54d5(0x1d6)](_0x3762ff,_0x39c7b2){const _0xdc5ad=_0x4d54d5;await this[_0xdc5ad(0x1be)][_0xdc5ad(0x1e4)](_0x3762ff,_0x39c7b2);}async[_0x4d54d5(0x1f6)](_0x341c7d,_0x5d52f0){const _0x3bb2e4=_0x4d54d5;await this[_0x3bb2e4(0x1be)][_0x3bb2e4(0x1cc)](_0x341c7d,_0x5d52f0);}async[_0x4d54d5(0x1c8)](_0x3f3bda){const _0x556fd5=_0x4d54d5;await this[_0x556fd5(0x1be)][_0x556fd5(0x1ef)](_0x3f3bda);}async[_0x4d54d5(0x1bd)](_0x1e3040){const _0x3cb552=_0x4d54d5;await this[_0x3cb552(0x1e9)][_0x3cb552(0x1af)](_0x1e3040);}async[_0x4d54d5(0x1ca)](){const _0x46abde=_0x4d54d5;this[_0x46abde(0x1da)][_0x46abde(0x198)](''),this[_0x46abde(0x1da)][_0x46abde(0x197)](!0x0),await this[_0x46abde(0x1be)][_0x46abde(0x1b6)](),this[_0x46abde(0x1da)][_0x46abde(0x197)](!0x1);}[_0x4d54d5(0x1c9)](){const _0x245bce=_0x4d54d5,_0x4f156e=this[_0x245bce(0x1e9)][_0x245bce(0x1b4)]?.['id'],_0x5c3112=this[_0x245bce(0x195)]()[_0x245bce(0x1f0)](_0x56b52a=>({'title':_0x56b52a[_0x245bce(0x1a9)],'items':_0x56b52a[_0x245bce(0x1e6)][_0x245bce(0x1f0)](_0x4da10e=>({'id':_0x4da10e['id'],'title':_0x4da10e[_0x245bce(0x1a9)]||_0x2e3ade(this[_0x245bce(0x1f7)][_0x245bce(0x1d5)],_0x245bce(0x1d3)),'createdAt':new Date(_0x4da10e[_0x245bce(0x1ad)])[_0x245bce(0x1b2)](),'active':_0x4da10e['id']===_0x4f156e,'pinned':_0x4da10e[_0x245bce(0x1b0)]}))}));this[_0x245bce(0x1da)][_0x245bce(0x1c3)](_0x5c3112);}[_0x4d54d5(0x1c2)](_0x5bd4bf,_0x381d32){const _0x5cddc9=_0x4d54d5;this[_0x5cddc9(0x1da)][_0x5cddc9(0x1e0)](_0x5bd4bf,_0x381d32,!0x0);}[_0x4d54d5(0x1f4)](_0x3365f1){const _0x385193=_0x4d54d5;this[_0x385193(0x1da)][_0x385193(0x1e0)](_0x3365f1,null,!0x1);}[_0x4d54d5(0x1c4)](_0x20972c,_0x2c10fb,_0x2b4992){const _0x2d682a=_0x4d54d5,_0x2d5888=this[_0x2d682a(0x1a3)](_0x2c10fb,_0x2b4992);this[_0x2d682a(0x1da)][_0x2d682a(0x198)](_0x2d5888),_0x2b4992&&this[_0x2d682a(0x1f4)](_0x2b4992),this[_0x2d682a(0x1da)][_0x2d682a(0x197)](!0x1);}[_0x4d54d5(0x1a3)](_0x40ed75,_0x2a2a8d){const _0xcdaf46=_0x4d54d5,_0x401d61=_0x2a2a8d?this[_0xcdaf46(0x1be)][_0xcdaf46(0x1d0)](_0x2a2a8d):null,_0x380e92=_0x401d61?.[_0xcdaf46(0x1a9)]||_0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x1d3));switch(_0x40ed75){case _0xcdaf46(0x1e4):return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x1a2),_0x380e92);case _0xcdaf46(0x1cc):{const _0x16a5a5=_0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0x401d61?.[_0xcdaf46(0x1b0)]?_0xcdaf46(0x1ce):_0xcdaf46(0x1d7));return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x1b5),[_0x16a5a5,_0x380e92]);}case _0xcdaf46(0x1ef):return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x19e),_0x380e92);case _0xcdaf46(0x1b6):case _0xcdaf46(0x19a):return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x1e2));default:return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x196));}}[_0x4d54d5(0x195)](){const _0x59677f=_0x4d54d5,_0x4e9177=new Date(),_0x2d379b=new Date(_0x4e9177[_0x59677f(0x19f)](),_0x4e9177[_0x59677f(0x1df)](),_0x4e9177[_0x59677f(0x1c1)]()),_0x242bcd=new Date(_0x2d379b);_0x242bcd[_0x59677f(0x1d2)](_0x242bcd[_0x59677f(0x1c1)]()-0x1);const _0x2f01ee=new Date(_0x2d379b);_0x2f01ee[_0x59677f(0x1d2)](_0x2f01ee[_0x59677f(0x1c1)]()-0xe);const _0x37377f=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'pinned':!0x0}),_0x38ca3c=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'from':_0x2d379b,'to':_0x2d379b}),_0x4f195f=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'from':_0x242bcd,'to':_0x242bcd}),_0x3b9cbe=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'from':_0x2f01ee,'to':_0x242bcd}),_0x53e073=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'to':_0x2f01ee}),_0x3b9242=[];return _0x37377f[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x199)),'items':_0x37377f}),_0x38ca3c[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x1a5)),'items':_0x38ca3c}),_0x4f195f[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x1f2)),'items':_0x4f195f}),_0x3b9cbe[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x1d1)),'items':_0x3b9cbe}),_0x53e073[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x1d8)),'items':_0x53e073}),_0x3b9242;}[_0x4d54d5(0x1cb)](_0x52a6e0){const _0x17347b=_0x4d54d5;this[_0x17347b(0x1da)][_0x17347b(0x1b1)](_0x52a6e0);}}
23
+ const _0x33d7c8=_0xe71e;(function(_0x2243e5,_0x3b783a){const _0x5dec5b=_0xe71e,_0x10a505=_0x2243e5();while(!![]){try{const _0x40c648=parseInt(_0x5dec5b(0x12d))/0x1+-parseInt(_0x5dec5b(0x131))/0x2*(parseInt(_0x5dec5b(0xe2))/0x3)+parseInt(_0x5dec5b(0x135))/0x4*(parseInt(_0x5dec5b(0xfb))/0x5)+-parseInt(_0x5dec5b(0xe4))/0x6*(-parseInt(_0x5dec5b(0x134))/0x7)+parseInt(_0x5dec5b(0x121))/0x8+-parseInt(_0x5dec5b(0x106))/0x9*(parseInt(_0x5dec5b(0xe5))/0xa)+-parseInt(_0x5dec5b(0x10b))/0xb;if(_0x40c648===_0x3b783a)break;else _0x10a505['push'](_0x10a505['shift']());}catch(_0x42a78b){_0x10a505['push'](_0x10a505['shift']());}}}(_0x3d49,0xa92a1));import{ContextPlugin as _0x182bad}from'ckeditor5/src/core.js';function _0x3d49(){const _0x2cad12=['itemId','pinned','_showConversationHistory','pin','_aiChatHistoryUi','get','activeConversation','activateTab:history','map','1314098lOwLkX','_handleHistoryErrorUI','_clearItemLoading','locale','333006dSrdBg','AI_CHAT_HISTORY_ERROR_GENERIC','_handleRemove','350861ekGmIc','40ALgxjW','editConversationTitle','setDate','getFullYear','push','AI_CHAT_HISTORY_CATEGORY_LATER','createdAt','_aiConnector','pluginName','getGroupId','updates','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_getCategorizedItems','AI_CHAT_HISTORY_PIN_ACTION','setConversationPinned','view','showError','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','remove','AI_CHAT_UNTITLED_CONVERSATION','6HiAyJy','error','102atOXHY','1234330BHHpyn','resizeTabs','isOfficialPlugin','_aiChatController','context','activateTab','items','resizedTabs','handleRemovedConversation','_handleEditTitle','getMonth','openChat','operation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','chat','selectConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','_setIsMaximized','updateItems','updateItemPinned','removeHistoryItem','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','607835MifEfm','setLoadingSkeleton','toLocaleDateString','loadItems','isPremiumPlugin','getDate','removeConversation','unpin','itemUpdated','history','getItem','54Zlwhzb','change:activeConversation','listenTo','itemsLoaded','init','24537865nlfBro','AIChatHistoryController','loadConversation','plugins','_handleTogglePin','resize','AI_CHAT_HISTORY_CATEGORY_PINNED','_setItemLoading','AI_CHAT_HISTORY_UNPIN_ACTION','itemRemoved','_handleSelectConversation','setIsMaximized','removeItem','_generateErrorMessage','updateItemTitle','length','getItems','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','title','requires','_updateHistoryItemsUI','updateItemLoadingState','4922856ccUVwU','rename','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM'];_0x3d49=function(){return _0x2cad12;};return _0x3d49();}import{AIConnector as _0x5ca294}from'../aicore/aiconnector.js';import{AIChatController as _0x16b95c}from'../aichat/aichatcontroller.js';import{AITabs as _0x4007d2}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x26ed39}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5a41ca}from'./model/aichathistoryconversations.js';function _0xe71e(_0x4282f3,_0x5d1c45){const _0x3d49f7=_0x3d49();return _0xe71e=function(_0xe71e9c,_0x5c2067){_0xe71e9c=_0xe71e9c-0xd7;let _0x1c5667=_0x3d49f7[_0xe71e9c];return _0x1c5667;},_0xe71e(_0x4282f3,_0x5d1c45);}import{getTranslation as _0x1c4a67}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x182bad{[_0x33d7c8(0x13c)];[_0x33d7c8(0x128)];[_0x33d7c8(0xe8)];static get[_0x33d7c8(0x11e)](){return[_0x5ca294,_0x16b95c,_0x26ed39,_0x4007d2];}static get[_0x33d7c8(0x13d)](){const _0x2e954a=_0x33d7c8;return _0x2e954a(0x10c);}static get[_0x33d7c8(0xe7)](){return!0x0;}static get[_0x33d7c8(0xff)](){return!0x0;}[_0x33d7c8(0x10a)](){const _0x82801f=_0x33d7c8;this[_0x82801f(0x13c)]=this[_0x82801f(0xe9)][_0x82801f(0x10e)][_0x82801f(0x129)](_0x5ca294),this[_0x82801f(0x128)]=this[_0x82801f(0xe9)][_0x82801f(0x10e)][_0x82801f(0x129)](_0x26ed39),this[_0x82801f(0xe8)]=this[_0x82801f(0xe9)][_0x82801f(0x10e)][_0x82801f(0x129)](_0x16b95c);const _0x18bc3b=this[_0x82801f(0xe9)][_0x82801f(0x10e)][_0x82801f(0x129)](_0x4007d2),_0x5c418a=this[_0x82801f(0xe8)][_0x82801f(0xd7)]();this[_0x82801f(0x104)]=new _0x5a41ca({'connector':this[_0x82801f(0x13c)],'group':_0x5c418a}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0x101),(_0x3aaed8,_0x31d02f)=>{const _0x59f970=_0x82801f;this[_0x59f970(0x112)](_0x31d02f['id'],_0x59f970(0xe0)),this[_0x59f970(0x133)](_0x31d02f['id']);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0x136),(_0x1b89f0,_0x3f4417)=>{const _0x10dae0=_0x82801f;this[_0x10dae0(0x112)](_0x3f4417['id'],_0x10dae0(0x122)),this[_0x10dae0(0xee)](_0x3f4417['id'],_0x3f4417[_0x10dae0(0x11d)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x104)],_0x82801f(0x103),(_0x1845a0,_0x5b5f0d)=>{const _0x1953ab=_0x82801f;void 0x0!==_0x5b5f0d[_0x1953ab(0xd8)][_0x1953ab(0x11d)]&&this[_0x1953ab(0x128)][_0x1953ab(0x119)](_0x5b5f0d[_0x1953ab(0x124)],_0x5b5f0d[_0x1953ab(0xd8)][_0x1953ab(0x11d)]),void 0x0!==_0x5b5f0d[_0x1953ab(0xd8)][_0x1953ab(0x125)]&&this[_0x1953ab(0x11f)](),this[_0x1953ab(0x12f)](_0x5b5f0d[_0x1953ab(0x124)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x104)],_0x82801f(0x114),(_0x56a1b1,_0x30348d)=>{const _0x7fec19=_0x82801f;this[_0x7fec19(0xe8)][_0x7fec19(0xed)](_0x30348d[_0x7fec19(0x124)]),this[_0x7fec19(0x128)][_0x7fec19(0xf9)](_0x30348d[_0x7fec19(0x124)]),this[_0x7fec19(0x12f)](_0x30348d[_0x7fec19(0x124)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x104)],_0x82801f(0x109),()=>{const _0x7a32ea=_0x82801f;this[_0x7a32ea(0x11f)]();}),this[_0x82801f(0x108)](this[_0x82801f(0x104)],_0x82801f(0xe3),(_0x4edde4,_0x1cc4ae)=>{const _0x2a4bd1=_0x82801f;this[_0x2a4bd1(0x12e)](_0x1cc4ae[_0x2a4bd1(0xe3)],_0x1cc4ae[_0x2a4bd1(0xf1)],_0x1cc4ae[_0x2a4bd1(0x124)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0xf4),(_0x3fe7e1,_0x358260)=>{const _0x1f0247=_0x82801f;this[_0x1f0247(0x115)](_0x358260['id']);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0xdc),(_0x1c5f86,_0x59730d)=>{const _0x39eed1=_0x82801f,_0x56cdd1=_0x59730d[_0x39eed1(0x125)]?_0x39eed1(0x127):_0x39eed1(0x102);this[_0x39eed1(0x112)](_0x59730d['id'],_0x56cdd1),this[_0x39eed1(0x10f)](_0x59730d['id'],_0x59730d[_0x39eed1(0x125)]);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0xf0),()=>{const _0x571308=_0x82801f;_0x18bc3b[_0x571308(0xdd)][_0x571308(0xea)](_0x571308(0xf3));}),this[_0x82801f(0x108)](this[_0x82801f(0xe8)],_0x82801f(0x107),()=>{const _0xcdd1a6=_0x82801f;this[_0xcdd1a6(0x11f)]();}),_0x18bc3b[_0x82801f(0xdd)]['on'](_0x82801f(0x12b),()=>{const _0x378c2a=_0x82801f;this[_0x378c2a(0x126)]();}),this[_0x82801f(0x108)](_0x18bc3b,_0x82801f(0xec),(_0x132f09,_0x282355)=>{const _0x25d9ad=_0x82801f;this[_0x25d9ad(0xf6)](_0x282355);}),this[_0x82801f(0x108)](this[_0x82801f(0x128)],_0x82801f(0xe6),()=>{const _0x562c3c=_0x82801f;_0x18bc3b[_0x562c3c(0x110)]();});}async[_0x33d7c8(0xee)](_0x3b496e,_0x174eb1){const _0x474342=_0x33d7c8;await this[_0x474342(0x104)][_0x474342(0x119)](_0x3b496e,_0x174eb1);}async[_0x33d7c8(0x10f)](_0x474fa9,_0x3ddd81){const _0x412fd2=_0x33d7c8;await this[_0x412fd2(0x104)][_0x412fd2(0xf8)](_0x474fa9,_0x3ddd81);}async[_0x33d7c8(0x133)](_0x1e60aa){const _0x229167=_0x33d7c8;await this[_0x229167(0x104)][_0x229167(0x117)](_0x1e60aa);}async[_0x33d7c8(0x115)](_0x505b02){const _0x1f2313=_0x33d7c8;await this[_0x1f2313(0xe8)][_0x1f2313(0x10d)](_0x505b02);}async[_0x33d7c8(0x126)](){const _0x1a8332=_0x33d7c8;this[_0x1a8332(0x128)][_0x1a8332(0xde)](''),this[_0x1a8332(0x128)][_0x1a8332(0xfc)](!0x0),await this[_0x1a8332(0x104)][_0x1a8332(0x10a)](),this[_0x1a8332(0x128)][_0x1a8332(0xfc)](!0x1);}[_0x33d7c8(0x11f)](){const _0x2effc8=_0x33d7c8,_0xd2e471=this[_0x2effc8(0xe8)][_0x2effc8(0x12a)]?.['id'],_0x222684=this[_0x2effc8(0xda)]()[_0x2effc8(0x12c)](_0x1aaf57=>({'title':_0x1aaf57[_0x2effc8(0x11d)],'items':_0x1aaf57[_0x2effc8(0xeb)][_0x2effc8(0x12c)](_0xcdda22=>({'id':_0xcdda22['id'],'title':_0xcdda22[_0x2effc8(0x11d)]||_0x1c4a67(this[_0x2effc8(0xe9)][_0x2effc8(0x130)],_0x2effc8(0xe1)),'createdAt':new Date(_0xcdda22[_0x2effc8(0x13b)])[_0x2effc8(0xfd)](),'active':_0xcdda22['id']===_0xd2e471,'pinned':_0xcdda22[_0x2effc8(0x125)]}))}));this[_0x2effc8(0x128)][_0x2effc8(0xf7)](_0x222684);}[_0x33d7c8(0x112)](_0x318432,_0xfb73bc){const _0x385b57=_0x33d7c8;this[_0x385b57(0x128)][_0x385b57(0x120)](_0x318432,_0xfb73bc,!0x0);}[_0x33d7c8(0x12f)](_0x157fed){const _0x28435b=_0x33d7c8;this[_0x28435b(0x128)][_0x28435b(0x120)](_0x157fed,null,!0x1);}[_0x33d7c8(0x12e)](_0x5976c5,_0x2d4184,_0x5c6b27){const _0x2665b9=_0x33d7c8,_0x5676c4=this[_0x2665b9(0x118)](_0x2d4184,_0x5c6b27);this[_0x2665b9(0x128)][_0x2665b9(0xde)](_0x5676c4),_0x5c6b27&&this[_0x2665b9(0x12f)](_0x5c6b27),this[_0x2665b9(0x128)][_0x2665b9(0xfc)](!0x1);}[_0x33d7c8(0x118)](_0x30953e,_0x44e907){const _0x17ac87=_0x33d7c8,_0x5463c0=_0x44e907?this[_0x17ac87(0x104)][_0x17ac87(0x105)](_0x44e907):null,_0x26d1c3=_0x5463c0?.[_0x17ac87(0x11d)]||_0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0xe1));switch(_0x30953e){case _0x17ac87(0x119):return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0xf2),_0x26d1c3);case _0x17ac87(0xf8):{const _0x5b1372=_0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x5463c0?.[_0x17ac87(0x125)]?_0x17ac87(0x113):_0x17ac87(0xdb));return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0xdf),[_0x5b1372,_0x26d1c3]);}case _0x17ac87(0x117):return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0x123),_0x26d1c3);case _0x17ac87(0x10a):case _0x17ac87(0xfe):return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0xfa));default:return _0x1c4a67(this[_0x17ac87(0xe9)][_0x17ac87(0x130)],_0x17ac87(0x132));}}[_0x33d7c8(0xda)](){const _0x3cc4d2=_0x33d7c8,_0x396a68=new Date(),_0x1d8f28=new Date(_0x396a68[_0x3cc4d2(0x138)](),_0x396a68[_0x3cc4d2(0xef)](),_0x396a68[_0x3cc4d2(0x100)]()),_0x3aec54=new Date(_0x1d8f28);_0x3aec54[_0x3cc4d2(0x137)](_0x3aec54[_0x3cc4d2(0x100)]()-0x1);const _0x5cc475=new Date(_0x1d8f28);_0x5cc475[_0x3cc4d2(0x137)](_0x5cc475[_0x3cc4d2(0x100)]()-0xe);const _0x14f839=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'pinned':!0x0}),_0x2cae90=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'from':_0x1d8f28,'to':_0x1d8f28}),_0x86a19d=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'from':_0x3aec54,'to':_0x3aec54}),_0x19bddb=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'from':_0x5cc475,'to':_0x3aec54}),_0x5a8406=this[_0x3cc4d2(0x104)][_0x3cc4d2(0x11b)]({'to':_0x5cc475}),_0x41ea7c=[];return _0x14f839[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0x111)),'items':_0x14f839}),_0x2cae90[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0xf5)),'items':_0x2cae90}),_0x86a19d[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0x11c)),'items':_0x86a19d}),_0x19bddb[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0xd9)),'items':_0x19bddb}),_0x5a8406[_0x3cc4d2(0x11a)]>0x0&&_0x41ea7c[_0x3cc4d2(0x139)]({'title':_0x1c4a67(this[_0x3cc4d2(0xe9)][_0x3cc4d2(0x130)],_0x3cc4d2(0x13a)),'items':_0x5a8406}),_0x41ea7c;}[_0x33d7c8(0xf6)](_0x5f47b1){const _0x2cd9b3=_0x33d7c8;this[_0x2cd9b3(0x128)][_0x2cd9b3(0x116)](_0x5f47b1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2413e6=_0x122c;(function(_0x34b60c,_0x5133a2){const _0x546f94=_0x122c,_0x363945=_0x34b60c();while(!![]){try{const _0x925111=parseInt(_0x546f94(0x105))/0x1+-parseInt(_0x546f94(0x103))/0x2*(-parseInt(_0x546f94(0xfe))/0x3)+parseInt(_0x546f94(0xdf))/0x4+-parseInt(_0x546f94(0xef))/0x5*(-parseInt(_0x546f94(0xe1))/0x6)+-parseInt(_0x546f94(0xe2))/0x7*(parseInt(_0x546f94(0xeb))/0x8)+parseInt(_0x546f94(0xea))/0x9*(parseInt(_0x546f94(0xdc))/0xa)+-parseInt(_0x546f94(0xe5))/0xb;if(_0x925111===_0x5133a2)break;else _0x363945['push'](_0x363945['shift']());}catch(_0x5f0fcb){_0x363945['push'](_0x363945['shift']());}}}(_0x5137,0xe890d));import{ContextPlugin as _0x7ecb39}from'ckeditor5/src/core.js';function _0x122c(_0x5033c4,_0x3497b8){const _0x5137cb=_0x5137();return _0x122c=function(_0x122cc6,_0x2893bb){_0x122cc6=_0x122cc6-0xd9;let _0x2020ae=_0x5137cb[_0x122cc6];return _0x2020ae;},_0x122c(_0x5033c4,_0x3497b8);}import{AITabs as _0xfd065d}from'../aitabs/aitabs.js';import{IconAIHistory as _0x4f4bee}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0xa3a738}from'./ui/aichathistoryview.js';import{getTranslation as _0x1e28e0}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x2413e6(0xf1),_0x2413e6(0xed),_0x2413e6(0xf3),_0x2413e6(0xd9),_0x2413e6(0xe8),_0x2413e6(0xe9),_0x2413e6(0xdd)];function _0x5137(){const _0x19b41b=['history','setConversationPinned','isOfficialPlugin','addTab','10EkeNfy','resizeTabs','setLoadingSkeleton','725708CKwChi','AI_CHAT_HISTORY_HEADING','193026knEjCh','1611239PXsovA','requires','view','40813619BMDaCc','removeHistoryItem','isPremiumPlugin','selectConversation','openChat','4756626PrXxme','16hiLRJj','updateItemTitle','removeConversation','updateItems','245DDXOaf','updateHistoryItemsWithCategories','showConversationHistory','isLoading','editConversationTitle','_historyView','plugins','updateItemLoadingState','hideError','pluginName','showError','delegate','showResizeButton','locale','context','4357383iTOckC','setIsMaximized','errorMessage','AITabs','isMaximized','2qKYMTH','AIChatHistoryUI','1384491gjYcOv','get'];_0x5137=function(){return _0x19b41b;};return _0x5137();}export class AIChatHistoryUI extends _0x7ecb39{static get[_0x2413e6(0xe3)](){return[_0xfd065d];}[_0x2413e6(0xf4)];static get[_0x2413e6(0xf8)](){const _0x14d463=_0x2413e6;return _0x14d463(0x104);}static get[_0x2413e6(0xda)](){return!0x0;}static get[_0x2413e6(0xe7)](){return!0x0;}constructor(_0x91f6e5){const _0x11fa17=_0x2413e6;super(_0x91f6e5);const _0x255efe=this[_0x11fa17(0xfd)][_0x11fa17(0xf5)][_0x11fa17(0x106)](_0x11fa17(0x101));this[_0x11fa17(0xf4)]=new _0xa3a738(this[_0x11fa17(0xfd)][_0x11fa17(0xfc)],_0x255efe[_0x11fa17(0xfb)]),this[_0x11fa17(0xf4)][_0x11fa17(0xfa)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x255efe[_0x11fa17(0xe4)][_0x11fa17(0xdb)]({'id':_0x11fa17(0x107),'buttonLabel':_0x1e28e0(this[_0x11fa17(0xfd)][_0x11fa17(0xfc)],_0x11fa17(0xe0)),'buttonIcon':_0x4f4bee,'order':0x0,'content':this[_0x11fa17(0xf4)]});}[_0x2413e6(0xe6)](_0x428435){const _0x4abac7=_0x2413e6;this[_0x4abac7(0xf4)][_0x4abac7(0xe6)](_0x428435);}[_0x2413e6(0xee)](_0x25056c){const _0xd1d513=_0x2413e6;this[_0xd1d513(0xf4)][_0xd1d513(0xf0)](_0x25056c);}[_0x2413e6(0xec)](_0x2c549a,_0x1b2c27){const _0x290553=_0x2413e6;this[_0x290553(0xf4)][_0x290553(0xec)](_0x2c549a,_0x1b2c27);}[_0x2413e6(0xf6)](_0x1d47fb,_0x2535a7,_0x702ac8){const _0x447326=_0x2413e6;this[_0x447326(0xf4)][_0x447326(0xf6)](_0x1d47fb,_0x2535a7,_0x702ac8);}[_0x2413e6(0xde)](_0x48146d){const _0x49ef87=_0x2413e6;this[_0x49ef87(0xf4)][_0x49ef87(0xf2)]=_0x48146d;}[_0x2413e6(0xf9)](_0x27f0e1){const _0x49d3e0=_0x2413e6;this[_0x49d3e0(0xf4)][_0x49d3e0(0x100)]=_0x27f0e1;}[_0x2413e6(0xf7)](){const _0x980c31=_0x2413e6;this[_0x980c31(0xf4)][_0x980c31(0x100)]='';}[_0x2413e6(0xff)](_0x3230dd){const _0x3fc6b5=_0x2413e6;this[_0x3fc6b5(0xf4)][_0x3fc6b5(0x102)]=_0x3230dd;}}
23
+ const _0x48c4bc=_0x563b;(function(_0x19996b,_0xcbfa18){const _0x1c13ef=_0x563b,_0x205f3b=_0x19996b();while(!![]){try{const _0x896760=-parseInt(_0x1c13ef(0x1fe))/0x1+parseInt(_0x1c13ef(0x1e8))/0x2*(-parseInt(_0x1c13ef(0x1f9))/0x3)+-parseInt(_0x1c13ef(0x202))/0x4+parseInt(_0x1c13ef(0x1f2))/0x5+-parseInt(_0x1c13ef(0x201))/0x6*(parseInt(_0x1c13ef(0x1e0))/0x7)+-parseInt(_0x1c13ef(0x1fd))/0x8+parseInt(_0x1c13ef(0x207))/0x9;if(_0x896760===_0xcbfa18)break;else _0x205f3b['push'](_0x205f3b['shift']());}catch(_0x53c72d){_0x205f3b['push'](_0x205f3b['shift']());}}}(_0x1efe,0xc5d46));import{ContextPlugin as _0x36b437}from'ckeditor5/src/core.js';function _0x563b(_0x3e60f3,_0x44526b){const _0x1efe4b=_0x1efe();return _0x563b=function(_0x563bbc,_0x46999a){_0x563bbc=_0x563bbc-0x1de;let _0x2ed926=_0x1efe4b[_0x563bbc];return _0x2ed926;},_0x563b(_0x3e60f3,_0x44526b);}function _0x1efe(){const _0x2b36d2=['selectConversation','removeHistoryItem','delegate','get','openChat','138facQwI','AITabs','locale','view','3767768aQDNYk','359378gfKRrE','_historyView','showResizeButton','138zTNhQt','2921684dlUUVV','updateItems','isOfficialPlugin','setConversationPinned','removeConversation','25318197ZRvOVi','isLoading','showConversationHistory','errorMessage','addTab','showError','56413HbMlam','history','resizeTabs','context','setIsMaximized','setLoadingSkeleton','AIChatHistoryUI','pluginName','24046kPvjpS','updateItemTitle','updateItemLoadingState','AI_CHAT_HISTORY_HEADING','updateHistoryItemsWithCategories','editConversationTitle','requires','hideError','isPremiumPlugin','plugins','1481810FExWQG','isMaximized'];_0x1efe=function(){return _0x2b36d2;};return _0x1efe();}import{AITabs as _0xc8a94}from'../aitabs/aitabs.js';import{IconAIHistory as _0x101c3d}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x39e8f4}from'./ui/aichathistoryview.js';import{getTranslation as _0x1d0a49}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x48c4bc(0x209),_0x48c4bc(0x206),_0x48c4bc(0x1ed),_0x48c4bc(0x205),_0x48c4bc(0x1f4),_0x48c4bc(0x1f8),_0x48c4bc(0x1e2)];export class AIChatHistoryUI extends _0x36b437{static get[_0x48c4bc(0x1ee)](){return[_0xc8a94];}[_0x48c4bc(0x1ff)];static get[_0x48c4bc(0x1e7)](){const _0xd70af2=_0x48c4bc;return _0xd70af2(0x1e6);}static get[_0x48c4bc(0x204)](){return!0x0;}static get[_0x48c4bc(0x1f0)](){return!0x0;}constructor(_0x43f19b){const _0x3bc5cd=_0x48c4bc;super(_0x43f19b);const _0x4e3ea2=this[_0x3bc5cd(0x1e3)][_0x3bc5cd(0x1f1)][_0x3bc5cd(0x1f7)](_0x3bc5cd(0x1fa));this[_0x3bc5cd(0x1ff)]=new _0x39e8f4(this[_0x3bc5cd(0x1e3)][_0x3bc5cd(0x1fb)],_0x4e3ea2[_0x3bc5cd(0x200)]),this[_0x3bc5cd(0x1ff)][_0x3bc5cd(0x1f6)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4e3ea2[_0x3bc5cd(0x1fc)][_0x3bc5cd(0x1de)]({'id':_0x3bc5cd(0x1e1),'buttonLabel':_0x1d0a49(this[_0x3bc5cd(0x1e3)][_0x3bc5cd(0x1fb)],_0x3bc5cd(0x1eb)),'buttonIcon':_0x101c3d,'order':0x0,'content':this[_0x3bc5cd(0x1ff)]});}[_0x48c4bc(0x1f5)](_0x40067){const _0x1056cb=_0x48c4bc;this[_0x1056cb(0x1ff)][_0x1056cb(0x1f5)](_0x40067);}[_0x48c4bc(0x203)](_0x139311){const _0x2d0bad=_0x48c4bc;this[_0x2d0bad(0x1ff)][_0x2d0bad(0x1ec)](_0x139311);}[_0x48c4bc(0x1e9)](_0x16f144,_0x39cd09){const _0x4e37de=_0x48c4bc;this[_0x4e37de(0x1ff)][_0x4e37de(0x1e9)](_0x16f144,_0x39cd09);}[_0x48c4bc(0x1ea)](_0x923499,_0x33d7de,_0x4447d4){const _0x8f7542=_0x48c4bc;this[_0x8f7542(0x1ff)][_0x8f7542(0x1ea)](_0x923499,_0x33d7de,_0x4447d4);}[_0x48c4bc(0x1e5)](_0x1371a3){const _0x2722f9=_0x48c4bc;this[_0x2722f9(0x1ff)][_0x2722f9(0x208)]=_0x1371a3;}[_0x48c4bc(0x1df)](_0x4831bd){const _0x5b2f9b=_0x48c4bc;this[_0x5b2f9b(0x1ff)][_0x5b2f9b(0x20a)]=_0x4831bd;}[_0x48c4bc(0x1ef)](){const _0x56d3d4=_0x48c4bc;this[_0x56d3d4(0x1ff)][_0x56d3d4(0x20a)]='';}[_0x48c4bc(0x1e4)](_0x274928){const _0x2cf807=_0x48c4bc;this[_0x2cf807(0x1ff)][_0x2cf807(0x1f3)]=_0x274928;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4440(_0x473d00,_0x1ed90b){const _0x25f733=_0x25f7();return _0x4440=function(_0x444091,_0x1cf0bc){_0x444091=_0x444091-0xdc;let _0x5de148=_0x25f733[_0x444091];return _0x5de148;},_0x4440(_0x473d00,_0x1ed90b);}function _0x25f7(){const _0x3c794f=['filter','updateItemTitle','pinned','fetchConversations','193482nGPVek','from','find','group','getFullYear','init','408840IQDJgr','updatePinned','getTime','error','removeItem','getMonth','10msYqaq','getItem','loadItems','createdAt','updateItemPinned','7384fAdwuo','3vkJIdR','getItems','itemRemoved','6822zmMcKs','items','1519996mmeYIn','getDate','getResult','fire','2604855DKpZMg','connector','itemUpdated','splice','getConversations','1400856daElvL','addItem','push','itemsLoaded','findIndex','execute','2667660PLNHNH','map','deleteConversation','updateConversation','updateTitle','49EUaLWc'];_0x25f7=function(){return _0x3c794f;};return _0x25f7();}const _0x17cc99=_0x4440;(function(_0x27ddc2,_0x272152){const _0x22106d=_0x4440,_0x4dcbd1=_0x27ddc2();while(!![]){try{const _0x32c380=parseInt(_0x22106d(0xe6))/0x1+-parseInt(_0x22106d(0x106))/0x2+parseInt(_0x22106d(0xf8))/0x3*(parseInt(_0x22106d(0xfd))/0x4)+parseInt(_0x22106d(0xdc))/0x5+-parseInt(_0x22106d(0xec))/0x6*(parseInt(_0x22106d(0xe1))/0x7)+parseInt(_0x22106d(0xf7))/0x8*(parseInt(_0x22106d(0xfb))/0x9)+-parseInt(_0x22106d(0xf2))/0xa*(parseInt(_0x22106d(0x101))/0xb);if(_0x32c380===_0x272152)break;else _0x4dcbd1['push'](_0x4dcbd1['shift']());}catch(_0x638e0c){_0x4dcbd1['push'](_0x4dcbd1['shift']());}}}(_0x25f7,0x5fcf2));import{EmitterMixin as _0x3aeb46}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x4a258f}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x3aeb46(){[_0x17cc99(0xfc)]=[];[_0x17cc99(0x102)];[_0x17cc99(0xe9)];constructor({connector:_0x428c0d,group:_0x57bb77}){const _0x1606ac=_0x17cc99;super(),this[_0x1606ac(0x102)]=_0x428c0d,this[_0x1606ac(0xe9)]=_0x57bb77;}async[_0x17cc99(0xeb)](){const _0x133b00=_0x17cc99;try{const _0x375d9b=this[_0x133b00(0x102)][_0x133b00(0xe5)](this[_0x133b00(0xe9)]),_0xa3c8b6=await _0x375d9b[_0x133b00(0x105)]();this[_0x133b00(0xf4)](_0xa3c8b6);}catch(_0x72ab54){this[_0x133b00(0x100)](_0x133b00(0xef),{'error':_0x72ab54,'operation':_0x133b00(0xeb)});}}[_0x17cc99(0x107)](_0x5218da){const _0x23b449=_0x17cc99;this[_0x23b449(0xfc)][_0x23b449(0x108)](_0x5218da);}async[_0x17cc99(0xf0)](_0x25beef){const _0x387643=_0x17cc99,_0x3cf465=this[_0x387643(0xfc)][_0x387643(0x10a)](_0x3bae28=>_0x3bae28['id']===_0x25beef);if(-0x1===_0x3cf465)return!0x1;try{return await this[_0x387643(0x102)][_0x387643(0xde)](_0x25beef)[_0x387643(0x10b)](),this[_0x387643(0xfc)][_0x387643(0x104)](_0x3cf465,0x1),this[_0x387643(0x100)](_0x387643(0xfa),{'itemId':_0x25beef}),!0x0;}catch(_0x42ebeb){return this[_0x387643(0x100)](_0x387643(0xef),{'error':_0x42ebeb,'operation':_0x387643(0xf0),'itemId':_0x25beef}),!0x1;}}[_0x17cc99(0xf3)](_0x2bbeaf){const _0x24b051=_0x17cc99;return this[_0x24b051(0xfc)][_0x24b051(0xe8)](_0x2f48b8=>_0x2f48b8['id']===_0x2bbeaf);}async[_0x17cc99(0xe3)](_0x2be074,_0x4d3ace){const _0x5d2d20=_0x17cc99,_0x1de7ad=this[_0x5d2d20(0xf3)](_0x2be074);if(!_0x1de7ad)return!0x1;try{return await this[_0x5d2d20(0x102)][_0x5d2d20(0xdf)](_0x2be074,{'title':_0x4d3ace})[_0x5d2d20(0xff)](),_0x1de7ad[_0x5d2d20(0xe0)](_0x4d3ace),this[_0x5d2d20(0x100)](_0x5d2d20(0x103),{'itemId':_0x2be074,'updates':{'title':_0x4d3ace}}),!0x0;}catch(_0x5e699e){return this[_0x5d2d20(0x100)](_0x5d2d20(0xef),{'error':_0x5e699e,'operation':_0x5d2d20(0xe3),'itemId':_0x2be074}),!0x1;}}async[_0x17cc99(0xf6)](_0x52b0c0,_0x4e6d0c){const _0x263cde=_0x17cc99,_0x24eb40=this[_0x263cde(0xf3)](_0x52b0c0);if(!_0x24eb40)return!0x1;try{return await this[_0x263cde(0x102)][_0x263cde(0xdf)](_0x52b0c0,{'pinned':_0x4e6d0c})[_0x263cde(0xff)](),_0x24eb40[_0x263cde(0xed)](_0x4e6d0c),this[_0x263cde(0x100)](_0x263cde(0x103),{'itemId':_0x52b0c0,'updates':{'pinned':_0x4e6d0c}}),!0x0;}catch(_0x3e51d3){return this[_0x263cde(0x100)](_0x263cde(0xef),{'error':_0x3e51d3,'operation':_0x263cde(0xf6),'itemId':_0x52b0c0}),!0x1;}}[_0x17cc99(0xf4)](_0x1f7d63){const _0x3947f2=_0x17cc99;try{this[_0x3947f2(0xfc)]=[],_0x1f7d63[_0x3947f2(0xdd)](_0x5c7362=>{const _0xe3fd8a=_0x3947f2;this[_0xe3fd8a(0x107)](new _0x4a258f(_0x5c7362));}),this[_0x3947f2(0x100)](_0x3947f2(0x109),{'items':[...this[_0x3947f2(0xfc)]]});}catch(_0x3cc351){this[_0x3947f2(0x100)](_0x3947f2(0xef),{'error':_0x3cc351,'operation':_0x3947f2(0xf4)});}}[_0x17cc99(0xf9)](_0x41ae15={}){const _0x4bc50a=_0x17cc99,_0x13c1bf=void 0x0!==_0x41ae15[_0x4bc50a(0xe4)]&&_0x41ae15[_0x4bc50a(0xe4)],_0x3bd6a9=_0x41ae15[_0x4bc50a(0xe7)]?new Date(_0x41ae15[_0x4bc50a(0xe7)][_0x4bc50a(0xea)](),_0x41ae15[_0x4bc50a(0xe7)][_0x4bc50a(0xf1)](),_0x41ae15[_0x4bc50a(0xe7)][_0x4bc50a(0xfe)]()):null,_0x5808ba=_0x41ae15['to']?new Date(_0x41ae15['to'][_0x4bc50a(0xea)](),_0x41ae15['to'][_0x4bc50a(0xf1)](),_0x41ae15['to'][_0x4bc50a(0xfe)]()):null;return this[_0x4bc50a(0xfc)][_0x4bc50a(0xe2)](_0x54d2ef=>{const _0x36550f=_0x4bc50a;if(_0x54d2ef[_0x36550f(0xe4)]!==_0x13c1bf)return!0x1;if(_0x5808ba){const _0x33007f=new Date(_0x54d2ef[_0x36550f(0xf5)][_0x36550f(0xea)](),_0x54d2ef[_0x36550f(0xf5)][_0x36550f(0xf1)](),_0x54d2ef[_0x36550f(0xf5)][_0x36550f(0xfe)]());return _0x3bd6a9?_0x3bd6a9[_0x36550f(0xee)]()===_0x5808ba[_0x36550f(0xee)]()?_0x33007f[_0x36550f(0xee)]()===_0x3bd6a9[_0x36550f(0xee)]():_0x33007f<_0x5808ba&&_0x33007f>=_0x3bd6a9:_0x33007f<_0x5808ba;}return!0x0;});}}
23
+ const _0x58a155=_0x4c19;(function(_0x281c0d,_0x268b84){const _0x2cb288=_0x4c19,_0x5efaea=_0x281c0d();while(!![]){try{const _0x3e5ce5=-parseInt(_0x2cb288(0xb5))/0x1+parseInt(_0x2cb288(0xb4))/0x2*(parseInt(_0x2cb288(0xb0))/0x3)+parseInt(_0x2cb288(0xad))/0x4*(-parseInt(_0x2cb288(0xc5))/0x5)+-parseInt(_0x2cb288(0xd3))/0x6+parseInt(_0x2cb288(0xce))/0x7*(parseInt(_0x2cb288(0xc6))/0x8)+-parseInt(_0x2cb288(0xb9))/0x9+parseInt(_0x2cb288(0xc8))/0xa*(parseInt(_0x2cb288(0xc2))/0xb);if(_0x3e5ce5===_0x268b84)break;else _0x5efaea['push'](_0x5efaea['shift']());}catch(_0x4a53a8){_0x5efaea['push'](_0x5efaea['shift']());}}}(_0x2aa7,0x8874f));function _0x4c19(_0x157f20,_0x8f1f19){const _0x2aa7c4=_0x2aa7();return _0x4c19=function(_0x4c1915,_0x31d874){_0x4c1915=_0x4c1915-0xa6;let _0x3cb3fb=_0x2aa7c4[_0x4c1915];return _0x3cb3fb;},_0x4c19(_0x157f20,_0x8f1f19);}function _0x2aa7(){const _0x4256b1=['360066NnTPUJ','getFullYear','createdAt','error','getMonth','2681934ickJDG','updateTitle','fire','execute','push','updateConversation','fetchConversations','itemRemoved','map','splice','5648DAKOdk','pinned','updateItemPinned','27QZyFZo','updateItemTitle','getResult','findIndex','64502oPlmkQ','769882fwtrRf','group','init','items','6671826vovPot','find','getDate','itemUpdated','filter','getItem','addItem','getTime','getConversations','30368679lwWrxY','from','deleteConversation','2255ZSkLLD','16noGkeT','updatePinned','10rLuQxX','connector','removeItem','itemsLoaded','loadItems','getItems'];_0x2aa7=function(){return _0x4256b1;};return _0x2aa7();}import{EmitterMixin as _0x5cd387}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x3f57b2}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x5cd387(){[_0x58a155(0xb8)]=[];[_0x58a155(0xc9)];[_0x58a155(0xb6)];constructor({connector:_0x539fdd,group:_0x5323ec}){const _0x2efa19=_0x58a155;super(),this[_0x2efa19(0xc9)]=_0x539fdd,this[_0x2efa19(0xb6)]=_0x5323ec;}async[_0x58a155(0xb7)](){const _0x1329d4=_0x58a155;try{const _0x44eb32=this[_0x1329d4(0xc9)][_0x1329d4(0xa9)](this[_0x1329d4(0xb6)]),_0xe13cf8=await _0x44eb32[_0x1329d4(0xc1)]();this[_0x1329d4(0xcc)](_0xe13cf8);}catch(_0x368875){this[_0x1329d4(0xd5)](_0x1329d4(0xd1),{'error':_0x368875,'operation':_0x1329d4(0xb7)});}}[_0x58a155(0xbf)](_0x689f0b){const _0x39e428=_0x58a155;this[_0x39e428(0xb8)][_0x39e428(0xa7)](_0x689f0b);}async[_0x58a155(0xca)](_0xcad33d){const _0x4d53a7=_0x58a155,_0x490232=this[_0x4d53a7(0xb8)][_0x4d53a7(0xb3)](_0x499770=>_0x499770['id']===_0xcad33d);if(-0x1===_0x490232)return!0x1;try{return await this[_0x4d53a7(0xc9)][_0x4d53a7(0xc4)](_0xcad33d)[_0x4d53a7(0xa6)](),this[_0x4d53a7(0xb8)][_0x4d53a7(0xac)](_0x490232,0x1),this[_0x4d53a7(0xd5)](_0x4d53a7(0xaa),{'itemId':_0xcad33d}),!0x0;}catch(_0x5bc2e3){return this[_0x4d53a7(0xd5)](_0x4d53a7(0xd1),{'error':_0x5bc2e3,'operation':_0x4d53a7(0xca),'itemId':_0xcad33d}),!0x1;}}[_0x58a155(0xbe)](_0x4da2c5){const _0x11644d=_0x58a155;return this[_0x11644d(0xb8)][_0x11644d(0xba)](_0x4fb606=>_0x4fb606['id']===_0x4da2c5);}async[_0x58a155(0xb1)](_0x57c94b,_0x45a90f){const _0x3af17=_0x58a155,_0x12c583=this[_0x3af17(0xbe)](_0x57c94b);if(!_0x12c583)return!0x1;try{return await this[_0x3af17(0xc9)][_0x3af17(0xa8)](_0x57c94b,{'title':_0x45a90f})[_0x3af17(0xb2)](),_0x12c583[_0x3af17(0xd4)](_0x45a90f),this[_0x3af17(0xd5)](_0x3af17(0xbc),{'itemId':_0x57c94b,'updates':{'title':_0x45a90f}}),!0x0;}catch(_0x41ac13){return this[_0x3af17(0xd5)](_0x3af17(0xd1),{'error':_0x41ac13,'operation':_0x3af17(0xb1),'itemId':_0x57c94b}),!0x1;}}async[_0x58a155(0xaf)](_0x47a94b,_0x519161){const _0x57b431=_0x58a155,_0x353bca=this[_0x57b431(0xbe)](_0x47a94b);if(!_0x353bca)return!0x1;try{return await this[_0x57b431(0xc9)][_0x57b431(0xa8)](_0x47a94b,{'pinned':_0x519161})[_0x57b431(0xb2)](),_0x353bca[_0x57b431(0xc7)](_0x519161),this[_0x57b431(0xd5)](_0x57b431(0xbc),{'itemId':_0x47a94b,'updates':{'pinned':_0x519161}}),!0x0;}catch(_0x199650){return this[_0x57b431(0xd5)](_0x57b431(0xd1),{'error':_0x199650,'operation':_0x57b431(0xaf),'itemId':_0x47a94b}),!0x1;}}[_0x58a155(0xcc)](_0x5544b8){const _0x602017=_0x58a155;try{this[_0x602017(0xb8)]=[],_0x5544b8[_0x602017(0xab)](_0x197e0d=>{const _0x5e1b36=_0x602017;this[_0x5e1b36(0xbf)](new _0x3f57b2(_0x197e0d));}),this[_0x602017(0xd5)](_0x602017(0xcb),{'items':[...this[_0x602017(0xb8)]]});}catch(_0x5c9e80){this[_0x602017(0xd5)](_0x602017(0xd1),{'error':_0x5c9e80,'operation':_0x602017(0xcc)});}}[_0x58a155(0xcd)](_0x44468f={}){const _0x58d1a9=_0x58a155,_0x2d31a7=void 0x0!==_0x44468f[_0x58d1a9(0xae)]&&_0x44468f[_0x58d1a9(0xae)],_0x59d8bb=_0x44468f[_0x58d1a9(0xc3)]?new Date(_0x44468f[_0x58d1a9(0xc3)][_0x58d1a9(0xcf)](),_0x44468f[_0x58d1a9(0xc3)][_0x58d1a9(0xd2)](),_0x44468f[_0x58d1a9(0xc3)][_0x58d1a9(0xbb)]()):null,_0x35916e=_0x44468f['to']?new Date(_0x44468f['to'][_0x58d1a9(0xcf)](),_0x44468f['to'][_0x58d1a9(0xd2)](),_0x44468f['to'][_0x58d1a9(0xbb)]()):null;return this[_0x58d1a9(0xb8)][_0x58d1a9(0xbd)](_0x22478d=>{const _0x39c2b7=_0x58d1a9;if(_0x22478d[_0x39c2b7(0xae)]!==_0x2d31a7)return!0x1;if(_0x35916e){const _0x465d50=new Date(_0x22478d[_0x39c2b7(0xd0)][_0x39c2b7(0xcf)](),_0x22478d[_0x39c2b7(0xd0)][_0x39c2b7(0xd2)](),_0x22478d[_0x39c2b7(0xd0)][_0x39c2b7(0xbb)]());return _0x59d8bb?_0x59d8bb[_0x39c2b7(0xc0)]()===_0x35916e[_0x39c2b7(0xc0)]()?_0x465d50[_0x39c2b7(0xc0)]()===_0x59d8bb[_0x39c2b7(0xc0)]():_0x465d50<_0x35916e&&_0x465d50>=_0x59d8bb:_0x465d50<_0x35916e;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ecd00=_0x512d;(function(_0x4cf2a0,_0x46cb43){var _0x3eb229=_0x512d,_0x4bdf1c=_0x4cf2a0();while(!![]){try{var _0x393857=-parseInt(_0x3eb229(0xe4))/0x1+-parseInt(_0x3eb229(0xdd))/0x2*(-parseInt(_0x3eb229(0xe1))/0x3)+parseInt(_0x3eb229(0xda))/0x4*(-parseInt(_0x3eb229(0xd9))/0x5)+-parseInt(_0x3eb229(0xe8))/0x6+parseInt(_0x3eb229(0xe0))/0x7+-parseInt(_0x3eb229(0xd8))/0x8*(-parseInt(_0x3eb229(0xe6))/0x9)+-parseInt(_0x3eb229(0xdc))/0xa;if(_0x393857===_0x46cb43)break;else _0x4bdf1c['push'](_0x4bdf1c['shift']());}catch(_0xf5ed60){_0x4bdf1c['push'](_0x4bdf1c['shift']());}}}(_0x1314,0x2f0b2));import{ObservableMixin as _0x3873b9}from'ckeditor5/src/utils.js';import{escape as _0x16c45f}from'es-toolkit/compat';function _0x512d(_0x280042,_0x13675e){var _0x1314b3=_0x1314();return _0x512d=function(_0x512d3e,_0x14c0b2){_0x512d3e=_0x512d3e-0xd8;var _0x389c30=_0x1314b3[_0x512d3e];return _0x389c30;},_0x512d(_0x280042,_0x13675e);}export class AIChatHistoryItem extends _0x3873b9(){['id'];[_0x5ecd00(0xe3)];constructor({id:_0x285e72,title:_0x5643f6,createdAt:_0x21e038,updatedAt:_0x66c7f4,pinned:_0x5d8adf}){var _0x1191e2=_0x5ecd00;super(),this['id']=_0x285e72,this[_0x1191e2(0xe3)]=new Date(_0x21e038),this[_0x1191e2(0xdf)](_0x1191e2(0xde),_0x5643f6),this[_0x1191e2(0xdf)](_0x1191e2(0xe5),_0x66c7f4?new Date(_0x66c7f4):null),this[_0x1191e2(0xdf)](_0x1191e2(0xe2),_0x5d8adf||!0x1);}[_0x5ecd00(0xe7)](_0x58b831){var _0x2d97ea=_0x5ecd00;this[_0x2d97ea(0xdf)](_0x2d97ea(0xde),_0x16c45f(_0x58b831)),this[_0x2d97ea(0xe5)]=new Date();}[_0x5ecd00(0xdb)](_0x439473){var _0x4de3e4=_0x5ecd00;this[_0x4de3e4(0xdf)](_0x4de3e4(0xe2),_0x439473),this[_0x4de3e4(0xe5)]=new Date();}}function _0x1314(){var _0x4d9a65=['446vwGCBK','title','set','2070047vAXGnk','501DlEnAQ','pinned','createdAt','2235UazQJa','updatedAt','22689ItPzqH','updateTitle','564870kqvIbg','1096xbPDgC','23255WvoCCe','212AszSXU','updatePinned','1427660RSkGCk'];_0x1314=function(){return _0x4d9a65;};return _0x1314();}
23
+ function _0x4893(_0x1094db,_0x5670ce){var _0x4e221e=_0x4e22();return _0x4893=function(_0x4893b0,_0x162cc4){_0x4893b0=_0x4893b0-0x112;var _0x1bf6f7=_0x4e221e[_0x4893b0];return _0x1bf6f7;},_0x4893(_0x1094db,_0x5670ce);}var _0x14399e=_0x4893;(function(_0x7017cb,_0x57e78b){var _0x1f849b=_0x4893,_0x191fcb=_0x7017cb();while(!![]){try{var _0x270833=parseInt(_0x1f849b(0x118))/0x1*(-parseInt(_0x1f849b(0x115))/0x2)+-parseInt(_0x1f849b(0x119))/0x3+parseInt(_0x1f849b(0x121))/0x4*(-parseInt(_0x1f849b(0x11b))/0x5)+parseInt(_0x1f849b(0x11a))/0x6+-parseInt(_0x1f849b(0x117))/0x7*(-parseInt(_0x1f849b(0x122))/0x8)+-parseInt(_0x1f849b(0x11c))/0x9+parseInt(_0x1f849b(0x116))/0xa;if(_0x270833===_0x57e78b)break;else _0x191fcb['push'](_0x191fcb['shift']());}catch(_0x4de7fd){_0x191fcb['push'](_0x191fcb['shift']());}}}(_0x4e22,0x4e4cc));import{ObservableMixin as _0x58ca23}from'ckeditor5/src/utils.js';import{escape as _0x3a609d}from'es-toolkit/compat';function _0x4e22(){var _0x475c28=['8IYkVVi','8hrzQHv','title','createdAt','set','2MUTJav','14802590kItjwm','949249YCltKO','199371qoBCbi','878793QTkjdV','1888266yVCttO','1576235cIsiqs','4383585CRJymH','updateTitle','updatedAt','updatePinned','pinned'];_0x4e22=function(){return _0x475c28;};return _0x4e22();}export class AIChatHistoryItem extends _0x58ca23(){['id'];[_0x14399e(0x113)];constructor({id:_0x27cd68,title:_0x225880,createdAt:_0x4388b1,updatedAt:_0x304149,pinned:_0x17be61}){var _0x42b2ed=_0x14399e;super(),this['id']=_0x27cd68,this[_0x42b2ed(0x113)]=new Date(_0x4388b1),this[_0x42b2ed(0x114)](_0x42b2ed(0x112),_0x225880),this[_0x42b2ed(0x114)](_0x42b2ed(0x11e),_0x304149?new Date(_0x304149):null),this[_0x42b2ed(0x114)](_0x42b2ed(0x120),_0x17be61||!0x1);}[_0x14399e(0x11d)](_0x3abe48){var _0x123d2e=_0x14399e;this[_0x123d2e(0x114)](_0x123d2e(0x112),_0x3a609d(_0x3abe48)),this[_0x123d2e(0x11e)]=new Date();}[_0x14399e(0x11f)](_0x3e4727){var _0x3c840a=_0x14399e;this[_0x3c840a(0x114)](_0x3c840a(0x120),_0x3e4727),this[_0x3c840a(0x11e)]=new Date();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ef9b7=_0x7eb6;(function(_0x26a1a6,_0x2d5e94){const _0x3bc7b9=_0x7eb6,_0x1f46c9=_0x26a1a6();while(!![]){try{const _0x41b56f=-parseInt(_0x3bc7b9(0x112))/0x1+parseInt(_0x3bc7b9(0xcd))/0x2+parseInt(_0x3bc7b9(0xbb))/0x3*(parseInt(_0x3bc7b9(0xd3))/0x4)+-parseInt(_0x3bc7b9(0xee))/0x5+parseInt(_0x3bc7b9(0xfd))/0x6*(parseInt(_0x3bc7b9(0xdc))/0x7)+-parseInt(_0x3bc7b9(0x11a))/0x8+parseInt(_0x3bc7b9(0xbe))/0x9;if(_0x41b56f===_0x2d5e94)break;else _0x1f46c9['push'](_0x1f46c9['shift']());}catch(_0x55a7f6){_0x1f46c9['push'](_0x1f46c9['shift']());}}}(_0x2f68,0x6527d));import{ListItemView as _0x52f368,HighlightedTextView as _0x140ec7,ButtonView as _0xea4b7d,ListView as _0xc3a31f,IconView as _0x5b7cc0,createDropdown as _0x4c1ede,InputTextView as _0x247e86}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x31b554,IconPin as _0x3e919d,IconCheck as _0x6ae6e0,IconCancel as _0x9e8743}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x50c805,ConfirmMixin as _0xb82181}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2f68(){const _0x35b18e=['createCollection','items','_commitEditInputValue','editConversationTitle','bindTemplate','_createMenuDropdownView','_createSpinnerView','2231536OjAZLS','isMatching','21528PQXlOu','_createCancelEditButtonView','pinned','674631gjcKYk','Enter','setConversationPinned','key','execute','_titleView','_createPinButtonView','fire','isOn','AI_CHAT_HISTORY_PIN_BUTTON','ck-confirm-view-cancel','click','ck-ai-loader','ck-ai-chat-history__item--edit','children','737958KOiTFF','label','ck-ai-loader__text','isEdit','ck-ai-chat-history__item-row','setTemplate','104hwwHAM','span','AI_CHAT_HISTORY_LOADING_PINNING','showConfirm','loadingState','actions','AI_CHAT_HISTORY_LOADING_REMOVING','change:isEdit','focus','28PLyJGC','updateLoadingState','extendTemplate','updateTitle','withText','clear','removeConversation','locale','element','ck-ai-chat-history__item-date','_createCheckView','then','panelPosition','value','AI_CHAT_HISTORY_ACCEPT','AI_CHAT_HISTORY_LOADING_RENAMING','addMany','listitem','114770xSNmWU','ck-ai-chat-history__item-check-container','highlightText','ck-ai-chat-history__item-actions','AI_CHAT_HISTORY_REMOVE','ck-confirm-view-submit','isVisible','ck-hidden','bind','ck-ai-chat-history__item-check','text','add','mainContent','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','edit:cancel','901188YYwHyG','AI_CHAT_HISTORY_REMOVE_CONFIRM','match','ck-ai-chat-history__item-title','ck-ai-chat-history__item-main-content','AI_CHAT_HISTORY_LOADING_UNPINNING','ck-ai-chat-history__item--active','ck-ai-chat-history__item-content','buttonView','panelView','set','string','AI_CHAT_HISTORY_CANCEL','selectConversation','_createAcceptEditButtonView','ck-ai-chat-history__item','tiny','_createEditInputView','AI_CHAT_HISTORY_EDIT_NAME','LOADING_LABELS','div','515077ePWOZk'];_0x2f68=function(){return _0x35b18e;};return _0x2f68();}import{escape as _0x1b0366}from'es-toolkit/compat';function _0x7eb6(_0x1c8838,_0x4dc623){const _0x2f680c=_0x2f68();return _0x7eb6=function(_0x7eb6be,_0x1e2171){_0x7eb6be=_0x7eb6be-0xba;let _0x4f73f7=_0x2f680c[_0x7eb6be];return _0x4f73f7;},_0x7eb6(_0x1c8838,_0x4dc623);}import{AISpinnerView as _0x2368d4}from'../../aicore/ui/aispinner.js';import{getTranslation as _0xd1da1f}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0xb82181(_0x52f368){['id'];static [_0x1ef9b7(0x110)]={'remove':_0x1ef9b7(0xd9),'rename':_0x1ef9b7(0xeb),'pin':_0x1ef9b7(0xd5),'unpin':_0x1ef9b7(0x102)};[_0x1ef9b7(0xd8)];[_0x1ef9b7(0xfa)];[_0x1ef9b7(0xc3)];constructor(_0x1b704c,_0x1e467a){const _0xd6e089=_0x1ef9b7;super(_0x1b704c);const _0x3bceb5=this[_0xd6e089(0x117)];this[_0xd6e089(0x107)](_0xd6e089(0xd0),!0x1),this[_0xd6e089(0x107)](_0xd6e089(0xf4),!0x0),this[_0xd6e089(0x107)](_0xd6e089(0xbd),!!_0x1e467a[_0xd6e089(0xbd)]),this[_0xd6e089(0x107)](_0xd6e089(0xd7),null),this['id']=_0x1e467a['id'];const {title:_0x12e9ec,createdAt:_0x4d7c7a,active:_0x5de58b=!0x1}=_0x1e467a;this[_0xd6e089(0xc3)]=new _0x140ec7(),this[_0xd6e089(0xc3)][_0xd6e089(0xf8)]=_0x12e9ec,this[_0xd6e089(0xc3)][_0xd6e089(0xde)]({'attributes':{'class':[_0xd6e089(0x100)]}});const _0x21476d=this[_0xd6e089(0xe6)](),_0x23c210=this[_0xd6e089(0xc4)](_0x1b704c),_0x127a06=this[_0xd6e089(0x118)](),_0x4d122c=this[_0xd6e089(0x10e)](_0x1b704c,_0x12e9ec),_0x1d9e96=this[_0xd6e089(0x10b)](_0x1b704c,_0x4d122c),_0x4a071c=this[_0xd6e089(0xbc)](_0x1b704c,_0x4d122c);this[_0xd6e089(0xd8)]=this[_0xd6e089(0x113)](),this[_0xd6e089(0xfa)]=this[_0xd6e089(0x113)](),this[_0xd6e089(0xfa)][_0xd6e089(0xf9)](this[_0xd6e089(0xc3)]),this[_0xd6e089(0xd8)][_0xd6e089(0xf9)](_0x23c210),this[_0xd6e089(0xd8)][_0xd6e089(0xf9)](_0x127a06),this['on'](_0xd6e089(0xda),(_0x1ad3b8,_0xff12b3,_0x68c68f)=>{const _0x4bc424=_0xd6e089;this[_0x4bc424(0xd8)][_0x4bc424(0xe1)](),this[_0x4bc424(0xfa)][_0x4bc424(0xe1)](),_0x68c68f?(this[_0x4bc424(0xd8)][_0x4bc424(0xf9)](_0x1d9e96),this[_0x4bc424(0xd8)][_0x4bc424(0xf9)](_0x4a071c),this[_0x4bc424(0xfa)][_0x4bc424(0xf9)](_0x4d122c),_0x4d122c[_0x4bc424(0xe4)][_0x4bc424(0xdb)]()):(this[_0x4bc424(0xd8)][_0x4bc424(0xf9)](_0x23c210),this[_0x4bc424(0xd8)][_0x4bc424(0xf9)](_0x127a06),this[_0x4bc424(0xfa)][_0x4bc424(0xf9)](this[_0x4bc424(0xc3)]));}),this[_0xd6e089(0xd2)]({'tag':'li','attributes':{'class':[_0xd6e089(0x10c),_0x5de58b?_0xd6e089(0x103):'',_0x3bceb5['if'](_0xd6e089(0xf4),_0xd6e089(0xf5),_0x1598e6=>!_0x1598e6),_0x3bceb5['if'](_0xd6e089(0xd0),_0xd6e089(0xcb))],'role':_0xd6e089(0xed)},'children':[{'tag':_0xd6e089(0xd4),'attributes':{'class':[_0xd6e089(0xef)]},'children':[{'tag':_0xd6e089(0x111),'attributes':{'class':[_0xd6e089(0xf7),_0x3bceb5['if'](_0xd6e089(0xd7),_0xd6e089(0xf5),_0x2c4f61=>!!_0x2c4f61)]},'children':_0x5de58b?[_0x21476d]:[]},{'tag':_0xd6e089(0x111),'attributes':{'class':[_0xd6e089(0xca),_0x3bceb5['if'](_0xd6e089(0xd7),_0xd6e089(0xf5),_0x3a06b5=>!_0x3a06b5)]},'children':[this[_0xd6e089(0x119)]()]}]},{'tag':_0xd6e089(0x111),'attributes':{'class':[_0xd6e089(0xd1)]},'children':[{'tag':_0xd6e089(0x111),'attributes':{'class':[_0xd6e089(0x104)]},'on':{'click':this[_0xd6e089(0x117)]['to'](_0xd6e089(0xc9))},'children':[{'tag':_0xd6e089(0x111),'attributes':{'class':[_0xd6e089(0x101)]},'children':[{'tag':_0xd6e089(0x111),'attributes':{'class':[_0xd6e089(0x100),_0x3bceb5['if'](_0xd6e089(0xd7),_0xd6e089(0xf5),_0x57416a=>!!_0x57416a)]},'children':this[_0xd6e089(0xfa)]},{'tag':_0xd6e089(0x111),'attributes':{'class':[_0xd6e089(0xcf),_0x3bceb5['if'](_0xd6e089(0xd7),_0xd6e089(0xf5),_0x3ca758=>!_0x3ca758)]},'children':[{'text':_0x3bceb5['to'](_0xd6e089(0xd7),_0x3fdc8f=>_0x3fdc8f?_0xd1da1f(this[_0xd6e089(0xe3)],AIChatHistoryListItemView[_0xd6e089(0x110)][_0x3fdc8f]):'')}]}]},{'tag':_0xd6e089(0xd4),'attributes':{'class':[_0xd6e089(0xe5)]},'children':[_0x4d7c7a]}]},{'tag':_0xd6e089(0x111),'attributes':{'class':[_0xd6e089(0xf1)]},'children':this[_0xd6e089(0xd8)]}]}]}),this['on'](_0xd6e089(0xc9),()=>{const _0xd7a23=_0xd6e089;this[_0xd7a23(0xd0)]||this[_0xd7a23(0xc5)](_0xd7a23(0x10a),{'id':this['id']});});}[_0x1ef9b7(0xdf)](_0x37a1f8){const _0x5a73ba=_0x1ef9b7;this[_0x5a73ba(0xc3)][_0x5a73ba(0xf8)]=_0x1b0366(_0x37a1f8);}[_0x1ef9b7(0xdd)](_0x292801,_0x3d5545){const _0x16901e=_0x1ef9b7;this[_0x16901e(0x107)](_0x16901e(0xd7),_0x3d5545?_0x292801:null);}[_0x1ef9b7(0xe6)](){const _0x4ec505=_0x1ef9b7,_0x14f17b=new _0x5b7cc0();return _0x14f17b[_0x4ec505(0x107)]({'content':_0x6ae6e0}),_0x14f17b;}[_0x1ef9b7(0xc4)](_0x45a7ef){const _0x50a09f=_0x1ef9b7,_0x24dbc5=new _0xea4b7d(_0x45a7ef);return _0x24dbc5[_0x50a09f(0x107)]({'label':_0xd1da1f(_0x45a7ef,_0x50a09f(0xc7)),'icon':_0x3e919d,'withText':!0x1,'tooltip':!0x0}),_0x24dbc5[_0x50a09f(0xf6)](_0x50a09f(0xc6))['to'](this,_0x50a09f(0xbd)),_0x24dbc5['on'](_0x50a09f(0xc2),()=>{const _0x1132f3=_0x50a09f,_0xc0538c=!this[_0x1132f3(0xbd)];this[_0x1132f3(0xc5)](_0x1132f3(0xc0),{'id':this['id'],'pinned':_0xc0538c});}),_0x24dbc5;}[_0x1ef9b7(0x118)](){const _0x583083=_0x1ef9b7,_0x1c6cbf=_0x4c1ede(this[_0x583083(0xe3)],_0x50c805),_0x2ff449=_0x1c6cbf[_0x583083(0x106)][_0x583083(0xcc)];_0x1c6cbf[_0x583083(0x105)][_0x583083(0x107)]({'label':_0xd1da1f(this[_0x583083(0xe3)],_0x583083(0xfb)),'icon':_0x31b554}),_0x1c6cbf[_0x583083(0xe8)]='sw';const _0x5a0601=new _0xea4b7d(this[_0x583083(0xe3)]);_0x5a0601[_0x583083(0xce)]=_0xd1da1f(this[_0x583083(0xe3)],_0x583083(0x10f)),_0x5a0601[_0x583083(0xe0)]=!0x0,_0x5a0601['on'](_0x583083(0xc2),()=>{const _0xf19454=_0x583083;this[_0xf19454(0xd0)]=!0x0;});const _0x3ef0c8=new _0xea4b7d(this[_0x583083(0xe3)]);_0x3ef0c8[_0x583083(0xce)]=_0xd1da1f(this[_0x583083(0xe3)],_0x583083(0xf2)),_0x3ef0c8[_0x583083(0xe0)]=!0x0,_0x3ef0c8['on'](_0x583083(0xc2),()=>{const _0x52d78d=_0x583083;this[_0x52d78d(0xd6)](_0xd1da1f(this[_0x52d78d(0xe3)],_0x52d78d(0xfe)),this[_0x52d78d(0xe4)])[_0x52d78d(0xe7)](()=>{const _0x54d991=_0x52d78d;this[_0x54d991(0xc5)](_0x54d991(0xe2),{'id':this['id']});});});const _0x113a03=new _0xc3a31f(this[_0x583083(0xe3)]),_0x1ce082=new _0x52f368(this[_0x583083(0xe3)]);_0x1ce082[_0x583083(0xcc)][_0x583083(0xf9)](_0x5a0601);const _0xf38e46=new _0x52f368(this[_0x583083(0xe3)]);return _0xf38e46[_0x583083(0xcc)][_0x583083(0xf9)](_0x3ef0c8),_0x113a03[_0x583083(0x114)][_0x583083(0xec)]([_0x1ce082,_0xf38e46]),_0x2ff449[_0x583083(0xf9)](_0x113a03),_0x1c6cbf;}[_0x1ef9b7(0x10e)](_0x145c78,_0x32b802){const _0x3755b1=_0x1ef9b7,_0x186c66=new _0x247e86(_0x145c78),_0x4f6fbe=_0x186c66[_0x3755b1(0x117)];return _0x186c66[_0x3755b1(0xe9)]=_0x32b802,_0x186c66[_0x3755b1(0xde)]({'on':{'keydown':_0x4f6fbe['to'](_0x5dd6ae=>{const _0x425c8f=_0x3755b1;_0x425c8f(0xbf)==_0x5dd6ae[_0x425c8f(0xc1)]&&this[_0x425c8f(0x115)](_0x186c66);})}}),_0x186c66;}[_0x1ef9b7(0x10b)](_0x4aec0f,_0x5bd1ed){const _0xceca16=_0x1ef9b7,_0x244f3d=new _0xea4b7d(_0x4aec0f);return _0x244f3d[_0xceca16(0x107)]({'icon':_0x6ae6e0,'withText':!0x1,'tooltip':_0xd1da1f(_0x4aec0f,_0xceca16(0xea))}),_0x244f3d[_0xceca16(0xde)]({'attributes':{'class':[_0xceca16(0xf3)]}}),_0x244f3d['on'](_0xceca16(0xc2),()=>{const _0x3f3ee0=_0xceca16;this[_0x3f3ee0(0x115)](_0x5bd1ed);}),_0x244f3d;}[_0x1ef9b7(0x115)](_0x3589fb){const _0x4d61a7=_0x1ef9b7,_0x24bf49=_0x3589fb[_0x4d61a7(0xe4)][_0x4d61a7(0xe9)]||'';this[_0x4d61a7(0xc3)][_0x4d61a7(0xf8)]=_0x24bf49,this[_0x4d61a7(0xd0)]=!0x1,this[_0x4d61a7(0xc5)](_0x4d61a7(0x116),{'id':this['id'],'title':_0x24bf49});}[_0x1ef9b7(0xbc)](_0x1b4ee6,_0x5200ca){const _0x4c2413=_0x1ef9b7,_0x183901=new _0xea4b7d(_0x1b4ee6);return _0x183901[_0x4c2413(0x107)]({'icon':_0x9e8743,'withText':!0x1,'tooltip':_0xd1da1f(_0x1b4ee6,_0x4c2413(0x109))}),_0x183901[_0x4c2413(0xde)]({'attributes':{'class':[_0x4c2413(0xc8)]}}),_0x183901['on'](_0x4c2413(0xc2),()=>{const _0x40dcfb=_0x4c2413;this[_0x40dcfb(0xd0)]=!0x1,_0x5200ca[_0x40dcfb(0xe9)]=this[_0x40dcfb(0xc3)][_0x40dcfb(0xf8)]||'',this[_0x40dcfb(0xc5)](_0x40dcfb(0xfc));}),_0x183901;}[_0x1ef9b7(0x119)](){const _0x165c38=_0x1ef9b7,_0xd0f2e=new _0x2368d4(_0x165c38(0x10d));return _0xd0f2e[_0x165c38(0xf4)]=!0x0,_0xd0f2e;}[_0x1ef9b7(0xba)](_0x3fd821){const _0x30fa50=_0x1ef9b7;return this[_0x30fa50(0xc3)]&&_0x30fa50(0x108)==typeof this[_0x30fa50(0xc3)][_0x30fa50(0xf8)]&&this[_0x30fa50(0xc3)][_0x30fa50(0xf8)][_0x30fa50(0xff)](_0x3fd821)?{'title':!0x0}:null;}[_0x1ef9b7(0xf0)](_0x4d59e4){const _0x25195d=_0x1ef9b7;this[_0x25195d(0xc3)][_0x25195d(0xf0)](_0x4d59e4);}}
23
+ const _0xc05e66=_0x1b6e;(function(_0x16d5ad,_0x201965){const _0x12839f=_0x1b6e,_0x54635b=_0x16d5ad();while(!![]){try{const _0x3663c1=-parseInt(_0x12839f(0x1f5))/0x1+-parseInt(_0x12839f(0x204))/0x2+-parseInt(_0x12839f(0x1bb))/0x3*(parseInt(_0x12839f(0x1c0))/0x4)+parseInt(_0x12839f(0x1d7))/0x5*(parseInt(_0x12839f(0x1ec))/0x6)+parseInt(_0x12839f(0x1f3))/0x7*(parseInt(_0x12839f(0x1db))/0x8)+parseInt(_0x12839f(0x20d))/0x9*(parseInt(_0x12839f(0x1d6))/0xa)+-parseInt(_0x12839f(0x20f))/0xb*(parseInt(_0x12839f(0x1cb))/0xc);if(_0x3663c1===_0x201965)break;else _0x54635b['push'](_0x54635b['shift']());}catch(_0x1ac8d0){_0x54635b['push'](_0x54635b['shift']());}}}(_0x5775,0xc1572));import{ListItemView as _0x40bd82,HighlightedTextView as _0x127155,ButtonView as _0x5968cd,ListView as _0x492f88,IconView as _0x8a3585,createDropdown as _0x28e7ed,InputTextView as _0xf03d20}from'ckeditor5/src/ui.js';function _0x5775(){const _0x4b405c=['element','click','isVisible','ck-ai-loader','12lYONXw','buttonView','ck-ai-chat-history__item-row','bindTemplate','ck-ai-chat-history__item-check-container','selectConversation','panelView','ck-ai-chat-history__item','isMatching','_createSpinnerView','change:isEdit','559670ciRNxX','2356115osdwhE','ck-ai-chat-history__item-date','removeConversation','_createCheckView','157448BCXBcH','AI_CHAT_HISTORY_LOADING_REMOVING','ck-ai-chat-history__item-content','ck-ai-chat-history__item-actions','focus','ck-confirm-view-submit','_titleView','_createMenuDropdownView','ck-hidden','updateLoadingState','setTemplate','LOADING_LABELS','AI_CHAT_HISTORY_REMOVE','extendTemplate','AI_CHAT_HISTORY_ACCEPT','_createCancelEditButtonView','showConfirm','18ZcFICp','editConversationTitle','AI_CHAT_HISTORY_LOADING_UNPINNING','highlightText','bind','loadingState','ck-ai-chat-history__item-check','7MOBLRY','AI_CHAT_HISTORY_PIN_BUTTON','337771dHQHUj','pinned','isOn','panelPosition','then','ck-ai-chat-history__item-title','actions','items','addMany','mainContent','Enter','edit:cancel','AI_CHAT_HISTORY_LOADING_PINNING','_createAcceptEditButtonView','children','36168ETBPIX','text','value','string','fire','_createEditInputView','AI_CHAT_HISTORY_EDIT_NAME','label','createCollection','207dpfsMb','AI_CHAT_HISTORY_REMOVE_CONFIRM','13430373BFwmwV','ck-ai-loader__text','match','tiny','locale','AI_CHAT_HISTORY_CANCEL','set','withText','ck-ai-chat-history__item-main-content','ck-ai-chat-history__item--edit','_createPinButtonView','add','ck-ai-chat-history__item--active','clear','updateTitle','execute','3VpzDCM','setConversationPinned','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','isEdit','listitem','1407484KiBovc','_commitEditInputValue','div','span','AI_CHAT_HISTORY_LOADING_RENAMING','key','ck-confirm-view-cancel'];_0x5775=function(){return _0x4b405c;};return _0x5775();}function _0x1b6e(_0x516007,_0x1b7904){const _0x5775bf=_0x5775();return _0x1b6e=function(_0x1b6eb1,_0x2fcde1){_0x1b6eb1=_0x1b6eb1-0x1b8;let _0x52c14c=_0x5775bf[_0x1b6eb1];return _0x52c14c;},_0x1b6e(_0x516007,_0x1b7904);}import{IconThreeHorizontalDots as _0x2537ac,IconPin as _0x4823ef,IconCheck as _0xbd6b22,IconCancel as _0x3b57bb}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x3c9add,ConfirmMixin as _0x5d745a}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x3d558b}from'es-toolkit/compat';import{AISpinnerView as _0x38456c}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x514aec}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x5d745a(_0x40bd82){['id'];static [_0xc05e66(0x1e6)]={'remove':_0xc05e66(0x1dc),'rename':_0xc05e66(0x1c4),'pin':_0xc05e66(0x201),'unpin':_0xc05e66(0x1ee)};[_0xc05e66(0x1fb)];[_0xc05e66(0x1fe)];[_0xc05e66(0x1e1)];constructor(_0x364e4c,_0x51faa2){const _0x1d37a7=_0xc05e66;super(_0x364e4c);const _0x1ae0a8=this[_0x1d37a7(0x1ce)];this[_0x1d37a7(0x215)](_0x1d37a7(0x1be),!0x1),this[_0x1d37a7(0x215)](_0x1d37a7(0x1c9),!0x0),this[_0x1d37a7(0x215)](_0x1d37a7(0x1f6),!!_0x51faa2[_0x1d37a7(0x1f6)]),this[_0x1d37a7(0x215)](_0x1d37a7(0x1f1),null),this['id']=_0x51faa2['id'];const {title:_0x810e61,createdAt:_0x440f0c,active:_0x3122d0=!0x1}=_0x51faa2;this[_0x1d37a7(0x1e1)]=new _0x127155(),this[_0x1d37a7(0x1e1)][_0x1d37a7(0x205)]=_0x810e61,this[_0x1d37a7(0x1e1)][_0x1d37a7(0x1e8)]({'attributes':{'class':[_0x1d37a7(0x1fa)]}});const _0x5c53fe=this[_0x1d37a7(0x1da)](),_0x682524=this[_0x1d37a7(0x219)](_0x364e4c),_0x2487c6=this[_0x1d37a7(0x1e2)](),_0x320e64=this[_0x1d37a7(0x209)](_0x364e4c,_0x810e61),_0x1dad93=this[_0x1d37a7(0x202)](_0x364e4c,_0x320e64),_0x251e88=this[_0x1d37a7(0x1ea)](_0x364e4c,_0x320e64);this[_0x1d37a7(0x1fb)]=this[_0x1d37a7(0x20c)](),this[_0x1d37a7(0x1fe)]=this[_0x1d37a7(0x20c)](),this[_0x1d37a7(0x1fe)][_0x1d37a7(0x21a)](this[_0x1d37a7(0x1e1)]),this[_0x1d37a7(0x1fb)][_0x1d37a7(0x21a)](_0x682524),this[_0x1d37a7(0x1fb)][_0x1d37a7(0x21a)](_0x2487c6),this['on'](_0x1d37a7(0x1d5),(_0x4c10c0,_0x23e09d,_0x1bab9c)=>{const _0x1c457d=_0x1d37a7;this[_0x1c457d(0x1fb)][_0x1c457d(0x1b8)](),this[_0x1c457d(0x1fe)][_0x1c457d(0x1b8)](),_0x1bab9c?(this[_0x1c457d(0x1fb)][_0x1c457d(0x21a)](_0x1dad93),this[_0x1c457d(0x1fb)][_0x1c457d(0x21a)](_0x251e88),this[_0x1c457d(0x1fe)][_0x1c457d(0x21a)](_0x320e64),_0x320e64[_0x1c457d(0x1c7)][_0x1c457d(0x1df)]()):(this[_0x1c457d(0x1fb)][_0x1c457d(0x21a)](_0x682524),this[_0x1c457d(0x1fb)][_0x1c457d(0x21a)](_0x2487c6),this[_0x1c457d(0x1fe)][_0x1c457d(0x21a)](this[_0x1c457d(0x1e1)]));}),this[_0x1d37a7(0x1e5)]({'tag':'li','attributes':{'class':[_0x1d37a7(0x1d2),_0x3122d0?_0x1d37a7(0x21b):'',_0x1ae0a8['if'](_0x1d37a7(0x1c9),_0x1d37a7(0x1e3),_0x914d64=>!_0x914d64),_0x1ae0a8['if'](_0x1d37a7(0x1be),_0x1d37a7(0x218))],'role':_0x1d37a7(0x1bf)},'children':[{'tag':_0x1d37a7(0x1c3),'attributes':{'class':[_0x1d37a7(0x1cf)]},'children':[{'tag':_0x1d37a7(0x1c2),'attributes':{'class':[_0x1d37a7(0x1f2),_0x1ae0a8['if'](_0x1d37a7(0x1f1),_0x1d37a7(0x1e3),_0x55dc5d=>!!_0x55dc5d)]},'children':_0x3122d0?[_0x5c53fe]:[]},{'tag':_0x1d37a7(0x1c2),'attributes':{'class':[_0x1d37a7(0x1ca),_0x1ae0a8['if'](_0x1d37a7(0x1f1),_0x1d37a7(0x1e3),_0x9cf57f=>!_0x9cf57f)]},'children':[this[_0x1d37a7(0x1d4)]()]}]},{'tag':_0x1d37a7(0x1c2),'attributes':{'class':[_0x1d37a7(0x1cd)]},'children':[{'tag':_0x1d37a7(0x1c2),'attributes':{'class':[_0x1d37a7(0x1dd)]},'on':{'click':this[_0x1d37a7(0x1ce)]['to'](_0x1d37a7(0x1c8))},'children':[{'tag':_0x1d37a7(0x1c2),'attributes':{'class':[_0x1d37a7(0x217)]},'children':[{'tag':_0x1d37a7(0x1c2),'attributes':{'class':[_0x1d37a7(0x1fa),_0x1ae0a8['if'](_0x1d37a7(0x1f1),_0x1d37a7(0x1e3),_0xd72c96=>!!_0xd72c96)]},'children':this[_0x1d37a7(0x1fe)]},{'tag':_0x1d37a7(0x1c2),'attributes':{'class':[_0x1d37a7(0x210),_0x1ae0a8['if'](_0x1d37a7(0x1f1),_0x1d37a7(0x1e3),_0x3cfbf9=>!_0x3cfbf9)]},'children':[{'text':_0x1ae0a8['to'](_0x1d37a7(0x1f1),_0x3fb8fc=>_0x3fb8fc?_0x514aec(this[_0x1d37a7(0x213)],AIChatHistoryListItemView[_0x1d37a7(0x1e6)][_0x3fb8fc]):'')}]}]},{'tag':_0x1d37a7(0x1c3),'attributes':{'class':[_0x1d37a7(0x1d8)]},'children':[_0x440f0c]}]},{'tag':_0x1d37a7(0x1c2),'attributes':{'class':[_0x1d37a7(0x1de)]},'children':this[_0x1d37a7(0x1fb)]}]}]}),this['on'](_0x1d37a7(0x1c8),()=>{const _0x448425=_0x1d37a7;this[_0x448425(0x1be)]||this[_0x448425(0x208)](_0x448425(0x1d0),{'id':this['id']});});}[_0xc05e66(0x1b9)](_0x433ad2){const _0x3ec268=_0xc05e66;this[_0x3ec268(0x1e1)][_0x3ec268(0x205)]=_0x3d558b(_0x433ad2);}[_0xc05e66(0x1e4)](_0x231e17,_0x5d40d1){const _0x226f65=_0xc05e66;this[_0x226f65(0x215)](_0x226f65(0x1f1),_0x5d40d1?_0x231e17:null);}[_0xc05e66(0x1da)](){const _0x38be3e=_0xc05e66,_0x2ba569=new _0x8a3585();return _0x2ba569[_0x38be3e(0x215)]({'content':_0xbd6b22}),_0x2ba569;}[_0xc05e66(0x219)](_0x407a12){const _0x302382=_0xc05e66,_0xbd0c7c=new _0x5968cd(_0x407a12);return _0xbd0c7c[_0x302382(0x215)]({'label':_0x514aec(_0x407a12,_0x302382(0x1f4)),'icon':_0x4823ef,'withText':!0x1,'tooltip':!0x0}),_0xbd0c7c[_0x302382(0x1f0)](_0x302382(0x1f7))['to'](this,_0x302382(0x1f6)),_0xbd0c7c['on'](_0x302382(0x1ba),()=>{const _0x3efd27=_0x302382,_0x4cc44c=!this[_0x3efd27(0x1f6)];this[_0x3efd27(0x208)](_0x3efd27(0x1bc),{'id':this['id'],'pinned':_0x4cc44c});}),_0xbd0c7c;}[_0xc05e66(0x1e2)](){const _0x103f2f=_0xc05e66,_0x32984f=_0x28e7ed(this[_0x103f2f(0x213)],_0x3c9add),_0x193720=_0x32984f[_0x103f2f(0x1d1)][_0x103f2f(0x203)];_0x32984f[_0x103f2f(0x1cc)][_0x103f2f(0x215)]({'label':_0x514aec(this[_0x103f2f(0x213)],_0x103f2f(0x1bd)),'icon':_0x2537ac}),_0x32984f[_0x103f2f(0x1f8)]='sw';const _0x51563c=new _0x5968cd(this[_0x103f2f(0x213)]);_0x51563c[_0x103f2f(0x20b)]=_0x514aec(this[_0x103f2f(0x213)],_0x103f2f(0x20a)),_0x51563c[_0x103f2f(0x216)]=!0x0,_0x51563c['on'](_0x103f2f(0x1ba),()=>{const _0x558ab8=_0x103f2f;this[_0x558ab8(0x1be)]=!0x0;});const _0x223da7=new _0x5968cd(this[_0x103f2f(0x213)]);_0x223da7[_0x103f2f(0x20b)]=_0x514aec(this[_0x103f2f(0x213)],_0x103f2f(0x1e7)),_0x223da7[_0x103f2f(0x216)]=!0x0,_0x223da7['on'](_0x103f2f(0x1ba),()=>{const _0x2a3d60=_0x103f2f;this[_0x2a3d60(0x1eb)](_0x514aec(this[_0x2a3d60(0x213)],_0x2a3d60(0x20e)),this[_0x2a3d60(0x1c7)])[_0x2a3d60(0x1f9)](()=>{const _0x34edc=_0x2a3d60;this[_0x34edc(0x208)](_0x34edc(0x1d9),{'id':this['id']});});});const _0x2e228c=new _0x492f88(this[_0x103f2f(0x213)]),_0xb6907b=new _0x40bd82(this[_0x103f2f(0x213)]);_0xb6907b[_0x103f2f(0x203)][_0x103f2f(0x21a)](_0x51563c);const _0x3872f5=new _0x40bd82(this[_0x103f2f(0x213)]);return _0x3872f5[_0x103f2f(0x203)][_0x103f2f(0x21a)](_0x223da7),_0x2e228c[_0x103f2f(0x1fc)][_0x103f2f(0x1fd)]([_0xb6907b,_0x3872f5]),_0x193720[_0x103f2f(0x21a)](_0x2e228c),_0x32984f;}[_0xc05e66(0x209)](_0x8545c2,_0x24ceac){const _0xc028c4=_0xc05e66,_0x1a845f=new _0xf03d20(_0x8545c2),_0xbb03e7=_0x1a845f[_0xc028c4(0x1ce)];return _0x1a845f[_0xc028c4(0x206)]=_0x24ceac,_0x1a845f[_0xc028c4(0x1e8)]({'on':{'keydown':_0xbb03e7['to'](_0x3648cc=>{const _0x3a5535=_0xc028c4;_0x3a5535(0x1ff)==_0x3648cc[_0x3a5535(0x1c5)]&&this[_0x3a5535(0x1c1)](_0x1a845f);})}}),_0x1a845f;}[_0xc05e66(0x202)](_0x5a4f97,_0x8d8b9d){const _0x259a63=_0xc05e66,_0x23e840=new _0x5968cd(_0x5a4f97);return _0x23e840[_0x259a63(0x215)]({'icon':_0xbd6b22,'withText':!0x1,'tooltip':_0x514aec(_0x5a4f97,_0x259a63(0x1e9))}),_0x23e840[_0x259a63(0x1e8)]({'attributes':{'class':[_0x259a63(0x1e0)]}}),_0x23e840['on'](_0x259a63(0x1ba),()=>{const _0x38cad4=_0x259a63;this[_0x38cad4(0x1c1)](_0x8d8b9d);}),_0x23e840;}[_0xc05e66(0x1c1)](_0x1824ec){const _0x38dc26=_0xc05e66,_0x2f46b5=_0x1824ec[_0x38dc26(0x1c7)][_0x38dc26(0x206)]||'';this[_0x38dc26(0x1e1)][_0x38dc26(0x205)]=_0x2f46b5,this[_0x38dc26(0x1be)]=!0x1,this[_0x38dc26(0x208)](_0x38dc26(0x1ed),{'id':this['id'],'title':_0x2f46b5});}[_0xc05e66(0x1ea)](_0x277779,_0x1881eb){const _0x450fae=_0xc05e66,_0xef65d1=new _0x5968cd(_0x277779);return _0xef65d1[_0x450fae(0x215)]({'icon':_0x3b57bb,'withText':!0x1,'tooltip':_0x514aec(_0x277779,_0x450fae(0x214))}),_0xef65d1[_0x450fae(0x1e8)]({'attributes':{'class':[_0x450fae(0x1c6)]}}),_0xef65d1['on'](_0x450fae(0x1ba),()=>{const _0x2a512b=_0x450fae;this[_0x2a512b(0x1be)]=!0x1,_0x1881eb[_0x2a512b(0x206)]=this[_0x2a512b(0x1e1)][_0x2a512b(0x205)]||'',this[_0x2a512b(0x208)](_0x2a512b(0x200));}),_0xef65d1;}[_0xc05e66(0x1d4)](){const _0x584979=_0xc05e66,_0x1c6baa=new _0x38456c(_0x584979(0x212));return _0x1c6baa[_0x584979(0x1c9)]=!0x0,_0x1c6baa;}[_0xc05e66(0x1d3)](_0x1be705){const _0x3b08d6=_0xc05e66;return this[_0x3b08d6(0x1e1)]&&_0x3b08d6(0x207)==typeof this[_0x3b08d6(0x1e1)][_0x3b08d6(0x205)]&&this[_0x3b08d6(0x1e1)][_0x3b08d6(0x205)][_0x3b08d6(0x211)](_0x1be705)?{'title':!0x0}:null;}[_0xc05e66(0x1ef)](_0x3098bb){const _0x1710c8=_0xc05e66;this[_0x1710c8(0x1e1)][_0x1710c8(0x1ef)](_0x3098bb);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7ae9(){const _0x50c360=['1598821yRwiDF','317540cTUSPB','splice','1368402OJBUyO','remove','2251920RkYGcF','16daUxXG','isVisible','10Nbflhh','highlightText','1kuYWXd','set','10158467ijKHmQ','find','2051793sfIGds','setTemplate','bindTemplate','ck-ai-chat-history__section-title','addMany','div','filter','indexOf','items','ck-ai-chat-history__section','isMatching','length','4GuMDoH','1897290HdqZeY','getItem','ck-hidden','itemsViews','removeItem','title','_itemsListView'];_0x7ae9=function(){return _0x50c360;};return _0x7ae9();}const _0x2b852f=_0x1b5a;(function(_0x4fe852,_0x1248ac){const _0x26fcd7=_0x1b5a,_0x1412c1=_0x4fe852();while(!![]){try{const _0x300245=parseInt(_0x26fcd7(0x8f))/0x1*(-parseInt(_0x26fcd7(0x86))/0x2)+-parseInt(_0x26fcd7(0x88))/0x3*(-parseInt(_0x26fcd7(0x9f))/0x4)+-parseInt(_0x26fcd7(0xa0))/0x5+-parseInt(_0x26fcd7(0x8a))/0x6+parseInt(_0x26fcd7(0xa7))/0x7*(-parseInt(_0x26fcd7(0x8b))/0x8)+-parseInt(_0x26fcd7(0x93))/0x9*(-parseInt(_0x26fcd7(0x8d))/0xa)+parseInt(_0x26fcd7(0x91))/0xb;if(_0x300245===_0x1248ac)break;else _0x1412c1['push'](_0x1412c1['shift']());}catch(_0x5e2713){_0x1412c1['push'](_0x1412c1['shift']());}}}(_0x7ae9,0x39ec6));import{ListItemView as _0x138a71,View as _0x105697,ListView as _0x467ac6}from'ckeditor5/src/ui.js';function _0x1b5a(_0x2e65a5,_0x34f010){const _0x7ae971=_0x7ae9();return _0x1b5a=function(_0x1b5a8b,_0x1caa9b){_0x1b5a8b=_0x1b5a8b-0x86;let _0x5d314c=_0x7ae971[_0x1b5a8b];return _0x5d314c;},_0x1b5a(_0x2e65a5,_0x34f010);}export class AIChatHistoryListView extends _0x138a71{[_0x2b852f(0xa5)];[_0x2b852f(0xa3)];[_0x2b852f(0xa6)];constructor(_0x913474,{title:_0x5d7e26,items:_0x414bdc}){const _0x207ee1=_0x2b852f;super(_0x913474);const _0x34b308=this[_0x207ee1(0x95)];this[_0x207ee1(0x90)](_0x207ee1(0x8c),!0x0),this[_0x207ee1(0xa5)]=_0x5d7e26,this[_0x207ee1(0xa3)]=_0x414bdc;const _0x25063e=new _0x105697(_0x913474);_0x25063e[_0x207ee1(0x94)]({'tag':_0x207ee1(0x98),'attributes':{'class':[_0x207ee1(0x96)]},'children':[this[_0x207ee1(0xa5)]]}),this[_0x207ee1(0xa6)]=new _0x467ac6(_0x913474),this[_0x207ee1(0xa6)][_0x207ee1(0x9b)][_0x207ee1(0x97)](this[_0x207ee1(0xa3)]),this[_0x207ee1(0x94)]({'tag':'li','attributes':{'class':[_0x207ee1(0x9c),_0x34b308['if'](_0x207ee1(0x8c),_0x207ee1(0xa2),_0x416fea=>!_0x416fea)]},'children':[_0x25063e,this[_0x207ee1(0xa6)]]});}[_0x2b852f(0x99)](_0x3ea029){const _0x1d37f7=_0x2b852f,_0x1a8798=this[_0x1d37f7(0xa3)][_0x1d37f7(0x9e)];let _0x5c6e28=0x0;for(const _0x1798b3 of this[_0x1d37f7(0xa3)]){if(_0x3ea029){const _0xd9920c=_0x1798b3[_0x1d37f7(0x9d)](_0x3ea029);_0x1798b3[_0x1d37f7(0x8c)]=!!_0xd9920c,_0x1798b3[_0x1d37f7(0x8e)](_0x3ea029);}else _0x1798b3[_0x1d37f7(0x8c)]=!0x0,_0x1798b3[_0x1d37f7(0x8e)](null);_0x1798b3[_0x1d37f7(0x8c)]&&_0x5c6e28++;}return this[_0x1d37f7(0x8c)]=_0x5c6e28>0x0,{'resultsCount':_0x5c6e28,'totalItemsCount':_0x1a8798};}[_0x2b852f(0xa1)](_0x2049be){const _0x28a91f=_0x2b852f;return this[_0x28a91f(0xa3)][_0x28a91f(0x92)](_0x512281=>_0x512281['id']===_0x2049be);}[_0x2b852f(0xa4)](_0x19c66b){const _0x58ad5b=_0x2b852f,_0x2ddaae=this[_0x58ad5b(0xa3)][_0x58ad5b(0x9a)](_0x19c66b);-0x1!==_0x2ddaae&&(this[_0x58ad5b(0xa3)][_0x58ad5b(0x87)](_0x2ddaae,0x1),this[_0x58ad5b(0xa6)][_0x58ad5b(0x9b)][_0x58ad5b(0x89)](_0x19c66b));}}
23
+ const _0x279eea=_0x72d3;function _0x72d3(_0x255407,_0x19e447){const _0x1899f3=_0x1899();return _0x72d3=function(_0x72d390,_0x10ee86){_0x72d390=_0x72d390-0x1c5;let _0x43f8d7=_0x1899f3[_0x72d390];return _0x43f8d7;},_0x72d3(_0x255407,_0x19e447);}(function(_0x2ecf4c,_0x539078){const _0x1e92f8=_0x72d3,_0xd73b4f=_0x2ecf4c();while(!![]){try{const _0x2f8b4c=parseInt(_0x1e92f8(0x1d2))/0x1*(parseInt(_0x1e92f8(0x1ce))/0x2)+parseInt(_0x1e92f8(0x1d7))/0x3+parseInt(_0x1e92f8(0x1db))/0x4*(-parseInt(_0x1e92f8(0x1de))/0x5)+-parseInt(_0x1e92f8(0x1d5))/0x6*(-parseInt(_0x1e92f8(0x1c9))/0x7)+parseInt(_0x1e92f8(0x1d6))/0x8*(parseInt(_0x1e92f8(0x1d0))/0x9)+-parseInt(_0x1e92f8(0x1c8))/0xa+-parseInt(_0x1e92f8(0x1ca))/0xb*(-parseInt(_0x1e92f8(0x1cb))/0xc);if(_0x2f8b4c===_0x539078)break;else _0xd73b4f['push'](_0xd73b4f['shift']());}catch(_0x35869e){_0xd73b4f['push'](_0xd73b4f['shift']());}}}(_0x1899,0x253aa));import{ListItemView as _0x500f46,View as _0xaeaca5,ListView as _0x351444}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x500f46{[_0x279eea(0x1c5)];[_0x279eea(0x1d9)];[_0x279eea(0x1cc)];constructor(_0x394223,{title:_0x469b21,items:_0x5138f5}){const _0x49876f=_0x279eea;super(_0x394223);const _0x543254=this[_0x49876f(0x1e0)];this[_0x49876f(0x1da)](_0x49876f(0x1e1),!0x0),this[_0x49876f(0x1c5)]=_0x469b21,this[_0x49876f(0x1d9)]=_0x5138f5;const _0x551f19=new _0xaeaca5(_0x394223);_0x551f19[_0x49876f(0x1d1)]({'tag':_0x49876f(0x1d3),'attributes':{'class':[_0x49876f(0x1cf)]},'children':[this[_0x49876f(0x1c5)]]}),this[_0x49876f(0x1cc)]=new _0x351444(_0x394223),this[_0x49876f(0x1cc)][_0x49876f(0x1df)][_0x49876f(0x1e4)](this[_0x49876f(0x1d9)]),this[_0x49876f(0x1d1)]({'tag':'li','attributes':{'class':[_0x49876f(0x1d4),_0x543254['if'](_0x49876f(0x1e1),_0x49876f(0x1cd),_0x29b971=>!_0x29b971)]},'children':[_0x551f19,this[_0x49876f(0x1cc)]]});}[_0x279eea(0x1d8)](_0x251ae3){const _0x5b746e=_0x279eea,_0x2f805d=this[_0x5b746e(0x1d9)][_0x5b746e(0x1e2)];let _0x5f770e=0x0;for(const _0x4c7071 of this[_0x5b746e(0x1d9)]){if(_0x251ae3){const _0xd55d2b=_0x4c7071[_0x5b746e(0x1c6)](_0x251ae3);_0x4c7071[_0x5b746e(0x1e1)]=!!_0xd55d2b,_0x4c7071[_0x5b746e(0x1e6)](_0x251ae3);}else _0x4c7071[_0x5b746e(0x1e1)]=!0x0,_0x4c7071[_0x5b746e(0x1e6)](null);_0x4c7071[_0x5b746e(0x1e1)]&&_0x5f770e++;}return this[_0x5b746e(0x1e1)]=_0x5f770e>0x0,{'resultsCount':_0x5f770e,'totalItemsCount':_0x2f805d};}[_0x279eea(0x1c7)](_0x4cd410){const _0x3404c9=_0x279eea;return this[_0x3404c9(0x1d9)][_0x3404c9(0x1e3)](_0x5874d3=>_0x5874d3['id']===_0x4cd410);}[_0x279eea(0x1e5)](_0x1fb197){const _0x68ab77=_0x279eea,_0x19fbe8=this[_0x68ab77(0x1d9)][_0x68ab77(0x1dc)](_0x1fb197);-0x1!==_0x19fbe8&&(this[_0x68ab77(0x1d9)][_0x68ab77(0x1e7)](_0x19fbe8,0x1),this[_0x68ab77(0x1cc)][_0x68ab77(0x1df)][_0x68ab77(0x1dd)](_0x1fb197));}}function _0x1899(){const _0x50272f=['remove','35eDPwmH','items','bindTemplate','isVisible','length','find','addMany','removeItem','highlightText','splice','title','isMatching','getItem','2423850CtNWGz','7HWFZLT','40018BRhoXl','24RBWdHD','_itemsListView','ck-hidden','46vIkUEJ','ck-ai-chat-history__section-title','173682DHKkBu','setTemplate','4463PpWsvo','div','ck-ai-chat-history__section','1553820Jbyprx','16PtLFGn','106275LiuSzV','filter','itemsViews','set','27452xZZbLV','indexOf'];_0x1899=function(){return _0x50272f;};return _0x1899();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16712f=_0xdcbf;function _0xdcbf(_0x81888b,_0x1aa49a){const _0x454828=_0x4548();return _0xdcbf=function(_0xdcbf0e,_0x2d3cc0){_0xdcbf0e=_0xdcbf0e-0x1a6;let _0x788c98=_0x454828[_0xdcbf0e];return _0x788c98;},_0xdcbf(_0x81888b,_0x1aa49a);}(function(_0x316e1b,_0x3e0675){const _0x480b4e=_0xdcbf,_0x47cde5=_0x316e1b();while(!![]){try{const _0x1cf663=parseInt(_0x480b4e(0x1ac))/0x1*(-parseInt(_0x480b4e(0x1ad))/0x2)+-parseInt(_0x480b4e(0x1a9))/0x3+-parseInt(_0x480b4e(0x1b0))/0x4*(parseInt(_0x480b4e(0x1b2))/0x5)+-parseInt(_0x480b4e(0x1b3))/0x6+parseInt(_0x480b4e(0x1ae))/0x7+parseInt(_0x480b4e(0x1b1))/0x8+-parseInt(_0x480b4e(0x1b4))/0x9*(-parseInt(_0x480b4e(0x1af))/0xa);if(_0x1cf663===_0x3e0675)break;else _0x47cde5['push'](_0x47cde5['shift']());}catch(_0x423650){_0x47cde5['push'](_0x47cde5['shift']());}}}(_0x4548,0x280f2));import{ListView as _0x18c30f}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x18c30f{[_0x16712f(0x1ab)];constructor(_0x342be8,_0x2cc391){const _0x423382=_0x16712f;super(_0x342be8),this[_0x423382(0x1ab)]=_0x2cc391,this[_0x423382(0x1a6)][_0x423382(0x1a8)](this[_0x423382(0x1ab)]),this[_0x423382(0x1aa)]({'attributes':{'class':[_0x423382(0x1b5)]}});}[_0x16712f(0x1a7)](_0x320b2e){const _0x26bb02=_0x16712f;let _0x42791f=0x0,_0x1c3a02=0x0;for(const _0xfdb101 of this[_0x26bb02(0x1ab)]){const {resultsCount:_0x1acd5e,totalItemsCount:_0x26d7e0}=_0xfdb101[_0x26bb02(0x1a7)](_0x320b2e);_0x42791f+=_0x1acd5e,_0x1c3a02+=_0x26d7e0;}return{'resultsCount':_0x42791f,'totalItemsCount':_0x1c3a02};}}function _0x4548(){const _0x50895f=['ck-ai-chat-history__sections','items','filter','addMany','18330dzwvHZ','extendTemplate','sections','5381RzBBVN','118AGJGmk','1893255bUqwZQ','104080Wgyxwy','408616QDduwr','1255488OJGauq','5eDwaFo','211968IDdPGN','171hRhHAz'];_0x4548=function(){return _0x50895f;};return _0x4548();}
23
+ const _0x3dda91=_0x15cc;(function(_0x1c981d,_0x312a25){const _0x590f36=_0x15cc,_0x12243c=_0x1c981d();while(!![]){try{const _0x3da3f6=-parseInt(_0x590f36(0x1b7))/0x1*(parseInt(_0x590f36(0x1be))/0x2)+parseInt(_0x590f36(0x1bc))/0x3+parseInt(_0x590f36(0x1c0))/0x4*(-parseInt(_0x590f36(0x1b8))/0x5)+parseInt(_0x590f36(0x1b4))/0x6+parseInt(_0x590f36(0x1c3))/0x7*(parseInt(_0x590f36(0x1bf))/0x8)+-parseInt(_0x590f36(0x1bd))/0x9*(-parseInt(_0x590f36(0x1c1))/0xa)+-parseInt(_0x590f36(0x1ba))/0xb;if(_0x3da3f6===_0x312a25)break;else _0x12243c['push'](_0x12243c['shift']());}catch(_0x4ac9fc){_0x12243c['push'](_0x12243c['shift']());}}}(_0x5114,0x4e6bd));function _0x5114(){const _0x19cd8b=['308tkjkFt','filter','3802068woytsM','sections','items','5TTQPQT','14645mKuDNu','ck-ai-chat-history__sections','10015038kdUDWt','extendTemplate','1368771kZluyi','302553UTFxfG','134646PIFkro','116408ubcmIi','772sQaVSq','120fgWYmw','addMany'];_0x5114=function(){return _0x19cd8b;};return _0x5114();}import{ListView as _0x21f8b1}from'ckeditor5/src/ui.js';function _0x15cc(_0x3c1f74,_0x3d937e){const _0x511490=_0x5114();return _0x15cc=function(_0x15cc28,_0x3f29b9){_0x15cc28=_0x15cc28-0x1b4;let _0x537dbb=_0x511490[_0x15cc28];return _0x537dbb;},_0x15cc(_0x3c1f74,_0x3d937e);}export class AIChatHistorySectionListView extends _0x21f8b1{[_0x3dda91(0x1b5)];constructor(_0x5e9ef5,_0x8b16c0){const _0x328d64=_0x3dda91;super(_0x5e9ef5),this[_0x328d64(0x1b5)]=_0x8b16c0,this[_0x328d64(0x1b6)][_0x328d64(0x1c2)](this[_0x328d64(0x1b5)]),this[_0x328d64(0x1bb)]({'attributes':{'class':[_0x328d64(0x1b9)]}});}[_0x3dda91(0x1c4)](_0x209708){const _0x50679d=_0x3dda91;let _0x113cf1=0x0,_0x3a317c=0x0;for(const _0x1d09c9 of this[_0x50679d(0x1b5)]){const {resultsCount:_0x4abb5e,totalItemsCount:_0x42f031}=_0x1d09c9[_0x50679d(0x1c4)](_0x209708);_0x113cf1+=_0x4abb5e,_0x3a317c+=_0x42f031;}return{'resultsCount':_0x113cf1,'totalItemsCount':_0x3a317c};}}