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

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 (324) hide show
  1. package/LICENSE.md +0 -4
  2. package/build/ai.js +2 -1
  3. package/dist/index.js +5 -5
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/lang/contexts.json +1 -0
  151. package/package.json +15 -16
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.d.ts +2 -0
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatballoon.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/ui/aichatballoonview.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/aichatcontextresourceslistview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  213. package/src/aichat/utils/eventnames.js +1 -1
  214. package/src/aichat/utils/promisequeue.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 +2 -2
  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/aichatshortcuts/aichatshortcuts.js +1 -1
  225. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  226. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  227. package/src/aicore/aiconnector.js +1 -1
  228. package/src/aicore/aiediting.js +1 -1
  229. package/src/aicore/model/aicapabilities.js +1 -1
  230. package/src/aicore/model/aicontext.js +1 -1
  231. package/src/aicore/model/aiinteraction.js +1 -1
  232. package/src/aicore/model/aimodels.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  250. package/src/aicore/utils/common-translations.js +1 -1
  251. package/src/aicore/utils/createresizebutton.js +1 -1
  252. package/src/aicore/utils/documentposition.js +1 -1
  253. package/src/aicore/utils/documentrange.js +1 -1
  254. package/src/aicore/utils/eventnames.js +1 -1
  255. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  256. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  257. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  258. package/src/aicore/utils/htmlparser.js +1 -1
  259. package/src/aicore/utils/htmlstreamer.js +1 -1
  260. package/src/aicore/utils/scrollmanager.js +1 -1
  261. package/src/aieditorintegration/aieditorintegration.js +1 -1
  262. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  263. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  264. package/src/aiquickactions/aiquickactions.js +1 -1
  265. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  266. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  267. package/src/aiquickactions/aiquickactionsui.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  270. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  272. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  273. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  274. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  275. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  276. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  277. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  278. package/src/aireviewcore/aireviewcoreui.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  280. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  281. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  282. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  283. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  293. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  294. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  295. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  296. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  297. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  298. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  299. package/src/aireviewmode/aireviewmode.js +1 -1
  300. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  301. package/src/aireviewmode/aireviewmodeui.js +1 -1
  302. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  303. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  304. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  305. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  306. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/aitranslate/aitranslate.js +1 -1
  313. package/src/aitranslate/aitranslatecontroller.js +1 -1
  314. package/src/aitranslate/aitranslateui.js +1 -1
  315. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  316. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  317. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  318. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  319. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  320. package/src/errors.js +1 -1
  321. package/src/errorsmap.js +1 -1
  322. package/src/index.js +1 -1
  323. package/build/966.ai.js +0 -5
  324. package/build/translations/en.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x58bbc0,_0xb56410){const _0x201b1b=_0x13a8,_0x348a98=_0x58bbc0();while(!![]){try{const _0xe81438=-parseInt(_0x201b1b(0xb9))/0x1*(-parseInt(_0x201b1b(0xac))/0x2)+parseInt(_0x201b1b(0xb0))/0x3+parseInt(_0x201b1b(0xae))/0x4*(-parseInt(_0x201b1b(0xce))/0x5)+parseInt(_0x201b1b(0xb1))/0x6*(parseInt(_0x201b1b(0xc8))/0x7)+-parseInt(_0x201b1b(0xb3))/0x8*(parseInt(_0x201b1b(0xb5))/0x9)+-parseInt(_0x201b1b(0xb6))/0xa*(parseInt(_0x201b1b(0xbd))/0xb)+parseInt(_0x201b1b(0xbb))/0xc;if(_0xe81438===_0xb56410)break;else _0x348a98['push'](_0x348a98['shift']());}catch(_0xf780fe){_0x348a98['push'](_0x348a98['shift']());}}}(_0xf8dc,0x97b06));import{createDropdown as _0x38a22f}from'ckeditor5/src/ui.js';function _0xf8dc(){const _0x49a390=['770208WZmNNp','icon','8kvXkpj','getRanges','2150505rpRfTT','24210UhtvYL','ck-ai-quick-actions-dropdown','ai-quick-actions-dropdown-selection','16921bBatGP','change:isOpen','15887100CsCOkr','selection','4807PPmzPz','get','buttonView','label','document','model','resetSearch','plugins','add','panelView','children','56KsQkSL','locale','AIEditing','hideFakeVisualSelection','length','has','367035DdgDsJ','from','8bcOTeO','set','52JApAmA','showFakeVisualSelection','1361934pOUGML'];_0xf8dc=function(){return _0x49a390;};return _0xf8dc();}import{IconAIQuickActions as _0x5dd00b}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x536cf6}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x2ffaf2}from'../../aicore/aiediting.js';function _0x13a8(_0x9c76f3,_0x4fe23a){const _0xf8dce6=_0xf8dc();return _0x13a8=function(_0x13a82b,_0x316c26){_0x13a82b=_0x13a82b-0xab;let _0x1db51f=_0xf8dce6[_0x13a82b];return _0x1db51f;},_0x13a8(_0x9c76f3,_0x4fe23a);}export function aiQuickActionsDropdownCreator(_0xf9653d){const {editor:_0x164cdc,content:_0x277b2b,buttonDefinition:_0x541e5e,bodyCollection:_0x2542f7,hasSearch:_0x27128a=!0x1}=_0xf9653d;return()=>{const _0x4ede0e=_0x13a8,_0x1f2ced=_0x164cdc[_0x4ede0e(0xc9)],_0x1489d4=_0x38a22f(_0x1f2ced);_0x1489d4[_0x4ede0e(0xbf)][_0x4ede0e(0xad)]({'icon':_0x541e5e[_0x4ede0e(0xb2)]??_0x5dd00b,'label':_0x541e5e[_0x4ede0e(0xc0)],'tooltip':!0x0}),_0x1489d4[_0x4ede0e(0xad)]({'class':_0x4ede0e(0xb7)});const _0x242f4c=new _0x536cf6(_0x164cdc,_0x277b2b,_0x1489d4,_0x2542f7,_0x27128a);if(_0x1489d4[_0x4ede0e(0xc6)][_0x4ede0e(0xc7)][_0x4ede0e(0xc5)](_0x242f4c),_0x27128a){const _0x47d724=_0x4ede0e(0xb8);_0x1489d4['on'](_0x4ede0e(0xba),(_0x22e09c,_0x2f10e8,_0x333980)=>{const _0xd78869=_0x4ede0e;if(_0x333980){if(_0x164cdc[_0xd78869(0xc4)][_0xd78869(0xcd)](_0xd78869(0xca))){const _0xa0ab6e=_0x164cdc[_0xd78869(0xc4)][_0xd78869(0xbe)](_0x2ffaf2),_0x4adfe3=_0x164cdc[_0xd78869(0xc2)][_0xd78869(0xc1)][_0xd78869(0xbc)],_0x2b9c71=Array[_0xd78869(0xab)](_0x4adfe3[_0xd78869(0xb4)]());_0x2b9c71[_0xd78869(0xcc)]>0x0&&_0xa0ab6e[_0xd78869(0xaf)](_0x2b9c71,_0x47d724,!0x1,!0x0);}}else _0x164cdc[_0xd78869(0xc4)][_0xd78869(0xcd)](_0xd78869(0xca))&&_0x164cdc[_0xd78869(0xc4)][_0xd78869(0xbe)](_0x2ffaf2)[_0xd78869(0xcb)](_0x47d724),_0x242f4c[_0xd78869(0xc3)]();});}return _0x1489d4;};}
23
+ function _0x358f(){const _0x51221f=['2JinaRX','change:isOpen','selection','from','has','hideFakeVisualSelection','set','5HfWbnR','309984gJBSMC','297ihiuAR','getRanges','children','5082144tvsTKa','2966391AVHyCF','icon','locale','AIEditing','panelView','buttonView','length','1040740rmaOhx','ck-ai-quick-actions-dropdown','6411181zsrhZU','add','document','resetSearch','model','4290964pcsDhW','showFakeVisualSelection','get','label','795634glwBEy','plugins','ai-quick-actions-dropdown-selection'];_0x358f=function(){return _0x51221f;};return _0x358f();}(function(_0x562903,_0x4beb45){const _0x4edb1f=_0x58a2,_0x19663f=_0x562903();while(!![]){try{const _0x46262e=-parseInt(_0x4edb1f(0x20d))/0x1+-parseInt(_0x4edb1f(0x210))/0x2*(-parseInt(_0x4edb1f(0x1fb))/0x3)+parseInt(_0x4edb1f(0x209))/0x4*(-parseInt(_0x4edb1f(0x1f5))/0x5)+-parseInt(_0x4edb1f(0x1fa))/0x6+-parseInt(_0x4edb1f(0x204))/0x7+-parseInt(_0x4edb1f(0x1f6))/0x8+-parseInt(_0x4edb1f(0x1f7))/0x9*(-parseInt(_0x4edb1f(0x202))/0xa);if(_0x46262e===_0x4beb45)break;else _0x19663f['push'](_0x19663f['shift']());}catch(_0xf96aa7){_0x19663f['push'](_0x19663f['shift']());}}}(_0x358f,0xb7e39));function _0x58a2(_0x4b0cdd,_0x349def){const _0x358fbf=_0x358f();return _0x58a2=function(_0x58a26b,_0x3ef5b5){_0x58a26b=_0x58a26b-0x1f3;let _0x560f16=_0x358fbf[_0x58a26b];return _0x560f16;},_0x58a2(_0x4b0cdd,_0x349def);}import{createDropdown as _0x38631b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2323e3}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x3ce19f}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x4dcc91}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x22eab3){const {editor:_0xaed40c,content:_0x3dc0da,buttonDefinition:_0x1a0dfa,bodyCollection:_0x4c6426,hasSearch:_0x4bf3e9=!0x1}=_0x22eab3;return()=>{const _0x36ad98=_0x58a2,_0x32f1d5=_0xaed40c[_0x36ad98(0x1fd)],_0x35b385=_0x38631b(_0x32f1d5);_0x35b385[_0x36ad98(0x200)][_0x36ad98(0x1f4)]({'icon':_0x1a0dfa[_0x36ad98(0x1fc)]??_0x2323e3,'label':_0x1a0dfa[_0x36ad98(0x20c)],'tooltip':!0x0}),_0x35b385[_0x36ad98(0x1f4)]({'class':_0x36ad98(0x203)});const _0x2bc358=new _0x3ce19f(_0xaed40c,_0x3dc0da,_0x35b385,_0x4c6426,_0x4bf3e9);if(_0x35b385[_0x36ad98(0x1ff)][_0x36ad98(0x1f9)][_0x36ad98(0x205)](_0x2bc358),_0x4bf3e9){const _0x3b4b00=_0x36ad98(0x20f);_0x35b385['on'](_0x36ad98(0x211),(_0x337c46,_0x12a7e6,_0x36108e)=>{const _0x149436=_0x36ad98;if(_0x36108e){if(_0xaed40c[_0x149436(0x20e)][_0x149436(0x214)](_0x149436(0x1fe))){const _0x7d76c9=_0xaed40c[_0x149436(0x20e)][_0x149436(0x20b)](_0x4dcc91),_0x444c62=_0xaed40c[_0x149436(0x208)][_0x149436(0x206)][_0x149436(0x212)],_0x4f41bd=Array[_0x149436(0x213)](_0x444c62[_0x149436(0x1f8)]());_0x4f41bd[_0x149436(0x201)]>0x0&&_0x7d76c9[_0x149436(0x20a)](_0x4f41bd,_0x3b4b00,!0x1,!0x0);}}else _0xaed40c[_0x149436(0x20e)][_0x149436(0x214)](_0x149436(0x1fe))&&_0xaed40c[_0x149436(0x20e)][_0x149436(0x20b)](_0x4dcc91)[_0x149436(0x1f3)](_0x3b4b00),_0x2bc358[_0x149436(0x207)]();});}return _0x35b385;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e0005=_0x7709;function _0x2e1e(){const _0x115fc0=['sort','length','_clearHighlight','source','items','623440PqGzZp','label','930AeFkOX','clear','_allSearchableItems','toLowerCase','filter','2184680LeFSwM','39357lGPwsU','item','trim','addMany','function','_highlightQuery','forEach','highlightText','931062pztvaz','21WQywVu','groupLabel','map','highlightViews','_allListItems','12YBaMJg','includes','1050460ewcXGk','260718gmmDPz','255003JLPlPX'];_0x2e1e=function(){return _0x115fc0;};return _0x2e1e();}(function(_0x4cd17c,_0x91dd59){const _0x3d1f24=_0x7709,_0x4858f6=_0x4cd17c();while(!![]){try{const _0x5179a4=-parseInt(_0x3d1f24(0x1af))/0x1+parseInt(_0x3d1f24(0x1ae))/0x2+-parseInt(_0x3d1f24(0x1b0))/0x3*(-parseInt(_0x3d1f24(0x1ac))/0x4)+parseInt(_0x3d1f24(0x1b6))/0x5+-parseInt(_0x3d1f24(0x1a6))/0x6*(parseInt(_0x3d1f24(0x1a7))/0x7)+-parseInt(_0x3d1f24(0x1bd))/0x8+parseInt(_0x3d1f24(0x1be))/0x9*(parseInt(_0x3d1f24(0x1b8))/0xa);if(_0x5179a4===_0x91dd59)break;else _0x4858f6['push'](_0x4858f6['shift']());}catch(_0x17148d){_0x4858f6['push'](_0x4858f6['shift']());}}}(_0x2e1e,0x4c3d4));function _0x7709(_0x36166f,_0x59afc8){const _0x2e1e35=_0x2e1e();return _0x7709=function(_0x770970,_0x2a7275){_0x770970=_0x770970-0x1a1;let _0x2b1c51=_0x2e1e35[_0x770970];return _0x2b1c51;},_0x7709(_0x36166f,_0x59afc8);}import{ListView as _0x172113}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x19c72b}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x172113{[_0x5e0005(0x1ab)];[_0x5e0005(0x1ba)];constructor(_0x1ad236,_0x257aac,_0x36c69e){const _0x38d918=_0x5e0005;super(_0x1ad236),this[_0x38d918(0x1ab)]=_0x257aac,this[_0x38d918(0x1ba)]=_0x36c69e;}[_0x5e0005(0x1bc)](_0x24555d){const _0x43e45a=_0x5e0005;if(!_0x24555d)return this[_0x43e45a(0x1b5)][_0x43e45a(0x1b9)](),this[_0x43e45a(0x1b5)][_0x43e45a(0x1a1)](this[_0x43e45a(0x1ab)]),this[_0x43e45a(0x1b3)](),{'resultsCount':this[_0x43e45a(0x1ab)][_0x43e45a(0x1b2)],'totalItemsCount':this[_0x43e45a(0x1ab)][_0x43e45a(0x1b2)]};const _0x2c2396=_0x24555d[_0x43e45a(0x1b4)][_0x43e45a(0x1bb)]()[_0x43e45a(0x1c0)](),_0xb83a5e=this[_0x43e45a(0x1ba)][_0x43e45a(0x1bc)](_0x296324=>(_0x296324[_0x43e45a(0x1a8)]?_0x296324[_0x43e45a(0x1b7)]+'\x20('+_0x296324[_0x43e45a(0x1a8)]+')':_0x296324[_0x43e45a(0x1b7)])[_0x43e45a(0x1bb)]()[_0x43e45a(0x1ad)](_0x2c2396));return this[_0x43e45a(0x1b5)][_0x43e45a(0x1b9)](),this[_0x43e45a(0x1b5)][_0x43e45a(0x1a1)](_0xb83a5e[_0x43e45a(0x1b1)]((_0x4aea06,_0x4092f9)=>{const _0x2de335=_0x43e45a,_0x4d1979=_0x4aea06[_0x2de335(0x1a8)],_0x149cc9=_0x4092f9[_0x2de335(0x1a8)];return _0x4d1979||_0x149cc9?_0x4d1979?0x1:-0x1:0x0;})[_0x43e45a(0x1a9)](_0x4e78ca=>_0x4e78ca[_0x43e45a(0x1bf)])),this[_0x43e45a(0x1a3)](_0x2c2396,_0xb83a5e),{'resultsCount':_0xb83a5e[_0x43e45a(0x1b2)],'totalItemsCount':this[_0x43e45a(0x1ba)][_0x43e45a(0x1b2)]};}[_0x5e0005(0x1a3)](_0x36806a,_0x19ee77){const _0x31cb4e=_0x5e0005;if(!_0x36806a)return;const _0x2cb80c=new RegExp(_0x19c72b(_0x36806a),'gi');_0x19ee77[_0x31cb4e(0x1a4)](_0x3a77ba=>{const _0x1b3825=_0x31cb4e;_0x3a77ba[_0x1b3825(0x1aa)]&&_0x3a77ba[_0x1b3825(0x1aa)][_0x1b3825(0x1a4)](_0x971e80=>{const _0x2179ab=_0x1b3825;_0x2179ab(0x1a2)==typeof _0x971e80[_0x2179ab(0x1a5)]&&_0x971e80[_0x2179ab(0x1a5)](_0x2cb80c);});});}[_0x5e0005(0x1b3)](){const _0x2e0299=_0x5e0005;this[_0x2e0299(0x1ba)][_0x2e0299(0x1a4)](_0x59ead1=>{const _0x5ce1c1=_0x2e0299;_0x59ead1[_0x5ce1c1(0x1aa)]&&_0x59ead1[_0x5ce1c1(0x1aa)][_0x5ce1c1(0x1a4)](_0x197123=>{const _0x57b7a9=_0x5ce1c1;_0x57b7a9(0x1a2)==typeof _0x197123[_0x57b7a9(0x1a5)]&&_0x197123[_0x57b7a9(0x1a5)](null);});});}}
23
+ function _0x124a(){const _0x3b2246=['2473849ySIDeN','label','toLowerCase','sort','trim','6LRfuaA','_allListItems','filter','269208tnhmrr','item','addMany','_highlightQuery','_clearHighlight','map','source','forEach','groupLabel','includes','_allSearchableItems','172XeDZji','2ifUQLZ','2933607gLYvTg','1795080AoyfWT','clear','items','highlightViews','104CKvCxO','26532528eyWOor','899318Szmhxu','length','function','highlightText','104290oLGXqg'];_0x124a=function(){return _0x3b2246;};return _0x124a();}const _0x259cdf=_0x5cb2;(function(_0x320a95,_0x41541f){const _0x4a24b5=_0x5cb2,_0x31dd35=_0x320a95();while(!![]){try{const _0x4bed30=-parseInt(_0x4a24b5(0x1c9))/0x1*(parseInt(_0x4a24b5(0x1c1))/0x2)+-parseInt(_0x4a24b5(0x1c2))/0x3+-parseInt(_0x4a24b5(0x1c0))/0x4*(parseInt(_0x4a24b5(0x1cd))/0x5)+parseInt(_0x4a24b5(0x1d3))/0x6*(parseInt(_0x4a24b5(0x1ce))/0x7)+-parseInt(_0x4a24b5(0x1c7))/0x8*(-parseInt(_0x4a24b5(0x1b5))/0x9)+parseInt(_0x4a24b5(0x1c3))/0xa+parseInt(_0x4a24b5(0x1c8))/0xb;if(_0x4bed30===_0x41541f)break;else _0x31dd35['push'](_0x31dd35['shift']());}catch(_0x20c273){_0x31dd35['push'](_0x31dd35['shift']());}}}(_0x124a,0x88a7a));import{ListView as _0x204d74}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x4e0ff1}from'es-toolkit/compat';function _0x5cb2(_0x3b6199,_0xfd1770){const _0x124ad8=_0x124a();return _0x5cb2=function(_0x5cb2cb,_0x57b8d2){_0x5cb2cb=_0x5cb2cb-0x1b3;let _0x467b5c=_0x124ad8[_0x5cb2cb];return _0x467b5c;},_0x5cb2(_0x3b6199,_0xfd1770);}export class AIQuickActionsFilteredListView extends _0x204d74{[_0x259cdf(0x1b3)];[_0x259cdf(0x1bf)];constructor(_0x4ee047,_0x469f38,_0x4125d4){const _0x4d606e=_0x259cdf;super(_0x4ee047),this[_0x4d606e(0x1b3)]=_0x469f38,this[_0x4d606e(0x1bf)]=_0x4125d4;}[_0x259cdf(0x1b4)](_0x4b1234){const _0x160eb9=_0x259cdf;if(!_0x4b1234)return this[_0x160eb9(0x1c5)][_0x160eb9(0x1c4)](),this[_0x160eb9(0x1c5)][_0x160eb9(0x1b7)](this[_0x160eb9(0x1b3)]),this[_0x160eb9(0x1b9)](),{'resultsCount':this[_0x160eb9(0x1b3)][_0x160eb9(0x1ca)],'totalItemsCount':this[_0x160eb9(0x1b3)][_0x160eb9(0x1ca)]};const _0xe412c=_0x4b1234[_0x160eb9(0x1bb)][_0x160eb9(0x1d0)]()[_0x160eb9(0x1d2)](),_0x5db5c8=this[_0x160eb9(0x1bf)][_0x160eb9(0x1b4)](_0x2c2676=>(_0x2c2676[_0x160eb9(0x1bd)]?_0x2c2676[_0x160eb9(0x1cf)]+'\x20('+_0x2c2676[_0x160eb9(0x1bd)]+')':_0x2c2676[_0x160eb9(0x1cf)])[_0x160eb9(0x1d0)]()[_0x160eb9(0x1be)](_0xe412c));return this[_0x160eb9(0x1c5)][_0x160eb9(0x1c4)](),this[_0x160eb9(0x1c5)][_0x160eb9(0x1b7)](_0x5db5c8[_0x160eb9(0x1d1)]((_0x29b57e,_0x1470c5)=>{const _0x470dff=_0x160eb9,_0x463d04=_0x29b57e[_0x470dff(0x1bd)],_0x492514=_0x1470c5[_0x470dff(0x1bd)];return _0x463d04||_0x492514?_0x463d04?0x1:-0x1:0x0;})[_0x160eb9(0x1ba)](_0x4041cd=>_0x4041cd[_0x160eb9(0x1b6)])),this[_0x160eb9(0x1b8)](_0xe412c,_0x5db5c8),{'resultsCount':_0x5db5c8[_0x160eb9(0x1ca)],'totalItemsCount':this[_0x160eb9(0x1bf)][_0x160eb9(0x1ca)]};}[_0x259cdf(0x1b8)](_0x45458e,_0x4ec72c){const _0x318a6e=_0x259cdf;if(!_0x45458e)return;const _0x4a72ac=new RegExp(_0x4e0ff1(_0x45458e),'gi');_0x4ec72c[_0x318a6e(0x1bc)](_0x161019=>{const _0x45bab5=_0x318a6e;_0x161019[_0x45bab5(0x1c6)]&&_0x161019[_0x45bab5(0x1c6)][_0x45bab5(0x1bc)](_0x5de639=>{const _0x47cdb4=_0x45bab5;_0x47cdb4(0x1cb)==typeof _0x5de639[_0x47cdb4(0x1cc)]&&_0x5de639[_0x47cdb4(0x1cc)](_0x4a72ac);});});}[_0x259cdf(0x1b9)](){const _0x58c66f=_0x259cdf;this[_0x58c66f(0x1bf)][_0x58c66f(0x1bc)](_0xe9283b=>{const _0x2a08f0=_0x58c66f;_0xe9283b[_0x2a08f0(0x1c6)]&&_0xe9283b[_0x2a08f0(0x1c6)][_0x2a08f0(0x1bc)](_0x2ce467=>{const _0x20f0b7=_0x2a08f0;_0x20f0b7(0x1cb)==typeof _0x2ce467[_0x20f0b7(0x1cc)]&&_0x2ce467[_0x20f0b7(0x1cc)](null);});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x314e(_0x426567,_0x39d113){var _0xf75bd7=_0xf75b();return _0x314e=function(_0x314e91,_0x4ab662){_0x314e91=_0x314e91-0x1bb;var _0x49b13e=_0xf75bd7[_0x314e91];return _0x49b13e;},_0x314e(_0x426567,_0x39d113);}(function(_0x43e83d,_0x37993c){var _0x341219=_0x314e,_0x11fcf8=_0x43e83d();while(!![]){try{var _0x2a21fb=parseInt(_0x341219(0x1bd))/0x1+-parseInt(_0x341219(0x1c5))/0x2+-parseInt(_0x341219(0x1bf))/0x3*(-parseInt(_0x341219(0x1c9))/0x4)+parseInt(_0x341219(0x1c2))/0x5*(parseInt(_0x341219(0x1bb))/0x6)+parseInt(_0x341219(0x1cb))/0x7*(-parseInt(_0x341219(0x1bc))/0x8)+parseInt(_0x341219(0x1c1))/0x9*(-parseInt(_0x341219(0x1be))/0xa)+parseInt(_0x341219(0x1c8))/0xb*(parseInt(_0x341219(0x1c3))/0xc);if(_0x2a21fb===_0x37993c)break;else _0x11fcf8['push'](_0x11fcf8['shift']());}catch(_0x337c52){_0x11fcf8['push'](_0x11fcf8['shift']());}}}(_0xf75b,0xe6a95));import{View as _0x4e8c67}from'ckeditor5/src/ui.js';function _0xf75b(){var _0x18aa51=['12lDSzjq','AI_DISCLAIMER_TEXT','12873ljdGID','426102uMdTWu','5648hTKgZC','684058FMUECh','14541560lQdGgZ','646788mcwDgt','setTemplate','9pmFfgc','65DvNOJw','12slObNm','ck-ai-balloon__disclaimer-content','3723722KuMXmB','div','ck-ai-balloon__disclaimer','36355803WLJDOC'];_0xf75b=function(){return _0x18aa51;};return _0xf75b();}import{getTranslation as _0x2acedb}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x4e8c67{constructor(_0x271310){var _0x28bcc6=_0x314e;super(_0x271310),this[_0x28bcc6(0x1c0)]({'tag':_0x28bcc6(0x1c6),'attributes':{'class':['ck',_0x28bcc6(0x1c7)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x28bcc6(0x1c4)]},'children':[{'text':_0x2acedb(_0x271310,_0x28bcc6(0x1ca))}]}]});}}
23
+ function _0x3475(_0x4110b9,_0xe83e7a){var _0x4ebbc3=_0x4ebb();return _0x3475=function(_0x347562,_0x405bfb){_0x347562=_0x347562-0x8c;var _0x3c22ae=_0x4ebbc3[_0x347562];return _0x3c22ae;},_0x3475(_0x4110b9,_0xe83e7a);}function _0x4ebb(){var _0x554709=['41880AhbtZC','873IfYyta','setTemplate','417aaxgYu','102RCEGej','5814360OrVfxI','356rbSLEC','AI_DISCLAIMER_TEXT','ck-ai-balloon__disclaimer-content','ck-ai-balloon__disclaimer','1565anrBNr','div','1706784TkhSsa','33ZsIWYx','150017SGFTby','412gtFIpa','4651895bQmAHy'];_0x4ebb=function(){return _0x554709;};return _0x4ebb();}(function(_0x401ec3,_0x5651f2){var _0x286a5f=_0x3475,_0x1cd1cd=_0x401ec3();while(!![]){try{var _0x20eb85=parseInt(_0x286a5f(0x8d))/0x1*(parseInt(_0x286a5f(0x92))/0x2)+parseInt(_0x286a5f(0x97))/0x3*(parseInt(_0x286a5f(0x9a))/0x4)+parseInt(_0x286a5f(0x93))/0x5+-parseInt(_0x286a5f(0x98))/0x6*(parseInt(_0x286a5f(0x91))/0x7)+parseInt(_0x286a5f(0x94))/0x8*(-parseInt(_0x286a5f(0x95))/0x9)+parseInt(_0x286a5f(0x99))/0xa+parseInt(_0x286a5f(0x90))/0xb*(-parseInt(_0x286a5f(0x8f))/0xc);if(_0x20eb85===_0x5651f2)break;else _0x1cd1cd['push'](_0x1cd1cd['shift']());}catch(_0x22b1a6){_0x1cd1cd['push'](_0x1cd1cd['shift']());}}}(_0x4ebb,0x85bae));import{View as _0x32d072}from'ckeditor5/src/ui.js';import{getTranslation as _0x1b9f7b}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x32d072{constructor(_0xeadd34){var _0x37d65a=_0x3475;super(_0xeadd34),this[_0x37d65a(0x96)]({'tag':_0x37d65a(0x8e),'attributes':{'class':['ck',_0x37d65a(0x8c)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x37d65a(0x9c)]},'children':[{'text':_0x1b9f7b(_0xeadd34,_0x37d65a(0x9b))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd043e9=_0x19e1;(function(_0xf53a68,_0x4b43de){const _0x2503a8=_0x19e1,_0x25c1ea=_0xf53a68();while(!![]){try{const _0x520fe4=parseInt(_0x2503a8(0x1de))/0x1+parseInt(_0x2503a8(0x1e9))/0x2*(parseInt(_0x2503a8(0x1da))/0x3)+parseInt(_0x2503a8(0x1f2))/0x4+-parseInt(_0x2503a8(0x1e3))/0x5*(-parseInt(_0x2503a8(0x1db))/0x6)+parseInt(_0x2503a8(0x1e6))/0x7+parseInt(_0x2503a8(0x1f1))/0x8+parseInt(_0x2503a8(0x1e7))/0x9*(-parseInt(_0x2503a8(0x1e1))/0xa);if(_0x520fe4===_0x4b43de)break;else _0x25c1ea['push'](_0x25c1ea['shift']());}catch(_0x3707e3){_0x25c1ea['push'](_0x25c1ea['shift']());}}}(_0x1cf0,0x4778d));function _0x19e1(_0x35efe7,_0x36f1c2){const _0x1cf081=_0x1cf0();return _0x19e1=function(_0x19e1c4,_0x33eb40){_0x19e1c4=_0x19e1c4-0x1d8;let _0x4544a1=_0x1cf081[_0x19e1c4];return _0x4544a1;},_0x19e1(_0x35efe7,_0x36f1c2);}import{ToolbarView as _0x137179,ButtonView as _0x5712f3}from'ckeditor5/src/ui.js';import{getTranslation as _0x98c331}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x137179{constructor(_0x3dee3d,_0x3ebe07=!0x0,_0x52f3da=!0x0){const _0x37b7d6=_0x19e1;super(_0x3dee3d),this[_0x37b7d6(0x1dd)](_0x37b7d6(0x1ec),!0x1),_0x3ebe07&&(this[_0x37b7d6(0x1e0)]=this[_0x37b7d6(0x1e5)](_0x98c331(_0x3dee3d,_0x37b7d6(0x1e2)),_0x37b7d6(0x1dc)),this[_0x37b7d6(0x1e0)][_0x37b7d6(0x1ed)](_0x37b7d6(0x1ec))['to'](this),this[_0x37b7d6(0x1ef)][_0x37b7d6(0x1d9)](this[_0x37b7d6(0x1e0)])),_0x52f3da&&(this[_0x37b7d6(0x1eb)]=this[_0x37b7d6(0x1e5)](_0x98c331(_0x3dee3d,_0x37b7d6(0x1d8)),_0x3ebe07?_0x37b7d6(0x1df):_0x37b7d6(0x1dc)),this[_0x37b7d6(0x1eb)][_0x37b7d6(0x1ed)](_0x37b7d6(0x1ec))['to'](this),this[_0x37b7d6(0x1ef)][_0x37b7d6(0x1d9)](this[_0x37b7d6(0x1eb)])),this[_0x37b7d6(0x1ea)]({'showApplyButton':_0x3ebe07,'showSuggestButton':_0x52f3da}),this[_0x37b7d6(0x1e8)]({'attributes':{'class':[_0x37b7d6(0x1ee)]}});}[_0xd043e9(0x1ea)]({showApplyButton:_0x1ecd41,showSuggestButton:_0x58030a}){const _0x3672e4=_0xd043e9;this[_0x3672e4(0x1e0)]&&(this[_0x3672e4(0x1e0)][_0x3672e4(0x1e4)]=_0x1ecd41),this[_0x3672e4(0x1eb)]&&(this[_0x3672e4(0x1eb)][_0x3672e4(0x1e4)]=_0x58030a);}[_0xd043e9(0x1e5)](_0x190c3f,_0x5be023){const _0x43025b=_0xd043e9,_0xe2cedd=new _0x5712f3(this[_0x43025b(0x1f0)]);return _0xe2cedd[_0x43025b(0x1dd)]({'label':_0x190c3f,'class':_0x5be023,'isVisible':!0x0,'withText':!0x0}),_0xe2cedd;}}function _0x1cf0(){const _0x439aa3=['extendTemplate','9106kGuJlb','setButtonsVisibility','suggestButton','isEnabled','bind','ck-ai-balloon__toolbar','items','locale','1369040mdYShB','1679944RrDUoN','AI_BALLOON_SUGGEST_BUTTON','add','354fAdLUt','6fRwQkZ','ck-ai-button-primary','set','552256FAOFKQ','ck-ai-button-secondary','applyButton','200gRMQSj','AI_BALLOON_APPLY_BUTTON','1312525reausq','isVisible','_createButton','1104306TAhvoh','813663oHPZAR'];_0x1cf0=function(){return _0x439aa3;};return _0x1cf0();}
23
+ function _0x4b87(){const _0x205d15=['117TJuCzn','isEnabled','577384DXOTME','7206Qyedip','2189985Ozzuyr','AI_BALLOON_APPLY_BUTTON','extendTemplate','ck-ai-button-secondary','ck-ai-balloon__toolbar','locale','753385RPaTng','18300HLfXmA','_createButton','bind','set','isVisible','737QObVGG','1994522DilnVR','AI_BALLOON_SUGGEST_BUTTON','items','68vRjqmG','add','setButtonsVisibility','applyButton','443740ehGgwy','suggestButton','3409YoZxqo','ck-ai-button-primary'];_0x4b87=function(){return _0x205d15;};return _0x4b87();}const _0x4ee1d9=_0x58bd;(function(_0x3faae3,_0x8f46f9){const _0x3eeb5a=_0x58bd,_0x4a2851=_0x3faae3();while(!![]){try{const _0x2d6bf0=-parseInt(_0x3eeb5a(0x1aa))/0x1+-parseInt(_0x3eeb5a(0x1b1))/0x2+parseInt(_0x3eeb5a(0x1ab))/0x3*(parseInt(_0x3eeb5a(0x198))/0x4)+-parseInt(_0x3eeb5a(0x1a4))/0x5+parseInt(_0x3eeb5a(0x1a3))/0x6*(parseInt(_0x3eeb5a(0x19e))/0x7)+-parseInt(_0x3eeb5a(0x1a2))/0x8*(parseInt(_0x3eeb5a(0x1a0))/0x9)+parseInt(_0x3eeb5a(0x19c))/0xa*(parseInt(_0x3eeb5a(0x1b0))/0xb);if(_0x2d6bf0===_0x8f46f9)break;else _0x4a2851['push'](_0x4a2851['shift']());}catch(_0x49169a){_0x4a2851['push'](_0x4a2851['shift']());}}}(_0x4b87,0x828e1));import{ToolbarView as _0x20adc4,ButtonView as _0x22a2bb}from'ckeditor5/src/ui.js';import{getTranslation as _0x4979f5}from'../../../aicore/utils/common-translations.js';function _0x58bd(_0x2ee0ef,_0x1d7d58){const _0x4b876c=_0x4b87();return _0x58bd=function(_0x58bd14,_0x434132){_0x58bd14=_0x58bd14-0x197;let _0x9684cf=_0x4b876c[_0x58bd14];return _0x9684cf;},_0x58bd(_0x2ee0ef,_0x1d7d58);}export class AIActionsBalloonToolbarView extends _0x20adc4{constructor(_0x474b18,_0x2ce83a=!0x0,_0x24403e=!0x0){const _0x29e930=_0x58bd;super(_0x474b18),this[_0x29e930(0x1ae)](_0x29e930(0x1a1),!0x1),_0x2ce83a&&(this[_0x29e930(0x19b)]=this[_0x29e930(0x1ac)](_0x4979f5(_0x474b18,_0x29e930(0x1a5)),_0x29e930(0x19f)),this[_0x29e930(0x19b)][_0x29e930(0x1ad)](_0x29e930(0x1a1))['to'](this),this[_0x29e930(0x197)][_0x29e930(0x199)](this[_0x29e930(0x19b)])),_0x24403e&&(this[_0x29e930(0x19d)]=this[_0x29e930(0x1ac)](_0x4979f5(_0x474b18,_0x29e930(0x1b2)),_0x2ce83a?_0x29e930(0x1a7):_0x29e930(0x19f)),this[_0x29e930(0x19d)][_0x29e930(0x1ad)](_0x29e930(0x1a1))['to'](this),this[_0x29e930(0x197)][_0x29e930(0x199)](this[_0x29e930(0x19d)])),this[_0x29e930(0x19a)]({'showApplyButton':_0x2ce83a,'showSuggestButton':_0x24403e}),this[_0x29e930(0x1a6)]({'attributes':{'class':[_0x29e930(0x1a8)]}});}[_0x4ee1d9(0x19a)]({showApplyButton:_0x2626a2,showSuggestButton:_0x58ca31}){const _0x3a5092=_0x4ee1d9;this[_0x3a5092(0x19b)]&&(this[_0x3a5092(0x19b)][_0x3a5092(0x1af)]=_0x2626a2),this[_0x3a5092(0x19d)]&&(this[_0x3a5092(0x19d)][_0x3a5092(0x1af)]=_0x58ca31);}[_0x4ee1d9(0x1ac)](_0x320a76,_0x47a9f0){const _0x59c187=_0x4ee1d9,_0x2622d5=new _0x22a2bb(this[_0x59c187(0x1a9)]);return _0x2622d5[_0x59c187(0x1ae)]({'label':_0x320a76,'class':_0x47a9f0,'isVisible':!0x0,'withText':!0x0}),_0x2622d5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3274f7=_0x5c3b;(function(_0x44afde,_0x33d2c8){const _0x591ee7=_0x5c3b,_0x4c92f3=_0x44afde();while(!![]){try{const _0x5d57b5=-parseInt(_0x591ee7(0x21c))/0x1+-parseInt(_0x591ee7(0x1e9))/0x2+parseInt(_0x591ee7(0x1de))/0x3*(-parseInt(_0x591ee7(0x22a))/0x4)+-parseInt(_0x591ee7(0x1d8))/0x5+-parseInt(_0x591ee7(0x1ca))/0x6*(parseInt(_0x591ee7(0x203))/0x7)+parseInt(_0x591ee7(0x225))/0x8*(parseInt(_0x591ee7(0x1c0))/0x9)+-parseInt(_0x591ee7(0x21e))/0xa*(-parseInt(_0x591ee7(0x21d))/0xb);if(_0x5d57b5===_0x33d2c8)break;else _0x4c92f3['push'](_0x4c92f3['shift']());}catch(_0xd48986){_0x4c92f3['push'](_0x4c92f3['shift']());}}}(_0x52fe,0xd2a36));import{ViewCollection as _0x403060,FocusCycler as _0xb6b500,ButtonView as _0x29032d,View as _0xb6f329}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3e6110,KeystrokeHandler as _0x17ed93}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x4b4481}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x537f32}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3de202}from'../../../aicore/utils/scrollmanager.js';function _0x52fe(){const _0x4863c4=['toggleSuggestionDisplayMode','hideLoader','AI_ACTIONS_NEXT_INTERACTION','includes','_addDisclaimerView','_navigationTryAgainButton','focusCycler','12khaWBc','set','isVisible','AI_ACTIONS_PREVIOUS_INTERACTION','toggleShowChangesEnabled','toggleShowChanges','_navigationNextButton','_navigationCounter','_keystrokes','createCollection','applySuggestion','update','applyButton','ck-ai-actions-balloon-main','4571965LErtXn','AI_ACTIONS_TRY_AGAIN','_contentWrapper','tab','bind','_focusables','201eUxQCs','_scrollManager','span','availableActions','stopAutoScroll','resetShowChangesButton','ck-ai-navigation-button\x20ck-ai-next-button','_isLoading','_toggleToolbarButtonsVisibility','add','showNext','324362sGxmkQ','div','_addToolbar','isEnabled','setIsLoading','miniToolbarConfig','addMany','_config','setButtonsVisibility','clear','ck-ai-actions-balloon-content','_setupMiniToolbarButtons','showError','ck-ai-actions-balloon-content-wrapper','_hasError','isShowChangesOn','updateContent','start','setErrorState','ck-ai-custom-action-button','isTrackChangesOn','stop','clearContent','1/1','focus','_createLoaderView','1957193yDKtYq','_errorView','_initializeScrollManager','hideError','render','_navigationPreviousButton','change:isTrackChangesOn','clearErrorState','_streamableContentView','_toolbarView','shift\x20+\x20tab','disableMiniToolbarButtons','showLoader','updateMiniToolbarButtons','tryAgain','startAutoScroll','interactionCount','addMiniToolbarItem','_disclaimerView','_focusTracker','showBlockingError','setTemplate','locale','ck-ai-interaction-counter','element','1466062rcJuYp','12468269aYfjcj','30bqJSZd','has','remove','_addContentWrapper','_loaderView','ck-ai-navigation-button\x20ck-ai-previous-button','_dialogContent','104AkelQU','_createStreamableContentView','fire','focusFirst','showPrevious','37732zgPdTn','_getScrollableElement','destroy','listenTo','bindTemplate','items','isBusy','suggestButton','insertSuggestion','focusLast','_miniToolbarView','removeMiniToolbarItem','toggleIsLoading','setInteractionCount','delegate','828126mqRczL','_createMiniToolbar','execute'];_0x52fe=function(){return _0x4863c4;};return _0x52fe();}import{AIMiniToolbarView as _0x1250c3}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';function _0x5c3b(_0x2199ba,_0x3b0f44){const _0x52fe50=_0x52fe();return _0x5c3b=function(_0x5c3b4f,_0x3afe4b){_0x5c3b4f=_0x5c3b4f-0x1b6;let _0x5e7d62=_0x52fe50[_0x5c3b4f];return _0x5e7d62;},_0x5c3b(_0x2199ba,_0x3b0f44);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4482d4}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x442fde}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x5c7ad6}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x70a9a4,IconPreviousArrow as _0x55e6f2,IconRefresh as _0x354089}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x21f58b}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x3c754c}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3274f7(0x1d4),_0x3274f7(0x1b9)];export class AIActionsBalloonView extends _0x3c754c{[_0x3274f7(0x1c9)];[_0x3274f7(0x1f0)];[_0x3274f7(0x1da)];[_0x3274f7(0x20b)];[_0x3274f7(0x20c)];[_0x3274f7(0x1bb)];[_0x3274f7(0x222)];[_0x3274f7(0x215)];[_0x3274f7(0x216)];[_0x3274f7(0x1d2)];[_0x3274f7(0x224)];[_0x3274f7(0x1dd)];[_0x3274f7(0x1df)];[_0x3274f7(0x208)];[_0x3274f7(0x1d0)];[_0x3274f7(0x1c8)];[_0x3274f7(0x1d1)];constructor(_0x38ecc3,_0x3fe0e1){const _0x2677b1=_0x3274f7;super(_0x38ecc3),this[_0x2677b1(0x1cb)](_0x2677b1(0x1b7),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1fd),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1e5),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1f7),!0x1),this[_0x2677b1(0x1f0)]=_0x3fe0e1,this[_0x2677b1(0x216)]=new _0x3e6110(),this[_0x2677b1(0x1d2)]=new _0x17ed93(),this[_0x2677b1(0x1dd)]=this[_0x2677b1(0x1d3)](),this[_0x2677b1(0x1c9)]=new _0xb6b500({'focusables':this[_0x2677b1(0x1dd)],'focusTracker':this[_0x2677b1(0x216)],'keystrokeHandler':this[_0x2677b1(0x1d2)],'actions':{'focusPrevious':_0x2677b1(0x20d),'focusNext':_0x2677b1(0x1db)}}),this[_0x2677b1(0x224)]=new _0x403060(),this[_0x2677b1(0x221)](_0x3fe0e1),this[_0x2677b1(0x1c7)](),this[_0x2677b1(0x1eb)](_0x3fe0e1),this[_0x2677b1(0x1dd)][_0x2677b1(0x1f2)](),this[_0x2677b1(0x1dd)][_0x2677b1(0x1ef)]([this[_0x2677b1(0x20c)]]),this[_0x2677b1(0x218)]({'tag':_0x2677b1(0x1ea),'attributes':{'class':[_0x2677b1(0x1d7)]},'children':this[_0x2677b1(0x224)]}),this['on'](_0x2677b1(0x209),()=>{const _0x4292e9=_0x2677b1;this[_0x4292e9(0x1e6)](_0x3fe0e1);});}[_0x3274f7(0x207)](){const _0x2a4e05=_0x3274f7;super[_0x2a4e05(0x207)]();for(const _0x55d754 of this[_0x2a4e05(0x1dd)])this[_0x2a4e05(0x216)][_0x2a4e05(0x1e7)](_0x55d754[_0x2a4e05(0x21b)]);this[_0x2a4e05(0x1d2)][_0x2a4e05(0x22d)](this[_0x2a4e05(0x21b)]),this[_0x2a4e05(0x205)]();}[_0x3274f7(0x22c)](){const _0x436e26=_0x3274f7;super[_0x436e26(0x22c)](),this[_0x436e26(0x1df)]&&this[_0x436e26(0x1df)][_0x436e26(0x22c)]();}[_0x3274f7(0x201)](_0x16f101){const _0x3e4e4a=_0x3274f7;-0x1===_0x16f101?this[_0x3e4e4a(0x1c9)][_0x3e4e4a(0x1ba)]():this[_0x3e4e4a(0x1c9)][_0x3e4e4a(0x228)]();}[_0x3274f7(0x1ed)](_0x5bb63b){const _0x29cce5=_0x3274f7;this[_0x29cce5(0x1e5)]=_0x5bb63b;}[_0x3274f7(0x1fb)](){const _0x19cd97=_0x3274f7;this[_0x19cd97(0x1f7)]=!0x0,this[_0x19cd97(0x1bb)][_0x19cd97(0x1ce)](!0x1);}[_0x3274f7(0x20a)](){const _0x2f1bac=_0x3274f7;this[_0x2f1bac(0x1f7)]=!0x1,this[_0x2f1bac(0x1bb)][_0x2f1bac(0x1ce)](!0x0);}[_0x3274f7(0x1f5)](_0x3f22d5){const _0x1a46b4=_0x3274f7;super[_0x1a46b4(0x1f5)](_0x3f22d5),this[_0x1a46b4(0x224)][_0x1a46b4(0x21f)](this[_0x1a46b4(0x204)])||this[_0x1a46b4(0x224)][_0x1a46b4(0x1e7)](this[_0x1a46b4(0x204)],0x0);}[_0x3274f7(0x206)](){const _0x3d3f5e=_0x3274f7;super[_0x3d3f5e(0x206)](),this[_0x3d3f5e(0x20a)]();}[_0x3274f7(0x217)](_0x192657){const _0x160145=_0x3274f7;super[_0x160145(0x217)](_0x192657),this[_0x160145(0x1fb)]();}[_0x3274f7(0x214)](_0x1e8569){const _0x150d9d=_0x3274f7;this[_0x150d9d(0x1bb)][_0x150d9d(0x1b6)][_0x150d9d(0x21f)](_0x1e8569)||this[_0x150d9d(0x1bb)][_0x150d9d(0x1b6)][_0x150d9d(0x1e7)](_0x1e8569);}[_0x3274f7(0x1bc)](_0x431acd){const _0x97de70=_0x3274f7;this[_0x97de70(0x1bb)][_0x97de70(0x1b6)][_0x97de70(0x21f)](_0x431acd)&&this[_0x97de70(0x1bb)][_0x97de70(0x1b6)][_0x97de70(0x220)](_0x431acd);}[_0x3274f7(0x20f)](){const _0x111091=_0x3274f7;this[_0x111091(0x222)]&&(this[_0x111091(0x1e5)]=!0x0);}[_0x3274f7(0x1c4)](){const _0x126fe8=_0x3274f7;this[_0x126fe8(0x222)]&&(this[_0x126fe8(0x1e5)]=!0x1);}[_0x3274f7(0x1e6)]({showApplyButton:_0x1fb248,showSuggestButton:_0x554a8e}){const _0x3b6940=_0x3274f7;_0x1fb248=_0x1fb248&&!this[_0x3b6940(0x1fd)]&&this[_0x3b6940(0x1f0)][_0x3b6940(0x1e1)][_0x3b6940(0x1c6)](_0x3b6940(0x1d4)),_0x554a8e=_0x554a8e&&this[_0x3b6940(0x1f0)][_0x3b6940(0x1e1)][_0x3b6940(0x1c6)](_0x3b6940(0x1b9)),this[_0x3b6940(0x20c)][_0x3b6940(0x1f1)]({'showApplyButton':_0x1fb248,'showSuggestButton':_0x554a8e});}async[_0x3274f7(0x1f9)](_0x35a069){const _0x15b327=_0x3274f7;await this[_0x15b327(0x20b)][_0x15b327(0x1d5)](_0x35a069);}[_0x3274f7(0x1ff)](){const _0x932d50=_0x3274f7;this[_0x932d50(0x20b)][_0x932d50(0x1f2)]();}[_0x3274f7(0x221)](_0x4f5680){const _0x910cd0=_0x3274f7;this[_0x910cd0(0x1da)]=new _0xb6f329(this[_0x910cd0(0x219)]),this[_0x910cd0(0x1da)][_0x910cd0(0x218)]({'tag':_0x910cd0(0x1ea),'attributes':{'class':[_0x910cd0(0x1f3)]},'children':[{'tag':_0x910cd0(0x1ea),'attributes':{'class':[_0x910cd0(0x1f6)]},'children':[this[_0x910cd0(0x202)](),this[_0x910cd0(0x226)]()]},this[_0x910cd0(0x1c1)](_0x4f5680[_0x910cd0(0x1ee)])]}),this[_0x910cd0(0x224)][_0x910cd0(0x1e7)](this[_0x910cd0(0x1da)]);}[_0x3274f7(0x1c7)](){const _0x12f2f5=_0x3274f7;this[_0x12f2f5(0x215)]=new _0x537f32(this[_0x12f2f5(0x219)]),this[_0x12f2f5(0x224)][_0x12f2f5(0x1e7)](this[_0x12f2f5(0x215)]);}[_0x3274f7(0x1eb)]({showApplyButton:_0x63fdba,showSuggestButton:_0x59afe2}){const _0x3a6631=_0x3274f7;this[_0x3a6631(0x20c)]=new _0x4b4481(this[_0x3a6631(0x219)],_0x63fdba,_0x59afe2),this[_0x3a6631(0x20c)][_0x3a6631(0x1d6)]?.['on'](_0x3a6631(0x1c2),()=>{const _0x62f7a8=_0x3a6631;this[_0x62f7a8(0x227)](_0x62f7a8(0x1d4));}),this[_0x3a6631(0x20c)][_0x3a6631(0x1b8)]?.['on'](_0x3a6631(0x1c2),()=>{const _0x162b44=_0x3a6631;this[_0x162b44(0x227)](_0x162b44(0x1b9));}),this[_0x3a6631(0x20c)][_0x3a6631(0x1dc)](_0x3a6631(0x1ec))['to'](this,_0x3a6631(0x1b7),this,_0x3a6631(0x1e5),this,_0x3a6631(0x1f7),(_0x503d29,_0xf73fe3,_0x47b681)=>!(_0x503d29||_0xf73fe3||_0x47b681)),this[_0x3a6631(0x1e6)]({'showApplyButton':_0x63fdba,'showSuggestButton':_0x59afe2}),this[_0x3a6631(0x224)][_0x3a6631(0x1e7)](this[_0x3a6631(0x20c)]);}[_0x3274f7(0x1c1)](_0x5eb135){const _0x6da43=_0x3274f7;return this[_0x6da43(0x1bb)]=new _0x1250c3(this[_0x6da43(0x219)],_0x5eb135),this[_0x6da43(0x1bb)][_0x6da43(0x1bf)](..._0x4482d4)['to'](this),this[_0x6da43(0x1bb)]['on'](_0x6da43(0x1cf),()=>{const _0xec8bf7=_0x6da43;this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)]=!this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)],this[_0xec8bf7(0x227)](_0xec8bf7(0x1c3),{'showDiff':this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)]});}),this[_0x6da43(0x1bb)][_0x6da43(0x1dc)](_0x6da43(0x1ec))['to'](this,_0x6da43(0x1b7),this,_0x6da43(0x1e5),(_0x7e6d2b,_0x24dd68)=>!(_0x7e6d2b||_0x24dd68)),this[_0x6da43(0x1bb)];}[_0x3274f7(0x202)](){const _0x558ca4=_0x3274f7;return this[_0x558ca4(0x222)]=new _0x442fde(this[_0x558ca4(0x219)]),this[_0x558ca4(0x222)][_0x558ca4(0x1dc)](_0x558ca4(0x1cc))['to'](this,_0x558ca4(0x1e5)),this[_0x558ca4(0x222)];}[_0x3274f7(0x226)](){const _0x500cf5=_0x3274f7;return this[_0x500cf5(0x20b)]=new _0x5c7ad6(this[_0x500cf5(0x219)]),this[_0x500cf5(0x20b)];}[_0x3274f7(0x1f4)](){const _0x39fa9f=_0x3274f7,_0x1f40ca=new _0x29032d(this[_0x39fa9f(0x219)]),_0x1c2bf0=new _0x29032d(this[_0x39fa9f(0x219)]),_0xb43109=new Ln(this[_0x39fa9f(0x219)]),_0x1ea182=new _0x29032d(this[_0x39fa9f(0x219)]);_0x1f40ca[_0x39fa9f(0x1cb)]({'icon':_0x354089,'label':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1d9)),'tooltip':!0x0,'class':_0x39fa9f(0x1fc)}),_0x1c2bf0[_0x39fa9f(0x1cb)]({'icon':_0x55e6f2,'tooltip':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1cd)),'class':_0x39fa9f(0x223)}),_0x1ea182[_0x39fa9f(0x1cb)]({'icon':_0x70a9a4,'tooltip':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1c5)),'class':_0x39fa9f(0x1e4)}),_0x1f40ca[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0x235fcb=>!_0x235fcb),_0x1f40ca['on'](_0x39fa9f(0x1c2),()=>{const _0x1d22ce=_0x39fa9f;this[_0x1d22ce(0x227)](_0x1d22ce(0x211));}),_0x1c2bf0[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0x59030e=>!_0x59030e),_0x1c2bf0['on'](_0x39fa9f(0x1c2),()=>{const _0x983607=_0x39fa9f;this[_0x983607(0x227)](_0x983607(0x229));}),_0x1ea182[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0xbcf244=>!_0xbcf244),_0x1ea182['on'](_0x39fa9f(0x1c2),()=>{const _0xf887b5=_0x39fa9f;this[_0xf887b5(0x227)](_0xf887b5(0x1e8));}),this[_0x39fa9f(0x208)]=_0x1c2bf0,this[_0x39fa9f(0x1d1)]=_0xb43109,this[_0x39fa9f(0x1d0)]=_0x1ea182,this[_0x39fa9f(0x1c8)]=_0x1f40ca;}[_0x3274f7(0x210)](_0x316fcb,_0x4fef44){const _0x27cf3b=_0x3274f7;this[_0x27cf3b(0x208)]||this[_0x27cf3b(0x1f4)]();const _0x2232a0=_0x316fcb>0x1;if(this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1c8)]),_0x2232a0){this[_0x27cf3b(0x214)](this[_0x27cf3b(0x208)]),this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1d1)]),this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1d0)]);const _0x47492d=_0x316fcb-_0x4fef44;this[_0x27cf3b(0x1d1)][_0x27cf3b(0x1be)](_0x47492d+'/'+_0x316fcb),this[_0x27cf3b(0x208)][_0x27cf3b(0x1ec)]=_0x4fef44<_0x316fcb-0x1,this[_0x27cf3b(0x1d0)][_0x27cf3b(0x1ec)]=_0x4fef44>0x0;}else this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x208)]),this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x1d1)]),this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x1d0)]);}[_0x3274f7(0x20e)](){const _0x55072f=_0x3274f7;this[_0x55072f(0x1c8)][_0x55072f(0x1ec)]=!0x1,this[_0x55072f(0x208)][_0x55072f(0x1ec)]=!0x1,this[_0x55072f(0x1d0)][_0x55072f(0x1ec)]=!0x1;}[_0x3274f7(0x212)](){const _0x3f531e=_0x3274f7;this[_0x3f531e(0x205)](),this[_0x3f531e(0x1df)]&&this[_0x3f531e(0x1df)][_0x3f531e(0x1fa)]();}[_0x3274f7(0x1e2)](){const _0x1f7382=_0x3274f7;this[_0x1f7382(0x1df)]&&this[_0x1f7382(0x1df)][_0x1f7382(0x1fe)]();}[_0x3274f7(0x1bd)](_0x4790d4){const _0x1b92dd=_0x3274f7;this[_0x1b92dd(0x1e5)]=_0x4790d4;}[_0x3274f7(0x1e3)](){const _0x33e89b=_0x3274f7;this[_0x33e89b(0x1bb)][_0x33e89b(0x1f8)]=!0x1;}[_0x3274f7(0x205)](){const _0x312867=_0x3274f7,_0x438815=this[_0x312867(0x22b)]();_0x438815&&!this[_0x312867(0x1df)]&&(this[_0x312867(0x1df)]=new _0x3de202(_0x438815));}[_0x3274f7(0x22b)](){const _0x5bd29d=_0x3274f7;return this[_0x5bd29d(0x20b)][_0x5bd29d(0x21b)];}}class Ln extends _0xb6f329{constructor(_0x5599ad){const _0x560a3d=_0x3274f7;super(_0x5599ad);const _0x5118e0=this[_0x560a3d(0x22e)];this[_0x560a3d(0x1cb)](_0x560a3d(0x213),_0x560a3d(0x200)),this[_0x560a3d(0x218)]({'tag':_0x560a3d(0x1e0),'attributes':{'class':[_0x560a3d(0x21a)]},'children':[{'text':_0x5118e0['to'](_0x560a3d(0x213))}]});}[_0x3274f7(0x1be)](_0xf1893e){const _0x3cc8c4=_0x3274f7;this[_0x3cc8c4(0x1cb)](_0x3cc8c4(0x213),_0xf1893e);}}
23
+ function _0x4557(_0x28bb74,_0x4a73da){const _0x266ff7=_0x266f();return _0x4557=function(_0x455772,_0x5d342f){_0x455772=_0x455772-0x92;let _0x3fba39=_0x266ff7[_0x455772];return _0x3fba39;},_0x4557(_0x28bb74,_0x4a73da);}function _0x266f(){const _0x2c2f2f=['resetShowChangesButton','ck-ai-actions-balloon-content-wrapper','updateContent','applyButton','isVisible','showNext','div','AI_ACTIONS_NEXT_INTERACTION','focusLast','bindTemplate','shift\x20+\x20tab','_dialogContent','1105186MQStog','ck-ai-actions-balloon-main','toggleShowChangesEnabled','14MyXsEE','destroy','showPrevious','_setupMiniToolbarButtons','_contentWrapper','_disclaimerView','miniToolbarConfig','_streamableContentView','isBusy','setButtonsVisibility','fire','updateMiniToolbarButtons','ck-ai-custom-action-button','applySuggestion','_loaderView','setTemplate','change:isTrackChangesOn','update','1/1','_addContentWrapper','ck-ai-navigation-button\x20ck-ai-previous-button','670974WOMyWB','hideError','start','listenTo','_initializeScrollManager','AI_ACTIONS_PREVIOUS_INTERACTION','addMiniToolbarItem','_getScrollableElement','hideLoader','availableActions','showLoader','9279nvLnJZ','_errorView','_createLoaderView','ck-ai-interaction-counter','_isLoading','removeMiniToolbarItem','locale','ck-ai-actions-balloon-content','clearErrorState','stop','showBlockingError','isEnabled','2728emGjDn','execute','_focusTracker','toggleIsLoading','items','isTrackChangesOn','_createStreamableContentView','toggleSuggestionDisplayMode','_keystrokes','tab','focus','startAutoScroll','_navigationNextButton','setInteractionCount','set','showError','AI_ACTIONS_TRY_AGAIN','suggestButton','_navigationTryAgainButton','_createMiniToolbar','delegate','add','clear','stopAutoScroll','_toolbarView','element','interactionCount','disableMiniToolbarButtons','52ScwWtD','createCollection','_navigationCounter','_addDisclaimerView','setIsLoading','484840sZSKwn','297HuKLaE','includes','has','_navigationPreviousButton','_toggleToolbarButtonsVisibility','span','_config','_addToolbar','insertSuggestion','setErrorState','focusFirst','_scrollManager','bind','_hasError','focusCycler','7938240hYWdmB','addMany','_focusables','1565417xpqaBh','330918bwCwTI','render','remove','ck-ai-navigation-button\x20ck-ai-next-button','clearContent','isShowChangesOn','tryAgain','toggleShowChanges','_miniToolbarView'];_0x266f=function(){return _0x2c2f2f;};return _0x266f();}const _0x232975=_0x4557;(function(_0x4ba3aa,_0x9a8563){const _0x405cdb=_0x4557,_0x3018f9=_0x4ba3aa();while(!![]){try{const _0x58ce07=parseInt(_0x405cdb(0xa6))/0x1+parseInt(_0x405cdb(0xbc))/0x2+-parseInt(_0x405cdb(0xa7))/0x3*(parseInt(_0x405cdb(0x107))/0x4)+parseInt(_0x405cdb(0xa3))/0x5+parseInt(_0x405cdb(0xd4))/0x6*(parseInt(_0x405cdb(0xbf))/0x7)+parseInt(_0x405cdb(0xeb))/0x8*(-parseInt(_0x405cdb(0xdf))/0x9)+parseInt(_0x405cdb(0x93))/0xa*(-parseInt(_0x405cdb(0x94))/0xb);if(_0x58ce07===_0x9a8563)break;else _0x3018f9['push'](_0x3018f9['shift']());}catch(_0x2d77d1){_0x3018f9['push'](_0x3018f9['shift']());}}}(_0x266f,0xcbc8b));import{ViewCollection as _0x194f12,FocusCycler as _0x4583d0,ButtonView as _0x14c892,View as _0xb7107}from'ckeditor5/src/ui.js';import{FocusTracker as _0xca16a9,KeystrokeHandler as _0x5aaa1a}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0xea8d92}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x160f10}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x15b607}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x554d71}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x36162b}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x4e7b7a}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0xdc73b4}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x56f43b,IconPreviousArrow as _0x4f1005,IconRefresh as _0x164e69}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0xb00982}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x4b4525}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x232975(0xcc),_0x232975(0x9c)];export class AIActionsBalloonView extends _0x4b4525{[_0x232975(0xa2)];[_0x232975(0x9a)];[_0x232975(0xc3)];[_0x232975(0xc6)];[_0x232975(0x103)];[_0x232975(0xaf)];[_0x232975(0xcd)];[_0x232975(0xc4)];[_0x232975(0xed)];[_0x232975(0xf3)];[_0x232975(0xbb)];[_0x232975(0xa5)];[_0x232975(0x9f)];[_0x232975(0x97)];[_0x232975(0xf7)];[_0x232975(0xfd)];[_0x232975(0x109)];constructor(_0x4918ef,_0x54454f){const _0x50cfc7=_0x232975;super(_0x4918ef),this[_0x50cfc7(0xf9)](_0x50cfc7(0xc7),!0x1),this[_0x50cfc7(0xf9)](_0x50cfc7(0xf0),!0x1),this[_0x50cfc7(0xf9)](_0x50cfc7(0xe3),!0x1),this[_0x50cfc7(0xf9)](_0x50cfc7(0xa1),!0x1),this[_0x50cfc7(0x9a)]=_0x54454f,this[_0x50cfc7(0xed)]=new _0xca16a9(),this[_0x50cfc7(0xf3)]=new _0x5aaa1a(),this[_0x50cfc7(0xa5)]=this[_0x50cfc7(0x108)](),this[_0x50cfc7(0xa2)]=new _0x4583d0({'focusables':this[_0x50cfc7(0xa5)],'focusTracker':this[_0x50cfc7(0xed)],'keystrokeHandler':this[_0x50cfc7(0xf3)],'actions':{'focusPrevious':_0x50cfc7(0xba),'focusNext':_0x50cfc7(0xf4)}}),this[_0x50cfc7(0xbb)]=new _0x194f12(),this[_0x50cfc7(0xd2)](_0x54454f),this[_0x50cfc7(0x10a)](),this[_0x50cfc7(0x9b)](_0x54454f),this[_0x50cfc7(0xa5)][_0x50cfc7(0x101)](),this[_0x50cfc7(0xa5)][_0x50cfc7(0xa4)]([this[_0x50cfc7(0x103)]]),this[_0x50cfc7(0xce)]({'tag':_0x50cfc7(0xb6),'attributes':{'class':[_0x50cfc7(0xbd)]},'children':this[_0x50cfc7(0xbb)]}),this['on'](_0x50cfc7(0xcf),()=>{const _0x49d397=_0x50cfc7;this[_0x49d397(0x98)](_0x54454f);});}[_0x232975(0xa8)](){const _0x4aea94=_0x232975;super[_0x4aea94(0xa8)]();for(const _0x3aab69 of this[_0x4aea94(0xa5)])this[_0x4aea94(0xed)][_0x4aea94(0x100)](_0x3aab69[_0x4aea94(0x104)]);this[_0x4aea94(0xf3)][_0x4aea94(0xd7)](this[_0x4aea94(0x104)]),this[_0x4aea94(0xd8)]();}[_0x232975(0xc0)](){const _0x3826f6=_0x232975;super[_0x3826f6(0xc0)](),this[_0x3826f6(0x9f)]&&this[_0x3826f6(0x9f)][_0x3826f6(0xc0)]();}[_0x232975(0xf5)](_0x53d65d){const _0x263fc7=_0x232975;-0x1===_0x53d65d?this[_0x263fc7(0xa2)][_0x263fc7(0xb8)]():this[_0x263fc7(0xa2)][_0x263fc7(0x9e)]();}[_0x232975(0x92)](_0x288f55){const _0x117a3e=_0x232975;this[_0x117a3e(0xe3)]=_0x288f55;}[_0x232975(0x9d)](){const _0x28a296=_0x232975;this[_0x28a296(0xa1)]=!0x0,this[_0x28a296(0xaf)][_0x28a296(0xbe)](!0x1);}[_0x232975(0xe7)](){const _0x3608d4=_0x232975;this[_0x3608d4(0xa1)]=!0x1,this[_0x3608d4(0xaf)][_0x3608d4(0xbe)](!0x0);}[_0x232975(0xfa)](_0x37633c){const _0x5effa2=_0x232975;super[_0x5effa2(0xfa)](_0x37633c),this[_0x5effa2(0xbb)][_0x5effa2(0x96)](this[_0x5effa2(0xe0)])||this[_0x5effa2(0xbb)][_0x5effa2(0x100)](this[_0x5effa2(0xe0)],0x0);}[_0x232975(0xd5)](){const _0xd1641e=_0x232975;super[_0xd1641e(0xd5)](),this[_0xd1641e(0xe7)]();}[_0x232975(0xe9)](_0x218b2f){const _0x2787a4=_0x232975;super[_0x2787a4(0xe9)](_0x218b2f),this[_0x2787a4(0x9d)]();}[_0x232975(0xda)](_0x122326){const _0x12b456=_0x232975;this[_0x12b456(0xaf)][_0x12b456(0xef)][_0x12b456(0x96)](_0x122326)||this[_0x12b456(0xaf)][_0x12b456(0xef)][_0x12b456(0x100)](_0x122326);}[_0x232975(0xe4)](_0x22fc87){const _0xd842ed=_0x232975;this[_0xd842ed(0xaf)][_0xd842ed(0xef)][_0xd842ed(0x96)](_0x22fc87)&&this[_0xd842ed(0xaf)][_0xd842ed(0xef)][_0xd842ed(0xa9)](_0x22fc87);}[_0x232975(0xde)](){const _0xaac8dc=_0x232975;this[_0xaac8dc(0xcd)]&&(this[_0xaac8dc(0xe3)]=!0x0);}[_0x232975(0xdc)](){const _0x5d3bda=_0x232975;this[_0x5d3bda(0xcd)]&&(this[_0x5d3bda(0xe3)]=!0x1);}[_0x232975(0x98)]({showApplyButton:_0x46f2a0,showSuggestButton:_0xb5307}){const _0x5ea4a8=_0x232975;_0x46f2a0=_0x46f2a0&&!this[_0x5ea4a8(0xf0)]&&this[_0x5ea4a8(0x9a)][_0x5ea4a8(0xdd)][_0x5ea4a8(0x95)](_0x5ea4a8(0xcc)),_0xb5307=_0xb5307&&this[_0x5ea4a8(0x9a)][_0x5ea4a8(0xdd)][_0x5ea4a8(0x95)](_0x5ea4a8(0x9c)),this[_0x5ea4a8(0x103)][_0x5ea4a8(0xc8)]({'showApplyButton':_0x46f2a0,'showSuggestButton':_0xb5307});}async[_0x232975(0xb2)](_0x307bce){const _0x5519af=_0x232975;await this[_0x5519af(0xc6)][_0x5519af(0xd0)](_0x307bce);}[_0x232975(0xab)](){const _0x560bd9=_0x232975;this[_0x560bd9(0xc6)][_0x560bd9(0x101)]();}[_0x232975(0xd2)](_0x438063){const _0x3c066e=_0x232975;this[_0x3c066e(0xc3)]=new _0xb7107(this[_0x3c066e(0xe5)]),this[_0x3c066e(0xc3)][_0x3c066e(0xce)]({'tag':_0x3c066e(0xb6),'attributes':{'class':[_0x3c066e(0xe6)]},'children':[{'tag':_0x3c066e(0xb6),'attributes':{'class':[_0x3c066e(0xb1)]},'children':[this[_0x3c066e(0xe1)](),this[_0x3c066e(0xf1)]()]},this[_0x3c066e(0xfe)](_0x438063[_0x3c066e(0xc5)])]}),this[_0x3c066e(0xbb)][_0x3c066e(0x100)](this[_0x3c066e(0xc3)]);}[_0x232975(0x10a)](){const _0x6812bb=_0x232975;this[_0x6812bb(0xc4)]=new _0x160f10(this[_0x6812bb(0xe5)]),this[_0x6812bb(0xbb)][_0x6812bb(0x100)](this[_0x6812bb(0xc4)]);}[_0x232975(0x9b)]({showApplyButton:_0xc83ad,showSuggestButton:_0x2a8a9f}){const _0x3940a9=_0x232975;this[_0x3940a9(0x103)]=new _0xea8d92(this[_0x3940a9(0xe5)],_0xc83ad,_0x2a8a9f),this[_0x3940a9(0x103)][_0x3940a9(0xb3)]?.['on'](_0x3940a9(0xec),()=>{const _0x6b7b56=_0x3940a9;this[_0x6b7b56(0xc9)](_0x6b7b56(0xcc));}),this[_0x3940a9(0x103)][_0x3940a9(0xfc)]?.['on'](_0x3940a9(0xec),()=>{const _0x1771eb=_0x3940a9;this[_0x1771eb(0xc9)](_0x1771eb(0x9c));}),this[_0x3940a9(0x103)][_0x3940a9(0xa0)](_0x3940a9(0xea))['to'](this,_0x3940a9(0xc7),this,_0x3940a9(0xe3),this,_0x3940a9(0xa1),(_0x393361,_0xa99854,_0x583037)=>!(_0x393361||_0xa99854||_0x583037)),this[_0x3940a9(0x98)]({'showApplyButton':_0xc83ad,'showSuggestButton':_0x2a8a9f}),this[_0x3940a9(0xbb)][_0x3940a9(0x100)](this[_0x3940a9(0x103)]);}[_0x232975(0xfe)](_0x1d185b){const _0x1bdb93=_0x232975;return this[_0x1bdb93(0xaf)]=new _0x554d71(this[_0x1bdb93(0xe5)],_0x1d185b),this[_0x1bdb93(0xaf)][_0x1bdb93(0xff)](..._0x36162b)['to'](this),this[_0x1bdb93(0xaf)]['on'](_0x1bdb93(0xae),()=>{const _0x34ba2b=_0x1bdb93;this[_0x34ba2b(0xaf)][_0x34ba2b(0xac)]=!this[_0x34ba2b(0xaf)][_0x34ba2b(0xac)],this[_0x34ba2b(0xc9)](_0x34ba2b(0xf2),{'showDiff':this[_0x34ba2b(0xaf)][_0x34ba2b(0xac)]});}),this[_0x1bdb93(0xaf)][_0x1bdb93(0xa0)](_0x1bdb93(0xea))['to'](this,_0x1bdb93(0xc7),this,_0x1bdb93(0xe3),(_0x3f2e29,_0x376aff)=>!(_0x3f2e29||_0x376aff)),this[_0x1bdb93(0xaf)];}[_0x232975(0xe1)](){const _0x557422=_0x232975;return this[_0x557422(0xcd)]=new _0x4e7b7a(this[_0x557422(0xe5)]),this[_0x557422(0xcd)][_0x557422(0xa0)](_0x557422(0xb4))['to'](this,_0x557422(0xe3)),this[_0x557422(0xcd)];}[_0x232975(0xf1)](){const _0x16ae4e=_0x232975;return this[_0x16ae4e(0xc6)]=new _0xdc73b4(this[_0x16ae4e(0xe5)]),this[_0x16ae4e(0xc6)];}[_0x232975(0xc2)](){const _0x4130a8=_0x232975,_0x2f66de=new _0x14c892(this[_0x4130a8(0xe5)]),_0x131087=new _0x14c892(this[_0x4130a8(0xe5)]),_0x227c49=new Ln(this[_0x4130a8(0xe5)]),_0x6a2eb4=new _0x14c892(this[_0x4130a8(0xe5)]);_0x2f66de[_0x4130a8(0xf9)]({'icon':_0x164e69,'label':_0xb00982(this[_0x4130a8(0xe5)],_0x4130a8(0xfb)),'tooltip':!0x0,'class':_0x4130a8(0xcb)}),_0x131087[_0x4130a8(0xf9)]({'icon':_0x4f1005,'tooltip':_0xb00982(this[_0x4130a8(0xe5)],_0x4130a8(0xd9)),'class':_0x4130a8(0xd3)}),_0x6a2eb4[_0x4130a8(0xf9)]({'icon':_0x56f43b,'tooltip':_0xb00982(this[_0x4130a8(0xe5)],_0x4130a8(0xb7)),'class':_0x4130a8(0xaa)}),_0x2f66de[_0x4130a8(0xa0)](_0x4130a8(0xea))['to'](this,_0x4130a8(0xc7),_0x1ac222=>!_0x1ac222),_0x2f66de['on'](_0x4130a8(0xec),()=>{const _0x49bb39=_0x4130a8;this[_0x49bb39(0xc9)](_0x49bb39(0xad));}),_0x131087[_0x4130a8(0xa0)](_0x4130a8(0xea))['to'](this,_0x4130a8(0xc7),_0x2cafa7=>!_0x2cafa7),_0x131087['on'](_0x4130a8(0xec),()=>{const _0x1490ed=_0x4130a8;this[_0x1490ed(0xc9)](_0x1490ed(0xc1));}),_0x6a2eb4[_0x4130a8(0xa0)](_0x4130a8(0xea))['to'](this,_0x4130a8(0xc7),_0x20a5ac=>!_0x20a5ac),_0x6a2eb4['on'](_0x4130a8(0xec),()=>{const _0x53b50e=_0x4130a8;this[_0x53b50e(0xc9)](_0x53b50e(0xb5));}),this[_0x4130a8(0x97)]=_0x131087,this[_0x4130a8(0x109)]=_0x227c49,this[_0x4130a8(0xf7)]=_0x6a2eb4,this[_0x4130a8(0xfd)]=_0x2f66de;}[_0x232975(0xca)](_0x59af38,_0x6a254){const _0x372fa1=_0x232975;this[_0x372fa1(0x97)]||this[_0x372fa1(0xc2)]();const _0x511b87=_0x59af38>0x1;if(this[_0x372fa1(0xda)](this[_0x372fa1(0xfd)]),_0x511b87){this[_0x372fa1(0xda)](this[_0x372fa1(0x97)]),this[_0x372fa1(0xda)](this[_0x372fa1(0x109)]),this[_0x372fa1(0xda)](this[_0x372fa1(0xf7)]);const _0x961e04=_0x59af38-_0x6a254;this[_0x372fa1(0x109)][_0x372fa1(0xf8)](_0x961e04+'/'+_0x59af38),this[_0x372fa1(0x97)][_0x372fa1(0xea)]=_0x6a254<_0x59af38-0x1,this[_0x372fa1(0xf7)][_0x372fa1(0xea)]=_0x6a254>0x0;}else this[_0x372fa1(0xe4)](this[_0x372fa1(0x97)]),this[_0x372fa1(0xe4)](this[_0x372fa1(0x109)]),this[_0x372fa1(0xe4)](this[_0x372fa1(0xf7)]);}[_0x232975(0x106)](){const _0x404a83=_0x232975;this[_0x404a83(0xfd)][_0x404a83(0xea)]=!0x1,this[_0x404a83(0x97)][_0x404a83(0xea)]=!0x1,this[_0x404a83(0xf7)][_0x404a83(0xea)]=!0x1;}[_0x232975(0xf6)](){const _0x451335=_0x232975;this[_0x451335(0xd8)](),this[_0x451335(0x9f)]&&this[_0x451335(0x9f)][_0x451335(0xd6)]();}[_0x232975(0x102)](){const _0x394a4b=_0x232975;this[_0x394a4b(0x9f)]&&this[_0x394a4b(0x9f)][_0x394a4b(0xe8)]();}[_0x232975(0xee)](_0x24e63d){const _0x1411f4=_0x232975;this[_0x1411f4(0xe3)]=_0x24e63d;}[_0x232975(0xb0)](){const _0x7ca221=_0x232975;this[_0x7ca221(0xaf)][_0x7ca221(0xac)]=!0x1;}[_0x232975(0xd8)](){const _0x3ff114=_0x232975,_0xe0e7d=this[_0x3ff114(0xdb)]();_0xe0e7d&&!this[_0x3ff114(0x9f)]&&(this[_0x3ff114(0x9f)]=new _0x15b607(_0xe0e7d));}[_0x232975(0xdb)](){const _0x50f39c=_0x232975;return this[_0x50f39c(0xc6)][_0x50f39c(0x104)];}}class Ln extends _0xb7107{constructor(_0x52954c){const _0x36fda6=_0x232975;super(_0x52954c);const _0x5659bd=this[_0x36fda6(0xb9)];this[_0x36fda6(0xf9)](_0x36fda6(0x105),_0x36fda6(0xd1)),this[_0x36fda6(0xce)]({'tag':_0x36fda6(0x99),'attributes':{'class':[_0x36fda6(0xe2)]},'children':[{'text':_0x5659bd['to'](_0x36fda6(0x105))}]});}[_0x232975(0xf8)](_0x232e70){const _0xf51be7=_0x232975;this[_0xf51be7(0xf9)](_0xf51be7(0x105),_0x232e70);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5767(){const _0x3f9ac0=['mouseenter','153pMiagK','content','10640gwBkWf','bindTemplate','55155biWmHL','_createArrowView','1513174KfWvvw','1048716QxePIq','menuitem','extendTemplate','render','children','arrowView','45JExdlg','74qiujsA','664700McoGJn','3726240GIargI','ck-dropdown-menu-list__nested-menu__button__arrow','ck-dropdown-menu-list__nested-menu__button','100441ceuacx','set','2810nUzgsl','isOn','add'];_0x5767=function(){return _0x3f9ac0;};return _0x5767();}const _0x4d9bfa=_0x4b7c;function _0x4b7c(_0x404d63,_0x5ef080){const _0x5767bb=_0x5767();return _0x4b7c=function(_0x4b7c0d,_0x4ebd29){_0x4b7c0d=_0x4b7c0d-0x187;let _0x5a90da=_0x5767bb[_0x4b7c0d];return _0x5a90da;},_0x4b7c(_0x404d63,_0x5ef080);}(function(_0x3cebc0,_0x14442c){const _0x172bed=_0x4b7c,_0x184756=_0x3cebc0();while(!![]){try{const _0x571349=parseInt(_0x172bed(0x195))/0x1+-parseInt(_0x172bed(0x19d))/0x2*(-parseInt(_0x172bed(0x193))/0x3)+parseInt(_0x172bed(0x19e))/0x4+-parseInt(_0x172bed(0x19c))/0x5*(-parseInt(_0x172bed(0x196))/0x6)+-parseInt(_0x172bed(0x19f))/0x7+-parseInt(_0x172bed(0x191))/0x8*(parseInt(_0x172bed(0x18f))/0x9)+parseInt(_0x172bed(0x18b))/0xa*(-parseInt(_0x172bed(0x189))/0xb);if(_0x571349===_0x14442c)break;else _0x184756['push'](_0x184756['shift']());}catch(_0x4c6932){_0x184756['push'](_0x184756['shift']());}}}(_0x5767,0xc6397));import{IconView as _0x53da4c,ListItemButtonView as _0x2067c9}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x3a50ba}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x2067c9{[_0x4d9bfa(0x19b)];constructor(_0x3c556c,_0x21c663){const _0x5753be=_0x4d9bfa;super(_0x3c556c,_0x21c663);const _0x36b083=this[_0x5753be(0x192)];this[_0x5753be(0x18a)]({'withText':!0x0,'role':_0x5753be(0x197)}),this[_0x5753be(0x19b)]=this[_0x5753be(0x194)](),this[_0x5753be(0x198)]({'attributes':{'class':[_0x5753be(0x188)],'aria-haspopup':!0x0,'aria-expanded':this[_0x5753be(0x192)]['to'](_0x5753be(0x18c),_0x3cb0f4=>String(_0x3cb0f4)),'data-cke-tooltip-disabled':_0x36b083['to'](_0x5753be(0x18c))},'on':{'mouseenter':_0x36b083['to'](_0x5753be(0x18e))}});}[_0x4d9bfa(0x199)](){const _0x363209=_0x4d9bfa;super[_0x363209(0x199)](),this[_0x363209(0x19a)][_0x363209(0x18d)](this[_0x363209(0x19b)]);}[_0x4d9bfa(0x194)](){const _0x3a2a0e=_0x4d9bfa,_0xcb4eb7=new _0x53da4c();return _0xcb4eb7[_0x3a2a0e(0x190)]=_0x3a50ba,_0xcb4eb7[_0x3a2a0e(0x198)]({'attributes':{'class':_0x3a2a0e(0x187)}}),_0xcb4eb7;}}
23
+ const _0x1be54f=_0x5f0a;function _0x5f0a(_0x136f65,_0x279132){const _0x4500a0=_0x4500();return _0x5f0a=function(_0x5f0a17,_0x4d91c4){_0x5f0a17=_0x5f0a17-0x66;let _0x3a6593=_0x4500a0[_0x5f0a17];return _0x3a6593;},_0x5f0a(_0x136f65,_0x279132);}function _0x4500(){const _0x26ed13=['25529097HfMXsm','1550244NUVnPC','47226WGxMnu','menuitem','10XobBOw','set','ck-dropdown-menu-list__nested-menu__button','add','mouseenter','isOn','children','39WDesED','973IGOsOK','extendTemplate','arrowView','_createArrowView','5182504ZqWHvP','95538zYhTci','bindTemplate','10NpjdYy','1371097HxTFnc','content','ck-dropdown-menu-list__nested-menu__button__arrow','render','6317703CQitaG'];_0x4500=function(){return _0x26ed13;};return _0x4500();}(function(_0x5ccc4e,_0x1d9d39){const _0x59366f=_0x5f0a,_0x3c5c1c=_0x5ccc4e();while(!![]){try{const _0x21be2a=parseInt(_0x59366f(0x75))/0x1+-parseInt(_0x59366f(0x72))/0x2*(-parseInt(_0x59366f(0x6c))/0x3)+parseInt(_0x59366f(0x7b))/0x4*(parseInt(_0x59366f(0x7e))/0x5)+-parseInt(_0x59366f(0x7c))/0x6*(parseInt(_0x59366f(0x6d))/0x7)+parseInt(_0x59366f(0x71))/0x8+parseInt(_0x59366f(0x79))/0x9+parseInt(_0x59366f(0x74))/0xa*(-parseInt(_0x59366f(0x7a))/0xb);if(_0x21be2a===_0x1d9d39)break;else _0x3c5c1c['push'](_0x3c5c1c['shift']());}catch(_0x569c59){_0x3c5c1c['push'](_0x3c5c1c['shift']());}}}(_0x4500,0xab694));import{IconView as _0x40b2df,ListItemButtonView as _0x253580}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x532574}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x253580{[_0x1be54f(0x6f)];constructor(_0x27a9e4,_0x55208c){const _0x35e1bf=_0x1be54f;super(_0x27a9e4,_0x55208c);const _0x1dcce8=this[_0x35e1bf(0x73)];this[_0x35e1bf(0x66)]({'withText':!0x0,'role':_0x35e1bf(0x7d)}),this[_0x35e1bf(0x6f)]=this[_0x35e1bf(0x70)](),this[_0x35e1bf(0x6e)]({'attributes':{'class':[_0x35e1bf(0x67)],'aria-haspopup':!0x0,'aria-expanded':this[_0x35e1bf(0x73)]['to'](_0x35e1bf(0x6a),_0x3fb7b6=>String(_0x3fb7b6)),'data-cke-tooltip-disabled':_0x1dcce8['to'](_0x35e1bf(0x6a))},'on':{'mouseenter':_0x1dcce8['to'](_0x35e1bf(0x69))}});}[_0x1be54f(0x78)](){const _0x16254d=_0x1be54f;super[_0x16254d(0x78)](),this[_0x16254d(0x6b)][_0x16254d(0x68)](this[_0x16254d(0x6f)]);}[_0x1be54f(0x70)](){const _0x24f845=_0x1be54f,_0x4c39f4=new _0x40b2df();return _0x4c39f4[_0x24f845(0x76)]=_0x532574,_0x4c39f4[_0x24f845(0x6e)]({'attributes':{'class':_0x24f845(0x77)}}),_0x4c39f4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26635c=_0x26f3;(function(_0x4e2fa4,_0x39581c){const _0x151d81=_0x26f3,_0xf9dbab=_0x4e2fa4();while(!![]){try{const _0x5b52ea=-parseInt(_0x151d81(0xaf))/0x1+parseInt(_0x151d81(0x7d))/0x2*(-parseInt(_0x151d81(0xa2))/0x3)+parseInt(_0x151d81(0x111))/0x4*(parseInt(_0x151d81(0x88))/0x5)+parseInt(_0x151d81(0xd6))/0x6*(-parseInt(_0x151d81(0x92))/0x7)+-parseInt(_0x151d81(0xfd))/0x8*(-parseInt(_0x151d81(0x9a))/0x9)+-parseInt(_0x151d81(0x83))/0xa+parseInt(_0x151d81(0xa9))/0xb*(parseInt(_0x151d81(0xeb))/0xc);if(_0x5b52ea===_0x39581c)break;else _0xf9dbab['push'](_0xf9dbab['shift']());}catch(_0x3aa96a){_0xf9dbab['push'](_0xf9dbab['shift']());}}}(_0x1454,0x440bc));import{ContextPlugin as _0x1ec4d6}from'ckeditor5/src/core.js';function _0x26f3(_0x278a45,_0x677739){const _0x14540d=_0x1454();return _0x26f3=function(_0x26f339,_0x38d205){_0x26f339=_0x26f339-0x7a;let _0x87ff7f=_0x14540d[_0x26f339];return _0x87ff7f;},_0x26f3(_0x278a45,_0x677739);}import{CKEditorError as _0x4524dd,logError as _0x1dbef8,scrollAncestorsToShowTarget as _0x526a18,scrollViewportToShowTarget as _0x53a795}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x5466ac}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x40a950}from'../aicore/utils/common-translations.js';import{AIConnector as _0x2a13e1}from'../aicore/aiconnector.js';function _0x1454(){const _0x4e7d71=['markChangeAsAccepted','dismissChange','hasModifications','params','showReviewCheckList','finished','getActiveChanges','restart','switchToEdit','getRoot','requires','title','ai-request-aborted','_onChangeMarkerHovered','4YnaLfP','documentData','_onReviewRunLeave','_onChangeMarkerBlurred','result','showCheckRunResults','includes','plugins','_onReviewCheckResultActivated','_aiReviewCoreEditing','_aiReviewCoreUi','2rDMouo','changeMarkerClicked','reviewCheckResultActivated','getDocumentData','updateChangeState','getEditor','522280qfvryQ','args','ai-review-mode-models-unable-to-retrieve','start','map','2327935hsJJGa','markChangeAsPending','ck-ai_review-diff','_onChangeMarkerClicked','currentError','_markChangePositionInEditorContent','getCheckById','leaveReview','showChunkErrorView','emitter','1012347PnECOD','data','_currentReviewCheckRun','showCheckRunResult','leaveReviewCoreResultList','init','ai-review-mode-no-current-check-run','_scrollToChange','9OYDyss','ck-ai-translate-mode-content','startsWith','get','closest','showGeneralReviewCoreErrorView','message','deactivateChange','1060149IbcRya','changeMarkerBlurred','abortReviewStream','panel','contentInitial','reviewCheckResultReady','loading','404140SSCVOU','reviewCheckResultAdded','status','unmodified','markChangeAsRejected','stopListening','145876huRliO','_changeActivationSource','markChangeAsOutdated','error-general','rejectChange','runReviewCheck','isOfficialPlugin','addResultChanges','locale','sendRating','acceptAllChanges','switchToReadOnly','setCheckResultTitle','change','_aiReviewCheckList','abort','_initRequiredPlugins','markAllChangesAsAccepted','getReviewCheckList','checks','applyChange','showNoChangesView','aborted','isChangeActive','getChangeElement','ai-review-mode-source-check-not-found','hideChangeBalloon','forceReadyState','ai-review-mode-check-run-failed','_getChecksList','contentNew','removeClass','isPremiumPlugin','showActionsWhenResultIsReady','_diffContent','setAvailableChecks','ck-ai_review-highlights','ai-review-mode-check-run-general-error','_onDeactivateChange','6pjXChD','updateDocumentData','ready','showReviewCompletedView','_createReviewCheckRun','context','changeMarkerHovered','AIConnector','changes','activateChange','_getTranslationWithDefault','.ck-ai_review__check-run-result','ai-review-mode-check-run-chunk-error','editing','_onReviewCheckResultDeactivated','reviewCheckResultChangeStatusUpdated','acceptChange','reviewCheckRunUpdated','reviewCheckResultDeactivated','retryReview','subTitle','60PaTmxQ','error-chunk','_aiConnector','_onChangeMarkerRestored','processedResultsCount','_onActivateChange','changeId','_logError','_onReviewCheckRun','source','listenTo','showGeneralResultsErrorView','clearAllMarkers','_onCheckRunFinished','finishReview','_onChangeMarkerRemoved','view','_getChangeContentElement','2604296tzQHgg','content','changeMarkerRemoved','length','changeMarkerRestored','document'];_0x1454=function(){return _0x4e7d71;};return _0x1454();}export class AIReviewCoreController extends _0x1ec4d6{[_0x26635c(0xed)];[_0x26635c(0x7c)];[_0x26635c(0x7b)];[_0x26635c(0xbd)];[_0x26635c(0x94)];[_0x26635c(0xb0)]=null;static get[_0x26635c(0x10d)](){return[_0x2a13e1];}static get[_0x26635c(0xb5)](){return!0x0;}static get[_0x26635c(0xcf)](){return!0x0;}async[_0x26635c(0x97)](){const _0x347a01=_0x26635c;this[_0x347a01(0xbf)](),this[_0x347a01(0xbd)]=await this[_0x347a01(0xcc)](),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xc1),()=>{const _0x20b4e1=_0x347a01;this[_0x20b4e1(0x7c)][_0x20b4e1(0xd2)](this[_0x20b4e1(0xbd)][_0x20b4e1(0xc2)]);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xb4),async(_0x419b5b,_0x387007)=>{const _0x3fd792=_0x347a01,_0x575bd0=this[_0x3fd792(0xbd)][_0x3fd792(0x8e)](_0x387007['id']);if(_0x575bd0){this[_0x3fd792(0xf3)](_0x387007),this[_0x3fd792(0x7b)][_0x3fd792(0xba)](),this[_0x3fd792(0x94)]=this[_0x3fd792(0xda)](_0x387007,_0x575bd0),this[_0x3fd792(0x7c)][_0x3fd792(0xbb)](this[_0x3fd792(0x94)][_0x3fd792(0x10e)],this[_0x3fd792(0x94)][_0x3fd792(0xea)]),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xe7),(_0x59e95e,_0x350172)=>{const _0x3a2c8d=_0x3fd792;switch(_0x350172[_0x3a2c8d(0xab)]){case _0x3a2c8d(0x93):case _0x3a2c8d(0xa8):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0x116)](_0x350172);break;case _0x3a2c8d(0x108):this[_0x3a2c8d(0xf8)]();break;case _0x3a2c8d(0xd8):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0xd0)]();break;case _0x3a2c8d(0xac):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0xc4)]();break;case _0x3a2c8d(0xb2):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0xf6)](),this[_0x3a2c8d(0xf2)](new _0x4524dd(_0x3a2c8d(0xd4),this,void 0x0,this[_0x3a2c8d(0x94)]?.[_0x3a2c8d(0x8c)]));break;case _0x3a2c8d(0xec):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0x90)](),this[_0x3a2c8d(0xf2)](new _0x4524dd(_0x3a2c8d(0xe2),this,void 0x0,this[_0x3a2c8d(0x94)]?.[_0x3a2c8d(0x8c)]));break;case _0x3a2c8d(0xc5):this[_0x3a2c8d(0x94)]&&this[_0x3a2c8d(0x94)][_0x3a2c8d(0xef)]>0x0?setTimeout(()=>{const _0x41e0d9=_0x3a2c8d;this[_0x41e0d9(0x94)]?.[_0x41e0d9(0xca)]();},0x0):this[_0x3a2c8d(0x113)](!0x0);}_0x3a2c8d(0xd8)!==_0x350172[_0x3a2c8d(0xab)]&&_0x3a2c8d(0xec)!==_0x350172[_0x3a2c8d(0xab)]&&_0x3a2c8d(0xb2)!==_0x350172[_0x3a2c8d(0xab)]||this[_0x3a2c8d(0x94)]?.[_0x3a2c8d(0xb8)]();}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xaa),(_0x410c3f,_0x3b9369)=>{const _0x44c0fb=_0x3fd792;if(!this[_0x44c0fb(0x94)])throw new _0x4524dd(_0x44c0fb(0x98),this);const _0x135ff4=this[_0x44c0fb(0xd1)](_0x3b9369[_0x44c0fb(0x115)][_0x44c0fb(0xa6)],_0x3b9369[_0x44c0fb(0x115)][_0x44c0fb(0xcd)]);_0x3b9369[_0x44c0fb(0xf4)][_0x44c0fb(0xb6)](_0x3b9369[_0x44c0fb(0x115)]['id'],_0x135ff4);}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xa7),(_0x308a8b,_0x52b1f)=>{const _0x78aa5b=_0x3fd792;for(const _0xfed0d3 of _0x52b1f[_0x78aa5b(0xde)])this[_0x78aa5b(0x7c)][_0x78aa5b(0x95)](_0xfed0d3);this[_0x78aa5b(0x8d)](_0x52b1f[_0x78aa5b(0xde)],_0x52b1f[_0x78aa5b(0xf4)][_0x78aa5b(0x112)]);}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xe5),(_0x4d46b3,_0x36bb3b)=>{const _0xce179c=_0x3fd792;this[_0xce179c(0x7c)][_0xce179c(0x81)](_0x36bb3b[_0xce179c(0xbc)]['id'],_0x36bb3b[_0xce179c(0xab)]);}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0x7f),(_0xe2a7d4,_0x264705)=>{const _0x2e3c1a=_0x3fd792;this[_0x2e3c1a(0x7a)](_0x264705);}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xe8),()=>{const _0x21bf38=_0x3fd792;this[_0x21bf38(0xe4)]();});try{await this[_0x3fd792(0x94)][_0x3fd792(0x86)]();}catch(_0xd015a4){_0xd015a4 instanceof Error&&_0xd015a4[_0x3fd792(0xa0)][_0x3fd792(0x117)](_0x3fd792(0x10f))||(_0xd015a4 instanceof _0x4524dd?this[_0x3fd792(0xf2)](_0xd015a4):this[_0x3fd792(0xf2)](new _0x4524dd(_0x3fd792(0xcb),this,void 0x0,_0xd015a4)));}}else this[_0x3fd792(0xf2)](new _0x4524dd(_0x3fd792(0xc8),this,{'checkId':_0x387007['id']}));}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0x8f),()=>{const _0x3062ad=_0x347a01;this[_0x3062ad(0x113)]();}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0x96),()=>{const _0x4e9ff5=_0x347a01;this[_0x4e9ff5(0x113)](!0x0);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xa4),()=>{const _0x305fbb=_0x347a01;this[_0x305fbb(0x94)]&&this[_0x305fbb(0x94)][_0x305fbb(0xbe)]();}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xf9),()=>{const _0x1b3d6a=_0x347a01;this[_0x1b3d6a(0x113)](!0x0);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xb9),()=>{const _0x5610a6=_0x347a01;if(!this[_0x5610a6(0x94)])return;const _0x413a28=this[_0x5610a6(0x94)][_0x5610a6(0x109)]();if(!_0x413a28[_0x5610a6(0x100)])return;this[_0x5610a6(0x7b)][_0x5610a6(0xc3)](_0x413a28[_0x5610a6(0x87)](_0x553c91=>_0x553c91['id']));const _0x3da511=this[_0x5610a6(0x94)];_0x3da511[_0x5610a6(0xc0)](),_0x3da511[_0x5610a6(0xb8)]();}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xe6),(_0x4b127f,_0x309b90)=>{const _0x56007c=_0x347a01;this[_0x56007c(0x94)]&&this[_0x56007c(0x94)][_0x56007c(0xc6)](_0x309b90['id'])&&(this[_0x56007c(0x7b)][_0x56007c(0xc3)]([_0x309b90['id']]),this[_0x56007c(0x94)][_0x56007c(0x103)](_0x309b90['id']),this[_0x56007c(0x7c)][_0x56007c(0xc9)](),this[_0x56007c(0x94)][_0x56007c(0xb8)](_0x309b90['id']));}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0x104),(_0x3fae89,_0x504686)=>{const _0x72cfb9=_0x347a01;this[_0x72cfb9(0x94)]&&this[_0x72cfb9(0x94)][_0x72cfb9(0xc6)](_0x504686['id'])&&(this[_0x72cfb9(0x7b)][_0x72cfb9(0xb3)](_0x504686['id']),this[_0x72cfb9(0x94)][_0x72cfb9(0xad)](_0x504686['id']),this[_0x72cfb9(0x7c)][_0x72cfb9(0xc9)](),this[_0x72cfb9(0x94)][_0x72cfb9(0xb8)](_0x504686['id']));}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xe9),async()=>{const _0x469d79=_0x347a01;this[_0x469d79(0x94)]&&(this[_0x469d79(0x7b)][_0x469d79(0xf7)](),this[_0x469d79(0x94)][_0x469d79(0xd7)](this[_0x469d79(0x7b)][_0x469d79(0x80)]()),await this[_0x469d79(0x94)][_0x469d79(0x10a)]());}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xdf),(_0x166039,_0x49ef95)=>{const _0x43164a=_0x347a01;this[_0x43164a(0xf0)](_0x49ef95);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xa1),(_0x4ae509,_0x3e042b)=>{const _0x233dbd=_0x347a01;this[_0x233dbd(0xd5)](_0x3e042b);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0x7e),(_0x3e97f8,_0x31f7e4)=>{const _0x217c62=_0x347a01;this[_0x217c62(0x8b)](_0x3e97f8,_0x31f7e4);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0xdc),(_0x3c6cd8,_0x1b7326)=>{const _0x35163e=_0x347a01;this[_0x35163e(0x110)](_0x3c6cd8,_0x1b7326);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0xa3),()=>{const _0x49f6b4=_0x347a01;this[_0x49f6b4(0x114)]();}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0xff),(_0x594327,_0x2fddfa)=>{const _0xa146b4=_0x347a01;this[_0xa146b4(0xfa)](_0x594327,_0x2fddfa);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0x101),(_0x48273b,_0x352923)=>{const _0x64878a=_0x347a01;this[_0x64878a(0xee)](_0x48273b,_0x352923);});}[_0x26635c(0xda)](_0x438f1c,_0x17f7f3){const _0x19face=_0x26635c;return new _0x5466ac(this[_0x19face(0x7b)][_0x19face(0x80)](),_0x17f7f3,this[_0x19face(0xed)],_0x438f1c[_0x19face(0x106)],_0x438f1c[_0x19face(0x84)]);}[_0x26635c(0xfa)](_0x21fd07,_0x55eb3d){const _0x34ce6c=_0x26635c;this[_0x34ce6c(0x94)]&&this[_0x34ce6c(0x94)][_0x34ce6c(0xb1)](_0x55eb3d[_0x34ce6c(0xf1)]);}[_0x26635c(0xee)](_0x53fa6d,_0x2071b6){const _0x1f4291=_0x26635c;this[_0x1f4291(0x94)]&&this[_0x1f4291(0x94)][_0x1f4291(0x89)](_0x2071b6[_0x1f4291(0xf1)]);}[_0x26635c(0xf8)](){const _0x51d902=_0x26635c;this[_0x51d902(0x7c)][_0x51d902(0xd9)]();}[_0x26635c(0xbf)](){const _0x2399d9=_0x26635c;this[_0x2399d9(0xed)]=this[_0x2399d9(0xdb)][_0x2399d9(0x118)][_0x2399d9(0x9d)](_0x2399d9(0xdd));}[_0x26635c(0x113)](_0x49ba07=!0x1){const _0x1581de=_0x26635c;this[_0x1581de(0x94)]&&(this[_0x1581de(0x94)][_0x1581de(0x105)]||this[_0x1581de(0x94)][_0x1581de(0xb8)](),this[_0x1581de(0x94)][_0x1581de(0xae)](),this[_0x1581de(0x94)][_0x1581de(0xbe)](),this[_0x1581de(0x94)]=void 0x0),_0x49ba07&&this[_0x1581de(0x7c)][_0x1581de(0x107)](),this[_0x1581de(0x7b)][_0x1581de(0xf7)](),this[_0x1581de(0x7b)][_0x1581de(0x10b)](),this[_0x1581de(0xb0)]=null;const _0x1324bf=this[_0x1581de(0x7b)][_0x1581de(0x82)]();_0x1324bf&&_0x1324bf[_0x1581de(0xe3)][_0x1581de(0xfb)][_0x1581de(0xbc)](_0x362e06=>{const _0x1faaeb=_0x1581de,_0x59eea5=_0x1324bf[_0x1faaeb(0xe3)][_0x1faaeb(0xfb)][_0x1faaeb(0x102)][_0x1faaeb(0x10c)]();_0x362e06[_0x1faaeb(0xce)](_0x1faaeb(0x8a),_0x59eea5),_0x362e06[_0x1faaeb(0xce)](_0x1faaeb(0xd3),_0x59eea5),_0x362e06[_0x1faaeb(0xce)](_0x1faaeb(0x9b),_0x59eea5);});}[_0x26635c(0xe0)](_0x4811da,_0x37266d){const _0x5422f6=_0x26635c,_0x2d7dde=this[_0x5422f6(0xdb)][_0x5422f6(0xb7)],_0x13144a=_0x40a950(_0x2d7dde,_0x4811da);return _0x13144a===_0x4811da?_0x37266d:_0x13144a;}[_0x26635c(0xf2)](_0x4c8c85,_0x1be3f4=!0x1){const _0x5db243=_0x26635c;_0x1dbef8(_0x4c8c85[_0x5db243(0xa0)]),_0x1be3f4||(_0x4c8c85[_0x5db243(0xa0)][_0x5db243(0x9c)](_0x5db243(0x85))?this[_0x5db243(0x7c)][_0x5db243(0x9f)]():this[_0x5db243(0x7c)][_0x5db243(0xf6)]());}[_0x26635c(0x99)](_0xe1ab16){const _0x208fc5=_0x26635c;if(_0x208fc5(0xfe)===this[_0x208fc5(0xb0)]){const _0x3ad99e=this[_0x208fc5(0x7c)][_0x208fc5(0xc7)](_0xe1ab16);_0x3ad99e&&_0x526a18(_0x3ad99e[_0x208fc5(0x9e)](_0x208fc5(0xe1))||_0x3ad99e);}else{if(_0x208fc5(0xa5)===this[_0x208fc5(0xb0)]){const _0x47a42b=this[_0x208fc5(0xfc)](_0xe1ab16);if(!_0x47a42b)return;_0x53a795({'target':_0x47a42b,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
23
+ function _0x22e3(){const _0x1cb78d=['ready','_aiReviewCoreUi','startsWith','changeMarkerClicked','finishReview','message','applyChange','showCheckRunResults','dismissChange','ai-request-aborted','forceReadyState','_getChangeContentElement','markChangeAsPending','data','view','init','stopListening','status','_markChangePositionInEditorContent','_onChangeMarkerRemoved','showGeneralReviewCoreErrorView','contentInitial','panel','documentData','get','showReviewCompletedView','markChangeAsAccepted','_onChangeMarkerClicked','setCheckResultTitle','5416260WFaDbB','acceptChange','unmodified','_createReviewCheckRun','16560060enfYEG','_currentReviewCheckRun','switchToReadOnly','contentNew','changeMarkerRestored','getRoot','runReviewCheck','_logError','_onReviewCheckResultActivated','includes','changes','subTitle','plugins','_initRequiredPlugins','91112kmtAhW','updateDocumentData','getChangeElement','showNoChangesView','_aiReviewCoreEditing','isPremiumPlugin','error-chunk','locale','_changeActivationSource','showReviewCheckList','isChangeActive','hasModifications','_aiConnector','start','502206JNWFUn','change','markAllChangesAsAccepted','rejectChange','ai-review-mode-check-run-chunk-error','1662800SolAtG','77bVKiLd','source','removeClass','map','getDocumentData','changeId','_getChecksList','showActionsWhenResultIsReady','63ypKcMK','markChangeAsRejected','reviewCheckResultAdded','_diffContent','setAvailableChecks','requires','closest','abort','551548cdckCp','AIConnector','ai-review-mode-source-check-not-found','sendRating','_getTranslationWithDefault','24AtkUeF','result','_onReviewRunLeave','length','ck-ai_review-diff','loading','title','ai-review-mode-no-current-check-run','_onReviewCheckRun','listenTo','acceptAllChanges','getReviewCheckList','params','retryReview','_scrollToChange','changeMarkerHovered','_onReviewCheckResultDeactivated','document','ai-review-mode-check-run-failed','updateChangeState','_onDeactivateChange','_onChangeMarkerRestored','getCheckById','currentError','editing','aborted','showCheckRunResult','addResultChanges','ck-ai_review-highlights','leaveReviewCoreResultList','isOfficialPlugin','activateChange','finished','processedResultsCount','reviewCheckResultDeactivated','ai-review-mode-check-run-general-error','changeMarkerBlurred','_onActivateChange','content','ai-review-mode-models-unable-to-retrieve','795051WcPJTt','reviewCheckResultActivated','getEditor','error-general','markChangeAsOutdated','emitter','restart','_onChangeMarkerHovered','hideChangeBalloon','showChunkErrorView','_onChangeMarkerBlurred','reviewCheckResultReady','changeMarkerRemoved','_onCheckRunFinished','context','_aiReviewCheckList','getActiveChanges','deactivateChange','ck-ai-translate-mode-content','leaveReview','args','reviewCheckResultChangeStatusUpdated','reviewCheckRunUpdated','.ck-ai_review__check-run-result','abortReviewStream','showGeneralResultsErrorView','checks','switchToEdit','clearAllMarkers'];_0x22e3=function(){return _0x1cb78d;};return _0x22e3();}const _0x36c3c5=_0x2ce8;(function(_0x486378,_0x222670){const _0x3ad57e=_0x2ce8,_0x10046b=_0x486378();while(!![]){try{const _0x146732=-parseInt(_0x3ad57e(0x1fb))/0x1+-parseInt(_0x3ad57e(0x1d7))/0x2*(-parseInt(_0x3ad57e(0x1f3))/0x3)+parseInt(_0x3ad57e(0x1ea))/0x4+-parseInt(_0x3ad57e(0x1c5))/0x5+parseInt(_0x3ad57e(0x1e5))/0x6*(-parseInt(_0x3ad57e(0x1eb))/0x7)+-parseInt(_0x3ad57e(0x200))/0x8*(-parseInt(_0x3ad57e(0x228))/0x9)+parseInt(_0x3ad57e(0x1c9))/0xa;if(_0x146732===_0x222670)break;else _0x10046b['push'](_0x10046b['shift']());}catch(_0x3ff2cd){_0x10046b['push'](_0x10046b['shift']());}}}(_0x22e3,0xb4260));import{ContextPlugin as _0x1b7432}from'ckeditor5/src/core.js';import{CKEditorError as _0x59f7ac,logError as _0x128c0b,scrollAncestorsToShowTarget as _0x3cfaa9,scrollViewportToShowTarget as _0x32c935}from'ckeditor5/src/utils.js';function _0x2ce8(_0x205a61,_0x309128){const _0x22e3ee=_0x22e3();return _0x2ce8=function(_0x2ce88a,_0x1703ee){_0x2ce88a=_0x2ce88a-0x1bc;let _0x34a0cc=_0x22e3ee[_0x2ce88a];return _0x34a0cc;},_0x2ce8(_0x205a61,_0x309128);}import{AIReviewSystemCheckRun as _0x240383}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x2b63e2}from'../aicore/utils/common-translations.js';import{AIConnector as _0x30fa6d}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x1b7432{[_0x36c3c5(0x1e3)];[_0x36c3c5(0x246)];[_0x36c3c5(0x1db)];[_0x36c3c5(0x237)];[_0x36c3c5(0x1ca)];[_0x36c3c5(0x1df)]=null;static get[_0x36c3c5(0x1f8)](){return[_0x30fa6d];}static get[_0x36c3c5(0x21e)](){return!0x0;}static get[_0x36c3c5(0x1dc)](){return!0x0;}async[_0x36c3c5(0x254)](){const _0x11c827=_0x36c3c5;this[_0x11c827(0x1d6)](),this[_0x11c827(0x237)]=await this[_0x11c827(0x1f1)](),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x20b),()=>{const _0x4a7a89=_0x11c827;this[_0x4a7a89(0x246)][_0x4a7a89(0x1f7)](this[_0x4a7a89(0x237)][_0x4a7a89(0x242)]);}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x1cf),async(_0x4bfaca,_0x1b34b8)=>{const _0x52f737=_0x11c827,_0x4bd517=this[_0x52f737(0x237)][_0x52f737(0x216)](_0x1b34b8['id']);if(_0x4bd517){this[_0x52f737(0x208)](_0x1b34b8),this[_0x52f737(0x1db)][_0x52f737(0x1cb)](),this[_0x52f737(0x1ca)]=this[_0x52f737(0x1c8)](_0x1b34b8,_0x4bd517),this[_0x52f737(0x246)][_0x52f737(0x1c4)](this[_0x52f737(0x1ca)][_0x52f737(0x206)],this[_0x52f737(0x1ca)][_0x52f737(0x1d4)]),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x23e),(_0x51123f,_0x271e4d)=>{const _0x33d89d=_0x52f737;switch(_0x271e4d[_0x33d89d(0x256)]){case _0x33d89d(0x252):case _0x33d89d(0x205):this[_0x33d89d(0x246)][_0x33d89d(0x24c)](_0x271e4d);break;case _0x33d89d(0x220):this[_0x33d89d(0x235)]();break;case _0x33d89d(0x245):this[_0x33d89d(0x246)][_0x33d89d(0x1f2)]();break;case _0x33d89d(0x1c7):this[_0x33d89d(0x246)][_0x33d89d(0x1da)]();break;case _0x33d89d(0x22b):this[_0x33d89d(0x246)][_0x33d89d(0x241)](),this[_0x33d89d(0x1d0)](new _0x59f7ac(_0x33d89d(0x223),this,void 0x0,this[_0x33d89d(0x1ca)]?.[_0x33d89d(0x217)]));break;case _0x33d89d(0x1dd):this[_0x33d89d(0x246)][_0x33d89d(0x231)](),this[_0x33d89d(0x1d0)](new _0x59f7ac(_0x33d89d(0x1e9),this,void 0x0,this[_0x33d89d(0x1ca)]?.[_0x33d89d(0x217)]));break;case _0x33d89d(0x219):this[_0x33d89d(0x1ca)]&&this[_0x33d89d(0x1ca)][_0x33d89d(0x221)]>0x0?setTimeout(()=>{const _0x1ca8a8=_0x33d89d;this[_0x1ca8a8(0x1ca)]?.[_0x1ca8a8(0x24f)]();},0x0):this[_0x33d89d(0x202)](!0x0);}_0x33d89d(0x245)!==_0x271e4d[_0x33d89d(0x256)]&&_0x33d89d(0x1dd)!==_0x271e4d[_0x33d89d(0x256)]&&_0x33d89d(0x22b)!==_0x271e4d[_0x33d89d(0x256)]||this[_0x33d89d(0x1ca)]?.[_0x33d89d(0x1fe)]();}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x1f5),(_0x369d54,_0xa14419)=>{const _0x197409=_0x52f737;if(!this[_0x197409(0x1ca)])throw new _0x59f7ac(_0x197409(0x207),this);const _0x1c86cf=this[_0x197409(0x1f6)](_0xa14419[_0x197409(0x201)][_0x197409(0x1bd)],_0xa14419[_0x197409(0x201)][_0x197409(0x1cc)]);_0xa14419[_0x197409(0x1ec)][_0x197409(0x21b)](_0xa14419[_0x197409(0x201)]['id'],_0x1c86cf);}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x233),(_0x17691c,_0x11a148)=>{const _0xad57a1=_0x52f737;for(const _0x13b2a2 of _0x11a148[_0xad57a1(0x1d3)])this[_0xad57a1(0x246)][_0xad57a1(0x21a)](_0x13b2a2);this[_0xad57a1(0x257)](_0x11a148[_0xad57a1(0x1d3)],_0x11a148[_0xad57a1(0x1ec)][_0xad57a1(0x1bf)]);}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x23d),(_0x12596c,_0x4827b6)=>{const _0x733640=_0x52f737;this[_0x733640(0x246)][_0x733640(0x213)](_0x4827b6[_0x733640(0x1e6)]['id'],_0x4827b6[_0x733640(0x256)]);}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x229),(_0x3c73fd,_0x53bb54)=>{const _0x3ad65d=_0x52f737;this[_0x3ad65d(0x1d1)](_0x53bb54);}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x222),()=>{const _0x3e5d95=_0x52f737;this[_0x3e5d95(0x210)]();});try{await this[_0x52f737(0x1ca)][_0x52f737(0x1e4)]();}catch(_0x48c9fd){_0x48c9fd instanceof Error&&_0x48c9fd[_0x52f737(0x24a)][_0x52f737(0x1d2)](_0x52f737(0x24e))||(_0x48c9fd instanceof _0x59f7ac?this[_0x52f737(0x1d0)](_0x48c9fd):this[_0x52f737(0x1d0)](new _0x59f7ac(_0x52f737(0x212),this,void 0x0,_0x48c9fd)));}}else this[_0x52f737(0x1d0)](new _0x59f7ac(_0x52f737(0x1fd),this,{'checkId':_0x1b34b8['id']}));}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x23b),()=>{const _0x4eca32=_0x11c827;this[_0x4eca32(0x202)]();}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x21d),()=>{const _0x37ac21=_0x11c827;this[_0x37ac21(0x202)](!0x0);}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x240),()=>{const _0x4d938e=_0x11c827;this[_0x4d938e(0x1ca)]&&this[_0x4d938e(0x1ca)][_0x4d938e(0x1fa)]();}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x249),()=>{const _0x42a9f8=_0x11c827;this[_0x42a9f8(0x202)](!0x0);}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x20a),()=>{const _0x43fe40=_0x11c827;if(!this[_0x43fe40(0x1ca)])return;const _0x1f5ca5=this[_0x43fe40(0x1ca)][_0x43fe40(0x238)]();if(!_0x1f5ca5[_0x43fe40(0x203)])return;this[_0x43fe40(0x1db)][_0x43fe40(0x24b)](_0x1f5ca5[_0x43fe40(0x1ee)](_0x22ccf5=>_0x22ccf5['id']));const _0x3f8581=this[_0x43fe40(0x1ca)];_0x3f8581[_0x43fe40(0x1e7)](),_0x3f8581[_0x43fe40(0x1fe)]();}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x1c6),(_0x312e9b,_0x284def)=>{const _0x423598=_0x11c827;this[_0x423598(0x1ca)]&&this[_0x423598(0x1ca)][_0x423598(0x1e1)](_0x284def['id'])&&(this[_0x423598(0x1db)][_0x423598(0x24b)]([_0x284def['id']]),this[_0x423598(0x1ca)][_0x423598(0x1c2)](_0x284def['id']),this[_0x423598(0x246)][_0x423598(0x230)](),this[_0x423598(0x1ca)][_0x423598(0x1fe)](_0x284def['id']));}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x24d),(_0x427749,_0x315ceb)=>{const _0x4e9d5b=_0x11c827;this[_0x4e9d5b(0x1ca)]&&this[_0x4e9d5b(0x1ca)][_0x4e9d5b(0x1e1)](_0x315ceb['id'])&&(this[_0x4e9d5b(0x1db)][_0x4e9d5b(0x1e8)](_0x315ceb['id']),this[_0x4e9d5b(0x1ca)][_0x4e9d5b(0x1f4)](_0x315ceb['id']),this[_0x4e9d5b(0x246)][_0x4e9d5b(0x230)](),this[_0x4e9d5b(0x1ca)][_0x4e9d5b(0x1fe)](_0x315ceb['id']));}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x20d),async()=>{const _0x5ed355=_0x11c827;this[_0x5ed355(0x1ca)]&&(this[_0x5ed355(0x1db)][_0x5ed355(0x244)](),this[_0x5ed355(0x1ca)][_0x5ed355(0x1d8)](this[_0x5ed355(0x1db)][_0x5ed355(0x1ef)]()),await this[_0x5ed355(0x1ca)][_0x5ed355(0x22e)]());}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x21f),(_0x3c40d9,_0x28555c)=>{const _0x72191=_0x11c827;this[_0x72191(0x225)](_0x28555c);}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x239),(_0x396982,_0x2ee206)=>{const _0x2bf62a=_0x11c827;this[_0x2bf62a(0x214)](_0x2ee206);}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x248),(_0x5094b6,_0x2f6799)=>{const _0x36a266=_0x11c827;this[_0x36a266(0x1c3)](_0x5094b6,_0x2f6799);}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x20f),(_0x4ae715,_0x86a648)=>{const _0x430895=_0x11c827;this[_0x430895(0x22f)](_0x4ae715,_0x86a648);}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x224),()=>{const _0x37d402=_0x11c827;this[_0x37d402(0x232)]();}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x234),(_0x420be0,_0x3b8655)=>{const _0x2f15d7=_0x11c827;this[_0x2f15d7(0x258)](_0x420be0,_0x3b8655);}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x1cd),(_0x17cef8,_0x5255d2)=>{const _0x206b0c=_0x11c827;this[_0x206b0c(0x215)](_0x17cef8,_0x5255d2);});}[_0x36c3c5(0x1c8)](_0x39fcf1,_0x9afe1c){const _0x362b18=_0x36c3c5;return new _0x240383(this[_0x362b18(0x1db)][_0x362b18(0x1ef)](),_0x9afe1c,this[_0x362b18(0x1e3)],_0x39fcf1[_0x362b18(0x20c)],_0x39fcf1[_0x362b18(0x23c)]);}[_0x36c3c5(0x258)](_0x20e0b2,_0x48cc7d){const _0xbe7035=_0x36c3c5;this[_0xbe7035(0x1ca)]&&this[_0xbe7035(0x1ca)][_0xbe7035(0x22c)](_0x48cc7d[_0xbe7035(0x1f0)]);}[_0x36c3c5(0x215)](_0x4a953a,_0x4e5cf7){const _0xcfe8e6=_0x36c3c5;this[_0xcfe8e6(0x1ca)]&&this[_0xcfe8e6(0x1ca)][_0xcfe8e6(0x251)](_0x4e5cf7[_0xcfe8e6(0x1f0)]);}[_0x36c3c5(0x235)](){const _0x4645d9=_0x36c3c5;this[_0x4645d9(0x246)][_0x4645d9(0x1c1)]();}[_0x36c3c5(0x1d6)](){const _0x50ed65=_0x36c3c5;this[_0x50ed65(0x1e3)]=this[_0x50ed65(0x236)][_0x50ed65(0x1d5)][_0x50ed65(0x1c0)](_0x50ed65(0x1fc));}[_0x36c3c5(0x202)](_0x2c46ba=!0x1){const _0x2200ce=_0x36c3c5;this[_0x2200ce(0x1ca)]&&(this[_0x2200ce(0x1ca)][_0x2200ce(0x1e2)]||this[_0x2200ce(0x1ca)][_0x2200ce(0x1fe)](),this[_0x2200ce(0x1ca)][_0x2200ce(0x255)](),this[_0x2200ce(0x1ca)][_0x2200ce(0x1fa)](),this[_0x2200ce(0x1ca)]=void 0x0),_0x2c46ba&&this[_0x2200ce(0x246)][_0x2200ce(0x1e0)](),this[_0x2200ce(0x1db)][_0x2200ce(0x244)](),this[_0x2200ce(0x1db)][_0x2200ce(0x243)](),this[_0x2200ce(0x1df)]=null;const _0x300e97=this[_0x2200ce(0x1db)][_0x2200ce(0x22a)]();_0x300e97&&_0x300e97[_0x2200ce(0x218)][_0x2200ce(0x253)][_0x2200ce(0x1e6)](_0x384249=>{const _0x2ac704=_0x2200ce,_0x4d1e67=_0x300e97[_0x2ac704(0x218)][_0x2ac704(0x253)][_0x2ac704(0x211)][_0x2ac704(0x1ce)]();_0x384249[_0x2ac704(0x1ed)](_0x2ac704(0x204),_0x4d1e67),_0x384249[_0x2ac704(0x1ed)](_0x2ac704(0x21c),_0x4d1e67),_0x384249[_0x2ac704(0x1ed)](_0x2ac704(0x23a),_0x4d1e67);});}[_0x36c3c5(0x1ff)](_0x4f74a7,_0x9d4d08){const _0x5e431f=_0x36c3c5,_0x3c433b=this[_0x5e431f(0x236)][_0x5e431f(0x1de)],_0x4de82b=_0x2b63e2(_0x3c433b,_0x4f74a7);return _0x4de82b===_0x4f74a7?_0x9d4d08:_0x4de82b;}[_0x36c3c5(0x1d0)](_0xa997db,_0x4401a5=!0x1){const _0x1f4433=_0x36c3c5;_0x128c0b(_0xa997db[_0x1f4433(0x24a)]),_0x4401a5||(_0xa997db[_0x1f4433(0x24a)][_0x1f4433(0x247)](_0x1f4433(0x227))?this[_0x1f4433(0x246)][_0x1f4433(0x1bc)]():this[_0x1f4433(0x246)][_0x1f4433(0x241)]());}[_0x36c3c5(0x20e)](_0x5b3836){const _0x5c2b6a=_0x36c3c5;if(_0x5c2b6a(0x226)===this[_0x5c2b6a(0x1df)]){const _0x3f69c0=this[_0x5c2b6a(0x246)][_0x5c2b6a(0x1d9)](_0x5b3836);_0x3f69c0&&_0x3cfaa9(_0x3f69c0[_0x5c2b6a(0x1f9)](_0x5c2b6a(0x23f))||_0x3f69c0);}else{if(_0x5c2b6a(0x1be)===this[_0x5c2b6a(0x1df)]){const _0x1be3ff=this[_0x5c2b6a(0x250)](_0x5b3836);if(!_0x1be3ff)return;_0x32c935({'target':_0x1be3ff,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19b180=_0x80bc;(function(_0x5a0b64,_0x56149a){const _0x147d40=_0x80bc,_0x596199=_0x5a0b64();while(!![]){try{const _0x3afb96=parseInt(_0x147d40(0x160))/0x1*(parseInt(_0x147d40(0x17e))/0x2)+parseInt(_0x147d40(0xc8))/0x3*(parseInt(_0x147d40(0x19f))/0x4)+-parseInt(_0x147d40(0x12d))/0x5+-parseInt(_0x147d40(0xd0))/0x6*(parseInt(_0x147d40(0xda))/0x7)+-parseInt(_0x147d40(0x147))/0x8+-parseInt(_0x147d40(0xf5))/0x9+-parseInt(_0x147d40(0x144))/0xa*(-parseInt(_0x147d40(0x154))/0xb);if(_0x3afb96===_0x56149a)break;else _0x596199['push'](_0x596199['shift']());}catch(_0x75788a){_0x596199['push'](_0x596199['shift']());}}}(_0x664c,0x265bf));import{InsertOperation as _0x368f3b,MarkerOperation as _0x476d1e,ModelDocumentFragment as _0x43ae55,ModelPosition as _0x378a27,ModelRange as _0xe11065,ModelTreeWalker as _0x4e1fa9,transformOperationSets as _0x4ea486}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2f16c2,EmitterMixin as _0x5d0532,uid as _0x4e4492}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x45512c}from'ckeditor5/src/core.js';function _0x80bc(_0x4acbb2,_0x346487){const _0x664ce1=_0x664c();return _0x80bc=function(_0x80bc2b,_0x54e8b3){_0x80bc2b=_0x80bc2b-0xc8;let _0x59185e=_0x664ce1[_0x80bc2b];return _0x59185e;},_0x80bc(_0x4acbb2,_0x346487);}import{DocumentCompare as _0x5391c9,DATA_ID_MODEL_ATTRIBUTE as _0x1c0dfb,DATA_ID_VIEW_ATTRIBUTE as _0x38cd26,getMarkerDomElement as _0x12aaf9}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x3099f4}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x18af61}from'../aicore/aiediting.js';import{debounce as _0x2df4e4}from'es-toolkit/compat';function _0x664c(){const _0x351b8a=['getDiff','getMarkerElementForChange','changeMarkerRemoved','enableReadOnlyMode','hasClass','\x20ck-ai_review__change_active','[data-id=\x22','_findMarkerElement','_insertMarkers','dataDowncast','isDocumentOperation','toData','attributeToAttribute','markChangePositionInEditorContent','_groupAdjacentOperations','startsWith','groupId','_hasSameTopLevelElement','every','getAttribute','schema','version','_removeChildren','root','processor','insertContent','span','values','pop','delete','_appendChild','removeMarker','markers','suggestion-context','markerToHighlight','content','1351200aDNaZp','containsRange','createRawElement','isInline','position','createRangeOn','hasContentAfter','$markedRemove:synthetic','getDocumentData','newRange','oldRange','editing','switchToEdit','changeMarkerRestored','plugins','_createGetContentUsingDataIdFn','model','get','isOfficialPlugin','differ','.ck-reset.ck-ai_review-balloon-panel-suggestion','className','getContentElementForChange','439730jsgump','ai-review','ellipsisAfter','1187720geTQPF','_upsertDataId','setMarkersInElementAsActive','No\x20element\x20found\x20for\x20ID:\x20','remove-only','isAtStart','_markers','listenTo','_haveOnlyInlineContent','set','changeMarkerHovered','stringify','warn','231EIAAAi','isBlock','applyOperation','remove','_findAdjacentContextDistance','markerName','ck-ai_review-marker_context-end','isAtEnd','createPositionAfter','highest','createPositionAt','toView','3701RfnplF','split','getHtml','conversion','_validateMarkers','diffContent','isIntersecting','_activeMarkers','_findMarkerElementById','fire','_handleMarkerChanges','innerHTML','markerToElement','deleteContent','_getOperationEnd','createDocumentFragment','push','forward','outside','append','_createGetContextFn','closest','$documentFragment','setAllMarkersAsInactive','view','getRange','batch','addMarker','concat','data','26mUJTlV','AIEditing','index','offset','_nextDataId','_shiftOperation','registerPostFixer','htmlProcessor','operationsIsolated','$graveyard','querySelector','ck-ai_review-marker_add','clone','documentFragment','suggestion:deletion:id:authorId:','_getChangeContext','size','ck-ai_review-marker_context-','emitter','_changeRangeOwnerDocument','forEach','applyChange','affectsData','DocumentCompare','createUIElement','toDomElement','element','$root','backward','data-marker-id','baseVersion','marker','add','147676fhxKMV','length','end','getRoot','history','map','_changeOperationOwnerDocument','clear','getStart','start','sort','remove-text','_translateOperationToEditorContent','getEditor','ck-ai_review-marker_underline','for','editingDowncast','name','join','_changeRange','reactivateMarkers','howMany','_createGetContentFn','getChanges','relatedTarget','ck-ai_review__change_active','childCount','_eventEmitter','changeMarkerClicked','clearAllMarkers','elements','from','AIReviewCoreEditing','_sortMarkers','[data-marker-id=\x22','createRange','htmlWriter','has','_changePositionOwnerDocument','parent','ellipsisBefore','target','exec','isTouching','offsetSize','pluginName','ck-ai_review-marker_strikethrough','asString','context','_domEmitter','rejectChange','addOperation','isOpening','viewToDom','body','review-','9MhAUKk','_getPositionLimitingRange','_setAttribute','suggestion:insertion:id:authorId:','outerHTML','remove-context','flat','getPath','6KXeZIl','createRangeIn','ck-ai_review-marker_hide','asFragment','mouseup','changeMarkerBlurred','_clone','path','_removeAttribute','type','1884281KPhIJH','_parseMarkerName','getEditableElement','_getMarkersDataForGroup','rootName','_getOperationStart','_haveSingleTopLevelElement','parentElement','hasAttribute','getChild','operationsA','getChangedMarkers','operations','_changePosition','document','getShiftedBy','inside','keys','parse','domConverter','$textProxy','ck-ai_review-marker_','createSelection','switchToReadOnly','reconvertMarker','$markedRemove','disableReadOnlyMode','2135664VztEuE','jumpTo','isLimit','hasContentBefore','containerElement','change','getOperations','afterInit','downcast','insert','nodes','mouseover','ck-ai_review-marker_context-start','getChildren','requires','getDomRoot','filter','isPremiumPlugin','includes','getRoots'];_0x664c=function(){return _0x351b8a;};return _0x664c();}const Lt=_0x19b180(0x1d6);export class AIReviewCoreEditing extends _0x45512c{static get[_0x19b180(0x103)](){return[_0x5391c9,_0x18af61];}static get[_0x19b180(0x1cc)](){const _0x3cd873=_0x19b180;return _0x3cd873(0x1bf);}static get[_0x19b180(0x13f)](){return!0x0;}static get[_0x19b180(0x106)](){return!0x0;}[_0x19b180(0x14d)]=new Map();[_0x19b180(0x167)]=new Set();[_0x19b180(0x1d0)];[_0x19b180(0x1ba)];constructor(_0x4022ba){const _0x2f1c76=_0x19b180;super(_0x4022ba),this[_0x2f1c76(0x1d0)]=new(_0x2f16c2())(),this[_0x2f1c76(0x1ba)]=new(_0x5d0532())();}get[_0x19b180(0x190)](){const _0x13b2f7=_0x19b180;return this[_0x13b2f7(0x1ba)];}[_0x19b180(0xfc)](){const _0x6fa96e=_0x19b180,_0x32c785=_0x3099f4(this[_0x6fa96e(0x1cf)]);_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x1af))[_0x6fa96e(0x16c)]({'model':Lt+_0x6fa96e(0xfe),'view':(_0x12ebca,{writer:_0x406f15})=>{const _0x36aeea=_0x6fa96e,_0x2a281b=this[_0x36aeea(0x14d)][_0x36aeea(0x13e)](_0x12ebca[_0x36aeea(0x159)]),_0x4d6464={'class':_0x36aeea(0x189)+(this[_0x36aeea(0x167)][_0x36aeea(0x1c4)](_0x2a281b?.['id']||'')?_0x36aeea(0x10e):''),'data-marker-id':_0x12ebca[_0x36aeea(0x159)]};return _0x406f15[_0x36aeea(0x196)](_0x36aeea(0x123),_0x4d6464,function(_0x17b122){const _0xb924d1=_0x36aeea,_0x2e439f=this[_0xb924d1(0x197)](_0x17b122);return _0x2e439f[_0xb924d1(0x16b)]=_0x2a281b?.[_0xb924d1(0x12c)]?.[_0xb924d1(0x1ce)]||'',_0x2e439f;});}}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x1af))[_0x6fa96e(0x12b)]({'model':Lt+_0x6fa96e(0x14b),'view':_0x4f9006=>{const _0x140e52=_0x6fa96e,_0x2e8437=this[_0x140e52(0x14d)][_0x140e52(0x13e)](_0x4f9006[_0x140e52(0x159)]),_0xbe442f=[_0x140e52(0x1cd)];return this[_0x140e52(0x167)][_0x140e52(0x1c4)](_0x2e8437?.['id']||'')&&_0xbe442f[_0x140e52(0x170)](_0x140e52(0x1b8)),{'classes':_0xbe442f,'attributes':{'data-marker-id':_0x4f9006[_0x140e52(0x159)]}};}}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x1af))[_0x6fa96e(0x12b)]({'model':Lt+_0x6fa96e(0xcd),'view':_0x31c376=>{const _0x2ed472=_0x6fa96e,_0x25bb65=this[_0x2ed472(0x14d)][_0x2ed472(0x13e)](_0x31c376[_0x2ed472(0x159)]),_0x211594=[_0x2ed472(0x1ad)];return this[_0x2ed472(0x167)][_0x2ed472(0x1c4)](_0x25bb65?.['id']||'')&&_0x211594[_0x2ed472(0x170)](_0x2ed472(0x1b8)),{'classes':_0x211594,'attributes':{'data-marker-id':_0x31c376[_0x2ed472(0x159)]}};}}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x1af))[_0x6fa96e(0x12b)]({'model':Lt+_0x6fa96e(0x1aa),'view':_0x2d3c41=>{const _0x1eaf3d=_0x6fa96e,_0x27197a=this[_0x1eaf3d(0x14d)][_0x1eaf3d(0x13e)](_0x2d3c41[_0x1eaf3d(0x159)]),_0x1cae5b=[_0x1eaf3d(0xd2)];return this[_0x1eaf3d(0x167)][_0x1eaf3d(0x1c4)](_0x27197a?.['id']||'')&&_0x1cae5b[_0x1eaf3d(0x170)](_0x1eaf3d(0x1b8)),{'classes':_0x1cae5b,'attributes':{'data-marker-id':_0x2d3c41[_0x1eaf3d(0x159)]}};}}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x112))[_0x6fa96e(0x16c)]({'model':Lt+_0x6fa96e(0x12a),'view':(_0x2a4cd6,{writer:_0x1784c8})=>_0x1784c8[_0x6fa96e(0x12f)](_0x6fa96e(0x123),{'class':_0x6fa96e(0x18f)+(_0x2a4cd6[_0x6fa96e(0x1d3)]?_0x6fa96e(0x1a8):_0x6fa96e(0x1a1))})}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0xfd))[_0x6fa96e(0x115)]({'model':_0x1c0dfb,'view':_0x38cd26});const _0x3ecdec=_0x32c785['ui'][_0x6fa96e(0xdc)]()||document[_0x6fa96e(0x1d5)];this[_0x6fa96e(0x1d0)][_0x6fa96e(0x14e)](_0x3ecdec,_0x6fa96e(0xd4),(_0x1675a0,_0xefd73e)=>{const _0x11577b=_0x6fa96e,_0x116504=_0xefd73e[_0x11577b(0x1c8)],_0x305ae5=this[_0x11577b(0x110)](_0x116504);if(!_0x305ae5)return;const _0x1dc796=_0x305ae5[_0x11577b(0x11c)](_0x11577b(0x19b)),_0x4ab65f=_0x1dc796[_0x11577b(0x161)](':')[_0x11577b(0x125)]()?.[_0x11577b(0x161)]('_')[0x0];this[_0x11577b(0x1ba)][_0x11577b(0x169)](_0x11577b(0x1bb),{'markerId':_0x1dc796,'changeId':_0x4ab65f,'markerElement':()=>this[_0x11577b(0x168)](_0x1dc796),'domEvent':_0xefd73e});},{'usePassive':!0x0,'priority':_0x6fa96e(0x15d)}),this[_0x6fa96e(0x1d0)][_0x6fa96e(0x14e)](_0x3ecdec,_0x6fa96e(0x100),(_0x5d66f6,_0x49da76)=>{const _0x703330=_0x6fa96e,_0x1d7083=_0x49da76[_0x703330(0x1c8)],_0x41d9ed=_0x49da76[_0x703330(0x1b7)];let _0x3dc3a2=this[_0x703330(0x110)](_0x1d7083);if(!_0x3dc3a2&&_0x41d9ed&&(_0x3dc3a2=this[_0x703330(0x110)](_0x41d9ed)),!_0x3dc3a2)return;const _0x1ef0c1=_0x3dc3a2[_0x703330(0x11c)](_0x703330(0x19b)),_0x23567c=_0x1ef0c1[_0x703330(0x161)](':')[_0x703330(0x125)]()?.[_0x703330(0x161)]('_')[0x0];this[_0x703330(0x1ba)][_0x703330(0x169)](_0x703330(0x151),{'changeId':_0x23567c,'markerElement':()=>this[_0x703330(0x168)](_0x1ef0c1),'domEvent':_0x49da76});}),this[_0x6fa96e(0x1d0)][_0x6fa96e(0x14e)](document,_0x6fa96e(0x100),_0x2df4e4((_0x3ff777,_0x265281)=>{const _0x38e655=_0x6fa96e,_0x2ad099=_0x265281[_0x38e655(0x1c8)];if(this[_0x38e655(0x110)](_0x2ad099))return;_0x2ad099[_0x38e655(0x175)](_0x38e655(0x141))||this[_0x38e655(0x1ba)][_0x38e655(0x169)](_0x38e655(0xd5));},0xc8)),_0x32c785[_0x6fa96e(0x13d)][_0x6fa96e(0xe8)][_0x6fa96e(0x184)](_0x146e4d=>this[_0x6fa96e(0x164)](_0x32c785,_0x146e4d)),_0x32c785[_0x6fa96e(0x13d)][_0x6fa96e(0xe8)]['on'](_0x6fa96e(0xfa),()=>this[_0x6fa96e(0x16a)](_0x32c785));}[_0x19b180(0x135)](){const _0x32f3e8=_0x19b180,_0x4d4ef9=this[_0x32f3e8(0x1cf)][_0x32f3e8(0x13b)][_0x32f3e8(0x13e)](_0x32f3e8(0x17f)),_0xc66f63=_0x3099f4(this[_0x32f3e8(0x1cf)]),_0x5eeeb1=_0xc66f63[_0x32f3e8(0x13d)],_0x5663fa=new _0x43ae55();for(const _0x51177e of _0x5eeeb1[_0x32f3e8(0xe8)][_0x32f3e8(0x1a2)]()[_0x32f3e8(0x102)]()){const _0x2200a5=_0x51177e[_0x32f3e8(0xd6)](!0x0);_0x5663fa[_0x32f3e8(0x127)](_0x2200a5);}for(const _0x2818de of _0x5eeeb1[_0x32f3e8(0x129)])_0x5663fa[_0x32f3e8(0x129)][_0x32f3e8(0x150)](_0x2818de[_0x32f3e8(0x1b0)],this[_0x32f3e8(0x191)](_0x2818de[_0x32f3e8(0x179)]()[_0x32f3e8(0x18a)](),_0x5663fa));const _0x56a532=new _0x4e1fa9({'ignoreElementEnd':!0x0,'startPosition':_0x5eeeb1[_0x32f3e8(0x15e)](_0x5663fa,0x0)}),_0x4fc7af=new Set(),_0x43b4d7=new Map();for(const {item:_0x380cde}of _0x56a532){if(!_0x380cde['is'](_0x32f3e8(0xee)))continue;const _0x95311a=_0x380cde[_0x32f3e8(0x1c6)];if(_0x95311a&&_0x95311a['is'](_0x32f3e8(0x198))){const _0x56979b=this[_0x32f3e8(0x148)](_0x95311a,()=>_0x4d4ef9[_0x32f3e8(0x182)](_0x4fc7af));_0x4fc7af[_0x32f3e8(0x19e)](_0x56979b);for(const _0x51b5f0 of _0x95311a[_0x32f3e8(0x102)]())_0x51b5f0['is'](_0x32f3e8(0x198))&&_0x4fc7af[_0x32f3e8(0x19e)](this[_0x32f3e8(0x148)](_0x51b5f0,()=>_0x4d4ef9[_0x32f3e8(0x182)](_0x4fc7af)));let _0x3166a2=_0x95311a;for(;_0x3166a2[_0x32f3e8(0x1c6)]&&!_0x3166a2[_0x32f3e8(0x1c6)]['is'](_0x32f3e8(0x18b));)_0x3166a2=_0x3166a2[_0x32f3e8(0x1c6)],_0x3166a2[_0x32f3e8(0xe2)](_0x1c0dfb)&&_0x3166a2[_0x32f3e8(0xd8)](_0x1c0dfb);_0x43b4d7[_0x32f3e8(0x150)](_0x56979b,{'path':_0x95311a[_0x32f3e8(0xcf)](),'getContent':this[_0x32f3e8(0x13c)](_0x3166a2[_0x32f3e8(0xd6)](!0x0),_0x56979b,_0xc66f63[_0x32f3e8(0x17d)])}),_0x56a532[_0x32f3e8(0xf6)](_0x5eeeb1[_0x32f3e8(0x15c)](_0x95311a));}}return{'content':_0xc66f63[_0x32f3e8(0x17d)][_0x32f3e8(0x121)][_0x32f3e8(0x114)](_0xc66f63[_0x32f3e8(0x17d)][_0x32f3e8(0x15f)](_0x5663fa)),'version':_0xc66f63[_0x32f3e8(0x13d)][_0x32f3e8(0xe8)][_0x32f3e8(0x11e)],'elements':_0x43b4d7};}[_0x19b180(0x165)](_0x291253,_0x281908,_0x39b681=!0x1){const _0x54aa3c=_0x19b180,_0x4f6652=[],_0x418cb6=_0x3099f4(this[_0x54aa3c(0x1cf)]),_0x4c6925=_0x418cb6[_0x54aa3c(0x17d)][_0x54aa3c(0xec)](_0x281908,_0x54aa3c(0x176)),_0x3b8b3e=_0x418cb6[_0x54aa3c(0x17d)][_0x54aa3c(0xec)](_0x291253,_0x54aa3c(0x176)),_0x49939d=_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0x15e)](_0x3b8b3e,0x0);if(this[_0x54aa3c(0xe0)](_0x4c6925)){if(!this[_0x54aa3c(0x11a)](_0x3b8b3e,_0x4c6925))return _0x4f6652;}else{const _0x515696=_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0x11d)];if(!this[_0x54aa3c(0x14f)](_0x3b8b3e,_0x515696)||!this[_0x54aa3c(0x14f)](_0x4c6925,_0x515696))return _0x4f6652;}const _0x356c76=this[_0x54aa3c(0x1cf)][_0x54aa3c(0x13b)][_0x54aa3c(0x13e)](_0x54aa3c(0x195))[_0x54aa3c(0x109)](_0x291253,_0x281908,{'anchor':_0x49939d,'markDeletions':!0x0})[_0x54aa3c(0xfb)]()[_0x54aa3c(0x105)](_0x5849d5=>_0x54aa3c(0xfe)===_0x5849d5[_0x54aa3c(0xd9)]||_0x54aa3c(0x19d)===_0x5849d5[_0x54aa3c(0xd9)]&&_0x5849d5[_0x54aa3c(0x1b0)][_0x54aa3c(0x118)](_0x54aa3c(0xf3))),_0x348e76=this[_0x54aa3c(0x117)](_0x356c76),_0x188c70=[];if(_0x39b681){if(_0x348e76[_0x54aa3c(0x1a0)]){const _0x49096d=_0x348e76[0x0][_0x54aa3c(0xe6)][0x0],_0x167334=_0x54aa3c(0xfe)===_0x49096d[_0x54aa3c(0xd9)]?_0x49096d[_0x54aa3c(0x131)]:_0x49096d[_0x54aa3c(0x136)][_0x54aa3c(0x1a8)],_0x566e35=this[_0x54aa3c(0xc9)](_0x167334,_0x418cb6,_0x54aa3c(0xea)),_0x57d77e=_0x566e35?_0x4c6925[_0x54aa3c(0xe3)](0x0)[_0x54aa3c(0x102)]():_0x4c6925[_0x54aa3c(0x102)](),_0x596817=_0x566e35||_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xd1)](_0x3b8b3e),_0x6701ac=[new _0x476d1e(_0x54aa3c(0x134)+_0x4e4492(),null,_0x596817,_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xe8)][_0x54aa3c(0x13d)][_0x54aa3c(0x129)],!0x0,_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xe8)][_0x54aa3c(0x11e)]+0x1),new _0x368f3b(_0x596817[_0x54aa3c(0x1a1)],_0x57d77e,_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xe8)][_0x54aa3c(0x11e)]+0x2)];_0x188c70[_0x54aa3c(0x170)]({'operations':_0x6701ac,'operationsIsolated':_0x6701ac,'groupOffset':0x0});}}else _0x188c70[_0x54aa3c(0x170)](..._0x348e76);let _0x51a77c=0x0;return _0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xfa)](_0x5bba03=>{const _0x13b386=_0x54aa3c;for(let _0x4c58ef=0x0;_0x4c58ef<_0x188c70[_0x13b386(0x1a0)];_0x4c58ef++){const _0x170829=_0x188c70[_0x4c58ef],_0x4406aa=_0x5bba03[_0x13b386(0x16f)]();for(const _0x588f09 of _0x3b8b3e[_0x13b386(0x102)]())_0x5bba03[_0x13b386(0x173)](_0x588f09[_0x13b386(0xd6)](!0x0),_0x4406aa);for(const _0x3f333c of _0x170829[_0x13b386(0x186)])if(_0x13b386(0xfe)===_0x3f333c[_0x13b386(0xd9)]){const _0x1c3311=_0x3f333c;_0x1c3311[_0x13b386(0x19c)]=null,_0x1c3311[_0x13b386(0x113)]=!0x1,this[_0x13b386(0x1a5)](_0x1c3311,_0x4406aa),_0x5bba03[_0x13b386(0x17a)][_0x13b386(0x1d2)](_0x3f333c),_0x418cb6[_0x13b386(0x13d)][_0x13b386(0x156)](_0x3f333c);const _0x362cee=_0x13b386(0xcb)+_0x51a77c++,_0x193f7c=_0x418cb6[_0x13b386(0x13d)][_0x13b386(0x1c2)](_0x1c3311[_0x13b386(0x131)],_0x1c3311[_0x13b386(0x131)][_0x13b386(0xe9)](_0x1c3311[_0x13b386(0x1b4)]));_0x4406aa[_0x13b386(0x129)][_0x13b386(0x150)](_0x362cee,_0x193f7c);}else{if(_0x13b386(0x19d)===_0x3f333c[_0x13b386(0xd9)]&&_0x3f333c[_0x13b386(0x1b0)][_0x13b386(0x118)](_0x13b386(0xf3))){const _0x2125c8=_0x3f333c,_0x37a8eb=_0x13b386(0x18c)+_0x51a77c++;this[_0x13b386(0x1a5)](_0x2125c8,_0x4406aa),_0x4406aa[_0x13b386(0x129)][_0x13b386(0x150)](_0x37a8eb,_0x2125c8[_0x13b386(0x136)]);}}if(_0x39b681)_0x4f6652[_0x13b386(0x170)]({..._0x170829,'context':this[_0x13b386(0x1b5)](_0x3b8b3e,_0x418cb6[_0x13b386(0x17d)]),'content':this[_0x13b386(0x1b5)](_0x3b8b3e,_0x418cb6[_0x13b386(0x17d)])});else{const _0x5c3e09=this[_0x13b386(0x18d)](this[_0x13b386(0x1c5)](this[_0x13b386(0xdf)](_0x170829[_0x13b386(0x186)][0x0]),_0x4406aa),this[_0x13b386(0x1c5)](this[_0x13b386(0x16e)](_0x170829[_0x13b386(0x186)][_0x170829[_0x13b386(0x186)][_0x13b386(0x1a0)]-0x1]),_0x4406aa));_0x4406aa[_0x13b386(0x129)][_0x13b386(0x150)](Lt+_0x13b386(0x12a),new _0xe11065(_0x5c3e09[_0x13b386(0x1a8)],_0x5c3e09[_0x13b386(0x1a1)])),_0x4f6652[_0x13b386(0x170)]({..._0x170829,'context':this[_0x13b386(0x174)](_0x4406aa,_0x418cb6[_0x13b386(0x17d)],{'ellipsisBefore':_0x5c3e09[_0x13b386(0xf8)],'ellipsisAfter':_0x5c3e09[_0x13b386(0x133)]}),'content':this[_0x13b386(0x1b5)](_0x4406aa,_0x418cb6[_0x13b386(0x17d)])});}}}),_0x4f6652;}[_0x19b180(0x116)](_0x426458,_0x5b9c94){const _0x10db1e=_0x19b180;if(!_0x426458[_0x10db1e(0x1a0)])return;const _0x41e77b=_0x426458[0x0][_0x10db1e(0x1c6)]['id'],_0x76fe46=_0x5b9c94[_0x10db1e(0x1bd)][_0x10db1e(0x13e)](_0x41e77b);if(!_0x76fe46)return void console[_0x10db1e(0x153)](_0x10db1e(0x14a)+_0x41e77b);const _0x28328a=_0x76fe46[_0x10db1e(0xd7)],_0x4a41db=_0x3099f4(this[_0x10db1e(0x1cf)]),_0x3aa7e1=_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0xe8)][_0x10db1e(0x1a3)][_0x10db1e(0xfb)](_0x5b9c94[_0x10db1e(0x11e)]),_0x23d825=[];for(const _0x308d30 of _0x426458){const _0x1e351d=_0x308d30[_0x10db1e(0x186)][_0x10db1e(0x1a4)](_0xdeac60=>this[_0x10db1e(0x1ab)](_0xdeac60,_0x28328a,_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0xe8)][_0x10db1e(0x108)]()[0x0]));if(!_0x1e351d||!_0x1e351d[_0x10db1e(0x1a0)])continue;const _0xeac013=_0x1e351d[_0x10db1e(0x11b)](_0x3c4445=>_0x10db1e(0x19d)===_0x3c4445[_0x10db1e(0xd9)]&&_0x3c4445[_0x10db1e(0x1b0)][_0x10db1e(0x118)](_0x10db1e(0xf3))),_0x8058f7={'document':_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0xe8)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5c3dd4=_0x4ea486(_0x1e351d,_0x3aa7e1,_0x8058f7)[_0x10db1e(0xe4)];for(const _0xc01126 of _0x5c3dd4)if(_0x10db1e(0xfe)===_0xc01126[_0x10db1e(0xd9)]){const _0x13394a=_0xc01126,_0xd7ff61=_0x13394a[_0x10db1e(0xff)];_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0xfa)](_0x2799f1=>{const _0x503a94=_0x10db1e,_0xc21389=_0x2799f1[_0x503a94(0x16f)]();for(const _0x39bc81 of _0xd7ff61)_0x2799f1[_0x503a94(0x173)](_0x39bc81[_0x503a94(0xd6)](!0x0),_0xc21389);_0x23d825[_0x503a94(0x170)]({'start':_0x13394a[_0x503a94(0x131)],'end':_0x13394a[_0x503a94(0x131)],'type':_0x503a94(0xfe),'groupId':_0x308d30['id'],'content':{'asString':this[_0x503a94(0x1b5)](_0xc21389,_0x4a41db[_0x503a94(0x17d)])(),'asFragment':_0xc21389}});});}else{if(_0x10db1e(0x19d)===_0xc01126[_0x10db1e(0xd9)]&&_0xc01126[_0x10db1e(0x1b0)][_0x10db1e(0x118)](_0x10db1e(0xf3))){const _0x3f59cc=_0xc01126;let _0x40c09d=_0x10db1e(0x1aa);if(_0xeac013){const _0x553ce6=this[_0x10db1e(0x158)](_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a8)],_0x10db1e(0x19a),_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0x11d)]),_0x11bc3=this[_0x10db1e(0x158)](_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a1)],_0x10db1e(0x171),_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0x11d)]);if(_0x553ce6||_0x11bc3){const _0xb702ed=_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a8)][_0x10db1e(0xe9)](-_0x553ce6),_0x5c3476=_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a1)][_0x10db1e(0xe9)](_0x11bc3);_0x23d825[_0x10db1e(0x170)]({'start':_0xb702ed,'end':_0x5c3476,'groupId':_0x308d30['id'],'type':_0x10db1e(0xcd)});}else _0x40c09d=_0x10db1e(0x14b);}_0x23d825[_0x10db1e(0x170)]({'start':_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a8)],'end':_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a1)],'groupId':_0x308d30['id'],'type':_0x40c09d});}}}this[_0x10db1e(0x111)](_0x23d825);}[_0x19b180(0x1bc)](){const _0x109c94=_0x19b180,_0x53bbcf=_0x3099f4(this[_0x109c94(0x1cf)]);_0x53bbcf[_0x109c94(0x13d)][_0x109c94(0xfa)](_0x1b28e6=>{const _0x29b292=_0x109c94;for(const _0xfba671 of this[_0x29b292(0x14d)][_0x29b292(0xeb)]())_0x53bbcf[_0x29b292(0x13d)][_0x29b292(0x129)][_0x29b292(0x13e)](_0xfba671)&&_0x1b28e6[_0x29b292(0x128)](_0xfba671);}),this[_0x109c94(0x14d)][_0x109c94(0x1a6)](),this[_0x109c94(0x167)][_0x109c94(0x1a6)]();}[_0x19b180(0xf1)](){const _0x25b651=_0x19b180;_0x3099f4(this[_0x25b651(0x1cf)])[_0x25b651(0x10c)](_0x25b651(0x145));}[_0x19b180(0x139)](){const _0x5784e3=_0x19b180;_0x3099f4(this[_0x5784e3(0x1cf)])[_0x5784e3(0xf4)](_0x5784e3(0x145));}[_0x19b180(0x193)](_0x579233){const _0x5c2029=_0x19b180,_0xc3f334=_0x3099f4(this[_0x5c2029(0x1cf)]),_0x2e042f=_0xc3f334[_0x5c2029(0x13d)],_0x4a32d9=_0x579233[_0x5c2029(0x1a4)](_0x526a02=>this[_0x5c2029(0xdd)](_0x526a02))[_0x5c2029(0xce)]();_0x2e042f[_0x5c2029(0xfa)](_0x5333d5=>{const _0x3cd47d=_0x5c2029;for(const _0x477c4f of _0x4a32d9){const _0x2b4796=_0xc3f334[_0x3cd47d(0x13d)][_0x3cd47d(0x129)][_0x3cd47d(0x13e)](_0x477c4f['id']);if(_0x2b4796){if(_0x3cd47d(0xfe)===_0x477c4f[_0x3cd47d(0xd9)]){if(!_0x477c4f[_0x3cd47d(0x12c)])continue;_0x2e042f[_0x3cd47d(0x122)](_0x477c4f[_0x3cd47d(0x12c)][_0x3cd47d(0xd3)]||null,_0x2b4796[_0x3cd47d(0x179)]()[_0x3cd47d(0x1a8)]);}else _0x3cd47d(0x1aa)!==_0x477c4f[_0x3cd47d(0xd9)]&&_0x3cd47d(0x14b)!==_0x477c4f[_0x3cd47d(0xd9)]||_0x2e042f[_0x3cd47d(0x16d)](_0x2e042f[_0x3cd47d(0xf0)](_0x2b4796[_0x3cd47d(0x179)]()));_0x5333d5[_0x3cd47d(0x128)](_0x477c4f['id']),this[_0x3cd47d(0x14d)][_0x3cd47d(0x126)](_0x477c4f['id']);}}});}[_0x19b180(0x1d1)](_0x266c8f){const _0xc07802=_0x19b180,_0x1b68b0=_0x3099f4(this[_0xc07802(0x1cf)]),_0x545789=this[_0xc07802(0xdd)](_0x266c8f);_0x1b68b0[_0xc07802(0x13d)][_0xc07802(0xfa)](_0x6912a0=>{const _0x1c90a6=_0xc07802;for(const _0x558cd1 of _0x545789)_0x6912a0[_0x1c90a6(0x128)](_0x558cd1['id']),this[_0x1c90a6(0x14d)][_0x1c90a6(0x126)](_0x558cd1['id']);});}[_0x19b180(0x1ac)](){const _0x145916=_0x19b180;return _0x3099f4(this[_0x145916(0x1cf)]);}[_0x19b180(0x10a)](_0x3e86be){const _0x291a75=_0x19b180,_0x237c5c=Array[_0x291a75(0x1be)](this[_0x291a75(0x14d)][_0x291a75(0x124)]())[_0x291a75(0x105)](_0x25ca3b=>_0x25ca3b[_0x291a75(0x119)]===_0x3e86be);if(!_0x237c5c[_0x291a75(0x1a0)])return null;const _0x1e2af4=0x1===_0x237c5c[_0x291a75(0x1a0)]?_0x237c5c[0x0]:this[_0x291a75(0x1c0)](_0x237c5c)[0x0],_0x4ba946=_0x3099f4(this[_0x291a75(0x1cf)])[_0x291a75(0x13d)][_0x291a75(0x129)][_0x291a75(0x13e)](_0x1e2af4['id']);if(!_0x4ba946)return null;return{'modelRange':_0x4ba946[_0x291a75(0x179)](),'getElement':()=>this[_0x291a75(0x168)](_0x1e2af4['id'])};}[_0x19b180(0x143)](_0x5f1a48){const _0x37137f=_0x19b180,_0x2d758a=Array[_0x37137f(0x1be)](this[_0x37137f(0x14d)][_0x37137f(0x124)]())[_0x37137f(0x105)](_0x3cfe18=>_0x3cfe18[_0x37137f(0x119)]===_0x5f1a48);if(!_0x2d758a[_0x37137f(0x1a0)])return null;const _0x38209b=0x1===_0x2d758a[_0x37137f(0x1a0)]?_0x2d758a[0x0]:this[_0x37137f(0x1c0)](_0x2d758a)[0x0],_0x501917=_0x3099f4(this[_0x37137f(0x1cf)]),_0x6a31f6=_0x501917[_0x37137f(0x13d)][_0x37137f(0x129)][_0x37137f(0x13e)](_0x38209b['id']);if(!_0x6a31f6)return null;const _0x1de376=_0x6a31f6[_0x37137f(0x179)](),_0x51a1ba=_0x501917[_0x37137f(0x138)][_0x37137f(0x178)][_0x37137f(0x104)]();if(!_0x51a1ba||!_0x1de376)return null;let _0x4d48ca=_0x1de376[_0x37137f(0x1a8)][_0x37137f(0x1c6)];for(;_0x4d48ca[_0x37137f(0x1c6)]&&_0x37137f(0x199)!==_0x4d48ca[_0x37137f(0x1c6)][_0x37137f(0x1b0)];)_0x4d48ca=_0x4d48ca[_0x37137f(0x1c6)];if(!_0x4d48ca||!_0x4d48ca[_0x37137f(0x1b0)])return null;const _0x16de96=_0x51a1ba[_0x37137f(0x188)](_0x37137f(0x1c1)+_0x38209b['id']+'\x22]');if(!_0x16de96)return null;let _0x5cd13e=null;_0x501917[_0x37137f(0x13d)][_0x37137f(0xfa)](_0x6a8995=>{const _0x1a27b0=_0x37137f;_0x5cd13e=_0x6a8995[_0x1a27b0(0x16f)](),_0x6a8995[_0x1a27b0(0x173)](_0x4d48ca[_0x1a27b0(0xd6)](!0x0),_0x5cd13e);});const _0x52201d=_0x501917[_0x37137f(0x17d)][_0x37137f(0x15f)](_0x5cd13e)[_0x37137f(0xe3)](0x0);return _0x16de96[_0x37137f(0x175)](_0x52201d[_0x37137f(0x1b0)]);}[_0x19b180(0x1b3)](_0x48649d){const _0x1eb4b5=_0x19b180,_0x5f3518=this[_0x1eb4b5(0xdd)](_0x48649d);if(!_0x5f3518[_0x1eb4b5(0x1a0)])return;const _0x5a3f36=Array[_0x1eb4b5(0x1be)](this[_0x1eb4b5(0x167)])[_0x1eb4b5(0x1a9)](),_0x1238dc=Array[_0x1eb4b5(0x1be)](new Set(_0x5f3518[_0x1eb4b5(0x1a4)](_0x445db5=>_0x445db5['id'])))[_0x1eb4b5(0x1a9)]();_0x5a3f36[_0x1eb4b5(0x1b1)]('|')!==_0x1238dc[_0x1eb4b5(0x1b1)]('|')&&(this[_0x1eb4b5(0x177)](),this[_0x1eb4b5(0x149)](_0x48649d));}[_0x19b180(0x149)](_0x5baaf0){const _0x2ff1a3=_0x19b180,_0x3b0d28=this[_0x2ff1a3(0xdd)](_0x5baaf0);if(!_0x3b0d28[_0x2ff1a3(0x1a0)])return;const _0x5da6b0=_0x3099f4(this[_0x2ff1a3(0x1cf)]),_0x3c472a=new Set(_0x3b0d28[_0x2ff1a3(0x1a4)](_0x2e299d=>_0x2e299d['id'])),_0x9d6ee8=Array[_0x2ff1a3(0x1be)](_0x3c472a[_0x2ff1a3(0x124)]())[_0x2ff1a3(0x1a4)](_0x2cbaee=>_0x5da6b0[_0x2ff1a3(0x13d)][_0x2ff1a3(0x129)][_0x2ff1a3(0x13e)](_0x2cbaee))[_0x2ff1a3(0x105)](_0x56d87f=>!!_0x56d87f);_0x3c472a[_0x2ff1a3(0x192)](_0x2c458a=>{const _0x1efa1d=_0x2ff1a3;this[_0x1efa1d(0x167)][_0x1efa1d(0x19e)](_0x2c458a);}),_0x5da6b0[_0x2ff1a3(0x13d)][_0x2ff1a3(0xfa)](()=>{const _0x51775f=_0x2ff1a3;_0x9d6ee8[_0x51775f(0x192)](_0xc26cf=>{const _0x414d78=_0x51775f;_0x5da6b0[_0x414d78(0x138)][_0x414d78(0xf2)](_0xc26cf);});});}[_0x19b180(0x177)](){const _0x5b2362=_0x19b180,_0x3bfe95=Array[_0x5b2362(0x1be)](this[_0x5b2362(0x167)]);if(!_0x3bfe95[_0x5b2362(0x1a0)])return;this[_0x5b2362(0x167)][_0x5b2362(0x1a6)]();const _0x11acc3=_0x3099f4(this[_0x5b2362(0x1cf)]),_0x25dac8=_0x3bfe95[_0x5b2362(0x1a4)](_0x1795f9=>_0x11acc3[_0x5b2362(0x13d)][_0x5b2362(0x129)][_0x5b2362(0x13e)](_0x1795f9))[_0x5b2362(0x105)](_0x5cdf2a=>!!_0x5cdf2a);_0x11acc3[_0x5b2362(0x13d)][_0x5b2362(0xfa)](()=>{const _0x5c69b0=_0x5b2362;_0x25dac8[_0x5c69b0(0x192)](_0x1e7540=>{const _0x14212c=_0x5c69b0;_0x11acc3[_0x14212c(0x138)][_0x14212c(0xf2)](_0x1e7540);});});}[_0x19b180(0xc9)](_0x120938,_0x365411,_0x2cce90=_0x19b180(0x172)){const _0x170080=_0x19b180;if(!_0x120938)return null;let _0x5618e6=_0x120938[_0x170080(0x1c6)];for(;_0x5618e6&&_0x5618e6[_0x170080(0x1c6)]&&_0x170080(0x199)!==_0x5618e6[_0x170080(0x1c6)][_0x170080(0x1b0)]&&!_0x365411[_0x170080(0x13d)][_0x170080(0x11d)][_0x170080(0xf7)](_0x5618e6)&&!_0x365411[_0x170080(0x13d)][_0x170080(0x11d)][_0x170080(0x155)](_0x5618e6);)_0x5618e6=_0x5618e6[_0x170080(0x1c6)];if(!_0x5618e6||!_0x5618e6[_0x170080(0x1b0)]||_0x170080(0x199)===_0x5618e6[_0x170080(0x1b0)])return null;let _0x19f4e8=null;return _0x365411[_0x170080(0x13d)][_0x170080(0xfa)](_0x1dc43b=>{const _0x12646b=_0x170080;_0x19f4e8=_0x12646b(0xea)===_0x2cce90?_0x1dc43b[_0x12646b(0xd1)](_0x5618e6):_0x1dc43b[_0x12646b(0x132)](_0x5618e6);}),_0x19f4e8;}[_0x19b180(0x164)](_0x151975,_0x53947e){const _0x5446cd=_0x19b180,_0x160dc0=Array[_0x5446cd(0x1be)](this[_0x5446cd(0x14d)][_0x5446cd(0xeb)]()),_0x2d1bec=new Map();for(const _0x4795f5 of _0x160dc0){const _0x552811=_0x151975[_0x5446cd(0x13d)][_0x5446cd(0x129)][_0x5446cd(0x13e)](_0x4795f5);if(!_0x552811)continue;const _0x1c4cae=_0x552811[_0x5446cd(0x1a7)]()[_0x5446cd(0xd7)][0x0];_0x2d1bec[_0x5446cd(0x1c4)](_0x1c4cae)||_0x2d1bec[_0x5446cd(0x150)](_0x1c4cae,[]),_0x2d1bec[_0x5446cd(0x13e)](_0x1c4cae)[_0x5446cd(0x170)](_0x552811);}const _0x469eba=new Set();for(const _0x501312 of _0x151975[_0x5446cd(0x13d)][_0x5446cd(0xe8)][_0x5446cd(0x140)][_0x5446cd(0x1b6)]()){let _0x3f8411=-0x1,_0x4daa5f=null;if(_0x5446cd(0xfe)===_0x501312[_0x5446cd(0xd9)])_0x4daa5f=new _0xe11065(_0x501312[_0x5446cd(0x131)],_0x501312[_0x5446cd(0x131)][_0x5446cd(0xe9)](_0x501312[_0x5446cd(0x1a0)])),_0x3f8411=_0x501312[_0x5446cd(0x131)][_0x5446cd(0xd7)][0x0];else{if(_0x5446cd(0x157)!==_0x501312[_0x5446cd(0xd9)])continue;_0x4daa5f=new _0xe11065(_0x501312[_0x5446cd(0x131)]),_0x3f8411=_0x501312[_0x5446cd(0x131)][_0x5446cd(0xd7)][0x0];}const _0x212ee4=_0x2d1bec[_0x5446cd(0x13e)](_0x3f8411)||[];if(_0x212ee4[_0x5446cd(0x1a0)]){for(const _0x19dba8 of _0x212ee4)if(_0x4daa5f[_0x5446cd(0x120)][_0x5446cd(0xde)]===_0x19dba8[_0x5446cd(0x179)]()[_0x5446cd(0x120)][_0x5446cd(0xde)]&&(_0x5446cd(0xfe)!==_0x501312[_0x5446cd(0xd9)]||!_0x4daa5f[_0x5446cd(0x12e)](_0x19dba8[_0x5446cd(0x179)]()))&&(_0x4daa5f[_0x5446cd(0x166)](_0x19dba8[_0x5446cd(0x179)]())||_0x4daa5f[_0x5446cd(0x1a8)][_0x5446cd(0x1ca)](_0x19dba8[_0x5446cd(0x179)]()[_0x5446cd(0x1a1)])||_0x4daa5f[_0x5446cd(0x1a1)][_0x5446cd(0x1ca)](_0x19dba8[_0x5446cd(0x179)]()[_0x5446cd(0x1a8)]))){const _0x5e324d=this[_0x5446cd(0xdb)](_0x19dba8[_0x5446cd(0x1b0)]);Array[_0x5446cd(0x1be)](this[_0x5446cd(0x14d)][_0x5446cd(0x124)]())[_0x5446cd(0x105)](_0x494db3=>_0x494db3[_0x5446cd(0x119)]===_0x5e324d[_0x5446cd(0x119)])[_0x5446cd(0x192)](_0x4e0756=>_0x469eba[_0x5446cd(0x19e)](_0x4e0756['id']));}}}if(_0x469eba[_0x5446cd(0x18e)]){for(const _0x220372 of _0x469eba)_0x53947e[_0x5446cd(0x128)](_0x220372);return!0x0;}return!0x1;}[_0x19b180(0x16a)](_0x1d42db){const _0x3948d0=_0x19b180;for(const {name:_0x18fd4c,data:_0x22e3ac}of _0x1d42db[_0x3948d0(0x13d)][_0x3948d0(0xe8)][_0x3948d0(0x140)][_0x3948d0(0xe5)]()){if(!_0x18fd4c[_0x3948d0(0x118)](Lt))continue;const _0x1b0dd8=_0x22e3ac[_0x3948d0(0x137)],_0x5cc23d=_0x22e3ac[_0x3948d0(0x136)],_0x2776f4=_0x1b0dd8&&_0x3948d0(0x187)===_0x1b0dd8[_0x3948d0(0x120)][_0x3948d0(0xde)],_0x3688d7=_0x5cc23d&&_0x3948d0(0x187)===_0x5cc23d[_0x3948d0(0x120)][_0x3948d0(0xde)];if(_0x2776f4&&_0x3688d7)continue;const _0x28d461=this[_0x3948d0(0xdb)](_0x18fd4c);this[_0x3948d0(0x14d)][_0x3948d0(0x13e)](_0x18fd4c)&&(_0x3688d7||!_0x5cc23d?this[_0x3948d0(0x1ba)][_0x3948d0(0x169)](_0x3948d0(0x10b),{'markerId':_0x18fd4c,'changeId':_0x28d461[_0x3948d0(0x119)]}):_0x2776f4&&_0x5cc23d&&this[_0x3948d0(0x1ba)][_0x3948d0(0x169)](_0x3948d0(0x13a),{'markerId':_0x18fd4c,'changeId':_0x28d461[_0x3948d0(0x119)]}));}}[_0x19b180(0xdb)](_0x25fe15){const _0x1d7060=_0x19b180,_0x4006e2=_0x25fe15[_0x1d7060(0x161)](':'),_0x46a392=(_0x4006e2[0x1]||'')[_0x1d7060(0x161)]('_');return{'prefix':_0x4006e2[0x0],'groupId':_0x46a392[0x0],'suffix':_0x46a392[0x1]};}[_0x19b180(0x1ab)](_0x42fb20,_0x5607b7,_0xbe74f0){const _0x13f1bf=_0x19b180;if(_0x13f1bf(0xfe)===_0x42fb20[_0x13f1bf(0xd9)]){const _0x17e486=_0x42fb20;return new _0x368f3b(this[_0x13f1bf(0xe7)](_0x5607b7[_0x13f1bf(0x17c)](_0x17e486[_0x13f1bf(0x131)][_0x13f1bf(0x181)]),_0xbe74f0),_0x17e486[_0x13f1bf(0xff)],_0x17e486[_0x13f1bf(0x19c)]);}if(_0x13f1bf(0x19d)===_0x42fb20[_0x13f1bf(0xd9)]&&_0x42fb20[_0x13f1bf(0x1b0)][_0x13f1bf(0x118)](_0x13f1bf(0xf3))){const _0x14a0af=_0x42fb20;return new _0x476d1e(_0x14a0af[_0x13f1bf(0x1b0)],_0x14a0af[_0x13f1bf(0x137)],this[_0x13f1bf(0x1b2)](_0x14a0af[_0x13f1bf(0x136)],_0x5607b7[_0x13f1bf(0x17c)](_0x14a0af[_0x13f1bf(0x136)][_0x13f1bf(0x1a8)][_0x13f1bf(0x181)]),_0x5607b7[_0x13f1bf(0x17c)](_0x14a0af[_0x13f1bf(0x136)][_0x13f1bf(0x1a1)][_0x13f1bf(0x181)]),_0xbe74f0),_0x14a0af[_0x13f1bf(0x14d)],_0x14a0af[_0x13f1bf(0x194)],_0x14a0af[_0x13f1bf(0x19c)]);}return _0x42fb20;}[_0x19b180(0x117)](_0xc1abd1){const _0x50588e=_0x19b180;if(!_0xc1abd1[_0x50588e(0x1a0)])return[];const _0x2a7865=[];let _0xe24c40=0x0,_0x3ebaac=0x0,_0x2c8a3c=[];for(let _0x489b7f=0x0;_0x489b7f<=_0xc1abd1[_0x50588e(0x1a0)];_0x489b7f++){const _0x2587da=_0xc1abd1[_0x489b7f],_0x5f023a=_0xc1abd1[_0x489b7f-0x1];!_0x2587da||_0x5f023a&&!this[_0x50588e(0x16e)](_0x5f023a)[_0x50588e(0x1ca)](this[_0x50588e(0xdf)](_0x2587da))?(_0x2a7865[_0x50588e(0x170)]({'operations':_0x2c8a3c,'operationsIsolated':_0x2c8a3c[_0x50588e(0x1a4)](_0x3aa7d8=>this[_0x50588e(0x183)](_0x3aa7d8[_0x50588e(0x18a)](),-_0x3ebaac)),'groupOffset':_0xe24c40}),_0x2c8a3c=_0x2587da?[_0x2587da]:[],_0x3ebaac+=_0xe24c40,_0xe24c40=0x0):_0x2c8a3c[_0x50588e(0x170)](_0x2587da),_0x2587da&&_0x50588e(0xfe)===_0x2587da[_0x50588e(0xd9)]&&(_0xe24c40+=_0x2587da[_0x50588e(0x1b4)]);}return _0x2a7865;}[_0x19b180(0x158)](_0x34c994,_0x4738eb,_0x17849f,_0x31b5a8=0x1){const _0x1ff7bb=_0x19b180,_0x73aaf9=new _0x4e1fa9({'startPosition':_0x34c994,'direction':_0x4738eb});let _0x16a015=0x0;for(let _0x4eae5a=0x0;_0x4eae5a<_0x31b5a8;_0x4eae5a++){let _0x1baa9b=0x0,_0x4a22a3=!0x1,_0x31db2b=_0x1ff7bb(0x171)===_0x4738eb?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x143005}of _0x73aaf9)if(_0x143005['is'](_0x1ff7bb(0xee))){const _0x1b49ca=_0x31db2b[_0x1ff7bb(0x1c9)](_0x143005[_0x1ff7bb(0x17d)]);if(_0x1b49ca&&_0x1b49ca[_0x1ff7bb(0x1a0)]){if(_0x1baa9b+=_0x1ff7bb(0x171)===_0x4738eb?_0x1b49ca[_0x1ff7bb(0x180)]+_0x1b49ca[0x0][_0x1ff7bb(0x1a0)]:_0x143005[_0x1ff7bb(0x17d)][_0x1ff7bb(0x1a0)]-_0x1b49ca[_0x1ff7bb(0x180)],_0x1b49ca[0x0][_0x1ff7bb(0x1a0)]!==_0x143005[_0x1ff7bb(0x17d)][_0x1ff7bb(0x1a0)])break;_0x4a22a3=!0x0,_0x31db2b=_0x1ff7bb(0x171)===_0x4738eb?/^\w+/:/\w+$/;}else{if(_0x4a22a3)break;_0x1baa9b+=_0x143005[_0x1ff7bb(0x1cb)];}}else{if(_0x143005['is'](_0x1ff7bb(0x198))){_0x17849f[_0x1ff7bb(0x130)](_0x143005)&&!_0x4a22a3&&(_0x1baa9b+=0x1);break;}}_0x16a015+=_0x1baa9b,_0x73aaf9[_0x1ff7bb(0xf6)](_0x34c994[_0x1ff7bb(0xe9)](_0x1ff7bb(0x171)===_0x4738eb?_0x16a015:-_0x16a015));}return _0x16a015;}[_0x19b180(0x18d)](_0x1fa8e5,_0x564bca){const _0x4de035=_0x19b180,_0x2b097c=_0x3099f4(this[_0x4de035(0x1cf)])[_0x4de035(0x13d)][_0x4de035(0x11d)],_0x3a6f05=this[_0x4de035(0x158)](_0x1fa8e5,_0x4de035(0x19a),_0x2b097c,0x6),_0x126085=this[_0x4de035(0x158)](_0x564bca,_0x4de035(0x171),_0x2b097c,0x6),_0x356e59=_0x1fa8e5[_0x4de035(0xe9)](-_0x3a6f05),_0x3d0b30=_0x564bca[_0x4de035(0xe9)](_0x126085);return{'start':_0x356e59,'end':_0x3d0b30,'hasContentBefore':!_0x356e59[_0x4de035(0x14c)],'hasContentAfter':!_0x3d0b30[_0x4de035(0x15b)]};}[_0x19b180(0x111)](_0x121463){const _0xab99c9=_0x19b180,_0x33afe4=this[_0xab99c9(0x1cf)][_0xab99c9(0x13b)][_0xab99c9(0x13e)](_0xab99c9(0x17f)),_0x134782=new Set();_0x3099f4(this[_0xab99c9(0x1cf)])[_0xab99c9(0x13d)][_0xab99c9(0xfa)](_0x38163d=>{const _0x599e8f=_0xab99c9;for(const _0x35dac0 of _0x121463){const _0x3ead35=''+Lt+_0x35dac0[_0x599e8f(0xd9)]+':'+_0x35dac0[_0x599e8f(0x119)]+'_'+_0x33afe4[_0x599e8f(0x182)](_0x134782);this[_0x599e8f(0x14d)][_0x599e8f(0x150)](_0x3ead35,{'id':_0x3ead35,'groupId':_0x35dac0[_0x599e8f(0x119)],'type':_0x35dac0[_0x599e8f(0xd9)],'content':_0x35dac0[_0x599e8f(0x12c)]}),_0x38163d[_0x599e8f(0x17b)](_0x3ead35,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x38163d[_0x599e8f(0x1c2)](_0x35dac0[_0x599e8f(0x1a8)],_0x35dac0[_0x599e8f(0x1a1)])});}});}[_0x19b180(0x174)](_0x268c3a,_0x343bcf,_0x2beed0){let _0x5f586e='';return()=>{const _0xf3f808=_0x80bc;if(!_0x5f586e){const _0x3bf27f=_0x343bcf[_0xf3f808(0x15f)](_0x268c3a,{'showSuggestionHighlights':!0x0});let _0x437615=_0x3bf27f[_0xf3f808(0xe3)](0x0);if(_0x437615['is'](_0xf3f808(0xf9))||(_0x437615=_0x3bf27f),!_0x437615)return'';let _0x3419af=!0x1;const _0x8201f4=[];for(const _0x5c65db of _0x437615[_0xf3f808(0x102)]())_0x5c65db['is'](_0xf3f808(0x198),_0xf3f808(0x123))&&_0x5c65db[_0xf3f808(0x10d)](_0xf3f808(0x15a))&&(_0x3419af=!0x1),_0x3419af&&_0x8201f4[_0xf3f808(0x170)](_0x5c65db),_0x5c65db['is'](_0xf3f808(0x198),_0xf3f808(0x123))&&_0x5c65db[_0xf3f808(0x10d)](_0xf3f808(0x101))&&(_0x3419af=!0x0);_0x437615[_0xf3f808(0x11f)](0x0,_0x437615[_0xf3f808(0x1b9)]),_0x2beed0?.[_0xf3f808(0x1c7)]&&_0x437615[_0xf3f808(0x127)]('…'),_0x437615[_0xf3f808(0x127)](_0x8201f4),_0x2beed0?.[_0xf3f808(0x146)]&&_0x437615[_0xf3f808(0x127)]('…');const _0x353539=_0x343bcf[_0xf3f808(0x185)][_0xf3f808(0xed)][_0xf3f808(0x1d4)](_0x3bf27f),_0x151285=_0x343bcf[_0xf3f808(0x185)][_0xf3f808(0x1c3)][_0xf3f808(0x162)](_0x353539);_0x5f586e=_0x151285;}return _0x5f586e;};}[_0x19b180(0x1b5)](_0x308ed9,_0x217751){const _0x4cfade=_0x19b180;let _0x2e65ae='';return()=>(_0x2e65ae||(_0x2e65ae=_0x217751[_0x4cfade(0x152)](_0x308ed9,{'showSuggestionHighlights':!0x0})),_0x2e65ae);}[_0x19b180(0x13c)](_0x5b1edc,_0x50c9b6,_0x1a9f03){let _0x507b1e='';return()=>{const _0x84b8ce=_0x80bc;if(!_0x507b1e){const _0x1c2338=_0x1a9f03[_0x84b8ce(0x15f)](new _0x43ae55(_0x5b1edc)),_0x3bcbcc=_0x1a9f03[_0x84b8ce(0x185)][_0x84b8ce(0xed)][_0x84b8ce(0x1d4)](_0x1c2338)[_0x84b8ce(0x188)](_0x84b8ce(0x10f)+_0x50c9b6+'\x22]');_0x507b1e=_0x3bcbcc?.[_0x84b8ce(0xcc)]||'';}return _0x507b1e;};}[_0x19b180(0x110)](_0x57d19b,_0x24edfe=0x5){const _0x1fa49d=_0x19b180;let _0x59cf10=_0x57d19b,_0x499a64=null;for(let _0x18fdbb=0x0;_0x18fdbb<_0x24edfe&&_0x59cf10;_0x18fdbb++){if(!_0x59cf10[_0x1fa49d(0x142)]){_0x59cf10=_0x59cf10[_0x1fa49d(0xe1)];continue;}if(!(''+_0x59cf10[_0x1fa49d(0x142)])[_0x1fa49d(0x107)](_0x1fa49d(0xef))){_0x59cf10=_0x59cf10[_0x1fa49d(0xe1)];continue;}if(!_0x59cf10[_0x1fa49d(0x11c)](_0x1fa49d(0x19b)))break;_0x499a64=_0x59cf10;break;}return _0x499a64;}[_0x19b180(0x168)](_0x39c668){const _0x478da3=_0x19b180,_0x7d9caf=_0x3099f4(this[_0x478da3(0x1cf)]),_0x341c7d=_0x7d9caf[_0x478da3(0x13d)][_0x478da3(0x129)][_0x478da3(0x13e)](_0x39c668);return _0x341c7d?_0x12aaf9(_0x7d9caf[_0x478da3(0x138)],_0x341c7d):null;}[_0x19b180(0xdd)](_0x597b81){const _0x5493c7=_0x19b180;return Array[_0x5493c7(0x1be)](this[_0x5493c7(0x14d)][_0x5493c7(0x124)]())[_0x5493c7(0x105)](_0x153bd4=>_0x153bd4[_0x5493c7(0x119)]===_0x597b81);}[_0x19b180(0xdf)](_0x5dc2bd){const _0x26d416=_0x19b180;return _0x26d416(0xfe)===_0x5dc2bd[_0x26d416(0xd9)]?_0x5dc2bd[_0x26d416(0x131)]:_0x5dc2bd[_0x26d416(0x136)][_0x26d416(0x1a8)];}[_0x19b180(0x16e)](_0x4e1c7a,_0x2f270b=!0x1){const _0x559a10=_0x19b180;return _0x559a10(0xfe)===_0x4e1c7a[_0x559a10(0xd9)]?_0x2f270b?_0x4e1c7a[_0x559a10(0x131)]:_0x4e1c7a[_0x559a10(0x131)][_0x559a10(0xe9)](_0x4e1c7a[_0x559a10(0x1b4)]):_0x4e1c7a[_0x559a10(0x136)][_0x559a10(0x1a1)];}[_0x19b180(0x183)](_0x43d00f,_0x26e895){const _0x4ebec9=_0x19b180;return _0x4ebec9(0xfe)===_0x43d00f[_0x4ebec9(0xd9)]?_0x43d00f[_0x4ebec9(0x131)]=_0x43d00f[_0x4ebec9(0x131)][_0x4ebec9(0xe9)](_0x26e895):_0x4ebec9(0x19d)===_0x43d00f[_0x4ebec9(0xd9)]&&_0x43d00f[_0x4ebec9(0x136)]&&(_0x43d00f[_0x4ebec9(0x136)]=new _0xe11065(_0x43d00f[_0x4ebec9(0x136)][_0x4ebec9(0x1a8)][_0x4ebec9(0xe9)](_0x26e895),_0x43d00f[_0x4ebec9(0x136)][_0x4ebec9(0x1a1)][_0x4ebec9(0xe9)](_0x26e895))),_0x43d00f;}[_0x19b180(0x1a5)](_0x49593a,_0x461e0c){const _0x283243=_0x19b180;_0x283243(0xfe)===_0x49593a[_0x283243(0xd9)]?_0x49593a[_0x283243(0x131)]=this[_0x283243(0x1c5)](_0x49593a[_0x283243(0x131)],_0x461e0c):_0x283243(0x19d)===_0x49593a[_0x283243(0xd9)]&&_0x49593a[_0x283243(0x136)]&&(_0x49593a[_0x283243(0x136)]=this[_0x283243(0x191)](_0x49593a[_0x283243(0x136)],_0x461e0c));}[_0x19b180(0x1c5)](_0x1af4ac,_0x1e174b){const _0x35c48f=_0x19b180;return new _0x378a27(_0x1e174b,_0x1af4ac[_0x35c48f(0xd7)]);}[_0x19b180(0x191)](_0x29779c,_0x769b59){const _0x19a53d=_0x19b180;return new _0xe11065(this[_0x19a53d(0x1c5)](_0x29779c[_0x19a53d(0x1a8)],_0x769b59),this[_0x19a53d(0x1c5)](_0x29779c[_0x19a53d(0x1a1)],_0x769b59));}[_0x19b180(0xe7)](_0x4a4dec,_0x21203c){return new _0x378a27(_0x21203c,[..._0x4a4dec]);}[_0x19b180(0x1b2)](_0x4a884f,_0x5aa149,_0x51bd9b,_0x3c6700){const _0x458028=_0x19b180;return new _0xe11065(this[_0x458028(0xe7)](_0x5aa149,_0x3c6700),this[_0x458028(0xe7)](_0x51bd9b,_0x3c6700));}[_0x19b180(0x1c0)](_0x3aa3aa){const _0x47ea8d=_0x19b180,_0x1ffa37=_0x5843fe=>{const _0x12a5c6=_0x80bc;switch(_0x5843fe){case _0x12a5c6(0xfe):return 0x0;case _0x12a5c6(0xcd):return 0x1;case _0x12a5c6(0x14b):return 0x2;case _0x12a5c6(0x1aa):return 0x3;}};return _0x3aa3aa[_0x47ea8d(0x1a9)]((_0xfb569e,_0x35b22e)=>_0x1ffa37(_0xfb569e[_0x47ea8d(0xd9)])-_0x1ffa37(_0x35b22e[_0x47ea8d(0xd9)]));}[_0x19b180(0x11a)](_0x4bf10b,_0x5929e3){const _0x130be9=_0x19b180,_0x78eeee=_0x4bf10b[_0x130be9(0xe3)](0x0),_0x540909=_0x5929e3[_0x130be9(0xe3)](0x0);return!(!_0x78eeee||!_0x540909)&&((!_0x78eeee['is'](_0x130be9(0x198))||!_0x540909['is'](_0x130be9(0x198))||_0x78eeee[_0x130be9(0x1b0)]===_0x540909[_0x130be9(0x1b0)])&&!(_0x78eeee['is'](_0x130be9(0x198))&&!_0x540909['is'](_0x130be9(0x198))||!_0x78eeee['is'](_0x130be9(0x198))&&_0x540909['is'](_0x130be9(0x198))));}[_0x19b180(0xe0)](_0x4b2298){const _0x5985a9=_0x19b180;return 0x1===_0x4b2298[_0x5985a9(0x1b9)];}[_0x19b180(0x14f)](_0x57c409,_0x3f031a){const _0x61d90e=_0x19b180;for(const _0x5ee8c0 of _0x57c409[_0x61d90e(0x102)]())if(_0x5ee8c0['is'](_0x61d90e(0x198))&&!_0x3f031a[_0x61d90e(0x130)](_0x5ee8c0))return!0x1;return!0x0;}[_0x19b180(0x148)](_0x406604,_0x1efe96){const _0x9f85e2=_0x19b180;let _0x745d95=_0x406604[_0x9f85e2(0x11c)](_0x1c0dfb);return _0x745d95||(_0x745d95=_0x1efe96(),_0x406604[_0x9f85e2(0xca)](_0x1c0dfb,_0x745d95)),_0x745d95;}}
23
+ const _0x53d7b2=_0x4119;(function(_0x5a62a8,_0xefd6c3){const _0x20f523=_0x4119,_0x104a82=_0x5a62a8();while(!![]){try{const _0x3f690b=parseInt(_0x20f523(0x16e))/0x1*(parseInt(_0x20f523(0x17f))/0x2)+parseInt(_0x20f523(0x115))/0x3*(-parseInt(_0x20f523(0x150))/0x4)+parseInt(_0x20f523(0x19d))/0x5+-parseInt(_0x20f523(0x15b))/0x6*(-parseInt(_0x20f523(0x103))/0x7)+parseInt(_0x20f523(0xcb))/0x8*(parseInt(_0x20f523(0xee))/0x9)+-parseInt(_0x20f523(0x19c))/0xa+-parseInt(_0x20f523(0x19e))/0xb;if(_0x3f690b===_0xefd6c3)break;else _0x104a82['push'](_0x104a82['shift']());}catch(_0x4f1543){_0x104a82['push'](_0x104a82['shift']());}}}(_0x46cf,0xd7f70));import{InsertOperation as _0x90cb5c,MarkerOperation as _0x369666,ModelDocumentFragment as _0xbf939,ModelPosition as _0x9c1191,ModelRange as _0x3a73c2,ModelTreeWalker as _0x5ccc09,transformOperationSets as _0x3a453d}from'ckeditor5/src/engine.js';function _0x4119(_0x3ec7e0,_0x28e8ea){const _0x46cf59=_0x46cf();return _0x4119=function(_0x41194c,_0x43cbcb){_0x41194c=_0x41194c-0xa1;let _0x1fd3cc=_0x46cf59[_0x41194c];return _0x1fd3cc;},_0x4119(_0x3ec7e0,_0x28e8ea);}import{DomEmitterMixin as _0x14ce52,EmitterMixin as _0xcae8a5,uid as _0x1d9c3e}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4890e6}from'ckeditor5/src/core.js';import{DocumentCompare as _0x3b1d7e,DATA_ID_MODEL_ATTRIBUTE as _0x4efb12,DATA_ID_VIEW_ATTRIBUTE as _0x4cfc06,getMarkerDomElement as _0x585855}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x1c8702}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x5d8ef0}from'../aicore/aiediting.js';import{debounce as _0x54c9c3}from'es-toolkit/compat';const fe=_0x53d7b2(0xc5);function _0x46cf(){const _0x16c720=['set','_getPositionLimitingRange','disableReadOnlyMode','_changeRangeOwnerDocument','582387GtTsvs','clone','getRoot','ellipsisAfter','toView','_eventEmitter','data-marker-id','getDocumentData','_nextDataId','AIEditing','toDomElement','getChangedMarkers','ck-ai_review-marker_underline','operationsA','document','mouseover','_changePositionOwnerDocument','offsetSize','createUIElement','getStart','hasAttribute','_changeRange','_markers','schema','editingDowncast','dataDowncast','getContentElementForChange','isInline','keys','differ','getRange','position','applyOperation','isAtStart','ck-ai_review-marker_context-end','context','createSelection','groupId','\x20ck-ai_review__change_active','sort','hasContentAfter','hasContentBefore','rootName','$root','createRangeOn','reactivateMarkers','changeMarkerClicked','_changeOperationOwnerDocument','createPositionAt','_findAdjacentContextDistance','addMarker','_clone','_getChangeContext','root','rejectChange','_getMarkersDataForGroup','concat','ai-review','content','16jqbnBA','name','history','split','ck-ai_review-marker_context-start','nodes','.ck-reset.ck-ai_review-balloon-panel-suggestion','_removeAttribute','$textProxy','No\x20element\x20found\x20for\x20ID:\x20','toData','1014xvWLRP','data','$graveyard','start','startsWith','_changePosition','createRawElement','filter','isOpening','markerToElement','_getOperationStart','_findMarkerElement','span','ellipsisBefore','operations','domConverter','getMarkerElementForChange','has','every','4209vlpuEp','size','documentFragment','inside','[data-id=\x22','changeMarkerRestored','_handleMarkerChanges','diffContent','_appendChild','asFragment','getShiftedBy','markers','htmlWriter','end','change','getOperations','closest','800dnfHSA','removeMarker','length','$markedRemove','afterInit','batch','remove-only','deleteContent','_createGetContextFn','addOperation','_groupAdjacentOperations','isDocumentOperation','delete','processor','_createGetContentFn','$markedRemove:synthetic','insert','getRoots','_upsertDataId','createDocumentFragment','affectsData','stringify','fire','isIntersecting','relatedTarget','AIReviewCoreEditing','getChanges','offset','join','6775860UqrgEn','1733825ARGUcH','23958341jsnKoY','childCount','asString','getPath','_createGetContentUsingDataIdFn','downcast','attributeToAttribute','from','elements','suggestion:insertion:id:authorId:','editing','_getOperationEnd','remove-text','changeMarkerRemoved','createPositionAfter','ck-ai_review-marker_hide','outerHTML','_setAttribute','jumpTo','suggestion:deletion:id:authorId:','_validateMarkers','_translateOperationToEditorContent','clearAllMarkers','markerToHighlight','emitter','viewToDom','className','for','DocumentCompare','querySelector','type','requires','enableReadOnlyMode','marker','mouseup','innerHTML','createRangeIn','switchToEdit','hasClass','howMany','values','newRange','add','getAttribute','append','parse','pop','version','markerName','setMarkersInElementAsActive','applyChange','getEditor','htmlProcessor','remove-context','review-','markChangePositionInEditorContent','isAtEnd','includes','_parseMarkerName','oldRange','616ZfyggI','path','parent','ck-ai_review-marker_context-','getDomRoot','containerElement','_hasSameTopLevelElement','changeMarkerHovered','get','flat','_removeChildren','setAllMarkersAsInactive','outside','_shiftOperation','baseVersion','getDiff','_insertMarkers','isTouching','ck-ai_review__change_active','view','createRange','pluginName','forEach','isPremiumPlugin','getChildren','switchToReadOnly','_findMarkerElementById','_domEmitter','_haveOnlyInlineContent','reconvertMarker','parentElement','map','ck-ai_review-marker_strikethrough','index','$documentFragment','100449QIVvBD','ck-ai_review-marker_add','_haveSingleTopLevelElement','remove','getHtml','highest','operationsIsolated','insertContent','isLimit','exec','backward','model','warn','containsRange','body','changeMarkerBlurred','getChild','conversion','[data-marker-id=\x22','forward','_sortMarkers','67389dbhsgD','isOfficialPlugin','clear','_activeMarkers','ck-ai_review-marker_','isBlock','registerPostFixer','target','getEditableElement','listenTo','element','suggestion-context','push','plugins'];_0x46cf=function(){return _0x16c720;};return _0x46cf();}export class AIReviewCoreEditing extends _0x4890e6{static get[_0x53d7b2(0xae)](){return[_0x3b1d7e,_0x5d8ef0];}static get[_0x53d7b2(0xe0)](){const _0x145110=_0x53d7b2;return _0x145110(0x198);}static get[_0x53d7b2(0x104)](){return!0x0;}static get[_0x53d7b2(0xe2)](){return!0x0;}[_0x53d7b2(0x12b)]=new Map();[_0x53d7b2(0x106)]=new Set();[_0x53d7b2(0xe6)];[_0x53d7b2(0x11a)];constructor(_0x15afcf){const _0x3ae5ae=_0x53d7b2;super(_0x15afcf),this[_0x3ae5ae(0xe6)]=new(_0x14ce52())(),this[_0x3ae5ae(0x11a)]=new(_0xcae8a5())();}get[_0x53d7b2(0xa7)](){const _0x37adf5=_0x53d7b2;return this[_0x37adf5(0x11a)];}[_0x53d7b2(0x183)](){const _0x5a43fd=_0x53d7b2,_0x3c85f0=_0x1c8702(this[_0x5a43fd(0x138)]);_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12d))[_0x5a43fd(0x164)]({'model':fe+_0x5a43fd(0x18f),'view':(_0x542b9b,{writer:_0x155a2d})=>{const _0x3b3aba=_0x5a43fd,_0x20b68b=this[_0x3b3aba(0x12b)][_0x3b3aba(0xd3)](_0x542b9b[_0x3b3aba(0xbf)]),_0x5d53fd={'class':_0x3b3aba(0xef)+(this[_0x3b3aba(0x106)][_0x3b3aba(0x16c)](_0x20b68b?.['id']||'')?_0x3b3aba(0x13b):''),'data-marker-id':_0x542b9b[_0x3b3aba(0xbf)]};return _0x155a2d[_0x3b3aba(0x127)](_0x3b3aba(0x167),_0x5d53fd,function(_0x1fb3fa){const _0xe4befc=_0x3b3aba,_0x81726b=this[_0xe4befc(0x11f)](_0x1fb3fa);return _0x81726b[_0xe4befc(0xb2)]=_0x20b68b?.[_0xe4befc(0x14f)]?.[_0xe4befc(0x1a0)]||'',_0x81726b;});}}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12d))[_0x5a43fd(0xa6)]({'model':fe+_0x5a43fd(0x185),'view':_0x4f8ec8=>{const _0x13779a=_0x5a43fd,_0x401144=this[_0x13779a(0x12b)][_0x13779a(0xd3)](_0x4f8ec8[_0x13779a(0xbf)]),_0x2d6828=[_0x13779a(0xeb)];return this[_0x13779a(0x106)][_0x13779a(0x16c)](_0x401144?.['id']||'')&&_0x2d6828[_0x13779a(0x10f)](_0x13779a(0xdd)),{'classes':_0x2d6828,'attributes':{'data-marker-id':_0x4f8ec8[_0x13779a(0xbf)]}};}}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12d))[_0x5a43fd(0xa6)]({'model':fe+_0x5a43fd(0xc4),'view':_0x523ff2=>{const _0x4aab8b=_0x5a43fd,_0x3b9cb9=this[_0x4aab8b(0x12b)][_0x4aab8b(0xd3)](_0x523ff2[_0x4aab8b(0xbf)]),_0x525597=[_0x4aab8b(0x121)];return this[_0x4aab8b(0x106)][_0x4aab8b(0x16c)](_0x3b9cb9?.['id']||'')&&_0x525597[_0x4aab8b(0x10f)](_0x4aab8b(0xdd)),{'classes':_0x525597,'attributes':{'data-marker-id':_0x523ff2[_0x4aab8b(0xbf)]}};}}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12d))[_0x5a43fd(0xa6)]({'model':fe+_0x5a43fd(0x1aa),'view':_0x3f4e91=>{const _0x3d99ef=_0x5a43fd,_0x3b869c=this[_0x3d99ef(0x12b)][_0x3d99ef(0xd3)](_0x3f4e91[_0x3d99ef(0xbf)]),_0x2db2e2=[_0x3d99ef(0x1ad)];return this[_0x3d99ef(0x106)][_0x3d99ef(0x16c)](_0x3b869c?.['id']||'')&&_0x2db2e2[_0x3d99ef(0x10f)](_0x3d99ef(0xdd)),{'classes':_0x2db2e2,'attributes':{'data-marker-id':_0x3f4e91[_0x3d99ef(0xbf)]}};}}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12e))[_0x5a43fd(0x164)]({'model':fe+_0x5a43fd(0x10e),'view':(_0x26ede8,{writer:_0x682547})=>_0x682547[_0x5a43fd(0x161)](_0x5a43fd(0x167),{'class':_0x5a43fd(0xce)+(_0x26ede8[_0x5a43fd(0x163)]?_0x5a43fd(0x15e):_0x5a43fd(0x17b))})}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x1a3))[_0x5a43fd(0x1a4)]({'model':_0x4efb12,'view':_0x4cfc06});const _0x628feb=_0x3c85f0['ui'][_0x5a43fd(0x10b)]()||document[_0x5a43fd(0xfc)];this[_0x5a43fd(0xe6)][_0x5a43fd(0x10c)](_0x628feb,_0x5a43fd(0xb1),(_0x3f334a,_0x107b93)=>{const _0x48455a=_0x5a43fd,_0x2e0f15=_0x107b93[_0x48455a(0x10a)],_0x15e531=this[_0x48455a(0x166)](_0x2e0f15);if(!_0x15e531)return;const _0x2ef2d8=_0x15e531[_0x48455a(0xba)](_0x48455a(0x11b)),_0x53e89d=_0x2ef2d8[_0x48455a(0x153)](':')[_0x48455a(0xbd)]()?.[_0x48455a(0x153)]('_')[0x0];this[_0x48455a(0x11a)][_0x48455a(0x195)](_0x48455a(0x143),{'markerId':_0x2ef2d8,'changeId':_0x53e89d,'markerElement':()=>this[_0x48455a(0xe5)](_0x2ef2d8),'domEvent':_0x107b93});},{'usePassive':!0x0,'priority':_0x5a43fd(0xf3)}),this[_0x5a43fd(0xe6)][_0x5a43fd(0x10c)](_0x628feb,_0x5a43fd(0x124),(_0x43582d,_0x444641)=>{const _0x496747=_0x5a43fd,_0xa675f6=_0x444641[_0x496747(0x10a)],_0x297fbd=_0x444641[_0x496747(0x197)];let _0x547735=this[_0x496747(0x166)](_0xa675f6);if(!_0x547735&&_0x297fbd&&(_0x547735=this[_0x496747(0x166)](_0x297fbd)),!_0x547735)return;const _0x2e55bb=_0x547735[_0x496747(0xba)](_0x496747(0x11b)),_0x1685bc=_0x2e55bb[_0x496747(0x153)](':')[_0x496747(0xbd)]()?.[_0x496747(0x153)]('_')[0x0];this[_0x496747(0x11a)][_0x496747(0x195)](_0x496747(0xd2),{'changeId':_0x1685bc,'markerElement':()=>this[_0x496747(0xe5)](_0x2e55bb),'domEvent':_0x444641});}),this[_0x5a43fd(0xe6)][_0x5a43fd(0x10c)](document,_0x5a43fd(0x124),_0x54c9c3((_0x4d8bd4,_0x36a7b6)=>{const _0x20a7f0=_0x5a43fd,_0x29ad05=_0x36a7b6[_0x20a7f0(0x10a)];if(this[_0x20a7f0(0x166)](_0x29ad05))return;_0x29ad05[_0x20a7f0(0x17e)](_0x20a7f0(0x156))||this[_0x20a7f0(0x11a)][_0x20a7f0(0x195)](_0x20a7f0(0xfd));},0xc8)),_0x3c85f0[_0x5a43fd(0xf9)][_0x5a43fd(0x123)][_0x5a43fd(0x109)](_0x77ca76=>this[_0x5a43fd(0xa3)](_0x3c85f0,_0x77ca76)),_0x3c85f0[_0x5a43fd(0xf9)][_0x5a43fd(0x123)]['on'](_0x5a43fd(0x17c),()=>this[_0x5a43fd(0x174)](_0x3c85f0));}[_0x53d7b2(0x11c)](){const _0x4a39fa=_0x53d7b2,_0x40e23e=this[_0x4a39fa(0x138)][_0x4a39fa(0x110)][_0x4a39fa(0xd3)](_0x4a39fa(0x11e)),_0x269be2=_0x1c8702(this[_0x4a39fa(0x138)]),_0x5b3d11=_0x269be2[_0x4a39fa(0xf9)],_0x595865=new _0xbf939();for(const _0x5df126 of _0x5b3d11[_0x4a39fa(0x123)][_0x4a39fa(0x117)]()[_0x4a39fa(0xe3)]()){const _0x32cfaa=_0x5df126[_0x4a39fa(0x148)](!0x0);_0x595865[_0x4a39fa(0x176)](_0x32cfaa);}for(const _0x30641d of _0x5b3d11[_0x4a39fa(0x179)])_0x595865[_0x4a39fa(0x179)][_0x4a39fa(0x111)](_0x30641d[_0x4a39fa(0x151)],this[_0x4a39fa(0x114)](_0x30641d[_0x4a39fa(0x133)]()[_0x4a39fa(0x116)](),_0x595865));const _0xf58825=new _0x5ccc09({'ignoreElementEnd':!0x0,'startPosition':_0x5b3d11[_0x4a39fa(0x145)](_0x595865,0x0)}),_0x1df398=new Set(),_0x28f539=new Map();for(const {item:_0x2ccafc}of _0xf58825){if(!_0x2ccafc['is'](_0x4a39fa(0x158)))continue;const _0xb46405=_0x2ccafc[_0x4a39fa(0xcd)];if(_0xb46405&&_0xb46405['is'](_0x4a39fa(0x10d))){const _0xc32479=this[_0x4a39fa(0x191)](_0xb46405,()=>_0x40e23e[_0x4a39fa(0x11d)](_0x1df398));_0x1df398[_0x4a39fa(0xb9)](_0xc32479);for(const _0x314494 of _0xb46405[_0x4a39fa(0xe3)]())_0x314494['is'](_0x4a39fa(0x10d))&&_0x1df398[_0x4a39fa(0xb9)](this[_0x4a39fa(0x191)](_0x314494,()=>_0x40e23e[_0x4a39fa(0x11d)](_0x1df398)));let _0x291e2f=_0xb46405;for(;_0x291e2f[_0x4a39fa(0xcd)]&&!_0x291e2f[_0x4a39fa(0xcd)]['is'](_0x4a39fa(0x170));)_0x291e2f=_0x291e2f[_0x4a39fa(0xcd)],_0x291e2f[_0x4a39fa(0x129)](_0x4efb12)&&_0x291e2f[_0x4a39fa(0x157)](_0x4efb12);_0x28f539[_0x4a39fa(0x111)](_0xc32479,{'path':_0xb46405[_0x4a39fa(0x1a1)](),'getContent':this[_0x4a39fa(0x1a2)](_0x291e2f[_0x4a39fa(0x148)](!0x0),_0xc32479,_0x269be2[_0x4a39fa(0x15c)])}),_0xf58825[_0x4a39fa(0xa1)](_0x5b3d11[_0x4a39fa(0x1ac)](_0xb46405));}}return{'content':_0x269be2[_0x4a39fa(0x15c)][_0x4a39fa(0x18c)][_0x4a39fa(0x15a)](_0x269be2[_0x4a39fa(0x15c)][_0x4a39fa(0x119)](_0x595865)),'version':_0x269be2[_0x4a39fa(0xf9)][_0x4a39fa(0x123)][_0x4a39fa(0xbe)],'elements':_0x28f539};}[_0x53d7b2(0x175)](_0x207c65,_0x3ccbc8,_0xda4a0b=!0x1){const _0x2e05a3=_0x53d7b2,_0xc44e0c=[],_0x4f5a1a=_0x1c8702(this[_0x2e05a3(0x138)]),_0x689109=_0x4f5a1a[_0x2e05a3(0x15c)][_0x2e05a3(0xbc)](_0x3ccbc8,_0x2e05a3(0xed)),_0x16e883=_0x4f5a1a[_0x2e05a3(0x15c)][_0x2e05a3(0xbc)](_0x207c65,_0x2e05a3(0xed)),_0x14b83a=_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x145)](_0x16e883,0x0);if(this[_0x2e05a3(0xf0)](_0x689109)){if(!this[_0x2e05a3(0xd1)](_0x16e883,_0x689109))return _0xc44e0c;}else{const _0x216d48=_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x12c)];if(!this[_0x2e05a3(0xe7)](_0x16e883,_0x216d48)||!this[_0x2e05a3(0xe7)](_0x689109,_0x216d48))return _0xc44e0c;}const _0x405cee=this[_0x2e05a3(0x138)][_0x2e05a3(0x110)][_0x2e05a3(0xd3)](_0x2e05a3(0xab))[_0x2e05a3(0xda)](_0x207c65,_0x3ccbc8,{'anchor':_0x14b83a,'markDeletions':!0x0})[_0x2e05a3(0x17d)]()[_0x2e05a3(0x162)](_0xe2b695=>_0x2e05a3(0x18f)===_0xe2b695[_0x2e05a3(0xad)]||_0x2e05a3(0xb0)===_0xe2b695[_0x2e05a3(0xad)]&&_0xe2b695[_0x2e05a3(0x151)][_0x2e05a3(0x15f)](_0x2e05a3(0x182))),_0x5d3db8=this[_0x2e05a3(0x189)](_0x405cee),_0x3eea1d=[];if(_0xda4a0b){if(_0x5d3db8[_0x2e05a3(0x181)]){const _0xc93eae=_0x5d3db8[0x0][_0x2e05a3(0x169)][0x0],_0x4f6aa5=_0x2e05a3(0x18f)===_0xc93eae[_0x2e05a3(0xad)]?_0xc93eae[_0x2e05a3(0x134)]:_0xc93eae[_0x2e05a3(0xb8)][_0x2e05a3(0x15e)],_0x28fa7d=this[_0x2e05a3(0x112)](_0x4f6aa5,_0x4f5a1a,_0x2e05a3(0x171)),_0x4805ba=_0x28fa7d?_0x689109[_0x2e05a3(0xfe)](0x0)[_0x2e05a3(0xe3)]():_0x689109[_0x2e05a3(0xe3)](),_0x42001e=_0x28fa7d||_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0xb3)](_0x16e883),_0x3c4bc3=[new _0x369666(_0x2e05a3(0x18e)+_0x1d9c3e(),null,_0x42001e,_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x123)][_0x2e05a3(0xf9)][_0x2e05a3(0x179)],!0x0,_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x123)][_0x2e05a3(0xbe)]+0x1),new _0x90cb5c(_0x42001e[_0x2e05a3(0x17b)],_0x4805ba,_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x123)][_0x2e05a3(0xbe)]+0x2)];_0x3eea1d[_0x2e05a3(0x10f)]({'operations':_0x3c4bc3,'operationsIsolated':_0x3c4bc3,'groupOffset':0x0});}}else _0x3eea1d[_0x2e05a3(0x10f)](..._0x5d3db8);let _0x5b2d0c=0x0;return _0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x17c)](_0x14a450=>{const _0x1fdde5=_0x2e05a3;for(let _0xcc24a8=0x0;_0xcc24a8<_0x3eea1d[_0x1fdde5(0x181)];_0xcc24a8++){const _0x16246f=_0x3eea1d[_0xcc24a8],_0x48a15=_0x14a450[_0x1fdde5(0x192)]();for(const _0x4c76d6 of _0x16e883[_0x1fdde5(0xe3)]())_0x14a450[_0x1fdde5(0xbb)](_0x4c76d6[_0x1fdde5(0x148)](!0x0),_0x48a15);for(const _0x522d8e of _0x16246f[_0x1fdde5(0xf4)])if(_0x1fdde5(0x18f)===_0x522d8e[_0x1fdde5(0xad)]){const _0x1b69b1=_0x522d8e;_0x1b69b1[_0x1fdde5(0xd9)]=null,_0x1b69b1[_0x1fdde5(0x18a)]=!0x1,this[_0x1fdde5(0x144)](_0x1b69b1,_0x48a15),_0x14a450[_0x1fdde5(0x184)][_0x1fdde5(0x188)](_0x522d8e),_0x4f5a1a[_0x1fdde5(0xf9)][_0x1fdde5(0x135)](_0x522d8e);const _0x11408d=_0x1fdde5(0x1a7)+_0x5b2d0c++,_0x375f80=_0x4f5a1a[_0x1fdde5(0xf9)][_0x1fdde5(0xdf)](_0x1b69b1[_0x1fdde5(0x134)],_0x1b69b1[_0x1fdde5(0x134)][_0x1fdde5(0x178)](_0x1b69b1[_0x1fdde5(0xb6)]));_0x48a15[_0x1fdde5(0x179)][_0x1fdde5(0x111)](_0x11408d,_0x375f80);}else{if(_0x1fdde5(0xb0)===_0x522d8e[_0x1fdde5(0xad)]&&_0x522d8e[_0x1fdde5(0x151)][_0x1fdde5(0x15f)](_0x1fdde5(0x182))){const _0x2ebed4=_0x522d8e,_0x48ec38=_0x1fdde5(0xa2)+_0x5b2d0c++;this[_0x1fdde5(0x144)](_0x2ebed4,_0x48a15),_0x48a15[_0x1fdde5(0x179)][_0x1fdde5(0x111)](_0x48ec38,_0x2ebed4[_0x1fdde5(0xb8)]);}}if(_0xda4a0b)_0xc44e0c[_0x1fdde5(0x10f)]({..._0x16246f,'context':this[_0x1fdde5(0x18d)](_0x16e883,_0x4f5a1a[_0x1fdde5(0x15c)]),'content':this[_0x1fdde5(0x18d)](_0x16e883,_0x4f5a1a[_0x1fdde5(0x15c)])});else{const _0xed5c6e=this[_0x1fdde5(0x149)](this[_0x1fdde5(0x125)](this[_0x1fdde5(0x165)](_0x16246f[_0x1fdde5(0xf4)][0x0]),_0x48a15),this[_0x1fdde5(0x125)](this[_0x1fdde5(0x1a9)](_0x16246f[_0x1fdde5(0xf4)][_0x16246f[_0x1fdde5(0xf4)][_0x1fdde5(0x181)]-0x1]),_0x48a15));_0x48a15[_0x1fdde5(0x179)][_0x1fdde5(0x111)](fe+_0x1fdde5(0x10e),new _0x3a73c2(_0xed5c6e[_0x1fdde5(0x15e)],_0xed5c6e[_0x1fdde5(0x17b)])),_0xc44e0c[_0x1fdde5(0x10f)]({..._0x16246f,'context':this[_0x1fdde5(0x187)](_0x48a15,_0x4f5a1a[_0x1fdde5(0x15c)],{'ellipsisBefore':_0xed5c6e[_0x1fdde5(0x13e)],'ellipsisAfter':_0xed5c6e[_0x1fdde5(0x13d)]}),'content':this[_0x1fdde5(0x18d)](_0x48a15,_0x4f5a1a[_0x1fdde5(0x15c)])});}}}),_0xc44e0c;}[_0x53d7b2(0xc6)](_0x2b65c9,_0x12400d){const _0xb21e53=_0x53d7b2;if(!_0x2b65c9[_0xb21e53(0x181)])return;const _0xb96b09=_0x2b65c9[0x0][_0xb21e53(0xcd)]['id'],_0x4a9e11=_0x12400d[_0xb21e53(0x1a6)][_0xb21e53(0xd3)](_0xb96b09);if(!_0x4a9e11)return void console[_0xb21e53(0xfa)](_0xb21e53(0x159)+_0xb96b09);const _0xcca13e=_0x4a9e11[_0xb21e53(0xcc)],_0xa18df7=_0x1c8702(this[_0xb21e53(0x138)]),_0x4da224=_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x123)][_0xb21e53(0x152)][_0xb21e53(0x17d)](_0x12400d[_0xb21e53(0xbe)]),_0x16efdc=[];for(const _0x4231a2 of _0x2b65c9){const _0x556772=_0x4231a2[_0xb21e53(0xf4)][_0xb21e53(0xea)](_0x2c7875=>this[_0xb21e53(0xa4)](_0x2c7875,_0xcca13e,_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x123)][_0xb21e53(0x190)]()[0x0]));if(!_0x556772||!_0x556772[_0xb21e53(0x181)])continue;const _0x4ba6c9=_0x556772[_0xb21e53(0x16d)](_0x2b7e22=>_0xb21e53(0xb0)===_0x2b7e22[_0xb21e53(0xad)]&&_0x2b7e22[_0xb21e53(0x151)][_0xb21e53(0x15f)](_0xb21e53(0x182))),_0x11d221={'document':_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x123)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5c0063=_0x3a453d(_0x556772,_0x4da224,_0x11d221)[_0xb21e53(0x122)];for(const _0x3ba581 of _0x5c0063)if(_0xb21e53(0x18f)===_0x3ba581[_0xb21e53(0xad)]){const _0x4abf5e=_0x3ba581,_0x2b9188=_0x4abf5e[_0xb21e53(0x155)];_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x17c)](_0x5c15df=>{const _0x2102d1=_0xb21e53,_0x1ec559=_0x5c15df[_0x2102d1(0x192)]();for(const _0x2412b7 of _0x2b9188)_0x5c15df[_0x2102d1(0xbb)](_0x2412b7[_0x2102d1(0x148)](!0x0),_0x1ec559);_0x16efdc[_0x2102d1(0x10f)]({'start':_0x4abf5e[_0x2102d1(0x134)],'end':_0x4abf5e[_0x2102d1(0x134)],'type':_0x2102d1(0x18f),'groupId':_0x4231a2['id'],'content':{'asString':this[_0x2102d1(0x18d)](_0x1ec559,_0xa18df7[_0x2102d1(0x15c)])(),'asFragment':_0x1ec559}});});}else{if(_0xb21e53(0xb0)===_0x3ba581[_0xb21e53(0xad)]&&_0x3ba581[_0xb21e53(0x151)][_0xb21e53(0x15f)](_0xb21e53(0x182))){const _0x169e7a=_0x3ba581;let _0x1433d7=_0xb21e53(0x1aa);if(_0x4ba6c9){const _0x41babb=this[_0xb21e53(0x146)](_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x15e)],_0xb21e53(0xf8),_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x12c)]),_0x445300=this[_0xb21e53(0x146)](_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x17b)],_0xb21e53(0x101),_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x12c)]);if(_0x41babb||_0x445300){const _0x258dd4=_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x15e)][_0xb21e53(0x178)](-_0x41babb),_0xc546a0=_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x17b)][_0xb21e53(0x178)](_0x445300);_0x16efdc[_0xb21e53(0x10f)]({'start':_0x258dd4,'end':_0xc546a0,'groupId':_0x4231a2['id'],'type':_0xb21e53(0xc4)});}else _0x1433d7=_0xb21e53(0x185);}_0x16efdc[_0xb21e53(0x10f)]({'start':_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x15e)],'end':_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x17b)],'groupId':_0x4231a2['id'],'type':_0x1433d7});}}}this[_0xb21e53(0xdb)](_0x16efdc);}[_0x53d7b2(0xa5)](){const _0x18eba8=_0x53d7b2,_0x102674=_0x1c8702(this[_0x18eba8(0x138)]);_0x102674[_0x18eba8(0xf9)][_0x18eba8(0x17c)](_0x32fd2a=>{const _0x2ee0ac=_0x18eba8;for(const _0x3c7f25 of this[_0x2ee0ac(0x12b)][_0x2ee0ac(0x131)]())_0x102674[_0x2ee0ac(0xf9)][_0x2ee0ac(0x179)][_0x2ee0ac(0xd3)](_0x3c7f25)&&_0x32fd2a[_0x2ee0ac(0x180)](_0x3c7f25);}),this[_0x18eba8(0x12b)][_0x18eba8(0x105)](),this[_0x18eba8(0x106)][_0x18eba8(0x105)]();}[_0x53d7b2(0xe4)](){const _0x5f0802=_0x53d7b2;_0x1c8702(this[_0x5f0802(0x138)])[_0x5f0802(0xaf)](_0x5f0802(0x14e));}[_0x53d7b2(0xb4)](){const _0x1c9b18=_0x53d7b2;_0x1c8702(this[_0x1c9b18(0x138)])[_0x1c9b18(0x113)](_0x1c9b18(0x14e));}[_0x53d7b2(0xc1)](_0x3e8b54){const _0x245d8b=_0x53d7b2,_0x938758=_0x1c8702(this[_0x245d8b(0x138)]),_0x514b1d=_0x938758[_0x245d8b(0xf9)],_0x283292=_0x3e8b54[_0x245d8b(0xea)](_0x161545=>this[_0x245d8b(0x14c)](_0x161545))[_0x245d8b(0xd4)]();_0x514b1d[_0x245d8b(0x17c)](_0x3eb95e=>{const _0x4a92de=_0x245d8b;for(const _0x45924c of _0x283292){const _0x99879e=_0x938758[_0x4a92de(0xf9)][_0x4a92de(0x179)][_0x4a92de(0xd3)](_0x45924c['id']);if(_0x99879e){if(_0x4a92de(0x18f)===_0x45924c[_0x4a92de(0xad)]){if(!_0x45924c[_0x4a92de(0x14f)])continue;_0x514b1d[_0x4a92de(0xf5)](_0x45924c[_0x4a92de(0x14f)][_0x4a92de(0x177)]||null,_0x99879e[_0x4a92de(0x133)]()[_0x4a92de(0x15e)]);}else _0x4a92de(0x1aa)!==_0x45924c[_0x4a92de(0xad)]&&_0x4a92de(0x185)!==_0x45924c[_0x4a92de(0xad)]||_0x514b1d[_0x4a92de(0x186)](_0x514b1d[_0x4a92de(0x139)](_0x99879e[_0x4a92de(0x133)]()));_0x3eb95e[_0x4a92de(0x180)](_0x45924c['id']),this[_0x4a92de(0x12b)][_0x4a92de(0x18b)](_0x45924c['id']);}}});}[_0x53d7b2(0x14b)](_0x2e7e1b){const _0x24b7e7=_0x53d7b2,_0x3401a9=_0x1c8702(this[_0x24b7e7(0x138)]),_0x383ead=this[_0x24b7e7(0x14c)](_0x2e7e1b);_0x3401a9[_0x24b7e7(0xf9)][_0x24b7e7(0x17c)](_0x5407c3=>{const _0x293f7a=_0x24b7e7;for(const _0x59f846 of _0x383ead)_0x5407c3[_0x293f7a(0x180)](_0x59f846['id']),this[_0x293f7a(0x12b)][_0x293f7a(0x18b)](_0x59f846['id']);});}[_0x53d7b2(0xc2)](){const _0xb8e73=_0x53d7b2;return _0x1c8702(this[_0xb8e73(0x138)]);}[_0x53d7b2(0x16b)](_0x165192){const _0x2afcf=_0x53d7b2,_0x4d7df2=Array[_0x2afcf(0x1a5)](this[_0x2afcf(0x12b)][_0x2afcf(0xb7)]())[_0x2afcf(0x162)](_0x7c3d85=>_0x7c3d85[_0x2afcf(0x13a)]===_0x165192);if(!_0x4d7df2[_0x2afcf(0x181)])return null;const _0x388f6c=0x1===_0x4d7df2[_0x2afcf(0x181)]?_0x4d7df2[0x0]:this[_0x2afcf(0x102)](_0x4d7df2)[0x0],_0x4e7626=_0x1c8702(this[_0x2afcf(0x138)])[_0x2afcf(0xf9)][_0x2afcf(0x179)][_0x2afcf(0xd3)](_0x388f6c['id']);if(!_0x4e7626)return null;return{'modelRange':_0x4e7626[_0x2afcf(0x133)](),'getElement':()=>this[_0x2afcf(0xe5)](_0x388f6c['id'])};}[_0x53d7b2(0x12f)](_0x3cd092){const _0x59528f=_0x53d7b2,_0xc2d530=Array[_0x59528f(0x1a5)](this[_0x59528f(0x12b)][_0x59528f(0xb7)]())[_0x59528f(0x162)](_0x5b7402=>_0x5b7402[_0x59528f(0x13a)]===_0x3cd092);if(!_0xc2d530[_0x59528f(0x181)])return null;const _0xc83f0d=0x1===_0xc2d530[_0x59528f(0x181)]?_0xc2d530[0x0]:this[_0x59528f(0x102)](_0xc2d530)[0x0],_0x3a6b59=_0x1c8702(this[_0x59528f(0x138)]),_0x16af1b=_0x3a6b59[_0x59528f(0xf9)][_0x59528f(0x179)][_0x59528f(0xd3)](_0xc83f0d['id']);if(!_0x16af1b)return null;const _0x7900a=_0x16af1b[_0x59528f(0x133)](),_0x5c7e7d=_0x3a6b59[_0x59528f(0x1a8)][_0x59528f(0xde)][_0x59528f(0xcf)]();if(!_0x5c7e7d||!_0x7900a)return null;let _0xc923ad=_0x7900a[_0x59528f(0x15e)][_0x59528f(0xcd)];for(;_0xc923ad[_0x59528f(0xcd)]&&_0x59528f(0x140)!==_0xc923ad[_0x59528f(0xcd)][_0x59528f(0x151)];)_0xc923ad=_0xc923ad[_0x59528f(0xcd)];if(!_0xc923ad||!_0xc923ad[_0x59528f(0x151)])return null;const _0x54a1d6=_0x5c7e7d[_0x59528f(0xac)](_0x59528f(0x100)+_0xc83f0d['id']+'\x22]');if(!_0x54a1d6)return null;let _0x3082c2=null;_0x3a6b59[_0x59528f(0xf9)][_0x59528f(0x17c)](_0x15b055=>{const _0x3af258=_0x59528f;_0x3082c2=_0x15b055[_0x3af258(0x192)](),_0x15b055[_0x3af258(0xbb)](_0xc923ad[_0x3af258(0x148)](!0x0),_0x3082c2);});const _0x4bdfa0=_0x3a6b59[_0x59528f(0x15c)][_0x59528f(0x119)](_0x3082c2)[_0x59528f(0xfe)](0x0);return _0x54a1d6[_0x59528f(0x17e)](_0x4bdfa0[_0x59528f(0x151)]);}[_0x53d7b2(0x142)](_0x36aa40){const _0x49f124=_0x53d7b2,_0x6bb779=this[_0x49f124(0x14c)](_0x36aa40);if(!_0x6bb779[_0x49f124(0x181)])return;const _0x299b63=Array[_0x49f124(0x1a5)](this[_0x49f124(0x106)])[_0x49f124(0x13c)](),_0x5b7f34=Array[_0x49f124(0x1a5)](new Set(_0x6bb779[_0x49f124(0xea)](_0x64e709=>_0x64e709['id'])))[_0x49f124(0x13c)]();_0x299b63[_0x49f124(0x19b)]('|')!==_0x5b7f34[_0x49f124(0x19b)]('|')&&(this[_0x49f124(0xd6)](),this[_0x49f124(0xc0)](_0x36aa40));}[_0x53d7b2(0xc0)](_0x492e44){const _0x1e6800=_0x53d7b2,_0x88837f=this[_0x1e6800(0x14c)](_0x492e44);if(!_0x88837f[_0x1e6800(0x181)])return;const _0x36314a=_0x1c8702(this[_0x1e6800(0x138)]),_0x55fd12=new Set(_0x88837f[_0x1e6800(0xea)](_0x18e4e5=>_0x18e4e5['id'])),_0x414466=Array[_0x1e6800(0x1a5)](_0x55fd12[_0x1e6800(0xb7)]())[_0x1e6800(0xea)](_0x3cf65c=>_0x36314a[_0x1e6800(0xf9)][_0x1e6800(0x179)][_0x1e6800(0xd3)](_0x3cf65c))[_0x1e6800(0x162)](_0x272de7=>!!_0x272de7);_0x55fd12[_0x1e6800(0xe1)](_0x44a9ec=>{const _0x14af26=_0x1e6800;this[_0x14af26(0x106)][_0x14af26(0xb9)](_0x44a9ec);}),_0x36314a[_0x1e6800(0xf9)][_0x1e6800(0x17c)](()=>{const _0x228bcc=_0x1e6800;_0x414466[_0x228bcc(0xe1)](_0x343864=>{const _0x494327=_0x228bcc;_0x36314a[_0x494327(0x1a8)][_0x494327(0xe8)](_0x343864);});});}[_0x53d7b2(0xd6)](){const _0x447b46=_0x53d7b2,_0x1d7225=Array[_0x447b46(0x1a5)](this[_0x447b46(0x106)]);if(!_0x1d7225[_0x447b46(0x181)])return;this[_0x447b46(0x106)][_0x447b46(0x105)]();const _0x1fe890=_0x1c8702(this[_0x447b46(0x138)]),_0x35911e=_0x1d7225[_0x447b46(0xea)](_0x42aba3=>_0x1fe890[_0x447b46(0xf9)][_0x447b46(0x179)][_0x447b46(0xd3)](_0x42aba3))[_0x447b46(0x162)](_0xab4369=>!!_0xab4369);_0x1fe890[_0x447b46(0xf9)][_0x447b46(0x17c)](()=>{const _0x5978d7=_0x447b46;_0x35911e[_0x5978d7(0xe1)](_0x339613=>{const _0x38133f=_0x5978d7;_0x1fe890[_0x38133f(0x1a8)][_0x38133f(0xe8)](_0x339613);});});}[_0x53d7b2(0x112)](_0xfa4e35,_0x20bf90,_0x326f73=_0x53d7b2(0xd7)){const _0x3147d6=_0x53d7b2;if(!_0xfa4e35)return null;let _0x5cdae5=_0xfa4e35[_0x3147d6(0xcd)];for(;_0x5cdae5&&_0x5cdae5[_0x3147d6(0xcd)]&&_0x3147d6(0x140)!==_0x5cdae5[_0x3147d6(0xcd)][_0x3147d6(0x151)]&&!_0x20bf90[_0x3147d6(0xf9)][_0x3147d6(0x12c)][_0x3147d6(0xf6)](_0x5cdae5)&&!_0x20bf90[_0x3147d6(0xf9)][_0x3147d6(0x12c)][_0x3147d6(0x108)](_0x5cdae5);)_0x5cdae5=_0x5cdae5[_0x3147d6(0xcd)];if(!_0x5cdae5||!_0x5cdae5[_0x3147d6(0x151)]||_0x3147d6(0x140)===_0x5cdae5[_0x3147d6(0x151)])return null;let _0x587a20=null;return _0x20bf90[_0x3147d6(0xf9)][_0x3147d6(0x17c)](_0x306215=>{const _0x156a92=_0x3147d6;_0x587a20=_0x156a92(0x171)===_0x326f73?_0x306215[_0x156a92(0xb3)](_0x5cdae5):_0x306215[_0x156a92(0x141)](_0x5cdae5);}),_0x587a20;}[_0x53d7b2(0xa3)](_0x5c2a73,_0x42cb24){const _0x292cb9=_0x53d7b2,_0x1e5d8f=Array[_0x292cb9(0x1a5)](this[_0x292cb9(0x12b)][_0x292cb9(0x131)]()),_0x8c54ae=new Map();for(const _0x554e82 of _0x1e5d8f){const _0x2575a7=_0x5c2a73[_0x292cb9(0xf9)][_0x292cb9(0x179)][_0x292cb9(0xd3)](_0x554e82);if(!_0x2575a7)continue;const _0x430801=_0x2575a7[_0x292cb9(0x128)]()[_0x292cb9(0xcc)][0x0];_0x8c54ae[_0x292cb9(0x16c)](_0x430801)||_0x8c54ae[_0x292cb9(0x111)](_0x430801,[]),_0x8c54ae[_0x292cb9(0xd3)](_0x430801)[_0x292cb9(0x10f)](_0x2575a7);}const _0x40faf7=new Set();for(const _0xdf8d24 of _0x5c2a73[_0x292cb9(0xf9)][_0x292cb9(0x123)][_0x292cb9(0x132)][_0x292cb9(0x199)]()){let _0x32cf8d=-0x1,_0x50d27e=null;if(_0x292cb9(0x18f)===_0xdf8d24[_0x292cb9(0xad)])_0x50d27e=new _0x3a73c2(_0xdf8d24[_0x292cb9(0x134)],_0xdf8d24[_0x292cb9(0x134)][_0x292cb9(0x178)](_0xdf8d24[_0x292cb9(0x181)])),_0x32cf8d=_0xdf8d24[_0x292cb9(0x134)][_0x292cb9(0xcc)][0x0];else{if(_0x292cb9(0xf1)!==_0xdf8d24[_0x292cb9(0xad)])continue;_0x50d27e=new _0x3a73c2(_0xdf8d24[_0x292cb9(0x134)]),_0x32cf8d=_0xdf8d24[_0x292cb9(0x134)][_0x292cb9(0xcc)][0x0];}const _0x2793e0=_0x8c54ae[_0x292cb9(0xd3)](_0x32cf8d)||[];if(_0x2793e0[_0x292cb9(0x181)]){for(const _0x24067e of _0x2793e0)if(_0x50d27e[_0x292cb9(0x14a)][_0x292cb9(0x13f)]===_0x24067e[_0x292cb9(0x133)]()[_0x292cb9(0x14a)][_0x292cb9(0x13f)]&&(_0x292cb9(0x18f)!==_0xdf8d24[_0x292cb9(0xad)]||!_0x50d27e[_0x292cb9(0xfb)](_0x24067e[_0x292cb9(0x133)]()))&&(_0x50d27e[_0x292cb9(0x196)](_0x24067e[_0x292cb9(0x133)]())||_0x50d27e[_0x292cb9(0x15e)][_0x292cb9(0xdc)](_0x24067e[_0x292cb9(0x133)]()[_0x292cb9(0x17b)])||_0x50d27e[_0x292cb9(0x17b)][_0x292cb9(0xdc)](_0x24067e[_0x292cb9(0x133)]()[_0x292cb9(0x15e)]))){const _0x5e7921=this[_0x292cb9(0xc9)](_0x24067e[_0x292cb9(0x151)]);Array[_0x292cb9(0x1a5)](this[_0x292cb9(0x12b)][_0x292cb9(0xb7)]())[_0x292cb9(0x162)](_0x386ec4=>_0x386ec4[_0x292cb9(0x13a)]===_0x5e7921[_0x292cb9(0x13a)])[_0x292cb9(0xe1)](_0x586725=>_0x40faf7[_0x292cb9(0xb9)](_0x586725['id']));}}}if(_0x40faf7[_0x292cb9(0x16f)]){for(const _0x5ddfba of _0x40faf7)_0x42cb24[_0x292cb9(0x180)](_0x5ddfba);return!0x0;}return!0x1;}[_0x53d7b2(0x174)](_0x392d15){const _0x413e3b=_0x53d7b2;for(const {name:_0x31cee8,data:_0x41029d}of _0x392d15[_0x413e3b(0xf9)][_0x413e3b(0x123)][_0x413e3b(0x132)][_0x413e3b(0x120)]()){if(!_0x31cee8[_0x413e3b(0x15f)](fe))continue;const _0x77a859=_0x41029d[_0x413e3b(0xca)],_0x2bb360=_0x41029d[_0x413e3b(0xb8)],_0x2367a8=_0x77a859&&_0x413e3b(0x15d)===_0x77a859[_0x413e3b(0x14a)][_0x413e3b(0x13f)],_0x5d3225=_0x2bb360&&_0x413e3b(0x15d)===_0x2bb360[_0x413e3b(0x14a)][_0x413e3b(0x13f)];if(_0x2367a8&&_0x5d3225)continue;const _0x1f25f8=this[_0x413e3b(0xc9)](_0x31cee8);this[_0x413e3b(0x12b)][_0x413e3b(0xd3)](_0x31cee8)&&(_0x5d3225||!_0x2bb360?this[_0x413e3b(0x11a)][_0x413e3b(0x195)](_0x413e3b(0x1ab),{'markerId':_0x31cee8,'changeId':_0x1f25f8[_0x413e3b(0x13a)]}):_0x2367a8&&_0x2bb360&&this[_0x413e3b(0x11a)][_0x413e3b(0x195)](_0x413e3b(0x173),{'markerId':_0x31cee8,'changeId':_0x1f25f8[_0x413e3b(0x13a)]}));}}[_0x53d7b2(0xc9)](_0x4c25e4){const _0x3d2810=_0x53d7b2,_0x2f68e7=_0x4c25e4[_0x3d2810(0x153)](':'),_0x540a74=(_0x2f68e7[0x1]||'')[_0x3d2810(0x153)]('_');return{'prefix':_0x2f68e7[0x0],'groupId':_0x540a74[0x0],'suffix':_0x540a74[0x1]};}[_0x53d7b2(0xa4)](_0x4a24dc,_0x2e94a3,_0x5ba89a){const _0x5339f2=_0x53d7b2;if(_0x5339f2(0x18f)===_0x4a24dc[_0x5339f2(0xad)]){const _0x2644f6=_0x4a24dc;return new _0x90cb5c(this[_0x5339f2(0x160)](_0x2e94a3[_0x5339f2(0x14d)](_0x2644f6[_0x5339f2(0x134)][_0x5339f2(0x19a)]),_0x5ba89a),_0x2644f6[_0x5339f2(0x155)],_0x2644f6[_0x5339f2(0xd9)]);}if(_0x5339f2(0xb0)===_0x4a24dc[_0x5339f2(0xad)]&&_0x4a24dc[_0x5339f2(0x151)][_0x5339f2(0x15f)](_0x5339f2(0x182))){const _0x2721b6=_0x4a24dc;return new _0x369666(_0x2721b6[_0x5339f2(0x151)],_0x2721b6[_0x5339f2(0xca)],this[_0x5339f2(0x12a)](_0x2721b6[_0x5339f2(0xb8)],_0x2e94a3[_0x5339f2(0x14d)](_0x2721b6[_0x5339f2(0xb8)][_0x5339f2(0x15e)][_0x5339f2(0x19a)]),_0x2e94a3[_0x5339f2(0x14d)](_0x2721b6[_0x5339f2(0xb8)][_0x5339f2(0x17b)][_0x5339f2(0x19a)]),_0x5ba89a),_0x2721b6[_0x5339f2(0x12b)],_0x2721b6[_0x5339f2(0x193)],_0x2721b6[_0x5339f2(0xd9)]);}return _0x4a24dc;}[_0x53d7b2(0x189)](_0x2090ac){const _0x4d171a=_0x53d7b2;if(!_0x2090ac[_0x4d171a(0x181)])return[];const _0x5dd73b=[];let _0xabc5bc=0x0,_0x3923d6=0x0,_0x251bfa=[];for(let _0x534cad=0x0;_0x534cad<=_0x2090ac[_0x4d171a(0x181)];_0x534cad++){const _0x1d0633=_0x2090ac[_0x534cad],_0x5cb711=_0x2090ac[_0x534cad-0x1];!_0x1d0633||_0x5cb711&&!this[_0x4d171a(0x1a9)](_0x5cb711)[_0x4d171a(0xdc)](this[_0x4d171a(0x165)](_0x1d0633))?(_0x5dd73b[_0x4d171a(0x10f)]({'operations':_0x251bfa,'operationsIsolated':_0x251bfa[_0x4d171a(0xea)](_0x10d11f=>this[_0x4d171a(0xd8)](_0x10d11f[_0x4d171a(0x116)](),-_0x3923d6)),'groupOffset':_0xabc5bc}),_0x251bfa=_0x1d0633?[_0x1d0633]:[],_0x3923d6+=_0xabc5bc,_0xabc5bc=0x0):_0x251bfa[_0x4d171a(0x10f)](_0x1d0633),_0x1d0633&&_0x4d171a(0x18f)===_0x1d0633[_0x4d171a(0xad)]&&(_0xabc5bc+=_0x1d0633[_0x4d171a(0xb6)]);}return _0x5dd73b;}[_0x53d7b2(0x146)](_0x511a7e,_0x3f42fb,_0x3b364a,_0x48d46c=0x1){const _0xfec6cf=_0x53d7b2,_0x5eb8af=new _0x5ccc09({'startPosition':_0x511a7e,'direction':_0x3f42fb});let _0x59ac1a=0x0;for(let _0x1be06a=0x0;_0x1be06a<_0x48d46c;_0x1be06a++){let _0xb27cf8=0x0,_0xbeb55a=!0x1,_0x544e52=_0xfec6cf(0x101)===_0x3f42fb?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x32f937}of _0x5eb8af)if(_0x32f937['is'](_0xfec6cf(0x158))){const _0x6a28d4=_0x544e52[_0xfec6cf(0xf7)](_0x32f937[_0xfec6cf(0x15c)]);if(_0x6a28d4&&_0x6a28d4[_0xfec6cf(0x181)]){if(_0xb27cf8+=_0xfec6cf(0x101)===_0x3f42fb?_0x6a28d4[_0xfec6cf(0xec)]+_0x6a28d4[0x0][_0xfec6cf(0x181)]:_0x32f937[_0xfec6cf(0x15c)][_0xfec6cf(0x181)]-_0x6a28d4[_0xfec6cf(0xec)],_0x6a28d4[0x0][_0xfec6cf(0x181)]!==_0x32f937[_0xfec6cf(0x15c)][_0xfec6cf(0x181)])break;_0xbeb55a=!0x0,_0x544e52=_0xfec6cf(0x101)===_0x3f42fb?/^\w+/:/\w+$/;}else{if(_0xbeb55a)break;_0xb27cf8+=_0x32f937[_0xfec6cf(0x126)];}}else{if(_0x32f937['is'](_0xfec6cf(0x10d))){_0x3b364a[_0xfec6cf(0x130)](_0x32f937)&&!_0xbeb55a&&(_0xb27cf8+=0x1);break;}}_0x59ac1a+=_0xb27cf8,_0x5eb8af[_0xfec6cf(0xa1)](_0x511a7e[_0xfec6cf(0x178)](_0xfec6cf(0x101)===_0x3f42fb?_0x59ac1a:-_0x59ac1a));}return _0x59ac1a;}[_0x53d7b2(0x149)](_0x5d083f,_0x3a6d1f){const _0x584816=_0x53d7b2,_0x4213d1=_0x1c8702(this[_0x584816(0x138)])[_0x584816(0xf9)][_0x584816(0x12c)],_0x20d793=this[_0x584816(0x146)](_0x5d083f,_0x584816(0xf8),_0x4213d1,0x6),_0x51b152=this[_0x584816(0x146)](_0x3a6d1f,_0x584816(0x101),_0x4213d1,0x6),_0x2c245f=_0x5d083f[_0x584816(0x178)](-_0x20d793),_0x3e6e46=_0x3a6d1f[_0x584816(0x178)](_0x51b152);return{'start':_0x2c245f,'end':_0x3e6e46,'hasContentBefore':!_0x2c245f[_0x584816(0x136)],'hasContentAfter':!_0x3e6e46[_0x584816(0xc7)]};}[_0x53d7b2(0xdb)](_0x49886f){const _0x3be9d3=_0x53d7b2,_0x19301c=this[_0x3be9d3(0x138)][_0x3be9d3(0x110)][_0x3be9d3(0xd3)](_0x3be9d3(0x11e)),_0x2f0d7a=new Set();_0x1c8702(this[_0x3be9d3(0x138)])[_0x3be9d3(0xf9)][_0x3be9d3(0x17c)](_0x49b9df=>{const _0x42fed5=_0x3be9d3;for(const _0x1fd710 of _0x49886f){const _0x1c3740=''+fe+_0x1fd710[_0x42fed5(0xad)]+':'+_0x1fd710[_0x42fed5(0x13a)]+'_'+_0x19301c[_0x42fed5(0x11d)](_0x2f0d7a);this[_0x42fed5(0x12b)][_0x42fed5(0x111)](_0x1c3740,{'id':_0x1c3740,'groupId':_0x1fd710[_0x42fed5(0x13a)],'type':_0x1fd710[_0x42fed5(0xad)],'content':_0x1fd710[_0x42fed5(0x14f)]}),_0x49b9df[_0x42fed5(0x147)](_0x1c3740,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49b9df[_0x42fed5(0xdf)](_0x1fd710[_0x42fed5(0x15e)],_0x1fd710[_0x42fed5(0x17b)])});}});}[_0x53d7b2(0x187)](_0x2cdb33,_0x1a05b4,_0x30679b){let _0x3abf87='';return()=>{const _0x53bb64=_0x4119;if(!_0x3abf87){const _0x57f9bb=_0x1a05b4[_0x53bb64(0x119)](_0x2cdb33,{'showSuggestionHighlights':!0x0});let _0x3c859e=_0x57f9bb[_0x53bb64(0xfe)](0x0);if(_0x3c859e['is'](_0x53bb64(0xd0))||(_0x3c859e=_0x57f9bb),!_0x3c859e)return'';let _0x426f24=!0x1;const _0xfe6cf4=[];for(const _0x27ec99 of _0x3c859e[_0x53bb64(0xe3)]())_0x27ec99['is'](_0x53bb64(0x10d),_0x53bb64(0x167))&&_0x27ec99[_0x53bb64(0xb5)](_0x53bb64(0x137))&&(_0x426f24=!0x1),_0x426f24&&_0xfe6cf4[_0x53bb64(0x10f)](_0x27ec99),_0x27ec99['is'](_0x53bb64(0x10d),_0x53bb64(0x167))&&_0x27ec99[_0x53bb64(0xb5)](_0x53bb64(0x154))&&(_0x426f24=!0x0);_0x3c859e[_0x53bb64(0xd5)](0x0,_0x3c859e[_0x53bb64(0x19f)]),_0x30679b?.[_0x53bb64(0x168)]&&_0x3c859e[_0x53bb64(0x176)]('…'),_0x3c859e[_0x53bb64(0x176)](_0xfe6cf4),_0x30679b?.[_0x53bb64(0x118)]&&_0x3c859e[_0x53bb64(0x176)]('…');const _0x1a1571=_0x1a05b4[_0x53bb64(0xc3)][_0x53bb64(0x16a)][_0x53bb64(0xa8)](_0x57f9bb),_0x4ce80d=_0x1a05b4[_0x53bb64(0xc3)][_0x53bb64(0x17a)][_0x53bb64(0xf2)](_0x1a1571);_0x3abf87=_0x4ce80d;}return _0x3abf87;};}[_0x53d7b2(0x18d)](_0x5dd4ab,_0x1c2e90){const _0x4c80ea=_0x53d7b2;let _0x58577e='';return()=>(_0x58577e||(_0x58577e=_0x1c2e90[_0x4c80ea(0x194)](_0x5dd4ab,{'showSuggestionHighlights':!0x0})),_0x58577e);}[_0x53d7b2(0x1a2)](_0xb755a8,_0x2af2e7,_0x276fad){let _0x4e1437='';return()=>{const _0x3cc372=_0x4119;if(!_0x4e1437){const _0xb9e5b9=_0x276fad[_0x3cc372(0x119)](new _0xbf939(_0xb755a8)),_0x562e59=_0x276fad[_0x3cc372(0xc3)][_0x3cc372(0x16a)][_0x3cc372(0xa8)](_0xb9e5b9)[_0x3cc372(0xac)](_0x3cc372(0x172)+_0x2af2e7+'\x22]');_0x4e1437=_0x562e59?.[_0x3cc372(0x1ae)]||'';}return _0x4e1437;};}[_0x53d7b2(0x166)](_0x58db5d,_0x4a6ad1=0x5){const _0x3be92d=_0x53d7b2;let _0x3f610f=_0x58db5d,_0x1afbab=null;for(let _0x6fc83a=0x0;_0x6fc83a<_0x4a6ad1&&_0x3f610f;_0x6fc83a++){if(!_0x3f610f[_0x3be92d(0xa9)]){_0x3f610f=_0x3f610f[_0x3be92d(0xe9)];continue;}if(!(''+_0x3f610f[_0x3be92d(0xa9)])[_0x3be92d(0xc8)](_0x3be92d(0x107))){_0x3f610f=_0x3f610f[_0x3be92d(0xe9)];continue;}if(!_0x3f610f[_0x3be92d(0xba)](_0x3be92d(0x11b)))break;_0x1afbab=_0x3f610f;break;}return _0x1afbab;}[_0x53d7b2(0xe5)](_0x3eda33){const _0x3d8afd=_0x53d7b2,_0x4617b0=_0x1c8702(this[_0x3d8afd(0x138)]),_0x43adc2=_0x4617b0[_0x3d8afd(0xf9)][_0x3d8afd(0x179)][_0x3d8afd(0xd3)](_0x3eda33);return _0x43adc2?_0x585855(_0x4617b0[_0x3d8afd(0x1a8)],_0x43adc2):null;}[_0x53d7b2(0x14c)](_0x16e35c){const _0x3e01a0=_0x53d7b2;return Array[_0x3e01a0(0x1a5)](this[_0x3e01a0(0x12b)][_0x3e01a0(0xb7)]())[_0x3e01a0(0x162)](_0xda84d6=>_0xda84d6[_0x3e01a0(0x13a)]===_0x16e35c);}[_0x53d7b2(0x165)](_0x4a930f){const _0x18a671=_0x53d7b2;return _0x18a671(0x18f)===_0x4a930f[_0x18a671(0xad)]?_0x4a930f[_0x18a671(0x134)]:_0x4a930f[_0x18a671(0xb8)][_0x18a671(0x15e)];}[_0x53d7b2(0x1a9)](_0x318e4b,_0x34999f=!0x1){const _0x510f58=_0x53d7b2;return _0x510f58(0x18f)===_0x318e4b[_0x510f58(0xad)]?_0x34999f?_0x318e4b[_0x510f58(0x134)]:_0x318e4b[_0x510f58(0x134)][_0x510f58(0x178)](_0x318e4b[_0x510f58(0xb6)]):_0x318e4b[_0x510f58(0xb8)][_0x510f58(0x17b)];}[_0x53d7b2(0xd8)](_0x141212,_0x5efa5c){const _0x2ee8f1=_0x53d7b2;return _0x2ee8f1(0x18f)===_0x141212[_0x2ee8f1(0xad)]?_0x141212[_0x2ee8f1(0x134)]=_0x141212[_0x2ee8f1(0x134)][_0x2ee8f1(0x178)](_0x5efa5c):_0x2ee8f1(0xb0)===_0x141212[_0x2ee8f1(0xad)]&&_0x141212[_0x2ee8f1(0xb8)]&&(_0x141212[_0x2ee8f1(0xb8)]=new _0x3a73c2(_0x141212[_0x2ee8f1(0xb8)][_0x2ee8f1(0x15e)][_0x2ee8f1(0x178)](_0x5efa5c),_0x141212[_0x2ee8f1(0xb8)][_0x2ee8f1(0x17b)][_0x2ee8f1(0x178)](_0x5efa5c))),_0x141212;}[_0x53d7b2(0x144)](_0x2b4c06,_0x8587e9){const _0x3d6c18=_0x53d7b2;_0x3d6c18(0x18f)===_0x2b4c06[_0x3d6c18(0xad)]?_0x2b4c06[_0x3d6c18(0x134)]=this[_0x3d6c18(0x125)](_0x2b4c06[_0x3d6c18(0x134)],_0x8587e9):_0x3d6c18(0xb0)===_0x2b4c06[_0x3d6c18(0xad)]&&_0x2b4c06[_0x3d6c18(0xb8)]&&(_0x2b4c06[_0x3d6c18(0xb8)]=this[_0x3d6c18(0x114)](_0x2b4c06[_0x3d6c18(0xb8)],_0x8587e9));}[_0x53d7b2(0x125)](_0x2a5857,_0x42fd0f){const _0xb04c03=_0x53d7b2;return new _0x9c1191(_0x42fd0f,_0x2a5857[_0xb04c03(0xcc)]);}[_0x53d7b2(0x114)](_0x56ba89,_0x3a7885){const _0x1baec2=_0x53d7b2;return new _0x3a73c2(this[_0x1baec2(0x125)](_0x56ba89[_0x1baec2(0x15e)],_0x3a7885),this[_0x1baec2(0x125)](_0x56ba89[_0x1baec2(0x17b)],_0x3a7885));}[_0x53d7b2(0x160)](_0x547f07,_0x17efb1){return new _0x9c1191(_0x17efb1,[..._0x547f07]);}[_0x53d7b2(0x12a)](_0x5c8ff5,_0x436499,_0x20bf39,_0x503dba){const _0x29862a=_0x53d7b2;return new _0x3a73c2(this[_0x29862a(0x160)](_0x436499,_0x503dba),this[_0x29862a(0x160)](_0x20bf39,_0x503dba));}[_0x53d7b2(0x102)](_0x577deb){const _0x28124e=_0x53d7b2,_0x403633=_0x181be5=>{const _0x120f0a=_0x4119;switch(_0x181be5){case _0x120f0a(0x18f):return 0x0;case _0x120f0a(0xc4):return 0x1;case _0x120f0a(0x185):return 0x2;case _0x120f0a(0x1aa):return 0x3;}};return _0x577deb[_0x28124e(0x13c)]((_0x30964a,_0x2c1b5d)=>_0x403633(_0x30964a[_0x28124e(0xad)])-_0x403633(_0x2c1b5d[_0x28124e(0xad)]));}[_0x53d7b2(0xd1)](_0x43ea83,_0x4d2c28){const _0x562768=_0x53d7b2,_0x1e5eaa=_0x43ea83[_0x562768(0xfe)](0x0),_0x592bee=_0x4d2c28[_0x562768(0xfe)](0x0);return!(!_0x1e5eaa||!_0x592bee)&&((!_0x1e5eaa['is'](_0x562768(0x10d))||!_0x592bee['is'](_0x562768(0x10d))||_0x1e5eaa[_0x562768(0x151)]===_0x592bee[_0x562768(0x151)])&&!(_0x1e5eaa['is'](_0x562768(0x10d))&&!_0x592bee['is'](_0x562768(0x10d))||!_0x1e5eaa['is'](_0x562768(0x10d))&&_0x592bee['is'](_0x562768(0x10d))));}[_0x53d7b2(0xf0)](_0x452b60){const _0x3a1d14=_0x53d7b2;return 0x1===_0x452b60[_0x3a1d14(0x19f)];}[_0x53d7b2(0xe7)](_0x26032,_0x4d5826){const _0x23deb6=_0x53d7b2;for(const _0x535308 of _0x26032[_0x23deb6(0xe3)]())if(_0x535308['is'](_0x23deb6(0x10d))&&!_0x4d5826[_0x23deb6(0x130)](_0x535308))return!0x1;return!0x0;}[_0x53d7b2(0x191)](_0x23cdc8,_0xd5fa76){const _0x3a6f1c=_0x53d7b2;let _0x128c94=_0x23cdc8[_0x3a6f1c(0xba)](_0x4efb12);return _0x128c94||(_0x128c94=_0xd5fa76(),_0x23cdc8[_0x3a6f1c(0x1af)](_0x4efb12,_0x128c94)),_0x128c94;}}