@ckeditor/ckeditor5-ai 47.4.0-alpha.2 → 47.4.0-alpha.3

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 (71) 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/aiassistant/aiassistantediting.js +1 -1
  6. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  7. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  8. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  9. package/src/aiassistant/ui/form/aiformview.js +1 -1
  10. package/src/aiballoon/aiballoon.js +1 -1
  11. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  12. package/src/aiballoon/ui/aiballoonview.js +1 -1
  13. package/src/aichat/aichat.js +1 -1
  14. package/src/aichat/aichatcontroller.js +1 -1
  15. package/src/aichat/aichatui.js +1 -1
  16. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  17. package/src/aichat/ui/aichatfeedview.js +1 -1
  18. package/src/aichat/ui/aichatview.js +1 -1
  19. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  20. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  21. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  22. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  23. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  24. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  25. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  26. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  27. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  28. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  29. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  30. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  31. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  32. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  33. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  34. package/src/aichathistory/aichathistory.js +1 -1
  35. package/src/aichathistory/aichathistorycontroller.js +1 -1
  36. package/src/aichathistory/aichathistoryui.js +1 -1
  37. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  38. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  39. package/src/aicore/aiconnector.js +1 -1
  40. package/src/aicore/aiediting.js +1 -1
  41. package/src/aicore/model/aireply.js +1 -1
  42. package/src/aicore/ui/aidisclaimerview.js +1 -1
  43. package/src/aicore/ui/aiskeleton.js +1 -1
  44. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  45. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  46. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  47. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  48. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  49. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  50. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  51. package/src/aiquickactions/aiquickactionsui.js +1 -1
  52. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  53. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  54. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  55. package/src/aireviewmode/aireviewmode.js +1 -1
  56. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  57. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  58. package/src/aireviewmode/aireviewmodeui.js +1 -1
  59. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  60. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  61. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  62. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  63. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  64. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  65. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  66. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  67. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  68. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  69. package/src/aitabs/aitabs.js +1 -1
  70. package/src/aitabs/tabs/aitabsview.js +1 -1
  71. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8e8867=_0x5a0a;(function(_0x226167,_0x387a19){const _0x2217f7=_0x5a0a,_0x4f18a7=_0x226167();while(!![]){try{const _0x1aa14b=-parseInt(_0x2217f7(0x1a4))/0x1+parseInt(_0x2217f7(0x198))/0x2*(-parseInt(_0x2217f7(0x176))/0x3)+-parseInt(_0x2217f7(0x19f))/0x4*(-parseInt(_0x2217f7(0x193))/0x5)+-parseInt(_0x2217f7(0x192))/0x6+parseInt(_0x2217f7(0x188))/0x7+parseInt(_0x2217f7(0x17f))/0x8+parseInt(_0x2217f7(0x1b4))/0x9;if(_0x1aa14b===_0x387a19)break;else _0x4f18a7['push'](_0x4f18a7['shift']());}catch(_0x43dc85){_0x4f18a7['push'](_0x4f18a7['shift']());}}}(_0xf038,0x6754c));function _0x5a0a(_0x4aa1d4,_0x3840f1){const _0xf038ae=_0xf038();return _0x5a0a=function(_0x5a0ae5,_0x52d48a){_0x5a0ae5=_0x5a0ae5-0x175;let _0x32cf66=_0xf038ae[_0x5a0ae5];return _0x32cf66;},_0x5a0a(_0x4aa1d4,_0x3840f1);}import{IconSubmit as _0x19b29d}from'ckeditor5/src/icons.js';import{ButtonView as _0x4e7777,AutocompleteView as _0xa95117,createLabeledTextarea as _0x4befaf}from'ckeditor5/src/ui.js';import{global as _0x27926d,isVisible as _0x2ba13f,Rect as _0x563340,ResizeObserver as _0xcc85bd}from'ckeditor5/src/utils.js';import{getTranslation as _0x443f40}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0xfcbf1a}from'./aichatpromptsuggestionslistview.js';function _0xf038(){const _0x5efb2e=['5864008dNRkks','_createSubmitButton','requestAnimationFrame','fieldView','maxRows','px\x20-\x20var(--ck-spacing-tiny))','bind','setPlaceholderText','ck-ai-chat__prompt-submit-button','4520173EdNMOX','value','set','isEnabled','update','submit','locale','rtl','excludeScrollbarsAndBorders','setIsUploadInProgress','1640760brGghJ','60zrbZMP','isUploadInProgress','uiLanguageDirection','fieldWrapperChildren','add','7896WWuZPh','MAX_ROWS','hasError','execute','width','window','render','520cOwUNb','AI_CHAT_PROMPT_EMPTY_ERROR','placeholder','element','errorText','777163nxgliX','MIN_ROWS','minRows','left','_setUpAddContextButtonPositioning','reset','queryView','extendTemplate','isEmpty','sendUserMessage','ck-ai-chat__prompt-input','trim','calc(','keystrokes','submitButtonView','destroy','913167qzIymr','target','6wVrIWN','focusableChildren','style','enter','right','_queryViewResizeObserver','AI_CHAT_LABEL_SUBMIT','fire','_addContextButtonView'];_0xf038=function(){return _0x5efb2e;};return _0xf038();}import{escape as _0x1349ac}from'es-toolkit/compat';export class AIChatPromptInputView extends _0xa95117{[_0x8e8867(0x1b2)];static [_0x8e8867(0x1a5)]=0x1;static [_0x8e8867(0x199)]=0xc;[_0x8e8867(0x17e)];[_0x8e8867(0x17b)];constructor(_0x26e2d2,_0x107b59){const _0xc42973=_0x8e8867;super(_0x26e2d2,{'queryView':{'label':'','creator':_0x4befaf,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0xfcbf1a(_0x26e2d2),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0xc42973(0x18a)](_0xc42973(0x1ac),!0x0),this[_0xc42973(0x18a)](_0xc42973(0x194),!0x1),this[_0xc42973(0x17e)]=_0x107b59,this[_0xc42973(0x17b)]=null,this[_0xc42973(0x1aa)][_0xc42973(0x182)][_0xc42973(0x1a6)]=AIChatPromptInputView[_0xc42973(0x1a5)],this[_0xc42973(0x1aa)][_0xc42973(0x182)][_0xc42973(0x183)]=AIChatPromptInputView[_0xc42973(0x199)],this[_0xc42973(0x1aa)][_0xc42973(0x196)][_0xc42973(0x197)](this[_0xc42973(0x17e)]),this[_0xc42973(0x1a8)](),this[_0xc42973(0x1ab)]({'attributes':{'class':['ck',_0xc42973(0x1ae)]}}),this[_0xc42973(0x1b2)]=this[_0xc42973(0x180)](),this[_0xc42973(0x1b2)][_0xc42973(0x185)](_0xc42973(0x18b))['to'](this,_0xc42973(0x1ac),this,_0xc42973(0x194),(_0x844f26,_0x1788b7)=>!_0x844f26&&!_0x1788b7),this[_0xc42973(0x177)][_0xc42973(0x197)](this[_0xc42973(0x1b2)]);}[_0x8e8867(0x19e)](){const _0x26aaa9=_0x8e8867;super[_0x26aaa9(0x19e)](),this[_0x26aaa9(0x1aa)][_0x26aaa9(0x196)][_0x26aaa9(0x197)](this[_0x26aaa9(0x1b2)]),this[_0x26aaa9(0x1b1)][_0x26aaa9(0x18a)](_0x26aaa9(0x179),(_0x1b7554,_0x57e905)=>{const _0x57e8b2=_0x26aaa9;this[_0x57e8b2(0x194)]||this[_0x57e8b2(0x1ac)]||_0x1b7554[_0x57e8b2(0x175)]==this[_0x57e8b2(0x1aa)][_0x57e8b2(0x182)][_0x57e8b2(0x1a2)]&&(this[_0x57e8b2(0x18d)](),_0x57e905());}),this[_0x26aaa9(0x1aa)][_0x26aaa9(0x182)]['on'](_0x26aaa9(0x18c),()=>{const _0x2d9b4e=_0x26aaa9;this[_0x2d9b4e(0x1ac)]=''===this[_0x2d9b4e(0x1aa)][_0x2d9b4e(0x182)][_0x2d9b4e(0x1a2)][_0x2d9b4e(0x189)]?.[_0x2d9b4e(0x1af)]();});}[_0x8e8867(0x1b3)](){const _0x3fd134=_0x8e8867;super[_0x3fd134(0x1b3)](),this[_0x3fd134(0x17b)]&&this[_0x3fd134(0x17b)][_0x3fd134(0x1b3)]();}[_0x8e8867(0x18d)](){const _0x5cd299=_0x8e8867,_0x1fb9b4=this[_0x5cd299(0x1aa)][_0x5cd299(0x182)][_0x5cd299(0x1a2)][_0x5cd299(0x189)]?.[_0x5cd299(0x1af)]();if(!_0x1fb9b4)return this[_0x5cd299(0x1aa)][_0x5cd299(0x1a3)]=_0x443f40(this[_0x5cd299(0x18e)],_0x5cd299(0x1a0)),void(this[_0x5cd299(0x1aa)][_0x5cd299(0x182)][_0x5cd299(0x19a)]=!0x0);this[_0x5cd299(0x1aa)][_0x5cd299(0x182)][_0x5cd299(0x19a)]=!0x1;const _0x2c34c8=_0x1349ac(_0x1fb9b4);this[_0x5cd299(0x17d)](_0x5cd299(0x1ad),_0x2c34c8),this[_0x5cd299(0x1aa)][_0x5cd299(0x182)][_0x5cd299(0x1a9)]();}[_0x8e8867(0x186)](_0x221f2b){const _0x16480f=_0x8e8867;this[_0x16480f(0x1aa)][_0x16480f(0x182)][_0x16480f(0x18a)](_0x16480f(0x1a1),_0x221f2b);}[_0x8e8867(0x180)](){const _0x55f3e3=_0x8e8867,_0x4d73ba=new _0x4e7777(this[_0x55f3e3(0x18e)]);return _0x4d73ba[_0x55f3e3(0x18a)]({'icon':_0x19b29d,'label':_0x443f40(this[_0x55f3e3(0x18e)],_0x55f3e3(0x17c)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x55f3e3(0x187),'isEnabled':!0x1}),_0x4d73ba['on'](_0x55f3e3(0x19b),()=>{const _0x483a83=_0x55f3e3;this[_0x483a83(0x18d)]();}),_0x4d73ba;}[_0x8e8867(0x191)](_0x410dba){const _0x179867=_0x8e8867;this[_0x179867(0x194)]=_0x410dba;}[_0x8e8867(0x1a8)](){const _0x5c8965=_0x8e8867,_0x12aee3=this[_0x5c8965(0x18e)],_0x4cc246=()=>{const _0x348a46=_0x5c8965;_0x27926d[_0x348a46(0x19d)][_0x348a46(0x181)](()=>{const _0x590185=_0x348a46;if(_0x2ba13f(this[_0x590185(0x1a2)])){const _0xc49d57=new _0x563340(this[_0x590185(0x1aa)][_0x590185(0x182)][_0x590185(0x1a2)]),_0xa48613=new _0x563340(this[_0x590185(0x17e)][_0x590185(0x1a2)]),_0x37aa0f=_0xc49d57[_0x590185(0x19c)],_0x4cf52d=_0x590185(0x18f)===_0x12aee3[_0x590185(0x195)]?_0x590185(0x17a):_0x590185(0x1a7);_0xc49d57[_0x590185(0x190)]();const _0x4d6274=_0x37aa0f-_0xc49d57[_0x590185(0x19c)]+0x1;this[_0x590185(0x17e)][_0x590185(0x1a2)][_0x590185(0x178)][_0x4cf52d]=_0x590185(0x1b0)+(_0x37aa0f-_0xa48613[_0x590185(0x19c)]-_0x4d6274)+_0x590185(0x184);}});};this[_0x5c8965(0x1aa)][_0x5c8965(0x182)]['on'](_0x5c8965(0x18c),_0x4cc246),this['on'](_0x5c8965(0x19e),()=>{const _0x3602f5=_0x5c8965;_0x4cc246(),this[_0x3602f5(0x17b)]=new _0xcc85bd(this[_0x3602f5(0x1aa)][_0x3602f5(0x182)][_0x3602f5(0x1a2)],()=>{_0x4cc246();});});}}
23
+ const _0xef6b14=_0x436e;function _0x436e(_0x1f6e21,_0x2136e0){const _0x2bd206=_0x2bd2();return _0x436e=function(_0x436ec4,_0x2e5303){_0x436ec4=_0x436ec4-0x1ca;let _0x2cc643=_0x2bd206[_0x436ec4];return _0x2cc643;},_0x436e(_0x1f6e21,_0x2136e0);}(function(_0x10afd5,_0x1c2281){const _0x4c8fdb=_0x436e,_0x460229=_0x10afd5();while(!![]){try{const _0x4cd956=parseInt(_0x4c8fdb(0x1eb))/0x1*(parseInt(_0x4c8fdb(0x1d6))/0x2)+-parseInt(_0x4c8fdb(0x1f5))/0x3*(parseInt(_0x4c8fdb(0x1ef))/0x4)+parseInt(_0x4c8fdb(0x204))/0x5+-parseInt(_0x4c8fdb(0x1cd))/0x6*(-parseInt(_0x4c8fdb(0x1e0))/0x7)+-parseInt(_0x4c8fdb(0x1fa))/0x8+parseInt(_0x4c8fdb(0x1f4))/0x9+parseInt(_0x4c8fdb(0x1f8))/0xa*(parseInt(_0x4c8fdb(0x1fd))/0xb);if(_0x4cd956===_0x1c2281)break;else _0x460229['push'](_0x460229['shift']());}catch(_0x10d093){_0x460229['push'](_0x460229['shift']());}}}(_0x2bd2,0xe92f2));import{IconSubmit as _0x2d0e00}from'ckeditor5/src/icons.js';import{ButtonView as _0x4e7725,AutocompleteView as _0x22b7e6,createLabeledTextarea as _0x10406a}from'ckeditor5/src/ui.js';import{global as _0xcd581d,isVisible as _0x4615be,Rect as _0x93c2b6,ResizeObserver as _0x366a7b}from'ckeditor5/src/utils.js';import{getTranslation as _0x38d85c}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x10b965}from'./aichatpromptsuggestionslistview.js';import{escape as _0xf69b8c}from'es-toolkit/compat';function _0x2bd2(){const _0x203c21=['style','focusableChildren','maxRows','uiLanguageDirection','execute','37ArrPpk','fieldView','_setUpAddContextButtonPositioning','rtl','283796gSTIJk','setIsUploadInProgress','left','element','queryView','4762737bfZART','27QLpgyv','destroy','excludeScrollbarsAndBorders','470nZyriM','right','10782912DJjJfV','sendUserMessage','hasError','66044NjfDmm','trim','fieldWrapperChildren','px\x20-\x20var(--ck-spacing-tiny))','ck-ai-chat__prompt-input','submitButtonView','isUploadInProgress','2219145eoOpHq','minRows','extendTemplate','enter','placeholder','bind','AI_CHAT_PROMPT_EMPTY_ERROR','render','MAX_ROWS','MIN_ROWS','requestAnimationFrame','732ZOPEio','locale','keystrokes','ck-ai-chat__prompt-submit-button','width','target','reset','isEnabled','value','68790jMhcYB','add','setPlaceholderText','calc(','_createSubmitButton','_addContextButtonView','update','set','AI_CHAT_LABEL_SUBMIT','fire','23737liYKrI','isEmpty','window','_queryViewResizeObserver','submit','errorText'];_0x2bd2=function(){return _0x203c21;};return _0x2bd2();}export class AIChatPromptInputView extends _0x22b7e6{[_0xef6b14(0x202)];static [_0xef6b14(0x1cb)]=0x1;static [_0xef6b14(0x1ca)]=0xc;[_0xef6b14(0x1db)];[_0xef6b14(0x1e3)];constructor(_0x1a7b78,_0xaac3d2){const _0x301cc1=_0xef6b14;super(_0x1a7b78,{'queryView':{'label':'','creator':_0x10406a,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x10b965(_0x1a7b78),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x301cc1(0x1dd)](_0x301cc1(0x1e1),!0x0),this[_0x301cc1(0x1dd)](_0x301cc1(0x203),!0x1),this[_0x301cc1(0x1db)]=_0xaac3d2,this[_0x301cc1(0x1e3)]=null,this[_0x301cc1(0x1f3)][_0x301cc1(0x1ec)][_0x301cc1(0x205)]=AIChatPromptInputView[_0x301cc1(0x1cb)],this[_0x301cc1(0x1f3)][_0x301cc1(0x1ec)][_0x301cc1(0x1e8)]=AIChatPromptInputView[_0x301cc1(0x1ca)],this[_0x301cc1(0x1f3)][_0x301cc1(0x1ff)][_0x301cc1(0x1d7)](this[_0x301cc1(0x1db)]),this[_0x301cc1(0x1ed)](),this[_0x301cc1(0x206)]({'attributes':{'class':['ck',_0x301cc1(0x201)]}}),this[_0x301cc1(0x202)]=this[_0x301cc1(0x1da)](),this[_0x301cc1(0x202)][_0x301cc1(0x209)](_0x301cc1(0x1d4))['to'](this,_0x301cc1(0x1e1),this,_0x301cc1(0x203),(_0x127f11,_0x4e31d6)=>!_0x127f11&&!_0x4e31d6),this[_0x301cc1(0x1e7)][_0x301cc1(0x1d7)](this[_0x301cc1(0x202)]);}[_0xef6b14(0x20b)](){const _0xca856f=_0xef6b14;super[_0xca856f(0x20b)](),this[_0xca856f(0x1f3)][_0xca856f(0x1ff)][_0xca856f(0x1d7)](this[_0xca856f(0x202)]),this[_0xca856f(0x1cf)][_0xca856f(0x1dd)](_0xca856f(0x207),(_0x2ea0bf,_0x4403ad)=>{const _0x3efb7e=_0xca856f;this[_0x3efb7e(0x203)]||this[_0x3efb7e(0x1e1)]||_0x2ea0bf[_0x3efb7e(0x1d2)]==this[_0x3efb7e(0x1f3)][_0x3efb7e(0x1ec)][_0x3efb7e(0x1f2)]&&(this[_0x3efb7e(0x1e4)](),_0x4403ad());}),this[_0xca856f(0x1f3)][_0xca856f(0x1ec)]['on'](_0xca856f(0x1dc),()=>{const _0x11a90c=_0xca856f;this[_0x11a90c(0x1e1)]=''===this[_0x11a90c(0x1f3)][_0x11a90c(0x1ec)][_0x11a90c(0x1f2)][_0x11a90c(0x1d5)]?.[_0x11a90c(0x1fe)]();});}[_0xef6b14(0x1f6)](){const _0x564ce0=_0xef6b14;super[_0x564ce0(0x1f6)](),this[_0x564ce0(0x1e3)]&&this[_0x564ce0(0x1e3)][_0x564ce0(0x1f6)]();}[_0xef6b14(0x1e4)](){const _0x5cec03=_0xef6b14,_0x168076=this[_0x5cec03(0x1f3)][_0x5cec03(0x1ec)][_0x5cec03(0x1f2)][_0x5cec03(0x1d5)]?.[_0x5cec03(0x1fe)]();if(!_0x168076)return this[_0x5cec03(0x1f3)][_0x5cec03(0x1e5)]=_0x38d85c(this[_0x5cec03(0x1ce)],_0x5cec03(0x20a)),void(this[_0x5cec03(0x1f3)][_0x5cec03(0x1ec)][_0x5cec03(0x1fc)]=!0x0);this[_0x5cec03(0x1f3)][_0x5cec03(0x1ec)][_0x5cec03(0x1fc)]=!0x1;const _0x44828a=_0xf69b8c(_0x168076);this[_0x5cec03(0x1df)](_0x5cec03(0x1fb),_0x44828a),this[_0x5cec03(0x1f3)][_0x5cec03(0x1ec)][_0x5cec03(0x1d3)]();}[_0xef6b14(0x1d8)](_0x2528c0){const _0x462867=_0xef6b14;this[_0x462867(0x1f3)][_0x462867(0x1ec)][_0x462867(0x1dd)](_0x462867(0x208),_0x2528c0);}[_0xef6b14(0x1da)](){const _0x2eaf97=_0xef6b14,_0x14c65f=new _0x4e7725(this[_0x2eaf97(0x1ce)]);return _0x14c65f[_0x2eaf97(0x1dd)]({'icon':_0x2d0e00,'label':_0x38d85c(this[_0x2eaf97(0x1ce)],_0x2eaf97(0x1de)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2eaf97(0x1d0),'isEnabled':!0x1}),_0x14c65f['on'](_0x2eaf97(0x1ea),()=>{const _0x149a37=_0x2eaf97;this[_0x149a37(0x1e4)]();}),_0x14c65f;}[_0xef6b14(0x1f0)](_0x65f1ca){const _0x232c28=_0xef6b14;this[_0x232c28(0x203)]=_0x65f1ca;}[_0xef6b14(0x1ed)](){const _0x37a6da=_0xef6b14,_0x47d7ae=this[_0x37a6da(0x1ce)],_0x457f44=()=>{const _0x1ccaac=_0x37a6da;_0xcd581d[_0x1ccaac(0x1e2)][_0x1ccaac(0x1cc)](()=>{const _0x1e9e24=_0x1ccaac;if(_0x4615be(this[_0x1e9e24(0x1f2)])){const _0x415a7f=new _0x93c2b6(this[_0x1e9e24(0x1f3)][_0x1e9e24(0x1ec)][_0x1e9e24(0x1f2)]),_0x4c5bfb=new _0x93c2b6(this[_0x1e9e24(0x1db)][_0x1e9e24(0x1f2)]),_0x1b0549=_0x415a7f[_0x1e9e24(0x1d1)],_0x337a1a=_0x1e9e24(0x1ee)===_0x47d7ae[_0x1e9e24(0x1e9)]?_0x1e9e24(0x1f9):_0x1e9e24(0x1f1);_0x415a7f[_0x1e9e24(0x1f7)]();const _0x323043=_0x1b0549-_0x415a7f[_0x1e9e24(0x1d1)]+0x1;this[_0x1e9e24(0x1db)][_0x1e9e24(0x1f2)][_0x1e9e24(0x1e6)][_0x337a1a]=_0x1e9e24(0x1d9)+(_0x1b0549-_0x4c5bfb[_0x1e9e24(0x1d1)]-_0x323043)+_0x1e9e24(0x200);}});};this[_0x37a6da(0x1f3)][_0x37a6da(0x1ec)]['on'](_0x37a6da(0x1dc),_0x457f44),this['on'](_0x37a6da(0x20b),()=>{const _0x488f78=_0x37a6da;_0x457f44(),this[_0x488f78(0x1e3)]=new _0x366a7b(this[_0x488f78(0x1f3)][_0x488f78(0x1ec)][_0x488f78(0x1f2)],()=>{_0x457f44();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53cfe9=_0x51f3;(function(_0x3e7646,_0x47b5dd){const _0x4bb16a=_0x51f3,_0x5613c4=_0x3e7646();while(!![]){try{const _0x425325=-parseInt(_0x4bb16a(0x19a))/0x1+parseInt(_0x4bb16a(0x171))/0x2*(parseInt(_0x4bb16a(0x172))/0x3)+parseInt(_0x4bb16a(0x192))/0x4*(parseInt(_0x4bb16a(0x183))/0x5)+-parseInt(_0x4bb16a(0x18b))/0x6*(-parseInt(_0x4bb16a(0x174))/0x7)+-parseInt(_0x4bb16a(0x189))/0x8+parseInt(_0x4bb16a(0x18e))/0x9+parseInt(_0x4bb16a(0x191))/0xa*(parseInt(_0x4bb16a(0x173))/0xb);if(_0x425325===_0x47b5dd)break;else _0x5613c4['push'](_0x5613c4['shift']());}catch(_0x4ee029){_0x5613c4['push'](_0x5613c4['shift']());}}}(_0x3e8d,0x61b1e));function _0x51f3(_0x342e1a,_0x10f9e6){const _0x3e8d31=_0x3e8d();return _0x51f3=function(_0x51f369,_0x47a2a1){_0x51f369=_0x51f369-0x169;let _0x5d1b1d=_0x3e8d31[_0x51f369];return _0x5d1b1d;},_0x51f3(_0x342e1a,_0x10f9e6);}function _0x3e8d(){const _0x1b9f31=['aiChatResources','useDefaultFiltering','650336xLphjP','_searchInputVisibleFrom','setTemplate','source','fire','_resourcesListView','div','add','loadResources','has','4ESqhVu','671856hbuEfN','3267869FBhrrY','3183313XHZvQG','delegate','_source','length','_latestLoadResourcesUid','ck-hidden','_createSearchSection','isLoading','children','_createSearchView','highlightText','render','getQuery','addResourceToContext','set','20RrOHkA','ck-ai-chat-resources','extendTemplate','ck\x20ck-search','searchInputVisibleFrom','locale','5900152PxbuxD','_searchSection','6MSHcjn','updateResourceState','loadSourceResources','3782259XGXECi','bindTemplate','_createResourcesListView','10TLdRDG','168020ODeTKt','search','_createSkeletonView','setResources','_skeletonLoader','_searchView'];_0x3e8d=function(){return _0x1b9f31;};return _0x3e8d();}import{View as _0x4dda43,ViewCollection as _0x20d2e5}from'ckeditor5/src/ui.js';import{uid as _0x313b0b}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x34c3b0}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x24c0e4}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x36616b,SKELETON_DEFINITIONS as _0x547e30}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x4dda43{[_0x53cfe9(0x197)];[_0x53cfe9(0x18a)];[_0x53cfe9(0x19b)];[_0x53cfe9(0x16c)];[_0x53cfe9(0x196)];[_0x53cfe9(0x176)];[_0x53cfe9(0x17c)];[_0x53cfe9(0x178)]=null;constructor(_0x3edecb,_0xbafbe8){const _0x2f3347=_0x53cfe9;super(_0x3edecb),this[_0x2f3347(0x176)]=_0xbafbe8[_0x2f3347(0x16a)],this[_0x2f3347(0x19b)]=_0xbafbe8[_0x2f3347(0x187)]??0x7,this[_0x2f3347(0x182)](_0x2f3347(0x17b),!0x0),this[_0x2f3347(0x197)]=this[_0x2f3347(0x17d)](),this[_0x2f3347(0x18a)]=this[_0x2f3347(0x17a)](),this[_0x2f3347(0x16c)]=this[_0x2f3347(0x190)](),this[_0x2f3347(0x196)]=this[_0x2f3347(0x194)](),this[_0x2f3347(0x17c)]=new _0x20d2e5([this[_0x2f3347(0x196)],this[_0x2f3347(0x16c)]]),this[_0x2f3347(0x169)]({'tag':_0x2f3347(0x16d),'attributes':{'class':_0x2f3347(0x184)},'children':this[_0x2f3347(0x17c)]});}[_0x53cfe9(0x17d)](){const _0x6ed254=_0x53cfe9;return new _0x24c0e4(this[_0x6ed254(0x188)]);}[_0x53cfe9(0x17a)](){const _0xcafa5f=_0x53cfe9,_0x5ec893=new _0x4dda43(this[_0xcafa5f(0x188)]);return _0x5ec893[_0xcafa5f(0x169)]({'tag':_0xcafa5f(0x16d),'attributes':{'class':_0xcafa5f(0x186)},'children':[this[_0xcafa5f(0x197)]]}),this[_0xcafa5f(0x197)]['on'](_0xcafa5f(0x193),(_0x5b1c7f,_0x21159e)=>{const _0x5b8385=_0xcafa5f;this[_0x5b8385(0x16f)](_0x21159e),this[_0x5b8385(0x176)][_0x5b8385(0x199)]&&this[_0x5b8385(0x16c)][_0x5b8385(0x17e)](_0x21159e);}),_0x5ec893;}[_0x53cfe9(0x190)](){const _0x5ea7a3=_0x53cfe9,_0x4c9ab6=new _0x34c3b0(this[_0x5ea7a3(0x188)],this[_0x5ea7a3(0x176)]);return _0x4c9ab6[_0x5ea7a3(0x175)](_0x5ea7a3(0x181))['to'](this),_0x4c9ab6[_0x5ea7a3(0x185)]({'attributes':{'class':this[_0x5ea7a3(0x18f)]['if'](_0x5ea7a3(0x17b),_0x5ea7a3(0x179))}}),_0x4c9ab6;}[_0x53cfe9(0x194)](){const _0x3ecfcc=_0x53cfe9,_0x3fb4eb=new _0x36616b(this[_0x3ecfcc(0x188)],_0x547e30[_0x3ecfcc(0x198)]);return _0x3fb4eb[_0x3ecfcc(0x185)]({'attributes':{'class':[this[_0x3ecfcc(0x18f)]['if'](_0x3ecfcc(0x17b),_0x3ecfcc(0x179),_0x5b22c8=>!_0x5b22c8)]}}),_0x3fb4eb;}[_0x53cfe9(0x17f)](){const _0x4179bd=_0x53cfe9;super[_0x4179bd(0x17f)](),this[_0x4179bd(0x16f)]('');}[_0x53cfe9(0x16f)](_0x2350a7){const _0x2a6be9=_0x53cfe9,_0x352592=_0x313b0b();this[_0x2a6be9(0x178)]=_0x352592,this[_0x2a6be9(0x16b)](_0x2a6be9(0x18d),{'sourceId':this[_0x2a6be9(0x176)]['id'],'query':_0x2350a7,'uid':_0x352592}),this[_0x2a6be9(0x17b)]=!0x0;}[_0x53cfe9(0x195)](_0x1f5f71,_0x382819){const _0x445539=_0x53cfe9;if(_0x382819&&_0x382819!==this[_0x445539(0x178)])return;const _0x14b0e6=this[_0x445539(0x176)][_0x445539(0x199)]?this[_0x445539(0x197)][_0x445539(0x180)]():'';this[_0x445539(0x16c)][_0x445539(0x195)](_0x1f5f71,_0x14b0e6),_0x1f5f71[_0x445539(0x177)]>=this[_0x445539(0x19b)]&&!this[_0x445539(0x17c)][_0x445539(0x170)](this[_0x445539(0x18a)])&&this[_0x445539(0x17c)][_0x445539(0x16e)](this[_0x445539(0x18a)],0x0),requestAnimationFrame(()=>{const _0x26c4a9=_0x445539;this[_0x26c4a9(0x17b)]=!0x1;});}[_0x53cfe9(0x18c)](_0x1eb269,_0x52cd2e){const _0x2d0098=_0x53cfe9;this[_0x2d0098(0x16c)][_0x2d0098(0x18c)](_0x1eb269,_0x52cd2e);}}
23
+ const _0x1d96bd=_0x3d3a;(function(_0x34b0d6,_0x5677ac){const _0x30f349=_0x3d3a,_0x27fdcb=_0x34b0d6();while(!![]){try{const _0x532409=parseInt(_0x30f349(0xe1))/0x1*(parseInt(_0x30f349(0xee))/0x2)+parseInt(_0x30f349(0xd2))/0x3+parseInt(_0x30f349(0xf5))/0x4+-parseInt(_0x30f349(0xf6))/0x5+parseInt(_0x30f349(0xcf))/0x6+parseInt(_0x30f349(0xd7))/0x7+-parseInt(_0x30f349(0xc9))/0x8;if(_0x532409===_0x5677ac)break;else _0x27fdcb['push'](_0x27fdcb['shift']());}catch(_0x403dd7){_0x27fdcb['push'](_0x27fdcb['shift']());}}}(_0x25bf,0x84a62));import{View as _0x5d83a7,ViewCollection as _0x2be55c}from'ckeditor5/src/ui.js';import{uid as _0x525b85}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x7f846f}from'./aichatcontextresourceslistview.js';function _0x3d3a(_0xe18a8c,_0x1bf264){const _0x25bfe5=_0x25bf();return _0x3d3a=function(_0x3d3a38,_0x4d14e9){_0x3d3a38=_0x3d3a38-0xc9;let _0x4c6af6=_0x25bfe5[_0x3d3a38];return _0x4c6af6;},_0x3d3a(_0xe18a8c,_0x1bf264);}function _0x25bf(){const _0x24136=['div','updateResourceState','setResources','aiChatResources','701393Wclvft','_createSkeletonView','ck-ai-chat-resources','loadResources','has','set','source','_source','_searchSection','_latestLoadResourcesUid','29679TDnnsM','_skeletonLoader','highlightText','_resourcesListView','setTemplate','isLoading','search','getQuery','_createSearchView','bindTemplate','locale','extendTemplate','loadSourceResources','8RfNgLa','render','_createResourcesListView','_searchView','add','useDefaultFiltering','addResourceToContext','407080dovyKR','3383775DBZifO','searchInputVisibleFrom','ck\x20ck-search','3186560DHFLLn','_searchInputVisibleFrom','ck-hidden','length','delegate','_createSearchSection','6478512PVqElN','children','fire','653904gfjQWR'];_0x25bf=function(){return _0x24136;};return _0x25bf();}import{AIChatContextResourcesSearchInputView as _0x21748e}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x48e5b9,SKELETON_DEFINITIONS as _0x4d2af1}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x5d83a7{[_0x1d96bd(0xf1)];[_0x1d96bd(0xdf)];[_0x1d96bd(0xca)];[_0x1d96bd(0xe4)];[_0x1d96bd(0xe2)];[_0x1d96bd(0xde)];[_0x1d96bd(0xd0)];[_0x1d96bd(0xe0)]=null;constructor(_0x143f4e,_0x1fa05c){const _0x599efd=_0x1d96bd;super(_0x143f4e),this[_0x599efd(0xde)]=_0x1fa05c[_0x599efd(0xdd)],this[_0x599efd(0xca)]=_0x1fa05c[_0x599efd(0xf7)]??0x7,this[_0x599efd(0xdc)](_0x599efd(0xe6),!0x0),this[_0x599efd(0xf1)]=this[_0x599efd(0xe9)](),this[_0x599efd(0xdf)]=this[_0x599efd(0xce)](),this[_0x599efd(0xe4)]=this[_0x599efd(0xf0)](),this[_0x599efd(0xe2)]=this[_0x599efd(0xd8)](),this[_0x599efd(0xd0)]=new _0x2be55c([this[_0x599efd(0xe2)],this[_0x599efd(0xe4)]]),this[_0x599efd(0xe5)]({'tag':_0x599efd(0xd3),'attributes':{'class':_0x599efd(0xd9)},'children':this[_0x599efd(0xd0)]});}[_0x1d96bd(0xe9)](){const _0x2050ae=_0x1d96bd;return new _0x21748e(this[_0x2050ae(0xeb)]);}[_0x1d96bd(0xce)](){const _0x1185ae=_0x1d96bd,_0x225e7a=new _0x5d83a7(this[_0x1185ae(0xeb)]);return _0x225e7a[_0x1185ae(0xe5)]({'tag':_0x1185ae(0xd3),'attributes':{'class':_0x1185ae(0xf8)},'children':[this[_0x1185ae(0xf1)]]}),this[_0x1185ae(0xf1)]['on'](_0x1185ae(0xe7),(_0x438914,_0xe91dc)=>{const _0x124c58=_0x1185ae;this[_0x124c58(0xda)](_0xe91dc),this[_0x124c58(0xde)][_0x124c58(0xf3)]&&this[_0x124c58(0xe4)][_0x124c58(0xe3)](_0xe91dc);}),_0x225e7a;}[_0x1d96bd(0xf0)](){const _0x1a63be=_0x1d96bd,_0x261968=new _0x7f846f(this[_0x1a63be(0xeb)],this[_0x1a63be(0xde)]);return _0x261968[_0x1a63be(0xcd)](_0x1a63be(0xf4))['to'](this),_0x261968[_0x1a63be(0xec)]({'attributes':{'class':this[_0x1a63be(0xea)]['if'](_0x1a63be(0xe6),_0x1a63be(0xcb))}}),_0x261968;}[_0x1d96bd(0xd8)](){const _0xb57579=_0x1d96bd,_0x127121=new _0x48e5b9(this[_0xb57579(0xeb)],_0x4d2af1[_0xb57579(0xd6)]);return _0x127121[_0xb57579(0xec)]({'attributes':{'class':[this[_0xb57579(0xea)]['if'](_0xb57579(0xe6),_0xb57579(0xcb),_0x8c8733=>!_0x8c8733)]}}),_0x127121;}[_0x1d96bd(0xef)](){const _0x10e741=_0x1d96bd;super[_0x10e741(0xef)](),this[_0x10e741(0xda)]('');}[_0x1d96bd(0xda)](_0x210bee){const _0x4427ee=_0x1d96bd,_0x3bf337=_0x525b85();this[_0x4427ee(0xe0)]=_0x3bf337,this[_0x4427ee(0xd1)](_0x4427ee(0xed),{'sourceId':this[_0x4427ee(0xde)]['id'],'query':_0x210bee,'uid':_0x3bf337}),this[_0x4427ee(0xe6)]=!0x0;}[_0x1d96bd(0xd5)](_0x9c1331,_0x4f169a){const _0x382478=_0x1d96bd;if(_0x4f169a&&_0x4f169a!==this[_0x382478(0xe0)])return;const _0x341b65=this[_0x382478(0xde)][_0x382478(0xf3)]?this[_0x382478(0xf1)][_0x382478(0xe8)]():'';this[_0x382478(0xe4)][_0x382478(0xd5)](_0x9c1331,_0x341b65),_0x9c1331[_0x382478(0xcc)]>=this[_0x382478(0xca)]&&!this[_0x382478(0xd0)][_0x382478(0xdb)](this[_0x382478(0xdf)])&&this[_0x382478(0xd0)][_0x382478(0xf2)](this[_0x382478(0xdf)],0x0),requestAnimationFrame(()=>{const _0x24e650=_0x382478;this[_0x24e650(0xe6)]=!0x1;});}[_0x1d96bd(0xd4)](_0x235c5f,_0x34d4df){const _0x593bc2=_0x1d96bd;this[_0x593bc2(0xe4)][_0x593bc2(0xd4)](_0x235c5f,_0x34d4df);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c8ca1=_0x473c;(function(_0x4e57bc,_0xcbbf84){const _0x2ac39b=_0x473c,_0x4cf9a7=_0x4e57bc();while(!![]){try{const _0x2c4d21=parseInt(_0x2ac39b(0x162))/0x1+-parseInt(_0x2ac39b(0x179))/0x2+parseInt(_0x2ac39b(0x17b))/0x3+-parseInt(_0x2ac39b(0x170))/0x4*(-parseInt(_0x2ac39b(0x172))/0x5)+parseInt(_0x2ac39b(0x165))/0x6*(parseInt(_0x2ac39b(0x158))/0x7)+parseInt(_0x2ac39b(0x151))/0x8+-parseInt(_0x2ac39b(0x15d))/0x9;if(_0x2c4d21===_0xcbbf84)break;else _0x4cf9a7['push'](_0x4cf9a7['shift']());}catch(_0x568bff){_0x4cf9a7['push'](_0x4cf9a7['shift']());}}}(_0x4332,0x226df));import{BalloonPanelView as _0x4c52fa,ButtonView as _0x11749a,clickOutsideHandler as _0x5bd008,FormHeaderView as _0x3faac9}from'ckeditor5/src/ui.js';function _0x4332(){const _0x116735=['6775695oTWxSe','populateSourceResourceBalloon','content','hide','label','231001bxbqPc','showSourceResourcesBalloon','getLimiterElement','132fAKZlr','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','values','set','onLoadSourceResources','addResourceToContext','onResourceSelected','_getResourcesViewFromBalloon','children','isAnyResourceBalloonVisible','extendTemplate','138096ZWjJNl','clear','30JJORMx','_bodyCollection','_locale','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_setupSingleResourceBalloonClickOutsideHandler','isVisible','searchInputVisibleFrom','150004zMDzks','ck-button-icon\x20ck-button-back','64428NbiPJN','pin','change:isLoading','onBackToContext','delete','_config','once','add','ck-ai-chat-context-controls__source-balloon-panel','_createBackButton','_addSourceResourceContent','onBalloonClosed','_createBalloonResourcesView','_createSourceResourceBalloonPanel','updateResourceState','resource','getTargetElement','closeSourceResourceBalloon','1865800kAqRIO','setResources','execute','_sourceResourceBalloons','get','element','loadSourceResources','87829DymQEc','show','_createBalloonHeader','source','destroy'];_0x4332=function(){return _0x116735;};return _0x4332();}import{IconPreviousArrow as _0x42b1c8}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x172a28}from'../../../../aicore/utils/common-translations.js';function _0x473c(_0x34942c,_0x5f332e){const _0x433295=_0x4332();return _0x473c=function(_0x473c44,_0x2719fe){_0x473c44=_0x473c44-0x146;let _0x197edc=_0x433295[_0x473c44];return _0x197edc;},_0x473c(_0x34942c,_0x5f332e);}import{AIChatContextResourcesView as _0x242f9e}from'./aichatcontextresourcesview.js';const Nr=_0x2c8ca1(0x147),Xr=_0x2c8ca1(0x17a),Kr=_0x2c8ca1(0x175);export class AIChatResourcesBalloonView{[_0x2c8ca1(0x154)]=new Map();[_0x2c8ca1(0x173)];[_0x2c8ca1(0x174)];[_0x2c8ca1(0x180)];constructor(_0x3c186f,_0x5d7dcb,_0x423571){const _0x1c9139=_0x2c8ca1;this[_0x1c9139(0x174)]=_0x3c186f,this[_0x1c9139(0x173)]=_0x5d7dcb,this[_0x1c9139(0x180)]=_0x423571;}[_0x2c8ca1(0x163)](_0x41b9a0){const _0x5d75c6=_0x2c8ca1;let _0x4b7b15=this[_0x5d75c6(0x154)][_0x5d75c6(0x155)](_0x41b9a0['id']);_0x4b7b15||(_0x4b7b15=this[_0x5d75c6(0x14c)](),this[_0x5d75c6(0x154)][_0x5d75c6(0x168)](_0x41b9a0['id'],_0x4b7b15),this[_0x5d75c6(0x176)](_0x4b7b15)),this[_0x5d75c6(0x149)](_0x4b7b15,_0x41b9a0),_0x4b7b15[_0x5d75c6(0x159)]();const _0x243cd2=this[_0x5d75c6(0x180)][_0x5d75c6(0x14f)]();_0x243cd2&&_0x4b7b15[_0x5d75c6(0x17c)]({'target':_0x243cd2,'limiter':this[_0x5d75c6(0x180)][_0x5d75c6(0x164)]()});}[_0x2c8ca1(0x15e)](_0x2c6cc5,_0x2cb643,_0x24a910){const _0xe02d8e=_0x2c8ca1,_0x3b6cec=this[_0xe02d8e(0x154)][_0xe02d8e(0x155)](_0x2c6cc5);if(!_0x3b6cec)return;const _0x43d3da=this[_0xe02d8e(0x16c)](_0x3b6cec);_0x43d3da&&(_0x43d3da[_0xe02d8e(0x152)](_0x2cb643,_0x24a910),_0x43d3da[_0xe02d8e(0x181)](_0xe02d8e(0x17d),()=>{const _0x404386=_0xe02d8e;_0x3b6cec[_0x404386(0x17c)]({'target':this[_0x404386(0x180)][_0x404386(0x14f)](),'limiter':this[_0x404386(0x180)][_0x404386(0x164)]()});}));}[_0x2c8ca1(0x150)](_0x3d0150){const _0x812da6=_0x2c8ca1,_0x1f3255=this[_0x812da6(0x154)][_0x812da6(0x155)](_0x3d0150);_0x1f3255&&requestAnimationFrame(()=>{const _0x21eb41=_0x812da6;_0x1f3255[_0x21eb41(0x160)](),this[_0x21eb41(0x154)][_0x21eb41(0x17f)](_0x3d0150),this[_0x21eb41(0x180)][_0x21eb41(0x14a)]();});}[_0x2c8ca1(0x16e)](){const _0x5dda11=_0x2c8ca1;for(const _0x35540b of this[_0x5dda11(0x154)][_0x5dda11(0x167)]())if(_0x35540b[_0x5dda11(0x177)])return!0x0;return!0x1;}[_0x2c8ca1(0x14d)](_0x57f008,_0x3dbe57,_0x3ed71e){const _0x1200c0=_0x2c8ca1,_0x34ccef=this[_0x1200c0(0x154)][_0x1200c0(0x155)](_0x57f008);if(!_0x34ccef||!_0x34ccef[_0x1200c0(0x177)])return;const _0x521a5f=this[_0x1200c0(0x180)][_0x1200c0(0x14f)]();if(!_0x521a5f)return;_0x34ccef[_0x1200c0(0x17c)]({'target':_0x521a5f,'limiter':this[_0x1200c0(0x180)][_0x1200c0(0x164)]()});const _0xc93ff4=this[_0x1200c0(0x16c)](_0x34ccef);_0xc93ff4&&_0xc93ff4[_0x1200c0(0x14d)](_0x3dbe57,_0x3ed71e);}[_0x2c8ca1(0x15c)](){const _0x2234a5=_0x2c8ca1;for(const _0xdf669c of this[_0x2234a5(0x154)][_0x2234a5(0x167)]())_0xdf669c[_0x2234a5(0x15c)]();this[_0x2234a5(0x154)][_0x2234a5(0x171)]();}[_0x2c8ca1(0x14c)](){const _0x8da201=_0x2c8ca1,_0x20c04a=new _0x4c52fa(this[_0x8da201(0x174)]);return _0x20c04a[_0x8da201(0x16f)]({'attributes':{'class':Nr}}),this[_0x8da201(0x173)][_0x8da201(0x146)](_0x20c04a),_0x20c04a;}[_0x2c8ca1(0x149)](_0x3500c9,_0x22611c){const _0x270ce4=_0x2c8ca1;_0x3500c9[_0x270ce4(0x15f)][_0x270ce4(0x171)]();const _0x153ea5=this[_0x270ce4(0x15a)](_0x3500c9,_0x22611c);_0x3500c9[_0x270ce4(0x15f)][_0x270ce4(0x146)](_0x153ea5);const _0x578f66=this[_0x270ce4(0x14b)](_0x22611c);_0x3500c9[_0x270ce4(0x15f)][_0x270ce4(0x146)](_0x578f66);}[_0x2c8ca1(0x15a)](_0x479cee,_0x244378){const _0x20d775=_0x2c8ca1,_0x1cd4a6=this[_0x20d775(0x148)](_0x479cee),_0x6e1b69=new _0x3faac9(this[_0x20d775(0x174)],{'label':_0x244378[_0x20d775(0x161)],'class':Kr});return _0x6e1b69[_0x20d775(0x16d)][_0x20d775(0x146)](_0x1cd4a6,0x0),_0x6e1b69;}[_0x2c8ca1(0x148)](_0x32afcb){const _0x1b548f=_0x2c8ca1,_0x157d4b=new _0x11749a(this[_0x1b548f(0x174)]);return _0x157d4b[_0x1b548f(0x168)]({'icon':_0x42b1c8,'tooltip':_0x172a28(this[_0x1b548f(0x174)],_0x1b548f(0x166)),'tooltipPosition':'n','class':Xr}),_0x157d4b['on'](_0x1b548f(0x153),()=>{const _0x1c0969=_0x1b548f;_0x32afcb[_0x1c0969(0x160)](),this[_0x1c0969(0x180)][_0x1c0969(0x17e)]();}),_0x157d4b;}[_0x2c8ca1(0x14b)](_0x2f6853){const _0x4f1143=_0x2c8ca1,_0x39cff5=new _0x242f9e(this[_0x4f1143(0x174)],{'source':_0x2f6853,'searchInputVisibleFrom':this[_0x4f1143(0x180)][_0x4f1143(0x178)]});return _0x39cff5['on'](_0x4f1143(0x157),(_0x7df22a,_0x3227fe)=>{const _0x3dd737=_0x4f1143;this[_0x3dd737(0x180)][_0x3dd737(0x169)](_0x3227fe);}),_0x39cff5['on'](_0x4f1143(0x16a),(_0x4114a9,_0x5e75c9)=>{const _0x33bd39=_0x4f1143;this[_0x33bd39(0x180)][_0x33bd39(0x16b)](_0x5e75c9[_0x33bd39(0x15b)],_0x5e75c9[_0x33bd39(0x14e)]),this[_0x33bd39(0x150)](_0x2f6853['id']);}),_0x39cff5;}[_0x2c8ca1(0x16c)](_0x265b5d){const _0x2c46fd=_0x2c8ca1,_0x454d6e=_0x265b5d[_0x2c46fd(0x15f)][_0x2c46fd(0x155)](0x1);return _0x454d6e instanceof _0x242f9e?_0x454d6e:null;}[_0x2c8ca1(0x176)](_0x28050a){const _0x59f1c8=_0x2c8ca1;_0x5bd008({'emitter':_0x28050a,'contextElements':[_0x28050a[_0x59f1c8(0x156)]],'callback':()=>{const _0x32744d=_0x59f1c8;_0x28050a[_0x32744d(0x160)](),this[_0x32744d(0x180)][_0x32744d(0x14a)]();},'activator':()=>_0x28050a[_0x59f1c8(0x177)]});}}
23
+ function _0x393c(_0x509086,_0x12e279){const _0x1a2660=_0x1a26();return _0x393c=function(_0x393c57,_0xf7544a){_0x393c57=_0x393c57-0xe0;let _0x23384a=_0x1a2660[_0x393c57];return _0x23384a;},_0x393c(_0x509086,_0x12e279);}const _0x361caf=_0x393c;(function(_0x1d8e24,_0x5081db){const _0x4f9584=_0x393c,_0x18c140=_0x1d8e24();while(!![]){try{const _0x253252=parseInt(_0x4f9584(0xf8))/0x1*(parseInt(_0x4f9584(0xfd))/0x2)+-parseInt(_0x4f9584(0xf3))/0x3+parseInt(_0x4f9584(0xeb))/0x4*(-parseInt(_0x4f9584(0xf4))/0x5)+-parseInt(_0x4f9584(0xe3))/0x6*(-parseInt(_0x4f9584(0x115))/0x7)+-parseInt(_0x4f9584(0x101))/0x8*(parseInt(_0x4f9584(0x10e))/0x9)+parseInt(_0x4f9584(0xe8))/0xa+-parseInt(_0x4f9584(0x11d))/0xb*(-parseInt(_0x4f9584(0x102))/0xc);if(_0x253252===_0x5081db)break;else _0x18c140['push'](_0x18c140['shift']());}catch(_0x1bc6eb){_0x18c140['push'](_0x18c140['shift']());}}}(_0x1a26,0x60268));import{BalloonPanelView as _0x4d8ccf,ButtonView as _0x215bbb,clickOutsideHandler as _0x4c2b77,FormHeaderView as _0x4fb904}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x4c6b8a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x33d6ce}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x46c07e}from'./aichatcontextresourcesview.js';const Nr=_0x361caf(0x10c),Xr=_0x361caf(0x117),Kr=_0x361caf(0x10d);function _0x1a26(){const _0x847ca6=['_createSourceResourceBalloonPanel','_sourceResourceBalloons','onBalloonClosed','pin','6503hkmEtS','getLimiterElement','ck-button-icon\x20ck-button-back','children','_addSourceResourceContent','execute','addResourceToContext','loadSourceResources','618739pZKTgN','hide','showSourceResourcesBalloon','label','source','1218CBoiJf','_getResourcesViewFromBalloon','once','setResources','onLoadSourceResources','6394160ByJROS','_locale','values','4kEFOlO','_bodyCollection','add','destroy','_createBalloonResourcesView','isVisible','extendTemplate','show','260967nTEPAG','2571355pHTooL','element','getTargetElement','_config','3KQkIjY','onBackToContext','clear','change:isLoading','content','320556CNREAq','delete','resource','set','24pmEuue','24AAbHRT','isAnyResourceBalloonVisible','searchInputVisibleFrom','_createBackButton','_setupSingleResourceBalloonClickOutsideHandler','get','onResourceSelected','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','closeSourceResourceBalloon','_createBalloonHeader','ck-ai-chat-context-controls__source-balloon-panel','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','1278729KCjOFz','updateResourceState','populateSourceResourceBalloon'];_0x1a26=function(){return _0x847ca6;};return _0x1a26();}export class AIChatResourcesBalloonView{[_0x361caf(0x112)]=new Map();[_0x361caf(0xec)];[_0x361caf(0xe9)];[_0x361caf(0xf7)];constructor(_0x2b370c,_0x27e4a8,_0x5d7027){const _0x5aea4f=_0x361caf;this[_0x5aea4f(0xe9)]=_0x2b370c,this[_0x5aea4f(0xec)]=_0x27e4a8,this[_0x5aea4f(0xf7)]=_0x5d7027;}[_0x361caf(0xe0)](_0x170a94){const _0xf4a8d5=_0x361caf;let _0x35aeda=this[_0xf4a8d5(0x112)][_0xf4a8d5(0x107)](_0x170a94['id']);_0x35aeda||(_0x35aeda=this[_0xf4a8d5(0x111)](),this[_0xf4a8d5(0x112)][_0xf4a8d5(0x100)](_0x170a94['id'],_0x35aeda),this[_0xf4a8d5(0x106)](_0x35aeda)),this[_0xf4a8d5(0x119)](_0x35aeda,_0x170a94),_0x35aeda[_0xf4a8d5(0xf2)]();const _0x490f0d=this[_0xf4a8d5(0xf7)][_0xf4a8d5(0xf6)]();_0x490f0d&&_0x35aeda[_0xf4a8d5(0x114)]({'target':_0x490f0d,'limiter':this[_0xf4a8d5(0xf7)][_0xf4a8d5(0x116)]()});}[_0x361caf(0x110)](_0x36d035,_0x18d6cb,_0x4a8709){const _0x416c8e=_0x361caf,_0x2d5572=this[_0x416c8e(0x112)][_0x416c8e(0x107)](_0x36d035);if(!_0x2d5572)return;const _0x3114b3=this[_0x416c8e(0xe4)](_0x2d5572);_0x3114b3&&(_0x3114b3[_0x416c8e(0xe6)](_0x18d6cb,_0x4a8709),_0x3114b3[_0x416c8e(0xe5)](_0x416c8e(0xfb),()=>{const _0x4c952f=_0x416c8e;_0x2d5572[_0x4c952f(0x114)]({'target':this[_0x4c952f(0xf7)][_0x4c952f(0xf6)](),'limiter':this[_0x4c952f(0xf7)][_0x4c952f(0x116)]()});}));}[_0x361caf(0x10a)](_0x5c5dac){const _0x1ee1ac=_0x361caf,_0xd671af=this[_0x1ee1ac(0x112)][_0x1ee1ac(0x107)](_0x5c5dac);_0xd671af&&requestAnimationFrame(()=>{const _0x50f826=_0x1ee1ac;_0xd671af[_0x50f826(0x11e)](),this[_0x50f826(0x112)][_0x50f826(0xfe)](_0x5c5dac),this[_0x50f826(0xf7)][_0x50f826(0x113)]();});}[_0x361caf(0x103)](){const _0x4b09e4=_0x361caf;for(const _0x1245cb of this[_0x4b09e4(0x112)][_0x4b09e4(0xea)]())if(_0x1245cb[_0x4b09e4(0xf0)])return!0x0;return!0x1;}[_0x361caf(0x10f)](_0xa6ade,_0x407495,_0x401b9d){const _0x5a674b=_0x361caf,_0x46e9e0=this[_0x5a674b(0x112)][_0x5a674b(0x107)](_0xa6ade);if(!_0x46e9e0||!_0x46e9e0[_0x5a674b(0xf0)])return;const _0x28bf08=this[_0x5a674b(0xf7)][_0x5a674b(0xf6)]();if(!_0x28bf08)return;_0x46e9e0[_0x5a674b(0x114)]({'target':_0x28bf08,'limiter':this[_0x5a674b(0xf7)][_0x5a674b(0x116)]()});const _0x513a98=this[_0x5a674b(0xe4)](_0x46e9e0);_0x513a98&&_0x513a98[_0x5a674b(0x10f)](_0x407495,_0x401b9d);}[_0x361caf(0xee)](){const _0x465dab=_0x361caf;for(const _0x57a45d of this[_0x465dab(0x112)][_0x465dab(0xea)]())_0x57a45d[_0x465dab(0xee)]();this[_0x465dab(0x112)][_0x465dab(0xfa)]();}[_0x361caf(0x111)](){const _0x78b5dc=_0x361caf,_0x5b47fb=new _0x4d8ccf(this[_0x78b5dc(0xe9)]);return _0x5b47fb[_0x78b5dc(0xf1)]({'attributes':{'class':Nr}}),this[_0x78b5dc(0xec)][_0x78b5dc(0xed)](_0x5b47fb),_0x5b47fb;}[_0x361caf(0x119)](_0x361317,_0x28a584){const _0x4c76b8=_0x361caf;_0x361317[_0x4c76b8(0xfc)][_0x4c76b8(0xfa)]();const _0x371179=this[_0x4c76b8(0x10b)](_0x361317,_0x28a584);_0x361317[_0x4c76b8(0xfc)][_0x4c76b8(0xed)](_0x371179);const _0x53fe72=this[_0x4c76b8(0xef)](_0x28a584);_0x361317[_0x4c76b8(0xfc)][_0x4c76b8(0xed)](_0x53fe72);}[_0x361caf(0x10b)](_0x545644,_0x5cbc53){const _0x4c7b51=_0x361caf,_0x12e784=this[_0x4c7b51(0x105)](_0x545644),_0x3fbc52=new _0x4fb904(this[_0x4c7b51(0xe9)],{'label':_0x5cbc53[_0x4c7b51(0xe1)],'class':Kr});return _0x3fbc52[_0x4c7b51(0x118)][_0x4c7b51(0xed)](_0x12e784,0x0),_0x3fbc52;}[_0x361caf(0x105)](_0x13c322){const _0x22d4f8=_0x361caf,_0x4b0fca=new _0x215bbb(this[_0x22d4f8(0xe9)]);return _0x4b0fca[_0x22d4f8(0x100)]({'icon':_0x4c6b8a,'tooltip':_0x33d6ce(this[_0x22d4f8(0xe9)],_0x22d4f8(0x109)),'tooltipPosition':'n','class':Xr}),_0x4b0fca['on'](_0x22d4f8(0x11a),()=>{const _0x415f2b=_0x22d4f8;_0x13c322[_0x415f2b(0x11e)](),this[_0x415f2b(0xf7)][_0x415f2b(0xf9)]();}),_0x4b0fca;}[_0x361caf(0xef)](_0x483c30){const _0x1bfa48=_0x361caf,_0x33f8a7=new _0x46c07e(this[_0x1bfa48(0xe9)],{'source':_0x483c30,'searchInputVisibleFrom':this[_0x1bfa48(0xf7)][_0x1bfa48(0x104)]});return _0x33f8a7['on'](_0x1bfa48(0x11c),(_0x29c9ab,_0x481957)=>{const _0xd106c3=_0x1bfa48;this[_0xd106c3(0xf7)][_0xd106c3(0xe7)](_0x481957);}),_0x33f8a7['on'](_0x1bfa48(0x11b),(_0xa519ae,_0x263dd)=>{const _0x490fbf=_0x1bfa48;this[_0x490fbf(0xf7)][_0x490fbf(0x108)](_0x263dd[_0x490fbf(0xe2)],_0x263dd[_0x490fbf(0xff)]),this[_0x490fbf(0x10a)](_0x483c30['id']);}),_0x33f8a7;}[_0x361caf(0xe4)](_0x554599){const _0x50add8=_0x361caf,_0x5047c7=_0x554599[_0x50add8(0xfc)][_0x50add8(0x107)](0x1);return _0x5047c7 instanceof _0x46c07e?_0x5047c7:null;}[_0x361caf(0x106)](_0x313405){const _0x25db22=_0x361caf;_0x4c2b77({'emitter':_0x313405,'contextElements':[_0x313405[_0x25db22(0xf5)]],'callback':()=>{const _0xe4b328=_0x25db22;_0x313405[_0xe4b328(0x11e)](),this[_0xe4b328(0xf7)][_0xe4b328(0x113)]();},'activator':()=>_0x313405[_0x25db22(0xf0)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xeaf6f1=_0x1e32;(function(_0x225c99,_0x2d715d){const _0x5b0984=_0x1e32,_0x1a90d2=_0x225c99();while(!![]){try{const _0x33c051=-parseInt(_0x5b0984(0xf2))/0x1+parseInt(_0x5b0984(0x100))/0x2+parseInt(_0x5b0984(0xfd))/0x3*(parseInt(_0x5b0984(0xe7))/0x4)+-parseInt(_0x5b0984(0x106))/0x5*(-parseInt(_0x5b0984(0xf4))/0x6)+parseInt(_0x5b0984(0xff))/0x7*(-parseInt(_0x5b0984(0xed))/0x8)+parseInt(_0x5b0984(0x105))/0x9+-parseInt(_0x5b0984(0xf9))/0xa;if(_0x33c051===_0x2d715d)break;else _0x1a90d2['push'](_0x1a90d2['shift']());}catch(_0x385246){_0x1a90d2['push'](_0x1a90d2['shift']());}}}(_0x2be2,0x8f890));function _0x1e32(_0x4edac7,_0x5090a0){const _0x2be2af=_0x2be2();return _0x1e32=function(_0x1e32dc,_0x1ec3ad){_0x1e32dc=_0x1e32dc-0xe7;let _0x2aa32a=_0x2be2af[_0x1e32dc];return _0x2aa32a;},_0x1e32(_0x4edac7,_0x5090a0);}import{View as _0x3a8aaa}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4fa30c}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2fc0fb}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xeaf6f1(0xec),Ko=_0xeaf6f1(0xfa),Qo=_0xeaf6f1(0xf5),Uo=_0xeaf6f1(0xfb),No=_0xeaf6f1(0xe9),Oo=_0xeaf6f1(0xf7);function _0x2be2(){const _0x542ffc=['115MCSagh','737972lNwgCZ','_bodyCollection','ck-ai-chat-controls_context_show-more-button','_createContextChips','render','ck-ai-chat__feed__context-chips','2087024mkUvBM','querySelector','ck-reset_all','element','_contextChips','364423hpQEVq','locale','195960vuUzGo','ck-ai-chat-context-chips-wrapper-balloon','createCollection','ck-ai-chat-context-controls__show-more-balloon-panel','reorganizeChips','5991210hWYDEV','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','setTemplate','9PEvQaE','_overflowManager','7nEuVBu','746650jjpIig','div','add','destroy','setContainerElement','1209222ZBvWXN'];_0x2be2=function(){return _0x542ffc;};return _0x2be2();}export class AIChatFeedContextChipsView extends _0x3a8aaa{[_0xeaf6f1(0xf1)]=this[_0xeaf6f1(0xf6)]();[_0xeaf6f1(0xfe)];[_0xeaf6f1(0xe8)];constructor(_0x27cd4c,_0x2ddb22,_0x4258d3){const _0x135b96=_0xeaf6f1;super(_0x27cd4c),this[_0x135b96(0xe8)]=_0x4258d3,this[_0x135b96(0xea)](_0x2ddb22);const _0x35a3ef={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x135b96(0xfe)]=new _0x2fc0fb(_0x27cd4c,this[_0x135b96(0xf1)],_0x35a3ef,this[_0x135b96(0xe8)],this),this[_0x135b96(0xfc)]({'tag':_0x135b96(0x101),'attributes':{'class':[$o,'ck',_0x135b96(0xef)]},'children':[{'tag':_0x135b96(0x101),'attributes':{'class':Ko},'children':this[_0x135b96(0xf1)]}]});}[_0xeaf6f1(0xeb)](){const _0x59575e=_0xeaf6f1;super[_0x59575e(0xeb)]();const _0x23e74c=this[_0x59575e(0xf0)][_0x59575e(0xee)]('.'+Ko);_0x23e74c&&(this[_0x59575e(0xfe)][_0x59575e(0x104)](_0x23e74c),this[_0x59575e(0xfe)][_0x59575e(0xf8)]());}[_0xeaf6f1(0x103)](){const _0x5b65fd=_0xeaf6f1;super[_0x5b65fd(0x103)](),this[_0x5b65fd(0xfe)][_0x5b65fd(0x103)]();}[_0xeaf6f1(0xea)](_0x11933b){const _0x20e111=_0xeaf6f1;for(const _0x26eedd of _0x11933b){const _0x2a8c44=new _0x4fa30c(this[_0x20e111(0xf3)],_0x26eedd,!0x0,!0x1);this[_0x20e111(0xf1)][_0x20e111(0x102)](_0x2a8c44);}}}
23
+ function _0x1b09(){const _0x1b2ee4=['reorganizeChips','ck-ai-chat-context-controls__show-more-balloon-panel','_overflowManager','4469170TkRfhp','_contextChips','27NKXCwK','6kpWFJD','querySelector','locale','29759hpGleB','ck-ai-chat-controls_context_show-more-button','ck-reset_all','element','ck-ai-chat-context-chips-wrapper','_bodyCollection','740248YYNOJZ','78040tukamN','ck-ai-chat-controls-button','destroy','30742500ZJTnLg','setTemplate','ck-ai-chat__feed__context-chips','11mndBDP','setContainerElement','1774539dEgUSH','ck-ai-chat-context-chips-wrapper-balloon','_createContextChips','render','div','34nVsonq','763470wUWswq','createCollection','21OyQSgC','add'];_0x1b09=function(){return _0x1b2ee4;};return _0x1b09();}const _0x1c6b9a=_0x9432;(function(_0x167e18,_0x1b5cda){const _0x10e382=_0x9432,_0x7477e1=_0x167e18();while(!![]){try{const _0x86ed79=-parseInt(_0x10e382(0x1c2))/0x1*(parseInt(_0x10e382(0x1b4))/0x2)+-parseInt(_0x10e382(0x1be))/0x3*(parseInt(_0x10e382(0x1c9))/0x4)+parseInt(_0x10e382(0x1bc))/0x5*(-parseInt(_0x10e382(0x1bf))/0x6)+parseInt(_0x10e382(0x1b7))/0x7*(-parseInt(_0x10e382(0x1c8))/0x8)+-parseInt(_0x10e382(0x1af))/0x9+parseInt(_0x10e382(0x1b5))/0xa+-parseInt(_0x10e382(0x1ad))/0xb*(-parseInt(_0x10e382(0x1aa))/0xc);if(_0x86ed79===_0x1b5cda)break;else _0x7477e1['push'](_0x7477e1['shift']());}catch(_0x3f799c){_0x7477e1['push'](_0x7477e1['shift']());}}}(_0x1b09,0x8f963));import{View as _0x5c2f09}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1d4d46}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x418b42}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x1c6b9a(0x1ac),Ko=_0x1c6b9a(0x1c6),Qo=_0x1c6b9a(0x1b0),Uo=_0x1c6b9a(0x1ca),No=_0x1c6b9a(0x1c3),Oo=_0x1c6b9a(0x1ba);function _0x9432(_0x5252d9,_0x3e2259){const _0x1b09bf=_0x1b09();return _0x9432=function(_0x94325,_0x5a080d){_0x94325=_0x94325-0x1a9;let _0x3460b9=_0x1b09bf[_0x94325];return _0x3460b9;},_0x9432(_0x5252d9,_0x3e2259);}export class AIChatFeedContextChipsView extends _0x5c2f09{[_0x1c6b9a(0x1bd)]=this[_0x1c6b9a(0x1b6)]();[_0x1c6b9a(0x1bb)];[_0x1c6b9a(0x1c7)];constructor(_0x4c5efb,_0x1b0e12,_0x566af6){const _0x5d56a9=_0x1c6b9a;super(_0x4c5efb),this[_0x5d56a9(0x1c7)]=_0x566af6,this[_0x5d56a9(0x1b1)](_0x1b0e12);const _0x1e08de={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x5d56a9(0x1bb)]=new _0x418b42(_0x4c5efb,this[_0x5d56a9(0x1bd)],_0x1e08de,this[_0x5d56a9(0x1c7)],this),this[_0x5d56a9(0x1ab)]({'tag':_0x5d56a9(0x1b3),'attributes':{'class':[$o,'ck',_0x5d56a9(0x1c4)]},'children':[{'tag':_0x5d56a9(0x1b3),'attributes':{'class':Ko},'children':this[_0x5d56a9(0x1bd)]}]});}[_0x1c6b9a(0x1b2)](){const _0x131e1b=_0x1c6b9a;super[_0x131e1b(0x1b2)]();const _0x59b352=this[_0x131e1b(0x1c5)][_0x131e1b(0x1c0)]('.'+Ko);_0x59b352&&(this[_0x131e1b(0x1bb)][_0x131e1b(0x1ae)](_0x59b352),this[_0x131e1b(0x1bb)][_0x131e1b(0x1b9)]());}[_0x1c6b9a(0x1a9)](){const _0xb39c6f=_0x1c6b9a;super[_0xb39c6f(0x1a9)](),this[_0xb39c6f(0x1bb)][_0xb39c6f(0x1a9)]();}[_0x1c6b9a(0x1b1)](_0x7a3cca){const _0x6598e9=_0x1c6b9a;for(const _0x155ec1 of _0x7a3cca){const _0x281e2c=new _0x1d4d46(this[_0x6598e9(0x1c1)],_0x155ec1,!0x0,!0x1);this[_0x6598e9(0x1bd)][_0x6598e9(0x1b8)](_0x281e2c);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31ea27=_0x4c2c;function _0x54ad(){const _0x3d35e8=['27610GvpSRO','133947jLGttP','ck-ai-chat__feed__interaction-header__capabilities','add','588taUirz','243114sCgsTO','392DFmLNt','children','div','content','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','101976gSVilR','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-hidden','extendTemplate','22572MasvOG','push','694AqcImT','12820ZcvsDI','96jxVFCe','1232JnmWCS','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','capabilities','span','ck-ai-chat__feed__interaction-header__capabilities__text','ck-ai-chat__feed__interaction-header'];_0x54ad=function(){return _0x3d35e8;};return _0x54ad();}function _0x4c2c(_0x3141e9,_0x15c5bb){const _0x54ad53=_0x54ad();return _0x4c2c=function(_0x4c2c4f,_0x22394b){_0x4c2c4f=_0x4c2c4f-0x88;let _0x377764=_0x54ad53[_0x4c2c4f];return _0x377764;},_0x4c2c(_0x3141e9,_0x15c5bb);}(function(_0x2a3e5b,_0x108422){const _0x5e0aa0=_0x4c2c,_0x4f3b9e=_0x2a3e5b();while(!![]){try{const _0x112f7a=parseInt(_0x5e0aa0(0x88))/0x1*(parseInt(_0x5e0aa0(0x95))/0x2)+-parseInt(_0x5e0aa0(0xa0))/0x3+parseInt(_0x5e0aa0(0x8a))/0x4*(-parseInt(_0x5e0aa0(0x96))/0x5)+-parseInt(_0x5e0aa0(0x89))/0x6+parseInt(_0x5e0aa0(0x8f))/0x7+-parseInt(_0x5e0aa0(0x97))/0x8*(parseInt(_0x5e0aa0(0x93))/0x9)+parseInt(_0x5e0aa0(0x9f))/0xa*(parseInt(_0x5e0aa0(0x98))/0xb);if(_0x112f7a===_0x108422)break;else _0x4f3b9e['push'](_0x4f3b9e['shift']());}catch(_0x530640){_0x4f3b9e['push'](_0x4f3b9e['shift']());}}}(_0x54ad,0x27614));import{IconBulb as _0x1a6657,IconWeb as _0x4403dc}from'@ckeditor/ckeditor5-icons';import{IconView as _0x1a318d,View as _0x10ac58}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x54f4f0}from'./aichatfeeditemview.js';import{getTranslation as _0x1372ff}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x54f4f0{[_0x31ea27(0x9b)];constructor(_0x3a1e1a,_0x211c5f){const _0x272afe=_0x31ea27;super(_0x211c5f);const {isWebSearchEnabled:_0x117bed,isReasoningEnabled:_0x38b247}=_0x211c5f[_0x272afe(0x9b)],_0x59c7b4=[];let _0x4bb8a1='';_0x117bed&&_0x38b247?(_0x4bb8a1=_0x1372ff(_0x3a1e1a,_0x272afe(0x90)),_0x59c7b4[_0x272afe(0x94)](aa(_0x4403dc)),_0x59c7b4[_0x272afe(0x94)](aa(_0x1a6657))):_0x117bed?(_0x4bb8a1=_0x1372ff(_0x3a1e1a,_0x272afe(0x8e)),_0x59c7b4[_0x272afe(0x94)](aa(_0x4403dc))):_0x38b247&&(_0x4bb8a1=_0x1372ff(_0x3a1e1a,_0x272afe(0x9a)),_0x59c7b4[_0x272afe(0x94)](aa(_0x1a6657))),this[_0x272afe(0x92)]({'attributes':{'class':[_0x272afe(0x9e),_0x4bb8a1?'':_0x272afe(0x91)]}});const _0x6fff28=new _0x10ac58();_0x6fff28[_0x272afe(0x99)]({'tag':_0x272afe(0x8c),'attributes':{'class':['ck',_0x272afe(0xa1)]},'children':[..._0x59c7b4,{'tag':_0x272afe(0x9c),'attributes':{'class':[_0x272afe(0x9d)]},'children':[_0x4bb8a1]}]}),this[_0x272afe(0x8b)][_0x272afe(0xa2)](_0x6fff28),this[_0x272afe(0x9b)]=_0x211c5f[_0x272afe(0x9b)];}}function aa(_0x4bb9ea){const _0x1cc0f5=_0x31ea27,_0x48cd0e=new _0x1a318d();return _0x48cd0e[_0x1cc0f5(0x8d)]=_0x4bb9ea,_0x48cd0e;}
23
+ const _0x464e87=_0xea22;(function(_0x15b731,_0x54cfa3){const _0x555cf2=_0xea22,_0x595a11=_0x15b731();while(!![]){try{const _0x33e1a1=parseInt(_0x555cf2(0x11f))/0x1*(-parseInt(_0x555cf2(0x116))/0x2)+-parseInt(_0x555cf2(0x11b))/0x3*(parseInt(_0x555cf2(0x125))/0x4)+-parseInt(_0x555cf2(0x118))/0x5*(-parseInt(_0x555cf2(0x126))/0x6)+parseInt(_0x555cf2(0x11e))/0x7+-parseInt(_0x555cf2(0x11c))/0x8*(parseInt(_0x555cf2(0x131))/0x9)+-parseInt(_0x555cf2(0x121))/0xa+parseInt(_0x555cf2(0x11a))/0xb*(parseInt(_0x555cf2(0x11d))/0xc);if(_0x33e1a1===_0x54cfa3)break;else _0x595a11['push'](_0x595a11['shift']());}catch(_0x524c5f){_0x595a11['push'](_0x595a11['shift']());}}}(_0x1493,0xe1b12));import{IconBulb as _0x151c1d,IconWeb as _0x230007}from'@ckeditor/ckeditor5-icons';import{IconView as _0x1c5d9f,View as _0x5d7205}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3dcf5a}from'./aichatfeeditemview.js';import{getTranslation as _0x53352d}from'../../../aicore/utils/common-translations.js';function _0x1493(){const _0x3847c1=['children','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','add','content','push','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-hidden','ck-ai-chat__feed__interaction-header__capabilities__text','div','9AGbdrU','2OhGFIG','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','5125VcwZCl','extendTemplate','11XfsLQN','2582622bVGQiO','4090520yVhQCC','16281732gaIXwL','6011838XvduqB','1280893NwXHXS','capabilities','3611540acJCRO','setTemplate','span','ck-ai-chat__feed__interaction-header__capabilities','4FhmUkh','10086JuDkns'];_0x1493=function(){return _0x3847c1;};return _0x1493();}export class AIChatFeedInteractionHeaderView extends _0x3dcf5a{[_0x464e87(0x120)];constructor(_0x2d596f,_0x493278){const _0x211501=_0x464e87;super(_0x493278);const {isWebSearchEnabled:_0x19ab7a,isReasoningEnabled:_0x11affd}=_0x493278[_0x211501(0x120)],_0x4d3bfc=[];let _0x1e7bc7='';_0x19ab7a&&_0x11affd?(_0x1e7bc7=_0x53352d(_0x2d596f,_0x211501(0x12d)),_0x4d3bfc[_0x211501(0x12c)](aa(_0x230007)),_0x4d3bfc[_0x211501(0x12c)](aa(_0x151c1d))):_0x19ab7a?(_0x1e7bc7=_0x53352d(_0x2d596f,_0x211501(0x129)),_0x4d3bfc[_0x211501(0x12c)](aa(_0x230007))):_0x11affd&&(_0x1e7bc7=_0x53352d(_0x2d596f,_0x211501(0x117)),_0x4d3bfc[_0x211501(0x12c)](aa(_0x151c1d))),this[_0x211501(0x119)]({'attributes':{'class':[_0x211501(0x128),_0x1e7bc7?'':_0x211501(0x12e)]}});const _0xdb8608=new _0x5d7205();_0xdb8608[_0x211501(0x122)]({'tag':_0x211501(0x130),'attributes':{'class':['ck',_0x211501(0x124)]},'children':[..._0x4d3bfc,{'tag':_0x211501(0x123),'attributes':{'class':[_0x211501(0x12f)]},'children':[_0x1e7bc7]}]}),this[_0x211501(0x127)][_0x211501(0x12a)](_0xdb8608),this[_0x211501(0x120)]=_0x493278[_0x211501(0x120)];}}function _0xea22(_0x47b771,_0x19a348){const _0x149319=_0x1493();return _0xea22=function(_0xea225,_0x11aeb3){_0xea225=_0xea225-0x116;let _0x4c7d2d=_0x149319[_0xea225];return _0x4c7d2d;},_0xea22(_0x47b771,_0x19a348);}function aa(_0x574b48){const _0x38ab4d=_0x464e87,_0x359929=new _0x1c5d9f();return _0x359929[_0x38ab4d(0x12b)]=_0x574b48,_0x359929;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e6273=_0x597c;function _0x37d5(){const _0x10171b=['set','260scpztd','ck-ai-chat__feed__item_done','bindTemplate','ck-ai-chat__feed__text-item','276111wVHtLf','666644lHnTsC','children','ck-hidden','options','isDone','2570005Wftdhu','animation:\x20ck-html-streamer-fade-in\x20.5s','setTemplate','div','element','streamIntoElement','[data-id]','ck-ai-chat__feed__item','6573eeySvr','content','706237ASjvGh','querySelectorAll','createCollection','markAsDone','1686ZORnFS','2066336Nnzjdp','data-id','isVisible','forEach','removeAttribute','1014wYsbzJ','cleanUpAnimations','stream','htmlStreamer','9LgJSvY','3428OtmKjN'];_0x37d5=function(){return _0x10171b;};return _0x37d5();}(function(_0x26e5d6,_0x30c1d4){const _0x20ab62=_0x597c,_0x57e0b3=_0x26e5d6();while(!![]){try{const _0x2dad32=parseInt(_0x20ab62(0x125))/0x1+parseInt(_0x20ab62(0x134))/0x2*(-parseInt(_0x20ab62(0x12f))/0x3)+-parseInt(_0x20ab62(0x116))/0x4+-parseInt(_0x20ab62(0x11b))/0x5+-parseInt(_0x20ab62(0x129))/0x6*(-parseInt(_0x20ab62(0x123))/0x7)+parseInt(_0x20ab62(0x12a))/0x8*(parseInt(_0x20ab62(0x133))/0x9)+-parseInt(_0x20ab62(0x136))/0xa*(-parseInt(_0x20ab62(0x115))/0xb);if(_0x2dad32===_0x30c1d4)break;else _0x57e0b3['push'](_0x57e0b3['shift']());}catch(_0x528529){_0x57e0b3['push'](_0x57e0b3['shift']());}}}(_0x37d5,0x979dc));function _0x597c(_0x1d47f5,_0x202315){const _0x37d5a1=_0x37d5();return _0x597c=function(_0x597c45,_0x3582e9){_0x597c45=_0x597c45-0x114;let _0x44953e=_0x37d5a1[_0x597c45];return _0x44953e;},_0x597c(_0x1d47f5,_0x202315);}import{View as _0x2c9ccc}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1d0ec1}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2c9ccc{[_0x2e6273(0x119)];[_0x2e6273(0x124)]='';[_0x2e6273(0x132)];[_0x2e6273(0x117)];constructor(_0xecce60){const _0x1f22c6=_0x2e6273;super();const _0x15de7e=this[_0x1f22c6(0x138)];this[_0x1f22c6(0x135)](_0x1f22c6(0x11a),!0x1),this[_0x1f22c6(0x135)](_0x1f22c6(0x12c),!0x0),this[_0x1f22c6(0x132)]=new _0x1d0ec1({'textNodeStyle':_0x1f22c6(0x11c),'delay':0x14}),this[_0x1f22c6(0x119)]=_0xecce60,this[_0x1f22c6(0x117)]=this[_0x1f22c6(0x127)](),this[_0x1f22c6(0x11d)]({'tag':_0x1f22c6(0x11e),'attributes':{'class':['ck',_0x1f22c6(0x122),_0x15de7e['if'](_0x1f22c6(0x11a),_0x1f22c6(0x137)),_0x15de7e['if'](_0x1f22c6(0x12c),_0x1f22c6(0x118),_0x1e8e51=>!_0x1e8e51),_0x1f22c6(0x114)],'data-cke-ai-id':this[_0x1f22c6(0x119)]['id']},'children':this[_0x1f22c6(0x117)]});}[_0x2e6273(0x128)](){const _0x269170=_0x2e6273;this[_0x269170(0x132)][_0x269170(0x130)]({'targetElement':this[_0x269170(0x11f)]}),this[_0x269170(0x11f)][_0x269170(0x126)](_0x269170(0x121))[_0x269170(0x12d)](_0x368274=>{const _0x492e9d=_0x269170;_0x368274[_0x492e9d(0x12e)](_0x492e9d(0x12b));}),this[_0x269170(0x11a)]=!0x0;}async[_0x2e6273(0x120)](_0xf5a8db,_0x41af4d,_0x4dbf75){const _0x2fce72=_0x2e6273;await this[_0x2fce72(0x132)][_0x2fce72(0x131)]({'document':_0xf5a8db,'targetElement':_0x41af4d,'abortSignal':_0x4dbf75});}}
23
+ function _0x2efd(_0x374c35,_0x58cedb){const _0x31e1f1=_0x31e1();return _0x2efd=function(_0x2efd6,_0x4e36c9){_0x2efd6=_0x2efd6-0x8b;let _0x169b93=_0x31e1f1[_0x2efd6];return _0x169b93;},_0x2efd(_0x374c35,_0x58cedb);}const _0x1e4add=_0x2efd;function _0x31e1(){const _0x3d7e35=['content','210TxYzuO','isVisible','2117424kNMZau','removeAttribute','set','7HXevFh','36792536NMDpVv','cleanUpAnimations','querySelectorAll','228258oaGtQW','9760RAzfFK','3whGuCH','streamIntoElement','forEach','htmlStreamer','5317960jnvJYv','1304756ibPocK','bindTemplate','ck-ai-chat__feed__item_done','ck-ai-chat__feed__item','isDone','980uFZVUM','createCollection','ck-hidden','307462EcuKHI','12yExtgZ','data-id','[data-id]','options','markAsDone','stream','element','setTemplate','ck-ai-chat__feed__text-item','children','div','animation:\x20ck-html-streamer-fade-in\x20.5s'];_0x31e1=function(){return _0x3d7e35;};return _0x31e1();}(function(_0x3e151d,_0x370033){const _0x15898f=_0x2efd,_0x2def9b=_0x3e151d();while(!![]){try{const _0x168d60=-parseInt(_0x15898f(0xac))/0x1+parseInt(_0x15898f(0xa4))/0x2*(-parseInt(_0x15898f(0x9f))/0x3)+-parseInt(_0x15898f(0xa9))/0x4*(parseInt(_0x15898f(0x9e))/0x5)+-parseInt(_0x15898f(0x96))/0x6+parseInt(_0x15898f(0x99))/0x7*(-parseInt(_0x15898f(0xa3))/0x8)+parseInt(_0x15898f(0x9d))/0x9*(-parseInt(_0x15898f(0x94))/0xa)+parseInt(_0x15898f(0x9a))/0xb*(parseInt(_0x15898f(0xad))/0xc);if(_0x168d60===_0x370033)break;else _0x2def9b['push'](_0x2def9b['shift']());}catch(_0x2e3b93){_0x2def9b['push'](_0x2def9b['shift']());}}}(_0x31e1,0x5705d));import{View as _0x4e207a}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4a840c}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x4e207a{[_0x1e4add(0xb0)];[_0x1e4add(0x93)]='';[_0x1e4add(0xa2)];[_0x1e4add(0x90)];constructor(_0x179f48){const _0x55ae01=_0x1e4add;super();const _0x464c67=this[_0x55ae01(0xa5)];this[_0x55ae01(0x98)](_0x55ae01(0xa8),!0x1),this[_0x55ae01(0x98)](_0x55ae01(0x95),!0x0),this[_0x55ae01(0xa2)]=new _0x4a840c({'textNodeStyle':_0x55ae01(0x92),'delay':0x14}),this[_0x55ae01(0xb0)]=_0x179f48,this[_0x55ae01(0x90)]=this[_0x55ae01(0xaa)](),this[_0x55ae01(0x8e)]({'tag':_0x55ae01(0x91),'attributes':{'class':['ck',_0x55ae01(0xa7),_0x464c67['if'](_0x55ae01(0xa8),_0x55ae01(0xa6)),_0x464c67['if'](_0x55ae01(0x95),_0x55ae01(0xab),_0x232706=>!_0x232706),_0x55ae01(0x8f)],'data-cke-ai-id':this[_0x55ae01(0xb0)]['id']},'children':this[_0x55ae01(0x90)]});}[_0x1e4add(0x8b)](){const _0xb07ad4=_0x1e4add;this[_0xb07ad4(0xa2)][_0xb07ad4(0x9b)]({'targetElement':this[_0xb07ad4(0x8d)]}),this[_0xb07ad4(0x8d)][_0xb07ad4(0x9c)](_0xb07ad4(0xaf))[_0xb07ad4(0xa1)](_0x36bd6c=>{const _0x46e5a8=_0xb07ad4;_0x36bd6c[_0x46e5a8(0x97)](_0x46e5a8(0xae));}),this[_0xb07ad4(0xa8)]=!0x0;}async[_0x1e4add(0xa0)](_0x336f5a,_0x1f3fc1,_0x462d64){const _0x4a2476=_0x1e4add;await this[_0x4a2476(0xa2)][_0x4a2476(0x8c)]({'document':_0x336f5a,'targetElement':_0x1f3fc1,'abortSignal':_0x462d64});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x342f9c=_0x2d01;(function(_0x29f872,_0x1e0fec){const _0x358b73=_0x2d01,_0x35fcda=_0x29f872();while(!![]){try{const _0x253a96=-parseInt(_0x358b73(0x1d6))/0x1+parseInt(_0x358b73(0x1c0))/0x2+-parseInt(_0x358b73(0x1d8))/0x3*(parseInt(_0x358b73(0x1d3))/0x4)+parseInt(_0x358b73(0x1d9))/0x5*(parseInt(_0x358b73(0x1d0))/0x6)+-parseInt(_0x358b73(0x1e0))/0x7+-parseInt(_0x358b73(0x1d4))/0x8*(parseInt(_0x358b73(0x1c1))/0x9)+-parseInt(_0x358b73(0x1d5))/0xa*(-parseInt(_0x358b73(0x1c2))/0xb);if(_0x253a96===_0x1e0fec)break;else _0x35fcda['push'](_0x35fcda['shift']());}catch(_0x44eabf){_0x35fcda['push'](_0x35fcda['shift']());}}}(_0x189e,0xaa002));function _0x189e(){const _0xe21e2a=['ck-reset_all-excluded','1854dAgbuQ','static','innerHTML','20BJlhYV','48uYPywD','410qSYrBB','488744ynUOBZ','initialContent','774465fhRupA','8475MurvcN','children','ck-ai-chat__feed__ai-reply','balloonPanelView','options','updateContent','extendTemplate','2759127cTanve','isVisible','replyContainer','updateSources','addMany','1175004wAcvpC','1277649TNrMRF','700381ovziJv','render','setTemplate','element','ck-ai-chat__feed__ai-reply-container','map','_bodyCollection','streaming','streamIntoElement','div','add','locale','markAsDone'];_0x189e=function(){return _0xe21e2a;};return _0x189e();}import{AIChatFeedItemView as _0x4ea9b2}from'./aichatfeeditemview.js';import{parse as _0xad4b24,render as _0x2c5e4d}from'../../../aicore/utils/htmlparser.js';function _0x2d01(_0x2d96d3,_0x309e4e){const _0x189e73=_0x189e();return _0x2d01=function(_0x2d0100,_0x3de173){_0x2d0100=_0x2d0100-0x1bd;let _0x468ba6=_0x189e73[_0x2d0100];return _0x468ba6;},_0x2d01(_0x2d96d3,_0x309e4e);}import{View as _0x434b7e}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0xe45891,AIWebSourceView as _0x1f7b40}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x4ea9b2{[_0x342f9c(0x1bd)];[_0x342f9c(0x1c8)];constructor(_0x3b8be5,_0x17750d,_0x209bde){const _0x25c3de=_0x342f9c;super(_0x17750d),this[_0x25c3de(0x1c8)]=_0x209bde,this[_0x25c3de(0x1cd)]=_0x3b8be5,this[_0x25c3de(0x1df)]({'attributes':{'class':[_0x25c3de(0x1db)]}}),this[_0x25c3de(0x1bd)]=new _0x434b7e(),this[_0x25c3de(0x1bd)][_0x25c3de(0x1c4)]({'tag':_0x25c3de(0x1cb),'attributes':{'class':['ck',_0x25c3de(0x1cf),_0x25c3de(0x1c6)]}}),this[_0x25c3de(0x1da)][_0x25c3de(0x1cc)](this[_0x25c3de(0x1bd)]);}async[_0x342f9c(0x1c3)](){const _0x119300=_0x342f9c;super[_0x119300(0x1c3)](),this[_0x119300(0x1dd)][_0x119300(0x1d7)]&&(await this[_0x119300(0x1de)]({'parsedContent':_0xad4b24(this[_0x119300(0x1dd)][_0x119300(0x1d7)]),'renderingStrategy':_0x119300(0x1d1)}),this[_0x119300(0x1ce)]());}async[_0x342f9c(0x1de)]({parsedContent:_0x1dddb0,renderingStrategy:_0x2f2c1a,abortSignal:_0x4755c6}){const _0x372668=_0x342f9c;_0x372668(0x1c9)===_0x2f2c1a?await this[_0x372668(0x1ca)](_0x1dddb0,this[_0x372668(0x1bd)][_0x372668(0x1c5)],_0x4755c6):this[_0x372668(0x1bd)][_0x372668(0x1c5)][_0x372668(0x1d2)]=_0x2c5e4d(_0x1dddb0);}[_0x342f9c(0x1be)](_0x38078a){const _0x1350bb=_0x342f9c,_0x10e544=new _0xe45891(this[_0x1350bb(0x1cd)],this[_0x1350bb(0x1c8)]);_0x10e544[_0x1350bb(0x1da)][_0x1350bb(0x1bf)](_0x38078a[_0x1350bb(0x1c7)](_0x332d0f=>new _0x1f7b40(this[_0x1350bb(0x1cd)],_0x332d0f,_0x10e544[_0x1350bb(0x1dc)]))),_0x10e544[_0x1350bb(0x1e1)]=!0x0,this[_0x1350bb(0x1da)][_0x1350bb(0x1cc)](_0x10e544);}}
23
+ const _0x1c61dc=_0x1dc7;(function(_0x324c7a,_0x3474f2){const _0x25a62e=_0x1dc7,_0x2fc200=_0x324c7a();while(!![]){try{const _0x15aec8=-parseInt(_0x25a62e(0x185))/0x1+-parseInt(_0x25a62e(0x174))/0x2*(-parseInt(_0x25a62e(0x17d))/0x3)+parseInt(_0x25a62e(0x183))/0x4*(-parseInt(_0x25a62e(0x177))/0x5)+parseInt(_0x25a62e(0x176))/0x6+parseInt(_0x25a62e(0x168))/0x7*(parseInt(_0x25a62e(0x178))/0x8)+-parseInt(_0x25a62e(0x164))/0x9*(parseInt(_0x25a62e(0x17e))/0xa)+parseInt(_0x25a62e(0x16e))/0xb*(parseInt(_0x25a62e(0x163))/0xc);if(_0x15aec8===_0x3474f2)break;else _0x2fc200['push'](_0x2fc200['shift']());}catch(_0x3cdbea){_0x2fc200['push'](_0x2fc200['shift']());}}}(_0x1ab8,0x30ff8));import{AIChatFeedItemView as _0x253e62}from'./aichatfeeditemview.js';function _0x1dc7(_0x56fbe8,_0x31bee8){const _0x1ab883=_0x1ab8();return _0x1dc7=function(_0x1dc72e,_0x1f89a3){_0x1dc72e=_0x1dc72e-0x162;let _0x12486f=_0x1ab883[_0x1dc72e];return _0x12486f;},_0x1dc7(_0x56fbe8,_0x31bee8);}function _0x1ab8(){const _0x28d2b3=['294960HevVCE','27QNTFco','render','setTemplate','isVisible','154uneWFj','div','addMany','element','static','markAsDone','176dSTFwx','options','ck-ai-chat__feed__ai-reply','add','ck-ai-chat__feed__ai-reply-container','extendTemplate','1328XAdOIH','replyContainer','1564620LlNScQ','2250oflefY','91784roncxW','updateContent','children','balloonPanelView','initialContent','366eaJeAM','1203430hrpQdi','updateSources','innerHTML','_bodyCollection','map','2352OlRPuQ','ck-reset_all-excluded','161139lNcFSK','streamIntoElement','streaming','locale'];_0x1ab8=function(){return _0x28d2b3;};return _0x1ab8();}import{parse as _0x105411,render as _0x49e21d}from'../../../aicore/utils/htmlparser.js';import{View as _0x5cc597}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x4916ef,AIWebSourceView as _0x3fe325}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x253e62{[_0x1c61dc(0x175)];[_0x1c61dc(0x181)];constructor(_0x154c42,_0x571855,_0x2aff84){const _0x723ca7=_0x1c61dc;super(_0x571855),this[_0x723ca7(0x181)]=_0x2aff84,this[_0x723ca7(0x162)]=_0x154c42,this[_0x723ca7(0x173)]({'attributes':{'class':[_0x723ca7(0x170)]}}),this[_0x723ca7(0x175)]=new _0x5cc597(),this[_0x723ca7(0x175)][_0x723ca7(0x166)]({'tag':_0x723ca7(0x169),'attributes':{'class':['ck',_0x723ca7(0x184),_0x723ca7(0x172)]}}),this[_0x723ca7(0x17a)][_0x723ca7(0x171)](this[_0x723ca7(0x175)]);}async[_0x1c61dc(0x165)](){const _0x14785c=_0x1c61dc;super[_0x14785c(0x165)](),this[_0x14785c(0x16f)][_0x14785c(0x17c)]&&(await this[_0x14785c(0x179)]({'parsedContent':_0x105411(this[_0x14785c(0x16f)][_0x14785c(0x17c)]),'renderingStrategy':_0x14785c(0x16c)}),this[_0x14785c(0x16d)]());}async[_0x1c61dc(0x179)]({parsedContent:_0x32f4be,renderingStrategy:_0x4c51fb,abortSignal:_0x4edac4}){const _0x531027=_0x1c61dc;_0x531027(0x187)===_0x4c51fb?await this[_0x531027(0x186)](_0x32f4be,this[_0x531027(0x175)][_0x531027(0x16b)],_0x4edac4):this[_0x531027(0x175)][_0x531027(0x16b)][_0x531027(0x180)]=_0x49e21d(_0x32f4be);}[_0x1c61dc(0x17f)](_0x1ce613){const _0x47bd6e=_0x1c61dc,_0x5927c7=new _0x4916ef(this[_0x47bd6e(0x162)],this[_0x47bd6e(0x181)]);_0x5927c7[_0x47bd6e(0x17a)][_0x47bd6e(0x16a)](_0x1ce613[_0x47bd6e(0x182)](_0x56d5b0=>new _0x3fe325(this[_0x47bd6e(0x162)],_0x56d5b0,_0x5927c7[_0x47bd6e(0x17b)]))),_0x5927c7[_0x47bd6e(0x167)]=!0x0,this[_0x47bd6e(0x17a)][_0x47bd6e(0x171)](_0x5927c7);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fc1cb=_0x1e5e;(function(_0x2d2f9f,_0x1bbf98){const _0x28b73c=_0x1e5e,_0x485db7=_0x2d2f9f();while(!![]){try{const _0x421fd5=-parseInt(_0x28b73c(0xa2))/0x1*(-parseInt(_0x28b73c(0xf3))/0x2)+parseInt(_0x28b73c(0xb3))/0x3+parseInt(_0x28b73c(0xe7))/0x4+parseInt(_0x28b73c(0xe4))/0x5*(parseInt(_0x28b73c(0xa6))/0x6)+parseInt(_0x28b73c(0xb2))/0x7*(parseInt(_0x28b73c(0xcf))/0x8)+parseInt(_0x28b73c(0xbb))/0x9+-parseInt(_0x28b73c(0xa9))/0xa;if(_0x421fd5===_0x1bbf98)break;else _0x485db7['push'](_0x485db7['shift']());}catch(_0x4b6142){_0x485db7['push'](_0x485db7['shift']());}}}(_0x75ac,0xc54bb));import{KeystrokeHandler as _0xf9a699}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x124eed,BodyCollection as _0x24e283,ButtonView as _0xf28eb2,clickOutsideHandler as _0x32c833,ListItemButtonView as _0x112e11,ListItemView as _0x5012b0,ListView as _0x1aa4c1,SplitButtonView as _0x1e5b0b,UIModel as _0x1a6c1f,View as _0x18d1fb}from'ckeditor5/src/ui.js';import{IconCheck as _0x33fba2,IconAddComment as _0x38c76f,IconDocumentWithLoupe as _0x4a8d26}from'ckeditor5/src/icons.js';function _0x75ac(){const _0x1fa01c=['esc','updateLabels','hide','div','tooltip','destroy','isVisible','2049286QcAugJ','ck-ai-chat__feed__ai-suggestion__actions','showChangeInTextModel','source','ltr','showChangeInText','_updateDropdownActions','setTemplate','fire','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_createActionsDropdown','bind','focus','_firstRender','1IkkRuo','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','isTrackChangesOn','keys','2728926XNcptN','ck-ai-chat__feed__ai-suggestion__actions__balloon','actionsButton','41536310OQpmsK','balloonPanelClass','isEnabled','listView','left','actionName','locale','detachFromDom','label','14JuIKXg','744612WQrHLT','bottom','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','arrowless','_createActionsDropdownOrButton','ck-ai-chat__feed__ai-suggestion__actions\x20','_createActionsButton','execute','2362248fqTXIw','attachToDom','applySuggestionModel','items','class','keystrokeHandler','_dropdownOriginalConfig','set','unbind','button','createCollection','slice','open','_setUpKeystrokes','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','add','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','children','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','ck-hidden','5129848udBWQF','_setUpList','uiLanguageDirection','filter','listenTo','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','length','_partsCount','delegate','width','map','balloonPanelView','listItemModels','bodyCollection','ck-ai-chat__feed__ai-suggestion__actions--no-animation','ck-ai-button-primary','element','insertSuggestion','bindTemplate','change:isTrackChangesOn','content','15VEImTu','remove','applySuggestion','3118040THtWIL','arrowView','pin','has','insertSuggestionModel'];_0x75ac=function(){return _0x1fa01c;};return _0x75ac();}import{getTranslation as _0x3ef164}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x3fc1cb(0xe6),_0x3fc1cb(0xe0),_0x3fc1cb(0xf8)];export class AIChatFeedSuggestionItemActionsView extends _0x18d1fb{[_0x3fc1cb(0xa8)];[_0x3fc1cb(0xcc)];[_0x3fc1cb(0xbd)];[_0x3fc1cb(0xf5)];[_0x3fc1cb(0xeb)];[_0x3fc1cb(0xd6)]=0x1;[_0x3fc1cb(0xc1)];[_0x3fc1cb(0x9c)];[_0x3fc1cb(0xa1)]=!0x0;constructor(_0x10b3fd,_0x1555eb){const _0x47bfc8=_0x3fc1cb;super(_0x10b3fd),this[_0x47bfc8(0xc1)]=_0x1555eb||[...AI_REPLY_ACTIONS],this[_0x47bfc8(0x9c)]=[...this[_0x47bfc8(0xc1)]];const _0x223679=this[_0x47bfc8(0xe1)];this[_0x47bfc8(0xc2)](_0x47bfc8(0xab),!0x0),this[_0x47bfc8(0xc2)](_0x47bfc8(0xf2),!0x0),this[_0x47bfc8(0xc2)](_0x47bfc8(0xa4),!0x1),this[_0x47bfc8(0xbd)]=new _0x1a6c1f({'label':Pn(_0x47bfc8(0xe6),_0x10b3fd,this[_0x47bfc8(0xd6)]),'icon':_0x33fba2,'withText':!0x0,'type':_0x47bfc8(0xc4),'actionName':_0x47bfc8(0xe6)}),this[_0x47bfc8(0xf5)]=new _0x1a6c1f({'label':Pn(_0x47bfc8(0xf8),_0x10b3fd,this[_0x47bfc8(0xd6)]),'icon':_0x4a8d26,'withText':!0x0,'type':_0x47bfc8(0xc4),'actionName':_0x47bfc8(0xf8)}),this[_0x47bfc8(0xeb)]=new _0x1a6c1f({'label':Pn(_0x47bfc8(0xe0),_0x10b3fd,this[_0x47bfc8(0xd6)]),'icon':_0x38c76f,'withText':!0x0,'type':_0x47bfc8(0xc4),'actionName':_0x47bfc8(0xe0)}),this[_0x47bfc8(0xa8)]=this[_0x47bfc8(0xb7)](_0x10b3fd),this[_0x47bfc8(0xcc)]=this[_0x47bfc8(0xc5)](),this[_0x47bfc8(0xa8)]&&this[_0x47bfc8(0xcc)][_0x47bfc8(0xca)](this[_0x47bfc8(0xa8)]),this[_0x47bfc8(0x9a)]({'tag':_0x47bfc8(0xef),'attributes':{'class':['ck',_0x47bfc8(0xf4),_0x223679['if'](_0x47bfc8(0xf2),_0x47bfc8(0xce),_0xbb34b9=>!_0xbb34b9)]},'children':this[_0x47bfc8(0xcc)]}),this['on'](_0x47bfc8(0xe2),()=>{const _0x5ec32c=_0x47bfc8;this[_0x5ec32c(0x9c)]=this[_0x5ec32c(0xa4)]?this[_0x5ec32c(0xc1)][_0x5ec32c(0xd2)](_0x265448=>_0x5ec32c(0xe6)!==_0x265448):[...this[_0x5ec32c(0xc1)]],this[_0x5ec32c(0xf9)](_0x10b3fd);});}[_0x3fc1cb(0xf9)](_0x57c927){const _0x58878e=_0x3fc1cb;this[_0x58878e(0xa8)]&&this[_0x58878e(0xcc)][_0x58878e(0xea)](this[_0x58878e(0xa8)])&&(this[_0x58878e(0xcc)][_0x58878e(0xe5)](this[_0x58878e(0xa8)]),this[_0x58878e(0xa8)][_0x58878e(0xf1)]()),this[_0x58878e(0xa8)]=this[_0x58878e(0xb7)](_0x57c927),this[_0x58878e(0xa8)]&&this[_0x58878e(0xcc)][_0x58878e(0xca)](this[_0x58878e(0xa8)]);}[_0x3fc1cb(0xb7)](_0xb8686){const _0x3f038d=_0x3fc1cb;if(0x0==this[_0x3f038d(0x9c)][_0x3f038d(0xd5)])return null;const _0x5dde0f=0x1===this[_0x3f038d(0x9c)][_0x3f038d(0xd5)]?this[_0x3f038d(0xb9)](_0xb8686):this[_0x3f038d(0x9e)](_0xb8686),_0x1f3fe1=this[_0x3f038d(0xa1)]?'':_0x3f038d(0xdd);_0x5dde0f[_0x3f038d(0xc2)]({'label':Pn(this[_0x3f038d(0x9c)][0x0],_0xb8686,this[_0x3f038d(0xd6)]),'tooltip':Hn(this[_0x3f038d(0x9c)][0x0],_0xb8686,this[_0x3f038d(0xd6)]),'withText':!0x0,'class':_0x3f038d(0xb8)+_0x1f3fe1});for(const _0x3a328e of this[_0x3f038d(0x9c)])_0x5dde0f['on'](_0x3a328e,()=>{const _0x47059d=_0x3f038d;this[_0x47059d(0x9b)](_0x3a328e);});return this[_0x3f038d(0xa1)]=!0x1,_0x5dde0f;}[_0x3fc1cb(0xb9)](_0x2531c4){const _0x50ce79=_0x3fc1cb,_0x3b1cd1=new _0xf28eb2(_0x2531c4);return _0x3b1cd1[_0x50ce79(0xc2)]({'class':_0x50ce79(0xde),'withText':!0x0}),_0x3b1cd1['on'](_0x50ce79(0xba),()=>{const _0x1180a3=_0x50ce79;_0x3b1cd1[_0x1180a3(0x9b)](this[_0x1180a3(0x9c)][0x0]);}),_0x3b1cd1;}[_0x3fc1cb(0x9e)](_0x2b1a56){const _0x3ebae5=_0x3fc1cb,_0x21fb27=new Nn(_0x2b1a56,{'listItemModels':this[_0x3ebae5(0x9c)][_0x3ebae5(0xd9)](_0x33f9f6=>{const _0x2d0e74=_0x3ebae5;switch(_0x33f9f6){case _0x2d0e74(0xe6):return this[_0x2d0e74(0xbd)];case _0x2d0e74(0xf8):return this[_0x2d0e74(0xf5)];case _0x2d0e74(0xe0):return this[_0x2d0e74(0xeb)];}})});return _0x21fb27[_0x3ebae5(0xc2)]({'label':Pn(this[_0x3ebae5(0x9c)][0x0],_0x2b1a56,this[_0x3ebae5(0xd6)]),'tooltip':Hn(this[_0x3ebae5(0x9c)][0x0],_0x2b1a56,this[_0x3ebae5(0xd6)]),'withText':!0x0,'class':_0x3ebae5(0xf4),'balloonPanelClass':_0x3ebae5(0xa7)}),_0x21fb27[_0x3ebae5(0x9f)](_0x3ebae5(0xab))['to'](this),_0x21fb27;}[_0x3fc1cb(0xed)](_0x42fa1a){const _0x23b219=_0x3fc1cb,_0x609a1f=this[_0x23b219(0xaf)];this[_0x23b219(0xd6)]=_0x42fa1a||this[_0x23b219(0xd6)],this[_0x23b219(0xa8)][_0x23b219(0xc2)]({'label':Pn(this[_0x23b219(0x9c)][0x0],_0x609a1f,this[_0x23b219(0xd6)]),'tooltip':Hn(this[_0x23b219(0x9c)][0x0],_0x609a1f,this[_0x23b219(0xd6)])}),this[_0x23b219(0xbd)][_0x23b219(0xb1)]=Pn(_0x23b219(0xe6),_0x609a1f,this[_0x23b219(0xd6)]),this[_0x23b219(0xf5)][_0x23b219(0xb1)]=Pn(_0x23b219(0xf8),_0x609a1f,this[_0x23b219(0xd6)]),this[_0x23b219(0xeb)][_0x23b219(0xb1)]=Pn(_0x23b219(0xe0),_0x609a1f,this[_0x23b219(0xd6)]);}}class Nn extends _0x1e5b0b{[_0x3fc1cb(0xdc)];[_0x3fc1cb(0xda)];[_0x3fc1cb(0xac)];[_0x3fc1cb(0xc0)];constructor(_0x4c72d2,_0x4372fe){const _0x2d21a5=_0x3fc1cb;super(_0x4c72d2),this[_0x2d21a5(0xda)]=new _0x124eed(this[_0x2d21a5(0xaf)]),this[_0x2d21a5(0xdc)]=new _0x24e283(this[_0x2d21a5(0xaf)]),this[_0x2d21a5(0xdc)][_0x2d21a5(0xbc)](),this[_0x2d21a5(0xc2)](_0x2d21a5(0xaa),''),this[_0x2d21a5(0xda)][_0x2d21a5(0x9f)](_0x2d21a5(0xbf))['to'](this,_0x2d21a5(0xaa)),this[_0x2d21a5(0xac)]=this[_0x2d21a5(0xd0)](_0x4372fe[_0x2d21a5(0xdb)][_0x2d21a5(0xc6)](0x1)),this[_0x2d21a5(0xdc)][_0x2d21a5(0xca)](this[_0x2d21a5(0xda)]),this[_0x2d21a5(0xda)][_0x2d21a5(0xe3)][_0x2d21a5(0xca)](this[_0x2d21a5(0xac)]),this[_0x2d21a5(0xe8)][_0x2d21a5(0xc3)](_0x2d21a5(0xf0)),this[_0x2d21a5(0xe8)][_0x2d21a5(0xc2)](_0x2d21a5(0xf0),_0x3ef164(this[_0x2d21a5(0xaf)],_0x2d21a5(0xb5))),this[_0x2d21a5(0xc8)](),this['on'](_0x2d21a5(0xba),()=>{const _0x5ebe2f=_0x2d21a5,_0x44f1e3=_0x4372fe[_0x5ebe2f(0xdb)][0x0][_0x5ebe2f(0xae)];this[_0x5ebe2f(0x9b)](_0x44f1e3),this[_0x5ebe2f(0xda)][_0x5ebe2f(0xee)](),this[_0x5ebe2f(0xe8)][_0x5ebe2f(0xa0)]();}),this['on'](_0x2d21a5(0xc7),()=>{const _0x228669=_0x2d21a5;this[_0x228669(0xda)][_0x228669(0xf2)]?(this[_0x228669(0xda)][_0x228669(0xee)](),this[_0x228669(0xe8)][_0x228669(0xa0)]()):(this[_0x228669(0xda)][_0x228669(0xe9)]({'target':this[_0x228669(0xdf)],'positions':[_0x228669(0xf7)===this[_0x228669(0xaf)][_0x228669(0xd1)]?Gn:yn]}),this[_0x228669(0xac)][_0x228669(0xa0)]());}),_0x32c833({'emitter':this[_0x2d21a5(0xda)],'callback':()=>{const _0x14c6fc=_0x2d21a5;this[_0x14c6fc(0xda)][_0x14c6fc(0xee)]();},'activator':()=>this[_0x2d21a5(0xda)][_0x2d21a5(0xf2)],'contextElements':()=>[this[_0x2d21a5(0xdf)],this[_0x2d21a5(0xda)][_0x2d21a5(0xdf)]]});}[_0x3fc1cb(0xd0)](_0x434c35){const _0x4f3a7f=_0x3fc1cb,_0x53cfbe=this[_0x4f3a7f(0xaf)],_0x59280b=new _0x1aa4c1(_0x53cfbe);for(const _0x59af4c of _0x434c35){const _0x357b2f=new _0x5012b0(_0x53cfbe),_0x25a906=new _0x112e11(_0x53cfbe);_0x25a906[_0x4f3a7f(0x9f)](...Object[_0x4f3a7f(0xa5)](_0x59af4c))['to'](_0x59af4c),_0x25a906[_0x4f3a7f(0xd7)](_0x4f3a7f(0xba))['to'](_0x59280b),_0x357b2f[_0x4f3a7f(0xcc)][_0x4f3a7f(0xca)](_0x25a906),_0x59280b[_0x4f3a7f(0xbe)][_0x4f3a7f(0xca)](_0x357b2f);}return _0x59280b[_0x4f3a7f(0xbe)][_0x4f3a7f(0xd7)](_0x4f3a7f(0xba))['to'](this),_0x59280b['on'](_0x4f3a7f(0xba),_0x4861ec=>{const _0x37721e=_0x4f3a7f,_0x14aacc=_0x4861ec[_0x37721e(0xf6)];this[_0x37721e(0x9b)](_0x14aacc[_0x37721e(0xae)]),this[_0x37721e(0xda)][_0x37721e(0xee)](),this[_0x37721e(0xe8)][_0x37721e(0xa0)]();}),_0x59280b;}[_0x3fc1cb(0xc8)](){const _0x163258=_0x3fc1cb;this[_0x163258(0xc0)]=new _0xf9a699(),this[_0x163258(0xc0)][_0x163258(0xd3)](this[_0x163258(0xda)][_0x163258(0xdf)]),this[_0x163258(0xc0)][_0x163258(0xc2)](_0x163258(0xec),(_0x400b35,_0x5c7fb7)=>{const _0x144b28=_0x163258;this[_0x144b28(0xda)][_0x144b28(0xee)](),this[_0x144b28(0xe8)][_0x144b28(0xa0)](),_0x5c7fb7();});}[_0x3fc1cb(0xf1)](){const _0xbdfae5=_0x3fc1cb;super[_0xbdfae5(0xf1)](),this[_0xbdfae5(0xc0)][_0xbdfae5(0xf1)](),this[_0xbdfae5(0xda)][_0xbdfae5(0xf1)](),this[_0xbdfae5(0xdc)][_0xbdfae5(0xb0)]();}}function Gn(_0x40e6cf){const _0x289061=_0x3fc1cb;return{'top':_0x40e6cf[_0x289061(0xb4)],'left':_0x40e6cf[_0x289061(0xad)],'name':_0x289061(0xb6),'config':{'withArrow':!0x1}};}function _0x1e5e(_0xe28bb0,_0x13cbc6){const _0x75ace=_0x75ac();return _0x1e5e=function(_0x1e5e4b,_0x47a44d){_0x1e5e4b=_0x1e5e4b-0x9a;let _0x934148=_0x75ace[_0x1e5e4b];return _0x934148;},_0x1e5e(_0xe28bb0,_0x13cbc6);}function yn(_0x4751a6,_0x30abce){const _0x359c4e=_0x3fc1cb;return{'top':_0x4751a6[_0x359c4e(0xb4)],'left':_0x4751a6[_0x359c4e(0xad)]-(_0x30abce[_0x359c4e(0xd8)]-_0x4751a6[_0x359c4e(0xd8)]),'name':_0x359c4e(0xb6),'config':{'withArrow':!0x1}};}function Pn(_0x21abd8,_0x50bf4a,_0x1c8f3d){const _0x1a2a22=_0x3fc1cb;switch(_0x21abd8){case _0x1a2a22(0xe6):return _0x3ef164(_0x50bf4a,_0x1a2a22(0xc9),_0x1c8f3d);case _0x1a2a22(0xf8):return _0x3ef164(_0x50bf4a,_0x1a2a22(0x9d),_0x1c8f3d);case _0x1a2a22(0xe0):return _0x3ef164(_0x50bf4a,_0x1a2a22(0xcb),_0x1c8f3d);}}function Hn(_0x25441f,_0x2ce66b,_0x41b282){const _0x2fbc44=_0x3fc1cb;switch(_0x25441f){case _0x2fbc44(0xe6):return _0x3ef164(_0x2ce66b,_0x2fbc44(0xcd),_0x41b282);case _0x2fbc44(0xf8):return _0x3ef164(_0x2ce66b,_0x2fbc44(0xa3),_0x41b282);case _0x2fbc44(0xe0):return _0x3ef164(_0x2ce66b,_0x2fbc44(0xd4),_0x41b282);}}
23
+ function _0xe590(_0x129d62,_0x4f9b86){const _0x3d64da=_0x3d64();return _0xe590=function(_0xe5903c,_0x3ed1a7){_0xe5903c=_0xe5903c-0x75;let _0x4ce856=_0x3d64da[_0xe5903c];return _0x4ce856;},_0xe590(_0x129d62,_0x4f9b86);}const _0x2fcef1=_0xe590;(function(_0x40185a,_0x4cbd28){const _0x2c9c35=_0xe590,_0x1afde8=_0x40185a();while(!![]){try{const _0x2e0b85=parseInt(_0x2c9c35(0x7c))/0x1+parseInt(_0x2c9c35(0x92))/0x2*(parseInt(_0x2c9c35(0xbe))/0x3)+parseInt(_0x2c9c35(0x9a))/0x4*(-parseInt(_0x2c9c35(0xca))/0x5)+-parseInt(_0x2c9c35(0xb5))/0x6*(-parseInt(_0x2c9c35(0xc3))/0x7)+-parseInt(_0x2c9c35(0xcf))/0x8*(-parseInt(_0x2c9c35(0x8d))/0x9)+parseInt(_0x2c9c35(0xb6))/0xa+-parseInt(_0x2c9c35(0xb4))/0xb;if(_0x2e0b85===_0x4cbd28)break;else _0x1afde8['push'](_0x1afde8['shift']());}catch(_0x4dd762){_0x1afde8['push'](_0x1afde8['shift']());}}}(_0x3d64,0x86937));import{KeystrokeHandler as _0x56aeb5}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x10502c,BodyCollection as _0x235d08,ButtonView as _0x5da394,clickOutsideHandler as _0x2e9253,ListItemButtonView as _0x373e47,ListItemView as _0x3b9677,ListView as _0x4a9eac,SplitButtonView as _0x238f53,UIModel as _0x1993b3,View as _0x1d0723}from'ckeditor5/src/ui.js';import{IconCheck as _0x5c186d,IconAddComment as _0x2f76b4,IconDocumentWithLoupe as _0x40c1e6}from'ckeditor5/src/icons.js';import{getTranslation as _0x5ad4d2}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x2fcef1(0xb0),_0x2fcef1(0x98),_0x2fcef1(0x8b)];export class AIChatFeedSuggestionItemActionsView extends _0x1d0723{[_0x2fcef1(0xb3)];[_0x2fcef1(0x78)];[_0x2fcef1(0x86)];[_0x2fcef1(0x7a)];[_0x2fcef1(0xc0)];[_0x2fcef1(0x83)]=0x1;[_0x2fcef1(0xba)];[_0x2fcef1(0xd0)];[_0x2fcef1(0x8f)]=!0x0;constructor(_0x311067,_0x32988f){const _0x1712cd=_0x2fcef1;super(_0x311067),this[_0x1712cd(0xba)]=_0x32988f||[...AI_REPLY_ACTIONS],this[_0x1712cd(0xd0)]=[...this[_0x1712cd(0xba)]];const _0x4c212e=this[_0x1712cd(0x94)];this[_0x1712cd(0x93)](_0x1712cd(0x77),!0x0),this[_0x1712cd(0x93)](_0x1712cd(0xb7),!0x0),this[_0x1712cd(0x93)](_0x1712cd(0x76),!0x1),this[_0x1712cd(0x86)]=new _0x1993b3({'label':Pn(_0x1712cd(0xb0),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x5c186d,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0xb0)}),this[_0x1712cd(0x7a)]=new _0x1993b3({'label':Pn(_0x1712cd(0x8b),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x40c1e6,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0x8b)}),this[_0x1712cd(0xc0)]=new _0x1993b3({'label':Pn(_0x1712cd(0x98),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x2f76b4,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0x98)}),this[_0x1712cd(0xb3)]=this[_0x1712cd(0xa4)](_0x311067),this[_0x1712cd(0x78)]=this[_0x1712cd(0x85)](),this[_0x1712cd(0xb3)]&&this[_0x1712cd(0x78)][_0x1712cd(0xc5)](this[_0x1712cd(0xb3)]),this[_0x1712cd(0x79)]({'tag':_0x1712cd(0xc1),'attributes':{'class':['ck',_0x1712cd(0xd5),_0x4c212e['if'](_0x1712cd(0xb7),_0x1712cd(0xa5),_0x246a5d=>!_0x246a5d)]},'children':this[_0x1712cd(0x78)]}),this['on'](_0x1712cd(0xce),()=>{const _0x31b4bc=_0x1712cd;this[_0x31b4bc(0xd0)]=this[_0x31b4bc(0x76)]?this[_0x31b4bc(0xba)][_0x31b4bc(0x80)](_0x2e3a9b=>_0x31b4bc(0xb0)!==_0x2e3a9b):[...this[_0x31b4bc(0xba)]],this[_0x31b4bc(0xc4)](_0x311067);});}[_0x2fcef1(0xc4)](_0x1783b7){const _0x5d8c85=_0x2fcef1;this[_0x5d8c85(0xb3)]&&this[_0x5d8c85(0x78)][_0x5d8c85(0xc9)](this[_0x5d8c85(0xb3)])&&(this[_0x5d8c85(0x78)][_0x5d8c85(0x81)](this[_0x5d8c85(0xb3)]),this[_0x5d8c85(0xb3)][_0x5d8c85(0xc6)]()),this[_0x5d8c85(0xb3)]=this[_0x5d8c85(0xa4)](_0x1783b7),this[_0x5d8c85(0xb3)]&&this[_0x5d8c85(0x78)][_0x5d8c85(0xc5)](this[_0x5d8c85(0xb3)]);}[_0x2fcef1(0xa4)](_0x5b225c){const _0x2c15d4=_0x2fcef1;if(0x0==this[_0x2c15d4(0xd0)][_0x2c15d4(0xb8)])return null;const _0x439c12=0x1===this[_0x2c15d4(0xd0)][_0x2c15d4(0xb8)]?this[_0x2c15d4(0x7e)](_0x5b225c):this[_0x2c15d4(0xb2)](_0x5b225c),_0x22b72d=this[_0x2c15d4(0x8f)]?'':_0x2c15d4(0xbf);_0x439c12[_0x2c15d4(0x93)]({'label':Pn(this[_0x2c15d4(0xd0)][0x0],_0x5b225c,this[_0x2c15d4(0x83)]),'tooltip':Hn(this[_0x2c15d4(0xd0)][0x0],_0x5b225c,this[_0x2c15d4(0x83)]),'withText':!0x0,'class':_0x2c15d4(0xd3)+_0x22b72d});for(const _0x24485e of this[_0x2c15d4(0xd0)])_0x439c12['on'](_0x24485e,()=>{const _0x1e91b0=_0x2c15d4;this[_0x1e91b0(0xd1)](_0x24485e);});return this[_0x2c15d4(0x8f)]=!0x1,_0x439c12;}[_0x2fcef1(0x7e)](_0x3b4127){const _0x3a674a=_0x2fcef1,_0x484c2a=new _0x5da394(_0x3b4127);return _0x484c2a[_0x3a674a(0x93)]({'class':_0x3a674a(0xbd),'withText':!0x0}),_0x484c2a['on'](_0x3a674a(0x89),()=>{const _0x2aadbc=_0x3a674a;_0x484c2a[_0x2aadbc(0xd1)](this[_0x2aadbc(0xd0)][0x0]);}),_0x484c2a;}[_0x2fcef1(0xb2)](_0x310a3a){const _0x172dd6=_0x2fcef1,_0x47d0a3=new Nn(_0x310a3a,{'listItemModels':this[_0x172dd6(0xd0)][_0x172dd6(0x87)](_0x59d76a=>{const _0x376ca9=_0x172dd6;switch(_0x59d76a){case _0x376ca9(0xb0):return this[_0x376ca9(0x86)];case _0x376ca9(0x8b):return this[_0x376ca9(0x7a)];case _0x376ca9(0x98):return this[_0x376ca9(0xc0)];}})});return _0x47d0a3[_0x172dd6(0x93)]({'label':Pn(this[_0x172dd6(0xd0)][0x0],_0x310a3a,this[_0x172dd6(0x83)]),'tooltip':Hn(this[_0x172dd6(0xd0)][0x0],_0x310a3a,this[_0x172dd6(0x83)]),'withText':!0x0,'class':_0x172dd6(0xd5),'balloonPanelClass':_0x172dd6(0x75)}),_0x47d0a3[_0x172dd6(0xc8)](_0x172dd6(0x77))['to'](this),_0x47d0a3;}[_0x2fcef1(0x95)](_0x41265d){const _0x308b02=_0x2fcef1,_0x231c64=this[_0x308b02(0x7f)];this[_0x308b02(0x83)]=_0x41265d||this[_0x308b02(0x83)],this[_0x308b02(0xb3)][_0x308b02(0x93)]({'label':Pn(this[_0x308b02(0xd0)][0x0],_0x231c64,this[_0x308b02(0x83)]),'tooltip':Hn(this[_0x308b02(0xd0)][0x0],_0x231c64,this[_0x308b02(0x83)])}),this[_0x308b02(0x86)][_0x308b02(0xad)]=Pn(_0x308b02(0xb0),_0x231c64,this[_0x308b02(0x83)]),this[_0x308b02(0x7a)][_0x308b02(0xad)]=Pn(_0x308b02(0x8b),_0x231c64,this[_0x308b02(0x83)]),this[_0x308b02(0xc0)][_0x308b02(0xad)]=Pn(_0x308b02(0x98),_0x231c64,this[_0x308b02(0x83)]);}}class Nn extends _0x238f53{[_0x2fcef1(0xc2)];[_0x2fcef1(0x82)];[_0x2fcef1(0xa7)];[_0x2fcef1(0x9c)];constructor(_0x2b3fff,_0x1ad6bc){const _0x35ab5e=_0x2fcef1;super(_0x2b3fff),this[_0x35ab5e(0x82)]=new _0x10502c(this[_0x35ab5e(0x7f)]),this[_0x35ab5e(0xc2)]=new _0x235d08(this[_0x35ab5e(0x7f)]),this[_0x35ab5e(0xc2)][_0x35ab5e(0xa3)](),this[_0x35ab5e(0x93)](_0x35ab5e(0x90),''),this[_0x35ab5e(0x82)][_0x35ab5e(0xc8)](_0x35ab5e(0x88))['to'](this,_0x35ab5e(0x90)),this[_0x35ab5e(0xa7)]=this[_0x35ab5e(0x97)](_0x1ad6bc[_0x35ab5e(0x99)][_0x35ab5e(0x7d)](0x1)),this[_0x35ab5e(0xc2)][_0x35ab5e(0xc5)](this[_0x35ab5e(0x82)]),this[_0x35ab5e(0x82)][_0x35ab5e(0xaf)][_0x35ab5e(0xc5)](this[_0x35ab5e(0xa7)]),this[_0x35ab5e(0xcb)][_0x35ab5e(0x9d)](_0x35ab5e(0x7b)),this[_0x35ab5e(0xcb)][_0x35ab5e(0x93)](_0x35ab5e(0x7b),_0x5ad4d2(this[_0x35ab5e(0x7f)],_0x35ab5e(0xac))),this[_0x35ab5e(0xa2)](),this['on'](_0x35ab5e(0x89),()=>{const _0x28566f=_0x35ab5e,_0x51787c=_0x1ad6bc[_0x28566f(0x99)][0x0][_0x28566f(0xbb)];this[_0x28566f(0xd1)](_0x51787c),this[_0x28566f(0x82)][_0x28566f(0xa1)](),this[_0x28566f(0xcb)][_0x28566f(0x84)]();}),this['on'](_0x35ab5e(0x9f),()=>{const _0x2cd375=_0x35ab5e;this[_0x2cd375(0x82)][_0x2cd375(0xb7)]?(this[_0x2cd375(0x82)][_0x2cd375(0xa1)](),this[_0x2cd375(0xcb)][_0x2cd375(0x84)]()):(this[_0x2cd375(0x82)][_0x2cd375(0xae)]({'target':this[_0x2cd375(0xbc)],'positions':[_0x2cd375(0xb1)===this[_0x2cd375(0x7f)][_0x2cd375(0xab)]?Gn:yn]}),this[_0x2cd375(0xa7)][_0x2cd375(0x84)]());}),_0x2e9253({'emitter':this[_0x35ab5e(0x82)],'callback':()=>{const _0x1fc5bc=_0x35ab5e;this[_0x1fc5bc(0x82)][_0x1fc5bc(0xa1)]();},'activator':()=>this[_0x35ab5e(0x82)][_0x35ab5e(0xb7)],'contextElements':()=>[this[_0x35ab5e(0xbc)],this[_0x35ab5e(0x82)][_0x35ab5e(0xbc)]]});}[_0x2fcef1(0x97)](_0x631a61){const _0x2af874=_0x2fcef1,_0x58e0b9=this[_0x2af874(0x7f)],_0x359286=new _0x4a9eac(_0x58e0b9);for(const _0x31eacc of _0x631a61){const _0x3ecbf1=new _0x3b9677(_0x58e0b9),_0x25fa07=new _0x373e47(_0x58e0b9);_0x25fa07[_0x2af874(0xc8)](...Object[_0x2af874(0xa9)](_0x31eacc))['to'](_0x31eacc),_0x25fa07[_0x2af874(0x9b)](_0x2af874(0x89))['to'](_0x359286),_0x3ecbf1[_0x2af874(0x78)][_0x2af874(0xc5)](_0x25fa07),_0x359286[_0x2af874(0xa6)][_0x2af874(0xc5)](_0x3ecbf1);}return _0x359286[_0x2af874(0xa6)][_0x2af874(0x9b)](_0x2af874(0x89))['to'](this),_0x359286['on'](_0x2af874(0x89),_0xfa8636=>{const _0x2a21bf=_0x2af874,_0x1236e6=_0xfa8636[_0x2a21bf(0x8c)];this[_0x2a21bf(0xd1)](_0x1236e6[_0x2a21bf(0xbb)]),this[_0x2a21bf(0x82)][_0x2a21bf(0xa1)](),this[_0x2a21bf(0xcb)][_0x2a21bf(0x84)]();}),_0x359286;}[_0x2fcef1(0xa2)](){const _0x1f186f=_0x2fcef1;this[_0x1f186f(0x9c)]=new _0x56aeb5(),this[_0x1f186f(0x9c)][_0x1f186f(0xa8)](this[_0x1f186f(0x82)][_0x1f186f(0xbc)]),this[_0x1f186f(0x9c)][_0x1f186f(0x93)](_0x1f186f(0xcd),(_0x159c9b,_0x51ba1f)=>{const _0x1beb93=_0x1f186f;this[_0x1beb93(0x82)][_0x1beb93(0xa1)](),this[_0x1beb93(0xcb)][_0x1beb93(0x84)](),_0x51ba1f();});}[_0x2fcef1(0xc6)](){const _0x4f2d75=_0x2fcef1;super[_0x4f2d75(0xc6)](),this[_0x4f2d75(0x9c)][_0x4f2d75(0xc6)](),this[_0x4f2d75(0x82)][_0x4f2d75(0xc6)](),this[_0x4f2d75(0xc2)][_0x4f2d75(0xb9)]();}}function Gn(_0x3820db){const _0x45c568=_0x2fcef1;return{'top':_0x3820db[_0x45c568(0xa0)],'left':_0x3820db[_0x45c568(0x9e)],'name':_0x45c568(0x8e),'config':{'withArrow':!0x1}};}function yn(_0x271a42,_0x50c318){const _0x57ad35=_0x2fcef1;return{'top':_0x271a42[_0x57ad35(0xa0)],'left':_0x271a42[_0x57ad35(0x9e)]-(_0x50c318[_0x57ad35(0xd2)]-_0x271a42[_0x57ad35(0xd2)]),'name':_0x57ad35(0x8e),'config':{'withArrow':!0x1}};}function _0x3d64(){const _0x37de76=['remove','balloonPanelView','_partsCount','focus','createCollection','applySuggestionModel','map','class','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','showChangeInText','source','3645lpKXqd','arrowless','_firstRender','balloonPanelClass','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','650EzsNOX','set','bindTemplate','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_setUpList','insertSuggestion','listItemModels','2292060URgvkO','delegate','keystrokeHandler','unbind','left','open','bottom','hide','_setUpKeystrokes','attachToDom','_createActionsDropdownOrButton','ck-hidden','items','listView','listenTo','keys','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','uiLanguageDirection','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','label','pin','content','applySuggestion','ltr','_createActionsDropdown','actionsButton','35961706kICNlW','4018722sWdmKH','8317680rQeNED','isVisible','length','detachFromDom','_dropdownOriginalConfig','actionName','element','ck-ai-button-primary','9102XXzMxK','ck-ai-chat__feed__ai-suggestion__actions--no-animation','insertSuggestionModel','div','bodyCollection','7AolJqD','_updateDropdownActions','add','destroy','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','has','5ChRMwR','arrowView','button','esc','change:isTrackChangesOn','21576eWGtBw','_dropdownCurrentConfig','fire','width','ck-ai-chat__feed__ai-suggestion__actions\x20','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','ck-ai-chat__feed__ai-suggestion__actions','ck-ai-chat__feed__ai-suggestion__actions__balloon','isTrackChangesOn','isEnabled','children','setTemplate','showChangeInTextModel','tooltip','813594FFpiCO','slice','_createActionsButton','locale','filter'];_0x3d64=function(){return _0x37de76;};return _0x3d64();}function Pn(_0xc17ff2,_0xdd58d7,_0x94a841){const _0x68b568=_0x2fcef1;switch(_0xc17ff2){case _0x68b568(0xb0):return _0x5ad4d2(_0xdd58d7,_0x68b568(0x91),_0x94a841);case _0x68b568(0x8b):return _0x5ad4d2(_0xdd58d7,_0x68b568(0xd4),_0x94a841);case _0x68b568(0x98):return _0x5ad4d2(_0xdd58d7,_0x68b568(0xaa),_0x94a841);}}function Hn(_0x55c97d,_0x2c8309,_0x3f1ad0){const _0x14d43f=_0x2fcef1;switch(_0x55c97d){case _0x14d43f(0xb0):return _0x5ad4d2(_0x2c8309,_0x14d43f(0x8a),_0x3f1ad0);case _0x14d43f(0x8b):return _0x5ad4d2(_0x2c8309,_0x14d43f(0xc7),_0x3f1ad0);case _0x14d43f(0x98):return _0x5ad4d2(_0x2c8309,_0x14d43f(0x96),_0x3f1ad0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x387a24=_0xd041;function _0xd041(_0xfc41a7,_0xac4ed7){var _0x3a6616=_0x3a66();return _0xd041=function(_0xd041bc,_0x1f8471){_0xd041bc=_0xd041bc-0x13b;var _0x501e1c=_0x3a6616[_0xd041bc];return _0x501e1c;},_0xd041(_0xfc41a7,_0xac4ed7);}(function(_0x5e2bed,_0x5eff6d){var _0x53a114=_0xd041,_0xbd8d05=_0x5e2bed();while(!![]){try{var _0x5e3361=parseInt(_0x53a114(0x147))/0x1*(-parseInt(_0x53a114(0x159))/0x2)+parseInt(_0x53a114(0x144))/0x3*(-parseInt(_0x53a114(0x146))/0x4)+-parseInt(_0x53a114(0x143))/0x5*(-parseInt(_0x53a114(0x14e))/0x6)+parseInt(_0x53a114(0x158))/0x7+-parseInt(_0x53a114(0x145))/0x8+parseInt(_0x53a114(0x162))/0x9+-parseInt(_0x53a114(0x15d))/0xa*(-parseInt(_0x53a114(0x14d))/0xb);if(_0x5e3361===_0x5eff6d)break;else _0xbd8d05['push'](_0xbd8d05['shift']());}catch(_0x4c4b0c){_0xbd8d05['push'](_0xbd8d05['shift']());}}}(_0x3a66,0xf3b01));import{AIChatFeedItemView as _0x52c5e9}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x56b08a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x3a66(){var _0x7e6a6d=['945812BxdZUX','28CxWQaY','bind','showDiff','isEnabled','27751120tWcUIs','insertSuggestion','dislike','updatePartState','bodyView','5408649tnOjKE','like','options','updateSources','mouseLeaveSuggestion','hasNonEmptyParts','updateLabels','containerView','rejectSuggestion','toggleSuggestionDisplayMode','areActionsDisabled','partsCount','isVisible','updateContent','fire','8130815eRSQYn','1201224ciBgir','15269736ifbSSj','12CcNMOK','73519zmsKHW','hasPendingParts','showChangeInText','isTrackChangesOn','applySuggestion','children','11ykeXWP','6cBSJjk','set','actionsView','extendTemplate','markAsDone','getPartView','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','availableActions','addMany'];_0x3a66=function(){return _0x7e6a6d;};return _0x3a66();}import{AIChatFeedSuggestionItemActionsView as _0x2ae2e9}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x52c5e9{[_0x387a24(0x13b)];[_0x387a24(0x150)];constructor(_0x2cf398,_0xf198,_0x2b84aa){var _0x4ae8a5=_0x387a24;super(_0xf198),this[_0x4ae8a5(0x14f)](_0x4ae8a5(0x14a),!0x1),this[_0x4ae8a5(0x13b)]=new _0x56b08a(_0x2cf398,{'showDiff':_0xf198[_0x4ae8a5(0x15b)],'areActionsDisabled':_0xf198[_0x4ae8a5(0x13e)],'availableActions':_0xf198[_0x4ae8a5(0x156)]},_0x2b84aa),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x13d),(_0x1ca974,_0x268c01)=>{var _0x1be12c=_0x4ae8a5;this[_0x1be12c(0x142)](_0x1be12c(0x13d),{'replyId':this[_0x1be12c(0x164)]['id'],'showDiff':_0x268c01[_0x1be12c(0x15b)]});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x163),()=>{var _0x4f3b0b=_0x4ae8a5;this[_0x4f3b0b(0x142)](_0x4f3b0b(0x163),{'replyId':this[_0x4f3b0b(0x164)]['id']});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x15f),()=>{var _0x4cdb4d=_0x4ae8a5;this[_0x4cdb4d(0x142)](_0x4cdb4d(0x15f),{'replyId':this[_0x4cdb4d(0x164)]['id']});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x149),(_0x27f9f9,{index:_0xb04021})=>{var _0x49b513=_0x4ae8a5;this[_0x49b513(0x142)](_0x49b513(0x149),{'replyId':this[_0x49b513(0x164)]['id'],'partIndex':_0xb04021});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x15e),(_0x1d391d,{index:_0x39ad23})=>{var _0x121ac9=_0x4ae8a5;this[_0x121ac9(0x142)](_0x121ac9(0x15e),{'replyId':this[_0x121ac9(0x164)]['id'],'partIndex':_0x39ad23});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x13c),(_0x5f53ec,{index:_0xd6eea6})=>{var _0x603c28=_0x4ae8a5;this[_0x603c28(0x142)](_0x603c28(0x13c),{'replyId':this[_0x603c28(0x164)]['id'],'partIndex':_0xd6eea6});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x154),(_0x8dff10,{index:_0x464f3d})=>{var _0x377186=_0x4ae8a5;this[_0x377186(0x142)](_0x377186(0x154),{'replyId':this[_0x377186(0x164)]['id'],'partIndex':_0x464f3d});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x166),(_0x4c3dd5,{index:_0x1a096f})=>{var _0x413629=_0x4ae8a5;this[_0x413629(0x142)](_0x413629(0x166),{'replyId':this[_0x413629(0x164)]['id'],'partIndex':_0x1a096f});}),this[_0x4ae8a5(0x150)]=new _0x2ae2e9(_0x2cf398,this[_0x4ae8a5(0x164)][_0x4ae8a5(0x156)]),this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15a)](_0x4ae8a5(0x14a))['to'](this,_0x4ae8a5(0x14a)),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x149),()=>{var _0x2240ca=_0x4ae8a5;this[_0x2240ca(0x142)](_0x2240ca(0x149),{'replyId':this[_0x2240ca(0x164)]['id']});}),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x15e),()=>{var _0x731797=_0x4ae8a5;this[_0x731797(0x142)](_0x731797(0x15e),{'replyId':this[_0x731797(0x164)]['id']});}),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x14b),()=>{var _0x5ba302=_0x4ae8a5;this[_0x5ba302(0x142)](_0x5ba302(0x14b),{'replyId':this[_0x5ba302(0x164)]['id']});}),_0xf198[_0x4ae8a5(0x13e)]?this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15c)]=!0x1:this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15a)](_0x4ae8a5(0x15c))['to'](this[_0x4ae8a5(0x13b)][_0x4ae8a5(0x161)],_0x4ae8a5(0x148)),this[_0x4ae8a5(0x14c)][_0x4ae8a5(0x157)]([this[_0x4ae8a5(0x13b)],this[_0x4ae8a5(0x150)]]),this[_0x4ae8a5(0x151)]({'attributes':{'class':[_0x4ae8a5(0x155)]}});}async[_0x387a24(0x141)](_0x3d0602){var _0x171cf2=_0x387a24;await this[_0x171cf2(0x13b)][_0x171cf2(0x141)](_0x3d0602),this[_0x171cf2(0x150)][_0x171cf2(0x168)](this[_0x171cf2(0x13b)][_0x171cf2(0x161)][_0x171cf2(0x13f)]);}[_0x387a24(0x160)](_0x1954c5,_0x721c62){var _0x58509a=_0x387a24;this[_0x58509a(0x13b)][_0x58509a(0x161)][_0x58509a(0x160)](_0x1954c5,_0x721c62);}[_0x387a24(0x165)](_0x45b044){var _0x43ab27=_0x387a24;this[_0x43ab27(0x13b)][_0x43ab27(0x165)](_0x45b044);}[_0x387a24(0x153)](_0x466783){var _0x1dc7b5=_0x387a24;return this[_0x1dc7b5(0x13b)][_0x1dc7b5(0x161)][_0x1dc7b5(0x153)](_0x466783);}[_0x387a24(0x152)](){var _0xe78ed=_0x387a24;super[_0xe78ed(0x152)](),this[_0xe78ed(0x13b)][_0xe78ed(0x152)](),this[_0xe78ed(0x150)][_0xe78ed(0x140)]=this[_0xe78ed(0x13b)][_0xe78ed(0x161)][_0xe78ed(0x167)];}}
23
+ var _0x5dc4a8=_0x5bb1;function _0x5bb1(_0x3c97fa,_0x48dc2d){var _0x51a0b9=_0x51a0();return _0x5bb1=function(_0x5bb11c,_0x1535dc){_0x5bb11c=_0x5bb11c-0xbd;var _0x2ff1aa=_0x51a0b9[_0x5bb11c];return _0x2ff1aa;},_0x5bb1(_0x3c97fa,_0x48dc2d);}(function(_0x4ad135,_0x5c415c){var _0x183b98=_0x5bb1,_0x518f3b=_0x4ad135();while(!![]){try{var _0x2768a3=parseInt(_0x183b98(0xeb))/0x1*(parseInt(_0x183b98(0xdf))/0x2)+-parseInt(_0x183b98(0xcb))/0x3*(-parseInt(_0x183b98(0xd4))/0x4)+-parseInt(_0x183b98(0xd2))/0x5+-parseInt(_0x183b98(0xd8))/0x6*(parseInt(_0x183b98(0xe7))/0x7)+parseInt(_0x183b98(0xe0))/0x8+-parseInt(_0x183b98(0xc9))/0x9*(parseInt(_0x183b98(0xc7))/0xa)+parseInt(_0x183b98(0xe4))/0xb*(parseInt(_0x183b98(0xda))/0xc);if(_0x2768a3===_0x5c415c)break;else _0x518f3b['push'](_0x518f3b['shift']());}catch(_0x4e9486){_0x518f3b['push'](_0x518f3b['shift']());}}}(_0x51a0,0x3f055));import{AIChatFeedItemView as _0x32546a}from'./aichatfeeditemview.js';function _0x51a0(){var _0x494722=['like','bodyView','updateContent','getPartView','applySuggestion','actionsView','hasNonEmptyParts','showDiff','14330DvkBDx','fire','522tVjZjm','insertSuggestion','21uSNnbT','bind','mouseOverSuggestion','toggleSuggestionDisplayMode','isEnabled','extendTemplate','areActionsDisabled','2489870vfOhRJ','isVisible','67352AaZGPy','markAsDone','mouseLeaveSuggestion','showChangeInText','210SkzCKq','isTrackChangesOn','49080XMZVbP','updateSources','children','containerView','dislike','4YSJhdv','1080368JCYycH','rejectSuggestion','options','set','638CPlYKg','updateLabels','hasPendingParts','11697YANcmQ','partsCount','ck-ai-chat__feed__ai-suggestion','addMany','203787JafyJy','availableActions','updatePartState'];_0x51a0=function(){return _0x494722;};return _0x51a0();}import{AISuggestionContainerView as _0x22a3d7}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x3ef4a8}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x32546a{[_0x5dc4a8(0xdd)];[_0x5dc4a8(0xc4)];constructor(_0x1ee776,_0x11ede7,_0x48e4e4){var _0xa2a2ae=_0x5dc4a8;super(_0x11ede7),this[_0xa2a2ae(0xe3)](_0xa2a2ae(0xd9),!0x1),this[_0xa2a2ae(0xdd)]=new _0x22a3d7(_0x1ee776,{'showDiff':_0x11ede7[_0xa2a2ae(0xc6)],'areActionsDisabled':_0x11ede7[_0xa2a2ae(0xd1)],'availableActions':_0x11ede7[_0xa2a2ae(0xbd)]},_0x48e4e4),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xce),(_0x57f733,_0x4d283e)=>{var _0x546405=_0xa2a2ae;this[_0x546405(0xc8)](_0x546405(0xce),{'replyId':this[_0x546405(0xe2)]['id'],'showDiff':_0x4d283e[_0x546405(0xc6)]});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xbf),()=>{var _0xebaf1d=_0xa2a2ae;this[_0xebaf1d(0xc8)](_0xebaf1d(0xbf),{'replyId':this[_0xebaf1d(0xe2)]['id']});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xde),()=>{var _0x4ee369=_0xa2a2ae;this[_0x4ee369(0xc8)](_0x4ee369(0xde),{'replyId':this[_0x4ee369(0xe2)]['id']});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xd7),(_0x1a8a1a,{index:_0x1f0602})=>{var _0x5989da=_0xa2a2ae;this[_0x5989da(0xc8)](_0x5989da(0xd7),{'replyId':this[_0x5989da(0xe2)]['id'],'partIndex':_0x1f0602});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xca),(_0x46a410,{index:_0x5779e7})=>{var _0x5f0bad=_0xa2a2ae;this[_0x5f0bad(0xc8)](_0x5f0bad(0xca),{'replyId':this[_0x5f0bad(0xe2)]['id'],'partIndex':_0x5779e7});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xe1),(_0x9d9c06,{index:_0x48a78d})=>{var _0x9c88a8=_0xa2a2ae;this[_0x9c88a8(0xc8)](_0x9c88a8(0xe1),{'replyId':this[_0x9c88a8(0xe2)]['id'],'partIndex':_0x48a78d});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xcd),(_0x4e9b4e,{index:_0x5e193c})=>{var _0x53015b=_0xa2a2ae;this[_0x53015b(0xc8)](_0x53015b(0xcd),{'replyId':this[_0x53015b(0xe2)]['id'],'partIndex':_0x5e193c});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xd6),(_0x441ca3,{index:_0x365638})=>{var _0x32d043=_0xa2a2ae;this[_0x32d043(0xc8)](_0x32d043(0xd6),{'replyId':this[_0x32d043(0xe2)]['id'],'partIndex':_0x365638});}),this[_0xa2a2ae(0xc4)]=new _0x3ef4a8(_0x1ee776,this[_0xa2a2ae(0xe2)][_0xa2a2ae(0xbd)]),this[_0xa2a2ae(0xc4)][_0xa2a2ae(0xcc)](_0xa2a2ae(0xd9))['to'](this,_0xa2a2ae(0xd9)),this[_0xa2a2ae(0xc4)]['on'](_0xa2a2ae(0xd7),()=>{var _0x1b8ad1=_0xa2a2ae;this[_0x1b8ad1(0xc8)](_0x1b8ad1(0xd7),{'replyId':this[_0x1b8ad1(0xe2)]['id']});}),this[_0xa2a2ae(0xc4)]['on'](_0xa2a2ae(0xca),()=>{var _0x3fe4a3=_0xa2a2ae;this[_0x3fe4a3(0xc8)](_0x3fe4a3(0xca),{'replyId':this[_0x3fe4a3(0xe2)]['id']});}),this[_0xa2a2ae(0xc4)]['on'](_0xa2a2ae(0xc3),()=>{var _0x4f7cfd=_0xa2a2ae;this[_0x4f7cfd(0xc8)](_0x4f7cfd(0xc3),{'replyId':this[_0x4f7cfd(0xe2)]['id']});}),_0x11ede7[_0xa2a2ae(0xd1)]?this[_0xa2a2ae(0xc4)][_0xa2a2ae(0xcf)]=!0x1:this[_0xa2a2ae(0xc4)][_0xa2a2ae(0xcc)](_0xa2a2ae(0xcf))['to'](this[_0xa2a2ae(0xdd)][_0xa2a2ae(0xc0)],_0xa2a2ae(0xe6)),this[_0xa2a2ae(0xdc)][_0xa2a2ae(0xea)]([this[_0xa2a2ae(0xdd)],this[_0xa2a2ae(0xc4)]]),this[_0xa2a2ae(0xd0)]({'attributes':{'class':[_0xa2a2ae(0xe9)]}});}async[_0x5dc4a8(0xc1)](_0x19c9cc){var _0x17ba42=_0x5dc4a8;await this[_0x17ba42(0xdd)][_0x17ba42(0xc1)](_0x19c9cc),this[_0x17ba42(0xc4)][_0x17ba42(0xe5)](this[_0x17ba42(0xdd)][_0x17ba42(0xc0)][_0x17ba42(0xe8)]);}[_0x5dc4a8(0xbe)](_0x222d70,_0x4e7ee8){var _0x3725cd=_0x5dc4a8;this[_0x3725cd(0xdd)][_0x3725cd(0xc0)][_0x3725cd(0xbe)](_0x222d70,_0x4e7ee8);}[_0x5dc4a8(0xdb)](_0x20e48a){var _0x302cd3=_0x5dc4a8;this[_0x302cd3(0xdd)][_0x302cd3(0xdb)](_0x20e48a);}[_0x5dc4a8(0xc2)](_0x41d738){var _0x575364=_0x5dc4a8;return this[_0x575364(0xdd)][_0x575364(0xc0)][_0x575364(0xc2)](_0x41d738);}[_0x5dc4a8(0xd5)](){var _0x5d2d12=_0x5dc4a8;super[_0x5d2d12(0xd5)](),this[_0x5d2d12(0xdd)][_0x5d2d12(0xd5)](),this[_0x5d2d12(0xc4)][_0x5d2d12(0xd3)]=this[_0x5d2d12(0xdd)][_0x5d2d12(0xc0)][_0x5d2d12(0xc5)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x280cf7=_0x3e97;(function(_0x482902,_0x14d570){var _0x452ab=_0x3e97,_0x3edbba=_0x482902();while(!![]){try{var _0x4b7d63=-parseInt(_0x452ab(0x1f8))/0x1+-parseInt(_0x452ab(0x1f1))/0x2+parseInt(_0x452ab(0x1df))/0x3*(-parseInt(_0x452ab(0x1f0))/0x4)+-parseInt(_0x452ab(0x1ff))/0x5*(-parseInt(_0x452ab(0x1fc))/0x6)+parseInt(_0x452ab(0x1e7))/0x7*(parseInt(_0x452ab(0x1ef))/0x8)+parseInt(_0x452ab(0x1f6))/0x9*(parseInt(_0x452ab(0x1f7))/0xa)+-parseInt(_0x452ab(0x1e0))/0xb*(-parseInt(_0x452ab(0x1e5))/0xc);if(_0x4b7d63===_0x14d570)break;else _0x3edbba['push'](_0x3edbba['shift']());}catch(_0x505018){_0x3edbba['push'](_0x3edbba['shift']());}}}(_0x250b,0x66113));function _0x3e97(_0x274bf0,_0x1d3e30){var _0x250ba6=_0x250b();return _0x3e97=function(_0x3e9759,_0x3c3c38){_0x3e9759=_0x3e9759-0x1dd;var _0x2b5edf=_0x250ba6[_0x3e9759];return _0x2b5edf;},_0x3e97(_0x274bf0,_0x1d3e30);}import{AIChatFeedItemView as _0x24e5ea}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5c52c9}from'./aichatfeedcontextchipsview.js';import{View as _0x14710b}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x24e5ea{[_0x280cf7(0x1fb)]=null;[_0x280cf7(0x1ed)];[_0x280cf7(0x1e9)];[_0x280cf7(0x1fe)];constructor(_0x5cf929,_0x530a81,_0x5cf583){var _0x36c9b8=_0x280cf7;super(_0x530a81),this[_0x36c9b8(0x1ed)]=_0x5cf929,this[_0x36c9b8(0x1e9)]=_0x5cf583,this[_0x36c9b8(0x1f4)](),this[_0x36c9b8(0x1ea)](),this[_0x36c9b8(0x1ec)]({'attributes':{'class':[_0x36c9b8(0x1e3)]}});}[_0x280cf7(0x1f4)](){var _0x22d474=_0x280cf7;this[_0x22d474(0x1f2)][_0x22d474(0x1fd)]&&this[_0x22d474(0x1f2)][_0x22d474(0x1fd)][_0x22d474(0x1e4)]>0x0&&(this[_0x22d474(0x1fb)]=new _0x5c52c9(this[_0x22d474(0x1ed)],this[_0x22d474(0x1f2)][_0x22d474(0x1fd)][_0x22d474(0x1f9)](_0x1d255b=>!_0x1d255b[_0x22d474(0x1e2)]),this[_0x22d474(0x1e9)]),this[_0x22d474(0x1fb)][_0x22d474(0x1ec)]({'attributes':{'class':_0x22d474(0x1eb)}}),this[_0x22d474(0x1e1)][_0x22d474(0x200)](this[_0x22d474(0x1fb)]));}[_0x280cf7(0x1ea)](){var _0x2c4d22=_0x280cf7;this[_0x2c4d22(0x1fe)]=new _0x14710b(this[_0x2c4d22(0x1ed)]),this[_0x2c4d22(0x1fe)][_0x2c4d22(0x1dd)]({'tag':_0x2c4d22(0x1e8),'attributes':{'class':_0x2c4d22(0x1fa)}}),this[_0x2c4d22(0x1e1)][_0x2c4d22(0x200)](this[_0x2c4d22(0x1fe)]);}[_0x280cf7(0x1e6)](){var _0x1c85ce=_0x280cf7;super[_0x1c85ce(0x1e6)](),this[_0x1c85ce(0x1fe)][_0x1c85ce(0x1ee)][_0x1c85ce(0x1f5)]=this[_0x1c85ce(0x1f2)][_0x1c85ce(0x1f3)],this[_0x1c85ce(0x1de)]();}}function _0x250b(){var _0x5f1570=['885348DPZewX','contextItems','_messageContentView','5hDppAz','add','setTemplate','markAsDone','3cEGJOT','37653BEjQfx','children','hidden','ck-ai-chat__feed__user-message','length','1476zmUnER','render','7nTuuJD','div','_bodyCollection','_createMessageContentView','ck-ai-chat__feed__context-chips','extendTemplate','_locale','element','182008BfnMUS','723516dpcEuN','221456JfvBqW','options','initialContent','_createContextChipsView','innerHTML','297tENSDo','111710QgeqZg','250307ygfaHN','filter','ck-ai-chat__feed__message-content','_contextChipsView'];_0x250b=function(){return _0x5f1570;};return _0x250b();}
23
+ var _0x438eff=_0x1e12;function _0x2c72(){var _0x18acb1=['markAsDone','div','23694590ZxNUdN','6NIiOhc','children','contextItems','innerHTML','7934591LoRiFl','element','3386495mZjIaX','194829mCgywM','_bodyCollection','_locale','render','add','4FpOZoU','ck-ai-chat__feed__message-content','options','initialContent','hidden','_messageContentView','8jwDRcW','filter','ck-ai-chat__feed__user-message','60021EjPGgR','setTemplate','extendTemplate','length','_createContextChipsView','ck-ai-chat__feed__context-chips','274773aSFRFp','_createMessageContentView','1887486osYdNm','_contextChipsView'];_0x2c72=function(){return _0x18acb1;};return _0x2c72();}(function(_0x3aa79d,_0x12a8bb){var _0x1fe0f3=_0x1e12,_0x18dd9b=_0x3aa79d();while(!![]){try{var _0x289def=-parseInt(_0x1fe0f3(0x19e))/0x1+-parseInt(_0x1fe0f3(0x192))/0x2+parseInt(_0x1fe0f3(0x190))/0x3*(-parseInt(_0x1fe0f3(0x1a3))/0x4)+-parseInt(_0x1fe0f3(0x19d))/0x5*(-parseInt(_0x1fe0f3(0x197))/0x6)+-parseInt(_0x1fe0f3(0x19b))/0x7*(parseInt(_0x1fe0f3(0x1a9))/0x8)+-parseInt(_0x1fe0f3(0x18a))/0x9+parseInt(_0x1fe0f3(0x196))/0xa;if(_0x289def===_0x12a8bb)break;else _0x18dd9b['push'](_0x18dd9b['shift']());}catch(_0x513e25){_0x18dd9b['push'](_0x18dd9b['shift']());}}}(_0x2c72,0xa523d));import{AIChatFeedItemView as _0x23fec0}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x4ad7ec}from'./aichatfeedcontextchipsview.js';import{View as _0x245f37}from'ckeditor5/src/ui.js';function _0x1e12(_0x394dbb,_0x15a6b4){var _0x2c72c6=_0x2c72();return _0x1e12=function(_0x1e121d,_0x31b3bb){_0x1e121d=_0x1e121d-0x188;var _0x1548ee=_0x2c72c6[_0x1e121d];return _0x1548ee;},_0x1e12(_0x394dbb,_0x15a6b4);}export class AIChatFeedUserMessageItemView extends _0x23fec0{[_0x438eff(0x193)]=null;[_0x438eff(0x1a0)];[_0x438eff(0x19f)];[_0x438eff(0x1a8)];constructor(_0x502349,_0x59600b,_0x4c1c06){var _0x255f3d=_0x438eff;super(_0x59600b),this[_0x255f3d(0x1a0)]=_0x502349,this[_0x255f3d(0x19f)]=_0x4c1c06,this[_0x255f3d(0x18e)](),this[_0x255f3d(0x191)](),this[_0x255f3d(0x18c)]({'attributes':{'class':[_0x255f3d(0x189)]}});}[_0x438eff(0x18e)](){var _0x2bae9e=_0x438eff;this[_0x2bae9e(0x1a5)][_0x2bae9e(0x199)]&&this[_0x2bae9e(0x1a5)][_0x2bae9e(0x199)][_0x2bae9e(0x18d)]>0x0&&(this[_0x2bae9e(0x193)]=new _0x4ad7ec(this[_0x2bae9e(0x1a0)],this[_0x2bae9e(0x1a5)][_0x2bae9e(0x199)][_0x2bae9e(0x188)](_0xf8b59d=>!_0xf8b59d[_0x2bae9e(0x1a7)]),this[_0x2bae9e(0x19f)]),this[_0x2bae9e(0x193)][_0x2bae9e(0x18c)]({'attributes':{'class':_0x2bae9e(0x18f)}}),this[_0x2bae9e(0x198)][_0x2bae9e(0x1a2)](this[_0x2bae9e(0x193)]));}[_0x438eff(0x191)](){var _0x48cfdb=_0x438eff;this[_0x48cfdb(0x1a8)]=new _0x245f37(this[_0x48cfdb(0x1a0)]),this[_0x48cfdb(0x1a8)][_0x48cfdb(0x18b)]({'tag':_0x48cfdb(0x195),'attributes':{'class':_0x48cfdb(0x1a4)}}),this[_0x48cfdb(0x198)][_0x48cfdb(0x1a2)](this[_0x48cfdb(0x1a8)]);}[_0x438eff(0x1a1)](){var _0x259895=_0x438eff;super[_0x259895(0x1a1)](),this[_0x259895(0x1a8)][_0x259895(0x19c)][_0x259895(0x19a)]=this[_0x259895(0x1a5)][_0x259895(0x1a6)],this[_0x259895(0x194)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2f5305=_0x3a3e;function _0x4f33(){var _0xfcbeb0=['652srZvNf','194614ySQyvu','pluginName','requires','5961024zGNBAI','AIChatHistory','490785lXkphD','1412572oAHBRk','193316RpgwKb','isPremiumPlugin','2893236XlTbgU','isOfficialPlugin','7287qtdpHO'];_0x4f33=function(){return _0xfcbeb0;};return _0x4f33();}function _0x3a3e(_0x31bc76,_0x4d6f51){var _0x4f33d1=_0x4f33();return _0x3a3e=function(_0x3a3e03,_0x2f4c4b){_0x3a3e03=_0x3a3e03-0xf5;var _0x45b533=_0x4f33d1[_0x3a3e03];return _0x45b533;},_0x3a3e(_0x31bc76,_0x4d6f51);}(function(_0x5c04f8,_0x640733){var _0x465a01=_0x3a3e,_0x964416=_0x5c04f8();while(!![]){try{var _0x123d72=parseInt(_0x465a01(0xf9))/0x1+parseInt(_0x465a01(0xff))/0x2+parseInt(_0x465a01(0xfd))/0x3*(-parseInt(_0x465a01(0xfe))/0x4)+-parseInt(_0x465a01(0xf7))/0x5+-parseInt(_0x465a01(0xfb))/0x6+parseInt(_0x465a01(0xf8))/0x7+parseInt(_0x465a01(0xf5))/0x8;if(_0x123d72===_0x640733)break;else _0x964416['push'](_0x964416['shift']());}catch(_0x5dfced){_0x964416['push'](_0x964416['shift']());}}}(_0x4f33,0x3fc89));import{ContextPlugin as _0x4de39b}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x4284e1}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x575200}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4de39b{static get[_0x2f5305(0x101)](){return[_0x4284e1,_0x575200];}static get[_0x2f5305(0x100)](){var _0x22a89c=_0x2f5305;return _0x22a89c(0xf6);}static get[_0x2f5305(0xfc)](){return!0x0;}static get[_0x2f5305(0xfa)](){return!0x0;}}
23
+ var _0x364805=_0x4aa9;(function(_0x993b40,_0x5815e3){var _0x484ade=_0x4aa9,_0x3c998b=_0x993b40();while(!![]){try{var _0x2b8832=-parseInt(_0x484ade(0x16e))/0x1+-parseInt(_0x484ade(0x170))/0x2+parseInt(_0x484ade(0x177))/0x3*(parseInt(_0x484ade(0x173))/0x4)+parseInt(_0x484ade(0x16c))/0x5+parseInt(_0x484ade(0x16d))/0x6+-parseInt(_0x484ade(0x16f))/0x7*(parseInt(_0x484ade(0x172))/0x8)+parseInt(_0x484ade(0x175))/0x9;if(_0x2b8832===_0x5815e3)break;else _0x3c998b['push'](_0x3c998b['shift']());}catch(_0x2cdb00){_0x3c998b['push'](_0x3c998b['shift']());}}}(_0x1246,0x2214e));import{ContextPlugin as _0x2f801d}from'ckeditor5/src/core.js';function _0x4aa9(_0x139829,_0x529300){var _0x124684=_0x1246();return _0x4aa9=function(_0x4aa969,_0x562ae2){_0x4aa969=_0x4aa969-0x16b;var _0x4cdc80=_0x124684[_0x4aa969];return _0x4cdc80;},_0x4aa9(_0x139829,_0x529300);}import{AIChatHistoryController as _0x10c38a}from'./aichathistorycontroller.js';function _0x1246(){var _0x4e1ff9=['714QiKAbA','478966srfguN','isPremiumPlugin','4168FBIOYL','926124Ocnpqw','requires','284265RCkzIa','isOfficialPlugin','3wmLfMK','pluginName','AIChatHistory','1078755fQZEJB','94590ctprPo','62409bWOOrR'];_0x1246=function(){return _0x4e1ff9;};return _0x1246();}import{AIChatHistoryUI as _0x20d51e}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x2f801d{static get[_0x364805(0x174)](){return[_0x10c38a,_0x20d51e];}static get[_0x364805(0x178)](){var _0x37d365=_0x364805;return _0x37d365(0x16b);}static get[_0x364805(0x176)](){return!0x0;}static get[_0x364805(0x171)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5417b6=_0x22f6;(function(_0x5c107f,_0x125cea){const _0x3bf0d4=_0x22f6,_0x4079fb=_0x5c107f();while(!![]){try{const _0x5d0216=parseInt(_0x3bf0d4(0x1fe))/0x1+-parseInt(_0x3bf0d4(0x1f8))/0x2*(-parseInt(_0x3bf0d4(0x22f))/0x3)+parseInt(_0x3bf0d4(0x1f1))/0x4*(-parseInt(_0x3bf0d4(0x234))/0x5)+parseInt(_0x3bf0d4(0x1dc))/0x6*(-parseInt(_0x3bf0d4(0x20e))/0x7)+-parseInt(_0x3bf0d4(0x221))/0x8*(-parseInt(_0x3bf0d4(0x216))/0x9)+parseInt(_0x3bf0d4(0x209))/0xa*(parseInt(_0x3bf0d4(0x1fd))/0xb)+-parseInt(_0x3bf0d4(0x1df))/0xc;if(_0x5d0216===_0x125cea)break;else _0x4079fb['push'](_0x4079fb['shift']());}catch(_0xc532e3){_0x4079fb['push'](_0x4079fb['shift']());}}}(_0x21c7,0x8b01b));import{ContextPlugin as _0x5d27e6}from'ckeditor5/src/core.js';import{AIConnector as _0x58b831}from'../aicore/aiconnector.js';function _0x22f6(_0x3d7c28,_0x3861b7){const _0x21c71e=_0x21c7();return _0x22f6=function(_0x22f6fd,_0x1eabc3){_0x22f6fd=_0x22f6fd-0x1d6;let _0x22b431=_0x21c71e[_0x22f6fd];return _0x22b431;},_0x22f6(_0x3d7c28,_0x3861b7);}function _0x21c7(){const _0x215b50=['AI_CHAT_UNTITLED_CONVERSATION','updates','loadConversation','getFullYear','map','9976foHahT','removeItem','_updateHistoryItemsUI','itemId','activeConversation','get','requires','347186svLnOJ','change:activeConversation','init','itemsLoaded','length','102817wAFGyF','837682BgxQiW','resizeTabs','AI_CHAT_HISTORY_PIN_ACTION','updateItems','pin','AI_CHAT_HISTORY_CATEGORY_LATER','_generateErrorMessage','updateItemPinned','isOfficialPlugin','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','490YYVyAv','unpin','itemUpdated','activateTab:history','removeConversation','1673lOIXUj','AI_CHAT_HISTORY_CATEGORY_PINNED','_showConversationHistory','selectConversation','pluginName','locale','AI_CHAT_HISTORY_CATEGORY_TODAY','title','2574558gAsOfZ','_setItemLoading','getDate','_getCategorizedItems','openChat','view','rename','_aiChatHistoryUi','resizedTabs','getGroupId','items','16tQcVOj','setConversationPinned','_clearItemLoading','_handleEditTitle','AI_CHAT_HISTORY_UNPIN_ACTION','_handleSelectConversation','getItem','AI_CHAT_HISTORY_ERROR_GENERIC','updateItemLoadingState','listenTo','toLocaleDateString','remove','_handleRemove','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','15gzvEqt','_aiChatController','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','chat','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','255rrxKeB','error','activateTab','setLoadingSkeleton','_handleTogglePin','loadItems','isPremiumPlugin','_handleHistoryErrorUI','_aiConnector','itemRemoved','showError','setIsMaximized','handleRemovedConversation','setDate','pinned','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','20496PUzTBS','history','removeHistoryItem','14673420lPiJFS','getItems','operation','createdAt','_setIsMaximized','push','plugins','editConversationTitle','resize','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','context','getMonth','updateItemTitle'];_0x21c7=function(){return _0x215b50;};return _0x21c7();}import{AIChatController as _0x1ca558}from'../aichat/aichatcontroller.js';import{AITabs as _0x1a9b8f}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x1e1945}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x497327}from'./model/aichathistoryconversations.js';import{getTranslation as _0x264fc4}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5d27e6{[_0x5417b6(0x23c)];[_0x5417b6(0x21d)];[_0x5417b6(0x230)];static get[_0x5417b6(0x1f7)](){return[_0x58b831,_0x1ca558,_0x1e1945,_0x1a9b8f];}static get[_0x5417b6(0x212)](){const _0x5f4c98=_0x5417b6;return _0x5f4c98(0x207);}static get[_0x5417b6(0x206)](){return!0x0;}static get[_0x5417b6(0x23a)](){return!0x0;}[_0x5417b6(0x1fa)](){const _0x1a713b=_0x5417b6;this[_0x1a713b(0x23c)]=this[_0x1a713b(0x1e9)][_0x1a713b(0x1e5)][_0x1a713b(0x1f6)](_0x58b831),this[_0x1a713b(0x21d)]=this[_0x1a713b(0x1e9)][_0x1a713b(0x1e5)][_0x1a713b(0x1f6)](_0x1e1945),this[_0x1a713b(0x230)]=this[_0x1a713b(0x1e9)][_0x1a713b(0x1e5)][_0x1a713b(0x1f6)](_0x1ca558);const _0x3b3b25=this[_0x1a713b(0x1e9)][_0x1a713b(0x1e5)][_0x1a713b(0x1f6)](_0x1a9b8f);try{const _0xb78be8=this[_0x1a713b(0x230)][_0x1a713b(0x21f)]();this[_0x1a713b(0x1dd)]=new _0x497327({'connector':this[_0x1a713b(0x23c)],'group':_0xb78be8}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x20d),(_0x53ef76,_0x3d2efd)=>{const _0x3c887c=_0x1a713b;this[_0x3c887c(0x217)](_0x3d2efd['id'],_0x3c887c(0x22c)),this[_0x3c887c(0x22d)](_0x3d2efd['id']);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x1e6),(_0x3f2cbb,_0x475a38)=>{const _0x221e24=_0x1a713b;this[_0x221e24(0x217)](_0x475a38['id'],_0x221e24(0x21c)),this[_0x221e24(0x224)](_0x475a38['id'],_0x475a38[_0x221e24(0x215)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x1dd)],_0x1a713b(0x20b),(_0x3de9b4,_0x16cc58)=>{const _0x5f06e4=_0x1a713b;void 0x0!==_0x16cc58[_0x5f06e4(0x1ed)][_0x5f06e4(0x215)]&&this[_0x5f06e4(0x21d)][_0x5f06e4(0x1eb)](_0x16cc58[_0x5f06e4(0x1f4)],_0x16cc58[_0x5f06e4(0x1ed)][_0x5f06e4(0x215)]),void 0x0!==_0x16cc58[_0x5f06e4(0x1ed)][_0x5f06e4(0x1da)]&&this[_0x5f06e4(0x1f3)](),this[_0x5f06e4(0x223)](_0x16cc58[_0x5f06e4(0x1f4)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x1dd)],_0x1a713b(0x23d),(_0x3364fb,_0x4325be)=>{const _0x38193e=_0x1a713b;this[_0x38193e(0x230)][_0x38193e(0x1d8)](_0x4325be[_0x38193e(0x1f4)]),this[_0x38193e(0x21d)][_0x38193e(0x1de)](_0x4325be[_0x38193e(0x1f4)]),this[_0x38193e(0x223)](_0x4325be[_0x38193e(0x1f4)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x1dd)],_0x1a713b(0x1fb),()=>{const _0x55a2dd=_0x1a713b;this[_0x55a2dd(0x1f3)]();}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x1dd)],_0x1a713b(0x235),(_0x11c5ed,_0x21b2c9)=>{const _0x5acb8f=_0x1a713b;this[_0x5acb8f(0x23b)](_0x21b2c9[_0x5acb8f(0x235)],_0x21b2c9[_0x5acb8f(0x1e1)],_0x21b2c9[_0x5acb8f(0x1f4)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x211),(_0x4b99e9,_0x4933ae)=>{const _0x566016=_0x1a713b;this[_0x566016(0x226)](_0x4933ae['id']);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x222),(_0x1dd700,_0x45882d)=>{const _0x2d5ec6=_0x1a713b,_0x7c8730=_0x45882d[_0x2d5ec6(0x1da)]?_0x2d5ec6(0x202):_0x2d5ec6(0x20a);this[_0x2d5ec6(0x217)](_0x45882d['id'],_0x7c8730),this[_0x2d5ec6(0x238)](_0x45882d['id'],_0x45882d[_0x2d5ec6(0x1da)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x21a),()=>{const _0xd94b0c=_0x1a713b;_0x3b3b25[_0xd94b0c(0x21b)][_0xd94b0c(0x236)](_0xd94b0c(0x232));}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x230)],_0x1a713b(0x1f9),()=>{const _0x5e6af0=_0x1a713b;this[_0x5e6af0(0x1f3)]();}),_0x3b3b25[_0x1a713b(0x21b)]['on'](_0x1a713b(0x20c),()=>{const _0x19b603=_0x1a713b;this[_0x19b603(0x210)]();}),this[_0x1a713b(0x22a)](_0x3b3b25,_0x1a713b(0x21e),(_0x3bd2f3,_0x1cafe7)=>{const _0x319627=_0x1a713b;this[_0x319627(0x1e3)](_0x1cafe7);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x1ff),()=>{const _0x2aead0=_0x1a713b;_0x3b3b25[_0x2aead0(0x1e7)]();});}catch(_0x4e2d62){this[_0x1a713b(0x23b)](_0x4e2d62,_0x1a713b(0x1fa));}}async[_0x5417b6(0x224)](_0x347a48,_0x5ef888){const _0x2c8228=_0x5417b6;await this[_0x2c8228(0x1dd)][_0x2c8228(0x1eb)](_0x347a48,_0x5ef888);}async[_0x5417b6(0x238)](_0x5d0eeb,_0xd57668){const _0x553a3c=_0x5417b6;await this[_0x553a3c(0x1dd)][_0x553a3c(0x205)](_0x5d0eeb,_0xd57668);}async[_0x5417b6(0x22d)](_0x58f039){const _0x4a274b=_0x5417b6;await this[_0x4a274b(0x1dd)][_0x4a274b(0x1f2)](_0x58f039);}async[_0x5417b6(0x226)](_0x258e45){const _0x1e015f=_0x5417b6;await this[_0x1e015f(0x230)][_0x1e015f(0x1ee)](_0x258e45);}async[_0x5417b6(0x210)](){const _0x411efa=_0x5417b6;this[_0x411efa(0x21d)][_0x411efa(0x1d6)](''),this[_0x411efa(0x21d)][_0x411efa(0x237)](!0x0),await this[_0x411efa(0x1dd)][_0x411efa(0x1fa)](),this[_0x411efa(0x21d)][_0x411efa(0x237)](!0x1);}[_0x5417b6(0x1f3)](){const _0x46a905=_0x5417b6,_0x209bd6=this[_0x46a905(0x230)][_0x46a905(0x1f5)]?.['id'],_0x4068c4=this[_0x46a905(0x219)]()[_0x46a905(0x1f0)](_0x3f2d6e=>({'title':_0x3f2d6e[_0x46a905(0x215)],'items':_0x3f2d6e[_0x46a905(0x220)][_0x46a905(0x1f0)](_0x463ef5=>({'id':_0x463ef5['id'],'title':_0x463ef5[_0x46a905(0x215)]||_0x264fc4(this[_0x46a905(0x1e9)][_0x46a905(0x213)],_0x46a905(0x1ec)),'createdAt':new Date(_0x463ef5[_0x46a905(0x1e2)])[_0x46a905(0x22b)](),'active':_0x463ef5['id']===_0x209bd6,'pinned':_0x463ef5[_0x46a905(0x1da)]}))}));this[_0x46a905(0x21d)][_0x46a905(0x201)](_0x4068c4);}[_0x5417b6(0x217)](_0x5dff50,_0x28a658){const _0x2ccc63=_0x5417b6;this[_0x2ccc63(0x21d)][_0x2ccc63(0x229)](_0x5dff50,_0x28a658,!0x0);}[_0x5417b6(0x223)](_0x1c542d){const _0x24c84f=_0x5417b6;this[_0x24c84f(0x21d)][_0x24c84f(0x229)](_0x1c542d,null,!0x1);}[_0x5417b6(0x23b)](_0x13d4cd,_0x527960,_0x5ae081){const _0x485162=_0x5417b6,_0x56a5e6=this[_0x485162(0x204)](_0x527960,_0x5ae081);this[_0x485162(0x21d)][_0x485162(0x1d6)](_0x56a5e6),_0x5ae081&&this[_0x485162(0x223)](_0x5ae081),this[_0x485162(0x21d)][_0x485162(0x237)](!0x1);}[_0x5417b6(0x204)](_0x3e693a,_0x3b6b08){const _0x60b9bc=_0x5417b6,_0x48d545=_0x3b6b08?this[_0x60b9bc(0x1dd)][_0x60b9bc(0x227)](_0x3b6b08):null,_0x50312f=_0x48d545?.[_0x60b9bc(0x215)]||_0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x1ec));switch(_0x3e693a){case _0x60b9bc(0x1eb):return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x22e),_0x50312f);case _0x60b9bc(0x205):{const _0x11dfef=_0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x48d545?.[_0x60b9bc(0x1da)]?_0x60b9bc(0x225):_0x60b9bc(0x200));return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x231),[_0x11dfef,_0x50312f]);}case _0x60b9bc(0x1f2):return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x208),_0x50312f);case _0x60b9bc(0x1fa):case _0x60b9bc(0x239):return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x1db));default:return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x228));}}[_0x5417b6(0x219)](){const _0x23186e=_0x5417b6,_0x2975e0=new Date(),_0xc6668c=new Date(_0x2975e0[_0x23186e(0x1ef)](),_0x2975e0[_0x23186e(0x1ea)](),_0x2975e0[_0x23186e(0x218)]()),_0x526321=new Date(_0xc6668c);_0x526321[_0x23186e(0x1d9)](_0x526321[_0x23186e(0x218)]()-0x1);const _0x22df4c=new Date(_0xc6668c);_0x22df4c[_0x23186e(0x1d9)](_0x22df4c[_0x23186e(0x218)]()-0xe);const _0x3925ca=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'pinned':!0x0}),_0x109167=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'from':_0xc6668c,'to':_0xc6668c}),_0x43c226=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'from':_0x526321,'to':_0x526321}),_0x40a923=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'from':_0x22df4c,'to':_0x526321}),_0x5ef02a=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'to':_0x22df4c}),_0xd6ec44=[];return _0x3925ca[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x20f)),'items':_0x3925ca}),_0x109167[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x214)),'items':_0x109167}),_0x43c226[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x233)),'items':_0x43c226}),_0x40a923[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x1e8)),'items':_0x40a923}),_0x5ef02a[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x203)),'items':_0x5ef02a}),_0xd6ec44;}[_0x5417b6(0x1e3)](_0x401e21){const _0x4b457f=_0x5417b6;this[_0x4b457f(0x21d)][_0x4b457f(0x1d7)](_0x401e21);}}
23
+ const _0x1b4b58=_0x1a81;(function(_0x768b8e,_0x1e0f84){const _0x30886c=_0x1a81,_0x385701=_0x768b8e();while(!![]){try{const _0x1ba07b=parseInt(_0x30886c(0xf3))/0x1*(parseInt(_0x30886c(0xed))/0x2)+-parseInt(_0x30886c(0x93))/0x3*(-parseInt(_0x30886c(0xb7))/0x4)+-parseInt(_0x30886c(0xa0))/0x5+-parseInt(_0x30886c(0xa3))/0x6+parseInt(_0x30886c(0xbf))/0x7*(parseInt(_0x30886c(0xa6))/0x8)+parseInt(_0x30886c(0xc7))/0x9*(-parseInt(_0x30886c(0xe2))/0xa)+parseInt(_0x30886c(0xc4))/0xb*(parseInt(_0x30886c(0xd3))/0xc);if(_0x1ba07b===_0x1e0f84)break;else _0x385701['push'](_0x385701['shift']());}catch(_0x5795d7){_0x385701['push'](_0x385701['shift']());}}}(_0x52bc,0x2ce10));import{ContextPlugin as _0x24312d}from'ckeditor5/src/core.js';function _0x52bc(){const _0x59f9ce=['_aiConnector','_setIsMaximized','116832TeolmM','get','createdAt','24ZoYogv','updateItemPinned','selectConversation','change:activeConversation','setIsMaximized','AI_CHAT_HISTORY_CATEGORY_TODAY','updateItemTitle','operation','toLocaleDateString','_handleRemove','_handleHistoryErrorUI','pin','map','loadItems','resizeTabs','resizedTabs','_getCategorizedItems','36vOZKmM','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','_setItemLoading','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','locale','getMonth','_generateErrorMessage','407050WOzTtV','error','getGroupId','listenTo','activateTab:history','1595iYOlkq','context','init','9STMxPh','AI_CHAT_HISTORY_PIN_ACTION','isPremiumPlugin','_clearItemLoading','loadConversation','requires','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','remove','getItems','openChat','getItem','11700VWinyo','_aiChatHistoryUi','pinned','_handleEditTitle','activateTab','removeItem','showError','setDate','removeConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getFullYear','chat','plugins','itemUpdated','1162690tRgIuM','pluginName','updateItems','_aiChatController','isOfficialPlugin','editConversationTitle','itemRemoved','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_CATEGORY_LATER','itemsLoaded','2bYeLNB','itemId','removeHistoryItem','items','updateItemLoadingState','resize','164354TNaHwH','handleRemovedConversation','rename','view','length','unpin','_handleSelectConversation','AI_CHAT_UNTITLED_CONVERSATION','30909rJArta','getDate','history','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_handleTogglePin','activeConversation','_showConversationHistory','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_CATEGORY_PINNED','title','updates','_updateHistoryItemsUI','push','1266705SfnYfj'];_0x52bc=function(){return _0x59f9ce;};return _0x52bc();}import{AIConnector as _0x6b0dd7}from'../aicore/aiconnector.js';import{AIChatController as _0x55f9e0}from'../aichat/aichatcontroller.js';import{AITabs as _0x24a0bf}from'../aitabs/aitabs.js';function _0x1a81(_0x3e1633,_0x5dd960){const _0x52bc63=_0x52bc();return _0x1a81=function(_0x1a81d1,_0x5cc1df){_0x1a81d1=_0x1a81d1-0x8d;let _0x12b34b=_0x52bc63[_0x1a81d1];return _0x12b34b;},_0x1a81(_0x3e1633,_0x5dd960);}import{AIChatHistoryUI as _0x1c8105}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x453187}from'./model/aichathistoryconversations.js';import{getTranslation as _0x599af0}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x24312d{[_0x1b4b58(0xa1)];[_0x1b4b58(0xd4)];[_0x1b4b58(0xe5)];static get[_0x1b4b58(0xcc)](){return[_0x6b0dd7,_0x55f9e0,_0x1c8105,_0x24a0bf];}static get[_0x1b4b58(0xe3)](){const _0x1209d1=_0x1b4b58;return _0x1209d1(0xe9);}static get[_0x1b4b58(0xe6)](){return!0x0;}static get[_0x1b4b58(0xc9)](){return!0x0;}[_0x1b4b58(0xc6)](){const _0x53bc3a=_0x1b4b58;this[_0x53bc3a(0xa1)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x6b0dd7),this[_0x53bc3a(0xd4)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x1c8105),this[_0x53bc3a(0xe5)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x55f9e0);const _0x411655=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x24a0bf);try{const _0x57152d=this[_0x53bc3a(0xe5)][_0x53bc3a(0xc1)]();this[_0x53bc3a(0x95)]=new _0x453187({'connector':this[_0x53bc3a(0xa1)],'group':_0x57152d}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xdb),(_0xc32579,_0x5d0c96)=>{const _0x468edb=_0x53bc3a;this[_0x468edb(0xb9)](_0x5d0c96['id'],_0x468edb(0xcf)),this[_0x468edb(0xaf)](_0x5d0c96['id']);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xe7),(_0x50b2e1,_0xd2ac64)=>{const _0x1db107=_0x53bc3a;this[_0x1db107(0xb9)](_0xd2ac64['id'],_0x1db107(0x8d)),this[_0x1db107(0xd6)](_0xd2ac64['id'],_0xd2ac64[_0x1db107(0x9c)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xe1),(_0x4c1df3,_0x42eab1)=>{const _0x523a1d=_0x53bc3a;void 0x0!==_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0x9c)]&&this[_0x523a1d(0xd4)][_0x523a1d(0xac)](_0x42eab1[_0x523a1d(0xee)],_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0x9c)]),void 0x0!==_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0xd5)]&&this[_0x523a1d(0x9e)](),this[_0x523a1d(0xca)](_0x42eab1[_0x523a1d(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xe8),(_0x3563bc,_0x1d251b)=>{const _0x10654a=_0x53bc3a;this[_0x10654a(0xe5)][_0x10654a(0xf4)](_0x1d251b[_0x10654a(0xee)]),this[_0x10654a(0xd4)][_0x10654a(0xef)](_0x1d251b[_0x10654a(0xee)]),this[_0x10654a(0xca)](_0x1d251b[_0x10654a(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xec),()=>{const _0x33c90f=_0x53bc3a;this[_0x33c90f(0x9e)]();}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xc0),(_0x1a0a30,_0x270be6)=>{const _0x40630c=_0x53bc3a;this[_0x40630c(0xb0)](_0x270be6[_0x40630c(0xc0)],_0x270be6[_0x40630c(0xad)],_0x270be6[_0x40630c(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xa8),(_0x21d34f,_0x1e5945)=>{const _0x1960de=_0x53bc3a;this[_0x1960de(0x91)](_0x1e5945['id']);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xba),(_0x301101,_0x16562e)=>{const _0x2c3b7c=_0x53bc3a,_0x5698ca=_0x16562e[_0x2c3b7c(0xd5)]?_0x2c3b7c(0xb1):_0x2c3b7c(0x90);this[_0x2c3b7c(0xb9)](_0x16562e['id'],_0x5698ca),this[_0x2c3b7c(0x97)](_0x16562e['id'],_0x16562e[_0x2c3b7c(0xd5)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xd1),()=>{const _0x3b2c42=_0x53bc3a;_0x411655[_0x3b2c42(0x8e)][_0x3b2c42(0xd7)](_0x3b2c42(0xdf));}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xe5)],_0x53bc3a(0xa9),()=>{const _0x5c5bd0=_0x53bc3a;this[_0x5c5bd0(0x9e)]();}),_0x411655[_0x53bc3a(0x8e)]['on'](_0x53bc3a(0xc3),()=>{const _0xa1256d=_0x53bc3a;this[_0xa1256d(0x99)]();}),this[_0x53bc3a(0xc2)](_0x411655,_0x53bc3a(0xb5),(_0x16f53f,_0x2acb49)=>{const _0x1307d6=_0x53bc3a;this[_0x1307d6(0xa2)](_0x2acb49);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xb4),()=>{const _0x27b4ad=_0x53bc3a;_0x411655[_0x27b4ad(0xf2)]();});}catch(_0x209481){this[_0x53bc3a(0xb0)](_0x209481,_0x53bc3a(0xc6));}}async[_0x1b4b58(0xd6)](_0x4b39f3,_0x43759e){const _0x5d5c3b=_0x1b4b58;await this[_0x5d5c3b(0x95)][_0x5d5c3b(0xac)](_0x4b39f3,_0x43759e);}async[_0x1b4b58(0x97)](_0x45c2d9,_0x55452c){const _0x23b9cf=_0x1b4b58;await this[_0x23b9cf(0x95)][_0x23b9cf(0xa7)](_0x45c2d9,_0x55452c);}async[_0x1b4b58(0xaf)](_0x1bd7cc){const _0x47ae46=_0x1b4b58;await this[_0x47ae46(0x95)][_0x47ae46(0xd8)](_0x1bd7cc);}async[_0x1b4b58(0x91)](_0x105e6a){const _0x2ec04f=_0x1b4b58;await this[_0x2ec04f(0xe5)][_0x2ec04f(0xcb)](_0x105e6a);}async[_0x1b4b58(0x99)](){const _0x31d30e=_0x1b4b58;this[_0x31d30e(0xd4)][_0x31d30e(0xd9)](''),this[_0x31d30e(0xd4)][_0x31d30e(0xce)](!0x0),await this[_0x31d30e(0x95)][_0x31d30e(0xc6)](),this[_0x31d30e(0xd4)][_0x31d30e(0xce)](!0x1);}[_0x1b4b58(0x9e)](){const _0x2d9130=_0x1b4b58,_0x57f379=this[_0x2d9130(0xe5)][_0x2d9130(0x98)]?.['id'],_0x328d61=this[_0x2d9130(0xb6)]()[_0x2d9130(0xb2)](_0x47f883=>({'title':_0x47f883[_0x2d9130(0x9c)],'items':_0x47f883[_0x2d9130(0xf0)][_0x2d9130(0xb2)](_0x53deb4=>({'id':_0x53deb4['id'],'title':_0x53deb4[_0x2d9130(0x9c)]||_0x599af0(this[_0x2d9130(0xc5)][_0x2d9130(0xbc)],_0x2d9130(0x92)),'createdAt':new Date(_0x53deb4[_0x2d9130(0xa5)])[_0x2d9130(0xae)](),'active':_0x53deb4['id']===_0x57f379,'pinned':_0x53deb4[_0x2d9130(0xd5)]}))}));this[_0x2d9130(0xd4)][_0x2d9130(0xe4)](_0x328d61);}[_0x1b4b58(0xb9)](_0x2be2d8,_0x4fa28f){const _0x32565a=_0x1b4b58;this[_0x32565a(0xd4)][_0x32565a(0xf1)](_0x2be2d8,_0x4fa28f,!0x0);}[_0x1b4b58(0xca)](_0x492ca7){const _0x385952=_0x1b4b58;this[_0x385952(0xd4)][_0x385952(0xf1)](_0x492ca7,null,!0x1);}[_0x1b4b58(0xb0)](_0x2fda00,_0x3dd4ea,_0xf7db5f){const _0x3d51f3=_0x1b4b58,_0x1f576f=this[_0x3d51f3(0xbe)](_0x3dd4ea,_0xf7db5f);this[_0x3d51f3(0xd4)][_0x3d51f3(0xd9)](_0x1f576f),_0xf7db5f&&this[_0x3d51f3(0xca)](_0xf7db5f),this[_0x3d51f3(0xd4)][_0x3d51f3(0xce)](!0x1);}[_0x1b4b58(0xbe)](_0x42dfb3,_0x12cb51){const _0x437328=_0x1b4b58,_0x25a156=_0x12cb51?this[_0x437328(0x95)][_0x437328(0xd2)](_0x12cb51):null,_0x144c97=_0x25a156?.[_0x437328(0x9c)]||_0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0x92));switch(_0x42dfb3){case _0x437328(0xac):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0x96),_0x144c97);case _0x437328(0xa7):{const _0x4a2f5d=_0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x25a156?.[_0x437328(0xd5)]?_0x437328(0x9a):_0x437328(0xc8));return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xea),[_0x4a2f5d,_0x144c97]);}case _0x437328(0xd8):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xdc),_0x144c97);case _0x437328(0xc6):case _0x437328(0xb3):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xb8));default:return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xcd));}}[_0x1b4b58(0xb6)](){const _0x182152=_0x1b4b58,_0x58e80a=new Date(),_0x3455c4=new Date(_0x58e80a[_0x182152(0xde)](),_0x58e80a[_0x182152(0xbd)](),_0x58e80a[_0x182152(0x94)]()),_0x4a594d=new Date(_0x3455c4);_0x4a594d[_0x182152(0xda)](_0x4a594d[_0x182152(0x94)]()-0x1);const _0x5cc4a7=new Date(_0x3455c4);_0x5cc4a7[_0x182152(0xda)](_0x5cc4a7[_0x182152(0x94)]()-0xe);const _0xf8d95c=this[_0x182152(0x95)][_0x182152(0xd0)]({'pinned':!0x0}),_0x17c1b3=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x3455c4,'to':_0x3455c4}),_0x11f50c=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x4a594d,'to':_0x4a594d}),_0x38170b=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x5cc4a7,'to':_0x4a594d}),_0x16aee3=this[_0x182152(0x95)][_0x182152(0xd0)]({'to':_0x5cc4a7}),_0x25ed9a=[];return _0xf8d95c[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0x9b)),'items':_0xf8d95c}),_0x17c1b3[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xab)),'items':_0x17c1b3}),_0x11f50c[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xbb)),'items':_0x11f50c}),_0x38170b[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xdd)),'items':_0x38170b}),_0x16aee3[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xeb)),'items':_0x16aee3}),_0x25ed9a;}[_0x1b4b58(0xa2)](_0x5453d2){const _0x27b46f=_0x1b4b58;this[_0x27b46f(0xd4)][_0x27b46f(0xaa)](_0x5453d2);}}