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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichathistory/aichathistory.js +1 -1
  60. package/src/aichathistory/aichathistorycontroller.js +1 -1
  61. package/src/aichathistory/aichathistoryui.js +1 -1
  62. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  63. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  64. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  65. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  68. package/src/aicore/aiconnector.js +1 -1
  69. package/src/aicore/aiediting.js +1 -1
  70. package/src/aicore/model/aicapabilities.js +1 -1
  71. package/src/aicore/model/aiinteraction.js +1 -1
  72. package/src/aicore/model/aimodels.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentposition.js +1 -1
  85. package/src/aicore/utils/documentrange.js +1 -1
  86. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  87. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  88. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  89. package/src/aicore/utils/htmlparser.js +1 -1
  90. package/src/aicore/utils/htmlstreamer.js +1 -1
  91. package/src/aicore/utils/scrollmanager.js +1 -1
  92. package/src/aieditorintegration/aieditorintegration.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  94. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  95. package/src/aiquickactions/aiquickactions.js +1 -1
  96. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  97. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  98. package/src/aiquickactions/aiquickactionsui.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  103. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  104. package/src/aireviewmode/aireviewmode.js +1 -1
  105. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  106. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  107. package/src/aireviewmode/aireviewmodeui.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  109. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  112. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  113. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  124. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  126. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  127. package/src/aitabs/aitabs.js +1 -1
  128. package/src/aitabs/tabs/aitabsview.js +1 -1
  129. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  130. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x253e5a=_0x3eb2;(function(_0xfc5c27,_0x3f972c){const _0x17896d=_0x3eb2,_0x5090e7=_0xfc5c27();while(!![]){try{const _0x5eafb5=-parseInt(_0x17896d(0x1e7))/0x1*(parseInt(_0x17896d(0x1f1))/0x2)+parseInt(_0x17896d(0x1dc))/0x3*(parseInt(_0x17896d(0x1e0))/0x4)+-parseInt(_0x17896d(0x1d7))/0x5*(parseInt(_0x17896d(0x1ea))/0x6)+-parseInt(_0x17896d(0x1d9))/0x7*(-parseInt(_0x17896d(0x1ed))/0x8)+parseInt(_0x17896d(0x1d8))/0x9*(-parseInt(_0x17896d(0x1f5))/0xa)+-parseInt(_0x17896d(0x1ec))/0xb+parseInt(_0x17896d(0x1e5))/0xc*(parseInt(_0x17896d(0x1da))/0xd);if(_0x5eafb5===_0x3f972c)break;else _0x5090e7['push'](_0x5090e7['shift']());}catch(_0x386509){_0x5090e7['push'](_0x5090e7['shift']());}}}(_0x5a73,0x5bf33));import{ButtonView as _0x474b9e,View as _0x136fb6}from'ckeditor5/src/ui.js';import{IconStop as _0x1b7a9b}from'ckeditor5/src/icons.js';function _0x3eb2(_0x4a6a6f,_0x27969d){const _0x5a73e9=_0x5a73();return _0x3eb2=function(_0x3eb2b9,_0x204d37){_0x3eb2b9=_0x3eb2b9-0x1d6;let _0x1aba08=_0x5a73e9[_0x3eb2b9];return _0x1aba08;},_0x3eb2(_0x4a6a6f,_0x27969d);}import{getTranslation as _0x4ddd59}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x136fb6{[_0x253e5a(0x1e1)];[_0x253e5a(0x1e9)];constructor(_0x13b53c){const _0x18098d=_0x253e5a;super(_0x13b53c),this[_0x18098d(0x1e1)]=this[_0x18098d(0x1e8)](),this[_0x18098d(0x1e9)]=this[_0x18098d(0x1d6)](),this[_0x18098d(0x1e3)]({'tag':_0x18098d(0x1eb),'attributes':{'class':['ck',_0x18098d(0x1e2),_0x18098d(0x1f2)]},'children':[this[_0x18098d(0x1e9)],this[_0x18098d(0x1e1)]]});}[_0x253e5a(0x1e8)](){const _0x3b61d6=_0x253e5a,_0x428976=new _0x474b9e(this[_0x3b61d6(0x1de)]);return _0x428976[_0x3b61d6(0x1dd)]({'label':_0x4ddd59(this[_0x3b61d6(0x1de)],_0x3b61d6(0x1df)),'withText':!0x0,'class':_0x3b61d6(0x1ee),'icon':_0x1b7a9b}),_0x428976['on'](_0x3b61d6(0x1f0),()=>{const _0xafe744=_0x3b61d6;this[_0xafe744(0x1ef)](_0xafe744(0x1e4));}),_0x428976;}[_0x253e5a(0x1d6)](){const _0x4a9c84=_0x253e5a,_0x242c16=new _0x136fb6(this[_0x4a9c84(0x1de)]);return _0x242c16[_0x4a9c84(0x1e3)]({'tag':_0x4a9c84(0x1eb),'attributes':{'class':[_0x4a9c84(0x1f4)]},'children':[{'tag':_0x4a9c84(0x1eb),'attributes':{'class':[_0x4a9c84(0x1f3)]},'children':[{'tag':_0x4a9c84(0x1eb),'attributes':{'class':[_0x4a9c84(0x1e6)]}},{'tag':_0x4a9c84(0x1eb),'attributes':{'class':[_0x4a9c84(0x1e6)]}},{'tag':_0x4a9c84(0x1eb),'attributes':{'class':[_0x4a9c84(0x1e6)]}}]},{'text':_0x4ddd59(this[_0x4a9c84(0x1de)],_0x4a9c84(0x1db))}]}),_0x242c16;}}function _0x5a73(){const _0x4e70ba=['14601574EwyVHi','AI_CHAT_IS_WRITING','3ywpXxa','set','locale','AI_CHAT_STOP_GENERATING','1722976rUahew','_cancelButtonView','ck-ai-chat-controls-loader-wrapper','setTemplate','abortPromptStream','12oviFMD','ck-ai-chat-controls-loader-icon-dot','5329ghUUDN','_createCancelButtonView','_loaderView','118824GTPZze','div','4513872VWMeyA','243888NXlInZ','ck-ai-button-secondary\x20ck-ai-button-stop-generating','fire','execute','164peQsgq','ck-reset_all','ck-ai-chat-controls-loader-icon','ck-ai-chat-controls-loader','190hQeugV','_createLoaderView','160hRdTfJ','116055qRcpor','126bdlhHV'];_0x5a73=function(){return _0x4e70ba;};return _0x5a73();}
23
+ function _0x1428(){const _0x31019a=['AI_CHAT_STOP_GENERATING','759478nivhXL','fire','ck-ai-chat-controls-loader-icon','10545sXolsj','ck-ai-chat-controls-loader-icon-dot','ck-reset_all','setTemplate','842139PtEWcQ','_createLoaderView','ck-ai-chat-controls-loader','84FHOhpT','_loaderView','execute','1600328VVXHaH','_createCancelButtonView','set','60UVYJlO','6176177gGbeDg','locale','285364FHADvd','ck-ai-button-secondary\x20ck-ai-button-stop-generating','AI_CHAT_IS_WRITING','abortPromptStream','ck-ai-chat-controls-loader-wrapper','div','_cancelButtonView','12186cWFNzn'];_0x1428=function(){return _0x31019a;};return _0x1428();}const _0x1ca029=_0x1108;(function(_0x182e44,_0x3c9b66){const _0xc30099=_0x1108,_0x533174=_0x182e44();while(!![]){try{const _0x29c095=-parseInt(_0xc30099(0xad))/0x1+-parseInt(_0xc30099(0xab))/0x2*(-parseInt(_0xc30099(0xbd))/0x3)+-parseInt(_0xc30099(0xc0))/0x4+parseInt(_0xc30099(0xb0))/0x5*(parseInt(_0xc30099(0xb7))/0x6)+parseInt(_0xc30099(0xbe))/0x7+parseInt(_0xc30099(0xba))/0x8+parseInt(_0xc30099(0xb4))/0x9;if(_0x29c095===_0x3c9b66)break;else _0x533174['push'](_0x533174['shift']());}catch(_0x35c8be){_0x533174['push'](_0x533174['shift']());}}}(_0x1428,0x7936a));import{ButtonView as _0x4ab602,View as _0xbcd2cb}from'ckeditor5/src/ui.js';function _0x1108(_0x5496f7,_0x34de4f){const _0x14281e=_0x1428();return _0x1108=function(_0x1108c8,_0x38363f){_0x1108c8=_0x1108c8-0xa7;let _0x6c485=_0x14281e[_0x1108c8];return _0x6c485;},_0x1108(_0x5496f7,_0x34de4f);}import{IconStop as _0x33d041}from'ckeditor5/src/icons.js';import{getTranslation as _0x375da6}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0xbcd2cb{[_0x1ca029(0xaa)];[_0x1ca029(0xb8)];constructor(_0x30732e){const _0xd416f3=_0x1ca029;super(_0x30732e),this[_0xd416f3(0xaa)]=this[_0xd416f3(0xbb)](),this[_0xd416f3(0xb8)]=this[_0xd416f3(0xb5)](),this[_0xd416f3(0xb3)]({'tag':_0xd416f3(0xa9),'attributes':{'class':['ck',_0xd416f3(0xa8),_0xd416f3(0xb2)]},'children':[this[_0xd416f3(0xb8)],this[_0xd416f3(0xaa)]]});}[_0x1ca029(0xbb)](){const _0x2d48d4=_0x1ca029,_0x539580=new _0x4ab602(this[_0x2d48d4(0xbf)]);return _0x539580[_0x2d48d4(0xbc)]({'label':_0x375da6(this[_0x2d48d4(0xbf)],_0x2d48d4(0xac)),'withText':!0x0,'class':_0x2d48d4(0xc1),'icon':_0x33d041}),_0x539580['on'](_0x2d48d4(0xb9),()=>{const _0x535833=_0x2d48d4;this[_0x535833(0xae)](_0x535833(0xa7));}),_0x539580;}[_0x1ca029(0xb5)](){const _0x412651=_0x1ca029,_0x443318=new _0xbcd2cb(this[_0x412651(0xbf)]);return _0x443318[_0x412651(0xb3)]({'tag':_0x412651(0xa9),'attributes':{'class':[_0x412651(0xb6)]},'children':[{'tag':_0x412651(0xa9),'attributes':{'class':[_0x412651(0xaf)]},'children':[{'tag':_0x412651(0xa9),'attributes':{'class':[_0x412651(0xb1)]}},{'tag':_0x412651(0xa9),'attributes':{'class':[_0x412651(0xb1)]}},{'tag':_0x412651(0xa9),'attributes':{'class':[_0x412651(0xb1)]}}]},{'text':_0x375da6(this[_0x412651(0xbf)],_0x412651(0xc2))}]}),_0x443318;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40fa94=_0x466d;(function(_0x49fab8,_0x2eec26){const _0x19becf=_0x466d,_0x1cebee=_0x49fab8();while(!![]){try{const _0x85838=-parseInt(_0x19becf(0x12a))/0x1+parseInt(_0x19becf(0x12c))/0x2+parseInt(_0x19becf(0xe3))/0x3*(parseInt(_0x19becf(0xd2))/0x4)+parseInt(_0x19becf(0x107))/0x5+parseInt(_0x19becf(0xd5))/0x6+parseInt(_0x19becf(0x105))/0x7*(-parseInt(_0x19becf(0xe5))/0x8)+-parseInt(_0x19becf(0xef))/0x9;if(_0x85838===_0x2eec26)break;else _0x1cebee['push'](_0x1cebee['shift']());}catch(_0x2e9d6c){_0x1cebee['push'](_0x1cebee['shift']());}}}(_0x4ed7,0xe2ad3));import{Collection as _0x20e192}from'ckeditor5/src/utils.js';import{IconAI as _0x34c174,IconBulb as _0x16fd0e,IconWeb as _0x294338}from'@ckeditor/ckeditor5-icons';function _0x4ed7(){const _0x6da2ee=['reasoning','startsWith','locale','ck-hidden','27QUGDCQ','_modelSelectionDropdown','970336nJiLgU','modelSelectorEnabled','content','_getCapabilityParts','AI_CHAT_CAPABILITIES_NO','_webSearchButton','setModel','webSearch','_createModelSelectionDropdown','setTemplate','1386783xhwVpF','_modelSelectionDropdownItems','style','length','_commandsButton','disableModelSelector','capabilities','buttonView','agent','AI_CHAT_REASONING','execute','ck-ai-chat-controls__model-selection__item-name','source','activeModelId','webSearchActive','_reasoningButton','description','selectModel','isEnabled','toggleReasoning','AI_CHAT_SEARCH_WEB','model','56IxVzTr','add','5682735IzwAmj','isVisible','ck-ai-chat-controls__model-name','bindTemplate','ck-ai-chat-controls__model-selection__item-description','_createModelNameView','setModelList','createCollection','setWebSearch','addMany','AI_CHAT_DISABLE_REASONING','bind','_createWebSearchButton','enableModelSelector','ck-ai-chat-controls-button--commands','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','text','toLowerCase','_modelNameView','name','_createReasoningButton','_createCommandsButton','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','isOn','ck-ai-chat-controls__model-selection__item-capabilities','AI_CHAT_CAPABILITIES_YES','AI_CHAT_COMMANDS','div','AI_CHAT_ENABLE_WEB_SEARCH','toggleWebSearch','button','listenTo','reasoningActive','extendTemplate','ck-ai-chat__prompt-capabilities','1747126YTQNlp','ck-ai-chat-controls__model-selection','3657384gOUjRg','withText','span','AI_CHAT_ENABLE_REASONING','Commands\x20are\x20not\x20implemented\x20yet.','setReasoning','enabled','ck-button__label','24844dJjZub','fire','clear','4673268scBUwW','set','modelSelectorVisible','activeModelName','log','tooltip','menuitemradio','ck-ai-chat-controls-button','label','AI_CHAT_DISABLE_WEB_SEARCH'];_0x4ed7=function(){return _0x6da2ee;};return _0x4ed7();}import{addListToDropdown as _0x492efe,ButtonLabelView as _0x52aa41,ButtonView as _0x3bae8a,createDropdown as _0x913079,IconView as _0x58437a,UIModel as _0x2ab8ec,View as _0x4c3299}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b7772}from'../../../aicore/utils/common-translations.js';function _0x466d(_0x298772,_0x3c6045){const _0x4ed7b9=_0x4ed7();return _0x466d=function(_0x466d8f,_0x553a5c){_0x466d8f=_0x466d8f-0xcb;let _0x43206d=_0x4ed7b9[_0x466d8f];return _0x43206d;},_0x466d(_0x298772,_0x3c6045);}const yo=_0x40fa94(0x129),Uo=_0x40fa94(0xdc),Go=_0x40fa94(0x115),jo=_0x40fa94(0x12b),Yo=_0x40fa94(0xfa),qo=_0x40fa94(0x10b),zo=_0x40fa94(0x11f),Fo='n';export class AIChatPromptCapabilitiesView extends _0x4c3299{[_0x40fa94(0xea)];[_0x40fa94(0xfe)];[_0x40fa94(0xf3)];[_0x40fa94(0xe4)];[_0x40fa94(0xf0)];[_0x40fa94(0x119)];constructor(_0x5667d9){const _0x1bc049=_0x40fa94;super(_0x5667d9),this[_0x1bc049(0xd6)](_0x1bc049(0xfd),!0x1),this[_0x1bc049(0xd6)](_0x1bc049(0x127),!0x1),this[_0x1bc049(0xd6)](_0x1bc049(0xd7),!0x0),this[_0x1bc049(0xd6)](_0x1bc049(0xe6),!0x0),this[_0x1bc049(0xd6)](_0x1bc049(0xfc),null),this[_0x1bc049(0xd6)](_0x1bc049(0xd8),null),this[_0x1bc049(0xe4)]=this[_0x1bc049(0xed)](),this[_0x1bc049(0x119)]=this[_0x1bc049(0x10c)](),this[_0x1bc049(0xea)]=this[_0x1bc049(0x113)](),this[_0x1bc049(0xfe)]=this[_0x1bc049(0x11b)](),this[_0x1bc049(0xf3)]=this[_0x1bc049(0x11c)](),this[_0x1bc049(0xe4)][_0x1bc049(0xf6)][_0x1bc049(0x112)](_0x1bc049(0x108))['to'](this,_0x1bc049(0xd7),_0x28751e=>_0x28751e),this[_0x1bc049(0xe4)][_0x1bc049(0xf6)][_0x1bc049(0x112)](_0x1bc049(0xda))['to'](this,_0x1bc049(0xe6),_0xe7f657=>_0xe7f657?this[_0x1bc049(0xe4)][_0x1bc049(0xf6)][_0x1bc049(0xdd)]:_0x3b7772(this[_0x1bc049(0xe1)],_0x1bc049(0x116))),this[_0x1bc049(0xe4)][_0x1bc049(0x112)](_0x1bc049(0x101))['to'](this,_0x1bc049(0xe6),_0x304a57=>_0x304a57),this[_0x1bc049(0xea)][_0x1bc049(0x112)](_0x1bc049(0x11e))['to'](this,_0x1bc049(0xfd),_0x4ac01d=>_0x4ac01d),this[_0x1bc049(0xea)][_0x1bc049(0x112)](_0x1bc049(0xcb))['to'](this,_0x1bc049(0xd7),_0x40afd5=>!_0x40afd5),this[_0x1bc049(0xea)][_0x1bc049(0x112)](_0x1bc049(0xda))['to'](this,_0x1bc049(0xfd),_0x46f7d3=>_0x3b7772(this[_0x1bc049(0xe1)],_0x46f7d3?_0x1bc049(0xde):_0x1bc049(0x123))),this[_0x1bc049(0xfe)][_0x1bc049(0x112)](_0x1bc049(0x11e))['to'](this,_0x1bc049(0x127),_0x5842d9=>_0x5842d9),this[_0x1bc049(0xfe)][_0x1bc049(0x112)](_0x1bc049(0xcb))['to'](this,_0x1bc049(0xd7),_0x5f0939=>!_0x5f0939),this[_0x1bc049(0xfe)][_0x1bc049(0x112)](_0x1bc049(0xda))['to'](this,_0x1bc049(0x127),_0x72cc3b=>_0x3b7772(this[_0x1bc049(0xe1)],_0x72cc3b?_0x1bc049(0x111):_0x1bc049(0xcd))),this[_0x1bc049(0xee)]({'tag':_0x1bc049(0x122),'attributes':{'class':[yo]},'children':[this[_0x1bc049(0xe4)],this[_0x1bc049(0x119)],this[_0x1bc049(0xea)],this[_0x1bc049(0xfe)],this[_0x1bc049(0xf3)]]}),this[_0x1bc049(0xf0)]=new _0x20e192(),_0x492efe(this[_0x1bc049(0xe4)],this[_0x1bc049(0xf0)]);}[_0x40fa94(0x10d)](_0x21da8a,_0x44c964){const _0x5688da=_0x40fa94;if(this[_0x5688da(0xd6)](_0x5688da(0xd7),!(_0x44c964&&_0x21da8a[_0x5688da(0xf2)]<=0x1)),this[_0x5688da(0xf0)][_0x5688da(0xd4)](),_0x21da8a?.[_0x5688da(0xf2)])for(const _0x281f35 of _0x21da8a){const _0x33fda5=new _0x2ab8ec({'label':_0x281f35[_0x5688da(0x11a)],'withText':!0x0,'role':_0x5688da(0xdb),'id':_0x281f35['id'],'model':_0x281f35});_0x33fda5[_0x5688da(0x112)](_0x5688da(0x11e))['to'](this,_0x5688da(0xfc),_0x23f744=>_0x23f744===_0x281f35['id']),this[_0x5688da(0xf0)][_0x5688da(0x106)]({'type':_0x5688da(0x125),'model':_0x33fda5,'labelView':new Us(this[_0x5688da(0xe1)],_0x281f35)});}}[_0x40fa94(0x10f)](_0x2e4a18){const _0x448237=_0x40fa94;this[_0x448237(0xd6)](_0x448237(0xfd),_0x2e4a18);}[_0x40fa94(0xcf)](_0xd85c84){const _0x10952b=_0x40fa94;this[_0x10952b(0xd6)](_0x10952b(0x127),_0xd85c84);}[_0x40fa94(0xeb)](_0x20ead0){const _0x5e8ee2=_0x40fa94;if(!_0x20ead0)return;this[_0x5e8ee2(0xfc)]=_0x20ead0['id'],this[_0x5e8ee2(0xd8)]=_0x20ead0[_0x5e8ee2(0x11a)]||_0x20ead0['id'],this[_0x5e8ee2(0xe4)][_0x5e8ee2(0xf6)][_0x5e8ee2(0xd6)](_0x5e8ee2(0xdd),_0x20ead0[_0x5e8ee2(0x11a)]),this[_0x5e8ee2(0xe4)][_0x5e8ee2(0xf6)][_0x5e8ee2(0xd6)](_0x5e8ee2(0xda),_0x20ead0[_0x5e8ee2(0x11a)]);const _0x85a768=_0x20ead0[_0x5e8ee2(0xf5)][_0x5e8ee2(0xec)]?.[_0x5e8ee2(0xd0)]??!0x1;this[_0x5e8ee2(0xd6)](_0x5e8ee2(0xfd),!0x1),this[_0x5e8ee2(0xea)][_0x5e8ee2(0xd6)](_0x5e8ee2(0x11e),!0x1),this[_0x5e8ee2(0xea)][_0x5e8ee2(0xd6)](_0x5e8ee2(0x101),_0x85a768),this[_0x5e8ee2(0xea)][_0x5e8ee2(0xd6)](_0x5e8ee2(0x108),_0x85a768);const _0x219608=_0x20ead0[_0x5e8ee2(0xf5)][_0x5e8ee2(0xdf)]?.[_0x5e8ee2(0xd0)]??!0x1;this[_0x5e8ee2(0xd6)](_0x5e8ee2(0x127),!0x1),this[_0x5e8ee2(0xfe)][_0x5e8ee2(0xd6)](_0x5e8ee2(0x11e),!0x1),this[_0x5e8ee2(0xfe)][_0x5e8ee2(0xd6)](_0x5e8ee2(0x101),_0x219608),this[_0x5e8ee2(0xfe)][_0x5e8ee2(0xd6)](_0x5e8ee2(0x108),_0x219608);}[_0x40fa94(0x114)](){const _0xc53ab3=_0x40fa94;this[_0xc53ab3(0xd6)](_0xc53ab3(0xe6),!0x0),this[_0xc53ab3(0xd6)](_0xc53ab3(0xd7),!0x0);}[_0x40fa94(0xf4)](_0x589a3b){const _0x18f5a9=_0x40fa94;this[_0x18f5a9(0xd6)](_0x18f5a9(0xe6),!0x1),_0x589a3b&&this[_0x18f5a9(0xd6)](_0x18f5a9(0xd7),!0x1);}[_0x40fa94(0x113)](){const _0x4be035=_0x40fa94,_0xcbfc39=new _0x3bae8a();return _0xcbfc39[_0x4be035(0xd6)]({'label':_0x3b7772(this[_0x4be035(0xe1)],_0x4be035(0x103)),'icon':_0x294338,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0xcbfc39['on'](_0x4be035(0xf9),()=>{const _0x2c80a7=_0x4be035;this[_0x2c80a7(0xd3)](_0x2c80a7(0x124));}),_0xcbfc39;}[_0x40fa94(0x11b)](){const _0x5ec8a8=_0x40fa94,_0x813eed=new _0x3bae8a();return _0x813eed[_0x5ec8a8(0xd6)]({'label':_0x3b7772(this[_0x5ec8a8(0xe1)],_0x5ec8a8(0xf8)),'icon':_0x16fd0e,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x813eed['on'](_0x5ec8a8(0xf9),()=>{const _0x3bf48e=_0x5ec8a8;this[_0x3bf48e(0xd3)](_0x3bf48e(0x102));}),_0x813eed;}[_0x40fa94(0x11c)](){const _0x3480be=_0x40fa94,_0x4ff296=new _0x3bae8a();return _0x4ff296[_0x3480be(0xd6)]({'label':_0x3b7772(this[_0x3480be(0xe1)],_0x3480be(0x121)),'icon':_0x34c174,'withText':!0x0,'class':Uo,'isToggleable':!0x0,'tooltip':_0x3b7772(this[_0x3480be(0xe1)],_0x3480be(0x121)),'tooltipPosition':Fo}),_0x4ff296[_0x3480be(0x128)]({'attributes':{'class':[Go]}}),_0x4ff296['on'](_0x3480be(0xf9),()=>{const _0x320d92=_0x3480be;console[_0x320d92(0xd9)](_0x320d92(0xce)),alert(_0x320d92(0xce));}),_0x4ff296;}[_0x40fa94(0xed)](){const _0x2c8c98=_0x40fa94,_0x391a61=_0x913079(this[_0x2c8c98(0xe1)]);return _0x391a61[_0x2c8c98(0xd6)]({'panelPosition':'ne','class':[jo]}),_0x391a61[_0x2c8c98(0xf6)][_0x2c8c98(0xd6)]({'label':_0x3b7772(this[_0x2c8c98(0xe1)],_0x2c8c98(0x11d)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x2c8c98(0x126)](_0x391a61,_0x2c8c98(0xf9),_0x2fbdbc=>{const _0x241c99=_0x2c8c98;this[_0x241c99(0xd3)](_0x241c99(0x100),_0x2fbdbc[_0x241c99(0xfb)][_0x241c99(0x104)]);}),_0x391a61;}[_0x40fa94(0x10c)](){const _0x4480fe=_0x40fa94,_0x3aa7eb=new Jo(this[_0x4480fe(0xe1)]);return _0x3aa7eb[_0x4480fe(0x112)](_0x4480fe(0x117))['to'](this,_0x4480fe(0xd8),_0x2b33d1=>_0x2b33d1??''),_0x3aa7eb[_0x4480fe(0x112)](_0x4480fe(0x108))['to'](this,_0x4480fe(0xd7),this,_0x4480fe(0xd8),(_0x87a588,_0x21f6c2)=>!_0x87a588&&!_0x21f6c2?.[_0x4480fe(0x118)]()[_0x4480fe(0xe0)](_0x4480fe(0xf7))),_0x3aa7eb;}}class Us extends _0x52aa41{constructor(_0x32ab17,_0x276cfe){const _0x28026d=_0x40fa94;super();const _0x2a3632=this[_0x28026d(0x10a)],_0x5e0fde=this[_0x28026d(0x10e)]();this[_0x28026d(0xee)]({'tag':_0x28026d(0x122),'attributes':{'class':['ck',_0x28026d(0xd1)],'style':_0x2a3632['to'](_0x28026d(0xf1)),'id':_0x2a3632['to']('id')},'children':[{'tag':_0x28026d(0x122),'attributes':{'class':[Yo]},'children':[{'text':_0x2a3632['to'](_0x28026d(0x117))}]},{'tag':_0x28026d(0x122),'attributes':{'class':[qo]},'children':[{'tag':_0x28026d(0xcc),'children':[{'text':_0x276cfe[_0x28026d(0xff)]}]}]},{'tag':_0x28026d(0x122),'attributes':{'class':[zo]},'children':_0x5e0fde}]}),_0x5e0fde[_0x28026d(0x110)](this[_0x28026d(0xe8)](_0x32ab17,_0x294338,_0x28026d(0x103),_0x276cfe[_0x28026d(0xf5)][_0x28026d(0xec)]?.[_0x28026d(0xd0)]??!0x1)),_0x5e0fde[_0x28026d(0x110)](this[_0x28026d(0xe8)](_0x32ab17,_0x16fd0e,_0x28026d(0xf8),_0x276cfe[_0x28026d(0xf5)][_0x28026d(0xdf)]?.[_0x28026d(0xd0)]??!0x1));}[_0x40fa94(0xe8)](_0x575fb7,_0x4deff5,_0x91c535,_0x12d71a){const _0x4ba3db=_0x40fa94,_0x2321cd=new _0x58437a();_0x2321cd[_0x4ba3db(0xe7)]=_0x4deff5;const _0x7d130f=new _0x4c3299(_0x575fb7);_0x7d130f[_0x4ba3db(0xee)]({'tag':_0x4ba3db(0xcc),'children':[{'text':_0x3b7772(_0x575fb7,_0x91c535)+':\x20'}]});const _0x501d5b=new _0x4c3299(_0x575fb7);return _0x501d5b[_0x4ba3db(0xee)]({'tag':_0x4ba3db(0xcc),'children':[{'text':_0x3b7772(_0x575fb7,_0x12d71a?_0x4ba3db(0x120):_0x4ba3db(0xe9))}]}),[_0x2321cd,_0x7d130f,_0x501d5b];}}class Jo extends _0x4c3299{constructor(_0x572858){const _0x591d1e=_0x40fa94;super(_0x572858),this[_0x591d1e(0xd6)](_0x591d1e(0x117),void 0x0),this[_0x591d1e(0xd6)](_0x591d1e(0x108),!0x0);const _0x1df650=this[_0x591d1e(0x10a)];this[_0x591d1e(0xee)]({'tag':_0x591d1e(0xcc),'attributes':{'class':['ck',_0x591d1e(0x109),_0x1df650['if'](_0x591d1e(0x108),_0x591d1e(0xe2),_0x34b86c=>!_0x34b86c)]},'children':[{'text':_0x1df650['to'](_0x591d1e(0x117))}]});}}
23
+ const _0x4a611a=_0x6dc5;(function(_0x56c2eb,_0x1221ad){const _0x5c6410=_0x6dc5,_0x481d70=_0x56c2eb();while(!![]){try{const _0x430c2c=-parseInt(_0x5c6410(0x185))/0x1*(parseInt(_0x5c6410(0x183))/0x2)+-parseInt(_0x5c6410(0x159))/0x3*(-parseInt(_0x5c6410(0x168))/0x4)+-parseInt(_0x5c6410(0x163))/0x5+parseInt(_0x5c6410(0x178))/0x6+parseInt(_0x5c6410(0x16e))/0x7+parseInt(_0x5c6410(0x1ae))/0x8*(-parseInt(_0x5c6410(0x189))/0x9)+parseInt(_0x5c6410(0x151))/0xa*(parseInt(_0x5c6410(0x16a))/0xb);if(_0x430c2c===_0x1221ad)break;else _0x481d70['push'](_0x481d70['shift']());}catch(_0x39800d){_0x481d70['push'](_0x481d70['shift']());}}}(_0x49eb,0xe03d6));import{Collection as _0x2482c9}from'ckeditor5/src/utils.js';import{IconAI as _0x4915b9,IconBulb as _0x2b7d2d,IconWeb as _0x30bc9f}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0xd3867,ButtonLabelView as _0x129e58,ButtonView as _0x168408,createDropdown as _0x3d1b97,IconView as _0x14bfe1,UIModel as _0x5659cd,View as _0x155b5a}from'ckeditor5/src/ui.js';import{getTranslation as _0x394b9a}from'../../../aicore/utils/common-translations.js';function _0x49eb(){const _0x3a69d3=['ck-button__label','addMany','ck-hidden','AI_CHAT_ENABLE_REASONING','isVisible','content','ck-ai-chat-controls__model-selection__item-name','reasoning','ck-ai-chat__prompt-capabilities','startsWith','webSearch','isEnabled','log','setReasoning','model','_getCapabilityParts','ck-ai-chat-controls__model-selection__item-capabilities','_modelSelectionDropdown','AI_CHAT_COMMANDS','buttonView','setWebSearch','ck-ai-chat-controls__model-selection','ck-ai-chat-controls__model-name','name','locale','8060792KShOLO','AI_CHAT_CAPABILITIES_NO','setTemplate','style','modelSelectorEnabled','clear','AI_CHAT_SEARCH_WEB','1150OANQSs','disableModelSelector','_createModelSelectionDropdown','bindTemplate','button','reasoningActive','AI_CHAT_ENABLE_WEB_SEARCH','set','724395uGuEhP','AI_CHAT_CAPABILITIES_YES','ck-ai-chat-controls-button','activeModelName','execute','_createReasoningButton','listenTo','createCollection','agent','ck-ai-chat-controls__model-selection__item-description','7779610utcCMy','enableModelSelector','_createWebSearchButton','bind','extendTemplate','28tElBBG','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','169587RsASVJ','capabilities','menuitemradio','add','3431008FNDQbD','toLowerCase','tooltip','setModelList','_modelSelectionDropdownItems','div','selectModel','withText','_createCommandsButton','toggleWebSearch','3261216yezSif','source','fire','AI_CHAT_DISABLE_REASONING','toggleReasoning','AI_CHAT_DISABLE_WEB_SEARCH','length','description','text','webSearchActive','ck-ai-chat-controls-button--commands','2029766RoXCMm','activeModelId','1WbVURb','_commandsButton','enabled','_webSearchButton','9hUTxDy','AI_CHAT_REASONING','_modelNameView','_reasoningButton','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','span','Commands\x20are\x20not\x20implemented\x20yet.','setModel','modelSelectorVisible','label','_createModelNameView','isOn'];_0x49eb=function(){return _0x3a69d3;};return _0x49eb();}const yo=_0x4a611a(0x19d),Oo=_0x4a611a(0x15b),Go=_0x4a611a(0x182),Yo=_0x4a611a(0x1aa),qo=_0x4a611a(0x19b),zo=_0x4a611a(0x162),Jo=_0x4a611a(0x1a5),Ko='n';export class AIChatPromptCapabilitiesView extends _0x155b5a{[_0x4a611a(0x188)];[_0x4a611a(0x18c)];[_0x4a611a(0x186)];[_0x4a611a(0x1a6)];[_0x4a611a(0x172)];[_0x4a611a(0x18b)];constructor(_0x4157e0){const _0x2991eb=_0x4a611a;super(_0x4157e0),this[_0x2991eb(0x158)](_0x2991eb(0x181),!0x1),this[_0x2991eb(0x158)](_0x2991eb(0x156),!0x1),this[_0x2991eb(0x158)](_0x2991eb(0x191),!0x0),this[_0x2991eb(0x158)](_0x2991eb(0x14e),!0x0),this[_0x2991eb(0x158)](_0x2991eb(0x184),null),this[_0x2991eb(0x158)](_0x2991eb(0x15c),null),this[_0x2991eb(0x1a6)]=this[_0x2991eb(0x153)](),this[_0x2991eb(0x18b)]=this[_0x2991eb(0x193)](),this[_0x2991eb(0x188)]=this[_0x2991eb(0x165)](),this[_0x2991eb(0x18c)]=this[_0x2991eb(0x15e)](),this[_0x2991eb(0x186)]=this[_0x2991eb(0x176)](),this[_0x2991eb(0x1a6)][_0x2991eb(0x1a8)][_0x2991eb(0x166)](_0x2991eb(0x199))['to'](this,_0x2991eb(0x191),_0x14999f=>_0x14999f),this[_0x2991eb(0x1a6)][_0x2991eb(0x1a8)][_0x2991eb(0x166)](_0x2991eb(0x170))['to'](this,_0x2991eb(0x14e),_0x2ddeb8=>_0x2ddeb8?this[_0x2991eb(0x1a6)][_0x2991eb(0x1a8)][_0x2991eb(0x192)]:_0x394b9a(this[_0x2991eb(0x1ad)],_0x2991eb(0x18d))),this[_0x2991eb(0x1a6)][_0x2991eb(0x166)](_0x2991eb(0x1a0))['to'](this,_0x2991eb(0x14e),_0x5903ac=>_0x5903ac),this[_0x2991eb(0x188)][_0x2991eb(0x166)](_0x2991eb(0x194))['to'](this,_0x2991eb(0x181),_0x55aa28=>_0x55aa28),this[_0x2991eb(0x188)][_0x2991eb(0x166)](_0x2991eb(0x175))['to'](this,_0x2991eb(0x191),_0x2c9923=>!_0x2c9923),this[_0x2991eb(0x188)][_0x2991eb(0x166)](_0x2991eb(0x170))['to'](this,_0x2991eb(0x181),_0x4ffeed=>_0x394b9a(this[_0x2991eb(0x1ad)],_0x4ffeed?_0x2991eb(0x17d):_0x2991eb(0x157))),this[_0x2991eb(0x18c)][_0x2991eb(0x166)](_0x2991eb(0x194))['to'](this,_0x2991eb(0x156),_0x11d074=>_0x11d074),this[_0x2991eb(0x18c)][_0x2991eb(0x166)](_0x2991eb(0x175))['to'](this,_0x2991eb(0x191),_0x3cbe75=>!_0x3cbe75),this[_0x2991eb(0x18c)][_0x2991eb(0x166)](_0x2991eb(0x170))['to'](this,_0x2991eb(0x156),_0x2c34b8=>_0x394b9a(this[_0x2991eb(0x1ad)],_0x2c34b8?_0x2991eb(0x17b):_0x2991eb(0x198))),this[_0x2991eb(0x14c)]({'tag':_0x2991eb(0x173),'attributes':{'class':[yo]},'children':[this[_0x2991eb(0x1a6)],this[_0x2991eb(0x18b)],this[_0x2991eb(0x188)],this[_0x2991eb(0x18c)],this[_0x2991eb(0x186)]]}),this[_0x2991eb(0x172)]=new _0x2482c9(),_0xd3867(this[_0x2991eb(0x1a6)],this[_0x2991eb(0x172)]);}[_0x4a611a(0x171)](_0x1482b9,_0x37547c){const _0x31aae2=_0x4a611a;if(this[_0x31aae2(0x158)](_0x31aae2(0x191),!(_0x37547c&&_0x1482b9[_0x31aae2(0x17e)]<=0x1)),this[_0x31aae2(0x172)][_0x31aae2(0x14f)](),_0x1482b9?.[_0x31aae2(0x17e)])for(const _0x23b03b of _0x1482b9){const _0x41a25a=new _0x5659cd({'label':_0x23b03b[_0x31aae2(0x1ac)],'withText':!0x0,'role':_0x31aae2(0x16c),'id':_0x23b03b['id'],'model':_0x23b03b});_0x41a25a[_0x31aae2(0x166)](_0x31aae2(0x194))['to'](this,_0x31aae2(0x184),_0x11cb06=>_0x11cb06===_0x23b03b['id']),this[_0x31aae2(0x172)][_0x31aae2(0x16d)]({'type':_0x31aae2(0x155),'model':_0x41a25a,'labelView':new mo(this[_0x31aae2(0x1ad)],_0x23b03b)});}}[_0x4a611a(0x1a9)](_0x1dbf52){const _0x19ff8c=_0x4a611a;this[_0x19ff8c(0x158)](_0x19ff8c(0x181),_0x1dbf52);}[_0x4a611a(0x1a2)](_0x30c7a1){const _0xec151d=_0x4a611a;this[_0xec151d(0x158)](_0xec151d(0x156),_0x30c7a1);}[_0x4a611a(0x190)](_0x210209){const _0x4c0763=_0x4a611a;if(!_0x210209)return;this[_0x4c0763(0x184)]=_0x210209['id'],this[_0x4c0763(0x15c)]=_0x210209[_0x4c0763(0x1ac)]||_0x210209['id'],this[_0x4c0763(0x1a6)][_0x4c0763(0x1a8)][_0x4c0763(0x158)](_0x4c0763(0x192),_0x210209[_0x4c0763(0x1ac)]),this[_0x4c0763(0x1a6)][_0x4c0763(0x1a8)][_0x4c0763(0x158)](_0x4c0763(0x170),_0x210209[_0x4c0763(0x1ac)]);const _0x3e94d0=_0x210209[_0x4c0763(0x16b)][_0x4c0763(0x19f)]?.[_0x4c0763(0x187)]??!0x1;this[_0x4c0763(0x158)](_0x4c0763(0x181),!0x1),this[_0x4c0763(0x188)][_0x4c0763(0x158)](_0x4c0763(0x194),!0x1),this[_0x4c0763(0x188)][_0x4c0763(0x158)](_0x4c0763(0x1a0),_0x3e94d0),this[_0x4c0763(0x188)][_0x4c0763(0x158)](_0x4c0763(0x199),_0x3e94d0);const _0x256f5e=_0x210209[_0x4c0763(0x16b)][_0x4c0763(0x19c)]?.[_0x4c0763(0x187)]??!0x1;this[_0x4c0763(0x158)](_0x4c0763(0x156),!0x1),this[_0x4c0763(0x18c)][_0x4c0763(0x158)](_0x4c0763(0x194),!0x1),this[_0x4c0763(0x18c)][_0x4c0763(0x158)](_0x4c0763(0x1a0),_0x256f5e),this[_0x4c0763(0x18c)][_0x4c0763(0x158)](_0x4c0763(0x199),_0x256f5e);}[_0x4a611a(0x164)](){const _0x405677=_0x4a611a;this[_0x405677(0x158)](_0x405677(0x14e),!0x0),this[_0x405677(0x158)](_0x405677(0x191),!0x0);}[_0x4a611a(0x152)](_0x486cf7){const _0x2f0e0c=_0x4a611a;this[_0x2f0e0c(0x158)](_0x2f0e0c(0x14e),!0x1),_0x486cf7&&this[_0x2f0e0c(0x158)](_0x2f0e0c(0x191),!0x1);}[_0x4a611a(0x165)](){const _0xa8bcb8=_0x4a611a,_0x51742f=new _0x168408();return _0x51742f[_0xa8bcb8(0x158)]({'label':_0x394b9a(this[_0xa8bcb8(0x1ad)],_0xa8bcb8(0x150)),'icon':_0x30bc9f,'class':Oo,'isToggleable':!0x0,'tooltipPosition':Ko}),_0x51742f['on'](_0xa8bcb8(0x15d),()=>{const _0x327e90=_0xa8bcb8;this[_0x327e90(0x17a)](_0x327e90(0x177));}),_0x51742f;}[_0x4a611a(0x15e)](){const _0x325419=_0x4a611a,_0x13b9da=new _0x168408();return _0x13b9da[_0x325419(0x158)]({'label':_0x394b9a(this[_0x325419(0x1ad)],_0x325419(0x18a)),'icon':_0x2b7d2d,'class':Oo,'isToggleable':!0x0,'tooltipPosition':Ko}),_0x13b9da['on'](_0x325419(0x15d),()=>{const _0x21467e=_0x325419;this[_0x21467e(0x17a)](_0x21467e(0x17c));}),_0x13b9da;}[_0x4a611a(0x176)](){const _0x6d86cd=_0x4a611a,_0x32b891=new _0x168408();return _0x32b891[_0x6d86cd(0x158)]({'label':_0x394b9a(this[_0x6d86cd(0x1ad)],_0x6d86cd(0x1a7)),'icon':_0x4915b9,'withText':!0x0,'class':Oo,'isToggleable':!0x0,'tooltip':_0x394b9a(this[_0x6d86cd(0x1ad)],_0x6d86cd(0x1a7)),'tooltipPosition':Ko}),_0x32b891[_0x6d86cd(0x167)]({'attributes':{'class':[Go]}}),_0x32b891['on'](_0x6d86cd(0x15d),()=>{const _0x241528=_0x6d86cd;console[_0x241528(0x1a1)](_0x241528(0x18f)),alert(_0x241528(0x18f));}),_0x32b891;}[_0x4a611a(0x153)](){const _0x1f39ae=_0x4a611a,_0x4cada9=_0x3d1b97(this[_0x1f39ae(0x1ad)]);return _0x4cada9[_0x1f39ae(0x158)]({'panelPosition':'ne','class':[Yo]}),_0x4cada9[_0x1f39ae(0x1a8)][_0x1f39ae(0x158)]({'label':_0x394b9a(this[_0x1f39ae(0x1ad)],_0x1f39ae(0x169)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Ko}),this[_0x1f39ae(0x15f)](_0x4cada9,_0x1f39ae(0x15d),_0x4d3d12=>{const _0x58c1e6=_0x1f39ae;this[_0x58c1e6(0x17a)](_0x58c1e6(0x174),_0x4d3d12[_0x58c1e6(0x179)][_0x58c1e6(0x1a3)]);}),_0x4cada9;}[_0x4a611a(0x193)](){const _0x337fdd=_0x4a611a,_0x224383=new Qo(this[_0x337fdd(0x1ad)]);return _0x224383[_0x337fdd(0x166)](_0x337fdd(0x180))['to'](this,_0x337fdd(0x15c),_0x1c02b0=>_0x1c02b0??''),_0x224383[_0x337fdd(0x166)](_0x337fdd(0x199))['to'](this,_0x337fdd(0x191),this,_0x337fdd(0x15c),(_0x2a553f,_0x47613d)=>!_0x2a553f&&!_0x47613d?.[_0x337fdd(0x16f)]()[_0x337fdd(0x19e)](_0x337fdd(0x161))),_0x224383;}}function _0x6dc5(_0x49d251,_0x92c378){const _0x49ebfa=_0x49eb();return _0x6dc5=function(_0x6dc5c7,_0x358021){_0x6dc5c7=_0x6dc5c7-0x14b;let _0x129c28=_0x49ebfa[_0x6dc5c7];return _0x129c28;},_0x6dc5(_0x49d251,_0x92c378);}class mo extends _0x129e58{constructor(_0x281647,_0x541748){const _0x1b6f44=_0x4a611a;super();const _0x4725df=this[_0x1b6f44(0x154)],_0xc5e191=this[_0x1b6f44(0x160)]();this[_0x1b6f44(0x14c)]({'tag':_0x1b6f44(0x173),'attributes':{'class':['ck',_0x1b6f44(0x195)],'style':_0x4725df['to'](_0x1b6f44(0x14d)),'id':_0x4725df['to']('id')},'children':[{'tag':_0x1b6f44(0x173),'attributes':{'class':[qo]},'children':[{'text':_0x4725df['to'](_0x1b6f44(0x180))}]},{'tag':_0x1b6f44(0x173),'attributes':{'class':[zo]},'children':[{'tag':_0x1b6f44(0x18e),'children':[{'text':_0x541748[_0x1b6f44(0x17f)]}]}]},{'tag':_0x1b6f44(0x173),'attributes':{'class':[Jo]},'children':_0xc5e191}]}),_0xc5e191[_0x1b6f44(0x196)](this[_0x1b6f44(0x1a4)](_0x281647,_0x30bc9f,_0x1b6f44(0x150),_0x541748[_0x1b6f44(0x16b)][_0x1b6f44(0x19f)]?.[_0x1b6f44(0x187)]??!0x1)),_0xc5e191[_0x1b6f44(0x196)](this[_0x1b6f44(0x1a4)](_0x281647,_0x2b7d2d,_0x1b6f44(0x18a),_0x541748[_0x1b6f44(0x16b)][_0x1b6f44(0x19c)]?.[_0x1b6f44(0x187)]??!0x1));}[_0x4a611a(0x1a4)](_0x263426,_0x5e16e2,_0x251e0d,_0x445f7e){const _0x5cec20=_0x4a611a,_0xa2dc1f=new _0x14bfe1();_0xa2dc1f[_0x5cec20(0x19a)]=_0x5e16e2;const _0x538e58=new _0x155b5a(_0x263426);_0x538e58[_0x5cec20(0x14c)]({'tag':_0x5cec20(0x18e),'children':[{'text':_0x394b9a(_0x263426,_0x251e0d)+':\x20'}]});const _0x51e16e=new _0x155b5a(_0x263426);return _0x51e16e[_0x5cec20(0x14c)]({'tag':_0x5cec20(0x18e),'children':[{'text':_0x394b9a(_0x263426,_0x445f7e?_0x5cec20(0x15a):_0x5cec20(0x14b))}]}),[_0xa2dc1f,_0x538e58,_0x51e16e];}}class Qo extends _0x155b5a{constructor(_0x365b48){const _0x313c13=_0x4a611a;super(_0x365b48),this[_0x313c13(0x158)](_0x313c13(0x180),void 0x0),this[_0x313c13(0x158)](_0x313c13(0x199),!0x0);const _0x311c53=this[_0x313c13(0x154)];this[_0x313c13(0x14c)]({'tag':_0x313c13(0x18e),'attributes':{'class':['ck',_0x313c13(0x1ab),_0x311c53['if'](_0x313c13(0x199),_0x313c13(0x197),_0x579500=>!_0x579500)]},'children':[{'text':_0x311c53['to'](_0x313c13(0x180))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bf497=_0x2cbb;function _0x4ccc(){const _0x3cfc99=['374lmpTke','8dIEwNQ','isUploadInProgress','add','minRows','target','3295gVEdEi','update','destroy','submit','focusableChildren','left','rtl','uiLanguageDirection','_queryViewResizeObserver','placeholder','submitButtonView','enter','MAX_ROWS','fieldView','setIsUploadInProgress','3431043LnKqez','isEmpty','2845533puPhEN','locale','requestAnimationFrame','excludeScrollbarsAndBorders','element','ck-ai-chat__prompt-submit-button','488pdCDLL','calc(','2875974mLvrLv','fire','render','value','style','_setUpAddContextButtonPositioning','set','_addContextButtonView','3317PnyUwT','reset','sendUserMessage','isEnabled','bind','3778137vUZSlT','errorText','queryView','MIN_ROWS','trim','px\x20-\x20var(--ck-spacing-tiny))','extendTemplate','hasError','AI_CHAT_LABEL_SUBMIT','window','ck-ai-chat__prompt-input','fieldWrapperChildren','_createSubmitButton','right','width','16189360bgTXmF','execute','keystrokes','maxRows','AI_CHAT_PROMPT_EMPTY_ERROR','setPlaceholderText'];_0x4ccc=function(){return _0x3cfc99;};return _0x4ccc();}function _0x2cbb(_0x8e85f2,_0x43e484){const _0x4cccf9=_0x4ccc();return _0x2cbb=function(_0x2cbb17,_0x53995f){_0x2cbb17=_0x2cbb17-0x145;let _0x284282=_0x4cccf9[_0x2cbb17];return _0x284282;},_0x2cbb(_0x8e85f2,_0x43e484);}(function(_0x57482b,_0x22c283){const _0x4ba31d=_0x2cbb,_0x196a4f=_0x57482b();while(!![]){try{const _0x27880b=-parseInt(_0x4ba31d(0x16d))/0x1*(parseInt(_0x4ba31d(0x146))/0x2)+-parseInt(_0x4ba31d(0x15d))/0x3+parseInt(_0x4ba31d(0x163))/0x4*(-parseInt(_0x4ba31d(0x14c))/0x5)+parseInt(_0x4ba31d(0x165))/0x6+parseInt(_0x4ba31d(0x15b))/0x7+-parseInt(_0x4ba31d(0x147))/0x8*(parseInt(_0x4ba31d(0x172))/0x9)+parseInt(_0x4ba31d(0x181))/0xa;if(_0x27880b===_0x22c283)break;else _0x196a4f['push'](_0x196a4f['shift']());}catch(_0x4fc523){_0x196a4f['push'](_0x196a4f['shift']());}}}(_0x4ccc,0x7ed09));import{IconSubmit as _0x520e82}from'ckeditor5/src/icons.js';import{ButtonView as _0x382d99,AutocompleteView as _0x96fa83,createLabeledTextarea as _0x5e046a}from'ckeditor5/src/ui.js';import{global as _0x122af6,isVisible as _0x156477,Rect as _0x12727d,ResizeObserver as _0x2aaca3}from'ckeditor5/src/utils.js';import{getTranslation as _0x3de0fc}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x3ae167}from'./aichatpromptsuggestionslistview.js';import{escape as _0xd018c0}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x96fa83{[_0x5bf497(0x156)];static [_0x5bf497(0x175)]=0x1;static [_0x5bf497(0x158)]=0xc;[_0x5bf497(0x16c)];[_0x5bf497(0x154)];constructor(_0x4b0d34,_0x45d5db){const _0x1dc6b7=_0x5bf497;super(_0x4b0d34,{'queryView':{'label':'','creator':_0x5e046a,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x3ae167(_0x4b0d34),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x1dc6b7(0x16b)](_0x1dc6b7(0x15c),!0x0),this[_0x1dc6b7(0x16b)](_0x1dc6b7(0x148),!0x1),this[_0x1dc6b7(0x16c)]=_0x45d5db,this[_0x1dc6b7(0x154)]=null,this[_0x1dc6b7(0x174)][_0x1dc6b7(0x159)][_0x1dc6b7(0x14a)]=AIChatPromptInputView[_0x1dc6b7(0x175)],this[_0x1dc6b7(0x174)][_0x1dc6b7(0x159)][_0x1dc6b7(0x184)]=AIChatPromptInputView[_0x1dc6b7(0x158)],this[_0x1dc6b7(0x174)][_0x1dc6b7(0x17d)][_0x1dc6b7(0x149)](this[_0x1dc6b7(0x16c)]),this[_0x1dc6b7(0x16a)](),this[_0x1dc6b7(0x178)]({'attributes':{'class':['ck',_0x1dc6b7(0x17c)]}}),this[_0x1dc6b7(0x156)]=this[_0x1dc6b7(0x17e)](),this[_0x1dc6b7(0x156)][_0x1dc6b7(0x171)](_0x1dc6b7(0x170))['to'](this,_0x1dc6b7(0x15c),this,_0x1dc6b7(0x148),(_0x3a7104,_0x5471d8)=>!_0x3a7104&&!_0x5471d8),this[_0x1dc6b7(0x150)][_0x1dc6b7(0x149)](this[_0x1dc6b7(0x156)]);}[_0x5bf497(0x167)](){const _0x59d26f=_0x5bf497;super[_0x59d26f(0x167)](),this[_0x59d26f(0x174)][_0x59d26f(0x17d)][_0x59d26f(0x149)](this[_0x59d26f(0x156)]),this[_0x59d26f(0x183)][_0x59d26f(0x16b)](_0x59d26f(0x157),(_0x281c76,_0x53bda7)=>{const _0x577b71=_0x59d26f;this[_0x577b71(0x148)]||this[_0x577b71(0x15c)]||_0x281c76[_0x577b71(0x14b)]==this[_0x577b71(0x174)][_0x577b71(0x159)][_0x577b71(0x161)]&&(this[_0x577b71(0x14f)](),_0x53bda7());}),this[_0x59d26f(0x174)][_0x59d26f(0x159)]['on'](_0x59d26f(0x14d),()=>{const _0x4857e6=_0x59d26f;this[_0x4857e6(0x15c)]=''===this[_0x4857e6(0x174)][_0x4857e6(0x159)][_0x4857e6(0x161)][_0x4857e6(0x168)]?.[_0x4857e6(0x176)]();});}[_0x5bf497(0x14e)](){const _0x2b42dd=_0x5bf497;super[_0x2b42dd(0x14e)](),this[_0x2b42dd(0x154)]&&this[_0x2b42dd(0x154)][_0x2b42dd(0x14e)]();}[_0x5bf497(0x14f)](){const _0x2b97f3=_0x5bf497,_0x2b3c7f=this[_0x2b97f3(0x174)][_0x2b97f3(0x159)][_0x2b97f3(0x161)][_0x2b97f3(0x168)]?.[_0x2b97f3(0x176)]();if(!_0x2b3c7f)return this[_0x2b97f3(0x174)][_0x2b97f3(0x173)]=_0x3de0fc(this[_0x2b97f3(0x15e)],_0x2b97f3(0x185)),void(this[_0x2b97f3(0x174)][_0x2b97f3(0x159)][_0x2b97f3(0x179)]=!0x0);this[_0x2b97f3(0x174)][_0x2b97f3(0x159)][_0x2b97f3(0x179)]=!0x1;const _0x1154df=_0xd018c0(_0x2b3c7f);this[_0x2b97f3(0x166)](_0x2b97f3(0x16f),_0x1154df),this[_0x2b97f3(0x174)][_0x2b97f3(0x159)][_0x2b97f3(0x16e)]();}[_0x5bf497(0x145)](_0x47186b){const _0x17e933=_0x5bf497;this[_0x17e933(0x174)][_0x17e933(0x159)][_0x17e933(0x16b)](_0x17e933(0x155),_0x47186b);}[_0x5bf497(0x17e)](){const _0x2536b8=_0x5bf497,_0x14b2e6=new _0x382d99(this[_0x2536b8(0x15e)]);return _0x14b2e6[_0x2536b8(0x16b)]({'icon':_0x520e82,'label':_0x3de0fc(this[_0x2536b8(0x15e)],_0x2536b8(0x17a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2536b8(0x162),'isEnabled':!0x1}),_0x14b2e6['on'](_0x2536b8(0x182),()=>{const _0x1a4183=_0x2536b8;this[_0x1a4183(0x14f)]();}),_0x14b2e6;}[_0x5bf497(0x15a)](_0x6efc33){const _0x208151=_0x5bf497;this[_0x208151(0x148)]=_0x6efc33;}[_0x5bf497(0x16a)](){const _0xf411fe=_0x5bf497,_0x27930b=this[_0xf411fe(0x15e)],_0x1363ea=()=>{const _0x46aedd=_0xf411fe;_0x122af6[_0x46aedd(0x17b)][_0x46aedd(0x15f)](()=>{const _0x11be10=_0x46aedd;if(_0x156477(this[_0x11be10(0x161)])){const _0x3fee49=new _0x12727d(this[_0x11be10(0x174)][_0x11be10(0x159)][_0x11be10(0x161)]),_0x5f5a7a=new _0x12727d(this[_0x11be10(0x16c)][_0x11be10(0x161)]),_0x2fcd50=_0x3fee49[_0x11be10(0x180)],_0x8bc40e=_0x11be10(0x152)===_0x27930b[_0x11be10(0x153)]?_0x11be10(0x17f):_0x11be10(0x151);_0x3fee49[_0x11be10(0x160)]();const _0x26a4b8=_0x2fcd50-_0x3fee49[_0x11be10(0x180)]+0x1;this[_0x11be10(0x16c)][_0x11be10(0x161)][_0x11be10(0x169)][_0x8bc40e]=_0x11be10(0x164)+(_0x2fcd50-_0x5f5a7a[_0x11be10(0x180)]-_0x26a4b8)+_0x11be10(0x177);}});};this[_0xf411fe(0x174)][_0xf411fe(0x159)]['on'](_0xf411fe(0x14d),_0x1363ea),this['on'](_0xf411fe(0x167),()=>{const _0x567eb2=_0xf411fe;_0x1363ea(),this[_0x567eb2(0x154)]=new _0x2aaca3(this[_0x567eb2(0x174)][_0x567eb2(0x159)][_0x567eb2(0x161)],()=>{_0x1363ea();});});}}
23
+ const _0x53db5e=_0x954a;(function(_0xbd7ead,_0x24d600){const _0x45a621=_0x954a,_0x53225e=_0xbd7ead();while(!![]){try{const _0x356de6=-parseInt(_0x45a621(0x187))/0x1+parseInt(_0x45a621(0x17d))/0x2+-parseInt(_0x45a621(0x1a8))/0x3+parseInt(_0x45a621(0x1a9))/0x4*(parseInt(_0x45a621(0x1a5))/0x5)+parseInt(_0x45a621(0x182))/0x6*(parseInt(_0x45a621(0x183))/0x7)+parseInt(_0x45a621(0x1af))/0x8+parseInt(_0x45a621(0x18b))/0x9;if(_0x356de6===_0x24d600)break;else _0x53225e['push'](_0x53225e['shift']());}catch(_0x5ad5c7){_0x53225e['push'](_0x53225e['shift']());}}}(_0x1590,0x3f2cd));function _0x1590(){const _0x42a3f7=['render','13460yYVIoH','AI_CHAT_LABEL_SUBMIT','element','1215633gVRmDM','12fBvyNJ','placeholder','_setUpAddContextButtonPositioning','style','execute','isEmpty','508616ZyOZPF','isEnabled','AI_CHAT_PROMPT_EMPTY_ERROR','submit','errorText','rtl','_createSubmitButton','ck-ai-chat__prompt-submit-button','set','add','width','fieldWrapperChildren','fieldView','value','140894oCAswB','MIN_ROWS','sendUserMessage','bind','maxRows','2052354fqELsx','7LHnKYv','calc(','_queryViewResizeObserver','update','16468sQFffB','setPlaceholderText','MAX_ROWS','right','1766565QpfKks','ck-ai-chat__prompt-input','queryView','uiLanguageDirection','setIsUploadInProgress','locale','_addContextButtonView','requestAnimationFrame','window','isUploadInProgress','hasError','focusableChildren','enter','keystrokes','px\x20-\x20var(--ck-spacing-tiny))','target','left','extendTemplate','reset','fire','trim','submitButtonView','destroy','excludeScrollbarsAndBorders','minRows'];_0x1590=function(){return _0x42a3f7;};return _0x1590();}import{IconSubmit as _0x1008fc}from'ckeditor5/src/icons.js';function _0x954a(_0x48fcc9,_0x54254e){const _0x15908a=_0x1590();return _0x954a=function(_0x954ad3,_0x400e89){_0x954ad3=_0x954ad3-0x171;let _0x23647b=_0x15908a[_0x954ad3];return _0x23647b;},_0x954a(_0x48fcc9,_0x54254e);}import{ButtonView as _0x1a8624,AutocompleteView as _0x4558a4,createLabeledTextarea as _0x487286}from'ckeditor5/src/ui.js';import{global as _0x4d4e53,isVisible as _0x31c5ca,Rect as _0x1f79ef,ResizeObserver as _0x356381}from'ckeditor5/src/utils.js';import{getTranslation as _0x4da6f4}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x19ba2c}from'./aichatpromptsuggestionslistview.js';import{escape as _0x30d83f}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x4558a4{[_0x53db5e(0x1a0)];static [_0x53db5e(0x17e)]=0x1;static [_0x53db5e(0x189)]=0xc;[_0x53db5e(0x191)];[_0x53db5e(0x185)];constructor(_0x54becd,_0x180a49){const _0xe80507=_0x53db5e;super(_0x54becd,{'queryView':{'label':'','creator':_0x487286,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x19ba2c(_0x54becd),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0xe80507(0x177)](_0xe80507(0x1ae),!0x0),this[_0xe80507(0x177)](_0xe80507(0x194),!0x1),this[_0xe80507(0x191)]=_0x180a49,this[_0xe80507(0x185)]=null,this[_0xe80507(0x18d)][_0xe80507(0x17b)][_0xe80507(0x1a3)]=AIChatPromptInputView[_0xe80507(0x17e)],this[_0xe80507(0x18d)][_0xe80507(0x17b)][_0xe80507(0x181)]=AIChatPromptInputView[_0xe80507(0x189)],this[_0xe80507(0x18d)][_0xe80507(0x17a)][_0xe80507(0x178)](this[_0xe80507(0x191)]),this[_0xe80507(0x1ab)](),this[_0xe80507(0x19c)]({'attributes':{'class':['ck',_0xe80507(0x18c)]}}),this[_0xe80507(0x1a0)]=this[_0xe80507(0x175)](),this[_0xe80507(0x1a0)][_0xe80507(0x180)](_0xe80507(0x1b0))['to'](this,_0xe80507(0x1ae),this,_0xe80507(0x194),(_0x521c64,_0x13d1b4)=>!_0x521c64&&!_0x13d1b4),this[_0xe80507(0x196)][_0xe80507(0x178)](this[_0xe80507(0x1a0)]);}[_0x53db5e(0x1a4)](){const _0x58bd5c=_0x53db5e;super[_0x58bd5c(0x1a4)](),this[_0x58bd5c(0x18d)][_0x58bd5c(0x17a)][_0x58bd5c(0x178)](this[_0x58bd5c(0x1a0)]),this[_0x58bd5c(0x198)][_0x58bd5c(0x177)](_0x58bd5c(0x197),(_0x466d4d,_0x351738)=>{const _0x588722=_0x58bd5c;this[_0x588722(0x194)]||this[_0x588722(0x1ae)]||_0x466d4d[_0x588722(0x19a)]==this[_0x588722(0x18d)][_0x588722(0x17b)][_0x588722(0x1a7)]&&(this[_0x588722(0x172)](),_0x351738());}),this[_0x58bd5c(0x18d)][_0x58bd5c(0x17b)]['on'](_0x58bd5c(0x186),()=>{const _0x215ebf=_0x58bd5c;this[_0x215ebf(0x1ae)]=''===this[_0x215ebf(0x18d)][_0x215ebf(0x17b)][_0x215ebf(0x1a7)][_0x215ebf(0x17c)]?.[_0x215ebf(0x19f)]();});}[_0x53db5e(0x1a1)](){const _0x5e6b70=_0x53db5e;super[_0x5e6b70(0x1a1)](),this[_0x5e6b70(0x185)]&&this[_0x5e6b70(0x185)][_0x5e6b70(0x1a1)]();}[_0x53db5e(0x172)](){const _0x49c258=_0x53db5e,_0x951ff8=this[_0x49c258(0x18d)][_0x49c258(0x17b)][_0x49c258(0x1a7)][_0x49c258(0x17c)]?.[_0x49c258(0x19f)]();if(!_0x951ff8)return this[_0x49c258(0x18d)][_0x49c258(0x173)]=_0x4da6f4(this[_0x49c258(0x190)],_0x49c258(0x171)),void(this[_0x49c258(0x18d)][_0x49c258(0x17b)][_0x49c258(0x195)]=!0x0);this[_0x49c258(0x18d)][_0x49c258(0x17b)][_0x49c258(0x195)]=!0x1;const _0x3b24bd=_0x30d83f(_0x951ff8);this[_0x49c258(0x19e)](_0x49c258(0x17f),_0x3b24bd),this[_0x49c258(0x18d)][_0x49c258(0x17b)][_0x49c258(0x19d)]();}[_0x53db5e(0x188)](_0x23417a){const _0x274239=_0x53db5e;this[_0x274239(0x18d)][_0x274239(0x17b)][_0x274239(0x177)](_0x274239(0x1aa),_0x23417a);}[_0x53db5e(0x175)](){const _0x50941c=_0x53db5e,_0x4614c2=new _0x1a8624(this[_0x50941c(0x190)]);return _0x4614c2[_0x50941c(0x177)]({'icon':_0x1008fc,'label':_0x4da6f4(this[_0x50941c(0x190)],_0x50941c(0x1a6)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x50941c(0x176),'isEnabled':!0x1}),_0x4614c2['on'](_0x50941c(0x1ad),()=>{const _0x667ac7=_0x50941c;this[_0x667ac7(0x172)]();}),_0x4614c2;}[_0x53db5e(0x18f)](_0xae254){const _0x1ec351=_0x53db5e;this[_0x1ec351(0x194)]=_0xae254;}[_0x53db5e(0x1ab)](){const _0x384e3b=_0x53db5e,_0x473696=this[_0x384e3b(0x190)],_0x14ddd5=()=>{const _0x4cea6a=_0x384e3b;_0x4d4e53[_0x4cea6a(0x193)][_0x4cea6a(0x192)](()=>{const _0x1d881b=_0x4cea6a;if(_0x31c5ca(this[_0x1d881b(0x1a7)])){const _0x36d06a=new _0x1f79ef(this[_0x1d881b(0x18d)][_0x1d881b(0x17b)][_0x1d881b(0x1a7)]),_0x50e83e=new _0x1f79ef(this[_0x1d881b(0x191)][_0x1d881b(0x1a7)]),_0xd3b89f=_0x36d06a[_0x1d881b(0x179)],_0x49fccc=_0x1d881b(0x174)===_0x473696[_0x1d881b(0x18e)]?_0x1d881b(0x18a):_0x1d881b(0x19b);_0x36d06a[_0x1d881b(0x1a2)]();const _0x5b90f4=_0xd3b89f-_0x36d06a[_0x1d881b(0x179)]+0x1;this[_0x1d881b(0x191)][_0x1d881b(0x1a7)][_0x1d881b(0x1ac)][_0x49fccc]=_0x1d881b(0x184)+(_0xd3b89f-_0x50e83e[_0x1d881b(0x179)]-_0x5b90f4)+_0x1d881b(0x199);}});};this[_0x384e3b(0x18d)][_0x384e3b(0x17b)]['on'](_0x384e3b(0x186),_0x14ddd5),this['on'](_0x384e3b(0x1a4),()=>{const _0x3095e9=_0x384e3b;_0x14ddd5(),this[_0x3095e9(0x185)]=new _0x356381(this[_0x3095e9(0x18d)][_0x3095e9(0x17b)][_0x3095e9(0x1a7)],()=>{_0x14ddd5();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b5b26=_0x5950;(function(_0x394b08,_0x155538){const _0x2e6af9=_0x5950,_0x4c0046=_0x394b08();while(!![]){try{const _0x3981ac=-parseInt(_0x2e6af9(0x8a))/0x1+parseInt(_0x2e6af9(0x8e))/0x2+-parseInt(_0x2e6af9(0x89))/0x3+-parseInt(_0x2e6af9(0x85))/0x4+-parseInt(_0x2e6af9(0x8b))/0x5*(parseInt(_0x2e6af9(0x86))/0x6)+parseInt(_0x2e6af9(0x84))/0x7+parseInt(_0x2e6af9(0x88))/0x8;if(_0x3981ac===_0x155538)break;else _0x4c0046['push'](_0x4c0046['shift']());}catch(_0x4d563b){_0x4c0046['push'](_0x4c0046['shift']());}}}(_0x4d77,0xcefc1));function _0x5950(_0x5ccb47,_0x15f15f){const _0x4d779e=_0x4d77();return _0x5950=function(_0x595058,_0x52b7b1){_0x595058=_0x595058-0x84;let _0x3a1aa6=_0x4d779e[_0x595058];return _0x3a1aa6;},_0x5950(_0x5ccb47,_0x15f15f);}import{ListView as _0x579386}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x579386{[_0x4b5b26(0x87)](){const _0x36bc8b=_0x4b5b26;let _0x173845=0x0;for(const _0x36318e of this[_0x36bc8b(0x8c)])_0x173845+=_0x36318e[_0x36bc8b(0x8c)][_0x36bc8b(0x8d)];return{'resultsCount':_0x173845,'totalItemsCount':_0x173845};}}function _0x4d77(){const _0x4133ac=['11548112sbhMON','2443539UBVKMl','1163447nQmcoP','25NQKhYp','items','length','2385062ZtyoLR','6582282AknPGq','1213648YDcAgN','536628QQkCNQ','filter'];_0x4d77=function(){return _0x4133ac;};return _0x4d77();}
23
+ const _0x4c72fc=_0x59ed;function _0x59ed(_0x21739f,_0x1c0b26){const _0x359a7b=_0x359a();return _0x59ed=function(_0x59edaf,_0x58cfc9){_0x59edaf=_0x59edaf-0x127;let _0xea5a1a=_0x359a7b[_0x59edaf];return _0xea5a1a;},_0x59ed(_0x21739f,_0x1c0b26);}(function(_0x252b7d,_0x3c1671){const _0x2efac4=_0x59ed,_0x5effdf=_0x252b7d();while(!![]){try{const _0x2d14d5=-parseInt(_0x2efac4(0x129))/0x1+-parseInt(_0x2efac4(0x133))/0x2*(parseInt(_0x2efac4(0x130))/0x3)+parseInt(_0x2efac4(0x12e))/0x4+-parseInt(_0x2efac4(0x12f))/0x5*(-parseInt(_0x2efac4(0x131))/0x6)+-parseInt(_0x2efac4(0x128))/0x7*(parseInt(_0x2efac4(0x12b))/0x8)+parseInt(_0x2efac4(0x12c))/0x9+parseInt(_0x2efac4(0x12a))/0xa;if(_0x2d14d5===_0x3c1671)break;else _0x5effdf['push'](_0x5effdf['shift']());}catch(_0x215f95){_0x5effdf['push'](_0x5effdf['shift']());}}}(_0x359a,0x86c4a));import{ListView as _0x1a2558}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x1a2558{[_0x4c72fc(0x127)](){const _0xaf9d79=_0x4c72fc;let _0x441cf3=0x0;for(const _0x4183ed of this[_0xaf9d79(0x12d)])_0x441cf3+=_0x4183ed[_0xaf9d79(0x12d)][_0xaf9d79(0x132)];return{'resultsCount':_0x441cf3,'totalItemsCount':_0x441cf3};}}function _0x359a(){const _0x2477ab=['12FHzzGv','length','4sotVLz','filter','1037582NTETYZ','470726cNgewI','1884720vxUuNM','8IAsrDp','2869029FReSBK','items','3622452tMNuJA','419295bjhgMX','614433Xvszhp'];_0x359a=function(){return _0x2477ab;};return _0x359a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b66b6=_0x35cd;(function(_0x173570,_0x5b8d99){const _0x2d8c08=_0x35cd,_0x48af9c=_0x173570();while(!![]){try{const _0x7271ba=-parseInt(_0x2d8c08(0x153))/0x1*(parseInt(_0x2d8c08(0x141))/0x2)+-parseInt(_0x2d8c08(0x157))/0x3*(parseInt(_0x2d8c08(0x15a))/0x4)+parseInt(_0x2d8c08(0x14c))/0x5*(parseInt(_0x2d8c08(0x14b))/0x6)+-parseInt(_0x2d8c08(0x15d))/0x7+parseInt(_0x2d8c08(0x149))/0x8+-parseInt(_0x2d8c08(0x15f))/0x9+parseInt(_0x2d8c08(0x150))/0xa;if(_0x7271ba===_0x5b8d99)break;else _0x48af9c['push'](_0x48af9c['shift']());}catch(_0x1845f3){_0x48af9c['push'](_0x48af9c['shift']());}}}(_0xd658,0xf12ec));function _0xd658(){const _0x771861=['setResources','113057qoqGWr','filter','resource','label','153117hpDiOK','highlightText','execute','52iljkem','useDefaultFiltering','addResourceToContext','1481200FZYBfC','trim','6069132MpSBBO','replace','test','6NzmsPv','extendTemplate','updateResourceState','items','clear','add','\x5c$&','forEach','15376416ZVhWZH','_handleResourceSelection','7062Dhjhoh','340UzLMHs','_source','ck-ai-chat-resources__list','fire','8744220QkxjQR','locale'];_0xd658=function(){return _0x771861;};return _0xd658();}function _0x35cd(_0x2ef2ae,_0x479bc3){const _0xd6587f=_0xd658();return _0x35cd=function(_0x35cd8b,_0x462d62){_0x35cd8b=_0x35cd8b-0x141;let _0xdda121=_0xd6587f[_0x35cd8b];return _0xdda121;},_0x35cd(_0x2ef2ae,_0x479bc3);}import{ListView as _0x269735}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x132204}from'./aichatresourcelistitemview.js';const oc=_0x2b66b6(0x14e);export class AIChatContextResourcesListView extends _0x269735{[_0x2b66b6(0x14d)];constructor(_0x3f031e,_0x368c5a){const _0x1b7d1a=_0x2b66b6;super(_0x3f031e),this[_0x1b7d1a(0x14d)]=_0x368c5a,this[_0x1b7d1a(0x142)]({'attributes':{'class':[oc]}});}[_0x2b66b6(0x152)](_0x14d98d,_0x1bb8b3){const _0x34febe=_0x2b66b6;this[_0x34febe(0x144)][_0x34febe(0x145)]();let _0x1bcabb=_0x14d98d;if(this[_0x34febe(0x14d)][_0x34febe(0x15b)]&&_0x1bb8b3&&''!==_0x1bb8b3[_0x34febe(0x15e)]()){const _0x3ae36d=new RegExp(_0x1bb8b3[_0x34febe(0x160)](/[.*+?^${}()|[\]\\]/g,_0x34febe(0x147)),'gi');_0x1bcabb=_0x14d98d[_0x34febe(0x154)](_0x119a7d=>_0x3ae36d[_0x34febe(0x161)](_0x119a7d[_0x34febe(0x156)]));}for(const _0x1ad5b8 of _0x1bcabb){const _0x3a8b8f=new _0x132204(this[_0x34febe(0x151)],_0x1ad5b8);_0x3a8b8f['on'](_0x34febe(0x159),()=>{const _0x46b936=_0x34febe;this[_0x46b936(0x14a)](this[_0x46b936(0x14d)],_0x1ad5b8);}),this[_0x34febe(0x144)][_0x34febe(0x146)](_0x3a8b8f);}this[_0x34febe(0x14d)][_0x34febe(0x15b)]&&this[_0x34febe(0x158)](_0x1bb8b3);}[_0x2b66b6(0x158)](_0x822f36){const _0x12d2b8=_0x2b66b6;this[_0x12d2b8(0x14d)][_0x12d2b8(0x15b)]&&this[_0x12d2b8(0x144)][_0x12d2b8(0x148)](_0x1f2427=>{const _0x350503=_0x12d2b8;_0x1f2427[_0x350503(0x158)](_0x822f36);});}[_0x2b66b6(0x143)](_0x339935,_0x1f43b6){const _0x8b15e0=_0x2b66b6;for(const _0x3c0465 of this[_0x8b15e0(0x144)]){const _0x581e93=_0x3c0465;_0x581e93[_0x8b15e0(0x155)]['id']===_0x339935&&_0x581e93[_0x8b15e0(0x143)](_0x1f43b6);}}[_0x2b66b6(0x14a)](_0x445af7,_0x39f3ac){const _0x221763=_0x2b66b6;this[_0x221763(0x14f)](_0x221763(0x15c),{'source':_0x445af7,'resource':_0x39f3ac});}}
23
+ const _0x310068=_0x12e9;(function(_0x252fc9,_0x57c5a3){const _0x1c5ce5=_0x12e9,_0x91f80a=_0x252fc9();while(!![]){try{const _0x244db7=-parseInt(_0x1c5ce5(0x170))/0x1+parseInt(_0x1c5ce5(0x16c))/0x2*(-parseInt(_0x1c5ce5(0x172))/0x3)+parseInt(_0x1c5ce5(0x183))/0x4*(parseInt(_0x1c5ce5(0x186))/0x5)+-parseInt(_0x1c5ce5(0x18b))/0x6*(-parseInt(_0x1c5ce5(0x171))/0x7)+-parseInt(_0x1c5ce5(0x175))/0x8+-parseInt(_0x1c5ce5(0x17b))/0x9*(-parseInt(_0x1c5ce5(0x179))/0xa)+-parseInt(_0x1c5ce5(0x177))/0xb;if(_0x244db7===_0x57c5a3)break;else _0x91f80a['push'](_0x91f80a['shift']());}catch(_0x275a38){_0x91f80a['push'](_0x91f80a['shift']());}}}(_0x12ac,0xb8065));function _0x12ac(){const _0x4745a7=['140TlMAoq','resource','items','91395MkgIWu','add','clear','test','forEach','27834HzwMbp','locale','updateResourceState','1727058haORqa','\x5c$&','useDefaultFiltering','ck-ai-chat-resources__list','63991xnWzGG','1428eAFeFc','3iPZScM','label','addResourceToContext','5723472oWgYeL','replace','7282121nSrIAH','execute','14726090eeOrKq','fire','9jwlYPX','highlightText','_handleResourceSelection','_source','filter','setResources','extendTemplate','trim'];_0x12ac=function(){return _0x4745a7;};return _0x12ac();}import{ListView as _0xa4e139}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x45fc1e}from'./aichatresourcelistitemview.js';const rc=_0x310068(0x16f);function _0x12e9(_0x2dfba3,_0x58ea6a){const _0x12ac85=_0x12ac();return _0x12e9=function(_0x12e95e,_0x1d0926){_0x12e95e=_0x12e95e-0x16c;let _0x2b11a3=_0x12ac85[_0x12e95e];return _0x2b11a3;},_0x12e9(_0x2dfba3,_0x58ea6a);}export class AIChatContextResourcesListView extends _0xa4e139{[_0x310068(0x17e)];constructor(_0x9c12a6,_0x41525b){const _0x15cad8=_0x310068;super(_0x9c12a6),this[_0x15cad8(0x17e)]=_0x41525b,this[_0x15cad8(0x181)]({'attributes':{'class':[rc]}});}[_0x310068(0x180)](_0x2accec,_0x5b8b1f){const _0x170c56=_0x310068;this[_0x170c56(0x185)][_0x170c56(0x188)]();let _0x19c1a6=_0x2accec;if(this[_0x170c56(0x17e)][_0x170c56(0x16e)]&&_0x5b8b1f&&''!==_0x5b8b1f[_0x170c56(0x182)]()){const _0x318a3e=new RegExp(_0x5b8b1f[_0x170c56(0x176)](/[.*+?^${}()|[\]\\]/g,_0x170c56(0x16d)),'gi');_0x19c1a6=_0x2accec[_0x170c56(0x17f)](_0x1fd05a=>_0x318a3e[_0x170c56(0x189)](_0x1fd05a[_0x170c56(0x173)]));}for(const _0xeb6b1 of _0x19c1a6){const _0xb6435c=new _0x45fc1e(this[_0x170c56(0x18c)],_0xeb6b1);_0xb6435c['on'](_0x170c56(0x178),()=>{const _0x582cf4=_0x170c56;this[_0x582cf4(0x17d)](this[_0x582cf4(0x17e)],_0xeb6b1);}),this[_0x170c56(0x185)][_0x170c56(0x187)](_0xb6435c);}this[_0x170c56(0x17e)][_0x170c56(0x16e)]&&this[_0x170c56(0x17c)](_0x5b8b1f);}[_0x310068(0x17c)](_0x294bf4){const _0x1bfb2a=_0x310068;this[_0x1bfb2a(0x17e)][_0x1bfb2a(0x16e)]&&this[_0x1bfb2a(0x185)][_0x1bfb2a(0x18a)](_0x37c0a7=>{const _0x353b84=_0x1bfb2a;_0x37c0a7[_0x353b84(0x17c)](_0x294bf4);});}[_0x310068(0x18d)](_0xfd228d,_0x1547a4){const _0x11fc33=_0x310068;for(const _0x41f415 of this[_0x11fc33(0x185)]){const _0xe9473e=_0x41f415;_0xe9473e[_0x11fc33(0x184)]['id']===_0xfd228d&&_0xe9473e[_0x11fc33(0x18d)](_0x1547a4);}}[_0x310068(0x17d)](_0x119e02,_0x468017){const _0x407fe1=_0x310068;this[_0x407fe1(0x17a)](_0x407fe1(0x174),{'source':_0x119e02,'resource':_0x468017});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d1074=_0xda47;function _0xda47(_0x42208b,_0x83019b){const _0x3161aa=_0x3161();return _0xda47=function(_0xda4753,_0xaab11f){_0xda4753=_0xda4753-0x178;let _0x498e8e=_0x3161aa[_0xda4753];return _0x498e8e;},_0xda47(_0x42208b,_0x83019b);}(function(_0x36c4d5,_0x51967f){const _0x307a35=_0xda47,_0x349648=_0x36c4d5();while(!![]){try{const _0x4dba17=parseInt(_0x307a35(0x196))/0x1+-parseInt(_0x307a35(0x17c))/0x2+-parseInt(_0x307a35(0x17a))/0x3*(parseInt(_0x307a35(0x197))/0x4)+-parseInt(_0x307a35(0x193))/0x5+-parseInt(_0x307a35(0x194))/0x6+-parseInt(_0x307a35(0x1a4))/0x7+parseInt(_0x307a35(0x199))/0x8;if(_0x4dba17===_0x51967f)break;else _0x349648['push'](_0x349648['shift']());}catch(_0x260453){_0x349648['push'](_0x349648['shift']());}}}(_0x3161,0x28b5b));import{View as _0x4a0a05,ViewCollection as _0x29f2b5}from'ckeditor5/src/ui.js';function _0x3161(){const _0x597d81=['20chArQJ','length','10957016uoXOUg','search','_resourcesListView','aiChatResources','bindTemplate','_latestLoadResourcesUid','searchInputVisibleFrom','useDefaultFiltering','add','ck-hidden','delegate','2024911FNjLOX','ck-ai-chat-resources','getQuery','_createSkeletonView','_skeletonLoader','_source','166485mKZYTl','updateResourceState','658476OKggbl','_createSearchView','loadSourceResources','children','_searchInputVisibleFrom','_createSearchSection','highlightText','_searchView','ck\x20ck-search','set','locale','fire','setTemplate','addResourceToContext','isLoading','setResources','render','div','extendTemplate','source','has','loadResources','_searchSection','751775IquaRv','1464156JMKiBH','_createResourcesListView','87487KqtdyK'];_0x3161=function(){return _0x597d81;};return _0x3161();}import{uid as _0x4d6ef8}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x23eefb}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x152749}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x20eb25,SKELETON_DEFINITIONS as _0x466139}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x4a0a05{[_0x1d1074(0x183)];[_0x1d1074(0x192)];[_0x1d1074(0x180)];[_0x1d1074(0x19b)];[_0x1d1074(0x178)];[_0x1d1074(0x179)];[_0x1d1074(0x17f)];[_0x1d1074(0x19e)]=null;constructor(_0x59b4d6,_0x5888cf){const _0x2fb336=_0x1d1074;super(_0x59b4d6),this[_0x2fb336(0x179)]=_0x5888cf[_0x2fb336(0x18f)],this[_0x2fb336(0x180)]=_0x5888cf[_0x2fb336(0x19f)]??0x7,this[_0x2fb336(0x185)](_0x2fb336(0x18a),!0x0),this[_0x2fb336(0x183)]=this[_0x2fb336(0x17d)](),this[_0x2fb336(0x192)]=this[_0x2fb336(0x181)](),this[_0x2fb336(0x19b)]=this[_0x2fb336(0x195)](),this[_0x2fb336(0x178)]=this[_0x2fb336(0x1a7)](),this[_0x2fb336(0x17f)]=new _0x29f2b5([this[_0x2fb336(0x178)],this[_0x2fb336(0x19b)]]),this[_0x2fb336(0x188)]({'tag':_0x2fb336(0x18d),'attributes':{'class':_0x2fb336(0x1a5)},'children':this[_0x2fb336(0x17f)]});}[_0x1d1074(0x17d)](){const _0x54ecc1=_0x1d1074;return new _0x152749(this[_0x54ecc1(0x186)]);}[_0x1d1074(0x181)](){const _0x29acb8=_0x1d1074,_0x279a60=new _0x4a0a05(this[_0x29acb8(0x186)]);return _0x279a60[_0x29acb8(0x188)]({'tag':_0x29acb8(0x18d),'attributes':{'class':_0x29acb8(0x184)},'children':[this[_0x29acb8(0x183)]]}),this[_0x29acb8(0x183)]['on'](_0x29acb8(0x19a),(_0x37c90d,_0x350b72)=>{const _0x1777c7=_0x29acb8;this[_0x1777c7(0x191)](_0x350b72),this[_0x1777c7(0x179)][_0x1777c7(0x1a0)]&&this[_0x1777c7(0x19b)][_0x1777c7(0x182)](_0x350b72);}),_0x279a60;}[_0x1d1074(0x195)](){const _0x26d056=_0x1d1074,_0x226f62=new _0x23eefb(this[_0x26d056(0x186)],this[_0x26d056(0x179)]);return _0x226f62[_0x26d056(0x1a3)](_0x26d056(0x189))['to'](this),_0x226f62[_0x26d056(0x18e)]({'attributes':{'class':this[_0x26d056(0x19d)]['if'](_0x26d056(0x18a),_0x26d056(0x1a2))}}),_0x226f62;}[_0x1d1074(0x1a7)](){const _0x367b75=_0x1d1074,_0x23a1de=new _0x20eb25(this[_0x367b75(0x186)],_0x466139[_0x367b75(0x19c)]);return _0x23a1de[_0x367b75(0x18e)]({'attributes':{'class':[this[_0x367b75(0x19d)]['if'](_0x367b75(0x18a),_0x367b75(0x1a2),_0x1d380b=>!_0x1d380b)]}}),_0x23a1de;}[_0x1d1074(0x18c)](){const _0x30f7e8=_0x1d1074;super[_0x30f7e8(0x18c)](),this[_0x30f7e8(0x191)]('');}[_0x1d1074(0x191)](_0x38afba){const _0x2f3cc6=_0x1d1074,_0xf45474=_0x4d6ef8();this[_0x2f3cc6(0x19e)]=_0xf45474,this[_0x2f3cc6(0x187)](_0x2f3cc6(0x17e),{'sourceId':this[_0x2f3cc6(0x179)]['id'],'query':_0x38afba,'uid':_0xf45474}),this[_0x2f3cc6(0x18a)]=!0x0;}[_0x1d1074(0x18b)](_0x338775,_0x5eec1e){const _0x5994b=_0x1d1074;if(_0x5eec1e&&_0x5eec1e!==this[_0x5994b(0x19e)])return;const _0x5c4ba6=this[_0x5994b(0x179)][_0x5994b(0x1a0)]?this[_0x5994b(0x183)][_0x5994b(0x1a6)]():'';this[_0x5994b(0x19b)][_0x5994b(0x18b)](_0x338775,_0x5c4ba6),_0x338775[_0x5994b(0x198)]>=this[_0x5994b(0x180)]&&!this[_0x5994b(0x17f)][_0x5994b(0x190)](this[_0x5994b(0x192)])&&this[_0x5994b(0x17f)][_0x5994b(0x1a1)](this[_0x5994b(0x192)],0x0),requestAnimationFrame(()=>{const _0x5950a4=_0x5994b;this[_0x5950a4(0x18a)]=!0x1;});}[_0x1d1074(0x17b)](_0xaafb63,_0x24c437){const _0x1053e8=_0x1d1074;this[_0x1053e8(0x19b)][_0x1053e8(0x17b)](_0xaafb63,_0x24c437);}}
23
+ const _0x4bd8b2=_0x5880;(function(_0x5d8959,_0xbc80e2){const _0x9c37b2=_0x5880,_0x8969f6=_0x5d8959();while(!![]){try{const _0x50c965=-parseInt(_0x9c37b2(0x17c))/0x1*(-parseInt(_0x9c37b2(0x16e))/0x2)+parseInt(_0x9c37b2(0x16c))/0x3*(parseInt(_0x9c37b2(0x180))/0x4)+parseInt(_0x9c37b2(0x190))/0x5+-parseInt(_0x9c37b2(0x178))/0x6*(-parseInt(_0x9c37b2(0x17b))/0x7)+-parseInt(_0x9c37b2(0x198))/0x8*(-parseInt(_0x9c37b2(0x17d))/0x9)+parseInt(_0x9c37b2(0x17e))/0xa*(parseInt(_0x9c37b2(0x196))/0xb)+-parseInt(_0x9c37b2(0x197))/0xc;if(_0x50c965===_0xbc80e2)break;else _0x8969f6['push'](_0x8969f6['shift']());}catch(_0x13e3d9){_0x8969f6['push'](_0x8969f6['shift']());}}}(_0x4501,0x3faf3));function _0x5880(_0x11e174,_0x4ff689){const _0x450163=_0x4501();return _0x5880=function(_0x5880ce,_0x10cf38){_0x5880ce=_0x5880ce-0x165;let _0x455b2a=_0x450163[_0x5880ce];return _0x455b2a;},_0x5880(_0x11e174,_0x4ff689);}import{View as _0x1c273f,ViewCollection as _0x4352da}from'ckeditor5/src/ui.js';function _0x4501(){const _0x48453e=['locale','has','fire','1023qyOIRZ','11717640yxjNHo','8VKSTJu','_resourcesListView','extendTemplate','setResources','search','children','searchInputVisibleFrom','div','20925SvGtzt','updateResourceState','2pLQdLb','_searchInputVisibleFrom','aiChatResources','_searchSection','source','ck\x20ck-search','_createSearchView','bindTemplate','ck-hidden','_source','876bFMVKp','length','set','19509NejuxD','273668LJgjrA','417402QnBGEW','19630OTxerF','highlightText','152prSSbz','useDefaultFiltering','getQuery','render','loadResources','add','loadSourceResources','_latestLoadResourcesUid','_createSkeletonView','_skeletonLoader','_createResourcesListView','ck-ai-chat-resources','_createSearchSection','setTemplate','delegate','addResourceToContext','313820FvbSpA','_searchView','isLoading'];_0x4501=function(){return _0x48453e;};return _0x4501();}import{uid as _0x187695}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x17a7cb}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x537595}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0xfac724,SKELETON_DEFINITIONS as _0x421478}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x1c273f{[_0x4bd8b2(0x191)];[_0x4bd8b2(0x171)];[_0x4bd8b2(0x16f)];[_0x4bd8b2(0x165)];[_0x4bd8b2(0x189)];[_0x4bd8b2(0x177)];[_0x4bd8b2(0x169)];[_0x4bd8b2(0x187)]=null;constructor(_0x3fee6a,_0x57d6fd){const _0xd0d070=_0x4bd8b2;super(_0x3fee6a),this[_0xd0d070(0x177)]=_0x57d6fd[_0xd0d070(0x172)],this[_0xd0d070(0x16f)]=_0x57d6fd[_0xd0d070(0x16a)]??0x7,this[_0xd0d070(0x17a)](_0xd0d070(0x192),!0x0),this[_0xd0d070(0x191)]=this[_0xd0d070(0x174)](),this[_0xd0d070(0x171)]=this[_0xd0d070(0x18c)](),this[_0xd0d070(0x165)]=this[_0xd0d070(0x18a)](),this[_0xd0d070(0x189)]=this[_0xd0d070(0x188)](),this[_0xd0d070(0x169)]=new _0x4352da([this[_0xd0d070(0x189)],this[_0xd0d070(0x165)]]),this[_0xd0d070(0x18d)]({'tag':_0xd0d070(0x16b),'attributes':{'class':_0xd0d070(0x18b)},'children':this[_0xd0d070(0x169)]});}[_0x4bd8b2(0x174)](){const _0x1c5c36=_0x4bd8b2;return new _0x537595(this[_0x1c5c36(0x193)]);}[_0x4bd8b2(0x18c)](){const _0x4c3cdd=_0x4bd8b2,_0x57dff6=new _0x1c273f(this[_0x4c3cdd(0x193)]);return _0x57dff6[_0x4c3cdd(0x18d)]({'tag':_0x4c3cdd(0x16b),'attributes':{'class':_0x4c3cdd(0x173)},'children':[this[_0x4c3cdd(0x191)]]}),this[_0x4c3cdd(0x191)]['on'](_0x4c3cdd(0x168),(_0x1e2b62,_0x30f436)=>{const _0x2ddfc8=_0x4c3cdd;this[_0x2ddfc8(0x184)](_0x30f436),this[_0x2ddfc8(0x177)][_0x2ddfc8(0x181)]&&this[_0x2ddfc8(0x165)][_0x2ddfc8(0x17f)](_0x30f436);}),_0x57dff6;}[_0x4bd8b2(0x18a)](){const _0x1e4723=_0x4bd8b2,_0x4fb6ea=new _0x17a7cb(this[_0x1e4723(0x193)],this[_0x1e4723(0x177)]);return _0x4fb6ea[_0x1e4723(0x18e)](_0x1e4723(0x18f))['to'](this),_0x4fb6ea[_0x1e4723(0x166)]({'attributes':{'class':this[_0x1e4723(0x175)]['if'](_0x1e4723(0x192),_0x1e4723(0x176))}}),_0x4fb6ea;}[_0x4bd8b2(0x188)](){const _0x1dd381=_0x4bd8b2,_0x8cbfc=new _0xfac724(this[_0x1dd381(0x193)],_0x421478[_0x1dd381(0x170)]);return _0x8cbfc[_0x1dd381(0x166)]({'attributes':{'class':[this[_0x1dd381(0x175)]['if'](_0x1dd381(0x192),_0x1dd381(0x176),_0x1f9a2d=>!_0x1f9a2d)]}}),_0x8cbfc;}[_0x4bd8b2(0x183)](){const _0x1ffec2=_0x4bd8b2;super[_0x1ffec2(0x183)](),this[_0x1ffec2(0x184)]('');}[_0x4bd8b2(0x184)](_0x285fda){const _0x384fef=_0x4bd8b2,_0x494cc0=_0x187695();this[_0x384fef(0x187)]=_0x494cc0,this[_0x384fef(0x195)](_0x384fef(0x186),{'sourceId':this[_0x384fef(0x177)]['id'],'query':_0x285fda,'uid':_0x494cc0}),this[_0x384fef(0x192)]=!0x0;}[_0x4bd8b2(0x167)](_0x5adceb,_0x334c76){const _0x1e601c=_0x4bd8b2;if(_0x334c76&&_0x334c76!==this[_0x1e601c(0x187)])return;const _0x4b60bf=this[_0x1e601c(0x177)][_0x1e601c(0x181)]?this[_0x1e601c(0x191)][_0x1e601c(0x182)]():'';this[_0x1e601c(0x165)][_0x1e601c(0x167)](_0x5adceb,_0x4b60bf),_0x5adceb[_0x1e601c(0x179)]>=this[_0x1e601c(0x16f)]&&!this[_0x1e601c(0x169)][_0x1e601c(0x194)](this[_0x1e601c(0x171)])&&this[_0x1e601c(0x169)][_0x1e601c(0x185)](this[_0x1e601c(0x171)],0x0),requestAnimationFrame(()=>{const _0x258989=_0x1e601c;this[_0x258989(0x192)]=!0x1;});}[_0x4bd8b2(0x16d)](_0x2a3e7e,_0x55f426){const _0x300388=_0x4bd8b2;this[_0x300388(0x165)][_0x300388(0x16d)](_0x2a3e7e,_0x55f426);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20071b=_0x2042;(function(_0x2e626b,_0x43d5da){const _0x3bbc86=_0x2042,_0x53c02c=_0x2e626b();while(!![]){try{const _0x3d6a99=-parseInt(_0x3bbc86(0x1cc))/0x1+-parseInt(_0x3bbc86(0x1b2))/0x2*(parseInt(_0x3bbc86(0x1ac))/0x3)+parseInt(_0x3bbc86(0x1ba))/0x4+parseInt(_0x3bbc86(0x1b6))/0x5*(-parseInt(_0x3bbc86(0x1b4))/0x6)+parseInt(_0x3bbc86(0x1ab))/0x7+-parseInt(_0x3bbc86(0x1ca))/0x8*(parseInt(_0x3bbc86(0x1ce))/0x9)+parseInt(_0x3bbc86(0x1d7))/0xa*(parseInt(_0x3bbc86(0x1bb))/0xb);if(_0x3d6a99===_0x43d5da)break;else _0x53c02c['push'](_0x53c02c['shift']());}catch(_0x3ce09d){_0x53c02c['push'](_0x53c02c['shift']());}}}(_0x57b9,0xc8d1e));import{HighlightedTextView as _0xaa21b3,IconView as _0x5afdc1,ListItemView as _0x597d32}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x2848d4}from'es-toolkit/compat';import{AIContextItemType as _0x558001}from'../../../../aicore/model/aicontext.js';function _0x2042(_0x44f73c,_0x380d94){const _0x57b973=_0x57b9();return _0x2042=function(_0x20421f,_0x2fffa3){_0x20421f=_0x20421f-0x1ab;let _0x785eb4=_0x57b973[_0x20421f];return _0x785eb4;},_0x2042(_0x44f73c,_0x380d94);}function _0x57b9(){const _0x26a763=['updateResourceState','isVisible','6472664neMxjc','11BeUcgb','isInContext','getResourceIcon','_createIconView','FILE','highlightText','resource','content','URL','bindTemplate','TEXT','_iconView','span','_titleView','ck-ai-chat-resources__item','104jbXwGr','ck-hidden','844832OaIuXE','_updateIcon','822348QVpXvv','_createTitleView','extendTemplate','text','ck-ai-chat-resources__item-title','ck-ai-chat-resources__item__icon','set','_setupTemplate','label','40267880QlcaAi','289898QPBlvX','3PbvAhb','setTemplate','render','div','trim','ck-ai-chat-resources__item--in-context','3239398ecyrQy','execute','7268658LzZdcM','type','5blpbdr','DOCUMENT'];_0x57b9=function(){return _0x26a763;};return _0x57b9();}import{IconFileUpload as _0x528b53,IconCheck as _0x42ba94,IconDocument as _0x3c5ad7,IconDocumentOutline as _0x5b1342,IconLink as _0x3ebf1f}from'@ckeditor/ckeditor5-icons';const zr=_0x20071b(0x1c9),Gr=_0x20071b(0x1b1),Hr=_0x20071b(0x1d2),Jr=_0x20071b(0x1d3);export class AIChatResourceListItemView extends _0x597d32{[_0x20071b(0x1c1)];[_0x20071b(0x1c8)];[_0x20071b(0x1c6)];constructor(_0x23efc8,_0x42dc06){const _0x3e5843=_0x20071b;super(_0x23efc8),this[_0x3e5843(0x1c1)]=_0x42dc06,this[_0x3e5843(0x1d4)](_0x3e5843(0x1bc),!!_0x42dc06[_0x3e5843(0x1bc)]),this[_0x3e5843(0x1c8)]=this[_0x3e5843(0x1cf)](),this[_0x3e5843(0x1c6)]=this[_0x3e5843(0x1be)](),this[_0x3e5843(0x1d5)]();}[_0x20071b(0x1ae)](){const _0x58cf73=_0x20071b;super[_0x58cf73(0x1ae)]();}[_0x20071b(0x1bd)](_0x21dd8e){const _0x1573e1=_0x20071b;if(_0x21dd8e[_0x1573e1(0x1bc)])return _0x42ba94;switch(_0x21dd8e[_0x1573e1(0x1b5)]){case _0x558001[_0x1573e1(0x1b7)]:return _0x3c5ad7;case _0x558001[_0x1573e1(0x1c3)]:return _0x3ebf1f;case _0x558001[_0x1573e1(0x1bf)]:case _0x558001[_0x1573e1(0x1c5)]:return _0x528b53;default:return _0x5b1342;}}[_0x20071b(0x1c0)](_0x208071){const _0x4d6adc=_0x20071b;if(!_0x208071||''===_0x208071[_0x4d6adc(0x1b0)]())return void this[_0x4d6adc(0x1c8)][_0x4d6adc(0x1c0)](null);const _0x138daf=new RegExp(_0x2848d4(_0x208071),'gi');this[_0x4d6adc(0x1c8)][_0x4d6adc(0x1c0)](_0x138daf);}[_0x20071b(0x1b8)](_0x2ca34c){const _0x35cd11=_0x20071b;this[_0x35cd11(0x1c1)][_0x35cd11(0x1bc)]=_0x2ca34c,this[_0x35cd11(0x1bc)]=_0x2ca34c,this[_0x35cd11(0x1cd)]();}[_0x20071b(0x1cf)](){const _0x44f070=_0x20071b,_0x1bfcfe=new _0xaa21b3();return _0x1bfcfe[_0x44f070(0x1d1)]=this[_0x44f070(0x1c1)][_0x44f070(0x1d6)],_0x1bfcfe[_0x44f070(0x1d0)]({'tag':_0x44f070(0x1c7),'attributes':{'class':[Hr]}}),_0x1bfcfe;}[_0x20071b(0x1be)](){const _0x2f2120=_0x20071b,_0x1c39b6=new _0x5afdc1();return _0x1c39b6[_0x2f2120(0x1c2)]=this[_0x2f2120(0x1bd)](this[_0x2f2120(0x1c1)]),_0x1c39b6;}[_0x20071b(0x1d5)](){const _0x5a0f9a=_0x20071b,_0x5764cb=this[_0x5a0f9a(0x1c4)];this[_0x5a0f9a(0x1ad)]({'tag':_0x5a0f9a(0x1af),'attributes':{'class':[zr,_0x5764cb['if'](_0x5a0f9a(0x1b9),_0x5a0f9a(0x1cb),_0x227840=>!_0x227840),_0x5764cb['if'](_0x5a0f9a(0x1bc),Gr)]},'children':[{'tag':_0x5a0f9a(0x1af),'attributes':{'class':[Jr]},'children':[this[_0x5a0f9a(0x1c6)]]},this[_0x5a0f9a(0x1c8)]],'on':{'click':_0x5764cb['to'](_0x5a0f9a(0x1b3))}});}[_0x20071b(0x1cd)](){const _0x359915=_0x20071b;this[_0x359915(0x1c6)][_0x359915(0x1c2)]=this[_0x359915(0x1bd)](this[_0x359915(0x1c1)]);}}
23
+ function _0x37c9(_0x15cbe7,_0x49d742){const _0x59daa5=_0x59da();return _0x37c9=function(_0x37c9a9,_0x8456a3){_0x37c9a9=_0x37c9a9-0x1dc;let _0xcd77ab=_0x59daa5[_0x37c9a9];return _0xcd77ab;},_0x37c9(_0x15cbe7,_0x49d742);}const _0x441bb6=_0x37c9;(function(_0x2d2bdf,_0x78f968){const _0x436620=_0x37c9,_0x3d06f2=_0x2d2bdf();while(!![]){try{const _0x295ef8=-parseInt(_0x436620(0x1dc))/0x1*(parseInt(_0x436620(0x201))/0x2)+-parseInt(_0x436620(0x1e8))/0x3+-parseInt(_0x436620(0x1e2))/0x4+-parseInt(_0x436620(0x1f1))/0x5+-parseInt(_0x436620(0x1f8))/0x6*(parseInt(_0x436620(0x1de))/0x7)+-parseInt(_0x436620(0x1e7))/0x8+parseInt(_0x436620(0x203))/0x9*(parseInt(_0x436620(0x1e1))/0xa);if(_0x295ef8===_0x78f968)break;else _0x3d06f2['push'](_0x3d06f2['shift']());}catch(_0x52fddf){_0x3d06f2['push'](_0x3d06f2['shift']());}}}(_0x59da,0xbfafc));import{HighlightedTextView as _0x41dd03,IconView as _0x10d675,ListItemView as _0x207630}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3a8c4d}from'es-toolkit/compat';import{AIContextItemType as _0x5d742c}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x2c573c,IconCheck as _0x4cf730,IconDocument as _0x24a6c5,IconDocumentOutline as _0x4421cc,IconLink as _0x6df427}from'@ckeditor/ckeditor5-icons';function _0x59da(){const _0x115ef3=['extendTemplate','set','URL','931360HcZwBG','_setupTemplate','div','setTemplate','text','highlightText','resource','807138OLdmKH','_createTitleView','span','_createIconView','DOCUMENT','execute','_iconView','_titleView','isInContext','198opLKgR','getResourceIcon','279hMLoRG','ck-ai-chat-resources__item-title','label','type','ck-ai-chat-resources__item__icon','10799KBZZkW','ck-ai-chat-resources__item','14LTffEk','ck-hidden','FILE','1017260GPRbDr','2777572ohPDEV','TEXT','trim','_updateIcon','render','474160rvttZF','270828ghYRyJ','bindTemplate','updateResourceState','content','isVisible','ck-ai-chat-resources__item--in-context'];_0x59da=function(){return _0x115ef3;};return _0x59da();}const Jr=_0x441bb6(0x1dd),Kr=_0x441bb6(0x1ed),Nr=_0x441bb6(0x204),Qr=_0x441bb6(0x207);export class AIChatResourceListItemView extends _0x207630{[_0x441bb6(0x1f7)];[_0x441bb6(0x1ff)];[_0x441bb6(0x1fe)];constructor(_0xfc7693,_0x428814){const _0x35686c=_0x441bb6;super(_0xfc7693),this[_0x35686c(0x1f7)]=_0x428814,this[_0x35686c(0x1ef)](_0x35686c(0x200),!!_0x428814[_0x35686c(0x200)]),this[_0x35686c(0x1ff)]=this[_0x35686c(0x1f9)](),this[_0x35686c(0x1fe)]=this[_0x35686c(0x1fb)](),this[_0x35686c(0x1f2)]();}[_0x441bb6(0x1e6)](){const _0xf53a2c=_0x441bb6;super[_0xf53a2c(0x1e6)]();}[_0x441bb6(0x202)](_0x95d72a){const _0x4405db=_0x441bb6;if(_0x95d72a[_0x4405db(0x200)])return _0x4cf730;switch(_0x95d72a[_0x4405db(0x206)]){case _0x5d742c[_0x4405db(0x1fc)]:return _0x24a6c5;case _0x5d742c[_0x4405db(0x1f0)]:return _0x6df427;case _0x5d742c[_0x4405db(0x1e0)]:case _0x5d742c[_0x4405db(0x1e3)]:return _0x2c573c;default:return _0x4421cc;}}[_0x441bb6(0x1f6)](_0x502b0f){const _0x404a1b=_0x441bb6;if(!_0x502b0f||''===_0x502b0f[_0x404a1b(0x1e4)]())return void this[_0x404a1b(0x1ff)][_0x404a1b(0x1f6)](null);const _0x29b763=new RegExp(_0x3a8c4d(_0x502b0f),'gi');this[_0x404a1b(0x1ff)][_0x404a1b(0x1f6)](_0x29b763);}[_0x441bb6(0x1ea)](_0x1c3eb8){const _0x1ca2cc=_0x441bb6;this[_0x1ca2cc(0x1f7)][_0x1ca2cc(0x200)]=_0x1c3eb8,this[_0x1ca2cc(0x200)]=_0x1c3eb8,this[_0x1ca2cc(0x1e5)]();}[_0x441bb6(0x1f9)](){const _0x31ffef=_0x441bb6,_0x421b83=new _0x41dd03();return _0x421b83[_0x31ffef(0x1f5)]=this[_0x31ffef(0x1f7)][_0x31ffef(0x205)],_0x421b83[_0x31ffef(0x1ee)]({'tag':_0x31ffef(0x1fa),'attributes':{'class':[Nr]}}),_0x421b83;}[_0x441bb6(0x1fb)](){const _0x22e9c5=_0x441bb6,_0x34d807=new _0x10d675();return _0x34d807[_0x22e9c5(0x1eb)]=this[_0x22e9c5(0x202)](this[_0x22e9c5(0x1f7)]),_0x34d807;}[_0x441bb6(0x1f2)](){const _0x540663=_0x441bb6,_0x421c05=this[_0x540663(0x1e9)];this[_0x540663(0x1f4)]({'tag':_0x540663(0x1f3),'attributes':{'class':[Jr,_0x421c05['if'](_0x540663(0x1ec),_0x540663(0x1df),_0x2ee831=>!_0x2ee831),_0x421c05['if'](_0x540663(0x200),Kr)]},'children':[{'tag':_0x540663(0x1f3),'attributes':{'class':[Qr]},'children':[this[_0x540663(0x1fe)]]},this[_0x540663(0x1ff)]],'on':{'click':_0x421c05['to'](_0x540663(0x1fd))}});}[_0x441bb6(0x1e5)](){const _0x574245=_0x441bb6;this[_0x574245(0x1fe)][_0x574245(0x1eb)]=this[_0x574245(0x202)](this[_0x574245(0x1f7)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x227b(_0x5a8a91,_0x494488){const _0x598bd3=_0x598b();return _0x227b=function(_0x227ba4,_0x77385){_0x227ba4=_0x227ba4-0x87;let _0x5667ee=_0x598bd3[_0x227ba4];return _0x5667ee;},_0x227b(_0x5a8a91,_0x494488);}const _0x5b7ec2=_0x227b;function _0x598b(){const _0x16742a=['onBackToContext','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','822398xNanze','label','children','isVisible','onLoadSourceResources','_sourceResourceBalloons','1629762DVKqhe','onBalloonClosed','show','557565DpaPkX','_config','4145000buarbM','onResourceSelected','getLimiterElement','_addSourceResourceContent','populateSourceResourceBalloon','ck-ai-chat-context-controls__source-balloon-panel','change:isLoading','closeSourceResourceBalloon','isAnyResourceBalloonVisible','set','setResources','addResourceToContext','add','_locale','destroy','getTargetElement','_getResourcesViewFromBalloon','searchInputVisibleFrom','delete','_createBalloonHeader','values','element','pin','7212572oVcEXB','_createSourceResourceBalloonPanel','showSourceResourcesBalloon','extendTemplate','updateResourceState','clear','_createBackButton','12HZLsVS','ck-button-icon\x20ck-button-back','loadSourceResources','source','_bodyCollection','475823sRCiyQ','execute','_createBalloonResourcesView','8007706ABHTes','hide','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','once','resource','content','_setupSingleResourceBalloonClickOutsideHandler','get'];_0x598b=function(){return _0x16742a;};return _0x598b();}(function(_0x381a18,_0xf46bcb){const _0x10c6c2=_0x227b,_0x54d4e8=_0x381a18();while(!![]){try{const _0x33e0c0=parseInt(_0x10c6c2(0x91))/0x1+-parseInt(_0x10c6c2(0x9e))/0x2+-parseInt(_0x10c6c2(0xa4))/0x3+parseInt(_0x10c6c2(0xc0))/0x4+-parseInt(_0x10c6c2(0xa7))/0x5*(-parseInt(_0x10c6c2(0x8c))/0x6)+-parseInt(_0x10c6c2(0x94))/0x7+parseInt(_0x10c6c2(0xa9))/0x8;if(_0x33e0c0===_0xf46bcb)break;else _0x54d4e8['push'](_0x54d4e8['shift']());}catch(_0x392070){_0x54d4e8['push'](_0x54d4e8['shift']());}}}(_0x598b,0xe106a));import{BalloonPanelView as _0x410fcf,ButtonView as _0x417847,clickOutsideHandler as _0x581ac9,FormHeaderView as _0x2b32b5}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x54043c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x297102}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x17fb64}from'./aichatcontextresourcesview.js';const Nr=_0x5b7ec2(0xae),Xr=_0x5b7ec2(0x8d),Kr=_0x5b7ec2(0x96);export class AIChatResourcesBalloonView{[_0x5b7ec2(0xa3)]=new Map();[_0x5b7ec2(0x90)];[_0x5b7ec2(0xb6)];[_0x5b7ec2(0xa8)];constructor(_0x1b9dfb,_0x5f47bf,_0x2fb488){const _0x342cb3=_0x5b7ec2;this[_0x342cb3(0xb6)]=_0x1b9dfb,this[_0x342cb3(0x90)]=_0x5f47bf,this[_0x342cb3(0xa8)]=_0x2fb488;}[_0x5b7ec2(0x87)](_0x4a9054){const _0x2fe907=_0x5b7ec2;let _0x3a7af4=this[_0x2fe907(0xa3)][_0x2fe907(0x9b)](_0x4a9054['id']);_0x3a7af4||(_0x3a7af4=this[_0x2fe907(0xc1)](),this[_0x2fe907(0xa3)][_0x2fe907(0xb2)](_0x4a9054['id'],_0x3a7af4),this[_0x2fe907(0x9a)](_0x3a7af4)),this[_0x2fe907(0xac)](_0x3a7af4,_0x4a9054),_0x3a7af4[_0x2fe907(0xa6)]();const _0x2ad822=this[_0x2fe907(0xa8)][_0x2fe907(0xb8)]();_0x2ad822&&_0x3a7af4[_0x2fe907(0xbf)]({'target':_0x2ad822,'limiter':this[_0x2fe907(0xa8)][_0x2fe907(0xab)]()});}[_0x5b7ec2(0xad)](_0x20751b,_0x99a6a4,_0x58378a){const _0x37d8bb=_0x5b7ec2,_0x5b1218=this[_0x37d8bb(0xa3)][_0x37d8bb(0x9b)](_0x20751b);if(!_0x5b1218)return;const _0x1a59b5=this[_0x37d8bb(0xb9)](_0x5b1218);_0x1a59b5&&(_0x1a59b5[_0x37d8bb(0xb3)](_0x99a6a4,_0x58378a),_0x1a59b5[_0x37d8bb(0x97)](_0x37d8bb(0xaf),()=>{const _0x35e957=_0x37d8bb;_0x5b1218[_0x35e957(0xbf)]({'target':this[_0x35e957(0xa8)][_0x35e957(0xb8)](),'limiter':this[_0x35e957(0xa8)][_0x35e957(0xab)]()});}));}[_0x5b7ec2(0xb0)](_0x526257){const _0x140020=_0x5b7ec2,_0x2140bb=this[_0x140020(0xa3)][_0x140020(0x9b)](_0x526257);_0x2140bb&&requestAnimationFrame(()=>{const _0xaf4531=_0x140020;_0x2140bb[_0xaf4531(0x95)](),this[_0xaf4531(0xa3)][_0xaf4531(0xbb)](_0x526257),this[_0xaf4531(0xa8)][_0xaf4531(0xa5)]();});}[_0x5b7ec2(0xb1)](){const _0x220a30=_0x5b7ec2;for(const _0x5d7bee of this[_0x220a30(0xa3)][_0x220a30(0xbd)]())if(_0x5d7bee[_0x220a30(0xa1)])return!0x0;return!0x1;}[_0x5b7ec2(0x89)](_0x678b16,_0x2c33a0,_0x3778ea){const _0x19bf7e=_0x5b7ec2,_0x3fa257=this[_0x19bf7e(0xa3)][_0x19bf7e(0x9b)](_0x678b16);if(!_0x3fa257||!_0x3fa257[_0x19bf7e(0xa1)])return;const _0x166136=this[_0x19bf7e(0xa8)][_0x19bf7e(0xb8)]();if(!_0x166136)return;_0x3fa257[_0x19bf7e(0xbf)]({'target':_0x166136,'limiter':this[_0x19bf7e(0xa8)][_0x19bf7e(0xab)]()});const _0x12987c=this[_0x19bf7e(0xb9)](_0x3fa257);_0x12987c&&_0x12987c[_0x19bf7e(0x89)](_0x2c33a0,_0x3778ea);}[_0x5b7ec2(0xb7)](){const _0x1d8e16=_0x5b7ec2;for(const _0x2ed6b2 of this[_0x1d8e16(0xa3)][_0x1d8e16(0xbd)]())_0x2ed6b2[_0x1d8e16(0xb7)]();this[_0x1d8e16(0xa3)][_0x1d8e16(0x8a)]();}[_0x5b7ec2(0xc1)](){const _0x4128d9=_0x5b7ec2,_0x222867=new _0x410fcf(this[_0x4128d9(0xb6)]);return _0x222867[_0x4128d9(0x88)]({'attributes':{'class':Nr}}),this[_0x4128d9(0x90)][_0x4128d9(0xb5)](_0x222867),_0x222867;}[_0x5b7ec2(0xac)](_0x13ea3f,_0x4b3213){const _0x47a59a=_0x5b7ec2;_0x13ea3f[_0x47a59a(0x99)][_0x47a59a(0x8a)]();const _0x4f0c92=this[_0x47a59a(0xbc)](_0x13ea3f,_0x4b3213);_0x13ea3f[_0x47a59a(0x99)][_0x47a59a(0xb5)](_0x4f0c92);const _0x347568=this[_0x47a59a(0x93)](_0x4b3213);_0x13ea3f[_0x47a59a(0x99)][_0x47a59a(0xb5)](_0x347568);}[_0x5b7ec2(0xbc)](_0x4507a8,_0x6f2bc3){const _0x590451=_0x5b7ec2,_0x24ea5d=this[_0x590451(0x8b)](_0x4507a8),_0x275933=new _0x2b32b5(this[_0x590451(0xb6)],{'label':_0x6f2bc3[_0x590451(0x9f)],'class':Kr});return _0x275933[_0x590451(0xa0)][_0x590451(0xb5)](_0x24ea5d,0x0),_0x275933;}[_0x5b7ec2(0x8b)](_0x30c91d){const _0x2ed176=_0x5b7ec2,_0x395eef=new _0x417847(this[_0x2ed176(0xb6)]);return _0x395eef[_0x2ed176(0xb2)]({'icon':_0x54043c,'tooltip':_0x297102(this[_0x2ed176(0xb6)],_0x2ed176(0x9d)),'tooltipPosition':'n','class':Xr}),_0x395eef['on'](_0x2ed176(0x92),()=>{const _0x7fb6cb=_0x2ed176;_0x30c91d[_0x7fb6cb(0x95)](),this[_0x7fb6cb(0xa8)][_0x7fb6cb(0x9c)]();}),_0x395eef;}[_0x5b7ec2(0x93)](_0x11d8e2){const _0x50a087=_0x5b7ec2,_0x15cc53=new _0x17fb64(this[_0x50a087(0xb6)],{'source':_0x11d8e2,'searchInputVisibleFrom':this[_0x50a087(0xa8)][_0x50a087(0xba)]});return _0x15cc53['on'](_0x50a087(0x8e),(_0x5b52e3,_0x17b4c8)=>{const _0x44295d=_0x50a087;this[_0x44295d(0xa8)][_0x44295d(0xa2)](_0x17b4c8);}),_0x15cc53['on'](_0x50a087(0xb4),(_0x391a71,_0x1b4da4)=>{const _0x87075c=_0x50a087;this[_0x87075c(0xa8)][_0x87075c(0xaa)](_0x1b4da4[_0x87075c(0x8f)],_0x1b4da4[_0x87075c(0x98)]),this[_0x87075c(0xb0)](_0x11d8e2['id']);}),_0x15cc53;}[_0x5b7ec2(0xb9)](_0x2461ff){const _0x30c367=_0x5b7ec2,_0x25cd03=_0x2461ff[_0x30c367(0x99)][_0x30c367(0x9b)](0x1);return _0x25cd03 instanceof _0x17fb64?_0x25cd03:null;}[_0x5b7ec2(0x9a)](_0x477d9f){const _0x185edd=_0x5b7ec2;_0x581ac9({'emitter':_0x477d9f,'contextElements':[_0x477d9f[_0x185edd(0xbe)]],'callback':()=>{const _0x52b6d0=_0x185edd;_0x477d9f[_0x52b6d0(0x95)](),this[_0x52b6d0(0xa8)][_0x52b6d0(0xa5)]();},'activator':()=>_0x477d9f[_0x185edd(0xa1)]});}}
23
+ const _0x24c7ce=_0x4152;(function(_0x2056b9,_0x38b226){const _0x2c47b0=_0x4152,_0x1cbcb5=_0x2056b9();while(!![]){try{const _0x282610=parseInt(_0x2c47b0(0xed))/0x1+parseInt(_0x2c47b0(0xf6))/0x2*(parseInt(_0x2c47b0(0xe5))/0x3)+parseInt(_0x2c47b0(0xfd))/0x4+-parseInt(_0x2c47b0(0x112))/0x5*(-parseInt(_0x2c47b0(0x110))/0x6)+parseInt(_0x2c47b0(0xff))/0x7*(-parseInt(_0x2c47b0(0x10a))/0x8)+parseInt(_0x2c47b0(0x111))/0x9+-parseInt(_0x2c47b0(0xf5))/0xa;if(_0x282610===_0x38b226)break;else _0x1cbcb5['push'](_0x1cbcb5['shift']());}catch(_0x517d22){_0x1cbcb5['push'](_0x1cbcb5['shift']());}}}(_0x1c10,0x77d76));import{BalloonPanelView as _0x1415a6,ButtonView as _0x2bf840,clickOutsideHandler as _0x4436d2,FormHeaderView as _0x165dcb}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x264a83}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x210ecd}from'../../../../aicore/utils/common-translations.js';function _0x1c10(){const _0x268e9c=['5576490eIsggG','2165wfRBuy','once','onLoadSourceResources','set','_createBackButton','setResources','add','onBalloonClosed','populateSourceResourceBalloon','_getResourcesViewFromBalloon','content','resource','hide','ck-ai-chat-context-controls__source-balloon-panel','change:isLoading','_createSourceResourceBalloonPanel','6fPpHEt','values','_setupSingleResourceBalloonClickOutsideHandler','extendTemplate','_addSourceResourceContent','_createBalloonResourcesView','getLimiterElement','_createBalloonHeader','500613vpnllz','getTargetElement','_bodyCollection','source','_config','clear','_sourceResourceBalloons','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','9536150lndtCR','346846BLvQSL','loadSourceResources','label','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','updateResourceState','destroy','children','452732QwgrPx','closeSourceResourceBalloon','56RcNluI','isVisible','element','ck-button-icon\x20ck-button-back','addResourceToContext','get','_locale','show','showSourceResourcesBalloon','pin','isAnyResourceBalloonVisible','229728ccOeYy','delete','execute','searchInputVisibleFrom','onBackToContext','onResourceSelected','1302bSfeQv'];_0x1c10=function(){return _0x268e9c;};return _0x1c10();}function _0x4152(_0x4f8ee6,_0x429a3c){const _0x1c1019=_0x1c10();return _0x4152=function(_0x4152c4,_0x46ce0b){_0x4152c4=_0x4152c4-0xd7;let _0x59e352=_0x1c1019[_0x4152c4];return _0x59e352;},_0x4152(_0x4f8ee6,_0x429a3c);}import{AIChatContextResourcesView as _0xa39079}from'./aichatcontextresourcesview.js';const Wr=_0x24c7ce(0xe2),Yr=_0x24c7ce(0x102),Zr=_0x24c7ce(0xf4);export class AIChatResourcesBalloonView{[_0x24c7ce(0xf3)]=new Map();[_0x24c7ce(0xef)];[_0x24c7ce(0x105)];[_0x24c7ce(0xf1)];constructor(_0xc278da,_0x1361cd,_0x3ff1e2){const _0x4a3e37=_0x24c7ce;this[_0x4a3e37(0x105)]=_0xc278da,this[_0x4a3e37(0xef)]=_0x1361cd,this[_0x4a3e37(0xf1)]=_0x3ff1e2;}[_0x24c7ce(0x107)](_0x5d8d7b){const _0x43709f=_0x24c7ce;let _0x864859=this[_0x43709f(0xf3)][_0x43709f(0x104)](_0x5d8d7b['id']);_0x864859||(_0x864859=this[_0x43709f(0xe4)](),this[_0x43709f(0xf3)][_0x43709f(0xd8)](_0x5d8d7b['id'],_0x864859),this[_0x43709f(0xe7)](_0x864859)),this[_0x43709f(0xe9)](_0x864859,_0x5d8d7b),_0x864859[_0x43709f(0x106)]();const _0x4d9024=this[_0x43709f(0xf1)][_0x43709f(0xee)]();_0x4d9024&&_0x864859[_0x43709f(0x108)]({'target':_0x4d9024,'limiter':this[_0x43709f(0xf1)][_0x43709f(0xeb)]()});}[_0x24c7ce(0xdd)](_0x1260bc,_0x119116,_0x38e46d){const _0x131a33=_0x24c7ce,_0x3f80af=this[_0x131a33(0xf3)][_0x131a33(0x104)](_0x1260bc);if(!_0x3f80af)return;const _0x49406a=this[_0x131a33(0xde)](_0x3f80af);_0x49406a&&(_0x49406a[_0x131a33(0xda)](_0x119116,_0x38e46d),_0x49406a[_0x131a33(0x113)](_0x131a33(0xe3),()=>{const _0x46fc33=_0x131a33;_0x3f80af[_0x46fc33(0x108)]({'target':this[_0x46fc33(0xf1)][_0x46fc33(0xee)](),'limiter':this[_0x46fc33(0xf1)][_0x46fc33(0xeb)]()});}));}[_0x24c7ce(0xfe)](_0x3e8271){const _0x3b76b9=_0x24c7ce,_0x20adce=this[_0x3b76b9(0xf3)][_0x3b76b9(0x104)](_0x3e8271);_0x20adce&&requestAnimationFrame(()=>{const _0x32de85=_0x3b76b9;_0x20adce[_0x32de85(0xe1)](),this[_0x32de85(0xf3)][_0x32de85(0x10b)](_0x3e8271),this[_0x32de85(0xf1)][_0x32de85(0xdc)]();});}[_0x24c7ce(0x109)](){const _0x56ccf6=_0x24c7ce;for(const _0x2720d5 of this[_0x56ccf6(0xf3)][_0x56ccf6(0xe6)]())if(_0x2720d5[_0x56ccf6(0x100)])return!0x0;return!0x1;}[_0x24c7ce(0xfa)](_0x3d2956,_0x2b8dd7,_0x5c6c2a){const _0x3656aa=_0x24c7ce,_0x435097=this[_0x3656aa(0xf3)][_0x3656aa(0x104)](_0x3d2956);if(!_0x435097||!_0x435097[_0x3656aa(0x100)])return;const _0x57737c=this[_0x3656aa(0xf1)][_0x3656aa(0xee)]();if(!_0x57737c)return;_0x435097[_0x3656aa(0x108)]({'target':_0x57737c,'limiter':this[_0x3656aa(0xf1)][_0x3656aa(0xeb)]()});const _0xa472bc=this[_0x3656aa(0xde)](_0x435097);_0xa472bc&&_0xa472bc[_0x3656aa(0xfa)](_0x2b8dd7,_0x5c6c2a);}[_0x24c7ce(0xfb)](){const _0x8a8c49=_0x24c7ce;for(const _0x30902b of this[_0x8a8c49(0xf3)][_0x8a8c49(0xe6)]())_0x30902b[_0x8a8c49(0xfb)]();this[_0x8a8c49(0xf3)][_0x8a8c49(0xf2)]();}[_0x24c7ce(0xe4)](){const _0x11b493=_0x24c7ce,_0x3b28df=new _0x1415a6(this[_0x11b493(0x105)]);return _0x3b28df[_0x11b493(0xe8)]({'attributes':{'class':Wr}}),this[_0x11b493(0xef)][_0x11b493(0xdb)](_0x3b28df),_0x3b28df;}[_0x24c7ce(0xe9)](_0x259631,_0x198eff){const _0x45a1e5=_0x24c7ce;_0x259631[_0x45a1e5(0xdf)][_0x45a1e5(0xf2)]();const _0x53f3ab=this[_0x45a1e5(0xec)](_0x259631,_0x198eff);_0x259631[_0x45a1e5(0xdf)][_0x45a1e5(0xdb)](_0x53f3ab);const _0x3e11c8=this[_0x45a1e5(0xea)](_0x198eff);_0x259631[_0x45a1e5(0xdf)][_0x45a1e5(0xdb)](_0x3e11c8);}[_0x24c7ce(0xec)](_0x400f36,_0x5e24d1){const _0x415687=_0x24c7ce,_0x3ce1ab=this[_0x415687(0xd9)](_0x400f36),_0x19f3da=new _0x165dcb(this[_0x415687(0x105)],{'label':_0x5e24d1[_0x415687(0xf8)],'class':Zr});return _0x19f3da[_0x415687(0xfc)][_0x415687(0xdb)](_0x3ce1ab,0x0),_0x19f3da;}[_0x24c7ce(0xd9)](_0xdca50a){const _0x1ca2dd=_0x24c7ce,_0x52f36e=new _0x2bf840(this[_0x1ca2dd(0x105)]);return _0x52f36e[_0x1ca2dd(0xd8)]({'icon':_0x264a83,'tooltip':_0x210ecd(this[_0x1ca2dd(0x105)],_0x1ca2dd(0xf9)),'tooltipPosition':'n','class':Yr}),_0x52f36e['on'](_0x1ca2dd(0x10c),()=>{const _0x63817f=_0x1ca2dd;_0xdca50a[_0x63817f(0xe1)](),this[_0x63817f(0xf1)][_0x63817f(0x10e)]();}),_0x52f36e;}[_0x24c7ce(0xea)](_0x2c4761){const _0x29b358=_0x24c7ce,_0x105713=new _0xa39079(this[_0x29b358(0x105)],{'source':_0x2c4761,'searchInputVisibleFrom':this[_0x29b358(0xf1)][_0x29b358(0x10d)]});return _0x105713['on'](_0x29b358(0xf7),(_0xcab06c,_0x5dc767)=>{const _0x38949a=_0x29b358;this[_0x38949a(0xf1)][_0x38949a(0xd7)](_0x5dc767);}),_0x105713['on'](_0x29b358(0x103),(_0x1b0f83,_0xb42065)=>{const _0x2ad886=_0x29b358;this[_0x2ad886(0xf1)][_0x2ad886(0x10f)](_0xb42065[_0x2ad886(0xf0)],_0xb42065[_0x2ad886(0xe0)]),this[_0x2ad886(0xfe)](_0x2c4761['id']);}),_0x105713;}[_0x24c7ce(0xde)](_0x3742de){const _0x590a6d=_0x24c7ce,_0x1703da=_0x3742de[_0x590a6d(0xdf)][_0x590a6d(0x104)](0x1);return _0x1703da instanceof _0xa39079?_0x1703da:null;}[_0x24c7ce(0xe7)](_0x4c3b50){const _0x5ce0aa=_0x24c7ce;_0x4436d2({'emitter':_0x4c3b50,'contextElements':[_0x4c3b50[_0x5ce0aa(0x101)]],'callback':()=>{const _0x13eb62=_0x5ce0aa;_0x4c3b50[_0x13eb62(0xe1)](),this[_0x13eb62(0xf1)][_0x13eb62(0xdc)]();},'activator':()=>_0x4c3b50[_0x5ce0aa(0x100)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x595504,IconView as _0xd2b0ea,LabeledFieldView as _0x23d59b,createLabeledInputText as _0x1252c2}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3091e0,IconCancel as _0x519b8a}from'ckeditor5/src/icons.js';import{getTranslation as _0x61e8ef}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x23d59b{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xef949a){const t=_0xef949a['t'],_0x315d00={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x1252c2,'label':_0x61e8ef(_0xef949a,'AI_CHAT_SEARCH_RESOURCES')};super(_0xef949a,_0x315d00['creator']),this['label']=_0x315d00['label'],this['_viewConfig']=_0x315d00,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xef949a,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x5e5a14){this['fire']('search',_0x5e5a14);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xd2b0ea(),this['iconView']['content']=_0x3091e0,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x495a78,t){this['resetButtonView']=new _0x595504(_0x495a78),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x519b8a,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x197f22=>!_0x197f22),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x2ab353,IconView as _0xaf6417,LabeledFieldView as _0x50b59a,createLabeledInputText as _0x424d4d}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2f0707,IconCancel as _0x1cb8b7}from'ckeditor5/src/icons.js';import{getTranslation as _0x3148ec}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x50b59a{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xc85770){const t=_0xc85770['t'],_0x5113bf={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x424d4d,'label':_0x3148ec(_0xc85770,'AI_CHAT_SEARCH_RESOURCES')};super(_0xc85770,_0x5113bf['creator']),this['label']=_0x5113bf['label'],this['_viewConfig']=_0x5113bf,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xc85770,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x20a775){this['fire']('search',_0x20a775);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xaf6417(),this['iconView']['content']=_0x2f0707,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x23daa5,t){this['resetButtonView']=new _0x2ab353(_0x23daa5),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x1cb8b7,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x24bbbc=>!_0x24bbbc),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3332c9=_0x237e;(function(_0x27794e,_0x3f7275){const _0x30486b=_0x237e,_0x1acf01=_0x27794e();while(!![]){try{const _0x3a8ac8=parseInt(_0x30486b(0x124))/0x1+-parseInt(_0x30486b(0x114))/0x2+-parseInt(_0x30486b(0x11d))/0x3*(parseInt(_0x30486b(0x128))/0x4)+parseInt(_0x30486b(0x12b))/0x5*(-parseInt(_0x30486b(0x116))/0x6)+parseInt(_0x30486b(0x130))/0x7+parseInt(_0x30486b(0x11f))/0x8+parseInt(_0x30486b(0x126))/0x9;if(_0x3a8ac8===_0x3f7275)break;else _0x1acf01['push'](_0x1acf01['shift']());}catch(_0x1bed80){_0x1acf01['push'](_0x1acf01['shift']());}}}(_0x4d81,0x4c6e9));import{View as _0x405fc1}from'ckeditor5/src/ui.js';function _0x237e(_0xb50561,_0x5eec28){const _0x4d8130=_0x4d81();return _0x237e=function(_0x237efd,_0x412315){_0x237efd=_0x237efd-0x113;let _0x308a6d=_0x4d8130[_0x237efd];return _0x308a6d;},_0x237e(_0xb50561,_0x5eec28);}import{AIChatContextItemButtonView as _0x1cb064}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x4aef88}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x3332c9(0x129),Ko=_0x3332c9(0x11c),Qo=_0x3332c9(0x117),Uo=_0x3332c9(0x11e),No=_0x3332c9(0x122),Oo=_0x3332c9(0x125);export class AIChatFeedContextChipsView extends _0x405fc1{[_0x3332c9(0x119)]=this[_0x3332c9(0x123)]();[_0x3332c9(0x127)];[_0x3332c9(0x118)];constructor(_0x1164ef,_0x4479f5,_0x256296){const _0x250895=_0x3332c9;super(_0x1164ef),this[_0x250895(0x118)]=_0x256296,this[_0x250895(0x12e)](_0x4479f5);const _0x28c0f8={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x250895(0x127)]=new _0x4aef88(_0x1164ef,this[_0x250895(0x119)],_0x28c0f8,this[_0x250895(0x118)],this),this[_0x250895(0x120)]({'tag':_0x250895(0x121),'attributes':{'class':[$o,'ck',_0x250895(0x12f)]},'children':[{'tag':_0x250895(0x121),'attributes':{'class':Ko},'children':this[_0x250895(0x119)]}]});}[_0x3332c9(0x115)](){const _0x325d3b=_0x3332c9;super[_0x325d3b(0x115)]();const _0x4d8057=this[_0x325d3b(0x12d)][_0x325d3b(0x12a)]('.'+Ko);_0x4d8057&&(this[_0x325d3b(0x127)][_0x325d3b(0x12c)](_0x4d8057),this[_0x325d3b(0x127)][_0x325d3b(0x131)]());}[_0x3332c9(0x11a)](){const _0x10de76=_0x3332c9;super[_0x10de76(0x11a)](),this[_0x10de76(0x127)][_0x10de76(0x11a)]();}[_0x3332c9(0x12e)](_0x5326bc){const _0x17d341=_0x3332c9;for(const _0x1d8ec7 of _0x5326bc){const _0x1f37e6=new _0x1cb064(this[_0x17d341(0x11b)],_0x1d8ec7,!0x0,!0x1);this[_0x17d341(0x119)][_0x17d341(0x113)](_0x1f37e6);}}}function _0x4d81(){const _0x243075=['1541351HmYCeH','reorganizeChips','add','1230130wKQAgp','render','12ZRiSGq','ck-ai-chat-context-chips-wrapper-balloon','_bodyCollection','_contextChips','destroy','locale','ck-ai-chat-context-chips-wrapper','243996SDanjn','ck-ai-chat-controls-button','1346408sBvLWM','setTemplate','div','ck-ai-chat-controls_context_show-more-button','createCollection','182679NquXsW','ck-ai-chat-context-controls__show-more-balloon-panel','6372513MgHPJu','_overflowManager','4caGnWP','ck-ai-chat__feed__context-chips','querySelector','674420ekjPSC','setContainerElement','element','_createContextChips','ck-reset_all'];_0x4d81=function(){return _0x243075;};return _0x4d81();}
23
+ const _0xe69d85=_0x179b;(function(_0x365070,_0x2ea22c){const _0x388859=_0x179b,_0x42915f=_0x365070();while(!![]){try{const _0x2c3242=parseInt(_0x388859(0x201))/0x1+parseInt(_0x388859(0x206))/0x2+parseInt(_0x388859(0x202))/0x3+-parseInt(_0x388859(0x204))/0x4+-parseInt(_0x388859(0x1ff))/0x5+parseInt(_0x388859(0x1f2))/0x6+parseInt(_0x388859(0x200))/0x7*(-parseInt(_0x388859(0x1f3))/0x8);if(_0x2c3242===_0x2ea22c)break;else _0x42915f['push'](_0x42915f['shift']());}catch(_0x2ff57a){_0x42915f['push'](_0x42915f['shift']());}}}(_0x3eae,0x684fa));import{View as _0xfe0077}from'ckeditor5/src/ui.js';function _0x3eae(){const _0x2cee6e=['locale','render','setContainerElement','4618782QQUUUS','2748536ZQoZvz','destroy','ck-ai-chat-context-chips-wrapper-balloon','querySelector','ck-ai-chat-context-controls__show-more-balloon-panel','_overflowManager','setTemplate','_contextChips','div','ck-ai-chat__feed__context-chips','ck-ai-chat-controls-button','element','1625290nlXMSl','28qrmvbf','820970wMULnx','1114155coBJAH','_bodyCollection','137660jvoPcZ','createCollection','397694MoVtVC','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-chips-wrapper','_createContextChips','add','reorganizeChips','ck-reset_all'];_0x3eae=function(){return _0x2cee6e;};return _0x3eae();}function _0x179b(_0x3e0aa1,_0x5a6449){const _0x3eaef9=_0x3eae();return _0x179b=function(_0x179b2e,_0x12f92d){_0x179b2e=_0x179b2e-0x1f2;let _0x2db974=_0x3eaef9[_0x179b2e];return _0x2db974;},_0x179b(_0x3e0aa1,_0x5a6449);}import{AIChatContextItemButtonView as _0x391f76}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x430e28}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xe69d85(0x1fc),Zo=_0xe69d85(0x208),oc=_0xe69d85(0x1f5),Oo=_0xe69d85(0x1fd),Ho=_0xe69d85(0x207),jo=_0xe69d85(0x1f7);export class AIChatFeedContextChipsView extends _0xfe0077{[_0xe69d85(0x1fa)]=this[_0xe69d85(0x205)]();[_0xe69d85(0x1f8)];[_0xe69d85(0x203)];constructor(_0x3d4db8,_0xb09e39,_0x3afead){const _0x93545=_0xe69d85;super(_0x3d4db8),this[_0x93545(0x203)]=_0x3afead,this[_0x93545(0x209)](_0xb09e39);const _0x48d027={'cssClasses':{'showMoreButton':Ho,'showMoreBalloon':jo,'overflowContainer':oc,'controlsButton':Oo}};this[_0x93545(0x1f8)]=new _0x430e28(_0x3d4db8,this[_0x93545(0x1fa)],_0x48d027,this[_0x93545(0x203)],this),this[_0x93545(0x1f9)]({'tag':_0x93545(0x1fb),'attributes':{'class':[$o,'ck',_0x93545(0x20c)]},'children':[{'tag':_0x93545(0x1fb),'attributes':{'class':Zo},'children':this[_0x93545(0x1fa)]}]});}[_0xe69d85(0x20e)](){const _0x54344d=_0xe69d85;super[_0x54344d(0x20e)]();const _0x4db195=this[_0x54344d(0x1fe)][_0x54344d(0x1f6)]('.'+Zo);_0x4db195&&(this[_0x54344d(0x1f8)][_0x54344d(0x20f)](_0x4db195),this[_0x54344d(0x1f8)][_0x54344d(0x20b)]());}[_0xe69d85(0x1f4)](){const _0x2ec68f=_0xe69d85;super[_0x2ec68f(0x1f4)](),this[_0x2ec68f(0x1f8)][_0x2ec68f(0x1f4)]();}[_0xe69d85(0x209)](_0x119957){const _0x4c06d2=_0xe69d85;for(const _0x3b8ea2 of _0x119957){const _0xbf422a=new _0x391f76(this[_0x4c06d2(0x20d)],_0x3b8ea2,!0x0,!0x1);this[_0x4c06d2(0x1fa)][_0x4c06d2(0x20a)](_0xbf422a);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d0e93=_0x548d;(function(_0x1596b5,_0x58f09c){const _0x46463a=_0x548d,_0x329a8e=_0x1596b5();while(!![]){try{const _0x13708f=parseInt(_0x46463a(0x7a))/0x1+-parseInt(_0x46463a(0x74))/0x2*(parseInt(_0x46463a(0x7d))/0x3)+parseInt(_0x46463a(0x6a))/0x4+-parseInt(_0x46463a(0x6c))/0x5*(-parseInt(_0x46463a(0x78))/0x6)+parseInt(_0x46463a(0x76))/0x7*(-parseInt(_0x46463a(0x69))/0x8)+parseInt(_0x46463a(0x6e))/0x9+-parseInt(_0x46463a(0x7e))/0xa;if(_0x13708f===_0x58f09c)break;else _0x329a8e['push'](_0x329a8e['shift']());}catch(_0x41fb8f){_0x329a8e['push'](_0x329a8e['shift']());}}}(_0x1b42,0x7949e));import{IconBulb as _0x22a873,IconWeb as _0x559dcf}from'@ckeditor/ckeditor5-icons';function _0x548d(_0x48e97f,_0x5808a7){const _0x1b4258=_0x1b42();return _0x548d=function(_0x548dbf,_0x419c5d){_0x548dbf=_0x548dbf-0x69;let _0x26089f=_0x1b4258[_0x548dbf];return _0x26089f;},_0x548d(_0x48e97f,_0x5808a7);}import{IconView as _0x39fbf5,View as _0x2a4d62}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3e64fc}from'./aichatfeeditemview.js';import{getTranslation as _0x485ee5}from'../../../aicore/utils/common-translations.js';function _0x1b42(){const _0x253bac=['span','children','624886uCyDXc','add','182MKxeCx','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','894ghMICV','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','979724pEYdMX','ck-hidden','setTemplate','6btshKi','1584900LgXVnd','capabilities','extendTemplate','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','186712IKEyWm','1116316PLmbku','push','8495rPjjkJ','ck-ai-chat__feed__interaction-header__capabilities','3375306FtyhDt','div','ck-ai-chat__feed__interaction-header__capabilities__text','content'];_0x1b42=function(){return _0x253bac;};return _0x1b42();}export class AIChatFeedInteractionHeaderView extends _0x3e64fc{[_0x1d0e93(0x7f)];constructor(_0x3f8e4e,_0x4f2ac6){const _0x1b7eb2=_0x1d0e93;super(_0x4f2ac6);const {isWebSearchEnabled:_0x1b88a4,isReasoningEnabled:_0x28302a}=_0x4f2ac6[_0x1b7eb2(0x7f)],_0x3174d0=[];let _0x5bed38='';_0x1b88a4&&_0x28302a?(_0x5bed38=_0x485ee5(_0x3f8e4e,_0x1b7eb2(0x79)),_0x3174d0[_0x1b7eb2(0x6b)](aa(_0x559dcf)),_0x3174d0[_0x1b7eb2(0x6b)](aa(_0x22a873))):_0x1b88a4?(_0x5bed38=_0x485ee5(_0x3f8e4e,_0x1b7eb2(0x77)),_0x3174d0[_0x1b7eb2(0x6b)](aa(_0x559dcf))):_0x28302a&&(_0x5bed38=_0x485ee5(_0x3f8e4e,_0x1b7eb2(0x82)),_0x3174d0[_0x1b7eb2(0x6b)](aa(_0x22a873))),this[_0x1b7eb2(0x80)]({'attributes':{'class':[_0x1b7eb2(0x81),_0x5bed38?'':_0x1b7eb2(0x7b)]}});const _0x178ddc=new _0x2a4d62();_0x178ddc[_0x1b7eb2(0x7c)]({'tag':_0x1b7eb2(0x6f),'attributes':{'class':['ck',_0x1b7eb2(0x6d)]},'children':[..._0x3174d0,{'tag':_0x1b7eb2(0x72),'attributes':{'class':[_0x1b7eb2(0x70)]},'children':[_0x5bed38]}]}),this[_0x1b7eb2(0x73)][_0x1b7eb2(0x75)](_0x178ddc),this[_0x1b7eb2(0x7f)]=_0x4f2ac6[_0x1b7eb2(0x7f)];}}function aa(_0x49897e){const _0xa13cbf=_0x1d0e93,_0x4856c3=new _0x39fbf5();return _0x4856c3[_0xa13cbf(0x71)]=_0x49897e,_0x4856c3;}
23
+ const _0x491f25=_0x5660;(function(_0x367688,_0x359134){const _0x4d34b2=_0x5660,_0x4e2252=_0x367688();while(!![]){try{const _0xb180d=parseInt(_0x4d34b2(0x16a))/0x1+-parseInt(_0x4d34b2(0x181))/0x2*(-parseInt(_0x4d34b2(0x175))/0x3)+parseInt(_0x4d34b2(0x182))/0x4*(parseInt(_0x4d34b2(0x16f))/0x5)+-parseInt(_0x4d34b2(0x179))/0x6+parseInt(_0x4d34b2(0x172))/0x7*(-parseInt(_0x4d34b2(0x17e))/0x8)+parseInt(_0x4d34b2(0x176))/0x9+-parseInt(_0x4d34b2(0x17c))/0xa;if(_0xb180d===_0x359134)break;else _0x4e2252['push'](_0x4e2252['shift']());}catch(_0x4c10b0){_0x4e2252['push'](_0x4e2252['shift']());}}}(_0x43f1,0x99434));import{IconBulb as _0x4e1bab,IconWeb as _0x3b9e43}from'@ckeditor/ckeditor5-icons';function _0x43f1(){const _0x1e315d=['AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-hidden','45mqxcKQ','add','extendTemplate','40124mCRMMj','setTemplate','content','546vQhSvP','7368885oftUeb','ck-ai-chat__feed__interaction-header__capabilities','children','1110240FnSivx','ck-ai-chat__feed__interaction-header','div','1670570TjfjbH','span','1232xecyXX','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','push','2030DSPZLP','260332ZIZtqR','capabilities','273347sHQnQx','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text'];_0x43f1=function(){return _0x1e315d;};return _0x43f1();}import{IconView as _0x1edb1d,View as _0x1f613c}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x5b451c}from'./aichatfeeditemview.js';import{getTranslation as _0x4a7ad3}from'../../../aicore/utils/common-translations.js';function _0x5660(_0x3b1383,_0x5ab469){const _0x43f1db=_0x43f1();return _0x5660=function(_0x5660ee,_0xcb4aa1){_0x5660ee=_0x5660ee-0x169;let _0x43c64a=_0x43f1db[_0x5660ee];return _0x43c64a;},_0x5660(_0x3b1383,_0x5ab469);}export class AIChatFeedInteractionHeaderView extends _0x5b451c{[_0x491f25(0x169)];constructor(_0x10144f,_0x3723fb){const _0x479668=_0x491f25;super(_0x3723fb);const {isWebSearchEnabled:_0x16801e,isReasoningEnabled:_0x503403}=_0x3723fb[_0x479668(0x169)],_0x13a26b=[];let _0x42a7d3='';_0x16801e&&_0x503403?(_0x42a7d3=_0x4a7ad3(_0x10144f,_0x479668(0x16b)),_0x13a26b[_0x479668(0x180)](ta(_0x3b9e43)),_0x13a26b[_0x479668(0x180)](ta(_0x4e1bab))):_0x16801e?(_0x42a7d3=_0x4a7ad3(_0x10144f,_0x479668(0x16d)),_0x13a26b[_0x479668(0x180)](ta(_0x3b9e43))):_0x503403&&(_0x42a7d3=_0x4a7ad3(_0x10144f,_0x479668(0x17f)),_0x13a26b[_0x479668(0x180)](ta(_0x4e1bab))),this[_0x479668(0x171)]({'attributes':{'class':[_0x479668(0x17a),_0x42a7d3?'':_0x479668(0x16e)]}});const _0x156f0c=new _0x1f613c();_0x156f0c[_0x479668(0x173)]({'tag':_0x479668(0x17b),'attributes':{'class':['ck',_0x479668(0x177)]},'children':[..._0x13a26b,{'tag':_0x479668(0x17d),'attributes':{'class':[_0x479668(0x16c)]},'children':[_0x42a7d3]}]}),this[_0x479668(0x178)][_0x479668(0x170)](_0x156f0c),this[_0x479668(0x169)]=_0x3723fb[_0x479668(0x169)];}}function ta(_0x36da77){const _0x3a0706=_0x491f25,_0x2f1c76=new _0x1edb1d();return _0x2f1c76[_0x3a0706(0x174)]=_0x36da77,_0x2f1c76;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e56dd=_0x540e;(function(_0x2eb017,_0x260dfe){const _0x14d258=_0x540e,_0x77b4d7=_0x2eb017();while(!![]){try{const _0x1c4f69=-parseInt(_0x14d258(0x77))/0x1*(parseInt(_0x14d258(0x80))/0x2)+parseInt(_0x14d258(0x8a))/0x3*(parseInt(_0x14d258(0x87))/0x4)+-parseInt(_0x14d258(0x90))/0x5+parseInt(_0x14d258(0x86))/0x6+-parseInt(_0x14d258(0x73))/0x7*(-parseInt(_0x14d258(0x76))/0x8)+parseInt(_0x14d258(0x8c))/0x9*(parseInt(_0x14d258(0x83))/0xa)+parseInt(_0x14d258(0x88))/0xb;if(_0x1c4f69===_0x260dfe)break;else _0x77b4d7['push'](_0x77b4d7['shift']());}catch(_0x5bf3da){_0x77b4d7['push'](_0x77b4d7['shift']());}}}(_0x4877,0x8dffe));import{View as _0x3b12c5}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2b822e}from'../../../aicore/utils/htmlstreamer.js';function _0x540e(_0x20d3d6,_0x1fb552){const _0x487748=_0x4877();return _0x540e=function(_0x540e7e,_0x56cc35){_0x540e7e=_0x540e7e-0x71;let _0x2e5990=_0x487748[_0x540e7e];return _0x2e5990;},_0x540e(_0x20d3d6,_0x1fb552);}function _0x4877(){const _0x39f7b9=['350XKwbYn','streamIntoElement','bindTemplate','581268NyZwPi','2726480avdpIw','4539480RZXFJN','htmlStreamer','3mvcNiN','content','13707esYFEt','setTemplate','ck-ai-chat__feed__item','forEach','2159580gZwrry','div','ck-ai-chat__feed__text-item','removeAttribute','cleanUpAnimations','isVisible','querySelectorAll','data-id','15176qZDSSj','element','set','3152WMWKCs','17789OCJJHG','children','options','markAsDone','createCollection','stream','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-hidden','isDone','122NKMHou','ck-ai-chat__feed__item_done','[data-id]'];_0x4877=function(){return _0x39f7b9;};return _0x4877();}export class AIChatFeedItemView extends _0x3b12c5{[_0x1e56dd(0x79)];[_0x1e56dd(0x8b)]='';[_0x1e56dd(0x89)];[_0x1e56dd(0x78)];constructor(_0x12d931){const _0x32aefe=_0x1e56dd;super();const _0x89a076=this[_0x32aefe(0x85)];this[_0x32aefe(0x75)](_0x32aefe(0x7f),!0x1),this[_0x32aefe(0x75)](_0x32aefe(0x95),!0x0),this[_0x32aefe(0x89)]=new _0x2b822e({'textNodeStyle':_0x32aefe(0x7d),'delay':0x14}),this[_0x32aefe(0x79)]=_0x12d931,this[_0x32aefe(0x78)]=this[_0x32aefe(0x7b)](),this[_0x32aefe(0x8d)]({'tag':_0x32aefe(0x91),'attributes':{'class':['ck',_0x32aefe(0x8e),_0x89a076['if'](_0x32aefe(0x7f),_0x32aefe(0x81)),_0x89a076['if'](_0x32aefe(0x95),_0x32aefe(0x7e),_0x38d4a1=>!_0x38d4a1),_0x32aefe(0x92)],'data-cke-ai-id':this[_0x32aefe(0x79)]['id']},'children':this[_0x32aefe(0x78)]});}[_0x1e56dd(0x7a)](){const _0x746866=_0x1e56dd;this[_0x746866(0x89)][_0x746866(0x94)]({'targetElement':this[_0x746866(0x74)]}),this[_0x746866(0x74)][_0x746866(0x71)](_0x746866(0x82))[_0x746866(0x8f)](_0x171442=>{const _0x4c839c=_0x746866;_0x171442[_0x4c839c(0x93)](_0x4c839c(0x72));}),this[_0x746866(0x7f)]=!0x0;}async[_0x1e56dd(0x84)](_0xcdb112,_0x43044a,_0x4ea1a3){const _0x641eb5=_0x1e56dd;await this[_0x641eb5(0x89)][_0x641eb5(0x7c)]({'document':_0xcdb112,'targetElement':_0x43044a,'abortSignal':_0x4ea1a3});}}
23
+ const _0x375502=_0x2add;(function(_0x750f8f,_0x41a854){const _0x4c3cab=_0x2add,_0x3943cc=_0x750f8f();while(!![]){try{const _0x4499e3=-parseInt(_0x4c3cab(0x1f5))/0x1*(-parseInt(_0x4c3cab(0x1ed))/0x2)+-parseInt(_0x4c3cab(0x1ea))/0x3*(-parseInt(_0x4c3cab(0x1ff))/0x4)+-parseInt(_0x4c3cab(0x1e9))/0x5*(parseInt(_0x4c3cab(0x207))/0x6)+-parseInt(_0x4c3cab(0x20a))/0x7+parseInt(_0x4c3cab(0x203))/0x8+-parseInt(_0x4c3cab(0x1fe))/0x9+-parseInt(_0x4c3cab(0x1fd))/0xa*(-parseInt(_0x4c3cab(0x1f9))/0xb);if(_0x4499e3===_0x41a854)break;else _0x3943cc['push'](_0x3943cc['shift']());}catch(_0xc51afe){_0x3943cc['push'](_0x3943cc['shift']());}}}(_0x338b,0x2881a));import{View as _0x520e29}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x160c46}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x520e29{[_0x375502(0x1eb)];[_0x375502(0x209)]='';[_0x375502(0x200)];[_0x375502(0x205)];constructor(_0x798e0f){const _0x4688fc=_0x375502;super();const _0x59a19f=this[_0x4688fc(0x208)];this[_0x4688fc(0x1f1)](_0x4688fc(0x1f3),!0x1),this[_0x4688fc(0x1f1)](_0x4688fc(0x1f2),!0x0),this[_0x4688fc(0x200)]=new _0x160c46({'textNodeStyle':_0x4688fc(0x1f0),'delay':0x14}),this[_0x4688fc(0x1eb)]=_0x798e0f,this[_0x4688fc(0x205)]=this[_0x4688fc(0x1fa)](),this[_0x4688fc(0x206)]({'tag':_0x4688fc(0x1e7),'attributes':{'class':['ck',_0x4688fc(0x1f6),_0x59a19f['if'](_0x4688fc(0x1f3),_0x4688fc(0x1f4)),_0x59a19f['if'](_0x4688fc(0x1f2),_0x4688fc(0x1fb),_0x151edf=>!_0x151edf),_0x4688fc(0x1fc)],'data-cke-ai-id':this[_0x4688fc(0x1eb)]['id']},'children':this[_0x4688fc(0x205)]});}[_0x375502(0x201)](){const _0x1b7b2d=_0x375502;this[_0x1b7b2d(0x200)][_0x1b7b2d(0x1ec)]({'targetElement':this[_0x1b7b2d(0x1f8)]}),this[_0x1b7b2d(0x1f8)][_0x1b7b2d(0x1ef)](_0x1b7b2d(0x1f7))[_0x1b7b2d(0x1ee)](_0x591529=>{const _0x1b9fc5=_0x1b7b2d;_0x591529[_0x1b9fc5(0x20b)](_0x1b9fc5(0x1e8));}),this[_0x1b7b2d(0x1f3)]=!0x0;}async[_0x375502(0x202)](_0x3e28c1,_0x3be05b,_0x5e4103){const _0x464ac9=_0x375502;await this[_0x464ac9(0x200)][_0x464ac9(0x204)]({'document':_0x3e28c1,'targetElement':_0x3be05b,'abortSignal':_0x5e4103});}}function _0x2add(_0x41084c,_0x1013c7){const _0x338be5=_0x338b();return _0x2add=function(_0x2add9a,_0x2fde3d){_0x2add9a=_0x2add9a-0x1e7;let _0x147c55=_0x338be5[_0x2add9a];return _0x147c55;},_0x2add(_0x41084c,_0x1013c7);}function _0x338b(){const _0x4b2776=['set','isVisible','isDone','ck-ai-chat__feed__item_done','26367FKPUgm','ck-ai-chat__feed__item','[data-id]','element','10428fdTqWh','createCollection','ck-hidden','ck-ai-chat__feed__text-item','3240QzJjvo','2741976ZGnYYw','40WYscHh','htmlStreamer','markAsDone','streamIntoElement','949624luyMdU','stream','children','setTemplate','1983930sFDPaa','bindTemplate','content','421687fjhDhC','removeAttribute','div','data-id','5RwiJrp','75315lnxURB','options','cleanUpAnimations','14NqyhGw','forEach','querySelectorAll','animation:\x20ck-html-streamer-fade-in\x20.5s'];_0x338b=function(){return _0x4b2776;};return _0x338b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58c433=_0x47f9;(function(_0x23fb03,_0xee7486){const _0x1beb7c=_0x47f9,_0x3d9595=_0x23fb03();while(!![]){try{const _0x4be0e0=parseInt(_0x1beb7c(0x15e))/0x1*(parseInt(_0x1beb7c(0x170))/0x2)+parseInt(_0x1beb7c(0x152))/0x3+parseInt(_0x1beb7c(0x159))/0x4*(parseInt(_0x1beb7c(0x173))/0x5)+-parseInt(_0x1beb7c(0x15f))/0x6+-parseInt(_0x1beb7c(0x15b))/0x7*(parseInt(_0x1beb7c(0x166))/0x8)+-parseInt(_0x1beb7c(0x172))/0x9+-parseInt(_0x1beb7c(0x161))/0xa*(parseInt(_0x1beb7c(0x16b))/0xb);if(_0x4be0e0===_0xee7486)break;else _0x3d9595['push'](_0x3d9595['shift']());}catch(_0x340a11){_0x3d9595['push'](_0x3d9595['shift']());}}}(_0x3819,0x1925e));function _0x3819(){const _0xff18be=['locale','330645jYqUVY','add','render','ck-ai-chat__feed__ai-reply','isVisible','initialContent','options','4sZOBkx','setTemplate','2527RPEDte','streaming','map','41EPXWzv','374478PtoIxt','children','1040gPoxRi','ck-reset_all-excluded','element','streamIntoElement','addMany','1296ZJfBYv','markAsDone','innerHTML','updateContent','_bodyCollection','6908dQPXOk','updateSources','static','balloonPanelView','replyContainer','7646pDROjZ','ck-ai-chat__feed__ai-reply-container','1364094jXpmTC','869105KCmKPb','div','extendTemplate'];_0x3819=function(){return _0xff18be;};return _0x3819();}import{AIChatFeedItemView as _0x1cd362}from'./aichatfeeditemview.js';import{parse as _0x4d811d,render as _0x11a746}from'../../../aicore/utils/htmlparser.js';function _0x47f9(_0x2ba46e,_0x2266ce){const _0x381900=_0x3819();return _0x47f9=function(_0x47f9a7,_0x131471){_0x47f9a7=_0x47f9a7-0x152;let _0x309546=_0x381900[_0x47f9a7];return _0x309546;},_0x47f9(_0x2ba46e,_0x2266ce);}import{View as _0x374ae6}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x35d319,AIWebSourceView as _0x47eb89}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x1cd362{[_0x58c433(0x16f)];[_0x58c433(0x16a)];constructor(_0x23fa8f,_0x249a38,_0x1e28d0){const _0x4c6b07=_0x58c433;super(_0x249a38),this[_0x4c6b07(0x16a)]=_0x1e28d0,this[_0x4c6b07(0x176)]=_0x23fa8f,this[_0x4c6b07(0x175)]({'attributes':{'class':[_0x4c6b07(0x155)]}}),this[_0x4c6b07(0x16f)]=new _0x374ae6(),this[_0x4c6b07(0x16f)][_0x4c6b07(0x15a)]({'tag':_0x4c6b07(0x174),'attributes':{'class':['ck',_0x4c6b07(0x162),_0x4c6b07(0x171)]}}),this[_0x4c6b07(0x160)][_0x4c6b07(0x153)](this[_0x4c6b07(0x16f)]);}async[_0x58c433(0x154)](){const _0x46ce88=_0x58c433;super[_0x46ce88(0x154)](),this[_0x46ce88(0x158)][_0x46ce88(0x157)]&&(await this[_0x46ce88(0x169)]({'parsedContent':_0x4d811d(this[_0x46ce88(0x158)][_0x46ce88(0x157)]),'renderingStrategy':_0x46ce88(0x16d)}),this[_0x46ce88(0x167)]());}async[_0x58c433(0x169)]({parsedContent:_0x451173,renderingStrategy:_0x15eb0f,abortSignal:_0x4f6305}){const _0x367653=_0x58c433;_0x367653(0x15c)===_0x15eb0f?await this[_0x367653(0x164)](_0x451173,this[_0x367653(0x16f)][_0x367653(0x163)],_0x4f6305):this[_0x367653(0x16f)][_0x367653(0x163)][_0x367653(0x168)]=_0x11a746(_0x451173);}[_0x58c433(0x16c)](_0xcac218){const _0x4b1f4a=_0x58c433,_0x1b75a0=new _0x35d319(this[_0x4b1f4a(0x176)],this[_0x4b1f4a(0x16a)]);_0x1b75a0[_0x4b1f4a(0x160)][_0x4b1f4a(0x165)](_0xcac218[_0x4b1f4a(0x15d)](_0x5d001d=>new _0x47eb89(this[_0x4b1f4a(0x176)],_0x5d001d,_0x1b75a0[_0x4b1f4a(0x16e)]))),_0x1b75a0[_0x4b1f4a(0x156)]=!0x0,this[_0x4b1f4a(0x160)][_0x4b1f4a(0x153)](_0x1b75a0);}}
23
+ const _0x503372=_0x52d2;(function(_0x4101b8,_0x52238d){const _0x6e382b=_0x52d2,_0x26fd4e=_0x4101b8();while(!![]){try{const _0x32fe10=-parseInt(_0x6e382b(0xf9))/0x1*(-parseInt(_0x6e382b(0xec))/0x2)+-parseInt(_0x6e382b(0xfb))/0x3*(-parseInt(_0x6e382b(0xde))/0x4)+-parseInt(_0x6e382b(0xe5))/0x5*(-parseInt(_0x6e382b(0xfc))/0x6)+-parseInt(_0x6e382b(0xe9))/0x7+parseInt(_0x6e382b(0xe2))/0x8+-parseInt(_0x6e382b(0xe1))/0x9*(-parseInt(_0x6e382b(0xe8))/0xa)+-parseInt(_0x6e382b(0xea))/0xb;if(_0x32fe10===_0x52238d)break;else _0x26fd4e['push'](_0x26fd4e['shift']());}catch(_0x8ffb4f){_0x26fd4e['push'](_0x26fd4e['shift']());}}}(_0x4dcd,0x1eab8));function _0x4dcd(){const _0x5a88b4=['replyContainer','isVisible','streaming','updateContent','balloonPanelView','setTemplate','streamIntoElement','updateSources','1973avolFn','ck-ai-chat__feed__ai-reply-container','30aJioLK','588IalYyh','render','children','locale','options','addMany','initialContent','81464lixtoq','static','element','9srDgYK','602736qCRXbu','map','markAsDone','7245DawKPU','_bodyCollection','add','185980VPdCtJ','1302252LeolGp','4098534CNTynA','extendTemplate','248hYPFBG','ck-reset_all-excluded','innerHTML','ck-ai-chat__feed__ai-reply','div'];_0x4dcd=function(){return _0x5a88b4;};return _0x4dcd();}import{AIChatFeedItemView as _0x1ac46a}from'./aichatfeeditemview.js';import{parse as _0x57252f,render as _0x2c8266}from'../../../aicore/utils/htmlparser.js';import{View as _0xcce8c7}from'ckeditor5/src/ui.js';function _0x52d2(_0x21e624,_0x2eeddb){const _0x4dcdd5=_0x4dcd();return _0x52d2=function(_0x52d287,_0x41c08b){_0x52d287=_0x52d287-0xdd;let _0x411d39=_0x4dcdd5[_0x52d287];return _0x411d39;},_0x52d2(_0x21e624,_0x2eeddb);}import{AIWebSourcesView as _0x15b1ce,AIWebSourceView as _0x1eac46}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x1ac46a{[_0x503372(0xf1)];[_0x503372(0xe6)];constructor(_0x1148b8,_0x450ffa,_0x2542b5){const _0x1f0e8e=_0x503372;super(_0x450ffa),this[_0x1f0e8e(0xe6)]=_0x2542b5,this[_0x1f0e8e(0xff)]=_0x1148b8,this[_0x1f0e8e(0xeb)]({'attributes':{'class':[_0x1f0e8e(0xef)]}}),this[_0x1f0e8e(0xf1)]=new _0xcce8c7(),this[_0x1f0e8e(0xf1)][_0x1f0e8e(0xf6)]({'tag':_0x1f0e8e(0xf0),'attributes':{'class':['ck',_0x1f0e8e(0xed),_0x1f0e8e(0xfa)]}}),this[_0x1f0e8e(0xfe)][_0x1f0e8e(0xe7)](this[_0x1f0e8e(0xf1)]);}async[_0x503372(0xfd)](){const _0x555195=_0x503372;super[_0x555195(0xfd)](),this[_0x555195(0x100)][_0x555195(0xdd)]&&(await this[_0x555195(0xf4)]({'parsedContent':_0x57252f(this[_0x555195(0x100)][_0x555195(0xdd)]),'renderingStrategy':_0x555195(0xdf)}),this[_0x555195(0xe4)]());}async[_0x503372(0xf4)]({parsedContent:_0xce73ef,renderingStrategy:_0x491977,abortSignal:_0x50559d}){const _0x29b5c7=_0x503372;_0x29b5c7(0xf3)===_0x491977?await this[_0x29b5c7(0xf7)](_0xce73ef,this[_0x29b5c7(0xf1)][_0x29b5c7(0xe0)],_0x50559d):this[_0x29b5c7(0xf1)][_0x29b5c7(0xe0)][_0x29b5c7(0xee)]=_0x2c8266(_0xce73ef);}[_0x503372(0xf8)](_0x202d57){const _0x27ea77=_0x503372,_0x1fde92=new _0x15b1ce(this[_0x27ea77(0xff)],this[_0x27ea77(0xe6)]);_0x1fde92[_0x27ea77(0xfe)][_0x27ea77(0x101)](_0x202d57[_0x27ea77(0xe3)](_0x57ad16=>new _0x1eac46(this[_0x27ea77(0xff)],_0x57ad16,_0x1fde92[_0x27ea77(0xf5)]))),_0x1fde92[_0x27ea77(0xf2)]=!0x0,this[_0x27ea77(0xfe)][_0x27ea77(0xe7)](_0x1fde92);}}