@ckeditor/ckeditor5-ai 47.3.0-alpha.4 → 47.3.0-alpha.6

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 (293) 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/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.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/aicore/aiconnector.js +1 -1
  221. package/src/aicore/aiediting.js +1 -1
  222. package/src/aicore/model/aicapabilities.js +1 -1
  223. package/src/aicore/model/aicontext.js +1 -1
  224. package/src/aicore/model/aiinteraction.js +1 -1
  225. package/src/aicore/model/aimodels.js +1 -1
  226. package/src/aicore/model/aireply.js +1 -1
  227. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  228. package/src/aicore/pipeline/airesponseparser.js +2 -2
  229. package/src/aicore/ui/aidisclaimerview.js +1 -1
  230. package/src/aicore/ui/aiskeleton.js +1 -1
  231. package/src/aicore/ui/aispinner.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  237. package/src/aicore/utils/common-translations.js +1 -1
  238. package/src/aicore/utils/createresizebutton.js +1 -1
  239. package/src/aicore/utils/documentposition.js +1 -1
  240. package/src/aicore/utils/documentrange.js +1 -1
  241. package/src/aicore/utils/eventnames.js +1 -1
  242. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  243. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  244. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  245. package/src/aicore/utils/htmlparser.js +1 -1
  246. package/src/aicore/utils/htmlstreamer.js +1 -1
  247. package/src/aicore/utils/scrollmanager.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  259. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  261. package/src/aireviewmode/aireviewmode.js +1 -1
  262. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  267. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  273. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  286. package/src/aitabs/aitabs.js +1 -1
  287. package/src/aitabs/aitabsmainview.js +1 -1
  288. package/src/aitabs/tabs/aitabsview.js +1 -1
  289. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  290. package/src/aitabs/tabs/tabpanelview.js +1 -1
  291. package/src/errors.js +1 -1
  292. package/src/errorsmap.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f6c(_0xe65c82,_0x1b9402){const _0x5c82c5=_0x5c82();return _0x4f6c=function(_0x4f6c03,_0x5a76c6){_0x4f6c03=_0x4f6c03-0x181;let _0xef27a4=_0x5c82c5[_0x4f6c03];return _0xef27a4;},_0x4f6c(_0xe65c82,_0x1b9402);}(function(_0x412bfe,_0x186c2b){const _0x17a45f=_0x4f6c,_0xefd6d7=_0x412bfe();while(!![]){try{const _0x34a281=-parseInt(_0x17a45f(0x184))/0x1+-parseInt(_0x17a45f(0x186))/0x2+-parseInt(_0x17a45f(0x185))/0x3+-parseInt(_0x17a45f(0x193))/0x4+parseInt(_0x17a45f(0x18d))/0x5+parseInt(_0x17a45f(0x18c))/0x6+parseInt(_0x17a45f(0x18b))/0x7*(parseInt(_0x17a45f(0x194))/0x8);if(_0x34a281===_0x186c2b)break;else _0xefd6d7['push'](_0xefd6d7['shift']());}catch(_0x4a3e25){_0xefd6d7['push'](_0xefd6d7['shift']());}}}(_0x5c82,0x9ef51));function _0x5c82(){const _0x5647f9=['fire','set','label','bind','663924tbJLTv','5216sjQbGT','isMaximized','AI_TABS_LABEL_MINIMIZE','isOn','372616sdoDFj','1018656IoLsso','518270lauVog','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','resizeTabs','execute','icon','7469JxALav','964680klZddb','4659545ZgvKdW','AI_TABS_LABEL_MAXIMIZE'];_0x5c82=function(){return _0x5647f9;};return _0x5c82();}import{ButtonView as _0x1a6430}from'ckeditor5/src/ui.js';import{IconMaximize as _0x449957,IconMinimize as _0x344eff}from'ckeditor5/src/icons.js';import{getTranslation as _0x369cc3}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x4528c8,_0x50da81){const _0x9a3827=_0x4f6c,_0x5f30da=new _0x1a6430(_0x4528c8),_0x1d773d=_0x369cc3(_0x4528c8,_0x9a3827(0x182)),_0x234461=_0x369cc3(_0x4528c8,_0x9a3827(0x18e));return _0x5f30da[_0x9a3827(0x190)]({'withText':!0x1,'icon':_0x449957,'tooltip':!0x0,'class':_0x9a3827(0x187)}),_0x5f30da[_0x9a3827(0x192)](_0x9a3827(0x191))['to'](_0x50da81,_0x9a3827(0x181),_0x56f645=>_0x56f645?_0x1d773d:_0x234461),_0x5f30da[_0x9a3827(0x192)](_0x9a3827(0x18a))['to'](_0x50da81,_0x9a3827(0x181),_0x552fd3=>_0x552fd3?_0x344eff:_0x449957),_0x5f30da[_0x9a3827(0x192)](_0x9a3827(0x183))['to'](_0x50da81,_0x9a3827(0x181)),_0x5f30da['on'](_0x9a3827(0x189),()=>{const _0x4b2c86=_0x9a3827;_0x50da81[_0x4b2c86(0x18f)](_0x4b2c86(0x188));}),_0x5f30da;}
23
+ function _0x4ad0(){const _0x229cd9=['14HXKqaY','icon','763509VZNzDj','1197010ITmJLT','1268294KxVpTz','bind','isMaximized','isOn','5479182oYMDQv','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','12837200UsUgol','fire','427090nWUhEf','AI_TABS_LABEL_MAXIMIZE','44QDLPhH','label','3704094AfUSxv','resizeTabs','AI_TABS_LABEL_MINIMIZE','execute','set'];_0x4ad0=function(){return _0x229cd9;};return _0x4ad0();}(function(_0x1b654c,_0x568507){const _0x3e5e5b=_0x5f34,_0x42ad66=_0x1b654c();while(!![]){try{const _0x1a437b=parseInt(_0x3e5e5b(0x1e2))/0x1+-parseInt(_0x3e5e5b(0x1e3))/0x2+parseInt(_0x3e5e5b(0x1e1))/0x3+-parseInt(_0x3e5e5b(0x1ed))/0x4*(parseInt(_0x3e5e5b(0x1eb))/0x5)+parseInt(_0x3e5e5b(0x1ef))/0x6*(-parseInt(_0x3e5e5b(0x1df))/0x7)+parseInt(_0x3e5e5b(0x1e9))/0x8+parseInt(_0x3e5e5b(0x1e7))/0x9;if(_0x1a437b===_0x568507)break;else _0x42ad66['push'](_0x42ad66['shift']());}catch(_0x118eb8){_0x42ad66['push'](_0x42ad66['shift']());}}}(_0x4ad0,0xd11c6));import{ButtonView as _0x2f3c61}from'ckeditor5/src/ui.js';import{IconMaximize as _0x520b48,IconMinimize as _0x3968b8}from'ckeditor5/src/icons.js';import{getTranslation as _0x1a1c6}from'../../aicore/utils/common-translations.js';function _0x5f34(_0x29176f,_0xc02e33){const _0x4ad0e3=_0x4ad0();return _0x5f34=function(_0x5f34d2,_0x52ac59){_0x5f34d2=_0x5f34d2-0x1de;let _0xc830c1=_0x4ad0e3[_0x5f34d2];return _0xc830c1;},_0x5f34(_0x29176f,_0xc02e33);}export function createResizeButton(_0xaa05f5,_0x46cf50){const _0x56d22c=_0x5f34,_0x2eb092=new _0x2f3c61(_0xaa05f5),_0x576983=_0x1a1c6(_0xaa05f5,_0x56d22c(0x1f1)),_0x2fe856=_0x1a1c6(_0xaa05f5,_0x56d22c(0x1ec));return _0x2eb092[_0x56d22c(0x1de)]({'withText':!0x1,'icon':_0x520b48,'tooltip':!0x0,'class':_0x56d22c(0x1e8)}),_0x2eb092[_0x56d22c(0x1e4)](_0x56d22c(0x1ee))['to'](_0x46cf50,_0x56d22c(0x1e5),_0x1e6c35=>_0x1e6c35?_0x576983:_0x2fe856),_0x2eb092[_0x56d22c(0x1e4)](_0x56d22c(0x1e0))['to'](_0x46cf50,_0x56d22c(0x1e5),_0x23b798=>_0x23b798?_0x3968b8:_0x520b48),_0x2eb092[_0x56d22c(0x1e4)](_0x56d22c(0x1e6))['to'](_0x46cf50,_0x56d22c(0x1e5)),_0x2eb092['on'](_0x56d22c(0x1f2),()=>{const _0x1fdb7e=_0x56d22c;_0x46cf50[_0x1fdb7e(0x1ea)](_0x1fdb7e(0x1f0));}),_0x2eb092;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x309255=_0x4eb3;(function(_0x500f2a,_0x448c7b){const _0x1e5322=_0x4eb3,_0x41f67e=_0x500f2a();while(!![]){try{const _0x5297c8=-parseInt(_0x1e5322(0x187))/0x1*(parseInt(_0x1e5322(0x17e))/0x2)+parseInt(_0x1e5322(0x188))/0x3+parseInt(_0x1e5322(0x18c))/0x4+-parseInt(_0x1e5322(0x17f))/0x5+parseInt(_0x1e5322(0x184))/0x6*(-parseInt(_0x1e5322(0x18d))/0x7)+parseInt(_0x1e5322(0x194))/0x8+-parseInt(_0x1e5322(0x192))/0x9;if(_0x5297c8===_0x448c7b)break;else _0x41f67e['push'](_0x41f67e['shift']());}catch(_0x10e33d){_0x41f67e['push'](_0x41f67e['shift']());}}}(_0x42e7,0x516f6));function _0x42e7(){const _0x3d6359=['isEqual','slice','1788420wnWDoG','791TATKRW','same','path','document','ai-documentposition-index-out-of-bounds','2019546pRiSeL','end','2498408yPMalC','data','start','indexOf','ai-documentposition-createfrompath-path-cannot-be-empty','createAfter','reduce','parent','createFromPath','getNudgedToWordBoundary','2xpOFco','247225pzXSKu','previousNode','createBefore','nextNode','createAt','8508BCYYTo','length','match','68645KFjMQm','230610WwCFCW','index'];_0x42e7=function(){return _0x3d6359;};return _0x42e7();}import{CKEditorError as _0x34019d,compareArrays as _0x19265b}from'ckeditor5/src/utils.js';import{getNodePath as _0x4102b5,isText as _0x23c84e,getChildren as _0x1cf259,isDocument as _0x52fd9e,getParent as _0x5cc0ee,textContent as _0x2074f1,hasChildren as _0x58876e}from'./htmlparser.js';function _0x4eb3(_0x121d2f,_0x3fec12){const _0x42e784=_0x42e7();return _0x4eb3=function(_0x4eb3c4,_0x493e11){_0x4eb3c4=_0x4eb3c4-0x17c;let _0x1a2008=_0x42e784[_0x4eb3c4];return _0x1a2008;},_0x4eb3(_0x121d2f,_0x3fec12);}export class DocumentPosition{[_0x309255(0x19b)];[_0x309255(0x189)];[_0x309255(0x190)];constructor(_0x1e5be5,_0x430cd2,_0x96e6a6){const _0x502dce=_0x309255;if(_0x23c84e(_0x430cd2)&&_0x96e6a6>_0x430cd2[_0x502dce(0x195)][_0x502dce(0x185)])throw new _0x34019d(_0x502dce(0x191),null,{'index':_0x96e6a6,'parent':_0x430cd2});if(_0x58876e(_0x430cd2)&&_0x96e6a6>_0x1cf259(_0x430cd2)[_0x502dce(0x185)])throw new _0x34019d(_0x502dce(0x191),null,{'index':_0x96e6a6,'parent':_0x430cd2});if(_0x96e6a6<0x0)throw new _0x34019d(_0x502dce(0x191),null,{'index':_0x96e6a6,'parent':_0x430cd2});this[_0x502dce(0x19b)]=_0x430cd2,this[_0x502dce(0x189)]=_0x96e6a6,this[_0x502dce(0x190)]=_0x1e5be5;}get[_0x309255(0x18f)](){const _0x20e451=_0x309255;return[..._0x4102b5(this[_0x20e451(0x19b)]),this[_0x20e451(0x189)]];}[_0x309255(0x18a)](_0xb79b98){const _0x1b2b1b=_0x309255;return this[_0x1b2b1b(0x190)]==_0xb79b98[_0x1b2b1b(0x190)]&&_0x1b2b1b(0x18e)===_0x19265b(this[_0x1b2b1b(0x18f)],_0xb79b98[_0x1b2b1b(0x18f)]);}get[_0x309255(0x182)](){const _0x257e96=_0x309255;if(_0x58876e(this[_0x257e96(0x19b)])){const _0x55f287=_0x1cf259(this[_0x257e96(0x19b)])[this[_0x257e96(0x189)]];if(_0x55f287)return _0x55f287;{const _0x25165d=DocumentPosition[_0x257e96(0x199)](this[_0x257e96(0x190)],this[_0x257e96(0x19b)]);if(_0x25165d)return _0x25165d[_0x257e96(0x182)];}}return null;}get[_0x309255(0x180)](){const _0x3fe3cd=_0x309255;if(_0x58876e(this[_0x3fe3cd(0x19b)])){const _0xbd40b4=_0x1cf259(this[_0x3fe3cd(0x19b)])[this[_0x3fe3cd(0x189)]-0x1];if(_0xbd40b4)return _0xbd40b4;{const _0x3dfcca=DocumentPosition[_0x3fe3cd(0x181)](this[_0x3fe3cd(0x190)],this[_0x3fe3cd(0x19b)]);if(_0x3dfcca)return _0x3dfcca[_0x3fe3cd(0x180)];}}return null;}[_0x309255(0x17d)](_0x5acfa1=_0x309255(0x196)){const _0x48379f=_0x309255;if(!_0x23c84e(this[_0x48379f(0x19b)]))return this;const _0x43eaab=this[_0x48379f(0x18f)][this[_0x48379f(0x18f)][_0x48379f(0x185)]-0x1],_0x8fca3f=_0x2074f1(this[_0x48379f(0x19b)])[_0x48379f(0x186)](/(?:\s*\S+\s*)/g);let _0x5b51ec=0x0,_0x3c2754=_0x43eaab;for(const _0x422c78 of _0x8fca3f){if(_0x5b51ec+_0x422c78[_0x48379f(0x185)]===_0x43eaab)return this;if(_0x5b51ec+_0x422c78[_0x48379f(0x185)]>_0x43eaab){_0x3c2754=_0x48379f(0x196)===_0x5acfa1?_0x5b51ec:_0x5b51ec+_0x422c78[_0x48379f(0x185)];break;}_0x5b51ec+=_0x422c78[_0x48379f(0x185)];}return DocumentPosition[_0x48379f(0x183)](this[_0x48379f(0x190)],this[_0x48379f(0x19b)],_0x3c2754);}static[_0x309255(0x199)](_0x34b32a,_0x3b8ba1){const _0xe3cb4b=_0x309255;if(_0x52fd9e(_0x3b8ba1))return null;const _0x397770=_0x5cc0ee(_0x3b8ba1);return DocumentPosition[_0xe3cb4b(0x183)](_0x34b32a,_0x397770,_0x1cf259(_0x397770)[_0xe3cb4b(0x197)](_0x3b8ba1)+0x1);}static[_0x309255(0x181)](_0x5d68e8,_0x57d0eb){const _0x52c7a0=_0x309255;if(_0x52fd9e(_0x57d0eb))return null;const _0x27c86c=_0x5cc0ee(_0x57d0eb);return DocumentPosition[_0x52c7a0(0x183)](_0x5d68e8,_0x27c86c,_0x1cf259(_0x27c86c)[_0x52c7a0(0x197)](_0x57d0eb));}static[_0x309255(0x183)](_0x41c273,_0x4614f8,_0x11fefa=_0x309255(0x196)){const _0x33ddb8=_0x309255;return new DocumentPosition(_0x41c273,_0x4614f8,_0x33ddb8(0x196)===_0x11fefa?0x0:_0x33ddb8(0x193)===_0x11fefa?_0x23c84e(_0x4614f8)?_0x4614f8[_0x33ddb8(0x195)][_0x33ddb8(0x185)]:_0x1cf259(_0x4614f8)[_0x33ddb8(0x185)]:_0x11fefa);}static[_0x309255(0x17c)](_0x622119,_0x372515){const _0x1c4a6e=_0x309255;if(!_0x372515[_0x1c4a6e(0x185)])throw new _0x34019d(_0x1c4a6e(0x198),null,{'path':_0x372515});const _0x27741d=_0x372515[_0x1c4a6e(0x18b)](0x0,-0x1)[_0x1c4a6e(0x19a)]((_0x572e7d,_0x28dce6)=>_0x23c84e(_0x572e7d)?_0x572e7d:_0x1cf259(_0x572e7d)[_0x28dce6],_0x622119);return DocumentPosition[_0x1c4a6e(0x183)](_0x622119,_0x27741d,_0x372515[_0x372515[_0x1c4a6e(0x185)]-0x1]);}}
23
+ const _0x1404e6=_0x55eb;function _0x3f68(){const _0x18dede=['length','1356926zBfpWa','indexOf','reduce','end','slice','11298eGhmsQ','870672coAwme','8570CyWQuj','351180vKaJll','createAfter','createBefore','same','11116189FfKfzm','document','2056SqPNju','createAt','670qInaZg','231LIZsEi','data','10553346ZCHPvR','createFromPath','match','index','previousNode','nextNode','isEqual','ai-documentposition-createfrompath-path-cannot-be-empty','path','getNudgedToWordBoundary','ai-documentposition-index-out-of-bounds','start','parent'];_0x3f68=function(){return _0x18dede;};return _0x3f68();}(function(_0x1f7088,_0xe65448){const _0x28e999=_0x55eb,_0x595fd1=_0x1f7088();while(!![]){try{const _0x2accaa=parseInt(_0x28e999(0x127))/0x1+parseInt(_0x28e999(0x12c))/0x2*(-parseInt(_0x28e999(0x138))/0x3)+-parseInt(_0x28e999(0x135))/0x4*(-parseInt(_0x28e999(0x12e))/0x5)+-parseInt(_0x28e999(0x13a))/0x6+-parseInt(_0x28e999(0x133))/0x7+-parseInt(_0x28e999(0x12d))/0x8+-parseInt(_0x28e999(0x12f))/0x9*(-parseInt(_0x28e999(0x137))/0xa);if(_0x2accaa===_0xe65448)break;else _0x595fd1['push'](_0x595fd1['shift']());}catch(_0x1546c2){_0x595fd1['push'](_0x595fd1['shift']());}}}(_0x3f68,0xeac01));import{CKEditorError as _0x6a96fb,compareArrays as _0x433990}from'ckeditor5/src/utils.js';import{getNodePath as _0x13d60d,isText as _0x441168,getChildren as _0x34f636,isDocument as _0x2770a1,getParent as _0x286cf8,textContent as _0x3a22b8,hasChildren as _0x5e78f1}from'./htmlparser.js';function _0x55eb(_0x2e7d9f,_0x30aa56){const _0x3f68d3=_0x3f68();return _0x55eb=function(_0x55eb16,_0x16cd5e){_0x55eb16=_0x55eb16-0x11d;let _0xbcda0c=_0x3f68d3[_0x55eb16];return _0xbcda0c;},_0x55eb(_0x2e7d9f,_0x30aa56);}export class DocumentPosition{[_0x1404e6(0x125)];[_0x1404e6(0x13d)];[_0x1404e6(0x134)];constructor(_0x520cab,_0x12f2ee,_0xe6d935){const _0x1913e8=_0x1404e6;if(_0x441168(_0x12f2ee)&&_0xe6d935>_0x12f2ee[_0x1913e8(0x139)][_0x1913e8(0x126)])throw new _0x6a96fb(_0x1913e8(0x123),null,{'index':_0xe6d935,'parent':_0x12f2ee});if(_0x5e78f1(_0x12f2ee)&&_0xe6d935>_0x34f636(_0x12f2ee)[_0x1913e8(0x126)])throw new _0x6a96fb(_0x1913e8(0x123),null,{'index':_0xe6d935,'parent':_0x12f2ee});if(_0xe6d935<0x0)throw new _0x6a96fb(_0x1913e8(0x123),null,{'index':_0xe6d935,'parent':_0x12f2ee});this[_0x1913e8(0x125)]=_0x12f2ee,this[_0x1913e8(0x13d)]=_0xe6d935,this[_0x1913e8(0x134)]=_0x520cab;}get[_0x1404e6(0x121)](){const _0x288a65=_0x1404e6;return[..._0x13d60d(this[_0x288a65(0x125)]),this[_0x288a65(0x13d)]];}[_0x1404e6(0x11f)](_0x43731e){const _0x4d2477=_0x1404e6;return this[_0x4d2477(0x134)]==_0x43731e[_0x4d2477(0x134)]&&_0x4d2477(0x132)===_0x433990(this[_0x4d2477(0x121)],_0x43731e[_0x4d2477(0x121)]);}get[_0x1404e6(0x11e)](){const _0x5b5ab5=_0x1404e6;if(_0x5e78f1(this[_0x5b5ab5(0x125)])){const _0x208296=_0x34f636(this[_0x5b5ab5(0x125)])[this[_0x5b5ab5(0x13d)]];if(_0x208296)return _0x208296;{const _0x32f0b3=DocumentPosition[_0x5b5ab5(0x130)](this[_0x5b5ab5(0x134)],this[_0x5b5ab5(0x125)]);if(_0x32f0b3)return _0x32f0b3[_0x5b5ab5(0x11e)];}}return null;}get[_0x1404e6(0x11d)](){const _0x4f1acd=_0x1404e6;if(_0x5e78f1(this[_0x4f1acd(0x125)])){const _0x12e9b0=_0x34f636(this[_0x4f1acd(0x125)])[this[_0x4f1acd(0x13d)]-0x1];if(_0x12e9b0)return _0x12e9b0;{const _0x26e95b=DocumentPosition[_0x4f1acd(0x131)](this[_0x4f1acd(0x134)],this[_0x4f1acd(0x125)]);if(_0x26e95b)return _0x26e95b[_0x4f1acd(0x11d)];}}return null;}[_0x1404e6(0x122)](_0x3e6f1c=_0x1404e6(0x124)){const _0x24d0d7=_0x1404e6;if(!_0x441168(this[_0x24d0d7(0x125)]))return this;const _0x17e705=this[_0x24d0d7(0x121)][this[_0x24d0d7(0x121)][_0x24d0d7(0x126)]-0x1],_0xd6ce95=_0x3a22b8(this[_0x24d0d7(0x125)])[_0x24d0d7(0x13c)](/(?:\s*\S+\s*)/g);let _0x22e6a8=0x0,_0x43c8a6=_0x17e705;for(const _0x14c141 of _0xd6ce95){if(_0x22e6a8+_0x14c141[_0x24d0d7(0x126)]===_0x17e705)return this;if(_0x22e6a8+_0x14c141[_0x24d0d7(0x126)]>_0x17e705){_0x43c8a6=_0x24d0d7(0x124)===_0x3e6f1c?_0x22e6a8:_0x22e6a8+_0x14c141[_0x24d0d7(0x126)];break;}_0x22e6a8+=_0x14c141[_0x24d0d7(0x126)];}return DocumentPosition[_0x24d0d7(0x136)](this[_0x24d0d7(0x134)],this[_0x24d0d7(0x125)],_0x43c8a6);}static[_0x1404e6(0x130)](_0xc17b73,_0x39706f){const _0x5bf7d3=_0x1404e6;if(_0x2770a1(_0x39706f))return null;const _0x19f462=_0x286cf8(_0x39706f);return DocumentPosition[_0x5bf7d3(0x136)](_0xc17b73,_0x19f462,_0x34f636(_0x19f462)[_0x5bf7d3(0x128)](_0x39706f)+0x1);}static[_0x1404e6(0x131)](_0x68b43d,_0x1bd1bf){const _0x2c5ecb=_0x1404e6;if(_0x2770a1(_0x1bd1bf))return null;const _0x41d104=_0x286cf8(_0x1bd1bf);return DocumentPosition[_0x2c5ecb(0x136)](_0x68b43d,_0x41d104,_0x34f636(_0x41d104)[_0x2c5ecb(0x128)](_0x1bd1bf));}static[_0x1404e6(0x136)](_0x34be55,_0x5d6ba7,_0xaf7c73=_0x1404e6(0x124)){const _0x1ff3e5=_0x1404e6;return new DocumentPosition(_0x34be55,_0x5d6ba7,_0x1ff3e5(0x124)===_0xaf7c73?0x0:_0x1ff3e5(0x12a)===_0xaf7c73?_0x441168(_0x5d6ba7)?_0x5d6ba7[_0x1ff3e5(0x139)][_0x1ff3e5(0x126)]:_0x34f636(_0x5d6ba7)[_0x1ff3e5(0x126)]:_0xaf7c73);}static[_0x1404e6(0x13b)](_0x59e737,_0x32f93d){const _0x208140=_0x1404e6;if(!_0x32f93d[_0x208140(0x126)])throw new _0x6a96fb(_0x208140(0x120),null,{'path':_0x32f93d});const _0x417221=_0x32f93d[_0x208140(0x12b)](0x0,-0x1)[_0x208140(0x129)]((_0x168600,_0x57659c)=>_0x441168(_0x168600)?_0x168600:_0x34f636(_0x168600)[_0x57659c],_0x59e737);return DocumentPosition[_0x208140(0x136)](_0x59e737,_0x417221,_0x32f93d[_0x32f93d[_0x208140(0x126)]-0x1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b361d=_0x475b;function _0x475b(_0x4d8508,_0x3a1188){const _0x23a54c=_0x23a5();return _0x475b=function(_0x475b07,_0x2c4835){_0x475b07=_0x475b07-0xa4;let _0x2df870=_0x23a54c[_0x475b07];return _0x2df870;},_0x475b(_0x4d8508,_0x3a1188);}(function(_0x1d5801,_0x21b121){const _0xe5bf59=_0x475b,_0x6a32b3=_0x1d5801();while(!![]){try{const _0x1aff64=-parseInt(_0xe5bf59(0xbd))/0x1+-parseInt(_0xe5bf59(0xaa))/0x2*(parseInt(_0xe5bf59(0xab))/0x3)+-parseInt(_0xe5bf59(0xba))/0x4+-parseInt(_0xe5bf59(0xb0))/0x5*(parseInt(_0xe5bf59(0xb1))/0x6)+parseInt(_0xe5bf59(0xa4))/0x7+parseInt(_0xe5bf59(0xa9))/0x8*(parseInt(_0xe5bf59(0xa6))/0x9)+parseInt(_0xe5bf59(0xb3))/0xa;if(_0x1aff64===_0x21b121)break;else _0x6a32b3['push'](_0x6a32b3['shift']());}catch(_0x598144){_0x6a32b3['push'](_0x6a32b3['shift']());}}}(_0x23a5,0x85005));import{DocumentPosition as _0x1f9e2d}from'./documentposition.js';import{clone as _0x337466,getParents as _0x1f5037,Document as _0x512985,Text as _0x5f5cc4,isTag as _0x53ac45,isText as _0x5080cd,replaceElement as _0xc4241d,removeElement as _0x765504}from'./htmlparser.js';export class DocumentRange{[_0x1b361d(0xb5)];[_0x1b361d(0xb4)];constructor(_0x4afc76,_0x512cb8){const _0x427efe=_0x1b361d;this[_0x427efe(0xb5)]=_0x4afc76,this[_0x427efe(0xb4)]=_0x512cb8;}[_0x1b361d(0xac)](_0xa1b099){const _0x1f4b68=_0x1b361d;return this==_0xa1b099||this[_0x1f4b68(0xb5)][_0x1f4b68(0xac)](_0xa1b099[_0x1f4b68(0xb5)])&&this[_0x1f4b68(0xb4)][_0x1f4b68(0xac)](_0xa1b099[_0x1f4b68(0xb4)]);}[_0x1b361d(0xc2)](){const _0x51f6e8=_0x1b361d;return new DocumentRange(this[_0x51f6e8(0xb5)][_0x51f6e8(0xc2)](_0x51f6e8(0xb5)),this[_0x51f6e8(0xb4)][_0x51f6e8(0xc2)](_0x51f6e8(0xb4)));}[_0x1b361d(0xb8)](){const _0x3f6149=_0x1b361d,_0x224f45=_0x337466(this[_0x3f6149(0xb5)][_0x3f6149(0xbf)]),_0x588655=_0x1f9e2d[_0x3f6149(0xc4)](_0x224f45,this[_0x3f6149(0xb5)][_0x3f6149(0xb2)]),_0x1e996e=_0x1f9e2d[_0x3f6149(0xc4)](_0x224f45,this[_0x3f6149(0xb4)][_0x3f6149(0xb2)]);let _0x33eaeb,_0x4aec0c;if(_0x5080cd(_0x588655[_0x3f6149(0xc3)])){const _0x1e7b66=_0x588655[_0x3f6149(0xb2)][_0x588655[_0x3f6149(0xb2)][_0x3f6149(0xb6)]-0x1],_0x382eae=new _0x5f5cc4(_0x588655[_0x3f6149(0xc3)][_0x3f6149(0xbb)][_0x3f6149(0xbe)](_0x1e7b66));_0xc4241d(_0x588655[_0x3f6149(0xc3)],_0x382eae),_0x33eaeb=_0x382eae;}else _0x33eaeb=_0x588655[_0x3f6149(0xad)];if(_0x5080cd(_0x1e996e[_0x3f6149(0xc3)])){const _0x5d5368=_0x1e996e[_0x3f6149(0xb2)][_0x1e996e[_0x3f6149(0xb2)][_0x3f6149(0xb6)]-0x1],_0x22fa78=new _0x5f5cc4(_0x1e996e[_0x3f6149(0xc3)][_0x3f6149(0xbb)][_0x3f6149(0xbe)](0x0,_0x5d5368));_0xc4241d(_0x1e996e[_0x3f6149(0xc3)],_0x22fa78),_0x4aec0c=_0x22fa78;}else _0x4aec0c=_0x1e996e[_0x3f6149(0xaf)];if(!(_0x33eaeb&&_0x4aec0c&&_0x224f45[_0x3f6149(0xa8)]&&_0x224f45[_0x3f6149(0xb7)]))return new _0x512985([]);const _0x4be652=_0x1f5037(_0x33eaeb),_0x1c6d77=_0x1f5037(_0x4aec0c),_0x4f8078=[],_0x59a647=[];let _0x335469=_0x224f45[_0x3f6149(0xa8)];for(;_0x335469&&_0x335469!==_0x33eaeb;){let _0x4b6378;_0x4be652[_0x3f6149(0xbc)](_0x335469)||_0x4f8078[_0x3f6149(0xb9)](_0x335469),_0x4b6378=_0x53ac45(_0x335469)?_0x1f9e2d[_0x3f6149(0xa5)](_0x224f45,_0x335469,_0x3f6149(0xb5)):_0x1f9e2d[_0x3f6149(0xc0)](_0x224f45,_0x335469),_0x335469=_0x4b6378?_0x4b6378[_0x3f6149(0xad)]:null;}for(_0x335469=_0x224f45[_0x3f6149(0xb7)];_0x335469&&_0x335469!==_0x4aec0c;){let _0x272bc5;_0x1c6d77[_0x3f6149(0xbc)](_0x335469)||_0x59a647[_0x3f6149(0xb9)](_0x335469),_0x272bc5=_0x53ac45(_0x335469)?_0x1f9e2d[_0x3f6149(0xa5)](_0x224f45,_0x335469,_0x3f6149(0xb4)):_0x1f9e2d[_0x3f6149(0xc1)](_0x224f45,_0x335469),_0x335469=_0x272bc5?_0x272bc5[_0x3f6149(0xaf)]:null;}return _0x4f8078[_0x3f6149(0xae)](_0x3a400a=>{_0x765504(_0x3a400a);}),_0x59a647[_0x3f6149(0xa7)]()[_0x3f6149(0xae)](_0x5598c9=>{_0x765504(_0x5598c9);}),_0x224f45;}}function _0x23a5(){const _0x4405ee=['path','28376450AYrvMg','end','start','length','lastChild','getContent','push','4287908LJBIJH','data','includes','839366zpEKnK','slice','document','createAfter','createBefore','getNudgedToWordBoundary','parent','createFromPath','4298xXdBYY','createAt','9LvMCGI','reverse','firstChild','8248192cANxwe','72998DMiTXz','45hnCnAy','isEqual','nextNode','forEach','previousNode','2164205FTLAfv','12MrfSfB'];_0x23a5=function(){return _0x4405ee;};return _0x23a5();}
23
+ const _0x4736e5=_0xeec9;(function(_0x1302cf,_0x4a0f9c){const _0x30ab2d=_0xeec9,_0x420ebd=_0x1302cf();while(!![]){try{const _0x25f801=parseInt(_0x30ab2d(0x13c))/0x1*(parseInt(_0x30ab2d(0x13b))/0x2)+-parseInt(_0x30ab2d(0x134))/0x3+-parseInt(_0x30ab2d(0x154))/0x4*(-parseInt(_0x30ab2d(0x147))/0x5)+-parseInt(_0x30ab2d(0x146))/0x6*(parseInt(_0x30ab2d(0x138))/0x7)+parseInt(_0x30ab2d(0x135))/0x8+-parseInt(_0x30ab2d(0x13e))/0x9+parseInt(_0x30ab2d(0x136))/0xa*(parseInt(_0x30ab2d(0x143))/0xb);if(_0x25f801===_0x4a0f9c)break;else _0x420ebd['push'](_0x420ebd['shift']());}catch(_0x12910e){_0x420ebd['push'](_0x420ebd['shift']());}}}(_0x57d3,0x591e5));import{DocumentPosition as _0x1e819f}from'./documentposition.js';function _0x57d3(){const _0x113d02=['forEach','document','reverse','length','createAfter','getNudgedToWordBoundary','data','isEqual','includes','nextNode','parent','308lDrfzP','createFromPath','1096614RiIxoA','1213536TrwacZ','266330XmtUem','createBefore','19523lHaXis','createAt','slice','82ibpUBu','875UTtCaj','start','4442607CXktuN','lastChild','push','previousNode','path','198ZRWJZy','end','firstChild','306VwhZpO','45420DMxIMS','getContent'];_0x57d3=function(){return _0x113d02;};return _0x57d3();}function _0xeec9(_0x3b7bf0,_0x39f25b){const _0x57d3a9=_0x57d3();return _0xeec9=function(_0xeec92,_0x4a63a3){_0xeec92=_0xeec92-0x134;let _0x1b011e=_0x57d3a9[_0xeec92];return _0x1b011e;},_0xeec9(_0x3b7bf0,_0x39f25b);}import{clone as _0x8fdf46,getParents as _0x4dafca,Document as _0x2ea8cd,Text as _0x262642,isTag as _0x541ae0,isText as _0x4cefb2,replaceElement as _0x391110,removeElement as _0x5a8bda}from'./htmlparser.js';export class DocumentRange{[_0x4736e5(0x13d)];[_0x4736e5(0x144)];constructor(_0x3087bf,_0xdf33b2){const _0x33f9a9=_0x4736e5;this[_0x33f9a9(0x13d)]=_0x3087bf,this[_0x33f9a9(0x144)]=_0xdf33b2;}[_0x4736e5(0x150)](_0x599d29){const _0x430ec6=_0x4736e5;return this==_0x599d29||this[_0x430ec6(0x13d)][_0x430ec6(0x150)](_0x599d29[_0x430ec6(0x13d)])&&this[_0x430ec6(0x144)][_0x430ec6(0x150)](_0x599d29[_0x430ec6(0x144)]);}[_0x4736e5(0x14e)](){const _0x14eed2=_0x4736e5;return new DocumentRange(this[_0x14eed2(0x13d)][_0x14eed2(0x14e)](_0x14eed2(0x13d)),this[_0x14eed2(0x144)][_0x14eed2(0x14e)](_0x14eed2(0x144)));}[_0x4736e5(0x148)](){const _0x14873f=_0x4736e5,_0x2f8d3b=_0x8fdf46(this[_0x14873f(0x13d)][_0x14873f(0x14a)]),_0x2afd06=_0x1e819f[_0x14873f(0x155)](_0x2f8d3b,this[_0x14873f(0x13d)][_0x14873f(0x142)]),_0x52fb7c=_0x1e819f[_0x14873f(0x155)](_0x2f8d3b,this[_0x14873f(0x144)][_0x14873f(0x142)]);let _0x1cc73b,_0x5a8a79;if(_0x4cefb2(_0x2afd06[_0x14873f(0x153)])){const _0x372b94=_0x2afd06[_0x14873f(0x142)][_0x2afd06[_0x14873f(0x142)][_0x14873f(0x14c)]-0x1],_0x58a79b=new _0x262642(_0x2afd06[_0x14873f(0x153)][_0x14873f(0x14f)][_0x14873f(0x13a)](_0x372b94));_0x391110(_0x2afd06[_0x14873f(0x153)],_0x58a79b),_0x1cc73b=_0x58a79b;}else _0x1cc73b=_0x2afd06[_0x14873f(0x152)];if(_0x4cefb2(_0x52fb7c[_0x14873f(0x153)])){const _0x207b75=_0x52fb7c[_0x14873f(0x142)][_0x52fb7c[_0x14873f(0x142)][_0x14873f(0x14c)]-0x1],_0x47f4b4=new _0x262642(_0x52fb7c[_0x14873f(0x153)][_0x14873f(0x14f)][_0x14873f(0x13a)](0x0,_0x207b75));_0x391110(_0x52fb7c[_0x14873f(0x153)],_0x47f4b4),_0x5a8a79=_0x47f4b4;}else _0x5a8a79=_0x52fb7c[_0x14873f(0x141)];if(!(_0x1cc73b&&_0x5a8a79&&_0x2f8d3b[_0x14873f(0x145)]&&_0x2f8d3b[_0x14873f(0x13f)]))return new _0x2ea8cd([]);const _0x4d7a6c=_0x4dafca(_0x1cc73b),_0x5d5fdd=_0x4dafca(_0x5a8a79),_0x3f33fd=[],_0x17ad8f=[];let _0x26738b=_0x2f8d3b[_0x14873f(0x145)];for(;_0x26738b&&_0x26738b!==_0x1cc73b;){let _0x5b41fe;_0x4d7a6c[_0x14873f(0x151)](_0x26738b)||_0x3f33fd[_0x14873f(0x140)](_0x26738b),_0x5b41fe=_0x541ae0(_0x26738b)?_0x1e819f[_0x14873f(0x139)](_0x2f8d3b,_0x26738b,_0x14873f(0x13d)):_0x1e819f[_0x14873f(0x14d)](_0x2f8d3b,_0x26738b),_0x26738b=_0x5b41fe?_0x5b41fe[_0x14873f(0x152)]:null;}for(_0x26738b=_0x2f8d3b[_0x14873f(0x13f)];_0x26738b&&_0x26738b!==_0x5a8a79;){let _0x310c42;_0x5d5fdd[_0x14873f(0x151)](_0x26738b)||_0x17ad8f[_0x14873f(0x140)](_0x26738b),_0x310c42=_0x541ae0(_0x26738b)?_0x1e819f[_0x14873f(0x139)](_0x2f8d3b,_0x26738b,_0x14873f(0x144)):_0x1e819f[_0x14873f(0x137)](_0x2f8d3b,_0x26738b),_0x26738b=_0x310c42?_0x310c42[_0x14873f(0x141)]:null;}return _0x3f33fd[_0x14873f(0x149)](_0x3c5e03=>{_0x5a8bda(_0x3c5e03);}),_0x17ad8f[_0x14873f(0x14b)]()[_0x14873f(0x149)](_0x3b2ac2=>{_0x5a8bda(_0x3b2ac2);}),_0x2f8d3b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25bcb0=_0x3ae1;(function(_0x2a5093,_0xdf412a){const _0x30b73f=_0x3ae1,_0xf46fe4=_0x2a5093();while(!![]){try{const _0x48e40e=-parseInt(_0x30b73f(0x185))/0x1+parseInt(_0x30b73f(0x18a))/0x2+parseInt(_0x30b73f(0x17e))/0x3+-parseInt(_0x30b73f(0x184))/0x4+parseInt(_0x30b73f(0x180))/0x5*(-parseInt(_0x30b73f(0x18e))/0x6)+parseInt(_0x30b73f(0x18c))/0x7+-parseInt(_0x30b73f(0x189))/0x8*(-parseInt(_0x30b73f(0x187))/0x9);if(_0x48e40e===_0xdf412a)break;else _0xf46fe4['push'](_0xf46fe4['shift']());}catch(_0x4a7fc5){_0xf46fe4['push'](_0xf46fe4['shift']());}}}(_0x5f48,0xc9ccd));function _0x3ae1(_0x2c5dc9,_0x3a2553){const _0x5f48df=_0x5f48();return _0x3ae1=function(_0x3ae182,_0x3d4058){_0x3ae182=_0x3ae182-0x17e;let _0x5cae0b=_0x5f48df[_0x3ae182];return _0x5cae0b;},_0x3ae1(_0x2c5dc9,_0x3a2553);}export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x25bcb0(0x181),_0x25bcb0(0x188),_0x25bcb0(0x18b),_0x25bcb0(0x18d),_0x25bcb0(0x183),_0x25bcb0(0x18f),_0x25bcb0(0x17f),_0x25bcb0(0x182),_0x25bcb0(0x186)];function _0x5f48(){const _0x47cd39=['like','mouseOverSuggestion','2128280mRltAM','1069365mfOqir','dislike','4570515LfHqmS','insertSuggestion','16RpMiVE','474078uUiARn','applySuggestion','7546168DtJCzl','rejectSuggestion','19452yjJXye','mouseLeaveSuggestion','1206069xmzsTW','toggleSuggestionDisplayMode','470xGNwXc','showChangeInText'];_0x5f48=function(){return _0x47cd39;};return _0x5f48();}
23
+ const _0xbe6b9d=_0x2058;function _0x44b3(){const _0x39a39e=['applySuggestion','like','showChangeInText','93ZTgsqm','mouseOverSuggestion','dislike','mouseLeaveSuggestion','9PCUJas','87272EtwjPe','511889DlEUOE','305800SmtBde','2215SwOoMK','109601qghPxQ','15982hdzRIB','insertSuggestion','425520kxDSPi','rejectSuggestion','180cPLjSh','toggleSuggestionDisplayMode'];_0x44b3=function(){return _0x39a39e;};return _0x44b3();}(function(_0x5da1e3,_0x4aeec9){const _0x50b0aa=_0x2058,_0x15db26=_0x5da1e3();while(!![]){try{const _0x42ebae=parseInt(_0x50b0aa(0x1e0))/0x1+parseInt(_0x50b0aa(0x1e1))/0x2*(parseInt(_0x50b0aa(0x1d7))/0x3)+-parseInt(_0x50b0aa(0x1d2))/0x4*(parseInt(_0x50b0aa(0x1df))/0x5)+parseInt(_0x50b0aa(0x1d0))/0x6+-parseInt(_0x50b0aa(0x1dd))/0x7+parseInt(_0x50b0aa(0x1dc))/0x8*(-parseInt(_0x50b0aa(0x1db))/0x9)+-parseInt(_0x50b0aa(0x1de))/0xa;if(_0x42ebae===_0x4aeec9)break;else _0x15db26['push'](_0x15db26['shift']());}catch(_0x5da964){_0x15db26['push'](_0x15db26['shift']());}}}(_0x44b3,0x47b3b));function _0x2058(_0x43996f,_0x36fc3c){const _0x44b3f2=_0x44b3();return _0x2058=function(_0x205866,_0xa3d84){_0x205866=_0x205866-0x1cf;let _0x3b0f95=_0x44b3f2[_0x205866];return _0x3b0f95;},_0x2058(_0x43996f,_0x36fc3c);}export const AI_SUGGESTION_UI_EVENT_NAMES=[_0xbe6b9d(0x1d6),_0xbe6b9d(0x1cf),_0xbe6b9d(0x1d4),_0xbe6b9d(0x1d1),_0xbe6b9d(0x1d8),_0xbe6b9d(0x1da),_0xbe6b9d(0x1d3),_0xbe6b9d(0x1d5),_0xbe6b9d(0x1d9)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1b9098,_0x1d767b){var _0x471b64=_0x59d4,_0x28dceb=_0x1b9098();while(!![]){try{var _0x241fe6=-parseInt(_0x471b64(0x15c))/0x1+parseInt(_0x471b64(0x163))/0x2*(-parseInt(_0x471b64(0x166))/0x3)+parseInt(_0x471b64(0x16a))/0x4+parseInt(_0x471b64(0x168))/0x5*(-parseInt(_0x471b64(0x15b))/0x6)+parseInt(_0x471b64(0x165))/0x7*(parseInt(_0x471b64(0x164))/0x8)+-parseInt(_0x471b64(0x15f))/0x9+parseInt(_0x471b64(0x169))/0xa;if(_0x241fe6===_0x1d767b)break;else _0x28dceb['push'](_0x28dceb['shift']());}catch(_0xf6009f){_0x28dceb['push'](_0x28dceb['shift']());}}}(_0x2684,0x6cddb));function _0x2684(){var _0x4960c2=['29283rjcdSp','warn','35ydvpRP','14637470sWzsEC','57476UPUTpV','400134GzSWoe','620180LfKbkm','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.','ai-get-editor-from-context-no-editor','2215278qAEOJF','length','editors','get','98wVPiWQ','6233864ZPaTMZ','7QuhWQH'];_0x2684=function(){return _0x4960c2;};return _0x2684();}import{CKEditorError as _0x62c2c8}from'ckeditor5/src/utils.js';import{Editor as _0x4fa747}from'ckeditor5/src/core.js';function _0x59d4(_0x3fe9ac,_0x8033cd){var _0x268469=_0x2684();return _0x59d4=function(_0x59d4cf,_0x25f0d6){_0x59d4cf=_0x59d4cf-0x15b;var _0x5326e0=_0x268469[_0x59d4cf];return _0x5326e0;},_0x59d4(_0x3fe9ac,_0x8033cd);}export function getEditorFromContext(_0x2adf88){var _0x1072ff=_0x59d4;if(_0x2adf88 instanceof _0x4fa747)return _0x2adf88;if(_0x2adf88?.[_0x1072ff(0x161)]&&_0x2adf88[_0x1072ff(0x161)][_0x1072ff(0x162)](0x0))return _0x2adf88[_0x1072ff(0x161)][_0x1072ff(0x160)]>0x1&&console[_0x1072ff(0x167)](_0x1072ff(0x15d)),_0x2adf88[_0x1072ff(0x161)][_0x1072ff(0x162)](0x0);throw new _0x62c2c8(_0x1072ff(0x15e));}
23
+ (function(_0x43ad75,_0x87626e){var _0x5060dc=_0x252e,_0x2c2e63=_0x43ad75();while(!![]){try{var _0x1dbea5=-parseInt(_0x5060dc(0x1f8))/0x1+parseInt(_0x5060dc(0x1f1))/0x2+-parseInt(_0x5060dc(0x1f2))/0x3*(parseInt(_0x5060dc(0x1f7))/0x4)+-parseInt(_0x5060dc(0x1fa))/0x5*(-parseInt(_0x5060dc(0x1f9))/0x6)+parseInt(_0x5060dc(0x1f6))/0x7+-parseInt(_0x5060dc(0x1ee))/0x8*(-parseInt(_0x5060dc(0x1f4))/0x9)+-parseInt(_0x5060dc(0x1ef))/0xa;if(_0x1dbea5===_0x87626e)break;else _0x2c2e63['push'](_0x2c2e63['shift']());}catch(_0x531c14){_0x2c2e63['push'](_0x2c2e63['shift']());}}}(_0x1639,0xaf613));import{CKEditorError as _0xe89cf6}from'ckeditor5/src/utils.js';function _0x1639(){var _0x4c12b0=['editors','warn','21864UpzrBG','24386710oDhOpS','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.','1700384duVwDH','3evQuuc','get','3339MxRDZN','length','9794694WLepwE','1244860wrlgNM','811401MQUWEq','90IaKfqE','338755hKhiXZ','ai-get-editor-from-context-no-editor'];_0x1639=function(){return _0x4c12b0;};return _0x1639();}import{Editor as _0x36d11f}from'ckeditor5/src/core.js';function _0x252e(_0x5cff51,_0x8fbd4d){var _0x163918=_0x1639();return _0x252e=function(_0x252e31,_0xc7a0bf){_0x252e31=_0x252e31-0x1ee;var _0xd38eb3=_0x163918[_0x252e31];return _0xd38eb3;},_0x252e(_0x5cff51,_0x8fbd4d);}export function getEditorFromContext(_0x1695b8){var _0x1d1803=_0x252e;if(_0x1695b8 instanceof _0x36d11f)return _0x1695b8;if(_0x1695b8?.[_0x1d1803(0x1fc)]&&_0x1695b8[_0x1d1803(0x1fc)][_0x1d1803(0x1f3)](0x0))return _0x1695b8[_0x1d1803(0x1fc)][_0x1d1803(0x1f5)]>0x1&&console[_0x1d1803(0x1fd)](_0x1d1803(0x1f0)),_0x1695b8[_0x1d1803(0x1fc)][_0x1d1803(0x1f3)](0x0);throw new _0xe89cf6(_0x1d1803(0x1fb));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5e5536,_0x2cdb02){const _0x2e82ed=_0x5a00,_0x485b85=_0x5e5536();while(!![]){try{const _0x3e5600=-parseInt(_0x2e82ed(0xc4))/0x1*(parseInt(_0x2e82ed(0xab))/0x2)+-parseInt(_0x2e82ed(0xc2))/0x3*(parseInt(_0x2e82ed(0xae))/0x4)+-parseInt(_0x2e82ed(0xa4))/0x5*(-parseInt(_0x2e82ed(0xac))/0x6)+-parseInt(_0x2e82ed(0xb9))/0x7*(parseInt(_0x2e82ed(0xc5))/0x8)+parseInt(_0x2e82ed(0xa5))/0x9+parseInt(_0x2e82ed(0xb8))/0xa+parseInt(_0x2e82ed(0xa6))/0xb;if(_0x3e5600===_0x2cdb02)break;else _0x485b85['push'](_0x485b85['shift']());}catch(_0x5a86a6){_0x485b85['push'](_0x485b85['shift']());}}}(_0x9672,0x93969));import{transformOperationSets as _0x40ca85}from'ckeditor5/src/engine.js';import{append as _0x44e37e,findByAttribute as _0x400902,prependChild as _0x3ca6f9,removeElement as _0x3e2a9d,serialize as _0x3fe645}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x347ed0,interaction:_0x5732e6,reply:_0x255f56,groups:_0x263006,transform:_0x3babea,documentCompare:_0x1adeba,documentCompareOptions:_0x10c057}){const _0x2eb8ba=_0x5a00,_0x56e700=_0x5732e6[_0x2eb8ba(0xb4)]();if(!_0x56e700)return[];const _0x133f54=_0x56e700[_0x2eb8ba(0xc1)],_0xd58f1a=_0x56e700[_0x2eb8ba(0xb3)],_0x14698b=_0x255f56[_0x2eb8ba(0x9f)][_0x2eb8ba(0xa7)](!0x0);for(const {changes:_0x59d594}of _0x263006){const _0x4ad929=_0x59d594[_0x2eb8ba(0xaf)](_0x45dba1=>_0x2eb8ba(0xb1)!=_0x45dba1[_0x2eb8ba(0xb7)])[_0x2eb8ba(0xa1)](_0x110805=>_0x400902(_0x2eb8ba(0xb2),_0x110805['id'],_0x14698b)),_0x2b0dec=_0x59d594[_0x2eb8ba(0xaf)](_0x4ae0dc=>_0x2eb8ba(0xc3)!=_0x4ae0dc[_0x2eb8ba(0xb7)])[_0x2eb8ba(0xa1)](_0x48e0f4=>_0x48e0f4[_0x2eb8ba(0xaa)][_0x2eb8ba(0xa7)](!0x0));let _0x2a41a5=null;if(_0x4ad929[_0x2eb8ba(0xad)]){_0x2a41a5=_0x4ad929[0x0][_0x2eb8ba(0xbd)];for(let _0x48ee51=0x0;_0x48ee51<_0x4ad929[_0x2eb8ba(0xad)];_0x48ee51++)_0x3e2a9d(_0x4ad929[_0x48ee51]);}if(_0x2b0dec[_0x2eb8ba(0xad)]){_0x2a41a5||(_0x59d594[0x0][_0x2eb8ba(0xa9)]?_0x2a41a5=_0x400902(_0x2eb8ba(0xb2),_0x59d594[0x0][_0x2eb8ba(0xa9)],_0x14698b):(_0x2a41a5=_0x2b0dec[_0x2eb8ba(0xa3)](),_0x3ca6f9(_0x14698b,_0x2a41a5)));for(let _0x2d645a=0x0;_0x2d645a<_0x2b0dec[_0x2eb8ba(0xad)];_0x2d645a++)_0x44e37e(_0x2a41a5,_0x2b0dec[_0x2d645a]),_0x2a41a5=_0x2b0dec[_0x2d645a];}}const _0x38eb1b=_0x3fe645(_0x14698b),_0x1257b7=_0x1adeba[_0x2eb8ba(0xba)](_0x133f54,_0x38eb1b,_0x10c057)[_0x2eb8ba(0xbe)]();if(_0x3babea){const _0x10178b=_0x347ed0[_0x2eb8ba(0xbb)][_0x2eb8ba(0xb5)][_0x2eb8ba(0xa2)][_0x2eb8ba(0xbe)](_0xd58f1a),_0x450a64={'document':_0x347ed0[_0x2eb8ba(0xbb)][_0x2eb8ba(0xb5)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x40ca85(_0x1257b7,_0x10178b,_0x450a64)[_0x2eb8ba(0xa0)];}return _0x1257b7;}function _0x9672(){const _0x5a21bd=['name','type','11394980jTnqim','206402QPXSde','getDiff','model','oldRange','previousSibling','getOperations','get','marker','content','3teAbAq','removed','38CtejbJ','328eMbqfE','documentContextContent','operationsA','map','history','shift','5qHCmnM','10278279pHBmff','1244353gQRUYi','cloneNode','getRange','anchorId','node','23924RIlqfp','3324084WJCNrZ','length','2722652OlmHIh','filter','markers','new','data-id','version','getDocumentContext','document'];_0x9672=function(){return _0x5a21bd;};return _0x9672();}function _0x5a00(_0x138bb2,_0x3f6852){const _0x96720b=_0x9672();return _0x5a00=function(_0x5a00c7,_0x2481c6){_0x5a00c7=_0x5a00c7-0x9f;let _0x1d0ca1=_0x96720b[_0x5a00c7];return _0x1d0ca1;},_0x5a00(_0x138bb2,_0x3f6852);}export function fixMarkerOperationOldRange(_0x6c034e,_0x5efac5){const _0xaed7ef=_0x5a00;if(_0xaed7ef(0xc0)!=_0x5efac5[_0xaed7ef(0xb7)])return;const _0x42d7fa=_0x6c034e[_0xaed7ef(0xbb)][_0xaed7ef(0xb0)][_0xaed7ef(0xbf)](_0x5efac5[_0xaed7ef(0xb6)]);_0x42d7fa&&(_0x5efac5[_0xaed7ef(0xbc)]=_0x42d7fa[_0xaed7ef(0xa8)]());}
23
+ (function(_0x2fcef0,_0xb0a27b){const _0x201dae=_0x5d4a,_0x7ea336=_0x2fcef0();while(!![]){try{const _0x1f5c65=-parseInt(_0x201dae(0x19c))/0x1+-parseInt(_0x201dae(0x1af))/0x2+parseInt(_0x201dae(0x1bd))/0x3*(-parseInt(_0x201dae(0x1a9))/0x4)+parseInt(_0x201dae(0x1a7))/0x5*(-parseInt(_0x201dae(0x1ac))/0x6)+-parseInt(_0x201dae(0x1b0))/0x7*(parseInt(_0x201dae(0x19b))/0x8)+parseInt(_0x201dae(0x1aa))/0x9+parseInt(_0x201dae(0x1ae))/0xa*(parseInt(_0x201dae(0x1a1))/0xb);if(_0x1f5c65===_0xb0a27b)break;else _0x7ea336['push'](_0x7ea336['shift']());}catch(_0x4d21c4){_0x7ea336['push'](_0x7ea336['shift']());}}}(_0x5024,0x28938));function _0x5024(){const _0xe4c38=['operationsA','oldRange','761755TmjjSE','getDocumentContext','60EpfwDT','1104849EfBXNH','history','6RFkmEX','getRange','430fdMnAa','84626JrvFNI','65443ZtRlEZ','name','documentContextContent','content','get','type','node','new','getOperations','model','map','shift','cloneNode','47154CdldMy','previousSibling','document','version','length','88aYyYUX','96066ktLKuf','filter','marker','data-id','markers','172106mggVDt','anchorId','removed','getDiff'];_0x5024=function(){return _0xe4c38;};return _0x5024();}function _0x5d4a(_0x2d70be,_0x527abc){const _0x5024b3=_0x5024();return _0x5d4a=function(_0x5d4a5f,_0x2c72a2){_0x5d4a5f=_0x5d4a5f-0x199;let _0x407cfe=_0x5024b3[_0x5d4a5f];return _0x407cfe;},_0x5d4a(_0x2d70be,_0x527abc);}import{transformOperationSets as _0xe142da}from'ckeditor5/src/engine.js';import{append as _0x4c63a0,findByAttribute as _0x2025e6,prependChild as _0xe35613,removeElement as _0x5ea62c,serialize as _0x3dda7a}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x38d73d,interaction:_0x486964,reply:_0x5147bc,groups:_0x207865,transform:_0x50b4d4,documentCompare:_0xbc62eb,documentCompareOptions:_0xa8ac5b}){const _0x4141c9=_0x5d4a,_0x4cc8de=_0x486964[_0x4141c9(0x1a8)]();if(!_0x4cc8de)return[];const _0x4a94d3=_0x4cc8de[_0x4141c9(0x1b3)],_0x3eb3c4=_0x4cc8de[_0x4141c9(0x199)],_0x2cb70d=_0x5147bc[_0x4141c9(0x1b2)][_0x4141c9(0x1bc)](!0x0);for(const {changes:_0x5464d2}of _0x207865){const _0x1e04af=_0x5464d2[_0x4141c9(0x19d)](_0x3c4cf6=>_0x4141c9(0x1b7)!=_0x3c4cf6[_0x4141c9(0x1b5)])[_0x4141c9(0x1ba)](_0x437b24=>_0x2025e6(_0x4141c9(0x19f),_0x437b24['id'],_0x2cb70d)),_0x5645bd=_0x5464d2[_0x4141c9(0x19d)](_0x12d0b5=>_0x4141c9(0x1a3)!=_0x12d0b5[_0x4141c9(0x1b5)])[_0x4141c9(0x1ba)](_0x536bac=>_0x536bac[_0x4141c9(0x1b6)][_0x4141c9(0x1bc)](!0x0));let _0x1ec134=null;if(_0x1e04af[_0x4141c9(0x19a)]){_0x1ec134=_0x1e04af[0x0][_0x4141c9(0x1be)];for(let _0xa905e6=0x0;_0xa905e6<_0x1e04af[_0x4141c9(0x19a)];_0xa905e6++)_0x5ea62c(_0x1e04af[_0xa905e6]);}if(_0x5645bd[_0x4141c9(0x19a)]){_0x1ec134||(_0x5464d2[0x0][_0x4141c9(0x1a2)]?_0x1ec134=_0x2025e6(_0x4141c9(0x19f),_0x5464d2[0x0][_0x4141c9(0x1a2)],_0x2cb70d):(_0x1ec134=_0x5645bd[_0x4141c9(0x1bb)](),_0xe35613(_0x2cb70d,_0x1ec134)));for(let _0x25b2e1=0x0;_0x25b2e1<_0x5645bd[_0x4141c9(0x19a)];_0x25b2e1++)_0x4c63a0(_0x1ec134,_0x5645bd[_0x25b2e1]),_0x1ec134=_0x5645bd[_0x25b2e1];}}const _0x346c21=_0x3dda7a(_0x2cb70d),_0x53b34c=_0xbc62eb[_0x4141c9(0x1a4)](_0x4a94d3,_0x346c21,_0xa8ac5b)[_0x4141c9(0x1b8)]();if(_0x50b4d4){const _0x59555d=_0x38d73d[_0x4141c9(0x1b9)][_0x4141c9(0x1bf)][_0x4141c9(0x1ab)][_0x4141c9(0x1b8)](_0x3eb3c4),_0x55d11a={'document':_0x38d73d[_0x4141c9(0x1b9)][_0x4141c9(0x1bf)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xe142da(_0x53b34c,_0x59555d,_0x55d11a)[_0x4141c9(0x1a5)];}return _0x53b34c;}export function fixMarkerOperationOldRange(_0x148dbc,_0x3e4a5c){const _0x20282f=_0x5d4a;if(_0x20282f(0x19e)!=_0x3e4a5c[_0x20282f(0x1b5)])return;const _0x3afc66=_0x148dbc[_0x20282f(0x1b9)][_0x20282f(0x1a0)][_0x20282f(0x1b4)](_0x3e4a5c[_0x20282f(0x1b1)]);_0x3afc66&&(_0x3e4a5c[_0x20282f(0x1a6)]=_0x3afc66[_0x20282f(0x1ad)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xc50e58,_0x192a0c){const _0x142b8c=_0x1de3,_0x38e97f=_0xc50e58();while(!![]){try{const _0x457b76=-parseInt(_0x142b8c(0x227))/0x1+-parseInt(_0x142b8c(0x1dd))/0x2+parseInt(_0x142b8c(0x1e6))/0x3*(-parseInt(_0x142b8c(0x226))/0x4)+parseInt(_0x142b8c(0x20d))/0x5*(parseInt(_0x142b8c(0x1ee))/0x6)+parseInt(_0x142b8c(0x1e8))/0x7*(parseInt(_0x142b8c(0x229))/0x8)+-parseInt(_0x142b8c(0x234))/0x9+parseInt(_0x142b8c(0x220))/0xa*(parseInt(_0x142b8c(0x1ec))/0xb);if(_0x457b76===_0x192a0c)break;else _0x38e97f['push'](_0x38e97f['shift']());}catch(_0x4d66c2){_0x38e97f['push'](_0x38e97f['shift']());}}}(_0x46a2,0xd0210));import{findOne as _0x836628,getAttribute as _0x8abe46,Document as _0xf0db5,serialize as _0x1977c3,parse as _0xb2cefc}from'./htmlparser.js';import{fixElementSuggestionRange as _0x25f471}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x38f4aa,_DetachOperation as _0x3879dd,_removeFromModelNodeList as _0x417361,_insertIntoModelNodeList as _0x4ffd4a}from'ckeditor5/src/engine.js';import{uid as _0x2dd1ff}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x553a57,changeGroups:_0x5a2442,documentContextContent:_0x1e1101,showDiff:_0x1eb1c9,trimUnchanged:_0x487411=!0x0}){const _0x17ef8d=_0x1de3;return _0x5a2442[_0x17ef8d(0x22e)](_0x3a1001=>{const _0x2e18c2=_0x17ef8d,_0x5b9a46=new _0xf0db5([]),_0x3773f5=new _0xf0db5([]);for(const _0x559568 of _0x3a1001[_0x2e18c2(0x213)])if(_0x1eb1c9&&_0x2e18c2(0x1cc)==_0x559568[_0x2e18c2(0x1e2)]||_0x3773f5[_0x2e18c2(0x1ce)][_0x2e18c2(0x20f)](_0x559568[_0x2e18c2(0x1d1)][_0x2e18c2(0x1dc)](!0x0)),_0x2e18c2(0x1f8)!=_0x559568[_0x2e18c2(0x1e2)]&&(_0x1eb1c9||_0x2e18c2(0x1cc)!=_0x559568[_0x2e18c2(0x1e2)])){const _0xa4d830=_0x836628(_0x2e96b7=>_0x8abe46(_0x2e96b7,_0x2e18c2(0x1d0))==_0x559568['id'],_0x1e1101,!0x0);_0xa4d830&&_0x5b9a46[_0x2e18c2(0x1ce)][_0x2e18c2(0x20f)](_0xa4d830[_0x2e18c2(0x1dc)](!0x0));}const {content:_0x599cc5,hasChanges:_0x59d8d2}=function(_0xb7a44,_0x209290,_0x4462c5,_0x2af98a,_0x41ea74=!0x0){const _0x142192=_0x2e18c2,_0x3a8434=_0xb7a44[_0x142192(0x22b)][_0x142192(0x22c)](_0x142192(0x230)),_0x51d4f8=_0x1977c3(_0x209290),_0xdb0745=_0x1977c3(_0x4462c5),_0x498aa9=_0xb7a44[_0x142192(0x212)][_0x142192(0x1ca)](_0x51d4f8,_0x142192(0x238)),_0x3e435c=_0xb7a44[_0x142192(0x1db)][_0x142192(0x208)](_0x498aa9,0x0),_0x5d9354=_0x3a8434[_0x142192(0x232)](_0x51d4f8,_0xdb0745,{'anchor':_0x3e435c,'markDeletions':_0x2af98a}),_0x27fd38=_0x5d9354[_0x142192(0x222)]();if(0x0==_0x27fd38[_0x142192(0x20b)])return{'content':_0x209290[_0x142192(0x1dc)](!0x0),'hasChanges':!0x1};_0x2af98a?function(_0x1569db,_0x538ef0,_0x9265e3){const _0x19e5d7=_0x142192;if(0x0==_0x1569db[_0x19e5d7(0x20b)])return;const _0x4c7fca=_0x9265e3[_0x19e5d7(0x22b)][_0x19e5d7(0x22c)](_0x19e5d7(0x230)),_0x3e0f0c=_0x9265e3[_0x19e5d7(0x22b)][_0x19e5d7(0x22c)](_0x19e5d7(0x228));_0x9265e3[_0x19e5d7(0x1db)][_0x19e5d7(0x1ed)](_0x3ee5e5=>{const _0x540e5e=_0x19e5d7,_0x184b12=new Set();for(let _0x9687d3=0x0;_0x9687d3<_0x1569db[_0x540e5e(0x20b)];_0x9687d3++){const _0x4eb77f=_0x1569db[_0x9687d3];if(_0x4eb77f[_0x540e5e(0x20a)]=null,_0x4eb77f[_0x540e5e(0x205)]=!0x1,_0x4c7fca[_0x540e5e(0x20c)](_0x4eb77f)){const _0x1c0492=_0x25f471(_0x4eb77f[_0x540e5e(0x202)],_0x9265e3[_0x540e5e(0x1db)]),_0x2172dd=_0x540e5e(0x225)+_0x2dd1ff()+_0x540e5e(0x233);_0x538ef0[_0x540e5e(0x1d4)][_0x540e5e(0x22f)](_0x2172dd,_0x1c0492);}else switch(_0x4eb77f[_0x540e5e(0x1e2)]){case _0x540e5e(0x206):{if(_0x4eb77f[_0x540e5e(0x1f3)]==_0x4eb77f[_0x540e5e(0x1c9)])break;_0x3ee5e5[_0x540e5e(0x1d7)][_0x540e5e(0x1ea)](_0x4eb77f),_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x1d9)](_0x4eb77f);const _0x5889b7=_0x540e5e(0x1e3),_0x5b28b2=_0x4eb77f[_0x540e5e(0x22a)],_0x31c506=_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x200)](_0x5b28b2,_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x208)](_0x5b28b2[_0x540e5e(0x237)],_0x540e5e(0x223))),_0x1af094=_0x540e5e(0x239)+_0x5889b7+':'+_0x2dd1ff()+_0x540e5e(0x233);_0x538ef0[_0x540e5e(0x1d4)][_0x540e5e(0x22f)](_0x1af094,_0x31c506);break;}case _0x540e5e(0x1d6):case _0x540e5e(0x21e):case _0x540e5e(0x201):{if(_0x4eb77f[_0x540e5e(0x1e4)]==_0x4eb77f[_0x540e5e(0x203)])break;_0x3ee5e5[_0x540e5e(0x1d7)][_0x540e5e(0x1ea)](_0x4eb77f),_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x1d9)](_0x4eb77f);const _0x725fb9=_0x4eb77f[_0x540e5e(0x1e7)];if(!_0x3e0f0c[_0x540e5e(0x207)](_0x725fb9))break;const _0x5ccbf4=_0x25f471(_0x4eb77f[_0x540e5e(0x23b)],_0x9265e3[_0x540e5e(0x1db)]),_0x4c61c5=_0x540e5e(0x239)+_0x725fb9+':'+_0x2dd1ff()+_0x540e5e(0x233);_0x538ef0[_0x540e5e(0x1d4)][_0x540e5e(0x22f)](_0x4c61c5,_0x5ccbf4);break;}case _0x540e5e(0x214):{_0x3ee5e5[_0x540e5e(0x1d7)][_0x540e5e(0x1ea)](_0x4eb77f),_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x1d9)](_0x4eb77f);if(_0x1569db[_0x9687d3+0x1]&&_0x540e5e(0x209)==_0x1569db[_0x9687d3+0x1][_0x540e5e(0x1e2)]){ro(_0x538ef0,_0x4eb77f);break;}const _0x42d151=_0x4eb77f[_0x540e5e(0x22a)],_0x4cad87=_0x4eb77f[_0x540e5e(0x1f9)],_0x1c15dd=_0x25f471(_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x200)](_0x42d151,_0x42d151[_0x540e5e(0x1cd)](_0x4cad87)),_0x9265e3[_0x540e5e(0x1db)]),_0x2a3a88=_0x540e5e(0x210)+_0x2dd1ff()+_0x540e5e(0x233);_0x538ef0[_0x540e5e(0x1d4)][_0x540e5e(0x22f)](_0x2a3a88,_0x1c15dd);break;}case _0x540e5e(0x1d5):{_0x3ee5e5[_0x540e5e(0x1d7)][_0x540e5e(0x1ea)](_0x4eb77f),_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x1d9)](_0x4eb77f);const _0x39b5e1=_0x4eb77f[_0x540e5e(0x1ff)],_0x4f7dc6=_0x4eb77f[_0x540e5e(0x1f5)],_0x13743a=_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x200)](_0x39b5e1,_0x4f7dc6),_0x809637=_0x540e5e(0x210)+_0x2dd1ff()+_0x540e5e(0x233);_0x538ef0[_0x540e5e(0x1d4)][_0x540e5e(0x22f)](_0x809637,_0x13743a);break;}case _0x540e5e(0x209):{_0x3ee5e5[_0x540e5e(0x1d7)][_0x540e5e(0x1ea)](_0x4eb77f),_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x1d9)](_0x4eb77f),_0x1569db[_0x9687d3-0x1]&&_0x540e5e(0x214)==_0x1569db[_0x9687d3-0x1][_0x540e5e(0x1e2)]&&ro(_0x538ef0,_0x4eb77f);const _0x2e1e19=_0x4eb77f[_0x540e5e(0x1f0)](),_0x549c4d=_0x4eb77f[_0x540e5e(0x1f9)];for(let _0x4f0550=0x0;_0x4f0550<_0x549c4d;_0x4f0550++){const _0x2036dc=_0x2e1e19[_0x540e5e(0x1cd)](_0x4f0550)[_0x540e5e(0x237)];_0x184b12[_0x540e5e(0x1e0)](_0x2036dc);}break;}case _0x540e5e(0x21f):{const _0x1d0746=_0x4eb77f[_0x540e5e(0x1e5)],_0x18f1cd=_0x4eb77f[_0x540e5e(0x1f9)],_0x3cbe02=new _0x3879dd(_0x1d0746,_0x18f1cd);_0x3ee5e5[_0x540e5e(0x1d7)][_0x540e5e(0x1ea)](_0x3cbe02),_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x1d9)](_0x3cbe02);break;}}}for(const _0x6a818d of _0x184b12){const _0x49ffba=_0x9265e3[_0x540e5e(0x1db)][_0x540e5e(0x1cb)](_0x6a818d),_0xb5922f=_0x540e5e(0x20e)+_0x2dd1ff()+_0x540e5e(0x233);_0x538ef0[_0x540e5e(0x1d4)][_0x540e5e(0x22f)](_0xb5922f,_0x25f471(_0x49ffba,_0x9265e3[_0x540e5e(0x1db)]));}});}(_0x27fd38,_0x498aa9,_0xb7a44):_0xb7a44[_0x142192(0x1db)][_0x142192(0x1ed)](_0x1b1361=>{const _0x4395ba=_0x142192;for(const _0x16095c of _0x27fd38)if(_0x4395ba(0x21f)==_0x16095c[_0x4395ba(0x1e2)]){const _0x215df4=_0x16095c[_0x4395ba(0x1e5)],_0xcea1ba=_0x16095c[_0x4395ba(0x1f9)],_0x4af35e=new _0x3879dd(_0x215df4,_0xcea1ba);_0x1b1361[_0x4395ba(0x1d7)][_0x4395ba(0x1ea)](_0x4af35e),_0xb7a44[_0x4395ba(0x1db)][_0x4395ba(0x1d9)](_0x4af35e);}else{if(_0x4395ba(0x21c)==_0x16095c[_0x4395ba(0x1e2)]){const _0x131c3a=_0x16095c[_0x4395ba(0x21a)],_0x110bed=_0x16095c[_0x4395ba(0x202)];_0x498aa9[_0x4395ba(0x1d4)][_0x4395ba(0x22f)](_0x131c3a,_0x110bed);}else _0x16095c[_0x4395ba(0x20a)]=null,_0x16095c[_0x4395ba(0x205)]=!0x1,_0x1b1361[_0x4395ba(0x1d7)][_0x4395ba(0x1ea)](_0x16095c),_0xb7a44[_0x4395ba(0x1db)][_0x4395ba(0x1d9)](_0x16095c);}});if(_0x41ea74){const _0x352c0e=getMinimalSelection(_0xb7a44,_0x27fd38,_0x498aa9);expandSelectionWithContext(_0xb7a44[_0x142192(0x1db)],_0x352c0e),function(_0x59d55d,_0x2fc504){const _0x5d31a6=_0x142192,_0x1d4360=_0x2fc504[_0x5d31a6(0x211)]()[_0x5d31a6(0x1da)];let _0x55df61=_0x2fc504[_0x5d31a6(0x211)]()[_0x5d31a6(0x223)];const _0x981ec8=_0x1d4360[_0x5d31a6(0x21d)];(_0x55df61[_0x5d31a6(0x1df)]||_0x55df61[_0x5d31a6(0x237)]&&_0x55df61[_0x5d31a6(0x237)]['is'](_0x5d31a6(0x1f6)))&&(_0x4ffd4a(_0x55df61,_0x5d31a6(0x221)),_0x55df61=_0x55df61[_0x5d31a6(0x1cd)](0x3)),(_0x1d4360[_0x5d31a6(0x1df)]||_0x1d4360[_0x5d31a6(0x1d3)]&&_0x1d4360[_0x5d31a6(0x1d3)]['is'](_0x5d31a6(0x1f6)))&&(_0x4ffd4a(_0x1d4360,_0x5d31a6(0x221)),function(_0x44e401,_0x48083a,_0x4d0b5e){const _0x45f29b=_0x5d31a6;for(let [_0x133249,_0x210d10]of _0x44e401[_0x45f29b(0x1d4)]){const _0x38567b=_0x210d10[_0x45f29b(0x1d8)](_0x48083a,_0x4d0b5e,!0x1);_0x210d10=_0x38567b[0x0],_0x44e401[_0x45f29b(0x1d4)][_0x45f29b(0x22f)](_0x133249,_0x210d10);}}(_0x981ec8,_0x1d4360,0x3),_0x1d4360[_0x5d31a6(0x1fb)]==_0x55df61[_0x5d31a6(0x1fb)]&&(_0x55df61=_0x55df61[_0x5d31a6(0x1cd)](0x3)));const _0x58a770=_0x59d55d[_0x5d31a6(0x200)](_0x59d55d[_0x5d31a6(0x208)](_0x981ec8,0x0),_0x1d4360),_0x5c0909=_0x59d55d[_0x5d31a6(0x200)](_0x55df61,_0x59d55d[_0x5d31a6(0x208)](_0x981ec8,_0x5d31a6(0x223))),_0x4587d4=[..._0x58a770[_0x5d31a6(0x1fa)](),..._0x5c0909[_0x5d31a6(0x1fa)]()];_0x4587d4[_0x5d31a6(0x1f7)]();for(const _0xb28d80 of _0x4587d4)_0x417361(_0xb28d80),_transformMarkersByDeletion(_0x981ec8,_0xb28d80);}(_0xb7a44[_0x142192(0x1db)],_0x352c0e);}const _0x2d4987=_0xb7a44[_0x142192(0x212)][_0x142192(0x1eb)](_0x498aa9,{'showSuggestionHighlights':!0x0});return{'content':_0xb2cefc(_0x2d4987),'hasChanges':!0x0};}(_0x553a57,_0x5b9a46,_0x3773f5,_0x1eb1c9,_0x487411);return{'type':_0x3a1001[_0x2e18c2(0x213)][0x0][_0x2e18c2(0x1e2)],'index':_0x3a1001[_0x2e18c2(0x219)],'content':_0x599cc5,'hasChanges':_0x59d8d2};});}function ro(_0xd26346,_0x2eba98){const _0x4516aa=_0x1de3;for(const [_0x29012a,_0x942fae]of _0xd26346[_0x4516aa(0x1d4)]){const _0x3c5328=_0x38f4aa[_0x4516aa(0x1c7)](_0x942fae[_0x4516aa(0x21b)](_0x2eba98));_0xd26346[_0x4516aa(0x1d4)][_0x4516aa(0x22f)](_0x29012a,_0x3c5328);}}export function getMinimalSelection(_0x410832,_0x26e34d,_0x52ff54){const _0x31cd1a=_0x1de3,_0x5cfc4a=_0x410832[_0x31cd1a(0x22b)][_0x31cd1a(0x22c)](_0x31cd1a(0x230));let _0x52caf5=_0x410832[_0x31cd1a(0x1db)][_0x31cd1a(0x208)](_0x52ff54,Number[_0x31cd1a(0x1ef)]),_0x279e6c=_0x410832[_0x31cd1a(0x1db)][_0x31cd1a(0x208)](_0x52ff54,0x0);for(const _0x590104 of _0x26e34d){let _0x2c8f40,_0x263ff0;if(_0x5cfc4a[_0x31cd1a(0x20c)](_0x590104))_0x2c8f40=_0x590104[_0x31cd1a(0x202)][_0x31cd1a(0x1da)],_0x263ff0=_0x590104[_0x31cd1a(0x202)][_0x31cd1a(0x223)];else switch(_0x52caf5=_0x52caf5[_0x31cd1a(0x21b)](_0x590104),_0x279e6c=_0x279e6c[_0x31cd1a(0x21b)](_0x590104),_0x590104[_0x31cd1a(0x1e2)]){case _0x31cd1a(0x206):_0x2c8f40=_0x590104[_0x31cd1a(0x22a)],_0x263ff0=_0x2c8f40[_0x31cd1a(0x1cd)](0x1);break;case _0x31cd1a(0x1d6):case _0x31cd1a(0x21e):case _0x31cd1a(0x201):_0x2c8f40=_0x590104[_0x31cd1a(0x23b)][_0x31cd1a(0x1da)],_0x263ff0=_0x590104[_0x31cd1a(0x23b)][_0x31cd1a(0x223)];break;case _0x31cd1a(0x214):_0x2c8f40=_0x590104[_0x31cd1a(0x22a)],_0x263ff0=_0x2c8f40[_0x31cd1a(0x1cd)](_0x590104[_0x31cd1a(0x1f9)]);break;case _0x31cd1a(0x1d5):_0x2c8f40=_0x590104[_0x31cd1a(0x1ff)],_0x263ff0=_0x590104[_0x31cd1a(0x1f5)];break;case _0x31cd1a(0x231):{const _0x45e672=_0x590104[_0x31cd1a(0x218)][_0x31cd1a(0x1d2)][_0x31cd1a(0x1de)](0x0,-0x1);_0x2c8f40=_0x410832[_0x31cd1a(0x1db)][_0x31cd1a(0x1e1)](_0x52ff54,_0x45e672),_0x263ff0=_0x2c8f40[_0x31cd1a(0x1cd)](0x1);break;}case _0x31cd1a(0x21f):{const _0x8bded3=_0x590104[_0x31cd1a(0x1f9)],_0x6943dd=_0x590104[_0x31cd1a(0x1e5)][_0x31cd1a(0x1d8)](_0x590104[_0x31cd1a(0x218)],_0x8bded3),_0x375969=_0x590104[_0x31cd1a(0x1f0)]();_0x31cd1a(0x21f)==_0x590104[_0x31cd1a(0x1e2)]?(_0x2c8f40=_0x6943dd,_0x263ff0=_0x6943dd):(_0x2c8f40=_0x375969,_0x263ff0=_0x375969[_0x31cd1a(0x1cd)](_0x8bded3));break;}}_0x2c8f40&&_0x2c8f40[_0x31cd1a(0x224)](_0x52caf5)&&(_0x52caf5=_0x2c8f40[_0x31cd1a(0x22d)](),_0x52caf5[_0x31cd1a(0x1cf)]=_0x31cd1a(0x1fc)),_0x263ff0&&_0x263ff0[_0x31cd1a(0x1fe)](_0x279e6c)&&(_0x279e6c=_0x263ff0[_0x31cd1a(0x22d)](),_0x279e6c[_0x31cd1a(0x1cf)]=_0x31cd1a(0x1fc));}return _0x410832[_0x31cd1a(0x1db)][_0x31cd1a(0x1fd)](_0x410832[_0x31cd1a(0x1db)][_0x31cd1a(0x200)](_0x52caf5,_0x279e6c));}function _0x46a2(){const _0x48bf04=['removed','getShiftedBy','children','stickiness','data-id','node','path','nodeBefore','markers','split','addAttribute','batch','_getTransformedByInsertion','applyOperation','start','model','cloneNode','288636wzKyEr','slice','textNode','add','createPositionFromPath','type','$elementName','oldValue','sourcePosition','16977uFARIq','key','3577xzgtSP','isBlock','addOperation','stringify','28665923guivpX','change','18kWMmnf','POSITIVE_INFINITY','getMovedRangeStart','backward','element','oldName','_getTransformedByDeletion','moveTargetPosition','$text','reverse','new','howMany','getMinimalFlatRanges','parent','toNone','createSelection','isAfter','splitPosition','createRange','changeAttribute','newRange','newValue','offset','isDocumentOperation','rename','isRegisteredAttribute','createPositionAt','move','baseVersion','length','isMarkedRemoveOperation','1525555kdKXYl','suggestion:formatBlock:$fakeWrap:','push','suggestion:insertion:','getFirstRange','data','changes','insert','isObject','schema','setTo','targetPosition','index','name','getTransformedByOperation','marker','root','removeAttribute','remove','10xzcUbs','...','getOperations','end','isBefore','suggestion:deletion:','908txxivr','1068771IOFGNI','SuggestionsConversion','1688MlXBgP','position','plugins','get','clone','map','set','DocumentCompare','merge','getDiff',':$aiSuggestion','2510721wRLSRH','forward','word','nodeAfter','$root','suggestion:attribute:','delete','range','focus','_createFromRanges','modifySelection','newName','parse','createRangeOn'];_0x46a2=function(){return _0x48bf04;};return _0x46a2();}export function expandSelectionWithContext(_0x4bf17f,_0x4d7710){const _0x4af124=_0x1de3;so(_0x4bf17f,_0x4d7710,_0x4af124(0x235));const _0x56758b=_0x4d7710[_0x4af124(0x211)]();_0x4d7710[_0x4af124(0x217)]([]),_0x4d7710[_0x4af124(0x217)](_0x56758b,{'backward':!0x0}),so(_0x4bf17f,_0x4d7710,_0x4af124(0x1f1));}function _0x1de3(_0x127dab,_0x35c602){const _0x46a2b3=_0x46a2();return _0x1de3=function(_0x1de3f9,_0x5076bd){_0x1de3f9=_0x1de3f9-0x1c6;let _0x3378c9=_0x46a2b3[_0x1de3f9];return _0x3378c9;},_0x1de3(_0x127dab,_0x35c602);}function so(_0x24ccc3,_0x1b93c8,_0x53075c){const _0x375b88=_0x1de3;let _0x31cf52=0x14;for(;_0x31cf52;){_0x24ccc3[_0x375b88(0x1c8)](_0x1b93c8,{'unit':_0x375b88(0x236),'direction':_0x53075c}),_0x31cf52--;const _0x5025ff=_0x1b93c8[_0x375b88(0x1c6)][_0x375b88(0x235)==_0x53075c?_0x375b88(0x1d3):_0x375b88(0x237)];if(_0x5025ff&&_0x5025ff['is'](_0x375b88(0x1f2))&&_0x24ccc3[_0x375b88(0x216)][_0x375b88(0x1e9)](_0x5025ff)&&_0x24ccc3[_0x375b88(0x216)][_0x375b88(0x215)](_0x5025ff))break;}}export function _transformMarkersByDeletion(_0x43f827,_0x173425){const _0x36438e=_0x1de3;for(const [_0x52f1c3,_0x4ba1d4]of _0x43f827[_0x36438e(0x1d4)]){const _0x1bfec5=_0x4ba1d4[_0x36438e(0x1f4)](_0x173425[_0x36438e(0x1da)],_0x173425[_0x36438e(0x223)][_0x36438e(0x204)]-_0x173425[_0x36438e(0x1da)][_0x36438e(0x204)]);null!=_0x1bfec5?_0x43f827[_0x36438e(0x1d4)][_0x36438e(0x22f)](_0x52f1c3,_0x1bfec5):_0x43f827[_0x36438e(0x1d4)][_0x36438e(0x23a)](_0x52f1c3);}}
23
+ (function(_0x1a63e5,_0x581811){const _0x499aed=_0x6f98,_0x4d54a9=_0x1a63e5();while(!![]){try{const _0x1fdacf=parseInt(_0x499aed(0x1bc))/0x1+parseInt(_0x499aed(0x18e))/0x2+-parseInt(_0x499aed(0x1c6))/0x3*(parseInt(_0x499aed(0x1a2))/0x4)+parseInt(_0x499aed(0x191))/0x5+-parseInt(_0x499aed(0x1c2))/0x6+parseInt(_0x499aed(0x1cd))/0x7*(parseInt(_0x499aed(0x1ca))/0x8)+-parseInt(_0x499aed(0x1d0))/0x9*(parseInt(_0x499aed(0x190))/0xa);if(_0x1fdacf===_0x581811)break;else _0x4d54a9['push'](_0x4d54a9['shift']());}catch(_0x4d450e){_0x4d54a9['push'](_0x4d54a9['shift']());}}}(_0x5ee4,0x2dd30));import{findOne as _0x3c24fd,getAttribute as _0x27dd23,Document as _0x2f38f8,serialize as _0x34dba4,parse as _0x568d9d}from'./htmlparser.js';import{fixElementSuggestionRange as _0x16b17c}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x4d6ce1,_DetachOperation as _0x3820a5,_removeFromModelNodeList as _0x46f2d5,_insertIntoModelNodeList as _0x249b33}from'ckeditor5/src/engine.js';import{uid as _0x40dc78}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x440a4a,changeGroups:_0x521980,documentContextContent:_0x2470ea,showDiff:_0xd14d48,trimUnchanged:_0x580255=!0x0}){const _0x173c0d=_0x6f98;return _0x521980[_0x173c0d(0x1dc)](_0x1770ee=>{const _0x25011b=_0x173c0d,_0x5d9289=new _0x2f38f8([]),_0x490127=new _0x2f38f8([]);for(const _0x5f4770 of _0x1770ee[_0x25011b(0x1f1)])if(_0xd14d48&&_0x25011b(0x19e)==_0x5f4770[_0x25011b(0x193)]||_0x490127[_0x25011b(0x189)][_0x25011b(0x18b)](_0x5f4770[_0x25011b(0x1e3)][_0x25011b(0x1ea)](!0x0)),_0x25011b(0x1e4)!=_0x5f4770[_0x25011b(0x193)]&&(_0xd14d48||_0x25011b(0x19e)!=_0x5f4770[_0x25011b(0x193)])){const _0x4b5794=_0x3c24fd(_0x215769=>_0x27dd23(_0x215769,_0x25011b(0x1de))==_0x5f4770['id'],_0x2470ea,!0x0);_0x4b5794&&_0x5d9289[_0x25011b(0x189)][_0x25011b(0x18b)](_0x4b5794[_0x25011b(0x1ea)](!0x0));}const {content:_0x4a1ff7,hasChanges:_0x375ce2}=function(_0xeefc19,_0xb08b12,_0xf951dd,_0x5662c2,_0x3c704e=!0x0){const _0xa0ed24=_0x25011b,_0x4f7fba=_0xeefc19[_0xa0ed24(0x1db)][_0xa0ed24(0x1b8)](_0xa0ed24(0x1e0)),_0x1397c5=_0x34dba4(_0xb08b12),_0x562475=_0x34dba4(_0xf951dd),_0x235e73=_0xeefc19[_0xa0ed24(0x1e8)][_0xa0ed24(0x1a8)](_0x1397c5,_0xa0ed24(0x18a)),_0x865fbb=_0xeefc19[_0xa0ed24(0x197)][_0xa0ed24(0x1b1)](_0x235e73,0x0),_0x2e18c6=_0x4f7fba[_0xa0ed24(0x1d7)](_0x1397c5,_0x562475,{'anchor':_0x865fbb,'markDeletions':_0x5662c2}),_0x3366c9=_0x2e18c6[_0xa0ed24(0x1a9)]();if(0x0==_0x3366c9[_0xa0ed24(0x1c4)])return{'content':_0xb08b12[_0xa0ed24(0x1ea)](!0x0),'hasChanges':!0x1};_0x5662c2?function(_0x2a3f1a,_0x2bc232,_0x1a81c4){const _0xda3177=_0xa0ed24;if(0x0==_0x2a3f1a[_0xda3177(0x1c4)])return;const _0xde3b6=_0x1a81c4[_0xda3177(0x1db)][_0xda3177(0x1b8)](_0xda3177(0x1e0)),_0x12f8c1=_0x1a81c4[_0xda3177(0x1db)][_0xda3177(0x1b8)](_0xda3177(0x1ad));_0x1a81c4[_0xda3177(0x197)][_0xda3177(0x18d)](_0x450462=>{const _0x32586f=_0xda3177,_0x5a33ba=new Set();for(let _0x49526c=0x0;_0x49526c<_0x2a3f1a[_0x32586f(0x1c4)];_0x49526c++){const _0x1aabce=_0x2a3f1a[_0x49526c];if(_0x1aabce[_0x32586f(0x1fa)]=null,_0x1aabce[_0x32586f(0x1f9)]=!0x1,_0xde3b6[_0x32586f(0x1ae)](_0x1aabce)){const _0x347bdf=_0x16b17c(_0x1aabce[_0x32586f(0x1f0)],_0x1a81c4[_0x32586f(0x197)]),_0x56f9c9=_0x32586f(0x1ee)+_0x40dc78()+_0x32586f(0x1aa);_0x2bc232[_0x32586f(0x1f4)][_0x32586f(0x1a6)](_0x56f9c9,_0x347bdf);}else switch(_0x1aabce[_0x32586f(0x193)]){case _0x32586f(0x1c5):{if(_0x1aabce[_0x32586f(0x1d9)]==_0x1aabce[_0x32586f(0x1ac)])break;_0x450462[_0x32586f(0x1e6)][_0x32586f(0x1b5)](_0x1aabce),_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1a3)](_0x1aabce);const _0x4a2044=_0x32586f(0x1e7),_0x5d4864=_0x1aabce[_0x32586f(0x187)],_0x15496e=_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1ce)](_0x5d4864,_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1b1)](_0x5d4864[_0x32586f(0x1df)],_0x32586f(0x1f8))),_0x4f7000=_0x32586f(0x1ab)+_0x4a2044+':'+_0x40dc78()+_0x32586f(0x1aa);_0x2bc232[_0x32586f(0x1f4)][_0x32586f(0x1a6)](_0x4f7000,_0x15496e);break;}case _0x32586f(0x1be):case _0x32586f(0x19c):case _0x32586f(0x19d):{if(_0x1aabce[_0x32586f(0x199)]==_0x1aabce[_0x32586f(0x1bd)])break;_0x450462[_0x32586f(0x1e6)][_0x32586f(0x1b5)](_0x1aabce),_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1a3)](_0x1aabce);const _0x5be428=_0x1aabce[_0x32586f(0x1cc)];if(!_0x12f8c1[_0x32586f(0x1dd)](_0x5be428))break;const _0x535ac6=_0x16b17c(_0x1aabce[_0x32586f(0x1b2)],_0x1a81c4[_0x32586f(0x197)]),_0x56a736=_0x32586f(0x1ab)+_0x5be428+':'+_0x40dc78()+_0x32586f(0x1aa);_0x2bc232[_0x32586f(0x1f4)][_0x32586f(0x1a6)](_0x56a736,_0x535ac6);break;}case _0x32586f(0x1f5):{_0x450462[_0x32586f(0x1e6)][_0x32586f(0x1b5)](_0x1aabce),_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1a3)](_0x1aabce);if(_0x2a3f1a[_0x49526c+0x1]&&_0x32586f(0x1ef)==_0x2a3f1a[_0x49526c+0x1][_0x32586f(0x193)]){ro(_0x2bc232,_0x1aabce);break;}const _0x5706ab=_0x1aabce[_0x32586f(0x187)],_0x2f21af=_0x1aabce[_0x32586f(0x1d5)],_0x1f9215=_0x16b17c(_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1ce)](_0x5706ab,_0x5706ab[_0x32586f(0x1d1)](_0x2f21af)),_0x1a81c4[_0x32586f(0x197)]),_0x2a2fb5=_0x32586f(0x1e1)+_0x40dc78()+_0x32586f(0x1aa);_0x2bc232[_0x32586f(0x1f4)][_0x32586f(0x1a6)](_0x2a2fb5,_0x1f9215);break;}case _0x32586f(0x1c3):{_0x450462[_0x32586f(0x1e6)][_0x32586f(0x1b5)](_0x1aabce),_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1a3)](_0x1aabce);const _0x4e6b65=_0x1aabce[_0x32586f(0x1ec)],_0x487a6b=_0x1aabce[_0x32586f(0x18f)],_0x26ddd8=_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1ce)](_0x4e6b65,_0x487a6b),_0x726062=_0x32586f(0x1e1)+_0x40dc78()+_0x32586f(0x1aa);_0x2bc232[_0x32586f(0x1f4)][_0x32586f(0x1a6)](_0x726062,_0x26ddd8);break;}case _0x32586f(0x1ef):{_0x450462[_0x32586f(0x1e6)][_0x32586f(0x1b5)](_0x1aabce),_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1a3)](_0x1aabce),_0x2a3f1a[_0x49526c-0x1]&&_0x32586f(0x1f5)==_0x2a3f1a[_0x49526c-0x1][_0x32586f(0x193)]&&ro(_0x2bc232,_0x1aabce);const _0x33227e=_0x1aabce[_0x32586f(0x18c)](),_0x526e86=_0x1aabce[_0x32586f(0x1d5)];for(let _0x6d49dc=0x0;_0x6d49dc<_0x526e86;_0x6d49dc++){const _0xe891e5=_0x33227e[_0x32586f(0x1d1)](_0x6d49dc)[_0x32586f(0x1df)];_0x5a33ba[_0x32586f(0x196)](_0xe891e5);}break;}case _0x32586f(0x1c0):{const _0x1b74bc=_0x1aabce[_0x32586f(0x1c9)],_0x5a96d4=_0x1aabce[_0x32586f(0x1d5)],_0x7d36d1=new _0x3820a5(_0x1b74bc,_0x5a96d4);_0x450462[_0x32586f(0x1e6)][_0x32586f(0x1b5)](_0x7d36d1),_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1a3)](_0x7d36d1);break;}}}for(const _0x4bb814 of _0x5a33ba){const _0x263590=_0x1a81c4[_0x32586f(0x197)][_0x32586f(0x1f3)](_0x4bb814),_0x24a5b2=_0x32586f(0x1a4)+_0x40dc78()+_0x32586f(0x1aa);_0x2bc232[_0x32586f(0x1f4)][_0x32586f(0x1a6)](_0x24a5b2,_0x16b17c(_0x263590,_0x1a81c4[_0x32586f(0x197)]));}});}(_0x3366c9,_0x235e73,_0xeefc19):_0xeefc19[_0xa0ed24(0x197)][_0xa0ed24(0x18d)](_0x5a575d=>{const _0x58f46c=_0xa0ed24;for(const _0x595f67 of _0x3366c9)if(_0x58f46c(0x1c0)==_0x595f67[_0x58f46c(0x193)]){const _0x13e6b0=_0x595f67[_0x58f46c(0x1c9)],_0x61e1b0=_0x595f67[_0x58f46c(0x1d5)],_0x534e08=new _0x3820a5(_0x13e6b0,_0x61e1b0);_0x5a575d[_0x58f46c(0x1e6)][_0x58f46c(0x1b5)](_0x534e08),_0xeefc19[_0x58f46c(0x197)][_0x58f46c(0x1a3)](_0x534e08);}else{if(_0x58f46c(0x1f7)==_0x595f67[_0x58f46c(0x193)]){const _0x1b97b9=_0x595f67[_0x58f46c(0x1f2)],_0x277595=_0x595f67[_0x58f46c(0x1f0)];_0x235e73[_0x58f46c(0x1f4)][_0x58f46c(0x1a6)](_0x1b97b9,_0x277595);}else _0x595f67[_0x58f46c(0x1fa)]=null,_0x595f67[_0x58f46c(0x1f9)]=!0x1,_0x5a575d[_0x58f46c(0x1e6)][_0x58f46c(0x1b5)](_0x595f67),_0xeefc19[_0x58f46c(0x197)][_0x58f46c(0x1a3)](_0x595f67);}});if(_0x3c704e){const _0x21d32c=getMinimalSelection(_0xeefc19,_0x3366c9,_0x235e73);expandSelectionWithContext(_0xeefc19[_0xa0ed24(0x197)],_0x21d32c),function(_0x5bf45e,_0x2de685){const _0x4077f7=_0xa0ed24,_0xd244c5=_0x2de685[_0x4077f7(0x1a0)]()[_0x4077f7(0x1c8)];let _0x100468=_0x2de685[_0x4077f7(0x1a0)]()[_0x4077f7(0x1f8)];const _0x2d5c8c=_0xd244c5[_0x4077f7(0x194)];(_0x100468[_0x4077f7(0x1d2)]||_0x100468[_0x4077f7(0x1df)]&&_0x100468[_0x4077f7(0x1df)]['is'](_0x4077f7(0x1b0)))&&(_0x249b33(_0x100468,_0x4077f7(0x1c1)),_0x100468=_0x100468[_0x4077f7(0x1d1)](0x3)),(_0xd244c5[_0x4077f7(0x1d2)]||_0xd244c5[_0x4077f7(0x1cf)]&&_0xd244c5[_0x4077f7(0x1cf)]['is'](_0x4077f7(0x1b0)))&&(_0x249b33(_0xd244c5,_0x4077f7(0x1c1)),function(_0x452c8f,_0x1f0950,_0x3a005b){const _0x5e262c=_0x4077f7;for(let [_0x5f51cd,_0x3d3f8b]of _0x452c8f[_0x5e262c(0x1f4)]){const _0x182477=_0x3d3f8b[_0x5e262c(0x1d8)](_0x1f0950,_0x3a005b,!0x1);_0x3d3f8b=_0x182477[0x0],_0x452c8f[_0x5e262c(0x1f4)][_0x5e262c(0x1a6)](_0x5f51cd,_0x3d3f8b);}}(_0x2d5c8c,_0xd244c5,0x3),_0xd244c5[_0x4077f7(0x1a1)]==_0x100468[_0x4077f7(0x1a1)]&&(_0x100468=_0x100468[_0x4077f7(0x1d1)](0x3)));const _0x432728=_0x5bf45e[_0x4077f7(0x1ce)](_0x5bf45e[_0x4077f7(0x1b1)](_0x2d5c8c,0x0),_0xd244c5),_0x1463ab=_0x5bf45e[_0x4077f7(0x1ce)](_0x100468,_0x5bf45e[_0x4077f7(0x1b1)](_0x2d5c8c,_0x4077f7(0x1f8))),_0x3947ca=[..._0x432728[_0x4077f7(0x1a7)](),..._0x1463ab[_0x4077f7(0x1a7)]()];_0x3947ca[_0x4077f7(0x1d3)]();for(const _0x579931 of _0x3947ca)_0x46f2d5(_0x579931),_transformMarkersByDeletion(_0x2d5c8c,_0x579931);}(_0xeefc19[_0xa0ed24(0x197)],_0x21d32c);}const _0x4be26f=_0xeefc19[_0xa0ed24(0x1e8)][_0xa0ed24(0x1b9)](_0x235e73,{'showSuggestionHighlights':!0x0});return{'content':_0x568d9d(_0x4be26f),'hasChanges':!0x0};}(_0x440a4a,_0x5d9289,_0x490127,_0xd14d48,_0x580255);return{'type':_0x1770ee[_0x25011b(0x1f1)][0x0][_0x25011b(0x193)],'index':_0x1770ee[_0x25011b(0x1d6)],'content':_0x4a1ff7,'hasChanges':_0x375ce2};});}function ro(_0x1772fb,_0x2c2251){const _0x428dfe=_0x6f98;for(const [_0x2ddc05,_0x2ac496]of _0x1772fb[_0x428dfe(0x1f4)]){const _0x5dfa92=_0x4d6ce1[_0x428dfe(0x1a5)](_0x2ac496[_0x428dfe(0x1af)](_0x2c2251));_0x1772fb[_0x428dfe(0x1f4)][_0x428dfe(0x1a6)](_0x2ddc05,_0x5dfa92);}}function _0x6f98(_0x258713,_0x54bcc5){const _0x5ee4bf=_0x5ee4();return _0x6f98=function(_0x6f98e8,_0x14cfed){_0x6f98e8=_0x6f98e8-0x186;let _0x17325c=_0x5ee4bf[_0x6f98e8];return _0x17325c;},_0x6f98(_0x258713,_0x54bcc5);}function _0x5ee4(){const _0x47a252=['isObject','node','new','toNone','batch','$elementName','data','offset','cloneNode','stickiness','splitPosition','_getTransformedByDeletion','suggestion:deletion:','move','newRange','changes','name','createRangeOn','markers','insert','focus','marker','end','isDocumentOperation','baseVersion','isBefore','position','forward','children','$root','push','getMovedRangeStart','change','283242ErOWFa','moveTargetPosition','3443510hYfbXu','1751295bVOHuD','createSelection','type','root','POSITIVE_INFINITY','add','model','element','oldValue','backward','clone','removeAttribute','changeAttribute','removed','delete','getFirstRange','parent','1076elLLTH','applyOperation','suggestion:formatBlock:$fakeWrap:','_createFromRanges','set','getMinimalFlatRanges','parse','getOperations',':$aiSuggestion','suggestion:attribute:','newName','SuggestionsConversion','isMarkedRemoveOperation','getTransformedByOperation','$text','createPositionAt','range','path','word','addOperation','modifySelection','schema','get','stringify','isAfter','merge','63351LCVLWE','newValue','addAttribute','setTo','remove','...','911400JJpmlO','split','length','rename','282bPYHtS','slice','start','sourcePosition','1232016NOuKqV','targetPosition','key','7IDPmDG','createRange','nodeBefore','9KsvFYc','getShiftedBy','textNode','reverse','isBlock','howMany','index','getDiff','_getTransformedByInsertion','oldName','createPositionFromPath','plugins','map','isRegisteredAttribute','data-id','nodeAfter','DocumentCompare','suggestion:insertion:'];_0x5ee4=function(){return _0x47a252;};return _0x5ee4();}export function getMinimalSelection(_0xe6f9e7,_0x1c1b71,_0x34f044){const _0x1a2b17=_0x6f98,_0x1bb1da=_0xe6f9e7[_0x1a2b17(0x1db)][_0x1a2b17(0x1b8)](_0x1a2b17(0x1e0));let _0x1bda1c=_0xe6f9e7[_0x1a2b17(0x197)][_0x1a2b17(0x1b1)](_0x34f044,Number[_0x1a2b17(0x195)]),_0x264da3=_0xe6f9e7[_0x1a2b17(0x197)][_0x1a2b17(0x1b1)](_0x34f044,0x0);for(const _0x2f5abb of _0x1c1b71){let _0x23f418,_0x302af3;if(_0x1bb1da[_0x1a2b17(0x1ae)](_0x2f5abb))_0x23f418=_0x2f5abb[_0x1a2b17(0x1f0)][_0x1a2b17(0x1c8)],_0x302af3=_0x2f5abb[_0x1a2b17(0x1f0)][_0x1a2b17(0x1f8)];else switch(_0x1bda1c=_0x1bda1c[_0x1a2b17(0x1af)](_0x2f5abb),_0x264da3=_0x264da3[_0x1a2b17(0x1af)](_0x2f5abb),_0x2f5abb[_0x1a2b17(0x193)]){case _0x1a2b17(0x1c5):_0x23f418=_0x2f5abb[_0x1a2b17(0x187)],_0x302af3=_0x23f418[_0x1a2b17(0x1d1)](0x1);break;case _0x1a2b17(0x1be):case _0x1a2b17(0x19c):case _0x1a2b17(0x19d):_0x23f418=_0x2f5abb[_0x1a2b17(0x1b2)][_0x1a2b17(0x1c8)],_0x302af3=_0x2f5abb[_0x1a2b17(0x1b2)][_0x1a2b17(0x1f8)];break;case _0x1a2b17(0x1f5):_0x23f418=_0x2f5abb[_0x1a2b17(0x187)],_0x302af3=_0x23f418[_0x1a2b17(0x1d1)](_0x2f5abb[_0x1a2b17(0x1d5)]);break;case _0x1a2b17(0x1c3):_0x23f418=_0x2f5abb[_0x1a2b17(0x1ec)],_0x302af3=_0x2f5abb[_0x1a2b17(0x18f)];break;case _0x1a2b17(0x1bb):{const _0x1f274b=_0x2f5abb[_0x1a2b17(0x1cb)][_0x1a2b17(0x1b3)][_0x1a2b17(0x1c7)](0x0,-0x1);_0x23f418=_0xe6f9e7[_0x1a2b17(0x197)][_0x1a2b17(0x1da)](_0x34f044,_0x1f274b),_0x302af3=_0x23f418[_0x1a2b17(0x1d1)](0x1);break;}case _0x1a2b17(0x1c0):{const _0x5c7c97=_0x2f5abb[_0x1a2b17(0x1d5)],_0x116a79=_0x2f5abb[_0x1a2b17(0x1c9)][_0x1a2b17(0x1d8)](_0x2f5abb[_0x1a2b17(0x1cb)],_0x5c7c97),_0x7b7ba5=_0x2f5abb[_0x1a2b17(0x18c)]();_0x1a2b17(0x1c0)==_0x2f5abb[_0x1a2b17(0x193)]?(_0x23f418=_0x116a79,_0x302af3=_0x116a79):(_0x23f418=_0x7b7ba5,_0x302af3=_0x7b7ba5[_0x1a2b17(0x1d1)](_0x5c7c97));break;}}_0x23f418&&_0x23f418[_0x1a2b17(0x186)](_0x1bda1c)&&(_0x1bda1c=_0x23f418[_0x1a2b17(0x19b)](),_0x1bda1c[_0x1a2b17(0x1eb)]=_0x1a2b17(0x1e5)),_0x302af3&&_0x302af3[_0x1a2b17(0x1ba)](_0x264da3)&&(_0x264da3=_0x302af3[_0x1a2b17(0x19b)](),_0x264da3[_0x1a2b17(0x1eb)]=_0x1a2b17(0x1e5));}return _0xe6f9e7[_0x1a2b17(0x197)][_0x1a2b17(0x192)](_0xe6f9e7[_0x1a2b17(0x197)][_0x1a2b17(0x1ce)](_0x1bda1c,_0x264da3));}export function expandSelectionWithContext(_0x3a2dc2,_0x50692d){const _0x5627f6=_0x6f98;so(_0x3a2dc2,_0x50692d,_0x5627f6(0x188));const _0x2d4d89=_0x50692d[_0x5627f6(0x1a0)]();_0x50692d[_0x5627f6(0x1bf)]([]),_0x50692d[_0x5627f6(0x1bf)](_0x2d4d89,{'backward':!0x0}),so(_0x3a2dc2,_0x50692d,_0x5627f6(0x19a));}function so(_0x47f45a,_0x3665aa,_0x1968e0){const _0x236637=_0x6f98;let _0x1dbde4=0x14;for(;_0x1dbde4;){_0x47f45a[_0x236637(0x1b6)](_0x3665aa,{'unit':_0x236637(0x1b4),'direction':_0x1968e0}),_0x1dbde4--;const _0x50439b=_0x3665aa[_0x236637(0x1f6)][_0x236637(0x188)==_0x1968e0?_0x236637(0x1cf):_0x236637(0x1df)];if(_0x50439b&&_0x50439b['is'](_0x236637(0x198))&&_0x47f45a[_0x236637(0x1b7)][_0x236637(0x1d4)](_0x50439b)&&_0x47f45a[_0x236637(0x1b7)][_0x236637(0x1e2)](_0x50439b))break;}}export function _transformMarkersByDeletion(_0x220016,_0x2f57f0){const _0x4fe105=_0x6f98;for(const [_0x3924f5,_0x50b725]of _0x220016[_0x4fe105(0x1f4)]){const _0x41e5b1=_0x50b725[_0x4fe105(0x1ed)](_0x2f57f0[_0x4fe105(0x1c8)],_0x2f57f0[_0x4fe105(0x1f8)][_0x4fe105(0x1e9)]-_0x2f57f0[_0x4fe105(0x1c8)][_0x4fe105(0x1e9)]);null!=_0x41e5b1?_0x220016[_0x4fe105(0x1f4)][_0x4fe105(0x1a6)](_0x3924f5,_0x41e5b1):_0x220016[_0x4fe105(0x1f4)][_0x4fe105(0x19f)](_0x3924f5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1de6f3,_0x4e5ec4){const _0x11fd9c=_0x1584,_0x425f75=_0x1de6f3();while(!![]){try{const _0x66d068=parseInt(_0x11fd9c(0x99))/0x1+-parseInt(_0x11fd9c(0x8b))/0x2+-parseInt(_0x11fd9c(0x97))/0x3*(parseInt(_0x11fd9c(0x8e))/0x4)+parseInt(_0x11fd9c(0x8f))/0x5+-parseInt(_0x11fd9c(0x9b))/0x6*(-parseInt(_0x11fd9c(0x8a))/0x7)+-parseInt(_0x11fd9c(0x93))/0x8+parseInt(_0x11fd9c(0x96))/0x9;if(_0x66d068===_0x4e5ec4)break;else _0x425f75['push'](_0x425f75['shift']());}catch(_0x5eccc8){_0x425f75['push'](_0x425f75['shift']());}}}(_0x36cd,0xdaf0f));import{parseDocument as _0x54e7b1}from'htmlparser2';import{append as _0x427765,appendChild as _0x1dcdfa,find as _0x1b781d,findAll as _0x2080ad,findOne as _0x40d471,getChildren as _0x572ded,isComment as _0x41c65e,isTag as _0x5f0149,prepend as _0x530977,prependChild as _0x2b2ef4,removeElement as _0xcc3068,replaceElement as _0x4c2af0,textContent as _0x1578f8,getParent as _0x4a85a8,hasChildren as _0x4298e2}from'domutils';import _0xb37256 from'dom-serializer';import{cloneNode as _0x2e4c98,isDocument as _0xbcc221,isText as _0x2da110,Element as _0x3a04ee,Text as _0x213fe5,Document as _0xafc938,NodeWithChildren as _0x19fe56}from'domhandler';export{_0x2e4c98 as cloneNode,_0x1b781d as find,_0x40d471 as findOne,_0x2080ad as findAll,_0x572ded as getChildren,_0x4a85a8 as getParent,_0x41c65e as isComment,_0xbcc221 as isDocument,_0x5f0149 as isTag,_0x2da110 as isText,_0x427765 as append,_0x1dcdfa as appendChild,_0x530977 as prepend,_0x2b2ef4 as prependChild,_0xb37256 as render,_0xcc3068 as removeElement,_0x4c2af0 as replaceElement,_0x1578f8 as textContent,_0x4298e2 as hasChildren,_0x3a04ee as Element,_0xafc938 as Document,_0x19fe56 as NodeWithChildren,_0x213fe5 as Text};export function parse(_0x192bcc){return _0x54e7b1(_0x192bcc);}export function serialize(_0x14ae41){return _0xb37256(_0x14ae41);}export function findByAttribute(_0x4c7c8c,_0x301d2f,_0x38c341){const _0x2d78dc=_0x1584,_0x4ca9ff=null!==_0x301d2f?_0x11d68d=>_0x11d68d[_0x2d78dc(0x89)][_0x4c7c8c]===_0x301d2f:_0x149f9a=>Boolean(_0x149f9a[_0x2d78dc(0x89)][_0x4c7c8c]);return _0x40d471(_0xb6bad2=>_0x5f0149(_0xb6bad2)&&_0x4ca9ff(_0xb6bad2),_0x38c341);}export function findAllByAttribute(_0x2b6508,_0x53c6ad,_0x474f11){const _0x59d4e5=_0x1584,_0x5ea2ee=null!==_0x53c6ad?_0x1733bc=>_0x1733bc[_0x59d4e5(0x89)][_0x2b6508]===_0x53c6ad:_0x29a9d8=>Boolean(_0x29a9d8[_0x59d4e5(0x89)][_0x2b6508]);return _0x2080ad(_0x3b39eb=>_0x5f0149(_0x3b39eb)&&_0x5ea2ee(_0x3b39eb),_0x474f11);}export function findAllComments(_0x1d1f5e){return _0x1b781d(_0x5e4e3d=>_0x41c65e(_0x5e4e3d),_0x1d1f5e,!0x0,0x1/0x0);}export function getAttribute(_0x475b06,_0xa88c8e){const _0x183418=_0x1584;return _0x475b06&&_0x5f0149(_0x475b06)?_0x475b06[_0x183418(0x89)][_0xa88c8e]:null;}export function setAttribute(_0x14bc7b,_0x76f61e,_0x2b9241){const _0xddec0d=_0x1584;_0x5f0149(_0x14bc7b)&&(null===_0x2b9241?delete _0x14bc7b[_0xddec0d(0x89)][_0x76f61e]:_0x14bc7b[_0xddec0d(0x89)][_0x76f61e]=_0x2b9241);}export function insertElement(_0x27888b,_0x536265,_0x3dcf05){const _0x1e54ec=_0x1584,_0x2584e1=_0x536265[_0x1e54ec(0x88)](!0x0);_0x1e54ec(0x91)===_0x3dcf05?_0x530977(_0x27888b,_0x2584e1):_0x1e54ec(0x86)===_0x3dcf05?_0x2b2ef4(_0x27888b,_0x2584e1):_0x1e54ec(0x9a)===_0x3dcf05?_0x1dcdfa(_0x27888b,_0x2584e1):_0x1e54ec(0x92)===_0x3dcf05&&_0x427765(_0x27888b,_0x2584e1);}function _0x1584(_0x324a42,_0x1c4941){const _0x36cd03=_0x36cd();return _0x1584=function(_0x1584c7,_0x2c3955){_0x1584c7=_0x1584c7-0x86;let _0xd2778b=_0x36cd03[_0x1584c7];return _0xd2778b;},_0x1584(_0x324a42,_0x1c4941);}export function moveElement(_0x12c352,_0x9669cf){_0xcc3068(_0x12c352),_0x4c2af0(_0x9669cf,_0x12c352);}export function clone(_0x57f2a4){const _0x1c866d=_0x1584;return _0x57f2a4[_0x1c866d(0x88)](!0x0);}export function getParents(_0x586729){const _0x1cfdae=_0x1584,_0x5811fc=[];let _0x245444=_0x586729;for(;_0x245444;)_0x245444=_0x4a85a8(_0x245444),_0x245444&&_0x5811fc[_0x1cfdae(0x90)](_0x245444);return _0x5811fc;}export function normalizeHTML(_0x9ff2d1){const _0x5f0097=_0x1584;return _0x9ff2d1[_0x5f0097(0x8d)](/^\s+/gm,'')[_0x5f0097(0x8d)](/\s+$/gm,'')[_0x5f0097(0x8d)](/\n*/g,'')[_0x5f0097(0x8d)](/\s+/g,'\x20')[_0x5f0097(0x8d)](/>\s*</g,'><');}export function areNodesSame(_0x2d7dad,_0x2f02d5){return normalizeHTML(serialize(_0x2d7dad))===normalizeHTML(serialize(_0x2f02d5));}export function getNodeNestingLevel(_0x384ec6){const _0x57bfdd=_0x1584;let _0x4a7a47=0x0;for(;_0x384ec6[_0x57bfdd(0x98)];)_0x384ec6=_0x384ec6[_0x57bfdd(0x98)],_0x4a7a47++;return _0x4a7a47;}export function removeElementsAfter(_0x1931f9){const _0x2c8799=_0x1584,_0x5edada=[];let _0x483e32=_0x1931f9[_0x2c8799(0x9d)];for(;_0x483e32;)_0x5edada[_0x2c8799(0x90)](_0x483e32),_0x483e32=_0x483e32[_0x2c8799(0x9d)];_0x5edada[_0x2c8799(0x95)](_0x49ed8a=>{_0xcc3068(_0x49ed8a);});}function _0x36cd(){const _0x4a078c=['3273320vNRYEG','reverse','replace','116IjLOCa','3493615AYcqul','push','beforebegin','afterend','6304904SBCoVd','indexOf','forEach','12083121cKSCXp','123021YapGWX','parentNode','1246470lopUnD','beforeend','6bPyckN','map','nextSibling','afterbegin','slice','cloneNode','attribs','8560979rSPqDM'];_0x36cd=function(){return _0x4a078c;};return _0x36cd();}export function getNodePath(_0x3d40a3){const _0x461f67=_0x1584;return[_0x3d40a3,...getParents(_0x3d40a3)][_0x461f67(0x87)](0x0,-0x1)[_0x461f67(0x9c)](_0x4cf945=>{const _0x50f60f=_0x461f67,_0x21828f=_0x4a85a8(_0x4cf945);return _0x572ded(_0x21828f)[_0x50f60f(0x94)](_0x4cf945);})[_0x461f67(0x8c)]();}
23
+ (function(_0x43eb6f,_0x5da0ae){const _0x205684=_0x4958,_0x36da46=_0x43eb6f();while(!![]){try{const _0x208806=-parseInt(_0x205684(0x13d))/0x1+-parseInt(_0x205684(0x13c))/0x2*(parseInt(_0x205684(0x131))/0x3)+parseInt(_0x205684(0x12f))/0x4+parseInt(_0x205684(0x13a))/0x5+parseInt(_0x205684(0x134))/0x6+-parseInt(_0x205684(0x137))/0x7+-parseInt(_0x205684(0x139))/0x8*(-parseInt(_0x205684(0x13e))/0x9);if(_0x208806===_0x5da0ae)break;else _0x36da46['push'](_0x36da46['shift']());}catch(_0x3aa1e6){_0x36da46['push'](_0x36da46['shift']());}}}(_0x1a63,0xc45ac));import{parseDocument as _0x321f21}from'htmlparser2';import{append as _0x5290f6,appendChild as _0x2114d5,find as _0xbb36da,findAll as _0x14fdd8,findOne as _0x1d72bb,getChildren as _0x225a3f,isComment as _0x470fca,isTag as _0x3a74fe,prepend as _0x19ee68,prependChild as _0x556f60,removeElement as _0x4d128c,replaceElement as _0x200726,textContent as _0x5b8903,getParent as _0x18f7d6,hasChildren as _0x1e0612}from'domutils';import _0x22004b from'dom-serializer';import{cloneNode as _0x3f1ed6,isDocument as _0x22daa1,isText as _0x54494c,Element as _0x499afc,Text as _0x123e90,Document as _0x4ad16d,NodeWithChildren as _0x4bb97c}from'domhandler';export{_0x3f1ed6 as cloneNode,_0xbb36da as find,_0x1d72bb as findOne,_0x14fdd8 as findAll,_0x225a3f as getChildren,_0x18f7d6 as getParent,_0x470fca as isComment,_0x22daa1 as isDocument,_0x3a74fe as isTag,_0x54494c as isText,_0x5290f6 as append,_0x2114d5 as appendChild,_0x19ee68 as prepend,_0x556f60 as prependChild,_0x22004b as render,_0x4d128c as removeElement,_0x200726 as replaceElement,_0x5b8903 as textContent,_0x1e0612 as hasChildren,_0x499afc as Element,_0x4ad16d as Document,_0x4bb97c as NodeWithChildren,_0x123e90 as Text};export function parse(_0x1affce){return _0x321f21(_0x1affce);}export function serialize(_0x3cadfa){return _0x22004b(_0x3cadfa);}export function findByAttribute(_0x1632ac,_0x5088da,_0x176c63){const _0x3c9cfe=_0x4958,_0x1e0a4a=null!==_0x5088da?_0x3698ff=>_0x3698ff[_0x3c9cfe(0x12a)][_0x1632ac]===_0x5088da:_0x3cd9db=>Boolean(_0x3cd9db[_0x3c9cfe(0x12a)][_0x1632ac]);return _0x1d72bb(_0x1aed7a=>_0x3a74fe(_0x1aed7a)&&_0x1e0a4a(_0x1aed7a),_0x176c63);}export function findAllByAttribute(_0xe0528c,_0x410b1e,_0x405a94){const _0x40a7de=_0x4958,_0x3c0156=null!==_0x410b1e?_0x2bc341=>_0x2bc341[_0x40a7de(0x12a)][_0xe0528c]===_0x410b1e:_0x29baa1=>Boolean(_0x29baa1[_0x40a7de(0x12a)][_0xe0528c]);return _0x14fdd8(_0x56c7f7=>_0x3a74fe(_0x56c7f7)&&_0x3c0156(_0x56c7f7),_0x405a94);}export function findAllComments(_0x5e47c7){return _0xbb36da(_0x2a5a94=>_0x470fca(_0x2a5a94),_0x5e47c7,!0x0,0x1/0x0);}export function getAttribute(_0x191020,_0x4a6f48){const _0x4281cf=_0x4958;return _0x191020&&_0x3a74fe(_0x191020)?_0x191020[_0x4281cf(0x12a)][_0x4a6f48]:null;}export function setAttribute(_0x58d04c,_0x5ed6ea,_0x19c912){const _0x14528b=_0x4958;_0x3a74fe(_0x58d04c)&&(null===_0x19c912?delete _0x58d04c[_0x14528b(0x12a)][_0x5ed6ea]:_0x58d04c[_0x14528b(0x12a)][_0x5ed6ea]=_0x19c912);}export function insertElement(_0x160c09,_0x2f50e0,_0x59a178){const _0xa17eda=_0x4958,_0x58827d=_0x2f50e0[_0xa17eda(0x12b)](!0x0);_0xa17eda(0x141)===_0x59a178?_0x19ee68(_0x160c09,_0x58827d):_0xa17eda(0x12d)===_0x59a178?_0x556f60(_0x160c09,_0x58827d):_0xa17eda(0x13b)===_0x59a178?_0x2114d5(_0x160c09,_0x58827d):_0xa17eda(0x13f)===_0x59a178&&_0x5290f6(_0x160c09,_0x58827d);}export function moveElement(_0x481105,_0xae1679){_0x4d128c(_0x481105),_0x200726(_0xae1679,_0x481105);}export function clone(_0x405ea){const _0x446c00=_0x4958;return _0x405ea[_0x446c00(0x12b)](!0x0);}export function getParents(_0x13b1a2){const _0x5ccbc4=_0x4958,_0x2a5999=[];let _0x40cdee=_0x13b1a2;for(;_0x40cdee;)_0x40cdee=_0x18f7d6(_0x40cdee),_0x40cdee&&_0x2a5999[_0x5ccbc4(0x12c)](_0x40cdee);return _0x2a5999;}export function normalizeHTML(_0x3c0ef5){const _0x1f2586=_0x4958;return _0x3c0ef5[_0x1f2586(0x140)](/^\s+/gm,'')[_0x1f2586(0x140)](/\s+$/gm,'')[_0x1f2586(0x140)](/\n*/g,'')[_0x1f2586(0x140)](/\s+/g,'\x20')[_0x1f2586(0x140)](/>\s*</g,'><');}function _0x4958(_0x8669a0,_0x339004){const _0x1a634c=_0x1a63();return _0x4958=function(_0x49583d,_0x618501){_0x49583d=_0x49583d-0x12a;let _0x59b883=_0x1a634c[_0x49583d];return _0x59b883;},_0x4958(_0x8669a0,_0x339004);}export function areNodesSame(_0x4bc52b,_0x3b20a1){return normalizeHTML(serialize(_0x4bc52b))===normalizeHTML(serialize(_0x3b20a1));}function _0x1a63(){const _0x1a5434=['indexOf','reverse','5285148QufXeR','nextSibling','parentNode','10620015ZVfyvj','slice','5352lLOadH','7426960cESPls','beforeend','268808bGNQvl','155072kfbWar','15696bngIYk','afterend','replace','beforebegin','attribs','cloneNode','push','afterbegin','map','1687772TjzeEr','forEach','33feEBJc'];_0x1a63=function(){return _0x1a5434;};return _0x1a63();}export function getNodeNestingLevel(_0x1389f9){const _0xc0c41b=_0x4958;let _0x1e4ceb=0x0;for(;_0x1389f9[_0xc0c41b(0x136)];)_0x1389f9=_0x1389f9[_0xc0c41b(0x136)],_0x1e4ceb++;return _0x1e4ceb;}export function removeElementsAfter(_0x3bb4a5){const _0x9c1029=_0x4958,_0x2ac8c1=[];let _0x342a2f=_0x3bb4a5[_0x9c1029(0x135)];for(;_0x342a2f;)_0x2ac8c1[_0x9c1029(0x12c)](_0x342a2f),_0x342a2f=_0x342a2f[_0x9c1029(0x135)];_0x2ac8c1[_0x9c1029(0x130)](_0x421c96=>{_0x4d128c(_0x421c96);});}export function getNodePath(_0x5c1061){const _0x5378e4=_0x4958;return[_0x5c1061,...getParents(_0x5c1061)][_0x5378e4(0x138)](0x0,-0x1)[_0x5378e4(0x12e)](_0x22ba4a=>{const _0x28d74f=_0x5378e4,_0x4da23f=_0x18f7d6(_0x22ba4a);return _0x225a3f(_0x4da23f)[_0x28d74f(0x132)](_0x22ba4a);})[_0x5378e4(0x133)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x176ba4=_0x4e59;(function(_0x3d0ecf,_0x5b5266){const _0x34317b=_0x4e59,_0x3fa154=_0x3d0ecf();while(!![]){try{const _0x306e84=parseInt(_0x34317b(0x1f3))/0x1*(parseInt(_0x34317b(0x1bb))/0x2)+-parseInt(_0x34317b(0x1cf))/0x3*(parseInt(_0x34317b(0x1d4))/0x4)+parseInt(_0x34317b(0x1db))/0x5+parseInt(_0x34317b(0x1cb))/0x6+parseInt(_0x34317b(0x1f4))/0x7+parseInt(_0x34317b(0x1ba))/0x8+-parseInt(_0x34317b(0x1be))/0x9;if(_0x306e84===_0x5b5266)break;else _0x3fa154['push'](_0x3fa154['shift']());}catch(_0x54bfdc){_0x3fa154['push'](_0x3fa154['shift']());}}}(_0x1ab6,0x3a59a));import _0x506c57 from'morphdom';import{NodeWithChildren as _0x2bffe1,Text as _0x31f7a0,Element as _0x2667db,isText as _0x4920c9,isDocument as _0x1fb635,isTag as _0xd9b535,cloneNode as _0x2d62ed,getChildren as _0x3b08f1,prepend as _0x368b28,removeElement as _0x4734ef,textContent as _0x3561a5,render as _0x36e78f}from'./htmlparser.js';import{logWarning as _0x18c8f0}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x176ba4(0x1c3)];[_0x176ba4(0x1d9)]=!0x1;[_0x176ba4(0x1df)]=null;[_0x176ba4(0x1ee)]=[];[_0x176ba4(0x1e7)]=0x0;[_0x176ba4(0x1da)]=null;constructor(_0x5ca913){const _0x3f9214=_0x176ba4;this[_0x3f9214(0x1c3)]={'delay':_0x5ca913[_0x3f9214(0x1de)]??0x14,'textNodeStyle':_0x5ca913[_0x3f9214(0x1ce)],'onStreamUpdate':_0x5ca913[_0x3f9214(0x1cd)]||(()=>{})};}async[_0x176ba4(0x1ea)]({document:_0x483d99,targetElement:_0x1709b8,abortSignal:_0x395bf0}){const _0xada2ce=_0x176ba4;this[_0xada2ce(0x1d9)]&&this[_0xada2ce(0x1d2)](),_0x395bf0?.[_0xada2ce(0x1e9)](_0xada2ce(0x1d0),this[_0xada2ce(0x1d2)][_0xada2ce(0x1c4)](this)),this[_0xada2ce(0x1df)]=_0x2d62ed(_0x483d99,!0x0),this[_0xada2ce(0x1ee)]=this[_0xada2ce(0x1e5)](),this[_0xada2ce(0x1d9)]=!0x0,this[_0xada2ce(0x1e7)]>this[_0xada2ce(0x1ee)][_0xada2ce(0x1ed)]&&(_0x18c8f0(_0xada2ce(0x1c0),{'currentIndex':this[_0xada2ce(0x1e7)],'nodeList':this[_0xada2ce(0x1ee)]}),this[_0xada2ce(0x1e7)]=this[_0xada2ce(0x1ee)][_0xada2ce(0x1ed)]);for(let _0x39c12c=0x0;_0x39c12c<this[_0xada2ce(0x1e7)];_0x39c12c++)this[_0xada2ce(0x1ee)][_0x39c12c][_0xada2ce(0x1f5)]=!0x0;let _0x384e26=0x0;for(let _0x479d11=this[_0xada2ce(0x1e7)];_0x479d11<this[_0xada2ce(0x1ee)][_0xada2ce(0x1ed)];_0x479d11++){const _0x237f93=Date[_0xada2ce(0x1f0)](),_0xd13b65=this[_0xada2ce(0x1ee)][_0x479d11],_0x115270=_0x237f93-_0x384e26;_0xd13b65[_0xada2ce(0x1f5)]=!0x0;let _0x2e923b=_0xd13b65[_0xada2ce(0x1dc)];for(;_0x2e923b;)_0x2e923b[_0xada2ce(0x1f5)]=!0x0,_0x2e923b=_0x2e923b[_0xada2ce(0x1dc)];if(_0x115270<this[_0xada2ce(0x1c3)][_0xada2ce(0x1de)])try{const {promise:_0x59529a,abortController:_0x57a267}=pr(this[_0xada2ce(0x1c3)][_0xada2ce(0x1de)]-_0x115270);this[_0xada2ce(0x1da)]=_0x57a267,await _0x59529a;}catch(_0x270983){return;}_0x506c57(_0x1709b8,'<'+_0x1709b8[_0xada2ce(0x1bc)]+'>'+this[_0xada2ce(0x1c5)](this[_0xada2ce(0x1df)])+'</'+_0x1709b8[_0xada2ce(0x1bc)]+'>',{'childrenOnly':!0x0}),this[_0xada2ce(0x1c3)][_0xada2ce(0x1cd)]&&this[_0xada2ce(0x1c3)][_0xada2ce(0x1cd)](),this[_0xada2ce(0x1e7)]=_0x479d11,_0x384e26=Date[_0xada2ce(0x1f0)]();}this[_0xada2ce(0x1d9)]=!0x1;}[_0x176ba4(0x1c2)]({targetElement:_0xd818ae}){const _0x445ca6=_0x176ba4;Array[_0x445ca6(0x1ec)](_0xd818ae[_0x445ca6(0x1c1)](_0x445ca6(0x1d8)))[_0x445ca6(0x1f2)]()[_0x445ca6(0x1e0)](_0x3edd68=>{const _0x47f593=_0x445ca6;_0x3edd68[_0x47f593(0x1bf)](_0x3edd68[_0x47f593(0x1e3)][0x0]);});}[_0x176ba4(0x1d2)](){const _0x222147=_0x176ba4;this[_0x222147(0x1d9)]=!0x1,this[_0x222147(0x1da)]&&(this[_0x222147(0x1da)][_0x222147(0x1d0)](),this[_0x222147(0x1da)]=null);}[_0x176ba4(0x1c5)](_0x4aa9b2){const _0x1a8887=_0x176ba4;let _0x2416e6='';if(function(_0x13540e){return _0x1fb635(_0x13540e);}(_0x4aa9b2)){for(const _0x2fb8d9 of _0x4aa9b2[_0x1a8887(0x1d3)])_0x2416e6+=this[_0x1a8887(0x1c5)](_0x2fb8d9);}else{if(dr(_0x4aa9b2)){if(!_0x4aa9b2[_0x1a8887(0x1f5)])return'';const _0x50399f=_0x4aa9b2,_0x2e23c9=Object[_0x1a8887(0x1e6)](_0x50399f[_0x1a8887(0x1c6)])[_0x1a8887(0x1e1)](([_0x2bc5c4,_0x5b06d6])=>_0x2bc5c4+'=\x22'+_0x5b06d6+'\x22')[_0x1a8887(0x1f1)]('\x20');_0x2416e6+='<'+_0x50399f[_0x1a8887(0x1bc)]+(_0x2e23c9?'\x20'+_0x2e23c9:'')+'>';for(const _0xb64724 of _0x3b08f1(_0x50399f))_0x2416e6+=this[_0x1a8887(0x1c5)](_0xb64724);_0x2416e6+='</'+_0x50399f[_0x1a8887(0x1bc)]+'>';}else{if(!ar(_0x4aa9b2))return'';if(!_0x4aa9b2[_0x1a8887(0x1f5)])return'';!function(_0x4aafc5){const _0xe7e011=_0x1a8887;if(!_0x4aafc5[_0xe7e011(0x1dc)]||!dr(_0x4aafc5[_0xe7e011(0x1dc)]))return!0x1;if(!cr[_0xe7e011(0x1e4)](_0x4aafc5[_0xe7e011(0x1dc)][_0xe7e011(0x1bc)]))return!0x1;return!_0x3561a5(_0x4aafc5)[_0xe7e011(0x1cc)](/^\s*[<>]\s*$/);}(_0x4aa9b2)?_0x2416e6+=_0x36e78f(_0x4aa9b2):_0x2416e6+=_0x36e78f(new _0x2667db(_0x1a8887(0x1eb),{'data-ck-html-streamer-word-chunk':'','style':this[_0x1a8887(0x1c3)][_0x1a8887(0x1ce)]},[_0x4aa9b2]));}}return _0x2416e6;}[_0x176ba4(0x1e5)](){const _0x208c37=_0x176ba4,_0x2baef8=[];return function(_0x1d6659,_0x573299){const _0x3175f9=_0x4e59,_0x39627d=_0x1a535f=>{const _0x44f08a=_0x4e59;if(_0x573299(_0x1a535f),_0x1a535f instanceof _0x2bffe1)for(let _0x4ac9df=0x0;_0x4ac9df<_0x1a535f[_0x44f08a(0x1d3)][_0x44f08a(0x1ed)];_0x4ac9df++){const _0x1a60db=_0x1a535f[_0x44f08a(0x1d3)][_0x4ac9df];_0x39627d(_0x1a60db);}};for(let _0x553bc7=0x0;_0x553bc7<_0x1d6659[_0x3175f9(0x1d3)][_0x3175f9(0x1ed)];_0x553bc7++)_0x39627d(_0x1d6659[_0x3175f9(0x1d3)][_0x553bc7]);}(this[_0x208c37(0x1df)],_0x1cf22f=>{const _0x45c5bc=_0x208c37;if(ar(_0x1cf22f)){const _0x22278a=this[_0x45c5bc(0x1ca)](_0x1cf22f);_0x22278a[_0x45c5bc(0x1ed)]&&_0x2baef8[_0x45c5bc(0x1d7)](..._0x22278a);}_0x1cf22f[_0x45c5bc(0x1dd)]||_0x1cf22f[_0x45c5bc(0x1e2)]||_0x2baef8[_0x45c5bc(0x1d7)](_0x1cf22f);}),_0x2baef8;}[_0x176ba4(0x1ca)](_0x3a13e5){const _0x17cd60=_0x176ba4;if(_0x3a13e5[_0x17cd60(0x1dd)]||_0x3a13e5[_0x17cd60(0x1e2)])return[];const _0x2227c7=_0x3561a5(_0x3a13e5)[_0x17cd60(0x1cc)](/(?:\s*\S+\s*)/g),_0x3786dd=[];if(_0x2227c7&&_0x2227c7[_0x17cd60(0x1ed)]>0x1){for(const _0x59f2a1 of _0x2227c7){const _0x3895d7=new _0x31f7a0(_0x59f2a1);_0x3895d7[_0x17cd60(0x1e2)]=!0x0,_0x368b28(_0x3a13e5,_0x3895d7),_0x3786dd[_0x17cd60(0x1d7)](_0x3895d7);}_0x3a13e5[_0x17cd60(0x1dd)]=!0x0,_0x4734ef(_0x3a13e5);}return _0x3786dd;}}const cr=['p','li','td','th',_0x176ba4(0x1eb),'h1','h2','h3','h4','h5','h6','b',_0x176ba4(0x1c9),'i','em',_0x176ba4(0x1c8),_0x176ba4(0x1bd),_0x176ba4(0x1e8),_0x176ba4(0x1c7),_0x176ba4(0x1ef),'a',_0x176ba4(0x1d6),_0x176ba4(0x1d1)];function ar(_0x2a09ab){return _0x4920c9(_0x2a09ab);}function dr(_0x58b3e6){return _0xd9b535(_0x58b3e6);}function pr(_0x397ea8){const _0x4da7f8=new AbortController();return{'promise':new Promise((_0x391573,_0x274bb8)=>{const _0x4d2938=_0x4e59,_0x3c6dec=setTimeout(_0x391573,_0x397ea8);_0x4da7f8[_0x4d2938(0x1d5)][_0x4d2938(0x1e9)](_0x4d2938(0x1d0),()=>{clearTimeout(_0x3c6dec),_0x274bb8();});}),'abortController':_0x4da7f8};}function _0x4e59(_0x498235,_0x13c49a){const _0x1ab620=_0x1ab6();return _0x4e59=function(_0x4e592e,_0xa7be30){_0x4e592e=_0x4e592e-0x1ba;let _0x384c51=_0x1ab620[_0x4e592e];return _0x384c51;},_0x4e59(_0x498235,_0x13c49a);}function _0x1ab6(){const _0x2a69bc=['1067297FwEHTe','shouldBeStreamed','452760nwOPQN','1796ErifHZ','tagName','del','6023646KKVQcj','replaceWith','ai-html-streamer-current-index-out-of-bounds','querySelectorAll','cleanUpAnimations','options','bind','renderNode','attribs','sup','mark','strong','splitTextNodeIntoWordNodes','2764230JDLRgU','match','onStreamUpdate','textNodeStyle','1148442CdSNjg','abort','div','stop','children','4HYECfw','signal','code','push','span[data-ck-html-streamer-word-chunk]','isStreaming','timeoutAbortController','2311965GdZNeY','parent','isWordSplitSource','delay','document','forEach','map','isWordSplitResult','childNodes','includes','getParsedDocumentNodeList','entries','currentIndex','ins','addEventListener','stream','span','from','length','nodesList','sub','now','join','reverse','177pZcIgC'];_0x1ab6=function(){return _0x2a69bc;};return _0x1ab6();}
23
+ const _0x2183be=_0x3fbf;(function(_0x1e8c51,_0x39b0a7){const _0x547961=_0x3fbf,_0x2a8bec=_0x1e8c51();while(!![]){try{const _0x4c9976=parseInt(_0x547961(0xdd))/0x1+parseInt(_0x547961(0xd1))/0x2+-parseInt(_0x547961(0x104))/0x3+parseInt(_0x547961(0xd4))/0x4*(parseInt(_0x547961(0xe3))/0x5)+parseInt(_0x547961(0x10a))/0x6+parseInt(_0x547961(0xeb))/0x7+parseInt(_0x547961(0xe2))/0x8*(parseInt(_0x547961(0xdf))/0x9);if(_0x4c9976===_0x39b0a7)break;else _0x2a8bec['push'](_0x2a8bec['shift']());}catch(_0x54a187){_0x2a8bec['push'](_0x2a8bec['shift']());}}}(_0x40c9,0x9038e));function _0x40c9(){const _0x3d5f80=['addEventListener','timeoutAbortController','textNodeStyle','document','3226920QzcOJc','attribs','ai-html-streamer-current-index-out-of-bounds','487688KQbwDv','entries','sub','12RpUfQU','del','children','sup','from','now','bind','onStreamUpdate','reverse','111534cuJQOX','stream','289818jNITyG','mark','shouldBeStreamed','48ogmRwj','110870ogBAfL','join','parent','strong','getParsedDocumentNodeList','span[data-ck-html-streamer-word-chunk]','nodesList','ins','3194989iFjmEz','length','querySelectorAll','options','signal','div','delay','abort','match','splitTextNodeIntoWordNodes','push','currentIndex','replaceWith','isStreaming','span','renderNode','childNodes','includes','tagName','stop','code','forEach','cleanUpAnimations','isWordSplitSource','map','3055875uSpyrP','isWordSplitResult'];_0x40c9=function(){return _0x3d5f80;};return _0x40c9();}import _0x2c3c7b from'morphdom';import{NodeWithChildren as _0x5a6ab4,Text as _0x497ef2,Element as _0x6922e2,isText as _0x26f72f,isDocument as _0x14fb56,isTag as _0x4d1df6,cloneNode as _0x3322c2,getChildren as _0x504682,prepend as _0x1d2e5a,removeElement as _0x53e2f4,textContent as _0x50aa19,render as _0x2b785e}from'./htmlparser.js';function _0x3fbf(_0x49cf2e,_0x50ac5e){const _0x40c9f6=_0x40c9();return _0x3fbf=function(_0x3fbfd2,_0x48a0f9){_0x3fbfd2=_0x3fbfd2-0xd0;let _0x28c21f=_0x40c9f6[_0x3fbfd2];return _0x28c21f;},_0x3fbf(_0x49cf2e,_0x50ac5e);}import{logWarning as _0x44d244}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x2183be(0xee)];[_0x2183be(0xf8)]=!0x1;[_0x2183be(0x109)]=null;[_0x2183be(0xe9)]=[];[_0x2183be(0xf6)]=0x0;[_0x2183be(0x107)]=null;constructor(_0x1324dc){const _0x1ebd56=_0x2183be;this[_0x1ebd56(0xee)]={'delay':_0x1324dc[_0x1ebd56(0xf1)]??0x14,'textNodeStyle':_0x1324dc[_0x1ebd56(0x108)],'onStreamUpdate':_0x1324dc[_0x1ebd56(0xdb)]||(()=>{})};}async[_0x2183be(0xde)]({document:_0x1a997c,targetElement:_0x18eaa4,abortSignal:_0x40c050}){const _0xccc447=_0x2183be;this[_0xccc447(0xf8)]&&this[_0xccc447(0xfe)](),_0x40c050?.[_0xccc447(0x106)](_0xccc447(0xf2),this[_0xccc447(0xfe)][_0xccc447(0xda)](this)),this[_0xccc447(0x109)]=_0x3322c2(_0x1a997c,!0x0),this[_0xccc447(0xe9)]=this[_0xccc447(0xe7)](),this[_0xccc447(0xf8)]=!0x0,this[_0xccc447(0xf6)]>this[_0xccc447(0xe9)][_0xccc447(0xec)]&&(_0x44d244(_0xccc447(0xd0),{'currentIndex':this[_0xccc447(0xf6)],'nodeList':this[_0xccc447(0xe9)]}),this[_0xccc447(0xf6)]=this[_0xccc447(0xe9)][_0xccc447(0xec)]);for(let _0x217b52=0x0;_0x217b52<this[_0xccc447(0xf6)];_0x217b52++)this[_0xccc447(0xe9)][_0x217b52][_0xccc447(0xe1)]=!0x0;let _0x4496c1=0x0;for(let _0x16d908=this[_0xccc447(0xf6)];_0x16d908<this[_0xccc447(0xe9)][_0xccc447(0xec)];_0x16d908++){const _0xc0a6b2=Date[_0xccc447(0xd9)](),_0x10709b=this[_0xccc447(0xe9)][_0x16d908],_0xda1f02=_0xc0a6b2-_0x4496c1;_0x10709b[_0xccc447(0xe1)]=!0x0;let _0x121fa7=_0x10709b[_0xccc447(0xe5)];for(;_0x121fa7;)_0x121fa7[_0xccc447(0xe1)]=!0x0,_0x121fa7=_0x121fa7[_0xccc447(0xe5)];if(_0xda1f02<this[_0xccc447(0xee)][_0xccc447(0xf1)])try{const {promise:_0x27e849,abortController:_0x5c8c4c}=pr(this[_0xccc447(0xee)][_0xccc447(0xf1)]-_0xda1f02);this[_0xccc447(0x107)]=_0x5c8c4c,await _0x27e849;}catch(_0x50c31f){return;}_0x2c3c7b(_0x18eaa4,'<'+_0x18eaa4[_0xccc447(0xfd)]+'>'+this[_0xccc447(0xfa)](this[_0xccc447(0x109)])+'</'+_0x18eaa4[_0xccc447(0xfd)]+'>',{'childrenOnly':!0x0}),this[_0xccc447(0xee)][_0xccc447(0xdb)]&&this[_0xccc447(0xee)][_0xccc447(0xdb)](),this[_0xccc447(0xf6)]=_0x16d908,_0x4496c1=Date[_0xccc447(0xd9)]();}this[_0xccc447(0xf8)]=!0x1;}[_0x2183be(0x101)]({targetElement:_0x41319c}){const _0x557322=_0x2183be;Array[_0x557322(0xd8)](_0x41319c[_0x557322(0xed)](_0x557322(0xe8)))[_0x557322(0xdc)]()[_0x557322(0x100)](_0x266c1e=>{const _0x194ee5=_0x557322;_0x266c1e[_0x194ee5(0xf7)](_0x266c1e[_0x194ee5(0xfb)][0x0]);});}[_0x2183be(0xfe)](){const _0x58677b=_0x2183be;this[_0x58677b(0xf8)]=!0x1,this[_0x58677b(0x107)]&&(this[_0x58677b(0x107)][_0x58677b(0xf2)](),this[_0x58677b(0x107)]=null);}[_0x2183be(0xfa)](_0x3b6fcd){const _0x197197=_0x2183be;let _0x6d7740='';if(function(_0x17abfa){return _0x14fb56(_0x17abfa);}(_0x3b6fcd)){for(const _0x23c320 of _0x3b6fcd[_0x197197(0xd6)])_0x6d7740+=this[_0x197197(0xfa)](_0x23c320);}else{if(dr(_0x3b6fcd)){if(!_0x3b6fcd[_0x197197(0xe1)])return'';const _0x2a273e=_0x3b6fcd,_0x1d61d1=Object[_0x197197(0xd2)](_0x2a273e[_0x197197(0x10b)])[_0x197197(0x103)](([_0x91fa2e,_0xc22671])=>_0x91fa2e+'=\x22'+_0xc22671+'\x22')[_0x197197(0xe4)]('\x20');_0x6d7740+='<'+_0x2a273e[_0x197197(0xfd)]+(_0x1d61d1?'\x20'+_0x1d61d1:'')+'>';for(const _0x4f3bdd of _0x504682(_0x2a273e))_0x6d7740+=this[_0x197197(0xfa)](_0x4f3bdd);_0x6d7740+='</'+_0x2a273e[_0x197197(0xfd)]+'>';}else{if(!ar(_0x3b6fcd))return'';if(!_0x3b6fcd[_0x197197(0xe1)])return'';!function(_0x4d116c){const _0x13185d=_0x197197;if(!_0x4d116c[_0x13185d(0xe5)]||!dr(_0x4d116c[_0x13185d(0xe5)]))return!0x1;if(!cr[_0x13185d(0xfc)](_0x4d116c[_0x13185d(0xe5)][_0x13185d(0xfd)]))return!0x1;return!_0x50aa19(_0x4d116c)[_0x13185d(0xf3)](/^\s*[<>]\s*$/);}(_0x3b6fcd)?_0x6d7740+=_0x2b785e(_0x3b6fcd):_0x6d7740+=_0x2b785e(new _0x6922e2(_0x197197(0xf9),{'data-ck-html-streamer-word-chunk':'','style':this[_0x197197(0xee)][_0x197197(0x108)]},[_0x3b6fcd]));}}return _0x6d7740;}[_0x2183be(0xe7)](){const _0x9a1558=_0x2183be,_0x4d5678=[];return function(_0x1f4492,_0x5a90b1){const _0x22a707=_0x3fbf,_0x23253a=_0x2ab864=>{const _0x195082=_0x3fbf;if(_0x5a90b1(_0x2ab864),_0x2ab864 instanceof _0x5a6ab4)for(let _0x53f564=0x0;_0x53f564<_0x2ab864[_0x195082(0xd6)][_0x195082(0xec)];_0x53f564++){const _0xe193cc=_0x2ab864[_0x195082(0xd6)][_0x53f564];_0x23253a(_0xe193cc);}};for(let _0x16331a=0x0;_0x16331a<_0x1f4492[_0x22a707(0xd6)][_0x22a707(0xec)];_0x16331a++)_0x23253a(_0x1f4492[_0x22a707(0xd6)][_0x16331a]);}(this[_0x9a1558(0x109)],_0x67b3b6=>{const _0x5aab66=_0x9a1558;if(ar(_0x67b3b6)){const _0x306d5e=this[_0x5aab66(0xf4)](_0x67b3b6);_0x306d5e[_0x5aab66(0xec)]&&_0x4d5678[_0x5aab66(0xf5)](..._0x306d5e);}_0x67b3b6[_0x5aab66(0x102)]||_0x67b3b6[_0x5aab66(0x105)]||_0x4d5678[_0x5aab66(0xf5)](_0x67b3b6);}),_0x4d5678;}[_0x2183be(0xf4)](_0x858a02){const _0x4e3c1c=_0x2183be;if(_0x858a02[_0x4e3c1c(0x102)]||_0x858a02[_0x4e3c1c(0x105)])return[];const _0x4ea7da=_0x50aa19(_0x858a02)[_0x4e3c1c(0xf3)](/(?:\s*\S+\s*)/g),_0x2973d5=[];if(_0x4ea7da&&_0x4ea7da[_0x4e3c1c(0xec)]>0x1){for(const _0x1a8fa1 of _0x4ea7da){const _0x10b75c=new _0x497ef2(_0x1a8fa1);_0x10b75c[_0x4e3c1c(0x105)]=!0x0,_0x1d2e5a(_0x858a02,_0x10b75c),_0x2973d5[_0x4e3c1c(0xf5)](_0x10b75c);}_0x858a02[_0x4e3c1c(0x102)]=!0x0,_0x53e2f4(_0x858a02);}return _0x2973d5;}}const cr=['p','li','td','th',_0x2183be(0xf9),'h1','h2','h3','h4','h5','h6','b',_0x2183be(0xe6),'i','em',_0x2183be(0xe0),_0x2183be(0xd5),_0x2183be(0xea),_0x2183be(0xd7),_0x2183be(0xd3),'a',_0x2183be(0xff),_0x2183be(0xf0)];function ar(_0x42135f){return _0x26f72f(_0x42135f);}function dr(_0x138e3f){return _0x4d1df6(_0x138e3f);}function pr(_0x4c6b0e){const _0x4e0a27=new AbortController();return{'promise':new Promise((_0x26013d,_0x597e43)=>{const _0x591c3b=_0x3fbf,_0x1a4c05=setTimeout(_0x26013d,_0x4c6b0e);_0x4e0a27[_0x591c3b(0xef)][_0x591c3b(0x106)](_0x591c3b(0xf2),()=>{clearTimeout(_0x1a4c05),_0x597e43();});}),'abortController':_0x4e0a27};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x35f7(_0x10d2bd,_0x222ca){const _0x29cad6=_0x29ca();return _0x35f7=function(_0x35f72d,_0x59d865){_0x35f72d=_0x35f72d-0x15e;let _0x398e51=_0x29cad6[_0x35f72d];return _0x398e51;},_0x35f7(_0x10d2bd,_0x222ca);}const _0x5721bd=_0x35f7;(function(_0x28f49b,_0x59a60e){const _0x3f1987=_0x35f7,_0x2ea9db=_0x28f49b();while(!![]){try{const _0xf3e80a=-parseInt(_0x3f1987(0x161))/0x1+-parseInt(_0x3f1987(0x167))/0x2*(-parseInt(_0x3f1987(0x15e))/0x3)+-parseInt(_0x3f1987(0x180))/0x4+-parseInt(_0x3f1987(0x16d))/0x5+-parseInt(_0x3f1987(0x173))/0x6+-parseInt(_0x3f1987(0x17d))/0x7+parseInt(_0x3f1987(0x185))/0x8;if(_0xf3e80a===_0x59a60e)break;else _0x2ea9db['push'](_0x2ea9db['shift']());}catch(_0x2cce91){_0x2ea9db['push'](_0x2ea9db['shift']());}}}(_0x29ca,0x353fd));const Fs=[_0x5721bd(0x16c),_0x5721bd(0x15f),_0x5721bd(0x174),_0x5721bd(0x163)],Us=[_0x5721bd(0x176),_0x5721bd(0x183),_0x5721bd(0x172),_0x5721bd(0x17a),_0x5721bd(0x17b),_0x5721bd(0x169),'\x20'];function _0x29ca(){const _0x2b7c39=['auto','85105sRpnpd','includes','keydown','deltaY','destroy','stop','168098rhQKhU','scrollHeight','End','_stop','_onUserEvent','wheel','180800ozgvtm','signal','bind','key','start','PageUp','75354veqNHv','pointerdown','addEventListener','ArrowUp','_rafUpdate','element','type','PageDown','Home','abortController','254632WSHLJs','animationFrameId','scrollTo','1179128FocqOx','_isAtBottom','isRunning','ArrowDown','abort','2102768TrlSkX','isUserPaused','15lkoSXD','touchstart'];_0x29ca=function(){return _0x2b7c39;};return _0x29ca();}export class ScrollManager{[_0x5721bd(0x178)];[_0x5721bd(0x17e)];[_0x5721bd(0x182)];[_0x5721bd(0x17c)];[_0x5721bd(0x186)];constructor(_0x86b252){const _0x39969b=_0x5721bd;this[_0x39969b(0x178)]=_0x86b252,this[_0x39969b(0x17e)]=null,this[_0x39969b(0x182)]=!0x1,this[_0x39969b(0x17c)]=new AbortController(),this[_0x39969b(0x186)]=!0x1;for(const _0x290123 of Fs){const _0x3dc054=_0x39969b(0x163)!==_0x290123;this[_0x39969b(0x178)][_0x39969b(0x175)](_0x290123,this[_0x39969b(0x16b)][_0x39969b(0x16f)](this),{'passive':_0x3dc054,'signal':this[_0x39969b(0x17c)][_0x39969b(0x16e)]});}}[_0x5721bd(0x171)](){const _0x394bbe=_0x5721bd;this[_0x394bbe(0x182)]||(this[_0x394bbe(0x182)]=!0x0,this[_0x394bbe(0x186)]=!0x1,this[_0x394bbe(0x17e)]=requestAnimationFrame(this[_0x394bbe(0x177)][_0x394bbe(0x16f)](this)));}[_0x5721bd(0x166)](){requestAnimationFrame(()=>{const _0x406eb2=_0x35f7;this[_0x406eb2(0x16a)]();});}[_0x5721bd(0x165)](){const _0x5e7f13=_0x5721bd;this[_0x5e7f13(0x16a)](),this[_0x5e7f13(0x17c)][_0x5e7f13(0x184)]();}[_0x5721bd(0x16a)](){const _0x33b59c=_0x5721bd;null!==this[_0x33b59c(0x17e)]&&(cancelAnimationFrame(this[_0x33b59c(0x17e)]),this[_0x33b59c(0x17e)]=null),this[_0x33b59c(0x182)]&&(this[_0x33b59c(0x182)]=!0x1),this[_0x33b59c(0x186)]=!0x1;}[_0x5721bd(0x16b)](_0x52aedc){const _0x291525=_0x5721bd;if(this[_0x291525(0x182)]){if(_0x291525(0x163)===_0x52aedc[_0x291525(0x179)]){const _0x1ad674=_0x52aedc[_0x291525(0x170)];if(!Us[_0x291525(0x162)](_0x1ad674))return;}_0x52aedc instanceof WheelEvent?_0x52aedc[_0x291525(0x164)]<0x0?this[_0x291525(0x186)]=!0x0:this[_0x291525(0x186)]=!this[_0x291525(0x181)]():this[_0x291525(0x186)]=!0x0;}}[_0x5721bd(0x181)](){const _0x57518d=_0x5721bd,{scrollTop:_0x260266,scrollHeight:_0x2d9028,clientHeight:_0x409fe7}=this[_0x57518d(0x178)];return _0x2d9028-_0x260266-_0x409fe7<=0x5;}[_0x5721bd(0x177)](){const _0xd7456=_0x5721bd;this[_0xd7456(0x182)]&&(this[_0xd7456(0x186)]||this[_0xd7456(0x178)][_0xd7456(0x17f)]({'top':this[_0xd7456(0x178)][_0xd7456(0x168)],'behavior':_0xd7456(0x160)}),this[_0xd7456(0x17e)]=requestAnimationFrame(this[_0xd7456(0x177)][_0xd7456(0x16f)](this)));}}
23
+ function _0x34ba(_0x4c49b4,_0x591e9a){const _0x686cbd=_0x686c();return _0x34ba=function(_0x34ba66,_0x558cb7){_0x34ba66=_0x34ba66-0x195;let _0x4ec6a1=_0x686cbd[_0x34ba66];return _0x4ec6a1;},_0x34ba(_0x4c49b4,_0x591e9a);}const _0x197a1c=_0x34ba;function _0x686c(){const _0x30c72e=['24DYUJAB','_isAtBottom','includes','keydown','addEventListener','ArrowUp','5YcqKdR','5228632ZYMfzt','start','ArrowDown','wheel','3992700mwPvcc','scrollHeight','touchstart','PageUp','abortController','abort','pointerdown','stop','isUserPaused','bind','signal','_onUserEvent','2585639EkizDI','destroy','isRunning','_stop','auto','PageDown','48FlLBul','End','element','scrollTo','1340227IeAuPi','type','47217XbpeQo','32710GJLxkp','166SxyTZy','10764919gSLWna','deltaY','4149CbEaMj','Home','key','animationFrameId','_rafUpdate'];_0x686c=function(){return _0x30c72e;};return _0x686c();}(function(_0x2e6bc7,_0x120e2b){const _0x403f36=_0x34ba,_0x5af9ce=_0x2e6bc7();while(!![]){try{const _0x599489=parseInt(_0x403f36(0x1b0))/0x1+-parseInt(_0x403f36(0x1b4))/0x2*(parseInt(_0x403f36(0x1b2))/0x3)+parseInt(_0x403f36(0x19a))/0x4*(parseInt(_0x403f36(0x195))/0x5)+parseInt(_0x403f36(0x1bc))/0x6*(parseInt(_0x403f36(0x1a6))/0x7)+parseInt(_0x403f36(0x196))/0x8+parseInt(_0x403f36(0x1b7))/0x9*(parseInt(_0x403f36(0x1b3))/0xa)+-parseInt(_0x403f36(0x1b5))/0xb*(parseInt(_0x403f36(0x1ac))/0xc);if(_0x599489===_0x120e2b)break;else _0x5af9ce['push'](_0x5af9ce['shift']());}catch(_0x2aeec1){_0x5af9ce['push'](_0x5af9ce['shift']());}}}(_0x686c,0xb8b57));const As=[_0x197a1c(0x199),_0x197a1c(0x19c),_0x197a1c(0x1a0),_0x197a1c(0x1bf)],Fs=[_0x197a1c(0x1c1),_0x197a1c(0x198),_0x197a1c(0x19d),_0x197a1c(0x1ab),_0x197a1c(0x1b8),_0x197a1c(0x1ad),'\x20'];export class ScrollManager{[_0x197a1c(0x1ae)];[_0x197a1c(0x1ba)];[_0x197a1c(0x1a8)];[_0x197a1c(0x19e)];[_0x197a1c(0x1a2)];constructor(_0x11b8aa){const _0x5c39e9=_0x197a1c;this[_0x5c39e9(0x1ae)]=_0x11b8aa,this[_0x5c39e9(0x1ba)]=null,this[_0x5c39e9(0x1a8)]=!0x1,this[_0x5c39e9(0x19e)]=new AbortController(),this[_0x5c39e9(0x1a2)]=!0x1;for(const _0x32ee3d of As){const _0x63222=_0x5c39e9(0x1bf)!==_0x32ee3d;this[_0x5c39e9(0x1ae)][_0x5c39e9(0x1c0)](_0x32ee3d,this[_0x5c39e9(0x1a5)][_0x5c39e9(0x1a3)](this),{'passive':_0x63222,'signal':this[_0x5c39e9(0x19e)][_0x5c39e9(0x1a4)]});}}[_0x197a1c(0x197)](){const _0xbaf719=_0x197a1c;this[_0xbaf719(0x1a8)]||(this[_0xbaf719(0x1a8)]=!0x0,this[_0xbaf719(0x1a2)]=!0x1,this[_0xbaf719(0x1ba)]=requestAnimationFrame(this[_0xbaf719(0x1bb)][_0xbaf719(0x1a3)](this)));}[_0x197a1c(0x1a1)](){requestAnimationFrame(()=>{const _0x1cbe8c=_0x34ba;this[_0x1cbe8c(0x1a9)]();});}[_0x197a1c(0x1a7)](){const _0x548fd3=_0x197a1c;this[_0x548fd3(0x1a9)](),this[_0x548fd3(0x19e)][_0x548fd3(0x19f)]();}[_0x197a1c(0x1a9)](){const _0x3710ad=_0x197a1c;null!==this[_0x3710ad(0x1ba)]&&(cancelAnimationFrame(this[_0x3710ad(0x1ba)]),this[_0x3710ad(0x1ba)]=null),this[_0x3710ad(0x1a8)]&&(this[_0x3710ad(0x1a8)]=!0x1),this[_0x3710ad(0x1a2)]=!0x1;}[_0x197a1c(0x1a5)](_0xae0306){const _0x4084ea=_0x197a1c;if(this[_0x4084ea(0x1a8)]){if(_0x4084ea(0x1bf)===_0xae0306[_0x4084ea(0x1b1)]){const _0x11267e=_0xae0306[_0x4084ea(0x1b9)];if(!Fs[_0x4084ea(0x1be)](_0x11267e))return;}_0xae0306 instanceof WheelEvent?_0xae0306[_0x4084ea(0x1b6)]<0x0?this[_0x4084ea(0x1a2)]=!0x0:this[_0x4084ea(0x1a2)]=!this[_0x4084ea(0x1bd)]():this[_0x4084ea(0x1a2)]=!0x0;}}[_0x197a1c(0x1bd)](){const _0x2ecf5e=_0x197a1c,{scrollTop:_0x1a8ff9,scrollHeight:_0x427315,clientHeight:_0x40c48d}=this[_0x2ecf5e(0x1ae)];return _0x427315-_0x1a8ff9-_0x40c48d<=0x5;}[_0x197a1c(0x1bb)](){const _0x1de865=_0x197a1c;this[_0x1de865(0x1a8)]&&(this[_0x1de865(0x1a2)]||this[_0x1de865(0x1ae)][_0x1de865(0x1af)]({'top':this[_0x1de865(0x1ae)][_0x1de865(0x19b)],'behavior':_0x1de865(0x1aa)}),this[_0x1de865(0x1ba)]=requestAnimationFrame(this[_0x1de865(0x1bb)][_0x1de865(0x1a3)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x359380=_0x2e9e;(function(_0x52dee4,_0x5df7d1){var _0x350a21=_0x2e9e,_0x49c207=_0x52dee4();while(!![]){try{var _0x297226=parseInt(_0x350a21(0x1d2))/0x1+parseInt(_0x350a21(0x1d0))/0x2+parseInt(_0x350a21(0x1d7))/0x3+parseInt(_0x350a21(0x1d6))/0x4*(parseInt(_0x350a21(0x1d4))/0x5)+-parseInt(_0x350a21(0x1d3))/0x6*(parseInt(_0x350a21(0x1d1))/0x7)+parseInt(_0x350a21(0x1cd))/0x8+-parseInt(_0x350a21(0x1cf))/0x9;if(_0x297226===_0x5df7d1)break;else _0x49c207['push'](_0x49c207['shift']());}catch(_0x63e9dd){_0x49c207['push'](_0x49c207['shift']());}}}(_0x3fbe,0xd7a3a));function _0x2e9e(_0x4f4ed8,_0x371839){var _0x3fbe93=_0x3fbe();return _0x2e9e=function(_0x2e9eec,_0x303459){_0x2e9eec=_0x2e9eec-0x1cc;var _0x250059=_0x3fbe93[_0x2e9eec];return _0x250059;},_0x2e9e(_0x4f4ed8,_0x371839);}import{Plugin as _0x37c1ec}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x13006b}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x83cabc}from'@ckeditor/ckeditor5-collaboration-core';function _0x3fbe(){var _0x4e5ac1=['AIEditorIntegration','pluginName','requires','2388416GONGkK','isOfficialPlugin','10688148RsGkYl','1049298sGiKTY','21yadYDK','1550667NEdKEi','3035814bVkAhr','715TJddgl','isPremiumPlugin','14964pFcISx','2039718dnRVCR'];_0x3fbe=function(){return _0x4e5ac1;};return _0x3fbe();}export class AIEditorIntegration extends _0x37c1ec{static get[_0x359380(0x1cc)](){return[_0x13006b,_0x83cabc];}static get[_0x359380(0x1d9)](){var _0x1b2344=_0x359380;return _0x1b2344(0x1d8);}static get[_0x359380(0x1ce)](){return!0x0;}static get[_0x359380(0x1d5)](){return!0x0;}}
23
+ var _0x57b061=_0x3b21;(function(_0x4ddc6c,_0x303513){var _0x56aea4=_0x3b21,_0x142ac8=_0x4ddc6c();while(!![]){try{var _0x29db7b=parseInt(_0x56aea4(0x1ae))/0x1*(parseInt(_0x56aea4(0x1af))/0x2)+parseInt(_0x56aea4(0x1b0))/0x3+parseInt(_0x56aea4(0x1a8))/0x4*(parseInt(_0x56aea4(0x1ad))/0x5)+-parseInt(_0x56aea4(0x1aa))/0x6+parseInt(_0x56aea4(0x1b5))/0x7*(-parseInt(_0x56aea4(0x1b4))/0x8)+-parseInt(_0x56aea4(0x1b3))/0x9*(parseInt(_0x56aea4(0x1ac))/0xa)+parseInt(_0x56aea4(0x1b1))/0xb;if(_0x29db7b===_0x303513)break;else _0x142ac8['push'](_0x142ac8['shift']());}catch(_0x191ecc){_0x142ac8['push'](_0x142ac8['shift']());}}}(_0x3d9e,0x4c963));import{Plugin as _0x41185a}from'ckeditor5/src/core.js';function _0x3d9e(){var _0xffca90=['398290DFoluM','4955YoUqsH','1tjiPld','117514HILduO','576465uKNDTD','5078117YNJlXg','isPremiumPlugin','27rbTdjq','495832TUSSgG','35RWmuZS','isOfficialPlugin','requires','1648pOlJaV','pluginName','2266620UEWolE','AIEditorIntegration'];_0x3d9e=function(){return _0xffca90;};return _0x3d9e();}import{AIToggleButtonUI as _0x30d43c}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x1cf9f9}from'@ckeditor/ckeditor5-collaboration-core';function _0x3b21(_0x15c173,_0x960df9){var _0x3d9e96=_0x3d9e();return _0x3b21=function(_0x3b2121,_0x39f55c){_0x3b2121=_0x3b2121-0x1a6;var _0x434a09=_0x3d9e96[_0x3b2121];return _0x434a09;},_0x3b21(_0x15c173,_0x960df9);}export class AIEditorIntegration extends _0x41185a{static get[_0x57b061(0x1a7)](){return[_0x30d43c,_0x1cf9f9];}static get[_0x57b061(0x1a9)](){var _0x47cf3f=_0x57b061;return _0x47cf3f(0x1ab);}static get[_0x57b061(0x1a6)](){return!0x0;}static get[_0x57b061(0x1b2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2999(_0x1a39d1,_0x38a936){const _0xcd6734=_0xcd67();return _0x2999=function(_0x299988,_0x477d08){_0x299988=_0x299988-0x158;let _0x42f83e=_0xcd6734[_0x299988];return _0x42f83e;},_0x2999(_0x1a39d1,_0x38a936);}const _0xdf850e=_0x2999;(function(_0x259981,_0x29e931){const _0x4f47c6=_0x2999,_0x474df3=_0x259981();while(!![]){try{const _0x71ca69=parseInt(_0x4f47c6(0x173))/0x1+-parseInt(_0x4f47c6(0x17a))/0x2+-parseInt(_0x4f47c6(0x15c))/0x3*(-parseInt(_0x4f47c6(0x172))/0x4)+-parseInt(_0x4f47c6(0x166))/0x5+-parseInt(_0x4f47c6(0x16e))/0x6*(-parseInt(_0x4f47c6(0x15f))/0x7)+parseInt(_0x4f47c6(0x16c))/0x8+-parseInt(_0x4f47c6(0x16d))/0x9*(parseInt(_0x4f47c6(0x15d))/0xa);if(_0x71ca69===_0x29e931)break;else _0x474df3['push'](_0x474df3['shift']());}catch(_0x563264){_0x474df3['push'](_0x474df3['shift']());}}}(_0xcd67,0x7883a));import{Plugin as _0x420943}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x889f5e}from'./toggleaicommand.js';import{ButtonView as _0x5321a1,MenuBarMenuListItemButtonView as _0x2bc501}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x32ae3f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x490517}from'../../aicore/utils/common-translations.js';function _0xcd67(){const _0x24a4b4=['init','execute','bind','2531860GUHOgO','494564oGvuXj','editor','ck-ai-toggle-button','pluginName','listenTo','isOfficialPlugin','get','997038YocuBn','add','requires','AIToggleButtonUI','menuitemcheckbox','3LbVaxb','90RDRtKJ','value','77zoyKaw','isEnabled','AI_TOGGLE_BUTTON_LABEL','menuBar:toggleAi','locale','isOn','set','2798405MlpjBN','componentFactory','commands','_createAIUIButton','toggleAi','isPremiumPlugin','3950368HBhvtR','720666OqlGyE','355182Rbubkr'];_0xcd67=function(){return _0x24a4b4;};return _0xcd67();}import{AITabs as _0x5a9793}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x420943{static get[_0xdf850e(0x159)](){return[_0x5a9793];}static get[_0xdf850e(0x176)](){const _0x5c8bd5=_0xdf850e;return _0x5c8bd5(0x15a);}static get[_0xdf850e(0x178)](){return!0x0;}static get[_0xdf850e(0x16b)](){return!0x0;}[_0xdf850e(0x16f)](){const _0x11e675=_0xdf850e,_0xb6ee01=this[_0x11e675(0x174)];_0xb6ee01[_0x11e675(0x168)][_0x11e675(0x158)](_0x11e675(0x16a),new _0x889f5e(_0xb6ee01)),_0xb6ee01['ui'][_0x11e675(0x167)][_0x11e675(0x158)](_0x11e675(0x16a),()=>{const _0x1488cf=_0x11e675,_0x4668ff=this[_0x1488cf(0x169)](_0x5321a1);return _0x4668ff[_0x1488cf(0x165)]({'tooltip':!0x0,'class':_0x1488cf(0x175)}),_0x4668ff;}),_0xb6ee01['ui'][_0x11e675(0x167)][_0x11e675(0x158)](_0x11e675(0x162),()=>{const _0xa2bab4=_0x11e675,_0x39353f=this[_0xa2bab4(0x169)](_0x2bc501);return _0x39353f[_0xa2bab4(0x165)]({'role':_0xa2bab4(0x15b)}),_0x39353f;});}[_0xdf850e(0x169)](_0x4f2000){const _0x37a8d8=_0xdf850e,_0x55ab56=this[_0x37a8d8(0x174)],_0x1b87c9=_0x55ab56[_0x37a8d8(0x168)][_0x37a8d8(0x179)](_0x37a8d8(0x16a)),_0xa08b05=new _0x4f2000(_0x55ab56[_0x37a8d8(0x163)]);return _0xa08b05[_0x37a8d8(0x165)]({'label':_0x490517(_0x55ab56[_0x37a8d8(0x163)],_0x37a8d8(0x161)),'icon':_0x32ae3f,'isToggleable':!0x0}),_0xa08b05[_0x37a8d8(0x171)](_0x37a8d8(0x160))['to'](_0x1b87c9),_0xa08b05[_0x37a8d8(0x171)](_0x37a8d8(0x164))['to'](_0x1b87c9,_0x37a8d8(0x15e),_0x1c273e=>!!_0x1c273e),this[_0x37a8d8(0x177)](_0xa08b05,_0x37a8d8(0x170),()=>{const _0xe5ca52=_0x37a8d8;_0x1b87c9[_0xe5ca52(0x170)]();}),_0xa08b05;}}
23
+ const _0x7618b9=_0x2c8c;(function(_0x5cf1a7,_0x322d2e){const _0x50d1f9=_0x2c8c,_0x23445a=_0x5cf1a7();while(!![]){try{const _0xb2043e=parseInt(_0x50d1f9(0x1c8))/0x1*(-parseInt(_0x50d1f9(0x1de))/0x2)+-parseInt(_0x50d1f9(0x1c9))/0x3*(-parseInt(_0x50d1f9(0x1da))/0x4)+parseInt(_0x50d1f9(0x1d8))/0x5+-parseInt(_0x50d1f9(0x1d7))/0x6*(parseInt(_0x50d1f9(0x1c6))/0x7)+parseInt(_0x50d1f9(0x1c4))/0x8*(-parseInt(_0x50d1f9(0x1ce))/0x9)+parseInt(_0x50d1f9(0x1c5))/0xa+parseInt(_0x50d1f9(0x1bf))/0xb*(parseInt(_0x50d1f9(0x1d5))/0xc);if(_0xb2043e===_0x322d2e)break;else _0x23445a['push'](_0x23445a['shift']());}catch(_0x134811){_0x23445a['push'](_0x23445a['shift']());}}}(_0xdafa,0x540b1));import{Plugin as _0xd29e97}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x44a5f1}from'./toggleaicommand.js';import{ButtonView as _0x4a77be,MenuBarMenuListItemButtonView as _0x476de5}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x595a91}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x49e597}from'../../aicore/utils/common-translations.js';function _0x2c8c(_0x1045ae,_0x56c9a2){const _0xdafa2d=_0xdafa();return _0x2c8c=function(_0x2c8cb9,_0x1e0906){_0x2c8cb9=_0x2c8cb9-0x1bb;let _0x93f87b=_0xdafa2d[_0x2c8cb9];return _0x93f87b;},_0x2c8c(_0x1045ae,_0x56c9a2);}import{AITabs as _0x1a5434}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0xd29e97{static get[_0x7618b9(0x1d6)](){return[_0x1a5434];}static get[_0x7618b9(0x1be)](){const _0x4eb0b9=_0x7618b9;return _0x4eb0b9(0x1dc);}static get[_0x7618b9(0x1bb)](){return!0x0;}static get[_0x7618b9(0x1bc)](){return!0x0;}[_0x7618b9(0x1ca)](){const _0x385eb2=_0x7618b9,_0x4f9e94=this[_0x385eb2(0x1d2)];_0x4f9e94[_0x385eb2(0x1cd)][_0x385eb2(0x1c2)](_0x385eb2(0x1c7),new _0x44a5f1(_0x4f9e94)),_0x4f9e94['ui'][_0x385eb2(0x1d0)][_0x385eb2(0x1c2)](_0x385eb2(0x1c7),()=>{const _0x233753=_0x385eb2,_0x45d150=this[_0x233753(0x1d4)](_0x4a77be);return _0x45d150[_0x233753(0x1d1)]({'tooltip':!0x0,'class':_0x233753(0x1c1)}),_0x45d150;}),_0x4f9e94['ui'][_0x385eb2(0x1d0)][_0x385eb2(0x1c2)](_0x385eb2(0x1db),()=>{const _0x17b422=_0x385eb2,_0x31bf20=this[_0x17b422(0x1d4)](_0x476de5);return _0x31bf20[_0x17b422(0x1d1)]({'role':_0x17b422(0x1c0)}),_0x31bf20;});}[_0x7618b9(0x1d4)](_0x3b738e){const _0x540682=_0x7618b9,_0x5b73cc=this[_0x540682(0x1d2)],_0x525a15=_0x5b73cc[_0x540682(0x1cd)][_0x540682(0x1df)](_0x540682(0x1c7)),_0x4be227=new _0x3b738e(_0x5b73cc[_0x540682(0x1d3)]);return _0x4be227[_0x540682(0x1d1)]({'label':_0x49e597(_0x5b73cc[_0x540682(0x1d3)],_0x540682(0x1c3)),'icon':_0x595a91,'isToggleable':!0x0}),_0x4be227[_0x540682(0x1bd)](_0x540682(0x1d9))['to'](_0x525a15),_0x4be227[_0x540682(0x1bd)](_0x540682(0x1cf))['to'](_0x525a15,_0x540682(0x1dd),_0x5c8c16=>!!_0x5c8c16),this[_0x540682(0x1cc)](_0x4be227,_0x540682(0x1cb),()=>{const _0x16b427=_0x540682;_0x525a15[_0x16b427(0x1cb)]();}),_0x4be227;}}function _0xdafa(){const _0x2f993d=['AIToggleButtonUI','value','381946cpLmDE','get','isOfficialPlugin','isPremiumPlugin','bind','pluginName','528EzPsWM','menuitemcheckbox','ck-ai-toggle-button','add','AI_TOGGLE_BUTTON_LABEL','24BKChxO','2854030vGZGnT','119NnOxqM','toggleAi','3imAqEW','6aTmIpQ','init','execute','listenTo','commands','80037xnmyrd','isOn','componentFactory','set','editor','locale','_createAIUIButton','75300UDtPcN','requires','183576QULSxr','2962810XjUhFO','isEnabled','569612nQQyva','menuBar:toggleAi'];_0xdafa=function(){return _0x2f993d;};return _0xdafa();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a20f6=_0x2d24;function _0x50dc(){const _0xb789b8=['isEnabled','165277AdTOxr','2084060oguuAc','2777680ziCCJt','plugins','view','312JWsKTr','12909bfCiTf','isVisible','execute','10296682wbTjio','534KOelMW','get','AITabs','value','153jOHPLE','editor','6WDvECG','266930yCOzJN','1439148hspAST','bind'];_0x50dc=function(){return _0xb789b8;};return _0x50dc();}(function(_0x9307d9,_0x43c260){const _0x154f5d=_0x2d24,_0x335c6a=_0x9307d9();while(!![]){try{const _0xb30dba=-parseInt(_0x154f5d(0x1c1))/0x1+parseInt(_0x154f5d(0x1ce))/0x2*(-parseInt(_0x154f5d(0x1ca))/0x3)+parseInt(_0x154f5d(0x1c5))/0x4+parseInt(_0x154f5d(0x1c6))/0x5*(parseInt(_0x154f5d(0x1bf))/0x6)+parseInt(_0x154f5d(0x1c4))/0x7*(parseInt(_0x154f5d(0x1c9))/0x8)+-parseInt(_0x154f5d(0x1d2))/0x9*(-parseInt(_0x154f5d(0x1c0))/0xa)+parseInt(_0x154f5d(0x1cd))/0xb;if(_0xb30dba===_0x43c260)break;else _0x335c6a['push'](_0x335c6a['shift']());}catch(_0x2409a0){_0x335c6a['push'](_0x335c6a['shift']());}}}(_0x50dc,0xc31c6));function _0x2d24(_0x21bbd9,_0x229eb6){const _0x50dc1f=_0x50dc();return _0x2d24=function(_0x2d243d,_0x50f81b){_0x2d243d=_0x2d243d-0x1bf;let _0x3a9306=_0x50dc1f[_0x2d243d];return _0x3a9306;},_0x2d24(_0x21bbd9,_0x229eb6);}import{Command as _0xe5d29}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0xe5d29{constructor(_0x17f932){const _0x20dc3a=_0x2d24;super(_0x17f932);const _0x17d0eb=_0x17f932[_0x20dc3a(0x1c7)][_0x20dc3a(0x1cf)](_0x20dc3a(0x1d0))[_0x20dc3a(0x1c8)];this[_0x20dc3a(0x1c2)](_0x20dc3a(0x1d1))['to'](_0x17d0eb,_0x20dc3a(0x1cb)),this[_0x20dc3a(0x1c3)]=!0x0;}[_0x2a20f6(0x1cc)](){const _0x3d6b7c=_0x2a20f6,_0x444d8d=this[_0x3d6b7c(0x1d3)][_0x3d6b7c(0x1c7)][_0x3d6b7c(0x1cf)](_0x3d6b7c(0x1d0))[_0x3d6b7c(0x1c8)];_0x444d8d[_0x3d6b7c(0x1cb)]=!_0x444d8d[_0x3d6b7c(0x1cb)];}}
23
+ function _0x5951(){const _0x206840=['7584065VKscPV','11468664rjLkhV','editor','103uuEPkq','isEnabled','execute','isVisible','get','27656fdrHfY','bind','231504Cnltsd','2611362ZLsNBW','4413693pRDIzK','AITabs','2863518CUzDBe','value','view','plugins'];_0x5951=function(){return _0x206840;};return _0x5951();}const _0x3abbdc=_0x45cb;(function(_0x106ece,_0x30b474){const _0x505276=_0x45cb,_0x39ec30=_0x106ece();while(!![]){try{const _0x167376=parseInt(_0x505276(0x83))/0x1*(parseInt(_0x505276(0x88))/0x2)+parseInt(_0x505276(0x8c))/0x3+parseInt(_0x505276(0x8a))/0x4+-parseInt(_0x505276(0x92))/0x5+parseInt(_0x505276(0x8b))/0x6+parseInt(_0x505276(0x8e))/0x7+-parseInt(_0x505276(0x93))/0x8;if(_0x167376===_0x30b474)break;else _0x39ec30['push'](_0x39ec30['shift']());}catch(_0x25bdde){_0x39ec30['push'](_0x39ec30['shift']());}}}(_0x5951,0xcedc0));function _0x45cb(_0x557cb8,_0x3fd6f1){const _0x5951f7=_0x5951();return _0x45cb=function(_0x45cb13,_0x3da5cc){_0x45cb13=_0x45cb13-0x83;let _0x3e1fc4=_0x5951f7[_0x45cb13];return _0x3e1fc4;},_0x45cb(_0x557cb8,_0x3fd6f1);}import{Command as _0x32e489}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x32e489{constructor(_0xe8c0fd){const _0x40f881=_0x45cb;super(_0xe8c0fd);const _0x2c12ea=_0xe8c0fd[_0x40f881(0x91)][_0x40f881(0x87)](_0x40f881(0x8d))[_0x40f881(0x90)];this[_0x40f881(0x89)](_0x40f881(0x8f))['to'](_0x2c12ea,_0x40f881(0x86)),this[_0x40f881(0x84)]=!0x0;}[_0x3abbdc(0x85)](){const _0x2baed2=_0x3abbdc,_0x3cac96=this[_0x2baed2(0x94)][_0x2baed2(0x91)][_0x2baed2(0x87)](_0x2baed2(0x8d))[_0x2baed2(0x90)];_0x3cac96[_0x2baed2(0x86)]=!_0x3cac96[_0x2baed2(0x86)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x198b(){var _0x527dd7=['167063NqIcuw','324909toBsOI','8QKjVyU','2082190RabuMP','96665KViTJY','isOfficialPlugin','config','isPremiumPlugin','20VHREjT','90762bSgMXD','269118dEfbkc','AIQuickActions','8166cDocTV','60pesKZD','define','ai.quickActions','pluginName','22gJCVTL','requires'];_0x198b=function(){return _0x527dd7;};return _0x198b();}var _0x4ddaf3=_0x1c44;(function(_0x5ec2fb,_0x9da38c){var _0x578e2c=_0x1c44,_0x5b212c=_0x5ec2fb();while(!![]){try{var _0xe0bb5b=parseInt(_0x578e2c(0x1bb))/0x1+parseInt(_0x578e2c(0x1b2))/0x2+parseInt(_0x578e2c(0x1b4))/0x3*(-parseInt(_0x578e2c(0x1b0))/0x4)+-parseInt(_0x578e2c(0x1bf))/0x5*(-parseInt(_0x578e2c(0x1b5))/0x6)+-parseInt(_0x578e2c(0x1b1))/0x7*(-parseInt(_0x578e2c(0x1bd))/0x8)+parseInt(_0x578e2c(0x1bc))/0x9+-parseInt(_0x578e2c(0x1be))/0xa*(parseInt(_0x578e2c(0x1b9))/0xb);if(_0xe0bb5b===_0x9da38c)break;else _0x5b212c['push'](_0x5b212c['shift']());}catch(_0x1c5898){_0x5b212c['push'](_0x5b212c['shift']());}}}(_0x198b,0x1bd33));import{Plugin as _0x1bff86}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x544630}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x1180fb}from'./aiquickactionsediting.js';import{AIActions as _0x59555a}from'../aiactions/aiactions.js';function _0x1c44(_0x52da3f,_0xa39b6a){var _0x198bfe=_0x198b();return _0x1c44=function(_0x1c44ca,_0x377f4d){_0x1c44ca=_0x1c44ca-0x1b0;var _0x3094db=_0x198bfe[_0x1c44ca];return _0x3094db;},_0x1c44(_0x52da3f,_0xa39b6a);}export class AIQuickActions extends _0x1bff86{static get[_0x4ddaf3(0x1ba)](){return[_0x544630,_0x1180fb,_0x59555a];}static get[_0x4ddaf3(0x1b8)](){var _0x4a8dff=_0x4ddaf3;return _0x4a8dff(0x1b3);}static get[_0x4ddaf3(0x1c0)](){return!0x0;}static get[_0x4ddaf3(0x1c2)](){return!0x0;}constructor(_0x574c41){var _0x1b7064=_0x4ddaf3;super(_0x574c41),_0x574c41[_0x1b7064(0x1c1)][_0x1b7064(0x1b6)](_0x1b7064(0x1b7),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ var _0x3ebc6b=_0xe0bb;function _0x13e4(){var _0x4ead02=['isOfficialPlugin','AIQuickActions','232dAWdEk','8KQUcMa','1155520AxqBGA','ai.quickActions','9561rIGgWE','6356856ykxVAe','isPremiumPlugin','pluginName','requires','9495591BDvGSx','13928510rMYgbj','config','2eZgfOD','284021QsecKF','2193084UoIymx','define'];_0x13e4=function(){return _0x4ead02;};return _0x13e4();}(function(_0x3f90a7,_0x2f65db){var _0x3b83a4=_0xe0bb,_0x8c6d00=_0x3f90a7();while(!![]){try{var _0x5f22a3=-parseInt(_0x3b83a4(0xec))/0x1*(-parseInt(_0x3b83a4(0xeb))/0x2)+-parseInt(_0x3b83a4(0xe3))/0x3*(parseInt(_0x3b83a4(0xf1))/0x4)+-parseInt(_0x3b83a4(0xf3))/0x5+parseInt(_0x3b83a4(0xe4))/0x6+-parseInt(_0x3b83a4(0xe8))/0x7*(parseInt(_0x3b83a4(0xf2))/0x8)+-parseInt(_0x3b83a4(0xed))/0x9+parseInt(_0x3b83a4(0xe9))/0xa;if(_0x5f22a3===_0x2f65db)break;else _0x8c6d00['push'](_0x8c6d00['shift']());}catch(_0x5bef64){_0x8c6d00['push'](_0x8c6d00['shift']());}}}(_0x13e4,0xafd51));function _0xe0bb(_0x4657a5,_0x5635d9){var _0x13e481=_0x13e4();return _0xe0bb=function(_0xe0bb71,_0x4c3166){_0xe0bb71=_0xe0bb71-0xe2;var _0x5b0b97=_0x13e481[_0xe0bb71];return _0x5b0b97;},_0xe0bb(_0x4657a5,_0x5635d9);}import{Plugin as _0x22bc17}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x22d827}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x2a625d}from'./aiquickactionsediting.js';import{AIActions as _0x48aa9d}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x22bc17{static get[_0x3ebc6b(0xe7)](){return[_0x22d827,_0x2a625d,_0x48aa9d];}static get[_0x3ebc6b(0xe6)](){var _0x237192=_0x3ebc6b;return _0x237192(0xf0);}static get[_0x3ebc6b(0xef)](){return!0x0;}static get[_0x3ebc6b(0xe5)](){return!0x0;}constructor(_0x85d2dd){var _0x4e65e1=_0x3ebc6b;super(_0x85d2dd),_0x85d2dd[_0x4e65e1(0xea)][_0x4e65e1(0xee)](_0x4e65e1(0xe2),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}