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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) 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/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.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/aichatfeederroritemview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  208. package/src/aichat/utils/eventnames.js +1 -1
  209. package/src/aichat/utils/promisequeue.js +1 -1
  210. package/src/aichathistory/aichathistory.js +1 -1
  211. package/src/aichathistory/aichathistorycontroller.js +1 -1
  212. package/src/aichathistory/aichathistoryui.js +1 -1
  213. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  214. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  215. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  216. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  217. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  219. package/src/aicore/aiconnector.js +1 -1
  220. package/src/aicore/aiediting.js +1 -1
  221. package/src/aicore/model/aicapabilities.js +1 -1
  222. package/src/aicore/model/aicontext.js +1 -1
  223. package/src/aicore/model/aiinteraction.js +1 -1
  224. package/src/aicore/model/aimodels.js +1 -1
  225. package/src/aicore/model/aireply.js +1 -1
  226. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  227. package/src/aicore/pipeline/airesponseparser.js +2 -2
  228. package/src/aicore/ui/aidisclaimerview.js +1 -1
  229. package/src/aicore/ui/aiskeleton.js +1 -1
  230. package/src/aicore/ui/aispinner.js +1 -1
  231. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  236. package/src/aicore/utils/common-translations.js +1 -1
  237. package/src/aicore/utils/createresizebutton.js +1 -1
  238. package/src/aicore/utils/documentposition.js +1 -1
  239. package/src/aicore/utils/documentrange.js +1 -1
  240. package/src/aicore/utils/eventnames.js +1 -1
  241. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  242. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  243. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  244. package/src/aicore/utils/htmlparser.js +1 -1
  245. package/src/aicore/utils/htmlstreamer.js +1 -1
  246. package/src/aicore/utils/scrollmanager.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  258. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  285. package/src/aitabs/aitabs.js +1 -1
  286. package/src/aitabs/aitabsmainview.js +1 -1
  287. package/src/aitabs/tabs/aitabsview.js +1 -1
  288. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  289. package/src/aitabs/tabs/tabpanelview.js +1 -1
  290. package/src/errors.js +1 -1
  291. package/src/errorsmap.js +1 -1
  292. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x40f3(_0x888762,_0x1fabd3){const _0x3c60a9=_0x3c60();return _0x40f3=function(_0x40f36a,_0x5c2d11){_0x40f36a=_0x40f36a-0x1f1;let _0x7140d6=_0x3c60a9[_0x40f36a];return _0x7140d6;},_0x40f3(_0x888762,_0x1fabd3);}const _0xcc3213=_0x40f3;(function(_0xb85d5,_0xa33b91){const _0x34859c=_0x40f3,_0x2ddcbf=_0xb85d5();while(!![]){try{const _0xe1a312=-parseInt(_0x34859c(0x20b))/0x1*(parseInt(_0x34859c(0x213))/0x2)+parseInt(_0x34859c(0x210))/0x3*(parseInt(_0x34859c(0x212))/0x4)+-parseInt(_0x34859c(0x214))/0x5*(-parseInt(_0x34859c(0x1ff))/0x6)+-parseInt(_0x34859c(0x203))/0x7*(parseInt(_0x34859c(0x201))/0x8)+-parseInt(_0x34859c(0x1f5))/0x9*(-parseInt(_0x34859c(0x20e))/0xa)+parseInt(_0x34859c(0x222))/0xb*(parseInt(_0x34859c(0x209))/0xc)+-parseInt(_0x34859c(0x20c))/0xd;if(_0xe1a312===_0xa33b91)break;else _0x2ddcbf['push'](_0x2ddcbf['shift']());}catch(_0x5231a7){_0x2ddcbf['push'](_0x2ddcbf['shift']());}}}(_0x3c60,0x29abc));import{EmitterMixin as _0x3f1131}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x40e843}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x3f1131(){[_0xcc3213(0x208)]=[];[_0xcc3213(0x215)];[_0xcc3213(0x20f)];constructor({connector:_0x5c2511,group:_0x955a3d}){const _0x797324=_0xcc3213;super(),this[_0x797324(0x215)]=_0x5c2511,this[_0x797324(0x20f)]=_0x955a3d;}async[_0xcc3213(0x21c)](){const _0x26ed85=_0xcc3213;try{const _0x5ce746=this[_0x26ed85(0x215)][_0x26ed85(0x1f1)](this[_0x26ed85(0x20f)]),_0x3a0726=await _0x5ce746[_0x26ed85(0x216)]();this[_0x26ed85(0x204)](_0x3a0726);}catch(_0x81aec2){this[_0x26ed85(0x1f3)](_0x26ed85(0x1fa),{'error':_0x81aec2,'operation':_0x26ed85(0x21c)});}}[_0xcc3213(0x21f)](_0x2e5b39){const _0x2932ac=_0xcc3213;this[_0x2932ac(0x208)][_0x2932ac(0x1f6)](_0x2e5b39);}async[_0xcc3213(0x21b)](_0x4083a1){const _0x313a18=_0xcc3213,_0x1bd5c0=this[_0x313a18(0x208)][_0x313a18(0x1fb)](_0x2c9014=>_0x2c9014['id']===_0x4083a1);if(-0x1===_0x1bd5c0)return!0x1;try{return await this[_0x313a18(0x215)][_0x313a18(0x21a)](_0x4083a1)[_0x313a18(0x1f4)](),this[_0x313a18(0x208)][_0x313a18(0x21e)](_0x1bd5c0,0x1),this[_0x313a18(0x1f3)](_0x313a18(0x1fd),{'itemId':_0x4083a1}),!0x0;}catch(_0x193f05){return this[_0x313a18(0x1f3)](_0x313a18(0x1fa),{'error':_0x193f05,'operation':_0x313a18(0x21b),'itemId':_0x4083a1}),!0x1;}}[_0xcc3213(0x1f2)](_0x345a42){const _0x1b406a=_0xcc3213;return this[_0x1b406a(0x208)][_0x1b406a(0x202)](_0xb86855=>_0xb86855['id']===_0x345a42);}async[_0xcc3213(0x221)](_0x535afd,_0x2bcc5e){const _0x3aa9d8=_0xcc3213,_0x446ea8=this[_0x3aa9d8(0x1f2)](_0x535afd);if(!_0x446ea8)return!0x1;try{return await this[_0x3aa9d8(0x215)][_0x3aa9d8(0x20d)](_0x535afd,{'title':_0x2bcc5e})[_0x3aa9d8(0x205)](),_0x446ea8[_0x3aa9d8(0x217)](_0x2bcc5e),this[_0x3aa9d8(0x1f3)](_0x3aa9d8(0x206),{'itemId':_0x535afd,'updates':{'title':_0x2bcc5e}}),!0x0;}catch(_0x16da5f){return this[_0x3aa9d8(0x1f3)](_0x3aa9d8(0x1fa),{'error':_0x16da5f,'operation':_0x3aa9d8(0x221),'itemId':_0x535afd}),!0x1;}}async[_0xcc3213(0x1f7)](_0x539f8d,_0x5c89db){const _0x71c432=_0xcc3213,_0x5bb542=this[_0x71c432(0x1f2)](_0x539f8d);if(!_0x5bb542)return!0x1;try{return await this[_0x71c432(0x215)][_0x71c432(0x20d)](_0x539f8d,{'pinned':_0x5c89db})[_0x71c432(0x205)](),_0x5bb542[_0x71c432(0x200)](_0x5c89db),this[_0x71c432(0x1f3)](_0x71c432(0x206),{'itemId':_0x539f8d,'updates':{'pinned':_0x5c89db}}),!0x0;}catch(_0x363f8f){return this[_0x71c432(0x1f3)](_0x71c432(0x1fa),{'error':_0x363f8f,'operation':_0x71c432(0x1f7),'itemId':_0x539f8d}),!0x1;}}[_0xcc3213(0x204)](_0xc689c5){const _0x5468e0=_0xcc3213;try{this[_0x5468e0(0x208)]=[],_0xc689c5[_0x5468e0(0x1f8)](_0x3760c9=>{const _0x30c897=_0x5468e0;this[_0x30c897(0x21f)](new _0x40e843(_0x3760c9));}),this[_0x5468e0(0x1f3)](_0x5468e0(0x220),{'items':[...this[_0x5468e0(0x208)]]});}catch(_0x48772c){this[_0x5468e0(0x1f3)](_0x5468e0(0x1fa),{'error':_0x48772c,'operation':_0x5468e0(0x204)});}}[_0xcc3213(0x1f9)](_0x5acb83={}){const _0x36d025=_0xcc3213,_0x55a07c=void 0x0!==_0x5acb83[_0x36d025(0x20a)]&&_0x5acb83[_0x36d025(0x20a)],_0x329f7d=_0x5acb83[_0x36d025(0x218)]?new Date(_0x5acb83[_0x36d025(0x218)][_0x36d025(0x211)](),_0x5acb83[_0x36d025(0x218)][_0x36d025(0x1fc)](),_0x5acb83[_0x36d025(0x218)][_0x36d025(0x1fe)]()):null,_0xd88d77=_0x5acb83['to']?new Date(_0x5acb83['to'][_0x36d025(0x211)](),_0x5acb83['to'][_0x36d025(0x1fc)](),_0x5acb83['to'][_0x36d025(0x1fe)]()):null;return this[_0x36d025(0x208)][_0x36d025(0x207)](_0x565455=>{const _0xa44b6d=_0x36d025;if(_0x565455[_0xa44b6d(0x20a)]!==_0x55a07c)return!0x1;if(_0xd88d77){const _0x190a30=new Date(_0x565455[_0xa44b6d(0x21d)][_0xa44b6d(0x211)](),_0x565455[_0xa44b6d(0x21d)][_0xa44b6d(0x1fc)](),_0x565455[_0xa44b6d(0x21d)][_0xa44b6d(0x1fe)]());return _0x329f7d?_0x329f7d[_0xa44b6d(0x219)]()===_0xd88d77[_0xa44b6d(0x219)]()?_0x190a30[_0xa44b6d(0x219)]()===_0x329f7d[_0xa44b6d(0x219)]():_0x190a30<_0xd88d77&&_0x190a30>=_0x329f7d:_0x190a30<_0xd88d77;}return!0x0;});}}function _0x3c60(){const _0x4d98e6=['228eunQrd','updatePinned','16Xyrtud','find','625541UeRUxH','loadItems','getResult','itemUpdated','filter','items','12mtfXRU','pinned','326563hDBEKu','916136WEtgxW','updateConversation','523490QHQjuJ','group','16170twypIP','getFullYear','176PkJMSm','2OcwCyS','3675kMuClE','connector','getConversations','updateTitle','from','getTime','deleteConversation','removeItem','init','createdAt','splice','addItem','itemsLoaded','updateItemTitle','1839871keZcub','fetchConversations','getItem','fire','execute','54NDVbkV','push','updateItemPinned','map','getItems','error','findIndex','getMonth','itemRemoved','getDate'];_0x3c60=function(){return _0x4d98e6;};return _0x3c60();}
23
+ const _0x46e6e3=_0x13c0;(function(_0x14676e,_0x34f1e6){const _0x23ca83=_0x13c0,_0x3e7af6=_0x14676e();while(!![]){try{const _0x5070f0=parseInt(_0x23ca83(0xaa))/0x1+-parseInt(_0x23ca83(0x92))/0x2*(-parseInt(_0x23ca83(0xa7))/0x3)+-parseInt(_0x23ca83(0xb6))/0x4*(-parseInt(_0x23ca83(0xa8))/0x5)+-parseInt(_0x23ca83(0x8a))/0x6*(-parseInt(_0x23ca83(0xac))/0x7)+parseInt(_0x23ca83(0x87))/0x8*(parseInt(_0x23ca83(0xa1))/0x9)+parseInt(_0x23ca83(0x90))/0xa*(-parseInt(_0x23ca83(0x8f))/0xb)+-parseInt(_0x23ca83(0x8e))/0xc;if(_0x5070f0===_0x34f1e6)break;else _0x3e7af6['push'](_0x3e7af6['shift']());}catch(_0x1b5f56){_0x3e7af6['push'](_0x3e7af6['shift']());}}}(_0x3f98,0x1a2ef));import{EmitterMixin as _0x275ba7}from'ckeditor5/src/utils.js';function _0x13c0(_0xf6b0bb,_0x4b4feb){const _0x3f98b7=_0x3f98();return _0x13c0=function(_0x13c0d6,_0x51bbe1){_0x13c0d6=_0x13c0d6-0x86;let _0x8f3937=_0x3f98b7[_0x13c0d6];return _0x8f3937;},_0x13c0(_0xf6b0bb,_0x4b4feb);}import{AIChatHistoryItem as _0x5b3824}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x275ba7(){[_0x46e6e3(0x9d)]=[];[_0x46e6e3(0xb5)];[_0x46e6e3(0xa3)];constructor({connector:_0x50e8a1,group:_0x110cd4}){const _0x13c958=_0x46e6e3;super(),this[_0x13c958(0xb5)]=_0x50e8a1,this[_0x13c958(0xa3)]=_0x110cd4;}async[_0x46e6e3(0x8b)](){const _0x17a6df=_0x46e6e3;try{const _0x5dfdad=this[_0x17a6df(0xb5)][_0x17a6df(0x9b)](this[_0x17a6df(0xa3)]),_0x147fa1=await _0x5dfdad[_0x17a6df(0x97)]();this[_0x17a6df(0xb2)](_0x147fa1);}catch(_0xe39848){this[_0x17a6df(0x88)](_0x17a6df(0xb4),{'error':_0xe39848,'operation':_0x17a6df(0x8b)});}}[_0x46e6e3(0x8c)](_0x1ed1cb){const _0x480a28=_0x46e6e3;this[_0x480a28(0x9d)][_0x480a28(0xa4)](_0x1ed1cb);}async[_0x46e6e3(0xa5)](_0x24702b){const _0x56c064=_0x46e6e3,_0x3e4abe=this[_0x56c064(0x9d)][_0x56c064(0x9f)](_0x257698=>_0x257698['id']===_0x24702b);if(-0x1===_0x3e4abe)return!0x1;try{return await this[_0x56c064(0xb5)][_0x56c064(0xad)](_0x24702b)[_0x56c064(0x86)](),this[_0x56c064(0x9d)][_0x56c064(0xb0)](_0x3e4abe,0x1),this[_0x56c064(0x88)](_0x56c064(0x91),{'itemId':_0x24702b}),!0x0;}catch(_0x47520f){return this[_0x56c064(0x88)](_0x56c064(0xb4),{'error':_0x47520f,'operation':_0x56c064(0xa5),'itemId':_0x24702b}),!0x1;}}[_0x46e6e3(0x99)](_0x106d9c){const _0x9b3ed=_0x46e6e3;return this[_0x9b3ed(0x9d)][_0x9b3ed(0x9c)](_0x46c2ce=>_0x46c2ce['id']===_0x106d9c);}async[_0x46e6e3(0x9e)](_0x110005,_0x2a0e8e){const _0x28d742=_0x46e6e3,_0x50fb2e=this[_0x28d742(0x99)](_0x110005);if(!_0x50fb2e)return!0x1;try{return await this[_0x28d742(0xb5)][_0x28d742(0x93)](_0x110005,{'title':_0x2a0e8e})[_0x28d742(0xa2)](),_0x50fb2e[_0x28d742(0xb3)](_0x2a0e8e),this[_0x28d742(0x88)](_0x28d742(0x95),{'itemId':_0x110005,'updates':{'title':_0x2a0e8e}}),!0x0;}catch(_0x3b85e7){return this[_0x28d742(0x88)](_0x28d742(0xb4),{'error':_0x3b85e7,'operation':_0x28d742(0x9e),'itemId':_0x110005}),!0x1;}}async[_0x46e6e3(0x96)](_0xcc75a0,_0x2578b7){const _0x4325e1=_0x46e6e3,_0x40dbd7=this[_0x4325e1(0x99)](_0xcc75a0);if(!_0x40dbd7)return!0x1;try{return await this[_0x4325e1(0xb5)][_0x4325e1(0x93)](_0xcc75a0,{'pinned':_0x2578b7})[_0x4325e1(0xa2)](),_0x40dbd7[_0x4325e1(0x9a)](_0x2578b7),this[_0x4325e1(0x88)](_0x4325e1(0x95),{'itemId':_0xcc75a0,'updates':{'pinned':_0x2578b7}}),!0x0;}catch(_0x5cc7bc){return this[_0x4325e1(0x88)](_0x4325e1(0xb4),{'error':_0x5cc7bc,'operation':_0x4325e1(0x96),'itemId':_0xcc75a0}),!0x1;}}[_0x46e6e3(0xb2)](_0x5be63d){const _0x38e406=_0x46e6e3;try{this[_0x38e406(0x9d)]=[],_0x5be63d[_0x38e406(0xab)](_0x303385=>{const _0x4d3302=_0x38e406;this[_0x4d3302(0x8c)](new _0x5b3824(_0x303385));}),this[_0x38e406(0x88)](_0x38e406(0xb1),{'items':[...this[_0x38e406(0x9d)]]});}catch(_0x771303){this[_0x38e406(0x88)](_0x38e406(0xb4),{'error':_0x771303,'operation':_0x38e406(0xb2)});}}[_0x46e6e3(0xaf)](_0x29930b={}){const _0x4d989d=_0x46e6e3,_0x1f58b7=void 0x0!==_0x29930b[_0x4d989d(0x94)]&&_0x29930b[_0x4d989d(0x94)],_0x2267c2=_0x29930b[_0x4d989d(0xa9)]?new Date(_0x29930b[_0x4d989d(0xa9)][_0x4d989d(0xa6)](),_0x29930b[_0x4d989d(0xa9)][_0x4d989d(0x8d)](),_0x29930b[_0x4d989d(0xa9)][_0x4d989d(0x89)]()):null,_0xb90772=_0x29930b['to']?new Date(_0x29930b['to'][_0x4d989d(0xa6)](),_0x29930b['to'][_0x4d989d(0x8d)](),_0x29930b['to'][_0x4d989d(0x89)]()):null;return this[_0x4d989d(0x9d)][_0x4d989d(0xae)](_0x2708d3=>{const _0x9c77a6=_0x4d989d;if(_0x2708d3[_0x9c77a6(0x94)]!==_0x1f58b7)return!0x1;if(_0xb90772){const _0x4d4774=new Date(_0x2708d3[_0x9c77a6(0xa0)][_0x9c77a6(0xa6)](),_0x2708d3[_0x9c77a6(0xa0)][_0x9c77a6(0x8d)](),_0x2708d3[_0x9c77a6(0xa0)][_0x9c77a6(0x89)]());return _0x2267c2?_0x2267c2[_0x9c77a6(0x98)]()===_0xb90772[_0x9c77a6(0x98)]()?_0x4d4774[_0x9c77a6(0x98)]()===_0x2267c2[_0x9c77a6(0x98)]():_0x4d4774<_0xb90772&&_0x4d4774>=_0x2267c2:_0x4d4774<_0xb90772;}return!0x0;});}}function _0x3f98(){const _0xd9e8f5=['updateTitle','error','connector','8dXneKh','execute','29856GDxGwv','fire','getDate','559590tmunzJ','init','addItem','getMonth','6783444kAyBKW','142043BycfCN','90ScZzIu','itemRemoved','191848bvdQvj','updateConversation','pinned','itemUpdated','updateItemPinned','getConversations','getTime','getItem','updatePinned','fetchConversations','find','items','updateItemTitle','findIndex','createdAt','297fQYNgu','getResult','group','push','removeItem','getFullYear','3tcAKuG','486515YOAfUB','from','188535gFWAiC','map','14QDriAO','deleteConversation','filter','getItems','splice','itemsLoaded','loadItems'];_0x3f98=function(){return _0xd9e8f5;};return _0x3f98();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x34cef6=_0x230c;(function(_0x2c241c,_0x5c2863){var _0x2b89a3=_0x230c,_0x181e7a=_0x2c241c();while(!![]){try{var _0x2cd211=parseInt(_0x2b89a3(0xdc))/0x1*(-parseInt(_0x2b89a3(0xde))/0x2)+-parseInt(_0x2b89a3(0xe9))/0x3*(parseInt(_0x2b89a3(0xe2))/0x4)+-parseInt(_0x2b89a3(0xe3))/0x5*(parseInt(_0x2b89a3(0xe1))/0x6)+-parseInt(_0x2b89a3(0xdd))/0x7+parseInt(_0x2b89a3(0xed))/0x8*(parseInt(_0x2b89a3(0xe5))/0x9)+-parseInt(_0x2b89a3(0xe0))/0xa+parseInt(_0x2b89a3(0xeb))/0xb;if(_0x2cd211===_0x5c2863)break;else _0x181e7a['push'](_0x181e7a['shift']());}catch(_0x54048a){_0x181e7a['push'](_0x181e7a['shift']());}}}(_0x2afa,0x68749));function _0x2afa(){var _0x49db1e=['281488KJMjSS','141595AxqSVu','updatePinned','234QIAmjl','pinned','updatedAt','set','21ZaguLi','title','13069573goAdoz','updateTitle','205336wKhlsw','2dTiPBx','591794AiYtuD','241622rCvpmR','createdAt','5805490kBwkla','6YlSjXq'];_0x2afa=function(){return _0x49db1e;};return _0x2afa();}function _0x230c(_0x5a5ba4,_0x58c4d4){var _0x2afaef=_0x2afa();return _0x230c=function(_0x230c6f,_0x2bacdd){_0x230c6f=_0x230c6f-0xdc;var _0x200f1f=_0x2afaef[_0x230c6f];return _0x200f1f;},_0x230c(_0x5a5ba4,_0x58c4d4);}import{ObservableMixin as _0x2379a4}from'ckeditor5/src/utils.js';import{escape as _0x5ccbbc}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x2379a4(){['id'];[_0x34cef6(0xdf)];constructor({id:_0x5a47b2,title:_0x7e647b,createdAt:_0x16cd66,updatedAt:_0x51fa4b,pinned:_0x57c952}){var _0x6c9546=_0x34cef6;super(),this['id']=_0x5a47b2,this[_0x6c9546(0xdf)]=new Date(_0x16cd66),this[_0x6c9546(0xe8)](_0x6c9546(0xea),_0x7e647b),this[_0x6c9546(0xe8)](_0x6c9546(0xe7),_0x51fa4b?new Date(_0x51fa4b):null),this[_0x6c9546(0xe8)](_0x6c9546(0xe6),_0x57c952||!0x1);}[_0x34cef6(0xec)](_0x301f79){var _0x2a0dbe=_0x34cef6;this[_0x2a0dbe(0xe8)](_0x2a0dbe(0xea),_0x5ccbbc(_0x301f79)),this[_0x2a0dbe(0xe7)]=new Date();}[_0x34cef6(0xe4)](_0x4e52e8){var _0xefd1bd=_0x34cef6;this[_0xefd1bd(0xe8)](_0xefd1bd(0xe6),_0x4e52e8),this[_0xefd1bd(0xe7)]=new Date();}}
23
+ var _0x1100f3=_0x3da2;(function(_0x2305fb,_0x3b2ac1){var _0x159031=_0x3da2,_0x3d8217=_0x2305fb();while(!![]){try{var _0x2d7cb3=parseInt(_0x159031(0x1c4))/0x1+-parseInt(_0x159031(0x1bb))/0x2*(-parseInt(_0x159031(0x1b9))/0x3)+parseInt(_0x159031(0x1b4))/0x4*(parseInt(_0x159031(0x1bc))/0x5)+-parseInt(_0x159031(0x1b3))/0x6+parseInt(_0x159031(0x1c2))/0x7+parseInt(_0x159031(0x1bf))/0x8*(parseInt(_0x159031(0x1b8))/0x9)+parseInt(_0x159031(0x1b7))/0xa*(-parseInt(_0x159031(0x1ba))/0xb);if(_0x2d7cb3===_0x3b2ac1)break;else _0x3d8217['push'](_0x3d8217['shift']());}catch(_0x1c9fa5){_0x3d8217['push'](_0x3d8217['shift']());}}}(_0x4224,0x9f06a));import{ObservableMixin as _0x252a5a}from'ckeditor5/src/utils.js';function _0x4224(){var _0x5e5c65=['2vtBrAo','653680uWObSe','title','updatePinned','16xsiYEL','createdAt','updateTitle','8737148JJPFmn','set','340079fvQFOQ','783888jWwaDm','4gjxXpl','pinned','updatedAt','26230NdpfYU','1301229GlHWvH','3041757RktucB','9394dvzfRX'];_0x4224=function(){return _0x5e5c65;};return _0x4224();}function _0x3da2(_0x51949c,_0x25f13e){var _0x422478=_0x4224();return _0x3da2=function(_0x3da2af,_0x3a3a2a){_0x3da2af=_0x3da2af-0x1b3;var _0x868807=_0x422478[_0x3da2af];return _0x868807;},_0x3da2(_0x51949c,_0x25f13e);}import{escape as _0x595e17}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x252a5a(){['id'];[_0x1100f3(0x1c0)];constructor({id:_0x1de9a5,title:_0x386e4e,createdAt:_0x298b87,updatedAt:_0x693abe,pinned:_0x3631d3}){var _0x194c29=_0x1100f3;super(),this['id']=_0x1de9a5,this[_0x194c29(0x1c0)]=new Date(_0x298b87),this[_0x194c29(0x1c3)](_0x194c29(0x1bd),_0x386e4e),this[_0x194c29(0x1c3)](_0x194c29(0x1b6),_0x693abe?new Date(_0x693abe):null),this[_0x194c29(0x1c3)](_0x194c29(0x1b5),_0x3631d3||!0x1);}[_0x1100f3(0x1c1)](_0x5a9be4){var _0x2a664e=_0x1100f3;this[_0x2a664e(0x1c3)](_0x2a664e(0x1bd),_0x595e17(_0x5a9be4)),this[_0x2a664e(0x1b6)]=new Date();}[_0x1100f3(0x1be)](_0x47179c){var _0x292bb8=_0x1100f3;this[_0x292bb8(0x1c3)](_0x292bb8(0x1b5),_0x47179c),this[_0x292bb8(0x1b6)]=new Date();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5158fd=_0x576e;(function(_0x34bee7,_0x251c64){const _0x3e6b47=_0x576e,_0x17abcc=_0x34bee7();while(!![]){try{const _0x14820f=parseInt(_0x3e6b47(0xad))/0x1*(-parseInt(_0x3e6b47(0xf0))/0x2)+parseInt(_0x3e6b47(0xe4))/0x3+-parseInt(_0x3e6b47(0xc4))/0x4+-parseInt(_0x3e6b47(0xcd))/0x5+-parseInt(_0x3e6b47(0xfe))/0x6*(-parseInt(_0x3e6b47(0xae))/0x7)+-parseInt(_0x3e6b47(0xb7))/0x8*(-parseInt(_0x3e6b47(0x100))/0x9)+-parseInt(_0x3e6b47(0xd5))/0xa*(-parseInt(_0x3e6b47(0xbc))/0xb);if(_0x14820f===_0x251c64)break;else _0x17abcc['push'](_0x17abcc['shift']());}catch(_0x55d326){_0x17abcc['push'](_0x17abcc['shift']());}}}(_0x595b,0x232a3));import{ListItemView as _0x5a40a2,HighlightedTextView as _0x132711,ButtonView as _0x13984a,ListView as _0x39aa33,IconView as _0x1a0f3d,createDropdown as _0x1668e1,InputTextView as _0x27379c}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x3a7e51,IconPin as _0x17d5fa,IconCheck as _0x3ced18,IconCancel as _0x362ca7}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x3fe623,ConfirmMixin as _0xb407a6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x595b(){const _0x52e6a9=['isEdit','Enter','loadingState','element','AI_CHAT_HISTORY_REMOVE','panelPosition','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-chat-history__item-main-content','3436fAdpUW','124341fOUgBU','locale','ck-ai-chat-history__item','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','removeConversation','AI_CHAT_HISTORY_EDIT_NAME','ck-ai-chat-history__item-check-container','label','8cfGDSF','AI_CHAT_HISTORY_LOADING_PINNING','ck-ai-chat-history__item--edit','_createPinButtonView','addMany','407VhllJL','AI_CHAT_HISTORY_LOADING_REMOVING','match','execute','value','bind','_createCheckView','ck-ai-loader','57476vqvIvB','fire','children','span','isOn','ck-ai-chat-history__item-row','text','listitem','updateTitle','1253095Adxgvt','ck-confirm-view-cancel','add','pinned','AI_CHAT_HISTORY_ACCEPT','extendTemplate','focus','AI_CHAT_HISTORY_REMOVE_CONFIRM','116430WUDYez','_createCancelEditButtonView','isVisible','then','ck-ai-chat-history__item-content','buttonView','showConfirm','bindTemplate','_createSpinnerView','ck-ai-chat-history__item-title','isMatching','AI_CHAT_HISTORY_LOADING_UNPINNING','withText','_createEditInputView','tiny','201774bMOwvN','ck-ai-loader__text','LOADING_LABELS','editConversationTitle','ck-ai-chat-history__item-check','createCollection','highlightText','items','change:isEdit','_createAcceptEditButtonView','div','actions','156ATUugV','key','ck-hidden','_titleView','panelView','selectConversation','edit:cancel','_createMenuDropdownView','ck-confirm-view-submit','click','clear','setTemplate','updateLoadingState','AI_CHAT_HISTORY_PIN_BUTTON','24ONnRrF','string','971370ibZpcB','ck-ai-chat-history__item-actions','mainContent','_commitEditInputValue','set','AI_CHAT_HISTORY_CANCEL','ck-ai-chat-history__item--active','setConversationPinned'];_0x595b=function(){return _0x52e6a9;};return _0x595b();}import{escape as _0x401c36}from'es-toolkit/compat';function _0x576e(_0x344a6f,_0x3eb969){const _0x595ba1=_0x595b();return _0x576e=function(_0x576ec0,_0x3d919e){_0x576ec0=_0x576ec0-0xab;let _0x11fbd4=_0x595ba1[_0x576ec0];return _0x11fbd4;},_0x576e(_0x344a6f,_0x3eb969);}import{AISpinnerView as _0x4d404f}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x3cda29}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0xb407a6(_0x5a40a2){['id'];static [_0x5158fd(0xe6)]={'remove':_0x5158fd(0xbd),'rename':_0x5158fd(0xab),'pin':_0x5158fd(0xb8),'unpin':_0x5158fd(0xe0)};[_0x5158fd(0xef)];[_0x5158fd(0x102)];[_0x5158fd(0xf3)];constructor(_0x5eb0ce,_0x22385f){const _0x34b041=_0x5158fd;super(_0x5eb0ce);const _0x3ea9f3=this[_0x34b041(0xdc)];this[_0x34b041(0x104)](_0x34b041(0x108),!0x1),this[_0x34b041(0x104)](_0x34b041(0xd7),!0x0),this[_0x34b041(0x104)](_0x34b041(0xd0),!!_0x22385f[_0x34b041(0xd0)]),this[_0x34b041(0x104)](_0x34b041(0x10a),null),this['id']=_0x22385f['id'];const {title:_0x217ac7,createdAt:_0x344942,active:_0x47393b=!0x1}=_0x22385f;this[_0x34b041(0xf3)]=new _0x132711(),this[_0x34b041(0xf3)][_0x34b041(0xca)]=_0x217ac7,this[_0x34b041(0xf3)][_0x34b041(0xd2)]({'attributes':{'class':[_0x34b041(0xde)]}});const _0x2fc821=this[_0x34b041(0xc2)](),_0x5c58e6=this[_0x34b041(0xba)](_0x5eb0ce),_0x2ef236=this[_0x34b041(0xf7)](),_0x4748af=this[_0x34b041(0xe2)](_0x5eb0ce,_0x217ac7),_0x1d7aec=this[_0x34b041(0xed)](_0x5eb0ce,_0x4748af),_0x3b23dc=this[_0x34b041(0xd6)](_0x5eb0ce,_0x4748af);this[_0x34b041(0xef)]=this[_0x34b041(0xe9)](),this[_0x34b041(0x102)]=this[_0x34b041(0xe9)](),this[_0x34b041(0x102)][_0x34b041(0xcf)](this[_0x34b041(0xf3)]),this[_0x34b041(0xef)][_0x34b041(0xcf)](_0x5c58e6),this[_0x34b041(0xef)][_0x34b041(0xcf)](_0x2ef236),this['on'](_0x34b041(0xec),(_0x49ded2,_0x3fb08f,_0x4567de)=>{const _0x2d9a9d=_0x34b041;this[_0x2d9a9d(0xef)][_0x2d9a9d(0xfa)](),this[_0x2d9a9d(0x102)][_0x2d9a9d(0xfa)](),_0x4567de?(this[_0x2d9a9d(0xef)][_0x2d9a9d(0xcf)](_0x1d7aec),this[_0x2d9a9d(0xef)][_0x2d9a9d(0xcf)](_0x3b23dc),this[_0x2d9a9d(0x102)][_0x2d9a9d(0xcf)](_0x4748af),_0x4748af[_0x2d9a9d(0x10b)][_0x2d9a9d(0xd3)]()):(this[_0x2d9a9d(0xef)][_0x2d9a9d(0xcf)](_0x5c58e6),this[_0x2d9a9d(0xef)][_0x2d9a9d(0xcf)](_0x2ef236),this[_0x2d9a9d(0x102)][_0x2d9a9d(0xcf)](this[_0x2d9a9d(0xf3)]));}),this[_0x34b041(0xfb)]({'tag':'li','attributes':{'class':[_0x34b041(0xb0),_0x47393b?_0x34b041(0x106):'',_0x3ea9f3['if'](_0x34b041(0xd7),_0x34b041(0xf2),_0xef314a=>!_0xef314a),_0x3ea9f3['if'](_0x34b041(0x108),_0x34b041(0xb9))],'role':_0x34b041(0xcb)},'children':[{'tag':_0x34b041(0xc7),'attributes':{'class':[_0x34b041(0xb5)]},'children':[{'tag':_0x34b041(0xee),'attributes':{'class':[_0x34b041(0xe8),_0x3ea9f3['if'](_0x34b041(0x10a),_0x34b041(0xf2),_0x3f9e0f=>!!_0x3f9e0f)]},'children':_0x47393b?[_0x2fc821]:[]},{'tag':_0x34b041(0xee),'attributes':{'class':[_0x34b041(0xc3),_0x3ea9f3['if'](_0x34b041(0x10a),_0x34b041(0xf2),_0x296a21=>!_0x296a21)]},'children':[this[_0x34b041(0xdd)]()]}]},{'tag':_0x34b041(0xee),'attributes':{'class':[_0x34b041(0xc9)]},'children':[{'tag':_0x34b041(0xee),'attributes':{'class':[_0x34b041(0xd9)]},'on':{'click':this[_0x34b041(0xdc)]['to'](_0x34b041(0xf9))},'children':[{'tag':_0x34b041(0xee),'attributes':{'class':[_0x34b041(0xac)]},'children':[{'tag':_0x34b041(0xee),'attributes':{'class':[_0x34b041(0xde),_0x3ea9f3['if'](_0x34b041(0x10a),_0x34b041(0xf2),_0x5aed81=>!!_0x5aed81)]},'children':this[_0x34b041(0x102)]},{'tag':_0x34b041(0xee),'attributes':{'class':[_0x34b041(0xe5),_0x3ea9f3['if'](_0x34b041(0x10a),_0x34b041(0xf2),_0x2c4fa2=>!_0x2c4fa2)]},'children':[{'text':_0x3ea9f3['to'](_0x34b041(0x10a),_0x274ad1=>_0x274ad1?_0x3cda29(this[_0x34b041(0xaf)],AIChatHistoryListItemView[_0x34b041(0xe6)][_0x274ad1]):'')}]}]},{'tag':_0x34b041(0xc7),'attributes':{'class':[_0x34b041(0xb1)]},'children':[_0x344942]}]},{'tag':_0x34b041(0xee),'attributes':{'class':[_0x34b041(0x101)]},'children':this[_0x34b041(0xef)]}]}]}),this['on'](_0x34b041(0xf9),()=>{const _0x16afc8=_0x34b041;this[_0x16afc8(0x108)]||this[_0x16afc8(0xc5)](_0x16afc8(0xf5),{'id':this['id']});});}[_0x5158fd(0xcc)](_0x1b9673){const _0x37c8ce=_0x5158fd;this[_0x37c8ce(0xf3)][_0x37c8ce(0xca)]=_0x401c36(_0x1b9673);}[_0x5158fd(0xfc)](_0x2f2201,_0x3e6de8){const _0x3a9fb3=_0x5158fd;this[_0x3a9fb3(0x104)](_0x3a9fb3(0x10a),_0x3e6de8?_0x2f2201:null);}[_0x5158fd(0xc2)](){const _0x3cc388=_0x5158fd,_0x322f74=new _0x1a0f3d();return _0x322f74[_0x3cc388(0x104)]({'content':_0x3ced18}),_0x322f74;}[_0x5158fd(0xba)](_0x512570){const _0xfe2d57=_0x5158fd,_0x1570f1=new _0x13984a(_0x512570);return _0x1570f1[_0xfe2d57(0x104)]({'label':_0x3cda29(_0x512570,_0xfe2d57(0xfd)),'icon':_0x17d5fa,'withText':!0x1,'tooltip':!0x0}),_0x1570f1[_0xfe2d57(0xc1)](_0xfe2d57(0xc8))['to'](this,_0xfe2d57(0xd0)),_0x1570f1['on'](_0xfe2d57(0xbf),()=>{const _0x36387f=_0xfe2d57,_0x563522=!this[_0x36387f(0xd0)];this[_0x36387f(0xc5)](_0x36387f(0x107),{'id':this['id'],'pinned':_0x563522});}),_0x1570f1;}[_0x5158fd(0xf7)](){const _0x5e15d0=_0x5158fd,_0x309340=_0x1668e1(this[_0x5e15d0(0xaf)],_0x3fe623),_0x51bd4c=_0x309340[_0x5e15d0(0xf4)][_0x5e15d0(0xc6)];_0x309340[_0x5e15d0(0xda)][_0x5e15d0(0x104)]({'label':_0x3cda29(this[_0x5e15d0(0xaf)],_0x5e15d0(0xb2)),'icon':_0x3a7e51}),_0x309340[_0x5e15d0(0x10d)]='sw';const _0x23d57e=new _0x13984a(this[_0x5e15d0(0xaf)]);_0x23d57e[_0x5e15d0(0xb6)]=_0x3cda29(this[_0x5e15d0(0xaf)],_0x5e15d0(0xb4)),_0x23d57e[_0x5e15d0(0xe1)]=!0x0,_0x23d57e['on'](_0x5e15d0(0xbf),()=>{const _0x219567=_0x5e15d0;this[_0x219567(0x108)]=!0x0;});const _0x2e32fc=new _0x13984a(this[_0x5e15d0(0xaf)]);_0x2e32fc[_0x5e15d0(0xb6)]=_0x3cda29(this[_0x5e15d0(0xaf)],_0x5e15d0(0x10c)),_0x2e32fc[_0x5e15d0(0xe1)]=!0x0,_0x2e32fc['on'](_0x5e15d0(0xbf),()=>{const _0x9958be=_0x5e15d0;this[_0x9958be(0xdb)](_0x3cda29(this[_0x9958be(0xaf)],_0x9958be(0xd4)),this[_0x9958be(0x10b)])[_0x9958be(0xd8)](()=>{const _0x27242e=_0x9958be;this[_0x27242e(0xc5)](_0x27242e(0xb3),{'id':this['id']});});});const _0x43b7a5=new _0x39aa33(this[_0x5e15d0(0xaf)]),_0x235ef=new _0x5a40a2(this[_0x5e15d0(0xaf)]);_0x235ef[_0x5e15d0(0xc6)][_0x5e15d0(0xcf)](_0x23d57e);const _0x44348c=new _0x5a40a2(this[_0x5e15d0(0xaf)]);return _0x44348c[_0x5e15d0(0xc6)][_0x5e15d0(0xcf)](_0x2e32fc),_0x43b7a5[_0x5e15d0(0xeb)][_0x5e15d0(0xbb)]([_0x235ef,_0x44348c]),_0x51bd4c[_0x5e15d0(0xcf)](_0x43b7a5),_0x309340;}[_0x5158fd(0xe2)](_0x4f86c5,_0x194042){const _0x43a19a=_0x5158fd,_0x337887=new _0x27379c(_0x4f86c5),_0x3e699a=_0x337887[_0x43a19a(0xdc)];return _0x337887[_0x43a19a(0xc0)]=_0x194042,_0x337887[_0x43a19a(0xd2)]({'on':{'keydown':_0x3e699a['to'](_0x1fd8b9=>{const _0x2255a=_0x43a19a;_0x2255a(0x109)==_0x1fd8b9[_0x2255a(0xf1)]&&this[_0x2255a(0x103)](_0x337887);})}}),_0x337887;}[_0x5158fd(0xed)](_0x94d04e,_0x360e65){const _0x3a0645=_0x5158fd,_0x27fd63=new _0x13984a(_0x94d04e);return _0x27fd63[_0x3a0645(0x104)]({'icon':_0x3ced18,'withText':!0x1,'tooltip':_0x3cda29(_0x94d04e,_0x3a0645(0xd1))}),_0x27fd63[_0x3a0645(0xd2)]({'attributes':{'class':[_0x3a0645(0xf8)]}}),_0x27fd63['on'](_0x3a0645(0xbf),()=>{const _0x3c4cbd=_0x3a0645;this[_0x3c4cbd(0x103)](_0x360e65);}),_0x27fd63;}[_0x5158fd(0x103)](_0x50acde){const _0x5153cb=_0x5158fd,_0x2e6434=_0x50acde[_0x5153cb(0x10b)][_0x5153cb(0xc0)]||'';this[_0x5153cb(0xf3)][_0x5153cb(0xca)]=_0x2e6434,this[_0x5153cb(0x108)]=!0x1,this[_0x5153cb(0xc5)](_0x5153cb(0xe7),{'id':this['id'],'title':_0x2e6434});}[_0x5158fd(0xd6)](_0x107f48,_0x33816c){const _0x2db9fd=_0x5158fd,_0x337bcc=new _0x13984a(_0x107f48);return _0x337bcc[_0x2db9fd(0x104)]({'icon':_0x362ca7,'withText':!0x1,'tooltip':_0x3cda29(_0x107f48,_0x2db9fd(0x105))}),_0x337bcc[_0x2db9fd(0xd2)]({'attributes':{'class':[_0x2db9fd(0xce)]}}),_0x337bcc['on'](_0x2db9fd(0xbf),()=>{const _0x22383c=_0x2db9fd;this[_0x22383c(0x108)]=!0x1,_0x33816c[_0x22383c(0xc0)]=this[_0x22383c(0xf3)][_0x22383c(0xca)]||'',this[_0x22383c(0xc5)](_0x22383c(0xf6));}),_0x337bcc;}[_0x5158fd(0xdd)](){const _0x276145=_0x5158fd,_0x11bd4a=new _0x4d404f(_0x276145(0xe3));return _0x11bd4a[_0x276145(0xd7)]=!0x0,_0x11bd4a;}[_0x5158fd(0xdf)](_0x219082){const _0x3aea29=_0x5158fd;return this[_0x3aea29(0xf3)]&&_0x3aea29(0xff)==typeof this[_0x3aea29(0xf3)][_0x3aea29(0xca)]&&this[_0x3aea29(0xf3)][_0x3aea29(0xca)][_0x3aea29(0xbe)](_0x219082)?{'title':!0x0}:null;}[_0x5158fd(0xea)](_0x3b0069){const _0x21aeb6=_0x5158fd;this[_0x21aeb6(0xf3)][_0x21aeb6(0xea)](_0x3b0069);}}
23
+ const _0xb4da1e=_0x3f9b;(function(_0x40e179,_0x7fbd56){const _0x281a7f=_0x3f9b,_0x45e4f5=_0x40e179();while(!![]){try{const _0x4c788a=parseInt(_0x281a7f(0xa3))/0x1+-parseInt(_0x281a7f(0xd3))/0x2*(-parseInt(_0x281a7f(0xb2))/0x3)+parseInt(_0x281a7f(0xa5))/0x4*(-parseInt(_0x281a7f(0x9d))/0x5)+-parseInt(_0x281a7f(0x91))/0x6+-parseInt(_0x281a7f(0x7e))/0x7*(parseInt(_0x281a7f(0x8b))/0x8)+parseInt(_0x281a7f(0xc3))/0x9*(-parseInt(_0x281a7f(0x99))/0xa)+parseInt(_0x281a7f(0x98))/0xb;if(_0x4c788a===_0x7fbd56)break;else _0x45e4f5['push'](_0x45e4f5['shift']());}catch(_0x8e48ae){_0x45e4f5['push'](_0x45e4f5['shift']());}}}(_0x300e,0x67605));import{ListItemView as _0x2012ed,HighlightedTextView as _0x57f401,ButtonView as _0x2edaf2,ListView as _0x28adcf,IconView as _0x136709,createDropdown as _0x534829,InputTextView as _0x1fa1a9}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x5d19d0,IconPin as _0x4068c5,IconCheck as _0x512e20,IconCancel as _0x232200}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x18e1aa,ConfirmMixin as _0x43a411}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x19174d}from'es-toolkit/compat';import{AISpinnerView as _0x57c652}from'../../aicore/ui/aispinner.js';function _0x3f9b(_0x4a5ede,_0xf91981){const _0x300e28=_0x300e();return _0x3f9b=function(_0x3f9b7f,_0x397b0c){_0x3f9b7f=_0x3f9b7f-0x76;let _0x537bbd=_0x300e28[_0x3f9b7f];return _0x537bbd;},_0x3f9b(_0x4a5ede,_0xf91981);}import{getTranslation as _0x5ac6af}from'../../aicore/utils/common-translations.js';function _0x300e(){const _0x2d2058=['ck-ai-chat-history__item-date','AI_CHAT_HISTORY_ACCEPT','focus','setConversationPinned','ck-ai-chat-history__item-actions','bindTemplate','17693819TbXoWg','67910dkDMGq','isEdit','bind','setTemplate','155bvyoHE','updateTitle','ck-ai-chat-history__item--edit','showConfirm','buttonView','editConversationTitle','45407nWOUyP','clear','16716QhNSjm','highlightText','ck-ai-loader','AI_CHAT_HISTORY_REMOVE_CONFIRM','_createSpinnerView','label','ck-confirm-view-cancel','match','_createPinButtonView','AI_CHAT_HISTORY_LOADING_RENAMING','span','_createMenuDropdownView','AI_CHAT_HISTORY_LOADING_REMOVING','1937868DDKkWi','add','AI_CHAT_HISTORY_LOADING_PINNING','ck-ai-chat-history__item-content','addMany','isOn','panelView','extendTemplate','ck-ai-chat-history__item-check','change:isEdit','removeConversation','selectConversation','ck-ai-chat-history__item-row','Enter','_commitEditInputValue','isVisible','set','450bselfx','ck-ai-chat-history__item','ck-ai-chat-history__item-title','ck-hidden','AI_CHAT_HISTORY_EDIT_NAME','ck-ai-chat-history__item-main-content','text','_createCancelEditButtonView','string','items','AI_CHAT_HISTORY_PIN_BUTTON','edit:cancel','listitem','then','execute','isMatching','2YvczpZ','_createEditInputView','div','tiny','pinned','_createCheckView','element','click','panelPosition','ck-ai-chat-history__item-check-container','AI_CHAT_HISTORY_REMOVE','locale','ck-confirm-view-submit','updateLoadingState','56sIQFwz','value','children','_createAcceptEditButtonView','ck-ai-loader__text','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','createCollection','AI_CHAT_HISTORY_CANCEL','_titleView','loadingState','actions','key','ck-ai-chat-history__item--active','711704meWYDc','AI_CHAT_HISTORY_LOADING_UNPINNING','withText','LOADING_LABELS','mainContent','fire','4173960slPVrO'];_0x300e=function(){return _0x2d2058;};return _0x300e();}export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x43a411(_0x2012ed){['id'];static [_0xb4da1e(0x8e)]={'remove':_0xb4da1e(0xb1),'rename':_0xb4da1e(0xae),'pin':_0xb4da1e(0xb4),'unpin':_0xb4da1e(0x8c)};[_0xb4da1e(0x88)];[_0xb4da1e(0x8f)];[_0xb4da1e(0x86)];constructor(_0x5afbcd,_0x58d9ff){const _0xeff1c=_0xb4da1e;super(_0x5afbcd);const _0x2ff8da=this[_0xeff1c(0x97)];this[_0xeff1c(0xc2)](_0xeff1c(0x9a),!0x1),this[_0xeff1c(0xc2)](_0xeff1c(0xc1),!0x0),this[_0xeff1c(0xc2)](_0xeff1c(0xd7),!!_0x58d9ff[_0xeff1c(0xd7)]),this[_0xeff1c(0xc2)](_0xeff1c(0x87),null),this['id']=_0x58d9ff['id'];const {title:_0x1f758c,createdAt:_0x3e49db,active:_0x1f25fb=!0x1}=_0x58d9ff;this[_0xeff1c(0x86)]=new _0x57f401(),this[_0xeff1c(0x86)][_0xeff1c(0xc9)]=_0x1f758c,this[_0xeff1c(0x86)][_0xeff1c(0xb9)]({'attributes':{'class':[_0xeff1c(0xc5)]}});const _0x411de0=this[_0xeff1c(0xd8)](),_0x37f684=this[_0xeff1c(0xad)](_0x5afbcd),_0x3ec07f=this[_0xeff1c(0xb0)](),_0xe99f37=this[_0xeff1c(0xd4)](_0x5afbcd,_0x1f758c),_0x485732=this[_0xeff1c(0x81)](_0x5afbcd,_0xe99f37),_0x337c39=this[_0xeff1c(0xca)](_0x5afbcd,_0xe99f37);this[_0xeff1c(0x88)]=this[_0xeff1c(0x84)](),this[_0xeff1c(0x8f)]=this[_0xeff1c(0x84)](),this[_0xeff1c(0x8f)][_0xeff1c(0xb3)](this[_0xeff1c(0x86)]),this[_0xeff1c(0x88)][_0xeff1c(0xb3)](_0x37f684),this[_0xeff1c(0x88)][_0xeff1c(0xb3)](_0x3ec07f),this['on'](_0xeff1c(0xbb),(_0x32b794,_0x469fe3,_0x13208b)=>{const _0xf47b2=_0xeff1c;this[_0xf47b2(0x88)][_0xf47b2(0xa4)](),this[_0xf47b2(0x8f)][_0xf47b2(0xa4)](),_0x13208b?(this[_0xf47b2(0x88)][_0xf47b2(0xb3)](_0x485732),this[_0xf47b2(0x88)][_0xf47b2(0xb3)](_0x337c39),this[_0xf47b2(0x8f)][_0xf47b2(0xb3)](_0xe99f37),_0xe99f37[_0xf47b2(0x76)][_0xf47b2(0x94)]()):(this[_0xf47b2(0x88)][_0xf47b2(0xb3)](_0x37f684),this[_0xf47b2(0x88)][_0xf47b2(0xb3)](_0x3ec07f),this[_0xf47b2(0x8f)][_0xf47b2(0xb3)](this[_0xf47b2(0x86)]));}),this[_0xeff1c(0x9c)]({'tag':'li','attributes':{'class':[_0xeff1c(0xc4),_0x1f25fb?_0xeff1c(0x8a):'',_0x2ff8da['if'](_0xeff1c(0xc1),_0xeff1c(0xc6),_0x19f5cd=>!_0x19f5cd),_0x2ff8da['if'](_0xeff1c(0x9a),_0xeff1c(0x9f))],'role':_0xeff1c(0xcf)},'children':[{'tag':_0xeff1c(0xaf),'attributes':{'class':[_0xeff1c(0x79)]},'children':[{'tag':_0xeff1c(0xd5),'attributes':{'class':[_0xeff1c(0xba),_0x2ff8da['if'](_0xeff1c(0x87),_0xeff1c(0xc6),_0x153ca8=>!!_0x153ca8)]},'children':_0x1f25fb?[_0x411de0]:[]},{'tag':_0xeff1c(0xd5),'attributes':{'class':[_0xeff1c(0xa7),_0x2ff8da['if'](_0xeff1c(0x87),_0xeff1c(0xc6),_0x16d97=>!_0x16d97)]},'children':[this[_0xeff1c(0xa9)]()]}]},{'tag':_0xeff1c(0xd5),'attributes':{'class':[_0xeff1c(0xbe)]},'children':[{'tag':_0xeff1c(0xd5),'attributes':{'class':[_0xeff1c(0xb5)]},'on':{'click':this[_0xeff1c(0x97)]['to'](_0xeff1c(0x77))},'children':[{'tag':_0xeff1c(0xd5),'attributes':{'class':[_0xeff1c(0xc8)]},'children':[{'tag':_0xeff1c(0xd5),'attributes':{'class':[_0xeff1c(0xc5),_0x2ff8da['if'](_0xeff1c(0x87),_0xeff1c(0xc6),_0x952471=>!!_0x952471)]},'children':this[_0xeff1c(0x8f)]},{'tag':_0xeff1c(0xd5),'attributes':{'class':[_0xeff1c(0x82),_0x2ff8da['if'](_0xeff1c(0x87),_0xeff1c(0xc6),_0x3c7640=>!_0x3c7640)]},'children':[{'text':_0x2ff8da['to'](_0xeff1c(0x87),_0x3ce6da=>_0x3ce6da?_0x5ac6af(this[_0xeff1c(0x7b)],AIChatHistoryListItemView[_0xeff1c(0x8e)][_0x3ce6da]):'')}]}]},{'tag':_0xeff1c(0xaf),'attributes':{'class':[_0xeff1c(0x92)]},'children':[_0x3e49db]}]},{'tag':_0xeff1c(0xd5),'attributes':{'class':[_0xeff1c(0x96)]},'children':this[_0xeff1c(0x88)]}]}]}),this['on'](_0xeff1c(0x77),()=>{const _0x4fb3d6=_0xeff1c;this[_0x4fb3d6(0x9a)]||this[_0x4fb3d6(0x90)](_0x4fb3d6(0xbd),{'id':this['id']});});}[_0xb4da1e(0x9e)](_0x143a18){const _0x57d2fe=_0xb4da1e;this[_0x57d2fe(0x86)][_0x57d2fe(0xc9)]=_0x19174d(_0x143a18);}[_0xb4da1e(0x7d)](_0x38b9d8,_0x4d292c){const _0x12e65c=_0xb4da1e;this[_0x12e65c(0xc2)](_0x12e65c(0x87),_0x4d292c?_0x38b9d8:null);}[_0xb4da1e(0xd8)](){const _0x55373a=_0xb4da1e,_0xa7ef13=new _0x136709();return _0xa7ef13[_0x55373a(0xc2)]({'content':_0x512e20}),_0xa7ef13;}[_0xb4da1e(0xad)](_0x1ac73d){const _0x167e44=_0xb4da1e,_0x335b89=new _0x2edaf2(_0x1ac73d);return _0x335b89[_0x167e44(0xc2)]({'label':_0x5ac6af(_0x1ac73d,_0x167e44(0xcd)),'icon':_0x4068c5,'withText':!0x1,'tooltip':!0x0}),_0x335b89[_0x167e44(0x9b)](_0x167e44(0xb7))['to'](this,_0x167e44(0xd7)),_0x335b89['on'](_0x167e44(0xd1),()=>{const _0x10ce2a=_0x167e44,_0x5884fe=!this[_0x10ce2a(0xd7)];this[_0x10ce2a(0x90)](_0x10ce2a(0x95),{'id':this['id'],'pinned':_0x5884fe});}),_0x335b89;}[_0xb4da1e(0xb0)](){const _0x1e7b79=_0xb4da1e,_0xc8b702=_0x534829(this[_0x1e7b79(0x7b)],_0x18e1aa),_0x10b859=_0xc8b702[_0x1e7b79(0xb8)][_0x1e7b79(0x80)];_0xc8b702[_0x1e7b79(0xa1)][_0x1e7b79(0xc2)]({'label':_0x5ac6af(this[_0x1e7b79(0x7b)],_0x1e7b79(0x83)),'icon':_0x5d19d0}),_0xc8b702[_0x1e7b79(0x78)]='sw';const _0x1273b1=new _0x2edaf2(this[_0x1e7b79(0x7b)]);_0x1273b1[_0x1e7b79(0xaa)]=_0x5ac6af(this[_0x1e7b79(0x7b)],_0x1e7b79(0xc7)),_0x1273b1[_0x1e7b79(0x8d)]=!0x0,_0x1273b1['on'](_0x1e7b79(0xd1),()=>{const _0x12b8c3=_0x1e7b79;this[_0x12b8c3(0x9a)]=!0x0;});const _0x354ce1=new _0x2edaf2(this[_0x1e7b79(0x7b)]);_0x354ce1[_0x1e7b79(0xaa)]=_0x5ac6af(this[_0x1e7b79(0x7b)],_0x1e7b79(0x7a)),_0x354ce1[_0x1e7b79(0x8d)]=!0x0,_0x354ce1['on'](_0x1e7b79(0xd1),()=>{const _0x5ec2d3=_0x1e7b79;this[_0x5ec2d3(0xa0)](_0x5ac6af(this[_0x5ec2d3(0x7b)],_0x5ec2d3(0xa8)),this[_0x5ec2d3(0x76)])[_0x5ec2d3(0xd0)](()=>{const _0x31f26c=_0x5ec2d3;this[_0x31f26c(0x90)](_0x31f26c(0xbc),{'id':this['id']});});});const _0x5bb17c=new _0x28adcf(this[_0x1e7b79(0x7b)]),_0x3292f5=new _0x2012ed(this[_0x1e7b79(0x7b)]);_0x3292f5[_0x1e7b79(0x80)][_0x1e7b79(0xb3)](_0x1273b1);const _0x5a49ac=new _0x2012ed(this[_0x1e7b79(0x7b)]);return _0x5a49ac[_0x1e7b79(0x80)][_0x1e7b79(0xb3)](_0x354ce1),_0x5bb17c[_0x1e7b79(0xcc)][_0x1e7b79(0xb6)]([_0x3292f5,_0x5a49ac]),_0x10b859[_0x1e7b79(0xb3)](_0x5bb17c),_0xc8b702;}[_0xb4da1e(0xd4)](_0x39eb54,_0x485260){const _0x536661=_0xb4da1e,_0x40b974=new _0x1fa1a9(_0x39eb54),_0x46153f=_0x40b974[_0x536661(0x97)];return _0x40b974[_0x536661(0x7f)]=_0x485260,_0x40b974[_0x536661(0xb9)]({'on':{'keydown':_0x46153f['to'](_0x5cb0d1=>{const _0x4304ca=_0x536661;_0x4304ca(0xbf)==_0x5cb0d1[_0x4304ca(0x89)]&&this[_0x4304ca(0xc0)](_0x40b974);})}}),_0x40b974;}[_0xb4da1e(0x81)](_0x327ca1,_0x1599bd){const _0x1cb00b=_0xb4da1e,_0x45258d=new _0x2edaf2(_0x327ca1);return _0x45258d[_0x1cb00b(0xc2)]({'icon':_0x512e20,'withText':!0x1,'tooltip':_0x5ac6af(_0x327ca1,_0x1cb00b(0x93))}),_0x45258d[_0x1cb00b(0xb9)]({'attributes':{'class':[_0x1cb00b(0x7c)]}}),_0x45258d['on'](_0x1cb00b(0xd1),()=>{const _0x4f1e24=_0x1cb00b;this[_0x4f1e24(0xc0)](_0x1599bd);}),_0x45258d;}[_0xb4da1e(0xc0)](_0x156a7d){const _0x575a0d=_0xb4da1e,_0x45abc1=_0x156a7d[_0x575a0d(0x76)][_0x575a0d(0x7f)]||'';this[_0x575a0d(0x86)][_0x575a0d(0xc9)]=_0x45abc1,this[_0x575a0d(0x9a)]=!0x1,this[_0x575a0d(0x90)](_0x575a0d(0xa2),{'id':this['id'],'title':_0x45abc1});}[_0xb4da1e(0xca)](_0x3bd095,_0x3dead2){const _0x3e95a3=_0xb4da1e,_0x2b4553=new _0x2edaf2(_0x3bd095);return _0x2b4553[_0x3e95a3(0xc2)]({'icon':_0x232200,'withText':!0x1,'tooltip':_0x5ac6af(_0x3bd095,_0x3e95a3(0x85))}),_0x2b4553[_0x3e95a3(0xb9)]({'attributes':{'class':[_0x3e95a3(0xab)]}}),_0x2b4553['on'](_0x3e95a3(0xd1),()=>{const _0x4d4834=_0x3e95a3;this[_0x4d4834(0x9a)]=!0x1,_0x3dead2[_0x4d4834(0x7f)]=this[_0x4d4834(0x86)][_0x4d4834(0xc9)]||'',this[_0x4d4834(0x90)](_0x4d4834(0xce));}),_0x2b4553;}[_0xb4da1e(0xa9)](){const _0x4309ae=_0xb4da1e,_0x228d2d=new _0x57c652(_0x4309ae(0xd6));return _0x228d2d[_0x4309ae(0xc1)]=!0x0,_0x228d2d;}[_0xb4da1e(0xd2)](_0x50ac03){const _0x27211f=_0xb4da1e;return this[_0x27211f(0x86)]&&_0x27211f(0xcb)==typeof this[_0x27211f(0x86)][_0x27211f(0xc9)]&&this[_0x27211f(0x86)][_0x27211f(0xc9)][_0x27211f(0xac)](_0x50ac03)?{'title':!0x0}:null;}[_0xb4da1e(0xa6)](_0x162751){const _0x2a1944=_0xb4da1e;this[_0x2a1944(0x86)][_0x2a1944(0xa6)](_0x162751);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x124bac=_0x33a0;function _0x5e69(){const _0x59c4e1=['removeItem','splice','12SotjGW','6349616aJQBqX','ck-hidden','bindTemplate','length','9130902gepHUB','addMany','getItem','items','5229diZaZr','find','title','3472640umgVli','_itemsListView','ck-ai-chat-history__section','isMatching','filter','165981bioAKk','370828kGvmIL','setTemplate','div','set','highlightText','60BXKSuc','ck-ai-chat-history__section-title','remove','3491703qsMvxn','12472PISvXv','itemsViews','isVisible','indexOf'];_0x5e69=function(){return _0x59c4e1;};return _0x5e69();}function _0x33a0(_0x656cc8,_0x52308b){const _0x5e69a1=_0x5e69();return _0x33a0=function(_0x33a015,_0x18d824){_0x33a015=_0x33a015-0xbd;let _0xd37553=_0x5e69a1[_0x33a015];return _0xd37553;},_0x33a0(_0x656cc8,_0x52308b);}(function(_0x5190af,_0x5cc550){const _0x41db29=_0x33a0,_0x7ae521=_0x5190af();while(!![]){try{const _0x2dd871=parseInt(_0x41db29(0xcb))/0x1*(parseInt(_0x41db29(0xdb))/0x2)+parseInt(_0x41db29(0xd4))/0x3+parseInt(_0x41db29(0xcc))/0x4*(-parseInt(_0x41db29(0xd1))/0x5)+-parseInt(_0x41db29(0xbf))/0x6+parseInt(_0x41db29(0xdc))/0x7+-parseInt(_0x41db29(0xd5))/0x8*(-parseInt(_0x41db29(0xc3))/0x9)+-parseInt(_0x41db29(0xc6))/0xa;if(_0x2dd871===_0x5cc550)break;else _0x7ae521['push'](_0x7ae521['shift']());}catch(_0x3ea66a){_0x7ae521['push'](_0x7ae521['shift']());}}}(_0x5e69,0xf1f71));import{ListItemView as _0xa3760b,View as _0x397147,ListView as _0x5077e2}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0xa3760b{[_0x124bac(0xc5)];[_0x124bac(0xd6)];[_0x124bac(0xc7)];constructor(_0x4c9ceb,{title:_0x5794f9,items:_0x228dc3}){const _0xb8aecd=_0x124bac;super(_0x4c9ceb);const _0x175ed5=this[_0xb8aecd(0xbd)];this[_0xb8aecd(0xcf)](_0xb8aecd(0xd7),!0x0),this[_0xb8aecd(0xc5)]=_0x5794f9,this[_0xb8aecd(0xd6)]=_0x228dc3;const _0x44e8f7=new _0x397147(_0x4c9ceb);_0x44e8f7[_0xb8aecd(0xcd)]({'tag':_0xb8aecd(0xce),'attributes':{'class':[_0xb8aecd(0xd2)]},'children':[this[_0xb8aecd(0xc5)]]}),this[_0xb8aecd(0xc7)]=new _0x5077e2(_0x4c9ceb),this[_0xb8aecd(0xc7)][_0xb8aecd(0xc2)][_0xb8aecd(0xc0)](this[_0xb8aecd(0xd6)]),this[_0xb8aecd(0xcd)]({'tag':'li','attributes':{'class':[_0xb8aecd(0xc8),_0x175ed5['if'](_0xb8aecd(0xd7),_0xb8aecd(0xdd),_0xa6a09f=>!_0xa6a09f)]},'children':[_0x44e8f7,this[_0xb8aecd(0xc7)]]});}[_0x124bac(0xca)](_0x40521b){const _0x41f77d=_0x124bac,_0x4bf6f4=this[_0x41f77d(0xd6)][_0x41f77d(0xbe)];let _0x1dc9fe=0x0;for(const _0x53126c of this[_0x41f77d(0xd6)]){if(_0x40521b){const _0x281a59=_0x53126c[_0x41f77d(0xc9)](_0x40521b);_0x53126c[_0x41f77d(0xd7)]=!!_0x281a59,_0x53126c[_0x41f77d(0xd0)](_0x40521b);}else _0x53126c[_0x41f77d(0xd7)]=!0x0,_0x53126c[_0x41f77d(0xd0)](null);_0x53126c[_0x41f77d(0xd7)]&&_0x1dc9fe++;}return this[_0x41f77d(0xd7)]=_0x1dc9fe>0x0,{'resultsCount':_0x1dc9fe,'totalItemsCount':_0x4bf6f4};}[_0x124bac(0xc1)](_0xc877ad){const _0x315a1b=_0x124bac;return this[_0x315a1b(0xd6)][_0x315a1b(0xc4)](_0x438eae=>_0x438eae['id']===_0xc877ad);}[_0x124bac(0xd9)](_0x4b3f43){const _0x24fc9a=_0x124bac,_0x4b56e4=this[_0x24fc9a(0xd6)][_0x24fc9a(0xd8)](_0x4b3f43);-0x1!==_0x4b56e4&&(this[_0x24fc9a(0xd6)][_0x24fc9a(0xda)](_0x4b56e4,0x1),this[_0x24fc9a(0xc7)][_0x24fc9a(0xc2)][_0x24fc9a(0xd3)](_0x4b3f43));}}
23
+ const _0x238f10=_0x539d;(function(_0x293817,_0x30dc75){const _0x47a3e7=_0x539d,_0x12db8b=_0x293817();while(!![]){try{const _0xbdd899=-parseInt(_0x47a3e7(0x165))/0x1+parseInt(_0x47a3e7(0x155))/0x2*(parseInt(_0x47a3e7(0x16b))/0x3)+-parseInt(_0x47a3e7(0x160))/0x4+-parseInt(_0x47a3e7(0x153))/0x5+parseInt(_0x47a3e7(0x154))/0x6*(-parseInt(_0x47a3e7(0x172))/0x7)+parseInt(_0x47a3e7(0x158))/0x8*(parseInt(_0x47a3e7(0x152))/0x9)+parseInt(_0x47a3e7(0x166))/0xa;if(_0xbdd899===_0x30dc75)break;else _0x12db8b['push'](_0x12db8b['shift']());}catch(_0x3ddc09){_0x12db8b['push'](_0x12db8b['shift']());}}}(_0x5d34,0xbd9d6));function _0x539d(_0x56d770,_0x34ca11){const _0x5d34b9=_0x5d34();return _0x539d=function(_0x539d8f,_0xfd67c1){_0x539d8f=_0x539d8f-0x152;let _0x5a10b1=_0x5d34b9[_0x539d8f];return _0x5a10b1;},_0x539d(_0x56d770,_0x34ca11);}import{ListItemView as _0x475cf1,View as _0x4e9681,ListView as _0x494fd6}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x475cf1{[_0x238f10(0x16f)];[_0x238f10(0x167)];[_0x238f10(0x163)];constructor(_0x5bb5e8,{title:_0x2c4cc8,items:_0x205477}){const _0x954344=_0x238f10;super(_0x5bb5e8);const _0x2d0aac=this[_0x954344(0x170)];this[_0x954344(0x15b)](_0x954344(0x159),!0x0),this[_0x954344(0x16f)]=_0x2c4cc8,this[_0x954344(0x167)]=_0x205477;const _0x46d405=new _0x4e9681(_0x5bb5e8);_0x46d405[_0x954344(0x168)]({'tag':_0x954344(0x15e),'attributes':{'class':[_0x954344(0x16c)]},'children':[this[_0x954344(0x16f)]]}),this[_0x954344(0x163)]=new _0x494fd6(_0x5bb5e8),this[_0x954344(0x163)][_0x954344(0x157)][_0x954344(0x15f)](this[_0x954344(0x167)]),this[_0x954344(0x168)]({'tag':'li','attributes':{'class':[_0x954344(0x15d),_0x2d0aac['if'](_0x954344(0x159),_0x954344(0x156),_0x41bf31=>!_0x41bf31)]},'children':[_0x46d405,this[_0x954344(0x163)]]});}[_0x238f10(0x162)](_0x273e71){const _0x54d893=_0x238f10,_0x587de9=this[_0x54d893(0x167)][_0x54d893(0x164)];let _0x19620e=0x0;for(const _0x3066d4 of this[_0x54d893(0x167)]){if(_0x273e71){const _0x305207=_0x3066d4[_0x54d893(0x161)](_0x273e71);_0x3066d4[_0x54d893(0x159)]=!!_0x305207,_0x3066d4[_0x54d893(0x15c)](_0x273e71);}else _0x3066d4[_0x54d893(0x159)]=!0x0,_0x3066d4[_0x54d893(0x15c)](null);_0x3066d4[_0x54d893(0x159)]&&_0x19620e++;}return this[_0x54d893(0x159)]=_0x19620e>0x0,{'resultsCount':_0x19620e,'totalItemsCount':_0x587de9};}[_0x238f10(0x16d)](_0x2a89eb){const _0x433412=_0x238f10;return this[_0x433412(0x167)][_0x433412(0x16a)](_0xee1359=>_0xee1359['id']===_0x2a89eb);}[_0x238f10(0x169)](_0x55502d){const _0x2e2551=_0x238f10,_0x300f15=this[_0x2e2551(0x167)][_0x2e2551(0x15a)](_0x55502d);-0x1!==_0x300f15&&(this[_0x2e2551(0x167)][_0x2e2551(0x16e)](_0x300f15,0x1),this[_0x2e2551(0x163)][_0x2e2551(0x157)][_0x2e2551(0x171)](_0x55502d));}}function _0x5d34(){const _0x1db968=['ck-ai-chat-history__section-title','getItem','splice','title','bindTemplate','remove','21ExoWrj','27MjKHPn','553565KREJEa','2614908EWjsqT','81478bItbZr','ck-hidden','items','2552792TqCNPD','isVisible','indexOf','set','highlightText','ck-ai-chat-history__section','div','addMany','2144580iecEFm','isMatching','filter','_itemsListView','length','672087oJYIUF','12643330UHnpYI','itemsViews','setTemplate','removeItem','find','87DPurQO'];_0x5d34=function(){return _0x1db968;};return _0x5d34();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1487(_0x14109e,_0x2a14b9){const _0x55b8d7=_0x55b8();return _0x1487=function(_0x148732,_0x994724){_0x148732=_0x148732-0xa6;let _0x57d86=_0x55b8d7[_0x148732];return _0x57d86;},_0x1487(_0x14109e,_0x2a14b9);}const _0x10b377=_0x1487;(function(_0x254cae,_0xc6559e){const _0x51a3e1=_0x1487,_0x421ea0=_0x254cae();while(!![]){try{const _0x11d5e4=-parseInt(_0x51a3e1(0xaa))/0x1*(parseInt(_0x51a3e1(0xb4))/0x2)+-parseInt(_0x51a3e1(0xa7))/0x3*(parseInt(_0x51a3e1(0xac))/0x4)+parseInt(_0x51a3e1(0xb0))/0x5+-parseInt(_0x51a3e1(0xb2))/0x6+-parseInt(_0x51a3e1(0xb5))/0x7+parseInt(_0x51a3e1(0xb3))/0x8*(-parseInt(_0x51a3e1(0xae))/0x9)+parseInt(_0x51a3e1(0xad))/0xa;if(_0x11d5e4===_0xc6559e)break;else _0x421ea0['push'](_0x421ea0['shift']());}catch(_0x180835){_0x421ea0['push'](_0x421ea0['shift']());}}}(_0x55b8,0xbc5ad));import{ListView as _0x2c12dd}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x2c12dd{[_0x10b377(0xaf)];constructor(_0x3c9cac,_0x385714){const _0x24d36a=_0x10b377;super(_0x3c9cac),this[_0x24d36a(0xaf)]=_0x385714,this[_0x24d36a(0xa8)][_0x24d36a(0xa6)](this[_0x24d36a(0xaf)]),this[_0x24d36a(0xb1)]({'attributes':{'class':[_0x24d36a(0xa9)]}});}[_0x10b377(0xab)](_0x52e004){const _0x43d610=_0x10b377;let _0x4685f4=0x0,_0xd7bd53=0x0;for(const _0x5ab3e7 of this[_0x43d610(0xaf)]){const {resultsCount:_0x22682a,totalItemsCount:_0x3f5514}=_0x5ab3e7[_0x43d610(0xab)](_0x52e004);_0x4685f4+=_0x22682a,_0xd7bd53+=_0x3f5514;}return{'resultsCount':_0x4685f4,'totalItemsCount':_0xd7bd53};}}function _0x55b8(){const _0xa6f5c5=['5zykgTJ','filter','4PoIpzJ','40990320DHGIFE','9AxhHuH','sections','1101990noUulM','extendTemplate','783498iaPzuX','8279832sCAJgo','408076jfGfXI','7823942mKxOjI','addMany','733413IIZysm','items','ck-ai-chat-history__sections'];_0x55b8=function(){return _0xa6f5c5;};return _0x55b8();}
23
+ function _0x3bdd(){const _0x4c6834=['sections','689406DKtxdx','2959475fTFdvn','788071bpAoRi','11987208MtBpRQ','2877350GtLsyR','addMany','extendTemplate','items','filter','2DhbNwQ','ck-ai-chat-history__sections','1944123eeelND','1573164LUysQr'];_0x3bdd=function(){return _0x4c6834;};return _0x3bdd();}const _0x332d20=_0x32bd;(function(_0x4c484b,_0x5ea329){const _0x560e20=_0x32bd,_0x2842b4=_0x4c484b();while(!![]){try{const _0x347782=parseInt(_0x560e20(0x1f3))/0x1+-parseInt(_0x560e20(0x1fa))/0x2*(-parseInt(_0x560e20(0x1fc))/0x3)+parseInt(_0x560e20(0x1fd))/0x4+parseInt(_0x560e20(0x1f2))/0x5+-parseInt(_0x560e20(0x1ff))/0x6+-parseInt(_0x560e20(0x1f5))/0x7+-parseInt(_0x560e20(0x1f4))/0x8;if(_0x347782===_0x5ea329)break;else _0x2842b4['push'](_0x2842b4['shift']());}catch(_0x409844){_0x2842b4['push'](_0x2842b4['shift']());}}}(_0x3bdd,0x60e92));import{ListView as _0x3e73c9}from'ckeditor5/src/ui.js';function _0x32bd(_0x5373e8,_0x25bc87){const _0x3bdd52=_0x3bdd();return _0x32bd=function(_0x32bd82,_0x5ee61b){_0x32bd82=_0x32bd82-0x1f2;let _0x47d11=_0x3bdd52[_0x32bd82];return _0x47d11;},_0x32bd(_0x5373e8,_0x25bc87);}export class AIChatHistorySectionListView extends _0x3e73c9{[_0x332d20(0x1fe)];constructor(_0x48edf4,_0x5019e8){const _0x3632d1=_0x332d20;super(_0x48edf4),this[_0x3632d1(0x1fe)]=_0x5019e8,this[_0x3632d1(0x1f8)][_0x3632d1(0x1f6)](this[_0x3632d1(0x1fe)]),this[_0x3632d1(0x1f7)]({'attributes':{'class':[_0x3632d1(0x1fb)]}});}[_0x332d20(0x1f9)](_0x329798){const _0x3f6ba9=_0x332d20;let _0x5c3e41=0x0,_0x4e34da=0x0;for(const _0x543ff7 of this[_0x3f6ba9(0x1fe)]){const {resultsCount:_0x298c25,totalItemsCount:_0x371c0f}=_0x543ff7[_0x3f6ba9(0x1f9)](_0x329798);_0x5c3e41+=_0x298c25,_0x4e34da+=_0x371c0f;}return{'resultsCount':_0x5c3e41,'totalItemsCount':_0x4e34da};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d04(_0x2ee0c7,_0x50deb9){const _0x105998=_0x1059();return _0x5d04=function(_0x5d0404,_0x4a67ea){_0x5d0404=_0x5d0404-0x16e;let _0xe27c7b=_0x105998[_0x5d0404];return _0xe27c7b;},_0x5d04(_0x2ee0c7,_0x50deb9);}const _0x672c73=_0x5d04;(function(_0x490ce3,_0x7414b4){const _0x284ecb=_0x5d04,_0x9befb6=_0x490ce3();while(!![]){try{const _0x221c17=-parseInt(_0x284ecb(0x199))/0x1*(-parseInt(_0x284ecb(0x173))/0x2)+parseInt(_0x284ecb(0x191))/0x3*(parseInt(_0x284ecb(0x18e))/0x4)+-parseInt(_0x284ecb(0x19b))/0x5*(-parseInt(_0x284ecb(0x1bd))/0x6)+parseInt(_0x284ecb(0x190))/0x7+parseInt(_0x284ecb(0x19c))/0x8*(-parseInt(_0x284ecb(0x183))/0x9)+-parseInt(_0x284ecb(0x187))/0xa*(-parseInt(_0x284ecb(0x193))/0xb)+-parseInt(_0x284ecb(0x1a3))/0xc;if(_0x221c17===_0x7414b4)break;else _0x9befb6['push'](_0x9befb6['shift']());}catch(_0x361752){_0x9befb6['push'](_0x9befb6['shift']());}}}(_0x1059,0xa87dd));function _0x1059(){const _0x5da5cd=['ck-ai-chat-history','isVisible','ck-reset_all','div','ck-ai-header\x20ck-ai-header_history','indexOf','execute','1193054UbELRw','_createEmptyStateView','ck-ai-chat-history__empty','sectionsView','element','_createSearchView','AI_CHAT_LABEL_NEW_CHAT','ck-ai-chat-history__empty-message','_refreshSearch','remove','getItem','resizeButton','isMainErrorViewVisible','sections','render','children','9xEQtDu','extendTemplate','errorMessage','_createListItemViews','123590bbQMuV','value','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','aiHistory','removeHistoryItem','AI_CHAT_HISTORY_SEARCH_LABEL','fire','304hhEmCb','bind','366296QJuUcv','46437cZQbxV','_updateViewVisibility','825NFvnJo','ck-ai-notification_error','emptyView','updateHistoryItemsWithCategories','set','isMaximized','2NlOsQT','openChat','7355SbrCMg','1838648TaohXP','locale','ck-ai-chat__start-conversation','removeItem','fieldView','searchView','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','37211832uTnAlz','length','isSearchViewVisible','skeletonView','title','AI_CHAT_HISTORY_HEADING','search','splice','setTemplate','change:isLoading','_createSkeletonView','updateItemLoadingState','items','change:hasItems','some','hasItems','clear','ck-ai-notification_error__dismiss-button','push','updateTitle','updateLoadingState','bindTemplate','ck-hidden','ck-ai-notification','itemsViews','change:errorMessage','2742MHSVKn','isEmptyViewVisible','AI_CHAT_HISTORY_EMPTY_MESSAGE','isLoading','add','ltr','updateItemTitle','ck-rounded-corners','_createErrorView','delegate','ck-ai-chat-history__content','queryView','mainErrorView','addMany'];_0x1059=function(){return _0x5da5cd;};return _0x1059();}import{View as _0x571dd0,SearchTextView as _0xb8d54b,FormHeaderView as _0x3481e3,ButtonView as _0x2e279d}from'ckeditor5/src/ui.js';import{IconAIHistory as _0xebd9ca,IconCancel as _0x3c9bed,IconPlus as _0x559173}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x25bdce}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x5ca701}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x2431f8}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x3652fd}from'../aichathistoryui.js';import{AISkeletonView as _0x1fcf0b,SKELETON_DEFINITIONS as _0x478f69}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x183b08}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x230756}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x571dd0{[_0x672c73(0x1a1)];[_0x672c73(0x1c9)];[_0x672c73(0x1a6)];[_0x672c73(0x195)];[_0x672c73(0x176)];[_0x672c73(0x17e)];constructor(_0x2b289c,_0x3bb352){const _0x5f2e0f=_0x672c73;super(_0x2b289c),this[_0x5f2e0f(0x197)](_0x5f2e0f(0x1b2),!0x1),this[_0x5f2e0f(0x197)](_0x5f2e0f(0x1c0),!0x0),this[_0x5f2e0f(0x197)](_0x5f2e0f(0x185),''),this[_0x5f2e0f(0x197)](_0x5f2e0f(0x198),!0x1),this[_0x5f2e0f(0x197)](_0x5f2e0f(0x1a5),!0x1),this[_0x5f2e0f(0x197)](_0x5f2e0f(0x1be),!0x1),this[_0x5f2e0f(0x197)](_0x5f2e0f(0x17f),!0x1);const _0x412396=new _0x3481e3(_0x2b289c,{'label':_0x230756(_0x2b289c,_0x5f2e0f(0x1a8)),'icon':_0xebd9ca,'class':_0x5f2e0f(0x170)});_0x3bb352&&(this[_0x5f2e0f(0x17e)]=_0x183b08(_0x2b289c,this),_0x412396[_0x5f2e0f(0x182)][_0x5f2e0f(0x1c1)](this[_0x5f2e0f(0x17e)])),this[_0x5f2e0f(0x176)]=new _0x25bdce(_0x2b289c,[]),this[_0x5f2e0f(0x176)][_0x5f2e0f(0x1c6)](..._0x3652fd)['to'](this),this[_0x5f2e0f(0x1c9)]=this[_0x5f2e0f(0x1c5)](),this[_0x5f2e0f(0x1a6)]=this[_0x5f2e0f(0x1ad)](),this[_0x5f2e0f(0x195)]=this[_0x5f2e0f(0x174)](),this[_0x5f2e0f(0x1a1)]=this[_0x5f2e0f(0x178)](),this[_0x5f2e0f(0x1c9)][_0x5f2e0f(0x184)]({'attributes':{'class':[this[_0x5f2e0f(0x1b8)]['if'](_0x5f2e0f(0x17f),_0x5f2e0f(0x1b9),_0x131ff9=>!_0x131ff9)]}}),this['on'](_0x5f2e0f(0x1ac),()=>this[_0x5f2e0f(0x192)]()),this['on'](_0x5f2e0f(0x1b0),()=>this[_0x5f2e0f(0x192)]()),this['on'](_0x5f2e0f(0x1bc),()=>this[_0x5f2e0f(0x192)]()),this[_0x5f2e0f(0x1ab)]({'tag':_0x5f2e0f(0x16f),'attributes':{'class':['ck',_0x5f2e0f(0x16e),_0x5f2e0f(0x1cb),_0x5f2e0f(0x1c4)],'dir':_0x5f2e0f(0x1c2)},'children':[_0x412396,{'tag':_0x5f2e0f(0x16f),'attributes':{'class':[_0x5f2e0f(0x1c7)]},'children':[this[_0x5f2e0f(0x1a6)],this[_0x5f2e0f(0x1c9)],this[_0x5f2e0f(0x195)],this[_0x5f2e0f(0x1a1)]]}]});}[_0x672c73(0x192)](){const _0x4d017c=_0x672c73;this[_0x4d017c(0x1a5)]=!this[_0x4d017c(0x1c0)]&&this[_0x4d017c(0x1b2)],this[_0x4d017c(0x1be)]=!this[_0x4d017c(0x1c0)]&&!this[_0x4d017c(0x1b2)]&&!this[_0x4d017c(0x185)],this[_0x4d017c(0x17f)]=!this[_0x4d017c(0x1a5)]&&!!this[_0x4d017c(0x185)];}[_0x672c73(0x178)](){const _0x1869dc=_0x672c73,_0x563bea=new _0xb8d54b(this[_0x1869dc(0x19d)],{'filteredView':this[_0x1869dc(0x176)],'queryView':{'label':_0x230756(this[_0x1869dc(0x19d)],_0x1869dc(0x18c))},'infoView':{'text':{'notFound':{'primary':_0x34d594=>_0x230756(this[_0x1869dc(0x19d)],_0x1869dc(0x189),_0x34d594),'secondary':_0x230756(this[_0x1869dc(0x19d)],_0x1869dc(0x1a2))}}}}),_0x436524=this[_0x1869dc(0x1c5)]();return _0x436524[_0x1869dc(0x184)]({'attributes':{'class':[this[_0x1869dc(0x1b8)]['if'](_0x1869dc(0x185),_0x1869dc(0x1b9),_0x16cb40=>!_0x16cb40)]}}),_0x563bea['on'](_0x1869dc(0x181),()=>{const _0x339e3b=_0x1869dc;_0x563bea[_0x339e3b(0x182)][_0x339e3b(0x1c1)](_0x436524,0x1);}),_0x563bea[_0x1869dc(0x184)]({'attributes':{'class':[this[_0x1869dc(0x1b8)]['if'](_0x1869dc(0x1a5),_0x1869dc(0x1b9),_0x5482f8=>!_0x5482f8)]}}),_0x563bea;}[_0x672c73(0x1ad)](){const _0x1d6ab2=_0x672c73,_0x5139b2=new _0x1fcf0b(this[_0x1d6ab2(0x19d)],_0x478f69[_0x1d6ab2(0x18a)]);return _0x5139b2[_0x1d6ab2(0x184)]({'attributes':{'class':[this[_0x1d6ab2(0x1b8)]['if'](_0x1d6ab2(0x1c0),_0x1d6ab2(0x1b9),_0x190196=>!_0x190196)]}}),_0x5139b2;}[_0x672c73(0x1c5)](){const _0x2c4a98=_0x672c73,_0x5a7f71=new _0x571dd0(this[_0x2c4a98(0x19d)]),_0x21d9be=new _0x2e279d(this[_0x2c4a98(0x19d)]);_0x21d9be[_0x2c4a98(0x197)]({'withText':!0x1,'icon':_0x3c9bed,'class':_0x2c4a98(0x1b4)}),_0x21d9be[_0x2c4a98(0x18f)](_0x2c4a98(0x1cc))['to'](this,_0x2c4a98(0x1b2),_0x33f068=>!!_0x33f068),_0x21d9be['on'](_0x2c4a98(0x172),()=>{const _0x41ba62=_0x2c4a98;this[_0x41ba62(0x185)]='';});const _0x5b4a6b=this[_0x2c4a98(0x1b8)];return _0x5a7f71[_0x2c4a98(0x1ab)]({'tag':_0x2c4a98(0x16f),'attributes':{'class':['ck',_0x2c4a98(0x1ba),_0x2c4a98(0x194)]},'children':[{'tag':'p','children':[{'text':_0x5b4a6b['to'](_0x2c4a98(0x185))}]},_0x21d9be]}),_0x5a7f71;}[_0x672c73(0x174)](){const _0x1b7c52=_0x672c73,_0x2700e0=new _0x2e279d(this[_0x1b7c52(0x19d)]);_0x2700e0[_0x1b7c52(0x197)]({'label':_0x230756(this[_0x1b7c52(0x19d)],_0x1b7c52(0x179)),'withText':!0x0,'icon':_0x559173,'class':_0x1b7c52(0x19e)}),_0x2700e0['on'](_0x1b7c52(0x172),()=>{const _0x5ed4be=_0x1b7c52;this[_0x5ed4be(0x18d)](_0x5ed4be(0x19a));});const _0x70d218=new _0x571dd0(this[_0x1b7c52(0x19d)]);return _0x70d218[_0x1b7c52(0x1ab)]({'tag':_0x1b7c52(0x16f),'attributes':{'class':[_0x1b7c52(0x175),this[_0x1b7c52(0x1b8)]['if'](_0x1b7c52(0x1be),_0x1b7c52(0x1b9),_0x61011e=>!_0x61011e)]},'children':[{'tag':'p','attributes':{'class':[_0x1b7c52(0x17a)]},'children':[_0x230756(this[_0x1b7c52(0x19d)],_0x1b7c52(0x1bf))]},_0x2700e0]}),_0x70d218;}[_0x672c73(0x186)](_0x4a40fa,_0x48c6fa){const _0x588a54=_0x672c73,_0x4cb9df=[];for(const _0x370474 of _0x4a40fa){const _0x503326=new _0x2431f8(_0x48c6fa,_0x370474);_0x503326[_0x588a54(0x1c6)](..._0x3652fd)['to'](this),_0x4cb9df[_0x588a54(0x1b5)](_0x503326);}return _0x4cb9df;}[_0x672c73(0x196)](_0x29909a){const _0x2d5cfd=_0x672c73,_0x3a41b4=this[_0x2d5cfd(0x19d)]||'en',_0x22a04f=[];for(const _0x310c47 of _0x29909a){const _0x226660=this[_0x2d5cfd(0x186)](_0x310c47[_0x2d5cfd(0x1af)],_0x3a41b4);_0x22a04f[_0x2d5cfd(0x1b5)](new _0x5ca701(_0x3a41b4,{'title':_0x310c47[_0x2d5cfd(0x1a7)],'items':_0x226660}));}this[_0x2d5cfd(0x176)][_0x2d5cfd(0x180)]=_0x22a04f,this[_0x2d5cfd(0x176)][_0x2d5cfd(0x1af)][_0x2d5cfd(0x1b3)](),this[_0x2d5cfd(0x176)][_0x2d5cfd(0x1af)][_0x2d5cfd(0x1ca)](_0x22a04f),this[_0x2d5cfd(0x1b2)]=_0x29909a[_0x2d5cfd(0x1b1)](_0x57f71f=>_0x57f71f[_0x2d5cfd(0x1af)][_0x2d5cfd(0x1a4)]>0x0),this[_0x2d5cfd(0x17b)]();}[_0x672c73(0x18b)](_0x2bf2e0){const _0x39d014=_0x672c73;for(const _0x1c4e93 of this[_0x39d014(0x176)][_0x39d014(0x180)]){const _0x41641f=_0x1c4e93[_0x39d014(0x17d)](_0x2bf2e0);if(_0x41641f){if(_0x1c4e93[_0x39d014(0x19f)](_0x41641f),0x0===_0x1c4e93[_0x39d014(0x1bb)][_0x39d014(0x1a4)]){const _0x55eb47=this[_0x39d014(0x176)][_0x39d014(0x180)][_0x39d014(0x171)](_0x1c4e93);-0x1!==_0x55eb47&&(this[_0x39d014(0x176)][_0x39d014(0x180)][_0x39d014(0x1aa)](_0x55eb47,0x1),this[_0x39d014(0x176)][_0x39d014(0x1af)][_0x39d014(0x17c)](_0x1c4e93));}this[_0x39d014(0x1b2)]=this[_0x39d014(0x176)][_0x39d014(0x180)][_0x39d014(0x1a4)]>0x0,this[_0x39d014(0x17b)]();break;}}}[_0x672c73(0x1c3)](_0x4e2dd4,_0x2fe0e5){const _0x51d6a0=_0x672c73;for(const _0x469a3a of this[_0x51d6a0(0x176)][_0x51d6a0(0x180)]){const _0x3dc04d=_0x469a3a[_0x51d6a0(0x17d)](_0x4e2dd4);if(_0x3dc04d){_0x3dc04d[_0x51d6a0(0x1b6)](_0x2fe0e5);break;}}}[_0x672c73(0x1ae)](_0x4020f7,_0x36fb8f,_0x515bd2){const _0xd213d2=_0x672c73;for(const _0x12692a of this[_0xd213d2(0x176)][_0xd213d2(0x180)]){const _0x55882d=_0x12692a[_0xd213d2(0x17d)](_0x4020f7);if(_0x55882d){_0x55882d[_0xd213d2(0x1b7)](_0x36fb8f,_0x515bd2);break;}}}[_0x672c73(0x17b)](){const _0x2e1780=_0x672c73;if(this[_0x2e1780(0x1b2)]){const _0x16e67e=this[_0x2e1780(0x1a1)][_0x2e1780(0x1c8)][_0x2e1780(0x1a0)]?.[_0x2e1780(0x177)]?.[_0x2e1780(0x188)]||'';this[_0x2e1780(0x1a1)][_0x2e1780(0x1a9)](_0x16e67e);}}}
23
+ const _0x27b31f=_0x44ba;function _0xace5(){const _0x13a925=['151160oWHiug','updateHistoryItemsWithCategories','fieldView','hasItems','openChat','getItem','isVisible','sections','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','ck-ai-header\x20ck-ai-header_history','resizeButton','ck-ai-chat__start-conversation','bind','ck-ai-chat-history__empty-message','change:errorMessage','change:hasItems','execute','ck-ai-notification_error','removeItem','div','1367182qqPNMd','emptyView','set','ck-ai-notification_error__dismiss-button','value','ck-ai-chat-history__content','2680398FYGamX','ck-hidden','1686544HKRfAm','clear','element','setTemplate','updateItemLoadingState','addMany','_createSearchView','445959OpfENN','AI_CHAT_HISTORY_EMPTY_MESSAGE','skeletonView','mainErrorView','isMainErrorViewVisible','_createErrorView','isSearchViewVisible','_createSkeletonView','updateTitle','searchView','children','AI_CHAT_LABEL_NEW_CHAT','10kNREDO','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','render','length','AI_CHAT_HISTORY_HEADING','ltr','splice','removeHistoryItem','_createListItemViews','extendTemplate','indexOf','updateLoadingState','delegate','locale','7DcPSVV','some','queryView','aiHistory','change:isLoading','push','ck-ai-chat-history','isEmptyViewVisible','updateItemTitle','ck-reset_all','1249708pCyZWw','add','AI_CHAT_HISTORY_SEARCH_LABEL','ck-ai-chat-history__empty','search','3Kxowck','remove','isMaximized','title','ck-rounded-corners','_refreshSearch','isLoading','itemsViews','_createEmptyStateView','550okdymH','bindTemplate','ck-ai-notification','sectionsView','fire','errorMessage','items','_updateViewVisibility','3959178kViPeD'];_0xace5=function(){return _0x13a925;};return _0xace5();}(function(_0x16f4d8,_0x3a95cf){const _0x491f8=_0x44ba,_0x38282f=_0x16f4d8();while(!![]){try{const _0x4eb83d=-parseInt(_0x491f8(0x1b4))/0x1+-parseInt(_0x491f8(0x1a5))/0x2*(parseInt(_0x491f8(0x17f))/0x3)+-parseInt(_0x491f8(0x17a))/0x4*(-parseInt(_0x491f8(0x1c0))/0x5)+parseInt(_0x491f8(0x190))/0x6+-parseInt(_0x491f8(0x1ce))/0x7*(parseInt(_0x491f8(0x1ad))/0x8)+-parseInt(_0x491f8(0x1ab))/0x9+-parseInt(_0x491f8(0x191))/0xa*(-parseInt(_0x491f8(0x188))/0xb);if(_0x4eb83d===_0x3a95cf)break;else _0x38282f['push'](_0x38282f['shift']());}catch(_0x420789){_0x38282f['push'](_0x38282f['shift']());}}}(_0xace5,0x62397));import{View as _0x2f38ed,SearchTextView as _0x22d971,FormHeaderView as _0x853213,ButtonView as _0x3c4be4}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x330df8,IconCancel as _0x23942a,IconPlus as _0x1acbf9}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x5631e9}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x2be2e0}from'./aichathistorylistview.js';function _0x44ba(_0x550c89,_0x5ee37e){const _0xace5d=_0xace5();return _0x44ba=function(_0x44ba7d,_0x58f791){_0x44ba7d=_0x44ba7d-0x176;let _0x442e45=_0xace5d[_0x44ba7d];return _0x442e45;},_0x44ba(_0x550c89,_0x5ee37e);}import{AIChatHistoryListItemView as _0x2a0bb1}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0xef2835}from'../aichathistoryui.js';import{AISkeletonView as _0x508324,SKELETON_DEFINITIONS as _0x52d79f}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x232875}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x47013b}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x2f38ed{[_0x27b31f(0x1bd)];[_0x27b31f(0x1b7)];[_0x27b31f(0x1b6)];[_0x27b31f(0x1a6)];[_0x27b31f(0x18b)];[_0x27b31f(0x19b)];constructor(_0x2720b2,_0x3cabba){const _0x57f4d3=_0x27b31f;super(_0x2720b2),this[_0x57f4d3(0x1a7)](_0x57f4d3(0x194),!0x1),this[_0x57f4d3(0x1a7)](_0x57f4d3(0x185),!0x0),this[_0x57f4d3(0x1a7)](_0x57f4d3(0x18d),''),this[_0x57f4d3(0x1a7)](_0x57f4d3(0x181),!0x1),this[_0x57f4d3(0x1a7)](_0x57f4d3(0x1ba),!0x1),this[_0x57f4d3(0x1a7)](_0x57f4d3(0x177),!0x1),this[_0x57f4d3(0x1a7)](_0x57f4d3(0x1b8),!0x1);const _0x9a5784=new _0x853213(_0x2720b2,{'label':_0x47013b(_0x2720b2,_0x57f4d3(0x1c4)),'icon':_0x330df8,'class':_0x57f4d3(0x19a)});_0x3cabba&&(this[_0x57f4d3(0x19b)]=_0x232875(_0x2720b2,this),_0x9a5784[_0x57f4d3(0x1be)][_0x57f4d3(0x17b)](this[_0x57f4d3(0x19b)])),this[_0x57f4d3(0x18b)]=new _0x5631e9(_0x2720b2,[]),this[_0x57f4d3(0x18b)][_0x57f4d3(0x1cc)](..._0xef2835)['to'](this),this[_0x57f4d3(0x1b7)]=this[_0x57f4d3(0x1b9)](),this[_0x57f4d3(0x1b6)]=this[_0x57f4d3(0x1bb)](),this[_0x57f4d3(0x1a6)]=this[_0x57f4d3(0x187)](),this[_0x57f4d3(0x1bd)]=this[_0x57f4d3(0x1b3)](),this[_0x57f4d3(0x1b7)][_0x57f4d3(0x1c9)]({'attributes':{'class':[this[_0x57f4d3(0x189)]['if'](_0x57f4d3(0x1b8),_0x57f4d3(0x1ac),_0x588e66=>!_0x588e66)]}}),this['on'](_0x57f4d3(0x1d2),()=>this[_0x57f4d3(0x18f)]()),this['on'](_0x57f4d3(0x1a0),()=>this[_0x57f4d3(0x18f)]()),this['on'](_0x57f4d3(0x19f),()=>this[_0x57f4d3(0x18f)]()),this[_0x57f4d3(0x1b0)]({'tag':_0x57f4d3(0x1a4),'attributes':{'class':['ck',_0x57f4d3(0x179),_0x57f4d3(0x176),_0x57f4d3(0x183)],'dir':_0x57f4d3(0x1c5)},'children':[_0x9a5784,{'tag':_0x57f4d3(0x1a4),'attributes':{'class':[_0x57f4d3(0x1aa)]},'children':[this[_0x57f4d3(0x1b6)],this[_0x57f4d3(0x1b7)],this[_0x57f4d3(0x1a6)],this[_0x57f4d3(0x1bd)]]}]});}[_0x27b31f(0x18f)](){const _0x27d78b=_0x27b31f;this[_0x27d78b(0x1ba)]=!this[_0x27d78b(0x185)]&&this[_0x27d78b(0x194)],this[_0x27d78b(0x177)]=!this[_0x27d78b(0x185)]&&!this[_0x27d78b(0x194)]&&!this[_0x27d78b(0x18d)],this[_0x27d78b(0x1b8)]=!this[_0x27d78b(0x1ba)]&&!!this[_0x27d78b(0x18d)];}[_0x27b31f(0x1b3)](){const _0x2eae0b=_0x27b31f,_0x5d18f2=new _0x22d971(this[_0x2eae0b(0x1cd)],{'filteredView':this[_0x2eae0b(0x18b)],'queryView':{'label':_0x47013b(this[_0x2eae0b(0x1cd)],_0x2eae0b(0x17c))},'infoView':{'text':{'notFound':{'primary':_0x1e67f7=>_0x47013b(this[_0x2eae0b(0x1cd)],_0x2eae0b(0x199),_0x1e67f7),'secondary':_0x47013b(this[_0x2eae0b(0x1cd)],_0x2eae0b(0x1c1))}}}}),_0x33ac52=this[_0x2eae0b(0x1b9)]();return _0x33ac52[_0x2eae0b(0x1c9)]({'attributes':{'class':[this[_0x2eae0b(0x189)]['if'](_0x2eae0b(0x18d),_0x2eae0b(0x1ac),_0x5a5673=>!_0x5a5673)]}}),_0x5d18f2['on'](_0x2eae0b(0x1c2),()=>{const _0x422f27=_0x2eae0b;_0x5d18f2[_0x422f27(0x1be)][_0x422f27(0x17b)](_0x33ac52,0x1);}),_0x5d18f2[_0x2eae0b(0x1c9)]({'attributes':{'class':[this[_0x2eae0b(0x189)]['if'](_0x2eae0b(0x1ba),_0x2eae0b(0x1ac),_0xb9eda5=>!_0xb9eda5)]}}),_0x5d18f2;}[_0x27b31f(0x1bb)](){const _0x20b290=_0x27b31f,_0x4d544b=new _0x508324(this[_0x20b290(0x1cd)],_0x52d79f[_0x20b290(0x1d1)]);return _0x4d544b[_0x20b290(0x1c9)]({'attributes':{'class':[this[_0x20b290(0x189)]['if'](_0x20b290(0x185),_0x20b290(0x1ac),_0x44232c=>!_0x44232c)]}}),_0x4d544b;}[_0x27b31f(0x1b9)](){const _0x47aa10=_0x27b31f,_0x127c40=new _0x2f38ed(this[_0x47aa10(0x1cd)]),_0x2ab84e=new _0x3c4be4(this[_0x47aa10(0x1cd)]);_0x2ab84e[_0x47aa10(0x1a7)]({'withText':!0x1,'icon':_0x23942a,'class':_0x47aa10(0x1a8)}),_0x2ab84e[_0x47aa10(0x19d)](_0x47aa10(0x197))['to'](this,_0x47aa10(0x194),_0x1d0251=>!!_0x1d0251),_0x2ab84e['on'](_0x47aa10(0x1a1),()=>{const _0x3c2790=_0x47aa10;this[_0x3c2790(0x18d)]='';});const _0x3ac201=this[_0x47aa10(0x189)];return _0x127c40[_0x47aa10(0x1b0)]({'tag':_0x47aa10(0x1a4),'attributes':{'class':['ck',_0x47aa10(0x18a),_0x47aa10(0x1a2)]},'children':[{'tag':'p','children':[{'text':_0x3ac201['to'](_0x47aa10(0x18d))}]},_0x2ab84e]}),_0x127c40;}[_0x27b31f(0x187)](){const _0xe01323=_0x27b31f,_0x3f8685=new _0x3c4be4(this[_0xe01323(0x1cd)]);_0x3f8685[_0xe01323(0x1a7)]({'label':_0x47013b(this[_0xe01323(0x1cd)],_0xe01323(0x1bf)),'withText':!0x0,'icon':_0x1acbf9,'class':_0xe01323(0x19c)}),_0x3f8685['on'](_0xe01323(0x1a1),()=>{const _0x7e7a3e=_0xe01323;this[_0x7e7a3e(0x18c)](_0x7e7a3e(0x195));});const _0x59ca63=new _0x2f38ed(this[_0xe01323(0x1cd)]);return _0x59ca63[_0xe01323(0x1b0)]({'tag':_0xe01323(0x1a4),'attributes':{'class':[_0xe01323(0x17d),this[_0xe01323(0x189)]['if'](_0xe01323(0x177),_0xe01323(0x1ac),_0x2147be=>!_0x2147be)]},'children':[{'tag':'p','attributes':{'class':[_0xe01323(0x19e)]},'children':[_0x47013b(this[_0xe01323(0x1cd)],_0xe01323(0x1b5))]},_0x3f8685]}),_0x59ca63;}[_0x27b31f(0x1c8)](_0x135074,_0x10af49){const _0x3baad4=_0x27b31f,_0x1cb274=[];for(const _0xb8e3cd of _0x135074){const _0x175dfa=new _0x2a0bb1(_0x10af49,_0xb8e3cd);_0x175dfa[_0x3baad4(0x1cc)](..._0xef2835)['to'](this),_0x1cb274[_0x3baad4(0x1d3)](_0x175dfa);}return _0x1cb274;}[_0x27b31f(0x192)](_0x12d03f){const _0x3bd479=_0x27b31f,_0x28c448=this[_0x3bd479(0x1cd)]||'en',_0x2ed821=[];for(const _0x2e5261 of _0x12d03f){const _0x9d94a7=this[_0x3bd479(0x1c8)](_0x2e5261[_0x3bd479(0x18e)],_0x28c448);_0x2ed821[_0x3bd479(0x1d3)](new _0x2be2e0(_0x28c448,{'title':_0x2e5261[_0x3bd479(0x182)],'items':_0x9d94a7}));}this[_0x3bd479(0x18b)][_0x3bd479(0x198)]=_0x2ed821,this[_0x3bd479(0x18b)][_0x3bd479(0x18e)][_0x3bd479(0x1ae)](),this[_0x3bd479(0x18b)][_0x3bd479(0x18e)][_0x3bd479(0x1b2)](_0x2ed821),this[_0x3bd479(0x194)]=_0x12d03f[_0x3bd479(0x1cf)](_0xba3009=>_0xba3009[_0x3bd479(0x18e)][_0x3bd479(0x1c3)]>0x0),this[_0x3bd479(0x184)]();}[_0x27b31f(0x1c7)](_0x2ed153){const _0x26a087=_0x27b31f;for(const _0x4a7db2 of this[_0x26a087(0x18b)][_0x26a087(0x198)]){const _0x4282b4=_0x4a7db2[_0x26a087(0x196)](_0x2ed153);if(_0x4282b4){if(_0x4a7db2[_0x26a087(0x1a3)](_0x4282b4),0x0===_0x4a7db2[_0x26a087(0x186)][_0x26a087(0x1c3)]){const _0x4ea945=this[_0x26a087(0x18b)][_0x26a087(0x198)][_0x26a087(0x1ca)](_0x4a7db2);-0x1!==_0x4ea945&&(this[_0x26a087(0x18b)][_0x26a087(0x198)][_0x26a087(0x1c6)](_0x4ea945,0x1),this[_0x26a087(0x18b)][_0x26a087(0x18e)][_0x26a087(0x180)](_0x4a7db2));}this[_0x26a087(0x194)]=this[_0x26a087(0x18b)][_0x26a087(0x198)][_0x26a087(0x1c3)]>0x0,this[_0x26a087(0x184)]();break;}}}[_0x27b31f(0x178)](_0x4b507d,_0x5ee140){const _0x12ae7b=_0x27b31f;for(const _0x5f0464 of this[_0x12ae7b(0x18b)][_0x12ae7b(0x198)]){const _0x2eaf1b=_0x5f0464[_0x12ae7b(0x196)](_0x4b507d);if(_0x2eaf1b){_0x2eaf1b[_0x12ae7b(0x1bc)](_0x5ee140);break;}}}[_0x27b31f(0x1b1)](_0x501bc4,_0x504a6c,_0x1961e2){const _0x3968b3=_0x27b31f;for(const _0x47ce14 of this[_0x3968b3(0x18b)][_0x3968b3(0x198)]){const _0x121879=_0x47ce14[_0x3968b3(0x196)](_0x501bc4);if(_0x121879){_0x121879[_0x3968b3(0x1cb)](_0x504a6c,_0x1961e2);break;}}}[_0x27b31f(0x184)](){const _0x5a3317=_0x27b31f;if(this[_0x5a3317(0x194)]){const _0x7a4ade=this[_0x5a3317(0x1bd)][_0x5a3317(0x1d0)][_0x5a3317(0x193)]?.[_0x5a3317(0x1af)]?.[_0x5a3317(0x1a9)]||'';this[_0x5a3317(0x1bd)][_0x5a3317(0x17e)](_0x7a4ade);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x434aec=_0x4ed9;(function(_0x43d24f,_0x395c7c){const _0x5eb627=_0x4ed9,_0x1daccb=_0x43d24f();while(!![]){try{const _0x44300e=-parseInt(_0x5eb627(0x1fa))/0x1*(-parseInt(_0x5eb627(0x22c))/0x2)+-parseInt(_0x5eb627(0x205))/0x3*(-parseInt(_0x5eb627(0x1da))/0x4)+-parseInt(_0x5eb627(0x207))/0x5*(parseInt(_0x5eb627(0x1b7))/0x6)+parseInt(_0x5eb627(0x219))/0x7+parseInt(_0x5eb627(0x1b2))/0x8*(parseInt(_0x5eb627(0x239))/0x9)+-parseInt(_0x5eb627(0x1be))/0xa*(parseInt(_0x5eb627(0x213))/0xb)+-parseInt(_0x5eb627(0x1ce))/0xc*(parseInt(_0x5eb627(0x229))/0xd);if(_0x44300e===_0x395c7c)break;else _0x1daccb['push'](_0x1daccb['shift']());}catch(_0x1fd9b1){_0x1daccb['push'](_0x1daccb['shift']());}}}(_0x1420,0x75fbe));import{createParser as _0x370d58}from'eventsource-parser';import{ContextPlugin as _0x707907}from'ckeditor5/src/core.js';function _0x4ed9(_0x3a62d3,_0x3010a6){const _0x142087=_0x1420();return _0x4ed9=function(_0x4ed922,_0x596f50){_0x4ed922=_0x4ed922-0x1b2;let _0x4d5a8b=_0x142087[_0x4ed922];return _0x4d5a8b;},_0x4ed9(_0x3a62d3,_0x3010a6);}import{CKEditorError as _0x5e2134}from'ckeditor5/src/utils.js';export var AIActionsNames;!function(_0x2e7659){const _0x16221f=_0x4ed9;_0x2e7659[_0x16221f(0x1e1)]=_0x16221f(0x21e),_0x2e7659[_0x16221f(0x1dd)]=_0x16221f(0x22b),_0x2e7659[_0x16221f(0x234)]=_0x16221f(0x221),_0x2e7659[_0x16221f(0x1b8)]=_0x16221f(0x240),_0x2e7659[_0x16221f(0x231)]=_0x16221f(0x1ff),_0x2e7659[_0x16221f(0x246)]=_0x16221f(0x1ef),_0x2e7659[_0x16221f(0x23e)]=_0x16221f(0x23f),_0x2e7659[_0x16221f(0x233)]=_0x16221f(0x1f7);}(AIActionsNames||(AIActionsNames={}));function _0x1420(){const _0x3d2890=['value','totalCount','get','_apiUrl','language','/reviews/custom/calls/','PATCH','isOfficialPlugin','upsertCustomAIReviewRating','_sendApiRequest','decode','getModels','920796lcksrH','ai.serviceUrl','/actions/custom/calls/','executeCustomAction','data','excludeEmpty','message','/files/','updateConversation','getReader','GET','Bearer\x20','4mdAIEQ','request','/messages','FIX_GRAMMAR','fetchConversationMessages','fetchDocument','deleteConversation','CONTINUE','file','name','requires','token','length','reset','items','/documents/','uploadDocument','true','callCustomReview','json','search','make-tone-casual','100','fetchConversations','fetchConversation','/ratings','releaseLock','abortController','/web-resources/','translate','keys','/models/1?','757Jlvvyx','ai-missing-token','/conversations','body','attributes','make-shorter','init','uploadFile','/calls','isPremiumPlugin','CloudServices','33591cKNoeo','/actions/custom/calls','549150VABKHH','deleteDocument','define','deleteWebResource','/reviews/custom/calls','/actions/system/','_token','upsertAIActionRating','signal','AbortError','upsertCustomAIActionRating','application/json','6127lerqpN','DELETE','stringify','feed','config','callSystemReview','4293296bZGITe','toString','queryAssistant','text','uploadUrl','continue','upsertAIChatRating','parse','improve-writing','/files','then','/conversations/','startConversation','pluginName','_decoder','code','13ejmbCC','append','fix-grammar','146wHcGmE','context','/reviews/system/','/conversations?','push','MAKE_SHORTER','https://ai.cke-cs.com/v1','TRANSLATE','IMPROVE_WRITING','/messages/','_getStreamReader','ai-request-failed','/documents','2727drFsDc','group','positiveCount','modificationId','_handleError','MAKE_TONE_FORMAL','make-tone-formal','make-longer','traceId','status','/calls/','PUT','POST','MAKE_TONE_CASUAL','16696tLVIzV','limit','ai-request-aborted','plugins','catch','12GpQJpK','MAKE_LONGER','read','/web-resources','Content-Type','executeAction','AIConnector','9560gDmBNS','statusText','deleteFile','upsertAIReviewRating'];_0x1420=function(){return _0x3d2890;};return _0x1420();}export class AIConnector extends _0x707907{[_0x434aec(0x1c5)];[_0x434aec(0x20d)];[_0x434aec(0x227)];static get[_0x434aec(0x1e4)](){const _0x3f9585=_0x434aec;return[_0x3f9585(0x204)];}static get[_0x434aec(0x226)](){const _0x56d23d=_0x434aec;return _0x56d23d(0x1bd);}static get[_0x434aec(0x1c9)](){return!0x0;}static get[_0x434aec(0x203)](){return!0x0;}constructor(_0x4cdf72){const _0x157b74=_0x434aec;super(_0x4cdf72),this[_0x157b74(0x22d)][_0x157b74(0x217)][_0x157b74(0x209)](_0x157b74(0x1cf),_0x157b74(0x232)),this[_0x157b74(0x1c5)]=this[_0x157b74(0x22d)][_0x157b74(0x217)][_0x157b74(0x1c4)](_0x157b74(0x1cf)),this[_0x157b74(0x20d)]=null,this[_0x157b74(0x227)]=new TextDecoder();}[_0x434aec(0x200)](){const _0x3960e9=_0x434aec,_0x3d8893=this[_0x3960e9(0x22d)][_0x3960e9(0x1b5)][_0x3960e9(0x1c4)](_0x3960e9(0x204));if(!_0x3d8893[_0x3960e9(0x1e5)])throw new _0x5e2134(_0x3960e9(0x1fb),this);this[_0x3960e9(0x20d)]=_0x3d8893[_0x3960e9(0x1e5)];}[_0x434aec(0x225)](_0x5d152,_0x45e30c){const _0x5b94f6=_0x434aec,_0x556cf3=this[_0x5b94f6(0x1cb)](_0x5b94f6(0x1fc),_0x5b94f6(0x245),{'id':_0x5d152,'group':_0x45e30c});return{'getConversation':async()=>(await _0x556cf3[_0x5b94f6(0x1db)])[_0x5b94f6(0x1ed)](),'abortController':_0x556cf3[_0x5b94f6(0x1f5)]};}[_0x434aec(0x21b)]({message:_0x210714,conversationId:_0x123c8e,parts:_0x54950c,capabilities:_0xd5149c,model:_0x2536b0,quickActionData:_0x49b04d}){const _0xcd49a0=_0x434aec,_0xc00178={..._0x49b04d&&{'quickActionData':_0x49b04d}},_0x57478e={'prompt':_0x210714,'content':_0x54950c,'model':_0x2536b0,..._0xd5149c&&{'capabilities':_0xd5149c},...Object[_0xcd49a0(0x1f8)](_0xc00178)[_0xcd49a0(0x1e6)]>0x0&&{'attributes':_0xc00178}},_0x3fc8ab=this[_0xcd49a0(0x1cb)](_0xcd49a0(0x224)+_0x123c8e+_0xcd49a0(0x1dc),_0xcd49a0(0x245),_0x57478e);return{'getStream':async()=>{const _0xd6f34c=_0xcd49a0,_0x20eac9=(await _0x3fc8ab[_0xd6f34c(0x1db)])[_0xd6f34c(0x1fd)];return this[_0xd6f34c(0x236)](_0x20eac9);},'abortController':_0x3fc8ab[_0xcd49a0(0x1f5)]};}[_0x434aec(0x1d1)]({content:_0x243694,message:_0x74b251,model:_0x35be41,outputFormat:_0xf60c16}){const _0x2bb081=_0x434aec,_0x27a0b1={'content':[{'type':_0x2bb081(0x21c),'content':_0x243694}],'prompt':_0x74b251,'model':_0x35be41,'outputFormat':_0xf60c16},_0x2c2644=this[_0x2bb081(0x1cb)](_0x2bb081(0x206),_0x2bb081(0x245),_0x27a0b1);return{'getStream':async()=>{const _0x3ed843=_0x2bb081,_0x3ccb4a=(await _0x2c2644[_0x3ed843(0x1db)])[_0x3ed843(0x1fd)];return this[_0x3ed843(0x236)](_0x3ccb4a);},'abortController':_0x2c2644[_0x2bb081(0x1f5)]};}[_0x434aec(0x1bc)]({actionName:_0x342824,content:_0x5e1f26,args:_0x38f652}){const _0x41c243=_0x434aec,_0x1d7588={'content':[{'type':_0x41c243(0x21c),'content':_0x5e1f26}],'args':_0x38f652},_0x22b49c=this[_0x41c243(0x1cb)](_0x41c243(0x20c)+_0x342824+_0x41c243(0x202),_0x41c243(0x245),_0x1d7588);return{'getStream':async()=>{const _0x34bba8=_0x41c243,_0x2e96f7=(await _0x22b49c[_0x34bba8(0x1db)])[_0x34bba8(0x1fd)];return this[_0x34bba8(0x236)](_0x2e96f7);},'abortController':_0x22b49c[_0x41c243(0x1f5)]};}[_0x434aec(0x201)](_0x58a15e,_0xc2dd36,_0x1d1482){const _0x4ef8b2=_0x434aec,_0x19151d=new FormData();_0x19151d[_0x4ef8b2(0x22a)](_0x4ef8b2(0x1e2),_0xc2dd36,_0xc2dd36[_0x4ef8b2(0x1e3)]),_0x1d1482&&_0x19151d[_0x4ef8b2(0x22a)](_0x4ef8b2(0x1fe),JSON[_0x4ef8b2(0x215)](_0x1d1482));const _0x234b66=this[_0x4ef8b2(0x1cb)](_0x4ef8b2(0x224)+_0x58a15e+_0x4ef8b2(0x222),_0x4ef8b2(0x245),_0x19151d);return{'getId':async()=>(await _0x234b66[_0x4ef8b2(0x1db)])[_0x4ef8b2(0x1ed)](),'abortController':_0x234b66[_0x4ef8b2(0x1f5)]};}[_0x434aec(0x1df)](_0x2ad0e8,_0x1228d1){const _0x3a5e25=_0x434aec,_0xa17e4b=this[_0x3a5e25(0x1cb)](_0x3a5e25(0x224)+_0x2ad0e8+_0x3a5e25(0x1e9)+_0x1228d1,_0x3a5e25(0x1d8));return{'getDocument':async()=>(await _0xa17e4b[_0x3a5e25(0x1db)])[_0x3a5e25(0x1ed)](),'abortController':_0xa17e4b[_0x3a5e25(0x1f5)]};}[_0x434aec(0x1ea)](_0x3edfdd,_0x2e676c,_0x408dba){const _0x46c281=_0x434aec,_0x59ca8f={'content':_0x2e676c};_0x408dba&&(_0x59ca8f[_0x46c281(0x1fe)]=_0x408dba);const _0x49b343=this[_0x46c281(0x1cb)](_0x46c281(0x224)+_0x3edfdd+_0x46c281(0x238),_0x46c281(0x245),_0x59ca8f);return{'getId':async()=>(await _0x49b343[_0x46c281(0x1db)])[_0x46c281(0x1ed)](),'abortController':_0x49b343[_0x46c281(0x1f5)]};}[_0x434aec(0x1f1)](_0x18b5d4,_0x129101){const _0x41a6c3=_0x434aec,_0xfd9f3f=new URLSearchParams();_0xfd9f3f[_0x41a6c3(0x22a)](_0x41a6c3(0x1d3),_0x41a6c3(0x1eb)),_0xfd9f3f[_0x41a6c3(0x22a)](_0x41a6c3(0x1b3),_0x41a6c3(0x1f0)),_0xfd9f3f[_0x41a6c3(0x22a)](_0x41a6c3(0x23a),_0x18b5d4),_0x129101&&_0xfd9f3f[_0x41a6c3(0x22a)](_0x41a6c3(0x1ee),_0x129101);const _0x18fadd=this[_0x41a6c3(0x1cb)](_0x41a6c3(0x22f)+_0xfd9f3f[_0x41a6c3(0x21a)](),_0x41a6c3(0x1d8));return{'getConversations':async()=>{const _0xf51b54=_0x41a6c3,_0x4a537c=await _0x18fadd[_0xf51b54(0x1db)];return(await _0x4a537c[_0xf51b54(0x1ed)]())[_0xf51b54(0x1e8)];},'abortController':_0x18fadd[_0x41a6c3(0x1f5)]};}[_0x434aec(0x1e0)](_0x47eb3f){const _0x72baa6=_0x434aec,_0x4dd250=this[_0x72baa6(0x1cb)](_0x72baa6(0x224)+_0x47eb3f,_0x72baa6(0x214));return{'execute':async()=>{const _0x30b513=_0x72baa6;await _0x4dd250[_0x30b513(0x1db)];},'abortController':_0x4dd250[_0x72baa6(0x1f5)]};}[_0x434aec(0x1d6)](_0x11c2d3,_0x7e5ac9){const _0x4ba3f9=_0x434aec,_0x454477=this[_0x4ba3f9(0x1cb)](_0x4ba3f9(0x224)+_0x11c2d3,_0x4ba3f9(0x1c8),_0x7e5ac9);return{'getResult':async()=>(await _0x454477[_0x4ba3f9(0x1db)],_0x7e5ac9),'abortController':_0x454477[_0x4ba3f9(0x1f5)]};}[_0x434aec(0x1f2)](_0x361e23){const _0x58afc1=_0x434aec,_0x37cb9d=this[_0x58afc1(0x1cb)](_0x58afc1(0x224)+_0x361e23,_0x58afc1(0x1d8));return{'getConversation':async()=>(await _0x37cb9d[_0x58afc1(0x1db)])[_0x58afc1(0x1ed)](),'abortController':_0x37cb9d[_0x58afc1(0x1f5)]};}[_0x434aec(0x1de)](_0x31dce1){const _0x4eff3a=_0x434aec,_0x547898=this[_0x4eff3a(0x1cb)](_0x4eff3a(0x224)+_0x31dce1+_0x4eff3a(0x1dc),_0x4eff3a(0x1d8));return{'getMessages':async()=>{const _0x1acf03=_0x4eff3a,_0x4f44bc=await _0x547898[_0x1acf03(0x1db)];return(await _0x4f44bc[_0x1acf03(0x1ed)]())[_0x1acf03(0x1e8)];},'abortController':_0x547898[_0x4eff3a(0x1f5)]};}[_0x434aec(0x21d)](_0x21765f,_0x561040,_0x578aab){const _0x5df51f=_0x434aec,_0x4c0f2c=this[_0x5df51f(0x1cb)](_0x5df51f(0x224)+_0x21765f+_0x5df51f(0x1ba),_0x5df51f(0x245),{'url':_0x561040,'attributes':_0x578aab});return{'getId':async()=>(await _0x4c0f2c[_0x5df51f(0x1db)])[_0x5df51f(0x1ed)](),'abortController':_0x4c0f2c[_0x5df51f(0x1f5)]};}[_0x434aec(0x1cd)](_0x3a6d26='en'){const _0x2f043f=_0x434aec,_0x4d1f3b=new URLSearchParams();_0x4d1f3b[_0x2f043f(0x22a)](_0x2f043f(0x1c6),_0x3a6d26);const _0x427bfd=_0x2f043f(0x1f9)+_0x4d1f3b[_0x2f043f(0x21a)](),_0x22dc84=this[_0x2f043f(0x1cb)](_0x427bfd,_0x2f043f(0x1d8));return{'list':async()=>await(await _0x22dc84[_0x2f043f(0x1db)])[_0x2f043f(0x1ed)](),'abortController':_0x22dc84[_0x2f043f(0x1f5)]};}[_0x434aec(0x1c0)](_0x3307cb,_0x9fdcf9){const _0x2fac29=_0x434aec,_0x98ace5=this[_0x2fac29(0x1cb)](_0x2fac29(0x224)+_0x3307cb+_0x2fac29(0x1d5)+_0x9fdcf9,_0x2fac29(0x214));return{'execute':async()=>{const _0x152594=_0x2fac29;await _0x98ace5[_0x152594(0x1db)];},'abortController':_0x98ace5[_0x2fac29(0x1f5)]};}[_0x434aec(0x208)](_0x56f7da,_0x1beb1b){const _0x2f985e=_0x434aec,_0x546896=this[_0x2f985e(0x1cb)](_0x2f985e(0x224)+_0x56f7da+_0x2f985e(0x1e9)+_0x1beb1b,_0x2f985e(0x214));return{'execute':async()=>{const _0x170bba=_0x2f985e;await _0x546896[_0x170bba(0x1db)];},'abortController':_0x546896[_0x2f985e(0x1f5)]};}[_0x434aec(0x20a)](_0x5f4d74,_0x215a97){const _0x1b3c64=_0x434aec,_0x19c627=this[_0x1b3c64(0x1cb)](_0x1b3c64(0x224)+_0x5f4d74+_0x1b3c64(0x1f6)+_0x215a97,_0x1b3c64(0x214));return{'execute':async()=>{const _0x4ab993=_0x1b3c64;await _0x19c627[_0x4ab993(0x1db)];},'abortController':_0x19c627[_0x1b3c64(0x1f5)]};}[_0x434aec(0x218)]({reviewName:_0x570e0d,content:_0x31d2dd,args:_0x319f87}){const _0x45ecaa=_0x434aec,_0x449dcf=this[_0x45ecaa(0x1cb)](_0x45ecaa(0x22e)+_0x570e0d+_0x45ecaa(0x202),_0x45ecaa(0x245),{'content':[{'type':_0x45ecaa(0x21c),'content':_0x31d2dd}],'args':_0x319f87});return{'getStream':async()=>{const _0x220bfa=_0x45ecaa,_0x3feecc=(await _0x449dcf[_0x220bfa(0x1db)])[_0x220bfa(0x1fd)];return this[_0x220bfa(0x236)](_0x3feecc);},'abortController':_0x449dcf[_0x45ecaa(0x1f5)]};}[_0x434aec(0x1ec)]({content:_0x162166,prompt:_0x7f6bbe,model:_0x12d6ce}){const _0x11502e=_0x434aec,_0x33a6ff=this[_0x11502e(0x1cb)](_0x11502e(0x20b),_0x11502e(0x245),{'content':[{'type':_0x11502e(0x21c),'content':_0x162166}],'prompt':_0x7f6bbe,'model':_0x12d6ce});return{'getStream':async()=>{const _0x2b57fc=_0x11502e,_0x1de921=(await _0x33a6ff[_0x2b57fc(0x1db)])[_0x2b57fc(0x1fd)];return this[_0x2b57fc(0x236)](_0x1de921);},'abortController':_0x33a6ff[_0x11502e(0x1f5)]};}[_0x434aec(0x21f)](_0x45dc2d,_0x3b3f15,_0xf49826){const _0x494b1d=_0x434aec,_0x45da3a=this[_0x494b1d(0x1cb)](_0x494b1d(0x224)+_0x45dc2d+_0x494b1d(0x235)+_0x3b3f15+_0x494b1d(0x1f3),_0x494b1d(0x244),{'positiveCount':_0xf49826[_0x494b1d(0x23b)],'totalCount':_0xf49826[_0x494b1d(0x1c3)],'modificationId':_0xf49826[_0x494b1d(0x23c)]});return{'execute':async()=>{const _0x2ff74d=_0x494b1d;await _0x45da3a[_0x2ff74d(0x1db)];},'abortController':_0x45da3a[_0x494b1d(0x1f5)]};}[_0x434aec(0x20e)](_0xfca40e,_0x5d49d1,_0x593824){const _0x195105=_0x434aec,_0x75a94b=this[_0x195105(0x1cb)](_0x195105(0x20c)+_0xfca40e+_0x195105(0x243)+_0x5d49d1+_0x195105(0x1f3),_0x195105(0x244),{'positiveCount':_0x593824[_0x195105(0x23b)],'totalCount':_0x593824[_0x195105(0x1c3)]});return{'execute':async()=>{const _0x3e2513=_0x195105;await _0x75a94b[_0x3e2513(0x1db)];},'abortController':_0x75a94b[_0x195105(0x1f5)]};}[_0x434aec(0x211)](_0xbef930,_0x30bf65){const _0xd1d20a=_0x434aec,_0x49460a=this[_0xd1d20a(0x1cb)](_0xd1d20a(0x1d0)+_0xbef930+_0xd1d20a(0x1f3),_0xd1d20a(0x244),{'positiveCount':_0x30bf65[_0xd1d20a(0x23b)],'totalCount':_0x30bf65[_0xd1d20a(0x1c3)]});return{'execute':async()=>{const _0x259541=_0xd1d20a;await _0x49460a[_0x259541(0x1db)];},'abortController':_0x49460a[_0xd1d20a(0x1f5)]};}[_0x434aec(0x1c1)](_0x27352a,_0x24eae1,_0x35700c,_0x409c4b){const _0xa6c1dd=_0x434aec,_0x1befe6=this[_0xa6c1dd(0x1cb)](_0xa6c1dd(0x22e)+_0x27352a+_0xa6c1dd(0x243)+_0x24eae1+_0xa6c1dd(0x1f3),_0xa6c1dd(0x244),{'positiveCount':_0x35700c[_0xa6c1dd(0x23b)],'totalCount':_0x35700c[_0xa6c1dd(0x1c3)],'dataId':_0x409c4b});return{'execute':async()=>{const _0xeffd=_0xa6c1dd;await _0x1befe6[_0xeffd(0x1db)];},'abortController':_0x1befe6[_0xa6c1dd(0x1f5)]};}[_0x434aec(0x1ca)](_0x252e7b,_0x435b30,_0x1edd04){const _0x514eba=_0x434aec,_0x14be86=this[_0x514eba(0x1cb)](_0x514eba(0x1c7)+_0x252e7b+_0x514eba(0x1f3),_0x514eba(0x244),{'positiveCount':_0x435b30[_0x514eba(0x23b)],'totalCount':_0x435b30[_0x514eba(0x1c3)],'dataId':_0x1edd04});return{'execute':async()=>{const _0x303f4b=_0x514eba;await _0x14be86[_0x303f4b(0x1db)];},'abortController':_0x14be86[_0x514eba(0x1f5)]};}[_0x434aec(0x1cb)](_0x2ed347,_0x2a1876,_0x1476da){const _0x509983=_0x434aec,_0x305aaf=new AbortController(),_0x155ed2=_0x1476da instanceof FormData,_0xf9714b={'Authorization':_0x509983(0x1d9)+this[_0x509983(0x20d)]?.[_0x509983(0x1c2)]};_0x1476da&&!_0x155ed2&&(_0xf9714b[_0x509983(0x1bb)]=_0x509983(0x212));const _0x9b9d26={'method':_0x2a1876,'headers':_0xf9714b,'signal':_0x305aaf[_0x509983(0x20f)]};return _0x1476da&&(_0x9b9d26[_0x509983(0x1fd)]=_0x155ed2?_0x1476da:JSON[_0x509983(0x215)](_0x1476da)),{'request':fetch(''+this[_0x509983(0x1c5)]+_0x2ed347,_0x9b9d26)[_0x509983(0x1b6)](_0x4d1aeb=>{const _0x26fa3d=_0x509983;this[_0x26fa3d(0x23d)](_0x4d1aeb);})[_0x509983(0x223)](_0x1fc697=>_0x1fc697['ok']?_0x1fc697:_0x1fc697[_0x509983(0x1ed)]()[_0x509983(0x223)](_0x3f3c1d=>{const _0x2d93dc=_0x509983;throw{'url':this[_0x2d93dc(0x1c5)],'path':_0x2ed347,'method':_0x2a1876,'body':_0x1476da,'status':(_0x1fc697||{})[_0x2d93dc(0x242)],'statusText':(_0x1fc697||{})[_0x2d93dc(0x1bf)],'code':_0x3f3c1d[_0x2d93dc(0x228)],'message':_0x3f3c1d[_0x2d93dc(0x1d4)],'traceId':_0x3f3c1d[_0x2d93dc(0x241)]};})),'abortController':_0x305aaf};}async*[_0x434aec(0x236)](_0x3438e0){const _0x3faedc=_0x434aec,_0x539703=[],_0x5d257d=_0x3438e0[_0x3faedc(0x1d7)](),_0x94f51c=_0x370d58({'onError':_0x1b057d=>{const _0x1d912b=_0x3faedc;this[_0x1d912b(0x23d)](_0x1b057d);},'onEvent':_0x40f1ee=>{const _0x23ae60=_0x3faedc;_0x40f1ee[_0x23ae60(0x1d2)]=JSON[_0x23ae60(0x220)](_0x40f1ee[_0x23ae60(0x1d2)]),_0x539703[_0x23ae60(0x230)](_0x40f1ee);}});try{let _0x38a868=!0x1;for(;!_0x38a868;){const {done:_0x8fc58a,value:_0x402d05}=await _0x5d257d[_0x3faedc(0x1b9)]();_0x8fc58a&&(_0x38a868=!0x0),_0x94f51c[_0x3faedc(0x216)](this[_0x3faedc(0x227)][_0x3faedc(0x1cc)](_0x402d05,{'stream':!0x0})),yield*_0x539703,_0x539703[_0x3faedc(0x1e6)]=0x0;}}catch(_0x4e752e){this[_0x3faedc(0x23d)](_0x4e752e);}finally{_0x5d257d[_0x3faedc(0x1f4)](),_0x94f51c[_0x3faedc(0x1e7)]();}}[_0x434aec(0x23d)](_0x311563){const _0x3c3e6a=_0x434aec;if(_0x311563 instanceof _0x5e2134)throw _0x311563;if(_0x311563 instanceof Error&&_0x3c3e6a(0x210)===_0x311563[_0x3c3e6a(0x1e3)])throw new _0x5e2134(_0x3c3e6a(0x1b4),this,{'originalError':_0x311563});throw new _0x5e2134(_0x3c3e6a(0x237),this,{'originalError':_0x311563});}}
23
+ const _0xcd2a03=_0x5483;(function(_0x17ecee,_0x33c4d9){const _0xdb371a=_0x5483,_0x4c9888=_0x17ecee();while(!![]){try{const _0x428c17=parseInt(_0xdb371a(0x203))/0x1+parseInt(_0xdb371a(0x20f))/0x2+parseInt(_0xdb371a(0x238))/0x3+parseInt(_0xdb371a(0x254))/0x4+-parseInt(_0xdb371a(0x206))/0x5*(-parseInt(_0xdb371a(0x1d5))/0x6)+-parseInt(_0xdb371a(0x1ee))/0x7+-parseInt(_0xdb371a(0x1db))/0x8;if(_0x428c17===_0x33c4d9)break;else _0x4c9888['push'](_0x4c9888['shift']());}catch(_0x49c440){_0x4c9888['push'](_0x4c9888['shift']());}}}(_0x585a,0x572b8));function _0x585a(){const _0x4fc3e0=['abortController','MAKE_LONGER','feed','/messages/','status','/files/','make-longer','/web-resources','make-tone-formal','474439GKjiEM','_sendApiRequest','/actions/custom/calls/','290760PDaPsI','limit','/documents','upsertCustomAIActionRating','toString','uploadUrl','deleteConversation','message','/web-resources/','1309290QVrHDb','/documents/','catch','/reviews/custom/calls/','continue','keys','AbortError','fetchConversationMessages','search','ai-request-aborted','fetchConversations','value','get','data','getReader','push','uploadFile','decode','MAKE_SHORTER','deleteFile','/models/1?','PATCH','traceId','length','ai.serviceUrl','GET','isOfficialPlugin','AIConnector','parse','releaseLock','_handleError','define','fetchDocument','uploadDocument','/ratings','attributes','FIX_GRAMMAR','read','/actions/system/','make-tone-casual','callCustomReview','2011941nyxUNZ','IMPROVE_WRITING','statusText','language','deleteDocument','config','https://ai.cke-cs.com/v1','TRANSLATE','_decoder','pluginName','modificationId','_token','init','updateConversation','/calls/','startConversation','queryAssistant','isPremiumPlugin','items','_apiUrl','true','body','fix-grammar','PUT','stringify','executeAction','/reviews/system/','json','1588132dXNgaJ','/conversations','Content-Type','requires','/conversations/','file','executeCustomAction','callSystemReview','text','positiveCount','upsertAIChatRating','/reviews/custom/calls','/files','POST','Bearer\x20','/messages','make-shorter','66OKMlzy','request','upsertAIReviewRating','group','100','translate','17088280qTiKNA','getModels','ai-request-failed','/actions/custom/calls','upsertCustomAIReviewRating','code','CloudServices','/conversations?','/calls','name','signal','CONTINUE','DELETE','reset','_getStreamReader','context','improve-writing','MAKE_TONE_CASUAL','then','2403471NeWMHX','totalCount','deleteWebResource','MAKE_TONE_FORMAL','upsertAIActionRating','token','excludeEmpty','ai-missing-token','fetchConversation','application/json','plugins','append'];_0x585a=function(){return _0x4fc3e0;};return _0x585a();}import{createParser as _0x90b4bd}from'eventsource-parser';import{ContextPlugin as _0xcfde16}from'ckeditor5/src/core.js';function _0x5483(_0x55a226,_0x3ad0cb){const _0x585a4a=_0x585a();return _0x5483=function(_0x5483b5,_0x5cbded){_0x5483b5=_0x5483b5-0x1c9;let _0x3f50e9=_0x585a4a[_0x5483b5];return _0x3f50e9;},_0x5483(_0x55a226,_0x3ad0cb);}import{CKEditorError as _0x488115}from'ckeditor5/src/utils.js';export var AIActionsNames;!function(_0x136996){const _0x27fc3e=_0x5483;_0x136996[_0x27fc3e(0x1e6)]=_0x27fc3e(0x213),_0x136996[_0x27fc3e(0x233)]=_0x27fc3e(0x24e),_0x136996[_0x27fc3e(0x239)]=_0x27fc3e(0x1eb),_0x136996[_0x27fc3e(0x1fb)]=_0x27fc3e(0x200),_0x136996[_0x27fc3e(0x221)]=_0x27fc3e(0x1d4),_0x136996[_0x27fc3e(0x1ec)]=_0x27fc3e(0x236),_0x136996[_0x27fc3e(0x1f1)]=_0x27fc3e(0x202),_0x136996[_0x27fc3e(0x23f)]=_0x27fc3e(0x1da);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0xcfde16{[_0xcd2a03(0x24b)];[_0xcd2a03(0x243)];[_0xcd2a03(0x240)];static get[_0xcd2a03(0x257)](){const _0x27c37f=_0xcd2a03;return[_0x27c37f(0x1e1)];}static get[_0xcd2a03(0x241)](){const _0xd9a384=_0xcd2a03;return _0xd9a384(0x22a);}static get[_0xcd2a03(0x229)](){return!0x0;}static get[_0xcd2a03(0x249)](){return!0x0;}constructor(_0x41fedf){const _0x28849b=_0xcd2a03;super(_0x41fedf),this[_0x28849b(0x1ea)][_0x28849b(0x23d)][_0x28849b(0x22e)](_0x28849b(0x227),_0x28849b(0x23e)),this[_0x28849b(0x24b)]=this[_0x28849b(0x1ea)][_0x28849b(0x23d)][_0x28849b(0x21b)](_0x28849b(0x227)),this[_0x28849b(0x243)]=null,this[_0x28849b(0x240)]=new TextDecoder();}[_0xcd2a03(0x244)](){const _0x3f6fa7=_0xcd2a03,_0x59146a=this[_0x3f6fa7(0x1ea)][_0x3f6fa7(0x1f8)][_0x3f6fa7(0x21b)](_0x3f6fa7(0x1e1));if(!_0x59146a[_0x3f6fa7(0x1f3)])throw new _0x488115(_0x3f6fa7(0x1f5),this);this[_0x3f6fa7(0x243)]=_0x59146a[_0x3f6fa7(0x1f3)];}[_0xcd2a03(0x247)](_0x3395e1,_0x457be9){const _0x1b3403=_0xcd2a03,_0x1a4584=this[_0x1b3403(0x204)](_0x1b3403(0x255),_0x1b3403(0x1d1),{'id':_0x3395e1,'group':_0x457be9});return{'getConversation':async()=>(await _0x1a4584[_0x1b3403(0x1d6)])[_0x1b3403(0x253)](),'abortController':_0x1a4584[_0x1b3403(0x1fa)]};}[_0xcd2a03(0x248)]({message:_0x6b8579,conversationId:_0x3ff35d,parts:_0x2cf089,capabilities:_0x31c4c6,model:_0xcf0cb5,quickActionData:_0x4e5dbf}){const _0x1b44a5=_0xcd2a03,_0x140e2a={..._0x4e5dbf&&{'quickActionData':_0x4e5dbf}},_0xa1dc39={'prompt':_0x6b8579,'content':_0x2cf089,'model':_0xcf0cb5,..._0x31c4c6&&{'capabilities':_0x31c4c6},...Object[_0x1b44a5(0x214)](_0x140e2a)[_0x1b44a5(0x226)]>0x0&&{'attributes':_0x140e2a}},_0x1fcb45=this[_0x1b44a5(0x204)](_0x1b44a5(0x258)+_0x3ff35d+_0x1b44a5(0x1d3),_0x1b44a5(0x1d1),_0xa1dc39);return{'getStream':async()=>{const _0x25e204=_0x1b44a5,_0x27b74a=(await _0x1fcb45[_0x25e204(0x1d6)])[_0x25e204(0x24d)];return this[_0x25e204(0x1e9)](_0x27b74a);},'abortController':_0x1fcb45[_0x1b44a5(0x1fa)]};}[_0xcd2a03(0x1ca)]({content:_0xcfd271,message:_0x5b3491,model:_0xd475a3,outputFormat:_0x5cf5ba}){const _0x19cf88=_0xcd2a03,_0x22bca6={'content':[{'type':_0x19cf88(0x1cc),'content':_0xcfd271}],'prompt':_0x5b3491,'model':_0xd475a3,'outputFormat':_0x5cf5ba},_0x50d80c=this[_0x19cf88(0x204)](_0x19cf88(0x1de),_0x19cf88(0x1d1),_0x22bca6);return{'getStream':async()=>{const _0xe7401f=_0x19cf88,_0x4ec200=(await _0x50d80c[_0xe7401f(0x1d6)])[_0xe7401f(0x24d)];return this[_0xe7401f(0x1e9)](_0x4ec200);},'abortController':_0x50d80c[_0x19cf88(0x1fa)]};}[_0xcd2a03(0x251)]({actionName:_0xb73763,content:_0x48b679,args:_0x51c866}){const _0x4def72=_0xcd2a03,_0xd67dd={'content':[{'type':_0x4def72(0x1cc),'content':_0x48b679}],'args':_0x51c866},_0xdebc64=this[_0x4def72(0x204)](_0x4def72(0x235)+_0xb73763+_0x4def72(0x1e3),_0x4def72(0x1d1),_0xd67dd);return{'getStream':async()=>{const _0x2b1a4a=_0x4def72,_0x5d41bc=(await _0xdebc64[_0x2b1a4a(0x1d6)])[_0x2b1a4a(0x24d)];return this[_0x2b1a4a(0x1e9)](_0x5d41bc);},'abortController':_0xdebc64[_0x4def72(0x1fa)]};}[_0xcd2a03(0x21f)](_0x10e7e6,_0x523982,_0x18c5b7){const _0x16c8fc=_0xcd2a03,_0x471958=new FormData();_0x471958[_0x16c8fc(0x1f9)](_0x16c8fc(0x1c9),_0x523982,_0x523982[_0x16c8fc(0x1e4)]),_0x18c5b7&&_0x471958[_0x16c8fc(0x1f9)](_0x16c8fc(0x232),JSON[_0x16c8fc(0x250)](_0x18c5b7));const _0xd58731=this[_0x16c8fc(0x204)](_0x16c8fc(0x258)+_0x10e7e6+_0x16c8fc(0x1d0),_0x16c8fc(0x1d1),_0x471958);return{'getId':async()=>(await _0xd58731[_0x16c8fc(0x1d6)])[_0x16c8fc(0x253)](),'abortController':_0xd58731[_0x16c8fc(0x1fa)]};}[_0xcd2a03(0x22f)](_0xd51bda,_0xab815d){const _0x2ed7fb=_0xcd2a03,_0x447138=this[_0x2ed7fb(0x204)](_0x2ed7fb(0x258)+_0xd51bda+_0x2ed7fb(0x210)+_0xab815d,_0x2ed7fb(0x228));return{'getDocument':async()=>(await _0x447138[_0x2ed7fb(0x1d6)])[_0x2ed7fb(0x253)](),'abortController':_0x447138[_0x2ed7fb(0x1fa)]};}[_0xcd2a03(0x230)](_0x47d441,_0x1f4940,_0x18aeaf){const _0x18f856=_0xcd2a03,_0x1b5c46={'content':_0x1f4940};_0x18aeaf&&(_0x1b5c46[_0x18f856(0x232)]=_0x18aeaf);const _0x125f2a=this[_0x18f856(0x204)](_0x18f856(0x258)+_0x47d441+_0x18f856(0x208),_0x18f856(0x1d1),_0x1b5c46);return{'getId':async()=>(await _0x125f2a[_0x18f856(0x1d6)])[_0x18f856(0x253)](),'abortController':_0x125f2a[_0x18f856(0x1fa)]};}[_0xcd2a03(0x219)](_0x7140ed,_0x1a00fb){const _0x137abc=_0xcd2a03,_0x5ceeaf=new URLSearchParams();_0x5ceeaf[_0x137abc(0x1f9)](_0x137abc(0x1f4),_0x137abc(0x24c)),_0x5ceeaf[_0x137abc(0x1f9)](_0x137abc(0x207),_0x137abc(0x1d9)),_0x5ceeaf[_0x137abc(0x1f9)](_0x137abc(0x1d8),_0x7140ed),_0x1a00fb&&_0x5ceeaf[_0x137abc(0x1f9)](_0x137abc(0x217),_0x1a00fb);const _0x4d951d=this[_0x137abc(0x204)](_0x137abc(0x1e2)+_0x5ceeaf[_0x137abc(0x20a)](),_0x137abc(0x228));return{'getConversations':async()=>{const _0x13cddc=_0x137abc,_0x471d1f=await _0x4d951d[_0x13cddc(0x1d6)];return(await _0x471d1f[_0x13cddc(0x253)]())[_0x13cddc(0x24a)];},'abortController':_0x4d951d[_0x137abc(0x1fa)]};}[_0xcd2a03(0x20c)](_0x232b2b){const _0x5aece5=_0xcd2a03,_0x4a7617=this[_0x5aece5(0x204)](_0x5aece5(0x258)+_0x232b2b,_0x5aece5(0x1e7));return{'execute':async()=>{const _0x326266=_0x5aece5;await _0x4a7617[_0x326266(0x1d6)];},'abortController':_0x4a7617[_0x5aece5(0x1fa)]};}[_0xcd2a03(0x245)](_0x5031e5,_0x1ad662){const _0x325905=_0xcd2a03,_0x43549c=this[_0x325905(0x204)](_0x325905(0x258)+_0x5031e5,_0x325905(0x224),_0x1ad662);return{'getResult':async()=>(await _0x43549c[_0x325905(0x1d6)],_0x1ad662),'abortController':_0x43549c[_0x325905(0x1fa)]};}[_0xcd2a03(0x1f6)](_0x51967a){const _0x5b83d3=_0xcd2a03,_0x306b2b=this[_0x5b83d3(0x204)](_0x5b83d3(0x258)+_0x51967a,_0x5b83d3(0x228));return{'getConversation':async()=>(await _0x306b2b[_0x5b83d3(0x1d6)])[_0x5b83d3(0x253)](),'abortController':_0x306b2b[_0x5b83d3(0x1fa)]};}[_0xcd2a03(0x216)](_0x3cb852){const _0x38a906=_0xcd2a03,_0x4c7e36=this[_0x38a906(0x204)](_0x38a906(0x258)+_0x3cb852+_0x38a906(0x1d3),_0x38a906(0x228));return{'getMessages':async()=>{const _0x55bf07=_0x38a906,_0x336d2c=await _0x4c7e36[_0x55bf07(0x1d6)];return(await _0x336d2c[_0x55bf07(0x253)]())[_0x55bf07(0x24a)];},'abortController':_0x4c7e36[_0x38a906(0x1fa)]};}[_0xcd2a03(0x20b)](_0x339644,_0x4861ec,_0xc77297){const _0x11b72a=_0xcd2a03,_0x508a7e=this[_0x11b72a(0x204)](_0x11b72a(0x258)+_0x339644+_0x11b72a(0x201),_0x11b72a(0x1d1),{'url':_0x4861ec,'attributes':_0xc77297});return{'getId':async()=>(await _0x508a7e[_0x11b72a(0x1d6)])[_0x11b72a(0x253)](),'abortController':_0x508a7e[_0x11b72a(0x1fa)]};}[_0xcd2a03(0x1dc)](_0x3423ae='en'){const _0x475280=_0xcd2a03,_0x15b8af=new URLSearchParams();_0x15b8af[_0x475280(0x1f9)](_0x475280(0x23b),_0x3423ae);const _0x479bd8=_0x475280(0x223)+_0x15b8af[_0x475280(0x20a)](),_0x401ec3=this[_0x475280(0x204)](_0x479bd8,_0x475280(0x228));return{'list':async()=>await(await _0x401ec3[_0x475280(0x1d6)])[_0x475280(0x253)](),'abortController':_0x401ec3[_0x475280(0x1fa)]};}[_0xcd2a03(0x222)](_0x4cae0c,_0x3acecb){const _0x3d0efb=_0xcd2a03,_0x2d295b=this[_0x3d0efb(0x204)](_0x3d0efb(0x258)+_0x4cae0c+_0x3d0efb(0x1ff)+_0x3acecb,_0x3d0efb(0x1e7));return{'execute':async()=>{const _0x3c126d=_0x3d0efb;await _0x2d295b[_0x3c126d(0x1d6)];},'abortController':_0x2d295b[_0x3d0efb(0x1fa)]};}[_0xcd2a03(0x23c)](_0x3b9669,_0x5c1497){const _0xd1e23=_0xcd2a03,_0x2e9d85=this[_0xd1e23(0x204)](_0xd1e23(0x258)+_0x3b9669+_0xd1e23(0x210)+_0x5c1497,_0xd1e23(0x1e7));return{'execute':async()=>{const _0x3d236d=_0xd1e23;await _0x2e9d85[_0x3d236d(0x1d6)];},'abortController':_0x2e9d85[_0xd1e23(0x1fa)]};}[_0xcd2a03(0x1f0)](_0x46628e,_0x11a3a4){const _0x334a87=_0xcd2a03,_0x48b9a1=this[_0x334a87(0x204)](_0x334a87(0x258)+_0x46628e+_0x334a87(0x20e)+_0x11a3a4,_0x334a87(0x1e7));return{'execute':async()=>{const _0x4ce17f=_0x334a87;await _0x48b9a1[_0x4ce17f(0x1d6)];},'abortController':_0x48b9a1[_0x334a87(0x1fa)]};}[_0xcd2a03(0x1cb)]({reviewName:_0x2854cc,content:_0x173bfc,args:_0x2527da}){const _0x5778f7=_0xcd2a03,_0xc65d7b=this[_0x5778f7(0x204)](_0x5778f7(0x252)+_0x2854cc+_0x5778f7(0x1e3),_0x5778f7(0x1d1),{'content':[{'type':_0x5778f7(0x1cc),'content':_0x173bfc}],'args':_0x2527da});return{'getStream':async()=>{const _0x1a4926=_0x5778f7,_0x33f7c2=(await _0xc65d7b[_0x1a4926(0x1d6)])[_0x1a4926(0x24d)];return this[_0x1a4926(0x1e9)](_0x33f7c2);},'abortController':_0xc65d7b[_0x5778f7(0x1fa)]};}[_0xcd2a03(0x237)]({content:_0x5be817,prompt:_0x13330d,model:_0x2f0881}){const _0x1d17fc=_0xcd2a03,_0x313e89=this[_0x1d17fc(0x204)](_0x1d17fc(0x1cf),_0x1d17fc(0x1d1),{'content':[{'type':_0x1d17fc(0x1cc),'content':_0x5be817}],'prompt':_0x13330d,'model':_0x2f0881});return{'getStream':async()=>{const _0x521def=_0x1d17fc,_0x2d7006=(await _0x313e89[_0x521def(0x1d6)])[_0x521def(0x24d)];return this[_0x521def(0x1e9)](_0x2d7006);},'abortController':_0x313e89[_0x1d17fc(0x1fa)]};}[_0xcd2a03(0x1ce)](_0x3afcd0,_0x3d4d7f,_0x173037){const _0x33eed4=_0xcd2a03,_0x4d0e0b=this[_0x33eed4(0x204)](_0x33eed4(0x258)+_0x3afcd0+_0x33eed4(0x1fd)+_0x3d4d7f+_0x33eed4(0x231),_0x33eed4(0x24f),{'positiveCount':_0x173037[_0x33eed4(0x1cd)],'totalCount':_0x173037[_0x33eed4(0x1ef)],'modificationId':_0x173037[_0x33eed4(0x242)]});return{'execute':async()=>{const _0x51d4eb=_0x33eed4;await _0x4d0e0b[_0x51d4eb(0x1d6)];},'abortController':_0x4d0e0b[_0x33eed4(0x1fa)]};}[_0xcd2a03(0x1f2)](_0x4e9171,_0x5b615c,_0xe1c9c){const _0x13ff65=_0xcd2a03,_0x52ee35=this[_0x13ff65(0x204)](_0x13ff65(0x235)+_0x4e9171+_0x13ff65(0x246)+_0x5b615c+_0x13ff65(0x231),_0x13ff65(0x24f),{'positiveCount':_0xe1c9c[_0x13ff65(0x1cd)],'totalCount':_0xe1c9c[_0x13ff65(0x1ef)]});return{'execute':async()=>{const _0x136c37=_0x13ff65;await _0x52ee35[_0x136c37(0x1d6)];},'abortController':_0x52ee35[_0x13ff65(0x1fa)]};}[_0xcd2a03(0x209)](_0x3de589,_0x57e7a5){const _0x453019=_0xcd2a03,_0x1ac504=this[_0x453019(0x204)](_0x453019(0x205)+_0x3de589+_0x453019(0x231),_0x453019(0x24f),{'positiveCount':_0x57e7a5[_0x453019(0x1cd)],'totalCount':_0x57e7a5[_0x453019(0x1ef)]});return{'execute':async()=>{const _0x11a81f=_0x453019;await _0x1ac504[_0x11a81f(0x1d6)];},'abortController':_0x1ac504[_0x453019(0x1fa)]};}[_0xcd2a03(0x1d7)](_0x4f910b,_0x115f1e,_0x4ca020,_0x9e1a75){const _0x5583df=_0xcd2a03,_0x1a0dd0=this[_0x5583df(0x204)](_0x5583df(0x252)+_0x4f910b+_0x5583df(0x246)+_0x115f1e+_0x5583df(0x231),_0x5583df(0x24f),{'positiveCount':_0x4ca020[_0x5583df(0x1cd)],'totalCount':_0x4ca020[_0x5583df(0x1ef)],'dataId':_0x9e1a75});return{'execute':async()=>{const _0x261d30=_0x5583df;await _0x1a0dd0[_0x261d30(0x1d6)];},'abortController':_0x1a0dd0[_0x5583df(0x1fa)]};}[_0xcd2a03(0x1df)](_0x4ec69f,_0x41498d,_0x5193a6){const _0x385843=_0xcd2a03,_0x445771=this[_0x385843(0x204)](_0x385843(0x212)+_0x4ec69f+_0x385843(0x231),_0x385843(0x24f),{'positiveCount':_0x41498d[_0x385843(0x1cd)],'totalCount':_0x41498d[_0x385843(0x1ef)],'dataId':_0x5193a6});return{'execute':async()=>{const _0x29d9bf=_0x385843;await _0x445771[_0x29d9bf(0x1d6)];},'abortController':_0x445771[_0x385843(0x1fa)]};}[_0xcd2a03(0x204)](_0x844ce2,_0x935ddb,_0x1df6ee){const _0x2ca5e6=_0xcd2a03,_0x2507c5=new AbortController(),_0x4119a0=_0x1df6ee instanceof FormData,_0x25853c={'Authorization':_0x2ca5e6(0x1d2)+this[_0x2ca5e6(0x243)]?.[_0x2ca5e6(0x21a)]};_0x1df6ee&&!_0x4119a0&&(_0x25853c[_0x2ca5e6(0x256)]=_0x2ca5e6(0x1f7));const _0xacc775={'method':_0x935ddb,'headers':_0x25853c,'signal':_0x2507c5[_0x2ca5e6(0x1e5)]};return _0x1df6ee&&(_0xacc775[_0x2ca5e6(0x24d)]=_0x4119a0?_0x1df6ee:JSON[_0x2ca5e6(0x250)](_0x1df6ee)),{'request':fetch(''+this[_0x2ca5e6(0x24b)]+_0x844ce2,_0xacc775)[_0x2ca5e6(0x211)](_0x44d301=>{const _0x5557d5=_0x2ca5e6;this[_0x5557d5(0x22d)](_0x44d301);})[_0x2ca5e6(0x1ed)](_0x4ab85c=>_0x4ab85c['ok']?_0x4ab85c:_0x4ab85c[_0x2ca5e6(0x253)]()[_0x2ca5e6(0x1ed)](_0x139361=>{const _0x5e1461=_0x2ca5e6;throw{'url':this[_0x5e1461(0x24b)],'path':_0x844ce2,'method':_0x935ddb,'body':_0x1df6ee,'status':(_0x4ab85c||{})[_0x5e1461(0x1fe)],'statusText':(_0x4ab85c||{})[_0x5e1461(0x23a)],'code':_0x139361[_0x5e1461(0x1e0)],'message':_0x139361[_0x5e1461(0x20d)],'traceId':_0x139361[_0x5e1461(0x225)]};})),'abortController':_0x2507c5};}async*[_0xcd2a03(0x1e9)](_0x1db3dc){const _0x5cd2cc=_0xcd2a03,_0x499eee=[],_0x2e20c7=_0x1db3dc[_0x5cd2cc(0x21d)](),_0x5e19a0=_0x90b4bd({'onError':_0x5a5e8c=>{const _0x56cc50=_0x5cd2cc;this[_0x56cc50(0x22d)](_0x5a5e8c);},'onEvent':_0x1c2fc0=>{const _0x5e9a01=_0x5cd2cc;_0x1c2fc0[_0x5e9a01(0x21c)]=JSON[_0x5e9a01(0x22b)](_0x1c2fc0[_0x5e9a01(0x21c)]),_0x499eee[_0x5e9a01(0x21e)](_0x1c2fc0);}});try{let _0x1e1285=!0x1;for(;!_0x1e1285;){const {done:_0x5b417f,value:_0x2a59a0}=await _0x2e20c7[_0x5cd2cc(0x234)]();_0x5b417f&&(_0x1e1285=!0x0),_0x5e19a0[_0x5cd2cc(0x1fc)](this[_0x5cd2cc(0x240)][_0x5cd2cc(0x220)](_0x2a59a0,{'stream':!0x0})),yield*_0x499eee,_0x499eee[_0x5cd2cc(0x226)]=0x0;}}catch(_0x427ba9){this[_0x5cd2cc(0x22d)](_0x427ba9);}finally{_0x2e20c7[_0x5cd2cc(0x22c)](),_0x5e19a0[_0x5cd2cc(0x1e8)]();}}[_0xcd2a03(0x22d)](_0x1fe36e){const _0x16eb4c=_0xcd2a03;if(_0x1fe36e instanceof _0x488115)throw _0x1fe36e;if(_0x1fe36e instanceof Error&&_0x16eb4c(0x215)===_0x1fe36e[_0x16eb4c(0x1e4)])throw new _0x488115(_0x16eb4c(0x218),this,{'originalError':_0x1fe36e});throw new _0x488115(_0x16eb4c(0x1dd),this,{'originalError':_0x1fe36e});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x97337f=_0x308c;(function(_0x583ce2,_0x4fb11b){const _0x383d9c=_0x308c,_0x5b8d58=_0x583ce2();while(!![]){try{const _0x53313f=parseInt(_0x383d9c(0xa7))/0x1*(-parseInt(_0x383d9c(0xed))/0x2)+-parseInt(_0x383d9c(0xef))/0x3+parseInt(_0x383d9c(0xee))/0x4*(parseInt(_0x383d9c(0xd7))/0x5)+-parseInt(_0x383d9c(0xba))/0x6*(-parseInt(_0x383d9c(0xde))/0x7)+-parseInt(_0x383d9c(0xb1))/0x8*(-parseInt(_0x383d9c(0xb8))/0x9)+parseInt(_0x383d9c(0xe9))/0xa+parseInt(_0x383d9c(0xc1))/0xb*(-parseInt(_0x383d9c(0xd9))/0xc);if(_0x53313f===_0x4fb11b)break;else _0x5b8d58['push'](_0x5b8d58['shift']());}catch(_0x4e497a){_0x5b8d58['push'](_0x5b8d58['shift']());}}}(_0x35ae,0xb782e));import{ViewDowncastWriter as _0x14def9}from'ckeditor5/src/engine.js';function _0x308c(_0x72da9a,_0x1f3a35){const _0x35aef8=_0x35ae();return _0x308c=function(_0x308c0a,_0x517929){_0x308c0a=_0x308c0a-0x9c;let _0x23c756=_0x35aef8[_0x308c0a];return _0x23c756;},_0x308c(_0x72da9a,_0x1f3a35);}import{ContextPlugin as _0x12e3c7,Editor as _0x56ad01}from'ckeditor5/src/core.js';import{uid as _0x2fce2d}from'ckeditor5/src/utils.js';function _0x35ae(){const _0x4a797d=['136PDRwUf','544092DPkBBE','afterInit','convertAiChatSelectionMarker','showFakeVisualSelection','processor','conversion','dataDowncast','getMarkersGroup','sessionId','isAfter',':end></','isOpening','pluginName','isBefore','context','get','getWalker','createRange','getStart','getLastMatchingPosition','getChildren','createRangeIn','model','_displayedFakeSelectionLocked','name',':start>','length','has','getRoot','editingDowncast','fromCharCode',':start></','editing','markerToElement','isOfficialPlugin','737zpwgHO','ck-fake-ai-selection','addMarker','change','isPremiumPlugin','_setDataIdsOnChildren','ai-selection:','selection','getSelectedContent','isContent','5758408zRcbNG','ck-ai-assistant-ui_theme','from','substring','_getMarkersInDocumentOrder','getDocumentData','schema','18SYdNdH','_nextDataId','162WtvJgn','hideFakeVisualSelection','markers','emptyElement','toView','indexOf','toData','737YImxGc','trim','data','start','createUIElement','push','isAtEnd','removeAllRanges','RealTimeCollaborationClient','getSelection','modelToViewWithIds','ready','add','editors','$textProxy','element','plugins','markerToHighlight','_sessionId',':end>','containerElement','data-id','44095zKZltt','document','566316dmafos','join','floor','ai-selection','listenTo','352639Tzwiak','end','version','getSelectionText','removeMarker','random','AIEditing','view','for','setAttribute','_integrateEditor','10867180BGgmVn','_displayedFakeSelectionId','markerName','sort','248UGUMFh'];_0x35ae=function(){return _0x4a797d;};return _0x35ae();}import{getEditorFromContext as _0x568da4}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x97337f(0xdc);export class AIEditing extends _0x12e3c7{[_0x97337f(0xea)]=null;[_0x97337f(0x106)]=!0x1;[_0x97337f(0xd3)];static get[_0x97337f(0xfb)](){const _0x70f850=_0x97337f;return _0x70f850(0xe4);}static get[_0x97337f(0xa6)](){return!0x0;}static get[_0x97337f(0xab)](){return!0x0;}get[_0x97337f(0xf7)](){const _0x2e62a5=_0x97337f;if(!this[_0x2e62a5(0xd3)]){const _0x26204e=_0x568da4(this[_0x2e62a5(0xfd)]),_0x6789a5=_0x26204e[_0x2e62a5(0xd1)][_0x2e62a5(0x9f)](_0x2e62a5(0xc9))&&_0x26204e[_0x2e62a5(0xd1)][_0x2e62a5(0xfe)](_0x2e62a5(0xc9))[_0x2e62a5(0xf7)];this[_0x2e62a5(0xd3)]=_0x6789a5||_0x2fce2d();}return this[_0x2e62a5(0xd3)];}[_0x97337f(0xb6)](){const _0xfc4f61=_0x97337f,_0x531213=_0x568da4(this[_0xfc4f61(0xfd)]),_0x7ce53f=_0x531213[_0xfc4f61(0x105)],_0xd27477=_0x531213[_0xfc4f61(0xc3)][_0xfc4f61(0xbe)](_0x7ce53f[_0xfc4f61(0xd8)][_0xfc4f61(0xa0)](),{'convertAiChatSelectionMarker':!0x0}),_0x22c08c=new _0x14def9(_0x531213[_0xfc4f61(0xa4)][_0xfc4f61(0xe5)][_0xfc4f61(0xd8)]);this[_0xfc4f61(0xac)](_0xd27477,_0x22c08c);let _0x39644a=_0x531213[_0xfc4f61(0xc3)][_0xfc4f61(0xf3)][_0xfc4f61(0xc0)](_0xd27477);const _0x5cc7c3=this[_0xfc4f61(0xb5)](),_0x4b3d24=[];for(const _0x394a04 of _0x5cc7c3){const _0x2875a1='<'+_0x394a04[_0xfc4f61(0x9c)]+_0xfc4f61(0xa3)+_0x394a04[_0xfc4f61(0x9c)]+_0xfc4f61(0x9d),_0x3d117f=_0x39644a[_0xfc4f61(0xbf)](_0x2875a1);_0x39644a=_0x39644a[_0xfc4f61(0xb4)](0x0,_0x3d117f)+_0x39644a[_0xfc4f61(0xb4)](_0x3d117f+_0x2875a1[_0xfc4f61(0x9e)]);const _0x1e8741='<'+_0x394a04[_0xfc4f61(0x9c)]+_0xfc4f61(0xf9)+_0x394a04[_0xfc4f61(0x9c)]+_0xfc4f61(0xd4),_0x286a55=_0x39644a[_0xfc4f61(0xbf)](_0x1e8741);_0x39644a=_0x39644a[_0xfc4f61(0xb4)](0x0,_0x286a55)+_0x39644a[_0xfc4f61(0xb4)](_0x286a55+_0x1e8741[_0xfc4f61(0x9e)]),_0x4b3d24[_0xfc4f61(0xc6)]({'markerName':_0x394a04[_0xfc4f61(0x9c)],'start':_0x3d117f,'end':_0x286a55,'htmlFragment':_0x39644a[_0xfc4f61(0xb4)](_0x3d117f,_0x286a55)});}return{'content':_0x39644a,'version':_0x531213[_0xfc4f61(0x105)][_0xfc4f61(0xd8)][_0xfc4f61(0xe0)],'sessionId':this[_0xfc4f61(0xf7)],'selections':_0x4b3d24};}async[_0x97337f(0xf0)](){const _0x4b55bf=_0x97337f;this[_0x4b55bf(0xfd)]instanceof _0x56ad01?this[_0x4b55bf(0xe8)](this[_0x4b55bf(0xfd)]):this[_0x4b55bf(0xdd)](this[_0x4b55bf(0xfd)][_0x4b55bf(0xce)],_0x4b55bf(0xcd),(_0x246ab0,_0x71694d)=>{const _0x3a5ef3=_0x4b55bf;_0x71694d['on'](_0x3a5ef3(0xcc),()=>{const _0x5013b0=_0x3a5ef3;this[_0x5013b0(0xe8)](_0x71694d);});});}[_0x97337f(0xe8)](_0x51981f){const _0x361d55=_0x97337f;_0x51981f[_0x361d55(0xf4)][_0x361d55(0xe6)](_0x361d55(0xa1))[_0x361d55(0xd2)]({'model':_0x361d55(0xdc),'view':{'classes':[_0x361d55(0xa8),_0x361d55(0xb2)],'priority':0xc}}),_0x51981f[_0x361d55(0xf4)][_0x361d55(0xe6)](_0x361d55(0xf5))[_0x361d55(0xa5)]({'model':_0x361d55(0xdc),'view':(_0x186e51,{writer:_0x15a176,options:_0x1f82d7})=>_0x1f82d7[_0x361d55(0xf1)]?_0x15a176[_0x361d55(0xc5)](_0x186e51[_0x361d55(0xeb)]+':'+(_0x186e51[_0x361d55(0xfa)]?_0x361d55(0xc4):_0x361d55(0xdf))):null});}[_0x97337f(0xf2)](_0x280add,_0x2b2b25,_0x1e1d60=!0x1,_0x3d11c7=!0x1){const _0x24ebd1=_0x97337f;if(this[_0x24ebd1(0x106)]&&!_0x3d11c7)return!0x1;const _0x287e7f=_0x568da4(this[_0x24ebd1(0xfd)])[_0x24ebd1(0x105)];return _0x287e7f[_0x24ebd1(0xaa)](_0x390d96=>{const _0x5315fb=_0x24ebd1;this[_0x5315fb(0xea)]&&this[_0x5315fb(0xbb)](this[_0x5315fb(0xea)]),this[_0x5315fb(0xea)]=_0x2b2b25,this[_0x5315fb(0x106)]=_0x1e1d60;let _0x49e434=0x0;for(let _0x49dc6b of _0x280add){const _0x2feed1=_0x5315fb(0xad)+_0x49e434;if(_0x49dc6b[_0x5315fb(0xc4)][_0x5315fb(0xc7)]){const _0x25f24a=_0x49dc6b[_0x5315fb(0xc4)][_0x5315fb(0x102)](({item:_0x2fad30})=>!_0x287e7f[_0x5315fb(0xb7)][_0x5315fb(0xb0)](_0x2fad30),{'boundaries':_0x49dc6b});_0x49dc6b=_0x390d96[_0x5315fb(0x100)](_0x25f24a,_0x49dc6b[_0x5315fb(0xdf)]);}_0x390d96[_0x5315fb(0xa9)](_0x2feed1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49dc6b}),_0x49e434++;}}),window[_0x24ebd1(0xca)]()?.[_0x24ebd1(0xc8)](),!0x0;}[_0x97337f(0xbb)](_0x30c206){const _0x28a2a8=_0x97337f;if(this[_0x28a2a8(0xea)]!=_0x30c206)return!0x1;this[_0x28a2a8(0xea)]=null,this[_0x28a2a8(0x106)]=!0x1;const _0x4e3903=_0x568da4(this[_0x28a2a8(0xfd)]),_0x132649=_0x4e3903[_0x28a2a8(0x105)][_0x28a2a8(0xbc)][_0x28a2a8(0xf6)](_0x28a2a8(0xdc));return _0x4e3903[_0x28a2a8(0x105)][_0x28a2a8(0xaa)](_0x24da92=>{const _0x1b3d84=_0x28a2a8;for(const _0x2dd101 of _0x132649)_0x24da92[_0x1b3d84(0xe2)](_0x2dd101);}),!0x0;}[_0x97337f(0xcb)](_0x312beb){const _0x3f72d3=_0x97337f,_0x12e7c0=_0x568da4(this[_0x3f72d3(0xfd)]),_0x56816c=_0x12e7c0[_0x3f72d3(0xc3)][_0x3f72d3(0xbe)](_0x312beb),_0x477b37=new _0x14def9(_0x12e7c0[_0x3f72d3(0xa4)][_0x3f72d3(0xe5)][_0x3f72d3(0xd8)]);return this[_0x3f72d3(0xac)](_0x56816c,_0x477b37),_0x56816c;}[_0x97337f(0xac)](_0x248d2e,_0x22cd69){const _0xca5829=_0x97337f;let _0x56ddad=!0x1;const _0x79c6b6=new Set();for(const _0x205f99 of _0x248d2e[_0xca5829(0x103)]()){const _0x3ebc23=_0x205f99['is'](_0xca5829(0xbd))||_0x205f99['is'](_0xca5829(0xd5));if(!_0x205f99['is'](_0xca5829(0xd0)))continue;(this[_0xca5829(0xac)](_0x205f99,_0x22cd69)||_0x3ebc23)&&(_0x22cd69[_0xca5829(0xe7)](_0xca5829(0xd6),this[_0xca5829(0xb9)](_0x79c6b6),_0x205f99),_0x56ddad=!0x0);}return _0x56ddad;}[_0x97337f(0xb9)](_0x153b75){const _0x33af58=_0x97337f;let _0x499146;do{_0x499146='';for(let _0x4d06f6=0x0;_0x4d06f6<0x4;_0x4d06f6++)_0x499146+=String[_0x33af58(0xa2)](0x61+Math[_0x33af58(0xdb)](0x1a*Math[_0x33af58(0xe3)]()));}while(_0x153b75[_0x33af58(0x9f)](_0x499146));return _0x153b75[_0x33af58(0xcd)](_0x499146),_0x499146;}[_0x97337f(0xe1)](){const _0x1f74ce=_0x97337f,{model:_0x5cd93c}=_0x568da4(this[_0x1f74ce(0xfd)]),_0x450f8b=_0x5cd93c[_0x1f74ce(0xd8)][_0x1f74ce(0xae)],_0x2ceac3=_0x5cd93c[_0x1f74ce(0xaf)](_0x450f8b),_0x3781f4=[],_0x1403a4=_0x5cd93c[_0x1f74ce(0x104)](_0x2ceac3)[_0x1f74ce(0xff)]();for(const {item:_0x430b3a}of _0x1403a4)_0x430b3a['is'](_0x1f74ce(0xcf))?_0x3781f4[_0x1f74ce(0xc6)](_0x430b3a[_0x1f74ce(0xc3)]):_0x430b3a['is'](_0x1f74ce(0xd0))&&_0x3781f4[_0x1f74ce(0x9e)]>0x0&&'\x20'!==_0x3781f4[_0x3781f4[_0x1f74ce(0x9e)]-0x1]&&_0x3781f4[_0x1f74ce(0xc6)]('\x20');return'\x22'+_0x3781f4[_0x1f74ce(0xda)]('')[_0x1f74ce(0xc2)]()+'\x22';}[_0x97337f(0xb5)](){const _0x8abed3=_0x97337f,_0x3f8bd1=_0x568da4(this[_0x8abed3(0xfd)])[_0x8abed3(0x105)];return Array[_0x8abed3(0xb3)](_0x3f8bd1[_0x8abed3(0xbc)][_0x8abed3(0xf6)](_0x8abed3(0xdc)))[_0x8abed3(0xec)]((_0x526e6e,_0x14a538)=>_0x526e6e[_0x8abed3(0x101)]()[_0x8abed3(0xfc)](_0x14a538[_0x8abed3(0x101)]())?-0x1:_0x526e6e[_0x8abed3(0x101)]()[_0x8abed3(0xf8)](_0x14a538[_0x8abed3(0x101)]())?0x1:0x0);}}
23
+ const _0x43da1e=_0x24c5;function _0x24c5(_0x2b23d1,_0x58e9fc){const _0x17fa20=_0x17fa();return _0x24c5=function(_0x24c56a,_0x226759){_0x24c56a=_0x24c56a-0x18d;let _0x4c32d8=_0x17fa20[_0x24c56a];return _0x4c32d8;},_0x24c5(_0x2b23d1,_0x58e9fc);}(function(_0x1bc5a1,_0x4e0a9b){const _0x463092=_0x24c5,_0x58d644=_0x1bc5a1();while(!![]){try{const _0x2caaf6=parseInt(_0x463092(0x1b0))/0x1+-parseInt(_0x463092(0x1c7))/0x2+-parseInt(_0x463092(0x1ab))/0x3+parseInt(_0x463092(0x1a8))/0x4+-parseInt(_0x463092(0x1ca))/0x5*(parseInt(_0x463092(0x1e0))/0x6)+parseInt(_0x463092(0x1a7))/0x7+parseInt(_0x463092(0x1ee))/0x8*(parseInt(_0x463092(0x1bc))/0x9);if(_0x2caaf6===_0x4e0a9b)break;else _0x58d644['push'](_0x58d644['shift']());}catch(_0x2d5874){_0x58d644['push'](_0x58d644['shift']());}}}(_0x17fa,0x37cba));function _0x17fa(){const _0x1f22a5=['processor',':start>','listenTo','substring','version','for','createRangeIn','length','sessionId','push','getStart','9vSIUfY','fromCharCode','markers','getDocumentData','isContent','_displayedFakeSelectionId','has','showFakeVisualSelection','ai-selection:',':end></','random','155942njcjUL','element','isAtEnd','15hqClQr','end','model','removeAllRanges','isOfficialPlugin','add','emptyElement','toView','getSelection','pluginName','_sessionId','getRoot','change','view','name','getChildren','toData','conversion','isBefore','getLastMatchingPosition','ready','containerElement','190446EtuCsa','addMarker','ai-selection','from','document','setAttribute','floor','_displayedFakeSelectionLocked','getMarkersGroup','sort','getSelectionText','selection','editors','editing','509816byCjfJ',':end>','getSelectedContent','markerToElement','afterInit','hideFakeVisualSelection','schema','trim','$textProxy','createRange','createUIElement','_integrateEditor','markerName','isPremiumPlugin','join','plugins','get','context','isOpening','editingDowncast','modelToViewWithIds',':start></','start','ck-ai-assistant-ui_theme','convertAiChatSelectionMarker','dataDowncast','AIEditing','indexOf','_getMarkersInDocumentOrder','_nextDataId','RealTimeCollaborationClient','markerToHighlight','isAfter','2761696FkyCPp','93480QhtFTJ','getWalker','ck-fake-ai-selection','1302465TDaunZ','data','removeMarker','_setDataIdsOnChildren','data-id','354262LLoqDb'];_0x17fa=function(){return _0x1f22a5;};return _0x17fa();}import{ViewDowncastWriter as _0x4805d1}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x1ff937,Editor as _0x36b101}from'ckeditor5/src/core.js';import{uid as _0x29437b}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x501734}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x43da1e(0x1e2);export class AIEditing extends _0x1ff937{[_0x43da1e(0x1c1)]=null;[_0x43da1e(0x1e7)]=!0x1;[_0x43da1e(0x1d4)];static get[_0x43da1e(0x1d3)](){const _0x14c6e1=_0x43da1e;return _0x14c6e1(0x1a0);}static get[_0x43da1e(0x1ce)](){return!0x0;}static get[_0x43da1e(0x193)](){return!0x0;}get[_0x43da1e(0x1b9)](){const _0xfd784a=_0x43da1e;if(!this[_0xfd784a(0x1d4)]){const _0x34a9ee=_0x501734(this[_0xfd784a(0x197)]),_0x3ceaeb=_0x34a9ee[_0xfd784a(0x195)][_0xfd784a(0x1c2)](_0xfd784a(0x1a4))&&_0x34a9ee[_0xfd784a(0x195)][_0xfd784a(0x196)](_0xfd784a(0x1a4))[_0xfd784a(0x1b9)];this[_0xfd784a(0x1d4)]=_0x3ceaeb||_0x29437b();}return this[_0xfd784a(0x1d4)];}[_0x43da1e(0x1bf)](){const _0x76c9aa=_0x43da1e,_0x4f07f2=_0x501734(this[_0x76c9aa(0x197)]),_0x494b1f=_0x4f07f2[_0x76c9aa(0x1cc)],_0x2367bb=_0x4f07f2[_0x76c9aa(0x1ac)][_0x76c9aa(0x1d1)](_0x494b1f[_0x76c9aa(0x1e4)][_0x76c9aa(0x1d5)](),{'convertAiChatSelectionMarker':!0x0}),_0x78faca=new _0x4805d1(_0x4f07f2[_0x76c9aa(0x1ed)][_0x76c9aa(0x1d7)][_0x76c9aa(0x1e4)]);this[_0x76c9aa(0x1ae)](_0x2367bb,_0x78faca);let _0x24b561=_0x4f07f2[_0x76c9aa(0x1ac)][_0x76c9aa(0x1b1)][_0x76c9aa(0x1da)](_0x2367bb);const _0x213a31=this[_0x76c9aa(0x1a2)](),_0x5ee749=[];for(const _0x3ee2a7 of _0x213a31){const _0x496bca='<'+_0x3ee2a7[_0x76c9aa(0x1d8)]+_0x76c9aa(0x19b)+_0x3ee2a7[_0x76c9aa(0x1d8)]+_0x76c9aa(0x1b2),_0x4365aa=_0x24b561[_0x76c9aa(0x1a1)](_0x496bca);_0x24b561=_0x24b561[_0x76c9aa(0x1b4)](0x0,_0x4365aa)+_0x24b561[_0x76c9aa(0x1b4)](_0x4365aa+_0x496bca[_0x76c9aa(0x1b8)]);const _0x4dbe5e='<'+_0x3ee2a7[_0x76c9aa(0x1d8)]+_0x76c9aa(0x1c5)+_0x3ee2a7[_0x76c9aa(0x1d8)]+_0x76c9aa(0x1ef),_0x538b67=_0x24b561[_0x76c9aa(0x1a1)](_0x4dbe5e);_0x24b561=_0x24b561[_0x76c9aa(0x1b4)](0x0,_0x538b67)+_0x24b561[_0x76c9aa(0x1b4)](_0x538b67+_0x4dbe5e[_0x76c9aa(0x1b8)]),_0x5ee749[_0x76c9aa(0x1ba)]({'markerName':_0x3ee2a7[_0x76c9aa(0x1d8)],'start':_0x4365aa,'end':_0x538b67,'htmlFragment':_0x24b561[_0x76c9aa(0x1b4)](_0x4365aa,_0x538b67)});}return{'content':_0x24b561,'version':_0x4f07f2[_0x76c9aa(0x1cc)][_0x76c9aa(0x1e4)][_0x76c9aa(0x1b5)],'sessionId':this[_0x76c9aa(0x1b9)],'selections':_0x5ee749};}async[_0x43da1e(0x1f2)](){const _0x5bf5b9=_0x43da1e;this[_0x5bf5b9(0x197)]instanceof _0x36b101?this[_0x5bf5b9(0x191)](this[_0x5bf5b9(0x197)]):this[_0x5bf5b9(0x1b3)](this[_0x5bf5b9(0x197)][_0x5bf5b9(0x1ec)],_0x5bf5b9(0x1cf),(_0xd3d4a4,_0x3ffe46)=>{const _0x1fbf0e=_0x5bf5b9;_0x3ffe46['on'](_0x1fbf0e(0x1de),()=>{const _0xa72a8c=_0x1fbf0e;this[_0xa72a8c(0x191)](_0x3ffe46);});});}[_0x43da1e(0x191)](_0x1ecaf1){const _0x180ee0=_0x43da1e;_0x1ecaf1[_0x180ee0(0x1db)][_0x180ee0(0x1b6)](_0x180ee0(0x199))[_0x180ee0(0x1a5)]({'model':_0x180ee0(0x1e2),'view':{'classes':[_0x180ee0(0x1aa),_0x180ee0(0x19d)],'priority':0xc}}),_0x1ecaf1[_0x180ee0(0x1db)][_0x180ee0(0x1b6)](_0x180ee0(0x19f))[_0x180ee0(0x1f1)]({'model':_0x180ee0(0x1e2),'view':(_0x5402ee,{writer:_0x40b3cd,options:_0x1e2f65})=>_0x1e2f65[_0x180ee0(0x19e)]?_0x40b3cd[_0x180ee0(0x190)](_0x5402ee[_0x180ee0(0x192)]+':'+(_0x5402ee[_0x180ee0(0x198)]?_0x180ee0(0x19c):_0x180ee0(0x1cb))):null});}[_0x43da1e(0x1c3)](_0xf4ef07,_0x58da66,_0x561c4b=!0x1,_0x15f9a0=!0x1){const _0x582efa=_0x43da1e;if(this[_0x582efa(0x1e7)]&&!_0x15f9a0)return!0x1;const _0xc6d604=_0x501734(this[_0x582efa(0x197)])[_0x582efa(0x1cc)];return _0xc6d604[_0x582efa(0x1d6)](_0x5e7fc8=>{const _0xf535c1=_0x582efa;this[_0xf535c1(0x1c1)]&&this[_0xf535c1(0x1f3)](this[_0xf535c1(0x1c1)]),this[_0xf535c1(0x1c1)]=_0x58da66,this[_0xf535c1(0x1e7)]=_0x561c4b;let _0x49d493=0x0;for(let _0x226765 of _0xf4ef07){const _0x25dd7b=_0xf535c1(0x1c4)+_0x49d493;if(_0x226765[_0xf535c1(0x19c)][_0xf535c1(0x1c9)]){const _0x404ee2=_0x226765[_0xf535c1(0x19c)][_0xf535c1(0x1dd)](({item:_0x38387a})=>!_0xc6d604[_0xf535c1(0x1f4)][_0xf535c1(0x1c0)](_0x38387a),{'boundaries':_0x226765});_0x226765=_0x5e7fc8[_0xf535c1(0x18f)](_0x404ee2,_0x226765[_0xf535c1(0x1cb)]);}_0x5e7fc8[_0xf535c1(0x1e1)](_0x25dd7b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x226765}),_0x49d493++;}}),window[_0x582efa(0x1d2)]()?.[_0x582efa(0x1cd)](),!0x0;}[_0x43da1e(0x1f3)](_0x36860f){const _0x375790=_0x43da1e;if(this[_0x375790(0x1c1)]!=_0x36860f)return!0x1;this[_0x375790(0x1c1)]=null,this[_0x375790(0x1e7)]=!0x1;const _0x3f176a=_0x501734(this[_0x375790(0x197)]),_0x143fa6=_0x3f176a[_0x375790(0x1cc)][_0x375790(0x1be)][_0x375790(0x1e8)](_0x375790(0x1e2));return _0x3f176a[_0x375790(0x1cc)][_0x375790(0x1d6)](_0x48bacc=>{const _0x12280b=_0x375790;for(const _0x2d4e9c of _0x143fa6)_0x48bacc[_0x12280b(0x1ad)](_0x2d4e9c);}),!0x0;}[_0x43da1e(0x19a)](_0x3d030b){const _0x15ed44=_0x43da1e,_0x4b43b9=_0x501734(this[_0x15ed44(0x197)]),_0x522512=_0x4b43b9[_0x15ed44(0x1ac)][_0x15ed44(0x1d1)](_0x3d030b),_0xbb402b=new _0x4805d1(_0x4b43b9[_0x15ed44(0x1ed)][_0x15ed44(0x1d7)][_0x15ed44(0x1e4)]);return this[_0x15ed44(0x1ae)](_0x522512,_0xbb402b),_0x522512;}[_0x43da1e(0x1ae)](_0x43bdaa,_0x19694a){const _0x27e07f=_0x43da1e;let _0x32236b=!0x1;const _0x45b81c=new Set();for(const _0x4d1f44 of _0x43bdaa[_0x27e07f(0x1d9)]()){const _0x26b693=_0x4d1f44['is'](_0x27e07f(0x1d0))||_0x4d1f44['is'](_0x27e07f(0x1df));if(!_0x4d1f44['is'](_0x27e07f(0x1c8)))continue;(this[_0x27e07f(0x1ae)](_0x4d1f44,_0x19694a)||_0x26b693)&&(_0x19694a[_0x27e07f(0x1e5)](_0x27e07f(0x1af),this[_0x27e07f(0x1a3)](_0x45b81c),_0x4d1f44),_0x32236b=!0x0);}return _0x32236b;}[_0x43da1e(0x1a3)](_0x49bbeb){const _0x41657d=_0x43da1e;let _0x5deb08;do{_0x5deb08='';for(let _0x50ec12=0x0;_0x50ec12<0x4;_0x50ec12++)_0x5deb08+=String[_0x41657d(0x1bd)](0x61+Math[_0x41657d(0x1e6)](0x1a*Math[_0x41657d(0x1c6)]()));}while(_0x49bbeb[_0x41657d(0x1c2)](_0x5deb08));return _0x49bbeb[_0x41657d(0x1cf)](_0x5deb08),_0x5deb08;}[_0x43da1e(0x1ea)](){const _0x2b0121=_0x43da1e,{model:_0x316e47}=_0x501734(this[_0x2b0121(0x197)]),_0x4ec595=_0x316e47[_0x2b0121(0x1e4)][_0x2b0121(0x1eb)],_0x1df944=_0x316e47[_0x2b0121(0x1f0)](_0x4ec595),_0x4517fd=[],_0x2dd0b5=_0x316e47[_0x2b0121(0x1b7)](_0x1df944)[_0x2b0121(0x1a9)]();for(const {item:_0xba777}of _0x2dd0b5)_0xba777['is'](_0x2b0121(0x18e))?_0x4517fd[_0x2b0121(0x1ba)](_0xba777[_0x2b0121(0x1ac)]):_0xba777['is'](_0x2b0121(0x1c8))&&_0x4517fd[_0x2b0121(0x1b8)]>0x0&&'\x20'!==_0x4517fd[_0x4517fd[_0x2b0121(0x1b8)]-0x1]&&_0x4517fd[_0x2b0121(0x1ba)]('\x20');return'\x22'+_0x4517fd[_0x2b0121(0x194)]('')[_0x2b0121(0x18d)]()+'\x22';}[_0x43da1e(0x1a2)](){const _0x82d4c7=_0x43da1e,_0x497128=_0x501734(this[_0x82d4c7(0x197)])[_0x82d4c7(0x1cc)];return Array[_0x82d4c7(0x1e3)](_0x497128[_0x82d4c7(0x1be)][_0x82d4c7(0x1e8)](_0x82d4c7(0x1e2)))[_0x82d4c7(0x1e9)]((_0x135fc1,_0x214dc9)=>_0x135fc1[_0x82d4c7(0x1bb)]()[_0x82d4c7(0x1dc)](_0x214dc9[_0x82d4c7(0x1bb)]())?-0x1:_0x135fc1[_0x82d4c7(0x1bb)]()[_0x82d4c7(0x1a6)](_0x214dc9[_0x82d4c7(0x1bb)]())?0x1:0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4899c5=_0x43c6;(function(_0xb1935d,_0x4190cd){const _0x1feb5b=_0x43c6,_0xb8c0b1=_0xb1935d();while(!![]){try{const _0x4a39ea=parseInt(_0x1feb5b(0x124))/0x1*(parseInt(_0x1feb5b(0x125))/0x2)+parseInt(_0x1feb5b(0x12b))/0x3*(parseInt(_0x1feb5b(0x131))/0x4)+parseInt(_0x1feb5b(0x134))/0x5*(-parseInt(_0x1feb5b(0x126))/0x6)+-parseInt(_0x1feb5b(0x12c))/0x7*(parseInt(_0x1feb5b(0x13e))/0x8)+parseInt(_0x1feb5b(0x128))/0x9+-parseInt(_0x1feb5b(0x13d))/0xa*(parseInt(_0x1feb5b(0x135))/0xb)+parseInt(_0x1feb5b(0x137))/0xc;if(_0x4a39ea===_0x4190cd)break;else _0xb8c0b1['push'](_0xb8c0b1['shift']());}catch(_0x4e3cae){_0xb8c0b1['push'](_0xb8c0b1['shift']());}}}(_0x35b5,0x6c0ba));function _0x35b5(){const _0x20f539=['fire','60vfLKbC','getCapabilitiesRequestData','_isWebSearchEnabled','925265EMLDmW','33glTTUl','toggleWebSearch','1019724sQpFpz','webSearch','capabilitiesUpdated','setWebSearch','isReasoningEnabled','reasoning','2786510PORPBK','290712fTPcpe','_isReasoningEnabled','20847eJrQFa','74GJacKH','6lHwRYW','isWebSearchEnabled','7798104VzONdT','getCapabilitiesConfig','setReasoning','115317osBskt','161ZmNUWZ','init','reset','toggleReasoning'];_0x35b5=function(){return _0x20f539;};return _0x35b5();}function _0x43c6(_0x1cf9a0,_0x479610){const _0x35b5e5=_0x35b5();return _0x43c6=function(_0x43c6c1,_0x6478de){_0x43c6c1=_0x43c6c1-0x124;let _0x4d30a7=_0x35b5e5[_0x43c6c1];return _0x4d30a7;},_0x43c6(_0x1cf9a0,_0x479610);}import{EmitterMixin as _0x19f791}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x4899c5(0x139)];export class AICapabilities extends _0x19f791(){[_0x4899c5(0x133)];[_0x4899c5(0x13f)];constructor(){const _0x34f101=_0x4899c5;super(),this[_0x34f101(0x133)]=!0x1,this[_0x34f101(0x13f)]=!0x1;}[_0x4899c5(0x12d)](){const _0x17b538=_0x4899c5;this[_0x17b538(0x12e)]();}[_0x4899c5(0x12e)](){const _0x202787=_0x4899c5;this[_0x202787(0x13a)](!0x1),this[_0x202787(0x12a)](!0x1);}[_0x4899c5(0x129)](){const _0x30d7c8=_0x4899c5;return{'isWebSearchEnabled':this[_0x30d7c8(0x133)],'isReasoningEnabled':this[_0x30d7c8(0x13f)]};}static[_0x4899c5(0x132)](_0x4f2a6c){const _0x246b73=_0x4899c5,_0x4bf4a5={};return _0x4f2a6c&&_0x4f2a6c[_0x246b73(0x127)]&&(_0x4bf4a5[_0x246b73(0x138)]={}),_0x4f2a6c&&_0x4f2a6c[_0x246b73(0x13b)]&&(_0x4bf4a5[_0x246b73(0x13c)]={}),_0x4bf4a5;}[_0x4899c5(0x136)](){const _0x1b21bd=_0x4899c5;this[_0x1b21bd(0x13a)](!this[_0x1b21bd(0x133)]);}[_0x4899c5(0x12f)](){const _0x4d2bf5=_0x4899c5;this[_0x4d2bf5(0x12a)](!this[_0x4d2bf5(0x13f)]);}[_0x4899c5(0x13a)](_0x24c678){const _0x35bcdd=_0x4899c5;_0x24c678!==this[_0x35bcdd(0x133)]&&(this[_0x35bcdd(0x133)]=_0x24c678,this[_0x35bcdd(0x130)](_0x35bcdd(0x139),this[_0x35bcdd(0x129)]()));}[_0x4899c5(0x12a)](_0x1a8b5d){const _0x16af5e=_0x4899c5;_0x1a8b5d!==this[_0x16af5e(0x13f)]&&(this[_0x16af5e(0x13f)]=_0x1a8b5d,this[_0x16af5e(0x130)](_0x16af5e(0x139),this[_0x16af5e(0x129)]()));}}
23
+ function _0xe879(_0x2781b2,_0x58aa01){const _0x275b29=_0x275b();return _0xe879=function(_0xe879bc,_0x1aceb0){_0xe879bc=_0xe879bc-0xd3;let _0x50553c=_0x275b29[_0xe879bc];return _0x50553c;},_0xe879(_0x2781b2,_0x58aa01);}const _0x426adb=_0xe879;(function(_0x4577c3,_0x1a1f9b){const _0x101beb=_0xe879,_0x2ed346=_0x4577c3();while(!![]){try{const _0x46bee2=parseInt(_0x101beb(0xde))/0x1*(-parseInt(_0x101beb(0xe6))/0x2)+parseInt(_0x101beb(0xd3))/0x3*(-parseInt(_0x101beb(0xec))/0x4)+parseInt(_0x101beb(0xe1))/0x5*(parseInt(_0x101beb(0xd4))/0x6)+parseInt(_0x101beb(0xdb))/0x7+parseInt(_0x101beb(0xe8))/0x8*(-parseInt(_0x101beb(0xea))/0x9)+-parseInt(_0x101beb(0xd7))/0xa+-parseInt(_0x101beb(0xe7))/0xb*(-parseInt(_0x101beb(0xd5))/0xc);if(_0x46bee2===_0x1a1f9b)break;else _0x2ed346['push'](_0x2ed346['shift']());}catch(_0x5ca1cd){_0x2ed346['push'](_0x2ed346['shift']());}}}(_0x275b,0x84a09));import{EmitterMixin as _0x4a7c8a}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x426adb(0xe9)];function _0x275b(){const _0x4c9c9e=['_isWebSearchEnabled','2403642uaTVYU','1068WjztcH','22692696QFKQnq','setWebSearch','8816430Cvzvly','setReasoning','fire','toggleWebSearch','6189456JkisHs','reasoning','webSearch','113kZCHzM','getCapabilitiesConfig','init','15635oCCvUz','isWebSearchEnabled','_isReasoningEnabled','getCapabilitiesRequestData','reset','17684XZjktR','11upkCju','6992AnQOJw','capabilitiesUpdated','1098JUSepo','toggleReasoning','4PWClMw','isReasoningEnabled'];_0x275b=function(){return _0x4c9c9e;};return _0x275b();}export class AICapabilities extends _0x4a7c8a(){[_0x426adb(0xee)];[_0x426adb(0xe3)];constructor(){const _0x3aab3d=_0x426adb;super(),this[_0x3aab3d(0xee)]=!0x1,this[_0x3aab3d(0xe3)]=!0x1;}[_0x426adb(0xe0)](){const _0x181678=_0x426adb;this[_0x181678(0xe5)]();}[_0x426adb(0xe5)](){const _0x5e28d7=_0x426adb;this[_0x5e28d7(0xd6)](!0x1),this[_0x5e28d7(0xd8)](!0x1);}[_0x426adb(0xdf)](){const _0x33aeed=_0x426adb;return{'isWebSearchEnabled':this[_0x33aeed(0xee)],'isReasoningEnabled':this[_0x33aeed(0xe3)]};}static[_0x426adb(0xe4)](_0x3de93d){const _0x251ee5=_0x426adb,_0x4f2594={};return _0x3de93d&&_0x3de93d[_0x251ee5(0xe2)]&&(_0x4f2594[_0x251ee5(0xdd)]={}),_0x3de93d&&_0x3de93d[_0x251ee5(0xed)]&&(_0x4f2594[_0x251ee5(0xdc)]={}),_0x4f2594;}[_0x426adb(0xda)](){const _0x29a6e8=_0x426adb;this[_0x29a6e8(0xd6)](!this[_0x29a6e8(0xee)]);}[_0x426adb(0xeb)](){const _0xadf8a7=_0x426adb;this[_0xadf8a7(0xd8)](!this[_0xadf8a7(0xe3)]);}[_0x426adb(0xd6)](_0x193e14){const _0x238c19=_0x426adb;_0x193e14!==this[_0x238c19(0xee)]&&(this[_0x238c19(0xee)]=_0x193e14,this[_0x238c19(0xd9)](_0x238c19(0xe9),this[_0x238c19(0xdf)]()));}[_0x426adb(0xd8)](_0x52d6a7){const _0x3723fe=_0x426adb;_0x52d6a7!==this[_0x3723fe(0xe3)]&&(this[_0x3723fe(0xe3)]=_0x52d6a7,this[_0x3723fe(0xd9)](_0x3723fe(0xe9),this[_0x3723fe(0xdf)]()));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x42005f,_0x50bf8f){var _0x4495cf=_0x40b8,_0x4781d8=_0x42005f();while(!![]){try{var _0x7c5ff4=-parseInt(_0x4495cf(0x19a))/0x1+-parseInt(_0x4495cf(0x191))/0x2+-parseInt(_0x4495cf(0x18e))/0x3*(-parseInt(_0x4495cf(0x195))/0x4)+-parseInt(_0x4495cf(0x1a0))/0x5+-parseInt(_0x4495cf(0x19b))/0x6*(parseInt(_0x4495cf(0x197))/0x7)+parseInt(_0x4495cf(0x193))/0x8+parseInt(_0x4495cf(0x19c))/0x9*(parseInt(_0x4495cf(0x18c))/0xa);if(_0x7c5ff4===_0x50bf8f)break;else _0x4781d8['push'](_0x4781d8['shift']());}catch(_0x1d60cd){_0x4781d8['push'](_0x4781d8['shift']());}}}(_0x404d,0xd3061));function _0x404d(){var _0x110add=['1163430YUnCTZ','markdown','TEXT','text','890OstWYs','file','737805GKfYoL','FILE','SELECTION','2893372PapjrM','DOCUMENT','12491632hIFlSE','html','4mSNswl','document','10753883hFsPvs','URL','HTML','1236665nwoigZ','6AfIgaW','354870DRSSQt','selection','web-resource','MARKDOWN'];_0x404d=function(){return _0x110add;};return _0x404d();}export var AIContextItemType;function _0x40b8(_0x4ae628,_0x23e311){var _0x404dd4=_0x404d();return _0x40b8=function(_0x40b8fd,_0x59df49){_0x40b8fd=_0x40b8fd-0x189;var _0x3db834=_0x404dd4[_0x40b8fd];return _0x3db834;},_0x40b8(_0x4ae628,_0x23e311);}!function(_0x355ace){var _0x7ad6b7=_0x40b8;_0x355ace[_0x7ad6b7(0x18f)]=_0x7ad6b7(0x18d),_0x355ace[_0x7ad6b7(0x192)]=_0x7ad6b7(0x196),_0x355ace[_0x7ad6b7(0x198)]=_0x7ad6b7(0x19e),_0x355ace[_0x7ad6b7(0x18a)]=_0x7ad6b7(0x18b),_0x355ace[_0x7ad6b7(0x190)]=_0x7ad6b7(0x19d);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;!function(_0x516eff){var _0x3dc292=_0x40b8;_0x516eff[_0x3dc292(0x18a)]=_0x3dc292(0x18b),_0x516eff[_0x3dc292(0x19f)]=_0x3dc292(0x189),_0x516eff[_0x3dc292(0x199)]=_0x3dc292(0x194);}(AIContextTextResourceType||(AIContextTextResourceType={}));
23
+ (function(_0x152c45,_0x37e6fb){var _0x5d4db1=_0x3c7e,_0x57ab6d=_0x152c45();while(!![]){try{var _0x1ce045=parseInt(_0x5d4db1(0x1cd))/0x1*(-parseInt(_0x5d4db1(0x1c2))/0x2)+parseInt(_0x5d4db1(0x1cf))/0x3+parseInt(_0x5d4db1(0x1d3))/0x4*(-parseInt(_0x5d4db1(0x1cc))/0x5)+-parseInt(_0x5d4db1(0x1c3))/0x6*(-parseInt(_0x5d4db1(0x1bd))/0x7)+-parseInt(_0x5d4db1(0x1c5))/0x8*(-parseInt(_0x5d4db1(0x1cb))/0x9)+-parseInt(_0x5d4db1(0x1d2))/0xa+-parseInt(_0x5d4db1(0x1c7))/0xb*(-parseInt(_0x5d4db1(0x1ce))/0xc);if(_0x1ce045===_0x37e6fb)break;else _0x57ab6d['push'](_0x57ab6d['shift']());}catch(_0x28515b){_0x57ab6d['push'](_0x57ab6d['shift']());}}}(_0x4f45,0x9aacb));function _0x3c7e(_0x34b96d,_0x14c49a){var _0x4f451a=_0x4f45();return _0x3c7e=function(_0x3c7e87,_0x1bc20d){_0x3c7e87=_0x3c7e87-0x1ba;var _0x1bef73=_0x4f451a[_0x3c7e87];return _0x1bef73;},_0x3c7e(_0x34b96d,_0x14c49a);}export var AIContextItemType;function _0x4f45(){var _0x541ede=['2537944WjXFBS','SELECTION','5588YCemlm','markdown','URL','TEXT','9QvcNyz','2580cVnqOB','285031ieYctj','22452jLFJkR','2494005PvHiZR','file','selection','2459220zwNChR','2984VQdjiS','document','html','FILE','7PLKtNf','text','HTML','DOCUMENT','MARKDOWN','8UGkUgR','1832898Qqdtjk','web-resource'];_0x4f45=function(){return _0x541ede;};return _0x4f45();}!function(_0x4cd8c7){var _0x48dba0=_0x3c7e;_0x4cd8c7[_0x48dba0(0x1bc)]=_0x48dba0(0x1d0),_0x4cd8c7[_0x48dba0(0x1c0)]=_0x48dba0(0x1ba),_0x4cd8c7[_0x48dba0(0x1c9)]=_0x48dba0(0x1c4),_0x4cd8c7[_0x48dba0(0x1ca)]=_0x48dba0(0x1be),_0x4cd8c7[_0x48dba0(0x1c6)]=_0x48dba0(0x1d1);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;!function(_0x7a86c9){var _0x21fadf=_0x3c7e;_0x7a86c9[_0x21fadf(0x1ca)]=_0x21fadf(0x1be),_0x7a86c9[_0x21fadf(0x1c1)]=_0x21fadf(0x1c8),_0x7a86c9[_0x21fadf(0x1bf)]=_0x21fadf(0x1bb);}(AIContextTextResourceType||(AIContextTextResourceType={}));