@ckeditor/ckeditor5-ai 47.7.1-alpha.0 → 47.7.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x154a62=_0x37a6;(function(_0x26db3c,_0x3c3a96){const _0x109220=_0x37a6,_0x47f309=_0x26db3c();while(!![]){try{const _0xe7f6b=-parseInt(_0x109220(0x203))/0x1*(parseInt(_0x109220(0x1fe))/0x2)+-parseInt(_0x109220(0x1e6))/0x3*(-parseInt(_0x109220(0x1e8))/0x4)+-parseInt(_0x109220(0x1f3))/0x5*(-parseInt(_0x109220(0x1fd))/0x6)+parseInt(_0x109220(0x207))/0x7+-parseInt(_0x109220(0x1f4))/0x8+-parseInt(_0x109220(0x1e7))/0x9*(-parseInt(_0x109220(0x1e2))/0xa)+parseInt(_0x109220(0x1f8))/0xb*(-parseInt(_0x109220(0x200))/0xc);if(_0xe7f6b===_0x3c3a96)break;else _0x47f309['push'](_0x47f309['shift']());}catch(_0x438d60){_0x47f309['push'](_0x47f309['shift']());}}}(_0x5d13,0x6ce36));import{Plugin as _0x1f237c}from'ckeditor5/src/core.js';import{CKEditorError as _0x5f2b02}from'ckeditor5/src/utils.js';function _0x5d13(){const _0x321a16=['6772680wVWeDh','error','requires','application/json','11vNujdu','signal','AI_ERROR_GET_PARAMETERS','makeRequest','editor','18cDiqJj','33094nMoNuZ','_prepareRequestHeaders','11647884hTsXzq','textAdapter','get','25nNkPnk','AI_ERROR_GET_HEADERS','AbortError','assign','3075296CCXGOq','reject','10OphZdI','resolve','plugins','catch','685779LsHsfD','6035283UJAfVO','12iJzAMq','aborted','locale','object','abort','name','sendRequest','aitextadapter-send-request-failed','init','abortController','_prepareRequestParameters','1468715nXsBKR'];_0x5d13=function(){return _0x321a16;};return _0x5d13();}import{AIAdapter as _0x2cae73,AIRequestError as _0x27835d}from'./aiadapter.js';import{getTranslation as _0x5e13f3}from'../utils/common-translations.js';function _0x37a6(_0x441c44,_0x4db0d5){const _0x5d1333=_0x5d13();return _0x37a6=function(_0x37a6ab,_0x337243){_0x37a6ab=_0x37a6ab-0x1e2;let _0x16142a=_0x5d1333[_0x37a6ab];return _0x16142a;},_0x37a6(_0x441c44,_0x4db0d5);}export class AITextAdapter extends _0x1f237c{[_0x154a62(0x1f1)];static get[_0x154a62(0x1f6)](){return[_0x2cae73];}constructor(_0x7a2dad){const _0x297cd4=_0x154a62;super(_0x7a2dad),this[_0x297cd4(0x1f1)]=new AbortController();}[_0x154a62(0x1f0)](){const _0x53e6df=_0x154a62;this[_0x53e6df(0x1fc)][_0x53e6df(0x1e4)][_0x53e6df(0x202)](_0x2cae73)[_0x53e6df(0x201)]=this;}[_0x154a62(0x1ec)](){const _0x39f383=_0x154a62;this[_0x39f383(0x1f1)][_0x39f383(0x1f9)][_0x39f383(0x1e9)]||(this[_0x39f383(0x1f1)][_0x39f383(0x1ec)](),this[_0x39f383(0x1f1)]=new AbortController());}async[_0x154a62(0x1fb)](_0x25c590){const _0x4f4e2a=_0x154a62;return this[_0x4f4e2a(0x1ee)](_0x25c590)[_0x4f4e2a(0x1e5)](_0xeb256a=>{const _0x1fecd5=_0x4f4e2a;if(_0xeb256a instanceof _0x27835d)return Promise[_0x1fecd5(0x208)](_0xeb256a);if(_0x1fecd5(0x205)==_0xeb256a[_0x1fecd5(0x1ed)])return Promise[_0x1fecd5(0x1e3)]();throw console[_0x1fecd5(0x1f5)](_0xeb256a),new _0x5f2b02(_0x1fecd5(0x1ef),null);});}async[_0x154a62(0x1ff)](_0x2a3b96,_0x680127){const _0x53e57a=_0x154a62,_0x321717=this[_0x53e57a(0x1fc)][_0x53e57a(0x1ea)],_0xdf0a17={'Content-Type':_0x53e57a(0x1f7)};if(_0x53e57a(0x1eb)==typeof _0x2a3b96)Object[_0x53e57a(0x206)](_0xdf0a17,_0x2a3b96);else{if(_0x2a3b96)try{const _0x31310d=await _0x2a3b96(_0x680127);Object[_0x53e57a(0x206)](_0xdf0a17,_0x31310d);}catch{return Promise[_0x53e57a(0x208)](new _0x27835d(_0x5e13f3(_0x321717,_0x53e57a(0x204))));}}return _0xdf0a17;}async[_0x154a62(0x1f2)](_0x24c7e6,_0x1dd0f3){const _0x3d02ec=_0x154a62,_0x3e7c9b=this[_0x3d02ec(0x1fc)][_0x3d02ec(0x1ea)];if(_0x3d02ec(0x1eb)==typeof _0x24c7e6)return _0x24c7e6;try{return await _0x24c7e6(_0x1dd0f3);}catch{return Promise[_0x3d02ec(0x208)](new _0x27835d(_0x5e13f3(_0x3e7c9b,_0x3d02ec(0x1fa))));}}}
23
+ const _0x31371f=_0x1488;(function(_0x51d3d4,_0x3f1db1){const _0x4204bb=_0x1488,_0x2e5fc0=_0x51d3d4();while(!![]){try{const _0x23873d=-parseInt(_0x4204bb(0x6f))/0x1*(-parseInt(_0x4204bb(0x8c))/0x2)+-parseInt(_0x4204bb(0x86))/0x3+parseInt(_0x4204bb(0x89))/0x4*(-parseInt(_0x4204bb(0x6b))/0x5)+parseInt(_0x4204bb(0x7d))/0x6*(parseInt(_0x4204bb(0x71))/0x7)+-parseInt(_0x4204bb(0x8d))/0x8*(parseInt(_0x4204bb(0x8f))/0x9)+-parseInt(_0x4204bb(0x78))/0xa*(-parseInt(_0x4204bb(0x75))/0xb)+parseInt(_0x4204bb(0x77))/0xc;if(_0x23873d===_0x3f1db1)break;else _0x2e5fc0['push'](_0x2e5fc0['shift']());}catch(_0x1bf7d2){_0x2e5fc0['push'](_0x2e5fc0['shift']());}}}(_0x4766,0x735b6));import{Plugin as _0x1b4193}from'ckeditor5/src/core.js';import{CKEditorError as _0x10a8cd}from'ckeditor5/src/utils.js';function _0x4766(){const _0x2d72ad=['aitextadapter-send-request-failed','reject','init','2210483XgaZwh','application/json','1006128ewgntF','30dSgrKU','AbortError','object','abortController','abort','1713918dOGCXm','_prepareRequestHeaders','requires','textAdapter','error','locale','name','sendRequest','resolve','2656134UjwkfH','makeRequest','editor','110364uIZMMY','AI_ERROR_GET_PARAMETERS','_prepareRequestParameters','8902jnJlya','92840BDWlpt','assign','225BzfTRG','plugins','aborted','85YyYerF','catch','signal','get','193CUKivq','AI_ERROR_GET_HEADERS','14liSoVf'];_0x4766=function(){return _0x2d72ad;};return _0x4766();}function _0x1488(_0x41974b,_0x584638){const _0x47664f=_0x4766();return _0x1488=function(_0x1488a5,_0x19cd22){_0x1488a5=_0x1488a5-0x69;let _0x379bfa=_0x47664f[_0x1488a5];return _0x379bfa;},_0x1488(_0x41974b,_0x584638);}import{AIAdapter as _0x1a715d,AIRequestError as _0x5696bc}from'./aiadapter.js';import{getTranslation as _0x3094dd}from'../utils/common-translations.js';export class AITextAdapter extends _0x1b4193{[_0x31371f(0x7b)];static get[_0x31371f(0x7f)](){return[_0x1a715d];}constructor(_0x541de2){const _0xce87f6=_0x31371f;super(_0x541de2),this[_0xce87f6(0x7b)]=new AbortController();}[_0x31371f(0x74)](){const _0x28cea7=_0x31371f;this[_0x28cea7(0x88)][_0x28cea7(0x69)][_0x28cea7(0x6e)](_0x1a715d)[_0x28cea7(0x80)]=this;}[_0x31371f(0x7c)](){const _0x58c159=_0x31371f;this[_0x58c159(0x7b)][_0x58c159(0x6d)][_0x58c159(0x6a)]||(this[_0x58c159(0x7b)][_0x58c159(0x7c)](),this[_0x58c159(0x7b)]=new AbortController());}async[_0x31371f(0x87)](_0x54a4c6){const _0x154ddc=_0x31371f;return this[_0x154ddc(0x84)](_0x54a4c6)[_0x154ddc(0x6c)](_0xec8550=>{const _0x1742c1=_0x154ddc;if(_0xec8550 instanceof _0x5696bc)return Promise[_0x1742c1(0x73)](_0xec8550);if(_0x1742c1(0x79)==_0xec8550[_0x1742c1(0x83)])return Promise[_0x1742c1(0x85)]();throw console[_0x1742c1(0x81)](_0xec8550),new _0x10a8cd(_0x1742c1(0x72),null);});}async[_0x31371f(0x7e)](_0x1a093f,_0x3ce7e7){const _0x181824=_0x31371f,_0x489c3b=this[_0x181824(0x88)][_0x181824(0x82)],_0x42a18f={'Content-Type':_0x181824(0x76)};if(_0x181824(0x7a)==typeof _0x1a093f)Object[_0x181824(0x8e)](_0x42a18f,_0x1a093f);else{if(_0x1a093f)try{const _0x3b7b08=await _0x1a093f(_0x3ce7e7);Object[_0x181824(0x8e)](_0x42a18f,_0x3b7b08);}catch{return Promise[_0x181824(0x73)](new _0x5696bc(_0x3094dd(_0x489c3b,_0x181824(0x70))));}}return _0x42a18f;}async[_0x31371f(0x8b)](_0x4276c3,_0x2fb27d){const _0x31da6f=_0x31371f,_0x20fb67=this[_0x31da6f(0x88)][_0x31da6f(0x82)];if(_0x31da6f(0x7a)==typeof _0x4276c3)return _0x4276c3;try{return await _0x4276c3(_0x2fb27d);}catch{return Promise[_0x31da6f(0x73)](new _0x5696bc(_0x3094dd(_0x20fb67,_0x31da6f(0x8a))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d4afd=_0x56fc;(function(_0x49f2df,_0x28c0b2){var _0x492658=_0x56fc,_0x28e69a=_0x49f2df();while(!![]){try{var _0x19e259=parseInt(_0x492658(0xe5))/0x1+parseInt(_0x492658(0xdf))/0x2+-parseInt(_0x492658(0xe6))/0x3+parseInt(_0x492658(0xda))/0x4+parseInt(_0x492658(0xe3))/0x5*(parseInt(_0x492658(0xdc))/0x6)+-parseInt(_0x492658(0xe2))/0x7+-parseInt(_0x492658(0xd7))/0x8;if(_0x19e259===_0x28c0b2)break;else _0x28e69a['push'](_0x28e69a['shift']());}catch(_0x3e0807){_0x28e69a['push'](_0x28e69a['shift']());}}}(_0xb7d2,0x1dec6));function _0x56fc(_0x5a7976,_0x2cc17f){var _0xb7d2b1=_0xb7d2();return _0x56fc=function(_0x56fc92,_0x5ddb01){_0x56fc92=_0x56fc92-0xd7;var _0x14d5a5=_0xb7d2b1[_0x56fc92];return _0x14d5a5;},_0x56fc(_0x5a7976,_0x2cc17f);}import{AITextAdapter as _0xa121a1}from'./aitextadapter.js';import{AIRequestError as _0x21b90c}from'./aiadapter.js';import{getTranslation as _0x4c9e51}from'../utils/common-translations.js';function _0xb7d2(){var _0x3ad8a5=['locale','AWSTextAdapter','981281XhtjvI','1145MVyseN','pluginName','90232FtQfCE','402891YJeUdZ','1436256ObOlmk','init','editor','976740VAQcPb','sendRequest','3102jouIlB','ai-aws-adapter-not-supported','AI_ERROR_AWS_NOT_SUPPORTED','247536fcjULY'];_0xb7d2=function(){return _0x3ad8a5;};return _0xb7d2();}import{logWarning as _0x53a1aa,logError as _0x17cf66}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0xa121a1{static get[_0x4d4afd(0xe4)](){var _0x15e44c=_0x4d4afd;return _0x15e44c(0xe1);}[_0x4d4afd(0xd8)](){var _0x51bd9f=_0x4d4afd;super[_0x51bd9f(0xd8)](),_0x53a1aa(_0x51bd9f(0xdd));}async[_0x4d4afd(0xdb)](_0x2e08ed){var _0x1f506f=_0x4d4afd;throw _0x17cf66(_0x1f506f(0xdd)),new _0x21b90c(_0x4c9e51(this[_0x1f506f(0xd9)][_0x1f506f(0xe0)],_0x1f506f(0xde)));}}
23
+ var _0x338aa2=_0x2e59;function _0x2e59(_0x2f670d,_0x20b449){var _0x31ea1f=_0x31ea();return _0x2e59=function(_0x2e5979,_0x1a6c1b){_0x2e5979=_0x2e5979-0x1a9;var _0x24e9c1=_0x31ea1f[_0x2e5979];return _0x24e9c1;},_0x2e59(_0x2f670d,_0x20b449);}(function(_0x15031a,_0x595591){var _0x26e6ab=_0x2e59,_0x35891f=_0x15031a();while(!![]){try{var _0x4a5c07=parseInt(_0x26e6ab(0x1aa))/0x1+parseInt(_0x26e6ab(0x1b5))/0x2*(-parseInt(_0x26e6ab(0x1b6))/0x3)+parseInt(_0x26e6ab(0x1b2))/0x4*(parseInt(_0x26e6ab(0x1b7))/0x5)+-parseInt(_0x26e6ab(0x1b3))/0x6+parseInt(_0x26e6ab(0x1b1))/0x7+-parseInt(_0x26e6ab(0x1ac))/0x8*(parseInt(_0x26e6ab(0x1a9))/0x9)+-parseInt(_0x26e6ab(0x1ae))/0xa*(parseInt(_0x26e6ab(0x1ad))/0xb);if(_0x4a5c07===_0x595591)break;else _0x35891f['push'](_0x35891f['shift']());}catch(_0x48d063){_0x35891f['push'](_0x35891f['shift']());}}}(_0x31ea,0x93ec7));import{AITextAdapter as _0x5e74f9}from'./aitextadapter.js';import{AIRequestError as _0x21db68}from'./aiadapter.js';import{getTranslation as _0x397de4}from'../utils/common-translations.js';import{logWarning as _0x5a269c,logError as _0x5b716d}from'ckeditor5/src/utils.js';function _0x31ea(){var _0x1e7e9e=['10pZtvjH','locale','AI_ERROR_AWS_NOT_SUPPORTED','7559566LjQEFX','25084ypLOXz','2003946dLRTlr','sendRequest','6mYevTQ','94818dgCqfL','305vhtvxm','editor','init','pluginName','AWSTextAdapter','171kepbSv','384967vJByGR','ai-aws-adapter-not-supported','83848dIXhJi','6749523DwtfiT'];_0x31ea=function(){return _0x1e7e9e;};return _0x31ea();}export class AWSTextAdapter extends _0x5e74f9{static get[_0x338aa2(0x1ba)](){var _0x337ae5=_0x338aa2;return _0x337ae5(0x1bb);}[_0x338aa2(0x1b9)](){var _0xb21a81=_0x338aa2;super[_0xb21a81(0x1b9)](),_0x5a269c(_0xb21a81(0x1ab));}async[_0x338aa2(0x1b4)](_0x5703da){var _0x4a0ab1=_0x338aa2;throw _0x5b716d(_0x4a0ab1(0x1ab)),new _0x21db68(_0x397de4(this[_0x4a0ab1(0x1b8)][_0x4a0ab1(0x1af)],_0x4a0ab1(0x1b0)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1abac0=_0x34ff;(function(_0x451d18,_0x247b2c){const _0x288620=_0x34ff,_0x550a3a=_0x451d18();while(!![]){try{const _0x49b88a=-parseInt(_0x288620(0x167))/0x1+-parseInt(_0x288620(0x179))/0x2*(parseInt(_0x288620(0x16b))/0x3)+parseInt(_0x288620(0x164))/0x4*(-parseInt(_0x288620(0x141))/0x5)+-parseInt(_0x288620(0x180))/0x6*(parseInt(_0x288620(0x14b))/0x7)+parseInt(_0x288620(0x15a))/0x8+-parseInt(_0x288620(0x157))/0x9*(-parseInt(_0x288620(0x142))/0xa)+parseInt(_0x288620(0x16a))/0xb*(parseInt(_0x288620(0x147))/0xc);if(_0x49b88a===_0x247b2c)break;else _0x550a3a['push'](_0x550a3a['shift']());}catch(_0x1c7fe0){_0x550a3a['push'](_0x550a3a['shift']());}}}(_0xfb75,0xae17c));function _0x34ff(_0x145f7c,_0xf9dcb2){const _0xfb75d1=_0xfb75();return _0x34ff=function(_0x34ffda,_0x5d632a){_0x34ffda=_0x34ffda-0x139;let _0x12a0d5=_0xfb75d1[_0x34ffda];return _0x12a0d5;},_0x34ff(_0x145f7c,_0xf9dcb2);}import{AITextAdapter as _0x3c9403}from'./aitextadapter.js';import{AIRequestError as _0x2bad83}from'./aiadapter.js';import{getTranslation as _0x16ec2e}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x3c9403{[_0x1abac0(0x14d)];[_0x1abac0(0x145)];[_0x1abac0(0x161)];static get[_0x1abac0(0x15d)](){const _0x227f29=_0x1abac0;return _0x227f29(0x14f);}constructor(_0x4d70e1){const _0x4b5691=_0x1abac0;super(_0x4d70e1),_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x15b)](_0x4b5691(0x174),_0x4b5691(0x16f)),_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x16c))||_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x15b)](_0x4b5691(0x16c),{'model':_0x4b5691(0x146),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4b5691(0x14d)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x174)),this[_0x4b5691(0x145)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x176))||{},this[_0x4b5691(0x161)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x16c));}async[_0x1abac0(0x159)]({query:_0x18c2a9,context:_0x15510c,onData:_0x71e6a2,actionId:_0x85daf8}){const _0x10e1bf=_0x1abac0,_0x369a0f=this[_0x10e1bf(0x170)][_0x10e1bf(0x154)],_0x1cfc1a=await this[_0x10e1bf(0x13c)](_0x18c2a9,_0x15510c,_0x85daf8),_0x322a2c=await this[_0x10e1bf(0x172)](this[_0x10e1bf(0x145)],_0x85daf8),_0x2cc8d9=await this[_0x10e1bf(0x15e)](this[_0x10e1bf(0x161)],_0x85daf8),_0x55923c={'messages':_0x1cfc1a,..._0x2cc8d9},_0x6fc555={'method':_0x10e1bf(0x13b),'headers':_0x322a2c,'body':JSON[_0x10e1bf(0x160)](_0x55923c),'signal':this[_0x10e1bf(0x175)][_0x10e1bf(0x13a)]},_0x4ab719=await fetch(this[_0x10e1bf(0x14d)],_0x6fc555);if(_0x4ab719['ok'])return _0x2cc8d9[_0x10e1bf(0x163)]?await this[_0x10e1bf(0x148)](_0x4ab719,_0x71e6a2):await this[_0x10e1bf(0x150)](_0x4ab719,_0x71e6a2),Promise[_0x10e1bf(0x177)]();{const _0x4b9e96=await _0x4ab719[_0x10e1bf(0x168)]();return _0x4b9e96[_0x10e1bf(0x158)](_0x10e1bf(0x140))?Promise[_0x10e1bf(0x17a)](new _0x2bad83(_0x16ec2e(_0x369a0f,_0x10e1bf(0x17f)))):_0x4b9e96[_0x10e1bf(0x158)](_0x10e1bf(0x17c))?Promise[_0x10e1bf(0x17a)](new _0x2bad83(_0x16ec2e(_0x369a0f,_0x10e1bf(0x155)))):Promise[_0x10e1bf(0x17a)](new Error(_0x4b9e96));}}async[_0x1abac0(0x13c)](_0x493a24,_0x4253fb,_0x32200c){const _0x1cd117=_0x1abac0;let _0x15de61,_0x29ff9b;return _0x4253fb?(_0x15de61=_0x1cd117(0x153),_0x29ff9b=_0x1cd117(0x166)+_0x493a24+_0x1cd117(0x15f)+_0x4253fb):(_0x15de61=_0x1cd117(0x143),_0x29ff9b=_0x493a24),[{'role':_0x1cd117(0x139),'content':_0x15de61},{'role':_0x1cd117(0x178),'content':_0x29ff9b}];}async[_0x1abac0(0x148)](_0x9afb40,_0x481224){const _0x4aeae7=_0x1abac0,_0x42eab0=_0x9afb40[_0x4aeae7(0x149)][_0x4aeae7(0x13f)](),_0x1a1bd7=new TextDecoder();let _0x4f5e11='',_0x4f50d3='',_0x22f2d7='',_0x2350f8=!0x1;for(;!_0x2350f8;){const {done:_0x5699d8,value:_0x45ef72}=await _0x42eab0[_0x4aeae7(0x16d)](),_0x39f9ab=_0x4f5e11+_0x1a1bd7[_0x4aeae7(0x16e)](_0x45ef72);let _0x311726='';_0x2350f8=_0x5699d8;try{_0x311726=this[_0x4aeae7(0x169)](_0x39f9ab),_0x4f5e11='';}catch{_0x4f5e11=_0x39f9ab;continue;}_0x4f50d3+=_0x311726,!_0x2350f8&&this[_0x4aeae7(0x17b)](_0x4f50d3)||_0x4f50d3&&(_0x22f2d7+=_0x4f50d3,_0x4f50d3='',_0x481224(_0x22f2d7));}return Promise[_0x4aeae7(0x177)]();}async[_0x1abac0(0x150)](_0x2d5543,_0x25cdbb){const _0x1326e9=_0x1abac0;return _0x25cdbb((await _0x2d5543[_0x1326e9(0x152)]())[_0x1326e9(0x14c)][0x0][_0x1326e9(0x13e)][_0x1326e9(0x173)]),Promise[_0x1326e9(0x177)]();}[_0x1abac0(0x17b)](_0x44f4ed){const _0x1b1d16=_0x1abac0,_0x1ba4b2=_0x44f4ed[_0x1b1d16(0x151)]('<')[_0x1b1d16(0x17d)]!==_0x44f4ed[_0x1b1d16(0x151)]('>')[_0x1b1d16(0x17d)],_0x2b071d=_0x44f4ed[_0x1b1d16(0x17d)]<0x1e;return _0x1ba4b2&&_0x2b071d;}[_0x1abac0(0x169)](_0x190e85){const _0x403706=_0x1abac0;return _0x190e85[_0x403706(0x151)](/\n(?![^{]*\})/g)[_0x403706(0x156)](_0x4ceecc=>_0x4ceecc[_0x403706(0x14e)](_0x403706(0x165),''))[_0x403706(0x14a)](_0x353bec=>_0x353bec&&_0x353bec[_0x403706(0x17d)]>0x0&&_0x403706(0x162)!==_0x353bec)[_0x403706(0x156)](_0x560716=>{const _0x282e12=_0x403706,{choices:_0x492e06}=JSON[_0x282e12(0x17e)](_0x560716);if(_0x492e06[0x0]?.[_0x282e12(0x15c)]?.[_0x282e12(0x173)])return _0x492e06[0x0][_0x282e12(0x15c)][_0x282e12(0x173)];})[_0x403706(0x14a)](_0xe29dd4=>_0xe29dd4)[_0x403706(0x13d)]('');}}function _0xfb75(){const _0x1f84cd=['ai.assistant.adapter.openAI.requestParameters','read','decode','https://api.openai.com/v1/chat/completions','editor','get','_prepareRequestHeaders','content','ai.assistant.adapter.openAI.apiUrl','abortController','ai.assistant.adapter.openAI.requestHeaders','resolve','user','2393666eONgaj','reject','_isBufferIncomplete','Moderation','length','parse','AI_ERROR_CONTEXT_LENGTH','102AFJgeG','system','signal','POST','prepareMessages','join','message','getReader','context_length_exceeded','3615npzfBv','1770ntCeza','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','config','_requestHeaders','gpt-4o','1356AaRlDy','_readStreamableResponse','body','filter','511378RyaFPh','choices','_apiUrl','replace','OpenAITextAdapter','_readStaticResponse','split','json','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','locale','AI_ERROR_MODERATION','map','5931aefxSS','includes','sendRequest','4966888HPgynT','define','delta','pluginName','_prepareRequestParameters','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','stringify','_requestParameters','[DONE]','stream','3176xwTkoI','data:\x20','Instruction:\x0a','311998fGJPvT','text','_cleanUpData','321277boXEtD','3tsFBdl'];_0xfb75=function(){return _0x1f84cd;};return _0xfb75();}
23
+ const _0x8c3dbc=_0x24d0;function _0x286a(){const _0x4e9241=['signal','1187937dhyYEh','parse','resolve','context_length_exceeded','system','locale','ai.assistant.adapter.openAI.requestParameters','966296fykilY','25xQSnlu','POST','abortController','editor','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','map','gpt-4o','getReader','_isBufferIncomplete','stringify','2056998eChKJb','split','62973HltAUV','data:\x20','AI_ERROR_MODERATION','replace','[DONE]','12903327ORgyJJ','define','stream','4184EMutrW','message','ai.assistant.adapter.openAI.apiUrl','delta','47376000RlwVtp','length','join','pluginName','https://api.openai.com/v1/chat/completions','AI_ERROR_CONTEXT_LENGTH','_readStaticResponse','text','content','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','_requestParameters','8491xlLAuN','config','_apiUrl','user','_prepareRequestParameters','json','reject','get','includes','sendRequest','_readStreamableResponse','_cleanUpData','Moderation','prepareMessages','ai.assistant.adapter.openAI.requestHeaders','read','Instruction:\x0a','choices','filter','OpenAITextAdapter','decode','4qNVGNr','_prepareRequestHeaders','body','_requestHeaders'];_0x286a=function(){return _0x4e9241;};return _0x286a();}function _0x24d0(_0x5b2fd9,_0x35964a){const _0x286aff=_0x286a();return _0x24d0=function(_0x24d0ad,_0x4ffe0f){_0x24d0ad=_0x24d0ad-0x6e;let _0x9ec9f5=_0x286aff[_0x24d0ad];return _0x9ec9f5;},_0x24d0(_0x5b2fd9,_0x35964a);}(function(_0x4401d0,_0x3e5743){const _0x33ff36=_0x24d0,_0xf50316=_0x4401d0();while(!![]){try{const _0x50131e=parseInt(_0x33ff36(0x7b))/0x1*(parseInt(_0x33ff36(0xa7))/0x2)+-parseInt(_0x33ff36(0xac))/0x3+parseInt(_0x33ff36(0xb3))/0x4+-parseInt(_0x33ff36(0x6e))/0x5*(parseInt(_0x33ff36(0x79))/0x6)+-parseInt(_0x33ff36(0x92))/0x7*(parseInt(_0x33ff36(0x83))/0x8)+-parseInt(_0x33ff36(0x80))/0x9+parseInt(_0x33ff36(0x87))/0xa;if(_0x50131e===_0x3e5743)break;else _0xf50316['push'](_0xf50316['shift']());}catch(_0x33ae14){_0xf50316['push'](_0xf50316['shift']());}}}(_0x286a,0xe249a));import{AITextAdapter as _0x30518d}from'./aitextadapter.js';import{AIRequestError as _0x4ef7cc}from'./aiadapter.js';import{getTranslation as _0x9752c4}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x30518d{[_0x8c3dbc(0x94)];[_0x8c3dbc(0xaa)];[_0x8c3dbc(0x91)];static get[_0x8c3dbc(0x8a)](){const _0x15b9e8=_0x8c3dbc;return _0x15b9e8(0xa5);}constructor(_0x5cccee){const _0x547e81=_0x8c3dbc;super(_0x5cccee),_0x5cccee[_0x547e81(0x93)][_0x547e81(0x81)](_0x547e81(0x85),_0x547e81(0x8b)),_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xb2))||_0x5cccee[_0x547e81(0x93)][_0x547e81(0x81)](_0x547e81(0xb2),{'model':_0x547e81(0x75),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x547e81(0x94)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0x85)),this[_0x547e81(0xaa)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xa0))||{},this[_0x547e81(0x91)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xb2));}async[_0x8c3dbc(0x9b)]({query:_0x3f75af,context:_0x49457b,onData:_0xb950c2,actionId:_0xf3f203}){const _0x127517=_0x8c3dbc,_0x1f060c=this[_0x127517(0x71)][_0x127517(0xb1)],_0xe71acf=await this[_0x127517(0x9f)](_0x3f75af,_0x49457b,_0xf3f203),_0x4cf8ad=await this[_0x127517(0xa8)](this[_0x127517(0xaa)],_0xf3f203),_0x558b80=await this[_0x127517(0x96)](this[_0x127517(0x91)],_0xf3f203),_0x24b24a={'messages':_0xe71acf,..._0x558b80},_0x544645={'method':_0x127517(0x6f),'headers':_0x4cf8ad,'body':JSON[_0x127517(0x78)](_0x24b24a),'signal':this[_0x127517(0x70)][_0x127517(0xab)]},_0x232632=await fetch(this[_0x127517(0x94)],_0x544645);if(_0x232632['ok'])return _0x558b80[_0x127517(0x82)]?await this[_0x127517(0x9c)](_0x232632,_0xb950c2):await this[_0x127517(0x8d)](_0x232632,_0xb950c2),Promise[_0x127517(0xae)]();{const _0x30e1af=await _0x232632[_0x127517(0x8e)]();return _0x30e1af[_0x127517(0x9a)](_0x127517(0xaf))?Promise[_0x127517(0x98)](new _0x4ef7cc(_0x9752c4(_0x1f060c,_0x127517(0x8c)))):_0x30e1af[_0x127517(0x9a)](_0x127517(0x9e))?Promise[_0x127517(0x98)](new _0x4ef7cc(_0x9752c4(_0x1f060c,_0x127517(0x7d)))):Promise[_0x127517(0x98)](new Error(_0x30e1af));}}async[_0x8c3dbc(0x9f)](_0x4f0f66,_0x3e4779,_0x173fdb){const _0x357b79=_0x8c3dbc;let _0x73d25a,_0x3af707;return _0x3e4779?(_0x73d25a=_0x357b79(0x90),_0x3af707=_0x357b79(0xa2)+_0x4f0f66+_0x357b79(0x72)+_0x3e4779):(_0x73d25a=_0x357b79(0x73),_0x3af707=_0x4f0f66),[{'role':_0x357b79(0xb0),'content':_0x73d25a},{'role':_0x357b79(0x95),'content':_0x3af707}];}async[_0x8c3dbc(0x9c)](_0x7db43,_0x13917e){const _0x1288fc=_0x8c3dbc,_0x4c9bb0=_0x7db43[_0x1288fc(0xa9)][_0x1288fc(0x76)](),_0x56df4e=new TextDecoder();let _0x4d9f7c='',_0x4b6e2f='',_0x5e4128='',_0x3133fe=!0x1;for(;!_0x3133fe;){const {done:_0xbe517d,value:_0x3502a6}=await _0x4c9bb0[_0x1288fc(0xa1)](),_0x4995c0=_0x4d9f7c+_0x56df4e[_0x1288fc(0xa6)](_0x3502a6);let _0x142c2a='';_0x3133fe=_0xbe517d;try{_0x142c2a=this[_0x1288fc(0x9d)](_0x4995c0),_0x4d9f7c='';}catch{_0x4d9f7c=_0x4995c0;continue;}_0x4b6e2f+=_0x142c2a,!_0x3133fe&&this[_0x1288fc(0x77)](_0x4b6e2f)||_0x4b6e2f&&(_0x5e4128+=_0x4b6e2f,_0x4b6e2f='',_0x13917e(_0x5e4128));}return Promise[_0x1288fc(0xae)]();}async[_0x8c3dbc(0x8d)](_0x5e990f,_0x7e28bd){const _0x5222ed=_0x8c3dbc;return _0x7e28bd((await _0x5e990f[_0x5222ed(0x97)]())[_0x5222ed(0xa3)][0x0][_0x5222ed(0x84)][_0x5222ed(0x8f)]),Promise[_0x5222ed(0xae)]();}[_0x8c3dbc(0x77)](_0x3ddd40){const _0xa274d7=_0x8c3dbc,_0x3241df=_0x3ddd40[_0xa274d7(0x7a)]('<')[_0xa274d7(0x88)]!==_0x3ddd40[_0xa274d7(0x7a)]('>')[_0xa274d7(0x88)],_0x326667=_0x3ddd40[_0xa274d7(0x88)]<0x1e;return _0x3241df&&_0x326667;}[_0x8c3dbc(0x9d)](_0x23c5e4){const _0x564c51=_0x8c3dbc;return _0x23c5e4[_0x564c51(0x7a)](/\n(?![^{]*\})/g)[_0x564c51(0x74)](_0x3d7997=>_0x3d7997[_0x564c51(0x7e)](_0x564c51(0x7c),''))[_0x564c51(0xa4)](_0x295bfd=>_0x295bfd&&_0x295bfd[_0x564c51(0x88)]>0x0&&_0x564c51(0x7f)!==_0x295bfd)[_0x564c51(0x74)](_0x1fc6e6=>{const _0x34816c=_0x564c51,{choices:_0xa01e8a}=JSON[_0x34816c(0xad)](_0x1fc6e6);if(_0xa01e8a[0x0]?.[_0x34816c(0x86)]?.[_0x34816c(0x8f)])return _0xa01e8a[0x0][_0x34816c(0x86)][_0x34816c(0x8f)];})[_0x564c51(0xa4)](_0x5bad06=>_0x5bad06)[_0x564c51(0x89)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x561081=_0xfc7d;(function(_0x14ef0d,_0x194734){const _0x23b906=_0xfc7d,_0x10329=_0x14ef0d();while(!![]){try{const _0xe99fe3=parseInt(_0x23b906(0x1cf))/0x1+parseInt(_0x23b906(0x173))/0x2*(parseInt(_0x23b906(0x1be))/0x3)+-parseInt(_0x23b906(0x1d4))/0x4*(parseInt(_0x23b906(0x1bc))/0x5)+parseInt(_0x23b906(0x16d))/0x6+parseInt(_0x23b906(0x18a))/0x7+-parseInt(_0x23b906(0x166))/0x8+-parseInt(_0x23b906(0x19c))/0x9*(-parseInt(_0x23b906(0x1c6))/0xa);if(_0xe99fe3===_0x194734)break;else _0x10329['push'](_0x10329['shift']());}catch(_0x4d3ea8){_0x10329['push'](_0x10329['shift']());}}}(_0x5191,0x9af95));function _0xfc7d(_0x59fe23,_0x9f6c5d){const _0x519117=_0x5191();return _0xfc7d=function(_0xfc7d27,_0x1bc620){_0xfc7d27=_0xfc7d27-0x166;let _0x5dea4=_0x519117[_0xfc7d27];return _0x5dea4;},_0xfc7d(_0x59fe23,_0x9f6c5d);}import{Plugin as _0xe0a83b}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2507f9}from'./aiassistantui.js';import{AIAssistantEditing as _0x5e3226}from'./aiassistantediting.js';import{getTranslation as _0x3c6e35}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3e3d4a}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xe0a83b{static get[_0x561081(0x19e)](){return[_0x2507f9,_0x5e3226];}static get[_0x561081(0x19f)](){const _0x94f049=_0x561081;return _0x94f049(0x175);}static get[_0x561081(0x188)](){return!0x0;}static get[_0x561081(0x199)](){return!0x0;}constructor(_0x1b772e){const _0x145df8=_0x561081;super(_0x1b772e);const _0x5e46ec=_0x1b772e[_0x145df8(0x1cd)],_0x2517f9=_0x1b772e[_0x145df8(0x19a)];_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x191),!0x0),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x1cc),getDefaultAICommands(_0x2517f9)),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x1d3),[]),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x18e),[]);let _0x5a59ff=_0x3e3d4a(_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x1cc)),_0x2517f9);const _0x4a9492=_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x1d3)),_0x541a4d=_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x18e));_0x4a9492[_0x145df8(0x17a)](_0x6fe8e6=>{const _0x399d7f=_0x145df8,_0x5ccce5=_0x5a59ff[_0x399d7f(0x1ab)](_0x332ab0=>_0x332ab0[_0x399d7f(0x19d)]===_0x6fe8e6[_0x399d7f(0x19d)]);_0x5ccce5?_0x5ccce5[_0x399d7f(0x17c)]=_0x5ccce5[_0x399d7f(0x17c)][_0x399d7f(0x184)](_0x6fe8e6[_0x399d7f(0x17c)]):_0x5a59ff[_0x399d7f(0x1a5)](_0x6fe8e6);}),_0x5a59ff=_0x5a59ff[_0x145df8(0x1b1)](_0x1ee2c1=>!_0x541a4d[_0x145df8(0x18b)](_0x1ee2c1[_0x145df8(0x19d)])),_0x5a59ff[_0x145df8(0x17a)](_0x3508cb=>{const _0x59ebfb=_0x145df8;_0x3508cb[_0x59ebfb(0x17c)]=_0x3508cb[_0x59ebfb(0x17c)][_0x59ebfb(0x1b1)](_0x5cdadf=>!_0x541a4d[_0x59ebfb(0x18b)](_0x5cdadf['id']));}),_0x5e46ec[_0x145df8(0x1c0)](_0x145df8(0x1cc),_0x5a59ff);}}function _0x5191(){const _0x1a836b=['Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Change\x20style','translateEnglish','translatePortuguese','Portuguese','translateChinese','105EQNVJx','Translate\x20the\x20content\x20to\x20English\x20language.','414489peAwom','translateArabic','set','simplifyLanguage','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','define','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','17950HHasrM','Translate\x20the\x20content\x20to\x20French\x20language.','business','translate','legal','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','ai.assistant.commands','config','poetic','1084400VYQYri','Continue','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Edit\x20or\x20review','ai.assistant.extraCommandGroups','210468tGYObG','6770672FPMnBz','Make\x20longer','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','continue','translateSpanish','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','2796144iNTsTJ','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','English','makeShorter','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Make\x20shorter','2yvuIRO','Improve\x20writing','AIAssistant','translateFrench','direct','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Summarize','forEach','translateGerman','commands','changeTone','journalism','Arabic','Simplify\x20language','editOrReview','Change\x20tone','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','concat','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','summarize','Translate\x20the\x20content\x20to\x20German\x20language.','isOfficialPlugin','professional','2349494fxLPqI','includes','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Professional','ai.assistant.removeCommands','Business','French','ai.assistant.preserveComments','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Journalism','Confident','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Generate\x20from\x20selection','get','isPremiumPlugin','locale','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','2817jiSmcX','groupId','requires','pluginName','Casual','friendly','Poetic','Spanish','Legal','push','confident','Hindi','translateHindi','generate','Simplified\x20Chinese','find','makeLonger','German','Friendly','changeStyle','improveWriting','filter','casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Direct','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'];_0x5191=function(){return _0x1a836b;};return _0x5191();}export function getDefaultAICommands(_0x382e12){const _0x5851c5=_0x561081;return[{'groupId':_0x5851c5(0x181),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x1d2)),'commands':[{'id':_0x5851c5(0x1b0),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x174)),'prompt':_0x5851c5(0x19b)},{'id':_0x5851c5(0x170),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x172)),'prompt':_0x5851c5(0x1c2)},{'id':_0x5851c5(0x1ac),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x167)),'prompt':_0x5851c5(0x183)},{'id':_0x5851c5(0x1c1),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x180)),'prompt':_0x5851c5(0x178)}]},{'groupId':_0x5851c5(0x1a9),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x197)),'commands':[{'id':_0x5851c5(0x186),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x179)),'prompt':_0x5851c5(0x16e)},{'id':_0x5851c5(0x16a),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1d0)),'prompt':_0x5851c5(0x18c)}]},{'groupId':_0x5851c5(0x17d),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x182)),'commands':[{'id':_0x5851c5(0x189),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x18d)),'prompt':_0x5851c5(0x168)},{'id':_0x5851c5(0x1b2),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a0)),'prompt':_0x5851c5(0x1b6)},{'id':_0x5851c5(0x177),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1b4)),'prompt':_0x5851c5(0x16c)},{'id':_0x5851c5(0x1a6),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x195)),'prompt':_0x5851c5(0x1cb)},{'id':_0x5851c5(0x1a1),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ae)),'prompt':_0x5851c5(0x1d1)}]},{'groupId':_0x5851c5(0x1af),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x1b7)),'commands':[{'id':_0x5851c5(0x1c8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x18f)),'prompt':_0x5851c5(0x185)},{'id':_0x5851c5(0x1ca),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a4)),'prompt':_0x5851c5(0x196)},{'id':_0x5851c5(0x17e),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x194)),'prompt':_0x5851c5(0x193)},{'id':_0x5851c5(0x1ce),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a2)),'prompt':_0x5851c5(0x171)}]},{'groupId':_0x5851c5(0x1c9),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x169)),'commands':[{'id':_0x5851c5(0x1b8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x16f)),'prompt':_0x5851c5(0x1bd)},{'id':_0x5851c5(0x16b),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a3)),'prompt':_0x5851c5(0x1b3)},{'id':_0x5851c5(0x1b9),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ba)),'prompt':_0x5851c5(0x1c5)},{'id':_0x5851c5(0x17b),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ad)),'prompt':_0x5851c5(0x187)},{'id':_0x5851c5(0x176),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x190)),'prompt':_0x5851c5(0x1c7)},{'id':_0x5851c5(0x1bb),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1aa)),'prompt':_0x5851c5(0x1b5)},{'id':_0x5851c5(0x1a8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a7)),'prompt':_0x5851c5(0x192)},{'id':_0x5851c5(0x1bf),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x17f)),'prompt':_0x5851c5(0x1c3)}]}];}
23
+ const _0x3a4cf3=_0x2ae8;function _0x8b4f(){const _0x5d24bc=['summarize','friendly','direct','Arabic','push','Hindi','set','translate','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','translateSpanish','filter','translateFrench','translateGerman','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','get','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','makeShorter','Confident','legal','find','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','529184YOtoHv','German','French','business','Translate\x20the\x20content\x20to\x20English\x20language.','Journalism','ai.assistant.preserveComments','translateChinese','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','includes','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Portuguese','casual','commands','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','journalism','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Summarize','editOrReview','Make\x20longer','poetic','translateArabic','Simplified\x20Chinese','Improve\x20writing','666670uSwCSQ','makeLonger','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','continue','requires','config','1925165UHKDnf','translateEnglish','simplifyLanguage','Translate','Make\x20shorter','518304KQMcQp','Friendly','Spanish','changeTone','Change\x20tone','Poetic','pluginName','50ZNGMnU','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','10zqHkyu','Direct','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','ai.assistant.extraCommandGroups','Business','translateHindi','translatePortuguese','Translate\x20the\x20content\x20to\x20German\x20language.','locale','groupId','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','confident','Translate\x20the\x20content\x20to\x20French\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','AIAssistant','Edit\x20or\x20review','Generate\x20from\x20selection','39PPOAHD','generate','Continue','isPremiumPlugin','professional','ai.assistant.removeCommands','English','6867360GSPUlr','changeStyle','define','115258stddVV','Legal','Simplify\x20language','concat','Professional','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','ai.assistant.commands','Casual','forEach','42zwkCgq','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','322194yRhyiT','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Change\x20style','isOfficialPlugin','improveWriting','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'];_0x8b4f=function(){return _0x5d24bc;};return _0x8b4f();}(function(_0x97e982,_0x3c9e2d){const _0x4eb5e8=_0x2ae8,_0x3d4054=_0x97e982();while(!![]){try{const _0x128c8b=parseInt(_0x4eb5e8(0xee))/0x1+parseInt(_0x4eb5e8(0x11e))/0x2*(-parseInt(_0x4eb5e8(0x114))/0x3)+-parseInt(_0x4eb5e8(0xd6))/0x4+parseInt(_0x4eb5e8(0x102))/0x5*(parseInt(_0x4eb5e8(0x129))/0x6)+-parseInt(_0x4eb5e8(0x127))/0x7*(-parseInt(_0x4eb5e8(0xf9))/0x8)+-parseInt(_0x4eb5e8(0x11b))/0x9+-parseInt(_0x4eb5e8(0x100))/0xa*(-parseInt(_0x4eb5e8(0xf4))/0xb);if(_0x128c8b===_0x3c9e2d)break;else _0x3d4054['push'](_0x3d4054['shift']());}catch(_0x31dcfd){_0x3d4054['push'](_0x3d4054['shift']());}}}(_0x8b4f,0x6008e));import{Plugin as _0x58202f}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x44021c}from'./aiassistantui.js';import{AIAssistantEditing as _0x29b023}from'./aiassistantediting.js';function _0x2ae8(_0x35e637,_0x2eb67e){const _0x8b4f83=_0x8b4f();return _0x2ae8=function(_0x2ae87f,_0x3fe8fe){_0x2ae87f=_0x2ae87f-0xc3;let _0x42f400=_0x8b4f83[_0x2ae87f];return _0x42f400;},_0x2ae8(_0x35e637,_0x2eb67e);}import{getTranslation as _0x364fdf}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3b3ef4}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x58202f{static get[_0x3a4cf3(0xf2)](){return[_0x44021c,_0x29b023];}static get[_0x3a4cf3(0xff)](){const _0x566a80=_0x3a4cf3;return _0x566a80(0x111);}static get[_0x3a4cf3(0x12d)](){return!0x0;}static get[_0x3a4cf3(0x117)](){return!0x0;}constructor(_0xabaea3){const _0x4d0961=_0x3a4cf3;super(_0xabaea3);const _0x2a13f5=_0xabaea3[_0x4d0961(0xf3)],_0x3f86b4=_0xabaea3[_0x4d0961(0x10a)];_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0xdc),!0x0),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x124),getDefaultAICommands(_0x3f86b4)),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x105),[]),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x119),[]);let _0x5bd7b0=_0x3b3ef4(_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x124)),_0x3f86b4);const _0x4233f8=_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x105)),_0xf3cdb=_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x119));_0x4233f8[_0x4d0961(0x126)](_0x6b28a2=>{const _0x29d035=_0x4d0961,_0xa4e8a1=_0x5bd7b0[_0x29d035(0xd4)](_0x1da663=>_0x1da663[_0x29d035(0x10b)]===_0x6b28a2[_0x29d035(0x10b)]);_0xa4e8a1?_0xa4e8a1[_0x29d035(0xe3)]=_0xa4e8a1[_0x29d035(0xe3)][_0x29d035(0x121)](_0x6b28a2[_0x29d035(0xe3)]):_0x5bd7b0[_0x29d035(0xc4)](_0x6b28a2);}),_0x5bd7b0=_0x5bd7b0[_0x4d0961(0xca)](_0x71adc9=>!_0xf3cdb[_0x4d0961(0xdf)](_0x71adc9[_0x4d0961(0x10b)])),_0x5bd7b0[_0x4d0961(0x126)](_0x363ba3=>{const _0x591ce0=_0x4d0961;_0x363ba3[_0x591ce0(0xe3)]=_0x363ba3[_0x591ce0(0xe3)][_0x591ce0(0xca)](_0x13c770=>!_0xf3cdb[_0x591ce0(0xdf)](_0x13c770['id']));}),_0x2a13f5[_0x4d0961(0xc6)](_0x4d0961(0x124),_0x5bd7b0);}}export function getDefaultAICommands(_0xe78f44){const _0x1de09e=_0x3a4cf3;return[{'groupId':_0x1de09e(0xe8),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x112)),'commands':[{'id':_0x1de09e(0x12e),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xed)),'prompt':_0x1de09e(0x10d)},{'id':_0x1de09e(0xd1),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xf8)),'prompt':_0x1de09e(0xe6)},{'id':_0x1de09e(0xef),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe9)),'prompt':_0x1de09e(0xde)},{'id':_0x1de09e(0xf6),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x120)),'prompt':_0x1de09e(0x10c)}]},{'groupId':_0x1de09e(0x115),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x113)),'commands':[{'id':_0x1de09e(0x130),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe7)),'prompt':_0x1de09e(0xcd)},{'id':_0x1de09e(0xf1),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x116)),'prompt':_0x1de09e(0xcf)}]},{'groupId':_0x1de09e(0xfc),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0xfd)),'commands':[{'id':_0x1de09e(0x118),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x122)),'prompt':_0x1de09e(0xd5)},{'id':_0x1de09e(0xe2),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x125)),'prompt':_0x1de09e(0x104)},{'id':_0x1de09e(0x132),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x103)),'prompt':_0x1de09e(0x101)},{'id':_0x1de09e(0x10e),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd2)),'prompt':_0x1de09e(0x12f)},{'id':_0x1de09e(0x131),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfa)),'prompt':_0x1de09e(0xf0)}]},{'groupId':_0x1de09e(0x11c),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x12c)),'commands':[{'id':_0x1de09e(0xd9),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x106)),'prompt':_0x1de09e(0x110)},{'id':_0x1de09e(0xd3),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x11f)),'prompt':_0x1de09e(0xe4)},{'id':_0x1de09e(0xe5),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xdb)),'prompt':_0x1de09e(0xd0)},{'id':_0x1de09e(0xea),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfe)),'prompt':_0x1de09e(0x123)}]},{'groupId':_0x1de09e(0xc7),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0xf7)),'commands':[{'id':_0x1de09e(0xf5),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x11a)),'prompt':_0x1de09e(0xda)},{'id':_0x1de09e(0xc9),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfb)),'prompt':_0x1de09e(0x12a)},{'id':_0x1de09e(0x108),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe1)),'prompt':_0x1de09e(0x128)},{'id':_0x1de09e(0xcc),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd7)),'prompt':_0x1de09e(0x109)},{'id':_0x1de09e(0xcb),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd8)),'prompt':_0x1de09e(0x10f)},{'id':_0x1de09e(0xdd),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xec)),'prompt':_0x1de09e(0xc8)},{'id':_0x1de09e(0x107),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xc5)),'prompt':_0x1de09e(0x12b)},{'id':_0x1de09e(0xeb),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xc3)),'prompt':_0x1de09e(0xe0)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x39e0(){const _0x4d2adb=['markers','filter','_getDefaultInsertBelowPosition','isOfficialPlugin','ck-fake-ai-selection_collapsed','insertContentBelow','createPositionAfter','createSelection','insertRows','fromCharCode','1215756pQXUva','getLastPosition','removeMarker','createRange','getLastMatchingPosition','once','for','afterInit','element','isContent','length','createUIElement','selection','ck-ai-assistant-ui_theme','isPremiumPlugin','init','end','span','3096926BGuIYT','deleteContent','isCollapsed','table','join','ck-fake-ai-selection','plugins','_prepareTableInsertBelowPosition','findAncestor','_getAISelection','TableUtils','346912hSsMjO','lowest','getFirstRange','1fTuwDY','document','getMarkersGroup','pluginName','contentInsertion','setData','href','getSelectedBlocks','data','start','setSelection','pop','hideFakeVisualSelection','push','schema','createPositionAt','config','getColumnIndexes','forEach','addClass','6OiIzde','editing','3061295RgVvcA','fire','getSelectedTableCells','getChildren','has','AIAssistantEditing','DataTransfer','get','updateMarker','getRange','canEditAt','insertContent','_resetContentOfSelectedTableCells','conversion','text/html','markerToHighlight','resultRange','getRows','model','ai.assistant.useTheme','parse','markerRange','editingDowncast','paste','getRanges','ai-ui','1219576KtNmzw','getRowIndexes','markerToElement','12265418VgZaQi','from','_getTableRowCountFromContent','first','showFakeVisualSelection','18490HnSKro','off','_pasteHTMLUsingClipboard','_createEmptyTableRows','last','1026bsYGyW','change','editor','getChild','map','addMarker','isAtEnd','6visKBL'];_0x39e0=function(){return _0x4d2adb;};return _0x39e0();}const _0x5f2f6f=_0x49d3;(function(_0x1014e1,_0x191fdc){const _0x59b28c=_0x49d3,_0x112a5e=_0x1014e1();while(!![]){try{const _0x56bb77=-parseInt(_0x59b28c(0x130))/0x1*(-parseInt(_0x59b28c(0xf1))/0x2)+parseInt(_0x59b28c(0x105))/0x3*(-parseInt(_0x59b28c(0x110))/0x4)+-parseInt(_0x59b28c(0xd7))/0x5*(parseInt(_0x59b28c(0xd5))/0x6)+-parseInt(_0x59b28c(0x122))/0x7+parseInt(_0x59b28c(0x12d))/0x8+parseInt(_0x59b28c(0xfe))/0x9*(parseInt(_0x59b28c(0xf9))/0xa)+parseInt(_0x59b28c(0xf4))/0xb;if(_0x56bb77===_0x191fdc)break;else _0x112a5e['push'](_0x112a5e['shift']());}catch(_0x542724){_0x112a5e['push'](_0x112a5e['shift']());}}}(_0x39e0,0x4d405));function _0x49d3(_0x559d7e,_0x298dd4){const _0x39e0c4=_0x39e0();return _0x49d3=function(_0x49d3e4,_0x48833c){_0x49d3e4=_0x49d3e4-0xd2;let _0x1827d6=_0x39e0c4[_0x49d3e4];return _0x1827d6;},_0x49d3(_0x559d7e,_0x298dd4);}import{uid as _0x321c3a}from'ckeditor5/src/utils.js';import{Plugin as _0x33c487}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x242ef8}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x504e3f,ViewDataTransfer as _0x334d3e}from'ckeditor5/src/engine.js';const w=globalThis[_0x5f2f6f(0xdd)],f=_0x5f2f6f(0xf0);export class AIAssistantEditing extends _0x33c487{static get[_0x5f2f6f(0x133)](){const _0x42d3d8=_0x5f2f6f;return _0x42d3d8(0xdc);}static get[_0x5f2f6f(0x109)](){return!0x0;}static get[_0x5f2f6f(0x11e)](){return!0x0;}[_0x5f2f6f(0x11f)](){const _0x1e5ab1=_0x5f2f6f,{editor:_0x52fbbb}=this,_0x489c99=[_0x1e5ab1(0x127)];_0x52fbbb[_0x1e5ab1(0x140)][_0x1e5ab1(0xde)](_0x1e5ab1(0xea))&&_0x489c99[_0x1e5ab1(0x13d)](_0x1e5ab1(0x11d)),_0x52fbbb[_0x1e5ab1(0xe4)][_0x1e5ab1(0x116)](_0x1e5ab1(0xed))[_0x1e5ab1(0xe6)]({'model':f,'view':{'classes':_0x489c99,'priority':0xc}}),_0x52fbbb[_0x1e5ab1(0xe4)][_0x1e5ab1(0x116)](_0x1e5ab1(0xed))[_0x1e5ab1(0xf3)]({'model':f,'view':(_0x778b1e,{writer:_0xda10fd})=>{const _0x2110c0=_0x1e5ab1;if(!_0x778b1e[_0x2110c0(0xec)][_0x2110c0(0x124)])return null;const _0x8690c3=_0xda10fd[_0x2110c0(0x11b)](_0x2110c0(0x121));return _0xda10fd[_0x2110c0(0xd4)]([_0x2110c0(0x127),_0x2110c0(0x10a)],_0x8690c3),_0x8690c3;}});}[_0x5f2f6f(0x117)](){!async function(_0x7c8fc9){const _0x3702e4=_0x10a3fc([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x4fd0fc=0x3dffc4e1,_0x41c6f6=0x3df84329^_0x4fd0fc,_0x2deeb3=window[_0x10a3fc([0x44,0x61,0x74,0x65])][_0x10a3fc([0x6e,0x6f,0x77])](),_0x567e4f=_0x7c8fc9[_0x10a3fc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26d5ea=new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3152f5=>{_0x567e4f[_0x10a3fc([0x6f,0x6e,0x63,0x65])](_0x10a3fc([0x72,0x65,0x61,0x64,0x79]),_0x3152f5);}),_0x56c6a8={[_0x10a3fc([0x6b,0x74,0x79])]:_0x10a3fc([0x45,0x43]),[_0x10a3fc([0x75,0x73,0x65])]:_0x10a3fc([0x73,0x69,0x67]),[_0x10a3fc([0x63,0x72,0x76])]:_0x10a3fc([0x50,0x2d,0x32,0x35,0x36]),[_0x10a3fc([0x78])]:_0x10a3fc([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x10a3fc([0x79])]:_0x10a3fc([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x10a3fc([0x61,0x6c,0x67])]:_0x10a3fc([0x45,0x53,0x32,0x35,0x36])},_0x479999=_0x567e4f[_0x10a3fc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10a3fc([0x67,0x65,0x74])](_0x10a3fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x594c2d(){let _0x4b08eb,_0x5549d8=null,_0x1aa31b=null;try{if(_0x479999==_0x10a3fc([0x47,0x50,0x4c]))return _0x10a3fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b08eb=_0x5d5ea5(),!_0x4b08eb)return _0x10a3fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b08eb[_0x10a3fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1aa31b=_0x4fb1e7(_0x4b08eb[_0x10a3fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b08eb[_0x10a3fc([0x6a,0x74,0x69])])),await _0x2ee711()?_0x3d9622()?_0x362624()?_0x10a3fc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3077fb()?(_0x4b08eb[_0x10a3fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10a3fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5549d8=_0x5cfb74(_0x10a3fc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x586cb2()):_0x10a3fc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10a3fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10a3fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x10a3fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x362624(){const _0x2af9da=[_0x10a3fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10a3fc([0x74,0x72,0x69,0x61,0x6c])][_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b08eb[_0x10a3fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2deeb3/0x3e8:0xe10*_0x41c6f6;return _0x4b08eb[_0x10a3fc([0x65,0x78,0x70])]<_0x2af9da;}function _0x3d9622(){const _0x473ded=_0x4b08eb[_0x10a3fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x473ded&&(!!_0x473ded[_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a3fc([0x2a]))||!!_0x473ded[_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a3fc([0x41,0x49])));}function _0x3077fb(){const _0x497758=_0x49d3,_0x2b310b=_0x4b08eb[_0x10a3fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b310b||0x0==_0x2b310b[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4bf125}=new URL(window[_0x10a3fc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x497758(0x136)]);if(_0x2b310b[_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bf125))return!0x0;const _0x4cbf28=_0x4bf125[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])](_0x10a3fc([0x2e]));return _0x2b310b[_0x10a3fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ab09c=>_0x2ab09c[_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a3fc([0x2a])))[_0x10a3fc([0x6d,0x61,0x70])](_0x12aa9f=>_0x12aa9f[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])](_0x10a3fc([0x2e])))[_0x10a3fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481110=>_0x481110[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4cbf28[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10a3fc([0x6d,0x61,0x70])](_0x2e3656=>Array(_0x4cbf28[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e3656[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10a3fc([0x66,0x69,0x6c,0x6c])](_0x2e3656[0x0]===_0x10a3fc([0x2a])?_0x10a3fc([0x2a]):'')[_0x10a3fc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e3656))[_0x10a3fc([0x73,0x6f,0x6d,0x65])](_0x3e94cc=>_0x4cbf28[_0x10a3fc([0x65,0x76,0x65,0x72,0x79])]((_0x31ec91,_0x27cf2c)=>_0x3e94cc[_0x27cf2c]===_0x31ec91||_0x3e94cc[_0x27cf2c]===_0x10a3fc([0x2a])));}function _0x586cb2(){return _0x5549d8&&_0x1aa31b?new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b3b8b,_0x8f9eac)=>{_0x5549d8[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x3b3b8b,_0x8f9eac),_0x1aa31b[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x1fe5bc=>{_0x1fe5bc!=_0x10a3fc([0x56,0x61,0x6c,0x69,0x64])&&_0x3b3b8b(_0x1fe5bc);},_0x8f9eac);}):_0x5549d8||_0x1aa31b||_0x10a3fc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4fb1e7(_0x3bb583,_0x53bc2a){return new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2427f2=>{if(_0x2cb04e())return _0x2427f2(_0x10a3fc([0x56,0x61,0x6c,0x69,0x64]));_0x4b7e91(),_0x567e4f[_0x10a3fc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10a3fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4112ce=!0x1;const _0x5c4564=_0x321c3a();function _0x5e8d0a(_0x3ca0f0){return!!_0x3ca0f0&&(typeof _0x3ca0f0===_0x10a3fc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ca0f0===_0x10a3fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ca0f0[_0x10a3fc([0x74,0x68,0x65,0x6e])]===_0x10a3fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ca0f0[_0x10a3fc([0x63,0x61,0x74,0x63,0x68])]===_0x10a3fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51d29e(_0x1949ca){_0x5166c8(_0x1949ca)[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x1a0e17=>{if(!_0x1a0e17||_0x1a0e17[_0x10a3fc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10a3fc([0x6f,0x6b]))return _0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4459e6(_0x2928b8(_0x5c4564+_0x53bc2a))!=_0x1a0e17[_0x10a3fc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10a3fc([0x56,0x61,0x6c,0x69,0x64]);})[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x1e8b1c=>(_0x47a011(),_0x1e8b1c),()=>{const _0x4b1f96=_0x322886();return null==_0x4b1f96?(_0x47a011(),_0x10a3fc([0x56,0x61,0x6c,0x69,0x64])):_0x10a3fc(_0x2deeb3-_0x4b1f96>(0x19f340e1^_0x4fd0fc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x2427f2)[_0x10a3fc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2427f2(_0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28be66=0x3dc92a61^_0x4fd0fc;function _0x47a011(){const _0x128f20=_0x10a3fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4459e6(_0x2928b8(_0x3bb583)),_0x547752=_0x39ef96(_0x4459e6(window[_0x10a3fc([0x4d,0x61,0x74,0x68])][_0x10a3fc([0x63,0x65,0x69,0x6c])](_0x2deeb3/_0x28be66)));window[_0x10a3fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10a3fc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x128f20,_0x547752);}function _0x322886(){const _0x5420db=_0x10a3fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4459e6(_0x2928b8(_0x3bb583)),_0x342800=window[_0x10a3fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10a3fc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5420db);return _0x342800?window[_0x10a3fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39ef96(_0x342800),0x10)*_0x28be66:null;}function _0x5166c8(_0x1c2b43){return new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x410485,_0x22c328)=>{_0x1c2b43[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x410485,_0x22c328),window[_0x10a3fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22c328,0x3dfe1021^_0x4fd0fc);});}}_0x567e4f[_0x10a3fc([0x6f,0x6e])](_0x10a3fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x511573,_0x22428d)=>{if(_0x22428d[0x0]!=_0x3bb583)return _0x2427f2(_0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22428d[0x1]={..._0x22428d[0x1],[_0x10a3fc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c4564};},{[_0x10a3fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10a3fc([0x68,0x69,0x67,0x68])}),_0x567e4f[_0x10a3fc([0x6f,0x6e])](_0x10a3fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3776f6=>{_0x5e8d0a(_0x3776f6[_0x10a3fc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4112ce=!0x0,_0x51d29e(_0x3776f6[_0x10a3fc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10a3fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10a3fc([0x6c,0x6f,0x77])}),_0x26d5ea[_0x10a3fc([0x74,0x68,0x65,0x6e])](()=>{_0x4112ce||_0x2427f2(_0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2cb04e(){return _0x567e4f[_0x10a3fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10a3fc([0x76,0x69,0x65,0x77])][_0x10a3fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10a3fc([0x61,0x75,0x74,0x6f]);}function _0x4b7e91(){_0x567e4f[_0x10a3fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10a3fc([0x76,0x69,0x65,0x77])][_0x10a3fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10a3fc([0x61,0x75,0x74,0x6f]);}}function _0x5cfb74(_0x30becb){const _0x5e9563=[new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57018f=>setTimeout(_0x57018f,0x3df6fa2d^_0x4fd0fc)),_0x26d5ea[_0x10a3fc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2623c7=>{let _0x1eb25d=0x0;_0x567e4f[_0x10a3fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a3fc([0x6f,0x6e])](_0x10a3fc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43cb1f,_0x54378b)=>{_0x54378b[0x0][_0x10a3fc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1eb25d++,_0x1eb25d==(0x3dffc109^_0x4fd0fc)&&(_0x2623c7(),_0x43cb1f[_0x10a3fc([0x6f,0x66,0x66])]());});}))];return window[_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10a3fc([0x72,0x61,0x63,0x65])](_0x5e9563)[_0x10a3fc([0x74,0x68,0x65,0x6e])](()=>_0x30becb);}async function _0xdc07f2(){await _0x26d5ea,_0x567e4f[_0x10a3fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a3fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fda45,_0x567e4f[_0x10a3fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a3fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fda45,_0x567e4f[_0x10a3fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10a3fc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c8e49(_0x4dab25){const _0x4e24b9=_0x552e0d();_0x567e4f[_0x4e24b9]=_0x10a3fc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4dab25,_0x4dab25!=_0x10a3fc([0x56,0x61,0x6c,0x69,0x64])&&_0xdc07f2();}function _0x552e0d(){const _0x4d6564=window[_0x10a3fc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10a3fc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10a3fc([0x6e,0x6f,0x77])]())[_0x10a3fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10a3fc([0x2e]),'');let _0x42d64c=_0x10a3fc([0x6e]);for(let _0x3c627b=0x0;_0x3c627b<_0x4d6564[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c627b+=0x2){let _0x2fd702=window[_0x10a3fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d6564[_0x10a3fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c627b,_0x3c627b+0x2));_0x2fd702>=_0x3702e4[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2fd702-=_0x3702e4[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42d64c+=_0x3702e4[_0x2fd702];}return _0x42d64c;}function _0x5d5ea5(){const _0x180e07=_0x479999[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])](_0x10a3fc([0x2e]));if(0x3!=_0x180e07[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a1a90(_0x180e07[0x1]);function _0x3a1a90(_0x3b35c5){const _0x2a7d85=_0x1e0c0a(_0x3b35c5);return _0x2a7d85&&_0x2f8664()?_0x2a7d85:null;function _0x2f8664(){const _0x3095f6=_0x2a7d85[_0x10a3fc([0x6a,0x74,0x69])],_0x54c5ee=window[_0x10a3fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3095f6[_0x10a3fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3095f6[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9351ae={..._0x2a7d85,[_0x10a3fc([0x6a,0x74,0x69])]:_0x3095f6[_0x10a3fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3095f6[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9351ae[_0x10a3fc([0x76,0x63])],_0x2928b8(_0x9351ae)==_0x54c5ee;}}}async function _0x2ee711(){let _0x3bcb51=!0x0;try{const _0x419b26=_0x479999[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])](_0x10a3fc([0x2e])),[_0x266de9,_0x7d3d13,_0x12b8c8]=_0x419b26;return _0x1286b6(_0x266de9),await _0x15d03b(_0x266de9,_0x7d3d13,_0x12b8c8),_0x3bcb51;}catch{return!0x1;}function _0x1286b6(_0x583620){const _0x89d326=_0x1e0c0a(_0x583620);_0x89d326&&_0x89d326[_0x10a3fc([0x61,0x6c,0x67])]==_0x10a3fc([0x45,0x53,0x32,0x35,0x36])||(_0x3bcb51=!0x1);}async function _0x15d03b(_0xf84b96,_0x45def6,_0x2c4a04){const _0x3f293a=window[_0x10a3fc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10a3fc([0x66,0x72,0x6f,0x6d])](_0x3021b5(_0x2c4a04),_0x5802c3=>_0x5802c3[_0x10a3fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43fa52=new window[(_0x10a3fc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10a3fc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf84b96+_0x10a3fc([0x2e])+_0x45def6),_0xd14cd6=window[_0x10a3fc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10a3fc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd14cd6)return;const _0x4cc2d4=await _0xd14cd6[_0x10a3fc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10a3fc([0x6a,0x77,0x6b]),_0x56c6a8,{[_0x10a3fc([0x6e,0x61,0x6d,0x65])]:_0x10a3fc([0x45,0x43,0x44,0x53,0x41]),[_0x10a3fc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10a3fc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10a3fc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd14cd6[_0x10a3fc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10a3fc([0x6e,0x61,0x6d,0x65])]:_0x10a3fc([0x45,0x43,0x44,0x53,0x41]),[_0x10a3fc([0x68,0x61,0x73,0x68])]:{[_0x10a3fc([0x6e,0x61,0x6d,0x65])]:_0x10a3fc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cc2d4,_0x3f293a,_0x43fa52)||(_0x3bcb51=!0x1);}}function _0x1e0c0a(_0x4650e8){return _0x4650e8[_0x10a3fc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10a3fc([0x65,0x79]))?JSON[_0x10a3fc([0x70,0x61,0x72,0x73,0x65])](_0x3021b5(_0x4650e8)):null;}function _0x3021b5(_0x492f24){return window[_0x10a3fc([0x61,0x74,0x6f,0x62])](_0x492f24[_0x10a3fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10a3fc([0x2b]))[_0x10a3fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10a3fc([0x2f])));}function _0x2928b8(_0x32527a){let _0x53cacf=0x1505;function _0x4976f3(_0x2e3100){for(let _0x22ac94=0x0;_0x22ac94<_0x2e3100[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22ac94++){const _0x26bc58=_0x2e3100[_0x10a3fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22ac94);_0x53cacf=(_0x53cacf<<0x5)+_0x53cacf+_0x26bc58,_0x53cacf&=_0x53cacf;}}function _0x454c00(_0x3eed8f){Array[_0x10a3fc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3eed8f)?_0x3eed8f[_0x10a3fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x454c00):_0x3eed8f&&typeof _0x3eed8f==_0x10a3fc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10a3fc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3eed8f)[_0x10a3fc([0x73,0x6f,0x72,0x74])]()[_0x10a3fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x260957,_0x35c846])=>{_0x4976f3(_0x260957),_0x454c00(_0x35c846);}):_0x4976f3(window[_0x10a3fc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3eed8f));}return _0x454c00(_0x32527a),_0x53cacf>>>0x0;}function _0x4459e6(_0x533026){return _0x533026[_0x10a3fc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10a3fc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10a3fc([0x30]));}function _0x39ef96(_0x257a76){return _0x257a76[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10a3fc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10a3fc([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fda45(){}function _0x10a3fc(_0xa1c9af){const _0x5a8cbd=_0x49d3;return _0xa1c9af[_0x5a8cbd(0x102)](_0x1734c5=>String[_0x5a8cbd(0x10f)](_0x1734c5))[_0x5a8cbd(0x126)]('');}_0x1c8e49(await _0x594c2d());}(this);}[_0x5f2f6f(0xf8)](){const _0x445e10=_0x5f2f6f,_0x2528c2=this[_0x445e10(0x100)][_0x445e10(0xe9)];_0x2528c2[_0x445e10(0xff)](_0x2615a6=>{const _0x530bb4=_0x445e10,_0x3f0fd1=_0x2528c2[_0x530bb4(0x131)][_0x530bb4(0x11c)][_0x530bb4(0xef)]();let _0x3a9f44=0x0;for(const _0x3c08bb of _0x3f0fd1){const _0x452813=f+':'+_0x3a9f44;if(_0x2528c2[_0x530bb4(0x106)][_0x530bb4(0xdb)](_0x452813))_0x2615a6[_0x530bb4(0xdf)](_0x452813,{'range':_0x3c08bb});else{if(_0x3c08bb[_0x530bb4(0x139)][_0x530bb4(0x104)]){const _0x32b069=_0x3c08bb[_0x530bb4(0x139)][_0x530bb4(0x114)](({item:_0x4abee0})=>!_0x2528c2[_0x530bb4(0x13e)][_0x530bb4(0x119)](_0x4abee0),{'boundaries':_0x3c08bb});_0x2615a6[_0x530bb4(0x103)](_0x452813,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2615a6[_0x530bb4(0x113)](_0x32b069,_0x3c08bb[_0x530bb4(0x120)])});}else _0x2615a6[_0x530bb4(0x103)](_0x452813,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c08bb});}_0x3a9f44++;}});}[_0x5f2f6f(0x13c)](){const _0x11e57b=_0x5f2f6f,_0x2f333d=this[_0x11e57b(0x100)][_0x11e57b(0xe9)],_0x14d06d=Array[_0x11e57b(0xf5)](this[_0x11e57b(0x100)][_0x11e57b(0xe9)][_0x11e57b(0x106)][_0x11e57b(0x132)](f));_0x14d06d[_0x11e57b(0x11a)]&&_0x2f333d[_0x11e57b(0xff)](_0x2fddbe=>{const _0x338653=_0x11e57b;_0x14d06d[_0x338653(0xd3)](_0x134e0f=>{const _0x495975=_0x338653;_0x2fddbe[_0x495975(0x112)](_0x134e0f);});});}[_0x5f2f6f(0xe2)](_0x499a2b,_0x4bc6bd){const _0x2665e0=_0x5f2f6f,_0x26fbfe=this[_0x2665e0(0x12b)](),_0x8936e8=_0x4bc6bd||_0x26fbfe[_0x2665e0(0x12f)]();this[_0x2665e0(0x100)][_0x2665e0(0xe9)][_0x2665e0(0xe1)](_0x8936e8)&&this[_0x2665e0(0x100)][_0x2665e0(0xe9)][_0x2665e0(0xff)](_0x12683b=>{const _0x51fcc1=_0x2665e0;this[_0x51fcc1(0x13c)](),_0x4bc6bd||this[_0x51fcc1(0xe3)](_0x12683b,_0x26fbfe),this[_0x51fcc1(0xfb)]({'insertAt':_0x8936e8,'writer':_0x12683b,'html':_0x499a2b});});}[_0x5f2f6f(0x10b)](_0x2f1a91){const _0xf53a29=_0x5f2f6f,{model:_0x3b0cc0}=this[_0xf53a29(0x100)],_0x255f6c=this[_0xf53a29(0x12b)]();_0x3b0cc0[_0xf53a29(0xff)](()=>{const _0x5251b7=_0xf53a29,_0x19a16e=this[_0x5251b7(0x129)](_0x2f1a91,_0x255f6c)||this[_0x5251b7(0x108)](_0x255f6c);this[_0x5251b7(0xe2)](_0x2f1a91,_0x19a16e);});}[_0x5f2f6f(0x12b)](){const _0x4374d2=_0x5f2f6f,_0x5df1ee=this[_0x4374d2(0x100)][_0x4374d2(0xe9)],_0x4329ee=Array[_0x4374d2(0xf5)](_0x5df1ee[_0x4374d2(0x106)][_0x4374d2(0x132)](f))[_0x4374d2(0x102)](_0x2c9ee3=>_0x2c9ee3[_0x4374d2(0xe0)]());return _0x5df1ee[_0x4374d2(0x10d)](_0x4329ee);}[_0x5f2f6f(0xfb)]({writer:_0x442b2a,html:_0x4dabe2,insertAt:_0x45c841}){const _0x231bbd=_0x5f2f6f,{view:_0x1835df}=this[_0x231bbd(0x100)][_0x231bbd(0xd6)],_0x929c6e=this[_0x231bbd(0x100)][_0x231bbd(0x128)][_0x231bbd(0xde)](_0x242ef8),_0x497e21=new w();_0x497e21[_0x231bbd(0x135)](_0x231bbd(0xe5),_0x4dabe2);const _0x535db4=new ClipboardEvent(_0x231bbd(0xee),{'clipboardData':_0x497e21}),_0x5b89a2=new _0x504e3f(_0x1835df,_0x535db4,{'dataTransfer':new _0x334d3e(_0x497e21)});_0x442b2a[_0x231bbd(0x13a)](_0x45c841);const _0x1169e6=(_0x51a83c,_0x3c8f18)=>{const _0xd50121=_0x231bbd;_0x3c8f18[_0xd50121(0xe7)]&&_0x442b2a[_0xd50121(0x13a)](_0x3c8f18[_0xd50121(0xe7)]);};_0x929c6e[_0x231bbd(0x115)](_0x231bbd(0x134),_0x1169e6,{'priority':_0x231bbd(0x12e)}),_0x1835df[_0x231bbd(0x131)][_0x231bbd(0xd8)](_0x231bbd(0xee),_0x5b89a2),_0x929c6e[_0x231bbd(0xfa)](_0x231bbd(0x134),_0x1169e6);}[_0x5f2f6f(0x108)](_0x5541d9){const _0x297394=_0x5f2f6f,{model:_0x200209}=this[_0x297394(0x100)],_0x5a8e2a=Array[_0x297394(0xf5)](_0x5541d9[_0x297394(0x137)]());return _0x5a8e2a[_0x297394(0x11a)]?_0x200209[_0x297394(0x10c)](_0x5a8e2a[_0x297394(0x13b)]()):_0x5541d9[_0x297394(0x111)]();}[_0x5f2f6f(0x129)](_0x43e1c1,_0x18627a){const _0x3c7a29=_0x5f2f6f,{model:_0x21ee36,plugins:_0x8c6e96}=this[_0x3c7a29(0x100)];if(_0x8c6e96[_0x3c7a29(0xdb)](_0x3c7a29(0x12c))){const _0x3c9da7=_0x8c6e96[_0x3c7a29(0xde)](_0x3c7a29(0x12c))[_0x3c7a29(0xd9)](_0x18627a);if(_0x3c9da7[_0x3c7a29(0x11a)]){const _0x1d62bd=this[_0x3c7a29(0xf6)](_0x43e1c1),_0x234243=this[_0x3c7a29(0xfc)](_0x3c9da7,_0x1d62bd);return _0x21ee36[_0x3c7a29(0x13f)](_0x234243,0x0);}}return null;}[_0x5f2f6f(0xf6)](_0x273ae6){const _0x276043=_0x5f2f6f,_0x53cbdd=this[_0x276043(0x100)][_0x276043(0x128)][_0x276043(0xde)](_0x276043(0x12c)),_0x37f999=this[_0x276043(0x100)][_0x276043(0x138)][_0x276043(0xeb)](_0x273ae6),_0x45625e=Array[_0x276043(0xf5)](_0x37f999[_0x276043(0xda)]())[_0x276043(0x107)](_0x3d3737=>_0x3d3737['is'](_0x276043(0x118),_0x276043(0x125)));let _0x9d050=0x0;return _0x45625e[_0x276043(0xd3)](_0xce8096=>{const _0x5086cb=_0x276043;_0x9d050+=_0x53cbdd[_0x5086cb(0xe8)](_0xce8096);}),_0x9d050;}[_0x5f2f6f(0xfc)](_0x1916c1,_0x35ac8e){const _0x401d51=_0x5f2f6f,_0x2eeb4b=this[_0x401d51(0x100)][_0x401d51(0x128)][_0x401d51(0xde)](_0x401d51(0x12c)),_0x22fde2=_0x2eeb4b[_0x401d51(0xf2)](_0x1916c1),_0x249105=_0x2eeb4b[_0x401d51(0xd2)](_0x1916c1),_0xb930db=_0x22fde2[_0x401d51(0xfd)]+0x1,_0xada5d9=_0x249105[_0x401d51(0xf7)],_0x53ebf5=_0x1916c1[0x0][_0x401d51(0x12a)](_0x401d51(0x125));for(let _0x1f2171=0x0;_0x1f2171<_0x35ac8e;_0x1f2171++)_0x2eeb4b[_0x401d51(0x10e)](_0x53ebf5,{'at':_0xb930db});return _0x53ebf5[_0x401d51(0x101)](_0xb930db)[_0x401d51(0x101)](_0xada5d9);}[_0x5f2f6f(0xe3)](_0x3e82b1,_0x31267b){const _0x2e8cfb=_0x5f2f6f,{plugins:_0x2bd8cd}=this[_0x2e8cfb(0x100)],{model:_0x324215}=_0x3e82b1;if(!_0x2bd8cd[_0x2e8cfb(0xdb)](_0x2e8cfb(0x12c)))return;_0x2bd8cd[_0x2e8cfb(0xde)](_0x2e8cfb(0x12c))[_0x2e8cfb(0xd9)](_0x31267b)[_0x2e8cfb(0x11a)]&&_0x324215[_0x2e8cfb(0x123)](_0x31267b);}}
23
+ const _0x32731c=_0x5902;(function(_0x1bb602,_0x106d74){const _0x33ac69=_0x5902,_0x11b7bb=_0x1bb602();while(!![]){try{const _0x59d402=parseInt(_0x33ac69(0x203))/0x1*(parseInt(_0x33ac69(0x1b5))/0x2)+parseInt(_0x33ac69(0x1e4))/0x3+-parseInt(_0x33ac69(0x19a))/0x4+-parseInt(_0x33ac69(0x1f8))/0x5*(-parseInt(_0x33ac69(0x1c1))/0x6)+parseInt(_0x33ac69(0x19f))/0x7*(parseInt(_0x33ac69(0x1ff))/0x8)+parseInt(_0x33ac69(0x1ce))/0x9*(-parseInt(_0x33ac69(0x1db))/0xa)+-parseInt(_0x33ac69(0x1b3))/0xb*(parseInt(_0x33ac69(0x1ae))/0xc);if(_0x59d402===_0x106d74)break;else _0x11b7bb['push'](_0x11b7bb['shift']());}catch(_0x5d7bab){_0x11b7bb['push'](_0x11b7bb['shift']());}}}(_0x4c4b,0xda01d));import{uid as _0xf6fb67}from'ckeditor5/src/utils.js';function _0x4c4b(){const _0x56273b=['pluginName','ck-fake-ai-selection_collapsed','resultRange','getFirstRange','removeMarker','markers','join','_getAISelection','getRange','plugins','1073418BcSqlW','element','getLastPosition','first','updateMarker','addMarker','span','fire','addClass','isContent','getMarkersGroup','document','map','27oEPzBO','length','text/html','init','hideFakeVisualSelection','ck-fake-ai-selection','change','afterInit','for','push','createRange','getChild','findAncestor','1216570yqaRKD','_getDefaultInsertBelowPosition','off','parse','createUIElement','getRows','getLastMatchingPosition','deleteContent','setData','2308464tNGZVI','insertContentBelow','filter','_createEmptyTableRows','insertContent','ck-ai-assistant-ui_theme','markerRange','insertRows','paste','href','schema','canEditAt','editor','pop','config','TableUtils','last','model','contentInsertion','editingDowncast','45UicOKp','lowest','_pasteHTMLUsingClipboard','isPremiumPlugin','createPositionAt','createPositionAfter','has','64312QGAxDQ','start','fromCharCode','get','65asHGXD','setSelection','AIAssistantEditing','getChildren','conversion','table','markerToHighlight','2352344Pbfazk','createSelection','getRowIndexes','editing','showFakeVisualSelection','651nvmfmD','from','isOfficialPlugin','forEach','ai-ui','getSelectedBlocks','getColumnIndexes','isAtEnd','getSelectedTableCells','once','DataTransfer','selection','markerToElement','isCollapsed','_getTableRowCountFromContent','84kVuAHt','end','_resetContentOfSelectedTableCells','getRanges','data','2284854yfEndZ','ai.assistant.useTheme','5316TQQhdX','_prepareTableInsertBelowPosition'];_0x4c4b=function(){return _0x56273b;};return _0x4c4b();}import{Plugin as _0x422cda}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4f5297}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2d9520,ViewDataTransfer as _0x34a105}from'ckeditor5/src/engine.js';function _0x5902(_0x20e80b,_0x18760b){const _0x4c4bbd=_0x4c4b();return _0x5902=function(_0x590258,_0x5be8a2){_0x590258=_0x590258-0x195;let _0x52de0d=_0x4c4bbd[_0x590258];return _0x52de0d;},_0x5902(_0x20e80b,_0x18760b);}const w=globalThis[_0x32731c(0x1a9)],f=_0x32731c(0x1a3);export class AIAssistantEditing extends _0x422cda{static get[_0x32731c(0x1b7)](){const _0x1879b3=_0x32731c;return _0x1879b3(0x195);}static get[_0x32731c(0x1a1)](){return!0x0;}static get[_0x32731c(0x1fb)](){return!0x0;}[_0x32731c(0x1d1)](){const _0x288148=_0x32731c,{editor:_0x427cef}=this,_0x4e105e=[_0x288148(0x1d3)];_0x427cef[_0x288148(0x1f2)][_0x288148(0x202)](_0x288148(0x1b4))&&_0x4e105e[_0x288148(0x1d7)](_0x288148(0x1e9)),_0x427cef[_0x288148(0x197)][_0x288148(0x1d6)](_0x288148(0x1f7))[_0x288148(0x199)]({'model':f,'view':{'classes':_0x4e105e,'priority':0xc}}),_0x427cef[_0x288148(0x197)][_0x288148(0x1d6)](_0x288148(0x1f7))[_0x288148(0x1ab)]({'model':f,'view':(_0x270888,{writer:_0x13fd8d})=>{const _0x43988e=_0x288148;if(!_0x270888[_0x43988e(0x1ea)][_0x43988e(0x1ac)])return null;const _0x4fa416=_0x13fd8d[_0x43988e(0x1df)](_0x43988e(0x1c7));return _0x13fd8d[_0x43988e(0x1c9)]([_0x43988e(0x1d3),_0x43988e(0x1b8)],_0x4fa416),_0x4fa416;}});}[_0x32731c(0x1d5)](){!async function(_0x401524){const _0x250012=_0x414aa5([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x483e9a=0x3dffc4e1,_0x28b8c7=0x3df84ec1^_0x483e9a,_0x39148f=window[_0x414aa5([0x44,0x61,0x74,0x65])][_0x414aa5([0x6e,0x6f,0x77])](),_0x32d347=_0x401524[_0x414aa5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c2f12=new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c1ac=>{_0x32d347[_0x414aa5([0x6f,0x6e,0x63,0x65])](_0x414aa5([0x72,0x65,0x61,0x64,0x79]),_0x38c1ac);}),_0x128c5c={[_0x414aa5([0x6b,0x74,0x79])]:_0x414aa5([0x45,0x43]),[_0x414aa5([0x75,0x73,0x65])]:_0x414aa5([0x73,0x69,0x67]),[_0x414aa5([0x63,0x72,0x76])]:_0x414aa5([0x50,0x2d,0x32,0x35,0x36]),[_0x414aa5([0x78])]:_0x414aa5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x414aa5([0x79])]:_0x414aa5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x414aa5([0x61,0x6c,0x67])]:_0x414aa5([0x45,0x53,0x32,0x35,0x36])},_0x33d12e=_0x32d347[_0x414aa5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x414aa5([0x67,0x65,0x74])](_0x414aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x74176(){let _0x1da05c,_0x18af59=null,_0x4d0061=null;try{if(_0x33d12e==_0x414aa5([0x47,0x50,0x4c]))return _0x414aa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1da05c=_0x2514b9(),!_0x1da05c)return _0x414aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1da05c[_0x414aa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d0061=_0x12d5d5(_0x1da05c[_0x414aa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1da05c[_0x414aa5([0x6a,0x74,0x69])])),await _0x1a4c2b()?_0x4d527f()?_0x450c24()?_0x414aa5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d82ca()?(_0x1da05c[_0x414aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x414aa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18af59=_0x114a97(_0x414aa5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50c72d()):_0x414aa5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x414aa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x414aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x414aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x450c24(){const _0x370469=[_0x414aa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x414aa5([0x74,0x72,0x69,0x61,0x6c])][_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1da05c[_0x414aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39148f/0x3e8:0xe10*_0x28b8c7;return _0x1da05c[_0x414aa5([0x65,0x78,0x70])]<_0x370469;}function _0x4d527f(){const _0x2c096d=_0x1da05c[_0x414aa5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c096d&&(!!_0x2c096d[_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414aa5([0x2a]))||!!_0x2c096d[_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414aa5([0x41,0x49])));}function _0x1d82ca(){const _0x364bc0=_0x5902,_0x2a22f9=_0x1da05c[_0x414aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a22f9||0x0==_0x2a22f9[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e6d9c}=new URL(window[_0x414aa5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x364bc0(0x1ed)]);if(_0x2a22f9[_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e6d9c))return!0x0;const _0x1ca93a=_0x4e6d9c[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])](_0x414aa5([0x2e]));return _0x2a22f9[_0x414aa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x272491=>_0x272491[_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414aa5([0x2a])))[_0x414aa5([0x6d,0x61,0x70])](_0x3954f7=>_0x3954f7[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])](_0x414aa5([0x2e])))[_0x414aa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb7b61a=>_0xb7b61a[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ca93a[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x414aa5([0x6d,0x61,0x70])](_0x25e08e=>Array(_0x1ca93a[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25e08e[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x414aa5([0x66,0x69,0x6c,0x6c])](_0x25e08e[0x0]===_0x414aa5([0x2a])?_0x414aa5([0x2a]):'')[_0x414aa5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25e08e))[_0x414aa5([0x73,0x6f,0x6d,0x65])](_0x33eab6=>_0x1ca93a[_0x414aa5([0x65,0x76,0x65,0x72,0x79])]((_0x2c2bb5,_0x328862)=>_0x33eab6[_0x328862]===_0x2c2bb5||_0x33eab6[_0x328862]===_0x414aa5([0x2a])));}function _0x50c72d(){return _0x18af59&&_0x4d0061?new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bc195,_0x4cf193)=>{_0x18af59[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x1bc195,_0x4cf193),_0x4d0061[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x4f4ad5=>{_0x4f4ad5!=_0x414aa5([0x56,0x61,0x6c,0x69,0x64])&&_0x1bc195(_0x4f4ad5);},_0x4cf193);}):_0x18af59||_0x4d0061||_0x414aa5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12d5d5(_0x1f9fe0,_0x4ad5bb){return new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ab6e0=>{if(_0x2d0fd0())return _0x4ab6e0(_0x414aa5([0x56,0x61,0x6c,0x69,0x64]));_0x84258c(),_0x32d347[_0x414aa5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x414aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a2cd8=!0x1;const _0x39bf6d=_0xf6fb67();function _0x477a3d(_0x5b2afb){return!!_0x5b2afb&&(typeof _0x5b2afb===_0x414aa5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b2afb===_0x414aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b2afb[_0x414aa5([0x74,0x68,0x65,0x6e])]===_0x414aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b2afb[_0x414aa5([0x63,0x61,0x74,0x63,0x68])]===_0x414aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fb80a(_0x5ce893){_0x74debb(_0x5ce893)[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x39d85b=>{if(!_0x39d85b||_0x39d85b[_0x414aa5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x414aa5([0x6f,0x6b]))return _0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4440c5(_0x4322f4(_0x39bf6d+_0x4ad5bb))!=_0x39d85b[_0x414aa5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x414aa5([0x56,0x61,0x6c,0x69,0x64]);})[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x559a4b=>(_0xc08777(),_0x559a4b),()=>{const _0x101acf=_0x5856bc();return null==_0x101acf?(_0xc08777(),_0x414aa5([0x56,0x61,0x6c,0x69,0x64])):_0x414aa5(_0x39148f-_0x101acf>(0x19f340e1^_0x483e9a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x4ab6e0)[_0x414aa5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ab6e0(_0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41a98b=0x3dc92a61^_0x483e9a;function _0xc08777(){const _0x20a9cf=_0x414aa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4440c5(_0x4322f4(_0x1f9fe0)),_0x2bcb26=_0x38d069(_0x4440c5(window[_0x414aa5([0x4d,0x61,0x74,0x68])][_0x414aa5([0x63,0x65,0x69,0x6c])](_0x39148f/_0x41a98b)));window[_0x414aa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x414aa5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20a9cf,_0x2bcb26);}function _0x5856bc(){const _0x5b759f=_0x414aa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4440c5(_0x4322f4(_0x1f9fe0)),_0x677c1c=window[_0x414aa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x414aa5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b759f);return _0x677c1c?window[_0x414aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d069(_0x677c1c),0x10)*_0x41a98b:null;}function _0x74debb(_0x11d210){return new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23cbaf,_0x50ebd9)=>{_0x11d210[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x23cbaf,_0x50ebd9),window[_0x414aa5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50ebd9,0x3dfe1021^_0x483e9a);});}}_0x32d347[_0x414aa5([0x6f,0x6e])](_0x414aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x405ab7,_0x1232b9)=>{if(_0x1232b9[0x0]!=_0x1f9fe0)return _0x4ab6e0(_0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1232b9[0x1]={..._0x1232b9[0x1],[_0x414aa5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39bf6d};},{[_0x414aa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x414aa5([0x68,0x69,0x67,0x68])}),_0x32d347[_0x414aa5([0x6f,0x6e])](_0x414aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f3e7f=>{_0x477a3d(_0x4f3e7f[_0x414aa5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a2cd8=!0x0,_0x3fb80a(_0x4f3e7f[_0x414aa5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x414aa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x414aa5([0x6c,0x6f,0x77])}),_0x4c2f12[_0x414aa5([0x74,0x68,0x65,0x6e])](()=>{_0x3a2cd8||_0x4ab6e0(_0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d0fd0(){return _0x32d347[_0x414aa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x414aa5([0x76,0x69,0x65,0x77])][_0x414aa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x414aa5([0x61,0x75,0x74,0x6f]);}function _0x84258c(){_0x32d347[_0x414aa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x414aa5([0x76,0x69,0x65,0x77])][_0x414aa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x414aa5([0x61,0x75,0x74,0x6f]);}}function _0x114a97(_0x580bff){const _0x3f78ce=[new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af3c4=>setTimeout(_0x1af3c4,0x3df6fa2d^_0x483e9a)),_0x4c2f12[_0x414aa5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50e4e9=>{let _0x1de9d3=0x0;_0x32d347[_0x414aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x414aa5([0x6f,0x6e])](_0x414aa5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21a269,_0x537116)=>{_0x537116[0x0][_0x414aa5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1de9d3++,_0x1de9d3==(0x3dffc109^_0x483e9a)&&(_0x50e4e9(),_0x21a269[_0x414aa5([0x6f,0x66,0x66])]());});}))];return window[_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x414aa5([0x72,0x61,0x63,0x65])](_0x3f78ce)[_0x414aa5([0x74,0x68,0x65,0x6e])](()=>_0x580bff);}async function _0x510aa1(){await _0x4c2f12,_0x32d347[_0x414aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x414aa5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a2a79,_0x32d347[_0x414aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x414aa5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a2a79,_0x32d347[_0x414aa5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x414aa5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x450876(_0x131d52){const _0x6c67cf=_0x2ad80c();_0x32d347[_0x6c67cf]=_0x414aa5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x131d52,_0x131d52!=_0x414aa5([0x56,0x61,0x6c,0x69,0x64])&&_0x510aa1();}function _0x2ad80c(){const _0x15fbf8=window[_0x414aa5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x414aa5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x414aa5([0x6e,0x6f,0x77])]())[_0x414aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x414aa5([0x2e]),'');let _0x144156=_0x414aa5([0x6e]);for(let _0x9e0455=0x0;_0x9e0455<_0x15fbf8[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9e0455+=0x2){let _0x256c7b=window[_0x414aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15fbf8[_0x414aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9e0455,_0x9e0455+0x2));_0x256c7b>=_0x250012[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x256c7b-=_0x250012[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x144156+=_0x250012[_0x256c7b];}return _0x144156;}function _0x2514b9(){const _0xc2ea8f=_0x33d12e[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])](_0x414aa5([0x2e]));if(0x3!=_0xc2ea8f[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfa3549(_0xc2ea8f[0x1]);function _0xfa3549(_0x1dbd1e){const _0x55e548=_0x1176c4(_0x1dbd1e);return _0x55e548&&_0x4ee104()?_0x55e548:null;function _0x4ee104(){const _0x1765f3=_0x55e548[_0x414aa5([0x6a,0x74,0x69])],_0x899d33=window[_0x414aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1765f3[_0x414aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1765f3[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30088b={..._0x55e548,[_0x414aa5([0x6a,0x74,0x69])]:_0x1765f3[_0x414aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1765f3[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30088b[_0x414aa5([0x76,0x63])],_0x4322f4(_0x30088b)==_0x899d33;}}}async function _0x1a4c2b(){let _0x3a5449=!0x0;try{const _0x8bc99a=_0x33d12e[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])](_0x414aa5([0x2e])),[_0x2ac052,_0x4446cf,_0xeacfb]=_0x8bc99a;return _0x4d0ff6(_0x2ac052),await _0x155cb8(_0x2ac052,_0x4446cf,_0xeacfb),_0x3a5449;}catch{return!0x1;}function _0x4d0ff6(_0x1fb178){const _0x42f6eb=_0x1176c4(_0x1fb178);_0x42f6eb&&_0x42f6eb[_0x414aa5([0x61,0x6c,0x67])]==_0x414aa5([0x45,0x53,0x32,0x35,0x36])||(_0x3a5449=!0x1);}async function _0x155cb8(_0x29daaa,_0x236e14,_0x5d7171){const _0x12edfd=window[_0x414aa5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x414aa5([0x66,0x72,0x6f,0x6d])](_0x9b18e3(_0x5d7171),_0x5ba107=>_0x5ba107[_0x414aa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x173b43=new window[(_0x414aa5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x414aa5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29daaa+_0x414aa5([0x2e])+_0x236e14),_0x40c6e2=window[_0x414aa5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x414aa5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40c6e2)return;const _0xe379fd=await _0x40c6e2[_0x414aa5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x414aa5([0x6a,0x77,0x6b]),_0x128c5c,{[_0x414aa5([0x6e,0x61,0x6d,0x65])]:_0x414aa5([0x45,0x43,0x44,0x53,0x41]),[_0x414aa5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x414aa5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x414aa5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40c6e2[_0x414aa5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x414aa5([0x6e,0x61,0x6d,0x65])]:_0x414aa5([0x45,0x43,0x44,0x53,0x41]),[_0x414aa5([0x68,0x61,0x73,0x68])]:{[_0x414aa5([0x6e,0x61,0x6d,0x65])]:_0x414aa5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe379fd,_0x12edfd,_0x173b43)||(_0x3a5449=!0x1);}}function _0x1176c4(_0xda8d47){return _0xda8d47[_0x414aa5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x414aa5([0x65,0x79]))?JSON[_0x414aa5([0x70,0x61,0x72,0x73,0x65])](_0x9b18e3(_0xda8d47)):null;}function _0x9b18e3(_0x38956b){return window[_0x414aa5([0x61,0x74,0x6f,0x62])](_0x38956b[_0x414aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x414aa5([0x2b]))[_0x414aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x414aa5([0x2f])));}function _0x4322f4(_0x42c3e8){let _0x3b1551=0x1505;function _0x4c078d(_0x239cf5){for(let _0xfd5ee=0x0;_0xfd5ee<_0x239cf5[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfd5ee++){const _0x5c0992=_0x239cf5[_0x414aa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xfd5ee);_0x3b1551=(_0x3b1551<<0x5)+_0x3b1551+_0x5c0992,_0x3b1551&=_0x3b1551;}}function _0x2e8473(_0x3a0d42){Array[_0x414aa5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a0d42)?_0x3a0d42[_0x414aa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e8473):_0x3a0d42&&typeof _0x3a0d42==_0x414aa5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x414aa5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a0d42)[_0x414aa5([0x73,0x6f,0x72,0x74])]()[_0x414aa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x34a36d,_0x343500])=>{_0x4c078d(_0x34a36d),_0x2e8473(_0x343500);}):_0x4c078d(window[_0x414aa5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a0d42));}return _0x2e8473(_0x42c3e8),_0x3b1551>>>0x0;}function _0x4440c5(_0x3ca3a4){return _0x3ca3a4[_0x414aa5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x414aa5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x414aa5([0x30]));}function _0x38d069(_0x440d20){return _0x440d20[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x414aa5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x414aa5([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a2a79(){}function _0x414aa5(_0x47d6a2){const _0x4617ea=_0x5902;return _0x47d6a2[_0x4617ea(0x1cd)](_0x165b39=>String[_0x4617ea(0x201)](_0x165b39))[_0x4617ea(0x1bd)]('');}_0x450876(await _0x74176());}(this);}[_0x32731c(0x19e)](){const _0x23556b=_0x32731c,_0x15aa3d=this[_0x23556b(0x1f0)][_0x23556b(0x1f5)];_0x15aa3d[_0x23556b(0x1d4)](_0x3185a5=>{const _0x43f152=_0x23556b,_0x3a1853=_0x15aa3d[_0x43f152(0x1cc)][_0x43f152(0x1aa)][_0x43f152(0x1b1)]();let _0x5f180c=0x0;for(const _0x149456 of _0x3a1853){const _0x275ee3=f+':'+_0x5f180c;if(_0x15aa3d[_0x43f152(0x1bc)][_0x43f152(0x1fe)](_0x275ee3))_0x3185a5[_0x43f152(0x1c5)](_0x275ee3,{'range':_0x149456});else{if(_0x149456[_0x43f152(0x200)][_0x43f152(0x1a6)]){const _0x37fbb8=_0x149456[_0x43f152(0x200)][_0x43f152(0x1e1)](({item:_0x2369d3})=>!_0x15aa3d[_0x43f152(0x1ee)][_0x43f152(0x1ca)](_0x2369d3),{'boundaries':_0x149456});_0x3185a5[_0x43f152(0x1c6)](_0x275ee3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3185a5[_0x43f152(0x1d8)](_0x37fbb8,_0x149456[_0x43f152(0x1af)])});}else _0x3185a5[_0x43f152(0x1c6)](_0x275ee3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x149456});}_0x5f180c++;}});}[_0x32731c(0x1d2)](){const _0x457743=_0x32731c,_0xb23208=this[_0x457743(0x1f0)][_0x457743(0x1f5)],_0x23c0d0=Array[_0x457743(0x1a0)](this[_0x457743(0x1f0)][_0x457743(0x1f5)][_0x457743(0x1bc)][_0x457743(0x1cb)](f));_0x23c0d0[_0x457743(0x1cf)]&&_0xb23208[_0x457743(0x1d4)](_0x39d40e=>{const _0x1f615c=_0x457743;_0x23c0d0[_0x1f615c(0x1a2)](_0x2f26f2=>{const _0x3eb0e5=_0x1f615c;_0x39d40e[_0x3eb0e5(0x1bb)](_0x2f26f2);});});}[_0x32731c(0x1e8)](_0x38e375,_0x4c47b3){const _0x28e8bc=_0x32731c,_0x40b78a=this[_0x28e8bc(0x1be)](),_0x2f48f0=_0x4c47b3||_0x40b78a[_0x28e8bc(0x1ba)]();this[_0x28e8bc(0x1f0)][_0x28e8bc(0x1f5)][_0x28e8bc(0x1ef)](_0x2f48f0)&&this[_0x28e8bc(0x1f0)][_0x28e8bc(0x1f5)][_0x28e8bc(0x1d4)](_0x2bd527=>{const _0xeaff0c=_0x28e8bc;this[_0xeaff0c(0x1d2)](),_0x4c47b3||this[_0xeaff0c(0x1b0)](_0x2bd527,_0x40b78a),this[_0xeaff0c(0x1fa)]({'insertAt':_0x2f48f0,'writer':_0x2bd527,'html':_0x38e375});});}[_0x32731c(0x1e5)](_0x3e33b1){const _0x1993d3=_0x32731c,{model:_0x35e122}=this[_0x1993d3(0x1f0)],_0x4fa816=this[_0x1993d3(0x1be)]();_0x35e122[_0x1993d3(0x1d4)](()=>{const _0xda391a=_0x1993d3,_0x5163cf=this[_0xda391a(0x1b6)](_0x3e33b1,_0x4fa816)||this[_0xda391a(0x1dc)](_0x4fa816);this[_0xda391a(0x1e8)](_0x3e33b1,_0x5163cf);});}[_0x32731c(0x1be)](){const _0x1eac4b=_0x32731c,_0x3da5a2=this[_0x1eac4b(0x1f0)][_0x1eac4b(0x1f5)],_0x441977=Array[_0x1eac4b(0x1a0)](_0x3da5a2[_0x1eac4b(0x1bc)][_0x1eac4b(0x1cb)](f))[_0x1eac4b(0x1cd)](_0x91ba39=>_0x91ba39[_0x1eac4b(0x1bf)]());return _0x3da5a2[_0x1eac4b(0x19b)](_0x441977);}[_0x32731c(0x1fa)]({writer:_0x3c963c,html:_0x373c9d,insertAt:_0x1ade35}){const _0x3021e8=_0x32731c,{view:_0x44e5ae}=this[_0x3021e8(0x1f0)][_0x3021e8(0x19d)],_0x3c5b88=this[_0x3021e8(0x1f0)][_0x3021e8(0x1c0)][_0x3021e8(0x202)](_0x4f5297),_0x8c577b=new w();_0x8c577b[_0x3021e8(0x1e3)](_0x3021e8(0x1d0),_0x373c9d);const _0x3fd444=new ClipboardEvent(_0x3021e8(0x1ec),{'clipboardData':_0x8c577b}),_0x3e6f49=new _0x2d9520(_0x44e5ae,_0x3fd444,{'dataTransfer':new _0x34a105(_0x8c577b)});_0x3c963c[_0x3021e8(0x204)](_0x1ade35);const _0x388b2d=(_0x3b2403,_0x10c566)=>{const _0x40aed7=_0x3021e8;_0x10c566[_0x40aed7(0x1b9)]&&_0x3c963c[_0x40aed7(0x204)](_0x10c566[_0x40aed7(0x1b9)]);};_0x3c5b88[_0x3021e8(0x1a8)](_0x3021e8(0x1f6),_0x388b2d,{'priority':_0x3021e8(0x1f9)}),_0x44e5ae[_0x3021e8(0x1cc)][_0x3021e8(0x1c8)](_0x3021e8(0x1ec),_0x3e6f49),_0x3c5b88[_0x3021e8(0x1dd)](_0x3021e8(0x1f6),_0x388b2d);}[_0x32731c(0x1dc)](_0x556f5d){const _0x425391=_0x32731c,{model:_0xb89059}=this[_0x425391(0x1f0)],_0x5b0c6e=Array[_0x425391(0x1a0)](_0x556f5d[_0x425391(0x1a4)]());return _0x5b0c6e[_0x425391(0x1cf)]?_0xb89059[_0x425391(0x1fd)](_0x5b0c6e[_0x425391(0x1f1)]()):_0x556f5d[_0x425391(0x1c3)]();}[_0x32731c(0x1b6)](_0x14008f,_0x149dde){const _0x38134d=_0x32731c,{model:_0x52ac5d,plugins:_0x936cca}=this[_0x38134d(0x1f0)];if(_0x936cca[_0x38134d(0x1fe)](_0x38134d(0x1f3))){const _0x41bd91=_0x936cca[_0x38134d(0x202)](_0x38134d(0x1f3))[_0x38134d(0x1a7)](_0x149dde);if(_0x41bd91[_0x38134d(0x1cf)]){const _0x4c87b4=this[_0x38134d(0x1ad)](_0x14008f),_0x33d05a=this[_0x38134d(0x1e7)](_0x41bd91,_0x4c87b4);return _0x52ac5d[_0x38134d(0x1fc)](_0x33d05a,0x0);}}return null;}[_0x32731c(0x1ad)](_0x491815){const _0x178a34=_0x32731c,_0x26e3a4=this[_0x178a34(0x1f0)][_0x178a34(0x1c0)][_0x178a34(0x202)](_0x178a34(0x1f3)),_0x70d29d=this[_0x178a34(0x1f0)][_0x178a34(0x1b2)][_0x178a34(0x1de)](_0x491815),_0x58bca0=Array[_0x178a34(0x1a0)](_0x70d29d[_0x178a34(0x196)]())[_0x178a34(0x1e6)](_0x169303=>_0x169303['is'](_0x178a34(0x1c2),_0x178a34(0x198)));let _0x58e5cb=0x0;return _0x58bca0[_0x178a34(0x1a2)](_0x47bc46=>{const _0x52507b=_0x178a34;_0x58e5cb+=_0x26e3a4[_0x52507b(0x1e0)](_0x47bc46);}),_0x58e5cb;}[_0x32731c(0x1e7)](_0x13d0bb,_0x51fbbf){const _0x3eb3ff=_0x32731c,_0x5c1516=this[_0x3eb3ff(0x1f0)][_0x3eb3ff(0x1c0)][_0x3eb3ff(0x202)](_0x3eb3ff(0x1f3)),_0x44761e=_0x5c1516[_0x3eb3ff(0x19c)](_0x13d0bb),_0xed23cb=_0x5c1516[_0x3eb3ff(0x1a5)](_0x13d0bb),_0x5db727=_0x44761e[_0x3eb3ff(0x1f4)]+0x1,_0x29252f=_0xed23cb[_0x3eb3ff(0x1c4)],_0x385b02=_0x13d0bb[0x0][_0x3eb3ff(0x1da)](_0x3eb3ff(0x198));for(let _0x5a1057=0x0;_0x5a1057<_0x51fbbf;_0x5a1057++)_0x5c1516[_0x3eb3ff(0x1eb)](_0x385b02,{'at':_0x5db727});return _0x385b02[_0x3eb3ff(0x1d9)](_0x5db727)[_0x3eb3ff(0x1d9)](_0x29252f);}[_0x32731c(0x1b0)](_0x5cdbfd,_0x5c6fc2){const _0x4a4862=_0x32731c,{plugins:_0x1c054d}=this[_0x4a4862(0x1f0)],{model:_0x117186}=_0x5cdbfd;if(!_0x1c054d[_0x4a4862(0x1fe)](_0x4a4862(0x1f3)))return;_0x1c054d[_0x4a4862(0x202)](_0x4a4862(0x1f3))[_0x4a4862(0x1a7)](_0x5c6fc2)[_0x4a4862(0x1cf)]&&_0x117186[_0x4a4862(0x1e2)](_0x5c6fc2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd68d18=_0x5995;(function(_0x5a0300,_0x5cefff){const _0x27a94a=_0x5995,_0x5cd625=_0x5a0300();while(!![]){try{const _0x587415=parseInt(_0x27a94a(0xc0))/0x1*(-parseInt(_0x27a94a(0x133))/0x2)+parseInt(_0x27a94a(0x134))/0x3*(parseInt(_0x27a94a(0xeb))/0x4)+parseInt(_0x27a94a(0xe3))/0x5*(-parseInt(_0x27a94a(0xde))/0x6)+parseInt(_0x27a94a(0xe5))/0x7*(-parseInt(_0x27a94a(0x119))/0x8)+parseInt(_0x27a94a(0x15f))/0x9+parseInt(_0x27a94a(0xc1))/0xa+parseInt(_0x27a94a(0xd3))/0xb;if(_0x587415===_0x5cefff)break;else _0x5cd625['push'](_0x5cd625['shift']());}catch(_0x2045ac){_0x5cd625['push'](_0x5cd625['shift']());}}}(_0x5392,0x1af87));import{Plugin as _0xd00650}from'ckeditor5/src/core.js';import{IconMagicWand as _0x456a76,IconRobotPencil as _0x4095d1}from'ckeditor5/src/icons.js';import{first as _0x1dfc77,CKEditorError as _0x4087d7}from'ckeditor5/src/utils.js';import{createDropdown as _0xc6d50e,addMenuToDropdown as _0x3e912b,ButtonView as _0x34a5c4,MenuBarMenuListItemButtonView as _0x123ffe,Dialog as _0x3a6de6,DialogViewPosition as _0x470695,MenuBarMenuView as _0x483825,MenuBarMenuListView as _0x15e44e,MenuBarMenuListItemView as _0xb2277c}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4420ff,UNGROUPED_COMMANDS_GROUP_ID as _0x2d94f4}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x4ff11e}from'./aiassistantediting.js';import{AIAdapter as _0x5b2b39}from'./adapters/aiadapter.js';import{getTranslation as _0x5c0819}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4c29d9}from'./ui/showaiassistantcommand.js';function _0x5995(_0x482ff9,_0x23b982){const _0x539240=_0x5392();return _0x5995=function(_0x599576,_0x5bc9ac){_0x599576=_0x599576-0xb7;let _0x3b7260=_0x539240[_0x599576];return _0x3b7260;},_0x5995(_0x482ff9,_0x23b982);}import{AIAssistantController as _0x292247}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x9750a3}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x47f929}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0xd68d18(0x13d)];import{ClipboardMarkersUtils as _0x183b72}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3dd345,ViewDataTransfer as _0x98e50e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xd00650{[_0xd68d18(0x165)];[_0xd68d18(0xbb)];[_0xd68d18(0xdc)];[_0xd68d18(0x114)];[_0xd68d18(0x155)];[_0xd68d18(0x109)];[_0xd68d18(0x131)]='';static get[_0xd68d18(0xe4)](){const _0x3d87f0=_0xd68d18;return _0x3d87f0(0xfe);}static get[_0xd68d18(0xf5)](){return!0x0;}static get[_0xd68d18(0x160)](){return!0x0;}static get[_0xd68d18(0x121)](){return[_0x183b72,_0x4ff11e,_0x5b2b39,_0x3a6de6];}constructor(_0x4dada2){const _0x46b47c=_0xd68d18;super(_0x4dada2),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xb7),[_0x46b47c(0xca),_0x46b47c(0xe9),_0x46b47c(0x126)]),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xd1),''),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xef),!0x0),this[_0x46b47c(0x131)]=_0x46b47c(0x10b)+(_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0x137)](_0x46b47c(0xef))?_0x46b47c(0x12d):'');}[_0xd68d18(0xd9)](){const _0x5509a7=_0xd68d18,{editor:_0x1889d2}=this;this[_0x5509a7(0x155)]=_0x1889d2[_0x5509a7(0x164)][_0x5509a7(0x137)](_0x5b2b39),this[_0x5509a7(0xdc)]=_0x1889d2[_0x5509a7(0x164)][_0x5509a7(0x137)](_0x3a6de6),this[_0x5509a7(0x114)]=null,this[_0x5509a7(0x11f)]=this[_0x5509a7(0x158)]();const _0x3d4a80=new _0x4c29d9(_0x1889d2,Array[_0x5509a7(0x138)](this[_0x5509a7(0x11f)][_0x5509a7(0xe6)]()));_0x1889d2[_0x5509a7(0x103)][_0x5509a7(0x135)](_0x5509a7(0x112),_0x3d4a80),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0xe1),_0x1fd477=>{const _0xdee28e=_0x5509a7,_0x400448=_0xc6d50e(_0x1fd477);return _0x400448[_0xdee28e(0x12c)]({'class':_0xdee28e(0x129)+this[_0xdee28e(0x131)]}),_0x400448[_0xdee28e(0xf1)][_0xdee28e(0x12c)]({'label':_0x5c0819(_0x1fd477,_0xdee28e(0xe8)),'icon':_0x456a76,'tooltip':!0x0}),_0x400448['on'](_0xdee28e(0xcb),_0x475a37=>this[_0xdee28e(0xed)](_0x475a37[_0xdee28e(0xfa)]['id'])),_0x3e912b(_0x400448,_0x1889d2['ui'][_0xdee28e(0x124)][_0xdee28e(0xbe)],function(_0x5ddbd2){const _0xda9d51=_0xdee28e,_0x5e7b42=_0x4420ff(_0x5ddbd2[_0xda9d51(0x14b)][_0xda9d51(0x137)](_0xda9d51(0x13c)),_0x5ddbd2[_0xda9d51(0x115)]),_0x838a59=B(_0x5ddbd2,_0x5e7b42)[_0xda9d51(0xfd)](_0x4b4a6d=>_0x4b4a6d[_0xda9d51(0x103)][_0xda9d51(0x10a)]);if(0x1===_0x838a59[_0xda9d51(0x10a)])return B(_0x5ddbd2,_0x838a59[0x0][_0xda9d51(0x103)])[_0xda9d51(0x11d)](_0x522ad1=>({'id':_0x522ad1['id'],'label':_0x522ad1[_0xda9d51(0xf8)]}));return _0x838a59[_0xda9d51(0x11d)](_0x1a0a8e=>{const _0x2dc02f=_0xda9d51,{groupId:_0x175360,groupLabel:_0x4a70f2,commands:_0x2507fd}=_0x1a0a8e,_0x311a3d=B(_0x5ddbd2,_0x2507fd)[_0x2dc02f(0x11d)](_0x391604=>({'id':_0x391604['id'],'label':_0x391604[_0x2dc02f(0xf8)]}));return{'id':_0x175360,'menu':_0x4a70f2||_0x175360,'children':_0x311a3d};});}(_0x1889d2),{'ariaLabel':_0x5c0819(_0x1fd477,_0xdee28e(0xe8))}),_0x400448[_0xdee28e(0x13b)][_0xdee28e(0x153)]=_0xdee28e(0x129)+this[_0xdee28e(0x131)],_0x3d4a80['on'](_0xdee28e(0x108),_0x1afd08),_0x400448[_0xdee28e(0x13b)][_0xdee28e(0x154)](_0xdee28e(0xdf),_0x1afd08),_0x400448;function _0x1afd08(){const _0x28ef6e=_0xdee28e;_0x400448[_0x28ef6e(0xf9)]=_0x3d4a80[_0x28ef6e(0x15c)][_0x28ef6e(0x10a)]>0x0;for(const _0x39864e of _0x400448[_0x28ef6e(0x13b)][_0x28ef6e(0x145)])_0x39864e[_0x28ef6e(0xf9)]=_0x3d4a80[_0x28ef6e(0x15c)][_0x28ef6e(0xcf)](_0x39864e['id']);}}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0x15b),_0x290f94=>{const _0x37453b=_0x5509a7,_0x319955=new _0x483825(_0x290f94);_0x319955[_0x37453b(0xf1)][_0x37453b(0x12c)]({'label':_0x5c0819(_0x290f94,_0x37453b(0xe8)),'icon':_0x456a76}),_0x319955[_0x37453b(0x127)](_0x37453b(0xf9))['to'](_0x3d4a80,_0x37453b(0x15c),_0xcf8fdb=>_0xcf8fdb[_0x37453b(0x10a)]>0x0);const _0x248eaf=_0x4420ff(_0x1889d2[_0x37453b(0x14b)][_0x37453b(0x137)](_0x37453b(0x13c)),_0x290f94);return this[_0x37453b(0xcc)](_0x3d4a80,_0x319955,_0x248eaf,_0x391813=>this[_0x37453b(0xed)](_0x391813)),_0x319955;}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0xfb),()=>{const _0x2d2f9e=_0x5509a7,_0x3ada7f=this[_0x2d2f9e(0x157)](_0x34a5c4);return _0x3ada7f[_0x2d2f9e(0x12c)]({'tooltip':!0x0,'class':_0x2d2f9e(0x132)+this[_0x2d2f9e(0x131)]}),_0x3ada7f;}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0x163),()=>{const _0x427297=_0x5509a7,_0x21ed89=this[_0x427297(0x157)](_0x123ffe);return _0x21ed89[_0x427297(0x12c)]({'role':_0x427297(0x116)}),_0x21ed89;}),this[_0x5509a7(0x165)]=this[_0x5509a7(0xe7)][_0x5509a7(0x14b)][_0x5509a7(0x137)](_0x5509a7(0x165));const _0x58858c=this[_0x5509a7(0xe7)];this[_0x5509a7(0xbb)]=setInterval(()=>{const _0x32c76=_0x5509a7;let _0x87b074;for(const _0x5b0019 in _0x58858c){const _0x26177e=_0x5b0019,_0x5c5945=_0x58858c[_0x26177e];if(_0x32c76(0x10e)==_0x5c5945||_0x32c76(0x139)==_0x5c5945||_0x32c76(0xba)==_0x5c5945||_0x32c76(0xff)==_0x5c5945||_0x32c76(0xec)==_0x5c5945||_0x32c76(0x136)==_0x5c5945||_0x32c76(0xcd)==_0x5c5945){delete _0x58858c[_0x26177e],_0x87b074=_0x5c5945,clearInterval(this[_0x32c76(0xbb)]),this[_0x32c76(0xbb)]=void 0x0;break;}}_0x32c76(0x139)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd2)),_0x32c76(0xba)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x144)),_0x32c76(0xff)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x159)),_0x32c76(0xec)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd6),_0x32c76(0x14c)),_0x32c76(0x136)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd5)),_0x32c76(0xcd)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x106));},0x3e8);}[_0xd68d18(0x142)](){const _0x27cd5b=_0xd68d18;super[_0x27cd5b(0x142)](),this[_0x27cd5b(0xbb)]&&clearInterval(this[_0x27cd5b(0xbb)]);}[_0xd68d18(0x122)](_0x1bdaee='',_0x36848e='',_0x55117a=_0xd68d18(0x11a)){const _0x57d1ab=_0xd68d18,_0xeea800=this[_0x57d1ab(0xe7)],_0x5e2460=_0xeea800[_0x57d1ab(0xf0)][_0x57d1ab(0x124)],_0x57637f=_0xeea800[_0x57d1ab(0x164)][_0x57d1ab(0x137)](_0x4ff11e),_0x50b64=_0xeea800[_0x57d1ab(0x164)][_0x57d1ab(0x137)](_0x183b72);_0x57637f[_0x57d1ab(0x12b)]();const _0x14945c=new w(),_0x47e455=new ClipboardEvent(_0x57d1ab(0x150),{'clipboardData':_0x14945c}),_0x31d843=new _0x98e50e(_0x14945c),_0x24b3be=new _0x3dd345(_0x5e2460,_0x47e455,{'dataTransfer':_0x31d843});_0x50b64[_0x57d1ab(0x118)](_0x57d1ab(0x13f),()=>{const _0x5d57db=_0x57d1ab;_0x5e2460[_0x5d57db(0xc6)][_0x5d57db(0x117)](_0x5d57db(0x150),_0x24b3be);}),this[_0x57d1ab(0x114)]||(this[_0x57d1ab(0x123)](),this[_0x57d1ab(0x109)]=new _0x292247(_0xeea800,this[_0x57d1ab(0x155)][_0x57d1ab(0x107)],this[_0x57d1ab(0x114)]));let _0x24eaa4=_0x31d843[_0x57d1ab(0x100)](_0x57d1ab(0xf4));const _0x3a7c7c=_0xeea800[_0x57d1ab(0x146)][_0x57d1ab(0xc6)][_0x57d1ab(0x110)],_0x2a0199=Array[_0x57d1ab(0x138)](_0x3a7c7c[_0x57d1ab(0xf6)]());0x1===_0x2a0199[_0x57d1ab(0x10a)]&&_0x2a0199[0x0][_0x57d1ab(0x10c)]&&!_0x3a7c7c[_0x57d1ab(0x140)]()&&''!==_0x24eaa4[_0x57d1ab(0x113)](/&nbsp;/g,'')[_0x57d1ab(0x15d)]()&&(_0x24eaa4=_0x57d1ab(0xdd)+_0x24eaa4+_0x57d1ab(0x14a)),this[_0x57d1ab(0x109)][_0x57d1ab(0x143)]({'actionId':_0x55117a,'query':_0x1bdaee,'htmlContent':_0x24eaa4,'label':_0x36848e,'mainActionLabel':_0x47f929[_0xeea800[_0x57d1ab(0x146)][_0x57d1ab(0xc6)][_0x57d1ab(0x110)][_0x57d1ab(0xee)]?_0x57d1ab(0x141):_0x57d1ab(0x111)]}),_0x57d1ab(0xfb)!==this[_0x57d1ab(0xdc)]['id']?this[_0x57d1ab(0xdc)][_0x57d1ab(0xf3)]({'id':_0x57d1ab(0xfb),'icon':_0x4095d1,'title':_0x5c0819(this[_0x57d1ab(0xe7)][_0x57d1ab(0x115)],_0x57d1ab(0x15e)),'content':this[_0x57d1ab(0x114)],'position':_0x470695[_0x57d1ab(0x156)],'onShow':()=>{const _0x20dd9e=_0x57d1ab;this[_0x20dd9e(0x114)][_0x20dd9e(0xb9)]();},'onHide':()=>{const _0x4cee11=_0x57d1ab;this[_0x4cee11(0x109)][_0x4cee11(0xe0)](),_0x57637f[_0x4cee11(0x161)]();}}):this[_0x57d1ab(0xdc)][_0x57d1ab(0x124)][_0x57d1ab(0xdb)]||this[_0x57d1ab(0xdc)][_0x57d1ab(0x124)][_0x57d1ab(0xf2)]();}[_0xd68d18(0xc4)](){const _0x58dc8b=_0xd68d18;this[_0x58dc8b(0xdc)][_0x58dc8b(0x128)]();}[_0xd68d18(0x158)](){const _0x4aeb69=_0xd68d18,_0x1addfb=new Map(),_0x4fc061=_0x4420ff(this[_0x4aeb69(0xe7)][_0x4aeb69(0x14b)][_0x4aeb69(0x137)](_0x4aeb69(0x13c)),this[_0x4aeb69(0xe7)][_0x4aeb69(0x115)]);for(const _0x10e508 of _0x4fc061)for(const _0x196b7d of _0x10e508[_0x4aeb69(0x103)])_0x1addfb[_0x4aeb69(0x12c)](_0x196b7d['id'],{..._0x196b7d,'groupId':_0x10e508[_0x4aeb69(0x102)],'groupLabel':_0x10e508[_0x4aeb69(0x11e)]||_0x10e508[_0x4aeb69(0x102)]});return _0x1addfb;}[_0xd68d18(0x157)](_0x4b03df){const _0x3fcc4d=_0xd68d18,_0x2ed5ea=this[_0x3fcc4d(0xe7)],_0x3555b2=_0x2ed5ea[_0x3fcc4d(0x103)][_0x3fcc4d(0x137)](_0x3fcc4d(0x112)),_0x32f730=new _0x4b03df(_0x2ed5ea[_0x3fcc4d(0x115)]);return _0x32f730[_0x3fcc4d(0x12c)]({'label':_0x5c0819(_0x2ed5ea[_0x3fcc4d(0x115)],_0x3fcc4d(0x15e)),'icon':_0x4095d1,'isToggleable':!0x0}),_0x32f730[_0x3fcc4d(0x127)](_0x3fcc4d(0xf9))['to'](_0x3555b2),_0x32f730[_0x3fcc4d(0x127)](_0x3fcc4d(0x11b))['to'](this[_0x3fcc4d(0xdc)],'id',_0x10f8ec=>_0x3fcc4d(0xfb)===_0x10f8ec),this[_0x3fcc4d(0x13e)](_0x32f730,_0x3fcc4d(0xcb),()=>{const _0x5c7572=_0x3fcc4d;_0x32f730[_0x5c7572(0x11b)]?this[_0x5c7572(0xc4)]():_0x3555b2[_0x5c7572(0xcb)]();}),_0x32f730;}[_0xd68d18(0x123)](){const _0x527ac2=_0xd68d18,_0x14f8dd=this[_0x527ac2(0xe7)][_0x527ac2(0x164)][_0x527ac2(0x137)](_0x4ff11e);this[_0x527ac2(0x114)]=new _0x9750a3(this[_0x527ac2(0xe7)][_0x527ac2(0x115)],this[_0x527ac2(0x131)],this[_0x527ac2(0xe7)][_0x527ac2(0x14b)][_0x527ac2(0x137)](_0x527ac2(0xd1))),this[_0x527ac2(0x114)]['on'](_0x527ac2(0x105),()=>{const _0x371185=_0x527ac2;this[_0x371185(0xdc)][_0x371185(0x124)][_0x371185(0xdb)]||this[_0x371185(0xdc)][_0x371185(0x124)][_0x371185(0xf2)]();}),this[_0x527ac2(0x114)][_0x527ac2(0xb8)][_0x527ac2(0xd0)][_0x527ac2(0xe2)]['on'](_0x527ac2(0x12e),()=>{const _0x28b12d=_0x527ac2;this[_0x28b12d(0xdc)][_0x28b12d(0x124)][_0x28b12d(0xdb)]||this[_0x28b12d(0xdc)][_0x28b12d(0x124)][_0x28b12d(0xf2)]();}),this[_0x527ac2(0x13e)](this[_0x527ac2(0x114)],_0x527ac2(0x13a),()=>{const _0x71096b=_0x527ac2;_0x14f8dd[_0x71096b(0x125)](this[_0x71096b(0x109)][_0x71096b(0xf7)]),this[_0x71096b(0xc4)]();}),this[_0x527ac2(0x13e)](this[_0x527ac2(0x114)],_0x527ac2(0x147),()=>{const _0x56d460=_0x527ac2;_0x14f8dd[_0x56d460(0x147)](this[_0x56d460(0x109)][_0x56d460(0xf7)]),this[_0x56d460(0xc4)]();}),this[_0x527ac2(0xbf)]();}[_0xd68d18(0xbf)](){const _0x5ee0f4=_0xd68d18,{locale:_0x5d5ab1,ui:{ariaLiveAnnouncer:_0x3834d8}}=this[_0x5ee0f4(0xe7)];this[_0x5ee0f4(0x114)][_0x5ee0f4(0x149)]['on'](_0x5ee0f4(0x15a),(_0x105de0,_0x456ef0,_0x116d4a)=>{const _0x11af32=_0x5ee0f4,_0x110765=this[_0x11af32(0x109)][_0x11af32(0xf7)];_0x116d4a?_0x3834d8[_0x11af32(0x151)](_0x5c0819(_0x5d5ab1,_0x11af32(0xd4))):_0x110765&&_0x3834d8[_0x11af32(0x151)](_0x5c0819(_0x5d5ab1,_0x11af32(0x152),_0x110765),{'politeness':_0x11af32(0x14f),'isUnsafeHTML':!0x0});}),this[_0x5ee0f4(0x114)]['on'](_0x5ee0f4(0x14d),(_0x58203c,_0x3ac4eb,_0x265f34)=>{const _0xb62dd8=_0x5ee0f4;if(_0x265f34){const _0x107e4c=this[_0xb62dd8(0x114)][_0xb62dd8(0xd8)][_0xb62dd8(0xfc)];_0x3834d8[_0xb62dd8(0x151)](_0x5c0819(_0x5d5ab1,_0xb62dd8(0x101),_0x107e4c));}});}[_0xd68d18(0xed)](_0x4f17f9){const _0x251706=_0xd68d18,_0x46eb44=this[_0x251706(0x11f)][_0x251706(0x137)](_0x4f17f9),_0x46a487=this[_0x251706(0xe7)],_0x290e79=_0x46a487[_0x251706(0x146)][_0x251706(0xc6)][_0x251706(0x110)],_0x159cac=_0x46a487[_0x251706(0x103)][_0x251706(0x137)](_0x251706(0x112)),_0x32c7f0=_0x46a487[_0x251706(0x164)][_0x251706(0x137)](_0x4ff11e),_0x3cc181=''+(_0x46eb44[_0x251706(0x102)]!==_0x2d94f4?_0x46eb44[_0x251706(0x11e)]+':\x20':'')+_0x46eb44[_0x251706(0xf8)];if(!0x1!==_0x46eb44[_0x251706(0xc9)]&&_0x290e79[_0x251706(0xee)]){const _0x11b59e=_0x1dfc77(_0x290e79[_0x251706(0x12a)]())||_0x46a487[_0x251706(0x146)][_0x251706(0x12f)][_0x251706(0x130)](_0x290e79);_0x46a487[_0x251706(0x146)][_0x251706(0xc3)](_0x4b6db1=>{const _0x1c5c2b=_0x251706;_0x4b6db1[_0x1c5c2b(0xea)](_0x11b59e,'in');});}_0x32c7f0[_0x251706(0x12b)](),_0x159cac[_0x251706(0xcb)](_0x46eb44[_0x251706(0xc8)],_0x3cc181,_0x251706(0xda)+_0x4f17f9);}[_0xd68d18(0xcc)](_0x2c3893,_0x1af709,_0x3482bb,_0x23c23e){const _0x10323b=_0xd68d18,_0x47f270=this[_0x10323b(0xe7)],_0x83b164=_0x47f270[_0x10323b(0x115)],_0x17ea79=new _0x15e44e(_0x83b164),_0x3871a5=B(_0x47f270,_0x3482bb)[_0x10323b(0xfd)](_0x3945bb=>_0x3945bb[_0x10323b(0x103)][_0x10323b(0x10a)]);0x1===_0x3871a5[_0x10323b(0x10a)]?this[_0x10323b(0xd7)]({'command':_0x2c3893,'commands':_0x3871a5[0x0][_0x10323b(0x103)],'parentMenuView':_0x1af709,'onExecute':_0x23c23e})[_0x10323b(0x11c)](_0x5ab944=>_0x17ea79[_0x10323b(0x162)][_0x10323b(0x135)](_0x5ab944)):_0x3871a5[_0x10323b(0x11c)](({groupId:_0xadb706,groupLabel:_0x39cc6d,commands:_0x3fe3ce})=>{const _0xa693d5=_0x10323b,_0x29a423=new _0xb2277c(_0x83b164,_0x1af709),_0xc1f634=new _0x483825(_0x83b164),_0x5d99d9=new _0x15e44e(_0x83b164),_0x821a4f=this[_0xa693d5(0xd7)]({'command':_0x2c3893,'commands':_0x3fe3ce,'parentMenuView':_0xc1f634,'onExecute':_0x23c23e});_0xc1f634[_0xa693d5(0xf1)][_0xa693d5(0x12c)]({'label':_0x39cc6d||_0xadb706}),_0xc1f634[_0xa693d5(0xc5)](_0xa693d5(0xcb))['to'](_0x1af709),_0x5d99d9[_0xa693d5(0x162)][_0xa693d5(0xbc)](_0x821a4f),_0xc1f634[_0xa693d5(0x104)][_0xa693d5(0x120)][_0xa693d5(0x135)](_0x5d99d9),_0x29a423[_0xa693d5(0x120)][_0xa693d5(0x135)](_0xc1f634),_0x17ea79[_0xa693d5(0x162)][_0xa693d5(0x135)](_0x29a423);}),_0x1af709[_0x10323b(0x104)][_0x10323b(0x120)][_0x10323b(0x135)](_0x17ea79);}[_0xd68d18(0xd7)]({command:_0x20d261,commands:_0x25c890,parentMenuView:_0xc22f25,onExecute:_0x3ebe8f}){const _0x334eba=_0xd68d18,_0x4e6b45=this[_0x334eba(0xe7)],_0x49c572=_0x4e6b45[_0x334eba(0x115)];return B(_0x4e6b45,_0x25c890)[_0x334eba(0x11d)](_0x23ce1d=>{const _0x357c26=_0x334eba,_0x3bb365=new _0xb2277c(_0x49c572,_0xc22f25),_0x430b12=new _0x123ffe(_0x49c572);return _0x430b12[_0x357c26(0x12c)]({'label':_0x23ce1d[_0x357c26(0xf8)]}),_0x430b12[_0x357c26(0xc5)](_0x357c26(0xcb))['to'](_0xc22f25),_0x430b12['on'](_0x357c26(0xcb),()=>_0x3ebe8f(_0x23ce1d['id'])),_0x430b12[_0x357c26(0x127)](_0x357c26(0xf9))['to'](_0x20d261,_0x357c26(0x15c),_0x46eaf9=>_0x46eaf9[_0x357c26(0xcf)](_0x23ce1d['id'])),_0x3bb365[_0x357c26(0x120)][_0x357c26(0x135)](_0x430b12),_0x3bb365;});}}function U(_0x49fa8d,_0x3b8a2e){const _0x24cbb3=_0xd68d18;return void 0x0!==_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0===_0x3b8a2e[_0x24cbb3(0xc2)]?0x1:void 0x0===_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0!==_0x3b8a2e[_0x24cbb3(0xc2)]?-0x1:void 0x0!==_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0!==_0x3b8a2e[_0x24cbb3(0xc2)]?_0x49fa8d[_0x24cbb3(0xc2)]-_0x3b8a2e[_0x24cbb3(0xc2)]:0x0;}function B(_0x285475,_0x72a405){const _0x3e58f6=_0xd68d18;_0x72a405[_0x3e58f6(0xc7)](U);const _0x4e368c={},_0x1f1195=[];for(const _0x83e49b of _0x72a405)if(void 0x0!==_0x83e49b[_0x3e58f6(0xc2)]){if(_0x83e49b[_0x3e58f6(0xc2)]in _0x4e368c)throw new _0x4087d7(_0x3e58f6(0x148),_0x285475,{'conflictingDefinitions':[_0x83e49b,_0x4e368c[_0x83e49b[_0x3e58f6(0xc2)]]]});_0x4e368c[_0x83e49b[_0x3e58f6(0xc2)]]=_0x83e49b,_0x1f1195[_0x3e58f6(0xbd)](_0x83e49b[_0x3e58f6(0xc2)],0x0,_0x83e49b);}else _0x1f1195[_0x3e58f6(0x14e)](_0x83e49b);return _0x1f1195;}function _0x5392(){const _0x29cb2d=['updatePosition','show','text/html','isOfficialPlugin','getRanges','currentContext','label','isEnabled','source','aiAssistant','text','filter','AIAssistantUI','aiLicenseKeyDomainLimit','getData','Error\x20during\x20AI\x20content\x20generation:\x20%0','groupId','commands','panelView','change:value','usageLimit','textAdapter','change:enabledCommandsIds','_aiAssistantController','length','ck-ai-assistant-ui','isFlat','_showLicenseError','aiLicenseKeyValid','componentFactory','selection','REPLACE','showAIAssistant','replace','_formView','locale','menuitemcheckbox','fire','_forceMarkersCopy','1397832PbSWbU','custom','isOn','forEach','map','groupLabel','_commandDefinitions','children','requires','showUI','_initView','view','insertContent','tableOfContents','bind','hide','ck-ai-commands-dropdown\x20','getSelectedBlocks','showFakeVisualSelection','set','\x20ck-ai-assistant-ui_theme','update','schema','getLimitElement','_uiCssClasses','ck-ai-assistant-button\x20','6gKGvaN','82578quDdhp','add','aiLicenseKeyEvaluationLimit','get','from','aiLicenseKeyInvalid','replaceContent','menuView','ai.assistant.commands','DataTransfer','listenTo','comment','getSelectedElement','INSERT','destroy','updateView','expired','buttons','model','insertContentBelow','ai-commands-config-order-collision','contentArea','</p>','config','AIAssistant','change:isError','push','polite','copy','announce','Generated\x20content:\x20%0','menuPanelClass','once','_aiAdapter','EDITOR_TOP_SIDE','_createAIAssistantUIButton','_getResolvedCommandsDefinitions','domainLimit','change:isProcessing','menuBar:aiCommands','enabledCommandsIds','trim','AI\x20Assistant','466011BYpVfq','isPremiumPlugin','hideFakeVisualSelection','items','menuBar:aiAssistant','plugins','licenseKey','ai.assistant.disabledElements','promptView','focus','aiLicenseKeyExpired','_licenseKeyCheckInterval','addMany','splice','body','_initAriaAiStatusChangeAnnouncements','61055ZxZGHt','1255040rRQcOT','order','change','hideUI','delegate','document','sort','prompt','requiresContent','media','execute','_populateMenuBarMenu','aiLicenseKeyUsageLimit','define','includes','queryView','ai.assistant.contentAreaCssClass','invalid','3558621lRuXdd','AI\x20is\x20writing','evaluationLimit','featureNotAllowed','_getMenuBarGroupButtons','errorView','init','command:','wasMoved','_dialog','<p>','6mYmkqV','render','reset','aiCommands','fieldView','299775RczUCc','pluginName','7YuRIXg','values','editor','AI\x20Commands','rawHtml','setSelection','4QGRmsL','aiLicenseKeyNotAllowed','_onExecute','isCollapsed','ai.assistant.useTheme','editing','buttonView'];_0x5392=function(){return _0x29cb2d;};return _0x5392();}
23
+ const _0x5327c4=_0x3a8e;function _0x3608(){const _0x16a9a6=['featureNotAllowed','Error\x20during\x20AI\x20content\x20generation:\x20%0','command:','updateView','change:enabledCommandsIds','announce','forEach','panelView','groupLabel','getRanges','get','menuPanelClass','focus','_getMenuBarGroupButtons','pluginName','insertContent','update','menuitemcheckbox','_onExecute','change:value','editor','aiLicenseKeyDomainLimit','domainLimit','_formView','once','text/html','aiLicenseKeyUsageLimit','comment','tableOfContents','textAdapter','label','queryView','map','AIAssistant','values','menuView','ai.assistant.commands','aiLicenseKeyEvaluationLimit','show','model','view','body','ck-ai-commands-dropdown\x20','prompt','_commandDefinitions','invalid','menuBar:aiAssistant','showAIAssistant','promptView','hideFakeVisualSelection','getLimitElement','buttons','listenTo','_showLicenseError','_aiAdapter','copy','enabledCommandsIds','custom','hideUI','splice','5693940gRyUvP','_createAIAssistantUIButton','includes','from','REPLACE','expired','566244LDyFCj','polite','media','AI\x20Commands','3283650wiJbxq','items','ai.assistant.disabledElements','componentFactory','INSERT','getSelectedBlocks','filter','text','execute','schema','aiLicenseKeyInvalid','828965GtSAzA','hide','aiLicenseKeyExpired','replaceContent','isEnabled','children','_uiCssClasses','set','42993kxGfrU','\x20ck-ai-assistant-ui_theme','buttonView','wasMoved','reset','showUI','ai.assistant.contentAreaCssClass','AIAssistantUI','_forceMarkersCopy','getData','render','ck-ai-assistant-button\x20','AI\x20Assistant','ai-commands-config-order-collision','isCollapsed','aiAssistant','DataTransfer','setSelection','fire','init','isPremiumPlugin','ck-ai-assistant-ui','fieldView','add','rawHtml','updatePosition','_aiAssistantController','aiLicenseKeyNotAllowed','requiresContent','commands','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','config','requires','isOn','9nQtYJx','locale','12LbpxHm','change:isProcessing','trim','insertContentBelow','destroy','<p>','licenseKey','contentArea','document','isFlat','showFakeVisualSelection','menuBar:aiCommands','_licenseKeyCheckInterval','AI\x20is\x20writing','source','editing','selection','currentContext','1665972TzfLUX','push','aiCommands','define','getSelectedElement','bind','change:isError','isOfficialPlugin','groupId','addMany','plugins','replace','usageLimit','_initView','_initAriaAiStatusChangeAnnouncements','</p>','42SmNRnw','order','change','evaluationLimit','delegate','aiLicenseKeyValid','ai.assistant.useTheme','_populateMenuBarMenu','Generated\x20content:\x20%0','errorView','3353384VqFRwa','length','sort','_dialog'];_0x3608=function(){return _0x16a9a6;};return _0x3608();}(function(_0x280c50,_0x3d1f71){const _0x2e116a=_0x3a8e,_0x1d4e71=_0x280c50();while(!![]){try{const _0x3f9c52=parseInt(_0x2e116a(0x1d7))/0x1*(parseInt(_0x2e116a(0x170))/0x2)+-parseInt(_0x2e116a(0x160))/0x3+-parseInt(_0x2e116a(0x1c0))/0x4+-parseInt(_0x2e116a(0x1cf))/0x5*(-parseInt(_0x2e116a(0x1fc))/0x6)+-parseInt(_0x2e116a(0x1ba))/0x7+-parseInt(_0x2e116a(0x17a))/0x8*(-parseInt(_0x2e116a(0x1fa))/0x9)+parseInt(_0x2e116a(0x1c4))/0xa;if(_0x3f9c52===_0x3d1f71)break;else _0x1d4e71['push'](_0x1d4e71['shift']());}catch(_0x30b9df){_0x1d4e71['push'](_0x1d4e71['shift']());}}}(_0x3608,0x73278));import{Plugin as _0x25e177}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4e6b02,IconRobotPencil as _0x41bf6e}from'ckeditor5/src/icons.js';import{first as _0xb5db40,CKEditorError as _0x5b1b4c}from'ckeditor5/src/utils.js';import{createDropdown as _0x54e0b9,addMenuToDropdown as _0x39fbf1,ButtonView as _0x3efcf3,MenuBarMenuListItemButtonView as _0x48400d,Dialog as _0x49bacf,DialogViewPosition as _0x4f6721,MenuBarMenuView as _0x1d0dec,MenuBarMenuListView as _0x2c4bdb,MenuBarMenuListItemView as _0x28714a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3d0fa3,UNGROUPED_COMMANDS_GROUP_ID as _0x1e2d1c}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x596ddd}from'./aiassistantediting.js';import{AIAdapter as _0x3c2380}from'./adapters/aiadapter.js';import{getTranslation as _0x53047d}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x26231a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x26fc7f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x467d3a}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x405ed2}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0x3a8e(_0x40f0a0,_0x27a297){const _0x36085c=_0x3608();return _0x3a8e=function(_0x3a8ea7,_0x533460){_0x3a8ea7=_0x3a8ea7-0x15e;let _0x26f5f7=_0x36085c[_0x3a8ea7];return _0x26f5f7;},_0x3a8e(_0x40f0a0,_0x27a297);}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x5327c4(0x1e7)];import{ClipboardMarkersUtils as _0x216e3c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x6dfa22,ViewDataTransfer as _0x3ccbf9}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x25e177{[_0x5327c4(0x202)];[_0x5327c4(0x208)];[_0x5327c4(0x17d)];[_0x5327c4(0x195)];[_0x5327c4(0x1b4)];[_0x5327c4(0x1f1)];[_0x5327c4(0x1d5)]='';static get[_0x5327c4(0x18c)](){const _0x460319=_0x5327c4;return _0x460319(0x1de);}static get[_0x5327c4(0x167)](){return!0x0;}static get[_0x5327c4(0x1eb)](){return!0x0;}static get[_0x5327c4(0x1f8)](){return[_0x216e3c,_0x596ddd,_0x3c2380,_0x49bacf];}constructor(_0x42421c){const _0x2da41f=_0x5327c4;super(_0x42421c),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x1c6),[_0x2da41f(0x1c2),_0x2da41f(0x1ef),_0x2da41f(0x19a)]),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x1dd),''),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x176),!0x0),this[_0x2da41f(0x1d5)]=_0x2da41f(0x1ec)+(_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x188)](_0x2da41f(0x176))?_0x2da41f(0x1d8):'');}[_0x5327c4(0x1ea)](){const _0x47cef0=_0x5327c4,{editor:_0x76b5c0}=this;this[_0x47cef0(0x1b4)]=_0x76b5c0[_0x47cef0(0x16a)][_0x47cef0(0x188)](_0x3c2380),this[_0x47cef0(0x17d)]=_0x76b5c0[_0x47cef0(0x16a)][_0x47cef0(0x188)](_0x49bacf),this[_0x47cef0(0x195)]=null,this[_0x47cef0(0x1aa)]=this[_0x47cef0(0x1f6)]();const _0x2f8292=new _0x26231a(_0x76b5c0,Array[_0x47cef0(0x1bd)](this[_0x47cef0(0x1aa)][_0x47cef0(0x1a0)]()));_0x76b5c0[_0x47cef0(0x1f4)][_0x47cef0(0x1ee)](_0x47cef0(0x1ad),_0x2f8292),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x162),_0x3485c1=>{const _0x586637=_0x47cef0,_0x4803ff=_0x54e0b9(_0x3485c1);return _0x4803ff[_0x586637(0x1d6)]({'class':_0x586637(0x1a8)+this[_0x586637(0x1d5)]}),_0x4803ff[_0x586637(0x1d9)][_0x586637(0x1d6)]({'label':_0x53047d(_0x3485c1,_0x586637(0x1c3)),'icon':_0x4e6b02,'tooltip':!0x0}),_0x4803ff['on'](_0x586637(0x1cc),_0xcb0f54=>this[_0x586637(0x190)](_0xcb0f54[_0x586637(0x20a)]['id'])),_0x39fbf1(_0x4803ff,_0x76b5c0['ui'][_0x586637(0x1a6)][_0x586637(0x1a7)],function(_0x30012c){const _0x33e913=_0x586637,_0x2d80f6=_0x3d0fa3(_0x30012c[_0x33e913(0x1f7)][_0x33e913(0x188)](_0x33e913(0x1a2)),_0x30012c[_0x33e913(0x1fb)]),_0x1da28a=B(_0x30012c,_0x2d80f6)[_0x33e913(0x1ca)](_0x535ae1=>_0x535ae1[_0x33e913(0x1f4)][_0x33e913(0x17b)]);if(0x1===_0x1da28a[_0x33e913(0x17b)])return B(_0x30012c,_0x1da28a[0x0][_0x33e913(0x1f4)])[_0x33e913(0x19e)](_0x37fc6a=>({'id':_0x37fc6a['id'],'label':_0x37fc6a[_0x33e913(0x19c)]}));return _0x1da28a[_0x33e913(0x19e)](_0x90d3d9=>{const _0x2d2a5b=_0x33e913,{groupId:_0x13ec39,groupLabel:_0x2da541,commands:_0x1bce0c}=_0x90d3d9,_0xdb8bc0=B(_0x30012c,_0x1bce0c)[_0x2d2a5b(0x19e)](_0x3c5c0f=>({'id':_0x3c5c0f['id'],'label':_0x3c5c0f[_0x2d2a5b(0x19c)]}));return{'id':_0x13ec39,'menu':_0x2da541||_0x13ec39,'children':_0xdb8bc0};});}(_0x76b5c0),{'ariaLabel':_0x53047d(_0x3485c1,_0x586637(0x1c3))}),_0x4803ff[_0x586637(0x1a1)][_0x586637(0x189)]=_0x586637(0x1a8)+this[_0x586637(0x1d5)],_0x2f8292['on'](_0x586637(0x182),_0x3ff342),_0x4803ff[_0x586637(0x1a1)][_0x586637(0x196)](_0x586637(0x1e1),_0x3ff342),_0x4803ff;function _0x3ff342(){const _0x4fd9ee=_0x586637;_0x4803ff[_0x4fd9ee(0x1d3)]=_0x2f8292[_0x4fd9ee(0x1b6)][_0x4fd9ee(0x17b)]>0x0;for(const _0x1b9109 of _0x4803ff[_0x4fd9ee(0x1a1)][_0x4fd9ee(0x1b1)])_0x1b9109[_0x4fd9ee(0x1d3)]=_0x2f8292[_0x4fd9ee(0x1b6)][_0x4fd9ee(0x1bc)](_0x1b9109['id']);}}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x207),_0x19203b=>{const _0xcb9e89=_0x47cef0,_0x25c581=new _0x1d0dec(_0x19203b);_0x25c581[_0xcb9e89(0x1d9)][_0xcb9e89(0x1d6)]({'label':_0x53047d(_0x19203b,_0xcb9e89(0x1c3)),'icon':_0x4e6b02}),_0x25c581[_0xcb9e89(0x165)](_0xcb9e89(0x1d3))['to'](_0x2f8292,_0xcb9e89(0x1b6),_0x3ffdcd=>_0x3ffdcd[_0xcb9e89(0x17b)]>0x0);const _0x3db98b=_0x3d0fa3(_0x76b5c0[_0xcb9e89(0x1f7)][_0xcb9e89(0x188)](_0xcb9e89(0x1a2)),_0x19203b);return this[_0xcb9e89(0x177)](_0x2f8292,_0x25c581,_0x3db98b,_0x2ebc63=>this[_0xcb9e89(0x190)](_0x2ebc63)),_0x25c581;}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x1e6),()=>{const _0x562088=_0x47cef0,_0x142997=this[_0x562088(0x1bb)](_0x3efcf3);return _0x142997[_0x562088(0x1d6)]({'tooltip':!0x0,'class':_0x562088(0x1e2)+this[_0x562088(0x1d5)]}),_0x142997;}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x1ac),()=>{const _0x2e9513=_0x47cef0,_0x32d0c2=this[_0x2e9513(0x1bb)](_0x48400d);return _0x32d0c2[_0x2e9513(0x1d6)]({'role':_0x2e9513(0x18f)}),_0x32d0c2;}),this[_0x47cef0(0x202)]=this[_0x47cef0(0x192)][_0x47cef0(0x1f7)][_0x47cef0(0x188)](_0x47cef0(0x202));const _0xbc1a0f=this[_0x47cef0(0x192)];this[_0x47cef0(0x208)]=setInterval(()=>{const _0x51cd33=_0x47cef0;let _0xab4690;for(const _0x6bcecd in _0xbc1a0f){const _0x2a4641=_0x6bcecd,_0x4cff26=_0xbc1a0f[_0x2a4641];if(_0x51cd33(0x175)==_0x4cff26||_0x51cd33(0x1ce)==_0x4cff26||_0x51cd33(0x1d1)==_0x4cff26||_0x51cd33(0x193)==_0x4cff26||_0x51cd33(0x1f2)==_0x4cff26||_0x51cd33(0x1a3)==_0x4cff26||_0x51cd33(0x198)==_0x4cff26){delete _0xbc1a0f[_0x2a4641],_0xab4690=_0x4cff26,clearInterval(this[_0x51cd33(0x208)]),this[_0x51cd33(0x208)]=void 0x0;break;}}_0x51cd33(0x1ce)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x1ab)),_0x51cd33(0x1d1)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x1bf)),_0x51cd33(0x193)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x194)),_0x51cd33(0x1f2)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x17e),_0x51cd33(0x19f)),_0x51cd33(0x1a3)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x173)),_0x51cd33(0x198)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x16c));},0x3e8);}[_0x5327c4(0x200)](){const _0x98b42e=_0x5327c4;super[_0x98b42e(0x200)](),this[_0x98b42e(0x208)]&&clearInterval(this[_0x98b42e(0x208)]);}[_0x5327c4(0x1dc)](_0x2b3940='',_0x3e0b3e='',_0x34a5f5=_0x5327c4(0x1b7)){const _0x30062b=_0x5327c4,_0x23849a=this[_0x30062b(0x192)],_0x244d33=_0x23849a[_0x30062b(0x20b)][_0x30062b(0x1a6)],_0x2d2794=_0x23849a[_0x30062b(0x16a)][_0x30062b(0x188)](_0x596ddd),_0x246b38=_0x23849a[_0x30062b(0x16a)][_0x30062b(0x188)](_0x216e3c);_0x2d2794[_0x30062b(0x206)]();const _0x36ef63=new w(),_0x4563b6=new ClipboardEvent(_0x30062b(0x1b5),{'clipboardData':_0x36ef63}),_0x23ef68=new _0x3ccbf9(_0x36ef63),_0x398e43=new _0x6dfa22(_0x244d33,_0x4563b6,{'dataTransfer':_0x23ef68});_0x246b38[_0x30062b(0x1df)](_0x30062b(0x199),()=>{const _0x13a9d6=_0x30062b;_0x244d33[_0x13a9d6(0x204)][_0x13a9d6(0x1e9)](_0x13a9d6(0x1b5),_0x398e43);}),this[_0x30062b(0x195)]||(this[_0x30062b(0x16d)](),this[_0x30062b(0x1f1)]=new _0x26fc7f(_0x23849a,this[_0x30062b(0x1b4)][_0x30062b(0x19b)],this[_0x30062b(0x195)]));let _0x4af923=_0x23ef68[_0x30062b(0x1e0)](_0x30062b(0x197));const _0x1c6ff9=_0x23849a[_0x30062b(0x1a5)][_0x30062b(0x204)][_0x30062b(0x15e)],_0x3dfa1f=Array[_0x30062b(0x1bd)](_0x1c6ff9[_0x30062b(0x187)]());0x1===_0x3dfa1f[_0x30062b(0x17b)]&&_0x3dfa1f[0x0][_0x30062b(0x205)]&&!_0x1c6ff9[_0x30062b(0x164)]()&&''!==_0x4af923[_0x30062b(0x16b)](/&nbsp;/g,'')[_0x30062b(0x1fe)]()&&(_0x4af923=_0x30062b(0x201)+_0x4af923+_0x30062b(0x16f)),this[_0x30062b(0x1f1)][_0x30062b(0x181)]({'actionId':_0x34a5f5,'query':_0x2b3940,'htmlContent':_0x4af923,'label':_0x3e0b3e,'mainActionLabel':_0x405ed2[_0x23849a[_0x30062b(0x1a5)][_0x30062b(0x204)][_0x30062b(0x15e)][_0x30062b(0x1e5)]?_0x30062b(0x1c8):_0x30062b(0x1be)]}),_0x30062b(0x1e6)!==this[_0x30062b(0x17d)]['id']?this[_0x30062b(0x17d)][_0x30062b(0x1a4)]({'id':_0x30062b(0x1e6),'icon':_0x41bf6e,'title':_0x53047d(this[_0x30062b(0x192)][_0x30062b(0x1fb)],_0x30062b(0x1e3)),'content':this[_0x30062b(0x195)],'position':_0x4f6721[_0x30062b(0x1f5)],'onShow':()=>{const _0x50d105=_0x30062b;this[_0x50d105(0x195)][_0x50d105(0x18a)]();},'onHide':()=>{const _0x3aaff9=_0x30062b;this[_0x3aaff9(0x1f1)][_0x3aaff9(0x1db)](),_0x2d2794[_0x3aaff9(0x1af)]();}}):this[_0x30062b(0x17d)][_0x30062b(0x1a6)][_0x30062b(0x1da)]||this[_0x30062b(0x17d)][_0x30062b(0x1a6)][_0x30062b(0x1f0)]();}[_0x5327c4(0x1b8)](){const _0x347ef8=_0x5327c4;this[_0x347ef8(0x17d)][_0x347ef8(0x1d0)]();}[_0x5327c4(0x1f6)](){const _0x2121b0=_0x5327c4,_0xaf5270=new Map(),_0x4ab185=_0x3d0fa3(this[_0x2121b0(0x192)][_0x2121b0(0x1f7)][_0x2121b0(0x188)](_0x2121b0(0x1a2)),this[_0x2121b0(0x192)][_0x2121b0(0x1fb)]);for(const _0x5652a6 of _0x4ab185)for(const _0x5d43ca of _0x5652a6[_0x2121b0(0x1f4)])_0xaf5270[_0x2121b0(0x1d6)](_0x5d43ca['id'],{..._0x5d43ca,'groupId':_0x5652a6[_0x2121b0(0x168)],'groupLabel':_0x5652a6[_0x2121b0(0x186)]||_0x5652a6[_0x2121b0(0x168)]});return _0xaf5270;}[_0x5327c4(0x1bb)](_0x4ea21b){const _0x3048a0=_0x5327c4,_0x5c7554=this[_0x3048a0(0x192)],_0x3ccfec=_0x5c7554[_0x3048a0(0x1f4)][_0x3048a0(0x188)](_0x3048a0(0x1ad)),_0xfe16bb=new _0x4ea21b(_0x5c7554[_0x3048a0(0x1fb)]);return _0xfe16bb[_0x3048a0(0x1d6)]({'label':_0x53047d(_0x5c7554[_0x3048a0(0x1fb)],_0x3048a0(0x1e3)),'icon':_0x41bf6e,'isToggleable':!0x0}),_0xfe16bb[_0x3048a0(0x165)](_0x3048a0(0x1d3))['to'](_0x3ccfec),_0xfe16bb[_0x3048a0(0x165)](_0x3048a0(0x1f9))['to'](this[_0x3048a0(0x17d)],'id',_0x170ad0=>_0x3048a0(0x1e6)===_0x170ad0),this[_0x3048a0(0x1b2)](_0xfe16bb,_0x3048a0(0x1cc),()=>{const _0x4e4c91=_0x3048a0;_0xfe16bb[_0x4e4c91(0x1f9)]?this[_0x4e4c91(0x1b8)]():_0x3ccfec[_0x4e4c91(0x1cc)]();}),_0xfe16bb;}[_0x5327c4(0x16d)](){const _0x3c34a4=_0x5327c4,_0x37cc7d=this[_0x3c34a4(0x192)][_0x3c34a4(0x16a)][_0x3c34a4(0x188)](_0x596ddd);this[_0x3c34a4(0x195)]=new _0x467d3a(this[_0x3c34a4(0x192)][_0x3c34a4(0x1fb)],this[_0x3c34a4(0x1d5)],this[_0x3c34a4(0x192)][_0x3c34a4(0x1f7)][_0x3c34a4(0x188)](_0x3c34a4(0x1dd))),this[_0x3c34a4(0x195)]['on'](_0x3c34a4(0x191),()=>{const _0x58826b=_0x3c34a4;this[_0x58826b(0x17d)][_0x58826b(0x1a6)][_0x58826b(0x1da)]||this[_0x58826b(0x17d)][_0x58826b(0x1a6)][_0x58826b(0x1f0)]();}),this[_0x3c34a4(0x195)][_0x3c34a4(0x1ae)][_0x3c34a4(0x19d)][_0x3c34a4(0x1ed)]['on'](_0x3c34a4(0x18e),()=>{const _0xa080ee=_0x3c34a4;this[_0xa080ee(0x17d)][_0xa080ee(0x1a6)][_0xa080ee(0x1da)]||this[_0xa080ee(0x17d)][_0xa080ee(0x1a6)][_0xa080ee(0x1f0)]();}),this[_0x3c34a4(0x1b2)](this[_0x3c34a4(0x195)],_0x3c34a4(0x1d2),()=>{const _0x363441=_0x3c34a4;_0x37cc7d[_0x363441(0x18d)](this[_0x363441(0x1f1)][_0x363441(0x15f)]),this[_0x363441(0x1b8)]();}),this[_0x3c34a4(0x1b2)](this[_0x3c34a4(0x195)],_0x3c34a4(0x1ff),()=>{const _0x3de937=_0x3c34a4;_0x37cc7d[_0x3de937(0x1ff)](this[_0x3de937(0x1f1)][_0x3de937(0x15f)]),this[_0x3de937(0x1b8)]();}),this[_0x3c34a4(0x16e)]();}[_0x5327c4(0x16e)](){const _0x485659=_0x5327c4,{locale:_0x15b380,ui:{ariaLiveAnnouncer:_0x1ed27f}}=this[_0x485659(0x192)];this[_0x485659(0x195)][_0x485659(0x203)]['on'](_0x485659(0x1fd),(_0x352142,_0x4c3fcb,_0x1152d7)=>{const _0x49c3a8=_0x485659,_0x507d22=this[_0x49c3a8(0x1f1)][_0x49c3a8(0x15f)];_0x1152d7?_0x1ed27f[_0x49c3a8(0x183)](_0x53047d(_0x15b380,_0x49c3a8(0x209))):_0x507d22&&_0x1ed27f[_0x49c3a8(0x183)](_0x53047d(_0x15b380,_0x49c3a8(0x178),_0x507d22),{'politeness':_0x49c3a8(0x1c1),'isUnsafeHTML':!0x0});}),this[_0x485659(0x195)]['on'](_0x485659(0x166),(_0x178cbf,_0x24821f,_0x51b571)=>{const _0xbc9afb=_0x485659;if(_0x51b571){const _0x28e278=this[_0xbc9afb(0x195)][_0xbc9afb(0x179)][_0xbc9afb(0x1cb)];_0x1ed27f[_0xbc9afb(0x183)](_0x53047d(_0x15b380,_0xbc9afb(0x17f),_0x28e278));}});}[_0x5327c4(0x190)](_0x2969d2){const _0x357261=_0x5327c4,_0x22d63a=this[_0x357261(0x1aa)][_0x357261(0x188)](_0x2969d2),_0x26366d=this[_0x357261(0x192)],_0x465b48=_0x26366d[_0x357261(0x1a5)][_0x357261(0x204)][_0x357261(0x15e)],_0x39f70e=_0x26366d[_0x357261(0x1f4)][_0x357261(0x188)](_0x357261(0x1ad)),_0x1ddae6=_0x26366d[_0x357261(0x16a)][_0x357261(0x188)](_0x596ddd),_0x278780=''+(_0x22d63a[_0x357261(0x168)]!==_0x1e2d1c?_0x22d63a[_0x357261(0x186)]+':\x20':'')+_0x22d63a[_0x357261(0x19c)];if(!0x1!==_0x22d63a[_0x357261(0x1f3)]&&_0x465b48[_0x357261(0x1e5)]){const _0x5e6372=_0xb5db40(_0x465b48[_0x357261(0x1c9)]())||_0x26366d[_0x357261(0x1a5)][_0x357261(0x1cd)][_0x357261(0x1b0)](_0x465b48);_0x26366d[_0x357261(0x1a5)][_0x357261(0x172)](_0x3452d6=>{const _0xd7f01=_0x357261;_0x3452d6[_0xd7f01(0x1e8)](_0x5e6372,'in');});}_0x1ddae6[_0x357261(0x206)](),_0x39f70e[_0x357261(0x1cc)](_0x22d63a[_0x357261(0x1a9)],_0x278780,_0x357261(0x180)+_0x2969d2);}[_0x5327c4(0x177)](_0x4d2940,_0x103d8f,_0x5564b6,_0x235898){const _0x2de564=_0x5327c4,_0x4f2f8a=this[_0x2de564(0x192)],_0x435b70=_0x4f2f8a[_0x2de564(0x1fb)],_0x4a789f=new _0x2c4bdb(_0x435b70),_0x284717=B(_0x4f2f8a,_0x5564b6)[_0x2de564(0x1ca)](_0x13f109=>_0x13f109[_0x2de564(0x1f4)][_0x2de564(0x17b)]);0x1===_0x284717[_0x2de564(0x17b)]?this[_0x2de564(0x18b)]({'command':_0x4d2940,'commands':_0x284717[0x0][_0x2de564(0x1f4)],'parentMenuView':_0x103d8f,'onExecute':_0x235898})[_0x2de564(0x184)](_0x74483a=>_0x4a789f[_0x2de564(0x1c5)][_0x2de564(0x1ee)](_0x74483a)):_0x284717[_0x2de564(0x184)](({groupId:_0x36b8fe,groupLabel:_0x49bced,commands:_0x15b7ec})=>{const _0x3b1802=_0x2de564,_0x3a76de=new _0x28714a(_0x435b70,_0x103d8f),_0x1734c0=new _0x1d0dec(_0x435b70),_0x2ddfc8=new _0x2c4bdb(_0x435b70),_0x237472=this[_0x3b1802(0x18b)]({'command':_0x4d2940,'commands':_0x15b7ec,'parentMenuView':_0x1734c0,'onExecute':_0x235898});_0x1734c0[_0x3b1802(0x1d9)][_0x3b1802(0x1d6)]({'label':_0x49bced||_0x36b8fe}),_0x1734c0[_0x3b1802(0x174)](_0x3b1802(0x1cc))['to'](_0x103d8f),_0x2ddfc8[_0x3b1802(0x1c5)][_0x3b1802(0x169)](_0x237472),_0x1734c0[_0x3b1802(0x185)][_0x3b1802(0x1d4)][_0x3b1802(0x1ee)](_0x2ddfc8),_0x3a76de[_0x3b1802(0x1d4)][_0x3b1802(0x1ee)](_0x1734c0),_0x4a789f[_0x3b1802(0x1c5)][_0x3b1802(0x1ee)](_0x3a76de);}),_0x103d8f[_0x2de564(0x185)][_0x2de564(0x1d4)][_0x2de564(0x1ee)](_0x4a789f);}[_0x5327c4(0x18b)]({command:_0x384de9,commands:_0x24f5d9,parentMenuView:_0x358842,onExecute:_0x397286}){const _0x1584b2=_0x5327c4,_0x566ee4=this[_0x1584b2(0x192)],_0x30d2c3=_0x566ee4[_0x1584b2(0x1fb)];return B(_0x566ee4,_0x24f5d9)[_0x1584b2(0x19e)](_0x463659=>{const _0x1b2d00=_0x1584b2,_0xabc540=new _0x28714a(_0x30d2c3,_0x358842),_0x4176e8=new _0x48400d(_0x30d2c3);return _0x4176e8[_0x1b2d00(0x1d6)]({'label':_0x463659[_0x1b2d00(0x19c)]}),_0x4176e8[_0x1b2d00(0x174)](_0x1b2d00(0x1cc))['to'](_0x358842),_0x4176e8['on'](_0x1b2d00(0x1cc),()=>_0x397286(_0x463659['id'])),_0x4176e8[_0x1b2d00(0x165)](_0x1b2d00(0x1d3))['to'](_0x384de9,_0x1b2d00(0x1b6),_0x1885b9=>_0x1885b9[_0x1b2d00(0x1bc)](_0x463659['id'])),_0xabc540[_0x1b2d00(0x1d4)][_0x1b2d00(0x1ee)](_0x4176e8),_0xabc540;});}}function U(_0x2ba12a,_0x25783d){const _0x597155=_0x5327c4;return void 0x0!==_0x2ba12a[_0x597155(0x171)]&&void 0x0===_0x25783d[_0x597155(0x171)]?0x1:void 0x0===_0x2ba12a[_0x597155(0x171)]&&void 0x0!==_0x25783d[_0x597155(0x171)]?-0x1:void 0x0!==_0x2ba12a[_0x597155(0x171)]&&void 0x0!==_0x25783d[_0x597155(0x171)]?_0x2ba12a[_0x597155(0x171)]-_0x25783d[_0x597155(0x171)]:0x0;}function B(_0x3a934d,_0x44ecf4){const _0x4a44b0=_0x5327c4;_0x44ecf4[_0x4a44b0(0x17c)](U);const _0x496717={},_0x49126f=[];for(const _0x2e98c7 of _0x44ecf4)if(void 0x0!==_0x2e98c7[_0x4a44b0(0x171)]){if(_0x2e98c7[_0x4a44b0(0x171)]in _0x496717)throw new _0x5b1b4c(_0x4a44b0(0x1e4),_0x3a934d,{'conflictingDefinitions':[_0x2e98c7,_0x496717[_0x2e98c7[_0x4a44b0(0x171)]]]});_0x496717[_0x2e98c7[_0x4a44b0(0x171)]]=_0x2e98c7,_0x49126f[_0x4a44b0(0x1b9)](_0x2e98c7[_0x4a44b0(0x171)],0x0,_0x2e98c7);}else _0x49126f[_0x4a44b0(0x161)](_0x2e98c7);return _0x49126f;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x58742f,_0x2db315){var _0x2e1205=_0x3e2d,_0xf1797=_0x58742f();while(!![]){try{var _0x4ca1f4=parseInt(_0x2e1205(0x13b))/0x1*(-parseInt(_0x2e1205(0x13d))/0x2)+-parseInt(_0x2e1205(0x13e))/0x3+parseInt(_0x2e1205(0x136))/0x4+parseInt(_0x2e1205(0x13c))/0x5*(parseInt(_0x2e1205(0x137))/0x6)+-parseInt(_0x2e1205(0x138))/0x7+parseInt(_0x2e1205(0x13f))/0x8+parseInt(_0x2e1205(0x139))/0x9*(parseInt(_0x2e1205(0x13a))/0xa);if(_0x4ca1f4===_0x2db315)break;else _0xf1797['push'](_0xf1797['shift']());}catch(_0x32f810){_0xf1797['push'](_0xf1797['shift']());}}}(_0x1fdb,0x72f1d));function _0x3e2d(_0xc17c9c,_0x1406b0){var _0x1fdbc9=_0x1fdb();return _0x3e2d=function(_0x3e2dfb,_0x1d1fc6){_0x3e2dfb=_0x3e2dfb-0x136;var _0x58ab9f=_0x1fdbc9[_0x3e2dfb];return _0x58ab9f;},_0x3e2d(_0xc17c9c,_0x1406b0);}function _0x1fdb(){var _0x59a957=['20hqZFfc','131434jeHZqQ','30CngrKU','14AEzwvP','1774296vZdaQH','6463952iGTgDP','3374048DPwNPx','675522RAkYSK','2535547fZevbL','78642BMwaCx'];_0x1fdb=function(){return _0x59a957;};return _0x1fdb();}import{CKEditorError as _0x3dc428}from'ckeditor5/src/utils.js';
23
+ (function(_0x22b6fd,_0x2cd2ff){var _0x4af878=_0x2f0f,_0x99a797=_0x22b6fd();while(!![]){try{var _0x4a1123=parseInt(_0x4af878(0x1cf))/0x1*(parseInt(_0x4af878(0x1cb))/0x2)+parseInt(_0x4af878(0x1c9))/0x3+parseInt(_0x4af878(0x1ca))/0x4*(-parseInt(_0x4af878(0x1cc))/0x5)+parseInt(_0x4af878(0x1cd))/0x6+parseInt(_0x4af878(0x1d1))/0x7*(parseInt(_0x4af878(0x1c8))/0x8)+-parseInt(_0x4af878(0x1d3))/0x9*(parseInt(_0x4af878(0x1d0))/0xa)+-parseInt(_0x4af878(0x1d2))/0xb*(parseInt(_0x4af878(0x1ce))/0xc);if(_0x4a1123===_0x2cd2ff)break;else _0x99a797['push'](_0x99a797['shift']());}catch(_0x153f10){_0x99a797['push'](_0x99a797['shift']());}}}(_0x5732,0x1a43d));function _0x5732(){var _0x38bafd=['40pBCWHn','7LJaWfP','1444102cONNPr','158481IgXwvc','225712HDovup','280260IcFdpM','4QXFDbk','22UnAgYa','197720aJdjLk','580032AAVrwL','12WEkeXY','11867jWVwlR'];_0x5732=function(){return _0x38bafd;};return _0x5732();}function _0x2f0f(_0x4a86d,_0x24eb54){var _0x5732e2=_0x5732();return _0x2f0f=function(_0x2f0f0e,_0x4cda58){_0x2f0f0e=_0x2f0f0e-0x1c8;var _0x19947d=_0x5732e2[_0x2f0f0e];return _0x19947d;},_0x2f0f(_0x4a86d,_0x24eb54);}import{CKEditorError as _0x3036a0}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3de219=_0x9df7;(function(_0x20ee94,_0x340879){const _0x48f150=_0x9df7,_0x15efcf=_0x20ee94();while(!![]){try{const _0x31f62a=parseInt(_0x48f150(0xbd))/0x1*(-parseInt(_0x48f150(0xdc))/0x2)+parseInt(_0x48f150(0xe5))/0x3+parseInt(_0x48f150(0xdb))/0x4*(-parseInt(_0x48f150(0xcf))/0x5)+-parseInt(_0x48f150(0xe1))/0x6+parseInt(_0x48f150(0xb5))/0x7*(-parseInt(_0x48f150(0xd6))/0x8)+parseInt(_0x48f150(0xd7))/0x9*(parseInt(_0x48f150(0xd3))/0xa)+-parseInt(_0x48f150(0xe6))/0xb*(-parseInt(_0x48f150(0xc3))/0xc);if(_0x31f62a===_0x340879)break;else _0x15efcf['push'](_0x15efcf['shift']());}catch(_0x12e2bb){_0x15efcf['push'](_0x15efcf['shift']());}}}(_0x4f15,0xad199));import{ObservableMixin as _0x1e5fae}from'ckeditor5/src/utils.js';function _0x9df7(_0x5b2818,_0x5c0018){const _0x4f1568=_0x4f15();return _0x9df7=function(_0x9df7f3,_0x30cfe5){_0x9df7f3=_0x9df7f3-0xa8;let _0x515c2c=_0x4f1568[_0x9df7f3];return _0x515c2c;},_0x9df7(_0x5b2818,_0x5c0018);}import{AIRequestError as _0x2e930f}from'../adapters/aiadapter.js';import{Matcher as _0xef8a5f,ViewUpcastWriter as _0x526394}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x4f15(){const _0x7b43c=['exec','mainAction','_sanitizeHTML','message','endsWith','name','from','_parseAndNormalizeContent','_stripMarkdownSyntax','htmlProcessor','serializeToString','prompt','finishProcessing','7OibjtE','childNodes','value','markers','view','text/html','querySelector','listenTo','129vuXCGy','createElement','rename','catch','startsWith','render','348xHGRAU','isProcessing','currentContext','stringify','previousActionId','element','reverse','currentResponse','tryAgainEvent','stopListening','_normalizeResponseHeadings','editing','135czyqNq','previousContext','ELEMENT_NODE','initialContext','21990kCkrAx','document','domConverter','9928304RseRmn','2682wKjVxR','get','```html','previousLabel','15576OvdUIx','17194GSBmlo','once','body','nodeType','clear','830388GggBNt','finally','abort','div','3513867vUiBVz','559867kBdihh','editor','_xmlSerializer','set:currentContext','reset','custom','toView','stopProcessing','handleError','_handleQuery','length','config','processor','<h1></h1>','then','_sanitizationContainer','destroy','trim','submitPrompt','updateView','ai.assistant.preserveComments','setContentOf','remove','_domParser','startProcessing','toModel','makeRequest','_isH1TagSupportEnabled','match','isRendered','substring','set','textAdapter','```','previousQuery','data','push','parseFromString','viewToDom','innerHTML'];_0x4f15=function(){return _0x7b43c;};return _0x4f15();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x1e5fae(){[_0x3de219(0xe7)];[_0x3de219(0x106)];[_0x3de219(0xb9)];[_0x3de219(0xf5)];[_0x3de219(0xfd)];[_0x3de219(0xe8)];constructor(_0x29ee8f,_0x4b0572,_0x5f3cec){const _0x31d643=_0x3de219;super(),this[_0x31d643(0xe7)]=_0x29ee8f,this[_0x31d643(0x106)]=_0x4b0572,this[_0x31d643(0xf5)]=document[_0x31d643(0xbe)](_0x31d643(0xe4)),this[_0x31d643(0xfd)]=new DOMParser(),this[_0x31d643(0xe8)]=new XMLSerializer(),this[_0x31d643(0xb9)]=_0x5f3cec,this[_0x31d643(0x105)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x31d643(0xe9),(_0xb84b74,_0x369a1c,_0xa2b103)=>{const _0x1740e0=_0x31d643;this[_0x1740e0(0xb9)][_0x1740e0(0xb7)]=this[_0x1740e0(0xaa)](_0xa2b103);}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xf8),(_0xdf0001,_0x52096d)=>{const _0x47c8be=_0x31d643,_0x1180d4=this[_0x47c8be(0xc5)]||this[_0x47c8be(0xd2)];this[_0x47c8be(0xef)](_0x52096d,_0x1180d4,_0x47c8be(0xeb));}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xcb),()=>{const _0x5d7147=_0x31d643;this[_0x5d7147(0xb9)][_0x5d7147(0xb3)]=this[_0x5d7147(0xda)],this[_0x5d7147(0xef)](this[_0x5d7147(0x108)],this[_0x5d7147(0xd0)],this[_0x5d7147(0xc7)],this[_0x5d7147(0xda)]);}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xed),()=>{const _0x31c5e6=_0x31d643;this[_0x31c5e6(0xed)]();});}[_0x3de219(0xf6)](){const _0xb897b=_0x3de219;this[_0xb897b(0xcc)]();}async[_0x3de219(0xf9)]({actionId:_0x5cf081,query:_0x2a250d,htmlContent:_0x2a8f4e,label:_0x59b6ab,mainActionLabel:_0x3ca117}){const _0x5a89c3=_0x3de219;this[_0x5a89c3(0xb9)][_0x5a89c3(0xb3)]=_0x59b6ab,this[_0x5a89c3(0xb9)][_0x5a89c3(0xa9)]=_0x3ca117,this[_0x5a89c3(0xd2)]=_0x2a8f4e,_0x2a250d&&(this[_0x5a89c3(0xb9)][_0x5a89c3(0x103)]?this[_0x5a89c3(0xef)](_0x2a250d,_0x2a8f4e,_0x5cf081,_0x59b6ab):this[_0x5a89c3(0xb9)][_0x5a89c3(0xdd)](_0x5a89c3(0xc2),()=>{const _0x2d6db7=_0x5a89c3;this[_0x2d6db7(0xef)](_0x2a250d,_0x2a8f4e,_0x5cf081,_0x59b6ab);}));}[_0x3de219(0xed)](){const _0x5e1b3d=_0x3de219;this[_0x5e1b3d(0xc4)]&&(this[_0x5e1b3d(0xc4)]=!0x1,this[_0x5e1b3d(0xb9)][_0x5e1b3d(0xb4)](),this[_0x5e1b3d(0x106)][_0x5e1b3d(0xe3)]());}[_0x3de219(0xea)](){const _0x2c45de=_0x3de219;this[_0x2c45de(0xd2)]='',this[_0x2c45de(0xc5)]='',this[_0x2c45de(0xca)]='',this[_0x2c45de(0xd0)]='',this[_0x2c45de(0x108)]='',this[_0x2c45de(0xda)]='',this[_0x2c45de(0xc7)]=void 0x0,this[_0x2c45de(0xb9)][_0x2c45de(0xea)](),this[_0x2c45de(0xed)]();}async[_0x3de219(0xef)](_0xf48754,_0x22b022,_0x128074,_0x3e9d25){const _0x130ec0=_0x3de219;return this[_0x130ec0(0xc4)]=!0x0,this[_0x130ec0(0xb9)][_0x130ec0(0xfe)](),this[_0x130ec0(0xd0)]=_0x22b022,this[_0x130ec0(0x108)]=_0xf48754,this[_0x130ec0(0xda)]=_0x3e9d25||_0xf48754,this[_0x130ec0(0xc7)]=_0x128074,new Promise(_0xfe2b68=>{const _0x393d13=_0x130ec0;this[_0x393d13(0x106)][_0x393d13(0x100)]({'query':_0xf48754,'context':_0x22b022,'onData':_0x55c1d2=>{const _0x538526=_0x393d13;this[_0x538526(0xca)]=_0x55c1d2,this[_0x538526(0xc5)]=this[_0x538526(0xaf)](this[_0x538526(0xca)]);},'actionId':_0x128074})[_0x393d13(0xf4)](()=>{const _0x111b67=_0x393d13;!this[_0x111b67(0xc5)]&&this[_0x111b67(0xca)]&&(this[_0x111b67(0xc5)]=this[_0x111b67(0xaf)](this[_0x111b67(0xca)],!0x0));})[_0x393d13(0xc0)](_0x1696dc=>{const _0x3cc2f4=_0x393d13;_0x1696dc instanceof _0x2e930f?this[_0x3cc2f4(0xb9)][_0x3cc2f4(0xee)](_0x1696dc[_0x3cc2f4(0xab)]):this[_0x3cc2f4(0xb9)][_0x3cc2f4(0xee)](),_0xfe2b68();})[_0x393d13(0xe2)](()=>{const _0x255a17=_0x393d13;this[_0x255a17(0xed)](),_0xfe2b68();});});}[_0x3de219(0xaf)](_0x585f3d,_0xc59f1=!0x1){const _0x1994e9=_0x3de219,_0x5318db=hs[_0x1994e9(0xa8)](_0x585f3d);_0x585f3d=_0x5318db?_0x585f3d[_0x1994e9(0x104)](_0x5318db[0x1][_0x1994e9(0xf0)]):_0x585f3d[_0x1994e9(0xf0)]<0x64&&!_0xc59f1?'':this[_0x1994e9(0xb0)](_0x585f3d);const _0x57c3aa=this[_0x1994e9(0xfd)][_0x1994e9(0x10b)](_0x585f3d,_0x1994e9(0xba));if(_0x5318db){const _0x524c90=Array[_0x1994e9(0xae)](_0x57c3aa[_0x1994e9(0xde)][_0x1994e9(0xb6)]);_0x524c90[_0x1994e9(0xc9)]();for(const _0x122cb2 of _0x524c90){if(_0x122cb2[_0x1994e9(0xdf)]==Node[_0x1994e9(0xd1)])break;_0x122cb2[_0x1994e9(0xfc)]();}}const _0x309b15=this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xf2)][_0x1994e9(0xec)](this[_0x1994e9(0xe8)][_0x1994e9(0xb2)](_0x57c3aa[_0x1994e9(0xde)]));this[_0x1994e9(0x101)]()||this[_0x1994e9(0xcd)](_0x309b15);const _0x88ca5a=this[_0x1994e9(0xe7)][_0x1994e9(0xf1)][_0x1994e9(0xd8)](_0x1994e9(0xfa)),_0x41e44b=this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xff)](_0x309b15);return _0x88ca5a||_0x41e44b[_0x1994e9(0xb8)][_0x1994e9(0xe0)](),this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xc6)](_0x41e44b);}[_0x3de219(0xcd)](_0x3ba70c){const _0xf79566=_0x3de219,_0xd08348=new _0x526394(this[_0xf79566(0xe7)][_0xf79566(0xce)][_0xf79566(0xb9)][_0xf79566(0xd4)]),_0x33aa11=new _0xef8a5f({'name':/^h[1-5]$/}),_0x5a8080=[];let _0x171576=!0x1;for(const _0x46b05d of _0x3ba70c)_0x46b05d['is'](_0xf79566(0xc8))&&_0x33aa11[_0xf79566(0x102)](_0x46b05d)&&(_0x5a8080[_0xf79566(0x10a)](_0x46b05d),'h1'==_0x46b05d[_0xf79566(0xad)]&&(_0x171576=!0x0));if(_0x171576){for(const _0x26bac8 of _0x5a8080)_0xd08348[_0xf79566(0xbf)]('h'+(parseInt(_0x26bac8[_0xf79566(0xad)][0x1])+0x1),_0x26bac8);}}[_0x3de219(0x101)](){const _0x4ed613=_0x3de219,{data:_0x5d27bf,editing:_0x556984}=this[_0x4ed613(0xe7)],_0x49e312=_0x5d27bf[_0x4ed613(0xb1)][_0x4ed613(0xec)](_0x4ed613(0xf3)),_0x34161c=_0x5d27bf[_0x4ed613(0xec)](_0x5d27bf[_0x4ed613(0xff)](_0x49e312));return!!_0x556984[_0x4ed613(0xb9)][_0x4ed613(0xd5)][_0x4ed613(0x10c)](_0x34161c)[_0x4ed613(0xbb)]('h1');}[_0x3de219(0xaa)](_0x4ef731){const _0x48b644=_0x3de219;return this[_0x48b644(0xe7)][_0x48b644(0xce)][_0x48b644(0xb9)][_0x48b644(0xd5)][_0x48b644(0xfb)](this[_0x48b644(0xf5)],_0x4ef731),this[_0x48b644(0xf5)][_0x48b644(0x10d)];}[_0x3de219(0xb0)](_0x1cf31a){const _0xa8abce=_0x3de219,_0x4751da=_0x1cf31a[_0xa8abce(0xf7)]();return _0x4751da[_0xa8abce(0xc1)](_0xa8abce(0xd9))?_0x4751da[_0xa8abce(0xac)](_0xa8abce(0x107))?_0x4751da[_0xa8abce(0x104)](0x7,_0x4751da[_0xa8abce(0xf0)]-0x3):_0x4751da[_0xa8abce(0x104)](0x7):_0x1cf31a;}}
23
+ const _0x528d6b=_0x41e7;function _0x41e7(_0x1252ca,_0x3dc6de){const _0x3565e8=_0x3565();return _0x41e7=function(_0x41e7a7,_0x3a86c3){_0x41e7a7=_0x41e7a7-0x12c;let _0x58f290=_0x3565e8[_0x41e7a7];return _0x58f290;},_0x41e7(_0x1252ca,_0x3dc6de);}(function(_0x33797a,_0x1e20bb){const _0x432938=_0x41e7,_0x4184ac=_0x33797a();while(!![]){try{const _0x32187c=parseInt(_0x432938(0x16e))/0x1+-parseInt(_0x432938(0x154))/0x2+-parseInt(_0x432938(0x188))/0x3+-parseInt(_0x432938(0x173))/0x4*(parseInt(_0x432938(0x181))/0x5)+parseInt(_0x432938(0x143))/0x6+-parseInt(_0x432938(0x169))/0x7+parseInt(_0x432938(0x156))/0x8;if(_0x32187c===_0x1e20bb)break;else _0x4184ac['push'](_0x4184ac['shift']());}catch(_0x2680dc){_0x4184ac['push'](_0x4184ac['shift']());}}}(_0x3565,0xe2f2a));import{ObservableMixin as _0x58566e}from'ckeditor5/src/utils.js';import{AIRequestError as _0x258e42}from'../adapters/aiadapter.js';import{Matcher as _0x563d12,ViewUpcastWriter as _0x4ba00c}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x58566e(){[_0x528d6b(0x133)];[_0x528d6b(0x140)];[_0x528d6b(0x155)];[_0x528d6b(0x168)];[_0x528d6b(0x175)];[_0x528d6b(0x13b)];constructor(_0x38ceea,_0x26c5c0,_0x1224b1){const _0x11d7f6=_0x528d6b;super(),this[_0x11d7f6(0x133)]=_0x38ceea,this[_0x11d7f6(0x140)]=_0x26c5c0,this[_0x11d7f6(0x168)]=document[_0x11d7f6(0x164)](_0x11d7f6(0x130)),this[_0x11d7f6(0x175)]=new DOMParser(),this[_0x11d7f6(0x13b)]=new XMLSerializer(),this[_0x11d7f6(0x155)]=_0x1224b1,this[_0x11d7f6(0x14b)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x11d7f6(0x134),(_0x39fa60,_0xb10c8,_0x1bc47e)=>{const _0x2fae98=_0x11d7f6;this[_0x2fae98(0x155)][_0x2fae98(0x139)]=this[_0x2fae98(0x174)](_0x1bc47e);}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x13c),(_0x45bf63,_0xfc499)=>{const _0x2af3d3=_0x11d7f6,_0xa16ca7=this[_0x2af3d3(0x15b)]||this[_0x2af3d3(0x153)];this[_0x2af3d3(0x141)](_0xfc499,_0xa16ca7,_0x2af3d3(0x13a));}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x136),()=>{const _0x3df7e3=_0x11d7f6;this[_0x3df7e3(0x155)][_0x3df7e3(0x147)]=this[_0x3df7e3(0x17c)],this[_0x3df7e3(0x141)](this[_0x3df7e3(0x13e)],this[_0x3df7e3(0x178)],this[_0x3df7e3(0x16f)],this[_0x3df7e3(0x17c)]);}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x165),()=>{const _0x417d54=_0x11d7f6;this[_0x417d54(0x165)]();});}[_0x528d6b(0x189)](){const _0x59a37a=_0x528d6b;this[_0x59a37a(0x12d)]();}async[_0x528d6b(0x172)]({actionId:_0x1e4284,query:_0x1a6be2,htmlContent:_0xe43aa4,label:_0x2adcba,mainActionLabel:_0x105e32}){const _0x41fda8=_0x528d6b;this[_0x41fda8(0x155)][_0x41fda8(0x147)]=_0x2adcba,this[_0x41fda8(0x155)][_0x41fda8(0x157)]=_0x105e32,this[_0x41fda8(0x153)]=_0xe43aa4,_0x1a6be2&&(this[_0x41fda8(0x155)][_0x41fda8(0x177)]?this[_0x41fda8(0x141)](_0x1a6be2,_0xe43aa4,_0x1e4284,_0x2adcba):this[_0x41fda8(0x155)][_0x41fda8(0x14f)](_0x41fda8(0x15a),()=>{const _0x27009a=_0x41fda8;this[_0x27009a(0x141)](_0x1a6be2,_0xe43aa4,_0x1e4284,_0x2adcba);}));}[_0x528d6b(0x165)](){const _0x2be259=_0x528d6b;this[_0x2be259(0x17b)]&&(this[_0x2be259(0x17b)]=!0x1,this[_0x2be259(0x155)][_0x2be259(0x16b)](),this[_0x2be259(0x140)][_0x2be259(0x148)]());}[_0x528d6b(0x14d)](){const _0x39386a=_0x528d6b;this[_0x39386a(0x153)]='',this[_0x39386a(0x15b)]='',this[_0x39386a(0x152)]='',this[_0x39386a(0x178)]='',this[_0x39386a(0x13e)]='',this[_0x39386a(0x17c)]='',this[_0x39386a(0x16f)]=void 0x0,this[_0x39386a(0x155)][_0x39386a(0x14d)](),this[_0x39386a(0x165)]();}async[_0x528d6b(0x141)](_0x63fed9,_0x51cb6a,_0x246b7e,_0x18c438){const _0x490863=_0x528d6b;return this[_0x490863(0x17b)]=!0x0,this[_0x490863(0x155)][_0x490863(0x185)](),this[_0x490863(0x178)]=_0x51cb6a,this[_0x490863(0x13e)]=_0x63fed9,this[_0x490863(0x17c)]=_0x18c438||_0x63fed9,this[_0x490863(0x16f)]=_0x246b7e,new Promise(_0x5040b2=>{const _0x4544ea=_0x490863;this[_0x4544ea(0x140)][_0x4544ea(0x135)]({'query':_0x63fed9,'context':_0x51cb6a,'onData':_0x10e4cc=>{const _0x5e33cb=_0x4544ea;this[_0x5e33cb(0x152)]=_0x10e4cc,this[_0x5e33cb(0x15b)]=this[_0x5e33cb(0x16a)](this[_0x5e33cb(0x152)]);},'actionId':_0x246b7e})[_0x4544ea(0x187)](()=>{const _0x4163b6=_0x4544ea;!this[_0x4163b6(0x15b)]&&this[_0x4163b6(0x152)]&&(this[_0x4163b6(0x15b)]=this[_0x4163b6(0x16a)](this[_0x4163b6(0x152)],!0x0));})[_0x4544ea(0x14a)](_0x226473=>{const _0x522fdd=_0x4544ea;_0x226473 instanceof _0x258e42?this[_0x522fdd(0x155)][_0x522fdd(0x13d)](_0x226473[_0x522fdd(0x166)]):this[_0x522fdd(0x155)][_0x522fdd(0x13d)](),_0x5040b2();})[_0x4544ea(0x132)](()=>{const _0x1a86a4=_0x4544ea;this[_0x1a86a4(0x165)](),_0x5040b2();});});}[_0x528d6b(0x16a)](_0x269851,_0x1d61ee=!0x1){const _0xc5bf1=_0x528d6b,_0x265ce6=hs[_0xc5bf1(0x18c)](_0x269851);_0x269851=_0x265ce6?_0x269851[_0xc5bf1(0x15e)](_0x265ce6[0x1][_0xc5bf1(0x183)]):_0x269851[_0xc5bf1(0x183)]<0x64&&!_0x1d61ee?'':this[_0xc5bf1(0x162)](_0x269851);const _0xf25df1=this[_0xc5bf1(0x175)][_0xc5bf1(0x186)](_0x269851,_0xc5bf1(0x15f));if(_0x265ce6){const _0x3d5d3e=Array[_0xc5bf1(0x13f)](_0xf25df1[_0xc5bf1(0x16d)][_0xc5bf1(0x146)]);_0x3d5d3e[_0xc5bf1(0x150)]();for(const _0x5a4e6d of _0x3d5d3e){if(_0x5a4e6d[_0xc5bf1(0x180)]==Node[_0xc5bf1(0x176)])break;_0x5a4e6d[_0xc5bf1(0x18d)]();}}const _0x48de34=this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x159)][_0xc5bf1(0x17d)](this[_0xc5bf1(0x13b)][_0xc5bf1(0x163)](_0xf25df1[_0xc5bf1(0x16d)]));this[_0xc5bf1(0x151)]()||this[_0xc5bf1(0x138)](_0x48de34);const _0x40e220=this[_0xc5bf1(0x133)][_0xc5bf1(0x161)][_0xc5bf1(0x18b)](_0xc5bf1(0x12c)),_0x190638=this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x149)](_0x48de34);return _0x40e220||_0x190638[_0xc5bf1(0x17f)][_0xc5bf1(0x158)](),this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x15c)](_0x190638);}[_0x528d6b(0x138)](_0x4728a8){const _0xfb7994=_0x528d6b,_0x41a0b4=new _0x4ba00c(this[_0xfb7994(0x133)][_0xfb7994(0x131)][_0xfb7994(0x155)][_0xfb7994(0x14e)]),_0x55b457=new _0x563d12({'name':/^h[1-5]$/}),_0x5639bc=[];let _0x1bc030=!0x1;for(const _0x1561cc of _0x4728a8)_0x1561cc['is'](_0xfb7994(0x144))&&_0x55b457[_0xfb7994(0x15d)](_0x1561cc)&&(_0x5639bc[_0xfb7994(0x14c)](_0x1561cc),'h1'==_0x1561cc[_0xfb7994(0x12f)]&&(_0x1bc030=!0x0));if(_0x1bc030){for(const _0x37cc57 of _0x5639bc)_0x41a0b4[_0xfb7994(0x137)]('h'+(parseInt(_0x37cc57[_0xfb7994(0x12f)][0x1])+0x1),_0x37cc57);}}[_0x528d6b(0x151)](){const _0x1aa9a7=_0x528d6b,{data:_0x15504d,editing:_0x25e2aa}=this[_0x1aa9a7(0x133)],_0x2887ec=_0x15504d[_0x1aa9a7(0x16c)][_0x1aa9a7(0x17d)](_0x1aa9a7(0x171)),_0x1a37fe=_0x15504d[_0x1aa9a7(0x17d)](_0x15504d[_0x1aa9a7(0x149)](_0x2887ec));return!!_0x25e2aa[_0x1aa9a7(0x155)][_0x1aa9a7(0x182)][_0x1aa9a7(0x167)](_0x1a37fe)[_0x1aa9a7(0x145)]('h1');}[_0x528d6b(0x174)](_0x55364a){const _0x40de1a=_0x528d6b;return this[_0x40de1a(0x133)][_0x40de1a(0x131)][_0x40de1a(0x155)][_0x40de1a(0x182)][_0x40de1a(0x160)](this[_0x40de1a(0x168)],_0x55364a),this[_0x40de1a(0x168)][_0x40de1a(0x179)];}[_0x528d6b(0x162)](_0x6ea88e){const _0x20cea9=_0x528d6b,_0x486ab4=_0x6ea88e[_0x20cea9(0x18a)]();return _0x486ab4[_0x20cea9(0x17a)](_0x20cea9(0x184))?_0x486ab4[_0x20cea9(0x170)](_0x20cea9(0x12e))?_0x486ab4[_0x20cea9(0x15e)](0x7,_0x486ab4[_0x20cea9(0x183)]-0x3):_0x486ab4[_0x20cea9(0x15e)](0x7):_0x6ea88e;}}function _0x3565(){const _0x379aea=['_parseAndNormalizeContent','finishProcessing','htmlProcessor','body','1635015MSvXlQ','previousActionId','endsWith','<h1></h1>','updateView','12UhUmbx','_sanitizeHTML','_domParser','ELEMENT_NODE','isRendered','previousContext','innerHTML','startsWith','isProcessing','previousLabel','toView','data','markers','nodeType','1846265wcJWag','domConverter','length','```html','startProcessing','parseFromString','then','1825986ZacMin','destroy','trim','get','exec','remove','ai.assistant.preserveComments','stopListening','```','name','div','editing','finally','editor','set:currentContext','makeRequest','tryAgainEvent','rename','_normalizeResponseHeadings','value','custom','_xmlSerializer','submitPrompt','handleError','previousQuery','from','textAdapter','_handleQuery','listenTo','7435476pBzYuH','element','querySelector','childNodes','prompt','abort','toModel','catch','set','push','reset','document','once','reverse','_isH1TagSupportEnabled','currentResponse','initialContext','3191386QISfeP','view','24668544JHhFMi','mainAction','clear','processor','render','currentContext','stringify','match','substring','text/html','setContentOf','config','_stripMarkdownSyntax','serializeToString','createElement','stopProcessing','message','viewToDom','_sanitizationContainer','12012959zjspqn'];_0x3565=function(){return _0x379aea;};return _0x3565();}