@ckeditor/ckeditor5-ai 47.6.1-alpha.0 → 47.6.1

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 (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1687ba=_0x4d03;(function(_0x34e620,_0x1911a7){const _0x4d2175=_0x4d03,_0x581203=_0x34e620();while(!![]){try{const _0x37f69a=-parseInt(_0x4d2175(0x81))/0x1+-parseInt(_0x4d2175(0x74))/0x2*(-parseInt(_0x4d2175(0x76))/0x3)+parseInt(_0x4d2175(0x86))/0x4*(parseInt(_0x4d2175(0x7b))/0x5)+parseInt(_0x4d2175(0x8a))/0x6*(-parseInt(_0x4d2175(0x84))/0x7)+-parseInt(_0x4d2175(0x77))/0x8*(-parseInt(_0x4d2175(0x73))/0x9)+parseInt(_0x4d2175(0x89))/0xa+parseInt(_0x4d2175(0x7e))/0xb*(parseInt(_0x4d2175(0x8b))/0xc);if(_0x37f69a===_0x1911a7)break;else _0x581203['push'](_0x581203['shift']());}catch(_0x3c43cd){_0x581203['push'](_0x581203['shift']());}}}(_0x2c12,0x53323));import{ButtonView as _0xacc713,FormHeaderView as _0x4d6792}from'ckeditor5/src/ui.js';import{IconPlus as _0x59b6de,IconAIChat as _0x4dd4a0}from'ckeditor5/src/icons.js';function _0x4d03(_0x3c42e5,_0x4bad5f){const _0x2c1224=_0x2c12();return _0x4d03=function(_0x4d03ae,_0x497fd6){_0x4d03ae=_0x4d03ae-0x71;let _0x54e65f=_0x2c1224[_0x4d03ae];return _0x54e65f;},_0x4d03(_0x3c42e5,_0x4bad5f);}import{getTranslation as _0x37a149}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x116050}from'../../aicore/utils/createresizebutton.js';import'../../../theme/common/aiheader.css';function _0x2c12(){const _0x31698d=['resizeButton','27205uRYcli','add','fire','11mejAOs','execute','AI_CHAT_LABEL_NEW_CHAT','578011yuAopw','set','locale','1142435LSpEeu','isMaximized','76LiXIIY','ck-ai-chat__start-conversation','ck-ai-header\x20ck-ai-header_chat','1501380sUzFKl','6VmuCSB','7406628Rrzvvt','_createStartConversationButton','children','9oeJXTq','8WCRTal','startConversation','87960ZnqzVr','751768ZUEmtf','conversationStartButton','AI_CHAT_HEADING'];_0x2c12=function(){return _0x31698d;};return _0x2c12();}export class AIChatHeaderView extends _0x4d6792{[_0x1687ba(0x78)];[_0x1687ba(0x7a)];constructor(_0x1ff78e,_0x3a77aa){const _0x32cc3a=_0x1687ba;super(_0x1ff78e,{'label':_0x37a149(_0x1ff78e,_0x32cc3a(0x79)),'class':_0x32cc3a(0x88),'icon':_0x4dd4a0}),this[_0x32cc3a(0x82)](_0x32cc3a(0x85),!0x1),this[_0x32cc3a(0x78)]=this[_0x32cc3a(0x71)](_0x1ff78e),this[_0x32cc3a(0x72)][_0x32cc3a(0x7c)](this[_0x32cc3a(0x78)]),_0x3a77aa&&(this[_0x32cc3a(0x7a)]=_0x116050(_0x1ff78e,this),this[_0x32cc3a(0x72)][_0x32cc3a(0x7c)](this[_0x32cc3a(0x7a)]));}[_0x1687ba(0x71)](_0x117302){const _0x4d4f90=_0x1687ba,_0x420a17=new _0xacc713(_0x117302);return _0x420a17[_0x4d4f90(0x82)]({'label':_0x37a149(this[_0x4d4f90(0x83)],_0x4d4f90(0x80)),'withText':!0x0,'icon':_0x59b6de,'class':_0x4d4f90(0x87)}),_0x420a17['on'](_0x4d4f90(0x7f),()=>{const _0xf892f8=_0x4d4f90;this[_0xf892f8(0x7d)](_0xf892f8(0x75));}),_0x420a17;}}
23
+ function _0xb602(_0x4ffead,_0x14f5a1){const _0x3337a4=_0x3337();return _0xb602=function(_0xb602b5,_0x6c9157){_0xb602b5=_0xb602b5-0x153;let _0x5e48c3=_0x3337a4[_0xb602b5];return _0x5e48c3;},_0xb602(_0x4ffead,_0x14f5a1);}const _0x3d0e04=_0xb602;(function(_0x3e5198,_0x1ec8ff){const _0x2e232e=_0xb602,_0x407a50=_0x3e5198();while(!![]){try{const _0xda1498=parseInt(_0x2e232e(0x15a))/0x1+-parseInt(_0x2e232e(0x164))/0x2*(parseInt(_0x2e232e(0x15d))/0x3)+parseInt(_0x2e232e(0x155))/0x4+-parseInt(_0x2e232e(0x168))/0x5+-parseInt(_0x2e232e(0x166))/0x6+parseInt(_0x2e232e(0x15c))/0x7+parseInt(_0x2e232e(0x159))/0x8;if(_0xda1498===_0x1ec8ff)break;else _0x407a50['push'](_0x407a50['shift']());}catch(_0x361b40){_0x407a50['push'](_0x407a50['shift']());}}}(_0x3337,0xc5b48));import{ButtonView as _0x47cbe2,FormHeaderView as _0x57a120}from'ckeditor5/src/ui.js';function _0x3337(){const _0x23cb2c=['conversationStartButton','children','3859360GgxZoS','138947NiRorU','execute','7503741afgssX','177hiNbld','_createStartConversationButton','resizeButton','ck-ai-header\x20ck-ai-header_chat','isMaximized','ck-ai-chat__start-conversation','locale','29198zNghHv','AI_CHAT_HEADING','698754jiiNST','startConversation','6743935dBBMDb','AI_CHAT_LABEL_NEW_CHAT','fire','set','5772228WUGqkP','add'];_0x3337=function(){return _0x23cb2c;};return _0x3337();}import{IconPlus as _0x4ae216,IconAIChat as _0x3ca299}from'ckeditor5/src/icons.js';import{getTranslation as _0x203f2e}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x2b666e}from'../../aicore/utils/createresizebutton.js';import'../../../theme/common/aiheader.css';export class AIChatHeaderView extends _0x57a120{[_0x3d0e04(0x157)];[_0x3d0e04(0x15f)];constructor(_0x2ddd5d,_0x1d7512){const _0x42fe16=_0x3d0e04;super(_0x2ddd5d,{'label':_0x203f2e(_0x2ddd5d,_0x42fe16(0x165)),'class':_0x42fe16(0x160),'icon':_0x3ca299}),this[_0x42fe16(0x154)](_0x42fe16(0x161),!0x1),this[_0x42fe16(0x157)]=this[_0x42fe16(0x15e)](_0x2ddd5d),this[_0x42fe16(0x158)][_0x42fe16(0x156)](this[_0x42fe16(0x157)]),_0x1d7512&&(this[_0x42fe16(0x15f)]=_0x2b666e(_0x2ddd5d,this),this[_0x42fe16(0x158)][_0x42fe16(0x156)](this[_0x42fe16(0x15f)]));}[_0x3d0e04(0x15e)](_0x30976d){const _0x2efc89=_0x3d0e04,_0x2e0652=new _0x47cbe2(_0x30976d);return _0x2e0652[_0x2efc89(0x154)]({'label':_0x203f2e(this[_0x2efc89(0x163)],_0x2efc89(0x169)),'withText':!0x0,'icon':_0x4ae216,'class':_0x2efc89(0x162)}),_0x2e0652['on'](_0x2efc89(0x15b),()=>{const _0x29a520=_0x2efc89;this[_0x29a520(0x153)](_0x29a520(0x167));}),_0x2e0652;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x61f11d=_0x18a0;(function(_0xeb1a72,_0x52a511){var _0x5f57b9=_0x18a0,_0x28ecad=_0xeb1a72();while(!![]){try{var _0x5d5194=parseInt(_0x5f57b9(0x1a8))/0x1+-parseInt(_0x5f57b9(0x199))/0x2*(-parseInt(_0x5f57b9(0x1a4))/0x3)+parseInt(_0x5f57b9(0x18e))/0x4*(-parseInt(_0x5f57b9(0x1a6))/0x5)+-parseInt(_0x5f57b9(0x193))/0x6*(parseInt(_0x5f57b9(0x1aa))/0x7)+-parseInt(_0x5f57b9(0x1a5))/0x8+-parseInt(_0x5f57b9(0x196))/0x9+parseInt(_0x5f57b9(0x19a))/0xa;if(_0x5d5194===_0x52a511)break;else _0x28ecad['push'](_0x28ecad['shift']());}catch(_0x57b02a){_0x28ecad['push'](_0x28ecad['shift']());}}}(_0x29a2,0xccff5));import{View as _0x29a14b,BodyCollection as _0x566fbe}from'ckeditor5/src/ui.js';function _0x18a0(_0x499f88,_0x48a595){var _0x29a280=_0x29a2();return _0x18a0=function(_0x18a00,_0x1e21b6){_0x18a00=_0x18a00-0x18e;var _0x35d09d=_0x29a280[_0x18a00];return _0x35d09d;},_0x18a0(_0x499f88,_0x48a595);}import{AI_CHAT_UI_EVENT_NAMES as _0x939408}from'../utils/eventnames.js';import{AIChatFeedView as _0x24a590}from'./aichatfeedview.js';import{AIChatControlsView as _0xc1d96d}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x5caa61}from'./aichatheaderview.js';import{AIDisclaimerView as _0x3a299d}from'../../aicore/ui/aidisclaimerview.js';import'../../../theme/common/ainotification.css';import'../../../theme/common/aibutton.css';function _0x29a2(){var _0x47641f=['ck-ai-chat','2FbTzFU','33217580TTJwzH','chatDisclaimer','chatFeed','_bodyCollection','showResizeButton','ck-rounded-corners','div','contextResourcesSearchInputVisibleFrom','populateSourceResourceBalloon','chatHeader','3345927tJVhQL','13177016EAwOTk','1150340SMPkxs','delegate','105563HUXQtp','attachToDom','4281599KVcJnB','4VXPvMv','chatControls','closeSourceResourceBalloon','setTemplate','destroy','12ybYhNk','ck-reset_all','detachFromDom','5422068MWkZCB','uiLanguageDirection'];_0x29a2=function(){return _0x47641f;};return _0x29a2();}import'../../../theme/common/aitrackchanges.css';export class AIChatView extends _0x29a14b{[_0x61f11d(0x1a3)];[_0x61f11d(0x19c)];[_0x61f11d(0x18f)];[_0x61f11d(0x19b)];[_0x61f11d(0x19d)];constructor(_0x8e8252,_0x4800af){var _0x36d432=_0x61f11d;super(_0x8e8252),this[_0x36d432(0x19d)]=new _0x566fbe(_0x8e8252),this[_0x36d432(0x19d)][_0x36d432(0x1a9)](),this[_0x36d432(0x1a3)]=new _0x5caa61(_0x8e8252,_0x4800af[_0x36d432(0x19e)]),this[_0x36d432(0x1a3)][_0x36d432(0x1a7)](..._0x939408)['to'](this),this[_0x36d432(0x19c)]=new _0x24a590(_0x8e8252,this[_0x36d432(0x19d)]),this[_0x36d432(0x19c)][_0x36d432(0x1a7)](..._0x939408)['to'](this),this[_0x36d432(0x18f)]=new _0xc1d96d(_0x8e8252,{'bodyCollection':this[_0x36d432(0x19d)],'contextResourcesSearchInputVisibleFrom':_0x4800af[_0x36d432(0x1a1)]}),this[_0x36d432(0x18f)][_0x36d432(0x1a7)](..._0x939408)['to'](this),this[_0x36d432(0x19b)]=new _0x3a299d(_0x8e8252),this[_0x36d432(0x191)]({'tag':_0x36d432(0x1a0),'attributes':{'class':['ck',_0x36d432(0x194),_0x36d432(0x198),_0x36d432(0x19f)],'dir':_0x8e8252[_0x36d432(0x197)]},'children':[this[_0x36d432(0x1a3)],this[_0x36d432(0x19c)],this[_0x36d432(0x18f)],this[_0x36d432(0x19b)]]});}[_0x61f11d(0x1a2)](_0x8811d4,_0x43a810,_0x598bb6,_0x15beef){var _0x167442=_0x61f11d;this[_0x167442(0x18f)][_0x167442(0x1a2)](_0x8811d4,_0x43a810,_0x598bb6,_0x15beef);}[_0x61f11d(0x190)](_0x24e80d){var _0x10dd26=_0x61f11d;this[_0x10dd26(0x18f)][_0x10dd26(0x190)](_0x24e80d);}[_0x61f11d(0x192)](){var _0x2b2296=_0x61f11d;this[_0x2b2296(0x19d)][_0x2b2296(0x195)](),super[_0x2b2296(0x192)]();}}
23
+ var _0x512bda=_0x55d8;(function(_0x6ea0c8,_0x88338){var _0x566399=_0x55d8,_0x387314=_0x6ea0c8();while(!![]){try{var _0xfb1494=-parseInt(_0x566399(0xbf))/0x1+parseInt(_0x566399(0xaf))/0x2*(-parseInt(_0x566399(0xad))/0x3)+parseInt(_0x566399(0xaa))/0x4*(-parseInt(_0x566399(0xc5))/0x5)+parseInt(_0x566399(0xbd))/0x6+parseInt(_0x566399(0xb7))/0x7+-parseInt(_0x566399(0xb5))/0x8*(parseInt(_0x566399(0xac))/0x9)+parseInt(_0x566399(0xab))/0xa*(parseInt(_0x566399(0xb1))/0xb);if(_0xfb1494===_0x88338)break;else _0x387314['push'](_0x387314['shift']());}catch(_0x82ba1){_0x387314['push'](_0x387314['shift']());}}}(_0x41aa,0xb79f5));import{View as _0x6f65d9,BodyCollection as _0x2b18c8}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x4ae915}from'../utils/eventnames.js';import{AIChatFeedView as _0x19f001}from'./aichatfeedview.js';function _0x41aa(){var _0x5c9e80=['ck-rounded-corners','1037787aLxBqJ','populateSourceResourceBalloon','closeSourceResourceBalloon','detachFromDom','chatControls','chatHeader','17925RLlvML','chatFeed','attachToDom','224HqQJLA','5300TaGQPu','72fpGlve','6fwxhXl','ck-ai-chat','425828ciMPcw','setTemplate','28391dIhmCt','ck-reset_all','chatDisclaimer','div','1164200BWZHvu','contextResourcesSearchInputVisibleFrom','6088824gXNnZY','uiLanguageDirection','_bodyCollection','delegate','destroy','showResizeButton','8057580dczUAm'];_0x41aa=function(){return _0x5c9e80;};return _0x41aa();}import{AIChatControlsView as _0x4de18b}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x2ffd4d}from'./aichatheaderview.js';function _0x55d8(_0x3d480b,_0x4b6892){var _0x41aa78=_0x41aa();return _0x55d8=function(_0x55d8f7,_0x1c4278){_0x55d8f7=_0x55d8f7-0xa8;var _0x2d0a3e=_0x41aa78[_0x55d8f7];return _0x2d0a3e;},_0x55d8(_0x3d480b,_0x4b6892);}import{AIDisclaimerView as _0x444bc6}from'../../aicore/ui/aidisclaimerview.js';import'../../../theme/common/ainotification.css';import'../../../theme/common/aibutton.css';import'../../../theme/common/aitrackchanges.css';export class AIChatView extends _0x6f65d9{[_0x512bda(0xc4)];[_0x512bda(0xa8)];[_0x512bda(0xc3)];[_0x512bda(0xb3)];[_0x512bda(0xb9)];constructor(_0x5de140,_0x3dc56c){var _0x3efbf2=_0x512bda;super(_0x5de140),this[_0x3efbf2(0xb9)]=new _0x2b18c8(_0x5de140),this[_0x3efbf2(0xb9)][_0x3efbf2(0xa9)](),this[_0x3efbf2(0xc4)]=new _0x2ffd4d(_0x5de140,_0x3dc56c[_0x3efbf2(0xbc)]),this[_0x3efbf2(0xc4)][_0x3efbf2(0xba)](..._0x4ae915)['to'](this),this[_0x3efbf2(0xa8)]=new _0x19f001(_0x5de140,this[_0x3efbf2(0xb9)]),this[_0x3efbf2(0xa8)][_0x3efbf2(0xba)](..._0x4ae915)['to'](this),this[_0x3efbf2(0xc3)]=new _0x4de18b(_0x5de140,{'bodyCollection':this[_0x3efbf2(0xb9)],'contextResourcesSearchInputVisibleFrom':_0x3dc56c[_0x3efbf2(0xb6)]}),this[_0x3efbf2(0xc3)][_0x3efbf2(0xba)](..._0x4ae915)['to'](this),this[_0x3efbf2(0xb3)]=new _0x444bc6(_0x5de140),this[_0x3efbf2(0xb0)]({'tag':_0x3efbf2(0xb4),'attributes':{'class':['ck',_0x3efbf2(0xb2),_0x3efbf2(0xae),_0x3efbf2(0xbe)],'dir':_0x5de140[_0x3efbf2(0xb8)]},'children':[this[_0x3efbf2(0xc4)],this[_0x3efbf2(0xa8)],this[_0x3efbf2(0xc3)],this[_0x3efbf2(0xb3)]]});}[_0x512bda(0xc0)](_0x17aff5,_0x296506,_0x5c5e0a,_0x4a5535){var _0x91f35e=_0x512bda;this[_0x91f35e(0xc3)][_0x91f35e(0xc0)](_0x17aff5,_0x296506,_0x5c5e0a,_0x4a5535);}[_0x512bda(0xc1)](_0x49bd0b){var _0x4035b0=_0x512bda;this[_0x4035b0(0xc3)][_0x4035b0(0xc1)](_0x49bd0b);}[_0x512bda(0xbb)](){var _0x38e840=_0x512bda;this[_0x38e840(0xb9)][_0x38e840(0xc2)](),super[_0x38e840(0xbb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b5a(_0x56c7ed,_0x100390){const _0x1767b0=_0x1767();return _0x5b5a=function(_0x5b5a90,_0x531657){_0x5b5a90=_0x5b5a90-0x1c4;let _0x5c3a42=_0x1767b0[_0x5b5a90];return _0x5c3a42;},_0x5b5a(_0x56c7ed,_0x100390);}const _0x4c6d24=_0x5b5a;function _0x1767(){const _0x229465=['_restoreAncestorVisibility','set','clientWidth','_createContainerElements','1439493heDEMm','observe','0px','_checkAndHandleOverflow','_createShowMoreBalloonPanelView','_repinBalloonPanel','add','content','_isContainerVisible','push','disableAnimationOnEnter','opacity','cloneNode','setContainerElement','2203805GoehWW','some','tagName','bottom','clear','display','extendTemplate','showMoreButton','disconnect','-9999px','_applyCalculationStyles','hide','div','_distributeChips','button','querySelector','_updateBalloonContent','filter','isConnected','hideBalloonPanel','label','undefined','destroy','setTemplate','block\x20!important','pop','body','_createCalculationContainer','_updateOverflowUI','.ck-ai-chat','getComputedStyle','hidden','_locale','_createMockButton','children','showMoreButtonView','4719285ARpIni','_calculateContainerWidth','_containerElement','style','show','_testButtonFit','300px','innerWidth','classList','_renderChipsAndCountRows','left','length','pin','_ancestorsToRestore','controlsButton','abs','from','50px','_showMoreButtonView','_intersectionObserver','_showMoreBalloonPanelView','1328529KcBhQA','ck-calculation-container','10068882UbxbVe','overflowContainer','render','forEach','isVisible','none','_visibleChips','_createShowMoreButtonView','visible','_applyOverflowResults','cssClasses','documentElement','toLowerCase','isOn','auto','remove','reorganizeChips','_updateShowMoreButtonVisibility','visible\x20!important','block','getBoundingClientRect','border-box','_overflowChips','_bodyCollection','boxSizing','createElement','parentElement','_config','_calculateOverflowInContainer','innerHTML','showBalloonPanel','visibility','height','73954490DxusHn','_targetContainer','includes','_makeAncestorsVisible','zIndex','showMoreBalloon','overflowChips','_handleShowMoreButtonClick','12SAaHll','right','innerHeight','appendChild','rowDetectionTolerance','_createShowMoreButton','textContent','_findTargetContainer','calculationContainer','slice','isIntersecting','width','_pendingCalculation','_parentView','_setupVisibilityObserver','offsetWidth','maxVisibleRows','pointerEvents','showMoreLabelPrefix','37032pqedKp','absolute','className','element','position','execute','clientHeight','top','994tNSSzi','+\x201','4sjqzpz'];_0x1767=function(){return _0x229465;};return _0x1767();}(function(_0x3d1caf,_0x3f2ee0){const _0x35d10c=_0x5b5a,_0x3ad3b4=_0x3d1caf();while(!![]){try{const _0x1619d7=-parseInt(_0x35d10c(0x208))/0x1+-parseInt(_0x35d10c(0x203))/0x2*(parseInt(_0x35d10c(0x24f))/0x3)+parseInt(_0x35d10c(0x1e6))/0x4*(-parseInt(_0x35d10c(0x216))/0x5)+-parseInt(_0x35d10c(0x251))/0x6+parseInt(_0x35d10c(0x201))/0x7*(-parseInt(_0x35d10c(0x1f9))/0x8)+-parseInt(_0x35d10c(0x23a))/0x9+parseInt(_0x35d10c(0x1de))/0xa;if(_0x1619d7===_0x3f2ee0)break;else _0x3ad3b4['push'](_0x3ad3b4['shift']());}catch(_0x186c5b){_0x3ad3b4['push'](_0x3ad3b4['shift']());}}}(_0x1767,0xd8d5d));import{View as _0xe2b0c6,BalloonPanelView as _0x2ab322,ButtonView as _0x495367,clickOutsideHandler as _0x38f435}from'ckeditor5/src/ui.js';import{Collection as _0x1c5b08}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x4c6d24(0x240);export class AIChatChipsOverflowManager{[_0x4c6d24(0x236)];[_0x4c6d24(0x1d8)];[_0x4c6d24(0x257)];[_0x4c6d24(0x1d3)];[_0x4c6d24(0x24c)]=null;[_0x4c6d24(0x24e)]=null;[_0x4c6d24(0x23c)]=null;[_0x4c6d24(0x1d4)];[_0x4c6d24(0x1f3)]=null;[_0x4c6d24(0x24d)]=null;[_0x4c6d24(0x1f2)]=!0x1;constructor(_0x5d7a64,_0x3c53b8,_0x5f4e46,_0x4d22bf,_0x5ae90c){const _0x245559=_0x4c6d24;this[_0x245559(0x236)]=_0x5d7a64,this[_0x245559(0x257)]=_0x3c53b8,this[_0x245559(0x1d8)]={...hn,..._0x5f4e46,'cssClasses':{'controlsButton':'','calculationContainer':_0x245559(0x250),..._0x5f4e46[_0x245559(0x1c7)]}},this[_0x245559(0x1d3)]=new _0x1c5b08(),this[_0x245559(0x1d4)]=_0x4d22bf,this[_0x245559(0x1f3)]=_0x5ae90c||null;}[_0x4c6d24(0x215)](_0x1981ec){const _0x4c946d=_0x4c6d24;this[_0x4c946d(0x24d)]&&(this[_0x4c946d(0x24d)][_0x4c946d(0x21e)](),this[_0x4c946d(0x24d)]=null),this[_0x4c946d(0x23c)]=_0x1981ec,this[_0x4c946d(0x1f4)]();}get[_0x4c6d24(0x239)](){const _0x5bfdb2=_0x4c6d24;return this[_0x5bfdb2(0x24c)];}get[_0x4c6d24(0x1e4)](){const _0x3f6721=_0x4c6d24;return this[_0x3f6721(0x1d3)];}[_0x4c6d24(0x1cd)](){requestAnimationFrame(()=>{const _0x311df0=_0x5b5a;this[_0x311df0(0x20b)]();});}[_0x4c6d24(0x1db)](){const _0x28d930=_0x4c6d24;this[_0x28d930(0x24c)]&&this[_0x28d930(0x24e)]&&(this[_0x28d930(0x226)](),this[_0x28d930(0x24c)][_0x28d930(0x1ca)]=!0x0,this[_0x28d930(0x24e)][_0x28d930(0x23e)](),this[_0x28d930(0x24e)][_0x28d930(0x246)]({'target':this[_0x28d930(0x24c)][_0x28d930(0x1fc)],'limiter':document[_0x28d930(0x225)](_0x28d930(0x233))}));}[_0x4c6d24(0x229)](){const _0x382c9f=_0x4c6d24;this[_0x382c9f(0x24c)]&&this[_0x382c9f(0x24e)]&&(this[_0x382c9f(0x24c)][_0x382c9f(0x1ca)]=!0x1,this[_0x382c9f(0x24e)][_0x382c9f(0x221)]());}[_0x4c6d24(0x21a)](){const _0x355284=_0x4c6d24;this[_0x355284(0x1d3)][_0x355284(0x21a)](),this[_0x355284(0x229)](),this[_0x355284(0x1ce)](),this[_0x355284(0x24c)]&&(this[_0x355284(0x24c)][_0x355284(0x22a)]=''),this[_0x355284(0x24e)]&&this[_0x355284(0x24e)][_0x355284(0x20f)][_0x355284(0x21a)]();}[_0x4c6d24(0x22c)](){const _0x243f06=_0x4c6d24;this[_0x243f06(0x24d)]&&(this[_0x243f06(0x24d)][_0x243f06(0x21e)](),this[_0x243f06(0x24d)]=null),this[_0x243f06(0x24c)]&&(this[_0x243f06(0x24c)][_0x243f06(0x22c)](),this[_0x243f06(0x24c)]=null),this[_0x243f06(0x24e)]&&(this[_0x243f06(0x24e)][_0x243f06(0x22c)](),this[_0x243f06(0x24e)]=null);}[_0x4c6d24(0x20b)](){const _0x4dd9b8=_0x4c6d24;if(!this[_0x4dd9b8(0x23c)])return;if(!this[_0x4dd9b8(0x210)]())return void(this[_0x4dd9b8(0x1f2)]=!0x0);this[_0x4dd9b8(0x1f2)]=!0x1;const _0x3958b4=[...this[_0x4dd9b8(0x257)],...this[_0x4dd9b8(0x1d3)]],_0x65fdb4=this[_0x4dd9b8(0x231)](),_0xae3496=this[_0x4dd9b8(0x1d9)](_0x65fdb4,_0x3958b4),_0xe3f5ab=_0x65fdb4[_0x4dd9b8(0x247)];_0xe3f5ab&&this[_0x4dd9b8(0x204)](_0xe3f5ab),_0x65fdb4[_0x4dd9b8(0x1cc)](),this[_0x4dd9b8(0x1c6)](_0x3958b4,_0xae3496);}[_0x4c6d24(0x1eb)](){const _0x9d571c=_0x4c6d24;this[_0x9d571c(0x24c)]=this[_0x9d571c(0x1c4)](),this[_0x9d571c(0x24e)]=this[_0x9d571c(0x20c)](),this[_0x9d571c(0x24c)][_0x9d571c(0x253)](),this[_0x9d571c(0x23c)][_0x9d571c(0x1e9)](this[_0x9d571c(0x24c)][_0x9d571c(0x1fc)]),this[_0x9d571c(0x24c)]['on'](_0x9d571c(0x1fe),()=>{const _0x5ee0f2=_0x9d571c;this[_0x5ee0f2(0x1e5)]();}),_0x38f435({'emitter':this[_0x9d571c(0x24e)],'contextElements':[this[_0x9d571c(0x24e)][_0x9d571c(0x1fc)],this[_0x9d571c(0x24c)][_0x9d571c(0x1fc)]],'callback':()=>this[_0x9d571c(0x229)](),'activator':()=>this[_0x9d571c(0x24c)][_0x9d571c(0x1ca)]});}[_0x4c6d24(0x1c4)](){const _0x2f6d01=_0x4c6d24,_0x23e440=new _0x495367(this[_0x2f6d01(0x236)]);_0x23e440[_0x2f6d01(0x205)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x2d591b=[this[_0x2f6d01(0x1d8)][_0x2f6d01(0x1c7)][_0x2f6d01(0x21d)]];return this[_0x2f6d01(0x1d8)][_0x2f6d01(0x1c7)][_0x2f6d01(0x248)]&&_0x2d591b[_0x2f6d01(0x211)](this[_0x2f6d01(0x1d8)][_0x2f6d01(0x1c7)][_0x2f6d01(0x248)]),_0x23e440[_0x2f6d01(0x21c)]({'attributes':{'class':_0x2d591b}}),_0x23e440;}[_0x4c6d24(0x20c)](){const _0x37e0c6=_0x4c6d24,_0x1df100=new _0x2ab322(this[_0x37e0c6(0x236)]);return _0x1df100[_0x37e0c6(0x21c)]({'attributes':{'class':this[_0x37e0c6(0x1d8)][_0x37e0c6(0x1c7)][_0x37e0c6(0x1e3)]}}),this[_0x37e0c6(0x1d4)][_0x37e0c6(0x20e)](_0x1df100),_0x1df100;}[_0x4c6d24(0x226)](){const _0x1e67fd=_0x4c6d24;if(this[_0x1e67fd(0x24e)]&&(this[_0x1e67fd(0x24e)][_0x1e67fd(0x20f)][_0x1e67fd(0x21a)](),this[_0x1e67fd(0x1d3)][_0x1e67fd(0x245)]>0x0)){this[_0x1e67fd(0x1d3)][_0x1e67fd(0x254)](_0x1d0848=>{const _0x4283e4=_0x1e67fd;_0x1d0848[_0x4283e4(0x212)]();});const _0x577b9a=new _0xe2b0c6(this[_0x1e67fd(0x236)]);_0x577b9a[_0x1e67fd(0x22d)]({'tag':_0x1e67fd(0x222),'attributes':{'class':this[_0x1e67fd(0x1d8)][_0x1e67fd(0x1c7)][_0x1e67fd(0x252)]},'children':this[_0x1e67fd(0x1d3)]}),this[_0x1e67fd(0x24e)][_0x1e67fd(0x20f)][_0x1e67fd(0x20e)](_0x577b9a);}}[_0x4c6d24(0x1e5)](){const _0x51eb94=_0x4c6d24;this[_0x51eb94(0x24c)][_0x51eb94(0x1ca)]?this[_0x51eb94(0x229)]():this[_0x51eb94(0x1db)]();}[_0x4c6d24(0x1ce)](){const _0x51a93c=_0x4c6d24,_0x1dbb7b=this[_0x51a93c(0x1d3)][_0x51a93c(0x245)]>0x0;this[_0x51a93c(0x24c)]?.[_0x51a93c(0x1fc)]&&(this[_0x51a93c(0x24c)][_0x51a93c(0x1fc)][_0x51a93c(0x23d)][_0x51a93c(0x21b)]=_0x1dbb7b?'':_0x51a93c(0x256));}[_0x4c6d24(0x20d)](){const _0x361907=_0x4c6d24;this[_0x361907(0x24c)]?.[_0x361907(0x1ca)]&&this[_0x361907(0x24e)]?.[_0x361907(0x255)]&&this[_0x361907(0x24c)][_0x361907(0x1fc)]&&this[_0x361907(0x24e)][_0x361907(0x246)]({'target':this[_0x361907(0x24c)][_0x361907(0x1fc)],'limiter':document[_0x361907(0x225)](_0x361907(0x233))});}[_0x4c6d24(0x1ed)](_0x4aa644){const _0x1a86c2=_0x4c6d24,_0x45a78d=this[_0x1a86c2(0x23c)]?.[_0x1a86c2(0x218)][_0x1a86c2(0x1c9)]()||_0x1a86c2(0x222),_0x241d6f=this[_0x1a86c2(0x23c)]?.[_0x1a86c2(0x242)];if(_0x241d6f){const _0x3d5b8a=_0x241d6f[0x0]||'',_0x3adc63=_0x4aa644[_0x1a86c2(0x225)]('.'+_0x3d5b8a),_0x177d1b=_0x4aa644[_0x1a86c2(0x225)](_0x45a78d);return _0x3adc63||_0x177d1b||_0x4aa644;}return _0x4aa644[_0x1a86c2(0x225)](_0x45a78d)||_0x4aa644;}[_0x4c6d24(0x23b)](){const _0x40655f=_0x4c6d24,_0x47ceb0=this[_0x40655f(0x1f3)]?.[_0x40655f(0x1fc)]||this[_0x40655f(0x23c)];if(!_0x47ceb0)return an;const _0x4ff99d=window[_0x40655f(0x234)](_0x47ceb0)[_0x40655f(0x1f1)];if(_0x40655f(0x1cb)===_0x4ff99d||_0x40655f(0x20a)===_0x4ff99d||!_0x4ff99d){const _0x5bd8ca=_0x47ceb0[_0x40655f(0x1d7)];if(_0x5bd8ca){const _0x5dcfd5=window[_0x40655f(0x234)](_0x5bd8ca);return _0x40655f(0x1cb)!==_0x5dcfd5[_0x40655f(0x1f1)]?_0x5dcfd5[_0x40655f(0x1f1)]:an;}return an;}return _0x4ff99d;}[_0x4c6d24(0x220)](_0x1865c5,_0x52a820){const _0x31ba97=_0x4c6d24;this[_0x31ba97(0x1d8)][_0x31ba97(0x1c7)][_0x31ba97(0x1ee)]&&_0x1865c5[_0x31ba97(0x242)][_0x31ba97(0x20e)](this[_0x31ba97(0x1d8)][_0x31ba97(0x1c7)][_0x31ba97(0x1ee)]),_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x1f1)]=_0x52a820,_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x1fd)]=_0x31ba97(0x1fa),_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x200)]=_0x31ba97(0x21f),_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x244)]=_0x31ba97(0x21f),_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x213)]='0',_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x1f7)]=_0x31ba97(0x256),_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x1e2)]='-1',_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x1dc)]=_0x31ba97(0x1cf),_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x21b)]=_0x31ba97(0x22e),_0x1865c5[_0x31ba97(0x23d)][_0x31ba97(0x1d5)]=_0x31ba97(0x1d2);}[_0x4c6d24(0x204)](_0x443a7a){const _0x5efc1d=_0x4c6d24;_0x443a7a[_0x5efc1d(0x254)](({element:_0x90f158,originalDisplay:_0x5d4075,originalVisibility:_0x41e352})=>{const _0x334bf3=_0x5efc1d;_0x90f158[_0x334bf3(0x23d)][_0x334bf3(0x21b)]=_0x5d4075,_0x90f158[_0x334bf3(0x23d)][_0x334bf3(0x1dc)]=_0x41e352;});}[_0x4c6d24(0x1e1)](_0x1aaa43){const _0x4a9507=_0x4c6d24,_0x31b416=[];let _0x593b9a=_0x1aaa43;for(;_0x593b9a&&_0x593b9a!==document[_0x4a9507(0x230)];){const _0x122023=window[_0x4a9507(0x234)](_0x593b9a);_0x4a9507(0x256)!==_0x122023[_0x4a9507(0x21b)]&&_0x4a9507(0x235)!==_0x122023[_0x4a9507(0x1dc)]||(_0x31b416[_0x4a9507(0x211)]({'element':_0x593b9a,'originalDisplay':_0x593b9a[_0x4a9507(0x23d)][_0x4a9507(0x21b)],'originalVisibility':_0x593b9a[_0x4a9507(0x23d)][_0x4a9507(0x1dc)]}),_0x593b9a[_0x4a9507(0x23d)][_0x4a9507(0x21b)]=_0x4a9507(0x1d0),_0x593b9a[_0x4a9507(0x23d)][_0x4a9507(0x1dc)]=_0x4a9507(0x1c5)),_0x593b9a=_0x593b9a[_0x4a9507(0x1d7)];}return _0x31b416;}[_0x4c6d24(0x207)](){const _0x16df3a=_0x4c6d24;let _0x25b77f,_0x38c736;return this[_0x16df3a(0x1f3)]?.[_0x16df3a(0x1fc)]?(_0x25b77f=this[_0x16df3a(0x1f3)][_0x16df3a(0x1fc)][_0x16df3a(0x214)](!0x0),_0x38c736=this[_0x16df3a(0x1ed)](_0x25b77f)):(_0x25b77f=document[_0x16df3a(0x1d6)](_0x16df3a(0x222)),_0x38c736=_0x25b77f),{'calculationContainer':_0x25b77f,'targetContainer':_0x38c736};}[_0x4c6d24(0x231)](){const _0x1ad753=_0x4c6d24,{calculationContainer:_0x19422c,targetContainer:_0x400d57}=this[_0x1ad753(0x207)](),_0x11b1b4=this[_0x1ad753(0x23b)]();this[_0x1ad753(0x220)](_0x19422c,_0x11b1b4);const _0x93068a=this[_0x1ad753(0x1f3)]?.[_0x1ad753(0x1fc)]||this[_0x1ad753(0x23c)],_0x35cca1=_0x93068a?.[_0x1ad753(0x1d7)];_0x35cca1?_0x35cca1[_0x1ad753(0x1e9)](_0x19422c):document[_0x1ad753(0x230)][_0x1ad753(0x1e9)](_0x19422c),_0x19422c[_0x1ad753(0x1df)]=_0x400d57;const _0x46bd12=this[_0x1ad753(0x1e1)](_0x35cca1||null);return _0x19422c[_0x1ad753(0x1f5)],_0x19422c[_0x1ad753(0x247)]=_0x46bd12,_0x19422c;}[_0x4c6d24(0x1d9)](_0x165fde,_0x210036){const _0x3980f8=_0x4c6d24,_0x21d766=_0x165fde[_0x3980f8(0x1df)]||_0x165fde,_0x419b4a=[],{rowCount:_0x37a74e}=this[_0x3980f8(0x243)](_0x21d766,_0x210036);if(_0x37a74e<=this[_0x3980f8(0x1d8)][_0x3980f8(0x1f6)])return _0x419b4a;const _0x95d92=_0x210036[_0x3980f8(0x1ef)]();for(;_0x95d92[_0x3980f8(0x245)]>0x0;){if(this[_0x3980f8(0x23f)](_0x165fde,_0x21d766,_0x95d92)){const _0x173fd4=_0x210036[_0x3980f8(0x227)](_0x4a274a=>!_0x95d92[_0x3980f8(0x1e0)](_0x4a274a));_0x419b4a[_0x3980f8(0x211)](..._0x173fd4);break;}if(!_0x95d92[_0x3980f8(0x22f)]())break;}return _0x419b4a;}[_0x4c6d24(0x243)](_0x3eceff,_0x2cca5d){const _0x1db47b=_0x4c6d24;_0x3eceff[_0x1db47b(0x1da)]='',_0x2cca5d[_0x1db47b(0x254)](_0x26e801=>{const _0x1244d5=_0x1db47b;if(_0x26e801[_0x1244d5(0x1fc)]){const _0x183997=_0x26e801[_0x1244d5(0x1fc)][_0x1244d5(0x214)](!0x0);_0x3eceff[_0x1244d5(0x1e9)](_0x183997);}}),_0x3eceff[_0x1db47b(0x1f5)];const _0x54fcfe=_0x3eceff[_0x1db47b(0x238)],_0x39b8ea=[];return Array[_0x1db47b(0x24a)](_0x54fcfe)[_0x1db47b(0x254)](_0x2dc763=>{const _0x5cef62=_0x1db47b,_0x4955f8=_0x2dc763[_0x5cef62(0x1d1)]()[_0x5cef62(0x200)];_0x39b8ea[_0x5cef62(0x217)](_0x50521f=>Math[_0x5cef62(0x249)](_0x50521f-_0x4955f8)<this[_0x5cef62(0x1d8)][_0x5cef62(0x1ea)])||_0x39b8ea[_0x5cef62(0x211)](_0x4955f8);}),{'rowCount':_0x39b8ea[_0x1db47b(0x245)]};}[_0x4c6d24(0x237)](){const _0x1a54c6=_0x4c6d24,_0x81a4aa=document[_0x1a54c6(0x1d6)](_0x1a54c6(0x224));return _0x81a4aa[_0x1a54c6(0x1fb)]=this[_0x1a54c6(0x1d8)][_0x1a54c6(0x1c7)][_0x1a54c6(0x21d)],this[_0x1a54c6(0x1d8)][_0x1a54c6(0x1c7)][_0x1a54c6(0x248)]&&_0x81a4aa[_0x1a54c6(0x242)][_0x1a54c6(0x20e)](this[_0x1a54c6(0x1d8)][_0x1a54c6(0x1c7)][_0x1a54c6(0x248)]),_0x81a4aa[_0x1a54c6(0x1ec)]=_0x1a54c6(0x202),_0x81a4aa;}[_0x4c6d24(0x23f)](_0xc83680,_0x41abd6,_0x228a8a){const _0x4a05b8=_0x4c6d24;this[_0x4a05b8(0x243)](_0x41abd6,_0x228a8a);const _0x288cf6=this[_0x4a05b8(0x237)]();_0xc83680[_0x4a05b8(0x1e9)](_0x288cf6),_0xc83680[_0x4a05b8(0x1f5)];const _0x5ab736=[..._0x41abd6[_0x4a05b8(0x238)],_0x288cf6],_0x32202b=[];_0x5ab736[_0x4a05b8(0x254)](_0x3bbf8c=>{const _0x1278ba=_0x4a05b8,_0x574b55=_0x3bbf8c[_0x1278ba(0x1d1)]()[_0x1278ba(0x200)];_0x32202b[_0x1278ba(0x217)](_0x1447be=>Math[_0x1278ba(0x249)](_0x1447be-_0x574b55)<this[_0x1278ba(0x1d8)][_0x1278ba(0x1ea)])||_0x32202b[_0x1278ba(0x211)](_0x574b55);});const _0x28983f=_0x32202b[_0x4a05b8(0x245)];return _0x288cf6[_0x4a05b8(0x1cc)](),_0x28983f<=this[_0x4a05b8(0x1d8)][_0x4a05b8(0x1f6)];}[_0x4c6d24(0x223)](_0x496c33,_0x53f04a){const _0x4be2bf=_0x4c6d24;this[_0x4be2bf(0x257)][_0x4be2bf(0x21a)](),this[_0x4be2bf(0x1d3)][_0x4be2bf(0x21a)](),_0x496c33[_0x4be2bf(0x254)](_0x5a5c44=>{const _0xbcb621=_0x4be2bf;_0x53f04a[_0xbcb621(0x1e0)](_0x5a5c44)?this[_0xbcb621(0x1d3)][_0xbcb621(0x20e)](_0x5a5c44):this[_0xbcb621(0x257)][_0xbcb621(0x20e)](_0x5a5c44);});}[_0x4c6d24(0x232)](_0x5a8f5d){const _0x393fd7=_0x4c6d24;if(_0x5a8f5d>0x0&&!this[_0x393fd7(0x24c)]&&this[_0x393fd7(0x1eb)](),_0x5a8f5d>0x0&&this[_0x393fd7(0x24c)]){const _0x428e75=''+this[_0x393fd7(0x1d8)][_0x393fd7(0x1f8)]+(_0x5a8f5d<0x63?_0x5a8f5d:'99');this[_0x393fd7(0x24c)][_0x393fd7(0x22a)]=_0x428e75;}this[_0x393fd7(0x226)](),this[_0x393fd7(0x1ce)](),this[_0x393fd7(0x20d)]();}[_0x4c6d24(0x1c6)](_0x560377,_0x43f978){const _0x14a055=_0x4c6d24;this[_0x14a055(0x223)](_0x560377,_0x43f978),this[_0x14a055(0x232)](_0x43f978[_0x14a055(0x245)]);}[_0x4c6d24(0x1f4)](){const _0xbf9f3f=_0x4c6d24;this[_0xbf9f3f(0x23c)]&&_0xbf9f3f(0x22b)!=typeof IntersectionObserver&&(this[_0xbf9f3f(0x24d)]=new IntersectionObserver(_0x4de6fd=>{const _0x3d5637=_0xbf9f3f;_0x4de6fd[0x0][_0x3d5637(0x1f0)]&&this[_0x3d5637(0x1f2)]&&requestAnimationFrame(()=>{const _0x473659=_0x3d5637;this[_0x473659(0x20b)]();});},{'threshold':0.01,'rootMargin':_0xbf9f3f(0x24b)}),this[_0xbf9f3f(0x24d)][_0xbf9f3f(0x209)](this[_0xbf9f3f(0x23c)]));}[_0x4c6d24(0x210)](){const _0x8affb7=_0x4c6d24;if(!this[_0x8affb7(0x23c)])return!0x1;if(!this[_0x8affb7(0x23c)][_0x8affb7(0x228)])return!0x1;const _0x467d4a=this[_0x8affb7(0x23c)][_0x8affb7(0x1d1)]();if(0x0===_0x467d4a[_0x8affb7(0x1f1)]||0x0===_0x467d4a[_0x8affb7(0x1dd)])return!0x1;const _0x277ada=window[_0x8affb7(0x1e8)]||document[_0x8affb7(0x1c8)][_0x8affb7(0x1ff)],_0x26c741=window[_0x8affb7(0x241)]||document[_0x8affb7(0x1c8)][_0x8affb7(0x206)],_0x384981=0xc8;return _0x467d4a[_0x8affb7(0x219)]>=-0xc8&&_0x467d4a[_0x8affb7(0x200)]<=_0x277ada+_0x384981&&_0x467d4a[_0x8affb7(0x1e7)]>=-0xc8&&_0x467d4a[_0x8affb7(0x244)]<=_0x26c741+_0x384981;}}
23
+ const _0x3473cd=_0x312a;(function(_0x648408,_0x3c52df){const _0x2ce022=_0x312a,_0x3f78ea=_0x648408();while(!![]){try{const _0x18179c=-parseInt(_0x2ce022(0xa7))/0x1+parseInt(_0x2ce022(0x9d))/0x2*(parseInt(_0x2ce022(0xf6))/0x3)+parseInt(_0x2ce022(0x72))/0x4*(-parseInt(_0x2ce022(0xf4))/0x5)+parseInt(_0x2ce022(0xd9))/0x6+-parseInt(_0x2ce022(0xda))/0x7*(parseInt(_0x2ce022(0xed))/0x8)+-parseInt(_0x2ce022(0xbe))/0x9+parseInt(_0x2ce022(0xd8))/0xa*(parseInt(_0x2ce022(0x9c))/0xb);if(_0x18179c===_0x3c52df)break;else _0x3f78ea['push'](_0x3f78ea['shift']());}catch(_0x38efcd){_0x3f78ea['push'](_0x3f78ea['shift']());}}}(_0x4fa6,0x4e917));import{View as _0x283515,BalloonPanelView as _0x564bf8,ButtonView as _0x4b4d2e,clickOutsideHandler as _0x57cd2f}from'ckeditor5/src/ui.js';function _0x312a(_0x2b61e0,_0x2c3f04){const _0x4fa6e0=_0x4fa6();return _0x312a=function(_0x312a69,_0x54fc28){_0x312a69=_0x312a69-0x6b;let _0x2a8116=_0x4fa6e0[_0x312a69];return _0x2a8116;},_0x312a(_0x2b61e0,_0x2c3f04);}import{Collection as _0x548952}from'ckeditor5/src/utils.js';const an={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},wn=_0x3473cd(0xd3);export class AIChatChipsOverflowManager{[_0x3473cd(0xfd)];[_0x3473cd(0xb0)];[_0x3473cd(0xf9)];[_0x3473cd(0xb7)];[_0x3473cd(0xf7)]=null;[_0x3473cd(0x6b)]=null;[_0x3473cd(0x80)]=null;[_0x3473cd(0xf1)];[_0x3473cd(0xef)]=null;[_0x3473cd(0xce)]=null;[_0x3473cd(0x91)]=!0x1;constructor(_0x39010e,_0x579d88,_0x4c774c,_0x581701,_0x34bc43){const _0x5e6c53=_0x3473cd;this[_0x5e6c53(0xfd)]=_0x39010e,this[_0x5e6c53(0xf9)]=_0x579d88,this[_0x5e6c53(0xb0)]={...an,..._0x4c774c,'cssClasses':{'controlsButton':'','calculationContainer':_0x5e6c53(0xec),..._0x4c774c[_0x5e6c53(0xc6)]}},this[_0x5e6c53(0xb7)]=new _0x548952(),this[_0x5e6c53(0xf1)]=_0x581701,this[_0x5e6c53(0xef)]=_0x34bc43||null;}[_0x3473cd(0xe7)](_0x470f09){const _0x5b0a42=_0x3473cd;this[_0x5b0a42(0xce)]&&(this[_0x5b0a42(0xce)][_0x5b0a42(0xcf)](),this[_0x5b0a42(0xce)]=null),this[_0x5b0a42(0x80)]=_0x470f09,this[_0x5b0a42(0xc3)]();}get[_0x3473cd(0xee)](){const _0xdcf561=_0x3473cd;return this[_0xdcf561(0xf7)];}get[_0x3473cd(0x99)](){const _0xca6c56=_0x3473cd;return this[_0xca6c56(0xb7)];}[_0x3473cd(0xa5)](){requestAnimationFrame(()=>{const _0xdc65c4=_0x312a;this[_0xdc65c4(0x90)]();});}[_0x3473cd(0xa2)](){const _0x53c709=_0x3473cd;this[_0x53c709(0xf7)]&&this[_0x53c709(0x6b)]&&(this[_0x53c709(0xf8)](),this[_0x53c709(0xf7)][_0x53c709(0xd5)]=!0x0,this[_0x53c709(0x6b)][_0x53c709(0x92)](),this[_0x53c709(0x6b)][_0x53c709(0xc7)]({'target':this[_0x53c709(0xf7)][_0x53c709(0xd7)],'limiter':document[_0x53c709(0x74)](_0x53c709(0xad))}));}[_0x3473cd(0x86)](){const _0x4d65dc=_0x3473cd;this[_0x4d65dc(0xf7)]&&this[_0x4d65dc(0x6b)]&&(this[_0x4d65dc(0xf7)][_0x4d65dc(0xd5)]=!0x1,this[_0x4d65dc(0x6b)][_0x4d65dc(0x76)]());}[_0x3473cd(0x9b)](){const _0x52d555=_0x3473cd;this[_0x52d555(0xb7)][_0x52d555(0x9b)](),this[_0x52d555(0x86)](),this[_0x52d555(0xa8)](),this[_0x52d555(0xf7)]&&(this[_0x52d555(0xf7)][_0x52d555(0x6f)]=''),this[_0x52d555(0x6b)]&&this[_0x52d555(0x6b)][_0x52d555(0xb9)][_0x52d555(0x9b)]();}[_0x3473cd(0x96)](){const _0x1d6fb6=_0x3473cd;this[_0x1d6fb6(0xce)]&&(this[_0x1d6fb6(0xce)][_0x1d6fb6(0xcf)](),this[_0x1d6fb6(0xce)]=null),this[_0x1d6fb6(0xf7)]&&(this[_0x1d6fb6(0xf7)][_0x1d6fb6(0x96)](),this[_0x1d6fb6(0xf7)]=null),this[_0x1d6fb6(0x6b)]&&(this[_0x1d6fb6(0x6b)][_0x1d6fb6(0x96)](),this[_0x1d6fb6(0x6b)]=null);}[_0x3473cd(0x90)](){const _0x2cd673=_0x3473cd;if(!this[_0x2cd673(0x80)])return;if(!this[_0x2cd673(0x95)]())return void(this[_0x2cd673(0x91)]=!0x0);this[_0x2cd673(0x91)]=!0x1;const _0x3c3d3a=[...this[_0x2cd673(0xf9)],...this[_0x2cd673(0xb7)]],_0x284531=this[_0x2cd673(0xbb)](),_0x1d2da8=this[_0x2cd673(0xcd)](_0x284531,_0x3c3d3a),_0x192dab=_0x284531[_0x2cd673(0xa0)];_0x192dab&&this[_0x2cd673(0xaf)](_0x192dab),_0x284531[_0x2cd673(0x73)](),this[_0x2cd673(0xfc)](_0x3c3d3a,_0x1d2da8);}[_0x3473cd(0xe6)](){const _0x11f726=_0x3473cd;this[_0x11f726(0xf7)]=this[_0x11f726(0xd2)](),this[_0x11f726(0x6b)]=this[_0x11f726(0xd4)](),this[_0x11f726(0xf7)][_0x11f726(0xde)](),this[_0x11f726(0x80)][_0x11f726(0xbd)](this[_0x11f726(0xf7)][_0x11f726(0xd7)]),this[_0x11f726(0xf7)]['on'](_0x11f726(0xeb),()=>{const _0x240390=_0x11f726;this[_0x240390(0xcb)]();}),_0x57cd2f({'emitter':this[_0x11f726(0x6b)],'contextElements':[this[_0x11f726(0x6b)][_0x11f726(0xd7)],this[_0x11f726(0xf7)][_0x11f726(0xd7)]],'callback':()=>this[_0x11f726(0x86)](),'activator':()=>this[_0x11f726(0xf7)][_0x11f726(0xd5)]});}[_0x3473cd(0xd2)](){const _0x37928f=_0x3473cd,_0x48d687=new _0x4b4d2e(this[_0x37928f(0xfd)]);_0x48d687[_0x37928f(0xc4)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4e8936=[this[_0x37928f(0xb0)][_0x37928f(0xc6)][_0x37928f(0x7c)]];return this[_0x37928f(0xb0)][_0x37928f(0xc6)][_0x37928f(0x8a)]&&_0x4e8936[_0x37928f(0xc1)](this[_0x37928f(0xb0)][_0x37928f(0xc6)][_0x37928f(0x8a)]),_0x48d687[_0x37928f(0x9a)]({'attributes':{'class':_0x4e8936}}),_0x48d687;}[_0x3473cd(0xd4)](){const _0x419461=_0x3473cd,_0x2d43dc=new _0x564bf8(this[_0x419461(0xfd)]);return _0x2d43dc[_0x419461(0x9a)]({'attributes':{'class':this[_0x419461(0xb0)][_0x419461(0xc6)][_0x419461(0xab)]}}),this[_0x419461(0xf1)][_0x419461(0xd0)](_0x2d43dc),_0x2d43dc;}[_0x3473cd(0xf8)](){const _0x5b58fa=_0x3473cd;if(this[_0x5b58fa(0x6b)]&&(this[_0x5b58fa(0x6b)][_0x5b58fa(0xb9)][_0x5b58fa(0x9b)](),this[_0x5b58fa(0xb7)][_0x5b58fa(0xb2)]>0x0)){this[_0x5b58fa(0xb7)][_0x5b58fa(0xa1)](_0x54e223=>{const _0x477e0e=_0x5b58fa;_0x54e223[_0x477e0e(0xe9)]();});const _0x302b85=new _0x283515(this[_0x5b58fa(0xfd)]);_0x302b85[_0x5b58fa(0xf5)]({'tag':_0x5b58fa(0xe8),'attributes':{'class':this[_0x5b58fa(0xb0)][_0x5b58fa(0xc6)][_0x5b58fa(0xa6)]},'children':this[_0x5b58fa(0xb7)]}),this[_0x5b58fa(0x6b)][_0x5b58fa(0xb9)][_0x5b58fa(0xd0)](_0x302b85);}}[_0x3473cd(0xcb)](){const _0x423f35=_0x3473cd;this[_0x423f35(0xf7)][_0x423f35(0xd5)]?this[_0x423f35(0x86)]():this[_0x423f35(0xa2)]();}[_0x3473cd(0xa8)](){const _0x5ba1e0=_0x3473cd,_0x14bea8=this[_0x5ba1e0(0xb7)][_0x5ba1e0(0xb2)]>0x0;this[_0x5ba1e0(0xf7)]?.[_0x5ba1e0(0xd7)]&&(this[_0x5ba1e0(0xf7)][_0x5ba1e0(0xd7)][_0x5ba1e0(0xdc)][_0x5ba1e0(0xc2)]=_0x14bea8?'':_0x5ba1e0(0xc0));}[_0x3473cd(0x94)](){const _0xdb6435=_0x3473cd;this[_0xdb6435(0xf7)]?.[_0xdb6435(0xd5)]&&this[_0xdb6435(0x6b)]?.[_0xdb6435(0xca)]&&this[_0xdb6435(0xf7)][_0xdb6435(0xd7)]&&this[_0xdb6435(0x6b)][_0xdb6435(0xc7)]({'target':this[_0xdb6435(0xf7)][_0xdb6435(0xd7)],'limiter':document[_0xdb6435(0x74)](_0xdb6435(0xad))});}[_0x3473cd(0xe5)](_0x4be682){const _0x265ce4=_0x3473cd,_0x4b00cc=this[_0x265ce4(0x80)]?.[_0x265ce4(0xaa)][_0x265ce4(0x97)]()||_0x265ce4(0xe8),_0x16c7d9=this[_0x265ce4(0x80)]?.[_0x265ce4(0xae)];if(_0x16c7d9){const _0x5ef058=_0x16c7d9[0x0]||'',_0x584fd7=_0x4be682[_0x265ce4(0x74)]('.'+_0x5ef058),_0x1bf419=_0x4be682[_0x265ce4(0x74)](_0x4b00cc);return _0x584fd7||_0x1bf419||_0x4be682;}return _0x4be682[_0x265ce4(0x74)](_0x4b00cc)||_0x4be682;}[_0x3473cd(0xa9)](){const _0x4a8f08=_0x3473cd,_0x2e873f=this[_0x4a8f08(0xef)]?.[_0x4a8f08(0xd7)]||this[_0x4a8f08(0x80)];if(!_0x2e873f)return wn;const _0x154fe6=window[_0x4a8f08(0x9e)](_0x2e873f)[_0x4a8f08(0xbf)];if(_0x4a8f08(0x93)===_0x154fe6||_0x4a8f08(0xfb)===_0x154fe6||!_0x154fe6){const _0x38d1f9=_0x2e873f[_0x4a8f08(0xc5)];if(_0x38d1f9){const _0x64f7e8=window[_0x4a8f08(0x9e)](_0x38d1f9);return _0x4a8f08(0x93)!==_0x64f7e8[_0x4a8f08(0xbf)]?_0x64f7e8[_0x4a8f08(0xbf)]:wn;}return wn;}return _0x154fe6;}[_0x3473cd(0x7d)](_0x3a5292,_0x3db266){const _0x348047=_0x3473cd;this[_0x348047(0xb0)][_0x348047(0xc6)][_0x348047(0x77)]&&_0x3a5292[_0x348047(0xae)][_0x348047(0xd0)](this[_0x348047(0xb0)][_0x348047(0xc6)][_0x348047(0x77)]),_0x3a5292[_0x348047(0xdc)][_0x348047(0xbf)]=_0x3db266,_0x3a5292[_0x348047(0xdc)][_0x348047(0xdf)]=_0x348047(0xe2),_0x3a5292[_0x348047(0xdc)][_0x348047(0x7b)]=_0x348047(0xe0),_0x3a5292[_0x348047(0xdc)][_0x348047(0x6c)]=_0x348047(0xe0),_0x3a5292[_0x348047(0xdc)][_0x348047(0x8b)]='0',_0x3a5292[_0x348047(0xdc)][_0x348047(0xac)]=_0x348047(0xc0),_0x3a5292[_0x348047(0xdc)][_0x348047(0xf2)]='-1',_0x3a5292[_0x348047(0xdc)][_0x348047(0x83)]=_0x348047(0x85),_0x3a5292[_0x348047(0xdc)][_0x348047(0xc2)]=_0x348047(0xb8),_0x3a5292[_0x348047(0xdc)][_0x348047(0x8f)]=_0x348047(0x75);}[_0x3473cd(0xaf)](_0x427d61){const _0x9068f7=_0x3473cd;_0x427d61[_0x9068f7(0xa1)](({element:_0x1b1f50,originalDisplay:_0x269aaa,originalVisibility:_0x205be3})=>{const _0x5c9145=_0x9068f7;_0x1b1f50[_0x5c9145(0xdc)][_0x5c9145(0xc2)]=_0x269aaa,_0x1b1f50[_0x5c9145(0xdc)][_0x5c9145(0x83)]=_0x205be3;});}[_0x3473cd(0xf3)](_0xd2a12c){const _0x8684c2=_0x3473cd,_0x54c4fd=[];let _0x1af779=_0xd2a12c;for(;_0x1af779&&_0x1af779!==document[_0x8684c2(0x84)];){const _0x35d52a=window[_0x8684c2(0x9e)](_0x1af779);_0x8684c2(0xc0)!==_0x35d52a[_0x8684c2(0xc2)]&&_0x8684c2(0xdd)!==_0x35d52a[_0x8684c2(0x83)]||(_0x54c4fd[_0x8684c2(0xc1)]({'element':_0x1af779,'originalDisplay':_0x1af779[_0x8684c2(0xdc)][_0x8684c2(0xc2)],'originalVisibility':_0x1af779[_0x8684c2(0xdc)][_0x8684c2(0x83)]}),_0x1af779[_0x8684c2(0xdc)][_0x8684c2(0xc2)]=_0x8684c2(0x6e),_0x1af779[_0x8684c2(0xdc)][_0x8684c2(0x83)]=_0x8684c2(0x70)),_0x1af779=_0x1af779[_0x8684c2(0xc5)];}return _0x54c4fd;}[_0x3473cd(0xea)](){const _0x5205f1=_0x3473cd;let _0x27ba1f,_0x294a7a;return this[_0x5205f1(0xef)]?.[_0x5205f1(0xd7)]?(_0x27ba1f=this[_0x5205f1(0xef)][_0x5205f1(0xd7)][_0x5205f1(0x98)](!0x0),_0x294a7a=this[_0x5205f1(0xe5)](_0x27ba1f)):(_0x27ba1f=document[_0x5205f1(0x82)](_0x5205f1(0xe8)),_0x294a7a=_0x27ba1f),{'calculationContainer':_0x27ba1f,'targetContainer':_0x294a7a};}[_0x3473cd(0xbb)](){const _0x3cc584=_0x3473cd,{calculationContainer:_0x18aa94,targetContainer:_0xb2bb98}=this[_0x3cc584(0xea)](),_0x4b288d=this[_0x3cc584(0xa9)]();this[_0x3cc584(0x7d)](_0x18aa94,_0x4b288d);const _0x1b2a72=this[_0x3cc584(0xef)]?.[_0x3cc584(0xd7)]||this[_0x3cc584(0x80)],_0x1b9f41=_0x1b2a72?.[_0x3cc584(0xc5)];_0x1b9f41?_0x1b9f41[_0x3cc584(0xbd)](_0x18aa94):document[_0x3cc584(0x84)][_0x3cc584(0xbd)](_0x18aa94),_0x18aa94[_0x3cc584(0x78)]=_0xb2bb98;const _0x530711=this[_0x3cc584(0xf3)](_0x1b9f41||null);return _0x18aa94[_0x3cc584(0x71)],_0x18aa94[_0x3cc584(0xa0)]=_0x530711,_0x18aa94;}[_0x3473cd(0xcd)](_0x5dc37d,_0xb2fee8){const _0x2041ef=_0x3473cd,_0x441f27=_0x5dc37d[_0x2041ef(0x78)]||_0x5dc37d,_0x282ba6=[],{rowCount:_0x2185e3}=this[_0x2041ef(0xa3)](_0x441f27,_0xb2fee8);if(_0x2185e3<=this[_0x2041ef(0xb0)][_0x2041ef(0x79)])return _0x282ba6;const _0x139d56=_0xb2fee8[_0x2041ef(0xdb)]();for(;_0x139d56[_0x2041ef(0xb2)]>0x0;){if(this[_0x2041ef(0xf0)](_0x5dc37d,_0x441f27,_0x139d56)){const _0x20abd8=_0xb2fee8[_0x2041ef(0x7e)](_0x1b2c82=>!_0x139d56[_0x2041ef(0xd6)](_0x1b2c82));_0x282ba6[_0x2041ef(0xc1)](..._0x20abd8);break;}if(!_0x139d56[_0x2041ef(0x89)]())break;}return _0x282ba6;}[_0x3473cd(0xa3)](_0x38c0c8,_0x593c57){const _0x506ad5=_0x3473cd;_0x38c0c8[_0x506ad5(0xe3)]='',_0x593c57[_0x506ad5(0xa1)](_0x3b400c=>{const _0x533093=_0x506ad5;if(_0x3b400c[_0x533093(0xd7)]){const _0x77a762=_0x3b400c[_0x533093(0xd7)][_0x533093(0x98)](!0x0);_0x38c0c8[_0x533093(0xbd)](_0x77a762);}}),_0x38c0c8[_0x506ad5(0x71)];const _0x917fce=_0x38c0c8[_0x506ad5(0xfe)],_0x451da8=[];return Array[_0x506ad5(0x7a)](_0x917fce)[_0x506ad5(0xa1)](_0x566e5a=>{const _0x5f0b47=_0x506ad5,_0x351a5c=_0x566e5a[_0x5f0b47(0x7f)]()[_0x5f0b47(0x7b)];_0x451da8[_0x5f0b47(0x8e)](_0x23c75a=>Math[_0x5f0b47(0xa4)](_0x23c75a-_0x351a5c)<this[_0x5f0b47(0xb0)][_0x5f0b47(0x6d)])||_0x451da8[_0x5f0b47(0xc1)](_0x351a5c);}),{'rowCount':_0x451da8[_0x506ad5(0xb2)]};}[_0x3473cd(0x9f)](){const _0xd0da65=_0x3473cd,_0x2fc16f=document[_0xd0da65(0x82)](_0xd0da65(0xe1));return _0x2fc16f[_0xd0da65(0xff)]=this[_0xd0da65(0xb0)][_0xd0da65(0xc6)][_0xd0da65(0x7c)],this[_0xd0da65(0xb0)][_0xd0da65(0xc6)][_0xd0da65(0x8a)]&&_0x2fc16f[_0xd0da65(0xae)][_0xd0da65(0xd0)](this[_0xd0da65(0xb0)][_0xd0da65(0xc6)][_0xd0da65(0x8a)]),_0x2fc16f[_0xd0da65(0xe4)]=_0xd0da65(0xb4),_0x2fc16f;}[_0x3473cd(0xf0)](_0x375830,_0x137d7b,_0x32dabc){const _0xbbc7d6=_0x3473cd;this[_0xbbc7d6(0xa3)](_0x137d7b,_0x32dabc);const _0x5a5f0b=this[_0xbbc7d6(0x9f)]();_0x375830[_0xbbc7d6(0xbd)](_0x5a5f0b),_0x375830[_0xbbc7d6(0x71)];const _0x41aeaf=[..._0x137d7b[_0xbbc7d6(0xfe)],_0x5a5f0b],_0x81a50b=[];_0x41aeaf[_0xbbc7d6(0xa1)](_0x78b613=>{const _0x265e09=_0xbbc7d6,_0x27d305=_0x78b613[_0x265e09(0x7f)]()[_0x265e09(0x7b)];_0x81a50b[_0x265e09(0x8e)](_0x4f0958=>Math[_0x265e09(0xa4)](_0x4f0958-_0x27d305)<this[_0x265e09(0xb0)][_0x265e09(0x6d)])||_0x81a50b[_0x265e09(0xc1)](_0x27d305);});const _0x1a615a=_0x81a50b[_0xbbc7d6(0xb2)];return _0x5a5f0b[_0xbbc7d6(0x73)](),_0x1a615a<=this[_0xbbc7d6(0xb0)][_0xbbc7d6(0x79)];}[_0x3473cd(0xc8)](_0x4e85ce,_0x4dbd13){const _0x21c216=_0x3473cd;this[_0x21c216(0xf9)][_0x21c216(0x9b)](),this[_0x21c216(0xb7)][_0x21c216(0x9b)](),_0x4e85ce[_0x21c216(0xa1)](_0x35bbb3=>{const _0x3c1362=_0x21c216;_0x4dbd13[_0x3c1362(0xd6)](_0x35bbb3)?this[_0x3c1362(0xb7)][_0x3c1362(0xd0)](_0x35bbb3):this[_0x3c1362(0xf9)][_0x3c1362(0xd0)](_0x35bbb3);});}[_0x3473cd(0x8d)](_0x3e80bb){const _0xb8eb79=_0x3473cd;if(_0x3e80bb>0x0&&!this[_0xb8eb79(0xf7)]&&this[_0xb8eb79(0xe6)](),_0x3e80bb>0x0&&this[_0xb8eb79(0xf7)]){const _0x265d29=''+this[_0xb8eb79(0xb0)][_0xb8eb79(0x81)]+(_0x3e80bb<0x63?_0x3e80bb:'99');this[_0xb8eb79(0xf7)][_0xb8eb79(0x6f)]=_0x265d29;}this[_0xb8eb79(0xf8)](),this[_0xb8eb79(0xa8)](),this[_0xb8eb79(0x94)]();}[_0x3473cd(0xfc)](_0x2edca7,_0x910cba){const _0x3b1738=_0x3473cd;this[_0x3b1738(0xc8)](_0x2edca7,_0x910cba),this[_0x3b1738(0x8d)](_0x910cba[_0x3b1738(0xb2)]);}[_0x3473cd(0xc3)](){const _0x3d54a6=_0x3473cd;this[_0x3d54a6(0x80)]&&_0x3d54a6(0xb3)!=typeof IntersectionObserver&&(this[_0x3d54a6(0xce)]=new IntersectionObserver(_0x2f04c0=>{const _0x50e6c8=_0x3d54a6;_0x2f04c0[0x0][_0x50e6c8(0x8c)]&&this[_0x50e6c8(0x91)]&&requestAnimationFrame(()=>{const _0x8f0bd4=_0x50e6c8;this[_0x8f0bd4(0x90)]();});},{'threshold':0.01,'rootMargin':_0x3d54a6(0xc9)}),this[_0x3d54a6(0xce)][_0x3d54a6(0xfa)](this[_0x3d54a6(0x80)]));}[_0x3473cd(0x95)](){const _0x49d101=_0x3473cd;if(!this[_0x49d101(0x80)])return!0x1;if(!this[_0x49d101(0x80)][_0x49d101(0xba)])return!0x1;const _0x56f959=this[_0x49d101(0x80)][_0x49d101(0x7f)]();if(0x0===_0x56f959[_0x49d101(0xbf)]||0x0===_0x56f959[_0x49d101(0x88)])return!0x1;const _0x24f1f8=window[_0x49d101(0xbc)]||document[_0x49d101(0xcc)][_0x49d101(0xb6)],_0x4b9808=window[_0x49d101(0xb1)]||document[_0x49d101(0xcc)][_0x49d101(0xb5)],_0x3cf949=0xc8;return _0x56f959[_0x49d101(0x87)]>=-0xc8&&_0x56f959[_0x49d101(0x7b)]<=_0x24f1f8+_0x3cf949&&_0x56f959[_0x49d101(0xd1)]>=-0xc8&&_0x56f959[_0x49d101(0x6c)]<=_0x4b9808+_0x3cf949;}}function _0x4fa6(){const _0x1cc0c8=['abs','reorganizeChips','overflowContainer','532113PNvwHT','_updateShowMoreButtonVisibility','_calculateContainerWidth','tagName','showMoreBalloon','pointerEvents','.ck-ai-chat','classList','_restoreAncestorVisibility','_config','innerWidth','length','undefined','+\x201','clientWidth','clientHeight','_overflowChips','block\x20!important','content','isConnected','_createCalculationContainer','innerHeight','appendChild','4066560iviQUQ','width','none','push','display','_setupVisibilityObserver','set','parentElement','cssClasses','pin','_distributeChips','50px','isVisible','_handleShowMoreButtonClick','documentElement','_calculateOverflowInContainer','_intersectionObserver','disconnect','add','right','_createShowMoreButtonView','300px','_createShowMoreBalloonPanelView','isOn','includes','element','30AjfoJz','1674450vFMgxx','76419TtsUUc','slice','style','hidden','render','position','-9999px','button','absolute','innerHTML','textContent','_findTargetContainer','_createShowMoreButton','setContainerElement','div','disableAnimationOnEnter','_createContainerElements','execute','ck-calculation-container','392ygEuHX','showMoreButtonView','_parentView','_testButtonFit','_bodyCollection','zIndex','_makeAncestorsVisible','589845PwTbPH','setTemplate','1668YPUvlc','_showMoreButtonView','_updateBalloonContent','_visibleChips','observe','0px','_applyOverflowResults','_locale','children','className','_showMoreBalloonPanelView','left','rowDetectionTolerance','block','label','visible','offsetWidth','4ijBGMN','remove','querySelector','border-box','hide','calculationContainer','_targetContainer','maxVisibleRows','from','top','showMoreButton','_applyCalculationStyles','filter','getBoundingClientRect','_containerElement','showMoreLabelPrefix','createElement','visibility','body','visible\x20!important','hideBalloonPanel','bottom','height','pop','controlsButton','opacity','isIntersecting','_updateOverflowUI','some','boxSizing','_checkAndHandleOverflow','_pendingCalculation','show','auto','_repinBalloonPanel','_isContainerVisible','destroy','toLowerCase','cloneNode','overflowChips','extendTemplate','clear','4709023RTQuYJ','1422LpxBkC','getComputedStyle','_createMockButton','_ancestorsToRestore','forEach','showBalloonPanel','_renderChipsAndCountRows'];_0x4fa6=function(){return _0x1cc0c8;};return _0x4fa6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a735a=_0x4770;(function(_0x3631ff,_0x391b8b){const _0x1c141c=_0x4770,_0x1a6c30=_0x3631ff();while(!![]){try{const _0x80d05a=-parseInt(_0x1c141c(0xc0))/0x1+-parseInt(_0x1c141c(0xc8))/0x2*(parseInt(_0x1c141c(0xc3))/0x3)+-parseInt(_0x1c141c(0xcf))/0x4+-parseInt(_0x1c141c(0xe8))/0x5*(parseInt(_0x1c141c(0xf3))/0x6)+-parseInt(_0x1c141c(0xe4))/0x7+parseInt(_0x1c141c(0xce))/0x8+-parseInt(_0x1c141c(0xdf))/0x9*(-parseInt(_0x1c141c(0xdd))/0xa);if(_0x80d05a===_0x391b8b)break;else _0x1a6c30['push'](_0x1a6c30['shift']());}catch(_0x254de9){_0x1a6c30['push'](_0x1a6c30['shift']());}}}(_0x57a8,0x26c17));function _0x57a8(){const _0x178ba1=['slice','execute','ck-ai-chat-context-chip__type-icon','ck-ai-chat-context-chip_wide','2033576cNRtot','1160008XyGnOP','_createLabelElement','_createIconView','_setupRemoveButtonEvent','itemType','setTemplate','readonly','removeContextItemChip','_createLoaderIcon','element','length','small','lastIndexOf','remove','50qgBwmW','document','1988721afYLYY','removeEventListener','_isAnimationOnEnterEnabled','animationend','div','846062bJHzeP','tooltip','_setupTemplate','ck-ai-chat-context-chip__label','5PDMLCA','isLoading','bind','span','locale','_createRemoveButton','ck-hidden','ck-ai-chat-context-chip','ck-ai-chat-context-chip_document','fire','extendTemplate','1688268LpimUX','_createTemplateAttributes','add','uiId','ck-ai-chat-context-controls__chip-tooltip','label','type','_handleAnimationEndOnce','disableAnimationOnEnter','bindTemplate','classList','selection','set','_createTemplateChildren','content','287311NwHYbi','render','ck-ai-chat-context-chip_new-chip','662226nPPyjQ','webkitAnimationEnd','_initializeProperties','addEventListener','isVisible','2oCpTfc','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'];_0x57a8=function(){return _0x178ba1;};return _0x57a8();}function _0x4770(_0x439385,_0x42af1f){const _0x57a8f1=_0x57a8();return _0x4770=function(_0x4770f4,_0x28010e){_0x4770f4=_0x4770f4-0xba;let _0x3e3c03=_0x57a8f1[_0x4770f4];return _0x3e3c03;},_0x4770(_0x439385,_0x42af1f);}import{ButtonView as _0xb80c0e,IconView as _0x4a24d4}from'ckeditor5/src/ui.js';import{IconClose as _0x3b04a4,IconDocument as _0x868520,IconFileUpload as _0xab25d7,IconLink as _0x1a7441,IconSelection as _0x5691c3}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x39712c}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5914dc}from'../../../aicore/ui/aispinner.js';const xn={'file':_0xab25d7,'document':_0x868520,'web-resource':_0x1a7441,'text':_0xab25d7,'selection':_0x5691c3,'mcp-tool-context':_0x868520},bn=_0x1a735a(0xef),wn=_0x1a735a(0xcd),Tn=_0x1a735a(0xf0),En=_0x1a735a(0xe7),fn=_0x1a735a(0xcc),An=_0x1a735a(0xf7),Cn='n';export class AIChatContextItemButtonView extends _0xb80c0e{constructor(_0x3e156a,_0x5d49a9,_0x28c529,_0x44fa26,_0x2d66e8=!0x1){const _0x365a20=_0x1a735a;super(_0x3e156a),this[_0x365a20(0xe1)]=_0x44fa26,this[_0x365a20(0xc5)](_0x5d49a9,_0x28c529,_0x2d66e8),this[_0x365a20(0xe6)]();}[_0x1a735a(0xc1)](){const _0x159c31=_0x1a735a;super[_0x159c31(0xc1)](),this[_0x159c31(0xe1)]&&this[_0x159c31(0xd8)]&&(this[_0x159c31(0xd8)][_0x159c31(0xbb)][_0x159c31(0xf5)](_0x159c31(0xc2)),this[_0x159c31(0xfa)](this[_0x159c31(0xd8)],()=>{const _0x5bc0c7=_0x159c31;this[_0x5bc0c7(0xd8)]&&this[_0x5bc0c7(0xd8)][_0x5bc0c7(0xbb)][_0x5bc0c7(0xdc)](_0x5bc0c7(0xc2));}));}[_0x1a735a(0xfb)](){const _0x4f2189=_0x1a735a;this[_0x4f2189(0xe1)]=!0x1,this[_0x4f2189(0xd8)]&&this[_0x4f2189(0xd8)][_0x4f2189(0xbb)][_0x4f2189(0xdc)](_0x4f2189(0xc2));}[_0x1a735a(0xc5)](_0x1ce162,_0x12bcc3,_0x1dd644){const _0x5ad091=_0x1a735a;this[_0x5ad091(0xbd)](_0x5ad091(0xf8),_0x1ce162[_0x5ad091(0xf8)]),this[_0x5ad091(0xbd)](_0x5ad091(0xe5),!0x0),this[_0x5ad091(0xbd)](_0x5ad091(0xd3),_0x1ce162[_0x5ad091(0xf9)]),this[_0x5ad091(0xbd)]('id',_0x1ce162[_0x5ad091(0xf6)]),this[_0x5ad091(0xbd)](_0x5ad091(0xd5),_0x12bcc3),this[_0x5ad091(0xbd)](_0x5ad091(0xe9),_0x1dd644);}[_0x1a735a(0xe6)](){const _0x2a3403=_0x1a735a,_0x2b2048=this[_0x2a3403(0xd1)](),_0x4a1fc3=this[_0x2a3403(0xed)](),_0x547eab=this[_0x2a3403(0xba)];this[_0x2a3403(0xd4)]({'tag':_0x2a3403(0xe3),'attributes':this[_0x2a3403(0xf4)](_0x547eab),'children':this[_0x2a3403(0xbe)](_0x2b2048,_0x4a1fc3,_0x547eab)});}[_0x1a735a(0xf4)](_0x388197){const _0x2bd4aa=_0x1a735a;return{'class':[bn,_0x388197['if'](_0x2bd4aa(0xd3),Tn,_0x6c051e=>_0x2bd4aa(0xde)==_0x6c051e),_0x388197['if'](_0x2bd4aa(0xd3),wn,_0x4de6e5=>_0x2bd4aa(0xbc)==_0x4de6e5)],'data-cke-tooltip-text':_0x388197['to'](_0x2bd4aa(0xf8),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x1a735a(0xbe)](_0x1e0156,_0x478bbd,_0x3dd3c9){const _0x50980c=_0x1a735a,_0x325f9d=this[_0x50980c(0xd0)](_0x3dd3c9),_0x298a53=this[_0x50980c(0xd7)]();return this[_0x50980c(0xd5)]?[_0x1e0156,_0x325f9d]:[_0x1e0156,_0x298a53,_0x325f9d,_0x478bbd];}[_0x1a735a(0xd0)](_0x3df9ec){const _0x32f9df=_0x1a735a;return{'tag':_0x32f9df(0xeb),'attributes':{'class':En},'children':[{'text':_0x3df9ec['to'](_0x32f9df(0xf8))}]};}[_0x1a735a(0xed)](){const _0x3f19b7=_0x1a735a,_0x36834a=new _0xb80c0e(this[_0x3f19b7(0xec)]);return _0x36834a[_0x3f19b7(0xbd)]({'label':_0x39712c(this[_0x3f19b7(0xec)],_0x3f19b7(0xc9)),'icon':_0x3b04a4}),this[_0x3f19b7(0xd2)](_0x36834a),_0x36834a;}[_0x1a735a(0xd2)](_0xec868d){const _0x43b81c=_0x1a735a;_0xec868d['on'](_0x43b81c(0xcb),()=>{const _0x4228f1=_0x43b81c;this[_0x4228f1(0xf1)](_0x4228f1(0xd6),this['id']);});}[_0x1a735a(0xd1)](){const _0x2e76af=_0x1a735a,_0x5c255d=this[_0x2e76af(0xba)],_0x470eed=new _0x4a24d4();return _0x470eed[_0x2e76af(0xbf)]=xn[this[_0x2e76af(0xd3)]],_0x470eed[_0x2e76af(0xf2)]({'attributes':{'class':[fn,_0x5c255d['if'](_0x2e76af(0xe9),_0x2e76af(0xee),_0x6da92=>_0x6da92)]}}),_0x470eed;}[_0x1a735a(0xfa)](_0x392c98,_0x20e94a){const _0x46c5d9=_0x1a735a;if(!_0x392c98)return;const _0x19beb8=()=>{const _0x333e1d=_0x4770;_0x20e94a(),_0x392c98[_0x333e1d(0xe0)](_0x333e1d(0xe2),_0x19beb8),_0x392c98[_0x333e1d(0xe0)](_0x333e1d(0xc4),_0x19beb8);};_0x392c98[_0x46c5d9(0xc6)](_0x46c5d9(0xe2),_0x19beb8),_0x392c98[_0x46c5d9(0xc6)](_0x46c5d9(0xc4),_0x19beb8);}[_0x1a735a(0xd7)](){const _0x39ae20=_0x1a735a,_0x37767f=new _0x5914dc(_0x39ae20(0xda));return _0x37767f[_0x39ae20(0xea)](_0x39ae20(0xc7))['to'](this,_0x39ae20(0xe9),_0x419278=>_0x419278),_0x37767f;}}function In(_0x24ec8d){const _0x2deb41=_0x1a735a;if(!_0x24ec8d)return _0x24ec8d;if(_0x24ec8d[_0x2deb41(0xd9)]<=0x78)return _0x24ec8d;const _0x335063=_0x24ec8d[_0x2deb41(0xca)](0x0,0x78),_0x4e65aa=_0x335063[_0x2deb41(0xdb)]('\x20');return(_0x4e65aa>0x0?_0x335063[_0x2deb41(0xca)](0x0,_0x4e65aa):_0x335063)+'…';}
23
+ const _0x11fe38=_0x1c8a;(function(_0x2e38f6,_0x232855){const _0x398bd1=_0x1c8a,_0x36b2c2=_0x2e38f6();while(!![]){try{const _0x6210b3=-parseInt(_0x398bd1(0x1f9))/0x1*(-parseInt(_0x398bd1(0x1cd))/0x2)+parseInt(_0x398bd1(0x1c2))/0x3+parseInt(_0x398bd1(0x1e2))/0x4*(-parseInt(_0x398bd1(0x1e1))/0x5)+-parseInt(_0x398bd1(0x1c4))/0x6*(parseInt(_0x398bd1(0x1dd))/0x7)+parseInt(_0x398bd1(0x1e4))/0x8+parseInt(_0x398bd1(0x1e6))/0x9*(-parseInt(_0x398bd1(0x1bc))/0xa)+-parseInt(_0x398bd1(0x1f6))/0xb*(-parseInt(_0x398bd1(0x1ed))/0xc);if(_0x6210b3===_0x232855)break;else _0x36b2c2['push'](_0x36b2c2['shift']());}catch(_0x5b5cd9){_0x36b2c2['push'](_0x36b2c2['shift']());}}}(_0x28d0,0x70950));import{ButtonView as _0x5b0147,IconView as _0xf2bace}from'ckeditor5/src/ui.js';import{IconClose as _0x1b2896,IconDocument as _0x23102,IconFileUpload as _0x18e395,IconLink as _0x2cfb39,IconSelection as _0x3d6979}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0xe00ad}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x39d884}from'../../../aicore/ui/aispinner.js';function _0x1c8a(_0x5173bd,_0xf23c6e){const _0x28d09f=_0x28d0();return _0x1c8a=function(_0x1c8af2,_0x5c912e){_0x1c8af2=_0x1c8af2-0x1b7;let _0x30f9d7=_0x28d09f[_0x1c8af2];return _0x30f9d7;},_0x1c8a(_0x5173bd,_0xf23c6e);}function _0x28d0(){const _0x1b3213=['_createLabelElement','execute','132667FHPClG','label','ck-ai-chat-context-chip__label','_createLoaderIcon','tooltip','_createRemoveButton','extendTemplate','160JnLVeB','animationend','_createTemplateChildren','disableAnimationOnEnter','ck-ai-chat-context-chip_new-chip','removeContextItemChip','2650752rZddZu','ck-hidden','5676cyGRBY','_setupTemplate','itemType','isLoading','small','div','set','_isAnimationOnEnterEnabled','webkitAnimationEnd','8tjyYSq','addEventListener','removeEventListener','fire','uiId','_handleAnimationEndOnce','add','locale','readonly','classList','document','_setupRemoveButtonEvent','slice','_createTemplateAttributes','ck-ai-chat-context-chip_document','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','6643NLiugI','lastIndexOf','selection','ck-ai-chat-context-controls__chip-tooltip','2665255jKVDDM','4UAdBxP','isVisible','5346504sCQiWo','bindTemplate','455337ZAMdQq','element','type','render','_createIconView','remove','ck-ai-chat-context-chip__type-icon','72NBiGoa','setTemplate','content','bind','ck-ai-chat-context-chip','ck-ai-chat-context-chip_wide','span','_initializeProperties','length','1134584bpzpTn'];_0x28d0=function(){return _0x1b3213;};return _0x28d0();}const xn={'file':_0x18e395,'document':_0x23102,'web-resource':_0x2cfb39,'text':_0x18e395,'selection':_0x3d6979,'mcp-tool-context':_0x23102},bn=_0x11fe38(0x1f1),Tn=_0x11fe38(0x1f2),En=_0x11fe38(0x1db),fn=_0x11fe38(0x1b7),An=_0x11fe38(0x1ec),Cn=_0x11fe38(0x1e0),In='n';export class AIChatContextItemButtonView extends _0x5b0147{constructor(_0x30c2e7,_0xdcc824,_0x509284,_0x24e568,_0x120fe4=!0x1){const _0x5ba89a=_0x11fe38;super(_0x30c2e7),this[_0x5ba89a(0x1cb)]=_0x24e568,this[_0x5ba89a(0x1f4)](_0xdcc824,_0x509284,_0x120fe4),this[_0x5ba89a(0x1c5)]();}[_0x11fe38(0x1e9)](){const _0x343c34=_0x11fe38;super[_0x343c34(0x1e9)](),this[_0x343c34(0x1cb)]&&this[_0x343c34(0x1e7)]&&(this[_0x343c34(0x1e7)][_0x343c34(0x1d6)][_0x343c34(0x1d3)](_0x343c34(0x1c0)),this[_0x343c34(0x1d2)](this[_0x343c34(0x1e7)],()=>{const _0x46e8a4=_0x343c34;this[_0x46e8a4(0x1e7)]&&this[_0x46e8a4(0x1e7)][_0x46e8a4(0x1d6)][_0x46e8a4(0x1eb)](_0x46e8a4(0x1c0));}));}[_0x11fe38(0x1bf)](){const _0x3400e9=_0x11fe38;this[_0x3400e9(0x1cb)]=!0x1,this[_0x3400e9(0x1e7)]&&this[_0x3400e9(0x1e7)][_0x3400e9(0x1d6)][_0x3400e9(0x1eb)](_0x3400e9(0x1c0));}[_0x11fe38(0x1f4)](_0x583946,_0x2562a2,_0x2d61aa){const _0x238bc7=_0x11fe38;this[_0x238bc7(0x1ca)](_0x238bc7(0x1fa),_0x583946[_0x238bc7(0x1fa)]),this[_0x238bc7(0x1ca)](_0x238bc7(0x1b9),!0x0),this[_0x238bc7(0x1ca)](_0x238bc7(0x1c6),_0x583946[_0x238bc7(0x1e8)]),this[_0x238bc7(0x1ca)]('id',_0x583946[_0x238bc7(0x1d1)]),this[_0x238bc7(0x1ca)](_0x238bc7(0x1d5),_0x2562a2),this[_0x238bc7(0x1ca)](_0x238bc7(0x1c7),_0x2d61aa);}[_0x11fe38(0x1c5)](){const _0x45c280=_0x11fe38,_0x320ff7=this[_0x45c280(0x1ea)](),_0x1148a2=this[_0x45c280(0x1ba)](),_0x4e3b8d=this[_0x45c280(0x1e5)];this[_0x45c280(0x1ee)]({'tag':_0x45c280(0x1c9),'attributes':this[_0x45c280(0x1da)](_0x4e3b8d),'children':this[_0x45c280(0x1be)](_0x320ff7,_0x1148a2,_0x4e3b8d)});}[_0x11fe38(0x1da)](_0xe2ec3b){const _0x5c8251=_0x11fe38;return{'class':[bn,_0xe2ec3b['if'](_0x5c8251(0x1c6),En,_0x3a6136=>_0x5c8251(0x1d7)==_0x3a6136),_0xe2ec3b['if'](_0x5c8251(0x1c6),Tn,_0x4d0677=>_0x5c8251(0x1df)==_0x4d0677)],'data-cke-tooltip-text':_0xe2ec3b['to'](_0x5c8251(0x1fa),On),'data-cke-tooltip-position':In,'data-cke-tooltip-class':Cn};}[_0x11fe38(0x1be)](_0x41a300,_0x118230,_0x4ceb83){const _0x54ef47=_0x11fe38,_0x2764ea=this[_0x54ef47(0x1f7)](_0x4ceb83),_0x4dfc9b=this[_0x54ef47(0x1b8)]();return this[_0x54ef47(0x1d5)]?[_0x41a300,_0x2764ea]:[_0x41a300,_0x4dfc9b,_0x2764ea,_0x118230];}[_0x11fe38(0x1f7)](_0x59796f){const _0x30a0ef=_0x11fe38;return{'tag':_0x30a0ef(0x1f3),'attributes':{'class':fn},'children':[{'text':_0x59796f['to'](_0x30a0ef(0x1fa))}]};}[_0x11fe38(0x1ba)](){const _0x4363e2=_0x11fe38,_0x49a42b=new _0x5b0147(this[_0x4363e2(0x1d4)]);return _0x49a42b[_0x4363e2(0x1ca)]({'label':_0xe00ad(this[_0x4363e2(0x1d4)],_0x4363e2(0x1dc)),'icon':_0x1b2896}),this[_0x4363e2(0x1d8)](_0x49a42b),_0x49a42b;}[_0x11fe38(0x1d8)](_0x5e8293){const _0x771522=_0x11fe38;_0x5e8293['on'](_0x771522(0x1f8),()=>{const _0x10dc6e=_0x771522;this[_0x10dc6e(0x1d0)](_0x10dc6e(0x1c1),this['id']);});}[_0x11fe38(0x1ea)](){const _0x57cca4=_0x11fe38,_0x2e0c80=this[_0x57cca4(0x1e5)],_0x8aaba4=new _0xf2bace();return _0x8aaba4[_0x57cca4(0x1ef)]=xn[this[_0x57cca4(0x1c6)]],_0x8aaba4[_0x57cca4(0x1bb)]({'attributes':{'class':[An,_0x2e0c80['if'](_0x57cca4(0x1c7),_0x57cca4(0x1c3),_0x2783dc=>_0x2783dc)]}}),_0x8aaba4;}[_0x11fe38(0x1d2)](_0x2e6395,_0x1ee5eb){const _0x3ec930=_0x11fe38;if(!_0x2e6395)return;const _0x3b66f0=()=>{const _0x1410cb=_0x1c8a;_0x1ee5eb(),_0x2e6395[_0x1410cb(0x1cf)](_0x1410cb(0x1bd),_0x3b66f0),_0x2e6395[_0x1410cb(0x1cf)](_0x1410cb(0x1cc),_0x3b66f0);};_0x2e6395[_0x3ec930(0x1ce)](_0x3ec930(0x1bd),_0x3b66f0),_0x2e6395[_0x3ec930(0x1ce)](_0x3ec930(0x1cc),_0x3b66f0);}[_0x11fe38(0x1b8)](){const _0x430163=_0x11fe38,_0x2318f8=new _0x39d884(_0x430163(0x1c8));return _0x2318f8[_0x430163(0x1f0)](_0x430163(0x1e3))['to'](this,_0x430163(0x1c7),_0x316499=>_0x316499),_0x2318f8;}}function On(_0x18a065){const _0x7e18b0=_0x11fe38;if(!_0x18a065)return _0x18a065;if(_0x18a065[_0x7e18b0(0x1f5)]<=0x78)return _0x18a065;const _0x22f09a=_0x18a065[_0x7e18b0(0x1d9)](0x0,0x78),_0x14137e=_0x22f09a[_0x7e18b0(0x1de)]('\x20');return(_0x14137e>0x0?_0x22f09a[_0x7e18b0(0x1d9)](0x0,_0x14137e):_0x22f09a)+'…';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19153c=_0x5e07;function _0x5e07(_0x2f107c,_0x1b0e06){const _0x345e01=_0x345e();return _0x5e07=function(_0x5e0753,_0x557cb1){_0x5e0753=_0x5e0753-0x97;let _0x18e601=_0x345e01[_0x5e0753];return _0x18e601;},_0x5e07(_0x2f107c,_0x1b0e06);}function _0x345e(){const _0x57a6ae=['focus','focusCycler','refreshBalloon','_setupKeystrokes','fire','_createConfirmButton','form','setTemplate','AI_CHAT_CONTEXT_URL_PLACEHOLDER','stop','change:withBackButton','listenTo','setError','backButton','children','3116PdLEgO','ck-button-icon\x20ck-button-back','_handleSubmit','forEach','execute','getValue','_setupTemplate','8431mIDqyH','locale','trim','_focusables','element','value','esc','render','keystrokes','ck-ai-chat-context-controls__url-form','1715JZxpVc','ck-labeled-field-view_empty','_createBackButton','add','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','cancel','shift+tab','createCollection','22779vGKYga','tab','submitUrl','AI_CHAT_CONTEXT_URL_INVALID_ERROR','2229930deNLTw','urlInputField','AI_CHAT_CONTEXT_URL_LABEL','clear','8111090TWOWlj','div','152KFPOoi','fieldView','_setupEventHandlers','clearError','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','1961271AuBDIj','isEnabled','ck-ai-chat-context-controls__url-input-section','12zNLCwB','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','_isValidUrl','focusTracker','withBackButton','102025CPhGnN','confirmButton','\x20ck-hidden','set','_createUrlInputField','length','destroy','ck-button-icon','AI_CHAT_CONTEXT_URL_ADD_URL','input','_updateConfirmButtonState','errorText','submit'];_0x345e=function(){return _0x57a6ae;};return _0x345e();}(function(_0x26fa11,_0x5f23db){const _0x13149b=_0x5e07,_0x59d23c=_0x26fa11();while(!![]){try{const _0x31985c=-parseInt(_0x13149b(0x99))/0x1*(parseInt(_0x13149b(0xbd))/0x2)+-parseInt(_0x13149b(0xab))/0x3+parseInt(_0x13149b(0xde))/0x4*(parseInt(_0x13149b(0xa3))/0x5)+parseInt(_0x13149b(0xaf))/0x6+-parseInt(_0x13149b(0xc2))/0x7*(-parseInt(_0x13149b(0xb5))/0x8)+parseInt(_0x13149b(0xba))/0x9+-parseInt(_0x13149b(0xb3))/0xa;if(_0x31985c===_0x5f23db)break;else _0x59d23c['push'](_0x59d23c['shift']());}catch(_0x266264){_0x59d23c['push'](_0x59d23c['shift']());}}}(_0x345e,0x408d8));import{FocusTracker as _0x3427e7,KeystrokeHandler as _0x3317b7}from'ckeditor5/src/utils.js';import{ButtonView as _0x581f7a,FocusCycler as _0x30f0bc,LabeledFieldView as _0x4c5811,View as _0x4eb790,FormHeaderView as _0x10121c,createLabeledInputText as _0x365d2d,submitHandler as _0x5a96a3}from'ckeditor5/src/ui.js';import{IconCheck as _0x541fbf,IconPreviousArrow as _0xc768a9}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4e6ed7}from'../../../aicore/utils/common-translations.js';const rh=_0x19153c(0xa2),nh=_0x19153c(0xbc);export class AIChatContextPanelUrlInputView extends _0x4eb790{[_0x19153c(0xc0)];[_0x19153c(0xa1)];[_0x19153c(0x9c)];[_0x19153c(0xd0)];[_0x19153c(0xb0)];[_0x19153c(0xdc)];[_0x19153c(0xc3)];constructor(_0x4b46e9){const _0x48be6c=_0x19153c;super(_0x4b46e9),this[_0x48be6c(0xc0)]=new _0x3427e7(),this[_0x48be6c(0xa1)]=new _0x3317b7(),this[_0x48be6c(0xdc)]=this[_0x48be6c(0xa5)](),this[_0x48be6c(0xb0)]=this[_0x48be6c(0xc6)](),this[_0x48be6c(0xc3)]=this[_0x48be6c(0xd4)](),this[_0x48be6c(0x9c)]=this[_0x48be6c(0xaa)]([this[_0x48be6c(0xdc)],this[_0x48be6c(0xb0)],this[_0x48be6c(0xc3)]]),this[_0x48be6c(0xd0)]=new _0x30f0bc({'focusables':this[_0x48be6c(0x9c)],'focusTracker':this[_0x48be6c(0xc0)],'keystrokeHandler':this[_0x48be6c(0xa1)],'actions':{'focusPrevious':_0x48be6c(0xa9),'focusNext':_0x48be6c(0xac)}}),this[_0x48be6c(0xc5)](_0x48be6c(0xc1),!0x0),this[_0x48be6c(0x98)](),this[_0x48be6c(0xb7)](),this[_0x48be6c(0xd2)]();}[_0x19153c(0xa0)](){const _0x561161=_0x19153c;super[_0x561161(0xa0)](),this[_0x561161(0x9c)][_0x561161(0xe1)](_0x53cf73=>{const _0x39d49e=_0x561161;this[_0x39d49e(0xc0)][_0x39d49e(0xa6)](_0x53cf73[_0x39d49e(0x9d)]),this[_0x39d49e(0xa1)][_0x39d49e(0xda)](_0x53cf73[_0x39d49e(0x9d)]);}),_0x5a96a3({'view':this}),this[_0x561161(0xcf)]();}[_0x19153c(0xc8)](){const _0x294ce2=_0x19153c;super[_0x294ce2(0xc8)](),this[_0x294ce2(0xc0)][_0x294ce2(0xc8)](),this[_0x294ce2(0xa1)][_0x294ce2(0xc8)]();}[_0x19153c(0xcf)](){const _0xdd85af=_0x19153c;this[_0xdd85af(0xb0)][_0xdd85af(0xcf)]();}[_0x19153c(0x97)](){const _0x1367fc=_0x19153c;return this[_0x1367fc(0xb0)][_0x1367fc(0xb6)][_0x1367fc(0x9d)]?.[_0x1367fc(0x9e)]?.[_0x1367fc(0x9b)]()||'';}[_0x19153c(0xb2)](){const _0x53132f=_0x19153c;this[_0x53132f(0xb0)][_0x53132f(0xb6)][_0x53132f(0x9d)][_0x53132f(0x9e)]='',this[_0x53132f(0xb0)][_0x53132f(0xcd)]=null,this[_0x53132f(0xc3)][_0x53132f(0xbb)]=!0x1;}[_0x19153c(0xdb)](_0x5329dc){const _0xfbaa81=_0x19153c;this[_0xfbaa81(0xb0)][_0xfbaa81(0xcd)]=_0x5329dc,this[_0xfbaa81(0xcc)](),this[_0xfbaa81(0xd3)](_0xfbaa81(0xd1));}[_0x19153c(0xb8)](){const _0x450ade=_0x19153c;this[_0x450ade(0xb0)][_0x450ade(0xcd)]=null,this[_0x450ade(0xcc)]();}[_0x19153c(0xa5)](){const _0xc0540c=_0x19153c,_0x29f568=new _0x581f7a(this[_0xc0540c(0x9a)]);return _0x29f568[_0xc0540c(0xc5)]({'icon':_0xc768a9,'tooltip':_0x4e6ed7(this[_0xc0540c(0x9a)],_0xc0540c(0xa7)),'tooltipPosition':'n','class':[_0xc0540c(0xdf)]}),this['on'](_0xc0540c(0xd9),(_0x4d2b86,_0x1abdf5,_0x17f339)=>{const _0x3983dd=_0xc0540c;_0x29f568[_0x3983dd(0xc5)]({'class':[_0x3983dd(0xdf)+(_0x17f339?'':_0x3983dd(0xc4))]});}),_0x29f568;}[_0x19153c(0xc6)](){const _0x5920b5=_0x19153c,_0x22d4e3=new _0x4c5811(this[_0x5920b5(0x9a)],_0x365d2d);return _0x22d4e3[_0x5920b5(0xc5)]({'label':_0x4e6ed7(this[_0x5920b5(0x9a)],_0x5920b5(0xb1)),'class':_0x5920b5(0xa4)}),_0x22d4e3[_0x5920b5(0xb6)][_0x5920b5(0xc5)]({'placeholder':_0x4e6ed7(this[_0x5920b5(0x9a)],_0x5920b5(0xd7))}),_0x22d4e3;}[_0x19153c(0xd4)](){const _0x4046a9=_0x19153c,_0x973958=new _0x581f7a(this[_0x4046a9(0x9a)]);return _0x973958[_0x4046a9(0xc5)]({'icon':_0x541fbf,'tooltip':_0x4e6ed7(this[_0x4046a9(0x9a)],_0x4046a9(0xca)),'tooltipPosition':'n','class':_0x4046a9(0xc9),'type':_0x4046a9(0xce),'isEnabled':!0x1}),_0x973958;}[_0x19153c(0x98)](){const _0x19b003=_0x19153c,_0x232df1=new _0x10121c(this[_0x19b003(0x9a)],{'label':_0x4e6ed7(this[_0x19b003(0x9a)],_0x19b003(0xca)),'class':_0x19b003(0xb9)});_0x232df1[_0x19b003(0xdd)][_0x19b003(0xa6)](this[_0x19b003(0xdc)],0x0),this[_0x19b003(0xd6)]({'tag':_0x19b003(0xd5),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0x232df1,{'tag':_0x19b003(0xb4),'attributes':{'class':nh},'children':[this[_0x19b003(0xb0)],this[_0x19b003(0xc3)]]}]});}[_0x19153c(0xb7)](){const _0x3dfe8c=_0x19153c;this[_0x3dfe8c(0xdc)]['on'](_0x3dfe8c(0xe2),()=>{const _0x51045e=_0x3dfe8c;this[_0x51045e(0xb2)](),this[_0x51045e(0xd3)](_0x51045e(0xa8));}),this[_0x3dfe8c(0xb0)][_0x3dfe8c(0xb6)]['on'](_0x3dfe8c(0xcb),()=>{const _0x15bf6e=_0x3dfe8c;this[_0x15bf6e(0xb8)](),this[_0x15bf6e(0xcc)](),this[_0x15bf6e(0xd3)](_0x15bf6e(0xd1));}),this['on'](_0x3dfe8c(0xce),_0x4cb363=>{const _0x47eece=_0x3dfe8c;_0x4cb363[_0x47eece(0xd8)](),this[_0x47eece(0xe0)]();});}[_0x19153c(0xd2)](){const _0x1b3663=_0x19153c;this[_0x1b3663(0xa1)][_0x1b3663(0xc5)](_0x1b3663(0x9f),(_0x4f1322,_0x44736f)=>{const _0xec31e8=_0x1b3663;this[_0xec31e8(0xb2)](),this[_0xec31e8(0xd3)](_0xec31e8(0xa8)),_0x44736f();});}[_0x19153c(0xe0)](){const _0x18d6fd=_0x19153c,_0x153cd6=this[_0x18d6fd(0x97)]()[_0x18d6fd(0x9b)]();_0x153cd6?this[_0x18d6fd(0xbf)](_0x153cd6)?(this[_0x18d6fd(0xb8)](),this[_0x18d6fd(0xd3)](_0x18d6fd(0xad),_0x153cd6)):this[_0x18d6fd(0xdb)](_0x4e6ed7(this[_0x18d6fd(0x9a)],_0x18d6fd(0xae))):this[_0x18d6fd(0xdb)](_0x4e6ed7(this[_0x18d6fd(0x9a)],_0x18d6fd(0xbe)));}[_0x19153c(0xcc)](){const _0x506aa6=_0x19153c,_0x4610ce=this[_0x506aa6(0x97)]()[_0x506aa6(0x9b)](),_0x403bde=!!this[_0x506aa6(0xb0)][_0x506aa6(0xcd)];this[_0x506aa6(0xc3)][_0x506aa6(0xbb)]=_0x4610ce[_0x506aa6(0xc7)]>0x0&&!_0x403bde;}[_0x19153c(0xbf)](_0xcb96d5){try{return!!new URL(_0xcb96d5);}catch{return!0x1;}}}
23
+ const _0x253127=_0x1250;function _0xe705(){const _0x452691=['AI_CHAT_CONTEXT_URL_ADD_URL','shift+tab','77232MkXUSj','confirmButton','element','AI_CHAT_CONTEXT_URL_INVALID_ERROR','esc','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','add','6452YnwWlj','_createUrlInputField','listenTo','23278ktBgnM','change:withBackButton','setError','render','_setupTemplate','focus','submit','children','getValue','refreshBalloon','value','div','3282059kuHDFE','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','4000320RrQfZy','\x20ck-hidden','destroy','submitUrl','20wQNxhj','isEnabled','backButton','trim','tab','keystrokes','cancel','ck-labeled-field-view_empty','ck-button-icon','locale','_handleSubmit','ck-button-icon\x20ck-button-back','setTemplate','fire','focusTracker','ck-ai-chat-context-controls__url-input-section','_createConfirmButton','length','urlInputField','createCollection','_setupEventHandlers','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','withBackButton','3100mjhwQx','clearError','set','form','ck-ai-chat-context-controls__url-form','9FCdymk','_updateConfirmButtonState','execute','focusCycler','errorText','input','_createBackButton','clear','_focusables','fieldView','3293544qLnJol','AI_CHAT_CONTEXT_URL_LABEL','stop','298494glOcun','AI_CHAT_CONTEXT_URL_PLACEHOLDER','8OeLkSP','_setupKeystrokes','28VVUVpA','forEach','_isValidUrl'];_0xe705=function(){return _0x452691;};return _0xe705();}(function(_0x7a2edd,_0x2afa07){const _0x54b2ea=_0x1250,_0x4d098f=_0x7a2edd();while(!![]){try{const _0x34ee29=-parseInt(_0x54b2ea(0x1d2))/0x1*(-parseInt(_0x54b2ea(0x1e3))/0x2)+-parseInt(_0x54b2ea(0x1d0))/0x3+-parseInt(_0x54b2ea(0x1e0))/0x4*(-parseInt(_0x54b2ea(0x1be))/0x5)+parseInt(_0x54b2ea(0x1d9))/0x6*(parseInt(_0x54b2ea(0x1d4))/0x7)+parseInt(_0x54b2ea(0x1cd))/0x8*(parseInt(_0x54b2ea(0x1c3))/0x9)+parseInt(_0x54b2ea(0x1f5))/0xa*(-parseInt(_0x54b2ea(0x1ef))/0xb)+-parseInt(_0x54b2ea(0x1f1))/0xc;if(_0x34ee29===_0x2afa07)break;else _0x4d098f['push'](_0x4d098f['shift']());}catch(_0x459677){_0x4d098f['push'](_0x4d098f['shift']());}}}(_0xe705,0x809a5));import{FocusTracker as _0x487c0d,KeystrokeHandler as _0x562b6c}from'ckeditor5/src/utils.js';function _0x1250(_0x4cced8,_0x37aa2a){const _0xe7058a=_0xe705();return _0x1250=function(_0x12503a,_0x57176d){_0x12503a=_0x12503a-0x1b6;let _0x41c2df=_0xe7058a[_0x12503a];return _0x41c2df;},_0x1250(_0x4cced8,_0x37aa2a);}import{ButtonView as _0x2efc6a,FocusCycler as _0x434548,LabeledFieldView as _0x17f395,View as _0x50b419,FormHeaderView as _0xa856bd,createLabeledInputText as _0x496caa,submitHandler as _0x333e97}from'ckeditor5/src/ui.js';import{IconCheck as _0x30a4f2,IconPreviousArrow as _0x3c5cb1}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x557467}from'../../../aicore/utils/common-translations.js';const nh=_0x253127(0x1c2),lh=_0x253127(0x1b6);export class AIChatContextPanelUrlInputView extends _0x50b419{[_0x253127(0x203)];[_0x253127(0x1fa)];[_0x253127(0x1cb)];[_0x253127(0x1c6)];[_0x253127(0x1b9)];[_0x253127(0x1f7)];[_0x253127(0x1da)];constructor(_0x1db915){const _0x177121=_0x253127;super(_0x1db915),this[_0x177121(0x203)]=new _0x487c0d(),this[_0x177121(0x1fa)]=new _0x562b6c(),this[_0x177121(0x1f7)]=this[_0x177121(0x1c9)](),this[_0x177121(0x1b9)]=this[_0x177121(0x1e1)](),this[_0x177121(0x1da)]=this[_0x177121(0x1b7)](),this[_0x177121(0x1cb)]=this[_0x177121(0x1ba)]([this[_0x177121(0x1f7)],this[_0x177121(0x1b9)],this[_0x177121(0x1da)]]),this[_0x177121(0x1c6)]=new _0x434548({'focusables':this[_0x177121(0x1cb)],'focusTracker':this[_0x177121(0x203)],'keystrokeHandler':this[_0x177121(0x1fa)],'actions':{'focusPrevious':_0x177121(0x1d8),'focusNext':_0x177121(0x1f9)}}),this[_0x177121(0x1c0)](_0x177121(0x1bd),!0x0),this[_0x177121(0x1e7)](),this[_0x177121(0x1bb)](),this[_0x177121(0x1d3)]();}[_0x253127(0x1e6)](){const _0x7aa57c=_0x253127;super[_0x7aa57c(0x1e6)](),this[_0x7aa57c(0x1cb)][_0x7aa57c(0x1d5)](_0x5db1f8=>{const _0x354efd=_0x7aa57c;this[_0x354efd(0x203)][_0x354efd(0x1df)](_0x5db1f8[_0x354efd(0x1db)]),this[_0x354efd(0x1fa)][_0x354efd(0x1e2)](_0x5db1f8[_0x354efd(0x1db)]);}),_0x333e97({'view':this}),this[_0x7aa57c(0x1e8)]();}[_0x253127(0x1f3)](){const _0x449914=_0x253127;super[_0x449914(0x1f3)](),this[_0x449914(0x203)][_0x449914(0x1f3)](),this[_0x449914(0x1fa)][_0x449914(0x1f3)]();}[_0x253127(0x1e8)](){const _0x1e8160=_0x253127;this[_0x1e8160(0x1b9)][_0x1e8160(0x1e8)]();}[_0x253127(0x1eb)](){const _0x250c2e=_0x253127;return this[_0x250c2e(0x1b9)][_0x250c2e(0x1cc)][_0x250c2e(0x1db)]?.[_0x250c2e(0x1ed)]?.[_0x250c2e(0x1f8)]()||'';}[_0x253127(0x1ca)](){const _0x1aa27d=_0x253127;this[_0x1aa27d(0x1b9)][_0x1aa27d(0x1cc)][_0x1aa27d(0x1db)][_0x1aa27d(0x1ed)]='',this[_0x1aa27d(0x1b9)][_0x1aa27d(0x1c7)]=null,this[_0x1aa27d(0x1da)][_0x1aa27d(0x1f6)]=!0x1;}[_0x253127(0x1e5)](_0x38251c){const _0x127899=_0x253127;this[_0x127899(0x1b9)][_0x127899(0x1c7)]=_0x38251c,this[_0x127899(0x1c4)](),this[_0x127899(0x202)](_0x127899(0x1ec));}[_0x253127(0x1bf)](){const _0x2ef4ba=_0x253127;this[_0x2ef4ba(0x1b9)][_0x2ef4ba(0x1c7)]=null,this[_0x2ef4ba(0x1c4)]();}[_0x253127(0x1c9)](){const _0x48b9c7=_0x253127,_0x1e73af=new _0x2efc6a(this[_0x48b9c7(0x1fe)]);return _0x1e73af[_0x48b9c7(0x1c0)]({'icon':_0x3c5cb1,'tooltip':_0x557467(this[_0x48b9c7(0x1fe)],_0x48b9c7(0x1de)),'tooltipPosition':'n','class':[_0x48b9c7(0x200)]}),this['on'](_0x48b9c7(0x1e4),(_0x13dc13,_0x3a6621,_0xabbddc)=>{const _0x3ec1a4=_0x48b9c7;_0x1e73af[_0x3ec1a4(0x1c0)]({'class':[_0x3ec1a4(0x200)+(_0xabbddc?'':_0x3ec1a4(0x1f2))]});}),_0x1e73af;}[_0x253127(0x1e1)](){const _0x163acc=_0x253127,_0x18b43a=new _0x17f395(this[_0x163acc(0x1fe)],_0x496caa);return _0x18b43a[_0x163acc(0x1c0)]({'label':_0x557467(this[_0x163acc(0x1fe)],_0x163acc(0x1ce)),'class':_0x163acc(0x1fc)}),_0x18b43a[_0x163acc(0x1cc)][_0x163acc(0x1c0)]({'placeholder':_0x557467(this[_0x163acc(0x1fe)],_0x163acc(0x1d1))}),_0x18b43a;}[_0x253127(0x1b7)](){const _0x35902f=_0x253127,_0x26b53c=new _0x2efc6a(this[_0x35902f(0x1fe)]);return _0x26b53c[_0x35902f(0x1c0)]({'icon':_0x30a4f2,'tooltip':_0x557467(this[_0x35902f(0x1fe)],_0x35902f(0x1d7)),'tooltipPosition':'n','class':_0x35902f(0x1fd),'type':_0x35902f(0x1e9),'isEnabled':!0x1}),_0x26b53c;}[_0x253127(0x1e7)](){const _0x265ba1=_0x253127,_0x4bae69=new _0xa856bd(this[_0x265ba1(0x1fe)],{'label':_0x557467(this[_0x265ba1(0x1fe)],_0x265ba1(0x1d7)),'class':_0x265ba1(0x1bc)});_0x4bae69[_0x265ba1(0x1ea)][_0x265ba1(0x1df)](this[_0x265ba1(0x1f7)],0x0),this[_0x265ba1(0x201)]({'tag':_0x265ba1(0x1c1),'attributes':{'class':nh,'tabindex':'-1'},'children':[_0x4bae69,{'tag':_0x265ba1(0x1ee),'attributes':{'class':lh},'children':[this[_0x265ba1(0x1b9)],this[_0x265ba1(0x1da)]]}]});}[_0x253127(0x1bb)](){const _0x1e03b6=_0x253127;this[_0x1e03b6(0x1f7)]['on'](_0x1e03b6(0x1c5),()=>{const _0x33ecb5=_0x1e03b6;this[_0x33ecb5(0x1ca)](),this[_0x33ecb5(0x202)](_0x33ecb5(0x1fb));}),this[_0x1e03b6(0x1b9)][_0x1e03b6(0x1cc)]['on'](_0x1e03b6(0x1c8),()=>{const _0x1b6c51=_0x1e03b6;this[_0x1b6c51(0x1bf)](),this[_0x1b6c51(0x1c4)](),this[_0x1b6c51(0x202)](_0x1b6c51(0x1ec));}),this['on'](_0x1e03b6(0x1e9),_0x5ebaf0=>{const _0x2be21f=_0x1e03b6;_0x5ebaf0[_0x2be21f(0x1cf)](),this[_0x2be21f(0x1ff)]();});}[_0x253127(0x1d3)](){const _0x1debba=_0x253127;this[_0x1debba(0x1fa)][_0x1debba(0x1c0)](_0x1debba(0x1dd),(_0x39782f,_0x48c5f8)=>{const _0x24b9ec=_0x1debba;this[_0x24b9ec(0x1ca)](),this[_0x24b9ec(0x202)](_0x24b9ec(0x1fb)),_0x48c5f8();});}[_0x253127(0x1ff)](){const _0x16bb64=_0x253127,_0x57fe81=this[_0x16bb64(0x1eb)]()[_0x16bb64(0x1f8)]();_0x57fe81?this[_0x16bb64(0x1d6)](_0x57fe81)?(this[_0x16bb64(0x1bf)](),this[_0x16bb64(0x202)](_0x16bb64(0x1f4),_0x57fe81)):this[_0x16bb64(0x1e5)](_0x557467(this[_0x16bb64(0x1fe)],_0x16bb64(0x1dc))):this[_0x16bb64(0x1e5)](_0x557467(this[_0x16bb64(0x1fe)],_0x16bb64(0x1f0)));}[_0x253127(0x1c4)](){const _0x9c41e3=_0x253127,_0x2c7e82=this[_0x9c41e3(0x1eb)]()[_0x9c41e3(0x1f8)](),_0x4fbe1e=!!this[_0x9c41e3(0x1b9)][_0x9c41e3(0x1c7)];this[_0x9c41e3(0x1da)][_0x9c41e3(0x1f6)]=_0x2c7e82[_0x9c41e3(0x1b8)]>0x0&&!_0x4fbe1e;}[_0x253127(0x1d6)](_0x1ec7e5){try{return!!new URL(_0x1ec7e5);}catch{return!0x1;}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x355f0d=_0x3dd5;function _0x3dd5(_0x2aa6ec,_0x2c11cf){const _0x1d52dd=_0x1d52();return _0x3dd5=function(_0x3dd597,_0x5195f7){_0x3dd597=_0x3dd597-0xb6;let _0x4bb10b=_0x1d52dd[_0x3dd597];return _0x4bb10b;},_0x3dd5(_0x2aa6ec,_0x2c11cf);}(function(_0xde4cfc,_0x2a3f8e){const _0x2beed8=_0x3dd5,_0x4b6c7c=_0xde4cfc();while(!![]){try{const _0x217f70=-parseInt(_0x2beed8(0x12a))/0x1*(-parseInt(_0x2beed8(0x122))/0x2)+parseInt(_0x2beed8(0xfd))/0x3*(parseInt(_0x2beed8(0xef))/0x4)+parseInt(_0x2beed8(0xcd))/0x5*(parseInt(_0x2beed8(0x11a))/0x6)+-parseInt(_0x2beed8(0x138))/0x7+-parseInt(_0x2beed8(0x13d))/0x8+-parseInt(_0x2beed8(0xfc))/0x9*(-parseInt(_0x2beed8(0x102))/0xa)+-parseInt(_0x2beed8(0xdc))/0xb*(-parseInt(_0x2beed8(0xeb))/0xc);if(_0x217f70===_0x2a3f8e)break;else _0x4b6c7c['push'](_0x4b6c7c['shift']());}catch(_0x3d8916){_0x4b6c7c['push'](_0x4b6c7c['shift']());}}}(_0x1d52,0x469b1));import{BalloonPanelView as _0x512bcc,ButtonView as _0x11492b,clickOutsideHandler as _0x246d9b,FileDialogButtonView as _0x1c9c64,IconView as _0x33a812,View as _0x4e3850}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x1ecd83,IconDocument as _0x295598,IconDocumentOutline as _0x3f9ddd,IconDropdownArrow as _0x347f45,IconLink as _0xb30c67,IconPaperClip as _0x328706}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x2e6f38}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x32e255}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x2dcb09}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x911d9a}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x113b2d}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x355f0d(0xed),_0x355f0d(0x108),_0x355f0d(0xd4),_0x355f0d(0x123),_0x355f0d(0xc3),_0x355f0d(0x141),_0x355f0d(0xee)];const Uo=_0x355f0d(0xbb),Lo=_0x355f0d(0x124),No=_0x355f0d(0xb6),Mo=_0x355f0d(0xe9),Ho=_0x355f0d(0xfb),jo=_0x355f0d(0xe7),Fo=_0x355f0d(0x137),Xo=_0x355f0d(0x100),Do=_0x355f0d(0x14a),$o=_0x355f0d(0x127),Wo=_0x355f0d(0xb8),qo=_0x355f0d(0x14e),zo=[_0x512bcc[_0x355f0d(0xc8)][_0x355f0d(0x131)],_0x512bcc[_0x355f0d(0xc8)][_0x355f0d(0x130)],_0x512bcc[_0x355f0d(0xc8)][_0x355f0d(0x13f)],_0x512bcc[_0x355f0d(0xc8)][_0x355f0d(0xd8)],_0x512bcc[_0x355f0d(0xc8)][_0x355f0d(0x109)],_0x512bcc[_0x355f0d(0xc8)][_0x355f0d(0x10e)]];export class AIChatContextPanelView extends _0x4e3850{[_0x355f0d(0xf2)];[_0x355f0d(0x143)]=this[_0x355f0d(0xd2)]();[_0x355f0d(0x11f)]=this[_0x355f0d(0xd2)]();[_0x355f0d(0x134)];[_0x355f0d(0xe2)];[_0x355f0d(0xea)];[_0x355f0d(0xcc)];[_0x355f0d(0x101)];[_0x355f0d(0x12c)];[_0x355f0d(0x12b)]=!0x1;[_0x355f0d(0x116)];constructor(_0x1637ea,_0x1b25d5){const _0x5e965c=_0x355f0d;super(_0x1637ea),this[_0x5e965c(0x116)]=_0x1b25d5[_0x5e965c(0x116)],this[_0x5e965c(0x143)]=this[_0x5e965c(0xd2)](),this[_0x5e965c(0x11f)]=this[_0x5e965c(0xd2)](),this[_0x5e965c(0xf2)]=this[_0x5e965c(0x114)](_0x1637ea),this[_0x5e965c(0xe2)]=this[_0x5e965c(0x10b)](_0x1637ea),this[_0x5e965c(0xea)]=this[_0x5e965c(0x117)](_0x1637ea),this[_0x5e965c(0x101)]=this[_0x5e965c(0x136)](_0x1637ea,_0x1b25d5);const _0x57afe5={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':Do,'controlsButton':Xo}};this[_0x5e965c(0x134)]=new _0x2dcb09(_0x1637ea,this[_0x5e965c(0x143)],_0x57afe5,this[_0x5e965c(0x116)],this),this[_0x5e965c(0x12c)]={'buttonView':this[_0x5e965c(0xf2)],'balloonView':this[_0x5e965c(0xe2)],'hideMethod':this[_0x5e965c(0xe1)][_0x5e965c(0xde)](this),'showMethod':this[_0x5e965c(0x12d)][_0x5e965c(0xde)](this)},this[_0x5e965c(0xf0)](),this[_0x5e965c(0x146)]();}[_0x355f0d(0xc5)](){const _0x29b3fe=_0x355f0d;super[_0x29b3fe(0xc5)](),this[_0x29b3fe(0x110)](),this[_0x29b3fe(0x134)][_0x29b3fe(0x12e)](this[_0x29b3fe(0xce)]),this[_0x29b3fe(0x134)][_0x29b3fe(0x11e)]();}[_0x355f0d(0x111)](){const _0x64517f=_0x355f0d;super[_0x64517f(0x111)](),this[_0x64517f(0x134)][_0x64517f(0x111)](),this[_0x64517f(0x101)][_0x64517f(0x111)]();}[_0x355f0d(0x112)](_0xf19fe2,_0x23c346){const _0x2aff40=_0x355f0d,_0xd2529f=this[_0x2aff40(0x120)](_0xf19fe2,_0x2aff40(0x142),!0x0,_0x23c346);this[_0x2aff40(0xc7)](_0xd2529f,this[_0x2aff40(0x143)]),this[_0x2aff40(0x134)][_0x2aff40(0x11e)]();}[_0x355f0d(0xc3)](_0x5c8bd1){const _0x2ed855=_0x355f0d;this[_0x2ed855(0x132)](_0x5c8bd1,this[_0x2ed855(0x143)]),this[_0x2ed855(0x132)](_0x5c8bd1,this[_0x2ed855(0x134)][_0x2ed855(0x145)]),this[_0x2ed855(0x134)][_0x2ed855(0x11e)]();}[_0x355f0d(0x14d)](_0x29e7ec,_0x3fb8a0){const _0x5d503b=_0x355f0d;let _0x5829a1=this[_0x5d503b(0x143)][_0x5d503b(0xd3)](_0x2af43c=>_0x2af43c['id']===_0x29e7ec);_0x5829a1||(_0x5829a1=this[_0x5d503b(0x134)][_0x5d503b(0x145)][_0x5d503b(0xd3)](_0x26b7f1=>_0x26b7f1['id']===_0x29e7ec)),_0x5829a1&&(_0x5829a1[_0x5d503b(0x129)]=_0x3fb8a0);}[_0x355f0d(0x11c)](_0x2075cd){const _0x59657c=_0x355f0d;this[_0x59657c(0x11f)][_0x59657c(0xfa)]();for(const _0x4f620d of _0x2075cd){const _0x16ae81=this[_0x59657c(0x120)](_0x4f620d,_0x59657c(0xc1),!0x1,!0x1);this[_0x59657c(0xc7)](_0x16ae81,this[_0x59657c(0x11f)]);}}[_0x355f0d(0xc6)](){const _0x3df540=_0x355f0d;this[_0x3df540(0x143)][_0x3df540(0xfa)](),this[_0x3df540(0x134)][_0x3df540(0xfa)]();}[_0x355f0d(0xc9)](){const _0x9582ed=_0x355f0d;this[_0x9582ed(0x11f)][_0x9582ed(0xfa)]();}[_0x355f0d(0x119)](_0x3a9e27,_0x217235,_0x5527c4){const _0x2f587a=_0x355f0d;this[_0x2f587a(0x101)][_0x2f587a(0x119)](_0x3a9e27,_0x217235,_0x5527c4);}[_0x355f0d(0xe1)](){const _0x3164b5=_0x355f0d;this[_0x3164b5(0x126)](!0x1);}[_0x355f0d(0x12d)](){const _0xcbc0ef=_0x355f0d;this[_0xcbc0ef(0x126)](!0x0);}[_0x355f0d(0xe4)](){const _0x96f8d9=_0x355f0d;this[_0x96f8d9(0xea)][_0x96f8d9(0xcb)](),this[_0x96f8d9(0xf2)][_0x96f8d9(0xf9)]=!0x1,this[_0x96f8d9(0xcc)]&&this[_0x96f8d9(0xcc)][_0x96f8d9(0xfa)]();}[_0x355f0d(0xf5)](){const _0x4f5a7e=_0x355f0d;this[_0x4f5a7e(0xea)][_0x4f5a7e(0x11d)](),this[_0x4f5a7e(0xf2)][_0x4f5a7e(0xf9)]=!0x0;}[_0x355f0d(0xc4)]({source:_0xe072c,withBackButton:_0x259d64}){const _0x110e4d=_0x355f0d;this[_0x110e4d(0x101)][_0x110e4d(0xf7)]({'source':_0xe072c,'withBackButton':_0x259d64}),this[_0x110e4d(0xf2)][_0x110e4d(0xf9)]=!0x0;}[_0x355f0d(0xf4)](_0xd6a56c,_0x199d04,_0x58ba6a,_0x54146e){const _0x15d3af=_0x355f0d;this[_0x15d3af(0x101)][_0x15d3af(0xf4)](_0xd6a56c,_0x58ba6a,_0x54146e);}[_0x355f0d(0xb9)](_0x2aaa0c){const _0x20e7e2=_0x355f0d;this[_0x20e7e2(0x101)][_0x20e7e2(0xb9)](_0x2aaa0c),this[_0x20e7e2(0xf2)][_0x20e7e2(0xf9)]=!0x1;}[_0x355f0d(0x12f)](_0xdb77e3){const _0x4814d5=_0x355f0d;this[_0x4814d5(0xe6)](this[_0x4814d5(0xe2)],this[_0x4814d5(0x10c)],_0xdb77e3),this[_0x4814d5(0xca)](_0xdb77e3);}[_0x355f0d(0xca)](_0x27bb0c){const _0x5d17db=_0x355f0d,_0x44f109=!_0x27bb0c[_0x5d17db(0x14b)][_0x5d17db(0x13a)]&&_0x27bb0c[_0x5d17db(0x14b)][_0x5d17db(0xc2)],_0x296b0c=_0x27bb0c[_0x5d17db(0xf3)][_0x5d17db(0xc2)],_0x1ca5ad=_0x27bb0c[_0x5d17db(0xe0)][_0x5d17db(0xc2)],_0x2cb293=_0x27bb0c[_0x5d17db(0xec)][_0x5d17db(0x106)]>0x0,_0x3ede43=_0x27bb0c[_0x5d17db(0xb7)]&&_0x27bb0c[_0x5d17db(0xb7)][_0x5d17db(0x106)]>0x0;this[_0x5d17db(0xf2)][_0x5d17db(0xd9)]=_0x44f109||_0x296b0c||_0x1ca5ad||_0x2cb293||_0x3ede43;}[_0x355f0d(0xf0)](){const _0x1d0bdb=_0x355f0d;this[_0x1d0bdb(0xdb)]({'tag':_0x1d0bdb(0xcf),'attributes':{'class':[Uo,_0x1d0bdb(0xe5)]},'children':[{'tag':_0x1d0bdb(0xcf),'attributes':{'class':Lo},'children':this[_0x1d0bdb(0x143)]}]});}[_0x355f0d(0x146)](){const _0x1d1d40=_0x355f0d;this[_0x1d1d40(0xf2)]['on'](_0x1d1d40(0x10d),()=>{const _0x1b6989=_0x1d1d40;this[_0x1b6989(0x13c)]();});}[_0x355f0d(0x114)](_0x225a64){const _0x113447=_0x355f0d,_0x8ee6f8=new _0x11492b(_0x225a64);return _0x8ee6f8[_0x113447(0xd7)]({'label':_0x911d9a(_0x225a64,_0x113447(0x135)),'class':Xo+'\x20'+Mo,'icon':_0x328706,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x8ee6f8;}[_0x355f0d(0x10b)](_0x21ea97){const _0x53b8df=_0x355f0d;return this[_0x53b8df(0x13e)](_0x21ea97,No);}[_0x355f0d(0x117)](_0x48376e){const _0x270b25=_0x355f0d,_0x4c8be2=this[_0x270b25(0x13e)](_0x48376e,Ho);return this[_0x270b25(0x133)](_0x4c8be2,_0x48376e),_0x4c8be2;}[_0x355f0d(0x136)](_0x11b1e0,_0x3ff470){const _0x150ef4=_0x355f0d,_0x51933c={'searchInputVisibleFrom':_0x3ff470[_0x150ef4(0xbd)],'onBackToContext':()=>{const _0x2118c1=_0x150ef4;this[_0x2118c1(0x12d)](),this[_0x2118c1(0xe2)][_0x2118c1(0xd0)]({'target':this[_0x2118c1(0xf2)][_0x2118c1(0xce)],'limiter':this[_0x2118c1(0x107)](),'positions':zo});},'onResourceSelected':(_0xd0ad93,_0x414342)=>{const _0x5d8657=_0x150ef4;this[_0x5d8657(0x139)](_0x5d8657(0x123),{'source':_0xd0ad93,'resource':_0x414342});},'onLoadSourceResources':_0x5ffb19=>{const _0x208be0=_0x150ef4;this[_0x208be0(0x139)](_0x208be0(0x141),_0x5ffb19);},'onBalloonClosed':()=>{const _0x81c39b=_0x150ef4;this[_0x81c39b(0xf2)][_0x81c39b(0xf9)]=!0x1;},'getLimiterElement':()=>this[_0x150ef4(0x107)](),'getTargetElement':()=>this[_0x150ef4(0xf2)][_0x150ef4(0xce)]};return new _0x113b2d(_0x11b1e0,_0x3ff470[_0x150ef4(0x116)],_0x51933c);}[_0x355f0d(0x107)](){const _0x244c0b=_0x355f0d;return this[_0x244c0b(0xce)]?.[_0x244c0b(0x140)]('.'+qo)||document[_0x244c0b(0x105)];}[_0x355f0d(0x13e)](_0x366907,_0x2fd377){const _0x44224f=_0x355f0d,_0x5e34a9=new _0x512bcc(_0x366907);return _0x5e34a9[_0x44224f(0x104)]({'attributes':{'class':_0x2fd377}}),this[_0x44224f(0x116)][_0x44224f(0xbe)](_0x5e34a9),_0x5e34a9;}[_0x355f0d(0xe6)](_0x54580b,_0x357c6b,_0x2b695c){const _0x576b4c=_0x355f0d;if(_0x54580b[_0x576b4c(0xda)][_0x576b4c(0xfa)](),!_0x2b695c[_0x576b4c(0x14b)][_0x576b4c(0x13a)]&&_0x2b695c[_0x576b4c(0x14b)][_0x576b4c(0xc2)]){const _0x4c7ba0=this[_0x576b4c(0xdd)](_0x357c6b,{'label':_0x911d9a(_0x357c6b,_0x576b4c(0x103)),'icon':_0x295598});_0x4c7ba0['on'](_0x576b4c(0x10d),()=>{const _0x497677=_0x576b4c;this[_0x497677(0x139)](_0x497677(0xed)),this[_0x497677(0xe1)]();}),_0x54580b[_0x576b4c(0xda)][_0x576b4c(0xbe)](_0x4c7ba0);}if(_0x2b695c[_0x576b4c(0xf3)][_0x576b4c(0xc2)]){const _0x162bec=this[_0x576b4c(0xdd)](_0x357c6b,{'label':_0x911d9a(_0x357c6b,_0x576b4c(0xf8)),'icon':_0xb30c67});_0x162bec['on'](_0x576b4c(0x10d),()=>{const _0x410f11=_0x576b4c;this[_0x410f11(0xe1)](),this[_0x410f11(0xf5)](),this[_0x410f11(0xea)][_0x410f11(0xd0)]({'target':this[_0x410f11(0xf2)][_0x410f11(0xce)],'limiter':this[_0x410f11(0x107)](),'positions':zo}),this[_0x410f11(0xcc)][_0x410f11(0xf1)]();}),_0x54580b[_0x576b4c(0xda)][_0x576b4c(0xbe)](_0x162bec);}if(_0x2b695c[_0x576b4c(0xe0)][_0x576b4c(0xc2)]){const _0x183e47=new _0x1c9c64(_0x357c6b);_0x183e47[_0x576b4c(0xd7)]({'label':_0x911d9a(_0x357c6b,_0x576b4c(0x148)),'icon':_0x1ecd83,'withText':!0x0,'tooltip':!0x0,'class':jo,'allowMultipleFiles':!0x0}),_0x183e47['on'](_0x576b4c(0x10d),()=>{const _0x54e174=_0x576b4c;this[_0x54e174(0xe1)]();}),_0x183e47['on'](_0x576b4c(0xbf),(_0x4613d2,_0x19cc1f)=>{const _0x207aae=_0x576b4c;this[_0x207aae(0x139)](_0x207aae(0x108),_0x19cc1f);}),_0x183e47[_0x576b4c(0xba)]=!0x0,_0x54580b[_0x576b4c(0xda)][_0x576b4c(0xbe)](_0x183e47);}for(const _0x1c023a of _0x2b695c[_0x576b4c(0xec)]){const _0xcfb3c7=this[_0x576b4c(0xdd)](_0x357c6b,{'label':_0x1c023a[_0x576b4c(0xd1)],'icon':_0x1c023a[_0x576b4c(0xff)]||_0x3f9ddd,'type':_0x576b4c(0x125)});_0x54580b[_0x576b4c(0xda)][_0x576b4c(0xbe)](_0xcfb3c7),_0xcfb3c7['on'](_0x576b4c(0x10d),()=>{const _0x57057b=_0x576b4c;this[_0x57057b(0xe1)](),this[_0x57057b(0xc4)]({'source':_0x1c023a,'withBackButton':!this[_0x57057b(0x12b)]});});}for(const _0x57f091 of _0x2b695c[_0x576b4c(0xb7)]||[]){const _0x36b340=this[_0x576b4c(0xdd)](_0x357c6b,{'label':_0x57f091[_0x576b4c(0xd1)],'icon':_0x57f091[_0x576b4c(0xff)]||_0x3f9ddd,'type':_0x576b4c(0xe3)});_0x54580b[_0x576b4c(0xda)][_0x576b4c(0xbe)](_0x36b340),_0x36b340['on'](_0x576b4c(0x10d),()=>{const _0x28046e=_0x576b4c;this[_0x28046e(0xe1)](),this[_0x28046e(0x139)](_0x28046e(0xee),_0x57f091);});}this[_0x576b4c(0x12b)]=0x1===_0x54580b[_0x576b4c(0xda)][_0x576b4c(0x106)],this[_0x576b4c(0xcc)][_0x576b4c(0x128)]=!this[_0x576b4c(0x12b)];}[_0x355f0d(0x133)](_0x37a901,_0x5e41fd){const _0x5b61b2=_0x355f0d;this[_0x5b61b2(0xcc)]=new _0x32e255(_0x5e41fd),this[_0x5b61b2(0xcc)]['on'](_0x5b61b2(0x11b),(_0x5b001f,_0x35eb39)=>{const _0x2d4ffc=_0x5b61b2;this[_0x2d4ffc(0x149)](_0x35eb39);}),this[_0x5b61b2(0xcc)]['on'](_0x5b61b2(0xfe),()=>{const _0x367fe1=_0x5b61b2;this[_0x367fe1(0xe4)](),this[_0x367fe1(0x12b)]||(this[_0x367fe1(0x12d)](),this[_0x367fe1(0xe2)][_0x367fe1(0xd0)]({'target':this[_0x367fe1(0xf2)][_0x367fe1(0xce)],'limiter':this[_0x367fe1(0x107)](),'positions':zo}));}),this[_0x5b61b2(0xcc)]['on'](_0x5b61b2(0xdf),()=>{const _0x32e7ff=_0x5b61b2;this[_0x32e7ff(0xea)][_0x32e7ff(0x147)]&&this[_0x32e7ff(0xea)][_0x32e7ff(0xd0)]({'target':this[_0x32e7ff(0xf2)][_0x32e7ff(0xce)],'limiter':this[_0x32e7ff(0x107)](),'positions':zo});}),_0x37a901[_0x5b61b2(0xda)][_0x5b61b2(0xbe)](this[_0x5b61b2(0xcc)]);}[_0x355f0d(0xdd)](_0x4ea75f,_0x152df4){const _0x30297e=_0x355f0d,_0x29f33c=_0x30297e(0x125)===_0x152df4[_0x30297e(0x118)]?new SourcesBalloonButtonView(_0x4ea75f):new _0x11492b(_0x4ea75f);return _0x29f33c[_0x30297e(0xd7)]({'label':_0x152df4[_0x30297e(0xd1)],'icon':_0x152df4[_0x30297e(0xff)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':jo}),_0x29f33c;}[_0x355f0d(0x110)](){const _0x1e10db=_0x355f0d;this[_0x1e10db(0xbc)](),this[_0x1e10db(0x121)]();}[_0x355f0d(0x121)](){const _0x25614c=_0x355f0d;_0x246d9b({'emitter':this[_0x25614c(0xea)],'contextElements':[this[_0x25614c(0xea)][_0x25614c(0xce)]],'callback':()=>{const _0x25c7fd=_0x25614c;this[_0x25c7fd(0xe4)]();},'activator':()=>this[_0x25614c(0xea)][_0x25614c(0x147)]});}[_0x355f0d(0x126)](_0x56641b){const _0x1cf63b=_0x355f0d,_0x45db5c=this[_0x1cf63b(0x12c)];_0x45db5c[_0x1cf63b(0xd5)][_0x1cf63b(0xf9)]=_0x56641b,_0x56641b?_0x45db5c[_0x1cf63b(0x10a)][_0x1cf63b(0x11d)]():_0x45db5c[_0x1cf63b(0x10a)][_0x1cf63b(0xcb)]();}[_0x355f0d(0xbc)](){const _0x23ab0d=_0x355f0d,{balloonView:_0x1ced1c,buttonView:_0x3fb864,hideMethod:_0x43b49d}=this[_0x23ab0d(0x12c)];_0x246d9b({'emitter':_0x1ced1c,'contextElements':[_0x1ced1c[_0x23ab0d(0xce)],_0x3fb864[_0x23ab0d(0xce)]],'callback':()=>{_0x43b49d();},'activator':()=>_0x3fb864[_0x23ab0d(0xf9)]&&!this[_0x23ab0d(0xea)][_0x23ab0d(0x147)]&&!this[_0x23ab0d(0x101)][_0x23ab0d(0x115)]()});}[_0x355f0d(0x120)](_0x5ef0dd,_0x210afe,_0x2a9383=!0x1,_0x1f7bfc=!0x1){const _0x1fbf56=_0x355f0d,_0x547e64=_0x1fbf56(0xc1)===_0x210afe||!0x0===_0x5ef0dd[_0x1fbf56(0xc0)],_0x1499e8=new _0x2e6f38(this[_0x1fbf56(0x10c)],_0x5ef0dd,_0x547e64,_0x2a9383,_0x1f7bfc);return _0x547e64||_0x1499e8['on'](_0x1fbf56(0x13b),()=>{const _0x26ae23=_0x1fbf56;this[_0x26ae23(0x139)](_0x26ae23(0xc3),_0x1499e8['id']);}),_0x1499e8;}[_0x355f0d(0xc7)](_0x53803f,_0x9d031a){const _0x49a1b8=_0x355f0d;_0x9d031a[_0x49a1b8(0xbe)](_0x53803f,0x0);}[_0x355f0d(0x132)](_0x5708c9,_0x172170){const _0x40011f=_0x355f0d,_0x38ef76=_0x172170[_0x40011f(0xd3)](_0x4239b4=>_0x4239b4['id']===_0x5708c9);_0x38ef76&&_0x172170[_0x40011f(0x10f)](_0x38ef76);}[_0x355f0d(0x13c)](){const _0x1c8c85=_0x355f0d;this[_0x1c8c85(0xf2)][_0x1c8c85(0xf9)]?this[_0x1c8c85(0xe1)]():(this[_0x1c8c85(0x12d)](),this[_0x1c8c85(0xe2)][_0x1c8c85(0xd0)]({'target':this[_0x1c8c85(0xf2)][_0x1c8c85(0xce)],'limiter':this[_0x1c8c85(0x107)](),'positions':zo}),this[_0x1c8c85(0x12b)]&&this[_0x1c8c85(0xe2)][_0x1c8c85(0xda)][_0x1c8c85(0x14c)](0x0)?.[_0x1c8c85(0x139)](_0x1c8c85(0x10d)));}[_0x355f0d(0x149)](_0x1bd1ff){const _0x174c03=_0x355f0d;this[_0x174c03(0xcc)][_0x174c03(0xfa)](),this[_0x174c03(0xe4)](),this[_0x174c03(0x139)](_0x174c03(0xd4),_0x1bd1ff);}}export class SourcesBalloonButtonView extends _0x11492b{[_0x355f0d(0xf6)];constructor(_0x56116e){const _0x4bd207=_0x355f0d;super(_0x56116e),this[_0x4bd207(0xd7)]({'withText':!0x0,'role':_0x4bd207(0xe8)}),this[_0x4bd207(0xf6)]=this[_0x4bd207(0xd6)](),this[_0x4bd207(0x104)]({'attributes':{'class':[Fo]}});}[_0x355f0d(0xc5)](){const _0x2558a6=_0x355f0d;super[_0x2558a6(0xc5)](),this[_0x2558a6(0x144)][_0x2558a6(0xbe)](this[_0x2558a6(0xf6)]);}[_0x355f0d(0xd6)](){const _0x90aff0=_0x355f0d,_0x48d19=new _0x33a812();return _0x48d19[_0x90aff0(0xda)]=_0x347f45,_0x48d19[_0x90aff0(0x104)]({'attributes':{'class':Fo+_0x90aff0(0x113)}}),_0x48d19;}}function _0x1d52(){const _0x11cff5=['searchInputVisibleFrom','add','done','isReadOnly','conversation','enabled','removeContextItem','_showSourceResourcesBalloon','render','clearCurrentContextItems','_addContextToCollection','defaultPositions','clearConversationContextItems','_setAddContextButtonEnabled','hide','_urlInputView','17945fmntkj','element','div','pin','label','createCollection','find','addUrlToContext','buttonView','_createArrowView','set','southArrowNorthWest','isEnabled','content','setTemplate','88qjRiXK','_createBalloonButton','bind','refreshBalloon','files','hideAddContextBalloonPanel','_addContextBalloonPanelView','customItem','hideUrlBalloonPanel','ck-reset_all-excluded','_setBalloonPanelContent','ck-ai-chat-context-controls__balloon-button','menuitem','ck-ai-chat-context-controls__add-context-button','_urlBalloonPanelView','191652tvyRoL','sources','addDocumentToContext','executeCustomItemCallback','4ifUkey','_setupTemplate','focus','addContextButtonView','urls','populateSourceResourceBalloon','showUrlBalloonPanel','arrowView','showSourceResourcesBalloon','AI_CHAT_CONTEXT_URL_LABEL','isOn','clear','ck-ai-chat-context-controls__url-balloon-panel','39033tAdamR','558915DkatkU','cancel','icon','ck-ai-chat-controls-button','_resourcesBalloonView','120cKYzZO','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','extendTemplate','body','length','_getLimiterElement','addFileToContext','southArrowNorth','balloonView','_createAddContextBalloonPanelView','locale','execute','southArrowNorthEast','remove','_setupAllBalloonClickOutsideHandlers','destroy','addContextItem','__arrow','_createAddContextButtonView','isAnyResourceBalloonVisible','bodyCollection','_createUrlBalloonPanelView','type','updateResourceState','330AgGhZm','submitUrl','setConversationContext','show','reorganizeChips','_conversationContextsChips','_createContextButton','_setupUrlBalloonClickOutsideHandler','1202ODzTls','addResourceToContext','ck-ai-chat-context-controls__pending-contexts','source','_toggleAddContextBalloon','ck-ai-chat-controls_context_show-more-button','withBackButton','isLoading','454LCshOb','_hasExactlyOneSource','_addContextBalloonConfig','showAddContextBalloonPanel','setContainerElement','setAddContextOptions','northArrowSouth','northArrowSouthWest','_removeContextFromCollection','_addUrlContent','_overflowManager','AI_CHAT_CONTEXT_ADD_CONTEXT','_createResourcesBalloonView','ck-ai-chat-context-controls__balloon-button-source','2077222eUnKdj','fire','isHidden','removeContextItemChip','_handleAddContextButtonClick','2003352nRnMwH','_createBaseBalloonPanel','northArrowSouthEast','closest','loadSourceResources','current','_currentContextsChips','children','overflowChips','_bindEventHandlers','isVisible','AI_CHAT_CONTEXT_FILE_LABEL','_handleUrlSubmit','ck-ai-chat-context-chips-wrapper-balloon','document','get','setContextItemLoading','ck-ai-chat','ck-ai-chat-context-controls__add-context-balloon-panel','customItems','ck-ai-chat-context-controls__show-more-balloon-panel','closeSourceResourceBalloon','tooltip','ck-ai-chat-context-controls','_setupAddContextBalloonClickOutsideHandler'];_0x1d52=function(){return _0x11cff5;};return _0x1d52();}
23
+ const _0x46cdf6=_0x4658;(function(_0x34638a,_0xbe4b98){const _0x4051bc=_0x4658,_0xeb45ab=_0x34638a();while(!![]){try{const _0x29f765=-parseInt(_0x4051bc(0xfe))/0x1+parseInt(_0x4051bc(0x8f))/0x2+parseInt(_0x4051bc(0x9e))/0x3+-parseInt(_0x4051bc(0x10c))/0x4*(-parseInt(_0x4051bc(0xe1))/0x5)+parseInt(_0x4051bc(0xa4))/0x6+parseInt(_0x4051bc(0xf2))/0x7+-parseInt(_0x4051bc(0xdb))/0x8;if(_0x29f765===_0xbe4b98)break;else _0xeb45ab['push'](_0xeb45ab['shift']());}catch(_0x59a324){_0xeb45ab['push'](_0xeb45ab['shift']());}}}(_0x3991,0x6bebd));function _0x3991(){const _0x3277b7=['locale','44143DVMSps','_showSourceResourcesBalloon','add','balloonView','AI_CHAT_CONTEXT_ADD_CONTEXT','setContextItemLoading','done','_createAddContextBalloonPanelView','addContextButtonView','_createContextButton','customItems','icon','bind','populateSourceResourceBalloon','2064nVDyYc','isVisible','_setupUrlBalloonClickOutsideHandler','_setupAllBalloonClickOutsideHandlers','_setupTemplate','createCollection','showSourceResourcesBalloon','_urlBalloonPanelView','clear','executeCustomItemCallback','setConversationContext','loadSourceResources','_setBalloonPanelContent','northArrowSouthEast','ck-ai-chat-context-controls__add-context-button','searchInputVisibleFrom','execute','show','bodyCollection','label','ck-reset_all-excluded','closest','length','addResourceToContext','344582wFFzhY','_createUrlBalloonPanelView','_handleUrlSubmit','focus','customItem','buttonView','ck-ai-chat-context-controls__url-balloon-panel','_createResourcesBalloonView','hide','fire','_addUrlContent','showAddContextBalloonPanel','setContainerElement','_createAddContextButtonView','ck-ai-chat-controls_context_show-more-button','680337zqVAJX','arrowView','render','set','sources','_addContextBalloonPanelView','461562TKacAM','pin','_conversationContextsChips','isEnabled','_addContextBalloonConfig','addContextItem','southArrowNorth','_setupAddContextBalloonClickOutsideHandler','_createBaseBalloonPanel','overflowChips','removeContextItemChip','isHidden','element','isReadOnly','isLoading','conversation','_createBalloonButton','destroy','setAddContextOptions','find','ck-ai-chat-context-controls__balloon-button-source','source','cancel','submitUrl','addUrlToContext','_getLimiterElement','_createArrowView','removeContextItem','AI_CHAT_CONTEXT_URL_LABEL','closeSourceResourceBalloon','children','addFileToContext','_addContextToCollection','_handleAddContextButtonClick','ck-ai-chat-context-controls__add-context-balloon-panel','_hasExactlyOneSource','refreshBalloon','enabled','current','ck-ai-chat','urls','northArrowSouthWest','ck-ai-chat-context-controls__pending-contexts','_setAddContextButtonEnabled','ck-ai-chat-context-controls','body','AI_CHAT_CONTEXT_FILE_LABEL','_removeContextFromCollection','isAnyResourceBalloonVisible','ck-ai-chat-controls-button','remove','southArrowNorthEast','_overflowManager','menuitem','clearCurrentContextItems','4917152oGyHMS','get','tooltip','document','showUrlBalloonPanel','type','380rfyfQB','div','ck-ai-chat-context-chips-wrapper-balloon','defaultPositions','__arrow','reorganizeChips','_bindEventHandlers','updateResourceState','hideAddContextBalloonPanel','southArrowNorthWest','_toggleAddContextBalloon','clearConversationContextItems','content','northArrowSouth','_resourcesBalloonView','_currentContextsChips','withBackButton','4099333fgCgJm','_urlInputView','addDocumentToContext','isOn','setTemplate','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','extendTemplate','hideUrlBalloonPanel','ck-ai-chat-context-controls__balloon-button','files','ck-ai-chat-context-controls__show-more-balloon-panel'];_0x3991=function(){return _0x3277b7;};return _0x3991();}import{BalloonPanelView as _0x168f2e,ButtonView as _0x3d5c06,clickOutsideHandler as _0x3ec0d8,FileDialogButtonView as _0x4b3811,IconView as _0x366d16,View as _0x1dc98b}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x1cf317,IconDocument as _0x47234e,IconDocumentOutline as _0x4fd791,IconDropdownArrow as _0xcb40fe,IconLink as _0x3e9d1e,IconPaperClip as _0x195237}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x46a735}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x1b918a}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x14b0ab}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x37f3fa}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0xfd6c5d}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x46cdf6(0xf4),_0x46cdf6(0xc3),_0x46cdf6(0xbc),_0x46cdf6(0x8e),_0x46cdf6(0xbf),_0x46cdf6(0x82),_0x46cdf6(0x115)];const Ro=_0x46cdf6(0xd0),So=_0x46cdf6(0xce),Oo=_0x46cdf6(0xc6),Uo=_0x46cdf6(0x85),Lo=_0x46cdf6(0x95),No=_0x46cdf6(0xfa),Ho=_0x46cdf6(0xb8),jo=_0x46cdf6(0xd5),Fo=_0x46cdf6(0xe3),Bo=_0x46cdf6(0x9d),Mo=_0x46cdf6(0xfc),Xo=_0x46cdf6(0xcb),yo=[_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xcd)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xee)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0x84)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xea)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xaa)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xd7)]];function _0x4658(_0x430a8a,_0x3edb6c){const _0x3991df=_0x3991();return _0x4658=function(_0x465810,_0x473861){_0x465810=_0x465810-0x82;let _0x4afd33=_0x3991df[_0x465810];return _0x4afd33;},_0x4658(_0x430a8a,_0x3edb6c);}export class AIChatContextPanelView extends _0x1dc98b{[_0x46cdf6(0x106)];[_0x46cdf6(0xf0)]=this[_0x46cdf6(0x111)]();[_0x46cdf6(0xa6)]=this[_0x46cdf6(0x111)]();[_0x46cdf6(0xd8)];[_0x46cdf6(0xa3)];[_0x46cdf6(0x113)];[_0x46cdf6(0xf3)];[_0x46cdf6(0xef)];[_0x46cdf6(0xa8)];[_0x46cdf6(0xc7)]=!0x1;[_0x46cdf6(0x89)];constructor(_0x1cfad2,_0x4fea3a){const _0x3bddd6=_0x46cdf6;super(_0x1cfad2),this[_0x3bddd6(0x89)]=_0x4fea3a[_0x3bddd6(0x89)],this[_0x3bddd6(0xf0)]=this[_0x3bddd6(0x111)](),this[_0x3bddd6(0xa6)]=this[_0x3bddd6(0x111)](),this[_0x3bddd6(0x106)]=this[_0x3bddd6(0x9c)](_0x1cfad2),this[_0x3bddd6(0xa3)]=this[_0x3bddd6(0x105)](_0x1cfad2),this[_0x3bddd6(0x113)]=this[_0x3bddd6(0x90)](_0x1cfad2),this[_0x3bddd6(0xef)]=this[_0x3bddd6(0x96)](_0x1cfad2,_0x4fea3a);const _0x5172f6={'cssClasses':{'showMoreButton':Bo,'showMoreBalloon':Mo,'overflowContainer':Fo,'controlsButton':jo}};this[_0x3bddd6(0xd8)]=new _0x14b0ab(_0x1cfad2,this[_0x3bddd6(0xf0)],_0x5172f6,this[_0x3bddd6(0x89)],this),this[_0x3bddd6(0xa8)]={'buttonView':this[_0x3bddd6(0x106)],'balloonView':this[_0x3bddd6(0xa3)],'hideMethod':this[_0x3bddd6(0xe9)][_0x3bddd6(0x10a)](this),'showMethod':this[_0x3bddd6(0x9a)][_0x3bddd6(0x10a)](this)},this[_0x3bddd6(0x110)](),this[_0x3bddd6(0xe7)]();}[_0x46cdf6(0xa0)](){const _0x19e662=_0x46cdf6;super[_0x19e662(0xa0)](),this[_0x19e662(0x10f)](),this[_0x19e662(0xd8)][_0x19e662(0x9b)](this[_0x19e662(0xb0)]),this[_0x19e662(0xd8)][_0x19e662(0xe6)]();}[_0x46cdf6(0xb5)](){const _0x4fbea9=_0x46cdf6;super[_0x4fbea9(0xb5)](),this[_0x4fbea9(0xd8)][_0x4fbea9(0xb5)](),this[_0x4fbea9(0xef)][_0x4fbea9(0xb5)]();}[_0x46cdf6(0xa9)](_0x4be848,_0x5547d3){const _0x4cc02f=_0x46cdf6,_0x5aa2ee=this[_0x4cc02f(0x107)](_0x4be848,_0x4cc02f(0xca),!0x0,_0x5547d3);this[_0x4cc02f(0xc4)](_0x5aa2ee,this[_0x4cc02f(0xf0)]),this[_0x4cc02f(0xd8)][_0x4cc02f(0xe6)]();}[_0x46cdf6(0xbf)](_0x4acac4){const _0xd69216=_0x46cdf6;this[_0xd69216(0xd3)](_0x4acac4,this[_0xd69216(0xf0)]),this[_0xd69216(0xd3)](_0x4acac4,this[_0xd69216(0xd8)][_0xd69216(0xad)]),this[_0xd69216(0xd8)][_0xd69216(0xe6)]();}[_0x46cdf6(0x103)](_0x41b72c,_0x3e7820){const _0x1413dd=_0x46cdf6;let _0x49f9bc=this[_0x1413dd(0xf0)][_0x1413dd(0xb7)](_0xd1b348=>_0xd1b348['id']===_0x41b72c);_0x49f9bc||(_0x49f9bc=this[_0x1413dd(0xd8)][_0x1413dd(0xad)][_0x1413dd(0xb7)](_0x2e81f0=>_0x2e81f0['id']===_0x41b72c)),_0x49f9bc&&(_0x49f9bc[_0x1413dd(0xb2)]=_0x3e7820);}[_0x46cdf6(0x116)](_0x80eb4f){const _0x3f46bd=_0x46cdf6;this[_0x3f46bd(0xa6)][_0x3f46bd(0x114)]();for(const _0x5588cd of _0x80eb4f){const _0x607e2=this[_0x3f46bd(0x107)](_0x5588cd,_0x3f46bd(0xb3),!0x1,!0x1);this[_0x3f46bd(0xc4)](_0x607e2,this[_0x3f46bd(0xa6)]);}}[_0x46cdf6(0xda)](){const _0x4f7614=_0x46cdf6;this[_0x4f7614(0xf0)][_0x4f7614(0x114)](),this[_0x4f7614(0xd8)][_0x4f7614(0x114)]();}[_0x46cdf6(0xec)](){const _0x4fb80b=_0x46cdf6;this[_0x4fb80b(0xa6)][_0x4fb80b(0x114)]();}[_0x46cdf6(0xe8)](_0xa5e00e,_0x53b9cf,_0x543354){const _0x53b15f=_0x46cdf6;this[_0x53b15f(0xef)][_0x53b15f(0xe8)](_0xa5e00e,_0x53b9cf,_0x543354);}[_0x46cdf6(0xe9)](){const _0x10d368=_0x46cdf6;this[_0x10d368(0xeb)](!0x1);}[_0x46cdf6(0x9a)](){const _0x4e660a=_0x46cdf6;this[_0x4e660a(0xeb)](!0x0);}[_0x46cdf6(0xf9)](){const _0x8c672e=_0x46cdf6;this[_0x8c672e(0x113)][_0x8c672e(0x97)](),this[_0x8c672e(0x106)][_0x8c672e(0xf5)]=!0x1,this[_0x8c672e(0xf3)]&&this[_0x8c672e(0xf3)][_0x8c672e(0x114)]();}[_0x46cdf6(0xdf)](){const _0x111a16=_0x46cdf6;this[_0x111a16(0x113)][_0x111a16(0x88)](),this[_0x111a16(0x106)][_0x111a16(0xf5)]=!0x0;}[_0x46cdf6(0xff)]({source:_0x3b6987,withBackButton:_0x571505}){const _0x1ec66d=_0x46cdf6;this[_0x1ec66d(0xef)][_0x1ec66d(0x112)]({'source':_0x3b6987,'withBackButton':_0x571505}),this[_0x1ec66d(0x106)][_0x1ec66d(0xf5)]=!0x0;}[_0x46cdf6(0x10b)](_0x9c81f0,_0x483e37,_0x292c16,_0x5d7668){const _0x127f22=_0x46cdf6;this[_0x127f22(0xef)][_0x127f22(0x10b)](_0x9c81f0,_0x292c16,_0x5d7668);}[_0x46cdf6(0xc1)](_0x5b382a){const _0x25ece9=_0x46cdf6;this[_0x25ece9(0xef)][_0x25ece9(0xc1)](_0x5b382a),this[_0x25ece9(0x106)][_0x25ece9(0xf5)]=!0x1;}[_0x46cdf6(0xb6)](_0x451634){const _0x25054b=_0x46cdf6;this[_0x25054b(0x83)](this[_0x25054b(0xa3)],this[_0x25054b(0xfd)],_0x451634),this[_0x25054b(0xcf)](_0x451634);}[_0x46cdf6(0xcf)](_0x27fffc){const _0x4e0439=_0x46cdf6,_0x1e3dd8=!_0x27fffc[_0x4e0439(0xde)][_0x4e0439(0xaf)]&&_0x27fffc[_0x4e0439(0xde)][_0x4e0439(0xc9)],_0x399c90=_0x27fffc[_0x4e0439(0xcc)][_0x4e0439(0xc9)],_0x42819b=_0x27fffc[_0x4e0439(0xfb)][_0x4e0439(0xc9)],_0x3e9ebe=_0x27fffc[_0x4e0439(0xa2)][_0x4e0439(0x8d)]>0x0,_0x37033b=_0x27fffc[_0x4e0439(0x108)]&&_0x27fffc[_0x4e0439(0x108)][_0x4e0439(0x8d)]>0x0;this[_0x4e0439(0x106)][_0x4e0439(0xa7)]=_0x1e3dd8||_0x399c90||_0x42819b||_0x3e9ebe||_0x37033b;}[_0x46cdf6(0x110)](){const _0x2f52b7=_0x46cdf6;this[_0x2f52b7(0xf6)]({'tag':_0x2f52b7(0xe2),'attributes':{'class':[Ro,_0x2f52b7(0x8b)]},'children':[{'tag':_0x2f52b7(0xe2),'attributes':{'class':So},'children':this[_0x2f52b7(0xf0)]}]});}[_0x46cdf6(0xe7)](){const _0x43d981=_0x46cdf6;this[_0x43d981(0x106)]['on'](_0x43d981(0x87),()=>{const _0x4dbee2=_0x43d981;this[_0x4dbee2(0xc5)]();});}[_0x46cdf6(0x9c)](_0x264450){const _0x222eab=_0x46cdf6,_0x1d3270=new _0x3d5c06(_0x264450);return _0x1d3270[_0x222eab(0xa1)]({'label':_0x37f3fa(_0x264450,_0x222eab(0x102)),'class':jo+'\x20'+Uo,'icon':_0x195237,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x1d3270;}[_0x46cdf6(0x105)](_0x5c8af6){const _0x326cab=_0x46cdf6;return this[_0x326cab(0xac)](_0x5c8af6,Oo);}[_0x46cdf6(0x90)](_0x5ab1ad){const _0x115e40=_0x46cdf6,_0x1a4ef5=this[_0x115e40(0xac)](_0x5ab1ad,Lo);return this[_0x115e40(0x99)](_0x1a4ef5,_0x5ab1ad),_0x1a4ef5;}[_0x46cdf6(0x96)](_0x3345a3,_0x26f7b7){const _0x2efe76=_0x46cdf6,_0x51a801={'searchInputVisibleFrom':_0x26f7b7[_0x2efe76(0x86)],'onBackToContext':()=>{const _0x4a9ca9=_0x2efe76;this[_0x4a9ca9(0x9a)](),this[_0x4a9ca9(0xa3)][_0x4a9ca9(0xa5)]({'target':this[_0x4a9ca9(0x106)][_0x4a9ca9(0xb0)],'limiter':this[_0x4a9ca9(0xbd)](),'positions':yo});},'onResourceSelected':(_0x4edb1a,_0x574665)=>{const _0x39ce1a=_0x2efe76;this[_0x39ce1a(0x98)](_0x39ce1a(0x8e),{'source':_0x4edb1a,'resource':_0x574665});},'onLoadSourceResources':_0x53663a=>{const _0x172b7e=_0x2efe76;this[_0x172b7e(0x98)](_0x172b7e(0x82),_0x53663a);},'onBalloonClosed':()=>{const _0x157ad0=_0x2efe76;this[_0x157ad0(0x106)][_0x157ad0(0xf5)]=!0x1;},'getLimiterElement':()=>this[_0x2efe76(0xbd)](),'getTargetElement':()=>this[_0x2efe76(0x106)][_0x2efe76(0xb0)]};return new _0xfd6c5d(_0x3345a3,_0x26f7b7[_0x2efe76(0x89)],_0x51a801);}[_0x46cdf6(0xbd)](){const _0x310074=_0x46cdf6;return this[_0x310074(0xb0)]?.[_0x310074(0x8c)]('.'+Xo)||document[_0x310074(0xd1)];}[_0x46cdf6(0xac)](_0x27c6eb,_0x483575){const _0x20ac1d=_0x46cdf6,_0xcb0142=new _0x168f2e(_0x27c6eb);return _0xcb0142[_0x20ac1d(0xf8)]({'attributes':{'class':_0x483575}}),this[_0x20ac1d(0x89)][_0x20ac1d(0x100)](_0xcb0142),_0xcb0142;}[_0x46cdf6(0x83)](_0x33530d,_0x172a25,_0x5282a3){const _0x1145f6=_0x46cdf6;if(_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x114)](),!_0x5282a3[_0x1145f6(0xde)][_0x1145f6(0xaf)]&&_0x5282a3[_0x1145f6(0xde)][_0x1145f6(0xc9)]){const _0x3a8db0=this[_0x1145f6(0xb4)](_0x172a25,{'label':_0x37f3fa(_0x172a25,_0x1145f6(0xf7)),'icon':_0x47234e});_0x3a8db0['on'](_0x1145f6(0x87),()=>{const _0xd99717=_0x1145f6;this[_0xd99717(0x98)](_0xd99717(0xf4)),this[_0xd99717(0xe9)]();}),_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0x3a8db0);}if(_0x5282a3[_0x1145f6(0xcc)][_0x1145f6(0xc9)]){const _0xda35b7=this[_0x1145f6(0xb4)](_0x172a25,{'label':_0x37f3fa(_0x172a25,_0x1145f6(0xc0)),'icon':_0x3e9d1e});_0xda35b7['on'](_0x1145f6(0x87),()=>{const _0x3c0432=_0x1145f6;this[_0x3c0432(0xe9)](),this[_0x3c0432(0xdf)](),this[_0x3c0432(0x113)][_0x3c0432(0xa5)]({'target':this[_0x3c0432(0x106)][_0x3c0432(0xb0)],'limiter':this[_0x3c0432(0xbd)](),'positions':yo}),this[_0x3c0432(0xf3)][_0x3c0432(0x92)]();}),_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0xda35b7);}if(_0x5282a3[_0x1145f6(0xfb)][_0x1145f6(0xc9)]){const _0x446dd7=new _0x4b3811(_0x172a25);_0x446dd7[_0x1145f6(0xa1)]({'label':_0x37f3fa(_0x172a25,_0x1145f6(0xd2)),'icon':_0x1cf317,'withText':!0x0,'tooltip':!0x0,'class':No,'allowMultipleFiles':!0x0}),_0x446dd7['on'](_0x1145f6(0x87),()=>{const _0x100449=_0x1145f6;this[_0x100449(0xe9)]();}),_0x446dd7['on'](_0x1145f6(0x104),(_0x377824,_0x172988)=>{const _0x30cdd4=_0x1145f6;this[_0x30cdd4(0x98)](_0x30cdd4(0xc3),_0x172988);}),_0x446dd7[_0x1145f6(0xdd)]=!0x0,_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0x446dd7);}for(const _0x2afa65 of _0x5282a3[_0x1145f6(0xa2)]){const _0x275b98=this[_0x1145f6(0xb4)](_0x172a25,{'label':_0x2afa65[_0x1145f6(0x8a)],'icon':_0x2afa65[_0x1145f6(0x109)]||_0x4fd791,'type':_0x1145f6(0xb9)});_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0x275b98),_0x275b98['on'](_0x1145f6(0x87),()=>{const _0x32de8a=_0x1145f6;this[_0x32de8a(0xe9)](),this[_0x32de8a(0xff)]({'source':_0x2afa65,'withBackButton':!this[_0x32de8a(0xc7)]});});}for(const _0x31df42 of _0x5282a3[_0x1145f6(0x108)]||[]){const _0x248143=this[_0x1145f6(0xb4)](_0x172a25,{'label':_0x31df42[_0x1145f6(0x8a)],'icon':_0x31df42[_0x1145f6(0x109)]||_0x4fd791,'type':_0x1145f6(0x93)});_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0x248143),_0x248143['on'](_0x1145f6(0x87),()=>{const _0xd8fc39=_0x1145f6;this[_0xd8fc39(0xe9)](),this[_0xd8fc39(0x98)](_0xd8fc39(0x115),_0x31df42);});}this[_0x1145f6(0xc7)]=0x1===_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x8d)],this[_0x1145f6(0xf3)][_0x1145f6(0xf1)]=!this[_0x1145f6(0xc7)];}[_0x46cdf6(0x99)](_0x291df2,_0x2c88a5){const _0x56322b=_0x46cdf6;this[_0x56322b(0xf3)]=new _0x1b918a(_0x2c88a5),this[_0x56322b(0xf3)]['on'](_0x56322b(0xbb),(_0x58337b,_0x41d112)=>{const _0x1a5d6b=_0x56322b;this[_0x1a5d6b(0x91)](_0x41d112);}),this[_0x56322b(0xf3)]['on'](_0x56322b(0xba),()=>{const _0x4c2a70=_0x56322b;this[_0x4c2a70(0xf9)](),this[_0x4c2a70(0xc7)]||(this[_0x4c2a70(0x9a)](),this[_0x4c2a70(0xa3)][_0x4c2a70(0xa5)]({'target':this[_0x4c2a70(0x106)][_0x4c2a70(0xb0)],'limiter':this[_0x4c2a70(0xbd)](),'positions':yo}));}),this[_0x56322b(0xf3)]['on'](_0x56322b(0xc8),()=>{const _0x3d94f1=_0x56322b;this[_0x3d94f1(0x113)][_0x3d94f1(0x10d)]&&this[_0x3d94f1(0x113)][_0x3d94f1(0xa5)]({'target':this[_0x3d94f1(0x106)][_0x3d94f1(0xb0)],'limiter':this[_0x3d94f1(0xbd)](),'positions':yo});}),_0x291df2[_0x56322b(0xed)][_0x56322b(0x100)](this[_0x56322b(0xf3)]);}[_0x46cdf6(0xb4)](_0x5ed8fe,_0x9de66c){const _0x4c5b4f=_0x46cdf6,_0x3ecfd1=_0x4c5b4f(0xb9)===_0x9de66c[_0x4c5b4f(0xe0)]?new SourcesBalloonButtonView(_0x5ed8fe):new _0x3d5c06(_0x5ed8fe);return _0x3ecfd1[_0x4c5b4f(0xa1)]({'label':_0x9de66c[_0x4c5b4f(0x8a)],'icon':_0x9de66c[_0x4c5b4f(0x109)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':No}),_0x3ecfd1;}[_0x46cdf6(0x10f)](){const _0x867b38=_0x46cdf6;this[_0x867b38(0xab)](),this[_0x867b38(0x10e)]();}[_0x46cdf6(0x10e)](){const _0x2b1871=_0x46cdf6;_0x3ec0d8({'emitter':this[_0x2b1871(0x113)],'contextElements':[this[_0x2b1871(0x113)][_0x2b1871(0xb0)]],'callback':()=>{const _0x11e1af=_0x2b1871;this[_0x11e1af(0xf9)]();},'activator':()=>this[_0x2b1871(0x113)][_0x2b1871(0x10d)]});}[_0x46cdf6(0xeb)](_0x3e2fb8){const _0x233635=_0x46cdf6,_0x4a22f3=this[_0x233635(0xa8)];_0x4a22f3[_0x233635(0x94)][_0x233635(0xf5)]=_0x3e2fb8,_0x3e2fb8?_0x4a22f3[_0x233635(0x101)][_0x233635(0x88)]():_0x4a22f3[_0x233635(0x101)][_0x233635(0x97)]();}[_0x46cdf6(0xab)](){const _0x347978=_0x46cdf6,{balloonView:_0x307e9b,buttonView:_0x1491eb,hideMethod:_0x589bcb}=this[_0x347978(0xa8)];_0x3ec0d8({'emitter':_0x307e9b,'contextElements':[_0x307e9b[_0x347978(0xb0)],_0x1491eb[_0x347978(0xb0)]],'callback':()=>{_0x589bcb();},'activator':()=>_0x1491eb[_0x347978(0xf5)]&&!this[_0x347978(0x113)][_0x347978(0x10d)]&&!this[_0x347978(0xef)][_0x347978(0xd4)]()});}[_0x46cdf6(0x107)](_0x103956,_0x2e44c1,_0x346ff0=!0x1,_0x950c83=!0x1){const _0x2c6cf2=_0x46cdf6,_0x42a088=_0x2c6cf2(0xb3)===_0x2e44c1||!0x0===_0x103956[_0x2c6cf2(0xb1)],_0x12bbc7=new _0x46a735(this[_0x2c6cf2(0xfd)],_0x103956,_0x42a088,_0x346ff0,_0x950c83);return _0x42a088||_0x12bbc7['on'](_0x2c6cf2(0xae),()=>{const _0x6cfc64=_0x2c6cf2;this[_0x6cfc64(0x98)](_0x6cfc64(0xbf),_0x12bbc7['id']);}),_0x12bbc7;}[_0x46cdf6(0xc4)](_0x307188,_0x3eb9e2){const _0x822d37=_0x46cdf6;_0x3eb9e2[_0x822d37(0x100)](_0x307188,0x0);}[_0x46cdf6(0xd3)](_0x1246a1,_0x4d6e4c){const _0x3a41bc=_0x46cdf6,_0x45492e=_0x4d6e4c[_0x3a41bc(0xb7)](_0x3c32e6=>_0x3c32e6['id']===_0x1246a1);_0x45492e&&_0x4d6e4c[_0x3a41bc(0xd6)](_0x45492e);}[_0x46cdf6(0xc5)](){const _0x578705=_0x46cdf6;this[_0x578705(0x106)][_0x578705(0xf5)]?this[_0x578705(0xe9)]():(this[_0x578705(0x9a)](),this[_0x578705(0xa3)][_0x578705(0xa5)]({'target':this[_0x578705(0x106)][_0x578705(0xb0)],'limiter':this[_0x578705(0xbd)](),'positions':yo}),this[_0x578705(0xc7)]&&this[_0x578705(0xa3)][_0x578705(0xed)][_0x578705(0xdc)](0x0)?.[_0x578705(0x98)](_0x578705(0x87)));}[_0x46cdf6(0x91)](_0x49c712){const _0x41f33b=_0x46cdf6;this[_0x41f33b(0xf3)][_0x41f33b(0x114)](),this[_0x41f33b(0xf9)](),this[_0x41f33b(0x98)](_0x41f33b(0xbc),_0x49c712);}}export class SourcesBalloonButtonView extends _0x3d5c06{[_0x46cdf6(0x9f)];constructor(_0x494d7b){const _0x414189=_0x46cdf6;super(_0x494d7b),this[_0x414189(0xa1)]({'withText':!0x0,'role':_0x414189(0xd9)}),this[_0x414189(0x9f)]=this[_0x414189(0xbe)](),this[_0x414189(0xf8)]({'attributes':{'class':[Ho]}});}[_0x46cdf6(0xa0)](){const _0x5b77d5=_0x46cdf6;super[_0x5b77d5(0xa0)](),this[_0x5b77d5(0xc2)][_0x5b77d5(0x100)](this[_0x5b77d5(0x9f)]);}[_0x46cdf6(0xbe)](){const _0x2c84d8=_0x46cdf6,_0x31b13c=new _0x366d16();return _0x31b13c[_0x2c84d8(0xed)]=_0xcb40fe,_0x31b13c[_0x2c84d8(0xf8)]({'attributes':{'class':Ho+_0x2c84d8(0xe5)}}),_0x31b13c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ee0e3=_0x1baf;(function(_0x3f14ce,_0x2ad70a){const _0x3cbdb6=_0x1baf,_0x1e2ecc=_0x3f14ce();while(!![]){try{const _0x1f4e44=parseInt(_0x3cbdb6(0x14c))/0x1*(-parseInt(_0x3cbdb6(0x155))/0x2)+parseInt(_0x3cbdb6(0x13e))/0x3+parseInt(_0x3cbdb6(0x142))/0x4+parseInt(_0x3cbdb6(0x144))/0x5+parseInt(_0x3cbdb6(0x147))/0x6+-parseInt(_0x3cbdb6(0x157))/0x7+parseInt(_0x3cbdb6(0x14e))/0x8;if(_0x1f4e44===_0x2ad70a)break;else _0x1e2ecc['push'](_0x1e2ecc['shift']());}catch(_0x2b3813){_0x1e2ecc['push'](_0x1e2ecc['shift']());}}}(_0xef59,0x83cd4));import{ButtonView as _0x19c96e,View as _0x5789b0}from'ckeditor5/src/ui.js';function _0x1baf(_0x118725,_0x1c4ebf){const _0xef599f=_0xef59();return _0x1baf=function(_0x1bafd8,_0x40efe9){_0x1bafd8=_0x1bafd8-0x13d;let _0x2fb6ce=_0xef599f[_0x1bafd8];return _0x2fb6ce;},_0x1baf(_0x118725,_0x1c4ebf);}function _0xef59(){const _0x1d5b90=['1969353XtHNqM','_loaderView','abortPromptStream','_cancelButtonView','2974072EVlkny','ck-ai-chat-controls-loader-icon','2256260yWCLoW','execute','_createCancelButtonView','968388ehvgvN','set','_createLoaderView','locale','setTemplate','48399lgNtky','AI_CHAT_IS_WRITING','855008KkbCIk','ck-reset_all','AI_CHAT_STOP_GENERATING','ck-ai-chat-controls-loader-wrapper','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader','fire','28IbXviv','ck-ai-button-secondary\x20ck-ai-button-stop-generating','6314343AZKrUa','div'];_0xef59=function(){return _0x1d5b90;};return _0xef59();}import{IconStop as _0x9ec83f}from'ckeditor5/src/icons.js';import{getTranslation as _0x2661f9}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x5789b0{[_0x5ee0e3(0x141)];[_0x5ee0e3(0x13f)];constructor(_0x4cf34e){const _0x5cd479=_0x5ee0e3;super(_0x4cf34e),this[_0x5cd479(0x141)]=this[_0x5cd479(0x146)](),this[_0x5cd479(0x13f)]=this[_0x5cd479(0x149)](),this[_0x5cd479(0x14b)]({'tag':_0x5cd479(0x13d),'attributes':{'class':['ck',_0x5cd479(0x151),_0x5cd479(0x14f)]},'children':[this[_0x5cd479(0x13f)],this[_0x5cd479(0x141)]]});}[_0x5ee0e3(0x146)](){const _0x4870d5=_0x5ee0e3,_0x2bd234=new _0x19c96e(this[_0x4870d5(0x14a)]);return _0x2bd234[_0x4870d5(0x148)]({'label':_0x2661f9(this[_0x4870d5(0x14a)],_0x4870d5(0x150)),'withText':!0x0,'class':_0x4870d5(0x156),'icon':_0x9ec83f}),_0x2bd234['on'](_0x4870d5(0x145),()=>{const _0x1d1f80=_0x4870d5;this[_0x1d1f80(0x154)](_0x1d1f80(0x140));}),_0x2bd234;}[_0x5ee0e3(0x149)](){const _0x54d848=_0x5ee0e3,_0x50f18b=new _0x5789b0(this[_0x54d848(0x14a)]);return _0x50f18b[_0x54d848(0x14b)]({'tag':_0x54d848(0x13d),'attributes':{'class':[_0x54d848(0x153)]},'children':[{'tag':_0x54d848(0x13d),'attributes':{'class':[_0x54d848(0x143)]},'children':[{'tag':_0x54d848(0x13d),'attributes':{'class':[_0x54d848(0x152)]}},{'tag':_0x54d848(0x13d),'attributes':{'class':[_0x54d848(0x152)]}},{'tag':_0x54d848(0x13d),'attributes':{'class':[_0x54d848(0x152)]}}]},{'text':_0x2661f9(this[_0x54d848(0x14a)],_0x54d848(0x14d))}]}),_0x50f18b;}}
23
+ const _0x116620=_0x42e4;(function(_0x34b210,_0x16a691){const _0x3e239e=_0x42e4,_0x3e3c14=_0x34b210();while(!![]){try{const _0x143274=-parseInt(_0x3e239e(0x8d))/0x1*(-parseInt(_0x3e239e(0x88))/0x2)+parseInt(_0x3e239e(0x73))/0x3+parseInt(_0x3e239e(0x7e))/0x4+-parseInt(_0x3e239e(0x7d))/0x5*(parseInt(_0x3e239e(0x8b))/0x6)+parseInt(_0x3e239e(0x83))/0x7*(-parseInt(_0x3e239e(0x81))/0x8)+parseInt(_0x3e239e(0x7b))/0x9*(parseInt(_0x3e239e(0x8f))/0xa)+-parseInt(_0x3e239e(0x7c))/0xb*(parseInt(_0x3e239e(0x77))/0xc);if(_0x143274===_0x16a691)break;else _0x3e3c14['push'](_0x3e3c14['shift']());}catch(_0x49f2d3){_0x3e3c14['push'](_0x3e3c14['shift']());}}}(_0x2f5c,0x4f4f5));import{ButtonView as _0x227b3d,View as _0x35f1c0}from'ckeditor5/src/ui.js';import{IconStop as _0x3a8c94}from'ckeditor5/src/icons.js';function _0x42e4(_0x3d295d,_0x10efb0){const _0x2f5c96=_0x2f5c();return _0x42e4=function(_0x42e428,_0x55e5eb){_0x42e428=_0x42e428-0x72;let _0x507567=_0x2f5c96[_0x42e428];return _0x507567;},_0x42e4(_0x3d295d,_0x10efb0);}import{getTranslation as _0x1ff2d3}from'../../../aicore/utils/common-translations.js';function _0x2f5c(){const _0xe9e43f=['ck-ai-chat-controls-loader','_createCancelButtonView','ck-ai-button-secondary\x20ck-ai-button-stop-generating','_loaderView','4kKAIbz','AI_CHAT_STOP_GENERATING','locale','12SXGDxk','fire','222014gnRzpz','AI_CHAT_IS_WRITING','399970UQMPcV','ck-ai-chat-controls-loader-icon-dot','set','1276743AEUHNF','_createLoaderView','setTemplate','ck-ai-chat-controls-loader-wrapper','48qlViPy','execute','ck-reset_all','ck-ai-chat-controls-loader-icon','18EDWWEq','95766TZVWAU','818395VdyFee','1328840zxHNhM','abortPromptStream','_cancelButtonView','8giGnmG','div','4163446tVsJQP'];_0x2f5c=function(){return _0xe9e43f;};return _0x2f5c();}export class AIChatControlsLoaderView extends _0x35f1c0{[_0x116620(0x80)];[_0x116620(0x87)];constructor(_0x63baec){const _0x219d40=_0x116620;super(_0x63baec),this[_0x219d40(0x80)]=this[_0x219d40(0x85)](),this[_0x219d40(0x87)]=this[_0x219d40(0x74)](),this[_0x219d40(0x75)]({'tag':_0x219d40(0x82),'attributes':{'class':['ck',_0x219d40(0x76),_0x219d40(0x79)]},'children':[this[_0x219d40(0x87)],this[_0x219d40(0x80)]]});}[_0x116620(0x85)](){const _0x4d34f4=_0x116620,_0x23c448=new _0x227b3d(this[_0x4d34f4(0x8a)]);return _0x23c448[_0x4d34f4(0x72)]({'label':_0x1ff2d3(this[_0x4d34f4(0x8a)],_0x4d34f4(0x89)),'withText':!0x0,'class':_0x4d34f4(0x86),'icon':_0x3a8c94}),_0x23c448['on'](_0x4d34f4(0x78),()=>{const _0x351d0f=_0x4d34f4;this[_0x351d0f(0x8c)](_0x351d0f(0x7f));}),_0x23c448;}[_0x116620(0x74)](){const _0x32b1a4=_0x116620,_0x476aa9=new _0x35f1c0(this[_0x32b1a4(0x8a)]);return _0x476aa9[_0x32b1a4(0x75)]({'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x84)]},'children':[{'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x7a)]},'children':[{'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x90)]}},{'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x90)]}},{'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x90)]}}]},{'text':_0x1ff2d3(this[_0x32b1a4(0x8a)],_0x32b1a4(0x8e))}]}),_0x476aa9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb5d2e6=_0xced5;function _0xced5(_0x451c69,_0x4c044e){const _0x1a7a2f=_0x1a7a();return _0xced5=function(_0xced56b,_0x10a4bf){_0xced56b=_0xced56b-0x1e3;let _0x5e9ad1=_0x1a7a2f[_0xced56b];return _0x5e9ad1;},_0xced5(_0x451c69,_0x4c044e);}function _0x1a7a(){const _0x2a4802=['name','createCollection','setModel','capabilities','setWebSearch','clear','disableModelSelector','length','AI_CHAT_COMMANDS','isVisible','fire','ck-ai-chat-controls__model-selection__item-description','bindTemplate','ck-ai-button-tertiary','content','style','selectModel','_createModelNameView','8456hbzSzG','_createCommandsButton','webSearchActive','_modelNameView','isEnabled','locale','_reasoningButton','reasoningActive','ck-ai-chat-controls__model-selection__item-capabilities','ck-ai-chat__prompt-capabilities','ck-ai-chat-controls__model-selection','AI_CHAT_DISABLE_REASONING','set','_getCapabilityParts','model','label','setTemplate','text','modelSelectorEnabled','AI_CHAT_CAPABILITIES_NO','ck-button__label','log','ck-ai-chat-controls-button--commands','_webSearchButton','setModelList','menuitemradio','ck-hidden','7485570JuWmxg','toggleReasoning','webSearch','button','ck-ai-chat-controls__model-name','AI_CHAT_REASONING','source','_commandsButton','selector','activeModelId','buttonView','_createReasoningButton','addMany','bind','51lLsZKb','listenTo','AI_CHAT_DISABLE_WEB_SEARCH','_createModelSelectionDropdown','ck-ai-chat-controls-button','extendTemplate','2661582LhQpUn','modelDisplayMode','enableModelSelector','activeModelName','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','187221OTxPnO','setReasoning','hidden','_modelSelectionDropdown','execute','AI_CHAT_SEARCH_WEB','reasoning','ck-ai-chat-controls__model-selection__item-name','description','_createWebSearchButton','div','add','enabled','129076lewaPO','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_ENABLE_REASONING','3213795KSNQzw','tooltip','AI_CHAT_CAPABILITIES_YES','toggleWebSearch','943464HCfVby','1952dqUXjg','isOn','Commands\x20are\x20not\x20implemented\x20yet.','span','_modelSelectionDropdownItems','AI_CHAT_ENABLE_WEB_SEARCH'];_0x1a7a=function(){return _0x2a4802;};return _0x1a7a();}(function(_0x21d81e,_0x403236){const _0x280cd7=_0xced5,_0x4acb94=_0x21d81e();while(!![]){try{const _0x3cf673=-parseInt(_0x280cd7(0x235))/0x1+-parseInt(_0x280cd7(0x1e8))/0x2+parseInt(_0x280cd7(0x22a))/0x3*(-parseInt(_0x280cd7(0x242))/0x4)+parseInt(_0x280cd7(0x1e4))/0x5+parseInt(_0x280cd7(0x230))/0x6+parseInt(_0x280cd7(0x201))/0x7*(-parseInt(_0x280cd7(0x1e9))/0x8)+parseInt(_0x280cd7(0x21c))/0x9;if(_0x3cf673===_0x403236)break;else _0x4acb94['push'](_0x4acb94['shift']());}catch(_0x313898){_0x4acb94['push'](_0x4acb94['shift']());}}}(_0x1a7a,0x65840));import{Collection as _0x2f8000}from'ckeditor5/src/utils.js';import{IconAI as _0x578ec8,IconBulb as _0x1deeb0,IconWeb as _0x46540f}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x445c45,ButtonLabelView as _0x170439,ButtonView as _0x49dc33,createDropdown as _0x3db09b,IconView as _0x2ad70a,UIModel as _0x306162,View as _0x8b4bd9}from'ckeditor5/src/ui.js';import{getTranslation as _0x33b260}from'../../../aicore/utils/common-translations.js';const Ko=_0xb5d2e6(0x20a),Xo=_0xb5d2e6(0x22e),Qo=_0xb5d2e6(0x217),Zo=_0xb5d2e6(0x1fc),tl=_0xb5d2e6(0x20b),el=_0xb5d2e6(0x23c),il=_0xb5d2e6(0x1fa),sl=_0xb5d2e6(0x209),ol='n';export class AIChatPromptCapabilitiesView extends _0x8b4bd9{[_0xb5d2e6(0x218)];[_0xb5d2e6(0x207)];[_0xb5d2e6(0x223)];[_0xb5d2e6(0x238)];[_0xb5d2e6(0x1ed)];[_0xb5d2e6(0x204)];constructor(_0x15327e){const _0x5ed55e=_0xb5d2e6;super(_0x15327e),this[_0x5ed55e(0x20d)](_0x5ed55e(0x203),!0x1),this[_0x5ed55e(0x20d)](_0x5ed55e(0x208),!0x1),this[_0x5ed55e(0x20d)](_0x5ed55e(0x231),_0x5ed55e(0x224)),this[_0x5ed55e(0x20d)](_0x5ed55e(0x213),!0x0),this[_0x5ed55e(0x20d)](_0x5ed55e(0x225),null),this[_0x5ed55e(0x20d)](_0x5ed55e(0x233),null),this[_0x5ed55e(0x238)]=this[_0x5ed55e(0x22d)](),this[_0x5ed55e(0x204)]=this[_0x5ed55e(0x200)](),this[_0x5ed55e(0x218)]=this[_0x5ed55e(0x23e)](),this[_0x5ed55e(0x207)]=this[_0x5ed55e(0x227)](),this[_0x5ed55e(0x223)]=this[_0x5ed55e(0x202)](),this[_0x5ed55e(0x238)][_0x5ed55e(0x226)][_0x5ed55e(0x229)](_0x5ed55e(0x1f8))['to'](this,_0x5ed55e(0x231),_0x2b35d6=>_0x5ed55e(0x224)===_0x2b35d6),this[_0x5ed55e(0x238)][_0x5ed55e(0x226)][_0x5ed55e(0x229)](_0x5ed55e(0x1e5))['to'](this,_0x5ed55e(0x213),_0x209926=>_0x209926?this[_0x5ed55e(0x238)][_0x5ed55e(0x226)][_0x5ed55e(0x210)]:_0x33b260(this[_0x5ed55e(0x206)],_0x5ed55e(0x234))),this[_0x5ed55e(0x238)][_0x5ed55e(0x229)](_0x5ed55e(0x205))['to'](this,_0x5ed55e(0x213),_0x3f1d9f=>_0x3f1d9f),this[_0x5ed55e(0x218)][_0x5ed55e(0x229)](_0x5ed55e(0x1ea))['to'](this,_0x5ed55e(0x203),_0x12bdc2=>_0x12bdc2),this[_0x5ed55e(0x218)][_0x5ed55e(0x229)](_0x5ed55e(0x1e5))['to'](this,_0x5ed55e(0x203),_0x29e18b=>_0x33b260(this[_0x5ed55e(0x206)],_0x29e18b?_0x5ed55e(0x22c):_0x5ed55e(0x1ee))),this[_0x5ed55e(0x207)][_0x5ed55e(0x229)](_0x5ed55e(0x1ea))['to'](this,_0x5ed55e(0x208),_0x59d51f=>_0x59d51f),this[_0x5ed55e(0x207)][_0x5ed55e(0x229)](_0x5ed55e(0x1e5))['to'](this,_0x5ed55e(0x208),_0x572a=>_0x33b260(this[_0x5ed55e(0x206)],_0x572a?_0x5ed55e(0x20c):_0x5ed55e(0x1e3))),this[_0x5ed55e(0x211)]({'tag':_0x5ed55e(0x23f),'attributes':{'class':[Ko]},'children':[this[_0x5ed55e(0x238)],this[_0x5ed55e(0x204)],this[_0x5ed55e(0x218)],this[_0x5ed55e(0x207)],this[_0x5ed55e(0x223)]]}),this[_0x5ed55e(0x1ed)]=new _0x2f8000(),_0x445c45(this[_0x5ed55e(0x238)],this[_0x5ed55e(0x1ed)]);}[_0xb5d2e6(0x219)](_0x479b5a,_0x360ca3){const _0x477351=_0xb5d2e6;if(_0x360ca3)this[_0x477351(0x20d)](_0x477351(0x231),_0x477351(0x237));else{const _0x4cce54=0x1===_0x479b5a[_0x477351(0x1f6)];this[_0x477351(0x20d)](_0x477351(0x231),_0x4cce54?_0x477351(0x1ef):_0x477351(0x224));}if(this[_0x477351(0x1ed)][_0x477351(0x1f4)](),_0x479b5a?.[_0x477351(0x1f6)])for(const _0x1ddc03 of _0x479b5a){const _0x388261=new _0x306162({'label':_0x1ddc03[_0x477351(0x1ef)],'withText':!0x0,'role':_0x477351(0x21a),'id':_0x1ddc03['id'],'model':_0x1ddc03});_0x388261[_0x477351(0x229)](_0x477351(0x1ea))['to'](this,_0x477351(0x225),_0x4d163c=>_0x4d163c===_0x1ddc03['id']),this[_0x477351(0x1ed)][_0x477351(0x240)]({'type':_0x477351(0x21f),'model':_0x388261,'labelView':new ko(this[_0x477351(0x206)],_0x1ddc03)});}}[_0xb5d2e6(0x1f3)](_0x2c046d){const _0xf13306=_0xb5d2e6;this[_0xf13306(0x20d)](_0xf13306(0x203),_0x2c046d);}[_0xb5d2e6(0x236)](_0xf14971){const _0xffd582=_0xb5d2e6;this[_0xffd582(0x20d)](_0xffd582(0x208),_0xf14971);}[_0xb5d2e6(0x1f1)](_0x5d9aa0){const _0x2ae3f9=_0xb5d2e6;if(!_0x5d9aa0)return;this[_0x2ae3f9(0x225)]=_0x5d9aa0['id'],this[_0x2ae3f9(0x233)]=_0x5d9aa0[_0x2ae3f9(0x1ef)]||_0x5d9aa0['id'],this[_0x2ae3f9(0x238)][_0x2ae3f9(0x226)][_0x2ae3f9(0x20d)](_0x2ae3f9(0x210),_0x5d9aa0[_0x2ae3f9(0x1ef)]),this[_0x2ae3f9(0x238)][_0x2ae3f9(0x226)][_0x2ae3f9(0x20d)](_0x2ae3f9(0x1e5),_0x5d9aa0[_0x2ae3f9(0x1ef)]);const _0x470090=_0x5d9aa0[_0x2ae3f9(0x1f2)][_0x2ae3f9(0x21e)]?.[_0x2ae3f9(0x241)]??!0x1;this[_0x2ae3f9(0x20d)](_0x2ae3f9(0x203),!0x1),this[_0x2ae3f9(0x218)][_0x2ae3f9(0x20d)](_0x2ae3f9(0x1ea),!0x1),this[_0x2ae3f9(0x218)][_0x2ae3f9(0x20d)](_0x2ae3f9(0x205),_0x470090),this[_0x2ae3f9(0x218)][_0x2ae3f9(0x20d)](_0x2ae3f9(0x1f8),_0x470090);const _0x2979db=_0x5d9aa0[_0x2ae3f9(0x1f2)][_0x2ae3f9(0x23b)]?.[_0x2ae3f9(0x241)]??!0x1;this[_0x2ae3f9(0x20d)](_0x2ae3f9(0x208),!0x1),this[_0x2ae3f9(0x207)][_0x2ae3f9(0x20d)](_0x2ae3f9(0x1ea),!0x1),this[_0x2ae3f9(0x207)][_0x2ae3f9(0x20d)](_0x2ae3f9(0x205),_0x2979db),this[_0x2ae3f9(0x207)][_0x2ae3f9(0x20d)](_0x2ae3f9(0x1f8),_0x2979db);}[_0xb5d2e6(0x232)](){const _0x582302=_0xb5d2e6;this[_0x582302(0x20d)](_0x582302(0x213),!0x0);}[_0xb5d2e6(0x1f5)](_0x525876){const _0x3b19e9=_0xb5d2e6;this[_0x3b19e9(0x20d)](_0x3b19e9(0x213),!0x1),_0x525876&&this[_0x3b19e9(0x20d)](_0x3b19e9(0x231),_0x3b19e9(0x237));}[_0xb5d2e6(0x23e)](){const _0x38ce12=_0xb5d2e6,_0x18f2f9=new _0x49dc33();return _0x18f2f9[_0x38ce12(0x20d)]({'label':_0x33b260(this[_0x38ce12(0x206)],_0x38ce12(0x23a)),'icon':_0x46540f,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x18f2f9['on'](_0x38ce12(0x239),()=>{const _0xb59de1=_0x38ce12;this[_0xb59de1(0x1f9)](_0xb59de1(0x1e7));}),_0x18f2f9;}[_0xb5d2e6(0x227)](){const _0x491c8e=_0xb5d2e6,_0x59940b=new _0x49dc33();return _0x59940b[_0x491c8e(0x20d)]({'label':_0x33b260(this[_0x491c8e(0x206)],_0x491c8e(0x221)),'icon':_0x1deeb0,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x59940b['on'](_0x491c8e(0x239),()=>{const _0x444239=_0x491c8e;this[_0x444239(0x1f9)](_0x444239(0x21d));}),_0x59940b;}[_0xb5d2e6(0x202)](){const _0x4f9fe3=_0xb5d2e6,_0x5f1768=new _0x49dc33();return _0x5f1768[_0x4f9fe3(0x20d)]({'label':_0x33b260(this[_0x4f9fe3(0x206)],_0x4f9fe3(0x1f7)),'icon':_0x578ec8,'withText':!0x0,'class':Xo,'isToggleable':!0x0,'tooltip':_0x33b260(this[_0x4f9fe3(0x206)],_0x4f9fe3(0x1f7)),'tooltipPosition':ol}),_0x5f1768[_0x4f9fe3(0x22f)]({'attributes':{'class':[Qo]}}),_0x5f1768['on'](_0x4f9fe3(0x239),()=>{const _0x206402=_0x4f9fe3;console[_0x206402(0x216)](_0x206402(0x1eb)),alert(_0x206402(0x1eb));}),_0x5f1768;}[_0xb5d2e6(0x22d)](){const _0x41bb0f=_0xb5d2e6,_0x3c238b=_0x3db09b(this[_0x41bb0f(0x206)]);return _0x3c238b[_0x41bb0f(0x20d)]({'panelPosition':'ne','class':[tl]}),_0x3c238b[_0x41bb0f(0x226)][_0x41bb0f(0x20d)]({'label':_0x33b260(this[_0x41bb0f(0x206)],_0x41bb0f(0x243)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':ol,'class':Zo}),this[_0x41bb0f(0x22b)](_0x3c238b,_0x41bb0f(0x239),_0x2743c8=>{const _0x24f5bc=_0x41bb0f;this[_0x24f5bc(0x1f9)](_0x24f5bc(0x1ff),_0x2743c8[_0x24f5bc(0x222)][_0x24f5bc(0x20f)]);}),_0x3c238b;}[_0xb5d2e6(0x200)](){const _0x2bf58f=_0xb5d2e6,_0x452f0a=new _o(this[_0x2bf58f(0x206)]);return _0x452f0a[_0x2bf58f(0x229)](_0x2bf58f(0x212))['to'](this,_0x2bf58f(0x233),_0x3d48d8=>_0x3d48d8??''),_0x452f0a[_0x2bf58f(0x229)](_0x2bf58f(0x1f8))['to'](this,_0x2bf58f(0x231),_0x552b86=>_0x2bf58f(0x1ef)===_0x552b86),_0x452f0a;}}class ko extends _0x170439{constructor(_0x26affc,_0x5c4e7f){const _0x151813=_0xb5d2e6;super();const _0x12d991=this[_0x151813(0x1fb)],_0x393ce6=this[_0x151813(0x1f0)]();this[_0x151813(0x211)]({'tag':_0x151813(0x23f),'attributes':{'class':['ck',_0x151813(0x215)],'style':_0x12d991['to'](_0x151813(0x1fe)),'id':_0x12d991['to']('id')},'children':[{'tag':_0x151813(0x23f),'attributes':{'class':[el]},'children':[{'text':_0x12d991['to'](_0x151813(0x212))}]},{'tag':_0x151813(0x23f),'attributes':{'class':[il]},'children':[{'tag':_0x151813(0x1ec),'children':[{'text':_0x5c4e7f[_0x151813(0x23d)]}]}]},{'tag':_0x151813(0x23f),'attributes':{'class':[sl]},'children':_0x393ce6}]}),_0x393ce6[_0x151813(0x228)](this[_0x151813(0x20e)](_0x26affc,_0x46540f,_0x151813(0x23a),_0x5c4e7f[_0x151813(0x1f2)][_0x151813(0x21e)]?.[_0x151813(0x241)]??!0x1)),_0x393ce6[_0x151813(0x228)](this[_0x151813(0x20e)](_0x26affc,_0x1deeb0,_0x151813(0x221),_0x5c4e7f[_0x151813(0x1f2)][_0x151813(0x23b)]?.[_0x151813(0x241)]??!0x1));}[_0xb5d2e6(0x20e)](_0x5030b3,_0x20e70c,_0x5e1eea,_0x45e94f){const _0x250eac=_0xb5d2e6,_0x3f764e=new _0x2ad70a();_0x3f764e[_0x250eac(0x1fd)]=_0x20e70c;const _0x5172ed=new _0x8b4bd9(_0x5030b3);_0x5172ed[_0x250eac(0x211)]({'tag':_0x250eac(0x1ec),'children':[{'text':_0x33b260(_0x5030b3,_0x5e1eea)+':\x20'}]});const _0x4f733d=new _0x8b4bd9(_0x5030b3);return _0x4f733d[_0x250eac(0x211)]({'tag':_0x250eac(0x1ec),'children':[{'text':_0x33b260(_0x5030b3,_0x45e94f?_0x250eac(0x1e6):_0x250eac(0x214))}]}),[_0x3f764e,_0x5172ed,_0x4f733d];}}class _o extends _0x8b4bd9{constructor(_0x32723e){const _0x304bf4=_0xb5d2e6;super(_0x32723e),this[_0x304bf4(0x20d)](_0x304bf4(0x212),void 0x0),this[_0x304bf4(0x20d)](_0x304bf4(0x1f8),!0x0);const _0x231c25=this[_0x304bf4(0x1fb)];this[_0x304bf4(0x211)]({'tag':_0x304bf4(0x1ec),'attributes':{'class':['ck',_0x304bf4(0x220),_0x231c25['if'](_0x304bf4(0x1f8),_0x304bf4(0x21b),_0x12fe7b=>!_0x12fe7b)]},'children':[{'text':_0x231c25['to'](_0x304bf4(0x212))}]});}}
23
+ const _0x52bd13=_0x3251;(function(_0x55a2a2,_0x53bc32){const _0xb633ec=_0x3251,_0x2136b9=_0x55a2a2();while(!![]){try{const _0x296ddb=-parseInt(_0xb633ec(0x1a4))/0x1+parseInt(_0xb633ec(0x1b9))/0x2+-parseInt(_0xb633ec(0x19b))/0x3*(-parseInt(_0xb633ec(0x1d3))/0x4)+-parseInt(_0xb633ec(0x1b0))/0x5+parseInt(_0xb633ec(0x1be))/0x6+-parseInt(_0xb633ec(0x188))/0x7+parseInt(_0xb633ec(0x1e4))/0x8;if(_0x296ddb===_0x53bc32)break;else _0x2136b9['push'](_0x2136b9['shift']());}catch(_0x343176){_0x2136b9['push'](_0x2136b9['shift']());}}}(_0x47a5,0xa45b6));import{Collection as _0x204ec0}from'ckeditor5/src/utils.js';function _0x3251(_0x1dea86,_0x219e19){const _0x47a509=_0x47a5();return _0x3251=function(_0x325144,_0x93403d){_0x325144=_0x325144-0x187;let _0x3e15bc=_0x47a509[_0x325144];return _0x3e15bc;},_0x3251(_0x1dea86,_0x219e19);}import{IconAI as _0x55bb13,IconBulb as _0x5e5d3e,IconWeb as _0x18d4c2}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x3a931b,ButtonLabelView as _0x358158,ButtonView as _0x251505,createDropdown as _0x4e861f,IconView as _0x25a46e,UIModel as _0x3fab4d,View as _0x1a740a}from'ckeditor5/src/ui.js';import{getTranslation as _0x90d7ca}from'../../../aicore/utils/common-translations.js';const Wo=_0x52bd13(0x195),jo=_0x52bd13(0x1b1),Go=_0x52bd13(0x1b4),Yo=_0x52bd13(0x191),qo=_0x52bd13(0x1d0),zo=_0x52bd13(0x193),Jo=_0x52bd13(0x1c9),Ko=_0x52bd13(0x1b8),Qo='n';export class AIChatPromptCapabilitiesView extends _0x1a740a{[_0x52bd13(0x1ca)];[_0x52bd13(0x1c4)];[_0x52bd13(0x1e6)];[_0x52bd13(0x1de)];[_0x52bd13(0x18b)];[_0x52bd13(0x1a1)];constructor(_0x377758){const _0x46623c=_0x52bd13;super(_0x377758),this[_0x46623c(0x1e3)](_0x46623c(0x1a2),!0x1),this[_0x46623c(0x1e3)](_0x46623c(0x1c3),!0x1),this[_0x46623c(0x1e3)](_0x46623c(0x1cb),_0x46623c(0x1d9)),this[_0x46623c(0x1e3)](_0x46623c(0x1a3),!0x0),this[_0x46623c(0x1e3)](_0x46623c(0x1e5),null),this[_0x46623c(0x1e3)](_0x46623c(0x1e2),null),this[_0x46623c(0x1de)]=this[_0x46623c(0x18f)](),this[_0x46623c(0x1a1)]=this[_0x46623c(0x18e)](),this[_0x46623c(0x1ca)]=this[_0x46623c(0x187)](),this[_0x46623c(0x1c4)]=this[_0x46623c(0x19e)](),this[_0x46623c(0x1e6)]=this[_0x46623c(0x1c2)](),this[_0x46623c(0x1de)][_0x46623c(0x1cd)][_0x46623c(0x1c8)](_0x46623c(0x1b6))['to'](this,_0x46623c(0x1cb),_0x3c643f=>_0x46623c(0x1d9)===_0x3c643f),this[_0x46623c(0x1de)][_0x46623c(0x1cd)][_0x46623c(0x1c8)](_0x46623c(0x1cf))['to'](this,_0x46623c(0x1a3),_0x5d33b0=>_0x5d33b0?this[_0x46623c(0x1de)][_0x46623c(0x1cd)][_0x46623c(0x1dc)]:_0x90d7ca(this[_0x46623c(0x199)],_0x46623c(0x19f))),this[_0x46623c(0x1de)][_0x46623c(0x1c8)](_0x46623c(0x1db))['to'](this,_0x46623c(0x1a3),_0x86ec6=>_0x86ec6),this[_0x46623c(0x1ca)][_0x46623c(0x1c8)](_0x46623c(0x1bf))['to'](this,_0x46623c(0x1a2),_0x21ea45=>_0x21ea45),this[_0x46623c(0x1ca)][_0x46623c(0x1c8)](_0x46623c(0x1cf))['to'](this,_0x46623c(0x1a2),_0x26bcaf=>_0x90d7ca(this[_0x46623c(0x199)],_0x26bcaf?_0x46623c(0x1aa):_0x46623c(0x19a))),this[_0x46623c(0x1c4)][_0x46623c(0x1c8)](_0x46623c(0x1bf))['to'](this,_0x46623c(0x1c3),_0x2be16d=>_0x2be16d),this[_0x46623c(0x1c4)][_0x46623c(0x1c8)](_0x46623c(0x1cf))['to'](this,_0x46623c(0x1c3),_0x140b0f=>_0x90d7ca(this[_0x46623c(0x199)],_0x140b0f?_0x46623c(0x1c0):_0x46623c(0x189))),this[_0x46623c(0x194)]({'tag':_0x46623c(0x1d2),'attributes':{'class':[Wo]},'children':[this[_0x46623c(0x1de)],this[_0x46623c(0x1a1)],this[_0x46623c(0x1ca)],this[_0x46623c(0x1c4)],this[_0x46623c(0x1e6)]]}),this[_0x46623c(0x18b)]=new _0x204ec0(),_0x3a931b(this[_0x46623c(0x1de)],this[_0x46623c(0x18b)]);}[_0x52bd13(0x1ac)](_0x5e4c5e,_0x4aba21){const _0x96811a=_0x52bd13;if(_0x4aba21)this[_0x96811a(0x1e3)](_0x96811a(0x1cb),_0x96811a(0x1da));else{const _0x175d65=0x1===_0x5e4c5e[_0x96811a(0x1e0)];this[_0x96811a(0x1e3)](_0x96811a(0x1cb),_0x175d65?_0x96811a(0x1ab):_0x96811a(0x1d9));}if(this[_0x96811a(0x18b)][_0x96811a(0x19c)](),_0x5e4c5e?.[_0x96811a(0x1e0)])for(const _0x2866c3 of _0x5e4c5e){const _0x282bf9=new _0x3fab4d({'label':_0x2866c3[_0x96811a(0x1ab)],'withText':!0x0,'role':_0x96811a(0x1d6),'id':_0x2866c3['id'],'model':_0x2866c3});_0x282bf9[_0x96811a(0x1c8)](_0x96811a(0x1bf))['to'](this,_0x96811a(0x1e5),_0x86429d=>_0x86429d===_0x2866c3['id']),this[_0x96811a(0x18b)][_0x96811a(0x1c5)]({'type':_0x96811a(0x1a6),'model':_0x282bf9,'labelView':new ko(this[_0x96811a(0x199)],_0x2866c3)});}}[_0x52bd13(0x1a7)](_0x46c3a0){const _0x9349e9=_0x52bd13;this[_0x9349e9(0x1e3)](_0x9349e9(0x1a2),_0x46c3a0);}[_0x52bd13(0x1b7)](_0x459a78){const _0x4212f2=_0x52bd13;this[_0x4212f2(0x1e3)](_0x4212f2(0x1c3),_0x459a78);}[_0x52bd13(0x1bc)](_0x1d1614){const _0x45e0f9=_0x52bd13;if(!_0x1d1614)return;this[_0x45e0f9(0x1e5)]=_0x1d1614['id'],this[_0x45e0f9(0x1e2)]=_0x1d1614[_0x45e0f9(0x1ab)]||_0x1d1614['id'],this[_0x45e0f9(0x1de)][_0x45e0f9(0x1cd)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1dc),_0x1d1614[_0x45e0f9(0x1ab)]),this[_0x45e0f9(0x1de)][_0x45e0f9(0x1cd)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1cf),_0x1d1614[_0x45e0f9(0x1ab)]);const _0x447ea5=_0x1d1614[_0x45e0f9(0x1ba)][_0x45e0f9(0x18a)]?.[_0x45e0f9(0x18c)]??!0x1;this[_0x45e0f9(0x1e3)](_0x45e0f9(0x1a2),!0x1),this[_0x45e0f9(0x1ca)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1bf),!0x1),this[_0x45e0f9(0x1ca)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1db),_0x447ea5),this[_0x45e0f9(0x1ca)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1b6),_0x447ea5);const _0x4fbfd9=_0x1d1614[_0x45e0f9(0x1ba)][_0x45e0f9(0x1bd)]?.[_0x45e0f9(0x18c)]??!0x1;this[_0x45e0f9(0x1e3)](_0x45e0f9(0x1c3),!0x1),this[_0x45e0f9(0x1c4)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1bf),!0x1),this[_0x45e0f9(0x1c4)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1db),_0x4fbfd9),this[_0x45e0f9(0x1c4)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1b6),_0x4fbfd9);}[_0x52bd13(0x1d5)](){const _0x5e912d=_0x52bd13;this[_0x5e912d(0x1e3)](_0x5e912d(0x1a3),!0x0);}[_0x52bd13(0x1c1)](_0x52d2c0){const _0x4bd16d=_0x52bd13;this[_0x4bd16d(0x1e3)](_0x4bd16d(0x1a3),!0x1),_0x52d2c0&&this[_0x4bd16d(0x1e3)](_0x4bd16d(0x1cb),_0x4bd16d(0x1da));}[_0x52bd13(0x187)](){const _0x433996=_0x52bd13,_0x359785=new _0x251505();return _0x359785[_0x433996(0x1e3)]({'label':_0x90d7ca(this[_0x433996(0x199)],_0x433996(0x1cc)),'icon':_0x18d4c2,'class':jo,'isToggleable':!0x0,'tooltipPosition':Qo}),_0x359785['on'](_0x433996(0x1a0),()=>{const _0xb72733=_0x433996;this[_0xb72733(0x19d)](_0xb72733(0x1a5));}),_0x359785;}[_0x52bd13(0x19e)](){const _0x5474ad=_0x52bd13,_0x4574a9=new _0x251505();return _0x4574a9[_0x5474ad(0x1e3)]({'label':_0x90d7ca(this[_0x5474ad(0x199)],_0x5474ad(0x1d1)),'icon':_0x5e5d3e,'class':jo,'isToggleable':!0x0,'tooltipPosition':Qo}),_0x4574a9['on'](_0x5474ad(0x1a0),()=>{const _0x2346fd=_0x5474ad;this[_0x2346fd(0x19d)](_0x2346fd(0x1bb));}),_0x4574a9;}[_0x52bd13(0x1c2)](){const _0x31b381=_0x52bd13,_0x1dbad0=new _0x251505();return _0x1dbad0[_0x31b381(0x1e3)]({'label':_0x90d7ca(this[_0x31b381(0x199)],_0x31b381(0x1d7)),'icon':_0x55bb13,'withText':!0x0,'class':jo,'isToggleable':!0x0,'tooltip':_0x90d7ca(this[_0x31b381(0x199)],_0x31b381(0x1d7)),'tooltipPosition':Qo}),_0x1dbad0[_0x31b381(0x1dd)]({'attributes':{'class':[Go]}}),_0x1dbad0['on'](_0x31b381(0x1a0),()=>{const _0x5ab2f5=_0x31b381;console[_0x5ab2f5(0x1a8)](_0x5ab2f5(0x1ae)),alert(_0x5ab2f5(0x1ae));}),_0x1dbad0;}[_0x52bd13(0x18f)](){const _0x54197f=_0x52bd13,_0x52fc22=_0x4e861f(this[_0x54197f(0x199)]);return _0x52fc22[_0x54197f(0x1e3)]({'panelPosition':'ne','class':[qo]}),_0x52fc22[_0x54197f(0x1cd)][_0x54197f(0x1e3)]({'label':_0x90d7ca(this[_0x54197f(0x199)],_0x54197f(0x1c6)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Qo,'class':Yo}),this[_0x54197f(0x1e1)](_0x52fc22,_0x54197f(0x1a0),_0x1e6344=>{const _0x3bdaf6=_0x54197f;this[_0x3bdaf6(0x19d)](_0x3bdaf6(0x198),_0x1e6344[_0x3bdaf6(0x197)][_0x3bdaf6(0x196)]);}),_0x52fc22;}[_0x52bd13(0x18e)](){const _0x145bff=_0x52bd13,_0x6d8f6f=new _o(this[_0x145bff(0x199)]);return _0x6d8f6f[_0x145bff(0x1c8)](_0x145bff(0x1a9))['to'](this,_0x145bff(0x1e2),_0xc3bd0d=>_0xc3bd0d??''),_0x6d8f6f[_0x145bff(0x1c8)](_0x145bff(0x1b6))['to'](this,_0x145bff(0x1cb),_0x96a5aa=>_0x145bff(0x1ab)===_0x96a5aa),_0x6d8f6f;}}function _0x47a5(){const _0x425e31=['AI_CHAT_DISABLE_WEB_SEARCH','name','setModelList','ck-button__label','Commands\x20are\x20not\x20implemented\x20yet.','description','3211225SiXIrX','ck-ai-chat-controls-button','style','AI_CHAT_CAPABILITIES_YES','ck-ai-chat-controls-button--commands','span','isVisible','setReasoning','ck-ai-chat-controls__model-selection__item-capabilities','720632yRKubH','capabilities','toggleReasoning','setModel','reasoning','3362532ewzQrc','isOn','AI_CHAT_DISABLE_REASONING','disableModelSelector','_createCommandsButton','reasoningActive','_reasoningButton','add','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','content','bind','ck-ai-chat-controls__model-selection__item-description','_webSearchButton','modelDisplayMode','AI_CHAT_SEARCH_WEB','buttonView','ck-ai-chat-controls__model-name','tooltip','ck-ai-chat-controls__model-selection','AI_CHAT_REASONING','div','332xzYOlL','_getCapabilityParts','enableModelSelector','menuitemradio','AI_CHAT_COMMANDS','bindTemplate','selector','hidden','isEnabled','label','extendTemplate','_modelSelectionDropdown','ck-hidden','length','listenTo','activeModelName','set','19358920Qtvefo','activeModelId','_commandsButton','_createWebSearchButton','5783204fFOfiB','AI_CHAT_ENABLE_REASONING','webSearch','_modelSelectionDropdownItems','enabled','createCollection','_createModelNameView','_createModelSelectionDropdown','addMany','ck-ai-button-tertiary','AI_CHAT_CAPABILITIES_NO','ck-ai-chat-controls__model-selection__item-name','setTemplate','ck-ai-chat__prompt-capabilities','model','source','selectModel','locale','AI_CHAT_ENABLE_WEB_SEARCH','5091eUUBOM','clear','fire','_createReasoningButton','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','execute','_modelNameView','webSearchActive','modelSelectorEnabled','1339831WEBQft','toggleWebSearch','button','setWebSearch','log','text'];_0x47a5=function(){return _0x425e31;};return _0x47a5();}class ko extends _0x358158{constructor(_0x54596c,_0x3e6556){const _0x2fdfd8=_0x52bd13;super();const _0x5f59e4=this[_0x2fdfd8(0x1d8)],_0x4442de=this[_0x2fdfd8(0x18d)]();this[_0x2fdfd8(0x194)]({'tag':_0x2fdfd8(0x1d2),'attributes':{'class':['ck',_0x2fdfd8(0x1ad)],'style':_0x5f59e4['to'](_0x2fdfd8(0x1b2)),'id':_0x5f59e4['to']('id')},'children':[{'tag':_0x2fdfd8(0x1d2),'attributes':{'class':[zo]},'children':[{'text':_0x5f59e4['to'](_0x2fdfd8(0x1a9))}]},{'tag':_0x2fdfd8(0x1d2),'attributes':{'class':[Jo]},'children':[{'tag':_0x2fdfd8(0x1b5),'children':[{'text':_0x3e6556[_0x2fdfd8(0x1af)]}]}]},{'tag':_0x2fdfd8(0x1d2),'attributes':{'class':[Ko]},'children':_0x4442de}]}),_0x4442de[_0x2fdfd8(0x190)](this[_0x2fdfd8(0x1d4)](_0x54596c,_0x18d4c2,_0x2fdfd8(0x1cc),_0x3e6556[_0x2fdfd8(0x1ba)][_0x2fdfd8(0x18a)]?.[_0x2fdfd8(0x18c)]??!0x1)),_0x4442de[_0x2fdfd8(0x190)](this[_0x2fdfd8(0x1d4)](_0x54596c,_0x5e5d3e,_0x2fdfd8(0x1d1),_0x3e6556[_0x2fdfd8(0x1ba)][_0x2fdfd8(0x1bd)]?.[_0x2fdfd8(0x18c)]??!0x1));}[_0x52bd13(0x1d4)](_0x406669,_0x2d50ae,_0x393547,_0x2e61a1){const _0x107d02=_0x52bd13,_0x5ca77b=new _0x25a46e();_0x5ca77b[_0x107d02(0x1c7)]=_0x2d50ae;const _0x409690=new _0x1a740a(_0x406669);_0x409690[_0x107d02(0x194)]({'tag':_0x107d02(0x1b5),'children':[{'text':_0x90d7ca(_0x406669,_0x393547)+':\x20'}]});const _0x5cb964=new _0x1a740a(_0x406669);return _0x5cb964[_0x107d02(0x194)]({'tag':_0x107d02(0x1b5),'children':[{'text':_0x90d7ca(_0x406669,_0x2e61a1?_0x107d02(0x1b3):_0x107d02(0x192))}]}),[_0x5ca77b,_0x409690,_0x5cb964];}}class _o extends _0x1a740a{constructor(_0x586933){const _0x28f12c=_0x52bd13;super(_0x586933),this[_0x28f12c(0x1e3)](_0x28f12c(0x1a9),void 0x0),this[_0x28f12c(0x1e3)](_0x28f12c(0x1b6),!0x0);const _0x1393bc=this[_0x28f12c(0x1d8)];this[_0x28f12c(0x194)]({'tag':_0x28f12c(0x1b5),'attributes':{'class':['ck',_0x28f12c(0x1ce),_0x1393bc['if'](_0x28f12c(0x1b6),_0x28f12c(0x1df),_0x5f34b0=>!_0x5f34b0)]},'children':[{'text':_0x1393bc['to'](_0x28f12c(0x1a9))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8004e2=_0x5afe;(function(_0x4580f7,_0x4704e3){const _0x7099bf=_0x5afe,_0x162b33=_0x4580f7();while(!![]){try{const _0x3ba696=parseInt(_0x7099bf(0xcf))/0x1*(-parseInt(_0x7099bf(0xc4))/0x2)+-parseInt(_0x7099bf(0xe1))/0x3*(parseInt(_0x7099bf(0xe5))/0x4)+parseInt(_0x7099bf(0xb1))/0x5*(-parseInt(_0x7099bf(0xb6))/0x6)+-parseInt(_0x7099bf(0x9e))/0x7*(-parseInt(_0x7099bf(0xd4))/0x8)+parseInt(_0x7099bf(0xb2))/0x9*(-parseInt(_0x7099bf(0xa3))/0xa)+-parseInt(_0x7099bf(0xbc))/0xb*(parseInt(_0x7099bf(0xdc))/0xc)+parseInt(_0x7099bf(0xb3))/0xd;if(_0x3ba696===_0x4704e3)break;else _0x162b33['push'](_0x162b33['shift']());}catch(_0x397b7f){_0x162b33['push'](_0x162b33['shift']());}}}(_0x520e,0xde13e));import{IconSubmit as _0x23ce8c}from'ckeditor5/src/icons.js';import{ButtonView as _0x213ae,AutocompleteView as _0x334e2a,createLabeledTextarea as _0x12d53b}from'ckeditor5/src/ui.js';function _0x520e(){const _0x242823=['setPlaceholderText','trim','_addContextButtonView','6168xjteJb','minRows','maxRows','placeholder','keystrokes','render','update','_createSubmitButton','17224104sweOaL','set','add','_queryViewResizeObserver','queryView','2241qpzpKn','sendUserMessage','focusableChildren','_setUpAddContextButtonPositioning','2908SrGgnb','submit','5551iOqgSX','isUploadInProgress','isEnabled','submitButtonView','execute','107750aRQQKI','destroy','enter','isEmpty','setIsUploadInProgress','AI_CHAT_LABEL_SUBMIT','remove','fieldView','px\x20-\x20var(--ck-spacing-tiny))','fieldWrapperChildren','reset','excludeScrollbarsAndBorders','MAX_ROWS','window','148245HTICac','585KJUtiZ','64614875YaLzZU','right','bind','222hieKbz','left','fire','AI_CHAT_PROMPT_EMPTY_ERROR','ck-ai-chat__prompt-input_highlighted','value','11pNdouX','classList','locale','focus','errorText','style','target','element','3054WydRFD','calc(','MIN_ROWS','hasError','uiLanguageDirection','contains','extendTemplate','rtl','width','requestAnimationFrame','ck-ai-chat__prompt-input','587JlDmJU','ck-ai-chat__prompt-submit-button'];_0x520e=function(){return _0x242823;};return _0x520e();}import{global as _0x45d1ca,isVisible as _0x114b00,Rect as _0x100f90,ResizeObserver as _0x10cf3b}from'ckeditor5/src/utils.js';import{getTranslation as _0x258292}from'../../../aicore/utils/common-translations.js';function _0x5afe(_0x533c2f,_0x31a64c){const _0x520e7c=_0x520e();return _0x5afe=function(_0x5afe93,_0x5b1c68){_0x5afe93=_0x5afe93-0x9e;let _0x1aba54=_0x520e7c[_0x5afe93];return _0x1aba54;},_0x5afe(_0x533c2f,_0x31a64c);}import{AIChatPromptSuggestionsListView as _0x9c9e9}from'./aichatpromptsuggestionslistview.js';import{escape as _0x4b7779}from'es-toolkit/compat';const uh=_0x8004e2(0xba);export class AIChatPromptInputView extends _0x334e2a{[_0x8004e2(0xa1)];static [_0x8004e2(0xc6)]=0x1;static [_0x8004e2(0xaf)]=0xc;[_0x8004e2(0xd3)];[_0x8004e2(0xdf)];constructor(_0x3c0cab,_0x5b1786){const _0x625a65=_0x8004e2;super(_0x3c0cab,{'queryView':{'label':'','creator':_0x12d53b,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x9c9e9(_0x3c0cab),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x625a65(0xdd)](_0x625a65(0xa6),!0x0),this[_0x625a65(0xdd)](_0x625a65(0x9f),!0x1),this[_0x625a65(0xd3)]=_0x5b1786,this[_0x625a65(0xdf)]=null,this[_0x625a65(0xe0)][_0x625a65(0xaa)][_0x625a65(0xd5)]=AIChatPromptInputView[_0x625a65(0xc6)],this[_0x625a65(0xe0)][_0x625a65(0xaa)][_0x625a65(0xd6)]=AIChatPromptInputView[_0x625a65(0xaf)],this[_0x625a65(0xe0)][_0x625a65(0xac)][_0x625a65(0xde)](this[_0x625a65(0xd3)]),this[_0x625a65(0xe4)](),this[_0x625a65(0xca)]({'attributes':{'class':['ck',_0x625a65(0xce)]}}),this[_0x625a65(0xa1)]=this[_0x625a65(0xdb)](),this[_0x625a65(0xa1)][_0x625a65(0xb5)](_0x625a65(0xa0))['to'](this,_0x625a65(0xa6),this,_0x625a65(0x9f),(_0x485df5,_0x54ba95)=>!_0x485df5&&!_0x54ba95),this[_0x625a65(0xe3)][_0x625a65(0xde)](this[_0x625a65(0xa1)]);}[_0x8004e2(0xd9)](){const _0x427ae7=_0x8004e2;super[_0x427ae7(0xd9)](),this[_0x427ae7(0xe0)][_0x427ae7(0xac)][_0x427ae7(0xde)](this[_0x427ae7(0xa1)]),this[_0x427ae7(0xd8)][_0x427ae7(0xdd)](_0x427ae7(0xa5),(_0x257cf8,_0x53b4d7)=>{const _0x25c740=_0x427ae7;this[_0x25c740(0x9f)]||this[_0x25c740(0xa6)]||_0x257cf8[_0x25c740(0xc2)]==this[_0x25c740(0xe0)][_0x25c740(0xaa)][_0x25c740(0xc3)]&&(this[_0x25c740(0xe6)](),_0x53b4d7());}),this[_0x427ae7(0xe0)][_0x427ae7(0xaa)]['on'](_0x427ae7(0xda),()=>{const _0x71f10e=_0x427ae7;this[_0x71f10e(0xa6)]=''===this[_0x71f10e(0xe0)][_0x71f10e(0xaa)][_0x71f10e(0xc3)][_0x71f10e(0xbb)]?.[_0x71f10e(0xd2)]();});}[_0x8004e2(0xa4)](){const _0x32ff61=_0x8004e2;super[_0x32ff61(0xa4)](),this[_0x32ff61(0xdf)]&&this[_0x32ff61(0xdf)][_0x32ff61(0xa4)]();}[_0x8004e2(0xe6)](){const _0x281023=_0x8004e2,_0x3a8e0e=this[_0x281023(0xe0)][_0x281023(0xaa)][_0x281023(0xc3)][_0x281023(0xbb)]?.[_0x281023(0xd2)]();if(!_0x3a8e0e)return this[_0x281023(0xe0)][_0x281023(0xc0)]=_0x258292(this[_0x281023(0xbe)],_0x281023(0xb9)),void(this[_0x281023(0xe0)][_0x281023(0xaa)][_0x281023(0xc7)]=!0x0);this[_0x281023(0xe0)][_0x281023(0xaa)][_0x281023(0xc7)]=!0x1;const _0x55bc0f=_0x4b7779(_0x3a8e0e);this[_0x281023(0xb8)](_0x281023(0xe2),_0x55bc0f),this[_0x281023(0xe0)][_0x281023(0xaa)][_0x281023(0xad)]();}[_0x8004e2(0xd1)](_0x283caf){const _0x444194=_0x8004e2;this[_0x444194(0xe0)][_0x444194(0xaa)][_0x444194(0xdd)](_0x444194(0xd7),_0x283caf);}[_0x8004e2(0xbf)](_0x45c7d9=!0x1){const _0x2d25b5=_0x8004e2;super[_0x2d25b5(0xbf)](),_0x45c7d9&&(this[_0x2d25b5(0xc3)][_0x2d25b5(0xbd)][_0x2d25b5(0xc9)](uh)||(this[_0x2d25b5(0xc3)][_0x2d25b5(0xbd)][_0x2d25b5(0xde)](uh),setTimeout(()=>{const _0x3eb284=_0x2d25b5;this[_0x3eb284(0xc3)][_0x3eb284(0xbd)][_0x3eb284(0xa9)](uh);},0x320)));}[_0x8004e2(0xdb)](){const _0x1a9974=_0x8004e2,_0x1210bc=new _0x213ae(this[_0x1a9974(0xbe)]);return _0x1210bc[_0x1a9974(0xdd)]({'icon':_0x23ce8c,'label':_0x258292(this[_0x1a9974(0xbe)],_0x1a9974(0xa8)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1a9974(0xd0),'isEnabled':!0x1}),_0x1210bc['on'](_0x1a9974(0xa2),()=>{const _0x315d3e=_0x1a9974;this[_0x315d3e(0xe6)]();}),_0x1210bc;}[_0x8004e2(0xa7)](_0x8cc466){const _0x188591=_0x8004e2;this[_0x188591(0x9f)]=_0x8cc466;}[_0x8004e2(0xe4)](){const _0x250faa=_0x8004e2,_0x5812df=this[_0x250faa(0xbe)],_0x1ac421=()=>{const _0x33fd3d=_0x250faa;_0x45d1ca[_0x33fd3d(0xb0)][_0x33fd3d(0xcd)](()=>{const _0x13b217=_0x33fd3d;if(_0x114b00(this[_0x13b217(0xc3)])){const _0x4c718a=new _0x100f90(this[_0x13b217(0xe0)][_0x13b217(0xaa)][_0x13b217(0xc3)]),_0x4b2754=new _0x100f90(this[_0x13b217(0xd3)][_0x13b217(0xc3)]),_0x53bcda=_0x4c718a[_0x13b217(0xcc)],_0x5d9911=_0x13b217(0xcb)===_0x5812df[_0x13b217(0xc8)]?_0x13b217(0xb4):_0x13b217(0xb7);_0x4c718a[_0x13b217(0xae)]();const _0x4f37a8=_0x53bcda-_0x4c718a[_0x13b217(0xcc)]+0x1;this[_0x13b217(0xd3)][_0x13b217(0xc3)][_0x13b217(0xc1)][_0x5d9911]=_0x13b217(0xc5)+(_0x53bcda-_0x4b2754[_0x13b217(0xcc)]-_0x4f37a8)+_0x13b217(0xab);}});};this[_0x250faa(0xe0)][_0x250faa(0xaa)]['on'](_0x250faa(0xda),_0x1ac421),this['on'](_0x250faa(0xd9),()=>{const _0x55875e=_0x250faa;_0x1ac421(),this[_0x55875e(0xdf)]=new _0x10cf3b(this[_0x55875e(0xe0)][_0x55875e(0xaa)][_0x55875e(0xc3)],()=>{_0x1ac421();});});}}
23
+ const _0x5a8177=_0x549d;(function(_0x4b4eb4,_0x1dcd55){const _0x597dbe=_0x549d,_0x39abdb=_0x4b4eb4();while(!![]){try{const _0x2c55e2=-parseInt(_0x597dbe(0x13e))/0x1*(-parseInt(_0x597dbe(0x169))/0x2)+parseInt(_0x597dbe(0x16e))/0x3+parseInt(_0x597dbe(0x12a))/0x4+parseInt(_0x597dbe(0x15e))/0x5*(-parseInt(_0x597dbe(0x144))/0x6)+-parseInt(_0x597dbe(0x152))/0x7*(parseInt(_0x597dbe(0x12e))/0x8)+-parseInt(_0x597dbe(0x147))/0x9*(parseInt(_0x597dbe(0x14e))/0xa)+-parseInt(_0x597dbe(0x136))/0xb;if(_0x2c55e2===_0x1dcd55)break;else _0x39abdb['push'](_0x39abdb['shift']());}catch(_0x5a44e7){_0x39abdb['push'](_0x39abdb['shift']());}}}(_0x23cc,0xbbc3c));import{IconSubmit as _0x440b70}from'ckeditor5/src/icons.js';import{ButtonView as _0x5a3bbf,AutocompleteView as _0x3830c5,createLabeledTextarea as _0x14e216}from'ckeditor5/src/ui.js';import{global as _0x46d294,isVisible as _0x74e6d6,Rect as _0x3d65bc,ResizeObserver as _0x368151}from'ckeditor5/src/utils.js';function _0x23cc(){const _0xf7e3d1=['fire','trim','8kgQekU','isEnabled','classList','right','placeholder','reset','fieldWrapperChildren','locale','5189580YkdLmY','MIN_ROWS','enter','uiLanguageDirection','excludeScrollbarsAndBorders','set','add','hasError','497YqlKEX','maxRows','requestAnimationFrame','ck-ai-chat__prompt-input_highlighted','queryView','minRows','4034652DVnphT','submitButtonView','extendTemplate','2728845zgIdHV','fieldView','left','update','setIsUploadInProgress','contains','value','10NOXKtR','target','rtl','remove','2257927FESIHn','isUploadInProgress','bind','render','sendUserMessage','width','isEmpty','execute','element','submit','destroy','keystrokes','5nCBrRv','ck-ai-chat__prompt-submit-button','setPlaceholderText','calc(','ck-ai-chat__prompt-input','MAX_ROWS','px\x20-\x20var(--ck-spacing-tiny))','focus','AI_CHAT_LABEL_SUBMIT','errorText','focusableChildren','3372IFpxfw','_queryViewResizeObserver','_addContextButtonView','_createSubmitButton','window','1735458WtbnCa','_setUpAddContextButtonPositioning','AI_CHAT_PROMPT_EMPTY_ERROR','4490576PfTJvT','style'];_0x23cc=function(){return _0xf7e3d1;};return _0x23cc();}import{getTranslation as _0x2a49ec}from'../../../aicore/utils/common-translations.js';function _0x549d(_0x4098ab,_0x1c1318){const _0x23ccc4=_0x23cc();return _0x549d=function(_0x549d73,_0xdfa15d){_0x549d73=_0x549d73-0x128;let _0x1fe3cb=_0x23ccc4[_0x549d73];return _0x1fe3cb;},_0x549d(_0x4098ab,_0x1c1318);}import{AIChatPromptSuggestionsListView as _0x4178f1}from'./aichatpromptsuggestionslistview.js';import{escape as _0x3470d4}from'es-toolkit/compat';const _h=_0x5a8177(0x141);export class AIChatPromptInputView extends _0x3830c5{[_0x5a8177(0x145)];static [_0x5a8177(0x137)]=0x1;static [_0x5a8177(0x163)]=0xc;[_0x5a8177(0x16b)];[_0x5a8177(0x16a)];constructor(_0xe18518,_0x483723){const _0x88d3dd=_0x5a8177;super(_0xe18518,{'queryView':{'label':'','creator':_0x14e216,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x4178f1(_0xe18518),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x88d3dd(0x13b)](_0x88d3dd(0x158),!0x0),this[_0x88d3dd(0x13b)](_0x88d3dd(0x153),!0x1),this[_0x88d3dd(0x16b)]=_0x483723,this[_0x88d3dd(0x16a)]=null,this[_0x88d3dd(0x142)][_0x88d3dd(0x148)][_0x88d3dd(0x143)]=AIChatPromptInputView[_0x88d3dd(0x137)],this[_0x88d3dd(0x142)][_0x88d3dd(0x148)][_0x88d3dd(0x13f)]=AIChatPromptInputView[_0x88d3dd(0x163)],this[_0x88d3dd(0x142)][_0x88d3dd(0x134)][_0x88d3dd(0x13c)](this[_0x88d3dd(0x16b)]),this[_0x88d3dd(0x128)](),this[_0x88d3dd(0x146)]({'attributes':{'class':['ck',_0x88d3dd(0x162)]}}),this[_0x88d3dd(0x145)]=this[_0x88d3dd(0x16c)](),this[_0x88d3dd(0x145)][_0x88d3dd(0x154)](_0x88d3dd(0x12f))['to'](this,_0x88d3dd(0x158),this,_0x88d3dd(0x153),(_0x5a7bc3,_0x3e347c)=>!_0x5a7bc3&&!_0x3e347c),this[_0x88d3dd(0x168)][_0x88d3dd(0x13c)](this[_0x88d3dd(0x145)]);}[_0x5a8177(0x155)](){const _0x4f4387=_0x5a8177;super[_0x4f4387(0x155)](),this[_0x4f4387(0x142)][_0x4f4387(0x134)][_0x4f4387(0x13c)](this[_0x4f4387(0x145)]),this[_0x4f4387(0x15d)][_0x4f4387(0x13b)](_0x4f4387(0x138),(_0x2409a6,_0x4a096e)=>{const _0x153106=_0x4f4387;this[_0x153106(0x153)]||this[_0x153106(0x158)]||_0x2409a6[_0x153106(0x14f)]==this[_0x153106(0x142)][_0x153106(0x148)][_0x153106(0x15a)]&&(this[_0x153106(0x15b)](),_0x4a096e());}),this[_0x4f4387(0x142)][_0x4f4387(0x148)]['on'](_0x4f4387(0x14a),()=>{const _0x36a5a9=_0x4f4387;this[_0x36a5a9(0x158)]=''===this[_0x36a5a9(0x142)][_0x36a5a9(0x148)][_0x36a5a9(0x15a)][_0x36a5a9(0x14d)]?.[_0x36a5a9(0x12d)]();});}[_0x5a8177(0x15c)](){const _0x46c785=_0x5a8177;super[_0x46c785(0x15c)](),this[_0x46c785(0x16a)]&&this[_0x46c785(0x16a)][_0x46c785(0x15c)]();}[_0x5a8177(0x15b)](){const _0x589ca6=_0x5a8177,_0x440045=this[_0x589ca6(0x142)][_0x589ca6(0x148)][_0x589ca6(0x15a)][_0x589ca6(0x14d)]?.[_0x589ca6(0x12d)]();if(!_0x440045)return this[_0x589ca6(0x142)][_0x589ca6(0x167)]=_0x2a49ec(this[_0x589ca6(0x135)],_0x589ca6(0x129)),void(this[_0x589ca6(0x142)][_0x589ca6(0x148)][_0x589ca6(0x13d)]=!0x0);this[_0x589ca6(0x142)][_0x589ca6(0x148)][_0x589ca6(0x13d)]=!0x1;const _0x540570=_0x3470d4(_0x440045);this[_0x589ca6(0x12c)](_0x589ca6(0x156),_0x540570),this[_0x589ca6(0x142)][_0x589ca6(0x148)][_0x589ca6(0x133)]();}[_0x5a8177(0x160)](_0x54fa9e){const _0x332516=_0x5a8177;this[_0x332516(0x142)][_0x332516(0x148)][_0x332516(0x13b)](_0x332516(0x132),_0x54fa9e);}[_0x5a8177(0x165)](_0xf7b2ab=!0x1){const _0x492bb4=_0x5a8177;super[_0x492bb4(0x165)](),_0xf7b2ab&&(this[_0x492bb4(0x15a)][_0x492bb4(0x130)][_0x492bb4(0x14c)](_h)||(this[_0x492bb4(0x15a)][_0x492bb4(0x130)][_0x492bb4(0x13c)](_h),setTimeout(()=>{const _0x312b4d=_0x492bb4;this[_0x312b4d(0x15a)][_0x312b4d(0x130)][_0x312b4d(0x151)](_h);},0x320)));}[_0x5a8177(0x16c)](){const _0x5ec79a=_0x5a8177,_0x2bf268=new _0x5a3bbf(this[_0x5ec79a(0x135)]);return _0x2bf268[_0x5ec79a(0x13b)]({'icon':_0x440b70,'label':_0x2a49ec(this[_0x5ec79a(0x135)],_0x5ec79a(0x166)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5ec79a(0x15f),'isEnabled':!0x1}),_0x2bf268['on'](_0x5ec79a(0x159),()=>{const _0x1ca26c=_0x5ec79a;this[_0x1ca26c(0x15b)]();}),_0x2bf268;}[_0x5a8177(0x14b)](_0x562e64){const _0xb8fc43=_0x5a8177;this[_0xb8fc43(0x153)]=_0x562e64;}[_0x5a8177(0x128)](){const _0x348af9=_0x5a8177,_0x1f6c65=this[_0x348af9(0x135)],_0x42dafd=()=>{const _0x24ae89=_0x348af9;_0x46d294[_0x24ae89(0x16d)][_0x24ae89(0x140)](()=>{const _0x33fe28=_0x24ae89;if(_0x74e6d6(this[_0x33fe28(0x15a)])){const _0x1a739f=new _0x3d65bc(this[_0x33fe28(0x142)][_0x33fe28(0x148)][_0x33fe28(0x15a)]),_0x3be3ca=new _0x3d65bc(this[_0x33fe28(0x16b)][_0x33fe28(0x15a)]),_0x4b709c=_0x1a739f[_0x33fe28(0x157)],_0x2e6428=_0x33fe28(0x150)===_0x1f6c65[_0x33fe28(0x139)]?_0x33fe28(0x131):_0x33fe28(0x149);_0x1a739f[_0x33fe28(0x13a)]();const _0x5101c0=_0x4b709c-_0x1a739f[_0x33fe28(0x157)]+0x1;this[_0x33fe28(0x16b)][_0x33fe28(0x15a)][_0x33fe28(0x12b)][_0x2e6428]=_0x33fe28(0x161)+(_0x4b709c-_0x3be3ca[_0x33fe28(0x157)]-_0x5101c0)+_0x33fe28(0x164);}});};this[_0x348af9(0x142)][_0x348af9(0x148)]['on'](_0x348af9(0x14a),_0x42dafd),this['on'](_0x348af9(0x155),()=>{const _0x5242dc=_0x348af9;_0x42dafd(),this[_0x5242dc(0x16a)]=new _0x368151(this[_0x5242dc(0x142)][_0x5242dc(0x148)][_0x5242dc(0x15a)],()=>{_0x42dafd();});});}}