@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.3.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 (123) 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/form/aiformcontentarea.js +1 -1
  15. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  21. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  22. package/src/aiballoon/aiballoon.js +1 -1
  23. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  24. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  25. package/src/aiballoon/ui/aiballoonview.js +1 -1
  26. package/src/aichat/aichat.js +1 -1
  27. package/src/aichat/aichatcontroller.js +1 -1
  28. package/src/aichat/aichatui.js +1 -1
  29. package/src/aichat/model/aichatcontext.js +1 -1
  30. package/src/aichat/model/aichatconversation.js +1 -1
  31. package/src/aichat/model/aichatinteraction.js +1 -1
  32. package/src/aichat/model/aichatmodels.js +1 -1
  33. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  34. package/src/aichat/ui/aichatfeedview.js +1 -1
  35. package/src/aichat/ui/aichatheaderview.js +1 -1
  36. package/src/aichat/ui/aichatview.js +1 -1
  37. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  57. package/src/aichat/utils/eventnames.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichathistory/aichathistory.js +1 -1
  60. package/src/aichathistory/aichathistorycontroller.js +1 -1
  61. package/src/aichathistory/aichathistoryui.js +1 -1
  62. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  63. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  64. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  65. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  68. package/src/aicore/aiconnector.js +1 -1
  69. package/src/aicore/aiediting.js +1 -1
  70. package/src/aicore/model/aicapabilities.js +1 -1
  71. package/src/aicore/model/aiinteraction.js +1 -1
  72. package/src/aicore/model/aimodels.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentrange.js +1 -1
  85. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  86. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  87. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  88. package/src/aicore/utils/htmlparser.js +1 -1
  89. package/src/aicore/utils/htmlstreamer.js +1 -1
  90. package/src/aieditorintegration/aieditorintegration.js +1 -1
  91. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  92. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  93. package/src/aiquickactions/aiquickactions.js +1 -1
  94. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  95. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  96. package/src/aiquickactions/aiquickactionsui.js +1 -1
  97. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  98. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  101. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  102. package/src/aireviewmode/aireviewmode.js +1 -1
  103. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  104. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  105. package/src/aireviewmode/aireviewmodeui.js +1 -1
  106. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  107. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  108. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  118. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  119. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  120. package/src/aitabs/aitabs.js +1 -1
  121. package/src/aitabs/tabs/aitabsview.js +1 -1
  122. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  123. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x816c51=_0x4712;function _0x1906(){const _0x2049ba=['label','searchInputVisibleFrom','clear','24nECMaE','hide','once','updateResourceState','populateSourceResourceBalloon','_config','delete','3928150jkTAbp','onBalloonClosed','_getResourcesViewFromBalloon','72026mThTWD','resource','onLoadSourceResources','source','values','737912hNlEsT','ck-ai-chat-context-controls__source-balloon-panel','onResourceSelected','closeSourceResourceBalloon','showSourceResourcesBalloon','addResourceToContext','element','onBackToContext','children','set','_createSourceResourceBalloonPanel','240290IuSrKw','show','add','setResources','content','isAnyResourceBalloonVisible','change:isLoading','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','get','_createBalloonHeader','42OOTBlv','_createBackButton','execute','loadSourceResources','getTargetElement','_locale','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_setupSingleResourceBalloonClickOutsideHandler','_bodyCollection','_createBalloonResourcesView','12238644CfAtzC','9lRyCws','33KUtwou','extendTemplate','251372niSabZ','ck-button-icon\x20ck-button-back','destroy','pin','1056236UyRoNs','getLimiterElement','_sourceResourceBalloons','_addSourceResourceContent','isVisible'];_0x1906=function(){return _0x2049ba;};return _0x1906();}(function(_0x273cc1,_0x1b6ed3){const _0x2fff28=_0x4712,_0x58793=_0x273cc1();while(!![]){try{const _0x431ee8=parseInt(_0x2fff28(0x187))/0x1+-parseInt(_0x2fff28(0x15f))/0x2*(-parseInt(_0x2fff28(0x185))/0x3)+parseInt(_0x2fff28(0x18b))/0x4+-parseInt(_0x2fff28(0x16f))/0x5*(-parseInt(_0x2fff28(0x179))/0x6)+parseInt(_0x2fff28(0x164))/0x7*(-parseInt(_0x2fff28(0x193))/0x8)+-parseInt(_0x2fff28(0x184))/0x9*(-parseInt(_0x2fff28(0x19a))/0xa)+-parseInt(_0x2fff28(0x183))/0xb;if(_0x431ee8===_0x1b6ed3)break;else _0x58793['push'](_0x58793['shift']());}catch(_0x159327){_0x58793['push'](_0x58793['shift']());}}}(_0x1906,0x33be7));function _0x4712(_0x5b30a4,_0x1ab696){const _0x1906d6=_0x1906();return _0x4712=function(_0x47129a,_0x177ff7){_0x47129a=_0x47129a-0x15d;let _0x309cc9=_0x1906d6[_0x47129a];return _0x309cc9;},_0x4712(_0x5b30a4,_0x1ab696);}import{BalloonPanelView as _0x5cbc79,ButtonView as _0x5aa99d,clickOutsideHandler as _0x17f16b,FormHeaderView as _0x304968}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x12ff16}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x199f5b}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x3a68bc}from'./aichatcontextresourcesview.js';const Nr=_0x816c51(0x165),Xr=_0x816c51(0x188),Qr=_0x816c51(0x17f);export class AIChatResourcesBalloonView{[_0x816c51(0x18d)]=new Map();[_0x816c51(0x181)];[_0x816c51(0x17e)];[_0x816c51(0x198)];constructor(_0x424232,_0x26863d,_0x1c3493){const _0xd43286=_0x816c51;this[_0xd43286(0x17e)]=_0x424232,this[_0xd43286(0x181)]=_0x26863d,this[_0xd43286(0x198)]=_0x1c3493;}[_0x816c51(0x168)](_0x2f1704){const _0x38a6f1=_0x816c51;let _0x38b8bb=this[_0x38a6f1(0x18d)][_0x38a6f1(0x177)](_0x2f1704['id']);_0x38b8bb||(_0x38b8bb=this[_0x38a6f1(0x16e)](),this[_0x38a6f1(0x18d)][_0x38a6f1(0x16d)](_0x2f1704['id'],_0x38b8bb),this[_0x38a6f1(0x180)](_0x38b8bb)),this[_0x38a6f1(0x18e)](_0x38b8bb,_0x2f1704),_0x38b8bb[_0x38a6f1(0x170)]();const _0x317af0=this[_0x38a6f1(0x198)][_0x38a6f1(0x17d)]();_0x317af0&&_0x38b8bb[_0x38a6f1(0x18a)]({'target':_0x317af0,'limiter':this[_0x38a6f1(0x198)][_0x38a6f1(0x18c)]()});}[_0x816c51(0x197)](_0x18d924,_0x3719ca,_0x52581f){const _0xd2bbdb=_0x816c51,_0x33dd81=this[_0xd2bbdb(0x18d)][_0xd2bbdb(0x177)](_0x18d924);if(!_0x33dd81)return;const _0x150f5a=this[_0xd2bbdb(0x15e)](_0x33dd81);_0x150f5a&&(_0x150f5a[_0xd2bbdb(0x172)](_0x3719ca,_0x52581f),_0x150f5a[_0xd2bbdb(0x195)](_0xd2bbdb(0x175),()=>{const _0xfb065d=_0xd2bbdb;_0x33dd81[_0xfb065d(0x18a)]({'target':this[_0xfb065d(0x198)][_0xfb065d(0x17d)](),'limiter':this[_0xfb065d(0x198)][_0xfb065d(0x18c)]()});}));}[_0x816c51(0x167)](_0x27d371){const _0x1ecff0=_0x816c51,_0x325931=this[_0x1ecff0(0x18d)][_0x1ecff0(0x177)](_0x27d371);_0x325931&&requestAnimationFrame(()=>{const _0x3f2af2=_0x1ecff0;_0x325931[_0x3f2af2(0x194)](),this[_0x3f2af2(0x18d)][_0x3f2af2(0x199)](_0x27d371),this[_0x3f2af2(0x198)][_0x3f2af2(0x15d)]();});}[_0x816c51(0x174)](){const _0x4a3154=_0x816c51;for(const _0xeccbc of this[_0x4a3154(0x18d)][_0x4a3154(0x163)]())if(_0xeccbc[_0x4a3154(0x18f)])return!0x0;return!0x1;}[_0x816c51(0x196)](_0xa8e7b3,_0x547456,_0x404ec2){const _0x15b82c=_0x816c51,_0x5ceb2e=this[_0x15b82c(0x18d)][_0x15b82c(0x177)](_0xa8e7b3);if(!_0x5ceb2e||!_0x5ceb2e[_0x15b82c(0x18f)])return;const _0x5a8cc3=this[_0x15b82c(0x198)][_0x15b82c(0x17d)]();if(!_0x5a8cc3)return;_0x5ceb2e[_0x15b82c(0x18a)]({'target':_0x5a8cc3,'limiter':this[_0x15b82c(0x198)][_0x15b82c(0x18c)]()});const _0x87b2c5=this[_0x15b82c(0x15e)](_0x5ceb2e);_0x87b2c5&&_0x87b2c5[_0x15b82c(0x196)](_0x547456,_0x404ec2);}[_0x816c51(0x189)](){const _0x4d9c6b=_0x816c51;for(const _0x3b71e2 of this[_0x4d9c6b(0x18d)][_0x4d9c6b(0x163)]())_0x3b71e2[_0x4d9c6b(0x189)]();this[_0x4d9c6b(0x18d)][_0x4d9c6b(0x192)]();}[_0x816c51(0x16e)](){const _0x388e00=_0x816c51,_0x44569b=new _0x5cbc79(this[_0x388e00(0x17e)]);return _0x44569b[_0x388e00(0x186)]({'attributes':{'class':Nr}}),this[_0x388e00(0x181)][_0x388e00(0x171)](_0x44569b),_0x44569b;}[_0x816c51(0x18e)](_0x4696e6,_0x3d53a0){const _0x15ef7a=_0x816c51;_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x192)]();const _0x280c88=this[_0x15ef7a(0x178)](_0x4696e6,_0x3d53a0);_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x171)](_0x280c88);const _0x1745ba=this[_0x15ef7a(0x182)](_0x3d53a0);_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x171)](_0x1745ba);}[_0x816c51(0x178)](_0x5509e5,_0x429945){const _0x6004f7=_0x816c51,_0xb05ac1=this[_0x6004f7(0x17a)](_0x5509e5),_0x5031ff=new _0x304968(this[_0x6004f7(0x17e)],{'label':_0x429945[_0x6004f7(0x190)],'class':Qr});return _0x5031ff[_0x6004f7(0x16c)][_0x6004f7(0x171)](_0xb05ac1,0x0),_0x5031ff;}[_0x816c51(0x17a)](_0x193209){const _0x181b4f=_0x816c51,_0x2900b6=new _0x5aa99d(this[_0x181b4f(0x17e)]);return _0x2900b6[_0x181b4f(0x16d)]({'icon':_0x12ff16,'tooltip':_0x199f5b(this[_0x181b4f(0x17e)],_0x181b4f(0x176)),'tooltipPosition':'n','class':Xr}),_0x2900b6['on'](_0x181b4f(0x17b),()=>{const _0x379b67=_0x181b4f;_0x193209[_0x379b67(0x194)](),this[_0x379b67(0x198)][_0x379b67(0x16b)]();}),_0x2900b6;}[_0x816c51(0x182)](_0x24c898){const _0x4b7a9d=_0x816c51,_0x1f00e4=new _0x3a68bc(this[_0x4b7a9d(0x17e)],{'source':_0x24c898,'searchInputVisibleFrom':this[_0x4b7a9d(0x198)][_0x4b7a9d(0x191)]});return _0x1f00e4['on'](_0x4b7a9d(0x17c),(_0x40a344,_0x103e56)=>{const _0x4da6cf=_0x4b7a9d;this[_0x4da6cf(0x198)][_0x4da6cf(0x161)](_0x103e56);}),_0x1f00e4['on'](_0x4b7a9d(0x169),(_0x1f78cb,_0x1cc6b7)=>{const _0x1339f1=_0x4b7a9d;this[_0x1339f1(0x198)][_0x1339f1(0x166)](_0x1cc6b7[_0x1339f1(0x162)],_0x1cc6b7[_0x1339f1(0x160)]),this[_0x1339f1(0x167)](_0x24c898['id']);}),_0x1f00e4;}[_0x816c51(0x15e)](_0x3aa1b8){const _0x5efdb7=_0x816c51,_0x51b34c=_0x3aa1b8[_0x5efdb7(0x173)][_0x5efdb7(0x177)](0x1);return _0x51b34c instanceof _0x3a68bc?_0x51b34c:null;}[_0x816c51(0x180)](_0x31564a){const _0x10b24c=_0x816c51;_0x17f16b({'emitter':_0x31564a,'contextElements':[_0x31564a[_0x10b24c(0x16a)]],'callback':()=>{const _0x262f31=_0x10b24c;_0x31564a[_0x262f31(0x194)](),this[_0x262f31(0x198)][_0x262f31(0x15d)]();},'activator':()=>_0x31564a[_0x10b24c(0x18f)]});}}
23
+ function _0x1aff(_0x1240bb,_0x347e30){const _0x391dfe=_0x391d();return _0x1aff=function(_0x1affbc,_0x12fc51){_0x1affbc=_0x1affbc-0x1de;let _0x3c837d=_0x391dfe[_0x1affbc];return _0x3c837d;},_0x1aff(_0x1240bb,_0x347e30);}const _0x7fad91=_0x1aff;(function(_0x5cf482,_0x19b03b){const _0x43b0db=_0x1aff,_0x3c9ac5=_0x5cf482();while(!![]){try{const _0x18b279=parseInt(_0x43b0db(0x215))/0x1*(-parseInt(_0x43b0db(0x1fb))/0x2)+-parseInt(_0x43b0db(0x1f2))/0x3+parseInt(_0x43b0db(0x218))/0x4+-parseInt(_0x43b0db(0x205))/0x5*(-parseInt(_0x43b0db(0x211))/0x6)+-parseInt(_0x43b0db(0x1ea))/0x7+parseInt(_0x43b0db(0x1f0))/0x8+-parseInt(_0x43b0db(0x206))/0x9*(-parseInt(_0x43b0db(0x1df))/0xa);if(_0x18b279===_0x19b03b)break;else _0x3c9ac5['push'](_0x3c9ac5['shift']());}catch(_0xb772bc){_0x3c9ac5['push'](_0x3c9ac5['shift']());}}}(_0x391d,0x34056));import{BalloonPanelView as _0x5b5dcc,ButtonView as _0x2d22e8,clickOutsideHandler as _0x2d1ebc,FormHeaderView as _0xef1ce7}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x18ecbf}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x23bfd2}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x34c9ac}from'./aichatcontextresourcesview.js';function _0x391d(){const _0x4d8bda=['onResourceSelected','populateSourceResourceBalloon','169104kZVooL','ck-ai-chat-context-controls__source-balloon-panel','915483RQkmWP','once','_setupSingleResourceBalloonClickOutsideHandler','element','_sourceResourceBalloons','values','destroy','resource','_addSourceResourceContent','210mbHCpZ','_createBackButton','searchInputVisibleFrom','getTargetElement','label','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','execute','delete','set','_bodyCollection','144975mzKMaO','1611UEiIXz','_locale','extendTemplate','_getResourcesViewFromBalloon','_createBalloonHeader','show','clear','isAnyResourceBalloonVisible','getLimiterElement','change:isLoading','onLoadSourceResources','72NUyZGY','isVisible','updateResourceState','loadSourceResources','1557ogZbfW','content','get','557656OHaPwD','closeSourceResourceBalloon','ck-button-icon\x20ck-button-back','source','31010JwWqVN','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','addResourceToContext','pin','_config','children','setResources','_createBalloonResourcesView','_createSourceResourceBalloonPanel','hide','add','2672929lOMXqY','onBalloonClosed','onBackToContext','showSourceResourcesBalloon'];_0x391d=function(){return _0x4d8bda;};return _0x391d();}const Nr=_0x7fad91(0x1f1),Xr=_0x7fad91(0x21a),Qr=_0x7fad91(0x1e0);export class AIChatResourcesBalloonView{[_0x7fad91(0x1f6)]=new Map();[_0x7fad91(0x204)];[_0x7fad91(0x207)];[_0x7fad91(0x1e3)];constructor(_0x6adac0,_0x1125ac,_0xfae51a){const _0x3e1933=_0x7fad91;this[_0x3e1933(0x207)]=_0x6adac0,this[_0x3e1933(0x204)]=_0x1125ac,this[_0x3e1933(0x1e3)]=_0xfae51a;}[_0x7fad91(0x1ed)](_0x1812c6){const _0x44aeca=_0x7fad91;let _0x51002c=this[_0x44aeca(0x1f6)][_0x44aeca(0x217)](_0x1812c6['id']);_0x51002c||(_0x51002c=this[_0x44aeca(0x1e7)](),this[_0x44aeca(0x1f6)][_0x44aeca(0x203)](_0x1812c6['id'],_0x51002c),this[_0x44aeca(0x1f4)](_0x51002c)),this[_0x44aeca(0x1fa)](_0x51002c,_0x1812c6),_0x51002c[_0x44aeca(0x20b)]();const _0x1b5913=this[_0x44aeca(0x1e3)][_0x44aeca(0x1fe)]();_0x1b5913&&_0x51002c[_0x44aeca(0x1e2)]({'target':_0x1b5913,'limiter':this[_0x44aeca(0x1e3)][_0x44aeca(0x20e)]()});}[_0x7fad91(0x1ef)](_0x33891c,_0x360fe5,_0x1d85e0){const _0x12c94f=_0x7fad91,_0x5c7d32=this[_0x12c94f(0x1f6)][_0x12c94f(0x217)](_0x33891c);if(!_0x5c7d32)return;const _0x32cd8d=this[_0x12c94f(0x209)](_0x5c7d32);_0x32cd8d&&(_0x32cd8d[_0x12c94f(0x1e5)](_0x360fe5,_0x1d85e0),_0x32cd8d[_0x12c94f(0x1f3)](_0x12c94f(0x20f),()=>{const _0x1d0472=_0x12c94f;_0x5c7d32[_0x1d0472(0x1e2)]({'target':this[_0x1d0472(0x1e3)][_0x1d0472(0x1fe)](),'limiter':this[_0x1d0472(0x1e3)][_0x1d0472(0x20e)]()});}));}[_0x7fad91(0x219)](_0xa40983){const _0x1c9a2d=_0x7fad91,_0x54dd25=this[_0x1c9a2d(0x1f6)][_0x1c9a2d(0x217)](_0xa40983);_0x54dd25&&requestAnimationFrame(()=>{const _0x587091=_0x1c9a2d;_0x54dd25[_0x587091(0x1e8)](),this[_0x587091(0x1f6)][_0x587091(0x202)](_0xa40983),this[_0x587091(0x1e3)][_0x587091(0x1eb)]();});}[_0x7fad91(0x20d)](){const _0x2fb313=_0x7fad91;for(const _0x164a8d of this[_0x2fb313(0x1f6)][_0x2fb313(0x1f7)]())if(_0x164a8d[_0x2fb313(0x212)])return!0x0;return!0x1;}[_0x7fad91(0x213)](_0x3903c6,_0x58c75a,_0x5c8398){const _0x3ceb05=_0x7fad91,_0x986921=this[_0x3ceb05(0x1f6)][_0x3ceb05(0x217)](_0x3903c6);if(!_0x986921||!_0x986921[_0x3ceb05(0x212)])return;const _0x26e245=this[_0x3ceb05(0x1e3)][_0x3ceb05(0x1fe)]();if(!_0x26e245)return;_0x986921[_0x3ceb05(0x1e2)]({'target':_0x26e245,'limiter':this[_0x3ceb05(0x1e3)][_0x3ceb05(0x20e)]()});const _0x52824c=this[_0x3ceb05(0x209)](_0x986921);_0x52824c&&_0x52824c[_0x3ceb05(0x213)](_0x58c75a,_0x5c8398);}[_0x7fad91(0x1f8)](){const _0x303fb6=_0x7fad91;for(const _0xe2ead6 of this[_0x303fb6(0x1f6)][_0x303fb6(0x1f7)]())_0xe2ead6[_0x303fb6(0x1f8)]();this[_0x303fb6(0x1f6)][_0x303fb6(0x20c)]();}[_0x7fad91(0x1e7)](){const _0x3ad2e8=_0x7fad91,_0x4a8ac0=new _0x5b5dcc(this[_0x3ad2e8(0x207)]);return _0x4a8ac0[_0x3ad2e8(0x208)]({'attributes':{'class':Nr}}),this[_0x3ad2e8(0x204)][_0x3ad2e8(0x1e9)](_0x4a8ac0),_0x4a8ac0;}[_0x7fad91(0x1fa)](_0x35aeb9,_0x4e2231){const _0x33ff36=_0x7fad91;_0x35aeb9[_0x33ff36(0x216)][_0x33ff36(0x20c)]();const _0x516192=this[_0x33ff36(0x20a)](_0x35aeb9,_0x4e2231);_0x35aeb9[_0x33ff36(0x216)][_0x33ff36(0x1e9)](_0x516192);const _0x51f1a6=this[_0x33ff36(0x1e6)](_0x4e2231);_0x35aeb9[_0x33ff36(0x216)][_0x33ff36(0x1e9)](_0x51f1a6);}[_0x7fad91(0x20a)](_0x3a3281,_0x200e35){const _0x51c70c=_0x7fad91,_0x5b173c=this[_0x51c70c(0x1fc)](_0x3a3281),_0x113f38=new _0xef1ce7(this[_0x51c70c(0x207)],{'label':_0x200e35[_0x51c70c(0x1ff)],'class':Qr});return _0x113f38[_0x51c70c(0x1e4)][_0x51c70c(0x1e9)](_0x5b173c,0x0),_0x113f38;}[_0x7fad91(0x1fc)](_0x580edc){const _0x2ac857=_0x7fad91,_0x2f745e=new _0x2d22e8(this[_0x2ac857(0x207)]);return _0x2f745e[_0x2ac857(0x203)]({'icon':_0x18ecbf,'tooltip':_0x23bfd2(this[_0x2ac857(0x207)],_0x2ac857(0x200)),'tooltipPosition':'n','class':Xr}),_0x2f745e['on'](_0x2ac857(0x201),()=>{const _0xe4479e=_0x2ac857;_0x580edc[_0xe4479e(0x1e8)](),this[_0xe4479e(0x1e3)][_0xe4479e(0x1ec)]();}),_0x2f745e;}[_0x7fad91(0x1e6)](_0x42cb03){const _0x1567a8=_0x7fad91,_0x1ff8d5=new _0x34c9ac(this[_0x1567a8(0x207)],{'source':_0x42cb03,'searchInputVisibleFrom':this[_0x1567a8(0x1e3)][_0x1567a8(0x1fd)]});return _0x1ff8d5['on'](_0x1567a8(0x214),(_0x2dd959,_0x1174ec)=>{const _0x420669=_0x1567a8;this[_0x420669(0x1e3)][_0x420669(0x210)](_0x1174ec);}),_0x1ff8d5['on'](_0x1567a8(0x1e1),(_0x56a7d6,_0x38d52d)=>{const _0x5262bd=_0x1567a8;this[_0x5262bd(0x1e3)][_0x5262bd(0x1ee)](_0x38d52d[_0x5262bd(0x1de)],_0x38d52d[_0x5262bd(0x1f9)]),this[_0x5262bd(0x219)](_0x42cb03['id']);}),_0x1ff8d5;}[_0x7fad91(0x209)](_0x33b966){const _0x2a2a2b=_0x7fad91,_0x7f026f=_0x33b966[_0x2a2a2b(0x216)][_0x2a2a2b(0x217)](0x1);return _0x7f026f instanceof _0x34c9ac?_0x7f026f:null;}[_0x7fad91(0x1f4)](_0x260866){const _0x885912=_0x7fad91;_0x2d1ebc({'emitter':_0x260866,'contextElements':[_0x260866[_0x885912(0x1f5)]],'callback':()=>{const _0x4bde09=_0x885912;_0x260866[_0x4bde09(0x1e8)](),this[_0x4bde09(0x1e3)][_0x4bde09(0x1eb)]();},'activator':()=>_0x260866[_0x885912(0x212)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2d1180,IconView as _0x166f6c,LabeledFieldView as _0x18a886,createLabeledInputText as _0x425caf}from'ckeditor5/src/ui.js';import{IconLoupe as _0x29e192,IconCancel as _0x3f2ed0}from'ckeditor5/src/icons.js';import{getTranslation as _0x1ada99}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x18a886{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x574ab4){const t=_0x574ab4['t'],_0x530c1f={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x425caf,'label':_0x1ada99(_0x574ab4,'AI_CHAT_SEARCH_RESOURCES')};super(_0x574ab4,_0x530c1f['creator']),this['label']=_0x530c1f['label'],this['_viewConfig']=_0x530c1f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x574ab4,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2e2bff){this['fire']('search',_0x2e2bff);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x166f6c(),this['iconView']['content']=_0x29e192,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x19a84b,t){this['resetButtonView']=new _0x2d1180(_0x19a84b),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3f2ed0,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0xafdc6d=>!_0xafdc6d),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x3bd2e8,IconView as _0x2e57b1,LabeledFieldView as _0x3cefe2,createLabeledInputText as _0x2885c0}from'ckeditor5/src/ui.js';import{IconLoupe as _0x516c42,IconCancel as _0x550e15}from'ckeditor5/src/icons.js';import{getTranslation as _0x37f8a3}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x3cefe2{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x31dc33){const t=_0x31dc33['t'],_0x8f555={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x2885c0,'label':_0x37f8a3(_0x31dc33,'AI_CHAT_SEARCH_RESOURCES')};super(_0x31dc33,_0x8f555['creator']),this['label']=_0x8f555['label'],this['_viewConfig']=_0x8f555,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x31dc33,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x35bc4e){this['fire']('search',_0x35bc4e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2e57b1(),this['iconView']['content']=_0x516c42,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0xd9b8ef,t){this['resetButtonView']=new _0x3bd2e8(_0xd9b8ef),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x550e15,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x269fe1=>!_0x269fe1),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ba507=_0x10fc;(function(_0x5a5cb0,_0x5e4342){const _0xbf1578=_0x10fc,_0x359945=_0x5a5cb0();while(!![]){try{const _0x4b1ec9=-parseInt(_0xbf1578(0x185))/0x1*(-parseInt(_0xbf1578(0x1a0))/0x2)+-parseInt(_0xbf1578(0x197))/0x3+parseInt(_0xbf1578(0x184))/0x4*(parseInt(_0xbf1578(0x18d))/0x5)+parseInt(_0xbf1578(0x199))/0x6+parseInt(_0xbf1578(0x18c))/0x7+parseInt(_0xbf1578(0x1a2))/0x8*(-parseInt(_0xbf1578(0x194))/0x9)+-parseInt(_0xbf1578(0x19b))/0xa;if(_0x4b1ec9===_0x5e4342)break;else _0x359945['push'](_0x359945['shift']());}catch(_0x6b10c2){_0x359945['push'](_0x359945['shift']());}}}(_0x1cd6,0x5fbc3));import{View as _0x1f911c}from'ckeditor5/src/ui.js';function _0x10fc(_0x2629ec,_0x270439){const _0x1cd6de=_0x1cd6();return _0x10fc=function(_0x10fcd8,_0x3b6eb9){_0x10fcd8=_0x10fcd8-0x183;let _0x4eaf9a=_0x1cd6de[_0x10fcd8];return _0x4eaf9a;},_0x10fc(_0x2629ec,_0x270439);}import{AIChatContextItemButtonView as _0x1ab57d}from'../controls/aichatcontextitembuttonview.js';function _0x1cd6(){const _0x3412f3=['render','setTemplate','1633680NLhzpD','ck-ai-chat__feed__context-chips','4052226WbsjDT','ck-ai-chat-context-controls__show-more-balloon-panel','5056140jZqvhK','ck-ai-chat-controls-button','locale','destroy','ck-reset_all','498244diwIrQ','_createContextChips','56xAyQTl','_contextChips','119276vADJBD','2abcXuo','add','reorganizeChips','createCollection','_overflowManager','ck-ai-chat-context-chips-wrapper-balloon','element','2503592MXWGPl','85MiWoWH','setContainerElement','querySelector','_bodyCollection','div','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls_context_show-more-button','766143zeHuyW'];_0x1cd6=function(){return _0x3412f3;};return _0x1cd6();}import{AIChatChipsOverflowManager as _0x429b39}from'../controls/aichatchipsoverflowmanager.js';const xo=_0x2ba507(0x198),ko=_0x2ba507(0x192),Co=_0x2ba507(0x18a),bo=_0x2ba507(0x19c),vo=_0x2ba507(0x193),jo=_0x2ba507(0x19a);export class AIChatFeedContextChipsView extends _0x1f911c{[_0x2ba507(0x183)]=this[_0x2ba507(0x188)]();[_0x2ba507(0x189)];[_0x2ba507(0x190)];constructor(_0x664d9f,_0xba232,_0x48bcc6){const _0x34442b=_0x2ba507;super(_0x664d9f),this[_0x34442b(0x190)]=_0x48bcc6,this[_0x34442b(0x1a1)](_0xba232);const _0x48dff0={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Co,'controlsButton':bo}};this[_0x34442b(0x189)]=new _0x429b39(_0x664d9f,this[_0x34442b(0x183)],_0x48dff0,this[_0x34442b(0x190)],this),this[_0x34442b(0x196)]({'tag':_0x34442b(0x191),'attributes':{'class':[xo,'ck',_0x34442b(0x19f)]},'children':[{'tag':_0x34442b(0x191),'attributes':{'class':ko},'children':this[_0x34442b(0x183)]}]});}[_0x2ba507(0x195)](){const _0x52722e=_0x2ba507;super[_0x52722e(0x195)]();const _0x479807=this[_0x52722e(0x18b)][_0x52722e(0x18f)]('.'+ko);_0x479807&&(this[_0x52722e(0x189)][_0x52722e(0x18e)](_0x479807),this[_0x52722e(0x189)][_0x52722e(0x187)]());}[_0x2ba507(0x19e)](){const _0x4e1593=_0x2ba507;super[_0x4e1593(0x19e)](),this[_0x4e1593(0x189)][_0x4e1593(0x19e)]();}[_0x2ba507(0x1a1)](_0x3b3471){const _0x5b50d5=_0x2ba507;for(const _0xe89626 of _0x3b3471){const _0x303013=new _0x1ab57d(this[_0x5b50d5(0x19d)],_0xe89626,!0x0,!0x1);this[_0x5b50d5(0x183)][_0x5b50d5(0x186)](_0x303013);}}}
23
+ const _0x332fd8=_0x4315;(function(_0x3ae1ea,_0x57ec2d){const _0x434efe=_0x4315,_0x5cda1e=_0x3ae1ea();while(!![]){try{const _0x15f6aa=-parseInt(_0x434efe(0x79))/0x1*(-parseInt(_0x434efe(0x70))/0x2)+parseInt(_0x434efe(0x7f))/0x3*(-parseInt(_0x434efe(0x80))/0x4)+parseInt(_0x434efe(0x68))/0x5*(-parseInt(_0x434efe(0x8a))/0x6)+-parseInt(_0x434efe(0x86))/0x7*(parseInt(_0x434efe(0x6f))/0x8)+-parseInt(_0x434efe(0x76))/0x9*(-parseInt(_0x434efe(0x82))/0xa)+parseInt(_0x434efe(0x7c))/0xb*(parseInt(_0x434efe(0x6c))/0xc)+-parseInt(_0x434efe(0x6b))/0xd*(-parseInt(_0x434efe(0x83))/0xe);if(_0x15f6aa===_0x57ec2d)break;else _0x5cda1e['push'](_0x5cda1e['shift']());}catch(_0x531044){_0x5cda1e['push'](_0x5cda1e['shift']());}}}(_0x42ed,0xeda7a));import{View as _0x2bfcb4}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1ebe0c}from'../controls/aichatcontextitembuttonview.js';function _0x42ed(){const _0xd8b086=['locale','_overflowManager','40XERAwW','19678jUmhYK','ck-reset_all','setContainerElement','ck-ai-chat-context-chips-wrapper','ck-ai-chat__feed__context-chips','_contextChips','18fkjrCs','ck-ai-chat-controls-button','_createContextChips','10GlUFyU','createCollection','setTemplate','6665021fjUMgI','querySelector','div','51yiNCKe','253196MFJKPo','ck-ai-chat-controls_context_show-more-button','1112830LXBVYV','1167222IqUgBm','ck-ai-chat-context-chips-wrapper-balloon','render','1869798ZpTaYJ','element','_bodyCollection','destroy','6QxnxNe','reorganizeChips','20985jJzeWC','ck-ai-chat-context-controls__show-more-balloon-panel','add','195dARDyH','36fdzKqK'];_0x42ed=function(){return _0xd8b086;};return _0x42ed();}function _0x4315(_0x58b850,_0x271d74){const _0x42edfd=_0x42ed();return _0x4315=function(_0x4315d1,_0x14764a){_0x4315d1=_0x4315d1-0x68;let _0x16b9ff=_0x42edfd[_0x4315d1];return _0x16b9ff;},_0x4315(_0x58b850,_0x271d74);}import{AIChatChipsOverflowManager as _0x1649fb}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x332fd8(0x74),Ko=_0x332fd8(0x73),Qo=_0x332fd8(0x84),Uo=_0x332fd8(0x77),No=_0x332fd8(0x81),Oo=_0x332fd8(0x69);export class AIChatFeedContextChipsView extends _0x2bfcb4{[_0x332fd8(0x75)]=this[_0x332fd8(0x7a)]();[_0x332fd8(0x6e)];[_0x332fd8(0x88)];constructor(_0x1de347,_0x4e2e40,_0x20f85c){const _0x5211e5=_0x332fd8;super(_0x1de347),this[_0x5211e5(0x88)]=_0x20f85c,this[_0x5211e5(0x78)](_0x4e2e40);const _0x1b1fca={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x5211e5(0x6e)]=new _0x1649fb(_0x1de347,this[_0x5211e5(0x75)],_0x1b1fca,this[_0x5211e5(0x88)],this),this[_0x5211e5(0x7b)]({'tag':_0x5211e5(0x7e),'attributes':{'class':[$o,'ck',_0x5211e5(0x71)]},'children':[{'tag':_0x5211e5(0x7e),'attributes':{'class':Ko},'children':this[_0x5211e5(0x75)]}]});}[_0x332fd8(0x85)](){const _0x1eee74=_0x332fd8;super[_0x1eee74(0x85)]();const _0x3d4c9a=this[_0x1eee74(0x87)][_0x1eee74(0x7d)]('.'+Ko);_0x3d4c9a&&(this[_0x1eee74(0x6e)][_0x1eee74(0x72)](_0x3d4c9a),this[_0x1eee74(0x6e)][_0x1eee74(0x8b)]());}[_0x332fd8(0x89)](){const _0x22b2b9=_0x332fd8;super[_0x22b2b9(0x89)](),this[_0x22b2b9(0x6e)][_0x22b2b9(0x89)]();}[_0x332fd8(0x78)](_0x58d112){const _0x4f01df=_0x332fd8;for(const _0x56ffd5 of _0x58d112){const _0x11df10=new _0x1ebe0c(this[_0x4f01df(0x6d)],_0x56ffd5,!0x0,!0x1);this[_0x4f01df(0x75)][_0x4f01df(0x6a)](_0x11df10);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44912a=_0xf4a2;(function(_0x1b2c99,_0x48746c){const _0x567646=_0xf4a2,_0x134033=_0x1b2c99();while(!![]){try{const _0x30112f=-parseInt(_0x567646(0x181))/0x1*(parseInt(_0x567646(0x17e))/0x2)+parseInt(_0x567646(0x17a))/0x3*(-parseInt(_0x567646(0x177))/0x4)+-parseInt(_0x567646(0x176))/0x5+parseInt(_0x567646(0x175))/0x6+-parseInt(_0x567646(0x188))/0x7+-parseInt(_0x567646(0x17f))/0x8*(-parseInt(_0x567646(0x183))/0x9)+parseInt(_0x567646(0x184))/0xa;if(_0x30112f===_0x48746c)break;else _0x134033['push'](_0x134033['shift']());}catch(_0x10ae66){_0x134033['push'](_0x134033['shift']());}}}(_0x3a1a,0x6ca41));import{IconBulb as _0x4f474c,IconWeb as _0x3aa85e}from'@ckeditor/ckeditor5-icons';function _0x3a1a(){const _0x53e886=['ck-ai-chat__feed__interaction-header','379884qgrvXS','8dgcdtX','setTemplate','1buFPSG','add','3031659cpMkQS','9962430IowJWK','ck-ai-chat__feed__interaction-header__capabilities__text','children','capabilities','5898347ALwgFz','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','ck-hidden','div','content','span','4747290yAHmAI','1780210UnOQzU','1162844VsgBGE','push','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','3kssCts','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','extendTemplate'];_0x3a1a=function(){return _0x53e886;};return _0x3a1a();}import{IconView as _0xbcd596,View as _0x451a9a}from'ckeditor5/src/ui.js';function _0xf4a2(_0x236cfb,_0xe01295){const _0x3a1acc=_0x3a1a();return _0xf4a2=function(_0xf4a27d,_0x20a612){_0xf4a27d=_0xf4a27d-0x171;let _0x2953a3=_0x3a1acc[_0xf4a27d];return _0x2953a3;},_0xf4a2(_0x236cfb,_0xe01295);}import{AIChatFeedItemView as _0x4c26fb}from'./aichatfeeditemview.js';import{getTranslation as _0x2308cb}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x4c26fb{[_0x44912a(0x187)];constructor(_0xd5e432,_0x42d622){const _0x20ff3d=_0x44912a;super(_0x42d622);const {isWebSearchEnabled:_0x1cd56d,isReasoningEnabled:_0x345784}=_0x42d622[_0x20ff3d(0x187)],_0x519ef8=[];let _0x461954='';_0x1cd56d&&_0x345784?(_0x461954=_0x2308cb(_0xd5e432,_0x20ff3d(0x17b)),_0x519ef8[_0x20ff3d(0x178)](ca(_0x3aa85e)),_0x519ef8[_0x20ff3d(0x178)](ca(_0x4f474c))):_0x1cd56d?(_0x461954=_0x2308cb(_0xd5e432,_0x20ff3d(0x179)),_0x519ef8[_0x20ff3d(0x178)](ca(_0x3aa85e))):_0x345784&&(_0x461954=_0x2308cb(_0xd5e432,_0x20ff3d(0x189)),_0x519ef8[_0x20ff3d(0x178)](ca(_0x4f474c))),this[_0x20ff3d(0x17c)]({'attributes':{'class':[_0x20ff3d(0x17d),_0x461954?'':_0x20ff3d(0x171)]}});const _0x45fa1b=new _0x451a9a();_0x45fa1b[_0x20ff3d(0x180)]({'tag':_0x20ff3d(0x172),'attributes':{'class':['ck',_0x20ff3d(0x18a)]},'children':[..._0x519ef8,{'tag':_0x20ff3d(0x174),'attributes':{'class':[_0x20ff3d(0x185)]},'children':[_0x461954]}]}),this[_0x20ff3d(0x186)][_0x20ff3d(0x182)](_0x45fa1b),this[_0x20ff3d(0x187)]=_0x42d622[_0x20ff3d(0x187)];}}function ca(_0x1f8bfa){const _0x449bb8=_0x44912a,_0x535585=new _0xbcd596();return _0x535585[_0x449bb8(0x173)]=_0x1f8bfa,_0x535585;}
23
+ const _0x1e3ae6=_0x4978;(function(_0x36d050,_0x31381a){const _0x34c978=_0x4978,_0x3dcab3=_0x36d050();while(!![]){try{const _0x1f9678=-parseInt(_0x34c978(0x1ba))/0x1*(-parseInt(_0x34c978(0x1c1))/0x2)+parseInt(_0x34c978(0x1b3))/0x3+-parseInt(_0x34c978(0x1a9))/0x4+parseInt(_0x34c978(0x1b6))/0x5+parseInt(_0x34c978(0x1be))/0x6+-parseInt(_0x34c978(0x1aa))/0x7+-parseInt(_0x34c978(0x1b2))/0x8*(parseInt(_0x34c978(0x1ab))/0x9);if(_0x1f9678===_0x31381a)break;else _0x3dcab3['push'](_0x3dcab3['shift']());}catch(_0x2521eb){_0x3dcab3['push'](_0x3dcab3['shift']());}}}(_0x244d,0x4c501));function _0x244d(){const _0x2e21b5=['push','add','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','4215472OSmNfg','1868406mKLUsH','span','ck-ai-chat__feed__interaction-header__capabilities','1398065wHJQBR','content','children','div','532624RcwLyv','ck-hidden','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','3503814thAKBj','setTemplate','extendTemplate','2qVtilT','2086932gDGFot','915810ivNjDl','18LFcDbO'];_0x244d=function(){return _0x2e21b5;};return _0x244d();}import{IconBulb as _0x529814,IconWeb as _0x43e569}from'@ckeditor/ckeditor5-icons';import{IconView as _0x47a833,View as _0x36e9f5}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x2c4e59}from'./aichatfeeditemview.js';import{getTranslation as _0x25178b}from'../../../aicore/utils/common-translations.js';function _0x4978(_0xe42bde,_0x497d39){const _0x244deb=_0x244d();return _0x4978=function(_0x49782d,_0x27c8ed){_0x49782d=_0x49782d-0x1a9;let _0x340a36=_0x244deb[_0x49782d];return _0x340a36;},_0x4978(_0xe42bde,_0x497d39);}export class AIChatFeedInteractionHeaderView extends _0x2c4e59{[_0x1e3ae6(0x1bc)];constructor(_0xe0df9f,_0x4dbbbb){const _0x570d6d=_0x1e3ae6;super(_0x4dbbbb);const {isWebSearchEnabled:_0x44a34a,isReasoningEnabled:_0x271b26}=_0x4dbbbb[_0x570d6d(0x1bc)],_0x3a7364=[];let _0xcfc1ce='';_0x44a34a&&_0x271b26?(_0xcfc1ce=_0x25178b(_0xe0df9f,_0x570d6d(0x1b0)),_0x3a7364[_0x570d6d(0x1ac)](aa(_0x43e569)),_0x3a7364[_0x570d6d(0x1ac)](aa(_0x529814))):_0x44a34a?(_0xcfc1ce=_0x25178b(_0xe0df9f,_0x570d6d(0x1bd)),_0x3a7364[_0x570d6d(0x1ac)](aa(_0x43e569))):_0x271b26&&(_0xcfc1ce=_0x25178b(_0xe0df9f,_0x570d6d(0x1ae)),_0x3a7364[_0x570d6d(0x1ac)](aa(_0x529814))),this[_0x570d6d(0x1c0)]({'attributes':{'class':[_0x570d6d(0x1af),_0xcfc1ce?'':_0x570d6d(0x1bb)]}});const _0x3a64cc=new _0x36e9f5();_0x3a64cc[_0x570d6d(0x1bf)]({'tag':_0x570d6d(0x1b9),'attributes':{'class':['ck',_0x570d6d(0x1b5)]},'children':[..._0x3a7364,{'tag':_0x570d6d(0x1b4),'attributes':{'class':[_0x570d6d(0x1b1)]},'children':[_0xcfc1ce]}]}),this[_0x570d6d(0x1b8)][_0x570d6d(0x1ad)](_0x3a64cc),this[_0x570d6d(0x1bc)]=_0x4dbbbb[_0x570d6d(0x1bc)];}}function aa(_0x23f917){const _0x121607=_0x1e3ae6,_0x343a0d=new _0x47a833();return _0x343a0d[_0x121607(0x1b7)]=_0x23f917,_0x343a0d;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44a2c1=_0x5cde;function _0x5cde(_0x48065a,_0x3e2336){const _0x4e2eca=_0x4e2e();return _0x5cde=function(_0x5cde2f,_0x1f510f){_0x5cde2f=_0x5cde2f-0xba;let _0xe11553=_0x4e2eca[_0x5cde2f];return _0xe11553;},_0x5cde(_0x48065a,_0x3e2336);}function _0x4e2e(){const _0x3feeb9=['stream','streamIntoElement','htmlStreamer','ck-ai-chat__feed__item','504693huboSb','isDone','15TMHSwa','set','[data-id]','4175320KiHjKD','2Adbabn','cleanUpAnimations','querySelectorAll','234948Gyqwrn','190CiMjvn','div','options','removeAttribute','7jXGUsS','ck-ai-chat__feed__text-item','content','data-id','4422032hZHtqh','264086faDLxA','ck-ai-chat__feed__item_done','animation:\x20ck-html-streamer-fade-in\x20.5s','forEach','children','createCollection','4318896ryiWuc','markAsDone','6mXnUYH','bindTemplate','ck-hidden','setTemplate','element','isVisible','11wsPxrm','4925518plldmG'];_0x4e2e=function(){return _0x3feeb9;};return _0x4e2e();}(function(_0x5ea49f,_0x23c91b){const _0x47d16a=_0x5cde,_0x1e6ba6=_0x5ea49f();while(!![]){try{const _0x88db6a=parseInt(_0x47d16a(0xd1))/0x1*(-parseInt(_0x47d16a(0xde))/0x2)+parseInt(_0x47d16a(0xcd))/0x3*(parseInt(_0x47d16a(0xd4))/0x4)+-parseInt(_0x47d16a(0xd0))/0x5*(-parseInt(_0x47d16a(0xbf))/0x6)+parseInt(_0x47d16a(0xd9))/0x7*(-parseInt(_0x47d16a(0xdd))/0x8)+-parseInt(_0x47d16a(0xcb))/0x9*(-parseInt(_0x47d16a(0xd5))/0xa)+-parseInt(_0x47d16a(0xc5))/0xb*(parseInt(_0x47d16a(0xbd))/0xc)+-parseInt(_0x47d16a(0xc6))/0xd;if(_0x88db6a===_0x23c91b)break;else _0x1e6ba6['push'](_0x1e6ba6['shift']());}catch(_0x3ebed5){_0x1e6ba6['push'](_0x1e6ba6['shift']());}}}(_0x4e2e,0x9be72));import{View as _0x3f1214}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x221b6e}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3f1214{[_0x44a2c1(0xd7)];[_0x44a2c1(0xdb)]='';[_0x44a2c1(0xc9)];[_0x44a2c1(0xbb)];constructor(_0x5214ea){const _0x3b3e64=_0x44a2c1;super();const _0x3bc3c4=this[_0x3b3e64(0xc0)];this[_0x3b3e64(0xce)](_0x3b3e64(0xcc),!0x1),this[_0x3b3e64(0xce)](_0x3b3e64(0xc4),!0x0),this[_0x3b3e64(0xc9)]=new _0x221b6e({'textNodeStyle':_0x3b3e64(0xe0),'delay':0x14}),this[_0x3b3e64(0xd7)]=_0x5214ea,this[_0x3b3e64(0xbb)]=this[_0x3b3e64(0xbc)](),this[_0x3b3e64(0xc2)]({'tag':_0x3b3e64(0xd6),'attributes':{'class':['ck',_0x3b3e64(0xca),_0x3bc3c4['if'](_0x3b3e64(0xcc),_0x3b3e64(0xdf)),_0x3bc3c4['if'](_0x3b3e64(0xc4),_0x3b3e64(0xc1),_0x5dbed0=>!_0x5dbed0),_0x3b3e64(0xda)],'data-cke-ai-id':this[_0x3b3e64(0xd7)]['id']},'children':this[_0x3b3e64(0xbb)]});}[_0x44a2c1(0xbe)](){const _0x238a7a=_0x44a2c1;this[_0x238a7a(0xc9)][_0x238a7a(0xd2)]({'targetElement':this[_0x238a7a(0xc3)]}),this[_0x238a7a(0xc3)][_0x238a7a(0xd3)](_0x238a7a(0xcf))[_0x238a7a(0xba)](_0x328fa3=>{const _0x45f72a=_0x238a7a;_0x328fa3[_0x45f72a(0xd8)](_0x45f72a(0xdc));}),this[_0x238a7a(0xcc)]=!0x0;}async[_0x44a2c1(0xc8)](_0x268684,_0x303f3b,_0x3af816){const _0x2354ce=_0x44a2c1;await this[_0x2354ce(0xc9)][_0x2354ce(0xc7)]({'document':_0x268684,'targetElement':_0x303f3b,'abortSignal':_0x3af816});}}
23
+ const _0x49cb76=_0x5221;(function(_0x222c87,_0x8bc147){const _0x570168=_0x5221,_0x55412b=_0x222c87();while(!![]){try{const _0x78bd51=-parseInt(_0x570168(0x8b))/0x1*(parseInt(_0x570168(0x95))/0x2)+parseInt(_0x570168(0xa6))/0x3*(parseInt(_0x570168(0x91))/0x4)+-parseInt(_0x570168(0x93))/0x5*(parseInt(_0x570168(0xa1))/0x6)+parseInt(_0x570168(0xa7))/0x7*(-parseInt(_0x570168(0x90))/0x8)+parseInt(_0x570168(0x98))/0x9*(parseInt(_0x570168(0x87))/0xa)+-parseInt(_0x570168(0xad))/0xb*(parseInt(_0x570168(0xa2))/0xc)+-parseInt(_0x570168(0xa5))/0xd*(-parseInt(_0x570168(0xaa))/0xe);if(_0x78bd51===_0x8bc147)break;else _0x55412b['push'](_0x55412b['shift']());}catch(_0x1eee3a){_0x55412b['push'](_0x55412b['shift']());}}}(_0x212e,0x1dc2a));import{View as _0x4446ee}from'ckeditor5/src/ui.js';function _0x212e(){const _0x292ae8=['querySelectorAll','createCollection','div','element','7456odWzpi','125684yzMeYm','[data-id]','9025CzFvBP','setTemplate','2270TBxbIU','ck-ai-chat__feed__text-item','markAsDone','18tOEUSU','set','bindTemplate','htmlStreamer','options','content','ck-ai-chat__feed__item','animation:\x20ck-html-streamer-fade-in\x20.5s','removeAttribute','12HFctbE','12KYqRBb','data-id','isVisible','52Ovdtyl','6ssOkbN','126GbFeIB','ck-ai-chat__feed__item_done','ck-hidden','821996iCCRiq','children','streamIntoElement','213862cpqBxe','isDone','262190IiQILn','forEach','stream','cleanUpAnimations','166LrkuIv'];_0x212e=function(){return _0x292ae8;};return _0x212e();}function _0x5221(_0x16e0c2,_0xe304ed){const _0x212e01=_0x212e();return _0x5221=function(_0x522176,_0x9e7632){_0x522176=_0x522176-0x86;let _0x552972=_0x212e01[_0x522176];return _0x552972;},_0x5221(_0x16e0c2,_0xe304ed);}import{HTMLStreamer as _0x16cbc3}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x4446ee{[_0x49cb76(0x9c)];[_0x49cb76(0x9d)]='';[_0x49cb76(0x9b)];[_0x49cb76(0xab)];constructor(_0x1cd9ee){const _0x3f5517=_0x49cb76;super();const _0x5b89a5=this[_0x3f5517(0x9a)];this[_0x3f5517(0x99)](_0x3f5517(0x86),!0x1),this[_0x3f5517(0x99)](_0x3f5517(0xa4),!0x0),this[_0x3f5517(0x9b)]=new _0x16cbc3({'textNodeStyle':_0x3f5517(0x9f),'delay':0x14}),this[_0x3f5517(0x9c)]=_0x1cd9ee,this[_0x3f5517(0xab)]=this[_0x3f5517(0x8d)](),this[_0x3f5517(0x94)]({'tag':_0x3f5517(0x8e),'attributes':{'class':['ck',_0x3f5517(0x9e),_0x5b89a5['if'](_0x3f5517(0x86),_0x3f5517(0xa8)),_0x5b89a5['if'](_0x3f5517(0xa4),_0x3f5517(0xa9),_0x48ffa8=>!_0x48ffa8),_0x3f5517(0x96)],'data-cke-ai-id':this[_0x3f5517(0x9c)]['id']},'children':this[_0x3f5517(0xab)]});}[_0x49cb76(0x97)](){const _0x337071=_0x49cb76;this[_0x337071(0x9b)][_0x337071(0x8a)]({'targetElement':this[_0x337071(0x8f)]}),this[_0x337071(0x8f)][_0x337071(0x8c)](_0x337071(0x92))[_0x337071(0x88)](_0x2a984a=>{const _0x3a22cc=_0x337071;_0x2a984a[_0x3a22cc(0xa0)](_0x3a22cc(0xa3));}),this[_0x337071(0x86)]=!0x0;}async[_0x49cb76(0xac)](_0x360d90,_0x5ce81e,_0x3d56c9){const _0x4854a9=_0x49cb76;await this[_0x4854a9(0x9b)][_0x4854a9(0x89)]({'document':_0x360d90,'targetElement':_0x5ce81e,'abortSignal':_0x3d56c9});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d7219=_0x36d2;function _0x36d2(_0x4b7d32,_0x29aaa2){const _0x5c2586=_0x5c25();return _0x36d2=function(_0x36d2eb,_0x5c5f9d){_0x36d2eb=_0x36d2eb-0x17d;let _0x12eebb=_0x5c2586[_0x36d2eb];return _0x12eebb;},_0x36d2(_0x4b7d32,_0x29aaa2);}(function(_0x55864d,_0x2d281b){const _0xed87d3=_0x36d2,_0x3bf2cb=_0x55864d();while(!![]){try{const _0x59f4ae=-parseInt(_0xed87d3(0x180))/0x1+-parseInt(_0xed87d3(0x19c))/0x2*(-parseInt(_0xed87d3(0x196))/0x3)+parseInt(_0xed87d3(0x195))/0x4+parseInt(_0xed87d3(0x18a))/0x5*(-parseInt(_0xed87d3(0x19d))/0x6)+parseInt(_0xed87d3(0x198))/0x7*(-parseInt(_0xed87d3(0x193))/0x8)+-parseInt(_0xed87d3(0x18e))/0x9*(parseInt(_0xed87d3(0x18c))/0xa)+parseInt(_0xed87d3(0x187))/0xb;if(_0x59f4ae===_0x2d281b)break;else _0x3bf2cb['push'](_0x3bf2cb['shift']());}catch(_0x5209c5){_0x3bf2cb['push'](_0x3bf2cb['shift']());}}}(_0x5c25,0x8597a));import{AIChatFeedItemView as _0x5d7913}from'./aichatfeeditemview.js';import{parse as _0x1349e5,render as _0xfe8ddb}from'../../../aicore/utils/htmlparser.js';function _0x5c25(){const _0x47707a=['markAsDone','div','map','add','25832334bHcnXC','element','static','50YWUUYl','render','10AnpNJI','extendTemplate','8215551XrHgAB','streaming','isVisible','ck-reset_all-excluded','children','56jiJEDQ','locale','3052308wmOtSQ','1100823TtInFm','replyContainer','911253GDoErw','setTemplate','updateSources','addMany','4wbTrVw','425142JZhKbt','innerHTML','ck-ai-chat__feed__ai-reply-container','streamIntoElement','ck-ai-chat__feed__ai-reply','updateContent','765497nOfDIT','options','initialContent'];_0x5c25=function(){return _0x47707a;};return _0x5c25();}import{View as _0x59b8e3}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x575ca5,AIWebSourceView as _0x424af4}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x5d7913{[_0x4d7219(0x197)];constructor(_0x46a5f8,_0x267794){const _0x51ce96=_0x4d7219;super(_0x267794),this[_0x51ce96(0x194)]=_0x46a5f8,this[_0x51ce96(0x18d)]({'attributes':{'class':[_0x51ce96(0x17e)]}}),this[_0x51ce96(0x197)]=new _0x59b8e3(),this[_0x51ce96(0x197)][_0x51ce96(0x199)]({'tag':_0x51ce96(0x184),'attributes':{'class':['ck',_0x51ce96(0x191),_0x51ce96(0x19f)]}}),this[_0x51ce96(0x192)][_0x51ce96(0x186)](this[_0x51ce96(0x197)]);}async[_0x4d7219(0x18b)](){const _0x3b87f2=_0x4d7219;super[_0x3b87f2(0x18b)](),this[_0x3b87f2(0x181)][_0x3b87f2(0x182)]&&(await this[_0x3b87f2(0x17f)]({'parsedContent':_0x1349e5(this[_0x3b87f2(0x181)][_0x3b87f2(0x182)]),'renderingStrategy':_0x3b87f2(0x189)}),this[_0x3b87f2(0x183)]());}async[_0x4d7219(0x17f)]({parsedContent:_0x14ec6c,renderingStrategy:_0x664b67,abortSignal:_0x368391}){const _0x17f747=_0x4d7219;_0x17f747(0x18f)===_0x664b67?await this[_0x17f747(0x17d)](_0x14ec6c,this[_0x17f747(0x197)][_0x17f747(0x188)],_0x368391):this[_0x17f747(0x197)][_0x17f747(0x188)][_0x17f747(0x19e)]=_0xfe8ddb(_0x14ec6c);}[_0x4d7219(0x19a)](_0x87bd8b){const _0x8083f7=_0x4d7219,_0x1e42e7=new _0x575ca5(this[_0x8083f7(0x194)]);_0x1e42e7[_0x8083f7(0x192)][_0x8083f7(0x19b)](_0x87bd8b[_0x8083f7(0x185)](_0x52d4d5=>new _0x424af4(this[_0x8083f7(0x194)],_0x52d4d5))),_0x1e42e7[_0x8083f7(0x190)]=!0x0,this[_0x8083f7(0x192)][_0x8083f7(0x186)](_0x1e42e7);}}
23
+ const _0xe7416e=_0x56aa;function _0x5c18(){const _0xfab260=['7030590shIZDA','children','element','6276776iTuTdT','replyContainer','372LDgyoy','map','render','isVisible','17559100FPKwUc','7381535WZJzFg','streaming','545217pVzQUB','div','2760408foFxHE','innerHTML','extendTemplate','ck-ai-chat__feed__ai-reply-container','ck-ai-chat__feed__ai-reply','setTemplate','addMany','9SkxZVx','ck-reset_all-excluded','34785DuWZAn','updateContent','updateSources','options','locale','markAsDone','add','streamIntoElement','2GtppwR','static','initialContent'];_0x5c18=function(){return _0xfab260;};return _0x5c18();}(function(_0x2452db,_0x4967de){const _0x58c197=_0x56aa,_0x167ff9=_0x2452db();while(!![]){try{const _0x460cc1=-parseInt(_0x58c197(0x1ef))/0x1*(-parseInt(_0x58c197(0x202))/0x2)+-parseInt(_0x58c197(0x1f1))/0x3+-parseInt(_0x58c197(0x20a))/0x4*(-parseInt(_0x58c197(0x1fa))/0x5)+-parseInt(_0x58c197(0x205))/0x6+-parseInt(_0x58c197(0x1ed))/0x7+parseInt(_0x58c197(0x208))/0x8*(parseInt(_0x58c197(0x1f8))/0x9)+parseInt(_0x58c197(0x1ec))/0xa;if(_0x460cc1===_0x4967de)break;else _0x167ff9['push'](_0x167ff9['shift']());}catch(_0x3fd496){_0x167ff9['push'](_0x167ff9['shift']());}}}(_0x5c18,0x8f24f));import{AIChatFeedItemView as _0x15fe1f}from'./aichatfeeditemview.js';function _0x56aa(_0x51529d,_0x5407d8){const _0x5c18dc=_0x5c18();return _0x56aa=function(_0x56aa5d,_0x46b926){_0x56aa5d=_0x56aa5d-0x1eb;let _0x3d853f=_0x5c18dc[_0x56aa5d];return _0x3d853f;},_0x56aa(_0x51529d,_0x5407d8);}import{parse as _0x47998b,render as _0x4e7285}from'../../../aicore/utils/htmlparser.js';import{View as _0x1fa872}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2c6b0e,AIWebSourceView as _0x5e1657}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x15fe1f{[_0xe7416e(0x209)];constructor(_0x235cf3,_0x26139f){const _0x5f0911=_0xe7416e;super(_0x26139f),this[_0x5f0911(0x1fe)]=_0x235cf3,this[_0x5f0911(0x1f3)]({'attributes':{'class':[_0x5f0911(0x1f5)]}}),this[_0x5f0911(0x209)]=new _0x1fa872(),this[_0x5f0911(0x209)][_0x5f0911(0x1f6)]({'tag':_0x5f0911(0x1f0),'attributes':{'class':['ck',_0x5f0911(0x1f9),_0x5f0911(0x1f4)]}}),this[_0x5f0911(0x206)][_0x5f0911(0x200)](this[_0x5f0911(0x209)]);}async[_0xe7416e(0x20c)](){const _0x221cf6=_0xe7416e;super[_0x221cf6(0x20c)](),this[_0x221cf6(0x1fd)][_0x221cf6(0x204)]&&(await this[_0x221cf6(0x1fb)]({'parsedContent':_0x47998b(this[_0x221cf6(0x1fd)][_0x221cf6(0x204)]),'renderingStrategy':_0x221cf6(0x203)}),this[_0x221cf6(0x1ff)]());}async[_0xe7416e(0x1fb)]({parsedContent:_0x236413,renderingStrategy:_0x11c9c1,abortSignal:_0xfe70e0}){const _0x5229ea=_0xe7416e;_0x5229ea(0x1ee)===_0x11c9c1?await this[_0x5229ea(0x201)](_0x236413,this[_0x5229ea(0x209)][_0x5229ea(0x207)],_0xfe70e0):this[_0x5229ea(0x209)][_0x5229ea(0x207)][_0x5229ea(0x1f2)]=_0x4e7285(_0x236413);}[_0xe7416e(0x1fc)](_0x5d98b4){const _0x2ebe33=_0xe7416e,_0x2bac28=new _0x2c6b0e(this[_0x2ebe33(0x1fe)]);_0x2bac28[_0x2ebe33(0x206)][_0x2ebe33(0x1f7)](_0x5d98b4[_0x2ebe33(0x20b)](_0x1feb98=>new _0x5e1657(this[_0x2ebe33(0x1fe)],_0x1feb98))),_0x2bac28[_0x2ebe33(0x1eb)]=!0x0,this[_0x2ebe33(0x206)][_0x2ebe33(0x200)](_0x2bac28);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b76af=_0x8aff;(function(_0x4aaa1b,_0x56ca12){const _0x2b2a18=_0x8aff,_0x2c089a=_0x4aaa1b();while(!![]){try{const _0x3f891a=parseInt(_0x2b2a18(0xe1))/0x1+-parseInt(_0x2b2a18(0xb2))/0x2+-parseInt(_0x2b2a18(0xd3))/0x3*(parseInt(_0x2b2a18(0xd1))/0x4)+parseInt(_0x2b2a18(0xf1))/0x5*(-parseInt(_0x2b2a18(0xba))/0x6)+-parseInt(_0x2b2a18(0xce))/0x7*(parseInt(_0x2b2a18(0x10b))/0x8)+-parseInt(_0x2b2a18(0xe8))/0x9*(-parseInt(_0x2b2a18(0xf3))/0xa)+parseInt(_0x2b2a18(0xda))/0xb;if(_0x3f891a===_0x56ca12)break;else _0x2c089a['push'](_0x2c089a['shift']());}catch(_0x4f8d90){_0x2c089a['push'](_0x2c089a['shift']());}}}(_0x5c98,0x25876));import{KeystrokeHandler as _0x4f8d8b}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x168e75,BodyCollection as _0x356dc4,ButtonView as _0x2dc783,clickOutsideHandler as _0x49f14b,ListItemButtonView as _0x1296cd,ListItemView as _0x3b50ba,ListView as _0x568925,SplitButtonView as _0x180272,UIModel as _0x589a68,View as _0x53665a}from'ckeditor5/src/ui.js';import{IconCheck as _0x1a072e,IconAddComment as _0x3ef96f,IconDocumentWithLoupe as _0x4c98a8}from'ckeditor5/src/icons.js';import{getTranslation as _0x5a69ab}from'../../../aicore/utils/common-translations.js';function _0x5c98(){const _0x249994=['listenTo','ck-ai-chat__feed__ai-suggestion__actions\x20','left','isEnabled','applySuggestion','esc','focus','5435aQpQYN','arrowView','1030XXMScX','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','actionsButton','delegate','attachToDom','_firstRender','arrowless','applySuggestionModel','children','filter','ltr','button','bodyCollection','slice','showChangeInTextModel','listView','add','_setUpList','destroy','bind','width','_dropdownOriginalConfig','remove','hide','66008FTUoeE','unbind','tooltip','bottom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','items','showChangeInText','set','352134dlsQPH','uiLanguageDirection','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','bindTemplate','_createActionsDropdownOrButton','fire','_dropdownCurrentConfig','isVisible','6vnZkBf','_createActionsDropdown','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','keys','detachFromDom','createCollection','div','_updateDropdownActions','has','balloonPanelView','locale','keystrokeHandler','updateLabels','_setUpKeystrokes','execute','ck-hidden','actionName','label','ck-ai-chat__feed__ai-suggestion__actions__balloon','element','98RtaKJK','_createActionsButton','_partsCount','142728tMLqga','ck-ai-chat__feed__ai-suggestion__actions','18rxmDVS','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions--no-animation','balloonPanelClass','setTemplate','listItemModels','source','1869736DjMPpA','insertSuggestionModel','length','insertSuggestion','ck-ai-button-primary','open','content','300055tktEYh','pin','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','class','map','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','16641jgpwHv','isTrackChangesOn'];_0x5c98=function(){return _0x249994;};return _0x5c98();}export const AI_REPLY_ACTIONS=[_0x3b76af(0xee),_0x3b76af(0xdd),_0x3b76af(0xb0)];export class AIChatFeedSuggestionItemActionsView extends _0x53665a{[_0x3b76af(0xf5)];[_0x3b76af(0xfb)];[_0x3b76af(0xfa)];[_0x3b76af(0x101)];[_0x3b76af(0xdb)];[_0x3b76af(0xd0)]=0x1;[_0x3b76af(0x108)];[_0x3b76af(0xb8)];[_0x3b76af(0xf8)]=!0x0;constructor(_0x7988cc,_0xad426c){const _0x207ce2=_0x3b76af;super(_0x7988cc),this[_0x207ce2(0x108)]=_0xad426c||[...AI_REPLY_ACTIONS],this[_0x207ce2(0xb8)]=[...this[_0x207ce2(0x108)]];const _0x366a3d=this[_0x207ce2(0xb5)];this[_0x207ce2(0xb1)](_0x207ce2(0xed),!0x0),this[_0x207ce2(0xb1)](_0x207ce2(0xb9),!0x0),this[_0x207ce2(0xb1)](_0x207ce2(0xe9),!0x1),this[_0x207ce2(0xfa)]=new _0x589a68({'label':In(_0x207ce2(0xee),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x1a072e,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xee)}),this[_0x207ce2(0x101)]=new _0x589a68({'label':In(_0x207ce2(0xb0),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x4c98a8,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xb0)}),this[_0x207ce2(0xdb)]=new _0x589a68({'label':In(_0x207ce2(0xdd),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x3ef96f,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xdd)}),this[_0x207ce2(0xf5)]=this[_0x207ce2(0xb6)](_0x7988cc),this[_0x207ce2(0xfb)]=this[_0x207ce2(0xbf)](),this[_0x207ce2(0xf5)]&&this[_0x207ce2(0xfb)][_0x207ce2(0x103)](this[_0x207ce2(0xf5)]),this[_0x207ce2(0xd7)]({'tag':_0x207ce2(0xc0),'attributes':{'class':['ck',_0x207ce2(0xd2),_0x366a3d['if'](_0x207ce2(0xb9),_0x207ce2(0xc9),_0x4ada3c=>!_0x4ada3c)]},'children':this[_0x207ce2(0xfb)]}),this['on'](_0x207ce2(0xe3),()=>{const _0x229dad=_0x207ce2;this[_0x229dad(0xb8)]=this[_0x229dad(0xe9)]?this[_0x229dad(0x108)][_0x229dad(0xfc)](_0x12aa56=>_0x229dad(0xee)!==_0x12aa56):[...this[_0x229dad(0x108)]],this[_0x229dad(0xc1)](_0x7988cc);});}[_0x3b76af(0xc1)](_0x2cf1f9){const _0x50a18c=_0x3b76af;this[_0x50a18c(0xf5)]&&this[_0x50a18c(0xfb)][_0x50a18c(0xc2)](this[_0x50a18c(0xf5)])&&(this[_0x50a18c(0xfb)][_0x50a18c(0x109)](this[_0x50a18c(0xf5)]),this[_0x50a18c(0xf5)][_0x50a18c(0x105)]()),this[_0x50a18c(0xf5)]=this[_0x50a18c(0xb6)](_0x2cf1f9),this[_0x50a18c(0xf5)]&&this[_0x50a18c(0xfb)][_0x50a18c(0x103)](this[_0x50a18c(0xf5)]);}[_0x3b76af(0xb6)](_0x3502a2){const _0x9e8c90=_0x3b76af;if(0x0==this[_0x9e8c90(0xb8)][_0x9e8c90(0xdc)])return null;const _0x3278ae=0x1===this[_0x9e8c90(0xb8)][_0x9e8c90(0xdc)]?this[_0x9e8c90(0xcf)](_0x3502a2):this[_0x9e8c90(0xbb)](_0x3502a2),_0x3f3325=this[_0x9e8c90(0xf8)]?'':_0x9e8c90(0xd5);_0x3278ae[_0x9e8c90(0xb1)]({'label':In(this[_0x9e8c90(0xb8)][0x0],_0x3502a2,this[_0x9e8c90(0xd0)]),'tooltip':Sn(this[_0x9e8c90(0xb8)][0x0],_0x3502a2,this[_0x9e8c90(0xd0)]),'withText':!0x0,'class':_0x9e8c90(0xeb)+_0x3f3325});for(const _0x138b12 of this[_0x9e8c90(0xb8)])_0x3278ae['on'](_0x138b12,()=>{const _0x1861d8=_0x9e8c90;this[_0x1861d8(0xb7)](_0x138b12);});return this[_0x9e8c90(0xf8)]=!0x1,_0x3278ae;}[_0x3b76af(0xcf)](_0x2e3f44){const _0x4e9520=_0x3b76af,_0x4cb771=new _0x2dc783(_0x2e3f44);return _0x4cb771[_0x4e9520(0xb1)]({'class':_0x4e9520(0xde),'withText':!0x0}),_0x4cb771['on'](_0x4e9520(0xc8),()=>{const _0x5a1c4f=_0x4e9520;_0x4cb771[_0x5a1c4f(0xb7)](this[_0x5a1c4f(0xb8)][0x0]);}),_0x4cb771;}[_0x3b76af(0xbb)](_0x2bb6ee){const _0x356329=_0x3b76af,_0x4c2e9c=new gn(_0x2bb6ee,{'listItemModels':this[_0x356329(0xb8)][_0x356329(0xe6)](_0x2a8cd8=>{const _0x1cb262=_0x356329;switch(_0x2a8cd8){case _0x1cb262(0xee):return this[_0x1cb262(0xfa)];case _0x1cb262(0xb0):return this[_0x1cb262(0x101)];case _0x1cb262(0xdd):return this[_0x1cb262(0xdb)];}})});return _0x4c2e9c[_0x356329(0xb1)]({'label':In(this[_0x356329(0xb8)][0x0],_0x2bb6ee,this[_0x356329(0xd0)]),'tooltip':Sn(this[_0x356329(0xb8)][0x0],_0x2bb6ee,this[_0x356329(0xd0)]),'withText':!0x0,'class':_0x356329(0xd2),'balloonPanelClass':_0x356329(0xcc)}),_0x4c2e9c[_0x356329(0x106)](_0x356329(0xed))['to'](this),_0x4c2e9c;}[_0x3b76af(0xc6)](_0x26afbb){const _0x1b5574=_0x3b76af,_0x411367=this[_0x1b5574(0xc4)];this[_0x1b5574(0xd0)]=_0x26afbb||this[_0x1b5574(0xd0)],this[_0x1b5574(0xf5)][_0x1b5574(0xb1)]({'label':In(this[_0x1b5574(0xb8)][0x0],_0x411367,this[_0x1b5574(0xd0)]),'tooltip':Sn(this[_0x1b5574(0xb8)][0x0],_0x411367,this[_0x1b5574(0xd0)])}),this[_0x1b5574(0xfa)][_0x1b5574(0xcb)]=In(_0x1b5574(0xee),_0x411367,this[_0x1b5574(0xd0)]),this[_0x1b5574(0x101)][_0x1b5574(0xcb)]=In(_0x1b5574(0xb0),_0x411367,this[_0x1b5574(0xd0)]),this[_0x1b5574(0xdb)][_0x1b5574(0xcb)]=In(_0x1b5574(0xdd),_0x411367,this[_0x1b5574(0xd0)]);}}function _0x8aff(_0x2ce37e,_0x96832){const _0x5c9864=_0x5c98();return _0x8aff=function(_0x8aff11,_0x42a457){_0x8aff11=_0x8aff11-0xaf;let _0x1b6f4a=_0x5c9864[_0x8aff11];return _0x1b6f4a;},_0x8aff(_0x2ce37e,_0x96832);}class gn extends _0x180272{[_0x3b76af(0xff)];[_0x3b76af(0xc3)];[_0x3b76af(0x102)];[_0x3b76af(0xc5)];constructor(_0x5aa784,_0x3d9d13){const _0x1c87e2=_0x3b76af;super(_0x5aa784),this[_0x1c87e2(0xc3)]=new _0x168e75(this[_0x1c87e2(0xc4)]),this[_0x1c87e2(0xff)]=new _0x356dc4(this[_0x1c87e2(0xc4)]),this[_0x1c87e2(0xff)][_0x1c87e2(0xf7)](),this[_0x1c87e2(0xb1)](_0x1c87e2(0xd6),''),this[_0x1c87e2(0xc3)][_0x1c87e2(0x106)](_0x1c87e2(0xe5))['to'](this,_0x1c87e2(0xd6)),this[_0x1c87e2(0x102)]=this[_0x1c87e2(0x104)](_0x3d9d13[_0x1c87e2(0xd8)][_0x1c87e2(0x100)](0x1)),this[_0x1c87e2(0xff)][_0x1c87e2(0x103)](this[_0x1c87e2(0xc3)]),this[_0x1c87e2(0xc3)][_0x1c87e2(0xe0)][_0x1c87e2(0x103)](this[_0x1c87e2(0x102)]),this[_0x1c87e2(0xf2)][_0x1c87e2(0x10c)](_0x1c87e2(0x10d)),this[_0x1c87e2(0xf2)][_0x1c87e2(0xb1)](_0x1c87e2(0x10d),_0x5a69ab(this[_0x1c87e2(0xc4)],_0x1c87e2(0xd4))),this[_0x1c87e2(0xc7)](),this['on'](_0x1c87e2(0xc8),()=>{const _0x4bca28=_0x1c87e2,_0x29e88a=_0x3d9d13[_0x4bca28(0xd8)][0x0][_0x4bca28(0xca)];this[_0x4bca28(0xb7)](_0x29e88a),this[_0x4bca28(0xc3)][_0x4bca28(0x10a)](),this[_0x4bca28(0xf2)][_0x4bca28(0xf0)]();}),this['on'](_0x1c87e2(0xdf),()=>{const _0x377413=_0x1c87e2;this[_0x377413(0xc3)][_0x377413(0xb9)]?(this[_0x377413(0xc3)][_0x377413(0x10a)](),this[_0x377413(0xf2)][_0x377413(0xf0)]()):(this[_0x377413(0xc3)][_0x377413(0xe2)]({'target':this[_0x377413(0xcd)],'positions':[_0x377413(0xfd)===this[_0x377413(0xc4)][_0x377413(0xb3)]?Tn:pn]}),this[_0x377413(0x102)][_0x377413(0xf0)]());}),_0x49f14b({'emitter':this[_0x1c87e2(0xc3)],'callback':()=>{const _0x1d05ed=_0x1c87e2;this[_0x1d05ed(0xc3)][_0x1d05ed(0x10a)]();},'activator':()=>this[_0x1c87e2(0xc3)][_0x1c87e2(0xb9)],'contextElements':()=>[this[_0x1c87e2(0xcd)],this[_0x1c87e2(0xc3)][_0x1c87e2(0xcd)]]});}[_0x3b76af(0x104)](_0x27759b){const _0x1c46e1=_0x3b76af,_0x2f8833=this[_0x1c46e1(0xc4)],_0x7e18b4=new _0x568925(_0x2f8833);for(const _0x5be1cf of _0x27759b){const _0x451aac=new _0x3b50ba(_0x2f8833),_0x33b0f3=new _0x1296cd(_0x2f8833);_0x33b0f3[_0x1c46e1(0x106)](...Object[_0x1c46e1(0xbd)](_0x5be1cf))['to'](_0x5be1cf),_0x33b0f3[_0x1c46e1(0xf6)](_0x1c46e1(0xc8))['to'](_0x7e18b4),_0x451aac[_0x1c46e1(0xfb)][_0x1c46e1(0x103)](_0x33b0f3),_0x7e18b4[_0x1c46e1(0xaf)][_0x1c46e1(0x103)](_0x451aac);}return _0x7e18b4[_0x1c46e1(0xaf)][_0x1c46e1(0xf6)](_0x1c46e1(0xc8))['to'](this),_0x7e18b4['on'](_0x1c46e1(0xc8),_0x45ef7d=>{const _0x800bf1=_0x1c46e1,_0x4fbd2a=_0x45ef7d[_0x800bf1(0xd9)];this[_0x800bf1(0xb7)](_0x4fbd2a[_0x800bf1(0xca)]),this[_0x800bf1(0xc3)][_0x800bf1(0x10a)](),this[_0x800bf1(0xf2)][_0x800bf1(0xf0)]();}),_0x7e18b4;}[_0x3b76af(0xc7)](){const _0x33d7c7=_0x3b76af;this[_0x33d7c7(0xc5)]=new _0x4f8d8b(),this[_0x33d7c7(0xc5)][_0x33d7c7(0xea)](this[_0x33d7c7(0xc3)][_0x33d7c7(0xcd)]),this[_0x33d7c7(0xc5)][_0x33d7c7(0xb1)](_0x33d7c7(0xef),(_0x46b25c,_0x2acc6d)=>{const _0x428037=_0x33d7c7;this[_0x428037(0xc3)][_0x428037(0x10a)](),this[_0x428037(0xf2)][_0x428037(0xf0)](),_0x2acc6d();});}[_0x3b76af(0x105)](){const _0x319dce=_0x3b76af;super[_0x319dce(0x105)](),this[_0x319dce(0xc5)][_0x319dce(0x105)](),this[_0x319dce(0xc3)][_0x319dce(0x105)](),this[_0x319dce(0xff)][_0x319dce(0xbe)]();}}function Tn(_0x3bde44){const _0x4fef24=_0x3b76af;return{'top':_0x3bde44[_0x4fef24(0x10e)],'left':_0x3bde44[_0x4fef24(0xec)],'name':_0x4fef24(0xf9),'config':{'withArrow':!0x1}};}function pn(_0x2c42af,_0x352839){const _0x173be5=_0x3b76af;return{'top':_0x2c42af[_0x173be5(0x10e)],'left':_0x2c42af[_0x173be5(0xec)]-(_0x352839[_0x173be5(0x107)]-_0x2c42af[_0x173be5(0x107)]),'name':_0x173be5(0xf9),'config':{'withArrow':!0x1}};}function In(_0x69a9d6,_0x28844a,_0x3d1c24){const _0x496f83=_0x3b76af;switch(_0x69a9d6){case _0x496f83(0xee):return _0x5a69ab(_0x28844a,_0x496f83(0xe4),_0x3d1c24);case _0x496f83(0xb0):return _0x5a69ab(_0x28844a,_0x496f83(0xf4),_0x3d1c24);case _0x496f83(0xdd):return _0x5a69ab(_0x28844a,_0x496f83(0xe7),_0x3d1c24);}}function Sn(_0x35cc06,_0x546e97,_0x250986){const _0x1d2e47=_0x3b76af;switch(_0x35cc06){case _0x1d2e47(0xee):return _0x5a69ab(_0x546e97,_0x1d2e47(0xbc),_0x250986);case _0x1d2e47(0xb0):return _0x5a69ab(_0x546e97,_0x1d2e47(0x10f),_0x250986);case _0x1d2e47(0xdd):return _0x5a69ab(_0x546e97,_0x1d2e47(0xb4),_0x250986);}}
23
+ const _0x5e2313=_0x3124;(function(_0x2dc477,_0x52ec4c){const _0x529d0d=_0x3124,_0x1d604b=_0x2dc477();while(!![]){try{const _0x2bf880=-parseInt(_0x529d0d(0x15d))/0x1+parseInt(_0x529d0d(0x12a))/0x2*(-parseInt(_0x529d0d(0x127))/0x3)+-parseInt(_0x529d0d(0x138))/0x4*(parseInt(_0x529d0d(0x126))/0x5)+-parseInt(_0x529d0d(0x11b))/0x6+-parseInt(_0x529d0d(0x15f))/0x7*(parseInt(_0x529d0d(0x13a))/0x8)+-parseInt(_0x529d0d(0x148))/0x9+-parseInt(_0x529d0d(0x14a))/0xa*(-parseInt(_0x529d0d(0x115))/0xb);if(_0x2bf880===_0x52ec4c)break;else _0x1d604b['push'](_0x1d604b['shift']());}catch(_0x2f7f15){_0x1d604b['push'](_0x1d604b['shift']());}}}(_0x2b8c,0xde206));import{KeystrokeHandler as _0xb72b4f}from'ckeditor5/src/utils.js';function _0x2b8c(){const _0x418a5a=['detachFromDom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_createActionsDropdownOrButton','balloonPanelView','add','esc','length','14617908KBSEJg','remove','12244310cGjPhG','isVisible','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','balloonPanelClass','tooltip','setTemplate','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions--no-animation','button','slice','_firstRender','children','insertSuggestion','uiLanguageDirection','listItemModels','set','arrowView','source','1618227kbBkRk','listenTo','7udBdvC','showChangeInTextModel','pin','bind','_createActionsButton','isEnabled','attachToDom','bindTemplate','_createActionsDropdown','label','left','unbind','width','keys','arrowless','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_dropdownOriginalConfig','fire','_dropdownCurrentConfig','content','_setUpList','applySuggestion','actionName','77bcInJd','listView','createCollection','showChangeInText','div','bottom','6797622cCWakt','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','hide','bodyCollection','ck-ai-button-primary','_partsCount','ck-hidden','focus','change:isTrackChangesOn','map','35VrPYsc','21mpOWPG','open','execute','504534srnXvo','actionsButton','ck-ai-chat__feed__ai-suggestion__actions','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','insertSuggestionModel','items','has','isTrackChangesOn','locale','ck-ai-chat__feed__ai-suggestion__actions__balloon','updateLabels','applySuggestionModel','_setUpKeystrokes','delegate','507708QMQeBK','ck-ai-chat__feed__ai-suggestion__actions\x20','5051624YsLVkM','element','keystrokeHandler','ltr','destroy','class','filter'];_0x2b8c=function(){return _0x418a5a;};return _0x2b8c();}import{BalloonPanelView as _0x8d0a3b,BodyCollection as _0x2bddb7,ButtonView as _0x2a86e5,clickOutsideHandler as _0x7e7f69,ListItemButtonView as _0x384639,ListItemView as _0x32ff44,ListView as _0x3c989b,SplitButtonView as _0x565970,UIModel as _0x27b976,View as _0x11faa8}from'ckeditor5/src/ui.js';import{IconCheck as _0x2e199e,IconAddComment as _0x42addd,IconDocumentWithLoupe as _0x2bf589}from'ckeditor5/src/icons.js';import{getTranslation as _0x2459b7}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x5e2313(0x113),_0x5e2313(0x157),_0x5e2313(0x118)];export class AIChatFeedSuggestionItemActionsView extends _0x11faa8{[_0x5e2313(0x12b)];[_0x5e2313(0x156)];[_0x5e2313(0x135)];[_0x5e2313(0x160)];[_0x5e2313(0x12e)];[_0x5e2313(0x121)]=0x1;[_0x5e2313(0x10e)];[_0x5e2313(0x110)];[_0x5e2313(0x155)]=!0x0;constructor(_0x2ee2b5,_0x1138d4){const _0xc62215=_0x5e2313;super(_0x2ee2b5),this[_0xc62215(0x10e)]=_0x1138d4||[...AI_REPLY_ACTIONS],this[_0xc62215(0x110)]=[...this[_0xc62215(0x10e)]];const _0x1325e4=this[_0xc62215(0x166)];this[_0xc62215(0x15a)](_0xc62215(0x164),!0x0),this[_0xc62215(0x15a)](_0xc62215(0x14b),!0x0),this[_0xc62215(0x15a)](_0xc62215(0x131),!0x1),this[_0xc62215(0x135)]=new _0x27b976({'label':Pn(_0xc62215(0x113),_0x2ee2b5,this[_0xc62215(0x121)]),'icon':_0x2e199e,'withText':!0x0,'type':_0xc62215(0x153),'actionName':_0xc62215(0x113)}),this[_0xc62215(0x160)]=new _0x27b976({'label':Pn(_0xc62215(0x118),_0x2ee2b5,this[_0xc62215(0x121)]),'icon':_0x2bf589,'withText':!0x0,'type':_0xc62215(0x153),'actionName':_0xc62215(0x118)}),this[_0xc62215(0x12e)]=new _0x27b976({'label':Pn(_0xc62215(0x157),_0x2ee2b5,this[_0xc62215(0x121)]),'icon':_0x42addd,'withText':!0x0,'type':_0xc62215(0x153),'actionName':_0xc62215(0x157)}),this[_0xc62215(0x12b)]=this[_0xc62215(0x143)](_0x2ee2b5),this[_0xc62215(0x156)]=this[_0xc62215(0x117)](),this[_0xc62215(0x12b)]&&this[_0xc62215(0x156)][_0xc62215(0x145)](this[_0xc62215(0x12b)]),this[_0xc62215(0x14f)]({'tag':_0xc62215(0x119),'attributes':{'class':['ck',_0xc62215(0x12c),_0x1325e4['if'](_0xc62215(0x14b),_0xc62215(0x122),_0x12db36=>!_0x12db36)]},'children':this[_0xc62215(0x156)]}),this['on'](_0xc62215(0x124),()=>{const _0x55bc2f=_0xc62215;this[_0x55bc2f(0x110)]=this[_0x55bc2f(0x131)]?this[_0x55bc2f(0x10e)][_0x55bc2f(0x140)](_0x3cfabb=>_0x55bc2f(0x113)!==_0x3cfabb):[...this[_0x55bc2f(0x10e)]],this[_0x55bc2f(0x151)](_0x2ee2b5);});}[_0x5e2313(0x151)](_0x4e63b2){const _0x5e6513=_0x5e2313;this[_0x5e6513(0x12b)]&&this[_0x5e6513(0x156)][_0x5e6513(0x130)](this[_0x5e6513(0x12b)])&&(this[_0x5e6513(0x156)][_0x5e6513(0x149)](this[_0x5e6513(0x12b)]),this[_0x5e6513(0x12b)][_0x5e6513(0x13e)]()),this[_0x5e6513(0x12b)]=this[_0x5e6513(0x143)](_0x4e63b2),this[_0x5e6513(0x12b)]&&this[_0x5e6513(0x156)][_0x5e6513(0x145)](this[_0x5e6513(0x12b)]);}[_0x5e2313(0x143)](_0x190345){const _0x6706a2=_0x5e2313;if(0x0==this[_0x6706a2(0x110)][_0x6706a2(0x147)])return null;const _0x2c868c=0x1===this[_0x6706a2(0x110)][_0x6706a2(0x147)]?this[_0x6706a2(0x163)](_0x190345):this[_0x6706a2(0x106)](_0x190345),_0x3c2416=this[_0x6706a2(0x155)]?'':_0x6706a2(0x152);_0x2c868c[_0x6706a2(0x15a)]({'label':Pn(this[_0x6706a2(0x110)][0x0],_0x190345,this[_0x6706a2(0x121)]),'tooltip':Hn(this[_0x6706a2(0x110)][0x0],_0x190345,this[_0x6706a2(0x121)]),'withText':!0x0,'class':_0x6706a2(0x139)+_0x3c2416});for(const _0x42f563 of this[_0x6706a2(0x110)])_0x2c868c['on'](_0x42f563,()=>{const _0x484a1b=_0x6706a2;this[_0x484a1b(0x10f)](_0x42f563);});return this[_0x6706a2(0x155)]=!0x1,_0x2c868c;}[_0x5e2313(0x163)](_0xf8ea99){const _0x3fa21a=_0x5e2313,_0x38c418=new _0x2a86e5(_0xf8ea99);return _0x38c418[_0x3fa21a(0x15a)]({'class':_0x3fa21a(0x120),'withText':!0x0}),_0x38c418['on'](_0x3fa21a(0x129),()=>{const _0x2db898=_0x3fa21a;_0x38c418[_0x2db898(0x10f)](this[_0x2db898(0x110)][0x0]);}),_0x38c418;}[_0x5e2313(0x106)](_0x28084f){const _0x557b6d=_0x5e2313,_0x4e7575=new Nn(_0x28084f,{'listItemModels':this[_0x557b6d(0x110)][_0x557b6d(0x125)](_0x5b44ad=>{const _0x4845e8=_0x557b6d;switch(_0x5b44ad){case _0x4845e8(0x113):return this[_0x4845e8(0x135)];case _0x4845e8(0x118):return this[_0x4845e8(0x160)];case _0x4845e8(0x157):return this[_0x4845e8(0x12e)];}})});return _0x4e7575[_0x557b6d(0x15a)]({'label':Pn(this[_0x557b6d(0x110)][0x0],_0x28084f,this[_0x557b6d(0x121)]),'tooltip':Hn(this[_0x557b6d(0x110)][0x0],_0x28084f,this[_0x557b6d(0x121)]),'withText':!0x0,'class':_0x557b6d(0x12c),'balloonPanelClass':_0x557b6d(0x133)}),_0x4e7575[_0x557b6d(0x162)](_0x557b6d(0x164))['to'](this),_0x4e7575;}[_0x5e2313(0x134)](_0x2f30ac){const _0x287af4=_0x5e2313,_0x4e7164=this[_0x287af4(0x132)];this[_0x287af4(0x121)]=_0x2f30ac||this[_0x287af4(0x121)],this[_0x287af4(0x12b)][_0x287af4(0x15a)]({'label':Pn(this[_0x287af4(0x110)][0x0],_0x4e7164,this[_0x287af4(0x121)]),'tooltip':Hn(this[_0x287af4(0x110)][0x0],_0x4e7164,this[_0x287af4(0x121)])}),this[_0x287af4(0x135)][_0x287af4(0x107)]=Pn(_0x287af4(0x113),_0x4e7164,this[_0x287af4(0x121)]),this[_0x287af4(0x160)][_0x287af4(0x107)]=Pn(_0x287af4(0x118),_0x4e7164,this[_0x287af4(0x121)]),this[_0x287af4(0x12e)][_0x287af4(0x107)]=Pn(_0x287af4(0x157),_0x4e7164,this[_0x287af4(0x121)]);}}class Nn extends _0x565970{[_0x5e2313(0x11f)];[_0x5e2313(0x144)];[_0x5e2313(0x116)];[_0x5e2313(0x13c)];constructor(_0x5ba4d0,_0x346346){const _0x126212=_0x5e2313;super(_0x5ba4d0),this[_0x126212(0x144)]=new _0x8d0a3b(this[_0x126212(0x132)]),this[_0x126212(0x11f)]=new _0x2bddb7(this[_0x126212(0x132)]),this[_0x126212(0x11f)][_0x126212(0x165)](),this[_0x126212(0x15a)](_0x126212(0x14d),''),this[_0x126212(0x144)][_0x126212(0x162)](_0x126212(0x13f))['to'](this,_0x126212(0x14d)),this[_0x126212(0x116)]=this[_0x126212(0x112)](_0x346346[_0x126212(0x159)][_0x126212(0x154)](0x1)),this[_0x126212(0x11f)][_0x126212(0x145)](this[_0x126212(0x144)]),this[_0x126212(0x144)][_0x126212(0x111)][_0x126212(0x145)](this[_0x126212(0x116)]),this[_0x126212(0x15b)][_0x126212(0x109)](_0x126212(0x14e)),this[_0x126212(0x15b)][_0x126212(0x15a)](_0x126212(0x14e),_0x2459b7(this[_0x126212(0x132)],_0x126212(0x11c))),this[_0x126212(0x136)](),this['on'](_0x126212(0x129),()=>{const _0x1d6779=_0x126212,_0xfbac3d=_0x346346[_0x1d6779(0x159)][0x0][_0x1d6779(0x114)];this[_0x1d6779(0x10f)](_0xfbac3d),this[_0x1d6779(0x144)][_0x1d6779(0x11e)](),this[_0x1d6779(0x15b)][_0x1d6779(0x123)]();}),this['on'](_0x126212(0x128),()=>{const _0x274225=_0x126212;this[_0x274225(0x144)][_0x274225(0x14b)]?(this[_0x274225(0x144)][_0x274225(0x11e)](),this[_0x274225(0x15b)][_0x274225(0x123)]()):(this[_0x274225(0x144)][_0x274225(0x161)]({'target':this[_0x274225(0x13b)],'positions':[_0x274225(0x13d)===this[_0x274225(0x132)][_0x274225(0x158)]?Gn:yn]}),this[_0x274225(0x116)][_0x274225(0x123)]());}),_0x7e7f69({'emitter':this[_0x126212(0x144)],'callback':()=>{const _0x379a44=_0x126212;this[_0x379a44(0x144)][_0x379a44(0x11e)]();},'activator':()=>this[_0x126212(0x144)][_0x126212(0x14b)],'contextElements':()=>[this[_0x126212(0x13b)],this[_0x126212(0x144)][_0x126212(0x13b)]]});}[_0x5e2313(0x112)](_0x35853e){const _0x41868=_0x5e2313,_0x55abbb=this[_0x41868(0x132)],_0x241e61=new _0x3c989b(_0x55abbb);for(const _0x57f6e1 of _0x35853e){const _0x503182=new _0x32ff44(_0x55abbb),_0x4ef460=new _0x384639(_0x55abbb);_0x4ef460[_0x41868(0x162)](...Object[_0x41868(0x10b)](_0x57f6e1))['to'](_0x57f6e1),_0x4ef460[_0x41868(0x137)](_0x41868(0x129))['to'](_0x241e61),_0x503182[_0x41868(0x156)][_0x41868(0x145)](_0x4ef460),_0x241e61[_0x41868(0x12f)][_0x41868(0x145)](_0x503182);}return _0x241e61[_0x41868(0x12f)][_0x41868(0x137)](_0x41868(0x129))['to'](this),_0x241e61['on'](_0x41868(0x129),_0x488294=>{const _0x21fa59=_0x41868,_0x13fc88=_0x488294[_0x21fa59(0x15c)];this[_0x21fa59(0x10f)](_0x13fc88[_0x21fa59(0x114)]),this[_0x21fa59(0x144)][_0x21fa59(0x11e)](),this[_0x21fa59(0x15b)][_0x21fa59(0x123)]();}),_0x241e61;}[_0x5e2313(0x136)](){const _0x8a774b=_0x5e2313;this[_0x8a774b(0x13c)]=new _0xb72b4f(),this[_0x8a774b(0x13c)][_0x8a774b(0x15e)](this[_0x8a774b(0x144)][_0x8a774b(0x13b)]),this[_0x8a774b(0x13c)][_0x8a774b(0x15a)](_0x8a774b(0x146),(_0xbb23cc,_0x135735)=>{const _0x3970b8=_0x8a774b;this[_0x3970b8(0x144)][_0x3970b8(0x11e)](),this[_0x3970b8(0x15b)][_0x3970b8(0x123)](),_0x135735();});}[_0x5e2313(0x13e)](){const _0xe523d9=_0x5e2313;super[_0xe523d9(0x13e)](),this[_0xe523d9(0x13c)][_0xe523d9(0x13e)](),this[_0xe523d9(0x144)][_0xe523d9(0x13e)](),this[_0xe523d9(0x11f)][_0xe523d9(0x141)]();}}function Gn(_0x1486d0){const _0x3d8c47=_0x5e2313;return{'top':_0x1486d0[_0x3d8c47(0x11a)],'left':_0x1486d0[_0x3d8c47(0x108)],'name':_0x3d8c47(0x10c),'config':{'withArrow':!0x1}};}function _0x3124(_0x4298a5,_0x3505e7){const _0x2b8c63=_0x2b8c();return _0x3124=function(_0x3124a1,_0x4f976f){_0x3124a1=_0x3124a1-0x106;let _0x268bdf=_0x2b8c63[_0x3124a1];return _0x268bdf;},_0x3124(_0x4298a5,_0x3505e7);}function yn(_0x348d89,_0x1ab2ee){const _0x5494b7=_0x5e2313;return{'top':_0x348d89[_0x5494b7(0x11a)],'left':_0x348d89[_0x5494b7(0x108)]-(_0x1ab2ee[_0x5494b7(0x10a)]-_0x348d89[_0x5494b7(0x10a)]),'name':_0x5494b7(0x10c),'config':{'withArrow':!0x1}};}function Pn(_0x27e756,_0x32accb,_0x4c5f70){const _0x37fb0d=_0x5e2313;switch(_0x27e756){case _0x37fb0d(0x113):return _0x2459b7(_0x32accb,_0x37fb0d(0x11d),_0x4c5f70);case _0x37fb0d(0x118):return _0x2459b7(_0x32accb,_0x37fb0d(0x142),_0x4c5f70);case _0x37fb0d(0x157):return _0x2459b7(_0x32accb,_0x37fb0d(0x150),_0x4c5f70);}}function Hn(_0x239b5b,_0x4d8fe7,_0x188381){const _0x21a161=_0x5e2313;switch(_0x239b5b){case _0x21a161(0x113):return _0x2459b7(_0x4d8fe7,_0x21a161(0x12d),_0x188381);case _0x21a161(0x118):return _0x2459b7(_0x4d8fe7,_0x21a161(0x10d),_0x188381);case _0x21a161(0x157):return _0x2459b7(_0x4d8fe7,_0x21a161(0x14c),_0x188381);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf1262b=_0x1d46;(function(_0x2b00e8,_0x493fa3){var _0xf21327=_0x1d46,_0x3e6088=_0x2b00e8();while(!![]){try{var _0x3e80d6=parseInt(_0xf21327(0xd4))/0x1+-parseInt(_0xf21327(0xb8))/0x2*(parseInt(_0xf21327(0xd0))/0x3)+-parseInt(_0xf21327(0xca))/0x4+parseInt(_0xf21327(0xb6))/0x5+parseInt(_0xf21327(0xc8))/0x6*(parseInt(_0xf21327(0xd9))/0x7)+parseInt(_0xf21327(0xb4))/0x8*(-parseInt(_0xf21327(0xae))/0x9)+parseInt(_0xf21327(0xad))/0xa;if(_0x3e80d6===_0x493fa3)break;else _0x3e6088['push'](_0x3e6088['shift']());}catch(_0xdc2635){_0x3e6088['push'](_0x3e6088['shift']());}}}(_0x22a8,0xa5949));import{AIChatFeedItemView as _0x545aa9}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x437420}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x1d46(_0x5bfc44,_0x120b37){var _0x22a8b7=_0x22a8();return _0x1d46=function(_0x1d466b,_0x5baa17){_0x1d466b=_0x1d466b-0xad;var _0x305452=_0x22a8b7[_0x1d466b];return _0x305452;},_0x1d46(_0x5bfc44,_0x120b37);}import{AIChatFeedSuggestionItemActionsView as _0x1587fc}from'./aichatfeedsuggestionitemactionsview.js';function _0x22a8(){var _0x5e78f6=['68712wApejT','16357990ZfQlaC','405eWUojC','showChangeInText','addMany','ck-ai-chat__feed__ai-suggestion','areActionsDisabled','actionsView','205264UHjQTR','fire','4564775XMDuVY','bodyView','1762aDGQrV','extendTemplate','updateContent','isTrackChangesOn','mouseLeaveSuggestion','updatePartState','hasNonEmptyParts','containerView','set','applySuggestion','updateLabels','partsCount','markAsDone','isVisible','insertSuggestion','bind','744emJWtd','showDiff','4066372iMEQfp','dislike','options','isEnabled','rejectSuggestion','children','4203fQlCSn','availableActions','like','updateSources','317763Hiksar','getPartView','mouseOverSuggestion','hasPendingParts','toggleSuggestionDisplayMode'];_0x22a8=function(){return _0x5e78f6;};return _0x22a8();}export class AIChatFeedSuggestionItemView extends _0x545aa9{[_0xf1262b(0xbf)];[_0xf1262b(0xb3)];constructor(_0x39aa60,_0x4242fd){var _0x195728=_0xf1262b;super(_0x4242fd),this[_0x195728(0xc0)](_0x195728(0xbb),!0x1),this[_0x195728(0xbf)]=new _0x437420(_0x39aa60,{'showDiff':_0x4242fd[_0x195728(0xc9)],'areActionsDisabled':_0x4242fd[_0x195728(0xb2)],'availableActions':_0x4242fd[_0x195728(0xd1)]}),this[_0x195728(0xbf)]['on'](_0x195728(0xd8),(_0x27007b,_0x4fa78e)=>{var _0x4c4284=_0x195728;this[_0x4c4284(0xb5)](_0x4c4284(0xd8),{'replyId':this[_0x4c4284(0xcc)]['id'],'showDiff':_0x4fa78e[_0x4c4284(0xc9)]});}),this[_0x195728(0xbf)]['on'](_0x195728(0xd2),()=>{var _0x4c468a=_0x195728;this[_0x4c468a(0xb5)](_0x4c468a(0xd2),{'replyId':this[_0x4c468a(0xcc)]['id']});}),this[_0x195728(0xbf)]['on'](_0x195728(0xcb),()=>{var _0x2f7edc=_0x195728;this[_0x2f7edc(0xb5)](_0x2f7edc(0xcb),{'replyId':this[_0x2f7edc(0xcc)]['id']});}),this[_0x195728(0xbf)]['on'](_0x195728(0xaf),(_0x1898d8,{index:_0x3e2266})=>{var _0x352e99=_0x195728;this[_0x352e99(0xb5)](_0x352e99(0xaf),{'replyId':this[_0x352e99(0xcc)]['id'],'partIndex':_0x3e2266});}),this[_0x195728(0xbf)]['on'](_0x195728(0xc6),(_0x15a1c8,{index:_0x21dc78})=>{var _0x614741=_0x195728;this[_0x614741(0xb5)](_0x614741(0xc6),{'replyId':this[_0x614741(0xcc)]['id'],'partIndex':_0x21dc78});}),this[_0x195728(0xbf)]['on'](_0x195728(0xce),(_0x181ba3,{index:_0x149600})=>{var _0x3aef8b=_0x195728;this[_0x3aef8b(0xb5)](_0x3aef8b(0xce),{'replyId':this[_0x3aef8b(0xcc)]['id'],'partIndex':_0x149600});}),this[_0x195728(0xbf)]['on'](_0x195728(0xd6),(_0x31f395,{index:_0x4cb020})=>{var _0x40af31=_0x195728;this[_0x40af31(0xb5)](_0x40af31(0xd6),{'replyId':this[_0x40af31(0xcc)]['id'],'partIndex':_0x4cb020});}),this[_0x195728(0xbf)]['on'](_0x195728(0xbc),(_0x825cae,{index:_0x8105b3})=>{var _0x3c3e24=_0x195728;this[_0x3c3e24(0xb5)](_0x3c3e24(0xbc),{'replyId':this[_0x3c3e24(0xcc)]['id'],'partIndex':_0x8105b3});}),this[_0x195728(0xb3)]=new _0x1587fc(_0x39aa60,this[_0x195728(0xcc)][_0x195728(0xd1)]),this[_0x195728(0xb3)][_0x195728(0xc7)](_0x195728(0xbb))['to'](this,_0x195728(0xbb)),this[_0x195728(0xb3)]['on'](_0x195728(0xaf),()=>{var _0x2122b9=_0x195728;this[_0x2122b9(0xb5)](_0x2122b9(0xaf),{'replyId':this[_0x2122b9(0xcc)]['id']});}),this[_0x195728(0xb3)]['on'](_0x195728(0xc6),()=>{var _0x3b4224=_0x195728;this[_0x3b4224(0xb5)](_0x3b4224(0xc6),{'replyId':this[_0x3b4224(0xcc)]['id']});}),this[_0x195728(0xb3)]['on'](_0x195728(0xc1),()=>{var _0x13a03c=_0x195728;this[_0x13a03c(0xb5)](_0x13a03c(0xc1),{'replyId':this[_0x13a03c(0xcc)]['id']});}),_0x4242fd[_0x195728(0xb2)]?this[_0x195728(0xb3)][_0x195728(0xcd)]=!0x1:this[_0x195728(0xb3)][_0x195728(0xc7)](_0x195728(0xcd))['to'](this[_0x195728(0xbf)][_0x195728(0xb7)],_0x195728(0xd7)),this[_0x195728(0xcf)][_0x195728(0xb0)]([this[_0x195728(0xbf)],this[_0x195728(0xb3)]]),this[_0x195728(0xb9)]({'attributes':{'class':[_0x195728(0xb1)]}});}async[_0xf1262b(0xba)](_0x2f5f97){var _0x146943=_0xf1262b;await this[_0x146943(0xbf)][_0x146943(0xba)](_0x2f5f97),this[_0x146943(0xb3)][_0x146943(0xc2)](this[_0x146943(0xbf)][_0x146943(0xb7)][_0x146943(0xc3)]);}[_0xf1262b(0xbd)](_0x4536b7,_0xea0d43){var _0x3d5ba7=_0xf1262b;this[_0x3d5ba7(0xbf)][_0x3d5ba7(0xb7)][_0x3d5ba7(0xbd)](_0x4536b7,_0xea0d43);}[_0xf1262b(0xd3)](_0x3088db){var _0x2a1e4d=_0xf1262b;this[_0x2a1e4d(0xbf)][_0x2a1e4d(0xd3)](_0x3088db);}[_0xf1262b(0xd5)](_0x3f4187){var _0xcf5a9f=_0xf1262b;return this[_0xcf5a9f(0xbf)][_0xcf5a9f(0xb7)][_0xcf5a9f(0xd5)](_0x3f4187);}[_0xf1262b(0xc4)](){var _0x2578f6=_0xf1262b;super[_0x2578f6(0xc4)](),this[_0x2578f6(0xbf)][_0x2578f6(0xc4)](),this[_0x2578f6(0xb3)][_0x2578f6(0xc5)]=this[_0x2578f6(0xbf)][_0x2578f6(0xb7)][_0x2578f6(0xbe)];}}
23
+ var _0x86b97c=_0x585c;(function(_0xd4b0ec,_0xbdfab1){var _0x289d28=_0x585c,_0x25e3c5=_0xd4b0ec();while(!![]){try{var _0x443072=parseInt(_0x289d28(0xd8))/0x1*(parseInt(_0x289d28(0xcb))/0x2)+-parseInt(_0x289d28(0xe1))/0x3*(parseInt(_0x289d28(0xbd))/0x4)+-parseInt(_0x289d28(0xd2))/0x5*(-parseInt(_0x289d28(0xc1))/0x6)+parseInt(_0x289d28(0xb4))/0x7+parseInt(_0x289d28(0xce))/0x8*(-parseInt(_0x289d28(0xcc))/0x9)+parseInt(_0x289d28(0xd4))/0xa*(parseInt(_0x289d28(0xc3))/0xb)+parseInt(_0x289d28(0xdb))/0xc*(-parseInt(_0x289d28(0xda))/0xd);if(_0x443072===_0xbdfab1)break;else _0x25e3c5['push'](_0x25e3c5['shift']());}catch(_0x739aa){_0x25e3c5['push'](_0x25e3c5['shift']());}}}(_0x30c8,0xaf058));function _0x30c8(){var _0x5cc71c=['updateSources','toggleSuggestionDisplayMode','2705JwLfxN','hasNonEmptyParts','59810JFmCpz','set','mouseOverSuggestion','applySuggestion','2igVSxj','isVisible','87165HRPovZ','2004oPZrQG','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','showDiff','options','updateContent','87648hjsLvv','getPartView','areActionsDisabled','8167460gxuYrr','children','markAsDone','rejectSuggestion','dislike','availableActions','fire','isTrackChangesOn','extendTemplate','72tOKuHy','bodyView','updateLabels','addMany','3288CMfEiH','isEnabled','2123anrDfJ','showChangeInText','actionsView','partsCount','like','containerView','insertSuggestion','updatePartState','707870WDafhn','90ZIeHrS','hasPendingParts','770352BhjMJV','bind'];_0x30c8=function(){return _0x5cc71c;};return _0x30c8();}import{AIChatFeedItemView as _0x3c9c6c}from'./aichatfeeditemview.js';function _0x585c(_0x5d2f19,_0xb8c70){var _0x30c8bd=_0x30c8();return _0x585c=function(_0x585cb6,_0x4120b8){_0x585cb6=_0x585cb6-0xb3;var _0x4888b2=_0x30c8bd[_0x585cb6];return _0x4888b2;},_0x585c(_0x5d2f19,_0xb8c70);}import{AISuggestionContainerView as _0x336a80}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0xd573b8}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x3c9c6c{[_0x86b97c(0xc8)];[_0x86b97c(0xc5)];constructor(_0x230773,_0x2dd150){var _0x438a4f=_0x86b97c;super(_0x2dd150),this[_0x438a4f(0xd5)](_0x438a4f(0xbb),!0x1),this[_0x438a4f(0xc8)]=new _0x336a80(_0x230773,{'showDiff':_0x2dd150[_0x438a4f(0xde)],'areActionsDisabled':_0x2dd150[_0x438a4f(0xb3)],'availableActions':_0x2dd150[_0x438a4f(0xb9)]}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xd1),(_0xc43bcc,_0x51ee35)=>{var _0x2c6588=_0x438a4f;this[_0x2c6588(0xba)](_0x2c6588(0xd1),{'replyId':this[_0x2c6588(0xdf)]['id'],'showDiff':_0x51ee35[_0x2c6588(0xde)]});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xc7),()=>{var _0x3a0f5d=_0x438a4f;this[_0x3a0f5d(0xba)](_0x3a0f5d(0xc7),{'replyId':this[_0x3a0f5d(0xdf)]['id']});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xb8),()=>{var _0x68cb21=_0x438a4f;this[_0x68cb21(0xba)](_0x68cb21(0xb8),{'replyId':this[_0x68cb21(0xdf)]['id']});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xc4),(_0x3e7c57,{index:_0x3820fe})=>{var _0x4459f2=_0x438a4f;this[_0x4459f2(0xba)](_0x4459f2(0xc4),{'replyId':this[_0x4459f2(0xdf)]['id'],'partIndex':_0x3820fe});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xc9),(_0x210eea,{index:_0xc6b56})=>{var _0x1e2232=_0x438a4f;this[_0x1e2232(0xba)](_0x1e2232(0xc9),{'replyId':this[_0x1e2232(0xdf)]['id'],'partIndex':_0xc6b56});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xb7),(_0xeac74c,{index:_0x6d05d0})=>{var _0x2b032a=_0x438a4f;this[_0x2b032a(0xba)](_0x2b032a(0xb7),{'replyId':this[_0x2b032a(0xdf)]['id'],'partIndex':_0x6d05d0});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xd6),(_0xab2916,{index:_0x121425})=>{var _0x46b876=_0x438a4f;this[_0x46b876(0xba)](_0x46b876(0xd6),{'replyId':this[_0x46b876(0xdf)]['id'],'partIndex':_0x121425});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xdd),(_0x576ddf,{index:_0x23e778})=>{var _0x1d698a=_0x438a4f;this[_0x1d698a(0xba)](_0x1d698a(0xdd),{'replyId':this[_0x1d698a(0xdf)]['id'],'partIndex':_0x23e778});}),this[_0x438a4f(0xc5)]=new _0xd573b8(_0x230773,this[_0x438a4f(0xdf)][_0x438a4f(0xb9)]),this[_0x438a4f(0xc5)][_0x438a4f(0xcf)](_0x438a4f(0xbb))['to'](this,_0x438a4f(0xbb)),this[_0x438a4f(0xc5)]['on'](_0x438a4f(0xc4),()=>{var _0x2f56f0=_0x438a4f;this[_0x2f56f0(0xba)](_0x2f56f0(0xc4),{'replyId':this[_0x2f56f0(0xdf)]['id']});}),this[_0x438a4f(0xc5)]['on'](_0x438a4f(0xc9),()=>{var _0x157f61=_0x438a4f;this[_0x157f61(0xba)](_0x157f61(0xc9),{'replyId':this[_0x157f61(0xdf)]['id']});}),this[_0x438a4f(0xc5)]['on'](_0x438a4f(0xd7),()=>{var _0x4d4b15=_0x438a4f;this[_0x4d4b15(0xba)](_0x4d4b15(0xd7),{'replyId':this[_0x4d4b15(0xdf)]['id']});}),_0x2dd150[_0x438a4f(0xb3)]?this[_0x438a4f(0xc5)][_0x438a4f(0xc2)]=!0x1:this[_0x438a4f(0xc5)][_0x438a4f(0xcf)](_0x438a4f(0xc2))['to'](this[_0x438a4f(0xc8)][_0x438a4f(0xbe)],_0x438a4f(0xcd)),this[_0x438a4f(0xb5)][_0x438a4f(0xc0)]([this[_0x438a4f(0xc8)],this[_0x438a4f(0xc5)]]),this[_0x438a4f(0xbc)]({'attributes':{'class':[_0x438a4f(0xdc)]}});}async[_0x86b97c(0xe0)](_0x74fd55){var _0x7af9bf=_0x86b97c;await this[_0x7af9bf(0xc8)][_0x7af9bf(0xe0)](_0x74fd55),this[_0x7af9bf(0xc5)][_0x7af9bf(0xbf)](this[_0x7af9bf(0xc8)][_0x7af9bf(0xbe)][_0x7af9bf(0xc6)]);}[_0x86b97c(0xca)](_0x5ea4d0,_0x284b52){var _0xaf1914=_0x86b97c;this[_0xaf1914(0xc8)][_0xaf1914(0xbe)][_0xaf1914(0xca)](_0x5ea4d0,_0x284b52);}[_0x86b97c(0xd0)](_0x6d1f28){var _0x2bebf0=_0x86b97c;this[_0x2bebf0(0xc8)][_0x2bebf0(0xd0)](_0x6d1f28);}[_0x86b97c(0xe2)](_0x3091ca){var _0xeded34=_0x86b97c;return this[_0xeded34(0xc8)][_0xeded34(0xbe)][_0xeded34(0xe2)](_0x3091ca);}[_0x86b97c(0xb6)](){var _0x2d344e=_0x86b97c;super[_0x2d344e(0xb6)](),this[_0x2d344e(0xc8)][_0x2d344e(0xb6)](),this[_0x2d344e(0xc5)][_0x2d344e(0xd9)]=this[_0x2d344e(0xc8)][_0x2d344e(0xbe)][_0x2d344e(0xd3)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x372b(_0x40e2ed,_0x627e11){var _0xc2bbb5=_0xc2bb();return _0x372b=function(_0x372b85,_0x357f45){_0x372b85=_0x372b85-0x19f;var _0x5e2e08=_0xc2bbb5[_0x372b85];return _0x5e2e08;},_0x372b(_0x40e2ed,_0x627e11);}var _0x5ecc9d=_0x372b;(function(_0x25bf83,_0x40bea0){var _0x15bd86=_0x372b,_0x364a89=_0x25bf83();while(!![]){try{var _0x1e3f90=parseInt(_0x15bd86(0x1c2))/0x1*(-parseInt(_0x15bd86(0x1ad))/0x2)+parseInt(_0x15bd86(0x1b9))/0x3*(-parseInt(_0x15bd86(0x1a6))/0x4)+parseInt(_0x15bd86(0x1bd))/0x5*(-parseInt(_0x15bd86(0x1b2))/0x6)+-parseInt(_0x15bd86(0x19f))/0x7*(-parseInt(_0x15bd86(0x1b6))/0x8)+-parseInt(_0x15bd86(0x1a1))/0x9+-parseInt(_0x15bd86(0x1bf))/0xa*(parseInt(_0x15bd86(0x1aa))/0xb)+parseInt(_0x15bd86(0x1a5))/0xc*(parseInt(_0x15bd86(0x1bc))/0xd);if(_0x1e3f90===_0x40bea0)break;else _0x364a89['push'](_0x364a89['shift']());}catch(_0xa5be17){_0x364a89['push'](_0x364a89['shift']());}}}(_0xc2bb,0xe855b));import{AIChatFeedItemView as _0xc5667b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x2d36cf}from'./aichatfeedcontextchipsview.js';import{View as _0x4e0981}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0xc5667b{[_0x5ecc9d(0x1bb)]=null;[_0x5ecc9d(0x1b4)];[_0x5ecc9d(0x1ae)];[_0x5ecc9d(0x1c1)];constructor(_0x346e3f,_0x57c251,_0x36728e){var _0x56d9d9=_0x5ecc9d;super(_0x57c251),this[_0x56d9d9(0x1b4)]=_0x346e3f,this[_0x56d9d9(0x1ae)]=_0x36728e,this[_0x56d9d9(0x1ba)](),this[_0x56d9d9(0x1b8)](),this[_0x56d9d9(0x1b5)]({'attributes':{'class':[_0x56d9d9(0x1b3)]}});}[_0x5ecc9d(0x1ba)](){var _0x2dcaf7=_0x5ecc9d;this[_0x2dcaf7(0x1a3)][_0x2dcaf7(0x1a0)]&&this[_0x2dcaf7(0x1a3)][_0x2dcaf7(0x1a0)][_0x2dcaf7(0x1ac)]>0x0&&(this[_0x2dcaf7(0x1bb)]=new _0x2d36cf(this[_0x2dcaf7(0x1b4)],this[_0x2dcaf7(0x1a3)][_0x2dcaf7(0x1a0)][_0x2dcaf7(0x1a7)](_0x5042eb=>!_0x5042eb[_0x2dcaf7(0x1b0)]),this[_0x2dcaf7(0x1ae)]),this[_0x2dcaf7(0x1bb)][_0x2dcaf7(0x1b5)]({'attributes':{'class':_0x2dcaf7(0x1a9)}}),this[_0x2dcaf7(0x1ab)][_0x2dcaf7(0x1b7)](this[_0x2dcaf7(0x1bb)]));}[_0x5ecc9d(0x1b8)](){var _0x33a93c=_0x5ecc9d;this[_0x33a93c(0x1c1)]=new _0x4e0981(this[_0x33a93c(0x1b4)]),this[_0x33a93c(0x1c1)][_0x33a93c(0x1af)]({'tag':_0x33a93c(0x1b1),'attributes':{'class':_0x33a93c(0x1be)}}),this[_0x33a93c(0x1ab)][_0x33a93c(0x1b7)](this[_0x33a93c(0x1c1)]);}[_0x5ecc9d(0x1c0)](){var _0x2a0138=_0x5ecc9d;super[_0x2a0138(0x1c0)](),this[_0x2a0138(0x1c1)][_0x2a0138(0x1a2)][_0x2a0138(0x1a8)]=this[_0x2a0138(0x1a3)][_0x2a0138(0x1a4)],this[_0x2a0138(0x1c3)]();}}function _0xc2bb(){var _0x494f2b=['_messageContentView','100699JIxUBO','markAsDone','7GssnHZ','contextItems','10176201ChCeeq','element','options','initialContent','60fvwJOz','15156XUbhQX','filter','innerHTML','ck-ai-chat__feed__context-chips','6787ipjroq','children','length','28XzWZGw','_bodyCollection','setTemplate','hidden','div','309282tAdyiY','ck-ai-chat__feed__user-message','_locale','extendTemplate','3289352akMxXB','add','_createMessageContentView','231RNyXSN','_createContextChipsView','_contextChipsView','17147572iZbrqE','155DOvfmd','ck-ai-chat__feed__message-content','26330SbKGMk','render'];_0xc2bb=function(){return _0x494f2b;};return _0xc2bb();}
23
+ function _0x31d8(_0x44d28f,_0x2319a1){var _0x3b0ea0=_0x3b0e();return _0x31d8=function(_0x31d8de,_0x4137c9){_0x31d8de=_0x31d8de-0x19f;var _0x10983e=_0x3b0ea0[_0x31d8de];return _0x10983e;},_0x31d8(_0x44d28f,_0x2319a1);}var _0x10b234=_0x31d8;(function(_0x12795d,_0x84443f){var _0x3f2497=_0x31d8,_0x3eb72a=_0x12795d();while(!![]){try{var _0x175b80=parseInt(_0x3f2497(0x1bc))/0x1+parseInt(_0x3f2497(0x1bb))/0x2+parseInt(_0x3f2497(0x1b9))/0x3+parseInt(_0x3f2497(0x1b0))/0x4*(-parseInt(_0x3f2497(0x1b1))/0x5)+parseInt(_0x3f2497(0x1b2))/0x6+-parseInt(_0x3f2497(0x1b6))/0x7+parseInt(_0x3f2497(0x1a2))/0x8*(-parseInt(_0x3f2497(0x1ae))/0x9);if(_0x175b80===_0x84443f)break;else _0x3eb72a['push'](_0x3eb72a['shift']());}catch(_0x1fee10){_0x3eb72a['push'](_0x3eb72a['shift']());}}}(_0x3b0e,0xddc66));import{AIChatFeedItemView as _0x728013}from'./aichatfeeditemview.js';function _0x3b0e(){var _0x2808c0=['extendTemplate','4808610FToQCy','_messageContentView','1578172FPNrGc','1088921eMnFTD','_bodyCollection','_contextChipsView','_locale','element','setTemplate','render','2595696FFtKMG','_createMessageContentView','children','options','initialContent','contextItems','ck-ai-chat__feed__message-content','ck-ai-chat__feed__user-message','filter','innerHTML','hidden','add','36eQKuqM','markAsDone','4672100Fmxuxe','5nGBCig','1272090QblisD','length','div','ck-ai-chat__feed__context-chips','2230403NgXzEc','_createContextChipsView'];_0x3b0e=function(){return _0x2808c0;};return _0x3b0e();}import{AIChatFeedContextChipsView as _0x1d4e2b}from'./aichatfeedcontextchipsview.js';import{View as _0x4c0a70}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x728013{[_0x10b234(0x1be)]=null;[_0x10b234(0x1bf)];[_0x10b234(0x1bd)];[_0x10b234(0x1ba)];constructor(_0x300185,_0x42fe9d,_0x25bb53){var _0xa95e8c=_0x10b234;super(_0x42fe9d),this[_0xa95e8c(0x1bf)]=_0x300185,this[_0xa95e8c(0x1bd)]=_0x25bb53,this[_0xa95e8c(0x1b7)](),this[_0xa95e8c(0x1a3)](),this[_0xa95e8c(0x1b8)]({'attributes':{'class':[_0xa95e8c(0x1a9)]}});}[_0x10b234(0x1b7)](){var _0x437b79=_0x10b234;this[_0x437b79(0x1a5)][_0x437b79(0x1a7)]&&this[_0x437b79(0x1a5)][_0x437b79(0x1a7)][_0x437b79(0x1b3)]>0x0&&(this[_0x437b79(0x1be)]=new _0x1d4e2b(this[_0x437b79(0x1bf)],this[_0x437b79(0x1a5)][_0x437b79(0x1a7)][_0x437b79(0x1aa)](_0x4d7eac=>!_0x4d7eac[_0x437b79(0x1ac)]),this[_0x437b79(0x1bd)]),this[_0x437b79(0x1be)][_0x437b79(0x1b8)]({'attributes':{'class':_0x437b79(0x1b5)}}),this[_0x437b79(0x1a4)][_0x437b79(0x1ad)](this[_0x437b79(0x1be)]));}[_0x10b234(0x1a3)](){var _0x1d81e3=_0x10b234;this[_0x1d81e3(0x1ba)]=new _0x4c0a70(this[_0x1d81e3(0x1bf)]),this[_0x1d81e3(0x1ba)][_0x1d81e3(0x1a0)]({'tag':_0x1d81e3(0x1b4),'attributes':{'class':_0x1d81e3(0x1a8)}}),this[_0x1d81e3(0x1a4)][_0x1d81e3(0x1ad)](this[_0x1d81e3(0x1ba)]);}[_0x10b234(0x1a1)](){var _0x139ef4=_0x10b234;super[_0x139ef4(0x1a1)](),this[_0x139ef4(0x1ba)][_0x139ef4(0x19f)][_0x139ef4(0x1ab)]=this[_0x139ef4(0x1a5)][_0x139ef4(0x1a6)],this[_0x139ef4(0x1af)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x501c1f=_0x5b79;(function(_0x12039d,_0x36d4fe){const _0x37740f=_0x5b79,_0x4f53c9=_0x12039d();while(!![]){try{const _0x25c6fe=parseInt(_0x37740f(0x1f4))/0x1*(-parseInt(_0x37740f(0x1e8))/0x2)+-parseInt(_0x37740f(0x1ef))/0x3*(parseInt(_0x37740f(0x1ec))/0x4)+parseInt(_0x37740f(0x1e7))/0x5*(-parseInt(_0x37740f(0x1fd))/0x6)+parseInt(_0x37740f(0x1f8))/0x7+-parseInt(_0x37740f(0x1f6))/0x8*(parseInt(_0x37740f(0x1f9))/0x9)+-parseInt(_0x37740f(0x1f5))/0xa+parseInt(_0x37740f(0x1f2))/0xb;if(_0x25c6fe===_0x36d4fe)break;else _0x4f53c9['push'](_0x4f53c9['shift']());}catch(_0x77be04){_0x4f53c9['push'](_0x4f53c9['shift']());}}}(_0x24ba,0x833bb));function _0x5b79(_0x1e413b,_0x23fa0d){const _0x24ba7c=_0x24ba();return _0x5b79=function(_0x5b7907,_0x264a9e){_0x5b7907=_0x5b7907-0x1e7;let _0x3ea726=_0x24ba7c[_0x5b7907];return _0x3ea726;},_0x5b79(_0x1e413b,_0x23fa0d);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x398eff}from'../../aicore/utils/eventnames.js';function _0x24ba(){const _0x4193ad=['removeContextItem','addResourceToContext','addFileToContext','5226996ADduer','addUrlToContext','5XdYNcZ','162DtiwIb','addDocumentToContext','selectModel','startConversation','20BzejVt','sendUserMessage','toggleWebSearch','477735AGqKeM','toggleReasoning','resizeTabs','29740150osCxWG','loadSourceResources','5914sIayYT','517140NwXXPW','64KmIRVQ','abortPromptStream','2131444VMrpLv','306531xcVtFh'];_0x24ba=function(){return _0x4193ad;};return _0x24ba();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x398eff,_0x501c1f(0x1eb),_0x501c1f(0x1f1),_0x501c1f(0x1ed),_0x501c1f(0x1f7),_0x501c1f(0x1e9),_0x501c1f(0x1fc),_0x501c1f(0x1fe),_0x501c1f(0x1fb),_0x501c1f(0x1fa),_0x501c1f(0x1f3),_0x501c1f(0x1ee),_0x501c1f(0x1f0),_0x501c1f(0x1ea)];
23
+ const _0x105e95=_0x4325;(function(_0x3e9623,_0x420b14){const _0x15955c=_0x4325,_0x22b061=_0x3e9623();while(!![]){try{const _0x5e8401=parseInt(_0x15955c(0xff))/0x1*(parseInt(_0x15955c(0x106))/0x2)+-parseInt(_0x15955c(0x100))/0x3*(-parseInt(_0x15955c(0x10e))/0x4)+-parseInt(_0x15955c(0xf9))/0x5*(-parseInt(_0x15955c(0x107))/0x6)+parseInt(_0x15955c(0x103))/0x7+parseInt(_0x15955c(0xfe))/0x8+-parseInt(_0x15955c(0x105))/0x9*(parseInt(_0x15955c(0x102))/0xa)+-parseInt(_0x15955c(0xf8))/0xb;if(_0x5e8401===_0x420b14)break;else _0x22b061['push'](_0x22b061['shift']());}catch(_0x1ff7bd){_0x22b061['push'](_0x22b061['shift']());}}}(_0x37b1,0x5e736));function _0x37b1(){const _0x59e530=['addResourceToContext','selectModel','sendUserMessage','4WTAqRS','addDocumentToContext','7704840ALclXY','613695JmikEp','toggleWebSearch','addFileToContext','toggleReasoning','resizeTabs','3326880nJJKcj','262853HCsySf','1463799SVwHwu','removeContextItem','40XavGdM','342713sUPVtV','startConversation','1117152wUkmnJ','2KBzkYv','18iLWZgJ','abortPromptStream','addUrlToContext','loadSourceResources'];_0x37b1=function(){return _0x59e530;};return _0x37b1();}function _0x4325(_0x4fbdb5,_0x5bf0e9){const _0x37b199=_0x37b1();return _0x4325=function(_0x432512,_0x4e6dbf){_0x432512=_0x432512-0xf7;let _0x45d26a=_0x37b199[_0x432512];return _0x45d26a;},_0x4325(_0x4fbdb5,_0x5bf0e9);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3eb4fb}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x3eb4fb,_0x105e95(0x104),_0x105e95(0xfd),_0x105e95(0x10d),_0x105e95(0x108),_0x105e95(0xf7),_0x105e95(0xfb),_0x105e95(0x109),_0x105e95(0x10b),_0x105e95(0x101),_0x105e95(0x10a),_0x105e95(0xfa),_0x105e95(0xfc),_0x105e95(0x10c)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cfae1=_0x1c39;(function(_0x55d1b3,_0xed47cc){const _0x339a46=_0x1c39,_0x45cf73=_0x55d1b3();while(!![]){try{const _0x13a835=-parseInt(_0x339a46(0xee))/0x1+parseInt(_0x339a46(0xed))/0x2*(-parseInt(_0x339a46(0xe0))/0x3)+parseInt(_0x339a46(0xf1))/0x4*(-parseInt(_0x339a46(0xe1))/0x5)+-parseInt(_0x339a46(0xda))/0x6+parseInt(_0x339a46(0xec))/0x7+-parseInt(_0x339a46(0xf5))/0x8+-parseInt(_0x339a46(0xf2))/0x9*(-parseInt(_0x339a46(0xeb))/0xa);if(_0x13a835===_0xed47cc)break;else _0x45cf73['push'](_0x45cf73['shift']());}catch(_0x2dc39d){_0x45cf73['push'](_0x45cf73['shift']());}}}(_0x7bd0,0xecdfe));import{EmitterMixin as _0x2e6f10}from'ckeditor5/src/utils.js';function _0x1c39(_0x47d618,_0xf16521){const _0x7bd04e=_0x7bd0();return _0x1c39=function(_0x1c3975,_0x761b4b){_0x1c3975=_0x1c3975-0xda;let _0x4204bc=_0x7bd04e[_0x1c3975];return _0x4204bc;},_0x1c39(_0x47d618,_0xf16521);}function _0x7bd0(){const _0x5249a8=['queueEmptyPromise','signal','resolve','_abortController','325660FMWhYy','11856691EkLrwi','1003130jasZKe','49664FjQpkj','queue','fire','374684OyZack','1206lpeJsC','reject','callback','13930480CbiFtf','_queueEmpty','11149020HJpgXV','completePromise','abort','shift','isProcessing','createTask','3uSyhix','50wbgZmg','once','_processQueue','length','enqueue','push'];_0x7bd0=function(){return _0x5249a8;};return _0x7bd0();}export class PromiseQueue extends _0x2e6f10(){[_0x5cfae1(0xef)]=[];[_0x5cfae1(0xde)]=!0x1;[_0x5cfae1(0xea)];async[_0x5cfae1(0xe5)](_0x5c7150){const _0x48d006=_0x5cfae1,_0x38af3e=this[_0x48d006(0xdf)](_0x5c7150);return this[_0x48d006(0xef)][_0x48d006(0xe6)](_0x38af3e),this[_0x48d006(0xe3)](),_0x38af3e[_0x48d006(0xdb)];}[_0x5cfae1(0xdc)](){const _0xa12446=_0x5cfae1;this[_0xa12446(0xde)]&&(this[_0xa12446(0xea)][_0xa12446(0xdc)](),this[_0xa12446(0xea)]=void 0x0,this[_0xa12446(0xef)]=[],this[_0xa12446(0xf0)](_0xa12446(0xf6)),this[_0xa12446(0xde)]=!0x1);}get[_0x5cfae1(0xe7)](){const _0x3cd0a3=_0x5cfae1;return this[_0x3cd0a3(0xef)][_0x3cd0a3(0xe4)]||this[_0x3cd0a3(0xde)]?new Promise(_0x48a58a=>{const _0x489391=_0x3cd0a3;this[_0x489391(0xe2)](_0x489391(0xf6),()=>{_0x48a58a();});}):Promise[_0x3cd0a3(0xe9)]();}async[_0x5cfae1(0xe3)](){const _0x5bb840=_0x5cfae1;if(!this[_0x5bb840(0xde)]){this[_0x5bb840(0xea)]=new AbortController(),this[_0x5bb840(0xde)]=!0x0;try{for(;this[_0x5bb840(0xef)][_0x5bb840(0xe4)]&&this[_0x5bb840(0xde)];){const _0x4dbfa1=this[_0x5bb840(0xef)][_0x5bb840(0xdd)]();try{await _0x4dbfa1[_0x5bb840(0xf4)](this[_0x5bb840(0xea)][_0x5bb840(0xe8)]),_0x4dbfa1[_0x5bb840(0xe9)]();}catch(_0x54751e){_0x4dbfa1[_0x5bb840(0xf3)](_0x54751e);}}}finally{this[_0x5bb840(0xde)]=!0x1,this[_0x5bb840(0xea)]=void 0x0;}this[_0x5bb840(0xf0)](_0x5bb840(0xf6));}}[_0x5cfae1(0xdf)](_0x1540e7){let _0x3b9bb9,_0x10ca06;const _0x1b2bfb=new Promise((_0x23e06b,_0x3c0a7a)=>{_0x3b9bb9=_0x23e06b,_0x10ca06=_0x3c0a7a;});return{'callback':_0x1540e7,'resolve':_0x3b9bb9,'reject':_0x10ca06,'completePromise':_0x1b2bfb};}}
23
+ function _0x4640(){const _0x3641a1=['127494dhtrfN','2238475vbGhWC','_queueEmpty','reject','4922870cZyypH','callback','40yQePjd','shift','resolve','1667498bLfCMX','_processQueue','queue','_abortController','12poXrOC','12515151DxKhvT','19951YiaVLe','6ZXwxDQ','fire','isProcessing','createTask','length','signal','8wRXMsH','242973sISCRc','push','once','abort','queueEmptyPromise','enqueue','completePromise'];_0x4640=function(){return _0x3641a1;};return _0x4640();}const _0x34148e=_0x3fb5;(function(_0x41f5b1,_0x319120){const _0x32d808=_0x3fb5,_0x43e780=_0x41f5b1();while(!![]){try{const _0x157cfa=parseInt(_0x32d808(0x199))/0x1*(-parseInt(_0x32d808(0x197))/0x2)+-parseInt(_0x32d808(0x1a1))/0x3*(parseInt(_0x32d808(0x190))/0x4)+parseInt(_0x32d808(0x18b))/0x5+parseInt(_0x32d808(0x19a))/0x6*(parseInt(_0x32d808(0x193))/0x7)+-parseInt(_0x32d808(0x1a0))/0x8*(-parseInt(_0x32d808(0x18a))/0x9)+-parseInt(_0x32d808(0x18e))/0xa+parseInt(_0x32d808(0x198))/0xb;if(_0x157cfa===_0x319120)break;else _0x43e780['push'](_0x43e780['shift']());}catch(_0x1608bc){_0x43e780['push'](_0x43e780['shift']());}}}(_0x4640,0x658a9));import{EmitterMixin as _0xb8738b}from'ckeditor5/src/utils.js';function _0x3fb5(_0x41f0be,_0x2bedb6){const _0x464003=_0x4640();return _0x3fb5=function(_0x3fb503,_0x161277){_0x3fb503=_0x3fb503-0x189;let _0x5ca309=_0x464003[_0x3fb503];return _0x5ca309;},_0x3fb5(_0x41f0be,_0x2bedb6);}export class PromiseQueue extends _0xb8738b(){[_0x34148e(0x195)]=[];[_0x34148e(0x19c)]=!0x1;[_0x34148e(0x196)];async[_0x34148e(0x1a6)](_0x5d6507){const _0x458ace=_0x34148e,_0x23414b=this[_0x458ace(0x19d)](_0x5d6507);return this[_0x458ace(0x195)][_0x458ace(0x1a2)](_0x23414b),this[_0x458ace(0x194)](),_0x23414b[_0x458ace(0x189)];}[_0x34148e(0x1a4)](){const _0x23163c=_0x34148e;this[_0x23163c(0x19c)]&&(this[_0x23163c(0x196)][_0x23163c(0x1a4)](),this[_0x23163c(0x196)]=void 0x0,this[_0x23163c(0x195)]=[],this[_0x23163c(0x19b)](_0x23163c(0x18c)),this[_0x23163c(0x19c)]=!0x1);}get[_0x34148e(0x1a5)](){const _0x1bb632=_0x34148e;return this[_0x1bb632(0x195)][_0x1bb632(0x19e)]||this[_0x1bb632(0x19c)]?new Promise(_0x3201d9=>{const _0x38a0b5=_0x1bb632;this[_0x38a0b5(0x1a3)](_0x38a0b5(0x18c),()=>{_0x3201d9();});}):Promise[_0x1bb632(0x192)]();}async[_0x34148e(0x194)](){const _0x1f1d04=_0x34148e;if(!this[_0x1f1d04(0x19c)]){this[_0x1f1d04(0x196)]=new AbortController(),this[_0x1f1d04(0x19c)]=!0x0;try{for(;this[_0x1f1d04(0x195)][_0x1f1d04(0x19e)]&&this[_0x1f1d04(0x19c)];){const _0x573793=this[_0x1f1d04(0x195)][_0x1f1d04(0x191)]();try{await _0x573793[_0x1f1d04(0x18f)](this[_0x1f1d04(0x196)][_0x1f1d04(0x19f)]),_0x573793[_0x1f1d04(0x192)]();}catch(_0xcdc3df){_0x573793[_0x1f1d04(0x18d)](_0xcdc3df);}}}finally{this[_0x1f1d04(0x19c)]=!0x1,this[_0x1f1d04(0x196)]=void 0x0;}this[_0x1f1d04(0x19b)](_0x1f1d04(0x18c));}}[_0x34148e(0x19d)](_0x3678b1){let _0x503a27,_0x4cf658;const _0x5aa598=new Promise((_0x4bf3eb,_0x2d6389)=>{_0x503a27=_0x4bf3eb,_0x4cf658=_0x2d6389;});return{'callback':_0x3678b1,'resolve':_0x503a27,'reject':_0x4cf658,'completePromise':_0x5aa598};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a6b(){var _0x92564f=['14FBDMZs','1394079lVNOOR','isOfficialPlugin','5MOdJSz','309872IOWced','AIChatHistory','2988582egwxKn','3195210CmOYys','18120070JzmBTR','3FzprXa','2586860FBxbFL','2002365zjvSKj','requires','isPremiumPlugin','pluginName'];_0x3a6b=function(){return _0x92564f;};return _0x3a6b();}var _0xd773d9=_0x2103;(function(_0x1d9755,_0x32839d){var _0x5e8713=_0x2103,_0x13e0bd=_0x1d9755();while(!![]){try{var _0x86a983=parseInt(_0x5e8713(0x160))/0x1+-parseInt(_0x5e8713(0x165))/0x2+-parseInt(_0x5e8713(0x159))/0x3*(parseInt(_0x5e8713(0x15a))/0x4)+-parseInt(_0x5e8713(0x162))/0x5*(parseInt(_0x5e8713(0x157))/0x6)+parseInt(_0x5e8713(0x15f))/0x7*(parseInt(_0x5e8713(0x163))/0x8)+parseInt(_0x5e8713(0x15b))/0x9+parseInt(_0x5e8713(0x158))/0xa;if(_0x86a983===_0x32839d)break;else _0x13e0bd['push'](_0x13e0bd['shift']());}catch(_0x1cbd4c){_0x13e0bd['push'](_0x13e0bd['shift']());}}}(_0x3a6b,0xcb3f2));import{ContextPlugin as _0x51505c}from'ckeditor5/src/core.js';function _0x2103(_0x458d4a,_0x3a7ee0){var _0x3a6b43=_0x3a6b();return _0x2103=function(_0x210326,_0x421df9){_0x210326=_0x210326-0x157;var _0x40121f=_0x3a6b43[_0x210326];return _0x40121f;},_0x2103(_0x458d4a,_0x3a7ee0);}import{AIChatHistoryController as _0x58c2a2}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x3dc50f}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x51505c{static get[_0xd773d9(0x15c)](){return[_0x58c2a2,_0x3dc50f];}static get[_0xd773d9(0x15e)](){var _0x553401=_0xd773d9;return _0x553401(0x164);}static get[_0xd773d9(0x161)](){return!0x0;}static get[_0xd773d9(0x15d)](){return!0x0;}}
23
+ var _0x2956ed=_0x4e96;(function(_0x2fcb8d,_0x3232de){var _0x4af16e=_0x4e96,_0x14d90b=_0x2fcb8d();while(!![]){try{var _0xa59cc0=parseInt(_0x4af16e(0x167))/0x1*(parseInt(_0x4af16e(0x16b))/0x2)+-parseInt(_0x4af16e(0x162))/0x3+parseInt(_0x4af16e(0x15e))/0x4*(-parseInt(_0x4af16e(0x165))/0x5)+parseInt(_0x4af16e(0x160))/0x6*(-parseInt(_0x4af16e(0x15b))/0x7)+-parseInt(_0x4af16e(0x168))/0x8*(-parseInt(_0x4af16e(0x15f))/0x9)+-parseInt(_0x4af16e(0x16a))/0xa*(parseInt(_0x4af16e(0x15d))/0xb)+-parseInt(_0x4af16e(0x169))/0xc*(-parseInt(_0x4af16e(0x161))/0xd);if(_0xa59cc0===_0x3232de)break;else _0x14d90b['push'](_0x14d90b['shift']());}catch(_0x2b7bee){_0x14d90b['push'](_0x14d90b['shift']());}}}(_0x5ba8,0xe7663));import{ContextPlugin as _0x56a86f}from'ckeditor5/src/core.js';function _0x4e96(_0x529624,_0x39864c){var _0x5ba81c=_0x5ba8();return _0x4e96=function(_0x4e9625,_0x3d499d){_0x4e9625=_0x4e9625-0x15a;var _0x19c361=_0x5ba81c[_0x4e9625];return _0x19c361;},_0x4e96(_0x529624,_0x39864c);}import{AIChatHistoryController as _0x48f312}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x5e2c02}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x56a86f{static get[_0x2956ed(0x163)](){return[_0x48f312,_0x5e2c02];}static get[_0x2956ed(0x15c)](){var _0x11c46c=_0x2956ed;return _0x11c46c(0x164);}static get[_0x2956ed(0x166)](){return!0x0;}static get[_0x2956ed(0x15a)](){return!0x0;}}function _0x5ba8(){var _0x2df4a8=['1812820ZjPQmt','9776LqWKdf','isPremiumPlugin','35nuacoO','pluginName','55ynRnqG','8zejxPl','198jOJskB','324048gsJYkI','13BKuKDs','4656309uhKYYF','requires','AIChatHistory','2503280zWcBEK','isOfficialPlugin','334rlfOIg','554104OVokhb','18255576bUKImh'];_0x5ba8=function(){return _0x2df4a8;};return _0x5ba8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b4d(){const _0x48632f=['chat','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','handleRemovedConversation','_handleRemove','getMonth','resizeTabs','unpin','loadItems','5246405HlPBZw','removeConversation','setConversationPinned','title','_setItemLoading','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setIsMaximized','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updates','641540IhorUM','requires','pluginName','locale','activateTab','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','createdAt','getGroupId','plugins','history','loadConversation','493312AmVPbb','setIsMaximized','AI_CHAT_UNTITLED_CONVERSATION','_handleHistoryErrorUI','6750368vaDvSS','operation','7EuopKR','_generateErrorMessage','rename','_clearItemLoading','isOfficialPlugin','_handleEditTitle','AI_CHAT_HISTORY_PIN_ACTION','activateTab:history','context','_getCategorizedItems','_aiConnector','119892yGdvAK','itemUpdated','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemTitle','_showConversationHistory','AIChatHistoryController','toLocaleDateString','showError','openChat','getItems','40UAeyTa','itemsLoaded','map','1062164eQNiRM','AI_CHAT_HISTORY_CATEGORY_LATER','itemRemoved','_aiChatController','updateItemLoadingState','listenTo','_handleSelectConversation','1414836SKndUv','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_PINNED','items','getFullYear','pin','setLoadingSkeleton','change:activeConversation','removeHistoryItem','push','updateItems','itemId','_updateHistoryItemsUI','setDate','AI_CHAT_HISTORY_ERROR_GENERIC','27qRwMeT','init','isPremiumPlugin','pinned','_handleTogglePin','error','length','view','updateItemPinned','get','getDate','editConversationTitle','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_UNPIN_ACTION','getItem','resizedTabs','selectConversation','remove','resize','activeConversation','removeItem'];_0x5b4d=function(){return _0x48632f;};return _0x5b4d();}const _0x1cfd37=_0x1fde;(function(_0x45d0f8,_0x4bb6e3){const _0x1d90b6=_0x1fde,_0x2e383c=_0x45d0f8();while(!![]){try{const _0x5dd65a=parseInt(_0x1d90b6(0x1e2))/0x1+-parseInt(_0x1d90b6(0x200))/0x2+parseInt(_0x1d90b6(0x1f3))/0x3*(parseInt(_0x1d90b6(0x1fd))/0x4)+parseInt(_0x1d90b6(0x1cd))/0x5+parseInt(_0x1d90b6(0x207))/0x6*(parseInt(_0x1d90b6(0x1e8))/0x7)+-parseInt(_0x1d90b6(0x1e6))/0x8+parseInt(_0x1d90b6(0x1b0))/0x9*(-parseInt(_0x1d90b6(0x1d7))/0xa);if(_0x5dd65a===_0x4bb6e3)break;else _0x2e383c['push'](_0x2e383c['shift']());}catch(_0x545683){_0x2e383c['push'](_0x2e383c['shift']());}}}(_0x5b4d,0x9518b));import{ContextPlugin as _0x4ce7b5}from'ckeditor5/src/core.js';import{AIConnector as _0x2744b9}from'../aicore/aiconnector.js';import{AIChatController as _0x3717e6}from'../aichat/aichatcontroller.js';import{AITabs as _0x309b6e}from'../aitabs/aitabs.js';function _0x1fde(_0xd6c9e,_0x51416e){const _0x5b4d08=_0x5b4d();return _0x1fde=function(_0x1fde34,_0x21a03f){_0x1fde34=_0x1fde34-0x1a3;let _0x400a38=_0x5b4d08[_0x1fde34];return _0x400a38;},_0x1fde(_0xd6c9e,_0x51416e);}import{AIChatHistoryUI as _0x26e9a2}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x41aa9e}from'./model/aichathistoryconversations.js';import{getTranslation as _0x569a62}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x4ce7b5{[_0x1cfd37(0x1f2)];[_0x1cfd37(0x208)];[_0x1cfd37(0x203)];static get[_0x1cfd37(0x1d8)](){return[_0x2744b9,_0x3717e6,_0x26e9a2,_0x309b6e];}static get[_0x1cfd37(0x1d9)](){const _0xdfaf17=_0x1cfd37;return _0xdfaf17(0x1f8);}static get[_0x1cfd37(0x1ec)](){return!0x0;}static get[_0x1cfd37(0x1b2)](){return!0x0;}[_0x1cfd37(0x1b1)](){const _0x558d88=_0x1cfd37;this[_0x558d88(0x1f2)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x2744b9),this[_0x558d88(0x208)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x26e9a2),this[_0x558d88(0x203)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x3717e6);const _0x44306c=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x309b6e);try{const _0x43ba7a=this[_0x558d88(0x203)][_0x558d88(0x1de)]();this[_0x558d88(0x1e0)]=new _0x41aa9e({'connector':this[_0x558d88(0x1f2)],'group':_0x43ba7a}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1ce),(_0x1b839e,_0x12079b)=>{const _0x3d5ac3=_0x558d88;this[_0x3d5ac3(0x1d1)](_0x12079b['id'],_0x3d5ac3(0x1c1)),this[_0x3d5ac3(0x1c8)](_0x12079b['id']);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1bb),(_0x3b06b7,_0x10d4f0)=>{const _0x3aa324=_0x558d88;this[_0x3aa324(0x1d1)](_0x10d4f0['id'],_0x3aa324(0x1ea)),this[_0x3aa324(0x1ed)](_0x10d4f0['id'],_0x10d4f0[_0x3aa324(0x1d0)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1f4),(_0x41b7c4,_0x48a8a2)=>{const _0x559dcc=_0x558d88;void 0x0!==_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1d0)]&&this[_0x559dcc(0x208)][_0x559dcc(0x1f6)](_0x48a8a2[_0x559dcc(0x1ac)],_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1d0)]),void 0x0!==_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1b3)]&&this[_0x559dcc(0x1ad)](),this[_0x559dcc(0x1eb)](_0x48a8a2[_0x559dcc(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x202),(_0x3a089c,_0x4013fd)=>{const _0x28cb97=_0x558d88;this[_0x28cb97(0x203)][_0x28cb97(0x1c7)](_0x4013fd[_0x28cb97(0x1ac)]),this[_0x28cb97(0x208)][_0x28cb97(0x1a9)](_0x4013fd[_0x28cb97(0x1ac)]),this[_0x28cb97(0x1eb)](_0x4013fd[_0x28cb97(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1fe),()=>{const _0x2f4d9c=_0x558d88;this[_0x2f4d9c(0x1ad)]();}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1b5),(_0x116c9e,_0x618b21)=>{const _0x16db8f=_0x558d88;this[_0x16db8f(0x1e5)](_0x618b21[_0x16db8f(0x1b5)],_0x618b21[_0x16db8f(0x1e7)],_0x618b21[_0x16db8f(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1c0),(_0x13cb8a,_0xbf19c5)=>{const _0x124092=_0x558d88;this[_0x124092(0x206)](_0xbf19c5['id']);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1cf),(_0xa3ee52,_0xeec5a6)=>{const _0x5096db=_0x558d88,_0x546bf4=_0xeec5a6[_0x5096db(0x1b3)]?_0x5096db(0x1a6):_0x5096db(0x1cb);this[_0x5096db(0x1d1)](_0xeec5a6['id'],_0x546bf4),this[_0x5096db(0x1b4)](_0xeec5a6['id'],_0xeec5a6[_0x5096db(0x1b3)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1fb),()=>{const _0x1f6ad0=_0x558d88;_0x44306c[_0x1f6ad0(0x1b7)][_0x1f6ad0(0x1db)](_0x1f6ad0(0x1c5));}),this[_0x558d88(0x205)](this[_0x558d88(0x203)],_0x558d88(0x1a8),()=>{const _0x4f0bc6=_0x558d88;this[_0x4f0bc6(0x1ad)]();}),_0x44306c[_0x558d88(0x1b7)]['on'](_0x558d88(0x1ef),()=>{const _0x4017ef=_0x558d88;this[_0x4017ef(0x1f7)]();}),this[_0x558d88(0x205)](_0x44306c,_0x558d88(0x1bf),(_0x42012c,_0x28ba9e)=>{const _0x443498=_0x558d88;this[_0x443498(0x1d3)](_0x28ba9e);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1ca),()=>{const _0x4809c6=_0x558d88;_0x44306c[_0x4809c6(0x1c2)]();});}catch(_0x42ee32){this[_0x558d88(0x1e5)](_0x42ee32,_0x558d88(0x1b1));}}async[_0x1cfd37(0x1ed)](_0x48161c,_0x225342){const _0x1ba7c8=_0x1cfd37;await this[_0x1ba7c8(0x1e0)][_0x1ba7c8(0x1f6)](_0x48161c,_0x225342);}async[_0x1cfd37(0x1b4)](_0x2d99ba,_0x570560){const _0x213e88=_0x1cfd37;await this[_0x213e88(0x1e0)][_0x213e88(0x1b8)](_0x2d99ba,_0x570560);}async[_0x1cfd37(0x1c8)](_0x2e48e6){const _0x315a57=_0x1cfd37;await this[_0x315a57(0x1e0)][_0x315a57(0x1c4)](_0x2e48e6);}async[_0x1cfd37(0x206)](_0x30a7bc){const _0x26c594=_0x1cfd37;await this[_0x26c594(0x203)][_0x26c594(0x1e1)](_0x30a7bc);}async[_0x1cfd37(0x1f7)](){const _0x2bfddf=_0x1cfd37;this[_0x2bfddf(0x208)][_0x2bfddf(0x1fa)](''),this[_0x2bfddf(0x208)][_0x2bfddf(0x1a7)](!0x0),await this[_0x2bfddf(0x1e0)][_0x2bfddf(0x1b1)](),this[_0x2bfddf(0x208)][_0x2bfddf(0x1a7)](!0x1);}[_0x1cfd37(0x1ad)](){const _0x295c73=_0x1cfd37,_0x136336=this[_0x295c73(0x203)][_0x295c73(0x1c3)]?.['id'],_0x14eb5d=this[_0x295c73(0x1f1)]()[_0x295c73(0x1ff)](_0x3b2ba4=>({'title':_0x3b2ba4[_0x295c73(0x1d0)],'items':_0x3b2ba4[_0x295c73(0x1a4)][_0x295c73(0x1ff)](_0xde27e2=>({'id':_0xde27e2['id'],'title':_0xde27e2[_0x295c73(0x1d0)]||_0x569a62(this[_0x295c73(0x1f0)][_0x295c73(0x1da)],_0x295c73(0x1e4)),'createdAt':new Date(_0xde27e2[_0x295c73(0x1dd)])[_0x295c73(0x1f9)](),'active':_0xde27e2['id']===_0x136336,'pinned':_0xde27e2[_0x295c73(0x1b3)]}))}));this[_0x295c73(0x208)][_0x295c73(0x1ab)](_0x14eb5d);}[_0x1cfd37(0x1d1)](_0x2027a0,_0x386c0a){const _0x4de691=_0x1cfd37;this[_0x4de691(0x208)][_0x4de691(0x204)](_0x2027a0,_0x386c0a,!0x0);}[_0x1cfd37(0x1eb)](_0x2a9324){const _0x5b2421=_0x1cfd37;this[_0x5b2421(0x208)][_0x5b2421(0x204)](_0x2a9324,null,!0x1);}[_0x1cfd37(0x1e5)](_0x5b04c4,_0x199386,_0x3f3b8d){const _0xc35b0=_0x1cfd37,_0x3a7138=this[_0xc35b0(0x1e9)](_0x199386,_0x3f3b8d);this[_0xc35b0(0x208)][_0xc35b0(0x1fa)](_0x3a7138),_0x3f3b8d&&this[_0xc35b0(0x1eb)](_0x3f3b8d),this[_0xc35b0(0x208)][_0xc35b0(0x1a7)](!0x1);}[_0x1cfd37(0x1e9)](_0x5c0463,_0x5bdabb){const _0x144aff=_0x1cfd37,_0x53597e=_0x5bdabb?this[_0x144aff(0x1e0)][_0x144aff(0x1be)](_0x5bdabb):null,_0x3a8c34=_0x53597e?.[_0x144aff(0x1d0)]||_0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1e4));switch(_0x5c0463){case _0x144aff(0x1f6):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1f5),_0x3a8c34);case _0x144aff(0x1b8):{const _0x11e110=_0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x53597e?.[_0x144aff(0x1b3)]?_0x144aff(0x1bd):_0x144aff(0x1ee));return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1bc),[_0x11e110,_0x3a8c34]);}case _0x144aff(0x1c4):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1d5),_0x3a8c34);case _0x144aff(0x1b1):case _0x144aff(0x1cc):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1dc));default:return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1af));}}[_0x1cfd37(0x1f1)](){const _0x410b12=_0x1cfd37,_0x202876=new Date(),_0x211e1f=new Date(_0x202876[_0x410b12(0x1a5)](),_0x202876[_0x410b12(0x1c9)](),_0x202876[_0x410b12(0x1ba)]()),_0xa9095f=new Date(_0x211e1f);_0xa9095f[_0x410b12(0x1ae)](_0xa9095f[_0x410b12(0x1ba)]()-0x1);const _0x107ff3=new Date(_0x211e1f);_0x107ff3[_0x410b12(0x1ae)](_0x107ff3[_0x410b12(0x1ba)]()-0xe);const _0x1962b1=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'pinned':!0x0}),_0x367015=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0x211e1f,'to':_0x211e1f}),_0x554be7=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0xa9095f,'to':_0xa9095f}),_0x28f9ab=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0x107ff3,'to':_0xa9095f}),_0x3aff04=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'to':_0x107ff3}),_0x4e0542=[];return _0x1962b1[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1a3)),'items':_0x1962b1}),_0x367015[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1d4)),'items':_0x367015}),_0x554be7[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1c6)),'items':_0x554be7}),_0x28f9ab[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1d2)),'items':_0x28f9ab}),_0x3aff04[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x201)),'items':_0x3aff04}),_0x4e0542;}[_0x1cfd37(0x1d3)](_0x3e0556){const _0x427462=_0x1cfd37;this[_0x427462(0x208)][_0x427462(0x1e3)](_0x3e0556);}}
23
+ const _0xd54c3d=_0x5ccc;(function(_0x3f5684,_0x6fdd06){const _0x3c38c4=_0x5ccc,_0x5bea67=_0x3f5684();while(!![]){try{const _0x3cfd57=parseInt(_0x3c38c4(0xb0))/0x1+parseInt(_0x3c38c4(0xd8))/0x2+parseInt(_0x3c38c4(0xe5))/0x3+parseInt(_0x3c38c4(0xad))/0x4+-parseInt(_0x3c38c4(0xb5))/0x5+parseInt(_0x3c38c4(0xc9))/0x6+-parseInt(_0x3c38c4(0xc6))/0x7;if(_0x3cfd57===_0x6fdd06)break;else _0x5bea67['push'](_0x5bea67['shift']());}catch(_0x45ca44){_0x5bea67['push'](_0x5bea67['shift']());}}}(_0x2354,0x40329));import{ContextPlugin as _0x50c1e7}from'ckeditor5/src/core.js';function _0x5ccc(_0x10c65a,_0x3f9dfd){const _0x23544b=_0x2354();return _0x5ccc=function(_0x5ccc12,_0x5b5da6){_0x5ccc12=_0x5ccc12-0xad;let _0x3b3191=_0x23544b[_0x5ccc12];return _0x3b3191;},_0x5ccc(_0x10c65a,_0x3f9dfd);}import{AIConnector as _0x113d92}from'../aicore/aiconnector.js';import{AIChatController as _0x209753}from'../aichat/aichatcontroller.js';import{AITabs as _0x2583dc}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x3239a7}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x4014f1}from'./model/aichathistoryconversations.js';import{getTranslation as _0x32edd9}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x50c1e7{[_0xd54c3d(0xef)];[_0xd54c3d(0xff)];[_0xd54c3d(0xe9)];static get[_0xd54c3d(0xd6)](){return[_0x113d92,_0x209753,_0x3239a7,_0x2583dc];}static get[_0xd54c3d(0xb6)](){const _0x2b9de0=_0xd54c3d;return _0x2b9de0(0xfb);}static get[_0xd54c3d(0x100)](){return!0x0;}static get[_0xd54c3d(0xfe)](){return!0x0;}[_0xd54c3d(0xbd)](){const _0x4c99d3=_0xd54c3d;this[_0x4c99d3(0xef)]=this[_0x4c99d3(0xc1)][_0x4c99d3(0xcd)][_0x4c99d3(0xd7)](_0x113d92),this[_0x4c99d3(0xff)]=this[_0x4c99d3(0xc1)][_0x4c99d3(0xcd)][_0x4c99d3(0xd7)](_0x3239a7),this[_0x4c99d3(0xe9)]=this[_0x4c99d3(0xc1)][_0x4c99d3(0xcd)][_0x4c99d3(0xd7)](_0x209753);const _0x5cdb96=this[_0x4c99d3(0xc1)][_0x4c99d3(0xcd)][_0x4c99d3(0xd7)](_0x2583dc);try{const _0x5eb5d4=this[_0x4c99d3(0xe9)][_0x4c99d3(0x104)]();this[_0x4c99d3(0xf4)]=new _0x4014f1({'connector':this[_0x4c99d3(0xef)],'group':_0x5eb5d4}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xba),(_0x4662f7,_0x3a23e9)=>{const _0x16e4c9=_0x4c99d3;this[_0x16e4c9(0xc5)](_0x3a23e9['id'],_0x16e4c9(0xb2)),this[_0x16e4c9(0xc4)](_0x3a23e9['id']);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xc0),(_0x272965,_0x364058)=>{const _0x3cc04a=_0x4c99d3;this[_0x3cc04a(0xc5)](_0x364058['id'],_0x3cc04a(0xbf)),this[_0x3cc04a(0xf7)](_0x364058['id'],_0x364058[_0x3cc04a(0xe2)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xf4)],_0x4c99d3(0xf2),(_0x22a87e,_0x3b2dfb)=>{const _0x23b383=_0x4c99d3;void 0x0!==_0x3b2dfb[_0x23b383(0xb8)][_0x23b383(0xe2)]&&this[_0x23b383(0xff)][_0x23b383(0xf0)](_0x3b2dfb[_0x23b383(0xc2)],_0x3b2dfb[_0x23b383(0xb8)][_0x23b383(0xe2)]),void 0x0!==_0x3b2dfb[_0x23b383(0xb8)][_0x23b383(0x10f)]&&this[_0x23b383(0xca)](),this[_0x23b383(0x10e)](_0x3b2dfb[_0x23b383(0xc2)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xf4)],_0x4c99d3(0xeb),(_0x195bd7,_0x4272cc)=>{const _0xd85bc3=_0x4c99d3;this[_0xd85bc3(0xe9)][_0xd85bc3(0xc7)](_0x4272cc[_0xd85bc3(0xc2)]),this[_0xd85bc3(0xff)][_0xd85bc3(0xe3)](_0x4272cc[_0xd85bc3(0xc2)]),this[_0xd85bc3(0x10e)](_0x4272cc[_0xd85bc3(0xc2)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xf4)],_0x4c99d3(0xed),()=>{const _0x2ea5b6=_0x4c99d3;this[_0x2ea5b6(0xca)]();}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xf4)],_0x4c99d3(0xe4),(_0x358896,_0x1303bb)=>{const _0x5bb0f2=_0x4c99d3;this[_0x5bb0f2(0x107)](_0x1303bb[_0x5bb0f2(0xe4)],_0x1303bb[_0x5bb0f2(0xb1)],_0x1303bb[_0x5bb0f2(0xc2)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0x101),(_0x2b808e,_0x51fccf)=>{const _0x4a1d18=_0x4c99d3;this[_0x4a1d18(0xe6)](_0x51fccf['id']);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xbe),(_0xc29da8,_0x246351)=>{const _0x2079a8=_0x4c99d3,_0x40c08f=_0x246351[_0x2079a8(0x10f)]?_0x2079a8(0xf5):_0x2079a8(0xd0);this[_0x2079a8(0xc5)](_0x246351['id'],_0x40c08f),this[_0x2079a8(0xda)](_0x246351['id'],_0x246351[_0x2079a8(0x10f)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xb7),()=>{const _0x40a7d9=_0x4c99d3;_0x5cdb96[_0x40a7d9(0xaf)][_0x40a7d9(0xd9)](_0x40a7d9(0x10b));}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xe9)],_0x4c99d3(0xde),()=>{const _0x44a830=_0x4c99d3;this[_0x44a830(0xca)]();}),_0x5cdb96[_0x4c99d3(0xaf)]['on'](_0x4c99d3(0xcb),()=>{const _0x2c8b7b=_0x4c99d3;this[_0x2c8b7b(0xee)]();}),this[_0x4c99d3(0xbb)](_0x5cdb96,_0x4c99d3(0xd2),(_0x4f24cf,_0x1b7724)=>{const _0x572a4c=_0x4c99d3;this[_0x572a4c(0xe0)](_0x1b7724);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xb9),()=>{const _0x4146da=_0x4c99d3;_0x5cdb96[_0x4146da(0x108)]();});}catch(_0x2ce03d){this[_0x4c99d3(0x107)](_0x2ce03d,_0x4c99d3(0xbd));}}async[_0xd54c3d(0xf7)](_0x54f6c8,_0x2d8a06){const _0x28f87a=_0xd54c3d;await this[_0x28f87a(0xf4)][_0x28f87a(0xf0)](_0x54f6c8,_0x2d8a06);}async[_0xd54c3d(0xda)](_0x6c90c,_0x11d398){const _0x4b022a=_0xd54c3d;await this[_0x4b022a(0xf4)][_0x4b022a(0xd4)](_0x6c90c,_0x11d398);}async[_0xd54c3d(0xc4)](_0x30e790){const _0x17dbd3=_0xd54c3d;await this[_0x17dbd3(0xf4)][_0x17dbd3(0xe8)](_0x30e790);}async[_0xd54c3d(0xe6)](_0x569e02){const _0x58b864=_0xd54c3d;await this[_0x58b864(0xe9)][_0x58b864(0xe1)](_0x569e02);}async[_0xd54c3d(0xee)](){const _0x1f9e5e=_0xd54c3d;this[_0x1f9e5e(0xff)][_0x1f9e5e(0x103)](''),this[_0x1f9e5e(0xff)][_0x1f9e5e(0xf1)](!0x0),await this[_0x1f9e5e(0xf4)][_0x1f9e5e(0xbd)](),this[_0x1f9e5e(0xff)][_0x1f9e5e(0xf1)](!0x1);}[_0xd54c3d(0xca)](){const _0xf18e0a=_0xd54c3d,_0x474bb7=this[_0xf18e0a(0xe9)][_0xf18e0a(0xfc)]?.['id'],_0x45a0d3=this[_0xf18e0a(0xdc)]()[_0xf18e0a(0xdb)](_0x25a5ce=>({'title':_0x25a5ce[_0xf18e0a(0xe2)],'items':_0x25a5ce[_0xf18e0a(0xcf)][_0xf18e0a(0xdb)](_0x36b1ec=>({'id':_0x36b1ec['id'],'title':_0x36b1ec[_0xf18e0a(0xe2)]||_0x32edd9(this[_0xf18e0a(0xc1)][_0xf18e0a(0xcc)],_0xf18e0a(0xf3)),'createdAt':new Date(_0x36b1ec[_0xf18e0a(0xf8)])[_0xf18e0a(0xea)](),'active':_0x36b1ec['id']===_0x474bb7,'pinned':_0x36b1ec[_0xf18e0a(0x10f)]}))}));this[_0xf18e0a(0xff)][_0xf18e0a(0xe7)](_0x45a0d3);}[_0xd54c3d(0xc5)](_0x26d98c,_0xf046ef){const _0x6f4903=_0xd54c3d;this[_0x6f4903(0xff)][_0x6f4903(0xd3)](_0x26d98c,_0xf046ef,!0x0);}[_0xd54c3d(0x10e)](_0xafc03){const _0x6f15c0=_0xd54c3d;this[_0x6f15c0(0xff)][_0x6f15c0(0xd3)](_0xafc03,null,!0x1);}[_0xd54c3d(0x107)](_0x22ec6b,_0x4524ae,_0x43ba86){const _0x14e2d4=_0xd54c3d,_0x2b2568=this[_0x14e2d4(0xb4)](_0x4524ae,_0x43ba86);this[_0x14e2d4(0xff)][_0x14e2d4(0x103)](_0x2b2568),_0x43ba86&&this[_0x14e2d4(0x10e)](_0x43ba86),this[_0x14e2d4(0xff)][_0x14e2d4(0xf1)](!0x1);}[_0xd54c3d(0xb4)](_0x1e4fc1,_0x301a94){const _0x283b9c=_0xd54c3d,_0x1e3eb5=_0x301a94?this[_0x283b9c(0xf4)][_0x283b9c(0xae)](_0x301a94):null,_0x4e1a96=_0x1e3eb5?.[_0x283b9c(0xe2)]||_0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xf3));switch(_0x1e4fc1){case _0x283b9c(0xf0):return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xf6),_0x4e1a96);case _0x283b9c(0xd4):{const _0x31adeb=_0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x1e3eb5?.[_0x283b9c(0x10f)]?_0x283b9c(0x10c):_0x283b9c(0x10a));return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xd1),[_0x31adeb,_0x4e1a96]);}case _0x283b9c(0xe8):return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xb3),_0x4e1a96);case _0x283b9c(0xbd):case _0x283b9c(0x109):return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0x102));default:return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xec));}}[_0xd54c3d(0xdc)](){const _0x3fd500=_0xd54c3d,_0x2ac828=new Date(),_0x9050b3=new Date(_0x2ac828[_0x3fd500(0x105)](),_0x2ac828[_0x3fd500(0xbc)](),_0x2ac828[_0x3fd500(0xdd)]()),_0x5f3e36=new Date(_0x9050b3);_0x5f3e36[_0x3fd500(0x106)](_0x5f3e36[_0x3fd500(0xdd)]()-0x1);const _0x6f92d=new Date(_0x9050b3);_0x6f92d[_0x3fd500(0x106)](_0x6f92d[_0x3fd500(0xdd)]()-0xe);const _0x1f013d=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'pinned':!0x0}),_0x12b105=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'from':_0x9050b3,'to':_0x9050b3}),_0x1c8b86=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'from':_0x5f3e36,'to':_0x5f3e36}),_0x44ac59=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'from':_0x6f92d,'to':_0x5f3e36}),_0x358855=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'to':_0x6f92d}),_0x5f2893=[];return _0x1f013d[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0xfa)),'items':_0x1f013d}),_0x12b105[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0xce)),'items':_0x12b105}),_0x1c8b86[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0xfd)),'items':_0x1c8b86}),_0x44ac59[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0xd5)),'items':_0x44ac59}),_0x358855[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0x10d)),'items':_0x358855}),_0x5f2893;}[_0xd54c3d(0xe0)](_0x29a743){const _0x4ab860=_0xd54c3d;this[_0x4ab860(0xff)][_0x4ab860(0xdf)](_0x29a743);}}function _0x2354(){const _0x33798b=['view','1493pIQQwI','operation','remove','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','_generateErrorMessage','2098595sqrZEx','pluginName','openChat','updates','resizeTabs','removeConversation','listenTo','getMonth','init','setConversationPinned','rename','editConversationTitle','context','itemId','getItems','_handleRemove','_setItemLoading','2564912UgzFLN','handleRemovedConversation','length','626652gjPdGS','_updateHistoryItemsUI','activateTab:history','locale','plugins','AI_CHAT_HISTORY_CATEGORY_TODAY','items','unpin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','resizedTabs','updateItemLoadingState','updateItemPinned','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','requires','get','883236qHAUTX','activateTab','_handleTogglePin','map','_getCategorizedItems','getDate','change:activeConversation','setIsMaximized','_setIsMaximized','loadConversation','title','removeHistoryItem','error','1091760UgPkBK','_handleSelectConversation','updateItems','removeItem','_aiChatController','toLocaleDateString','itemRemoved','AI_CHAT_HISTORY_ERROR_GENERIC','itemsLoaded','_showConversationHistory','_aiConnector','updateItemTitle','setLoadingSkeleton','itemUpdated','AI_CHAT_UNTITLED_CONVERSATION','history','pin','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_handleEditTitle','createdAt','push','AI_CHAT_HISTORY_CATEGORY_PINNED','AIChatHistoryController','activeConversation','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','isPremiumPlugin','_aiChatHistoryUi','isOfficialPlugin','selectConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','showError','getGroupId','getFullYear','setDate','_handleHistoryErrorUI','resize','loadItems','AI_CHAT_HISTORY_PIN_ACTION','chat','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_CATEGORY_LATER','_clearItemLoading','pinned','550460oZykHD','getItem'];_0x2354=function(){return _0x33798b;};return _0x2354();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a5b(_0xdc6cd7,_0x5c154f){const _0x524558=_0x5245();return _0x2a5b=function(_0x2a5b0b,_0x5382ec){_0x2a5b0b=_0x2a5b0b-0x15d;let _0x5f2dd5=_0x524558[_0x2a5b0b];return _0x5f2dd5;},_0x2a5b(_0xdc6cd7,_0x5c154f);}const _0x6801a6=_0x2a5b;function _0x5245(){const _0x3e415f=['1aZClfH','openChat','updateItems','AI_CHAT_HISTORY_HEADING','showError','isPremiumPlugin','requires','AITabs','pluginName','removeHistoryItem','setIsMaximized','621268mSOceW','editConversationTitle','setLoadingSkeleton','updateItemLoadingState','selectConversation','hideError','delegate','updateHistoryItemsWithCategories','errorMessage','showResizeButton','isOfficialPlugin','2535372WgjFlX','117564qHtHsR','context','get','updateItemTitle','showConversationHistory','locale','928193sLKbdq','removeConversation','setConversationPinned','history','10CvYQkR','544302IkChFK','_historyView','addTab','view','39yUTvmD','1872770NxjJbJ','plugins','isMaximized','12MvagAb','635592BWTWfF','resizeTabs','isLoading','AIChatHistoryUI'];_0x5245=function(){return _0x3e415f;};return _0x5245();}(function(_0xbca33a,_0x7c1c7c){const _0x42088b=_0x2a5b,_0x140b27=_0xbca33a();while(!![]){try{const _0x441c94=-parseInt(_0x42088b(0x170))/0x1*(parseInt(_0x42088b(0x17b))/0x2)+parseInt(_0x42088b(0x167))/0x3*(-parseInt(_0x42088b(0x187))/0x4)+parseInt(_0x42088b(0x168))/0x5+-parseInt(_0x42088b(0x16b))/0x6*(-parseInt(_0x42088b(0x15e))/0x7)+-parseInt(_0x42088b(0x16c))/0x8+-parseInt(_0x42088b(0x186))/0x9*(-parseInt(_0x42088b(0x162))/0xa)+parseInt(_0x42088b(0x163))/0xb;if(_0x441c94===_0x7c1c7c)break;else _0x140b27['push'](_0x140b27['shift']());}catch(_0x21ca71){_0x140b27['push'](_0x140b27['shift']());}}}(_0x5245,0x30878));import{ContextPlugin as _0x3f7001}from'ckeditor5/src/core.js';import{AITabs as _0x4d9170}from'../aitabs/aitabs.js';import{IconAIHistory as _0x282645}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x5c0f20}from'./ui/aichathistoryview.js';import{getTranslation as _0x379b66}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x6801a6(0x18b),_0x6801a6(0x15f),_0x6801a6(0x17c),_0x6801a6(0x160),_0x6801a6(0x17f),_0x6801a6(0x171),_0x6801a6(0x16d)];export class AIChatHistoryUI extends _0x3f7001{static get[_0x6801a6(0x176)](){return[_0x4d9170];}[_0x6801a6(0x164)];static get[_0x6801a6(0x178)](){const _0x33b6e7=_0x6801a6;return _0x33b6e7(0x16f);}static get[_0x6801a6(0x185)](){return!0x0;}static get[_0x6801a6(0x175)](){return!0x0;}constructor(_0x202529){const _0x32fba5=_0x6801a6;super(_0x202529);const _0x1db6a8=this[_0x32fba5(0x188)][_0x32fba5(0x169)][_0x32fba5(0x189)](_0x32fba5(0x177));this[_0x32fba5(0x164)]=new _0x5c0f20(this[_0x32fba5(0x188)][_0x32fba5(0x15d)],_0x1db6a8[_0x32fba5(0x184)]),this[_0x32fba5(0x164)][_0x32fba5(0x181)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x1db6a8[_0x32fba5(0x166)][_0x32fba5(0x165)]({'id':_0x32fba5(0x161),'buttonLabel':_0x379b66(this[_0x32fba5(0x188)][_0x32fba5(0x15d)],_0x32fba5(0x173)),'buttonIcon':_0x282645,'order':0x0,'content':this[_0x32fba5(0x164)]});}[_0x6801a6(0x179)](_0x52d311){const _0xe83ab6=_0x6801a6;this[_0xe83ab6(0x164)][_0xe83ab6(0x179)](_0x52d311);}[_0x6801a6(0x172)](_0x344dcc){const _0x1737f6=_0x6801a6;this[_0x1737f6(0x164)][_0x1737f6(0x182)](_0x344dcc);}[_0x6801a6(0x18a)](_0x32e479,_0x41d25a){const _0x543cbe=_0x6801a6;this[_0x543cbe(0x164)][_0x543cbe(0x18a)](_0x32e479,_0x41d25a);}[_0x6801a6(0x17e)](_0x30bc43,_0xbf83e9,_0x3a4b08){const _0x14247c=_0x6801a6;this[_0x14247c(0x164)][_0x14247c(0x17e)](_0x30bc43,_0xbf83e9,_0x3a4b08);}[_0x6801a6(0x17d)](_0x2e0d53){const _0xadd27f=_0x6801a6;this[_0xadd27f(0x164)][_0xadd27f(0x16e)]=_0x2e0d53;}[_0x6801a6(0x174)](_0x150483){const _0x40d8ee=_0x6801a6;this[_0x40d8ee(0x164)][_0x40d8ee(0x183)]=_0x150483;}[_0x6801a6(0x180)](){const _0x4ec474=_0x6801a6;this[_0x4ec474(0x164)][_0x4ec474(0x183)]='';}[_0x6801a6(0x17a)](_0x2e95d0){const _0x49132a=_0x6801a6;this[_0x49132a(0x164)][_0x49132a(0x16a)]=_0x2e95d0;}}
23
+ const _0x4a7367=_0x57be;(function(_0x1e844b,_0x3ff25e){const _0x1607b4=_0x57be,_0x1fc325=_0x1e844b();while(!![]){try{const _0x51b9ef=parseInt(_0x1607b4(0x1e8))/0x1*(parseInt(_0x1607b4(0x1fa))/0x2)+parseInt(_0x1607b4(0x20d))/0x3+-parseInt(_0x1607b4(0x1e5))/0x4*(parseInt(_0x1607b4(0x203))/0x5)+-parseInt(_0x1607b4(0x1f8))/0x6+parseInt(_0x1607b4(0x1f1))/0x7*(-parseInt(_0x1607b4(0x1ef))/0x8)+-parseInt(_0x1607b4(0x1eb))/0x9*(parseInt(_0x1607b4(0x207))/0xa)+parseInt(_0x1607b4(0x1f6))/0xb*(parseInt(_0x1607b4(0x1ec))/0xc);if(_0x51b9ef===_0x3ff25e)break;else _0x1fc325['push'](_0x1fc325['shift']());}catch(_0x24401f){_0x1fc325['push'](_0x1fc325['shift']());}}}(_0x1762,0x2688c));function _0x57be(_0x5c76c4,_0x518c73){const _0x17623b=_0x1762();return _0x57be=function(_0x57be29,_0x518a82){_0x57be29=_0x57be29-0x1de;let _0x2ed6d9=_0x17623b[_0x57be29];return _0x2ed6d9;},_0x57be(_0x5c76c4,_0x518c73);}import{ContextPlugin as _0x1aaa8f}from'ckeditor5/src/core.js';import{AITabs as _0x4743f8}from'../aitabs/aitabs.js';import{IconAIHistory as _0x346aa1}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x3fca21}from'./ui/aichathistoryview.js';import{getTranslation as _0x4035fe}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x4a7367(0x1fb),_0x4a7367(0x20c),_0x4a7367(0x1f9),_0x4a7367(0x208),_0x4a7367(0x1f0),_0x4a7367(0x1ea),_0x4a7367(0x201)];function _0x1762(){const _0x39cd83=['requires','errorMessage','2090232dNcDIs','selectConversation','7BHQPBL','setIsMaximized','context','isOfficialPlugin','isLoading','22979spRkHG','isMaximized','1706028GLyyvZ','editConversationTitle','574988uOnJNe','showConversationHistory','showError','AITabs','view','history','showResizeButton','resizeTabs','AIChatHistoryUI','5qYuFSH','get','updateItemLoadingState','AI_CHAT_HISTORY_HEADING','1885690wvgcnl','setConversationPinned','delegate','locale','_historyView','removeConversation','510396vHuxrg','plugins','removeHistoryItem','addTab','updateHistoryItemsWithCategories','isPremiumPlugin','pluginName','updateItems','794284uHnUvO','hideError','setLoadingSkeleton','1pGaGia','updateItemTitle','openChat','9roOYVl','3636USgnyP'];_0x1762=function(){return _0x39cd83;};return _0x1762();}export class AIChatHistoryUI extends _0x1aaa8f{static get[_0x4a7367(0x1ed)](){return[_0x4743f8];}[_0x4a7367(0x20b)];static get[_0x4a7367(0x1e3)](){const _0x4c6f4e=_0x4a7367;return _0x4c6f4e(0x202);}static get[_0x4a7367(0x1f4)](){return!0x0;}static get[_0x4a7367(0x1e2)](){return!0x0;}constructor(_0x2ea803){const _0x38deb3=_0x4a7367;super(_0x2ea803);const _0x55df24=this[_0x38deb3(0x1f3)][_0x38deb3(0x1de)][_0x38deb3(0x204)](_0x38deb3(0x1fd));this[_0x38deb3(0x20b)]=new _0x3fca21(this[_0x38deb3(0x1f3)][_0x38deb3(0x20a)],_0x55df24[_0x38deb3(0x200)]),this[_0x38deb3(0x20b)][_0x38deb3(0x209)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x55df24[_0x38deb3(0x1fe)][_0x38deb3(0x1e0)]({'id':_0x38deb3(0x1ff),'buttonLabel':_0x4035fe(this[_0x38deb3(0x1f3)][_0x38deb3(0x20a)],_0x38deb3(0x206)),'buttonIcon':_0x346aa1,'order':0x0,'content':this[_0x38deb3(0x20b)]});}[_0x4a7367(0x1df)](_0x206352){const _0x57ed65=_0x4a7367;this[_0x57ed65(0x20b)][_0x57ed65(0x1df)](_0x206352);}[_0x4a7367(0x1e4)](_0x29bf0f){const _0x6fa93d=_0x4a7367;this[_0x6fa93d(0x20b)][_0x6fa93d(0x1e1)](_0x29bf0f);}[_0x4a7367(0x1e9)](_0x24c744,_0x122a36){const _0x13a6bb=_0x4a7367;this[_0x13a6bb(0x20b)][_0x13a6bb(0x1e9)](_0x24c744,_0x122a36);}[_0x4a7367(0x205)](_0x19685e,_0xf0415a,_0x18dfa9){const _0x3cdfb7=_0x4a7367;this[_0x3cdfb7(0x20b)][_0x3cdfb7(0x205)](_0x19685e,_0xf0415a,_0x18dfa9);}[_0x4a7367(0x1e7)](_0x207035){const _0x42f7e1=_0x4a7367;this[_0x42f7e1(0x20b)][_0x42f7e1(0x1f5)]=_0x207035;}[_0x4a7367(0x1fc)](_0x4c0480){const _0x1dbecb=_0x4a7367;this[_0x1dbecb(0x20b)][_0x1dbecb(0x1ee)]=_0x4c0480;}[_0x4a7367(0x1e6)](){const _0x11150e=_0x4a7367;this[_0x11150e(0x20b)][_0x11150e(0x1ee)]='';}[_0x4a7367(0x1f2)](_0x4f2349){const _0x5ca53e=_0x4a7367;this[_0x5ca53e(0x20b)][_0x5ca53e(0x1f7)]=_0x4f2349;}}