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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichathistory/aichathistory.js +1 -1
  63. package/src/aichathistory/aichathistorycontroller.js +1 -1
  64. package/src/aichathistory/aichathistoryui.js +1 -1
  65. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  66. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  67. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  68. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  69. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  71. package/src/aicore/aiconnector.js +1 -1
  72. package/src/aicore/aiediting.js +1 -1
  73. package/src/aicore/model/aicapabilities.js +1 -1
  74. package/src/aicore/model/aiinteraction.js +1 -1
  75. package/src/aicore/model/aimodels.js +1 -1
  76. package/src/aicore/model/aireply.js +1 -1
  77. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  78. package/src/aicore/pipeline/airesponseparser.js +2 -2
  79. package/src/aicore/ui/aidisclaimerview.js +1 -1
  80. package/src/aicore/ui/aiskeleton.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  87. package/src/aicore/utils/createresizebutton.js +1 -1
  88. package/src/aicore/utils/documentrange.js +1 -1
  89. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  90. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  91. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  92. package/src/aicore/utils/htmlparser.js +1 -1
  93. package/src/aicore/utils/htmlstreamer.js +1 -1
  94. package/src/aieditorintegration/aieditorintegration.js +1 -1
  95. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  97. package/src/aiquickactions/aiquickactions.js +1 -1
  98. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  99. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  100. package/src/aiquickactions/aiquickactionsui.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  104. package/src/aireviewmode/aireviewmode.js +1 -1
  105. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  106. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  107. package/src/aireviewmode/aireviewmodeui.js +1 -1
  108. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  112. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  122. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  123. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  124. package/src/aitabs/aitabs.js +1 -1
  125. package/src/aitabs/tabs/aitabsview.js +1 -1
  126. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  127. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6f3810=_0x18bf;(function(_0x12e116,_0x18c97d){const _0xf8d2d6=_0x18bf,_0x60db8c=_0x12e116();while(!![]){try{const _0x47ad5b=-parseInt(_0xf8d2d6(0x1ab))/0x1+parseInt(_0xf8d2d6(0x19b))/0x2*(parseInt(_0xf8d2d6(0x191))/0x3)+-parseInt(_0xf8d2d6(0x19d))/0x4*(-parseInt(_0xf8d2d6(0x194))/0x5)+parseInt(_0xf8d2d6(0x18f))/0x6*(parseInt(_0xf8d2d6(0x19c))/0x7)+-parseInt(_0xf8d2d6(0x1a9))/0x8*(parseInt(_0xf8d2d6(0x199))/0x9)+parseInt(_0xf8d2d6(0x1a3))/0xa*(-parseInt(_0xf8d2d6(0x198))/0xb)+parseInt(_0xf8d2d6(0x1a2))/0xc*(parseInt(_0xf8d2d6(0x19e))/0xd);if(_0x47ad5b===_0x18c97d)break;else _0x60db8c['push'](_0x60db8c['shift']());}catch(_0x1d10ef){_0x60db8c['push'](_0x60db8c['shift']());}}}(_0x4351,0x8c26c));import{ButtonView as _0xd9a14b,View as _0x1849b2}from'ckeditor5/src/ui.js';import{IconStop as _0x5cc8b8}from'ckeditor5/src/icons.js';import{getTranslation as _0x5b53ef}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x1849b2{[_0x6f3810(0x190)];[_0x6f3810(0x1a7)];constructor(_0x4086d0){const _0x5737e9=_0x6f3810;super(_0x4086d0),this[_0x5737e9(0x190)]=this[_0x5737e9(0x19f)](),this[_0x5737e9(0x1a7)]=this[_0x5737e9(0x19a)](),this[_0x5737e9(0x18e)]({'tag':_0x5737e9(0x1a4),'attributes':{'class':['ck',_0x5737e9(0x1a0),_0x5737e9(0x192)]},'children':[this[_0x5737e9(0x1a7)],this[_0x5737e9(0x190)]]});}[_0x6f3810(0x19f)](){const _0x345fe9=_0x6f3810,_0x40f747=new _0xd9a14b(this[_0x345fe9(0x1a8)]);return _0x40f747[_0x345fe9(0x197)]({'label':_0x5b53ef(this[_0x345fe9(0x1a8)],_0x345fe9(0x1a1)),'withText':!0x0,'class':_0x345fe9(0x193),'icon':_0x5cc8b8}),_0x40f747['on'](_0x345fe9(0x196),()=>{const _0x24ac82=_0x345fe9;this[_0x24ac82(0x1aa)](_0x24ac82(0x195));}),_0x40f747;}[_0x6f3810(0x19a)](){const _0x5d1db4=_0x6f3810,_0x14d270=new _0x1849b2(this[_0x5d1db4(0x1a8)]);return _0x14d270[_0x5d1db4(0x18e)]({'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x18d)]},'children':[{'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x1a5)]},'children':[{'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x18c)]}},{'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x18c)]}},{'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x18c)]}}]},{'text':_0x5b53ef(this[_0x5d1db4(0x1a8)],_0x5d1db4(0x1a6))}]}),_0x14d270;}}function _0x18bf(_0x2985be,_0x209a35){const _0x435167=_0x4351();return _0x18bf=function(_0x18bf50,_0x69c1e6){_0x18bf50=_0x18bf50-0x18c;let _0x77a00b=_0x435167[_0x18bf50];return _0x77a00b;},_0x18bf(_0x2985be,_0x209a35);}function _0x4351(){const _0x281cb1=['390lUvyhl','abortPromptStream','execute','set','121NXDPdc','108YLpRUS','_createLoaderView','978700RyXQTZ','36932bkyvhs','31616UDYuSd','26ccHBRy','_createCancelButtonView','ck-ai-chat-controls-loader-wrapper','AI_CHAT_STOP_GENERATING','3348456bZJSdT','749810iUvWpj','div','ck-ai-chat-controls-loader-icon','AI_CHAT_IS_WRITING','_loaderView','locale','254576MBaFMS','fire','157575JeZSsP','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader','setTemplate','312znKbzf','_cancelButtonView','3rhJOyg','ck-reset_all','ck-ai-button-secondary\x20ck-ai-button-stop-generating'];_0x4351=function(){return _0x281cb1;};return _0x4351();}
23
+ const _0x43ea3c=_0x3e54;(function(_0x420dae,_0x2a2932){const _0x293768=_0x3e54,_0x53e1cf=_0x420dae();while(!![]){try{const _0x509baf=-parseInt(_0x293768(0x1bb))/0x1*(parseInt(_0x293768(0x1c1))/0x2)+-parseInt(_0x293768(0x1ac))/0x3*(-parseInt(_0x293768(0x1c6))/0x4)+-parseInt(_0x293768(0x1c3))/0x5*(-parseInt(_0x293768(0x1b2))/0x6)+-parseInt(_0x293768(0x1b1))/0x7+-parseInt(_0x293768(0x1bf))/0x8*(-parseInt(_0x293768(0x1b8))/0x9)+parseInt(_0x293768(0x1c7))/0xa+parseInt(_0x293768(0x1ab))/0xb;if(_0x509baf===_0x2a2932)break;else _0x53e1cf['push'](_0x53e1cf['shift']());}catch(_0x2263fe){_0x53e1cf['push'](_0x53e1cf['shift']());}}}(_0x5d06,0x2fdf3));import{ButtonView as _0x560296,View as _0x23fcbf}from'ckeditor5/src/ui.js';function _0x5d06(){const _0x5a4cb8=['ck-ai-chat-controls-loader','_createCancelButtonView','setTemplate','269402kLBppY','6Gihcuz','abortPromptStream','ck-ai-chat-controls-loader-icon','set','fire','AI_CHAT_IS_WRITING','9EdqfOg','ck-ai-button-secondary\x20ck-ai-button-stop-generating','ck-ai-chat-controls-loader-icon-dot','142061jLVOHV','ck-reset_all','_loaderView','_createLoaderView','636344hUjDnt','ck-ai-chat-controls-loader-wrapper','2KkGFqf','locale','461860bLocbG','AI_CHAT_STOP_GENERATING','execute','20140bsViHJ','1531130dWRido','_cancelButtonView','290697kXRtBw','15rpkcVJ','div'];_0x5d06=function(){return _0x5a4cb8;};return _0x5d06();}import{IconStop as _0x4b023b}from'ckeditor5/src/icons.js';import{getTranslation as _0x2c7cda}from'../../../aicore/utils/common-translations.js';function _0x3e54(_0x3abd59,_0x374ccb){const _0x5d0609=_0x5d06();return _0x3e54=function(_0x3e54d2,_0x108749){_0x3e54d2=_0x3e54d2-0x1ab;let _0x446f31=_0x5d0609[_0x3e54d2];return _0x446f31;},_0x3e54(_0x3abd59,_0x374ccb);}export class AIChatControlsLoaderView extends _0x23fcbf{[_0x43ea3c(0x1c8)];[_0x43ea3c(0x1bd)];constructor(_0x53ddb5){const _0xe484d3=_0x43ea3c;super(_0x53ddb5),this[_0xe484d3(0x1c8)]=this[_0xe484d3(0x1af)](),this[_0xe484d3(0x1bd)]=this[_0xe484d3(0x1be)](),this[_0xe484d3(0x1b0)]({'tag':_0xe484d3(0x1ad),'attributes':{'class':['ck',_0xe484d3(0x1c0),_0xe484d3(0x1bc)]},'children':[this[_0xe484d3(0x1bd)],this[_0xe484d3(0x1c8)]]});}[_0x43ea3c(0x1af)](){const _0x29270d=_0x43ea3c,_0x3588de=new _0x560296(this[_0x29270d(0x1c2)]);return _0x3588de[_0x29270d(0x1b5)]({'label':_0x2c7cda(this[_0x29270d(0x1c2)],_0x29270d(0x1c4)),'withText':!0x0,'class':_0x29270d(0x1b9),'icon':_0x4b023b}),_0x3588de['on'](_0x29270d(0x1c5),()=>{const _0x18b936=_0x29270d;this[_0x18b936(0x1b6)](_0x18b936(0x1b3));}),_0x3588de;}[_0x43ea3c(0x1be)](){const _0x54fe99=_0x43ea3c,_0x36fb0e=new _0x23fcbf(this[_0x54fe99(0x1c2)]);return _0x36fb0e[_0x54fe99(0x1b0)]({'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1ae)]},'children':[{'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1b4)]},'children':[{'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1ba)]}},{'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1ba)]}},{'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1ba)]}}]},{'text':_0x2c7cda(this[_0x54fe99(0x1c2)],_0x54fe99(0x1b7))}]}),_0x36fb0e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x572d(){const _0x2f1918=['extendTemplate','ck-button__label','isVisible','model','log','ck-ai-chat-controls__model-selection__item-name','isEnabled','activeModelId','source','startsWith','ck-hidden','set','modelSelectorVisible','getLocalized','_createReasoningButton','agent','AI_CHAT_COMMANDS','toggleWebSearch','locale','reasoning','AI_CHAT_DISABLE_WEB_SEARCH','reasoningActive','ck-ai-chat-controls__model-selection__item-description','webSearchActive','clear','86kKQDXV','_webSearchButton','text','setTemplate','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','2535235EReoxX','_commandsButton','_createWebSearchButton','enabled','21pPoLfW','toggleReasoning','content','activeModelName','AI_CHAT_CAPABILITIES_YES','description','AI_CHAT_SEARCH_WEB','bindTemplate','_reasoningButton','buttonView','AI_CHAT_CAPABILITIES_NO','label','listenTo','ck-ai-chat-controls__model-name','bind','AI_CHAT_ENABLE_REASONING','ck-ai-chat-controls-button','setModelList','ck-ai-chat__prompt-capabilities','13350799aghUqa','tooltip','AI_CHAT_ENABLE_WEB_SEARCH','capabilities','setWebSearch','716048JukitI','selectModel','_getCapabilityParts','8lRQAyI','_createModelSelectionDropdown','setModel','isOn','fire','9ZLsjFf','modelSelectorEnabled','3204560QDrmJp','withText','_modelNameView','1804488jBSdfz','createCollection','9323mDbuCc','div','addMany','_modelSelectionDropdownItems','enableModelSelector','menuitemradio','button','AI_CHAT_REASONING','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','toLowerCase','AI_CHAT_DISABLE_REASONING','490575NVfXYR','add','webSearch','_createModelNameView','setReasoning','style','Commands\x20are\x20not\x20implemented\x20yet.','ck-ai-chat-controls__model-selection__item-capabilities','ck-ai-chat-controls__model-selection','execute','length','disableModelSelector','_createCommandsButton','name','ck-ai-chat-controls-button--commands','span','_modelSelectionDropdown'];_0x572d=function(){return _0x2f1918;};return _0x572d();}const _0x4967b3=_0x234f;(function(_0x3452b4,_0x6117aa){const _0x181139=_0x234f,_0x105012=_0x3452b4();while(!![]){try{const _0x3d2817=-parseInt(_0x181139(0x14d))/0x1*(-parseInt(_0x181139(0x182))/0x2)+parseInt(_0x181139(0x158))/0x3*(-parseInt(_0x181139(0x141))/0x4)+parseInt(_0x181139(0x187))/0x5+parseInt(_0x181139(0x14b))/0x6+-parseInt(_0x181139(0x18b))/0x7*(-parseInt(_0x181139(0x13e))/0x8)+parseInt(_0x181139(0x146))/0x9*(parseInt(_0x181139(0x148))/0xa)+-parseInt(_0x181139(0x19e))/0xb;if(_0x3d2817===_0x6117aa)break;else _0x105012['push'](_0x105012['shift']());}catch(_0x59aa61){_0x105012['push'](_0x105012['shift']());}}}(_0x572d,0x3eb83));function _0x234f(_0x49233c,_0xf96bd1){const _0x572db3=_0x572d();return _0x234f=function(_0x234fc8,_0x10b474){_0x234fc8=_0x234fc8-0x13e;let _0x5ebf23=_0x572db3[_0x234fc8];return _0x5ebf23;},_0x234f(_0x49233c,_0xf96bd1);}import{Collection as _0x1cb516}from'ckeditor5/src/utils.js';import{IconAI as _0x2dc5ef,IconBulb as _0xba79c2,IconWeb as _0x268014}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x5e1f08,ButtonLabelView as _0x453160,ButtonView as _0x13d67b,createDropdown as _0x15ebfa,IconView as _0x55bfc2,UIModel as _0x16324f,View as _0x9a5dc4}from'ckeditor5/src/ui.js';import{getTranslation as _0x3a284d}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x4fbc09}from'../../../aicore/model/aimodels.js';const yo=_0x4967b3(0x19d),Lo=_0x4967b3(0x19b),Go=_0x4967b3(0x166),Yo=_0x4967b3(0x160),qo=_0x4967b3(0x16e),zo=_0x4967b3(0x17f),Fo=_0x4967b3(0x15f),Jo='n';export class AIChatPromptCapabilitiesView extends _0x9a5dc4{[_0x4967b3(0x183)];[_0x4967b3(0x193)];[_0x4967b3(0x188)];[_0x4967b3(0x168)];[_0x4967b3(0x150)];[_0x4967b3(0x14a)];constructor(_0x269810){const _0x1960dc=_0x4967b3;super(_0x269810),this[_0x1960dc(0x174)](_0x1960dc(0x180),!0x1),this[_0x1960dc(0x174)](_0x1960dc(0x17e),!0x1),this[_0x1960dc(0x174)](_0x1960dc(0x175),!0x0),this[_0x1960dc(0x174)](_0x1960dc(0x147),!0x0),this[_0x1960dc(0x174)](_0x1960dc(0x170),null),this[_0x1960dc(0x174)](_0x1960dc(0x18e),null),this[_0x1960dc(0x168)]=this[_0x1960dc(0x142)](),this[_0x1960dc(0x14a)]=this[_0x1960dc(0x15b)](),this[_0x1960dc(0x183)]=this[_0x1960dc(0x189)](),this[_0x1960dc(0x193)]=this[_0x1960dc(0x177)](),this[_0x1960dc(0x188)]=this[_0x1960dc(0x164)](),this[_0x1960dc(0x168)][_0x1960dc(0x194)][_0x1960dc(0x199)](_0x1960dc(0x16b))['to'](this,_0x1960dc(0x175),_0x4d548e=>_0x4d548e),this[_0x1960dc(0x168)][_0x1960dc(0x194)][_0x1960dc(0x199)](_0x1960dc(0x19f))['to'](this,_0x1960dc(0x147),_0xdd4bb0=>_0xdd4bb0?this[_0x1960dc(0x168)][_0x1960dc(0x194)][_0x1960dc(0x196)]:_0x3a284d(this[_0x1960dc(0x17b)],_0x1960dc(0x186))),this[_0x1960dc(0x168)][_0x1960dc(0x199)](_0x1960dc(0x16f))['to'](this,_0x1960dc(0x147),_0x582718=>_0x582718),this[_0x1960dc(0x183)][_0x1960dc(0x199)](_0x1960dc(0x144))['to'](this,_0x1960dc(0x180),_0x45b782=>_0x45b782),this[_0x1960dc(0x183)][_0x1960dc(0x199)](_0x1960dc(0x149))['to'](this,_0x1960dc(0x175),_0x57e7d7=>!_0x57e7d7),this[_0x1960dc(0x183)][_0x1960dc(0x199)](_0x1960dc(0x19f))['to'](this,_0x1960dc(0x180),_0x3454d8=>_0x3a284d(this[_0x1960dc(0x17b)],_0x3454d8?_0x1960dc(0x17d):_0x1960dc(0x1a0))),this[_0x1960dc(0x193)][_0x1960dc(0x199)](_0x1960dc(0x144))['to'](this,_0x1960dc(0x17e),_0x15e70b=>_0x15e70b),this[_0x1960dc(0x193)][_0x1960dc(0x199)](_0x1960dc(0x149))['to'](this,_0x1960dc(0x175),_0x272f6c=>!_0x272f6c),this[_0x1960dc(0x193)][_0x1960dc(0x199)](_0x1960dc(0x19f))['to'](this,_0x1960dc(0x17e),_0x7451b5=>_0x3a284d(this[_0x1960dc(0x17b)],_0x7451b5?_0x1960dc(0x157):_0x1960dc(0x19a))),this[_0x1960dc(0x185)]({'tag':_0x1960dc(0x14e),'attributes':{'class':[yo]},'children':[this[_0x1960dc(0x168)],this[_0x1960dc(0x14a)],this[_0x1960dc(0x183)],this[_0x1960dc(0x193)],this[_0x1960dc(0x188)]]}),this[_0x1960dc(0x150)]=new _0x1cb516(),_0x5e1f08(this[_0x1960dc(0x168)],this[_0x1960dc(0x150)]);}[_0x4967b3(0x19c)](_0x149dbb,_0x2e3e00){const _0xc9120f=_0x4967b3;if(this[_0xc9120f(0x174)](_0xc9120f(0x175),!(_0x2e3e00&&_0x149dbb[_0xc9120f(0x162)]<=0x1)),this[_0xc9120f(0x150)][_0xc9120f(0x181)](),_0x149dbb?.[_0xc9120f(0x162)]){const _0x515b66=_0x4fbc09[_0xc9120f(0x176)](this[_0xc9120f(0x17b)],_0x149dbb);for(const _0x426e03 of _0x515b66){const _0x5f4b6b=new _0x16324f({'label':_0x426e03[_0xc9120f(0x165)],'withText':!0x0,'role':_0xc9120f(0x152),'id':_0x426e03['id'],'model':_0x426e03});_0x5f4b6b[_0xc9120f(0x199)](_0xc9120f(0x144))['to'](this,_0xc9120f(0x170),_0xfc9ff2=>_0xfc9ff2===_0x426e03['id']),this[_0xc9120f(0x150)][_0xc9120f(0x159)]({'type':_0xc9120f(0x153),'model':_0x5f4b6b,'labelView':new Fs(this[_0xc9120f(0x17b)],_0x426e03)});}}}[_0x4967b3(0x1a2)](_0x5af213){const _0xd68ad4=_0x4967b3;this[_0xd68ad4(0x174)](_0xd68ad4(0x180),_0x5af213);}[_0x4967b3(0x15c)](_0x4d775a){const _0x22ebe0=_0x4967b3;this[_0x22ebe0(0x174)](_0x22ebe0(0x17e),_0x4d775a);}[_0x4967b3(0x143)](_0x59a91b){const _0x1ea29a=_0x4967b3;if(!_0x59a91b)return;this[_0x1ea29a(0x170)]=_0x59a91b['id'],this[_0x1ea29a(0x18e)]=_0x59a91b[_0x1ea29a(0x165)]||_0x59a91b['id'],this[_0x1ea29a(0x168)][_0x1ea29a(0x194)][_0x1ea29a(0x174)](_0x1ea29a(0x196),_0x59a91b[_0x1ea29a(0x165)]),this[_0x1ea29a(0x168)][_0x1ea29a(0x194)][_0x1ea29a(0x174)](_0x1ea29a(0x19f),_0x59a91b[_0x1ea29a(0x165)]);const _0x213a49=_0x59a91b[_0x1ea29a(0x1a1)][_0x1ea29a(0x15a)]?.[_0x1ea29a(0x18a)]??!0x1;this[_0x1ea29a(0x174)](_0x1ea29a(0x180),!0x1),this[_0x1ea29a(0x183)][_0x1ea29a(0x174)](_0x1ea29a(0x144),!0x1),this[_0x1ea29a(0x183)][_0x1ea29a(0x174)](_0x1ea29a(0x16f),_0x213a49),this[_0x1ea29a(0x183)][_0x1ea29a(0x174)](_0x1ea29a(0x16b),_0x213a49);const _0x46bffd=_0x59a91b[_0x1ea29a(0x1a1)][_0x1ea29a(0x17c)]?.[_0x1ea29a(0x18a)]??!0x1;this[_0x1ea29a(0x174)](_0x1ea29a(0x17e),!0x1),this[_0x1ea29a(0x193)][_0x1ea29a(0x174)](_0x1ea29a(0x144),!0x1),this[_0x1ea29a(0x193)][_0x1ea29a(0x174)](_0x1ea29a(0x16f),_0x46bffd),this[_0x1ea29a(0x193)][_0x1ea29a(0x174)](_0x1ea29a(0x16b),_0x46bffd);}[_0x4967b3(0x151)](){const _0x56f3dc=_0x4967b3;this[_0x56f3dc(0x174)](_0x56f3dc(0x147),!0x0),this[_0x56f3dc(0x174)](_0x56f3dc(0x175),!0x0);}[_0x4967b3(0x163)](_0x2b113b){const _0x284c3c=_0x4967b3;this[_0x284c3c(0x174)](_0x284c3c(0x147),!0x1),_0x2b113b&&this[_0x284c3c(0x174)](_0x284c3c(0x175),!0x1);}[_0x4967b3(0x189)](){const _0x546356=_0x4967b3,_0x3f45c4=new _0x13d67b();return _0x3f45c4[_0x546356(0x174)]({'label':_0x3a284d(this[_0x546356(0x17b)],_0x546356(0x191)),'icon':_0x268014,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x3f45c4['on'](_0x546356(0x161),()=>{const _0x37036b=_0x546356;this[_0x37036b(0x145)](_0x37036b(0x17a));}),_0x3f45c4;}[_0x4967b3(0x177)](){const _0x5b424b=_0x4967b3,_0x156726=new _0x13d67b();return _0x156726[_0x5b424b(0x174)]({'label':_0x3a284d(this[_0x5b424b(0x17b)],_0x5b424b(0x154)),'icon':_0xba79c2,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x156726['on'](_0x5b424b(0x161),()=>{const _0x401d35=_0x5b424b;this[_0x401d35(0x145)](_0x401d35(0x18c));}),_0x156726;}[_0x4967b3(0x164)](){const _0x5077f1=_0x4967b3,_0x5a269f=new _0x13d67b();return _0x5a269f[_0x5077f1(0x174)]({'label':_0x3a284d(this[_0x5077f1(0x17b)],_0x5077f1(0x179)),'icon':_0x2dc5ef,'withText':!0x0,'class':Lo,'isToggleable':!0x0,'tooltip':_0x3a284d(this[_0x5077f1(0x17b)],_0x5077f1(0x179)),'tooltipPosition':Jo}),_0x5a269f[_0x5077f1(0x169)]({'attributes':{'class':[Go]}}),_0x5a269f['on'](_0x5077f1(0x161),()=>{const _0x5d2349=_0x5077f1;console[_0x5d2349(0x16d)](_0x5d2349(0x15e)),alert(_0x5d2349(0x15e));}),_0x5a269f;}[_0x4967b3(0x142)](){const _0x24c683=_0x4967b3,_0x135c28=_0x15ebfa(this[_0x24c683(0x17b)]);return _0x135c28[_0x24c683(0x174)]({'panelPosition':'ne','class':[Yo]}),_0x135c28[_0x24c683(0x194)][_0x24c683(0x174)]({'label':_0x3a284d(this[_0x24c683(0x17b)],_0x24c683(0x155)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x24c683(0x197)](_0x135c28,_0x24c683(0x161),_0x59eda8=>{const _0x1066c3=_0x24c683;this[_0x1066c3(0x145)](_0x1066c3(0x13f),_0x59eda8[_0x1066c3(0x171)][_0x1066c3(0x16c)]);}),_0x135c28;}[_0x4967b3(0x15b)](){const _0x1c6df7=_0x4967b3,_0x1a3f9e=new Ko(this[_0x1c6df7(0x17b)]);return _0x1a3f9e[_0x1c6df7(0x199)](_0x1c6df7(0x184))['to'](this,_0x1c6df7(0x18e),_0x515b4e=>_0x515b4e??''),_0x1a3f9e[_0x1c6df7(0x199)](_0x1c6df7(0x16b))['to'](this,_0x1c6df7(0x175),this,_0x1c6df7(0x18e),(_0x2b96da,_0x5e67a1)=>!_0x2b96da&&!_0x5e67a1?.[_0x1c6df7(0x156)]()[_0x1c6df7(0x172)](_0x1c6df7(0x178))),_0x1a3f9e;}}class Fs extends _0x453160{constructor(_0x4d7b51,_0x5dee4c){const _0x41ee84=_0x4967b3;super();const _0x4cfb2e=this[_0x41ee84(0x192)],_0x362384=this[_0x41ee84(0x14c)]();this[_0x41ee84(0x185)]({'tag':_0x41ee84(0x14e),'attributes':{'class':['ck',_0x41ee84(0x16a)],'style':_0x4cfb2e['to'](_0x41ee84(0x15d)),'id':_0x4cfb2e['to']('id')},'children':[{'tag':_0x41ee84(0x14e),'attributes':{'class':[qo]},'children':[{'text':_0x4cfb2e['to'](_0x41ee84(0x184))}]},{'tag':_0x41ee84(0x14e),'attributes':{'class':[zo]},'children':[{'tag':_0x41ee84(0x167),'children':[{'text':_0x5dee4c[_0x41ee84(0x190)]}]}]},{'tag':_0x41ee84(0x14e),'attributes':{'class':[Fo]},'children':_0x362384}]}),_0x362384[_0x41ee84(0x14f)](this[_0x41ee84(0x140)](_0x4d7b51,_0x268014,_0x41ee84(0x191),_0x5dee4c[_0x41ee84(0x1a1)][_0x41ee84(0x15a)]?.[_0x41ee84(0x18a)]??!0x1)),_0x362384[_0x41ee84(0x14f)](this[_0x41ee84(0x140)](_0x4d7b51,_0xba79c2,_0x41ee84(0x154),_0x5dee4c[_0x41ee84(0x1a1)][_0x41ee84(0x17c)]?.[_0x41ee84(0x18a)]??!0x1));}[_0x4967b3(0x140)](_0x2debe3,_0x18cb8d,_0x2eda8d,_0x378886){const _0x27604c=_0x4967b3,_0x7c3c56=new _0x55bfc2();_0x7c3c56[_0x27604c(0x18d)]=_0x18cb8d;const _0x5c0b48=new _0x9a5dc4(_0x2debe3);_0x5c0b48[_0x27604c(0x185)]({'tag':_0x27604c(0x167),'children':[{'text':_0x3a284d(_0x2debe3,_0x2eda8d)+':\x20'}]});const _0x2aff95=new _0x9a5dc4(_0x2debe3);return _0x2aff95[_0x27604c(0x185)]({'tag':_0x27604c(0x167),'children':[{'text':_0x3a284d(_0x2debe3,_0x378886?_0x27604c(0x18f):_0x27604c(0x195))}]}),[_0x7c3c56,_0x5c0b48,_0x2aff95];}}class Ko extends _0x9a5dc4{constructor(_0x3f4639){const _0x2de61d=_0x4967b3;super(_0x3f4639),this[_0x2de61d(0x174)](_0x2de61d(0x184),void 0x0),this[_0x2de61d(0x174)](_0x2de61d(0x16b),!0x0);const _0x20c1c4=this[_0x2de61d(0x192)];this[_0x2de61d(0x185)]({'tag':_0x2de61d(0x167),'attributes':{'class':['ck',_0x2de61d(0x198),_0x20c1c4['if'](_0x2de61d(0x16b),_0x2de61d(0x173),_0x53824e=>!_0x53824e)]},'children':[{'text':_0x20c1c4['to'](_0x2de61d(0x184))}]});}}
23
+ const _0x4baa10=_0x6584;(function(_0x172313,_0x29cbe1){const _0x58f4f2=_0x6584,_0x3555b6=_0x172313();while(!![]){try{const _0x5c97c6=parseInt(_0x58f4f2(0x198))/0x1+-parseInt(_0x58f4f2(0x1a1))/0x2*(-parseInt(_0x58f4f2(0x195))/0x3)+parseInt(_0x58f4f2(0x187))/0x4*(parseInt(_0x58f4f2(0x1af))/0x5)+parseInt(_0x58f4f2(0x158))/0x6*(parseInt(_0x58f4f2(0x1a8))/0x7)+parseInt(_0x58f4f2(0x162))/0x8*(-parseInt(_0x58f4f2(0x194))/0x9)+-parseInt(_0x58f4f2(0x154))/0xa+parseInt(_0x58f4f2(0x1a2))/0xb*(parseInt(_0x58f4f2(0x17c))/0xc);if(_0x5c97c6===_0x29cbe1)break;else _0x3555b6['push'](_0x3555b6['shift']());}catch(_0x4b5d6c){_0x3555b6['push'](_0x3555b6['shift']());}}}(_0x1146,0x25ed3));import{Collection as _0xee16cc}from'ckeditor5/src/utils.js';import{IconAI as _0x56d781,IconBulb as _0x51bcbd,IconWeb as _0x17ce65}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x40c9c6,ButtonLabelView as _0x3c6aae,ButtonView as _0x4e2617,createDropdown as _0x1920f2,IconView as _0x30ffaf,UIModel as _0x5d186e,View as _0x323162}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ab203}from'../../../aicore/utils/common-translations.js';function _0x6584(_0x2eaa12,_0x3c9ba7){const _0x11465e=_0x1146();return _0x6584=function(_0x6584fe,_0x357ec8){_0x6584fe=_0x6584fe-0x151;let _0x4d2b9e=_0x11465e[_0x6584fe];return _0x4d2b9e;},_0x6584(_0x2eaa12,_0x3c9ba7);}import{AIModels as _0x51d85b}from'../../../aicore/model/aimodels.js';const Wo=_0x4baa10(0x1ad),bo=_0x4baa10(0x18c),yo=_0x4baa10(0x159),Go=_0x4baa10(0x1b6),Yo=_0x4baa10(0x172),qo=_0x4baa10(0x18b),zo=_0x4baa10(0x1b2),Jo='n';export class AIChatPromptCapabilitiesView extends _0x323162{[_0x4baa10(0x165)];[_0x4baa10(0x190)];[_0x4baa10(0x1b5)];[_0x4baa10(0x19c)];[_0x4baa10(0x19e)];[_0x4baa10(0x1b4)];constructor(_0xe927d0){const _0x157f9e=_0x4baa10;super(_0xe927d0),this[_0x157f9e(0x16b)](_0x157f9e(0x16d),!0x1),this[_0x157f9e(0x16b)](_0x157f9e(0x166),!0x1),this[_0x157f9e(0x16b)](_0x157f9e(0x1a0),!0x0),this[_0x157f9e(0x16b)](_0x157f9e(0x18f),!0x0),this[_0x157f9e(0x16b)](_0x157f9e(0x197),null),this[_0x157f9e(0x16b)](_0x157f9e(0x16c),null),this[_0x157f9e(0x19c)]=this[_0x157f9e(0x169)](),this[_0x157f9e(0x1b4)]=this[_0x157f9e(0x177)](),this[_0x157f9e(0x165)]=this[_0x157f9e(0x15c)](),this[_0x157f9e(0x190)]=this[_0x157f9e(0x16a)](),this[_0x157f9e(0x1b5)]=this[_0x157f9e(0x15a)](),this[_0x157f9e(0x19c)][_0x157f9e(0x182)][_0x157f9e(0x15e)](_0x157f9e(0x157))['to'](this,_0x157f9e(0x1a0),_0x5453e2=>_0x5453e2),this[_0x157f9e(0x19c)][_0x157f9e(0x182)][_0x157f9e(0x15e)](_0x157f9e(0x183))['to'](this,_0x157f9e(0x18f),_0x60b4b9=>_0x60b4b9?this[_0x157f9e(0x19c)][_0x157f9e(0x182)][_0x157f9e(0x18e)]:_0x3ab203(this[_0x157f9e(0x184)],_0x157f9e(0x15f))),this[_0x157f9e(0x19c)][_0x157f9e(0x15e)](_0x157f9e(0x186))['to'](this,_0x157f9e(0x18f),_0x3a5f91=>_0x3a5f91),this[_0x157f9e(0x165)][_0x157f9e(0x15e)](_0x157f9e(0x16e))['to'](this,_0x157f9e(0x16d),_0x52904c=>_0x52904c),this[_0x157f9e(0x165)][_0x157f9e(0x15e)](_0x157f9e(0x176))['to'](this,_0x157f9e(0x1a0),_0x17ea41=>!_0x17ea41),this[_0x157f9e(0x165)][_0x157f9e(0x15e)](_0x157f9e(0x183))['to'](this,_0x157f9e(0x16d),_0x3c0c13=>_0x3ab203(this[_0x157f9e(0x184)],_0x3c0c13?_0x157f9e(0x17d):_0x157f9e(0x1ac))),this[_0x157f9e(0x190)][_0x157f9e(0x15e)](_0x157f9e(0x16e))['to'](this,_0x157f9e(0x166),_0x4f1631=>_0x4f1631),this[_0x157f9e(0x190)][_0x157f9e(0x15e)](_0x157f9e(0x176))['to'](this,_0x157f9e(0x1a0),_0x1827b3=>!_0x1827b3),this[_0x157f9e(0x190)][_0x157f9e(0x15e)](_0x157f9e(0x183))['to'](this,_0x157f9e(0x166),_0x5dea4a=>_0x3ab203(this[_0x157f9e(0x184)],_0x5dea4a?_0x157f9e(0x199):_0x157f9e(0x153))),this[_0x157f9e(0x1ae)]({'tag':_0x157f9e(0x173),'attributes':{'class':[Wo]},'children':[this[_0x157f9e(0x19c)],this[_0x157f9e(0x1b4)],this[_0x157f9e(0x165)],this[_0x157f9e(0x190)],this[_0x157f9e(0x1b5)]]}),this[_0x157f9e(0x19e)]=new _0xee16cc(),_0x40c9c6(this[_0x157f9e(0x19c)],this[_0x157f9e(0x19e)]);}[_0x4baa10(0x189)](_0x43b539,_0x36596c){const _0x5be7eb=_0x4baa10;if(this[_0x5be7eb(0x16b)](_0x5be7eb(0x1a0),!(_0x36596c&&_0x43b539[_0x5be7eb(0x181)]<=0x1)),this[_0x5be7eb(0x19e)][_0x5be7eb(0x188)](),_0x43b539?.[_0x5be7eb(0x181)]){const _0x4ff807=_0x51d85b[_0x5be7eb(0x17e)](this[_0x5be7eb(0x184)],_0x43b539);for(const _0x51c886 of _0x4ff807){const _0x40bba5=new _0x5d186e({'label':_0x51c886[_0x5be7eb(0x1a6)],'withText':!0x0,'role':_0x5be7eb(0x15d),'id':_0x51c886['id'],'model':_0x51c886});_0x40bba5[_0x5be7eb(0x15e)](_0x5be7eb(0x16e))['to'](this,_0x5be7eb(0x197),_0x425019=>_0x425019===_0x51c886['id']),this[_0x5be7eb(0x19e)][_0x5be7eb(0x193)]({'type':_0x5be7eb(0x156),'model':_0x40bba5,'labelView':new Fs(this[_0x5be7eb(0x184)],_0x51c886)});}}}[_0x4baa10(0x180)](_0x58ee3f){const _0x3e5bb0=_0x4baa10;this[_0x3e5bb0(0x16b)](_0x3e5bb0(0x16d),_0x58ee3f);}[_0x4baa10(0x17a)](_0x374dfd){const _0x82560d=_0x4baa10;this[_0x82560d(0x16b)](_0x82560d(0x166),_0x374dfd);}[_0x4baa10(0x175)](_0x3b0a18){const _0xe5d5bb=_0x4baa10;if(!_0x3b0a18)return;this[_0xe5d5bb(0x197)]=_0x3b0a18['id'],this[_0xe5d5bb(0x16c)]=_0x3b0a18[_0xe5d5bb(0x1a6)]||_0x3b0a18['id'],this[_0xe5d5bb(0x19c)][_0xe5d5bb(0x182)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x18e),_0x3b0a18[_0xe5d5bb(0x1a6)]),this[_0xe5d5bb(0x19c)][_0xe5d5bb(0x182)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x183),_0x3b0a18[_0xe5d5bb(0x1a6)]);const _0x3b0b83=_0x3b0a18[_0xe5d5bb(0x19d)][_0xe5d5bb(0x1ab)]?.[_0xe5d5bb(0x1b1)]??!0x1;this[_0xe5d5bb(0x16b)](_0xe5d5bb(0x16d),!0x1),this[_0xe5d5bb(0x165)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x16e),!0x1),this[_0xe5d5bb(0x165)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x186),_0x3b0b83),this[_0xe5d5bb(0x165)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x157),_0x3b0b83);const _0x1ca8b8=_0x3b0a18[_0xe5d5bb(0x19d)][_0xe5d5bb(0x1a7)]?.[_0xe5d5bb(0x1b1)]??!0x1;this[_0xe5d5bb(0x16b)](_0xe5d5bb(0x166),!0x1),this[_0xe5d5bb(0x190)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x16e),!0x1),this[_0xe5d5bb(0x190)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x186),_0x1ca8b8),this[_0xe5d5bb(0x190)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x157),_0x1ca8b8);}[_0x4baa10(0x178)](){const _0x1e5bc2=_0x4baa10;this[_0x1e5bc2(0x16b)](_0x1e5bc2(0x18f),!0x0),this[_0x1e5bc2(0x16b)](_0x1e5bc2(0x1a0),!0x0);}[_0x4baa10(0x185)](_0x16e390){const _0x5c5320=_0x4baa10;this[_0x5c5320(0x16b)](_0x5c5320(0x18f),!0x1),_0x16e390&&this[_0x5c5320(0x16b)](_0x5c5320(0x1a0),!0x1);}[_0x4baa10(0x15c)](){const _0x3c9977=_0x4baa10,_0xf58018=new _0x4e2617();return _0xf58018[_0x3c9977(0x16b)]({'label':_0x3ab203(this[_0x3c9977(0x184)],_0x3c9977(0x179)),'icon':_0x17ce65,'class':bo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0xf58018['on'](_0x3c9977(0x160),()=>{const _0x4874ed=_0x3c9977;this[_0x4874ed(0x155)](_0x4874ed(0x164));}),_0xf58018;}[_0x4baa10(0x16a)](){const _0x50d6cf=_0x4baa10,_0x2d1df7=new _0x4e2617();return _0x2d1df7[_0x50d6cf(0x16b)]({'label':_0x3ab203(this[_0x50d6cf(0x184)],_0x50d6cf(0x151)),'icon':_0x51bcbd,'class':bo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x2d1df7['on'](_0x50d6cf(0x160),()=>{const _0x175ce2=_0x50d6cf;this[_0x175ce2(0x155)](_0x175ce2(0x1aa));}),_0x2d1df7;}[_0x4baa10(0x15a)](){const _0x37d822=_0x4baa10,_0x4bad8e=new _0x4e2617();return _0x4bad8e[_0x37d822(0x16b)]({'label':_0x3ab203(this[_0x37d822(0x184)],_0x37d822(0x167)),'icon':_0x56d781,'withText':!0x0,'class':bo,'isToggleable':!0x0,'tooltip':_0x3ab203(this[_0x37d822(0x184)],_0x37d822(0x167)),'tooltipPosition':Jo}),_0x4bad8e[_0x37d822(0x191)]({'attributes':{'class':[yo]}}),_0x4bad8e['on'](_0x37d822(0x160),()=>{const _0x540f56=_0x37d822;console[_0x540f56(0x19a)](_0x540f56(0x1b3)),alert(_0x540f56(0x1b3));}),_0x4bad8e;}[_0x4baa10(0x169)](){const _0x36bb99=_0x4baa10,_0x519d75=_0x1920f2(this[_0x36bb99(0x184)]);return _0x519d75[_0x36bb99(0x16b)]({'panelPosition':'ne','class':[Go]}),_0x519d75[_0x36bb99(0x182)][_0x36bb99(0x16b)]({'label':_0x3ab203(this[_0x36bb99(0x184)],_0x36bb99(0x192)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x36bb99(0x1a9)](_0x519d75,_0x36bb99(0x160),_0x18fc76=>{const _0x32fe95=_0x36bb99;this[_0x32fe95(0x155)](_0x32fe95(0x174),_0x18fc76[_0x32fe95(0x1a3)][_0x32fe95(0x18a)]);}),_0x519d75;}[_0x4baa10(0x177)](){const _0x2f42c6=_0x4baa10,_0x30415e=new Ko(this[_0x2f42c6(0x184)]);return _0x30415e[_0x2f42c6(0x15e)](_0x2f42c6(0x19f))['to'](this,_0x2f42c6(0x16c),_0x3a2ff5=>_0x3a2ff5??''),_0x30415e[_0x2f42c6(0x15e)](_0x2f42c6(0x157))['to'](this,_0x2f42c6(0x1a0),this,_0x2f42c6(0x16c),(_0x84838a,_0x153ef2)=>!_0x84838a&&!_0x153ef2?.[_0x2f42c6(0x171)]()[_0x2f42c6(0x1b0)](_0x2f42c6(0x17b))),_0x30415e;}}class Fs extends _0x3c6aae{constructor(_0x4ca1ee,_0x2992b1){const _0x340ffc=_0x4baa10;super();const _0x4440a2=this[_0x340ffc(0x18d)],_0x2b2ee1=this[_0x340ffc(0x1a5)]();this[_0x340ffc(0x1ae)]({'tag':_0x340ffc(0x173),'attributes':{'class':['ck',_0x340ffc(0x168)],'style':_0x4440a2['to'](_0x340ffc(0x19b)),'id':_0x4440a2['to']('id')},'children':[{'tag':_0x340ffc(0x173),'attributes':{'class':[Yo]},'children':[{'text':_0x4440a2['to'](_0x340ffc(0x19f))}]},{'tag':_0x340ffc(0x173),'attributes':{'class':[qo]},'children':[{'tag':_0x340ffc(0x163),'children':[{'text':_0x2992b1[_0x340ffc(0x17f)]}]}]},{'tag':_0x340ffc(0x173),'attributes':{'class':[zo]},'children':_0x2b2ee1}]}),_0x2b2ee1[_0x340ffc(0x161)](this[_0x340ffc(0x16f)](_0x4ca1ee,_0x17ce65,_0x340ffc(0x179),_0x2992b1[_0x340ffc(0x19d)][_0x340ffc(0x1ab)]?.[_0x340ffc(0x1b1)]??!0x1)),_0x2b2ee1[_0x340ffc(0x161)](this[_0x340ffc(0x16f)](_0x4ca1ee,_0x51bcbd,_0x340ffc(0x151),_0x2992b1[_0x340ffc(0x19d)][_0x340ffc(0x1a7)]?.[_0x340ffc(0x1b1)]??!0x1));}[_0x4baa10(0x16f)](_0x284309,_0x566d8b,_0x5774b2,_0x4163d9){const _0x58d1da=_0x4baa10,_0x25994b=new _0x30ffaf();_0x25994b[_0x58d1da(0x152)]=_0x566d8b;const _0x4ddf4d=new _0x323162(_0x284309);_0x4ddf4d[_0x58d1da(0x1ae)]({'tag':_0x58d1da(0x163),'children':[{'text':_0x3ab203(_0x284309,_0x5774b2)+':\x20'}]});const _0xc9e9d0=new _0x323162(_0x284309);return _0xc9e9d0[_0x58d1da(0x1ae)]({'tag':_0x58d1da(0x163),'children':[{'text':_0x3ab203(_0x284309,_0x4163d9?_0x58d1da(0x1a4):_0x58d1da(0x196))}]}),[_0x25994b,_0x4ddf4d,_0xc9e9d0];}}class Ko extends _0x323162{constructor(_0x2a5eae){const _0x268680=_0x4baa10;super(_0x2a5eae),this[_0x268680(0x16b)](_0x268680(0x19f),void 0x0),this[_0x268680(0x16b)](_0x268680(0x157),!0x0);const _0x2a09fc=this[_0x268680(0x18d)];this[_0x268680(0x1ae)]({'tag':_0x268680(0x163),'attributes':{'class':['ck',_0x268680(0x15b),_0x2a09fc['if'](_0x268680(0x157),_0x268680(0x170),_0x103f72=>!_0x103f72)]},'children':[{'text':_0x2a09fc['to'](_0x268680(0x19f))}]});}}function _0x1146(){const _0x3c89ae=['buttonView','tooltip','locale','disableModelSelector','isEnabled','4MnSsip','clear','setModelList','model','ck-ai-chat-controls__model-selection__item-description','ck-ai-chat-controls-button','bindTemplate','label','modelSelectorEnabled','_reasoningButton','extendTemplate','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','add','12591vxLicW','3yVEYZo','AI_CHAT_CAPABILITIES_NO','activeModelId','154382NLZUUZ','AI_CHAT_DISABLE_REASONING','log','style','_modelSelectionDropdown','capabilities','_modelSelectionDropdownItems','text','modelSelectorVisible','206468DoohNr','101871KCYRjp','source','AI_CHAT_CAPABILITIES_YES','createCollection','name','reasoning','7LWNpDR','listenTo','toggleReasoning','webSearch','AI_CHAT_ENABLE_WEB_SEARCH','ck-ai-chat__prompt-capabilities','setTemplate','620525IxTJhy','startsWith','enabled','ck-ai-chat-controls__model-selection__item-capabilities','Commands\x20are\x20not\x20implemented\x20yet.','_modelNameView','_commandsButton','ck-ai-chat-controls__model-selection','AI_CHAT_REASONING','content','AI_CHAT_ENABLE_REASONING','2142690hWNVZp','fire','button','isVisible','4098FjXQIt','ck-ai-chat-controls-button--commands','_createCommandsButton','ck-ai-chat-controls__model-name','_createWebSearchButton','menuitemradio','bind','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','execute','addMany','232oSQSHz','span','toggleWebSearch','_webSearchButton','reasoningActive','AI_CHAT_COMMANDS','ck-button__label','_createModelSelectionDropdown','_createReasoningButton','set','activeModelName','webSearchActive','isOn','_getCapabilityParts','ck-hidden','toLowerCase','ck-ai-chat-controls__model-selection__item-name','div','selectModel','setModel','withText','_createModelNameView','enableModelSelector','AI_CHAT_SEARCH_WEB','setReasoning','agent','36VpDwQF','AI_CHAT_DISABLE_WEB_SEARCH','getLocalized','description','setWebSearch','length'];_0x1146=function(){return _0x3c89ae;};return _0x1146();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2adb33=_0xfd55;(function(_0x59bf52,_0x5b31cf){const _0x58539c=_0xfd55,_0x2d9191=_0x59bf52();while(!![]){try{const _0xdd90b=parseInt(_0x58539c(0x94))/0x1*(parseInt(_0x58539c(0xc6))/0x2)+parseInt(_0x58539c(0xc1))/0x3+-parseInt(_0x58539c(0xad))/0x4*(-parseInt(_0x58539c(0x87))/0x5)+parseInt(_0x58539c(0xbf))/0x6*(parseInt(_0x58539c(0xa8))/0x7)+parseInt(_0x58539c(0xb4))/0x8+parseInt(_0x58539c(0xbb))/0x9*(-parseInt(_0x58539c(0xbc))/0xa)+-parseInt(_0x58539c(0x95))/0xb;if(_0xdd90b===_0x5b31cf)break;else _0x2d9191['push'](_0x2d9191['shift']());}catch(_0x21c6ad){_0x2d9191['push'](_0x2d9191['shift']());}}}(_0x1cb4,0x38b3b));function _0xfd55(_0x466814,_0x3fe7ae){const _0x1cb4d4=_0x1cb4();return _0xfd55=function(_0xfd5574,_0x4de3fb){_0xfd5574=_0xfd5574-0x87;let _0x3595e7=_0x1cb4d4[_0xfd5574];return _0x3595e7;},_0xfd55(_0x466814,_0x3fe7ae);}function _0x1cb4(){const _0x48c4f9=['render','submitButtonView','left','extendTemplate','requestAnimationFrame','MAX_ROWS','destroy','setIsUploadInProgress','reset','px\x20-\x20var(--ck-spacing-tiny))','6769HcoXFp','target','trim','style','hasError','2452llDrxC','sendUserMessage','locale','submit','calc(','right','set','1987136vuswdc','update','fieldView','_createSubmitButton','bind','execute','placeholder','11457HqdYAJ','890yjwgna','value','window','78OWUJdD','setPlaceholderText','511113zdUTkA','_setUpAddContextButtonPositioning','isEmpty','excludeScrollbarsAndBorders','_addContextButtonView','22NyWgrK','maxRows','rtl','1865VUfriJ','isEnabled','minRows','queryView','keystrokes','focusableChildren','ck-ai-chat__prompt-input','uiLanguageDirection','element','add','MIN_ROWS','fire','enter','25609pAsUXJ','6557474UfKxWH','width','AI_CHAT_LABEL_SUBMIT','AI_CHAT_PROMPT_EMPTY_ERROR','errorText','fieldWrapperChildren','_queryViewResizeObserver','isUploadInProgress','ck-ai-chat__prompt-submit-button'];_0x1cb4=function(){return _0x48c4f9;};return _0x1cb4();}import{IconSubmit as _0x48defd}from'ckeditor5/src/icons.js';import{ButtonView as _0x3d4e6d,AutocompleteView as _0x354d98,createLabeledTextarea as _0x818481}from'ckeditor5/src/ui.js';import{global as _0x19f107,isVisible as _0x307f80,Rect as _0x13f322,ResizeObserver as _0x5401f0}from'ckeditor5/src/utils.js';import{getTranslation as _0x3f026e}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x5642cf}from'./aichatpromptsuggestionslistview.js';import{escape as _0x290413}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x354d98{[_0x2adb33(0x9f)];static [_0x2adb33(0x91)]=0x1;static [_0x2adb33(0xa3)]=0xc;[_0x2adb33(0xc5)];[_0x2adb33(0x9b)];constructor(_0x259645,_0x4a96d6){const _0x276ccf=_0x2adb33;super(_0x259645,{'queryView':{'label':'','creator':_0x818481,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x5642cf(_0x259645),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x276ccf(0xb3)](_0x276ccf(0xc3),!0x0),this[_0x276ccf(0xb3)](_0x276ccf(0x9c),!0x1),this[_0x276ccf(0xc5)]=_0x4a96d6,this[_0x276ccf(0x9b)]=null,this[_0x276ccf(0x8a)][_0x276ccf(0xb6)][_0x276ccf(0x89)]=AIChatPromptInputView[_0x276ccf(0x91)],this[_0x276ccf(0x8a)][_0x276ccf(0xb6)][_0x276ccf(0xc7)]=AIChatPromptInputView[_0x276ccf(0xa3)],this[_0x276ccf(0x8a)][_0x276ccf(0x9a)][_0x276ccf(0x90)](this[_0x276ccf(0xc5)]),this[_0x276ccf(0xc2)](),this[_0x276ccf(0xa1)]({'attributes':{'class':['ck',_0x276ccf(0x8d)]}}),this[_0x276ccf(0x9f)]=this[_0x276ccf(0xb7)](),this[_0x276ccf(0x9f)][_0x276ccf(0xb8)](_0x276ccf(0x88))['to'](this,_0x276ccf(0xc3),this,_0x276ccf(0x9c),(_0xeeb668,_0x27b645)=>!_0xeeb668&&!_0x27b645),this[_0x276ccf(0x8c)][_0x276ccf(0x90)](this[_0x276ccf(0x9f)]);}[_0x2adb33(0x9e)](){const _0x190662=_0x2adb33;super[_0x190662(0x9e)](),this[_0x190662(0x8a)][_0x190662(0x9a)][_0x190662(0x90)](this[_0x190662(0x9f)]),this[_0x190662(0x8b)][_0x190662(0xb3)](_0x190662(0x93),(_0x3bcb92,_0x41f598)=>{const _0x50108d=_0x190662;this[_0x50108d(0x9c)]||this[_0x50108d(0xc3)]||_0x3bcb92[_0x50108d(0xa9)]==this[_0x50108d(0x8a)][_0x50108d(0xb6)][_0x50108d(0x8f)]&&(this[_0x50108d(0xb0)](),_0x41f598());}),this[_0x190662(0x8a)][_0x190662(0xb6)]['on'](_0x190662(0xb5),()=>{const _0x31566c=_0x190662;this[_0x31566c(0xc3)]=''===this[_0x31566c(0x8a)][_0x31566c(0xb6)][_0x31566c(0x8f)][_0x31566c(0xbd)]?.[_0x31566c(0xaa)]();});}[_0x2adb33(0xa4)](){const _0x3cc1b7=_0x2adb33;super[_0x3cc1b7(0xa4)](),this[_0x3cc1b7(0x9b)]&&this[_0x3cc1b7(0x9b)][_0x3cc1b7(0xa4)]();}[_0x2adb33(0xb0)](){const _0x332fec=_0x2adb33,_0x540f93=this[_0x332fec(0x8a)][_0x332fec(0xb6)][_0x332fec(0x8f)][_0x332fec(0xbd)]?.[_0x332fec(0xaa)]();if(!_0x540f93)return this[_0x332fec(0x8a)][_0x332fec(0x99)]=_0x3f026e(this[_0x332fec(0xaf)],_0x332fec(0x98)),void(this[_0x332fec(0x8a)][_0x332fec(0xb6)][_0x332fec(0xac)]=!0x0);this[_0x332fec(0x8a)][_0x332fec(0xb6)][_0x332fec(0xac)]=!0x1;const _0x2ac983=_0x290413(_0x540f93);this[_0x332fec(0x92)](_0x332fec(0xae),_0x2ac983),this[_0x332fec(0x8a)][_0x332fec(0xb6)][_0x332fec(0xa6)]();}[_0x2adb33(0xc0)](_0x49d79a){const _0x3769d3=_0x2adb33;this[_0x3769d3(0x8a)][_0x3769d3(0xb6)][_0x3769d3(0xb3)](_0x3769d3(0xba),_0x49d79a);}[_0x2adb33(0xb7)](){const _0xc60cf7=_0x2adb33,_0xb6cea8=new _0x3d4e6d(this[_0xc60cf7(0xaf)]);return _0xb6cea8[_0xc60cf7(0xb3)]({'icon':_0x48defd,'label':_0x3f026e(this[_0xc60cf7(0xaf)],_0xc60cf7(0x97)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xc60cf7(0x9d),'isEnabled':!0x1}),_0xb6cea8['on'](_0xc60cf7(0xb9),()=>{const _0x4faef6=_0xc60cf7;this[_0x4faef6(0xb0)]();}),_0xb6cea8;}[_0x2adb33(0xa5)](_0x21cea7){const _0x546b27=_0x2adb33;this[_0x546b27(0x9c)]=_0x21cea7;}[_0x2adb33(0xc2)](){const _0x2c0709=_0x2adb33,_0xc4a046=this[_0x2c0709(0xaf)],_0x2f9d08=()=>{const _0x41a7ae=_0x2c0709;_0x19f107[_0x41a7ae(0xbe)][_0x41a7ae(0xa2)](()=>{const _0x51a3a1=_0x41a7ae;if(_0x307f80(this[_0x51a3a1(0x8f)])){const _0x51c08b=new _0x13f322(this[_0x51a3a1(0x8a)][_0x51a3a1(0xb6)][_0x51a3a1(0x8f)]),_0x226f88=new _0x13f322(this[_0x51a3a1(0xc5)][_0x51a3a1(0x8f)]),_0x383010=_0x51c08b[_0x51a3a1(0x96)],_0x48ea26=_0x51a3a1(0xc8)===_0xc4a046[_0x51a3a1(0x8e)]?_0x51a3a1(0xb2):_0x51a3a1(0xa0);_0x51c08b[_0x51a3a1(0xc4)]();const _0x409577=_0x383010-_0x51c08b[_0x51a3a1(0x96)]+0x1;this[_0x51a3a1(0xc5)][_0x51a3a1(0x8f)][_0x51a3a1(0xab)][_0x48ea26]=_0x51a3a1(0xb1)+(_0x383010-_0x226f88[_0x51a3a1(0x96)]-_0x409577)+_0x51a3a1(0xa7);}});};this[_0x2c0709(0x8a)][_0x2c0709(0xb6)]['on'](_0x2c0709(0xb5),_0x2f9d08),this['on'](_0x2c0709(0x9e),()=>{const _0x4d315d=_0x2c0709;_0x2f9d08(),this[_0x4d315d(0x9b)]=new _0x5401f0(this[_0x4d315d(0x8a)][_0x4d315d(0xb6)][_0x4d315d(0x8f)],()=>{_0x2f9d08();});});}}
23
+ const _0x50d18e=_0x42a7;function _0x42a7(_0x13ada1,_0xf989d9){const _0x5998db=_0x5998();return _0x42a7=function(_0x42a7d6,_0x557709){_0x42a7d6=_0x42a7d6-0xdd;let _0xf98a61=_0x5998db[_0x42a7d6];return _0xf98a61;},_0x42a7(_0x13ada1,_0xf989d9);}(function(_0x1aa51b,_0x4a7833){const _0x18203e=_0x42a7,_0x204829=_0x1aa51b();while(!![]){try{const _0x507afc=parseInt(_0x18203e(0x11d))/0x1*(parseInt(_0x18203e(0xee))/0x2)+-parseInt(_0x18203e(0xfc))/0x3*(parseInt(_0x18203e(0x108))/0x4)+parseInt(_0x18203e(0x10e))/0x5*(-parseInt(_0x18203e(0xf5))/0x6)+parseInt(_0x18203e(0xe3))/0x7*(-parseInt(_0x18203e(0xdd))/0x8)+parseInt(_0x18203e(0x10d))/0x9+parseInt(_0x18203e(0xe7))/0xa+-parseInt(_0x18203e(0x113))/0xb*(-parseInt(_0x18203e(0x118))/0xc);if(_0x507afc===_0x4a7833)break;else _0x204829['push'](_0x204829['shift']());}catch(_0x8fbd56){_0x204829['push'](_0x204829['shift']());}}}(_0x5998,0x88b2c));import{IconSubmit as _0x41dc0f}from'ckeditor5/src/icons.js';import{ButtonView as _0x21f379,AutocompleteView as _0x4b5cd8,createLabeledTextarea as _0x548aff}from'ckeditor5/src/ui.js';function _0x5998(){const _0x5cf93b=['ck-ai-chat__prompt-input','value','errorText','_queryViewResizeObserver','minRows','51YGcIBa','isEnabled','destroy','width','_addContextButtonView','uiLanguageDirection','enter','excludeScrollbarsAndBorders','fire','calc(','fieldView','_createSubmitButton','230108PUrKrE','maxRows','MIN_ROWS','execute','render','172692ynlujr','14565gFuTfP','bind','left','ck-ai-chat__prompt-submit-button','rtl','1171423DkpxyO','set','sendUserMessage','submitButtonView','add','120emJnPE','queryView','locale','target','px\x20-\x20var(--ck-spacing-tiny))','284ssQITk','fieldWrapperChildren','focusableChildren','34856fdBuPI','isEmpty','extendTemplate','hasError','right','update','581qEyrsR','keystrokes','submit','trim','5882250nBwbXs','MAX_ROWS','setPlaceholderText','style','window','AI_CHAT_PROMPT_EMPTY_ERROR','placeholder','4164izAMRp','reset','isUploadInProgress','requestAnimationFrame','setIsUploadInProgress','element','_setUpAddContextButtonPositioning','750zrpFVV','AI_CHAT_LABEL_SUBMIT'];_0x5998=function(){return _0x5cf93b;};return _0x5998();}import{global as _0x25448,isVisible as _0x5ea755,Rect as _0x3c22af,ResizeObserver as _0x271811}from'ckeditor5/src/utils.js';import{getTranslation as _0x36593b}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x546e49}from'./aichatpromptsuggestionslistview.js';import{escape as _0x48d995}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x4b5cd8{[_0x50d18e(0x116)];static [_0x50d18e(0x10a)]=0x1;static [_0x50d18e(0xe8)]=0xc;[_0x50d18e(0x100)];[_0x50d18e(0xfa)];constructor(_0x42c25c,_0xe4d6e9){const _0x4008c2=_0x50d18e;super(_0x42c25c,{'queryView':{'label':'','creator':_0x548aff,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x546e49(_0x42c25c),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4008c2(0x114)](_0x4008c2(0xde),!0x0),this[_0x4008c2(0x114)](_0x4008c2(0xf0),!0x1),this[_0x4008c2(0x100)]=_0xe4d6e9,this[_0x4008c2(0xfa)]=null,this[_0x4008c2(0x119)][_0x4008c2(0x106)][_0x4008c2(0xfb)]=AIChatPromptInputView[_0x4008c2(0x10a)],this[_0x4008c2(0x119)][_0x4008c2(0x106)][_0x4008c2(0x109)]=AIChatPromptInputView[_0x4008c2(0xe8)],this[_0x4008c2(0x119)][_0x4008c2(0x11e)][_0x4008c2(0x117)](this[_0x4008c2(0x100)]),this[_0x4008c2(0xf4)](),this[_0x4008c2(0xdf)]({'attributes':{'class':['ck',_0x4008c2(0xf7)]}}),this[_0x4008c2(0x116)]=this[_0x4008c2(0x107)](),this[_0x4008c2(0x116)][_0x4008c2(0x10f)](_0x4008c2(0xfd))['to'](this,_0x4008c2(0xde),this,_0x4008c2(0xf0),(_0x91d495,_0x12512e)=>!_0x91d495&&!_0x12512e),this[_0x4008c2(0x11f)][_0x4008c2(0x117)](this[_0x4008c2(0x116)]);}[_0x50d18e(0x10c)](){const _0x4b41b4=_0x50d18e;super[_0x4b41b4(0x10c)](),this[_0x4b41b4(0x119)][_0x4b41b4(0x11e)][_0x4b41b4(0x117)](this[_0x4b41b4(0x116)]),this[_0x4b41b4(0xe4)][_0x4b41b4(0x114)](_0x4b41b4(0x102),(_0x26d635,_0x4d0661)=>{const _0x56eaa6=_0x4b41b4;this[_0x56eaa6(0xf0)]||this[_0x56eaa6(0xde)]||_0x26d635[_0x56eaa6(0x11b)]==this[_0x56eaa6(0x119)][_0x56eaa6(0x106)][_0x56eaa6(0xf3)]&&(this[_0x56eaa6(0xe5)](),_0x4d0661());}),this[_0x4b41b4(0x119)][_0x4b41b4(0x106)]['on'](_0x4b41b4(0xe2),()=>{const _0x5aff3b=_0x4b41b4;this[_0x5aff3b(0xde)]=''===this[_0x5aff3b(0x119)][_0x5aff3b(0x106)][_0x5aff3b(0xf3)][_0x5aff3b(0xf8)]?.[_0x5aff3b(0xe6)]();});}[_0x50d18e(0xfe)](){const _0x493f2d=_0x50d18e;super[_0x493f2d(0xfe)](),this[_0x493f2d(0xfa)]&&this[_0x493f2d(0xfa)][_0x493f2d(0xfe)]();}[_0x50d18e(0xe5)](){const _0x332091=_0x50d18e,_0xc01722=this[_0x332091(0x119)][_0x332091(0x106)][_0x332091(0xf3)][_0x332091(0xf8)]?.[_0x332091(0xe6)]();if(!_0xc01722)return this[_0x332091(0x119)][_0x332091(0xf9)]=_0x36593b(this[_0x332091(0x11a)],_0x332091(0xec)),void(this[_0x332091(0x119)][_0x332091(0x106)][_0x332091(0xe0)]=!0x0);this[_0x332091(0x119)][_0x332091(0x106)][_0x332091(0xe0)]=!0x1;const _0x1e2c55=_0x48d995(_0xc01722);this[_0x332091(0x104)](_0x332091(0x115),_0x1e2c55),this[_0x332091(0x119)][_0x332091(0x106)][_0x332091(0xef)]();}[_0x50d18e(0xe9)](_0x353757){const _0x42c4fe=_0x50d18e;this[_0x42c4fe(0x119)][_0x42c4fe(0x106)][_0x42c4fe(0x114)](_0x42c4fe(0xed),_0x353757);}[_0x50d18e(0x107)](){const _0x301e40=_0x50d18e,_0x1b6736=new _0x21f379(this[_0x301e40(0x11a)]);return _0x1b6736[_0x301e40(0x114)]({'icon':_0x41dc0f,'label':_0x36593b(this[_0x301e40(0x11a)],_0x301e40(0xf6)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x301e40(0x111),'isEnabled':!0x1}),_0x1b6736['on'](_0x301e40(0x10b),()=>{const _0x186e1d=_0x301e40;this[_0x186e1d(0xe5)]();}),_0x1b6736;}[_0x50d18e(0xf2)](_0x1d202e){const _0x614ddf=_0x50d18e;this[_0x614ddf(0xf0)]=_0x1d202e;}[_0x50d18e(0xf4)](){const _0x2de5f4=_0x50d18e,_0x56fec8=this[_0x2de5f4(0x11a)],_0x293b00=()=>{const _0x218f32=_0x2de5f4;_0x25448[_0x218f32(0xeb)][_0x218f32(0xf1)](()=>{const _0x8b5d48=_0x218f32;if(_0x5ea755(this[_0x8b5d48(0xf3)])){const _0xd560c=new _0x3c22af(this[_0x8b5d48(0x119)][_0x8b5d48(0x106)][_0x8b5d48(0xf3)]),_0x147c05=new _0x3c22af(this[_0x8b5d48(0x100)][_0x8b5d48(0xf3)]),_0x513460=_0xd560c[_0x8b5d48(0xff)],_0x44840f=_0x8b5d48(0x112)===_0x56fec8[_0x8b5d48(0x101)]?_0x8b5d48(0xe1):_0x8b5d48(0x110);_0xd560c[_0x8b5d48(0x103)]();const _0x398a83=_0x513460-_0xd560c[_0x8b5d48(0xff)]+0x1;this[_0x8b5d48(0x100)][_0x8b5d48(0xf3)][_0x8b5d48(0xea)][_0x44840f]=_0x8b5d48(0x105)+(_0x513460-_0x147c05[_0x8b5d48(0xff)]-_0x398a83)+_0x8b5d48(0x11c);}});};this[_0x2de5f4(0x119)][_0x2de5f4(0x106)]['on'](_0x2de5f4(0xe2),_0x293b00),this['on'](_0x2de5f4(0x10c),()=>{const _0x5674b5=_0x2de5f4;_0x293b00(),this[_0x5674b5(0xfa)]=new _0x271811(this[_0x5674b5(0x119)][_0x5674b5(0x106)][_0x5674b5(0xf3)],()=>{_0x293b00();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32caea=_0x48c5;function _0x48c5(_0x1b59c7,_0x3f5e93){const _0x34aa9a=_0x34aa();return _0x48c5=function(_0x48c5b0,_0x387289){_0x48c5b0=_0x48c5b0-0x1a8;let _0x3e7502=_0x34aa9a[_0x48c5b0];return _0x3e7502;},_0x48c5(_0x1b59c7,_0x3f5e93);}(function(_0x172787,_0x53cedb){const _0x41b343=_0x48c5,_0x4af493=_0x172787();while(!![]){try{const _0x3d33d7=parseInt(_0x41b343(0x1b5))/0x1*(-parseInt(_0x41b343(0x1ab))/0x2)+-parseInt(_0x41b343(0x1a9))/0x3+-parseInt(_0x41b343(0x1ae))/0x4*(parseInt(_0x41b343(0x1ac))/0x5)+-parseInt(_0x41b343(0x1aa))/0x6*(parseInt(_0x41b343(0x1b3))/0x7)+parseInt(_0x41b343(0x1ad))/0x8*(parseInt(_0x41b343(0x1b1))/0x9)+-parseInt(_0x41b343(0x1b6))/0xa+parseInt(_0x41b343(0x1af))/0xb*(parseInt(_0x41b343(0x1b4))/0xc);if(_0x3d33d7===_0x53cedb)break;else _0x4af493['push'](_0x4af493['shift']());}catch(_0x1c953f){_0x4af493['push'](_0x4af493['shift']());}}}(_0x34aa,0x4671d));function _0x34aa(){const _0x56eb3e=['466424otczUg','143LcgsLJ','length','3975381lLwAap','filter','259mnAQVW','973128GdNpfs','1OJlHon','3406720nuFzSQ','items','360207FsgqIo','43806EJCApL','719812YLTcTA','5HrgpFp','8kELqvf'];_0x34aa=function(){return _0x56eb3e;};return _0x34aa();}import{ListView as _0x228c98}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x228c98{[_0x32caea(0x1b2)](){const _0x792064=_0x32caea;let _0x5001cc=0x0;for(const _0x31e0c6 of this[_0x792064(0x1a8)])_0x5001cc+=_0x31e0c6[_0x792064(0x1a8)][_0x792064(0x1b0)];return{'resultsCount':_0x5001cc,'totalItemsCount':_0x5001cc};}}
23
+ function _0x2f56(){const _0x5d3a2d=['30sSAaNn','4MjvifX','filter','length','684jxABNA','1812769pmmMyU','15250420sZbQeq','7337735FMBGYD','items','135yjBflG','4289okunmT','46EREXUY','565722mSHaGd','712503PIDPuq','803752GziMDT'];_0x2f56=function(){return _0x5d3a2d;};return _0x2f56();}const _0x3bac8d=_0x228f;(function(_0x4341dc,_0x1fb8b6){const _0x5ec0c7=_0x228f,_0x17235e=_0x4341dc();while(!![]){try{const _0x43dd04=parseInt(_0x5ec0c7(0xf3))/0x1*(parseInt(_0x5ec0c7(0xf4))/0x2)+parseInt(_0x5ec0c7(0xf5))/0x3+-parseInt(_0x5ec0c7(0xea))/0x4*(parseInt(_0x5ec0c7(0xf0))/0x5)+-parseInt(_0x5ec0c7(0xe9))/0x6*(-parseInt(_0x5ec0c7(0xee))/0x7)+parseInt(_0x5ec0c7(0xf7))/0x8*(-parseInt(_0x5ec0c7(0xf2))/0x9)+-parseInt(_0x5ec0c7(0xef))/0xa+parseInt(_0x5ec0c7(0xf6))/0xb*(parseInt(_0x5ec0c7(0xed))/0xc);if(_0x43dd04===_0x1fb8b6)break;else _0x17235e['push'](_0x17235e['shift']());}catch(_0x430627){_0x17235e['push'](_0x17235e['shift']());}}}(_0x2f56,0xbd15d));function _0x228f(_0x280a0c,_0x36dfb0){const _0x2f56aa=_0x2f56();return _0x228f=function(_0x228fc5,_0x2856ee){_0x228fc5=_0x228fc5-0xe9;let _0x257681=_0x2f56aa[_0x228fc5];return _0x257681;},_0x228f(_0x280a0c,_0x36dfb0);}import{ListView as _0x386f6f}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x386f6f{[_0x3bac8d(0xeb)](){const _0x46e32f=_0x3bac8d;let _0x37d239=0x0;for(const _0x31ba8c of this[_0x46e32f(0xf1)])_0x37d239+=_0x31ba8c[_0x46e32f(0xf1)][_0x46e32f(0xec)];return{'resultsCount':_0x37d239,'totalItemsCount':_0x37d239};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ac01c=_0x446f;(function(_0x2d24b3,_0x32501d){const _0x1ae40b=_0x446f,_0x298e94=_0x2d24b3();while(!![]){try{const _0x3f1d30=parseInt(_0x1ae40b(0x102))/0x1+-parseInt(_0x1ae40b(0x108))/0x2+parseInt(_0x1ae40b(0x109))/0x3*(parseInt(_0x1ae40b(0xf2))/0x4)+-parseInt(_0x1ae40b(0x103))/0x5+-parseInt(_0x1ae40b(0xfb))/0x6*(parseInt(_0x1ae40b(0xfd))/0x7)+-parseInt(_0x1ae40b(0xef))/0x8+parseInt(_0x1ae40b(0x100))/0x9;if(_0x3f1d30===_0x32501d)break;else _0x298e94['push'](_0x298e94['shift']());}catch(_0x20640a){_0x298e94['push'](_0x298e94['shift']());}}}(_0x29aa,0x4d7ee));function _0x29aa(){const _0x5c5fe9=['add','execute','152166IEuXov','fire','70WySXEY','updateResourceState','label','4840974GgEfNO','extendTemplate','506487cFRYKO','96990eWntFY','_handleResourceSelection','locale','_source','resource','535954qVXDZA','2049ohhxJj','test','useDefaultFiltering','\x5c$&','filter','forEach','4733344xyHFXU','highlightText','addResourceToContext','2376EKqCQS','trim','setResources','clear','items','replace','ck-ai-chat-resources__list'];_0x29aa=function(){return _0x5c5fe9;};return _0x29aa();}import{ListView as _0x561372}from'ckeditor5/src/ui.js';function _0x446f(_0x7b79f8,_0x5de502){const _0x29aa13=_0x29aa();return _0x446f=function(_0x446f15,_0x5055ac){_0x446f15=_0x446f15-0xef;let _0x5df703=_0x29aa13[_0x446f15];return _0x5df703;},_0x446f(_0x7b79f8,_0x5de502);}import{AIChatResourceListItemView as _0x4c124b}from'./aichatresourcelistitemview.js';const sc=_0x1ac01c(0xf8);export class AIChatContextResourcesListView extends _0x561372{[_0x1ac01c(0x106)];constructor(_0x133cb4,_0x2d1719){const _0x456205=_0x1ac01c;super(_0x133cb4),this[_0x456205(0x106)]=_0x2d1719,this[_0x456205(0x101)]({'attributes':{'class':[sc]}});}[_0x1ac01c(0xf4)](_0x4c5411,_0x40bfd8){const _0x1b4058=_0x1ac01c;this[_0x1b4058(0xf6)][_0x1b4058(0xf5)]();let _0x26e2f8=_0x4c5411;if(this[_0x1b4058(0x106)][_0x1b4058(0x10b)]&&_0x40bfd8&&''!==_0x40bfd8[_0x1b4058(0xf3)]()){const _0x548f4e=new RegExp(_0x40bfd8[_0x1b4058(0xf7)](/[.*+?^${}()|[\]\\]/g,_0x1b4058(0x10c)),'gi');_0x26e2f8=_0x4c5411[_0x1b4058(0x10d)](_0x1ce6df=>_0x548f4e[_0x1b4058(0x10a)](_0x1ce6df[_0x1b4058(0xff)]));}for(const _0x257bed of _0x26e2f8){const _0x2bb143=new _0x4c124b(this[_0x1b4058(0x105)],_0x257bed);_0x2bb143['on'](_0x1b4058(0xfa),()=>{const _0x19b067=_0x1b4058;this[_0x19b067(0x104)](this[_0x19b067(0x106)],_0x257bed);}),this[_0x1b4058(0xf6)][_0x1b4058(0xf9)](_0x2bb143);}this[_0x1b4058(0x106)][_0x1b4058(0x10b)]&&this[_0x1b4058(0xf0)](_0x40bfd8);}[_0x1ac01c(0xf0)](_0x73974c){const _0x34f8b7=_0x1ac01c;this[_0x34f8b7(0x106)][_0x34f8b7(0x10b)]&&this[_0x34f8b7(0xf6)][_0x34f8b7(0x10e)](_0x4164f0=>{const _0x541947=_0x34f8b7;_0x4164f0[_0x541947(0xf0)](_0x73974c);});}[_0x1ac01c(0xfe)](_0x27d555,_0x2d2624){const _0x469329=_0x1ac01c;for(const _0x1ef3e2 of this[_0x469329(0xf6)]){const _0x5aad56=_0x1ef3e2;_0x5aad56[_0x469329(0x107)]['id']===_0x27d555&&_0x5aad56[_0x469329(0xfe)](_0x2d2624);}}[_0x1ac01c(0x104)](_0x36fde1,_0x204e31){const _0x5efd81=_0x1ac01c;this[_0x5efd81(0xfc)](_0x5efd81(0xf1),{'source':_0x36fde1,'resource':_0x204e31});}}
23
+ function _0x2fcd(_0x5d3fbd,_0x2b0355){const _0x551a36=_0x551a();return _0x2fcd=function(_0x2fcd60,_0x5ab842){_0x2fcd60=_0x2fcd60-0x108;let _0x215e72=_0x551a36[_0x2fcd60];return _0x215e72;},_0x2fcd(_0x5d3fbd,_0x2b0355);}const _0x1a7c20=_0x2fcd;(function(_0x556d52,_0x2294dd){const _0x3431ad=_0x2fcd,_0x27d4c7=_0x556d52();while(!![]){try{const _0x40920f=-parseInt(_0x3431ad(0x118))/0x1+-parseInt(_0x3431ad(0x119))/0x2*(parseInt(_0x3431ad(0x124))/0x3)+-parseInt(_0x3431ad(0x112))/0x4*(-parseInt(_0x3431ad(0x123))/0x5)+parseInt(_0x3431ad(0x125))/0x6+parseInt(_0x3431ad(0x122))/0x7*(-parseInt(_0x3431ad(0x11f))/0x8)+-parseInt(_0x3431ad(0x111))/0x9+parseInt(_0x3431ad(0x127))/0xa*(parseInt(_0x3431ad(0x126))/0xb);if(_0x40920f===_0x2294dd)break;else _0x27d4c7['push'](_0x27d4c7['shift']());}catch(_0x4e3f49){_0x27d4c7['push'](_0x27d4c7['shift']());}}}(_0x551a,0x8d533));import{ListView as _0x34c29d}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x4e6d2b}from'./aichatresourcelistitemview.js';const sc=_0x1a7c20(0x10f);export class AIChatContextResourcesListView extends _0x34c29d{[_0x1a7c20(0x128)];constructor(_0x301842,_0x251cb4){const _0x45e9c0=_0x1a7c20;super(_0x301842),this[_0x45e9c0(0x128)]=_0x251cb4,this[_0x45e9c0(0x11a)]({'attributes':{'class':[sc]}});}[_0x1a7c20(0x110)](_0x4b9e52,_0x580cea){const _0x16abef=_0x1a7c20;this[_0x16abef(0x120)][_0x16abef(0x108)]();let _0x588c13=_0x4b9e52;if(this[_0x16abef(0x128)][_0x16abef(0x109)]&&_0x580cea&&''!==_0x580cea[_0x16abef(0x10c)]()){const _0x270823=new RegExp(_0x580cea[_0x16abef(0x129)](/[.*+?^${}()|[\]\\]/g,_0x16abef(0x10e)),'gi');_0x588c13=_0x4b9e52[_0x16abef(0x116)](_0x1ce787=>_0x270823[_0x16abef(0x11e)](_0x1ce787[_0x16abef(0x10b)]));}for(const _0x41b38e of _0x588c13){const _0x5ee3cf=new _0x4e6d2b(this[_0x16abef(0x11d)],_0x41b38e);_0x5ee3cf['on'](_0x16abef(0x121),()=>{const _0x586336=_0x16abef;this[_0x586336(0x113)](this[_0x586336(0x128)],_0x41b38e);}),this[_0x16abef(0x120)][_0x16abef(0x10a)](_0x5ee3cf);}this[_0x16abef(0x128)][_0x16abef(0x109)]&&this[_0x16abef(0x114)](_0x580cea);}[_0x1a7c20(0x114)](_0x508094){const _0x2a6976=_0x1a7c20;this[_0x2a6976(0x128)][_0x2a6976(0x109)]&&this[_0x2a6976(0x120)][_0x2a6976(0x117)](_0x2b3209=>{const _0x39c18a=_0x2a6976;_0x2b3209[_0x39c18a(0x114)](_0x508094);});}[_0x1a7c20(0x11b)](_0x523210,_0xa23590){const _0x8327b6=_0x1a7c20;for(const _0x1cb170 of this[_0x8327b6(0x120)]){const _0x40fe06=_0x1cb170;_0x40fe06[_0x8327b6(0x10d)]['id']===_0x523210&&_0x40fe06[_0x8327b6(0x11b)](_0xa23590);}}[_0x1a7c20(0x113)](_0x1d8ca0,_0x3e37dd){const _0xf6105=_0x1a7c20;this[_0xf6105(0x115)](_0xf6105(0x11c),{'source':_0x1d8ca0,'resource':_0x3e37dd});}}function _0x551a(){const _0x53d723=['4WUiHwl','extendTemplate','updateResourceState','addResourceToContext','locale','test','8xVoFNo','items','execute','2072371WnUvKL','3520885GJsNYX','1448127RNFTet','2299284eFkzOQ','3912458JYMjbI','50zBJabn','_source','replace','clear','useDefaultFiltering','add','label','trim','resource','\x5c$&','ck-ai-chat-resources__list','setResources','8118063jLwoVE','4qUgLLt','_handleResourceSelection','highlightText','fire','filter','forEach','123436QlcwOb'];_0x551a=function(){return _0x53d723;};return _0x551a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdd0c56=_0xa45c;(function(_0x5dba73,_0xe275b7){const _0x5f2d7b=_0xa45c,_0x46e072=_0x5dba73();while(!![]){try{const _0x497c0c=parseInt(_0x5f2d7b(0x93))/0x1*(-parseInt(_0x5f2d7b(0x98))/0x2)+-parseInt(_0x5f2d7b(0x70))/0x3+parseInt(_0x5f2d7b(0x7f))/0x4*(-parseInt(_0x5f2d7b(0x88))/0x5)+parseInt(_0x5f2d7b(0x7a))/0x6*(parseInt(_0x5f2d7b(0x85))/0x7)+parseInt(_0x5f2d7b(0x7d))/0x8+parseInt(_0x5f2d7b(0x73))/0x9*(parseInt(_0x5f2d7b(0x79))/0xa)+parseInt(_0x5f2d7b(0x92))/0xb*(-parseInt(_0x5f2d7b(0x82))/0xc);if(_0x497c0c===_0xe275b7)break;else _0x46e072['push'](_0x46e072['shift']());}catch(_0x5ed57e){_0x46e072['push'](_0x46e072['shift']());}}}(_0x22bb,0x9878d));function _0x22bb(){const _0x99017f=['render','fire','_skeletonLoader','_createSearchView','useDefaultFiltering','addResourceToContext','set','bindTemplate','has','_resourcesListView','setTemplate','1765863mMmFjp','loadSourceResources','ck\x20ck-search','220194ShwMsv','_searchInputVisibleFrom','ck-ai-chat-resources','highlightText','_createResourcesListView','length','340NLHeOz','714iLEnDB','updateResourceState','searchInputVisibleFrom','8830440rMOCml','_searchView','796PtVdsZ','aiChatResources','_latestLoadResourcesUid','8136MGgPKN','locale','setResources','54439flvtSq','_createSkeletonView','children','24835NvpmYv','ck-hidden','delegate','add','getQuery','_createSearchSection','_searchSection','div','_source','extendTemplate','1969OWFapK','1YMrTrW','isLoading','loadResources','source','search','1076342mRgkiw'];_0x22bb=function(){return _0x99017f;};return _0x22bb();}import{View as _0x2fe6d6,ViewCollection as _0x4cef3a}from'ckeditor5/src/ui.js';import{uid as _0x242eea}from'ckeditor5/src/utils.js';function _0xa45c(_0x5268c7,_0x351894){const _0x22bb2f=_0x22bb();return _0xa45c=function(_0xa45c85,_0x42c4b3){_0xa45c85=_0xa45c85-0x6d;let _0x3a5a26=_0x22bb2f[_0xa45c85];return _0x3a5a26;},_0xa45c(_0x5268c7,_0x351894);}import{AIChatContextResourcesListView as _0x38ba38}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x4f4d7a}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x53c447,SKELETON_DEFINITIONS as _0x43ac47}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x2fe6d6{[_0xdd0c56(0x7e)];[_0xdd0c56(0x8e)];[_0xdd0c56(0x74)];[_0xdd0c56(0x6e)];[_0xdd0c56(0x9b)];[_0xdd0c56(0x90)];[_0xdd0c56(0x87)];[_0xdd0c56(0x81)]=null;constructor(_0xdc2a5,_0x57cff0){const _0x31b559=_0xdd0c56;super(_0xdc2a5),this[_0x31b559(0x90)]=_0x57cff0[_0x31b559(0x96)],this[_0x31b559(0x74)]=_0x57cff0[_0x31b559(0x7c)]??0x7,this[_0x31b559(0x9f)](_0x31b559(0x94),!0x0),this[_0x31b559(0x7e)]=this[_0x31b559(0x9c)](),this[_0x31b559(0x8e)]=this[_0x31b559(0x8d)](),this[_0x31b559(0x6e)]=this[_0x31b559(0x77)](),this[_0x31b559(0x9b)]=this[_0x31b559(0x86)](),this[_0x31b559(0x87)]=new _0x4cef3a([this[_0x31b559(0x9b)],this[_0x31b559(0x6e)]]),this[_0x31b559(0x6f)]({'tag':_0x31b559(0x8f),'attributes':{'class':_0x31b559(0x75)},'children':this[_0x31b559(0x87)]});}[_0xdd0c56(0x9c)](){const _0x43f4d7=_0xdd0c56;return new _0x4f4d7a(this[_0x43f4d7(0x83)]);}[_0xdd0c56(0x8d)](){const _0x2f2c97=_0xdd0c56,_0x1b4b1b=new _0x2fe6d6(this[_0x2f2c97(0x83)]);return _0x1b4b1b[_0x2f2c97(0x6f)]({'tag':_0x2f2c97(0x8f),'attributes':{'class':_0x2f2c97(0x72)},'children':[this[_0x2f2c97(0x7e)]]}),this[_0x2f2c97(0x7e)]['on'](_0x2f2c97(0x97),(_0x4de131,_0x577609)=>{const _0x232a6d=_0x2f2c97;this[_0x232a6d(0x95)](_0x577609),this[_0x232a6d(0x90)][_0x232a6d(0x9d)]&&this[_0x232a6d(0x6e)][_0x232a6d(0x76)](_0x577609);}),_0x1b4b1b;}[_0xdd0c56(0x77)](){const _0x201b21=_0xdd0c56,_0x2b0fab=new _0x38ba38(this[_0x201b21(0x83)],this[_0x201b21(0x90)]);return _0x2b0fab[_0x201b21(0x8a)](_0x201b21(0x9e))['to'](this),_0x2b0fab[_0x201b21(0x91)]({'attributes':{'class':this[_0x201b21(0xa0)]['if'](_0x201b21(0x94),_0x201b21(0x89))}}),_0x2b0fab;}[_0xdd0c56(0x86)](){const _0x2556d1=_0xdd0c56,_0x53c5b8=new _0x53c447(this[_0x2556d1(0x83)],_0x43ac47[_0x2556d1(0x80)]);return _0x53c5b8[_0x2556d1(0x91)]({'attributes':{'class':[this[_0x2556d1(0xa0)]['if'](_0x2556d1(0x94),_0x2556d1(0x89),_0x650dc5=>!_0x650dc5)]}}),_0x53c5b8;}[_0xdd0c56(0x99)](){const _0x33c1d9=_0xdd0c56;super[_0x33c1d9(0x99)](),this[_0x33c1d9(0x95)]('');}[_0xdd0c56(0x95)](_0x3c1e72){const _0x22a9c7=_0xdd0c56,_0x30935b=_0x242eea();this[_0x22a9c7(0x81)]=_0x30935b,this[_0x22a9c7(0x9a)](_0x22a9c7(0x71),{'sourceId':this[_0x22a9c7(0x90)]['id'],'query':_0x3c1e72,'uid':_0x30935b}),this[_0x22a9c7(0x94)]=!0x0;}[_0xdd0c56(0x84)](_0x258a30,_0x1af989){const _0x1fdbff=_0xdd0c56;if(_0x1af989&&_0x1af989!==this[_0x1fdbff(0x81)])return;const _0xea7363=this[_0x1fdbff(0x90)][_0x1fdbff(0x9d)]?this[_0x1fdbff(0x7e)][_0x1fdbff(0x8c)]():'';this[_0x1fdbff(0x6e)][_0x1fdbff(0x84)](_0x258a30,_0xea7363),_0x258a30[_0x1fdbff(0x78)]>=this[_0x1fdbff(0x74)]&&!this[_0x1fdbff(0x87)][_0x1fdbff(0x6d)](this[_0x1fdbff(0x8e)])&&this[_0x1fdbff(0x87)][_0x1fdbff(0x8b)](this[_0x1fdbff(0x8e)],0x0),requestAnimationFrame(()=>{const _0x465411=_0x1fdbff;this[_0x465411(0x94)]=!0x1;});}[_0xdd0c56(0x7b)](_0xd7f769,_0x208952){const _0xf1f543=_0xdd0c56;this[_0xf1f543(0x6e)][_0xf1f543(0x7b)](_0xd7f769,_0x208952);}}
23
+ function _0x19e9(_0x4f3d6c,_0x30e950){const _0x5b5c83=_0x5b5c();return _0x19e9=function(_0x19e9a0,_0x301ab5){_0x19e9a0=_0x19e9a0-0x175;let _0x3f1cee=_0x5b5c83[_0x19e9a0];return _0x3f1cee;},_0x19e9(_0x4f3d6c,_0x30e950);}const _0x37bb11=_0x19e9;(function(_0x30fcc6,_0x131434){const _0x167f4c=_0x19e9,_0x3f2587=_0x30fcc6();while(!![]){try{const _0x57d5bd=parseInt(_0x167f4c(0x19a))/0x1*(parseInt(_0x167f4c(0x17f))/0x2)+-parseInt(_0x167f4c(0x198))/0x3*(parseInt(_0x167f4c(0x183))/0x4)+parseInt(_0x167f4c(0x184))/0x5+parseInt(_0x167f4c(0x1a5))/0x6*(parseInt(_0x167f4c(0x1a0))/0x7)+parseInt(_0x167f4c(0x199))/0x8+-parseInt(_0x167f4c(0x189))/0x9+-parseInt(_0x167f4c(0x179))/0xa;if(_0x57d5bd===_0x131434)break;else _0x3f2587['push'](_0x3f2587['shift']());}catch(_0x10c722){_0x3f2587['push'](_0x3f2587['shift']());}}}(_0x5b5c,0x8938d));import{View as _0x3fe6ef,ViewCollection as _0x23be80}from'ckeditor5/src/ui.js';import{uid as _0x509d2f}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x42f3cd}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x5e7010}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x42ec4f,SKELETON_DEFINITIONS as _0x2093e5}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x3fe6ef{[_0x37bb11(0x197)];[_0x37bb11(0x1a4)];[_0x37bb11(0x17e)];[_0x37bb11(0x195)];[_0x37bb11(0x19e)];[_0x37bb11(0x19f)];[_0x37bb11(0x1a2)];[_0x37bb11(0x1a3)]=null;constructor(_0x4b4d43,_0xb06fd1){const _0x3aded5=_0x37bb11;super(_0x4b4d43),this[_0x3aded5(0x19f)]=_0xb06fd1[_0x3aded5(0x17a)],this[_0x3aded5(0x17e)]=_0xb06fd1[_0x3aded5(0x17d)]??0x7,this[_0x3aded5(0x178)](_0x3aded5(0x18d),!0x0),this[_0x3aded5(0x197)]=this[_0x3aded5(0x182)](),this[_0x3aded5(0x1a4)]=this[_0x3aded5(0x181)](),this[_0x3aded5(0x195)]=this[_0x3aded5(0x193)](),this[_0x3aded5(0x19e)]=this[_0x3aded5(0x190)](),this[_0x3aded5(0x1a2)]=new _0x23be80([this[_0x3aded5(0x19e)],this[_0x3aded5(0x195)]]),this[_0x3aded5(0x17b)]({'tag':_0x3aded5(0x175),'attributes':{'class':_0x3aded5(0x1a6)},'children':this[_0x3aded5(0x1a2)]});}[_0x37bb11(0x182)](){const _0x21aabe=_0x37bb11;return new _0x5e7010(this[_0x21aabe(0x191)]);}[_0x37bb11(0x181)](){const _0x50dc41=_0x37bb11,_0x53379a=new _0x3fe6ef(this[_0x50dc41(0x191)]);return _0x53379a[_0x50dc41(0x17b)]({'tag':_0x50dc41(0x175),'attributes':{'class':_0x50dc41(0x18f)},'children':[this[_0x50dc41(0x197)]]}),this[_0x50dc41(0x197)]['on'](_0x50dc41(0x194),(_0x34c795,_0x1db3d5)=>{const _0x4f403d=_0x50dc41;this[_0x4f403d(0x18c)](_0x1db3d5),this[_0x4f403d(0x19f)][_0x4f403d(0x186)]&&this[_0x4f403d(0x195)][_0x4f403d(0x188)](_0x1db3d5);}),_0x53379a;}[_0x37bb11(0x193)](){const _0x1e0a4a=_0x37bb11,_0x1dd83d=new _0x42f3cd(this[_0x1e0a4a(0x191)],this[_0x1e0a4a(0x19f)]);return _0x1dd83d[_0x1e0a4a(0x176)](_0x1e0a4a(0x19c))['to'](this),_0x1dd83d[_0x1e0a4a(0x17c)]({'attributes':{'class':this[_0x1e0a4a(0x1a1)]['if'](_0x1e0a4a(0x18d),_0x1e0a4a(0x192))}}),_0x1dd83d;}[_0x37bb11(0x190)](){const _0x16f051=_0x37bb11,_0x74652b=new _0x42ec4f(this[_0x16f051(0x191)],_0x2093e5[_0x16f051(0x19b)]);return _0x74652b[_0x16f051(0x17c)]({'attributes':{'class':[this[_0x16f051(0x1a1)]['if'](_0x16f051(0x18d),_0x16f051(0x192),_0x476903=>!_0x476903)]}}),_0x74652b;}[_0x37bb11(0x18a)](){const _0x234352=_0x37bb11;super[_0x234352(0x18a)](),this[_0x234352(0x18c)]('');}[_0x37bb11(0x18c)](_0xee7516){const _0x5c4a42=_0x37bb11,_0x1d6c84=_0x509d2f();this[_0x5c4a42(0x1a3)]=_0x1d6c84,this[_0x5c4a42(0x187)](_0x5c4a42(0x18b),{'sourceId':this[_0x5c4a42(0x19f)]['id'],'query':_0xee7516,'uid':_0x1d6c84}),this[_0x5c4a42(0x18d)]=!0x0;}[_0x37bb11(0x18e)](_0x28c203,_0x294091){const _0x297ddd=_0x37bb11;if(_0x294091&&_0x294091!==this[_0x297ddd(0x1a3)])return;const _0x3180c6=this[_0x297ddd(0x19f)][_0x297ddd(0x186)]?this[_0x297ddd(0x197)][_0x297ddd(0x196)]():'';this[_0x297ddd(0x195)][_0x297ddd(0x18e)](_0x28c203,_0x3180c6),_0x28c203[_0x297ddd(0x19d)]>=this[_0x297ddd(0x17e)]&&!this[_0x297ddd(0x1a2)][_0x297ddd(0x177)](this[_0x297ddd(0x1a4)])&&this[_0x297ddd(0x1a2)][_0x297ddd(0x180)](this[_0x297ddd(0x1a4)],0x0),requestAnimationFrame(()=>{const _0x1283a7=_0x297ddd;this[_0x1283a7(0x18d)]=!0x1;});}[_0x37bb11(0x185)](_0x38b3b0,_0x7dc9dc){const _0x5077b5=_0x37bb11;this[_0x5077b5(0x195)][_0x5077b5(0x185)](_0x38b3b0,_0x7dc9dc);}}function _0x5b5c(){const _0x49d9af=['756liKCLV','add','_createSearchSection','_createSearchView','76hrNUps','1983380eNxewQ','updateResourceState','useDefaultFiltering','fire','highlightText','5677821CpydTl','render','loadSourceResources','loadResources','isLoading','setResources','ck\x20ck-search','_createSkeletonView','locale','ck-hidden','_createResourcesListView','search','_resourcesListView','getQuery','_searchView','33192ivTGKD','6087432fnnnXB','370bVAFna','aiChatResources','addResourceToContext','length','_skeletonLoader','_source','14aNSrNp','bindTemplate','children','_latestLoadResourcesUid','_searchSection','2828898Usnuki','ck-ai-chat-resources','div','delegate','has','set','8372850upTnIh','source','setTemplate','extendTemplate','searchInputVisibleFrom','_searchInputVisibleFrom'];_0x5b5c=function(){return _0x49d9af;};return _0x5b5c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x34b6(_0x6612fd,_0x37045e){const _0x2bec31=_0x2bec();return _0x34b6=function(_0x34b697,_0x2645e3){_0x34b697=_0x34b697-0xcd;let _0x2d138a=_0x2bec31[_0x34b697];return _0x2d138a;},_0x34b6(_0x6612fd,_0x37045e);}const _0x2b16ce=_0x34b6;(function(_0x46b788,_0xdd1ac5){const _0x23f309=_0x34b6,_0xaf650b=_0x46b788();while(!![]){try{const _0x4c56eb=parseInt(_0x23f309(0xe8))/0x1+parseInt(_0x23f309(0xe2))/0x2+-parseInt(_0x23f309(0xef))/0x3*(parseInt(_0x23f309(0xe5))/0x4)+parseInt(_0x23f309(0xe6))/0x5+-parseInt(_0x23f309(0xe1))/0x6*(-parseInt(_0x23f309(0xe4))/0x7)+-parseInt(_0x23f309(0xd8))/0x8*(parseInt(_0x23f309(0xd1))/0x9)+parseInt(_0x23f309(0xf8))/0xa*(-parseInt(_0x23f309(0xdc))/0xb);if(_0x4c56eb===_0xdd1ac5)break;else _0xaf650b['push'](_0xaf650b['shift']());}catch(_0x184405){_0xaf650b['push'](_0xaf650b['shift']());}}}(_0x2bec,0xbf795));import{HighlightedTextView as _0x17ee0f,IconView as _0x5dea37,ListItemView as _0x3a2f80}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x38ff02}from'es-toolkit/compat';import{AIContextItemType as _0x935cfb}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0xe7bcfd,IconCheck as _0x796cc,IconDocument as _0x2d1f0b,IconDocumentOutline as _0x49f874,IconLink as _0x15943b}from'@ckeditor/ckeditor5-icons';const Br=_0x2b16ce(0xd4),Gr=_0x2b16ce(0xd6),Hr=_0x2b16ce(0xd9),Jr=_0x2b16ce(0xf9);function _0x2bec(){const _0x203619=['ck-hidden','501529NlmlJg','4FTCBJh','2765630CwbsQj','_createTitleView','668102ICaeKh','div','FILE','_createIconView','resource','set','isVisible','1663953kYyTBk','span','trim','label','getResourceIcon','updateResourceState','execute','isInContext','_iconView','110jcyYTH','ck-ai-chat-resources__item__icon','render','_setupTemplate','text','content','7963209almMVz','_updateIcon','setTemplate','ck-ai-chat-resources__item','extendTemplate','ck-ai-chat-resources__item--in-context','type','8FbPodU','ck-ai-chat-resources__item-title','highlightText','DOCUMENT','1486034gpsoOA','bindTemplate','TEXT','URL','_titleView','114CuhMCe','2254484ZOBvey'];_0x2bec=function(){return _0x203619;};return _0x2bec();}export class AIChatResourceListItemView extends _0x3a2f80{[_0x2b16ce(0xec)];[_0x2b16ce(0xe0)];[_0x2b16ce(0xf7)];constructor(_0x263e52,_0x485b5e){const _0x4cb4cc=_0x2b16ce;super(_0x263e52),this[_0x4cb4cc(0xec)]=_0x485b5e,this[_0x4cb4cc(0xed)](_0x4cb4cc(0xf6),!!_0x485b5e[_0x4cb4cc(0xf6)]),this[_0x4cb4cc(0xe0)]=this[_0x4cb4cc(0xe7)](),this[_0x4cb4cc(0xf7)]=this[_0x4cb4cc(0xeb)](),this[_0x4cb4cc(0xce)]();}[_0x2b16ce(0xcd)](){const _0xafbe90=_0x2b16ce;super[_0xafbe90(0xcd)]();}[_0x2b16ce(0xf3)](_0x48d3b1){const _0x16dd88=_0x2b16ce;if(_0x48d3b1[_0x16dd88(0xf6)])return _0x796cc;switch(_0x48d3b1[_0x16dd88(0xd7)]){case _0x935cfb[_0x16dd88(0xdb)]:return _0x2d1f0b;case _0x935cfb[_0x16dd88(0xdf)]:return _0x15943b;case _0x935cfb[_0x16dd88(0xea)]:case _0x935cfb[_0x16dd88(0xde)]:return _0xe7bcfd;default:return _0x49f874;}}[_0x2b16ce(0xda)](_0x376d1a){const _0x47281f=_0x2b16ce;if(!_0x376d1a||''===_0x376d1a[_0x47281f(0xf1)]())return void this[_0x47281f(0xe0)][_0x47281f(0xda)](null);const _0x160ba7=new RegExp(_0x38ff02(_0x376d1a),'gi');this[_0x47281f(0xe0)][_0x47281f(0xda)](_0x160ba7);}[_0x2b16ce(0xf4)](_0x124e32){const _0x5836c9=_0x2b16ce;this[_0x5836c9(0xec)][_0x5836c9(0xf6)]=_0x124e32,this[_0x5836c9(0xf6)]=_0x124e32,this[_0x5836c9(0xd2)]();}[_0x2b16ce(0xe7)](){const _0x552020=_0x2b16ce,_0x594158=new _0x17ee0f();return _0x594158[_0x552020(0xcf)]=this[_0x552020(0xec)][_0x552020(0xf2)],_0x594158[_0x552020(0xd5)]({'tag':_0x552020(0xf0),'attributes':{'class':[Hr]}}),_0x594158;}[_0x2b16ce(0xeb)](){const _0x537030=_0x2b16ce,_0x377c9b=new _0x5dea37();return _0x377c9b[_0x537030(0xd0)]=this[_0x537030(0xf3)](this[_0x537030(0xec)]),_0x377c9b;}[_0x2b16ce(0xce)](){const _0x5ac771=_0x2b16ce,_0x2bbd93=this[_0x5ac771(0xdd)];this[_0x5ac771(0xd3)]({'tag':_0x5ac771(0xe9),'attributes':{'class':[Br,_0x2bbd93['if'](_0x5ac771(0xee),_0x5ac771(0xe3),_0xdbb6c2=>!_0xdbb6c2),_0x2bbd93['if'](_0x5ac771(0xf6),Gr)]},'children':[{'tag':_0x5ac771(0xe9),'attributes':{'class':[Jr]},'children':[this[_0x5ac771(0xf7)]]},this[_0x5ac771(0xe0)]],'on':{'click':_0x2bbd93['to'](_0x5ac771(0xf5))}});}[_0x2b16ce(0xd2)](){const _0x421d53=_0x2b16ce;this[_0x421d53(0xf7)][_0x421d53(0xd0)]=this[_0x421d53(0xf3)](this[_0x421d53(0xec)]);}}
23
+ const _0x12be4f=_0x1ff8;(function(_0x48f835,_0xbd9534){const _0x520263=_0x1ff8,_0x400c89=_0x48f835();while(!![]){try{const _0x47cfdc=parseInt(_0x520263(0x1eb))/0x1*(-parseInt(_0x520263(0x211))/0x2)+-parseInt(_0x520263(0x1f6))/0x3+parseInt(_0x520263(0x1fe))/0x4*(-parseInt(_0x520263(0x204))/0x5)+parseInt(_0x520263(0x20e))/0x6+-parseInt(_0x520263(0x20a))/0x7*(parseInt(_0x520263(0x1fd))/0x8)+parseInt(_0x520263(0x1f1))/0x9+parseInt(_0x520263(0x1fa))/0xa;if(_0x47cfdc===_0xbd9534)break;else _0x400c89['push'](_0x400c89['shift']());}catch(_0x8a3115){_0x400c89['push'](_0x400c89['shift']());}}}(_0x5853,0x8986c));function _0x5853(){const _0x110b96=['_titleView','ck-ai-chat-resources__item-title','isVisible','render','TEXT','7518618KSVZDj','execute','type','span','URL','2156208oDeqqB','resource','_setupTemplate','ck-ai-chat-resources__item','29368590zKfPvZ','trim','updateResourceState','8254672sstdyM','4416dQTPcj','extendTemplate','FILE','setTemplate','ck-ai-chat-resources__item--in-context','content','4920HCKTPY','getResourceIcon','div','_createIconView','text','DOCUMENT','7lfJrWi','ck-hidden','set','highlightText','1049592DimEEF','ck-ai-chat-resources__item__icon','isInContext','2yEVdbe','bindTemplate','_updateIcon','label','_iconView','_createTitleView','546979zaAHKY'];_0x5853=function(){return _0x110b96;};return _0x5853();}import{HighlightedTextView as _0xe4471a,IconView as _0x2beeab,ListItemView as _0x75dbf2}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x45cff1}from'es-toolkit/compat';import{AIContextItemType as _0x4d38d3}from'../../../../aicore/model/aicontext.js';function _0x1ff8(_0x325542,_0x1342ef){const _0x58536a=_0x5853();return _0x1ff8=function(_0x1ff827,_0x752c21){_0x1ff827=_0x1ff827-0x1ea;let _0x468e29=_0x58536a[_0x1ff827];return _0x468e29;},_0x1ff8(_0x325542,_0x1342ef);}import{IconFileUpload as _0x5983d5,IconCheck as _0x52e0be,IconDocument as _0x1956c1,IconDocumentOutline as _0x4915d4,IconLink as _0x20688d}from'@ckeditor/ckeditor5-icons';const zr=_0x12be4f(0x1f9),Gr=_0x12be4f(0x202),Hr=_0x12be4f(0x1ed),Jr=_0x12be4f(0x20f);export class AIChatResourceListItemView extends _0x75dbf2{[_0x12be4f(0x1f7)];[_0x12be4f(0x1ec)];[_0x12be4f(0x215)];constructor(_0x5e8b2f,_0x4360c4){const _0x434ca6=_0x12be4f;super(_0x5e8b2f),this[_0x434ca6(0x1f7)]=_0x4360c4,this[_0x434ca6(0x20c)](_0x434ca6(0x210),!!_0x4360c4[_0x434ca6(0x210)]),this[_0x434ca6(0x1ec)]=this[_0x434ca6(0x1ea)](),this[_0x434ca6(0x215)]=this[_0x434ca6(0x207)](),this[_0x434ca6(0x1f8)]();}[_0x12be4f(0x1ef)](){const _0x54c7b6=_0x12be4f;super[_0x54c7b6(0x1ef)]();}[_0x12be4f(0x205)](_0x7d76f4){const _0xe9f8dc=_0x12be4f;if(_0x7d76f4[_0xe9f8dc(0x210)])return _0x52e0be;switch(_0x7d76f4[_0xe9f8dc(0x1f3)]){case _0x4d38d3[_0xe9f8dc(0x209)]:return _0x1956c1;case _0x4d38d3[_0xe9f8dc(0x1f5)]:return _0x20688d;case _0x4d38d3[_0xe9f8dc(0x200)]:case _0x4d38d3[_0xe9f8dc(0x1f0)]:return _0x5983d5;default:return _0x4915d4;}}[_0x12be4f(0x20d)](_0x1ed284){const _0x27cdf8=_0x12be4f;if(!_0x1ed284||''===_0x1ed284[_0x27cdf8(0x1fb)]())return void this[_0x27cdf8(0x1ec)][_0x27cdf8(0x20d)](null);const _0x4b500f=new RegExp(_0x45cff1(_0x1ed284),'gi');this[_0x27cdf8(0x1ec)][_0x27cdf8(0x20d)](_0x4b500f);}[_0x12be4f(0x1fc)](_0x3854e0){const _0x5610d3=_0x12be4f;this[_0x5610d3(0x1f7)][_0x5610d3(0x210)]=_0x3854e0,this[_0x5610d3(0x210)]=_0x3854e0,this[_0x5610d3(0x213)]();}[_0x12be4f(0x1ea)](){const _0x206134=_0x12be4f,_0x504dfe=new _0xe4471a();return _0x504dfe[_0x206134(0x208)]=this[_0x206134(0x1f7)][_0x206134(0x214)],_0x504dfe[_0x206134(0x1ff)]({'tag':_0x206134(0x1f4),'attributes':{'class':[Hr]}}),_0x504dfe;}[_0x12be4f(0x207)](){const _0x3abcc7=_0x12be4f,_0xa77150=new _0x2beeab();return _0xa77150[_0x3abcc7(0x203)]=this[_0x3abcc7(0x205)](this[_0x3abcc7(0x1f7)]),_0xa77150;}[_0x12be4f(0x1f8)](){const _0x528b67=_0x12be4f,_0x4dc9c9=this[_0x528b67(0x212)];this[_0x528b67(0x201)]({'tag':_0x528b67(0x206),'attributes':{'class':[zr,_0x4dc9c9['if'](_0x528b67(0x1ee),_0x528b67(0x20b),_0xceab0b=>!_0xceab0b),_0x4dc9c9['if'](_0x528b67(0x210),Gr)]},'children':[{'tag':_0x528b67(0x206),'attributes':{'class':[Jr]},'children':[this[_0x528b67(0x215)]]},this[_0x528b67(0x1ec)]],'on':{'click':_0x4dc9c9['to'](_0x528b67(0x1f2))}});}[_0x12be4f(0x213)](){const _0x3f998b=_0x12be4f;this[_0x3f998b(0x215)][_0x3f998b(0x203)]=this[_0x3f998b(0x205)](this[_0x3f998b(0x1f7)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35e473=_0x2828;(function(_0x56a2ab,_0x2ed650){const _0x118822=_0x2828,_0x27b1db=_0x56a2ab();while(!![]){try{const _0x2bca68=parseInt(_0x118822(0x144))/0x1*(-parseInt(_0x118822(0x141))/0x2)+-parseInt(_0x118822(0x143))/0x3+parseInt(_0x118822(0x12a))/0x4+parseInt(_0x118822(0x142))/0x5*(-parseInt(_0x118822(0x131))/0x6)+-parseInt(_0x118822(0x11a))/0x7*(parseInt(_0x118822(0x10c))/0x8)+parseInt(_0x118822(0x112))/0x9*(parseInt(_0x118822(0x137))/0xa)+parseInt(_0x118822(0x140))/0xb;if(_0x2bca68===_0x2ed650)break;else _0x27b1db['push'](_0x27b1db['shift']());}catch(_0x30cdba){_0x27b1db['push'](_0x27b1db['shift']());}}}(_0x4ec9,0x761e1));import{BalloonPanelView as _0x58e475,ButtonView as _0x1fb53a,clickOutsideHandler as _0x45eb4f,FormHeaderView as _0x2be788}from'ckeditor5/src/ui.js';function _0x2828(_0x4dc053,_0x57c5e1){const _0x4ec9b9=_0x4ec9();return _0x2828=function(_0x2828dd,_0x4f8dd9){_0x2828dd=_0x2828dd-0x10a;let _0x1ad8a9=_0x4ec9b9[_0x2828dd];return _0x1ad8a9;},_0x2828(_0x4dc053,_0x57c5e1);}import{IconPreviousArrow as _0x396fc2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4de82f}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x9f405c}from'./aichatcontextresourcesview.js';function _0x4ec9(){const _0x352c37=['showSourceResourcesBalloon','populateSourceResourceBalloon','_createSourceResourceBalloonPanel','setResources','isAnyResourceBalloonVisible','change:isLoading','hide','ck-button-icon\x20ck-button-back','3374424tgUUEB','source','_createBackButton','element','_getResourcesViewFromBalloon','updateResourceState','closeSourceResourceBalloon','198LUfwAK','resource','pin','searchInputVisibleFrom','_createBalloonHeader','_config','635380oEbiPg','clear','_setupSingleResourceBalloonClickOutsideHandler','execute','once','children','onBalloonClosed','_addSourceResourceContent','_createBalloonResourcesView','14463856ezchNU','16OHPRVn','118365WuANzW','1770021mOdCUN','89627DMPOck','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','getLimiterElement','_sourceResourceBalloons','onBackToContext','destroy','1266424tasYsg','set','content','add','isVisible','label','81jcnsFy','ck-ai-chat-context-controls__source-balloon-panel','getTargetElement','loadSourceResources','get','_locale','values','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','7fOkfbC','onResourceSelected','extendTemplate','_bodyCollection','delete','addResourceToContext','show','onLoadSourceResources'];_0x4ec9=function(){return _0x352c37;};return _0x4ec9();}const Nr=_0x35e473(0x113),Xr=_0x35e473(0x129),Kr=_0x35e473(0x145);export class AIChatResourcesBalloonView{[_0x35e473(0x147)]=new Map();[_0x35e473(0x11d)];[_0x35e473(0x117)];[_0x35e473(0x136)];constructor(_0xb93650,_0x4f1d66,_0x27370b){const _0x204412=_0x35e473;this[_0x204412(0x117)]=_0xb93650,this[_0x204412(0x11d)]=_0x4f1d66,this[_0x204412(0x136)]=_0x27370b;}[_0x35e473(0x122)](_0x203a44){const _0x1f3a89=_0x35e473;let _0x382719=this[_0x1f3a89(0x147)][_0x1f3a89(0x116)](_0x203a44['id']);_0x382719||(_0x382719=this[_0x1f3a89(0x124)](),this[_0x1f3a89(0x147)][_0x1f3a89(0x10d)](_0x203a44['id'],_0x382719),this[_0x1f3a89(0x139)](_0x382719)),this[_0x1f3a89(0x13e)](_0x382719,_0x203a44),_0x382719[_0x1f3a89(0x120)]();const _0x5bf4eb=this[_0x1f3a89(0x136)][_0x1f3a89(0x114)]();_0x5bf4eb&&_0x382719[_0x1f3a89(0x133)]({'target':_0x5bf4eb,'limiter':this[_0x1f3a89(0x136)][_0x1f3a89(0x146)]()});}[_0x35e473(0x123)](_0x33f53b,_0x5f4c6d,_0x4dfa0c){const _0x106070=_0x35e473,_0x2de417=this[_0x106070(0x147)][_0x106070(0x116)](_0x33f53b);if(!_0x2de417)return;const _0x14c333=this[_0x106070(0x12e)](_0x2de417);_0x14c333&&(_0x14c333[_0x106070(0x125)](_0x5f4c6d,_0x4dfa0c),_0x14c333[_0x106070(0x13b)](_0x106070(0x127),()=>{const _0x4be241=_0x106070;_0x2de417[_0x4be241(0x133)]({'target':this[_0x4be241(0x136)][_0x4be241(0x114)](),'limiter':this[_0x4be241(0x136)][_0x4be241(0x146)]()});}));}[_0x35e473(0x130)](_0x6ed0b3){const _0xa892f1=_0x35e473,_0x2d3802=this[_0xa892f1(0x147)][_0xa892f1(0x116)](_0x6ed0b3);_0x2d3802&&requestAnimationFrame(()=>{const _0x5ad472=_0xa892f1;_0x2d3802[_0x5ad472(0x128)](),this[_0x5ad472(0x147)][_0x5ad472(0x11e)](_0x6ed0b3),this[_0x5ad472(0x136)][_0x5ad472(0x13d)]();});}[_0x35e473(0x126)](){const _0x3b95be=_0x35e473;for(const _0x1a4924 of this[_0x3b95be(0x147)][_0x3b95be(0x118)]())if(_0x1a4924[_0x3b95be(0x110)])return!0x0;return!0x1;}[_0x35e473(0x12f)](_0x184d59,_0x1748fb,_0x47cc61){const _0x59aa1e=_0x35e473,_0x23bc80=this[_0x59aa1e(0x147)][_0x59aa1e(0x116)](_0x184d59);if(!_0x23bc80||!_0x23bc80[_0x59aa1e(0x110)])return;const _0xd15cf4=this[_0x59aa1e(0x136)][_0x59aa1e(0x114)]();if(!_0xd15cf4)return;_0x23bc80[_0x59aa1e(0x133)]({'target':_0xd15cf4,'limiter':this[_0x59aa1e(0x136)][_0x59aa1e(0x146)]()});const _0x1e2f03=this[_0x59aa1e(0x12e)](_0x23bc80);_0x1e2f03&&_0x1e2f03[_0x59aa1e(0x12f)](_0x1748fb,_0x47cc61);}[_0x35e473(0x10b)](){const _0x44c542=_0x35e473;for(const _0x265c14 of this[_0x44c542(0x147)][_0x44c542(0x118)]())_0x265c14[_0x44c542(0x10b)]();this[_0x44c542(0x147)][_0x44c542(0x138)]();}[_0x35e473(0x124)](){const _0x4eced1=_0x35e473,_0x2f3f00=new _0x58e475(this[_0x4eced1(0x117)]);return _0x2f3f00[_0x4eced1(0x11c)]({'attributes':{'class':Nr}}),this[_0x4eced1(0x11d)][_0x4eced1(0x10f)](_0x2f3f00),_0x2f3f00;}[_0x35e473(0x13e)](_0x32bd90,_0x44c817){const _0x258f21=_0x35e473;_0x32bd90[_0x258f21(0x10e)][_0x258f21(0x138)]();const _0x5c92f3=this[_0x258f21(0x135)](_0x32bd90,_0x44c817);_0x32bd90[_0x258f21(0x10e)][_0x258f21(0x10f)](_0x5c92f3);const _0x27a4a7=this[_0x258f21(0x13f)](_0x44c817);_0x32bd90[_0x258f21(0x10e)][_0x258f21(0x10f)](_0x27a4a7);}[_0x35e473(0x135)](_0x2c9275,_0x37ebe8){const _0x38d47a=_0x35e473,_0x518fae=this[_0x38d47a(0x12c)](_0x2c9275),_0x3be83c=new _0x2be788(this[_0x38d47a(0x117)],{'label':_0x37ebe8[_0x38d47a(0x111)],'class':Kr});return _0x3be83c[_0x38d47a(0x13c)][_0x38d47a(0x10f)](_0x518fae,0x0),_0x3be83c;}[_0x35e473(0x12c)](_0x59c0dd){const _0x4c2702=_0x35e473,_0xafb62d=new _0x1fb53a(this[_0x4c2702(0x117)]);return _0xafb62d[_0x4c2702(0x10d)]({'icon':_0x396fc2,'tooltip':_0x4de82f(this[_0x4c2702(0x117)],_0x4c2702(0x119)),'tooltipPosition':'n','class':Xr}),_0xafb62d['on'](_0x4c2702(0x13a),()=>{const _0x1ea709=_0x4c2702;_0x59c0dd[_0x1ea709(0x128)](),this[_0x1ea709(0x136)][_0x1ea709(0x10a)]();}),_0xafb62d;}[_0x35e473(0x13f)](_0x2f5fe8){const _0x411750=_0x35e473,_0x5859c6=new _0x9f405c(this[_0x411750(0x117)],{'source':_0x2f5fe8,'searchInputVisibleFrom':this[_0x411750(0x136)][_0x411750(0x134)]});return _0x5859c6['on'](_0x411750(0x115),(_0x4286c7,_0x30e6c8)=>{const _0x5e772e=_0x411750;this[_0x5e772e(0x136)][_0x5e772e(0x121)](_0x30e6c8);}),_0x5859c6['on'](_0x411750(0x11f),(_0x7e5075,_0x30a8e7)=>{const _0x57f57e=_0x411750;this[_0x57f57e(0x136)][_0x57f57e(0x11b)](_0x30a8e7[_0x57f57e(0x12b)],_0x30a8e7[_0x57f57e(0x132)]),this[_0x57f57e(0x130)](_0x2f5fe8['id']);}),_0x5859c6;}[_0x35e473(0x12e)](_0x400860){const _0x235a1e=_0x35e473,_0x1aa2c2=_0x400860[_0x235a1e(0x10e)][_0x235a1e(0x116)](0x1);return _0x1aa2c2 instanceof _0x9f405c?_0x1aa2c2:null;}[_0x35e473(0x139)](_0x3623ec){const _0x288b0d=_0x35e473;_0x45eb4f({'emitter':_0x3623ec,'contextElements':[_0x3623ec[_0x288b0d(0x12d)]],'callback':()=>{const _0x1b6dd1=_0x288b0d;_0x3623ec[_0x1b6dd1(0x128)](),this[_0x1b6dd1(0x136)][_0x1b6dd1(0x13d)]();},'activator':()=>_0x3623ec[_0x288b0d(0x110)]});}}
23
+ const _0x1c5f38=_0x58a9;(function(_0x5a5263,_0x329f0a){const _0x28969b=_0x58a9,_0x58936a=_0x5a5263();while(!![]){try{const _0x47017d=parseInt(_0x28969b(0x115))/0x1+parseInt(_0x28969b(0x10a))/0x2*(parseInt(_0x28969b(0x101))/0x3)+parseInt(_0x28969b(0xfe))/0x4+-parseInt(_0x28969b(0x10e))/0x5*(-parseInt(_0x28969b(0x10d))/0x6)+parseInt(_0x28969b(0x10b))/0x7+-parseInt(_0x28969b(0x128))/0x8*(-parseInt(_0x28969b(0x113))/0x9)+-parseInt(_0x28969b(0xfd))/0xa;if(_0x47017d===_0x329f0a)break;else _0x58936a['push'](_0x58936a['shift']());}catch(_0x50589e){_0x58936a['push'](_0x58936a['shift']());}}}(_0x4751,0x92d80));import{BalloonPanelView as _0x36cc2f,ButtonView as _0x446577,clickOutsideHandler as _0x45798d,FormHeaderView as _0x22a7e8}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x19c795}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4de975}from'../../../../aicore/utils/common-translations.js';function _0x58a9(_0x401354,_0x8973b7){const _0x47511c=_0x4751();return _0x58a9=function(_0x58a96b,_0x4a33e0){_0x58a96b=_0x58a96b-0xf3;let _0x1f9498=_0x47511c[_0x58a96b];return _0x1f9498;},_0x58a9(_0x401354,_0x8973b7);}import{AIChatContextResourcesView as _0x21621c}from'./aichatcontextresourcesview.js';const Nr=_0x1c5f38(0xff),Xr=_0x1c5f38(0x121),Kr=_0x1c5f38(0x119);export class AIChatResourcesBalloonView{[_0x1c5f38(0xf7)]=new Map();[_0x1c5f38(0x109)];[_0x1c5f38(0xfb)];[_0x1c5f38(0xfa)];constructor(_0x41a9ab,_0x4da2e,_0x2585d8){const _0x4ec7d1=_0x1c5f38;this[_0x4ec7d1(0xfb)]=_0x41a9ab,this[_0x4ec7d1(0x109)]=_0x4da2e,this[_0x4ec7d1(0xfa)]=_0x2585d8;}[_0x1c5f38(0x127)](_0x33386){const _0xe0d879=_0x1c5f38;let _0x2c2f4c=this[_0xe0d879(0xf7)][_0xe0d879(0x12f)](_0x33386['id']);_0x2c2f4c||(_0x2c2f4c=this[_0xe0d879(0xfc)](),this[_0xe0d879(0xf7)][_0xe0d879(0x10f)](_0x33386['id'],_0x2c2f4c),this[_0xe0d879(0x124)](_0x2c2f4c)),this[_0xe0d879(0x120)](_0x2c2f4c,_0x33386),_0x2c2f4c[_0xe0d879(0x104)]();const _0x1eae34=this[_0xe0d879(0xfa)][_0xe0d879(0x102)]();_0x1eae34&&_0x2c2f4c[_0xe0d879(0x12b)]({'target':_0x1eae34,'limiter':this[_0xe0d879(0xfa)][_0xe0d879(0x122)]()});}[_0x1c5f38(0x11f)](_0x22e2f3,_0x519705,_0x28f865){const _0x37c57b=_0x1c5f38,_0x46c020=this[_0x37c57b(0xf7)][_0x37c57b(0x12f)](_0x22e2f3);if(!_0x46c020)return;const _0x38cee7=this[_0x37c57b(0x114)](_0x46c020);_0x38cee7&&(_0x38cee7[_0x37c57b(0x129)](_0x519705,_0x28f865),_0x38cee7[_0x37c57b(0x116)](_0x37c57b(0x11e),()=>{const _0x203a4a=_0x37c57b;_0x46c020[_0x203a4a(0x12b)]({'target':this[_0x203a4a(0xfa)][_0x203a4a(0x102)](),'limiter':this[_0x203a4a(0xfa)][_0x203a4a(0x122)]()});}));}[_0x1c5f38(0x103)](_0x26b19e){const _0x51fd89=_0x1c5f38,_0x2fd7ea=this[_0x51fd89(0xf7)][_0x51fd89(0x12f)](_0x26b19e);_0x2fd7ea&&requestAnimationFrame(()=>{const _0xdd9c45=_0x51fd89;_0x2fd7ea[_0xdd9c45(0x11c)](),this[_0xdd9c45(0xf7)][_0xdd9c45(0x123)](_0x26b19e),this[_0xdd9c45(0xfa)][_0xdd9c45(0x11d)]();});}[_0x1c5f38(0x126)](){const _0x1aeaa2=_0x1c5f38;for(const _0x58545a of this[_0x1aeaa2(0xf7)][_0x1aeaa2(0x12d)]())if(_0x58545a[_0x1aeaa2(0x125)])return!0x0;return!0x1;}[_0x1c5f38(0x112)](_0xd1fd31,_0x44d425,_0x27d9f9){const _0x16d61f=_0x1c5f38,_0x504c5b=this[_0x16d61f(0xf7)][_0x16d61f(0x12f)](_0xd1fd31);if(!_0x504c5b||!_0x504c5b[_0x16d61f(0x125)])return;const _0x1ff277=this[_0x16d61f(0xfa)][_0x16d61f(0x102)]();if(!_0x1ff277)return;_0x504c5b[_0x16d61f(0x12b)]({'target':_0x1ff277,'limiter':this[_0x16d61f(0xfa)][_0x16d61f(0x122)]()});const _0xed9192=this[_0x16d61f(0x114)](_0x504c5b);_0xed9192&&_0xed9192[_0x16d61f(0x112)](_0x44d425,_0x27d9f9);}[_0x1c5f38(0x106)](){const _0x3b89cb=_0x1c5f38;for(const _0x3a14fc of this[_0x3b89cb(0xf7)][_0x3b89cb(0x12d)]())_0x3a14fc[_0x3b89cb(0x106)]();this[_0x3b89cb(0xf7)][_0x3b89cb(0x108)]();}[_0x1c5f38(0xfc)](){const _0x5ac602=_0x1c5f38,_0x4fad87=new _0x36cc2f(this[_0x5ac602(0xfb)]);return _0x4fad87[_0x5ac602(0x100)]({'attributes':{'class':Nr}}),this[_0x5ac602(0x109)][_0x5ac602(0xf4)](_0x4fad87),_0x4fad87;}[_0x1c5f38(0x120)](_0x245526,_0x1e77a5){const _0x20ba3e=_0x1c5f38;_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0x108)]();const _0x24e865=this[_0x20ba3e(0x10c)](_0x245526,_0x1e77a5);_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0xf4)](_0x24e865);const _0x4ef008=this[_0x20ba3e(0xf9)](_0x1e77a5);_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0xf4)](_0x4ef008);}[_0x1c5f38(0x10c)](_0x53ac2f,_0x5a9844){const _0xa5a83d=_0x1c5f38,_0x532966=this[_0xa5a83d(0x118)](_0x53ac2f),_0x5c4b9c=new _0x22a7e8(this[_0xa5a83d(0xfb)],{'label':_0x5a9844[_0xa5a83d(0xf3)],'class':Kr});return _0x5c4b9c[_0xa5a83d(0x105)][_0xa5a83d(0xf4)](_0x532966,0x0),_0x5c4b9c;}[_0x1c5f38(0x118)](_0x3b3069){const _0x30ca38=_0x1c5f38,_0x5b39fd=new _0x446577(this[_0x30ca38(0xfb)]);return _0x5b39fd[_0x30ca38(0x10f)]({'icon':_0x19c795,'tooltip':_0x4de975(this[_0x30ca38(0xfb)],_0x30ca38(0x110)),'tooltipPosition':'n','class':Xr}),_0x5b39fd['on'](_0x30ca38(0x117),()=>{const _0x47c6a8=_0x30ca38;_0x3b3069[_0x47c6a8(0x11c)](),this[_0x47c6a8(0xfa)][_0x47c6a8(0xf6)]();}),_0x5b39fd;}[_0x1c5f38(0xf9)](_0x36dffd){const _0x167a3e=_0x1c5f38,_0x5e2d48=new _0x21621c(this[_0x167a3e(0xfb)],{'source':_0x36dffd,'searchInputVisibleFrom':this[_0x167a3e(0xfa)][_0x167a3e(0x12a)]});return _0x5e2d48['on'](_0x167a3e(0xf8),(_0x513f20,_0x33698b)=>{const _0x5e9008=_0x167a3e;this[_0x5e9008(0xfa)][_0x5e9008(0x111)](_0x33698b);}),_0x5e2d48['on'](_0x167a3e(0x107),(_0x365529,_0x270be6)=>{const _0x2dd3a2=_0x167a3e;this[_0x2dd3a2(0xfa)][_0x2dd3a2(0x12e)](_0x270be6[_0x2dd3a2(0xf5)],_0x270be6[_0x2dd3a2(0x12c)]),this[_0x2dd3a2(0x103)](_0x36dffd['id']);}),_0x5e2d48;}[_0x1c5f38(0x114)](_0x36e3be){const _0x36f69a=_0x1c5f38,_0x3550d3=_0x36e3be[_0x36f69a(0x11a)][_0x36f69a(0x12f)](0x1);return _0x3550d3 instanceof _0x21621c?_0x3550d3:null;}[_0x1c5f38(0x124)](_0x494e2f){const _0x2c4a7b=_0x1c5f38;_0x45798d({'emitter':_0x494e2f,'contextElements':[_0x494e2f[_0x2c4a7b(0x11b)]],'callback':()=>{const _0x2c75c3=_0x2c4a7b;_0x494e2f[_0x2c75c3(0x11c)](),this[_0x2c75c3(0xfa)][_0x2c75c3(0x11d)]();},'activator':()=>_0x494e2f[_0x2c4a7b(0x125)]});}}function _0x4751(){const _0xda70c=['getTargetElement','closeSourceResourceBalloon','show','children','destroy','addResourceToContext','clear','_bodyCollection','6wmBNob','1176784LGRGHg','_createBalloonHeader','3620454gxfqOl','5mqiTYI','set','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onLoadSourceResources','updateResourceState','4151538QJrAnh','_getResourcesViewFromBalloon','321853tQIErE','once','execute','_createBackButton','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','content','element','hide','onBalloonClosed','change:isLoading','populateSourceResourceBalloon','_addSourceResourceContent','ck-button-icon\x20ck-button-back','getLimiterElement','delete','_setupSingleResourceBalloonClickOutsideHandler','isVisible','isAnyResourceBalloonVisible','showSourceResourcesBalloon','8PJcUFm','setResources','searchInputVisibleFrom','pin','resource','values','onResourceSelected','get','label','add','source','onBackToContext','_sourceResourceBalloons','loadSourceResources','_createBalloonResourcesView','_config','_locale','_createSourceResourceBalloonPanel','16193960mVAWXV','1047716oROneU','ck-ai-chat-context-controls__source-balloon-panel','extendTemplate','404283vdbUry'];_0x4751=function(){return _0xda70c;};return _0x4751();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x58e165,IconView as _0x1c3506,LabeledFieldView as _0x2ef0ab,createLabeledInputText as _0x11cb8f}from'ckeditor5/src/ui.js';import{IconLoupe as _0x4d3ae9,IconCancel as _0x124f78}from'ckeditor5/src/icons.js';import{getTranslation as _0x2b4a55}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2ef0ab{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x3e9311){const t=_0x3e9311['t'],_0x498d0d={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x11cb8f,'label':_0x2b4a55(_0x3e9311,'AI_CHAT_SEARCH_RESOURCES')};super(_0x3e9311,_0x498d0d['creator']),this['label']=_0x498d0d['label'],this['_viewConfig']=_0x498d0d,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x3e9311,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x299580){this['fire']('search',_0x299580);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x1c3506(),this['iconView']['content']=_0x4d3ae9,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x29be48,t){this['resetButtonView']=new _0x58e165(_0x29be48),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x124f78,'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',_0x4f92a3=>!_0x4f92a3),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 _0x3ada7a,IconView as _0x54fe2d,LabeledFieldView as _0x379e38,createLabeledInputText as _0x33f4f2}from'ckeditor5/src/ui.js';import{IconLoupe as _0x376860,IconCancel as _0x5d25ff}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cb3bb}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x379e38{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xb23483){const t=_0xb23483['t'],_0x2b8c2a={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x33f4f2,'label':_0x5cb3bb(_0xb23483,'AI_CHAT_SEARCH_RESOURCES')};super(_0xb23483,_0x2b8c2a['creator']),this['label']=_0x2b8c2a['label'],this['_viewConfig']=_0x2b8c2a,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xb23483,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x39e580){this['fire']('search',_0x39e580);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x54fe2d(),this['iconView']['content']=_0x376860,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x41fec8,t){this['resetButtonView']=new _0x3ada7a(_0x41fec8),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5d25ff,'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',_0x5d9240=>!_0x5d9240),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
- function _0x5642(_0x5495c9,_0x30c0af){const _0x860f5e=_0x860f();return _0x5642=function(_0x5642ed,_0x25fbd9){_0x5642ed=_0x5642ed-0x1df;let _0x337ab5=_0x860f5e[_0x5642ed];return _0x337ab5;},_0x5642(_0x5495c9,_0x30c0af);}const _0x21d2ae=_0x5642;function _0x860f(){const _0xc6f1ed=['destroy','2488866VxpcJS','6967401pQeEye','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat__feed__context-chips','createCollection','ck-ai-chat-controls-button','8036035ykTJdZ','_contextChips','10304916xToGMT','1276622pFggwZ','_createContextChips','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-chips-wrapper','_bodyCollection','ck-reset_all','406430BaMFOo','element','locale','div','ck-ai-chat-context-chips-wrapper-balloon','12035672HimAJI','add','4XJTFus','querySelector','_overflowManager','reorganizeChips','render','setContainerElement','setTemplate'];_0x860f=function(){return _0xc6f1ed;};return _0x860f();}(function(_0x209314,_0x197e4a){const _0xe8f559=_0x5642,_0x5a99a2=_0x209314();while(!![]){try{const _0x2a5bce=-parseInt(_0xe8f559(0x1e7))/0x1+-parseInt(_0xe8f559(0x1e1))/0x2+-parseInt(_0xe8f559(0x1f6))/0x3+-parseInt(_0xe8f559(0x1ee))/0x4*(-parseInt(_0xe8f559(0x1fc))/0x5)+parseInt(_0xe8f559(0x1e0))/0x6+parseInt(_0xe8f559(0x1f7))/0x7+-parseInt(_0xe8f559(0x1ec))/0x8;if(_0x2a5bce===_0x197e4a)break;else _0x5a99a2['push'](_0x5a99a2['shift']());}catch(_0x243c5e){_0x5a99a2['push'](_0x5a99a2['shift']());}}}(_0x860f,0xe5c9e));import{View as _0x2d88b7}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x564349}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0xaa21fe}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x21d2ae(0x1f9),Qo=_0x21d2ae(0x1e4),Xo=_0x21d2ae(0x1eb),Lo=_0x21d2ae(0x1fb),Oo=_0x21d2ae(0x1e3),Mo=_0x21d2ae(0x1f8);export class AIChatFeedContextChipsView extends _0x2d88b7{[_0x21d2ae(0x1df)]=this[_0x21d2ae(0x1fa)]();[_0x21d2ae(0x1f0)];[_0x21d2ae(0x1e5)];constructor(_0x4307db,_0x5149e6,_0x14188b){const _0x2ca1da=_0x21d2ae;super(_0x4307db),this[_0x2ca1da(0x1e5)]=_0x14188b,this[_0x2ca1da(0x1e2)](_0x5149e6);const _0x4a561a={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':Xo,'controlsButton':Lo}};this[_0x2ca1da(0x1f0)]=new _0xaa21fe(_0x4307db,this[_0x2ca1da(0x1df)],_0x4a561a,this[_0x2ca1da(0x1e5)],this),this[_0x2ca1da(0x1f4)]({'tag':_0x2ca1da(0x1ea),'attributes':{'class':[$o,'ck',_0x2ca1da(0x1e6)]},'children':[{'tag':_0x2ca1da(0x1ea),'attributes':{'class':Qo},'children':this[_0x2ca1da(0x1df)]}]});}[_0x21d2ae(0x1f2)](){const _0x7bbfa8=_0x21d2ae;super[_0x7bbfa8(0x1f2)]();const _0x3be0b7=this[_0x7bbfa8(0x1e8)][_0x7bbfa8(0x1ef)]('.'+Qo);_0x3be0b7&&(this[_0x7bbfa8(0x1f0)][_0x7bbfa8(0x1f3)](_0x3be0b7),this[_0x7bbfa8(0x1f0)][_0x7bbfa8(0x1f1)]());}[_0x21d2ae(0x1f5)](){const _0x13afad=_0x21d2ae;super[_0x13afad(0x1f5)](),this[_0x13afad(0x1f0)][_0x13afad(0x1f5)]();}[_0x21d2ae(0x1e2)](_0x78192a){const _0x5dff31=_0x21d2ae;for(const _0x16b26f of _0x78192a){const _0x5ebda7=new _0x564349(this[_0x5dff31(0x1e9)],_0x16b26f,!0x0,!0x1);this[_0x5dff31(0x1df)][_0x5dff31(0x1ed)](_0x5ebda7);}}}
23
+ function _0x2565(){const _0x598536=['_contextChips','reorganizeChips','ck-ai-chat__feed__context-chips','setTemplate','ck-ai-chat-context-controls__show-more-balloon-panel','ck-reset_all','4mMeHNV','render','ck-ai-chat-context-chips-wrapper','createCollection','39957uFIvog','div','_createContextChips','destroy','1616222GVsgyz','142YMSdqn','7260035mivhKX','ck-ai-chat-controls-button','16805853lUBMXY','1610vdnNYg','element','12795624xxUbaA','ck-ai-chat-context-chips-wrapper-balloon','add','_bodyCollection','querySelector','setContainerElement','ck-ai-chat-controls_context_show-more-button','1765771vhpetI','254078uqZjhQ','locale','36yuBLDE','_overflowManager'];_0x2565=function(){return _0x598536;};return _0x2565();}function _0x4c2a(_0x1fefe8,_0x515265){const _0x2565b9=_0x2565();return _0x4c2a=function(_0x4c2a7d,_0x56190e){_0x4c2a7d=_0x4c2a7d-0x88;let _0x3aff8b=_0x2565b9[_0x4c2a7d];return _0x3aff8b;},_0x4c2a(_0x1fefe8,_0x515265);}const _0x39a52d=_0x4c2a;(function(_0x3ef3ff,_0x59f1f0){const _0x1843b1=_0x4c2a,_0x817bcf=_0x3ef3ff();while(!![]){try{const _0x5bea94=parseInt(_0x1843b1(0x98))/0x1+parseInt(_0x1843b1(0x99))/0x2*(-parseInt(_0x1843b1(0x94))/0x3)+parseInt(_0x1843b1(0x90))/0x4*(-parseInt(_0x1843b1(0x9a))/0x5)+-parseInt(_0x1843b1(0x88))/0x6*(-parseInt(_0x1843b1(0xa6))/0x7)+-parseInt(_0x1843b1(0x9f))/0x8+-parseInt(_0x1843b1(0x9c))/0x9+parseInt(_0x1843b1(0x9d))/0xa*(parseInt(_0x1843b1(0xa7))/0xb);if(_0x5bea94===_0x59f1f0)break;else _0x817bcf['push'](_0x817bcf['shift']());}catch(_0x3ffd0d){_0x817bcf['push'](_0x817bcf['shift']());}}}(_0x2565,0xf041c));import{View as _0xba4855}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x46e754}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2d4645}from'../controls/aichatchipsoverflowmanager.js';const xo=_0x39a52d(0x8c),ko=_0x39a52d(0x92),Co=_0x39a52d(0xa0),bo=_0x39a52d(0x9b),vo=_0x39a52d(0xa5),jo=_0x39a52d(0x8e);export class AIChatFeedContextChipsView extends _0xba4855{[_0x39a52d(0x8a)]=this[_0x39a52d(0x93)]();[_0x39a52d(0x89)];[_0x39a52d(0xa2)];constructor(_0x1cbb15,_0x19d182,_0x179acb){const _0x17f347=_0x39a52d;super(_0x1cbb15),this[_0x17f347(0xa2)]=_0x179acb,this[_0x17f347(0x96)](_0x19d182);const _0x52f8f0={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Co,'controlsButton':bo}};this[_0x17f347(0x89)]=new _0x2d4645(_0x1cbb15,this[_0x17f347(0x8a)],_0x52f8f0,this[_0x17f347(0xa2)],this),this[_0x17f347(0x8d)]({'tag':_0x17f347(0x95),'attributes':{'class':[xo,'ck',_0x17f347(0x8f)]},'children':[{'tag':_0x17f347(0x95),'attributes':{'class':ko},'children':this[_0x17f347(0x8a)]}]});}[_0x39a52d(0x91)](){const _0x10a822=_0x39a52d;super[_0x10a822(0x91)]();const _0x1eb8f6=this[_0x10a822(0x9e)][_0x10a822(0xa3)]('.'+ko);_0x1eb8f6&&(this[_0x10a822(0x89)][_0x10a822(0xa4)](_0x1eb8f6),this[_0x10a822(0x89)][_0x10a822(0x8b)]());}[_0x39a52d(0x97)](){const _0x156cd3=_0x39a52d;super[_0x156cd3(0x97)](),this[_0x156cd3(0x89)][_0x156cd3(0x97)]();}[_0x39a52d(0x96)](_0x261f45){const _0x202c50=_0x39a52d;for(const _0x17c945 of _0x261f45){const _0x512a69=new _0x46e754(this[_0x202c50(0xa8)],_0x17c945,!0x0,!0x1);this[_0x202c50(0x8a)][_0x202c50(0xa1)](_0x512a69);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9b6a(_0x15556e,_0x5db1bf){var _0xd2d2b6=_0xd2d2();return _0x9b6a=function(_0x9b6a53,_0x58cfb7){_0x9b6a53=_0x9b6a53-0x19c;var _0x17524a=_0xd2d2b6[_0x9b6a53];return _0x17524a;},_0x9b6a(_0x15556e,_0x5db1bf);}var _0x4b105d=_0x9b6a;(function(_0x17c5ea,_0x5e2f4e){var _0x26f790=_0x9b6a,_0x5c9deb=_0x17c5ea();while(!![]){try{var _0x18b9c7=parseInt(_0x26f790(0x1a9))/0x1*(parseInt(_0x26f790(0x1a6))/0x2)+-parseInt(_0x26f790(0x1ad))/0x3+-parseInt(_0x26f790(0x1ae))/0x4+-parseInt(_0x26f790(0x1a1))/0x5*(-parseInt(_0x26f790(0x1a5))/0x6)+-parseInt(_0x26f790(0x19e))/0x7+-parseInt(_0x26f790(0x1a7))/0x8*(-parseInt(_0x26f790(0x1a2))/0x9)+parseInt(_0x26f790(0x1ab))/0xa;if(_0x18b9c7===_0x5e2f4e)break;else _0x5c9deb['push'](_0x5c9deb['shift']());}catch(_0x43ee60){_0x5c9deb['push'](_0x5c9deb['shift']());}}}(_0xd2d2,0x25f68));import{AIChatFeedItemView as _0x4857bc}from'./aichatfeeditemview.js';function _0xd2d2(){var _0x172964=['40168eqjutH','ck-ai-chat-error','element','extendTemplate','options','ck-ai-chat-error_warning','2130002stqESX','markAsDone','level','655tBGPbq','2396727iiCXvm','setContent','innerHTML','1644oZGpEj','109490dRlTzX','8eDewUt','initialContent','1gSrtCj','warning','1258620feFsZQ','render','38940urooRP'];_0xd2d2=function(){return _0x172964;};return _0xd2d2();}export class AIChatFeedErrorItemView extends _0x4857bc{constructor(_0x539daa){var _0x3abd07=_0x9b6a;super(_0x539daa),this[_0x3abd07(0x1b1)]({'attributes':{'class':[_0x3abd07(0x1af),_0x3abd07(0x1aa)===_0x539daa[_0x3abd07(0x1a0)]?_0x3abd07(0x19d):'']}});}[_0x4b105d(0x1ac)](){var _0x1dd9cb=_0x4b105d;super[_0x1dd9cb(0x1ac)](),this[_0x1dd9cb(0x1a3)](this[_0x1dd9cb(0x19c)][_0x1dd9cb(0x1a8)]),this[_0x1dd9cb(0x19f)]();}[_0x4b105d(0x1a3)](_0x3206a2){var _0x102e6c=_0x4b105d;this[_0x102e6c(0x1b0)][_0x102e6c(0x1a4)]=_0x3206a2;}}
23
+ function _0x4bab(_0x186c38,_0x30ce2d){var _0x3bb3d7=_0x3bb3();return _0x4bab=function(_0x4baba6,_0x374842){_0x4baba6=_0x4baba6-0x134;var _0x4bf733=_0x3bb3d7[_0x4baba6];return _0x4bf733;},_0x4bab(_0x186c38,_0x30ce2d);}var _0x9eff02=_0x4bab;(function(_0x3b7c27,_0x33fd48){var _0x51f2fc=_0x4bab,_0x516d05=_0x3b7c27();while(!![]){try{var _0xf94fdc=parseInt(_0x51f2fc(0x134))/0x1+parseInt(_0x51f2fc(0x138))/0x2*(parseInt(_0x51f2fc(0x148))/0x3)+-parseInt(_0x51f2fc(0x14b))/0x4*(-parseInt(_0x51f2fc(0x13b))/0x5)+-parseInt(_0x51f2fc(0x136))/0x6*(parseInt(_0x51f2fc(0x145))/0x7)+-parseInt(_0x51f2fc(0x149))/0x8+-parseInt(_0x51f2fc(0x135))/0x9*(parseInt(_0x51f2fc(0x139))/0xa)+-parseInt(_0x51f2fc(0x13f))/0xb*(parseInt(_0x51f2fc(0x143))/0xc);if(_0xf94fdc===_0x33fd48)break;else _0x516d05['push'](_0x516d05['shift']());}catch(_0x26cedf){_0x516d05['push'](_0x516d05['shift']());}}}(_0x3bb3,0x18a2c));import{AIChatFeedItemView as _0x4dd35f}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x4dd35f{constructor(_0x701668){var _0x33d532=_0x4bab;super(_0x701668),this[_0x33d532(0x141)]({'attributes':{'class':[_0x33d532(0x144),_0x33d532(0x140)===_0x701668[_0x33d532(0x14a)]?_0x33d532(0x147):'']}});}[_0x9eff02(0x137)](){var _0x53c216=_0x9eff02;super[_0x53c216(0x137)](),this[_0x53c216(0x146)](this[_0x53c216(0x142)][_0x53c216(0x13d)]),this[_0x53c216(0x13a)]();}[_0x9eff02(0x146)](_0x1b5091){var _0x3b7e90=_0x9eff02;this[_0x3b7e90(0x13e)][_0x3b7e90(0x13c)]=_0x1b5091;}}function _0x3bb3(){var _0x1ce4d6=['2ogttBA','250rAdkFn','markAsDone','959215lLiJUF','innerHTML','initialContent','element','637153zDTCux','warning','extendTemplate','options','12pHWfDd','ck-ai-chat-error','39753XVSAYS','setContent','ck-ai-chat-error_warning','450291xqqikq','882496HajFVQ','level','4IaRtje','64182efJpKo','47268zXVDQY','6KfpnIw','render'];_0x3bb3=function(){return _0x1ce4d6;};return _0x3bb3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43af55=_0x14cb;function _0x1c69(){const _0x68c16a=['push','390NWRbao','1872924ZOfDjg','775072CEBOjT','children','122hjILCH','div','span','extendTemplate','ck-hidden','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','add','80748ccmEVP','capabilities','275mefwkT','ck-ai-chat__feed__interaction-header__capabilities','28399AZzbTs','2252020pohEqx','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','27724gCAHJG','content','ck-ai-chat__feed__interaction-header','setTemplate','1494olNzVa','15745833fuxUFc'];_0x1c69=function(){return _0x68c16a;};return _0x1c69();}(function(_0x4024b5,_0x2d9837){const _0x46895a=_0x14cb,_0x5b59a0=_0x4024b5();while(!![]){try{const _0x2c373a=parseInt(_0x46895a(0xa4))/0x1*(-parseInt(_0x46895a(0xaf))/0x2)+-parseInt(_0x46895a(0xac))/0x3+parseInt(_0x46895a(0x9c))/0x4*(-parseInt(_0x46895a(0xab))/0x5)+parseInt(_0x46895a(0xa8))/0x6*(parseInt(_0x46895a(0xa0))/0x7)+-parseInt(_0x46895a(0xad))/0x8+-parseInt(_0x46895a(0xa9))/0x9+-parseInt(_0x46895a(0xa1))/0xa*(-parseInt(_0x46895a(0x9e))/0xb);if(_0x2c373a===_0x2d9837)break;else _0x5b59a0['push'](_0x5b59a0['shift']());}catch(_0x275e23){_0x5b59a0['push'](_0x5b59a0['shift']());}}}(_0x1c69,0xdca54));function _0x14cb(_0x1a20d1,_0x564c08){const _0x1c6965=_0x1c69();return _0x14cb=function(_0x14cb7a,_0x1d592d){_0x14cb7a=_0x14cb7a-0x9a;let _0x199648=_0x1c6965[_0x14cb7a];return _0x199648;},_0x14cb(_0x1a20d1,_0x564c08);}import{IconBulb as _0x572db8,IconWeb as _0xd04050}from'@ckeditor/ckeditor5-icons';import{IconView as _0x3d8744,View as _0x519a70}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x5c55bd}from'./aichatfeeditemview.js';import{getTranslation as _0x38c646}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5c55bd{[_0x43af55(0x9d)];constructor(_0x3a50e2,_0x169c35){const _0x57f038=_0x43af55;super(_0x169c35);const {isWebSearchEnabled:_0x35f682,isReasoningEnabled:_0x3d46f1}=_0x169c35[_0x57f038(0x9d)],_0x3a1ac6=[];let _0x2975d1='';_0x35f682&&_0x3d46f1?(_0x2975d1=_0x38c646(_0x3a50e2,_0x57f038(0xa2)),_0x3a1ac6[_0x57f038(0xaa)](aa(_0xd04050)),_0x3a1ac6[_0x57f038(0xaa)](aa(_0x572db8))):_0x35f682?(_0x2975d1=_0x38c646(_0x3a50e2,_0x57f038(0x9a)),_0x3a1ac6[_0x57f038(0xaa)](aa(_0xd04050))):_0x3d46f1&&(_0x2975d1=_0x38c646(_0x3a50e2,_0x57f038(0xa3)),_0x3a1ac6[_0x57f038(0xaa)](aa(_0x572db8))),this[_0x57f038(0xb2)]({'attributes':{'class':[_0x57f038(0xa6),_0x2975d1?'':_0x57f038(0xb3)]}});const _0x32e8b4=new _0x519a70();_0x32e8b4[_0x57f038(0xa7)]({'tag':_0x57f038(0xb0),'attributes':{'class':['ck',_0x57f038(0x9f)]},'children':[..._0x3a1ac6,{'tag':_0x57f038(0xb1),'attributes':{'class':[_0x57f038(0xb4)]},'children':[_0x2975d1]}]}),this[_0x57f038(0xae)][_0x57f038(0x9b)](_0x32e8b4),this[_0x57f038(0x9d)]=_0x169c35[_0x57f038(0x9d)];}}function aa(_0x2f6aad){const _0x617713=_0x43af55,_0x5e5dbb=new _0x3d8744();return _0x5e5dbb[_0x617713(0xa5)]=_0x2f6aad,_0x5e5dbb;}
23
+ const _0x2382f2=_0x142c;(function(_0x5e6b9c,_0x83988){const _0xf5d38a=_0x142c,_0x4ca7e6=_0x5e6b9c();while(!![]){try{const _0x2a9088=-parseInt(_0xf5d38a(0x13c))/0x1+parseInt(_0xf5d38a(0x139))/0x2+parseInt(_0xf5d38a(0x141))/0x3+-parseInt(_0xf5d38a(0x135))/0x4+parseInt(_0xf5d38a(0x143))/0x5+-parseInt(_0xf5d38a(0x14b))/0x6+parseInt(_0xf5d38a(0x136))/0x7*(parseInt(_0xf5d38a(0x13d))/0x8);if(_0x2a9088===_0x83988)break;else _0x4ca7e6['push'](_0x4ca7e6['shift']());}catch(_0x3a0e96){_0x4ca7e6['push'](_0x4ca7e6['shift']());}}}(_0x408b,0x3488a));import{IconBulb as _0x4c5b9e,IconWeb as _0x40bb7c}from'@ckeditor/ckeditor5-icons';function _0x408b(){const _0x4a1545=['ck-hidden','282728HPdfGQ','552993qqAwAM','div','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','514786UfthCA','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','223343MByXUb','8OTwDHD','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','setTemplate','ck-ai-chat__feed__interaction-header__capabilities','306543xsKeIt','push','1032945oQXqBK','content','capabilities','children','extendTemplate','add','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities__text','815754kfPcoI'];_0x408b=function(){return _0x4a1545;};return _0x408b();}import{IconView as _0x271453,View as _0x3bf1d9}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x4e28b3}from'./aichatfeeditemview.js';import{getTranslation as _0x354160}from'../../../aicore/utils/common-translations.js';function _0x142c(_0x26ad73,_0x4f93a3){const _0x408bdf=_0x408b();return _0x142c=function(_0x142c66,_0x3909d2){_0x142c66=_0x142c66-0x134;let _0x162c97=_0x408bdf[_0x142c66];return _0x162c97;},_0x142c(_0x26ad73,_0x4f93a3);}export class AIChatFeedInteractionHeaderView extends _0x4e28b3{[_0x2382f2(0x145)];constructor(_0x1af21c,_0x2fdd40){const _0x58fde6=_0x2382f2;super(_0x2fdd40);const {isWebSearchEnabled:_0x3914b3,isReasoningEnabled:_0x4e4f48}=_0x2fdd40[_0x58fde6(0x145)],_0x244e75=[];let _0x78b120='';_0x3914b3&&_0x4e4f48?(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x13b)),_0x244e75[_0x58fde6(0x142)](ca(_0x40bb7c)),_0x244e75[_0x58fde6(0x142)](ca(_0x4c5b9e))):_0x3914b3?(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x13e)),_0x244e75[_0x58fde6(0x142)](ca(_0x40bb7c))):_0x4e4f48&&(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x138)),_0x244e75[_0x58fde6(0x142)](ca(_0x4c5b9e))),this[_0x58fde6(0x147)]({'attributes':{'class':[_0x58fde6(0x149),_0x78b120?'':_0x58fde6(0x134)]}});const _0x15043d=new _0x3bf1d9();_0x15043d[_0x58fde6(0x13f)]({'tag':_0x58fde6(0x137),'attributes':{'class':['ck',_0x58fde6(0x140)]},'children':[..._0x244e75,{'tag':_0x58fde6(0x13a),'attributes':{'class':[_0x58fde6(0x14a)]},'children':[_0x78b120]}]}),this[_0x58fde6(0x146)][_0x58fde6(0x148)](_0x15043d),this[_0x58fde6(0x145)]=_0x2fdd40[_0x58fde6(0x145)];}}function ca(_0x2126dd){const _0x2f4d43=_0x2382f2,_0xf89376=new _0x271453();return _0xf89376[_0x2f4d43(0x144)]=_0x2126dd,_0xf89376;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x340fc2=_0x4b10;function _0x4680(){const _0x14d747=['element','setTemplate','ck-ai-chat__feed__item','ck-hidden','386640JoVsAk','cleanUpAnimations','stream','ck-ai-chat__feed__item_done','options','isVisible','785916ffYBIX','bindTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','296FEkiME','removeAttribute','htmlStreamer','div','data-id','isDone','content','ck-ai-chat__feed__text-item','9REYRqG','markAsDone','10403540apQijC','[data-id]','createCollection','set','90053jHkHfJ','children','forEach','querySelectorAll','834WEdNCm','streamIntoElement','163802sGCGhy','7091kGcipK','65061OXpZOq'];_0x4680=function(){return _0x14d747;};return _0x4680();}(function(_0x2862d9,_0x125b12){const _0x21b7e3=_0x4b10,_0x4b5547=_0x2862d9();while(!![]){try{const _0x26735c=-parseInt(_0x21b7e3(0xc8))/0x1+parseInt(_0x21b7e3(0xaa))/0x2*(-parseInt(_0x21b7e3(0xc2))/0x3)+-parseInt(_0x21b7e3(0xb7))/0x4+parseInt(_0x21b7e3(0xb1))/0x5+parseInt(_0x21b7e3(0xa8))/0x6*(-parseInt(_0x21b7e3(0xab))/0x7)+parseInt(_0x21b7e3(0xba))/0x8*(-parseInt(_0x21b7e3(0xac))/0x9)+parseInt(_0x21b7e3(0xc4))/0xa;if(_0x26735c===_0x125b12)break;else _0x4b5547['push'](_0x4b5547['shift']());}catch(_0x4e2036){_0x4b5547['push'](_0x4b5547['shift']());}}}(_0x4680,0x2b40f));function _0x4b10(_0x203f70,_0x3e6b0a){const _0x4680cb=_0x4680();return _0x4b10=function(_0x4b105e,_0x3119e2){_0x4b105e=_0x4b105e-0xa8;let _0x5e9c3b=_0x4680cb[_0x4b105e];return _0x5e9c3b;},_0x4b10(_0x203f70,_0x3e6b0a);}import{View as _0x3e1b13}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2d1e0b}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3e1b13{[_0x340fc2(0xb5)];[_0x340fc2(0xc0)]='';[_0x340fc2(0xbc)];[_0x340fc2(0xc9)];constructor(_0x4a3a92){const _0x109618=_0x340fc2;super();const _0x37b346=this[_0x109618(0xb8)];this[_0x109618(0xc7)](_0x109618(0xbf),!0x1),this[_0x109618(0xc7)](_0x109618(0xb6),!0x0),this[_0x109618(0xbc)]=new _0x2d1e0b({'textNodeStyle':_0x109618(0xb9),'delay':0x14}),this[_0x109618(0xb5)]=_0x4a3a92,this[_0x109618(0xc9)]=this[_0x109618(0xc6)](),this[_0x109618(0xae)]({'tag':_0x109618(0xbd),'attributes':{'class':['ck',_0x109618(0xaf),_0x37b346['if'](_0x109618(0xbf),_0x109618(0xb4)),_0x37b346['if'](_0x109618(0xb6),_0x109618(0xb0),_0x3b5511=>!_0x3b5511),_0x109618(0xc1)],'data-cke-ai-id':this[_0x109618(0xb5)]['id']},'children':this[_0x109618(0xc9)]});}[_0x340fc2(0xc3)](){const _0x43f5e7=_0x340fc2;this[_0x43f5e7(0xbc)][_0x43f5e7(0xb2)]({'targetElement':this[_0x43f5e7(0xad)]}),this[_0x43f5e7(0xad)][_0x43f5e7(0xcb)](_0x43f5e7(0xc5))[_0x43f5e7(0xca)](_0x2797f4=>{const _0x5ce5dc=_0x43f5e7;_0x2797f4[_0x5ce5dc(0xbb)](_0x5ce5dc(0xbe));}),this[_0x43f5e7(0xbf)]=!0x0;}async[_0x340fc2(0xa9)](_0x47fbcb,_0x2696bc,_0x38871e){const _0x573d00=_0x340fc2;await this[_0x573d00(0xbc)][_0x573d00(0xb3)]({'document':_0x47fbcb,'targetElement':_0x2696bc,'abortSignal':_0x38871e});}}
23
+ const _0x56b511=_0x2783;(function(_0x2f9683,_0x5ea596){const _0x47eccf=_0x2783,_0x26756f=_0x2f9683();while(!![]){try{const _0x33b6c1=-parseInt(_0x47eccf(0x76))/0x1+parseInt(_0x47eccf(0x82))/0x2*(-parseInt(_0x47eccf(0x7e))/0x3)+parseInt(_0x47eccf(0x86))/0x4*(parseInt(_0x47eccf(0x79))/0x5)+parseInt(_0x47eccf(0x8a))/0x6+-parseInt(_0x47eccf(0x7c))/0x7+parseInt(_0x47eccf(0x8c))/0x8*(-parseInt(_0x47eccf(0x80))/0x9)+parseInt(_0x47eccf(0x93))/0xa;if(_0x33b6c1===_0x5ea596)break;else _0x26756f['push'](_0x26756f['shift']());}catch(_0x5064f7){_0x26756f['push'](_0x26756f['shift']());}}}(_0x1dc7,0x5b8bf));function _0x1dc7(){const _0x134e1c=['ck-ai-chat__feed__text-item','options','211190Ziozck','ck-ai-chat__feed__item','setTemplate','780689DoaJdM','stream','42261WuxBnA','cleanUpAnimations','3582594gzUIIu','forEach','18ogyOlb','removeAttribute','animation:\x20ck-html-streamer-fade-in\x20.5s','set','28RnZqfx','streamIntoElement','content','markAsDone','3275322TgcIpq','ck-ai-chat__feed__item_done','8NfktAE','querySelectorAll','isDone','div','createCollection','data-id','[data-id]','4324390rkbMJh','children','isVisible','htmlStreamer','ck-hidden','bindTemplate','element','262641BbZKIb'];_0x1dc7=function(){return _0x134e1c;};return _0x1dc7();}import{View as _0x160954}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2a8333}from'../../../aicore/utils/htmlstreamer.js';function _0x2783(_0x195ab0,_0x37f073){const _0x1dc7dc=_0x1dc7();return _0x2783=function(_0x2783b0,_0x31433e){_0x2783b0=_0x2783b0-0x70;let _0x33bc83=_0x1dc7dc[_0x2783b0];return _0x33bc83;},_0x2783(_0x195ab0,_0x37f073);}export class AIChatFeedItemView extends _0x160954{[_0x56b511(0x78)];[_0x56b511(0x88)]='';[_0x56b511(0x72)];[_0x56b511(0x70)];constructor(_0x1a88fc){const _0x8d580e=_0x56b511;super();const _0x4b401e=this[_0x8d580e(0x74)];this[_0x8d580e(0x85)](_0x8d580e(0x8e),!0x1),this[_0x8d580e(0x85)](_0x8d580e(0x71),!0x0),this[_0x8d580e(0x72)]=new _0x2a8333({'textNodeStyle':_0x8d580e(0x84),'delay':0x14}),this[_0x8d580e(0x78)]=_0x1a88fc,this[_0x8d580e(0x70)]=this[_0x8d580e(0x90)](),this[_0x8d580e(0x7b)]({'tag':_0x8d580e(0x8f),'attributes':{'class':['ck',_0x8d580e(0x7a),_0x4b401e['if'](_0x8d580e(0x8e),_0x8d580e(0x8b)),_0x4b401e['if'](_0x8d580e(0x71),_0x8d580e(0x73),_0xe32e72=>!_0xe32e72),_0x8d580e(0x77)],'data-cke-ai-id':this[_0x8d580e(0x78)]['id']},'children':this[_0x8d580e(0x70)]});}[_0x56b511(0x89)](){const _0x2fe05c=_0x56b511;this[_0x2fe05c(0x72)][_0x2fe05c(0x7f)]({'targetElement':this[_0x2fe05c(0x75)]}),this[_0x2fe05c(0x75)][_0x2fe05c(0x8d)](_0x2fe05c(0x92))[_0x2fe05c(0x81)](_0x562da0=>{const _0x36eea2=_0x2fe05c;_0x562da0[_0x36eea2(0x83)](_0x36eea2(0x91));}),this[_0x2fe05c(0x8e)]=!0x0;}async[_0x56b511(0x87)](_0x4d59bf,_0x3d7d05,_0x519ce2){const _0x21a5cd=_0x56b511;await this[_0x21a5cd(0x72)][_0x21a5cd(0x7d)]({'document':_0x4d59bf,'targetElement':_0x3d7d05,'abortSignal':_0x519ce2});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20739f=_0x3f35;(function(_0x5cbdc6,_0x3a7736){const _0x27b8be=_0x3f35,_0x25e47c=_0x5cbdc6();while(!![]){try{const _0xb52f85=parseInt(_0x27b8be(0x9e))/0x1+parseInt(_0x27b8be(0xa1))/0x2*(-parseInt(_0x27b8be(0xa3))/0x3)+parseInt(_0x27b8be(0x99))/0x4+-parseInt(_0x27b8be(0x9a))/0x5*(-parseInt(_0x27b8be(0xa7))/0x6)+-parseInt(_0x27b8be(0xad))/0x7*(-parseInt(_0x27b8be(0xac))/0x8)+-parseInt(_0x27b8be(0x97))/0x9+-parseInt(_0x27b8be(0x9f))/0xa;if(_0xb52f85===_0x3a7736)break;else _0x25e47c['push'](_0x25e47c['shift']());}catch(_0x308c7f){_0x25e47c['push'](_0x25e47c['shift']());}}}(_0x2378,0x359df));function _0x2378(){const _0x132c86=['addMany','streamIntoElement','initialContent','locale','ck-ai-chat__feed__ai-reply-container','children','1452960PaOnJY','isVisible','1627476DzWBML','1194215lcATJN','updateSources','options','static','378084HhuWnq','2827390jrxwRK','element','4vQpAiY','markAsDone','598797KvKPti','ck-ai-chat__feed__ai-reply','innerHTML','updateContent','6ANoyCM','replyContainer','render','div','extendTemplate','313568FRjSxa','7LrCWRR','add','ck-reset_all-excluded','setTemplate','streaming','map'];_0x2378=function(){return _0x132c86;};return _0x2378();}import{AIChatFeedItemView as _0x524b68}from'./aichatfeeditemview.js';import{parse as _0x5a3a91,render as _0x1ded87}from'../../../aicore/utils/htmlparser.js';function _0x3f35(_0x190c69,_0xc6aff4){const _0x23784c=_0x2378();return _0x3f35=function(_0x3f3542,_0x3c4dc8){_0x3f3542=_0x3f3542-0x8f;let _0x1c450a=_0x23784c[_0x3f3542];return _0x1c450a;},_0x3f35(_0x190c69,_0xc6aff4);}import{View as _0x3e1cd2}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2e570c,AIWebSourceView as _0x4d13e4}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x524b68{[_0x20739f(0xa8)];constructor(_0x25760e,_0x1c890f){const _0x586466=_0x20739f;super(_0x1c890f),this[_0x586466(0x94)]=_0x25760e,this[_0x586466(0xab)]({'attributes':{'class':[_0x586466(0xa4)]}}),this[_0x586466(0xa8)]=new _0x3e1cd2(),this[_0x586466(0xa8)][_0x586466(0xb0)]({'tag':_0x586466(0xaa),'attributes':{'class':['ck',_0x586466(0xaf),_0x586466(0x95)]}}),this[_0x586466(0x96)][_0x586466(0xae)](this[_0x586466(0xa8)]);}async[_0x20739f(0xa9)](){const _0x4a306e=_0x20739f;super[_0x4a306e(0xa9)](),this[_0x4a306e(0x9c)][_0x4a306e(0x93)]&&(await this[_0x4a306e(0xa6)]({'parsedContent':_0x5a3a91(this[_0x4a306e(0x9c)][_0x4a306e(0x93)]),'renderingStrategy':_0x4a306e(0x9d)}),this[_0x4a306e(0xa2)]());}async[_0x20739f(0xa6)]({parsedContent:_0x179e5c,renderingStrategy:_0x55e896,abortSignal:_0x5dfa37}){const _0x36b95a=_0x20739f;_0x36b95a(0x8f)===_0x55e896?await this[_0x36b95a(0x92)](_0x179e5c,this[_0x36b95a(0xa8)][_0x36b95a(0xa0)],_0x5dfa37):this[_0x36b95a(0xa8)][_0x36b95a(0xa0)][_0x36b95a(0xa5)]=_0x1ded87(_0x179e5c);}[_0x20739f(0x9b)](_0x4b8ea9){const _0x526d7d=_0x20739f,_0x3fb86a=new _0x2e570c(this[_0x526d7d(0x94)]);_0x3fb86a[_0x526d7d(0x96)][_0x526d7d(0x91)](_0x4b8ea9[_0x526d7d(0x90)](_0x365cc8=>new _0x4d13e4(this[_0x526d7d(0x94)],_0x365cc8))),_0x3fb86a[_0x526d7d(0x98)]=!0x0,this[_0x526d7d(0x96)][_0x526d7d(0xae)](_0x3fb86a);}}
23
+ const _0x579421=_0x219e;(function(_0x5866f6,_0x252df6){const _0x4ffc35=_0x219e,_0x1ce2b1=_0x5866f6();while(!![]){try{const _0x1b1851=parseInt(_0x4ffc35(0x1de))/0x1*(parseInt(_0x4ffc35(0x1df))/0x2)+-parseInt(_0x4ffc35(0x1ca))/0x3*(-parseInt(_0x4ffc35(0x1cf))/0x4)+-parseInt(_0x4ffc35(0x1e9))/0x5+parseInt(_0x4ffc35(0x1d5))/0x6+-parseInt(_0x4ffc35(0x1e5))/0x7*(-parseInt(_0x4ffc35(0x1da))/0x8)+parseInt(_0x4ffc35(0x1d4))/0x9+-parseInt(_0x4ffc35(0x1e1))/0xa*(parseInt(_0x4ffc35(0x1cd))/0xb);if(_0x1b1851===_0x252df6)break;else _0x1ce2b1['push'](_0x1ce2b1['shift']());}catch(_0x24deb8){_0x1ce2b1['push'](_0x1ce2b1['shift']());}}}(_0x47e0,0x8f407));import{AIChatFeedItemView as _0x45a7b5}from'./aichatfeeditemview.js';function _0x47e0(){const _0xa524df=['replyContainer','7284qbOckF','streaming','children','updateContent','addMany','6416136bXKqPu','1540512LMSpAQ','div','setTemplate','isVisible','streamIntoElement','40joUDIJ','ck-reset_all-excluded','render','map','618823MUblyH','2aMJiQO','add','1822610puJxfk','initialContent','extendTemplate','static','1545152sYtXuP','options','updateSources','ck-ai-chat__feed__ai-reply-container','5478000PYqWQy','innerHTML','markAsDone','ck-ai-chat__feed__ai-reply','138fhuinb','locale','element','66Rrqban'];_0x47e0=function(){return _0xa524df;};return _0x47e0();}import{parse as _0x1d626e,render as _0xdd6c0e}from'../../../aicore/utils/htmlparser.js';function _0x219e(_0x58486e,_0x36747f){const _0x47e0e8=_0x47e0();return _0x219e=function(_0x219e22,_0x247dcc){_0x219e22=_0x219e22-0x1ca;let _0x5ade89=_0x47e0e8[_0x219e22];return _0x5ade89;},_0x219e(_0x58486e,_0x36747f);}import{View as _0x264fd0}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2ef499,AIWebSourceView as _0x43d049}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x45a7b5{[_0x579421(0x1ce)];constructor(_0x23798b,_0x2f15cc){const _0x500849=_0x579421;super(_0x2f15cc),this[_0x500849(0x1cb)]=_0x23798b,this[_0x500849(0x1e3)]({'attributes':{'class':[_0x500849(0x1ec)]}}),this[_0x500849(0x1ce)]=new _0x264fd0(),this[_0x500849(0x1ce)][_0x500849(0x1d7)]({'tag':_0x500849(0x1d6),'attributes':{'class':['ck',_0x500849(0x1db),_0x500849(0x1e8)]}}),this[_0x500849(0x1d1)][_0x500849(0x1e0)](this[_0x500849(0x1ce)]);}async[_0x579421(0x1dc)](){const _0x437389=_0x579421;super[_0x437389(0x1dc)](),this[_0x437389(0x1e6)][_0x437389(0x1e2)]&&(await this[_0x437389(0x1d2)]({'parsedContent':_0x1d626e(this[_0x437389(0x1e6)][_0x437389(0x1e2)]),'renderingStrategy':_0x437389(0x1e4)}),this[_0x437389(0x1eb)]());}async[_0x579421(0x1d2)]({parsedContent:_0x35205d,renderingStrategy:_0x250b6a,abortSignal:_0xc30a2c}){const _0x3d5a84=_0x579421;_0x3d5a84(0x1d0)===_0x250b6a?await this[_0x3d5a84(0x1d9)](_0x35205d,this[_0x3d5a84(0x1ce)][_0x3d5a84(0x1cc)],_0xc30a2c):this[_0x3d5a84(0x1ce)][_0x3d5a84(0x1cc)][_0x3d5a84(0x1ea)]=_0xdd6c0e(_0x35205d);}[_0x579421(0x1e7)](_0x30166a){const _0x3a3b65=_0x579421,_0x1a73be=new _0x2ef499(this[_0x3a3b65(0x1cb)]);_0x1a73be[_0x3a3b65(0x1d1)][_0x3a3b65(0x1d3)](_0x30166a[_0x3a3b65(0x1dd)](_0x433d96=>new _0x43d049(this[_0x3a3b65(0x1cb)],_0x433d96))),_0x1a73be[_0x3a3b65(0x1d8)]=!0x0,this[_0x3a3b65(0x1d1)][_0x3a3b65(0x1e0)](_0x1a73be);}}