@ckeditor/ckeditor5-ai 47.0.0-alpha.4 → 47.0.0-alpha.5

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 (289) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +10 -1
  3. package/dist/index.css +10 -1
  4. package/dist/index.js +4 -4
  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/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesview.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/aichat/utils/scrollmanager.js +1 -1
  214. package/src/aichathistory/aichathistory.js +1 -1
  215. package/src/aichathistory/aichathistorycontroller.js +1 -1
  216. package/src/aichathistory/aichathistoryui.js +1 -1
  217. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  218. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  219. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  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/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aiquickactions/aiquickactions.js +1 -1
  250. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  251. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  252. package/src/aiquickactions/aiquickactionsui.js +1 -1
  253. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  256. package/src/aiquickactions/utils/common-translations.js +1 -1
  257. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  258. package/src/aireviewmode/aireviewmode.js +1 -1
  259. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  260. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  261. package/src/aireviewmode/aireviewmodeui.js +1 -1
  262. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  264. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  268. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  280. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/index.js +1 -1
  289. package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x99128=_0x1a92;(function(_0x40aefa,_0x1fd761){const _0x303528=_0x1a92,_0x3c03e9=_0x40aefa();while(!![]){try{const _0x2e50cf=-parseInt(_0x303528(0xd3))/0x1*(parseInt(_0x303528(0x84))/0x2)+parseInt(_0x303528(0x11c))/0x3+-parseInt(_0x303528(0xc4))/0x4+-parseInt(_0x303528(0xd0))/0x5+-parseInt(_0x303528(0xd4))/0x6+parseInt(_0x303528(0x125))/0x7*(parseInt(_0x303528(0x11d))/0x8)+-parseInt(_0x303528(0xec))/0x9*(parseInt(_0x303528(0x111))/0xa);if(_0x2e50cf===_0x1fd761)break;else _0x3c03e9['push'](_0x3c03e9['shift']());}catch(_0xa47256){_0x3c03e9['push'](_0x3c03e9['shift']());}}}(_0x51ad,0x4bc45));import{Plugin as _0x5782a2}from'ckeditor5/src/core.js';function _0x1a92(_0x2d81b2,_0x3527a7){const _0x51ad29=_0x51ad();return _0x1a92=function(_0x1a92f9,_0x142ad0){_0x1a92f9=_0x1a92f9-0x80;let _0x2fa4a4=_0x51ad29[_0x1a92f9];return _0x2fa4a4;},_0x1a92(_0x2d81b2,_0x3527a7);}import{IconMagicWand as _0x1d2529,IconRobotPencil as _0x50d794}from'ckeditor5/src/icons.js';import{first as _0x10acd5,CKEditorError as _0xdedca4}from'ckeditor5/src/utils.js';import{createDropdown as _0x3e2fbd,addMenuToDropdown as _0x386107,ButtonView as _0x556107,MenuBarMenuListItemButtonView as _0x3779a9,Dialog as _0x3dce9e,DialogViewPosition as _0x1db7a1,MenuBarMenuView as _0x337e20,MenuBarMenuListView as _0x908e98,MenuBarMenuListItemView as _0x17731e}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x56ed73,UNGROUPED_COMMANDS_GROUP_ID as _0x32534a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3c4c62}from'./aiassistantediting.js';import{AIAdapter as _0x324ec0}from'./adapters/aiadapter.js';import{getTranslation as _0x4ae4f2}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x32b20e}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1fcfe0}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x530bf2}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2df4cd}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0x51ad(){const _0x466edd=['AI\x20Assistant','licenseKey','define','plugins','showUI','schema','polite','focus','110600xPRHAt','_initView','buttonView','delegate','editor','ai-commands-config-order-collision','comment','</p>','AIAssistantUI','panelView','queryView','1728330nKJGLw','3564928LENZrn','isCollapsed','push','groupId','init','requires','getSelectedBlocks','values','7gOcfuu','_getMenuBarGroupButtons','getRanges','_commandDefinitions','_showLicenseError','isOn','showFakeVisualSelection','update','_dialog','updateView','set','currentContext','aiLicenseKeyNotAllowed','isOfficialPlugin','hideFakeVisualSelection','1362BbeLaq','text','listenTo','view','tableOfContents','aiLicenseKeyInvalid','commands','_createAIAssistantUIButton','menuBar:aiAssistant','componentFactory','isEnabled','ai.assistant.contentAreaCssClass','updatePosition','Generated\x20content:\x20%0','buttons','_aiAdapter','change:isProcessing','forEach','replace','map','evaluationLimit','sort','AIAssistant','getLimitElement','splice','insertContentBelow','menuitemcheckbox','domainLimit','editing','trim','<p>','body','ck-ai-assistant-ui','change:enabledCommandsIds','change:value','once','children','_licenseKeyCheckInterval','_forceMarkersCopy','_uiCssClasses','config','copy','media','locale','source','_getResolvedCommandsDefinitions','ai.assistant.commands','pluginName','fire','includes','items','isFlat','ck-ai-assistant-button\x20','bind','DataTransfer','destroy','contentArea','announce','aiLicenseKeyExpired','\x20ck-ai-assistant-ui_theme','setSelection','_aiAssistantController','hideUI','expired','880276ssfCcV','featureNotAllowed','selection','INSERT','Error\x20during\x20AI\x20content\x20generation:\x20%0','isPremiumPlugin','aiLicenseKeyDomainLimit','prompt','model','groupLabel','show','aiLicenseKeyUsageLimit','218370TrXrHF','fieldView','AI\x20is\x20writing','155CTTHDQ','260802ZrJEuS','order','filter','addMany','aiLicenseKeyEvaluationLimit','showAIAssistant','getSelectedElement','invalid','errorView','execute','_populateMenuBarMenu','document','insertContent','REPLACE','aiLicenseKeyValid','hide','trialLimit','textAdapter','change:isError','_onExecute','render','custom','text/html','aiAssistant','243jEfzSd','menuView','ai.assistant.useTheme','ai.assistant.disabledElements','getData','replaceContent','command:','AI\x20Commands','_initAriaAiStatusChangeAnnouncements','from','aiLicenseKeyTrialLimit','ck-ai-commands-dropdown\x20','change','_formView','wasMoved','promptView','reset','get','label','EDITOR_TOP_SIDE','length','rawHtml','requiresContent','add','menuPanelClass','aiCommands','menuBar:aiCommands','enabledCommandsIds','usageLimit'];_0x51ad=function(){return _0x466edd;};return _0x51ad();}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const O=globalThis[_0x99128(0xba)];import{ClipboardMarkersUtils as _0x2c973f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x35c322,ViewDataTransfer as _0x504261}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x5782a2{[_0x99128(0x10a)];[_0x99128(0xa9)];[_0x99128(0x12d)];[_0x99128(0xf9)];[_0x99128(0x93)];[_0x99128(0xc1)];[_0x99128(0xab)]='';static get[_0x99128(0xb3)](){const _0x4fcf52=_0x99128;return _0x4fcf52(0x119);}static get[_0x99128(0x82)](){return!0x0;}static get[_0x99128(0xc9)](){return!0x0;}static get[_0x99128(0x122)](){return[_0x2c973f,_0x3c4c62,_0x324ec0,_0x3dce9e];}constructor(_0x45b355){const _0x29b0c9=_0x99128;super(_0x45b355),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0xef),[_0x29b0c9(0xae),_0x29b0c9(0x101),_0x29b0c9(0x88)]),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0x8f),''),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0xee),!0x0),this[_0x29b0c9(0xab)]=_0x29b0c9(0xa4)+(_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0xfd)](_0x29b0c9(0xee))?_0x29b0c9(0xbf):'');}[_0x99128(0x121)](){const _0x2e6ea1=_0x99128,{editor:_0xb27179}=this;this[_0x2e6ea1(0x93)]=_0xb27179[_0x2e6ea1(0x10c)][_0x2e6ea1(0xfd)](_0x324ec0),this[_0x2e6ea1(0x12d)]=_0xb27179[_0x2e6ea1(0x10c)][_0x2e6ea1(0xfd)](_0x3dce9e),this[_0x2e6ea1(0xf9)]=null,this[_0x2e6ea1(0x128)]=this[_0x2e6ea1(0xb1)]();const _0x5f5115=new _0x32b20e(_0xb27179,Array[_0x2e6ea1(0xf5)](this[_0x2e6ea1(0x128)][_0x2e6ea1(0x124)]()));_0xb27179[_0x2e6ea1(0x8a)][_0x2e6ea1(0x103)](_0x2e6ea1(0xd9),_0x5f5115),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x105),_0x35a57f=>{const _0x1d876c=_0x2e6ea1,_0x2a63b8=_0x3e2fbd(_0x35a57f);return _0x2a63b8[_0x1d876c(0x12f)]({'class':_0x1d876c(0xf7)+this[_0x1d876c(0xab)]}),_0x2a63b8[_0x1d876c(0x113)][_0x1d876c(0x12f)]({'label':_0x4ae4f2(_0x35a57f,_0x1d876c(0xf3)),'icon':_0x1d2529,'tooltip':!0x0}),_0x2a63b8['on'](_0x1d876c(0xdd),_0x6b007d=>this[_0x1d876c(0xe7)](_0x6b007d[_0x1d876c(0xb0)]['id'])),_0x386107(_0x2a63b8,_0xb27179['ui'][_0x1d876c(0x87)][_0x1d876c(0xa3)],function(_0x1f8416){const _0x3f7f34=_0x1d876c,_0x2263ed=_0x56ed73(_0x1f8416[_0x3f7f34(0xac)][_0x3f7f34(0xfd)](_0x3f7f34(0xb2)),_0x1f8416[_0x3f7f34(0xaf)]),_0x4bdd41=W(_0x1f8416,_0x2263ed)[_0x3f7f34(0xd6)](_0x5fae4f=>_0x5fae4f[_0x3f7f34(0x8a)][_0x3f7f34(0x100)]);if(0x1===_0x4bdd41[_0x3f7f34(0x100)])return W(_0x1f8416,_0x4bdd41[0x0][_0x3f7f34(0x8a)])[_0x3f7f34(0x97)](_0x5d55d8=>({'id':_0x5d55d8['id'],'label':_0x5d55d8[_0x3f7f34(0xfe)]}));return _0x4bdd41[_0x3f7f34(0x97)](_0x97af6d=>{const _0x172dc9=_0x3f7f34,{groupId:_0x2eaed3,groupLabel:_0x134d4c,commands:_0x1e44d8}=_0x97af6d,_0x494e33=W(_0x1f8416,_0x1e44d8)[_0x172dc9(0x97)](_0x215b99=>({'id':_0x215b99['id'],'label':_0x215b99[_0x172dc9(0xfe)]}));return{'id':_0x2eaed3,'menu':_0x134d4c||_0x2eaed3,'children':_0x494e33};});}(_0xb27179),{'ariaLabel':_0x4ae4f2(_0x35a57f,_0x1d876c(0xf3))}),_0x2a63b8[_0x1d876c(0xed)][_0x1d876c(0x104)]=_0x1d876c(0xf7)+this[_0x1d876c(0xab)],_0x5f5115['on'](_0x1d876c(0xa5),_0x198547),_0x2a63b8[_0x1d876c(0xed)][_0x1d876c(0xa7)](_0x1d876c(0xe8),_0x198547),_0x2a63b8;function _0x198547(){const _0x1a5221=_0x1d876c;_0x2a63b8[_0x1a5221(0x8e)]=_0x5f5115[_0x1a5221(0x107)][_0x1a5221(0x100)]>0x0;for(const _0x57f4f9 of _0x2a63b8[_0x1a5221(0xed)][_0x1a5221(0x92)])_0x57f4f9[_0x1a5221(0x8e)]=_0x5f5115[_0x1a5221(0x107)][_0x1a5221(0xb5)](_0x57f4f9['id']);}}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x106),_0x25531c=>{const _0x7d462=_0x2e6ea1,_0x39dd5a=new _0x337e20(_0x25531c);_0x39dd5a[_0x7d462(0x113)][_0x7d462(0x12f)]({'label':_0x4ae4f2(_0x25531c,_0x7d462(0xf3)),'icon':_0x1d2529}),_0x39dd5a[_0x7d462(0xb9)](_0x7d462(0x8e))['to'](_0x5f5115,_0x7d462(0x107),_0x77d1fd=>_0x77d1fd[_0x7d462(0x100)]>0x0);const _0x3778ab=_0x56ed73(_0xb27179[_0x7d462(0xac)][_0x7d462(0xfd)](_0x7d462(0xb2)),_0x25531c);return this[_0x7d462(0xde)](_0x5f5115,_0x39dd5a,_0x3778ab,_0x4a6e49=>this[_0x7d462(0xe7)](_0x4a6e49)),_0x39dd5a;}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0xeb),()=>{const _0x39349c=_0x2e6ea1,_0x1c81ce=this[_0x39349c(0x8b)](_0x556107);return _0x1c81ce[_0x39349c(0x12f)]({'tooltip':!0x0,'class':_0x39349c(0xb8)+this[_0x39349c(0xab)]}),_0x1c81ce;}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x8c),()=>{const _0x22863b=_0x2e6ea1,_0x4261ec=this[_0x22863b(0x8b)](_0x3779a9);return _0x4261ec[_0x22863b(0x12f)]({'role':_0x22863b(0x9e)}),_0x4261ec;}),this[_0x2e6ea1(0x10a)]=this[_0x2e6ea1(0x115)][_0x2e6ea1(0xac)][_0x2e6ea1(0xfd)](_0x2e6ea1(0x10a));const _0x14bad6=this[_0x2e6ea1(0x115)];this[_0x2e6ea1(0xa9)]=setInterval(()=>{const _0x47375a=_0x2e6ea1;let _0xf415a8;for(const _0x18d025 in _0x14bad6){const _0x415325=_0x18d025,_0x50cd0a=_0x14bad6[_0x415325];if(_0x47375a(0xe2)==_0x50cd0a||_0x47375a(0x89)==_0x50cd0a||_0x47375a(0xbe)==_0x50cd0a||_0x47375a(0xca)==_0x50cd0a||_0x47375a(0x81)==_0x50cd0a||_0x47375a(0xd8)==_0x50cd0a||_0x47375a(0xf6)==_0x50cd0a||_0x47375a(0xcf)==_0x50cd0a){delete _0x14bad6[_0x415325],_0xf415a8=_0x50cd0a,clearInterval(this[_0x47375a(0xa9)]),this[_0x47375a(0xa9)]=void 0x0;break;}}_0x47375a(0x89)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xdb)),_0x47375a(0xbe)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xc3)),_0x47375a(0xca)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x9f)),_0x47375a(0x81)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xc5),_0x47375a(0x9a)),_0x47375a(0xd8)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x98)),_0x47375a(0xf6)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xe4)),_0x47375a(0xcf)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x108));},0x3e8);}[_0x99128(0xbb)](){const _0x9377d2=_0x99128;super[_0x9377d2(0xbb)](),this[_0x9377d2(0xa9)]&&clearInterval(this[_0x9377d2(0xa9)]);}[_0x99128(0x10d)](_0x24ae4b='',_0x516c75='',_0x2ff27a=_0x99128(0xe9)){const _0x2d5585=_0x99128,_0x25cbb0=this[_0x2d5585(0x115)],_0x453b65=_0x25cbb0[_0x2d5585(0xa0)][_0x2d5585(0x87)],_0x212409=_0x25cbb0[_0x2d5585(0x10c)][_0x2d5585(0xfd)](_0x3c4c62),_0x138e05=_0x25cbb0[_0x2d5585(0x10c)][_0x2d5585(0xfd)](_0x2c973f);_0x212409[_0x2d5585(0x12b)]();const _0x293a9c=new O(),_0x2b99fb=new ClipboardEvent(_0x2d5585(0xad),{'clipboardData':_0x293a9c}),_0x2f93b5=new _0x504261(_0x293a9c),_0x4fa0fd=new _0x35c322(_0x453b65,_0x2b99fb,{'dataTransfer':_0x2f93b5});_0x138e05[_0x2d5585(0xaa)](_0x2d5585(0x117),()=>{const _0x248b44=_0x2d5585;_0x453b65[_0x248b44(0xdf)][_0x248b44(0xb4)](_0x248b44(0xad),_0x4fa0fd);}),this[_0x2d5585(0xf9)]||(this[_0x2d5585(0x112)](),this[_0x2d5585(0xc1)]=new _0x1fcfe0(_0x25cbb0,this[_0x2d5585(0x93)][_0x2d5585(0xe5)],this[_0x2d5585(0xf9)]));let _0x160932=_0x2f93b5[_0x2d5585(0xf0)](_0x2d5585(0xea));const _0x27451e=_0x25cbb0[_0x2d5585(0xcc)][_0x2d5585(0xdf)][_0x2d5585(0xc6)],_0x532a95=Array[_0x2d5585(0xf5)](_0x27451e[_0x2d5585(0x127)]());0x1===_0x532a95[_0x2d5585(0x100)]&&_0x532a95[0x0][_0x2d5585(0xb7)]&&!_0x27451e[_0x2d5585(0xda)]()&&''!==_0x160932[_0x2d5585(0x96)](/&nbsp;/g,'')[_0x2d5585(0xa1)]()&&(_0x160932=_0x2d5585(0xa2)+_0x160932+_0x2d5585(0x118)),this[_0x2d5585(0xc1)][_0x2d5585(0x12e)]({'actionId':_0x2ff27a,'query':_0x24ae4b,'htmlContent':_0x160932,'label':_0x516c75,'mainActionLabel':_0x2df4cd[_0x25cbb0[_0x2d5585(0xcc)][_0x2d5585(0xdf)][_0x2d5585(0xc6)][_0x2d5585(0x11e)]?_0x2d5585(0xc7):_0x2d5585(0xe1)]}),_0x2d5585(0xeb)!==this[_0x2d5585(0x12d)]['id']?this[_0x2d5585(0x12d)][_0x2d5585(0xce)]({'id':_0x2d5585(0xeb),'icon':_0x50d794,'title':_0x4ae4f2(this[_0x2d5585(0x115)][_0x2d5585(0xaf)],_0x2d5585(0x109)),'content':this[_0x2d5585(0xf9)],'position':_0x1db7a1[_0x2d5585(0xff)],'onShow':()=>{const _0x3fcf8e=_0x2d5585;this[_0x3fcf8e(0xf9)][_0x3fcf8e(0x110)]();},'onHide':()=>{const _0x4a0ffc=_0x2d5585;this[_0x4a0ffc(0xc1)][_0x4a0ffc(0xfc)](),_0x212409[_0x4a0ffc(0x83)]();}}):this[_0x2d5585(0x12d)][_0x2d5585(0x87)][_0x2d5585(0xfa)]||this[_0x2d5585(0x12d)][_0x2d5585(0x87)][_0x2d5585(0x90)]();}[_0x99128(0xc2)](){const _0x171f2b=_0x99128;this[_0x171f2b(0x12d)][_0x171f2b(0xe3)]();}[_0x99128(0xb1)](){const _0xc316c0=_0x99128,_0x480074=new Map(),_0x1e40a8=_0x56ed73(this[_0xc316c0(0x115)][_0xc316c0(0xac)][_0xc316c0(0xfd)](_0xc316c0(0xb2)),this[_0xc316c0(0x115)][_0xc316c0(0xaf)]);for(const _0x5cbf98 of _0x1e40a8)for(const _0x4f70c1 of _0x5cbf98[_0xc316c0(0x8a)])_0x480074[_0xc316c0(0x12f)](_0x4f70c1['id'],{..._0x4f70c1,'groupId':_0x5cbf98[_0xc316c0(0x120)],'groupLabel':_0x5cbf98[_0xc316c0(0xcd)]||_0x5cbf98[_0xc316c0(0x120)]});return _0x480074;}[_0x99128(0x8b)](_0xc2e424){const _0x2952c6=_0x99128,_0x50217c=this[_0x2952c6(0x115)],_0x36b3dc=_0x50217c[_0x2952c6(0x8a)][_0x2952c6(0xfd)](_0x2952c6(0xd9)),_0x24eb97=new _0xc2e424(_0x50217c[_0x2952c6(0xaf)]);return _0x24eb97[_0x2952c6(0x12f)]({'label':_0x4ae4f2(_0x50217c[_0x2952c6(0xaf)],_0x2952c6(0x109)),'icon':_0x50d794,'isToggleable':!0x0}),_0x24eb97[_0x2952c6(0xb9)](_0x2952c6(0x8e))['to'](_0x36b3dc),_0x24eb97[_0x2952c6(0xb9)](_0x2952c6(0x12a))['to'](this[_0x2952c6(0x12d)],'id',_0x123304=>_0x2952c6(0xeb)===_0x123304),this[_0x2952c6(0x86)](_0x24eb97,_0x2952c6(0xdd),()=>{const _0x95e36d=_0x2952c6;_0x24eb97[_0x95e36d(0x12a)]?this[_0x95e36d(0xc2)]():_0x36b3dc[_0x95e36d(0xdd)]();}),_0x24eb97;}[_0x99128(0x112)](){const _0x2a80db=_0x99128,_0x31f730=this[_0x2a80db(0x115)][_0x2a80db(0x10c)][_0x2a80db(0xfd)](_0x3c4c62);this[_0x2a80db(0xf9)]=new _0x530bf2(this[_0x2a80db(0x115)][_0x2a80db(0xaf)],this[_0x2a80db(0xab)],this[_0x2a80db(0x115)][_0x2a80db(0xac)][_0x2a80db(0xfd)](_0x2a80db(0x8f))),this[_0x2a80db(0xf9)]['on'](_0x2a80db(0xa6),()=>{const _0x49bd01=_0x2a80db;this[_0x49bd01(0x12d)][_0x49bd01(0x87)][_0x49bd01(0xfa)]||this[_0x49bd01(0x12d)][_0x49bd01(0x87)][_0x49bd01(0x90)]();}),this[_0x2a80db(0xf9)][_0x2a80db(0xfb)][_0x2a80db(0x11b)][_0x2a80db(0xd1)]['on'](_0x2a80db(0x12c),()=>{const _0x3c9181=_0x2a80db;this[_0x3c9181(0x12d)][_0x3c9181(0x87)][_0x3c9181(0xfa)]||this[_0x3c9181(0x12d)][_0x3c9181(0x87)][_0x3c9181(0x90)]();}),this[_0x2a80db(0x86)](this[_0x2a80db(0xf9)],_0x2a80db(0xf1),()=>{const _0x2442f8=_0x2a80db;_0x31f730[_0x2442f8(0xe0)](this[_0x2442f8(0xc1)][_0x2442f8(0x80)]),this[_0x2442f8(0xc2)]();}),this[_0x2a80db(0x86)](this[_0x2a80db(0xf9)],_0x2a80db(0x9d),()=>{const _0x4bcd3e=_0x2a80db;_0x31f730[_0x4bcd3e(0x9d)](this[_0x4bcd3e(0xc1)][_0x4bcd3e(0x80)]),this[_0x4bcd3e(0xc2)]();}),this[_0x2a80db(0xf4)]();}[_0x99128(0xf4)](){const _0x57303a=_0x99128,{locale:_0x35642f,ui:{ariaLiveAnnouncer:_0x11e542}}=this[_0x57303a(0x115)];this[_0x57303a(0xf9)][_0x57303a(0xbc)]['on'](_0x57303a(0x94),(_0x32d71a,_0x688caf,_0x136f38)=>{const _0x3be1f7=_0x57303a,_0x577ad9=this[_0x3be1f7(0xc1)][_0x3be1f7(0x80)];_0x136f38?_0x11e542[_0x3be1f7(0xbd)](_0x4ae4f2(_0x35642f,_0x3be1f7(0xd2))):_0x577ad9&&_0x11e542[_0x3be1f7(0xbd)](_0x4ae4f2(_0x35642f,_0x3be1f7(0x91),_0x577ad9),{'politeness':_0x3be1f7(0x10f),'isUnsafeHTML':!0x0});}),this[_0x57303a(0xf9)]['on'](_0x57303a(0xe6),(_0x4aee58,_0x3cbc9a,_0x379c05)=>{const _0xc8054a=_0x57303a;if(_0x379c05){const _0x2dbe8d=this[_0xc8054a(0xf9)][_0xc8054a(0xdc)][_0xc8054a(0x85)];_0x11e542[_0xc8054a(0xbd)](_0x4ae4f2(_0x35642f,_0xc8054a(0xc8),_0x2dbe8d));}});}[_0x99128(0xe7)](_0x361a8b){const _0x322417=_0x99128,_0x42f282=this[_0x322417(0x128)][_0x322417(0xfd)](_0x361a8b),_0x4ac251=this[_0x322417(0x115)],_0x5a23ec=_0x4ac251[_0x322417(0xcc)][_0x322417(0xdf)][_0x322417(0xc6)],_0x32261e=_0x4ac251[_0x322417(0x8a)][_0x322417(0xfd)](_0x322417(0xd9)),_0x575d67=_0x4ac251[_0x322417(0x10c)][_0x322417(0xfd)](_0x3c4c62),_0x289faa=''+(_0x42f282[_0x322417(0x120)]!==_0x32534a?_0x42f282[_0x322417(0xcd)]+':\x20':'')+_0x42f282[_0x322417(0xfe)];if(!0x1!==_0x42f282[_0x322417(0x102)]&&_0x5a23ec[_0x322417(0x11e)]){const _0x12b8a7=_0x10acd5(_0x5a23ec[_0x322417(0x123)]())||_0x4ac251[_0x322417(0xcc)][_0x322417(0x10e)][_0x322417(0x9b)](_0x5a23ec);_0x4ac251[_0x322417(0xcc)][_0x322417(0xf8)](_0x2a297f=>{const _0x37cc29=_0x322417;_0x2a297f[_0x37cc29(0xc0)](_0x12b8a7,'in');});}_0x575d67[_0x322417(0x12b)](),_0x32261e[_0x322417(0xdd)](_0x42f282[_0x322417(0xcb)],_0x289faa,_0x322417(0xf2)+_0x361a8b);}[_0x99128(0xde)](_0x4eb3a4,_0xa5081b,_0x3c11b3,_0x11cffe){const _0x529b04=_0x99128,_0xd010c1=this[_0x529b04(0x115)],_0x4d7cd7=_0xd010c1[_0x529b04(0xaf)],_0x1b5897=new _0x908e98(_0x4d7cd7),_0x8649fa=W(_0xd010c1,_0x3c11b3)[_0x529b04(0xd6)](_0x58f419=>_0x58f419[_0x529b04(0x8a)][_0x529b04(0x100)]);0x1===_0x8649fa[_0x529b04(0x100)]?this[_0x529b04(0x126)]({'command':_0x4eb3a4,'commands':_0x8649fa[0x0][_0x529b04(0x8a)],'parentMenuView':_0xa5081b,'onExecute':_0x11cffe})[_0x529b04(0x95)](_0x4f58d1=>_0x1b5897[_0x529b04(0xb6)][_0x529b04(0x103)](_0x4f58d1)):_0x8649fa[_0x529b04(0x95)](({groupId:_0x5e24d3,groupLabel:_0x3d1734,commands:_0x489e46})=>{const _0x340e77=_0x529b04,_0x30a507=new _0x17731e(_0x4d7cd7,_0xa5081b),_0x580168=new _0x337e20(_0x4d7cd7),_0x11ce43=new _0x908e98(_0x4d7cd7),_0x3c07b9=this[_0x340e77(0x126)]({'command':_0x4eb3a4,'commands':_0x489e46,'parentMenuView':_0x580168,'onExecute':_0x11cffe});_0x580168[_0x340e77(0x113)][_0x340e77(0x12f)]({'label':_0x3d1734||_0x5e24d3}),_0x580168[_0x340e77(0x114)](_0x340e77(0xdd))['to'](_0xa5081b),_0x11ce43[_0x340e77(0xb6)][_0x340e77(0xd7)](_0x3c07b9),_0x580168[_0x340e77(0x11a)][_0x340e77(0xa8)][_0x340e77(0x103)](_0x11ce43),_0x30a507[_0x340e77(0xa8)][_0x340e77(0x103)](_0x580168),_0x1b5897[_0x340e77(0xb6)][_0x340e77(0x103)](_0x30a507);}),_0xa5081b[_0x529b04(0x11a)][_0x529b04(0xa8)][_0x529b04(0x103)](_0x1b5897);}[_0x99128(0x126)]({command:_0x3aafdf,commands:_0x336379,parentMenuView:_0x34afac,onExecute:_0x11a82c}){const _0x292c0a=_0x99128,_0x2bd733=this[_0x292c0a(0x115)],_0x228c33=_0x2bd733[_0x292c0a(0xaf)];return W(_0x2bd733,_0x336379)[_0x292c0a(0x97)](_0x298e01=>{const _0xcdb24a=_0x292c0a,_0x342ff1=new _0x17731e(_0x228c33,_0x34afac),_0x166751=new _0x3779a9(_0x228c33);return _0x166751[_0xcdb24a(0x12f)]({'label':_0x298e01[_0xcdb24a(0xfe)]}),_0x166751[_0xcdb24a(0x114)](_0xcdb24a(0xdd))['to'](_0x34afac),_0x166751['on'](_0xcdb24a(0xdd),()=>_0x11a82c(_0x298e01['id'])),_0x166751[_0xcdb24a(0xb9)](_0xcdb24a(0x8e))['to'](_0x3aafdf,_0xcdb24a(0x107),_0x2048fe=>_0x2048fe[_0xcdb24a(0xb5)](_0x298e01['id'])),_0x342ff1[_0xcdb24a(0xa8)][_0xcdb24a(0x103)](_0x166751),_0x342ff1;});}}function Q(_0x56c350,_0xf1c416){const _0x5745b0=_0x99128;return void 0x0!==_0x56c350[_0x5745b0(0xd5)]&&void 0x0===_0xf1c416[_0x5745b0(0xd5)]?0x1:void 0x0===_0x56c350[_0x5745b0(0xd5)]&&void 0x0!==_0xf1c416[_0x5745b0(0xd5)]?-0x1:void 0x0!==_0x56c350[_0x5745b0(0xd5)]&&void 0x0!==_0xf1c416[_0x5745b0(0xd5)]?_0x56c350[_0x5745b0(0xd5)]-_0xf1c416[_0x5745b0(0xd5)]:0x0;}function W(_0x5363d9,_0x36323e){const _0x596cab=_0x99128;_0x36323e[_0x596cab(0x99)](Q);const _0x4fc8b4={},_0x54d46a=[];for(const _0xa39683 of _0x36323e)if(void 0x0!==_0xa39683[_0x596cab(0xd5)]){if(_0xa39683[_0x596cab(0xd5)]in _0x4fc8b4)throw new _0xdedca4(_0x596cab(0x116),_0x5363d9,{'conflictingDefinitions':[_0xa39683,_0x4fc8b4[_0xa39683[_0x596cab(0xd5)]]]});_0x4fc8b4[_0xa39683[_0x596cab(0xd5)]]=_0xa39683,_0x54d46a[_0x596cab(0x9c)](_0xa39683[_0x596cab(0xd5)],0x0,_0xa39683);}else _0x54d46a[_0x596cab(0x11f)](_0xa39683);return _0x54d46a;}
23
+ const _0x4ee336=_0x8f01;(function(_0x2b0d9c,_0xd1568e){const _0xde736c=_0x8f01,_0x51bec5=_0x2b0d9c();while(!![]){try{const _0x5931f1=parseInt(_0xde736c(0x132))/0x1+parseInt(_0xde736c(0x12d))/0x2+-parseInt(_0xde736c(0x11e))/0x3*(parseInt(_0xde736c(0xbf))/0x4)+-parseInt(_0xde736c(0xbe))/0x5+-parseInt(_0xde736c(0xee))/0x6+parseInt(_0xde736c(0xb4))/0x7*(parseInt(_0xde736c(0x9b))/0x8)+-parseInt(_0xde736c(0x10f))/0x9*(-parseInt(_0xde736c(0x129))/0xa);if(_0x5931f1===_0xd1568e)break;else _0x51bec5['push'](_0x51bec5['shift']());}catch(_0x68ba0){_0x51bec5['push'](_0x51bec5['shift']());}}}(_0x2b02,0x79205));import{Plugin as _0x1c81a1}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3b269c,IconRobotPencil as _0x15ee63}from'ckeditor5/src/icons.js';import{first as _0x1f9458,CKEditorError as _0x3a524f}from'ckeditor5/src/utils.js';function _0x8f01(_0x1e04fc,_0x191895){const _0x2b021d=_0x2b02();return _0x8f01=function(_0x8f01fe,_0x4c0690){_0x8f01fe=_0x8f01fe-0x95;let _0x578ab4=_0x2b021d[_0x8f01fe];return _0x578ab4;},_0x8f01(_0x1e04fc,_0x191895);}function _0x2b02(){const _0x167020=['<p>','add','length','ck-ai-commands-dropdown\x20','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','_aiAdapter','editing','prompt','aiAssistant','aiLicenseKeyDomainLimit','change','currentContext','requiresContent','locale','setSelection','replaceContent','230188hTJVTd','ai.assistant.disabledElements','aiLicenseKeyUsageLimit','bind','fieldView','aiLicenseKeyValid','_initAriaAiStatusChangeAnnouncements','ck-ai-assistant-button\x20','schema','selection','2780045NwrScm','1477284BNBBft','buttonView','showUI','trim','getSelectedElement','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','panelView','aiCommands','show','_showLicenseError','ai-commands-config-order-collision','textAdapter','AI\x20Commands','DataTransfer','insertContent','focus','editor','aiLicenseKeyNotAllowed','commands','tableOfContents','announce','_createAIAssistantUIButton','text/html','body','updatePosition','aiLicenseKeyExpired','rawHtml','AI\x20Assistant','ai.assistant.contentAreaCssClass','custom','getRanges','pluginName','groupLabel','comment','text','hideFakeVisualSelection','push','config','getLimitElement','componentFactory','change:enabledCommandsIds','_populateMenuBarMenu','evaluationLimit','insertContentBelow','AI\x20is\x20writing','showFakeVisualSelection','1278084OykaJl','destroy','_licenseKeyCheckInterval','REPLACE','values','from','trialLimit','errorView','_aiAssistantController','getSelectedBlocks','copy','contentArea','replace','includes','hide','children','update','usageLimit','domainLimit','isFlat','\x20ck-ai-assistant-ui_theme','menuBar:aiAssistant','_dialog','isOn','model','expired','menuBar:aiCommands','media','updateView','change:value','invalid','promptView','getData','387pefygs','forEach','INSERT','menuView','listenTo','reset','plugins','showAIAssistant','fire','_uiCssClasses','define','ai.assistant.commands','AIAssistant','isEnabled','_forceMarkersCopy','6dfqpWK','once','_formView','ai.assistant.useTheme','splice','view','groupId','_onExecute','change:isError','command:','buttons','169590ZgEyks','items','init','polite','751482TXydvA','order','change:isProcessing','document','isPremiumPlugin','635748MDuOfT','wasMoved','label','licenseKey','_getMenuBarGroupButtons','isCollapsed','menuPanelClass','_initView','_commandDefinitions','ck-ai-assistant-ui','render','</p>','execute','enabledCommandsIds','menuitemcheckbox','isOfficialPlugin','aiLicenseKeyInvalid','filter','Generated\x20content:\x20%0','sort','source','map','aiLicenseKeyEvaluationLimit','addMany','AIAssistantUI','64bFxGIU','set','aiLicenseKeyTrialLimit','requires','featureNotAllowed','delegate','get','hideUI'];_0x2b02=function(){return _0x167020;};return _0x2b02();}import{createDropdown as _0x48ed8f,addMenuToDropdown as _0xc8b089,ButtonView as _0x4dda3f,MenuBarMenuListItemButtonView as _0x605b16,Dialog as _0x784b75,DialogViewPosition as _0x3ad1b6,MenuBarMenuView as _0x4e7ddc,MenuBarMenuListView as _0x55b934,MenuBarMenuListItemView as _0x1eb618}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x126366,UNGROUPED_COMMANDS_GROUP_ID as _0x273dd1}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x28ab56}from'./aiassistantediting.js';import{AIAdapter as _0x2cd9b6}from'./adapters/aiadapter.js';import{getTranslation as _0x23477d}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x2af070}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x362133}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x1da840}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4486fe}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const it=globalThis[_0x4ee336(0xcd)];import{ClipboardMarkersUtils as _0x54b078}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3fbf86,ViewDataTransfer as _0x53237}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x1c81a1{[_0x4ee336(0x135)];[_0x4ee336(0xf0)];[_0x4ee336(0x104)];[_0x4ee336(0x120)];[_0x4ee336(0xa9)];[_0x4ee336(0xf6)];[_0x4ee336(0x118)]='';static get[_0x4ee336(0xdf)](){const _0x26ba21=_0x4ee336;return _0x26ba21(0x9a);}static get[_0x4ee336(0x141)](){return!0x0;}static get[_0x4ee336(0x131)](){return!0x0;}static get[_0x4ee336(0x9e)](){return[_0x54b078,_0x28ab56,_0x2cd9b6,_0x784b75];}constructor(_0x275dc5){const _0x296abe=_0x4ee336;super(_0x275dc5),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0xb5),[_0x296abe(0x109),_0x296abe(0xda),_0x296abe(0xd3)]),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0xdc),''),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0x121),!0x0),this[_0x296abe(0x118)]=_0x296abe(0x13b)+(_0x275dc5[_0x296abe(0xe5)][_0x296abe(0xa1)](_0x296abe(0x121))?_0x296abe(0x102):'');}[_0x4ee336(0x12b)](){const _0x11f076=_0x4ee336,{editor:_0xe1d3f1}=this;this[_0x11f076(0xa9)]=_0xe1d3f1[_0x11f076(0x115)][_0x11f076(0xa1)](_0x2cd9b6),this[_0x11f076(0x104)]=_0xe1d3f1[_0x11f076(0x115)][_0x11f076(0xa1)](_0x784b75),this[_0x11f076(0x120)]=null,this[_0x11f076(0x13a)]=this[_0x11f076(0xc5)]();const _0x26b7f8=new _0x2af070(_0xe1d3f1,Array[_0x11f076(0xf3)](this[_0x11f076(0x13a)][_0x11f076(0xf2)]()));_0xe1d3f1[_0x11f076(0xd2)][_0x11f076(0xa4)](_0x11f076(0x116),_0x26b7f8),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0xc7),_0x233371=>{const _0x3817fd=_0x11f076,_0x1f0b46=_0x48ed8f(_0x233371);return _0x1f0b46[_0x3817fd(0x9c)]({'class':_0x3817fd(0xa6)+this[_0x3817fd(0x118)]}),_0x1f0b46[_0x3817fd(0xc0)][_0x3817fd(0x9c)]({'label':_0x23477d(_0x233371,_0x3817fd(0xcc)),'icon':_0x3b269c,'tooltip':!0x0}),_0x1f0b46['on'](_0x3817fd(0x13e),_0x3bd2d3=>this[_0x3817fd(0x125)](_0x3bd2d3[_0x3817fd(0x96)]['id'])),_0xc8b089(_0x1f0b46,_0xe1d3f1['ui'][_0x3817fd(0x123)][_0x3817fd(0xd7)],function(_0x401ac6){const _0x32fa66=_0x3817fd,_0x3743d6=_0x126366(_0x401ac6[_0x32fa66(0xe5)][_0x32fa66(0xa1)](_0x32fa66(0x11a)),_0x401ac6[_0x32fa66(0xb1)]),_0x48a6fb=wi(_0x401ac6,_0x3743d6)[_0x32fa66(0x143)](_0xb71d9e=>_0xb71d9e[_0x32fa66(0xd2)][_0x32fa66(0xa5)]);if(0x1===_0x48a6fb[_0x32fa66(0xa5)])return wi(_0x401ac6,_0x48a6fb[0x0][_0x32fa66(0xd2)])[_0x32fa66(0x97)](_0x1c307b=>({'id':_0x1c307b['id'],'label':_0x1c307b[_0x32fa66(0x134)]}));return _0x48a6fb[_0x32fa66(0x97)](_0x147844=>{const _0x3c1b26=_0x32fa66,{groupId:_0x19b5b6,groupLabel:_0x3a428c,commands:_0x5628f4}=_0x147844,_0x3a26c8=wi(_0x401ac6,_0x5628f4)[_0x3c1b26(0x97)](_0x8bbd49=>({'id':_0x8bbd49['id'],'label':_0x8bbd49[_0x3c1b26(0x134)]}));return{'id':_0x19b5b6,'menu':_0x3a428c||_0x19b5b6,'children':_0x3a26c8};});}(_0xe1d3f1),{'ariaLabel':_0x23477d(_0x233371,_0x3817fd(0xcc))}),_0x1f0b46[_0x3817fd(0x112)][_0x3817fd(0x138)]=_0x3817fd(0xa6)+this[_0x3817fd(0x118)],_0x26b7f8['on'](_0x3817fd(0xe8),_0x3e55ea),_0x1f0b46[_0x3817fd(0x112)][_0x3817fd(0x11f)](_0x3817fd(0x13c),_0x3e55ea),_0x1f0b46;function _0x3e55ea(){const _0x4509f9=_0x3817fd;_0x1f0b46[_0x4509f9(0x11c)]=_0x26b7f8[_0x4509f9(0x13f)][_0x4509f9(0xa5)]>0x0;for(const _0x542599 of _0x1f0b46[_0x4509f9(0x112)][_0x4509f9(0x128)])_0x542599[_0x4509f9(0x11c)]=_0x26b7f8[_0x4509f9(0x13f)][_0x4509f9(0xfb)](_0x542599['id']);}}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0x108),_0x4fa21a=>{const _0x8897ca=_0x11f076,_0x14946b=new _0x4e7ddc(_0x4fa21a);_0x14946b[_0x8897ca(0xc0)][_0x8897ca(0x9c)]({'label':_0x23477d(_0x4fa21a,_0x8897ca(0xcc)),'icon':_0x3b269c}),_0x14946b[_0x8897ca(0xb7)](_0x8897ca(0x11c))['to'](_0x26b7f8,_0x8897ca(0x13f),_0x102dc7=>_0x102dc7[_0x8897ca(0xa5)]>0x0);const _0x355d9f=_0x126366(_0xe1d3f1[_0x8897ca(0xe5)][_0x8897ca(0xa1)](_0x8897ca(0x11a)),_0x4fa21a);return this[_0x8897ca(0xe9)](_0x26b7f8,_0x14946b,_0x355d9f,_0x574052=>this[_0x8897ca(0x125)](_0x574052)),_0x14946b;}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0xac),()=>{const _0x168fed=_0x11f076,_0x16a547=this[_0x168fed(0xd5)](_0x4dda3f);return _0x16a547[_0x168fed(0x9c)]({'tooltip':!0x0,'class':_0x168fed(0xbb)+this[_0x168fed(0x118)]}),_0x16a547;}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0x103),()=>{const _0x4f4f71=_0x11f076,_0x5671c9=this[_0x4f4f71(0xd5)](_0x605b16);return _0x5671c9[_0x4f4f71(0x9c)]({'role':_0x4f4f71(0x140)}),_0x5671c9;}),this[_0x11f076(0x135)]=this[_0x11f076(0xd0)][_0x11f076(0xe5)][_0x11f076(0xa1)](_0x11f076(0x135));const _0x581974=this[_0x11f076(0xd0)];this[_0x11f076(0xf0)]=setInterval(()=>{const _0x1cd50e=_0x11f076;let _0x339f6e;for(const _0x506c67 in _0x581974){const _0x202edd=_0x506c67,_0x4fdb57=_0x581974[_0x202edd];if(_0x1cd50e(0xb9)==_0x4fdb57||_0x1cd50e(0x142)==_0x4fdb57||_0x1cd50e(0xd9)==_0x4fdb57||_0x1cd50e(0xad)==_0x4fdb57||_0x1cd50e(0xd1)==_0x4fdb57||_0x1cd50e(0x98)==_0x4fdb57||_0x1cd50e(0x9d)==_0x4fdb57||_0x1cd50e(0xb6)==_0x4fdb57){delete _0x581974[_0x202edd],_0x339f6e=_0x4fdb57,clearInterval(this[_0x1cd50e(0xf0)]),this[_0x1cd50e(0xf0)]=void 0x0;break;}}_0x1cd50e(0x142)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x10c)),_0x1cd50e(0xd9)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x107)),_0x1cd50e(0xad)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x100)),_0x1cd50e(0xd1)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x9f),_0x1cd50e(0x11b)),_0x1cd50e(0x98)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xea)),_0x1cd50e(0x9d)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xf4)),_0x1cd50e(0xb6)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xff));},0x3e8);}[_0x4ee336(0xef)](){const _0x391698=_0x4ee336;super[_0x391698(0xef)](),this[_0x391698(0xf0)]&&clearInterval(this[_0x391698(0xf0)]);}[_0x4ee336(0xc1)](_0x49dc4a='',_0x5ab28c='',_0x2695d7=_0x4ee336(0xdd)){const _0x3e155=_0x4ee336,_0x147007=this[_0x3e155(0xd0)],_0x57b16e=_0x147007[_0x3e155(0xaa)][_0x3e155(0x123)],_0x1b4991=_0x147007[_0x3e155(0x115)][_0x3e155(0xa1)](_0x28ab56),_0x21445f=_0x147007[_0x3e155(0x115)][_0x3e155(0xa1)](_0x54b078);_0x1b4991[_0x3e155(0xed)]();const _0x45d5fd=new it(),_0x2c95a9=new ClipboardEvent(_0x3e155(0xf8),{'clipboardData':_0x45d5fd}),_0x49b255=new _0x53237(_0x45d5fd),_0x1f366b=new _0x3fbf86(_0x57b16e,_0x2c95a9,{'dataTransfer':_0x49b255});_0x21445f[_0x3e155(0x11d)](_0x3e155(0xe1),()=>{const _0x5cc1dd=_0x3e155;_0x57b16e[_0x5cc1dd(0x130)][_0x5cc1dd(0x117)](_0x5cc1dd(0xf8),_0x1f366b);}),this[_0x3e155(0x120)]||(this[_0x3e155(0x139)](),this[_0x3e155(0xf6)]=new _0x362133(_0x147007,this[_0x3e155(0xa9)][_0x3e155(0xcb)],this[_0x3e155(0x120)]));let _0x534a15=_0x49b255[_0x3e155(0x10e)](_0x3e155(0xd6));const _0x14dd82=_0x147007[_0x3e155(0x106)][_0x3e155(0x130)][_0x3e155(0xbd)],_0x5096c2=Array[_0x3e155(0xf3)](_0x14dd82[_0x3e155(0xde)]());0x1===_0x5096c2[_0x3e155(0xa5)]&&_0x5096c2[0x0][_0x3e155(0x101)]&&!_0x14dd82[_0x3e155(0xc3)]()&&''!==_0x534a15[_0x3e155(0xfa)](/&nbsp;/g,'')[_0x3e155(0xc2)]()&&(_0x534a15=_0x3e155(0xa3)+_0x534a15+_0x3e155(0x13d)),this[_0x3e155(0xf6)][_0x3e155(0x10a)]({'actionId':_0x2695d7,'query':_0x49dc4a,'htmlContent':_0x534a15,'label':_0x5ab28c,'mainActionLabel':_0x4486fe[_0x147007[_0x3e155(0x106)][_0x3e155(0x130)][_0x3e155(0xbd)][_0x3e155(0x137)]?_0x3e155(0x111):_0x3e155(0xf1)]}),_0x3e155(0xac)!==this[_0x3e155(0x104)]['id']?this[_0x3e155(0x104)][_0x3e155(0xc8)]({'id':_0x3e155(0xac),'icon':_0x15ee63,'title':_0x23477d(this[_0x3e155(0xd0)][_0x3e155(0xb1)],_0x3e155(0xdb)),'content':this[_0x3e155(0x120)],'position':_0x3ad1b6[_0x3e155(0xc4)],'onShow':()=>{const _0x55d947=_0x3e155;this[_0x55d947(0x120)][_0x55d947(0xcf)]();},'onHide':()=>{const _0x15e31f=_0x3e155;this[_0x15e31f(0xf6)][_0x15e31f(0x114)](),_0x1b4991[_0x15e31f(0xe3)]();}}):this[_0x3e155(0x104)][_0x3e155(0x123)][_0x3e155(0x133)]||this[_0x3e155(0x104)][_0x3e155(0x123)][_0x3e155(0xd8)]();}[_0x4ee336(0xa2)](){const _0x3f21d9=_0x4ee336;this[_0x3f21d9(0x104)][_0x3f21d9(0xfc)]();}[_0x4ee336(0xc5)](){const _0x564312=_0x4ee336,_0x5bf3eb=new Map(),_0x5e742c=_0x126366(this[_0x564312(0xd0)][_0x564312(0xe5)][_0x564312(0xa1)](_0x564312(0x11a)),this[_0x564312(0xd0)][_0x564312(0xb1)]);for(const _0x45d80e of _0x5e742c)for(const _0x57cf27 of _0x45d80e[_0x564312(0xd2)])_0x5bf3eb[_0x564312(0x9c)](_0x57cf27['id'],{..._0x57cf27,'groupId':_0x45d80e[_0x564312(0x124)],'groupLabel':_0x45d80e[_0x564312(0xe0)]||_0x45d80e[_0x564312(0x124)]});return _0x5bf3eb;}[_0x4ee336(0xd5)](_0x5b6c97){const _0x2f3eb4=_0x4ee336,_0x389911=this[_0x2f3eb4(0xd0)],_0xd22ecd=_0x389911[_0x2f3eb4(0xd2)][_0x2f3eb4(0xa1)](_0x2f3eb4(0x116)),_0xe3486b=new _0x5b6c97(_0x389911[_0x2f3eb4(0xb1)]);return _0xe3486b[_0x2f3eb4(0x9c)]({'label':_0x23477d(_0x389911[_0x2f3eb4(0xb1)],_0x2f3eb4(0xdb)),'icon':_0x15ee63,'isToggleable':!0x0}),_0xe3486b[_0x2f3eb4(0xb7)](_0x2f3eb4(0x11c))['to'](_0xd22ecd),_0xe3486b[_0x2f3eb4(0xb7)](_0x2f3eb4(0x105))['to'](this[_0x2f3eb4(0x104)],'id',_0x4d4d5f=>_0x2f3eb4(0xac)===_0x4d4d5f),this[_0x2f3eb4(0x113)](_0xe3486b,_0x2f3eb4(0x13e),()=>{const _0x24d844=_0x2f3eb4;_0xe3486b[_0x24d844(0x105)]?this[_0x24d844(0xa2)]():_0xd22ecd[_0x24d844(0x13e)]();}),_0xe3486b;}[_0x4ee336(0x139)](){const _0x4b7622=_0x4ee336,_0x3b652d=this[_0x4b7622(0xd0)][_0x4b7622(0x115)][_0x4b7622(0xa1)](_0x28ab56);this[_0x4b7622(0x120)]=new _0x1da840(this[_0x4b7622(0xd0)][_0x4b7622(0xb1)],this[_0x4b7622(0x118)],this[_0x4b7622(0xd0)][_0x4b7622(0xe5)][_0x4b7622(0xa1)](_0x4b7622(0xdc))),this[_0x4b7622(0x120)]['on'](_0x4b7622(0x10b),()=>{const _0x4d6536=_0x4b7622;this[_0x4d6536(0x104)][_0x4d6536(0x123)][_0x4d6536(0x133)]||this[_0x4d6536(0x104)][_0x4d6536(0x123)][_0x4d6536(0xd8)]();}),this[_0x4b7622(0x120)][_0x4b7622(0x10d)][_0x4b7622(0xa8)][_0x4b7622(0xb8)]['on'](_0x4b7622(0xfe),()=>{const _0x2411e8=_0x4b7622;this[_0x2411e8(0x104)][_0x2411e8(0x123)][_0x2411e8(0x133)]||this[_0x2411e8(0x104)][_0x2411e8(0x123)][_0x2411e8(0xd8)]();}),this[_0x4b7622(0x113)](this[_0x4b7622(0x120)],_0x4b7622(0xb3),()=>{const _0x45b76b=_0x4b7622;_0x3b652d[_0x45b76b(0xce)](this[_0x45b76b(0xf6)][_0x45b76b(0xaf)]),this[_0x45b76b(0xa2)]();}),this[_0x4b7622(0x113)](this[_0x4b7622(0x120)],_0x4b7622(0xeb),()=>{const _0x13041d=_0x4b7622;_0x3b652d[_0x13041d(0xeb)](this[_0x13041d(0xf6)][_0x13041d(0xaf)]),this[_0x13041d(0xa2)]();}),this[_0x4b7622(0xba)]();}[_0x4ee336(0xba)](){const _0x30c7df=_0x4ee336,{locale:_0x18fc90,ui:{ariaLiveAnnouncer:_0x5e9707}}=this[_0x30c7df(0xd0)];this[_0x30c7df(0x120)][_0x30c7df(0xf9)]['on'](_0x30c7df(0x12f),(_0x595cd8,_0xa78e2,_0x31ab51)=>{const _0x349b1f=_0x30c7df,_0xdc59f1=this[_0x349b1f(0xf6)][_0x349b1f(0xaf)];_0x31ab51?_0x5e9707[_0x349b1f(0xd4)](_0x23477d(_0x18fc90,_0x349b1f(0xec))):_0xdc59f1&&_0x5e9707[_0x349b1f(0xd4)](_0x23477d(_0x18fc90,_0x349b1f(0x144),_0xdc59f1),{'politeness':_0x349b1f(0x12c),'isUnsafeHTML':!0x0});}),this[_0x30c7df(0x120)]['on'](_0x30c7df(0x126),(_0x53ffc3,_0x57f959,_0x48b753)=>{const _0x545b64=_0x30c7df;if(_0x48b753){const _0xfa2c45=this[_0x545b64(0x120)][_0x545b64(0xf5)][_0x545b64(0xe2)];_0x5e9707[_0x545b64(0xd4)](_0x23477d(_0x18fc90,_0x545b64(0xa7),_0xfa2c45));}});}[_0x4ee336(0x125)](_0x537352){const _0x16e0bd=_0x4ee336,_0x3918ab=this[_0x16e0bd(0x13a)][_0x16e0bd(0xa1)](_0x537352),_0xfcc9cf=this[_0x16e0bd(0xd0)],_0x53c311=_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0x130)][_0x16e0bd(0xbd)],_0x5cc3af=_0xfcc9cf[_0x16e0bd(0xd2)][_0x16e0bd(0xa1)](_0x16e0bd(0x116)),_0x55e263=_0xfcc9cf[_0x16e0bd(0x115)][_0x16e0bd(0xa1)](_0x28ab56),_0x4b6905=''+(_0x3918ab[_0x16e0bd(0x124)]!==_0x273dd1?_0x3918ab[_0x16e0bd(0xe0)]+':\x20':'')+_0x3918ab[_0x16e0bd(0x134)];if(!0x1!==_0x3918ab[_0x16e0bd(0xb0)]&&_0x53c311[_0x16e0bd(0x137)]){const _0x456a8b=_0x1f9458(_0x53c311[_0x16e0bd(0xf7)]())||_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0xbc)][_0x16e0bd(0xe6)](_0x53c311);_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0xae)](_0x180290=>{const _0x4f6c89=_0x16e0bd;_0x180290[_0x4f6c89(0xb2)](_0x456a8b,'in');});}_0x55e263[_0x16e0bd(0xed)](),_0x5cc3af[_0x16e0bd(0x13e)](_0x3918ab[_0x16e0bd(0xab)],_0x4b6905,_0x16e0bd(0x127)+_0x537352);}[_0x4ee336(0xe9)](_0x15ac56,_0x4611ed,_0x201f5c,_0x62dedf){const _0x11edb7=_0x4ee336,_0x2e417c=this[_0x11edb7(0xd0)],_0x5881e0=_0x2e417c[_0x11edb7(0xb1)],_0x45eb88=new _0x55b934(_0x5881e0),_0x233412=wi(_0x2e417c,_0x201f5c)[_0x11edb7(0x143)](_0x44dade=>_0x44dade[_0x11edb7(0xd2)][_0x11edb7(0xa5)]);0x1===_0x233412[_0x11edb7(0xa5)]?this[_0x11edb7(0x136)]({'command':_0x15ac56,'commands':_0x233412[0x0][_0x11edb7(0xd2)],'parentMenuView':_0x4611ed,'onExecute':_0x62dedf})[_0x11edb7(0x110)](_0x348566=>_0x45eb88[_0x11edb7(0x12a)][_0x11edb7(0xa4)](_0x348566)):_0x233412[_0x11edb7(0x110)](({groupId:_0x549623,groupLabel:_0x2a8534,commands:_0x572d9c})=>{const _0x5c9b88=_0x11edb7,_0x52f124=new _0x1eb618(_0x5881e0,_0x4611ed),_0x340027=new _0x4e7ddc(_0x5881e0),_0x5857b7=new _0x55b934(_0x5881e0),_0x4647a0=this[_0x5c9b88(0x136)]({'command':_0x15ac56,'commands':_0x572d9c,'parentMenuView':_0x340027,'onExecute':_0x62dedf});_0x340027[_0x5c9b88(0xc0)][_0x5c9b88(0x9c)]({'label':_0x2a8534||_0x549623}),_0x340027[_0x5c9b88(0xa0)](_0x5c9b88(0x13e))['to'](_0x4611ed),_0x5857b7[_0x5c9b88(0x12a)][_0x5c9b88(0x99)](_0x4647a0),_0x340027[_0x5c9b88(0xc6)][_0x5c9b88(0xfd)][_0x5c9b88(0xa4)](_0x5857b7),_0x52f124[_0x5c9b88(0xfd)][_0x5c9b88(0xa4)](_0x340027),_0x45eb88[_0x5c9b88(0x12a)][_0x5c9b88(0xa4)](_0x52f124);}),_0x4611ed[_0x11edb7(0xc6)][_0x11edb7(0xfd)][_0x11edb7(0xa4)](_0x45eb88);}[_0x4ee336(0x136)]({command:_0x1883a2,commands:_0x595b21,parentMenuView:_0x20792e,onExecute:_0x1e5054}){const _0x3f2482=_0x4ee336,_0x24ad45=this[_0x3f2482(0xd0)],_0x229a7b=_0x24ad45[_0x3f2482(0xb1)];return wi(_0x24ad45,_0x595b21)[_0x3f2482(0x97)](_0x31f292=>{const _0x2e6281=_0x3f2482,_0x3c4eeb=new _0x1eb618(_0x229a7b,_0x20792e),_0x5c3501=new _0x605b16(_0x229a7b);return _0x5c3501[_0x2e6281(0x9c)]({'label':_0x31f292[_0x2e6281(0x134)]}),_0x5c3501[_0x2e6281(0xa0)](_0x2e6281(0x13e))['to'](_0x20792e),_0x5c3501['on'](_0x2e6281(0x13e),()=>_0x1e5054(_0x31f292['id'])),_0x5c3501[_0x2e6281(0xb7)](_0x2e6281(0x11c))['to'](_0x1883a2,_0x2e6281(0x13f),_0x3bbe73=>_0x3bbe73[_0x2e6281(0xfb)](_0x31f292['id'])),_0x3c4eeb[_0x2e6281(0xfd)][_0x2e6281(0xa4)](_0x5c3501),_0x3c4eeb;});}}function Ai(_0x2054b2,_0x237775){const _0x560bdb=_0x4ee336;return void 0x0!==_0x2054b2[_0x560bdb(0x12e)]&&void 0x0===_0x237775[_0x560bdb(0x12e)]?0x1:void 0x0===_0x2054b2[_0x560bdb(0x12e)]&&void 0x0!==_0x237775[_0x560bdb(0x12e)]?-0x1:void 0x0!==_0x2054b2[_0x560bdb(0x12e)]&&void 0x0!==_0x237775[_0x560bdb(0x12e)]?_0x2054b2[_0x560bdb(0x12e)]-_0x237775[_0x560bdb(0x12e)]:0x0;}function wi(_0xe74e5c,_0x528279){const _0x24fbc5=_0x4ee336;_0x528279[_0x24fbc5(0x95)](Ai);const _0x313685={},_0x213cc8=[];for(const _0x1c13d6 of _0x528279)if(void 0x0!==_0x1c13d6[_0x24fbc5(0x12e)]){if(_0x1c13d6[_0x24fbc5(0x12e)]in _0x313685)throw new _0x3a524f(_0x24fbc5(0xca),_0xe74e5c,{'conflictingDefinitions':[_0x1c13d6,_0x313685[_0x1c13d6[_0x24fbc5(0x12e)]]]});_0x313685[_0x1c13d6[_0x24fbc5(0x12e)]]=_0x1c13d6,_0x213cc8[_0x24fbc5(0x122)](_0x1c13d6[_0x24fbc5(0x12e)],0x0,_0x1c13d6);}else _0x213cc8[_0x24fbc5(0xe4)](_0x1c13d6);return _0x213cc8;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x29ed29,_0x58fed7){var _0x322cbc=_0x4eb5,_0xccc5d=_0x29ed29();while(!![]){try{var _0x68064d=-parseInt(_0x322cbc(0x153))/0x1+parseInt(_0x322cbc(0x155))/0x2+parseInt(_0x322cbc(0x14f))/0x3+parseInt(_0x322cbc(0x150))/0x4+parseInt(_0x322cbc(0x151))/0x5*(parseInt(_0x322cbc(0x154))/0x6)+-parseInt(_0x322cbc(0x152))/0x7*(-parseInt(_0x322cbc(0x14e))/0x8)+-parseInt(_0x322cbc(0x156))/0x9;if(_0x68064d===_0x58fed7)break;else _0xccc5d['push'](_0xccc5d['shift']());}catch(_0x280ddd){_0xccc5d['push'](_0xccc5d['shift']());}}}(_0x14d5,0x40067));import{CKEditorError as _0x354a5c}from'ckeditor5/src/utils.js';function _0x4eb5(_0x17e361,_0x24fc06){var _0x14d5b3=_0x14d5();return _0x4eb5=function(_0x4eb55d,_0x581e19){_0x4eb55d=_0x4eb55d-0x14e;var _0x4741c5=_0x14d5b3[_0x4eb55d];return _0x4741c5;},_0x4eb5(_0x17e361,_0x24fc06);}function _0x14d5(){var _0x345441=['256124tELAZm','372858pNbapZ','277338FRdMsO','10087875RYpMWD','8ySCbdG','1336920Kibjqg','955112MVcORY','35KNACRW','2668106jefpLz'];_0x14d5=function(){return _0x345441;};return _0x14d5();}
23
+ function _0xed79(){var _0x318971=['7MZQXFW','312952ZYvjlP','870036lSUNUV','532983qBUAtT','660272nUHMEZ','22UHXXTp','22563tzuLaf','327925eVEmax','3488508APHkSu'];_0xed79=function(){return _0x318971;};return _0xed79();}function _0x2467(_0x4ab280,_0x318dde){var _0xed791=_0xed79();return _0x2467=function(_0x246740,_0x166396){_0x246740=_0x246740-0xeb;var _0x12e836=_0xed791[_0x246740];return _0x12e836;},_0x2467(_0x4ab280,_0x318dde);}(function(_0x2de795,_0x2bbb85){var _0x3d81b4=_0x2467,_0x22da6a=_0x2de795();while(!![]){try{var _0x4855e5=-parseInt(_0x3d81b4(0xf2))/0x1*(parseInt(_0x3d81b4(0xf1))/0x2)+-parseInt(_0x3d81b4(0xef))/0x3+parseInt(_0x3d81b4(0xf0))/0x4+-parseInt(_0x3d81b4(0xf3))/0x5+parseInt(_0x3d81b4(0xee))/0x6*(parseInt(_0x3d81b4(0xec))/0x7)+-parseInt(_0x3d81b4(0xed))/0x8+parseInt(_0x3d81b4(0xeb))/0x9;if(_0x4855e5===_0x2bbb85)break;else _0x22da6a['push'](_0x22da6a['shift']());}catch(_0xcc766b){_0x22da6a['push'](_0x22da6a['shift']());}}}(_0xed79,0x28cd8));import{CKEditorError as _0x541de2}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x22c9(_0x535bae,_0x2cb87e){const _0x51ee72=_0x51ee();return _0x22c9=function(_0x22c92a,_0x380a8b){_0x22c92a=_0x22c92a-0x1dd;let _0x39e469=_0x51ee72[_0x22c92a];return _0x39e469;},_0x22c9(_0x535bae,_0x2cb87e);}const _0x16a2ce=_0x22c9;(function(_0x5d3269,_0x552813){const _0x2e30c3=_0x22c9,_0x4ca2bb=_0x5d3269();while(!![]){try{const _0x32c0dc=-parseInt(_0x2e30c3(0x221))/0x1*(-parseInt(_0x2e30c3(0x1ed))/0x2)+-parseInt(_0x2e30c3(0x207))/0x3*(-parseInt(_0x2e30c3(0x229))/0x4)+parseInt(_0x2e30c3(0x227))/0x5*(parseInt(_0x2e30c3(0x22d))/0x6)+parseInt(_0x2e30c3(0x1fe))/0x7+parseInt(_0x2e30c3(0x1ff))/0x8*(-parseInt(_0x2e30c3(0x1e9))/0x9)+parseInt(_0x2e30c3(0x1e4))/0xa+-parseInt(_0x2e30c3(0x1fd))/0xb*(parseInt(_0x2e30c3(0x1df))/0xc);if(_0x32c0dc===_0x552813)break;else _0x4ca2bb['push'](_0x4ca2bb['shift']());}catch(_0x12ba0c){_0x4ca2bb['push'](_0x4ca2bb['shift']());}}}(_0x51ee,0xae541));import{ObservableMixin as _0x5059fe}from'ckeditor5/src/utils.js';import{AIRequestError as _0x41f92a}from'../adapters/aiadapter.js';import{Matcher as _0x178498,ViewUpcastWriter as _0x45125d}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x51ee(){const _0x2c96b7=['stopListening','_parseAndNormalizeContent','_domParser','5867pDkZVt','previousLabel','```','_isH1TagSupportEnabled','editing','match','55CTPawI','render','22984YNyxGt','ELEMENT_NODE','finishProcessing','stopProcessing','65502oGXJda','exec','nodeType','from','document','clear','prompt','_normalizeResponseHeadings','editor','destroy','config','toModel','then','rename','abort','set:currentContext','text/html','setContentOf','htmlProcessor','get','submitPrompt','mainAction','reverse','name','156LdrnDj','handleError','tryAgainEvent','data','domConverter','10908370RHAoFH','ai.assistant.preserveComments','listenTo','previousContext','processor','1161jOMqys','body','makeRequest','innerHTML','76EBCOTu','remove','_stripMarkdownSyntax','trim','catch','viewToDom','substring','startsWith','stringify','div','isRendered','querySelector','element','_xmlSerializer','custom','endsWith','741939MQxZkQ','7250383MJpCvf','70888eFIRlI','value','```html','length','push','_handleQuery','parseFromString','currentContext','138djpLZg','updateView','view','set','message','once','finally','childNodes','currentResponse','previousActionId','<h1></h1>','toView','_sanitizationContainer','initialContext','_sanitizeHTML','createElement','textAdapter','serializeToString','reset','markers','isProcessing','startProcessing','previousQuery'];_0x51ee=function(){return _0x2c96b7;};return _0x51ee();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x5059fe(){[_0x16a2ce(0x235)];[_0x16a2ce(0x217)];[_0x16a2ce(0x209)];[_0x16a2ce(0x213)];[_0x16a2ce(0x220)];[_0x16a2ce(0x1fa)];constructor(_0x1c69de,_0x4e47dc,_0x1c3e0f){const _0x5814dc=_0x16a2ce;super(),this[_0x5814dc(0x235)]=_0x1c69de,this[_0x5814dc(0x217)]=_0x4e47dc,this[_0x5814dc(0x213)]=document[_0x5814dc(0x216)](_0x5814dc(0x1f6)),this[_0x5814dc(0x220)]=new DOMParser(),this[_0x5814dc(0x1fa)]=new XMLSerializer(),this[_0x5814dc(0x209)]=_0x1c3e0f,this[_0x5814dc(0x20a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5814dc(0x23c),(_0x3a956a,_0x21e1a8,_0x54c7c5)=>{const _0x1339ac=_0x5814dc;this[_0x1339ac(0x209)][_0x1339ac(0x200)]=this[_0x1339ac(0x215)](_0x54c7c5);}),this[_0x5814dc(0x1e6)](this[_0x5814dc(0x209)],_0x5814dc(0x241),(_0x29ca9b,_0x4ba434)=>{const _0x49de94=_0x5814dc,_0x346490=this[_0x49de94(0x206)]||this[_0x49de94(0x214)];this[_0x49de94(0x204)](_0x4ba434,_0x346490,_0x49de94(0x1fb));}),this[_0x5814dc(0x1e6)](this[_0x5814dc(0x209)],_0x5814dc(0x1e1),()=>{const _0x3bf9dd=_0x5814dc;this[_0x3bf9dd(0x209)][_0x3bf9dd(0x233)]=this[_0x3bf9dd(0x222)],this[_0x3bf9dd(0x204)](this[_0x3bf9dd(0x21d)],this[_0x3bf9dd(0x1e7)],this[_0x3bf9dd(0x210)],this[_0x3bf9dd(0x222)]);}),this[_0x5814dc(0x1e6)](this[_0x5814dc(0x209)],_0x5814dc(0x22c),()=>{const _0x35d5dd=_0x5814dc;this[_0x35d5dd(0x22c)]();});}[_0x16a2ce(0x236)](){const _0x26e3f6=_0x16a2ce;this[_0x26e3f6(0x21e)]();}async[_0x16a2ce(0x208)]({actionId:_0x105596,query:_0x509a75,htmlContent:_0xb1d94a,label:_0x4283c5,mainActionLabel:_0x4adce3}){const _0x2d242d=_0x16a2ce;this[_0x2d242d(0x209)][_0x2d242d(0x233)]=_0x4283c5,this[_0x2d242d(0x209)][_0x2d242d(0x242)]=_0x4adce3,this[_0x2d242d(0x214)]=_0xb1d94a,_0x509a75&&(this[_0x2d242d(0x209)][_0x2d242d(0x1f7)]?this[_0x2d242d(0x204)](_0x509a75,_0xb1d94a,_0x105596,_0x4283c5):this[_0x2d242d(0x209)][_0x2d242d(0x20c)](_0x2d242d(0x228),()=>{const _0x42bda4=_0x2d242d;this[_0x42bda4(0x204)](_0x509a75,_0xb1d94a,_0x105596,_0x4283c5);}));}[_0x16a2ce(0x22c)](){const _0x3d427d=_0x16a2ce;this[_0x3d427d(0x21b)]&&(this[_0x3d427d(0x21b)]=!0x1,this[_0x3d427d(0x209)][_0x3d427d(0x22b)](),this[_0x3d427d(0x217)][_0x3d427d(0x23b)]());}[_0x16a2ce(0x219)](){const _0x4e759a=_0x16a2ce;this[_0x4e759a(0x214)]='',this[_0x4e759a(0x206)]='',this[_0x4e759a(0x20f)]='',this[_0x4e759a(0x1e7)]='',this[_0x4e759a(0x21d)]='',this[_0x4e759a(0x222)]='',this[_0x4e759a(0x210)]=void 0x0,this[_0x4e759a(0x209)][_0x4e759a(0x219)](),this[_0x4e759a(0x22c)]();}async[_0x16a2ce(0x204)](_0x2324c2,_0x5175ae,_0xee00b5,_0x2c4dd3){const _0x587fab=_0x16a2ce;return this[_0x587fab(0x21b)]=!0x0,this[_0x587fab(0x209)][_0x587fab(0x21c)](),this[_0x587fab(0x1e7)]=_0x5175ae,this[_0x587fab(0x21d)]=_0x2324c2,this[_0x587fab(0x222)]=_0x2c4dd3||_0x2324c2,this[_0x587fab(0x210)]=_0xee00b5,new Promise(_0x4f7da1=>{const _0x3d0523=_0x587fab;this[_0x3d0523(0x217)][_0x3d0523(0x1eb)]({'query':_0x2324c2,'context':_0x5175ae,'onData':_0x1873e0=>{const _0x46e2c7=_0x3d0523;this[_0x46e2c7(0x20f)]=_0x1873e0,this[_0x46e2c7(0x206)]=this[_0x46e2c7(0x21f)](this[_0x46e2c7(0x20f)]);},'actionId':_0xee00b5})[_0x3d0523(0x239)](()=>{const _0x3ca7de=_0x3d0523;!this[_0x3ca7de(0x206)]&&this[_0x3ca7de(0x20f)]&&(this[_0x3ca7de(0x206)]=this[_0x3ca7de(0x21f)](this[_0x3ca7de(0x20f)],!0x0));})[_0x3d0523(0x1f1)](_0x261dad=>{const _0x1107f8=_0x3d0523;_0x261dad instanceof _0x41f92a?this[_0x1107f8(0x209)][_0x1107f8(0x1e0)](_0x261dad[_0x1107f8(0x20b)]):this[_0x1107f8(0x209)][_0x1107f8(0x1e0)](),_0x4f7da1();})[_0x3d0523(0x20d)](()=>{const _0x28cbf0=_0x3d0523;this[_0x28cbf0(0x22c)](),_0x4f7da1();});});}[_0x16a2ce(0x21f)](_0x2b50d5,_0x3b6a15=!0x1){const _0x15af66=_0x16a2ce,_0x54cfb3=hs[_0x15af66(0x22e)](_0x2b50d5);_0x2b50d5=_0x54cfb3?_0x2b50d5[_0x15af66(0x1f3)](_0x54cfb3[0x1][_0x15af66(0x202)]):_0x2b50d5[_0x15af66(0x202)]<0x64&&!_0x3b6a15?'':this[_0x15af66(0x1ef)](_0x2b50d5);const _0x51d045=this[_0x15af66(0x220)][_0x15af66(0x205)](_0x2b50d5,_0x15af66(0x23d));if(_0x54cfb3){const _0x514a3f=Array[_0x15af66(0x230)](_0x51d045[_0x15af66(0x1ea)][_0x15af66(0x20e)]);_0x514a3f[_0x15af66(0x1dd)]();for(const _0x51c50c of _0x514a3f){if(_0x51c50c[_0x15af66(0x22f)]==Node[_0x15af66(0x22a)])break;_0x51c50c[_0x15af66(0x1ee)]();}}const _0x1b9337=this[_0x15af66(0x235)][_0x15af66(0x1e2)][_0x15af66(0x1e8)][_0x15af66(0x212)](this[_0x15af66(0x1fa)][_0x15af66(0x218)](_0x51d045[_0x15af66(0x1ea)]));this[_0x15af66(0x224)]()||this[_0x15af66(0x234)](_0x1b9337);const _0x4e0ec6=this[_0x15af66(0x235)][_0x15af66(0x237)][_0x15af66(0x240)](_0x15af66(0x1e5)),_0x5adb45=this[_0x15af66(0x235)][_0x15af66(0x1e2)][_0x15af66(0x238)](_0x1b9337);return _0x4e0ec6||_0x5adb45[_0x15af66(0x21a)][_0x15af66(0x232)](),this[_0x15af66(0x235)][_0x15af66(0x1e2)][_0x15af66(0x1f5)](_0x5adb45);}[_0x16a2ce(0x234)](_0x3229f4){const _0x4a2e17=_0x16a2ce,_0x2798b2=new _0x45125d(this[_0x4a2e17(0x235)][_0x4a2e17(0x225)][_0x4a2e17(0x209)][_0x4a2e17(0x231)]),_0x1417d5=new _0x178498({'name':/^h[1-5]$/}),_0x23195c=[];let _0xf494fa=!0x1;for(const _0x3b6d33 of _0x3229f4)_0x3b6d33['is'](_0x4a2e17(0x1f9))&&_0x1417d5[_0x4a2e17(0x226)](_0x3b6d33)&&(_0x23195c[_0x4a2e17(0x203)](_0x3b6d33),'h1'==_0x3b6d33[_0x4a2e17(0x1de)]&&(_0xf494fa=!0x0));if(_0xf494fa){for(const _0x4d8c00 of _0x23195c)_0x2798b2[_0x4a2e17(0x23a)]('h'+(parseInt(_0x4d8c00[_0x4a2e17(0x1de)][0x1])+0x1),_0x4d8c00);}}[_0x16a2ce(0x224)](){const _0x35b2de=_0x16a2ce,{data:_0xebf3fb,editing:_0x22feb6}=this[_0x35b2de(0x235)],_0x39073b=_0xebf3fb[_0x35b2de(0x23f)][_0x35b2de(0x212)](_0x35b2de(0x211)),_0x20d02a=_0xebf3fb[_0x35b2de(0x212)](_0xebf3fb[_0x35b2de(0x238)](_0x39073b));return!!_0x22feb6[_0x35b2de(0x209)][_0x35b2de(0x1e3)][_0x35b2de(0x1f2)](_0x20d02a)[_0x35b2de(0x1f8)]('h1');}[_0x16a2ce(0x215)](_0x9f2097){const _0x4ea988=_0x16a2ce;return this[_0x4ea988(0x235)][_0x4ea988(0x225)][_0x4ea988(0x209)][_0x4ea988(0x1e3)][_0x4ea988(0x23e)](this[_0x4ea988(0x213)],_0x9f2097),this[_0x4ea988(0x213)][_0x4ea988(0x1ec)];}[_0x16a2ce(0x1ef)](_0x2366af){const _0x4f0c0a=_0x16a2ce,_0x46cadd=_0x2366af[_0x4f0c0a(0x1f0)]();return _0x46cadd[_0x4f0c0a(0x1f4)](_0x4f0c0a(0x201))?_0x46cadd[_0x4f0c0a(0x1fc)](_0x4f0c0a(0x223))?_0x46cadd[_0x4f0c0a(0x1f3)](0x7,_0x46cadd[_0x4f0c0a(0x202)]-0x3):_0x46cadd[_0x4f0c0a(0x1f3)](0x7):_0x2366af;}}
23
+ const _0x11b8e9=_0xb138;(function(_0x92ebed,_0x406182){const _0x428cf1=_0xb138,_0x47f1e6=_0x92ebed();while(!![]){try{const _0xd6430f=parseInt(_0x428cf1(0x134))/0x1*(parseInt(_0x428cf1(0x12f))/0x2)+-parseInt(_0x428cf1(0x17d))/0x3*(parseInt(_0x428cf1(0x157))/0x4)+-parseInt(_0x428cf1(0x17a))/0x5*(parseInt(_0x428cf1(0x171))/0x6)+-parseInt(_0x428cf1(0x144))/0x7+parseInt(_0x428cf1(0x143))/0x8*(parseInt(_0x428cf1(0x158))/0x9)+-parseInt(_0x428cf1(0x179))/0xa+parseInt(_0x428cf1(0x146))/0xb;if(_0xd6430f===_0x406182)break;else _0x47f1e6['push'](_0x47f1e6['shift']());}catch(_0x48a84c){_0x47f1e6['push'](_0x47f1e6['shift']());}}}(_0x4776,0xcbdaf));import{ObservableMixin as _0x8123ee}from'ckeditor5/src/utils.js';import{AIRequestError as _0x25bf25}from'../adapters/aiadapter.js';function _0x4776(){const _0x3a3076=['parseFromString','textAdapter','_stripMarkdownSyntax','mainAction','_domParser','text/html','value','previousLabel','stopListening','394FapWHS','querySelector','exec','rename','custom','7764UnlEgz','startsWith','data','abort','htmlProcessor','tryAgainEvent','set:currentContext','_handleQuery','previousActionId','set','_isH1TagSupportEnabled','listenTo','isRendered','clear','serializeToString','23584ozoIXp','2935499czEjfh','_sanitizeHTML','9795588tUPvgb','makeRequest','catch','createElement','finally','remove','stopProcessing','processor','nodeType','_xmlSerializer','submitPrompt','editor','destroy','currentContext','match','reset','view','24pqCvTi','2718JMWUXS','```html','ELEMENT_NODE','previousContext','startProcessing','updateView','div','then','viewToDom','from','<h1></h1>','_parseAndNormalizeContent','toView','handleError','isProcessing','currentResponse','message','get','setContentOf','markers','render','innerHTML','body','length','stringify','2923614GpbfpS','reverse','ai.assistant.preserveComments','childNodes','toModel','domConverter','finishProcessing','name','7511290APQljm','5dMcnoP','element','previousQuery','408783RLuyPj','config','initialContext','_normalizeResponseHeadings','trim','editing','push','_sanitizationContainer','endsWith','prompt','```','substring','document','once'];_0x4776=function(){return _0x3a3076;};return _0x4776();}function _0xb138(_0x419186,_0x11a917){const _0x4776ce=_0x4776();return _0xb138=function(_0xb13809,_0xaa52af){_0xb13809=_0xb13809-0x12c;let _0x1c3fbd=_0x4776ce[_0xb13809];return _0x1c3fbd;},_0xb138(_0x419186,_0x11a917);}import{Matcher as _0x2c0d38,ViewUpcastWriter as _0x8a59d3}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x8123ee(){[_0x11b8e9(0x151)];[_0x11b8e9(0x18c)];[_0x11b8e9(0x156)];[_0x11b8e9(0x184)];[_0x11b8e9(0x18f)];[_0x11b8e9(0x14f)];constructor(_0x1a38c5,_0xf53b4,_0x455af9){const _0x2eb6e8=_0x11b8e9;super(),this[_0x2eb6e8(0x151)]=_0x1a38c5,this[_0x2eb6e8(0x18c)]=_0xf53b4,this[_0x2eb6e8(0x184)]=document[_0x2eb6e8(0x149)](_0x2eb6e8(0x15e)),this[_0x2eb6e8(0x18f)]=new DOMParser(),this[_0x2eb6e8(0x14f)]=new XMLSerializer(),this[_0x2eb6e8(0x156)]=_0x455af9,this[_0x2eb6e8(0x13d)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2eb6e8(0x13a),(_0x8eb5d,_0x376f99,_0x4d93a3)=>{const _0x1884f9=_0x2eb6e8;this[_0x1884f9(0x156)][_0x1884f9(0x12c)]=this[_0x1884f9(0x145)](_0x4d93a3);}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x150),(_0x4cbceb,_0x5aaf75)=>{const _0x4101ea=_0x2eb6e8,_0x2139fe=this[_0x4101ea(0x153)]||this[_0x4101ea(0x17f)];this[_0x4101ea(0x13b)](_0x5aaf75,_0x2139fe,_0x4101ea(0x133));}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x139),()=>{const _0x9049e2=_0x2eb6e8;this[_0x9049e2(0x156)][_0x9049e2(0x186)]=this[_0x9049e2(0x12d)],this[_0x9049e2(0x13b)](this[_0x9049e2(0x17c)],this[_0x9049e2(0x15b)],this[_0x9049e2(0x13c)],this[_0x9049e2(0x12d)]);}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x14c),()=>{const _0x5645e6=_0x2eb6e8;this[_0x5645e6(0x14c)]();});}[_0x11b8e9(0x152)](){const _0x1b71ce=_0x11b8e9;this[_0x1b71ce(0x12e)]();}async[_0x11b8e9(0x15d)]({actionId:_0x5096b3,query:_0x3b9d5d,htmlContent:_0x976450,label:_0x9fed43,mainActionLabel:_0x1eb118}){const _0x5da65d=_0x11b8e9;this[_0x5da65d(0x156)][_0x5da65d(0x186)]=_0x9fed43,this[_0x5da65d(0x156)][_0x5da65d(0x18e)]=_0x1eb118,this[_0x5da65d(0x17f)]=_0x976450,_0x3b9d5d&&(this[_0x5da65d(0x156)][_0x5da65d(0x140)]?this[_0x5da65d(0x13b)](_0x3b9d5d,_0x976450,_0x5096b3,_0x9fed43):this[_0x5da65d(0x156)][_0x5da65d(0x18a)](_0x5da65d(0x16c),()=>{const _0x5be848=_0x5da65d;this[_0x5be848(0x13b)](_0x3b9d5d,_0x976450,_0x5096b3,_0x9fed43);}));}[_0x11b8e9(0x14c)](){const _0x2ccc66=_0x11b8e9;this[_0x2ccc66(0x166)]&&(this[_0x2ccc66(0x166)]=!0x1,this[_0x2ccc66(0x156)][_0x2ccc66(0x177)](),this[_0x2ccc66(0x18c)][_0x2ccc66(0x137)]());}[_0x11b8e9(0x155)](){const _0x536784=_0x11b8e9;this[_0x536784(0x17f)]='',this[_0x536784(0x153)]='',this[_0x536784(0x167)]='',this[_0x536784(0x15b)]='',this[_0x536784(0x17c)]='',this[_0x536784(0x12d)]='',this[_0x536784(0x13c)]=void 0x0,this[_0x536784(0x156)][_0x536784(0x155)](),this[_0x536784(0x14c)]();}async[_0x11b8e9(0x13b)](_0x3bf61b,_0x30a42a,_0x5f01fc,_0x41665b){const _0x285910=_0x11b8e9;return this[_0x285910(0x166)]=!0x0,this[_0x285910(0x156)][_0x285910(0x15c)](),this[_0x285910(0x15b)]=_0x30a42a,this[_0x285910(0x17c)]=_0x3bf61b,this[_0x285910(0x12d)]=_0x41665b||_0x3bf61b,this[_0x285910(0x13c)]=_0x5f01fc,new Promise(_0x31e985=>{const _0x44bddb=_0x285910;this[_0x44bddb(0x18c)][_0x44bddb(0x147)]({'query':_0x3bf61b,'context':_0x30a42a,'onData':_0x7d60ab=>{const _0x25e637=_0x44bddb;this[_0x25e637(0x167)]=_0x7d60ab,this[_0x25e637(0x153)]=this[_0x25e637(0x163)](this[_0x25e637(0x167)]);},'actionId':_0x5f01fc})[_0x44bddb(0x15f)](()=>{const _0x79c354=_0x44bddb;!this[_0x79c354(0x153)]&&this[_0x79c354(0x167)]&&(this[_0x79c354(0x153)]=this[_0x79c354(0x163)](this[_0x79c354(0x167)],!0x0));})[_0x44bddb(0x148)](_0x16f2a4=>{const _0x1f062a=_0x44bddb;_0x16f2a4 instanceof _0x25bf25?this[_0x1f062a(0x156)][_0x1f062a(0x165)](_0x16f2a4[_0x1f062a(0x168)]):this[_0x1f062a(0x156)][_0x1f062a(0x165)](),_0x31e985();})[_0x44bddb(0x14a)](()=>{const _0x516fe6=_0x44bddb;this[_0x516fe6(0x14c)](),_0x31e985();});});}[_0x11b8e9(0x163)](_0x233bbe,_0x5bb814=!0x1){const _0x1ae2ef=_0x11b8e9,_0x33a2a3=hs[_0x1ae2ef(0x131)](_0x233bbe);_0x233bbe=_0x33a2a3?_0x233bbe[_0x1ae2ef(0x188)](_0x33a2a3[0x1][_0x1ae2ef(0x16f)]):_0x233bbe[_0x1ae2ef(0x16f)]<0x64&&!_0x5bb814?'':this[_0x1ae2ef(0x18d)](_0x233bbe);const _0x56a2c5=this[_0x1ae2ef(0x18f)][_0x1ae2ef(0x18b)](_0x233bbe,_0x1ae2ef(0x190));if(_0x33a2a3){const _0x4bc3be=Array[_0x1ae2ef(0x161)](_0x56a2c5[_0x1ae2ef(0x16e)][_0x1ae2ef(0x174)]);_0x4bc3be[_0x1ae2ef(0x172)]();for(const _0x5b1806 of _0x4bc3be){if(_0x5b1806[_0x1ae2ef(0x14e)]==Node[_0x1ae2ef(0x15a)])break;_0x5b1806[_0x1ae2ef(0x14b)]();}}const _0x1cf85e=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x14d)][_0x1ae2ef(0x164)](this[_0x1ae2ef(0x14f)][_0x1ae2ef(0x142)](_0x56a2c5[_0x1ae2ef(0x16e)]));this[_0x1ae2ef(0x13e)]()||this[_0x1ae2ef(0x180)](_0x1cf85e);const _0x3440ef=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x17e)][_0x1ae2ef(0x169)](_0x1ae2ef(0x173)),_0x1a4111=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x175)](_0x1cf85e);return _0x3440ef||_0x1a4111[_0x1ae2ef(0x16b)][_0x1ae2ef(0x141)](),this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x170)](_0x1a4111);}[_0x11b8e9(0x180)](_0x56939f){const _0xe0af6e=_0x11b8e9,_0x1c2055=new _0x8a59d3(this[_0xe0af6e(0x151)][_0xe0af6e(0x182)][_0xe0af6e(0x156)][_0xe0af6e(0x189)]),_0x4092b5=new _0x2c0d38({'name':/^h[1-5]$/}),_0x2a12e0=[];let _0x2fa9cc=!0x1;for(const _0x37d0b3 of _0x56939f)_0x37d0b3['is'](_0xe0af6e(0x17b))&&_0x4092b5[_0xe0af6e(0x154)](_0x37d0b3)&&(_0x2a12e0[_0xe0af6e(0x183)](_0x37d0b3),'h1'==_0x37d0b3[_0xe0af6e(0x178)]&&(_0x2fa9cc=!0x0));if(_0x2fa9cc){for(const _0x1ecfc8 of _0x2a12e0)_0x1c2055[_0xe0af6e(0x132)]('h'+(parseInt(_0x1ecfc8[_0xe0af6e(0x178)][0x1])+0x1),_0x1ecfc8);}}[_0x11b8e9(0x13e)](){const _0x40818e=_0x11b8e9,{data:_0x5cf659,editing:_0x248510}=this[_0x40818e(0x151)],_0x188764=_0x5cf659[_0x40818e(0x138)][_0x40818e(0x164)](_0x40818e(0x162)),_0x346772=_0x5cf659[_0x40818e(0x164)](_0x5cf659[_0x40818e(0x175)](_0x188764));return!!_0x248510[_0x40818e(0x156)][_0x40818e(0x176)][_0x40818e(0x160)](_0x346772)[_0x40818e(0x130)]('h1');}[_0x11b8e9(0x145)](_0x14df88){const _0xe63799=_0x11b8e9;return this[_0xe63799(0x151)][_0xe63799(0x182)][_0xe63799(0x156)][_0xe63799(0x176)][_0xe63799(0x16a)](this[_0xe63799(0x184)],_0x14df88),this[_0xe63799(0x184)][_0xe63799(0x16d)];}[_0x11b8e9(0x18d)](_0x174fa){const _0x1840f7=_0x11b8e9,_0x3c30c7=_0x174fa[_0x1840f7(0x181)]();return _0x3c30c7[_0x1840f7(0x135)](_0x1840f7(0x159))?_0x3c30c7[_0x1840f7(0x185)](_0x1840f7(0x187))?_0x3c30c7[_0x1840f7(0x188)](0x7,_0x3c30c7[_0x1840f7(0x16f)]-0x3):_0x3c30c7[_0x1840f7(0x188)](0x7):_0x174fa;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfa188a=_0x4761;(function(_0xb4c819,_0x2a552b){const _0x2ca792=_0x4761,_0x981c79=_0xb4c819();while(!![]){try{const _0x4f21c0=-parseInt(_0x2ca792(0x1d2))/0x1*(parseInt(_0x2ca792(0x1aa))/0x2)+-parseInt(_0x2ca792(0x1c0))/0x3+-parseInt(_0x2ca792(0x192))/0x4*(-parseInt(_0x2ca792(0x1d5))/0x5)+parseInt(_0x2ca792(0x199))/0x6+parseInt(_0x2ca792(0x188))/0x7*(-parseInt(_0x2ca792(0x18e))/0x8)+-parseInt(_0x2ca792(0x1ca))/0x9*(parseInt(_0x2ca792(0x191))/0xa)+parseInt(_0x2ca792(0x18a))/0xb;if(_0x4f21c0===_0x2a552b)break;else _0x981c79['push'](_0x981c79['shift']());}catch(_0x481f5e){_0x981c79['push'](_0x981c79['shift']());}}}(_0x322a,0x9f882));function _0x4761(_0x2d053e,_0x20a420){const _0x322a5d=_0x322a();return _0x4761=function(_0x4761f8,_0xf93001){_0x4761f8=_0x4761f8-0x186;let _0x8c0bf6=_0x322a5d[_0x4761f8];return _0x8c0bf6;},_0x4761(_0x2d053e,_0x20a420);}import{global as _0x513771}from'ckeditor5/src/utils.js';import{View as _0x3b0998,ButtonView as _0xc48fd1,SpinnerView as _0x19cd94}from'ckeditor5/src/ui.js';import{IconCheck as _0x2ac23d,IconCopy as _0x4710fe}from'ckeditor5/src/icons.js';function _0x322a(){const _0x231400=['setTemplate','ck-content','render','.ck-ai-form__loader','class','_createLoader','querySelector','<span>[</span>','Copy','scrollTo','copyButtonView','clipboard','createRange','createElement','ck-ai-form__loader','_createCopyButton','appendLoader','1120185KRcoJi','isEnabled','loaderView','ClipboardItem','isVisible','setContent','element','remove','value','setEndBefore','9XrgdVg','text/html','ck-ai-form__content-area','bindTemplate','focus','copy','div','body','51WLqqjB','innerHTML','removeAllRanges','355QTzeni','lastElementChild','mousedown','text/plain','<span>]</span>','AI\x20is\x20writing...','isProcessing','smooth','contentFieldView','41643QbnCEE','position','12879218FsFYpp','style','icon','left','920uLJjZv','execCommand','locale','2468790uVDSrP','9272ZSUncR','textContent','-9999px','change:value','bind','ck-reset_all-excluded','setStartAfter','5543376YwFBIj','change:isProcessing','firstElementChild','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button-wrapper','ck-ai-form__content-field','ck-ai-form__content-area-wrapper','_copyHTMLToClipboard','execute','scrollHeight','absolute','set','wheel','ck-ai-form__content-area--processing','ck-hidden','appendChild','listenTo','11822gFvBjh','addRange','getSelection','write','ck-ai-form__copy-button'];_0x322a=function(){return _0x231400;};return _0x322a();}import{getTranslation as _0xc18ac2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x3b0998{[_0xfa188a(0x187)];[_0xfa188a(0x1b9)];constructor(_0x34371b,_0x399347=''){const _0x3f25a5=_0xfa188a;super(_0x34371b),this[_0x3f25a5(0x1a4)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1c9fff=this[_0x3f25a5(0x1cd)];this[_0x3f25a5(0x187)]=new ContentFieldView(_0x34371b,_0x399347),this[_0x3f25a5(0x1b9)]=this[_0x3f25a5(0x1be)](),this[_0x3f25a5(0x1af)]({'tag':_0x3f25a5(0x1d0),'attributes':{'class':['ck',_0x3f25a5(0x19f),_0x1c9fff['if'](_0x3f25a5(0x1c4),_0x3f25a5(0x1a7),_0x245a2d=>!_0x245a2d)],'tabindex':'-1'},'children':[{'tag':_0x3f25a5(0x1d0),'attributes':{'class':['ck',_0x3f25a5(0x1cc),_0x1c9fff['if'](_0x3f25a5(0x1db),_0x3f25a5(0x1a6))]},'children':[this[_0x3f25a5(0x187)],{'tag':_0x3f25a5(0x1d0),'attributes':{'class':['ck',_0x3f25a5(0x19d)]},'children':[this[_0x3f25a5(0x1b9)]]}]}]});}[_0xfa188a(0x1b1)](){const _0x325dab=_0xfa188a;super[_0x325dab(0x1b1)](),this[_0x325dab(0x1c8)]&&this[_0x325dab(0x187)][_0x325dab(0x1c5)](this[_0x325dab(0x1c8)]);let _0x572813=!0x1;this['on'](_0x325dab(0x195),(_0x10fd01,_0x229a75,_0x4b3eb8)=>{const _0x1a1ae3=_0x325dab,_0xfe1159=!this[_0x1a1ae3(0x187)][_0x1a1ae3(0x1c6)][_0x1a1ae3(0x1b5)](_0x1a1ae3(0x1b2));this[_0x1a1ae3(0x187)][_0x1a1ae3(0x1c5)](_0x4b3eb8),this[_0x1a1ae3(0x1db)]&&_0xfe1159&&!_0x572813&&this[_0x1a1ae3(0x1c6)][_0x1a1ae3(0x1b8)]({'top':this[_0x1a1ae3(0x1c6)][_0x1a1ae3(0x1a2)],'behavior':_0x1a1ae3(0x186)});}),this['on'](_0x325dab(0x19a),(_0x3ec5ea,_0x5e57e4,_0x4fc60d)=>{const _0x3cf3b0=_0x325dab;_0x572813=!0x1,_0x4fc60d?(this[_0x3cf3b0(0x1c8)]=null,this[_0x3cf3b0(0x187)][_0x3cf3b0(0x1bf)]()):this[_0x3cf3b0(0x1c8)]||this[_0x3cf3b0(0x187)][_0x3cf3b0(0x1c5)]('');}),this[_0x325dab(0x1a9)](this[_0x325dab(0x1c6)],_0x325dab(0x1a5),()=>{_0x572813=!0x0;}),this[_0x325dab(0x1a9)](this[_0x325dab(0x1c6)],_0x325dab(0x1d7),()=>{_0x572813=!0x0;});}[_0xfa188a(0x1ce)](){const _0x4745ed=_0xfa188a;this[_0x4745ed(0x1c6)][_0x4745ed(0x1ce)]();}[_0xfa188a(0x1be)](){const _0x709610=_0xfa188a,_0x33424c=this[_0x709610(0x190)],_0x27ecb=new _0xc48fd1(this[_0x709610(0x190)]),_0x5acdf6=_0x709610(0x1ae);return _0x27ecb[_0x709610(0x1a4)]({'label':_0xc18ac2(_0x33424c,_0x709610(0x1b7)),'icon':_0x4710fe,'class':_0x5acdf6,'tooltip':!0x0}),_0x27ecb[_0x709610(0x196)](_0x709610(0x1c4))['to'](this,_0x709610(0x1c8),_0x83a493=>!!_0x83a493),_0x27ecb[_0x709610(0x196)](_0x709610(0x1c1))['to'](this,_0x709610(0x1db),_0x290b78=>!_0x290b78),_0x27ecb['on'](_0x709610(0x1a1),()=>{const _0x146b47=_0x709610;this[_0x146b47(0x1a0)](this[_0x146b47(0x187)][_0x146b47(0x1c6)]),_0x27ecb[_0x146b47(0x18c)]=_0x2ac23d,_0x27ecb[_0x146b47(0x1b3)]=_0x5acdf6+_0x146b47(0x19c),this[_0x146b47(0x1ce)](),setTimeout(()=>{const _0x18edb8=_0x146b47;_0x27ecb[_0x18edb8(0x18c)]=_0x4710fe,_0x27ecb[_0x18edb8(0x1b3)]=_0x5acdf6;},0x3e8);}),_0x27ecb;}[_0xfa188a(0x1a0)](_0x2764c7){const _0x5345c6=_0xfa188a,{window:_0x417012,document:_0x1f7beb}=_0x513771;if(_0x417012[_0x5345c6(0x1c3)]){const {Blob:_0x197b5a,ClipboardItem:_0xd645ee}=_0x417012,_0x4208ef=[new _0xd645ee({'text/html':new _0x197b5a([_0x2764c7[_0x5345c6(0x1d3)]],{'type':_0x5345c6(0x1cb)}),'text/plain':new _0x197b5a([_0x2764c7[_0x5345c6(0x193)]||''],{'type':_0x5345c6(0x1d8)})})];navigator[_0x5345c6(0x1ba)][_0x5345c6(0x1ad)](_0x4208ef);}else{const _0x56eb3a=_0x1f7beb[_0x5345c6(0x1bc)](_0x5345c6(0x1d0));_0x56eb3a[_0x5345c6(0x18b)][_0x5345c6(0x189)]=_0x5345c6(0x1a3),_0x56eb3a[_0x5345c6(0x18b)][_0x5345c6(0x18d)]=_0x5345c6(0x194),_0x56eb3a[_0x5345c6(0x1d3)]=_0x5345c6(0x1b6)+_0x2764c7[_0x5345c6(0x1d3)]+_0x5345c6(0x1d9),_0x1f7beb[_0x5345c6(0x1d1)][_0x5345c6(0x1a8)](_0x56eb3a);const _0x573fdf=_0x1f7beb[_0x5345c6(0x1bb)]();_0x573fdf[_0x5345c6(0x198)](_0x56eb3a[_0x5345c6(0x19b)]),_0x573fdf[_0x5345c6(0x1c9)](_0x56eb3a[_0x5345c6(0x1d6)]);const _0x39e879=_0x417012[_0x5345c6(0x1ac)]();_0x39e879[_0x5345c6(0x1d4)](),_0x39e879[_0x5345c6(0x1ab)](_0x573fdf),_0x1f7beb[_0x5345c6(0x18f)](_0x5345c6(0x1cf)),_0x56eb3a[_0x5345c6(0x1c7)]();}}}export class ContentFieldView extends _0x3b0998{constructor(_0x128a23,_0x577ba5=''){const _0x369717=_0xfa188a;super(_0x128a23),this[_0x369717(0x1c2)]=this[_0x369717(0x1b4)](),this[_0x369717(0x1af)]({'tag':_0x369717(0x1d0),'attributes':{'class':['ck',_0x369717(0x1b0),_0x577ba5,_0x369717(0x197),_0x369717(0x19e)]}});}[_0xfa188a(0x1c5)](_0x51d855){const _0x3a4a6b=_0xfa188a;this[_0x3a4a6b(0x1c6)][_0x3a4a6b(0x1d3)]=_0x51d855;}[_0xfa188a(0x1bf)](){const _0x5e98c0=_0xfa188a;this[_0x5e98c0(0x1c6)][_0x5e98c0(0x1a8)](this[_0x5e98c0(0x1c2)][_0x5e98c0(0x1c6)]);}[_0xfa188a(0x1b4)](){const _0x5a1043=_0xfa188a,_0xe3b801=new _0x3b0998(),_0x362f6a=this[_0x5a1043(0x190)],_0x4741ba=new _0x19cd94();return _0x4741ba[_0x5a1043(0x1c4)]=!0x0,_0xe3b801[_0x5a1043(0x1af)]({'tag':_0x5a1043(0x1d0),'attributes':{'class':['ck',_0x5a1043(0x1bd)]},'children':[_0x4741ba,{'text':_0xc18ac2(_0x362f6a,_0x5a1043(0x1da))}]}),_0xe3b801[_0x5a1043(0x1b1)](),_0xe3b801;}}
23
+ const _0x52d49c=_0x4fca;(function(_0x4e8205,_0x278cb2){const _0x25db2b=_0x4fca,_0x2d8954=_0x4e8205();while(!![]){try{const _0x5d5b90=parseInt(_0x25db2b(0x14f))/0x1*(parseInt(_0x25db2b(0x163))/0x2)+-parseInt(_0x25db2b(0x19c))/0x3+parseInt(_0x25db2b(0x161))/0x4+-parseInt(_0x25db2b(0x1a3))/0x5*(parseInt(_0x25db2b(0x160))/0x6)+-parseInt(_0x25db2b(0x152))/0x7+parseInt(_0x25db2b(0x19d))/0x8+parseInt(_0x25db2b(0x192))/0x9*(parseInt(_0x25db2b(0x196))/0xa);if(_0x5d5b90===_0x278cb2)break;else _0x2d8954['push'](_0x2d8954['shift']());}catch(_0x3a4c78){_0x2d8954['push'](_0x2d8954['shift']());}}}(_0x3c33,0x318f9));import{global as _0x115a69}from'ckeditor5/src/utils.js';function _0x4fca(_0x97ff55,_0x57cf9b){const _0x3c33d5=_0x3c33();return _0x4fca=function(_0x4fca88,_0x4532ba){_0x4fca88=_0x4fca88-0x14f;let _0x37b730=_0x3c33d5[_0x4fca88];return _0x37b730;},_0x4fca(_0x97ff55,_0x57cf9b);}import{View as _0x914233,ButtonView as _0x58106f,SpinnerView as _0x5084d6}from'ckeditor5/src/ui.js';function _0x3c33(){const _0x87b298=['bind','position','isProcessing','-9999px','style','78258RxkJqz','70340KbPFrL','class','6gKOadp','copy','write','remove','scrollHeight','setContent','scrollTo','div','getSelection','ck-ai-form__content-area','AI\x20is\x20writing...','copyButtonView','lastElementChild','change:value','left','isVisible','ck-reset_all-excluded','locale','textContent','ck-ai-form__content-area-wrapper','setTemplate','ck-hidden','text/html','appendChild','mousedown','contentFieldView','querySelector','ck-ai-form__loader','execCommand','<span>]</span>','appendLoader','clipboard','innerHTML','value','ck-ai-form__copy-button-wrapper','set','createElement','ClipboardItem','body','change:isProcessing','absolute','createRange','<span>[</span>','setEndBefore','loaderView','Copy','listenTo','2358801nVmcbr','focus','removeAllRanges','ck-ai-form__content-area--processing','10GwjlvP','wheel','ck-ai-form__copy-button','icon','ck-ai-form__content-field','smooth','863976mIxNAl','1074960HTWGtK','firstElementChild','text/plain','_createCopyButton','element','.ck-ai-form__loader','45COBIfP','79467xzBVWc','execute','ck-content','308455zgjzcE','_copyHTMLToClipboard','_createLoader','isEnabled','setStartAfter','bindTemplate','render','\x20ck-ai-form__copy-button--copied','addRange'];_0x3c33=function(){return _0x87b298;};return _0x3c33();}import{IconCheck as _0xeb2435,IconCopy as _0x35bb15}from'ckeditor5/src/icons.js';import{getTranslation as _0x44e4f2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x914233{[_0x52d49c(0x17c)];[_0x52d49c(0x16e)];constructor(_0x38006e,_0x4f8963=''){const _0x4da235=_0x52d49c;super(_0x38006e),this[_0x4da235(0x186)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x258c82=this[_0x4da235(0x157)];this[_0x4da235(0x17c)]=new ContentFieldView(_0x38006e,_0x4f8963),this[_0x4da235(0x16e)]=this[_0x4da235(0x1a0)](),this[_0x4da235(0x177)]({'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x176),_0x258c82['if'](_0x4da235(0x172),_0x4da235(0x178),_0x22a7c9=>!_0x22a7c9)],'tabindex':'-1'},'children':[{'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x16c),_0x258c82['if'](_0x4da235(0x15d),_0x4da235(0x195))]},'children':[this[_0x4da235(0x17c)],{'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x185)]},'children':[this[_0x4da235(0x16e)]]}]}]});}[_0x52d49c(0x158)](){const _0x302821=_0x52d49c;super[_0x302821(0x158)](),this[_0x302821(0x184)]&&this[_0x302821(0x17c)][_0x302821(0x168)](this[_0x302821(0x184)]);let _0x56ade5=!0x1;this['on'](_0x302821(0x170),(_0x204550,_0x257518,_0x15677c)=>{const _0x226194=_0x302821,_0x3791dd=!this[_0x226194(0x17c)][_0x226194(0x1a1)][_0x226194(0x17d)](_0x226194(0x1a2));this[_0x226194(0x17c)][_0x226194(0x168)](_0x15677c),this[_0x226194(0x15d)]&&_0x3791dd&&!_0x56ade5&&this[_0x226194(0x1a1)][_0x226194(0x169)]({'top':this[_0x226194(0x1a1)][_0x226194(0x167)],'behavior':_0x226194(0x19b)});}),this['on'](_0x302821(0x18a),(_0x4213fe,_0x21c362,_0x457ed1)=>{const _0x60e960=_0x302821;_0x56ade5=!0x1,_0x457ed1?(this[_0x60e960(0x184)]=null,this[_0x60e960(0x17c)][_0x60e960(0x181)]()):this[_0x60e960(0x184)]||this[_0x60e960(0x17c)][_0x60e960(0x168)]('');}),this[_0x302821(0x191)](this[_0x302821(0x1a1)],_0x302821(0x197),()=>{_0x56ade5=!0x0;}),this[_0x302821(0x191)](this[_0x302821(0x1a1)],_0x302821(0x17b),()=>{_0x56ade5=!0x0;});}[_0x52d49c(0x193)](){const _0xb89cad=_0x52d49c;this[_0xb89cad(0x1a1)][_0xb89cad(0x193)]();}[_0x52d49c(0x1a0)](){const _0x613730=_0x52d49c,_0x3bbb82=this[_0x613730(0x174)],_0x448d97=new _0x58106f(this[_0x613730(0x174)]),_0x532c1f=_0x613730(0x198);return _0x448d97[_0x613730(0x186)]({'label':_0x44e4f2(_0x3bbb82,_0x613730(0x190)),'icon':_0x35bb15,'class':_0x532c1f,'tooltip':!0x0}),_0x448d97[_0x613730(0x15b)](_0x613730(0x172))['to'](this,_0x613730(0x184),_0x5e421f=>!!_0x5e421f),_0x448d97[_0x613730(0x15b)](_0x613730(0x155))['to'](this,_0x613730(0x15d),_0x42e21f=>!_0x42e21f),_0x448d97['on'](_0x613730(0x150),()=>{const _0x1c8f2c=_0x613730;this[_0x1c8f2c(0x153)](this[_0x1c8f2c(0x17c)][_0x1c8f2c(0x1a1)]),_0x448d97[_0x1c8f2c(0x199)]=_0xeb2435,_0x448d97[_0x1c8f2c(0x162)]=_0x532c1f+_0x1c8f2c(0x159),this[_0x1c8f2c(0x193)](),setTimeout(()=>{const _0x306fbc=_0x1c8f2c;_0x448d97[_0x306fbc(0x199)]=_0x35bb15,_0x448d97[_0x306fbc(0x162)]=_0x532c1f;},0x3e8);}),_0x448d97;}[_0x52d49c(0x153)](_0x5bfb25){const _0x2b185d=_0x52d49c,{window:_0x274674,document:_0x364825}=_0x115a69;if(_0x274674[_0x2b185d(0x188)]){const {Blob:_0x1e031e,ClipboardItem:_0x1801a0}=_0x274674,_0x461cbf=[new _0x1801a0({'text/html':new _0x1e031e([_0x5bfb25[_0x2b185d(0x183)]],{'type':_0x2b185d(0x179)}),'text/plain':new _0x1e031e([_0x5bfb25[_0x2b185d(0x175)]||''],{'type':_0x2b185d(0x19f)})})];navigator[_0x2b185d(0x182)][_0x2b185d(0x165)](_0x461cbf);}else{const _0x515c87=_0x364825[_0x2b185d(0x187)](_0x2b185d(0x16a));_0x515c87[_0x2b185d(0x15f)][_0x2b185d(0x15c)]=_0x2b185d(0x18b),_0x515c87[_0x2b185d(0x15f)][_0x2b185d(0x171)]=_0x2b185d(0x15e),_0x515c87[_0x2b185d(0x183)]=_0x2b185d(0x18d)+_0x5bfb25[_0x2b185d(0x183)]+_0x2b185d(0x180),_0x364825[_0x2b185d(0x189)][_0x2b185d(0x17a)](_0x515c87);const _0x28bfa8=_0x364825[_0x2b185d(0x18c)]();_0x28bfa8[_0x2b185d(0x156)](_0x515c87[_0x2b185d(0x19e)]),_0x28bfa8[_0x2b185d(0x18e)](_0x515c87[_0x2b185d(0x16f)]);const _0x5ef69e=_0x274674[_0x2b185d(0x16b)]();_0x5ef69e[_0x2b185d(0x194)](),_0x5ef69e[_0x2b185d(0x15a)](_0x28bfa8),_0x364825[_0x2b185d(0x17f)](_0x2b185d(0x164)),_0x515c87[_0x2b185d(0x166)]();}}}export class ContentFieldView extends _0x914233{constructor(_0x4f95dd,_0x43a453=''){const _0x1b0dfa=_0x52d49c;super(_0x4f95dd),this[_0x1b0dfa(0x18f)]=this[_0x1b0dfa(0x154)](),this[_0x1b0dfa(0x177)]({'tag':_0x1b0dfa(0x16a),'attributes':{'class':['ck',_0x1b0dfa(0x151),_0x43a453,_0x1b0dfa(0x173),_0x1b0dfa(0x19a)]}});}[_0x52d49c(0x168)](_0xdeda52){const _0x496b5f=_0x52d49c;this[_0x496b5f(0x1a1)][_0x496b5f(0x183)]=_0xdeda52;}[_0x52d49c(0x181)](){const _0x3c2bf2=_0x52d49c;this[_0x3c2bf2(0x1a1)][_0x3c2bf2(0x17a)](this[_0x3c2bf2(0x18f)][_0x3c2bf2(0x1a1)]);}[_0x52d49c(0x154)](){const _0x5558d4=_0x52d49c,_0x2e8e72=new _0x914233(),_0x57918d=this[_0x5558d4(0x174)],_0x2c2aff=new _0x5084d6();return _0x2c2aff[_0x5558d4(0x172)]=!0x0,_0x2e8e72[_0x5558d4(0x177)]({'tag':_0x5558d4(0x16a),'attributes':{'class':['ck',_0x5558d4(0x17e)]},'children':[_0x2c2aff,{'text':_0x44e4f2(_0x57918d,_0x5558d4(0x16d))}]}),_0x2e8e72[_0x5558d4(0x158)](),_0x2e8e72;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x59c5cd,_0x34c575){const _0x120ebf=_0x2560,_0x1510bf=_0x59c5cd();while(!![]){try{const _0x2c0744=parseInt(_0x120ebf(0x1d8))/0x1*(-parseInt(_0x120ebf(0x1d7))/0x2)+parseInt(_0x120ebf(0x1d3))/0x3*(-parseInt(_0x120ebf(0x1e3))/0x4)+-parseInt(_0x120ebf(0x1dd))/0x5+parseInt(_0x120ebf(0x1de))/0x6*(parseInt(_0x120ebf(0x1d5))/0x7)+parseInt(_0x120ebf(0x1df))/0x8*(parseInt(_0x120ebf(0x1da))/0x9)+parseInt(_0x120ebf(0x1e1))/0xa*(parseInt(_0x120ebf(0x1e2))/0xb)+parseInt(_0x120ebf(0x1dc))/0xc*(parseInt(_0x120ebf(0x1e0))/0xd);if(_0x2c0744===_0x34c575)break;else _0x1510bf['push'](_0x1510bf['shift']());}catch(_0x16a58b){_0x1510bf['push'](_0x1510bf['shift']());}}}(_0x561a,0xeac3f));function _0x2560(_0x9030fb,_0x551122){const _0x561a57=_0x561a();return _0x2560=function(_0x256078,_0x3c661c){_0x256078=_0x256078-0x1d1;let _0xaac980=_0x561a57[_0x256078];return _0xaac980;},_0x2560(_0x9030fb,_0x551122);}import{IconError as _0xbeca5c}from'ckeditor5/src/icons.js';import{View as _0x551a1d,IconView as _0x37e697}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x551a1d{constructor(_0x19c286,_0x2c1bf2=''){const _0x35cc8c=_0x2560;super(_0x19c286);const _0x22daa7=new _0x37e697(),_0x421f49=this[_0x35cc8c(0x1db)];this[_0x35cc8c(0x1d2)](_0x35cc8c(0x1d6),_0x2c1bf2),_0x22daa7[_0x35cc8c(0x1d9)]=_0xbeca5c,this[_0x35cc8c(0x1e4)]({'tag':_0x35cc8c(0x1d1),'attributes':{'class':['ck',_0x35cc8c(0x1d4)]},'children':[_0x22daa7,{'text':_0x421f49['to'](_0x35cc8c(0x1d6))}]});}}function _0x561a(){const _0x50c514=['ck-ai-form__error','712054xxjFLH','text','2jAFcDB','477057OmTlsE','content','9NMRqyT','bindTemplate','1488ogKVHb','1625080avWPAX','60EwpWGT','776648vSpfdV','60151PbJTHP','50pgWBoo','950202vUadoN','4IfZzYe','setTemplate','div','set','1068861jgikJd'];_0x561a=function(){return _0x50c514;};return _0x561a();}
23
+ (function(_0x74981f,_0x41cde0){const _0x5bc623=_0x1834,_0x5b7941=_0x74981f();while(!![]){try{const _0x26cefd=-parseInt(_0x5bc623(0x136))/0x1+-parseInt(_0x5bc623(0x135))/0x2*(parseInt(_0x5bc623(0x12f))/0x3)+-parseInt(_0x5bc623(0x13d))/0x4*(-parseInt(_0x5bc623(0x13c))/0x5)+-parseInt(_0x5bc623(0x13e))/0x6+parseInt(_0x5bc623(0x131))/0x7*(-parseInt(_0x5bc623(0x133))/0x8)+parseInt(_0x5bc623(0x132))/0x9+-parseInt(_0x5bc623(0x137))/0xa*(-parseInt(_0x5bc623(0x13a))/0xb);if(_0x26cefd===_0x41cde0)break;else _0x5b7941['push'](_0x5b7941['shift']());}catch(_0x56af1d){_0x5b7941['push'](_0x5b7941['shift']());}}}(_0x4063,0xdb5ab));function _0x1834(_0x1edfbc,_0xc1456d){const _0x4063e9=_0x4063();return _0x1834=function(_0x1834c1,_0x5364dc){_0x1834c1=_0x1834c1-0x12e;let _0x101fcb=_0x4063e9[_0x1834c1];return _0x101fcb;},_0x1834(_0x1edfbc,_0xc1456d);}import{IconError as _0x5b8902}from'ckeditor5/src/icons.js';import{View as _0x4e0c6d,IconView as _0x3c4c67}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4e0c6d{constructor(_0x538878,_0x2b648c=''){const _0x2df515=_0x1834;super(_0x538878);const _0x41842a=new _0x3c4c67(),_0x30d427=this[_0x2df515(0x130)];this[_0x2df515(0x134)](_0x2df515(0x13f),_0x2b648c),_0x41842a[_0x2df515(0x12e)]=_0x5b8902,this[_0x2df515(0x13b)]({'tag':_0x2df515(0x138),'attributes':{'class':['ck',_0x2df515(0x139)]},'children':[_0x41842a,{'text':_0x30d427['to'](_0x2df515(0x13f))}]});}}function _0x4063(){const _0x21d46d=['text','content','3ukeHhF','bindTemplate','7nNCEVK','1475676woPaoE','8268056sZvhax','set','424250kparvY','1261481KrfLuW','22244090jQBpgf','div','ck-ai-form__error','11LKsSuc','setTemplate','110MBjeuM','323788wevulY','4581714DmNRna'];_0x4063=function(){return _0x21d46d;};return _0x4063();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11dc14=_0xa904;(function(_0x5bfcd4,_0x23a252){const _0x2ef813=_0xa904,_0x40e9c7=_0x5bfcd4();while(!![]){try{const _0x48279e=parseInt(_0x2ef813(0xc0))/0x1+-parseInt(_0x2ef813(0xc6))/0x2*(-parseInt(_0x2ef813(0xc2))/0x3)+-parseInt(_0x2ef813(0xde))/0x4*(-parseInt(_0x2ef813(0xe2))/0x5)+parseInt(_0x2ef813(0xdb))/0x6*(-parseInt(_0x2ef813(0xd5))/0x7)+parseInt(_0x2ef813(0xd4))/0x8*(-parseInt(_0x2ef813(0xcd))/0x9)+parseInt(_0x2ef813(0xce))/0xa*(-parseInt(_0x2ef813(0xbf))/0xb)+parseInt(_0x2ef813(0xb2))/0xc;if(_0x48279e===_0x23a252)break;else _0x40e9c7['push'](_0x40e9c7['shift']());}catch(_0x3b4af8){_0x40e9c7['push'](_0x40e9c7['shift']());}}}(_0x3d0a,0xe8431));function _0xa904(_0x6abb15,_0x2ead14){const _0x3d0a73=_0x3d0a();return _0xa904=function(_0xa9041,_0x98a6ff){_0xa9041=_0xa9041-0xaa;let _0x3a0c81=_0x3d0a73[_0xa9041];return _0x3a0c81;},_0xa904(_0x6abb15,_0x2ead14);}import{Rect as _0x2c0797,global as _0x53389f,isVisible as _0x57d53b}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x5e45b9,IconSubmit as _0x4a22b9}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1dfe7e,ButtonView as _0x230056}from'ckeditor5/src/ui.js';import{getTranslation as _0x1cd3a0}from'../../utils/common-translations.js';function _0x3d0a(){const _0x3991f8=['fieldWrapperChildren','History','execute','isEmpty','excludeScrollbarsAndBorders','rtl','fieldView','showHistoryButtonView','element','target','3363300IUqoSD','add','isVisible','locale','children','bind','submit','_createShowHistoryButton','width','left','queryView','set','update','36949UBiAkf','1162903ahGFXS','enter','1074vvfacm','focusFirst','focusLast','window','6166gRYjDL','isOn','_createSubmitButton','fire','focusCycler','render','maxRows','279ofCPst','1610ZXeFsm','resultsView','submitButtonView','ck-ai-form__submit','minRows','focus','117224Tckvao','12218269TrZjYc','right','Submit','value','filteredView','ck-ai-form__toggle-history','6sqPqQc','isEnabled','style','9828XednGa','requestAnimationFrame','uiLanguageDirection','keystrokes','2330UXjveQ','focusableChildren'];_0x3d0a=function(){return _0x3991f8;};return _0x3d0a();}export class AIFormPromptView extends _0x1dfe7e{[_0x11dc14(0xd0)];[_0x11dc14(0xaf)];constructor(_0x5c8c21,_0x44d695){const _0x2d510a=_0x11dc14;super(_0x5c8c21,_0x44d695),this[_0x2d510a(0xbc)][_0x2d510a(0xae)][_0x2d510a(0xd2)]=0x1,this[_0x2d510a(0xbc)][_0x2d510a(0xae)][_0x2d510a(0xcc)]=0x3,this[_0x2d510a(0xd0)]=this[_0x2d510a(0xc8)](),this[_0x2d510a(0xaf)]=this[_0x2d510a(0xb9)](),this[_0x2d510a(0xe3)][_0x2d510a(0xb3)](this[_0x2d510a(0xaf)],0x1),this[_0x2d510a(0xe3)][_0x2d510a(0xb3)](this[_0x2d510a(0xd0)]);}[_0x11dc14(0xcb)](){const _0x232b50=_0x11dc14;super[_0x232b50(0xcb)](),this[_0x232b50(0xbc)][_0x232b50(0xe4)][_0x232b50(0xb3)](this[_0x232b50(0xaf)]),this[_0x232b50(0xb6)][_0x232b50(0xb3)](this[_0x232b50(0xd0)]),this[_0x232b50(0xe1)][_0x232b50(0xbd)](_0x232b50(0xc1),(_0x5b599f,_0x482aef)=>{const _0x3e54d7=_0x232b50;_0x5b599f[_0x3e54d7(0xb1)]==this[_0x3e54d7(0xbc)][_0x3e54d7(0xae)][_0x3e54d7(0xb0)]&&(this[_0x3e54d7(0xb8)](),_0x482aef());});}[_0x11dc14(0xc8)](){const _0x866b8e=_0x11dc14,_0x5c0067=new _0x230056(this[_0x866b8e(0xb5)]),_0x28325c=this[_0x866b8e(0xb5)];return _0x5c0067[_0x866b8e(0xbd)]({'icon':_0x4a22b9,'label':_0x1cd3a0(_0x28325c,_0x866b8e(0xd7)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x866b8e(0xd1)}),_0x5c0067['on'](_0x866b8e(0xaa),()=>{const _0x46e949=_0x866b8e;this[_0x46e949(0xb8)]();}),_0x5c0067[_0x866b8e(0xb7)](_0x866b8e(0xdc))['to'](this[_0x866b8e(0xbc)][_0x866b8e(0xae)],_0x866b8e(0xab),this,_0x866b8e(0xdc),(_0xa91637,_0x10bbdf)=>!_0xa91637&&_0x10bbdf),_0x5c0067;}[_0x11dc14(0xb9)](){const _0xfcb64e=_0x11dc14,_0x5e90f0=new _0x230056(this[_0xfcb64e(0xb5)]),_0x333fc=this[_0xfcb64e(0xcf)],_0x5e6d37=this[_0xfcb64e(0xb5)];_0x5e90f0[_0xfcb64e(0xbd)]({'label':_0x1cd3a0(_0x5e6d37,_0xfcb64e(0xe5)),'withText':!0x1,'icon':_0x5e45b9,'tooltip':!0x0,'tooltipPosition':'sw','class':_0xfcb64e(0xda)}),_0x5e90f0[_0xfcb64e(0xb7)](_0xfcb64e(0xc7))['to'](_0x333fc,_0xfcb64e(0xb4)),_0x5e90f0[_0xfcb64e(0xb7)](_0xfcb64e(0xdc))['to'](this,_0xfcb64e(0xdc)),_0x5e90f0['on'](_0xfcb64e(0xaa),()=>{const _0x1e6b69=_0xfcb64e;_0x333fc[_0x1e6b69(0xb4)]=!_0x333fc[_0x1e6b69(0xb4)],_0x333fc[_0x1e6b69(0xb4)]?this[_0x1e6b69(0xd9)][_0x1e6b69(0xd3)]():this[_0x1e6b69(0xd3)]();});const _0x2488f0=()=>{const _0x43c5df=_0xfcb64e;_0x53389f[_0x43c5df(0xc5)][_0x43c5df(0xdf)](()=>{const _0x9aea89=_0x43c5df;if(_0x57d53b(this[_0x9aea89(0xb0)])){const _0x9f3eb8=new _0x2c0797(this[_0x9aea89(0xbc)][_0x9aea89(0xae)][_0x9aea89(0xb0)]),_0xe9f641=_0x9f3eb8[_0x9aea89(0xba)],_0x59d951=_0x9aea89(0xad)===_0x5e6d37[_0x9aea89(0xe0)]?_0x9aea89(0xbb):_0x9aea89(0xd6);_0x9f3eb8[_0x9aea89(0xac)](),_0x5e90f0[_0x9aea89(0xb0)][_0x9aea89(0xdd)][_0x59d951]=_0xe9f641-_0x9f3eb8[_0x9aea89(0xba)]+0x1+'px';}});};return this[_0xfcb64e(0xbc)][_0xfcb64e(0xae)]['on'](_0xfcb64e(0xbe),_0x2488f0),this['on'](_0xfcb64e(0xcb),_0x2488f0),_0x5e90f0;}[_0x11dc14(0xb8)](){const _0x843adc=_0x11dc14,_0xe1849f=this[_0x843adc(0xbc)][_0x843adc(0xae)][_0x843adc(0xb0)][_0x843adc(0xd8)];this[_0x843adc(0xc9)](_0x843adc(0xb8),_0xe1849f);}[_0x11dc14(0xd3)](_0x16b4f7){const _0x1be8ed=_0x11dc14;-0x1===_0x16b4f7?this[_0x1be8ed(0xca)][_0x1be8ed(0xc4)]():this[_0x1be8ed(0xca)][_0x1be8ed(0xc3)]();}}
23
+ const _0x31e038=_0xf129;(function(_0x33e25f,_0x5a10d1){const _0xd18192=_0xf129,_0x375ed4=_0x33e25f();while(!![]){try{const _0x5dd1cf=-parseInt(_0xd18192(0x127))/0x1*(parseInt(_0xd18192(0x134))/0x2)+-parseInt(_0xd18192(0x14e))/0x3*(-parseInt(_0xd18192(0x12f))/0x4)+parseInt(_0xd18192(0x149))/0x5*(-parseInt(_0xd18192(0x12b))/0x6)+-parseInt(_0xd18192(0x119))/0x7*(parseInt(_0xd18192(0x11c))/0x8)+-parseInt(_0xd18192(0x141))/0x9+-parseInt(_0xd18192(0x151))/0xa*(parseInt(_0xd18192(0x144))/0xb)+parseInt(_0xd18192(0x13d))/0xc;if(_0x5dd1cf===_0x5a10d1)break;else _0x375ed4['push'](_0x375ed4['shift']());}catch(_0x3b9a90){_0x375ed4['push'](_0x375ed4['shift']());}}}(_0x40d0,0x34660));function _0x40d0(){const _0x56aea9=['requestAnimationFrame','ck-ai-form__toggle-history','enter','4aCuRWn','execute','filteredView','queryView','keystrokes','excludeScrollbarsAndBorders','right','isEnabled','minRows','18210876aUxhiL','fire','locale','value','3236193OWywAH','History','set','11tzZvbB','render','submitButtonView','target','Submit','50zuuVsg','fieldWrapperChildren','focusCycler','_createSubmitButton','isOn','6wLGzqj','resultsView','rtl','3339670BcPJRd','uiLanguageDirection','style','add','213535xVcQtO','window','focusFirst','40TCUKuz','focus','update','children','ck-ai-form__submit','focusableChildren','bind','left','focusLast','_createShowHistoryButton','fieldView','113451JJsENE','showHistoryButtonView','isVisible','submit','192702LzFSfX','maxRows','element','isEmpty','182384iGISEc','width'];_0x40d0=function(){return _0x56aea9;};return _0x40d0();}import{Rect as _0x1bd6dc,global as _0x14aaa4,isVisible as _0x376d80}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x3f3ec5,IconSubmit as _0x1dff50}from'ckeditor5/src/icons.js';import{AutocompleteView as _0xd836d4,ButtonView as _0x24ff35}from'ckeditor5/src/ui.js';import{getTranslation as _0xddab86}from'../../utils/common-translations.js';function _0xf129(_0xcefecc,_0x4bab34){const _0x40d051=_0x40d0();return _0xf129=function(_0xf1295e,_0x57325c){_0xf1295e=_0xf1295e-0x118;let _0x2d37f0=_0x40d051[_0xf1295e];return _0x2d37f0;},_0xf129(_0xcefecc,_0x4bab34);}export class AIFormPromptView extends _0xd836d4{[_0x31e038(0x146)];[_0x31e038(0x128)];constructor(_0xd45f4d,_0x1c15e6){const _0x3fa4d2=_0x31e038;super(_0xd45f4d,_0x1c15e6),this[_0x3fa4d2(0x137)][_0x3fa4d2(0x126)][_0x3fa4d2(0x13c)]=0x1,this[_0x3fa4d2(0x137)][_0x3fa4d2(0x126)][_0x3fa4d2(0x12c)]=0x3,this[_0x3fa4d2(0x146)]=this[_0x3fa4d2(0x14c)](),this[_0x3fa4d2(0x128)]=this[_0x3fa4d2(0x125)](),this[_0x3fa4d2(0x121)][_0x3fa4d2(0x118)](this[_0x3fa4d2(0x128)],0x1),this[_0x3fa4d2(0x121)][_0x3fa4d2(0x118)](this[_0x3fa4d2(0x146)]);}[_0x31e038(0x145)](){const _0x139130=_0x31e038;super[_0x139130(0x145)](),this[_0x139130(0x137)][_0x139130(0x14a)][_0x139130(0x118)](this[_0x139130(0x128)]),this[_0x139130(0x11f)][_0x139130(0x118)](this[_0x139130(0x146)]),this[_0x139130(0x138)][_0x139130(0x143)](_0x139130(0x133),(_0x2f27cd,_0xdfcb4)=>{const _0x2ecb37=_0x139130;_0x2f27cd[_0x2ecb37(0x147)]==this[_0x2ecb37(0x137)][_0x2ecb37(0x126)][_0x2ecb37(0x12d)]&&(this[_0x2ecb37(0x12a)](),_0xdfcb4());});}[_0x31e038(0x14c)](){const _0x68abfc=_0x31e038,_0x4a94fb=new _0x24ff35(this[_0x68abfc(0x13f)]),_0x476ce2=this[_0x68abfc(0x13f)];return _0x4a94fb[_0x68abfc(0x143)]({'icon':_0x1dff50,'label':_0xddab86(_0x476ce2,_0x68abfc(0x148)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x68abfc(0x120)}),_0x4a94fb['on'](_0x68abfc(0x135),()=>{const _0x3f2a3e=_0x68abfc;this[_0x3f2a3e(0x12a)]();}),_0x4a94fb[_0x68abfc(0x122)](_0x68abfc(0x13b))['to'](this[_0x68abfc(0x137)][_0x68abfc(0x126)],_0x68abfc(0x12e),this,_0x68abfc(0x13b),(_0x278fc9,_0x28ac41)=>!_0x278fc9&&_0x28ac41),_0x4a94fb;}[_0x31e038(0x125)](){const _0x183399=_0x31e038,_0x56cdfb=new _0x24ff35(this[_0x183399(0x13f)]),_0x5e745d=this[_0x183399(0x14f)],_0x51af9a=this[_0x183399(0x13f)];_0x56cdfb[_0x183399(0x143)]({'label':_0xddab86(_0x51af9a,_0x183399(0x142)),'withText':!0x1,'icon':_0x3f3ec5,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x183399(0x132)}),_0x56cdfb[_0x183399(0x122)](_0x183399(0x14d))['to'](_0x5e745d,_0x183399(0x129)),_0x56cdfb[_0x183399(0x122)](_0x183399(0x13b))['to'](this,_0x183399(0x13b)),_0x56cdfb['on'](_0x183399(0x135),()=>{const _0x321291=_0x183399;_0x5e745d[_0x321291(0x129)]=!_0x5e745d[_0x321291(0x129)],_0x5e745d[_0x321291(0x129)]?this[_0x321291(0x136)][_0x321291(0x11d)]():this[_0x321291(0x11d)]();});const _0x59cdb4=()=>{const _0x34ae59=_0x183399;_0x14aaa4[_0x34ae59(0x11a)][_0x34ae59(0x131)](()=>{const _0x1f25e7=_0x34ae59;if(_0x376d80(this[_0x1f25e7(0x12d)])){const _0x20f396=new _0x1bd6dc(this[_0x1f25e7(0x137)][_0x1f25e7(0x126)][_0x1f25e7(0x12d)]),_0x1c74d7=_0x20f396[_0x1f25e7(0x130)],_0x5ae0b5=_0x1f25e7(0x150)===_0x51af9a[_0x1f25e7(0x152)]?_0x1f25e7(0x123):_0x1f25e7(0x13a);_0x20f396[_0x1f25e7(0x139)](),_0x56cdfb[_0x1f25e7(0x12d)][_0x1f25e7(0x153)][_0x5ae0b5]=_0x1c74d7-_0x20f396[_0x1f25e7(0x130)]+0x1+'px';}});};return this[_0x183399(0x137)][_0x183399(0x126)]['on'](_0x183399(0x11e),_0x59cdb4),this['on'](_0x183399(0x145),_0x59cdb4),_0x56cdfb;}[_0x31e038(0x12a)](){const _0x22d40f=_0x31e038,_0x3347c5=this[_0x22d40f(0x137)][_0x22d40f(0x126)][_0x22d40f(0x12d)][_0x22d40f(0x140)];this[_0x22d40f(0x13e)](_0x22d40f(0x12a),_0x3347c5);}[_0x31e038(0x11d)](_0x2bc6ba){const _0x5ef83a=_0x31e038;-0x1===_0x2bc6ba?this[_0x5ef83a(0x14b)][_0x5ef83a(0x124)]():this[_0x5ef83a(0x14b)][_0x5ef83a(0x11b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b4e55=_0x4773;(function(_0xb9fd8d,_0x529124){const _0x148c0e=_0x4773,_0x1b0435=_0xb9fd8d();while(!![]){try{const _0x2b036b=-parseInt(_0x148c0e(0x86))/0x1+parseInt(_0x148c0e(0x6e))/0x2+parseInt(_0x148c0e(0x80))/0x3*(parseInt(_0x148c0e(0x7d))/0x4)+-parseInt(_0x148c0e(0x8f))/0x5*(parseInt(_0x148c0e(0x8a))/0x6)+-parseInt(_0x148c0e(0x79))/0x7+parseInt(_0x148c0e(0x75))/0x8*(parseInt(_0x148c0e(0x74))/0x9)+parseInt(_0x148c0e(0x90))/0xa;if(_0x2b036b===_0x529124)break;else _0x1b0435['push'](_0x1b0435['shift']());}catch(_0x399740){_0x1b0435['push'](_0x1b0435['shift']());}}}(_0x5d06,0x6abeb));import{ToolbarView as _0x513c4c,ButtonView as _0x11fa19}from'ckeditor5/src/ui.js';import{getTranslation as _0x544e86}from'../../utils/common-translations.js';function _0x4773(_0x1180a3,_0x3a4493){const _0x5d067a=_0x5d06();return _0x4773=function(_0x47732a,_0x225c46){_0x47732a=_0x47732a-0x6d;let _0x3b0a50=_0x5d067a[_0x47732a];return _0x3b0a50;},_0x4773(_0x1180a3,_0x3a4493);}function _0x5d06(){const _0x59f8df=['isVisible','3116393TtEznf','Try\x20again','replaceButton','bind','760148wvdJrj','label','ck-ai-form__toolbar','9Oqugzv','ck-button-action','tryAgainButton','_CONTENT','Insert\x20below','addMany','690720YsqCdr','replace','stopButton','bindTemplate','12qyDhfB','items','set','extendTemplate','_createButton','483740rErWOA','3138290VEzkED','Stop','insert','1722360etPJqf','mainAction','ck-hidden','AI_','REPLACE','locale','9zLCuhq','172176srrnzJ','toUpperCase','insertButton'];_0x5d06=function(){return _0x59f8df;};return _0x5d06();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4b4e55(0x87),'INSERT':_0x4b4e55(0x6d)};export class AIFormToolbarView extends _0x513c4c{constructor(_0x4937c0){const _0xfb7975=_0x4b4e55;super(_0x4937c0),this[_0xfb7975(0x8c)](_0xfb7975(0x78),!0x1),this[_0xfb7975(0x8c)](_0xfb7975(0x6f),AIFormToolbarViewMainActionLabel[_0xfb7975(0x72)]),this[_0xfb7975(0x7b)]=this[_0xfb7975(0x8e)]('',_0xfb7975(0x81)),this[_0xfb7975(0x7b)][_0xfb7975(0x7c)](_0xfb7975(0x7e))['to'](this,_0xfb7975(0x6f),_0x2f7a49=>_0x544e86(_0x4937c0,_0xfb7975(0x71)+_0x2f7a49[_0xfb7975(0x76)]()+_0xfb7975(0x83))),this[_0xfb7975(0x77)]=this[_0xfb7975(0x8e)](_0x544e86(_0x4937c0,_0xfb7975(0x84))),this[_0xfb7975(0x82)]=this[_0xfb7975(0x8e)](_0x544e86(_0x4937c0,_0xfb7975(0x7a))),this[_0xfb7975(0x88)]=this[_0xfb7975(0x8e)](_0x544e86(_0x4937c0,_0xfb7975(0x91)));const _0x591c78=this[_0xfb7975(0x89)];this[_0xfb7975(0x8d)]({'attributes':{'class':[_0xfb7975(0x7f),_0x591c78['if'](_0xfb7975(0x78),_0xfb7975(0x70),_0x351845=>!_0x351845)]}}),this[_0xfb7975(0x8b)][_0xfb7975(0x85)]([this[_0xfb7975(0x7b)],this[_0xfb7975(0x77)],this[_0xfb7975(0x82)],this[_0xfb7975(0x88)]]);}[_0x4b4e55(0x8e)](_0x7168f3,_0x3c507a){const _0x52c227=_0x4b4e55,_0x540241=new _0x11fa19(this[_0x52c227(0x73)]);return _0x540241[_0x52c227(0x8c)]({'label':_0x7168f3,'class':_0x3c507a||'','isVisible':!0x0,'withText':!0x0}),_0x540241;}}
23
+ function _0x1729(_0x30ce86,_0x33c9ae){const _0x2678a7=_0x2678();return _0x1729=function(_0x17296f,_0x305ee4){_0x17296f=_0x17296f-0x165;let _0x1a128a=_0x2678a7[_0x17296f];return _0x1a128a;},_0x1729(_0x30ce86,_0x33c9ae);}const _0x49e063=_0x1729;(function(_0x2db5eb,_0x2ab20c){const _0x598a83=_0x1729,_0x547591=_0x2db5eb();while(!![]){try{const _0x43dac6=parseInt(_0x598a83(0x16f))/0x1*(parseInt(_0x598a83(0x172))/0x2)+-parseInt(_0x598a83(0x16c))/0x3*(parseInt(_0x598a83(0x185))/0x4)+-parseInt(_0x598a83(0x186))/0x5+parseInt(_0x598a83(0x17a))/0x6+-parseInt(_0x598a83(0x181))/0x7+parseInt(_0x598a83(0x183))/0x8*(parseInt(_0x598a83(0x17f))/0x9)+-parseInt(_0x598a83(0x167))/0xa*(-parseInt(_0x598a83(0x16a))/0xb);if(_0x43dac6===_0x2ab20c)break;else _0x547591['push'](_0x547591['shift']());}catch(_0xf70d2f){_0x547591['push'](_0x547591['shift']());}}}(_0x2678,0xb9218));import{ToolbarView as _0x2080c5,ButtonView as _0x19b934}from'ckeditor5/src/ui.js';function _0x2678(){const _0x21c4d5=['replace','1035xWmrfp','extendTemplate','4966136ZEKjqM','tryAgainButton','53464pODhmQ','ck-ai-form__toolbar','4POcIOi','5664125JcfIwe','toUpperCase','items','Stop','insert','addMany','stopButton','20794210tvIIuY','insertButton','label','11uakwEd','isVisible','3506619tvVrYR','_createButton','set','807BvADOY','bindTemplate','ck-hidden','422FyzQSo','mainAction','locale','Try\x20again','_CONTENT','Insert\x20below','AI_','ck-button-action','4507194nqbDQg','replaceButton','REPLACE','bind'];_0x2678=function(){return _0x21c4d5;};return _0x2678();}import{getTranslation as _0x235c8e}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x49e063(0x17e),'INSERT':_0x49e063(0x18a)};export class AIFormToolbarView extends _0x2080c5{constructor(_0x352d01){const _0x1e5b5e=_0x49e063;super(_0x352d01),this[_0x1e5b5e(0x16e)](_0x1e5b5e(0x16b),!0x1),this[_0x1e5b5e(0x16e)](_0x1e5b5e(0x173),AIFormToolbarViewMainActionLabel[_0x1e5b5e(0x17c)]),this[_0x1e5b5e(0x17b)]=this[_0x1e5b5e(0x16d)]('',_0x1e5b5e(0x179)),this[_0x1e5b5e(0x17b)][_0x1e5b5e(0x17d)](_0x1e5b5e(0x169))['to'](this,_0x1e5b5e(0x173),_0x3ab93d=>_0x235c8e(_0x352d01,_0x1e5b5e(0x178)+_0x3ab93d[_0x1e5b5e(0x187)]()+_0x1e5b5e(0x176))),this[_0x1e5b5e(0x168)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x177))),this[_0x1e5b5e(0x182)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x175))),this[_0x1e5b5e(0x166)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x189)));const _0x56e52f=this[_0x1e5b5e(0x170)];this[_0x1e5b5e(0x180)]({'attributes':{'class':[_0x1e5b5e(0x184),_0x56e52f['if'](_0x1e5b5e(0x16b),_0x1e5b5e(0x171),_0x342ec8=>!_0x342ec8)]}}),this[_0x1e5b5e(0x188)][_0x1e5b5e(0x165)]([this[_0x1e5b5e(0x17b)],this[_0x1e5b5e(0x168)],this[_0x1e5b5e(0x182)],this[_0x1e5b5e(0x166)]]);}[_0x49e063(0x16d)](_0x6fa4a0,_0x4a7b8d){const _0x2fcd6e=_0x49e063,_0x3e7497=new _0x19b934(this[_0x2fcd6e(0x174)]);return _0x3e7497[_0x2fcd6e(0x16e)]({'label':_0x6fa4a0,'class':_0x4a7b8d||'','isVisible':!0x0,'withText':!0x0}),_0x3e7497;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x64320b=_0x303f;(function(_0xa84e9b,_0x4505a6){const _0xd0a61a=_0x303f,_0x4c0a53=_0xa84e9b();while(!![]){try{const _0x1db341=-parseInt(_0xd0a61a(0x1a2))/0x1*(-parseInt(_0xd0a61a(0x197))/0x2)+parseInt(_0xd0a61a(0x192))/0x3*(-parseInt(_0xd0a61a(0x1a5))/0x4)+-parseInt(_0xd0a61a(0x1c1))/0x5+parseInt(_0xd0a61a(0x1a7))/0x6*(parseInt(_0xd0a61a(0x184))/0x7)+-parseInt(_0xd0a61a(0x1b0))/0x8*(parseInt(_0xd0a61a(0x17f))/0x9)+parseInt(_0xd0a61a(0x17a))/0xa+parseInt(_0xd0a61a(0x1b4))/0xb*(parseInt(_0xd0a61a(0x1bb))/0xc);if(_0x1db341===_0x4505a6)break;else _0x4c0a53['push'](_0x4c0a53['shift']());}catch(_0x3a33f3){_0x4c0a53['push'](_0x4c0a53['shift']());}}}(_0x4464,0xdddbd));import{FocusTracker as _0x5bcd1f,KeystrokeHandler as _0x1a7118}from'ckeditor5/src/utils.js';import{View as _0x828c46,FocusCycler as _0x4d2644,createLabeledTextarea as _0x3d2284}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xe1558e,AIFormToolbarViewMainActionLabel as _0x549cba}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x56c0d5}from'./aiformcontentarea.js';import{AIFormErrorView as _0x455500}from'./aiformerrorview.js';import{AIFormPromptView as _0xc6a9b2}from'./aiformpromptview.js';import{AIHistoryListView as _0x342a98}from'./aihistorylistview.js';function _0x303f(_0x27b574,_0x5071a7){const _0x446414=_0x4464();return _0x303f=function(_0x303fef,_0x1de6a1){_0x303fef=_0x303fef-0x16b;let _0x41993f=_0x446414[_0x303fef];return _0x41993f;},_0x303f(_0x27b574,_0x5071a7);}import{AIHistoryListItemView as _0x112e09}from'./aihistorylistitemview.js';function _0x4464(){const _0x3d757a=['contentArea','element','fieldView','chain','text','set','value','56524xTrruz','_createHistoryView','tab','12CjGgyr','submitPrompt','3354rDSNYx','insertContentBelow','handleError','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_focusables','finishProcessing','AI_ERROR_FAILED','search','setTemplate','368EDEmRH','isError','errorView','clear','143xBGVLS','replaceButton','historyGroupView','label','render','listenTo','tryAgainButton','2113188eQwCGR','focusCycler','div','_createToolbar','Ask\x20AI\x20to\x20improve\x20generated\x20text','bindTo','1314540mCSlli','ck-hidden','prompt','Empty\x20history','promptView','startProcessing','stopProcessing','focusFirst','focus','_promptHistory','isProcessing','REPLACE','submit','isEnabled','queryView','add','1858680cTvyFA','tryAgainEvent','locale','replaceContent','items','183672kFqrEO','createCollection','ck-ai-form','delegate','toolbar','2345isQsjA','Ask\x20AI\x20to\x20edit\x20or\x20generate','shift\x20+\x20tab','keystrokes','insertButton','fire','clearHistory','trim','execute','isVisible','bind','_createPromptView','focusTracker','stopButton','1117251OnSkZb','focusLast','bindTemplate','high','ck-ai-form-content','20EcOyuZ','reset','mainAction','copyButtonView'];_0x4464=function(){return _0x3d757a;};return _0x4464();}import{PromptHistory as _0x3f783a}from'./prompthistory.js';import{getTranslation as _0x1797ed}from'../../utils/common-translations.js';import{escape as _0x3c5e1a}from'es-toolkit/compat';export class AIFormView extends _0x828c46{[_0x64320b(0x190)];[_0x64320b(0x187)];[_0x64320b(0x19b)];[_0x64320b(0x183)];[_0x64320b(0x16e)];[_0x64320b(0x1b2)];[_0x64320b(0x1ab)];[_0x64320b(0x1bc)];[_0x64320b(0x173)];constructor(_0x164020,_0xd272b9,_0x33c166=''){const _0x173ecf=_0x64320b;super(_0x164020),this[_0x173ecf(0x1a0)](_0x173ecf(0x177),!0x0),this[_0x173ecf(0x1a0)](_0x173ecf(0x174),!0x1),this[_0x173ecf(0x1a0)](_0x173ecf(0x16c),''),this[_0x173ecf(0x1a0)](_0x173ecf(0x1a1),''),this[_0x173ecf(0x1a0)](_0x173ecf(0x1b1),!0x1),this[_0x173ecf(0x1a0)](_0x173ecf(0x199),_0x549cba[_0x173ecf(0x175)]),this[_0x173ecf(0x173)]=new _0x3f783a(),this[_0x173ecf(0x1b2)]=new _0x455500(_0x164020),this[_0x173ecf(0x19b)]=new _0x56c0d5(_0x164020,_0x33c166),this[_0x173ecf(0x19b)][_0x173ecf(0x18e)](_0x173ecf(0x174))['to'](this),this[_0x173ecf(0x19b)][_0x173ecf(0x18e)](_0x173ecf(0x1a1))['to'](this),this[_0x173ecf(0x183)]=this[_0x173ecf(0x1be)](),this[_0x173ecf(0x183)][_0x173ecf(0x18e)](_0x173ecf(0x199))['to'](this),this[_0x173ecf(0x16e)]=this[_0x173ecf(0x18f)](),this[_0x173ecf(0x190)]=new _0x5bcd1f(),this[_0x173ecf(0x187)]=new _0x1a7118(),this[_0x173ecf(0x1ab)]=this[_0x173ecf(0x180)]([this[_0x173ecf(0x19b)],this[_0x173ecf(0x19b)][_0x173ecf(0x19a)],this[_0x173ecf(0x183)],this[_0x173ecf(0x16e)]]),this[_0x173ecf(0x1bc)]=new _0x4d2644({'focusables':this[_0x173ecf(0x1ab)],'focusTracker':this[_0x173ecf(0x190)],'keystrokeHandler':this[_0x173ecf(0x187)],'actions':{'focusPrevious':_0x173ecf(0x186),'focusNext':_0x173ecf(0x1a4)}}),this[_0x173ecf(0x1bc)][_0x173ecf(0x19e)](this[_0x173ecf(0x16e)][_0x173ecf(0x1bc)]),this[_0x173ecf(0x16e)][_0x173ecf(0x178)][_0x173ecf(0x19d)][_0x173ecf(0x18e)](_0x173ecf(0x1a1))['to'](this,_0x173ecf(0x16c));const _0x169bdc=this[_0x173ecf(0x194)];this[_0x173ecf(0x1af)]({'tag':_0x173ecf(0x1bd),'attributes':{'class':['ck',_0x173ecf(0x181),_0xd272b9],'tabindex':'-1'},'children':[{'tag':_0x173ecf(0x1bd),'attributes':{'class':['ck',_0x173ecf(0x196)]},'children':[{'tag':_0x173ecf(0x1bd),'attributes':{'class':[_0x169bdc['if'](_0x173ecf(0x1b1),_0x173ecf(0x16b),_0x1d2a79=>!_0x1d2a79)]},'children':[this[_0x173ecf(0x1b2)]]},this[_0x173ecf(0x19b)],this[_0x173ecf(0x183)],this[_0x173ecf(0x16e)]]}]});}[_0x64320b(0x1b8)](){const _0x40cc6b=_0x64320b;super[_0x40cc6b(0x1b8)](),this[_0x40cc6b(0x190)][_0x40cc6b(0x179)](this[_0x40cc6b(0x19b)][_0x40cc6b(0x19c)]),this[_0x40cc6b(0x190)][_0x40cc6b(0x179)](this[_0x40cc6b(0x19b)][_0x40cc6b(0x19a)][_0x40cc6b(0x19c)]),this[_0x40cc6b(0x190)][_0x40cc6b(0x179)](this[_0x40cc6b(0x183)][_0x40cc6b(0x19c)]),this[_0x40cc6b(0x190)][_0x40cc6b(0x179)](this[_0x40cc6b(0x16e)][_0x40cc6b(0x19c)]),this[_0x40cc6b(0x187)][_0x40cc6b(0x1b9)](this[_0x40cc6b(0x19c)]);}[_0x64320b(0x172)](_0x166d64=0x1){const _0x385ae7=_0x64320b;-0x1===_0x166d64?this[_0x385ae7(0x1bc)][_0x385ae7(0x193)]():this[_0x385ae7(0x1bc)][_0x385ae7(0x171)]();}[_0x64320b(0x198)](){const _0x9d74f=_0x64320b;this[_0x9d74f(0x16c)]='',this[_0x9d74f(0x1a1)]='',this[_0x9d74f(0x1b1)]=!0x1,this[_0x9d74f(0x16e)][_0x9d74f(0x198)](),this[_0x9d74f(0x19b)][_0x9d74f(0x18d)]=!0x1,this[_0x9d74f(0x183)][_0x9d74f(0x18d)]=!0x1;}[_0x64320b(0x18f)](){const _0x509a46=_0x64320b,_0x5c5570=this[_0x509a46(0x17c)],_0x4afd12=new _0xc6a9b2(_0x5c5570,{'queryView':{'label':_0x1797ed(_0x5c5570,_0x509a46(0x185)),'creator':_0x3d2284,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1797ed(_0x5c5570,_0x509a46(0x16d)),'secondary':_0x1797ed(_0x5c5570,_0x509a46(0x1aa))}}},'filteredView':this[_0x509a46(0x1a3)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4afd12[_0x509a46(0x18e)](_0x509a46(0x177))['to'](this,_0x509a46(0x177),this,_0x509a46(0x174),(_0x436f15,_0x5700e8)=>_0x436f15&&!_0x5700e8),this[_0x509a46(0x1b9)](_0x4afd12,_0x509a46(0x176),(_0x1111d6,_0x3c80d0)=>{const _0x5d47bf=_0x509a46;this[_0x5d47bf(0x16c)]=_0x3c80d0;const _0x513e4d=_0x3c5e1a(_0x3c80d0);this[_0x5d47bf(0x189)](_0x5d47bf(0x1a6),_0x513e4d),_0x3c80d0[_0x5d47bf(0x18b)]()&&this[_0x5d47bf(0x173)][_0x5d47bf(0x179)]({'prompt':_0x513e4d},0x0);},{'priority':_0x509a46(0x195)}),_0x4afd12;}[_0x64320b(0x1a3)](){const _0x3322a5=_0x64320b,_0x88bc34=new _0x342a98(this[_0x3322a5(0x17c)]);return _0x88bc34[_0x3322a5(0x1b6)][_0x3322a5(0x17e)][_0x3322a5(0x1c0)](this[_0x3322a5(0x173)])['as'](_0x112e09),_0x88bc34['on'](_0x3322a5(0x18a),()=>{const _0x35ffac=_0x3322a5;this[_0x35ffac(0x173)][_0x35ffac(0x1b3)](),this[_0x35ffac(0x16e)][_0x35ffac(0x1ae)](''),this[_0x35ffac(0x16e)][_0x35ffac(0x172)]();}),_0x88bc34;}[_0x64320b(0x1be)](){const _0x53ecaa=_0x64320b,_0x2d2532=new _0xe1558e(this[_0x53ecaa(0x17c)]);return _0x2d2532[_0x53ecaa(0x1b5)][_0x53ecaa(0x18e)](_0x53ecaa(0x177))['to'](this,_0x53ecaa(0x177),this,_0x53ecaa(0x174),this,_0x53ecaa(0x1a1),(_0x121e81,_0x33ca22,_0x208f26)=>_0x121e81&&!_0x33ca22&&!!_0x208f26),_0x2d2532[_0x53ecaa(0x1b5)][_0x53ecaa(0x182)](_0x53ecaa(0x18c))['to'](this,_0x53ecaa(0x17d)),_0x2d2532[_0x53ecaa(0x188)][_0x53ecaa(0x18e)](_0x53ecaa(0x177))['to'](this,_0x53ecaa(0x177),this,_0x53ecaa(0x174),this,_0x53ecaa(0x1a1),(_0x345780,_0x47fc0c,_0x577be8)=>_0x345780&&!_0x47fc0c&&!!_0x577be8),_0x2d2532[_0x53ecaa(0x188)][_0x53ecaa(0x182)](_0x53ecaa(0x18c))['to'](this,_0x53ecaa(0x1a8)),_0x2d2532[_0x53ecaa(0x1ba)][_0x53ecaa(0x18e)](_0x53ecaa(0x177))['to'](this,_0x53ecaa(0x177),this,_0x53ecaa(0x174),(_0x52bfe1,_0x320e46)=>_0x52bfe1&&!_0x320e46),_0x2d2532[_0x53ecaa(0x1ba)][_0x53ecaa(0x182)](_0x53ecaa(0x18c))['to'](this,_0x53ecaa(0x17b)),_0x2d2532[_0x53ecaa(0x191)][_0x53ecaa(0x18e)](_0x53ecaa(0x177))['to'](this,_0x53ecaa(0x174)),_0x2d2532[_0x53ecaa(0x191)][_0x53ecaa(0x182)](_0x53ecaa(0x18c))['to'](this,_0x53ecaa(0x170)),_0x2d2532;}[_0x64320b(0x16f)](){const _0xc65e52=_0x64320b;this[_0xc65e52(0x1a1)]='',this[_0xc65e52(0x1b1)]=!0x1,this[_0xc65e52(0x174)]=!0x0,this[_0xc65e52(0x19b)][_0xc65e52(0x18d)]=!0x0,this[_0xc65e52(0x183)][_0xc65e52(0x18d)]=!0x0,this[_0xc65e52(0x19b)][_0xc65e52(0x172)]();}[_0x64320b(0x1ac)](){const _0x363ecf=_0x64320b,_0x200877=this[_0x363ecf(0x17c)];this[_0x363ecf(0x174)]=!0x1,this[_0x363ecf(0x16c)]='',this[_0x363ecf(0x16e)][_0x363ecf(0x198)](),this[_0x363ecf(0x1a1)]&&(this[_0x363ecf(0x16e)][_0x363ecf(0x178)][_0x363ecf(0x1b7)]=_0x1797ed(_0x200877,_0x363ecf(0x1bf)));}[_0x64320b(0x1a9)](_0x515a5a){const _0x77b7ae=_0x64320b,_0x33abd0=this[_0x77b7ae(0x17c)];this[_0x77b7ae(0x1ac)](),this[_0x77b7ae(0x1b1)]=!0x0,this[_0x77b7ae(0x1b2)][_0x77b7ae(0x19f)]=_0x515a5a||_0x1797ed(_0x33abd0,_0x77b7ae(0x1ad)),this[_0x77b7ae(0x1a1)]||(this[_0x77b7ae(0x19b)][_0x77b7ae(0x18d)]=!0x1);}}
23
+ const _0x3f4e46=_0x3b7a;(function(_0x2fe0cd,_0x286a2d){const _0x4a2a98=_0x3b7a,_0x3dc935=_0x2fe0cd();while(!![]){try{const _0x4c115a=parseInt(_0x4a2a98(0x95))/0x1+parseInt(_0x4a2a98(0xab))/0x2*(parseInt(_0x4a2a98(0x9b))/0x3)+-parseInt(_0x4a2a98(0xc9))/0x4*(parseInt(_0x4a2a98(0xb9))/0x5)+-parseInt(_0x4a2a98(0xb1))/0x6+-parseInt(_0x4a2a98(0x8d))/0x7*(-parseInt(_0x4a2a98(0x94))/0x8)+parseInt(_0x4a2a98(0xc4))/0x9+-parseInt(_0x4a2a98(0xb7))/0xa;if(_0x4c115a===_0x286a2d)break;else _0x3dc935['push'](_0x3dc935['shift']());}catch(_0x491b7d){_0x3dc935['push'](_0x3dc935['shift']());}}}(_0xc36f,0x4ab18));function _0xc36f(){const _0x51213c=['locale','set','clear','_promptHistory','isProcessing','145176ryRDvx','178400YDkQxf','delegate','high','submitPrompt','keystrokes','startProcessing','9393RQhpVD','focusLast','focusTracker','focusCycler','setTemplate','finishProcessing','ck-ai-form','Empty\x20history','isEnabled','text','fieldView','prompt','trim','isVisible','ck-ai-form-content','replaceContent','186riyjNj','focus','toolbar','tryAgainEvent','reset','div','3046902TWbMfB','bindTo','render','bindTemplate','tryAgainButton','listenTo','270190uOQedS','replaceButton','5EUKvgV','ck-hidden','fire','label','Ask\x20AI\x20to\x20edit\x20or\x20generate','stopProcessing','errorView','value','mainAction','stopButton','insertContentBelow','2888442zkzsPJ','items','contentArea','execute','bind','1976604CXNNfn','handleError','Ask\x20AI\x20to\x20improve\x20generated\x20text','promptView','_createHistoryView','_createPromptView','AI_ERROR_FAILED','add','element','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','chain','clearHistory','search','submit','tab','_focusables','_createToolbar','historyGroupView','insertButton','copyButtonView','queryView','focusFirst','createCollection','REPLACE','shift\x20+\x20tab','210Anuhab','isError'];_0xc36f=function(){return _0x51213c;};return _0xc36f();}import{FocusTracker as _0x2e66a9,KeystrokeHandler as _0x1977e2}from'ckeditor5/src/utils.js';import{View as _0x1f4034,FocusCycler as _0x4ed635,createLabeledTextarea as _0x327137}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x345ef8,AIFormToolbarViewMainActionLabel as _0x3c7c64}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x42b794}from'./aiformcontentarea.js';import{AIFormErrorView as _0x3f693c}from'./aiformerrorview.js';import{AIFormPromptView as _0x1b4955}from'./aiformpromptview.js';import{AIHistoryListView as _0x4c3fde}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x2f5f59}from'./aihistorylistitemview.js';function _0x3b7a(_0x5df2cc,_0x2c184a){const _0xc36fbc=_0xc36f();return _0x3b7a=function(_0x3b7adf,_0x201ce0){_0x3b7adf=_0x3b7adf-0x8b;let _0x1b2abe=_0xc36fbc[_0x3b7adf];return _0x1b2abe;},_0x3b7a(_0x5df2cc,_0x2c184a);}import{PromptHistory as _0x563f69}from'./prompthistory.js';import{getTranslation as _0x4d68d1}from'../../utils/common-translations.js';import{escape as _0x45a6e7}from'es-toolkit/compat';export class AIFormView extends _0x1f4034{[_0x3f4e46(0x9d)];[_0x3f4e46(0x99)];[_0x3f4e46(0xc6)];[_0x3f4e46(0xad)];[_0x3f4e46(0xcc)];[_0x3f4e46(0xbf)];[_0x3f4e46(0xd8)];[_0x3f4e46(0x9e)];[_0x3f4e46(0x92)];constructor(_0x2d450b,_0x15d7ee,_0x136897=''){const _0x1629bf=_0x3f4e46;super(_0x2d450b),this[_0x1629bf(0x90)](_0x1629bf(0xa3),!0x0),this[_0x1629bf(0x90)](_0x1629bf(0x93),!0x1),this[_0x1629bf(0x90)](_0x1629bf(0xa6),''),this[_0x1629bf(0x90)](_0x1629bf(0xc0),''),this[_0x1629bf(0x90)](_0x1629bf(0x8e),!0x1),this[_0x1629bf(0x90)](_0x1629bf(0xc1),_0x3c7c64[_0x1629bf(0x8b)]),this[_0x1629bf(0x92)]=new _0x563f69(),this[_0x1629bf(0xbf)]=new _0x3f693c(_0x2d450b),this[_0x1629bf(0xc6)]=new _0x42b794(_0x2d450b,_0x136897),this[_0x1629bf(0xc6)][_0x1629bf(0xc8)](_0x1629bf(0x93))['to'](this),this[_0x1629bf(0xc6)][_0x1629bf(0xc8)](_0x1629bf(0xc0))['to'](this),this[_0x1629bf(0xad)]=this[_0x1629bf(0xd9)](),this[_0x1629bf(0xad)][_0x1629bf(0xc8)](_0x1629bf(0xc1))['to'](this),this[_0x1629bf(0xcc)]=this[_0x1629bf(0xce)](),this[_0x1629bf(0x9d)]=new _0x2e66a9(),this[_0x1629bf(0x99)]=new _0x1977e2(),this[_0x1629bf(0xd8)]=this[_0x1629bf(0xdf)]([this[_0x1629bf(0xc6)],this[_0x1629bf(0xc6)][_0x1629bf(0xdc)],this[_0x1629bf(0xad)],this[_0x1629bf(0xcc)]]),this[_0x1629bf(0x9e)]=new _0x4ed635({'focusables':this[_0x1629bf(0xd8)],'focusTracker':this[_0x1629bf(0x9d)],'keystrokeHandler':this[_0x1629bf(0x99)],'actions':{'focusPrevious':_0x1629bf(0x8c),'focusNext':_0x1629bf(0xd7)}}),this[_0x1629bf(0x9e)][_0x1629bf(0xd3)](this[_0x1629bf(0xcc)][_0x1629bf(0x9e)]),this[_0x1629bf(0xcc)][_0x1629bf(0xdd)][_0x1629bf(0xa5)][_0x1629bf(0xc8)](_0x1629bf(0xc0))['to'](this,_0x1629bf(0xa6));const _0x941b0b=this[_0x1629bf(0xb4)];this[_0x1629bf(0x9f)]({'tag':_0x1629bf(0xb0),'attributes':{'class':['ck',_0x1629bf(0xa1),_0x15d7ee],'tabindex':'-1'},'children':[{'tag':_0x1629bf(0xb0),'attributes':{'class':['ck',_0x1629bf(0xa9)]},'children':[{'tag':_0x1629bf(0xb0),'attributes':{'class':[_0x941b0b['if'](_0x1629bf(0x8e),_0x1629bf(0xba),_0x54e5fe=>!_0x54e5fe)]},'children':[this[_0x1629bf(0xbf)]]},this[_0x1629bf(0xc6)],this[_0x1629bf(0xad)],this[_0x1629bf(0xcc)]]}]});}[_0x3f4e46(0xb3)](){const _0x5f72ed=_0x3f4e46;super[_0x5f72ed(0xb3)](),this[_0x5f72ed(0x9d)][_0x5f72ed(0xd0)](this[_0x5f72ed(0xc6)][_0x5f72ed(0xd1)]),this[_0x5f72ed(0x9d)][_0x5f72ed(0xd0)](this[_0x5f72ed(0xc6)][_0x5f72ed(0xdc)][_0x5f72ed(0xd1)]),this[_0x5f72ed(0x9d)][_0x5f72ed(0xd0)](this[_0x5f72ed(0xad)][_0x5f72ed(0xd1)]),this[_0x5f72ed(0x9d)][_0x5f72ed(0xd0)](this[_0x5f72ed(0xcc)][_0x5f72ed(0xd1)]),this[_0x5f72ed(0x99)][_0x5f72ed(0xb6)](this[_0x5f72ed(0xd1)]);}[_0x3f4e46(0xac)](_0x872e74=0x1){const _0x109699=_0x3f4e46;-0x1===_0x872e74?this[_0x109699(0x9e)][_0x109699(0x9c)]():this[_0x109699(0x9e)][_0x109699(0xde)]();}[_0x3f4e46(0xaf)](){const _0x29fb97=_0x3f4e46;this[_0x29fb97(0xa6)]='',this[_0x29fb97(0xc0)]='',this[_0x29fb97(0x8e)]=!0x1,this[_0x29fb97(0xcc)][_0x29fb97(0xaf)](),this[_0x29fb97(0xc6)][_0x29fb97(0xa8)]=!0x1,this[_0x29fb97(0xad)][_0x29fb97(0xa8)]=!0x1;}[_0x3f4e46(0xce)](){const _0x63c771=_0x3f4e46,_0x23579f=this[_0x63c771(0x8f)],_0x55881d=new _0x1b4955(_0x23579f,{'queryView':{'label':_0x4d68d1(_0x23579f,_0x63c771(0xbd)),'creator':_0x327137,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4d68d1(_0x23579f,_0x63c771(0xa2)),'secondary':_0x4d68d1(_0x23579f,_0x63c771(0xd2))}}},'filteredView':this[_0x63c771(0xcd)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x55881d[_0x63c771(0xc8)](_0x63c771(0xa3))['to'](this,_0x63c771(0xa3),this,_0x63c771(0x93),(_0x255006,_0x2f93bb)=>_0x255006&&!_0x2f93bb),this[_0x63c771(0xb6)](_0x55881d,_0x63c771(0xd6),(_0x1de43a,_0x524c67)=>{const _0x3a20c9=_0x63c771;this[_0x3a20c9(0xa6)]=_0x524c67;const _0xef7e56=_0x45a6e7(_0x524c67);this[_0x3a20c9(0xbb)](_0x3a20c9(0x98),_0xef7e56),_0x524c67[_0x3a20c9(0xa7)]()&&this[_0x3a20c9(0x92)][_0x3a20c9(0xd0)]({'prompt':_0xef7e56},0x0);},{'priority':_0x63c771(0x97)}),_0x55881d;}[_0x3f4e46(0xcd)](){const _0x547132=_0x3f4e46,_0x48f35d=new _0x4c3fde(this[_0x547132(0x8f)]);return _0x48f35d[_0x547132(0xda)][_0x547132(0xc5)][_0x547132(0xb2)](this[_0x547132(0x92)])['as'](_0x2f5f59),_0x48f35d['on'](_0x547132(0xd4),()=>{const _0x43e6a1=_0x547132;this[_0x43e6a1(0x92)][_0x43e6a1(0x91)](),this[_0x43e6a1(0xcc)][_0x43e6a1(0xd5)](''),this[_0x43e6a1(0xcc)][_0x43e6a1(0xac)]();}),_0x48f35d;}[_0x3f4e46(0xd9)](){const _0x48f9ea=_0x3f4e46,_0x420b64=new _0x345ef8(this[_0x48f9ea(0x8f)]);return _0x420b64[_0x48f9ea(0xb8)][_0x48f9ea(0xc8)](_0x48f9ea(0xa3))['to'](this,_0x48f9ea(0xa3),this,_0x48f9ea(0x93),this,_0x48f9ea(0xc0),(_0x50d774,_0x480772,_0x42b91a)=>_0x50d774&&!_0x480772&&!!_0x42b91a),_0x420b64[_0x48f9ea(0xb8)][_0x48f9ea(0x96)](_0x48f9ea(0xc7))['to'](this,_0x48f9ea(0xaa)),_0x420b64[_0x48f9ea(0xdb)][_0x48f9ea(0xc8)](_0x48f9ea(0xa3))['to'](this,_0x48f9ea(0xa3),this,_0x48f9ea(0x93),this,_0x48f9ea(0xc0),(_0x5b095e,_0x5d9822,_0x53a35d)=>_0x5b095e&&!_0x5d9822&&!!_0x53a35d),_0x420b64[_0x48f9ea(0xdb)][_0x48f9ea(0x96)](_0x48f9ea(0xc7))['to'](this,_0x48f9ea(0xc3)),_0x420b64[_0x48f9ea(0xb5)][_0x48f9ea(0xc8)](_0x48f9ea(0xa3))['to'](this,_0x48f9ea(0xa3),this,_0x48f9ea(0x93),(_0x4099ec,_0x2b2c84)=>_0x4099ec&&!_0x2b2c84),_0x420b64[_0x48f9ea(0xb5)][_0x48f9ea(0x96)](_0x48f9ea(0xc7))['to'](this,_0x48f9ea(0xae)),_0x420b64[_0x48f9ea(0xc2)][_0x48f9ea(0xc8)](_0x48f9ea(0xa3))['to'](this,_0x48f9ea(0x93)),_0x420b64[_0x48f9ea(0xc2)][_0x48f9ea(0x96)](_0x48f9ea(0xc7))['to'](this,_0x48f9ea(0xbe)),_0x420b64;}[_0x3f4e46(0x9a)](){const _0x2294e6=_0x3f4e46;this[_0x2294e6(0xc0)]='',this[_0x2294e6(0x8e)]=!0x1,this[_0x2294e6(0x93)]=!0x0,this[_0x2294e6(0xc6)][_0x2294e6(0xa8)]=!0x0,this[_0x2294e6(0xad)][_0x2294e6(0xa8)]=!0x0,this[_0x2294e6(0xc6)][_0x2294e6(0xac)]();}[_0x3f4e46(0xa0)](){const _0x20116b=_0x3f4e46,_0x2abb45=this[_0x20116b(0x8f)];this[_0x20116b(0x93)]=!0x1,this[_0x20116b(0xa6)]='',this[_0x20116b(0xcc)][_0x20116b(0xaf)](),this[_0x20116b(0xc0)]&&(this[_0x20116b(0xcc)][_0x20116b(0xdd)][_0x20116b(0xbc)]=_0x4d68d1(_0x2abb45,_0x20116b(0xcb)));}[_0x3f4e46(0xca)](_0x59f89c){const _0x1f5a1a=_0x3f4e46,_0x473f35=this[_0x1f5a1a(0x8f)];this[_0x1f5a1a(0xa0)](),this[_0x1f5a1a(0x8e)]=!0x0,this[_0x1f5a1a(0xbf)][_0x1f5a1a(0xa4)]=_0x59f89c||_0x4d68d1(_0x473f35,_0x1f5a1a(0xcf)),this[_0x1f5a1a(0xc0)]||(this[_0x1f5a1a(0xc6)][_0x1f5a1a(0xa8)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2168f9,_0x352580){const _0x4ee450=_0x4736,_0xd5f19e=_0x2168f9();while(!![]){try{const _0x15bc90=-parseInt(_0x4ee450(0xaf))/0x1*(parseInt(_0x4ee450(0xb9))/0x2)+-parseInt(_0x4ee450(0xb4))/0x3*(-parseInt(_0x4ee450(0xb3))/0x4)+-parseInt(_0x4ee450(0xb6))/0x5*(-parseInt(_0x4ee450(0xab))/0x6)+parseInt(_0x4ee450(0xb8))/0x7+-parseInt(_0x4ee450(0xb2))/0x8*(-parseInt(_0x4ee450(0xaa))/0x9)+parseInt(_0x4ee450(0xad))/0xa+parseInt(_0x4ee450(0xb0))/0xb*(-parseInt(_0x4ee450(0xa9))/0xc);if(_0x15bc90===_0x352580)break;else _0xd5f19e['push'](_0xd5f19e['shift']());}catch(_0x352d13){_0xd5f19e['push'](_0xd5f19e['shift']());}}}(_0xb1b5,0xbbd44));function _0x4736(_0x3a47d1,_0x4596a9){const _0xb1b545=_0xb1b5();return _0x4736=function(_0x47363b,_0x193a71){_0x47363b=_0x47363b-0xa9;let _0x19624f=_0xb1b545[_0x47363b];return _0x19624f;},_0x4736(_0x3a47d1,_0x4596a9);}import{ListItemView as _0x4ea2cf,ButtonView as _0x59ad31,ButtonLabelView as _0x2b0250}from'ckeditor5/src/ui.js';function _0xb1b5(){const _0xdd6990=['66vHkBod','prompt','29528cLCeYh','4gZwBUq','3333573qrXHEO','children','2829895RkGTFs','execute','3430175kkTsyf','125052BNAhWP','fire','locale','2031324cQrDIw','36PbpygG','6UEuTlb','add','7910450ubslRb','set','19DxtmhV'];_0xb1b5=function(){return _0xdd6990;};return _0xb1b5();}import{unescape as _0x34840d}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x4ea2cf{constructor(_0x442b58){const _0x4a6681=_0x4736;super();const _0x4205bb=new _0x2b0250(),_0x3669fa=new _0x59ad31(this[_0x4a6681(0xbb)],_0x4205bb);this[_0x4a6681(0xb5)][_0x4a6681(0xac)](_0x3669fa),_0x3669fa[_0x4a6681(0xae)]({'label':_0x442b58[_0x4a6681(0xb1)],'withText':!0x0}),_0x3669fa['on'](_0x4a6681(0xb7),()=>{const _0x125b7d=_0x4a6681;this[_0x125b7d(0xba)](_0x125b7d(0xb7),{'value':_0x34840d(_0x442b58[_0x125b7d(0xb1)])});});}}
23
+ (function(_0xfbb414,_0x3af3be){const _0x124738=_0x18f7,_0x403cdf=_0xfbb414();while(!![]){try{const _0x30e9f1=parseInt(_0x124738(0xef))/0x1*(-parseInt(_0x124738(0xe5))/0x2)+parseInt(_0x124738(0xe2))/0x3*(-parseInt(_0x124738(0xe8))/0x4)+parseInt(_0x124738(0xe3))/0x5*(parseInt(_0x124738(0xea))/0x6)+-parseInt(_0x124738(0xed))/0x7+-parseInt(_0x124738(0xe6))/0x8*(-parseInt(_0x124738(0xe1))/0x9)+-parseInt(_0x124738(0xec))/0xa*(parseInt(_0x124738(0xe4))/0xb)+parseInt(_0x124738(0xeb))/0xc*(parseInt(_0x124738(0xf4))/0xd);if(_0x30e9f1===_0x3af3be)break;else _0x403cdf['push'](_0x403cdf['shift']());}catch(_0x4a277e){_0x403cdf['push'](_0x403cdf['shift']());}}}(_0x4c8f,0x28323));function _0x18f7(_0x51e893,_0x4010ac){const _0x4c8f58=_0x4c8f();return _0x18f7=function(_0x18f7f3,_0x28b2ae){_0x18f7f3=_0x18f7f3-0xe1;let _0x168f89=_0x4c8f58[_0x18f7f3];return _0x168f89;},_0x18f7(_0x51e893,_0x4010ac);}import{ListItemView as _0x45708e,ButtonView as _0x188fc3,ButtonLabelView as _0xd9530b}from'ckeditor5/src/ui.js';import{unescape as _0x2a64f1}from'es-toolkit/compat';function _0x4c8f(){const _0x314d3f=['833200iXupJe','children','43664SLVsPV','add','12OljyuC','1624728JFDwDc','2260990FFrhbO','1510880XpbOKL','fire','3SfWYiq','prompt','locale','set','execute','65ihTzrr','18bSmNBp','57jEthWJ','136805aFKuBE','11bGLDEl','84004INJjqx'];_0x4c8f=function(){return _0x314d3f;};return _0x4c8f();}export class AIHistoryListItemView extends _0x45708e{constructor(_0x3187e6){const _0x33afbe=_0x18f7;super();const _0x74d0d7=new _0xd9530b(),_0x50fc40=new _0x188fc3(this[_0x33afbe(0xf1)],_0x74d0d7);this[_0x33afbe(0xe7)][_0x33afbe(0xe9)](_0x50fc40),_0x50fc40[_0x33afbe(0xf2)]({'label':_0x3187e6[_0x33afbe(0xf0)],'withText':!0x0}),_0x50fc40['on'](_0x33afbe(0xf3),()=>{const _0x157845=_0x33afbe;this[_0x157845(0xee)](_0x157845(0xf3),{'value':_0x2a64f1(_0x3187e6[_0x157845(0xf0)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e63a1=_0x53b5;function _0x53b5(_0x444eae,_0x2f1fdd){const _0x2fc2cf=_0x2fc2();return _0x53b5=function(_0x53b5ba,_0xb907de){_0x53b5ba=_0x53b5ba-0x17e;let _0x452f45=_0x2fc2cf[_0x53b5ba];return _0x452f45;},_0x53b5(_0x444eae,_0x2f1fdd);}(function(_0x49a552,_0x317c83){const _0x3eb02e=_0x53b5,_0x57db8d=_0x49a552();while(!![]){try{const _0x15c582=-parseInt(_0x3eb02e(0x189))/0x1+parseInt(_0x3eb02e(0x193))/0x2*(-parseInt(_0x3eb02e(0x191))/0x3)+parseInt(_0x3eb02e(0x184))/0x4+-parseInt(_0x3eb02e(0x18d))/0x5+-parseInt(_0x3eb02e(0x18e))/0x6+-parseInt(_0x3eb02e(0x185))/0x7+parseInt(_0x3eb02e(0x17f))/0x8;if(_0x15c582===_0x317c83)break;else _0x57db8d['push'](_0x57db8d['shift']());}catch(_0x260854){_0x57db8d['push'](_0x57db8d['shift']());}}}(_0x2fc2,0x9c76c));import{ListView as _0x13aee9,ListItemGroupView as _0x1b48df,ButtonView as _0x10dec4}from'ckeditor5/src/ui.js';import{getTranslation as _0x385fc7}from'../../utils/common-translations.js';function _0x2fc2(){const _0x31e577=['796701AZVzzO','clearHistory','6fytpCn','filter','add','locale','_createClearHistoryButton','22838312YznnsJ','Clear','length','execute','set','4452528epGKZr','6360438jpHXPm','children','historyGroupView','label','296084vLEJJH','clearHistoryButton','delegate','items','2835500YqeLoU','4551156JtrxZA','fire','Prompt\x20history'];_0x2fc2=function(){return _0x31e577;};return _0x2fc2();}export class AIHistoryListView extends _0x13aee9{[_0x5e63a1(0x187)];[_0x5e63a1(0x18a)];constructor(_0x27a1c3){const _0x2c26d1=_0x5e63a1;super(_0x27a1c3),this[_0x2c26d1(0x18a)]=this[_0x2c26d1(0x17e)](),this[_0x2c26d1(0x187)]=new _0x1b48df(),this[_0x2c26d1(0x187)][_0x2c26d1(0x186)][_0x2c26d1(0x195)](this[_0x2c26d1(0x18a)],0x1),this[_0x2c26d1(0x187)][_0x2c26d1(0x188)]=_0x385fc7(_0x27a1c3,_0x2c26d1(0x190)),this[_0x2c26d1(0x187)][_0x2c26d1(0x18c)][_0x2c26d1(0x18b)](_0x2c26d1(0x182))['to'](this),this[_0x2c26d1(0x18c)][_0x2c26d1(0x195)](this[_0x2c26d1(0x187)]);}[_0x5e63a1(0x194)](){const _0x174920=_0x5e63a1;let _0x34dae2=0x0;for(const _0x3e1953 of this[_0x174920(0x18c)])_0x34dae2+=_0x3e1953[_0x174920(0x18c)][_0x174920(0x181)];return{'resultsCount':_0x34dae2,'totalItemsCount':_0x34dae2};}[_0x5e63a1(0x17e)](){const _0x1f2402=_0x5e63a1,_0x3a1683=this[_0x1f2402(0x196)],_0x533258=new _0x10dec4(this[_0x1f2402(0x196)]);return _0x533258[_0x1f2402(0x183)]({'label':'('+_0x385fc7(_0x3a1683,_0x1f2402(0x180))+')','withText':!0x0}),_0x533258['on'](_0x1f2402(0x182),()=>this[_0x1f2402(0x18f)](_0x1f2402(0x192))),_0x533258;}}
23
+ const _0x3e9a0d=_0x37b2;function _0x37b2(_0x2e9e74,_0x3a7616){const _0x21d3c2=_0x21d3();return _0x37b2=function(_0x37b2b1,_0xba2ac){_0x37b2b1=_0x37b2b1-0xfa;let _0x1e4ea8=_0x21d3c2[_0x37b2b1];return _0x1e4ea8;},_0x37b2(_0x2e9e74,_0x3a7616);}(function(_0x4febc0,_0x54b518){const _0x2f8629=_0x37b2,_0x2f5964=_0x4febc0();while(!![]){try{const _0x9fef71=-parseInt(_0x2f8629(0x104))/0x1*(parseInt(_0x2f8629(0x10d))/0x2)+parseInt(_0x2f8629(0x109))/0x3+parseInt(_0x2f8629(0x114))/0x4+-parseInt(_0x2f8629(0x108))/0x5*(-parseInt(_0x2f8629(0x113))/0x6)+-parseInt(_0x2f8629(0x10f))/0x7+-parseInt(_0x2f8629(0x101))/0x8*(-parseInt(_0x2f8629(0xfb))/0x9)+-parseInt(_0x2f8629(0x10c))/0xa;if(_0x9fef71===_0x54b518)break;else _0x2f5964['push'](_0x2f5964['shift']());}catch(_0x3537a2){_0x2f5964['push'](_0x2f5964['shift']());}}}(_0x21d3,0x3bbb9));import{ListView as _0x5f3f8c,ListItemGroupView as _0x1fab9e,ButtonView as _0x58b49f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5851bd}from'../../utils/common-translations.js';function _0x21d3(){const _0x3ccc61=['delegate','8108390zwFuSl','55116VpMKNb','set','225673zNmyyF','locale','length','add','120nQbdVu','1104516CnacIJ','_createClearHistoryButton','171fgXYbL','execute','children','Prompt\x20history','fire','label','18856qixNrb','items','historyGroupView','3bbaMZW','clearHistory','clearHistoryButton','Clear','106385kSHPwo','1271895zvnklX','filter'];_0x21d3=function(){return _0x3ccc61;};return _0x21d3();}export class AIHistoryListView extends _0x5f3f8c{[_0x3e9a0d(0x103)];[_0x3e9a0d(0x106)];constructor(_0xc77a07){const _0x4b4753=_0x3e9a0d;super(_0xc77a07),this[_0x4b4753(0x106)]=this[_0x4b4753(0xfa)](),this[_0x4b4753(0x103)]=new _0x1fab9e(),this[_0x4b4753(0x103)][_0x4b4753(0xfd)][_0x4b4753(0x112)](this[_0x4b4753(0x106)],0x1),this[_0x4b4753(0x103)][_0x4b4753(0x100)]=_0x5851bd(_0xc77a07,_0x4b4753(0xfe)),this[_0x4b4753(0x103)][_0x4b4753(0x102)][_0x4b4753(0x10b)](_0x4b4753(0xfc))['to'](this),this[_0x4b4753(0x102)][_0x4b4753(0x112)](this[_0x4b4753(0x103)]);}[_0x3e9a0d(0x10a)](){const _0x307d9b=_0x3e9a0d;let _0x206ec4=0x0;for(const _0x28b1d9 of this[_0x307d9b(0x102)])_0x206ec4+=_0x28b1d9[_0x307d9b(0x102)][_0x307d9b(0x111)];return{'resultsCount':_0x206ec4,'totalItemsCount':_0x206ec4};}[_0x3e9a0d(0xfa)](){const _0x349b6a=_0x3e9a0d,_0x2460c2=this[_0x349b6a(0x110)],_0x9dd890=new _0x58b49f(this[_0x349b6a(0x110)]);return _0x9dd890[_0x349b6a(0x10e)]({'label':'('+_0x5851bd(_0x2460c2,_0x349b6a(0x107))+')','withText':!0x0}),_0x9dd890['on'](_0x349b6a(0xfc),()=>this[_0x349b6a(0xff)](_0x349b6a(0x105))),_0x9dd890;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dd2e1=_0x271d;(function(_0x1f9902,_0x11b1c2){const _0x574fa9=_0x271d,_0x1d5487=_0x1f9902();while(!![]){try{const _0x44886e=-parseInt(_0x574fa9(0xf9))/0x1+parseInt(_0x574fa9(0xfd))/0x2+-parseInt(_0x574fa9(0xed))/0x3*(-parseInt(_0x574fa9(0xee))/0x4)+-parseInt(_0x574fa9(0xf8))/0x5+-parseInt(_0x574fa9(0xfe))/0x6*(parseInt(_0x574fa9(0x105))/0x7)+-parseInt(_0x574fa9(0xff))/0x8*(parseInt(_0x574fa9(0x101))/0x9)+parseInt(_0x574fa9(0xf7))/0xa;if(_0x44886e===_0x11b1c2)break;else _0x1d5487['push'](_0x1d5487['shift']());}catch(_0x5dfca9){_0x1d5487['push'](_0x1d5487['shift']());}}}(_0x47c2,0xd70cb));function _0x47c2(){const _0x5e6b02=['getItem','23505020LliOdR','1033875gqlmjf','379498mvBUmn','CKEditor/AIFormView/PromptHistory','stringify','length','98172szqJjC','8026476epXQJy','203512uOsgcv','add','207QvoYrd','remove','prompt','trim','7GQKHkh','toLowerCase','3ZJeRIh','3961484oYVxxM','_saveToSessionStorage','parse','setItem','last','_loadFromSessionStorage','map','addMany'];_0x47c2=function(){return _0x5e6b02;};return _0x47c2();}import{Collection as _0x570473}from'ckeditor5/src/utils.js';const no=_0x4dd2e1(0xfa);export class PromptHistory extends _0x570473{constructor(){const _0x2b3962=_0x4dd2e1;super(),this[_0x2b3962(0xf3)](),this['on'](_0x2b3962(0x100),(_0xdd0f1e,_0x1722f8)=>{const _0x22674e=_0x2b3962,_0x2aba03=co(_0x1722f8[_0x22674e(0x103)]);for(const _0x17e65a of this)if(_0x17e65a!=_0x1722f8&&co(_0x17e65a[_0x22674e(0x103)])===_0x2aba03){this[_0x22674e(0x102)](_0x17e65a);break;}this[_0x22674e(0xfc)]>0x14&&this[_0x22674e(0x102)](this[_0x22674e(0xf2)]),this[_0x22674e(0xef)]();}),this['on'](_0x2b3962(0x102),()=>{const _0x5d8353=_0x2b3962;this[_0x5d8353(0xef)]();});}[_0x4dd2e1(0xf3)](){const _0x1763f7=_0x4dd2e1,_0x2f7a1e=sessionStorage[_0x1763f7(0xf6)](no)||'[]';this[_0x1763f7(0xf5)](JSON[_0x1763f7(0xf0)](_0x2f7a1e));}[_0x4dd2e1(0xef)](){const _0x196909=_0x4dd2e1;sessionStorage[_0x196909(0xf1)](no,JSON[_0x196909(0xfb)](this[_0x196909(0xf4)](_0xd0a126=>_0xd0a126)));}}function _0x271d(_0x3940bf,_0x3d6a9b){const _0x47c2e3=_0x47c2();return _0x271d=function(_0x271d88,_0x1df3ce){_0x271d88=_0x271d88-0xec;let _0x10dac6=_0x47c2e3[_0x271d88];return _0x10dac6;},_0x271d(_0x3940bf,_0x3d6a9b);}function co(_0x28ffc9){const _0x35a5b2=_0x4dd2e1;return _0x28ffc9[_0x35a5b2(0xec)]()[_0x35a5b2(0x104)]();}
23
+ function _0x1f3a(_0x4d1343,_0x3c972e){const _0x4ff215=_0x4ff2();return _0x1f3a=function(_0x1f3a53,_0x5b3eca){_0x1f3a53=_0x1f3a53-0x139;let _0x4be375=_0x4ff215[_0x1f3a53];return _0x4be375;},_0x1f3a(_0x4d1343,_0x3c972e);}const _0x363416=_0x1f3a;(function(_0x29cdc6,_0x24b2b1){const _0x2b5307=_0x1f3a,_0x235d4c=_0x29cdc6();while(!![]){try{const _0x261d68=-parseInt(_0x2b5307(0x139))/0x1+parseInt(_0x2b5307(0x149))/0x2*(parseInt(_0x2b5307(0x14d))/0x3)+-parseInt(_0x2b5307(0x14b))/0x4*(-parseInt(_0x2b5307(0x14a))/0x5)+-parseInt(_0x2b5307(0x142))/0x6+-parseInt(_0x2b5307(0x152))/0x7*(-parseInt(_0x2b5307(0x14e))/0x8)+parseInt(_0x2b5307(0x13f))/0x9+-parseInt(_0x2b5307(0x143))/0xa*(-parseInt(_0x2b5307(0x13b))/0xb);if(_0x261d68===_0x24b2b1)break;else _0x235d4c['push'](_0x235d4c['shift']());}catch(_0x9da206){_0x235d4c['push'](_0x235d4c['shift']());}}}(_0x4ff2,0x49754));import{Collection as _0x51b0cb}from'ckeditor5/src/utils.js';function _0x4ff2(){const _0x4170e3=['69399jBTgwT','_loadFromSessionStorage','prompt','add','873846wuiFvF','getItem','stringify','582606fhsRqR','210PUYULp','_saveToSessionStorage','trim','CKEditor/AIFormView/PromptHistory','last','toLowerCase','10438YrjQqY','988105LyUbdR','8MsVWeB','remove','21qrmoEd','72ocXNQG','parse','map','addMany','175000SsyCpt','length','488373RgBFuB','setItem'];_0x4ff2=function(){return _0x4170e3;};return _0x4ff2();}const so=_0x363416(0x146);export class PromptHistory extends _0x51b0cb{constructor(){const _0x5b082a=_0x363416;super(),this[_0x5b082a(0x13c)](),this['on'](_0x5b082a(0x13e),(_0x5dd273,_0x4c83de)=>{const _0x35bd64=_0x5b082a,_0x2d6ef3=no(_0x4c83de[_0x35bd64(0x13d)]);for(const _0x126771 of this)if(_0x126771!=_0x4c83de&&no(_0x126771[_0x35bd64(0x13d)])===_0x2d6ef3){this[_0x35bd64(0x14c)](_0x126771);break;}this[_0x35bd64(0x153)]>0x14&&this[_0x35bd64(0x14c)](this[_0x35bd64(0x147)]),this[_0x35bd64(0x144)]();}),this['on'](_0x5b082a(0x14c),()=>{const _0x53f8a7=_0x5b082a;this[_0x53f8a7(0x144)]();});}[_0x363416(0x13c)](){const _0x240cf5=_0x363416,_0x330759=sessionStorage[_0x240cf5(0x140)](so)||'[]';this[_0x240cf5(0x151)](JSON[_0x240cf5(0x14f)](_0x330759));}[_0x363416(0x144)](){const _0x3735a6=_0x363416;sessionStorage[_0x3735a6(0x13a)](so,JSON[_0x3735a6(0x141)](this[_0x3735a6(0x150)](_0x1b84b1=>_0x1b84b1)));}}function no(_0x35b70e){const _0x1bc65f=_0x363416;return _0x35b70e[_0x1bc65f(0x148)]()[_0x1bc65f(0x145)]();}