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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index.js +5 -5
  41. package/dist/translations/af.js +1 -1
  42. package/dist/translations/af.umd.js +1 -1
  43. package/dist/translations/ar.js +1 -1
  44. package/dist/translations/ar.umd.js +1 -1
  45. package/dist/translations/ast.js +1 -1
  46. package/dist/translations/ast.umd.js +1 -1
  47. package/dist/translations/az.js +1 -1
  48. package/dist/translations/az.umd.js +1 -1
  49. package/dist/translations/be.js +1 -1
  50. package/dist/translations/be.umd.js +1 -1
  51. package/dist/translations/bg.js +1 -1
  52. package/dist/translations/bg.umd.js +1 -1
  53. package/dist/translations/bn.js +1 -1
  54. package/dist/translations/bn.umd.js +1 -1
  55. package/dist/translations/bs.js +1 -1
  56. package/dist/translations/bs.umd.js +1 -1
  57. package/dist/translations/ca.js +1 -1
  58. package/dist/translations/ca.umd.js +1 -1
  59. package/dist/translations/cs.js +1 -1
  60. package/dist/translations/cs.umd.js +1 -1
  61. package/dist/translations/da.js +1 -1
  62. package/dist/translations/da.umd.js +1 -1
  63. package/dist/translations/de-ch.js +1 -1
  64. package/dist/translations/de-ch.umd.js +1 -1
  65. package/dist/translations/de.js +1 -1
  66. package/dist/translations/de.umd.js +1 -1
  67. package/dist/translations/el.js +1 -1
  68. package/dist/translations/el.umd.js +1 -1
  69. package/dist/translations/en-au.js +1 -1
  70. package/dist/translations/en-au.umd.js +1 -1
  71. package/dist/translations/en-gb.js +1 -1
  72. package/dist/translations/en-gb.umd.js +1 -1
  73. package/dist/translations/en.js +1 -1
  74. package/dist/translations/en.umd.js +1 -1
  75. package/dist/translations/eo.js +1 -1
  76. package/dist/translations/eo.umd.js +1 -1
  77. package/dist/translations/es-co.js +1 -1
  78. package/dist/translations/es-co.umd.js +1 -1
  79. package/dist/translations/es.js +1 -1
  80. package/dist/translations/es.umd.js +1 -1
  81. package/dist/translations/et.js +1 -1
  82. package/dist/translations/et.umd.js +1 -1
  83. package/dist/translations/eu.js +1 -1
  84. package/dist/translations/eu.umd.js +1 -1
  85. package/dist/translations/fa.js +1 -1
  86. package/dist/translations/fa.umd.js +1 -1
  87. package/dist/translations/fi.js +1 -1
  88. package/dist/translations/fi.umd.js +1 -1
  89. package/dist/translations/fr.js +1 -1
  90. package/dist/translations/fr.umd.js +1 -1
  91. package/dist/translations/gl.js +1 -1
  92. package/dist/translations/gl.umd.js +1 -1
  93. package/dist/translations/gu.js +1 -1
  94. package/dist/translations/gu.umd.js +1 -1
  95. package/dist/translations/he.js +1 -1
  96. package/dist/translations/he.umd.js +1 -1
  97. package/dist/translations/hi.js +1 -1
  98. package/dist/translations/hi.umd.js +1 -1
  99. package/dist/translations/hr.js +1 -1
  100. package/dist/translations/hr.umd.js +1 -1
  101. package/dist/translations/hu.js +1 -1
  102. package/dist/translations/hu.umd.js +1 -1
  103. package/dist/translations/hy.js +1 -1
  104. package/dist/translations/hy.umd.js +1 -1
  105. package/dist/translations/id.js +1 -1
  106. package/dist/translations/id.umd.js +1 -1
  107. package/dist/translations/it.js +1 -1
  108. package/dist/translations/it.umd.js +1 -1
  109. package/dist/translations/ja.js +1 -1
  110. package/dist/translations/ja.umd.js +1 -1
  111. package/dist/translations/jv.js +1 -1
  112. package/dist/translations/jv.umd.js +1 -1
  113. package/dist/translations/kk.js +1 -1
  114. package/dist/translations/kk.umd.js +1 -1
  115. package/dist/translations/km.js +1 -1
  116. package/dist/translations/km.umd.js +1 -1
  117. package/dist/translations/kn.js +1 -1
  118. package/dist/translations/kn.umd.js +1 -1
  119. package/dist/translations/ko.js +1 -1
  120. package/dist/translations/ko.umd.js +1 -1
  121. package/dist/translations/ku.js +1 -1
  122. package/dist/translations/ku.umd.js +1 -1
  123. package/dist/translations/lt.js +1 -1
  124. package/dist/translations/lt.umd.js +1 -1
  125. package/dist/translations/lv.js +1 -1
  126. package/dist/translations/lv.umd.js +1 -1
  127. package/dist/translations/ms.js +1 -1
  128. package/dist/translations/ms.umd.js +1 -1
  129. package/dist/translations/nb.js +1 -1
  130. package/dist/translations/nb.umd.js +1 -1
  131. package/dist/translations/ne.js +1 -1
  132. package/dist/translations/ne.umd.js +1 -1
  133. package/dist/translations/nl.js +1 -1
  134. package/dist/translations/nl.umd.js +1 -1
  135. package/dist/translations/no.js +1 -1
  136. package/dist/translations/no.umd.js +1 -1
  137. package/dist/translations/oc.js +1 -1
  138. package/dist/translations/oc.umd.js +1 -1
  139. package/dist/translations/pl.js +1 -1
  140. package/dist/translations/pl.umd.js +1 -1
  141. package/dist/translations/pt-br.js +1 -1
  142. package/dist/translations/pt-br.umd.js +1 -1
  143. package/dist/translations/pt.js +1 -1
  144. package/dist/translations/pt.umd.js +1 -1
  145. package/dist/translations/ro.js +1 -1
  146. package/dist/translations/ro.umd.js +1 -1
  147. package/dist/translations/ru.js +1 -1
  148. package/dist/translations/ru.umd.js +1 -1
  149. package/dist/translations/si.js +1 -1
  150. package/dist/translations/si.umd.js +1 -1
  151. package/dist/translations/sk.js +1 -1
  152. package/dist/translations/sk.umd.js +1 -1
  153. package/dist/translations/sl.js +1 -1
  154. package/dist/translations/sl.umd.js +1 -1
  155. package/dist/translations/sq.js +1 -1
  156. package/dist/translations/sq.umd.js +1 -1
  157. package/dist/translations/sr-latn.js +1 -1
  158. package/dist/translations/sr-latn.umd.js +1 -1
  159. package/dist/translations/sr.js +1 -1
  160. package/dist/translations/sr.umd.js +1 -1
  161. package/dist/translations/sv.js +1 -1
  162. package/dist/translations/sv.umd.js +1 -1
  163. package/dist/translations/th.js +1 -1
  164. package/dist/translations/th.umd.js +1 -1
  165. package/dist/translations/ti.js +1 -1
  166. package/dist/translations/ti.umd.js +1 -1
  167. package/dist/translations/tk.js +1 -1
  168. package/dist/translations/tk.umd.js +1 -1
  169. package/dist/translations/tr.js +1 -1
  170. package/dist/translations/tr.umd.js +1 -1
  171. package/dist/translations/tt.js +1 -1
  172. package/dist/translations/tt.umd.js +1 -1
  173. package/dist/translations/ug.js +1 -1
  174. package/dist/translations/ug.umd.js +1 -1
  175. package/dist/translations/uk.js +1 -1
  176. package/dist/translations/uk.umd.js +1 -1
  177. package/dist/translations/ur.js +1 -1
  178. package/dist/translations/ur.umd.js +1 -1
  179. package/dist/translations/uz.js +1 -1
  180. package/dist/translations/uz.umd.js +1 -1
  181. package/dist/translations/vi.js +1 -1
  182. package/dist/translations/vi.umd.js +1 -1
  183. package/dist/translations/zh-cn.js +1 -1
  184. package/dist/translations/zh-cn.umd.js +1 -1
  185. package/dist/translations/zh.js +1 -1
  186. package/dist/translations/zh.umd.js +1 -1
  187. package/lang/translations/ar.po +34 -34
  188. package/lang/translations/bg.po +26 -26
  189. package/lang/translations/bn.po +26 -26
  190. package/lang/translations/ca.po +26 -26
  191. package/lang/translations/cs.po +28 -28
  192. package/lang/translations/da.po +26 -26
  193. package/lang/translations/de.po +26 -26
  194. package/lang/translations/el.po +26 -26
  195. package/lang/translations/es.po +26 -26
  196. package/lang/translations/et.po +26 -26
  197. package/lang/translations/fi.po +26 -26
  198. package/lang/translations/fr.po +26 -26
  199. package/lang/translations/he.po +26 -26
  200. package/lang/translations/hi.po +26 -26
  201. package/lang/translations/hu.po +26 -26
  202. package/lang/translations/id.po +24 -24
  203. package/lang/translations/it.po +26 -26
  204. package/lang/translations/ja.po +24 -24
  205. package/lang/translations/ko.po +24 -24
  206. package/lang/translations/lt.po +28 -28
  207. package/lang/translations/lv.po +28 -28
  208. package/lang/translations/ms.po +24 -24
  209. package/lang/translations/nl.po +26 -26
  210. package/lang/translations/no.po +26 -26
  211. package/lang/translations/pl.po +28 -28
  212. package/lang/translations/pt-br.po +26 -26
  213. package/lang/translations/pt.po +26 -26
  214. package/lang/translations/ro.po +28 -28
  215. package/lang/translations/ru.po +28 -28
  216. package/lang/translations/sk.po +28 -28
  217. package/lang/translations/sr.po +28 -28
  218. package/lang/translations/sv.po +26 -26
  219. package/lang/translations/th.po +24 -24
  220. package/lang/translations/tr.po +26 -26
  221. package/lang/translations/uk.po +28 -28
  222. package/lang/translations/vi.po +24 -24
  223. package/lang/translations/zh-cn.po +24 -24
  224. package/lang/translations/zh.po +24 -24
  225. package/package.json +15 -15
  226. package/src/aiactions/aiactions.js +1 -1
  227. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  228. package/src/aiactions/model/aiactionsreply.js +1 -1
  229. package/src/aiassistant/adapters/aiadapter.js +1 -1
  230. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  231. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  232. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  233. package/src/aiassistant/aiassistant.js +1 -1
  234. package/src/aiassistant/aiassistantediting.js +1 -1
  235. package/src/aiassistant/aiassistantui.js +1 -1
  236. package/src/aiassistant/legacyerrors.js +1 -1
  237. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  238. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  239. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  240. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  241. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  242. package/src/aiassistant/ui/form/aiformview.js +1 -1
  243. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  244. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  245. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  246. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  247. package/src/aiassistant/utils/common-translations.js +1 -1
  248. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  249. package/src/aiballoon/aiballoon.js +1 -1
  250. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  251. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  252. package/src/aiballoon/ui/aiballoonview.js +1 -1
  253. package/src/aichat/aichat.js +1 -1
  254. package/src/aichat/aichatcontroller.js +1 -1
  255. package/src/aichat/aichatui.js +1 -1
  256. package/src/aichat/model/aichatcontext.js +1 -1
  257. package/src/aichat/model/aichatconversation.js +1 -1
  258. package/src/aichat/model/aichatinteraction.js +1 -1
  259. package/src/aichat/model/aichatmodels.js +1 -1
  260. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  261. package/src/aichat/ui/aichatfeedview.js +1 -1
  262. package/src/aichat/ui/aichatheaderview.js +1 -1
  263. package/src/aichat/ui/aichatview.js +1 -1
  264. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  265. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  266. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  267. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  268. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  269. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  270. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  272. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  273. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  274. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  275. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  277. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  278. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  279. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  280. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  285. package/src/aichat/utils/eventnames.js +1 -1
  286. package/src/aichat/utils/promisequeue.js +1 -1
  287. package/src/aichat/utils/scrollmanager.js +1 -1
  288. package/src/aichathistory/aichathistory.js +1 -1
  289. package/src/aichathistory/aichathistorycontroller.js +1 -1
  290. package/src/aichathistory/aichathistoryui.js +1 -1
  291. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  292. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  293. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  294. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  295. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  296. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  297. package/src/aicore/aiconnector.js +1 -1
  298. package/src/aicore/aiediting.js +1 -1
  299. package/src/aicore/model/aicapabilities.js +1 -1
  300. package/src/aicore/model/aicontext.js +1 -1
  301. package/src/aicore/model/aiinteraction.js +1 -1
  302. package/src/aicore/model/aimodels.js +1 -1
  303. package/src/aicore/model/aireply.js +1 -1
  304. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  305. package/src/aicore/pipeline/airesponseparser.js +2 -2
  306. package/src/aicore/ui/aidisclaimerview.js +1 -1
  307. package/src/aicore/ui/aiskeleton.js +1 -1
  308. package/src/aicore/ui/aispinner.js +1 -1
  309. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  310. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  311. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  312. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  314. package/src/aicore/utils/common-translations.js +1 -1
  315. package/src/aicore/utils/createresizebutton.js +1 -1
  316. package/src/aicore/utils/documentposition.js +1 -1
  317. package/src/aicore/utils/documentrange.js +1 -1
  318. package/src/aicore/utils/eventnames.js +1 -1
  319. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  320. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  321. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  322. package/src/aicore/utils/htmlparser.js +1 -1
  323. package/src/aicore/utils/htmlstreamer.js +1 -1
  324. package/src/aieditorintegration/aieditorintegration.js +1 -1
  325. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  326. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  327. package/src/aiquickactions/aiquickactions.js +1 -1
  328. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  329. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  330. package/src/aiquickactions/aiquickactionsui.js +1 -1
  331. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  332. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  333. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  334. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  335. package/src/aireviewmode/aireviewmode.js +1 -1
  336. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  337. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  338. package/src/aireviewmode/aireviewmodeui.js +1 -1
  339. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  340. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  341. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  342. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  343. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  344. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  345. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  346. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  347. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  348. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  349. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  350. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  351. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  352. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  353. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  354. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  355. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  356. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  357. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  358. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  359. package/src/aitabs/aitabs.js +1 -1
  360. package/src/aitabs/aitabsmainview.js +1 -1
  361. package/src/aitabs/tabs/aitabsview.js +1 -1
  362. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  363. package/src/aitabs/tabs/tabpanelview.js +1 -1
  364. package/src/errors.js +1 -1
  365. package/src/index.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x356d96=_0x3a4b;(function(_0xcb22b9,_0xd46268){const _0x35f9dc=_0x3a4b,_0x2c76a0=_0xcb22b9();while(!![]){try{const _0x49e60d=-parseInt(_0x35f9dc(0xb0))/0x1*(parseInt(_0x35f9dc(0xc4))/0x2)+-parseInt(_0x35f9dc(0xc7))/0x3*(parseInt(_0x35f9dc(0xe1))/0x4)+parseInt(_0x35f9dc(0xdb))/0x5*(parseInt(_0x35f9dc(0xaf))/0x6)+-parseInt(_0x35f9dc(0xc9))/0x7+parseInt(_0x35f9dc(0xd8))/0x8+-parseInt(_0x35f9dc(0xe0))/0x9+parseInt(_0x35f9dc(0xe4))/0xa;if(_0x49e60d===_0xd46268)break;else _0x2c76a0['push'](_0x2c76a0['shift']());}catch(_0x64b1f1){_0x2c76a0['push'](_0x2c76a0['shift']());}}}(_0x2bb5,0xc32de));import{ObservableMixin as _0x44d56c,uid as _0x50dfaf}from'ckeditor5/src/utils.js';function _0x2bb5(){const _0x929041=['_findFallbackReferenceNode','_findNextElementWithDataId','merge','_getNodeDataId','push','_generateUid','includes','length','147156QVEPcN','347gsUopd','nodeType','cloneNode','markUnstableElementsDepth','_hasWrappedParent','_storeDeletedElementIds','lastTouchedId','afterend','nextSibling','newIds','_getUid','_markLastTagElementUnstable','previousSibling','_markUnstableElements','has','trim','map','from','reverse','lastChild','3028fGwuSM','new-element','parentNode','2742QYXaKG','_insertNodes','3011057XndcjH','_isExistingContentComment','filter','_isDelNode','replaceRemovedWith','_touchedNodesState','splice','modifiedIds','forEach','match','_findReferenceNode','_isExistingNode','markUnstableElements','_existingDataIds','_isNewNode','8017680DaeqHU','data-unstable','data-id','65oXdkVj','childNodes','_findPrevElementWithDataId','data-removed','_replaceNode','2357964MqpzBs','2812OqcnDg','removedIds','invalidIds','13384530MrifDJ','indexOf','data-wrapped-id','cutAfterLastChange','beforebegin','slice','_removeSpecialComments','_markWrappedElements','true','afterbegin'];_0x2bb5=function(){return _0x929041;};return _0x2bb5();}function _0x3a4b(_0x17a1b0,_0x15fa54){const _0x2bb50c=_0x2bb5();return _0x3a4b=function(_0x3a4bbb,_0x49e010){_0x3a4bbb=_0x3a4bbb-0x9f;let _0x1b8724=_0x2bb50c[_0x3a4bbb];return _0x1b8724;},_0x3a4b(_0x17a1b0,_0x15fa54);}import{findAllByAttribute as _0x2139a3,findByAttribute as _0x395e19,getAttribute as _0x4d1d75,isComment as _0x316885,isTag as _0x2dc514,insertElement as _0x1ec3ab,moveElement as _0x6947f6,removeElement as _0x324d33,replaceElement as _0x7e2f09,serialize as _0x2e778c,setAttribute as _0x3bdc83,clone as _0x1fc270,findAllComments as _0xbd4943,getParents as _0x26633a,getNodeNestingLevel as _0x2ec1c6,areNodesSame as _0x1bc519,removeElementsAfter as _0x54fbc6}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x44d56c(){[_0x356d96(0xac)];[_0x356d96(0xce)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x356d96(0xd6)]=new Set();constructor(_0xc9e067){const _0x12d4bf=_0x356d96;super(),this[_0x12d4bf(0xac)]=_0xc9e067||_0x50dfaf;}[_0x356d96(0xa9)](_0x11a9f0,_0x44f7cf,_0x10b4bf){const _0x3caf4c=_0x356d96,_0x157db8=_0x1fc270(_0x11a9f0);if(0x0===_0x44f7cf[_0x3caf4c(0xdc)][_0x3caf4c(0xae)]){const _0x13dcd2=[];return _0x2139a3(_0x3caf4c(0xda),_0x3caf4c(0xc5),_0x157db8)[_0x3caf4c(0xd1)](_0x1a5b64=>{const _0x43e019=_0x3caf4c,_0x3bf4c3=this[_0x43e019(0xac)]();_0x3bdc83(_0x1a5b64,_0x43e019(0xda),_0x3bf4c3),_0x13dcd2[_0x43e019(0xab)](_0x3bf4c3);}),this[_0x3caf4c(0xa3)](_0x157db8),{'parsedContent':_0x157db8,'newNodeIds':_0x13dcd2,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x10b4bf&&_0x10b4bf[_0x3caf4c(0xd5)]&&this[_0x3caf4c(0xbb)](_0x157db8),this[_0x3caf4c(0xce)][_0x3caf4c(0xb9)]=[],this[_0x3caf4c(0xce)][_0x3caf4c(0xd0)]=[],this[_0x3caf4c(0xce)][_0x3caf4c(0xe2)]=[],this[_0x3caf4c(0xce)][_0x3caf4c(0xe3)]=[],this[_0x3caf4c(0xce)][_0x3caf4c(0xb6)]=null,this[_0x3caf4c(0xd6)]=new Set(_0x2139a3(_0x3caf4c(0xda),null,_0x44f7cf)[_0x3caf4c(0xc0)](_0x485ed6=>_0x4d1d75(_0x485ed6,_0x3caf4c(0xda)))[_0x3caf4c(0xcb)](_0x182d25=>!!_0x182d25));let _0x4c2757=-0x1,_0x486882=!0x1;const _0x141eda=_0x157db8[_0x3caf4c(0xdc)],_0x2e2b6e=Array[_0x3caf4c(0xc1)](_0x141eda)[_0x3caf4c(0xcb)](_0x4a2044=>!(0x3===_0x4a2044[_0x3caf4c(0xb1)]&&''===_0x2e778c(_0x4a2044)[_0x3caf4c(0xbf)]())),_0x448658=_0x2e2b6e[_0x3caf4c(0xae)];for(let _0x475d62=0x0;_0x475d62<_0x448658;_0x475d62++){const _0x1d8d39=_0x2e2b6e[_0x475d62],_0x5ae708=_0x2e2b6e[_0x475d62+0x1];if(this[_0x3caf4c(0xd7)](_0x1d8d39)){if(-0x1===_0x4c2757&&(_0x4c2757=_0x475d62),this[_0x3caf4c(0xa4)](_0x1d8d39),!this[_0x3caf4c(0xd7)](_0x5ae708)){const [_0x2e165e,_0x3433c6]=this[_0x3caf4c(0xd3)](_0x1d8d39,_0x486882,_0x44f7cf);if(_0x2e165e){const _0x11eb86=Array[_0x3caf4c(0xc1)](_0x2e2b6e)[_0x3caf4c(0xa2)](_0x4c2757,_0x475d62+0x1);this[_0x3caf4c(0xc8)](_0x2e165e,_0x11eb86,_0x3433c6),_0x4c2757=-0x1;}}}else{if(this[_0x3caf4c(0xca)](_0x1d8d39))_0x486882=!0x0;else{if(this[_0x3caf4c(0xd4)](_0x1d8d39)){const _0x2b5ee8=_0x4d1d75(_0x1d8d39,_0x3caf4c(0xda));if(_0x2b5ee8&&this[_0x3caf4c(0xd6)][_0x3caf4c(0xbe)](_0x2b5ee8)){const _0x23268e=_0x395e19(_0x3caf4c(0xda),_0x2b5ee8,_0x44f7cf);this[_0x3caf4c(0xdf)](_0x23268e,_0x1d8d39);}if(this[_0x3caf4c(0xce)][_0x3caf4c(0xe2)][_0x3caf4c(0xad)](_0x2b5ee8)){const _0x52364b=this[_0x3caf4c(0xce)][_0x3caf4c(0xe2)][_0x3caf4c(0xe5)](_0x2b5ee8);this[_0x3caf4c(0xce)][_0x3caf4c(0xe2)][_0x3caf4c(0xcf)](_0x52364b,0x1);}}else{if(this[_0x3caf4c(0xcc)](_0x1d8d39)){const _0x321117=_0x4d1d75(_0x1d8d39,_0x3caf4c(0xda));this[_0x3caf4c(0xce)][_0x3caf4c(0xd0)][_0x3caf4c(0xad)](_0x321117)||this[_0x3caf4c(0xb5)](_0x1d8d39);}}}}}for(const _0x463415 of this[_0x3caf4c(0xce)][_0x3caf4c(0xe2)]){const _0x4706cc=_0x395e19(_0x3caf4c(0xda),_0x463415,_0x44f7cf);if(_0x4706cc){if(_0x10b4bf&&_0x10b4bf[_0x3caf4c(0xcd)]){this[_0x3caf4c(0xce)][_0x3caf4c(0xb6)]=_0x463415;const _0x49f0de=_0x10b4bf[_0x3caf4c(0xcd)][_0x3caf4c(0xb2)](!0x0);_0x3bdc83(_0x49f0de,_0x3caf4c(0xda),_0x463415),_0x3bdc83(_0x49f0de,_0x3caf4c(0xde),_0x3caf4c(0xa5)),_0x7e2f09(_0x4706cc,_0x49f0de);}else _0x324d33(_0x4706cc);}}if(_0x2139a3(_0x3caf4c(0x9f),null,_0x44f7cf)[_0x3caf4c(0xd1)](_0x3f64de=>{const _0x233732=_0x3caf4c,_0xcef06b=_0x4d1d75(_0x3f64de,_0x233732(0x9f)),_0x1910d7=_0x395e19(_0x233732(0xda),_0xcef06b,_0x44f7cf);_0x1910d7&&_0x6947f6(_0x1910d7,_0x3f64de);}),_0x2139a3(_0x3caf4c(0xda),_0x3caf4c(0xc5),_0x44f7cf)[_0x3caf4c(0xd1)](_0x3d34d9=>{const _0x2a070a=_0x3caf4c,_0x38af4b=this[_0x2a070a(0xba)](_0x3d34d9);_0x3bdc83(_0x3d34d9,_0x2a070a(0xda),_0x38af4b),this[_0x2a070a(0xce)][_0x2a070a(0xb9)][_0x2a070a(0xab)](_0x38af4b);}),this[_0x3caf4c(0xa3)](_0x44f7cf),_0x10b4bf&&_0x10b4bf[_0x3caf4c(0xd5)]&&this[_0x3caf4c(0xbd)](_0x44f7cf,_0x10b4bf[_0x3caf4c(0xb3)]||0x0),_0x10b4bf&&_0x10b4bf[_0x3caf4c(0xa0)]&&this[_0x3caf4c(0xce)][_0x3caf4c(0xb6)]){let _0x19c6e8=_0x395e19(_0x3caf4c(0xda),this[_0x3caf4c(0xce)][_0x3caf4c(0xb6)],_0x44f7cf);for(;_0x19c6e8;)_0x54fbc6(_0x19c6e8),_0x19c6e8=_0x19c6e8[_0x3caf4c(0xc6)];}return{'parsedContent':_0x44f7cf,'newNodeIds':this[_0x3caf4c(0xce)][_0x3caf4c(0xb9)],'modifiedNodeIds':this[_0x3caf4c(0xce)][_0x3caf4c(0xd0)],'removedNodeIds':this[_0x3caf4c(0xce)][_0x3caf4c(0xe2)]};}[_0x356d96(0xc8)](_0x21d62b,_0x5ac299,_0x1348d5){const _0x1d46cb=_0x356d96;for(const _0x3d2eea of _0x5ac299){const _0x28e86f=this[_0x1d46cb(0xba)](_0x3d2eea);_0x3bdc83(_0x3d2eea,_0x1d46cb(0xda),_0x28e86f),this[_0x1d46cb(0xce)][_0x1d46cb(0xb9)][_0x1d46cb(0xab)](_0x28e86f),this[_0x1d46cb(0xce)][_0x1d46cb(0xb6)]=_0x28e86f;}const _0x7de979=_0x1d46cb(0xa6)===_0x1348d5||_0x1d46cb(0xb7)===_0x1348d5?_0x5ac299[_0x1d46cb(0xc2)]():_0x5ac299;for(const _0x572e08 of _0x7de979)_0x1ec3ab(_0x21d62b,_0x572e08,_0x1348d5);}[_0x356d96(0xdf)](_0x1e20b3,_0x118c1e){const _0x3462e3=_0x356d96;if(!_0x1e20b3)return;if(_0x1bc519(_0x1e20b3,_0x118c1e))return;const _0x530f47=this[_0x3462e3(0xba)](_0x1e20b3);_0x3bdc83(_0x118c1e,_0x3462e3(0xda),_0x530f47),this[_0x3462e3(0xce)][_0x3462e3(0xd0)][_0x3462e3(0xab)](_0x530f47),this[_0x3462e3(0xce)][_0x3462e3(0xb6)]=_0x530f47,_0x7e2f09(_0x1e20b3,_0x118c1e[_0x3462e3(0xb2)](!0x0));}[_0x356d96(0xd3)](_0x2d5e8f,_0x4733f4,_0x558f4d){const _0x1388ae=_0x356d96,_0x1f1f82=this[_0x1388ae(0xdd)](_0x2d5e8f,!0x1);if(_0x1f1f82){const _0x2177b9=this[_0x1388ae(0xaa)](_0x1f1f82),_0x36564c=_0x395e19(_0x1388ae(0xda),_0x2177b9,_0x558f4d);if(_0x36564c)return[_0x36564c,_0x1388ae(0xb7)];this[_0x1388ae(0xce)][_0x1388ae(0xe3)][_0x1388ae(0xab)](_0x2177b9);}const _0x1280b2=this[_0x1388ae(0xa8)](_0x2d5e8f,!0x1);if(_0x1280b2){const _0x5cf650=this[_0x1388ae(0xaa)](_0x1280b2),_0x284a91=_0x395e19(_0x1388ae(0xda),_0x5cf650,_0x558f4d);if(_0x284a91)return[_0x284a91,_0x1388ae(0xa1)];this[_0x1388ae(0xce)][_0x1388ae(0xe3)][_0x1388ae(0xab)](_0x5cf650);}return _0x4733f4?_0x2d5e8f[_0x1388ae(0xb8)]?this[_0x1388ae(0xa7)](_0x2d5e8f,_0x558f4d):[_0x558f4d[_0x1388ae(0xdc)][_0x558f4d[_0x1388ae(0xdc)][_0x1388ae(0xae)]-0x1],_0x1388ae(0xb7)]:[_0x558f4d[_0x1388ae(0xdc)][0x0],_0x1388ae(0xa1)];}[_0x356d96(0xa7)](_0x30fdba,_0x3122d6){const _0x5b71f1=_0x356d96,_0x4bdec3=[],_0x277c69=this[_0x5b71f1(0xdd)](_0x30fdba,!0x0);if(_0x277c69){const _0x5068bb=this[_0x5b71f1(0xaa)](_0x277c69),_0x407791=_0x395e19(_0x5b71f1(0xda),_0x5068bb,_0x3122d6);_0x407791&&_0x4bdec3[_0x5b71f1(0xab)]([_0x407791,_0x5b71f1(0xb7)]);}const _0x5bf1c4=this[_0x5b71f1(0xa8)](_0x30fdba,!0x0);if(_0x5bf1c4){const _0x2453e1=this[_0x5b71f1(0xaa)](_0x5bf1c4),_0x14d6a6=_0x395e19(_0x5b71f1(0xda),_0x2453e1,_0x3122d6);_0x14d6a6&&_0x4bdec3[_0x5b71f1(0xab)]([_0x14d6a6,_0x5b71f1(0xa1)]);}if(_0x4bdec3[_0x5b71f1(0xae)]>0x1)return _0x2ec1c6(_0x4bdec3[0x0][0x0])<=_0x2ec1c6(_0x4bdec3[0x1][0x0])?_0x4bdec3[0x0]:_0x4bdec3[0x1];return 0x1===_0x4bdec3[_0x5b71f1(0xae)]?_0x4bdec3[0x0]:[_0x3122d6[_0x5b71f1(0xc3)],_0x5b71f1(0xb7)];}[_0x356d96(0xa8)](_0x310819,_0x152854){const _0xf726b2=_0x356d96;let _0x1a7a84=_0x310819[_0xf726b2(0xb8)],_0x599f91=null,_0x3d8477=!0x1;for(;_0x1a7a84;){if(_0x316885(_0x1a7a84)){if(this[_0xf726b2(0xcc)](_0x1a7a84)&&(_0x599f91=_0x1a7a84),this[_0xf726b2(0xca)](_0x1a7a84)&&_0x152854&&!_0x3d8477){_0x3d8477=!0x0,_0x1a7a84=_0x1a7a84[_0xf726b2(0xb8)];continue;}break;}const _0xd7cc87=_0x4d1d75(_0x1a7a84,_0xf726b2(0xda));if(_0xd7cc87&&_0xf726b2(0xc5)!==_0xd7cc87&&this[_0xf726b2(0xd6)][_0xf726b2(0xbe)](_0xd7cc87)){_0x599f91=_0x1a7a84;break;}_0x1a7a84=_0x1a7a84[_0xf726b2(0xb8)];}return _0x599f91;}[_0x356d96(0xdd)](_0xcf3fdc,_0x199da9){const _0x4bdc5f=_0x356d96;let _0x385df0=_0xcf3fdc[_0x4bdc5f(0xbc)],_0x3a0f0b=null,_0x51c7a8=!0x1;for(;_0x385df0;){if(_0x316885(_0x385df0)){if(this[_0x4bdc5f(0xcc)](_0x385df0)&&(_0x3a0f0b=_0x385df0),this[_0x4bdc5f(0xca)](_0x385df0)&&_0x199da9&&!_0x51c7a8){_0x51c7a8=!0x0,_0x385df0=_0x385df0[_0x4bdc5f(0xbc)];continue;}break;}const _0x3afb36=_0x4d1d75(_0x385df0,_0x4bdc5f(0xda));if(_0x3afb36&&_0x4bdc5f(0xc5)!==_0x3afb36&&this[_0x4bdc5f(0xd6)][_0x4bdc5f(0xbe)](_0x3afb36)){_0x3a0f0b=_0x385df0;break;}_0x385df0=_0x385df0[_0x4bdc5f(0xbc)];}return _0x3a0f0b;}[_0x356d96(0xa4)](_0x459a44){const _0x2fec2b=_0x356d96;_0x2dc514(_0x459a44)&&_0x2139a3(_0x2fec2b(0xda),null,_0x459a44)[_0x2fec2b(0xd1)](_0x26d898=>{const _0x23a58d=_0x2fec2b;if(this[_0x23a58d(0xd4)](_0x26d898)&&!this[_0x23a58d(0xb4)](_0x26d898)){const _0xb5c3e0=_0x4d1d75(_0x26d898,_0x23a58d(0xda));_0x3bdc83(_0x26d898,_0x23a58d(0x9f),_0xb5c3e0),_0x3bdc83(_0x26d898,_0x23a58d(0xda),null);}});}[_0x356d96(0xaa)](_0x17f256){const _0x1c077a=_0x356d96;if(!_0x17f256)return null;if(_0x2dc514(_0x17f256))return _0x4d1d75(_0x17f256,_0x1c077a(0xda));if(_0x316885(_0x17f256)){const _0x530897=_0x2e778c(_0x17f256)[_0x1c077a(0xd2)](/removed[\s*-]data-id="([^"]+)"/);if(_0x530897&&_0x530897[0x1])return _0x530897[0x1];}return null;}[_0x356d96(0xb5)](_0x9c619b){const _0x5d0615=_0x356d96;if(_0x316885(_0x9c619b)){const _0x14fe60=_0x2e778c(_0x9c619b)[_0x5d0615(0xd2)](/removed[\s*-]data-id="([^"]+)"/);_0x14fe60&&_0x14fe60[0x1]&&this[_0x5d0615(0xce)][_0x5d0615(0xe2)][_0x5d0615(0xab)](_0x14fe60[0x1]);}}[_0x356d96(0xba)](_0x510523){const _0x5a4801=_0x356d96;return this[_0x5a4801(0xd4)](_0x510523)?_0x4d1d75(_0x510523,_0x5a4801(0xda)):this[_0x5a4801(0xac)]();}[_0x356d96(0xa3)](_0x40baf7){const _0x103070=_0x356d96;_0xbd4943(_0x40baf7)[_0x103070(0xcb)](_0x3d7928=>this[_0x103070(0xcc)](_0x3d7928)||this[_0x103070(0xca)](_0x3d7928))[_0x103070(0xd1)](_0x7d007a=>{_0x324d33(_0x7d007a);});}[_0x356d96(0xbb)](_0x496455){const _0x4bfdf1=_0x356d96,_0x4bc342=_0x496455[_0x4bfdf1(0xdc)],_0x16377c=_0x4bc342[_0x4bc342[_0x4bfdf1(0xae)]-0x1];_0x16377c&&_0x2dc514(_0x16377c)&&_0x3bdc83(_0x16377c,_0x4bfdf1(0xd9),_0x4bfdf1(0xa5));}[_0x356d96(0xbd)](_0x4a95ad,_0x3c2bf9){const _0x223418=_0x356d96,_0x3d4ad8=_0x395e19(_0x223418(0xd9),_0x223418(0xa5),_0x4a95ad);if(!_0x3d4ad8)return;const _0x20abf6=_0x26633a(_0x3d4ad8)[_0x223418(0xa2)](0x0,-0x1),_0x598d51=_0x20abf6[_0x223418(0xae)];let _0x479192=_0x3d4ad8;if(_0x598d51>_0x3c2bf9){let _0x1d7add=_0x598d51,_0x5a850c=null;for(;_0x1d7add>_0x3c2bf9&&_0x1d7add>=0x0;)_0x1d7add--,_0x5a850c=_0x20abf6[_0x1d7add];_0x5a850c&&(_0x479192=_0x5a850c,_0x3bdc83(_0x3d4ad8,_0x223418(0xd9),null),_0x3bdc83(_0x5a850c,_0x223418(0xd9),_0x223418(0xa5)));}else{if(_0x598d51<_0x3c2bf9){let _0x477682=_0x598d51,_0x2f0c5d=_0x3d4ad8;for(;_0x477682<_0x3c2bf9;){const _0x1843c8=_0x2f0c5d[_0x223418(0xdc)][_0x223418(0xcb)](_0x1e43f6=>_0x2dc514(_0x1e43f6));if(0x0===_0x1843c8[_0x223418(0xae)])break;_0x477682++,_0x2f0c5d=_0x1843c8[_0x1843c8[_0x223418(0xae)]-0x1];}_0x2f0c5d&&(_0x479192=_0x2f0c5d,_0x3bdc83(_0x3d4ad8,_0x223418(0xd9),null),_0x3bdc83(_0x2f0c5d,_0x223418(0xd9),_0x223418(0xa5)));}}let _0x3fb4d9=_0x479192;for(;_0x3fb4d9;){for(;_0x3fb4d9[_0x223418(0xb8)];)_0x3fb4d9=_0x3fb4d9[_0x223418(0xb8)],_0x2dc514(_0x3fb4d9)&&_0x3bdc83(_0x3fb4d9,_0x223418(0xd9),_0x223418(0xa5));_0x3fb4d9=_0x3fb4d9[_0x223418(0xc6)];}}[_0x356d96(0xd7)](_0x4bd529){const _0x1b16e9=_0x356d96;return Boolean(_0x1b16e9(0xc5)===_0x4d1d75(_0x4bd529,_0x1b16e9(0xda)));}[_0x356d96(0xd4)](_0x5846ee){const _0x2aadbd=_0x356d96;return Boolean((_0x4d1d75(_0x5846ee,_0x2aadbd(0xda))||'')[_0x2aadbd(0xae)]>0x0&&_0x2aadbd(0xc5)!==_0x4d1d75(_0x5846ee,_0x2aadbd(0xda)));}[_0x356d96(0xcc)](_0x351a67){const _0xfe4235=_0x356d96;return!!_0x351a67&&Boolean(_0x316885(_0x351a67)&&_0x2e778c(_0x351a67)[_0xfe4235(0xd2)](/removed[\s*-]data-id="[^"]+"/));}[_0x356d96(0xb4)](_0x4c8077){const _0xdb937c=_0x356d96;let _0x437a6d=_0x4c8077[_0xdb937c(0xc6)];for(;_0x437a6d;){if(_0x4d1d75(_0x437a6d,_0xdb937c(0x9f)))return!0x0;_0x437a6d=_0x437a6d[_0xdb937c(0xc6)];}return!0x1;}[_0x356d96(0xca)](_0x5c0914){const _0x2e6913=_0x356d96;return Boolean(_0x316885(_0x5c0914)&&_0x2e778c(_0x5c0914)[_0x2e6913(0xd2)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x3cbc17=_0xb580;(function(_0x4dde08,_0x447751){const _0x49646d=_0xb580,_0x2e882a=_0x4dde08();while(!![]){try{const _0xebb064=parseInt(_0x49646d(0x1ec))/0x1+parseInt(_0x49646d(0x1e6))/0x2+-parseInt(_0x49646d(0x210))/0x3+parseInt(_0x49646d(0x1f7))/0x4*(-parseInt(_0x49646d(0x1e5))/0x5)+-parseInt(_0x49646d(0x1dd))/0x6+parseInt(_0x49646d(0x1e3))/0x7*(-parseInt(_0x49646d(0x203))/0x8)+-parseInt(_0x49646d(0x1f5))/0x9*(-parseInt(_0x49646d(0x213))/0xa);if(_0xebb064===_0x447751)break;else _0x2e882a['push'](_0x2e882a['shift']());}catch(_0x9274c3){_0x2e882a['push'](_0x2e882a['shift']());}}}(_0xcf77,0xa4f85));import{ObservableMixin as _0x1b9887,uid as _0x231c4e}from'ckeditor5/src/utils.js';function _0xcf77(){const _0x331720=['map','_getUid','_hasWrappedParent','_insertNodes','modifiedIds','nextSibling','nodeType','490104ymkLZC','_markUnstableElements','true','60RWRmyR','lastChild','has','_getNodeDataId','replaceRemovedWith','new-element','_findFallbackReferenceNode','merge','_isDelNode','markUnstableElementsDepth','beforebegin','splice','data-wrapped-id','_storeDeletedElementIds','trim','cloneNode','_findPrevElementWithDataId','3340794hDUtpU','_isExistingContentComment','parentNode','removedIds','push','previousSibling','218848nzWTrn','filter','85QepxDX','2135206HDyhdp','_isExistingNode','from','indexOf','_existingDataIds','childNodes','768588BJrAvX','_removeSpecialComments','_touchedNodesState','newIds','cutAfterLastChange','_markLastTagElementUnstable','_findNextElementWithDataId','afterbegin','_replaceNode','441747OYCJBG','_findReferenceNode','69908lUbFka','markUnstableElements','match','invalidIds','data-unstable','reverse','includes','forEach','slice','_isNewNode','lastTouchedId','_markWrappedElements','112ZGlpWL','afterend','data-removed','data-id','_generateUid','length'];_0xcf77=function(){return _0x331720;};return _0xcf77();}import{findAllByAttribute as _0x3e7a1e,findByAttribute as _0x4ef788,getAttribute as _0x34b6b7,isComment as _0x5ccbac,isTag as _0x8fa7d1,insertElement as _0x272cb4,moveElement as _0x3db494,removeElement as _0x3761c9,replaceElement as _0x11fa30,serialize as _0x1117d5,setAttribute as _0x31aee7,clone as _0x4644ba,findAllComments as _0x1ffc2c,getParents as _0x21be3c,getNodeNestingLevel as _0x994146,areNodesSame as _0x3a1955,removeElementsAfter as _0x382bec}from'../utils/htmlparser.js';function _0xb580(_0x2d7900,_0x5b7bcf){const _0xcf778=_0xcf77();return _0xb580=function(_0xb58097,_0xc4e5c7){_0xb58097=_0xb58097-0x1db;let _0x3fdbdd=_0xcf778[_0xb58097];return _0x3fdbdd;},_0xb580(_0x2d7900,_0x5b7bcf);}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x1b9887(){[_0x3cbc17(0x207)];[_0x3cbc17(0x1ee)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x3cbc17(0x1ea)]=new Set();constructor(_0x90490a){const _0x53c649=_0x3cbc17;super(),this[_0x53c649(0x207)]=_0x90490a||_0x231c4e;}[_0x3cbc17(0x21a)](_0x55cf98,_0x5bfc4a,_0x3c02f2){const _0x2ca5d7=_0x3cbc17,_0x1c7373=_0x4644ba(_0x55cf98);if(0x0===_0x5bfc4a[_0x2ca5d7(0x1eb)][_0x2ca5d7(0x208)]){const _0x1b8aee=[];return _0x3e7a1e(_0x2ca5d7(0x206),_0x2ca5d7(0x218),_0x1c7373)[_0x2ca5d7(0x1fe)](_0xeb87dc=>{const _0x312771=_0x2ca5d7,_0x36b9be=this[_0x312771(0x207)]();_0x31aee7(_0xeb87dc,_0x312771(0x206),_0x36b9be),_0x1b8aee[_0x312771(0x1e1)](_0x36b9be);}),this[_0x2ca5d7(0x1ed)](_0x1c7373),{'parsedContent':_0x1c7373,'newNodeIds':_0x1b8aee,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x3c02f2&&_0x3c02f2[_0x2ca5d7(0x1f8)]&&this[_0x2ca5d7(0x1f1)](_0x1c7373),this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1ef)]=[],this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x20d)]=[],this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)]=[],this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1fa)]=[],this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x201)]=null,this[_0x2ca5d7(0x1ea)]=new Set(_0x3e7a1e(_0x2ca5d7(0x206),null,_0x5bfc4a)[_0x2ca5d7(0x209)](_0x4b7dc4=>_0x34b6b7(_0x4b7dc4,_0x2ca5d7(0x206)))[_0x2ca5d7(0x1e4)](_0x12dad1=>!!_0x12dad1));let _0xb1d258=-0x1,_0x5e9ec2=!0x1;const _0x508617=_0x1c7373[_0x2ca5d7(0x1eb)],_0x482839=Array[_0x2ca5d7(0x1e8)](_0x508617)[_0x2ca5d7(0x1e4)](_0x3903d9=>!(0x3===_0x3903d9[_0x2ca5d7(0x20f)]&&''===_0x1117d5(_0x3903d9)[_0x2ca5d7(0x221)]())),_0x20ad49=_0x482839[_0x2ca5d7(0x208)];for(let _0x508640=0x0;_0x508640<_0x20ad49;_0x508640++){const _0x152992=_0x482839[_0x508640],_0x150826=_0x482839[_0x508640+0x1];if(this[_0x2ca5d7(0x200)](_0x152992)){if(-0x1===_0xb1d258&&(_0xb1d258=_0x508640),this[_0x2ca5d7(0x202)](_0x152992),!this[_0x2ca5d7(0x200)](_0x150826)){const [_0x3f5599,_0x26e746]=this[_0x2ca5d7(0x1f6)](_0x152992,_0x5e9ec2,_0x5bfc4a);if(_0x3f5599){const _0x50f421=Array[_0x2ca5d7(0x1e8)](_0x482839)[_0x2ca5d7(0x1ff)](_0xb1d258,_0x508640+0x1);this[_0x2ca5d7(0x20c)](_0x3f5599,_0x50f421,_0x26e746),_0xb1d258=-0x1;}}}else{if(this[_0x2ca5d7(0x1de)](_0x152992))_0x5e9ec2=!0x0;else{if(this[_0x2ca5d7(0x1e7)](_0x152992)){const _0x1f86ca=_0x34b6b7(_0x152992,_0x2ca5d7(0x206));if(_0x1f86ca&&this[_0x2ca5d7(0x1ea)][_0x2ca5d7(0x215)](_0x1f86ca)){const _0x1f8b0f=_0x4ef788(_0x2ca5d7(0x206),_0x1f86ca,_0x5bfc4a);this[_0x2ca5d7(0x1f4)](_0x1f8b0f,_0x152992);}if(this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)][_0x2ca5d7(0x1fd)](_0x1f86ca)){const _0x4112da=this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)][_0x2ca5d7(0x1e9)](_0x1f86ca);this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)][_0x2ca5d7(0x21e)](_0x4112da,0x1);}}else{if(this[_0x2ca5d7(0x21b)](_0x152992)){const _0x33090d=_0x34b6b7(_0x152992,_0x2ca5d7(0x206));this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x20d)][_0x2ca5d7(0x1fd)](_0x33090d)||this[_0x2ca5d7(0x220)](_0x152992);}}}}}for(const _0x6b16cc of this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)]){const _0x302000=_0x4ef788(_0x2ca5d7(0x206),_0x6b16cc,_0x5bfc4a);if(_0x302000){if(_0x3c02f2&&_0x3c02f2[_0x2ca5d7(0x217)]){this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x201)]=_0x6b16cc;const _0x54441a=_0x3c02f2[_0x2ca5d7(0x217)][_0x2ca5d7(0x1db)](!0x0);_0x31aee7(_0x54441a,_0x2ca5d7(0x206),_0x6b16cc),_0x31aee7(_0x54441a,_0x2ca5d7(0x205),_0x2ca5d7(0x212)),_0x11fa30(_0x302000,_0x54441a);}else _0x3761c9(_0x302000);}}if(_0x3e7a1e(_0x2ca5d7(0x21f),null,_0x5bfc4a)[_0x2ca5d7(0x1fe)](_0x3c71a5=>{const _0x1f8d1b=_0x2ca5d7,_0x21910d=_0x34b6b7(_0x3c71a5,_0x1f8d1b(0x21f)),_0x247337=_0x4ef788(_0x1f8d1b(0x206),_0x21910d,_0x5bfc4a);_0x247337&&_0x3db494(_0x247337,_0x3c71a5);}),_0x3e7a1e(_0x2ca5d7(0x206),_0x2ca5d7(0x218),_0x5bfc4a)[_0x2ca5d7(0x1fe)](_0x300afd=>{const _0x4f9564=_0x2ca5d7,_0x548201=this[_0x4f9564(0x20a)](_0x300afd);_0x31aee7(_0x300afd,_0x4f9564(0x206),_0x548201),this[_0x4f9564(0x1ee)][_0x4f9564(0x1ef)][_0x4f9564(0x1e1)](_0x548201);}),this[_0x2ca5d7(0x1ed)](_0x5bfc4a),_0x3c02f2&&_0x3c02f2[_0x2ca5d7(0x1f8)]&&this[_0x2ca5d7(0x211)](_0x5bfc4a,_0x3c02f2[_0x2ca5d7(0x21c)]||0x0),_0x3c02f2&&_0x3c02f2[_0x2ca5d7(0x1f0)]&&this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x201)]){let _0x3e2679=_0x4ef788(_0x2ca5d7(0x206),this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x201)],_0x5bfc4a);for(;_0x3e2679;)_0x382bec(_0x3e2679),_0x3e2679=_0x3e2679[_0x2ca5d7(0x1df)];}return{'parsedContent':_0x5bfc4a,'newNodeIds':this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1ef)],'modifiedNodeIds':this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x20d)],'removedNodeIds':this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)]};}[_0x3cbc17(0x20c)](_0x2aa943,_0x1f01e,_0x17edc8){const _0x26881b=_0x3cbc17;for(const _0x1ddf71 of _0x1f01e){const _0x39c259=this[_0x26881b(0x20a)](_0x1ddf71);_0x31aee7(_0x1ddf71,_0x26881b(0x206),_0x39c259),this[_0x26881b(0x1ee)][_0x26881b(0x1ef)][_0x26881b(0x1e1)](_0x39c259),this[_0x26881b(0x1ee)][_0x26881b(0x201)]=_0x39c259;}const _0x1af47d=_0x26881b(0x1f3)===_0x17edc8||_0x26881b(0x204)===_0x17edc8?_0x1f01e[_0x26881b(0x1fc)]():_0x1f01e;for(const _0x47a1c of _0x1af47d)_0x272cb4(_0x2aa943,_0x47a1c,_0x17edc8);}[_0x3cbc17(0x1f4)](_0x2910e6,_0x6e178e){const _0x1d99b4=_0x3cbc17;if(!_0x2910e6)return;if(_0x3a1955(_0x2910e6,_0x6e178e))return;const _0x3e044a=this[_0x1d99b4(0x20a)](_0x2910e6);_0x31aee7(_0x6e178e,_0x1d99b4(0x206),_0x3e044a),this[_0x1d99b4(0x1ee)][_0x1d99b4(0x20d)][_0x1d99b4(0x1e1)](_0x3e044a),this[_0x1d99b4(0x1ee)][_0x1d99b4(0x201)]=_0x3e044a,_0x11fa30(_0x2910e6,_0x6e178e[_0x1d99b4(0x1db)](!0x0));}[_0x3cbc17(0x1f6)](_0x357c82,_0x48a9d0,_0x2a3b0e){const _0x5ec504=_0x3cbc17,_0x39a16e=this[_0x5ec504(0x1dc)](_0x357c82,!0x1);if(_0x39a16e){const _0x1083f8=this[_0x5ec504(0x216)](_0x39a16e),_0x16f069=_0x4ef788(_0x5ec504(0x206),_0x1083f8,_0x2a3b0e);if(_0x16f069)return[_0x16f069,_0x5ec504(0x204)];this[_0x5ec504(0x1ee)][_0x5ec504(0x1fa)][_0x5ec504(0x1e1)](_0x1083f8);}const _0x5c12e6=this[_0x5ec504(0x1f2)](_0x357c82,!0x1);if(_0x5c12e6){const _0x2fc9de=this[_0x5ec504(0x216)](_0x5c12e6),_0x9f70e9=_0x4ef788(_0x5ec504(0x206),_0x2fc9de,_0x2a3b0e);if(_0x9f70e9)return[_0x9f70e9,_0x5ec504(0x21d)];this[_0x5ec504(0x1ee)][_0x5ec504(0x1fa)][_0x5ec504(0x1e1)](_0x2fc9de);}return _0x48a9d0?_0x357c82[_0x5ec504(0x20e)]?this[_0x5ec504(0x219)](_0x357c82,_0x2a3b0e):[_0x2a3b0e[_0x5ec504(0x1eb)][_0x2a3b0e[_0x5ec504(0x1eb)][_0x5ec504(0x208)]-0x1],_0x5ec504(0x204)]:[_0x2a3b0e[_0x5ec504(0x1eb)][0x0],_0x5ec504(0x21d)];}[_0x3cbc17(0x219)](_0x29b8a8,_0x1697e8){const _0x137b05=_0x3cbc17,_0x2871f4=[],_0x5ad9d7=this[_0x137b05(0x1dc)](_0x29b8a8,!0x0);if(_0x5ad9d7){const _0xbbe842=this[_0x137b05(0x216)](_0x5ad9d7),_0x235483=_0x4ef788(_0x137b05(0x206),_0xbbe842,_0x1697e8);_0x235483&&_0x2871f4[_0x137b05(0x1e1)]([_0x235483,_0x137b05(0x204)]);}const _0xf08df8=this[_0x137b05(0x1f2)](_0x29b8a8,!0x0);if(_0xf08df8){const _0x5114b2=this[_0x137b05(0x216)](_0xf08df8),_0x3eaa93=_0x4ef788(_0x137b05(0x206),_0x5114b2,_0x1697e8);_0x3eaa93&&_0x2871f4[_0x137b05(0x1e1)]([_0x3eaa93,_0x137b05(0x21d)]);}if(_0x2871f4[_0x137b05(0x208)]>0x1)return _0x994146(_0x2871f4[0x0][0x0])<=_0x994146(_0x2871f4[0x1][0x0])?_0x2871f4[0x0]:_0x2871f4[0x1];return 0x1===_0x2871f4[_0x137b05(0x208)]?_0x2871f4[0x0]:[_0x1697e8[_0x137b05(0x214)],_0x137b05(0x204)];}[_0x3cbc17(0x1f2)](_0x54d684,_0x19fe7){const _0x530f50=_0x3cbc17;let _0x3acbbf=_0x54d684[_0x530f50(0x20e)],_0x259015=null,_0x104d28=!0x1;for(;_0x3acbbf;){if(_0x5ccbac(_0x3acbbf)){if(this[_0x530f50(0x21b)](_0x3acbbf)&&(_0x259015=_0x3acbbf),this[_0x530f50(0x1de)](_0x3acbbf)&&_0x19fe7&&!_0x104d28){_0x104d28=!0x0,_0x3acbbf=_0x3acbbf[_0x530f50(0x20e)];continue;}break;}const _0x297809=_0x34b6b7(_0x3acbbf,_0x530f50(0x206));if(_0x297809&&_0x530f50(0x218)!==_0x297809&&this[_0x530f50(0x1ea)][_0x530f50(0x215)](_0x297809)){_0x259015=_0x3acbbf;break;}_0x3acbbf=_0x3acbbf[_0x530f50(0x20e)];}return _0x259015;}[_0x3cbc17(0x1dc)](_0x49d353,_0x4fbf01){const _0x2fe6fa=_0x3cbc17;let _0x146c4f=_0x49d353[_0x2fe6fa(0x1e2)],_0x1ee3cc=null,_0x3658e1=!0x1;for(;_0x146c4f;){if(_0x5ccbac(_0x146c4f)){if(this[_0x2fe6fa(0x21b)](_0x146c4f)&&(_0x1ee3cc=_0x146c4f),this[_0x2fe6fa(0x1de)](_0x146c4f)&&_0x4fbf01&&!_0x3658e1){_0x3658e1=!0x0,_0x146c4f=_0x146c4f[_0x2fe6fa(0x1e2)];continue;}break;}const _0x380edb=_0x34b6b7(_0x146c4f,_0x2fe6fa(0x206));if(_0x380edb&&_0x2fe6fa(0x218)!==_0x380edb&&this[_0x2fe6fa(0x1ea)][_0x2fe6fa(0x215)](_0x380edb)){_0x1ee3cc=_0x146c4f;break;}_0x146c4f=_0x146c4f[_0x2fe6fa(0x1e2)];}return _0x1ee3cc;}[_0x3cbc17(0x202)](_0x46dad3){const _0x3a0536=_0x3cbc17;_0x8fa7d1(_0x46dad3)&&_0x3e7a1e(_0x3a0536(0x206),null,_0x46dad3)[_0x3a0536(0x1fe)](_0x5a9f5a=>{const _0x37da85=_0x3a0536;if(this[_0x37da85(0x1e7)](_0x5a9f5a)&&!this[_0x37da85(0x20b)](_0x5a9f5a)){const _0x3045ff=_0x34b6b7(_0x5a9f5a,_0x37da85(0x206));_0x31aee7(_0x5a9f5a,_0x37da85(0x21f),_0x3045ff),_0x31aee7(_0x5a9f5a,_0x37da85(0x206),null);}});}[_0x3cbc17(0x216)](_0x50ee8f){const _0xb7cbfc=_0x3cbc17;if(!_0x50ee8f)return null;if(_0x8fa7d1(_0x50ee8f))return _0x34b6b7(_0x50ee8f,_0xb7cbfc(0x206));if(_0x5ccbac(_0x50ee8f)){const _0xbbef7a=_0x1117d5(_0x50ee8f)[_0xb7cbfc(0x1f9)](/removed[\s*-]data-id="([^"]+)"/);if(_0xbbef7a&&_0xbbef7a[0x1])return _0xbbef7a[0x1];}return null;}[_0x3cbc17(0x220)](_0x9bb704){const _0x120f61=_0x3cbc17;if(_0x5ccbac(_0x9bb704)){const _0x4c977b=_0x1117d5(_0x9bb704)[_0x120f61(0x1f9)](/removed[\s*-]data-id="([^"]+)"/);_0x4c977b&&_0x4c977b[0x1]&&this[_0x120f61(0x1ee)][_0x120f61(0x1e0)][_0x120f61(0x1e1)](_0x4c977b[0x1]);}}[_0x3cbc17(0x20a)](_0x3c46ee){const _0x12e989=_0x3cbc17;return this[_0x12e989(0x1e7)](_0x3c46ee)?_0x34b6b7(_0x3c46ee,_0x12e989(0x206)):this[_0x12e989(0x207)]();}[_0x3cbc17(0x1ed)](_0x7629f2){const _0x4fb33e=_0x3cbc17;_0x1ffc2c(_0x7629f2)[_0x4fb33e(0x1e4)](_0x2f9833=>this[_0x4fb33e(0x21b)](_0x2f9833)||this[_0x4fb33e(0x1de)](_0x2f9833))[_0x4fb33e(0x1fe)](_0x4cc74a=>{_0x3761c9(_0x4cc74a);});}[_0x3cbc17(0x1f1)](_0x81cdb0){const _0x5cb041=_0x3cbc17,_0x4ecf4e=_0x81cdb0[_0x5cb041(0x1eb)],_0x452a28=_0x4ecf4e[_0x4ecf4e[_0x5cb041(0x208)]-0x1];_0x452a28&&_0x8fa7d1(_0x452a28)&&_0x31aee7(_0x452a28,_0x5cb041(0x1fb),_0x5cb041(0x212));}[_0x3cbc17(0x211)](_0x1b878e,_0x42b4ad){const _0x4896f6=_0x3cbc17,_0x242a39=_0x4ef788(_0x4896f6(0x1fb),_0x4896f6(0x212),_0x1b878e);if(!_0x242a39)return;const _0x5eb15c=_0x21be3c(_0x242a39)[_0x4896f6(0x1ff)](0x0,-0x1),_0x3a8872=_0x5eb15c[_0x4896f6(0x208)];let _0x37b5bc=_0x242a39;if(_0x3a8872>_0x42b4ad){let _0x39228b=_0x3a8872,_0x19bf24=null;for(;_0x39228b>_0x42b4ad&&_0x39228b>=0x0;)_0x39228b--,_0x19bf24=_0x5eb15c[_0x39228b];_0x19bf24&&(_0x37b5bc=_0x19bf24,_0x31aee7(_0x242a39,_0x4896f6(0x1fb),null),_0x31aee7(_0x19bf24,_0x4896f6(0x1fb),_0x4896f6(0x212)));}else{if(_0x3a8872<_0x42b4ad){let _0x3e1865=_0x3a8872,_0x3abfd1=_0x242a39;for(;_0x3e1865<_0x42b4ad;){const _0x527cbd=_0x3abfd1[_0x4896f6(0x1eb)][_0x4896f6(0x1e4)](_0x7e0790=>_0x8fa7d1(_0x7e0790));if(0x0===_0x527cbd[_0x4896f6(0x208)])break;_0x3e1865++,_0x3abfd1=_0x527cbd[_0x527cbd[_0x4896f6(0x208)]-0x1];}_0x3abfd1&&(_0x37b5bc=_0x3abfd1,_0x31aee7(_0x242a39,_0x4896f6(0x1fb),null),_0x31aee7(_0x3abfd1,_0x4896f6(0x1fb),_0x4896f6(0x212)));}}let _0x29df9c=_0x37b5bc;for(;_0x29df9c;){for(;_0x29df9c[_0x4896f6(0x20e)];)_0x29df9c=_0x29df9c[_0x4896f6(0x20e)],_0x8fa7d1(_0x29df9c)&&_0x31aee7(_0x29df9c,_0x4896f6(0x1fb),_0x4896f6(0x212));_0x29df9c=_0x29df9c[_0x4896f6(0x1df)];}}[_0x3cbc17(0x200)](_0x3545dc){const _0x38cbc9=_0x3cbc17;return Boolean(_0x38cbc9(0x218)===_0x34b6b7(_0x3545dc,_0x38cbc9(0x206)));}[_0x3cbc17(0x1e7)](_0x38bb2c){const _0x2690bf=_0x3cbc17;return Boolean((_0x34b6b7(_0x38bb2c,_0x2690bf(0x206))||'')[_0x2690bf(0x208)]>0x0&&_0x2690bf(0x218)!==_0x34b6b7(_0x38bb2c,_0x2690bf(0x206)));}[_0x3cbc17(0x21b)](_0x1952bf){const _0x5a4652=_0x3cbc17;return!!_0x1952bf&&Boolean(_0x5ccbac(_0x1952bf)&&_0x1117d5(_0x1952bf)[_0x5a4652(0x1f9)](/removed[\s*-]data-id="[^"]+"/));}[_0x3cbc17(0x20b)](_0x378727){const _0x1a55ec=_0x3cbc17;let _0x2da2b5=_0x378727[_0x1a55ec(0x1df)];for(;_0x2da2b5;){if(_0x34b6b7(_0x2da2b5,_0x1a55ec(0x21f)))return!0x0;_0x2da2b5=_0x2da2b5[_0x1a55ec(0x1df)];}return!0x1;}[_0x3cbc17(0x1de)](_0x47ba51){const _0xd0ca12=_0x3cbc17;return Boolean(_0x5ccbac(_0x47ba51)&&_0x1117d5(_0x47ba51)[_0xd0ca12(0x1f9)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5de3(){const _0x11da0a=['128014TtmbpJ','_m2html','convertMarkdownToHTML','parseAndNormalizeHTML','17082wTyVgj','_parseHTML','parse','606QOSngP','58235qYFOpz','7CMpVrm','children','replace','</dummy>','462pZPMjt','1537552DuhuZq','2426102jsPkZc','66852XXSWkD','3IyPxTl','<dummy>','91aVmMES','2290QJiilf','1168lFovXS','283356xoRcUW'];_0x5de3=function(){return _0x11da0a;};return _0x5de3();}const _0x5eb184=_0xfb57;function _0xfb57(_0x4c396d,_0x5c97a9){const _0x5de3d1=_0x5de3();return _0xfb57=function(_0xfb5788,_0x2a3e69){_0xfb5788=_0xfb5788-0xce;let _0x35b4cd=_0x5de3d1[_0xfb5788];return _0x35b4cd;},_0xfb57(_0x4c396d,_0x5c97a9);}(function(_0x33f342,_0x538e52){const _0x1b4bfc=_0xfb57,_0x5be61e=_0x33f342();while(!![]){try{const _0xd9b5ce=parseInt(_0x1b4bfc(0xd0))/0x1*(parseInt(_0x1b4bfc(0xd6))/0x2)+parseInt(_0x1b4bfc(0xda))/0x3*(-parseInt(_0x1b4bfc(0xd4))/0x4)+-parseInt(_0x1b4bfc(0xde))/0x5*(-parseInt(_0x1b4bfc(0xdd))/0x6)+parseInt(_0x1b4bfc(0xdf))/0x7*(-parseInt(_0x1b4bfc(0xe4))/0x8)+-parseInt(_0x1b4bfc(0xcf))/0x9*(-parseInt(_0x1b4bfc(0xd3))/0xa)+parseInt(_0x1b4bfc(0xe3))/0xb*(parseInt(_0x1b4bfc(0xd5))/0xc)+parseInt(_0x1b4bfc(0xd2))/0xd*(-parseInt(_0x1b4bfc(0xce))/0xe);if(_0xd9b5ce===_0x538e52)break;else _0x5be61e['push'](_0x5be61e['shift']());}catch(_0x362703){_0x5be61e['push'](_0x5be61e['shift']());}}}(_0x5de3,0xf27d1));import{ObservableMixin as _0x36f367}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x2097a5}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x13e420}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x36f367(){[_0x5eb184(0xd7)];constructor(){const _0x197269=_0x5eb184;super(),this[_0x197269(0xd7)]=new _0x2097a5();}[_0x5eb184(0xd8)](_0x1c572e){const _0x10b08d=_0x5eb184,_0x3041b0=this[_0x10b08d(0xd7)][_0x10b08d(0xdc)](_0x1c572e);return this[_0x10b08d(0xd9)](_0x3041b0);}[_0x5eb184(0xd9)](_0x594cb7){const _0x59f448=_0x5eb184;return this[_0x59f448(0xdb)](_0x594cb7);}[_0x5eb184(0xdb)](_0x19037c){const _0x52d18c=_0x5eb184,_0x412414=_0x19037c[_0x52d18c(0xe1)](/^\t+/gm,'\x20')[_0x52d18c(0xe1)](/\n*/g,'')[_0x52d18c(0xe1)](/\s+/g,'\x20')[_0x52d18c(0xe1)](/<[^>]*?$/g,''),_0x4a40e3=_0x13e420(_0x52d18c(0xd1)+_0x412414+_0x52d18c(0xe2));return _0x4a40e3[_0x52d18c(0xe0)]=_0x4a40e3[_0x52d18c(0xe0)][0x0][_0x52d18c(0xe0)],_0x4a40e3;}}
23
+ function _0x44d4(){const _0x264b82=['1293795QbtZbo','parseAndNormalizeHTML','10IAMBzN','convertMarkdownToHTML','17213TqzJwQ','8ZaltFc','_m2html','11LCWttJ','parse','9783804eIIuXK','442655GWtzdu','<dummy>','children','replace','3222472InNPhI','2dAjUgc','1357221qgALdp','_parseHTML','318FoRgLY','</dummy>','499030gzDULX'];_0x44d4=function(){return _0x264b82;};return _0x44d4();}const _0x17996e=_0x2fa4;(function(_0x5937df,_0x2b9d84){const _0x58f39c=_0x2fa4,_0x3c9485=_0x5937df();while(!![]){try{const _0x509cd0=-parseInt(_0x58f39c(0x8b))/0x1*(parseInt(_0x58f39c(0x90))/0x2)+-parseInt(_0x58f39c(0x91))/0x3+-parseInt(_0x58f39c(0x86))/0x4*(-parseInt(_0x58f39c(0x80))/0x5)+parseInt(_0x58f39c(0x7e))/0x6*(-parseInt(_0x58f39c(0x85))/0x7)+parseInt(_0x58f39c(0x8f))/0x8+parseInt(_0x58f39c(0x81))/0x9*(-parseInt(_0x58f39c(0x83))/0xa)+parseInt(_0x58f39c(0x88))/0xb*(parseInt(_0x58f39c(0x8a))/0xc);if(_0x509cd0===_0x2b9d84)break;else _0x3c9485['push'](_0x3c9485['shift']());}catch(_0xc2ffd8){_0x3c9485['push'](_0x3c9485['shift']());}}}(_0x44d4,0x3cb12));function _0x2fa4(_0x5efdcc,_0xc3c2fe){const _0x44d402=_0x44d4();return _0x2fa4=function(_0x2fa4a0,_0x23f115){_0x2fa4a0=_0x2fa4a0-0x7d;let _0x25a363=_0x44d402[_0x2fa4a0];return _0x25a363;},_0x2fa4(_0x5efdcc,_0xc3c2fe);}import{ObservableMixin as _0x29ea1e}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x496e3f}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x93f482}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x29ea1e(){[_0x17996e(0x87)];constructor(){const _0x51a8c7=_0x17996e;super(),this[_0x51a8c7(0x87)]=new _0x496e3f();}[_0x17996e(0x84)](_0x443347){const _0x49b97f=_0x17996e,_0x9b0cd8=this[_0x49b97f(0x87)][_0x49b97f(0x89)](_0x443347);return this[_0x49b97f(0x82)](_0x9b0cd8);}[_0x17996e(0x82)](_0x5a462d){const _0x394036=_0x17996e;return this[_0x394036(0x7d)](_0x5a462d);}[_0x17996e(0x7d)](_0x261118){const _0x14b8da=_0x17996e,_0x1fc681=_0x261118[_0x14b8da(0x8e)](/^\t+/gm,'\x20')[_0x14b8da(0x8e)](/\n*/g,'')[_0x14b8da(0x8e)](/\s+/g,'\x20')[_0x14b8da(0x8e)](/<[^>]*?$/g,''),_0x11ad96=_0x93f482(_0x14b8da(0x8c)+_0x1fc681+_0x14b8da(0x7f));return _0x11ad96[_0x14b8da(0x8d)]=_0x11ad96[_0x14b8da(0x8d)][0x0][_0x14b8da(0x8d)],_0x11ad96;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2d4b(_0x203910,_0x1d0f24){var _0x8027bc=_0x8027();return _0x2d4b=function(_0x2d4b4d,_0x20cc37){_0x2d4b4d=_0x2d4b4d-0x165;var _0x325a22=_0x8027bc[_0x2d4b4d];return _0x325a22;},_0x2d4b(_0x203910,_0x1d0f24);}(function(_0x2ba5fa,_0x2f71d6){var _0x3fbb06=_0x2d4b,_0x56d934=_0x2ba5fa();while(!![]){try{var _0xcf05b5=-parseInt(_0x3fbb06(0x168))/0x1*(-parseInt(_0x3fbb06(0x172))/0x2)+-parseInt(_0x3fbb06(0x165))/0x3+parseInt(_0x3fbb06(0x16b))/0x4+parseInt(_0x3fbb06(0x16e))/0x5*(parseInt(_0x3fbb06(0x16a))/0x6)+-parseInt(_0x3fbb06(0x16c))/0x7+parseInt(_0x3fbb06(0x171))/0x8*(parseInt(_0x3fbb06(0x16d))/0x9)+parseInt(_0x3fbb06(0x166))/0xa*(parseInt(_0x3fbb06(0x16f))/0xb);if(_0xcf05b5===_0x2f71d6)break;else _0x56d934['push'](_0x56d934['shift']());}catch(_0x311ebb){_0x56d934['push'](_0x56d934['shift']());}}}(_0x8027,0xaea67));import{View as _0x77a9ad}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e5b40}from'../../aicore/utils/common-translations.js';function _0x8027(){var _0x3f49d5=['ck-ai-disclaimer','3792XTpNae','1937274DrmkMY','ck-ai-disclaimer__content','div','2095929EyQvbJ','197170UQaKwD','AI_DISCLAIMER_TEXT','1qIFRxB','setTemplate','102HicVLo','2135916AoOkOF','8140692inrZgh','10431mEOxmm','102215WdortE','99QAdwHM'];_0x8027=function(){return _0x3f49d5;};return _0x8027();}export class AIDisclaimerView extends _0x77a9ad{constructor(_0x4c5a5e){var _0x1f4180=_0x2d4b;super(_0x4c5a5e),this[_0x1f4180(0x169)]({'tag':_0x1f4180(0x174),'attributes':{'class':['ck',_0x1f4180(0x170)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1f4180(0x173)]},'children':[{'text':_0x2e5b40(_0x4c5a5e,_0x1f4180(0x167))}]}]});}}
23
+ function _0x4fb4(){var _0x449aef=['1378216PplbFm','613920bnBejz','159VydPpQ','1531558cfZOjt','651964nNFdPh','ck-ai-disclaimer','ck-ai-disclaimer__content','297GqrrDD','setTemplate','AI_DISCLAIMER_TEXT','9514IhSqXc','12tYypBh','269510FoXoQC','602403nkzzkD','div'];_0x4fb4=function(){return _0x449aef;};return _0x4fb4();}(function(_0x5f22b4,_0x40e10a){var _0x18da04=_0x1ece,_0x5d1124=_0x5f22b4();while(!![]){try{var _0x27f2bf=-parseInt(_0x18da04(0x14a))/0x1+parseInt(_0x18da04(0x156))/0x2*(parseInt(_0x18da04(0x14e))/0x3)+parseInt(_0x18da04(0x150))/0x4+-parseInt(_0x18da04(0x14d))/0x5+-parseInt(_0x18da04(0x148))/0x6*(parseInt(_0x18da04(0x14f))/0x7)+parseInt(_0x18da04(0x14c))/0x8+parseInt(_0x18da04(0x153))/0x9*(parseInt(_0x18da04(0x149))/0xa);if(_0x27f2bf===_0x40e10a)break;else _0x5d1124['push'](_0x5d1124['shift']());}catch(_0x445447){_0x5d1124['push'](_0x5d1124['shift']());}}}(_0x4fb4,0x4ca8d));import{View as _0x1fb838}from'ckeditor5/src/ui.js';import{getTranslation as _0x1764b5}from'../../aicore/utils/common-translations.js';function _0x1ece(_0x1b2447,_0x521e42){var _0x4fb487=_0x4fb4();return _0x1ece=function(_0x1ece35,_0x5ce5d4){_0x1ece35=_0x1ece35-0x148;var _0x9b4d16=_0x4fb487[_0x1ece35];return _0x9b4d16;},_0x1ece(_0x1b2447,_0x521e42);}export class AIDisclaimerView extends _0x1fb838{constructor(_0x351e65){var _0x5b1b1e=_0x1ece;super(_0x351e65),this[_0x5b1b1e(0x154)]({'tag':_0x5b1b1e(0x14b),'attributes':{'class':['ck',_0x5b1b1e(0x151)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5b1b1e(0x152)]},'children':[{'text':_0x1764b5(_0x351e65,_0x5b1b1e(0x155))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4327(_0x3b9614,_0x2d3b34){const _0x10e471=_0x10e4();return _0x4327=function(_0x43277f,_0x3b80cc){_0x43277f=_0x43277f-0x167;let _0x10ffb0=_0x10e471[_0x43277f];return _0x10ffb0;},_0x4327(_0x3b9614,_0x2d3b34);}const _0x1186d3=_0x4327;(function(_0x111b46,_0x296051){const _0x1ccc2f=_0x4327,_0x59a55d=_0x111b46();while(!![]){try{const _0x525ee9=parseInt(_0x1ccc2f(0x176))/0x1*(-parseInt(_0x1ccc2f(0x16a))/0x2)+-parseInt(_0x1ccc2f(0x175))/0x3*(-parseInt(_0x1ccc2f(0x189))/0x4)+-parseInt(_0x1ccc2f(0x16d))/0x5+-parseInt(_0x1ccc2f(0x16e))/0x6*(parseInt(_0x1ccc2f(0x17c))/0x7)+-parseInt(_0x1ccc2f(0x178))/0x8+parseInt(_0x1ccc2f(0x173))/0x9*(parseInt(_0x1ccc2f(0x172))/0xa)+-parseInt(_0x1ccc2f(0x185))/0xb*(-parseInt(_0x1ccc2f(0x179))/0xc);if(_0x525ee9===_0x296051)break;else _0x59a55d['push'](_0x59a55d['shift']());}catch(_0x3bec9c){_0x59a55d['push'](_0x59a55d['shift']());}}}(_0x10e4,0xd0cf3));import{View as _0x13353b}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x13353b{constructor(_0x40154b,_0x168777){const _0x377d6c=_0x4327;super(_0x40154b),this[_0x377d6c(0x174)]({'tag':_0x377d6c(0x16f),'attributes':{'class':['ck',_0x377d6c(0x186)]},'children':this[_0x377d6c(0x190)](_0x168777)});}[_0x1186d3(0x190)](_0x53b337){const _0x489605=_0x1186d3,_0x25a311=['ck',_0x489605(0x183)];return _0x53b337[_0x489605(0x16b)](_0x10402a=>{const _0x20ee2d=_0x489605;let _0x39e905='';switch(_0x10402a[_0x20ee2d(0x177)][_0x20ee2d(0x191)]){case _0x20ee2d(0x17b):_0x39e905=_0x20ee2d(0x18f);break;case _0x20ee2d(0x170):_0x39e905=_0x20ee2d(0x187);break;case _0x20ee2d(0x180):_0x39e905=_0x20ee2d(0x182);}return{'tag':_0x10402a[_0x20ee2d(0x18e)],'attributes':{'class':[..._0x25a311,_0x10402a[_0x20ee2d(0x177)][_0x20ee2d(0x18d)]?_0x10402a[_0x20ee2d(0x177)][_0x20ee2d(0x18d)]:''],'style':_0x20ee2d(0x18a)+_0x10402a[_0x20ee2d(0x177)][_0x20ee2d(0x171)]+_0x20ee2d(0x168)+_0x10402a[_0x20ee2d(0x177)][_0x20ee2d(0x17d)]+';'+_0x39e905}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x188),'height':_0x1186d3(0x16c),'align':_0x1186d3(0x17b)}},{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x167),'height':_0x1186d3(0x18c),'align':_0x1186d3(0x17b)}},{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x188),'height':_0x1186d3(0x181),'align':_0x1186d3(0x17b)}},{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x17f),'height':_0x1186d3(0x18c),'align':_0x1186d3(0x17b)}},{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x188),'height':_0x1186d3(0x169),'align':_0x1186d3(0x17b)}},{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x167),'height':_0x1186d3(0x18c),'align':_0x1186d3(0x17b)}},{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x188),'height':_0x1186d3(0x181),'align':_0x1186d3(0x17b)}}],'aiHistory':ta(0x5,_0x1186d3(0x188),_0x1186d3(0x184),_0x1186d3(0x17b)),'aiChatResources':ta(0x8,_0x1186d3(0x188),_0x1186d3(0x17a),_0x1186d3(0x17b)),'aiReviewChecks':[{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x17e),'height':_0x1186d3(0x17a),'align':_0x1186d3(0x180)}},{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x188),'height':_0x1186d3(0x17a),'align':_0x1186d3(0x180)}},{'tag':_0x1186d3(0x16f),'attributes':{'width':_0x1186d3(0x17e),'height':_0x1186d3(0x17a),'align':_0x1186d3(0x180)}}]};function ta(_0x3ce69a,_0x3328cd,_0xb4acfd,_0x3b491e){const _0x91859e=_0x1186d3;return new Array(_0x3ce69a)[_0x91859e(0x18b)](null)[_0x91859e(0x16b)](()=>({'tag':_0x91859e(0x16f),'attributes':{'width':_0x3328cd,'height':_0xb4acfd,'align':_0x3b491e}}));}function _0x10e4(){const _0x5f2f45=['align','250px',';\x20height:\x20','140px','2946jYbsWs','map','72px','7043600ZanPkq','54tewXEf','div','center','width','21740pyrrFO','2556aXgdno','setTemplate','238281atLRWV','17ZnnLRT','attributes','5159968ZsicQE','20292fPrBUo','24px','right','618961rrfGbe','height','128px','150px','left','88px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','ck-ai-skeleton__item','44px','13013MwMvhh','ck-ai-skeleton','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','100%','56QaBZpB','width:\x20','fill','40px','class','tag','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','_createSkeletonItems'];_0x10e4=function(){return _0x5f2f45;};return _0x10e4();}
23
+ const _0x1b7826=_0x409b;(function(_0x497d4d,_0x7e127e){const _0x2c868e=_0x409b,_0x349bfc=_0x497d4d();while(!![]){try{const _0x206d8a=parseInt(_0x2c868e(0x1f9))/0x1*(parseInt(_0x2c868e(0x1f6))/0x2)+parseInt(_0x2c868e(0x207))/0x3+parseInt(_0x2c868e(0x208))/0x4+-parseInt(_0x2c868e(0x201))/0x5*(-parseInt(_0x2c868e(0x20b))/0x6)+-parseInt(_0x2c868e(0x212))/0x7*(-parseInt(_0x2c868e(0x209))/0x8)+-parseInt(_0x2c868e(0x1f2))/0x9*(parseInt(_0x2c868e(0x1f1))/0xa)+-parseInt(_0x2c868e(0x203))/0xb*(parseInt(_0x2c868e(0x20f))/0xc);if(_0x206d8a===_0x7e127e)break;else _0x349bfc['push'](_0x349bfc['shift']());}catch(_0xb54574){_0x349bfc['push'](_0x349bfc['shift']());}}}(_0x2793,0x94438));import{View as _0x3a2be9}from'ckeditor5/src/ui.js';function _0x409b(_0x10f3da,_0x52164e){const _0x279384=_0x2793();return _0x409b=function(_0x409b25,_0x2127aa){_0x409b25=_0x409b25-0x1ec;let _0x5111d2=_0x279384[_0x409b25];return _0x5111d2;},_0x409b(_0x10f3da,_0x52164e);}export class AISkeletonView extends _0x3a2be9{constructor(_0x40deb1,_0x5da481){const _0x421c4f=_0x409b;super(_0x40deb1),this[_0x421c4f(0x1fe)]({'tag':_0x421c4f(0x1ff),'attributes':{'class':['ck',_0x421c4f(0x215)]},'children':this[_0x421c4f(0x216)](_0x5da481)});}[_0x1b7826(0x216)](_0x3a2270){const _0x30d7dc=_0x1b7826,_0x567414=['ck',_0x30d7dc(0x20d)];return _0x3a2270[_0x30d7dc(0x1fb)](_0x14519d=>{const _0xca64d8=_0x30d7dc;let _0x380edf='';switch(_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x1f5)]){case _0xca64d8(0x211):_0x380edf=_0xca64d8(0x20a);break;case _0xca64d8(0x213):_0x380edf=_0xca64d8(0x1f4);break;case _0xca64d8(0x202):_0x380edf=_0xca64d8(0x1fd);}return{'tag':_0x14519d[_0xca64d8(0x1f8)],'attributes':{'class':[..._0x567414,_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x1f3)]?_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x1f3)]:''],'style':_0xca64d8(0x200)+_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x206)]+_0xca64d8(0x20e)+_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x1ef)]+';'+_0x380edf}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x1ec),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x1f0),'height':_0x1b7826(0x1f7),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x1fc),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x1fa),'height':_0x1b7826(0x1f7),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x210),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x1f0),'height':_0x1b7826(0x1f7),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x1fc),'align':_0x1b7826(0x211)}}],'aiHistory':ta(0x5,_0x1b7826(0x214),_0x1b7826(0x1ed),_0x1b7826(0x211)),'aiChatResources':ta(0x8,_0x1b7826(0x214),_0x1b7826(0x205),_0x1b7826(0x211)),'aiReviewChecks':[{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x20c),'height':_0x1b7826(0x205),'align':_0x1b7826(0x202)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x205),'align':_0x1b7826(0x202)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x20c),'height':_0x1b7826(0x205),'align':_0x1b7826(0x202)}}]};function _0x2793(){const _0x48d785=['div','width:\x20','5810hrMbir','left','1034jlQOTJ','attributes','24px','width','978174geQIVN','4837040HOhQcX','16jAXPNh','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','294coZkgz','128px','ck-ai-skeleton__item',';\x20height:\x20','74076jijVaP','140px','right','1668366spEtLx','center','100%','ck-ai-skeleton','_createSkeletonItems','72px','44px','fill','height','250px','260sNEhHC','330507zmuuQe','class','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','align','336vuSXXG','40px','tag','437NoVwhI','150px','map','88px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','setTemplate'];_0x2793=function(){return _0x48d785;};return _0x2793();}function ta(_0x45c32f,_0x4ddd12,_0x7df066,_0x2d7a23){const _0x45f498=_0x1b7826;return new Array(_0x45c32f)[_0x45f498(0x1ee)](null)[_0x45f498(0x1fb)](()=>({'tag':_0x45f498(0x1ff),'attributes':{'width':_0x4ddd12,'height':_0x7df066,'align':_0x2d7a23}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5caf(){const _0x2ed4bc=['82506yDhyTj','5430iEXnNr','653028cWNCvP','2969816eeeHFM','ck-ai-spinner','281556WKepta','940wHAJDQ','9oVLKHc','span','ck-ai-spinner_','140378isapZh','538636LuKDvK','extendTemplate'];_0x5caf=function(){return _0x2ed4bc;};return _0x5caf();}(function(_0x52c519,_0x5e6af0){const _0xe7423a=_0x2dca,_0x3b2242=_0x52c519();while(!![]){try{const _0x6253bb=parseInt(_0xe7423a(0x1e2))/0x1+parseInt(_0xe7423a(0x1ec))/0x2+parseInt(_0xe7423a(0x1e4))/0x3+-parseInt(_0xe7423a(0x1e8))/0x4*(-parseInt(_0xe7423a(0x1e3))/0x5)+-parseInt(_0xe7423a(0x1e7))/0x6+-parseInt(_0xe7423a(0x1e0))/0x7+-parseInt(_0xe7423a(0x1e5))/0x8*(parseInt(_0xe7423a(0x1e9))/0x9);if(_0x6253bb===_0x5e6af0)break;else _0x3b2242['push'](_0x3b2242['shift']());}catch(_0x2fe556){_0x3b2242['push'](_0x3b2242['shift']());}}}(_0x5caf,0x1fdb0));import{SpinnerView as _0x10c2e5}from'ckeditor5/src/ui.js';function _0x2dca(_0x1b5072,_0x20a102){const _0x5caf8f=_0x5caf();return _0x2dca=function(_0x2dca8c,_0x5af137){_0x2dca8c=_0x2dca8c-0x1e0;let _0x2991e5=_0x5caf8f[_0x2dca8c];return _0x2991e5;},_0x2dca(_0x1b5072,_0x20a102);}export class AISpinnerView extends _0x10c2e5{constructor(_0x530f19=void 0x0){const _0x2cb000=_0x2dca;super();const _0x40aef8=_0x530f19?_0x2cb000(0x1eb)+_0x530f19:'';this[_0x2cb000(0x1e1)]({'tag':_0x2cb000(0x1ea),'attributes':{'class':[_0x2cb000(0x1e6),_0x40aef8]}});}}
23
+ function _0x9c71(){const _0x371164=['18dewKJC','extendTemplate','ck-ai-spinner_','span','382wYkVFV','163676rKeDme','56490uHkJyM','ck-ai-spinner','9ezMDHF','1876840epLQJy','9ldbHbF','11278894pyOuah','2922773opnzRz','163928PvLDhr','2018eriGjK'];_0x9c71=function(){return _0x371164;};return _0x9c71();}(function(_0x18efd5,_0x2abd36){const _0x43283c=_0x4a08,_0x155eb2=_0x18efd5();while(!![]){try{const _0x5a0428=-parseInt(_0x43283c(0x13e))/0x1*(parseInt(_0x43283c(0x148))/0x2)+parseInt(_0x43283c(0x142))/0x3*(-parseInt(_0x43283c(0x13f))/0x4)+parseInt(_0x43283c(0x140))/0x5*(-parseInt(_0x43283c(0x149))/0x6)+-parseInt(_0x43283c(0x146))/0x7+parseInt(_0x43283c(0x147))/0x8*(-parseInt(_0x43283c(0x144))/0x9)+parseInt(_0x43283c(0x143))/0xa+parseInt(_0x43283c(0x145))/0xb;if(_0x5a0428===_0x2abd36)break;else _0x155eb2['push'](_0x155eb2['shift']());}catch(_0x4e77fd){_0x155eb2['push'](_0x155eb2['shift']());}}}(_0x9c71,0x38dd7));function _0x4a08(_0x5e4a97,_0x51fa0b){const _0x9c71f5=_0x9c71();return _0x4a08=function(_0x4a08e2,_0x30b31d){_0x4a08e2=_0x4a08e2-0x13e;let _0x41732f=_0x9c71f5[_0x4a08e2];return _0x41732f;},_0x4a08(_0x5e4a97,_0x51fa0b);}import{SpinnerView as _0x4a47c3}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x4a47c3{constructor(_0x289815=void 0x0){const _0x2a705f=_0x4a08;super();const _0x246909=_0x289815?_0x2a705f(0x14b)+_0x289815:'';this[_0x2a705f(0x14a)]({'tag':_0x2a705f(0x14c),'attributes':{'class':[_0x2a705f(0x141),_0x246909]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59dc8e=_0x36cf;(function(_0x3cc597,_0x5b21c5){const _0x42f5a0=_0x36cf,_0x5e2d8f=_0x3cc597();while(!![]){try{const _0x2627fb=-parseInt(_0x42f5a0(0x10c))/0x1+-parseInt(_0x42f5a0(0x12a))/0x2*(parseInt(_0x42f5a0(0x124))/0x3)+-parseInt(_0x42f5a0(0x127))/0x4+-parseInt(_0x42f5a0(0x107))/0x5+-parseInt(_0x42f5a0(0x129))/0x6+parseInt(_0x42f5a0(0x123))/0x7*(-parseInt(_0x42f5a0(0xfe))/0x8)+parseInt(_0x42f5a0(0x118))/0x9;if(_0x2627fb===_0x5b21c5)break;else _0x5e2d8f['push'](_0x5e2d8f['shift']());}catch(_0x5b97a2){_0x5e2d8f['push'](_0x5e2d8f['shift']());}}}(_0x5c53,0x50630));function _0x5c53(){const _0x570bd1=['754EzQATG','customView','dislikeButton','AI_SUGGESTION_BUTTON_SHOW_CHANGES','AI_MINI_TOOLBAR_LIKE','_setupShowChangesButton','17312JTyFUP','length','showChanges','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','showChangesButton','execute','ck-ai-mini-toolbar','class','ck-ai-mini-toolbar\x20ck-hidden','1479200cXaxJt','showDislike','_config','ck-ai-mini-toolbar-copy-button','dislike','235113ecYesY','showLike','locale','items','children','isEnabled','isOn','AI_MINI_TOOLBAR_COPY','ck-ai-mini-toolbar-copy-button__check-mark','full','showCopy','set','18751959PjnpcH','add','isLoading','likeButton','AI_MINI_TOOLBAR_DISLIKE','addMany','like','_setupCopyButton','bind','_setupRatingButtons','toggleShowChanges','1246IhFysl','1311pJmIDG','copyButton','fire','462648xagEFQ','extendTemplate','3346386auwWhg'];_0x5c53=function(){return _0x570bd1;};return _0x5c53();}import{ButtonView as _0x233837,IconView as _0x5cca79,ToolbarView as _0x9e3413}from'ckeditor5/src/ui.js';function _0x36cf(_0x20b8b2,_0x59dc20){const _0x5c53dc=_0x5c53();return _0x36cf=function(_0x36cf23,_0x18b9c4){_0x36cf23=_0x36cf23-0xfa;let _0x3f4a00=_0x5c53dc[_0x36cf23];return _0x3f4a00;},_0x36cf(_0x20b8b2,_0x59dc20);}import{IconCheck as _0x16629b,IconCopy as _0x9b19cc,IconShowChangesOff as _0x24b5e9,IconShowChangesOn as _0x3fd6f8,IconThumbDown as _0x3b3af0,IconThumbUp as _0x1f446b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2fab33}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x9e3413{[_0x59dc8e(0x125)];[_0x59dc8e(0x11b)];[_0x59dc8e(0xfa)];[_0x59dc8e(0x102)];[_0x59dc8e(0x109)];constructor(_0x570354,_0x6d335d={},_0x4d76b5){const _0x56cb88=_0x59dc8e;super(_0x570354),this[_0x56cb88(0x117)](_0x56cb88(0x11a),!0x1),this[_0x56cb88(0x109)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x6d335d};const _0x46127c=!(this[_0x56cb88(0x109)][_0x56cb88(0x116)]||this[_0x56cb88(0x109)][_0x56cb88(0x100)]||this[_0x56cb88(0x109)][_0x56cb88(0x10d)]||this[_0x56cb88(0x109)][_0x56cb88(0x108)]||this[_0x56cb88(0x109)][_0x56cb88(0x12b)]?.[_0x56cb88(0xff)]);this[_0x56cb88(0x105)]=_0x46127c?_0x56cb88(0x106):_0x56cb88(0x104),this[_0x56cb88(0x109)][_0x56cb88(0x116)]&&(this[_0x56cb88(0x11f)](),this[_0x56cb88(0x10f)][_0x56cb88(0x119)](this[_0x56cb88(0x125)])),this[_0x56cb88(0x109)][_0x56cb88(0x100)]&&(this[_0x56cb88(0xfd)](_0x4d76b5),this[_0x56cb88(0x10f)][_0x56cb88(0x119)](this[_0x56cb88(0x102)])),this[_0x56cb88(0x121)](),this[_0x56cb88(0x109)][_0x56cb88(0x10d)]&&this[_0x56cb88(0x10f)][_0x56cb88(0x119)](this[_0x56cb88(0x11b)]),this[_0x56cb88(0x109)][_0x56cb88(0x108)]&&this[_0x56cb88(0x10f)][_0x56cb88(0x119)](this[_0x56cb88(0xfa)]),this[_0x56cb88(0x109)][_0x56cb88(0x12b)]&&this[_0x56cb88(0x10f)][_0x56cb88(0x11d)](this[_0x56cb88(0x109)][_0x56cb88(0x12b)]);}[_0x59dc8e(0x121)](){const _0x5a64c4=_0x59dc8e;this[_0x5a64c4(0x11b)]=new _0x233837(this[_0x5a64c4(0x10e)]),this[_0x5a64c4(0x11b)][_0x5a64c4(0x117)]({'icon':_0x1f446b,'label':_0x2fab33(this[_0x5a64c4(0x10e)],_0x5a64c4(0xfc)),'tooltip':!0x0}),this[_0x5a64c4(0x11b)][_0x5a64c4(0x120)](_0x5a64c4(0x111))['to'](this,_0x5a64c4(0x11a),_0x47ae54=>!_0x47ae54),this[_0x5a64c4(0x11b)]['on'](_0x5a64c4(0x103),()=>{const _0x2fed6e=_0x5a64c4;this[_0x2fed6e(0x126)](_0x2fed6e(0x11e));}),this[_0x5a64c4(0xfa)]=new _0x233837(this[_0x5a64c4(0x10e)]),this[_0x5a64c4(0xfa)][_0x5a64c4(0x117)]({'icon':_0x3b3af0,'label':_0x2fab33(this[_0x5a64c4(0x10e)],_0x5a64c4(0x11c)),'tooltip':!0x0}),this[_0x5a64c4(0xfa)][_0x5a64c4(0x120)](_0x5a64c4(0x111))['to'](this,_0x5a64c4(0x11a),_0x294cca=>!_0x294cca),this[_0x5a64c4(0xfa)]['on'](_0x5a64c4(0x103),()=>{const _0x5226b5=_0x5a64c4;this[_0x5226b5(0x126)](_0x5226b5(0x10b));});}[_0x59dc8e(0x11f)](){const _0x393f8d=_0x59dc8e;this[_0x393f8d(0x125)]=new _0x233837(this[_0x393f8d(0x10e)]),this[_0x393f8d(0x125)][_0x393f8d(0x117)]({'icon':_0x9b19cc,'label':_0x2fab33(this[_0x393f8d(0x10e)],_0x393f8d(0x113)),'class':_0x393f8d(0x10a),'tooltip':!0x0}),this[_0x393f8d(0x125)][_0x393f8d(0x120)](_0x393f8d(0x111))['to'](this,_0x393f8d(0x11a),_0x2ba44e=>!_0x2ba44e);const _0x424f26=new _0x5cca79();_0x424f26[_0x393f8d(0x117)]({'content':_0x16629b}),_0x424f26[_0x393f8d(0x128)]({'attributes':{'class':[_0x393f8d(0x114)]}}),this[_0x393f8d(0x125)]['on'](_0x393f8d(0x103),()=>{const _0x33b870=_0x393f8d;this[_0x33b870(0x125)][_0x33b870(0x105)]=_0x33b870(0x101),setTimeout(()=>{const _0x91e4b6=_0x33b870;this[_0x91e4b6(0x125)][_0x91e4b6(0x105)]=_0x91e4b6(0x10a);},0x7d0);}),this[_0x393f8d(0x125)][_0x393f8d(0x110)][_0x393f8d(0x119)](_0x424f26);}[_0x59dc8e(0xfd)](_0x1468bc){const _0xba5e60=_0x59dc8e;this[_0xba5e60(0x102)]=new _0x233837(this[_0xba5e60(0x10e)]),this[_0xba5e60(0x102)][_0xba5e60(0x117)]({'icon':_0x24b5e9,'label':_0x2fab33(this[_0xba5e60(0x10e)],_0xba5e60(0xfb)),'withText':_0xba5e60(0x115)==this[_0xba5e60(0x109)][_0xba5e60(0x100)],'tooltip':_0xba5e60(0x115)!=this[_0xba5e60(0x109)][_0xba5e60(0x100)],'isOn':_0x1468bc}),this[_0xba5e60(0x102)][_0xba5e60(0x120)](_0xba5e60(0x111))['to'](this,_0xba5e60(0x11a),_0x310c9a=>!_0x310c9a),this[_0xba5e60(0x102)]['on'](_0xba5e60(0x103),()=>{const _0x3b0ed5=_0xba5e60,_0x35eca8=!this[_0x3b0ed5(0x102)][_0x3b0ed5(0x112)];this[_0x3b0ed5(0x102)][_0x3b0ed5(0x117)]({'isOn':_0x35eca8,'icon':_0x35eca8?_0x3fd6f8:_0x24b5e9}),this[_0x3b0ed5(0x126)](_0x3b0ed5(0x122),_0x35eca8);});}}
23
+ function _0x502c(_0xd0ad6f,_0x3028b9){const _0x9b8211=_0x9b82();return _0x502c=function(_0x502c2f,_0x32ac43){_0x502c2f=_0x502c2f-0x93;let _0x337503=_0x9b8211[_0x502c2f];return _0x337503;},_0x502c(_0xd0ad6f,_0x3028b9);}const _0x25f663=_0x502c;(function(_0x47b7d4,_0xf4d2bc){const _0x2f6816=_0x502c,_0x13170c=_0x47b7d4();while(!![]){try{const _0xa806cd=parseInt(_0x2f6816(0xbe))/0x1+parseInt(_0x2f6816(0xb8))/0x2+parseInt(_0x2f6816(0xb1))/0x3*(-parseInt(_0x2f6816(0xa8))/0x4)+parseInt(_0x2f6816(0xaf))/0x5+-parseInt(_0x2f6816(0xa0))/0x6+-parseInt(_0x2f6816(0xb6))/0x7*(parseInt(_0x2f6816(0x93))/0x8)+-parseInt(_0x2f6816(0x9d))/0x9*(-parseInt(_0x2f6816(0xac))/0xa);if(_0xa806cd===_0xf4d2bc)break;else _0x13170c['push'](_0x13170c['shift']());}catch(_0xf98e6b){_0x13170c['push'](_0x13170c['shift']());}}}(_0x9b82,0x95610));import{ButtonView as _0xf96e71,IconView as _0x485e8c,ToolbarView as _0x15c0cd}from'ckeditor5/src/ui.js';import{IconCheck as _0xed5554,IconCopy as _0x37f728,IconShowChangesOff as _0x47bf64,IconShowChangesOn as _0x57e704,IconThumbDown as _0x826af6,IconThumbUp as _0xa10e9b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x541c6b}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x15c0cd{[_0x25f663(0xa4)];[_0x25f663(0xa9)];[_0x25f663(0x9f)];[_0x25f663(0xbf)];[_0x25f663(0x9c)];constructor(_0x321039,_0x243b48={},_0x3ecc72){const _0x663e4e=_0x25f663;super(_0x321039),this[_0x663e4e(0xa3)](_0x663e4e(0xa1),!0x1),this[_0x663e4e(0x9c)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x243b48};const _0x1223e5=!(this[_0x663e4e(0x9c)][_0x663e4e(0xb7)]||this[_0x663e4e(0x9c)][_0x663e4e(0xc0)]||this[_0x663e4e(0x9c)][_0x663e4e(0xab)]||this[_0x663e4e(0x9c)][_0x663e4e(0xa7)]||this[_0x663e4e(0x9c)][_0x663e4e(0x99)]?.[_0x663e4e(0xaa)]);this[_0x663e4e(0x97)]=_0x1223e5?_0x663e4e(0xb3):_0x663e4e(0xbd),this[_0x663e4e(0x9c)][_0x663e4e(0xb7)]&&(this[_0x663e4e(0x94)](),this[_0x663e4e(0x9e)][_0x663e4e(0x95)](this[_0x663e4e(0xa4)])),this[_0x663e4e(0x9c)][_0x663e4e(0xc0)]&&(this[_0x663e4e(0xc5)](_0x3ecc72),this[_0x663e4e(0x9e)][_0x663e4e(0x95)](this[_0x663e4e(0xbf)])),this[_0x663e4e(0xbc)](),this[_0x663e4e(0x9c)][_0x663e4e(0xab)]&&this[_0x663e4e(0x9e)][_0x663e4e(0x95)](this[_0x663e4e(0xa9)]),this[_0x663e4e(0x9c)][_0x663e4e(0xa7)]&&this[_0x663e4e(0x9e)][_0x663e4e(0x95)](this[_0x663e4e(0x9f)]),this[_0x663e4e(0x9c)][_0x663e4e(0x99)]&&this[_0x663e4e(0x9e)][_0x663e4e(0x98)](this[_0x663e4e(0x9c)][_0x663e4e(0x99)]);}[_0x25f663(0xbc)](){const _0x321f44=_0x25f663;this[_0x321f44(0xa9)]=new _0xf96e71(this[_0x321f44(0xbb)]),this[_0x321f44(0xa9)][_0x321f44(0xa3)]({'icon':_0xa10e9b,'label':_0x541c6b(this[_0x321f44(0xbb)],_0x321f44(0xa2)),'tooltip':!0x0}),this[_0x321f44(0xa9)][_0x321f44(0xa5)](_0x321f44(0xc1))['to'](this,_0x321f44(0xa1),_0x41f1a3=>!_0x41f1a3),this[_0x321f44(0xa9)]['on'](_0x321f44(0xba),()=>{const _0x3f104b=_0x321f44;this[_0x3f104b(0xb5)](_0x3f104b(0xb0));}),this[_0x321f44(0x9f)]=new _0xf96e71(this[_0x321f44(0xbb)]),this[_0x321f44(0x9f)][_0x321f44(0xa3)]({'icon':_0x826af6,'label':_0x541c6b(this[_0x321f44(0xbb)],_0x321f44(0xae)),'tooltip':!0x0}),this[_0x321f44(0x9f)][_0x321f44(0xa5)](_0x321f44(0xc1))['to'](this,_0x321f44(0xa1),_0x1f6db2=>!_0x1f6db2),this[_0x321f44(0x9f)]['on'](_0x321f44(0xba),()=>{const _0x1e44d3=_0x321f44;this[_0x1e44d3(0xb5)](_0x1e44d3(0xc2));});}[_0x25f663(0x94)](){const _0x10c0a6=_0x25f663;this[_0x10c0a6(0xa4)]=new _0xf96e71(this[_0x10c0a6(0xbb)]),this[_0x10c0a6(0xa4)][_0x10c0a6(0xa3)]({'icon':_0x37f728,'label':_0x541c6b(this[_0x10c0a6(0xbb)],_0x10c0a6(0xb4)),'class':_0x10c0a6(0x96),'tooltip':!0x0}),this[_0x10c0a6(0xa4)][_0x10c0a6(0xa5)](_0x10c0a6(0xc1))['to'](this,_0x10c0a6(0xa1),_0xb9151f=>!_0xb9151f);const _0x31f163=new _0x485e8c();_0x31f163[_0x10c0a6(0xa3)]({'content':_0xed5554}),_0x31f163[_0x10c0a6(0xad)]({'attributes':{'class':[_0x10c0a6(0xa6)]}}),this[_0x10c0a6(0xa4)]['on'](_0x10c0a6(0xba),()=>{const _0x4ffe3c=_0x10c0a6;this[_0x4ffe3c(0xa4)][_0x4ffe3c(0x97)]=_0x4ffe3c(0xb2),setTimeout(()=>{const _0x5bc4b2=_0x4ffe3c;this[_0x5bc4b2(0xa4)][_0x5bc4b2(0x97)]=_0x5bc4b2(0x96);},0x7d0);}),this[_0x10c0a6(0xa4)][_0x10c0a6(0xc3)][_0x10c0a6(0x95)](_0x31f163);}[_0x25f663(0xc5)](_0x246582){const _0x4ed734=_0x25f663;this[_0x4ed734(0xbf)]=new _0xf96e71(this[_0x4ed734(0xbb)]),this[_0x4ed734(0xbf)][_0x4ed734(0xa3)]({'icon':_0x47bf64,'label':_0x541c6b(this[_0x4ed734(0xbb)],_0x4ed734(0xb9)),'withText':_0x4ed734(0x9a)==this[_0x4ed734(0x9c)][_0x4ed734(0xc0)],'tooltip':_0x4ed734(0x9a)!=this[_0x4ed734(0x9c)][_0x4ed734(0xc0)],'isOn':_0x246582}),this[_0x4ed734(0xbf)][_0x4ed734(0xa5)](_0x4ed734(0xc1))['to'](this,_0x4ed734(0xa1),_0x3e7182=>!_0x3e7182),this[_0x4ed734(0xbf)]['on'](_0x4ed734(0xba),()=>{const _0x599594=_0x4ed734,_0xc9a4e=!this[_0x599594(0xbf)][_0x599594(0xc4)];this[_0x599594(0xbf)][_0x599594(0xa3)]({'isOn':_0xc9a4e,'icon':_0xc9a4e?_0x57e704:_0x47bf64}),this[_0x599594(0xb5)](_0x599594(0x9b),_0xc9a4e);});}}function _0x9b82(){const _0x3446df=['full','toggleShowChanges','_config','9ppyjUc','items','dislikeButton','4483860jXKcdk','isLoading','AI_MINI_TOOLBAR_LIKE','set','copyButton','bind','ck-ai-mini-toolbar-copy-button__check-mark','showDislike','47836CBLwgv','likeButton','length','showLike','1424070eYyEjt','extendTemplate','AI_MINI_TOOLBAR_DISLIKE','2225885dYMwGG','like','111UHzyiq','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_COPY','fire','385pvnnRf','showCopy','1785792ooUzuK','AI_SUGGESTION_BUTTON_SHOW_CHANGES','execute','locale','_setupRatingButtons','ck-ai-mini-toolbar','391294UJNgLA','showChangesButton','showChanges','isEnabled','dislike','children','isOn','_setupShowChangesButton','10200cyYsJw','_setupCopyButton','add','ck-ai-mini-toolbar-copy-button','class','addMany','customView'];_0x9b82=function(){return _0x3446df;};return _0x9b82();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ea3af=_0x407f;(function(_0x120669,_0x317eea){const _0x98c0c4=_0x407f,_0x2a3306=_0x120669();while(!![]){try{const _0x1495c6=-parseInt(_0x98c0c4(0x12c))/0x1*(parseInt(_0x98c0c4(0x162))/0x2)+-parseInt(_0x98c0c4(0x14d))/0x3*(parseInt(_0x98c0c4(0x134))/0x4)+-parseInt(_0x98c0c4(0x150))/0x5*(-parseInt(_0x98c0c4(0x147))/0x6)+-parseInt(_0x98c0c4(0x14b))/0x7*(-parseInt(_0x98c0c4(0x163))/0x8)+-parseInt(_0x98c0c4(0x14e))/0x9*(-parseInt(_0x98c0c4(0x151))/0xa)+-parseInt(_0x98c0c4(0x13e))/0xb+-parseInt(_0x98c0c4(0x157))/0xc*(-parseInt(_0x98c0c4(0x160))/0xd);if(_0x1495c6===_0x317eea)break;else _0x2a3306['push'](_0x2a3306['shift']());}catch(_0x48eb7d){_0x2a3306['push'](_0x2a3306['shift']());}}}(_0x1f7c,0x3fd7d));import{View as _0x5c98ad}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x3047db}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5cd060}from'../../utils/eventnames.js';function _0x407f(_0x3c0620,_0x52e280){const _0x1f7c5f=_0x1f7c();return _0x407f=function(_0x407f53,_0x6392f1){_0x407f53=_0x407f53-0x12a;let _0x49fbcf=_0x1f7c5f[_0x407f53];return _0x49fbcf;},_0x407f(_0x3c0620,_0x52e280);}import{PromiseQueue as _0x54361f}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0xd8e5d0}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x4a330f}from'../../utils/common-translations.js';function _0x1f7c(){const _0x2fc2d0=['delegate','find','749056gOxzZF','hasChanges','setTemplate','_areActionsDisabled','addEventListener','forEach','_availableActions','setContent','getPartView','7194OGZpns','ck-ai-suggestion__body','ck-ai-suggestion__body__content-parts','hasNonEmptyParts','4851BanGWh','partDefinition','3KnVXOE','5463ZIXOfj','updatePartState','5uJRsNl','5510GmvWsk','add','updateContentParts','_children','pending','toggleHeader','36PRsWUV','abort','queueEmptyPromise','push','partsCount','some','_emptyPartsWarningView','_showUnchangedParts','index','2152189XbiKwj','locale','2jvuYaE','648qApItZ','warning','set','from','filter','findIndex','markAsDone','291073GuQAwo','createCollection','state','isVisible','first','AI_SUGGESTION_NO_PARTS_WARNING','AI_SUGGESTION_EMPTY_PART_WARNING','empty-parts-warning','1071112dOsUGM','hasPendingParts','div','_updateContentPartsPromiseQueue','_cachedContentParts','updateContent','enqueue','length'];_0x1f7c=function(){return _0x2fc2d0;};return _0x1f7c();}export class AISuggestionBodyView extends _0x5c98ad{[_0x5ea3af(0x154)];[_0x5ea3af(0x141)];[_0x5ea3af(0x15e)];[_0x5ea3af(0x137)];[_0x5ea3af(0x15d)];[_0x5ea3af(0x144)];[_0x5ea3af(0x138)]=[];constructor(_0x461334,_0x6a9ca7){const _0x224a6d=_0x5ea3af;super(_0x461334);const {areActionsDisabled:_0x14cb2c,showUnchangedParts:_0x51ab9f,availableActions:_0x24cac1}=_0x6a9ca7;this[_0x224a6d(0x141)]=_0x14cb2c,this[_0x224a6d(0x15e)]=_0x51ab9f,this[_0x224a6d(0x144)]=_0x24cac1,this[_0x224a6d(0x165)](_0x224a6d(0x135),!0x1),this[_0x224a6d(0x154)]=this[_0x224a6d(0x12d)](),this[_0x224a6d(0x137)]=new _0x54361f(),this[_0x224a6d(0x15d)]=new _0xd8e5d0({'id':_0x224a6d(0x133),'initialContent':_0x4a330f(_0x461334,_0x224a6d(0x132)),'level':_0x224a6d(0x164)}),this[_0x224a6d(0x15d)][_0x224a6d(0x12f)]=!0x1,this[_0x224a6d(0x140)]({'tag':_0x224a6d(0x136),'attributes':{'class':['ck',_0x224a6d(0x148)]},'children':[{'tag':_0x224a6d(0x136),'attributes':{'class':['ck',_0x224a6d(0x149)]},'children':this[_0x224a6d(0x154)]},this[_0x224a6d(0x15d)]]});}get[_0x5ea3af(0x15b)](){const _0x5ee190=_0x5ea3af;return this[_0x5ee190(0x154)][_0x5ee190(0x13b)];}async[_0x5ea3af(0x153)]({parts:_0x3c001b,renderingStrategy:_0x13f5a9,abortSignal:_0x5421a9}){const _0x1a87df=_0x5ea3af;this[_0x1a87df(0x154)][_0x1a87df(0x13b)]?_0x3c001b[_0x1a87df(0x143)](_0x54ee99=>{const _0x137fc5=_0x1a87df,_0x285633=this[_0x137fc5(0x138)][_0x137fc5(0x12a)](_0xdf54c2=>_0xdf54c2[_0x137fc5(0x15f)]==_0x54ee99[_0x137fc5(0x15f)]);-0x1===_0x285633?this[_0x137fc5(0x138)][_0x137fc5(0x15a)](_0x54ee99):this[_0x137fc5(0x138)][_0x285633]=_0x54ee99;}):this[_0x1a87df(0x138)]=_0x3c001b;for(const _0x3ce782 of _0x3c001b[_0x1a87df(0x167)](_0x23ee00=>_0x23ee00[_0x1a87df(0x13f)]))this[_0x1a87df(0x137)][_0x1a87df(0x13a)](async _0x42e731=>{const _0x59e3c0=_0x1a87df;let _0x31e93e=this[_0x59e3c0(0x146)](_0x3ce782[_0x59e3c0(0x15f)]);_0x31e93e||(_0x31e93e=new _0x3047db(this[_0x59e3c0(0x161)],{'part':_0x3ce782,'uiIndex':this[_0x59e3c0(0x154)][_0x59e3c0(0x13b)]+0x1,'areActionsDisabled':this[_0x59e3c0(0x141)],'availableActions':this[_0x59e3c0(0x144)]}),_0x31e93e[_0x59e3c0(0x13c)](..._0x5cd060)['to'](this),this[_0x59e3c0(0x154)][_0x59e3c0(0x152)](_0x31e93e),this[_0x59e3c0(0x135)]=!0x0),0x2===this[_0x59e3c0(0x154)][_0x59e3c0(0x13b)]&&this[_0x59e3c0(0x154)][_0x59e3c0(0x130)][_0x59e3c0(0x156)](!0x0),_0x31e93e[_0x59e3c0(0x156)](this[_0x59e3c0(0x154)][_0x59e3c0(0x13b)]>0x1),await _0x31e93e[_0x59e3c0(0x139)]({'part':_0x3ce782,'renderingStrategy':_0x13f5a9,'showUnchangedParts':this[_0x59e3c0(0x15e)],'abortSignal':_0x42e731});});return _0x5421a9?.[_0x1a87df(0x142)](_0x1a87df(0x158),()=>{const _0x3e8ec0=_0x1a87df;this[_0x3e8ec0(0x137)][_0x3e8ec0(0x158)]();}),this[_0x1a87df(0x137)][_0x1a87df(0x159)];}[_0x5ea3af(0x14f)](_0x316956,_0x3dcf9a){const _0x3826ff=_0x5ea3af,_0x345533=this[_0x3826ff(0x146)](_0x316956);_0x345533&&(_0x345533[_0x3826ff(0x12e)]=_0x3dcf9a),this[_0x3826ff(0x135)]=_0x3826ff(0x155)==_0x3dcf9a||Array[_0x3826ff(0x166)](this[_0x3826ff(0x154)])[_0x3826ff(0x15c)](_0x303de5=>_0x3826ff(0x155)==_0x303de5[_0x3826ff(0x12e)]);}[_0x5ea3af(0x146)](_0x38f248){const _0x19238e=_0x5ea3af;return this[_0x19238e(0x154)][_0x19238e(0x13d)](_0x44eedc=>_0x44eedc[_0x19238e(0x14c)][_0x19238e(0x15f)]==_0x38f248)??null;}[_0x5ea3af(0x12b)](){const _0x370a33=_0x5ea3af;if(!this[_0x370a33(0x15e)]){const _0x5263d2=!this[_0x370a33(0x138)][_0x370a33(0x13d)](({hasChanges:_0x21e03b})=>_0x21e03b),_0x1560b0=!!this[_0x370a33(0x138)][_0x370a33(0x13d)](({hasChanges:_0x4e75dd})=>!_0x4e75dd);this[_0x370a33(0x15d)][_0x370a33(0x12f)]=0x0==this[_0x370a33(0x154)][_0x370a33(0x13b)]||_0x1560b0,_0x5263d2?this[_0x370a33(0x15d)][_0x370a33(0x145)](_0x4a330f(this[_0x370a33(0x161)],_0x370a33(0x131))):this[_0x370a33(0x15d)][_0x370a33(0x145)](_0x4a330f(this[_0x370a33(0x161)],_0x370a33(0x132)));}}get[_0x5ea3af(0x14a)](){const _0x56e795=_0x5ea3af;return!!this[_0x56e795(0x154)][_0x56e795(0x13d)](_0x39d547=>_0x39d547[_0x56e795(0x14c)][_0x56e795(0x13f)]);}}
23
+ const _0x1a3741=_0x5078;(function(_0x407b35,_0x36dbfd){const _0x24db4a=_0x5078,_0x51bf80=_0x407b35();while(!![]){try{const _0x10a5b5=-parseInt(_0x24db4a(0x17f))/0x1+parseInt(_0x24db4a(0x175))/0x2*(parseInt(_0x24db4a(0x18b))/0x3)+-parseInt(_0x24db4a(0x16c))/0x4*(-parseInt(_0x24db4a(0x17d))/0x5)+parseInt(_0x24db4a(0x198))/0x6*(parseInt(_0x24db4a(0x17c))/0x7)+-parseInt(_0x24db4a(0x17a))/0x8+-parseInt(_0x24db4a(0x185))/0x9+-parseInt(_0x24db4a(0x18c))/0xa*(-parseInt(_0x24db4a(0x18d))/0xb);if(_0x10a5b5===_0x36dbfd)break;else _0x51bf80['push'](_0x51bf80['shift']());}catch(_0x339363){_0x51bf80['push'](_0x51bf80['shift']());}}}(_0x1483,0x94d4b));function _0x1483(){const _0x4837c7=['_showUnchangedParts','updatePartState','some','10596456OMTVRA','from','filter','createCollection','_cachedContentParts','_updateContentPartsPromiseQueue','3gUotXU','10FYYufF','19924487tTfshq','hasPendingParts','_children','abort','empty-parts-warning','locale','setContent','set','ck-ai-suggestion__body__content-parts','getPartView','isVisible','570072brOFGi','addEventListener','add','length','hasNonEmptyParts','AI_SUGGESTION_EMPTY_PART_WARNING','push','markAsDone','delegate','div','state','enqueue','toggleHeader','findIndex','pending','find','1828QdTHHg','_availableActions','partsCount','_emptyPartsWarningView','forEach','ck-ai-suggestion__body','warning','_areActionsDisabled','index','1284550rcEXFy','AI_SUGGESTION_NO_PARTS_WARNING','setTemplate','hasChanges','updateContent','5576200ZWNMzs','queueEmptyPromise','28KnVaXV','8785QEdGHT','updateContentParts','1152569SBYGNj','partDefinition','first'];_0x1483=function(){return _0x4837c7;};return _0x1483();}import{View as _0x32ed5a}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x571eb7}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1e12d3}from'../../utils/eventnames.js';import{PromiseQueue as _0x46dae9}from'../../../aichat/utils/promisequeue.js';function _0x5078(_0x1c25cc,_0xd4a484){const _0x1483be=_0x1483();return _0x5078=function(_0x507851,_0x31cf0b){_0x507851=_0x507851-0x163;let _0x14ee50=_0x1483be[_0x507851];return _0x14ee50;},_0x5078(_0x1c25cc,_0xd4a484);}import{AIChatFeedErrorItemView as _0x3367d9}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x412b74}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x32ed5a{[_0x1a3741(0x18f)];[_0x1a3741(0x173)];[_0x1a3741(0x182)];[_0x1a3741(0x18a)];[_0x1a3741(0x16f)];[_0x1a3741(0x16d)];[_0x1a3741(0x189)]=[];constructor(_0x4ca6aa,_0x113f98){const _0x477388=_0x1a3741;super(_0x4ca6aa);const {areActionsDisabled:_0x1da347,showUnchangedParts:_0x446430,availableActions:_0x3e8f6c}=_0x113f98;this[_0x477388(0x173)]=_0x1da347,this[_0x477388(0x182)]=_0x446430,this[_0x477388(0x16d)]=_0x3e8f6c,this[_0x477388(0x194)](_0x477388(0x18e),!0x1),this[_0x477388(0x18f)]=this[_0x477388(0x188)](),this[_0x477388(0x18a)]=new _0x46dae9(),this[_0x477388(0x16f)]=new _0x3367d9({'id':_0x477388(0x191),'initialContent':_0x412b74(_0x4ca6aa,_0x477388(0x19d)),'level':_0x477388(0x172)}),this[_0x477388(0x16f)][_0x477388(0x197)]=!0x1,this[_0x477388(0x177)]({'tag':_0x477388(0x165),'attributes':{'class':['ck',_0x477388(0x171)]},'children':[{'tag':_0x477388(0x165),'attributes':{'class':['ck',_0x477388(0x195)]},'children':this[_0x477388(0x18f)]},this[_0x477388(0x16f)]]});}get[_0x1a3741(0x16e)](){const _0x575407=_0x1a3741;return this[_0x575407(0x18f)][_0x575407(0x19b)];}async[_0x1a3741(0x17e)]({parts:_0x5a713c,renderingStrategy:_0x4ce8e7,abortSignal:_0x5d6468}){const _0x1d0430=_0x1a3741;this[_0x1d0430(0x18f)][_0x1d0430(0x19b)]?_0x5a713c[_0x1d0430(0x170)](_0x514b7b=>{const _0xcb3aaf=_0x1d0430,_0x45fe84=this[_0xcb3aaf(0x189)][_0xcb3aaf(0x169)](_0x117998=>_0x117998[_0xcb3aaf(0x174)]==_0x514b7b[_0xcb3aaf(0x174)]);-0x1===_0x45fe84?this[_0xcb3aaf(0x189)][_0xcb3aaf(0x19e)](_0x514b7b):this[_0xcb3aaf(0x189)][_0x45fe84]=_0x514b7b;}):this[_0x1d0430(0x189)]=_0x5a713c;for(const _0x2709ae of _0x5a713c[_0x1d0430(0x187)](_0x2fb883=>_0x2fb883[_0x1d0430(0x178)]))this[_0x1d0430(0x18a)][_0x1d0430(0x167)](async _0x4856fc=>{const _0x211cbf=_0x1d0430;let _0x33807f=this[_0x211cbf(0x196)](_0x2709ae[_0x211cbf(0x174)]);_0x33807f||(_0x33807f=new _0x571eb7(this[_0x211cbf(0x192)],{'part':_0x2709ae,'uiIndex':this[_0x211cbf(0x18f)][_0x211cbf(0x19b)]+0x1,'areActionsDisabled':this[_0x211cbf(0x173)],'availableActions':this[_0x211cbf(0x16d)]}),_0x33807f[_0x211cbf(0x164)](..._0x1e12d3)['to'](this),this[_0x211cbf(0x18f)][_0x211cbf(0x19a)](_0x33807f),this[_0x211cbf(0x18e)]=!0x0),0x2===this[_0x211cbf(0x18f)][_0x211cbf(0x19b)]&&this[_0x211cbf(0x18f)][_0x211cbf(0x181)][_0x211cbf(0x168)](!0x0),_0x33807f[_0x211cbf(0x168)](this[_0x211cbf(0x18f)][_0x211cbf(0x19b)]>0x1),await _0x33807f[_0x211cbf(0x179)]({'part':_0x2709ae,'renderingStrategy':_0x4ce8e7,'showUnchangedParts':this[_0x211cbf(0x182)],'abortSignal':_0x4856fc});});return _0x5d6468?.[_0x1d0430(0x199)](_0x1d0430(0x190),()=>{const _0x16e6a0=_0x1d0430;this[_0x16e6a0(0x18a)][_0x16e6a0(0x190)]();}),this[_0x1d0430(0x18a)][_0x1d0430(0x17b)];}[_0x1a3741(0x183)](_0xb68361,_0x2c76a8){const _0xecf211=_0x1a3741,_0x4d0fda=this[_0xecf211(0x196)](_0xb68361);_0x4d0fda&&(_0x4d0fda[_0xecf211(0x166)]=_0x2c76a8),this[_0xecf211(0x18e)]=_0xecf211(0x16a)==_0x2c76a8||Array[_0xecf211(0x186)](this[_0xecf211(0x18f)])[_0xecf211(0x184)](_0x2e5d24=>_0xecf211(0x16a)==_0x2e5d24[_0xecf211(0x166)]);}[_0x1a3741(0x196)](_0xbb3148){const _0x2ce2c8=_0x1a3741;return this[_0x2ce2c8(0x18f)][_0x2ce2c8(0x16b)](_0x1ced0f=>_0x1ced0f[_0x2ce2c8(0x180)][_0x2ce2c8(0x174)]==_0xbb3148)??null;}[_0x1a3741(0x163)](){const _0x2867c6=_0x1a3741;if(!this[_0x2867c6(0x182)]){const _0x33c419=!this[_0x2867c6(0x189)][_0x2867c6(0x16b)](({hasChanges:_0x3a47ef})=>_0x3a47ef),_0x17cde1=!!this[_0x2867c6(0x189)][_0x2867c6(0x16b)](({hasChanges:_0x5d3cf9})=>!_0x5d3cf9);this[_0x2867c6(0x16f)][_0x2867c6(0x197)]=0x0==this[_0x2867c6(0x18f)][_0x2867c6(0x19b)]||_0x17cde1,_0x33c419?this[_0x2867c6(0x16f)][_0x2867c6(0x193)](_0x412b74(this[_0x2867c6(0x192)],_0x2867c6(0x176))):this[_0x2867c6(0x16f)][_0x2867c6(0x193)](_0x412b74(this[_0x2867c6(0x192)],_0x2867c6(0x19d)));}}get[_0x1a3741(0x19c)](){const _0x3a5bb0=_0x1a3741;return!!this[_0x3a5bb0(0x18f)][_0x3a5bb0(0x16b)](_0x6186f7=>_0x6186f7[_0x3a5bb0(0x180)][_0x3a5bb0(0x178)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29ac(_0x4a3dca,_0x3a0bc2){const _0x23615b=_0x2361();return _0x29ac=function(_0x29ac72,_0x422bf9){_0x29ac72=_0x29ac72-0x19b;let _0x4d11ba=_0x23615b[_0x29ac72];return _0x4d11ba;},_0x29ac(_0x4a3dca,_0x3a0bc2);}const _0x2ef322=_0x29ac;(function(_0x2c679e,_0x122434){const _0x5d4f3c=_0x29ac,_0x31e73f=_0x2c679e();while(!![]){try{const _0xb2072=-parseInt(_0x5d4f3c(0x1e6))/0x1*(-parseInt(_0x5d4f3c(0x1ce))/0x2)+-parseInt(_0x5d4f3c(0x1e3))/0x3*(-parseInt(_0x5d4f3c(0x19e))/0x4)+-parseInt(_0x5d4f3c(0x1ba))/0x5+-parseInt(_0x5d4f3c(0x1e0))/0x6+-parseInt(_0x5d4f3c(0x1ab))/0x7*(parseInt(_0x5d4f3c(0x1a2))/0x8)+parseInt(_0x5d4f3c(0x1bd))/0x9+-parseInt(_0x5d4f3c(0x1da))/0xa*(parseInt(_0x5d4f3c(0x1a0))/0xb);if(_0xb2072===_0x122434)break;else _0x31e73f['push'](_0x31e73f['shift']());}catch(_0x436c77){_0x31e73f['push'](_0x31e73f['shift']());}}}(_0x2361,0x9adec));import{IconWeb as _0x3e5111}from'@ckeditor/ckeditor5-icons';import{View as _0x53dfc3,ButtonView as _0x2e79b7,IconView as _0x25bd6a}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x5d91a0}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x1f7eab}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x39f8c6}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x548278}from'../../utils/eventnames.js';import{AISpinnerView as _0x8df1ed}from'../aispinner.js';import{getTranslation as _0x300e44}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x53dfc3{[_0x2ef322(0x1e4)];[_0x2ef322(0x1df)];[_0x2ef322(0x1d8)];[_0x2ef322(0x1bc)];[_0x2ef322(0x1d1)];[_0x2ef322(0x1f1)];[_0x2ef322(0x1e1)];constructor(_0x343c10,_0x3b1cda){const _0xda45c1=_0x2ef322;super(_0x343c10);const {showDiff:_0x3e2ebe,areActionsDisabled:_0x483de8,miniToolbarConfig:_0x502edf,hideHeader:_0x3859c7,showLoader:_0x5588f9,showUnchangedParts:_0x1ec577,availableActions:_0x37d5c7}=_0x3b1cda;this[_0xda45c1(0x1d0)](_0xda45c1(0x1b9),!0x1),this[_0xda45c1(0x1d0)](_0xda45c1(0x1d2),!!_0x5588f9),this[_0xda45c1(0x1d0)](_0xda45c1(0x1e9),!0x1),this[_0xda45c1(0x1d0)](_0xda45c1(0x1dd),!0x1),this[_0xda45c1(0x1d8)]=this[_0xda45c1(0x1ac)](),_0x3859c7||(this[_0xda45c1(0x1bc)]=new _0x1f7eab(_0x343c10,{'showDiff':_0x3e2ebe}),this[_0xda45c1(0x1bc)]['on'](_0xda45c1(0x1b4),(_0x321a7b,_0x3a9db5)=>{const _0xd24025=_0xda45c1;this[_0xd24025(0x1b9)]=_0x3a9db5[_0xd24025(0x1e8)],this[_0xd24025(0x1a9)](_0xd24025(0x1c9),{'showDiff':_0x3a9db5[_0xd24025(0x1e8)]});}),this[_0xda45c1(0x1d8)][_0xda45c1(0x1f2)](this[_0xda45c1(0x1bc)])),this[_0xda45c1(0x1e4)]=new _0x39f8c6(_0x343c10,{'areActionsDisabled':_0x483de8,'showUnchangedParts':!!_0x1ec577,'availableActions':_0x37d5c7}),this[_0xda45c1(0x1e4)][_0xda45c1(0x1b0)](..._0x548278)['to'](this),this[_0xda45c1(0x1e4)][_0xda45c1(0x1d3)]({'attributes':{'class':[this[_0xda45c1(0x1af)]['if'](_0xda45c1(0x1d2),_0xda45c1(0x1eb)),this[_0xda45c1(0x1af)]['if'](_0xda45c1(0x1e9),_0xda45c1(0x1eb))]}}),this[_0xda45c1(0x1df)]=new _0x5d91a0(_0x343c10,_0x502edf,_0x3e2ebe),this[_0xda45c1(0x1df)][_0xda45c1(0x1b0)](..._0x548278)['to'](this),this[_0xda45c1(0x1df)]['on'](_0xda45c1(0x1b4),(_0x58d725,_0x556d72)=>{const _0x473f87=_0xda45c1;this[_0x473f87(0x1b9)]=_0x556d72,this[_0x473f87(0x1a9)](_0x473f87(0x1c9),{'showDiff':_0x556d72});}),this[_0xda45c1(0x1df)][_0xda45c1(0x1ed)](_0xda45c1(0x1dd))['to'](this),this[_0xda45c1(0x1d8)][_0xda45c1(0x1f2)](this[_0xda45c1(0x1e4)]),this[_0xda45c1(0x1d8)][_0xda45c1(0x1f2)](this[_0xda45c1(0x1df)]),this[_0xda45c1(0x1e1)]=new AIWebSourcesView(this[_0xda45c1(0x1e7)]),this[_0xda45c1(0x1d8)][_0xda45c1(0x1f2)](this[_0xda45c1(0x1e1)]),_0x5588f9&&(this[_0xda45c1(0x1d1)]=this[_0xda45c1(0x1cd)](),this[_0xda45c1(0x1d8)][_0xda45c1(0x1f2)](this[_0xda45c1(0x1d1)])),this[_0xda45c1(0x1f1)]=this[_0xda45c1(0x1b5)](),this[_0xda45c1(0x1d8)][_0xda45c1(0x1f2)](this[_0xda45c1(0x1f1)]),this[_0xda45c1(0x1cc)]({'tag':_0xda45c1(0x1b3),'attributes':{'class':['ck',_0xda45c1(0x1de),_0xda45c1(0x1c7)]},'children':this[_0xda45c1(0x1d8)]});}async[_0x2ef322(0x1a1)](_0x2ba8ac){const _0x1bbcb4=_0x2ef322;await this[_0x1bbcb4(0x1e4)][_0x1bbcb4(0x1c3)](_0x2ba8ac);}[_0x2ef322(0x1c6)](_0x569b50){const _0x203a8b=_0x2ef322;this[_0x203a8b(0x1e1)][_0x203a8b(0x1d8)][_0x203a8b(0x1c2)](_0x569b50[_0x203a8b(0x1d5)](_0x51d9ea=>new AIWebSourceView(this[_0x203a8b(0x1e7)],_0x51d9ea))),this[_0x203a8b(0x1e1)][_0x203a8b(0x1c5)]=!0x0;}[_0x2ef322(0x1b8)](){const _0x429fb3=_0x2ef322;this[_0x429fb3(0x1d1)]&&(this[_0x429fb3(0x1d2)]=!0x0);}[_0x2ef322(0x19f)](){const _0x18d21c=_0x2ef322;this[_0x18d21c(0x1d1)]&&(this[_0x18d21c(0x1d2)]=!0x1);}[_0x2ef322(0x1a3)](_0x5de639){const _0xe69337=_0x2ef322;if(this[_0xe69337(0x1f1)]){const _0x38153f=this[_0xe69337(0x1f1)][_0xe69337(0x1a7)]?.[_0xe69337(0x1cb)](_0xe69337(0x1b1));_0x38153f&&(_0x38153f[_0xe69337(0x1ef)]=_0x5de639),this[_0xe69337(0x1e9)]=!0x0;}}[_0x2ef322(0x1d4)](){const _0x57702b=_0x2ef322;this[_0x57702b(0x1f1)]&&(this[_0x57702b(0x1e9)]=!0x1);}[_0x2ef322(0x1e5)](){const _0x4bb1dd=_0x2ef322;this[_0x4bb1dd(0x1e4)][_0x4bb1dd(0x1e5)](),this[_0x4bb1dd(0x1bc)]&&(this[_0x4bb1dd(0x1bc)][_0x4bb1dd(0x1d7)]=this[_0x4bb1dd(0x1e4)][_0x4bb1dd(0x1d6)]);}[_0x2ef322(0x1c4)](){const _0x35edd4=_0x2ef322;this[_0x35edd4(0x1dd)]=!0x0;}[_0x2ef322(0x1c8)](){const _0x5602f2=_0x2ef322;this[_0x5602f2(0x1dd)]=!0x1;}[_0x2ef322(0x1ee)](){const _0x2804d9=_0x2ef322;this[_0x2804d9(0x1df)]&&(this[_0x2804d9(0x1df)][_0x2804d9(0x1dd)]=!0x0),this[_0x2804d9(0x1bc)]?.[_0x2804d9(0x1a5)]&&(this[_0x2804d9(0x1bc)][_0x2804d9(0x1a5)][_0x2804d9(0x1d9)]=!0x1);}[_0x2ef322(0x1b2)](){const _0x5e4d1e=_0x2ef322;this[_0x5e4d1e(0x1df)]&&(this[_0x5e4d1e(0x1df)][_0x5e4d1e(0x1dd)]=!0x1),this[_0x5e4d1e(0x1bc)]?.[_0x5e4d1e(0x1a5)]&&(this[_0x5e4d1e(0x1bc)][_0x5e4d1e(0x1a5)][_0x5e4d1e(0x1d9)]=!0x0);}[_0x2ef322(0x1c0)](_0x216d1c){const _0x30cc78=_0x2ef322;this[_0x30cc78(0x1df)][_0x30cc78(0x1db)][_0x30cc78(0x1f2)](_0x216d1c);}[_0x2ef322(0x1a4)](_0x46789b){const _0x586302=_0x2ef322;this[_0x586302(0x1df)][_0x586302(0x1db)][_0x586302(0x1a6)](_0x46789b);}[_0x2ef322(0x1cd)](){const _0xb267f6=_0x2ef322,_0x16d105=new _0x53dfc3(this[_0xb267f6(0x1e7)]),_0x5caf18=new _0x8df1ed(_0xb267f6(0x1a8));_0x5caf18[_0xb267f6(0x1c5)]=!0x0;const _0x201aae=new _0x53dfc3(this[_0xb267f6(0x1e7)]);return _0x201aae[_0xb267f6(0x1cc)]({'tag':_0xb267f6(0x1ae),'attributes':{'class':['ck',_0xb267f6(0x1ad)]},'children':[_0x300e44(this[_0xb267f6(0x1e7)],_0xb267f6(0x1f3))]}),_0x16d105[_0xb267f6(0x1cc)]({'tag':_0xb267f6(0x1b3),'attributes':{'class':['ck',_0xb267f6(0x1bf),this[_0xb267f6(0x1af)]['if'](_0xb267f6(0x1d2),_0xb267f6(0x1eb),_0x2a1077=>!_0x2a1077)]},'children':[_0x5caf18,_0x201aae]}),_0x16d105;}[_0x2ef322(0x1b5)](){const _0x278fbb=_0x2ef322,_0x3e5048=new _0x53dfc3(this[_0x278fbb(0x1e7)]),_0x3bf11b=new _0x53dfc3(this[_0x278fbb(0x1e7)]);return _0x3bf11b[_0x278fbb(0x1cc)]({'tag':_0x278fbb(0x1ae),'attributes':{'class':['ck',_0x278fbb(0x1c1)]},'children':[_0x300e44(this[_0x278fbb(0x1e7)],_0x278fbb(0x1b7))]}),_0x3e5048[_0x278fbb(0x1cc)]({'tag':_0x278fbb(0x1b3),'attributes':{'class':['ck',_0x278fbb(0x1b6),this[_0x278fbb(0x1af)]['if'](_0x278fbb(0x1e9),_0x278fbb(0x1eb),_0x59cb30=>!_0x59cb30)]},'children':[_0x3bf11b]}),_0x3e5048;}}export class AIWebSourcesView extends _0x53dfc3{[_0x2ef322(0x1d8)];constructor(_0x5e4d3f){const _0x2bbc7c=_0x2ef322;super(_0x5e4d3f),this[_0x2bbc7c(0x1d8)]=this[_0x2bbc7c(0x1ac)](),this[_0x2bbc7c(0x1d0)](_0x2bbc7c(0x1c5),!0x1),this[_0x2bbc7c(0x1cc)]({'tag':_0x2bbc7c(0x1b3),'attributes':{'class':['ck',_0x2bbc7c(0x1aa),this[_0x2bbc7c(0x1af)]['if'](_0x2bbc7c(0x1c5),_0x2bbc7c(0x1eb),_0x4a4aa0=>!_0x4a4aa0)]},'children':this[_0x2bbc7c(0x1d8)]});const _0x8c7c8e=new _0x53dfc3(this[_0x2bbc7c(0x1e7)]),_0x38863f=new _0x25bd6a();_0x38863f[_0x2bbc7c(0x1e2)]=_0x3e5111,_0x8c7c8e[_0x2bbc7c(0x1cc)]({'tag':_0x2bbc7c(0x1b3),'attributes':{'class':['ck',_0x2bbc7c(0x1ec)]},'children':[_0x38863f,{'tag':_0x2bbc7c(0x1ae),'children':[{'text':_0x300e44(this[_0x2bbc7c(0x1e7)],_0x2bbc7c(0x1be))}]}]}),this[_0x2bbc7c(0x1d8)][_0x2bbc7c(0x1f2)](_0x8c7c8e);}}export class AIWebSourceView extends _0x2e79b7{constructor(_0x11ffb8,_0x2ddead){const _0x57712e=_0x2ef322;super(_0x11ffb8),this[_0x57712e(0x1d0)]({'label':_0x2ddead[_0x57712e(0x1dc)],'tooltip':_0x2ddead[_0x57712e(0x1dc)],'class':[_0x57712e(0x1cf)],'withText':!0x0});const _0x54035=this[_0x57712e(0x1af)];if(this[_0x57712e(0x1d3)]({'on':{'click':_0x54035['to'](()=>{const _0x4306d6=_0x57712e;window[_0x4306d6(0x1ca)](_0x2ddead[_0x4306d6(0x19b)],_0x4306d6(0x1ea));})}}),_0x2ddead[_0x57712e(0x1bb)]){const _0x574b99=new _0x53dfc3(_0x11ffb8);_0x574b99[_0x57712e(0x1cc)]({'tag':_0x57712e(0x19c),'attributes':{'src':_0x2ddead[_0x57712e(0x1bb)]||_0x3e5111,'alt':_0x2ddead[_0x57712e(0x1dc)],'class':[_0x57712e(0x19d)]}}),this[_0x57712e(0x1d8)][_0x57712e(0x1f2)](_0x574b99);}else this[_0x57712e(0x1d0)](_0x57712e(0x1f0),_0x3e5111);}}function _0x2361(){const _0x21bcf2=['add','AI_CHAT_IS_WRITING','url','img','ck-ai-web-source__image','452MiYHxc','hideLoader','33lPOxNP','updateContent','720qgRVwh','showError','removeNavigationItem','showChangesToggleView','remove','element','small','fire','ck-ai-web-sources','24199ntCUjf','createCollection','ck-ai-suggestion__loader-text','span','bindTemplate','delegate','.ck-ai-suggestion__error-text','clearErrorState','div','toggleShowChanges','_createErrorView','ck-ai-suggestion__error','AI_CHAT_GENERIC_ERROR','showLoader','areChangesVisible','892275QnUTsg','favicon','headerView','5685597nJwEro','AI_CHAT_SOURCES_HEADER','ck-ai-suggestion__loader','addNavigationItem','ck-ai-suggestion__error-text','addMany','updateContentParts','setLoading','isVisible','updateSources','ck-rounded-corners','clearLoading','toggleSuggestionDisplayMode','open','querySelector','setTemplate','_createLoaderView','94lLXSJa','ck\x20ck-ai-web-source','set','loaderView','isLoaderVisible','extendTemplate','hideError','map','hasNonEmptyParts','isShowChangesToggleVisible','children','isEnabled','601610blMIJl','items','title','isLoading','ck-ai-suggestion__container','miniToolbarView','4480410vxTzLm','sourcesView','content','8589zGMEtG','bodyView','markAsDone','23317OHoLke','locale','isOn','isErrorVisible','_blank','ck-hidden','ck-ai-web-sources__header','bind','setErrorState','textContent','icon','errorView'];_0x2361=function(){return _0x21bcf2;};return _0x2361();}
23
+ const _0x152785=_0x3d97;(function(_0x4e96ed,_0x58c693){const _0x5d70fb=_0x3d97,_0x4797bd=_0x4e96ed();while(!![]){try{const _0x1e1301=-parseInt(_0x5d70fb(0x1f0))/0x1*(parseInt(_0x5d70fb(0x1be))/0x2)+-parseInt(_0x5d70fb(0x1cc))/0x3*(parseInt(_0x5d70fb(0x208))/0x4)+parseInt(_0x5d70fb(0x1e9))/0x5+parseInt(_0x5d70fb(0x1ff))/0x6*(-parseInt(_0x5d70fb(0x1c2))/0x7)+parseInt(_0x5d70fb(0x209))/0x8+parseInt(_0x5d70fb(0x1b4))/0x9*(-parseInt(_0x5d70fb(0x20b))/0xa)+parseInt(_0x5d70fb(0x1ce))/0xb;if(_0x1e1301===_0x58c693)break;else _0x4797bd['push'](_0x4797bd['shift']());}catch(_0x347b74){_0x4797bd['push'](_0x4797bd['shift']());}}}(_0x5749,0x728cf));import{IconWeb as _0x326587}from'@ckeditor/ckeditor5-icons';function _0x3d97(_0x4926dd,_0x1a64c8){const _0x5749fa=_0x5749();return _0x3d97=function(_0x3d97c0,_0x5bf45a){_0x3d97c0=_0x3d97c0-0x1b3;let _0x4b8eb4=_0x5749fa[_0x3d97c0];return _0x4b8eb4;},_0x3d97(_0x4926dd,_0x1a64c8);}import{View as _0x2557d1,ButtonView as _0x5e2014,IconView as _0x1ada8e}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x4eff90}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x3d5a8e}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x42302c}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4c353a}from'../../utils/eventnames.js';function _0x5749(){const _0x5d0bc2=['extendTemplate','bindTemplate','setTemplate','addMany','element','hasNonEmptyParts','open','createCollection','updateContent','setErrorState','querySelector','isEnabled','img','isShowChangesToggleVisible','clearErrorState','ck-ai-suggestion__error','3742655VVoPkN','miniToolbarView','clearLoading','isLoaderVisible','setLoading','icon','areChangesVisible','2YqDtnc','ck-ai-web-sources','_createErrorView','showChangesToggleView','AI_CHAT_GENERIC_ERROR','small','toggleSuggestionDisplayMode','_createLoaderView','showLoader','div','updateContentParts','sourcesView','ck-ai-suggestion__container','ck\x20ck-ai-web-source','isVisible','34806xhbiqx','ck-hidden','title','isOn','ck-ai-suggestion__error-text','.ck-ai-suggestion__error-text','textContent','children','favicon','4rahNUO','2661832nPCPAJ','set','20OWETLJ','items','3471408IctiYq','AI_CHAT_SOURCES_HEADER','map','ck-rounded-corners','bodyView','bind','content','hideLoader','errorView','fire','483034shyIHe','add','isErrorVisible','locale','21nYVulI','remove','span','markAsDone','ck-ai-web-source__image','showError','toggleShowChanges','url','hideError','delegate','518559LbEjBT','loaderView','9159183JynYLb','removeNavigationItem','updateSources','ck-ai-suggestion__loader-text','AI_CHAT_IS_WRITING','isLoading','headerView','ck-ai-web-sources__header','addNavigationItem','_blank','ck-ai-suggestion__loader'];_0x5749=function(){return _0x5d0bc2;};return _0x5749();}import{AISpinnerView as _0x39b5bf}from'../aispinner.js';import{getTranslation as _0x489d84}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x2557d1{[_0x152785(0x1b8)];[_0x152785(0x1ea)];[_0x152785(0x206)];[_0x152785(0x1d4)];[_0x152785(0x1cd)];[_0x152785(0x1bc)];[_0x152785(0x1fb)];constructor(_0x2835ac,_0xe27e87){const _0x3c33dd=_0x152785;super(_0x2835ac);const {showDiff:_0x5a3e54,areActionsDisabled:_0x18dba8,miniToolbarConfig:_0x5098e1,hideHeader:_0x4c761e,showLoader:_0x12ae69,showUnchangedParts:_0x6b2dc0,availableActions:_0x3a2e1a}=_0xe27e87;this[_0x3c33dd(0x20a)](_0x3c33dd(0x1ef),!0x1),this[_0x3c33dd(0x20a)](_0x3c33dd(0x1ec),!!_0x12ae69),this[_0x3c33dd(0x20a)](_0x3c33dd(0x1c0),!0x1),this[_0x3c33dd(0x20a)](_0x3c33dd(0x1d3),!0x1),this[_0x3c33dd(0x206)]=this[_0x3c33dd(0x1e0)](),_0x4c761e||(this[_0x3c33dd(0x1d4)]=new _0x3d5a8e(_0x2835ac,{'showDiff':_0x5a3e54}),this[_0x3c33dd(0x1d4)]['on'](_0x3c33dd(0x1c8),(_0x4c8dc,_0x3dd1a2)=>{const _0x6882f3=_0x3c33dd;this[_0x6882f3(0x1ef)]=_0x3dd1a2[_0x6882f3(0x202)],this[_0x6882f3(0x1bd)](_0x6882f3(0x1f6),{'showDiff':_0x3dd1a2[_0x6882f3(0x202)]});}),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1d4)])),this[_0x3c33dd(0x1b8)]=new _0x42302c(_0x2835ac,{'areActionsDisabled':_0x18dba8,'showUnchangedParts':!!_0x6b2dc0,'availableActions':_0x3a2e1a}),this[_0x3c33dd(0x1b8)][_0x3c33dd(0x1cb)](..._0x4c353a)['to'](this),this[_0x3c33dd(0x1b8)][_0x3c33dd(0x1d9)]({'attributes':{'class':[this[_0x3c33dd(0x1da)]['if'](_0x3c33dd(0x1ec),_0x3c33dd(0x200)),this[_0x3c33dd(0x1da)]['if'](_0x3c33dd(0x1c0),_0x3c33dd(0x200))]}}),this[_0x3c33dd(0x1ea)]=new _0x4eff90(_0x2835ac,_0x5098e1,_0x5a3e54),this[_0x3c33dd(0x1ea)][_0x3c33dd(0x1cb)](..._0x4c353a)['to'](this),this[_0x3c33dd(0x1ea)]['on'](_0x3c33dd(0x1c8),(_0x48b5f5,_0x454276)=>{const _0x56fbe1=_0x3c33dd;this[_0x56fbe1(0x1ef)]=_0x454276,this[_0x56fbe1(0x1bd)](_0x56fbe1(0x1f6),{'showDiff':_0x454276});}),this[_0x3c33dd(0x1ea)][_0x3c33dd(0x1b9)](_0x3c33dd(0x1d3))['to'](this),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1b8)]),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1ea)]),this[_0x3c33dd(0x1fb)]=new AIWebSourcesView(this[_0x3c33dd(0x1c1)]),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1fb)]),_0x12ae69&&(this[_0x3c33dd(0x1cd)]=this[_0x3c33dd(0x1f7)](),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1cd)])),this[_0x3c33dd(0x1bc)]=this[_0x3c33dd(0x1f2)](),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1bc)]),this[_0x3c33dd(0x1db)]({'tag':_0x3c33dd(0x1f9),'attributes':{'class':['ck',_0x3c33dd(0x1fc),_0x3c33dd(0x1b7)]},'children':this[_0x3c33dd(0x206)]});}async[_0x152785(0x1e1)](_0x192039){const _0x514a2b=_0x152785;await this[_0x514a2b(0x1b8)][_0x514a2b(0x1fa)](_0x192039);}[_0x152785(0x1d0)](_0x18d786){const _0xdaf4fb=_0x152785;this[_0xdaf4fb(0x1fb)][_0xdaf4fb(0x206)][_0xdaf4fb(0x1dc)](_0x18d786[_0xdaf4fb(0x1b6)](_0x5e934d=>new AIWebSourceView(this[_0xdaf4fb(0x1c1)],_0x5e934d))),this[_0xdaf4fb(0x1fb)][_0xdaf4fb(0x1fe)]=!0x0;}[_0x152785(0x1f8)](){const _0x2b7882=_0x152785;this[_0x2b7882(0x1cd)]&&(this[_0x2b7882(0x1ec)]=!0x0);}[_0x152785(0x1bb)](){const _0x2f526a=_0x152785;this[_0x2f526a(0x1cd)]&&(this[_0x2f526a(0x1ec)]=!0x1);}[_0x152785(0x1c7)](_0x51b4e5){const _0x32cbf6=_0x152785;if(this[_0x32cbf6(0x1bc)]){const _0x39a650=this[_0x32cbf6(0x1bc)][_0x32cbf6(0x1dd)]?.[_0x32cbf6(0x1e3)](_0x32cbf6(0x204));_0x39a650&&(_0x39a650[_0x32cbf6(0x205)]=_0x51b4e5),this[_0x32cbf6(0x1c0)]=!0x0;}}[_0x152785(0x1ca)](){const _0x39ced9=_0x152785;this[_0x39ced9(0x1bc)]&&(this[_0x39ced9(0x1c0)]=!0x1);}[_0x152785(0x1c5)](){const _0x4d14cf=_0x152785;this[_0x4d14cf(0x1b8)][_0x4d14cf(0x1c5)](),this[_0x4d14cf(0x1d4)]&&(this[_0x4d14cf(0x1d4)][_0x4d14cf(0x1e6)]=this[_0x4d14cf(0x1b8)][_0x4d14cf(0x1de)]);}[_0x152785(0x1ed)](){const _0x20b107=_0x152785;this[_0x20b107(0x1d3)]=!0x0;}[_0x152785(0x1eb)](){const _0x38f7ae=_0x152785;this[_0x38f7ae(0x1d3)]=!0x1;}[_0x152785(0x1e2)](){const _0x1d5a37=_0x152785;this[_0x1d5a37(0x1ea)]&&(this[_0x1d5a37(0x1ea)][_0x1d5a37(0x1d3)]=!0x0),this[_0x1d5a37(0x1d4)]?.[_0x1d5a37(0x1f3)]&&(this[_0x1d5a37(0x1d4)][_0x1d5a37(0x1f3)][_0x1d5a37(0x1e4)]=!0x1);}[_0x152785(0x1e7)](){const _0x598ebd=_0x152785;this[_0x598ebd(0x1ea)]&&(this[_0x598ebd(0x1ea)][_0x598ebd(0x1d3)]=!0x1),this[_0x598ebd(0x1d4)]?.[_0x598ebd(0x1f3)]&&(this[_0x598ebd(0x1d4)][_0x598ebd(0x1f3)][_0x598ebd(0x1e4)]=!0x0);}[_0x152785(0x1d6)](_0x1badcc){const _0x43a1b4=_0x152785;this[_0x43a1b4(0x1ea)][_0x43a1b4(0x1b3)][_0x43a1b4(0x1bf)](_0x1badcc);}[_0x152785(0x1cf)](_0x383689){const _0x276a86=_0x152785;this[_0x276a86(0x1ea)][_0x276a86(0x1b3)][_0x276a86(0x1c3)](_0x383689);}[_0x152785(0x1f7)](){const _0xbea9d9=_0x152785,_0x8aaf7e=new _0x2557d1(this[_0xbea9d9(0x1c1)]),_0x156235=new _0x39b5bf(_0xbea9d9(0x1f5));_0x156235[_0xbea9d9(0x1fe)]=!0x0;const _0x1db2a8=new _0x2557d1(this[_0xbea9d9(0x1c1)]);return _0x1db2a8[_0xbea9d9(0x1db)]({'tag':_0xbea9d9(0x1c4),'attributes':{'class':['ck',_0xbea9d9(0x1d1)]},'children':[_0x489d84(this[_0xbea9d9(0x1c1)],_0xbea9d9(0x1d2))]}),_0x8aaf7e[_0xbea9d9(0x1db)]({'tag':_0xbea9d9(0x1f9),'attributes':{'class':['ck',_0xbea9d9(0x1d8),this[_0xbea9d9(0x1da)]['if'](_0xbea9d9(0x1ec),_0xbea9d9(0x200),_0x289861=>!_0x289861)]},'children':[_0x156235,_0x1db2a8]}),_0x8aaf7e;}[_0x152785(0x1f2)](){const _0x589bc3=_0x152785,_0x442edd=new _0x2557d1(this[_0x589bc3(0x1c1)]),_0x627e70=new _0x2557d1(this[_0x589bc3(0x1c1)]);return _0x627e70[_0x589bc3(0x1db)]({'tag':_0x589bc3(0x1c4),'attributes':{'class':['ck',_0x589bc3(0x203)]},'children':[_0x489d84(this[_0x589bc3(0x1c1)],_0x589bc3(0x1f4))]}),_0x442edd[_0x589bc3(0x1db)]({'tag':_0x589bc3(0x1f9),'attributes':{'class':['ck',_0x589bc3(0x1e8),this[_0x589bc3(0x1da)]['if'](_0x589bc3(0x1c0),_0x589bc3(0x200),_0xb58411=>!_0xb58411)]},'children':[_0x627e70]}),_0x442edd;}}export class AIWebSourcesView extends _0x2557d1{[_0x152785(0x206)];constructor(_0x45003c){const _0x62bc9b=_0x152785;super(_0x45003c),this[_0x62bc9b(0x206)]=this[_0x62bc9b(0x1e0)](),this[_0x62bc9b(0x20a)](_0x62bc9b(0x1fe),!0x1),this[_0x62bc9b(0x1db)]({'tag':_0x62bc9b(0x1f9),'attributes':{'class':['ck',_0x62bc9b(0x1f1),this[_0x62bc9b(0x1da)]['if'](_0x62bc9b(0x1fe),_0x62bc9b(0x200),_0x152518=>!_0x152518)]},'children':this[_0x62bc9b(0x206)]});const _0x41dead=new _0x2557d1(this[_0x62bc9b(0x1c1)]),_0xa01195=new _0x1ada8e();_0xa01195[_0x62bc9b(0x1ba)]=_0x326587,_0x41dead[_0x62bc9b(0x1db)]({'tag':_0x62bc9b(0x1f9),'attributes':{'class':['ck',_0x62bc9b(0x1d5)]},'children':[_0xa01195,{'tag':_0x62bc9b(0x1c4),'children':[{'text':_0x489d84(this[_0x62bc9b(0x1c1)],_0x62bc9b(0x1b5))}]}]}),this[_0x62bc9b(0x206)][_0x62bc9b(0x1bf)](_0x41dead);}}export class AIWebSourceView extends _0x5e2014{constructor(_0x36556a,_0x466923){const _0x2e6dfd=_0x152785;super(_0x36556a),this[_0x2e6dfd(0x20a)]({'label':_0x466923[_0x2e6dfd(0x201)],'tooltip':_0x466923[_0x2e6dfd(0x201)],'class':[_0x2e6dfd(0x1fd)],'withText':!0x0});const _0x391d66=this[_0x2e6dfd(0x1da)];if(this[_0x2e6dfd(0x1d9)]({'on':{'click':_0x391d66['to'](()=>{const _0x15afc5=_0x2e6dfd;window[_0x15afc5(0x1df)](_0x466923[_0x15afc5(0x1c9)],_0x15afc5(0x1d7));})}}),_0x466923[_0x2e6dfd(0x207)]){const _0x125284=new _0x2557d1(_0x36556a);_0x125284[_0x2e6dfd(0x1db)]({'tag':_0x2e6dfd(0x1e5),'attributes':{'src':_0x466923[_0x2e6dfd(0x207)]||_0x326587,'alt':_0x466923[_0x2e6dfd(0x201)],'class':[_0x2e6dfd(0x1c6)]}}),this[_0x2e6dfd(0x206)][_0x2e6dfd(0x1bf)](_0x125284);}else this[_0x2e6dfd(0x20a)](_0x2e6dfd(0x1ee),_0x326587);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2deb5=_0x45b1;(function(_0x295992,_0x2b0e4d){const _0x559545=_0x45b1,_0x46bd4c=_0x295992();while(!![]){try{const _0x1897f7=-parseInt(_0x559545(0x200))/0x1*(parseInt(_0x559545(0x1d0))/0x2)+parseInt(_0x559545(0x1f1))/0x3*(-parseInt(_0x559545(0x1f8))/0x4)+-parseInt(_0x559545(0x203))/0x5+-parseInt(_0x559545(0x1e0))/0x6+parseInt(_0x559545(0x20a))/0x7+-parseInt(_0x559545(0x1d4))/0x8+parseInt(_0x559545(0x1ce))/0x9;if(_0x1897f7===_0x2b0e4d)break;else _0x46bd4c['push'](_0x46bd4c['shift']());}catch(_0x23592f){_0x46bd4c['push'](_0x46bd4c['shift']());}}}(_0x26b7,0x4c551));import{View as _0x1629b4,IconView as _0x30130b,ToolbarView as _0x34f5bf,ButtonView as _0x1c0ff5}from'ckeditor5/src/ui.js';import{IconAddComment as _0x5df4f6,IconDocumentWithLoupe as _0x19ae9b,IconDocumentWithCheckmark as _0x454a1a,IconDocumentWithCross as _0x91ab9a,IconRemove as _0x43cae3,IconThreeStars as _0x554021}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x259c1c}from'../../utils/htmlstreamer.js';import{getTranslation as _0x598dc4}from'../../utils/common-translations.js';function _0x45b1(_0x165c6b,_0x4514c){const _0x26b7b6=_0x26b7();return _0x45b1=function(_0x45b1a9,_0x7898e1){_0x45b1a9=_0x45b1a9-0x1bb;let _0x3a1c68=_0x26b7b6[_0x45b1a9];return _0x3a1c68;},_0x45b1(_0x165c6b,_0x4514c);}function _0x26b7(){const _0x5bd033=['rejectSuggestion','updateContent','ck-ai-suggestion__body__content-part__title','state','AI_SUGGESTION_CONTENT_PART_DELETE','remove','_iconStateAccepted','745224SYfFfP','toggleHeader','set','mouseOverSuggestion','ck-content','change:state','_iconStateRejected','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-ai-suggestion__body__content-part','addMany','add','streaming','extendTemplate','delegate','showChangeInText','includes','rejected','537639RVGqNb','has','mouseLeaveSuggestion','ck-ai-suggestion__body__content-part_','toString','AI_SUGGESTION_CONTENT_PART_REJECTED','ck-reset_all-excluded','4zDTNOJ','setTemplate','ck-ai-suggestion__body__content-part__content','ck-ai-suggestion__body__content-part__icon-accepted','headerView','execute','outdated','AI_SUGGESTION_CONTENT_PART_TITLE','492299AeZSWF','_iconStateOutdated','pending','2873690WeMzoy','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','partDefinition','ck-ai-suggestion__body__content-part__icon-rejected','div','items','insertSuggestion','3096772cPPolG','hasChanges','ck-ai-suggestion__body__content-part__icon-outdated','innerHTML','accepted','span','animation:\x20ck-html-streamer-fade-in\x20.5s','index','content','ck-ai-suggestion__body__content-part__icon-title','bindTemplate','fire','bind','AI_SUGGESTION_CONTENT_PART_OUTDATED','push','contentView','ck-ai-suggestion__body__content-part__title__label','element','stream','children','12335508kkvjog','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','2MeueWG','isVisible','isEnabled','_toolbarView','1039176SGhUaF','ck-ai-suggestion__body__content-part_active','htmlStreamer','createCollection','ck-hidden'];_0x26b7=function(){return _0x5bd033;};return _0x26b7();}import{serialize as _0x24a939}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4d6b63}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x1629b4{[_0x2deb5(0x1d6)];[_0x2deb5(0x1cd)];[_0x2deb5(0x1fc)];[_0x2deb5(0x1c9)];constructor(_0x35e77e,{part:_0x37066a,uiIndex:_0x535ca8,areActionsDisabled:_0x2fe527,availableActions:_0x54744a}){const _0x5ddd5f=_0x2deb5;super(_0x35e77e),this[_0x5ddd5f(0x1e2)](_0x5ddd5f(0x205),_0x37066a),this[_0x5ddd5f(0x1e2)](_0x5ddd5f(0x1dc),_0x5ddd5f(0x202)),this[_0x5ddd5f(0x1e2)](_0x5ddd5f(0x1d1),!0x1),this[_0x5ddd5f(0x1c6)](_0x5ddd5f(0x1d2))['to'](this,_0x5ddd5f(0x1dc),_0x51916f=>_0x5ddd5f(0x202)==_0x51916f&&!_0x2fe527),this[_0x5ddd5f(0x1cd)]=this[_0x5ddd5f(0x1d7)](),this[_0x5ddd5f(0x1d6)]=new _0x259c1c({'textNodeStyle':_0x5ddd5f(0x1c0),'delay':0x14}),this[_0x5ddd5f(0x1fc)]=new Un(_0x35e77e,{'part':_0x37066a,'uiIndex':_0x535ca8,'availableActions':_0x54744a}),this[_0x5ddd5f(0x1fc)][_0x5ddd5f(0x1c6)](_0x5ddd5f(0x205))['to'](this),this[_0x5ddd5f(0x1fc)][_0x5ddd5f(0x1c6)](_0x5ddd5f(0x1d2))['to'](this),this[_0x5ddd5f(0x1fc)][_0x5ddd5f(0x1c6)](_0x5ddd5f(0x1dc))['to'](this),this[_0x5ddd5f(0x1fc)][_0x5ddd5f(0x1ed)](..._0x4d6b63)['to'](this);const _0x2ec9b7=this[_0x5ddd5f(0x1c4)];this[_0x5ddd5f(0x1c9)]=new _0x1629b4(),this[_0x5ddd5f(0x1c9)][_0x5ddd5f(0x1f9)]({'tag':_0x5ddd5f(0x207),'attributes':{'class':['ck',_0x5ddd5f(0x1e4),_0x5ddd5f(0x1f7),_0x5ddd5f(0x1fa)]}}),this[_0x5ddd5f(0x1cd)][_0x5ddd5f(0x1e9)]([this[_0x5ddd5f(0x1c9)]]),this[_0x5ddd5f(0x1f9)]({'tag':_0x5ddd5f(0x207),'attributes':{'class':['ck',_0x5ddd5f(0x1e8),_0x2ec9b7['to'](_0x5ddd5f(0x1dc),_0xacbbda=>_0x5ddd5f(0x1f4)+_0xacbbda),_0x2ec9b7['to'](_0x5ddd5f(0x1d2),_0x37cc6d=>_0x37cc6d?_0x5ddd5f(0x1d5):void 0x0),_0x2ec9b7['if'](_0x5ddd5f(0x1d1),_0x5ddd5f(0x1d8),_0xf3fdd6=>!_0xf3fdd6)]},'children':this[_0x5ddd5f(0x1cd)],'on':{'mouseenter':_0x2ec9b7['to'](()=>{const _0x485136=_0x5ddd5f;this[_0x485136(0x1d2)]&&this[_0x485136(0x1c5)](_0x485136(0x1e3),{'index':_0x37066a[_0x485136(0x1c1)]});}),'mouseleave':_0x2ec9b7['to'](()=>{const _0x4f0192=_0x5ddd5f;this[_0x4f0192(0x1d2)]&&this[_0x4f0192(0x1c5)](_0x4f0192(0x1f3),{'index':_0x37066a[_0x4f0192(0x1c1)]});})}});}async[_0x2deb5(0x1da)]({part:_0x424191,renderingStrategy:_0x35467f,showUnchangedParts:_0x3f4c8f=!0x1,abortSignal:_0x135dd9}){const _0x3b8005=_0x2deb5;this[_0x3b8005(0x205)]=_0x424191,this[_0x3b8005(0x1d1)]=this[_0x3b8005(0x205)][_0x3b8005(0x1bb)]||_0x3f4c8f,this[_0x3b8005(0x1d1)]&&(_0x3b8005(0x1eb)===_0x35467f?await this[_0x3b8005(0x1d6)][_0x3b8005(0x1cc)]({'document':this[_0x3b8005(0x205)][_0x3b8005(0x1c2)],'targetElement':this[_0x3b8005(0x1c9)][_0x3b8005(0x1cb)],'abortSignal':_0x135dd9}):this[_0x3b8005(0x1c9)][_0x3b8005(0x1cb)][_0x3b8005(0x1bd)]=_0x24a939(this[_0x3b8005(0x205)][_0x3b8005(0x1c2)]));}[_0x2deb5(0x1e1)](_0x3dc3fe){const _0x490c3b=_0x2deb5;_0x3dc3fe?this[_0x490c3b(0x1cd)][_0x490c3b(0x1f2)](this[_0x490c3b(0x1fc)])||this[_0x490c3b(0x1cd)][_0x490c3b(0x1ea)](this[_0x490c3b(0x1fc)],0x0):this[_0x490c3b(0x1cd)][_0x490c3b(0x1f2)](this[_0x490c3b(0x1fc)])&&this[_0x490c3b(0x1cd)][_0x490c3b(0x1de)](this[_0x490c3b(0x1fc)]);}}class Un extends _0x1629b4{[_0x2deb5(0x1cd)];[_0x2deb5(0x1d3)];[_0x2deb5(0x1df)];[_0x2deb5(0x1e6)];[_0x2deb5(0x201)];constructor(_0x11a5c9,{part:_0x8bf304,uiIndex:_0x4fad80,availableActions:_0x4c348c}){const _0x34ae1c=_0x2deb5;super(_0x11a5c9),this[_0x34ae1c(0x1e2)](_0x34ae1c(0x205),_0x8bf304),this[_0x34ae1c(0x1e2)](_0x34ae1c(0x1d2),!0x0),this[_0x34ae1c(0x1e2)](_0x34ae1c(0x1dc),_0x34ae1c(0x202));const _0x54bdf7=new _0x30130b();_0x54bdf7[_0x34ae1c(0x1c2)]=_0x554021,_0x54bdf7[_0x34ae1c(0x1ec)]({'attributes':{'class':[_0x34ae1c(0x1c3)]}});const _0xda491=[];if(_0x4c348c[_0x34ae1c(0x1ef)](_0x34ae1c(0x1ee))){const _0x3f6e02=new _0x1c0ff5(_0x11a5c9);_0x3f6e02[_0x34ae1c(0x1e2)]({'label':_0x598dc4(_0x11a5c9,_0x34ae1c(0x1e7)),'tooltip':!0x0,'withText':!0x1,'icon':_0x19ae9b}),_0x3f6e02[_0x34ae1c(0x1c6)](_0x34ae1c(0x1d2))['to'](this),_0x3f6e02['on'](_0x34ae1c(0x1fd),()=>{const _0x4db5f0=_0x34ae1c;this[_0x4db5f0(0x1c5)](_0x4db5f0(0x1ee),{'index':_0x8bf304[_0x4db5f0(0x1c1)]});}),_0xda491[_0x34ae1c(0x1c8)](_0x3f6e02);}if(_0x4c348c[_0x34ae1c(0x1ef)](_0x34ae1c(0x209))){const _0x1dde6c=new _0x1c0ff5(_0x11a5c9);_0x1dde6c[_0x34ae1c(0x1e2)]({'label':_0x598dc4(_0x11a5c9,_0x34ae1c(0x204)),'tooltip':!0x0,'withText':!0x1,'icon':_0x5df4f6}),_0x1dde6c[_0x34ae1c(0x1c6)](_0x34ae1c(0x1d2))['to'](this),_0x1dde6c['on'](_0x34ae1c(0x1fd),()=>{const _0x2ca894=_0x34ae1c;this[_0x2ca894(0x1c5)](_0x2ca894(0x209),{'index':_0x8bf304[_0x2ca894(0x1c1)]});}),_0xda491[_0x34ae1c(0x1c8)](_0x1dde6c);}const _0x1ed72c=new _0x1c0ff5(_0x11a5c9);_0x1ed72c[_0x34ae1c(0x1e2)]({'label':_0x598dc4(_0x11a5c9,_0x34ae1c(0x1dd)),'tooltip':!0x0,'withText':!0x1,'icon':_0x43cae3}),_0x1ed72c[_0x34ae1c(0x1c6)](_0x34ae1c(0x1d2))['to'](this),_0x1ed72c['on'](_0x34ae1c(0x1fd),()=>{const _0x4390ba=_0x34ae1c;this[_0x4390ba(0x1c5)](_0x4390ba(0x1d9),{'index':_0x8bf304[_0x4390ba(0x1c1)]});}),_0xda491[_0x34ae1c(0x1c8)](_0x1ed72c),this[_0x34ae1c(0x1d3)]=new _0x34f5bf(_0x11a5c9),this[_0x34ae1c(0x1d3)][_0x34ae1c(0x208)][_0x34ae1c(0x1e9)](_0xda491),this[_0x34ae1c(0x1df)]=new _0x30130b(),this[_0x34ae1c(0x1df)][_0x34ae1c(0x1c2)]=_0x454a1a,this[_0x34ae1c(0x1df)][_0x34ae1c(0x1ec)]({'attributes':{'class':[_0x34ae1c(0x1fb)],'data-cke-tooltip-text':_0x598dc4(_0x11a5c9,_0x34ae1c(0x1cf)),'data-cke-tooltip-position':'n'}}),this[_0x34ae1c(0x1e6)]=new _0x30130b(),this[_0x34ae1c(0x1e6)][_0x34ae1c(0x1c2)]=_0x91ab9a,this[_0x34ae1c(0x1e6)][_0x34ae1c(0x1ec)]({'attributes':{'class':[_0x34ae1c(0x206)],'data-cke-tooltip-text':_0x598dc4(_0x11a5c9,_0x34ae1c(0x1f6)),'data-cke-tooltip-position':'n'}}),this[_0x34ae1c(0x201)]=new _0x30130b(),this[_0x34ae1c(0x201)][_0x34ae1c(0x1c2)]=_0x91ab9a,this[_0x34ae1c(0x201)][_0x34ae1c(0x1ec)]({'attributes':{'class':[_0x34ae1c(0x1bc)],'data-cke-tooltip-text':_0x598dc4(_0x11a5c9,_0x34ae1c(0x1c7)),'data-cke-tooltip-position':'n'}});const _0x5e52c6=new _0x1629b4(_0x11a5c9);_0x5e52c6[_0x34ae1c(0x1f9)]({'tag':_0x34ae1c(0x1bf),'attributes':{'class':['ck',_0x34ae1c(0x1ca)]},'children':[_0x598dc4(_0x11a5c9,_0x34ae1c(0x1ff),_0x4fad80[_0x34ae1c(0x1f5)]())]}),this[_0x34ae1c(0x1cd)]=this[_0x34ae1c(0x1d7)](),this[_0x34ae1c(0x1cd)][_0x34ae1c(0x1e9)]([_0x54bdf7,_0x5e52c6,this[_0x34ae1c(0x1d3)]]),this[_0x34ae1c(0x1f9)]({'tag':_0x34ae1c(0x207),'attributes':{'class':['ck',_0x34ae1c(0x1f7),_0x34ae1c(0x1db)]},'children':this[_0x34ae1c(0x1cd)]}),this['on'](_0x34ae1c(0x1e5),(_0xfffd05,_0x4fe244,_0x5468bd,_0x4e8c75)=>{const _0x61ff54=_0x34ae1c;switch(_0x4e8c75){case _0x61ff54(0x202):this[_0x61ff54(0x1cd)][_0x61ff54(0x1de)](this[_0x61ff54(0x1d3)]);break;case _0x61ff54(0x1be):this[_0x61ff54(0x1cd)][_0x61ff54(0x1de)](this[_0x61ff54(0x1df)]);break;case _0x61ff54(0x1f0):this[_0x61ff54(0x1cd)][_0x61ff54(0x1de)](this[_0x61ff54(0x1e6)]);break;case _0x61ff54(0x1fe):this[_0x61ff54(0x1cd)][_0x61ff54(0x1de)](this[_0x61ff54(0x201)]);}switch(_0x5468bd){case _0x61ff54(0x202):this[_0x61ff54(0x1cd)][_0x61ff54(0x1ea)](this[_0x61ff54(0x1d3)]);break;case _0x61ff54(0x1be):this[_0x61ff54(0x1cd)][_0x61ff54(0x1ea)](this[_0x61ff54(0x1df)]);break;case _0x61ff54(0x1f0):this[_0x61ff54(0x1cd)][_0x61ff54(0x1ea)](this[_0x61ff54(0x1e6)]);break;case _0x61ff54(0x1fe):this[_0x61ff54(0x1cd)][_0x61ff54(0x1ea)](this[_0x61ff54(0x201)]);}});}}
23
+ const _0x5b1cde=_0x51e1;(function(_0x29e7fe,_0x3556db){const _0x2ea19e=_0x51e1,_0x55a59e=_0x29e7fe();while(!![]){try{const _0x1529d1=parseInt(_0x2ea19e(0xc8))/0x1+-parseInt(_0x2ea19e(0xb7))/0x2*(parseInt(_0x2ea19e(0xa6))/0x3)+-parseInt(_0x2ea19e(0xa5))/0x4*(-parseInt(_0x2ea19e(0xd6))/0x5)+-parseInt(_0x2ea19e(0xa3))/0x6+-parseInt(_0x2ea19e(0xe1))/0x7+-parseInt(_0x2ea19e(0xb9))/0x8*(-parseInt(_0x2ea19e(0xc2))/0x9)+parseInt(_0x2ea19e(0xca))/0xa*(parseInt(_0x2ea19e(0xd5))/0xb);if(_0x1529d1===_0x3556db)break;else _0x55a59e['push'](_0x55a59e['shift']());}catch(_0x1f907f){_0x55a59e['push'](_0x55a59e['shift']());}}}(_0x49a6,0x874ac));function _0x49a6(){const _0x1e8794=['15EToBEb','_toolbarView','_iconStateOutdated','bind','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','createCollection','AI_SUGGESTION_CONTENT_PART_REJECTED','children','ck-ai-suggestion__body__content-part_','remove','extendTemplate','4802217sUqSfm','div','stream','ck-ai-suggestion__body__content-part','content','push','ck-content','ck-reset_all-excluded','addMany','has','hasChanges','toString','ck-ai-suggestion__body__content-part__content','_iconStateRejected','ck-ai-suggestion__body__content-part__title__label','add','AI_SUGGESTION_CONTENT_PART_DELETE','showChangeInText','mouseOverSuggestion','accepted','5613966YUczfZ','animation:\x20ck-html-streamer-fade-in\x20.5s','1470368zHemFu','249ljGgsv','includes','contentView','mouseLeaveSuggestion','rejected','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part__icon-rejected','headerView','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','span','ck-hidden','outdated','partDefinition','updateContent','ck-ai-suggestion__body__content-part__icon-accepted','fire','AI_SUGGESTION_CONTENT_PART_OUTDATED','13854PvPsCV','AI_SUGGESTION_CONTENT_PART_TITLE','5267264SUcNCH','isVisible','insertSuggestion','ck-ai-suggestion__body__content-part__title','change:state','set','ck-ai-suggestion__body__content-part_active','element','htmlStreamer','9suspCJ','execute','index','setTemplate','items','ck-ai-suggestion__body__content-part__icon-outdated','124748tivpZC','streaming','8648570FfssPd','toggleHeader','isEnabled','bindTemplate','rejectSuggestion','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','_iconStateAccepted','innerHTML','pending','state','delegate','11kjuawI'];_0x49a6=function(){return _0x1e8794;};return _0x49a6();}import{View as _0x5e7543,IconView as _0x3dd0aa,ToolbarView as _0x2e29c2,ButtonView as _0xaa49c5}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3f96f9,IconDocumentWithLoupe as _0x1a33f0,IconDocumentWithCheckmark as _0x25573f,IconDocumentWithCross as _0x31cc41,IconRemove as _0x50ef57,IconThreeStars as _0x4cb632}from'ckeditor5/src/icons.js';function _0x51e1(_0x3e5a28,_0x585f99){const _0x49a6f8=_0x49a6();return _0x51e1=function(_0x51e172,_0x78cd4){_0x51e172=_0x51e172-0x95;let _0x44d1cd=_0x49a6f8[_0x51e172];return _0x44d1cd;},_0x51e1(_0x3e5a28,_0x585f99);}import{HTMLStreamer as _0x4f0d6b}from'../../utils/htmlstreamer.js';import{getTranslation as _0xf3d468}from'../../utils/common-translations.js';import{serialize as _0x180739}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3c63b7}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x5e7543{[_0x5b1cde(0xc1)];[_0x5b1cde(0xdd)];[_0x5b1cde(0xad)];[_0x5b1cde(0xa8)];constructor(_0x2f38d2,{part:_0x2b567b,uiIndex:_0x21fb25,areActionsDisabled:_0x3f296f,availableActions:_0xfcb925}){const _0x369ee4=_0x5b1cde;super(_0x2f38d2),this[_0x369ee4(0xbe)](_0x369ee4(0xb2),_0x2b567b),this[_0x369ee4(0xbe)](_0x369ee4(0xd3),_0x369ee4(0xd2)),this[_0x369ee4(0xbe)](_0x369ee4(0xba),!0x1),this[_0x369ee4(0xd9)](_0x369ee4(0xcc))['to'](this,_0x369ee4(0xd3),_0x94c418=>_0x369ee4(0xd2)==_0x94c418&&!_0x3f296f),this[_0x369ee4(0xdd)]=this[_0x369ee4(0xdb)](),this[_0x369ee4(0xc1)]=new _0x4f0d6b({'textNodeStyle':_0x369ee4(0xa4),'delay':0x14}),this[_0x369ee4(0xad)]=new Un(_0x2f38d2,{'part':_0x2b567b,'uiIndex':_0x21fb25,'availableActions':_0xfcb925}),this[_0x369ee4(0xad)][_0x369ee4(0xd9)](_0x369ee4(0xb2))['to'](this),this[_0x369ee4(0xad)][_0x369ee4(0xd9)](_0x369ee4(0xcc))['to'](this),this[_0x369ee4(0xad)][_0x369ee4(0xd9)](_0x369ee4(0xd3))['to'](this),this[_0x369ee4(0xad)][_0x369ee4(0xd4)](..._0x3c63b7)['to'](this);const _0x36f720=this[_0x369ee4(0xcd)];this[_0x369ee4(0xa8)]=new _0x5e7543(),this[_0x369ee4(0xa8)][_0x369ee4(0xc5)]({'tag':_0x369ee4(0xe2),'attributes':{'class':['ck',_0x369ee4(0x95),_0x369ee4(0x96),_0x369ee4(0x9b)]}}),this[_0x369ee4(0xdd)][_0x369ee4(0x97)]([this[_0x369ee4(0xa8)]]),this[_0x369ee4(0xc5)]({'tag':_0x369ee4(0xe2),'attributes':{'class':['ck',_0x369ee4(0xe4),_0x36f720['to'](_0x369ee4(0xd3),_0xef095a=>_0x369ee4(0xde)+_0xef095a),_0x36f720['to'](_0x369ee4(0xcc),_0x5b0d6c=>_0x5b0d6c?_0x369ee4(0xbf):void 0x0),_0x36f720['if'](_0x369ee4(0xba),_0x369ee4(0xb0),_0x37f010=>!_0x37f010)]},'children':this[_0x369ee4(0xdd)],'on':{'mouseenter':_0x36f720['to'](()=>{const _0x37fb0f=_0x369ee4;this[_0x37fb0f(0xcc)]&&this[_0x37fb0f(0xb5)](_0x37fb0f(0xa1),{'index':_0x2b567b[_0x37fb0f(0xc4)]});}),'mouseleave':_0x36f720['to'](()=>{const _0x85c577=_0x369ee4;this[_0x85c577(0xcc)]&&this[_0x85c577(0xb5)](_0x85c577(0xa9),{'index':_0x2b567b[_0x85c577(0xc4)]});})}});}async[_0x5b1cde(0xb3)]({part:_0x19f397,renderingStrategy:_0x4678f0,showUnchangedParts:_0x45c23e=!0x1,abortSignal:_0x305c1e}){const _0x5c99bf=_0x5b1cde;this[_0x5c99bf(0xb2)]=_0x19f397,this[_0x5c99bf(0xba)]=this[_0x5c99bf(0xb2)][_0x5c99bf(0x99)]||_0x45c23e,this[_0x5c99bf(0xba)]&&(_0x5c99bf(0xc9)===_0x4678f0?await this[_0x5c99bf(0xc1)][_0x5c99bf(0xe3)]({'document':this[_0x5c99bf(0xb2)][_0x5c99bf(0xe5)],'targetElement':this[_0x5c99bf(0xa8)][_0x5c99bf(0xc0)],'abortSignal':_0x305c1e}):this[_0x5c99bf(0xa8)][_0x5c99bf(0xc0)][_0x5c99bf(0xd1)]=_0x180739(this[_0x5c99bf(0xb2)][_0x5c99bf(0xe5)]));}[_0x5b1cde(0xcb)](_0x4e984a){const _0x45bbca=_0x5b1cde;_0x4e984a?this[_0x45bbca(0xdd)][_0x45bbca(0x98)](this[_0x45bbca(0xad)])||this[_0x45bbca(0xdd)][_0x45bbca(0x9e)](this[_0x45bbca(0xad)],0x0):this[_0x45bbca(0xdd)][_0x45bbca(0x98)](this[_0x45bbca(0xad)])&&this[_0x45bbca(0xdd)][_0x45bbca(0xdf)](this[_0x45bbca(0xad)]);}}class Un extends _0x5e7543{[_0x5b1cde(0xdd)];[_0x5b1cde(0xd7)];[_0x5b1cde(0xd0)];[_0x5b1cde(0x9c)];[_0x5b1cde(0xd8)];constructor(_0x1be699,{part:_0x3ca177,uiIndex:_0x1a0bff,availableActions:_0x125710}){const _0x54c019=_0x5b1cde;super(_0x1be699),this[_0x54c019(0xbe)](_0x54c019(0xb2),_0x3ca177),this[_0x54c019(0xbe)](_0x54c019(0xcc),!0x0),this[_0x54c019(0xbe)](_0x54c019(0xd3),_0x54c019(0xd2));const _0x2e1571=new _0x3dd0aa();_0x2e1571[_0x54c019(0xe5)]=_0x4cb632,_0x2e1571[_0x54c019(0xe0)]({'attributes':{'class':[_0x54c019(0xab)]}});const _0x34b70f=[];if(_0x125710[_0x54c019(0xa7)](_0x54c019(0xa0))){const _0x29df12=new _0xaa49c5(_0x1be699);_0x29df12[_0x54c019(0xbe)]({'label':_0xf3d468(_0x1be699,_0x54c019(0xae)),'tooltip':!0x0,'withText':!0x1,'icon':_0x1a33f0}),_0x29df12[_0x54c019(0xd9)](_0x54c019(0xcc))['to'](this),_0x29df12['on'](_0x54c019(0xc3),()=>{const _0x5b4193=_0x54c019;this[_0x5b4193(0xb5)](_0x5b4193(0xa0),{'index':_0x3ca177[_0x5b4193(0xc4)]});}),_0x34b70f[_0x54c019(0xe6)](_0x29df12);}if(_0x125710[_0x54c019(0xa7)](_0x54c019(0xbb))){const _0x5f3e05=new _0xaa49c5(_0x1be699);_0x5f3e05[_0x54c019(0xbe)]({'label':_0xf3d468(_0x1be699,_0x54c019(0xcf)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3f96f9}),_0x5f3e05[_0x54c019(0xd9)](_0x54c019(0xcc))['to'](this),_0x5f3e05['on'](_0x54c019(0xc3),()=>{const _0x4e4349=_0x54c019;this[_0x4e4349(0xb5)](_0x4e4349(0xbb),{'index':_0x3ca177[_0x4e4349(0xc4)]});}),_0x34b70f[_0x54c019(0xe6)](_0x5f3e05);}const _0x5ba77f=new _0xaa49c5(_0x1be699);_0x5ba77f[_0x54c019(0xbe)]({'label':_0xf3d468(_0x1be699,_0x54c019(0x9f)),'tooltip':!0x0,'withText':!0x1,'icon':_0x50ef57}),_0x5ba77f[_0x54c019(0xd9)](_0x54c019(0xcc))['to'](this),_0x5ba77f['on'](_0x54c019(0xc3),()=>{const _0x8d9cbd=_0x54c019;this[_0x8d9cbd(0xb5)](_0x8d9cbd(0xce),{'index':_0x3ca177[_0x8d9cbd(0xc4)]});}),_0x34b70f[_0x54c019(0xe6)](_0x5ba77f),this[_0x54c019(0xd7)]=new _0x2e29c2(_0x1be699),this[_0x54c019(0xd7)][_0x54c019(0xc6)][_0x54c019(0x97)](_0x34b70f),this[_0x54c019(0xd0)]=new _0x3dd0aa(),this[_0x54c019(0xd0)][_0x54c019(0xe5)]=_0x25573f,this[_0x54c019(0xd0)][_0x54c019(0xe0)]({'attributes':{'class':[_0x54c019(0xb4)],'data-cke-tooltip-text':_0xf3d468(_0x1be699,_0x54c019(0xda)),'data-cke-tooltip-position':'n'}}),this[_0x54c019(0x9c)]=new _0x3dd0aa(),this[_0x54c019(0x9c)][_0x54c019(0xe5)]=_0x31cc41,this[_0x54c019(0x9c)][_0x54c019(0xe0)]({'attributes':{'class':[_0x54c019(0xac)],'data-cke-tooltip-text':_0xf3d468(_0x1be699,_0x54c019(0xdc)),'data-cke-tooltip-position':'n'}}),this[_0x54c019(0xd8)]=new _0x3dd0aa(),this[_0x54c019(0xd8)][_0x54c019(0xe5)]=_0x31cc41,this[_0x54c019(0xd8)][_0x54c019(0xe0)]({'attributes':{'class':[_0x54c019(0xc7)],'data-cke-tooltip-text':_0xf3d468(_0x1be699,_0x54c019(0xb6)),'data-cke-tooltip-position':'n'}});const _0x347145=new _0x5e7543(_0x1be699);_0x347145[_0x54c019(0xc5)]({'tag':_0x54c019(0xaf),'attributes':{'class':['ck',_0x54c019(0x9d)]},'children':[_0xf3d468(_0x1be699,_0x54c019(0xb8),_0x1a0bff[_0x54c019(0x9a)]())]}),this[_0x54c019(0xdd)]=this[_0x54c019(0xdb)](),this[_0x54c019(0xdd)][_0x54c019(0x97)]([_0x2e1571,_0x347145,this[_0x54c019(0xd7)]]),this[_0x54c019(0xc5)]({'tag':_0x54c019(0xe2),'attributes':{'class':['ck',_0x54c019(0x96),_0x54c019(0xbc)]},'children':this[_0x54c019(0xdd)]}),this['on'](_0x54c019(0xbd),(_0x2d06a1,_0x37c825,_0x39077c,_0x3805e6)=>{const _0x447cdd=_0x54c019;switch(_0x3805e6){case _0x447cdd(0xd2):this[_0x447cdd(0xdd)][_0x447cdd(0xdf)](this[_0x447cdd(0xd7)]);break;case _0x447cdd(0xa2):this[_0x447cdd(0xdd)][_0x447cdd(0xdf)](this[_0x447cdd(0xd0)]);break;case _0x447cdd(0xaa):this[_0x447cdd(0xdd)][_0x447cdd(0xdf)](this[_0x447cdd(0x9c)]);break;case _0x447cdd(0xb1):this[_0x447cdd(0xdd)][_0x447cdd(0xdf)](this[_0x447cdd(0xd8)]);}switch(_0x39077c){case _0x447cdd(0xd2):this[_0x447cdd(0xdd)][_0x447cdd(0x9e)](this[_0x447cdd(0xd7)]);break;case _0x447cdd(0xa2):this[_0x447cdd(0xdd)][_0x447cdd(0x9e)](this[_0x447cdd(0xd0)]);break;case _0x447cdd(0xaa):this[_0x447cdd(0xdd)][_0x447cdd(0x9e)](this[_0x447cdd(0x9c)]);break;case _0x447cdd(0xb1):this[_0x447cdd(0xdd)][_0x447cdd(0x9e)](this[_0x447cdd(0xd8)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38de80=_0x532a;(function(_0xda052b,_0x22d0be){const _0x2fc9f9=_0x532a,_0xa4e155=_0xda052b();while(!![]){try{const _0x104453=parseInt(_0x2fc9f9(0x9a))/0x1*(-parseInt(_0x2fc9f9(0x99))/0x2)+-parseInt(_0x2fc9f9(0x94))/0x3+-parseInt(_0x2fc9f9(0xa0))/0x4+parseInt(_0x2fc9f9(0xaf))/0x5*(parseInt(_0x2fc9f9(0x90))/0x6)+parseInt(_0x2fc9f9(0xa1))/0x7+-parseInt(_0x2fc9f9(0xb0))/0x8+parseInt(_0x2fc9f9(0xa4))/0x9*(parseInt(_0x2fc9f9(0xa7))/0xa);if(_0x104453===_0x22d0be)break;else _0xa4e155['push'](_0xa4e155['shift']());}catch(_0x245abd){_0xa4e155['push'](_0xa4e155['shift']());}}}(_0x4d33,0xb4180));import{getTranslation as _0x3c2dad}from'../../utils/common-translations.js';import{ButtonView as _0xaf2a60,IconView as _0x3ba6e3,View as _0x2f4daf}from'ckeditor5/src/ui.js';function _0x532a(_0x9e46d7,_0x52ea5a){const _0x4d3320=_0x4d33();return _0x532a=function(_0x532a57,_0x5a46f0){_0x532a57=_0x532a57-0x90;let _0x5e0063=_0x4d3320[_0x532a57];return _0x5e0063;},_0x532a(_0x9e46d7,_0x52ea5a);}import{IconDocument as _0x2e9cd7,IconShowChangesOff as _0x39e313,IconShowChangesOn as _0x35cd60}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x2f4daf{[_0x38de80(0x9d)];constructor(_0x4a4bc8,_0x28a5d7){const _0x32bbdf=_0x38de80;super(_0x4a4bc8),this[_0x32bbdf(0x9f)](_0x32bbdf(0xa6),!0x0),this[_0x32bbdf(0x9d)]=new ShowChangesToggleView(_0x4a4bc8),this[_0x32bbdf(0x9d)][_0x32bbdf(0x9f)]({'class':_0x32bbdf(0x9b),'label':_0x3c2dad(_0x4a4bc8,_0x32bbdf(0xad)),'withText':!0x0}),this[_0x32bbdf(0x9d)][_0x32bbdf(0xa5)]=_0x28a5d7[_0x32bbdf(0x95)],this[_0x32bbdf(0x9d)][_0x32bbdf(0x9e)](_0x32bbdf(0x93))['to'](this,_0x32bbdf(0xa6)),this[_0x32bbdf(0x9d)][_0x32bbdf(0x9e)](_0x32bbdf(0xaa))['to'](this[_0x32bbdf(0x9d)],_0x32bbdf(0xa5),_0x37e6ab=>_0x37e6ab?_0x35cd60:_0x39e313),this[_0x32bbdf(0x9d)]['on'](_0x32bbdf(0xab),()=>{const _0x17dba4=_0x32bbdf;this[_0x17dba4(0x9d)][_0x17dba4(0xa5)]=!this[_0x17dba4(0x9d)][_0x17dba4(0xa5)],this[_0x17dba4(0x92)](_0x17dba4(0xa3),{'isOn':this[_0x17dba4(0x9d)][_0x17dba4(0xa5)]});});const _0x206744=new _0x3ba6e3();_0x206744[_0x32bbdf(0x96)]=_0x2e9cd7,this[_0x32bbdf(0xb2)]({'tag':_0x32bbdf(0xae),'attributes':{'class':['ck',_0x32bbdf(0xa9),!0x1===_0x28a5d7[_0x32bbdf(0xac)]?_0x32bbdf(0x9c):null][_0x32bbdf(0xb1)](Boolean)},'children':[_0x206744,{'tag':_0x32bbdf(0xa2),'children':[_0x3c2dad(_0x4a4bc8,_0x32bbdf(0x97))]},this[_0x32bbdf(0x9d)]]});}}export class ShowChangesToggleView extends _0xaf2a60{[_0x38de80(0xb4)](){const _0x28623a=_0x38de80;super[_0x28623a(0xb4)](),this[_0x28623a(0xa8)][_0x28623a(0x98)](this[_0x28623a(0xb3)]),this[_0x28623a(0xa8)][_0x28623a(0x91)](this[_0x28623a(0xb3)]);}}function _0x4d33(){const _0x4c6ca1=['filter','setTemplate','iconView','render','6kVzzOr','add','fire','isVisible','1379748npnchd','showDiff','content','AI_SUGGESTION_HEADER_TITLE','remove','2AfutIy','958481tDffRe','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','ck-hidden','showChangesToggleView','bind','set','1800340xwuOne','2238817tBrnkt','span','toggleShowChanges','18LZYXPL','isOn','isShowChangesToggleVisible','12960590EhDHXJ','children','ck-ai-suggestion__header','icon','execute','showHeader','AI_SUGGESTION_BUTTON_SHOW_CHANGES','div','3788355SCvnnZ','8507792FdpPEt'];_0x4d33=function(){return _0x4c6ca1;};return _0x4d33();}
23
+ const _0xd29a16=_0x3880;function _0xbc09(){const _0x323ea6=['isVisible','span','add','remove','6896742dmDLqR','isOn','3831900aHagdZ','execute','showHeader','234291PuSKDR','children','isShowChangesToggleVisible','showChangesToggleView','filter','content','icon','fire','iconView','setTemplate','div','render','3BaffuX','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','AI_SUGGESTION_HEADER_TITLE','set','ck-hidden','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showDiff','65051YIpMJf','4057836vVpwbR','4461444lGIzQP','toggleShowChanges','264xXWIuA','ck-ai-suggestion__header','346988ayGkkH','bind'];_0xbc09=function(){return _0x323ea6;};return _0xbc09();}function _0x3880(_0x34e4c6,_0x2f0058){const _0xbc099f=_0xbc09();return _0x3880=function(_0x38801f,_0x36c8c3){_0x38801f=_0x38801f-0x1a8;let _0x1f9f33=_0xbc099f[_0x38801f];return _0x1f9f33;},_0x3880(_0x34e4c6,_0x2f0058);}(function(_0x58f544,_0x48347d){const _0x55f6b8=_0x3880,_0x5c9dd0=_0x58f544();while(!![]){try{const _0x3d8b3c=parseInt(_0x55f6b8(0x1c1))/0x1+-parseInt(_0x55f6b8(0x1b6))/0x2*(parseInt(_0x55f6b8(0x1a9))/0x3)+parseInt(_0x55f6b8(0x1b1))/0x4+-parseInt(_0x55f6b8(0x1be))/0x5+parseInt(_0x55f6b8(0x1bc))/0x6+parseInt(_0x55f6b8(0x1b0))/0x7*(-parseInt(_0x55f6b8(0x1b4))/0x8)+-parseInt(_0x55f6b8(0x1b2))/0x9;if(_0x3d8b3c===_0x48347d)break;else _0x5c9dd0['push'](_0x5c9dd0['shift']());}catch(_0x48d91e){_0x5c9dd0['push'](_0x5c9dd0['shift']());}}}(_0xbc09,0xa024c));import{getTranslation as _0x3595b3}from'../../utils/common-translations.js';import{ButtonView as _0x126322,IconView as _0x1323d4,View as _0xfc30b2}from'ckeditor5/src/ui.js';import{IconDocument as _0x186f48,IconShowChangesOff as _0xdcc75,IconShowChangesOn as _0x183c36}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0xfc30b2{[_0xd29a16(0x1c4)];constructor(_0x35dd3f,_0x375dc5){const _0xc5e866=_0xd29a16;super(_0x35dd3f),this[_0xc5e866(0x1ac)](_0xc5e866(0x1c3),!0x0),this[_0xc5e866(0x1c4)]=new ShowChangesToggleView(_0x35dd3f),this[_0xc5e866(0x1c4)][_0xc5e866(0x1ac)]({'class':_0xc5e866(0x1aa),'label':_0x3595b3(_0x35dd3f,_0xc5e866(0x1ae)),'withText':!0x0}),this[_0xc5e866(0x1c4)][_0xc5e866(0x1bd)]=_0x375dc5[_0xc5e866(0x1af)],this[_0xc5e866(0x1c4)][_0xc5e866(0x1b7)](_0xc5e866(0x1b8))['to'](this,_0xc5e866(0x1c3)),this[_0xc5e866(0x1c4)][_0xc5e866(0x1b7)](_0xc5e866(0x1c7))['to'](this[_0xc5e866(0x1c4)],_0xc5e866(0x1bd),_0x51b19c=>_0x51b19c?_0x183c36:_0xdcc75),this[_0xc5e866(0x1c4)]['on'](_0xc5e866(0x1bf),()=>{const _0x337df4=_0xc5e866;this[_0x337df4(0x1c4)][_0x337df4(0x1bd)]=!this[_0x337df4(0x1c4)][_0x337df4(0x1bd)],this[_0x337df4(0x1c8)](_0x337df4(0x1b3),{'isOn':this[_0x337df4(0x1c4)][_0x337df4(0x1bd)]});});const _0x4ec6ed=new _0x1323d4();_0x4ec6ed[_0xc5e866(0x1c6)]=_0x186f48,this[_0xc5e866(0x1ca)]({'tag':_0xc5e866(0x1cb),'attributes':{'class':['ck',_0xc5e866(0x1b5),!0x1===_0x375dc5[_0xc5e866(0x1c0)]?_0xc5e866(0x1ad):null][_0xc5e866(0x1c5)](Boolean)},'children':[_0x4ec6ed,{'tag':_0xc5e866(0x1b9),'children':[_0x3595b3(_0x35dd3f,_0xc5e866(0x1ab))]},this[_0xc5e866(0x1c4)]]});}}export class ShowChangesToggleView extends _0x126322{[_0xd29a16(0x1a8)](){const _0x23505e=_0xd29a16;super[_0x23505e(0x1a8)](),this[_0x23505e(0x1c2)][_0x23505e(0x1bb)](this[_0x23505e(0x1c9)]),this[_0x23505e(0x1c2)][_0x23505e(0x1ba)](this[_0x23505e(0x1c9)]);}}