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

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 -11
  3. package/dist/index.css +19 -11
  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 -10
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c38a1=_0x5407;function _0x5407(_0x2f7ef6,_0x26f6af){const _0x790351=_0x7903();return _0x5407=function(_0x540767,_0x31b501){_0x540767=_0x540767-0x18a;let _0x25cc37=_0x790351[_0x540767];return _0x25cc37;},_0x5407(_0x2f7ef6,_0x26f6af);}(function(_0x2d861e,_0x34860f){const _0x381249=_0x5407,_0x6d8525=_0x2d861e();while(!![]){try{const _0x4be346=-parseInt(_0x381249(0x197))/0x1*(-parseInt(_0x381249(0x1a1))/0x2)+parseInt(_0x381249(0x1b9))/0x3+parseInt(_0x381249(0x195))/0x4*(parseInt(_0x381249(0x1a3))/0x5)+-parseInt(_0x381249(0x193))/0x6+parseInt(_0x381249(0x1a2))/0x7+parseInt(_0x381249(0x18c))/0x8*(-parseInt(_0x381249(0x1bb))/0x9)+-parseInt(_0x381249(0x1b3))/0xa;if(_0x4be346===_0x34860f)break;else _0x6d8525['push'](_0x6d8525['shift']());}catch(_0x30a760){_0x6d8525['push'](_0x6d8525['shift']());}}}(_0x7903,0xab319));import{uid as _0x3d31cd}from'ckeditor5/src/utils.js';import{Plugin as _0x58e3c9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5634e1}from'ckeditor5/src/clipboard.js';function _0x7903(){const _0x4f0cac=['text/html','editingDowncast','1466136QVvNth','init','document','_getTableRowCountFromContent','plugins','afterInit','_pasteHTMLUsingClipboard','572262UsZxFk','get','2188eYyvHz','getColumnIndexes','229901Tfjxsw','addMarker','length','_prepareTableInsertBelowPosition','updateMarker','showFakeVisualSelection','join','markers','filter','getMarkersGroup','6hnuZMU','8858150iZEtmh','7900uRhGPs','end','_resetContentOfSelectedTableCells','isAtEnd','markerToHighlight','isContent','getRows','conversion','removeMarker','has','isOfficialPlugin','parse','getLastMatchingPosition','AIAssistantEditing','getSelectedBlocks','insertRows','27273590GehNWi','last','contentInsertion','lowest','ck-fake-ai-selection_collapsed','element','2663397NvIOAJ','_getDefaultInsertBelowPosition','9pYWXOz','getSelectedTableCells','paste','fromCharCode','DataTransfer','deleteContent','start','pop','insertContent','getChildren','href','editor','setSelection','push','getLastPosition','createRange','hideFakeVisualSelection','getRanges','setData','data','span','change','_createEmptyTableRows','markerRange','getFirstRange','markerToElement','getChild','selection','ai.assistant.useTheme','ck-ai-assistant-ui_theme','getRowIndexes','fire','table','editing','from','findAncestor','for','pluginName','once','TableUtils','model','off','config','createSelection','createUIElement','ck-fake-ai-selection','createPositionAfter','insertContentBelow','isPremiumPlugin','createPositionAt','getRange','isCollapsed','_getAISelection','map','first','addClass','schema','canEditAt','ai-ui','forEach','resultRange'];_0x7903=function(){return _0x4f0cac;};return _0x7903();}import{ViewDocumentDomEventData as _0x36e675,ViewDataTransfer as _0x3cf780}from'ckeditor5/src/engine.js';const dt=globalThis[_0x5c38a1(0x1bf)],pt=_0x5c38a1(0x1f5);export class AIAssistantEditing extends _0x58e3c9{static get[_0x5c38a1(0x1e0)](){const _0x563d02=_0x5c38a1;return _0x563d02(0x1b0);}static get[_0x5c38a1(0x1ad)](){return!0x0;}static get[_0x5c38a1(0x1eb)](){return!0x0;}[_0x5c38a1(0x18d)](){const _0x15d51a=_0x5c38a1,{editor:_0x1c0b1a}=this,_0x3e95d0=[_0x15d51a(0x1e8)];_0x1c0b1a[_0x15d51a(0x1e5)][_0x15d51a(0x194)](_0x15d51a(0x1d7))&&_0x3e95d0[_0x15d51a(0x1c8)](_0x15d51a(0x1d8)),_0x1c0b1a[_0x15d51a(0x1aa)][_0x15d51a(0x1df)](_0x15d51a(0x18b))[_0x15d51a(0x1a7)]({'model':pt,'view':{'classes':_0x3e95d0,'priority':0xc}}),_0x1c0b1a[_0x15d51a(0x1aa)][_0x15d51a(0x1df)](_0x15d51a(0x18b))[_0x15d51a(0x1d4)]({'model':pt,'view':(_0x4274b2,{writer:_0x555d91})=>{const _0x2e219a=_0x15d51a;if(!_0x4274b2[_0x2e219a(0x1d2)][_0x2e219a(0x1ee)])return null;const _0x174873=_0x555d91[_0x2e219a(0x1e7)](_0x2e219a(0x1cf));return _0x555d91[_0x2e219a(0x1f2)]([_0x2e219a(0x1e8),_0x2e219a(0x1b7)],_0x174873),_0x174873;}});}[_0x5c38a1(0x191)](){!async function(_0x1144fa){const _0xfb565b=_0x5020e7([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]),_0xe1a3f8=0x3dffc4e1,_0x404cb8=0x3df8be81^_0xe1a3f8,_0x17e0e2=window[_0x5020e7([0x44,0x61,0x74,0x65])][_0x5020e7([0x6e,0x6f,0x77])](),_0x583579=_0x1144fa[_0x5020e7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd73d3f=new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c09c=>{_0x583579[_0x5020e7([0x6f,0x6e,0x63,0x65])](_0x5020e7([0x72,0x65,0x61,0x64,0x79]),_0x34c09c);}),_0x55722d={[_0x5020e7([0x6b,0x74,0x79])]:_0x5020e7([0x45,0x43]),[_0x5020e7([0x75,0x73,0x65])]:_0x5020e7([0x73,0x69,0x67]),[_0x5020e7([0x63,0x72,0x76])]:_0x5020e7([0x50,0x2d,0x32,0x35,0x36]),[_0x5020e7([0x78])]:_0x5020e7([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]),[_0x5020e7([0x79])]:_0x5020e7([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]),[_0x5020e7([0x61,0x6c,0x67])]:_0x5020e7([0x45,0x53,0x32,0x35,0x36])},_0x5f5bc0=_0x583579[_0x5020e7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5020e7([0x67,0x65,0x74])](_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46571f(){let _0x292711,_0x4f8739=null,_0x49c52e=null;try{if(_0x5f5bc0==_0x5020e7([0x47,0x50,0x4c]))return _0x5020e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x292711=_0x5c3a81(),!_0x292711)return _0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x292711[_0x5020e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49c52e=_0x370e28(_0x292711[_0x5020e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x292711[_0x5020e7([0x6a,0x74,0x69])])),await _0x49c5c5()?_0x43de89()?_0x2a31f1()?_0x5020e7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a542a()?(_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5020e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f8739=_0xe3e413(_0x5020e7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5020e7([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f8739=_0xe3e413(_0x5020e7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46ded4()):_0x5020e7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5020e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a31f1(){const _0x1a9498=[_0x5020e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5020e7([0x74,0x72,0x69,0x61,0x6c])][_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17e0e2/0x3e8:0xe10*_0x404cb8;return _0x292711[_0x5020e7([0x65,0x78,0x70])]<_0x1a9498;}function _0x43de89(){const _0x34a15c=_0x292711[_0x5020e7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34a15c&&(!!_0x34a15c[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x2a]))||!!_0x34a15c[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x41,0x49])));}function _0x4a542a(){const _0x240f8e=_0x5407,_0x3175b3=_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3175b3||0x0==_0x3175b3[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x329d78}=new URL(window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x240f8e(0x1c5)]);if(_0x3175b3[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x329d78))return!0x0;const _0x391885=_0x329d78[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e]));return _0x3175b3[_0x5020e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c1da5=>_0x5c1da5[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x2a])))[_0x5020e7([0x6d,0x61,0x70])](_0x4c6dcc=>_0x4c6dcc[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e])))[_0x5020e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e6f11=>_0x1e6f11[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x391885[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5020e7([0x6d,0x61,0x70])](_0x15e487=>Array(_0x391885[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15e487[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5020e7([0x66,0x69,0x6c,0x6c])](_0x15e487[0x0]===_0x5020e7([0x2a])?_0x5020e7([0x2a]):'')[_0x5020e7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15e487))[_0x5020e7([0x73,0x6f,0x6d,0x65])](_0x156693=>_0x391885[_0x5020e7([0x65,0x76,0x65,0x72,0x79])]((_0x2253bb,_0xb8c9d4)=>_0x156693[_0xb8c9d4]===_0x2253bb||_0x156693[_0xb8c9d4]===_0x5020e7([0x2a])));}function _0x46ded4(){return _0x4f8739&&_0x49c52e?new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x493b5e,_0x2a891e)=>{_0x4f8739[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x493b5e,_0x2a891e),_0x49c52e[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x269d1c=>{_0x269d1c!=_0x5020e7([0x56,0x61,0x6c,0x69,0x64])&&_0x493b5e(_0x269d1c);},_0x2a891e);}):_0x4f8739||_0x49c52e||_0x5020e7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x370e28(_0x4e0de4,_0x1f40b2){return new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x259cb1=>{if(_0x25947b())return _0x259cb1(_0x5020e7([0x56,0x61,0x6c,0x69,0x64]));_0x4cf062(),_0x583579[_0x5020e7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37a007=!0x1;const _0x23bf0b=_0x3d31cd();function _0x357189(_0x450860){return!!_0x450860&&(typeof _0x450860===_0x5020e7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x450860===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x450860[_0x5020e7([0x74,0x68,0x65,0x6e])]===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x450860[_0x5020e7([0x63,0x61,0x74,0x63,0x68])]===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x457b55(_0x403a3f){_0x3456d3(_0x403a3f)[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x646ebe=>{if(!_0x646ebe||_0x646ebe[_0x5020e7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5020e7([0x6f,0x6b]))return _0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x199aa1(_0x4977ce(_0x23bf0b+_0x1f40b2))!=_0x646ebe[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5020e7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x2d5f47=>(_0xd518d1(),_0x2d5f47),()=>{const _0x1c0ede=_0xf18133();return null==_0x1c0ede?(_0xd518d1(),_0x5020e7([0x56,0x61,0x6c,0x69,0x64])):_0x5020e7(_0x17e0e2-_0x1c0ede>(0x19f340e1^_0xe1a3f8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x259cb1)[_0x5020e7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5aa6d0=0x3dc92a61^_0xe1a3f8;function _0xd518d1(){const _0x2ad7f6=_0x5020e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x199aa1(_0x4977ce(_0x4e0de4)),_0x5732b6=_0x1dc5c9(_0x199aa1(window[_0x5020e7([0x4d,0x61,0x74,0x68])][_0x5020e7([0x63,0x65,0x69,0x6c])](_0x17e0e2/_0x5aa6d0)));window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5020e7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ad7f6,_0x5732b6);}function _0xf18133(){const _0x4c6bb5=_0x5020e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x199aa1(_0x4977ce(_0x4e0de4)),_0x32e50c=window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5020e7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c6bb5);return _0x32e50c?window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dc5c9(_0x32e50c),0x10)*_0x5aa6d0:null;}function _0x3456d3(_0x483b87){return new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fd797,_0x1e8bbf)=>{_0x483b87[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x1fd797,_0x1e8bbf),window[_0x5020e7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e8bbf,0x3dfe1021^_0xe1a3f8);});}}_0x583579[_0x5020e7([0x6f,0x6e])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x390ff2,_0x23fb4b)=>{if(_0x23fb4b[0x0]!=_0x4e0de4)return _0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23fb4b[0x1]={..._0x23fb4b[0x1],[_0x5020e7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23bf0b};},{[_0x5020e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5020e7([0x68,0x69,0x67,0x68])}),_0x583579[_0x5020e7([0x6f,0x6e])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a55a=>{_0x357189(_0x19a55a[_0x5020e7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37a007=!0x0,_0x457b55(_0x19a55a[_0x5020e7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5020e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5020e7([0x6c,0x6f,0x77])}),_0xd73d3f[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>{_0x37a007||_0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25947b(){return _0x583579[_0x5020e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5020e7([0x76,0x69,0x65,0x77])][_0x5020e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5020e7([0x61,0x75,0x74,0x6f]);}function _0x4cf062(){_0x583579[_0x5020e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5020e7([0x76,0x69,0x65,0x77])][_0x5020e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5020e7([0x61,0x75,0x74,0x6f]);}}function _0xe3e413(_0x324ca0){const _0x24d9b8=[new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f4f97=>setTimeout(_0x1f4f97,0x3df6fa2d^_0xe1a3f8)),_0xd73d3f[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47eae8=>{let _0x4161e7=0x0;_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x6f,0x6e])](_0x5020e7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1956cc,_0x6cd10e)=>{_0x6cd10e[0x0][_0x5020e7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4161e7++,_0x4161e7==(0x3dffc519^_0xe1a3f8)&&(_0x47eae8(),_0x1956cc[_0x5020e7([0x6f,0x66,0x66])]());});}))];return window[_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5020e7([0x72,0x61,0x63,0x65])](_0x24d9b8)[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>_0x324ca0);}async function _0x3fbd28(){await _0xd73d3f,_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x374481,_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x374481,_0x583579[_0x5020e7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bb745(_0x51ebf3){const _0x7b2936=_0x1f20ed();_0x583579[_0x7b2936]=_0x5020e7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51ebf3,_0x51ebf3!=_0x5020e7([0x56,0x61,0x6c,0x69,0x64])&&_0x3fbd28();}function _0x1f20ed(){const _0x3d443b=window[_0x5020e7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5020e7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5020e7([0x6e,0x6f,0x77])]())[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5020e7([0x2e]),'');let _0x52055d=_0x5020e7([0x6e]);for(let _0x18d29b=0x0;_0x18d29b<_0x3d443b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18d29b+=0x2){let _0x263e57=window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d443b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18d29b,_0x18d29b+0x2));_0x263e57>=_0xfb565b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x263e57-=_0xfb565b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52055d+=_0xfb565b[_0x263e57];}return _0x52055d;}function _0x5c3a81(){const _0x1ffb27=_0x5f5bc0[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e]));if(0x3!=_0x1ffb27[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38b00c(_0x1ffb27[0x1]);function _0x38b00c(_0x1786f3){const _0x1ae2ec=_0x295d7c(_0x1786f3);return _0x1ae2ec&&_0xcedefc()?_0x1ae2ec:null;function _0xcedefc(){const _0x152e3b=_0x1ae2ec[_0x5020e7([0x6a,0x74,0x69])],_0x17869c=window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x152e3b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x152e3b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x176618={..._0x1ae2ec,[_0x5020e7([0x6a,0x74,0x69])]:_0x152e3b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x152e3b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x176618[_0x5020e7([0x76,0x63])],_0x4977ce(_0x176618)==_0x17869c;}}}async function _0x49c5c5(){let _0x175746=!0x0;try{const _0x3234d5=_0x5f5bc0[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e])),[_0xed3781,_0x5eafad,_0x1e2ccb]=_0x3234d5;return _0x188748(_0xed3781),await _0x427df0(_0xed3781,_0x5eafad,_0x1e2ccb),_0x175746;}catch{return!0x1;}function _0x188748(_0x5867f0){const _0x8a855f=_0x295d7c(_0x5867f0);_0x8a855f&&_0x8a855f[_0x5020e7([0x61,0x6c,0x67])]==_0x5020e7([0x45,0x53,0x32,0x35,0x36])||(_0x175746=!0x1);}async function _0x427df0(_0x5484d3,_0x19f539,_0x54858c){const _0x5cea53=window[_0x5020e7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5020e7([0x66,0x72,0x6f,0x6d])](_0x26e78d(_0x54858c),_0x35ab0d=>_0x35ab0d[_0x5020e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1baffd=new window[(_0x5020e7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5020e7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5484d3+_0x5020e7([0x2e])+_0x19f539),_0x523446=window[_0x5020e7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5020e7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x523446)return;const _0x4b82e0=await _0x523446[_0x5020e7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5020e7([0x6a,0x77,0x6b]),_0x55722d,{[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x45,0x43,0x44,0x53,0x41]),[_0x5020e7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5020e7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x523446[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x45,0x43,0x44,0x53,0x41]),[_0x5020e7([0x68,0x61,0x73,0x68])]:{[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b82e0,_0x5cea53,_0x1baffd)||(_0x175746=!0x1);}}function _0x295d7c(_0x3fc29d){return _0x3fc29d[_0x5020e7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5020e7([0x65,0x79]))?JSON[_0x5020e7([0x70,0x61,0x72,0x73,0x65])](_0x26e78d(_0x3fc29d)):null;}function _0x26e78d(_0x457b8a){return window[_0x5020e7([0x61,0x74,0x6f,0x62])](_0x457b8a[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5020e7([0x2b]))[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5020e7([0x2f])));}function _0x4977ce(_0x541e5e){let _0x11bba3=0x1505;function _0x4e95e8(_0x30cc98){for(let _0x1514b1=0x0;_0x1514b1<_0x30cc98[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1514b1++){const _0x110ec2=_0x30cc98[_0x5020e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1514b1);_0x11bba3=(_0x11bba3<<0x5)+_0x11bba3+_0x110ec2,_0x11bba3&=_0x11bba3;}}function _0x42dcac(_0x2bba3a){Array[_0x5020e7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2bba3a)?_0x2bba3a[_0x5020e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42dcac):_0x2bba3a&&typeof _0x2bba3a==_0x5020e7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5020e7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2bba3a)[_0x5020e7([0x73,0x6f,0x72,0x74])]()[_0x5020e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28aecc,_0x7e043a])=>{_0x4e95e8(_0x28aecc),_0x42dcac(_0x7e043a);}):_0x4e95e8(window[_0x5020e7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2bba3a));}return _0x42dcac(_0x541e5e),_0x11bba3>>>0x0;}function _0x199aa1(_0x20da97){return _0x20da97[_0x5020e7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5020e7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5020e7([0x30]));}function _0x1dc5c9(_0x362b33){return _0x362b33[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5020e7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5020e7([0x6a,0x6f,0x69,0x6e])]('');}function _0x374481(){}function _0x5020e7(_0x2faec1){const _0x7fef55=_0x5407;return _0x2faec1[_0x7fef55(0x1f0)](_0x589c48=>String[_0x7fef55(0x1be)](_0x589c48))[_0x7fef55(0x19d)]('');}_0x2bb745(await _0x46571f());}(this);}[_0x5c38a1(0x19c)](){const _0x10fa58=_0x5c38a1,_0x44c1d0=this[_0x10fa58(0x1c6)][_0x10fa58(0x1e3)];_0x44c1d0[_0x10fa58(0x1d0)](_0x34e9db=>{const _0x2fd226=_0x10fa58,_0x46e82a=_0x44c1d0[_0x2fd226(0x18e)][_0x2fd226(0x1d6)][_0x2fd226(0x1cc)]();let _0x358958=0x0;for(const _0x2a675d of _0x46e82a){const _0x1446bf=pt+':'+_0x358958;if(_0x44c1d0[_0x2fd226(0x19e)][_0x2fd226(0x1ac)](_0x1446bf))_0x34e9db[_0x2fd226(0x19b)](_0x1446bf,{'range':_0x2a675d});else{if(_0x2a675d[_0x2fd226(0x1c1)][_0x2fd226(0x1a6)]){const _0xfbdd0e=_0x2a675d[_0x2fd226(0x1c1)][_0x2fd226(0x1af)](({item:_0x199760})=>!_0x44c1d0[_0x2fd226(0x1f3)][_0x2fd226(0x1a8)](_0x199760),{'boundaries':_0x2a675d});_0x34e9db[_0x2fd226(0x198)](_0x1446bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x34e9db[_0x2fd226(0x1ca)](_0xfbdd0e,_0x2a675d[_0x2fd226(0x1a4)])});}else _0x34e9db[_0x2fd226(0x198)](_0x1446bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2a675d});}_0x358958++;}});}[_0x5c38a1(0x1cb)](){const _0x2773b8=_0x5c38a1,_0x1a3487=this[_0x2773b8(0x1c6)][_0x2773b8(0x1e3)],_0x54c304=Array[_0x2773b8(0x1dd)](this[_0x2773b8(0x1c6)][_0x2773b8(0x1e3)][_0x2773b8(0x19e)][_0x2773b8(0x1a0)](pt));_0x54c304[_0x2773b8(0x199)]&&_0x1a3487[_0x2773b8(0x1d0)](_0x5e6079=>{const _0x4083b5=_0x2773b8;_0x54c304[_0x4083b5(0x1f6)](_0x17cc5d=>{const _0x41b90a=_0x4083b5;_0x5e6079[_0x41b90a(0x1ab)](_0x17cc5d);});});}[_0x5c38a1(0x1c3)](_0x162604,_0x2c35c2){const _0x3ca172=_0x5c38a1,_0x49bfac=this[_0x3ca172(0x1ef)](),_0x2774ee=_0x2c35c2||_0x49bfac[_0x3ca172(0x1d3)]();this[_0x3ca172(0x1c6)][_0x3ca172(0x1e3)][_0x3ca172(0x1f4)](_0x2774ee)&&this[_0x3ca172(0x1c6)][_0x3ca172(0x1e3)][_0x3ca172(0x1d0)](_0xdf60f9=>{const _0x49df06=_0x3ca172;this[_0x49df06(0x1cb)](),_0x2c35c2||this[_0x49df06(0x1a5)](_0xdf60f9,_0x49bfac),this[_0x49df06(0x192)]({'insertAt':_0x2774ee,'writer':_0xdf60f9,'html':_0x162604});});}[_0x5c38a1(0x1ea)](_0x61a195){const _0x35d9e7=_0x5c38a1,{model:_0x107ddc}=this[_0x35d9e7(0x1c6)],_0x4b5e5a=this[_0x35d9e7(0x1ef)]();_0x107ddc[_0x35d9e7(0x1d0)](()=>{const _0x2f81dc=_0x35d9e7,_0x450f3c=this[_0x2f81dc(0x19a)](_0x61a195,_0x4b5e5a)||this[_0x2f81dc(0x1ba)](_0x4b5e5a);this[_0x2f81dc(0x1c3)](_0x61a195,_0x450f3c);});}[_0x5c38a1(0x1ef)](){const _0xf0ef2a=_0x5c38a1,_0x51bef6=this[_0xf0ef2a(0x1c6)][_0xf0ef2a(0x1e3)],_0x2b2174=Array[_0xf0ef2a(0x1dd)](_0x51bef6[_0xf0ef2a(0x19e)][_0xf0ef2a(0x1a0)](pt))[_0xf0ef2a(0x1f0)](_0x44ea88=>_0x44ea88[_0xf0ef2a(0x1ed)]());return _0x51bef6[_0xf0ef2a(0x1e6)](_0x2b2174);}[_0x5c38a1(0x192)]({writer:_0x37927c,html:_0x12da10,insertAt:_0x3f729b}){const _0x12b8ec=_0x5c38a1,{view:_0x9a0435}=this[_0x12b8ec(0x1c6)][_0x12b8ec(0x1dc)],_0x420e9c=this[_0x12b8ec(0x1c6)][_0x12b8ec(0x190)][_0x12b8ec(0x194)](_0x5634e1),_0x384e17=new dt();_0x384e17[_0x12b8ec(0x1cd)](_0x12b8ec(0x18a),_0x12da10);const _0x128a22=new ClipboardEvent(_0x12b8ec(0x1bd),{'clipboardData':_0x384e17}),_0x1b8136=new _0x36e675(_0x9a0435,_0x128a22,{'dataTransfer':new _0x3cf780(_0x384e17)});_0x37927c[_0x12b8ec(0x1c7)](_0x3f729b);const _0x4186e5=(_0xc03dee,_0x2c8b10)=>{const _0x12f99f=_0x12b8ec;_0x2c8b10[_0x12f99f(0x1f7)]&&_0x37927c[_0x12f99f(0x1c7)](_0x2c8b10[_0x12f99f(0x1f7)]);};_0x420e9c[_0x12b8ec(0x1e1)](_0x12b8ec(0x1b5),_0x4186e5,{'priority':_0x12b8ec(0x1b6)}),_0x9a0435[_0x12b8ec(0x18e)][_0x12b8ec(0x1da)](_0x12b8ec(0x1bd),_0x1b8136),_0x420e9c[_0x12b8ec(0x1e4)](_0x12b8ec(0x1b5),_0x4186e5);}[_0x5c38a1(0x1ba)](_0x341a09){const _0x42b050=_0x5c38a1,{model:_0x3aef9a}=this[_0x42b050(0x1c6)],_0x510c19=Array[_0x42b050(0x1dd)](_0x341a09[_0x42b050(0x1b1)]());return _0x510c19[_0x42b050(0x199)]?_0x3aef9a[_0x42b050(0x1e9)](_0x510c19[_0x42b050(0x1c2)]()):_0x341a09[_0x42b050(0x1c9)]();}[_0x5c38a1(0x19a)](_0x296a4b,_0x1650d7){const _0x471c21=_0x5c38a1,{model:_0x47a14b,plugins:_0x53fc62}=this[_0x471c21(0x1c6)];if(_0x53fc62[_0x471c21(0x1ac)](_0x471c21(0x1e2))){const _0xe9c975=_0x53fc62[_0x471c21(0x194)](_0x471c21(0x1e2))[_0x471c21(0x1bc)](_0x1650d7);if(_0xe9c975[_0x471c21(0x199)]){const _0x29b19a=this[_0x471c21(0x18f)](_0x296a4b),_0x24a4da=this[_0x471c21(0x1d1)](_0xe9c975,_0x29b19a);return _0x47a14b[_0x471c21(0x1ec)](_0x24a4da,0x0);}}return null;}[_0x5c38a1(0x18f)](_0x1becc4){const _0x40217c=_0x5c38a1,_0x2f27f6=this[_0x40217c(0x1c6)][_0x40217c(0x190)][_0x40217c(0x194)](_0x40217c(0x1e2)),_0x3287b6=this[_0x40217c(0x1c6)][_0x40217c(0x1ce)][_0x40217c(0x1ae)](_0x1becc4),_0x108dc6=Array[_0x40217c(0x1dd)](_0x3287b6[_0x40217c(0x1c4)]())[_0x40217c(0x19f)](_0x43adac=>_0x43adac['is'](_0x40217c(0x1b8),_0x40217c(0x1db)));let _0x14449b=0x0;return _0x108dc6[_0x40217c(0x1f6)](_0x12e97c=>{const _0x59f9ec=_0x40217c;_0x14449b+=_0x2f27f6[_0x59f9ec(0x1a9)](_0x12e97c);}),_0x14449b;}[_0x5c38a1(0x1d1)](_0x3ee7d0,_0x49952e){const _0x40033f=_0x5c38a1,_0xff291b=this[_0x40033f(0x1c6)][_0x40033f(0x190)][_0x40033f(0x194)](_0x40033f(0x1e2)),_0x4ff9d0=_0xff291b[_0x40033f(0x1d9)](_0x3ee7d0),_0x3d56d8=_0xff291b[_0x40033f(0x196)](_0x3ee7d0),_0x4fd566=_0x4ff9d0[_0x40033f(0x1b4)]+0x1,_0x498d86=_0x3d56d8[_0x40033f(0x1f1)],_0x5e440d=_0x3ee7d0[0x0][_0x40033f(0x1de)](_0x40033f(0x1db));for(let _0x28f9f5=0x0;_0x28f9f5<_0x49952e;_0x28f9f5++)_0xff291b[_0x40033f(0x1b2)](_0x5e440d,{'at':_0x4fd566});return _0x5e440d[_0x40033f(0x1d5)](_0x4fd566)[_0x40033f(0x1d5)](_0x498d86);}[_0x5c38a1(0x1a5)](_0x31dcbd,_0x4451e4){const _0x22dcb1=_0x5c38a1,{plugins:_0x4f59c4}=this[_0x22dcb1(0x1c6)],{model:_0x5f13e3}=_0x31dcbd;if(!_0x4f59c4[_0x22dcb1(0x1ac)](_0x22dcb1(0x1e2)))return;_0x4f59c4[_0x22dcb1(0x194)](_0x22dcb1(0x1e2))[_0x22dcb1(0x1bc)](_0x4451e4)[_0x22dcb1(0x199)]&&_0x5f13e3[_0x22dcb1(0x1c0)](_0x4451e4);}}
23
+ function _0x3507(_0x251f21,_0x8a9729){const _0x35626a=_0x3562();return _0x3507=function(_0x350740,_0x52fb83){_0x350740=_0x350740-0x12f;let _0x5e4422=_0x35626a[_0x350740];return _0x5e4422;},_0x3507(_0x251f21,_0x8a9729);}function _0x3562(){const _0x2ca630=['isOfficialPlugin','2383795AENlds','filter','1059882JnoIEV','_prepareTableInsertBelowPosition','markers','showFakeVisualSelection','setSelection','map','afterInit','from','markerToHighlight','getRange','createUIElement','last','225531EkRawE','table','ai-ui','DataTransfer','TableUtils','data','get','has','ck-fake-ai-selection_collapsed','isContent','ck-fake-ai-selection','conversion','lowest','forEach','insertContentBelow','getChildren','href','model','createRange','getChild','getLastMatchingPosition','element','_getAISelection','editingDowncast','AIAssistantEditing','for','_pasteHTMLUsingClipboard','600623hhlOee','createPositionAt','fire','setData','_getDefaultInsertBelowPosition','getColumnIndexes','addClass','111405PeRQOe','getSelectedBlocks','resultRange','2622368DubBKk','getRanges','insertRows','7GOBuSC','pop','getRows','markerToElement','removeMarker','isPremiumPlugin','off','getRowIndexes','schema','_createEmptyTableRows','editing','init','createSelection','parse','createPositionAfter','isCollapsed','markerRange','first','paste','canEditAt','_resetContentOfSelectedTableCells','editor','join','plugins','_getTableRowCountFromContent','text/html','config','getLastPosition','span','length','start','getMarkersGroup','findAncestor','fromCharCode','once','end','30LMXlYV','ck-ai-assistant-ui_theme','44HRCuGS','push','deleteContent','3272016ovIsnD','document','pluginName','updateMarker','selection','contentInsertion','isAtEnd','getSelectedTableCells','addMarker','getFirstRange','hideFakeVisualSelection','ai.assistant.useTheme','insertContent','change'];_0x3562=function(){return _0x2ca630;};return _0x3562();}const _0x399264=_0x3507;(function(_0x28461b,_0x4a47e3){const _0x1ad5d1=_0x3507,_0x159646=_0x28461b();while(!![]){try{const _0x5a6361=parseInt(_0x1ad5d1(0x175))/0x1+-parseInt(_0x1ad5d1(0x14e))/0x2+parseInt(_0x1ad5d1(0x17c))/0x3*(-parseInt(_0x1ad5d1(0x13a))/0x4)+parseInt(_0x1ad5d1(0x14c))/0x5+parseInt(_0x1ad5d1(0x13d))/0x6*(parseInt(_0x1ad5d1(0x182))/0x7)+-parseInt(_0x1ad5d1(0x17f))/0x8+-parseInt(_0x1ad5d1(0x15a))/0x9*(-parseInt(_0x1ad5d1(0x138))/0xa);if(_0x5a6361===_0x4a47e3)break;else _0x159646['push'](_0x159646['shift']());}catch(_0x22f66d){_0x159646['push'](_0x159646['shift']());}}}(_0x3562,0x69639));import{uid as _0x12f85d}from'ckeditor5/src/utils.js';import{Plugin as _0x2ef6b9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x490f6e}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x589f99,ViewDataTransfer as _0x823348}from'ckeditor5/src/engine.js';const w=globalThis[_0x399264(0x15d)],f=_0x399264(0x15c);export class AIAssistantEditing extends _0x2ef6b9{static get[_0x399264(0x13f)](){const _0x721bc6=_0x399264;return _0x721bc6(0x172);}static get[_0x399264(0x14b)](){return!0x0;}static get[_0x399264(0x187)](){return!0x0;}[_0x399264(0x18d)](){const _0x480bd1=_0x399264,{editor:_0x1f9011}=this,_0x1c9bd0=[_0x480bd1(0x164)];_0x1f9011[_0x480bd1(0x19c)][_0x480bd1(0x160)](_0x480bd1(0x148))&&_0x1c9bd0[_0x480bd1(0x13b)](_0x480bd1(0x139)),_0x1f9011[_0x480bd1(0x165)][_0x480bd1(0x173)](_0x480bd1(0x171))[_0x480bd1(0x156)]({'model':f,'view':{'classes':_0x1c9bd0,'priority':0xc}}),_0x1f9011[_0x480bd1(0x165)][_0x480bd1(0x173)](_0x480bd1(0x171))[_0x480bd1(0x185)]({'model':f,'view':(_0x465fab,{writer:_0x5c4545})=>{const _0x3e4851=_0x480bd1;if(!_0x465fab[_0x3e4851(0x192)][_0x3e4851(0x191)])return null;const _0x5814f3=_0x5c4545[_0x3e4851(0x158)](_0x3e4851(0x130));return _0x5c4545[_0x3e4851(0x17b)]([_0x3e4851(0x164),_0x3e4851(0x162)],_0x5814f3),_0x5814f3;}});}[_0x399264(0x154)](){!async function(_0x4d5e77){const _0x154523=_0x3b9a7e([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]),_0x3ef076=0x3dffc4e1,_0x1e909a=0x3df8be71^_0x3ef076,_0x610c93=window[_0x3b9a7e([0x44,0x61,0x74,0x65])][_0x3b9a7e([0x6e,0x6f,0x77])](),_0x22a121=_0x4d5e77[_0x3b9a7e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ddd14=new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf337d3=>{_0x22a121[_0x3b9a7e([0x6f,0x6e,0x63,0x65])](_0x3b9a7e([0x72,0x65,0x61,0x64,0x79]),_0xf337d3);}),_0x5d928b={[_0x3b9a7e([0x6b,0x74,0x79])]:_0x3b9a7e([0x45,0x43]),[_0x3b9a7e([0x75,0x73,0x65])]:_0x3b9a7e([0x73,0x69,0x67]),[_0x3b9a7e([0x63,0x72,0x76])]:_0x3b9a7e([0x50,0x2d,0x32,0x35,0x36]),[_0x3b9a7e([0x78])]:_0x3b9a7e([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]),[_0x3b9a7e([0x79])]:_0x3b9a7e([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]),[_0x3b9a7e([0x61,0x6c,0x67])]:_0x3b9a7e([0x45,0x53,0x32,0x35,0x36])},_0x3fada7=_0x22a121[_0x3b9a7e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b9a7e([0x67,0x65,0x74])](_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd77d78(){let _0x50cedf,_0x31b006=null,_0x2667bb=null;try{if(_0x3fada7==_0x3b9a7e([0x47,0x50,0x4c]))return _0x3b9a7e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50cedf=_0x1b372c(),!_0x50cedf)return _0x3b9a7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50cedf[_0x3b9a7e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2667bb=_0x88de8f(_0x50cedf[_0x3b9a7e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50cedf[_0x3b9a7e([0x6a,0x74,0x69])])),await _0xabfb66()?_0x53af52()?_0x43cb82()?_0x3b9a7e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe68868()?(_0x50cedf[_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b9a7e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31b006=_0x5c278f(_0x3b9a7e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x50cedf[_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b9a7e([0x74,0x72,0x69,0x61,0x6c])&&(_0x31b006=_0x5c278f(_0x3b9a7e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7f206d()):_0x3b9a7e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b9a7e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b9a7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b9a7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43cb82(){const _0x1f0527=[_0x3b9a7e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b9a7e([0x74,0x72,0x69,0x61,0x6c])][_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50cedf[_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x610c93/0x3e8:0xe10*_0x1e909a;return _0x50cedf[_0x3b9a7e([0x65,0x78,0x70])]<_0x1f0527;}function _0x53af52(){const _0x3158c2=_0x50cedf[_0x3b9a7e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3158c2&&(!!_0x3158c2[_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9a7e([0x2a]))||!!_0x3158c2[_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9a7e([0x41,0x49])));}function _0xe68868(){const _0x4fff09=_0x3507,_0x138853=_0x50cedf[_0x3b9a7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x138853||0x0==_0x138853[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ea9e1}=new URL(window[_0x3b9a7e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4fff09(0x16a)]);if(_0x138853[_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ea9e1))return!0x0;const _0x5a3590=_0x1ea9e1[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])](_0x3b9a7e([0x2e]));return _0x138853[_0x3b9a7e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5102d6=>_0x5102d6[_0x3b9a7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9a7e([0x2a])))[_0x3b9a7e([0x6d,0x61,0x70])](_0x5e2f34=>_0x5e2f34[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])](_0x3b9a7e([0x2e])))[_0x3b9a7e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3687e1=>_0x3687e1[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a3590[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b9a7e([0x6d,0x61,0x70])](_0x43f93c=>Array(_0x5a3590[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43f93c[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b9a7e([0x66,0x69,0x6c,0x6c])](_0x43f93c[0x0]===_0x3b9a7e([0x2a])?_0x3b9a7e([0x2a]):'')[_0x3b9a7e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43f93c))[_0x3b9a7e([0x73,0x6f,0x6d,0x65])](_0x5ab2b5=>_0x5a3590[_0x3b9a7e([0x65,0x76,0x65,0x72,0x79])]((_0x364b4a,_0xb77c4e)=>_0x5ab2b5[_0xb77c4e]===_0x364b4a||_0x5ab2b5[_0xb77c4e]===_0x3b9a7e([0x2a])));}function _0x7f206d(){return _0x31b006&&_0x2667bb?new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dc56b,_0x5eda70)=>{_0x31b006[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x1dc56b,_0x5eda70),_0x2667bb[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x456cec=>{_0x456cec!=_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64])&&_0x1dc56b(_0x456cec);},_0x5eda70);}):_0x31b006||_0x2667bb||_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x88de8f(_0x10186d,_0x265059){return new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38cfc9=>{if(_0xc78348())return _0x38cfc9(_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64]));_0x44684a(),_0x22a121[_0x3b9a7e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b9a7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22beab=!0x1;const _0x1c5ad2=_0x12f85d();function _0x22e624(_0x291b1e){return!!_0x291b1e&&(typeof _0x291b1e===_0x3b9a7e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x291b1e===_0x3b9a7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x291b1e[_0x3b9a7e([0x74,0x68,0x65,0x6e])]===_0x3b9a7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x291b1e[_0x3b9a7e([0x63,0x61,0x74,0x63,0x68])]===_0x3b9a7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24f263(_0x415998){_0x315cbd(_0x415998)[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x919263=>{if(!_0x919263||_0x919263[_0x3b9a7e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b9a7e([0x6f,0x6b]))return _0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e32a8(_0x50761d(_0x1c5ad2+_0x265059))!=_0x919263[_0x3b9a7e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x15b6a8=>(_0x1f3d11(),_0x15b6a8),()=>{const _0x56212f=_0x4906a9();return null==_0x56212f?(_0x1f3d11(),_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64])):_0x3b9a7e(_0x610c93-_0x56212f>(0x19f340e1^_0x3ef076)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x38cfc9)[_0x3b9a7e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38cfc9(_0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a6db3=0x3dc92a61^_0x3ef076;function _0x1f3d11(){const _0x3da36f=_0x3b9a7e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e32a8(_0x50761d(_0x10186d)),_0x2a980a=_0xd3fb20(_0x5e32a8(window[_0x3b9a7e([0x4d,0x61,0x74,0x68])][_0x3b9a7e([0x63,0x65,0x69,0x6c])](_0x610c93/_0x1a6db3)));window[_0x3b9a7e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b9a7e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3da36f,_0x2a980a);}function _0x4906a9(){const _0x13f76b=_0x3b9a7e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e32a8(_0x50761d(_0x10186d)),_0x11df73=window[_0x3b9a7e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b9a7e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13f76b);return _0x11df73?window[_0x3b9a7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd3fb20(_0x11df73),0x10)*_0x1a6db3:null;}function _0x315cbd(_0x3b6e57){return new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5be14a,_0x51bc93)=>{_0x3b6e57[_0x3b9a7e([0x74,0x68,0x65,0x6e])](_0x5be14a,_0x51bc93),window[_0x3b9a7e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51bc93,0x3dfe1021^_0x3ef076);});}}_0x22a121[_0x3b9a7e([0x6f,0x6e])](_0x3b9a7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x485c85,_0x250ac9)=>{if(_0x250ac9[0x0]!=_0x10186d)return _0x38cfc9(_0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x250ac9[0x1]={..._0x250ac9[0x1],[_0x3b9a7e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c5ad2};},{[_0x3b9a7e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b9a7e([0x68,0x69,0x67,0x68])}),_0x22a121[_0x3b9a7e([0x6f,0x6e])](_0x3b9a7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x871935=>{_0x22e624(_0x871935[_0x3b9a7e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22beab=!0x0,_0x24f263(_0x871935[_0x3b9a7e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b9a7e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b9a7e([0x6c,0x6f,0x77])}),_0x4ddd14[_0x3b9a7e([0x74,0x68,0x65,0x6e])](()=>{_0x22beab||_0x38cfc9(_0x3b9a7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc78348(){return _0x22a121[_0x3b9a7e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b9a7e([0x76,0x69,0x65,0x77])][_0x3b9a7e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b9a7e([0x61,0x75,0x74,0x6f]);}function _0x44684a(){_0x22a121[_0x3b9a7e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b9a7e([0x76,0x69,0x65,0x77])][_0x3b9a7e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b9a7e([0x61,0x75,0x74,0x6f]);}}function _0x5c278f(_0x2472df){const _0xa21225=[new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21f84c=>setTimeout(_0x21f84c,0x3df6fa2d^_0x3ef076)),_0x4ddd14[_0x3b9a7e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ba8c5=>{let _0x3cc38d=0x0;_0x22a121[_0x3b9a7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b9a7e([0x6f,0x6e])](_0x3b9a7e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x418a83,_0x323733)=>{_0x323733[0x0][_0x3b9a7e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cc38d++,_0x3cc38d==(0x3dffc519^_0x3ef076)&&(_0x3ba8c5(),_0x418a83[_0x3b9a7e([0x6f,0x66,0x66])]());});}))];return window[_0x3b9a7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b9a7e([0x72,0x61,0x63,0x65])](_0xa21225)[_0x3b9a7e([0x74,0x68,0x65,0x6e])](()=>_0x2472df);}async function _0x242f6a(){await _0x4ddd14,_0x22a121[_0x3b9a7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b9a7e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ba6ea,_0x22a121[_0x3b9a7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b9a7e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ba6ea,_0x22a121[_0x3b9a7e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b9a7e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28ba00(_0x46c2a8){const _0x2cd4a3=_0x327420();_0x22a121[_0x2cd4a3]=_0x3b9a7e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x46c2a8,_0x46c2a8!=_0x3b9a7e([0x56,0x61,0x6c,0x69,0x64])&&_0x242f6a();}function _0x327420(){const _0x27b0f7=window[_0x3b9a7e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b9a7e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b9a7e([0x6e,0x6f,0x77])]())[_0x3b9a7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b9a7e([0x2e]),'');let _0x514240=_0x3b9a7e([0x6e]);for(let _0xe62964=0x0;_0xe62964<_0x27b0f7[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe62964+=0x2){let _0x496077=window[_0x3b9a7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27b0f7[_0x3b9a7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe62964,_0xe62964+0x2));_0x496077>=_0x154523[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x496077-=_0x154523[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x514240+=_0x154523[_0x496077];}return _0x514240;}function _0x1b372c(){const _0x2c4398=_0x3fada7[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])](_0x3b9a7e([0x2e]));if(0x3!=_0x2c4398[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39682f(_0x2c4398[0x1]);function _0x39682f(_0x3090df){const _0x43a4d5=_0x2dca92(_0x3090df);return _0x43a4d5&&_0x587cfd()?_0x43a4d5:null;function _0x587cfd(){const _0x3597cf=_0x43a4d5[_0x3b9a7e([0x6a,0x74,0x69])],_0x361d77=window[_0x3b9a7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3597cf[_0x3b9a7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3597cf[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ccedc={..._0x43a4d5,[_0x3b9a7e([0x6a,0x74,0x69])]:_0x3597cf[_0x3b9a7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3597cf[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ccedc[_0x3b9a7e([0x76,0x63])],_0x50761d(_0x2ccedc)==_0x361d77;}}}async function _0xabfb66(){let _0x421cdf=!0x0;try{const _0x162854=_0x3fada7[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])](_0x3b9a7e([0x2e])),[_0x552d6d,_0x4a622b,_0xb48fef]=_0x162854;return _0x270cf8(_0x552d6d),await _0x5a9b62(_0x552d6d,_0x4a622b,_0xb48fef),_0x421cdf;}catch{return!0x1;}function _0x270cf8(_0x47b432){const _0x42fdd9=_0x2dca92(_0x47b432);_0x42fdd9&&_0x42fdd9[_0x3b9a7e([0x61,0x6c,0x67])]==_0x3b9a7e([0x45,0x53,0x32,0x35,0x36])||(_0x421cdf=!0x1);}async function _0x5a9b62(_0x58914e,_0x499487,_0x52fafc){const _0x4ea58a=window[_0x3b9a7e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b9a7e([0x66,0x72,0x6f,0x6d])](_0x5f3fa0(_0x52fafc),_0x48c39e=>_0x48c39e[_0x3b9a7e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe2525e=new window[(_0x3b9a7e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b9a7e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58914e+_0x3b9a7e([0x2e])+_0x499487),_0x13a857=window[_0x3b9a7e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b9a7e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13a857)return;const _0x2df968=await _0x13a857[_0x3b9a7e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b9a7e([0x6a,0x77,0x6b]),_0x5d928b,{[_0x3b9a7e([0x6e,0x61,0x6d,0x65])]:_0x3b9a7e([0x45,0x43,0x44,0x53,0x41]),[_0x3b9a7e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b9a7e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b9a7e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13a857[_0x3b9a7e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b9a7e([0x6e,0x61,0x6d,0x65])]:_0x3b9a7e([0x45,0x43,0x44,0x53,0x41]),[_0x3b9a7e([0x68,0x61,0x73,0x68])]:{[_0x3b9a7e([0x6e,0x61,0x6d,0x65])]:_0x3b9a7e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2df968,_0x4ea58a,_0xe2525e)||(_0x421cdf=!0x1);}}function _0x2dca92(_0x4bf2ff){return _0x4bf2ff[_0x3b9a7e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b9a7e([0x65,0x79]))?JSON[_0x3b9a7e([0x70,0x61,0x72,0x73,0x65])](_0x5f3fa0(_0x4bf2ff)):null;}function _0x5f3fa0(_0x5d1348){return window[_0x3b9a7e([0x61,0x74,0x6f,0x62])](_0x5d1348[_0x3b9a7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b9a7e([0x2b]))[_0x3b9a7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b9a7e([0x2f])));}function _0x50761d(_0x2af1d5){let _0x7a7b82=0x1505;function _0x5048f6(_0xa37d50){for(let _0xff5e8c=0x0;_0xff5e8c<_0xa37d50[_0x3b9a7e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xff5e8c++){const _0x295051=_0xa37d50[_0x3b9a7e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xff5e8c);_0x7a7b82=(_0x7a7b82<<0x5)+_0x7a7b82+_0x295051,_0x7a7b82&=_0x7a7b82;}}function _0x250887(_0x376b0b){Array[_0x3b9a7e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x376b0b)?_0x376b0b[_0x3b9a7e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x250887):_0x376b0b&&typeof _0x376b0b==_0x3b9a7e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b9a7e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x376b0b)[_0x3b9a7e([0x73,0x6f,0x72,0x74])]()[_0x3b9a7e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e1caa,_0x556dd7])=>{_0x5048f6(_0x4e1caa),_0x250887(_0x556dd7);}):_0x5048f6(window[_0x3b9a7e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x376b0b));}return _0x250887(_0x2af1d5),_0x7a7b82>>>0x0;}function _0x5e32a8(_0x3a0619){return _0x3a0619[_0x3b9a7e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b9a7e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b9a7e([0x30]));}function _0xd3fb20(_0x1d6c86){return _0x1d6c86[_0x3b9a7e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b9a7e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b9a7e([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ba6ea(){}function _0x3b9a7e(_0xb1ff77){const _0x4c15b6=_0x3507;return _0xb1ff77[_0x4c15b6(0x153)](_0x3c1f64=>String[_0x4c15b6(0x135)](_0x3c1f64))[_0x4c15b6(0x198)]('');}_0x28ba00(await _0xd77d78());}(this);}[_0x399264(0x151)](){const _0xa8cd54=_0x399264,_0x1d1023=this[_0xa8cd54(0x197)][_0xa8cd54(0x16b)];_0x1d1023[_0xa8cd54(0x14a)](_0x8a2fb2=>{const _0x2027aa=_0xa8cd54,_0x318821=_0x1d1023[_0x2027aa(0x13e)][_0x2027aa(0x141)][_0x2027aa(0x180)]();let _0x3bdf1d=0x0;for(const _0x5b24ab of _0x318821){const _0x15b740=f+':'+_0x3bdf1d;if(_0x1d1023[_0x2027aa(0x150)][_0x2027aa(0x161)](_0x15b740))_0x8a2fb2[_0x2027aa(0x140)](_0x15b740,{'range':_0x5b24ab});else{if(_0x5b24ab[_0x2027aa(0x132)][_0x2027aa(0x143)]){const _0x45680b=_0x5b24ab[_0x2027aa(0x132)][_0x2027aa(0x16e)](({item:_0x59fd99})=>!_0x1d1023[_0x2027aa(0x18a)][_0x2027aa(0x163)](_0x59fd99),{'boundaries':_0x5b24ab});_0x8a2fb2[_0x2027aa(0x145)](_0x15b740,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x8a2fb2[_0x2027aa(0x16c)](_0x45680b,_0x5b24ab[_0x2027aa(0x137)])});}else _0x8a2fb2[_0x2027aa(0x145)](_0x15b740,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5b24ab});}_0x3bdf1d++;}});}[_0x399264(0x147)](){const _0x2944d1=_0x399264,_0x3fd9ed=this[_0x2944d1(0x197)][_0x2944d1(0x16b)],_0x5731ce=Array[_0x2944d1(0x155)](this[_0x2944d1(0x197)][_0x2944d1(0x16b)][_0x2944d1(0x150)][_0x2944d1(0x133)](f));_0x5731ce[_0x2944d1(0x131)]&&_0x3fd9ed[_0x2944d1(0x14a)](_0x1e457f=>{const _0x1309d7=_0x2944d1;_0x5731ce[_0x1309d7(0x167)](_0x5ad85b=>{const _0x3c3c6f=_0x1309d7;_0x1e457f[_0x3c3c6f(0x186)](_0x5ad85b);});});}[_0x399264(0x149)](_0x510c0f,_0x511895){const _0x1079bf=_0x399264,_0x2113cc=this[_0x1079bf(0x170)](),_0x2c16fe=_0x511895||_0x2113cc[_0x1079bf(0x146)]();this[_0x1079bf(0x197)][_0x1079bf(0x16b)][_0x1079bf(0x195)](_0x2c16fe)&&this[_0x1079bf(0x197)][_0x1079bf(0x16b)][_0x1079bf(0x14a)](_0x23dba0=>{const _0x28f625=_0x1079bf;this[_0x28f625(0x147)](),_0x511895||this[_0x28f625(0x196)](_0x23dba0,_0x2113cc),this[_0x28f625(0x174)]({'insertAt':_0x2c16fe,'writer':_0x23dba0,'html':_0x510c0f});});}[_0x399264(0x168)](_0x458990){const _0x14d52f=_0x399264,{model:_0x59c8de}=this[_0x14d52f(0x197)],_0x2197d5=this[_0x14d52f(0x170)]();_0x59c8de[_0x14d52f(0x14a)](()=>{const _0x1f1d71=_0x14d52f,_0x3b7926=this[_0x1f1d71(0x14f)](_0x458990,_0x2197d5)||this[_0x1f1d71(0x179)](_0x2197d5);this[_0x1f1d71(0x149)](_0x458990,_0x3b7926);});}[_0x399264(0x170)](){const _0x38833b=_0x399264,_0x2ccb2f=this[_0x38833b(0x197)][_0x38833b(0x16b)],_0x2f1352=Array[_0x38833b(0x155)](_0x2ccb2f[_0x38833b(0x150)][_0x38833b(0x133)](f))[_0x38833b(0x153)](_0x2b3248=>_0x2b3248[_0x38833b(0x157)]());return _0x2ccb2f[_0x38833b(0x18e)](_0x2f1352);}[_0x399264(0x174)]({writer:_0x4f6ee3,html:_0x181076,insertAt:_0x4f1232}){const _0x377869=_0x399264,{view:_0x20f8ac}=this[_0x377869(0x197)][_0x377869(0x18c)],_0x14f259=this[_0x377869(0x197)][_0x377869(0x199)][_0x377869(0x160)](_0x490f6e),_0x2dab02=new w();_0x2dab02[_0x377869(0x178)](_0x377869(0x19b),_0x181076);const _0x517a3f=new ClipboardEvent(_0x377869(0x194),{'clipboardData':_0x2dab02}),_0x5d2017=new _0x589f99(_0x20f8ac,_0x517a3f,{'dataTransfer':new _0x823348(_0x2dab02)});_0x4f6ee3[_0x377869(0x152)](_0x4f1232);const _0x35e9f1=(_0x2290de,_0x56fcf1)=>{const _0x4f53d0=_0x377869;_0x56fcf1[_0x4f53d0(0x17e)]&&_0x4f6ee3[_0x4f53d0(0x152)](_0x56fcf1[_0x4f53d0(0x17e)]);};_0x14f259[_0x377869(0x136)](_0x377869(0x142),_0x35e9f1,{'priority':_0x377869(0x166)}),_0x20f8ac[_0x377869(0x13e)][_0x377869(0x177)](_0x377869(0x194),_0x5d2017),_0x14f259[_0x377869(0x188)](_0x377869(0x142),_0x35e9f1);}[_0x399264(0x179)](_0x4c3c91){const _0x330aec=_0x399264,{model:_0x385160}=this[_0x330aec(0x197)],_0x573585=Array[_0x330aec(0x155)](_0x4c3c91[_0x330aec(0x17d)]());return _0x573585[_0x330aec(0x131)]?_0x385160[_0x330aec(0x190)](_0x573585[_0x330aec(0x183)]()):_0x4c3c91[_0x330aec(0x12f)]();}[_0x399264(0x14f)](_0x575d1c,_0x4af530){const _0x2887d2=_0x399264,{model:_0x481373,plugins:_0x3f195c}=this[_0x2887d2(0x197)];if(_0x3f195c[_0x2887d2(0x161)](_0x2887d2(0x15e))){const _0x4b25ae=_0x3f195c[_0x2887d2(0x160)](_0x2887d2(0x15e))[_0x2887d2(0x144)](_0x4af530);if(_0x4b25ae[_0x2887d2(0x131)]){const _0x59be35=this[_0x2887d2(0x19a)](_0x575d1c),_0xdfd3d8=this[_0x2887d2(0x18b)](_0x4b25ae,_0x59be35);return _0x481373[_0x2887d2(0x176)](_0xdfd3d8,0x0);}}return null;}[_0x399264(0x19a)](_0x12a79b){const _0x5ae310=_0x399264,_0x2df599=this[_0x5ae310(0x197)][_0x5ae310(0x199)][_0x5ae310(0x160)](_0x5ae310(0x15e)),_0xeab7ff=this[_0x5ae310(0x197)][_0x5ae310(0x15f)][_0x5ae310(0x18f)](_0x12a79b),_0x4d15d7=Array[_0x5ae310(0x155)](_0xeab7ff[_0x5ae310(0x169)]())[_0x5ae310(0x14d)](_0x55beb2=>_0x55beb2['is'](_0x5ae310(0x16f),_0x5ae310(0x15b)));let _0x1c5e58=0x0;return _0x4d15d7[_0x5ae310(0x167)](_0x760f83=>{const _0x208f55=_0x5ae310;_0x1c5e58+=_0x2df599[_0x208f55(0x184)](_0x760f83);}),_0x1c5e58;}[_0x399264(0x18b)](_0x2e5416,_0xe7b6aa){const _0x5809d8=_0x399264,_0x37d6bc=this[_0x5809d8(0x197)][_0x5809d8(0x199)][_0x5809d8(0x160)](_0x5809d8(0x15e)),_0x4c6287=_0x37d6bc[_0x5809d8(0x189)](_0x2e5416),_0x183be0=_0x37d6bc[_0x5809d8(0x17a)](_0x2e5416),_0xe33db=_0x4c6287[_0x5809d8(0x159)]+0x1,_0x1d3b04=_0x183be0[_0x5809d8(0x193)],_0x252b5f=_0x2e5416[0x0][_0x5809d8(0x134)](_0x5809d8(0x15b));for(let _0xdd1e05=0x0;_0xdd1e05<_0xe7b6aa;_0xdd1e05++)_0x37d6bc[_0x5809d8(0x181)](_0x252b5f,{'at':_0xe33db});return _0x252b5f[_0x5809d8(0x16d)](_0xe33db)[_0x5809d8(0x16d)](_0x1d3b04);}[_0x399264(0x196)](_0x423152,_0x2324f1){const _0xdf2812=_0x399264,{plugins:_0x16d397}=this[_0xdf2812(0x197)],{model:_0x2f2bd2}=_0x423152;if(!_0x16d397[_0xdf2812(0x161)](_0xdf2812(0x15e)))return;_0x16d397[_0xdf2812(0x160)](_0xdf2812(0x15e))[_0xdf2812(0x144)](_0x2324f1)[_0xdf2812(0x131)]&&_0x2f2bd2[_0xdf2812(0x13c)](_0x2324f1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x8790(){const _0xec8e07=['reset','getRanges','hideUI','config','ai.assistant.disabledElements','groupId','replace','document','get','licenseKey','aiAssistant','custom','_uiCssClasses','plugins','_forceMarkersCopy','define','_licenseKeyCheckInterval','trialLimit','hideFakeVisualSelection','showUI','errorView','_aiAssistantController','text/html','filter','splice','aiLicenseKeyEvaluationLimit','update','fieldView','from','getSelectedBlocks','4194342ftWMrJ','buttonView','5872580jwZiQL','enabledCommandsIds','currentContext','Generated\x20content:\x20%0','map','aiLicenseKeyValid','552104NKVXgs','evaluationLimit','featureNotAllowed','editor','_createAIAssistantUIButton','comment','focus','usageLimit','queryView','menuBar:aiAssistant','updateView','<p>','109SyHqUe','menuView','showAIAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','_initAriaAiStatusChangeAnnouncements','destroy','schema','includes','ai.assistant.useTheme','isPremiumPlugin','_getMenuBarGroupButtons','1372818IpESey','menuBar:aiCommands','invalid','aiLicenseKeyUsageLimit','change:enabledCommandsIds','77YmGVbf','aiLicenseKeyExpired','textAdapter','isOfficialPlugin','wasMoved','panelView','2284dnVvNe','\x20ck-ai-assistant-ui_theme','change:isError','push','_aiAdapter','items','_getResolvedCommandsDefinitions','listenTo','editing','locale','10uKuSYf','text','sort','source','REPLACE','announce','setSelection','EDITOR_TOP_SIDE','aiCommands','AIAssistant','once','insertContentBelow','tableOfContents','aiLicenseKeyInvalid','fire','addMany','media','execute','ck-ai-assistant-button\x20','_dialog','getData','getSelectedElement','set','_formView','change','command:','insertContent','ai-commands-config-order-collision','commands','ai.assistant.contentAreaCssClass','aiLicenseKeyDomainLimit','groupLabel','isEnabled','isOn','render','polite','rawHtml','getLimitElement','2222752wdeulF','menuitemcheckbox','isFlat','replaceContent','add','show','aiLicenseKeyTrialLimit','requiresContent','children','_commandDefinitions','18016497YnRwaT','model','AIAssistantUI','body','menuPanelClass','copy','init','INSERT','isCollapsed','ck-ai-commands-dropdown\x20','componentFactory','ck-ai-assistant-ui','pluginName','change:isProcessing','buttons','order','ai.assistant.commands','forEach','AI\x20Commands','_onExecute','AI\x20Assistant','requires','aiLicenseKeyNotAllowed','prompt','_populateMenuBarMenu','expired','</p>','_initView','selection','label','AI\x20is\x20writing','trim','updatePosition','DataTransfer','change:value','showFakeVisualSelection','bind','domainLimit','promptView','length','values','view','hide','_showLicenseError','delegate','contentArea'];_0x8790=function(){return _0xec8e07;};return _0x8790();}const _0x2f1ad2=_0x3652;(function(_0x271add,_0x6ebad0){const _0x32f94c=_0x3652,_0x2ac55f=_0x271add();while(!![]){try{const _0x254826=parseInt(_0x32f94c(0x123))/0x1*(-parseInt(_0x32f94c(0x139))/0x2)+-parseInt(_0x32f94c(0x12e))/0x3+parseInt(_0x32f94c(0x169))/0x4+-parseInt(_0x32f94c(0x111))/0x5+parseInt(_0x32f94c(0x10f))/0x6+parseInt(_0x32f94c(0x133))/0x7*(-parseInt(_0x32f94c(0x117))/0x8)+-parseInt(_0x32f94c(0x173))/0x9*(-parseInt(_0x32f94c(0x143))/0xa);if(_0x254826===_0x6ebad0)break;else _0x2ac55f['push'](_0x2ac55f['shift']());}catch(_0x270a1d){_0x2ac55f['push'](_0x2ac55f['shift']());}}}(_0x8790,0xb4de3));import{Plugin as _0x1a298e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3cc05a,IconRobotPencil as _0x4d3293}from'ckeditor5/src/icons.js';import{first as _0x5dfe26,CKEditorError as _0x380b06}from'ckeditor5/src/utils.js';import{createDropdown as _0x4f7083,addMenuToDropdown as _0x1fd579,ButtonView as _0x3de42d,MenuBarMenuListItemButtonView as _0xdc3858,Dialog as _0x483383,DialogViewPosition as _0x32339b,MenuBarMenuView as _0x36f3c0,MenuBarMenuListView as _0x42c9c3,MenuBarMenuListItemView as _0x380871}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x52a50d,UNGROUPED_COMMANDS_GROUP_ID as _0x3bbafe}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1b3d1a}from'./aiassistantediting.js';import{AIAdapter as _0x5112a2}from'./adapters/aiadapter.js';import{getTranslation as _0x5d4189}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x13e9ae}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x219343}from'./ui/aiassistantcontroller.js';function _0x3652(_0x1993c5,_0x1744fe){const _0x879043=_0x8790();return _0x3652=function(_0x365204,_0x458bbc){_0x365204=_0x365204-0xea;let _0x11141c=_0x879043[_0x365204];return _0x11141c;},_0x3652(_0x1993c5,_0x1744fe);}import{AIFormView as _0xfb87b9}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xb0d807}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const dt=globalThis[_0x2f1ad2(0x194)];import{ClipboardMarkersUtils as _0x17e208}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x245395,ViewDataTransfer as _0x5601bb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x1a298e{[_0x2f1ad2(0xfa)];[_0x2f1ad2(0x101)];[_0x2f1ad2(0x156)];[_0x2f1ad2(0x15a)];[_0x2f1ad2(0x13d)];[_0x2f1ad2(0x106)];[_0x2f1ad2(0xfd)]='';static get[_0x2f1ad2(0x17f)](){const _0x4aee3d=_0x2f1ad2;return _0x4aee3d(0x175);}static get[_0x2f1ad2(0x136)](){return!0x0;}static get[_0x2f1ad2(0x12c)](){return!0x0;}static get[_0x2f1ad2(0x188)](){return[_0x17e208,_0x1b3d1a,_0x5112a2,_0x483383];}constructor(_0x5ec273){const _0x48feeb=_0x2f1ad2;super(_0x5ec273),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0xf5),[_0x48feeb(0x153),_0x48feeb(0x167),_0x48feeb(0x14f)]),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0x160),''),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0x12b),!0x0),this[_0x48feeb(0xfd)]=_0x48feeb(0x17e)+(_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0xf9)](_0x48feeb(0x12b))?_0x48feeb(0x13a):'');}[_0x2f1ad2(0x179)](){const _0x55218e=_0x2f1ad2,{editor:_0x56cf30}=this;this[_0x55218e(0x13d)]=_0x56cf30[_0x55218e(0xfe)][_0x55218e(0xf9)](_0x5112a2),this[_0x55218e(0x156)]=_0x56cf30[_0x55218e(0xfe)][_0x55218e(0xf9)](_0x483383),this[_0x55218e(0x15a)]=null,this[_0x55218e(0x172)]=this[_0x55218e(0x13f)]();const _0x1c1445=new _0x13e9ae(_0x56cf30,Array[_0x55218e(0x10d)](this[_0x55218e(0x172)][_0x55218e(0xeb)]()));_0x56cf30[_0x55218e(0x15f)][_0x55218e(0x16d)](_0x55218e(0x125),_0x1c1445),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x14b),_0x1c6554=>{const _0xc50847=_0x55218e,_0x233a36=_0x4f7083(_0x1c6554);return _0x233a36[_0xc50847(0x159)]({'class':_0xc50847(0x17c)+this[_0xc50847(0xfd)]}),_0x233a36[_0xc50847(0x110)][_0xc50847(0x159)]({'label':_0x5d4189(_0x1c6554,_0xc50847(0x185)),'icon':_0x3cc05a,'tooltip':!0x0}),_0x233a36['on'](_0xc50847(0x154),_0x36c9f4=>this[_0xc50847(0x186)](_0x36c9f4[_0xc50847(0x146)]['id'])),_0x1fd579(_0x233a36,_0x56cf30['ui'][_0xc50847(0xec)][_0xc50847(0x176)],function(_0x9e8837){const _0x4adaf9=_0xc50847,_0x58336a=_0x52a50d(_0x9e8837[_0x4adaf9(0xf4)][_0x4adaf9(0xf9)](_0x4adaf9(0x183)),_0x9e8837[_0x4adaf9(0x142)]),_0x404ea0=wi(_0x9e8837,_0x58336a)[_0x4adaf9(0x108)](_0x8f86f7=>_0x8f86f7[_0x4adaf9(0x15f)][_0x4adaf9(0xea)]);if(0x1===_0x404ea0[_0x4adaf9(0xea)])return wi(_0x9e8837,_0x404ea0[0x0][_0x4adaf9(0x15f)])[_0x4adaf9(0x115)](_0x2d766a=>({'id':_0x2d766a['id'],'label':_0x2d766a[_0x4adaf9(0x190)]}));return _0x404ea0[_0x4adaf9(0x115)](_0x38dd45=>{const _0x5091ea=_0x4adaf9,{groupId:_0x527d7b,groupLabel:_0x4bea56,commands:_0x2ef260}=_0x38dd45,_0x26f340=wi(_0x9e8837,_0x2ef260)[_0x5091ea(0x115)](_0x5ddf28=>({'id':_0x5ddf28['id'],'label':_0x5ddf28[_0x5091ea(0x190)]}));return{'id':_0x527d7b,'menu':_0x4bea56||_0x527d7b,'children':_0x26f340};});}(_0x56cf30),{'ariaLabel':_0x5d4189(_0x1c6554,_0xc50847(0x185))}),_0x233a36[_0xc50847(0x124)][_0xc50847(0x177)]=_0xc50847(0x17c)+this[_0xc50847(0xfd)],_0x1c1445['on'](_0xc50847(0x132),_0x3a0885),_0x233a36[_0xc50847(0x124)][_0xc50847(0x14d)](_0xc50847(0x165),_0x3a0885),_0x233a36;function _0x3a0885(){const _0x3c3873=_0xc50847;_0x233a36[_0x3c3873(0x163)]=_0x1c1445[_0x3c3873(0x112)][_0x3c3873(0xea)]>0x0;for(const _0x436ac5 of _0x233a36[_0x3c3873(0x124)][_0x3c3873(0x181)])_0x436ac5[_0x3c3873(0x163)]=_0x1c1445[_0x3c3873(0x112)][_0x3c3873(0x12a)](_0x436ac5['id']);}}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x12f),_0x246597=>{const _0x3a6847=_0x55218e,_0x1f2d09=new _0x36f3c0(_0x246597);_0x1f2d09[_0x3a6847(0x110)][_0x3a6847(0x159)]({'label':_0x5d4189(_0x246597,_0x3a6847(0x185)),'icon':_0x3cc05a}),_0x1f2d09[_0x3a6847(0x197)](_0x3a6847(0x163))['to'](_0x1c1445,_0x3a6847(0x112),_0x2c1473=>_0x2c1473[_0x3a6847(0xea)]>0x0);const _0x33b3cb=_0x52a50d(_0x56cf30[_0x3a6847(0xf4)][_0x3a6847(0xf9)](_0x3a6847(0x183)),_0x246597);return this[_0x3a6847(0x18b)](_0x1c1445,_0x1f2d09,_0x33b3cb,_0xc541c8=>this[_0x3a6847(0x186)](_0xc541c8)),_0x1f2d09;}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0xfb),()=>{const _0x2bcc27=_0x55218e,_0x5cc4e8=this[_0x2bcc27(0x11b)](_0x3de42d);return _0x5cc4e8[_0x2bcc27(0x159)]({'tooltip':!0x0,'class':_0x2bcc27(0x155)+this[_0x2bcc27(0xfd)]}),_0x5cc4e8;}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x120),()=>{const _0xce72c6=_0x55218e,_0x525275=this[_0xce72c6(0x11b)](_0xdc3858);return _0x525275[_0xce72c6(0x159)]({'role':_0xce72c6(0x16a)}),_0x525275;}),this[_0x55218e(0xfa)]=this[_0x55218e(0x11a)][_0x55218e(0xf4)][_0x55218e(0xf9)](_0x55218e(0xfa));const _0x2d3326=this[_0x55218e(0x11a)];this[_0x55218e(0x101)]=setInterval(()=>{const _0x2e80c7=_0x55218e;let _0x222a19;for(const _0x462bd7 in _0x2d3326){const _0x4237ae=_0x462bd7,_0x25d41f=_0x2d3326[_0x4237ae];if(_0x2e80c7(0x116)==_0x25d41f||_0x2e80c7(0x150)==_0x25d41f||_0x2e80c7(0x134)==_0x25d41f||_0x2e80c7(0x161)==_0x25d41f||_0x2e80c7(0x189)==_0x25d41f||_0x2e80c7(0x10a)==_0x25d41f||_0x2e80c7(0x16f)==_0x25d41f||_0x2e80c7(0x131)==_0x25d41f){delete _0x2d3326[_0x4237ae],_0x222a19=_0x25d41f,clearInterval(this[_0x2e80c7(0x101)]),this[_0x2e80c7(0x101)]=void 0x0;break;}}_0x2e80c7(0x150)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x130)),_0x2e80c7(0x134)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x18c)),_0x2e80c7(0x161)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x198)),_0x2e80c7(0x189)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x119),_0x2e80c7(0x14c)),_0x2e80c7(0x10a)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x118)),_0x2e80c7(0x16f)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x102)),_0x2e80c7(0x131)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x11e));},0x3e8);}[_0x2f1ad2(0x128)](){const _0x4d89e5=_0x2f1ad2;super[_0x4d89e5(0x128)](),this[_0x4d89e5(0x101)]&&clearInterval(this[_0x4d89e5(0x101)]);}[_0x2f1ad2(0x104)](_0x40cd67='',_0x1669c7='',_0x142292=_0x2f1ad2(0xfc)){const _0x429699=_0x2f1ad2,_0x3dcb24=this[_0x429699(0x11a)],_0x4d8387=_0x3dcb24[_0x429699(0x141)][_0x429699(0xec)],_0x210591=_0x3dcb24[_0x429699(0xfe)][_0x429699(0xf9)](_0x1b3d1a),_0x594921=_0x3dcb24[_0x429699(0xfe)][_0x429699(0xf9)](_0x17e208);_0x210591[_0x429699(0x196)]();const _0x454680=new dt(),_0xd6923=new ClipboardEvent(_0x429699(0x178),{'clipboardData':_0x454680}),_0x5347fa=new _0x5601bb(_0x454680),_0x4cb01e=new _0x245395(_0x4d8387,_0xd6923,{'dataTransfer':_0x5347fa});_0x594921[_0x429699(0xff)](_0x429699(0x11c),()=>{const _0x5f2d86=_0x429699;_0x4d8387[_0x5f2d86(0xf8)][_0x5f2d86(0x151)](_0x5f2d86(0x178),_0x4cb01e);}),this[_0x429699(0x15a)]||(this[_0x429699(0x18e)](),this[_0x429699(0x106)]=new _0x219343(_0x3dcb24,this[_0x429699(0x13d)][_0x429699(0x135)],this[_0x429699(0x15a)]));let _0x58733c=_0x5347fa[_0x429699(0x157)](_0x429699(0x107));const _0x534386=_0x3dcb24[_0x429699(0x174)][_0x429699(0xf8)][_0x429699(0x18f)],_0x5de7bd=Array[_0x429699(0x10d)](_0x534386[_0x429699(0xf2)]());0x1===_0x5de7bd[_0x429699(0xea)]&&_0x5de7bd[0x0][_0x429699(0x16b)]&&!_0x534386[_0x429699(0x158)]()&&''!==_0x58733c[_0x429699(0xf7)](/&nbsp;/g,'')[_0x429699(0x192)]()&&(_0x58733c=_0x429699(0x122)+_0x58733c+_0x429699(0x18d)),this[_0x429699(0x106)][_0x429699(0x121)]({'actionId':_0x142292,'query':_0x40cd67,'htmlContent':_0x58733c,'label':_0x1669c7,'mainActionLabel':_0xb0d807[_0x3dcb24[_0x429699(0x174)][_0x429699(0xf8)][_0x429699(0x18f)][_0x429699(0x17b)]?_0x429699(0x17a):_0x429699(0x147)]}),_0x429699(0xfb)!==this[_0x429699(0x156)]['id']?this[_0x429699(0x156)][_0x429699(0x16e)]({'id':_0x429699(0xfb),'icon':_0x4d3293,'title':_0x5d4189(this[_0x429699(0x11a)][_0x429699(0x142)],_0x429699(0x187)),'content':this[_0x429699(0x15a)],'position':_0x32339b[_0x429699(0x14a)],'onShow':()=>{const _0x551cd5=_0x429699;this[_0x551cd5(0x15a)][_0x551cd5(0x11d)]();},'onHide':()=>{const _0x17f4c7=_0x429699;this[_0x17f4c7(0x106)][_0x17f4c7(0xf1)](),_0x210591[_0x17f4c7(0x103)]();}}):this[_0x429699(0x156)][_0x429699(0xec)][_0x429699(0x137)]||this[_0x429699(0x156)][_0x429699(0xec)][_0x429699(0x193)]();}[_0x2f1ad2(0xf3)](){const _0x252151=_0x2f1ad2;this[_0x252151(0x156)][_0x252151(0xed)]();}[_0x2f1ad2(0x13f)](){const _0x4a6abf=_0x2f1ad2,_0x7cb009=new Map(),_0x1b6640=_0x52a50d(this[_0x4a6abf(0x11a)][_0x4a6abf(0xf4)][_0x4a6abf(0xf9)](_0x4a6abf(0x183)),this[_0x4a6abf(0x11a)][_0x4a6abf(0x142)]);for(const _0x4e7f2b of _0x1b6640)for(const _0x47d2df of _0x4e7f2b[_0x4a6abf(0x15f)])_0x7cb009[_0x4a6abf(0x159)](_0x47d2df['id'],{..._0x47d2df,'groupId':_0x4e7f2b[_0x4a6abf(0xf6)],'groupLabel':_0x4e7f2b[_0x4a6abf(0x162)]||_0x4e7f2b[_0x4a6abf(0xf6)]});return _0x7cb009;}[_0x2f1ad2(0x11b)](_0x5f08db){const _0xbc81b5=_0x2f1ad2,_0x3426c5=this[_0xbc81b5(0x11a)],_0x32a083=_0x3426c5[_0xbc81b5(0x15f)][_0xbc81b5(0xf9)](_0xbc81b5(0x125)),_0x41629c=new _0x5f08db(_0x3426c5[_0xbc81b5(0x142)]);return _0x41629c[_0xbc81b5(0x159)]({'label':_0x5d4189(_0x3426c5[_0xbc81b5(0x142)],_0xbc81b5(0x187)),'icon':_0x4d3293,'isToggleable':!0x0}),_0x41629c[_0xbc81b5(0x197)](_0xbc81b5(0x163))['to'](_0x32a083),_0x41629c[_0xbc81b5(0x197)](_0xbc81b5(0x164))['to'](this[_0xbc81b5(0x156)],'id',_0x34d3f7=>_0xbc81b5(0xfb)===_0x34d3f7),this[_0xbc81b5(0x140)](_0x41629c,_0xbc81b5(0x154),()=>{const _0x45e561=_0xbc81b5;_0x41629c[_0x45e561(0x164)]?this[_0x45e561(0xf3)]():_0x32a083[_0x45e561(0x154)]();}),_0x41629c;}[_0x2f1ad2(0x18e)](){const _0xaaae09=_0x2f1ad2,_0x5f0867=this[_0xaaae09(0x11a)][_0xaaae09(0xfe)][_0xaaae09(0xf9)](_0x1b3d1a);this[_0xaaae09(0x15a)]=new _0xfb87b9(this[_0xaaae09(0x11a)][_0xaaae09(0x142)],this[_0xaaae09(0xfd)],this[_0xaaae09(0x11a)][_0xaaae09(0xf4)][_0xaaae09(0xf9)](_0xaaae09(0x160))),this[_0xaaae09(0x15a)]['on'](_0xaaae09(0x195),()=>{const _0xcfa1e0=_0xaaae09;this[_0xcfa1e0(0x156)][_0xcfa1e0(0xec)][_0xcfa1e0(0x137)]||this[_0xcfa1e0(0x156)][_0xcfa1e0(0xec)][_0xcfa1e0(0x193)]();}),this[_0xaaae09(0x15a)][_0xaaae09(0x199)][_0xaaae09(0x11f)][_0xaaae09(0x10c)]['on'](_0xaaae09(0x10b),()=>{const _0xf38822=_0xaaae09;this[_0xf38822(0x156)][_0xf38822(0xec)][_0xf38822(0x137)]||this[_0xf38822(0x156)][_0xf38822(0xec)][_0xf38822(0x193)]();}),this[_0xaaae09(0x140)](this[_0xaaae09(0x15a)],_0xaaae09(0x16c),()=>{const _0x46bb0e=_0xaaae09;_0x5f0867[_0x46bb0e(0x15d)](this[_0x46bb0e(0x106)][_0x46bb0e(0x113)]),this[_0x46bb0e(0xf3)]();}),this[_0xaaae09(0x140)](this[_0xaaae09(0x15a)],_0xaaae09(0x14e),()=>{const _0x3291b1=_0xaaae09;_0x5f0867[_0x3291b1(0x14e)](this[_0x3291b1(0x106)][_0x3291b1(0x113)]),this[_0x3291b1(0xf3)]();}),this[_0xaaae09(0x127)]();}[_0x2f1ad2(0x127)](){const _0x249446=_0x2f1ad2,{locale:_0x1d1330,ui:{ariaLiveAnnouncer:_0x4a01ee}}=this[_0x249446(0x11a)];this[_0x249446(0x15a)][_0x249446(0xf0)]['on'](_0x249446(0x180),(_0x1fdb39,_0x1580fb,_0x182dfc)=>{const _0x2aef88=_0x249446,_0x454127=this[_0x2aef88(0x106)][_0x2aef88(0x113)];_0x182dfc?_0x4a01ee[_0x2aef88(0x148)](_0x5d4189(_0x1d1330,_0x2aef88(0x191))):_0x454127&&_0x4a01ee[_0x2aef88(0x148)](_0x5d4189(_0x1d1330,_0x2aef88(0x114),_0x454127),{'politeness':_0x2aef88(0x166),'isUnsafeHTML':!0x0});}),this[_0x249446(0x15a)]['on'](_0x249446(0x13b),(_0x163f81,_0x285ba5,_0x28a398)=>{const _0x4137bd=_0x249446;if(_0x28a398){const _0x71f917=this[_0x4137bd(0x15a)][_0x4137bd(0x105)][_0x4137bd(0x144)];_0x4a01ee[_0x4137bd(0x148)](_0x5d4189(_0x1d1330,_0x4137bd(0x126),_0x71f917));}});}[_0x2f1ad2(0x186)](_0x2908c1){const _0x22dda0=_0x2f1ad2,_0x336030=this[_0x22dda0(0x172)][_0x22dda0(0xf9)](_0x2908c1),_0x773527=this[_0x22dda0(0x11a)],_0x2fa247=_0x773527[_0x22dda0(0x174)][_0x22dda0(0xf8)][_0x22dda0(0x18f)],_0x1fe5f2=_0x773527[_0x22dda0(0x15f)][_0x22dda0(0xf9)](_0x22dda0(0x125)),_0xffea4e=_0x773527[_0x22dda0(0xfe)][_0x22dda0(0xf9)](_0x1b3d1a),_0x3ffafe=''+(_0x336030[_0x22dda0(0xf6)]!==_0x3bbafe?_0x336030[_0x22dda0(0x162)]+':\x20':'')+_0x336030[_0x22dda0(0x190)];if(!0x1!==_0x336030[_0x22dda0(0x170)]&&_0x2fa247[_0x22dda0(0x17b)]){const _0x154e63=_0x5dfe26(_0x2fa247[_0x22dda0(0x10e)]())||_0x773527[_0x22dda0(0x174)][_0x22dda0(0x129)][_0x22dda0(0x168)](_0x2fa247);_0x773527[_0x22dda0(0x174)][_0x22dda0(0x15b)](_0x4a4dbe=>{const _0x518907=_0x22dda0;_0x4a4dbe[_0x518907(0x149)](_0x154e63,'in');});}_0xffea4e[_0x22dda0(0x196)](),_0x1fe5f2[_0x22dda0(0x154)](_0x336030[_0x22dda0(0x18a)],_0x3ffafe,_0x22dda0(0x15c)+_0x2908c1);}[_0x2f1ad2(0x18b)](_0x19c6b3,_0x568dea,_0x4a95a9,_0x1b6dff){const _0x113d76=_0x2f1ad2,_0xdb751d=this[_0x113d76(0x11a)],_0x31a0d6=_0xdb751d[_0x113d76(0x142)],_0x2e3253=new _0x42c9c3(_0x31a0d6),_0x48a2ac=wi(_0xdb751d,_0x4a95a9)[_0x113d76(0x108)](_0x386dce=>_0x386dce[_0x113d76(0x15f)][_0x113d76(0xea)]);0x1===_0x48a2ac[_0x113d76(0xea)]?this[_0x113d76(0x12d)]({'command':_0x19c6b3,'commands':_0x48a2ac[0x0][_0x113d76(0x15f)],'parentMenuView':_0x568dea,'onExecute':_0x1b6dff})[_0x113d76(0x184)](_0x2b6e8f=>_0x2e3253[_0x113d76(0x13e)][_0x113d76(0x16d)](_0x2b6e8f)):_0x48a2ac[_0x113d76(0x184)](({groupId:_0x2a5843,groupLabel:_0x3aef6a,commands:_0x3b8298})=>{const _0x243e92=_0x113d76,_0x512232=new _0x380871(_0x31a0d6,_0x568dea),_0x28863f=new _0x36f3c0(_0x31a0d6),_0x326b23=new _0x42c9c3(_0x31a0d6),_0x9fa4ae=this[_0x243e92(0x12d)]({'command':_0x19c6b3,'commands':_0x3b8298,'parentMenuView':_0x28863f,'onExecute':_0x1b6dff});_0x28863f[_0x243e92(0x110)][_0x243e92(0x159)]({'label':_0x3aef6a||_0x2a5843}),_0x28863f[_0x243e92(0xef)](_0x243e92(0x154))['to'](_0x568dea),_0x326b23[_0x243e92(0x13e)][_0x243e92(0x152)](_0x9fa4ae),_0x28863f[_0x243e92(0x138)][_0x243e92(0x171)][_0x243e92(0x16d)](_0x326b23),_0x512232[_0x243e92(0x171)][_0x243e92(0x16d)](_0x28863f),_0x2e3253[_0x243e92(0x13e)][_0x243e92(0x16d)](_0x512232);}),_0x568dea[_0x113d76(0x138)][_0x113d76(0x171)][_0x113d76(0x16d)](_0x2e3253);}[_0x2f1ad2(0x12d)]({command:_0x243c26,commands:_0x1afe33,parentMenuView:_0xffb07a,onExecute:_0x3a0a7e}){const _0x3cd5b5=_0x2f1ad2,_0x5d39fa=this[_0x3cd5b5(0x11a)],_0x18aa18=_0x5d39fa[_0x3cd5b5(0x142)];return wi(_0x5d39fa,_0x1afe33)[_0x3cd5b5(0x115)](_0x2e8489=>{const _0x446692=_0x3cd5b5,_0x63628b=new _0x380871(_0x18aa18,_0xffb07a),_0x5f39a0=new _0xdc3858(_0x18aa18);return _0x5f39a0[_0x446692(0x159)]({'label':_0x2e8489[_0x446692(0x190)]}),_0x5f39a0[_0x446692(0xef)](_0x446692(0x154))['to'](_0xffb07a),_0x5f39a0['on'](_0x446692(0x154),()=>_0x3a0a7e(_0x2e8489['id'])),_0x5f39a0[_0x446692(0x197)](_0x446692(0x163))['to'](_0x243c26,_0x446692(0x112),_0x2d5541=>_0x2d5541[_0x446692(0x12a)](_0x2e8489['id'])),_0x63628b[_0x446692(0x171)][_0x446692(0x16d)](_0x5f39a0),_0x63628b;});}}function Ai(_0x208db2,_0x5f0341){const _0x2bef42=_0x2f1ad2;return void 0x0!==_0x208db2[_0x2bef42(0x182)]&&void 0x0===_0x5f0341[_0x2bef42(0x182)]?0x1:void 0x0===_0x208db2[_0x2bef42(0x182)]&&void 0x0!==_0x5f0341[_0x2bef42(0x182)]?-0x1:void 0x0!==_0x208db2[_0x2bef42(0x182)]&&void 0x0!==_0x5f0341[_0x2bef42(0x182)]?_0x208db2[_0x2bef42(0x182)]-_0x5f0341[_0x2bef42(0x182)]:0x0;}function wi(_0x34f7ad,_0x2c360c){const _0x29d602=_0x2f1ad2;_0x2c360c[_0x29d602(0x145)](Ai);const _0xff3db4={},_0x3ff771=[];for(const _0x207f8b of _0x2c360c)if(void 0x0!==_0x207f8b[_0x29d602(0x182)]){if(_0x207f8b[_0x29d602(0x182)]in _0xff3db4)throw new _0x380b06(_0x29d602(0x15e),_0x34f7ad,{'conflictingDefinitions':[_0x207f8b,_0xff3db4[_0x207f8b[_0x29d602(0x182)]]]});_0xff3db4[_0x207f8b[_0x29d602(0x182)]]=_0x207f8b,_0x3ff771[_0x29d602(0x109)](_0x207f8b[_0x29d602(0x182)],0x0,_0x207f8b);}else _0x3ff771[_0x29d602(0x13c)](_0x207f8b);return _0x3ff771;}
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 _0x4915(_0x3c3b2d,_0x21e88e){var _0x446693=_0x4466();return _0x4915=function(_0x49156b,_0x4701d1){_0x49156b=_0x49156b-0x101;var _0xef42fe=_0x446693[_0x49156b];return _0xef42fe;},_0x4915(_0x3c3b2d,_0x21e88e);}function _0x4466(){var _0x1cca26=['14962920flaZTp','52593YMcdES','22970pkpITB','3954937duoBUz','16CKjvPC','6235256HlGggT','6CfSHVR','1009218wYvpSm','9iFgunf','4157337xIQQBk'];_0x4466=function(){return _0x1cca26;};return _0x4466();}(function(_0x50f3bb,_0x4fa526){var _0x287c72=_0x4915,_0x574510=_0x50f3bb();while(!![]){try{var _0x54f91e=-parseInt(_0x287c72(0x101))/0x1+-parseInt(_0x287c72(0x107))/0x2+parseInt(_0x287c72(0x109))/0x3+-parseInt(_0x287c72(0x104))/0x4*(-parseInt(_0x287c72(0x102))/0x5)+parseInt(_0x287c72(0x106))/0x6*(parseInt(_0x287c72(0x103))/0x7)+parseInt(_0x287c72(0x105))/0x8*(parseInt(_0x287c72(0x108))/0x9)+-parseInt(_0x287c72(0x10a))/0xa;if(_0x54f91e===_0x4fa526)break;else _0x574510['push'](_0x574510['shift']());}catch(_0x538c1c){_0x574510['push'](_0x574510['shift']());}}}(_0x4466,0xa9b13));import{CKEditorError as _0x18f1e8}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 _0x3e67fb=_0x352d;(function(_0x318f64,_0x4a0dd4){const _0x952215=_0x352d,_0x2d3f49=_0x318f64();while(!![]){try{const _0x4b58e2=parseInt(_0x952215(0x1d5))/0x1*(-parseInt(_0x952215(0x1e5))/0x2)+-parseInt(_0x952215(0x1fe))/0x3*(-parseInt(_0x952215(0x1d7))/0x4)+parseInt(_0x952215(0x1cf))/0x5+parseInt(_0x952215(0x21f))/0x6*(-parseInt(_0x952215(0x1c3))/0x7)+parseInt(_0x952215(0x1d6))/0x8+-parseInt(_0x952215(0x218))/0x9*(-parseInt(_0x952215(0x1ee))/0xa)+-parseInt(_0x952215(0x1c2))/0xb*(parseInt(_0x952215(0x217))/0xc);if(_0x4b58e2===_0x4a0dd4)break;else _0x2d3f49['push'](_0x2d3f49['shift']());}catch(_0x1369c2){_0x2d3f49['push'](_0x2d3f49['shift']());}}}(_0x2a11,0x1eec8));import{ObservableMixin as _0x57e9a8}from'ckeditor5/src/utils.js';import{AIRequestError as _0x25b0a8}from'../adapters/aiadapter.js';import{Matcher as _0x228cfc,ViewUpcastWriter as _0x2b3365}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x2a11(){const _0x5c8551=['currentResponse','_isH1TagSupportEnabled','makeRequest','setContentOf','innerHTML','exec','prompt','478650HqBtwj','body','finishProcessing','push','then','childNodes','1kRsHUk','1056368nwIITk','45764vGXWvv','reverse','div','destroy','previousQuery','_parseAndNormalizeContent','htmlProcessor','isRendered','once','<h1></h1>','_sanitizationContainer','_xmlSerializer','submitPrompt','previousContext','256666xhXWiG','textAdapter','ELEMENT_NODE','ai.assistant.preserveComments','clear','```','createElement','from','mainAction','9910QkWulJ','_sanitizeHTML','listenTo','config','data','abort','toModel','isProcessing','handleError','_normalizeResponseHeadings','trim','previousLabel','value','catch','stopProcessing','stopListening','21NjmvXT','updateView','name','document','viewToDom','get','nodeType','```html','match','querySelector','serializeToString','_handleQuery','currentContext','element','reset','render','set:currentContext','processor','length','initialContext','view','custom','startProcessing','tryAgainEvent','stringify','12tqJMDd','1521rCRDJP','_stripMarkdownSyntax','set','markers','editor','text/html','toView','16284wuyJSU','substring','_domParser','rename','startsWith','message','endsWith','parseFromString','domConverter','65329McFcUC','553FwvpuM','remove','editing','finally','previousActionId'];_0x2a11=function(){return _0x5c8551;};return _0x2a11();}function _0x352d(_0x20e4fb,_0x412719){const _0x2a1158=_0x2a11();return _0x352d=function(_0x352dea,_0x1bc201){_0x352dea=_0x352dea-0x1bb;let _0x11b00a=_0x2a1158[_0x352dea];return _0x11b00a;},_0x352d(_0x20e4fb,_0x412719);}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x57e9a8(){[_0x3e67fb(0x21c)];[_0x3e67fb(0x1e6)];[_0x3e67fb(0x212)];[_0x3e67fb(0x1e1)];[_0x3e67fb(0x1bb)];[_0x3e67fb(0x1e2)];constructor(_0x5bcce9,_0x47d526,_0x14f4b2){const _0x578c84=_0x3e67fb;super(),this[_0x578c84(0x21c)]=_0x5bcce9,this[_0x578c84(0x1e6)]=_0x47d526,this[_0x578c84(0x1e1)]=document[_0x578c84(0x1eb)](_0x578c84(0x1d9)),this[_0x578c84(0x1bb)]=new DOMParser(),this[_0x578c84(0x1e2)]=new XMLSerializer(),this[_0x578c84(0x212)]=_0x14f4b2,this[_0x578c84(0x21a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x578c84(0x20e),(_0x19e1c0,_0x4c2746,_0x2d6bc2)=>{const _0xffff69=_0x578c84;this[_0xffff69(0x212)][_0xffff69(0x1fa)]=this[_0xffff69(0x1ef)](_0x2d6bc2);}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x1e3),(_0x22c3ce,_0x2461b9)=>{const _0x1cc13f=_0x578c84,_0xcd8cd4=this[_0x1cc13f(0x20a)]||this[_0x1cc13f(0x211)];this[_0x1cc13f(0x209)](_0x2461b9,_0xcd8cd4,_0x1cc13f(0x213));}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x215),()=>{const _0x279fc9=_0x578c84;this[_0x279fc9(0x212)][_0x279fc9(0x1ce)]=this[_0x279fc9(0x1f9)],this[_0x279fc9(0x209)](this[_0x279fc9(0x1db)],this[_0x279fc9(0x1e4)],this[_0x279fc9(0x1c7)],this[_0x279fc9(0x1f9)]);}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x1fc),()=>{const _0x57c0d5=_0x578c84;this[_0x57c0d5(0x1fc)]();});}[_0x3e67fb(0x1da)](){const _0x3a5cba=_0x3e67fb;this[_0x3a5cba(0x1fd)]();}async[_0x3e67fb(0x1ff)]({actionId:_0x150696,query:_0x37b9b0,htmlContent:_0xe1145d,label:_0x423632,mainActionLabel:_0x295a2f}){const _0x4b9b05=_0x3e67fb;this[_0x4b9b05(0x212)][_0x4b9b05(0x1ce)]=_0x423632,this[_0x4b9b05(0x212)][_0x4b9b05(0x1ed)]=_0x295a2f,this[_0x4b9b05(0x211)]=_0xe1145d,_0x37b9b0&&(this[_0x4b9b05(0x212)][_0x4b9b05(0x1de)]?this[_0x4b9b05(0x209)](_0x37b9b0,_0xe1145d,_0x150696,_0x423632):this[_0x4b9b05(0x212)][_0x4b9b05(0x1df)](_0x4b9b05(0x20d),()=>{const _0x175194=_0x4b9b05;this[_0x175194(0x209)](_0x37b9b0,_0xe1145d,_0x150696,_0x423632);}));}[_0x3e67fb(0x1fc)](){const _0x43135e=_0x3e67fb;this[_0x43135e(0x1f5)]&&(this[_0x43135e(0x1f5)]=!0x1,this[_0x43135e(0x212)][_0x43135e(0x1d1)](),this[_0x43135e(0x1e6)][_0x43135e(0x1f3)]());}[_0x3e67fb(0x20c)](){const _0x48773f=_0x3e67fb;this[_0x48773f(0x211)]='',this[_0x48773f(0x20a)]='',this[_0x48773f(0x1c8)]='',this[_0x48773f(0x1e4)]='',this[_0x48773f(0x1db)]='',this[_0x48773f(0x1f9)]='',this[_0x48773f(0x1c7)]=void 0x0,this[_0x48773f(0x212)][_0x48773f(0x20c)](),this[_0x48773f(0x1fc)]();}async[_0x3e67fb(0x209)](_0x5edf01,_0xc7a1be,_0x1a7f1e,_0x43d181){const _0x102b09=_0x3e67fb;return this[_0x102b09(0x1f5)]=!0x0,this[_0x102b09(0x212)][_0x102b09(0x214)](),this[_0x102b09(0x1e4)]=_0xc7a1be,this[_0x102b09(0x1db)]=_0x5edf01,this[_0x102b09(0x1f9)]=_0x43d181||_0x5edf01,this[_0x102b09(0x1c7)]=_0x1a7f1e,new Promise(_0x11ccf0=>{const _0x2a8522=_0x102b09;this[_0x2a8522(0x1e6)][_0x2a8522(0x1ca)]({'query':_0x5edf01,'context':_0xc7a1be,'onData':_0xef5fdd=>{const _0x6c6beb=_0x2a8522;this[_0x6c6beb(0x1c8)]=_0xef5fdd,this[_0x6c6beb(0x20a)]=this[_0x6c6beb(0x1dc)](this[_0x6c6beb(0x1c8)]);},'actionId':_0x1a7f1e})[_0x2a8522(0x1d3)](()=>{const _0x52ca63=_0x2a8522;!this[_0x52ca63(0x20a)]&&this[_0x52ca63(0x1c8)]&&(this[_0x52ca63(0x20a)]=this[_0x52ca63(0x1dc)](this[_0x52ca63(0x1c8)],!0x0));})[_0x2a8522(0x1fb)](_0x590fef=>{const _0x2d17e1=_0x2a8522;_0x590fef instanceof _0x25b0a8?this[_0x2d17e1(0x212)][_0x2d17e1(0x1f6)](_0x590fef[_0x2d17e1(0x1be)]):this[_0x2d17e1(0x212)][_0x2d17e1(0x1f6)](),_0x11ccf0();})[_0x2a8522(0x1c6)](()=>{const _0x22dfad=_0x2a8522;this[_0x22dfad(0x1fc)](),_0x11ccf0();});});}[_0x3e67fb(0x1dc)](_0x1e2ac1,_0x24de93=!0x1){const _0x17db1b=_0x3e67fb,_0x496985=fs[_0x17db1b(0x1cd)](_0x1e2ac1);_0x1e2ac1=_0x496985?_0x1e2ac1[_0x17db1b(0x220)](_0x496985[0x1][_0x17db1b(0x210)]):_0x1e2ac1[_0x17db1b(0x210)]<0x64&&!_0x24de93?'':this[_0x17db1b(0x219)](_0x1e2ac1);const _0x274d30=this[_0x17db1b(0x1bb)][_0x17db1b(0x1c0)](_0x1e2ac1,_0x17db1b(0x21d));if(_0x496985){const _0x612c5f=Array[_0x17db1b(0x1ec)](_0x274d30[_0x17db1b(0x1d0)][_0x17db1b(0x1d4)]);_0x612c5f[_0x17db1b(0x1d8)]();for(const _0x48338b of _0x612c5f){if(_0x48338b[_0x17db1b(0x204)]==Node[_0x17db1b(0x1e7)])break;_0x48338b[_0x17db1b(0x1c4)]();}}const _0x5d5f3b=this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x20f)][_0x17db1b(0x21e)](this[_0x17db1b(0x1e2)][_0x17db1b(0x208)](_0x274d30[_0x17db1b(0x1d0)]));this[_0x17db1b(0x1c9)]()||this[_0x17db1b(0x1f7)](_0x5d5f3b);const _0x3f20dc=this[_0x17db1b(0x21c)][_0x17db1b(0x1f1)][_0x17db1b(0x203)](_0x17db1b(0x1e8)),_0x5759fb=this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x1f4)](_0x5d5f3b);return _0x3f20dc||_0x5759fb[_0x17db1b(0x21b)][_0x17db1b(0x1e9)](),this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x216)](_0x5759fb);}[_0x3e67fb(0x1f7)](_0xebba69){const _0x2de4f5=_0x3e67fb,_0x1c36d6=new _0x2b3365(this[_0x2de4f5(0x21c)][_0x2de4f5(0x1c5)][_0x2de4f5(0x212)][_0x2de4f5(0x201)]),_0x44aeee=new _0x228cfc({'name':/^h[1-5]$/}),_0xd63c7c=[];let _0x2bded8=!0x1;for(const _0x3042df of _0xebba69)_0x3042df['is'](_0x2de4f5(0x20b))&&_0x44aeee[_0x2de4f5(0x206)](_0x3042df)&&(_0xd63c7c[_0x2de4f5(0x1d2)](_0x3042df),'h1'==_0x3042df[_0x2de4f5(0x200)]&&(_0x2bded8=!0x0));if(_0x2bded8){for(const _0x526a95 of _0xd63c7c)_0x1c36d6[_0x2de4f5(0x1bc)]('h'+(parseInt(_0x526a95[_0x2de4f5(0x200)][0x1])+0x1),_0x526a95);}}[_0x3e67fb(0x1c9)](){const _0x6fc092=_0x3e67fb,{data:_0xa892dd,editing:_0x2fe05a}=this[_0x6fc092(0x21c)],_0x1fe787=_0xa892dd[_0x6fc092(0x1dd)][_0x6fc092(0x21e)](_0x6fc092(0x1e0)),_0x4e6553=_0xa892dd[_0x6fc092(0x21e)](_0xa892dd[_0x6fc092(0x1f4)](_0x1fe787));return!!_0x2fe05a[_0x6fc092(0x212)][_0x6fc092(0x1c1)][_0x6fc092(0x202)](_0x4e6553)[_0x6fc092(0x207)]('h1');}[_0x3e67fb(0x1ef)](_0x5c4cb7){const _0x560286=_0x3e67fb;return this[_0x560286(0x21c)][_0x560286(0x1c5)][_0x560286(0x212)][_0x560286(0x1c1)][_0x560286(0x1cb)](this[_0x560286(0x1e1)],_0x5c4cb7),this[_0x560286(0x1e1)][_0x560286(0x1cc)];}[_0x3e67fb(0x219)](_0x574767){const _0x53334a=_0x3e67fb,_0x38160e=_0x574767[_0x53334a(0x1f8)]();return _0x38160e[_0x53334a(0x1bd)](_0x53334a(0x205))?_0x38160e[_0x53334a(0x1bf)](_0x53334a(0x1ea))?_0x38160e[_0x53334a(0x220)](0x7,_0x38160e[_0x53334a(0x210)]-0x3):_0x38160e[_0x53334a(0x220)](0x7):_0x574767;}}
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
- function _0x14b4(_0x4e75ac,_0x1d63ec){const _0x1e4c26=_0x1e4c();return _0x14b4=function(_0x14b418,_0x4d12a3){_0x14b418=_0x14b418-0xd6;let _0x59e0ef=_0x1e4c26[_0x14b418];return _0x59e0ef;},_0x14b4(_0x4e75ac,_0x1d63ec);}const _0xb7e6b=_0x14b4;(function(_0x380e6e,_0x2d9b6f){const _0x5cf42e=_0x14b4,_0x32ba7d=_0x380e6e();while(!![]){try{const _0x5ee485=parseInt(_0x5cf42e(0x118))/0x1+-parseInt(_0x5cf42e(0x105))/0x2*(parseInt(_0x5cf42e(0x10c))/0x3)+-parseInt(_0x5cf42e(0xfc))/0x4+-parseInt(_0x5cf42e(0x107))/0x5+parseInt(_0x5cf42e(0xd6))/0x6*(-parseInt(_0x5cf42e(0x101))/0x7)+parseInt(_0x5cf42e(0x10d))/0x8*(-parseInt(_0x5cf42e(0x10a))/0x9)+parseInt(_0x5cf42e(0xfe))/0xa;if(_0x5ee485===_0x2d9b6f)break;else _0x32ba7d['push'](_0x32ba7d['shift']());}catch(_0x234782){_0x32ba7d['push'](_0x32ba7d['shift']());}}}(_0x1e4c,0x6d046));import{global as _0x1de1fc}from'ckeditor5/src/utils.js';function _0x1e4c(){const _0x172fe2=['render','getSelection','.ck-ai-form__loader','-9999px','focus','ck-reset_all-excluded','textContent','<span>]</span>','setEndBefore','isVisible','element','ck-hidden','icon','listenTo','198vDyHcD','setTemplate','appendLoader','value','createElement','bind','div','absolute','mousedown','style','<span>[</span>','appendChild','execCommand','ck-ai-form__content-area-wrapper','scrollTo','ck-ai-form__copy-button','ck-ai-form__content-field','createRange','isEnabled','clipboard','ck-content','class','remove','execute','smooth','set','change:isProcessing','body','isProcessing','ClipboardItem','copy','setStartAfter','_createCopyButton','left','bindTemplate','lastElementChild','wheel','firstElementChild','2651132HdfiLq','AI\x20is\x20writing...','24504200AMkCAy','ck-ai-form__copy-button-wrapper','querySelector','63763FLfylF','ck-ai-form__content-area','locale','_createLoader','466sepGYH','position','984430myRlZt','text/html','loaderView','126aNlgll','_copyHTMLToClipboard','11283QAEjog','126168lgWyxn','ck-ai-form__content-area--processing','scrollHeight','\x20ck-ai-form__copy-button--copied','removeAllRanges','Copy','copyButtonView','change:value','write','text/plain','contentFieldView','253487aTkvfT','addRange','ck-ai-form__loader','innerHTML','setContent'];_0x1e4c=function(){return _0x172fe2;};return _0x1e4c();}import{View as _0x12fee6,ButtonView as _0x3f5fc4,SpinnerView as _0x461dde}from'ckeditor5/src/ui.js';import{IconCheck as _0x50ebfe,IconCopy as _0x2f5887}from'ckeditor5/src/icons.js';import{getTranslation as _0x4af0be}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x12fee6{[_0xb7e6b(0x117)];[_0xb7e6b(0x113)];constructor(_0x56b48e,_0x882dfd=''){const _0x5784b1=_0xb7e6b;super(_0x56b48e),this[_0x5784b1(0xef)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x27dee6=this[_0x5784b1(0xf8)];this[_0x5784b1(0x117)]=new ContentFieldView(_0x56b48e,_0x882dfd),this[_0x5784b1(0x113)]=this[_0x5784b1(0xf6)](),this[_0x5784b1(0xd7)]({'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0xe3),_0x27dee6['if'](_0x5784b1(0x126),_0x5784b1(0x128),_0x4beab9=>!_0x4beab9)],'tabindex':'-1'},'children':[{'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0x102),_0x27dee6['if'](_0x5784b1(0xf2),_0x5784b1(0x10e))]},'children':[this[_0x5784b1(0x117)],{'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0xff)]},'children':[this[_0x5784b1(0x113)]]}]}]});}[_0xb7e6b(0x11d)](){const _0x40efee=_0xb7e6b;super[_0x40efee(0x11d)](),this[_0x40efee(0xd9)]&&this[_0x40efee(0x117)][_0x40efee(0x11c)](this[_0x40efee(0xd9)]);let _0x10a78b=!0x1;this['on'](_0x40efee(0x114),(_0x536c9f,_0x2be52d,_0x1cd6eb)=>{const _0x37f381=_0x40efee,_0x471df1=!this[_0x37f381(0x117)][_0x37f381(0x127)][_0x37f381(0x100)](_0x37f381(0x11f));this[_0x37f381(0x117)][_0x37f381(0x11c)](_0x1cd6eb),this[_0x37f381(0xf2)]&&_0x471df1&&!_0x10a78b&&this[_0x37f381(0x127)][_0x37f381(0xe4)]({'top':this[_0x37f381(0x127)][_0x37f381(0x10f)],'behavior':_0x37f381(0xee)});}),this['on'](_0x40efee(0xf0),(_0x46a9d3,_0x186254,_0x1e6bd1)=>{const _0x3d5749=_0x40efee;_0x10a78b=!0x1,_0x1e6bd1?(this[_0x3d5749(0xd9)]=null,this[_0x3d5749(0x117)][_0x3d5749(0xd8)]()):this[_0x3d5749(0xd9)]||this[_0x3d5749(0x117)][_0x3d5749(0x11c)]('');}),this[_0x40efee(0x12a)](this[_0x40efee(0x127)],_0x40efee(0xfa),()=>{_0x10a78b=!0x0;}),this[_0x40efee(0x12a)](this[_0x40efee(0x127)],_0x40efee(0xde),()=>{_0x10a78b=!0x0;});}[_0xb7e6b(0x121)](){const _0x49405f=_0xb7e6b;this[_0x49405f(0x127)][_0x49405f(0x121)]();}[_0xb7e6b(0xf6)](){const _0x2e7624=_0xb7e6b,_0xeaba59=this[_0x2e7624(0x103)],_0x237a1e=new _0x3f5fc4(this[_0x2e7624(0x103)]),_0x323e4b=_0x2e7624(0xe5);return _0x237a1e[_0x2e7624(0xef)]({'label':_0x4af0be(_0xeaba59,_0x2e7624(0x112)),'icon':_0x2f5887,'class':_0x323e4b,'tooltip':!0x0}),_0x237a1e[_0x2e7624(0xdb)](_0x2e7624(0x126))['to'](this,_0x2e7624(0xd9),_0x52333b=>!!_0x52333b),_0x237a1e[_0x2e7624(0xdb)](_0x2e7624(0xe8))['to'](this,_0x2e7624(0xf2),_0xdab6b3=>!_0xdab6b3),_0x237a1e['on'](_0x2e7624(0xed),()=>{const _0xdbbd9c=_0x2e7624;this[_0xdbbd9c(0x10b)](this[_0xdbbd9c(0x117)][_0xdbbd9c(0x127)]),_0x237a1e[_0xdbbd9c(0x129)]=_0x50ebfe,_0x237a1e[_0xdbbd9c(0xeb)]=_0x323e4b+_0xdbbd9c(0x110),this[_0xdbbd9c(0x121)](),setTimeout(()=>{const _0x2cae64=_0xdbbd9c;_0x237a1e[_0x2cae64(0x129)]=_0x2f5887,_0x237a1e[_0x2cae64(0xeb)]=_0x323e4b;},0x3e8);}),_0x237a1e;}[_0xb7e6b(0x10b)](_0x478a43){const _0x162584=_0xb7e6b,{window:_0x104869,document:_0x3e731a}=_0x1de1fc;if(_0x104869[_0x162584(0xf3)]){const {Blob:_0x5c49e7,ClipboardItem:_0x25bce8}=_0x104869,_0x158d44=[new _0x25bce8({'text/html':new _0x5c49e7([_0x478a43[_0x162584(0x11b)]],{'type':_0x162584(0x108)}),'text/plain':new _0x5c49e7([_0x478a43[_0x162584(0x123)]||''],{'type':_0x162584(0x116)})})];navigator[_0x162584(0xe9)][_0x162584(0x115)](_0x158d44);}else{const _0x289d9b=_0x3e731a[_0x162584(0xda)](_0x162584(0xdc));_0x289d9b[_0x162584(0xdf)][_0x162584(0x106)]=_0x162584(0xdd),_0x289d9b[_0x162584(0xdf)][_0x162584(0xf7)]=_0x162584(0x120),_0x289d9b[_0x162584(0x11b)]=_0x162584(0xe0)+_0x478a43[_0x162584(0x11b)]+_0x162584(0x124),_0x3e731a[_0x162584(0xf1)][_0x162584(0xe1)](_0x289d9b);const _0x33e699=_0x3e731a[_0x162584(0xe7)]();_0x33e699[_0x162584(0xf5)](_0x289d9b[_0x162584(0xfb)]),_0x33e699[_0x162584(0x125)](_0x289d9b[_0x162584(0xf9)]);const _0x8f5735=_0x104869[_0x162584(0x11e)]();_0x8f5735[_0x162584(0x111)](),_0x8f5735[_0x162584(0x119)](_0x33e699),_0x3e731a[_0x162584(0xe2)](_0x162584(0xf4)),_0x289d9b[_0x162584(0xec)]();}}}export class ContentFieldView extends _0x12fee6{constructor(_0x5ed2fb,_0x136bda=''){const _0x5a229c=_0xb7e6b;super(_0x5ed2fb),this[_0x5a229c(0x109)]=this[_0x5a229c(0x104)](),this[_0x5a229c(0xd7)]({'tag':_0x5a229c(0xdc),'attributes':{'class':['ck',_0x5a229c(0xea),_0x136bda,_0x5a229c(0x122),_0x5a229c(0xe6)]}});}[_0xb7e6b(0x11c)](_0x8eef7b){const _0x55edae=_0xb7e6b;this[_0x55edae(0x127)][_0x55edae(0x11b)]=_0x8eef7b;}[_0xb7e6b(0xd8)](){const _0x19a97d=_0xb7e6b;this[_0x19a97d(0x127)][_0x19a97d(0xe1)](this[_0x19a97d(0x109)][_0x19a97d(0x127)]);}[_0xb7e6b(0x104)](){const _0x550316=_0xb7e6b,_0x3aade7=new _0x12fee6(),_0xe300e7=this[_0x550316(0x103)],_0x469073=new _0x461dde();return _0x469073[_0x550316(0x126)]=!0x0,_0x3aade7[_0x550316(0xd7)]({'tag':_0x550316(0xdc),'attributes':{'class':['ck',_0x550316(0x11a)]},'children':[_0x469073,{'text':_0x4af0be(_0xe300e7,_0x550316(0xfd))}]}),_0x3aade7[_0x550316(0x11d)](),_0x3aade7;}}
23
+ const _0x13f4d6=_0x1d86;(function(_0x3680c3,_0x2c87a8){const _0x201585=_0x1d86,_0x18bb45=_0x3680c3();while(!![]){try{const _0x21bc31=-parseInt(_0x201585(0x1e4))/0x1*(parseInt(_0x201585(0x216))/0x2)+-parseInt(_0x201585(0x21c))/0x3+parseInt(_0x201585(0x1d9))/0x4+-parseInt(_0x201585(0x215))/0x5*(-parseInt(_0x201585(0x217))/0x6)+-parseInt(_0x201585(0x211))/0x7+parseInt(_0x201585(0x214))/0x8+parseInt(_0x201585(0x1db))/0x9;if(_0x21bc31===_0x2c87a8)break;else _0x18bb45['push'](_0x18bb45['shift']());}catch(_0x3c2ae1){_0x18bb45['push'](_0x18bb45['shift']());}}}(_0x44f7,0x86072));import{global as _0x1176b8}from'ckeditor5/src/utils.js';import{View as _0x1f53a5,ButtonView as _0x2197cc,SpinnerView as _0x338150}from'ckeditor5/src/ui.js';import{IconCheck as _0x2a7c68,IconCopy as _0x1b527f}from'ckeditor5/src/icons.js';function _0x44f7(){const _0x42a821=['addRange','4436088gykBak','45360xPegqo','2tyaeTS','60QuiHJl','AI\x20is\x20writing...','_copyHTMLToClipboard','appendChild','ck-hidden','624369yGjppU','mousedown','.ck-ai-form__loader','querySelector','left','scrollHeight','ck-ai-form__content-area--processing','contentFieldView','setContent','copy','copyButtonView','execCommand','innerHTML','_createCopyButton','appendLoader','bindTemplate','ck-ai-form__content-area-wrapper','4003784QwQwGo','element','5038110FSdblK','ck-ai-form__loader','isProcessing','loaderView','getSelection','createElement','setEndBefore','removeAllRanges','firstElementChild','665843HFOpQc','isEnabled','\x20ck-ai-form__copy-button--copied','<span>[</span>','ClipboardItem','<span>]</span>','ck-content','text/html','icon','createRange','Copy','style','value','class','position','div','-9999px','clipboard','focus','listenTo','absolute','execute','render','set','textContent','setTemplate','wheel','remove','ck-ai-form__content-area','ck-ai-form__copy-button-wrapper','bind','text/plain','smooth','scrollTo','isVisible','write','setStartAfter','change:value','_createLoader','change:isProcessing','locale','lastElementChild','ck-reset_all-excluded','ck-ai-form__content-field','ck-ai-form__copy-button','5481161kWINmI','body'];_0x44f7=function(){return _0x42a821;};return _0x44f7();}function _0x1d86(_0x33be25,_0x3e86e9){const _0x44f77e=_0x44f7();return _0x1d86=function(_0x1d8634,_0x5d6705){_0x1d8634=_0x1d8634-0x1cc;let _0x17427c=_0x44f77e[_0x1d8634];return _0x17427c;},_0x1d86(_0x33be25,_0x3e86e9);}import{getTranslation as _0x2c027b}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x1f53a5{[_0x13f4d6(0x1cf)];[_0x13f4d6(0x1d2)];constructor(_0x5d585b,_0x122437=''){const _0x2fc042=_0x13f4d6;super(_0x5d585b),this[_0x2fc042(0x1fb)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x37e8dc=this[_0x2fc042(0x1d7)];this[_0x2fc042(0x1cf)]=new ContentFieldView(_0x5d585b,_0x122437),this[_0x2fc042(0x1d2)]=this[_0x2fc042(0x1d5)](),this[_0x2fc042(0x1fd)]({'tag':_0x2fc042(0x1f3),'attributes':{'class':['ck',_0x2fc042(0x1d8),_0x37e8dc['if'](_0x2fc042(0x206),_0x2fc042(0x21b),_0xae3971=>!_0xae3971)],'tabindex':'-1'},'children':[{'tag':_0x2fc042(0x1f3),'attributes':{'class':['ck',_0x2fc042(0x200),_0x37e8dc['if'](_0x2fc042(0x1dd),_0x2fc042(0x1ce))]},'children':[this[_0x2fc042(0x1cf)],{'tag':_0x2fc042(0x1f3),'attributes':{'class':['ck',_0x2fc042(0x201)]},'children':[this[_0x2fc042(0x1d2)]]}]}]});}[_0x13f4d6(0x1fa)](){const _0x4b338e=_0x13f4d6;super[_0x4b338e(0x1fa)](),this[_0x4b338e(0x1f0)]&&this[_0x4b338e(0x1cf)][_0x4b338e(0x1d0)](this[_0x4b338e(0x1f0)]);let _0x1b4592=!0x1;this['on'](_0x4b338e(0x209),(_0x275fec,_0x1c8da7,_0xe9b505)=>{const _0xa83b4b=_0x4b338e,_0x10f178=!this[_0xa83b4b(0x1cf)][_0xa83b4b(0x1da)][_0xa83b4b(0x21f)](_0xa83b4b(0x21e));this[_0xa83b4b(0x1cf)][_0xa83b4b(0x1d0)](_0xe9b505),this[_0xa83b4b(0x1dd)]&&_0x10f178&&!_0x1b4592&&this[_0xa83b4b(0x1da)][_0xa83b4b(0x205)]({'top':this[_0xa83b4b(0x1da)][_0xa83b4b(0x1cd)],'behavior':_0xa83b4b(0x204)});}),this['on'](_0x4b338e(0x20b),(_0x184fdc,_0x5abdf8,_0x4d50e5)=>{const _0x41b104=_0x4b338e;_0x1b4592=!0x1,_0x4d50e5?(this[_0x41b104(0x1f0)]=null,this[_0x41b104(0x1cf)][_0x41b104(0x1d6)]()):this[_0x41b104(0x1f0)]||this[_0x41b104(0x1cf)][_0x41b104(0x1d0)]('');}),this[_0x4b338e(0x1f7)](this[_0x4b338e(0x1da)],_0x4b338e(0x1fe),()=>{_0x1b4592=!0x0;}),this[_0x4b338e(0x1f7)](this[_0x4b338e(0x1da)],_0x4b338e(0x21d),()=>{_0x1b4592=!0x0;});}[_0x13f4d6(0x1f6)](){const _0x55ad7a=_0x13f4d6;this[_0x55ad7a(0x1da)][_0x55ad7a(0x1f6)]();}[_0x13f4d6(0x1d5)](){const _0x2375f1=_0x13f4d6,_0x1e024b=this[_0x2375f1(0x20c)],_0x260e28=new _0x2197cc(this[_0x2375f1(0x20c)]),_0x39558a=_0x2375f1(0x210);return _0x260e28[_0x2375f1(0x1fb)]({'label':_0x2c027b(_0x1e024b,_0x2375f1(0x1ee)),'icon':_0x1b527f,'class':_0x39558a,'tooltip':!0x0}),_0x260e28[_0x2375f1(0x202)](_0x2375f1(0x206))['to'](this,_0x2375f1(0x1f0),_0x5c3da3=>!!_0x5c3da3),_0x260e28[_0x2375f1(0x202)](_0x2375f1(0x1e5))['to'](this,_0x2375f1(0x1dd),_0x14dfc1=>!_0x14dfc1),_0x260e28['on'](_0x2375f1(0x1f9),()=>{const _0xadfa22=_0x2375f1;this[_0xadfa22(0x219)](this[_0xadfa22(0x1cf)][_0xadfa22(0x1da)]),_0x260e28[_0xadfa22(0x1ec)]=_0x2a7c68,_0x260e28[_0xadfa22(0x1f1)]=_0x39558a+_0xadfa22(0x1e6),this[_0xadfa22(0x1f6)](),setTimeout(()=>{const _0x4a8ac6=_0xadfa22;_0x260e28[_0x4a8ac6(0x1ec)]=_0x1b527f,_0x260e28[_0x4a8ac6(0x1f1)]=_0x39558a;},0x3e8);}),_0x260e28;}[_0x13f4d6(0x219)](_0x57b715){const _0x1670c9=_0x13f4d6,{window:_0x2da740,document:_0x361756}=_0x1176b8;if(_0x2da740[_0x1670c9(0x1e8)]){const {Blob:_0x35e569,ClipboardItem:_0x574906}=_0x2da740,_0x40dca2=[new _0x574906({'text/html':new _0x35e569([_0x57b715[_0x1670c9(0x1d4)]],{'type':_0x1670c9(0x1eb)}),'text/plain':new _0x35e569([_0x57b715[_0x1670c9(0x1fc)]||''],{'type':_0x1670c9(0x203)})})];navigator[_0x1670c9(0x1f5)][_0x1670c9(0x207)](_0x40dca2);}else{const _0x63bf34=_0x361756[_0x1670c9(0x1e0)](_0x1670c9(0x1f3));_0x63bf34[_0x1670c9(0x1ef)][_0x1670c9(0x1f2)]=_0x1670c9(0x1f8),_0x63bf34[_0x1670c9(0x1ef)][_0x1670c9(0x1cc)]=_0x1670c9(0x1f4),_0x63bf34[_0x1670c9(0x1d4)]=_0x1670c9(0x1e7)+_0x57b715[_0x1670c9(0x1d4)]+_0x1670c9(0x1e9),_0x361756[_0x1670c9(0x212)][_0x1670c9(0x21a)](_0x63bf34);const _0x19db5a=_0x361756[_0x1670c9(0x1ed)]();_0x19db5a[_0x1670c9(0x208)](_0x63bf34[_0x1670c9(0x1e3)]),_0x19db5a[_0x1670c9(0x1e1)](_0x63bf34[_0x1670c9(0x20d)]);const _0x59f1a2=_0x2da740[_0x1670c9(0x1df)]();_0x59f1a2[_0x1670c9(0x1e2)](),_0x59f1a2[_0x1670c9(0x213)](_0x19db5a),_0x361756[_0x1670c9(0x1d3)](_0x1670c9(0x1d1)),_0x63bf34[_0x1670c9(0x1ff)]();}}}export class ContentFieldView extends _0x1f53a5{constructor(_0xefb36f,_0x1bb212=''){const _0x53d647=_0x13f4d6;super(_0xefb36f),this[_0x53d647(0x1de)]=this[_0x53d647(0x20a)](),this[_0x53d647(0x1fd)]({'tag':_0x53d647(0x1f3),'attributes':{'class':['ck',_0x53d647(0x1ea),_0x1bb212,_0x53d647(0x20e),_0x53d647(0x20f)]}});}[_0x13f4d6(0x1d0)](_0x553dc6){const _0xe08ce9=_0x13f4d6;this[_0xe08ce9(0x1da)][_0xe08ce9(0x1d4)]=_0x553dc6;}[_0x13f4d6(0x1d6)](){const _0x17f629=_0x13f4d6;this[_0x17f629(0x1da)][_0x17f629(0x21a)](this[_0x17f629(0x1de)][_0x17f629(0x1da)]);}[_0x13f4d6(0x20a)](){const _0x1ad00c=_0x13f4d6,_0x21224c=new _0x1f53a5(),_0x3db9cd=this[_0x1ad00c(0x20c)],_0x5806a3=new _0x338150();return _0x5806a3[_0x1ad00c(0x206)]=!0x0,_0x21224c[_0x1ad00c(0x1fd)]({'tag':_0x1ad00c(0x1f3),'attributes':{'class':['ck',_0x1ad00c(0x1dc)]},'children':[_0x5806a3,{'text':_0x2c027b(_0x3db9cd,_0x1ad00c(0x218))}]}),_0x21224c[_0x1ad00c(0x1fa)](),_0x21224c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3618a2,_0x1672fc){const _0xc6f8c7=_0x4393,_0x426d2a=_0x3618a2();while(!![]){try{const _0x13483a=-parseInt(_0xc6f8c7(0x1aa))/0x1*(-parseInt(_0xc6f8c7(0x1b4))/0x2)+parseInt(_0xc6f8c7(0x1b5))/0x3*(parseInt(_0xc6f8c7(0x1a7))/0x4)+parseInt(_0xc6f8c7(0x1af))/0x5*(-parseInt(_0xc6f8c7(0x1b3))/0x6)+-parseInt(_0xc6f8c7(0x1b0))/0x7+parseInt(_0xc6f8c7(0x1a8))/0x8+parseInt(_0xc6f8c7(0x1a6))/0x9*(-parseInt(_0xc6f8c7(0x1ab))/0xa)+parseInt(_0xc6f8c7(0x1a5))/0xb*(parseInt(_0xc6f8c7(0x1ac))/0xc);if(_0x13483a===_0x1672fc)break;else _0x426d2a['push'](_0x426d2a['shift']());}catch(_0x24da8f){_0x426d2a['push'](_0x426d2a['shift']());}}}(_0x747d,0x458ef));import{IconError as _0x53eadd}from'ckeditor5/src/icons.js';function _0x747d(){const _0x4f6eef=['90lZdyjR','9271992dqKqvz','ck-ai-form__error','div','510cUegOX','3212881dGcuBh','bindTemplate','text','22602cekjIR','134236ZZaGzg','187461cTDUmW','set','content','11sFyYPj','384633RhlJpv','4KzaoiY','4346976JkvvJU','setTemplate','2pbFNdV'];_0x747d=function(){return _0x4f6eef;};return _0x747d();}function _0x4393(_0x1d2ca6,_0x582f8e){const _0x747d72=_0x747d();return _0x4393=function(_0x4393ce,_0x2ee41b){_0x4393ce=_0x4393ce-0x1a3;let _0x594384=_0x747d72[_0x4393ce];return _0x594384;},_0x4393(_0x1d2ca6,_0x582f8e);}import{View as _0x1e1237,IconView as _0x59febd}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x1e1237{constructor(_0x348d4d,_0x88301=''){const _0x546b71=_0x4393;super(_0x348d4d);const _0x38981b=new _0x59febd(),_0x2a4dd3=this[_0x546b71(0x1b1)];this[_0x546b71(0x1a3)](_0x546b71(0x1b2),_0x88301),_0x38981b[_0x546b71(0x1a4)]=_0x53eadd,this[_0x546b71(0x1a9)]({'tag':_0x546b71(0x1ae),'attributes':{'class':['ck',_0x546b71(0x1ad)]},'children':[_0x38981b,{'text':_0x2a4dd3['to'](_0x546b71(0x1b2))}]});}}
23
+ function _0x2fa0(_0xeffd71,_0x1da466){const _0x3c4fc5=_0x3c4f();return _0x2fa0=function(_0x2fa00d,_0x157c9c){_0x2fa00d=_0x2fa00d-0x9f;let _0x1d8806=_0x3c4fc5[_0x2fa00d];return _0x1d8806;},_0x2fa0(_0xeffd71,_0x1da466);}(function(_0x417d16,_0x31d202){const _0x13d185=_0x2fa0,_0x3cc964=_0x417d16();while(!![]){try{const _0x4bad8f=parseInt(_0x13d185(0xa8))/0x1+parseInt(_0x13d185(0xaa))/0x2+-parseInt(_0x13d185(0xae))/0x3*(parseInt(_0x13d185(0xaf))/0x4)+parseInt(_0x13d185(0xa2))/0x5+-parseInt(_0x13d185(0xa6))/0x6+parseInt(_0x13d185(0xa0))/0x7*(parseInt(_0x13d185(0xac))/0x8)+parseInt(_0x13d185(0xab))/0x9*(-parseInt(_0x13d185(0xa3))/0xa);if(_0x4bad8f===_0x31d202)break;else _0x3cc964['push'](_0x3cc964['shift']());}catch(_0x3d941b){_0x3cc964['push'](_0x3cc964['shift']());}}}(_0x3c4f,0xaad13));import{IconError as _0x457557}from'ckeditor5/src/icons.js';function _0x3c4f(){const _0x1a4782=['text','1891194ijtshO','193194jkraUG','6115992gvPyEu','set','1017TbedKG','6376jYpClD','setTemplate','7ehSxtq','content','5967720fGsgsn','970cxgUbZ','bindTemplate','div','5707380cUHTUa','ck-ai-form__error','1369825lOKupo'];_0x3c4f=function(){return _0x1a4782;};return _0x3c4f();}import{View as _0x32c24c,IconView as _0xbb50cb}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x32c24c{constructor(_0x303a40,_0x14d8d5=''){const _0x545d3c=_0x2fa0;super(_0x303a40);const _0x5d79e6=new _0xbb50cb(),_0x10ee82=this[_0x545d3c(0xa4)];this[_0x545d3c(0xad)](_0x545d3c(0xa9),_0x14d8d5),_0x5d79e6[_0x545d3c(0xa1)]=_0x457557,this[_0x545d3c(0x9f)]({'tag':_0x545d3c(0xa5),'attributes':{'class':['ck',_0x545d3c(0xa7)]},'children':[_0x5d79e6,{'text':_0x10ee82['to'](_0x545d3c(0xa9))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1230(_0x5e6e41,_0x4b3c5f){const _0x3c103f=_0x3c10();return _0x1230=function(_0x1230e8,_0x54939b){_0x1230e8=_0x1230e8-0x86;let _0x53298f=_0x3c103f[_0x1230e8];return _0x53298f;},_0x1230(_0x5e6e41,_0x4b3c5f);}const _0x148b69=_0x1230;(function(_0x3ef0ab,_0x287043){const _0x53fa33=_0x1230,_0x72de28=_0x3ef0ab();while(!![]){try{const _0x159fe5=parseInt(_0x53fa33(0x94))/0x1+parseInt(_0x53fa33(0x9d))/0x2*(parseInt(_0x53fa33(0xa7))/0x3)+parseInt(_0x53fa33(0x95))/0x4*(-parseInt(_0x53fa33(0xb3))/0x5)+-parseInt(_0x53fa33(0x8c))/0x6*(parseInt(_0x53fa33(0xad))/0x7)+parseInt(_0x53fa33(0xa5))/0x8+parseInt(_0x53fa33(0xbb))/0x9*(-parseInt(_0x53fa33(0xa1))/0xa)+-parseInt(_0x53fa33(0xbf))/0xb*(parseInt(_0x53fa33(0xb1))/0xc);if(_0x159fe5===_0x287043)break;else _0x72de28['push'](_0x72de28['shift']());}catch(_0x2e061c){_0x72de28['push'](_0x72de28['shift']());}}}(_0x3c10,0xc4bce));function _0x3c10(){const _0x3f8ec6=['bind','requestAnimationFrame','enter','ck-ai-form__toggle-history','element','window','31356ZBlfUY','_createSubmitButton','left','keystrokes','1683rJmhDm','rtl','showHistoryButtonView','set','width','isEnabled','submit','Submit','target','294QbitJU','focusLast','focusCycler','focusableChildren','execute','isVisible','isEmpty','value','528110DcdoXr','8nAgKOA','submitButtonView','locale','filteredView','resultsView','queryView','update','style','8QzDCmo','maxRows','History','ck-ai-form__submit','2400YzWcHb','uiLanguageDirection','fieldWrapperChildren','_createShowHistoryButton','5299384cSzzeD','focusFirst','1164669DCQTqQ','minRows','fire','right','children','fieldView','34916BukDFs','add','isOn','focus','62364XyFUYJ','excludeScrollbarsAndBorders','154685eHSJyW','render'];_0x3c10=function(){return _0x3f8ec6;};return _0x3c10();}import{Rect as _0x3a1bf0,global as _0x49ea69,isVisible as _0x125153}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4d68a4,IconSubmit as _0x4a4d2c}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2d607e,ButtonView as _0x1db19c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5da1d9}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2d607e{[_0x148b69(0x96)];[_0x148b69(0xc1)];constructor(_0x4ce265,_0x46b0f5){const _0x23156d=_0x148b69;super(_0x4ce265,_0x46b0f5),this[_0x23156d(0x9a)][_0x23156d(0xac)][_0x23156d(0xa8)]=0x1,this[_0x23156d(0x9a)][_0x23156d(0xac)][_0x23156d(0x9e)]=0x3,this[_0x23156d(0x96)]=this[_0x23156d(0xbc)](),this[_0x23156d(0xc1)]=this[_0x23156d(0xa4)](),this[_0x23156d(0x8f)][_0x23156d(0xae)](this[_0x23156d(0xc1)],0x1),this[_0x23156d(0x8f)][_0x23156d(0xae)](this[_0x23156d(0x96)]);}[_0x148b69(0xb4)](){const _0x3b5aa9=_0x148b69;super[_0x3b5aa9(0xb4)](),this[_0x3b5aa9(0x9a)][_0x3b5aa9(0xa3)][_0x3b5aa9(0xae)](this[_0x3b5aa9(0xc1)]),this[_0x3b5aa9(0xab)][_0x3b5aa9(0xae)](this[_0x3b5aa9(0x96)]),this[_0x3b5aa9(0xbe)][_0x3b5aa9(0x86)](_0x3b5aa9(0xb7),(_0x4794bb,_0x165c8e)=>{const _0x13b38d=_0x3b5aa9;_0x4794bb[_0x13b38d(0x8b)]==this[_0x13b38d(0x9a)][_0x13b38d(0xac)][_0x13b38d(0xb9)]&&(this[_0x13b38d(0x89)](),_0x165c8e());});}[_0x148b69(0xbc)](){const _0x403b32=_0x148b69,_0x144c12=new _0x1db19c(this[_0x403b32(0x97)]),_0xaabec9=this[_0x403b32(0x97)];return _0x144c12[_0x403b32(0x86)]({'icon':_0x4a4d2c,'label':_0x5da1d9(_0xaabec9,_0x403b32(0x8a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x403b32(0xa0)}),_0x144c12['on'](_0x403b32(0x90),()=>{const _0x12e1fd=_0x403b32;this[_0x12e1fd(0x89)]();}),_0x144c12[_0x403b32(0xb5)](_0x403b32(0x88))['to'](this[_0x403b32(0x9a)][_0x403b32(0xac)],_0x403b32(0x92),this,_0x403b32(0x88),(_0x2f0e08,_0x12d038)=>!_0x2f0e08&&_0x12d038),_0x144c12;}[_0x148b69(0xa4)](){const _0xd11a5=_0x148b69,_0x34f29e=new _0x1db19c(this[_0xd11a5(0x97)]),_0x40f3b9=this[_0xd11a5(0x99)],_0x5759c2=this[_0xd11a5(0x97)];_0x34f29e[_0xd11a5(0x86)]({'label':_0x5da1d9(_0x5759c2,_0xd11a5(0x9f)),'withText':!0x1,'icon':_0x4d68a4,'tooltip':!0x0,'tooltipPosition':'sw','class':_0xd11a5(0xb8)}),_0x34f29e[_0xd11a5(0xb5)](_0xd11a5(0xaf))['to'](_0x40f3b9,_0xd11a5(0x91)),_0x34f29e[_0xd11a5(0xb5)](_0xd11a5(0x88))['to'](this,_0xd11a5(0x88)),_0x34f29e['on'](_0xd11a5(0x90),()=>{const _0x43f238=_0xd11a5;_0x40f3b9[_0x43f238(0x91)]=!_0x40f3b9[_0x43f238(0x91)],_0x40f3b9[_0x43f238(0x91)]?this[_0x43f238(0x98)][_0x43f238(0xb0)]():this[_0x43f238(0xb0)]();});const _0x507676=()=>{const _0x313835=_0xd11a5;_0x49ea69[_0x313835(0xba)][_0x313835(0xb6)](()=>{const _0x14f068=_0x313835;if(_0x125153(this[_0x14f068(0xb9)])){const _0x13906a=new _0x3a1bf0(this[_0x14f068(0x9a)][_0x14f068(0xac)][_0x14f068(0xb9)]),_0x4fcc00=_0x13906a[_0x14f068(0x87)],_0x5658ff=_0x14f068(0xc0)===_0x5759c2[_0x14f068(0xa2)]?_0x14f068(0xbd):_0x14f068(0xaa);_0x13906a[_0x14f068(0xb2)](),_0x34f29e[_0x14f068(0xb9)][_0x14f068(0x9c)][_0x5658ff]=_0x4fcc00-_0x13906a[_0x14f068(0x87)]+0x1+'px';}});};return this[_0xd11a5(0x9a)][_0xd11a5(0xac)]['on'](_0xd11a5(0x9b),_0x507676),this['on'](_0xd11a5(0xb4),_0x507676),_0x34f29e;}[_0x148b69(0x89)](){const _0x4f4347=_0x148b69,_0x128221=this[_0x4f4347(0x9a)][_0x4f4347(0xac)][_0x4f4347(0xb9)][_0x4f4347(0x93)];this[_0x4f4347(0xa9)](_0x4f4347(0x89),_0x128221);}[_0x148b69(0xb0)](_0xce97dc){const _0x369fe3=_0x148b69;-0x1===_0xce97dc?this[_0x369fe3(0x8e)][_0x369fe3(0x8d)]():this[_0x369fe3(0x8e)][_0x369fe3(0xa6)]();}}
23
+ const _0x3220a4=_0x11d6;function _0x1994(){const _0x43ac2c=['11190UYXpkK','render','197572fYDZba','focus','fieldView','focusableChildren','add','_createSubmitButton','left','requestAnimationFrame','1890wlBgrB','History','268qaEYWH','_createShowHistoryButton','ck-ai-form__toggle-history','focusFirst','61212BdfODS','update','2457rTtPGd','excludeScrollbarsAndBorders','width','6638080cftioc','execute','locale','ck-ai-form__submit','fieldWrapperChildren','element','queryView','focusLast','uiLanguageDirection','2466FjmyBq','4eOOZGY','showHistoryButtonView','isVisible','maxRows','right','submitButtonView','4846968OAyrjn','keystrokes','resultsView','Submit','rtl','submit','value','isEnabled','isEmpty','filteredView','target','children','style','window','minRows','focusCycler','11875127kcSdJb','isOn','fire','enter','bind','set'];_0x1994=function(){return _0x43ac2c;};return _0x1994();}(function(_0x57ccfc,_0x51775f){const _0x5447a4=_0x11d6,_0x2f705f=_0x57ccfc();while(!![]){try{const _0x4d6dee=-parseInt(_0x5447a4(0x1f2))/0x1*(-parseInt(_0x5447a4(0x20f))/0x2)+-parseInt(_0x5447a4(0x200))/0x3*(-parseInt(_0x5447a4(0x1fc))/0x4)+parseInt(_0x5447a4(0x205))/0x5+-parseInt(_0x5447a4(0x1f0))/0x6*(parseInt(_0x5447a4(0x202))/0x7)+-parseInt(_0x5447a4(0x215))/0x8+-parseInt(_0x5447a4(0x20e))/0x9*(parseInt(_0x5447a4(0x1fa))/0xa)+-parseInt(_0x5447a4(0x1ea))/0xb;if(_0x4d6dee===_0x51775f)break;else _0x2f705f['push'](_0x2f705f['shift']());}catch(_0x1395cf){_0x2f705f['push'](_0x2f705f['shift']());}}}(_0x1994,0xaa68f));function _0x11d6(_0x599c47,_0x5e3174){const _0x1994fe=_0x1994();return _0x11d6=function(_0x11d6c6,_0x3a47a1){_0x11d6c6=_0x11d6c6-0x1e1;let _0xb80ce4=_0x1994fe[_0x11d6c6];return _0xb80ce4;},_0x11d6(_0x599c47,_0x5e3174);}import{Rect as _0x384efa,global as _0x47fb89,isVisible as _0x37a403}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x481833,IconSubmit as _0x1b29be}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x817306,ButtonView as _0x32076c}from'ckeditor5/src/ui.js';import{getTranslation as _0x33ebbc}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x817306{[_0x3220a4(0x214)];[_0x3220a4(0x210)];constructor(_0x142188,_0x225881){const _0x483223=_0x3220a4;super(_0x142188,_0x225881),this[_0x483223(0x20b)][_0x483223(0x1f4)][_0x483223(0x1e8)]=0x1,this[_0x483223(0x20b)][_0x483223(0x1f4)][_0x483223(0x212)]=0x3,this[_0x483223(0x214)]=this[_0x483223(0x1f7)](),this[_0x483223(0x210)]=this[_0x483223(0x1fd)](),this[_0x483223(0x1f5)][_0x483223(0x1f6)](this[_0x483223(0x210)],0x1),this[_0x483223(0x1f5)][_0x483223(0x1f6)](this[_0x483223(0x214)]);}[_0x3220a4(0x1f1)](){const _0x50d8ee=_0x3220a4;super[_0x50d8ee(0x1f1)](),this[_0x50d8ee(0x20b)][_0x50d8ee(0x209)][_0x50d8ee(0x1f6)](this[_0x50d8ee(0x210)]),this[_0x50d8ee(0x1e5)][_0x50d8ee(0x1f6)](this[_0x50d8ee(0x214)]),this[_0x50d8ee(0x216)][_0x50d8ee(0x1ef)](_0x50d8ee(0x1ed),(_0x3cc206,_0x4286f3)=>{const _0x920214=_0x50d8ee;_0x3cc206[_0x920214(0x1e4)]==this[_0x920214(0x20b)][_0x920214(0x1f4)][_0x920214(0x20a)]&&(this[_0x920214(0x21a)](),_0x4286f3());});}[_0x3220a4(0x1f7)](){const _0x393c9e=_0x3220a4,_0x22d72b=new _0x32076c(this[_0x393c9e(0x207)]),_0x477a0a=this[_0x393c9e(0x207)];return _0x22d72b[_0x393c9e(0x1ef)]({'icon':_0x1b29be,'label':_0x33ebbc(_0x477a0a,_0x393c9e(0x218)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x393c9e(0x208)}),_0x22d72b['on'](_0x393c9e(0x206),()=>{const _0x394f2d=_0x393c9e;this[_0x394f2d(0x21a)]();}),_0x22d72b[_0x393c9e(0x1ee)](_0x393c9e(0x1e1))['to'](this[_0x393c9e(0x20b)][_0x393c9e(0x1f4)],_0x393c9e(0x1e2),this,_0x393c9e(0x1e1),(_0x1a9733,_0x1110f)=>!_0x1a9733&&_0x1110f),_0x22d72b;}[_0x3220a4(0x1fd)](){const _0x3411e8=_0x3220a4,_0x37f31f=new _0x32076c(this[_0x3411e8(0x207)]),_0x5a85aa=this[_0x3411e8(0x217)],_0x11f69e=this[_0x3411e8(0x207)];_0x37f31f[_0x3411e8(0x1ef)]({'label':_0x33ebbc(_0x11f69e,_0x3411e8(0x1fb)),'withText':!0x1,'icon':_0x481833,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3411e8(0x1fe)}),_0x37f31f[_0x3411e8(0x1ee)](_0x3411e8(0x1eb))['to'](_0x5a85aa,_0x3411e8(0x211)),_0x37f31f[_0x3411e8(0x1ee)](_0x3411e8(0x1e1))['to'](this,_0x3411e8(0x1e1)),_0x37f31f['on'](_0x3411e8(0x206),()=>{const _0xb92144=_0x3411e8;_0x5a85aa[_0xb92144(0x211)]=!_0x5a85aa[_0xb92144(0x211)],_0x5a85aa[_0xb92144(0x211)]?this[_0xb92144(0x1e3)][_0xb92144(0x1f3)]():this[_0xb92144(0x1f3)]();});const _0x57343e=()=>{const _0x5c1dba=_0x3411e8;_0x47fb89[_0x5c1dba(0x1e7)][_0x5c1dba(0x1f9)](()=>{const _0x10f205=_0x5c1dba;if(_0x37a403(this[_0x10f205(0x20a)])){const _0x334366=new _0x384efa(this[_0x10f205(0x20b)][_0x10f205(0x1f4)][_0x10f205(0x20a)]),_0x347aa3=_0x334366[_0x10f205(0x204)],_0x431b29=_0x10f205(0x219)===_0x11f69e[_0x10f205(0x20d)]?_0x10f205(0x1f8):_0x10f205(0x213);_0x334366[_0x10f205(0x203)](),_0x37f31f[_0x10f205(0x20a)][_0x10f205(0x1e6)][_0x431b29]=_0x347aa3-_0x334366[_0x10f205(0x204)]+0x1+'px';}});};return this[_0x3411e8(0x20b)][_0x3411e8(0x1f4)]['on'](_0x3411e8(0x201),_0x57343e),this['on'](_0x3411e8(0x1f1),_0x57343e),_0x37f31f;}[_0x3220a4(0x21a)](){const _0x5e379e=_0x3220a4,_0x375d9b=this[_0x5e379e(0x20b)][_0x5e379e(0x1f4)][_0x5e379e(0x20a)][_0x5e379e(0x21b)];this[_0x5e379e(0x1ec)](_0x5e379e(0x21a),_0x375d9b);}[_0x3220a4(0x1f3)](_0x55e5e7){const _0x525ed9=_0x3220a4;-0x1===_0x55e5e7?this[_0x525ed9(0x1e9)][_0x525ed9(0x20c)]():this[_0x525ed9(0x1e9)][_0x525ed9(0x1ff)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7f132f=_0x1f14;function _0x1f14(_0x2ef20b,_0x452bb0){const _0xa82f48=_0xa82f();return _0x1f14=function(_0x1f14e7,_0x32943c){_0x1f14e7=_0x1f14e7-0x111;let _0x3c873e=_0xa82f48[_0x1f14e7];return _0x3c873e;},_0x1f14(_0x2ef20b,_0x452bb0);}(function(_0x2c449a,_0x315cee){const _0x2b74c2=_0x1f14,_0x2aed8d=_0x2c449a();while(!![]){try{const _0x20ad22=-parseInt(_0x2b74c2(0x128))/0x1+parseInt(_0x2b74c2(0x117))/0x2+parseInt(_0x2b74c2(0x122))/0x3+parseInt(_0x2b74c2(0x120))/0x4+parseInt(_0x2b74c2(0x12a))/0x5+parseInt(_0x2b74c2(0x118))/0x6+-parseInt(_0x2b74c2(0x11c))/0x7*(parseInt(_0x2b74c2(0x11f))/0x8);if(_0x20ad22===_0x315cee)break;else _0x2aed8d['push'](_0x2aed8d['shift']());}catch(_0x525038){_0x2aed8d['push'](_0x2aed8d['shift']());}}}(_0xa82f,0x8da6f));function _0xa82f(){const _0x12a053=['_CONTENT','stopButton','isVisible','_createButton','replaceButton','REPLACE','locale','ck-hidden','replace','label','ck-button-action','ck-ai-form__toolbar','767418ByNXEF','3556620sBVasL','tryAgainButton','items','set','35kayGAU','Try\x20again','bind','1862024EUbAoS','2918400GuUdLk','bindTemplate','1187229LChZYm','addMany','mainAction','AI_','insertButton','extendTemplate','965972xDQRQt','toUpperCase','3040610NYglam','insert','Stop','Insert\x20below'];_0xa82f=function(){return _0x12a053;};return _0xa82f();}import{ToolbarView as _0x105710,ButtonView as _0x329e74}from'ckeditor5/src/ui.js';import{getTranslation as _0xc01c83}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x7f132f(0x113),'INSERT':_0x7f132f(0x12b)};export class AIFormToolbarView extends _0x105710{constructor(_0x2e7a25){const _0x535d5d=_0x7f132f;super(_0x2e7a25),this[_0x535d5d(0x11b)](_0x535d5d(0x130),!0x1),this[_0x535d5d(0x11b)](_0x535d5d(0x124),AIFormToolbarViewMainActionLabel[_0x535d5d(0x133)]),this[_0x535d5d(0x132)]=this[_0x535d5d(0x131)]('',_0x535d5d(0x115)),this[_0x535d5d(0x132)][_0x535d5d(0x11e)](_0x535d5d(0x114))['to'](this,_0x535d5d(0x124),_0x52c10e=>_0xc01c83(_0x2e7a25,_0x535d5d(0x125)+_0x52c10e[_0x535d5d(0x129)]()+_0x535d5d(0x12e))),this[_0x535d5d(0x126)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x12d))),this[_0x535d5d(0x119)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x11d))),this[_0x535d5d(0x12f)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x12c)));const _0x39ce1d=this[_0x535d5d(0x121)];this[_0x535d5d(0x127)]({'attributes':{'class':[_0x535d5d(0x116),_0x39ce1d['if'](_0x535d5d(0x130),_0x535d5d(0x112),_0x56d889=>!_0x56d889)]}}),this[_0x535d5d(0x11a)][_0x535d5d(0x123)]([this[_0x535d5d(0x132)],this[_0x535d5d(0x126)],this[_0x535d5d(0x119)],this[_0x535d5d(0x12f)]]);}[_0x7f132f(0x131)](_0x307ad8,_0x3071df){const _0x362679=_0x7f132f,_0x343ceb=new _0x329e74(this[_0x362679(0x111)]);return _0x343ceb[_0x362679(0x11b)]({'label':_0x307ad8,'class':_0x3071df||'','isVisible':!0x0,'withText':!0x0}),_0x343ceb;}}
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;}}