@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +114 -12
  3. package/dist/index.css +114 -12
  4. package/dist/index.js +4 -4
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/lang/contexts.json +36 -1
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +16 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  242. package/src/aicore/utils/common-translations.js +1 -1
  243. package/src/aicore/utils/createresizebutton.js +1 -1
  244. package/src/aicore/utils/documentposition.js +1 -1
  245. package/src/aicore/utils/documentrange.js +1 -1
  246. package/src/aicore/utils/eventnames.js +1 -1
  247. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  248. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  249. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  250. package/src/aicore/utils/htmlparser.js +1 -1
  251. package/src/aicore/utils/htmlstreamer.js +1 -1
  252. package/src/aiquickactions/aiquickactions.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  259. package/src/aiquickactions/utils/common-translations.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  261. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  262. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  263. package/src/aireviewmode/aireviewmode.js +1 -1
  264. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  265. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  266. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  267. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  268. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  269. package/src/aireviewmode/aireviewmodeui.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  271. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  273. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  274. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  275. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -1
  278. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  279. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  280. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  281. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  282. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  283. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  284. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
  287. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  288. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  289. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  290. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  291. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  292. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  294. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  295. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  296. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  297. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  298. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  299. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  300. package/src/aitabs/aitabs.js +1 -1
  301. package/src/aitabs/aitabsmainview.js +1 -1
  302. package/src/aitabs/tabs/aitabsview.js +1 -1
  303. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  304. package/src/aitabs/tabs/tabpanelview.js +1 -1
  305. package/src/index.d.ts +3 -2
  306. package/src/index.js +1 -1
  307. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  308. package/theme/aichat/aichat-controls.css +4 -0
  309. package/theme/aichat/aichatfeed.css +4 -0
  310. package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
  311. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  312. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  313. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3372(){const _0x324b27=['htmlProcessor','getShiftedBy','remove-context','DocumentCompare','No\x20element\x20found\x20for\x20ID:\x20','_findAdjacentContextDistance','innerHTML','getRange','data','[data-id=\x22','start','oldRange','log','offset','index','dataDowncast','getDocumentData','hasContentAfter','ai-review-mode','nodes','rejectChange','addMarker','enableReadOnlyMode','_getMarkersDataForGroup','documentFragment','isTouching','_getTopElement','AIEditing','jumpTo','_getOperationEnd','htmlWriter','createPositionAt','clear','insert','model:$text','ck-ai_review-mode-marker_context-','editingDowncast','context','33642895LBlbtr','elements','baseVersion','applyOperation','afterInit','_getChangeContext','929982CjOfQe','forward','getPath','newRange','marker','toData','deleteContent','getHtml','markerName','clone','_groupAdjacentOperations','_createGetContentUsingDataIdFn','getDiff','map','add','ck-ai_review-mode-marker_add','parse','text','isAtStart','keys','getChildren','push','_createGetContentFn','stringify','from','7856fUYpLB','createDocumentFragment','operationsA','ck-ai_review-mode-marker_context-start','markerToHighlight','type','end','suggestion:deletion:id:authorId:','operationsIsolated','startsWith','isPremiumPlugin','getRoots','hasClass','getChild','isInline','addOperation','9OYGKmn','change','delete','domConverter','createSelection','getOperations','howMany','document','_markers','set','backward','path','AIReviewModeEditing','downcast','pluginName','ck-ai_review-mode-marker_hide','span','79FFadVO','_removeChildren','_changePosition','parent','createPositionAfter','5esMeAG','reviewmode-','remove-only','applyChange','requires','markers','length','position','removeMarker','$documentFragment','_changePositionOwnerDocument','_appendChild','switchToEdit','exec','getAttribute','markChangePositionInEditorContent','_shiftOperation','3866991SHFJCC','plugins','append','toView','ck-ai_review-mode-marker_underline','switchToReadOnly','warn','createRawElement','ellipsisBefore','scrollToChangeInEditorContent','diffContent','every','schema','ck-ai_review-mode-marker_context-end','isAtEnd','version','_translateOperationToEditorContent','remove-text','history','createUIElement','affectsData','createText','isOfficialPlugin','element','querySelector','_nextDataId','hasContentBefore','concat','filter','values','ck-ai_review-mode-marker_strikethrough','11701310KrBaAC','model','_changeRangeOwnerDocument','clearAllMarkers','groupId','disableReadOnlyMode','1610VtYykp','for','name','insertContent','_changeOperationOwnerDocument','processor','7343zZvSEb','ellipsisAfter','attributeToAttribute','_insertMarkers','markerToElement','suggestion-context','$textProxy','_setAttribute','$markedRemove','Scroll\x20to\x20change\x20in\x20editor\x20content','viewToDom','offsetSize','createRange','caption','_getOperationStart','_changeRange','getContentElement','isOpening','getRoot','get','outerHTML','_createGetContextFn','_clone','4168396DoTPmn','childCount','isDocumentOperation','suggestion:insertion:id:authorId:','batch','toDomElement','conversion'];_0x3372=function(){return _0x324b27;};return _0x3372();}const _0x232c92=_0x8933;(function(_0x18a616,_0x503ac8){const _0x1b6040=_0x8933,_0x2ffd27=_0x18a616();while(!![]){try{const _0x372c25=-parseInt(_0x1b6040(0x16c))/0x1*(parseInt(_0x1b6040(0x1a7))/0x2)+-parseInt(_0x1b6040(0x182))/0x3+parseInt(_0x1b6040(0xff))/0x4*(parseInt(_0x1b6040(0x171))/0x5)+parseInt(_0x1b6040(0x132))/0x6+parseInt(_0x1b6040(0x1ad))/0x7*(-parseInt(_0x1b6040(0x14b))/0x8)+parseInt(_0x1b6040(0x15b))/0x9*(-parseInt(_0x1b6040(0x1a1))/0xa)+parseInt(_0x1b6040(0x12c))/0xb;if(_0x372c25===_0x503ac8)break;else _0x2ffd27['push'](_0x2ffd27['shift']());}catch(_0x52c92f){_0x2ffd27['push'](_0x2ffd27['shift']());}}}(_0x3372,0xab8ec));import{InsertOperation as _0x475387,MarkerOperation as _0x418905,ModelDocumentFragment as _0x27d8bf,ModelPosition as _0x3f2e59,ModelRange as _0x10c1a7,ModelTreeWalker as _0x4863ef,transformOperationSets as _0x5ef0ac}from'ckeditor5/src/engine.js';import{uid as _0x121c7}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x243d23}from'ckeditor5/src/core.js';import{DocumentCompare as _0x58911f,DATA_ID_MODEL_ATTRIBUTE as _0x11be53,DATA_ID_VIEW_ATTRIBUTE as _0x1bbf96}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8933(_0xe7fc2a,_0x48dfa6){const _0x337263=_0x3372();return _0x8933=function(_0x8933c7,_0x162ac0){_0x8933c7=_0x8933c7-0xf1;let _0x1a9705=_0x337263[_0x8933c7];return _0x1a9705;},_0x8933(_0xe7fc2a,_0x48dfa6);}import{getEditorFromContext as _0x1e6b73}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x14d1e3}from'../aicore/aiediting.js';const Zt=_0x232c92(0x172);export class AIReviewModeEditing extends _0x243d23{static get[_0x232c92(0x169)](){const _0x45f995=_0x232c92;return _0x45f995(0x167);}static get[_0x232c92(0x175)](){return[_0x58911f,_0x14d1e3];}static get[_0x232c92(0x198)](){return!0x0;}static get[_0x232c92(0x155)](){return!0x0;}[_0x232c92(0x163)]=new Map();[_0x232c92(0x130)](){const _0x1c3bab=_0x232c92,_0x4e65a9=_0x1e6b73(this[_0x1c3bab(0x12b)]);_0x4e65a9[_0x1c3bab(0x105)][_0x1c3bab(0x1a8)](_0x1c3bab(0x12a))[_0x1c3bab(0x1b1)]({'model':Zt+_0x1c3bab(0x127),'view':(_0x2f65e7,{writer:_0x2488a9})=>{const _0x5d50e5=_0x1c3bab,_0x1c2a79=this[_0x5d50e5(0x163)][_0x5d50e5(0xfb)](_0x2f65e7[_0x5d50e5(0x13a)]);return _0x2488a9[_0x5d50e5(0x195)](_0x5d50e5(0x16b),{'class':_0x5d50e5(0x141)},function(_0x3abe69){const _0x38b9de=_0x5d50e5,_0x27bf62=this[_0x38b9de(0x104)](_0x3abe69);return _0x27bf62[_0x38b9de(0x10c)]=_0x1c2a79?.[_0x38b9de(0x143)]||'',_0x27bf62;});}}),_0x4e65a9[_0x1c3bab(0x105)][_0x1c3bab(0x1a8)](_0x1c3bab(0x115))[_0x1c3bab(0x1b1)]({'model':Zt+_0x1c3bab(0x1b2),'view':(_0x36ee9a,{writer:_0x4b84d2})=>_0x4b84d2[_0x1c3bab(0x189)](_0x1c3bab(0x16b),{'class':_0x1c3bab(0x129)+(_0x36ee9a[_0x1c3bab(0xf9)]?_0x1c3bab(0x110):_0x1c3bab(0x151))})}),_0x4e65a9[_0x1c3bab(0x105)][_0x1c3bab(0x1a8)](_0x1c3bab(0x12a))[_0x1c3bab(0x14f)]({'model':Zt+_0x1c3bab(0x173),'view':()=>({'classes':_0x1c3bab(0x1a0)})}),_0x4e65a9[_0x1c3bab(0x105)][_0x1c3bab(0x1a8)](_0x1c3bab(0x12a))[_0x1c3bab(0x14f)]({'model':Zt+_0x1c3bab(0x108),'view':()=>({'classes':_0x1c3bab(0x186)})}),_0x4e65a9[_0x1c3bab(0x105)][_0x1c3bab(0x1a8)](_0x1c3bab(0x12a))[_0x1c3bab(0x14f)]({'model':Zt+_0x1c3bab(0x193),'view':()=>({'classes':_0x1c3bab(0x16a)})}),_0x4e65a9[_0x1c3bab(0x105)][_0x1c3bab(0x1a8)](_0x1c3bab(0x168))[_0x1c3bab(0x1af)]({'model':_0x11be53,'view':_0x1bbf96});}[_0x232c92(0x116)](){const _0x36ed7f=_0x232c92,_0x2529e1=this[_0x36ed7f(0x12b)][_0x36ed7f(0x183)][_0x36ed7f(0xfb)](_0x36ed7f(0x121)),_0x152258=_0x1e6b73(this[_0x36ed7f(0x12b)]),_0x2326f0=_0x152258[_0x36ed7f(0x1a2)],_0x2bc44d=new _0x27d8bf();for(const _0x153124 of _0x2326f0[_0x36ed7f(0x162)][_0x36ed7f(0xfa)]()[_0x36ed7f(0x146)]()){const _0x573d76=_0x153124[_0x36ed7f(0xfe)](!0x0);_0x2bc44d[_0x36ed7f(0x17c)](_0x573d76);}for(const _0x24dbc1 of _0x2326f0[_0x36ed7f(0x176)])_0x2bc44d[_0x36ed7f(0x176)][_0x36ed7f(0x164)](_0x24dbc1[_0x36ed7f(0x1a9)],this[_0x36ed7f(0x1a3)](_0x24dbc1[_0x36ed7f(0x10d)]()[_0x36ed7f(0x13b)](),_0x2bc44d));const _0x15b969=new _0x4863ef({'ignoreElementEnd':!0x0,'startPosition':_0x2326f0[_0x36ed7f(0x125)](_0x2bc44d,0x0)}),_0x2deae3=new Set(),_0x197354=new Map();for(const {item:_0x13039c}of _0x15b969){if(!_0x13039c['is'](_0x36ed7f(0x1b3)))continue;const _0x2229f5=_0x13039c[_0x36ed7f(0x16f)];if((!_0x2229f5||!_0x2229f5['is'](_0x36ed7f(0x199),_0x36ed7f(0xf5)))&&(_0x2229f5&&_0x2229f5['is'](_0x36ed7f(0x199)))){let _0x4aaa3e=_0x2229f5[_0x36ed7f(0x17f)](_0x11be53);_0x4aaa3e||(_0x4aaa3e=_0x2529e1[_0x36ed7f(0x19b)](_0x2deae3),_0x2229f5[_0x36ed7f(0x1b4)](_0x11be53,_0x4aaa3e)),_0x2deae3[_0x36ed7f(0x140)](_0x4aaa3e);const _0x4b2179=this[_0x36ed7f(0x120)](_0x2229f5);_0x197354[_0x36ed7f(0x164)](_0x4aaa3e,{'path':_0x2229f5[_0x36ed7f(0x134)](),'getContent':this[_0x36ed7f(0x13d)](_0x4b2179[_0x36ed7f(0xfe)](!0x0),_0x4aaa3e,_0x152258[_0x36ed7f(0x10e)])}),_0x15b969[_0x36ed7f(0x122)](_0x2326f0[_0x36ed7f(0x170)](_0x2229f5));}}return{'content':_0x152258[_0x36ed7f(0x10e)][_0x36ed7f(0x1ac)][_0x36ed7f(0x137)](_0x152258[_0x36ed7f(0x10e)][_0x36ed7f(0x185)](_0x2bc44d)),'version':_0x152258[_0x36ed7f(0x1a2)][_0x36ed7f(0x162)][_0x36ed7f(0x191)],'elements':_0x197354};}[_0x232c92(0x18c)](_0x509bce,_0x1aa9d4){const _0x114100=_0x232c92,_0x384140=_0x1e6b73(this[_0x114100(0x12b)]),_0x3f2254=_0x384140[_0x114100(0x10e)][_0x114100(0x142)](_0x509bce,_0x114100(0x17a)),_0x424006=_0x384140[_0x114100(0x1a2)][_0x114100(0x125)](_0x3f2254,0x0),_0x42014a=this[_0x114100(0x12b)][_0x114100(0x183)][_0x114100(0xfb)](_0x114100(0x109))[_0x114100(0x13e)](_0x509bce,_0x1aa9d4,{'anchor':_0x424006,'markDeletions':!0x0})[_0x114100(0x160)]()[_0x114100(0x19e)](_0x1a837f=>_0x114100(0x127)===_0x1a837f[_0x114100(0x150)]||_0x114100(0x136)===_0x1a837f[_0x114100(0x150)]&&_0x1a837f[_0x114100(0x1a9)][_0x114100(0x154)](_0x114100(0x1b5))),_0x48c971=this[_0x114100(0x13c)](_0x42014a),_0xeb5dce=[];let _0x13ec46=0x0;return _0x384140[_0x114100(0x1a2)][_0x114100(0x15c)](_0x598eef=>{const _0x2433aa=_0x114100;for(let _0x3f606c=0x0;_0x3f606c<_0x48c971[_0x2433aa(0x177)];_0x3f606c++){const _0x2e2376=_0x48c971[_0x3f606c],_0x592fb8=_0x598eef[_0x2433aa(0x14c)]();for(const _0x297abd of _0x3f2254[_0x2433aa(0x146)]())_0x598eef[_0x2433aa(0x184)](_0x297abd[_0x2433aa(0xfe)](!0x0),_0x592fb8);for(const _0x37776e of _0x2e2376[_0x2433aa(0x153)])if(_0x2433aa(0x127)===_0x37776e[_0x2433aa(0x150)]){const _0x25bc44=_0x37776e;_0x25bc44[_0x2433aa(0x12e)]=null,_0x25bc44[_0x2433aa(0x101)]=!0x1,this[_0x2433aa(0x1ab)](_0x25bc44,_0x592fb8),_0x598eef[_0x2433aa(0x103)][_0x2433aa(0x15a)](_0x37776e),_0x384140[_0x2433aa(0x1a2)][_0x2433aa(0x12f)](_0x37776e);const _0x4aa32f=_0x2433aa(0x102)+_0x13ec46++,_0x37a375=_0x384140[_0x2433aa(0x1a2)][_0x2433aa(0xf4)](_0x25bc44[_0x2433aa(0x178)],_0x25bc44[_0x2433aa(0x178)][_0x2433aa(0x107)](_0x25bc44[_0x2433aa(0x161)]));_0x592fb8[_0x2433aa(0x176)][_0x2433aa(0x164)](_0x4aa32f,_0x37a375);}else{if(_0x2433aa(0x136)===_0x37776e[_0x2433aa(0x150)]&&_0x37776e[_0x2433aa(0x1a9)][_0x2433aa(0x154)](_0x2433aa(0x1b5))){const _0x632234=_0x37776e,_0x15d853=_0x2433aa(0x152)+_0x13ec46++;this[_0x2433aa(0x1ab)](_0x632234,_0x592fb8),_0x592fb8[_0x2433aa(0x176)][_0x2433aa(0x164)](_0x15d853,_0x632234[_0x2433aa(0x135)]);}}const _0x1078fe=this[_0x2433aa(0x131)](this[_0x2433aa(0x17b)](this[_0x2433aa(0xf6)](_0x2e2376[_0x2433aa(0x153)][0x0]),_0x592fb8),this[_0x2433aa(0x17b)](this[_0x2433aa(0x123)](_0x2e2376[_0x2433aa(0x153)][_0x2e2376[_0x2433aa(0x153)][_0x2433aa(0x177)]-0x1]),_0x592fb8));_0x592fb8[_0x2433aa(0x176)][_0x2433aa(0x164)](Zt+_0x2433aa(0x1b2),new _0x10c1a7(_0x1078fe[_0x2433aa(0x110)],_0x1078fe[_0x2433aa(0x151)])),_0xeb5dce[_0x2433aa(0x147)]({..._0x2e2376,'context':this[_0x2433aa(0xfd)](_0x592fb8,_0x384140[_0x2433aa(0x10e)],{'ellipsisBefore':_0x1078fe[_0x2433aa(0x19c)],'ellipsisAfter':_0x1078fe[_0x2433aa(0x117)]}),'content':this[_0x2433aa(0x148)](_0x592fb8,_0x384140[_0x2433aa(0x10e)])});}}),_0xeb5dce;}[_0x232c92(0x180)](_0x538e52,_0x653c80){const _0x25d4bb=_0x232c92,_0x10eeef=_0x538e52[0x0][_0x25d4bb(0x16f)]['id'],_0x2743b3=_0x653c80[_0x25d4bb(0x12d)][_0x25d4bb(0xfb)](_0x10eeef);if(!_0x2743b3)return void console[_0x25d4bb(0x188)](_0x25d4bb(0x10a)+_0x10eeef);const _0x209a02=_0x2743b3[_0x25d4bb(0x166)],_0x28fc0d=_0x1e6b73(this[_0x25d4bb(0x12b)]),_0x3a4d79=_0x28fc0d[_0x25d4bb(0x1a2)][_0x25d4bb(0x162)][_0x25d4bb(0x194)][_0x25d4bb(0x160)](_0x653c80[_0x25d4bb(0x191)]),_0x5dd300=[];for(const _0x3faf1c of _0x538e52){const _0x53ef08=_0x3faf1c[_0x25d4bb(0x153)][_0x25d4bb(0x13f)](_0x1f66f3=>this[_0x25d4bb(0x192)](_0x1f66f3,_0x209a02,_0x28fc0d[_0x25d4bb(0x1a2)][_0x25d4bb(0x162)][_0x25d4bb(0x156)]()[0x0]));if(!_0x53ef08||!_0x53ef08[_0x25d4bb(0x177)])continue;const _0x494d0b=_0x53ef08[_0x25d4bb(0x18d)](_0x458424=>_0x25d4bb(0x136)===_0x458424[_0x25d4bb(0x150)]&&_0x458424[_0x25d4bb(0x1a9)][_0x25d4bb(0x154)](_0x25d4bb(0x1b5))),_0xd20e77={'document':_0x28fc0d[_0x25d4bb(0x1a2)][_0x25d4bb(0x162)],'useRelations':!0x1,'padWithNoOps':!0x1},_0xd98b8a=_0x5ef0ac(_0x53ef08,_0x3a4d79,_0xd20e77)[_0x25d4bb(0x14d)];for(const _0xfe912c of _0xd98b8a)if(_0x25d4bb(0x127)===_0xfe912c[_0x25d4bb(0x150)]){const _0x21f5b4=_0xfe912c,_0x1fdef0=_0x21f5b4[_0x25d4bb(0x119)];let _0x3d8cec='';for(const _0x2dfdbc of _0x1fdef0)_0x2dfdbc&&_0x2dfdbc['is'](_0x25d4bb(0x128))&&(_0x3d8cec+=_0x2dfdbc[_0x25d4bb(0x10e)]);_0x5dd300[_0x25d4bb(0x147)]({'start':_0x21f5b4[_0x25d4bb(0x178)],'end':_0x21f5b4[_0x25d4bb(0x178)],'type':_0x25d4bb(0x127),'groupId':_0x3faf1c['id'],'text':_0x3d8cec});}else{if(_0x25d4bb(0x136)===_0xfe912c[_0x25d4bb(0x150)]&&_0xfe912c[_0x25d4bb(0x1a9)][_0x25d4bb(0x154)](_0x25d4bb(0x1b5))){const _0x1c5db2=_0xfe912c;let _0x392468=_0x25d4bb(0x193);if(_0x494d0b){const _0x4f58f5=this[_0x25d4bb(0x10b)](_0x1c5db2[_0x25d4bb(0x135)][_0x25d4bb(0x110)],_0x25d4bb(0x165),_0x28fc0d[_0x25d4bb(0x1a2)][_0x25d4bb(0x18e)]),_0x3b90fd=this[_0x25d4bb(0x10b)](_0x1c5db2[_0x25d4bb(0x135)][_0x25d4bb(0x151)],_0x25d4bb(0x133),_0x28fc0d[_0x25d4bb(0x1a2)][_0x25d4bb(0x18e)]);if(_0x4f58f5||_0x3b90fd){const _0x4cb111=_0x1c5db2[_0x25d4bb(0x135)][_0x25d4bb(0x110)][_0x25d4bb(0x107)](-_0x4f58f5),_0x49696d=_0x1c5db2[_0x25d4bb(0x135)][_0x25d4bb(0x151)][_0x25d4bb(0x107)](_0x3b90fd);_0x5dd300[_0x25d4bb(0x147)]({'start':_0x4cb111,'end':_0x49696d,'groupId':_0x3faf1c['id'],'type':_0x25d4bb(0x108)});}else _0x392468=_0x25d4bb(0x173);}_0x5dd300[_0x25d4bb(0x147)]({'start':_0x1c5db2[_0x25d4bb(0x135)][_0x25d4bb(0x110)],'end':_0x1c5db2[_0x25d4bb(0x135)][_0x25d4bb(0x151)],'groupId':_0x3faf1c['id'],'type':_0x392468});}}}this[_0x25d4bb(0x1b0)](_0x5dd300);}[_0x232c92(0x1a4)](){const _0x14651f=_0x232c92;_0x1e6b73(this[_0x14651f(0x12b)])[_0x14651f(0x1a2)][_0x14651f(0x15c)](_0x4bfc56=>{const _0x43aeaf=_0x14651f;for(const _0x4a45fe of this[_0x43aeaf(0x163)][_0x43aeaf(0x145)]())_0x4bfc56[_0x43aeaf(0x179)](_0x4a45fe);}),this[_0x14651f(0x163)][_0x14651f(0x126)]();}[_0x232c92(0x187)](){const _0x310326=_0x232c92;_0x1e6b73(this[_0x310326(0x12b)])[_0x310326(0x11c)](_0x310326(0x118));}[_0x232c92(0x17d)](){const _0x1653b3=_0x232c92;_0x1e6b73(this[_0x1653b3(0x12b)])[_0x1653b3(0x1a6)](_0x1653b3(0x118));}[_0x232c92(0x174)](_0x38d3e8){const _0x10b11c=_0x232c92,_0xd46555=_0x1e6b73(this[_0x10b11c(0x12b)]),_0x56bc64=_0xd46555[_0x10b11c(0x1a2)],_0x12a914=this[_0x10b11c(0x11d)](_0x38d3e8);_0x56bc64[_0x10b11c(0x15c)](_0x7ba3a=>{const _0x428d46=_0x10b11c;for(const _0x11be36 of _0x12a914){const _0x45740a=_0xd46555[_0x428d46(0x1a2)][_0x428d46(0x176)][_0x428d46(0xfb)](_0x11be36['id']);_0x45740a&&(_0x428d46(0x127)===_0x11be36[_0x428d46(0x150)]?_0x56bc64[_0x428d46(0x1aa)](_0x7ba3a[_0x428d46(0x197)](_0x11be36[_0x428d46(0x143)]||''),_0x45740a[_0x428d46(0x10d)]()[_0x428d46(0x110)]):_0x428d46(0x193)!==_0x11be36[_0x428d46(0x150)]&&_0x428d46(0x173)!==_0x11be36[_0x428d46(0x150)]||_0x56bc64[_0x428d46(0x138)](_0x56bc64[_0x428d46(0x15f)](_0x45740a[_0x428d46(0x10d)]())),_0x7ba3a[_0x428d46(0x179)](_0x11be36['id']),this[_0x428d46(0x163)][_0x428d46(0x15d)](_0x11be36['id']));}});}[_0x232c92(0x11a)](_0x23c71d){const _0x5965bf=_0x232c92,_0x436dcb=_0x1e6b73(this[_0x5965bf(0x12b)]),_0x327edd=this[_0x5965bf(0x11d)](_0x23c71d);_0x436dcb[_0x5965bf(0x1a2)][_0x5965bf(0x15c)](_0x532f4e=>{const _0x497170=_0x5965bf;for(const _0x597c8f of _0x327edd)_0x532f4e[_0x497170(0x179)](_0x597c8f['id']),this[_0x497170(0x163)][_0x497170(0x15d)](_0x597c8f['id']);});}[_0x232c92(0xf8)](){const _0x62346d=_0x232c92,_0x11a21c=_0x1e6b73(this[_0x62346d(0x12b)]);return _0x11a21c&&_0x11a21c['ui']&&_0x11a21c['ui'][_0x62346d(0x199)]?_0x11a21c['ui'][_0x62346d(0x199)]:null;}[_0x232c92(0x192)](_0x276815,_0x2cec18,_0x202cd6){const _0x33a039=_0x232c92;if(_0x33a039(0x127)===_0x276815[_0x33a039(0x150)]){const _0x205014=_0x276815;return new _0x475387(this[_0x33a039(0x16e)](_0x205014[_0x33a039(0x178)],_0x2cec18[_0x33a039(0x19d)](_0x205014[_0x33a039(0x178)][_0x33a039(0x113)]),_0x202cd6),_0x205014[_0x33a039(0x119)],_0x205014[_0x33a039(0x12e)]);}if(_0x33a039(0x136)===_0x276815[_0x33a039(0x150)]&&_0x276815[_0x33a039(0x1a9)][_0x33a039(0x154)](_0x33a039(0x1b5))){const _0x3a2874=_0x276815;return new _0x418905(_0x3a2874[_0x33a039(0x1a9)],_0x3a2874[_0x33a039(0x111)],this[_0x33a039(0xf7)](_0x3a2874[_0x33a039(0x135)],_0x2cec18[_0x33a039(0x19d)](_0x3a2874[_0x33a039(0x135)][_0x33a039(0x110)][_0x33a039(0x113)]),_0x2cec18[_0x33a039(0x19d)](_0x3a2874[_0x33a039(0x135)][_0x33a039(0x151)][_0x33a039(0x113)]),_0x202cd6),_0x3a2874[_0x33a039(0x163)],_0x3a2874[_0x33a039(0x196)],_0x3a2874[_0x33a039(0x12e)]);}return _0x276815;}[_0x232c92(0x13c)](_0x3bdeab){const _0x532a6f=_0x232c92;if(!_0x3bdeab[_0x532a6f(0x177)])return[];const _0x2f5fea=[];let _0x2aafa8=0x0,_0x17aea4=0x0,_0x55e502=[];for(let _0x3b322b=0x0;_0x3b322b<=_0x3bdeab[_0x532a6f(0x177)];_0x3b322b++){const _0x8c8614=_0x3bdeab[_0x3b322b],_0x401d5a=_0x3bdeab[_0x3b322b-0x1];!_0x8c8614||_0x401d5a&&!this[_0x532a6f(0x123)](_0x401d5a)[_0x532a6f(0x11f)](this[_0x532a6f(0xf6)](_0x8c8614))?(_0x2f5fea[_0x532a6f(0x147)]({'operations':_0x55e502,'operationsIsolated':_0x55e502[_0x532a6f(0x13f)](_0x1d8aed=>this[_0x532a6f(0x181)](_0x1d8aed[_0x532a6f(0x13b)](),-_0x17aea4)),'groupOffset':_0x2aafa8}),_0x55e502=_0x8c8614?[_0x8c8614]:[],_0x17aea4+=_0x2aafa8,_0x2aafa8=0x0):_0x55e502[_0x532a6f(0x147)](_0x8c8614),_0x8c8614&&_0x532a6f(0x127)===_0x8c8614[_0x532a6f(0x150)]&&(_0x2aafa8+=_0x8c8614[_0x532a6f(0x161)]);}return _0x2f5fea;}[_0x232c92(0x18b)](_0x1d2493){const _0x294d29=_0x232c92;console[_0x294d29(0x112)](_0x294d29(0xf1),_0x1d2493['id']);}[_0x232c92(0x10b)](_0x2e6c77,_0x4f5c80,_0x44cf90,_0x265284=0x1){const _0x1cef68=_0x232c92,_0x18c5ca=new _0x4863ef({'startPosition':_0x2e6c77,'direction':_0x4f5c80});let _0x3accfc=0x0;for(let _0x2f05ae=0x0;_0x2f05ae<_0x265284;_0x2f05ae++){let _0x547f69=0x0,_0x1a1774=!0x1,_0x4d1b76=_0x1cef68(0x133)===_0x4f5c80?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x534111}of _0x18c5ca)if(_0x534111['is'](_0x1cef68(0x1b3))){const _0x5c5a2c=_0x4d1b76[_0x1cef68(0x17e)](_0x534111[_0x1cef68(0x10e)]);if(_0x5c5a2c&&_0x5c5a2c[_0x1cef68(0x177)]){if(_0x547f69+=_0x1cef68(0x133)===_0x4f5c80?_0x5c5a2c[_0x1cef68(0x114)]+_0x5c5a2c[0x0][_0x1cef68(0x177)]:_0x534111[_0x1cef68(0x10e)][_0x1cef68(0x177)]-_0x5c5a2c[_0x1cef68(0x114)],_0x5c5a2c[0x0][_0x1cef68(0x177)]!==_0x534111[_0x1cef68(0x10e)][_0x1cef68(0x177)])break;_0x1a1774=!0x0,_0x4d1b76=_0x1cef68(0x133)===_0x4f5c80?/^\w+/:/\w+$/;}else{if(_0x1a1774)break;_0x547f69+=_0x534111[_0x1cef68(0xf3)];}}else{if(_0x534111['is'](_0x1cef68(0x199))){_0x44cf90[_0x1cef68(0x159)](_0x534111)&&!_0x1a1774&&(_0x547f69+=0x1);break;}}_0x3accfc+=_0x547f69,_0x18c5ca[_0x1cef68(0x122)](_0x2e6c77[_0x1cef68(0x107)](_0x1cef68(0x133)===_0x4f5c80?_0x3accfc:-_0x3accfc));}return _0x3accfc;}[_0x232c92(0x131)](_0x1d0325,_0x5187f6){const _0xac2303=_0x232c92,_0x223db8=_0x1e6b73(this[_0xac2303(0x12b)])[_0xac2303(0x1a2)][_0xac2303(0x18e)],_0x418906=this[_0xac2303(0x10b)](_0x1d0325,_0xac2303(0x165),_0x223db8,0x6),_0x228e38=this[_0xac2303(0x10b)](_0x5187f6,_0xac2303(0x133),_0x223db8,0x6),_0x396e5b=_0x1d0325[_0xac2303(0x107)](-_0x418906),_0x133f2d=_0x5187f6[_0xac2303(0x107)](_0x228e38);return{'start':_0x396e5b,'end':_0x133f2d,'hasContentBefore':!_0x396e5b[_0xac2303(0x144)],'hasContentAfter':!_0x133f2d[_0xac2303(0x190)]};}[_0x232c92(0x1b0)](_0xfa93fd){const _0xf3cbb9=_0x232c92;_0x1e6b73(this[_0xf3cbb9(0x12b)])[_0xf3cbb9(0x1a2)][_0xf3cbb9(0x15c)](_0x55a73b=>{const _0x5ec637=_0xf3cbb9;for(const _0x4e61be of _0xfa93fd){const _0x82dbfe=''+Zt+_0x4e61be[_0x5ec637(0x150)]+':'+_0x4e61be[_0x5ec637(0x1a5)]+'_'+_0x121c7();this[_0x5ec637(0x163)][_0x5ec637(0x164)](_0x82dbfe,{'id':_0x82dbfe,'groupId':_0x4e61be[_0x5ec637(0x1a5)],'type':_0x4e61be[_0x5ec637(0x150)],'text':_0x4e61be[_0x5ec637(0x143)]}),_0x55a73b[_0x5ec637(0x11b)](_0x82dbfe,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x55a73b[_0x5ec637(0xf4)](_0x4e61be[_0x5ec637(0x110)],_0x4e61be[_0x5ec637(0x151)])});}});}[_0x232c92(0xfd)](_0x21879b,_0x454eb6,_0x3e0228){let _0x12ac6d='';return()=>{const _0x506b52=_0x8933;if(!_0x12ac6d){const _0x455314=_0x454eb6[_0x506b52(0x185)](_0x21879b,{'showSuggestionHighlights':!0x0}),_0x14d8be=_0x455314[_0x506b52(0x158)](0x0);if(!_0x14d8be)return'';let _0xf7a9b9=!0x1;const _0x577e5e=[];for(const _0x24f4be of _0x14d8be[_0x506b52(0x146)]())_0x24f4be['is'](_0x506b52(0x199),_0x506b52(0x16b))&&_0x24f4be[_0x506b52(0x157)](_0x506b52(0x18f))&&(_0xf7a9b9=!0x1),_0xf7a9b9&&_0x577e5e[_0x506b52(0x147)](_0x24f4be),_0x24f4be['is'](_0x506b52(0x199),_0x506b52(0x16b))&&_0x24f4be[_0x506b52(0x157)](_0x506b52(0x14e))&&(_0xf7a9b9=!0x0);_0x14d8be[_0x506b52(0x16d)](0x0,_0x14d8be[_0x506b52(0x100)]),_0x3e0228?.[_0x506b52(0x18a)]&&_0x14d8be[_0x506b52(0x17c)]('…'),_0x14d8be[_0x506b52(0x17c)](_0x577e5e),_0x3e0228?.[_0x506b52(0x1ae)]&&_0x14d8be[_0x506b52(0x17c)]('…');const _0xed05b7=_0x454eb6[_0x506b52(0x106)][_0x506b52(0x15e)][_0x506b52(0xf2)](_0x455314),_0x3f3ce7=_0x454eb6[_0x506b52(0x106)][_0x506b52(0x124)][_0x506b52(0x139)](_0xed05b7);_0x12ac6d=_0x3f3ce7;}return _0x12ac6d;};}[_0x232c92(0x148)](_0x4aa6cf,_0x40a2a1){const _0x16e312=_0x232c92;let _0x17e470='';return()=>(_0x17e470||(_0x17e470=_0x40a2a1[_0x16e312(0x149)](_0x4aa6cf,{'showSuggestionHighlights':!0x0})),_0x17e470);}[_0x232c92(0x13d)](_0x58c13c,_0x541d1c,_0x391868){let _0x16f7a7='';return()=>{const _0x3a6761=_0x8933;if(!_0x16f7a7){const _0x15038e=_0x391868[_0x3a6761(0x185)](new _0x27d8bf(_0x58c13c)),_0x4b6d32=_0x391868[_0x3a6761(0x106)][_0x3a6761(0x15e)][_0x3a6761(0xf2)](_0x15038e)[_0x3a6761(0x19a)](_0x3a6761(0x10f)+_0x541d1c+'\x22]');_0x16f7a7=_0x4b6d32?.[_0x3a6761(0xfc)]||'';}return _0x16f7a7;};}[_0x232c92(0x11d)](_0x5d7835){const _0x5f228a=_0x232c92;return Array[_0x5f228a(0x14a)](this[_0x5f228a(0x163)][_0x5f228a(0x19f)]())[_0x5f228a(0x19e)](_0x4ba916=>_0x4ba916[_0x5f228a(0x1a5)]===_0x5d7835);}[_0x232c92(0xf6)](_0x4314b3){const _0x5de9ba=_0x232c92;return _0x5de9ba(0x127)===_0x4314b3[_0x5de9ba(0x150)]?_0x4314b3[_0x5de9ba(0x178)]:_0x4314b3[_0x5de9ba(0x135)][_0x5de9ba(0x110)];}[_0x232c92(0x123)](_0x274383,_0x2f14f9=!0x1){const _0x3ad764=_0x232c92;return _0x3ad764(0x127)===_0x274383[_0x3ad764(0x150)]?_0x2f14f9?_0x274383[_0x3ad764(0x178)]:_0x274383[_0x3ad764(0x178)][_0x3ad764(0x107)](_0x274383[_0x3ad764(0x161)]):_0x274383[_0x3ad764(0x135)][_0x3ad764(0x151)];}[_0x232c92(0x181)](_0x51d5ef,_0x57e233){const _0x2db952=_0x232c92;return _0x2db952(0x127)===_0x51d5ef[_0x2db952(0x150)]?_0x51d5ef[_0x2db952(0x178)]=_0x51d5ef[_0x2db952(0x178)][_0x2db952(0x107)](_0x57e233):_0x2db952(0x136)===_0x51d5ef[_0x2db952(0x150)]&&_0x51d5ef[_0x2db952(0x135)]&&(_0x51d5ef[_0x2db952(0x135)]=new _0x10c1a7(_0x51d5ef[_0x2db952(0x135)][_0x2db952(0x110)][_0x2db952(0x107)](_0x57e233),_0x51d5ef[_0x2db952(0x135)][_0x2db952(0x151)][_0x2db952(0x107)](_0x57e233))),_0x51d5ef;}[_0x232c92(0x1ab)](_0x3645c8,_0x553562){const _0x2587cc=_0x232c92;_0x2587cc(0x127)===_0x3645c8[_0x2587cc(0x150)]?_0x3645c8[_0x2587cc(0x178)]=this[_0x2587cc(0x17b)](_0x3645c8[_0x2587cc(0x178)],_0x553562):_0x2587cc(0x136)===_0x3645c8[_0x2587cc(0x150)]&&_0x3645c8[_0x2587cc(0x135)]&&(_0x3645c8[_0x2587cc(0x135)]=this[_0x2587cc(0x1a3)](_0x3645c8[_0x2587cc(0x135)],_0x553562));}[_0x232c92(0x17b)](_0x1e5d54,_0x243fa1){const _0x4b8737=_0x232c92;return new _0x3f2e59(_0x243fa1,_0x1e5d54[_0x4b8737(0x166)]);}[_0x232c92(0x1a3)](_0x307a1f,_0x5675de){const _0x2e4aec=_0x232c92;return new _0x10c1a7(this[_0x2e4aec(0x17b)](_0x307a1f[_0x2e4aec(0x110)],_0x5675de),this[_0x2e4aec(0x17b)](_0x307a1f[_0x2e4aec(0x151)],_0x5675de));}[_0x232c92(0x16e)](_0x1c872f,_0x35b0e7,_0x118f63){return new _0x3f2e59(_0x118f63,[..._0x35b0e7]);}[_0x232c92(0xf7)](_0x602fbf,_0x409699,_0x399af1,_0x35ffe6){const _0x3343f6=_0x232c92;return new _0x10c1a7(this[_0x3343f6(0x16e)](_0x602fbf[_0x3343f6(0x110)],_0x409699,_0x35ffe6),this[_0x3343f6(0x16e)](_0x602fbf[_0x3343f6(0x151)],_0x399af1,_0x35ffe6));}[_0x232c92(0x120)](_0x6f3c5e){const _0x512ea4=_0x232c92;let _0x315820=_0x6f3c5e;for(;_0x315820[_0x512ea4(0x16f)]&&!_0x315820[_0x512ea4(0x16f)]['is'](_0x512ea4(0x11e));)_0x315820=_0x315820[_0x512ea4(0x16f)];return _0x315820;}}
23
+ const _0x4c45b7=_0x40a3;(function(_0x166e81,_0x12ac73){const _0x294dbe=_0x40a3,_0x52843f=_0x166e81();while(!![]){try{const _0x1ee048=-parseInt(_0x294dbe(0x1da))/0x1+-parseInt(_0x294dbe(0x1d7))/0x2*(-parseInt(_0x294dbe(0x236))/0x3)+parseInt(_0x294dbe(0x1c8))/0x4+-parseInt(_0x294dbe(0x1bf))/0x5*(parseInt(_0x294dbe(0x1d1))/0x6)+-parseInt(_0x294dbe(0x1ff))/0x7*(parseInt(_0x294dbe(0x208))/0x8)+-parseInt(_0x294dbe(0x1cb))/0x9+parseInt(_0x294dbe(0x22f))/0xa;if(_0x1ee048===_0x12ac73)break;else _0x52843f['push'](_0x52843f['shift']());}catch(_0x216502){_0x52843f['push'](_0x52843f['shift']());}}}(_0x113c,0xc792e));import{InsertOperation as _0xb9845b,MarkerOperation as _0x267fbe,ModelDocumentFragment as _0x516427,ModelPosition as _0x195fd3,ModelRange as _0x3d57eb,ModelTreeWalker as _0x50d6b8,transformOperationSets as _0x2a0558}from'ckeditor5/src/engine.js';import{uid as _0x547958}from'ckeditor5/src/utils.js';function _0x113c(){const _0x5d0221=['getDocumentData','warn','keys','requires','_clone','rejectChange','path','markers','markerName','[data-id=\x22','map','markChangePositionInEditorContent','backward','createRawElement','addOperation','ck-ai_review-mode-marker_add','model:$text','ellipsisAfter','isPremiumPlugin','clear','ck-ai_review-mode-marker_context-end','batch','_getOperationStart','createUIElement','baseVersion','createRange','oldRange','_changeRangeOwnerDocument','conversion','getContentElement','getChildren','_translateOperationToEditorContent','No\x20element\x20found\x20for\x20ID:\x20','createDocumentFragment','getPath','removeMarker','20184700hhtDsu','remove-text','_createGetContentFn','isOpening','hasContentBefore','$textProxy','downcast','102cDptlO','context','_getOperationEnd','switchToEdit','markerToHighlight','createSelection','ai-review-mode','start','getRoots','$markedRemove','getDiff','getChild','element','addMarker','elements','operationsIsolated','plugins','htmlWriter','$documentFragment','createText','delete','clone','data','deleteContent','afterInit','model','getShiftedBy','text','querySelector','getRoot','parse','disableReadOnlyMode','set','howMany','AIReviewModeEditing','isInline','name','insert','scrollToChangeInEditorContent','jumpTo','applyChange','type','_getChangeContext','_createGetContentUsingDataIdFn','isOfficialPlugin','index','operationsA','applyOperation','stringify','affectsData','toData','createPositionAt','version','hasContentAfter','for','_findAdjacentContextDistance','remove-context','suggestion-context','Scroll\x20to\x20change\x20in\x20editor\x20content','ck-ai_review-mode-marker_context-','createPositionAfter','flat','enableReadOnlyMode','htmlProcessor','log','viewToDom','filter','schema','markerToElement','offset','_appendChild','reviewmode-','DocumentCompare','_insertMarkers','_groupAdjacentOperations','editingDowncast','outerHTML','exec','25COFwQk','concat','ck-ai_review-mode-marker_strikethrough','offsetSize','_markers','change','add','getOperations','span','2020140XDvWKQ','values','ellipsisBefore','1839501iRKmjG','newRange','end','attributeToAttribute','diffContent','isTouching','1122846yxmnfi','history','ck-ai_review-mode-marker_hide','documentFragment','getHtml','isAtEnd','46032CyDyeZ','_changePosition','document','1196377woVRPn','from','append','suggestion:deletion:id:authorId:','hasClass','push','_removeChildren','getRange','parent','toDomElement','_changePositionOwnerDocument','domConverter','pluginName','_shiftOperation','nodes','AIEditing','switchToReadOnly','position','insertContent','isDocumentOperation','ck-ai_review-mode-marker_underline','getAttribute','clearAllMarkers','get','_createGetContextFn','isAtStart','toView','suggestion:insertion:id:authorId:','length','processor','dataDowncast','_changeRange','caption','groupId','_changeOperationOwnerDocument','_getMarkersDataForGroup','remove-only','1064868OguneK','marker','_setAttribute','_getTopElement','forward','startsWith','_nextDataId','innerHTML','childCount','8zPVNQy','every','ck-ai_review-mode-marker_context-start'];_0x113c=function(){return _0x5d0221;};return _0x113c();}import{ContextPlugin as _0x3d970f}from'ckeditor5/src/core.js';import{DocumentCompare as _0x1021eb,DATA_ID_MODEL_ATTRIBUTE as _0x3ac137,DATA_ID_VIEW_ATTRIBUTE as _0x51b304}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40a3(_0x22b9c7,_0x29e796){const _0x113cb5=_0x113c();return _0x40a3=function(_0x40a320,_0x22bbb6){_0x40a320=_0x40a320-0x18a;let _0x7b875d=_0x113cb5[_0x40a320];return _0x7b875d;},_0x40a3(_0x22b9c7,_0x29e796);}import{getEditorFromContext as _0x58615d}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x2c16c1}from'../aicore/aiediting.js';const Zt=_0x4c45b7(0x1b8);export class AIReviewModeEditing extends _0x3d970f{static get[_0x4c45b7(0x1e6)](){const _0x350ffe=_0x4c45b7;return _0x350ffe(0x193);}static get[_0x4c45b7(0x20e)](){return[_0x1021eb,_0x2c16c1];}static get[_0x4c45b7(0x19d)](){return!0x0;}static get[_0x4c45b7(0x21d)](){return!0x0;}[_0x4c45b7(0x1c3)]=new Map();[_0x4c45b7(0x24e)](){const _0x5dedf0=_0x4c45b7,_0x485f69=_0x58615d(this[_0x5dedf0(0x237)]);_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1bc))[_0x5dedf0(0x1b5)]({'model':Zt+_0x5dedf0(0x196),'view':(_0x305726,{writer:_0x383f24})=>{const _0x19a347=_0x5dedf0,_0x1de06b=this[_0x19a347(0x1c3)][_0x19a347(0x1f1)](_0x305726[_0x19a347(0x213)]);return _0x383f24[_0x19a347(0x222)](_0x19a347(0x1c7),{'class':_0x19a347(0x21a)},function(_0x29f54e){const _0x2c7060=_0x19a347,_0x1db657=this[_0x2c7060(0x1e3)](_0x29f54e);return _0x1db657[_0x2c7060(0x206)]=_0x1de06b?.[_0x2c7060(0x18c)]||'',_0x1db657;});}}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1f8))[_0x5dedf0(0x1b5)]({'model':Zt+_0x5dedf0(0x1aa),'view':(_0x1ad85d,{writer:_0x7c5d8c})=>_0x7c5d8c[_0x5dedf0(0x218)](_0x5dedf0(0x1c7),{'class':_0x5dedf0(0x1ac)+(_0x1ad85d[_0x5dedf0(0x232)]?_0x5dedf0(0x23d):_0x5dedf0(0x1cd))})}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1bc))[_0x5dedf0(0x23a)]({'model':Zt+_0x5dedf0(0x1fe),'view':()=>({'classes':_0x5dedf0(0x1c1)})}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1bc))[_0x5dedf0(0x23a)]({'model':Zt+_0x5dedf0(0x1a9),'view':()=>({'classes':_0x5dedf0(0x1ee)})}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x1bc))[_0x5dedf0(0x23a)]({'model':Zt+_0x5dedf0(0x230),'view':()=>({'classes':_0x5dedf0(0x1d3)})}),_0x485f69[_0x5dedf0(0x227)][_0x5dedf0(0x1a7)](_0x5dedf0(0x235))[_0x5dedf0(0x1ce)]({'model':_0x3ac137,'view':_0x51b304});}[_0x4c45b7(0x20b)](){const _0x1813ce=_0x4c45b7,_0x12ce57=this[_0x1813ce(0x237)][_0x1813ce(0x246)][_0x1813ce(0x1f1)](_0x1813ce(0x1e9)),_0x3ad3e1=_0x58615d(this[_0x1813ce(0x237)]),_0x1faa2a=_0x3ad3e1[_0x1813ce(0x18a)],_0x43fb2b=new _0x516427();for(const _0x27a643 of _0x1faa2a[_0x1813ce(0x1d9)][_0x1813ce(0x18e)]()[_0x1813ce(0x229)]()){const _0x49442a=_0x27a643[_0x1813ce(0x20f)](!0x0);_0x43fb2b[_0x1813ce(0x1b7)](_0x49442a);}for(const _0x50235d of _0x1faa2a[_0x1813ce(0x212)])_0x43fb2b[_0x1813ce(0x212)][_0x1813ce(0x191)](_0x50235d[_0x1813ce(0x195)],this[_0x1813ce(0x226)](_0x50235d[_0x1813ce(0x1e1)]()[_0x1813ce(0x24b)](),_0x43fb2b));const _0x5b95a2=new _0x50d6b8({'ignoreElementEnd':!0x0,'startPosition':_0x1faa2a[_0x1813ce(0x1a4)](_0x43fb2b,0x0)}),_0x331ea7=new Set(),_0x34a560=new Map();for(const {item:_0x28d6b1}of _0x5b95a2){if(!_0x28d6b1['is'](_0x1813ce(0x234)))continue;const _0x107bb4=_0x28d6b1[_0x1813ce(0x1e2)];if((!_0x107bb4||!_0x107bb4['is'](_0x1813ce(0x242),_0x1813ce(0x1fa)))&&(_0x107bb4&&_0x107bb4['is'](_0x1813ce(0x242)))){let _0x40d4e5=_0x107bb4[_0x1813ce(0x1ef)](_0x3ac137);_0x40d4e5||(_0x40d4e5=_0x12ce57[_0x1813ce(0x205)](_0x331ea7),_0x107bb4[_0x1813ce(0x201)](_0x3ac137,_0x40d4e5)),_0x331ea7[_0x1813ce(0x1c5)](_0x40d4e5);const _0x5d94ee=this[_0x1813ce(0x202)](_0x107bb4);_0x34a560[_0x1813ce(0x191)](_0x40d4e5,{'path':_0x107bb4[_0x1813ce(0x22d)](),'getContent':this[_0x1813ce(0x19c)](_0x5d94ee[_0x1813ce(0x20f)](!0x0),_0x40d4e5,_0x3ad3e1[_0x1813ce(0x24c)])}),_0x5b95a2[_0x1813ce(0x198)](_0x1faa2a[_0x1813ce(0x1ad)](_0x107bb4));}}return{'content':_0x3ad3e1[_0x1813ce(0x24c)][_0x1813ce(0x1f7)][_0x1813ce(0x1a3)](_0x3ad3e1[_0x1813ce(0x24c)][_0x1813ce(0x1f4)](_0x43fb2b)),'version':_0x3ad3e1[_0x1813ce(0x18a)][_0x1813ce(0x1d9)][_0x1813ce(0x1a5)],'elements':_0x34a560};}[_0x4c45b7(0x1cf)](_0x55ebe1,_0xf89282){const _0x1bac4d=_0x4c45b7,_0x4345aa=_0x58615d(this[_0x1bac4d(0x237)]),_0x341691=_0x4345aa[_0x1bac4d(0x24c)][_0x1bac4d(0x18f)](_0x55ebe1,_0x1bac4d(0x248)),_0x7597cd=_0x4345aa[_0x1bac4d(0x18a)][_0x1bac4d(0x1a4)](_0x341691,0x0),_0x4bdfdf=this[_0x1bac4d(0x237)][_0x1bac4d(0x246)][_0x1bac4d(0x1f1)](_0x1bac4d(0x1b9))[_0x1bac4d(0x240)](_0x55ebe1,_0xf89282,{'anchor':_0x7597cd,'markDeletions':!0x0})[_0x1bac4d(0x1c6)]()[_0x1bac4d(0x1b3)](_0xc82136=>_0x1bac4d(0x196)===_0xc82136[_0x1bac4d(0x19a)]||_0x1bac4d(0x200)===_0xc82136[_0x1bac4d(0x19a)]&&_0xc82136[_0x1bac4d(0x195)][_0x1bac4d(0x204)](_0x1bac4d(0x23f))),_0x31b5e2=this[_0x1bac4d(0x1bb)](_0x4bdfdf),_0x154401=[];let _0x221213=0x0;return _0x4345aa[_0x1bac4d(0x18a)][_0x1bac4d(0x1c4)](_0x50afb5=>{const _0x17a56e=_0x1bac4d;for(let _0x4cbfb0=0x0;_0x4cbfb0<_0x31b5e2[_0x17a56e(0x1f6)];_0x4cbfb0++){const _0x54ba1f=_0x31b5e2[_0x4cbfb0],_0xdcf738=_0x50afb5[_0x17a56e(0x22c)]();for(const _0xa12109 of _0x341691[_0x17a56e(0x229)]())_0x50afb5[_0x17a56e(0x1dc)](_0xa12109[_0x17a56e(0x20f)](!0x0),_0xdcf738);for(const _0x420a47 of _0x54ba1f[_0x17a56e(0x245)])if(_0x17a56e(0x196)===_0x420a47[_0x17a56e(0x19a)]){const _0x4213ff=_0x420a47;_0x4213ff[_0x17a56e(0x223)]=null,_0x4213ff[_0x17a56e(0x1ed)]=!0x1,this[_0x17a56e(0x1fc)](_0x4213ff,_0xdcf738),_0x50afb5[_0x17a56e(0x220)][_0x17a56e(0x219)](_0x420a47),_0x4345aa[_0x17a56e(0x18a)][_0x17a56e(0x1a0)](_0x420a47);const _0xa7fd59=_0x17a56e(0x1f5)+_0x221213++,_0x3d7cc9=_0x4345aa[_0x17a56e(0x18a)][_0x17a56e(0x224)](_0x4213ff[_0x17a56e(0x1eb)],_0x4213ff[_0x17a56e(0x1eb)][_0x17a56e(0x18b)](_0x4213ff[_0x17a56e(0x192)]));_0xdcf738[_0x17a56e(0x212)][_0x17a56e(0x191)](_0xa7fd59,_0x3d7cc9);}else{if(_0x17a56e(0x200)===_0x420a47[_0x17a56e(0x19a)]&&_0x420a47[_0x17a56e(0x195)][_0x17a56e(0x204)](_0x17a56e(0x23f))){const _0x1fdea3=_0x420a47,_0x2fda2a=_0x17a56e(0x1dd)+_0x221213++;this[_0x17a56e(0x1fc)](_0x1fdea3,_0xdcf738),_0xdcf738[_0x17a56e(0x212)][_0x17a56e(0x191)](_0x2fda2a,_0x1fdea3[_0x17a56e(0x1cc)]);}}const _0x273512=this[_0x17a56e(0x19b)](this[_0x17a56e(0x1e4)](this[_0x17a56e(0x221)](_0x54ba1f[_0x17a56e(0x245)][0x0]),_0xdcf738),this[_0x17a56e(0x1e4)](this[_0x17a56e(0x238)](_0x54ba1f[_0x17a56e(0x245)][_0x54ba1f[_0x17a56e(0x245)][_0x17a56e(0x1f6)]-0x1]),_0xdcf738));_0xdcf738[_0x17a56e(0x212)][_0x17a56e(0x191)](Zt+_0x17a56e(0x1aa),new _0x3d57eb(_0x273512[_0x17a56e(0x23d)],_0x273512[_0x17a56e(0x1cd)])),_0x154401[_0x17a56e(0x1df)]({..._0x54ba1f,'context':this[_0x17a56e(0x1f2)](_0xdcf738,_0x4345aa[_0x17a56e(0x24c)],{'ellipsisBefore':_0x273512[_0x17a56e(0x233)],'ellipsisAfter':_0x273512[_0x17a56e(0x1a6)]}),'content':this[_0x17a56e(0x231)](_0xdcf738,_0x4345aa[_0x17a56e(0x24c)])});}}),_0x154401;}[_0x4c45b7(0x216)](_0x182073,_0x488763){const _0x545110=_0x4c45b7,_0x74ac1e=_0x182073[0x0][_0x545110(0x1e2)]['id'],_0x190334=_0x488763[_0x545110(0x244)][_0x545110(0x1f1)](_0x74ac1e);if(!_0x190334)return void console[_0x545110(0x20c)](_0x545110(0x22b)+_0x74ac1e);const _0x5652e7=_0x190334[_0x545110(0x211)],_0x58bf6e=_0x58615d(this[_0x545110(0x237)]),_0x5a820b=_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1d9)][_0x545110(0x1d2)][_0x545110(0x1c6)](_0x488763[_0x545110(0x1a5)]),_0xee75de=[];for(const _0x18190e of _0x182073){const _0x31cfdb=_0x18190e[_0x545110(0x245)][_0x545110(0x215)](_0x45b857=>this[_0x545110(0x22a)](_0x45b857,_0x5652e7,_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1d9)][_0x545110(0x23e)]()[0x0]));if(!_0x31cfdb||!_0x31cfdb[_0x545110(0x1f6)])continue;const _0x5cb942=_0x31cfdb[_0x545110(0x209)](_0x4f3f58=>_0x545110(0x200)===_0x4f3f58[_0x545110(0x19a)]&&_0x4f3f58[_0x545110(0x195)][_0x545110(0x204)](_0x545110(0x23f))),_0x56b82c={'document':_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1d9)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3041f6=_0x2a0558(_0x31cfdb,_0x5a820b,_0x56b82c)[_0x545110(0x19f)];for(const _0x4afd09 of _0x3041f6)if(_0x545110(0x196)===_0x4afd09[_0x545110(0x19a)]){const _0x314b2e=_0x4afd09,_0x19bcf6=_0x314b2e[_0x545110(0x1e8)];let _0x3b1775='';for(const _0x5ad49a of _0x19bcf6)_0x5ad49a&&_0x5ad49a['is'](_0x545110(0x21b))&&(_0x3b1775+=_0x5ad49a[_0x545110(0x24c)]);_0xee75de[_0x545110(0x1df)]({'start':_0x314b2e[_0x545110(0x1eb)],'end':_0x314b2e[_0x545110(0x1eb)],'type':_0x545110(0x196),'groupId':_0x18190e['id'],'text':_0x3b1775});}else{if(_0x545110(0x200)===_0x4afd09[_0x545110(0x19a)]&&_0x4afd09[_0x545110(0x195)][_0x545110(0x204)](_0x545110(0x23f))){const _0x2bd7e7=_0x4afd09;let _0x48d3a8=_0x545110(0x230);if(_0x5cb942){const _0x10cc45=this[_0x545110(0x1a8)](_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x23d)],_0x545110(0x217),_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1b4)]),_0x3db27b=this[_0x545110(0x1a8)](_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x1cd)],_0x545110(0x203),_0x58bf6e[_0x545110(0x18a)][_0x545110(0x1b4)]);if(_0x10cc45||_0x3db27b){const _0x215fda=_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x23d)][_0x545110(0x18b)](-_0x10cc45),_0x56862d=_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x1cd)][_0x545110(0x18b)](_0x3db27b);_0xee75de[_0x545110(0x1df)]({'start':_0x215fda,'end':_0x56862d,'groupId':_0x18190e['id'],'type':_0x545110(0x1a9)});}else _0x48d3a8=_0x545110(0x1fe);}_0xee75de[_0x545110(0x1df)]({'start':_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x23d)],'end':_0x2bd7e7[_0x545110(0x1cc)][_0x545110(0x1cd)],'groupId':_0x18190e['id'],'type':_0x48d3a8});}}}this[_0x545110(0x1ba)](_0xee75de);}[_0x4c45b7(0x1f0)](){const _0x17a061=_0x4c45b7;_0x58615d(this[_0x17a061(0x237)])[_0x17a061(0x18a)][_0x17a061(0x1c4)](_0x59ba46=>{const _0x1dc6f9=_0x17a061;for(const _0x4a2474 of this[_0x1dc6f9(0x1c3)][_0x1dc6f9(0x20d)]())_0x59ba46[_0x1dc6f9(0x22e)](_0x4a2474);}),this[_0x17a061(0x1c3)][_0x17a061(0x21e)]();}[_0x4c45b7(0x1ea)](){const _0x4b1ad6=_0x4c45b7;_0x58615d(this[_0x4b1ad6(0x237)])[_0x4b1ad6(0x1af)](_0x4b1ad6(0x23c));}[_0x4c45b7(0x239)](){const _0x56363f=_0x4c45b7;_0x58615d(this[_0x56363f(0x237)])[_0x56363f(0x190)](_0x56363f(0x23c));}[_0x4c45b7(0x199)](_0x5c0e6c){const _0x2b8c2e=_0x4c45b7,_0x62ba7b=_0x58615d(this[_0x2b8c2e(0x237)]),_0x5b6aff=_0x62ba7b[_0x2b8c2e(0x18a)],_0x194eb6=_0x5c0e6c[_0x2b8c2e(0x215)](_0x42e547=>this[_0x2b8c2e(0x1fd)](_0x42e547))[_0x2b8c2e(0x1ae)]();_0x5b6aff[_0x2b8c2e(0x1c4)](_0x311b25=>{const _0x1dca6f=_0x2b8c2e;for(const _0x558177 of _0x194eb6){const _0x18c83a=_0x62ba7b[_0x1dca6f(0x18a)][_0x1dca6f(0x212)][_0x1dca6f(0x1f1)](_0x558177['id']);_0x18c83a&&(_0x1dca6f(0x196)===_0x558177[_0x1dca6f(0x19a)]?_0x5b6aff[_0x1dca6f(0x1ec)](_0x311b25[_0x1dca6f(0x249)](_0x558177[_0x1dca6f(0x18c)]||''),_0x18c83a[_0x1dca6f(0x1e1)]()[_0x1dca6f(0x23d)]):_0x1dca6f(0x230)!==_0x558177[_0x1dca6f(0x19a)]&&_0x1dca6f(0x1fe)!==_0x558177[_0x1dca6f(0x19a)]||_0x5b6aff[_0x1dca6f(0x24d)](_0x5b6aff[_0x1dca6f(0x23b)](_0x18c83a[_0x1dca6f(0x1e1)]())),_0x311b25[_0x1dca6f(0x22e)](_0x558177['id']),this[_0x1dca6f(0x1c3)][_0x1dca6f(0x24a)](_0x558177['id']));}});}[_0x4c45b7(0x210)](_0x384a14){const _0x5482ea=_0x4c45b7,_0x239a34=_0x58615d(this[_0x5482ea(0x237)]),_0x348988=this[_0x5482ea(0x1fd)](_0x384a14);_0x239a34[_0x5482ea(0x18a)][_0x5482ea(0x1c4)](_0x344c34=>{const _0x11c794=_0x5482ea;for(const _0x28d3f9 of _0x348988)_0x344c34[_0x11c794(0x22e)](_0x28d3f9['id']),this[_0x11c794(0x1c3)][_0x11c794(0x24a)](_0x28d3f9['id']);});}[_0x4c45b7(0x228)](){const _0x4350ee=_0x4c45b7,_0x359da9=_0x58615d(this[_0x4350ee(0x237)]);return _0x359da9&&_0x359da9['ui']&&_0x359da9['ui'][_0x4350ee(0x242)]?_0x359da9['ui'][_0x4350ee(0x242)]:null;}[_0x4c45b7(0x22a)](_0x62cf56,_0x468f89,_0x7d150e){const _0xd5c219=_0x4c45b7;if(_0xd5c219(0x196)===_0x62cf56[_0xd5c219(0x19a)]){const _0x26f931=_0x62cf56;return new _0xb9845b(this[_0xd5c219(0x1d8)](_0x26f931[_0xd5c219(0x1eb)],_0x468f89[_0xd5c219(0x1c0)](_0x26f931[_0xd5c219(0x1eb)][_0xd5c219(0x1b6)]),_0x7d150e),_0x26f931[_0xd5c219(0x1e8)],_0x26f931[_0xd5c219(0x223)]);}if(_0xd5c219(0x200)===_0x62cf56[_0xd5c219(0x19a)]&&_0x62cf56[_0xd5c219(0x195)][_0xd5c219(0x204)](_0xd5c219(0x23f))){const _0x1746ef=_0x62cf56;return new _0x267fbe(_0x1746ef[_0xd5c219(0x195)],_0x1746ef[_0xd5c219(0x225)],this[_0xd5c219(0x1f9)](_0x1746ef[_0xd5c219(0x1cc)],_0x468f89[_0xd5c219(0x1c0)](_0x1746ef[_0xd5c219(0x1cc)][_0xd5c219(0x23d)][_0xd5c219(0x1b6)]),_0x468f89[_0xd5c219(0x1c0)](_0x1746ef[_0xd5c219(0x1cc)][_0xd5c219(0x1cd)][_0xd5c219(0x1b6)]),_0x7d150e),_0x1746ef[_0xd5c219(0x1c3)],_0x1746ef[_0xd5c219(0x1a2)],_0x1746ef[_0xd5c219(0x223)]);}return _0x62cf56;}[_0x4c45b7(0x1bb)](_0x1c8afa){const _0xf743be=_0x4c45b7;if(!_0x1c8afa[_0xf743be(0x1f6)])return[];const _0x5d236a=[];let _0x62f06b=0x0,_0x2f528e=0x0,_0x394929=[];for(let _0x39b85b=0x0;_0x39b85b<=_0x1c8afa[_0xf743be(0x1f6)];_0x39b85b++){const _0x18d394=_0x1c8afa[_0x39b85b],_0x54eb86=_0x1c8afa[_0x39b85b-0x1];!_0x18d394||_0x54eb86&&!this[_0xf743be(0x238)](_0x54eb86)[_0xf743be(0x1d0)](this[_0xf743be(0x221)](_0x18d394))?(_0x5d236a[_0xf743be(0x1df)]({'operations':_0x394929,'operationsIsolated':_0x394929[_0xf743be(0x215)](_0x169c54=>this[_0xf743be(0x1e7)](_0x169c54[_0xf743be(0x24b)](),-_0x2f528e)),'groupOffset':_0x62f06b}),_0x394929=_0x18d394?[_0x18d394]:[],_0x2f528e+=_0x62f06b,_0x62f06b=0x0):_0x394929[_0xf743be(0x1df)](_0x18d394),_0x18d394&&_0xf743be(0x196)===_0x18d394[_0xf743be(0x19a)]&&(_0x62f06b+=_0x18d394[_0xf743be(0x192)]);}return _0x5d236a;}[_0x4c45b7(0x197)](_0x316565){const _0x3ff5de=_0x4c45b7;console[_0x3ff5de(0x1b1)](_0x3ff5de(0x1ab),_0x316565['id']);}[_0x4c45b7(0x1a8)](_0x5db973,_0x46acf1,_0x4699ee,_0xc848f0=0x1){const _0x2b14d5=_0x4c45b7,_0x2803b9=new _0x50d6b8({'startPosition':_0x5db973,'direction':_0x46acf1});let _0x5e1238=0x0;for(let _0x16d1a0=0x0;_0x16d1a0<_0xc848f0;_0x16d1a0++){let _0x22dadf=0x0,_0x36677f=!0x1,_0x4ce664=_0x2b14d5(0x203)===_0x46acf1?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x2f9451}of _0x2803b9)if(_0x2f9451['is'](_0x2b14d5(0x234))){const _0x23e961=_0x4ce664[_0x2b14d5(0x1be)](_0x2f9451[_0x2b14d5(0x24c)]);if(_0x23e961&&_0x23e961[_0x2b14d5(0x1f6)]){if(_0x22dadf+=_0x2b14d5(0x203)===_0x46acf1?_0x23e961[_0x2b14d5(0x19e)]+_0x23e961[0x0][_0x2b14d5(0x1f6)]:_0x2f9451[_0x2b14d5(0x24c)][_0x2b14d5(0x1f6)]-_0x23e961[_0x2b14d5(0x19e)],_0x23e961[0x0][_0x2b14d5(0x1f6)]!==_0x2f9451[_0x2b14d5(0x24c)][_0x2b14d5(0x1f6)])break;_0x36677f=!0x0,_0x4ce664=_0x2b14d5(0x203)===_0x46acf1?/^\w+/:/\w+$/;}else{if(_0x36677f)break;_0x22dadf+=_0x2f9451[_0x2b14d5(0x1c2)];}}else{if(_0x2f9451['is'](_0x2b14d5(0x242))){_0x4699ee[_0x2b14d5(0x194)](_0x2f9451)&&!_0x36677f&&(_0x22dadf+=0x1);break;}}_0x5e1238+=_0x22dadf,_0x2803b9[_0x2b14d5(0x198)](_0x5db973[_0x2b14d5(0x18b)](_0x2b14d5(0x203)===_0x46acf1?_0x5e1238:-_0x5e1238));}return _0x5e1238;}[_0x4c45b7(0x19b)](_0x47e08e,_0x250264){const _0x1a9290=_0x4c45b7,_0x39c59f=_0x58615d(this[_0x1a9290(0x237)])[_0x1a9290(0x18a)][_0x1a9290(0x1b4)],_0x8a1bdb=this[_0x1a9290(0x1a8)](_0x47e08e,_0x1a9290(0x217),_0x39c59f,0x6),_0x42e949=this[_0x1a9290(0x1a8)](_0x250264,_0x1a9290(0x203),_0x39c59f,0x6),_0x2f71c4=_0x47e08e[_0x1a9290(0x18b)](-_0x8a1bdb),_0x207644=_0x250264[_0x1a9290(0x18b)](_0x42e949);return{'start':_0x2f71c4,'end':_0x207644,'hasContentBefore':!_0x2f71c4[_0x1a9290(0x1f3)],'hasContentAfter':!_0x207644[_0x1a9290(0x1d6)]};}[_0x4c45b7(0x1ba)](_0x359c7){const _0x4f3620=_0x4c45b7;_0x58615d(this[_0x4f3620(0x237)])[_0x4f3620(0x18a)][_0x4f3620(0x1c4)](_0x4ebc47=>{const _0x494111=_0x4f3620;for(const _0x1a17fc of _0x359c7){const _0x50aba7=''+Zt+_0x1a17fc[_0x494111(0x19a)]+':'+_0x1a17fc[_0x494111(0x1fb)]+'_'+_0x547958();this[_0x494111(0x1c3)][_0x494111(0x191)](_0x50aba7,{'id':_0x50aba7,'groupId':_0x1a17fc[_0x494111(0x1fb)],'type':_0x1a17fc[_0x494111(0x19a)],'text':_0x1a17fc[_0x494111(0x18c)]}),_0x4ebc47[_0x494111(0x243)](_0x50aba7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4ebc47[_0x494111(0x224)](_0x1a17fc[_0x494111(0x23d)],_0x1a17fc[_0x494111(0x1cd)])});}});}[_0x4c45b7(0x1f2)](_0x504660,_0x4e03e8,_0x2704e8){let _0x15b440='';return()=>{const _0x1c1a72=_0x40a3;if(!_0x15b440){const _0x5a6724=_0x4e03e8[_0x1c1a72(0x1f4)](_0x504660,{'showSuggestionHighlights':!0x0}),_0x43d146=_0x5a6724[_0x1c1a72(0x241)](0x0);if(!_0x43d146)return'';let _0x3b96f6=!0x1;const _0x37067a=[];for(const _0x4851c1 of _0x43d146[_0x1c1a72(0x229)]())_0x4851c1['is'](_0x1c1a72(0x242),_0x1c1a72(0x1c7))&&_0x4851c1[_0x1c1a72(0x1de)](_0x1c1a72(0x21f))&&(_0x3b96f6=!0x1),_0x3b96f6&&_0x37067a[_0x1c1a72(0x1df)](_0x4851c1),_0x4851c1['is'](_0x1c1a72(0x242),_0x1c1a72(0x1c7))&&_0x4851c1[_0x1c1a72(0x1de)](_0x1c1a72(0x20a))&&(_0x3b96f6=!0x0);_0x43d146[_0x1c1a72(0x1e0)](0x0,_0x43d146[_0x1c1a72(0x207)]),_0x2704e8?.[_0x1c1a72(0x1ca)]&&_0x43d146[_0x1c1a72(0x1b7)]('…'),_0x43d146[_0x1c1a72(0x1b7)](_0x37067a),_0x2704e8?.[_0x1c1a72(0x21c)]&&_0x43d146[_0x1c1a72(0x1b7)]('…');const _0x552127=_0x4e03e8[_0x1c1a72(0x1b0)][_0x1c1a72(0x1e5)][_0x1c1a72(0x1b2)](_0x5a6724),_0x5d2cc7=_0x4e03e8[_0x1c1a72(0x1b0)][_0x1c1a72(0x247)][_0x1c1a72(0x1d5)](_0x552127);_0x15b440=_0x5d2cc7;}return _0x15b440;};}[_0x4c45b7(0x231)](_0x3c82d5,_0x9db280){const _0x4f3338=_0x4c45b7;let _0xe3cd19='';return()=>(_0xe3cd19||(_0xe3cd19=_0x9db280[_0x4f3338(0x1a1)](_0x3c82d5,{'showSuggestionHighlights':!0x0})),_0xe3cd19);}[_0x4c45b7(0x19c)](_0x582af0,_0x3b2a9d,_0x138fa2){let _0x2a8d68='';return()=>{const _0x2f4d4f=_0x40a3;if(!_0x2a8d68){const _0x9da6e9=_0x138fa2[_0x2f4d4f(0x1f4)](new _0x516427(_0x582af0)),_0x334f9a=_0x138fa2[_0x2f4d4f(0x1b0)][_0x2f4d4f(0x1e5)][_0x2f4d4f(0x1b2)](_0x9da6e9)[_0x2f4d4f(0x18d)](_0x2f4d4f(0x214)+_0x3b2a9d+'\x22]');_0x2a8d68=_0x334f9a?.[_0x2f4d4f(0x1bd)]||'';}return _0x2a8d68;};}[_0x4c45b7(0x1fd)](_0x4fd8e3){const _0x148690=_0x4c45b7;return Array[_0x148690(0x1db)](this[_0x148690(0x1c3)][_0x148690(0x1c9)]())[_0x148690(0x1b3)](_0x1beab1=>_0x1beab1[_0x148690(0x1fb)]===_0x4fd8e3);}[_0x4c45b7(0x221)](_0xc47db8){const _0x3037dd=_0x4c45b7;return _0x3037dd(0x196)===_0xc47db8[_0x3037dd(0x19a)]?_0xc47db8[_0x3037dd(0x1eb)]:_0xc47db8[_0x3037dd(0x1cc)][_0x3037dd(0x23d)];}[_0x4c45b7(0x238)](_0x358964,_0x1b33e3=!0x1){const _0x328e1a=_0x4c45b7;return _0x328e1a(0x196)===_0x358964[_0x328e1a(0x19a)]?_0x1b33e3?_0x358964[_0x328e1a(0x1eb)]:_0x358964[_0x328e1a(0x1eb)][_0x328e1a(0x18b)](_0x358964[_0x328e1a(0x192)]):_0x358964[_0x328e1a(0x1cc)][_0x328e1a(0x1cd)];}[_0x4c45b7(0x1e7)](_0x3b1584,_0x408906){const _0x1f1b3f=_0x4c45b7;return _0x1f1b3f(0x196)===_0x3b1584[_0x1f1b3f(0x19a)]?_0x3b1584[_0x1f1b3f(0x1eb)]=_0x3b1584[_0x1f1b3f(0x1eb)][_0x1f1b3f(0x18b)](_0x408906):_0x1f1b3f(0x200)===_0x3b1584[_0x1f1b3f(0x19a)]&&_0x3b1584[_0x1f1b3f(0x1cc)]&&(_0x3b1584[_0x1f1b3f(0x1cc)]=new _0x3d57eb(_0x3b1584[_0x1f1b3f(0x1cc)][_0x1f1b3f(0x23d)][_0x1f1b3f(0x18b)](_0x408906),_0x3b1584[_0x1f1b3f(0x1cc)][_0x1f1b3f(0x1cd)][_0x1f1b3f(0x18b)](_0x408906))),_0x3b1584;}[_0x4c45b7(0x1fc)](_0x4aca9d,_0xb9f20b){const _0x2976f3=_0x4c45b7;_0x2976f3(0x196)===_0x4aca9d[_0x2976f3(0x19a)]?_0x4aca9d[_0x2976f3(0x1eb)]=this[_0x2976f3(0x1e4)](_0x4aca9d[_0x2976f3(0x1eb)],_0xb9f20b):_0x2976f3(0x200)===_0x4aca9d[_0x2976f3(0x19a)]&&_0x4aca9d[_0x2976f3(0x1cc)]&&(_0x4aca9d[_0x2976f3(0x1cc)]=this[_0x2976f3(0x226)](_0x4aca9d[_0x2976f3(0x1cc)],_0xb9f20b));}[_0x4c45b7(0x1e4)](_0x1519de,_0xd32bcd){const _0x5d2cf3=_0x4c45b7;return new _0x195fd3(_0xd32bcd,_0x1519de[_0x5d2cf3(0x211)]);}[_0x4c45b7(0x226)](_0x1f971e,_0x47853a){const _0x45ed4b=_0x4c45b7;return new _0x3d57eb(this[_0x45ed4b(0x1e4)](_0x1f971e[_0x45ed4b(0x23d)],_0x47853a),this[_0x45ed4b(0x1e4)](_0x1f971e[_0x45ed4b(0x1cd)],_0x47853a));}[_0x4c45b7(0x1d8)](_0x1f4819,_0x1ab580,_0x5172f2){return new _0x195fd3(_0x5172f2,[..._0x1ab580]);}[_0x4c45b7(0x1f9)](_0x1e28cf,_0x10453b,_0x469643,_0x32df88){const _0x58e771=_0x4c45b7;return new _0x3d57eb(this[_0x58e771(0x1d8)](_0x1e28cf[_0x58e771(0x23d)],_0x10453b,_0x32df88),this[_0x58e771(0x1d8)](_0x1e28cf[_0x58e771(0x1cd)],_0x469643,_0x32df88));}[_0x4c45b7(0x202)](_0x4a756d){const _0x13a81a=_0x4c45b7;let _0x49e35a=_0x4a756d;for(;_0x49e35a[_0x13a81a(0x1e2)]&&!_0x49e35a[_0x13a81a(0x1e2)]['is'](_0x13a81a(0x1d4));)_0x49e35a=_0x49e35a[_0x13a81a(0x1e2)];return _0x49e35a;}}
@@ -11,7 +11,7 @@ import { AITabs } from '../aitabs/aitabs.js';
11
11
  import { type AIReviewCheck } from './model/aireviewcheck.js';
12
12
  import { type AIReviewCheckRunUpdatedEvent } from './model/aireviewcheckrun.js';
13
13
  import '../../theme/aireviewmode/aireviewmode.css';
14
- export declare const AI_REVIEW_MODE_UI_EVENT_NAMES: readonly ["getReviewCheckList", "runReviewCheck", "runCustomCheckReview", "cancelCustomCheck", "setCustomCheckModel", "abortReviewStream", "toggleDiff", "acceptAllChanges", "leaveReviewModeResultList", "scrollToSuggestionInDocument", "acceptChange", "dismissChange", "learnMore", "finishReview", "retryReview"];
14
+ export declare const AI_REVIEW_MODE_UI_EVENT_NAMES: readonly ["getReviewCheckList", "runReviewCheck", "abortReviewStream", "toggleDiff", "acceptAllChanges", "leaveReviewModeResultList", "scrollToSuggestionInDocument", "acceptChange", "dismissChange", "learnMore", "finishReview", "retryReview"];
15
15
  export declare class AIReviewModeUI extends ContextPlugin {
16
16
  /**
17
17
  * @inheritDoc
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35be16=_0x542a;(function(_0xd5dd01,_0x25747c){const _0x168bda=_0x542a,_0x41e9e0=_0xd5dd01();while(!![]){try{const _0x3f3991=-parseInt(_0x168bda(0xb3))/0x1*(parseInt(_0x168bda(0x85))/0x2)+parseInt(_0x168bda(0x86))/0x3*(-parseInt(_0x168bda(0xc9))/0x4)+-parseInt(_0x168bda(0xa1))/0x5+parseInt(_0x168bda(0x82))/0x6+parseInt(_0x168bda(0xca))/0x7*(-parseInt(_0x168bda(0xb0))/0x8)+parseInt(_0x168bda(0x94))/0x9+parseInt(_0x168bda(0xa9))/0xa;if(_0x3f3991===_0x25747c)break;else _0x41e9e0['push'](_0x41e9e0['shift']());}catch(_0x5cf178){_0x41e9e0['push'](_0x41e9e0['shift']());}}}(_0x86ee,0x29e92));function _0x86ee(){const _0x431ebf=['setChecks','updateChangeState','plugins','runCustomCheckReview','toggleDiff','1432ZxNfRH','init','abortReviewStream','137cPFaAt','cancelCustomCheck','isOfficialPlugin','showCheckRunResults','leaveReviewMode','acceptAllChanges','isPremiumPlugin','runReviewCheck','_reviewModeView','reviewMode','hideResult','leaveReviewModeResultList','showGeneralErrorView','activateTab','dismissChange','showReviewCheckList','showReviewCheckResultsView','setItemAsInactive','showReviewCompletedView','scrollToSuggestionInDocument','showChunkErrorView','setTitle','1350524TRhonC','9541CEffVh','hideActionsWhenResultIsReady','205068PVwQhi','acceptChange','getReviewCheckList','2650liFgxV','3aganft','reviewCheckResultsView','retryReview','error-chunk','addTab','showActionsWhenResultIsReady','error-general','pluginName','learnMore','view','setCheckResultTitle','hasChecks','locale','showCheckRunResult','1024137jzikjk','showReviewCheckListView','getResults','setAvailableChecks','Review\x20Mode','rejected','AITabs','accepted','delegate','setCustomCheckModel','forEach','context','fire','1507495DhAAlg','reviewCheckListView','get','AIReviewModeUI','requires','status','addCheckRunResult','resetActiveStateInResults','10883270CQjlzR','finishReview'];_0x86ee=function(){return _0x431ebf;};return _0x86ee();}import{ContextPlugin as _0x3e2ae4}from'ckeditor5/src/core.js';function _0x542a(_0x1c868c,_0x5dc729){const _0x86ee17=_0x86ee();return _0x542a=function(_0x542a1b,_0x4141c9){_0x542a1b=_0x542a1b-0x82;let _0x23f898=_0x86ee17[_0x542a1b];return _0x23f898;},_0x542a(_0x1c868c,_0x5dc729);}import{IconAIReview as _0x590293}from'ckeditor5/src/icons.js';import{AITabs as _0x229010}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x54bcb2}from'./ui/aireviewmodeview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x35be16(0x84),_0x35be16(0xba),_0x35be16(0xae),_0x35be16(0xb4),_0x35be16(0x9d),_0x35be16(0xb2),_0x35be16(0xaf),_0x35be16(0xb8),_0x35be16(0xbe),_0x35be16(0xc6),_0x35be16(0x83),_0x35be16(0xc1),_0x35be16(0x8e),_0x35be16(0xaa),_0x35be16(0x88)];export class AIReviewModeUI extends _0x3e2ae4{[_0x35be16(0xbb)];static get[_0x35be16(0xa5)](){return[_0x229010];}static get[_0x35be16(0x8d)](){const _0x1bee65=_0x35be16;return _0x1bee65(0xa4);}static get[_0x35be16(0xb5)](){return!0x0;}static get[_0x35be16(0xb9)](){return!0x0;}constructor(_0x53ccb0){const _0x7f6ce2=_0x35be16;super(_0x53ccb0),this[_0x7f6ce2(0xbb)]=new _0x54bcb2(this[_0x7f6ce2(0x9f)][_0x7f6ce2(0x92)]),this[_0x7f6ce2(0xbb)][_0x7f6ce2(0x9c)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this);}[_0x35be16(0xb1)](){const _0x14c5a2=_0x35be16,_0xbe6388=this[_0x14c5a2(0x9f)][_0x14c5a2(0xad)][_0x14c5a2(0xa3)](_0x14c5a2(0x9a));_0xbe6388[_0x14c5a2(0x8f)]['on'](_0x14c5a2(0xc0),(_0x4b6656,_0x455c1a)=>{const _0x166970=_0x14c5a2;_0x166970(0xbc)===_0x455c1a?this[_0x166970(0xa0)](_0x166970(0x84)):this[_0x166970(0xa0)](_0x166970(0xb7));}),_0xbe6388[_0x14c5a2(0x8f)][_0x14c5a2(0x8a)]({'id':_0x14c5a2(0xbc),'buttonLabel':_0x14c5a2(0x98),'buttonIcon':_0x590293,'order':0x0,'content':this[_0x14c5a2(0xbb)]});}[_0x35be16(0x97)](_0x19fe8c){const _0x105f56=_0x35be16;this[_0x105f56(0xbb)][_0x105f56(0xa2)][_0x105f56(0x91)]()||this[_0x105f56(0xbb)][_0x105f56(0xa2)][_0x105f56(0xab)](_0x19fe8c),this[_0x105f56(0xbb)][_0x105f56(0x95)]();}[_0x35be16(0xc2)](){const _0x5bbe08=_0x35be16;this[_0x5bbe08(0xa0)](_0x5bbe08(0x84));}[_0x35be16(0xb6)](_0x55724f){const _0x9df434=_0x35be16;_0x55724f&&(_0x9df434(0x8c)!==_0x55724f[_0x9df434(0xa6)]?_0x9df434(0x89)!==_0x55724f[_0x9df434(0xa6)]?this[_0x9df434(0xbb)][_0x9df434(0xc3)]():this[_0x9df434(0xc7)]():this[_0x9df434(0xbf)]());}[_0x35be16(0x93)](_0x4f6b1d){const _0x771dd=_0x35be16;this[_0x771dd(0xbb)][_0x771dd(0xa7)](_0x4f6b1d);}[_0x35be16(0xbf)](){const _0x10ad03=_0x35be16;this[_0x10ad03(0xbb)][_0x10ad03(0xbf)]();}[_0x35be16(0xc7)](){const _0x491821=_0x35be16;this[_0x491821(0xbb)][_0x491821(0xc7)]();}[_0x35be16(0x90)](_0x51b02c){const _0x251a28=_0x35be16;this[_0x251a28(0xbb)][_0x251a28(0x87)][_0x251a28(0xc8)](_0x51b02c);}[_0x35be16(0xa8)](){const _0x3f6463=_0x35be16;this[_0x3f6463(0xbb)][_0x3f6463(0x87)][_0x3f6463(0x96)]()[_0x3f6463(0x9e)](_0x4d316c=>_0x4d316c[_0x3f6463(0xc4)]());}[_0x35be16(0xac)](_0xc5b475,_0x4b6b75){const _0x807897=_0x35be16;_0x807897(0x9b)!==_0x4b6b75&&_0x807897(0x99)!==_0x4b6b75||this[_0x807897(0xbb)][_0x807897(0x87)][_0x807897(0xbd)](_0xc5b475);}[_0x35be16(0xc5)](){const _0x59df1b=_0x35be16;this[_0x59df1b(0xbb)][_0x59df1b(0xc5)]();}[_0x35be16(0x8b)](){const _0x3d7417=_0x35be16;this[_0x3d7417(0xbb)][_0x3d7417(0x8b)]();}[_0x35be16(0xcb)](){const _0x2d5339=_0x35be16;this[_0x2d5339(0xbb)][_0x2d5339(0xcb)]();}}
23
+ const _0xe21122=_0x5d85;(function(_0x2293e1,_0x5d2ac4){const _0x2aa754=_0x5d85,_0x5851b6=_0x2293e1();while(!![]){try{const _0x1faed0=-parseInt(_0x2aa754(0x1af))/0x1+parseInt(_0x2aa754(0x1c1))/0x2+-parseInt(_0x2aa754(0x1d8))/0x3*(-parseInt(_0x2aa754(0x1b0))/0x4)+-parseInt(_0x2aa754(0x1bb))/0x5+-parseInt(_0x2aa754(0x1a4))/0x6+-parseInt(_0x2aa754(0x1dc))/0x7*(-parseInt(_0x2aa754(0x1b5))/0x8)+-parseInt(_0x2aa754(0x1ac))/0x9*(-parseInt(_0x2aa754(0x1a2))/0xa);if(_0x1faed0===_0x5d2ac4)break;else _0x5851b6['push'](_0x5851b6['shift']());}catch(_0x73e11f){_0x5851b6['push'](_0x5851b6['shift']());}}}(_0x140e,0xcf1d3));import{ContextPlugin as _0x2a8889}from'ckeditor5/src/core.js';import{IconAIReview as _0x33306e}from'ckeditor5/src/icons.js';import{AITabs as _0x43615d}from'../aitabs/aitabs.js';function _0x5d85(_0x3f90b3,_0x5e183e){const _0x140e5f=_0x140e();return _0x5d85=function(_0x5d85bf,_0x51c612){_0x5d85bf=_0x5d85bf-0x19b;let _0x5b97ab=_0x140e5f[_0x5d85bf];return _0x5b97ab;},_0x5d85(_0x3f90b3,_0x5e183e);}import{AIReviewModeView as _0x1db463}from'./ui/aireviewmodeview.js';import{getTranslation as _0x20caa3}from'../aicore/utils/common-translations.js';import'../../theme/aireviewmode/aireviewmode.css';function _0x140e(){const _0x422752=['showReviewCompletedView','8185420qGjdSw','delegate','8928318ALeGLw','scrollToSuggestionInDocument','retryReview','setAvailableChecks','isPremiumPlugin','showReviewCheckListView','learnMore','acceptChange','9JbBSdH','locale','reviewCheckListView','163561gAlHRX','3252qCyWWH','toggleDiff','showReviewCheckResultsView','error-general','addCheckRunResult','17048niHOrU','getReviewCheckList','finishReview','AIReviewModeUI','showCheckRunResults','get','4446455egrJOy','activateTab','leaveReviewMode','AI_REVIEW_MODE','setChecks','updateChangeState','3088634lboVWn','leaveReviewModeResultList','isOfficialPlugin','accepted','showChunkErrorView','showActionsWhenResultIsReady','addTab','plugins','status','dismissChange','rejected','hideActionsWhenResultIsReady','setTitle','showCheckRunResult','pluginName','init','hideResult','acceptAllChanges','abortReviewStream','setCheckResultTitle','fire','hasChecks','showReviewCheckList','1161IWeDij','error-chunk','context','setItemAsInactive','2338kCakrw','AITabs','_reviewModeView','runReviewCheck','showGeneralErrorView','reviewCheckResultsView','getResults','forEach','view','reviewMode','requires','resetActiveStateInResults'];_0x140e=function(){return _0x422752;};return _0x140e();}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0xe21122(0x1b6),_0xe21122(0x1df),_0xe21122(0x1d3),_0xe21122(0x1b1),_0xe21122(0x1d2),_0xe21122(0x1c2),_0xe21122(0x1a5),_0xe21122(0x1ab),_0xe21122(0x1ca),_0xe21122(0x1aa),_0xe21122(0x1b7),_0xe21122(0x1a6)];export class AIReviewModeUI extends _0x2a8889{[_0xe21122(0x1de)];static get[_0xe21122(0x19f)](){return[_0x43615d];}static get[_0xe21122(0x1cf)](){const _0x38e7aa=_0xe21122;return _0x38e7aa(0x1b8);}static get[_0xe21122(0x1c3)](){return!0x0;}static get[_0xe21122(0x1a8)](){return!0x0;}constructor(_0x5ab0ac){const _0x4979fd=_0xe21122;super(_0x5ab0ac),this[_0x4979fd(0x1de)]=new _0x1db463(this[_0x4979fd(0x1da)][_0x4979fd(0x1ad)]),this[_0x4979fd(0x1de)][_0x4979fd(0x1a3)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this);}[_0xe21122(0x1d0)](){const _0x64a80f=_0xe21122,_0x4ab9a4=this[_0x64a80f(0x1da)][_0x64a80f(0x1c8)][_0x64a80f(0x1ba)](_0x64a80f(0x1dd));_0x4ab9a4[_0x64a80f(0x19d)]['on'](_0x64a80f(0x1bc),(_0x502697,_0x4b4290)=>{const _0x47167b=_0x64a80f;_0x47167b(0x19e)===_0x4b4290?this[_0x47167b(0x1d5)](_0x47167b(0x1b6)):this[_0x47167b(0x1d5)](_0x47167b(0x1bd));}),_0x4ab9a4[_0x64a80f(0x19d)][_0x64a80f(0x1c7)]({'id':_0x64a80f(0x19e),'buttonLabel':_0x20caa3(this[_0x64a80f(0x1da)][_0x64a80f(0x1ad)],_0x64a80f(0x1be)),'buttonIcon':_0x33306e,'order':0x0,'content':this[_0x64a80f(0x1de)]});}[_0xe21122(0x1a7)](_0x24c287){const _0x5779e5=_0xe21122;this[_0x5779e5(0x1de)][_0x5779e5(0x1ae)][_0x5779e5(0x1d6)]()||this[_0x5779e5(0x1de)][_0x5779e5(0x1ae)][_0x5779e5(0x1bf)](_0x24c287),this[_0x5779e5(0x1de)][_0x5779e5(0x1a9)]();}[_0xe21122(0x1d7)](){const _0x2d4310=_0xe21122;this[_0x2d4310(0x1d5)](_0x2d4310(0x1b6));}[_0xe21122(0x1b9)](_0x1b0d78){const _0x149383=_0xe21122;_0x1b0d78&&(_0x149383(0x1b3)!==_0x1b0d78[_0x149383(0x1c9)]?_0x149383(0x1d9)!==_0x1b0d78[_0x149383(0x1c9)]?this[_0x149383(0x1de)][_0x149383(0x1b2)]():this[_0x149383(0x1c5)]():this[_0x149383(0x1e0)]());}[_0xe21122(0x1ce)](_0x630520){const _0xa2e04f=_0xe21122;this[_0xa2e04f(0x1de)][_0xa2e04f(0x1b4)](_0x630520);}[_0xe21122(0x1e0)](){const _0x17989f=_0xe21122;this[_0x17989f(0x1de)][_0x17989f(0x1e0)]();}[_0xe21122(0x1c5)](){const _0x3957df=_0xe21122;this[_0x3957df(0x1de)][_0x3957df(0x1c5)]();}[_0xe21122(0x1d4)](_0x3d5da9){const _0x471060=_0xe21122;this[_0x471060(0x1de)][_0x471060(0x1e1)][_0x471060(0x1cd)](_0x3d5da9);}[_0xe21122(0x1a0)](){const _0x5914a1=_0xe21122;this[_0x5914a1(0x1de)][_0x5914a1(0x1e1)][_0x5914a1(0x19b)]()[_0x5914a1(0x19c)](_0x4e3cc3=>_0x4e3cc3[_0x5914a1(0x1db)]());}[_0xe21122(0x1c0)](_0x1a504f,_0x2bd756){const _0xa70fc8=_0xe21122;_0xa70fc8(0x1c4)!==_0x2bd756&&_0xa70fc8(0x1cb)!==_0x2bd756||this[_0xa70fc8(0x1de)][_0xa70fc8(0x1e1)][_0xa70fc8(0x1d1)](_0x1a504f);}[_0xe21122(0x1a1)](){const _0x2f74e4=_0xe21122;this[_0x2f74e4(0x1de)][_0x2f74e4(0x1a1)]();}[_0xe21122(0x1c6)](){const _0x3cdeb8=_0xe21122;this[_0x3cdeb8(0x1de)][_0x3cdeb8(0x1c6)]();}[_0xe21122(0x1cc)](){const _0x1b92b2=_0xe21122;this[_0x1b92b2(0x1de)][_0x1b92b2(0x1cc)]();}}
@@ -6,6 +6,7 @@
6
6
  * @module ai/aireviewmode/model/aireviewcheck
7
7
  * @publicApi
8
8
  */
9
+ import { type AIReviewCheckDefinition, type AIReviewCheckOptions } from '../aireviewcheckdefinitions.js';
9
10
  /**
10
11
  * Represents the single type of check that can be performed in the AI Review Mode.
11
12
  */
@@ -38,23 +39,5 @@ export declare class AIReviewCheck {
38
39
  /**
39
40
  * Creates a new instance of the AIReviewCheck.
40
41
  */
41
- constructor({ id, title, description, isParameterized, useArgs, options }: {
42
- id: string;
43
- title: string;
44
- description: string;
45
- isParameterized: boolean;
46
- useArgs?: boolean;
47
- options?: Array<AIReviewCheckOptions>;
48
- });
42
+ constructor({ id, title, description, isParameterized, useArgs, options }: AIReviewCheckDefinition);
49
43
  }
50
- export type AIReviewCheckOptionData = {
51
- label: string;
52
- id: string;
53
- };
54
- export type AIReviewCheckOptions = {
55
- formType: string;
56
- label?: string;
57
- default?: string;
58
- data?: Array<AIReviewCheckOptionData>;
59
- argsKey?: string;
60
- };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x144764=_0x5d7a;function _0x5f1a(){var _0x49a399=['title','784536cHOHhD','1097432PxjEiQ','options','1291825WdzOvX','6YTdaTJ','useArgs','1175427TphgJT','7177700wWMHRR','16UyhKTg','isParameterized','1342665qDIkch','description','71xmTlxO','7778ixhxxZ'];_0x5f1a=function(){return _0x49a399;};return _0x5f1a();}(function(_0x2d2e7b,_0x21fcec){var _0x1b229d=_0x5d7a,_0x14c928=_0x2d2e7b();while(!![]){try{var _0x286109=-parseInt(_0x1b229d(0x184))/0x1*(-parseInt(_0x1b229d(0x185))/0x2)+-parseInt(_0x1b229d(0x182))/0x3+-parseInt(_0x1b229d(0x187))/0x4+-parseInt(_0x1b229d(0x17b))/0x5*(parseInt(_0x1b229d(0x17c))/0x6)+parseInt(_0x1b229d(0x179))/0x7*(parseInt(_0x1b229d(0x180))/0x8)+-parseInt(_0x1b229d(0x17e))/0x9+parseInt(_0x1b229d(0x17f))/0xa;if(_0x286109===_0x21fcec)break;else _0x14c928['push'](_0x14c928['shift']());}catch(_0x250f77){_0x14c928['push'](_0x14c928['shift']());}}}(_0x5f1a,0x43160));function _0x5d7a(_0x1fee58,_0x19a0ee){var _0x5f1a4d=_0x5f1a();return _0x5d7a=function(_0x5d7a0d,_0x3888c3){_0x5d7a0d=_0x5d7a0d-0x179;var _0x44d4ef=_0x5f1a4d[_0x5d7a0d];return _0x44d4ef;},_0x5d7a(_0x1fee58,_0x19a0ee);}export class AIReviewCheck{['id'];[_0x144764(0x186)];[_0x144764(0x183)];[_0x144764(0x181)];[_0x144764(0x17d)];[_0x144764(0x17a)];constructor({id:_0x367469,title:_0x147f3b,description:_0x56d3fc,isParameterized:_0x3ed087,useArgs:_0x12a378,options:_0x58b6da}){var _0x19d02d=_0x144764;this['id']=_0x367469,this[_0x19d02d(0x186)]=_0x147f3b,this[_0x19d02d(0x183)]=_0x56d3fc,this[_0x19d02d(0x181)]=_0x3ed087,this[_0x19d02d(0x17d)]=_0x12a378,this[_0x19d02d(0x17a)]=_0x58b6da;}}
23
+ function _0x157e(){var _0x4baa99=['30VXPyXz','12729376EUrqcX','12YADreR','options','8923494ReKVoz','isParameterized','17275929jsUqlC','description','933111aNpjoK','2633315UtseVR','2fAqfhi','2984394EdLYRk','7LpQcEB','useArgs','1607757EkVidO','title'];_0x157e=function(){return _0x4baa99;};return _0x157e();}function _0x47f2(_0x4f61ed,_0x2ea7fa){var _0x157ebf=_0x157e();return _0x47f2=function(_0x47f2cf,_0x5496b3){_0x47f2cf=_0x47f2cf-0xb0;var _0x12f6a1=_0x157ebf[_0x47f2cf];return _0x12f6a1;},_0x47f2(_0x4f61ed,_0x2ea7fa);}var _0x39d857=_0x47f2;(function(_0x1df496,_0x17ddb){var _0x469e75=_0x47f2,_0x4c1542=_0x1df496();while(!![]){try{var _0x4c5240=parseInt(_0x469e75(0xb0))/0x1+-parseInt(_0x469e75(0xbc))/0x2*(parseInt(_0x469e75(0xbd))/0x3)+-parseInt(_0x469e75(0xb4))/0x4*(-parseInt(_0x469e75(0xbb))/0x5)+-parseInt(_0x469e75(0xb6))/0x6*(-parseInt(_0x469e75(0xbe))/0x7)+-parseInt(_0x469e75(0xb3))/0x8+parseInt(_0x469e75(0xba))/0x9*(parseInt(_0x469e75(0xb2))/0xa)+-parseInt(_0x469e75(0xb8))/0xb;if(_0x4c5240===_0x17ddb)break;else _0x4c1542['push'](_0x4c1542['shift']());}catch(_0x52b4e6){_0x4c1542['push'](_0x4c1542['shift']());}}}(_0x157e,0xca853));export class AIReviewCheck{['id'];[_0x39d857(0xb1)];[_0x39d857(0xb9)];[_0x39d857(0xb7)];[_0x39d857(0xbf)];[_0x39d857(0xb5)];constructor({id:_0x56ae75,title:_0x3721a6,description:_0x551989,isParameterized:_0x692495,useArgs:_0x3313f8,options:_0x4869e7}){var _0x1fc422=_0x39d857;this['id']=_0x56ae75,this[_0x1fc422(0xb1)]=_0x3721a6,this[_0x1fc422(0xb9)]=_0x551989,this[_0x1fc422(0xb7)]=_0x692495,this[_0x1fc422(0xbf)]=_0x3313f8,this[_0x1fc422(0xb5)]=_0x4869e7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4fe643=_0x3b92;(function(_0x160b42,_0x17f4a6){var _0x27ae57=_0x3b92,_0x3c1b92=_0x160b42();while(!![]){try{var _0x3ac38a=-parseInt(_0x27ae57(0xb8))/0x1*(-parseInt(_0x27ae57(0xbd))/0x2)+parseInt(_0x27ae57(0xc0))/0x3*(parseInt(_0x27ae57(0xb7))/0x4)+parseInt(_0x27ae57(0xbc))/0x5*(-parseInt(_0x27ae57(0xbe))/0x6)+parseInt(_0x27ae57(0xba))/0x7+parseInt(_0x27ae57(0xc2))/0x8+-parseInt(_0x27ae57(0xbf))/0x9+parseInt(_0x27ae57(0xc3))/0xa*(-parseInt(_0x27ae57(0xc1))/0xb);if(_0x3ac38a===_0x17f4a6)break;else _0x3c1b92['push'](_0x3c1b92['shift']());}catch(_0x35ca1d){_0x3c1b92['push'](_0x3c1b92['shift']());}}}(_0x2854,0x36cfb));function _0x2854(){var _0x427935=['models','2645419JLjLSu','_models','45gKnUGG','453834jQzQoT','159564KhHIaR','1031310TrqtWr','385509NwKJar','506KzwSxh','2073584fitnji','90020JcZKgH','4dVNmIw','1sgTTRU'];_0x2854=function(){return _0x427935;};return _0x2854();}import{AIReviewCheck as _0x10111f}from'./aireviewcheck.js';function _0x3b92(_0x4b78dd,_0x4c6d6e){var _0x285454=_0x2854();return _0x3b92=function(_0x3b9227,_0x309e78){_0x3b9227=_0x3b9227-0xb7;var _0x3f0507=_0x285454[_0x3b9227];return _0x3f0507;},_0x3b92(_0x4b78dd,_0x4c6d6e);}export class AIReviewCheckCustom extends _0x10111f{[_0x4fe643(0xbb)]=[];get[_0x4fe643(0xb9)](){var _0x1d44a3=_0x4fe643;return this[_0x1d44a3(0xbb)];}set[_0x4fe643(0xb9)](_0x287e22){var _0x213bd8=_0x4fe643;this[_0x213bd8(0xbb)]=_0x287e22;}}
23
+ var _0x4c6b2b=_0x489b;(function(_0xc661b8,_0x2f536e){var _0x1b4dbf=_0x489b,_0x207cb=_0xc661b8();while(!![]){try{var _0x292f78=parseInt(_0x1b4dbf(0x17b))/0x1+-parseInt(_0x1b4dbf(0x173))/0x2+-parseInt(_0x1b4dbf(0x179))/0x3+-parseInt(_0x1b4dbf(0x175))/0x4*(parseInt(_0x1b4dbf(0x178))/0x5)+parseInt(_0x1b4dbf(0x17a))/0x6+-parseInt(_0x1b4dbf(0x17d))/0x7*(-parseInt(_0x1b4dbf(0x17c))/0x8)+parseInt(_0x1b4dbf(0x176))/0x9;if(_0x292f78===_0x2f536e)break;else _0x207cb['push'](_0x207cb['shift']());}catch(_0xafbe24){_0x207cb['push'](_0x207cb['shift']());}}}(_0xb4c9,0x735dd));function _0xb4c9(){var _0x11a68b=['393379UxaLWM','891938choxlp','_models','104HIPaqT','1924461lCsKzI','models','46205zFhztH','918432WXaptD','1725402KlviIk','682539JjkLJL','40CpVFiL'];_0xb4c9=function(){return _0x11a68b;};return _0xb4c9();}function _0x489b(_0x57ec2e,_0xa21103){var _0xb4c964=_0xb4c9();return _0x489b=function(_0x489bfe,_0x31ec18){_0x489bfe=_0x489bfe-0x173;var _0x44be4b=_0xb4c964[_0x489bfe];return _0x44be4b;},_0x489b(_0x57ec2e,_0xa21103);}import{AIReviewCheck as _0x3651cf}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x3651cf{[_0x4c6b2b(0x174)]=[];get[_0x4c6b2b(0x177)](){var _0x59b9a8=_0x4c6b2b;return this[_0x59b9a8(0x174)];}set[_0x4c6b2b(0x177)](_0x258e5e){var _0x15de35=_0x4c6b2b;this[_0x15de35(0x174)]=_0x258e5e;}}
@@ -3,6 +3,7 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { AIReviewCheck } from './aireviewcheck.js';
6
+ import { type AIReviewCheckDefinition } from '../aireviewcheckdefinitions.js';
6
7
  declare const AIReviewCheckList_base: {
7
8
  new (): import("ckeditor5/src/utils.js").Observable;
8
9
  prototype: import("ckeditor5/src/utils.js").Observable;
@@ -14,15 +15,11 @@ export declare class AIReviewCheckList extends /* #__PURE__ */ AIReviewCheckList
14
15
  /**
15
16
  * @inheritDoc
16
17
  */
17
- constructor();
18
+ constructor(checks: Array<AIReviewCheckDefinition>);
18
19
  /**
19
20
  * The list of available review checks.
20
21
  */
21
22
  get checks(): Array<AIReviewCheck>;
22
- /**
23
- * The list of available review checks including expanded parameterized checks.
24
- */
25
- get getExpandedChecks(): Array<any>;
26
23
  /**
27
24
  * Returns the check by its ID.
28
25
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13b4d9=_0x580b;(function(_0xd16e00,_0x218a3c){const _0x4af4c8=_0x580b,_0x145376=_0xd16e00();while(!![]){try{const _0x2e7346=parseInt(_0x4af4c8(0x221))/0x1*(parseInt(_0x4af4c8(0x1ee))/0x2)+parseInt(_0x4af4c8(0x227))/0x3*(parseInt(_0x4af4c8(0x20f))/0x4)+parseInt(_0x4af4c8(0x234))/0x5*(parseInt(_0x4af4c8(0x1fc))/0x6)+-parseInt(_0x4af4c8(0x1f8))/0x7+parseInt(_0x4af4c8(0x1f0))/0x8+parseInt(_0x4af4c8(0x203))/0x9*(parseInt(_0x4af4c8(0x1fa))/0xa)+-parseInt(_0x4af4c8(0x223))/0xb*(parseInt(_0x4af4c8(0x1f6))/0xc);if(_0x2e7346===_0x218a3c)break;else _0x145376['push'](_0x145376['shift']());}catch(_0x1cca56){_0x145376['push'](_0x145376['shift']());}}}(_0x13c5,0xc4555));function _0x580b(_0x58f0ff,_0x55e25d){const _0x13c582=_0x13c5();return _0x580b=function(_0x580b5f,_0x31cc9c){_0x580b5f=_0x580b5f-0x1df;let _0xf002a0=_0x13c582[_0x580b5f];return _0xf002a0;},_0x580b(_0x58f0ff,_0x55e25d);}import{ObservableMixin as _0xd2d854}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x33f8e2}from'./aireviewcheck.js';function _0x13c5(){const _0x5cbca9=['Correctness','5409WFpsKR','Friendly','casual','japanese','length','spanish','Adjust\x20length','Spanish','_getAvailableReviewChecks','Direct','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','confident','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','10XtXVhG','getCheckById','shorter','professional','portuguese','Casual','translate','readability','Italian','dropdown','label','correctness','friendly','Shorter','Chinese\x20(Simplified)','_checks','English','clarity',':\x20\x0a','130kxrWuL','direct','5520072gAfLNR','find','useArgs','Readability','make-tone','Translate\x20the\x20text\x20into\x20another\x20language.','732QDcnVX','options','4957316WrjtmJ','Korean','30KktIWI','checks','1012914dZtTRW','Japanese','reduce','title','Confident','getExpandedChecks','French','4037094ueNJXQ','korean','German','Adjust\x20tone\x20and\x20style','english','Translate','Russian','_getExpandedReviewChecks','french','longer','data','Clarity','2764kufpmB','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','isParameterized','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','map','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Portuguese','Longer','german','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','chinese','language','join','custom','italian','Professional','Select\x20language','flatMap','9371JORAqy','make','489764bamuRP','russian','Custom\x20command'];_0x13c5=function(){return _0x5cbca9;};return _0x13c5();}import{AIReviewCheckCustom as _0x2d96e8}from'./aireviewcheckcustom.js';const ia=[{'id':_0x13b4d9(0x21c),'title':_0x13b4d9(0x225),'description':_0x13b4d9(0x210),'isParameterized':!0x0},{'id':_0x13b4d9(0x1e6),'title':_0x13b4d9(0x226),'description':_0x13b4d9(0x233),'isParameterized':!0x1},{'id':_0x13b4d9(0x1ec),'title':_0x13b4d9(0x20e),'description':_0x13b4d9(0x212),'isParameterized':!0x1},{'id':_0x13b4d9(0x1e2),'title':_0x13b4d9(0x1f3),'description':_0x13b4d9(0x231),'isParameterized':!0x1},{'id':_0x13b4d9(0x222),'title':_0x13b4d9(0x22d),'description':_0x13b4d9(0x218),'isParameterized':!0x0,'options':[{'formType':_0x13b4d9(0x1e4),'label':_0x13b4d9(0x22d),'default':_0x13b4d9(0x20c),'data':[{'label':_0x13b4d9(0x216),'id':_0x13b4d9(0x20c)},{'label':_0x13b4d9(0x1e8),'id':_0x13b4d9(0x236)}]}]},{'id':_0x13b4d9(0x1f4),'title':_0x13b4d9(0x206),'description':_0x13b4d9(0x214),'isParameterized':!0x0,'options':[{'formType':_0x13b4d9(0x1e4),'label':_0x13b4d9(0x206),'default':_0x13b4d9(0x229),'data':[{'label':_0x13b4d9(0x1e0),'id':_0x13b4d9(0x229)},{'label':_0x13b4d9(0x230),'id':_0x13b4d9(0x1ef)},{'label':_0x13b4d9(0x228),'id':_0x13b4d9(0x1e7)},{'label':_0x13b4d9(0x200),'id':_0x13b4d9(0x232)},{'label':_0x13b4d9(0x21e),'id':_0x13b4d9(0x237)}]}]},{'id':_0x13b4d9(0x1e1),'title':_0x13b4d9(0x208),'description':_0x13b4d9(0x1f5),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x13b4d9(0x1e4),'label':_0x13b4d9(0x21f),'default':_0x13b4d9(0x22c),'argsKey':_0x13b4d9(0x21a),'data':[{'label':_0x13b4d9(0x1eb),'id':_0x13b4d9(0x207)},{'label':_0x13b4d9(0x22e),'id':_0x13b4d9(0x22c)},{'label':_0x13b4d9(0x202),'id':_0x13b4d9(0x20b)},{'label':_0x13b4d9(0x205),'id':_0x13b4d9(0x217)},{'label':_0x13b4d9(0x1e9),'id':_0x13b4d9(0x219)},{'label':_0x13b4d9(0x1fd),'id':_0x13b4d9(0x22a)},{'label':_0x13b4d9(0x209),'id':_0x13b4d9(0x224)},{'label':_0x13b4d9(0x215),'id':_0x13b4d9(0x1df)},{'label':_0x13b4d9(0x1f9),'id':_0x13b4d9(0x204)},{'label':_0x13b4d9(0x1e3),'id':_0x13b4d9(0x21d)}]}]}];export class AIReviewCheckList extends _0xd2d854(){[_0x13b4d9(0x1ea)];constructor(){const _0xd3a563=_0x13b4d9;super(),this[_0xd3a563(0x1ea)]=this[_0xd3a563(0x22f)]();}get[_0x13b4d9(0x1fb)](){const _0x5f108a=_0x13b4d9;return this[_0x5f108a(0x1ea)];}get[_0x13b4d9(0x201)](){const _0x18eebe=_0x13b4d9;return this[_0x18eebe(0x20a)]();}[_0x13b4d9(0x235)](_0xff1b9b){const _0x40eb6f=_0x13b4d9;return this[_0x40eb6f(0x201)][_0x40eb6f(0x1f1)](_0x35ab77=>_0x35ab77['id']===_0xff1b9b);}[_0x13b4d9(0x22f)](){const _0xfa54d4=_0x13b4d9;return ia[_0xfa54d4(0x213)](_0x5a5daf=>_0xfa54d4(0x21c)===_0x5a5daf['id']?new _0x2d96e8(_0x5a5daf):new _0x33f8e2(_0x5a5daf));}[_0x13b4d9(0x20a)](){const _0x571798=_0x13b4d9;return ia[_0x571798(0x220)](_0x3d586f=>{const _0x56d7c9=_0x571798;if(_0x3d586f?.[_0x56d7c9(0x1f2)])return[_0x3d586f];if(_0x3d586f[_0x56d7c9(0x211)]&&_0x3d586f[_0x56d7c9(0x1f7)]?.[_0x56d7c9(0x22b)]){const _0x39891e=_0x3d586f[_0x56d7c9(0x1f7)][_0x56d7c9(0x213)](_0x33ed69=>_0x33ed69[_0x56d7c9(0x20d)]||[]);return _0x39891e[_0x56d7c9(0x1fe)]((_0x16c054,_0x9dff29)=>_0x16c054[_0x56d7c9(0x220)](_0xc6c99c=>_0x9dff29[_0x56d7c9(0x213)](_0x2c28dd=>[..._0xc6c99c,_0x2c28dd])),[[]])[_0x56d7c9(0x213)](_0x53b8fb=>{const _0x1a6c5b=_0x56d7c9,_0x29ba65=_0x53b8fb[_0x1a6c5b(0x213)](_0x5b3330=>_0x5b3330['id'])[_0x1a6c5b(0x21b)]('-'),_0x375bd4=_0x53b8fb[_0x1a6c5b(0x213)](_0x5b2944=>_0x5b2944[_0x1a6c5b(0x1e5)])[_0x1a6c5b(0x21b)](',\x20');return{..._0x3d586f,'id':_0x3d586f['id']+'-'+_0x29ba65,'title':_0x3d586f[_0x1a6c5b(0x1ff)]+_0x1a6c5b(0x1ed)+_0x375bd4,'selectedOptions':_0x53b8fb};});}return[_0x3d586f];});}}
23
+ var _0x34a215=_0x40c2;(function(_0x4e6b8f,_0x49e66a){var _0x3d176e=_0x40c2,_0x1ee268=_0x4e6b8f();while(!![]){try{var _0x307234=parseInt(_0x3d176e(0x194))/0x1+parseInt(_0x3d176e(0x19a))/0x2+parseInt(_0x3d176e(0x191))/0x3*(-parseInt(_0x3d176e(0x189))/0x4)+parseInt(_0x3d176e(0x18f))/0x5*(-parseInt(_0x3d176e(0x199))/0x6)+-parseInt(_0x3d176e(0x197))/0x7*(-parseInt(_0x3d176e(0x188))/0x8)+parseInt(_0x3d176e(0x18a))/0x9*(-parseInt(_0x3d176e(0x193))/0xa)+-parseInt(_0x3d176e(0x18b))/0xb*(parseInt(_0x3d176e(0x18c))/0xc);if(_0x307234===_0x49e66a)break;else _0x1ee268['push'](_0x1ee268['shift']());}catch(_0x4ee787){_0x1ee268['push'](_0x1ee268['shift']());}}}(_0x5e3b,0x67073));import{ObservableMixin as _0x33624f}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x3c39ee}from'./aireviewcheck.js';function _0x40c2(_0x2cf38b,_0x5343b7){var _0x5e3b5a=_0x5e3b();return _0x40c2=function(_0x40c212,_0x2c0858){_0x40c212=_0x40c212-0x188;var _0x58fd15=_0x5e3b5a[_0x40c212];return _0x58fd15;},_0x40c2(_0x2cf38b,_0x5343b7);}import{AIReviewCheckCustom as _0x41726d}from'./aireviewcheckcustom.js';function _0x5e3b(){var _0x445892=['7SlQrLP','_checks','4697016qYCPlD','1338836jdlHXv','3324728DvsNQl','283516GBZbSS','5553nPobwS','1793UYGmVE','2808vAWwXr','map','find','5dYnDZM','getCheckById','3CjMUiU','custom','710wCFnYy','272658TDfXZo','checks','_mapCheckDefinitions'];_0x5e3b=function(){return _0x445892;};return _0x5e3b();}export class AIReviewCheckList extends _0x33624f(){[_0x34a215(0x198)];constructor(_0x2df9a3){var _0x2e3a05=_0x34a215;super(),this[_0x2e3a05(0x198)]=this[_0x2e3a05(0x196)](_0x2df9a3);}get[_0x34a215(0x195)](){var _0x16721f=_0x34a215;return this[_0x16721f(0x198)];}[_0x34a215(0x190)](_0x33b41f){var _0x466742=_0x34a215;return this[_0x466742(0x195)][_0x466742(0x18e)](_0x2c2f38=>_0x2c2f38['id']===_0x33b41f);}[_0x34a215(0x196)](_0x352d3d){var _0x32f3bb=_0x34a215;return _0x352d3d[_0x32f3bb(0x18d)](_0x1fe4e6=>_0x32f3bb(0x192)===_0x1fe4e6['id']?new _0x41726d(_0x1fe4e6):new _0x3c39ee(_0x1fe4e6));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f0e(_0x3c7575,_0x1e6b85){var _0x59e1be=_0x59e1();return _0x4f0e=function(_0x4f0e60,_0x76d85){_0x4f0e60=_0x4f0e60-0x7a;var _0x11d3f2=_0x59e1be[_0x4f0e60];return _0x11d3f2;},_0x4f0e(_0x3c7575,_0x1e6b85);}var _0x2280c9=_0x4f0e;(function(_0x4353b3,_0x36d479){var _0x4be903=_0x4f0e,_0x5de63e=_0x4353b3();while(!![]){try{var _0x3ae2b8=parseInt(_0x4be903(0x7c))/0x1*(-parseInt(_0x4be903(0x80))/0x2)+-parseInt(_0x4be903(0x87))/0x3*(parseInt(_0x4be903(0x86))/0x4)+-parseInt(_0x4be903(0x81))/0x5*(parseInt(_0x4be903(0x7f))/0x6)+-parseInt(_0x4be903(0x7e))/0x7*(parseInt(_0x4be903(0x83))/0x8)+parseInt(_0x4be903(0x84))/0x9+-parseInt(_0x4be903(0x7a))/0xa*(-parseInt(_0x4be903(0x88))/0xb)+parseInt(_0x4be903(0x82))/0xc;if(_0x3ae2b8===_0x36d479)break;else _0x5de63e['push'](_0x5de63e['shift']());}catch(_0x3ea9ea){_0x5de63e['push'](_0x5de63e['shift']());}}}(_0x59e1,0x4f195));function _0x59e1(){var _0x425d81=['507258QFXZfo','2213525gEiLfd','15949716dbnHlX','900008zabrTS','3843324hEzzox','documentVersion','2288IHCWgG','1320kKhEks','22561ANWBdS','1070FxeNpZ','contentNew','2iKsShk','contentInitial','28KDFgUB','6OXqxZt'];_0x59e1=function(){return _0x425d81;};return _0x59e1();}import{EmitterMixin as _0x548e8d}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x548e8d(){['id'];[_0x2280c9(0x7b)];[_0x2280c9(0x7d)];[_0x2280c9(0x85)];constructor({id:_0x55797c,contentNew:_0x194abb,contentInitial:_0x539dc4,documentVersion:_0x6a1a9a}){var _0x2a67d5=_0x2280c9;super(),this['id']=_0x55797c,this[_0x2a67d5(0x7b)]=_0x194abb,this[_0x2a67d5(0x7d)]=_0x539dc4,this[_0x2a67d5(0x85)]=_0x6a1a9a;}}
23
+ function _0x56db(_0x3b6715,_0x2b9ce5){var _0x69ed34=_0x69ed();return _0x56db=function(_0x56db77,_0x80f713){_0x56db77=_0x56db77-0x17c;var _0x18cf25=_0x69ed34[_0x56db77];return _0x18cf25;},_0x56db(_0x3b6715,_0x2b9ce5);}var _0x22c48b=_0x56db;(function(_0x5ae1a5,_0x64ccb9){var _0x8eee30=_0x56db,_0x1d6dc4=_0x5ae1a5();while(!![]){try{var _0x2d4e17=-parseInt(_0x8eee30(0x186))/0x1+parseInt(_0x8eee30(0x189))/0x2*(parseInt(_0x8eee30(0x17c))/0x3)+-parseInt(_0x8eee30(0x18a))/0x4*(parseInt(_0x8eee30(0x17d))/0x5)+parseInt(_0x8eee30(0x187))/0x6*(parseInt(_0x8eee30(0x180))/0x7)+parseInt(_0x8eee30(0x184))/0x8*(parseInt(_0x8eee30(0x181))/0x9)+parseInt(_0x8eee30(0x17f))/0xa*(parseInt(_0x8eee30(0x17e))/0xb)+-parseInt(_0x8eee30(0x183))/0xc*(parseInt(_0x8eee30(0x182))/0xd);if(_0x2d4e17===_0x64ccb9)break;else _0x1d6dc4['push'](_0x1d6dc4['shift']());}catch(_0x4102ad){_0x1d6dc4['push'](_0x1d6dc4['shift']());}}}(_0x69ed,0x1a8a7));function _0x69ed(){var _0x5b8f99=['documentVersion','33bQoEBG','7265qZReym','187xzGdAm','53950ebcKHF','7HWwKYR','1673631heiVda','347230JmKKlK','48HgUXWB','8edQGYs','contentNew','10094gEGnGD','385368DmZcYO','contentInitial','1582yGusuc','344RfGvXH'];_0x69ed=function(){return _0x5b8f99;};return _0x69ed();}import{EmitterMixin as _0x3e362d}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x3e362d(){['id'];[_0x22c48b(0x185)];[_0x22c48b(0x188)];[_0x22c48b(0x18b)];constructor({id:_0x477ed4,contentNew:_0x6ac0ea,contentInitial:_0x33f5c6,documentVersion:_0x5a05fd}){var _0x3255ef=_0x22c48b;super(),this['id']=_0x477ed4,this[_0x3255ef(0x185)]=_0x6ac0ea,this[_0x3255ef(0x188)]=_0x33f5c6,this[_0x3255ef(0x18b)]=_0x5a05fd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1c02f1=_0x118a;function _0x118a(_0x2a41b2,_0x457ecf){var _0x39e560=_0x39e5();return _0x118a=function(_0x118a82,_0x3e1c25){_0x118a82=_0x118a82-0x71;var _0x24ac23=_0x39e560[_0x118a82];return _0x24ac23;},_0x118a(_0x2a41b2,_0x457ecf);}(function(_0x453f14,_0x1c443e){var _0xe892c5=_0x118a,_0x4070c6=_0x453f14();while(!![]){try{var _0x25b942=-parseInt(_0xe892c5(0x7c))/0x1*(parseInt(_0xe892c5(0x85))/0x2)+parseInt(_0xe892c5(0x82))/0x3+parseInt(_0xe892c5(0x73))/0x4*(-parseInt(_0xe892c5(0x78))/0x5)+parseInt(_0xe892c5(0x76))/0x6*(parseInt(_0xe892c5(0x81))/0x7)+parseInt(_0xe892c5(0x7a))/0x8*(parseInt(_0xe892c5(0x75))/0x9)+-parseInt(_0xe892c5(0x79))/0xa*(-parseInt(_0xe892c5(0x7f))/0xb)+-parseInt(_0xe892c5(0x87))/0xc*(parseInt(_0xe892c5(0x74))/0xd);if(_0x25b942===_0x1c443e)break;else _0x4070c6['push'](_0x4070c6['shift']());}catch(_0x4879d8){_0x4070c6['push'](_0x4070c6['shift']());}}}(_0x39e5,0x9f1a0));function _0x39e5(){var _0x36e708=['operations','13003wgTmDx','_editorOperations','parent','2260247TMcKUS','contentDiffed','7926177zllWvL','2329905rAfhtl','active','set','12ZsDFtT','operationsIsolated','90708WkkuPW','context','status','916tiMCOk','3133bCuOTl','9BcHsLe','6jfxyWi','_data','16095HDJtDQ','50XFEpkS','2817896rjPOor'];_0x39e5=function(){return _0x36e708;};return _0x39e5();}import{ObservableMixin as _0x42a29a}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x42a29a(){['id'];[_0x1c02f1(0x7e)];[_0x1c02f1(0x77)];[_0x1c02f1(0x7d)]=[];constructor(_0x12a37a,_0x1f88c3,_0xa3f09){var _0x3a4022=_0x1c02f1;super(),this['id']=_0x12a37a,this[_0x3a4022(0x7e)]=_0xa3f09,this[_0x3a4022(0x77)]=_0x1f88c3,this[_0x3a4022(0x84)](_0x3a4022(0x72),_0x3a4022(0x83));}get[_0x1c02f1(0x80)](){var _0x2c95c9=_0x1c02f1;return this[_0x2c95c9(0x77)][_0x2c95c9(0x71)]();}get[_0x1c02f1(0x7b)](){var _0x25bbc7=_0x1c02f1;return this[_0x25bbc7(0x77)][_0x25bbc7(0x7b)];}get[_0x1c02f1(0x86)](){var _0x5d8fe1=_0x1c02f1;return this[_0x5d8fe1(0x77)][_0x5d8fe1(0x86)];}}
23
+ function _0x23ed(){var _0x5be783=['1089768EYPSuO','10tjLkHe','3595pqiLBG','14695816OVYHfT','contentDiffed','36KAhtjT','operationsIsolated','operations','5467368JLWecZ','136GDvTnj','37326JlZrij','_data','active','632lAHyVe','context','parent','set','5936029zwDnBa','7FFxwNC','11734011hfhyKm','_editorOperations','status'];_0x23ed=function(){return _0x5be783;};return _0x23ed();}var _0x479e1b=_0x35b7;(function(_0x3c7fe9,_0x34304b){var _0x24d9e0=_0x35b7,_0x16a019=_0x3c7fe9();while(!![]){try{var _0x141fd3=parseInt(_0x24d9e0(0xa1))/0x1+parseInt(_0x24d9e0(0xaa))/0x2*(-parseInt(_0x24d9e0(0xab))/0x3)+parseInt(_0x24d9e0(0xae))/0x4*(parseInt(_0x24d9e0(0xa3))/0x5)+-parseInt(_0x24d9e0(0xa9))/0x6+-parseInt(_0x24d9e0(0x9d))/0x7*(-parseInt(_0x24d9e0(0xa4))/0x8)+parseInt(_0x24d9e0(0x9e))/0x9*(parseInt(_0x24d9e0(0xa2))/0xa)+parseInt(_0x24d9e0(0x9c))/0xb*(-parseInt(_0x24d9e0(0xa6))/0xc);if(_0x141fd3===_0x34304b)break;else _0x16a019['push'](_0x16a019['shift']());}catch(_0x23bd30){_0x16a019['push'](_0x16a019['shift']());}}}(_0x23ed,0xec4f5));function _0x35b7(_0x33934c,_0x16378a){var _0x23ed73=_0x23ed();return _0x35b7=function(_0x35b79d,_0x35e523){_0x35b79d=_0x35b79d-0x9a;var _0x1d0846=_0x23ed73[_0x35b79d];return _0x1d0846;},_0x35b7(_0x33934c,_0x16378a);}import{ObservableMixin as _0x1ccb80}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x1ccb80(){['id'];[_0x479e1b(0x9a)];[_0x479e1b(0xac)];[_0x479e1b(0x9f)]=[];constructor(_0x3edce0,_0x178f60,_0x5a3aab){var _0x54b385=_0x479e1b;super(),this['id']=_0x3edce0,this[_0x54b385(0x9a)]=_0x5a3aab,this[_0x54b385(0xac)]=_0x178f60,this[_0x54b385(0x9b)](_0x54b385(0xa0),_0x54b385(0xad));}get[_0x479e1b(0xa5)](){var _0x5aa4e1=_0x479e1b;return this[_0x5aa4e1(0xac)][_0x5aa4e1(0xaf)]();}get[_0x479e1b(0xa8)](){var _0x27400e=_0x479e1b;return this[_0x27400e(0xac)][_0x27400e(0xa8)];}get[_0x479e1b(0xa7)](){var _0xe89de6=_0x479e1b;return this[_0xe89de6(0xac)][_0xe89de6(0xa7)];}}
@@ -23,7 +23,7 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
23
23
  * The check run ID.
24
24
  */
25
25
  readonly id: string;
26
- constructor(documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector, args?: Record<string, any>);
26
+ constructor(documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector, params?: Array<string>, args?: Record<string, any>);
27
27
  /**
28
28
  * Returns the document data obtained at the time of the check run.
29
29
  */
@@ -32,6 +32,10 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
32
32
  * Returns the number of successfully processed results.
33
33
  */
34
34
  get processedResultsCount(): number;
35
+ /**
36
+ * Returns the check title.
37
+ */
38
+ get title(): string;
35
39
  /**
36
40
  * Starts the check run resulting in an API call. After the call is finished, the status
37
41
  * and list of changes are updated.
@@ -51,6 +55,7 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
51
55
  markAllChangesAsAccepted(): void;
52
56
  markChangeAsAccepted(changeId: string): void;
53
57
  markChangeAsRejected(changeId: string): void;
58
+ forceReadyState(): void;
54
59
  }
55
60
  export type AIReviewCheckRunUpdatedEvent = {
56
61
  name: 'reviewCheckRunUpdated';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13cdf5=_0x56ff;(function(_0xa26973,_0x24d624){const _0x4b7d5e=_0x56ff,_0x2c2412=_0xa26973();while(!![]){try{const _0x82ceff=parseInt(_0x4b7d5e(0x101))/0x1*(-parseInt(_0x4b7d5e(0x103))/0x2)+-parseInt(_0x4b7d5e(0x135))/0x3+parseInt(_0x4b7d5e(0x117))/0x4+-parseInt(_0x4b7d5e(0x13b))/0x5*(-parseInt(_0x4b7d5e(0x137))/0x6)+-parseInt(_0x4b7d5e(0x126))/0x7*(parseInt(_0x4b7d5e(0x111))/0x8)+-parseInt(_0x4b7d5e(0x127))/0x9*(-parseInt(_0x4b7d5e(0x10b))/0xa)+-parseInt(_0x4b7d5e(0x130))/0xb;if(_0x82ceff===_0x24d624)break;else _0x2c2412['push'](_0x2c2412['shift']());}catch(_0x4a3458){_0x2c2412['push'](_0x2c2412['shift']());}}}(_0x32ee,0x663d2));function _0x56ff(_0x2f60fb,_0x5cfa16){const _0x32ee16=_0x32ee();return _0x56ff=function(_0x56ff42,_0x4999eb){_0x56ff42=_0x56ff42-0xf5;let _0x405d89=_0x32ee16[_0x56ff42];return _0x405d89;},_0x56ff(_0x2f60fb,_0x5cfa16);}import{ObservableMixin as _0x46c129,uid as _0x4c1ecf}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0xc59c3}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x232168}from'./aireviewcheckresultchange.js';function _0x32ee(){const _0x3e1abc=['reviewCheckResultReady','rejected','dataId','operation','error-chunk','addResultChanges','active','507ZWpHUY','documentData','1290zfEcOn','elements','ready','isChangeActive','data','getActiveChanges','_checkIfFinished','getStream','10bPlBpA','push','forEach','Not\x20implemented.','_changes','status','3145880wTqejV','abort','markChangeAsAccepted','start','loading','error-general','448108ggCwmk','getContent','_results','clear','filter','_activeRequest','_createApiRequest','size','markChangeAsRejected','reviewCheckResultAccepted','_aiConnector','finished','accepted','processedResultsCount','reviewCheckResultAdded','7bAeqGr','7359561cSLSOb','fire','find','abortController','_currentError','markAllChangesAsAccepted','_addReviewCheckResult','_sourceCheck','reviewCheckRunUpdated','2343561UxEotJ','aborted','length','unmodified','_documentData','726090dtXzQt','initialized','330VswdOU','textDelta','reviewCheckResultRejected','set','60395eKlRxR','error','change:status','restart','_reviewArgs','get','version'];_0x32ee=function(){return _0x3e1abc;};return _0x32ee();}export class AIReviewCheckRun extends _0x46c129(){['id']=_0x4c1ecf();[_0x13cdf5(0x119)]=new Map();[_0x13cdf5(0x10f)]=[];[_0x13cdf5(0x134)];[_0x13cdf5(0x12e)];[_0x13cdf5(0x121)];[_0x13cdf5(0xf7)];[_0x13cdf5(0x11c)]=null;[_0x13cdf5(0x12b)];constructor(_0x4b757c,_0x454e7d,_0x5652c0,_0x5bd746){const _0x304b29=_0x13cdf5;super(),this[_0x304b29(0x134)]=_0x4b757c,this[_0x304b29(0x12e)]=_0x454e7d,this[_0x304b29(0x121)]=_0x5652c0,this[_0x304b29(0xf7)]=_0x5bd746,this['on'](_0x304b29(0xf5),(_0x3cf483,_0x2d007b,_0x51a2ce)=>{const _0x5d2681=_0x304b29;this[_0x5d2681(0x128)](_0x5d2681(0x12f),{'status':_0x51a2ce,'run':this,'error':this[_0x5d2681(0x12b)]});}),this[_0x304b29(0x13a)](_0x304b29(0x110),_0x304b29(0x136));}get[_0x13cdf5(0x102)](){const _0x53082d=_0x13cdf5;return this[_0x53082d(0x134)];}get[_0x13cdf5(0x124)](){const _0x2781b6=_0x13cdf5;return this[_0x2781b6(0x119)][_0x2781b6(0x11e)];}async[_0x13cdf5(0x114)](){const _0x36074b=_0x13cdf5;this[_0x36074b(0x110)]=_0x36074b(0x115),this[_0x36074b(0x12b)]=void 0x0;try{this[_0x36074b(0x11c)]=this[_0x36074b(0x11d)]();const _0x4a2d10=await this[_0x36074b(0x11c)][_0x36074b(0x10a)]();this[_0x36074b(0x110)]=_0x36074b(0x107);for await(const _0x946b7 of _0x4a2d10)_0x36074b(0x133)!==_0x946b7[_0x36074b(0x107)][_0x36074b(0xfd)]&&(_0x36074b(0x13c)!==_0x946b7[_0x36074b(0x107)][_0x36074b(0xfd)]?this[_0x36074b(0x12d)](_0x946b7[_0x36074b(0x107)][_0x36074b(0xfc)],_0x946b7[_0x36074b(0x107)][_0x36074b(0x138)]):this[_0x36074b(0x110)]=_0x36074b(0xfe));_0x36074b(0xfe)!==this[_0x36074b(0x110)]&&(this[_0x36074b(0x110)]=_0x36074b(0x105));}catch(_0x5260e2){this[_0x36074b(0x12b)]=_0x5260e2,this[_0x36074b(0x110)]=_0x36074b(0x116);}finally{this[_0x36074b(0x11c)]=null;}}async[_0x13cdf5(0xf6)](){const _0x5b4761=_0x13cdf5;this[_0x5b4761(0x119)][_0x5b4761(0x11a)](),this[_0x5b4761(0x10f)][_0x5b4761(0x132)]=0x0,this[_0x5b4761(0x12b)]=void 0x0,await this[_0x5b4761(0x114)]();}[_0x13cdf5(0xff)](_0x1e7b28,_0x2b4c84){const _0x5dc3d3=_0x13cdf5,_0x37fd17=this[_0x5dc3d3(0x119)][_0x5dc3d3(0xf8)](_0x1e7b28);if(!_0x37fd17)return;const _0x26c579=[];_0x2b4c84[_0x5dc3d3(0x10d)]((_0x4f8829,_0x189ad7)=>{const _0x3c9129=_0x5dc3d3,_0xce7074=new _0x232168(_0x37fd17['id']+'-'+_0x189ad7,_0x4f8829,_0x37fd17);_0xce7074['on'](_0x3c9129(0xf5),()=>{const _0x439476=_0x3c9129;_0x439476(0x123)===_0xce7074[_0x439476(0x110)]?this[_0x439476(0x128)](_0x439476(0x120),{'change':_0xce7074}):_0x439476(0xfb)===_0xce7074[_0x439476(0x110)]&&this[_0x439476(0x128)](_0x439476(0x139),{'change':_0xce7074});}),this[_0x3c9129(0x10f)][_0x3c9129(0x10c)](_0xce7074),_0x26c579[_0x3c9129(0x10c)](_0xce7074);}),this[_0x5dc3d3(0x128)](_0x5dc3d3(0xfa),{'changes':_0x26c579,'result':_0x37fd17,'source':this});}[_0x13cdf5(0x112)](){const _0x4c24c1=_0x13cdf5;this[_0x4c24c1(0x11c)]&&(this[_0x4c24c1(0x11c)][_0x4c24c1(0x12a)][_0x4c24c1(0x112)](),this[_0x4c24c1(0x11c)]=null,this[_0x4c24c1(0x110)]=_0x4c24c1(0x131));}[_0x13cdf5(0x106)](_0x32d8cc){const _0x3d8191=_0x13cdf5,_0x1017cf=this[_0x3d8191(0x10f)][_0x3d8191(0x129)](_0xcf316=>_0xcf316['id']===_0x32d8cc);return!(!_0x1017cf||_0x3d8191(0x100)!==_0x1017cf[_0x3d8191(0x110)]);}[_0x13cdf5(0x108)](){const _0xe356a3=_0x13cdf5;return this[_0xe356a3(0x10f)][_0xe356a3(0x11b)](_0x4ba3e0=>_0xe356a3(0x100)===_0x4ba3e0[_0xe356a3(0x110)]);}[_0x13cdf5(0x12c)](){const _0x465da1=_0x13cdf5;for(const _0x5352da of this[_0x465da1(0x10f)])_0x465da1(0x100)===_0x5352da[_0x465da1(0x110)]&&(_0x5352da[_0x465da1(0x110)]=_0x465da1(0x123));this[_0x465da1(0x109)]();}[_0x13cdf5(0x113)](_0x3a1390){const _0x401c73=_0x13cdf5,_0x19c402=this[_0x401c73(0x10f)][_0x401c73(0x129)](_0x16cdfd=>_0x16cdfd['id']===_0x3a1390);_0x19c402&&_0x401c73(0x100)===_0x19c402[_0x401c73(0x110)]&&(_0x19c402[_0x401c73(0x110)]=_0x401c73(0x123)),this[_0x401c73(0x109)]();}[_0x13cdf5(0x11f)](_0x36d25c){const _0x6b4efc=_0x13cdf5,_0xd3b7b1=this[_0x6b4efc(0x10f)][_0x6b4efc(0x129)](_0x1fb8ca=>_0x1fb8ca['id']===_0x36d25c);_0xd3b7b1&&_0x6b4efc(0x100)===_0xd3b7b1[_0x6b4efc(0x110)]&&(_0xd3b7b1[_0x6b4efc(0x110)]=_0x6b4efc(0xfb)),this[_0x6b4efc(0x109)]();}[_0x13cdf5(0x12d)](_0x1bcc12,_0x296105){const _0x1fc897=_0x13cdf5,_0x1fab8c=this[_0x1fc897(0x134)][_0x1fc897(0x104)][_0x1fc897(0xf8)](_0x1bcc12);if(!_0x1fab8c)return;const _0x4a9ca7=_0x1fab8c[_0x1fc897(0x118)]();if(_0x4a9ca7===_0x296105)return;const _0x1637ac=new _0xc59c3({'id':_0x1bcc12,'contentInitial':_0x4a9ca7,'contentNew':_0x296105,'documentVersion':this[_0x1fc897(0x134)][_0x1fc897(0xf9)]});this[_0x1fc897(0x119)][_0x1fc897(0x13a)](_0x1637ac['id'],_0x1637ac),this[_0x1fc897(0x128)](_0x1fc897(0x125),{'result':_0x1637ac,'source':this});}[_0x13cdf5(0x109)](){const _0x3f54f9=_0x13cdf5;if(_0x3f54f9(0x105)!==this[_0x3f54f9(0x110)])return;0x0===this[_0x3f54f9(0x10f)][_0x3f54f9(0x11b)](_0xfa939d=>_0x3f54f9(0x100)===_0xfa939d[_0x3f54f9(0x110)])[_0x3f54f9(0x132)]&&(this[_0x3f54f9(0x110)]=_0x3f54f9(0x122));}[_0x13cdf5(0x11d)](){const _0x5e6be9=_0x13cdf5;throw new Error(_0x5e6be9(0x10e));}}
23
+ const _0x5cbd58=_0x45e1;function _0x45e1(_0x4cca3a,_0x1926f3){const _0x56b9b9=_0x56b9();return _0x45e1=function(_0x45e1f2,_0x3db79c){_0x45e1f2=_0x45e1f2-0x16f;let _0x128fd4=_0x56b9b9[_0x45e1f2];return _0x128fd4;},_0x45e1(_0x4cca3a,_0x1926f3);}(function(_0x56c07a,_0x3acf9b){const _0x25d741=_0x45e1,_0x4a8ce7=_0x56c07a();while(!![]){try{const _0x3676e3=-parseInt(_0x25d741(0x187))/0x1+parseInt(_0x25d741(0x174))/0x2+-parseInt(_0x25d741(0x194))/0x3*(-parseInt(_0x25d741(0x17d))/0x4)+-parseInt(_0x25d741(0x18e))/0x5+parseInt(_0x25d741(0x1b8))/0x6+parseInt(_0x25d741(0x1a5))/0x7*(parseInt(_0x25d741(0x1aa))/0x8)+-parseInt(_0x25d741(0x18a))/0x9;if(_0x3676e3===_0x3acf9b)break;else _0x4a8ce7['push'](_0x4a8ce7['shift']());}catch(_0xf9f95f){_0x4a8ce7['push'](_0x4a8ce7['shift']());}}}(_0x56b9,0xd4f15));import{ObservableMixin as _0x100639,uid as _0x182b04}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2d077a}from'./aireviewcheckresult.js';function _0x56b9(){const _0x2e66da=['includes','initialized','unmodified','version','_sourceCheck','markChangeAsAccepted','elements','getActiveChanges','abortController','ready','data','fire','_documentData','14gMQqAU','length','status','size','active','4272360GUTqeu','ai-request-aborted','_reviewArgs','_checkIfFinished','_changes','loading','Not\x20implemented.','filter','processedResultsCount','documentData','find','textDelta','get','reviewCheckResultAccepted','2005842mMAPpG','rejected','aborted','reviewCheckResultAdded','_results','reviewCheckResultRejected','abort','message','1582838VyQTXT','forEach','start','reviewCheckRunUpdated','isChangeActive','getContent','_activeRequest','restart','finished','4439608kyKgvX','getStream','operation','dataId','error-chunk','_aiConnector','push','markChangeAsRejected','_currentError','error-general','915813QjZmqD','error','forceReadyState','8594262NhyXgC','reviewCheckResultReady','clear','title','2803870HJoxTe','accepted','set','addResultChanges','_reviewParams','markAllChangesAsAccepted','3eUSQqS','_createApiRequest','_addReviewCheckResult','change:status'];_0x56b9=function(){return _0x2e66da;};return _0x56b9();}import{AIReviewCheckResultChange as _0x14d45e}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x100639(){['id']=_0x182b04();[_0x5cbd58(0x170)]=new Map();[_0x5cbd58(0x1ae)]=[];[_0x5cbd58(0x1a4)];[_0x5cbd58(0x19c)];[_0x5cbd58(0x182)];[_0x5cbd58(0x192)];[_0x5cbd58(0x1ac)];[_0x5cbd58(0x17a)]=null;[_0x5cbd58(0x185)];constructor(_0x29058f,_0x2bd012,_0x19fd5b,_0x54b03c,_0x4a7223){const _0xccf274=_0x5cbd58;super(),this[_0xccf274(0x1a4)]=_0x29058f,this[_0xccf274(0x19c)]=_0x2bd012,this[_0xccf274(0x182)]=_0x19fd5b,this[_0xccf274(0x192)]=_0x54b03c,this[_0xccf274(0x1ac)]=_0x4a7223,this['on'](_0xccf274(0x197),(_0x1de0b7,_0x5cd30d,_0x44dba6)=>{const _0x2c5407=_0xccf274;this[_0x2c5407(0x1a3)](_0x2c5407(0x177),{'status':_0x44dba6,'run':this,'error':this[_0x2c5407(0x185)]});}),this[_0xccf274(0x190)](_0xccf274(0x1a7),_0xccf274(0x199));}get[_0x5cbd58(0x1b3)](){const _0x224228=_0x5cbd58;return this[_0x224228(0x1a4)];}get[_0x5cbd58(0x1b2)](){const _0x35e33f=_0x5cbd58;return this[_0x35e33f(0x170)][_0x35e33f(0x1a8)];}get[_0x5cbd58(0x18d)](){const _0x57fe77=_0x5cbd58;return this[_0x57fe77(0x19c)][_0x57fe77(0x18d)];}async[_0x5cbd58(0x176)](){const _0x3a1c4d=_0x5cbd58;this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x1af),this[_0x3a1c4d(0x185)]=void 0x0;try{this[_0x3a1c4d(0x17a)]=this[_0x3a1c4d(0x195)]();const _0x2658a8=await this[_0x3a1c4d(0x17a)][_0x3a1c4d(0x17e)]();this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x1a2);for await(const _0x492182 of _0x2658a8)_0x3a1c4d(0x19a)!==_0x492182[_0x3a1c4d(0x1a2)][_0x3a1c4d(0x17f)]&&(_0x3a1c4d(0x188)!==_0x492182[_0x3a1c4d(0x1a2)][_0x3a1c4d(0x17f)]?this[_0x3a1c4d(0x196)](_0x492182[_0x3a1c4d(0x1a2)][_0x3a1c4d(0x180)],_0x492182[_0x3a1c4d(0x1a2)][_0x3a1c4d(0x1b5)]):this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x181));_0x3a1c4d(0x181)!==this[_0x3a1c4d(0x1a7)]&&(this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x1a1));}catch(_0xb2d584){this[_0x3a1c4d(0x185)]=_0xb2d584,_0xb2d584 instanceof Error&&_0xb2d584[_0x3a1c4d(0x173)][_0x3a1c4d(0x198)](_0x3a1c4d(0x1ab))?this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x1ba):this[_0x3a1c4d(0x1a7)]=_0x3a1c4d(0x186);}finally{this[_0x3a1c4d(0x17a)]=null;}}async[_0x5cbd58(0x17b)](){const _0xab5e41=_0x5cbd58;this[_0xab5e41(0x170)][_0xab5e41(0x18c)](),this[_0xab5e41(0x1ae)][_0xab5e41(0x1a6)]=0x0,this[_0xab5e41(0x185)]=void 0x0,await this[_0xab5e41(0x176)]();}[_0x5cbd58(0x191)](_0x5e54cd,_0x46beef){const _0x271801=_0x5cbd58,_0x1b8549=this[_0x271801(0x170)][_0x271801(0x1b6)](_0x5e54cd);if(!_0x1b8549)return;const _0xdd3a3d=[];_0x46beef[_0x271801(0x175)]((_0x5a9d44,_0xa2216f)=>{const _0x1c4643=_0x271801,_0x4ef6ce=new _0x14d45e(_0x1b8549['id']+'-'+_0xa2216f,_0x5a9d44,_0x1b8549);_0x4ef6ce['on'](_0x1c4643(0x197),()=>{const _0x3a355b=_0x1c4643;_0x3a355b(0x18f)===_0x4ef6ce[_0x3a355b(0x1a7)]?this[_0x3a355b(0x1a3)](_0x3a355b(0x1b7),{'change':_0x4ef6ce}):_0x3a355b(0x1b9)===_0x4ef6ce[_0x3a355b(0x1a7)]&&this[_0x3a355b(0x1a3)](_0x3a355b(0x171),{'change':_0x4ef6ce});}),this[_0x1c4643(0x1ae)][_0x1c4643(0x183)](_0x4ef6ce),_0xdd3a3d[_0x1c4643(0x183)](_0x4ef6ce);}),this[_0x271801(0x1a3)](_0x271801(0x18b),{'changes':_0xdd3a3d,'result':_0x1b8549,'source':this});}[_0x5cbd58(0x172)](){const _0x4ae2d9=_0x5cbd58;this[_0x4ae2d9(0x17a)]&&(this[_0x4ae2d9(0x17a)][_0x4ae2d9(0x1a0)][_0x4ae2d9(0x172)](),this[_0x4ae2d9(0x17a)]=null,this[_0x4ae2d9(0x1a7)]=_0x4ae2d9(0x1ba));}[_0x5cbd58(0x178)](_0x55af3d){const _0x225685=_0x5cbd58,_0x5a8a5c=this[_0x225685(0x1ae)][_0x225685(0x1b4)](_0x19b9ee=>_0x19b9ee['id']===_0x55af3d);return!(!_0x5a8a5c||_0x225685(0x1a9)!==_0x5a8a5c[_0x225685(0x1a7)]);}[_0x5cbd58(0x19f)](){const _0x400a92=_0x5cbd58;return this[_0x400a92(0x1ae)][_0x400a92(0x1b1)](_0x1ed7e2=>_0x400a92(0x1a9)===_0x1ed7e2[_0x400a92(0x1a7)]);}[_0x5cbd58(0x193)](){const _0x424973=_0x5cbd58;for(const _0x38af6b of this[_0x424973(0x1ae)])_0x424973(0x1a9)===_0x38af6b[_0x424973(0x1a7)]&&(_0x38af6b[_0x424973(0x1a7)]=_0x424973(0x18f));this[_0x424973(0x1ad)]();}[_0x5cbd58(0x19d)](_0x2caf37){const _0x580d63=_0x5cbd58,_0x5304c4=this[_0x580d63(0x1ae)][_0x580d63(0x1b4)](_0x25f6df=>_0x25f6df['id']===_0x2caf37);_0x5304c4&&_0x580d63(0x1a9)===_0x5304c4[_0x580d63(0x1a7)]&&(_0x5304c4[_0x580d63(0x1a7)]=_0x580d63(0x18f)),this[_0x580d63(0x1ad)]();}[_0x5cbd58(0x184)](_0x493ce6){const _0x1ee6da=_0x5cbd58,_0xe11d9b=this[_0x1ee6da(0x1ae)][_0x1ee6da(0x1b4)](_0x1c33e8=>_0x1c33e8['id']===_0x493ce6);_0xe11d9b&&_0x1ee6da(0x1a9)===_0xe11d9b[_0x1ee6da(0x1a7)]&&(_0xe11d9b[_0x1ee6da(0x1a7)]=_0x1ee6da(0x1b9)),this[_0x1ee6da(0x1ad)]();}[_0x5cbd58(0x189)](){const _0x54dd7a=_0x5cbd58;this[_0x54dd7a(0x1a7)]=_0x54dd7a(0x1a1);}[_0x5cbd58(0x196)](_0x7fc7cf,_0x3a815d){const _0x3d6b80=_0x5cbd58,_0xc1ce87=this[_0x3d6b80(0x1a4)][_0x3d6b80(0x19e)][_0x3d6b80(0x1b6)](_0x7fc7cf);if(!_0xc1ce87)return;const _0x21a90b=_0xc1ce87[_0x3d6b80(0x179)]();if(_0x21a90b===_0x3a815d)return;const _0x315078=new _0x2d077a({'id':_0x7fc7cf,'contentInitial':_0x21a90b,'contentNew':_0x3a815d,'documentVersion':this[_0x3d6b80(0x1a4)][_0x3d6b80(0x19b)]});this[_0x3d6b80(0x170)][_0x3d6b80(0x190)](_0x315078['id'],_0x315078),this[_0x3d6b80(0x1a3)](_0x3d6b80(0x16f),{'result':_0x315078,'source':this});}[_0x5cbd58(0x1ad)](){const _0x2c8484=_0x5cbd58;if(_0x2c8484(0x1a1)!==this[_0x2c8484(0x1a7)])return;0x0===this[_0x2c8484(0x1ae)][_0x2c8484(0x1b1)](_0x4ba64d=>_0x2c8484(0x1a9)===_0x4ba64d[_0x2c8484(0x1a7)])[_0x2c8484(0x1a6)]&&(this[_0x2c8484(0x1a7)]=_0x2c8484(0x17c));}[_0x5cbd58(0x195)](){const _0x4bd3ac=_0x5cbd58;throw new Error(_0x4bd3ac(0x1b0));}}
@@ -15,4 +15,8 @@ import { type AIReviewCheck } from './aireviewcheck.js';
15
15
  */
16
16
  export declare class AIReviewCustomCheckRun extends AIReviewCheckRun {
17
17
  constructor(prompt: string, model: string, documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector);
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ get title(): string;
18
22
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x140a3d=_0x1af2;(function(_0x16cd71,_0x12be11){var _0x575f41=_0x1af2,_0x744c5e=_0x16cd71();while(!![]){try{var _0x256a73=parseInt(_0x575f41(0x117))/0x1*(parseInt(_0x575f41(0x119))/0x2)+-parseInt(_0x575f41(0x11b))/0x3+-parseInt(_0x575f41(0x120))/0x4+parseInt(_0x575f41(0x124))/0x5+parseInt(_0x575f41(0x116))/0x6*(-parseInt(_0x575f41(0x118))/0x7)+parseInt(_0x575f41(0x11f))/0x8*(parseInt(_0x575f41(0x125))/0x9)+parseInt(_0x575f41(0x11a))/0xa*(parseInt(_0x575f41(0x126))/0xb);if(_0x256a73===_0x12be11)break;else _0x744c5e['push'](_0x744c5e['shift']());}catch(_0x2f136f){_0x744c5e['push'](_0x744c5e['shift']());}}}(_0x1ac0,0xcac7b));function _0x1af2(_0x1818c6,_0x3d4e9d){var _0x1ac0b6=_0x1ac0();return _0x1af2=function(_0x1af217,_0x4743b8){_0x1af217=_0x1af217-0x116;var _0x4758ba=_0x1ac0b6[_0x1af217];return _0x4758ba;},_0x1af2(_0x1818c6,_0x3d4e9d);}import{AIReviewCheckRun as _0x4de5c9}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x4de5c9{[_0x140a3d(0x122)];[_0x140a3d(0x11c)];constructor(_0x1c6c33,_0x45c868,_0xf3e02,_0x3e0cbb,_0x166e05){var _0xc747f9=_0x140a3d;super(_0xf3e02,_0x3e0cbb,_0x166e05),this[_0xc747f9(0x122)]=_0x1c6c33,this[_0xc747f9(0x11c)]=_0x45c868;}[_0x140a3d(0x11e)](){var _0x3675e8=_0x140a3d;return this[_0x3675e8(0x121)][_0x3675e8(0x123)]({'content':this[_0x3675e8(0x11d)][_0x3675e8(0x127)],'prompt':this[_0x3675e8(0x122)],'model':this[_0x3675e8(0x11c)]});}}function _0x1ac0(){var _0x2147b8=['6221560wXzEfN','_aiConnector','_prompt','callCustomReview','6631555WxNEZC','12392379RLLURM','11wBfwUJ','content','41862HqWdlB','526744uYOfby','1211bHxGzb','2etJEpk','4583710wwlalr','286077fzypMW','_model','_documentData','_createApiRequest','8axCbZZ'];_0x1ac0=function(){return _0x2147b8;};return _0x1ac0();}
23
+ var _0x27cb93=_0x29e0;(function(_0xe9f531,_0x5283c9){var _0x6ffa2=_0x29e0,_0x190c0=_0xe9f531();while(!![]){try{var _0x2f7764=-parseInt(_0x6ffa2(0xd2))/0x1*(-parseInt(_0x6ffa2(0xd1))/0x2)+-parseInt(_0x6ffa2(0xde))/0x3*(parseInt(_0x6ffa2(0xe1))/0x4)+parseInt(_0x6ffa2(0xd6))/0x5*(parseInt(_0x6ffa2(0xd8))/0x6)+-parseInt(_0x6ffa2(0xd9))/0x7*(parseInt(_0x6ffa2(0xe2))/0x8)+parseInt(_0x6ffa2(0xdf))/0x9*(parseInt(_0x6ffa2(0xdb))/0xa)+-parseInt(_0x6ffa2(0xd4))/0xb+parseInt(_0x6ffa2(0xe3))/0xc*(-parseInt(_0x6ffa2(0xd7))/0xd);if(_0x2f7764===_0x5283c9)break;else _0x190c0['push'](_0x190c0['shift']());}catch(_0x2baf59){_0x190c0['push'](_0x190c0['shift']());}}}(_0x2d50,0x41f36));function _0x29e0(_0x10f190,_0x2ab733){var _0x2d50df=_0x2d50();return _0x29e0=function(_0x29e09a,_0x7766c8){_0x29e09a=_0x29e09a-0xcf;var _0x52d191=_0x2d50df[_0x29e09a];return _0x52d191;},_0x29e0(_0x10f190,_0x2ab733);}import{AIReviewCheckRun as _0x1c4a76}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1c4a76{[_0x27cb93(0xd5)];[_0x27cb93(0xda)];constructor(_0x5f5722,_0x39b75f,_0x3f0316,_0x35df87,_0x2dda1a){var _0x2c450a=_0x27cb93;super(_0x3f0316,_0x35df87,_0x2dda1a),this[_0x2c450a(0xd5)]=_0x5f5722,this[_0x2c450a(0xda)]=_0x39b75f;}get[_0x27cb93(0xd3)](){var _0x2c7cd1=_0x27cb93;return this[_0x2c7cd1(0xd5)];}[_0x27cb93(0xe0)](){var _0xf2c862=_0x27cb93;return this[_0xf2c862(0xcf)][_0xf2c862(0xdc)]({'content':this[_0xf2c862(0xd0)][_0xf2c862(0xdd)],'prompt':this[_0xf2c862(0xd5)],'model':this[_0xf2c862(0xda)]});}}function _0x2d50(){var _0xe56c5=['_aiConnector','_documentData','4wpaROF','181721kLqUUM','title','4556530toFaWc','_prompt','5HrzrXs','13wyEoFW','1785066aqHdBh','377461UPBXPH','_model','10gJTPDJ','callCustomReview','content','277401Puvxqu','4113819LrXUjB','_createApiRequest','4YTmVuC','16oVGCvW','2800404wDMPTn'];_0x2d50=function(){return _0xe56c5;};return _0x2d50();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ba5ac=_0x4fd4;(function(_0x16163f,_0x5f38a5){const _0x515667=_0x4fd4,_0x3edcf6=_0x16163f();while(!![]){try{const _0x5348a9=-parseInt(_0x515667(0x15f))/0x1*(parseInt(_0x515667(0x155))/0x2)+-parseInt(_0x515667(0x161))/0x3+-parseInt(_0x515667(0x157))/0x4*(parseInt(_0x515667(0x15c))/0x5)+parseInt(_0x515667(0x15b))/0x6*(-parseInt(_0x515667(0x163))/0x7)+-parseInt(_0x515667(0x164))/0x8+-parseInt(_0x515667(0x15a))/0x9*(parseInt(_0x515667(0x165))/0xa)+parseInt(_0x515667(0x158))/0xb;if(_0x5348a9===_0x5f38a5)break;else _0x3edcf6['push'](_0x3edcf6['shift']());}catch(_0x3fa381){_0x3edcf6['push'](_0x3edcf6['shift']());}}}(_0x27e0,0xe37e0));function _0x27e0(){const _0x268808=['339689XnZhqH','3382920HPfOqC','10840VxLuNp','getAll','22cAwQWi','_modelList','4zQUzVm','61792819slxGhd','list','11664derSwZ','54dOyqIU','1397815RjscDC','length','getModels','63002usrkpA','_connector','4345992FvOKHw','items'];_0x27e0=function(){return _0x268808;};return _0x27e0();}import{EmitterMixin as _0x395198}from'ckeditor5/src/utils.js';function _0x4fd4(_0x3eda6a,_0x1f2f9d){const _0x27e08a=_0x27e0();return _0x4fd4=function(_0x4fd4e2,_0x13c3e7){_0x4fd4e2=_0x4fd4e2-0x155;let _0x78f60e=_0x27e08a[_0x4fd4e2];return _0x78f60e;},_0x4fd4(_0x3eda6a,_0x1f2f9d);}export class AIReviewModels extends _0x395198(){[_0x5ba5ac(0x156)]=[];[_0x5ba5ac(0x160)];constructor({connector:_0x45e528}){const _0x18428a=_0x5ba5ac;super(),this[_0x18428a(0x160)]=_0x45e528;}async[_0x5ba5ac(0x166)](){const _0x52eb10=_0x5ba5ac;if(!this[_0x52eb10(0x156)][_0x52eb10(0x15d)])try{const _0x3e1a8b=this[_0x52eb10(0x160)][_0x52eb10(0x15e)](),_0x2bae77=await _0x3e1a8b[_0x52eb10(0x159)]();this[_0x52eb10(0x156)]=_0x2bae77[_0x52eb10(0x162)];}catch{}return this[_0x52eb10(0x156)];}}
23
+ function _0x30cd(){const _0x300203=['length','items','_connector','60HWZbrk','1520evFKBX','402SBFDaj','getAll','list','1459931kZyhWR','getModels','658231gikwlE','5645zXHCEr','356MLYPMB','2097xeEWDq','_modelList','6105ZVqotn','2973LyGKrG','1444592AcZCzx','42fgzcDL'];_0x30cd=function(){return _0x300203;};return _0x30cd();}function _0x13fa(_0x29485b,_0x18e80d){const _0x30cd7f=_0x30cd();return _0x13fa=function(_0x13fa0b,_0x3645c9){_0x13fa0b=_0x13fa0b-0x14a;let _0x18d421=_0x30cd7f[_0x13fa0b];return _0x18d421;},_0x13fa(_0x29485b,_0x18e80d);}const _0x2bd263=_0x13fa;(function(_0x3392a8,_0x1f1066){const _0x44cd8a=_0x13fa,_0x45a28b=_0x3392a8();while(!![]){try{const _0x1b3162=-parseInt(_0x44cd8a(0x15c))/0x1*(parseInt(_0x44cd8a(0x14b))/0x2)+parseInt(_0x44cd8a(0x15b))/0x3*(-parseInt(_0x44cd8a(0x158))/0x4)+-parseInt(_0x44cd8a(0x157))/0x5*(parseInt(_0x44cd8a(0x151))/0x6)+-parseInt(_0x44cd8a(0x156))/0x7+-parseInt(_0x44cd8a(0x14a))/0x8+parseInt(_0x44cd8a(0x159))/0x9*(parseInt(_0x44cd8a(0x150))/0xa)+-parseInt(_0x44cd8a(0x154))/0xb*(-parseInt(_0x44cd8a(0x14f))/0xc);if(_0x1b3162===_0x1f1066)break;else _0x45a28b['push'](_0x45a28b['shift']());}catch(_0x3cfe38){_0x45a28b['push'](_0x45a28b['shift']());}}}(_0x30cd,0x19b07));import{EmitterMixin as _0x5312e8}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x5312e8(){[_0x2bd263(0x15a)]=[];[_0x2bd263(0x14e)];constructor({connector:_0x212278}){const _0x20b832=_0x2bd263;super(),this[_0x20b832(0x14e)]=_0x212278;}async[_0x2bd263(0x152)](){const _0x3fce62=_0x2bd263;if(!this[_0x3fce62(0x15a)][_0x3fce62(0x14c)])try{const _0x502871=this[_0x3fce62(0x14e)][_0x3fce62(0x155)](),_0x5c442c=await _0x502871[_0x3fce62(0x153)]();this[_0x3fce62(0x15a)]=_0x5c442c[_0x3fce62(0x14d)];}catch{}return this[_0x3fce62(0x15a)];}}
@@ -11,4 +11,8 @@ import { AIReviewCheckRun } from './aireviewcheckrun.js';
11
11
  * Represents a single system review check run and its results.
12
12
  */
13
13
  export declare class AIReviewSystemCheckRun extends AIReviewCheckRun {
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ get title(): string;
14
18
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e1937=_0x1b23;function _0x1ce4(){var _0x472eec=['callSystemReview','28432SCgPFO','_createApiRequest','content','3406081wwVdjL','_aiConnector','5817zXDOZQ','4073880SxQKPv','1265208EQuwYx','1804SuDyKa','_sourceCheck','_documentData','26QwfITY','164178JdnYrs','_reviewArgs','1340oOAvMh','3151140NGYYrm'];_0x1ce4=function(){return _0x472eec;};return _0x1ce4();}(function(_0x2b9b79,_0x1d660e){var _0x2ecdc2=_0x1b23,_0x15ddde=_0x2b9b79();while(!![]){try{var _0x1552f1=parseInt(_0x2ecdc2(0x1a1))/0x1*(parseInt(_0x2ecdc2(0x1a7))/0x2)+parseInt(_0x2ecdc2(0x19b))/0x3*(parseInt(_0x2ecdc2(0x19e))/0x4)+parseInt(_0x2ecdc2(0x1a5))/0x5+parseInt(_0x2ecdc2(0x19c))/0x6+parseInt(_0x2ecdc2(0x199))/0x7+-parseInt(_0x2ecdc2(0x19d))/0x8+parseInt(_0x2ecdc2(0x1a2))/0x9*(-parseInt(_0x2ecdc2(0x1a4))/0xa);if(_0x1552f1===_0x1d660e)break;else _0x15ddde['push'](_0x15ddde['shift']());}catch(_0x3fe054){_0x15ddde['push'](_0x15ddde['shift']());}}}(_0x1ce4,0x6ac45));function _0x1b23(_0x2338f7,_0x4b05ac){var _0x1ce40b=_0x1ce4();return _0x1b23=function(_0x1b235d,_0x160cbe){_0x1b235d=_0x1b235d-0x197;var _0x518655=_0x1ce40b[_0x1b235d];return _0x518655;},_0x1b23(_0x2338f7,_0x4b05ac);}import{AIReviewCheckRun as _0x2a5e8f}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x2a5e8f{[_0x1e1937(0x197)](){var _0x56239d=_0x1e1937;return this[_0x56239d(0x19a)][_0x56239d(0x1a6)]({'reviewName':this[_0x56239d(0x19f)]['id'],'content':this[_0x56239d(0x1a0)][_0x56239d(0x198)],'args':this[_0x56239d(0x1a3)]});}}
23
+ const _0x117b2d=_0x1d6f;(function(_0x404121,_0x3d7c3b){const _0x5260ba=_0x1d6f,_0x451852=_0x404121();while(!![]){try{const _0x119090=-parseInt(_0x5260ba(0x1b8))/0x1*(-parseInt(_0x5260ba(0x1a3))/0x2)+-parseInt(_0x5260ba(0x1aa))/0x3*(-parseInt(_0x5260ba(0x1ae))/0x4)+-parseInt(_0x5260ba(0x1a5))/0x5+-parseInt(_0x5260ba(0x1ac))/0x6+parseInt(_0x5260ba(0x1b9))/0x7*(-parseInt(_0x5260ba(0x1a2))/0x8)+-parseInt(_0x5260ba(0x1b7))/0x9+parseInt(_0x5260ba(0x19f))/0xa*(parseInt(_0x5260ba(0x1ad))/0xb);if(_0x119090===_0x3d7c3b)break;else _0x451852['push'](_0x451852['shift']());}catch(_0x1794a2){_0x451852['push'](_0x451852['shift']());}}}(_0x5cee,0x6b248));import{AIReviewCheckRun as _0x104ecb}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x104ecb{get[_0x117b2d(0x1ba)](){const _0x4c8256=_0x117b2d;if(!this[_0x4c8256(0x1a7)]||0x0===this[_0x4c8256(0x1a7)][_0x4c8256(0x1b3)]||this[_0x4c8256(0x1bb)][_0x4c8256(0x1af)])return this[_0x4c8256(0x1bb)][_0x4c8256(0x1ba)];const _0x5c4aab=[];if(this[_0x4c8256(0x1a7)][_0x4c8256(0x1b3)]>0x0&&this[_0x4c8256(0x1bb)][_0x4c8256(0x1b6)])for(let _0x537978=0x0;_0x537978<this[_0x4c8256(0x1a7)][_0x4c8256(0x1b3)];_0x537978++){if(!this[_0x4c8256(0x1a7)][_0x537978]||!this[_0x4c8256(0x1bb)][_0x4c8256(0x1b6)][_0x537978])continue;const _0x282c40=this[_0x4c8256(0x1bb)][_0x4c8256(0x1b6)][_0x537978],_0x4b475a=_0x282c40[_0x4c8256(0x1a9)]?.[_0x4c8256(0x1ab)](_0x4334fb=>_0x4334fb['id']===this[_0x4c8256(0x1a7)][_0x537978]);_0x4b475a&&_0x5c4aab[_0x4c8256(0x1a1)](_0x4b475a[_0x4c8256(0x1a4)]);}return this[_0x4c8256(0x1bb)][_0x4c8256(0x1ba)]+':\x20'+_0x5c4aab[_0x4c8256(0x1b1)](',\x20');}[_0x117b2d(0x1a6)](){const _0x23e3ab=_0x117b2d;return this[_0x23e3ab(0x1a0)][_0x23e3ab(0x1b2)]({'reviewName':this[_0x23e3ab(0x1a8)](),'content':this[_0x23e3ab(0x1b0)][_0x23e3ab(0x1b4)],'args':this[_0x23e3ab(0x1b5)]});}[_0x117b2d(0x1a8)](){const _0x1a431b=_0x117b2d;return!this[_0x1a431b(0x1a7)]||0x0===this[_0x1a431b(0x1a7)][_0x1a431b(0x1b3)]||this[_0x1a431b(0x1bb)][_0x1a431b(0x1af)]?this[_0x1a431b(0x1bb)]['id']:[this[_0x1a431b(0x1bb)]['id'],...this[_0x1a431b(0x1a7)]][_0x1a431b(0x1b1)]('-');}}function _0x1d6f(_0x354356,_0x34eceb){const _0x5ceecc=_0x5cee();return _0x1d6f=function(_0x1d6f69,_0x102dc9){_0x1d6f69=_0x1d6f69-0x19f;let _0x3b9e41=_0x5ceecc[_0x1d6f69];return _0x3b9e41;},_0x1d6f(_0x354356,_0x34eceb);}function _0x5cee(){const _0xa047b3=['_aiConnector','push','40pPiYZM','11290gzZavY','label','409590rAjqlE','_createApiRequest','_reviewParams','_composeReviewName','data','37389gzHBhc','find','4596810zdXpWF','66sjGZqu','76pyXPMZ','useArgs','_documentData','join','callSystemReview','length','content','_reviewArgs','options','5927805sGsFDT','78IHOSzD','344141yQnohq','title','_sourceCheck','2523770DhRQLF'];_0x5cee=function(){return _0xa047b3;};return _0x5cee();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x48b193=_0x3ec7;(function(_0x2b7e99,_0x596c64){var _0x2dfd27=_0x3ec7,_0x66f334=_0x2b7e99();while(!![]){try{var _0x254659=-parseInt(_0x2dfd27(0x201))/0x1*(parseInt(_0x2dfd27(0x202))/0x2)+-parseInt(_0x2dfd27(0x1ff))/0x3+-parseInt(_0x2dfd27(0x1fe))/0x4+parseInt(_0x2dfd27(0x1fd))/0x5*(parseInt(_0x2dfd27(0x1f2))/0x6)+parseInt(_0x2dfd27(0x1fc))/0x7+-parseInt(_0x2dfd27(0x1f4))/0x8*(parseInt(_0x2dfd27(0x206))/0x9)+-parseInt(_0x2dfd27(0x1fa))/0xa*(-parseInt(_0x2dfd27(0x209))/0xb);if(_0x254659===_0x596c64)break;else _0x66f334['push'](_0x66f334['shift']());}catch(_0x32ef72){_0x66f334['push'](_0x66f334['shift']());}}}(_0x35ee,0x8209b));function _0x35ee(){var _0x39b03f=['MIN_ROWS','3736eIvYaw','set','minRows','isEmpty','maxRows','ck-review-mode__prompt-input','50xeeeBK','element','5647383SdxWBa','185lEqWzh','758128MoqDZx','1874076uFTTst','MAX_ROWS','4tEnBeV','84246qvrrty','placeholder','trim','value','12546kBEXgc','update','setPlaceholderText','994334PagbIb','bindTemplate','ai-review-mode-prompt-input','extendTemplate','render','stopPropagation','147180ghngvl'];_0x35ee=function(){return _0x39b03f;};return _0x35ee();}import{TextareaView as _0x5878ca}from'ckeditor5/src/ui.js';function _0x3ec7(_0xd3d377,_0xf6143f){var _0x35ee85=_0x35ee();return _0x3ec7=function(_0x3ec741,_0x3a264b){_0x3ec741=_0x3ec741-0x1f2;var _0x5048a0=_0x35ee85[_0x3ec741];return _0x5048a0;},_0x3ec7(_0xd3d377,_0xf6143f);}export class AIReviewModePromptInputView extends _0x5878ca{static [_0x48b193(0x1f3)]=0x1;static [_0x48b193(0x200)]=0xc;constructor(_0x580584){var _0x5eb025=_0x48b193;super(_0x580584),this[_0x5eb025(0x1f5)](_0x5eb025(0x1f7),!0x0),this[_0x5eb025(0x1f6)]=AIReviewModePromptInputView[_0x5eb025(0x1f3)],this[_0x5eb025(0x1f8)]=AIReviewModePromptInputView[_0x5eb025(0x200)],this[_0x5eb025(0x20c)]({'attributes':{'id':_0x5eb025(0x20b),'class':['ck',_0x5eb025(0x1f9)]}}),this[_0x5eb025(0x20c)]({'on':{'click':this[_0x5eb025(0x20a)]['to'](_0xbdab3=>{var _0xfeef8f=_0x5eb025;_0xbdab3[_0xfeef8f(0x20e)]();})}});}[_0x48b193(0x20d)](){var _0x1553aa=_0x48b193;super[_0x1553aa(0x20d)](),this['on'](_0x1553aa(0x207),()=>{var _0x42e5cc=_0x1553aa;this[_0x42e5cc(0x1f7)]=''===this[_0x42e5cc(0x1fb)][_0x42e5cc(0x205)]?.[_0x42e5cc(0x204)]();});}[_0x48b193(0x208)](_0x4ee90d){var _0x23fbd7=_0x48b193;this[_0x23fbd7(0x1f5)](_0x23fbd7(0x203),_0x4ee90d);}}
23
+ var _0x4d6dba=_0x1e86;function _0x41ba(){var _0x3054de=['extendTemplate','maxRows','ck-review-mode__prompt-input','render','272795bMGxrO','bindTemplate','minRows','76978CNuSXn','1197873YvCDNo','element','value','250381FZnUzp','78XvDdcz','placeholder','3645005SZQTic','set','stopPropagation','setPlaceholderText','2670976TYzDSS','MAX_ROWS','MIN_ROWS','update','ai-review-mode-prompt-input','8EEcdzc','trim','573168ljGcLT','isEmpty'];_0x41ba=function(){return _0x3054de;};return _0x41ba();}function _0x1e86(_0x28df39,_0x1128eb){var _0x41ba13=_0x41ba();return _0x1e86=function(_0x1e86e1,_0x20c0eb){_0x1e86e1=_0x1e86e1-0x1ce;var _0x5500c2=_0x41ba13[_0x1e86e1];return _0x5500c2;},_0x1e86(_0x28df39,_0x1128eb);}(function(_0x464766,_0x1a194f){var _0x28b520=_0x1e86,_0xdd8adc=_0x464766();while(!![]){try{var _0x3a3609=parseInt(_0x28b520(0x1db))/0x1+-parseInt(_0x28b520(0x1d7))/0x2+-parseInt(_0x28b520(0x1ce))/0x3+parseInt(_0x28b520(0x1e2))/0x4+-parseInt(_0x28b520(0x1d4))/0x5*(parseInt(_0x28b520(0x1dc))/0x6)+parseInt(_0x28b520(0x1de))/0x7+-parseInt(_0x28b520(0x1e7))/0x8*(parseInt(_0x28b520(0x1d8))/0x9);if(_0x3a3609===_0x1a194f)break;else _0xdd8adc['push'](_0xdd8adc['shift']());}catch(_0x32ec75){_0xdd8adc['push'](_0xdd8adc['shift']());}}}(_0x41ba,0x59953));import{TextareaView as _0x295712}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x295712{static [_0x4d6dba(0x1e4)]=0x1;static [_0x4d6dba(0x1e3)]=0xc;constructor(_0x540389){var _0x259fe2=_0x4d6dba;super(_0x540389),this[_0x259fe2(0x1df)](_0x259fe2(0x1cf),!0x0),this[_0x259fe2(0x1d6)]=AIReviewModePromptInputView[_0x259fe2(0x1e4)],this[_0x259fe2(0x1d1)]=AIReviewModePromptInputView[_0x259fe2(0x1e3)],this[_0x259fe2(0x1d0)]({'attributes':{'id':_0x259fe2(0x1e6),'class':['ck',_0x259fe2(0x1d2)]}}),this[_0x259fe2(0x1d0)]({'on':{'click':this[_0x259fe2(0x1d5)]['to'](_0x47c083=>{var _0x1111ba=_0x259fe2;_0x47c083[_0x1111ba(0x1e0)]();})}});}[_0x4d6dba(0x1d3)](){var _0x436586=_0x4d6dba;super[_0x436586(0x1d3)](),this['on'](_0x436586(0x1e5),()=>{var _0x2b17ad=_0x436586;this[_0x2b17ad(0x1cf)]=''===this[_0x2b17ad(0x1d9)][_0x2b17ad(0x1da)]?.[_0x2b17ad(0x1e8)]();});}[_0x4d6dba(0x1e1)](_0x101ed9){var _0x35ef0f=_0x4d6dba;this[_0x35ef0f(0x1df)](_0x35ef0f(0x1dd),_0x101ed9);}}