@ckeditor/ckeditor5-ai 47.7.4 → 47.7.5-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 _0x171eca=_0x2af7;(function(_0x4e05b6,_0x5e5b73){const _0x59a6c5=_0x2af7,_0x4d1fb0=_0x4e05b6();while(!![]){try{const _0x4f2d65=-parseInt(_0x59a6c5(0x1cf))/0x1*(parseInt(_0x59a6c5(0x1de))/0x2)+parseInt(_0x59a6c5(0x1ec))/0x3+-parseInt(_0x59a6c5(0x1ed))/0x4+-parseInt(_0x59a6c5(0x1e0))/0x5*(-parseInt(_0x59a6c5(0x1d9))/0x6)+parseInt(_0x59a6c5(0x1d1))/0x7+-parseInt(_0x59a6c5(0x1e3))/0x8*(parseInt(_0x59a6c5(0x1d6))/0x9)+-parseInt(_0x59a6c5(0x1e7))/0xa*(-parseInt(_0x59a6c5(0x1df))/0xb);if(_0x4f2d65===_0x5e5b73)break;else _0x4d1fb0['push'](_0x4d1fb0['shift']());}catch(_0x5afbe7){_0x4d1fb0['push'](_0x4d1fb0['shift']());}}}(_0x36ad,0xf31cf));import{CKEditorError as _0x391139,compareArrays as _0x17d6db}from'ckeditor5/src/utils.js';function _0x36ad(){const _0xf8a5ae=['match','previousNode','length','10TdTIIL','createAt','parent','path','getNudgedToWordBoundary','1422351RnRpoR','4498968VTNeIK','start','ai-documentposition-index-out-of-bounds','same','191063aSMoTM','createFromPath','2494240ARErhE','slice','createAfter','end','data','189QlTPaP','indexOf','index','60RjaDow','nextNode','createBefore','ai-documentposition-createfrompath-path-cannot-be-empty','document','8dMyqCe','11294657uLWCOq','576035FFmQtr','isEqual','reduce','47432TOYPOW'];_0x36ad=function(){return _0xf8a5ae;};return _0x36ad();}import{getNodePath as _0x2b7bee,isText as _0x1ba5da,getChildren as _0x457080,isDocument as _0x11f3c4,getParent as _0x116f89,textContent as _0x35760e,hasChildren as _0x5edfc7}from'./htmlparser.js';function _0x2af7(_0xbfeac1,_0x532cf7){const _0x36ad06=_0x36ad();return _0x2af7=function(_0x2af7a5,_0x23a8ed){_0x2af7a5=_0x2af7a5-0x1ce;let _0x1d257e=_0x36ad06[_0x2af7a5];return _0x1d257e;},_0x2af7(_0xbfeac1,_0x532cf7);}export class DocumentPosition{[_0x171eca(0x1e9)];[_0x171eca(0x1d8)];[_0x171eca(0x1dd)];constructor(_0x268530,_0x16ceca,_0x3aff31){const _0x2cb1f7=_0x171eca;if(_0x1ba5da(_0x16ceca)&&_0x3aff31>_0x16ceca[_0x2cb1f7(0x1d5)][_0x2cb1f7(0x1e6)])throw new _0x391139(_0x2cb1f7(0x1ef),null,{'index':_0x3aff31,'parent':_0x16ceca});if(_0x5edfc7(_0x16ceca)&&_0x3aff31>_0x457080(_0x16ceca)[_0x2cb1f7(0x1e6)])throw new _0x391139(_0x2cb1f7(0x1ef),null,{'index':_0x3aff31,'parent':_0x16ceca});if(_0x3aff31<0x0)throw new _0x391139(_0x2cb1f7(0x1ef),null,{'index':_0x3aff31,'parent':_0x16ceca});this[_0x2cb1f7(0x1e9)]=_0x16ceca,this[_0x2cb1f7(0x1d8)]=_0x3aff31,this[_0x2cb1f7(0x1dd)]=_0x268530;}get[_0x171eca(0x1ea)](){const _0x1c2ceb=_0x171eca;return[..._0x2b7bee(this[_0x1c2ceb(0x1e9)]),this[_0x1c2ceb(0x1d8)]];}[_0x171eca(0x1e1)](_0x544b5a){const _0x2a6661=_0x171eca;return this[_0x2a6661(0x1dd)]==_0x544b5a[_0x2a6661(0x1dd)]&&_0x2a6661(0x1ce)===_0x17d6db(this[_0x2a6661(0x1ea)],_0x544b5a[_0x2a6661(0x1ea)]);}get[_0x171eca(0x1da)](){const _0x2444bc=_0x171eca;if(_0x5edfc7(this[_0x2444bc(0x1e9)])){const _0x1b3efc=_0x457080(this[_0x2444bc(0x1e9)])[this[_0x2444bc(0x1d8)]];if(_0x1b3efc)return _0x1b3efc;{const _0x1439d2=DocumentPosition[_0x2444bc(0x1d3)](this[_0x2444bc(0x1dd)],this[_0x2444bc(0x1e9)]);if(_0x1439d2)return _0x1439d2[_0x2444bc(0x1da)];}}return null;}get[_0x171eca(0x1e5)](){const _0x28f169=_0x171eca;if(_0x5edfc7(this[_0x28f169(0x1e9)])){const _0x19f25e=_0x457080(this[_0x28f169(0x1e9)])[this[_0x28f169(0x1d8)]-0x1];if(_0x19f25e)return _0x19f25e;{const _0x247fc0=DocumentPosition[_0x28f169(0x1db)](this[_0x28f169(0x1dd)],this[_0x28f169(0x1e9)]);if(_0x247fc0)return _0x247fc0[_0x28f169(0x1e5)];}}return null;}[_0x171eca(0x1eb)](_0x260c7c=_0x171eca(0x1ee)){const _0x5198f9=_0x171eca;if(!_0x1ba5da(this[_0x5198f9(0x1e9)]))return this;const _0x4eeee7=this[_0x5198f9(0x1ea)][this[_0x5198f9(0x1ea)][_0x5198f9(0x1e6)]-0x1],_0x5cd8b0=_0x35760e(this[_0x5198f9(0x1e9)])[_0x5198f9(0x1e4)](/(?:\s*\S+\s*)/g);let _0x39ba2f=0x0,_0x23670f=_0x4eeee7;for(const _0x2c6870 of _0x5cd8b0){if(_0x39ba2f+_0x2c6870[_0x5198f9(0x1e6)]===_0x4eeee7)return this;if(_0x39ba2f+_0x2c6870[_0x5198f9(0x1e6)]>_0x4eeee7){_0x23670f=_0x5198f9(0x1ee)===_0x260c7c?_0x39ba2f:_0x39ba2f+_0x2c6870[_0x5198f9(0x1e6)];break;}_0x39ba2f+=_0x2c6870[_0x5198f9(0x1e6)];}return DocumentPosition[_0x5198f9(0x1e8)](this[_0x5198f9(0x1dd)],this[_0x5198f9(0x1e9)],_0x23670f);}static[_0x171eca(0x1d3)](_0x1eb213,_0x591481){const _0x1a349f=_0x171eca;if(_0x11f3c4(_0x591481))return null;const _0x499925=_0x116f89(_0x591481);return DocumentPosition[_0x1a349f(0x1e8)](_0x1eb213,_0x499925,_0x457080(_0x499925)[_0x1a349f(0x1d7)](_0x591481)+0x1);}static[_0x171eca(0x1db)](_0x386918,_0x57ea47){const _0x2a04b0=_0x171eca;if(_0x11f3c4(_0x57ea47))return null;const _0x2b70d8=_0x116f89(_0x57ea47);return DocumentPosition[_0x2a04b0(0x1e8)](_0x386918,_0x2b70d8,_0x457080(_0x2b70d8)[_0x2a04b0(0x1d7)](_0x57ea47));}static[_0x171eca(0x1e8)](_0x49fec,_0x371054,_0x2bb66b=_0x171eca(0x1ee)){const _0x1e4088=_0x171eca;return new DocumentPosition(_0x49fec,_0x371054,_0x1e4088(0x1ee)===_0x2bb66b?0x0:_0x1e4088(0x1d4)===_0x2bb66b?_0x1ba5da(_0x371054)?_0x371054[_0x1e4088(0x1d5)][_0x1e4088(0x1e6)]:_0x457080(_0x371054)[_0x1e4088(0x1e6)]:_0x2bb66b);}static[_0x171eca(0x1d0)](_0xf2625a,_0x3580e9){const _0x4990a1=_0x171eca;if(!_0x3580e9[_0x4990a1(0x1e6)])throw new _0x391139(_0x4990a1(0x1dc),null,{'path':_0x3580e9});const _0x92c694=_0x3580e9[_0x4990a1(0x1d2)](0x0,-0x1)[_0x4990a1(0x1e2)]((_0x126395,_0x170620)=>_0x1ba5da(_0x126395)?_0x126395:_0x457080(_0x126395)[_0x170620],_0xf2625a);return DocumentPosition[_0x4990a1(0x1e8)](_0xf2625a,_0x92c694,_0x3580e9[_0x3580e9[_0x4990a1(0x1e6)]-0x1]);}}
23
+ function _0x133e(_0x4c4ea2,_0x488634){const _0x3b2438=_0x3b24();return _0x133e=function(_0x133e93,_0x311f03){_0x133e93=_0x133e93-0x105;let _0x57394d=_0x3b2438[_0x133e93];return _0x57394d;},_0x133e(_0x4c4ea2,_0x488634);}const _0x39d73a=_0x133e;(function(_0x157a2d,_0x2ac7a9){const _0x470f15=_0x133e,_0x5f44aa=_0x157a2d();while(!![]){try{const _0x58ec91=parseInt(_0x470f15(0x10e))/0x1+-parseInt(_0x470f15(0x113))/0x2*(parseInt(_0x470f15(0x10f))/0x3)+-parseInt(_0x470f15(0x11a))/0x4+-parseInt(_0x470f15(0x112))/0x5*(-parseInt(_0x470f15(0x10d))/0x6)+parseInt(_0x470f15(0x105))/0x7*(-parseInt(_0x470f15(0x11f))/0x8)+-parseInt(_0x470f15(0x108))/0x9+parseInt(_0x470f15(0x109))/0xa;if(_0x58ec91===_0x2ac7a9)break;else _0x5f44aa['push'](_0x5f44aa['shift']());}catch(_0x48555a){_0x5f44aa['push'](_0x5f44aa['shift']());}}}(_0x3b24,0x40a88));function _0x3b24(){const _0x1c3018=['ai-documentposition-index-out-of-bounds','ai-documentposition-createfrompath-path-cannot-be-empty','parent','2251926LkGPbT','147840otHqgR','180LgkhRe','data','previousNode','5EPTnVE','542kdTEXh','path','match','isEqual','createAt','end','getNudgedToWordBoundary','629992eWEqdD','nextNode','createAfter','start','createFromPath','16DDGcoe','same','reduce','slice','document','createBefore','indexOf','30695VkGtTQ','length','index','3798270IFKlgO','3462370IJSxtJ'];_0x3b24=function(){return _0x1c3018;};return _0x3b24();}import{CKEditorError as _0x37c6f5,compareArrays as _0x2918a6}from'ckeditor5/src/utils.js';import{getNodePath as _0x20fd33,isText as _0x412cb0,getChildren as _0x310cbe,isDocument as _0x4a8808,getParent as _0xe62f5c,textContent as _0x2af423,hasChildren as _0x35e938}from'./htmlparser.js';export class DocumentPosition{[_0x39d73a(0x10c)];[_0x39d73a(0x107)];[_0x39d73a(0x123)];constructor(_0x4b4bff,_0x1b2e96,_0x2d7fc5){const _0x2ac435=_0x39d73a;if(_0x412cb0(_0x1b2e96)&&_0x2d7fc5>_0x1b2e96[_0x2ac435(0x110)][_0x2ac435(0x106)])throw new _0x37c6f5(_0x2ac435(0x10a),null,{'index':_0x2d7fc5,'parent':_0x1b2e96});if(_0x35e938(_0x1b2e96)&&_0x2d7fc5>_0x310cbe(_0x1b2e96)[_0x2ac435(0x106)])throw new _0x37c6f5(_0x2ac435(0x10a),null,{'index':_0x2d7fc5,'parent':_0x1b2e96});if(_0x2d7fc5<0x0)throw new _0x37c6f5(_0x2ac435(0x10a),null,{'index':_0x2d7fc5,'parent':_0x1b2e96});this[_0x2ac435(0x10c)]=_0x1b2e96,this[_0x2ac435(0x107)]=_0x2d7fc5,this[_0x2ac435(0x123)]=_0x4b4bff;}get[_0x39d73a(0x114)](){const _0xf8b1db=_0x39d73a;return[..._0x20fd33(this[_0xf8b1db(0x10c)]),this[_0xf8b1db(0x107)]];}[_0x39d73a(0x116)](_0x20f1de){const _0x66a5e6=_0x39d73a;return this[_0x66a5e6(0x123)]==_0x20f1de[_0x66a5e6(0x123)]&&_0x66a5e6(0x120)===_0x2918a6(this[_0x66a5e6(0x114)],_0x20f1de[_0x66a5e6(0x114)]);}get[_0x39d73a(0x11b)](){const _0x5aac79=_0x39d73a;if(_0x35e938(this[_0x5aac79(0x10c)])){const _0x718eb3=_0x310cbe(this[_0x5aac79(0x10c)])[this[_0x5aac79(0x107)]];if(_0x718eb3)return _0x718eb3;{const _0x2db9d0=DocumentPosition[_0x5aac79(0x11c)](this[_0x5aac79(0x123)],this[_0x5aac79(0x10c)]);if(_0x2db9d0)return _0x2db9d0[_0x5aac79(0x11b)];}}return null;}get[_0x39d73a(0x111)](){const _0x3e0c6a=_0x39d73a;if(_0x35e938(this[_0x3e0c6a(0x10c)])){const _0xe744dc=_0x310cbe(this[_0x3e0c6a(0x10c)])[this[_0x3e0c6a(0x107)]-0x1];if(_0xe744dc)return _0xe744dc;{const _0x2c1aba=DocumentPosition[_0x3e0c6a(0x124)](this[_0x3e0c6a(0x123)],this[_0x3e0c6a(0x10c)]);if(_0x2c1aba)return _0x2c1aba[_0x3e0c6a(0x111)];}}return null;}[_0x39d73a(0x119)](_0x4fe242=_0x39d73a(0x11d)){const _0x3f3505=_0x39d73a;if(!_0x412cb0(this[_0x3f3505(0x10c)]))return this;const _0x3ab378=this[_0x3f3505(0x114)][this[_0x3f3505(0x114)][_0x3f3505(0x106)]-0x1],_0x25e84a=_0x2af423(this[_0x3f3505(0x10c)])[_0x3f3505(0x115)](/(?:\s*\S+\s*)/g);let _0x144059=0x0,_0x18d1fd=_0x3ab378;for(const _0x3a37ff of _0x25e84a){if(_0x144059+_0x3a37ff[_0x3f3505(0x106)]===_0x3ab378)return this;if(_0x144059+_0x3a37ff[_0x3f3505(0x106)]>_0x3ab378){_0x18d1fd=_0x3f3505(0x11d)===_0x4fe242?_0x144059:_0x144059+_0x3a37ff[_0x3f3505(0x106)];break;}_0x144059+=_0x3a37ff[_0x3f3505(0x106)];}return DocumentPosition[_0x3f3505(0x117)](this[_0x3f3505(0x123)],this[_0x3f3505(0x10c)],_0x18d1fd);}static[_0x39d73a(0x11c)](_0x94a5c7,_0xf8ef71){const _0x16a84a=_0x39d73a;if(_0x4a8808(_0xf8ef71))return null;const _0x1c57ab=_0xe62f5c(_0xf8ef71);return DocumentPosition[_0x16a84a(0x117)](_0x94a5c7,_0x1c57ab,_0x310cbe(_0x1c57ab)[_0x16a84a(0x125)](_0xf8ef71)+0x1);}static[_0x39d73a(0x124)](_0x4ece34,_0x31b387){const _0x523f8c=_0x39d73a;if(_0x4a8808(_0x31b387))return null;const _0x33312e=_0xe62f5c(_0x31b387);return DocumentPosition[_0x523f8c(0x117)](_0x4ece34,_0x33312e,_0x310cbe(_0x33312e)[_0x523f8c(0x125)](_0x31b387));}static[_0x39d73a(0x117)](_0x1c34fb,_0x40c4be,_0xc35851=_0x39d73a(0x11d)){const _0x4b0a70=_0x39d73a;return new DocumentPosition(_0x1c34fb,_0x40c4be,_0x4b0a70(0x11d)===_0xc35851?0x0:_0x4b0a70(0x118)===_0xc35851?_0x412cb0(_0x40c4be)?_0x40c4be[_0x4b0a70(0x110)][_0x4b0a70(0x106)]:_0x310cbe(_0x40c4be)[_0x4b0a70(0x106)]:_0xc35851);}static[_0x39d73a(0x11e)](_0x12e337,_0x5dbce4){const _0x5ede5b=_0x39d73a;if(!_0x5dbce4[_0x5ede5b(0x106)])throw new _0x37c6f5(_0x5ede5b(0x10b),null,{'path':_0x5dbce4});const _0x2eb252=_0x5dbce4[_0x5ede5b(0x122)](0x0,-0x1)[_0x5ede5b(0x121)]((_0x44a283,_0x435678)=>_0x412cb0(_0x44a283)?_0x44a283:_0x310cbe(_0x44a283)[_0x435678],_0x12e337);return DocumentPosition[_0x5ede5b(0x117)](_0x12e337,_0x2eb252,_0x5dbce4[_0x5dbce4[_0x5ede5b(0x106)]-0x1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x166e70=_0x10f1;function _0x43fb(){const _0x73da6e=['173042KKOaed','path','createAfter','includes','createAt','forEach','getContent','slice','nextNode','8maMQQS','1389753IRfZIo','document','59423HkyzXm','15iWCEit','95342dkKCxT','firstChild','length','8754720bBDKGP','parent','15ejhtwX','push','start','data','isEqual','end','previousNode','getNudgedToWordBoundary','2194000rFUcQd','lastChild','createFromPath','1587678BKJQjR','createBefore','reverse'];_0x43fb=function(){return _0x73da6e;};return _0x43fb();}(function(_0x283b35,_0x242712){const _0x3451f0=_0x10f1,_0x551b25=_0x283b35();while(!![]){try{const _0x4ca723=parseInt(_0x3451f0(0x103))/0x1+-parseInt(_0x3451f0(0x111))/0x2*(parseInt(_0x3451f0(0x116))/0x3)+parseInt(_0x3451f0(0xfd))/0x4+parseInt(_0x3451f0(0x110))/0x5*(-parseInt(_0x3451f0(0x100))/0x6)+-parseInt(_0x3451f0(0x10f))/0x7*(parseInt(_0x3451f0(0x10c))/0x8)+-parseInt(_0x3451f0(0x10d))/0x9+parseInt(_0x3451f0(0x114))/0xa;if(_0x4ca723===_0x242712)break;else _0x551b25['push'](_0x551b25['shift']());}catch(_0x5235ef){_0x551b25['push'](_0x551b25['shift']());}}}(_0x43fb,0x621fa));import{DocumentPosition as _0x4a4e48}from'./documentposition.js';function _0x10f1(_0x55354c,_0x1f9672){const _0x43fb60=_0x43fb();return _0x10f1=function(_0x10f108,_0x2331b6){_0x10f108=_0x10f108-0xfc;let _0x24abc3=_0x43fb60[_0x10f108];return _0x24abc3;},_0x10f1(_0x55354c,_0x1f9672);}import{clone as _0x56dac5,getParents as _0x448c6b,Document as _0xf683e0,Text as _0x57e005,isTag as _0x13491c,isText as _0x2ba4c1,replaceElement as _0x358cd7,removeElement as _0x378640}from'./htmlparser.js';export class DocumentRange{[_0x166e70(0x118)];[_0x166e70(0x11b)];constructor(_0x1aaae5,_0x196cac){const _0x2c49a5=_0x166e70;this[_0x2c49a5(0x118)]=_0x1aaae5,this[_0x2c49a5(0x11b)]=_0x196cac;}[_0x166e70(0x11a)](_0x349529){const _0x39f886=_0x166e70;return this==_0x349529||this[_0x39f886(0x118)][_0x39f886(0x11a)](_0x349529[_0x39f886(0x118)])&&this[_0x39f886(0x11b)][_0x39f886(0x11a)](_0x349529[_0x39f886(0x11b)]);}[_0x166e70(0xfc)](){const _0x2e92e4=_0x166e70;return new DocumentRange(this[_0x2e92e4(0x118)][_0x2e92e4(0xfc)](_0x2e92e4(0x118)),this[_0x2e92e4(0x11b)][_0x2e92e4(0xfc)](_0x2e92e4(0x11b)));}[_0x166e70(0x109)](){const _0x33821d=_0x166e70,_0x104fd3=_0x56dac5(this[_0x33821d(0x118)][_0x33821d(0x10e)]),_0x36adc9=_0x4a4e48[_0x33821d(0xff)](_0x104fd3,this[_0x33821d(0x118)][_0x33821d(0x104)]),_0x112858=_0x4a4e48[_0x33821d(0xff)](_0x104fd3,this[_0x33821d(0x11b)][_0x33821d(0x104)]);let _0x3e2cab,_0x2b1aa1;if(_0x2ba4c1(_0x36adc9[_0x33821d(0x115)])){const _0xf9de9d=_0x36adc9[_0x33821d(0x104)][_0x36adc9[_0x33821d(0x104)][_0x33821d(0x113)]-0x1],_0x94ad8d=new _0x57e005(_0x36adc9[_0x33821d(0x115)][_0x33821d(0x119)][_0x33821d(0x10a)](_0xf9de9d));_0x358cd7(_0x36adc9[_0x33821d(0x115)],_0x94ad8d),_0x3e2cab=_0x94ad8d;}else _0x3e2cab=_0x36adc9[_0x33821d(0x10b)];if(_0x2ba4c1(_0x112858[_0x33821d(0x115)])){const _0x43e7be=_0x112858[_0x33821d(0x104)][_0x112858[_0x33821d(0x104)][_0x33821d(0x113)]-0x1],_0x253735=new _0x57e005(_0x112858[_0x33821d(0x115)][_0x33821d(0x119)][_0x33821d(0x10a)](0x0,_0x43e7be));_0x358cd7(_0x112858[_0x33821d(0x115)],_0x253735),_0x2b1aa1=_0x253735;}else _0x2b1aa1=_0x112858[_0x33821d(0x11c)];if(!(_0x3e2cab&&_0x2b1aa1&&_0x104fd3[_0x33821d(0x112)]&&_0x104fd3[_0x33821d(0xfe)]))return new _0xf683e0([]);const _0x21ddc1=_0x448c6b(_0x3e2cab),_0x115403=_0x448c6b(_0x2b1aa1),_0x41b9ae=[],_0x3eba94=[];let _0x28861d=_0x104fd3[_0x33821d(0x112)];for(;_0x28861d&&_0x28861d!==_0x3e2cab;){let _0x1c7a1f;_0x21ddc1[_0x33821d(0x106)](_0x28861d)||_0x41b9ae[_0x33821d(0x117)](_0x28861d),_0x1c7a1f=_0x13491c(_0x28861d)?_0x4a4e48[_0x33821d(0x107)](_0x104fd3,_0x28861d,_0x33821d(0x118)):_0x4a4e48[_0x33821d(0x105)](_0x104fd3,_0x28861d),_0x28861d=_0x1c7a1f?_0x1c7a1f[_0x33821d(0x10b)]:null;}for(_0x28861d=_0x104fd3[_0x33821d(0xfe)];_0x28861d&&_0x28861d!==_0x2b1aa1;){let _0x5e81c3;_0x115403[_0x33821d(0x106)](_0x28861d)||_0x3eba94[_0x33821d(0x117)](_0x28861d),_0x5e81c3=_0x13491c(_0x28861d)?_0x4a4e48[_0x33821d(0x107)](_0x104fd3,_0x28861d,_0x33821d(0x11b)):_0x4a4e48[_0x33821d(0x101)](_0x104fd3,_0x28861d),_0x28861d=_0x5e81c3?_0x5e81c3[_0x33821d(0x11c)]:null;}return _0x41b9ae[_0x33821d(0x108)](_0x257564=>{_0x378640(_0x257564);}),_0x3eba94[_0x33821d(0x102)]()[_0x33821d(0x108)](_0x353033=>{_0x378640(_0x353033);}),_0x104fd3;}}
23
+ const _0x9d12be=_0x4925;(function(_0x4a056c,_0xc84fe2){const _0x213c82=_0x4925,_0x5ece83=_0x4a056c();while(!![]){try{const _0x603964=parseInt(_0x213c82(0x1bc))/0x1+parseInt(_0x213c82(0x1d0))/0x2*(-parseInt(_0x213c82(0x1b6))/0x3)+-parseInt(_0x213c82(0x1ce))/0x4+parseInt(_0x213c82(0x1bf))/0x5*(parseInt(_0x213c82(0x1bb))/0x6)+parseInt(_0x213c82(0x1d2))/0x7+parseInt(_0x213c82(0x1cd))/0x8*(-parseInt(_0x213c82(0x1c3))/0x9)+-parseInt(_0x213c82(0x1ca))/0xa*(-parseInt(_0x213c82(0x1be))/0xb);if(_0x603964===_0xc84fe2)break;else _0x5ece83['push'](_0x5ece83['shift']());}catch(_0x48fc8e){_0x5ece83['push'](_0x5ece83['shift']());}}}(_0x2cc0,0x5c60a));function _0x2cc0(){const _0x451d67=['getContent','24ktFkwg','31061xpDZql','createAfter','5218103IbFAZE','923755yyYCBx','reverse','getNudgedToWordBoundary','push','80361CmoFDE','createFromPath','parent','end','previousNode','createBefore','isEqual','10vHgSSX','forEach','firstChild','664bsEPWS','2007464ILpwug','length','94bmWVbQ','data','3921491ZNUwBJ','path','includes','start','nextNode','slice','11700wDWaEX','createAt','document','lastChild'];_0x2cc0=function(){return _0x451d67;};return _0x2cc0();}import{DocumentPosition as _0x32afbf}from'./documentposition.js';function _0x4925(_0x428ea6,_0x447500){const _0x2cc0cc=_0x2cc0();return _0x4925=function(_0x4925da,_0xc21c7a){_0x4925da=_0x4925da-0x1b3;let _0xa7671d=_0x2cc0cc[_0x4925da];return _0xa7671d;},_0x4925(_0x428ea6,_0x447500);}import{clone as _0xaaf349,getParents as _0x66b569,Document as _0x51d84e,Text as _0x4d5911,isTag as _0x4b3236,isText as _0x475300,replaceElement as _0x23f6a0,removeElement as _0x44dc58}from'./htmlparser.js';export class DocumentRange{[_0x9d12be(0x1b3)];[_0x9d12be(0x1c6)];constructor(_0x5606e9,_0x583e66){const _0x23d810=_0x9d12be;this[_0x23d810(0x1b3)]=_0x5606e9,this[_0x23d810(0x1c6)]=_0x583e66;}[_0x9d12be(0x1c9)](_0x57982d){const _0x257375=_0x9d12be;return this==_0x57982d||this[_0x257375(0x1b3)][_0x257375(0x1c9)](_0x57982d[_0x257375(0x1b3)])&&this[_0x257375(0x1c6)][_0x257375(0x1c9)](_0x57982d[_0x257375(0x1c6)]);}[_0x9d12be(0x1c1)](){const _0x228fd3=_0x9d12be;return new DocumentRange(this[_0x228fd3(0x1b3)][_0x228fd3(0x1c1)](_0x228fd3(0x1b3)),this[_0x228fd3(0x1c6)][_0x228fd3(0x1c1)](_0x228fd3(0x1c6)));}[_0x9d12be(0x1ba)](){const _0x219b0d=_0x9d12be,_0x40b9f9=_0xaaf349(this[_0x219b0d(0x1b3)][_0x219b0d(0x1b8)]),_0x56274e=_0x32afbf[_0x219b0d(0x1c4)](_0x40b9f9,this[_0x219b0d(0x1b3)][_0x219b0d(0x1d3)]),_0x4bf827=_0x32afbf[_0x219b0d(0x1c4)](_0x40b9f9,this[_0x219b0d(0x1c6)][_0x219b0d(0x1d3)]);let _0x5636d2,_0x36c448;if(_0x475300(_0x56274e[_0x219b0d(0x1c5)])){const _0x1dfb76=_0x56274e[_0x219b0d(0x1d3)][_0x56274e[_0x219b0d(0x1d3)][_0x219b0d(0x1cf)]-0x1],_0x3634f0=new _0x4d5911(_0x56274e[_0x219b0d(0x1c5)][_0x219b0d(0x1d1)][_0x219b0d(0x1b5)](_0x1dfb76));_0x23f6a0(_0x56274e[_0x219b0d(0x1c5)],_0x3634f0),_0x5636d2=_0x3634f0;}else _0x5636d2=_0x56274e[_0x219b0d(0x1b4)];if(_0x475300(_0x4bf827[_0x219b0d(0x1c5)])){const _0x296d7b=_0x4bf827[_0x219b0d(0x1d3)][_0x4bf827[_0x219b0d(0x1d3)][_0x219b0d(0x1cf)]-0x1],_0x12ff30=new _0x4d5911(_0x4bf827[_0x219b0d(0x1c5)][_0x219b0d(0x1d1)][_0x219b0d(0x1b5)](0x0,_0x296d7b));_0x23f6a0(_0x4bf827[_0x219b0d(0x1c5)],_0x12ff30),_0x36c448=_0x12ff30;}else _0x36c448=_0x4bf827[_0x219b0d(0x1c7)];if(!(_0x5636d2&&_0x36c448&&_0x40b9f9[_0x219b0d(0x1cc)]&&_0x40b9f9[_0x219b0d(0x1b9)]))return new _0x51d84e([]);const _0x4b7093=_0x66b569(_0x5636d2),_0x20c6d4=_0x66b569(_0x36c448),_0x3a3b09=[],_0x588687=[];let _0x436409=_0x40b9f9[_0x219b0d(0x1cc)];for(;_0x436409&&_0x436409!==_0x5636d2;){let _0x23dca5;_0x4b7093[_0x219b0d(0x1d4)](_0x436409)||_0x3a3b09[_0x219b0d(0x1c2)](_0x436409),_0x23dca5=_0x4b3236(_0x436409)?_0x32afbf[_0x219b0d(0x1b7)](_0x40b9f9,_0x436409,_0x219b0d(0x1b3)):_0x32afbf[_0x219b0d(0x1bd)](_0x40b9f9,_0x436409),_0x436409=_0x23dca5?_0x23dca5[_0x219b0d(0x1b4)]:null;}for(_0x436409=_0x40b9f9[_0x219b0d(0x1b9)];_0x436409&&_0x436409!==_0x36c448;){let _0xe92d97;_0x20c6d4[_0x219b0d(0x1d4)](_0x436409)||_0x588687[_0x219b0d(0x1c2)](_0x436409),_0xe92d97=_0x4b3236(_0x436409)?_0x32afbf[_0x219b0d(0x1b7)](_0x40b9f9,_0x436409,_0x219b0d(0x1c6)):_0x32afbf[_0x219b0d(0x1c8)](_0x40b9f9,_0x436409),_0x436409=_0xe92d97?_0xe92d97[_0x219b0d(0x1c7)]:null;}return _0x3a3b09[_0x219b0d(0x1cb)](_0x41dbc2=>{_0x44dc58(_0x41dbc2);}),_0x588687[_0x219b0d(0x1c0)]()[_0x219b0d(0x1cb)](_0x37e4e4=>{_0x44dc58(_0x37e4e4);}),_0x40b9f9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a28d7=_0xdc29;function _0xdc29(_0xe02a4b,_0x1e524b){const _0x39acca=_0x39ac();return _0xdc29=function(_0xdc29af,_0x3f8f44){_0xdc29af=_0xdc29af-0x111;let _0x4a2ffc=_0x39acca[_0xdc29af];return _0x4a2ffc;},_0xdc29(_0xe02a4b,_0x1e524b);}function _0x39ac(){const _0x66d2b2=['mouseOverSuggestion','26135340huzRVP','mouseLeaveSuggestion','applySuggestion','rejectSuggestion','3zokTQM','1099396hrsQQU','showChangeInText','14883374NNFSMi','10mnaolF','11859vmzits','217BMiVsZ','dislike','222294RYhQla','7142310acGLnq','insertSuggestion','50nOWLwq','210vGuWAv','157496ABEaEg','toggleSuggestionDisplayMode','like'];_0x39ac=function(){return _0x66d2b2;};return _0x39ac();}(function(_0xccbc81,_0x1441b4){const _0x2c88cd=_0xdc29,_0x25fa51=_0xccbc81();while(!![]){try{const _0x20ffbc=-parseInt(_0x2c88cd(0x121))/0x1*(parseInt(_0x2c88cd(0x113))/0x2)+-parseInt(_0x2c88cd(0x11c))/0x3*(-parseInt(_0x2c88cd(0x11d))/0x4)+parseInt(_0x2c88cd(0x112))/0x5*(-parseInt(_0x2c88cd(0x124))/0x6)+parseInt(_0x2c88cd(0x122))/0x7*(-parseInt(_0x2c88cd(0x114))/0x8)+-parseInt(_0x2c88cd(0x125))/0x9*(parseInt(_0x2c88cd(0x120))/0xa)+parseInt(_0x2c88cd(0x11f))/0xb+parseInt(_0x2c88cd(0x118))/0xc;if(_0x20ffbc===_0x1441b4)break;else _0x25fa51['push'](_0x25fa51['shift']());}catch(_0x5c7980){_0x25fa51['push'](_0x25fa51['shift']());}}}(_0x39ac,0xbff50));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x5a28d7(0x11e),_0x5a28d7(0x111),_0x5a28d7(0x11a),_0x5a28d7(0x11b),_0x5a28d7(0x117),_0x5a28d7(0x119),_0x5a28d7(0x115),_0x5a28d7(0x116),_0x5a28d7(0x123)];
23
+ function _0x9f63(){const _0x2eb8ca=['3162755lXoiLk','dislike','140jmgNtY','mouseOverSuggestion','insertSuggestion','1143725oqtTyi','toggleSuggestionDisplayMode','showChangeInText','like','410509nXvfLM','83763DLrosm','mouseLeaveSuggestion','applySuggestion','3903xOayXP','4363695dSfYiv','40oQWolk','rejectSuggestion','1208zXFhBr','6haEKSR','6469608oHUkME'];_0x9f63=function(){return _0x2eb8ca;};return _0x9f63();}function _0x5bd8(_0x2bc0e8,_0x2141cd){const _0x9f63f5=_0x9f63();return _0x5bd8=function(_0x5bd813,_0x3cdd44){_0x5bd813=_0x5bd813-0x1ab;let _0x2c945c=_0x9f63f5[_0x5bd813];return _0x2c945c;},_0x5bd8(_0x2bc0e8,_0x2141cd);}const _0x1b88a3=_0x5bd8;(function(_0x45a194,_0xa4a19a){const _0x11b2bd=_0x5bd8,_0xf8a4e7=_0x45a194();while(!![]){try{const _0x4691a6=parseInt(_0x11b2bd(0x1b6))/0x1+parseInt(_0x11b2bd(0x1ac))/0x2*(parseInt(_0x11b2bd(0x1be))/0x3)+parseInt(_0x11b2bd(0x1b0))/0x4+parseInt(_0x11b2bd(0x1b1))/0x5*(-parseInt(_0x11b2bd(0x1af))/0x6)+parseInt(_0x11b2bd(0x1ab))/0x7+parseInt(_0x11b2bd(0x1ae))/0x8*(-parseInt(_0x11b2bd(0x1bb))/0x9)+-parseInt(_0x11b2bd(0x1b3))/0xa*(parseInt(_0x11b2bd(0x1ba))/0xb);if(_0x4691a6===_0xa4a19a)break;else _0xf8a4e7['push'](_0xf8a4e7['shift']());}catch(_0xc7b42b){_0xf8a4e7['push'](_0xf8a4e7['shift']());}}}(_0x9f63,0xcf8ee));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x1b88a3(0x1b8),_0x1b88a3(0x1b5),_0x1b88a3(0x1bd),_0x1b88a3(0x1ad),_0x1b88a3(0x1b4),_0x1b88a3(0x1bc),_0x1b88a3(0x1b7),_0x1b88a3(0x1b9),_0x1b88a3(0x1b2)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1fd668,_0x3133ff){var _0x50ca17=_0x4811,_0x267190=_0x1fd668();while(!![]){try{var _0x212696=parseInt(_0x50ca17(0x1a9))/0x1+-parseInt(_0x50ca17(0x1a5))/0x2+-parseInt(_0x50ca17(0x1a7))/0x3+parseInt(_0x50ca17(0x1a6))/0x4+parseInt(_0x50ca17(0x19d))/0x5*(-parseInt(_0x50ca17(0x19c))/0x6)+parseInt(_0x50ca17(0x1a1))/0x7+parseInt(_0x50ca17(0x1a4))/0x8;if(_0x212696===_0x3133ff)break;else _0x267190['push'](_0x267190['shift']());}catch(_0x1fc3cf){_0x267190['push'](_0x267190['shift']());}}}(_0x277c,0xc3a18));import{CKEditorError as _0x494f0c}from'ckeditor5/src/utils.js';import{Editor as _0x1f6ba6}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x1e2109){var _0x2787be=_0x4811;if(_0x1e2109 instanceof _0x1f6ba6)return _0x1e2109;if(_0x1e2109?.[_0x2787be(0x19f)]&&_0x1e2109[_0x2787be(0x19f)][_0x2787be(0x1a3)](0x0))return _0x1e2109[_0x2787be(0x19f)][_0x2787be(0x19e)]>0x1&&console[_0x2787be(0x1a2)](_0x2787be(0x1a8)),_0x1e2109[_0x2787be(0x19f)][_0x2787be(0x1a3)](0x0);throw new _0x494f0c(_0x2787be(0x1a0));}function _0x4811(_0x32ed58,_0x250df7){var _0x277ce2=_0x277c();return _0x4811=function(_0x4811d,_0x4e4c2f){_0x4811d=_0x4811d-0x19c;var _0x1f4a99=_0x277ce2[_0x4811d];return _0x1f4a99;},_0x4811(_0x32ed58,_0x250df7);}function _0x277c(){var _0x5def13=['1027160wQQOQV','length','editors','ai-get-editor-from-context-no-editor','2258473zAbTXk','warn','get','6508832UitBRV','1747228hilizq','3037592Cehzez','1190877lRsXvh','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.','1203396pSILhY','30VdRgPa'];_0x277c=function(){return _0x5def13;};return _0x277c();}
23
+ (function(_0x4b8486,_0x5e7e48){var _0x470c72=_0x81b7,_0x368e4e=_0x4b8486();while(!![]){try{var _0x173ed5=parseInt(_0x470c72(0xce))/0x1+-parseInt(_0x470c72(0xd0))/0x2+-parseInt(_0x470c72(0xd5))/0x3+parseInt(_0x470c72(0xda))/0x4*(parseInt(_0x470c72(0xdc))/0x5)+-parseInt(_0x470c72(0xd8))/0x6*(parseInt(_0x470c72(0xd6))/0x7)+parseInt(_0x470c72(0xd7))/0x8*(-parseInt(_0x470c72(0xdb))/0x9)+parseInt(_0x470c72(0xcd))/0xa;if(_0x173ed5===_0x5e7e48)break;else _0x368e4e['push'](_0x368e4e['shift']());}catch(_0x28210c){_0x368e4e['push'](_0x368e4e['shift']());}}}(_0x452e,0xd0ec9));import{CKEditorError as _0x58df4c}from'ckeditor5/src/utils.js';import{Editor as _0x398224}from'ckeditor5/src/core.js';function _0x81b7(_0x258b6b,_0x341f4f){var _0x452ed6=_0x452e();return _0x81b7=function(_0x81b7a9,_0x3f1667){_0x81b7a9=_0x81b7a9-0xcd;var _0x4d5961=_0x452ed6[_0x81b7a9];return _0x4d5961;},_0x81b7(_0x258b6b,_0x341f4f);}export function getEditorFromContext(_0xc00eb4){var _0x113557=_0x81b7;if(_0xc00eb4 instanceof _0x398224)return _0xc00eb4;if(_0xc00eb4?.[_0x113557(0xd9)]&&_0xc00eb4[_0x113557(0xd9)][_0x113557(0xd2)](0x0))return _0xc00eb4[_0x113557(0xd9)][_0x113557(0xd3)]>0x1&&console[_0x113557(0xcf)](_0x113557(0xd4)),_0xc00eb4[_0x113557(0xd9)][_0x113557(0xd2)](0x0);throw new _0x58df4c(_0x113557(0xd1));}function _0x452e(){var _0x321f74=['194364cXpxRr','editors','9732lRJRRF','4326804PeJtBC','1965fvmpGZ','39426110tQolGO','646973QLMFvM','warn','3103682qgiWQf','ai-get-editor-from-context-no-editor','get','length','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.','3210291lnFvuu','343FxYgvL','8ZODEnw'];_0x452e=function(){return _0x321f74;};return _0x452e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4f660c,_0x455f1a){const _0x4b8fdd=_0x2b62,_0x17e110=_0x4f660c();while(!![]){try{const _0x155417=-parseInt(_0x4b8fdd(0xed))/0x1*(-parseInt(_0x4b8fdd(0xfe))/0x2)+parseInt(_0x4b8fdd(0xff))/0x3+-parseInt(_0x4b8fdd(0xee))/0x4*(-parseInt(_0x4b8fdd(0x107))/0x5)+parseInt(_0x4b8fdd(0xec))/0x6+parseInt(_0x4b8fdd(0xfd))/0x7+-parseInt(_0x4b8fdd(0xfc))/0x8*(parseInt(_0x4b8fdd(0xe3))/0x9)+-parseInt(_0x4b8fdd(0xf3))/0xa*(parseInt(_0x4b8fdd(0xe7))/0xb);if(_0x155417===_0x455f1a)break;else _0x17e110['push'](_0x17e110['shift']());}catch(_0x3b24e1){_0x17e110['push'](_0x17e110['shift']());}}}(_0x3cf0,0xaaba9));import{transformOperationSets as _0x18faa7}from'ckeditor5/src/engine.js';import{append as _0x5b444e,findByAttribute as _0x392dc0,prependChild as _0x32b81c,removeElement as _0x14d31f,serialize as _0x5c0eba}from'./htmlparser.js';function _0x2b62(_0x11e2c9,_0x4db92c){const _0x3cf030=_0x3cf0();return _0x2b62=function(_0x2b6262,_0xc92142){_0x2b6262=_0x2b6262-0xe3;let _0x9247e1=_0x3cf030[_0x2b6262];return _0x9247e1;},_0x2b62(_0x11e2c9,_0x4db92c);}export function getOperationsFromReply({editor:_0x485672,interaction:_0x4baf0f,reply:_0x5c2dd1,groups:_0x5154a6,transform:_0x365fae,documentCompare:_0x1ab056,documentCompareOptions:_0x10f4c6}){const _0x35ed9b=_0x2b62,_0x1d0dc2=_0x4baf0f[_0x35ed9b(0xf1)]();if(!_0x1d0dc2)return[];const _0x3457ce=_0x1d0dc2[_0x35ed9b(0x106)],_0x41072e=_0x1d0dc2[_0x35ed9b(0x103)],_0x13d4b7=_0x5c2dd1[_0x35ed9b(0xef)][_0x35ed9b(0xf7)](!0x0);for(const {changes:_0x12f390}of _0x5154a6){const _0x3c9b18=_0x12f390[_0x35ed9b(0xf0)](_0x3e5e04=>_0x35ed9b(0xf6)!=_0x3e5e04[_0x35ed9b(0xf5)])[_0x35ed9b(0xeb)](_0x1ec5d6=>_0x392dc0(_0x35ed9b(0xfa),_0x1ec5d6['id'],_0x13d4b7)),_0x237b00=_0x12f390[_0x35ed9b(0xf0)](_0x5f31fb=>_0x35ed9b(0xf8)!=_0x5f31fb[_0x35ed9b(0xf5)])[_0x35ed9b(0xeb)](_0x1e7f30=>_0x1e7f30[_0x35ed9b(0xfb)][_0x35ed9b(0xf7)](!0x0));let _0x3b0d19=null;if(_0x3c9b18[_0x35ed9b(0x101)]){_0x3b0d19=_0x3c9b18[0x0][_0x35ed9b(0xe9)];for(let _0x3a78f2=0x0;_0x3a78f2<_0x3c9b18[_0x35ed9b(0x101)];_0x3a78f2++)_0x14d31f(_0x3c9b18[_0x3a78f2]);}if(_0x237b00[_0x35ed9b(0x101)]){_0x3b0d19||(_0x12f390[0x0][_0x35ed9b(0xe5)]?_0x3b0d19=_0x392dc0(_0x35ed9b(0xfa),_0x12f390[0x0][_0x35ed9b(0xe5)],_0x13d4b7):(_0x3b0d19=_0x237b00[_0x35ed9b(0xe6)](),_0x32b81c(_0x13d4b7,_0x3b0d19)));for(let _0x291fba=0x0;_0x291fba<_0x237b00[_0x35ed9b(0x101)];_0x291fba++)_0x5b444e(_0x3b0d19,_0x237b00[_0x291fba]),_0x3b0d19=_0x237b00[_0x291fba];}}const _0x27599a=_0x5c0eba(_0x13d4b7),_0x4cd9a6=_0x1ab056[_0x35ed9b(0xf4)](_0x3457ce,_0x27599a,_0x10f4c6)[_0x35ed9b(0x108)]();if(_0x365fae){const _0x440c68=_0x485672[_0x35ed9b(0x109)][_0x35ed9b(0xea)][_0x35ed9b(0x100)][_0x35ed9b(0x108)](_0x41072e),_0x3bd21b={'document':_0x485672[_0x35ed9b(0x109)][_0x35ed9b(0xea)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x18faa7(_0x4cd9a6,_0x440c68,_0x3bd21b)[_0x35ed9b(0x104)];}return _0x4cd9a6;}export function fixMarkerOperationOldRange(_0x468862,_0x57cf42){const _0x59fd42=_0x2b62;if(_0x59fd42(0xf9)!=_0x57cf42[_0x59fd42(0xf5)])return;const _0x55d087=_0x468862[_0x59fd42(0x109)][_0x59fd42(0x105)][_0x59fd42(0x102)](_0x57cf42[_0x59fd42(0xe4)]);_0x55d087&&(_0x57cf42[_0x59fd42(0xf2)]=_0x55d087[_0x59fd42(0xe8)]());}function _0x3cf0(){const _0x2c61fb=['filter','getDocumentContext','oldRange','8334450zCXRJN','getDiff','type','new','cloneNode','removed','marker','data-id','node','2531056EtatWW','7772793MHdRxD','906XSWgLT','3585237WEtbFe','history','length','get','version','operationsA','markers','content','545oIPcJI','getOperations','model','9gHNunl','name','anchorId','shift','55DustIT','getRange','previousSibling','document','map','6833556YDsXRw','799QkxiSu','50516wnKEDf','documentContextContent'];_0x3cf0=function(){return _0x2c61fb;};return _0x3cf0();}
23
+ (function(_0x31c453,_0x5a3a17){const _0x5478f6=_0x55e6,_0x48c994=_0x31c453();while(!![]){try{const _0xaf589c=-parseInt(_0x5478f6(0x175))/0x1*(-parseInt(_0x5478f6(0x15e))/0x2)+-parseInt(_0x5478f6(0x179))/0x3*(-parseInt(_0x5478f6(0x16f))/0x4)+-parseInt(_0x5478f6(0x162))/0x5+parseInt(_0x5478f6(0x163))/0x6*(parseInt(_0x5478f6(0x170))/0x7)+parseInt(_0x5478f6(0x17f))/0x8+-parseInt(_0x5478f6(0x166))/0x9+parseInt(_0x5478f6(0x177))/0xa;if(_0xaf589c===_0x5a3a17)break;else _0x48c994['push'](_0x48c994['shift']());}catch(_0x1ef82a){_0x48c994['push'](_0x48c994['shift']());}}}(_0xc9e5,0xcbe51));import{transformOperationSets as _0x11b4d3}from'ckeditor5/src/engine.js';import{append as _0x154d49,findByAttribute as _0x1b02b4,prependChild as _0x3b2f98,removeElement as _0x425224,serialize as _0x2c2ae0}from'./htmlparser.js';function _0xc9e5(){const _0x42d7ff=['40dhqBtq','14RqJaAu','removed','documentContextContent','oldRange','document','17509sywSED','operationsA','10681240blqVnL','previousSibling','42735EaXtsH','filter','getDocumentContext','marker','name','model','2603136JcYyjw','map','markers','shift','cloneNode','86pZjsUi','version','get','type','6222740kFfeGB','2444388ihBpdW','length','anchorId','9215532BpbLiP','content','getDiff','data-id','new','node','getOperations','history','getRange'];_0xc9e5=function(){return _0x42d7ff;};return _0xc9e5();}export function getOperationsFromReply({editor:_0x19322c,interaction:_0x1e6320,reply:_0x425456,groups:_0x456b57,transform:_0xd389d8,documentCompare:_0x242bf6,documentCompareOptions:_0x3ada2c}){const _0xfe1526=_0x55e6,_0x1027ea=_0x1e6320[_0xfe1526(0x17b)]();if(!_0x1027ea)return[];const _0x3b7aab=_0x1027ea[_0xfe1526(0x167)],_0x5f1be1=_0x1027ea[_0xfe1526(0x15f)],_0x5b6bb4=_0x425456[_0xfe1526(0x172)][_0xfe1526(0x15d)](!0x0);for(const {changes:_0x3366f0}of _0x456b57){const _0x2034b9=_0x3366f0[_0xfe1526(0x17a)](_0x2f4953=>_0xfe1526(0x16a)!=_0x2f4953[_0xfe1526(0x161)])[_0xfe1526(0x180)](_0x54deef=>_0x1b02b4(_0xfe1526(0x169),_0x54deef['id'],_0x5b6bb4)),_0x2fde79=_0x3366f0[_0xfe1526(0x17a)](_0x249a45=>_0xfe1526(0x171)!=_0x249a45[_0xfe1526(0x161)])[_0xfe1526(0x180)](_0xc9f941=>_0xc9f941[_0xfe1526(0x16b)][_0xfe1526(0x15d)](!0x0));let _0x338ea1=null;if(_0x2034b9[_0xfe1526(0x164)]){_0x338ea1=_0x2034b9[0x0][_0xfe1526(0x178)];for(let _0x324a4f=0x0;_0x324a4f<_0x2034b9[_0xfe1526(0x164)];_0x324a4f++)_0x425224(_0x2034b9[_0x324a4f]);}if(_0x2fde79[_0xfe1526(0x164)]){_0x338ea1||(_0x3366f0[0x0][_0xfe1526(0x165)]?_0x338ea1=_0x1b02b4(_0xfe1526(0x169),_0x3366f0[0x0][_0xfe1526(0x165)],_0x5b6bb4):(_0x338ea1=_0x2fde79[_0xfe1526(0x182)](),_0x3b2f98(_0x5b6bb4,_0x338ea1)));for(let _0x1c9cc0=0x0;_0x1c9cc0<_0x2fde79[_0xfe1526(0x164)];_0x1c9cc0++)_0x154d49(_0x338ea1,_0x2fde79[_0x1c9cc0]),_0x338ea1=_0x2fde79[_0x1c9cc0];}}const _0x3727ac=_0x2c2ae0(_0x5b6bb4),_0xed5b12=_0x242bf6[_0xfe1526(0x168)](_0x3b7aab,_0x3727ac,_0x3ada2c)[_0xfe1526(0x16c)]();if(_0xd389d8){const _0xb4c72b=_0x19322c[_0xfe1526(0x17e)][_0xfe1526(0x174)][_0xfe1526(0x16d)][_0xfe1526(0x16c)](_0x5f1be1),_0x3ed654={'document':_0x19322c[_0xfe1526(0x17e)][_0xfe1526(0x174)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x11b4d3(_0xed5b12,_0xb4c72b,_0x3ed654)[_0xfe1526(0x176)];}return _0xed5b12;}function _0x55e6(_0xc3d97f,_0x1bd086){const _0xc9e596=_0xc9e5();return _0x55e6=function(_0x55e668,_0x234eb7){_0x55e668=_0x55e668-0x15d;let _0x2e5be4=_0xc9e596[_0x55e668];return _0x2e5be4;},_0x55e6(_0xc3d97f,_0x1bd086);}export function fixMarkerOperationOldRange(_0x4b322c,_0x5d0165){const _0x293706=_0x55e6;if(_0x293706(0x17c)!=_0x5d0165[_0x293706(0x161)])return;const _0x59cdc6=_0x4b322c[_0x293706(0x17e)][_0x293706(0x181)][_0x293706(0x160)](_0x5d0165[_0x293706(0x17d)]);_0x59cdc6&&(_0x5d0165[_0x293706(0x173)]=_0x59cdc6[_0x293706(0x16e)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2531(_0x30b758,_0x28517c){const _0x305477=_0x3054();return _0x2531=function(_0x25311f,_0x251f5b){_0x25311f=_0x25311f-0xd7;let _0x49518e=_0x305477[_0x25311f];return _0x49518e;},_0x2531(_0x30b758,_0x28517c);}(function(_0x3bcecf,_0x99dc97){const _0x1c69aa=_0x2531,_0x178cbd=_0x3bcecf();while(!![]){try{const _0x1c3f1a=-parseInt(_0x1c69aa(0xf9))/0x1*(parseInt(_0x1c69aa(0xda))/0x2)+-parseInt(_0x1c69aa(0xf2))/0x3*(parseInt(_0x1c69aa(0xfd))/0x4)+parseInt(_0x1c69aa(0xea))/0x5*(parseInt(_0x1c69aa(0xfc))/0x6)+-parseInt(_0x1c69aa(0x103))/0x7+-parseInt(_0x1c69aa(0x148))/0x8+parseInt(_0x1c69aa(0xf7))/0x9+parseInt(_0x1c69aa(0x131))/0xa;if(_0x1c3f1a===_0x99dc97)break;else _0x178cbd['push'](_0x178cbd['shift']());}catch(_0x59118a){_0x178cbd['push'](_0x178cbd['shift']());}}}(_0x3054,0xe4bcf));import{findOne as _0x16f414,getAttribute as _0x5d52d1,Document as _0x4f98b1,serialize as _0x6f2cc5,parse as _0x38aea5}from'./htmlparser.js';import{fixElementSuggestionRange as _0x1cf84d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3054(){const _0x5cb56b=['node','createRangeOn','start','slice','createRange','delete','28619190qetdlH','children','move','removeAttribute','nodeAfter','length','oldValue','newName','addOperation','createPositionFromPath','cloneNode','merge','focus','isRegisteredAttribute','marker','path','position','suggestion:deletion:','range','toNone','createSelection','POSITIVE_INFINITY','isBlock','13335656zlmyZw','new','_getTransformedByInsertion',':$aiSuggestion','getMovedRangeStart','schema','type','2EmaHDc','getDiff','suggestion:insertion:','getTransformedByOperation','addAttribute','getMinimalFlatRanges','_createFromRanges','stickiness','clone','SuggestionsConversion','reverse','$root','changes','change','element','DocumentCompare','5484905CkTIaB','isAfter','oldName','isObject','stringify','batch','root','modifySelection','1062483HLSNSp','splitPosition','moveTargetPosition','add','suggestion:attribute:','15908904hjPfMs','applyOperation','1208973hnxddU','removed','key','6ihspTB','4VSAVuF','_getTransformedByDeletion','index','set','getOperations','parse','10916878AXrsEV','$elementName','markers','createPositionAt','backward','model','$text','rename','map','parent','offset','isMarkedRemoveOperation','word','...','getShiftedBy','push','data-id','insert','isDocumentOperation','split','getFirstRange','isBefore','name','plugins','end','nodeBefore','data','howMany','textNode','get','suggestion:formatBlock:$fakeWrap:','newRange','sourcePosition','baseVersion','newValue','forward','changeAttribute','setTo','remove','targetPosition'];_0x3054=function(){return _0x5cb56b;};return _0x3054();}import{ModelRange as _0x1bdb0b,_DetachOperation as _0x178509,_removeFromModelNodeList as _0x3fad60,_insertIntoModelNodeList as _0xce4036}from'ckeditor5/src/engine.js';import{uid as _0x388c03}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x58ed20,changeGroups:_0x23d822,documentContextContent:_0x5a8105,showDiff:_0x4a8ac0,trimUnchanged:_0x8eae1b=!0x0}){const _0x5940ee=_0x2531;return _0x23d822[_0x5940ee(0x10b)](_0x32c9ee=>{const _0x36b23b=_0x5940ee,_0x1bbc5f=new _0x4f98b1([]),_0x313c35=new _0x4f98b1([]);for(const _0x457387 of _0x32c9ee[_0x36b23b(0xe6)])if(_0x4a8ac0&&_0x36b23b(0xfa)==_0x457387[_0x36b23b(0xd9)]||_0x313c35[_0x36b23b(0x132)][_0x36b23b(0x112)](_0x457387[_0x36b23b(0x12b)][_0x36b23b(0x13b)](!0x0)),_0x36b23b(0x149)!=_0x457387[_0x36b23b(0xd9)]&&(_0x4a8ac0||_0x36b23b(0xfa)!=_0x457387[_0x36b23b(0xd9)])){const _0x2ebc26=_0x16f414(_0x1fdd7a=>_0x5d52d1(_0x1fdd7a,_0x36b23b(0x113))==_0x457387['id'],_0x5a8105,!0x0);_0x2ebc26&&_0x1bbc5f[_0x36b23b(0x132)][_0x36b23b(0x112)](_0x2ebc26[_0x36b23b(0x13b)](!0x0));}const {content:_0x1cfcc6,hasChanges:_0x49324a}=function(_0x5813d1,_0x34ddde,_0x3dc8f9,_0xf8cdca,_0x57b738=!0x0){const _0x563a29=_0x36b23b,_0x307be1=_0x5813d1[_0x563a29(0x11a)][_0x563a29(0x120)](_0x563a29(0xe9)),_0xe804b=_0x6f2cc5(_0x34ddde),_0x4fb639=_0x6f2cc5(_0x3dc8f9),_0x1e3136=_0x5813d1[_0x563a29(0x11d)][_0x563a29(0x102)](_0xe804b,_0x563a29(0xe5)),_0x577687=_0x5813d1[_0x563a29(0x108)][_0x563a29(0x106)](_0x1e3136,0x0),_0x1f52b1=_0x307be1[_0x563a29(0xdb)](_0xe804b,_0x4fb639,{'anchor':_0x577687,'markDeletions':_0xf8cdca}),_0x1b44d1=_0x1f52b1[_0x563a29(0x101)]();if(0x0==_0x1b44d1[_0x563a29(0x136)])return{'content':_0x34ddde[_0x563a29(0x13b)](!0x0),'hasChanges':!0x1};_0xf8cdca?function(_0xc843b5,_0x5372ab,_0xb7de31){const _0x546cdb=_0x563a29;if(0x0==_0xc843b5[_0x546cdb(0x136)])return;const _0x2760d9=_0xb7de31[_0x546cdb(0x11a)][_0x546cdb(0x120)](_0x546cdb(0xe9)),_0xfdaf59=_0xb7de31[_0x546cdb(0x11a)][_0x546cdb(0x120)](_0x546cdb(0xe3));_0xb7de31[_0x546cdb(0x108)][_0x546cdb(0xe7)](_0x28ca92=>{const _0x18adbd=_0x546cdb,_0x3dabfc=new Set();for(let _0x52fafd=0x0;_0x52fafd<_0xc843b5[_0x18adbd(0x136)];_0x52fafd++){const _0x578c82=_0xc843b5[_0x52fafd];if(_0x578c82[_0x18adbd(0x124)]=null,_0x578c82[_0x18adbd(0x115)]=!0x1,_0x2760d9[_0x18adbd(0x10e)](_0x578c82)){const _0x4aaf95=_0x1cf84d(_0x578c82[_0x18adbd(0x122)],_0xb7de31[_0x18adbd(0x108)]),_0x47aee4=_0x18adbd(0x142)+_0x388c03()+_0x18adbd(0x14b);_0x5372ab[_0x18adbd(0x105)][_0x18adbd(0x100)](_0x47aee4,_0x4aaf95);}else switch(_0x578c82[_0x18adbd(0xd9)]){case _0x18adbd(0x10a):{if(_0x578c82[_0x18adbd(0xec)]==_0x578c82[_0x18adbd(0x138)])break;_0x28ca92[_0x18adbd(0xef)][_0x18adbd(0x139)](_0x578c82),_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0xf8)](_0x578c82);const _0x347e14=_0x18adbd(0x104),_0x3139e3=_0x578c82[_0x18adbd(0x141)],_0x34dafd=_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0x12f)](_0x3139e3,_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0x106)](_0x3139e3[_0x18adbd(0x135)],_0x18adbd(0x11b))),_0x54b699=_0x18adbd(0xf6)+_0x347e14+':'+_0x388c03()+_0x18adbd(0x14b);_0x5372ab[_0x18adbd(0x105)][_0x18adbd(0x100)](_0x54b699,_0x34dafd);break;}case _0x18adbd(0xde):case _0x18adbd(0x134):case _0x18adbd(0x127):{if(_0x578c82[_0x18adbd(0x137)]==_0x578c82[_0x18adbd(0x125)])break;_0x28ca92[_0x18adbd(0xef)][_0x18adbd(0x139)](_0x578c82),_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0xf8)](_0x578c82);const _0x5a3304=_0x578c82[_0x18adbd(0xfb)];if(!_0xfdaf59[_0x18adbd(0x13e)](_0x5a3304))break;const _0x3374d4=_0x1cf84d(_0x578c82[_0x18adbd(0x143)],_0xb7de31[_0x18adbd(0x108)]),_0x178b87=_0x18adbd(0xf6)+_0x5a3304+':'+_0x388c03()+_0x18adbd(0x14b);_0x5372ab[_0x18adbd(0x105)][_0x18adbd(0x100)](_0x178b87,_0x3374d4);break;}case _0x18adbd(0x114):{_0x28ca92[_0x18adbd(0xef)][_0x18adbd(0x139)](_0x578c82),_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0xf8)](_0x578c82);if(_0xc843b5[_0x52fafd+0x1]&&_0x18adbd(0x133)==_0xc843b5[_0x52fafd+0x1][_0x18adbd(0xd9)]){no(_0x5372ab,_0x578c82);break;}const _0x1f2ae7=_0x578c82[_0x18adbd(0x141)],_0x1035bf=_0x578c82[_0x18adbd(0x11e)],_0x44931d=_0x1cf84d(_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0x12f)](_0x1f2ae7,_0x1f2ae7[_0x18adbd(0x111)](_0x1035bf)),_0xb7de31[_0x18adbd(0x108)]),_0x164c14=_0x18adbd(0xdc)+_0x388c03()+_0x18adbd(0x14b);_0x5372ab[_0x18adbd(0x105)][_0x18adbd(0x100)](_0x164c14,_0x44931d);break;}case _0x18adbd(0x116):{_0x28ca92[_0x18adbd(0xef)][_0x18adbd(0x139)](_0x578c82),_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0xf8)](_0x578c82);const _0x2e85b4=_0x578c82[_0x18adbd(0xf3)],_0x4bf6eb=_0x578c82[_0x18adbd(0xf4)],_0x427b39=_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0x12f)](_0x2e85b4,_0x4bf6eb),_0x375782=_0x18adbd(0xdc)+_0x388c03()+_0x18adbd(0x14b);_0x5372ab[_0x18adbd(0x105)][_0x18adbd(0x100)](_0x375782,_0x427b39);break;}case _0x18adbd(0x133):{_0x28ca92[_0x18adbd(0xef)][_0x18adbd(0x139)](_0x578c82),_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0xf8)](_0x578c82),_0xc843b5[_0x52fafd-0x1]&&_0x18adbd(0x114)==_0xc843b5[_0x52fafd-0x1][_0x18adbd(0xd9)]&&no(_0x5372ab,_0x578c82);const _0x340604=_0x578c82[_0x18adbd(0xd7)](),_0x4a42cf=_0x578c82[_0x18adbd(0x11e)];for(let _0x2e33b9=0x0;_0x2e33b9<_0x4a42cf;_0x2e33b9++){const _0x1087b3=_0x340604[_0x18adbd(0x111)](_0x2e33b9)[_0x18adbd(0x135)];_0x3dabfc[_0x18adbd(0xf5)](_0x1087b3);}break;}case _0x18adbd(0x129):{const _0x359b48=_0x578c82[_0x18adbd(0x123)],_0xdb3e2b=_0x578c82[_0x18adbd(0x11e)],_0x3667c7=new _0x178509(_0x359b48,_0xdb3e2b);_0x28ca92[_0x18adbd(0xef)][_0x18adbd(0x139)](_0x3667c7),_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0xf8)](_0x3667c7);break;}}}for(const _0x39fabc of _0x3dabfc){const _0x2224f5=_0xb7de31[_0x18adbd(0x108)][_0x18adbd(0x12c)](_0x39fabc),_0x5449a4=_0x18adbd(0x121)+_0x388c03()+_0x18adbd(0x14b);_0x5372ab[_0x18adbd(0x105)][_0x18adbd(0x100)](_0x5449a4,_0x1cf84d(_0x2224f5,_0xb7de31[_0x18adbd(0x108)]));}});}(_0x1b44d1,_0x1e3136,_0x5813d1):_0x5813d1[_0x563a29(0x108)][_0x563a29(0xe7)](_0x34969d=>{const _0x2c5832=_0x563a29;for(const _0x37a59a of _0x1b44d1)if(_0x2c5832(0x129)==_0x37a59a[_0x2c5832(0xd9)]){const _0x11f5ad=_0x37a59a[_0x2c5832(0x123)],_0x303f22=_0x37a59a[_0x2c5832(0x11e)],_0x2b398e=new _0x178509(_0x11f5ad,_0x303f22);_0x34969d[_0x2c5832(0xef)][_0x2c5832(0x139)](_0x2b398e),_0x5813d1[_0x2c5832(0x108)][_0x2c5832(0xf8)](_0x2b398e);}else{if(_0x2c5832(0x13f)==_0x37a59a[_0x2c5832(0xd9)]){const _0x46a1c0=_0x37a59a[_0x2c5832(0x119)],_0x28265f=_0x37a59a[_0x2c5832(0x122)];null!==_0x28265f?_0x1e3136[_0x2c5832(0x105)][_0x2c5832(0x100)](_0x46a1c0,_0x28265f):_0x1e3136[_0x2c5832(0x105)][_0x2c5832(0x130)](_0x46a1c0);}else _0x37a59a[_0x2c5832(0x124)]=null,_0x37a59a[_0x2c5832(0x115)]=!0x1,_0x34969d[_0x2c5832(0xef)][_0x2c5832(0x139)](_0x37a59a),_0x5813d1[_0x2c5832(0x108)][_0x2c5832(0xf8)](_0x37a59a);}});if(_0x57b738){const _0x424540=getMinimalSelection(_0x5813d1,_0x1b44d1,_0x1e3136);expandSelectionWithContext(_0x5813d1[_0x563a29(0x108)],_0x424540),function(_0x571497,_0x324509){const _0x3a6235=_0x563a29,_0x69a35=_0x324509[_0x3a6235(0x117)]()[_0x3a6235(0x12d)];let _0x230fae=_0x324509[_0x3a6235(0x117)]()[_0x3a6235(0x11b)];const _0xdead35=_0x69a35[_0x3a6235(0xf0)];(_0x230fae[_0x3a6235(0x11f)]||_0x230fae[_0x3a6235(0x135)]&&_0x230fae[_0x3a6235(0x135)]['is'](_0x3a6235(0x109)))&&(_0xce4036(_0x230fae,_0x3a6235(0x110)),_0x230fae=_0x230fae[_0x3a6235(0x111)](0x3)),(_0x69a35[_0x3a6235(0x11f)]||_0x69a35[_0x3a6235(0x11c)]&&_0x69a35[_0x3a6235(0x11c)]['is'](_0x3a6235(0x109)))&&(_0xce4036(_0x69a35,_0x3a6235(0x110)),function(_0x4d5322,_0x8f7f9a,_0x4ef7a9){const _0x1ba9eb=_0x3a6235;for(let [_0x59f2ab,_0x2344c4]of _0x4d5322[_0x1ba9eb(0x105)]){const _0x3da63b=_0x2344c4[_0x1ba9eb(0x14a)](_0x8f7f9a,_0x4ef7a9,!0x1);_0x2344c4=_0x3da63b[0x0],_0x4d5322[_0x1ba9eb(0x105)][_0x1ba9eb(0x100)](_0x59f2ab,_0x2344c4);}}(_0xdead35,_0x69a35,0x3),_0x69a35[_0x3a6235(0x10c)]==_0x230fae[_0x3a6235(0x10c)]&&(_0x230fae=_0x230fae[_0x3a6235(0x111)](0x3)));const _0x8d3bd4=_0x571497[_0x3a6235(0x12f)](_0x571497[_0x3a6235(0x106)](_0xdead35,0x0),_0x69a35),_0x64ca53=_0x571497[_0x3a6235(0x12f)](_0x230fae,_0x571497[_0x3a6235(0x106)](_0xdead35,_0x3a6235(0x11b))),_0x395a7e=[..._0x8d3bd4[_0x3a6235(0xdf)](),..._0x64ca53[_0x3a6235(0xdf)]()];_0x395a7e[_0x3a6235(0xe4)]();for(const _0x3c9733 of _0x395a7e)_0x3fad60(_0x3c9733),_transformMarkersByDeletion(_0xdead35,_0x3c9733);}(_0x5813d1[_0x563a29(0x108)],_0x424540);}const _0x22008a=_0x5813d1[_0x563a29(0x11d)][_0x563a29(0xee)](_0x1e3136,{'showSuggestionHighlights':!0x0});return{'content':_0x38aea5(_0x22008a),'hasChanges':!0x0};}(_0x58ed20,_0x1bbc5f,_0x313c35,_0x4a8ac0,_0x8eae1b);return{'type':_0x32c9ee[_0x36b23b(0xe6)][0x0][_0x36b23b(0xd9)],'index':_0x32c9ee[_0x36b23b(0xff)],'content':_0x1cfcc6,'hasChanges':_0x49324a};});}function no(_0x2c7d07,_0x318663){const _0x5c49ab=_0x2531;for(const [_0x16dd9b,_0x2b76c2]of _0x2c7d07[_0x5c49ab(0x105)]){const _0x3f2161=_0x1bdb0b[_0x5c49ab(0xe0)](_0x2b76c2[_0x5c49ab(0xdd)](_0x318663));_0x2c7d07[_0x5c49ab(0x105)][_0x5c49ab(0x100)](_0x16dd9b,_0x3f2161);}}export function getMinimalSelection(_0x30a423,_0x375b50,_0x346c7f){const _0x47ce4f=_0x2531,_0x3cb1b8=_0x30a423[_0x47ce4f(0x11a)][_0x47ce4f(0x120)](_0x47ce4f(0xe9));let _0x3eaf6f=_0x30a423[_0x47ce4f(0x108)][_0x47ce4f(0x106)](_0x346c7f,Number[_0x47ce4f(0x146)]),_0x42ae7e=_0x30a423[_0x47ce4f(0x108)][_0x47ce4f(0x106)](_0x346c7f,0x0);for(const _0x13c3ec of _0x375b50){let _0x465a66,_0x53c42a;if(_0x3cb1b8[_0x47ce4f(0x10e)](_0x13c3ec))_0x465a66=_0x13c3ec[_0x47ce4f(0x122)][_0x47ce4f(0x12d)],_0x53c42a=_0x13c3ec[_0x47ce4f(0x122)][_0x47ce4f(0x11b)];else switch(_0x3eaf6f=_0x3eaf6f[_0x47ce4f(0xdd)](_0x13c3ec),_0x42ae7e=_0x42ae7e[_0x47ce4f(0xdd)](_0x13c3ec),_0x13c3ec[_0x47ce4f(0xd9)]){case _0x47ce4f(0x10a):_0x465a66=_0x13c3ec[_0x47ce4f(0x141)],_0x53c42a=_0x465a66[_0x47ce4f(0x111)](0x1);break;case _0x47ce4f(0xde):case _0x47ce4f(0x134):case _0x47ce4f(0x127):_0x465a66=_0x13c3ec[_0x47ce4f(0x143)][_0x47ce4f(0x12d)],_0x53c42a=_0x13c3ec[_0x47ce4f(0x143)][_0x47ce4f(0x11b)];break;case _0x47ce4f(0x114):_0x465a66=_0x13c3ec[_0x47ce4f(0x141)],_0x53c42a=_0x465a66[_0x47ce4f(0x111)](_0x13c3ec[_0x47ce4f(0x11e)]);break;case _0x47ce4f(0x116):_0x465a66=_0x13c3ec[_0x47ce4f(0xf3)],_0x53c42a=_0x13c3ec[_0x47ce4f(0xf4)];break;case _0x47ce4f(0x13c):{const _0x29f67d=_0x13c3ec[_0x47ce4f(0x12a)][_0x47ce4f(0x140)][_0x47ce4f(0x12e)](0x0,-0x1);_0x465a66=_0x30a423[_0x47ce4f(0x108)][_0x47ce4f(0x13a)](_0x346c7f,_0x29f67d),_0x53c42a=_0x465a66[_0x47ce4f(0x111)](0x1);break;}case _0x47ce4f(0x129):{const _0x1826ba=_0x13c3ec[_0x47ce4f(0x11e)],_0x5be453=_0x13c3ec[_0x47ce4f(0x123)][_0x47ce4f(0x14a)](_0x13c3ec[_0x47ce4f(0x12a)],_0x1826ba),_0x26b601=_0x13c3ec[_0x47ce4f(0xd7)]();_0x47ce4f(0x129)==_0x13c3ec[_0x47ce4f(0xd9)]?(_0x465a66=_0x5be453,_0x53c42a=_0x5be453):(_0x465a66=_0x26b601,_0x53c42a=_0x26b601[_0x47ce4f(0x111)](_0x1826ba));break;}}_0x465a66&&_0x465a66[_0x47ce4f(0x118)](_0x3eaf6f)&&(_0x3eaf6f=_0x465a66[_0x47ce4f(0xe2)](),_0x3eaf6f[_0x47ce4f(0xe1)]=_0x47ce4f(0x144)),_0x53c42a&&_0x53c42a[_0x47ce4f(0xeb)](_0x42ae7e)&&(_0x42ae7e=_0x53c42a[_0x47ce4f(0xe2)](),_0x42ae7e[_0x47ce4f(0xe1)]=_0x47ce4f(0x144));}return _0x30a423[_0x47ce4f(0x108)][_0x47ce4f(0x145)](_0x30a423[_0x47ce4f(0x108)][_0x47ce4f(0x12f)](_0x3eaf6f,_0x42ae7e));}export function expandSelectionWithContext(_0xf3a2f5,_0x11ba32){const _0x320670=_0x2531;ro(_0xf3a2f5,_0x11ba32,_0x320670(0x126));const _0x15e3cf=_0x11ba32[_0x320670(0x117)]();_0x11ba32[_0x320670(0x128)]([]),_0x11ba32[_0x320670(0x128)](_0x15e3cf,{'backward':!0x0}),ro(_0xf3a2f5,_0x11ba32,_0x320670(0x107));}function ro(_0x72ca5e,_0x4b4392,_0x4ec267){const _0x27b6f6=_0x2531;let _0x294d1c=0x14;for(;_0x294d1c;){_0x72ca5e[_0x27b6f6(0xf1)](_0x4b4392,{'unit':_0x27b6f6(0x10f),'direction':_0x4ec267}),_0x294d1c--;const _0x3e82b5=_0x4b4392[_0x27b6f6(0x13d)][_0x27b6f6(0x126)==_0x4ec267?_0x27b6f6(0x11c):_0x27b6f6(0x135)];if(_0x3e82b5&&_0x3e82b5['is'](_0x27b6f6(0xe8))&&_0x72ca5e[_0x27b6f6(0xd8)][_0x27b6f6(0x147)](_0x3e82b5)&&_0x72ca5e[_0x27b6f6(0xd8)][_0x27b6f6(0xed)](_0x3e82b5))break;}}export function _transformMarkersByDeletion(_0x129be5,_0x51c137){const _0x389ed3=_0x2531;for(const [_0x462922,_0x2cde79]of _0x129be5[_0x389ed3(0x105)]){const _0x1bbdf8=_0x2cde79[_0x389ed3(0xfe)](_0x51c137[_0x389ed3(0x12d)],_0x51c137[_0x389ed3(0x11b)][_0x389ed3(0x10d)]-_0x51c137[_0x389ed3(0x12d)][_0x389ed3(0x10d)]);null!=_0x1bbdf8?_0x129be5[_0x389ed3(0x105)][_0x389ed3(0x100)](_0x462922,_0x1bbdf8):_0x129be5[_0x389ed3(0x105)][_0x389ed3(0x130)](_0x462922);}}
23
+ (function(_0x4bf4e0,_0x1b41e8){const _0x408588=_0xa6fe,_0x44246e=_0x4bf4e0();while(!![]){try{const _0x4c74fd=-parseInt(_0x408588(0xcd))/0x1*(parseInt(_0x408588(0xae))/0x2)+-parseInt(_0x408588(0x8c))/0x3+parseInt(_0x408588(0xa1))/0x4+parseInt(_0x408588(0xb5))/0x5*(-parseInt(_0x408588(0xdc))/0x6)+parseInt(_0x408588(0xc5))/0x7+-parseInt(_0x408588(0x9f))/0x8*(parseInt(_0x408588(0x98))/0x9)+parseInt(_0x408588(0xc0))/0xa;if(_0x4c74fd===_0x1b41e8)break;else _0x44246e['push'](_0x44246e['shift']());}catch(_0x570476){_0x44246e['push'](_0x44246e['shift']());}}}(_0xdbfe,0xbf4ab));import{findOne as _0x454019,getAttribute as _0x3b1a41,Document as _0x37cc74,serialize as _0x1977da,parse as _0x438b93}from'./htmlparser.js';import{fixElementSuggestionRange as _0x47eb8e}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x118c4b,_DetachOperation as _0xf852b7,_removeFromModelNodeList as _0xa2a93b,_insertIntoModelNodeList as _0x12f4c1}from'ckeditor5/src/engine.js';import{uid as _0x49269a}from'ckeditor5/src/utils.js';function _0xdbfe(){const _0x6e616d=['path','_createFromRanges','addOperation','offset','range','start','rename','parse','plugins','parent','name','$text','marker','changeAttribute','baseVersion','_getTransformedByInsertion','slice','isRegisteredAttribute','newName','getDiff','reverse','nodeBefore','batch','isObject','focus','createSelection','add','oldName','index','createRangeOn','isBlock','createPositionAt','delete','665067yjDmbL','end','forward','suggestion:attribute:','insert','cloneNode','getOperations','root','DocumentCompare','newRange','getMovedRangeStart','length','3554541oULioq','suggestion:formatBlock:$fakeWrap:','stringify','suggestion:insertion:',':$aiSuggestion','isDocumentOperation','setTo','8QKNZBp','set','3463680lDwlqJ','suggestion:deletion:','get','isMarkedRemoveOperation','clone','getMinimalFlatRanges','removed','$elementName','type','getTransformedByOperation','nodeAfter','toNone','addAttribute','104OMoGxB','map','remove','split','targetPosition','$root','element','155bVLqpz','SuggestionsConversion','word','applyOperation','...','change','node','push','schema','new','move','18339000HkMJtR','sourcePosition','children','modifySelection','POSITIVE_INFINITY','1426544PIIqZp','changes','textNode','markers','position','createRange','getShiftedBy','key','19576rZuwNy','newValue','merge','oldValue','getFirstRange','isAfter','moveTargetPosition','stickiness','data-id','splitPosition','isBefore','_getTransformedByDeletion','removeAttribute','data','backward','93966DHinKN','model','createPositionFromPath','howMany'];_0xdbfe=function(){return _0x6e616d;};return _0xdbfe();}export function getSuggestionPartsFromReply({editor:_0x5a9a42,changeGroups:_0x354103,documentContextContent:_0x261453,showDiff:_0x123f3a,trimUnchanged:_0x4c3e8f=!0x0}){const _0x4357df=_0xa6fe;return _0x354103[_0x4357df(0xaf)](_0x869790=>{const _0x20c9a2=_0x4357df,_0xb19e36=new _0x37cc74([]),_0x3f62f1=new _0x37cc74([]);for(const _0x5d786d of _0x869790[_0x20c9a2(0xc6)])if(_0x123f3a&&_0x20c9a2(0xa7)==_0x5d786d[_0x20c9a2(0xa9)]||_0x3f62f1[_0x20c9a2(0xc2)][_0x20c9a2(0xbc)](_0x5d786d[_0x20c9a2(0xbb)][_0x20c9a2(0x91)](!0x0)),_0x20c9a2(0xbe)!=_0x5d786d[_0x20c9a2(0xa9)]&&(_0x123f3a||_0x20c9a2(0xa7)!=_0x5d786d[_0x20c9a2(0xa9)])){const _0x589879=_0x454019(_0x478b9e=>_0x3b1a41(_0x478b9e,_0x20c9a2(0xd5))==_0x5d786d['id'],_0x261453,!0x0);_0x589879&&_0xb19e36[_0x20c9a2(0xc2)][_0x20c9a2(0xbc)](_0x589879[_0x20c9a2(0x91)](!0x0));}const {content:_0x14e6c8,hasChanges:_0x53738d}=function(_0x50bdc3,_0x5bb786,_0x5dbeb9,_0x27e0fd,_0x474f88=!0x0){const _0x1f709c=_0x20c9a2,_0x5c8916=_0x50bdc3[_0x1f709c(0xe8)][_0x1f709c(0xa3)](_0x1f709c(0x94)),_0x48e714=_0x1977da(_0x5bb786),_0x1c6088=_0x1977da(_0x5dbeb9),_0x719699=_0x50bdc3[_0x1f709c(0xda)][_0x1f709c(0xe7)](_0x48e714,_0x1f709c(0xb3)),_0x39f4ac=_0x50bdc3[_0x1f709c(0xdd)][_0x1f709c(0x8a)](_0x719699,0x0),_0x146373=_0x5c8916[_0x1f709c(0xf3)](_0x48e714,_0x1c6088,{'anchor':_0x39f4ac,'markDeletions':_0x27e0fd}),_0x3670a9=_0x146373[_0x1f709c(0x92)]();if(0x0==_0x3670a9[_0x1f709c(0x97)])return{'content':_0x5bb786[_0x1f709c(0x91)](!0x0),'hasChanges':!0x1};_0x27e0fd?function(_0x3667a0,_0x1772af,_0x39e8b5){const _0x1df004=_0x1f709c;if(0x0==_0x3667a0[_0x1df004(0x97)])return;const _0x44dbe3=_0x39e8b5[_0x1df004(0xe8)][_0x1df004(0xa3)](_0x1df004(0x94)),_0x523743=_0x39e8b5[_0x1df004(0xe8)][_0x1df004(0xa3)](_0x1df004(0xb6));_0x39e8b5[_0x1df004(0xdd)][_0x1df004(0xba)](_0x2de90f=>{const _0x2a17ce=_0x1df004,_0x143dcc=new Set();for(let _0x35988e=0x0;_0x35988e<_0x3667a0[_0x2a17ce(0x97)];_0x35988e++){const _0x23fc8c=_0x3667a0[_0x35988e];if(_0x23fc8c[_0x2a17ce(0xee)]=null,_0x23fc8c[_0x2a17ce(0x9d)]=!0x1,_0x44dbe3[_0x2a17ce(0xa4)](_0x23fc8c)){const _0x30aa01=_0x47eb8e(_0x23fc8c[_0x2a17ce(0x95)],_0x39e8b5[_0x2a17ce(0xdd)]),_0x2c5999=_0x2a17ce(0xa2)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x2c5999,_0x30aa01);}else switch(_0x23fc8c[_0x2a17ce(0xa9)]){case _0x2a17ce(0xe6):{if(_0x23fc8c[_0x2a17ce(0x86)]==_0x23fc8c[_0x2a17ce(0xf2)])break;_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x3138c0=_0x2a17ce(0xa8),_0x5f2ccc=_0x23fc8c[_0x2a17ce(0xc9)],_0x3b2f6f=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x5f2ccc,_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0x8a)](_0x5f2ccc[_0x2a17ce(0xab)],_0x2a17ce(0x8d))),_0x344f7b=_0x2a17ce(0x8f)+_0x3138c0+':'+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x344f7b,_0x3b2f6f);break;}case _0x2a17ce(0xad):case _0x2a17ce(0xd9):case _0x2a17ce(0xed):{if(_0x23fc8c[_0x2a17ce(0xd0)]==_0x23fc8c[_0x2a17ce(0xce)])break;_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x4c9110=_0x23fc8c[_0x2a17ce(0xcc)];if(!_0x523743[_0x2a17ce(0xf1)](_0x4c9110))break;const _0x3f6e51=_0x47eb8e(_0x23fc8c[_0x2a17ce(0xe4)],_0x39e8b5[_0x2a17ce(0xdd)]),_0x2abd4d=_0x2a17ce(0x8f)+_0x4c9110+':'+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x2abd4d,_0x3f6e51);break;}case _0x2a17ce(0x90):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);if(_0x3667a0[_0x35988e+0x1]&&_0x2a17ce(0xbf)==_0x3667a0[_0x35988e+0x1][_0x2a17ce(0xa9)]){no(_0x1772af,_0x23fc8c);break;}const _0x3690b7=_0x23fc8c[_0x2a17ce(0xc9)],_0x1228b4=_0x23fc8c[_0x2a17ce(0xdf)],_0x4ccb47=_0x47eb8e(_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x3690b7,_0x3690b7[_0x2a17ce(0xcb)](_0x1228b4)),_0x39e8b5[_0x2a17ce(0xdd)]),_0x9c7249=_0x2a17ce(0x9b)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x9c7249,_0x4ccb47);break;}case _0x2a17ce(0xb1):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x5165d7=_0x23fc8c[_0x2a17ce(0xd6)],_0x418b92=_0x23fc8c[_0x2a17ce(0xd3)],_0x2ad587=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x5165d7,_0x418b92),_0x85f9cd=_0x2a17ce(0x9b)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x85f9cd,_0x2ad587);break;}case _0x2a17ce(0xbf):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c),_0x3667a0[_0x35988e-0x1]&&_0x2a17ce(0x90)==_0x3667a0[_0x35988e-0x1][_0x2a17ce(0xa9)]&&no(_0x1772af,_0x23fc8c);const _0x24a6b8=_0x23fc8c[_0x2a17ce(0x96)](),_0x517441=_0x23fc8c[_0x2a17ce(0xdf)];for(let _0x57661c=0x0;_0x57661c<_0x517441;_0x57661c++){const _0x594ba2=_0x24a6b8[_0x2a17ce(0xcb)](_0x57661c)[_0x2a17ce(0xab)];_0x143dcc[_0x2a17ce(0x85)](_0x594ba2);}break;}case _0x2a17ce(0xb0):{const _0x1fe45f=_0x23fc8c[_0x2a17ce(0xc1)],_0x4e9059=_0x23fc8c[_0x2a17ce(0xdf)],_0x59e627=new _0xf852b7(_0x1fe45f,_0x4e9059);_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x59e627),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x59e627);break;}}}for(const _0x2c3584 of _0x143dcc){const _0x25d66a=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0x88)](_0x2c3584),_0x54b4f5=_0x2a17ce(0x99)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x54b4f5,_0x47eb8e(_0x25d66a,_0x39e8b5[_0x2a17ce(0xdd)]));}});}(_0x3670a9,_0x719699,_0x50bdc3):_0x50bdc3[_0x1f709c(0xdd)][_0x1f709c(0xba)](_0x2fe660=>{const _0x2eba34=_0x1f709c;for(const _0x56ee38 of _0x3670a9)if(_0x2eba34(0xb0)==_0x56ee38[_0x2eba34(0xa9)]){const _0x2c9380=_0x56ee38[_0x2eba34(0xc1)],_0x22ec57=_0x56ee38[_0x2eba34(0xdf)],_0x2bdb70=new _0xf852b7(_0x2c9380,_0x22ec57);_0x2fe660[_0x2eba34(0xf6)][_0x2eba34(0xe2)](_0x2bdb70),_0x50bdc3[_0x2eba34(0xdd)][_0x2eba34(0xb8)](_0x2bdb70);}else{if(_0x2eba34(0xec)==_0x56ee38[_0x2eba34(0xa9)]){const _0x1c4e3f=_0x56ee38[_0x2eba34(0xea)],_0x4e5d44=_0x56ee38[_0x2eba34(0x95)];null!==_0x4e5d44?_0x719699[_0x2eba34(0xc8)][_0x2eba34(0xa0)](_0x1c4e3f,_0x4e5d44):_0x719699[_0x2eba34(0xc8)][_0x2eba34(0x8b)](_0x1c4e3f);}else _0x56ee38[_0x2eba34(0xee)]=null,_0x56ee38[_0x2eba34(0x9d)]=!0x1,_0x2fe660[_0x2eba34(0xf6)][_0x2eba34(0xe2)](_0x56ee38),_0x50bdc3[_0x2eba34(0xdd)][_0x2eba34(0xb8)](_0x56ee38);}});if(_0x474f88){const _0x51de64=getMinimalSelection(_0x50bdc3,_0x3670a9,_0x719699);expandSelectionWithContext(_0x50bdc3[_0x1f709c(0xdd)],_0x51de64),function(_0x360fc3,_0x5acf7a){const _0x290e94=_0x1f709c,_0x383b48=_0x5acf7a[_0x290e94(0xd1)]()[_0x290e94(0xe5)];let _0x1bb7ba=_0x5acf7a[_0x290e94(0xd1)]()[_0x290e94(0x8d)];const _0xee5529=_0x383b48[_0x290e94(0x93)];(_0x1bb7ba[_0x290e94(0xc7)]||_0x1bb7ba[_0x290e94(0xab)]&&_0x1bb7ba[_0x290e94(0xab)]['is'](_0x290e94(0xeb)))&&(_0x12f4c1(_0x1bb7ba,_0x290e94(0xb9)),_0x1bb7ba=_0x1bb7ba[_0x290e94(0xcb)](0x3)),(_0x383b48[_0x290e94(0xc7)]||_0x383b48[_0x290e94(0xf5)]&&_0x383b48[_0x290e94(0xf5)]['is'](_0x290e94(0xeb)))&&(_0x12f4c1(_0x383b48,_0x290e94(0xb9)),function(_0x4115bd,_0x3afe54,_0x31f007){const _0x33673c=_0x290e94;for(let [_0x2add45,_0x1d4da2]of _0x4115bd[_0x33673c(0xc8)]){const _0x34ce15=_0x1d4da2[_0x33673c(0xef)](_0x3afe54,_0x31f007,!0x1);_0x1d4da2=_0x34ce15[0x0],_0x4115bd[_0x33673c(0xc8)][_0x33673c(0xa0)](_0x2add45,_0x1d4da2);}}(_0xee5529,_0x383b48,0x3),_0x383b48[_0x290e94(0xe9)]==_0x1bb7ba[_0x290e94(0xe9)]&&(_0x1bb7ba=_0x1bb7ba[_0x290e94(0xcb)](0x3)));const _0x2fac7b=_0x360fc3[_0x290e94(0xca)](_0x360fc3[_0x290e94(0x8a)](_0xee5529,0x0),_0x383b48),_0x410d34=_0x360fc3[_0x290e94(0xca)](_0x1bb7ba,_0x360fc3[_0x290e94(0x8a)](_0xee5529,_0x290e94(0x8d))),_0x584949=[..._0x2fac7b[_0x290e94(0xa6)](),..._0x410d34[_0x290e94(0xa6)]()];_0x584949[_0x290e94(0xf4)]();for(const _0x599396 of _0x584949)_0xa2a93b(_0x599396),_transformMarkersByDeletion(_0xee5529,_0x599396);}(_0x50bdc3[_0x1f709c(0xdd)],_0x51de64);}const _0x5ab847=_0x50bdc3[_0x1f709c(0xda)][_0x1f709c(0x9a)](_0x719699,{'showSuggestionHighlights':!0x0});return{'content':_0x438b93(_0x5ab847),'hasChanges':!0x0};}(_0x5a9a42,_0xb19e36,_0x3f62f1,_0x123f3a,_0x4c3e8f);return{'type':_0x869790[_0x20c9a2(0xc6)][0x0][_0x20c9a2(0xa9)],'index':_0x869790[_0x20c9a2(0x87)],'content':_0x14e6c8,'hasChanges':_0x53738d};});}function no(_0x1b7e01,_0x281dab){const _0x518c71=_0xa6fe;for(const [_0x265119,_0x469298]of _0x1b7e01[_0x518c71(0xc8)]){const _0x35d283=_0x118c4b[_0x518c71(0xe1)](_0x469298[_0x518c71(0xaa)](_0x281dab));_0x1b7e01[_0x518c71(0xc8)][_0x518c71(0xa0)](_0x265119,_0x35d283);}}export function getMinimalSelection(_0x3eaa75,_0x107937,_0x3f9d59){const _0x5c1ade=_0xa6fe,_0x2aa637=_0x3eaa75[_0x5c1ade(0xe8)][_0x5c1ade(0xa3)](_0x5c1ade(0x94));let _0x1254fe=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0x8a)](_0x3f9d59,Number[_0x5c1ade(0xc4)]),_0x2c2f5=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0x8a)](_0x3f9d59,0x0);for(const _0x4319f9 of _0x107937){let _0x1f02f7,_0x1096c7;if(_0x2aa637[_0x5c1ade(0xa4)](_0x4319f9))_0x1f02f7=_0x4319f9[_0x5c1ade(0x95)][_0x5c1ade(0xe5)],_0x1096c7=_0x4319f9[_0x5c1ade(0x95)][_0x5c1ade(0x8d)];else switch(_0x1254fe=_0x1254fe[_0x5c1ade(0xaa)](_0x4319f9),_0x2c2f5=_0x2c2f5[_0x5c1ade(0xaa)](_0x4319f9),_0x4319f9[_0x5c1ade(0xa9)]){case _0x5c1ade(0xe6):_0x1f02f7=_0x4319f9[_0x5c1ade(0xc9)],_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](0x1);break;case _0x5c1ade(0xad):case _0x5c1ade(0xd9):case _0x5c1ade(0xed):_0x1f02f7=_0x4319f9[_0x5c1ade(0xe4)][_0x5c1ade(0xe5)],_0x1096c7=_0x4319f9[_0x5c1ade(0xe4)][_0x5c1ade(0x8d)];break;case _0x5c1ade(0x90):_0x1f02f7=_0x4319f9[_0x5c1ade(0xc9)],_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](_0x4319f9[_0x5c1ade(0xdf)]);break;case _0x5c1ade(0xb1):_0x1f02f7=_0x4319f9[_0x5c1ade(0xd6)],_0x1096c7=_0x4319f9[_0x5c1ade(0xd3)];break;case _0x5c1ade(0xcf):{const _0x2c07cd=_0x4319f9[_0x5c1ade(0xb2)][_0x5c1ade(0xe0)][_0x5c1ade(0xf0)](0x0,-0x1);_0x1f02f7=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xde)](_0x3f9d59,_0x2c07cd),_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](0x1);break;}case _0x5c1ade(0xb0):{const _0x3ecdb8=_0x4319f9[_0x5c1ade(0xdf)],_0x2c858c=_0x4319f9[_0x5c1ade(0xc1)][_0x5c1ade(0xef)](_0x4319f9[_0x5c1ade(0xb2)],_0x3ecdb8),_0x725ceb=_0x4319f9[_0x5c1ade(0x96)]();_0x5c1ade(0xb0)==_0x4319f9[_0x5c1ade(0xa9)]?(_0x1f02f7=_0x2c858c,_0x1096c7=_0x2c858c):(_0x1f02f7=_0x725ceb,_0x1096c7=_0x725ceb[_0x5c1ade(0xcb)](_0x3ecdb8));break;}}_0x1f02f7&&_0x1f02f7[_0x5c1ade(0xd7)](_0x1254fe)&&(_0x1254fe=_0x1f02f7[_0x5c1ade(0xa5)](),_0x1254fe[_0x5c1ade(0xd4)]=_0x5c1ade(0xac)),_0x1096c7&&_0x1096c7[_0x5c1ade(0xd2)](_0x2c2f5)&&(_0x2c2f5=_0x1096c7[_0x5c1ade(0xa5)](),_0x2c2f5[_0x5c1ade(0xd4)]=_0x5c1ade(0xac));}return _0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xf9)](_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xca)](_0x1254fe,_0x2c2f5));}export function expandSelectionWithContext(_0x3ad3cb,_0x4a05c1){const _0x154d09=_0xa6fe;ro(_0x3ad3cb,_0x4a05c1,_0x154d09(0x8e));const _0x3d35d8=_0x4a05c1[_0x154d09(0xd1)]();_0x4a05c1[_0x154d09(0x9e)]([]),_0x4a05c1[_0x154d09(0x9e)](_0x3d35d8,{'backward':!0x0}),ro(_0x3ad3cb,_0x4a05c1,_0x154d09(0xdb));}function ro(_0x11f8bd,_0x91c0a4,_0x1324cb){const _0x350a29=_0xa6fe;let _0x3551aa=0x14;for(;_0x3551aa;){_0x11f8bd[_0x350a29(0xc3)](_0x91c0a4,{'unit':_0x350a29(0xb7),'direction':_0x1324cb}),_0x3551aa--;const _0x1dddc0=_0x91c0a4[_0x350a29(0xf8)][_0x350a29(0x8e)==_0x1324cb?_0x350a29(0xf5):_0x350a29(0xab)];if(_0x1dddc0&&_0x1dddc0['is'](_0x350a29(0xb4))&&_0x11f8bd[_0x350a29(0xbd)][_0x350a29(0x89)](_0x1dddc0)&&_0x11f8bd[_0x350a29(0xbd)][_0x350a29(0xf7)](_0x1dddc0))break;}}function _0xa6fe(_0x4330ca,_0x1dc7ea){const _0xdbfe60=_0xdbfe();return _0xa6fe=function(_0xa6fe43,_0xca8e4a){_0xa6fe43=_0xa6fe43-0x85;let _0xcb4757=_0xdbfe60[_0xa6fe43];return _0xcb4757;},_0xa6fe(_0x4330ca,_0x1dc7ea);}export function _transformMarkersByDeletion(_0x3df5c0,_0x3bf35e){const _0x1d0691=_0xa6fe;for(const [_0x440e97,_0x37cd52]of _0x3df5c0[_0x1d0691(0xc8)]){const _0x13f86e=_0x37cd52[_0x1d0691(0xd8)](_0x3bf35e[_0x1d0691(0xe5)],_0x3bf35e[_0x1d0691(0x8d)][_0x1d0691(0xe3)]-_0x3bf35e[_0x1d0691(0xe5)][_0x1d0691(0xe3)]);null!=_0x13f86e?_0x3df5c0[_0x1d0691(0xc8)][_0x1d0691(0xa0)](_0x440e97,_0x13f86e):_0x3df5c0[_0x1d0691(0xc8)][_0x1d0691(0x8b)](_0x440e97);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3d8c87,_0x4062dc){const _0x221916=_0x5ba1,_0x5913f7=_0x3d8c87();while(!![]){try{const _0x1f91f3=parseInt(_0x221916(0xd5))/0x1+-parseInt(_0x221916(0xd4))/0x2*(parseInt(_0x221916(0xd2))/0x3)+-parseInt(_0x221916(0xd0))/0x4*(-parseInt(_0x221916(0xc8))/0x5)+-parseInt(_0x221916(0xdc))/0x6*(-parseInt(_0x221916(0xc9))/0x7)+-parseInt(_0x221916(0xc5))/0x8*(parseInt(_0x221916(0xca))/0x9)+parseInt(_0x221916(0xce))/0xa*(parseInt(_0x221916(0xdb))/0xb)+parseInt(_0x221916(0xd3))/0xc;if(_0x1f91f3===_0x4062dc)break;else _0x5913f7['push'](_0x5913f7['shift']());}catch(_0x32c41b){_0x5913f7['push'](_0x5913f7['shift']());}}}(_0x6164,0x3522f));import{parseDocument as _0x42fc20}from'htmlparser2';import{append as _0x551348,appendChild as _0x4fa84d,find as _0x2eccb0,findAll as _0x5b7f37,findOne as _0x592444,getChildren as _0x28813d,isComment as _0x220f43,isTag as _0x48f5bf,prepend as _0x4c0e52,prependChild as _0x255ea8,removeElement as _0x3d2f1a,replaceElement as _0x35be86,textContent as _0x3369ea,getParent as _0xddff81,hasChildren as _0x67a12f}from'domutils';import _0x5ca627 from'dom-serializer';import{cloneNode as _0x367828,isDocument as _0x4801ca,isText as _0x1e540f,Element as _0x1f23ea,Text as _0x4d4bd3,Document as _0xdafc02,NodeWithChildren as _0x4c9e1b}from'domhandler';function _0x5ba1(_0xa7f143,_0x4b1f8c){const _0x6164ee=_0x6164();return _0x5ba1=function(_0x5ba1b9,_0x336c7d){_0x5ba1b9=_0x5ba1b9-0xc4;let _0x3f364e=_0x6164ee[_0x5ba1b9];return _0x3f364e;},_0x5ba1(_0xa7f143,_0x4b1f8c);}export{_0x367828 as cloneNode,_0x2eccb0 as find,_0x592444 as findOne,_0x5b7f37 as findAll,_0x28813d as getChildren,_0xddff81 as getParent,_0x220f43 as isComment,_0x4801ca as isDocument,_0x48f5bf as isTag,_0x1e540f as isText,_0x551348 as append,_0x4fa84d as appendChild,_0x4c0e52 as prepend,_0x255ea8 as prependChild,_0x5ca627 as render,_0x3d2f1a as removeElement,_0x35be86 as replaceElement,_0x3369ea as textContent,_0x67a12f as hasChildren,_0x1f23ea as Element,_0xdafc02 as Document,_0x4c9e1b as NodeWithChildren,_0x4d4bd3 as Text};export function parse(_0x20b0b0){return _0x42fc20(_0x20b0b0);}export function serialize(_0x415c8f){return _0x5ca627(_0x415c8f);}export function findByAttribute(_0x59d4cf,_0x2d742b,_0x309654){const _0xee57=_0x5ba1,_0x136d05=null!==_0x2d742b?_0x394c12=>_0x394c12[_0xee57(0xdd)][_0x59d4cf]===_0x2d742b:_0x407195=>Boolean(_0x407195[_0xee57(0xdd)][_0x59d4cf]);return _0x592444(_0x1ad453=>_0x48f5bf(_0x1ad453)&&_0x136d05(_0x1ad453),_0x309654);}export function findAllByAttribute(_0x3d552d,_0xd1bf14,_0x112cce){const _0x1b09ac=_0x5ba1,_0x56b4f4=null!==_0xd1bf14?_0x11eb42=>_0x11eb42[_0x1b09ac(0xdd)][_0x3d552d]===_0xd1bf14:_0x4308f7=>Boolean(_0x4308f7[_0x1b09ac(0xdd)][_0x3d552d]);return _0x5b7f37(_0x468af4=>_0x48f5bf(_0x468af4)&&_0x56b4f4(_0x468af4),_0x112cce);}export function findAllComments(_0x2b3004){return _0x2eccb0(_0x386f6f=>_0x220f43(_0x386f6f),_0x2b3004,!0x0,0x1/0x0);}export function getAttribute(_0x5dc216,_0x454c85){const _0x12de53=_0x5ba1;return _0x5dc216&&_0x48f5bf(_0x5dc216)?_0x5dc216[_0x12de53(0xdd)][_0x454c85]:null;}export function setAttribute(_0x4edce7,_0x5a8c0c,_0x15fa8b){const _0x27c654=_0x5ba1;_0x48f5bf(_0x4edce7)&&(null===_0x15fa8b?delete _0x4edce7[_0x27c654(0xdd)][_0x5a8c0c]:_0x4edce7[_0x27c654(0xdd)][_0x5a8c0c]=_0x15fa8b);}function _0x6164(){const _0x4a3b92=['reverse','slice','push','beforebegin','4103iHNriE','708iyONIy','attribs','forEach','afterbegin','75752ibHVmb','beforeend','afterend','25QfLSvE','11249SPpQtR','396Kjpceu','replace','cloneNode','map','20TsPFuO','parentNode','94148yGHNDa','nextSibling','750oiHrKJ','1526160ffXKSN','1038dsexLE','328796KXJyvT','indexOf'];_0x6164=function(){return _0x4a3b92;};return _0x6164();}export function insertElement(_0x31bed6,_0x5d310d,_0x315183){const _0x3026eb=_0x5ba1,_0x119004=_0x5d310d[_0x3026eb(0xcc)](!0x0);_0x3026eb(0xda)===_0x315183?_0x4c0e52(_0x31bed6,_0x119004):_0x3026eb(0xc4)===_0x315183?_0x255ea8(_0x31bed6,_0x119004):_0x3026eb(0xc6)===_0x315183?_0x4fa84d(_0x31bed6,_0x119004):_0x3026eb(0xc7)===_0x315183&&_0x551348(_0x31bed6,_0x119004);}export function moveElement(_0x4ab4a1,_0x2d7192){_0x3d2f1a(_0x4ab4a1),_0x35be86(_0x2d7192,_0x4ab4a1);}export function clone(_0x277411){const _0x416601=_0x5ba1;return _0x277411[_0x416601(0xcc)](!0x0);}export function getParents(_0x4333dc){const _0x2e72e9=_0x5ba1,_0x34cd9f=[];let _0x4b85bf=_0x4333dc;for(;_0x4b85bf;)_0x4b85bf=_0xddff81(_0x4b85bf),_0x4b85bf&&_0x34cd9f[_0x2e72e9(0xd9)](_0x4b85bf);return _0x34cd9f;}export function normalizeHTML(_0x33df62){const _0x593f84=_0x5ba1;return _0x33df62[_0x593f84(0xcb)](/^\s+/gm,'')[_0x593f84(0xcb)](/\s+$/gm,'')[_0x593f84(0xcb)](/\n*/g,'')[_0x593f84(0xcb)](/\s+/g,'\x20')[_0x593f84(0xcb)](/>\s*</g,'><');}export function areNodesSame(_0x1b71df,_0x8c92c7){return normalizeHTML(serialize(_0x1b71df))===normalizeHTML(serialize(_0x8c92c7));}export function getNodeNestingLevel(_0x4245f7){const _0x43df35=_0x5ba1;let _0x3819e4=0x0;for(;_0x4245f7[_0x43df35(0xcf)];)_0x4245f7=_0x4245f7[_0x43df35(0xcf)],_0x3819e4++;return _0x3819e4;}export function removeElementsAfter(_0x45a39f){const _0x3f726f=_0x5ba1,_0x6904f8=[];let _0x3efde8=_0x45a39f[_0x3f726f(0xd1)];for(;_0x3efde8;)_0x6904f8[_0x3f726f(0xd9)](_0x3efde8),_0x3efde8=_0x3efde8[_0x3f726f(0xd1)];_0x6904f8[_0x3f726f(0xde)](_0x34f81f=>{_0x3d2f1a(_0x34f81f);});}export function getNodePath(_0x5bd93a){const _0x45f107=_0x5ba1;return[_0x5bd93a,...getParents(_0x5bd93a)][_0x45f107(0xd8)](0x0,-0x1)[_0x45f107(0xcd)](_0x229045=>{const _0x455db5=_0x45f107,_0x2b6357=_0xddff81(_0x229045);return _0x28813d(_0x2b6357)[_0x455db5(0xd6)](_0x229045);})[_0x45f107(0xd7)]();}
23
+ (function(_0x3f3f77,_0x4238b1){const _0x3c2bbf=_0x5f29,_0xa30265=_0x3f3f77();while(!![]){try{const _0x5e1db0=-parseInt(_0x3c2bbf(0xf4))/0x1*(parseInt(_0x3c2bbf(0xec))/0x2)+-parseInt(_0x3c2bbf(0xee))/0x3+-parseInt(_0x3c2bbf(0xeb))/0x4+-parseInt(_0x3c2bbf(0xfd))/0x5+parseInt(_0x3c2bbf(0xf0))/0x6+parseInt(_0x3c2bbf(0xfe))/0x7*(parseInt(_0x3c2bbf(0xf7))/0x8)+parseInt(_0x3c2bbf(0xed))/0x9;if(_0x5e1db0===_0x4238b1)break;else _0xa30265['push'](_0xa30265['shift']());}catch(_0x83b3d7){_0xa30265['push'](_0xa30265['shift']());}}}(_0x46f5,0x44985));function _0x5f29(_0x51e837,_0x1dcef1){const _0x46f508=_0x46f5();return _0x5f29=function(_0x5f29ff,_0x3793aa){_0x5f29ff=_0x5f29ff-0xe8;let _0x5e828c=_0x46f508[_0x5f29ff];return _0x5e828c;},_0x5f29(_0x51e837,_0x1dcef1);}import{parseDocument as _0x28ec92}from'htmlparser2';import{append as _0x37efda,appendChild as _0xb3e324,find as _0x370d3c,findAll as _0x13db4d,findOne as _0x58ba14,getChildren as _0x88bc04,isComment as _0x20c131,isTag as _0x334cae,prepend as _0x517b49,prependChild as _0x1a54aa,removeElement as _0x3e759a,replaceElement as _0x5a7072,textContent as _0x2b9744,getParent as _0x4f8d0a,hasChildren as _0x387e75}from'domutils';function _0x46f5(){const _0x5afd70=['reverse','cloneNode','1793416jGXKpW','indexOf','attribs','forEach','afterbegin','nextSibling','2011155rTXUHX','7okamyt','beforebegin','slice','replace','beforeend','1986952BBlMmv','68772EsNLGc','10203858hsXREq','452568CPzqdy','parentNode','2519214ZcMsrX','push','map','afterend','13JrksAC'];_0x46f5=function(){return _0x5afd70;};return _0x46f5();}import _0x4ca0dd from'dom-serializer';import{cloneNode as _0x3ee466,isDocument as _0x4a6244,isText as _0x2c075f,Element as _0x71117e,Text as _0x195bf0,Document as _0x8f925,NodeWithChildren as _0x7e8b12}from'domhandler';export{_0x3ee466 as cloneNode,_0x370d3c as find,_0x58ba14 as findOne,_0x13db4d as findAll,_0x88bc04 as getChildren,_0x4f8d0a as getParent,_0x20c131 as isComment,_0x4a6244 as isDocument,_0x334cae as isTag,_0x2c075f as isText,_0x37efda as append,_0xb3e324 as appendChild,_0x517b49 as prepend,_0x1a54aa as prependChild,_0x4ca0dd as render,_0x3e759a as removeElement,_0x5a7072 as replaceElement,_0x2b9744 as textContent,_0x387e75 as hasChildren,_0x71117e as Element,_0x8f925 as Document,_0x7e8b12 as NodeWithChildren,_0x195bf0 as Text};export function parse(_0x4f3edd){return _0x28ec92(_0x4f3edd);}export function serialize(_0x57f5fc){return _0x4ca0dd(_0x57f5fc);}export function findByAttribute(_0x5cb302,_0x58c917,_0xcb26ba){const _0x16b2db=_0x5f29,_0x49b0f4=null!==_0x58c917?_0x365fcc=>_0x365fcc[_0x16b2db(0xf9)][_0x5cb302]===_0x58c917:_0x2fdbf9=>Boolean(_0x2fdbf9[_0x16b2db(0xf9)][_0x5cb302]);return _0x58ba14(_0x2e99a0=>_0x334cae(_0x2e99a0)&&_0x49b0f4(_0x2e99a0),_0xcb26ba);}export function findAllByAttribute(_0x465181,_0x3dbb57,_0x242670){const _0x11b023=_0x5f29,_0x41b02a=null!==_0x3dbb57?_0x3d6cf6=>_0x3d6cf6[_0x11b023(0xf9)][_0x465181]===_0x3dbb57:_0x332799=>Boolean(_0x332799[_0x11b023(0xf9)][_0x465181]);return _0x13db4d(_0x1d003a=>_0x334cae(_0x1d003a)&&_0x41b02a(_0x1d003a),_0x242670);}export function findAllComments(_0x42da8f){return _0x370d3c(_0x36b982=>_0x20c131(_0x36b982),_0x42da8f,!0x0,0x1/0x0);}export function getAttribute(_0x1eab82,_0xdd68bf){const _0x426571=_0x5f29;return _0x1eab82&&_0x334cae(_0x1eab82)?_0x1eab82[_0x426571(0xf9)][_0xdd68bf]:null;}export function setAttribute(_0x8945ea,_0x19ea7d,_0x346ed4){const _0x2c1f89=_0x5f29;_0x334cae(_0x8945ea)&&(null===_0x346ed4?delete _0x8945ea[_0x2c1f89(0xf9)][_0x19ea7d]:_0x8945ea[_0x2c1f89(0xf9)][_0x19ea7d]=_0x346ed4);}export function insertElement(_0x5673bf,_0x1c34df,_0x33a17f){const _0x378828=_0x5f29,_0x406aee=_0x1c34df[_0x378828(0xf6)](!0x0);_0x378828(0xff)===_0x33a17f?_0x517b49(_0x5673bf,_0x406aee):_0x378828(0xfb)===_0x33a17f?_0x1a54aa(_0x5673bf,_0x406aee):_0x378828(0xea)===_0x33a17f?_0xb3e324(_0x5673bf,_0x406aee):_0x378828(0xf3)===_0x33a17f&&_0x37efda(_0x5673bf,_0x406aee);}export function moveElement(_0x41ea9b,_0x2bfd10){_0x3e759a(_0x41ea9b),_0x5a7072(_0x2bfd10,_0x41ea9b);}export function clone(_0x5b207d){const _0x1f3fe7=_0x5f29;return _0x5b207d[_0x1f3fe7(0xf6)](!0x0);}export function getParents(_0x5808ac){const _0x27ce64=_0x5f29,_0x1ef666=[];let _0x3c5cc8=_0x5808ac;for(;_0x3c5cc8;)_0x3c5cc8=_0x4f8d0a(_0x3c5cc8),_0x3c5cc8&&_0x1ef666[_0x27ce64(0xf1)](_0x3c5cc8);return _0x1ef666;}export function normalizeHTML(_0x2c6dc1){const _0x304762=_0x5f29;return _0x2c6dc1[_0x304762(0xe9)](/^\s+/gm,'')[_0x304762(0xe9)](/\s+$/gm,'')[_0x304762(0xe9)](/\n*/g,'')[_0x304762(0xe9)](/\s+/g,'\x20')[_0x304762(0xe9)](/>\s*</g,'><');}export function areNodesSame(_0x450ae3,_0xbfd0df){return normalizeHTML(serialize(_0x450ae3))===normalizeHTML(serialize(_0xbfd0df));}export function getNodeNestingLevel(_0x228879){const _0x167630=_0x5f29;let _0x2fafa4=0x0;for(;_0x228879[_0x167630(0xef)];)_0x228879=_0x228879[_0x167630(0xef)],_0x2fafa4++;return _0x2fafa4;}export function removeElementsAfter(_0x57c310){const _0x248a64=_0x5f29,_0x10f960=[];let _0x242fd8=_0x57c310[_0x248a64(0xfc)];for(;_0x242fd8;)_0x10f960[_0x248a64(0xf1)](_0x242fd8),_0x242fd8=_0x242fd8[_0x248a64(0xfc)];_0x10f960[_0x248a64(0xfa)](_0x12d273=>{_0x3e759a(_0x12d273);});}export function getNodePath(_0x51a9b5){const _0x1b80d7=_0x5f29;return[_0x51a9b5,...getParents(_0x51a9b5)][_0x1b80d7(0xe8)](0x0,-0x1)[_0x1b80d7(0xf2)](_0x54d4a6=>{const _0x44b316=_0x1b80d7,_0x51a4e0=_0x4f8d0a(_0x54d4a6);return _0x88bc04(_0x51a4e0)[_0x44b316(0xf8)](_0x54d4a6);})[_0x1b80d7(0xf5)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd1a4b3=_0x564f;(function(_0x4db6e7,_0x5699ea){const _0x3fbd63=_0x564f,_0x5052cd=_0x4db6e7();while(!![]){try{const _0x58c846=parseInt(_0x3fbd63(0x6c))/0x1+parseInt(_0x3fbd63(0x79))/0x2+-parseInt(_0x3fbd63(0x93))/0x3*(-parseInt(_0x3fbd63(0x6d))/0x4)+parseInt(_0x3fbd63(0x82))/0x5*(-parseInt(_0x3fbd63(0xa0))/0x6)+-parseInt(_0x3fbd63(0x86))/0x7+-parseInt(_0x3fbd63(0x7e))/0x8*(parseInt(_0x3fbd63(0x9d))/0x9)+parseInt(_0x3fbd63(0xa6))/0xa;if(_0x58c846===_0x5699ea)break;else _0x5052cd['push'](_0x5052cd['shift']());}catch(_0x1e8504){_0x5052cd['push'](_0x5052cd['shift']());}}}(_0x22bf,0x7a6cc));import _0x32abca from'morphdom';function _0x564f(_0x10faff,_0x1dd000){const _0x22bf72=_0x22bf();return _0x564f=function(_0x564f6b,_0x5d3f36){_0x564f6b=_0x564f6b-0x6c;let _0x14ada8=_0x22bf72[_0x564f6b];return _0x14ada8;},_0x564f(_0x10faff,_0x1dd000);}import{NodeWithChildren as _0x552e7a,Text as _0xa7736d,Element as _0x210d6a,isText as _0x2c0ce2,isDocument as _0x36da8e,isTag as _0x114caa,cloneNode as _0x4b03db,getChildren as _0x4451f2,prepend as _0x4cdcc9,removeElement as _0x4f6066,textContent as _0x35955b,render as _0x4eaf76}from'./htmlparser.js';export class HTMLStreamer{[_0xd1a4b3(0x74)];[_0xd1a4b3(0x8b)]=!0x1;[_0xd1a4b3(0xa7)]=null;[_0xd1a4b3(0x70)]=[];[_0xd1a4b3(0x98)]=0x0;[_0xd1a4b3(0x72)]=null;[_0xd1a4b3(0x8c)]=0x0;constructor(_0x36e611){const _0x13c4e9=_0xd1a4b3;this[_0x13c4e9(0x74)]={'delay':_0x36e611[_0x13c4e9(0x7b)]??0x14,'textNodeStyle':_0x36e611[_0x13c4e9(0x84)],'onStreamUpdate':_0x36e611[_0x13c4e9(0x97)]||(()=>{})};}async[_0xd1a4b3(0xa3)]({document:_0x3865a5,targetElement:_0x4e3d76,abortSignal:_0x26e336}){const _0x3a5f76=_0xd1a4b3;this[_0x3a5f76(0x8b)]&&this[_0x3a5f76(0x99)](),_0x26e336?.[_0x3a5f76(0x9f)](_0x3a5f76(0x6f),this[_0x3a5f76(0x99)][_0x3a5f76(0x89)](this)),this[_0x3a5f76(0xa7)]=_0x4b03db(_0x3865a5,!0x0),this[_0x3a5f76(0x70)]=this[_0x3a5f76(0x76)](),this[_0x3a5f76(0x8b)]=!0x0,this[_0x3a5f76(0x98)]>this[_0x3a5f76(0x70)][_0x3a5f76(0x6e)]&&(this[_0x3a5f76(0x98)]=this[_0x3a5f76(0x70)][_0x3a5f76(0x6e)]);for(let _0x13454a=0x0;_0x13454a<this[_0x3a5f76(0x98)];_0x13454a++)this[_0x3a5f76(0x70)][_0x13454a][_0x3a5f76(0x73)]=!0x0;do{const _0x461560=Date[_0x3a5f76(0x9b)](),_0x335ea6=this[_0x3a5f76(0x70)][this[_0x3a5f76(0x98)]],_0x5260b7=_0x461560-this[_0x3a5f76(0x8c)];if(_0x335ea6){_0x335ea6[_0x3a5f76(0x73)]=!0x0;let _0x580a4e=_0x335ea6[_0x3a5f76(0x92)];for(;_0x580a4e;)_0x580a4e[_0x3a5f76(0x73)]=!0x0,_0x580a4e=_0x580a4e[_0x3a5f76(0x92)];}if(_0x5260b7<this[_0x3a5f76(0x74)][_0x3a5f76(0x7b)])try{const {promise:_0x402dc4,abortController:_0x11e183}=Cs(this[_0x3a5f76(0x74)][_0x3a5f76(0x7b)]-_0x5260b7);this[_0x3a5f76(0x72)]=_0x11e183,await _0x402dc4;}catch(_0x3eeb99){return;}_0x32abca(_0x4e3d76,'<'+_0x4e3d76[_0x3a5f76(0x7d)]+'>'+this[_0x3a5f76(0x81)](this[_0x3a5f76(0xa7)])+'</'+_0x4e3d76[_0x3a5f76(0x7d)]+'>',{'childrenOnly':!0x0}),this[_0x3a5f76(0x74)][_0x3a5f76(0x97)]&&this[_0x3a5f76(0x74)][_0x3a5f76(0x97)](),this[_0x3a5f76(0x98)]++,this[_0x3a5f76(0x8c)]=Date[_0x3a5f76(0x9b)]();}while(this[_0x3a5f76(0x98)]<this[_0x3a5f76(0x70)][_0x3a5f76(0x6e)]);this[_0x3a5f76(0x98)]=this[_0x3a5f76(0x70)][_0x3a5f76(0x6e)],this[_0x3a5f76(0x8b)]=!0x1;}[_0xd1a4b3(0xa8)](){const _0x1bf424=_0xd1a4b3;this[_0x1bf424(0x8b)]=!0x1,this[_0x1bf424(0xa7)]=null,this[_0x1bf424(0x70)]=[],this[_0x1bf424(0x98)]=0x0,this[_0x1bf424(0x72)]=null;}[_0xd1a4b3(0x90)]({targetElement:_0x1d5c03}){const _0x21d3d5=_0xd1a4b3;Array[_0x21d3d5(0x91)](_0x1d5c03[_0x21d3d5(0x77)](_0x21d3d5(0x8d)))[_0x21d3d5(0x83)]()[_0x21d3d5(0xa2)](_0x23a92d=>{const _0x49737d=_0x21d3d5;_0x23a92d[_0x49737d(0xa9)](_0x23a92d[_0x49737d(0x9a)][0x0]);});}[_0xd1a4b3(0x99)](){const _0x2abcfb=_0xd1a4b3;this[_0x2abcfb(0x8b)]=!0x1,this[_0x2abcfb(0x72)]&&(this[_0x2abcfb(0x72)][_0x2abcfb(0x6f)](),this[_0x2abcfb(0x72)]=null);}[_0xd1a4b3(0x81)](_0x492030){const _0x267947=_0xd1a4b3;let _0xa16006='';if(function(_0x4b0033){return _0x36da8e(_0x4b0033);}(_0x492030)){for(const _0x2ddc87 of _0x492030[_0x267947(0x71)])_0xa16006+=this[_0x267947(0x81)](_0x2ddc87);}else{if(Ts(_0x492030)){if(!_0x492030[_0x267947(0x73)])return'';const _0x18b2d3=_0x492030,_0x1eeab8=Object[_0x267947(0x7c)](_0x18b2d3[_0x267947(0x87)])[_0x267947(0xa1)](([_0x124632,_0x3aeb97])=>_0x124632+'=\x22'+_0x3aeb97+'\x22')[_0x267947(0x8a)]('\x20');_0xa16006+='<'+_0x18b2d3[_0x267947(0x7d)]+(_0x1eeab8?'\x20'+_0x1eeab8:'')+'>';for(const _0x11eaaa of _0x4451f2(_0x18b2d3))_0xa16006+=this[_0x267947(0x81)](_0x11eaaa);_0xa16006+='</'+_0x18b2d3[_0x267947(0x7d)]+'>';}else{if(!Ss(_0x492030))return'';if(!_0x492030[_0x267947(0x73)])return'';!function(_0x4eedff){const _0x4531ef=_0x267947;if(!_0x4eedff[_0x4531ef(0x92)]||!Ts(_0x4eedff[_0x4531ef(0x92)]))return!0x1;if(!ys[_0x4531ef(0x80)](_0x4eedff[_0x4531ef(0x92)][_0x4531ef(0x7d)]))return!0x1;return!_0x35955b(_0x4eedff)[_0x4531ef(0x75)](/^\s*[<>]\s*$/);}(_0x492030)?_0xa16006+=_0x4eaf76(_0x492030):_0xa16006+=_0x4eaf76(new _0x210d6a(_0x267947(0x7f),{'data-ck-html-streamer-word-chunk':'','style':this[_0x267947(0x74)][_0x267947(0x84)]},[_0x492030]));}}return _0xa16006;}[_0xd1a4b3(0x76)](){const _0x566023=_0xd1a4b3,_0xf73b50=[];return function(_0x2147e1,_0x5a9796){const _0x3e4cc1=_0x564f,_0x11bfa8=_0x4ec122=>{const _0x507ca4=_0x564f;if(_0x5a9796(_0x4ec122),_0x4ec122 instanceof _0x552e7a)for(let _0x37de69=0x0;_0x37de69<_0x4ec122[_0x507ca4(0x71)][_0x507ca4(0x6e)];_0x37de69++){const _0x9d94cf=_0x4ec122[_0x507ca4(0x71)][_0x37de69];_0x11bfa8(_0x9d94cf);}};for(let _0x454332=0x0;_0x454332<_0x2147e1[_0x3e4cc1(0x71)][_0x3e4cc1(0x6e)];_0x454332++)_0x11bfa8(_0x2147e1[_0x3e4cc1(0x71)][_0x454332]);}(this[_0x566023(0xa7)],_0x501311=>{const _0x72fcec=_0x566023;if(Ss(_0x501311)){const _0x3f1015=this[_0x72fcec(0x96)](_0x501311);_0x3f1015[_0x72fcec(0x6e)]&&_0xf73b50[_0x72fcec(0x7a)](..._0x3f1015);}_0x501311[_0x72fcec(0xa5)]||_0x501311[_0x72fcec(0x78)]||_0xf73b50[_0x72fcec(0x7a)](_0x501311);}),_0xf73b50;}[_0xd1a4b3(0x96)](_0x3228cc){const _0x1be0c5=_0xd1a4b3;if(_0x3228cc[_0x1be0c5(0xa5)]||_0x3228cc[_0x1be0c5(0x78)])return[];const _0xa06553=_0x35955b(_0x3228cc)[_0x1be0c5(0x75)](/(?:\s*\S+\s*)/g),_0x286d85=[];if(_0xa06553&&_0xa06553[_0x1be0c5(0x6e)]>0x1){for(const _0x4df347 of _0xa06553){const _0x4b3c28=new _0xa7736d(_0x4df347);_0x4b3c28[_0x1be0c5(0x78)]=!0x0,_0x4cdcc9(_0x3228cc,_0x4b3c28),_0x286d85[_0x1be0c5(0x7a)](_0x4b3c28);}_0x3228cc[_0x1be0c5(0xa5)]=!0x0,_0x4f6066(_0x3228cc);}return _0x286d85;}}const ys=['p','li','td','th',_0xd1a4b3(0x7f),'h1','h2','h3','h4','h5','h6','b',_0xd1a4b3(0xa4),'i','em',_0xd1a4b3(0x88),_0xd1a4b3(0x94),_0xd1a4b3(0x8e),_0xd1a4b3(0x9c),_0xd1a4b3(0x9e),'a',_0xd1a4b3(0x95),_0xd1a4b3(0x85)];function Ss(_0x4e1103){return _0x2c0ce2(_0x4e1103);}function Ts(_0x3f643e){return _0x114caa(_0x3f643e);}function Cs(_0xf34fa2){const _0x5f3b04=new AbortController();return{'promise':new Promise((_0xa3fad2,_0x50a5b4)=>{const _0x43cc48=_0x564f,_0x58c418=setTimeout(_0xa3fad2,_0xf34fa2);_0x5f3b04[_0x43cc48(0x8f)][_0x43cc48(0x9f)](_0x43cc48(0x6f),()=>{clearTimeout(_0x58c418),_0x50a5b4();});}),'abortController':_0x5f3b04};}function _0x22bf(){const _0x4d4149=['3001240oxFymx','document','reset','replaceWith','544867LEMTbQ','2772rMltSA','length','abort','nodesList','children','timeoutAbortController','shouldBeStreamed','options','match','getParsedDocumentNodeList','querySelectorAll','isWordSplitResult','1889346gfxeCt','push','delay','entries','tagName','16GgiBms','span','includes','renderNode','4445ymZCWw','reverse','textNodeStyle','div','1095990QiaSCi','attribs','mark','bind','join','isStreaming','lastUpdateTime','span[data-ck-html-streamer-word-chunk]','ins','signal','cleanUpAnimations','from','parent','339GiFsfF','del','code','splitTextNodeIntoWordNodes','onStreamUpdate','currentIndex','stop','childNodes','now','sup','3520539aIZELM','sub','addEventListener','2886FgckYz','map','forEach','stream','strong','isWordSplitSource'];_0x22bf=function(){return _0x4d4149;};return _0x22bf();}
23
+ function _0x15b0(){const _0xc5deb1=['isWordSplitSource','signal','forEach','lastUpdateTime','match','querySelectorAll','replaceWith','reverse','length','sub','ins','span','del','children','now','2826929cwzmwq','map','cleanUpAnimations','2322KBbfHR','delay','textNodeStyle','107832QbLzPm','document','128574OLktvn','isWordSplitResult','getParsedDocumentNodeList','div','currentIndex','160010eoDmIn','stream','90782njIQqI','includes','splitTextNodeIntoWordNodes','entries','mark','sup','push','onStreamUpdate','span[data-ck-html-streamer-word-chunk]','code','options','shouldBeStreamed','126aFzbKW','925zRUwwR','reset','tagName','from','bind','renderNode','isStreaming','stop','attribs','timeoutAbortController','parent','2347920IfGbEY','abort','strong','childNodes','4aUxJjL','join','nodesList','addEventListener'];_0x15b0=function(){return _0xc5deb1;};return _0x15b0();}const _0x4e4073=_0x4a49;(function(_0x3d504b,_0xf534d7){const _0x5d3bdc=_0x4a49,_0x56017b=_0x3d504b();while(!![]){try{const _0xe46162=parseInt(_0x5d3bdc(0xb0))/0x1*(-parseInt(_0x5d3bdc(0x8e))/0x2)+-parseInt(_0x5d3bdc(0xa9))/0x3+parseInt(_0x5d3bdc(0xa7))/0x4+parseInt(_0x5d3bdc(0xbd))/0x5*(-parseInt(_0x5d3bdc(0xa4))/0x6)+parseInt(_0x5d3bdc(0xa1))/0x7+parseInt(_0x5d3bdc(0xc8))/0x8+parseInt(_0x5d3bdc(0xbc))/0x9*(-parseInt(_0x5d3bdc(0xae))/0xa);if(_0xe46162===_0xf534d7)break;else _0x56017b['push'](_0x56017b['shift']());}catch(_0x1fc303){_0x56017b['push'](_0x56017b['shift']());}}}(_0x15b0,0x31de8));function _0x4a49(_0x1f3001,_0x571af3){const _0x15b0cb=_0x15b0();return _0x4a49=function(_0x4a49f8,_0x3649e4){_0x4a49f8=_0x4a49f8-0x8b;let _0x5979f6=_0x15b0cb[_0x4a49f8];return _0x5979f6;},_0x4a49(_0x1f3001,_0x571af3);}import _0x254c5f from'morphdom';import{NodeWithChildren as _0x5c3291,Text as _0x1b2ec2,Element as _0x196e8f,isText as _0x3c6e52,isDocument as _0x4a02e6,isTag as _0x1a8f40,cloneNode as _0x31b16a,getChildren as _0x53c634,prepend as _0x29ad16,removeElement as _0x5cde7d,textContent as _0x125cdc,render as _0x2958c3}from'./htmlparser.js';export class HTMLStreamer{[_0x4e4073(0xba)];[_0x4e4073(0xc3)]=!0x1;[_0x4e4073(0xa8)]=null;[_0x4e4073(0x90)]=[];[_0x4e4073(0xad)]=0x0;[_0x4e4073(0xc6)]=null;[_0x4e4073(0x95)]=0x0;constructor(_0x27c99){const _0x336e22=_0x4e4073;this[_0x336e22(0xba)]={'delay':_0x27c99[_0x336e22(0xa5)]??0x14,'textNodeStyle':_0x27c99[_0x336e22(0xa6)],'onStreamUpdate':_0x27c99[_0x336e22(0xb7)]||(()=>{})};}async[_0x4e4073(0xaf)]({document:_0x5886e5,targetElement:_0x42191b,abortSignal:_0x21eb61}){const _0x3ecb98=_0x4e4073;this[_0x3ecb98(0xc3)]&&this[_0x3ecb98(0xc4)](),_0x21eb61?.[_0x3ecb98(0x91)](_0x3ecb98(0x8b),this[_0x3ecb98(0xc4)][_0x3ecb98(0xc1)](this)),this[_0x3ecb98(0xa8)]=_0x31b16a(_0x5886e5,!0x0),this[_0x3ecb98(0x90)]=this[_0x3ecb98(0xab)](),this[_0x3ecb98(0xc3)]=!0x0,this[_0x3ecb98(0xad)]>this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]&&(this[_0x3ecb98(0xad)]=this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]);for(let _0x1e81f1=0x0;_0x1e81f1<this[_0x3ecb98(0xad)];_0x1e81f1++)this[_0x3ecb98(0x90)][_0x1e81f1][_0x3ecb98(0xbb)]=!0x0;do{const _0x27f495=Date[_0x3ecb98(0xa0)](),_0x4c4b61=this[_0x3ecb98(0x90)][this[_0x3ecb98(0xad)]],_0x223d94=_0x27f495-this[_0x3ecb98(0x95)];if(_0x4c4b61){_0x4c4b61[_0x3ecb98(0xbb)]=!0x0;let _0x415160=_0x4c4b61[_0x3ecb98(0xc7)];for(;_0x415160;)_0x415160[_0x3ecb98(0xbb)]=!0x0,_0x415160=_0x415160[_0x3ecb98(0xc7)];}if(_0x223d94<this[_0x3ecb98(0xba)][_0x3ecb98(0xa5)])try{const {promise:_0x3a4795,abortController:_0xe45efc}=Ls(this[_0x3ecb98(0xba)][_0x3ecb98(0xa5)]-_0x223d94);this[_0x3ecb98(0xc6)]=_0xe45efc,await _0x3a4795;}catch(_0x1eaa81){return;}_0x254c5f(_0x42191b,'<'+_0x42191b[_0x3ecb98(0xbf)]+'>'+this[_0x3ecb98(0xc2)](this[_0x3ecb98(0xa8)])+'</'+_0x42191b[_0x3ecb98(0xbf)]+'>',{'childrenOnly':!0x0}),this[_0x3ecb98(0xba)][_0x3ecb98(0xb7)]&&this[_0x3ecb98(0xba)][_0x3ecb98(0xb7)](),this[_0x3ecb98(0xad)]++,this[_0x3ecb98(0x95)]=Date[_0x3ecb98(0xa0)]();}while(this[_0x3ecb98(0xad)]<this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]);this[_0x3ecb98(0xad)]=this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)],this[_0x3ecb98(0xc3)]=!0x1;}[_0x4e4073(0xbe)](){const _0x42c931=_0x4e4073;this[_0x42c931(0xc3)]=!0x1,this[_0x42c931(0xa8)]=null,this[_0x42c931(0x90)]=[],this[_0x42c931(0xad)]=0x0,this[_0x42c931(0xc6)]=null;}[_0x4e4073(0xa3)]({targetElement:_0x58c7dd}){const _0x3dedbf=_0x4e4073;Array[_0x3dedbf(0xc0)](_0x58c7dd[_0x3dedbf(0x97)](_0x3dedbf(0xb8)))[_0x3dedbf(0x99)]()[_0x3dedbf(0x94)](_0x5e1797=>{const _0x3a8256=_0x3dedbf;_0x5e1797[_0x3a8256(0x98)](_0x5e1797[_0x3a8256(0x8d)][0x0]);});}[_0x4e4073(0xc4)](){const _0x2f082c=_0x4e4073;this[_0x2f082c(0xc3)]=!0x1,this[_0x2f082c(0xc6)]&&(this[_0x2f082c(0xc6)][_0x2f082c(0x8b)](),this[_0x2f082c(0xc6)]=null);}[_0x4e4073(0xc2)](_0x4f615b){const _0x1b66bb=_0x4e4073;let _0x2d9b='';if(function(_0x21766b){return _0x4a02e6(_0x21766b);}(_0x4f615b)){for(const _0x4b8112 of _0x4f615b[_0x1b66bb(0x9f)])_0x2d9b+=this[_0x1b66bb(0xc2)](_0x4b8112);}else{if(Ts(_0x4f615b)){if(!_0x4f615b[_0x1b66bb(0xbb)])return'';const _0x56e66a=_0x4f615b,_0x5c34cd=Object[_0x1b66bb(0xb3)](_0x56e66a[_0x1b66bb(0xc5)])[_0x1b66bb(0xa2)](([_0x10cf37,_0x137e15])=>_0x10cf37+'=\x22'+_0x137e15+'\x22')[_0x1b66bb(0x8f)]('\x20');_0x2d9b+='<'+_0x56e66a[_0x1b66bb(0xbf)]+(_0x5c34cd?'\x20'+_0x5c34cd:'')+'>';for(const _0x1017eb of _0x53c634(_0x56e66a))_0x2d9b+=this[_0x1b66bb(0xc2)](_0x1017eb);_0x2d9b+='</'+_0x56e66a[_0x1b66bb(0xbf)]+'>';}else{if(!Ss(_0x4f615b))return'';if(!_0x4f615b[_0x1b66bb(0xbb)])return'';!function(_0x46e9b2){const _0x281e14=_0x1b66bb;if(!_0x46e9b2[_0x281e14(0xc7)]||!Ts(_0x46e9b2[_0x281e14(0xc7)]))return!0x1;if(!ys[_0x281e14(0xb1)](_0x46e9b2[_0x281e14(0xc7)][_0x281e14(0xbf)]))return!0x1;return!_0x125cdc(_0x46e9b2)[_0x281e14(0x96)](/^\s*[<>]\s*$/);}(_0x4f615b)?_0x2d9b+=_0x2958c3(_0x4f615b):_0x2d9b+=_0x2958c3(new _0x196e8f(_0x1b66bb(0x9d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x1b66bb(0xba)][_0x1b66bb(0xa6)]},[_0x4f615b]));}}return _0x2d9b;}[_0x4e4073(0xab)](){const _0x22c68d=_0x4e4073,_0x706993=[];return function(_0x15273c,_0x1bbd8c){const _0x404d20=_0x4a49,_0x19fab7=_0x54b1f2=>{const _0x35eb10=_0x4a49;if(_0x1bbd8c(_0x54b1f2),_0x54b1f2 instanceof _0x5c3291)for(let _0x47b37f=0x0;_0x47b37f<_0x54b1f2[_0x35eb10(0x9f)][_0x35eb10(0x9a)];_0x47b37f++){const _0x41142d=_0x54b1f2[_0x35eb10(0x9f)][_0x47b37f];_0x19fab7(_0x41142d);}};for(let _0x20742a=0x0;_0x20742a<_0x15273c[_0x404d20(0x9f)][_0x404d20(0x9a)];_0x20742a++)_0x19fab7(_0x15273c[_0x404d20(0x9f)][_0x20742a]);}(this[_0x22c68d(0xa8)],_0x2d8625=>{const _0x187282=_0x22c68d;if(Ss(_0x2d8625)){const _0x4d40fb=this[_0x187282(0xb2)](_0x2d8625);_0x4d40fb[_0x187282(0x9a)]&&_0x706993[_0x187282(0xb6)](..._0x4d40fb);}_0x2d8625[_0x187282(0x92)]||_0x2d8625[_0x187282(0xaa)]||_0x706993[_0x187282(0xb6)](_0x2d8625);}),_0x706993;}[_0x4e4073(0xb2)](_0x50f33b){const _0x41dca8=_0x4e4073;if(_0x50f33b[_0x41dca8(0x92)]||_0x50f33b[_0x41dca8(0xaa)])return[];const _0x318d72=_0x125cdc(_0x50f33b)[_0x41dca8(0x96)](/(?:\s*\S+\s*)/g),_0x5a9b00=[];if(_0x318d72&&_0x318d72[_0x41dca8(0x9a)]>0x1){for(const _0x3a0a97 of _0x318d72){const _0x3f5bae=new _0x1b2ec2(_0x3a0a97);_0x3f5bae[_0x41dca8(0xaa)]=!0x0,_0x29ad16(_0x50f33b,_0x3f5bae),_0x5a9b00[_0x41dca8(0xb6)](_0x3f5bae);}_0x50f33b[_0x41dca8(0x92)]=!0x0,_0x5cde7d(_0x50f33b);}return _0x5a9b00;}}const ys=['p','li','td','th',_0x4e4073(0x9d),'h1','h2','h3','h4','h5','h6','b',_0x4e4073(0x8c),'i','em',_0x4e4073(0xb4),_0x4e4073(0x9e),_0x4e4073(0x9c),_0x4e4073(0xb5),_0x4e4073(0x9b),'a',_0x4e4073(0xb9),_0x4e4073(0xac)];function Ss(_0x29247c){return _0x3c6e52(_0x29247c);}function Ts(_0xba52b5){return _0x1a8f40(_0xba52b5);}function Ls(_0x22b774){const _0x4e13c6=new AbortController();return{'promise':new Promise((_0x31f226,_0x5c7fbc)=>{const _0xbecc0c=_0x4a49,_0x4ba0a0=setTimeout(_0x31f226,_0x22b774);_0x4e13c6[_0xbecc0c(0x93)][_0xbecc0c(0x91)](_0xbecc0c(0x8b),()=>{clearTimeout(_0x4ba0a0),_0x5c7fbc();});}),'abortController':_0x4e13c6};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ac7ee=_0x5f03;(function(_0x226895,_0x5ee3df){const _0x325a51=_0x5f03,_0x3adaa7=_0x226895();while(!![]){try{const _0x4054dd=-parseInt(_0x325a51(0x185))/0x1*(-parseInt(_0x325a51(0x190))/0x2)+-parseInt(_0x325a51(0x188))/0x3*(-parseInt(_0x325a51(0x1ac))/0x4)+parseInt(_0x325a51(0x1a6))/0x5*(parseInt(_0x325a51(0x1a5))/0x6)+-parseInt(_0x325a51(0x184))/0x7*(-parseInt(_0x325a51(0x192))/0x8)+-parseInt(_0x325a51(0x1aa))/0x9*(-parseInt(_0x325a51(0x193))/0xa)+-parseInt(_0x325a51(0x187))/0xb+-parseInt(_0x325a51(0x180))/0xc;if(_0x4054dd===_0x5ee3df)break;else _0x3adaa7['push'](_0x3adaa7['shift']());}catch(_0x3e0683){_0x3adaa7['push'](_0x3adaa7['shift']());}}}(_0xd227,0x71b5e));const Fs=[_0x3ac7ee(0x19b),_0x3ac7ee(0x19d),_0x3ac7ee(0x195),_0x3ac7ee(0x199)],Us=[_0x3ac7ee(0x18e),_0x3ac7ee(0x1a0),_0x3ac7ee(0x196),_0x3ac7ee(0x1a9),_0x3ac7ee(0x198),_0x3ac7ee(0x194),'\x20'];function _0xd227(){const _0x130c0c=['PageDown','6038037Phphqg','scrollHeight','8AIfklb','6374232mUPAdk','deltaY','type','scrollTo','317849prDDLb','1jqLWIB','includes','1146222YeUpZH','220368URnalB','isRunning','element','start','stop','isUserPaused','ArrowUp','addEventListener','170484MfGblw','_rafUpdate','16BaVQIh','10ppMToJ','End','pointerdown','PageUp','_onUserEvent','Home','keydown','key','wheel','animationFrameId','touchstart','_stop','signal','ArrowDown','destroy','bind','_isAtBottom','abortController','643710nbVzAP','5kNbzBQ','abort','auto'];_0xd227=function(){return _0x130c0c;};return _0xd227();}function _0x5f03(_0x168688,_0x1620a5){const _0xd22721=_0xd227();return _0x5f03=function(_0x5f03cc,_0x29cc72){_0x5f03cc=_0x5f03cc-0x180;let _0x8902a4=_0xd22721[_0x5f03cc];return _0x8902a4;},_0x5f03(_0x168688,_0x1620a5);}export class ScrollManager{[_0x3ac7ee(0x18a)];[_0x3ac7ee(0x19c)];[_0x3ac7ee(0x189)];[_0x3ac7ee(0x1a4)];[_0x3ac7ee(0x18d)];constructor(_0x230ce4){const _0x53e25d=_0x3ac7ee;this[_0x53e25d(0x18a)]=_0x230ce4,this[_0x53e25d(0x19c)]=null,this[_0x53e25d(0x189)]=!0x1,this[_0x53e25d(0x1a4)]=new AbortController(),this[_0x53e25d(0x18d)]=!0x1;for(const _0x294510 of Fs){const _0x316109=_0x53e25d(0x199)!==_0x294510;this[_0x53e25d(0x18a)][_0x53e25d(0x18f)](_0x294510,this[_0x53e25d(0x197)][_0x53e25d(0x1a2)](this),{'passive':_0x316109,'signal':this[_0x53e25d(0x1a4)][_0x53e25d(0x19f)]});}}[_0x3ac7ee(0x18b)](){const _0x5df337=_0x3ac7ee;this[_0x5df337(0x189)]||(this[_0x5df337(0x189)]=!0x0,this[_0x5df337(0x18d)]=!0x1,this[_0x5df337(0x19c)]=requestAnimationFrame(this[_0x5df337(0x191)][_0x5df337(0x1a2)](this)));}[_0x3ac7ee(0x18c)](){requestAnimationFrame(()=>{const _0x2dd102=_0x5f03;this[_0x2dd102(0x19e)]();});}[_0x3ac7ee(0x1a1)](){const _0x2be8ea=_0x3ac7ee;this[_0x2be8ea(0x19e)](),this[_0x2be8ea(0x1a4)][_0x2be8ea(0x1a7)]();}[_0x3ac7ee(0x19e)](){const _0x352211=_0x3ac7ee;null!==this[_0x352211(0x19c)]&&(cancelAnimationFrame(this[_0x352211(0x19c)]),this[_0x352211(0x19c)]=null),this[_0x352211(0x189)]&&(this[_0x352211(0x189)]=!0x1),this[_0x352211(0x18d)]=!0x1;}[_0x3ac7ee(0x197)](_0x46f6c8){const _0xfde233=_0x3ac7ee;if(this[_0xfde233(0x189)]){if(_0xfde233(0x199)===_0x46f6c8[_0xfde233(0x182)]){const _0x5af0b=_0x46f6c8[_0xfde233(0x19a)];if(!Us[_0xfde233(0x186)](_0x5af0b))return;}_0x46f6c8 instanceof WheelEvent?_0x46f6c8[_0xfde233(0x181)]<0x0?this[_0xfde233(0x18d)]=!0x0:this[_0xfde233(0x18d)]=!this[_0xfde233(0x1a3)]():this[_0xfde233(0x18d)]=!0x0;}}[_0x3ac7ee(0x1a3)](){const _0x2cce97=_0x3ac7ee,{scrollTop:_0x23b8d0,scrollHeight:_0x302afe,clientHeight:_0x4a028f}=this[_0x2cce97(0x18a)];return _0x302afe-_0x23b8d0-_0x4a028f<=0x5;}[_0x3ac7ee(0x191)](){const _0x23b724=_0x3ac7ee;this[_0x23b724(0x189)]&&(this[_0x23b724(0x18d)]||this[_0x23b724(0x18a)][_0x23b724(0x183)]({'top':this[_0x23b724(0x18a)][_0x23b724(0x1ab)],'behavior':_0x23b724(0x1a8)}),this[_0x23b724(0x19c)]=requestAnimationFrame(this[_0x23b724(0x191)][_0x23b724(0x1a2)](this)));}}
23
+ const _0x3a13e9=_0x4623;(function(_0x546fc9,_0x53c2a9){const _0x45d83a=_0x4623,_0x21f358=_0x546fc9();while(!![]){try{const _0x1aea5a=parseInt(_0x45d83a(0x8f))/0x1+parseInt(_0x45d83a(0x9b))/0x2*(parseInt(_0x45d83a(0x93))/0x3)+parseInt(_0x45d83a(0x94))/0x4+parseInt(_0x45d83a(0x89))/0x5*(-parseInt(_0x45d83a(0x97))/0x6)+parseInt(_0x45d83a(0x8c))/0x7+-parseInt(_0x45d83a(0x7c))/0x8*(-parseInt(_0x45d83a(0x87))/0x9)+-parseInt(_0x45d83a(0x86))/0xa*(parseInt(_0x45d83a(0x82))/0xb);if(_0x1aea5a===_0x53c2a9)break;else _0x21f358['push'](_0x21f358['shift']());}catch(_0x24e9f2){_0x21f358['push'](_0x21f358['shift']());}}}(_0x5799,0x807e3));function _0x5799(){const _0x24f7b6=['14862133ptgxvQ','PageDown','auto','abort','10JwtJGN','18jgWydj','ArrowDown','5OTMHYa','_rafUpdate','scrollTo','795438JuzyxR','stop','signal','426463hQfYTA','element','isUserPaused','animationFrameId','57xYipik','2221732HjAnKV','PageUp','key','638190CHlpqm','abortController','touchstart','keydown','27554cxbKSz','pointerdown','scrollHeight','_isAtBottom','_stop','includes','destroy','wheel','End','ArrowUp','start','bind','deltaY','2505928VccTor','type','Home','_onUserEvent','isRunning','addEventListener'];_0x5799=function(){return _0x24f7b6;};return _0x5799();}function _0x4623(_0x37cc04,_0x3b6c48){const _0x5799fc=_0x5799();return _0x4623=function(_0x4623ae,_0x4b80ed){_0x4623ae=_0x4623ae-0x76;let _0x5ee4bc=_0x5799fc[_0x4623ae];return _0x5ee4bc;},_0x4623(_0x37cc04,_0x3b6c48);}const Fs=[_0x3a13e9(0x76),_0x3a13e9(0x99),_0x3a13e9(0x9c),_0x3a13e9(0x9a)],Us=[_0x3a13e9(0x78),_0x3a13e9(0x88),_0x3a13e9(0x95),_0x3a13e9(0x83),_0x3a13e9(0x7e),_0x3a13e9(0x77),'\x20'];export class ScrollManager{[_0x3a13e9(0x90)];[_0x3a13e9(0x92)];[_0x3a13e9(0x80)];[_0x3a13e9(0x98)];[_0x3a13e9(0x91)];constructor(_0x28404f){const _0x258a8c=_0x3a13e9;this[_0x258a8c(0x90)]=_0x28404f,this[_0x258a8c(0x92)]=null,this[_0x258a8c(0x80)]=!0x1,this[_0x258a8c(0x98)]=new AbortController(),this[_0x258a8c(0x91)]=!0x1;for(const _0x49abed of Fs){const _0x3cff59=_0x258a8c(0x9a)!==_0x49abed;this[_0x258a8c(0x90)][_0x258a8c(0x81)](_0x49abed,this[_0x258a8c(0x7f)][_0x258a8c(0x7a)](this),{'passive':_0x3cff59,'signal':this[_0x258a8c(0x98)][_0x258a8c(0x8e)]});}}[_0x3a13e9(0x79)](){const _0x3f80e6=_0x3a13e9;this[_0x3f80e6(0x80)]||(this[_0x3f80e6(0x80)]=!0x0,this[_0x3f80e6(0x91)]=!0x1,this[_0x3f80e6(0x92)]=requestAnimationFrame(this[_0x3f80e6(0x8a)][_0x3f80e6(0x7a)](this)));}[_0x3a13e9(0x8d)](){requestAnimationFrame(()=>{const _0x18b0c7=_0x4623;this[_0x18b0c7(0x9f)]();});}[_0x3a13e9(0xa1)](){const _0xd11b35=_0x3a13e9;this[_0xd11b35(0x9f)](),this[_0xd11b35(0x98)][_0xd11b35(0x85)]();}[_0x3a13e9(0x9f)](){const _0x6ad147=_0x3a13e9;null!==this[_0x6ad147(0x92)]&&(cancelAnimationFrame(this[_0x6ad147(0x92)]),this[_0x6ad147(0x92)]=null),this[_0x6ad147(0x80)]&&(this[_0x6ad147(0x80)]=!0x1),this[_0x6ad147(0x91)]=!0x1;}[_0x3a13e9(0x7f)](_0x46e47b){const _0x16c404=_0x3a13e9;if(this[_0x16c404(0x80)]){if(_0x16c404(0x9a)===_0x46e47b[_0x16c404(0x7d)]){const _0x1aafdd=_0x46e47b[_0x16c404(0x96)];if(!Us[_0x16c404(0xa0)](_0x1aafdd))return;}_0x46e47b instanceof WheelEvent?_0x46e47b[_0x16c404(0x7b)]<0x0?this[_0x16c404(0x91)]=!0x0:this[_0x16c404(0x91)]=!this[_0x16c404(0x9e)]():this[_0x16c404(0x91)]=!0x0;}}[_0x3a13e9(0x9e)](){const _0x944806=_0x3a13e9,{scrollTop:_0x320480,scrollHeight:_0x18fa74,clientHeight:_0x272156}=this[_0x944806(0x90)];return _0x18fa74-_0x320480-_0x272156<=0x5;}[_0x3a13e9(0x8a)](){const _0x34eb3c=_0x3a13e9;this[_0x34eb3c(0x80)]&&(this[_0x34eb3c(0x91)]||this[_0x34eb3c(0x90)][_0x34eb3c(0x8b)]({'top':this[_0x34eb3c(0x90)][_0x34eb3c(0x9d)],'behavior':_0x34eb3c(0x84)}),this[_0x34eb3c(0x92)]=requestAnimationFrame(this[_0x34eb3c(0x8a)][_0x34eb3c(0x7a)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5961d0=_0x476e;(function(_0x2171af,_0x1667a4){var _0x127e00=_0x476e,_0x2ab027=_0x2171af();while(!![]){try{var _0x18a03a=-parseInt(_0x127e00(0x129))/0x1*(parseInt(_0x127e00(0x12c))/0x2)+-parseInt(_0x127e00(0x12b))/0x3*(-parseInt(_0x127e00(0x120))/0x4)+-parseInt(_0x127e00(0x124))/0x5+-parseInt(_0x127e00(0x121))/0x6*(parseInt(_0x127e00(0x122))/0x7)+-parseInt(_0x127e00(0x123))/0x8*(parseInt(_0x127e00(0x12a))/0x9)+parseInt(_0x127e00(0x128))/0xa+parseInt(_0x127e00(0x12e))/0xb;if(_0x18a03a===_0x1667a4)break;else _0x2ab027['push'](_0x2ab027['shift']());}catch(_0x182fac){_0x2ab027['push'](_0x2ab027['shift']());}}}(_0x393b,0x91718));import{Plugin as _0x59ce6a}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x8182f3}from'./aitogglebutton/aitogglebuttonui.js';function _0x393b(){var _0xfdf97b=['10382598Xkouxi','12dfjZCi','132YYcKBz','requires','21240923paYiqY','isOfficialPlugin','707416aiepdL','264vxuSsH','39214XhmHOX','8alzYCi','2917700CYfjtq','isPremiumPlugin','pluginName','AIEditorIntegration','4097750kOEIeM','7103orEiaS'];_0x393b=function(){return _0xfdf97b;};return _0x393b();}import{AIChatBalloon as _0x687180}from'../aichat/aichatballoon.js';function _0x476e(_0x4084cd,_0xecd45f){var _0x393b68=_0x393b();return _0x476e=function(_0x476ec3,_0x5c8a7c){_0x476ec3=_0x476ec3-0x11f;var _0x1ded34=_0x393b68[_0x476ec3];return _0x1ded34;},_0x476e(_0x4084cd,_0xecd45f);}import{SuggestionsConversion as _0x361dab}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x59ce6a{static get[_0x5961d0(0x12d)](){return[_0x8182f3,_0x687180,_0x361dab];}static get[_0x5961d0(0x126)](){var _0x43ceec=_0x5961d0;return _0x43ceec(0x127);}static get[_0x5961d0(0x11f)](){return!0x0;}static get[_0x5961d0(0x125)](){return!0x0;}}
23
+ function _0x4170(_0x3828b3,_0x3df0fc){var _0x5442d4=_0x5442();return _0x4170=function(_0x41702d,_0x322d27){_0x41702d=_0x41702d-0x13c;var _0x448e27=_0x5442d4[_0x41702d];return _0x448e27;},_0x4170(_0x3828b3,_0x3df0fc);}var _0x43e275=_0x4170;(function(_0x1bbb64,_0x5ce8be){var _0x53e538=_0x4170,_0x2070e6=_0x1bbb64();while(!![]){try{var _0x56a9a0=-parseInt(_0x53e538(0x13f))/0x1*(-parseInt(_0x53e538(0x144))/0x2)+-parseInt(_0x53e538(0x13d))/0x3+parseInt(_0x53e538(0x142))/0x4+parseInt(_0x53e538(0x149))/0x5+parseInt(_0x53e538(0x140))/0x6+-parseInt(_0x53e538(0x13c))/0x7*(parseInt(_0x53e538(0x13e))/0x8)+-parseInt(_0x53e538(0x147))/0x9;if(_0x56a9a0===_0x5ce8be)break;else _0x2070e6['push'](_0x2070e6['shift']());}catch(_0x457a59){_0x2070e6['push'](_0x2070e6['shift']());}}}(_0x5442,0x347fc));import{Plugin as _0x5a6c4d}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3b6c87}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x2f01c1}from'../aichat/aichatballoon.js';function _0x5442(){var _0x485bbe=['4852188loTPtO','isOfficialPlugin','1190250mFKUES','37919NcqBJv','383394uYNxRl','40qbiVjq','11xDPLep','1968390QolnGC','AIEditorIntegration','552596JXltgd','requires','37234zGXcvW','isPremiumPlugin','pluginName'];_0x5442=function(){return _0x485bbe;};return _0x5442();}import{SuggestionsConversion as _0x16a5e2}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x5a6c4d{static get[_0x43e275(0x143)](){return[_0x3b6c87,_0x2f01c1,_0x16a5e2];}static get[_0x43e275(0x146)](){var _0xd58547=_0x43e275;return _0xd58547(0x141);}static get[_0x43e275(0x148)](){return!0x0;}static get[_0x43e275(0x145)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d0b9b=_0x51c6;(function(_0x579f9e,_0x52c9f9){const _0x41b597=_0x51c6,_0x13a92a=_0x579f9e();while(!![]){try{const _0x479516=parseInt(_0x41b597(0x1ef))/0x1*(parseInt(_0x41b597(0x1f1))/0x2)+-parseInt(_0x41b597(0x1d8))/0x3+-parseInt(_0x41b597(0x1f4))/0x4*(-parseInt(_0x41b597(0x1ee))/0x5)+parseInt(_0x41b597(0x1f6))/0x6+parseInt(_0x41b597(0x1ec))/0x7*(parseInt(_0x41b597(0x1f9))/0x8)+parseInt(_0x41b597(0x1f5))/0x9+-parseInt(_0x41b597(0x1df))/0xa;if(_0x479516===_0x52c9f9)break;else _0x13a92a['push'](_0x13a92a['shift']());}catch(_0x3a3bc3){_0x13a92a['push'](_0x13a92a['shift']());}}}(_0x58ae,0x91bab));import{Plugin as _0x1d1c69}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x9efd10}from'./toggleaicommand.js';import{ButtonView as _0x36e728,MenuBarMenuListItemButtonView as _0x3557ad}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x56027b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4ff23b}from'../../aicore/utils/common-translations.js';function _0x58ae(){const _0x3e372d=['set','add','listenTo','toggleAi','24591580nGciZg','bind','menuitemcheckbox','AI_TOGGLE_BUTTON_LABEL','isPremiumPlugin','locale','AIToggleButtonUI','isOfficialPlugin','editor','pluginName','isEnabled','ck-ai-toggle-button','isOn','6530412ySCMXg','init','90SejhcJ','1KCVPXK','commands','1442526wgZzCa','_createAIUIButton','execute','263352FQoRBp','347796AfDcZN','6418014NDGovX','menuBar:toggleAi','componentFactory','8OnObKx','value','2674533qchmXc','get','requires'];_0x58ae=function(){return _0x3e372d;};return _0x58ae();}import{AITabs as _0x4f0339}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x51c6(_0x522751,_0x40f97e){const _0x58ae7f=_0x58ae();return _0x51c6=function(_0x51c6c0,_0x3ef3f7){_0x51c6c0=_0x51c6c0-0x1d8;let _0x113228=_0x58ae7f[_0x51c6c0];return _0x113228;},_0x51c6(_0x522751,_0x40f97e);}export class AIToggleButtonUI extends _0x1d1c69{static get[_0x3d0b9b(0x1da)](){return[_0x4f0339];}static get[_0x3d0b9b(0x1e8)](){const _0x4262f6=_0x3d0b9b;return _0x4262f6(0x1e5);}static get[_0x3d0b9b(0x1e6)](){return!0x0;}static get[_0x3d0b9b(0x1e3)](){return!0x0;}[_0x3d0b9b(0x1ed)](){const _0x4c2842=_0x3d0b9b,_0x5e1729=this[_0x4c2842(0x1e7)];_0x5e1729[_0x4c2842(0x1f0)][_0x4c2842(0x1dc)](_0x4c2842(0x1de),new _0x9efd10(_0x5e1729)),_0x5e1729['ui'][_0x4c2842(0x1f8)][_0x4c2842(0x1dc)](_0x4c2842(0x1de),()=>{const _0x14348a=_0x4c2842,_0x105d4f=this[_0x14348a(0x1f2)](_0x36e728);return _0x105d4f[_0x14348a(0x1db)]({'tooltip':!0x0,'class':_0x14348a(0x1ea)}),_0x105d4f;}),_0x5e1729['ui'][_0x4c2842(0x1f8)][_0x4c2842(0x1dc)](_0x4c2842(0x1f7),()=>{const _0x1e9158=_0x4c2842,_0x150cf4=this[_0x1e9158(0x1f2)](_0x3557ad);return _0x150cf4[_0x1e9158(0x1db)]({'role':_0x1e9158(0x1e1)}),_0x150cf4;});}[_0x3d0b9b(0x1f2)](_0x19657a){const _0x4204ec=_0x3d0b9b,_0x3fcaeb=this[_0x4204ec(0x1e7)],_0x1f4680=_0x3fcaeb[_0x4204ec(0x1f0)][_0x4204ec(0x1d9)](_0x4204ec(0x1de)),_0x3ec704=new _0x19657a(_0x3fcaeb[_0x4204ec(0x1e4)]);return _0x3ec704[_0x4204ec(0x1db)]({'label':_0x4ff23b(_0x3fcaeb[_0x4204ec(0x1e4)],_0x4204ec(0x1e2)),'icon':_0x56027b,'isToggleable':!0x0}),_0x3ec704[_0x4204ec(0x1e0)](_0x4204ec(0x1e9))['to'](_0x1f4680),_0x3ec704[_0x4204ec(0x1e0)](_0x4204ec(0x1eb))['to'](_0x1f4680,_0x4204ec(0x1fa),_0x46dfb1=>!!_0x46dfb1),this[_0x4204ec(0x1dd)](_0x3ec704,_0x4204ec(0x1f3),()=>{const _0x5cd5d9=_0x4204ec;_0x1f4680[_0x5cd5d9(0x1f3)]();}),_0x3ec704;}}
23
+ const _0xad1a87=_0xd0a2;(function(_0xd1d8dd,_0x24c06a){const _0x3c5372=_0xd0a2,_0x551826=_0xd1d8dd();while(!![]){try{const _0x4b67ab=-parseInt(_0x3c5372(0xc9))/0x1*(parseInt(_0x3c5372(0xe6))/0x2)+parseInt(_0x3c5372(0xdc))/0x3+-parseInt(_0x3c5372(0xcb))/0x4*(-parseInt(_0x3c5372(0xda))/0x5)+-parseInt(_0x3c5372(0xc8))/0x6*(parseInt(_0x3c5372(0xca))/0x7)+parseInt(_0x3c5372(0xe2))/0x8+parseInt(_0x3c5372(0xcc))/0x9*(parseInt(_0x3c5372(0xd0))/0xa)+-parseInt(_0x3c5372(0xe5))/0xb;if(_0x4b67ab===_0x24c06a)break;else _0x551826['push'](_0x551826['shift']());}catch(_0x2b3d2b){_0x551826['push'](_0x551826['shift']());}}}(_0xdb34,0xb6134));import{Plugin as _0x4bab9c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x2fc3fd}from'./toggleaicommand.js';function _0xd0a2(_0x3caed6,_0x5a6adf){const _0xdb3455=_0xdb34();return _0xd0a2=function(_0xd0a276,_0x2925b7){_0xd0a276=_0xd0a276-0xc4;let _0x13d579=_0xdb3455[_0xd0a276];return _0x13d579;},_0xd0a2(_0x3caed6,_0x5a6adf);}import{ButtonView as _0x4d5a00,MenuBarMenuListItemButtonView as _0x55f172}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x30cd3b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x234de7}from'../../aicore/utils/common-translations.js';import{AITabs as _0x2f91c4}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4bab9c{static get[_0xad1a87(0xd7)](){return[_0x2f91c4];}static get[_0xad1a87(0xc5)](){const _0x1e8d32=_0xad1a87;return _0x1e8d32(0xc6);}static get[_0xad1a87(0xde)](){return!0x0;}static get[_0xad1a87(0xd9)](){return!0x0;}[_0xad1a87(0xcf)](){const _0x1a21ab=_0xad1a87,_0x1dec91=this[_0x1a21ab(0xd2)];_0x1dec91[_0x1a21ab(0xcd)][_0x1a21ab(0xc4)](_0x1a21ab(0xe7),new _0x2fc3fd(_0x1dec91)),_0x1dec91['ui'][_0x1a21ab(0xd1)][_0x1a21ab(0xc4)](_0x1a21ab(0xe7),()=>{const _0x1e8750=_0x1a21ab,_0xea3b9f=this[_0x1e8750(0xd6)](_0x4d5a00);return _0xea3b9f[_0x1e8750(0xd3)]({'tooltip':!0x0,'class':_0x1e8750(0xdb)}),_0xea3b9f;}),_0x1dec91['ui'][_0x1a21ab(0xd1)][_0x1a21ab(0xc4)](_0x1a21ab(0xe3),()=>{const _0x1eb63e=_0x1a21ab,_0x498f3a=this[_0x1eb63e(0xd6)](_0x55f172);return _0x498f3a[_0x1eb63e(0xd3)]({'role':_0x1eb63e(0xd5)}),_0x498f3a;});}[_0xad1a87(0xd6)](_0x480b29){const _0x5f137a=_0xad1a87,_0xb5d7a5=this[_0x5f137a(0xd2)],_0x340ff6=_0xb5d7a5[_0x5f137a(0xcd)][_0x5f137a(0xe0)](_0x5f137a(0xe7)),_0x1a2a65=new _0x480b29(_0xb5d7a5[_0x5f137a(0xc7)]);return _0x1a2a65[_0x5f137a(0xd3)]({'label':_0x234de7(_0xb5d7a5[_0x5f137a(0xc7)],_0x5f137a(0xe4)),'icon':_0x30cd3b,'isToggleable':!0x0}),_0x1a2a65[_0x5f137a(0xce)](_0x5f137a(0xdd))['to'](_0x340ff6),_0x1a2a65[_0x5f137a(0xce)](_0x5f137a(0xdf))['to'](_0x340ff6,_0x5f137a(0xd8),_0x1f6473=>!!_0x1f6473),this[_0x5f137a(0xe1)](_0x1a2a65,_0x5f137a(0xd4),()=>{const _0x4da926=_0x5f137a;_0x340ff6[_0x4da926(0xd4)]();}),_0x1a2a65;}}function _0xdb34(){const _0xc361ce=['ck-ai-toggle-button','2073459nStaPk','isEnabled','isOfficialPlugin','isOn','get','listenTo','4638384bcEuAO','menuBar:toggleAi','AI_TOGGLE_BUTTON_LABEL','12707013umtwTV','49046uvtzmj','toggleAi','add','pluginName','AIToggleButtonUI','locale','42JLvNcV','4AuBlfk','1032703oklwIv','3175632ciKFia','27981jdTCBR','commands','bind','init','3110qkyDLL','componentFactory','editor','set','execute','menuitemcheckbox','_createAIUIButton','requires','value','isPremiumPlugin','5wkJEcj'];_0xdb34=function(){return _0xc361ce;};return _0xdb34();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ac9e6=_0x3e89;(function(_0x413b12,_0x53df9f){const _0x395685=_0x3e89,_0x5f75bf=_0x413b12();while(!![]){try{const _0x463990=-parseInt(_0x395685(0x82))/0x1*(parseInt(_0x395685(0x81))/0x2)+-parseInt(_0x395685(0x80))/0x3*(parseInt(_0x395685(0x94))/0x4)+parseInt(_0x395685(0x93))/0x5*(parseInt(_0x395685(0x87))/0x6)+-parseInt(_0x395685(0x85))/0x7+-parseInt(_0x395685(0x95))/0x8*(parseInt(_0x395685(0x90))/0x9)+-parseInt(_0x395685(0x8c))/0xa*(parseInt(_0x395685(0x92))/0xb)+parseInt(_0x395685(0x83))/0xc;if(_0x463990===_0x53df9f)break;else _0x5f75bf['push'](_0x5f75bf['shift']());}catch(_0x5256e0){_0x5f75bf['push'](_0x5f75bf['shift']());}}}(_0x4778,0x351b5));function _0x3e89(_0x132264,_0x356dae){const _0x4778e5=_0x4778();return _0x3e89=function(_0x3e89d2,_0x36a92a){_0x3e89d2=_0x3e89d2-0x80;let _0x5286aa=_0x4778e5[_0x3e89d2];return _0x5286aa;},_0x3e89(_0x132264,_0x356dae);}import{Command as _0x374528}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x374528{constructor(_0x1f1d8c){const _0x3c831c=_0x3e89;super(_0x1f1d8c);const _0x3acc68=_0x1f1d8c[_0x3c831c(0x84)][_0x3c831c(0x88)](_0x3c831c(0x86))[_0x3c831c(0x89)];this[_0x3c831c(0x8a)](_0x3c831c(0x91))['to'](_0x3acc68,_0x3c831c(0x8b)),this[_0x3c831c(0x8e)]=!0x0;}[_0x4ac9e6(0x8d)](){const _0x4eb6d2=_0x4ac9e6,_0x55a4a4=this[_0x4eb6d2(0x8f)][_0x4eb6d2(0x84)][_0x4eb6d2(0x88)](_0x4eb6d2(0x86))[_0x4eb6d2(0x89)];_0x55a4a4[_0x4eb6d2(0x8b)]=!_0x55a4a4[_0x4eb6d2(0x8b)];}}function _0x4778(){const _0x4b43b2=['get','view','bind','isVisible','3298010ViObPx','execute','isEnabled','editor','47934XlQLEZ','value','11yRvPWg','75GiEsIZ','404tDtSwR','392AfZVUJ','5448fCSShD','6694EIreyY','2XazJKs','16775028EKXSRh','plugins','3020003bElUFM','AITabs','12768OmXirk'];_0x4778=function(){return _0x4b43b2;};return _0x4778();}
23
+ function _0x3bca(_0x1082a6,_0xcc6e4c){const _0x3c37e2=_0x3c37();return _0x3bca=function(_0x3bca0d,_0x1e7c0d){_0x3bca0d=_0x3bca0d-0x1bf;let _0x30e410=_0x3c37e2[_0x3bca0d];return _0x30e410;},_0x3bca(_0x1082a6,_0xcc6e4c);}const _0x4b24de=_0x3bca;function _0x3c37(){const _0xdffa1f=['bind','35oHeoST','execute','value','editor','isEnabled','12160400ZyWBHF','1RpPsYo','AITabs','isVisible','6HatnTP','1286327OdofQU','346914fJIuFl','plugins','2491144FRwtDM','get','858411xeRAaJ','view','576812mXtIFY','1180616xTqOnQ'];_0x3c37=function(){return _0xdffa1f;};return _0x3c37();}(function(_0x247f0b,_0x8d567d){const _0x483ad6=_0x3bca,_0x43812f=_0x247f0b();while(!![]){try{const _0x45e56d=-parseInt(_0x483ad6(0x1ce))/0x1*(-parseInt(_0x483ad6(0x1c6))/0x2)+-parseInt(_0x483ad6(0x1bf))/0x3+parseInt(_0x483ad6(0x1c5))/0x4*(-parseInt(_0x483ad6(0x1c8))/0x5)+parseInt(_0x483ad6(0x1d1))/0x6*(-parseInt(_0x483ad6(0x1d2))/0x7)+parseInt(_0x483ad6(0x1c1))/0x8+-parseInt(_0x483ad6(0x1c3))/0x9+parseInt(_0x483ad6(0x1cd))/0xa;if(_0x45e56d===_0x8d567d)break;else _0x43812f['push'](_0x43812f['shift']());}catch(_0x152709){_0x43812f['push'](_0x43812f['shift']());}}}(_0x3c37,0xae346));import{Command as _0x23eee6}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x23eee6{constructor(_0x3db751){const _0x4f547a=_0x3bca;super(_0x3db751);const _0x1ae9d8=_0x3db751[_0x4f547a(0x1c0)][_0x4f547a(0x1c2)](_0x4f547a(0x1cf))[_0x4f547a(0x1c4)];this[_0x4f547a(0x1c7)](_0x4f547a(0x1ca))['to'](_0x1ae9d8,_0x4f547a(0x1d0)),this[_0x4f547a(0x1cc)]=!0x0;}[_0x4b24de(0x1c9)](){const _0x39b034=_0x4b24de,_0x44f104=this[_0x39b034(0x1cb)][_0x39b034(0x1c0)][_0x39b034(0x1c2)](_0x39b034(0x1cf))[_0x39b034(0x1c4)];_0x44f104[_0x39b034(0x1d0)]=!_0x44f104[_0x39b034(0x1d0)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d21f4=_0x5cee;function _0x39b4(){var _0x3bc822=['575285lNryOs','ai.quickActions','isPremiumPlugin','4yvJEqj','702670dzxSBW','34167vIKmOf','config','AIQuickActions','4086203bsaAFr','243EoLiTT','requires','59877rULwze','2qhNrAD','define','14gdoSvF','52016InVTmT','583386fwBxWI','pluginName','isOfficialPlugin'];_0x39b4=function(){return _0x3bc822;};return _0x39b4();}(function(_0x4b6ca2,_0x3347b7){var _0x1d486f=_0x5cee,_0x287e78=_0x4b6ca2();while(!![]){try{var _0x102e2b=parseInt(_0x1d486f(0x129))/0x1+-parseInt(_0x1d486f(0x12a))/0x2*(-parseInt(_0x1d486f(0x136))/0x3)+parseInt(_0x1d486f(0x134))/0x4*(parseInt(_0x1d486f(0x131))/0x5)+-parseInt(_0x1d486f(0x12e))/0x6*(-parseInt(_0x1d486f(0x12c))/0x7)+parseInt(_0x1d486f(0x12d))/0x8*(parseInt(_0x1d486f(0x127))/0x9)+-parseInt(_0x1d486f(0x135))/0xa+-parseInt(_0x1d486f(0x126))/0xb;if(_0x102e2b===_0x3347b7)break;else _0x287e78['push'](_0x287e78['shift']());}catch(_0x2fb2a5){_0x287e78['push'](_0x287e78['shift']());}}}(_0x39b4,0x1bfa7));function _0x5cee(_0x8ccb2b,_0x41f25a){var _0x39b47a=_0x39b4();return _0x5cee=function(_0x5ceedb,_0x3ec11b){_0x5ceedb=_0x5ceedb-0x125;var _0x96f2b=_0x39b47a[_0x5ceedb];return _0x96f2b;},_0x5cee(_0x8ccb2b,_0x41f25a);}import{Plugin as _0x5653a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x438f6c}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x3a2681}from'./aiquickactionsediting.js';import{AIActions as _0x4d4758}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x5653a{static get[_0x4d21f4(0x128)](){return[_0x438f6c,_0x3a2681,_0x4d4758];}static get[_0x4d21f4(0x12f)](){var _0x435180=_0x4d21f4;return _0x435180(0x125);}static get[_0x4d21f4(0x130)](){return!0x0;}static get[_0x4d21f4(0x133)](){return!0x0;}constructor(_0xddf71d){var _0x1fdd2c=_0x4d21f4;super(_0xddf71d),_0xddf71d[_0x1fdd2c(0x137)][_0x1fdd2c(0x12b)](_0x1fdd2c(0x132),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ function _0x94c1(_0x36ee5c,_0x2a9b62){var _0x9a5572=_0x9a55();return _0x94c1=function(_0x94c1f7,_0x574ed2){_0x94c1f7=_0x94c1f7-0x131;var _0x47d79d=_0x9a5572[_0x94c1f7];return _0x47d79d;},_0x94c1(_0x36ee5c,_0x2a9b62);}var _0x1f02e3=_0x94c1;(function(_0x2d4b24,_0x3c4114){var _0x31617a=_0x94c1,_0x52fcf3=_0x2d4b24();while(!![]){try{var _0x51c541=parseInt(_0x31617a(0x13f))/0x1*(-parseInt(_0x31617a(0x144))/0x2)+-parseInt(_0x31617a(0x135))/0x3+parseInt(_0x31617a(0x13d))/0x4*(parseInt(_0x31617a(0x133))/0x5)+parseInt(_0x31617a(0x13b))/0x6*(-parseInt(_0x31617a(0x139))/0x7)+-parseInt(_0x31617a(0x13a))/0x8*(-parseInt(_0x31617a(0x143))/0x9)+parseInt(_0x31617a(0x131))/0xa*(-parseInt(_0x31617a(0x140))/0xb)+parseInt(_0x31617a(0x134))/0xc;if(_0x51c541===_0x3c4114)break;else _0x52fcf3['push'](_0x52fcf3['shift']());}catch(_0x57ace3){_0x52fcf3['push'](_0x52fcf3['shift']());}}}(_0x9a55,0xf0de8));import{Plugin as _0x547385}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x4fa7d1}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0xca1bc5}from'./aiquickactionsediting.js';function _0x9a55(){var _0x13d5e2=['60TfzqEj','AIQuickActions','3369805bPdVQu','1386048Ytadze','1113231JBZYsc','isPremiumPlugin','pluginName','define','14vSyYWF','8QkmjUI','208722Icrhcx','config','4jsZipB','ai.quickActions','18451TATxgw','80641RdmDaK','isOfficialPlugin','requires','10287423oSeEBC','50mousBB'];_0x9a55=function(){return _0x13d5e2;};return _0x9a55();}import{AIActions as _0x4a8a37}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x547385{static get[_0x1f02e3(0x142)](){return[_0x4fa7d1,_0xca1bc5,_0x4a8a37];}static get[_0x1f02e3(0x137)](){var _0x36522b=_0x1f02e3;return _0x36522b(0x132);}static get[_0x1f02e3(0x141)](){return!0x0;}static get[_0x1f02e3(0x136)](){return!0x0;}constructor(_0x18041d){var _0x24531f=_0x1f02e3;super(_0x18041d),_0x18041d[_0x24531f(0x13c)][_0x24531f(0x138)](_0x24531f(0x13e),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5be08e=_0x59a6;(function(_0x1b5bce,_0x58d8eb){const _0x14714a=_0x59a6,_0x1dea54=_0x1b5bce();while(!![]){try{const _0x5aa6c5=-parseInt(_0x14714a(0x20c))/0x1*(-parseInt(_0x14714a(0x207))/0x2)+parseInt(_0x14714a(0x209))/0x3+-parseInt(_0x14714a(0x229))/0x4*(-parseInt(_0x14714a(0x217))/0x5)+parseInt(_0x14714a(0x22c))/0x6+parseInt(_0x14714a(0x21c))/0x7*(parseInt(_0x14714a(0x215))/0x8)+parseInt(_0x14714a(0x220))/0x9+-parseInt(_0x14714a(0x1fb))/0xa;if(_0x5aa6c5===_0x58d8eb)break;else _0x1dea54['push'](_0x1dea54['shift']());}catch(_0x3d40a2){_0x1dea54['push'](_0x1dea54['shift']());}}}(_0x9a8d,0x5d526));function _0x9a8d(){const _0x157378=['activeTab','_handleAIReviewAction','656IyhRHd','displayedPrompt','getLimitElement','icon','sendMessage','chat','other','locale','view','1904zQsYco','addSelectionToChatContext','5NhHirr','ai-quick-actions-plugin-not-found','ACTION','has','activateTab','14189XlHBtz','get','AIChat','isCollapsed','622611XHQUdE','handleAIReviewAction','log','CHAT','_handleAIActionsAction','schema','change','AIReviewMode','REVIEW','2132132fqoCYQ','isVisible','args','1430484fPHRCr','label','focusPromptInput','document','ask-ai','_handleAIChatAction','AITabs','selection','parent','type','_handleAIActionsActionLabel','AIChatController','editor','actionName','15885770Etzcdi','removeSelectionFromChatContext','model','getSelectedBlocks','setSelection','executeAction','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','execute','startConversation','prompt','plugins','_expandSelectionIfCollapsed','1174SohMxm','AIActions','788097uSKeJy'];_0x9a8d=function(){return _0x157378;};return _0x9a8d();}function _0x59a6(_0x319d94,_0x21cd1d){const _0x9a8d41=_0x9a8d();return _0x59a6=function(_0x59a6f0,_0x556a0c){_0x59a6f0=_0x59a6f0-0x1ee;let _0x2ea4e8=_0x9a8d41[_0x59a6f0];return _0x2ea4e8;},_0x59a6(_0x319d94,_0x21cd1d);}import{Command as _0x2998b0}from'ckeditor5/src/core.js';import{CKEditorError as _0x6c4059,first as _0x37af24}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x269e39}from'./aiquickactionsui.js';import{getTranslation as _0x2d97ca}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x2998b0{[_0x5be08e(0x202)](_0x21c50f){const _0x2ec193=_0x5be08e;switch(this[_0x2ec193(0x206)](),_0x21c50f[_0x2ec193(0x1f6)]){case _0x269e39[_0x2ec193(0x223)]:if(!this[_0x2ec193(0x1f9)][_0x2ec193(0x205)][_0x2ec193(0x21a)](_0x2ec193(0x21e))){const _0x42d465=_0x2d97ca(this[_0x2ec193(0x1f9)][_0x2ec193(0x213)],_0x2ec193(0x201),_0x2ec193(0x21e));throw new _0x6c4059(_0x2ec193(0x218),this[_0x2ec193(0x1f9)],{'errorMessage':_0x42d465});}this[_0x2ec193(0x1f2)](_0x21c50f);break;case _0x269e39[_0x2ec193(0x219)]:if(!this[_0x2ec193(0x1f9)][_0x2ec193(0x205)][_0x2ec193(0x21a)](_0x2ec193(0x208))){const _0x3fc519=_0x2d97ca(this[_0x2ec193(0x1f9)][_0x2ec193(0x213)],_0x2ec193(0x201),_0x2ec193(0x208));throw new _0x6c4059(_0x2ec193(0x218),this[_0x2ec193(0x1f9)],{'errorMessage':_0x3fc519});}this[_0x2ec193(0x224)](_0x21c50f);break;case _0x269e39[_0x2ec193(0x228)]:if(!this[_0x2ec193(0x1f9)][_0x2ec193(0x205)][_0x2ec193(0x21a)](_0x2ec193(0x227))){const _0x391291=_0x2d97ca(this[_0x2ec193(0x1f9)][_0x2ec193(0x213)],_0x2ec193(0x201),_0x2ec193(0x227));throw new _0x6c4059(_0x2ec193(0x218),this[_0x2ec193(0x1f9)],{'errorMessage':_0x391291});}this[_0x2ec193(0x20b)](_0x21c50f);}}async[_0x5be08e(0x1f2)](_0xae1cdd){const _0x42088b=_0x5be08e,_0x3e8956=this[_0x42088b(0x1f9)][_0x42088b(0x205)][_0x42088b(0x21d)](_0x42088b(0x21e)),_0x178e8b=this[_0x42088b(0x1f9)][_0x42088b(0x205)][_0x42088b(0x21d)](_0x42088b(0x1f8)),_0x573836=this[_0x42088b(0x1f9)][_0x42088b(0x205)][_0x42088b(0x21d)](_0x42088b(0x1f3))[_0x42088b(0x214)];if(_0x573836[_0x42088b(0x22a)]||(_0x573836[_0x42088b(0x22a)]=!0x0),_0x42088b(0x211)!==_0x573836[_0x42088b(0x20a)]&&_0x573836[_0x42088b(0x21b)](_0x42088b(0x211)),_0x42088b(0x1f1)===_0xae1cdd['id'])_0x178e8b[_0x42088b(0x1fc)](),await _0x3e8956[_0x42088b(0x216)](),_0x3e8956[_0x42088b(0x1ef)]();else await _0x3e8956[_0x42088b(0x203)](),_0x178e8b[_0x42088b(0x1fc)](),await _0x3e8956[_0x42088b(0x216)](),_0x3e8956[_0x42088b(0x1ef)](),await _0x3e8956[_0x42088b(0x210)]({'message':_0xae1cdd[_0x42088b(0x204)]||_0xae1cdd[_0x42088b(0x20d)],'attributes':{'quickActionData':{'id':_0xae1cdd['id']},'displayedPrompt':_0xae1cdd[_0x42088b(0x20d)]}});}[_0x5be08e(0x206)](){const _0x489ca8=_0x5be08e,_0x1f365f=this[_0x489ca8(0x1f9)],_0x54dfa8=_0x1f365f[_0x489ca8(0x1fd)][_0x489ca8(0x1f0)][_0x489ca8(0x1f4)];if(!_0x54dfa8[_0x489ca8(0x21f)])return;const _0x3c0554=_0x37af24(_0x54dfa8[_0x489ca8(0x1fe)]())||_0x1f365f[_0x489ca8(0x1fd)][_0x489ca8(0x225)][_0x489ca8(0x20e)](_0x54dfa8);_0x1f365f[_0x489ca8(0x1fd)][_0x489ca8(0x226)](_0x498a77=>{const _0x487738=_0x489ca8;_0x498a77[_0x487738(0x1ff)](_0x3c0554,'in');});}[_0x5be08e(0x1f7)](_0x541ed1){const _0x22e9c4=_0x5be08e;return _0x541ed1[_0x22e9c4(0x1f5)]?.[_0x22e9c4(0x1ee)]&&_0x22e9c4(0x212)!==_0x541ed1[_0x22e9c4(0x1f5)]?.['id']?_0x541ed1[_0x22e9c4(0x1f5)][_0x22e9c4(0x1ee)]+':\x20'+_0x541ed1[_0x22e9c4(0x20d)]:_0x541ed1[_0x22e9c4(0x20d)];}async[_0x5be08e(0x224)](_0x2a0a13){const _0xff15f5=_0x5be08e,_0x4f5d08=this[_0xff15f5(0x1f9)][_0xff15f5(0x205)][_0xff15f5(0x21d)](_0xff15f5(0x208)),_0x3eb0dc=_0x2a0a13[_0xff15f5(0x204)]?{'userMessage':_0x2a0a13[_0xff15f5(0x204)],'model':_0x2a0a13[_0xff15f5(0x1fd)]}:{'actionName':_0x2a0a13[_0xff15f5(0x1fa)]||_0x2a0a13['id'],'args':_0x2a0a13[_0xff15f5(0x22b)]},_0x4e1693=this[_0xff15f5(0x1f7)](_0x2a0a13);await _0x4f5d08[_0xff15f5(0x200)](_0x3eb0dc,_0x4e1693,_0x2a0a13[_0xff15f5(0x20f)]);}async[_0x5be08e(0x20b)](_0x13b445){const _0x93a26a=_0x5be08e;console[_0x93a26a(0x222)](_0x93a26a(0x221),_0x13b445);}}
23
+ const _0x38de5d=_0xcb75;function _0xcb75(_0x5823b8,_0x2db633){const _0x418e9d=_0x418e();return _0xcb75=function(_0xcb751c,_0x2d9ca0){_0xcb751c=_0xcb751c-0x14c;let _0x6475db=_0x418e9d[_0xcb751c];return _0x6475db;},_0xcb75(_0x5823b8,_0x2db633);}(function(_0x3490fd,_0x566bfb){const _0x59025e=_0xcb75,_0x10cbf5=_0x3490fd();while(!![]){try{const _0x386297=parseInt(_0x59025e(0x181))/0x1*(-parseInt(_0x59025e(0x16c))/0x2)+parseInt(_0x59025e(0x155))/0x3*(-parseInt(_0x59025e(0x163))/0x4)+parseInt(_0x59025e(0x17b))/0x5*(parseInt(_0x59025e(0x167))/0x6)+-parseInt(_0x59025e(0x159))/0x7+parseInt(_0x59025e(0x189))/0x8+parseInt(_0x59025e(0x18a))/0x9+parseInt(_0x59025e(0x168))/0xa*(-parseInt(_0x59025e(0x162))/0xb);if(_0x386297===_0x566bfb)break;else _0x10cbf5['push'](_0x10cbf5['shift']());}catch(_0x9f76ea){_0x10cbf5['push'](_0x10cbf5['shift']());}}}(_0x418e,0x8d845));import{Command as _0x4aaee1}from'ckeditor5/src/core.js';function _0x418e(){const _0x30c1c3=['change','sendMessage','AIChat','4riPlkP','execute','label','ai-quick-actions-plugin-not-found','activeTab','icon','_expandSelectionIfCollapsed','view','executeAction','_handleAIActionsActionLabel','schema','other','_handleAIChatAction','AIActions','plugins','5YueLxh','focusPromptInput','model','getSelectedBlocks','get','type','133272rshkml','CHAT','parent','removeSelectionFromChatContext','selection','isCollapsed','args','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','5924576ltmrIu','4654917Necijk','activateTab','document','_handleAIActionsAction','getLimitElement','AIReviewMode','AIChatController','editor','startConversation','ACTION','chat','19749VDQVkU','actionName','REVIEW','displayedPrompt','884030mCUKwy','handleAIReviewAction','log','addSelectionToChatContext','AITabs','locale','ask-ai','setSelection','has','120131rYnGSz','292uVQCaT','isVisible','prompt','_handleAIReviewAction','6020490BuvHTw','740FceoHx'];_0x418e=function(){return _0x30c1c3;};return _0x418e();}import{CKEditorError as _0x364cba,first as _0x1547d1}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x16ae25}from'./aiquickactionsui.js';import{getTranslation as _0x3d22d3}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x4aaee1{[_0x38de5d(0x16d)](_0x443820){const _0x1b94f3=_0x38de5d;switch(this[_0x1b94f3(0x172)](),_0x443820[_0x1b94f3(0x180)]){case _0x16ae25[_0x1b94f3(0x182)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x16b))){const _0x5540f2=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x16b));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x5540f2});}this[_0x1b94f3(0x178)](_0x443820);break;case _0x16ae25[_0x1b94f3(0x153)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x179))){const _0x38d516=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x179));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x38d516});}this[_0x1b94f3(0x14d)](_0x443820);break;case _0x16ae25[_0x1b94f3(0x157)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x14f))){const _0x3eb8f5=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x14f));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x3eb8f5});}this[_0x1b94f3(0x166)](_0x443820);}}async[_0x38de5d(0x178)](_0x3896f0){const _0x175b5a=_0x38de5d,_0x5ef1ba=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x16b)),_0x37a3e3=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x150)),_0x4892c6=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x15d))[_0x175b5a(0x173)];if(_0x4892c6[_0x175b5a(0x164)]||(_0x4892c6[_0x175b5a(0x164)]=!0x0),_0x175b5a(0x154)!==_0x4892c6[_0x175b5a(0x170)]&&_0x4892c6[_0x175b5a(0x18b)](_0x175b5a(0x154)),_0x175b5a(0x15f)===_0x3896f0['id'])_0x37a3e3[_0x175b5a(0x184)](),await _0x5ef1ba[_0x175b5a(0x15c)](),_0x5ef1ba[_0x175b5a(0x17c)]();else await _0x5ef1ba[_0x175b5a(0x152)](),_0x37a3e3[_0x175b5a(0x184)](),await _0x5ef1ba[_0x175b5a(0x15c)](),_0x5ef1ba[_0x175b5a(0x17c)](),await _0x5ef1ba[_0x175b5a(0x16a)]({'message':_0x3896f0[_0x175b5a(0x165)]||_0x3896f0[_0x175b5a(0x158)],'attributes':{'quickActionData':{'id':_0x3896f0['id']},'displayedPrompt':_0x3896f0[_0x175b5a(0x158)]}});}[_0x38de5d(0x172)](){const _0x2aa39e=_0x38de5d,_0x30dd7e=this[_0x2aa39e(0x151)],_0x5f24dd=_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x14c)][_0x2aa39e(0x185)];if(!_0x5f24dd[_0x2aa39e(0x186)])return;const _0x5c6cd7=_0x1547d1(_0x5f24dd[_0x2aa39e(0x17e)]())||_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x176)][_0x2aa39e(0x14e)](_0x5f24dd);_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x169)](_0x207559=>{const _0x1d8aae=_0x2aa39e;_0x207559[_0x1d8aae(0x160)](_0x5c6cd7,'in');});}[_0x38de5d(0x175)](_0x297089){const _0x4710f1=_0x38de5d;return _0x297089[_0x4710f1(0x183)]?.[_0x4710f1(0x16e)]&&_0x4710f1(0x177)!==_0x297089[_0x4710f1(0x183)]?.['id']?_0x297089[_0x4710f1(0x183)][_0x4710f1(0x16e)]+':\x20'+_0x297089[_0x4710f1(0x158)]:_0x297089[_0x4710f1(0x158)];}async[_0x38de5d(0x14d)](_0x32ab0b){const _0x2de1ae=_0x38de5d,_0x547f9e=this[_0x2de1ae(0x151)][_0x2de1ae(0x17a)][_0x2de1ae(0x17f)](_0x2de1ae(0x179)),_0x191a02=_0x32ab0b[_0x2de1ae(0x165)]?{'userMessage':_0x32ab0b[_0x2de1ae(0x165)],'model':_0x32ab0b[_0x2de1ae(0x17d)]}:{'actionName':_0x32ab0b[_0x2de1ae(0x156)]||_0x32ab0b['id'],'args':_0x32ab0b[_0x2de1ae(0x187)]},_0x35633d=this[_0x2de1ae(0x175)](_0x32ab0b);await _0x547f9e[_0x2de1ae(0x174)](_0x191a02,_0x35633d,_0x32ab0b[_0x2de1ae(0x171)]);}async[_0x38de5d(0x166)](_0x333179){const _0x3b3e1c=_0x38de5d;console[_0x3b3e1c(0x15b)](_0x3b3e1c(0x15a),_0x333179);}}