@ckeditor/ckeditor5-ai 47.7.1-alpha.0 → 47.7.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 (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25af12=_0x1a1e;(function(_0x23683e,_0x53a678){const _0x3ad8a9=_0x1a1e,_0x49ec34=_0x23683e();while(!![]){try{const _0x4b67a9=parseInt(_0x3ad8a9(0x179))/0x1*(-parseInt(_0x3ad8a9(0x180))/0x2)+-parseInt(_0x3ad8a9(0x165))/0x3+parseInt(_0x3ad8a9(0x177))/0x4*(-parseInt(_0x3ad8a9(0x17f))/0x5)+-parseInt(_0x3ad8a9(0x181))/0x6*(-parseInt(_0x3ad8a9(0x176))/0x7)+parseInt(_0x3ad8a9(0x16c))/0x8+-parseInt(_0x3ad8a9(0x169))/0x9+-parseInt(_0x3ad8a9(0x164))/0xa*(-parseInt(_0x3ad8a9(0x163))/0xb);if(_0x4b67a9===_0x53a678)break;else _0x49ec34['push'](_0x49ec34['shift']());}catch(_0x404283){_0x49ec34['push'](_0x49ec34['shift']());}}}(_0x5492,0x880d1));import{CKEditorError as _0x142360,compareArrays as _0xeb7234}from'ckeditor5/src/utils.js';import{getNodePath as _0x20f91b,isText as _0x44a605,getChildren as _0x2b743a,isDocument as _0x242fd6,getParent as _0xeb2487,textContent as _0x3b6cf3,hasChildren as _0x5027c6}from'./htmlparser.js';function _0x5492(){const _0x4183e0=['slice','createBefore','document','path','createAfter','indexOf','parent','112vtxMAv','25396Rdgvsh','start','1gNxEbV','getNudgedToWordBoundary','reduce','isEqual','nextNode','match','215KlLWdT','1871284PtTHqF','2472stQPxI','previousNode','data','index','3728857UcHSYU','40NeGPHS','1763073fCTlDK','ai-documentposition-index-out-of-bounds','createAt','end','657486LtYjDv','same','createFromPath','8512952eWpbsm','length','ai-documentposition-createfrompath-path-cannot-be-empty'];_0x5492=function(){return _0x4183e0;};return _0x5492();}function _0x1a1e(_0x5ca75f,_0x19857f){const _0x5492b6=_0x5492();return _0x1a1e=function(_0x1a1ee2,_0x1e37a9){_0x1a1ee2=_0x1a1ee2-0x162;let _0x4bf796=_0x5492b6[_0x1a1ee2];return _0x4bf796;},_0x1a1e(_0x5ca75f,_0x19857f);}export class DocumentPosition{[_0x25af12(0x175)];[_0x25af12(0x162)];[_0x25af12(0x171)];constructor(_0x50c604,_0x23a377,_0x25773b){const _0x2e4f4c=_0x25af12;if(_0x44a605(_0x23a377)&&_0x25773b>_0x23a377[_0x2e4f4c(0x183)][_0x2e4f4c(0x16d)])throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});if(_0x5027c6(_0x23a377)&&_0x25773b>_0x2b743a(_0x23a377)[_0x2e4f4c(0x16d)])throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});if(_0x25773b<0x0)throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});this[_0x2e4f4c(0x175)]=_0x23a377,this[_0x2e4f4c(0x162)]=_0x25773b,this[_0x2e4f4c(0x171)]=_0x50c604;}get[_0x25af12(0x172)](){const _0x1b57d4=_0x25af12;return[..._0x20f91b(this[_0x1b57d4(0x175)]),this[_0x1b57d4(0x162)]];}[_0x25af12(0x17c)](_0x27f3ec){const _0x589a6c=_0x25af12;return this[_0x589a6c(0x171)]==_0x27f3ec[_0x589a6c(0x171)]&&_0x589a6c(0x16a)===_0xeb7234(this[_0x589a6c(0x172)],_0x27f3ec[_0x589a6c(0x172)]);}get[_0x25af12(0x17d)](){const _0x1692b6=_0x25af12;if(_0x5027c6(this[_0x1692b6(0x175)])){const _0x39580f=_0x2b743a(this[_0x1692b6(0x175)])[this[_0x1692b6(0x162)]];if(_0x39580f)return _0x39580f;{const _0x35d966=DocumentPosition[_0x1692b6(0x173)](this[_0x1692b6(0x171)],this[_0x1692b6(0x175)]);if(_0x35d966)return _0x35d966[_0x1692b6(0x17d)];}}return null;}get[_0x25af12(0x182)](){const _0x19d546=_0x25af12;if(_0x5027c6(this[_0x19d546(0x175)])){const _0x50c5f0=_0x2b743a(this[_0x19d546(0x175)])[this[_0x19d546(0x162)]-0x1];if(_0x50c5f0)return _0x50c5f0;{const _0x346c3b=DocumentPosition[_0x19d546(0x170)](this[_0x19d546(0x171)],this[_0x19d546(0x175)]);if(_0x346c3b)return _0x346c3b[_0x19d546(0x182)];}}return null;}[_0x25af12(0x17a)](_0x2af815=_0x25af12(0x178)){const _0x400f93=_0x25af12;if(!_0x44a605(this[_0x400f93(0x175)]))return this;const _0x1ff3f3=this[_0x400f93(0x172)][this[_0x400f93(0x172)][_0x400f93(0x16d)]-0x1],_0x221cb1=_0x3b6cf3(this[_0x400f93(0x175)])[_0x400f93(0x17e)](/(?:\s*\S+\s*)/g);let _0x402793=0x0,_0x188ea4=_0x1ff3f3;for(const _0x22a8eb of _0x221cb1){if(_0x402793+_0x22a8eb[_0x400f93(0x16d)]===_0x1ff3f3)return this;if(_0x402793+_0x22a8eb[_0x400f93(0x16d)]>_0x1ff3f3){_0x188ea4=_0x400f93(0x178)===_0x2af815?_0x402793:_0x402793+_0x22a8eb[_0x400f93(0x16d)];break;}_0x402793+=_0x22a8eb[_0x400f93(0x16d)];}return DocumentPosition[_0x400f93(0x167)](this[_0x400f93(0x171)],this[_0x400f93(0x175)],_0x188ea4);}static[_0x25af12(0x173)](_0x1b1ec7,_0x297298){const _0x4771f2=_0x25af12;if(_0x242fd6(_0x297298))return null;const _0x2881ad=_0xeb2487(_0x297298);return DocumentPosition[_0x4771f2(0x167)](_0x1b1ec7,_0x2881ad,_0x2b743a(_0x2881ad)[_0x4771f2(0x174)](_0x297298)+0x1);}static[_0x25af12(0x170)](_0x56c315,_0x4baa0b){const _0x4a30fd=_0x25af12;if(_0x242fd6(_0x4baa0b))return null;const _0x4f3d35=_0xeb2487(_0x4baa0b);return DocumentPosition[_0x4a30fd(0x167)](_0x56c315,_0x4f3d35,_0x2b743a(_0x4f3d35)[_0x4a30fd(0x174)](_0x4baa0b));}static[_0x25af12(0x167)](_0xf754e4,_0x301272,_0x3cfc14=_0x25af12(0x178)){const _0xcb6327=_0x25af12;return new DocumentPosition(_0xf754e4,_0x301272,_0xcb6327(0x178)===_0x3cfc14?0x0:_0xcb6327(0x168)===_0x3cfc14?_0x44a605(_0x301272)?_0x301272[_0xcb6327(0x183)][_0xcb6327(0x16d)]:_0x2b743a(_0x301272)[_0xcb6327(0x16d)]:_0x3cfc14);}static[_0x25af12(0x16b)](_0xc30d3d,_0x5d2fc4){const _0x4fd424=_0x25af12;if(!_0x5d2fc4[_0x4fd424(0x16d)])throw new _0x142360(_0x4fd424(0x16e),null,{'path':_0x5d2fc4});const _0x571e65=_0x5d2fc4[_0x4fd424(0x16f)](0x0,-0x1)[_0x4fd424(0x17b)]((_0x5523d0,_0x4546fd)=>_0x44a605(_0x5523d0)?_0x5523d0:_0x2b743a(_0x5523d0)[_0x4546fd],_0xc30d3d);return DocumentPosition[_0x4fd424(0x167)](_0xc30d3d,_0x571e65,_0x5d2fc4[_0x5d2fc4[_0x4fd424(0x16d)]-0x1]);}}
23
+ const _0x5213f6=_0x4e3b;function _0x2216(){const _0x4619f8=['parent','reduce','slice','7VhDSqe','12rpfLRN','createFromPath','4408utKCoy','nextNode','index','createAfter','indexOf','same','423TgqiWR','isEqual','createAt','ai-documentposition-createfrompath-path-cannot-be-empty','end','data','98nQXnKC','913eqUahD','889528HbbjcP','createBefore','2710878wqvxqr','ai-documentposition-index-out-of-bounds','match','getNudgedToWordBoundary','length','path','3gzufIB','start','document','2723nrlOzp','16810NDNfEo','6940973pnzIXS','previousNode','476700ZHQPpz'];_0x2216=function(){return _0x4619f8;};return _0x2216();}(function(_0x2c66ec,_0x187f9f){const _0x5c1050=_0x4e3b,_0x4927be=_0x2c66ec();while(!![]){try{const _0x570c87=-parseInt(_0x5c1050(0x1a9))/0x1*(parseInt(_0x5c1050(0x1c0))/0x2)+-parseInt(_0x5c1050(0x1a6))/0x3*(parseInt(_0x5c1050(0x1c2))/0x4)+-parseInt(_0x5c1050(0x1ad))/0x5+-parseInt(_0x5c1050(0x1c4))/0x6*(-parseInt(_0x5c1050(0x1b1))/0x7)+-parseInt(_0x5c1050(0x1b4))/0x8*(parseInt(_0x5c1050(0x1ba))/0x9)+-parseInt(_0x5c1050(0x1aa))/0xa*(parseInt(_0x5c1050(0x1c1))/0xb)+parseInt(_0x5c1050(0x1b2))/0xc*(parseInt(_0x5c1050(0x1ab))/0xd);if(_0x570c87===_0x187f9f)break;else _0x4927be['push'](_0x4927be['shift']());}catch(_0x5b4d69){_0x4927be['push'](_0x4927be['shift']());}}}(_0x2216,0x5a20d));function _0x4e3b(_0x2f304a,_0x3ae659){const _0x2216fa=_0x2216();return _0x4e3b=function(_0x4e3b6f,_0x14f50b){_0x4e3b6f=_0x4e3b6f-0x1a2;let _0x267758=_0x2216fa[_0x4e3b6f];return _0x267758;},_0x4e3b(_0x2f304a,_0x3ae659);}import{CKEditorError as _0xc5dba0,compareArrays as _0x425980}from'ckeditor5/src/utils.js';import{getNodePath as _0x6a773b,isText as _0xae5587,getChildren as _0x4f8434,isDocument as _0x19d9b8,getParent as _0x26ffee,textContent as _0x1bf446,hasChildren as _0x3c0bac}from'./htmlparser.js';export class DocumentPosition{[_0x5213f6(0x1ae)];[_0x5213f6(0x1b6)];[_0x5213f6(0x1a8)];constructor(_0x194d0e,_0x24c6d5,_0xf335a6){const _0x2ad0ca=_0x5213f6;if(_0xae5587(_0x24c6d5)&&_0xf335a6>_0x24c6d5[_0x2ad0ca(0x1bf)][_0x2ad0ca(0x1a4)])throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});if(_0x3c0bac(_0x24c6d5)&&_0xf335a6>_0x4f8434(_0x24c6d5)[_0x2ad0ca(0x1a4)])throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});if(_0xf335a6<0x0)throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});this[_0x2ad0ca(0x1ae)]=_0x24c6d5,this[_0x2ad0ca(0x1b6)]=_0xf335a6,this[_0x2ad0ca(0x1a8)]=_0x194d0e;}get[_0x5213f6(0x1a5)](){const _0x2d71ef=_0x5213f6;return[..._0x6a773b(this[_0x2d71ef(0x1ae)]),this[_0x2d71ef(0x1b6)]];}[_0x5213f6(0x1bb)](_0x83fd38){const _0x166ecf=_0x5213f6;return this[_0x166ecf(0x1a8)]==_0x83fd38[_0x166ecf(0x1a8)]&&_0x166ecf(0x1b9)===_0x425980(this[_0x166ecf(0x1a5)],_0x83fd38[_0x166ecf(0x1a5)]);}get[_0x5213f6(0x1b5)](){const _0x208b71=_0x5213f6;if(_0x3c0bac(this[_0x208b71(0x1ae)])){const _0x49c171=_0x4f8434(this[_0x208b71(0x1ae)])[this[_0x208b71(0x1b6)]];if(_0x49c171)return _0x49c171;{const _0x3e0902=DocumentPosition[_0x208b71(0x1b7)](this[_0x208b71(0x1a8)],this[_0x208b71(0x1ae)]);if(_0x3e0902)return _0x3e0902[_0x208b71(0x1b5)];}}return null;}get[_0x5213f6(0x1ac)](){const _0x4ad071=_0x5213f6;if(_0x3c0bac(this[_0x4ad071(0x1ae)])){const _0x5d1084=_0x4f8434(this[_0x4ad071(0x1ae)])[this[_0x4ad071(0x1b6)]-0x1];if(_0x5d1084)return _0x5d1084;{const _0xfd33a4=DocumentPosition[_0x4ad071(0x1c3)](this[_0x4ad071(0x1a8)],this[_0x4ad071(0x1ae)]);if(_0xfd33a4)return _0xfd33a4[_0x4ad071(0x1ac)];}}return null;}[_0x5213f6(0x1a3)](_0x1e1b9b=_0x5213f6(0x1a7)){const _0x41f103=_0x5213f6;if(!_0xae5587(this[_0x41f103(0x1ae)]))return this;const _0x5b8ea8=this[_0x41f103(0x1a5)][this[_0x41f103(0x1a5)][_0x41f103(0x1a4)]-0x1],_0x1ec43a=_0x1bf446(this[_0x41f103(0x1ae)])[_0x41f103(0x1a2)](/(?:\s*\S+\s*)/g);let _0x302ed3=0x0,_0x48789a=_0x5b8ea8;for(const _0x4220c5 of _0x1ec43a){if(_0x302ed3+_0x4220c5[_0x41f103(0x1a4)]===_0x5b8ea8)return this;if(_0x302ed3+_0x4220c5[_0x41f103(0x1a4)]>_0x5b8ea8){_0x48789a=_0x41f103(0x1a7)===_0x1e1b9b?_0x302ed3:_0x302ed3+_0x4220c5[_0x41f103(0x1a4)];break;}_0x302ed3+=_0x4220c5[_0x41f103(0x1a4)];}return DocumentPosition[_0x41f103(0x1bc)](this[_0x41f103(0x1a8)],this[_0x41f103(0x1ae)],_0x48789a);}static[_0x5213f6(0x1b7)](_0x9ecdf0,_0x2679dd){const _0x4e663f=_0x5213f6;if(_0x19d9b8(_0x2679dd))return null;const _0x496bed=_0x26ffee(_0x2679dd);return DocumentPosition[_0x4e663f(0x1bc)](_0x9ecdf0,_0x496bed,_0x4f8434(_0x496bed)[_0x4e663f(0x1b8)](_0x2679dd)+0x1);}static[_0x5213f6(0x1c3)](_0x5eca31,_0x37c10e){const _0x411aea=_0x5213f6;if(_0x19d9b8(_0x37c10e))return null;const _0xe6670a=_0x26ffee(_0x37c10e);return DocumentPosition[_0x411aea(0x1bc)](_0x5eca31,_0xe6670a,_0x4f8434(_0xe6670a)[_0x411aea(0x1b8)](_0x37c10e));}static[_0x5213f6(0x1bc)](_0x5d2754,_0x2ceb50,_0x21db0b=_0x5213f6(0x1a7)){const _0x36b3db=_0x5213f6;return new DocumentPosition(_0x5d2754,_0x2ceb50,_0x36b3db(0x1a7)===_0x21db0b?0x0:_0x36b3db(0x1be)===_0x21db0b?_0xae5587(_0x2ceb50)?_0x2ceb50[_0x36b3db(0x1bf)][_0x36b3db(0x1a4)]:_0x4f8434(_0x2ceb50)[_0x36b3db(0x1a4)]:_0x21db0b);}static[_0x5213f6(0x1b3)](_0x2d0415,_0x2026f3){const _0x19e1ce=_0x5213f6;if(!_0x2026f3[_0x19e1ce(0x1a4)])throw new _0xc5dba0(_0x19e1ce(0x1bd),null,{'path':_0x2026f3});const _0x345fec=_0x2026f3[_0x19e1ce(0x1b0)](0x0,-0x1)[_0x19e1ce(0x1af)]((_0x481e90,_0x51b01f)=>_0xae5587(_0x481e90)?_0x481e90:_0x4f8434(_0x481e90)[_0x51b01f],_0x2d0415);return DocumentPosition[_0x19e1ce(0x1bc)](_0x2d0415,_0x345fec,_0x2026f3[_0x2026f3[_0x19e1ce(0x1a4)]-0x1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x132494=_0x1028;function _0x1028(_0x1a7a2b,_0x426822){const _0xd8b4d0=_0xd8b4();return _0x1028=function(_0x1028eb,_0x3906b6){_0x1028eb=_0x1028eb-0x13d;let _0x3114ef=_0xd8b4d0[_0x1028eb];return _0x3114ef;},_0x1028(_0x1a7a2b,_0x426822);}(function(_0x5a87c6,_0x5d9111){const _0x33e8de=_0x1028,_0xcb0a81=_0x5a87c6();while(!![]){try{const _0x578ffa=-parseInt(_0x33e8de(0x145))/0x1*(parseInt(_0x33e8de(0x141))/0x2)+parseInt(_0x33e8de(0x153))/0x3+-parseInt(_0x33e8de(0x154))/0x4*(-parseInt(_0x33e8de(0x152))/0x5)+-parseInt(_0x33e8de(0x142))/0x6+-parseInt(_0x33e8de(0x14b))/0x7+parseInt(_0x33e8de(0x144))/0x8*(-parseInt(_0x33e8de(0x150))/0x9)+parseInt(_0x33e8de(0x13e))/0xa*(parseInt(_0x33e8de(0x13d))/0xb);if(_0x578ffa===_0x5d9111)break;else _0xcb0a81['push'](_0xcb0a81['shift']());}catch(_0x137eff){_0xcb0a81['push'](_0xcb0a81['shift']());}}}(_0xd8b4,0x3e5f4));import{DocumentPosition as _0x27e552}from'./documentposition.js';function _0xd8b4(){const _0x2908ee=['462805aJpnGx','1517400oGhjOh','4VdBITr','includes','document','isEqual','getContent','createAfter','push','createAt','createFromPath','length','data','4159661iYGcxR','20EIEibi','end','lastChild','292732InDiZm','784620EKNlGQ','start','66088NZZKKT','3hkugqs','getNudgedToWordBoundary','firstChild','path','parent','slice','2606520vGCSqK','reverse','createBefore','forEach','nextNode','171nzVTYu','previousNode'];_0xd8b4=function(){return _0x2908ee;};return _0xd8b4();}import{clone as _0x1e1702,getParents as _0x412ec5,Document as _0x752ff8,Text as _0x179b13,isTag as _0x123425,isText as _0x29051d,replaceElement as _0x5f28da,removeElement as _0x270ddb}from'./htmlparser.js';export class DocumentRange{[_0x132494(0x143)];[_0x132494(0x13f)];constructor(_0x5a94a1,_0x35a6e8){const _0xbded0c=_0x132494;this[_0xbded0c(0x143)]=_0x5a94a1,this[_0xbded0c(0x13f)]=_0x35a6e8;}[_0x132494(0x157)](_0x419654){const _0x505a63=_0x132494;return this==_0x419654||this[_0x505a63(0x143)][_0x505a63(0x157)](_0x419654[_0x505a63(0x143)])&&this[_0x505a63(0x13f)][_0x505a63(0x157)](_0x419654[_0x505a63(0x13f)]);}[_0x132494(0x146)](){const _0x3c893a=_0x132494;return new DocumentRange(this[_0x3c893a(0x143)][_0x3c893a(0x146)](_0x3c893a(0x143)),this[_0x3c893a(0x13f)][_0x3c893a(0x146)](_0x3c893a(0x13f)));}[_0x132494(0x158)](){const _0x4ed5f1=_0x132494,_0x3de428=_0x1e1702(this[_0x4ed5f1(0x143)][_0x4ed5f1(0x156)]),_0x41b05f=_0x27e552[_0x4ed5f1(0x15c)](_0x3de428,this[_0x4ed5f1(0x143)][_0x4ed5f1(0x148)]),_0x31abed=_0x27e552[_0x4ed5f1(0x15c)](_0x3de428,this[_0x4ed5f1(0x13f)][_0x4ed5f1(0x148)]);let _0x43b2cb,_0x497a1b;if(_0x29051d(_0x41b05f[_0x4ed5f1(0x149)])){const _0xd5fe1=_0x41b05f[_0x4ed5f1(0x148)][_0x41b05f[_0x4ed5f1(0x148)][_0x4ed5f1(0x15d)]-0x1],_0x3821e2=new _0x179b13(_0x41b05f[_0x4ed5f1(0x149)][_0x4ed5f1(0x15e)][_0x4ed5f1(0x14a)](_0xd5fe1));_0x5f28da(_0x41b05f[_0x4ed5f1(0x149)],_0x3821e2),_0x43b2cb=_0x3821e2;}else _0x43b2cb=_0x41b05f[_0x4ed5f1(0x14f)];if(_0x29051d(_0x31abed[_0x4ed5f1(0x149)])){const _0x2996f5=_0x31abed[_0x4ed5f1(0x148)][_0x31abed[_0x4ed5f1(0x148)][_0x4ed5f1(0x15d)]-0x1],_0x1a645d=new _0x179b13(_0x31abed[_0x4ed5f1(0x149)][_0x4ed5f1(0x15e)][_0x4ed5f1(0x14a)](0x0,_0x2996f5));_0x5f28da(_0x31abed[_0x4ed5f1(0x149)],_0x1a645d),_0x497a1b=_0x1a645d;}else _0x497a1b=_0x31abed[_0x4ed5f1(0x151)];if(!(_0x43b2cb&&_0x497a1b&&_0x3de428[_0x4ed5f1(0x147)]&&_0x3de428[_0x4ed5f1(0x140)]))return new _0x752ff8([]);const _0x484aae=_0x412ec5(_0x43b2cb),_0x1b06c5=_0x412ec5(_0x497a1b),_0x5ea9f9=[],_0xc7c70a=[];let _0x3beff0=_0x3de428[_0x4ed5f1(0x147)];for(;_0x3beff0&&_0x3beff0!==_0x43b2cb;){let _0x1eb60c;_0x484aae[_0x4ed5f1(0x155)](_0x3beff0)||_0x5ea9f9[_0x4ed5f1(0x15a)](_0x3beff0),_0x1eb60c=_0x123425(_0x3beff0)?_0x27e552[_0x4ed5f1(0x15b)](_0x3de428,_0x3beff0,_0x4ed5f1(0x143)):_0x27e552[_0x4ed5f1(0x159)](_0x3de428,_0x3beff0),_0x3beff0=_0x1eb60c?_0x1eb60c[_0x4ed5f1(0x14f)]:null;}for(_0x3beff0=_0x3de428[_0x4ed5f1(0x140)];_0x3beff0&&_0x3beff0!==_0x497a1b;){let _0x203871;_0x1b06c5[_0x4ed5f1(0x155)](_0x3beff0)||_0xc7c70a[_0x4ed5f1(0x15a)](_0x3beff0),_0x203871=_0x123425(_0x3beff0)?_0x27e552[_0x4ed5f1(0x15b)](_0x3de428,_0x3beff0,_0x4ed5f1(0x13f)):_0x27e552[_0x4ed5f1(0x14d)](_0x3de428,_0x3beff0),_0x3beff0=_0x203871?_0x203871[_0x4ed5f1(0x151)]:null;}return _0x5ea9f9[_0x4ed5f1(0x14e)](_0x384046=>{_0x270ddb(_0x384046);}),_0xc7c70a[_0x4ed5f1(0x14c)]()[_0x4ed5f1(0x14e)](_0x1d18d4=>{_0x270ddb(_0x1d18d4);}),_0x3de428;}}
23
+ const _0x268483=_0x1bf7;(function(_0x571b92,_0x41484f){const _0x248de5=_0x1bf7,_0x3cace5=_0x571b92();while(!![]){try{const _0xaa3144=-parseInt(_0x248de5(0x17a))/0x1*(-parseInt(_0x248de5(0x178))/0x2)+-parseInt(_0x248de5(0x181))/0x3+parseInt(_0x248de5(0x16d))/0x4*(-parseInt(_0x248de5(0x18a))/0x5)+parseInt(_0x248de5(0x17e))/0x6*(-parseInt(_0x248de5(0x188))/0x7)+-parseInt(_0x248de5(0x17f))/0x8+-parseInt(_0x248de5(0x185))/0x9*(parseInt(_0x248de5(0x180))/0xa)+parseInt(_0x248de5(0x176))/0xb;if(_0xaa3144===_0x41484f)break;else _0x3cace5['push'](_0x3cace5['shift']());}catch(_0x1c92b2){_0x3cace5['push'](_0x3cace5['shift']());}}}(_0x485f,0xc7ab5));import{DocumentPosition as _0x3c1279}from'./documentposition.js';function _0x485f(){const _0x23b5a3=['createBefore','length','document','4ihhGnm','createAfter','getNudgedToWordBoundary','push','forEach','path','getContent','createAt','previousNode','82882393jvgrzg','parent','6406tNlVyu','firstChild','50ABoLDe','start','createFromPath','slice','4284YbOMEj','12259208rCTYxw','28580kGjuvZ','4887999LQpBIy','data','end','nextNode','2790IHfkMF','reverse','lastChild','11725HrQCxN','isEqual','8167020bBlHJS','includes'];_0x485f=function(){return _0x23b5a3;};return _0x485f();}import{clone as _0x38f4ba,getParents as _0x5d37d0,Document as _0xdbb8a4,Text as _0x2b245c,isTag as _0x1e3cb5,isText as _0x5be09e,replaceElement as _0x1f7ef6,removeElement as _0x436195}from'./htmlparser.js';function _0x1bf7(_0x19422c,_0x44a34f){const _0x485f41=_0x485f();return _0x1bf7=function(_0x1bf77d,_0x4e1375){_0x1bf77d=_0x1bf77d-0x16a;let _0x1d0b4e=_0x485f41[_0x1bf77d];return _0x1d0b4e;},_0x1bf7(_0x19422c,_0x44a34f);}export class DocumentRange{[_0x268483(0x17b)];[_0x268483(0x183)];constructor(_0x48e537,_0xea03cd){const _0x9863d7=_0x268483;this[_0x9863d7(0x17b)]=_0x48e537,this[_0x9863d7(0x183)]=_0xea03cd;}[_0x268483(0x189)](_0x5e7fe3){const _0x361c15=_0x268483;return this==_0x5e7fe3||this[_0x361c15(0x17b)][_0x361c15(0x189)](_0x5e7fe3[_0x361c15(0x17b)])&&this[_0x361c15(0x183)][_0x361c15(0x189)](_0x5e7fe3[_0x361c15(0x183)]);}[_0x268483(0x16f)](){const _0x4b5248=_0x268483;return new DocumentRange(this[_0x4b5248(0x17b)][_0x4b5248(0x16f)](_0x4b5248(0x17b)),this[_0x4b5248(0x183)][_0x4b5248(0x16f)](_0x4b5248(0x183)));}[_0x268483(0x173)](){const _0x4978e5=_0x268483,_0x6e1601=_0x38f4ba(this[_0x4978e5(0x17b)][_0x4978e5(0x16c)]),_0x2ac5cb=_0x3c1279[_0x4978e5(0x17c)](_0x6e1601,this[_0x4978e5(0x17b)][_0x4978e5(0x172)]),_0x5b6ae9=_0x3c1279[_0x4978e5(0x17c)](_0x6e1601,this[_0x4978e5(0x183)][_0x4978e5(0x172)]);let _0x55c130,_0x2f5e04;if(_0x5be09e(_0x2ac5cb[_0x4978e5(0x177)])){const _0x3cc652=_0x2ac5cb[_0x4978e5(0x172)][_0x2ac5cb[_0x4978e5(0x172)][_0x4978e5(0x16b)]-0x1],_0xcaeb8=new _0x2b245c(_0x2ac5cb[_0x4978e5(0x177)][_0x4978e5(0x182)][_0x4978e5(0x17d)](_0x3cc652));_0x1f7ef6(_0x2ac5cb[_0x4978e5(0x177)],_0xcaeb8),_0x55c130=_0xcaeb8;}else _0x55c130=_0x2ac5cb[_0x4978e5(0x184)];if(_0x5be09e(_0x5b6ae9[_0x4978e5(0x177)])){const _0x50bf7a=_0x5b6ae9[_0x4978e5(0x172)][_0x5b6ae9[_0x4978e5(0x172)][_0x4978e5(0x16b)]-0x1],_0x11e6c7=new _0x2b245c(_0x5b6ae9[_0x4978e5(0x177)][_0x4978e5(0x182)][_0x4978e5(0x17d)](0x0,_0x50bf7a));_0x1f7ef6(_0x5b6ae9[_0x4978e5(0x177)],_0x11e6c7),_0x2f5e04=_0x11e6c7;}else _0x2f5e04=_0x5b6ae9[_0x4978e5(0x175)];if(!(_0x55c130&&_0x2f5e04&&_0x6e1601[_0x4978e5(0x179)]&&_0x6e1601[_0x4978e5(0x187)]))return new _0xdbb8a4([]);const _0x9cd5bd=_0x5d37d0(_0x55c130),_0x17e16d=_0x5d37d0(_0x2f5e04),_0x1f74d6=[],_0x144909=[];let _0x386ab2=_0x6e1601[_0x4978e5(0x179)];for(;_0x386ab2&&_0x386ab2!==_0x55c130;){let _0x56fc06;_0x9cd5bd[_0x4978e5(0x18b)](_0x386ab2)||_0x1f74d6[_0x4978e5(0x170)](_0x386ab2),_0x56fc06=_0x1e3cb5(_0x386ab2)?_0x3c1279[_0x4978e5(0x174)](_0x6e1601,_0x386ab2,_0x4978e5(0x17b)):_0x3c1279[_0x4978e5(0x16e)](_0x6e1601,_0x386ab2),_0x386ab2=_0x56fc06?_0x56fc06[_0x4978e5(0x184)]:null;}for(_0x386ab2=_0x6e1601[_0x4978e5(0x187)];_0x386ab2&&_0x386ab2!==_0x2f5e04;){let _0x46524f;_0x17e16d[_0x4978e5(0x18b)](_0x386ab2)||_0x144909[_0x4978e5(0x170)](_0x386ab2),_0x46524f=_0x1e3cb5(_0x386ab2)?_0x3c1279[_0x4978e5(0x174)](_0x6e1601,_0x386ab2,_0x4978e5(0x183)):_0x3c1279[_0x4978e5(0x16a)](_0x6e1601,_0x386ab2),_0x386ab2=_0x46524f?_0x46524f[_0x4978e5(0x175)]:null;}return _0x1f74d6[_0x4978e5(0x171)](_0x32c78b=>{_0x436195(_0x32c78b);}),_0x144909[_0x4978e5(0x186)]()[_0x4978e5(0x171)](_0x5c3cb9=>{_0x436195(_0x5c3cb9);}),_0x6e1601;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d3ba9=_0x8f74;(function(_0x4f11b1,_0x3ec9f0){const _0x16992e=_0x8f74,_0x29341c=_0x4f11b1();while(!![]){try{const _0x51eb3e=parseInt(_0x16992e(0x19a))/0x1+parseInt(_0x16992e(0x19c))/0x2+parseInt(_0x16992e(0x19e))/0x3*(parseInt(_0x16992e(0x18f))/0x4)+parseInt(_0x16992e(0x191))/0x5*(parseInt(_0x16992e(0x19f))/0x6)+-parseInt(_0x16992e(0x193))/0x7*(parseInt(_0x16992e(0x198))/0x8)+-parseInt(_0x16992e(0x194))/0x9*(parseInt(_0x16992e(0x190))/0xa)+-parseInt(_0x16992e(0x19d))/0xb;if(_0x51eb3e===_0x3ec9f0)break;else _0x29341c['push'](_0x29341c['shift']());}catch(_0x57bca8){_0x29341c['push'](_0x29341c['shift']());}}}(_0x86ba,0xd6a09));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x2d3ba9(0x19b),_0x2d3ba9(0x197),_0x2d3ba9(0x199),_0x2d3ba9(0x1a0),_0x2d3ba9(0x18d),_0x2d3ba9(0x195),_0x2d3ba9(0x18e),_0x2d3ba9(0x192),_0x2d3ba9(0x196)];function _0x8f74(_0x2ef784,_0x2fa22b){const _0x86bace=_0x86ba();return _0x8f74=function(_0x8f741d,_0x3687ec){_0x8f741d=_0x8f741d-0x18d;let _0xb39dba=_0x86bace[_0x8f741d];return _0xb39dba;},_0x8f74(_0x2ef784,_0x2fa22b);}function _0x86ba(){const _0x3d7798=['rejectSuggestion','mouseOverSuggestion','toggleSuggestionDisplayMode','40Ruytdv','110vpUbpg','135eDydEI','like','7ThsIXW','1044324gOdzcS','mouseLeaveSuggestion','dislike','insertSuggestion','479128TNlJdj','applySuggestion','1154887etKoZq','showChangeInText','2239702FZUnfj','19088564htwDgH','109638iFKSPl','291228PToQrJ'];_0x86ba=function(){return _0x3d7798;};return _0x86ba();}
23
+ function _0x40b3(){const _0x2d86da=['3262693ppbBNn','mouseOverSuggestion','1319522UekXdg','1839624gMSEBG','showChangeInText','595602VfsKCf','toggleSuggestionDisplayMode','like','1662384opPSgL','11656296uWTNwd','1WFJYGf','2418495ohnqnf','dislike','rejectSuggestion','applySuggestion','4WJcKpQ','mouseLeaveSuggestion','insertSuggestion'];_0x40b3=function(){return _0x2d86da;};return _0x40b3();}const _0xd0b89c=_0x198b;(function(_0x187b59,_0xd32104){const _0x116c4d=_0x198b,_0x420168=_0x187b59();while(!![]){try{const _0x18dc96=parseInt(_0x116c4d(0x136))/0x1*(-parseInt(_0x116c4d(0x140))/0x2)+-parseInt(_0x116c4d(0x143))/0x3+-parseInt(_0x116c4d(0x13b))/0x4*(-parseInt(_0x116c4d(0x137))/0x5)+-parseInt(_0x116c4d(0x141))/0x6+-parseInt(_0x116c4d(0x13e))/0x7+parseInt(_0x116c4d(0x134))/0x8+parseInt(_0x116c4d(0x135))/0x9;if(_0x18dc96===_0xd32104)break;else _0x420168['push'](_0x420168['shift']());}catch(_0x5011bb){_0x420168['push'](_0x420168['shift']());}}}(_0x40b3,0x56d3b));function _0x198b(_0x28196f,_0x3442bc){const _0x40b34b=_0x40b3();return _0x198b=function(_0x198b3b,_0x33b8e2){_0x198b3b=_0x198b3b-0x134;let _0x1ed766=_0x40b34b[_0x198b3b];return _0x1ed766;},_0x198b(_0x28196f,_0x3442bc);}export const AI_SUGGESTION_UI_EVENT_NAMES=[_0xd0b89c(0x142),_0xd0b89c(0x13d),_0xd0b89c(0x13a),_0xd0b89c(0x139),_0xd0b89c(0x13f),_0xd0b89c(0x13c),_0xd0b89c(0x144),_0xd0b89c(0x145),_0xd0b89c(0x138)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x42d89d,_0x2a39e7){var _0x30e972=_0x275e,_0x3e4baf=_0x42d89d();while(!![]){try{var _0x4b0040=parseInt(_0x30e972(0x6a))/0x1+-parseInt(_0x30e972(0x71))/0x2*(-parseInt(_0x30e972(0x74))/0x3)+parseInt(_0x30e972(0x6d))/0x4*(-parseInt(_0x30e972(0x68))/0x5)+parseInt(_0x30e972(0x6f))/0x6+-parseInt(_0x30e972(0x65))/0x7*(parseInt(_0x30e972(0x67))/0x8)+parseInt(_0x30e972(0x6b))/0x9+parseInt(_0x30e972(0x70))/0xa;if(_0x4b0040===_0x2a39e7)break;else _0x3e4baf['push'](_0x3e4baf['shift']());}catch(_0x13132a){_0x3e4baf['push'](_0x3e4baf['shift']());}}}(_0x1a92,0xed469));function _0x1a92(){var _0x5c7bb8=['editors','785640gFovlW','1780580ukpcJn','2hwwgXB','get','ai-get-editor-from-context-no-editor','3232191mzCOqL','4366754dFIhdc','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','8pLadDb','6520535rTBxnD','warn','642741AdygpZ','7836066bhtAjM','length','4vmPvtY'];_0x1a92=function(){return _0x5c7bb8;};return _0x1a92();}function _0x275e(_0x218c30,_0x3c35a8){var _0x1a923b=_0x1a92();return _0x275e=function(_0x275ebe,_0x76f198){_0x275ebe=_0x275ebe-0x65;var _0x1558b4=_0x1a923b[_0x275ebe];return _0x1558b4;},_0x275e(_0x218c30,_0x3c35a8);}import{CKEditorError as _0x50a89b}from'ckeditor5/src/utils.js';import{Editor as _0x3c9889}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x479971){var _0x5f10bc=_0x275e;if(_0x479971 instanceof _0x3c9889)return _0x479971;if(_0x479971?.[_0x5f10bc(0x6e)]&&_0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x72)](0x0))return _0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x6c)]>0x1&&console[_0x5f10bc(0x69)](_0x5f10bc(0x66)),_0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x72)](0x0);throw new _0x50a89b(_0x5f10bc(0x73));}
23
+ (function(_0x141848,_0x3700ff){var _0x675246=_0xe4e5,_0xf7a270=_0x141848();while(!![]){try{var _0x3b5baa=parseInt(_0x675246(0xfc))/0x1+parseInt(_0x675246(0xff))/0x2*(-parseInt(_0x675246(0xf8))/0x3)+parseInt(_0x675246(0xfa))/0x4+parseInt(_0x675246(0xf7))/0x5+parseInt(_0x675246(0x101))/0x6*(-parseInt(_0x675246(0x100))/0x7)+-parseInt(_0x675246(0xf6))/0x8+parseInt(_0x675246(0x104))/0x9*(parseInt(_0x675246(0xfd))/0xa);if(_0x3b5baa===_0x3700ff)break;else _0xf7a270['push'](_0xf7a270['shift']());}catch(_0x3bd5ce){_0xf7a270['push'](_0xf7a270['shift']());}}}(_0xa06c,0xdc891));function _0xe4e5(_0x9db8f8,_0x488228){var _0xa06cfa=_0xa06c();return _0xe4e5=function(_0xe4e577,_0x4e1b9c){_0xe4e577=_0xe4e577-0xf5;var _0x496a27=_0xa06cfa[_0xe4e577];return _0x496a27;},_0xe4e5(_0x9db8f8,_0x488228);}import{CKEditorError as _0x303961}from'ckeditor5/src/utils.js';import{Editor as _0x38df17}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x51a315){var _0x1a02cf=_0xe4e5;if(_0x51a315 instanceof _0x38df17)return _0x51a315;if(_0x51a315?.[_0x1a02cf(0x103)]&&_0x51a315[_0x1a02cf(0x103)][_0x1a02cf(0xf9)](0x0))return _0x51a315[_0x1a02cf(0x103)][_0x1a02cf(0xfe)]>0x1&&console[_0x1a02cf(0xf5)](_0x1a02cf(0xfb)),_0x51a315[_0x1a02cf(0x103)][_0x1a02cf(0xf9)](0x0);throw new _0x303961(_0x1a02cf(0x102));}function _0xa06c(){var _0xe04716=['AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','640909FizHai','10fEBtAy','length','52nAADzZ','5387921fHmmsX','6UQAgwc','ai-get-editor-from-context-no-editor','editors','15243831jmLkac','warn','8421144VArjEh','5189735UjnROs','169485fLqeVI','get','3287656ZSYkpS'];_0xa06c=function(){return _0xe04716;};return _0xa06c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2c0a96,_0xcb40d1){const _0x577a31=_0x54e0,_0x591fa0=_0x2c0a96();while(!![]){try{const _0x305d81=-parseInt(_0x577a31(0x188))/0x1*(parseInt(_0x577a31(0x171))/0x2)+-parseInt(_0x577a31(0x17d))/0x3+parseInt(_0x577a31(0x192))/0x4*(-parseInt(_0x577a31(0x18b))/0x5)+-parseInt(_0x577a31(0x17b))/0x6*(-parseInt(_0x577a31(0x177))/0x7)+parseInt(_0x577a31(0x17c))/0x8*(-parseInt(_0x577a31(0x170))/0x9)+parseInt(_0x577a31(0x18e))/0xa+parseInt(_0x577a31(0x185))/0xb;if(_0x305d81===_0xcb40d1)break;else _0x591fa0['push'](_0x591fa0['shift']());}catch(_0x2cc68a){_0x591fa0['push'](_0x591fa0['shift']());}}}(_0x3608,0x6418d));function _0x54e0(_0x47f557,_0x4d1539){const _0x360821=_0x3608();return _0x54e0=function(_0x54e067,_0x811302){_0x54e067=_0x54e067-0x170;let _0x11c362=_0x360821[_0x54e067];return _0x11c362;},_0x54e0(_0x47f557,_0x4d1539);}function _0x3608(){const _0x412790=['node','42rtkRzO','getOperations','documentContextContent','getRange','553296EwXiyf','4440728AANeBg','1182522Akokev','oldRange','previousSibling','operationsA','data-id','getDocumentContext','type','map','10695124oOfUUU','shift','document','1051WunPIM','filter','cloneNode','43885ODcEpd','markers','content','4545890qxbTFm','anchorId','model','name','100vgtmJg','marker','length','get','history','9cAyCGU','764zqvMIi','new','removed','getDiff','version'];_0x3608=function(){return _0x412790;};return _0x3608();}import{transformOperationSets as _0x3b616d}from'ckeditor5/src/engine.js';import{append as _0x452352,findByAttribute as _0xd84207,prependChild as _0x3d6169,removeElement as _0x3348ba,serialize as _0xd1d281}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x402cdd,interaction:_0x58dc33,reply:_0x1b9969,groups:_0x3a93e3,transform:_0x12985d,documentCompare:_0x4f014d,documentCompareOptions:_0x46460b}){const _0x40f36e=_0x54e0,_0x8e138a=_0x58dc33[_0x40f36e(0x182)]();if(!_0x8e138a)return[];const _0x530133=_0x8e138a[_0x40f36e(0x18d)],_0x2eeabd=_0x8e138a[_0x40f36e(0x175)],_0x138221=_0x1b9969[_0x40f36e(0x179)][_0x40f36e(0x18a)](!0x0);for(const {changes:_0x45aa2d}of _0x3a93e3){const _0x2f2a65=_0x45aa2d[_0x40f36e(0x189)](_0x52d436=>_0x40f36e(0x172)!=_0x52d436[_0x40f36e(0x183)])[_0x40f36e(0x184)](_0xc572=>_0xd84207(_0x40f36e(0x181),_0xc572['id'],_0x138221)),_0x3184b2=_0x45aa2d[_0x40f36e(0x189)](_0x51072f=>_0x40f36e(0x173)!=_0x51072f[_0x40f36e(0x183)])[_0x40f36e(0x184)](_0x5de9d1=>_0x5de9d1[_0x40f36e(0x176)][_0x40f36e(0x18a)](!0x0));let _0x19cd13=null;if(_0x2f2a65[_0x40f36e(0x194)]){_0x19cd13=_0x2f2a65[0x0][_0x40f36e(0x17f)];for(let _0x214066=0x0;_0x214066<_0x2f2a65[_0x40f36e(0x194)];_0x214066++)_0x3348ba(_0x2f2a65[_0x214066]);}if(_0x3184b2[_0x40f36e(0x194)]){_0x19cd13||(_0x45aa2d[0x0][_0x40f36e(0x18f)]?_0x19cd13=_0xd84207(_0x40f36e(0x181),_0x45aa2d[0x0][_0x40f36e(0x18f)],_0x138221):(_0x19cd13=_0x3184b2[_0x40f36e(0x186)](),_0x3d6169(_0x138221,_0x19cd13)));for(let _0x456aa5=0x0;_0x456aa5<_0x3184b2[_0x40f36e(0x194)];_0x456aa5++)_0x452352(_0x19cd13,_0x3184b2[_0x456aa5]),_0x19cd13=_0x3184b2[_0x456aa5];}}const _0x2b39da=_0xd1d281(_0x138221),_0x65a45b=_0x4f014d[_0x40f36e(0x174)](_0x530133,_0x2b39da,_0x46460b)[_0x40f36e(0x178)]();if(_0x12985d){const _0x232561=_0x402cdd[_0x40f36e(0x190)][_0x40f36e(0x187)][_0x40f36e(0x196)][_0x40f36e(0x178)](_0x2eeabd),_0x5219ef={'document':_0x402cdd[_0x40f36e(0x190)][_0x40f36e(0x187)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x3b616d(_0x65a45b,_0x232561,_0x5219ef)[_0x40f36e(0x180)];}return _0x65a45b;}export function fixMarkerOperationOldRange(_0x3beef4,_0x2e549b){const _0xaf7304=_0x54e0;if(_0xaf7304(0x193)!=_0x2e549b[_0xaf7304(0x183)])return;const _0x3f6370=_0x3beef4[_0xaf7304(0x190)][_0xaf7304(0x18c)][_0xaf7304(0x195)](_0x2e549b[_0xaf7304(0x191)]);_0x3f6370&&(_0x2e549b[_0xaf7304(0x17e)]=_0x3f6370[_0xaf7304(0x17a)]());}
23
+ (function(_0x6ed4b0,_0x5d7859){const _0x2fe6bc=_0x4880,_0x52ce6e=_0x6ed4b0();while(!![]){try{const _0x3db299=-parseInt(_0x2fe6bc(0x1dc))/0x1*(-parseInt(_0x2fe6bc(0x1d3))/0x2)+-parseInt(_0x2fe6bc(0x1e5))/0x3*(-parseInt(_0x2fe6bc(0x1d1))/0x4)+-parseInt(_0x2fe6bc(0x1f0))/0x5*(parseInt(_0x2fe6bc(0x1df))/0x6)+-parseInt(_0x2fe6bc(0x1ce))/0x7+parseInt(_0x2fe6bc(0x1d4))/0x8*(parseInt(_0x2fe6bc(0x1ed))/0x9)+-parseInt(_0x2fe6bc(0x1d6))/0xa*(parseInt(_0x2fe6bc(0x1e9))/0xb)+parseInt(_0x2fe6bc(0x1e4))/0xc;if(_0x3db299===_0x5d7859)break;else _0x52ce6e['push'](_0x52ce6e['shift']());}catch(_0x409773){_0x52ce6e['push'](_0x52ce6e['shift']());}}}(_0x5ada,0x349fa));import{transformOperationSets as _0xeaf984}from'ckeditor5/src/engine.js';function _0x5ada(){const _0x2e77ab=['get','markers','oldRange','removed','5320284EDXFvZ','1530sgwyXz','cloneNode','getOperations','documentContextContent','11ZlKTcK','anchorId','type','previousSibling','81cNxnKW','getRange','filter','5snfdBV','getDiff','shift','node','map','operationsA','2887556IvJxWK','new','content','736wgAgmi','length','378414cZCWYZ','19848vhdjSV','getDocumentContext','685070fRdszp','document','history','version','data-id','model','1zdMHsA','marker','name','313032vqrxJh'];_0x5ada=function(){return _0x2e77ab;};return _0x5ada();}import{append as _0x58593d,findByAttribute as _0x3146be,prependChild as _0x391061,removeElement as _0xd248ce,serialize as _0x5190e1}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x5819f1,interaction:_0x54b45c,reply:_0x48c497,groups:_0x13311a,transform:_0x563d4a,documentCompare:_0xbf9014,documentCompareOptions:_0x75b29a}){const _0x5144f5=_0x4880,_0x3cf03d=_0x54b45c[_0x5144f5(0x1d5)]();if(!_0x3cf03d)return[];const _0x3843be=_0x3cf03d[_0x5144f5(0x1d0)],_0x1f0436=_0x3cf03d[_0x5144f5(0x1d9)],_0x20a4bd=_0x48c497[_0x5144f5(0x1e8)][_0x5144f5(0x1e6)](!0x0);for(const {changes:_0x5c4ba9}of _0x13311a){const _0x2fffd2=_0x5c4ba9[_0x5144f5(0x1ef)](_0x375032=>_0x5144f5(0x1cf)!=_0x375032[_0x5144f5(0x1eb)])[_0x5144f5(0x1cc)](_0x59b1f2=>_0x3146be(_0x5144f5(0x1da),_0x59b1f2['id'],_0x20a4bd)),_0x1a46c7=_0x5c4ba9[_0x5144f5(0x1ef)](_0x248e39=>_0x5144f5(0x1e3)!=_0x248e39[_0x5144f5(0x1eb)])[_0x5144f5(0x1cc)](_0x186d29=>_0x186d29[_0x5144f5(0x1cb)][_0x5144f5(0x1e6)](!0x0));let _0x38bd3e=null;if(_0x2fffd2[_0x5144f5(0x1d2)]){_0x38bd3e=_0x2fffd2[0x0][_0x5144f5(0x1ec)];for(let _0x5e6878=0x0;_0x5e6878<_0x2fffd2[_0x5144f5(0x1d2)];_0x5e6878++)_0xd248ce(_0x2fffd2[_0x5e6878]);}if(_0x1a46c7[_0x5144f5(0x1d2)]){_0x38bd3e||(_0x5c4ba9[0x0][_0x5144f5(0x1ea)]?_0x38bd3e=_0x3146be(_0x5144f5(0x1da),_0x5c4ba9[0x0][_0x5144f5(0x1ea)],_0x20a4bd):(_0x38bd3e=_0x1a46c7[_0x5144f5(0x1ca)](),_0x391061(_0x20a4bd,_0x38bd3e)));for(let _0x1879fb=0x0;_0x1879fb<_0x1a46c7[_0x5144f5(0x1d2)];_0x1879fb++)_0x58593d(_0x38bd3e,_0x1a46c7[_0x1879fb]),_0x38bd3e=_0x1a46c7[_0x1879fb];}}const _0x31f02a=_0x5190e1(_0x20a4bd),_0x169857=_0xbf9014[_0x5144f5(0x1c9)](_0x3843be,_0x31f02a,_0x75b29a)[_0x5144f5(0x1e7)]();if(_0x563d4a){const _0x3e9b89=_0x5819f1[_0x5144f5(0x1db)][_0x5144f5(0x1d7)][_0x5144f5(0x1d8)][_0x5144f5(0x1e7)](_0x1f0436),_0x44149f={'document':_0x5819f1[_0x5144f5(0x1db)][_0x5144f5(0x1d7)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xeaf984(_0x169857,_0x3e9b89,_0x44149f)[_0x5144f5(0x1cd)];}return _0x169857;}function _0x4880(_0x21869e,_0x53cd2f){const _0x5ada5c=_0x5ada();return _0x4880=function(_0x4880b3,_0x562816){_0x4880b3=_0x4880b3-0x1c9;let _0xa2304a=_0x5ada5c[_0x4880b3];return _0xa2304a;},_0x4880(_0x21869e,_0x53cd2f);}export function fixMarkerOperationOldRange(_0xe89639,_0x208bda){const _0x4536e1=_0x4880;if(_0x4536e1(0x1dd)!=_0x208bda[_0x4536e1(0x1eb)])return;const _0xbef2ee=_0xe89639[_0x4536e1(0x1db)][_0x4536e1(0x1e1)][_0x4536e1(0x1e0)](_0x208bda[_0x4536e1(0x1de)]);_0xbef2ee&&(_0x208bda[_0x4536e1(0x1e2)]=_0xbef2ee[_0x4536e1(0x1ee)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x478a4f,_0x256253){const _0x4f29f7=_0x4817,_0x162190=_0x478a4f();while(!![]){try{const _0x35df29=-parseInt(_0x4f29f7(0x15a))/0x1+parseInt(_0x4f29f7(0x177))/0x2*(-parseInt(_0x4f29f7(0x144))/0x3)+parseInt(_0x4f29f7(0x19e))/0x4+-parseInt(_0x4f29f7(0x14d))/0x5*(parseInt(_0x4f29f7(0x148))/0x6)+parseInt(_0x4f29f7(0x194))/0x7+-parseInt(_0x4f29f7(0x166))/0x8*(-parseInt(_0x4f29f7(0x170))/0x9)+parseInt(_0x4f29f7(0x178))/0xa;if(_0x35df29===_0x256253)break;else _0x162190['push'](_0x162190['shift']());}catch(_0x508aee){_0x162190['push'](_0x162190['shift']());}}}(_0x55db,0x31266));import{findOne as _0x4c6a03,getAttribute as _0x2f664c,Document as _0x12f91e,serialize as _0x202a57,parse as _0x16d5fa}from'./htmlparser.js';import{fixElementSuggestionRange as _0x367c52}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3cdad4,_DetachOperation as _0x8243bc,_removeFromModelNodeList as _0x470545,_insertIntoModelNodeList as _0x51a2e5}from'ckeditor5/src/engine.js';function _0x4817(_0x5602e9,_0x244c42){const _0x55db4d=_0x55db();return _0x4817=function(_0x481717,_0x62df03){_0x481717=_0x481717-0x135;let _0x2bc51c=_0x55db4d[_0x481717];return _0x2bc51c;},_0x4817(_0x5602e9,_0x244c42);}import{uid as _0x2cf2ee}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x14c25e,changeGroups:_0x3c5b3c,documentContextContent:_0x1cd55c,showDiff:_0x6768f3,trimUnchanged:_0x10e3bf=!0x0}){const _0x1749fb=_0x4817;return _0x3c5b3c[_0x1749fb(0x169)](_0x11e701=>{const _0x39a2c1=_0x1749fb,_0x5d0a28=new _0x12f91e([]),_0x50a0d1=new _0x12f91e([]);for(const _0x39e993 of _0x11e701[_0x39a2c1(0x164)])if(_0x6768f3&&_0x39a2c1(0x18f)==_0x39e993[_0x39a2c1(0x142)]||_0x50a0d1[_0x39a2c1(0x1a4)][_0x39a2c1(0x14a)](_0x39e993[_0x39a2c1(0x15f)][_0x39a2c1(0x191)](!0x0)),_0x39a2c1(0x173)!=_0x39e993[_0x39a2c1(0x142)]&&(_0x6768f3||_0x39a2c1(0x18f)!=_0x39e993[_0x39a2c1(0x142)])){const _0x2c7763=_0x4c6a03(_0x3bf28c=>_0x2f664c(_0x3bf28c,_0x39a2c1(0x163))==_0x39e993['id'],_0x1cd55c,!0x0);_0x2c7763&&_0x5d0a28[_0x39a2c1(0x1a4)][_0x39a2c1(0x14a)](_0x2c7763[_0x39a2c1(0x191)](!0x0));}const {content:_0xc135c0,hasChanges:_0xec35e}=function(_0x29203a,_0x4e1ed5,_0x57642c,_0x56b28c,_0x147190=!0x0){const _0x1e5ecf=_0x39a2c1,_0x2d443d=_0x29203a[_0x1e5ecf(0x151)][_0x1e5ecf(0x193)](_0x1e5ecf(0x159)),_0x27425b=_0x202a57(_0x4e1ed5),_0x2ee3a7=_0x202a57(_0x57642c),_0x5f3433=_0x29203a[_0x1e5ecf(0x18c)][_0x1e5ecf(0x16d)](_0x27425b,_0x1e5ecf(0x139)),_0x988b5d=_0x29203a[_0x1e5ecf(0x16f)][_0x1e5ecf(0x16a)](_0x5f3433,0x0),_0x3badf1=_0x2d443d[_0x1e5ecf(0x17d)](_0x27425b,_0x2ee3a7,{'anchor':_0x988b5d,'markDeletions':_0x56b28c}),_0x1eadf6=_0x3badf1[_0x1e5ecf(0x15e)]();if(0x0==_0x1eadf6[_0x1e5ecf(0x175)])return{'content':_0x4e1ed5[_0x1e5ecf(0x191)](!0x0),'hasChanges':!0x1};_0x56b28c?function(_0x3573ae,_0x56a604,_0x5f3e70){const _0xde5fa0=_0x1e5ecf;if(0x0==_0x3573ae[_0xde5fa0(0x175)])return;const _0x23a1f9=_0x5f3e70[_0xde5fa0(0x151)][_0xde5fa0(0x193)](_0xde5fa0(0x159)),_0x2a079f=_0x5f3e70[_0xde5fa0(0x151)][_0xde5fa0(0x193)](_0xde5fa0(0x145));_0x5f3e70[_0xde5fa0(0x16f)][_0xde5fa0(0x181)](_0x3bc61c=>{const _0x27d15a=_0xde5fa0,_0x575e02=new Set();for(let _0x1f8dc1=0x0;_0x1f8dc1<_0x3573ae[_0x27d15a(0x175)];_0x1f8dc1++){const _0x59a3ff=_0x3573ae[_0x1f8dc1];if(_0x59a3ff[_0x27d15a(0x172)]=null,_0x59a3ff[_0x27d15a(0x18d)]=!0x1,_0x23a1f9[_0x27d15a(0x184)](_0x59a3ff)){const _0x430650=_0x367c52(_0x59a3ff[_0x27d15a(0x195)],_0x5f3e70[_0x27d15a(0x16f)]),_0x46ad46=_0x27d15a(0x15b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x46ad46,_0x430650);}else switch(_0x59a3ff[_0x27d15a(0x142)]){case _0x27d15a(0x196):{if(_0x59a3ff[_0x27d15a(0x17e)]==_0x59a3ff[_0x27d15a(0x168)])break;_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x507dc5=_0x27d15a(0x16e),_0x5157c1=_0x59a3ff[_0x27d15a(0x17a)],_0x2a75a7=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x5157c1,_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x16a)](_0x5157c1[_0x27d15a(0x154)],_0x27d15a(0x140))),_0x27dd74=_0x27d15a(0x155)+_0x507dc5+':'+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x27dd74,_0x2a75a7);break;}case _0x27d15a(0x19b):case _0x27d15a(0x1a9):case _0x27d15a(0x143):{if(_0x59a3ff[_0x27d15a(0x1a8)]==_0x59a3ff[_0x27d15a(0x18a)])break;_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x4d0a6f=_0x59a3ff[_0x27d15a(0x17f)];if(!_0x2a079f[_0x27d15a(0x185)](_0x4d0a6f))break;const _0x192b56=_0x367c52(_0x59a3ff[_0x27d15a(0x192)],_0x5f3e70[_0x27d15a(0x16f)]),_0x545045=_0x27d15a(0x155)+_0x4d0a6f+':'+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x545045,_0x192b56);break;}case _0x27d15a(0x180):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);if(_0x3573ae[_0x1f8dc1+0x1]&&_0x27d15a(0x14c)==_0x3573ae[_0x1f8dc1+0x1][_0x27d15a(0x142)]){no(_0x56a604,_0x59a3ff);break;}const _0x402018=_0x59a3ff[_0x27d15a(0x17a)],_0xc49c94=_0x59a3ff[_0x27d15a(0x1a7)],_0x5fe648=_0x367c52(_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x402018,_0x402018[_0x27d15a(0x153)](_0xc49c94)),_0x5f3e70[_0x27d15a(0x16f)]),_0x5830e9=_0x27d15a(0x14b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x5830e9,_0x5fe648);break;}case _0x27d15a(0x167):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x145c2e=_0x59a3ff[_0x27d15a(0x150)],_0x81882d=_0x59a3ff[_0x27d15a(0x161)],_0x1611ee=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x145c2e,_0x81882d),_0x318602=_0x27d15a(0x14b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x318602,_0x1611ee);break;}case _0x27d15a(0x14c):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff),_0x3573ae[_0x1f8dc1-0x1]&&_0x27d15a(0x180)==_0x3573ae[_0x1f8dc1-0x1][_0x27d15a(0x142)]&&no(_0x56a604,_0x59a3ff);const _0x175d23=_0x59a3ff[_0x27d15a(0x183)](),_0x156feb=_0x59a3ff[_0x27d15a(0x1a7)];for(let _0x153602=0x0;_0x153602<_0x156feb;_0x153602++){const _0x51902e=_0x175d23[_0x27d15a(0x153)](_0x153602)[_0x27d15a(0x154)];_0x575e02[_0x27d15a(0x162)](_0x51902e);}break;}case _0x27d15a(0x136):{const _0x5f0f71=_0x59a3ff[_0x27d15a(0x13a)],_0x3ad930=_0x59a3ff[_0x27d15a(0x1a7)],_0x565820=new _0x8243bc(_0x5f0f71,_0x3ad930);_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x565820),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x565820);break;}}}for(const _0x55e8ab of _0x575e02){const _0x476521=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x157)](_0x55e8ab),_0x5e899b=_0x27d15a(0x19f)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x5e899b,_0x367c52(_0x476521,_0x5f3e70[_0x27d15a(0x16f)]));}});}(_0x1eadf6,_0x5f3433,_0x29203a):_0x29203a[_0x1e5ecf(0x16f)][_0x1e5ecf(0x181)](_0x24b26d=>{const _0x8443d5=_0x1e5ecf;for(const _0x4c32e9 of _0x1eadf6)if(_0x8443d5(0x136)==_0x4c32e9[_0x8443d5(0x142)]){const _0xb513a9=_0x4c32e9[_0x8443d5(0x13a)],_0x1dda4f=_0x4c32e9[_0x8443d5(0x1a7)],_0x1c1ff8=new _0x8243bc(_0xb513a9,_0x1dda4f);_0x24b26d[_0x8443d5(0x146)][_0x8443d5(0x17c)](_0x1c1ff8),_0x29203a[_0x8443d5(0x16f)][_0x8443d5(0x15c)](_0x1c1ff8);}else{if(_0x8443d5(0x138)==_0x4c32e9[_0x8443d5(0x142)]){const _0x38a066=_0x4c32e9[_0x8443d5(0x1a5)],_0x1c1efd=_0x4c32e9[_0x8443d5(0x195)];null!==_0x1c1efd?_0x5f3433[_0x8443d5(0x16c)][_0x8443d5(0x19a)](_0x38a066,_0x1c1efd):_0x5f3433[_0x8443d5(0x16c)][_0x8443d5(0x149)](_0x38a066);}else _0x4c32e9[_0x8443d5(0x172)]=null,_0x4c32e9[_0x8443d5(0x18d)]=!0x1,_0x24b26d[_0x8443d5(0x146)][_0x8443d5(0x17c)](_0x4c32e9),_0x29203a[_0x8443d5(0x16f)][_0x8443d5(0x15c)](_0x4c32e9);}});if(_0x147190){const _0x3d7f49=getMinimalSelection(_0x29203a,_0x1eadf6,_0x5f3433);expandSelectionWithContext(_0x29203a[_0x1e5ecf(0x16f)],_0x3d7f49),function(_0x1bc86f,_0x44f76e){const _0x54b434=_0x1e5ecf,_0x5e1dc8=_0x44f76e[_0x54b434(0x18e)]()[_0x54b434(0x19c)];let _0x54d454=_0x44f76e[_0x54b434(0x18e)]()[_0x54b434(0x140)];const _0x343bc6=_0x5e1dc8[_0x54b434(0x199)];(_0x54d454[_0x54b434(0x1a3)]||_0x54d454[_0x54b434(0x154)]&&_0x54d454[_0x54b434(0x154)]['is'](_0x54b434(0x13b)))&&(_0x51a2e5(_0x54d454,_0x54b434(0x160)),_0x54d454=_0x54d454[_0x54b434(0x153)](0x3)),(_0x5e1dc8[_0x54b434(0x1a3)]||_0x5e1dc8[_0x54b434(0x198)]&&_0x5e1dc8[_0x54b434(0x198)]['is'](_0x54b434(0x13b)))&&(_0x51a2e5(_0x5e1dc8,_0x54b434(0x160)),function(_0x3e54c2,_0x1826b7,_0x4a2831){const _0x1c7d5d=_0x54b434;for(let [_0x4d42c5,_0x3f6c74]of _0x3e54c2[_0x1c7d5d(0x16c)]){const _0x1df2f3=_0x3f6c74[_0x1c7d5d(0x13d)](_0x1826b7,_0x4a2831,!0x1);_0x3f6c74=_0x1df2f3[0x0],_0x3e54c2[_0x1c7d5d(0x16c)][_0x1c7d5d(0x19a)](_0x4d42c5,_0x3f6c74);}}(_0x343bc6,_0x5e1dc8,0x3),_0x5e1dc8[_0x54b434(0x15d)]==_0x54d454[_0x54b434(0x15d)]&&(_0x54d454=_0x54d454[_0x54b434(0x153)](0x3)));const _0x15f5ac=_0x1bc86f[_0x54b434(0x188)](_0x1bc86f[_0x54b434(0x16a)](_0x343bc6,0x0),_0x5e1dc8),_0x1214bc=_0x1bc86f[_0x54b434(0x188)](_0x54d454,_0x1bc86f[_0x54b434(0x16a)](_0x343bc6,_0x54b434(0x140))),_0x2af0ac=[..._0x15f5ac[_0x54b434(0x137)](),..._0x1214bc[_0x54b434(0x137)]()];_0x2af0ac[_0x54b434(0x14f)]();for(const _0x517693 of _0x2af0ac)_0x470545(_0x517693),_transformMarkersByDeletion(_0x343bc6,_0x517693);}(_0x29203a[_0x1e5ecf(0x16f)],_0x3d7f49);}const _0x4be8ed=_0x29203a[_0x1e5ecf(0x18c)][_0x1e5ecf(0x16b)](_0x5f3433,{'showSuggestionHighlights':!0x0});return{'content':_0x16d5fa(_0x4be8ed),'hasChanges':!0x0};}(_0x14c25e,_0x5d0a28,_0x50a0d1,_0x6768f3,_0x10e3bf);return{'type':_0x11e701[_0x39a2c1(0x164)][0x0][_0x39a2c1(0x142)],'index':_0x11e701[_0x39a2c1(0x186)],'content':_0xc135c0,'hasChanges':_0xec35e};});}function no(_0x30f2b6,_0x5d8a6e){const _0x4742a2=_0x4817;for(const [_0x3c3e06,_0x46214f]of _0x30f2b6[_0x4742a2(0x16c)]){const _0x208fc5=_0x3cdad4[_0x4742a2(0x182)](_0x46214f[_0x4742a2(0x165)](_0x5d8a6e));_0x30f2b6[_0x4742a2(0x16c)][_0x4742a2(0x19a)](_0x3c3e06,_0x208fc5);}}function _0x55db(){const _0x762827=['createPositionAt','stringify','markers','parse','$elementName','model','16038XuBCPf','_getTransformedByDeletion','baseVersion','new','isAfter','length','modifySelection','90494EOeHTs','6248770xOKRau','schema','position','isBefore','addOperation','getDiff','oldName','key','insert','change','_createFromRanges','getMovedRangeStart','isMarkedRemoveOperation','isRegisteredAttribute','index','slice','createRange','createSelection','newValue','focus','data','isDocumentOperation','getFirstRange','removed','isBlock','cloneNode','range','get','1198064vGOTAt','newRange','rename','element','nodeBefore','root','set','addAttribute','start','forward','831812ShpEng','suggestion:formatBlock:$fakeWrap:','word','POSITIVE_INFINITY','merge','textNode','children','name',':$aiSuggestion','howMany','oldValue','removeAttribute','setTo','remove','getMinimalFlatRanges','marker','$root','sourcePosition','$text','isObject','_getTransformedByInsertion','offset','path','end','backward','type','changeAttribute','24ugRurG','SuggestionsConversion','batch','clone','1506IpGNTE','delete','push','suggestion:insertion:','move','6010gDVJil','createPositionFromPath','reverse','splitPosition','plugins','stickiness','getShiftedBy','nodeAfter','suggestion:attribute:','toNone','createRangeOn','targetPosition','DocumentCompare','390248PmMqqs','suggestion:deletion:','applyOperation','parent','getOperations','node','...','moveTargetPosition','add','data-id','changes','getTransformedByOperation','1128JaxgRR','split','newName','map'];_0x55db=function(){return _0x762827;};return _0x55db();}export function getMinimalSelection(_0x57d180,_0x2052b8,_0x5c80a3){const _0x4aa329=_0x4817,_0x15db3b=_0x57d180[_0x4aa329(0x151)][_0x4aa329(0x193)](_0x4aa329(0x159));let _0x13adde=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x16a)](_0x5c80a3,Number[_0x4aa329(0x1a1)]),_0x47435d=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x16a)](_0x5c80a3,0x0);for(const _0x347aa1 of _0x2052b8){let _0x1db5d2,_0x193d22;if(_0x15db3b[_0x4aa329(0x184)](_0x347aa1))_0x1db5d2=_0x347aa1[_0x4aa329(0x195)][_0x4aa329(0x19c)],_0x193d22=_0x347aa1[_0x4aa329(0x195)][_0x4aa329(0x140)];else switch(_0x13adde=_0x13adde[_0x4aa329(0x165)](_0x347aa1),_0x47435d=_0x47435d[_0x4aa329(0x165)](_0x347aa1),_0x347aa1[_0x4aa329(0x142)]){case _0x4aa329(0x196):_0x1db5d2=_0x347aa1[_0x4aa329(0x17a)],_0x193d22=_0x1db5d2[_0x4aa329(0x153)](0x1);break;case _0x4aa329(0x19b):case _0x4aa329(0x1a9):case _0x4aa329(0x143):_0x1db5d2=_0x347aa1[_0x4aa329(0x192)][_0x4aa329(0x19c)],_0x193d22=_0x347aa1[_0x4aa329(0x192)][_0x4aa329(0x140)];break;case _0x4aa329(0x180):_0x1db5d2=_0x347aa1[_0x4aa329(0x17a)],_0x193d22=_0x1db5d2[_0x4aa329(0x153)](_0x347aa1[_0x4aa329(0x1a7)]);break;case _0x4aa329(0x167):_0x1db5d2=_0x347aa1[_0x4aa329(0x150)],_0x193d22=_0x347aa1[_0x4aa329(0x161)];break;case _0x4aa329(0x1a2):{const _0xb14ca3=_0x347aa1[_0x4aa329(0x158)][_0x4aa329(0x13f)][_0x4aa329(0x187)](0x0,-0x1);_0x1db5d2=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x14e)](_0x5c80a3,_0xb14ca3),_0x193d22=_0x1db5d2[_0x4aa329(0x153)](0x1);break;}case _0x4aa329(0x136):{const _0x14341e=_0x347aa1[_0x4aa329(0x1a7)],_0xfff4a1=_0x347aa1[_0x4aa329(0x13a)][_0x4aa329(0x13d)](_0x347aa1[_0x4aa329(0x158)],_0x14341e),_0x36a9e7=_0x347aa1[_0x4aa329(0x183)]();_0x4aa329(0x136)==_0x347aa1[_0x4aa329(0x142)]?(_0x1db5d2=_0xfff4a1,_0x193d22=_0xfff4a1):(_0x1db5d2=_0x36a9e7,_0x193d22=_0x36a9e7[_0x4aa329(0x153)](_0x14341e));break;}}_0x1db5d2&&_0x1db5d2[_0x4aa329(0x17b)](_0x13adde)&&(_0x13adde=_0x1db5d2[_0x4aa329(0x147)](),_0x13adde[_0x4aa329(0x152)]=_0x4aa329(0x156)),_0x193d22&&_0x193d22[_0x4aa329(0x174)](_0x47435d)&&(_0x47435d=_0x193d22[_0x4aa329(0x147)](),_0x47435d[_0x4aa329(0x152)]=_0x4aa329(0x156));}return _0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x189)](_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x188)](_0x13adde,_0x47435d));}export function expandSelectionWithContext(_0x174b4f,_0x48ad73){const _0xacb4f9=_0x4817;ro(_0x174b4f,_0x48ad73,_0xacb4f9(0x19d));const _0x5d21a1=_0x48ad73[_0xacb4f9(0x18e)]();_0x48ad73[_0xacb4f9(0x135)]([]),_0x48ad73[_0xacb4f9(0x135)](_0x5d21a1,{'backward':!0x0}),ro(_0x174b4f,_0x48ad73,_0xacb4f9(0x141));}function ro(_0x49490a,_0x5c1494,_0x53487e){const _0x5bfe3b=_0x4817;let _0x4d4085=0x14;for(;_0x4d4085;){_0x49490a[_0x5bfe3b(0x176)](_0x5c1494,{'unit':_0x5bfe3b(0x1a0),'direction':_0x53487e}),_0x4d4085--;const _0x498056=_0x5c1494[_0x5bfe3b(0x18b)][_0x5bfe3b(0x19d)==_0x53487e?_0x5bfe3b(0x198):_0x5bfe3b(0x154)];if(_0x498056&&_0x498056['is'](_0x5bfe3b(0x197))&&_0x49490a[_0x5bfe3b(0x179)][_0x5bfe3b(0x190)](_0x498056)&&_0x49490a[_0x5bfe3b(0x179)][_0x5bfe3b(0x13c)](_0x498056))break;}}export function _transformMarkersByDeletion(_0x2a1de4,_0x31de2d){const _0x31d4ee=_0x4817;for(const [_0x2bad1c,_0x5da1f3]of _0x2a1de4[_0x31d4ee(0x16c)]){const _0x371ae2=_0x5da1f3[_0x31d4ee(0x171)](_0x31de2d[_0x31d4ee(0x19c)],_0x31de2d[_0x31d4ee(0x140)][_0x31d4ee(0x13e)]-_0x31de2d[_0x31d4ee(0x19c)][_0x31d4ee(0x13e)]);null!=_0x371ae2?_0x2a1de4[_0x31d4ee(0x16c)][_0x31d4ee(0x19a)](_0x2bad1c,_0x371ae2):_0x2a1de4[_0x31d4ee(0x16c)][_0x31d4ee(0x149)](_0x2bad1c);}}
23
+ function _0x184f(_0x36ba87,_0x11c53c){const _0x8d4783=_0x8d47();return _0x184f=function(_0x184fa9,_0x3c5e93){_0x184fa9=_0x184fa9-0x9b;let _0x5316fe=_0x8d4783[_0x184fa9];return _0x5316fe;},_0x184f(_0x36ba87,_0x11c53c);}(function(_0x251190,_0x10bea8){const _0x3a47b5=_0x184f,_0x22ee10=_0x251190();while(!![]){try{const _0x15fbee=parseInt(_0x3a47b5(0xed))/0x1+parseInt(_0x3a47b5(0xba))/0x2*(-parseInt(_0x3a47b5(0xdd))/0x3)+-parseInt(_0x3a47b5(0xa7))/0x4*(-parseInt(_0x3a47b5(0xdc))/0x5)+parseInt(_0x3a47b5(0xde))/0x6*(parseInt(_0x3a47b5(0xcf))/0x7)+parseInt(_0x3a47b5(0xa5))/0x8*(parseInt(_0x3a47b5(0xfa))/0x9)+-parseInt(_0x3a47b5(0xf0))/0xa*(parseInt(_0x3a47b5(0xfb))/0xb)+-parseInt(_0x3a47b5(0xd0))/0xc*(parseInt(_0x3a47b5(0xd9))/0xd);if(_0x15fbee===_0x10bea8)break;else _0x22ee10['push'](_0x22ee10['shift']());}catch(_0x26c31b){_0x22ee10['push'](_0x22ee10['shift']());}}}(_0x8d47,0xc3c2e));import{findOne as _0x3d4878,getAttribute as _0x2d654d,Document as _0x159c58,serialize as _0x298116,parse as _0x37ad22}from'./htmlparser.js';import{fixElementSuggestionRange as _0x4c5497}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x536317,_DetachOperation as _0x55bb1c,_removeFromModelNodeList as _0xee08e3,_insertIntoModelNodeList as _0x2d5f7d}from'ckeditor5/src/engine.js';function _0x8d47(){const _0x31292c=['isBefore','suggestion:insertion:','newRange','13vkLSex','length','merge','16025DQRinr','57BzDtCR','6VCeVET','marker','children','_getTransformedByDeletion','model','setTo','getShiftedBy','range','move','getOperations','nodeAfter','newName','name','textNode','data','87733qayfsh','slice','oldValue','13190hAKTGx','schema','targetPosition','sourcePosition','getMovedRangeStart','isBlock','batch','delete','suggestion:attribute:','stringify','9763731dWrNKW','9251cEQNOy','_getTransformedByInsertion','suggestion:deletion:','start','rename','path','map','end','markers','baseVersion','type','isRegisteredAttribute','forward','changeAttribute','plugins','createSelection','addOperation','SuggestionsConversion','removeAttribute','get','clone','$text','word','getFirstRange','splitPosition','root','isObject','index','getMinimalFlatRanges','focus','changes','parse','isMarkedRemoveOperation','modifySelection','8QWADIJ','getDiff','1604PfLZzJ','createPositionAt','addAttribute','cloneNode','element','backward','...','POSITIVE_INFINITY','removed','offset','push','getTransformedByOperation',':$aiSuggestion','applyOperation','toNone','createPositionFromPath','$root','stickiness','split','164446vMpsMq','suggestion:formatBlock:$fakeWrap:','moveTargetPosition','_createFromRanges','new','isDocumentOperation','data-id','createRangeOn','insert','parent','howMany','change','key','remove','position','isAfter','newValue','add','DocumentCompare','nodeBefore','reverse','9412669FEHIsi','3949320rllneC','createRange','node','set','oldName','$elementName'];_0x8d47=function(){return _0x31292c;};return _0x8d47();}import{uid as _0x5d297f}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x47e0eb,changeGroups:_0x1768cf,documentContextContent:_0x3f8347,showDiff:_0x39a2c9,trimUnchanged:_0x3c9689=!0x0}){const _0x2d12cc=_0x184f;return _0x1768cf[_0x2d12cc(0x101)](_0x187f71=>{const _0x8afe78=_0x2d12cc,_0x461df4=new _0x159c58([]),_0x2e1a36=new _0x159c58([]);for(const _0x4467cf of _0x187f71[_0x8afe78(0xa1)])if(_0x39a2c9&&_0x8afe78(0xaf)==_0x4467cf[_0x8afe78(0x105)]||_0x2e1a36[_0x8afe78(0xe0)][_0x8afe78(0xb1)](_0x4467cf[_0x8afe78(0xd2)][_0x8afe78(0xaa)](!0x0)),_0x8afe78(0xbe)!=_0x4467cf[_0x8afe78(0x105)]&&(_0x39a2c9||_0x8afe78(0xaf)!=_0x4467cf[_0x8afe78(0x105)])){const _0x37ae85=_0x3d4878(_0x231171=>_0x2d654d(_0x231171,_0x8afe78(0xc0))==_0x4467cf['id'],_0x3f8347,!0x0);_0x37ae85&&_0x461df4[_0x8afe78(0xe0)][_0x8afe78(0xb1)](_0x37ae85[_0x8afe78(0xaa)](!0x0));}const {content:_0x1bdd27,hasChanges:_0x1f726b}=function(_0x5d405a,_0x14cd8f,_0x3d4c69,_0x370bb3,_0x13ea8d=!0x0){const _0xb17ffb=_0x8afe78,_0x566a5e=_0x5d405a[_0xb17ffb(0x109)][_0xb17ffb(0x10e)](_0xb17ffb(0xcc)),_0x55c6b9=_0x298116(_0x14cd8f),_0x5836a7=_0x298116(_0x3d4c69),_0x4e4ab9=_0x5d405a[_0xb17ffb(0xec)][_0xb17ffb(0xa2)](_0x55c6b9,_0xb17ffb(0xb7)),_0x45ca12=_0x5d405a[_0xb17ffb(0xe2)][_0xb17ffb(0xa8)](_0x4e4ab9,0x0),_0x343653=_0x566a5e[_0xb17ffb(0xa6)](_0x55c6b9,_0x5836a7,{'anchor':_0x45ca12,'markDeletions':_0x370bb3}),_0x20215b=_0x343653[_0xb17ffb(0xe7)]();if(0x0==_0x20215b[_0xb17ffb(0xda)])return{'content':_0x14cd8f[_0xb17ffb(0xaa)](!0x0),'hasChanges':!0x1};_0x370bb3?function(_0x12afba,_0x9a620d,_0x3ca99c){const _0x325e60=_0xb17ffb;if(0x0==_0x12afba[_0x325e60(0xda)])return;const _0x3f8863=_0x3ca99c[_0x325e60(0x109)][_0x325e60(0x10e)](_0x325e60(0xcc)),_0x38cee0=_0x3ca99c[_0x325e60(0x109)][_0x325e60(0x10e)](_0x325e60(0x10c));_0x3ca99c[_0x325e60(0xe2)][_0x325e60(0xc5)](_0x3aaf11=>{const _0x888479=_0x325e60,_0x3d12f5=new Set();for(let _0x396cd1=0x0;_0x396cd1<_0x12afba[_0x888479(0xda)];_0x396cd1++){const _0x54ef5c=_0x12afba[_0x396cd1];if(_0x54ef5c[_0x888479(0x104)]=null,_0x54ef5c[_0x888479(0xbf)]=!0x1,_0x3f8863[_0x888479(0xa3)](_0x54ef5c)){const _0x5e8a2f=_0x4c5497(_0x54ef5c[_0x888479(0xd8)],_0x3ca99c[_0x888479(0xe2)]),_0xf63656=_0x888479(0xfd)+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0xf63656,_0x5e8a2f);}else switch(_0x54ef5c[_0x888479(0x105)]){case _0x888479(0xff):{if(_0x54ef5c[_0x888479(0xd4)]==_0x54ef5c[_0x888479(0xe9)])break;_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c);const _0x5d1934=_0x888479(0xd5),_0x2a82bd=_0x54ef5c[_0x888479(0xc8)],_0x1cd0ee=_0x3ca99c[_0x888479(0xe2)][_0x888479(0xd1)](_0x2a82bd,_0x3ca99c[_0x888479(0xe2)][_0x888479(0xa8)](_0x2a82bd[_0x888479(0xe8)],_0x888479(0x102))),_0xa2d81=_0x888479(0xf8)+_0x5d1934+':'+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0xa2d81,_0x1cd0ee);break;}case _0x888479(0xa9):case _0x888479(0x10d):case _0x888479(0x108):{if(_0x54ef5c[_0x888479(0xef)]==_0x54ef5c[_0x888479(0xca)])break;_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c);const _0x4d5781=_0x54ef5c[_0x888479(0xc6)];if(!_0x38cee0[_0x888479(0x106)](_0x4d5781))break;const _0x386967=_0x4c5497(_0x54ef5c[_0x888479(0xe5)],_0x3ca99c[_0x888479(0xe2)]),_0x5310d5=_0x888479(0xf8)+_0x4d5781+':'+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0x5310d5,_0x386967);break;}case _0x888479(0xc2):{_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c);if(_0x12afba[_0x396cd1+0x1]&&_0x888479(0xe6)==_0x12afba[_0x396cd1+0x1][_0x888479(0x105)]){no(_0x9a620d,_0x54ef5c);break;}const _0x3e1ada=_0x54ef5c[_0x888479(0xc8)],_0x4a1894=_0x54ef5c[_0x888479(0xc4)],_0x187496=_0x4c5497(_0x3ca99c[_0x888479(0xe2)][_0x888479(0xd1)](_0x3e1ada,_0x3e1ada[_0x888479(0xe4)](_0x4a1894)),_0x3ca99c[_0x888479(0xe2)]),_0x350513=_0x888479(0xd7)+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0x350513,_0x187496);break;}case _0x888479(0xb9):{_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c);const _0x7ced29=_0x54ef5c[_0x888479(0x9b)],_0x4377ab=_0x54ef5c[_0x888479(0xbc)],_0x29b713=_0x3ca99c[_0x888479(0xe2)][_0x888479(0xd1)](_0x7ced29,_0x4377ab),_0x3332cc=_0x888479(0xd7)+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0x3332cc,_0x29b713);break;}case _0x888479(0xe6):{_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c),_0x12afba[_0x396cd1-0x1]&&_0x888479(0xc2)==_0x12afba[_0x396cd1-0x1][_0x888479(0x105)]&&no(_0x9a620d,_0x54ef5c);const _0x5cab5f=_0x54ef5c[_0x888479(0xf4)](),_0x4037c4=_0x54ef5c[_0x888479(0xc4)];for(let _0x162a42=0x0;_0x162a42<_0x4037c4;_0x162a42++){const _0x3418d7=_0x5cab5f[_0x888479(0xe4)](_0x162a42)[_0x888479(0xe8)];_0x3d12f5[_0x888479(0xcb)](_0x3418d7);}break;}case _0x888479(0xc7):{const _0xfa1f05=_0x54ef5c[_0x888479(0xf3)],_0x423bd4=_0x54ef5c[_0x888479(0xc4)],_0x147086=new _0x55bb1c(_0xfa1f05,_0x423bd4);_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x147086),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x147086);break;}}}for(const _0x545e78 of _0x3d12f5){const _0x46e27d=_0x3ca99c[_0x888479(0xe2)][_0x888479(0xc1)](_0x545e78),_0x115d27=_0x888479(0xbb)+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0x115d27,_0x4c5497(_0x46e27d,_0x3ca99c[_0x888479(0xe2)]));}});}(_0x20215b,_0x4e4ab9,_0x5d405a):_0x5d405a[_0xb17ffb(0xe2)][_0xb17ffb(0xc5)](_0x233ca2=>{const _0x392602=_0xb17ffb;for(const _0x5441dd of _0x20215b)if(_0x392602(0xc7)==_0x5441dd[_0x392602(0x105)]){const _0x4e04af=_0x5441dd[_0x392602(0xf3)],_0x181f6f=_0x5441dd[_0x392602(0xc4)],_0x552084=new _0x55bb1c(_0x4e04af,_0x181f6f);_0x233ca2[_0x392602(0xf6)][_0x392602(0x10b)](_0x552084),_0x5d405a[_0x392602(0xe2)][_0x392602(0xb4)](_0x552084);}else{if(_0x392602(0xdf)==_0x5441dd[_0x392602(0x105)]){const _0xe493d1=_0x5441dd[_0x392602(0xea)],_0x3030af=_0x5441dd[_0x392602(0xd8)];null!==_0x3030af?_0x4e4ab9[_0x392602(0x103)][_0x392602(0xd3)](_0xe493d1,_0x3030af):_0x4e4ab9[_0x392602(0x103)][_0x392602(0xf7)](_0xe493d1);}else _0x5441dd[_0x392602(0x104)]=null,_0x5441dd[_0x392602(0xbf)]=!0x1,_0x233ca2[_0x392602(0xf6)][_0x392602(0x10b)](_0x5441dd),_0x5d405a[_0x392602(0xe2)][_0x392602(0xb4)](_0x5441dd);}});if(_0x13ea8d){const _0xc02fa=getMinimalSelection(_0x5d405a,_0x20215b,_0x4e4ab9);expandSelectionWithContext(_0x5d405a[_0xb17ffb(0xe2)],_0xc02fa),function(_0x5c2eb7,_0x5f0299){const _0x13acdf=_0xb17ffb,_0xcb8d15=_0x5f0299[_0x13acdf(0x112)]()[_0x13acdf(0xfe)];let _0x5d2b9d=_0x5f0299[_0x13acdf(0x112)]()[_0x13acdf(0x102)];const _0x592626=_0xcb8d15[_0x13acdf(0x9c)];(_0x5d2b9d[_0x13acdf(0xeb)]||_0x5d2b9d[_0x13acdf(0xe8)]&&_0x5d2b9d[_0x13acdf(0xe8)]['is'](_0x13acdf(0x110)))&&(_0x2d5f7d(_0x5d2b9d,_0x13acdf(0xad)),_0x5d2b9d=_0x5d2b9d[_0x13acdf(0xe4)](0x3)),(_0xcb8d15[_0x13acdf(0xeb)]||_0xcb8d15[_0x13acdf(0xcd)]&&_0xcb8d15[_0x13acdf(0xcd)]['is'](_0x13acdf(0x110)))&&(_0x2d5f7d(_0xcb8d15,_0x13acdf(0xad)),function(_0x35e7ce,_0x474524,_0x1c27d8){const _0x18ed12=_0x13acdf;for(let [_0x3865d7,_0x36e837]of _0x35e7ce[_0x18ed12(0x103)]){const _0x4723a7=_0x36e837[_0x18ed12(0xfc)](_0x474524,_0x1c27d8,!0x1);_0x36e837=_0x4723a7[0x0],_0x35e7ce[_0x18ed12(0x103)][_0x18ed12(0xd3)](_0x3865d7,_0x36e837);}}(_0x592626,_0xcb8d15,0x3),_0xcb8d15[_0x13acdf(0xc3)]==_0x5d2b9d[_0x13acdf(0xc3)]&&(_0x5d2b9d=_0x5d2b9d[_0x13acdf(0xe4)](0x3)));const _0x38c25f=_0x5c2eb7[_0x13acdf(0xd1)](_0x5c2eb7[_0x13acdf(0xa8)](_0x592626,0x0),_0xcb8d15),_0x40e4dc=_0x5c2eb7[_0x13acdf(0xd1)](_0x5d2b9d,_0x5c2eb7[_0x13acdf(0xa8)](_0x592626,_0x13acdf(0x102))),_0xf7d8c0=[..._0x38c25f[_0x13acdf(0x9f)](),..._0x40e4dc[_0x13acdf(0x9f)]()];_0xf7d8c0[_0x13acdf(0xce)]();for(const _0x37af5d of _0xf7d8c0)_0xee08e3(_0x37af5d),_transformMarkersByDeletion(_0x592626,_0x37af5d);}(_0x5d405a[_0xb17ffb(0xe2)],_0xc02fa);}const _0x3bb2c7=_0x5d405a[_0xb17ffb(0xec)][_0xb17ffb(0xf9)](_0x4e4ab9,{'showSuggestionHighlights':!0x0});return{'content':_0x37ad22(_0x3bb2c7),'hasChanges':!0x0};}(_0x47e0eb,_0x461df4,_0x2e1a36,_0x39a2c9,_0x3c9689);return{'type':_0x187f71[_0x8afe78(0xa1)][0x0][_0x8afe78(0x105)],'index':_0x187f71[_0x8afe78(0x9e)],'content':_0x1bdd27,'hasChanges':_0x1f726b};});}function no(_0x36102a,_0x4eaf13){const _0x402ca6=_0x184f;for(const [_0x406b6f,_0x5e513d]of _0x36102a[_0x402ca6(0x103)]){const _0xf93865=_0x536317[_0x402ca6(0xbd)](_0x5e513d[_0x402ca6(0xb2)](_0x4eaf13));_0x36102a[_0x402ca6(0x103)][_0x402ca6(0xd3)](_0x406b6f,_0xf93865);}}export function getMinimalSelection(_0x36e835,_0x2bef31,_0x272a40){const _0x4a0aac=_0x184f,_0x27f1dc=_0x36e835[_0x4a0aac(0x109)][_0x4a0aac(0x10e)](_0x4a0aac(0xcc));let _0x3047d5=_0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0xa8)](_0x272a40,Number[_0x4a0aac(0xae)]),_0x4cfd89=_0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0xa8)](_0x272a40,0x0);for(const _0x2fa5f3 of _0x2bef31){let _0x3fb011,_0x4b17cf;if(_0x27f1dc[_0x4a0aac(0xa3)](_0x2fa5f3))_0x3fb011=_0x2fa5f3[_0x4a0aac(0xd8)][_0x4a0aac(0xfe)],_0x4b17cf=_0x2fa5f3[_0x4a0aac(0xd8)][_0x4a0aac(0x102)];else switch(_0x3047d5=_0x3047d5[_0x4a0aac(0xb2)](_0x2fa5f3),_0x4cfd89=_0x4cfd89[_0x4a0aac(0xb2)](_0x2fa5f3),_0x2fa5f3[_0x4a0aac(0x105)]){case _0x4a0aac(0xff):_0x3fb011=_0x2fa5f3[_0x4a0aac(0xc8)],_0x4b17cf=_0x3fb011[_0x4a0aac(0xe4)](0x1);break;case _0x4a0aac(0xa9):case _0x4a0aac(0x10d):case _0x4a0aac(0x108):_0x3fb011=_0x2fa5f3[_0x4a0aac(0xe5)][_0x4a0aac(0xfe)],_0x4b17cf=_0x2fa5f3[_0x4a0aac(0xe5)][_0x4a0aac(0x102)];break;case _0x4a0aac(0xc2):_0x3fb011=_0x2fa5f3[_0x4a0aac(0xc8)],_0x4b17cf=_0x3fb011[_0x4a0aac(0xe4)](_0x2fa5f3[_0x4a0aac(0xc4)]);break;case _0x4a0aac(0xb9):_0x3fb011=_0x2fa5f3[_0x4a0aac(0x9b)],_0x4b17cf=_0x2fa5f3[_0x4a0aac(0xbc)];break;case _0x4a0aac(0xdb):{const _0x310a82=_0x2fa5f3[_0x4a0aac(0xf2)][_0x4a0aac(0x100)][_0x4a0aac(0xee)](0x0,-0x1);_0x3fb011=_0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0xb6)](_0x272a40,_0x310a82),_0x4b17cf=_0x3fb011[_0x4a0aac(0xe4)](0x1);break;}case _0x4a0aac(0xc7):{const _0x4c587f=_0x2fa5f3[_0x4a0aac(0xc4)],_0x21918c=_0x2fa5f3[_0x4a0aac(0xf3)][_0x4a0aac(0xfc)](_0x2fa5f3[_0x4a0aac(0xf2)],_0x4c587f),_0x5378fc=_0x2fa5f3[_0x4a0aac(0xf4)]();_0x4a0aac(0xc7)==_0x2fa5f3[_0x4a0aac(0x105)]?(_0x3fb011=_0x21918c,_0x4b17cf=_0x21918c):(_0x3fb011=_0x5378fc,_0x4b17cf=_0x5378fc[_0x4a0aac(0xe4)](_0x4c587f));break;}}_0x3fb011&&_0x3fb011[_0x4a0aac(0xd6)](_0x3047d5)&&(_0x3047d5=_0x3fb011[_0x4a0aac(0x10f)](),_0x3047d5[_0x4a0aac(0xb8)]=_0x4a0aac(0xb5)),_0x4b17cf&&_0x4b17cf[_0x4a0aac(0xc9)](_0x4cfd89)&&(_0x4cfd89=_0x4b17cf[_0x4a0aac(0x10f)](),_0x4cfd89[_0x4a0aac(0xb8)]=_0x4a0aac(0xb5));}return _0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0x10a)](_0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0xd1)](_0x3047d5,_0x4cfd89));}export function expandSelectionWithContext(_0x321c7d,_0x110b7f){const _0x130f93=_0x184f;ro(_0x321c7d,_0x110b7f,_0x130f93(0x107));const _0x8a5d18=_0x110b7f[_0x130f93(0x112)]();_0x110b7f[_0x130f93(0xe3)]([]),_0x110b7f[_0x130f93(0xe3)](_0x8a5d18,{'backward':!0x0}),ro(_0x321c7d,_0x110b7f,_0x130f93(0xac));}function ro(_0x5bd3f4,_0x52d166,_0x22ed56){const _0x1c1001=_0x184f;let _0x4e90aa=0x14;for(;_0x4e90aa;){_0x5bd3f4[_0x1c1001(0xa4)](_0x52d166,{'unit':_0x1c1001(0x111),'direction':_0x22ed56}),_0x4e90aa--;const _0x124c33=_0x52d166[_0x1c1001(0xa0)][_0x1c1001(0x107)==_0x22ed56?_0x1c1001(0xcd):_0x1c1001(0xe8)];if(_0x124c33&&_0x124c33['is'](_0x1c1001(0xab))&&_0x5bd3f4[_0x1c1001(0xf1)][_0x1c1001(0xf5)](_0x124c33)&&_0x5bd3f4[_0x1c1001(0xf1)][_0x1c1001(0x9d)](_0x124c33))break;}}export function _transformMarkersByDeletion(_0x26992b,_0x22bc98){const _0x15bf3c=_0x184f;for(const [_0x30a60b,_0x53cd17]of _0x26992b[_0x15bf3c(0x103)]){const _0x10bfff=_0x53cd17[_0x15bf3c(0xe1)](_0x22bc98[_0x15bf3c(0xfe)],_0x22bc98[_0x15bf3c(0x102)][_0x15bf3c(0xb0)]-_0x22bc98[_0x15bf3c(0xfe)][_0x15bf3c(0xb0)]);null!=_0x10bfff?_0x26992b[_0x15bf3c(0x103)][_0x15bf3c(0xd3)](_0x30a60b,_0x10bfff):_0x26992b[_0x15bf3c(0x103)][_0x15bf3c(0xf7)](_0x30a60b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x731b2b,_0x26405e){const _0x12d0c2=_0x2574,_0x15a802=_0x731b2b();while(!![]){try{const _0x335238=-parseInt(_0x12d0c2(0x1f7))/0x1+-parseInt(_0x12d0c2(0x1fa))/0x2+-parseInt(_0x12d0c2(0x1e9))/0x3+-parseInt(_0x12d0c2(0x1ed))/0x4+-parseInt(_0x12d0c2(0x1f4))/0x5+parseInt(_0x12d0c2(0x1f8))/0x6+parseInt(_0x12d0c2(0x1f6))/0x7*(parseInt(_0x12d0c2(0x1ec))/0x8);if(_0x335238===_0x26405e)break;else _0x15a802['push'](_0x15a802['shift']());}catch(_0x400961){_0x15a802['push'](_0x15a802['shift']());}}}(_0x3645,0xbf28d));import{parseDocument as _0xb47127}from'htmlparser2';import{append as _0x16939f,appendChild as _0x2778e0,find as _0x3550d5,findAll as _0x9045e1,findOne as _0xff265d,getChildren as _0x1d74c0,isComment as _0x249f63,isTag as _0x391175,prepend as _0x1cb373,prependChild as _0x134b6e,removeElement as _0x4ead3a,replaceElement as _0x3e3ff1,textContent as _0x72db89,getParent as _0x5a92a6,hasChildren as _0x3448b7}from'domutils';function _0x2574(_0x1aeb1d,_0x29e8ce){const _0x3645aa=_0x3645();return _0x2574=function(_0x2574ff,_0x5daffe){_0x2574ff=_0x2574ff-0x1e4;let _0x4ec6e5=_0x3645aa[_0x2574ff];return _0x4ec6e5;},_0x2574(_0x1aeb1d,_0x29e8ce);}import _0x2931f7 from'dom-serializer';import{cloneNode as _0x30afa4,isDocument as _0x5b4201,isText as _0x123a16,Element as _0x4ecfb3,Text as _0x59c91f,Document as _0x59c8d0,NodeWithChildren as _0x54a18e}from'domhandler';export{_0x30afa4 as cloneNode,_0x3550d5 as find,_0xff265d as findOne,_0x9045e1 as findAll,_0x1d74c0 as getChildren,_0x5a92a6 as getParent,_0x249f63 as isComment,_0x5b4201 as isDocument,_0x391175 as isTag,_0x123a16 as isText,_0x16939f as append,_0x2778e0 as appendChild,_0x1cb373 as prepend,_0x134b6e as prependChild,_0x2931f7 as render,_0x4ead3a as removeElement,_0x3e3ff1 as replaceElement,_0x72db89 as textContent,_0x3448b7 as hasChildren,_0x4ecfb3 as Element,_0x59c8d0 as Document,_0x54a18e as NodeWithChildren,_0x59c91f as Text};export function parse(_0x40d2e2){return _0xb47127(_0x40d2e2);}function _0x3645(){const _0x17d4af=['14927816RGcqEr','398968jUfUgp','beforebegin','slice','nextSibling','forEach','replace','map','5603675pRvFbf','afterbegin','14gdANkf','120782mQoQWy','2559084hGQisP','beforeend','1607670LDfjXJ','indexOf','attribs','push','cloneNode','reverse','3691155fDtgFs','afterend','parentNode'];_0x3645=function(){return _0x17d4af;};return _0x3645();}export function serialize(_0x2252dd){return _0x2931f7(_0x2252dd);}export function findByAttribute(_0x40a93f,_0x2677fc,_0x40fe8a){const _0x530a45=_0x2574,_0x10d6ea=null!==_0x2677fc?_0x2c591a=>_0x2c591a[_0x530a45(0x1e5)][_0x40a93f]===_0x2677fc:_0x27c9c7=>Boolean(_0x27c9c7[_0x530a45(0x1e5)][_0x40a93f]);return _0xff265d(_0x10b959=>_0x391175(_0x10b959)&&_0x10d6ea(_0x10b959),_0x40fe8a);}export function findAllByAttribute(_0x10d983,_0x85d71d,_0x4d0e4a){const _0x5cb7ef=_0x2574,_0xc5b571=null!==_0x85d71d?_0x18309e=>_0x18309e[_0x5cb7ef(0x1e5)][_0x10d983]===_0x85d71d:_0xc334a0=>Boolean(_0xc334a0[_0x5cb7ef(0x1e5)][_0x10d983]);return _0x9045e1(_0x496c23=>_0x391175(_0x496c23)&&_0xc5b571(_0x496c23),_0x4d0e4a);}export function findAllComments(_0x2c349e){return _0x3550d5(_0x528e99=>_0x249f63(_0x528e99),_0x2c349e,!0x0,0x1/0x0);}export function getAttribute(_0x598843,_0x1835f8){const _0x10a957=_0x2574;return _0x598843&&_0x391175(_0x598843)?_0x598843[_0x10a957(0x1e5)][_0x1835f8]:null;}export function setAttribute(_0x287602,_0x9425a4,_0x21655e){const _0x23b388=_0x2574;_0x391175(_0x287602)&&(null===_0x21655e?delete _0x287602[_0x23b388(0x1e5)][_0x9425a4]:_0x287602[_0x23b388(0x1e5)][_0x9425a4]=_0x21655e);}export function insertElement(_0x1017dd,_0x433fcc,_0x39732c){const _0x42fc17=_0x2574,_0x3c66da=_0x433fcc[_0x42fc17(0x1e7)](!0x0);_0x42fc17(0x1ee)===_0x39732c?_0x1cb373(_0x1017dd,_0x3c66da):_0x42fc17(0x1f5)===_0x39732c?_0x134b6e(_0x1017dd,_0x3c66da):_0x42fc17(0x1f9)===_0x39732c?_0x2778e0(_0x1017dd,_0x3c66da):_0x42fc17(0x1ea)===_0x39732c&&_0x16939f(_0x1017dd,_0x3c66da);}export function moveElement(_0x2ef044,_0x36830e){_0x4ead3a(_0x2ef044),_0x3e3ff1(_0x36830e,_0x2ef044);}export function clone(_0x45ebe3){const _0x4d6a80=_0x2574;return _0x45ebe3[_0x4d6a80(0x1e7)](!0x0);}export function getParents(_0x6125e){const _0xcccc3d=_0x2574,_0x52af41=[];let _0xddaffa=_0x6125e;for(;_0xddaffa;)_0xddaffa=_0x5a92a6(_0xddaffa),_0xddaffa&&_0x52af41[_0xcccc3d(0x1e6)](_0xddaffa);return _0x52af41;}export function normalizeHTML(_0x152414){const _0x50ff99=_0x2574;return _0x152414[_0x50ff99(0x1f2)](/^\s+/gm,'')[_0x50ff99(0x1f2)](/\s+$/gm,'')[_0x50ff99(0x1f2)](/\n*/g,'')[_0x50ff99(0x1f2)](/\s+/g,'\x20')[_0x50ff99(0x1f2)](/>\s*</g,'><');}export function areNodesSame(_0x3ce5d5,_0x151c74){return normalizeHTML(serialize(_0x3ce5d5))===normalizeHTML(serialize(_0x151c74));}export function getNodeNestingLevel(_0xafbfcc){const _0x333e01=_0x2574;let _0x4d5cf8=0x0;for(;_0xafbfcc[_0x333e01(0x1eb)];)_0xafbfcc=_0xafbfcc[_0x333e01(0x1eb)],_0x4d5cf8++;return _0x4d5cf8;}export function removeElementsAfter(_0x9a4a22){const _0x2e7ac9=_0x2574,_0x5ef0fd=[];let _0x42ee1d=_0x9a4a22[_0x2e7ac9(0x1f0)];for(;_0x42ee1d;)_0x5ef0fd[_0x2e7ac9(0x1e6)](_0x42ee1d),_0x42ee1d=_0x42ee1d[_0x2e7ac9(0x1f0)];_0x5ef0fd[_0x2e7ac9(0x1f1)](_0x377605=>{_0x4ead3a(_0x377605);});}export function getNodePath(_0x1bf99b){const _0x2d27f3=_0x2574;return[_0x1bf99b,...getParents(_0x1bf99b)][_0x2d27f3(0x1ef)](0x0,-0x1)[_0x2d27f3(0x1f3)](_0x49214b=>{const _0x56da95=_0x2d27f3,_0x118b04=_0x5a92a6(_0x49214b);return _0x1d74c0(_0x118b04)[_0x56da95(0x1e4)](_0x49214b);})[_0x2d27f3(0x1e8)]();}
23
+ (function(_0x13d9c6,_0x28aee6){const _0x112a3e=_0xd6dc,_0x1e0f12=_0x13d9c6();while(!![]){try{const _0x366a44=parseInt(_0x112a3e(0xea))/0x1*(-parseInt(_0x112a3e(0xe1))/0x2)+parseInt(_0x112a3e(0xdc))/0x3*(parseInt(_0x112a3e(0xe7))/0x4)+-parseInt(_0x112a3e(0xdb))/0x5*(parseInt(_0x112a3e(0xd6))/0x6)+parseInt(_0x112a3e(0xd7))/0x7*(parseInt(_0x112a3e(0xde))/0x8)+-parseInt(_0x112a3e(0xe3))/0x9+-parseInt(_0x112a3e(0xe5))/0xa+parseInt(_0x112a3e(0xe9))/0xb;if(_0x366a44===_0x28aee6)break;else _0x1e0f12['push'](_0x1e0f12['shift']());}catch(_0x9364b4){_0x1e0f12['push'](_0x1e0f12['shift']());}}}(_0x3a86,0x9f24c));import{parseDocument as _0x156486}from'htmlparser2';function _0xd6dc(_0x4dea8a,_0x3f88c6){const _0x3a86d5=_0x3a86();return _0xd6dc=function(_0xd6dca5,_0x4a3e49){_0xd6dca5=_0xd6dca5-0xd6;let _0x5c4650=_0x3a86d5[_0xd6dca5];return _0x5c4650;},_0xd6dc(_0x4dea8a,_0x3f88c6);}import{append as _0x29ec5c,appendChild as _0x12f021,find as _0xebcbc1,findAll as _0x18560a,findOne as _0x42b4a3,getChildren as _0x9b1cea,isComment as _0x798bf8,isTag as _0x466f3c,prepend as _0x5947e3,prependChild as _0x525050,removeElement as _0x3ab336,replaceElement as _0xb973d1,textContent as _0x169efb,getParent as _0x3aaab9,hasChildren as _0x4ded4f}from'domutils';import _0x442d5d from'dom-serializer';import{cloneNode as _0x48a82f,isDocument as _0x11d87d,isText as _0x199602,Element as _0x3941da,Text as _0x35e64a,Document as _0x316410,NodeWithChildren as _0x1a80fd}from'domhandler';export{_0x48a82f as cloneNode,_0xebcbc1 as find,_0x42b4a3 as findOne,_0x18560a as findAll,_0x9b1cea as getChildren,_0x3aaab9 as getParent,_0x798bf8 as isComment,_0x11d87d as isDocument,_0x466f3c as isTag,_0x199602 as isText,_0x29ec5c as append,_0x12f021 as appendChild,_0x5947e3 as prepend,_0x525050 as prependChild,_0x442d5d as render,_0x3ab336 as removeElement,_0xb973d1 as replaceElement,_0x169efb as textContent,_0x4ded4f as hasChildren,_0x3941da as Element,_0x316410 as Document,_0x1a80fd as NodeWithChildren,_0x35e64a as Text};export function parse(_0x2aeaa9){return _0x156486(_0x2aeaa9);}export function serialize(_0x83bcc0){return _0x442d5d(_0x83bcc0);}export function findByAttribute(_0x20a3a8,_0x2beee8,_0x335cdb){const _0x3b734f=_0xd6dc,_0x1b9fe8=null!==_0x2beee8?_0xced694=>_0xced694[_0x3b734f(0xda)][_0x20a3a8]===_0x2beee8:_0x1ac8e3=>Boolean(_0x1ac8e3[_0x3b734f(0xda)][_0x20a3a8]);return _0x42b4a3(_0x1b9a6e=>_0x466f3c(_0x1b9a6e)&&_0x1b9fe8(_0x1b9a6e),_0x335cdb);}export function findAllByAttribute(_0x99273c,_0x4bbfae,_0x573c84){const _0x1e460b=_0xd6dc,_0x30f9de=null!==_0x4bbfae?_0x5e825e=>_0x5e825e[_0x1e460b(0xda)][_0x99273c]===_0x4bbfae:_0x79185c=>Boolean(_0x79185c[_0x1e460b(0xda)][_0x99273c]);return _0x18560a(_0x356aa3=>_0x466f3c(_0x356aa3)&&_0x30f9de(_0x356aa3),_0x573c84);}export function findAllComments(_0x5a24d2){return _0xebcbc1(_0x560465=>_0x798bf8(_0x560465),_0x5a24d2,!0x0,0x1/0x0);}export function getAttribute(_0x5c607d,_0x3a555b){const _0x234458=_0xd6dc;return _0x5c607d&&_0x466f3c(_0x5c607d)?_0x5c607d[_0x234458(0xda)][_0x3a555b]:null;}export function setAttribute(_0x351524,_0x4a332c,_0x566023){const _0x44ff71=_0xd6dc;_0x466f3c(_0x351524)&&(null===_0x566023?delete _0x351524[_0x44ff71(0xda)][_0x4a332c]:_0x351524[_0x44ff71(0xda)][_0x4a332c]=_0x566023);}export function insertElement(_0x25ad11,_0xf2732,_0x37a8a7){const _0x328c6a=_0xd6dc,_0x335b70=_0xf2732[_0x328c6a(0xeb)](!0x0);_0x328c6a(0xe2)===_0x37a8a7?_0x5947e3(_0x25ad11,_0x335b70):_0x328c6a(0xe6)===_0x37a8a7?_0x525050(_0x25ad11,_0x335b70):_0x328c6a(0xee)===_0x37a8a7?_0x12f021(_0x25ad11,_0x335b70):_0x328c6a(0xef)===_0x37a8a7&&_0x29ec5c(_0x25ad11,_0x335b70);}export function moveElement(_0x2d0b74,_0x285344){_0x3ab336(_0x2d0b74),_0xb973d1(_0x285344,_0x2d0b74);}export function clone(_0x59ad58){const _0x55b480=_0xd6dc;return _0x59ad58[_0x55b480(0xeb)](!0x0);}export function getParents(_0x46f448){const _0xd18a63=_0xd6dc,_0x1a43c7=[];let _0x106d3a=_0x46f448;for(;_0x106d3a;)_0x106d3a=_0x3aaab9(_0x106d3a),_0x106d3a&&_0x1a43c7[_0xd18a63(0xd9)](_0x106d3a);return _0x1a43c7;}export function normalizeHTML(_0x35337b){const _0x2cb670=_0xd6dc;return _0x35337b[_0x2cb670(0xe4)](/^\s+/gm,'')[_0x2cb670(0xe4)](/\s+$/gm,'')[_0x2cb670(0xe4)](/\n*/g,'')[_0x2cb670(0xe4)](/\s+/g,'\x20')[_0x2cb670(0xe4)](/>\s*</g,'><');}export function areNodesSame(_0x507f58,_0x595499){return normalizeHTML(serialize(_0x507f58))===normalizeHTML(serialize(_0x595499));}function _0x3a86(){const _0x247a53=['105UqADsR','nextSibling','push','attribs','3865325eJxYVL','78NgRvNQ','parentNode','621032VqvjFH','forEach','reverse','605482XRbrjz','beforebegin','10643751GaOaKT','replace','3337230cwqRYW','afterbegin','133928vdkAnS','indexOf','23290036UMCuwB','4GhxqGw','cloneNode','map','slice','beforeend','afterend','6eqZNBr'];_0x3a86=function(){return _0x247a53;};return _0x3a86();}export function getNodeNestingLevel(_0x23317e){const _0x280887=_0xd6dc;let _0xde6d73=0x0;for(;_0x23317e[_0x280887(0xdd)];)_0x23317e=_0x23317e[_0x280887(0xdd)],_0xde6d73++;return _0xde6d73;}export function removeElementsAfter(_0x3174f6){const _0x303f9c=_0xd6dc,_0x309cff=[];let _0xaa9575=_0x3174f6[_0x303f9c(0xd8)];for(;_0xaa9575;)_0x309cff[_0x303f9c(0xd9)](_0xaa9575),_0xaa9575=_0xaa9575[_0x303f9c(0xd8)];_0x309cff[_0x303f9c(0xdf)](_0x42974b=>{_0x3ab336(_0x42974b);});}export function getNodePath(_0x55192e){const _0x41b607=_0xd6dc;return[_0x55192e,...getParents(_0x55192e)][_0x41b607(0xed)](0x0,-0x1)[_0x41b607(0xec)](_0x3a0032=>{const _0xbde026=_0x41b607,_0x4b3c68=_0x3aaab9(_0x3a0032);return _0x9b1cea(_0x4b3c68)[_0xbde026(0xe8)](_0x3a0032);})[_0x41b607(0xe0)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46e0b8=_0x1145;function _0x26ca(){const _0x5e0bbd=['childNodes','span','stop','strong','onStreamUpdate','tagName','querySelectorAll','906724gLEumU','getParsedDocumentNodeList','reverse','textNodeStyle','254176JOgbaW','push','26352KcRNhn','renderNode','match','attribs','signal','1121859iyoyNP','length','2023124muWKdK','nodesList','timeoutAbortController','options','addEventListener','isWordSplitSource','136YnZVmK','from','replaceWith','ins','currentIndex','mark','stream','splitTextNodeIntoWordNodes','parent','forEach','shouldBeStreamed','isWordSplitResult','5507200NcoXMz','document','bind','delay','16ZhUSvR','cleanUpAnimations','lastUpdateTime','reset','div','now','entries','join','children','code','span[data-ck-html-streamer-word-chunk]','sup','map','isStreaming','del','7253964AQeGhI','abort','sub','includes'];_0x26ca=function(){return _0x5e0bbd;};return _0x26ca();}(function(_0x3db987,_0x2083cf){const _0x1f3c2b=_0x1145,_0x2d6844=_0x3db987();while(!![]){try{const _0x2849eb=parseInt(_0x1f3c2b(0x1e4))/0x1+-parseInt(_0x1f3c2b(0x1f3))/0x2*(-parseInt(_0x1f3c2b(0x1e6))/0x3)+-parseInt(_0x1f3c2b(0x1ed))/0x4+parseInt(_0x1f3c2b(0x1c2))/0x5+-parseInt(_0x1f3c2b(0x1d5))/0x6+parseInt(_0x1f3c2b(0x1e0))/0x7*(parseInt(_0x1f3c2b(0x1c6))/0x8)+parseInt(_0x1f3c2b(0x1eb))/0x9;if(_0x2849eb===_0x2083cf)break;else _0x2d6844['push'](_0x2d6844['shift']());}catch(_0x582d0a){_0x2d6844['push'](_0x2d6844['shift']());}}}(_0x26ca,0x97d2c));import _0x5610e0 from'morphdom';import{NodeWithChildren as _0x5d1a15,Text as _0x206769,Element as _0x1ed64b,isText as _0x269696,isDocument as _0x50e461,isTag as _0x3a8663,cloneNode as _0x390c38,getChildren as _0x4b71af,prepend as _0x541c4b,removeElement as _0x4749f8,textContent as _0x14b14d,render as _0x2fbbd1}from'./htmlparser.js';function _0x1145(_0x5bc81c,_0x18c702){const _0x26cab7=_0x26ca();return _0x1145=function(_0x1145cb,_0x3e6f06){_0x1145cb=_0x1145cb-0x1bb;let _0x4c5eac=_0x26cab7[_0x1145cb];return _0x4c5eac;},_0x1145(_0x5bc81c,_0x18c702);}export class HTMLStreamer{[_0x46e0b8(0x1f0)];[_0x46e0b8(0x1d3)]=!0x1;[_0x46e0b8(0x1c3)]=null;[_0x46e0b8(0x1ee)]=[];[_0x46e0b8(0x1f7)]=0x0;[_0x46e0b8(0x1ef)]=null;[_0x46e0b8(0x1c8)]=0x0;constructor(_0x2e229d){const _0x18cc91=_0x46e0b8;this[_0x18cc91(0x1f0)]={'delay':_0x2e229d[_0x18cc91(0x1c5)]??0x14,'textNodeStyle':_0x2e229d[_0x18cc91(0x1e3)],'onStreamUpdate':_0x2e229d[_0x18cc91(0x1dd)]||(()=>{})};}async[_0x46e0b8(0x1bc)]({document:_0x100dfe,targetElement:_0x2dde1b,abortSignal:_0x36427b}){const _0x21ed71=_0x46e0b8;this[_0x21ed71(0x1d3)]&&this[_0x21ed71(0x1db)](),_0x36427b?.[_0x21ed71(0x1f1)](_0x21ed71(0x1d6),this[_0x21ed71(0x1db)][_0x21ed71(0x1c4)](this)),this[_0x21ed71(0x1c3)]=_0x390c38(_0x100dfe,!0x0),this[_0x21ed71(0x1ee)]=this[_0x21ed71(0x1e1)](),this[_0x21ed71(0x1d3)]=!0x0,this[_0x21ed71(0x1f7)]>this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]&&(this[_0x21ed71(0x1f7)]=this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]);for(let _0x528bad=0x0;_0x528bad<this[_0x21ed71(0x1f7)];_0x528bad++)this[_0x21ed71(0x1ee)][_0x528bad][_0x21ed71(0x1c0)]=!0x0;do{const _0x25bb1a=Date[_0x21ed71(0x1cb)](),_0x5604fe=this[_0x21ed71(0x1ee)][this[_0x21ed71(0x1f7)]],_0x1a9bce=_0x25bb1a-this[_0x21ed71(0x1c8)];if(_0x5604fe){_0x5604fe[_0x21ed71(0x1c0)]=!0x0;let _0x1ab77b=_0x5604fe[_0x21ed71(0x1be)];for(;_0x1ab77b;)_0x1ab77b[_0x21ed71(0x1c0)]=!0x0,_0x1ab77b=_0x1ab77b[_0x21ed71(0x1be)];}if(_0x1a9bce<this[_0x21ed71(0x1f0)][_0x21ed71(0x1c5)])try{const {promise:_0xd61014,abortController:_0x3a84b5}=Us(this[_0x21ed71(0x1f0)][_0x21ed71(0x1c5)]-_0x1a9bce);this[_0x21ed71(0x1ef)]=_0x3a84b5,await _0xd61014;}catch(_0x322afe){return;}_0x5610e0(_0x2dde1b,'<'+_0x2dde1b[_0x21ed71(0x1de)]+'>'+this[_0x21ed71(0x1e7)](this[_0x21ed71(0x1c3)])+'</'+_0x2dde1b[_0x21ed71(0x1de)]+'>',{'childrenOnly':!0x0}),this[_0x21ed71(0x1f0)][_0x21ed71(0x1dd)]&&this[_0x21ed71(0x1f0)][_0x21ed71(0x1dd)](),this[_0x21ed71(0x1f7)]++,this[_0x21ed71(0x1c8)]=Date[_0x21ed71(0x1cb)]();}while(this[_0x21ed71(0x1f7)]<this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]);this[_0x21ed71(0x1f7)]=this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)],this[_0x21ed71(0x1d3)]=!0x1;}[_0x46e0b8(0x1c9)](){const _0x43ad23=_0x46e0b8;this[_0x43ad23(0x1d3)]=!0x1,this[_0x43ad23(0x1c3)]=null,this[_0x43ad23(0x1ee)]=[],this[_0x43ad23(0x1f7)]=0x0,this[_0x43ad23(0x1ef)]=null;}[_0x46e0b8(0x1c7)]({targetElement:_0x3e199c}){const _0x22c77a=_0x46e0b8;Array[_0x22c77a(0x1f4)](_0x3e199c[_0x22c77a(0x1df)](_0x22c77a(0x1d0)))[_0x22c77a(0x1e2)]()[_0x22c77a(0x1bf)](_0x52b422=>{const _0x44d1d9=_0x22c77a;_0x52b422[_0x44d1d9(0x1f5)](_0x52b422[_0x44d1d9(0x1d9)][0x0]);});}[_0x46e0b8(0x1db)](){const _0x199a37=_0x46e0b8;this[_0x199a37(0x1d3)]=!0x1,this[_0x199a37(0x1ef)]&&(this[_0x199a37(0x1ef)][_0x199a37(0x1d6)](),this[_0x199a37(0x1ef)]=null);}[_0x46e0b8(0x1e7)](_0x530f9c){const _0x880373=_0x46e0b8;let _0x51b245='';if(function(_0x51853e){return _0x50e461(_0x51853e);}(_0x530f9c)){for(const _0x179c65 of _0x530f9c[_0x880373(0x1ce)])_0x51b245+=this[_0x880373(0x1e7)](_0x179c65);}else{if(Ls(_0x530f9c)){if(!_0x530f9c[_0x880373(0x1c0)])return'';const _0x2eba5e=_0x530f9c,_0x4802ff=Object[_0x880373(0x1cc)](_0x2eba5e[_0x880373(0x1e9)])[_0x880373(0x1d2)](([_0x122173,_0x417085])=>_0x122173+'=\x22'+_0x417085+'\x22')[_0x880373(0x1cd)]('\x20');_0x51b245+='<'+_0x2eba5e[_0x880373(0x1de)]+(_0x4802ff?'\x20'+_0x4802ff:'')+'>';for(const _0x3f021f of _0x4b71af(_0x2eba5e))_0x51b245+=this[_0x880373(0x1e7)](_0x3f021f);_0x51b245+='</'+_0x2eba5e[_0x880373(0x1de)]+'>';}else{if(!Ts(_0x530f9c))return'';if(!_0x530f9c[_0x880373(0x1c0)])return'';!function(_0x1079a6){const _0x1a8f4b=_0x880373;if(!_0x1079a6[_0x1a8f4b(0x1be)]||!Ls(_0x1079a6[_0x1a8f4b(0x1be)]))return!0x1;if(!ys[_0x1a8f4b(0x1d8)](_0x1079a6[_0x1a8f4b(0x1be)][_0x1a8f4b(0x1de)]))return!0x1;return!_0x14b14d(_0x1079a6)[_0x1a8f4b(0x1e8)](/^\s*[<>]\s*$/);}(_0x530f9c)?_0x51b245+=_0x2fbbd1(_0x530f9c):_0x51b245+=_0x2fbbd1(new _0x1ed64b(_0x880373(0x1da),{'data-ck-html-streamer-word-chunk':'','style':this[_0x880373(0x1f0)][_0x880373(0x1e3)]},[_0x530f9c]));}}return _0x51b245;}[_0x46e0b8(0x1e1)](){const _0x5632cc=_0x46e0b8,_0x1360fc=[];return function(_0x57ef19,_0x396c6b){const _0x108825=_0x1145,_0x3470f8=_0x308686=>{const _0x47f57c=_0x1145;if(_0x396c6b(_0x308686),_0x308686 instanceof _0x5d1a15)for(let _0x4bf7b0=0x0;_0x4bf7b0<_0x308686[_0x47f57c(0x1ce)][_0x47f57c(0x1ec)];_0x4bf7b0++){const _0x3a738e=_0x308686[_0x47f57c(0x1ce)][_0x4bf7b0];_0x3470f8(_0x3a738e);}};for(let _0x57e3a7=0x0;_0x57e3a7<_0x57ef19[_0x108825(0x1ce)][_0x108825(0x1ec)];_0x57e3a7++)_0x3470f8(_0x57ef19[_0x108825(0x1ce)][_0x57e3a7]);}(this[_0x5632cc(0x1c3)],_0x424ce7=>{const _0xd09d1f=_0x5632cc;if(Ts(_0x424ce7)){const _0x4be02a=this[_0xd09d1f(0x1bd)](_0x424ce7);_0x4be02a[_0xd09d1f(0x1ec)]&&_0x1360fc[_0xd09d1f(0x1e5)](..._0x4be02a);}_0x424ce7[_0xd09d1f(0x1f2)]||_0x424ce7[_0xd09d1f(0x1c1)]||_0x1360fc[_0xd09d1f(0x1e5)](_0x424ce7);}),_0x1360fc;}[_0x46e0b8(0x1bd)](_0x284725){const _0x140367=_0x46e0b8;if(_0x284725[_0x140367(0x1f2)]||_0x284725[_0x140367(0x1c1)])return[];const _0x27fd9b=_0x14b14d(_0x284725)[_0x140367(0x1e8)](/(?:\s*\S+\s*)/g),_0x300af5=[];if(_0x27fd9b&&_0x27fd9b[_0x140367(0x1ec)]>0x1){for(const _0x35f1f9 of _0x27fd9b){const _0x357f03=new _0x206769(_0x35f1f9);_0x357f03[_0x140367(0x1c1)]=!0x0,_0x541c4b(_0x284725,_0x357f03),_0x300af5[_0x140367(0x1e5)](_0x357f03);}_0x284725[_0x140367(0x1f2)]=!0x0,_0x4749f8(_0x284725);}return _0x300af5;}}const ys=['p','li','td','th',_0x46e0b8(0x1da),'h1','h2','h3','h4','h5','h6','b',_0x46e0b8(0x1dc),'i','em',_0x46e0b8(0x1bb),_0x46e0b8(0x1d4),_0x46e0b8(0x1f6),_0x46e0b8(0x1d1),_0x46e0b8(0x1d7),'a',_0x46e0b8(0x1cf),_0x46e0b8(0x1ca)];function Ts(_0x3bb555){return _0x269696(_0x3bb555);}function Ls(_0x8b6a33){return _0x3a8663(_0x8b6a33);}function Us(_0x2dc59c){const _0x374fd3=new AbortController();return{'promise':new Promise((_0x4f7959,_0x4a25b4)=>{const _0x4ea471=_0x1145,_0x967ffb=setTimeout(_0x4f7959,_0x2dc59c);_0x374fd3[_0x4ea471(0x1ea)][_0x4ea471(0x1f1)](_0x4ea471(0x1d6),()=>{clearTimeout(_0x967ffb),_0x4a25b4();});}),'abortController':_0x374fd3};}
23
+ const _0x19ea35=_0x2c6c;(function(_0x1462c2,_0x235c1f){const _0x3788d9=_0x2c6c,_0x4aa6fb=_0x1462c2();while(!![]){try{const _0x321a09=parseInt(_0x3788d9(0x98))/0x1*(parseInt(_0x3788d9(0xa9))/0x2)+-parseInt(_0x3788d9(0x9b))/0x3*(parseInt(_0x3788d9(0xa1))/0x4)+parseInt(_0x3788d9(0x95))/0x5+-parseInt(_0x3788d9(0x94))/0x6*(-parseInt(_0x3788d9(0x8c))/0x7)+parseInt(_0x3788d9(0x87))/0x8+-parseInt(_0x3788d9(0xb5))/0x9*(-parseInt(_0x3788d9(0x81))/0xa)+-parseInt(_0x3788d9(0xa8))/0xb*(parseInt(_0x3788d9(0xbc))/0xc);if(_0x321a09===_0x235c1f)break;else _0x4aa6fb['push'](_0x4aa6fb['shift']());}catch(_0x5dbda9){_0x4aa6fb['push'](_0x4aa6fb['shift']());}}}(_0x15cc,0x39562));import _0x5be22c from'morphdom';import{NodeWithChildren as _0x52b22f,Text as _0x5a7453,Element as _0x4cb8b0,isText as _0x4ab041,isDocument as _0x5559c3,isTag as _0x165683,cloneNode as _0x146976,getChildren as _0x3ce37d,prepend as _0x18b40d,removeElement as _0x292e90,textContent as _0x2ea93d,render as _0x534aeb}from'./htmlparser.js';export class HTMLStreamer{[_0x19ea35(0xc0)];[_0x19ea35(0x93)]=!0x1;[_0x19ea35(0x83)]=null;[_0x19ea35(0xb2)]=[];[_0x19ea35(0x89)]=0x0;[_0x19ea35(0x8e)]=null;[_0x19ea35(0x8b)]=0x0;constructor(_0x22b95e){const _0x153211=_0x19ea35;this[_0x153211(0xc0)]={'delay':_0x22b95e[_0x153211(0xba)]??0x14,'textNodeStyle':_0x22b95e[_0x153211(0xb4)],'onStreamUpdate':_0x22b95e[_0x153211(0x85)]||(()=>{})};}async[_0x19ea35(0xa3)]({document:_0x4f160e,targetElement:_0x5c6379,abortSignal:_0xc7ddcb}){const _0x5a4db2=_0x19ea35;this[_0x5a4db2(0x93)]&&this[_0x5a4db2(0xb8)](),_0xc7ddcb?.[_0x5a4db2(0xbb)](_0x5a4db2(0x86),this[_0x5a4db2(0xb8)][_0x5a4db2(0x84)](this)),this[_0x5a4db2(0x83)]=_0x146976(_0x4f160e,!0x0),this[_0x5a4db2(0xb2)]=this[_0x5a4db2(0xac)](),this[_0x5a4db2(0x93)]=!0x0,this[_0x5a4db2(0x89)]>this[_0x5a4db2(0xb2)][_0x5a4db2(0x82)]&&(this[_0x5a4db2(0x89)]=this[_0x5a4db2(0xb2)][_0x5a4db2(0x82)]);for(let _0x3e1a9e=0x0;_0x3e1a9e<this[_0x5a4db2(0x89)];_0x3e1a9e++)this[_0x5a4db2(0xb2)][_0x3e1a9e][_0x5a4db2(0xa5)]=!0x0;do{const _0x565082=Date[_0x5a4db2(0xb0)](),_0x5048b7=this[_0x5a4db2(0xb2)][this[_0x5a4db2(0x89)]],_0x4dc56d=_0x565082-this[_0x5a4db2(0x8b)];if(_0x5048b7){_0x5048b7[_0x5a4db2(0xa5)]=!0x0;let _0x2f7c26=_0x5048b7[_0x5a4db2(0x97)];for(;_0x2f7c26;)_0x2f7c26[_0x5a4db2(0xa5)]=!0x0,_0x2f7c26=_0x2f7c26[_0x5a4db2(0x97)];}if(_0x4dc56d<this[_0x5a4db2(0xc0)][_0x5a4db2(0xba)])try{const {promise:_0x35d65d,abortController:_0x2687d4}=Cs(this[_0x5a4db2(0xc0)][_0x5a4db2(0xba)]-_0x4dc56d);this[_0x5a4db2(0x8e)]=_0x2687d4,await _0x35d65d;}catch(_0x5d401b){return;}_0x5be22c(_0x5c6379,'<'+_0x5c6379[_0x5a4db2(0x8d)]+'>'+this[_0x5a4db2(0x9c)](this[_0x5a4db2(0x83)])+'</'+_0x5c6379[_0x5a4db2(0x8d)]+'>',{'childrenOnly':!0x0}),this[_0x5a4db2(0xc0)][_0x5a4db2(0x85)]&&this[_0x5a4db2(0xc0)][_0x5a4db2(0x85)](),this[_0x5a4db2(0x89)]++,this[_0x5a4db2(0x8b)]=Date[_0x5a4db2(0xb0)]();}while(this[_0x5a4db2(0x89)]<this[_0x5a4db2(0xb2)][_0x5a4db2(0x82)]);this[_0x5a4db2(0x89)]=this[_0x5a4db2(0xb2)][_0x5a4db2(0x82)],this[_0x5a4db2(0x93)]=!0x1;}[_0x19ea35(0xae)](){const _0x22bd89=_0x19ea35;this[_0x22bd89(0x93)]=!0x1,this[_0x22bd89(0x83)]=null,this[_0x22bd89(0xb2)]=[],this[_0x22bd89(0x89)]=0x0,this[_0x22bd89(0x8e)]=null;}[_0x19ea35(0xb1)]({targetElement:_0xe16c7}){const _0x2edaa4=_0x19ea35;Array[_0x2edaa4(0x9e)](_0xe16c7[_0x2edaa4(0xab)](_0x2edaa4(0xa6)))[_0x2edaa4(0x91)]()[_0x2edaa4(0xbf)](_0x47d1ec=>{const _0x5b12eb=_0x2edaa4;_0x47d1ec[_0x5b12eb(0x9a)](_0x47d1ec[_0x5b12eb(0xa7)][0x0]);});}[_0x19ea35(0xb8)](){const _0x2496f9=_0x19ea35;this[_0x2496f9(0x93)]=!0x1,this[_0x2496f9(0x8e)]&&(this[_0x2496f9(0x8e)][_0x2496f9(0x86)](),this[_0x2496f9(0x8e)]=null);}[_0x19ea35(0x9c)](_0x4f57f3){const _0x4c8c47=_0x19ea35;let _0x75e025='';if(function(_0x4e2cf5){return _0x5559c3(_0x4e2cf5);}(_0x4f57f3)){for(const _0x408dc6 of _0x4f57f3[_0x4c8c47(0xb9)])_0x75e025+=this[_0x4c8c47(0x9c)](_0x408dc6);}else{if(Ts(_0x4f57f3)){if(!_0x4f57f3[_0x4c8c47(0xa5)])return'';const _0x576fa0=_0x4f57f3,_0x11638f=Object[_0x4c8c47(0x96)](_0x576fa0[_0x4c8c47(0xbe)])[_0x4c8c47(0xb6)](([_0x5c6571,_0x51ac44])=>_0x5c6571+'=\x22'+_0x51ac44+'\x22')[_0x4c8c47(0x8f)]('\x20');_0x75e025+='<'+_0x576fa0[_0x4c8c47(0x8d)]+(_0x11638f?'\x20'+_0x11638f:'')+'>';for(const _0x1aa523 of _0x3ce37d(_0x576fa0))_0x75e025+=this[_0x4c8c47(0x9c)](_0x1aa523);_0x75e025+='</'+_0x576fa0[_0x4c8c47(0x8d)]+'>';}else{if(!Ss(_0x4f57f3))return'';if(!_0x4f57f3[_0x4c8c47(0xa5)])return'';!function(_0x5c718a){const _0x4554af=_0x4c8c47;if(!_0x5c718a[_0x4554af(0x97)]||!Ts(_0x5c718a[_0x4554af(0x97)]))return!0x1;if(!ys[_0x4554af(0xa2)](_0x5c718a[_0x4554af(0x97)][_0x4554af(0x8d)]))return!0x1;return!_0x2ea93d(_0x5c718a)[_0x4554af(0x88)](/^\s*[<>]\s*$/);}(_0x4f57f3)?_0x75e025+=_0x534aeb(_0x4f57f3):_0x75e025+=_0x534aeb(new _0x4cb8b0(_0x4c8c47(0xb3),{'data-ck-html-streamer-word-chunk':'','style':this[_0x4c8c47(0xc0)][_0x4c8c47(0xb4)]},[_0x4f57f3]));}}return _0x75e025;}[_0x19ea35(0xac)](){const _0x207098=_0x19ea35,_0x2d1277=[];return function(_0x45b1dd,_0xf36c61){const _0x6c2a95=_0x2c6c,_0x1d025d=_0x42e00b=>{const _0x57f262=_0x2c6c;if(_0xf36c61(_0x42e00b),_0x42e00b instanceof _0x52b22f)for(let _0x20769c=0x0;_0x20769c<_0x42e00b[_0x57f262(0xb9)][_0x57f262(0x82)];_0x20769c++){const _0x86bf61=_0x42e00b[_0x57f262(0xb9)][_0x20769c];_0x1d025d(_0x86bf61);}};for(let _0x37d860=0x0;_0x37d860<_0x45b1dd[_0x6c2a95(0xb9)][_0x6c2a95(0x82)];_0x37d860++)_0x1d025d(_0x45b1dd[_0x6c2a95(0xb9)][_0x37d860]);}(this[_0x207098(0x83)],_0x203ef9=>{const _0x3cf59a=_0x207098;if(Ss(_0x203ef9)){const _0x30fd26=this[_0x3cf59a(0x9d)](_0x203ef9);_0x30fd26[_0x3cf59a(0x82)]&&_0x2d1277[_0x3cf59a(0xb7)](..._0x30fd26);}_0x203ef9[_0x3cf59a(0xaf)]||_0x203ef9[_0x3cf59a(0x8a)]||_0x2d1277[_0x3cf59a(0xb7)](_0x203ef9);}),_0x2d1277;}[_0x19ea35(0x9d)](_0xd12795){const _0x4cec4d=_0x19ea35;if(_0xd12795[_0x4cec4d(0xaf)]||_0xd12795[_0x4cec4d(0x8a)])return[];const _0x5a9b99=_0x2ea93d(_0xd12795)[_0x4cec4d(0x88)](/(?:\s*\S+\s*)/g),_0x3f438a=[];if(_0x5a9b99&&_0x5a9b99[_0x4cec4d(0x82)]>0x1){for(const _0xe9edaa of _0x5a9b99){const _0x2ec760=new _0x5a7453(_0xe9edaa);_0x2ec760[_0x4cec4d(0x8a)]=!0x0,_0x18b40d(_0xd12795,_0x2ec760),_0x3f438a[_0x4cec4d(0xb7)](_0x2ec760);}_0xd12795[_0x4cec4d(0xaf)]=!0x0,_0x292e90(_0xd12795);}return _0x3f438a;}}const ys=['p','li','td','th',_0x19ea35(0xb3),'h1','h2','h3','h4','h5','h6','b',_0x19ea35(0x9f),'i','em',_0x19ea35(0xbd),_0x19ea35(0xaa),_0x19ea35(0xad),_0x19ea35(0xa0),_0x19ea35(0x99),'a',_0x19ea35(0xa4),_0x19ea35(0x92)];function _0x2c6c(_0x58f139,_0x43ce58){const _0x15cca1=_0x15cc();return _0x2c6c=function(_0x2c6c69,_0x51a617){_0x2c6c69=_0x2c6c69-0x81;let _0x428593=_0x15cca1[_0x2c6c69];return _0x428593;},_0x2c6c(_0x58f139,_0x43ce58);}function Ss(_0x186297){return _0x4ab041(_0x186297);}function Ts(_0x7e627b){return _0x165683(_0x7e627b);}function Cs(_0x35a7fb){const _0x171b00=new AbortController();return{'promise':new Promise((_0x206ab4,_0x1de6e7)=>{const _0x3fbb5b=_0x2c6c,_0x27ff04=setTimeout(_0x206ab4,_0x35a7fb);_0x171b00[_0x3fbb5b(0x90)][_0x3fbb5b(0xbb)](_0x3fbb5b(0x86),()=>{clearTimeout(_0x27ff04),_0x1de6e7();});}),'abortController':_0x171b00};}function _0x15cc(){const _0x3f305f=['reverse','div','isStreaming','298458tpzOEv','2268250yagUwC','entries','parent','12szqDcO','sub','replaceWith','3zpTcHG','renderNode','splitTextNodeIntoWordNodes','from','strong','sup','1865980AGtVzz','includes','stream','code','shouldBeStreamed','span[data-ck-html-streamer-word-chunk]','childNodes','362021kopwHA','10522owijqh','del','querySelectorAll','getParsedDocumentNodeList','ins','reset','isWordSplitSource','now','cleanUpAnimations','nodesList','span','textNodeStyle','1590003yMWfiN','map','push','stop','children','delay','addEventListener','132CQYHIu','mark','attribs','forEach','options','10XpLNDr','length','document','bind','onStreamUpdate','abort','1765504lQWqVF','match','currentIndex','isWordSplitResult','lastUpdateTime','21xxtJMx','tagName','timeoutAbortController','join','signal'];_0x15cc=function(){return _0x3f305f;};return _0x15cc();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c11(){const _0x27ffef=['4018428mUZkqK','auto','8PHcNLb','7651953vQhWVH','615FnXSDM','abort','9088653ClQkZw','addEventListener','PageDown','element','scrollTo','start','isRunning','7134JKbnQp','_isAtBottom','10PUHNcl','_rafUpdate','key','pointerdown','type','900427bEjEaE','includes','Home','signal','touchstart','stop','ArrowUp','End','2421159VHPzNH','bind','810437JVcbAp','isUserPaused','scrollHeight','PageUp','keydown','ArrowDown','abortController','deltaY','4sCtCmD','destroy','_stop','animationFrameId','wheel','_onUserEvent'];_0x5c11=function(){return _0x27ffef;};return _0x5c11();}const _0x56e8cf=_0x32bf;(function(_0xe60c24,_0x37dbbd){const _0x152355=_0x32bf,_0x592b8c=_0xe60c24();while(!![]){try{const _0x240fcd=-parseInt(_0x152355(0x96))/0x1+parseInt(_0x152355(0x9e))/0x2*(-parseInt(_0x152355(0x94))/0x3)+parseInt(_0x152355(0x78))/0x4+parseInt(_0x152355(0x7c))/0x5*(parseInt(_0x152355(0x85))/0x6)+-parseInt(_0x152355(0x7e))/0x7*(-parseInt(_0x152355(0x7a))/0x8)+parseInt(_0x152355(0x7b))/0x9*(parseInt(_0x152355(0x87))/0xa)+parseInt(_0x152355(0x8c))/0xb;if(_0x240fcd===_0x37dbbd)break;else _0x592b8c['push'](_0x592b8c['shift']());}catch(_0x4aa6d1){_0x592b8c['push'](_0x592b8c['shift']());}}}(_0x5c11,0xe995c));function _0x32bf(_0x519286,_0xb15b33){const _0x5c11bf=_0x5c11();return _0x32bf=function(_0x32bf98,_0x11ec7c){_0x32bf98=_0x32bf98-0x74;let _0x5ae94d=_0x5c11bf[_0x32bf98];return _0x5ae94d;},_0x32bf(_0x519286,_0xb15b33);}const Fs=[_0x56e8cf(0x76),_0x56e8cf(0x90),_0x56e8cf(0x8a),_0x56e8cf(0x9a)],qs=[_0x56e8cf(0x92),_0x56e8cf(0x9b),_0x56e8cf(0x99),_0x56e8cf(0x80),_0x56e8cf(0x8e),_0x56e8cf(0x93),'\x20'];export class ScrollManager{[_0x56e8cf(0x81)];[_0x56e8cf(0x75)];[_0x56e8cf(0x84)];[_0x56e8cf(0x9c)];[_0x56e8cf(0x97)];constructor(_0x3ad602){const _0x6652ad=_0x56e8cf;this[_0x6652ad(0x81)]=_0x3ad602,this[_0x6652ad(0x75)]=null,this[_0x6652ad(0x84)]=!0x1,this[_0x6652ad(0x9c)]=new AbortController(),this[_0x6652ad(0x97)]=!0x1;for(const _0x21c3c7 of Fs){const _0x429c8f=_0x6652ad(0x9a)!==_0x21c3c7;this[_0x6652ad(0x81)][_0x6652ad(0x7f)](_0x21c3c7,this[_0x6652ad(0x77)][_0x6652ad(0x95)](this),{'passive':_0x429c8f,'signal':this[_0x6652ad(0x9c)][_0x6652ad(0x8f)]});}}[_0x56e8cf(0x83)](){const _0x245aec=_0x56e8cf;this[_0x245aec(0x84)]||(this[_0x245aec(0x84)]=!0x0,this[_0x245aec(0x97)]=!0x1,this[_0x245aec(0x75)]=requestAnimationFrame(this[_0x245aec(0x88)][_0x245aec(0x95)](this)));}[_0x56e8cf(0x91)](){requestAnimationFrame(()=>{const _0x1f686e=_0x32bf;this[_0x1f686e(0x74)]();});}[_0x56e8cf(0x9f)](){const _0x13a319=_0x56e8cf;this[_0x13a319(0x74)](),this[_0x13a319(0x9c)][_0x13a319(0x7d)]();}[_0x56e8cf(0x74)](){const _0x99e275=_0x56e8cf;null!==this[_0x99e275(0x75)]&&(cancelAnimationFrame(this[_0x99e275(0x75)]),this[_0x99e275(0x75)]=null),this[_0x99e275(0x84)]&&(this[_0x99e275(0x84)]=!0x1),this[_0x99e275(0x97)]=!0x1;}[_0x56e8cf(0x77)](_0x151960){const _0x1ef4ec=_0x56e8cf;if(this[_0x1ef4ec(0x84)]){if(_0x1ef4ec(0x9a)===_0x151960[_0x1ef4ec(0x8b)]){const _0x425aa0=_0x151960[_0x1ef4ec(0x89)];if(!qs[_0x1ef4ec(0x8d)](_0x425aa0))return;}_0x151960 instanceof WheelEvent?_0x151960[_0x1ef4ec(0x9d)]<0x0?this[_0x1ef4ec(0x97)]=!0x0:this[_0x1ef4ec(0x97)]=!this[_0x1ef4ec(0x86)]():this[_0x1ef4ec(0x97)]=!0x0;}}[_0x56e8cf(0x86)](){const _0x25d88d=_0x56e8cf,{scrollTop:_0x5cfee1,scrollHeight:_0x279897,clientHeight:_0x46fa85}=this[_0x25d88d(0x81)];return _0x279897-_0x5cfee1-_0x46fa85<=0x5;}[_0x56e8cf(0x88)](){const _0x396afd=_0x56e8cf;this[_0x396afd(0x84)]&&(this[_0x396afd(0x97)]||this[_0x396afd(0x81)][_0x396afd(0x82)]({'top':this[_0x396afd(0x81)][_0x396afd(0x98)],'behavior':_0x396afd(0x79)}),this[_0x396afd(0x75)]=requestAnimationFrame(this[_0x396afd(0x88)][_0x396afd(0x95)](this)));}}
23
+ const _0x1154c0=_0x389a;function _0x40bf(){const _0x4bdce9=['PageDown','addEventListener','auto','End','_onUserEvent','keydown','74133KTlmYo','isUserPaused','Home','abort','4544406CJfyMx','921705TMqgPP','stop','destroy','1600nLUWDP','bind','_isAtBottom','ArrowDown','abortController','scrollHeight','touchstart','isRunning','includes','type','ArrowUp','7000ulwFMo','6094697NIMoDg','1032KrHbaQ','PageUp','scrollTo','wheel','_stop','deltaY','start','animationFrameId','signal','_rafUpdate','6133260CKzHGO','1980PbasPX','element','key','3882ieWqNl','pointerdown'];_0x40bf=function(){return _0x4bdce9;};return _0x40bf();}function _0x389a(_0x11cd05,_0x1d9bd3){const _0x40bfc4=_0x40bf();return _0x389a=function(_0x389a7a,_0x7b0898){_0x389a7a=_0x389a7a-0x1d2;let _0x27197e=_0x40bfc4[_0x389a7a];return _0x27197e;},_0x389a(_0x11cd05,_0x1d9bd3);}(function(_0x309236,_0x3a2181){const _0x47dd9d=_0x389a,_0xba022f=_0x309236();while(!![]){try{const _0x10393c=parseInt(_0x47dd9d(0x1f1))/0x1+-parseInt(_0x47dd9d(0x1e4))/0x2*(parseInt(_0x47dd9d(0x1e1))/0x3)+-parseInt(_0x47dd9d(0x1d4))/0x4*(-parseInt(_0x47dd9d(0x1f4))/0x5)+-parseInt(_0x47dd9d(0x1f0))/0x6+parseInt(_0x47dd9d(0x1d5))/0x7+-parseInt(_0x47dd9d(0x1d6))/0x8*(-parseInt(_0x47dd9d(0x1ec))/0x9)+-parseInt(_0x47dd9d(0x1e0))/0xa;if(_0x10393c===_0x3a2181)break;else _0xba022f['push'](_0xba022f['shift']());}catch(_0x168070){_0xba022f['push'](_0xba022f['shift']());}}}(_0x40bf,0xba51a));const Fs=[_0x1154c0(0x1d9),_0x1154c0(0x1fa),_0x1154c0(0x1e5),_0x1154c0(0x1eb)],Us=[_0x1154c0(0x1d3),_0x1154c0(0x1f7),_0x1154c0(0x1d7),_0x1154c0(0x1e6),_0x1154c0(0x1ee),_0x1154c0(0x1e9),'\x20'];export class ScrollManager{[_0x1154c0(0x1e2)];[_0x1154c0(0x1dd)];[_0x1154c0(0x1fb)];[_0x1154c0(0x1f8)];[_0x1154c0(0x1ed)];constructor(_0x75b59){const _0x338566=_0x1154c0;this[_0x338566(0x1e2)]=_0x75b59,this[_0x338566(0x1dd)]=null,this[_0x338566(0x1fb)]=!0x1,this[_0x338566(0x1f8)]=new AbortController(),this[_0x338566(0x1ed)]=!0x1;for(const _0x32630f of Fs){const _0x21d1a6=_0x338566(0x1eb)!==_0x32630f;this[_0x338566(0x1e2)][_0x338566(0x1e7)](_0x32630f,this[_0x338566(0x1ea)][_0x338566(0x1f5)](this),{'passive':_0x21d1a6,'signal':this[_0x338566(0x1f8)][_0x338566(0x1de)]});}}[_0x1154c0(0x1dc)](){const _0x3d4db7=_0x1154c0;this[_0x3d4db7(0x1fb)]||(this[_0x3d4db7(0x1fb)]=!0x0,this[_0x3d4db7(0x1ed)]=!0x1,this[_0x3d4db7(0x1dd)]=requestAnimationFrame(this[_0x3d4db7(0x1df)][_0x3d4db7(0x1f5)](this)));}[_0x1154c0(0x1f2)](){requestAnimationFrame(()=>{const _0x8d01ae=_0x389a;this[_0x8d01ae(0x1da)]();});}[_0x1154c0(0x1f3)](){const _0x18ef7f=_0x1154c0;this[_0x18ef7f(0x1da)](),this[_0x18ef7f(0x1f8)][_0x18ef7f(0x1ef)]();}[_0x1154c0(0x1da)](){const _0x3ef32a=_0x1154c0;null!==this[_0x3ef32a(0x1dd)]&&(cancelAnimationFrame(this[_0x3ef32a(0x1dd)]),this[_0x3ef32a(0x1dd)]=null),this[_0x3ef32a(0x1fb)]&&(this[_0x3ef32a(0x1fb)]=!0x1),this[_0x3ef32a(0x1ed)]=!0x1;}[_0x1154c0(0x1ea)](_0xfcac06){const _0x47b4c4=_0x1154c0;if(this[_0x47b4c4(0x1fb)]){if(_0x47b4c4(0x1eb)===_0xfcac06[_0x47b4c4(0x1d2)]){const _0x206f05=_0xfcac06[_0x47b4c4(0x1e3)];if(!Us[_0x47b4c4(0x1fc)](_0x206f05))return;}_0xfcac06 instanceof WheelEvent?_0xfcac06[_0x47b4c4(0x1db)]<0x0?this[_0x47b4c4(0x1ed)]=!0x0:this[_0x47b4c4(0x1ed)]=!this[_0x47b4c4(0x1f6)]():this[_0x47b4c4(0x1ed)]=!0x0;}}[_0x1154c0(0x1f6)](){const _0x2d7c7c=_0x1154c0,{scrollTop:_0x19def2,scrollHeight:_0x3bcd67,clientHeight:_0x877b7d}=this[_0x2d7c7c(0x1e2)];return _0x3bcd67-_0x19def2-_0x877b7d<=0x5;}[_0x1154c0(0x1df)](){const _0x7350d7=_0x1154c0;this[_0x7350d7(0x1fb)]&&(this[_0x7350d7(0x1ed)]||this[_0x7350d7(0x1e2)][_0x7350d7(0x1d8)]({'top':this[_0x7350d7(0x1e2)][_0x7350d7(0x1f9)],'behavior':_0x7350d7(0x1e8)}),this[_0x7350d7(0x1dd)]=requestAnimationFrame(this[_0x7350d7(0x1df)][_0x7350d7(0x1f5)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5962(){var _0x1f81b0=['260AEOVav','AIEditorIntegration','145300fxOFIr','612TpZdfS','8PFYNpX','isOfficialPlugin','16933086sgnKRp','1261357QZyAPa','isPremiumPlugin','21189DwQzWk','14DIHjRT','pluginName','486iAJklW','568513NNyiMU','5950350yTSnrE','753396JlhJmt','requires'];_0x5962=function(){return _0x1f81b0;};return _0x5962();}function _0x4292(_0x180c3c,_0x55a728){var _0x59629d=_0x5962();return _0x4292=function(_0x429269,_0x1cd2f8){_0x429269=_0x429269-0xe2;var _0x520a6c=_0x59629d[_0x429269];return _0x520a6c;},_0x4292(_0x180c3c,_0x55a728);}var _0xc743f0=_0x4292;(function(_0x291ad9,_0x579c70){var _0x23a544=_0x4292,_0x4d4156=_0x291ad9();while(!![]){try{var _0x11fb11=parseInt(_0x23a544(0xe4))/0x1+parseInt(_0x23a544(0xe7))/0x2*(-parseInt(_0x23a544(0xec))/0x3)+parseInt(_0x23a544(0xee))/0x4*(parseInt(_0x23a544(0xf0))/0x5)+-parseInt(_0x23a544(0xe9))/0x6*(parseInt(_0x23a544(0xe6))/0x7)+-parseInt(_0x23a544(0xf2))/0x8*(-parseInt(_0x23a544(0xe3))/0x9)+parseInt(_0x23a544(0xeb))/0xa+-parseInt(_0x23a544(0xea))/0xb*(parseInt(_0x23a544(0xf1))/0xc);if(_0x11fb11===_0x579c70)break;else _0x4d4156['push'](_0x4d4156['shift']());}catch(_0x262dba){_0x4d4156['push'](_0x4d4156['shift']());}}}(_0x5962,0xf129a));import{Plugin as _0x3b22a1}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4202cd}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x3037e3}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x32b6b9}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x3b22a1{static get[_0xc743f0(0xed)](){return[_0x4202cd,_0x3037e3,_0x32b6b9];}static get[_0xc743f0(0xe8)](){var _0x4d27cb=_0xc743f0;return _0x4d27cb(0xef);}static get[_0xc743f0(0xe2)](){return!0x0;}static get[_0xc743f0(0xe5)](){return!0x0;}}
23
+ var _0x158146=_0x10b2;(function(_0x3479e2,_0x618c55){var _0x278c19=_0x10b2,_0x51e43f=_0x3479e2();while(!![]){try{var _0x24c5a0=-parseInt(_0x278c19(0x1cf))/0x1*(-parseInt(_0x278c19(0x1cc))/0x2)+-parseInt(_0x278c19(0x1d0))/0x3+parseInt(_0x278c19(0x1c4))/0x4*(parseInt(_0x278c19(0x1c7))/0x5)+-parseInt(_0x278c19(0x1c5))/0x6*(-parseInt(_0x278c19(0x1ce))/0x7)+-parseInt(_0x278c19(0x1c3))/0x8*(-parseInt(_0x278c19(0x1cd))/0x9)+-parseInt(_0x278c19(0x1c8))/0xa+-parseInt(_0x278c19(0x1ca))/0xb;if(_0x24c5a0===_0x618c55)break;else _0x51e43f['push'](_0x51e43f['shift']());}catch(_0x13f1a3){_0x51e43f['push'](_0x51e43f['shift']());}}}(_0x494b,0x54c7b));import{Plugin as _0x2428e2}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x35204b}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x5876c2}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x4de913}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x10b2(_0xed5457,_0x321550){var _0x494b75=_0x494b();return _0x10b2=function(_0x10b2da,_0x4c52c4){_0x10b2da=_0x10b2da-0x1c2;var _0x140560=_0x494b75[_0x10b2da];return _0x140560;},_0x10b2(_0xed5457,_0x321550);}export class AIEditorIntegration extends _0x2428e2{static get[_0x158146(0x1c9)](){return[_0x35204b,_0x5876c2,_0x4de913];}static get[_0x158146(0x1c2)](){var _0x1d7d8a=_0x158146;return _0x1d7d8a(0x1cb);}static get[_0x158146(0x1d1)](){return!0x0;}static get[_0x158146(0x1c6)](){return!0x0;}}function _0x494b(){var _0x5d4ddc=['14814lMDIsf','52094zeoxaz','66949uBBgYd','21117hTYitp','isOfficialPlugin','pluginName','1616WaiAPH','162076GZaGlF','60zoBimZ','isPremiumPlugin','25feJHdP','295630AQTGzN','requires','3218545pUQuHl','AIEditorIntegration','2PmATAh'];_0x494b=function(){return _0x5d4ddc;};return _0x494b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3268(_0x501200,_0x154e7e){const _0x4eaba5=_0x4eab();return _0x3268=function(_0x326899,_0x536743){_0x326899=_0x326899-0x175;let _0x3d35af=_0x4eaba5[_0x326899];return _0x3d35af;},_0x3268(_0x501200,_0x154e7e);}const _0x1eeb57=_0x3268;(function(_0x56dde1,_0x5df312){const _0x45fe4a=_0x3268,_0x91b59f=_0x56dde1();while(!![]){try{const _0x1c0786=parseInt(_0x45fe4a(0x18a))/0x1*(parseInt(_0x45fe4a(0x17c))/0x2)+parseInt(_0x45fe4a(0x17a))/0x3+-parseInt(_0x45fe4a(0x17f))/0x4+-parseInt(_0x45fe4a(0x198))/0x5*(-parseInt(_0x45fe4a(0x17d))/0x6)+parseInt(_0x45fe4a(0x199))/0x7*(parseInt(_0x45fe4a(0x180))/0x8)+parseInt(_0x45fe4a(0x188))/0x9*(parseInt(_0x45fe4a(0x175))/0xa)+parseInt(_0x45fe4a(0x18e))/0xb*(-parseInt(_0x45fe4a(0x18b))/0xc);if(_0x1c0786===_0x5df312)break;else _0x91b59f['push'](_0x91b59f['shift']());}catch(_0x100eef){_0x91b59f['push'](_0x91b59f['shift']());}}}(_0x4eab,0xd8657));function _0x4eab(){const _0x577fd7=['ck-ai-toggle-button','2208105YqxGtr','AIToggleButtonUI','404fBiVlH','6nraFyX','isOfficialPlugin','4441380wfDgAm','408gfliEI','componentFactory','isPremiumPlugin','listenTo','menuBar:toggleAi','toggleAi','editor','value','9bEVlkd','init','7151eKWMxA','9252dXDjTM','execute','_createAIUIButton','49962AGCNyT','AI_TOGGLE_BUTTON_LABEL','commands','menuitemcheckbox','set','get','requires','add','isOn','isEnabled','5135015IsLZEO','132489WQFBhP','13257690cJzpds','locale','pluginName','bind'];_0x4eab=function(){return _0x577fd7;};return _0x4eab();}import{Plugin as _0x3d27fd}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x57af59}from'./toggleaicommand.js';import{ButtonView as _0x5e9eb8,MenuBarMenuListItemButtonView as _0x490c7c}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x2ed289}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x457574}from'../../aicore/utils/common-translations.js';import{AITabs as _0x5697cc}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3d27fd{static get[_0x1eeb57(0x194)](){return[_0x5697cc];}static get[_0x1eeb57(0x177)](){const _0x3e75d3=_0x1eeb57;return _0x3e75d3(0x17b);}static get[_0x1eeb57(0x17e)](){return!0x0;}static get[_0x1eeb57(0x182)](){return!0x0;}[_0x1eeb57(0x189)](){const _0x522893=_0x1eeb57,_0x1c1668=this[_0x522893(0x186)];_0x1c1668[_0x522893(0x190)][_0x522893(0x195)](_0x522893(0x185),new _0x57af59(_0x1c1668)),_0x1c1668['ui'][_0x522893(0x181)][_0x522893(0x195)](_0x522893(0x185),()=>{const _0x5bf727=_0x522893,_0x3ce033=this[_0x5bf727(0x18d)](_0x5e9eb8);return _0x3ce033[_0x5bf727(0x192)]({'tooltip':!0x0,'class':_0x5bf727(0x179)}),_0x3ce033;}),_0x1c1668['ui'][_0x522893(0x181)][_0x522893(0x195)](_0x522893(0x184),()=>{const _0x31fc59=_0x522893,_0x4cddb7=this[_0x31fc59(0x18d)](_0x490c7c);return _0x4cddb7[_0x31fc59(0x192)]({'role':_0x31fc59(0x191)}),_0x4cddb7;});}[_0x1eeb57(0x18d)](_0x3d8998){const _0x2f9ff5=_0x1eeb57,_0x512dae=this[_0x2f9ff5(0x186)],_0x4b99d4=_0x512dae[_0x2f9ff5(0x190)][_0x2f9ff5(0x193)](_0x2f9ff5(0x185)),_0x5c676f=new _0x3d8998(_0x512dae[_0x2f9ff5(0x176)]);return _0x5c676f[_0x2f9ff5(0x192)]({'label':_0x457574(_0x512dae[_0x2f9ff5(0x176)],_0x2f9ff5(0x18f)),'icon':_0x2ed289,'isToggleable':!0x0}),_0x5c676f[_0x2f9ff5(0x178)](_0x2f9ff5(0x197))['to'](_0x4b99d4),_0x5c676f[_0x2f9ff5(0x178)](_0x2f9ff5(0x196))['to'](_0x4b99d4,_0x2f9ff5(0x187),_0xa1b25f=>!!_0xa1b25f),this[_0x2f9ff5(0x183)](_0x5c676f,_0x2f9ff5(0x18c),()=>{const _0x1e8a68=_0x2f9ff5;_0x4b99d4[_0x1e8a68(0x18c)]();}),_0x5c676f;}}
23
+ const _0xff1d94=_0x37a6;(function(_0x2a71b0,_0x181f98){const _0x38a9b8=_0x37a6,_0x5b6e74=_0x2a71b0();while(!![]){try{const _0x3217ec=-parseInt(_0x38a9b8(0x18f))/0x1*(parseInt(_0x38a9b8(0x191))/0x2)+parseInt(_0x38a9b8(0x183))/0x3*(-parseInt(_0x38a9b8(0x181))/0x4)+parseInt(_0x38a9b8(0x17f))/0x5+parseInt(_0x38a9b8(0x198))/0x6+-parseInt(_0x38a9b8(0x187))/0x7*(-parseInt(_0x38a9b8(0x192))/0x8)+parseInt(_0x38a9b8(0x18c))/0x9*(parseInt(_0x38a9b8(0x194))/0xa)+-parseInt(_0x38a9b8(0x18b))/0xb;if(_0x3217ec===_0x181f98)break;else _0x5b6e74['push'](_0x5b6e74['shift']());}catch(_0x42a73e){_0x5b6e74['push'](_0x5b6e74['shift']());}}}(_0x1811,0xcf015));import{Plugin as _0x23bf8a}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x2ec84d}from'./toggleaicommand.js';import{ButtonView as _0x2e23fd,MenuBarMenuListItemButtonView as _0x1cd1e3}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x216d0c}from'@ckeditor/ckeditor5-icons';function _0x1811(){const _0x2dcb84=['7006295wvuIkh','editor','2795096leqjqg','locale','3oiEcEZ','toggleAi','AIToggleButtonUI','_createAIUIButton','9238789KGMgdw','execute','menuitemcheckbox','ck-ai-toggle-button','10881222wrQvMc','50211xgQCHx','pluginName','isEnabled','7747keNINy','AI_TOGGLE_BUTTON_LABEL','198SJeUCp','8SWogKV','isOfficialPlugin','490NKcSzN','componentFactory','isOn','menuBar:toggleAi','1850190Bmuxax','init','bind','value','add','requires','listenTo','isPremiumPlugin','get','commands','set'];_0x1811=function(){return _0x2dcb84;};return _0x1811();}import{getTranslation as _0x42bb2c}from'../../aicore/utils/common-translations.js';function _0x37a6(_0x488c16,_0x23c1ab){const _0x18110b=_0x1811();return _0x37a6=function(_0x37a6f5,_0x1be330){_0x37a6f5=_0x37a6f5-0x17c;let _0x19d45c=_0x18110b[_0x37a6f5];return _0x19d45c;},_0x37a6(_0x488c16,_0x23c1ab);}import{AITabs as _0x333bcc}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x23bf8a{static get[_0xff1d94(0x19d)](){return[_0x333bcc];}static get[_0xff1d94(0x18d)](){const _0x4f7c7e=_0xff1d94;return _0x4f7c7e(0x185);}static get[_0xff1d94(0x193)](){return!0x0;}static get[_0xff1d94(0x19f)](){return!0x0;}[_0xff1d94(0x199)](){const _0x54aef6=_0xff1d94,_0x1e71e6=this[_0x54aef6(0x180)];_0x1e71e6[_0x54aef6(0x17d)][_0x54aef6(0x19c)](_0x54aef6(0x184),new _0x2ec84d(_0x1e71e6)),_0x1e71e6['ui'][_0x54aef6(0x195)][_0x54aef6(0x19c)](_0x54aef6(0x184),()=>{const _0x42b2c2=_0x54aef6,_0x52d658=this[_0x42b2c2(0x186)](_0x2e23fd);return _0x52d658[_0x42b2c2(0x17e)]({'tooltip':!0x0,'class':_0x42b2c2(0x18a)}),_0x52d658;}),_0x1e71e6['ui'][_0x54aef6(0x195)][_0x54aef6(0x19c)](_0x54aef6(0x197),()=>{const _0x566d35=_0x54aef6,_0x9fa395=this[_0x566d35(0x186)](_0x1cd1e3);return _0x9fa395[_0x566d35(0x17e)]({'role':_0x566d35(0x189)}),_0x9fa395;});}[_0xff1d94(0x186)](_0x1a1f19){const _0xf2cf94=_0xff1d94,_0x1fb873=this[_0xf2cf94(0x180)],_0x5e0d03=_0x1fb873[_0xf2cf94(0x17d)][_0xf2cf94(0x17c)](_0xf2cf94(0x184)),_0x4232c1=new _0x1a1f19(_0x1fb873[_0xf2cf94(0x182)]);return _0x4232c1[_0xf2cf94(0x17e)]({'label':_0x42bb2c(_0x1fb873[_0xf2cf94(0x182)],_0xf2cf94(0x190)),'icon':_0x216d0c,'isToggleable':!0x0}),_0x4232c1[_0xf2cf94(0x19a)](_0xf2cf94(0x18e))['to'](_0x5e0d03),_0x4232c1[_0xf2cf94(0x19a)](_0xf2cf94(0x196))['to'](_0x5e0d03,_0xf2cf94(0x19b),_0x71e4fd=>!!_0x71e4fd),this[_0xf2cf94(0x19e)](_0x4232c1,_0xf2cf94(0x188),()=>{const _0x4c729e=_0xf2cf94;_0x5e0d03[_0x4c729e(0x188)]();}),_0x4232c1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50f38b=_0x10c6;(function(_0x44b319,_0x4252da){const _0x485d53=_0x10c6,_0x38b30d=_0x44b319();while(!![]){try{const _0x46e48a=-parseInt(_0x485d53(0x1a1))/0x1+parseInt(_0x485d53(0x1a7))/0x2*(parseInt(_0x485d53(0x1a6))/0x3)+-parseInt(_0x485d53(0x1a2))/0x4+-parseInt(_0x485d53(0x1a9))/0x5+-parseInt(_0x485d53(0x19f))/0x6+-parseInt(_0x485d53(0x1a0))/0x7*(parseInt(_0x485d53(0x1a3))/0x8)+parseInt(_0x485d53(0x1a4))/0x9;if(_0x46e48a===_0x4252da)break;else _0x38b30d['push'](_0x38b30d['shift']());}catch(_0x25a499){_0x38b30d['push'](_0x38b30d['shift']());}}}(_0x506c,0x1ef21));function _0x506c(){const _0x5b4877=['6969735ZCxWvY','AITabs','59043tzcPwz','12WdwFqn','execute','1193210wbnsQF','plugins','bind','value','get','view','isEnabled','editor','isVisible','272136lhwUIA','229229rbwOBE','37627tyJSvI','990564HdvpWu','48OIKxTb'];_0x506c=function(){return _0x5b4877;};return _0x506c();}function _0x10c6(_0x3a575c,_0x5c5da1){const _0x506cb4=_0x506c();return _0x10c6=function(_0x10c649,_0xe3cf4){_0x10c649=_0x10c649-0x19b;let _0x504d5f=_0x506cb4[_0x10c649];return _0x504d5f;},_0x10c6(_0x3a575c,_0x5c5da1);}import{Command as _0x17277c}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x17277c{constructor(_0x5f3a6e){const _0x1cb41f=_0x10c6;super(_0x5f3a6e);const _0x1b515a=_0x5f3a6e[_0x1cb41f(0x1aa)][_0x1cb41f(0x1ad)](_0x1cb41f(0x1a5))[_0x1cb41f(0x19b)];this[_0x1cb41f(0x1ab)](_0x1cb41f(0x1ac))['to'](_0x1b515a,_0x1cb41f(0x19e)),this[_0x1cb41f(0x19c)]=!0x0;}[_0x50f38b(0x1a8)](){const _0x1d9628=_0x50f38b,_0x5ebd3a=this[_0x1d9628(0x19d)][_0x1d9628(0x1aa)][_0x1d9628(0x1ad)](_0x1d9628(0x1a5))[_0x1d9628(0x19b)];_0x5ebd3a[_0x1d9628(0x19e)]=!_0x5ebd3a[_0x1d9628(0x19e)];}}
23
+ const _0xe503d2=_0x3d09;function _0x3d09(_0x2c990c,_0x1174ad){const _0x37dccc=_0x37dc();return _0x3d09=function(_0x3d09c0,_0x2a1e2a){_0x3d09c0=_0x3d09c0-0x9b;let _0x14bd0c=_0x37dccc[_0x3d09c0];return _0x14bd0c;},_0x3d09(_0x2c990c,_0x1174ad);}(function(_0x14fae1,_0x555b3d){const _0x26eb61=_0x3d09,_0x3c292d=_0x14fae1();while(!![]){try{const _0x5757bf=parseInt(_0x26eb61(0x9f))/0x1*(parseInt(_0x26eb61(0xaa))/0x2)+parseInt(_0x26eb61(0xa9))/0x3+-parseInt(_0x26eb61(0x9e))/0x4+parseInt(_0x26eb61(0xa6))/0x5+-parseInt(_0x26eb61(0xa7))/0x6*(parseInt(_0x26eb61(0xa4))/0x7)+parseInt(_0x26eb61(0xa2))/0x8+-parseInt(_0x26eb61(0x9d))/0x9;if(_0x5757bf===_0x555b3d)break;else _0x3c292d['push'](_0x3c292d['shift']());}catch(_0x1500b1){_0x3c292d['push'](_0x3c292d['shift']());}}}(_0x37dc,0x25ff5));function _0x37dc(){const _0x19eff1=['26339kgSFwb','isVisible','execute','1951008RNplDa','plugins','623moHYJL','view','1441430otzIxk','6774agfEsR','AITabs','52401UDyXbn','4tjXfEC','editor','bind','value','isEnabled','get','1379799FpBQqU','771512DjjvAl'];_0x37dc=function(){return _0x19eff1;};return _0x37dc();}import{Command as _0x9647ac}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x9647ac{constructor(_0xa0fbc1){const _0x3e3b67=_0x3d09;super(_0xa0fbc1);const _0x214806=_0xa0fbc1[_0x3e3b67(0xa3)][_0x3e3b67(0x9c)](_0x3e3b67(0xa8))[_0x3e3b67(0xa5)];this[_0x3e3b67(0xac)](_0x3e3b67(0xad))['to'](_0x214806,_0x3e3b67(0xa0)),this[_0x3e3b67(0x9b)]=!0x0;}[_0xe503d2(0xa1)](){const _0x54896a=_0xe503d2,_0x3b3544=this[_0x54896a(0xab)][_0x54896a(0xa3)][_0x54896a(0x9c)](_0x54896a(0xa8))[_0x54896a(0xa5)];_0x3b3544[_0x54896a(0xa0)]=!_0x3b3544[_0x54896a(0xa0)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x548f3a=_0x1cc8;(function(_0x5e128c,_0x1c0385){var _0x58aa6a=_0x1cc8,_0x460cb7=_0x5e128c();while(!![]){try{var _0x56bde4=-parseInt(_0x58aa6a(0x190))/0x1*(parseInt(_0x58aa6a(0x18a))/0x2)+-parseInt(_0x58aa6a(0x182))/0x3+parseInt(_0x58aa6a(0x186))/0x4*(parseInt(_0x58aa6a(0x180))/0x5)+parseInt(_0x58aa6a(0x185))/0x6+parseInt(_0x58aa6a(0x18b))/0x7+-parseInt(_0x58aa6a(0x181))/0x8+parseInt(_0x58aa6a(0x18d))/0x9*(parseInt(_0x58aa6a(0x17f))/0xa);if(_0x56bde4===_0x1c0385)break;else _0x460cb7['push'](_0x460cb7['shift']());}catch(_0x5193bd){_0x460cb7['push'](_0x460cb7['shift']());}}}(_0x581a,0xc81a8));import{Plugin as _0x1be1e7}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1a7d99}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x17fdb4}from'./aiquickactionsediting.js';function _0x1cc8(_0x281fd4,_0x385559){var _0x581a4b=_0x581a();return _0x1cc8=function(_0x1cc89d,_0x56e4ad){_0x1cc89d=_0x1cc89d-0x17f;var _0x4b7b7e=_0x581a4b[_0x1cc89d];return _0x4b7b7e;},_0x1cc8(_0x281fd4,_0x385559);}import{AIActions as _0x57cfdc}from'../aiactions/aiactions.js';function _0x581a(){var _0x1e67b3=['250dogeLX','40wSDysx','9860128VWigjQ','765435ChXzHW','ai.quickActions','config','4842600UdTbDi','392800GmXvrr','isPremiumPlugin','AIQuickActions','requires','2014766SVOAOc','7301651wtakRo','define','244395pDCyuF','pluginName','isOfficialPlugin','1jIWPYJ'];_0x581a=function(){return _0x1e67b3;};return _0x581a();}export class AIQuickActions extends _0x1be1e7{static get[_0x548f3a(0x189)](){return[_0x1a7d99,_0x17fdb4,_0x57cfdc];}static get[_0x548f3a(0x18e)](){var _0x1e9769=_0x548f3a;return _0x1e9769(0x188);}static get[_0x548f3a(0x18f)](){return!0x0;}static get[_0x548f3a(0x187)](){return!0x0;}constructor(_0x1ab54f){var _0x51ff73=_0x548f3a;super(_0x1ab54f),_0x1ab54f[_0x51ff73(0x184)][_0x51ff73(0x18c)](_0x51ff73(0x183),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ var _0x2c4289=_0x438c;(function(_0x5bacd8,_0x33288f){var _0x27e8c2=_0x438c,_0x31319=_0x5bacd8();while(!![]){try{var _0x1c1d1e=-parseInt(_0x27e8c2(0xb5))/0x1*(-parseInt(_0x27e8c2(0xbc))/0x2)+-parseInt(_0x27e8c2(0xae))/0x3*(parseInt(_0x27e8c2(0xba))/0x4)+parseInt(_0x27e8c2(0xbd))/0x5*(parseInt(_0x27e8c2(0xb6))/0x6)+parseInt(_0x27e8c2(0xbf))/0x7+parseInt(_0x27e8c2(0xbe))/0x8+parseInt(_0x27e8c2(0xb0))/0x9*(parseInt(_0x27e8c2(0xb8))/0xa)+-parseInt(_0x27e8c2(0xb1))/0xb;if(_0x1c1d1e===_0x33288f)break;else _0x31319['push'](_0x31319['shift']());}catch(_0x52aca5){_0x31319['push'](_0x31319['shift']());}}}(_0x4f85,0x33503));import{Plugin as _0x48c6d7}from'ckeditor5/src/core.js';function _0x4f85(){var _0x3f7079=['ai.quickActions','requires','AIQuickActions','317672tbQhRS','6IInBgp','define','551690nxoToj','pluginName','168qMkRWy','isPremiumPlugin','2MGKlJv','730465sXHTPI','1595648XRlwIW','2808008rFqrPU','isOfficialPlugin','15693GhwXuT','config','9zpwhwJ','7586183ssZqqg'];_0x4f85=function(){return _0x3f7079;};return _0x4f85();}import{AIQuickActionsUI as _0x55ddef}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x49b210}from'./aiquickactionsediting.js';import{AIActions as _0x5b7544}from'../aiactions/aiactions.js';function _0x438c(_0x463cf7,_0x19c266){var _0x4f859a=_0x4f85();return _0x438c=function(_0x438c1a,_0x395250){_0x438c1a=_0x438c1a-0xad;var _0x56041c=_0x4f859a[_0x438c1a];return _0x56041c;},_0x438c(_0x463cf7,_0x19c266);}export class AIQuickActions extends _0x48c6d7{static get[_0x2c4289(0xb3)](){return[_0x55ddef,_0x49b210,_0x5b7544];}static get[_0x2c4289(0xb9)](){var _0xb1f016=_0x2c4289;return _0xb1f016(0xb4);}static get[_0x2c4289(0xad)](){return!0x0;}static get[_0x2c4289(0xbb)](){return!0x0;}constructor(_0x508f18){var _0x4f27b3=_0x2c4289;super(_0x508f18),_0x508f18[_0x4f27b3(0xaf)][_0x4f27b3(0xb7)](_0x4f27b3(0xb2),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2585(){const _0x2e1b74=['other','parent','_handleAIActionsAction','type','editor','getLimitElement','_handleAIChatAction','model','getSelectedBlocks','actionName','activateTab','7936072NavoOv','chat','handleAIReviewAction','plugins','startConversation','AIChat','isVisible','removeSelectionFromChatContext','44PVGnsd','has','_handleAIActionsActionLabel','view','ask-ai','76234jqyXVc','focusPromptInput','252hIyHOn','ACTION','AIChatController','label','change','100576rZdusO','AIActions','ai-quick-actions-plugin-not-found','document','icon','args','9BaqRwX','selection','_handleAIReviewAction','sendMessage','activeTab','704485UMhYin','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','prompt','locale','log','16Tgpusd','get','execute','_expandSelectionIfCollapsed','12821210YPDTzl','11xtCCqx','27004656JFQaFW','displayedPrompt','CHAT','REVIEW','executeAction','2243865gwNKkW','AITabs','schema','isCollapsed','setSelection','AIReviewMode','addSelectionToChatContext'];_0x2585=function(){return _0x2e1b74;};return _0x2585();}function _0x55d0(_0x296537,_0x4172e2){const _0x258552=_0x2585();return _0x55d0=function(_0x55d074,_0x35f79c){_0x55d074=_0x55d074-0x181;let _0x5ad7b9=_0x258552[_0x55d074];return _0x5ad7b9;},_0x55d0(_0x296537,_0x4172e2);}const _0xc0380a=_0x55d0;(function(_0x2f3df3,_0x32f04e){const _0x591118=_0x55d0,_0x16eb2e=_0x2f3df3();while(!![]){try{const _0x2a2221=parseInt(_0x591118(0x182))/0x1*(parseInt(_0x591118(0x199))/0x2)+-parseInt(_0x591118(0x1a4))/0x3+-parseInt(_0x591118(0x1be))/0x4*(-parseInt(_0x591118(0x194))/0x5)+parseInt(_0x591118(0x184))/0x6*(-parseInt(_0x591118(0x189))/0x7)+parseInt(_0x591118(0x1b6))/0x8+-parseInt(_0x591118(0x18f))/0x9*(-parseInt(_0x591118(0x19d))/0xa)+-parseInt(_0x591118(0x19e))/0xb*(parseInt(_0x591118(0x19f))/0xc);if(_0x2a2221===_0x32f04e)break;else _0x16eb2e['push'](_0x16eb2e['shift']());}catch(_0x4f9381){_0x16eb2e['push'](_0x16eb2e['shift']());}}}(_0x2585,0xcb246));import{Command as _0x20bda4}from'ckeditor5/src/core.js';import{CKEditorError as _0x2b0599,first as _0x228489}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x41adfa}from'./aiquickactionsui.js';import{getTranslation as _0x260e26}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x20bda4{[_0xc0380a(0x19b)](_0x414d0a){const _0x2b61fe=_0xc0380a;switch(this[_0x2b61fe(0x19c)](),_0x414d0a[_0x2b61fe(0x1ae)]){case _0x41adfa[_0x2b61fe(0x1a1)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x1bb))){const _0x366065=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x1bb));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0x366065});}this[_0x2b61fe(0x1b1)](_0x414d0a);break;case _0x41adfa[_0x2b61fe(0x185)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x18a))){const _0xc5444d=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x18a));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0xc5444d});}this[_0x2b61fe(0x1ad)](_0x414d0a);break;case _0x41adfa[_0x2b61fe(0x1a2)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x1a9))){const _0x2aeeea=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x1a9));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0x2aeeea});}this[_0x2b61fe(0x191)](_0x414d0a);}}async[_0xc0380a(0x1b1)](_0x1562de){const _0x2d8697=_0xc0380a,_0x4e1234=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x1bb)),_0x3d3e0a=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x186)),_0x3d2ff7=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x1a5))[_0x2d8697(0x1c1)];if(_0x3d2ff7[_0x2d8697(0x1bc)]||(_0x3d2ff7[_0x2d8697(0x1bc)]=!0x0),_0x2d8697(0x1b7)!==_0x3d2ff7[_0x2d8697(0x193)]&&_0x3d2ff7[_0x2d8697(0x1b5)](_0x2d8697(0x1b7)),_0x2d8697(0x181)===_0x1562de['id'])_0x3d3e0a[_0x2d8697(0x1bd)](),await _0x4e1234[_0x2d8697(0x1aa)](),_0x4e1234[_0x2d8697(0x183)]();else await _0x4e1234[_0x2d8697(0x1ba)](),_0x3d3e0a[_0x2d8697(0x1bd)](),await _0x4e1234[_0x2d8697(0x1aa)](),_0x4e1234[_0x2d8697(0x183)](),await _0x4e1234[_0x2d8697(0x192)]({'message':_0x1562de[_0x2d8697(0x196)]||_0x1562de[_0x2d8697(0x1a0)],'attributes':{'quickActionData':{'id':_0x1562de['id']},'displayedPrompt':_0x1562de[_0x2d8697(0x1a0)]}});}[_0xc0380a(0x19c)](){const _0x517f0f=_0xc0380a,_0x3fe073=this[_0x517f0f(0x1af)],_0x1e4dd6=_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x18c)][_0x517f0f(0x190)];if(!_0x1e4dd6[_0x517f0f(0x1a7)])return;const _0x31952e=_0x228489(_0x1e4dd6[_0x517f0f(0x1b3)]())||_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x1a6)][_0x517f0f(0x1b0)](_0x1e4dd6);_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x188)](_0x524ef6=>{const _0x39a8f0=_0x517f0f;_0x524ef6[_0x39a8f0(0x1a8)](_0x31952e,'in');});}[_0xc0380a(0x1c0)](_0x5ec2d2){const _0x2c0713=_0xc0380a;return _0x5ec2d2[_0x2c0713(0x1ac)]?.[_0x2c0713(0x187)]&&_0x2c0713(0x1ab)!==_0x5ec2d2[_0x2c0713(0x1ac)]?.['id']?_0x5ec2d2[_0x2c0713(0x1ac)][_0x2c0713(0x187)]+':\x20'+_0x5ec2d2[_0x2c0713(0x1a0)]:_0x5ec2d2[_0x2c0713(0x1a0)];}async[_0xc0380a(0x1ad)](_0x4e3214){const _0x3827a9=_0xc0380a,_0x21272d=this[_0x3827a9(0x1af)][_0x3827a9(0x1b9)][_0x3827a9(0x19a)](_0x3827a9(0x18a)),_0x2c0f05=_0x4e3214[_0x3827a9(0x196)]?{'userMessage':_0x4e3214[_0x3827a9(0x196)],'model':_0x4e3214[_0x3827a9(0x1b2)]}:{'actionName':_0x4e3214[_0x3827a9(0x1b4)]||_0x4e3214['id'],'args':_0x4e3214[_0x3827a9(0x18e)]},_0x3ad995=this[_0x3827a9(0x1c0)](_0x4e3214);await _0x21272d[_0x3827a9(0x1a3)](_0x2c0f05,_0x3ad995,_0x4e3214[_0x3827a9(0x18d)]);}async[_0xc0380a(0x191)](_0x570f9b){const _0x1bdc45=_0xc0380a;console[_0x1bdc45(0x198)](_0x1bdc45(0x1b8),_0x570f9b);}}
23
+ const _0x390620=_0x4367;(function(_0x17c541,_0x4c979a){const _0x24b5be=_0x4367,_0x5c6356=_0x17c541();while(!![]){try{const _0x32e3e4=-parseInt(_0x24b5be(0x136))/0x1*(parseInt(_0x24b5be(0x14b))/0x2)+parseInt(_0x24b5be(0x115))/0x3+parseInt(_0x24b5be(0x148))/0x4+parseInt(_0x24b5be(0x130))/0x5+parseInt(_0x24b5be(0x11a))/0x6+-parseInt(_0x24b5be(0x11d))/0x7+-parseInt(_0x24b5be(0x13f))/0x8*(parseInt(_0x24b5be(0x128))/0x9);if(_0x32e3e4===_0x4c979a)break;else _0x5c6356['push'](_0x5c6356['shift']());}catch(_0x3e542b){_0x5c6356['push'](_0x5c6356['shift']());}}}(_0x7ded,0x20c93));function _0x4367(_0x51e995,_0x1e8fc0){const _0x7ded08=_0x7ded();return _0x4367=function(_0x43674f,_0x421e67){_0x43674f=_0x43674f-0x10e;let _0x3eeac9=_0x7ded08[_0x43674f];return _0x3eeac9;},_0x4367(_0x51e995,_0x1e8fc0);}function _0x7ded(){const _0x5cc854=['log','122CVrjrP','getSelectedBlocks','model','ask-ai','chat','getLimitElement','CHAT','change','491904sSICOh','prompt','_handleAIActionsAction','displayedPrompt','ai-quick-actions-plugin-not-found','552582uXzXJu','executeAction','startConversation','330960OOvKqh','execute','type','parent','other','_handleAIChatAction','editor','schema','get','args','actionName','1559835AcWElf','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','icon','AIReviewMode','AIActions','_expandSelectionIfCollapsed','focusPromptInput','isCollapsed','461375WYxDbZ','AITabs','REVIEW','addSelectionToChatContext','setSelection','locale','3814TCVJWT','removeSelectionFromChatContext','AIChatController','isVisible','view','plugins','_handleAIActionsActionLabel','_handleAIReviewAction','label','8rvbsPC','document','sendMessage','ACTION','has','AIChat','activateTab','handleAIReviewAction','selection','956800bwBHlx','activeTab'];_0x7ded=function(){return _0x5cc854;};return _0x7ded();}import{Command as _0x43618}from'ckeditor5/src/core.js';import{CKEditorError as _0x3edd68,first as _0x5e7a82}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x975839}from'./aiquickactionsui.js';import{getTranslation as _0x1eb2f5}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x43618{[_0x390620(0x11e)](_0x3c4ef2){const _0x180e9f=_0x390620;switch(this[_0x180e9f(0x12d)](),_0x3c4ef2[_0x180e9f(0x11f)]){case _0x975839[_0x180e9f(0x113)]:if(!this[_0x180e9f(0x123)][_0x180e9f(0x13b)][_0x180e9f(0x143)](_0x180e9f(0x144))){const _0x396ff7=_0x1eb2f5(this[_0x180e9f(0x123)][_0x180e9f(0x135)],_0x180e9f(0x129),_0x180e9f(0x144));throw new _0x3edd68(_0x180e9f(0x119),this[_0x180e9f(0x123)],{'errorMessage':_0x396ff7});}this[_0x180e9f(0x122)](_0x3c4ef2);break;case _0x975839[_0x180e9f(0x142)]:if(!this[_0x180e9f(0x123)][_0x180e9f(0x13b)][_0x180e9f(0x143)](_0x180e9f(0x12c))){const _0x54c13f=_0x1eb2f5(this[_0x180e9f(0x123)][_0x180e9f(0x135)],_0x180e9f(0x129),_0x180e9f(0x12c));throw new _0x3edd68(_0x180e9f(0x119),this[_0x180e9f(0x123)],{'errorMessage':_0x54c13f});}this[_0x180e9f(0x117)](_0x3c4ef2);break;case _0x975839[_0x180e9f(0x132)]:if(!this[_0x180e9f(0x123)][_0x180e9f(0x13b)][_0x180e9f(0x143)](_0x180e9f(0x12b))){const _0x1776dd=_0x1eb2f5(this[_0x180e9f(0x123)][_0x180e9f(0x135)],_0x180e9f(0x129),_0x180e9f(0x12b));throw new _0x3edd68(_0x180e9f(0x119),this[_0x180e9f(0x123)],{'errorMessage':_0x1776dd});}this[_0x180e9f(0x13d)](_0x3c4ef2);}}async[_0x390620(0x122)](_0x4c3e4d){const _0x3d7fb5=_0x390620,_0x3b1d27=this[_0x3d7fb5(0x123)][_0x3d7fb5(0x13b)][_0x3d7fb5(0x125)](_0x3d7fb5(0x144)),_0xc4fb0=this[_0x3d7fb5(0x123)][_0x3d7fb5(0x13b)][_0x3d7fb5(0x125)](_0x3d7fb5(0x138)),_0x5f487f=this[_0x3d7fb5(0x123)][_0x3d7fb5(0x13b)][_0x3d7fb5(0x125)](_0x3d7fb5(0x131))[_0x3d7fb5(0x13a)];if(_0x5f487f[_0x3d7fb5(0x139)]||(_0x5f487f[_0x3d7fb5(0x139)]=!0x0),_0x3d7fb5(0x111)!==_0x5f487f[_0x3d7fb5(0x149)]&&_0x5f487f[_0x3d7fb5(0x145)](_0x3d7fb5(0x111)),_0x3d7fb5(0x110)===_0x4c3e4d['id'])_0xc4fb0[_0x3d7fb5(0x137)](),await _0x3b1d27[_0x3d7fb5(0x133)](),_0x3b1d27[_0x3d7fb5(0x12e)]();else await _0x3b1d27[_0x3d7fb5(0x11c)](),_0xc4fb0[_0x3d7fb5(0x137)](),await _0x3b1d27[_0x3d7fb5(0x133)](),_0x3b1d27[_0x3d7fb5(0x12e)](),await _0x3b1d27[_0x3d7fb5(0x141)]({'message':_0x4c3e4d[_0x3d7fb5(0x116)]||_0x4c3e4d[_0x3d7fb5(0x118)],'attributes':{'quickActionData':{'id':_0x4c3e4d['id']},'displayedPrompt':_0x4c3e4d[_0x3d7fb5(0x118)]}});}[_0x390620(0x12d)](){const _0x2e27c8=_0x390620,_0x44cdfa=this[_0x2e27c8(0x123)],_0x55292a=_0x44cdfa[_0x2e27c8(0x10f)][_0x2e27c8(0x140)][_0x2e27c8(0x147)];if(!_0x55292a[_0x2e27c8(0x12f)])return;const _0x464050=_0x5e7a82(_0x55292a[_0x2e27c8(0x10e)]())||_0x44cdfa[_0x2e27c8(0x10f)][_0x2e27c8(0x124)][_0x2e27c8(0x112)](_0x55292a);_0x44cdfa[_0x2e27c8(0x10f)][_0x2e27c8(0x114)](_0x3d3518=>{const _0x3fd13d=_0x2e27c8;_0x3d3518[_0x3fd13d(0x134)](_0x464050,'in');});}[_0x390620(0x13c)](_0x467a24){const _0x3e34b8=_0x390620;return _0x467a24[_0x3e34b8(0x120)]?.[_0x3e34b8(0x13e)]&&_0x3e34b8(0x121)!==_0x467a24[_0x3e34b8(0x120)]?.['id']?_0x467a24[_0x3e34b8(0x120)][_0x3e34b8(0x13e)]+':\x20'+_0x467a24[_0x3e34b8(0x118)]:_0x467a24[_0x3e34b8(0x118)];}async[_0x390620(0x117)](_0x48e939){const _0x58adf8=_0x390620,_0x50e072=this[_0x58adf8(0x123)][_0x58adf8(0x13b)][_0x58adf8(0x125)](_0x58adf8(0x12c)),_0x1f432c=_0x48e939[_0x58adf8(0x116)]?{'userMessage':_0x48e939[_0x58adf8(0x116)],'model':_0x48e939[_0x58adf8(0x10f)]}:{'actionName':_0x48e939[_0x58adf8(0x127)]||_0x48e939['id'],'args':_0x48e939[_0x58adf8(0x126)]},_0x8e24a5=this[_0x58adf8(0x13c)](_0x48e939);await _0x50e072[_0x58adf8(0x11b)](_0x1f432c,_0x8e24a5,_0x48e939[_0x58adf8(0x12a)]);}async[_0x390620(0x13d)](_0x19a49b){const _0x546273=_0x390620;console[_0x546273(0x14a)](_0x546273(0x146),_0x19a49b);}}