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

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 _0x32f32e=_0x30a5;function _0x30a5(_0x223b29,_0x436bbf){const _0x5d0ebf=_0x5d0e();return _0x30a5=function(_0x30a53d,_0x3ce7da){_0x30a53d=_0x30a53d-0x117;let _0x40de36=_0x5d0ebf[_0x30a53d];return _0x40de36;},_0x30a5(_0x223b29,_0x436bbf);}(function(_0x2dfca9,_0x18b4af){const _0xbf911e=_0x30a5,_0x3905d7=_0x2dfca9();while(!![]){try{const _0xcf8e9e=parseInt(_0xbf911e(0x11d))/0x1+-parseInt(_0xbf911e(0x135))/0x2+-parseInt(_0xbf911e(0x124))/0x3*(parseInt(_0xbf911e(0x131))/0x4)+parseInt(_0xbf911e(0x12a))/0x5*(-parseInt(_0xbf911e(0x120))/0x6)+-parseInt(_0xbf911e(0x129))/0x7*(parseInt(_0xbf911e(0x12b))/0x8)+parseInt(_0xbf911e(0x133))/0x9+parseInt(_0xbf911e(0x11f))/0xa;if(_0xcf8e9e===_0x18b4af)break;else _0x3905d7['push'](_0x3905d7['shift']());}catch(_0x4a31fe){_0x3905d7['push'](_0x3905d7['shift']());}}}(_0x5d0e,0xa2052));import{ListItemView as _0x348241,View as _0x566b1d,ListView as _0x193cbf}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x348241{[_0x32f32e(0x136)];[_0x32f32e(0x118)];[_0x32f32e(0x11a)];constructor(_0x20a960,{title:_0x475967,items:_0x4309f2}){const _0x2ba67b=_0x32f32e;super(_0x20a960);const _0x538bd6=this[_0x2ba67b(0x132)];this[_0x2ba67b(0x12e)](_0x2ba67b(0x12c),!0x0),this[_0x2ba67b(0x136)]=_0x475967,this[_0x2ba67b(0x118)]=_0x4309f2;const _0x421d26=new _0x566b1d(_0x20a960);_0x421d26[_0x2ba67b(0x123)]({'tag':_0x2ba67b(0x11c),'attributes':{'class':[_0x2ba67b(0x12d)]},'children':[this[_0x2ba67b(0x136)]]}),this[_0x2ba67b(0x11a)]=new _0x193cbf(_0x20a960),this[_0x2ba67b(0x11a)][_0x2ba67b(0x127)][_0x2ba67b(0x12f)](this[_0x2ba67b(0x118)]),this[_0x2ba67b(0x123)]({'tag':'li','attributes':{'class':[_0x2ba67b(0x11e),_0x538bd6['if'](_0x2ba67b(0x12c),_0x2ba67b(0x119),_0x34d423=>!_0x34d423)]},'children':[_0x421d26,this[_0x2ba67b(0x11a)]]});}[_0x32f32e(0x122)](_0x554af9){const _0x3be5ec=_0x32f32e,_0x4d9e59=this[_0x3be5ec(0x118)][_0x3be5ec(0x126)];let _0x518ec0=0x0;for(const _0x1110d2 of this[_0x3be5ec(0x118)]){if(_0x554af9){const _0x1bf714=_0x1110d2[_0x3be5ec(0x130)](_0x554af9);_0x1110d2[_0x3be5ec(0x12c)]=!!_0x1bf714,_0x1110d2[_0x3be5ec(0x128)](_0x554af9);}else _0x1110d2[_0x3be5ec(0x12c)]=!0x0,_0x1110d2[_0x3be5ec(0x128)](null);_0x1110d2[_0x3be5ec(0x12c)]&&_0x518ec0++;}return this[_0x3be5ec(0x12c)]=_0x518ec0>0x0,{'resultsCount':_0x518ec0,'totalItemsCount':_0x4d9e59};}[_0x32f32e(0x11b)](_0x1d8e7b){const _0x1f2a5a=_0x32f32e;return this[_0x1f2a5a(0x118)][_0x1f2a5a(0x117)](_0x1d555c=>_0x1d555c['id']===_0x1d8e7b);}[_0x32f32e(0x125)](_0xe3792d){const _0x367ac8=_0x32f32e,_0x2368cd=this[_0x367ac8(0x118)][_0x367ac8(0x134)](_0xe3792d);-0x1!==_0x2368cd&&(this[_0x367ac8(0x118)][_0x367ac8(0x121)](_0x2368cd,0x1),this[_0x367ac8(0x11a)][_0x367ac8(0x127)][_0x367ac8(0x137)](_0xe3792d));}}function _0x5d0e(){const _0x228a68=['5718627gUyTGX','indexOf','783042Ddjtqb','title','remove','find','itemsViews','ck-hidden','_itemsListView','getItem','div','869588ldrsyA','ck-ai-chat-history__section','7481200tjXWRv','12TCVwil','splice','filter','setTemplate','3Ydkoys','removeItem','length','items','highlightText','6972cCxCAg','645085XWihdm','5480WMbjcD','isVisible','ck-ai-chat-history__section-title','set','addMany','isMatching','1030648RMxDSp','bindTemplate'];_0x5d0e=function(){return _0x228a68;};return _0x5d0e();}
@@ -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 _0x554cc1=_0x3a88;(function(_0x297c1a,_0x54363e){const _0xd9c3ff=_0x3a88,_0x1755ac=_0x297c1a();while(!![]){try{const _0x5c034f=parseInt(_0xd9c3ff(0xa5))/0x1*(parseInt(_0xd9c3ff(0xb2))/0x2)+parseInt(_0xd9c3ff(0xa1))/0x3*(-parseInt(_0xd9c3ff(0xf1))/0x4)+-parseInt(_0xd9c3ff(0xb0))/0x5+parseInt(_0xd9c3ff(0xf4))/0x6+parseInt(_0xd9c3ff(0xe9))/0x7*(-parseInt(_0xd9c3ff(0xf7))/0x8)+-parseInt(_0xd9c3ff(0xa3))/0x9*(-parseInt(_0xd9c3ff(0xbe))/0xa)+parseInt(_0xd9c3ff(0xf6))/0xb;if(_0x5c034f===_0x54363e)break;else _0x1755ac['push'](_0x1755ac['shift']());}catch(_0x272211){_0x1755ac['push'](_0x1755ac['shift']());}}}(_0x41fa,0xe7629));import{View as _0x54811b,SearchTextView as _0x594483,FormHeaderView as _0x2054e5,ButtonView as _0x11e64a}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x53dc01,IconCancel as _0x4f6f59,IconPlus as _0x11777a}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x489a09}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x350d88}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x56e362}from'./aichathistorylistitemview.js';function _0x41fa(){const _0x5c4644=['searchView','56402VMCkRL','delegate','isMainErrorViewVisible','_createSkeletonView','queryView','execute','_createEmptyStateView','length','_createErrorView','removeHistoryItem','isMaximized','updateLoadingState','20EiduwC','fire','bind','itemsViews','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','updateTitle','ck-ai-chat-history__content','_createSearchView','sections','locale','remove','element','ck-ai-notification_error','skeletonView','items','removeItem','indexOf','ck-ai-notification_error__dismiss-button','ck-ai-chat__start-conversation','div','title','updateItemTitle','AI_CHAT_HISTORY_SEARCH_LABEL','_refreshSearch','mainErrorView','search','splice','some','isSearchViewVisible','fieldView','ltr','updateHistoryItemsWithCategories','ck-ai-chat-history__empty','change:isLoading','isEmptyViewVisible','getItem','ck-ai-chat-history__empty-message','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','set','hasItems','extendTemplate','ck-ai-header\x20ck-ai-header_history','ck-hidden','3455312cSwqiO','emptyView','sectionsView','add','aiHistory','_updateViewVisibility','isVisible','bindTemplate','8Mgvbab','render','errorMessage','7208226rcDTsv','updateItemLoadingState','4131402dVOdOc','8SzhjkL','value','isLoading','AI_CHAT_HISTORY_HEADING','ck-rounded-corners','change:hasItems','ck-ai-chat-history','addMany','1695612jbsdQz','ck-ai-notification','7362198iUOGgD','_createListItemViews','35GVIpej','ck-reset_all','AI_CHAT_LABEL_NEW_CHAT','AI_CHAT_HISTORY_EMPTY_MESSAGE','openChat','resizeButton','children','setTemplate','change:errorMessage','push','clear','8141275qgOOBt'];_0x41fa=function(){return _0x5c4644;};return _0x41fa();}import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x377a16}from'../aichathistoryui.js';import{AISkeletonView as _0x132e79,SKELETON_DEFINITIONS as _0x222163}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x123693}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x49513d}from'../../aicore/utils/common-translations.js';function _0x3a88(_0x1d13f9,_0x5b4044){const _0x41fac6=_0x41fa();return _0x3a88=function(_0x3a880a,_0x49be3c){_0x3a880a=_0x3a880a-0x9d;let _0x5337ec=_0x41fac6[_0x3a880a];return _0x5337ec;},_0x3a88(_0x1d13f9,_0x5b4044);}export class AIChatHistoryView extends _0x54811b{[_0x554cc1(0xb1)];[_0x554cc1(0xd6)];[_0x554cc1(0xcb)];[_0x554cc1(0xea)];[_0x554cc1(0xeb)];[_0x554cc1(0xaa)];constructor(_0x499149,_0x2bf47b){const _0x20bbc5=_0x554cc1;super(_0x499149),this[_0x20bbc5(0xe4)](_0x20bbc5(0xe5),!0x1),this[_0x20bbc5(0xe4)](_0x20bbc5(0xf9),!0x0),this[_0x20bbc5(0xe4)](_0x20bbc5(0xf3),''),this[_0x20bbc5(0xe4)](_0x20bbc5(0xbc),!0x1),this[_0x20bbc5(0xe4)](_0x20bbc5(0xda),!0x1),this[_0x20bbc5(0xe4)](_0x20bbc5(0xe0),!0x1),this[_0x20bbc5(0xe4)](_0x20bbc5(0xb4),!0x1);const _0x35b6ed=new _0x2054e5(_0x499149,{'label':_0x49513d(_0x499149,_0x20bbc5(0xfa)),'icon':_0x53dc01,'class':_0x20bbc5(0xe7)});_0x2bf47b&&(this[_0x20bbc5(0xaa)]=_0x123693(_0x499149,this),_0x35b6ed[_0x20bbc5(0xab)][_0x20bbc5(0xec)](this[_0x20bbc5(0xaa)])),this[_0x20bbc5(0xeb)]=new _0x489a09(_0x499149,[]),this[_0x20bbc5(0xeb)][_0x20bbc5(0xb3)](..._0x377a16)['to'](this),this[_0x20bbc5(0xd6)]=this[_0x20bbc5(0xba)](),this[_0x20bbc5(0xcb)]=this[_0x20bbc5(0xb5)](),this[_0x20bbc5(0xea)]=this[_0x20bbc5(0xb8)](),this[_0x20bbc5(0xb1)]=this[_0x20bbc5(0xc5)](),this[_0x20bbc5(0xd6)][_0x20bbc5(0xe6)]({'attributes':{'class':[this[_0x20bbc5(0xf0)]['if'](_0x20bbc5(0xb4),_0x20bbc5(0xe8),_0x1dd89b=>!_0x1dd89b)]}}),this['on'](_0x20bbc5(0xdf),()=>this[_0x20bbc5(0xee)]()),this['on'](_0x20bbc5(0x9e),()=>this[_0x20bbc5(0xee)]()),this['on'](_0x20bbc5(0xad),()=>this[_0x20bbc5(0xee)]()),this[_0x20bbc5(0xac)]({'tag':_0x20bbc5(0xd1),'attributes':{'class':['ck',_0x20bbc5(0xa6),_0x20bbc5(0x9f),_0x20bbc5(0x9d)],'dir':_0x20bbc5(0xdc)},'children':[_0x35b6ed,{'tag':_0x20bbc5(0xd1),'attributes':{'class':[_0x20bbc5(0xc4)]},'children':[this[_0x20bbc5(0xcb)],this[_0x20bbc5(0xd6)],this[_0x20bbc5(0xea)],this[_0x20bbc5(0xb1)]]}]});}[_0x554cc1(0xee)](){const _0x5a5c2b=_0x554cc1;this[_0x5a5c2b(0xda)]=!this[_0x5a5c2b(0xf9)]&&this[_0x5a5c2b(0xe5)],this[_0x5a5c2b(0xe0)]=!this[_0x5a5c2b(0xf9)]&&!this[_0x5a5c2b(0xe5)]&&!this[_0x5a5c2b(0xf3)],this[_0x5a5c2b(0xb4)]=!this[_0x5a5c2b(0xda)]&&!!this[_0x5a5c2b(0xf3)];}[_0x554cc1(0xc5)](){const _0x5e7793=_0x554cc1,_0x3714ef=new _0x594483(this[_0x5e7793(0xc7)],{'filteredView':this[_0x5e7793(0xeb)],'queryView':{'label':_0x49513d(this[_0x5e7793(0xc7)],_0x5e7793(0xd4))},'infoView':{'text':{'notFound':{'primary':_0x5e88c6=>_0x49513d(this[_0x5e7793(0xc7)],_0x5e7793(0xe3),_0x5e88c6),'secondary':_0x49513d(this[_0x5e7793(0xc7)],_0x5e7793(0xc2))}}}}),_0x25aac1=this[_0x5e7793(0xba)]();return _0x25aac1[_0x5e7793(0xe6)]({'attributes':{'class':[this[_0x5e7793(0xf0)]['if'](_0x5e7793(0xf3),_0x5e7793(0xe8),_0x1dc583=>!_0x1dc583)]}}),_0x3714ef['on'](_0x5e7793(0xf2),()=>{const _0x58ff81=_0x5e7793;_0x3714ef[_0x58ff81(0xab)][_0x58ff81(0xec)](_0x25aac1,0x1);}),_0x3714ef[_0x5e7793(0xe6)]({'attributes':{'class':[this[_0x5e7793(0xf0)]['if'](_0x5e7793(0xda),_0x5e7793(0xe8),_0x4f3fff=>!_0x4f3fff)]}}),_0x3714ef;}[_0x554cc1(0xb5)](){const _0x559a8e=_0x554cc1,_0x12b0e1=new _0x132e79(this[_0x559a8e(0xc7)],_0x222163[_0x559a8e(0xed)]);return _0x12b0e1[_0x559a8e(0xe6)]({'attributes':{'class':[this[_0x559a8e(0xf0)]['if'](_0x559a8e(0xf9),_0x559a8e(0xe8),_0x280df0=>!_0x280df0)]}}),_0x12b0e1;}[_0x554cc1(0xba)](){const _0x563e94=_0x554cc1,_0x549f8f=new _0x54811b(this[_0x563e94(0xc7)]),_0x396227=new _0x11e64a(this[_0x563e94(0xc7)]);_0x396227[_0x563e94(0xe4)]({'withText':!0x1,'icon':_0x4f6f59,'class':_0x563e94(0xcf)}),_0x396227[_0x563e94(0xc0)](_0x563e94(0xef))['to'](this,_0x563e94(0xe5),_0x5588e2=>!!_0x5588e2),_0x396227['on'](_0x563e94(0xb7),()=>{const _0x55121e=_0x563e94;this[_0x55121e(0xf3)]='';});const _0x1b4aa0=this[_0x563e94(0xf0)];return _0x549f8f[_0x563e94(0xac)]({'tag':_0x563e94(0xd1),'attributes':{'class':['ck',_0x563e94(0xa2),_0x563e94(0xca)]},'children':[{'tag':'p','children':[{'text':_0x1b4aa0['to'](_0x563e94(0xf3))}]},_0x396227]}),_0x549f8f;}[_0x554cc1(0xb8)](){const _0x42dc66=_0x554cc1,_0x38eb6e=new _0x11e64a(this[_0x42dc66(0xc7)]);_0x38eb6e[_0x42dc66(0xe4)]({'label':_0x49513d(this[_0x42dc66(0xc7)],_0x42dc66(0xa7)),'withText':!0x0,'icon':_0x11777a,'class':_0x42dc66(0xd0)}),_0x38eb6e['on'](_0x42dc66(0xb7),()=>{const _0xf27d49=_0x42dc66;this[_0xf27d49(0xbf)](_0xf27d49(0xa9));});const _0x3d1bb8=new _0x54811b(this[_0x42dc66(0xc7)]);return _0x3d1bb8[_0x42dc66(0xac)]({'tag':_0x42dc66(0xd1),'attributes':{'class':[_0x42dc66(0xde),this[_0x42dc66(0xf0)]['if'](_0x42dc66(0xe0),_0x42dc66(0xe8),_0x2a6184=>!_0x2a6184)]},'children':[{'tag':'p','attributes':{'class':[_0x42dc66(0xe2)]},'children':[_0x49513d(this[_0x42dc66(0xc7)],_0x42dc66(0xa8))]},_0x38eb6e]}),_0x3d1bb8;}[_0x554cc1(0xa4)](_0x19f574,_0x2e2878){const _0x2b4b1e=_0x554cc1,_0x57c499=[];for(const _0x34389e of _0x19f574){const _0x18d1cf=new _0x56e362(_0x2e2878,_0x34389e);_0x18d1cf[_0x2b4b1e(0xb3)](..._0x377a16)['to'](this),_0x57c499[_0x2b4b1e(0xae)](_0x18d1cf);}return _0x57c499;}[_0x554cc1(0xdd)](_0x3c67dc){const _0x7def6e=_0x554cc1,_0x48e3d4=this[_0x7def6e(0xc7)]||'en',_0x1b174d=[];for(const _0x2e0e23 of _0x3c67dc){const _0x5473ee=this[_0x7def6e(0xa4)](_0x2e0e23[_0x7def6e(0xcc)],_0x48e3d4);_0x1b174d[_0x7def6e(0xae)](new _0x350d88(_0x48e3d4,{'title':_0x2e0e23[_0x7def6e(0xd2)],'items':_0x5473ee}));}this[_0x7def6e(0xeb)][_0x7def6e(0xc6)]=_0x1b174d,this[_0x7def6e(0xeb)][_0x7def6e(0xcc)][_0x7def6e(0xaf)](),this[_0x7def6e(0xeb)][_0x7def6e(0xcc)][_0x7def6e(0xa0)](_0x1b174d),this[_0x7def6e(0xe5)]=_0x3c67dc[_0x7def6e(0xd9)](_0x1e8f31=>_0x1e8f31[_0x7def6e(0xcc)][_0x7def6e(0xb9)]>0x0),this[_0x7def6e(0xd5)]();}[_0x554cc1(0xbb)](_0x257279){const _0x3fc359=_0x554cc1;for(const _0x5cea60 of this[_0x3fc359(0xeb)][_0x3fc359(0xc6)]){const _0x278bca=_0x5cea60[_0x3fc359(0xe1)](_0x257279);if(_0x278bca){if(_0x5cea60[_0x3fc359(0xcd)](_0x278bca),0x0===_0x5cea60[_0x3fc359(0xc1)][_0x3fc359(0xb9)]){const _0x37a3c6=this[_0x3fc359(0xeb)][_0x3fc359(0xc6)][_0x3fc359(0xce)](_0x5cea60);-0x1!==_0x37a3c6&&(this[_0x3fc359(0xeb)][_0x3fc359(0xc6)][_0x3fc359(0xd8)](_0x37a3c6,0x1),this[_0x3fc359(0xeb)][_0x3fc359(0xcc)][_0x3fc359(0xc8)](_0x5cea60));}this[_0x3fc359(0xe5)]=this[_0x3fc359(0xeb)][_0x3fc359(0xc6)][_0x3fc359(0xb9)]>0x0,this[_0x3fc359(0xd5)]();break;}}}[_0x554cc1(0xd3)](_0x5ab841,_0x202773){const _0x51d1fe=_0x554cc1;for(const _0x13f3b3 of this[_0x51d1fe(0xeb)][_0x51d1fe(0xc6)]){const _0x1ed997=_0x13f3b3[_0x51d1fe(0xe1)](_0x5ab841);if(_0x1ed997){_0x1ed997[_0x51d1fe(0xc3)](_0x202773);break;}}}[_0x554cc1(0xf5)](_0x285e62,_0x221b83,_0x1aa383){const _0x5ee07e=_0x554cc1;for(const _0x2b6112 of this[_0x5ee07e(0xeb)][_0x5ee07e(0xc6)]){const _0x44a879=_0x2b6112[_0x5ee07e(0xe1)](_0x285e62);if(_0x44a879){_0x44a879[_0x5ee07e(0xbd)](_0x221b83,_0x1aa383);break;}}}[_0x554cc1(0xd5)](){const _0x127999=_0x554cc1;if(this[_0x127999(0xe5)]){const _0x385069=this[_0x127999(0xb1)][_0x127999(0xb6)][_0x127999(0xdb)]?.[_0x127999(0xc9)]?.[_0x127999(0xf8)]||'';this[_0x127999(0xb1)][_0x127999(0xd7)](_0x385069);}}}
@@ -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 _0x999e19=_0x45ba;function _0x45ba(_0x3e97b6,_0x507613){const _0x52cde1=_0x52cd();return _0x45ba=function(_0x45ba8b,_0xc44e02){_0x45ba8b=_0x45ba8b-0x15c;let _0x90f30a=_0x52cde1[_0x45ba8b];return _0x90f30a;},_0x45ba(_0x3e97b6,_0x507613);}(function(_0x257783,_0x16dc3a){const _0x2d269e=_0x45ba,_0x49e34d=_0x257783();while(!![]){try{const _0x550d3d=parseInt(_0x2d269e(0x19d))/0x1*(-parseInt(_0x2d269e(0x1d6))/0x2)+-parseInt(_0x2d269e(0x1b7))/0x3*(parseInt(_0x2d269e(0x1b8))/0x4)+-parseInt(_0x2d269e(0x15e))/0x5*(parseInt(_0x2d269e(0x164))/0x6)+-parseInt(_0x2d269e(0x1a5))/0x7*(-parseInt(_0x2d269e(0x19c))/0x8)+parseInt(_0x2d269e(0x1ef))/0x9*(parseInt(_0x2d269e(0x1b4))/0xa)+parseInt(_0x2d269e(0x199))/0xb*(-parseInt(_0x2d269e(0x178))/0xc)+parseInt(_0x2d269e(0x1bb))/0xd;if(_0x550d3d===_0x16dc3a)break;else _0x49e34d['push'](_0x49e34d['shift']());}catch(_0x3cc14c){_0x49e34d['push'](_0x49e34d['shift']());}}}(_0x52cd,0x79d02));import{createParser as _0x42e2dc}from'eventsource-parser';import{ContextPlugin as _0x267803}from'ckeditor5/src/core.js';import{CKEditorError as _0x13c841}from'ckeditor5/src/utils.js';function _0x52cd(){const _0x195e44=['data','9PQWAAg','value','getReader','fetchConversation','155gzhfyD','make-longer','upsertCustomAIReviewRating','releaseLock','fetchConversationMessages','uploadDocument','107334GRhFdM','DELETE','attributes','context','make-tone-formal','init','CloudServices','status','Bearer\x20','read','append','MAKE_TONE_CASUAL','feed','make-shorter','https://ai.cke-cs.com/v1','_decoder','limit','MAKE_TONE_FORMAL','fetchDocument','ai-request-aborted','85920FVVkeZ','text','group','isOfficialPlugin','plugins','/files','uploadUrl','deleteWebResource','AbortError','json','PUT','/reviews/system/','then','/actions/system/','config','MAKE_SHORTER','get','catch','ai-request-failed','parse','fetchConversations','FIX_GRAMMAR','/web-resources','CONTINUE','toString','stringify','decode','deleteConversation','queryAssistant','define','executeAction','/calls','Content-Type','638xXVYCo','pluginName','100','2457944cnEvhf','44FiovOH','positiveCount','token','GET','/web-resources/','message','/models/1?','/ratings','7EPniCm','upsertAIReviewRating','requires','/conversations?','deleteFile','/conversations','upsertAIActionRating','true','/messages/','excludeEmpty','PATCH','POST','fix-grammar','updateConversation','keys','5308690TQUham','body','MAKE_LONGER','3iJPAdD','3898292chTmHT','language','abortController','24446630rTCdTz','file','/reviews/custom/calls/','_handleError','request','upsertAIChatRating','startConversation','/conversations/','/documents/','code','continue','traceId','items','deleteDocument','AIConnector','callSystemReview','_getStreamReader','name','upsertCustomAIActionRating','executeCustomAction','TRANSLATE','signal','push','/files/','reset','_sendApiRequest','statusText','12512tMORQU','_apiUrl','ai.serviceUrl','modificationId','getModels','_token','/reviews/custom/calls','IMPROVE_WRITING','make-tone-casual','/documents','totalCount','uploadFile','/actions/custom/calls/','ai-missing-token','application/json','isPremiumPlugin','callCustomReview','/actions/custom/calls','search','translate','/messages','/calls/','length','improve-writing'];_0x52cd=function(){return _0x195e44;};return _0x52cd();}export var AIActionsNames;!function(_0x1507c1){const _0x4344eb=_0x45ba;_0x1507c1[_0x4344eb(0x18f)]=_0x4344eb(0x1c5),_0x1507c1[_0x4344eb(0x18d)]=_0x4344eb(0x1b1),_0x1507c1[_0x4344eb(0x1dd)]=_0x4344eb(0x1ed),_0x1507c1[_0x4344eb(0x1b6)]=_0x4344eb(0x15f),_0x1507c1[_0x4344eb(0x187)]=_0x4344eb(0x171),_0x1507c1[_0x4344eb(0x16f)]=_0x4344eb(0x1de),_0x1507c1[_0x4344eb(0x175)]=_0x4344eb(0x168),_0x1507c1[_0x4344eb(0x1cf)]=_0x4344eb(0x1e9);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x267803{[_0x999e19(0x1d7)];[_0x999e19(0x1db)];[_0x999e19(0x173)];static get[_0x999e19(0x1a7)](){const _0x40a448=_0x999e19;return[_0x40a448(0x16a)];}static get[_0x999e19(0x19a)](){const _0x3cb61d=_0x999e19;return _0x3cb61d(0x1c9);}static get[_0x999e19(0x17b)](){return!0x0;}static get[_0x999e19(0x1e5)](){return!0x0;}constructor(_0x526c1c){const _0x404b2f=_0x999e19;super(_0x526c1c),this[_0x404b2f(0x167)][_0x404b2f(0x186)][_0x404b2f(0x195)](_0x404b2f(0x1d8),_0x404b2f(0x172)),this[_0x404b2f(0x1d7)]=this[_0x404b2f(0x167)][_0x404b2f(0x186)][_0x404b2f(0x188)](_0x404b2f(0x1d8)),this[_0x404b2f(0x1db)]=null,this[_0x404b2f(0x173)]=new TextDecoder();}[_0x999e19(0x169)](){const _0x358109=_0x999e19,_0x4d58c5=this[_0x358109(0x167)][_0x358109(0x17c)][_0x358109(0x188)](_0x358109(0x16a));if(!_0x4d58c5[_0x358109(0x19f)])throw new _0x13c841(_0x358109(0x1e3),this);this[_0x358109(0x1db)]=_0x4d58c5[_0x358109(0x19f)];}[_0x999e19(0x1c1)](_0x4a8935,_0x39e632){const _0x2f33b3=_0x999e19,_0x1d624f=this[_0x2f33b3(0x1d4)](_0x2f33b3(0x1aa),_0x2f33b3(0x1b0),{'id':_0x4a8935,'group':_0x39e632});return{'getConversation':async()=>(await _0x1d624f[_0x2f33b3(0x1bf)])[_0x2f33b3(0x181)](),'abortController':_0x1d624f[_0x2f33b3(0x1ba)]};}[_0x999e19(0x194)]({message:_0xaae7a9,conversationId:_0x133b9e,parts:_0x1d69a9,capabilities:_0x34073c,model:_0x374672,quickActionData:_0x5904f9}){const _0x482af1=_0x999e19,_0x484560={..._0x5904f9&&{'quickActionData':_0x5904f9}},_0x394cb1={'prompt':_0xaae7a9,'content':_0x1d69a9,'model':_0x374672,..._0x34073c&&{'capabilities':_0x34073c},...Object[_0x482af1(0x1b3)](_0x484560)[_0x482af1(0x1ec)]>0x0&&{'attributes':_0x484560}},_0x4338e9=this[_0x482af1(0x1d4)](_0x482af1(0x1c2)+_0x133b9e+_0x482af1(0x1ea),_0x482af1(0x1b0),_0x394cb1);return{'getStream':async()=>{const _0x342ec1=_0x482af1,_0x270e3e=(await _0x4338e9[_0x342ec1(0x1bf)])[_0x342ec1(0x1b5)];return this[_0x342ec1(0x1cb)](_0x270e3e);},'abortController':_0x4338e9[_0x482af1(0x1ba)]};}[_0x999e19(0x1ce)]({content:_0x27d8b4,message:_0x3787e5,model:_0xd25eb1,outputFormat:_0x412f79}){const _0x2539c7=_0x999e19,_0x491d4d={'content':[{'type':_0x2539c7(0x179),'content':_0x27d8b4}],'prompt':_0x3787e5,'model':_0xd25eb1,'outputFormat':_0x412f79},_0x5a1f32=this[_0x2539c7(0x1d4)](_0x2539c7(0x1e7),_0x2539c7(0x1b0),_0x491d4d);return{'getStream':async()=>{const _0x4984f8=_0x2539c7,_0x907cb6=(await _0x5a1f32[_0x4984f8(0x1bf)])[_0x4984f8(0x1b5)];return this[_0x4984f8(0x1cb)](_0x907cb6);},'abortController':_0x5a1f32[_0x2539c7(0x1ba)]};}[_0x999e19(0x196)]({actionName:_0x5cce86,content:_0xce160f,args:_0x5e1aa2}){const _0x1d87d8=_0x999e19,_0x58828a={'content':[{'type':_0x1d87d8(0x179),'content':_0xce160f}],'args':_0x5e1aa2},_0x55d986=this[_0x1d87d8(0x1d4)](_0x1d87d8(0x185)+_0x5cce86+_0x1d87d8(0x197),_0x1d87d8(0x1b0),_0x58828a);return{'getStream':async()=>{const _0x97627c=_0x1d87d8,_0x5d628e=(await _0x55d986[_0x97627c(0x1bf)])[_0x97627c(0x1b5)];return this[_0x97627c(0x1cb)](_0x5d628e);},'abortController':_0x55d986[_0x1d87d8(0x1ba)]};}[_0x999e19(0x1e1)](_0x1345f1,_0x1089fe,_0xac7901){const _0x709ed1=_0x999e19,_0x8efb47=new FormData();_0x8efb47[_0x709ed1(0x16e)](_0x709ed1(0x1bc),_0x1089fe,_0x1089fe[_0x709ed1(0x1cc)]),_0xac7901&&_0x8efb47[_0x709ed1(0x16e)](_0x709ed1(0x166),JSON[_0x709ed1(0x191)](_0xac7901));const _0x387fac=this[_0x709ed1(0x1d4)](_0x709ed1(0x1c2)+_0x1345f1+_0x709ed1(0x17d),_0x709ed1(0x1b0),_0x8efb47);return{'getId':async()=>(await _0x387fac[_0x709ed1(0x1bf)])[_0x709ed1(0x181)](),'abortController':_0x387fac[_0x709ed1(0x1ba)]};}[_0x999e19(0x176)](_0x3e4eee,_0x2ec3c6){const _0x5ebcca=_0x999e19,_0x1de204=this[_0x5ebcca(0x1d4)](_0x5ebcca(0x1c2)+_0x3e4eee+_0x5ebcca(0x1c3)+_0x2ec3c6,_0x5ebcca(0x1a0));return{'getDocument':async()=>(await _0x1de204[_0x5ebcca(0x1bf)])[_0x5ebcca(0x181)](),'abortController':_0x1de204[_0x5ebcca(0x1ba)]};}[_0x999e19(0x163)](_0xa20387,_0x5c3e59,_0x3e51ba){const _0x578de7=_0x999e19,_0x1f15dc={'content':_0x5c3e59};_0x3e51ba&&(_0x1f15dc[_0x578de7(0x166)]=_0x3e51ba);const _0x9ea131=this[_0x578de7(0x1d4)](_0x578de7(0x1c2)+_0xa20387+_0x578de7(0x1df),_0x578de7(0x1b0),_0x1f15dc);return{'getId':async()=>(await _0x9ea131[_0x578de7(0x1bf)])[_0x578de7(0x181)](),'abortController':_0x9ea131[_0x578de7(0x1ba)]};}[_0x999e19(0x18c)](_0x3c48b4,_0x1da85c){const _0x404355=_0x999e19,_0x1a2942=new URLSearchParams();_0x1a2942[_0x404355(0x16e)](_0x404355(0x1ae),_0x404355(0x1ac)),_0x1a2942[_0x404355(0x16e)](_0x404355(0x174),_0x404355(0x19b)),_0x1a2942[_0x404355(0x16e)](_0x404355(0x17a),_0x3c48b4),_0x1da85c&&_0x1a2942[_0x404355(0x16e)](_0x404355(0x1e8),_0x1da85c);const _0x42495c=this[_0x404355(0x1d4)](_0x404355(0x1a8)+_0x1a2942[_0x404355(0x190)](),_0x404355(0x1a0));return{'getConversations':async()=>{const _0x28096c=_0x404355,_0x39b727=await _0x42495c[_0x28096c(0x1bf)];return(await _0x39b727[_0x28096c(0x181)]())[_0x28096c(0x1c7)];},'abortController':_0x42495c[_0x404355(0x1ba)]};}[_0x999e19(0x193)](_0xdca692){const _0x45d2c3=_0x999e19,_0x18f2ee=this[_0x45d2c3(0x1d4)](_0x45d2c3(0x1c2)+_0xdca692,_0x45d2c3(0x165));return{'execute':async()=>{const _0x29b535=_0x45d2c3;await _0x18f2ee[_0x29b535(0x1bf)];},'abortController':_0x18f2ee[_0x45d2c3(0x1ba)]};}[_0x999e19(0x1b2)](_0xec11a3,_0x4ff0c2){const _0x4aebd4=_0x999e19,_0x19908c=this[_0x4aebd4(0x1d4)](_0x4aebd4(0x1c2)+_0xec11a3,_0x4aebd4(0x1af),_0x4ff0c2);return{'getResult':async()=>(await _0x19908c[_0x4aebd4(0x1bf)],_0x4ff0c2),'abortController':_0x19908c[_0x4aebd4(0x1ba)]};}[_0x999e19(0x15d)](_0x43763b){const _0x587b98=_0x999e19,_0x16b3c4=this[_0x587b98(0x1d4)](_0x587b98(0x1c2)+_0x43763b,_0x587b98(0x1a0));return{'getConversation':async()=>(await _0x16b3c4[_0x587b98(0x1bf)])[_0x587b98(0x181)](),'abortController':_0x16b3c4[_0x587b98(0x1ba)]};}[_0x999e19(0x162)](_0x5538ef){const _0x5bfcb4=_0x999e19,_0x35b416=this[_0x5bfcb4(0x1d4)](_0x5bfcb4(0x1c2)+_0x5538ef+_0x5bfcb4(0x1ea),_0x5bfcb4(0x1a0));return{'getMessages':async()=>{const _0x43a775=_0x5bfcb4,_0x1969f1=await _0x35b416[_0x43a775(0x1bf)];return(await _0x1969f1[_0x43a775(0x181)]())[_0x43a775(0x1c7)];},'abortController':_0x35b416[_0x5bfcb4(0x1ba)]};}[_0x999e19(0x17e)](_0x2932fb,_0x2e35f8,_0x18638a){const _0x397e6a=_0x999e19,_0x5cfef5=this[_0x397e6a(0x1d4)](_0x397e6a(0x1c2)+_0x2932fb+_0x397e6a(0x18e),_0x397e6a(0x1b0),{'url':_0x2e35f8,'attributes':_0x18638a});return{'getId':async()=>(await _0x5cfef5[_0x397e6a(0x1bf)])[_0x397e6a(0x181)](),'abortController':_0x5cfef5[_0x397e6a(0x1ba)]};}[_0x999e19(0x1da)](_0x37a4a2='en'){const _0x4f764f=_0x999e19,_0x1cae19=new URLSearchParams();_0x1cae19[_0x4f764f(0x16e)](_0x4f764f(0x1b9),_0x37a4a2);const _0x461940=_0x4f764f(0x1a3)+_0x1cae19[_0x4f764f(0x190)](),_0x4d3e41=this[_0x4f764f(0x1d4)](_0x461940,_0x4f764f(0x1a0));return{'list':async()=>await(await _0x4d3e41[_0x4f764f(0x1bf)])[_0x4f764f(0x181)](),'abortController':_0x4d3e41[_0x4f764f(0x1ba)]};}[_0x999e19(0x1a9)](_0x19024d,_0x4cb4e2){const _0x23d999=_0x999e19,_0x2cf8ee=this[_0x23d999(0x1d4)](_0x23d999(0x1c2)+_0x19024d+_0x23d999(0x1d2)+_0x4cb4e2,_0x23d999(0x165));return{'execute':async()=>{const _0x578572=_0x23d999;await _0x2cf8ee[_0x578572(0x1bf)];},'abortController':_0x2cf8ee[_0x23d999(0x1ba)]};}[_0x999e19(0x1c8)](_0x5100c6,_0x9afb6d){const _0x5e0607=_0x999e19,_0x25219e=this[_0x5e0607(0x1d4)](_0x5e0607(0x1c2)+_0x5100c6+_0x5e0607(0x1c3)+_0x9afb6d,_0x5e0607(0x165));return{'execute':async()=>{const _0x1be8c2=_0x5e0607;await _0x25219e[_0x1be8c2(0x1bf)];},'abortController':_0x25219e[_0x5e0607(0x1ba)]};}[_0x999e19(0x17f)](_0x16858,_0x4b82e0){const _0x44fea=_0x999e19,_0x1c2875=this[_0x44fea(0x1d4)](_0x44fea(0x1c2)+_0x16858+_0x44fea(0x1a1)+_0x4b82e0,_0x44fea(0x165));return{'execute':async()=>{const _0x52472f=_0x44fea;await _0x1c2875[_0x52472f(0x1bf)];},'abortController':_0x1c2875[_0x44fea(0x1ba)]};}[_0x999e19(0x1ca)]({reviewName:_0x4da533,content:_0x5e26a5,args:_0x39dfcb}){const _0x1612c7=_0x999e19,_0x3c3674=this[_0x1612c7(0x1d4)](_0x1612c7(0x183)+_0x4da533+_0x1612c7(0x197),_0x1612c7(0x1b0),{'content':[{'type':_0x1612c7(0x179),'content':_0x5e26a5}],'args':_0x39dfcb});return{'getStream':async()=>{const _0x216410=_0x1612c7,_0x22fa5f=(await _0x3c3674[_0x216410(0x1bf)])[_0x216410(0x1b5)];return this[_0x216410(0x1cb)](_0x22fa5f);},'abortController':_0x3c3674[_0x1612c7(0x1ba)]};}[_0x999e19(0x1e6)]({content:_0x21bc01,prompt:_0x116dab,model:_0x1f4954}){const _0x4e5676=_0x999e19,_0x4b15e2=this[_0x4e5676(0x1d4)](_0x4e5676(0x1dc),_0x4e5676(0x1b0),{'content':[{'type':_0x4e5676(0x179),'content':_0x21bc01}],'prompt':_0x116dab,'model':_0x1f4954});return{'getStream':async()=>{const _0x1b5f1a=_0x4e5676,_0x4d97b8=(await _0x4b15e2[_0x1b5f1a(0x1bf)])[_0x1b5f1a(0x1b5)];return this[_0x1b5f1a(0x1cb)](_0x4d97b8);},'abortController':_0x4b15e2[_0x4e5676(0x1ba)]};}[_0x999e19(0x1c0)](_0xa48a06,_0x362375,_0x2b99f0){const _0x273f37=_0x999e19,_0x4ece05=this[_0x273f37(0x1d4)](_0x273f37(0x1c2)+_0xa48a06+_0x273f37(0x1ad)+_0x362375+_0x273f37(0x1a4),_0x273f37(0x182),{'positiveCount':_0x2b99f0[_0x273f37(0x19e)],'totalCount':_0x2b99f0[_0x273f37(0x1e0)],'modificationId':_0x2b99f0[_0x273f37(0x1d9)]});return{'execute':async()=>{const _0x5ef030=_0x273f37;await _0x4ece05[_0x5ef030(0x1bf)];},'abortController':_0x4ece05[_0x273f37(0x1ba)]};}[_0x999e19(0x1ab)](_0x3cd72e,_0x18f03f,_0x1f59d6){const _0x4a1b6f=_0x999e19,_0x50e197=this[_0x4a1b6f(0x1d4)](_0x4a1b6f(0x185)+_0x3cd72e+_0x4a1b6f(0x1eb)+_0x18f03f+_0x4a1b6f(0x1a4),_0x4a1b6f(0x182),{'positiveCount':_0x1f59d6[_0x4a1b6f(0x19e)],'totalCount':_0x1f59d6[_0x4a1b6f(0x1e0)]});return{'execute':async()=>{const _0x5f42c5=_0x4a1b6f;await _0x50e197[_0x5f42c5(0x1bf)];},'abortController':_0x50e197[_0x4a1b6f(0x1ba)]};}[_0x999e19(0x1cd)](_0x6dce0f,_0x5a60ec){const _0x498e2f=_0x999e19,_0x3406ae=this[_0x498e2f(0x1d4)](_0x498e2f(0x1e2)+_0x6dce0f+_0x498e2f(0x1a4),_0x498e2f(0x182),{'positiveCount':_0x5a60ec[_0x498e2f(0x19e)],'totalCount':_0x5a60ec[_0x498e2f(0x1e0)]});return{'execute':async()=>{const _0x3ff520=_0x498e2f;await _0x3406ae[_0x3ff520(0x1bf)];},'abortController':_0x3406ae[_0x498e2f(0x1ba)]};}[_0x999e19(0x1a6)](_0x2ce812,_0x1efe72,_0x369639,_0x5da46f){const _0x212197=_0x999e19,_0x319d30=this[_0x212197(0x1d4)](_0x212197(0x183)+_0x2ce812+_0x212197(0x1eb)+_0x1efe72+_0x212197(0x1a4),_0x212197(0x182),{'positiveCount':_0x369639[_0x212197(0x19e)],'totalCount':_0x369639[_0x212197(0x1e0)],'dataId':_0x5da46f});return{'execute':async()=>{const _0x51d011=_0x212197;await _0x319d30[_0x51d011(0x1bf)];},'abortController':_0x319d30[_0x212197(0x1ba)]};}[_0x999e19(0x160)](_0xeacabd,_0x35ea33,_0x3dd2f8){const _0x2bf5c1=_0x999e19,_0x54f489=this[_0x2bf5c1(0x1d4)](_0x2bf5c1(0x1bd)+_0xeacabd+_0x2bf5c1(0x1a4),_0x2bf5c1(0x182),{'positiveCount':_0x35ea33[_0x2bf5c1(0x19e)],'totalCount':_0x35ea33[_0x2bf5c1(0x1e0)],'dataId':_0x3dd2f8});return{'execute':async()=>{const _0x6be3b3=_0x2bf5c1;await _0x54f489[_0x6be3b3(0x1bf)];},'abortController':_0x54f489[_0x2bf5c1(0x1ba)]};}[_0x999e19(0x1d4)](_0x394025,_0x43ccd7,_0x5bc19d){const _0x20bb28=_0x999e19,_0xe8cc5=new AbortController(),_0x599cb3=_0x5bc19d instanceof FormData,_0x586e89={'Authorization':_0x20bb28(0x16c)+this[_0x20bb28(0x1db)]?.[_0x20bb28(0x1f0)]};_0x5bc19d&&!_0x599cb3&&(_0x586e89[_0x20bb28(0x198)]=_0x20bb28(0x1e4));const _0x32b2c3={'method':_0x43ccd7,'headers':_0x586e89,'signal':_0xe8cc5[_0x20bb28(0x1d0)]};return _0x5bc19d&&(_0x32b2c3[_0x20bb28(0x1b5)]=_0x599cb3?_0x5bc19d:JSON[_0x20bb28(0x191)](_0x5bc19d)),{'request':fetch(''+this[_0x20bb28(0x1d7)]+_0x394025,_0x32b2c3)[_0x20bb28(0x189)](_0xfdbd3a=>{const _0x3a60b7=_0x20bb28;this[_0x3a60b7(0x1be)](_0xfdbd3a);})[_0x20bb28(0x184)](_0xec1756=>_0xec1756['ok']?_0xec1756:_0xec1756[_0x20bb28(0x181)]()[_0x20bb28(0x184)](_0x44f358=>{const _0x527ab8=_0x20bb28;throw{'url':this[_0x527ab8(0x1d7)],'path':_0x394025,'method':_0x43ccd7,'body':_0x5bc19d,'status':(_0xec1756||{})[_0x527ab8(0x16b)],'statusText':(_0xec1756||{})[_0x527ab8(0x1d5)],'code':_0x44f358[_0x527ab8(0x1c4)],'message':_0x44f358[_0x527ab8(0x1a2)],'traceId':_0x44f358[_0x527ab8(0x1c6)]};})),'abortController':_0xe8cc5};}async*[_0x999e19(0x1cb)](_0x1ecf42){const _0x3761d0=_0x999e19,_0x14379a=[],_0x1b8e9f=_0x1ecf42[_0x3761d0(0x15c)](),_0x3ce99b=_0x42e2dc({'onError':_0x2ab245=>{const _0x103d05=_0x3761d0;this[_0x103d05(0x1be)](_0x2ab245);},'onEvent':_0x240ceb=>{const _0xca1376=_0x3761d0;_0x240ceb[_0xca1376(0x1ee)]=JSON[_0xca1376(0x18b)](_0x240ceb[_0xca1376(0x1ee)]),_0x14379a[_0xca1376(0x1d1)](_0x240ceb);}});try{let _0x100a88=!0x1;for(;!_0x100a88;){const {done:_0x102e4c,value:_0xdfc6a3}=await _0x1b8e9f[_0x3761d0(0x16d)]();_0x102e4c&&(_0x100a88=!0x0),_0x3ce99b[_0x3761d0(0x170)](this[_0x3761d0(0x173)][_0x3761d0(0x192)](_0xdfc6a3,{'stream':!0x0})),yield*_0x14379a,_0x14379a[_0x3761d0(0x1ec)]=0x0;}}catch(_0x43f139){this[_0x3761d0(0x1be)](_0x43f139);}finally{_0x1b8e9f[_0x3761d0(0x161)](),_0x3ce99b[_0x3761d0(0x1d3)]();}}[_0x999e19(0x1be)](_0x10068b){const _0x1ecfcf=_0x999e19;if(_0x10068b instanceof _0x13c841)throw _0x10068b;if(_0x10068b instanceof Error&&_0x1ecfcf(0x180)===_0x10068b[_0x1ecfcf(0x1cc)])throw new _0x13c841(_0x1ecfcf(0x177),this,{'originalError':_0x10068b});throw new _0x13c841(_0x1ecfcf(0x18a),this,{'originalError':_0x10068b});}}
@@ -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 _0x2ebb94=_0x359d;(function(_0x5c35c3,_0x3d88bd){const _0x4778df=_0x359d,_0x29ee0f=_0x5c35c3();while(!![]){try{const _0x29c55d=parseInt(_0x4778df(0x89))/0x1*(-parseInt(_0x4778df(0xc0))/0x2)+-parseInt(_0x4778df(0x9a))/0x3*(-parseInt(_0x4778df(0xdd))/0x4)+parseInt(_0x4778df(0xce))/0x5+parseInt(_0x4778df(0xb6))/0x6+parseInt(_0x4778df(0xc8))/0x7*(-parseInt(_0x4778df(0xa0))/0x8)+parseInt(_0x4778df(0xcb))/0x9*(-parseInt(_0x4778df(0xc1))/0xa)+-parseInt(_0x4778df(0x80))/0xb;if(_0x29c55d===_0x3d88bd)break;else _0x29ee0f['push'](_0x29ee0f['shift']());}catch(_0x19a0b7){_0x29ee0f['push'](_0x29ee0f['shift']());}}}(_0xb1fc,0xdccee));import{ViewDowncastWriter as _0x2ec56f}from'ckeditor5/src/engine.js';import{ContextPlugin as _0xed08e0,Editor as _0x4e292f}from'ckeditor5/src/core.js';import{uid as _0x56212e}from'ckeditor5/src/utils.js';function _0x359d(_0xef9f59,_0x43b2cc){const _0xb1fc65=_0xb1fc();return _0x359d=function(_0x359d5c,_0x3d7d33){_0x359d5c=_0x359d5c-0x77;let _0x50688=_0xb1fc65[_0x359d5c];return _0x50688;},_0x359d(_0xef9f59,_0x43b2cc);}import{getEditorFromContext as _0x3ad0a5}from'./utils/geteditorfromcontext.js';function _0xb1fc(){const _0xfcd257=['427838uLAPQC','100PgTSEM','hideFakeVisualSelection','markerName','floor','markers','getRoot','createRange','3634351Hevcsr','_getMarkersInDocumentOrder','markerToHighlight','269406rJBCkN','editors','isContent','929365lhjVMe','processor','push','ai-selection','_displayedFakeSelectionId','editingDowncast','afterInit','from','isBefore',':start>','modelToViewWithIds','RealTimeCollaborationClient','ai-selection:','getWalker','isAfter','5235452LMJhYu','editing','removeAllRanges',':end>','_integrateEditor','model',':end></','createRangeIn','fromCharCode','getMarkersGroup','createUIElement','conversion','emptyElement','479468aVdWEq','element','end','document','isOfficialPlugin','getStart','listenTo','dataDowncast','pluginName','1GFwswq','view','getSelection','join','length','sort','removeMarker','toView','has','sessionId','getDocumentData','substring','selection','isPremiumPlugin','$textProxy','trim','data','3YtLjwA','change','isAtEnd','getLastMatchingPosition','getChildren',':start></','24FZCJDJ','schema','setAttribute','context','getSelectionText','version','get','add','_setDataIdsOnChildren','_sessionId','indexOf','showFakeVisualSelection','start','data-id','for','convertAiChatSelectionMarker','random','ready','isOpening','_nextDataId','getSelectedContent','name','9144720QkZNvS','containerElement','addMarker','_displayedFakeSelectionLocked','AIEditing','ck-fake-ai-selection','toData','ck-ai-assistant-ui_theme','plugins','markerToElement'];_0xb1fc=function(){return _0xfcd257;};return _0xb1fc();}export const AI_VISUAL_SELECTION_MARKER_NAME=_0x2ebb94(0xd1);export class AIEditing extends _0xed08e0{[_0x2ebb94(0xd2)]=null;[_0x2ebb94(0xb9)]=!0x1;[_0x2ebb94(0xa9)];static get[_0x2ebb94(0x88)](){const _0x2de4ed=_0x2ebb94;return _0x2de4ed(0xba);}static get[_0x2ebb94(0x84)](){return!0x0;}static get[_0x2ebb94(0x96)](){return!0x0;}get[_0x2ebb94(0x92)](){const _0x3d24b9=_0x2ebb94;if(!this[_0x3d24b9(0xa9)]){const _0x1ee097=_0x3ad0a5(this[_0x3d24b9(0xa3)]),_0x13ee2a=_0x1ee097[_0x3d24b9(0xbe)][_0x3d24b9(0x91)](_0x3d24b9(0xd9))&&_0x1ee097[_0x3d24b9(0xbe)][_0x3d24b9(0xa6)](_0x3d24b9(0xd9))[_0x3d24b9(0x92)];this[_0x3d24b9(0xa9)]=_0x13ee2a||_0x56212e();}return this[_0x3d24b9(0xa9)];}[_0x2ebb94(0x93)](){const _0x2cd9fb=_0x2ebb94,_0x189de2=_0x3ad0a5(this[_0x2cd9fb(0xa3)]),_0x5ac6f0=_0x189de2[_0x2cd9fb(0x78)],_0x3dfc7d=_0x189de2[_0x2cd9fb(0x99)][_0x2cd9fb(0x90)](_0x5ac6f0[_0x2cd9fb(0x83)][_0x2cd9fb(0xc6)](),{'convertAiChatSelectionMarker':!0x0}),_0x5a2462=new _0x2ec56f(_0x189de2[_0x2cd9fb(0xde)][_0x2cd9fb(0x8a)][_0x2cd9fb(0x83)]);this[_0x2cd9fb(0xa8)](_0x3dfc7d,_0x5a2462);let _0x4c8a11=_0x189de2[_0x2cd9fb(0x99)][_0x2cd9fb(0xcf)][_0x2cd9fb(0xbc)](_0x3dfc7d);const _0x870bed=this[_0x2cd9fb(0xc9)](),_0x5628da=[];for(const _0x4b5c0d of _0x870bed){const _0x1c9baf='<'+_0x4b5c0d[_0x2cd9fb(0xb5)]+_0x2cd9fb(0x9f)+_0x4b5c0d[_0x2cd9fb(0xb5)]+_0x2cd9fb(0xd7),_0x8dc159=_0x4c8a11[_0x2cd9fb(0xaa)](_0x1c9baf);_0x4c8a11=_0x4c8a11[_0x2cd9fb(0x94)](0x0,_0x8dc159)+_0x4c8a11[_0x2cd9fb(0x94)](_0x8dc159+_0x1c9baf[_0x2cd9fb(0x8d)]);const _0x152a84='<'+_0x4b5c0d[_0x2cd9fb(0xb5)]+_0x2cd9fb(0x79)+_0x4b5c0d[_0x2cd9fb(0xb5)]+_0x2cd9fb(0xe0),_0x28c77d=_0x4c8a11[_0x2cd9fb(0xaa)](_0x152a84);_0x4c8a11=_0x4c8a11[_0x2cd9fb(0x94)](0x0,_0x28c77d)+_0x4c8a11[_0x2cd9fb(0x94)](_0x28c77d+_0x152a84[_0x2cd9fb(0x8d)]),_0x5628da[_0x2cd9fb(0xd0)]({'markerName':_0x4b5c0d[_0x2cd9fb(0xb5)],'start':_0x8dc159,'end':_0x28c77d,'htmlFragment':_0x4c8a11[_0x2cd9fb(0x94)](_0x8dc159,_0x28c77d)});}return{'content':_0x4c8a11,'version':_0x189de2[_0x2cd9fb(0x78)][_0x2cd9fb(0x83)][_0x2cd9fb(0xa5)],'sessionId':this[_0x2cd9fb(0x92)],'selections':_0x5628da};}async[_0x2ebb94(0xd4)](){const _0x215bd7=_0x2ebb94;this[_0x215bd7(0xa3)]instanceof _0x4e292f?this[_0x215bd7(0x77)](this[_0x215bd7(0xa3)]):this[_0x215bd7(0x86)](this[_0x215bd7(0xa3)][_0x215bd7(0xcc)],_0x215bd7(0xa7),(_0x4d4835,_0x597313)=>{const _0x11ecbd=_0x215bd7;_0x597313['on'](_0x11ecbd(0xb1),()=>{const _0x29cce6=_0x11ecbd;this[_0x29cce6(0x77)](_0x597313);});});}[_0x2ebb94(0x77)](_0x347755){const _0x2f6311=_0x2ebb94;_0x347755[_0x2f6311(0x7e)][_0x2f6311(0xae)](_0x2f6311(0xd3))[_0x2f6311(0xca)]({'model':_0x2f6311(0xd1),'view':{'classes':[_0x2f6311(0xbb),_0x2f6311(0xbd)],'priority':0xc}}),_0x347755[_0x2f6311(0x7e)][_0x2f6311(0xae)](_0x2f6311(0x87))[_0x2f6311(0xbf)]({'model':_0x2f6311(0xd1),'view':(_0x35e75c,{writer:_0x558ca5,options:_0x3e82f7})=>_0x3e82f7[_0x2f6311(0xaf)]?_0x558ca5[_0x2f6311(0x7d)](_0x35e75c[_0x2f6311(0xc3)]+':'+(_0x35e75c[_0x2f6311(0xb2)]?_0x2f6311(0xac):_0x2f6311(0x82))):null});}[_0x2ebb94(0xab)](_0x369762,_0xf88805,_0x5e8539=!0x1,_0x26840b=!0x1){const _0x3543e4=_0x2ebb94;if(this[_0x3543e4(0xb9)]&&!_0x26840b)return!0x1;const _0x10300d=_0x3ad0a5(this[_0x3543e4(0xa3)])[_0x3543e4(0x78)];return _0x10300d[_0x3543e4(0x9b)](_0x465517=>{const _0x262310=_0x3543e4;this[_0x262310(0xd2)]&&this[_0x262310(0xc2)](this[_0x262310(0xd2)]),this[_0x262310(0xd2)]=_0xf88805,this[_0x262310(0xb9)]=_0x5e8539;let _0x37b169=0x0;for(let _0x1c490d of _0x369762){const _0x4ba7f1=_0x262310(0xda)+_0x37b169;if(_0x1c490d[_0x262310(0xac)][_0x262310(0x9c)]){const _0x2e416f=_0x1c490d[_0x262310(0xac)][_0x262310(0x9d)](({item:_0x4a0754})=>!_0x10300d[_0x262310(0xa1)][_0x262310(0xcd)](_0x4a0754),{'boundaries':_0x1c490d});_0x1c490d=_0x465517[_0x262310(0xc7)](_0x2e416f,_0x1c490d[_0x262310(0x82)]);}_0x465517[_0x262310(0xb8)](_0x4ba7f1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c490d}),_0x37b169++;}}),window[_0x3543e4(0x8b)]()?.[_0x3543e4(0xdf)](),!0x0;}[_0x2ebb94(0xc2)](_0x2807d9){const _0x1816d4=_0x2ebb94;if(this[_0x1816d4(0xd2)]!=_0x2807d9)return!0x1;this[_0x1816d4(0xd2)]=null,this[_0x1816d4(0xb9)]=!0x1;const _0x28c166=_0x3ad0a5(this[_0x1816d4(0xa3)]),_0x44ee0b=_0x28c166[_0x1816d4(0x78)][_0x1816d4(0xc5)][_0x1816d4(0x7c)](_0x1816d4(0xd1));return _0x28c166[_0x1816d4(0x78)][_0x1816d4(0x9b)](_0x29b16b=>{const _0x190f95=_0x1816d4;for(const _0x25463d of _0x44ee0b)_0x29b16b[_0x190f95(0x8f)](_0x25463d);}),!0x0;}[_0x2ebb94(0xd8)](_0x3a08ed){const _0x32626e=_0x2ebb94,_0x244e5d=_0x3ad0a5(this[_0x32626e(0xa3)]),_0x519ac4=_0x244e5d[_0x32626e(0x99)][_0x32626e(0x90)](_0x3a08ed),_0x598dcc=new _0x2ec56f(_0x244e5d[_0x32626e(0xde)][_0x32626e(0x8a)][_0x32626e(0x83)]);return this[_0x32626e(0xa8)](_0x519ac4,_0x598dcc),_0x519ac4;}[_0x2ebb94(0xa8)](_0x581f29,_0x27188a){const _0x419eb8=_0x2ebb94;let _0x4c0dd6=!0x1;const _0x1a0b8e=new Set();for(const _0x14b6cd of _0x581f29[_0x419eb8(0x9e)]()){const _0x31e795=_0x14b6cd['is'](_0x419eb8(0x7f))||_0x14b6cd['is'](_0x419eb8(0xb7));if(!_0x14b6cd['is'](_0x419eb8(0x81)))continue;(this[_0x419eb8(0xa8)](_0x14b6cd,_0x27188a)||_0x31e795)&&(_0x27188a[_0x419eb8(0xa2)](_0x419eb8(0xad),this[_0x419eb8(0xb3)](_0x1a0b8e),_0x14b6cd),_0x4c0dd6=!0x0);}return _0x4c0dd6;}[_0x2ebb94(0xb3)](_0x58109c){const _0x36afcc=_0x2ebb94;let _0x151699;do{_0x151699='';for(let _0x158ec6=0x0;_0x158ec6<0x4;_0x158ec6++)_0x151699+=String[_0x36afcc(0x7b)](0x61+Math[_0x36afcc(0xc4)](0x1a*Math[_0x36afcc(0xb0)]()));}while(_0x58109c[_0x36afcc(0x91)](_0x151699));return _0x58109c[_0x36afcc(0xa7)](_0x151699),_0x151699;}[_0x2ebb94(0xa4)](){const _0x342924=_0x2ebb94,{model:_0x4e80cf}=_0x3ad0a5(this[_0x342924(0xa3)]),_0x4b7e37=_0x4e80cf[_0x342924(0x83)][_0x342924(0x95)],_0x3ed363=_0x4e80cf[_0x342924(0xb4)](_0x4b7e37),_0x5911c9=[],_0x23a574=_0x4e80cf[_0x342924(0x7a)](_0x3ed363)[_0x342924(0xdb)]();for(const {item:_0x4d78ea}of _0x23a574)_0x4d78ea['is'](_0x342924(0x97))?_0x5911c9[_0x342924(0xd0)](_0x4d78ea[_0x342924(0x99)]):_0x4d78ea['is'](_0x342924(0x81))&&_0x5911c9[_0x342924(0x8d)]>0x0&&'\x20'!==_0x5911c9[_0x5911c9[_0x342924(0x8d)]-0x1]&&_0x5911c9[_0x342924(0xd0)]('\x20');return'\x22'+_0x5911c9[_0x342924(0x8c)]('')[_0x342924(0x98)]()+'\x22';}[_0x2ebb94(0xc9)](){const _0x544072=_0x2ebb94,_0x157764=_0x3ad0a5(this[_0x544072(0xa3)])[_0x544072(0x78)];return Array[_0x544072(0xd5)](_0x157764[_0x544072(0xc5)][_0x544072(0x7c)](_0x544072(0xd1)))[_0x544072(0x8e)]((_0x2615a6,_0x100e3c)=>_0x2615a6[_0x544072(0x85)]()[_0x544072(0xd6)](_0x100e3c[_0x544072(0x85)]())?-0x1:_0x2615a6[_0x544072(0x85)]()[_0x544072(0xdc)](_0x100e3c[_0x544072(0x85)]())?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={}));