@ckeditor/ckeditor5-ai 47.3.0-alpha.1 → 47.3.0-alpha.3

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 (298) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +18 -15
  3. package/dist/index.css +19 -15
  4. package/dist/index.js +5 -5
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +15 -15
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  158. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  159. package/src/aiassistant/aiassistant.js +1 -1
  160. package/src/aiassistant/aiassistantediting.js +1 -1
  161. package/src/aiassistant/aiassistantui.js +1 -1
  162. package/src/aiassistant/legacyerrors.js +1 -1
  163. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  164. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  165. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformview.js +1 -1
  169. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  171. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  172. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  173. package/src/aiassistant/utils/common-translations.js +1 -1
  174. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  175. package/src/aiballoon/aiballoon.js +1 -1
  176. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  177. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatcontroller.js +1 -1
  181. package/src/aichat/aichatui.js +1 -1
  182. package/src/aichat/model/aichatcontext.js +1 -1
  183. package/src/aichat/model/aichatconversation.js +1 -1
  184. package/src/aichat/model/aichatinteraction.js +1 -1
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichathistory/aichathistory.js +1 -1
  214. package/src/aichathistory/aichathistorycontroller.js +1 -1
  215. package/src/aichathistory/aichathistoryui.js +1 -1
  216. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  217. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  219. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistoryview.d.ts +1 -0
  222. package/src/aichathistory/ui/aichathistoryview.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/aisuggestioncontentpartview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  240. package/src/aicore/utils/common-translations.js +1 -1
  241. package/src/aicore/utils/createresizebutton.js +1 -1
  242. package/src/aicore/utils/documentposition.js +1 -1
  243. package/src/aicore/utils/documentrange.js +1 -1
  244. package/src/aicore/utils/eventnames.js +1 -1
  245. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  246. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  247. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  248. package/src/aicore/utils/htmlparser.js +1 -1
  249. package/src/aicore/utils/htmlstreamer.js +1 -1
  250. package/src/aicore/utils/scrollmanager.js +1 -1
  251. package/src/aieditorintegration/aieditorintegration.js +1 -1
  252. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  253. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  254. package/src/aiquickactions/aiquickactions.js +1 -1
  255. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  256. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  262. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  263. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  264. package/src/aireviewmode/aireviewmode.js +1 -1
  265. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  266. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  267. package/src/aireviewmode/aireviewmodeui.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  270. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  274. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  275. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  276. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  287. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  288. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  289. package/src/aitabs/aitabs.js +1 -1
  290. package/src/aitabs/aitabsmainview.js +1 -1
  291. package/src/aitabs/tabs/aitabsview.js +1 -1
  292. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  293. package/src/aitabs/tabs/tabpanelview.js +1 -1
  294. package/src/errors.js +1 -1
  295. package/src/errorsmap.js +1 -1
  296. package/src/index.js +1 -1
  297. package/theme/aiballoon/aiballoon.css +2 -1
  298. package/theme/aiquickactions/aiquickactions.css +17 -14
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2249(_0x4356e7,_0x3244de){const _0x69a697=_0x69a6();return _0x2249=function(_0x2249ba,_0x54cfa0){_0x2249ba=_0x2249ba-0xda;let _0x5b832b=_0x69a697[_0x2249ba];return _0x5b832b;},_0x2249(_0x4356e7,_0x3244de);}const _0x21bd8e=_0x2249;function _0x69a6(){const _0x55f18c=['addClass','ai-ui','for','findAncestor','ck-ai-assistant-ui_theme','getRange','isPremiumPlugin','insertRows','_createEmptyTableRows','_getDefaultInsertBelowPosition','editingDowncast','href','data','init','removeMarker','join','isCollapsed','last','element','366157HaLVSe','31422ZDfFvg','push','setSelection','markerRange','9JjfdVB','has','getRowIndexes','text/html','_resetContentOfSelectedTableCells','showFakeVisualSelection','createRange','createPositionAfter','getRanges','2304KLsiYt','editing','afterInit','addMarker','ck-fake-ai-selection_collapsed','isContent','38tVfDYc','createPositionAt','TableUtils','isAtEnd','markerToHighlight','canEditAt','schema','getColumnIndexes','getChild','getFirstRange','1268001QzTBoQ','updateMarker','first','markerToElement','ai.assistant.useTheme','resultRange','getSelectedBlocks','1148125UNQVBa','isOfficialPlugin','pluginName','editor','from','_prepareTableInsertBelowPosition','fromCharCode','2922xFYpgO','_getTableRowCountFromContent','lowest','getSelectedTableCells','model','span','_pasteHTMLUsingClipboard','forEach','filter','AIAssistantEditing','getRows','deleteContent','4549416eibtzZ','getLastMatchingPosition','getChildren','document','3092106YhGnZg','insertContent','getMarkersGroup','off','_getAISelection','paste','pop','selection','createUIElement','DataTransfer','config','get','length','contentInsertion','parse','table','map','markers','conversion','hideFakeVisualSelection','370qFjwFT','setData','fire','ck-fake-ai-selection','change','start','end','once','plugins','getLastPosition','createSelection','insertContentBelow'];_0x69a6=function(){return _0x55f18c;};return _0x69a6();}(function(_0x139f5c,_0x2c57cb){const _0x303835=_0x2249,_0x1f4a80=_0x139f5c();while(!![]){try{const _0x33d09a=parseInt(_0x303835(0x126))/0x1*(parseInt(_0x303835(0x113))/0x2)+parseInt(_0x303835(0x13e))/0x3*(-parseInt(_0x303835(0x120))/0x4)+parseInt(_0x303835(0x137))/0x5+parseInt(_0x303835(0xdf))/0x6+parseInt(_0x303835(0x130))/0x7+parseInt(_0x303835(0xdb))/0x8*(parseInt(_0x303835(0x117))/0x9)+parseInt(_0x303835(0xf3))/0xa*(-parseInt(_0x303835(0x112))/0xb);if(_0x33d09a===_0x2c57cb)break;else _0x1f4a80['push'](_0x1f4a80['shift']());}catch(_0x49e4a6){_0x1f4a80['push'](_0x1f4a80['shift']());}}}(_0x69a6,0x490a3));import{uid as _0x4dac21}from'ckeditor5/src/utils.js';import{Plugin as _0x5114fc}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2bbd57}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1fc28f,ViewDataTransfer as _0x2818a2}from'ckeditor5/src/engine.js';const w=globalThis[_0x21bd8e(0xe8)],f=_0x21bd8e(0x100);export class AIAssistantEditing extends _0x5114fc{static get[_0x21bd8e(0x139)](){const _0xc83cb5=_0x21bd8e;return _0xc83cb5(0x147);}static get[_0x21bd8e(0x138)](){return!0x0;}static get[_0x21bd8e(0x105)](){return!0x0;}[_0x21bd8e(0x10c)](){const _0x40303e=_0x21bd8e,{editor:_0x12717b}=this,_0x36166d=[_0x40303e(0xf6)];_0x12717b[_0x40303e(0xe9)][_0x40303e(0xea)](_0x40303e(0x134))&&_0x36166d[_0x40303e(0x114)](_0x40303e(0x103)),_0x12717b[_0x40303e(0xf1)][_0x40303e(0x101)](_0x40303e(0x109))[_0x40303e(0x12a)]({'model':f,'view':{'classes':_0x36166d,'priority':0xc}}),_0x12717b[_0x40303e(0xf1)][_0x40303e(0x101)](_0x40303e(0x109))[_0x40303e(0x133)]({'model':f,'view':(_0x366c74,{writer:_0xe0a3da})=>{const _0x5d707c=_0x40303e;if(!_0x366c74[_0x5d707c(0x116)][_0x5d707c(0x10f)])return null;const _0x1efeec=_0xe0a3da[_0x5d707c(0xe7)](_0x5d707c(0x143));return _0xe0a3da[_0x5d707c(0xff)]([_0x5d707c(0xf6),_0x5d707c(0x124)],_0x1efeec),_0x1efeec;}});}[_0x21bd8e(0x122)](){!async function(_0x1e12ee){const _0x4d606a=_0xcf5515([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]),_0x4c7057=0x3dffc4e1,_0x4cab3a=0x3df8bea9^_0x4c7057,_0x65edad=window[_0xcf5515([0x44,0x61,0x74,0x65])][_0xcf5515([0x6e,0x6f,0x77])](),_0x5d1338=_0x1e12ee[_0xcf5515([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x78afdc=new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x143f6d=>{_0x5d1338[_0xcf5515([0x6f,0x6e,0x63,0x65])](_0xcf5515([0x72,0x65,0x61,0x64,0x79]),_0x143f6d);}),_0x12ad90={[_0xcf5515([0x6b,0x74,0x79])]:_0xcf5515([0x45,0x43]),[_0xcf5515([0x75,0x73,0x65])]:_0xcf5515([0x73,0x69,0x67]),[_0xcf5515([0x63,0x72,0x76])]:_0xcf5515([0x50,0x2d,0x32,0x35,0x36]),[_0xcf5515([0x78])]:_0xcf5515([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]),[_0xcf5515([0x79])]:_0xcf5515([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]),[_0xcf5515([0x61,0x6c,0x67])]:_0xcf5515([0x45,0x53,0x32,0x35,0x36])},_0x4db404=_0x5d1338[_0xcf5515([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xcf5515([0x67,0x65,0x74])](_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x492723(){let _0x289845,_0x169adf=null,_0x201956=null;try{if(_0x4db404==_0xcf5515([0x47,0x50,0x4c]))return _0xcf5515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x289845=_0x18446a(),!_0x289845)return _0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x289845[_0xcf5515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x201956=_0x2354b2(_0x289845[_0xcf5515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x289845[_0xcf5515([0x6a,0x74,0x69])])),await _0x1eaa4f()?_0x7b6ea4()?_0x212d95()?_0xcf5515([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4300cb()?(_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcf5515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x169adf=_0x346057(_0xcf5515([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcf5515([0x74,0x72,0x69,0x61,0x6c])&&(_0x169adf=_0x346057(_0xcf5515([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4068bc()):_0xcf5515([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xcf5515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x212d95(){const _0x4b830b=[_0xcf5515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xcf5515([0x74,0x72,0x69,0x61,0x6c])][_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x65edad/0x3e8:0xe10*_0x4cab3a;return _0x289845[_0xcf5515([0x65,0x78,0x70])]<_0x4b830b;}function _0x7b6ea4(){const _0x4c8ef6=_0x289845[_0xcf5515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c8ef6&&(!!_0x4c8ef6[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x2a]))||!!_0x4c8ef6[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x41,0x49])));}function _0x4300cb(){const _0x592173=_0x2249,_0x191021=_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x191021||0x0==_0x191021[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50d146}=new URL(window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x592173(0x10a)]);if(_0x191021[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d146))return!0x0;const _0x366cb2=_0x50d146[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e]));return _0x191021[_0xcf5515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5dd7ab=>_0x5dd7ab[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x2a])))[_0xcf5515([0x6d,0x61,0x70])](_0x2aad24=>_0x2aad24[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e])))[_0xcf5515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27da4b=>_0x27da4b[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x366cb2[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcf5515([0x6d,0x61,0x70])](_0x58e912=>Array(_0x366cb2[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58e912[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcf5515([0x66,0x69,0x6c,0x6c])](_0x58e912[0x0]===_0xcf5515([0x2a])?_0xcf5515([0x2a]):'')[_0xcf5515([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58e912))[_0xcf5515([0x73,0x6f,0x6d,0x65])](_0x1d3d94=>_0x366cb2[_0xcf5515([0x65,0x76,0x65,0x72,0x79])]((_0x31c8f9,_0x2c35a0)=>_0x1d3d94[_0x2c35a0]===_0x31c8f9||_0x1d3d94[_0x2c35a0]===_0xcf5515([0x2a])));}function _0x4068bc(){return _0x169adf&&_0x201956?new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd83d0f,_0x38a32e)=>{_0x169adf[_0xcf5515([0x74,0x68,0x65,0x6e])](_0xd83d0f,_0x38a32e),_0x201956[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x46bc3c=>{_0x46bc3c!=_0xcf5515([0x56,0x61,0x6c,0x69,0x64])&&_0xd83d0f(_0x46bc3c);},_0x38a32e);}):_0x169adf||_0x201956||_0xcf5515([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2354b2(_0x562fec,_0x8aadc9){return new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46e827=>{if(_0x142d9b())return _0x46e827(_0xcf5515([0x56,0x61,0x6c,0x69,0x64]));_0x3da2b9(),_0x5d1338[_0xcf5515([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36d4e0=!0x1;const _0x3d1094=_0x4dac21();function _0x32d437(_0xec90ef){return!!_0xec90ef&&(typeof _0xec90ef===_0xcf5515([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xec90ef===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xec90ef[_0xcf5515([0x74,0x68,0x65,0x6e])]===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xec90ef[_0xcf5515([0x63,0x61,0x74,0x63,0x68])]===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x252276(_0x1190ad){_0xa4d865(_0x1190ad)[_0xcf5515([0x74,0x68,0x65,0x6e])](_0xdfc675=>{if(!_0xdfc675||_0xdfc675[_0xcf5515([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xcf5515([0x6f,0x6b]))return _0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x689a21(_0x410b6e(_0x3d1094+_0x8aadc9))!=_0xdfc675[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xcf5515([0x56,0x61,0x6c,0x69,0x64]);})[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x59bdf8=>(_0x21377c(),_0x59bdf8),()=>{const _0x9f855e=_0x5be889();return null==_0x9f855e?(_0x21377c(),_0xcf5515([0x56,0x61,0x6c,0x69,0x64])):_0xcf5515(_0x65edad-_0x9f855e>(0x19f340e1^_0x4c7057)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x46e827)[_0xcf5515([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dcf90=0x3dc92a61^_0x4c7057;function _0x21377c(){const _0x381936=_0xcf5515([0x6c,0x6c,0x63,0x74,0x2d])+_0x689a21(_0x410b6e(_0x562fec)),_0x108201=_0x451550(_0x689a21(window[_0xcf5515([0x4d,0x61,0x74,0x68])][_0xcf5515([0x63,0x65,0x69,0x6c])](_0x65edad/_0x2dcf90)));window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcf5515([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x381936,_0x108201);}function _0x5be889(){const _0x247acd=_0xcf5515([0x6c,0x6c,0x63,0x74,0x2d])+_0x689a21(_0x410b6e(_0x562fec)),_0x6c1609=window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcf5515([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x247acd);return _0x6c1609?window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x451550(_0x6c1609),0x10)*_0x2dcf90:null;}function _0xa4d865(_0xf5aee5){return new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d9753,_0x30aca1)=>{_0xf5aee5[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x2d9753,_0x30aca1),window[_0xcf5515([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30aca1,0x3dfe1021^_0x4c7057);});}}_0x5d1338[_0xcf5515([0x6f,0x6e])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x412cf1,_0x281019)=>{if(_0x281019[0x0]!=_0x562fec)return _0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x281019[0x1]={..._0x281019[0x1],[_0xcf5515([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d1094};},{[_0xcf5515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcf5515([0x68,0x69,0x67,0x68])}),_0x5d1338[_0xcf5515([0x6f,0x6e])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3edaa5=>{_0x32d437(_0x3edaa5[_0xcf5515([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36d4e0=!0x0,_0x252276(_0x3edaa5[_0xcf5515([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xcf5515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcf5515([0x6c,0x6f,0x77])}),_0x78afdc[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>{_0x36d4e0||_0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x142d9b(){return _0x5d1338[_0xcf5515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcf5515([0x76,0x69,0x65,0x77])][_0xcf5515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xcf5515([0x61,0x75,0x74,0x6f]);}function _0x3da2b9(){_0x5d1338[_0xcf5515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcf5515([0x76,0x69,0x65,0x77])][_0xcf5515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xcf5515([0x61,0x75,0x74,0x6f]);}}function _0x346057(_0x2d6e03){const _0x538f96=[new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f72b6=>setTimeout(_0x4f72b6,0x3df6fa2d^_0x4c7057)),_0x78afdc[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268d2b=>{let _0x103bed=0x0;_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x6f,0x6e])](_0xcf5515([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x235319,_0x57835f)=>{_0x57835f[0x0][_0xcf5515([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x103bed++,_0x103bed==(0x3dffc519^_0x4c7057)&&(_0x268d2b(),_0x235319[_0xcf5515([0x6f,0x66,0x66])]());});}))];return window[_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xcf5515([0x72,0x61,0x63,0x65])](_0x538f96)[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>_0x2d6e03);}async function _0x5c54d3(){await _0x78afdc,_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dee99,_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dee99,_0x5d1338[_0xcf5515([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x63d5bd(_0x7fe45f){const _0x1ada30=_0x210a52();_0x5d1338[_0x1ada30]=_0xcf5515([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7fe45f,_0x7fe45f!=_0xcf5515([0x56,0x61,0x6c,0x69,0x64])&&_0x5c54d3();}function _0x210a52(){const _0x38671e=window[_0xcf5515([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xcf5515([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xcf5515([0x6e,0x6f,0x77])]())[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xcf5515([0x2e]),'');let _0x1bc61c=_0xcf5515([0x6e]);for(let _0x1be83b=0x0;_0x1be83b<_0x38671e[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1be83b+=0x2){let _0x38343f=window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38671e[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1be83b,_0x1be83b+0x2));_0x38343f>=_0x4d606a[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38343f-=_0x4d606a[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bc61c+=_0x4d606a[_0x38343f];}return _0x1bc61c;}function _0x18446a(){const _0x346dcc=_0x4db404[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e]));if(0x3!=_0x346dcc[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d178b(_0x346dcc[0x1]);function _0x5d178b(_0x5e3721){const _0x1bb737=_0x117a5a(_0x5e3721);return _0x1bb737&&_0x572069()?_0x1bb737:null;function _0x572069(){const _0x4239b4=_0x1bb737[_0xcf5515([0x6a,0x74,0x69])],_0x4d166d=window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4239b4[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4239b4[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35f16d={..._0x1bb737,[_0xcf5515([0x6a,0x74,0x69])]:_0x4239b4[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4239b4[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35f16d[_0xcf5515([0x76,0x63])],_0x410b6e(_0x35f16d)==_0x4d166d;}}}async function _0x1eaa4f(){let _0x2ee60f=!0x0;try{const _0x3be065=_0x4db404[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e])),[_0x303982,_0x160014,_0x50c0d1]=_0x3be065;return _0x1ddddd(_0x303982),await _0x4a0f3a(_0x303982,_0x160014,_0x50c0d1),_0x2ee60f;}catch{return!0x1;}function _0x1ddddd(_0x5bf51c){const _0x3bd278=_0x117a5a(_0x5bf51c);_0x3bd278&&_0x3bd278[_0xcf5515([0x61,0x6c,0x67])]==_0xcf5515([0x45,0x53,0x32,0x35,0x36])||(_0x2ee60f=!0x1);}async function _0x4a0f3a(_0x493690,_0x16bf91,_0x55fee8){const _0x5d752d=window[_0xcf5515([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xcf5515([0x66,0x72,0x6f,0x6d])](_0x3f1fb4(_0x55fee8),_0x5727d5=>_0x5727d5[_0xcf5515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xca8c06=new window[(_0xcf5515([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xcf5515([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x493690+_0xcf5515([0x2e])+_0x16bf91),_0x849ebd=window[_0xcf5515([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xcf5515([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x849ebd)return;const _0x5bf5fb=await _0x849ebd[_0xcf5515([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xcf5515([0x6a,0x77,0x6b]),_0x12ad90,{[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x45,0x43,0x44,0x53,0x41]),[_0xcf5515([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xcf5515([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x849ebd[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x45,0x43,0x44,0x53,0x41]),[_0xcf5515([0x68,0x61,0x73,0x68])]:{[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bf5fb,_0x5d752d,_0xca8c06)||(_0x2ee60f=!0x1);}}function _0x117a5a(_0x336044){return _0x336044[_0xcf5515([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xcf5515([0x65,0x79]))?JSON[_0xcf5515([0x70,0x61,0x72,0x73,0x65])](_0x3f1fb4(_0x336044)):null;}function _0x3f1fb4(_0x446f03){return window[_0xcf5515([0x61,0x74,0x6f,0x62])](_0x446f03[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xcf5515([0x2b]))[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xcf5515([0x2f])));}function _0x410b6e(_0x1a7f78){let _0x1088ca=0x1505;function _0x1e4315(_0x100148){for(let _0x44b36c=0x0;_0x44b36c<_0x100148[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44b36c++){const _0x52e4b6=_0x100148[_0xcf5515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44b36c);_0x1088ca=(_0x1088ca<<0x5)+_0x1088ca+_0x52e4b6,_0x1088ca&=_0x1088ca;}}function _0x7f2b45(_0x32e92b){Array[_0xcf5515([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32e92b)?_0x32e92b[_0xcf5515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7f2b45):_0x32e92b&&typeof _0x32e92b==_0xcf5515([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xcf5515([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32e92b)[_0xcf5515([0x73,0x6f,0x72,0x74])]()[_0xcf5515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b6c76,_0x5eb43a])=>{_0x1e4315(_0x5b6c76),_0x7f2b45(_0x5eb43a);}):_0x1e4315(window[_0xcf5515([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32e92b));}return _0x7f2b45(_0x1a7f78),_0x1088ca>>>0x0;}function _0x689a21(_0x2a7e33){return _0x2a7e33[_0xcf5515([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xcf5515([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xcf5515([0x30]));}function _0x451550(_0xea28){return _0xea28[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])]('')[_0xcf5515([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xcf5515([0x6a,0x6f,0x69,0x6e])]('');}function _0x5dee99(){}function _0xcf5515(_0x177332){const _0xbff670=_0x2249;return _0x177332[_0xbff670(0xef)](_0x5e70b9=>String[_0xbff670(0x13d)](_0x5e70b9))[_0xbff670(0x10e)]('');}_0x63d5bd(await _0x492723());}(this);}[_0x21bd8e(0x11c)](){const _0x516a1d=_0x21bd8e,_0x1d9428=this[_0x516a1d(0x13a)][_0x516a1d(0x142)];_0x1d9428[_0x516a1d(0xf7)](_0x1ab22c=>{const _0x46ad87=_0x516a1d,_0x224d8d=_0x1d9428[_0x46ad87(0xde)][_0x46ad87(0xe6)][_0x46ad87(0x11f)]();let _0x26d8a9=0x0;for(const _0x3b88f5 of _0x224d8d){const _0xc3fe3c=f+':'+_0x26d8a9;if(_0x1d9428[_0x46ad87(0xf0)][_0x46ad87(0x118)](_0xc3fe3c))_0x1ab22c[_0x46ad87(0x131)](_0xc3fe3c,{'range':_0x3b88f5});else{if(_0x3b88f5[_0x46ad87(0xf8)][_0x46ad87(0x129)]){const _0x51228f=_0x3b88f5[_0x46ad87(0xf8)][_0x46ad87(0xdc)](({item:_0x18e75c})=>!_0x1d9428[_0x46ad87(0x12c)][_0x46ad87(0x125)](_0x18e75c),{'boundaries':_0x3b88f5});_0x1ab22c[_0x46ad87(0x123)](_0xc3fe3c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1ab22c[_0x46ad87(0x11d)](_0x51228f,_0x3b88f5[_0x46ad87(0xf9)])});}else _0x1ab22c[_0x46ad87(0x123)](_0xc3fe3c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3b88f5});}_0x26d8a9++;}});}[_0x21bd8e(0xf2)](){const _0x2e0316=_0x21bd8e,_0x334bd0=this[_0x2e0316(0x13a)][_0x2e0316(0x142)],_0x2f8888=Array[_0x2e0316(0x13b)](this[_0x2e0316(0x13a)][_0x2e0316(0x142)][_0x2e0316(0xf0)][_0x2e0316(0xe1)](f));_0x2f8888[_0x2e0316(0xeb)]&&_0x334bd0[_0x2e0316(0xf7)](_0xb2959a=>{const _0x5e553b=_0x2e0316;_0x2f8888[_0x5e553b(0x145)](_0x29db2=>{const _0x38c402=_0x5e553b;_0xb2959a[_0x38c402(0x10d)](_0x29db2);});});}[_0x21bd8e(0xe0)](_0x2cc64c,_0x46048d){const _0x2b9f79=_0x21bd8e,_0x26fb8f=this[_0x2b9f79(0xe3)](),_0x2fec66=_0x46048d||_0x26fb8f[_0x2b9f79(0x12f)]();this[_0x2b9f79(0x13a)][_0x2b9f79(0x142)][_0x2b9f79(0x12b)](_0x2fec66)&&this[_0x2b9f79(0x13a)][_0x2b9f79(0x142)][_0x2b9f79(0xf7)](_0x5a8dc3=>{const _0x367984=_0x2b9f79;this[_0x367984(0xf2)](),_0x46048d||this[_0x367984(0x11b)](_0x5a8dc3,_0x26fb8f),this[_0x367984(0x144)]({'insertAt':_0x2fec66,'writer':_0x5a8dc3,'html':_0x2cc64c});});}[_0x21bd8e(0xfe)](_0xdf7699){const _0x1387d6=_0x21bd8e,{model:_0x3b3e5f}=this[_0x1387d6(0x13a)],_0x2d260a=this[_0x1387d6(0xe3)]();_0x3b3e5f[_0x1387d6(0xf7)](()=>{const _0x1e4f79=_0x1387d6,_0x3ecdb1=this[_0x1e4f79(0x13c)](_0xdf7699,_0x2d260a)||this[_0x1e4f79(0x108)](_0x2d260a);this[_0x1e4f79(0xe0)](_0xdf7699,_0x3ecdb1);});}[_0x21bd8e(0xe3)](){const _0x231f6e=_0x21bd8e,_0x3abe7d=this[_0x231f6e(0x13a)][_0x231f6e(0x142)],_0x58cbd8=Array[_0x231f6e(0x13b)](_0x3abe7d[_0x231f6e(0xf0)][_0x231f6e(0xe1)](f))[_0x231f6e(0xef)](_0x322e5f=>_0x322e5f[_0x231f6e(0x104)]());return _0x3abe7d[_0x231f6e(0xfd)](_0x58cbd8);}[_0x21bd8e(0x144)]({writer:_0x5b80e9,html:_0x26f79c,insertAt:_0x3379e1}){const _0x4737ec=_0x21bd8e,{view:_0x492340}=this[_0x4737ec(0x13a)][_0x4737ec(0x121)],_0x50b102=this[_0x4737ec(0x13a)][_0x4737ec(0xfb)][_0x4737ec(0xea)](_0x2bbd57),_0x400105=new w();_0x400105[_0x4737ec(0xf4)](_0x4737ec(0x11a),_0x26f79c);const _0x30fcdb=new ClipboardEvent(_0x4737ec(0xe4),{'clipboardData':_0x400105}),_0x475ae6=new _0x1fc28f(_0x492340,_0x30fcdb,{'dataTransfer':new _0x2818a2(_0x400105)});_0x5b80e9[_0x4737ec(0x115)](_0x3379e1);const _0x29d32b=(_0x20c32c,_0x272b0c)=>{const _0x39b184=_0x4737ec;_0x272b0c[_0x39b184(0x135)]&&_0x5b80e9[_0x39b184(0x115)](_0x272b0c[_0x39b184(0x135)]);};_0x50b102[_0x4737ec(0xfa)](_0x4737ec(0xec),_0x29d32b,{'priority':_0x4737ec(0x140)}),_0x492340[_0x4737ec(0xde)][_0x4737ec(0xf5)](_0x4737ec(0xe4),_0x475ae6),_0x50b102[_0x4737ec(0xe2)](_0x4737ec(0xec),_0x29d32b);}[_0x21bd8e(0x108)](_0x403c18){const _0x3cfdd2=_0x21bd8e,{model:_0x2e86fe}=this[_0x3cfdd2(0x13a)],_0x20cd59=Array[_0x3cfdd2(0x13b)](_0x403c18[_0x3cfdd2(0x136)]());return _0x20cd59[_0x3cfdd2(0xeb)]?_0x2e86fe[_0x3cfdd2(0x11e)](_0x20cd59[_0x3cfdd2(0xe5)]()):_0x403c18[_0x3cfdd2(0xfc)]();}[_0x21bd8e(0x13c)](_0x51c038,_0x3ddb60){const _0x529ed1=_0x21bd8e,{model:_0x48f8f,plugins:_0x32ff05}=this[_0x529ed1(0x13a)];if(_0x32ff05[_0x529ed1(0x118)](_0x529ed1(0x128))){const _0x181403=_0x32ff05[_0x529ed1(0xea)](_0x529ed1(0x128))[_0x529ed1(0x141)](_0x3ddb60);if(_0x181403[_0x529ed1(0xeb)]){const _0x562610=this[_0x529ed1(0x13f)](_0x51c038),_0x539778=this[_0x529ed1(0x107)](_0x181403,_0x562610);return _0x48f8f[_0x529ed1(0x127)](_0x539778,0x0);}}return null;}[_0x21bd8e(0x13f)](_0x27bf41){const _0x3ac46b=_0x21bd8e,_0x518965=this[_0x3ac46b(0x13a)][_0x3ac46b(0xfb)][_0x3ac46b(0xea)](_0x3ac46b(0x128)),_0x23c9f4=this[_0x3ac46b(0x13a)][_0x3ac46b(0x10b)][_0x3ac46b(0xed)](_0x27bf41),_0x53bb8f=Array[_0x3ac46b(0x13b)](_0x23c9f4[_0x3ac46b(0xdd)]())[_0x3ac46b(0x146)](_0x37954d=>_0x37954d['is'](_0x3ac46b(0x111),_0x3ac46b(0xee)));let _0xcb5c91=0x0;return _0x53bb8f[_0x3ac46b(0x145)](_0x2d4a1c=>{const _0x35fd8e=_0x3ac46b;_0xcb5c91+=_0x518965[_0x35fd8e(0x148)](_0x2d4a1c);}),_0xcb5c91;}[_0x21bd8e(0x107)](_0x13c1f4,_0x2cc0ba){const _0x5d5ae7=_0x21bd8e,_0x213897=this[_0x5d5ae7(0x13a)][_0x5d5ae7(0xfb)][_0x5d5ae7(0xea)](_0x5d5ae7(0x128)),_0x46c4a2=_0x213897[_0x5d5ae7(0x119)](_0x13c1f4),_0x40cf53=_0x213897[_0x5d5ae7(0x12d)](_0x13c1f4),_0x9bdeca=_0x46c4a2[_0x5d5ae7(0x110)]+0x1,_0x430aae=_0x40cf53[_0x5d5ae7(0x132)],_0x57be0a=_0x13c1f4[0x0][_0x5d5ae7(0x102)](_0x5d5ae7(0xee));for(let _0x468514=0x0;_0x468514<_0x2cc0ba;_0x468514++)_0x213897[_0x5d5ae7(0x106)](_0x57be0a,{'at':_0x9bdeca});return _0x57be0a[_0x5d5ae7(0x12e)](_0x9bdeca)[_0x5d5ae7(0x12e)](_0x430aae);}[_0x21bd8e(0x11b)](_0x5c7cfe,_0xe1b383){const _0xac6fc3=_0x21bd8e,{plugins:_0x543323}=this[_0xac6fc3(0x13a)],{model:_0x3f003d}=_0x5c7cfe;if(!_0x543323[_0xac6fc3(0x118)](_0xac6fc3(0x128)))return;_0x543323[_0xac6fc3(0xea)](_0xac6fc3(0x128))[_0xac6fc3(0x141)](_0xe1b383)[_0xac6fc3(0xeb)]&&_0x3f003d[_0xac6fc3(0xda)](_0xe1b383);}}
23
+ const _0x4c94a7=_0x4e2f;(function(_0x2dcaad,_0x394774){const _0x2be55b=_0x4e2f,_0x1a95d1=_0x2dcaad();while(!![]){try{const _0x57ddd8=-parseInt(_0x2be55b(0x15c))/0x1*(-parseInt(_0x2be55b(0x112))/0x2)+parseInt(_0x2be55b(0xfa))/0x3*(-parseInt(_0x2be55b(0x162))/0x4)+-parseInt(_0x2be55b(0xfd))/0x5+-parseInt(_0x2be55b(0x102))/0x6+-parseInt(_0x2be55b(0x105))/0x7+-parseInt(_0x2be55b(0x116))/0x8+parseInt(_0x2be55b(0x138))/0x9;if(_0x57ddd8===_0x394774)break;else _0x1a95d1['push'](_0x1a95d1['shift']());}catch(_0x4bfa4c){_0x1a95d1['push'](_0x1a95d1['shift']());}}}(_0x7b37,0x23d96));function _0x4e2f(_0x58bffc,_0x205ce9){const _0x7b3778=_0x7b37();return _0x4e2f=function(_0x4e2feb,_0x3d1e54){_0x4e2feb=_0x4e2feb-0xfa;let _0x1afb14=_0x7b3778[_0x4e2feb];return _0x1afb14;},_0x4e2f(_0x58bffc,_0x205ce9);}import{uid as _0x4eaf1c}from'ckeditor5/src/utils.js';import{Plugin as _0x5c3fc0}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4ae188}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1e7295,ViewDataTransfer as _0x1a7343}from'ckeditor5/src/engine.js';const w=globalThis[_0x4c94a7(0x12e)],f=_0x4c94a7(0x121);export class AIAssistantEditing extends _0x5c3fc0{static get[_0x4c94a7(0x113)](){const _0x3689cb=_0x4c94a7;return _0x3689cb(0x139);}static get[_0x4c94a7(0x150)](){return!0x0;}static get[_0x4c94a7(0x15a)](){return!0x0;}[_0x4c94a7(0x157)](){const _0x5f04f8=_0x4c94a7,{editor:_0x52eed5}=this,_0x332ded=[_0x5f04f8(0x10d)];_0x52eed5[_0x5f04f8(0x107)][_0x5f04f8(0x11c)](_0x5f04f8(0x12f))&&_0x332ded[_0x5f04f8(0x146)](_0x5f04f8(0x11d)),_0x52eed5[_0x5f04f8(0x163)][_0x5f04f8(0x103)](_0x5f04f8(0x11f))[_0x5f04f8(0x13e)]({'model':f,'view':{'classes':_0x332ded,'priority':0xc}}),_0x52eed5[_0x5f04f8(0x163)][_0x5f04f8(0x103)](_0x5f04f8(0x11f))[_0x5f04f8(0x127)]({'model':f,'view':(_0x4b601a,{writer:_0x2251ad})=>{const _0x4b8eab=_0x5f04f8;if(!_0x4b601a[_0x4b8eab(0x143)][_0x4b8eab(0x160)])return null;const _0x206eb5=_0x2251ad[_0x4b8eab(0x14c)](_0x4b8eab(0xfe));return _0x2251ad[_0x4b8eab(0x137)]([_0x4b8eab(0x10d),_0x4b8eab(0x148)],_0x206eb5),_0x206eb5;}});}[_0x4c94a7(0x151)](){!async function(_0xdef7a3){const _0x57dd67=_0x252c65([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]),_0xd82dd7=0x3dffc4e1,_0x37dcc7=0x3df8be99^_0xd82dd7,_0x299d52=window[_0x252c65([0x44,0x61,0x74,0x65])][_0x252c65([0x6e,0x6f,0x77])](),_0x4f6f02=_0xdef7a3[_0x252c65([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a2556=new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46baf5=>{_0x4f6f02[_0x252c65([0x6f,0x6e,0x63,0x65])](_0x252c65([0x72,0x65,0x61,0x64,0x79]),_0x46baf5);}),_0x29b79b={[_0x252c65([0x6b,0x74,0x79])]:_0x252c65([0x45,0x43]),[_0x252c65([0x75,0x73,0x65])]:_0x252c65([0x73,0x69,0x67]),[_0x252c65([0x63,0x72,0x76])]:_0x252c65([0x50,0x2d,0x32,0x35,0x36]),[_0x252c65([0x78])]:_0x252c65([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]),[_0x252c65([0x79])]:_0x252c65([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]),[_0x252c65([0x61,0x6c,0x67])]:_0x252c65([0x45,0x53,0x32,0x35,0x36])},_0x7b8638=_0x4f6f02[_0x252c65([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x252c65([0x67,0x65,0x74])](_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x112792(){let _0x221012,_0x5ce723=null,_0x560751=null;try{if(_0x7b8638==_0x252c65([0x47,0x50,0x4c]))return _0x252c65([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x221012=_0x418287(),!_0x221012)return _0x252c65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x221012[_0x252c65([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x560751=_0xe8b428(_0x221012[_0x252c65([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x221012[_0x252c65([0x6a,0x74,0x69])])),await _0x231a08()?_0x56261c()?_0xb9290()?_0x252c65([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c87ce()?(_0x221012[_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x252c65([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ce723=_0xb84582(_0x252c65([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x221012[_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x252c65([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ce723=_0xb84582(_0x252c65([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e3f04()):_0x252c65([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x252c65([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x252c65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x252c65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb9290(){const _0x411e55=[_0x252c65([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x252c65([0x74,0x72,0x69,0x61,0x6c])][_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221012[_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x299d52/0x3e8:0xe10*_0x37dcc7;return _0x221012[_0x252c65([0x65,0x78,0x70])]<_0x411e55;}function _0x56261c(){const _0x223b02=_0x221012[_0x252c65([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x223b02&&(!!_0x223b02[_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252c65([0x2a]))||!!_0x223b02[_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252c65([0x41,0x49])));}function _0x2c87ce(){const _0x185252=_0x4e2f,_0x102557=_0x221012[_0x252c65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x102557||0x0==_0x102557[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15bce8}=new URL(window[_0x252c65([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x185252(0x12d)]);if(_0x102557[_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15bce8))return!0x0;const _0x5b31d5=_0x15bce8[_0x252c65([0x73,0x70,0x6c,0x69,0x74])](_0x252c65([0x2e]));return _0x102557[_0x252c65([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x182232=>_0x182232[_0x252c65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252c65([0x2a])))[_0x252c65([0x6d,0x61,0x70])](_0x5ad0bc=>_0x5ad0bc[_0x252c65([0x73,0x70,0x6c,0x69,0x74])](_0x252c65([0x2e])))[_0x252c65([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3df7d9=>_0x3df7d9[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b31d5[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x252c65([0x6d,0x61,0x70])](_0x1b3fc6=>Array(_0x5b31d5[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b3fc6[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x252c65([0x66,0x69,0x6c,0x6c])](_0x1b3fc6[0x0]===_0x252c65([0x2a])?_0x252c65([0x2a]):'')[_0x252c65([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b3fc6))[_0x252c65([0x73,0x6f,0x6d,0x65])](_0x2bcb58=>_0x5b31d5[_0x252c65([0x65,0x76,0x65,0x72,0x79])]((_0x5cfb66,_0x3a6f6)=>_0x2bcb58[_0x3a6f6]===_0x5cfb66||_0x2bcb58[_0x3a6f6]===_0x252c65([0x2a])));}function _0x4e3f04(){return _0x5ce723&&_0x560751?new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bcd42,_0x4daf16)=>{_0x5ce723[_0x252c65([0x74,0x68,0x65,0x6e])](_0x5bcd42,_0x4daf16),_0x560751[_0x252c65([0x74,0x68,0x65,0x6e])](_0x443eda=>{_0x443eda!=_0x252c65([0x56,0x61,0x6c,0x69,0x64])&&_0x5bcd42(_0x443eda);},_0x4daf16);}):_0x5ce723||_0x560751||_0x252c65([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe8b428(_0x207ab9,_0x1d96f1){return new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3907dd=>{if(_0x57ccc6())return _0x3907dd(_0x252c65([0x56,0x61,0x6c,0x69,0x64]));_0x153a13(),_0x4f6f02[_0x252c65([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x252c65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35f674=!0x1;const _0x28906c=_0x4eaf1c();function _0x4343fa(_0x15821e){return!!_0x15821e&&(typeof _0x15821e===_0x252c65([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15821e===_0x252c65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15821e[_0x252c65([0x74,0x68,0x65,0x6e])]===_0x252c65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15821e[_0x252c65([0x63,0x61,0x74,0x63,0x68])]===_0x252c65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56bac4(_0x2166eb){_0x383c74(_0x2166eb)[_0x252c65([0x74,0x68,0x65,0x6e])](_0x45790c=>{if(!_0x45790c||_0x45790c[_0x252c65([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x252c65([0x6f,0x6b]))return _0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b1c34(_0x118f7f(_0x28906c+_0x1d96f1))!=_0x45790c[_0x252c65([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x252c65([0x56,0x61,0x6c,0x69,0x64]);})[_0x252c65([0x74,0x68,0x65,0x6e])](_0x59706b=>(_0xa14b1(),_0x59706b),()=>{const _0x196e01=_0x49434f();return null==_0x196e01?(_0xa14b1(),_0x252c65([0x56,0x61,0x6c,0x69,0x64])):_0x252c65(_0x299d52-_0x196e01>(0x19f340e1^_0xd82dd7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x252c65([0x74,0x68,0x65,0x6e])](_0x3907dd)[_0x252c65([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3907dd(_0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x305d0c=0x3dc92a61^_0xd82dd7;function _0xa14b1(){const _0x411476=_0x252c65([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b1c34(_0x118f7f(_0x207ab9)),_0x128dcc=_0x328901(_0x5b1c34(window[_0x252c65([0x4d,0x61,0x74,0x68])][_0x252c65([0x63,0x65,0x69,0x6c])](_0x299d52/_0x305d0c)));window[_0x252c65([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x252c65([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x411476,_0x128dcc);}function _0x49434f(){const _0x3072ac=_0x252c65([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b1c34(_0x118f7f(_0x207ab9)),_0x189af6=window[_0x252c65([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x252c65([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3072ac);return _0x189af6?window[_0x252c65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x328901(_0x189af6),0x10)*_0x305d0c:null;}function _0x383c74(_0x1930a6){return new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x65f383,_0x5a7747)=>{_0x1930a6[_0x252c65([0x74,0x68,0x65,0x6e])](_0x65f383,_0x5a7747),window[_0x252c65([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a7747,0x3dfe1021^_0xd82dd7);});}}_0x4f6f02[_0x252c65([0x6f,0x6e])](_0x252c65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x38f315,_0xf65377)=>{if(_0xf65377[0x0]!=_0x207ab9)return _0x3907dd(_0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf65377[0x1]={..._0xf65377[0x1],[_0x252c65([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28906c};},{[_0x252c65([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x252c65([0x68,0x69,0x67,0x68])}),_0x4f6f02[_0x252c65([0x6f,0x6e])](_0x252c65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ce16b=>{_0x4343fa(_0x3ce16b[_0x252c65([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35f674=!0x0,_0x56bac4(_0x3ce16b[_0x252c65([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x252c65([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x252c65([0x6c,0x6f,0x77])}),_0x3a2556[_0x252c65([0x74,0x68,0x65,0x6e])](()=>{_0x35f674||_0x3907dd(_0x252c65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57ccc6(){return _0x4f6f02[_0x252c65([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x252c65([0x76,0x69,0x65,0x77])][_0x252c65([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x252c65([0x61,0x75,0x74,0x6f]);}function _0x153a13(){_0x4f6f02[_0x252c65([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x252c65([0x76,0x69,0x65,0x77])][_0x252c65([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x252c65([0x61,0x75,0x74,0x6f]);}}function _0xb84582(_0xb7aea){const _0x3cdd6a=[new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x449269=>setTimeout(_0x449269,0x3df6fa2d^_0xd82dd7)),_0x3a2556[_0x252c65([0x74,0x68,0x65,0x6e])](()=>new window[(_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x311884=>{let _0x53f9fd=0x0;_0x4f6f02[_0x252c65([0x6d,0x6f,0x64,0x65,0x6c])][_0x252c65([0x6f,0x6e])](_0x252c65([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x418d3c,_0x5d63a7)=>{_0x5d63a7[0x0][_0x252c65([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53f9fd++,_0x53f9fd==(0x3dffc519^_0xd82dd7)&&(_0x311884(),_0x418d3c[_0x252c65([0x6f,0x66,0x66])]());});}))];return window[_0x252c65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x252c65([0x72,0x61,0x63,0x65])](_0x3cdd6a)[_0x252c65([0x74,0x68,0x65,0x6e])](()=>_0xb7aea);}async function _0x1b6d2a(){await _0x3a2556,_0x4f6f02[_0x252c65([0x6d,0x6f,0x64,0x65,0x6c])][_0x252c65([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ea48f,_0x4f6f02[_0x252c65([0x6d,0x6f,0x64,0x65,0x6c])][_0x252c65([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ea48f,_0x4f6f02[_0x252c65([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x252c65([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57cb2b(_0x51816f){const _0x104170=_0x5bf274();_0x4f6f02[_0x104170]=_0x252c65([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51816f,_0x51816f!=_0x252c65([0x56,0x61,0x6c,0x69,0x64])&&_0x1b6d2a();}function _0x5bf274(){const _0x31df91=window[_0x252c65([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x252c65([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x252c65([0x6e,0x6f,0x77])]())[_0x252c65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x252c65([0x2e]),'');let _0x54be8b=_0x252c65([0x6e]);for(let _0x505328=0x0;_0x505328<_0x31df91[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x505328+=0x2){let _0x222550=window[_0x252c65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31df91[_0x252c65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x505328,_0x505328+0x2));_0x222550>=_0x57dd67[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x222550-=_0x57dd67[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54be8b+=_0x57dd67[_0x222550];}return _0x54be8b;}function _0x418287(){const _0x374222=_0x7b8638[_0x252c65([0x73,0x70,0x6c,0x69,0x74])](_0x252c65([0x2e]));if(0x3!=_0x374222[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29cfd0(_0x374222[0x1]);function _0x29cfd0(_0x3c94ed){const _0x40259a=_0x1d69ea(_0x3c94ed);return _0x40259a&&_0x3a6190()?_0x40259a:null;function _0x3a6190(){const _0x3aada7=_0x40259a[_0x252c65([0x6a,0x74,0x69])],_0x1d0c58=window[_0x252c65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aada7[_0x252c65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3aada7[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x712bef={..._0x40259a,[_0x252c65([0x6a,0x74,0x69])]:_0x3aada7[_0x252c65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3aada7[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x712bef[_0x252c65([0x76,0x63])],_0x118f7f(_0x712bef)==_0x1d0c58;}}}async function _0x231a08(){let _0x23f4f6=!0x0;try{const _0xe8f31e=_0x7b8638[_0x252c65([0x73,0x70,0x6c,0x69,0x74])](_0x252c65([0x2e])),[_0x2299c4,_0x5ca0f5,_0x5aad9f]=_0xe8f31e;return _0x4a53d8(_0x2299c4),await _0x3eee23(_0x2299c4,_0x5ca0f5,_0x5aad9f),_0x23f4f6;}catch{return!0x1;}function _0x4a53d8(_0x7b71b4){const _0x19ba51=_0x1d69ea(_0x7b71b4);_0x19ba51&&_0x19ba51[_0x252c65([0x61,0x6c,0x67])]==_0x252c65([0x45,0x53,0x32,0x35,0x36])||(_0x23f4f6=!0x1);}async function _0x3eee23(_0x1cf386,_0x486c8c,_0x1ac3b4){const _0x14f79c=window[_0x252c65([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x252c65([0x66,0x72,0x6f,0x6d])](_0x419e07(_0x1ac3b4),_0x129952=>_0x129952[_0x252c65([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x164159=new window[(_0x252c65([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x252c65([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1cf386+_0x252c65([0x2e])+_0x486c8c),_0x1b3b42=window[_0x252c65([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x252c65([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b3b42)return;const _0x377715=await _0x1b3b42[_0x252c65([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x252c65([0x6a,0x77,0x6b]),_0x29b79b,{[_0x252c65([0x6e,0x61,0x6d,0x65])]:_0x252c65([0x45,0x43,0x44,0x53,0x41]),[_0x252c65([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x252c65([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x252c65([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b3b42[_0x252c65([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x252c65([0x6e,0x61,0x6d,0x65])]:_0x252c65([0x45,0x43,0x44,0x53,0x41]),[_0x252c65([0x68,0x61,0x73,0x68])]:{[_0x252c65([0x6e,0x61,0x6d,0x65])]:_0x252c65([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x377715,_0x14f79c,_0x164159)||(_0x23f4f6=!0x1);}}function _0x1d69ea(_0xa9f3ff){return _0xa9f3ff[_0x252c65([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x252c65([0x65,0x79]))?JSON[_0x252c65([0x70,0x61,0x72,0x73,0x65])](_0x419e07(_0xa9f3ff)):null;}function _0x419e07(_0x184947){return window[_0x252c65([0x61,0x74,0x6f,0x62])](_0x184947[_0x252c65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x252c65([0x2b]))[_0x252c65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x252c65([0x2f])));}function _0x118f7f(_0x4fe351){let _0x2fb733=0x1505;function _0x30e412(_0x594641){for(let _0x3e2326=0x0;_0x3e2326<_0x594641[_0x252c65([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e2326++){const _0x1756ca=_0x594641[_0x252c65([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e2326);_0x2fb733=(_0x2fb733<<0x5)+_0x2fb733+_0x1756ca,_0x2fb733&=_0x2fb733;}}function _0x30f84e(_0x4735de){Array[_0x252c65([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4735de)?_0x4735de[_0x252c65([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30f84e):_0x4735de&&typeof _0x4735de==_0x252c65([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x252c65([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4735de)[_0x252c65([0x73,0x6f,0x72,0x74])]()[_0x252c65([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54efac,_0x30cf05])=>{_0x30e412(_0x54efac),_0x30f84e(_0x30cf05);}):_0x30e412(window[_0x252c65([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4735de));}return _0x30f84e(_0x4fe351),_0x2fb733>>>0x0;}function _0x5b1c34(_0xfaae7e){return _0xfaae7e[_0x252c65([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x252c65([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x252c65([0x30]));}function _0x328901(_0x2318ac){return _0x2318ac[_0x252c65([0x73,0x70,0x6c,0x69,0x74])]('')[_0x252c65([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x252c65([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ea48f(){}function _0x252c65(_0x535ef1){const _0x1ac391=_0x4e2f;return _0x535ef1[_0x1ac391(0x111)](_0x27e1fb=>String[_0x1ac391(0x104)](_0x27e1fb))[_0x1ac391(0x117)]('');}_0x57cb2b(await _0x112792());}(this);}[_0x4c94a7(0x141)](){const _0x4cb152=_0x4c94a7,_0x55c249=this[_0x4cb152(0x155)][_0x4cb152(0xfc)];_0x55c249[_0x4cb152(0x134)](_0x33e6ed=>{const _0x55bf7c=_0x4cb152,_0x42fc8b=_0x55c249[_0x55bf7c(0x10e)][_0x55bf7c(0x159)][_0x55bf7c(0x120)]();let _0x12a1f6=0x0;for(const _0x2145f4 of _0x42fc8b){const _0x1457ac=f+':'+_0x12a1f6;if(_0x55c249[_0x55bf7c(0x140)][_0x55bf7c(0x10b)](_0x1457ac))_0x33e6ed[_0x55bf7c(0x15f)](_0x1457ac,{'range':_0x2145f4});else{if(_0x2145f4[_0x55bf7c(0x145)][_0x55bf7c(0x136)]){const _0x53c02f=_0x2145f4[_0x55bf7c(0x145)][_0x55bf7c(0x15d)](({item:_0x24ca64})=>!_0x55c249[_0x55bf7c(0x123)][_0x55bf7c(0x14e)](_0x24ca64),{'boundaries':_0x2145f4});_0x33e6ed[_0x55bf7c(0x11e)](_0x1457ac,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x33e6ed[_0x55bf7c(0x12c)](_0x53c02f,_0x2145f4[_0x55bf7c(0x152)])});}else _0x33e6ed[_0x55bf7c(0x11e)](_0x1457ac,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2145f4});}_0x12a1f6++;}});}[_0x4c94a7(0x100)](){const _0x2c5f50=_0x4c94a7,_0x46b7e8=this[_0x2c5f50(0x155)][_0x2c5f50(0xfc)],_0x4c6f2f=Array[_0x2c5f50(0x144)](this[_0x2c5f50(0x155)][_0x2c5f50(0xfc)][_0x2c5f50(0x140)][_0x2c5f50(0x119)](f));_0x4c6f2f[_0x2c5f50(0x13f)]&&_0x46b7e8[_0x2c5f50(0x134)](_0x51fc54=>{const _0x521299=_0x2c5f50;_0x4c6f2f[_0x521299(0x109)](_0x11b3b0=>{const _0x51085d=_0x521299;_0x51fc54[_0x51085d(0x10f)](_0x11b3b0);});});}[_0x4c94a7(0x164)](_0x1f1272,_0xbfb99d){const _0xe31d93=_0x4c94a7,_0x23761a=this[_0xe31d93(0x166)](),_0x428919=_0xbfb99d||_0x23761a[_0xe31d93(0x110)]();this[_0xe31d93(0x155)][_0xe31d93(0xfc)][_0xe31d93(0xff)](_0x428919)&&this[_0xe31d93(0x155)][_0xe31d93(0xfc)][_0xe31d93(0x134)](_0x4984f4=>{const _0x34ccbe=_0xe31d93;this[_0x34ccbe(0x100)](),_0xbfb99d||this[_0x34ccbe(0x147)](_0x4984f4,_0x23761a),this[_0x34ccbe(0x108)]({'insertAt':_0x428919,'writer':_0x4984f4,'html':_0x1f1272});});}[_0x4c94a7(0x126)](_0x410e82){const _0x2408c7=_0x4c94a7,{model:_0x218cb8}=this[_0x2408c7(0x155)],_0x49a342=this[_0x2408c7(0x166)]();_0x218cb8[_0x2408c7(0x134)](()=>{const _0x1d232a=_0x2408c7,_0x7237ac=this[_0x1d232a(0x101)](_0x410e82,_0x49a342)||this[_0x1d232a(0x12a)](_0x49a342);this[_0x1d232a(0x164)](_0x410e82,_0x7237ac);});}[_0x4c94a7(0x166)](){const _0x535258=_0x4c94a7,_0x8feadb=this[_0x535258(0x155)][_0x535258(0xfc)],_0x25dace=Array[_0x535258(0x144)](_0x8feadb[_0x535258(0x140)][_0x535258(0x119)](f))[_0x535258(0x111)](_0x36ef65=>_0x36ef65[_0x535258(0x133)]());return _0x8feadb[_0x535258(0x153)](_0x25dace);}[_0x4c94a7(0x108)]({writer:_0x553fec,html:_0x500f29,insertAt:_0x44b470}){const _0x378cbd=_0x4c94a7,{view:_0x1ae65d}=this[_0x378cbd(0x155)][_0x378cbd(0x135)],_0x206945=this[_0x378cbd(0x155)][_0x378cbd(0x118)][_0x378cbd(0x11c)](_0x4ae188),_0x21b5e9=new w();_0x21b5e9[_0x378cbd(0x13b)](_0x378cbd(0x15b),_0x500f29);const _0x28c59c=new ClipboardEvent(_0x378cbd(0x156),{'clipboardData':_0x21b5e9}),_0x5cff50=new _0x1e7295(_0x1ae65d,_0x28c59c,{'dataTransfer':new _0x1a7343(_0x21b5e9)});_0x553fec[_0x378cbd(0x132)](_0x44b470);const _0x2bc9f8=(_0x129a8e,_0x2a7f40)=>{const _0x338787=_0x378cbd;_0x2a7f40[_0x338787(0x10a)]&&_0x553fec[_0x338787(0x132)](_0x2a7f40[_0x338787(0x10a)]);};_0x206945[_0x378cbd(0x11a)](_0x378cbd(0x161),_0x2bc9f8,{'priority':_0x378cbd(0x13a)}),_0x1ae65d[_0x378cbd(0x10e)][_0x378cbd(0x131)](_0x378cbd(0x156),_0x5cff50),_0x206945[_0x378cbd(0x142)](_0x378cbd(0x161),_0x2bc9f8);}[_0x4c94a7(0x12a)](_0x150910){const _0x29d3dd=_0x4c94a7,{model:_0x248ae7}=this[_0x29d3dd(0x155)],_0x35340f=Array[_0x29d3dd(0x144)](_0x150910[_0x29d3dd(0x14d)]());return _0x35340f[_0x29d3dd(0x13f)]?_0x248ae7[_0x29d3dd(0x129)](_0x35340f[_0x29d3dd(0x14f)]()):_0x150910[_0x29d3dd(0x13c)]();}[_0x4c94a7(0x101)](_0x44fe49,_0x2c0bfd){const _0x557292=_0x4c94a7,{model:_0x5dd959,plugins:_0x305372}=this[_0x557292(0x155)];if(_0x305372[_0x557292(0x10b)](_0x557292(0x15e))){const _0x222fdf=_0x305372[_0x557292(0x11c)](_0x557292(0x15e))[_0x557292(0x154)](_0x2c0bfd);if(_0x222fdf[_0x557292(0x13f)]){const _0x3b00c5=this[_0x557292(0x125)](_0x44fe49),_0x329dce=this[_0x557292(0x114)](_0x222fdf,_0x3b00c5);return _0x5dd959[_0x557292(0x13d)](_0x329dce,0x0);}}return null;}[_0x4c94a7(0x125)](_0x42fb22){const _0x3372c3=_0x4c94a7,_0x13a0fc=this[_0x3372c3(0x155)][_0x3372c3(0x118)][_0x3372c3(0x11c)](_0x3372c3(0x15e)),_0x45377a=this[_0x3372c3(0x155)][_0x3372c3(0x128)][_0x3372c3(0x165)](_0x42fb22),_0x55eb0c=Array[_0x3372c3(0x144)](_0x45377a[_0x3372c3(0x106)]())[_0x3372c3(0x124)](_0x433b70=>_0x433b70['is'](_0x3372c3(0xfb),_0x3372c3(0x11b)));let _0x42bb6f=0x0;return _0x55eb0c[_0x3372c3(0x109)](_0x2f1a1e=>{const _0x42d01b=_0x3372c3;_0x42bb6f+=_0x13a0fc[_0x42d01b(0x158)](_0x2f1a1e);}),_0x42bb6f;}[_0x4c94a7(0x114)](_0xdcf648,_0x59cb19){const _0x25c68b=_0x4c94a7,_0x579af7=this[_0x25c68b(0x155)][_0x25c68b(0x118)][_0x25c68b(0x11c)](_0x25c68b(0x15e)),_0x290949=_0x579af7[_0x25c68b(0x14a)](_0xdcf648),_0x3817ad=_0x579af7[_0x25c68b(0x115)](_0xdcf648),_0x5448cc=_0x290949[_0x25c68b(0x130)]+0x1,_0x4b50e4=_0x3817ad[_0x25c68b(0x12b)],_0x2e7781=_0xdcf648[0x0][_0x25c68b(0x122)](_0x25c68b(0x11b));for(let _0x4e0556=0x0;_0x4e0556<_0x59cb19;_0x4e0556++)_0x579af7[_0x25c68b(0x10c)](_0x2e7781,{'at':_0x5448cc});return _0x2e7781[_0x25c68b(0x149)](_0x5448cc)[_0x25c68b(0x149)](_0x4b50e4);}[_0x4c94a7(0x147)](_0x4fc7cd,_0x42fdbe){const _0x397e5a=_0x4c94a7,{plugins:_0xda1954}=this[_0x397e5a(0x155)],{model:_0x72b7c2}=_0x4fc7cd;if(!_0xda1954[_0x397e5a(0x10b)](_0x397e5a(0x15e)))return;_0xda1954[_0x397e5a(0x11c)](_0x397e5a(0x15e))[_0x397e5a(0x154)](_0x42fdbe)[_0x397e5a(0x13f)]&&_0x72b7c2[_0x397e5a(0x14b)](_0x42fdbe);}}function _0x7b37(){const _0x43a8c9=['selection','isPremiumPlugin','text/html','1LHydpL','getLastMatchingPosition','TableUtils','updateMarker','isCollapsed','contentInsertion','500428UpWkYF','conversion','insertContent','parse','_getAISelection','3zVbMLE','element','model','1045085LSIdKN','span','canEditAt','hideFakeVisualSelection','_prepareTableInsertBelowPosition','578172CtRvrc','for','fromCharCode','1428784wSZCnZ','getChildren','config','_pasteHTMLUsingClipboard','forEach','resultRange','has','insertRows','ck-fake-ai-selection','document','removeMarker','getFirstRange','map','356718BgkwPm','pluginName','_createEmptyTableRows','getColumnIndexes','948624qMQXkr','join','plugins','getMarkersGroup','once','table','get','ck-ai-assistant-ui_theme','addMarker','editingDowncast','getRanges','ai-ui','findAncestor','schema','filter','_getTableRowCountFromContent','insertContentBelow','markerToElement','data','createPositionAfter','_getDefaultInsertBelowPosition','first','createRange','href','DataTransfer','ai.assistant.useTheme','last','fire','setSelection','getRange','change','editing','isAtEnd','addClass','6494895vCWHWw','AIAssistantEditing','lowest','setData','getLastPosition','createPositionAt','markerToHighlight','length','markers','showFakeVisualSelection','off','markerRange','from','start','push','_resetContentOfSelectedTableCells','ck-fake-ai-selection_collapsed','getChild','getRowIndexes','deleteContent','createUIElement','getSelectedBlocks','isContent','pop','isOfficialPlugin','afterInit','end','createSelection','getSelectedTableCells','editor','paste','init','getRows'];_0x7b37=function(){return _0x43a8c9;};return _0x7b37();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51d173=_0x52dd;(function(_0x303e78,_0x1203a0){const _0xa56ff9=_0x52dd,_0xb4a71f=_0x303e78();while(!![]){try{const _0x1d3450=parseInt(_0xa56ff9(0x1a6))/0x1*(-parseInt(_0xa56ff9(0x1ef))/0x2)+-parseInt(_0xa56ff9(0x172))/0x3+parseInt(_0xa56ff9(0x1c6))/0x4+parseInt(_0xa56ff9(0x1b4))/0x5+-parseInt(_0xa56ff9(0x18c))/0x6*(-parseInt(_0xa56ff9(0x15e))/0x7)+parseInt(_0xa56ff9(0x1af))/0x8+-parseInt(_0xa56ff9(0x191))/0x9;if(_0x1d3450===_0x1203a0)break;else _0xb4a71f['push'](_0xb4a71f['shift']());}catch(_0x57d530){_0xb4a71f['push'](_0xb4a71f['shift']());}}}(_0x2e09,0xcaf80));import{Plugin as _0x2a8dd9}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3d9c6e,IconRobotPencil as _0x8767c3}from'ckeditor5/src/icons.js';import{first as _0x1e2d0a,CKEditorError as _0x12258f}from'ckeditor5/src/utils.js';import{createDropdown as _0x2a7741,addMenuToDropdown as _0xcc4b9a,ButtonView as _0x3c1989,MenuBarMenuListItemButtonView as _0x4f37e2,Dialog as _0x13dfa8,DialogViewPosition as _0x2209db,MenuBarMenuView as _0x4b8e9b,MenuBarMenuListView as _0x5d4f66,MenuBarMenuListItemView as _0x3b68a6}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3f8188,UNGROUPED_COMMANDS_GROUP_ID as _0x903bbb}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x59de53}from'./aiassistantediting.js';import{AIAdapter as _0x4920b5}from'./adapters/aiadapter.js';import{getTranslation as _0x40dd05}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x56c980}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4cdfe4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x1dc9fd}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x43bbee}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x52dd(_0x2e623,_0x52629b){const _0x2e099a=_0x2e09();return _0x52dd=function(_0x52dd77,_0x292337){_0x52dd77=_0x52dd77-0x156;let _0x5f1389=_0x2e099a[_0x52dd77];return _0x5f1389;},_0x52dd(_0x2e623,_0x52629b);}const w=globalThis[_0x51d173(0x1fb)];import{ClipboardMarkersUtils as _0x28f3a4}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x496268,ViewDataTransfer as _0x5520a4}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2a8dd9{[_0x51d173(0x157)];[_0x51d173(0x18a)];[_0x51d173(0x16c)];[_0x51d173(0x1dd)];[_0x51d173(0x185)];[_0x51d173(0x193)];[_0x51d173(0x1e5)]='';static get[_0x51d173(0x160)](){const _0xe789a8=_0x51d173;return _0xe789a8(0x1e7);}static get[_0x51d173(0x1f6)](){return!0x0;}static get[_0x51d173(0x197)](){return!0x0;}static get[_0x51d173(0x174)](){return[_0x28f3a4,_0x59de53,_0x4920b5,_0x13dfa8];}constructor(_0x409afc){const _0x2674b2=_0x51d173;super(_0x409afc),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x1ac),[_0x2674b2(0x159),_0x2674b2(0x19b),_0x2674b2(0x166)]),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x1fc),''),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x16d),!0x0),this[_0x2674b2(0x1e5)]=_0x2674b2(0x1a8)+(_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x1de)](_0x2674b2(0x16d))?_0x2674b2(0x202):'');}[_0x51d173(0x1d7)](){const _0x3da7aa=_0x51d173,{editor:_0x2550dd}=this;this[_0x3da7aa(0x185)]=_0x2550dd[_0x3da7aa(0x1b1)][_0x3da7aa(0x1de)](_0x4920b5),this[_0x3da7aa(0x16c)]=_0x2550dd[_0x3da7aa(0x1b1)][_0x3da7aa(0x1de)](_0x13dfa8),this[_0x3da7aa(0x1dd)]=null,this[_0x3da7aa(0x158)]=this[_0x3da7aa(0x1a1)]();const _0x4e8dac=new _0x56c980(_0x2550dd,Array[_0x3da7aa(0x1e4)](this[_0x3da7aa(0x158)][_0x3da7aa(0x18f)]()));_0x2550dd[_0x3da7aa(0x203)][_0x3da7aa(0x17e)](_0x3da7aa(0x18d),_0x4e8dac),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x179),_0xbdef8b=>{const _0x47a248=_0x3da7aa,_0x4aa693=_0x2a7741(_0xbdef8b);return _0x4aa693[_0x47a248(0x1ab)]({'class':_0x47a248(0x1f8)+this[_0x47a248(0x1e5)]}),_0x4aa693[_0x47a248(0x176)][_0x47a248(0x1ab)]({'label':_0x40dd05(_0xbdef8b,_0x47a248(0x1a2)),'icon':_0x3d9c6e,'tooltip':!0x0}),_0x4aa693['on'](_0x47a248(0x200),_0x38ba29=>this[_0x47a248(0x1ee)](_0x38ba29[_0x47a248(0x16b)]['id'])),_0xcc4b9a(_0x4aa693,_0x2550dd['ui'][_0x47a248(0x201)][_0x47a248(0x1b2)],function(_0x412ed1){const _0x40220c=_0x47a248,_0x5485dc=_0x3f8188(_0x412ed1[_0x40220c(0x161)][_0x40220c(0x1de)](_0x40220c(0x1e0)),_0x412ed1[_0x40220c(0x1be)]),_0x59f22a=U(_0x412ed1,_0x5485dc)[_0x40220c(0x1c5)](_0x1f3a16=>_0x1f3a16[_0x40220c(0x203)][_0x40220c(0x1b3)]);if(0x1===_0x59f22a[_0x40220c(0x1b3)])return U(_0x412ed1,_0x59f22a[0x0][_0x40220c(0x203)])[_0x40220c(0x17b)](_0x4f2bb0=>({'id':_0x4f2bb0['id'],'label':_0x4f2bb0[_0x40220c(0x1ad)]}));return _0x59f22a[_0x40220c(0x17b)](_0x4b5cde=>{const _0x3a2fe9=_0x40220c,{groupId:_0x1999ba,groupLabel:_0x30568f,commands:_0xbea635}=_0x4b5cde,_0x2c0f76=U(_0x412ed1,_0xbea635)[_0x3a2fe9(0x17b)](_0x733df=>({'id':_0x733df['id'],'label':_0x733df[_0x3a2fe9(0x1ad)]}));return{'id':_0x1999ba,'menu':_0x30568f||_0x1999ba,'children':_0x2c0f76};});}(_0x2550dd),{'ariaLabel':_0x40dd05(_0xbdef8b,_0x47a248(0x1a2))}),_0x4aa693[_0x47a248(0x175)][_0x47a248(0x1ea)]=_0x47a248(0x1f8)+this[_0x47a248(0x1e5)],_0x4e8dac['on'](_0x47a248(0x180),_0x148ec3),_0x4aa693[_0x47a248(0x175)][_0x47a248(0x1c1)](_0x47a248(0x182),_0x148ec3),_0x4aa693;function _0x148ec3(){const _0x107b2e=_0x47a248;_0x4aa693[_0x107b2e(0x1bc)]=_0x4e8dac[_0x107b2e(0x162)][_0x107b2e(0x1b3)]>0x0;for(const _0x54db81 of _0x4aa693[_0x107b2e(0x175)][_0x107b2e(0x1b8)])_0x54db81[_0x107b2e(0x1bc)]=_0x4e8dac[_0x107b2e(0x162)][_0x107b2e(0x192)](_0x54db81['id']);}}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x1ba),_0x299c55=>{const _0x1725f2=_0x3da7aa,_0x579fc0=new _0x4b8e9b(_0x299c55);_0x579fc0[_0x1725f2(0x176)][_0x1725f2(0x1ab)]({'label':_0x40dd05(_0x299c55,_0x1725f2(0x1a2)),'icon':_0x3d9c6e}),_0x579fc0[_0x1725f2(0x171)](_0x1725f2(0x1bc))['to'](_0x4e8dac,_0x1725f2(0x162),_0x512cd4=>_0x512cd4[_0x1725f2(0x1b3)]>0x0);const _0x1bb630=_0x3f8188(_0x2550dd[_0x1725f2(0x161)][_0x1725f2(0x1de)](_0x1725f2(0x1e0)),_0x299c55);return this[_0x1725f2(0x1bf)](_0x4e8dac,_0x579fc0,_0x1bb630,_0x29f5fb=>this[_0x1725f2(0x1ee)](_0x29f5fb)),_0x579fc0;}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x15f),()=>{const _0x45bbe0=_0x3da7aa,_0x147127=this[_0x45bbe0(0x1f2)](_0x3c1989);return _0x147127[_0x45bbe0(0x1ab)]({'tooltip':!0x0,'class':_0x45bbe0(0x1e9)+this[_0x45bbe0(0x1e5)]}),_0x147127;}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x1c8),()=>{const _0x4a0bbb=_0x3da7aa,_0x5a6c67=this[_0x4a0bbb(0x1f2)](_0x4f37e2);return _0x5a6c67[_0x4a0bbb(0x1ab)]({'role':_0x4a0bbb(0x188)}),_0x5a6c67;}),this[_0x3da7aa(0x157)]=this[_0x3da7aa(0x19f)][_0x3da7aa(0x161)][_0x3da7aa(0x1de)](_0x3da7aa(0x157));const _0x187101=this[_0x3da7aa(0x19f)];this[_0x3da7aa(0x18a)]=setInterval(()=>{const _0x4782bd=_0x3da7aa;let _0x1e58c2;for(const _0x1f3ac0 in _0x187101){const _0x18ab08=_0x1f3ac0,_0x34e7a7=_0x187101[_0x18ab08];if(_0x4782bd(0x15c)==_0x34e7a7||_0x4782bd(0x19c)==_0x34e7a7||_0x4782bd(0x1d6)==_0x34e7a7||_0x4782bd(0x1f4)==_0x34e7a7||_0x4782bd(0x1cf)==_0x34e7a7||_0x4782bd(0x183)==_0x34e7a7||_0x4782bd(0x1fd)==_0x34e7a7||_0x4782bd(0x1cd)==_0x34e7a7){delete _0x187101[_0x18ab08],_0x1e58c2=_0x34e7a7,clearInterval(this[_0x4782bd(0x18a)]),this[_0x4782bd(0x18a)]=void 0x0;break;}}_0x4782bd(0x19c)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x167)),_0x4782bd(0x1d6)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1e1)),_0x4782bd(0x1f4)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1fa)),_0x4782bd(0x1cf)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1ec),_0x4782bd(0x1ae)),_0x4782bd(0x183)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1ce)),_0x4782bd(0x1fd)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x17a)),_0x4782bd(0x1cd)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x186));},0x3e8);}[_0x51d173(0x1f1)](){const _0x42275b=_0x51d173;super[_0x42275b(0x1f1)](),this[_0x42275b(0x18a)]&&clearInterval(this[_0x42275b(0x18a)]);}[_0x51d173(0x194)](_0x38b4b2='',_0x188a57='',_0x3c3921=_0x51d173(0x1dc)){const _0x24088c=_0x51d173,_0x3c416d=this[_0x24088c(0x19f)],_0x54058a=_0x3c416d[_0x24088c(0x1f0)][_0x24088c(0x201)],_0x1d2354=_0x3c416d[_0x24088c(0x1b1)][_0x24088c(0x1de)](_0x59de53),_0x5b7847=_0x3c416d[_0x24088c(0x1b1)][_0x24088c(0x1de)](_0x28f3a4);_0x1d2354[_0x24088c(0x1c0)]();const _0x47c7d8=new w(),_0xa20ed9=new ClipboardEvent(_0x24088c(0x1eb),{'clipboardData':_0x47c7d8}),_0x2fb425=new _0x5520a4(_0x47c7d8),_0x509591=new _0x496268(_0x54058a,_0xa20ed9,{'dataTransfer':_0x2fb425});_0x5b7847[_0x24088c(0x189)](_0x24088c(0x1b6),()=>{const _0x1cf4d2=_0x24088c;_0x54058a[_0x1cf4d2(0x17d)][_0x1cf4d2(0x190)](_0x1cf4d2(0x1eb),_0x509591);}),this[_0x24088c(0x1dd)]||(this[_0x24088c(0x1bd)](),this[_0x24088c(0x193)]=new _0x4cdfe4(_0x3c416d,this[_0x24088c(0x185)][_0x24088c(0x173)],this[_0x24088c(0x1dd)]));let _0x2f1f4b=_0x2fb425[_0x24088c(0x1c2)](_0x24088c(0x16e));const _0xd9209a=_0x3c416d[_0x24088c(0x1a3)][_0x24088c(0x17d)][_0x24088c(0x1b9)],_0x484ef8=Array[_0x24088c(0x1e4)](_0xd9209a[_0x24088c(0x17c)]());0x1===_0x484ef8[_0x24088c(0x1b3)]&&_0x484ef8[0x0][_0x24088c(0x1bb)]&&!_0xd9209a[_0x24088c(0x1cc)]()&&''!==_0x2f1f4b[_0x24088c(0x181)](/&nbsp;/g,'')[_0x24088c(0x1ff)]()&&(_0x2f1f4b=_0x24088c(0x17f)+_0x2f1f4b+_0x24088c(0x1d3)),this[_0x24088c(0x193)][_0x24088c(0x169)]({'actionId':_0x3c3921,'query':_0x38b4b2,'htmlContent':_0x2f1f4b,'label':_0x188a57,'mainActionLabel':_0x43bbee[_0x3c416d[_0x24088c(0x1a3)][_0x24088c(0x17d)][_0x24088c(0x1b9)][_0x24088c(0x1c4)]?_0x24088c(0x1c9):_0x24088c(0x1a5)]}),_0x24088c(0x15f)!==this[_0x24088c(0x16c)]['id']?this[_0x24088c(0x16c)][_0x24088c(0x1cb)]({'id':_0x24088c(0x15f),'icon':_0x8767c3,'title':_0x40dd05(this[_0x24088c(0x19f)][_0x24088c(0x1be)],_0x24088c(0x1f7)),'content':this[_0x24088c(0x1dd)],'position':_0x2209db[_0x24088c(0x163)],'onShow':()=>{const _0x552867=_0x24088c;this[_0x552867(0x1dd)][_0x552867(0x199)]();},'onHide':()=>{const _0x40f672=_0x24088c;this[_0x40f672(0x193)][_0x40f672(0x156)](),_0x1d2354[_0x40f672(0x15d)]();}}):this[_0x24088c(0x16c)][_0x24088c(0x201)][_0x24088c(0x1d0)]||this[_0x24088c(0x16c)][_0x24088c(0x201)][_0x24088c(0x1e8)]();}[_0x51d173(0x1fe)](){const _0x1bf226=_0x51d173;this[_0x1bf226(0x16c)][_0x1bf226(0x170)]();}[_0x51d173(0x1a1)](){const _0x4997ee=_0x51d173,_0x415c9d=new Map(),_0x556edf=_0x3f8188(this[_0x4997ee(0x19f)][_0x4997ee(0x161)][_0x4997ee(0x1de)](_0x4997ee(0x1e0)),this[_0x4997ee(0x19f)][_0x4997ee(0x1be)]);for(const _0x429f47 of _0x556edf)for(const _0x3fab5d of _0x429f47[_0x4997ee(0x203)])_0x415c9d[_0x4997ee(0x1ab)](_0x3fab5d['id'],{..._0x3fab5d,'groupId':_0x429f47[_0x4997ee(0x19d)],'groupLabel':_0x429f47[_0x4997ee(0x1f3)]||_0x429f47[_0x4997ee(0x19d)]});return _0x415c9d;}[_0x51d173(0x1f2)](_0x2ef1a9){const _0x2ed8ff=_0x51d173,_0x3581b3=this[_0x2ed8ff(0x19f)],_0x25824b=_0x3581b3[_0x2ed8ff(0x203)][_0x2ed8ff(0x1de)](_0x2ed8ff(0x18d)),_0x54b798=new _0x2ef1a9(_0x3581b3[_0x2ed8ff(0x1be)]);return _0x54b798[_0x2ed8ff(0x1ab)]({'label':_0x40dd05(_0x3581b3[_0x2ed8ff(0x1be)],_0x2ed8ff(0x1f7)),'icon':_0x8767c3,'isToggleable':!0x0}),_0x54b798[_0x2ed8ff(0x171)](_0x2ed8ff(0x1bc))['to'](_0x25824b),_0x54b798[_0x2ed8ff(0x171)](_0x2ed8ff(0x1db))['to'](this[_0x2ed8ff(0x16c)],'id',_0x16b734=>_0x2ed8ff(0x15f)===_0x16b734),this[_0x2ed8ff(0x1f9)](_0x54b798,_0x2ed8ff(0x200),()=>{const _0x52b3c0=_0x2ed8ff;_0x54b798[_0x52b3c0(0x1db)]?this[_0x52b3c0(0x1fe)]():_0x25824b[_0x52b3c0(0x200)]();}),_0x54b798;}[_0x51d173(0x1bd)](){const _0x3b7579=_0x51d173,_0x2c7f92=this[_0x3b7579(0x19f)][_0x3b7579(0x1b1)][_0x3b7579(0x1de)](_0x59de53);this[_0x3b7579(0x1dd)]=new _0x1dc9fd(this[_0x3b7579(0x19f)][_0x3b7579(0x1be)],this[_0x3b7579(0x1e5)],this[_0x3b7579(0x19f)][_0x3b7579(0x161)][_0x3b7579(0x1de)](_0x3b7579(0x1fc))),this[_0x3b7579(0x1dd)]['on'](_0x3b7579(0x1d9),()=>{const _0x25c02c=_0x3b7579;this[_0x25c02c(0x16c)][_0x25c02c(0x201)][_0x25c02c(0x1d0)]||this[_0x25c02c(0x16c)][_0x25c02c(0x201)][_0x25c02c(0x1e8)]();}),this[_0x3b7579(0x1dd)][_0x3b7579(0x177)][_0x3b7579(0x168)][_0x3b7579(0x1a4)]['on'](_0x3b7579(0x1b5),()=>{const _0x4ae734=_0x3b7579;this[_0x4ae734(0x16c)][_0x4ae734(0x201)][_0x4ae734(0x1d0)]||this[_0x4ae734(0x16c)][_0x4ae734(0x201)][_0x4ae734(0x1e8)]();}),this[_0x3b7579(0x1f9)](this[_0x3b7579(0x1dd)],_0x3b7579(0x1df),()=>{const _0x5705c6=_0x3b7579;_0x2c7f92[_0x5705c6(0x1b0)](this[_0x5705c6(0x193)][_0x5705c6(0x18e)]),this[_0x5705c6(0x1fe)]();}),this[_0x3b7579(0x1f9)](this[_0x3b7579(0x1dd)],_0x3b7579(0x1aa),()=>{const _0x82c396=_0x3b7579;_0x2c7f92[_0x82c396(0x1aa)](this[_0x82c396(0x193)][_0x82c396(0x18e)]),this[_0x82c396(0x1fe)]();}),this[_0x3b7579(0x1e2)]();}[_0x51d173(0x1e2)](){const _0x459220=_0x51d173,{locale:_0x56e1ec,ui:{ariaLiveAnnouncer:_0x2fc0f8}}=this[_0x459220(0x19f)];this[_0x459220(0x1dd)][_0x459220(0x1d4)]['on'](_0x459220(0x16f),(_0x4fbcbc,_0xb1b8fb,_0x6c43b9)=>{const _0x1770b4=_0x459220,_0x380069=this[_0x1770b4(0x193)][_0x1770b4(0x18e)];_0x6c43b9?_0x2fc0f8[_0x1770b4(0x187)](_0x40dd05(_0x56e1ec,_0x1770b4(0x1b7))):_0x380069&&_0x2fc0f8[_0x1770b4(0x187)](_0x40dd05(_0x56e1ec,_0x1770b4(0x1a7),_0x380069),{'politeness':_0x1770b4(0x15a),'isUnsafeHTML':!0x0});}),this[_0x459220(0x1dd)]['on'](_0x459220(0x1ca),(_0x26f113,_0x1221cb,_0x472cb4)=>{const _0x2fd68d=_0x459220;if(_0x472cb4){const _0x2231ff=this[_0x2fd68d(0x1dd)][_0x2fd68d(0x164)][_0x2fd68d(0x18b)];_0x2fc0f8[_0x2fd68d(0x187)](_0x40dd05(_0x56e1ec,_0x2fd68d(0x1e3),_0x2231ff));}});}[_0x51d173(0x1ee)](_0x782b53){const _0x4a7a30=_0x51d173,_0x225489=this[_0x4a7a30(0x158)][_0x4a7a30(0x1de)](_0x782b53),_0x2b0846=this[_0x4a7a30(0x19f)],_0x1199e2=_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x17d)][_0x4a7a30(0x1b9)],_0x5db4a2=_0x2b0846[_0x4a7a30(0x203)][_0x4a7a30(0x1de)](_0x4a7a30(0x18d)),_0x5cb92b=_0x2b0846[_0x4a7a30(0x1b1)][_0x4a7a30(0x1de)](_0x59de53),_0x40e6f1=''+(_0x225489[_0x4a7a30(0x19d)]!==_0x903bbb?_0x225489[_0x4a7a30(0x1f3)]+':\x20':'')+_0x225489[_0x4a7a30(0x1ad)];if(!0x1!==_0x225489[_0x4a7a30(0x1a9)]&&_0x1199e2[_0x4a7a30(0x1c4)]){const _0xae83ee=_0x1e2d0a(_0x1199e2[_0x4a7a30(0x1d2)]())||_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x1da)][_0x4a7a30(0x19e)](_0x1199e2);_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x195)](_0x102cee=>{const _0xc3413b=_0x4a7a30;_0x102cee[_0xc3413b(0x1e6)](_0xae83ee,'in');});}_0x5cb92b[_0x4a7a30(0x1c0)](),_0x5db4a2[_0x4a7a30(0x200)](_0x225489[_0x4a7a30(0x184)],_0x40e6f1,_0x4a7a30(0x1c3)+_0x782b53);}[_0x51d173(0x1bf)](_0x38223c,_0x1d6c17,_0x21c431,_0x2128ba){const _0x4d73b8=_0x51d173,_0x4a5b4f=this[_0x4d73b8(0x19f)],_0x1d0907=_0x4a5b4f[_0x4d73b8(0x1be)],_0x60f6c3=new _0x5d4f66(_0x1d0907),_0x5263ea=U(_0x4a5b4f,_0x21c431)[_0x4d73b8(0x1c5)](_0x547bd1=>_0x547bd1[_0x4d73b8(0x203)][_0x4d73b8(0x1b3)]);0x1===_0x5263ea[_0x4d73b8(0x1b3)]?this[_0x4d73b8(0x1d1)]({'command':_0x38223c,'commands':_0x5263ea[0x0][_0x4d73b8(0x203)],'parentMenuView':_0x1d6c17,'onExecute':_0x2128ba})[_0x4d73b8(0x204)](_0x5769e6=>_0x60f6c3[_0x4d73b8(0x1f5)][_0x4d73b8(0x17e)](_0x5769e6)):_0x5263ea[_0x4d73b8(0x204)](({groupId:_0x139b63,groupLabel:_0x329c0d,commands:_0x52f4f8})=>{const _0x41e96b=_0x4d73b8,_0x38bf8f=new _0x3b68a6(_0x1d0907,_0x1d6c17),_0x28b8a0=new _0x4b8e9b(_0x1d0907),_0x11c1a4=new _0x5d4f66(_0x1d0907),_0x1c5b6b=this[_0x41e96b(0x1d1)]({'command':_0x38223c,'commands':_0x52f4f8,'parentMenuView':_0x28b8a0,'onExecute':_0x2128ba});_0x28b8a0[_0x41e96b(0x176)][_0x41e96b(0x1ab)]({'label':_0x329c0d||_0x139b63}),_0x28b8a0[_0x41e96b(0x198)](_0x41e96b(0x200))['to'](_0x1d6c17),_0x11c1a4[_0x41e96b(0x1f5)][_0x41e96b(0x178)](_0x1c5b6b),_0x28b8a0[_0x41e96b(0x16a)][_0x41e96b(0x1d5)][_0x41e96b(0x17e)](_0x11c1a4),_0x38bf8f[_0x41e96b(0x1d5)][_0x41e96b(0x17e)](_0x28b8a0),_0x60f6c3[_0x41e96b(0x1f5)][_0x41e96b(0x17e)](_0x38bf8f);}),_0x1d6c17[_0x4d73b8(0x16a)][_0x4d73b8(0x1d5)][_0x4d73b8(0x17e)](_0x60f6c3);}[_0x51d173(0x1d1)]({command:_0xd51533,commands:_0x1d5ec1,parentMenuView:_0x53e128,onExecute:_0x402339}){const _0x97d8c5=_0x51d173,_0x553a0f=this[_0x97d8c5(0x19f)],_0x2b7d86=_0x553a0f[_0x97d8c5(0x1be)];return U(_0x553a0f,_0x1d5ec1)[_0x97d8c5(0x17b)](_0x58809e=>{const _0x2b3794=_0x97d8c5,_0x2c65de=new _0x3b68a6(_0x2b7d86,_0x53e128),_0x3508f9=new _0x4f37e2(_0x2b7d86);return _0x3508f9[_0x2b3794(0x1ab)]({'label':_0x58809e[_0x2b3794(0x1ad)]}),_0x3508f9[_0x2b3794(0x198)](_0x2b3794(0x200))['to'](_0x53e128),_0x3508f9['on'](_0x2b3794(0x200),()=>_0x402339(_0x58809e['id'])),_0x3508f9[_0x2b3794(0x171)](_0x2b3794(0x1bc))['to'](_0xd51533,_0x2b3794(0x162),_0x4811f7=>_0x4811f7[_0x2b3794(0x192)](_0x58809e['id'])),_0x2c65de[_0x2b3794(0x1d5)][_0x2b3794(0x17e)](_0x3508f9),_0x2c65de;});}}function T(_0x3e8e31,_0x39b566){const _0x204cd3=_0x51d173;return void 0x0!==_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0===_0x39b566[_0x204cd3(0x1d8)]?0x1:void 0x0===_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0!==_0x39b566[_0x204cd3(0x1d8)]?-0x1:void 0x0!==_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0!==_0x39b566[_0x204cd3(0x1d8)]?_0x3e8e31[_0x204cd3(0x1d8)]-_0x39b566[_0x204cd3(0x1d8)]:0x0;}function _0x2e09(){const _0x17bdf6=['get','replaceContent','ai.assistant.commands','expired','_initAriaAiStatusChangeAnnouncements','Error\x20during\x20AI\x20content\x20generation:\x20%0','from','_uiCssClasses','setSelection','AIAssistantUI','updatePosition','ck-ai-assistant-button\x20','menuPanelClass','copy','featureNotAllowed','componentFactory','_onExecute','214mMwGQW','editing','destroy','_createAIAssistantUIButton','groupLabel','aiLicenseKeyDomainLimit','items','isOfficialPlugin','AI\x20Assistant','ck-ai-commands-dropdown\x20','listenTo','domainLimit','DataTransfer','ai.assistant.contentAreaCssClass','aiLicenseKeyTrialLimit','hideUI','trim','execute','view','\x20ck-ai-assistant-ui_theme','commands','forEach','reset','licenseKey','_commandDefinitions','media','polite','ai-commands-config-order-collision','aiLicenseKeyValid','hideFakeVisualSelection','21fBktyo','aiAssistant','pluginName','config','enabledCommandsIds','EDITOR_TOP_SIDE','errorView','push','tableOfContents','invalid','queryView','updateView','panelView','source','_dialog','ai.assistant.useTheme','text/html','change:isProcessing','hide','bind','2251350DUDqnK','textAdapter','requires','menuView','buttonView','promptView','addMany','aiCommands','trialLimit','map','getRanges','document','add','<p>','change:enabledCommandsIds','replace','render','aiLicenseKeyEvaluationLimit','prompt','_aiAdapter','usageLimit','announce','menuitemcheckbox','_forceMarkersCopy','_licenseKeyCheckInterval','text','1397514MdgjCZ','showAIAssistant','currentContext','values','fire','5725224XgFPPK','includes','_aiAssistantController','showUI','change','define','isPremiumPlugin','delegate','focus','_showLicenseError','rawHtml','aiLicenseKeyInvalid','groupId','getLimitElement','editor','sort','_getResolvedCommandsDefinitions','AI\x20Commands','model','fieldView','REPLACE','8159aznoHY','Generated\x20content:\x20%0','ck-ai-assistant-ui','requiresContent','insertContentBelow','set','ai.assistant.disabledElements','label','AIAssistant','2292296StjULs','insertContent','plugins','body','length','6739010GJYlLu','update','comment','AI\x20is\x20writing','buttons','selection','menuBar:aiCommands','isFlat','isEnabled','_initView','locale','_populateMenuBarMenu','showFakeVisualSelection','once','getData','command:','isCollapsed','filter','3031452LxPKbx','splice','menuBar:aiAssistant','INSERT','change:isError','show','getSelectedElement','aiLicenseKeyUsageLimit','evaluationLimit','aiLicenseKeyNotAllowed','wasMoved','_getMenuBarGroupButtons','getSelectedBlocks','</p>','contentArea','children','aiLicenseKeyExpired','init','order','change:value','schema','isOn','custom','_formView'];_0x2e09=function(){return _0x17bdf6;};return _0x2e09();}function U(_0x4c7cea,_0xbcf6c8){const _0x4f2b05=_0x51d173;_0xbcf6c8[_0x4f2b05(0x1a0)](T);const _0x3bdd2f={},_0x3b4b5f=[];for(const _0x2e9edd of _0xbcf6c8)if(void 0x0!==_0x2e9edd[_0x4f2b05(0x1d8)]){if(_0x2e9edd[_0x4f2b05(0x1d8)]in _0x3bdd2f)throw new _0x12258f(_0x4f2b05(0x15b),_0x4c7cea,{'conflictingDefinitions':[_0x2e9edd,_0x3bdd2f[_0x2e9edd[_0x4f2b05(0x1d8)]]]});_0x3bdd2f[_0x2e9edd[_0x4f2b05(0x1d8)]]=_0x2e9edd,_0x3b4b5f[_0x4f2b05(0x1c7)](_0x2e9edd[_0x4f2b05(0x1d8)],0x0,_0x2e9edd);}else _0x3b4b5f[_0x4f2b05(0x165)](_0x2e9edd);return _0x3b4b5f;}
23
+ const _0x3192e1=_0x17e2;(function(_0x4a5b1c,_0x514984){const _0x3c2058=_0x17e2,_0x5710e8=_0x4a5b1c();while(!![]){try{const _0x5379ee=parseInt(_0x3c2058(0x106))/0x1*(parseInt(_0x3c2058(0x118))/0x2)+-parseInt(_0x3c2058(0x13c))/0x3*(parseInt(_0x3c2058(0xa7))/0x4)+parseInt(_0x3c2058(0xae))/0x5*(-parseInt(_0x3c2058(0x11c))/0x6)+parseInt(_0x3c2058(0xe9))/0x7*(parseInt(_0x3c2058(0x101))/0x8)+parseInt(_0x3c2058(0x11a))/0x9*(parseInt(_0x3c2058(0xe7))/0xa)+parseInt(_0x3c2058(0xdc))/0xb*(parseInt(_0x3c2058(0x115))/0xc)+parseInt(_0x3c2058(0x123))/0xd*(-parseInt(_0x3c2058(0xdd))/0xe);if(_0x5379ee===_0x514984)break;else _0x5710e8['push'](_0x5710e8['shift']());}catch(_0x562453){_0x5710e8['push'](_0x5710e8['shift']());}}}(_0x30c3,0x51705));import{Plugin as _0x3d6ad9}from'ckeditor5/src/core.js';import{IconMagicWand as _0x539a3d,IconRobotPencil as _0x35e308}from'ckeditor5/src/icons.js';import{first as _0x31acb4,CKEditorError as _0x4060d6}from'ckeditor5/src/utils.js';import{createDropdown as _0x46b82f,addMenuToDropdown as _0x1b00b4,ButtonView as _0x18c953,MenuBarMenuListItemButtonView as _0x13b031,Dialog as _0x53c204,DialogViewPosition as _0x3acec1,MenuBarMenuView as _0x238b37,MenuBarMenuListView as _0x2804d7,MenuBarMenuListItemView as _0x76ebf}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x321029,UNGROUPED_COMMANDS_GROUP_ID as _0x5655a5}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x275f0b}from'./aiassistantediting.js';import{AIAdapter as _0x4939f2}from'./adapters/aiadapter.js';import{getTranslation as _0x477761}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x14c123}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4e03c2}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x49fe40}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x8509f0}from'./ui/form/aiformtoolbarview.js';function _0x17e2(_0x272e1e,_0x403f8c){const _0x30c359=_0x30c3();return _0x17e2=function(_0x17e28f,_0x2ebe36){_0x17e28f=_0x17e28f-0x93;let _0x31b72d=_0x30c359[_0x17e28f];return _0x31b72d;},_0x17e2(_0x272e1e,_0x403f8c);}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x3192e1(0xea)];function _0x30c3(){const _0x53d381=['children','getSelectedBlocks','aiLicenseKeyDomainLimit','wasMoved','queryView','enabledCommandsIds','editing','menuView','INSERT','polite','_getResolvedCommandsDefinitions','_aiAdapter','ck-ai-assistant-button\x20','sort','732CJOFet','ai.assistant.useTheme','ai.assistant.disabledElements','5002yyaNua','destroy','333yAIYSu','change:isProcessing','2679762ibbKIU','execute','includes','editor','getLimitElement','groupId','_createAIAssistantUIButton','26GkhKpA','_forceMarkersCopy','isEnabled','getRanges','length','licenseKey','add','getData','define','reset','hide','aiLicenseKeyInvalid','update','show','AI\x20is\x20writing','hideUI','currentContext','listenTo','filter','ai.assistant.commands','updatePosition','invalid','label','showFakeVisualSelection','featureNotAllowed','852603UpKlXW','evaluationLimit','config','_commandDefinitions','change:isError','change','domainLimit','updateView','replaceContent','menuPanelClass','map','AIAssistantUI','_uiCssClasses','focus','source','change:enabledCommandsIds','copy','set','rawHtml','splice','requires','menuBar:aiCommands','text/html','tableOfContents','promptView','_licenseKeyCheckInterval','push','_initAriaAiStatusChangeAnnouncements','contentArea','insertContent','_aiAssistantController','4bALyQD','aiLicenseKeyTrialLimit','isFlat','addMany','schema','insertContentBelow','pluginName','5tYqjLV','aiLicenseKeyNotAllowed','<p>','order','view','buttons','ck-ai-assistant-ui','_getMenuBarGroupButtons','items','usageLimit','aiLicenseKeyEvaluationLimit','get','requiresContent','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','commands','render','showAIAssistant','AI\x20Commands','aiLicenseKeyValid','menuBar:aiAssistant','values','delegate','_initView','showUI','\x20ck-ai-assistant-ui_theme','announce','once','_dialog','AIAssistant','ai.assistant.contentAreaCssClass','fire','aiCommands','model','REPLACE','</p>','Generated\x20content:\x20%0','panelView','trialLimit','plugins','aiLicenseKeyExpired','isCollapsed','aiAssistant','expired','_populateMenuBarMenu','forEach','45089TdVVRo','4065992bcgGcM','isOn','ai-commands-config-order-collision','aiLicenseKeyUsageLimit','_showLicenseError','body','locale','prompt','isPremiumPlugin','bind','101930iEGgJu','ck-ai-commands-dropdown\x20','14jgcgib','DataTransfer','change:value','selection','media','groupLabel','trim','command:','buttonView','hideFakeVisualSelection','componentFactory','getSelectedElement','custom','replace','isOfficialPlugin','init','menuitemcheckbox','text','errorView','fieldView','_onExecute','textAdapter','setSelection','AI\x20Assistant','2621728BMXwbt','EDITOR_TOP_SIDE','document','from','comment','145PYbPmt'];_0x30c3=function(){return _0x53d381;};return _0x30c3();}import{ClipboardMarkersUtils as _0x312703}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xae3675,ViewDataTransfer as _0x65201e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3d6ad9{[_0x3192e1(0x128)];[_0x3192e1(0xa1)];[_0x3192e1(0xca)];[_0x3192e1(0xbb)];[_0x3192e1(0x112)];[_0x3192e1(0xa6)];[_0x3192e1(0x94)]='';static get[_0x3192e1(0xad)](){const _0x50b62e=_0x3192e1;return _0x50b62e(0x93);}static get[_0x3192e1(0xf7)](){return!0x0;}static get[_0x3192e1(0xe5)](){return!0x0;}static get[_0x3192e1(0x9c)](){return[_0x312703,_0x275f0b,_0x4939f2,_0x53c204];}constructor(_0x513e7d){const _0x1a8cc9=_0x3192e1;super(_0x513e7d),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0x117),[_0x1a8cc9(0xed),_0x1a8cc9(0x9a),_0x1a8cc9(0x9f)]),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0xcc),''),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0x116),!0x0),this[_0x1a8cc9(0x94)]=_0x1a8cc9(0xb4)+(_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0xb9)](_0x1a8cc9(0x116))?_0x1a8cc9(0xc7):'');}[_0x3192e1(0xf8)](){const _0x5bdcfc=_0x3192e1,{editor:_0x76abb7}=this;this[_0x5bdcfc(0x112)]=_0x76abb7[_0x5bdcfc(0xd5)][_0x5bdcfc(0xb9)](_0x4939f2),this[_0x5bdcfc(0xca)]=_0x76abb7[_0x5bdcfc(0xd5)][_0x5bdcfc(0xb9)](_0x53c204),this[_0x5bdcfc(0xbb)]=null,this[_0x5bdcfc(0x13f)]=this[_0x5bdcfc(0x111)]();const _0x23a35c=new _0x14c123(_0x76abb7,Array[_0x5bdcfc(0x104)](this[_0x5bdcfc(0x13f)][_0x5bdcfc(0xc3)]()));_0x76abb7[_0x5bdcfc(0xbd)][_0x5bdcfc(0x129)](_0x5bdcfc(0xbf),_0x23a35c),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xce),_0x27f518=>{const _0xe5bf86=_0x5bdcfc,_0xb446f7=_0x46b82f(_0x27f518);return _0xb446f7[_0xe5bf86(0x99)]({'class':_0xe5bf86(0xe8)+this[_0xe5bf86(0x94)]}),_0xb446f7[_0xe5bf86(0xf1)][_0xe5bf86(0x99)]({'label':_0x477761(_0x27f518,_0xe5bf86(0xc0)),'icon':_0x539a3d,'tooltip':!0x0}),_0xb446f7['on'](_0xe5bf86(0x11d),_0x4fabef=>this[_0xe5bf86(0xfd)](_0x4fabef[_0xe5bf86(0x96)]['id'])),_0x1b00b4(_0xb446f7,_0x76abb7['ui'][_0xe5bf86(0xb2)][_0xe5bf86(0xe2)],function(_0x50daf4){const _0x5cf6c2=_0xe5bf86,_0x181d33=_0x321029(_0x50daf4[_0x5cf6c2(0x13e)][_0x5cf6c2(0xb9)](_0x5cf6c2(0x136)),_0x50daf4[_0x5cf6c2(0xe3)]),_0x437cd1=U(_0x50daf4,_0x181d33)[_0x5cf6c2(0x135)](_0x491bab=>_0x491bab[_0x5cf6c2(0xbd)][_0x5cf6c2(0x127)]);if(0x1===_0x437cd1[_0x5cf6c2(0x127)])return U(_0x50daf4,_0x437cd1[0x0][_0x5cf6c2(0xbd)])[_0x5cf6c2(0x146)](_0x2544f0=>({'id':_0x2544f0['id'],'label':_0x2544f0[_0x5cf6c2(0x139)]}));return _0x437cd1[_0x5cf6c2(0x146)](_0x31fd41=>{const _0x403811=_0x5cf6c2,{groupId:_0x24755d,groupLabel:_0x24d32a,commands:_0x120774}=_0x31fd41,_0x5b3227=U(_0x50daf4,_0x120774)[_0x403811(0x146)](_0x30e923=>({'id':_0x30e923['id'],'label':_0x30e923[_0x403811(0x139)]}));return{'id':_0x24755d,'menu':_0x24d32a||_0x24755d,'children':_0x5b3227};});}(_0x76abb7),{'ariaLabel':_0x477761(_0x27f518,_0xe5bf86(0xc0))}),_0xb446f7[_0xe5bf86(0x10e)][_0xe5bf86(0x145)]=_0xe5bf86(0xe8)+this[_0xe5bf86(0x94)],_0x23a35c['on'](_0xe5bf86(0x97),_0x389c8b),_0xb446f7[_0xe5bf86(0x10e)][_0xe5bf86(0xc9)](_0xe5bf86(0xbe),_0x389c8b),_0xb446f7;function _0x389c8b(){const _0x337628=_0xe5bf86;_0xb446f7[_0x337628(0x125)]=_0x23a35c[_0x337628(0x10c)][_0x337628(0x127)]>0x0;for(const _0x2a2bfa of _0xb446f7[_0x337628(0x10e)][_0x337628(0xb3)])_0x2a2bfa[_0x337628(0x125)]=_0x23a35c[_0x337628(0x10c)][_0x337628(0x11e)](_0x2a2bfa['id']);}}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0x9d),_0x22d022=>{const _0x4ab6fb=_0x5bdcfc,_0x6ba37e=new _0x238b37(_0x22d022);_0x6ba37e[_0x4ab6fb(0xf1)][_0x4ab6fb(0x99)]({'label':_0x477761(_0x22d022,_0x4ab6fb(0xc0)),'icon':_0x539a3d}),_0x6ba37e[_0x4ab6fb(0xe6)](_0x4ab6fb(0x125))['to'](_0x23a35c,_0x4ab6fb(0x10c),_0xf16167=>_0xf16167[_0x4ab6fb(0x127)]>0x0);const _0x39e5a9=_0x321029(_0x76abb7[_0x4ab6fb(0x13e)][_0x4ab6fb(0xb9)](_0x4ab6fb(0x136)),_0x22d022);return this[_0x4ab6fb(0xda)](_0x23a35c,_0x6ba37e,_0x39e5a9,_0x12ebb2=>this[_0x4ab6fb(0xfd)](_0x12ebb2)),_0x6ba37e;}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xd8),()=>{const _0x3788d5=_0x5bdcfc,_0x35daf8=this[_0x3788d5(0x122)](_0x18c953);return _0x35daf8[_0x3788d5(0x99)]({'tooltip':!0x0,'class':_0x3788d5(0x113)+this[_0x3788d5(0x94)]}),_0x35daf8;}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xc2),()=>{const _0xab2478=_0x5bdcfc,_0x3a145f=this[_0xab2478(0x122)](_0x13b031);return _0x3a145f[_0xab2478(0x99)]({'role':_0xab2478(0xf9)}),_0x3a145f;}),this[_0x5bdcfc(0x128)]=this[_0x5bdcfc(0x11f)][_0x5bdcfc(0x13e)][_0x5bdcfc(0xb9)](_0x5bdcfc(0x128));const _0x4a9fc7=this[_0x5bdcfc(0x11f)];this[_0x5bdcfc(0xa1)]=setInterval(()=>{const _0x384324=_0x5bdcfc;let _0x205eb5;for(const _0x19024b in _0x4a9fc7){const _0xf45c8=_0x19024b,_0x56c5bd=_0x4a9fc7[_0xf45c8];if(_0x384324(0xc1)==_0x56c5bd||_0x384324(0x12e)==_0x56c5bd||_0x384324(0xd6)==_0x56c5bd||_0x384324(0x109)==_0x56c5bd||_0x384324(0xaf)==_0x56c5bd||_0x384324(0xb8)==_0x56c5bd||_0x384324(0xa8)==_0x56c5bd||_0x384324(0xe0)==_0x56c5bd){delete _0x4a9fc7[_0xf45c8],_0x205eb5=_0x56c5bd,clearInterval(this[_0x384324(0xa1)]),this[_0x384324(0xa1)]=void 0x0;break;}}_0x384324(0x12e)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x138)),_0x384324(0xd6)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xd9)),_0x384324(0x109)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x142)),_0x384324(0xaf)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x13b),_0x384324(0xcb)),_0x384324(0xb8)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x13d)),_0x384324(0xa8)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xd4)),_0x384324(0xe0)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xb7));},0x3e8);}[_0x3192e1(0x119)](){const _0x3855b5=_0x3192e1;super[_0x3855b5(0x119)](),this[_0x3855b5(0xa1)]&&clearInterval(this[_0x3855b5(0xa1)]);}[_0x3192e1(0xc6)](_0x4acbc0='',_0x1055f2='',_0x3e7ed4=_0x3192e1(0xf5)){const _0x5580b7=_0x3192e1,_0x554337=this[_0x5580b7(0x11f)],_0x3dd0e2=_0x554337[_0x5580b7(0x10d)][_0x5580b7(0xb2)],_0x1749b6=_0x554337[_0x5580b7(0xd5)][_0x5580b7(0xb9)](_0x275f0b),_0x203fbd=_0x554337[_0x5580b7(0xd5)][_0x5580b7(0xb9)](_0x312703);_0x1749b6[_0x5580b7(0x13a)]();const _0x35724e=new w(),_0x3df0b6=new ClipboardEvent(_0x5580b7(0x98),{'clipboardData':_0x35724e}),_0x533066=new _0x65201e(_0x35724e),_0x4fee30=new _0xae3675(_0x3dd0e2,_0x3df0b6,{'dataTransfer':_0x533066});_0x203fbd[_0x5580b7(0x124)](_0x5580b7(0x105),()=>{const _0x14e096=_0x5580b7;_0x3dd0e2[_0x14e096(0x103)][_0x14e096(0xcd)](_0x14e096(0x98),_0x4fee30);}),this[_0x5580b7(0xbb)]||(this[_0x5580b7(0xc5)](),this[_0x5580b7(0xa6)]=new _0x4e03c2(_0x554337,this[_0x5580b7(0x112)][_0x5580b7(0xfe)],this[_0x5580b7(0xbb)]));let _0x5d0263=_0x533066[_0x5580b7(0x12a)](_0x5580b7(0x9e));const _0x4c51c0=_0x554337[_0x5580b7(0xcf)][_0x5580b7(0x103)][_0x5580b7(0xec)],_0xfeb5f5=Array[_0x5580b7(0x104)](_0x4c51c0[_0x5580b7(0x126)]());0x1===_0xfeb5f5[_0x5580b7(0x127)]&&_0xfeb5f5[0x0][_0x5580b7(0xa9)]&&!_0x4c51c0[_0x5580b7(0xf4)]()&&''!==_0x5d0263[_0x5580b7(0xf6)](/&nbsp;/g,'')[_0x5580b7(0xef)]()&&(_0x5d0263=_0x5580b7(0xb0)+_0x5d0263+_0x5580b7(0xd1)),this[_0x5580b7(0xa6)][_0x5580b7(0x143)]({'actionId':_0x3e7ed4,'query':_0x4acbc0,'htmlContent':_0x5d0263,'label':_0x1055f2,'mainActionLabel':_0x8509f0[_0x554337[_0x5580b7(0xcf)][_0x5580b7(0x103)][_0x5580b7(0xec)][_0x5580b7(0xd7)]?_0x5580b7(0x10f):_0x5580b7(0xd0)]}),_0x5580b7(0xd8)!==this[_0x5580b7(0xca)]['id']?this[_0x5580b7(0xca)][_0x5580b7(0x130)]({'id':_0x5580b7(0xd8),'icon':_0x35e308,'title':_0x477761(this[_0x5580b7(0x11f)][_0x5580b7(0xe3)],_0x5580b7(0x100)),'content':this[_0x5580b7(0xbb)],'position':_0x3acec1[_0x5580b7(0x102)],'onShow':()=>{const _0x1de012=_0x5580b7;this[_0x1de012(0xbb)][_0x1de012(0x95)]();},'onHide':()=>{const _0x4a47f7=_0x5580b7;this[_0x4a47f7(0xa6)][_0x4a47f7(0x12c)](),_0x1749b6[_0x4a47f7(0xf2)]();}}):this[_0x5580b7(0xca)][_0x5580b7(0xb2)][_0x5580b7(0x10a)]||this[_0x5580b7(0xca)][_0x5580b7(0xb2)][_0x5580b7(0x137)]();}[_0x3192e1(0x132)](){const _0x1c17e1=_0x3192e1;this[_0x1c17e1(0xca)][_0x1c17e1(0x12d)]();}[_0x3192e1(0x111)](){const _0x1a3763=_0x3192e1,_0x57de01=new Map(),_0x43f19f=_0x321029(this[_0x1a3763(0x11f)][_0x1a3763(0x13e)][_0x1a3763(0xb9)](_0x1a3763(0x136)),this[_0x1a3763(0x11f)][_0x1a3763(0xe3)]);for(const _0x1b5cd0 of _0x43f19f)for(const _0x405071 of _0x1b5cd0[_0x1a3763(0xbd)])_0x57de01[_0x1a3763(0x99)](_0x405071['id'],{..._0x405071,'groupId':_0x1b5cd0[_0x1a3763(0x121)],'groupLabel':_0x1b5cd0[_0x1a3763(0xee)]||_0x1b5cd0[_0x1a3763(0x121)]});return _0x57de01;}[_0x3192e1(0x122)](_0x505c6f){const _0xa687cc=_0x3192e1,_0x49413a=this[_0xa687cc(0x11f)],_0x296588=_0x49413a[_0xa687cc(0xbd)][_0xa687cc(0xb9)](_0xa687cc(0xbf)),_0x85eddb=new _0x505c6f(_0x49413a[_0xa687cc(0xe3)]);return _0x85eddb[_0xa687cc(0x99)]({'label':_0x477761(_0x49413a[_0xa687cc(0xe3)],_0xa687cc(0x100)),'icon':_0x35e308,'isToggleable':!0x0}),_0x85eddb[_0xa687cc(0xe6)](_0xa687cc(0x125))['to'](_0x296588),_0x85eddb[_0xa687cc(0xe6)](_0xa687cc(0xde))['to'](this[_0xa687cc(0xca)],'id',_0x23b00d=>_0xa687cc(0xd8)===_0x23b00d),this[_0xa687cc(0x134)](_0x85eddb,_0xa687cc(0x11d),()=>{const _0xeac6e2=_0xa687cc;_0x85eddb[_0xeac6e2(0xde)]?this[_0xeac6e2(0x132)]():_0x296588[_0xeac6e2(0x11d)]();}),_0x85eddb;}[_0x3192e1(0xc5)](){const _0x1513a0=_0x3192e1,_0x57dc4e=this[_0x1513a0(0x11f)][_0x1513a0(0xd5)][_0x1513a0(0xb9)](_0x275f0b);this[_0x1513a0(0xbb)]=new _0x49fe40(this[_0x1513a0(0x11f)][_0x1513a0(0xe3)],this[_0x1513a0(0x94)],this[_0x1513a0(0x11f)][_0x1513a0(0x13e)][_0x1513a0(0xb9)](_0x1513a0(0xcc))),this[_0x1513a0(0xbb)]['on'](_0x1513a0(0xeb),()=>{const _0x15738e=_0x1513a0;this[_0x15738e(0xca)][_0x15738e(0xb2)][_0x15738e(0x10a)]||this[_0x15738e(0xca)][_0x15738e(0xb2)][_0x15738e(0x137)]();}),this[_0x1513a0(0xbb)][_0x1513a0(0xa0)][_0x1513a0(0x10b)][_0x1513a0(0xfc)]['on'](_0x1513a0(0x12f),()=>{const _0x5ac0ab=_0x1513a0;this[_0x5ac0ab(0xca)][_0x5ac0ab(0xb2)][_0x5ac0ab(0x10a)]||this[_0x5ac0ab(0xca)][_0x5ac0ab(0xb2)][_0x5ac0ab(0x137)]();}),this[_0x1513a0(0x134)](this[_0x1513a0(0xbb)],_0x1513a0(0x144),()=>{const _0x1b361d=_0x1513a0;_0x57dc4e[_0x1b361d(0xa5)](this[_0x1b361d(0xa6)][_0x1b361d(0x133)]),this[_0x1b361d(0x132)]();}),this[_0x1513a0(0x134)](this[_0x1513a0(0xbb)],_0x1513a0(0xac),()=>{const _0x30a69f=_0x1513a0;_0x57dc4e[_0x30a69f(0xac)](this[_0x30a69f(0xa6)][_0x30a69f(0x133)]),this[_0x30a69f(0x132)]();}),this[_0x1513a0(0xa3)]();}[_0x3192e1(0xa3)](){const _0x48fab4=_0x3192e1,{locale:_0x204dc8,ui:{ariaLiveAnnouncer:_0x582389}}=this[_0x48fab4(0x11f)];this[_0x48fab4(0xbb)][_0x48fab4(0xa4)]['on'](_0x48fab4(0x11b),(_0x1749f7,_0xb49eed,_0x2453b0)=>{const _0x4eafbf=_0x48fab4,_0x439f2e=this[_0x4eafbf(0xa6)][_0x4eafbf(0x133)];_0x2453b0?_0x582389[_0x4eafbf(0xc8)](_0x477761(_0x204dc8,_0x4eafbf(0x131))):_0x439f2e&&_0x582389[_0x4eafbf(0xc8)](_0x477761(_0x204dc8,_0x4eafbf(0xd2),_0x439f2e),{'politeness':_0x4eafbf(0x110),'isUnsafeHTML':!0x0});}),this[_0x48fab4(0xbb)]['on'](_0x48fab4(0x140),(_0x36ffa4,_0x1907e3,_0x547f7d)=>{const _0x49d608=_0x48fab4;if(_0x547f7d){const _0x56dafb=this[_0x49d608(0xbb)][_0x49d608(0xfb)][_0x49d608(0xfa)];_0x582389[_0x49d608(0xc8)](_0x477761(_0x204dc8,_0x49d608(0xbc),_0x56dafb));}});}[_0x3192e1(0xfd)](_0x2e0163){const _0x479881=_0x3192e1,_0x3e50c7=this[_0x479881(0x13f)][_0x479881(0xb9)](_0x2e0163),_0x1d0729=this[_0x479881(0x11f)],_0x4f6d7b=_0x1d0729[_0x479881(0xcf)][_0x479881(0x103)][_0x479881(0xec)],_0x15de96=_0x1d0729[_0x479881(0xbd)][_0x479881(0xb9)](_0x479881(0xbf)),_0x1b1dcc=_0x1d0729[_0x479881(0xd5)][_0x479881(0xb9)](_0x275f0b),_0x54ddb3=''+(_0x3e50c7[_0x479881(0x121)]!==_0x5655a5?_0x3e50c7[_0x479881(0xee)]+':\x20':'')+_0x3e50c7[_0x479881(0x139)];if(!0x1!==_0x3e50c7[_0x479881(0xba)]&&_0x4f6d7b[_0x479881(0xd7)]){const _0x582c77=_0x31acb4(_0x4f6d7b[_0x479881(0x108)]())||_0x1d0729[_0x479881(0xcf)][_0x479881(0xab)][_0x479881(0x120)](_0x4f6d7b);_0x1d0729[_0x479881(0xcf)][_0x479881(0x141)](_0x59a6aa=>{const _0x2601fe=_0x479881;_0x59a6aa[_0x2601fe(0xff)](_0x582c77,'in');});}_0x1b1dcc[_0x479881(0x13a)](),_0x15de96[_0x479881(0x11d)](_0x3e50c7[_0x479881(0xe4)],_0x54ddb3,_0x479881(0xf0)+_0x2e0163);}[_0x3192e1(0xda)](_0x331c61,_0x5d3add,_0x409257,_0x1437cc){const _0x3fc174=_0x3192e1,_0x282105=this[_0x3fc174(0x11f)],_0x5e547b=_0x282105[_0x3fc174(0xe3)],_0x3bd5d0=new _0x2804d7(_0x5e547b),_0x542b73=U(_0x282105,_0x409257)[_0x3fc174(0x135)](_0x283cc9=>_0x283cc9[_0x3fc174(0xbd)][_0x3fc174(0x127)]);0x1===_0x542b73[_0x3fc174(0x127)]?this[_0x3fc174(0xb5)]({'command':_0x331c61,'commands':_0x542b73[0x0][_0x3fc174(0xbd)],'parentMenuView':_0x5d3add,'onExecute':_0x1437cc})[_0x3fc174(0xdb)](_0xd40e26=>_0x3bd5d0[_0x3fc174(0xb6)][_0x3fc174(0x129)](_0xd40e26)):_0x542b73[_0x3fc174(0xdb)](({groupId:_0x515e1f,groupLabel:_0x13039f,commands:_0x2f2d6f})=>{const _0x405afe=_0x3fc174,_0x3a5129=new _0x76ebf(_0x5e547b,_0x5d3add),_0x2299eb=new _0x238b37(_0x5e547b),_0x4c93d4=new _0x2804d7(_0x5e547b),_0x36d7c3=this[_0x405afe(0xb5)]({'command':_0x331c61,'commands':_0x2f2d6f,'parentMenuView':_0x2299eb,'onExecute':_0x1437cc});_0x2299eb[_0x405afe(0xf1)][_0x405afe(0x99)]({'label':_0x13039f||_0x515e1f}),_0x2299eb[_0x405afe(0xc4)](_0x405afe(0x11d))['to'](_0x5d3add),_0x4c93d4[_0x405afe(0xb6)][_0x405afe(0xaa)](_0x36d7c3),_0x2299eb[_0x405afe(0xd3)][_0x405afe(0x107)][_0x405afe(0x129)](_0x4c93d4),_0x3a5129[_0x405afe(0x107)][_0x405afe(0x129)](_0x2299eb),_0x3bd5d0[_0x405afe(0xb6)][_0x405afe(0x129)](_0x3a5129);}),_0x5d3add[_0x3fc174(0xd3)][_0x3fc174(0x107)][_0x3fc174(0x129)](_0x3bd5d0);}[_0x3192e1(0xb5)]({command:_0x512467,commands:_0x51a4f6,parentMenuView:_0x4f267e,onExecute:_0x46adfb}){const _0x9ad733=_0x3192e1,_0x12b086=this[_0x9ad733(0x11f)],_0xb8604d=_0x12b086[_0x9ad733(0xe3)];return U(_0x12b086,_0x51a4f6)[_0x9ad733(0x146)](_0x3fef6d=>{const _0x21bf2e=_0x9ad733,_0x1d1d7=new _0x76ebf(_0xb8604d,_0x4f267e),_0xf80b3e=new _0x13b031(_0xb8604d);return _0xf80b3e[_0x21bf2e(0x99)]({'label':_0x3fef6d[_0x21bf2e(0x139)]}),_0xf80b3e[_0x21bf2e(0xc4)](_0x21bf2e(0x11d))['to'](_0x4f267e),_0xf80b3e['on'](_0x21bf2e(0x11d),()=>_0x46adfb(_0x3fef6d['id'])),_0xf80b3e[_0x21bf2e(0xe6)](_0x21bf2e(0x125))['to'](_0x512467,_0x21bf2e(0x10c),_0x43c4cb=>_0x43c4cb[_0x21bf2e(0x11e)](_0x3fef6d['id'])),_0x1d1d7[_0x21bf2e(0x107)][_0x21bf2e(0x129)](_0xf80b3e),_0x1d1d7;});}}function T(_0x57960a,_0x161eb4){const _0x2e256e=_0x3192e1;return void 0x0!==_0x57960a[_0x2e256e(0xb1)]&&void 0x0===_0x161eb4[_0x2e256e(0xb1)]?0x1:void 0x0===_0x57960a[_0x2e256e(0xb1)]&&void 0x0!==_0x161eb4[_0x2e256e(0xb1)]?-0x1:void 0x0!==_0x57960a[_0x2e256e(0xb1)]&&void 0x0!==_0x161eb4[_0x2e256e(0xb1)]?_0x57960a[_0x2e256e(0xb1)]-_0x161eb4[_0x2e256e(0xb1)]:0x0;}function U(_0x2ddb5b,_0x17ef04){const _0x451fcf=_0x3192e1;_0x17ef04[_0x451fcf(0x114)](T);const _0x2d9623={},_0x44b850=[];for(const _0x4dbf60 of _0x17ef04)if(void 0x0!==_0x4dbf60[_0x451fcf(0xb1)]){if(_0x4dbf60[_0x451fcf(0xb1)]in _0x2d9623)throw new _0x4060d6(_0x451fcf(0xdf),_0x2ddb5b,{'conflictingDefinitions':[_0x4dbf60,_0x2d9623[_0x4dbf60[_0x451fcf(0xb1)]]]});_0x2d9623[_0x4dbf60[_0x451fcf(0xb1)]]=_0x4dbf60,_0x44b850[_0x451fcf(0x9b)](_0x4dbf60[_0x451fcf(0xb1)],0x0,_0x4dbf60);}else _0x44b850[_0x451fcf(0xa2)](_0x4dbf60);return _0x44b850;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x571467,_0x4824c1){var _0x521ff2=_0x5adf,_0x5b190e=_0x571467();while(!![]){try{var _0x5f2483=parseInt(_0x521ff2(0x97))/0x1+parseInt(_0x521ff2(0x9f))/0x2+-parseInt(_0x521ff2(0x9e))/0x3+parseInt(_0x521ff2(0x9b))/0x4+-parseInt(_0x521ff2(0x9c))/0x5*(-parseInt(_0x521ff2(0x9a))/0x6)+parseInt(_0x521ff2(0x98))/0x7*(parseInt(_0x521ff2(0x99))/0x8)+parseInt(_0x521ff2(0x9d))/0x9*(-parseInt(_0x521ff2(0xa0))/0xa);if(_0x5f2483===_0x4824c1)break;else _0x5b190e['push'](_0x5b190e['shift']());}catch(_0x371e3b){_0x5b190e['push'](_0x5b190e['shift']());}}}(_0x3975,0xa81fe));function _0x5adf(_0x5c2c39,_0x1e80f5){var _0x3975ad=_0x3975();return _0x5adf=function(_0x5adfa4,_0xc22bd1){_0x5adfa4=_0x5adfa4-0x97;var _0x58e10a=_0x3975ad[_0x5adfa4];return _0x58e10a;},_0x5adf(_0x5c2c39,_0x1e80f5);}function _0x3975(){var _0x4a0dc8=['182021sCwHeQ','104WrulbP','540FHsWfF','4904100jENebp','40005oCLCZw','27qAwsDf','681741Cyhjij','2032428hRtCoX','9777030DtrpkW','548626dWFDpp'];_0x3975=function(){return _0x4a0dc8;};return _0x3975();}import{CKEditorError as _0x251e63}from'ckeditor5/src/utils.js';
23
+ function _0x59d3(_0x367632,_0x34284f){var _0x5528f3=_0x5528();return _0x59d3=function(_0x59d3fe,_0x59c6c1){_0x59d3fe=_0x59d3fe-0x9b;var _0x2b2b5b=_0x5528f3[_0x59d3fe];return _0x2b2b5b;},_0x59d3(_0x367632,_0x34284f);}(function(_0x42bf73,_0xa0acf5){var _0x5b0437=_0x59d3,_0x1c7b1a=_0x42bf73();while(!![]){try{var _0x2bc899=-parseInt(_0x5b0437(0xa4))/0x1+-parseInt(_0x5b0437(0x9b))/0x2*(-parseInt(_0x5b0437(0x9e))/0x3)+parseInt(_0x5b0437(0xa1))/0x4*(parseInt(_0x5b0437(0xa0))/0x5)+parseInt(_0x5b0437(0xa3))/0x6+-parseInt(_0x5b0437(0x9f))/0x7+parseInt(_0x5b0437(0x9d))/0x8*(-parseInt(_0x5b0437(0x9c))/0x9)+parseInt(_0x5b0437(0xa2))/0xa;if(_0x2bc899===_0xa0acf5)break;else _0x1c7b1a['push'](_0x1c7b1a['shift']());}catch(_0x433d6d){_0x1c7b1a['push'](_0x1c7b1a['shift']());}}}(_0x5528,0x29efd));import{CKEditorError as _0x13c25d}from'ckeditor5/src/utils.js';function _0x5528(){var _0x22dada=['2190118nFBsdA','411805kxVYcd','4elsrFt','1797520YpjACx','1736172HVjIoy','220907Cjkyao','22RrdpwG','10170YtnQuo','504eFfQRN','61437rVWpQV'];_0x5528=function(){return _0x22dada;};return _0x5528();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e9c50=_0x12cc;(function(_0x182af7,_0x44d964){const _0x4a11e6=_0x12cc,_0x46bd46=_0x182af7();while(!![]){try{const _0xa79b81=parseInt(_0x4a11e6(0x19d))/0x1*(-parseInt(_0x4a11e6(0x16f))/0x2)+parseInt(_0x4a11e6(0x17f))/0x3+-parseInt(_0x4a11e6(0x193))/0x4*(parseInt(_0x4a11e6(0x187))/0x5)+-parseInt(_0x4a11e6(0x1cd))/0x6*(-parseInt(_0x4a11e6(0x184))/0x7)+-parseInt(_0x4a11e6(0x1a2))/0x8*(-parseInt(_0x4a11e6(0x19b))/0x9)+parseInt(_0x4a11e6(0x181))/0xa+parseInt(_0x4a11e6(0x1bb))/0xb;if(_0xa79b81===_0x44d964)break;else _0x46bd46['push'](_0x46bd46['shift']());}catch(_0x2acf7f){_0x46bd46['push'](_0x46bd46['shift']());}}}(_0x26b7,0x6bd63));function _0x26b7(){const _0x1b678c=['tryAgainEvent','from','prompt','render','substring','submitPrompt','toModel','trim','listenTo','isRendered','_normalizeResponseHeadings','value','markers','7431842SwYctd','ai.assistant.preserveComments','currentContext','set:currentContext','```','once','config','nodeType','currentResponse','_parseAndNormalizeContent','text/html','document','parseFromString','previousQuery','clear','exec','abort','_stripMarkdownSyntax','266946xcYtTS','_xmlSerializer','setContentOf','data','makeRequest','_sanitizationContainer','startProcessing','20674AvqrTb','element','rename','_handleQuery','innerHTML','editing','_sanitizeHTML','match','view','updateView','previousActionId','div','processor','childNodes','createElement','textAdapter','405468JLbIZn','handleError','360110vmyVTQ','previousLabel','push','49hOxyPv','endsWith','toView','60RZBvuQ','stopProcessing','```html','body','name','length','viewToDom','editor','_isH1TagSupportEnabled','then','remove','ELEMENT_NODE','241364tjjzav','destroy','set','finishProcessing','finally','get','stopListening','reverse','63DtcnjF','<h1></h1>','27dywvVE','_domParser','previousContext','domConverter','startsWith','327616VioRmm','htmlProcessor','reset','querySelector','isProcessing','message','stringify','serializeToString','initialContext','mainAction','catch','custom'];_0x26b7=function(){return _0x1b678c;};return _0x26b7();}import{ObservableMixin as _0x575eae}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4dbdcb}from'../adapters/aiadapter.js';import{Matcher as _0xd1f721,ViewUpcastWriter as _0x4bd44f}from'ckeditor5/src/engine.js';function _0x12cc(_0x36da1b,_0x5555a0){const _0x26b7c8=_0x26b7();return _0x12cc=function(_0x12cc09,_0x757961){_0x12cc09=_0x12cc09-0x16e;let _0xa13dd5=_0x26b7c8[_0x12cc09];return _0xa13dd5;},_0x12cc(_0x36da1b,_0x5555a0);}const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x575eae(){[_0x5e9c50(0x18e)];[_0x5e9c50(0x17e)];[_0x5e9c50(0x177)];[_0x5e9c50(0x1d2)];[_0x5e9c50(0x19e)];[_0x5e9c50(0x1ce)];constructor(_0x44eeab,_0x111f5a,_0x5387a3){const _0x2fce07=_0x5e9c50;super(),this[_0x2fce07(0x18e)]=_0x44eeab,this[_0x2fce07(0x17e)]=_0x111f5a,this[_0x2fce07(0x1d2)]=document[_0x2fce07(0x17d)](_0x2fce07(0x17a)),this[_0x2fce07(0x19e)]=new DOMParser(),this[_0x2fce07(0x1ce)]=new XMLSerializer(),this[_0x2fce07(0x177)]=_0x5387a3,this[_0x2fce07(0x195)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2fce07(0x1be),(_0x3448a7,_0x9ae84,_0x520839)=>{const _0x3ae6bd=_0x2fce07;this[_0x3ae6bd(0x177)][_0x3ae6bd(0x1b9)]=this[_0x3ae6bd(0x175)](_0x520839);}),this[_0x2fce07(0x1b6)](this[_0x2fce07(0x177)],_0x2fce07(0x1b3),(_0x5ca9cd,_0x28a2fe)=>{const _0x50bb68=_0x2fce07,_0x421059=this[_0x50bb68(0x1bd)]||this[_0x50bb68(0x1aa)];this[_0x50bb68(0x172)](_0x28a2fe,_0x421059,_0x50bb68(0x1ad));}),this[_0x2fce07(0x1b6)](this[_0x2fce07(0x177)],_0x2fce07(0x1ae),()=>{const _0x310afb=_0x2fce07;this[_0x310afb(0x177)][_0x310afb(0x1b0)]=this[_0x310afb(0x182)],this[_0x310afb(0x172)](this[_0x310afb(0x1c8)],this[_0x310afb(0x19f)],this[_0x310afb(0x179)],this[_0x310afb(0x182)]);}),this[_0x2fce07(0x1b6)](this[_0x2fce07(0x177)],_0x2fce07(0x188),()=>{const _0x1caa4c=_0x2fce07;this[_0x1caa4c(0x188)]();});}[_0x5e9c50(0x194)](){const _0x2f6fd2=_0x5e9c50;this[_0x2f6fd2(0x199)]();}async[_0x5e9c50(0x178)]({actionId:_0x5c67a2,query:_0x469db8,htmlContent:_0x1c7605,label:_0x47fe80,mainActionLabel:_0x4b71ed}){const _0xd9cd05=_0x5e9c50;this[_0xd9cd05(0x177)][_0xd9cd05(0x1b0)]=_0x47fe80,this[_0xd9cd05(0x177)][_0xd9cd05(0x1ab)]=_0x4b71ed,this[_0xd9cd05(0x1aa)]=_0x1c7605,_0x469db8&&(this[_0xd9cd05(0x177)][_0xd9cd05(0x1b7)]?this[_0xd9cd05(0x172)](_0x469db8,_0x1c7605,_0x5c67a2,_0x47fe80):this[_0xd9cd05(0x177)][_0xd9cd05(0x1c0)](_0xd9cd05(0x1b1),()=>{const _0xacf824=_0xd9cd05;this[_0xacf824(0x172)](_0x469db8,_0x1c7605,_0x5c67a2,_0x47fe80);}));}[_0x5e9c50(0x188)](){const _0x5ba6ce=_0x5e9c50;this[_0x5ba6ce(0x1a6)]&&(this[_0x5ba6ce(0x1a6)]=!0x1,this[_0x5ba6ce(0x177)][_0x5ba6ce(0x196)](),this[_0x5ba6ce(0x17e)][_0x5ba6ce(0x1cb)]());}[_0x5e9c50(0x1a4)](){const _0x4a49e8=_0x5e9c50;this[_0x4a49e8(0x1aa)]='',this[_0x4a49e8(0x1bd)]='',this[_0x4a49e8(0x1c3)]='',this[_0x4a49e8(0x19f)]='',this[_0x4a49e8(0x1c8)]='',this[_0x4a49e8(0x182)]='',this[_0x4a49e8(0x179)]=void 0x0,this[_0x4a49e8(0x177)][_0x4a49e8(0x1a4)](),this[_0x4a49e8(0x188)]();}async[_0x5e9c50(0x172)](_0x3af47c,_0x6e0c8e,_0x2ee6fb,_0x29f9aa){const _0x877d7b=_0x5e9c50;return this[_0x877d7b(0x1a6)]=!0x0,this[_0x877d7b(0x177)][_0x877d7b(0x16e)](),this[_0x877d7b(0x19f)]=_0x6e0c8e,this[_0x877d7b(0x1c8)]=_0x3af47c,this[_0x877d7b(0x182)]=_0x29f9aa||_0x3af47c,this[_0x877d7b(0x179)]=_0x2ee6fb,new Promise(_0x336328=>{const _0x5773e1=_0x877d7b;this[_0x5773e1(0x17e)][_0x5773e1(0x1d1)]({'query':_0x3af47c,'context':_0x6e0c8e,'onData':_0x57057d=>{const _0x4a351=_0x5773e1;this[_0x4a351(0x1c3)]=_0x57057d,this[_0x4a351(0x1bd)]=this[_0x4a351(0x1c4)](this[_0x4a351(0x1c3)]);},'actionId':_0x2ee6fb})[_0x5773e1(0x190)](()=>{const _0x5ee326=_0x5773e1;!this[_0x5ee326(0x1bd)]&&this[_0x5ee326(0x1c3)]&&(this[_0x5ee326(0x1bd)]=this[_0x5ee326(0x1c4)](this[_0x5ee326(0x1c3)],!0x0));})[_0x5773e1(0x1ac)](_0xa0d693=>{const _0x45754b=_0x5773e1;_0xa0d693 instanceof _0x4dbdcb?this[_0x45754b(0x177)][_0x45754b(0x180)](_0xa0d693[_0x45754b(0x1a7)]):this[_0x45754b(0x177)][_0x45754b(0x180)](),_0x336328();})[_0x5773e1(0x197)](()=>{const _0x4f47c1=_0x5773e1;this[_0x4f47c1(0x188)](),_0x336328();});});}[_0x5e9c50(0x1c4)](_0x2f0411,_0x42994a=!0x1){const _0x669365=_0x5e9c50,_0x1942ec=hs[_0x669365(0x1ca)](_0x2f0411);_0x2f0411=_0x1942ec?_0x2f0411[_0x669365(0x1b2)](_0x1942ec[0x1][_0x669365(0x18c)]):_0x2f0411[_0x669365(0x18c)]<0x64&&!_0x42994a?'':this[_0x669365(0x1cc)](_0x2f0411);const _0x513e16=this[_0x669365(0x19e)][_0x669365(0x1c7)](_0x2f0411,_0x669365(0x1c5));if(_0x1942ec){const _0xa7d883=Array[_0x669365(0x1af)](_0x513e16[_0x669365(0x18a)][_0x669365(0x17c)]);_0xa7d883[_0x669365(0x19a)]();for(const _0x506ff1 of _0xa7d883){if(_0x506ff1[_0x669365(0x1c2)]==Node[_0x669365(0x192)])break;_0x506ff1[_0x669365(0x191)]();}}const _0x152cda=this[_0x669365(0x18e)][_0x669365(0x1d0)][_0x669365(0x17b)][_0x669365(0x186)](this[_0x669365(0x1ce)][_0x669365(0x1a9)](_0x513e16[_0x669365(0x18a)]));this[_0x669365(0x18f)]()||this[_0x669365(0x1b8)](_0x152cda);const _0x8acd4a=this[_0x669365(0x18e)][_0x669365(0x1c1)][_0x669365(0x198)](_0x669365(0x1bc)),_0x200307=this[_0x669365(0x18e)][_0x669365(0x1d0)][_0x669365(0x1b4)](_0x152cda);return _0x8acd4a||_0x200307[_0x669365(0x1ba)][_0x669365(0x1c9)](),this[_0x669365(0x18e)][_0x669365(0x1d0)][_0x669365(0x1a8)](_0x200307);}[_0x5e9c50(0x1b8)](_0x27bbe9){const _0x2d6c3d=_0x5e9c50,_0x189786=new _0x4bd44f(this[_0x2d6c3d(0x18e)][_0x2d6c3d(0x174)][_0x2d6c3d(0x177)][_0x2d6c3d(0x1c6)]),_0x4ba74b=new _0xd1f721({'name':/^h[1-5]$/}),_0x2794b9=[];let _0x237ff9=!0x1;for(const _0x375cb2 of _0x27bbe9)_0x375cb2['is'](_0x2d6c3d(0x170))&&_0x4ba74b[_0x2d6c3d(0x176)](_0x375cb2)&&(_0x2794b9[_0x2d6c3d(0x183)](_0x375cb2),'h1'==_0x375cb2[_0x2d6c3d(0x18b)]&&(_0x237ff9=!0x0));if(_0x237ff9){for(const _0x174a04 of _0x2794b9)_0x189786[_0x2d6c3d(0x171)]('h'+(parseInt(_0x174a04[_0x2d6c3d(0x18b)][0x1])+0x1),_0x174a04);}}[_0x5e9c50(0x18f)](){const _0x551fbf=_0x5e9c50,{data:_0xefa03,editing:_0x252a11}=this[_0x551fbf(0x18e)],_0x5e11c4=_0xefa03[_0x551fbf(0x1a3)][_0x551fbf(0x186)](_0x551fbf(0x19c)),_0x18502d=_0xefa03[_0x551fbf(0x186)](_0xefa03[_0x551fbf(0x1b4)](_0x5e11c4));return!!_0x252a11[_0x551fbf(0x177)][_0x551fbf(0x1a0)][_0x551fbf(0x18d)](_0x18502d)[_0x551fbf(0x1a5)]('h1');}[_0x5e9c50(0x175)](_0x359d1c){const _0x4cdc4f=_0x5e9c50;return this[_0x4cdc4f(0x18e)][_0x4cdc4f(0x174)][_0x4cdc4f(0x177)][_0x4cdc4f(0x1a0)][_0x4cdc4f(0x1cf)](this[_0x4cdc4f(0x1d2)],_0x359d1c),this[_0x4cdc4f(0x1d2)][_0x4cdc4f(0x173)];}[_0x5e9c50(0x1cc)](_0x422617){const _0x269bf8=_0x5e9c50,_0x3f4445=_0x422617[_0x269bf8(0x1b5)]();return _0x3f4445[_0x269bf8(0x1a1)](_0x269bf8(0x189))?_0x3f4445[_0x269bf8(0x185)](_0x269bf8(0x1bf))?_0x3f4445[_0x269bf8(0x1b2)](0x7,_0x3f4445[_0x269bf8(0x18c)]-0x3):_0x3f4445[_0x269bf8(0x1b2)](0x7):_0x422617;}}
23
+ const _0x3b3cfe=_0x990c;(function(_0xe37fb2,_0x4a05de){const _0x2bd15d=_0x990c,_0x63cf80=_0xe37fb2();while(!![]){try{const _0x43e390=-parseInt(_0x2bd15d(0x15c))/0x1+parseInt(_0x2bd15d(0x14b))/0x2+parseInt(_0x2bd15d(0x14d))/0x3+-parseInt(_0x2bd15d(0x195))/0x4+-parseInt(_0x2bd15d(0x151))/0x5*(-parseInt(_0x2bd15d(0x16f))/0x6)+-parseInt(_0x2bd15d(0x18f))/0x7*(-parseInt(_0x2bd15d(0x18e))/0x8)+-parseInt(_0x2bd15d(0x150))/0x9;if(_0x43e390===_0x4a05de)break;else _0x63cf80['push'](_0x63cf80['shift']());}catch(_0x1347cd){_0x63cf80['push'](_0x63cf80['shift']());}}}(_0x358f,0x8ed67));import{ObservableMixin as _0x49881f}from'ckeditor5/src/utils.js';function _0x990c(_0xe3ce83,_0x552dbd){const _0x358f60=_0x358f();return _0x990c=function(_0x990ca8,_0x4a9f4c){_0x990ca8=_0x990ca8-0x13c;let _0x11e5b5=_0x358f60[_0x990ca8];return _0x11e5b5;},_0x990c(_0xe3ce83,_0x552dbd);}import{AIRequestError as _0x39d5e9}from'../adapters/aiadapter.js';import{Matcher as _0x1e8215,ViewUpcastWriter as _0x59f29f}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x358f(){const _0x17f13c=['<h1></h1>','once','ELEMENT_NODE','data','substring','parseFromString','_domParser','_stripMarkdownSyntax','textAdapter','862554BaCanM','htmlProcessor','currentContext','_sanitizationContainer','innerHTML','querySelector','abort','handleError','match','div','previousContext','previousQuery','stringify','stopProcessing','trim','nodeType','rename','tryAgainEvent','setContentOf','820254otnFhZ','initialContext','destroy','domConverter','custom','createElement','startProcessing','_xmlSerializer','mainAction','document','length','reset','reverse','_parseAndNormalizeContent','isProcessing','previousActionId','editing','set','serializeToString','get','clear','render','markers','stopListening','_isH1TagSupportEnabled','```','currentResponse','_handleQuery','body','view','from','8xGfxBh','971971OomEhs','ai.assistant.preserveComments','updateView','name','isRendered','endsWith','408208zmFJbc','processor','catch','finishProcessing','config','listenTo','childNodes','remove','element','toView','value','editor','message','set:currentContext','exec','_normalizeResponseHeadings','submitPrompt','makeRequest','then','finally','```html','viewToDom','toModel','push','startsWith','1061948mcKCcQ','text/html','2269479xBJypG','_sanitizeHTML','previousLabel','2581002cRQryC','15XObpzP','prompt'];_0x358f=function(){return _0x17f13c;};return _0x358f();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x49881f(){[_0x3b3cfe(0x13d)];[_0x3b3cfe(0x15b)];[_0x3b3cfe(0x18c)];[_0x3b3cfe(0x15f)];[_0x3b3cfe(0x159)];[_0x3b3cfe(0x176)];constructor(_0x123816,_0x5bb7a0,_0x427b1e){const _0x46b137=_0x3b3cfe;super(),this[_0x46b137(0x13d)]=_0x123816,this[_0x46b137(0x15b)]=_0x5bb7a0,this[_0x46b137(0x15f)]=document[_0x46b137(0x174)](_0x46b137(0x165)),this[_0x46b137(0x159)]=new DOMParser(),this[_0x46b137(0x176)]=new XMLSerializer(),this[_0x46b137(0x18c)]=_0x427b1e,this[_0x46b137(0x180)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x46b137(0x13f),(_0x1103e3,_0x3cc14d,_0x4337d7)=>{const _0x1f88c8=_0x46b137;this[_0x1f88c8(0x18c)][_0x1f88c8(0x13c)]=this[_0x1f88c8(0x14e)](_0x4337d7);}),this[_0x46b137(0x19a)](this[_0x46b137(0x18c)],_0x46b137(0x142),(_0x1cf065,_0x11bb1b)=>{const _0xf99723=_0x46b137,_0x41c249=this[_0xf99723(0x15e)]||this[_0xf99723(0x170)];this[_0xf99723(0x18a)](_0x11bb1b,_0x41c249,_0xf99723(0x173));}),this[_0x46b137(0x19a)](this[_0x46b137(0x18c)],_0x46b137(0x16d),()=>{const _0x36337e=_0x46b137;this[_0x36337e(0x18c)][_0x36337e(0x152)]=this[_0x36337e(0x14f)],this[_0x36337e(0x18a)](this[_0x36337e(0x167)],this[_0x36337e(0x166)],this[_0x36337e(0x17e)],this[_0x36337e(0x14f)]);}),this[_0x46b137(0x19a)](this[_0x46b137(0x18c)],_0x46b137(0x169),()=>{const _0x5bfd2d=_0x46b137;this[_0x5bfd2d(0x169)]();});}[_0x3b3cfe(0x171)](){const _0x131947=_0x3b3cfe;this[_0x131947(0x186)]();}async[_0x3b3cfe(0x191)]({actionId:_0x57da07,query:_0xfc06bf,htmlContent:_0x3e2e51,label:_0x58f9c6,mainActionLabel:_0x4542e8}){const _0x4f85c6=_0x3b3cfe;this[_0x4f85c6(0x18c)][_0x4f85c6(0x152)]=_0x58f9c6,this[_0x4f85c6(0x18c)][_0x4f85c6(0x177)]=_0x4542e8,this[_0x4f85c6(0x170)]=_0x3e2e51,_0xfc06bf&&(this[_0x4f85c6(0x18c)][_0x4f85c6(0x193)]?this[_0x4f85c6(0x18a)](_0xfc06bf,_0x3e2e51,_0x57da07,_0x58f9c6):this[_0x4f85c6(0x18c)][_0x4f85c6(0x154)](_0x4f85c6(0x184),()=>{const _0x43bb30=_0x4f85c6;this[_0x43bb30(0x18a)](_0xfc06bf,_0x3e2e51,_0x57da07,_0x58f9c6);}));}[_0x3b3cfe(0x169)](){const _0x39a040=_0x3b3cfe;this[_0x39a040(0x17d)]&&(this[_0x39a040(0x17d)]=!0x1,this[_0x39a040(0x18c)][_0x39a040(0x198)](),this[_0x39a040(0x15b)][_0x39a040(0x162)]());}[_0x3b3cfe(0x17a)](){const _0x3023c6=_0x3b3cfe;this[_0x3023c6(0x170)]='',this[_0x3023c6(0x15e)]='',this[_0x3023c6(0x189)]='',this[_0x3023c6(0x166)]='',this[_0x3023c6(0x167)]='',this[_0x3023c6(0x14f)]='',this[_0x3023c6(0x17e)]=void 0x0,this[_0x3023c6(0x18c)][_0x3023c6(0x17a)](),this[_0x3023c6(0x169)]();}async[_0x3b3cfe(0x18a)](_0x4666c4,_0x4da45c,_0xf048f4,_0x593068){const _0x5f31f8=_0x3b3cfe;return this[_0x5f31f8(0x17d)]=!0x0,this[_0x5f31f8(0x18c)][_0x5f31f8(0x175)](),this[_0x5f31f8(0x166)]=_0x4da45c,this[_0x5f31f8(0x167)]=_0x4666c4,this[_0x5f31f8(0x14f)]=_0x593068||_0x4666c4,this[_0x5f31f8(0x17e)]=_0xf048f4,new Promise(_0x1abf97=>{const _0x3c7f8e=_0x5f31f8;this[_0x3c7f8e(0x15b)][_0x3c7f8e(0x143)]({'query':_0x4666c4,'context':_0x4da45c,'onData':_0x428423=>{const _0x2d906d=_0x3c7f8e;this[_0x2d906d(0x189)]=_0x428423,this[_0x2d906d(0x15e)]=this[_0x2d906d(0x17c)](this[_0x2d906d(0x189)]);},'actionId':_0xf048f4})[_0x3c7f8e(0x144)](()=>{const _0x29a947=_0x3c7f8e;!this[_0x29a947(0x15e)]&&this[_0x29a947(0x189)]&&(this[_0x29a947(0x15e)]=this[_0x29a947(0x17c)](this[_0x29a947(0x189)],!0x0));})[_0x3c7f8e(0x197)](_0x50c4c3=>{const _0x586910=_0x3c7f8e;_0x50c4c3 instanceof _0x39d5e9?this[_0x586910(0x18c)][_0x586910(0x163)](_0x50c4c3[_0x586910(0x13e)]):this[_0x586910(0x18c)][_0x586910(0x163)](),_0x1abf97();})[_0x3c7f8e(0x145)](()=>{const _0x491b1c=_0x3c7f8e;this[_0x491b1c(0x169)](),_0x1abf97();});});}[_0x3b3cfe(0x17c)](_0x5c9ee9,_0xd413e5=!0x1){const _0x52c530=_0x3b3cfe,_0x5e4ea2=hs[_0x52c530(0x140)](_0x5c9ee9);_0x5c9ee9=_0x5e4ea2?_0x5c9ee9[_0x52c530(0x157)](_0x5e4ea2[0x1][_0x52c530(0x179)]):_0x5c9ee9[_0x52c530(0x179)]<0x64&&!_0xd413e5?'':this[_0x52c530(0x15a)](_0x5c9ee9);const _0x23121d=this[_0x52c530(0x159)][_0x52c530(0x158)](_0x5c9ee9,_0x52c530(0x14c));if(_0x5e4ea2){const _0x149abd=Array[_0x52c530(0x18d)](_0x23121d[_0x52c530(0x18b)][_0x52c530(0x19b)]);_0x149abd[_0x52c530(0x17b)]();for(const _0x45f4a4 of _0x149abd){if(_0x45f4a4[_0x52c530(0x16b)]==Node[_0x52c530(0x155)])break;_0x45f4a4[_0x52c530(0x19c)]();}}const _0xc38026=this[_0x52c530(0x13d)][_0x52c530(0x156)][_0x52c530(0x196)][_0x52c530(0x19e)](this[_0x52c530(0x176)][_0x52c530(0x181)](_0x23121d[_0x52c530(0x18b)]));this[_0x52c530(0x187)]()||this[_0x52c530(0x141)](_0xc38026);const _0x1edb2b=this[_0x52c530(0x13d)][_0x52c530(0x199)][_0x52c530(0x182)](_0x52c530(0x190)),_0x59d0a9=this[_0x52c530(0x13d)][_0x52c530(0x156)][_0x52c530(0x148)](_0xc38026);return _0x1edb2b||_0x59d0a9[_0x52c530(0x185)][_0x52c530(0x183)](),this[_0x52c530(0x13d)][_0x52c530(0x156)][_0x52c530(0x168)](_0x59d0a9);}[_0x3b3cfe(0x141)](_0x263931){const _0x92f61b=_0x3b3cfe,_0x1b38a1=new _0x59f29f(this[_0x92f61b(0x13d)][_0x92f61b(0x17f)][_0x92f61b(0x18c)][_0x92f61b(0x178)]),_0x38b213=new _0x1e8215({'name':/^h[1-5]$/}),_0x18a109=[];let _0x5ea575=!0x1;for(const _0x412549 of _0x263931)_0x412549['is'](_0x92f61b(0x19d))&&_0x38b213[_0x92f61b(0x164)](_0x412549)&&(_0x18a109[_0x92f61b(0x149)](_0x412549),'h1'==_0x412549[_0x92f61b(0x192)]&&(_0x5ea575=!0x0));if(_0x5ea575){for(const _0x3ae99c of _0x18a109)_0x1b38a1[_0x92f61b(0x16c)]('h'+(parseInt(_0x3ae99c[_0x92f61b(0x192)][0x1])+0x1),_0x3ae99c);}}[_0x3b3cfe(0x187)](){const _0x359996=_0x3b3cfe,{data:_0x2399b4,editing:_0x2b3a29}=this[_0x359996(0x13d)],_0x5e1767=_0x2399b4[_0x359996(0x15d)][_0x359996(0x19e)](_0x359996(0x153)),_0x39df2d=_0x2399b4[_0x359996(0x19e)](_0x2399b4[_0x359996(0x148)](_0x5e1767));return!!_0x2b3a29[_0x359996(0x18c)][_0x359996(0x172)][_0x359996(0x147)](_0x39df2d)[_0x359996(0x161)]('h1');}[_0x3b3cfe(0x14e)](_0x15862c){const _0x2e2b20=_0x3b3cfe;return this[_0x2e2b20(0x13d)][_0x2e2b20(0x17f)][_0x2e2b20(0x18c)][_0x2e2b20(0x172)][_0x2e2b20(0x16e)](this[_0x2e2b20(0x15f)],_0x15862c),this[_0x2e2b20(0x15f)][_0x2e2b20(0x160)];}[_0x3b3cfe(0x15a)](_0x318824){const _0x5bc063=_0x3b3cfe,_0x5adb22=_0x318824[_0x5bc063(0x16a)]();return _0x5adb22[_0x5bc063(0x14a)](_0x5bc063(0x146))?_0x5adb22[_0x5bc063(0x194)](_0x5bc063(0x188))?_0x5adb22[_0x5bc063(0x157)](0x7,_0x5adb22[_0x5bc063(0x179)]-0x3):_0x5adb22[_0x5bc063(0x157)](0x7):_0x318824;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cb378=_0x3ca9;(function(_0x3c1dd2,_0x393136){const _0x20c9f4=_0x3ca9,_0x502765=_0x3c1dd2();while(!![]){try{const _0x4a320e=-parseInt(_0x20c9f4(0x1b7))/0x1+parseInt(_0x20c9f4(0x1c4))/0x2+-parseInt(_0x20c9f4(0x1dd))/0x3*(parseInt(_0x20c9f4(0x1de))/0x4)+-parseInt(_0x20c9f4(0x1e8))/0x5*(-parseInt(_0x20c9f4(0x1b4))/0x6)+parseInt(_0x20c9f4(0x1dc))/0x7+parseInt(_0x20c9f4(0x1c7))/0x8*(parseInt(_0x20c9f4(0x1b6))/0x9)+-parseInt(_0x20c9f4(0x1ae))/0xa*(parseInt(_0x20c9f4(0x1ec))/0xb);if(_0x4a320e===_0x393136)break;else _0x502765['push'](_0x502765['shift']());}catch(_0x112324){_0x502765['push'](_0x502765['shift']());}}}(_0x2b20,0x9302c));import{global as _0xfe64d5}from'ckeditor5/src/utils.js';import{View as _0x471142,ButtonView as _0x224587,SpinnerView as _0x1c61e2}from'ckeditor5/src/ui.js';function _0x2b20(){const _0x2abfda=['\x20ck-ai-form__copy-button--copied','icon','mousedown','appendChild','_copyHTMLToClipboard','isEnabled','innerHTML','value','ck-ai-form__copy-button-wrapper','.ck-ai-form__loader','text/plain','body','class','loaderView','2438352DHtoYe','1874781qmjmXF','4jxwSnk','setStartAfter','execCommand','wheel','-9999px','createElement','removeAllRanges','AI\x20is\x20writing...','scrollTo','Copy','40EFQWOk','_createLoader','ck-ai-form__loader','text/html','1243hnGVim','copyButtonView','setTemplate','lastElementChild','copy','focus','<span>]</span>','clipboard','bindTemplate','ck-ai-form__content-area','ClipboardItem','change:isProcessing','getSelection','ck-content','ck-ai-form__content-field','isProcessing','absolute','setContent','element','_createCopyButton','addRange','isVisible','position','firstElementChild','68270riFfnr','ck-ai-form__content-area--processing','smooth','left','div','appendLoader','287286KKWbsM','listenTo','9daAyiD','809240ZFTmhM','createRange','render','contentFieldView','write','setEndBefore','ck-reset_all-excluded','textContent','<span>[</span>','locale','style','change:value','execute','2334554JEmceu','bind','scrollHeight','7272904kbHtQe','set','ck-ai-form__content-area-wrapper','ck-ai-form__copy-button','remove','querySelector','ck-hidden'];_0x2b20=function(){return _0x2abfda;};return _0x2b20();}function _0x3ca9(_0x35d16a,_0x1da7f4){const _0x2b205a=_0x2b20();return _0x3ca9=function(_0x3ca921,_0xe82470){_0x3ca921=_0x3ca921-0x1a8;let _0x455728=_0x2b205a[_0x3ca921];return _0x455728;},_0x3ca9(_0x35d16a,_0x1da7f4);}import{IconCheck as _0x35d81e,IconCopy as _0x4f4ff4}from'ckeditor5/src/icons.js';import{getTranslation as _0x35e5d8}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x471142{[_0x1cb378(0x1ba)];[_0x1cb378(0x1ed)];constructor(_0x36661b,_0x36d39f=''){const _0x2a8db0=_0x1cb378;super(_0x36661b),this[_0x2a8db0(0x1c8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x120572=this[_0x2a8db0(0x1f4)];this[_0x2a8db0(0x1ba)]=new ContentFieldView(_0x36661b,_0x36d39f),this[_0x2a8db0(0x1ed)]=this[_0x2a8db0(0x1a9)](),this[_0x2a8db0(0x1ee)]({'tag':_0x2a8db0(0x1b2),'attributes':{'class':['ck',_0x2a8db0(0x1c9),_0x120572['if'](_0x2a8db0(0x1ab),_0x2a8db0(0x1cd),_0x12ab1d=>!_0x12ab1d)],'tabindex':'-1'},'children':[{'tag':_0x2a8db0(0x1b2),'attributes':{'class':['ck',_0x2a8db0(0x1f5),_0x120572['if'](_0x2a8db0(0x1fb),_0x2a8db0(0x1af))]},'children':[this[_0x2a8db0(0x1ba)],{'tag':_0x2a8db0(0x1b2),'attributes':{'class':['ck',_0x2a8db0(0x1d6)]},'children':[this[_0x2a8db0(0x1ed)]]}]}]});}[_0x1cb378(0x1b9)](){const _0x253c53=_0x1cb378;super[_0x253c53(0x1b9)](),this[_0x253c53(0x1d5)]&&this[_0x253c53(0x1ba)][_0x253c53(0x1fd)](this[_0x253c53(0x1d5)]);let _0x1bddb0=!0x1;this['on'](_0x253c53(0x1c2),(_0x330d18,_0x3bd0cf,_0x1edb95)=>{const _0x5032f1=_0x253c53,_0x521ca3=!this[_0x5032f1(0x1ba)][_0x5032f1(0x1a8)][_0x5032f1(0x1cc)](_0x5032f1(0x1d7));this[_0x5032f1(0x1ba)][_0x5032f1(0x1fd)](_0x1edb95),this[_0x5032f1(0x1fb)]&&_0x521ca3&&!_0x1bddb0&&this[_0x5032f1(0x1a8)][_0x5032f1(0x1e6)]({'top':this[_0x5032f1(0x1a8)][_0x5032f1(0x1c6)],'behavior':_0x5032f1(0x1b0)});}),this['on'](_0x253c53(0x1f7),(_0x358a94,_0x3ff843,_0x16b34d)=>{const _0xd7c4fe=_0x253c53;_0x1bddb0=!0x1,_0x16b34d?(this[_0xd7c4fe(0x1d5)]=null,this[_0xd7c4fe(0x1ba)][_0xd7c4fe(0x1b3)]()):this[_0xd7c4fe(0x1d5)]||this[_0xd7c4fe(0x1ba)][_0xd7c4fe(0x1fd)]('');}),this[_0x253c53(0x1b5)](this[_0x253c53(0x1a8)],_0x253c53(0x1e1),()=>{_0x1bddb0=!0x0;}),this[_0x253c53(0x1b5)](this[_0x253c53(0x1a8)],_0x253c53(0x1d0),()=>{_0x1bddb0=!0x0;});}[_0x1cb378(0x1f1)](){const _0x337350=_0x1cb378;this[_0x337350(0x1a8)][_0x337350(0x1f1)]();}[_0x1cb378(0x1a9)](){const _0x4c6afa=_0x1cb378,_0x16bfa8=this[_0x4c6afa(0x1c0)],_0x31c408=new _0x224587(this[_0x4c6afa(0x1c0)]),_0x36f4f9=_0x4c6afa(0x1ca);return _0x31c408[_0x4c6afa(0x1c8)]({'label':_0x35e5d8(_0x16bfa8,_0x4c6afa(0x1e7)),'icon':_0x4f4ff4,'class':_0x36f4f9,'tooltip':!0x0}),_0x31c408[_0x4c6afa(0x1c5)](_0x4c6afa(0x1ab))['to'](this,_0x4c6afa(0x1d5),_0x1298f8=>!!_0x1298f8),_0x31c408[_0x4c6afa(0x1c5)](_0x4c6afa(0x1d3))['to'](this,_0x4c6afa(0x1fb),_0x209d2e=>!_0x209d2e),_0x31c408['on'](_0x4c6afa(0x1c3),()=>{const _0x3e4991=_0x4c6afa;this[_0x3e4991(0x1d2)](this[_0x3e4991(0x1ba)][_0x3e4991(0x1a8)]),_0x31c408[_0x3e4991(0x1cf)]=_0x35d81e,_0x31c408[_0x3e4991(0x1da)]=_0x36f4f9+_0x3e4991(0x1ce),this[_0x3e4991(0x1f1)](),setTimeout(()=>{const _0x24c3b6=_0x3e4991;_0x31c408[_0x24c3b6(0x1cf)]=_0x4f4ff4,_0x31c408[_0x24c3b6(0x1da)]=_0x36f4f9;},0x3e8);}),_0x31c408;}[_0x1cb378(0x1d2)](_0x32ab05){const _0x4163bf=_0x1cb378,{window:_0x2f7071,document:_0x49a9ec}=_0xfe64d5;if(_0x2f7071[_0x4163bf(0x1f6)]){const {Blob:_0x188810,ClipboardItem:_0x57bcb3}=_0x2f7071,_0x1bc550=[new _0x57bcb3({'text/html':new _0x188810([_0x32ab05[_0x4163bf(0x1d4)]],{'type':_0x4163bf(0x1eb)}),'text/plain':new _0x188810([_0x32ab05[_0x4163bf(0x1be)]||''],{'type':_0x4163bf(0x1d8)})})];navigator[_0x4163bf(0x1f3)][_0x4163bf(0x1bb)](_0x1bc550);}else{const _0x16864c=_0x49a9ec[_0x4163bf(0x1e3)](_0x4163bf(0x1b2));_0x16864c[_0x4163bf(0x1c1)][_0x4163bf(0x1ac)]=_0x4163bf(0x1fc),_0x16864c[_0x4163bf(0x1c1)][_0x4163bf(0x1b1)]=_0x4163bf(0x1e2),_0x16864c[_0x4163bf(0x1d4)]=_0x4163bf(0x1bf)+_0x32ab05[_0x4163bf(0x1d4)]+_0x4163bf(0x1f2),_0x49a9ec[_0x4163bf(0x1d9)][_0x4163bf(0x1d1)](_0x16864c);const _0x4fe6ed=_0x49a9ec[_0x4163bf(0x1b8)]();_0x4fe6ed[_0x4163bf(0x1df)](_0x16864c[_0x4163bf(0x1ad)]),_0x4fe6ed[_0x4163bf(0x1bc)](_0x16864c[_0x4163bf(0x1ef)]);const _0x4420e0=_0x2f7071[_0x4163bf(0x1f8)]();_0x4420e0[_0x4163bf(0x1e4)](),_0x4420e0[_0x4163bf(0x1aa)](_0x4fe6ed),_0x49a9ec[_0x4163bf(0x1e0)](_0x4163bf(0x1f0)),_0x16864c[_0x4163bf(0x1cb)]();}}}export class ContentFieldView extends _0x471142{constructor(_0x350a77,_0x125776=''){const _0x318f33=_0x1cb378;super(_0x350a77),this[_0x318f33(0x1db)]=this[_0x318f33(0x1e9)](),this[_0x318f33(0x1ee)]({'tag':_0x318f33(0x1b2),'attributes':{'class':['ck',_0x318f33(0x1f9),_0x125776,_0x318f33(0x1bd),_0x318f33(0x1fa)]}});}[_0x1cb378(0x1fd)](_0x471ee7){const _0x464c5f=_0x1cb378;this[_0x464c5f(0x1a8)][_0x464c5f(0x1d4)]=_0x471ee7;}[_0x1cb378(0x1b3)](){const _0x125d50=_0x1cb378;this[_0x125d50(0x1a8)][_0x125d50(0x1d1)](this[_0x125d50(0x1db)][_0x125d50(0x1a8)]);}[_0x1cb378(0x1e9)](){const _0xe2c02a=_0x1cb378,_0x3b8acd=new _0x471142(),_0x41bc78=this[_0xe2c02a(0x1c0)],_0x10db9c=new _0x1c61e2();return _0x10db9c[_0xe2c02a(0x1ab)]=!0x0,_0x3b8acd[_0xe2c02a(0x1ee)]({'tag':_0xe2c02a(0x1b2),'attributes':{'class':['ck',_0xe2c02a(0x1ea)]},'children':[_0x10db9c,{'text':_0x35e5d8(_0x41bc78,_0xe2c02a(0x1e5))}]}),_0x3b8acd[_0xe2c02a(0x1b9)](),_0x3b8acd;}}
23
+ const _0x1dac80=_0x4f5e;(function(_0x280ae5,_0x1c50c2){const _0x2e9e5b=_0x4f5e,_0x435dfb=_0x280ae5();while(!![]){try{const _0x3a1b79=parseInt(_0x2e9e5b(0x134))/0x1*(parseInt(_0x2e9e5b(0x12c))/0x2)+parseInt(_0x2e9e5b(0x101))/0x3+-parseInt(_0x2e9e5b(0x11c))/0x4*(parseInt(_0x2e9e5b(0x106))/0x5)+-parseInt(_0x2e9e5b(0x130))/0x6*(parseInt(_0x2e9e5b(0x137))/0x7)+parseInt(_0x2e9e5b(0x12a))/0x8+-parseInt(_0x2e9e5b(0x148))/0x9+parseInt(_0x2e9e5b(0x110))/0xa*(-parseInt(_0x2e9e5b(0x13d))/0xb);if(_0x3a1b79===_0x1c50c2)break;else _0x435dfb['push'](_0x435dfb['shift']());}catch(_0x43fec9){_0x435dfb['push'](_0x435dfb['shift']());}}}(_0x34c5,0x4a2b1));import{global as _0x6ab5e4}from'ckeditor5/src/utils.js';import{View as _0x400c9d,ButtonView as _0x47994e,SpinnerView as _0x41f6a5}from'ckeditor5/src/ui.js';import{IconCheck as _0x2902b0,IconCopy as _0x2cbf88}from'ckeditor5/src/icons.js';function _0x4f5e(_0xa35ca5,_0x2aae08){const _0x34c50d=_0x34c5();return _0x4f5e=function(_0x4f5e23,_0x22ae78){_0x4f5e23=_0x4f5e23-0xff;let _0x3f801e=_0x34c50d[_0x4f5e23];return _0x3f801e;},_0x4f5e(_0xa35ca5,_0x2aae08);}function _0x34c5(){const _0x8058e2=['ck-ai-form__content-area--processing','ck-hidden','setTemplate','scrollTo','createRange','_createLoader','div','ClipboardItem','414603WKdlgv','appendLoader','execCommand','text/html','isProcessing','\x20ck-ai-form__copy-button--copied','bind','querySelector','change:value','render','listenTo','Copy','removeAllRanges','ck-ai-form__content-area','setContent','1573992QTERPc','value','innerHTML','ck-ai-form__content-field','element','165kinPpi','ck-ai-form__content-area-wrapper','setStartAfter','isEnabled','lastElementChild','-9999px','.ck-ai-form__loader','<span>]</span>','_createCopyButton','AI\x20is\x20writing...','30jetTxz','createElement','ck-ai-form__loader','remove','wheel','bindTemplate','copy','locale','ck-reset_all-excluded','loaderView','mousedown','scrollHeight','15116hxncGy','absolute','addRange','ck-content','class','position','style','focus','_copyHTMLToClipboard','body','clipboard','text/plain','smooth','firstElementChild','3742704DUEebt','contentFieldView','41424vLBlqf','getSelection','set','ck-ai-form__copy-button-wrapper','2118sJEFum','left','change:isProcessing','appendChild','4DCNNDP','textContent','ck-ai-form__copy-button','2373jFKcXa','copyButtonView','<span>[</span>','isVisible','icon','write','1764092fTyYLm','setEndBefore','execute'];_0x34c5=function(){return _0x8058e2;};return _0x34c5();}import{getTranslation as _0x396bd6}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x400c9d{[_0x1dac80(0x12b)];[_0x1dac80(0x138)];constructor(_0x63a25c,_0x5de0a9=''){const _0x442992=_0x1dac80;super(_0x63a25c),this[_0x442992(0x12e)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1029da=this[_0x442992(0x115)];this[_0x442992(0x12b)]=new ContentFieldView(_0x63a25c,_0x5de0a9),this[_0x442992(0x138)]=this[_0x442992(0x10e)](),this[_0x442992(0x142)]({'tag':_0x442992(0x146),'attributes':{'class':['ck',_0x442992(0x107),_0x1029da['if'](_0x442992(0x13a),_0x442992(0x141),_0x342cbf=>!_0x342cbf)],'tabindex':'-1'},'children':[{'tag':_0x442992(0x146),'attributes':{'class':['ck',_0x442992(0xff),_0x1029da['if'](_0x442992(0x14c),_0x442992(0x140))]},'children':[this[_0x442992(0x12b)],{'tag':_0x442992(0x146),'attributes':{'class':['ck',_0x442992(0x12f)]},'children':[this[_0x442992(0x138)]]}]}]});}[_0x1dac80(0x151)](){const _0x22f346=_0x1dac80;super[_0x22f346(0x151)](),this[_0x22f346(0x102)]&&this[_0x22f346(0x12b)][_0x22f346(0x100)](this[_0x22f346(0x102)]);let _0x463077=!0x1;this['on'](_0x22f346(0x150),(_0x5bdc46,_0x4a7a4f,_0x27026c)=>{const _0x3721d4=_0x22f346,_0x39b4a7=!this[_0x3721d4(0x12b)][_0x3721d4(0x105)][_0x3721d4(0x14f)](_0x3721d4(0x10c));this[_0x3721d4(0x12b)][_0x3721d4(0x100)](_0x27026c),this[_0x3721d4(0x14c)]&&_0x39b4a7&&!_0x463077&&this[_0x3721d4(0x105)][_0x3721d4(0x143)]({'top':this[_0x3721d4(0x105)][_0x3721d4(0x11b)],'behavior':_0x3721d4(0x128)});}),this['on'](_0x22f346(0x132),(_0x236e26,_0x58d119,_0x2a4dc5)=>{const _0x3c4ffe=_0x22f346;_0x463077=!0x1,_0x2a4dc5?(this[_0x3c4ffe(0x102)]=null,this[_0x3c4ffe(0x12b)][_0x3c4ffe(0x149)]()):this[_0x3c4ffe(0x102)]||this[_0x3c4ffe(0x12b)][_0x3c4ffe(0x100)]('');}),this[_0x22f346(0x152)](this[_0x22f346(0x105)],_0x22f346(0x114),()=>{_0x463077=!0x0;}),this[_0x22f346(0x152)](this[_0x22f346(0x105)],_0x22f346(0x11a),()=>{_0x463077=!0x0;});}[_0x1dac80(0x123)](){const _0x6bdc9d=_0x1dac80;this[_0x6bdc9d(0x105)][_0x6bdc9d(0x123)]();}[_0x1dac80(0x10e)](){const _0x5f31b1=_0x1dac80,_0xd09212=this[_0x5f31b1(0x117)],_0x4b0080=new _0x47994e(this[_0x5f31b1(0x117)]),_0x382fee=_0x5f31b1(0x136);return _0x4b0080[_0x5f31b1(0x12e)]({'label':_0x396bd6(_0xd09212,_0x5f31b1(0x153)),'icon':_0x2cbf88,'class':_0x382fee,'tooltip':!0x0}),_0x4b0080[_0x5f31b1(0x14e)](_0x5f31b1(0x13a))['to'](this,_0x5f31b1(0x102),_0xbaa2af=>!!_0xbaa2af),_0x4b0080[_0x5f31b1(0x14e)](_0x5f31b1(0x109))['to'](this,_0x5f31b1(0x14c),_0x31ee91=>!_0x31ee91),_0x4b0080['on'](_0x5f31b1(0x13f),()=>{const _0x479048=_0x5f31b1;this[_0x479048(0x124)](this[_0x479048(0x12b)][_0x479048(0x105)]),_0x4b0080[_0x479048(0x13b)]=_0x2902b0,_0x4b0080[_0x479048(0x120)]=_0x382fee+_0x479048(0x14d),this[_0x479048(0x123)](),setTimeout(()=>{const _0x5a0182=_0x479048;_0x4b0080[_0x5a0182(0x13b)]=_0x2cbf88,_0x4b0080[_0x5a0182(0x120)]=_0x382fee;},0x3e8);}),_0x4b0080;}[_0x1dac80(0x124)](_0x51aa38){const _0x5ba920=_0x1dac80,{window:_0x291bc0,document:_0x5ad5d2}=_0x6ab5e4;if(_0x291bc0[_0x5ba920(0x147)]){const {Blob:_0x30c750,ClipboardItem:_0x286f21}=_0x291bc0,_0xeaf01a=[new _0x286f21({'text/html':new _0x30c750([_0x51aa38[_0x5ba920(0x103)]],{'type':_0x5ba920(0x14b)}),'text/plain':new _0x30c750([_0x51aa38[_0x5ba920(0x135)]||''],{'type':_0x5ba920(0x127)})})];navigator[_0x5ba920(0x126)][_0x5ba920(0x13c)](_0xeaf01a);}else{const _0x119073=_0x5ad5d2[_0x5ba920(0x111)](_0x5ba920(0x146));_0x119073[_0x5ba920(0x122)][_0x5ba920(0x121)]=_0x5ba920(0x11d),_0x119073[_0x5ba920(0x122)][_0x5ba920(0x131)]=_0x5ba920(0x10b),_0x119073[_0x5ba920(0x103)]=_0x5ba920(0x139)+_0x51aa38[_0x5ba920(0x103)]+_0x5ba920(0x10d),_0x5ad5d2[_0x5ba920(0x125)][_0x5ba920(0x133)](_0x119073);const _0x398ead=_0x5ad5d2[_0x5ba920(0x144)]();_0x398ead[_0x5ba920(0x108)](_0x119073[_0x5ba920(0x129)]),_0x398ead[_0x5ba920(0x13e)](_0x119073[_0x5ba920(0x10a)]);const _0x5d2b44=_0x291bc0[_0x5ba920(0x12d)]();_0x5d2b44[_0x5ba920(0x154)](),_0x5d2b44[_0x5ba920(0x11e)](_0x398ead),_0x5ad5d2[_0x5ba920(0x14a)](_0x5ba920(0x116)),_0x119073[_0x5ba920(0x113)]();}}}export class ContentFieldView extends _0x400c9d{constructor(_0x3fd5dc,_0x1845a2=''){const _0x55378a=_0x1dac80;super(_0x3fd5dc),this[_0x55378a(0x119)]=this[_0x55378a(0x145)](),this[_0x55378a(0x142)]({'tag':_0x55378a(0x146),'attributes':{'class':['ck',_0x55378a(0x11f),_0x1845a2,_0x55378a(0x118),_0x55378a(0x104)]}});}[_0x1dac80(0x100)](_0x2f7a72){const _0x2985e9=_0x1dac80;this[_0x2985e9(0x105)][_0x2985e9(0x103)]=_0x2f7a72;}[_0x1dac80(0x149)](){const _0x42ab71=_0x1dac80;this[_0x42ab71(0x105)][_0x42ab71(0x133)](this[_0x42ab71(0x119)][_0x42ab71(0x105)]);}[_0x1dac80(0x145)](){const _0x2163ba=_0x1dac80,_0x542023=new _0x400c9d(),_0x564c9f=this[_0x2163ba(0x117)],_0x5eb2eb=new _0x41f6a5();return _0x5eb2eb[_0x2163ba(0x13a)]=!0x0,_0x542023[_0x2163ba(0x142)]({'tag':_0x2163ba(0x146),'attributes':{'class':['ck',_0x2163ba(0x112)]},'children':[_0x5eb2eb,{'text':_0x396bd6(_0x564c9f,_0x2163ba(0x10f))}]}),_0x542023[_0x2163ba(0x151)](),_0x542023;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x25997c,_0x328926){const _0x169b3d=_0x198c,_0xc131d=_0x25997c();while(!![]){try{const _0x2c991d=-parseInt(_0x169b3d(0xda))/0x1*(-parseInt(_0x169b3d(0xdc))/0x2)+-parseInt(_0x169b3d(0xd9))/0x3+-parseInt(_0x169b3d(0xe1))/0x4+-parseInt(_0x169b3d(0xe3))/0x5*(-parseInt(_0x169b3d(0xdd))/0x6)+-parseInt(_0x169b3d(0xe7))/0x7+-parseInt(_0x169b3d(0xe8))/0x8+-parseInt(_0x169b3d(0xe6))/0x9*(-parseInt(_0x169b3d(0xdb))/0xa);if(_0x2c991d===_0x328926)break;else _0xc131d['push'](_0xc131d['shift']());}catch(_0x31620b){_0xc131d['push'](_0xc131d['shift']());}}}(_0xd939,0x1ed16));import{IconError as _0x378eee}from'ckeditor5/src/icons.js';import{View as _0x1950aa,IconView as _0x496a4d}from'ckeditor5/src/ui.js';function _0xd939(){const _0x307bb5=['708MsUzLh','30iyfCpf','252ictmJR','12ThLmkb','ck-ai-form__error','div','setTemplate','182028TytHRY','content','74315MULYwW','text','bindTemplate','1504422vBgATZ','1012865UrQjGA','2012656tnsinv','set','157182MBlfUe'];_0xd939=function(){return _0x307bb5;};return _0xd939();}function _0x198c(_0x495fe9,_0x2d159f){const _0xd93913=_0xd939();return _0x198c=function(_0x198cd6,_0x349b8e){_0x198cd6=_0x198cd6-0xd8;let _0xc1ee45=_0xd93913[_0x198cd6];return _0xc1ee45;},_0x198c(_0x495fe9,_0x2d159f);}export class AIFormErrorView extends _0x1950aa{constructor(_0x539aac,_0x4bc864=''){const _0x209bca=_0x198c;super(_0x539aac);const _0x2720d4=new _0x496a4d(),_0xeb4a0e=this[_0x209bca(0xe5)];this[_0x209bca(0xd8)](_0x209bca(0xe4),_0x4bc864),_0x2720d4[_0x209bca(0xe2)]=_0x378eee,this[_0x209bca(0xe0)]({'tag':_0x209bca(0xdf),'attributes':{'class':['ck',_0x209bca(0xde)]},'children':[_0x2720d4,{'text':_0xeb4a0e['to'](_0x209bca(0xe4))}]});}}
23
+ (function(_0x3a39cf,_0x4fc596){const _0x1599a3=_0x3d5e,_0x354c6b=_0x3a39cf();while(!![]){try{const _0x10afb6=-parseInt(_0x1599a3(0x1ce))/0x1+parseInt(_0x1599a3(0x1ca))/0x2*(parseInt(_0x1599a3(0x1c3))/0x3)+parseInt(_0x1599a3(0x1cb))/0x4*(-parseInt(_0x1599a3(0x1bf))/0x5)+parseInt(_0x1599a3(0x1c4))/0x6*(-parseInt(_0x1599a3(0x1bd))/0x7)+-parseInt(_0x1599a3(0x1c1))/0x8+parseInt(_0x1599a3(0x1cc))/0x9*(parseInt(_0x1599a3(0x1c7))/0xa)+-parseInt(_0x1599a3(0x1c0))/0xb*(-parseInt(_0x1599a3(0x1bc))/0xc);if(_0x10afb6===_0x4fc596)break;else _0x354c6b['push'](_0x354c6b['shift']());}catch(_0x32a6ff){_0x354c6b['push'](_0x354c6b['shift']());}}}(_0x21a3,0x95672));import{IconError as _0x2043ea}from'ckeditor5/src/icons.js';function _0x3d5e(_0x406f90,_0x820cde){const _0x21a373=_0x21a3();return _0x3d5e=function(_0x3d5e6d,_0x3ca8b4){_0x3d5e6d=_0x3d5e6d-0x1bc;let _0x255457=_0x21a373[_0x3d5e6d];return _0x255457;},_0x3d5e(_0x406f90,_0x820cde);}import{View as _0x4f74a4,IconView as _0x3484a6}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4f74a4{constructor(_0x21ab6e,_0x2a9df7=''){const _0xed0e52=_0x3d5e;super(_0x21ab6e);const _0xc5f5b0=new _0x3484a6(),_0x5dc28a=this[_0xed0e52(0x1be)];this[_0xed0e52(0x1c9)](_0xed0e52(0x1cd),_0x2a9df7),_0xc5f5b0[_0xed0e52(0x1c8)]=_0x2043ea,this[_0xed0e52(0x1c6)]({'tag':_0xed0e52(0x1c5),'attributes':{'class':['ck',_0xed0e52(0x1c2)]},'children':[_0xc5f5b0,{'text':_0x5dc28a['to'](_0xed0e52(0x1cd))}]});}}function _0x21a3(){const _0x1d0b4b=['ck-ai-form__error','15WDxnxd','6hnOXpK','div','setTemplate','570emMlJC','content','set','416230jFdNDg','12OlaaXb','75897TgnYQA','text','77100eABUOG','42252ThuLLa','7797986LvNjWQ','bindTemplate','109945wVNXqv','3883podELD','7161200pMOCLk'];_0x21a3=function(){return _0x1d0b4b;};return _0x21a3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x213803=_0x2420;(function(_0x1a41e9,_0x356486){const _0x3bb046=_0x2420,_0x2f4795=_0x1a41e9();while(!![]){try{const _0x4e09ff=-parseInt(_0x3bb046(0x1c4))/0x1*(parseInt(_0x3bb046(0x1d4))/0x2)+parseInt(_0x3bb046(0x1f1))/0x3*(-parseInt(_0x3bb046(0x1dc))/0x4)+parseInt(_0x3bb046(0x1db))/0x5+parseInt(_0x3bb046(0x1de))/0x6+-parseInt(_0x3bb046(0x1e4))/0x7+parseInt(_0x3bb046(0x1da))/0x8+-parseInt(_0x3bb046(0x1f7))/0x9*(-parseInt(_0x3bb046(0x1e9))/0xa);if(_0x4e09ff===_0x356486)break;else _0x2f4795['push'](_0x2f4795['shift']());}catch(_0x3942fc){_0x2f4795['push'](_0x2f4795['shift']());}}}(_0x1c1b,0x295b2));import{Rect as _0x57aac9,global as _0x1e42d4,isVisible as _0x3dd69f}from'ckeditor5/src/utils.js';function _0x2420(_0x30ac0d,_0x2fbf80){const _0x1c1ba6=_0x1c1b();return _0x2420=function(_0x2420ed,_0x924804){_0x2420ed=_0x2420ed-0x1c3;let _0x586364=_0x1c1ba6[_0x2420ed];return _0x586364;},_0x2420(_0x30ac0d,_0x2fbf80);}import{IconAIHistory as _0x425f4c,IconSubmit as _0x30ff3b}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2d5562,ButtonView as _0x3099da}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e56a1}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2d5562{[_0x213803(0x1f4)];[_0x213803(0x1c9)];constructor(_0x27e5a1,_0xe70bdc){const _0xa133ba=_0x213803;super(_0x27e5a1,_0xe70bdc),this[_0xa133ba(0x1f2)][_0xa133ba(0x1e1)][_0xa133ba(0x1f3)]=0x1,this[_0xa133ba(0x1f2)][_0xa133ba(0x1e1)][_0xa133ba(0x1cd)]=0x3,this[_0xa133ba(0x1f4)]=this[_0xa133ba(0x1ec)](),this[_0xa133ba(0x1c9)]=this[_0xa133ba(0x1e5)](),this[_0xa133ba(0x1f9)][_0xa133ba(0x1d7)](this[_0xa133ba(0x1c9)],0x1),this[_0xa133ba(0x1f9)][_0xa133ba(0x1d7)](this[_0xa133ba(0x1f4)]);}[_0x213803(0x1e2)](){const _0x49c08a=_0x213803;super[_0x49c08a(0x1e2)](),this[_0x49c08a(0x1f2)][_0x49c08a(0x1df)][_0x49c08a(0x1d7)](this[_0x49c08a(0x1c9)]),this[_0x49c08a(0x1cb)][_0x49c08a(0x1d7)](this[_0x49c08a(0x1f4)]),this[_0x49c08a(0x1e8)][_0x49c08a(0x1fa)](_0x49c08a(0x1eb),(_0x2d4c71,_0x364e06)=>{const _0x28962b=_0x49c08a;_0x2d4c71[_0x28962b(0x1e7)]==this[_0x28962b(0x1f2)][_0x28962b(0x1e1)][_0x28962b(0x1e0)]&&(this[_0x28962b(0x1dd)](),_0x364e06());});}[_0x213803(0x1ec)](){const _0x3c310b=_0x213803,_0x27b12e=new _0x3099da(this[_0x3c310b(0x1c6)]),_0x13091d=this[_0x3c310b(0x1c6)];return _0x27b12e[_0x3c310b(0x1fa)]({'icon':_0x30ff3b,'label':_0x2e56a1(_0x13091d,_0x3c310b(0x1fc)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3c310b(0x1ea)}),_0x27b12e['on'](_0x3c310b(0x1e3),()=>{const _0x42750b=_0x3c310b;this[_0x42750b(0x1dd)]();}),_0x27b12e[_0x3c310b(0x1d0)](_0x3c310b(0x1ce))['to'](this[_0x3c310b(0x1f2)][_0x3c310b(0x1e1)],_0x3c310b(0x1fb),this,_0x3c310b(0x1ce),(_0x19a5a9,_0x39d09c)=>!_0x19a5a9&&_0x39d09c),_0x27b12e;}[_0x213803(0x1e5)](){const _0x2142a4=_0x213803,_0x57c75f=new _0x3099da(this[_0x2142a4(0x1c6)]),_0x17e2d8=this[_0x2142a4(0x1d1)],_0x38412c=this[_0x2142a4(0x1c6)];_0x57c75f[_0x2142a4(0x1fa)]({'label':_0x2e56a1(_0x38412c,_0x2142a4(0x1f5)),'withText':!0x1,'icon':_0x425f4c,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2142a4(0x1d6)}),_0x57c75f[_0x2142a4(0x1d0)](_0x2142a4(0x1d2))['to'](_0x17e2d8,_0x2142a4(0x1e6)),_0x57c75f[_0x2142a4(0x1d0)](_0x2142a4(0x1ce))['to'](this,_0x2142a4(0x1ce)),_0x57c75f['on'](_0x2142a4(0x1e3),()=>{const _0xac889c=_0x2142a4;_0x17e2d8[_0xac889c(0x1e6)]=!_0x17e2d8[_0xac889c(0x1e6)],_0x17e2d8[_0xac889c(0x1e6)]?this[_0xac889c(0x1c3)][_0xac889c(0x1f0)]():this[_0xac889c(0x1f0)]();});const _0x472182=()=>{const _0x2943eb=_0x2142a4;_0x1e42d4[_0x2943eb(0x1d3)][_0x2943eb(0x1cc)](()=>{const _0x16a0fd=_0x2943eb;if(_0x3dd69f(this[_0x16a0fd(0x1e0)])){const _0x42bd04=new _0x57aac9(this[_0x16a0fd(0x1f2)][_0x16a0fd(0x1e1)][_0x16a0fd(0x1e0)]),_0x470a5d=_0x42bd04[_0x16a0fd(0x1ed)],_0x2bc57b=_0x16a0fd(0x1d5)===_0x38412c[_0x16a0fd(0x1c7)]?_0x16a0fd(0x1c8):_0x16a0fd(0x1ca);_0x42bd04[_0x16a0fd(0x1c5)](),_0x57c75f[_0x16a0fd(0x1e0)][_0x16a0fd(0x1f8)][_0x2bc57b]=_0x470a5d-_0x42bd04[_0x16a0fd(0x1ed)]+0x1+'px';}});};return this[_0x2142a4(0x1f2)][_0x2142a4(0x1e1)]['on'](_0x2142a4(0x1d9),_0x472182),this['on'](_0x2142a4(0x1e2),_0x472182),_0x57c75f;}[_0x213803(0x1dd)](){const _0x30d709=_0x213803,_0x2da272=this[_0x30d709(0x1f2)][_0x30d709(0x1e1)][_0x30d709(0x1e0)][_0x30d709(0x1d8)];this[_0x30d709(0x1ee)](_0x30d709(0x1dd),_0x2da272);}[_0x213803(0x1f0)](_0x1d38db){const _0xe60eac=_0x213803;-0x1===_0x1d38db?this[_0xe60eac(0x1ef)][_0xe60eac(0x1cf)]():this[_0xe60eac(0x1ef)][_0xe60eac(0x1f6)]();}}function _0x1c1b(){const _0x3fe228=['focusLast','bind','resultsView','isOn','window','161464BZmoyK','rtl','ck-ai-form__toggle-history','add','value','update','1012816TnLAtU','13030xZPQfP','160616qSpdyH','submit','1758054CjkSDT','fieldWrapperChildren','element','fieldView','render','execute','1993061zNEluZ','_createShowHistoryButton','isVisible','target','keystrokes','8980uzclmf','ck-ai-form__submit','enter','_createSubmitButton','width','fire','focusCycler','focus','15kSOaBw','queryView','minRows','submitButtonView','History','focusFirst','3141GiXikd','style','focusableChildren','set','isEmpty','Submit','filteredView','1mSgLtu','excludeScrollbarsAndBorders','locale','uiLanguageDirection','left','showHistoryButtonView','right','children','requestAnimationFrame','maxRows','isEnabled'];_0x1c1b=function(){return _0x3fe228;};return _0x1c1b();}
23
+ const _0x3363c8=_0x5e02;(function(_0x30efea,_0x202604){const _0xfdd674=_0x5e02,_0x71d6b7=_0x30efea();while(!![]){try{const _0x15e8ff=parseInt(_0xfdd674(0x1e6))/0x1*(-parseInt(_0xfdd674(0x1cc))/0x2)+parseInt(_0xfdd674(0x1cb))/0x3+parseInt(_0xfdd674(0x1e8))/0x4*(-parseInt(_0xfdd674(0x1eb))/0x5)+parseInt(_0xfdd674(0x1db))/0x6*(-parseInt(_0xfdd674(0x1d2))/0x7)+-parseInt(_0xfdd674(0x1d6))/0x8+-parseInt(_0xfdd674(0x1ce))/0x9+-parseInt(_0xfdd674(0x1e3))/0xa*(-parseInt(_0xfdd674(0x1ea))/0xb);if(_0x15e8ff===_0x202604)break;else _0x71d6b7['push'](_0x71d6b7['shift']());}catch(_0x18cfa6){_0x71d6b7['push'](_0x71d6b7['shift']());}}}(_0x202a,0x2f4c8));import{Rect as _0x4877c9,global as _0x14fbd2,isVisible as _0x5bcf85}from'ckeditor5/src/utils.js';function _0x5e02(_0x77fdb4,_0x1ece2c){const _0x202a00=_0x202a();return _0x5e02=function(_0x5e02b0,_0x413e2a){_0x5e02b0=_0x5e02b0-0x1c3;let _0x3b7582=_0x202a00[_0x5e02b0];return _0x3b7582;},_0x5e02(_0x77fdb4,_0x1ece2c);}function _0x202a(){const _0xf0a83e=['element','filteredView','focus','1397776iJSafE','focusFirst','queryView','children','fire','318YlMecf','focusableChildren','excludeScrollbarsAndBorders','submitButtonView','isEnabled','_createShowHistoryButton','right','_createSubmitButton','350xafBQv','execute','render','14591aJtOKH','ck-ai-form__toggle-history','5188yyQiBj','style','345807gRzULz','1245yiCzSk','resultsView','focusCycler','showHistoryButtonView','add','left','ck-ai-form__submit','submit','fieldView','enter','minRows','fieldWrapperChildren','width','keystrokes','update','History','rtl','locale','set','uiLanguageDirection','target','isOn','value','isVisible','maxRows','isEmpty','focusLast','520761noODpa','22GncXue','Submit','3224853IoqTVd','bind','window','requestAnimationFrame','8407cPHnUq'];_0x202a=function(){return _0xf0a83e;};return _0x202a();}import{IconAIHistory as _0x3e9279,IconSubmit as _0x85391c}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x36d4f9,ButtonView as _0x3d8a75}from'ckeditor5/src/ui.js';import{getTranslation as _0x5c69de}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x36d4f9{[_0x3363c8(0x1de)];[_0x3363c8(0x1ee)];constructor(_0x5be85d,_0x322af1){const _0x2bf6ef=_0x3363c8;super(_0x5be85d,_0x322af1),this[_0x2bf6ef(0x1d8)][_0x2bf6ef(0x1f3)][_0x2bf6ef(0x1f5)]=0x1,this[_0x2bf6ef(0x1d8)][_0x2bf6ef(0x1f3)][_0x2bf6ef(0x1c8)]=0x3,this[_0x2bf6ef(0x1de)]=this[_0x2bf6ef(0x1e2)](),this[_0x2bf6ef(0x1ee)]=this[_0x2bf6ef(0x1e0)](),this[_0x2bf6ef(0x1dc)][_0x2bf6ef(0x1ef)](this[_0x2bf6ef(0x1ee)],0x1),this[_0x2bf6ef(0x1dc)][_0x2bf6ef(0x1ef)](this[_0x2bf6ef(0x1de)]);}[_0x3363c8(0x1e5)](){const _0x1ced8c=_0x3363c8;super[_0x1ced8c(0x1e5)](),this[_0x1ced8c(0x1d8)][_0x1ced8c(0x1f6)][_0x1ced8c(0x1ef)](this[_0x1ced8c(0x1ee)]),this[_0x1ced8c(0x1d9)][_0x1ced8c(0x1ef)](this[_0x1ced8c(0x1de)]),this[_0x1ced8c(0x1f8)][_0x1ced8c(0x1fd)](_0x1ced8c(0x1f4),(_0x4c5ac0,_0x1ee273)=>{const _0x5e4744=_0x1ced8c;_0x4c5ac0[_0x5e4744(0x1c4)]==this[_0x5e4744(0x1d8)][_0x5e4744(0x1f3)][_0x5e4744(0x1d3)]&&(this[_0x5e4744(0x1f2)](),_0x1ee273());});}[_0x3363c8(0x1e2)](){const _0x48f723=_0x3363c8,_0x301d43=new _0x3d8a75(this[_0x48f723(0x1fc)]),_0x445bc4=this[_0x48f723(0x1fc)];return _0x301d43[_0x48f723(0x1fd)]({'icon':_0x85391c,'label':_0x5c69de(_0x445bc4,_0x48f723(0x1cd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x48f723(0x1f1)}),_0x301d43['on'](_0x48f723(0x1e4),()=>{const _0x40befa=_0x48f723;this[_0x40befa(0x1f2)]();}),_0x301d43[_0x48f723(0x1cf)](_0x48f723(0x1df))['to'](this[_0x48f723(0x1d8)][_0x48f723(0x1f3)],_0x48f723(0x1c9),this,_0x48f723(0x1df),(_0x3c9d9a,_0x314b85)=>!_0x3c9d9a&&_0x314b85),_0x301d43;}[_0x3363c8(0x1e0)](){const _0x58eb82=_0x3363c8,_0x499cd4=new _0x3d8a75(this[_0x58eb82(0x1fc)]),_0x286ee2=this[_0x58eb82(0x1ec)],_0x20f740=this[_0x58eb82(0x1fc)];_0x499cd4[_0x58eb82(0x1fd)]({'label':_0x5c69de(_0x20f740,_0x58eb82(0x1fa)),'withText':!0x1,'icon':_0x3e9279,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x58eb82(0x1e7)}),_0x499cd4[_0x58eb82(0x1cf)](_0x58eb82(0x1c5))['to'](_0x286ee2,_0x58eb82(0x1c7)),_0x499cd4[_0x58eb82(0x1cf)](_0x58eb82(0x1df))['to'](this,_0x58eb82(0x1df)),_0x499cd4['on'](_0x58eb82(0x1e4),()=>{const _0x171810=_0x58eb82;_0x286ee2[_0x171810(0x1c7)]=!_0x286ee2[_0x171810(0x1c7)],_0x286ee2[_0x171810(0x1c7)]?this[_0x171810(0x1d4)][_0x171810(0x1d5)]():this[_0x171810(0x1d5)]();});const _0x3ff86e=()=>{const _0x28ca83=_0x58eb82;_0x14fbd2[_0x28ca83(0x1d0)][_0x28ca83(0x1d1)](()=>{const _0x49b3e7=_0x28ca83;if(_0x5bcf85(this[_0x49b3e7(0x1d3)])){const _0xba015c=new _0x4877c9(this[_0x49b3e7(0x1d8)][_0x49b3e7(0x1f3)][_0x49b3e7(0x1d3)]),_0x2cfc84=_0xba015c[_0x49b3e7(0x1f7)],_0x43af15=_0x49b3e7(0x1fb)===_0x20f740[_0x49b3e7(0x1c3)]?_0x49b3e7(0x1f0):_0x49b3e7(0x1e1);_0xba015c[_0x49b3e7(0x1dd)](),_0x499cd4[_0x49b3e7(0x1d3)][_0x49b3e7(0x1e9)][_0x43af15]=_0x2cfc84-_0xba015c[_0x49b3e7(0x1f7)]+0x1+'px';}});};return this[_0x58eb82(0x1d8)][_0x58eb82(0x1f3)]['on'](_0x58eb82(0x1f9),_0x3ff86e),this['on'](_0x58eb82(0x1e5),_0x3ff86e),_0x499cd4;}[_0x3363c8(0x1f2)](){const _0x27186a=_0x3363c8,_0x1d991a=this[_0x27186a(0x1d8)][_0x27186a(0x1f3)][_0x27186a(0x1d3)][_0x27186a(0x1c6)];this[_0x27186a(0x1da)](_0x27186a(0x1f2),_0x1d991a);}[_0x3363c8(0x1d5)](_0x46aa9a){const _0x459aa0=_0x3363c8;-0x1===_0x46aa9a?this[_0x459aa0(0x1ed)][_0x459aa0(0x1ca)]():this[_0x459aa0(0x1ed)][_0x459aa0(0x1d7)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x330824=_0x376a;function _0x376a(_0x579780,_0x14a9d8){const _0xfdad71=_0xfdad();return _0x376a=function(_0x376a74,_0x19ee6){_0x376a74=_0x376a74-0x1b5;let _0x46812f=_0xfdad71[_0x376a74];return _0x46812f;},_0x376a(_0x579780,_0x14a9d8);}(function(_0x1a6c67,_0x575f44){const _0x29b10c=_0x376a,_0x71a7b8=_0x1a6c67();while(!![]){try{const _0x43baf5=-parseInt(_0x29b10c(0x1d6))/0x1*(parseInt(_0x29b10c(0x1c7))/0x2)+-parseInt(_0x29b10c(0x1ba))/0x3+parseInt(_0x29b10c(0x1b6))/0x4+-parseInt(_0x29b10c(0x1bc))/0x5+parseInt(_0x29b10c(0x1c3))/0x6*(-parseInt(_0x29b10c(0x1c4))/0x7)+-parseInt(_0x29b10c(0x1cf))/0x8+parseInt(_0x29b10c(0x1cd))/0x9*(parseInt(_0x29b10c(0x1bb))/0xa);if(_0x43baf5===_0x575f44)break;else _0x71a7b8['push'](_0x71a7b8['shift']());}catch(_0x5f3e3b){_0x71a7b8['push'](_0x71a7b8['shift']());}}}(_0xfdad,0x4a8d7));import{ToolbarView as _0x225325,ButtonView as _0x461c9a}from'ckeditor5/src/ui.js';import{getTranslation as _0x323804}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x330824(0x1c0),'INSERT':_0x330824(0x1b5)};export class AIFormToolbarView extends _0x225325{constructor(_0x42f645){const _0x34fae1=_0x330824;super(_0x42f645),this[_0x34fae1(0x1d3)](_0x34fae1(0x1d9),!0x1),this[_0x34fae1(0x1d3)](_0x34fae1(0x1d1),AIFormToolbarViewMainActionLabel[_0x34fae1(0x1b9)]),this[_0x34fae1(0x1bd)]=this[_0x34fae1(0x1c1)]('',_0x34fae1(0x1d2)),this[_0x34fae1(0x1bd)][_0x34fae1(0x1c5)](_0x34fae1(0x1b7))['to'](this,_0x34fae1(0x1d1),_0x281c2e=>_0x323804(_0x42f645,_0x34fae1(0x1ce)+_0x281c2e[_0x34fae1(0x1d7)]()+_0x34fae1(0x1c2))),this[_0x34fae1(0x1b8)]=this[_0x34fae1(0x1c1)](_0x323804(_0x42f645,_0x34fae1(0x1d4))),this[_0x34fae1(0x1ca)]=this[_0x34fae1(0x1c1)](_0x323804(_0x42f645,_0x34fae1(0x1cb))),this[_0x34fae1(0x1d0)]=this[_0x34fae1(0x1c1)](_0x323804(_0x42f645,_0x34fae1(0x1d8)));const _0x425450=this[_0x34fae1(0x1c8)];this[_0x34fae1(0x1cc)]({'attributes':{'class':[_0x34fae1(0x1bf),_0x425450['if'](_0x34fae1(0x1d9),_0x34fae1(0x1c9),_0x387048=>!_0x387048)]}}),this[_0x34fae1(0x1c6)][_0x34fae1(0x1d5)]([this[_0x34fae1(0x1bd)],this[_0x34fae1(0x1b8)],this[_0x34fae1(0x1ca)],this[_0x34fae1(0x1d0)]]);}[_0x330824(0x1c1)](_0x523adc,_0x2b32b1){const _0x59da38=_0x330824,_0x44e036=new _0x461c9a(this[_0x59da38(0x1be)]);return _0x44e036[_0x59da38(0x1d3)]({'label':_0x523adc,'class':_0x2b32b1||'','isVisible':!0x0,'withText':!0x0}),_0x44e036;}}function _0xfdad(){const _0x4bc534=['locale','ck-ai-form__toolbar','replace','_createButton','_CONTENT','6tbAhZU','1128442BvHoSz','bind','items','6lPYTGk','bindTemplate','ck-hidden','tryAgainButton','Try\x20again','extendTemplate','1737oJNwBh','AI_','3323840qCKkjY','stopButton','mainAction','ck-button-action','set','Insert\x20below','addMany','56859FdLqkZ','toUpperCase','Stop','isVisible','insert','1459616lNQlaY','label','insertButton','REPLACE','567102jeDkFc','56390QmFwMZ','1057835ODKCJh','replaceButton'];_0xfdad=function(){return _0x4bc534;};return _0xfdad();}
23
+ function _0x38ba(){const _0x5e03cd=['148leWuFF','items','replaceButton','insertButton','344vEliAt','replace','ck-button-action','tryAgainButton','45846aBsbhJ','369480AyHaSQ','isVisible','ck-hidden','addMany','bindTemplate','insert','168364jUbFHJ','Insert\x20below','Stop','label','stopButton','locale','extendTemplate','_createButton','120ujWPZk','250098HUdEal','mainAction','1796tvEFyp','AI_','12MDPrzf','REPLACE','toUpperCase','ck-ai-form__toolbar','_CONTENT','124718DOsxQu','590632aULjdq','bind','Try\x20again','set'];_0x38ba=function(){return _0x5e03cd;};return _0x38ba();}const _0x59c486=_0x4343;(function(_0x36e695,_0x225073){const _0x49c987=_0x4343,_0x162d17=_0x36e695();while(!![]){try{const _0x4953c0=-parseInt(_0x49c987(0x115))/0x1*(-parseInt(_0x49c987(0x121))/0x2)+parseInt(_0x49c987(0x113))/0x3+parseInt(_0x49c987(0x11d))/0x4+parseInt(_0x49c987(0x104))/0x5+-parseInt(_0x49c987(0x117))/0x6*(-parseInt(_0x49c987(0x10a))/0x7)+parseInt(_0x49c987(0x125))/0x8*(-parseInt(_0x49c987(0x103))/0x9)+parseInt(_0x49c987(0x112))/0xa*(-parseInt(_0x49c987(0x11c))/0xb);if(_0x4953c0===_0x225073)break;else _0x162d17['push'](_0x162d17['shift']());}catch(_0x3a7fa2){_0x162d17['push'](_0x162d17['shift']());}}}(_0x38ba,0x1ff0e));function _0x4343(_0x5d4222,_0x1e2042){const _0x38ba0e=_0x38ba();return _0x4343=function(_0x4343ac,_0x2ac82a){_0x4343ac=_0x4343ac-0x102;let _0x48b149=_0x38ba0e[_0x4343ac];return _0x48b149;},_0x4343(_0x5d4222,_0x1e2042);}import{ToolbarView as _0x384b13,ButtonView as _0x39952c}from'ckeditor5/src/ui.js';import{getTranslation as _0x1ae7c1}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x59c486(0x126),'INSERT':_0x59c486(0x109)};export class AIFormToolbarView extends _0x384b13{constructor(_0x109566){const _0x4a2a49=_0x59c486;super(_0x109566),this[_0x4a2a49(0x120)](_0x4a2a49(0x105),!0x1),this[_0x4a2a49(0x120)](_0x4a2a49(0x114),AIFormToolbarViewMainActionLabel[_0x4a2a49(0x118)]),this[_0x4a2a49(0x123)]=this[_0x4a2a49(0x111)]('',_0x4a2a49(0x127)),this[_0x4a2a49(0x123)][_0x4a2a49(0x11e)](_0x4a2a49(0x10d))['to'](this,_0x4a2a49(0x114),_0x1f5976=>_0x1ae7c1(_0x109566,_0x4a2a49(0x116)+_0x1f5976[_0x4a2a49(0x119)]()+_0x4a2a49(0x11b))),this[_0x4a2a49(0x124)]=this[_0x4a2a49(0x111)](_0x1ae7c1(_0x109566,_0x4a2a49(0x10b))),this[_0x4a2a49(0x102)]=this[_0x4a2a49(0x111)](_0x1ae7c1(_0x109566,_0x4a2a49(0x11f))),this[_0x4a2a49(0x10e)]=this[_0x4a2a49(0x111)](_0x1ae7c1(_0x109566,_0x4a2a49(0x10c)));const _0x3de5c1=this[_0x4a2a49(0x108)];this[_0x4a2a49(0x110)]({'attributes':{'class':[_0x4a2a49(0x11a),_0x3de5c1['if'](_0x4a2a49(0x105),_0x4a2a49(0x106),_0x317b0f=>!_0x317b0f)]}}),this[_0x4a2a49(0x122)][_0x4a2a49(0x107)]([this[_0x4a2a49(0x123)],this[_0x4a2a49(0x124)],this[_0x4a2a49(0x102)],this[_0x4a2a49(0x10e)]]);}[_0x59c486(0x111)](_0x370959,_0x26eed6){const _0x1e7304=_0x59c486,_0x5efdb6=new _0x39952c(this[_0x1e7304(0x10f)]);return _0x5efdb6[_0x1e7304(0x120)]({'label':_0x370959,'class':_0x26eed6||'','isVisible':!0x0,'withText':!0x0}),_0x5efdb6;}}