@ckeditor/ckeditor5-ai 47.0.0-alpha.1 → 47.0.0-alpha.2

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 (308) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +9 -1
  3. package/dist/index.css +9 -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/lang/contexts.json +35 -1
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +5 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  241. package/src/aicore/utils/common-translations.js +1 -1
  242. package/src/aicore/utils/createresizebutton.js +1 -1
  243. package/src/aicore/utils/documentposition.js +1 -1
  244. package/src/aicore/utils/documentrange.js +1 -1
  245. package/src/aicore/utils/eventnames.js +1 -1
  246. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  247. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  248. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  249. package/src/aicore/utils/htmlparser.js +1 -1
  250. package/src/aicore/utils/htmlstreamer.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aiquickactions/utils/common-translations.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  261. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  262. package/src/aireviewmode/aireviewmode.js +1 -1
  263. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  264. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  265. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  266. package/src/aireviewmode/aireviewmodeui.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  268. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  270. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  271. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  274. package/src/aireviewmode/model/aireviewcheckrun.d.ts +5 -1
  275. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  276. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  277. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  278. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  279. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  280. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  287. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  288. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  289. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  290. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  291. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  292. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  293. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  294. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  295. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  296. package/src/aitabs/aitabs.js +1 -1
  297. package/src/aitabs/aitabsmainview.js +1 -1
  298. package/src/aitabs/tabs/aitabsview.js +1 -1
  299. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  300. package/src/aitabs/tabs/tabpanelview.js +1 -1
  301. package/src/index.d.ts +3 -2
  302. package/src/index.js +1 -1
  303. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  304. package/theme/aichat/aichat-controls.css +4 -0
  305. package/theme/aichat/aichatfeed.css +4 -0
  306. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  307. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  308. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1511(_0x4bf06c,_0xcb36f0){const _0x5131fb=_0x5131();return _0x1511=function(_0x151118,_0x414c1a){_0x151118=_0x151118-0x1ec;let _0x4d3037=_0x5131fb[_0x151118];return _0x4d3037;},_0x1511(_0x4bf06c,_0xcb36f0);}const _0xbf2fe5=_0x1511;(function(_0x3a6a6e,_0x53d385){const _0x2ceda7=_0x1511,_0x5c0077=_0x3a6a6e();while(!![]){try{const _0x55b33b=parseInt(_0x2ceda7(0x215))/0x1+parseInt(_0x2ceda7(0x225))/0x2+parseInt(_0x2ceda7(0x1fa))/0x3+parseInt(_0x2ceda7(0x205))/0x4*(parseInt(_0x2ceda7(0x20e))/0x5)+-parseInt(_0x2ceda7(0x20f))/0x6+parseInt(_0x2ceda7(0x1f2))/0x7*(-parseInt(_0x2ceda7(0x20c))/0x8)+-parseInt(_0x2ceda7(0x22a))/0x9;if(_0x55b33b===_0x53d385)break;else _0x5c0077['push'](_0x5c0077['shift']());}catch(_0x3d9332){_0x5c0077['push'](_0x5c0077['shift']());}}}(_0x5131,0x2d961));import{AITextAdapter as _0xb541a2}from'./aitextadapter.js';import{AIRequestError as _0x3fdd51}from'./aiadapter.js';import{getTranslation as _0x4e3f12}from'../utils/common-translations.js';function _0x5131(){const _0x279bca=['stringify','_requestParameters','read','body','get','ai.assistant.adapter.openAI.requestHeaders','923037zOgHUJ','[DONE]','_requestHeaders','editor','data:\x20','_prepareRequestHeaders','filter','user','content','abortController','join','64fXZsgX','map','ai.assistant.adapter.openAI.apiUrl','Moderation','text','gpt-4o','config','1864Ywiloh','delta','85390bHHTnv','1707654IBUxBe','context_length_exceeded','json','https://api.openai.com/v1/chat/completions','AI_ERROR_CONTEXT_LENGTH','AI_ERROR_MODERATION','133092YAByQT','prepareMessages','_readStaticResponse','signal','define','split','choices','sendRequest','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','message','_readStreamableResponse','_isBufferIncomplete','resolve','_apiUrl','_prepareRequestParameters','_cleanUpData','571534utscRw','stream','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','locale','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','3185451CBrCQb','Instruction:\x0a','length','OpenAITextAdapter','POST','parse','pluginName','includes','ai.assistant.adapter.openAI.requestParameters','replace','reject','system','getReader','5243HRQTCm','decode'];_0x5131=function(){return _0x279bca;};return _0x5131();}export class OpenAITextAdapter extends _0xb541a2{[_0xbf2fe5(0x222)];[_0xbf2fe5(0x1fc)];[_0xbf2fe5(0x1f5)];static get[_0xbf2fe5(0x230)](){const _0xee0999=_0xbf2fe5;return _0xee0999(0x22d);}constructor(_0xbb9707){const _0x3c597a=_0xbf2fe5;super(_0xbb9707),_0xbb9707[_0x3c597a(0x20b)][_0x3c597a(0x219)](_0x3c597a(0x207),_0x3c597a(0x212)),_0xbb9707[_0x3c597a(0x20b)][_0x3c597a(0x1f8)](_0x3c597a(0x1ed))||_0xbb9707[_0x3c597a(0x20b)][_0x3c597a(0x219)](_0x3c597a(0x1ed),{'model':_0x3c597a(0x20a),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x3c597a(0x222)]=_0xbb9707[_0x3c597a(0x20b)][_0x3c597a(0x1f8)](_0x3c597a(0x207)),this[_0x3c597a(0x1fc)]=_0xbb9707[_0x3c597a(0x20b)][_0x3c597a(0x1f8)](_0x3c597a(0x1f9))||{},this[_0x3c597a(0x1f5)]=_0xbb9707[_0x3c597a(0x20b)][_0x3c597a(0x1f8)](_0x3c597a(0x1ed));}async[_0xbf2fe5(0x21c)]({query:_0x5eb303,context:_0x579a56,onData:_0x4e6a5d,actionId:_0x11c67d}){const _0x47d1b2=_0xbf2fe5,_0x569891=this[_0x47d1b2(0x1fd)][_0x47d1b2(0x228)],_0x289607=await this[_0x47d1b2(0x216)](_0x5eb303,_0x579a56,_0x11c67d),_0x3233d8=await this[_0x47d1b2(0x1ff)](this[_0x47d1b2(0x1fc)],_0x11c67d),_0x3f022c=await this[_0x47d1b2(0x223)](this[_0x47d1b2(0x1f5)],_0x11c67d),_0x5309d0={'messages':_0x289607,..._0x3f022c},_0x2de53f={'method':_0x47d1b2(0x22e),'headers':_0x3233d8,'body':JSON[_0x47d1b2(0x1f4)](_0x5309d0),'signal':this[_0x47d1b2(0x203)][_0x47d1b2(0x218)]},_0x1dfdf0=await fetch(this[_0x47d1b2(0x222)],_0x2de53f);if(_0x1dfdf0['ok'])return _0x3f022c[_0x47d1b2(0x226)]?await this[_0x47d1b2(0x21f)](_0x1dfdf0,_0x4e6a5d):await this[_0x47d1b2(0x217)](_0x1dfdf0,_0x4e6a5d),Promise[_0x47d1b2(0x221)]();{const _0x49d265=await _0x1dfdf0[_0x47d1b2(0x209)]();return _0x49d265[_0x47d1b2(0x1ec)](_0x47d1b2(0x210))?Promise[_0x47d1b2(0x1ef)](new _0x3fdd51(_0x4e3f12(_0x569891,_0x47d1b2(0x213)))):_0x49d265[_0x47d1b2(0x1ec)](_0x47d1b2(0x208))?Promise[_0x47d1b2(0x1ef)](new _0x3fdd51(_0x4e3f12(_0x569891,_0x47d1b2(0x214)))):Promise[_0x47d1b2(0x1ef)](new Error(_0x49d265));}}async[_0xbf2fe5(0x216)](_0x53b2ed,_0x47594d,_0x2a6b5b){const _0x466cec=_0xbf2fe5;let _0x106cda,_0x1ad11e;return _0x47594d?(_0x106cda=_0x466cec(0x229),_0x1ad11e=_0x466cec(0x22b)+_0x53b2ed+_0x466cec(0x21d)+_0x47594d):(_0x106cda=_0x466cec(0x227),_0x1ad11e=_0x53b2ed),[{'role':_0x466cec(0x1f0),'content':_0x106cda},{'role':_0x466cec(0x201),'content':_0x1ad11e}];}async[_0xbf2fe5(0x21f)](_0x13df11,_0x2e74d0){const _0x6f666e=_0xbf2fe5,_0x51e988=_0x13df11[_0x6f666e(0x1f7)][_0x6f666e(0x1f1)](),_0x4f8ed4=new TextDecoder();let _0x212f25='',_0x26452d='',_0xe95dfa='',_0x2997d2=!0x1;for(;!_0x2997d2;){const {done:_0x1bbdf9,value:_0x1ff0a0}=await _0x51e988[_0x6f666e(0x1f6)](),_0x190a53=_0x212f25+_0x4f8ed4[_0x6f666e(0x1f3)](_0x1ff0a0);let _0x20dfb3='';_0x2997d2=_0x1bbdf9;try{_0x20dfb3=this[_0x6f666e(0x224)](_0x190a53),_0x212f25='';}catch{_0x212f25=_0x190a53;continue;}_0x26452d+=_0x20dfb3,!_0x2997d2&&this[_0x6f666e(0x220)](_0x26452d)||_0x26452d&&(_0xe95dfa+=_0x26452d,_0x26452d='',_0x2e74d0(_0xe95dfa));}return Promise[_0x6f666e(0x221)]();}async[_0xbf2fe5(0x217)](_0x2b0c7d,_0x577a1e){const _0x59ff18=_0xbf2fe5;return _0x577a1e((await _0x2b0c7d[_0x59ff18(0x211)]())[_0x59ff18(0x21b)][0x0][_0x59ff18(0x21e)][_0x59ff18(0x202)]),Promise[_0x59ff18(0x221)]();}[_0xbf2fe5(0x220)](_0x553132){const _0x3c207b=_0xbf2fe5,_0x390139=_0x553132[_0x3c207b(0x21a)]('<')[_0x3c207b(0x22c)]!==_0x553132[_0x3c207b(0x21a)]('>')[_0x3c207b(0x22c)],_0x55c4bb=_0x553132[_0x3c207b(0x22c)]<0x1e;return _0x390139&&_0x55c4bb;}[_0xbf2fe5(0x224)](_0x23c6ae){const _0x364848=_0xbf2fe5;return _0x23c6ae[_0x364848(0x21a)](/\n(?![^{]*\})/g)[_0x364848(0x206)](_0x5ba8fd=>_0x5ba8fd[_0x364848(0x1ee)](_0x364848(0x1fe),''))[_0x364848(0x200)](_0x1c669f=>_0x1c669f&&_0x1c669f[_0x364848(0x22c)]>0x0&&_0x364848(0x1fb)!==_0x1c669f)[_0x364848(0x206)](_0xd0f677=>{const _0x4ab708=_0x364848,{choices:_0x16691f}=JSON[_0x4ab708(0x22f)](_0xd0f677);if(_0x16691f[0x0]?.[_0x4ab708(0x20d)]?.[_0x4ab708(0x202)])return _0x16691f[0x0][_0x4ab708(0x20d)][_0x4ab708(0x202)];})[_0x364848(0x200)](_0x4d1635=>_0x4d1635)[_0x364848(0x204)]('');}}
23
+ const _0x5b3ef5=_0x31ea;function _0x1647(){const _0x31c15b=['gpt-4o','6757848PyDzdA','30meRlIx','pluginName','AI_ERROR_MODERATION','abortController','ai.assistant.adapter.openAI.apiUrl','get','stream','7392285bHcZqB','reject','config','context_length_exceeded','delta','body','AI_ERROR_CONTEXT_LENGTH','[DONE]','includes','user','128382moZWee','editor','899352DdqpvG','map','signal','content','Moderation','ai.assistant.adapter.openAI.requestHeaders','system','resolve','getReader','1krWega','ai.assistant.adapter.openAI.requestParameters','length','text','join','_isBufferIncomplete','POST','_requestParameters','2999520WWvGPE','decode','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','replace','_apiUrl','sendRequest','parse','Instruction:\x0a','https://api.openai.com/v1/chat/completions','filter','_cleanUpData','locale','stringify','data:\x20','split','OpenAITextAdapter','choices','read','66152zrVRCm','_prepareRequestParameters','message','_requestHeaders','json','define','prepareMessages','3101028mxoSvm','_readStaticResponse','_prepareRequestHeaders','_readStreamableResponse','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'];_0x1647=function(){return _0x31c15b;};return _0x1647();}(function(_0x5d42bc,_0x24ca2e){const _0x3788af=_0x31ea,_0x53db1a=_0x5d42bc();while(!![]){try{const _0x3e256c=-parseInt(_0x3788af(0x206))/0x1*(parseInt(_0x3788af(0x1fb))/0x2)+-parseInt(_0x3788af(0x1fd))/0x3+parseInt(_0x3788af(0x220))/0x4*(-parseInt(_0x3788af(0x22f))/0x5)+parseInt(_0x3788af(0x20e))/0x6+parseInt(_0x3788af(0x227))/0x7+-parseInt(_0x3788af(0x22e))/0x8+parseInt(_0x3788af(0x1f1))/0x9;if(_0x3e256c===_0x24ca2e)break;else _0x53db1a['push'](_0x53db1a['shift']());}catch(_0x302415){_0x53db1a['push'](_0x53db1a['shift']());}}}(_0x1647,0x6f6a3));import{AITextAdapter as _0x1c437d}from'./aitextadapter.js';import{AIRequestError as _0x47b65e}from'./aiadapter.js';function _0x31ea(_0x392e5d,_0x1443c8){const _0x1647cc=_0x1647();return _0x31ea=function(_0x31ea9d,_0x1aebbf){_0x31ea9d=_0x31ea9d-0x1ef;let _0x2c65b9=_0x1647cc[_0x31ea9d];return _0x2c65b9;},_0x31ea(_0x392e5d,_0x1443c8);}import{getTranslation as _0xe2745a}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x1c437d{[_0x5b3ef5(0x212)];[_0x5b3ef5(0x223)];[_0x5b3ef5(0x20d)];static get[_0x5b3ef5(0x230)](){const _0x1dd109=_0x5b3ef5;return _0x1dd109(0x21d);}constructor(_0x16db0c){const _0x112f32=_0x5b3ef5;super(_0x16db0c),_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x225)](_0x112f32(0x233),_0x112f32(0x216)),_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x207))||_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x225)](_0x112f32(0x207),{'model':_0x112f32(0x22d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x112f32(0x212)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x233)),this[_0x112f32(0x223)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x202))||{},this[_0x112f32(0x20d)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x207));}async[_0x5b3ef5(0x213)]({query:_0x353016,context:_0x13314d,onData:_0x56e80a,actionId:_0x18367c}){const _0x1c37ee=_0x5b3ef5,_0x1a7a4d=this[_0x1c37ee(0x1fc)][_0x1c37ee(0x219)],_0x5f3442=await this[_0x1c37ee(0x226)](_0x353016,_0x13314d,_0x18367c),_0x589865=await this[_0x1c37ee(0x229)](this[_0x1c37ee(0x223)],_0x18367c),_0x4423fc=await this[_0x1c37ee(0x221)](this[_0x1c37ee(0x20d)],_0x18367c),_0x580f35={'messages':_0x5f3442,..._0x4423fc},_0x87ca94={'method':_0x1c37ee(0x20c),'headers':_0x589865,'body':JSON[_0x1c37ee(0x21a)](_0x580f35),'signal':this[_0x1c37ee(0x232)][_0x1c37ee(0x1ff)]},_0x3ef9dc=await fetch(this[_0x1c37ee(0x212)],_0x87ca94);if(_0x3ef9dc['ok'])return _0x4423fc[_0x1c37ee(0x1f0)]?await this[_0x1c37ee(0x22a)](_0x3ef9dc,_0x56e80a):await this[_0x1c37ee(0x228)](_0x3ef9dc,_0x56e80a),Promise[_0x1c37ee(0x204)]();{const _0x49898b=await _0x3ef9dc[_0x1c37ee(0x209)]();return _0x49898b[_0x1c37ee(0x1f9)](_0x1c37ee(0x1f4))?Promise[_0x1c37ee(0x1f2)](new _0x47b65e(_0xe2745a(_0x1a7a4d,_0x1c37ee(0x1f7)))):_0x49898b[_0x1c37ee(0x1f9)](_0x1c37ee(0x201))?Promise[_0x1c37ee(0x1f2)](new _0x47b65e(_0xe2745a(_0x1a7a4d,_0x1c37ee(0x231)))):Promise[_0x1c37ee(0x1f2)](new Error(_0x49898b));}}async[_0x5b3ef5(0x226)](_0x569653,_0x4d9753,_0x52ca60){const _0x2c8415=_0x5b3ef5;let _0x1fd20f,_0x5ea3b2;return _0x4d9753?(_0x1fd20f=_0x2c8415(0x210),_0x5ea3b2=_0x2c8415(0x215)+_0x569653+_0x2c8415(0x22c)+_0x4d9753):(_0x1fd20f=_0x2c8415(0x22b),_0x5ea3b2=_0x569653),[{'role':_0x2c8415(0x203),'content':_0x1fd20f},{'role':_0x2c8415(0x1fa),'content':_0x5ea3b2}];}async[_0x5b3ef5(0x22a)](_0x45ed57,_0x2e65ee){const _0x398e08=_0x5b3ef5,_0x389916=_0x45ed57[_0x398e08(0x1f6)][_0x398e08(0x205)](),_0x23ef8f=new TextDecoder();let _0x3beb94='',_0x4a3d47='',_0x47a151='',_0x331998=!0x1;for(;!_0x331998;){const {done:_0x1cd44c,value:_0x534c75}=await _0x389916[_0x398e08(0x21f)](),_0x4cac92=_0x3beb94+_0x23ef8f[_0x398e08(0x20f)](_0x534c75);let _0x405c54='';_0x331998=_0x1cd44c;try{_0x405c54=this[_0x398e08(0x218)](_0x4cac92),_0x3beb94='';}catch{_0x3beb94=_0x4cac92;continue;}_0x4a3d47+=_0x405c54,!_0x331998&&this[_0x398e08(0x20b)](_0x4a3d47)||_0x4a3d47&&(_0x47a151+=_0x4a3d47,_0x4a3d47='',_0x2e65ee(_0x47a151));}return Promise[_0x398e08(0x204)]();}async[_0x5b3ef5(0x228)](_0x1cab28,_0x8b4ef1){const _0x907f3a=_0x5b3ef5;return _0x8b4ef1((await _0x1cab28[_0x907f3a(0x224)]())[_0x907f3a(0x21e)][0x0][_0x907f3a(0x222)][_0x907f3a(0x200)]),Promise[_0x907f3a(0x204)]();}[_0x5b3ef5(0x20b)](_0x34d8f1){const _0x3fef70=_0x5b3ef5,_0x4d32e0=_0x34d8f1[_0x3fef70(0x21c)]('<')[_0x3fef70(0x208)]!==_0x34d8f1[_0x3fef70(0x21c)]('>')[_0x3fef70(0x208)],_0x27d0ab=_0x34d8f1[_0x3fef70(0x208)]<0x1e;return _0x4d32e0&&_0x27d0ab;}[_0x5b3ef5(0x218)](_0x162941){const _0x568d5f=_0x5b3ef5;return _0x162941[_0x568d5f(0x21c)](/\n(?![^{]*\})/g)[_0x568d5f(0x1fe)](_0x3432b8=>_0x3432b8[_0x568d5f(0x211)](_0x568d5f(0x21b),''))[_0x568d5f(0x217)](_0x135807=>_0x135807&&_0x135807[_0x568d5f(0x208)]>0x0&&_0x568d5f(0x1f8)!==_0x135807)[_0x568d5f(0x1fe)](_0x296167=>{const _0x2f0150=_0x568d5f,{choices:_0x1cd2a5}=JSON[_0x2f0150(0x214)](_0x296167);if(_0x1cd2a5[0x0]?.[_0x2f0150(0x1f5)]?.[_0x2f0150(0x200)])return _0x1cd2a5[0x0][_0x2f0150(0x1f5)][_0x2f0150(0x200)];})[_0x568d5f(0x217)](_0x4c8460=>_0x4c8460)[_0x568d5f(0x20a)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11d14e=_0x2826;(function(_0x37ee62,_0x562947){const _0x62b80b=_0x2826,_0x2261b5=_0x37ee62();while(!![]){try{const _0x3dea21=parseInt(_0x62b80b(0x11e))/0x1*(parseInt(_0x62b80b(0x15b))/0x2)+-parseInt(_0x62b80b(0x152))/0x3*(-parseInt(_0x62b80b(0x113))/0x4)+parseInt(_0x62b80b(0x118))/0x5+parseInt(_0x62b80b(0x171))/0x6*(-parseInt(_0x62b80b(0x148))/0x7)+parseInt(_0x62b80b(0x130))/0x8*(parseInt(_0x62b80b(0x127))/0x9)+parseInt(_0x62b80b(0x15a))/0xa+-parseInt(_0x62b80b(0x13c))/0xb;if(_0x3dea21===_0x562947)break;else _0x2261b5['push'](_0x2261b5['shift']());}catch(_0x3cd43e){_0x2261b5['push'](_0x2261b5['shift']());}}}(_0x3c86,0xed1f6));function _0x3c86(){const _0x3b1ca6=['354752leCcEO','ai.assistant.preserveComments','Continue','changeStyle','Direct','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','locale','makeLonger','Translate\x20the\x20content\x20to\x20Hindi\x20language.','requires','journalism','Improve\x20writing','191213lMzmls','legal','groupId','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','get','push','define','Simplified\x20Chinese','Poetic','changeTone','Legal','translate','48839iLjPnd','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','summarize','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Make\x20shorter','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Confident','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','2179512iRVzsB','isPremiumPlugin','improveWriting','includes','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','commands','Generate\x20from\x20selection','find','3294950rdtwHW','277046WuXrqN','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','friendly','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','poetic','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateArabic','Translate\x20the\x20content\x20to\x20English\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','German','casual','translateSpanish','Portuguese','Translate\x20the\x20content\x20to\x20German\x20language.','Hindi','translatePortuguese','continue','set','Professional','direct','translateFrench','1146AidkAn','editOrReview','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','ai.assistant.commands','English','makeShorter','Casual','AIAssistant','confident','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','config','Translate\x20the\x20content\x20to\x20French\x20language.','Journalism','Make\x20longer','translateHindi','isOfficialPlugin','Friendly','forEach','4YCMmoM','Change\x20style','Translate\x20the\x20content\x20to\x20Arabic\x20language.','generate','Simplify\x20language','35700HYTsoJ','French','ai.assistant.extraCommandGroups','ai.assistant.removeCommands','Translate','filter','3WEunZX','Business','pluginName','translateGerman','translateEnglish','business','Spanish','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Change\x20tone','171beCsUF','professional','concat','translateChinese','simplifyLanguage','Edit\x20or\x20review','Summarize','Arabic','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'];_0x3c86=function(){return _0x3b1ca6;};return _0x3c86();}import{Plugin as _0xc2040f}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x23b32d}from'./aiassistantui.js';function _0x2826(_0x4cebf9,_0xc33da8){const _0x3c8667=_0x3c86();return _0x2826=function(_0x2826bb,_0x5f31ec){_0x2826bb=_0x2826bb-0x107;let _0x235df9=_0x3c8667[_0x2826bb];return _0x235df9;},_0x2826(_0x4cebf9,_0xc33da8);}import{AIAssistantEditing as _0xc5fd2d}from'./aiassistantediting.js';import{getTranslation as _0x2645b0}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x5cf817}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xc2040f{static get[_0x11d14e(0x139)](){return[_0x23b32d,_0xc5fd2d];}static get[_0x11d14e(0x120)](){const _0x57102d=_0x11d14e;return _0x57102d(0x108);}static get[_0x11d14e(0x110)](){return!0x0;}static get[_0x11d14e(0x153)](){return!0x0;}constructor(_0x2aeb45){const _0x1d4ffd=_0x11d14e;super(_0x2aeb45);const _0x333261=_0x2aeb45[_0x1d4ffd(0x10b)],_0x34dcc3=_0x2aeb45[_0x1d4ffd(0x136)];_0x333261[_0x1d4ffd(0x142)](_0x1d4ffd(0x131),!0x0),_0x333261[_0x1d4ffd(0x142)](_0x1d4ffd(0x174),getDefaultAICommands(_0x34dcc3)),_0x333261[_0x1d4ffd(0x142)](_0x1d4ffd(0x11a),[]),_0x333261[_0x1d4ffd(0x142)](_0x1d4ffd(0x11b),[]);let _0x51d71a=_0x5cf817(_0x333261[_0x1d4ffd(0x140)](_0x1d4ffd(0x174)),_0x34dcc3);const _0x2ae6ae=_0x333261[_0x1d4ffd(0x140)](_0x1d4ffd(0x11a)),_0x567343=_0x333261[_0x1d4ffd(0x140)](_0x1d4ffd(0x11b));_0x2ae6ae[_0x1d4ffd(0x112)](_0x3e02c3=>{const _0x2e329e=_0x1d4ffd,_0x4511ca=_0x51d71a[_0x2e329e(0x159)](_0x5753f5=>_0x5753f5[_0x2e329e(0x13e)]===_0x3e02c3[_0x2e329e(0x13e)]);_0x4511ca?_0x4511ca[_0x2e329e(0x157)]=_0x4511ca[_0x2e329e(0x157)][_0x2e329e(0x129)](_0x3e02c3[_0x2e329e(0x157)]):_0x51d71a[_0x2e329e(0x141)](_0x3e02c3);}),_0x51d71a=_0x51d71a[_0x1d4ffd(0x11d)](_0x1a8229=>!_0x567343[_0x1d4ffd(0x155)](_0x1a8229[_0x1d4ffd(0x13e)])),_0x51d71a[_0x1d4ffd(0x112)](_0x3c1f95=>{const _0xe9aed5=_0x1d4ffd;_0x3c1f95[_0xe9aed5(0x157)]=_0x3c1f95[_0xe9aed5(0x157)][_0xe9aed5(0x11d)](_0x136de3=>!_0x567343[_0xe9aed5(0x155)](_0x136de3['id']));}),_0x333261[_0x1d4ffd(0x16d)](_0x1d4ffd(0x174),_0x51d71a);}}export function getDefaultAICommands(_0x5b4f44){const _0x582b40=_0x11d14e;return[{'groupId':_0x582b40(0x172),'groupLabel':_0x2645b0(_0x5b4f44,_0x582b40(0x12c)),'commands':[{'id':_0x582b40(0x154),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x13b)),'prompt':_0x582b40(0x156)},{'id':_0x582b40(0x176),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x14d)),'prompt':_0x582b40(0x164)},{'id':_0x582b40(0x137),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x10e)),'prompt':_0x582b40(0x160)},{'id':_0x582b40(0x12b),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x117)),'prompt':_0x582b40(0x10a)}]},{'groupId':_0x582b40(0x116),'groupLabel':_0x2645b0(_0x5b4f44,_0x582b40(0x158)),'commands':[{'id':_0x582b40(0x14b),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x12d)),'prompt':_0x582b40(0x151)},{'id':_0x582b40(0x16c),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x132)),'prompt':_0x582b40(0x14e)}]},{'groupId':_0x582b40(0x145),'groupLabel':_0x2645b0(_0x5b4f44,_0x582b40(0x126)),'commands':[{'id':_0x582b40(0x128),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x16e)),'prompt':_0x582b40(0x14a)},{'id':_0x582b40(0x166),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x107)),'prompt':_0x582b40(0x15e)},{'id':_0x582b40(0x16f),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x134)),'prompt':_0x582b40(0x173)},{'id':_0x582b40(0x109),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x150)),'prompt':_0x582b40(0x149)},{'id':_0x582b40(0x15d),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x111)),'prompt':_0x582b40(0x13f)}]},{'groupId':_0x582b40(0x133),'groupLabel':_0x2645b0(_0x5b4f44,_0x582b40(0x114)),'commands':[{'id':_0x582b40(0x123),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x11f)),'prompt':_0x582b40(0x15c)},{'id':_0x582b40(0x13d),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x146)),'prompt':_0x582b40(0x125)},{'id':_0x582b40(0x13a),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x10d)),'prompt':_0x582b40(0x163)},{'id':_0x582b40(0x15f),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x144)),'prompt':_0x582b40(0x14c)}]},{'groupId':_0x582b40(0x147),'groupLabel':_0x2645b0(_0x5b4f44,_0x582b40(0x11c)),'commands':[{'id':_0x582b40(0x122),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x175)),'prompt':_0x582b40(0x162)},{'id':_0x582b40(0x167),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x124)),'prompt':_0x582b40(0x14f)},{'id':_0x582b40(0x16b),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x168)),'prompt':_0x582b40(0x135)},{'id':_0x582b40(0x121),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x165)),'prompt':_0x582b40(0x169)},{'id':_0x582b40(0x170),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x119)),'prompt':_0x582b40(0x10c)},{'id':_0x582b40(0x12a),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x143)),'prompt':_0x582b40(0x12f)},{'id':_0x582b40(0x10f),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x16a)),'prompt':_0x582b40(0x138)},{'id':_0x582b40(0x161),'label':_0x2645b0(_0x5b4f44,_0x582b40(0x12e)),'prompt':_0x582b40(0x115)}]}];}
23
+ const _0x393b3a=_0x256c;function _0x256c(_0x3ef6b3,_0x1cb8ee){const _0x235808=_0x2358();return _0x256c=function(_0x256c21,_0x52490f){_0x256c21=_0x256c21-0x1f0;let _0x151719=_0x235808[_0x256c21];return _0x151719;},_0x256c(_0x3ef6b3,_0x1cb8ee);}(function(_0x2cb827,_0x30e86e){const _0x321220=_0x256c,_0x2fef3f=_0x2cb827();while(!![]){try{const _0x5008af=-parseInt(_0x321220(0x23c))/0x1*(parseInt(_0x321220(0x231))/0x2)+parseInt(_0x321220(0x21f))/0x3+parseInt(_0x321220(0x20f))/0x4+parseInt(_0x321220(0x240))/0x5*(-parseInt(_0x321220(0x1fb))/0x6)+parseInt(_0x321220(0x25e))/0x7+-parseInt(_0x321220(0x222))/0x8+-parseInt(_0x321220(0x239))/0x9*(-parseInt(_0x321220(0x23f))/0xa);if(_0x5008af===_0x30e86e)break;else _0x2fef3f['push'](_0x2fef3f['shift']());}catch(_0x2066a4){_0x2fef3f['push'](_0x2fef3f['shift']());}}}(_0x2358,0x47d01));import{Plugin as _0x2b3907}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x397952}from'./aiassistantui.js';import{AIAssistantEditing as _0x25154c}from'./aiassistantediting.js';function _0x2358(){const _0x1a1263=['define','includes','direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','ai.assistant.removeCommands','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateFrench','commands','translateChinese','legal','config','Generate\x20from\x20selection','groupId','get','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','locale','Summarize','1530312osObpo','casual','requires','improveWriting','ai.assistant.preserveComments','translateGerman','English','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','makeLonger','Change\x20style','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','generate','Hindi','Make\x20longer','Simplify\x20language','simplifyLanguage','717072FJKVGq','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Legal','1738744BQWTNH','German','translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','professional','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','ai.assistant.commands','translatePortuguese','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','filter','translateHindi','AIAssistant','Improve\x20writing','pluginName','114378QmtrWm','translateSpanish','translateEnglish','changeStyle','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','summarize','ai.assistant.extraCommandGroups','4022901lrSwsc','Make\x20shorter','Simplified\x20Chinese','9lInHZk','Journalism','Arabic','10GYOMgv','41165oNNWyy','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Change\x20tone','editOrReview','poetic','Confident','changeTone','Continue','Translate\x20the\x20content\x20to\x20German\x20language.','Translate','Direct','concat','Professional','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','makeShorter','Portuguese','continue','set','Business','confident','Spanish','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20French\x20language.','French','push','find','Casual','business','isOfficialPlugin','1028699rcASgW','friendly','Poetic','forEach','journalism','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Friendly','Translate\x20the\x20content\x20to\x20English\x20language.','translateArabic','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Edit\x20or\x20review','138ubsuxO'];_0x2358=function(){return _0x1a1263;};return _0x2358();}import{getTranslation as _0x2d0f8c}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2f78c1}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x2b3907{static get[_0x393b3a(0x211)](){return[_0x397952,_0x25154c];}static get[_0x393b3a(0x230)](){const _0x1074df=_0x393b3a;return _0x1074df(0x22e);}static get[_0x393b3a(0x25d)](){return!0x0;}static get[_0x393b3a(0x20a)](){return!0x0;}constructor(_0x2d54b3){const _0x46959b=_0x393b3a;super(_0x2d54b3);const _0x713383=_0x2d54b3[_0x46959b(0x206)],_0x12f57b=_0x2d54b3[_0x46959b(0x20d)];_0x713383[_0x46959b(0x1fc)](_0x46959b(0x213),!0x0),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x228),getDefaultAICommands(_0x12f57b)),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x238),[]),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x200),[]);let _0x4a5b06=_0x2f78c1(_0x713383[_0x46959b(0x209)](_0x46959b(0x228)),_0x12f57b);const _0x5e5358=_0x713383[_0x46959b(0x209)](_0x46959b(0x238)),_0x2ce758=_0x713383[_0x46959b(0x209)](_0x46959b(0x200));_0x5e5358[_0x46959b(0x1f2)](_0x3b1314=>{const _0x5a5bcb=_0x46959b,_0x827bdb=_0x4a5b06[_0x5a5bcb(0x25a)](_0x1a020a=>_0x1a020a[_0x5a5bcb(0x208)]===_0x3b1314[_0x5a5bcb(0x208)]);_0x827bdb?_0x827bdb[_0x5a5bcb(0x203)]=_0x827bdb[_0x5a5bcb(0x203)][_0x5a5bcb(0x24c)](_0x3b1314[_0x5a5bcb(0x203)]):_0x4a5b06[_0x5a5bcb(0x259)](_0x3b1314);}),_0x4a5b06=_0x4a5b06[_0x46959b(0x22c)](_0x2b9db6=>!_0x2ce758[_0x46959b(0x1fd)](_0x2b9db6[_0x46959b(0x208)])),_0x4a5b06[_0x46959b(0x1f2)](_0x53d4cd=>{const _0x23db5e=_0x46959b;_0x53d4cd[_0x23db5e(0x203)]=_0x53d4cd[_0x23db5e(0x203)][_0x23db5e(0x22c)](_0x13bd3e=>!_0x2ce758[_0x23db5e(0x1fd)](_0x13bd3e['id']));}),_0x713383[_0x46959b(0x252)](_0x46959b(0x228),_0x4a5b06);}}export function getDefaultAICommands(_0x2817a7){const _0x56605b=_0x393b3a;return[{'groupId':_0x56605b(0x244),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x1fa)),'commands':[{'id':_0x56605b(0x212),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x22f)),'prompt':_0x56605b(0x216)},{'id':_0x56605b(0x24f),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23a)),'prompt':_0x56605b(0x256)},{'id':_0x56605b(0x217),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21c)),'prompt':_0x56605b(0x219)},{'id':_0x56605b(0x21e),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21d)),'prompt':_0x56605b(0x220)}]},{'groupId':_0x56605b(0x21a),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x207)),'commands':[{'id':_0x56605b(0x237),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x20e)),'prompt':_0x56605b(0x225)},{'id':_0x56605b(0x251),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x248)),'prompt':_0x56605b(0x241)}]},{'groupId':_0x56605b(0x247),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x243)),'commands':[{'id':_0x56605b(0x226),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x24d)),'prompt':_0x56605b(0x22a)},{'id':_0x56605b(0x210),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x25b)),'prompt':_0x56605b(0x1f5)},{'id':_0x56605b(0x1fe),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x24b)),'prompt':_0x56605b(0x1f9)},{'id':_0x56605b(0x254),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x246)),'prompt':_0x56605b(0x20c)},{'id':_0x56605b(0x1f0),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x1f6)),'prompt':_0x56605b(0x242)}]},{'groupId':_0x56605b(0x234),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x218)),'commands':[{'id':_0x56605b(0x25c),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x253)),'prompt':_0x56605b(0x1ff)},{'id':_0x56605b(0x205),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x221)),'prompt':_0x56605b(0x24e)},{'id':_0x56605b(0x1f3),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23d)),'prompt':_0x56605b(0x227)},{'id':_0x56605b(0x245),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x1f1)),'prompt':_0x56605b(0x235)}]},{'groupId':_0x56605b(0x224),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x24a)),'commands':[{'id':_0x56605b(0x233),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x215)),'prompt':_0x56605b(0x1f7)},{'id':_0x56605b(0x232),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x255)),'prompt':_0x56605b(0x20b)},{'id':_0x56605b(0x229),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x250)),'prompt':_0x56605b(0x201)},{'id':_0x56605b(0x214),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x223)),'prompt':_0x56605b(0x249)},{'id':_0x56605b(0x202),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x258)),'prompt':_0x56605b(0x257)},{'id':_0x56605b(0x204),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23b)),'prompt':_0x56605b(0x236)},{'id':_0x56605b(0x22d),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21b)),'prompt':_0x56605b(0x1f4)},{'id':_0x56605b(0x1f8),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23e)),'prompt':_0x56605b(0x22b)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25dc(){const _0x528fa5=['45912IbljDe','createPositionAfter','isContent','ck-fake-ai-selection','1902vvqzfP','config','getMarkersGroup','getLastPosition','getChildren','markerRange','213DJDJxF','DataTransfer','paste','length','14ynkrFp','from','join','14uGyDwL','lowest','insertContent','editing','createRange','get','getFirstRange','forEach','ck-fake-ai-selection_collapsed','deleteContent','AIAssistantEditing','text/html','getColumnIndexes','document','setData','1323696iEuKpt','pluginName','start','fire','pop','getChild','span','removeMarker','schema','_getAISelection','addClass','init','insertContentBelow','getRange','off','has','resultRange','parse','isAtEnd','_resetContentOfSelectedTableCells','hideFakeVisualSelection','map','getSelectedBlocks','43811ShoZIF','once','table','data','filter','ck-ai-assistant-ui_theme','setSelection','TableUtils','isCollapsed','href','_getTableRowCountFromContent','markerToHighlight','markerToElement','addMarker','getRanges','updateMarker','selection','element','canEditAt','editor','36mwLJFK','ai.assistant.useTheme','createUIElement','40mpHyQK','getRows','getSelectedTableCells','getLastMatchingPosition','findAncestor','last','editingDowncast','change','1507tPOoqg','1922769scRNxL','createPositionAt','for','first','50068sTbDPS','fromCharCode','contentInsertion','isPremiumPlugin','isOfficialPlugin','createSelection','afterInit','_pasteHTMLUsingClipboard','_getDefaultInsertBelowPosition','showFakeVisualSelection','insertRows','conversion','9035SceLqf','plugins','markers','_prepareTableInsertBelowPosition','getRowIndexes','_createEmptyTableRows','end','model','push','ai-ui','21469318ziOeEH'];_0x25dc=function(){return _0x528fa5;};return _0x25dc();}const _0x25b1a5=_0x251a;(function(_0x42fa1f,_0x292057){const _0x1ec8cb=_0x251a,_0x360014=_0x42fa1f();while(!![]){try{const _0x328c4c=-parseInt(_0x1ec8cb(0x236))/0x1*(parseInt(_0x1ec8cb(0x24a))/0x2)+parseInt(_0x1ec8cb(0x209))/0x3*(-parseInt(_0x1ec8cb(0x1e8))/0x4)+-parseInt(_0x1ec8cb(0x1f4))/0x5*(-parseInt(_0x1ec8cb(0x203))/0x6)+-parseInt(_0x1ec8cb(0x20d))/0x7*(parseInt(_0x1ec8cb(0x21f))/0x8)+parseInt(_0x1ec8cb(0x1e4))/0x9*(parseInt(_0x1ec8cb(0x24d))/0xa)+parseInt(_0x1ec8cb(0x1e3))/0xb*(-parseInt(_0x1ec8cb(0x1ff))/0xc)+-parseInt(_0x1ec8cb(0x1fe))/0xd*(-parseInt(_0x1ec8cb(0x210))/0xe);if(_0x328c4c===_0x292057)break;else _0x360014['push'](_0x360014['shift']());}catch(_0xaa400c){_0x360014['push'](_0x360014['shift']());}}}(_0x25dc,0x856ae));import{uid as _0x370572}from'ckeditor5/src/utils.js';import{Plugin as _0x514b44}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5665dd}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x39e609,ViewDataTransfer as _0x42b70c}from'ckeditor5/src/engine.js';const O=globalThis[_0x25b1a5(0x20a)],P=_0x25b1a5(0x1fd);function _0x251a(_0xd94e,_0x3f62b7){const _0x25dcc4=_0x25dc();return _0x251a=function(_0x251a93,_0x2305ad){_0x251a93=_0x251a93-0x1df;let _0x25e647=_0x25dcc4[_0x251a93];return _0x25e647;},_0x251a(_0xd94e,_0x3f62b7);}export class AIAssistantEditing extends _0x514b44{static get[_0x25b1a5(0x220)](){const _0x3c6981=_0x25b1a5;return _0x3c6981(0x21a);}static get[_0x25b1a5(0x1ec)](){return!0x0;}static get[_0x25b1a5(0x1eb)](){return!0x0;}[_0x25b1a5(0x22a)](){const _0x1539d9=_0x25b1a5,{editor:_0x5bdb1a}=this,_0x147002=[_0x1539d9(0x202)];_0x5bdb1a[_0x1539d9(0x204)][_0x1539d9(0x215)](_0x1539d9(0x24b))&&_0x147002[_0x1539d9(0x1fc)](_0x1539d9(0x23b)),_0x5bdb1a[_0x1539d9(0x1f3)][_0x1539d9(0x1e6)](_0x1539d9(0x1e1))[_0x1539d9(0x241)]({'model':P,'view':{'classes':_0x147002,'priority':0xc}}),_0x5bdb1a[_0x1539d9(0x1f3)][_0x1539d9(0x1e6)](_0x1539d9(0x1e1))[_0x1539d9(0x242)]({'model':P,'view':(_0x538ad2,{writer:_0x26c140})=>{const _0x532bc9=_0x1539d9;if(!_0x538ad2[_0x532bc9(0x208)][_0x532bc9(0x23e)])return null;const _0x40be67=_0x26c140[_0x532bc9(0x24c)](_0x532bc9(0x225));return _0x26c140[_0x532bc9(0x229)]([_0x532bc9(0x202),_0x532bc9(0x218)],_0x40be67),_0x40be67;}});}[_0x25b1a5(0x1ee)](){!async function(_0x48f4da){const _0x58c388=_0x46e21e([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x239deb=0x3dffc4e1,_0x58b19f=0x3df8b081^_0x239deb,_0x234d84=window[_0x46e21e([0x44,0x61,0x74,0x65])][_0x46e21e([0x6e,0x6f,0x77])](),_0x16c35c=_0x48f4da[_0x46e21e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x212d4a=new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b2abe=>{_0x16c35c[_0x46e21e([0x6f,0x6e,0x63,0x65])](_0x46e21e([0x72,0x65,0x61,0x64,0x79]),_0x5b2abe);}),_0x2ab22d={[_0x46e21e([0x6b,0x74,0x79])]:_0x46e21e([0x45,0x43]),[_0x46e21e([0x75,0x73,0x65])]:_0x46e21e([0x73,0x69,0x67]),[_0x46e21e([0x63,0x72,0x76])]:_0x46e21e([0x50,0x2d,0x32,0x35,0x36]),[_0x46e21e([0x78])]:_0x46e21e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x46e21e([0x79])]:_0x46e21e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x46e21e([0x61,0x6c,0x67])]:_0x46e21e([0x45,0x53,0x32,0x35,0x36])},_0x9e5a62=_0x16c35c[_0x46e21e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46e21e([0x67,0x65,0x74])](_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xbaf473(){let _0x74c465,_0xb065e3=null,_0x351746=null;try{if(_0x9e5a62==_0x46e21e([0x47,0x50,0x4c]))return _0x46e21e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x74c465=_0x118e63(),!_0x74c465)return _0x46e21e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x74c465[_0x46e21e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x351746=_0x229646(_0x74c465[_0x46e21e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x74c465[_0x46e21e([0x6a,0x74,0x69])])),await _0x4d8eaa()?_0x27221d()?_0xb160f7()?_0x46e21e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dd689()?(_0x74c465[_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e21e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb065e3=_0x1ff5d4(_0x46e21e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x74c465[_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e21e([0x74,0x72,0x69,0x61,0x6c])&&(_0xb065e3=_0x1ff5d4(_0x46e21e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x40e846()):_0x46e21e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46e21e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46e21e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46e21e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb160f7(){const _0x2b09af=[_0x46e21e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46e21e([0x74,0x72,0x69,0x61,0x6c])][_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74c465[_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x234d84/0x3e8:0xe10*_0x58b19f;return _0x74c465[_0x46e21e([0x65,0x78,0x70])]<_0x2b09af;}function _0x27221d(){const _0x24ea5d=_0x74c465[_0x46e21e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24ea5d&&(!!_0x24ea5d[_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e21e([0x2a]))||!!_0x24ea5d[_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e21e([0x41,0x49])));}function _0x5dd689(){const _0x23a01c=_0x251a,_0x4715c4=_0x74c465[_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4715c4||0x0==_0x4715c4[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe046fa}=new URL(window[_0x46e21e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x23a01c(0x23f)]);if(_0x4715c4[_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe046fa))return!0x0;const _0x29a179=_0xe046fa[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])](_0x46e21e([0x2e]));return _0x4715c4[_0x46e21e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x105c9c=>_0x105c9c[_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e21e([0x2a])))[_0x46e21e([0x6d,0x61,0x70])](_0x4f01d6=>_0x4f01d6[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])](_0x46e21e([0x2e])))[_0x46e21e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x695edd=>_0x695edd[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29a179[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e21e([0x6d,0x61,0x70])](_0x4173e5=>Array(_0x29a179[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4173e5[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e21e([0x66,0x69,0x6c,0x6c])](_0x4173e5[0x0]===_0x46e21e([0x2a])?_0x46e21e([0x2a]):'')[_0x46e21e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4173e5))[_0x46e21e([0x73,0x6f,0x6d,0x65])](_0x2ef665=>_0x29a179[_0x46e21e([0x65,0x76,0x65,0x72,0x79])]((_0x102ba5,_0x5305cc)=>_0x2ef665[_0x5305cc]===_0x102ba5||_0x2ef665[_0x5305cc]===_0x46e21e([0x2a])));}function _0x40e846(){return _0xb065e3&&_0x351746?new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42ffca,_0x5377f0)=>{_0xb065e3[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x42ffca,_0x5377f0),_0x351746[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x5eaf6d=>{_0x5eaf6d!=_0x46e21e([0x56,0x61,0x6c,0x69,0x64])&&_0x42ffca(_0x5eaf6d);},_0x5377f0);}):_0xb065e3||_0x351746||_0x46e21e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x229646(_0x4ca8ee,_0x256ad0){return new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x549497=>{if(_0x39f07f())return _0x549497(_0x46e21e([0x56,0x61,0x6c,0x69,0x64]));_0x2c8f00(),_0x16c35c[_0x46e21e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46e21e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x291931=!0x1;const _0x5c03ef=_0x370572();function _0x348879(_0x5a58a3){return!!_0x5a58a3&&(typeof _0x5a58a3===_0x46e21e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a58a3===_0x46e21e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a58a3[_0x46e21e([0x74,0x68,0x65,0x6e])]===_0x46e21e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a58a3[_0x46e21e([0x63,0x61,0x74,0x63,0x68])]===_0x46e21e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24aff1(_0x50726a){_0x5401d7(_0x50726a)[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x867802=>{if(!_0x867802||_0x867802[_0x46e21e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46e21e([0x6f,0x6b]))return _0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x225225(_0x275277(_0x5c03ef+_0x256ad0))!=_0x867802[_0x46e21e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46e21e([0x56,0x61,0x6c,0x69,0x64]);})[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x33ffc0=>(_0x111e9a(),_0x33ffc0),()=>{const _0xc7711f=_0x51faa1();return null==_0xc7711f?(_0x111e9a(),_0x46e21e([0x56,0x61,0x6c,0x69,0x64])):_0x46e21e(_0x234d84-_0xc7711f>(0x19f340e1^_0x239deb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x549497)[_0x46e21e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x549497(_0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ca44a=0x3dc92a61^_0x239deb;function _0x111e9a(){const _0xaa832f=_0x46e21e([0x6c,0x6c,0x63,0x74,0x2d])+_0x225225(_0x275277(_0x4ca8ee)),_0x109592=_0x202b58(_0x225225(window[_0x46e21e([0x4d,0x61,0x74,0x68])][_0x46e21e([0x63,0x65,0x69,0x6c])](_0x234d84/_0x2ca44a)));window[_0x46e21e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e21e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xaa832f,_0x109592);}function _0x51faa1(){const _0x4c8da3=_0x46e21e([0x6c,0x6c,0x63,0x74,0x2d])+_0x225225(_0x275277(_0x4ca8ee)),_0x28454f=window[_0x46e21e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e21e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c8da3);return _0x28454f?window[_0x46e21e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x202b58(_0x28454f),0x10)*_0x2ca44a:null;}function _0x5401d7(_0x294d1c){return new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1051eb,_0x15bf00)=>{_0x294d1c[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x1051eb,_0x15bf00),window[_0x46e21e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15bf00,0x3dfe1021^_0x239deb);});}}_0x16c35c[_0x46e21e([0x6f,0x6e])](_0x46e21e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x431ab3,_0x411929)=>{if(_0x411929[0x0]!=_0x4ca8ee)return _0x549497(_0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x411929[0x1]={..._0x411929[0x1],[_0x46e21e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c03ef};},{[_0x46e21e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e21e([0x68,0x69,0x67,0x68])}),_0x16c35c[_0x46e21e([0x6f,0x6e])](_0x46e21e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a3714=>{_0x348879(_0x3a3714[_0x46e21e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x291931=!0x0,_0x24aff1(_0x3a3714[_0x46e21e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46e21e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e21e([0x6c,0x6f,0x77])}),_0x212d4a[_0x46e21e([0x74,0x68,0x65,0x6e])](()=>{_0x291931||_0x549497(_0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39f07f(){return _0x16c35c[_0x46e21e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e21e([0x76,0x69,0x65,0x77])][_0x46e21e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46e21e([0x61,0x75,0x74,0x6f]);}function _0x2c8f00(){_0x16c35c[_0x46e21e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e21e([0x76,0x69,0x65,0x77])][_0x46e21e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46e21e([0x61,0x75,0x74,0x6f]);}}function _0x1ff5d4(_0x28e736){const _0x5b7035=[new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29b41c=>setTimeout(_0x29b41c,0x3df6fa2d^_0x239deb)),_0x212d4a[_0x46e21e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dcddc=>{let _0x55b39f=0x0;_0x16c35c[_0x46e21e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e21e([0x6f,0x6e])](_0x46e21e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x251d7d,_0x1f149c)=>{_0x1f149c[0x0][_0x46e21e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55b39f++,_0x55b39f==(0x3dffc519^_0x239deb)&&(_0x1dcddc(),_0x251d7d[_0x46e21e([0x6f,0x66,0x66])]());});}))];return window[_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46e21e([0x72,0x61,0x63,0x65])](_0x5b7035)[_0x46e21e([0x74,0x68,0x65,0x6e])](()=>_0x28e736);}async function _0x4a5f0b(){await _0x212d4a,_0x16c35c[_0x46e21e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e21e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3dad84,_0x16c35c[_0x46e21e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e21e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3dad84,_0x16c35c[_0x46e21e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46e21e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b4a73(_0x152297){const _0xce34b1=_0x205e18();_0x16c35c[_0xce34b1]=_0x46e21e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x152297,_0x152297!=_0x46e21e([0x56,0x61,0x6c,0x69,0x64])&&_0x4a5f0b();}function _0x205e18(){const _0x918ca5=window[_0x46e21e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46e21e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46e21e([0x6e,0x6f,0x77])]())[_0x46e21e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46e21e([0x2e]),'');let _0x285e40=_0x46e21e([0x6e]);for(let _0x543d03=0x0;_0x543d03<_0x918ca5[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x543d03+=0x2){let _0x477816=window[_0x46e21e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x918ca5[_0x46e21e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x543d03,_0x543d03+0x2));_0x477816>=_0x58c388[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x477816-=_0x58c388[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x285e40+=_0x58c388[_0x477816];}return _0x285e40;}function _0x118e63(){const _0x3c1671=_0x9e5a62[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])](_0x46e21e([0x2e]));if(0x3!=_0x3c1671[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15017a(_0x3c1671[0x1]);function _0x15017a(_0x42ce75){const _0x18ef25=_0x35d326(_0x42ce75);return _0x18ef25&&_0x32f327()?_0x18ef25:null;function _0x32f327(){const _0xc09666=_0x18ef25[_0x46e21e([0x6a,0x74,0x69])],_0x27f635=window[_0x46e21e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc09666[_0x46e21e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc09666[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4371e9={..._0x18ef25,[_0x46e21e([0x6a,0x74,0x69])]:_0xc09666[_0x46e21e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc09666[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4371e9[_0x46e21e([0x76,0x63])],_0x275277(_0x4371e9)==_0x27f635;}}}async function _0x4d8eaa(){let _0x3c14a5=!0x0;try{const _0x52c5d9=_0x9e5a62[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])](_0x46e21e([0x2e])),[_0x18f257,_0x34265d,_0x4b26d1]=_0x52c5d9;return _0x38f8ee(_0x18f257),await _0x4a359e(_0x18f257,_0x34265d,_0x4b26d1),_0x3c14a5;}catch{return!0x1;}function _0x38f8ee(_0x55a91e){const _0x33eb06=_0x35d326(_0x55a91e);_0x33eb06&&_0x33eb06[_0x46e21e([0x61,0x6c,0x67])]==_0x46e21e([0x45,0x53,0x32,0x35,0x36])||(_0x3c14a5=!0x1);}async function _0x4a359e(_0x40d695,_0x5d8fe3,_0x2c69cb){const _0x27f63a=window[_0x46e21e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46e21e([0x66,0x72,0x6f,0x6d])](_0x531ca6(_0x2c69cb),_0x4ed751=>_0x4ed751[_0x46e21e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b6ea5=new window[(_0x46e21e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46e21e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40d695+_0x46e21e([0x2e])+_0x5d8fe3),_0x247fe5=window[_0x46e21e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46e21e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x247fe5)return;const _0x1c4c90=await _0x247fe5[_0x46e21e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46e21e([0x6a,0x77,0x6b]),_0x2ab22d,{[_0x46e21e([0x6e,0x61,0x6d,0x65])]:_0x46e21e([0x45,0x43,0x44,0x53,0x41]),[_0x46e21e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46e21e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46e21e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x247fe5[_0x46e21e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46e21e([0x6e,0x61,0x6d,0x65])]:_0x46e21e([0x45,0x43,0x44,0x53,0x41]),[_0x46e21e([0x68,0x61,0x73,0x68])]:{[_0x46e21e([0x6e,0x61,0x6d,0x65])]:_0x46e21e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c4c90,_0x27f63a,_0x4b6ea5)||(_0x3c14a5=!0x1);}}function _0x35d326(_0x53989e){return _0x53989e[_0x46e21e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46e21e([0x65,0x79]))?JSON[_0x46e21e([0x70,0x61,0x72,0x73,0x65])](_0x531ca6(_0x53989e)):null;}function _0x531ca6(_0x379872){return window[_0x46e21e([0x61,0x74,0x6f,0x62])](_0x379872[_0x46e21e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46e21e([0x2b]))[_0x46e21e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46e21e([0x2f])));}function _0x275277(_0x271e52){let _0x1b09e9=0x1505;function _0x5089cd(_0x2af915){for(let _0x172a3b=0x0;_0x172a3b<_0x2af915[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172a3b++){const _0x39f491=_0x2af915[_0x46e21e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x172a3b);_0x1b09e9=(_0x1b09e9<<0x5)+_0x1b09e9+_0x39f491,_0x1b09e9&=_0x1b09e9;}}function _0x3a1e82(_0x48a2ac){Array[_0x46e21e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48a2ac)?_0x48a2ac[_0x46e21e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a1e82):_0x48a2ac&&typeof _0x48a2ac==_0x46e21e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46e21e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48a2ac)[_0x46e21e([0x73,0x6f,0x72,0x74])]()[_0x46e21e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3beaaf,_0xfe9313])=>{_0x5089cd(_0x3beaaf),_0x3a1e82(_0xfe9313);}):_0x5089cd(window[_0x46e21e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48a2ac));}return _0x3a1e82(_0x271e52),_0x1b09e9>>>0x0;}function _0x225225(_0x1311c5){return _0x1311c5[_0x46e21e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46e21e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46e21e([0x30]));}function _0x202b58(_0x2d9c35){return _0x2d9c35[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46e21e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46e21e([0x6a,0x6f,0x69,0x6e])]('');}function _0x3dad84(){}function _0x46e21e(_0x380d71){const _0x4ed0dc=_0x251a;return _0x380d71[_0x4ed0dc(0x234)](_0x1d44cf=>String[_0x4ed0dc(0x1e9)](_0x1d44cf))[_0x4ed0dc(0x20f)]('');}_0x3b4a73(await _0xbaf473());}(this);}[_0x25b1a5(0x1f1)](){const _0x238865=_0x25b1a5,_0x51a249=this[_0x238865(0x249)][_0x238865(0x1fb)];_0x51a249[_0x238865(0x1e2)](_0x4381a6=>{const _0x4c5527=_0x238865,_0x2df4cf=_0x51a249[_0x4c5527(0x21d)][_0x4c5527(0x246)][_0x4c5527(0x244)]();let _0x29af94=0x0;for(const _0x56b74e of _0x2df4cf){const _0x4e7704=P+':'+_0x29af94;if(_0x51a249[_0x4c5527(0x1f6)][_0x4c5527(0x22e)](_0x4e7704))_0x4381a6[_0x4c5527(0x245)](_0x4e7704,{'range':_0x56b74e});else{if(_0x56b74e[_0x4c5527(0x221)][_0x4c5527(0x231)]){const _0x1f2358=_0x56b74e[_0x4c5527(0x221)][_0x4c5527(0x250)](({item:_0x255c4d})=>!_0x51a249[_0x4c5527(0x227)][_0x4c5527(0x201)](_0x255c4d),{'boundaries':_0x56b74e});_0x4381a6[_0x4c5527(0x243)](_0x4e7704,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4381a6[_0x4c5527(0x214)](_0x1f2358,_0x56b74e[_0x4c5527(0x1fa)])});}else _0x4381a6[_0x4c5527(0x243)](_0x4e7704,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x56b74e});}_0x29af94++;}});}[_0x25b1a5(0x233)](){const _0xf3f46c=_0x25b1a5,_0x4cfab2=this[_0xf3f46c(0x249)][_0xf3f46c(0x1fb)],_0x1fbd4e=Array[_0xf3f46c(0x20e)](this[_0xf3f46c(0x249)][_0xf3f46c(0x1fb)][_0xf3f46c(0x1f6)][_0xf3f46c(0x205)](P));_0x1fbd4e[_0xf3f46c(0x20c)]&&_0x4cfab2[_0xf3f46c(0x1e2)](_0x57fcd2=>{const _0x133e7f=_0xf3f46c;_0x1fbd4e[_0x133e7f(0x217)](_0x5ea9fd=>{const _0x440f6f=_0x133e7f;_0x57fcd2[_0x440f6f(0x226)](_0x5ea9fd);});});}[_0x25b1a5(0x212)](_0x45f0d2,_0x876876){const _0x34afa7=_0x25b1a5,_0x1d1a8e=this[_0x34afa7(0x228)](),_0x1935ab=_0x876876||_0x1d1a8e[_0x34afa7(0x216)]();this[_0x34afa7(0x249)][_0x34afa7(0x1fb)][_0x34afa7(0x248)](_0x1935ab)&&this[_0x34afa7(0x249)][_0x34afa7(0x1fb)][_0x34afa7(0x1e2)](_0x5f34cc=>{const _0x54720a=_0x34afa7;this[_0x54720a(0x233)](),_0x876876||this[_0x54720a(0x232)](_0x5f34cc,_0x1d1a8e),this[_0x54720a(0x1ef)]({'insertAt':_0x1935ab,'writer':_0x5f34cc,'html':_0x45f0d2});});}[_0x25b1a5(0x22b)](_0x45480c){const _0x305651=_0x25b1a5,{model:_0x154104}=this[_0x305651(0x249)],_0x1513f2=this[_0x305651(0x228)]();_0x154104[_0x305651(0x1e2)](()=>{const _0x1209f7=_0x305651,_0x569d80=this[_0x1209f7(0x1f7)](_0x45480c,_0x1513f2)||this[_0x1209f7(0x1f0)](_0x1513f2);this[_0x1209f7(0x212)](_0x45480c,_0x569d80);});}[_0x25b1a5(0x228)](){const _0x273873=_0x25b1a5,_0x6c2acd=this[_0x273873(0x249)][_0x273873(0x1fb)],_0x2f649a=Array[_0x273873(0x20e)](_0x6c2acd[_0x273873(0x1f6)][_0x273873(0x205)](P))[_0x273873(0x234)](_0x1a89ba=>_0x1a89ba[_0x273873(0x22c)]());return _0x6c2acd[_0x273873(0x1ed)](_0x2f649a);}[_0x25b1a5(0x1ef)]({writer:_0x214040,html:_0x5a0372,insertAt:_0x558c9f}){const _0x497c43=_0x25b1a5,{view:_0x27be12}=this[_0x497c43(0x249)][_0x497c43(0x213)],_0x3e19d9=this[_0x497c43(0x249)][_0x497c43(0x1f5)][_0x497c43(0x215)](_0x5665dd),_0x3c2fc7=new O();_0x3c2fc7[_0x497c43(0x21e)](_0x497c43(0x21b),_0x5a0372);const _0x26416e=new ClipboardEvent(_0x497c43(0x20b),{'clipboardData':_0x3c2fc7}),_0x551a78=new _0x39e609(_0x27be12,_0x26416e,{'dataTransfer':new _0x42b70c(_0x3c2fc7)});_0x214040[_0x497c43(0x23c)](_0x558c9f);const _0x3660aa=(_0xc36350,_0x16e34a)=>{const _0x1c30d0=_0x497c43;_0x16e34a[_0x1c30d0(0x22f)]&&_0x214040[_0x1c30d0(0x23c)](_0x16e34a[_0x1c30d0(0x22f)]);};_0x3e19d9[_0x497c43(0x237)](_0x497c43(0x1ea),_0x3660aa,{'priority':_0x497c43(0x211)}),_0x27be12[_0x497c43(0x21d)][_0x497c43(0x222)](_0x497c43(0x20b),_0x551a78),_0x3e19d9[_0x497c43(0x22d)](_0x497c43(0x1ea),_0x3660aa);}[_0x25b1a5(0x1f0)](_0x54145f){const _0x24e77b=_0x25b1a5,{model:_0x5dbcdd}=this[_0x24e77b(0x249)],_0x200392=Array[_0x24e77b(0x20e)](_0x54145f[_0x24e77b(0x235)]());return _0x200392[_0x24e77b(0x20c)]?_0x5dbcdd[_0x24e77b(0x200)](_0x200392[_0x24e77b(0x223)]()):_0x54145f[_0x24e77b(0x206)]();}[_0x25b1a5(0x1f7)](_0x334a45,_0x224a7f){const _0x2c0963=_0x25b1a5,{model:_0x4ea91a,plugins:_0x4844ed}=this[_0x2c0963(0x249)];if(_0x4844ed[_0x2c0963(0x22e)](_0x2c0963(0x23d))){const _0x114770=_0x4844ed[_0x2c0963(0x215)](_0x2c0963(0x23d))[_0x2c0963(0x24f)](_0x224a7f);if(_0x114770[_0x2c0963(0x20c)]){const _0x26248a=this[_0x2c0963(0x240)](_0x334a45),_0x12c56f=this[_0x2c0963(0x1f9)](_0x114770,_0x26248a);return _0x4ea91a[_0x2c0963(0x1e5)](_0x12c56f,0x0);}}return null;}[_0x25b1a5(0x240)](_0x4656a0){const _0x43ea61=_0x25b1a5,_0x137568=this[_0x43ea61(0x249)][_0x43ea61(0x1f5)][_0x43ea61(0x215)](_0x43ea61(0x23d)),_0x4e62dc=this[_0x43ea61(0x249)][_0x43ea61(0x239)][_0x43ea61(0x230)](_0x4656a0),_0x44e872=Array[_0x43ea61(0x20e)](_0x4e62dc[_0x43ea61(0x207)]())[_0x43ea61(0x23a)](_0x45a62d=>_0x45a62d['is'](_0x43ea61(0x247),_0x43ea61(0x238)));let _0x2edb94=0x0;return _0x44e872[_0x43ea61(0x217)](_0x45556a=>{const _0x245ac3=_0x43ea61;_0x2edb94+=_0x137568[_0x245ac3(0x24e)](_0x45556a);}),_0x2edb94;}[_0x25b1a5(0x1f9)](_0x432195,_0x392705){const _0x29c025=_0x25b1a5,_0x553be6=this[_0x29c025(0x249)][_0x29c025(0x1f5)][_0x29c025(0x215)](_0x29c025(0x23d)),_0x3742ab=_0x553be6[_0x29c025(0x1f8)](_0x432195),_0x49ec1d=_0x553be6[_0x29c025(0x21c)](_0x432195),_0x252c07=_0x3742ab[_0x29c025(0x1e0)]+0x1,_0x90cfc=_0x49ec1d[_0x29c025(0x1e7)],_0x2ff253=_0x432195[0x0][_0x29c025(0x1df)](_0x29c025(0x238));for(let _0x2226b9=0x0;_0x2226b9<_0x392705;_0x2226b9++)_0x553be6[_0x29c025(0x1f2)](_0x2ff253,{'at':_0x252c07});return _0x2ff253[_0x29c025(0x224)](_0x252c07)[_0x29c025(0x224)](_0x90cfc);}[_0x25b1a5(0x232)](_0x3baf62,_0xc405be){const _0xea0b00=_0x25b1a5,{plugins:_0xf0838d}=this[_0xea0b00(0x249)],{model:_0x42f332}=_0x3baf62;if(!_0xf0838d[_0xea0b00(0x22e)](_0xea0b00(0x23d)))return;_0xf0838d[_0xea0b00(0x215)](_0xea0b00(0x23d))[_0xea0b00(0x24f)](_0xc405be)[_0xea0b00(0x20c)]&&_0x42f332[_0xea0b00(0x219)](_0xc405be);}}
23
+ const _0xaacf7a=_0x1790;(function(_0x5cecb6,_0x270c31){const _0x239eec=_0x1790,_0x535215=_0x5cecb6();while(!![]){try{const _0x21f457=parseInt(_0x239eec(0x70))/0x1+parseInt(_0x239eec(0xa4))/0x2+parseInt(_0x239eec(0x94))/0x3+parseInt(_0x239eec(0xd6))/0x4*(parseInt(_0x239eec(0x92))/0x5)+parseInt(_0x239eec(0x8b))/0x6+-parseInt(_0x239eec(0x83))/0x7+-parseInt(_0x239eec(0x96))/0x8*(parseInt(_0x239eec(0xd4))/0x9);if(_0x21f457===_0x270c31)break;else _0x535215['push'](_0x535215['shift']());}catch(_0x495cdc){_0x535215['push'](_0x535215['shift']());}}}(_0x12be,0x6d6d8));import{uid as _0x489ab3}from'ckeditor5/src/utils.js';import{Plugin as _0x3350ff}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x12f2dc}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1695fa,ViewDataTransfer as _0x2ab642}from'ckeditor5/src/engine.js';function _0x12be(){const _0x3fcd0f=['last','_getAISelection','selection','afterInit','filter','createPositionAt','change','schema','removeMarker','findAncestor','editing','createUIElement','_getDefaultInsertBelowPosition','for','text/html','pluginName','model','ck-ai-assistant-ui_theme','element','ck-fake-ai-selection','getRange','getRows','getSelectedTableCells','createRange','updateMarker','_pasteHTMLUsingClipboard','table','AIAssistantEditing','showFakeVisualSelection','2007cSPZoA','getChildren','4eoBWEQ','has','map','plugins','parse','editor','forEach','156832aXdsaZ','markerToHighlight','init','getChild','hideFakeVisualSelection','DataTransfer','_prepareTableInsertBelowPosition','getLastMatchingPosition','ck-fake-ai-selection_collapsed','addMarker','get','getMarkersGroup','off','addClass','contentInsertion','start','_getTableRowCountFromContent','pop','span','1260525cqhpbm','createSelection','data','insertRows','ai-ui','insertContent','resultRange','canEditAt','1957284kEiMjh','TableUtils','createPositionAfter','deleteContent','lowest','_createEmptyTableRows','isPremiumPlugin','3919135CyOdbv','conversion','1440267RawnoZ','isAtEnd','64496RnUkaN','first','markers','fromCharCode','markerRange','ai.assistant.useTheme','getColumnIndexes','isOfficialPlugin','getFirstRange','end','once','config','href','join','1358310wGoRoW','markerToElement','document','length','getRanges','getRowIndexes','isContent','editingDowncast','_resetContentOfSelectedTableCells','from','paste','push','insertContentBelow','isCollapsed','getSelectedBlocks','setSelection','getLastPosition','fire','setData'];_0x12be=function(){return _0x3fcd0f;};return _0x12be();}const l=globalThis[_0xaacf7a(0x75)],w=_0xaacf7a(0x87);function _0x1790(_0x150803,_0x21bd0b){const _0x12be15=_0x12be();return _0x1790=function(_0x179066,_0x31316a){_0x179066=_0x179066-0x6f;let _0x42f021=_0x12be15[_0x179066];return _0x42f021;},_0x1790(_0x150803,_0x21bd0b);}export class AIAssistantEditing extends _0x3350ff{static get[_0xaacf7a(0xc6)](){const _0x5545ee=_0xaacf7a;return _0x5545ee(0xd2);}static get[_0xaacf7a(0x9d)](){return!0x0;}static get[_0xaacf7a(0x91)](){return!0x0;}[_0xaacf7a(0x72)](){const _0x56b8aa=_0xaacf7a,{editor:_0x2ba112}=this,_0xbca28a=[_0x56b8aa(0xca)];_0x2ba112[_0x56b8aa(0xa1)][_0x56b8aa(0x7a)](_0x56b8aa(0x9b))&&_0xbca28a[_0x56b8aa(0xaf)](_0x56b8aa(0xc8)),_0x2ba112[_0x56b8aa(0x93)][_0x56b8aa(0xc4)](_0x56b8aa(0xab))[_0x56b8aa(0x71)]({'model':w,'view':{'classes':_0xbca28a,'priority':0xc}}),_0x2ba112[_0x56b8aa(0x93)][_0x56b8aa(0xc4)](_0x56b8aa(0xab))[_0x56b8aa(0xa5)]({'model':w,'view':(_0x632437,{writer:_0x1f0109})=>{const _0x49ecdb=_0x56b8aa;if(!_0x632437[_0x49ecdb(0x9a)][_0x49ecdb(0xb1)])return null;const _0x370ca2=_0x1f0109[_0x49ecdb(0xc2)](_0x49ecdb(0x82));return _0x1f0109[_0x49ecdb(0x7d)]([_0x49ecdb(0xca),_0x49ecdb(0x78)],_0x370ca2),_0x370ca2;}});}[_0xaacf7a(0xba)](){!async function(_0x4a7da6){const _0x5abb61=_0x3467bb([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x396303=0x3dffc4e1,_0x22777b=0x3df8b099^_0x396303,_0x439d4a=window[_0x3467bb([0x44,0x61,0x74,0x65])][_0x3467bb([0x6e,0x6f,0x77])](),_0x1af4e3=_0x4a7da6[_0x3467bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fe656=new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0e56=>{_0x1af4e3[_0x3467bb([0x6f,0x6e,0x63,0x65])](_0x3467bb([0x72,0x65,0x61,0x64,0x79]),_0x2f0e56);}),_0x2cff10={[_0x3467bb([0x6b,0x74,0x79])]:_0x3467bb([0x45,0x43]),[_0x3467bb([0x75,0x73,0x65])]:_0x3467bb([0x73,0x69,0x67]),[_0x3467bb([0x63,0x72,0x76])]:_0x3467bb([0x50,0x2d,0x32,0x35,0x36]),[_0x3467bb([0x78])]:_0x3467bb([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3467bb([0x79])]:_0x3467bb([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3467bb([0x61,0x6c,0x67])]:_0x3467bb([0x45,0x53,0x32,0x35,0x36])},_0x243b54=_0x1af4e3[_0x3467bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3467bb([0x67,0x65,0x74])](_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x267b55(){let _0x326448,_0x153b92=null,_0x517681=null;try{if(_0x243b54==_0x3467bb([0x47,0x50,0x4c]))return _0x3467bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x326448=_0x20144f(),!_0x326448)return _0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x326448[_0x3467bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x517681=_0x28b2d6(_0x326448[_0x3467bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x326448[_0x3467bb([0x6a,0x74,0x69])])),await _0x336989()?_0x4d13f1()?_0x5ec6b7()?_0x3467bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x360b1a()?(_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3467bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x153b92=_0xe30778(_0x3467bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3467bb([0x74,0x72,0x69,0x61,0x6c])&&(_0x153b92=_0xe30778(_0x3467bb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x208e14()):_0x3467bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3467bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ec6b7(){const _0x1a20d9=[_0x3467bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3467bb([0x74,0x72,0x69,0x61,0x6c])][_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x439d4a/0x3e8:0xe10*_0x22777b;return _0x326448[_0x3467bb([0x65,0x78,0x70])]<_0x1a20d9;}function _0x4d13f1(){const _0x52e346=_0x326448[_0x3467bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52e346&&(!!_0x52e346[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x2a]))||!!_0x52e346[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x41,0x49])));}function _0x360b1a(){const _0x5263b0=_0x1790,_0x7626ab=_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7626ab||0x0==_0x7626ab[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4742f1}=new URL(window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5263b0(0xa2)]);if(_0x7626ab[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4742f1))return!0x0;const _0x3f061d=_0x4742f1[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e]));return _0x7626ab[_0x3467bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x453a09=>_0x453a09[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x2a])))[_0x3467bb([0x6d,0x61,0x70])](_0x3ac8ae=>_0x3ac8ae[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e])))[_0x3467bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ec437=>_0x1ec437[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f061d[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3467bb([0x6d,0x61,0x70])](_0x15d025=>Array(_0x3f061d[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15d025[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3467bb([0x66,0x69,0x6c,0x6c])](_0x15d025[0x0]===_0x3467bb([0x2a])?_0x3467bb([0x2a]):'')[_0x3467bb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15d025))[_0x3467bb([0x73,0x6f,0x6d,0x65])](_0x4e6ece=>_0x3f061d[_0x3467bb([0x65,0x76,0x65,0x72,0x79])]((_0xbb8b53,_0x3cb14f)=>_0x4e6ece[_0x3cb14f]===_0xbb8b53||_0x4e6ece[_0x3cb14f]===_0x3467bb([0x2a])));}function _0x208e14(){return _0x153b92&&_0x517681?new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14ee5c,_0x6c6934)=>{_0x153b92[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x14ee5c,_0x6c6934),_0x517681[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x41818a=>{_0x41818a!=_0x3467bb([0x56,0x61,0x6c,0x69,0x64])&&_0x14ee5c(_0x41818a);},_0x6c6934);}):_0x153b92||_0x517681||_0x3467bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28b2d6(_0x5a2936,_0x27cad9){return new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49960a=>{if(_0x42661e())return _0x49960a(_0x3467bb([0x56,0x61,0x6c,0x69,0x64]));_0x3c4419(),_0x1af4e3[_0x3467bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31d139=!0x1;const _0x5d9c5b=_0x489ab3();function _0x43a2e0(_0x3d76ec){return!!_0x3d76ec&&(typeof _0x3d76ec===_0x3467bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d76ec===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d76ec[_0x3467bb([0x74,0x68,0x65,0x6e])]===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d76ec[_0x3467bb([0x63,0x61,0x74,0x63,0x68])]===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f6e7a(_0x210768){_0x13f3d6(_0x210768)[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x2e50c0=>{if(!_0x2e50c0||_0x2e50c0[_0x3467bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3467bb([0x6f,0x6b]))return _0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x201d54(_0x45d25f(_0x5d9c5b+_0x27cad9))!=_0x2e50c0[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3467bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x397f76=>(_0x56318a(),_0x397f76),()=>{const _0x5d7642=_0x3c1616();return null==_0x5d7642?(_0x56318a(),_0x3467bb([0x56,0x61,0x6c,0x69,0x64])):_0x3467bb(_0x439d4a-_0x5d7642>(0x19f340e1^_0x396303)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x49960a)[_0x3467bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56cd55=0x3dc92a61^_0x396303;function _0x56318a(){const _0x9798c6=_0x3467bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x201d54(_0x45d25f(_0x5a2936)),_0x3f0063=_0x4481d4(_0x201d54(window[_0x3467bb([0x4d,0x61,0x74,0x68])][_0x3467bb([0x63,0x65,0x69,0x6c])](_0x439d4a/_0x56cd55)));window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3467bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9798c6,_0x3f0063);}function _0x3c1616(){const _0x76bc72=_0x3467bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x201d54(_0x45d25f(_0x5a2936)),_0x48ca83=window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3467bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x76bc72);return _0x48ca83?window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4481d4(_0x48ca83),0x10)*_0x56cd55:null;}function _0x13f3d6(_0x1b7fc7){return new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a5794,_0x131cc6)=>{_0x1b7fc7[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x4a5794,_0x131cc6),window[_0x3467bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x131cc6,0x3dfe1021^_0x396303);});}}_0x1af4e3[_0x3467bb([0x6f,0x6e])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x419dc4,_0x1f14f6)=>{if(_0x1f14f6[0x0]!=_0x5a2936)return _0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f14f6[0x1]={..._0x1f14f6[0x1],[_0x3467bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d9c5b};},{[_0x3467bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3467bb([0x68,0x69,0x67,0x68])}),_0x1af4e3[_0x3467bb([0x6f,0x6e])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19456b=>{_0x43a2e0(_0x19456b[_0x3467bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31d139=!0x0,_0x1f6e7a(_0x19456b[_0x3467bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3467bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3467bb([0x6c,0x6f,0x77])}),_0x3fe656[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>{_0x31d139||_0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42661e(){return _0x1af4e3[_0x3467bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3467bb([0x76,0x69,0x65,0x77])][_0x3467bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3467bb([0x61,0x75,0x74,0x6f]);}function _0x3c4419(){_0x1af4e3[_0x3467bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3467bb([0x76,0x69,0x65,0x77])][_0x3467bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3467bb([0x61,0x75,0x74,0x6f]);}}function _0xe30778(_0x2e4c7a){const _0x106e81=[new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3686c6=>setTimeout(_0x3686c6,0x3df6fa2d^_0x396303)),_0x3fe656[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269e05=>{let _0xc472=0x0;_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x6f,0x6e])](_0x3467bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x197e19,_0x263810)=>{_0x263810[0x0][_0x3467bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc472++,_0xc472==(0x3dffc519^_0x396303)&&(_0x269e05(),_0x197e19[_0x3467bb([0x6f,0x66,0x66])]());});}))];return window[_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3467bb([0x72,0x61,0x63,0x65])](_0x106e81)[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>_0x2e4c7a);}async function _0x27a1d1(){await _0x3fe656,_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2261bb,_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2261bb,_0x1af4e3[_0x3467bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3dc586(_0x384a0b){const _0x1fde40=_0x5e1265();_0x1af4e3[_0x1fde40]=_0x3467bb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x384a0b,_0x384a0b!=_0x3467bb([0x56,0x61,0x6c,0x69,0x64])&&_0x27a1d1();}function _0x5e1265(){const _0x3fe8c6=window[_0x3467bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3467bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3467bb([0x6e,0x6f,0x77])]())[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3467bb([0x2e]),'');let _0x29e15f=_0x3467bb([0x6e]);for(let _0x97b32e=0x0;_0x97b32e<_0x3fe8c6[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x97b32e+=0x2){let _0x22ef22=window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe8c6[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x97b32e,_0x97b32e+0x2));_0x22ef22>=_0x5abb61[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22ef22-=_0x5abb61[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29e15f+=_0x5abb61[_0x22ef22];}return _0x29e15f;}function _0x20144f(){const _0x89816a=_0x243b54[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e]));if(0x3!=_0x89816a[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29ec70(_0x89816a[0x1]);function _0x29ec70(_0x133a13){const _0x1e9dce=_0x18532f(_0x133a13);return _0x1e9dce&&_0x1f08ab()?_0x1e9dce:null;function _0x1f08ab(){const _0x5dee04=_0x1e9dce[_0x3467bb([0x6a,0x74,0x69])],_0x70c92=window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dee04[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dee04[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30479d={..._0x1e9dce,[_0x3467bb([0x6a,0x74,0x69])]:_0x5dee04[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dee04[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30479d[_0x3467bb([0x76,0x63])],_0x45d25f(_0x30479d)==_0x70c92;}}}async function _0x336989(){let _0x1b7da0=!0x0;try{const _0x1a9e1e=_0x243b54[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e])),[_0x3dab70,_0x4c047f,_0x4127f0]=_0x1a9e1e;return _0x450f5c(_0x3dab70),await _0x112c7d(_0x3dab70,_0x4c047f,_0x4127f0),_0x1b7da0;}catch{return!0x1;}function _0x450f5c(_0x5aa569){const _0x435ea8=_0x18532f(_0x5aa569);_0x435ea8&&_0x435ea8[_0x3467bb([0x61,0x6c,0x67])]==_0x3467bb([0x45,0x53,0x32,0x35,0x36])||(_0x1b7da0=!0x1);}async function _0x112c7d(_0x23a26c,_0x4d5251,_0x7b2db2){const _0x1b8138=window[_0x3467bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3467bb([0x66,0x72,0x6f,0x6d])](_0x541964(_0x7b2db2),_0x5b4f16=>_0x5b4f16[_0x3467bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bb750=new window[(_0x3467bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3467bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23a26c+_0x3467bb([0x2e])+_0x4d5251),_0x4bf92b=window[_0x3467bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3467bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4bf92b)return;const _0x4b31c1=await _0x4bf92b[_0x3467bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3467bb([0x6a,0x77,0x6b]),_0x2cff10,{[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x45,0x43,0x44,0x53,0x41]),[_0x3467bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3467bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4bf92b[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x45,0x43,0x44,0x53,0x41]),[_0x3467bb([0x68,0x61,0x73,0x68])]:{[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b31c1,_0x1b8138,_0x4bb750)||(_0x1b7da0=!0x1);}}function _0x18532f(_0x32c573){return _0x32c573[_0x3467bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3467bb([0x65,0x79]))?JSON[_0x3467bb([0x70,0x61,0x72,0x73,0x65])](_0x541964(_0x32c573)):null;}function _0x541964(_0x7ebcf8){return window[_0x3467bb([0x61,0x74,0x6f,0x62])](_0x7ebcf8[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3467bb([0x2b]))[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3467bb([0x2f])));}function _0x45d25f(_0x28b8d0){let _0x139ca6=0x1505;function _0xc7edf8(_0x588cde){for(let _0x53583c=0x0;_0x53583c<_0x588cde[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53583c++){const _0x3c49b0=_0x588cde[_0x3467bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53583c);_0x139ca6=(_0x139ca6<<0x5)+_0x139ca6+_0x3c49b0,_0x139ca6&=_0x139ca6;}}function _0x28b4b9(_0x109628){Array[_0x3467bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x109628)?_0x109628[_0x3467bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28b4b9):_0x109628&&typeof _0x109628==_0x3467bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3467bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x109628)[_0x3467bb([0x73,0x6f,0x72,0x74])]()[_0x3467bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e9347,_0x291397])=>{_0xc7edf8(_0x5e9347),_0x28b4b9(_0x291397);}):_0xc7edf8(window[_0x3467bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x109628));}return _0x28b4b9(_0x28b8d0),_0x139ca6>>>0x0;}function _0x201d54(_0x2fc6b9){return _0x2fc6b9[_0x3467bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3467bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3467bb([0x30]));}function _0x4481d4(_0x1960e5){return _0x1960e5[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3467bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3467bb([0x6a,0x6f,0x69,0x6e])]('');}function _0x2261bb(){}function _0x3467bb(_0x5ed3cd){const _0x3e84b2=_0x1790;return _0x5ed3cd[_0x3e84b2(0xd8)](_0x5d6313=>String[_0x3e84b2(0x99)](_0x5d6313))[_0x3e84b2(0xa3)]('');}_0x3dc586(await _0x267b55());}(this);}[_0xaacf7a(0xd3)](){const _0x4aedda=_0xaacf7a,_0x4ddf51=this[_0x4aedda(0xdb)][_0x4aedda(0xc7)];_0x4ddf51[_0x4aedda(0xbd)](_0x263824=>{const _0x192635=_0x4aedda,_0x2e5b9f=_0x4ddf51[_0x192635(0xa6)][_0x192635(0xb9)][_0x192635(0xa8)]();let _0x55d6a3=0x0;for(const _0x32c6ac of _0x2e5b9f){const _0x25d4e5=w+':'+_0x55d6a3;if(_0x4ddf51[_0x192635(0x98)][_0x192635(0xd7)](_0x25d4e5))_0x263824[_0x192635(0xcf)](_0x25d4e5,{'range':_0x32c6ac});else{if(_0x32c6ac[_0x192635(0x7f)][_0x192635(0x95)]){const _0x4db622=_0x32c6ac[_0x192635(0x7f)][_0x192635(0x77)](({item:_0x5534a2})=>!_0x4ddf51[_0x192635(0xbe)][_0x192635(0xaa)](_0x5534a2),{'boundaries':_0x32c6ac});_0x263824[_0x192635(0x79)](_0x25d4e5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x263824[_0x192635(0xce)](_0x4db622,_0x32c6ac[_0x192635(0x9f)])});}else _0x263824[_0x192635(0x79)](_0x25d4e5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x32c6ac});}_0x55d6a3++;}});}[_0xaacf7a(0x74)](){const _0x1eb923=_0xaacf7a,_0xe36d89=this[_0x1eb923(0xdb)][_0x1eb923(0xc7)],_0x4c5fd4=Array[_0x1eb923(0xad)](this[_0x1eb923(0xdb)][_0x1eb923(0xc7)][_0x1eb923(0x98)][_0x1eb923(0x7b)](w));_0x4c5fd4[_0x1eb923(0xa7)]&&_0xe36d89[_0x1eb923(0xbd)](_0x17e29e=>{const _0x28d837=_0x1eb923;_0x4c5fd4[_0x28d837(0x6f)](_0x230ae3=>{const _0x20ef78=_0x28d837;_0x17e29e[_0x20ef78(0xbf)](_0x230ae3);});});}[_0xaacf7a(0x88)](_0xdc72a2,_0x30a858){const _0x742f25=_0xaacf7a,_0x1ffa35=this[_0x742f25(0xb8)](),_0x5320bd=_0x30a858||_0x1ffa35[_0x742f25(0x9e)]();this[_0x742f25(0xdb)][_0x742f25(0xc7)][_0x742f25(0x8a)](_0x5320bd)&&this[_0x742f25(0xdb)][_0x742f25(0xc7)][_0x742f25(0xbd)](_0x45ed47=>{const _0x57e443=_0x742f25;this[_0x57e443(0x74)](),_0x30a858||this[_0x57e443(0xac)](_0x45ed47,_0x1ffa35),this[_0x57e443(0xd0)]({'insertAt':_0x5320bd,'writer':_0x45ed47,'html':_0xdc72a2});});}[_0xaacf7a(0xb0)](_0x1848a2){const _0x16ebd1=_0xaacf7a,{model:_0x550449}=this[_0x16ebd1(0xdb)],_0x3a8f39=this[_0x16ebd1(0xb8)]();_0x550449[_0x16ebd1(0xbd)](()=>{const _0x482b94=_0x16ebd1,_0x62d397=this[_0x482b94(0x76)](_0x1848a2,_0x3a8f39)||this[_0x482b94(0xc3)](_0x3a8f39);this[_0x482b94(0x88)](_0x1848a2,_0x62d397);});}[_0xaacf7a(0xb8)](){const _0x9b6e8e=_0xaacf7a,_0x135925=this[_0x9b6e8e(0xdb)][_0x9b6e8e(0xc7)],_0x42b2b9=Array[_0x9b6e8e(0xad)](_0x135925[_0x9b6e8e(0x98)][_0x9b6e8e(0x7b)](w))[_0x9b6e8e(0xd8)](_0xb41fdb=>_0xb41fdb[_0x9b6e8e(0xcb)]());return _0x135925[_0x9b6e8e(0x84)](_0x42b2b9);}[_0xaacf7a(0xd0)]({writer:_0x51b329,html:_0x2805d8,insertAt:_0x490d0f}){const _0x3b9c61=_0xaacf7a,{view:_0x363dcd}=this[_0x3b9c61(0xdb)][_0x3b9c61(0xc1)],_0x501cf6=this[_0x3b9c61(0xdb)][_0x3b9c61(0xd9)][_0x3b9c61(0x7a)](_0x12f2dc),_0x3f243b=new l();_0x3f243b[_0x3b9c61(0xb6)](_0x3b9c61(0xc5),_0x2805d8);const _0x45f41a=new ClipboardEvent(_0x3b9c61(0xae),{'clipboardData':_0x3f243b}),_0x43eb06=new _0x1695fa(_0x363dcd,_0x45f41a,{'dataTransfer':new _0x2ab642(_0x3f243b)});_0x51b329[_0x3b9c61(0xb3)](_0x490d0f);const _0x118eef=(_0x14b756,_0x33303b)=>{const _0x5dd117=_0x3b9c61;_0x33303b[_0x5dd117(0x89)]&&_0x51b329[_0x5dd117(0xb3)](_0x33303b[_0x5dd117(0x89)]);};_0x501cf6[_0x3b9c61(0xa0)](_0x3b9c61(0x7e),_0x118eef,{'priority':_0x3b9c61(0x8f)}),_0x363dcd[_0x3b9c61(0xa6)][_0x3b9c61(0xb5)](_0x3b9c61(0xae),_0x43eb06),_0x501cf6[_0x3b9c61(0x7c)](_0x3b9c61(0x7e),_0x118eef);}[_0xaacf7a(0xc3)](_0x3115a5){const _0x518c0d=_0xaacf7a,{model:_0x9aed07}=this[_0x518c0d(0xdb)],_0x312665=Array[_0x518c0d(0xad)](_0x3115a5[_0x518c0d(0xb2)]());return _0x312665[_0x518c0d(0xa7)]?_0x9aed07[_0x518c0d(0x8d)](_0x312665[_0x518c0d(0x81)]()):_0x3115a5[_0x518c0d(0xb4)]();}[_0xaacf7a(0x76)](_0x3a667f,_0x3bfb11){const _0x11d70c=_0xaacf7a,{model:_0x2515ad,plugins:_0x2b0e82}=this[_0x11d70c(0xdb)];if(_0x2b0e82[_0x11d70c(0xd7)](_0x11d70c(0x8c))){const _0x306c22=_0x2b0e82[_0x11d70c(0x7a)](_0x11d70c(0x8c))[_0x11d70c(0xcd)](_0x3bfb11);if(_0x306c22[_0x11d70c(0xa7)]){const _0x2a2abd=this[_0x11d70c(0x80)](_0x3a667f),_0x4bd60b=this[_0x11d70c(0x90)](_0x306c22,_0x2a2abd);return _0x2515ad[_0x11d70c(0xbc)](_0x4bd60b,0x0);}}return null;}[_0xaacf7a(0x80)](_0x5848bb){const _0x8d1513=_0xaacf7a,_0x3aac4f=this[_0x8d1513(0xdb)][_0x8d1513(0xd9)][_0x8d1513(0x7a)](_0x8d1513(0x8c)),_0x233eec=this[_0x8d1513(0xdb)][_0x8d1513(0x85)][_0x8d1513(0xda)](_0x5848bb),_0x532705=Array[_0x8d1513(0xad)](_0x233eec[_0x8d1513(0xd5)]())[_0x8d1513(0xbb)](_0x3abeb5=>_0x3abeb5['is'](_0x8d1513(0xc9),_0x8d1513(0xd1)));let _0x160788=0x0;return _0x532705[_0x8d1513(0x6f)](_0x252c2b=>{const _0x37e326=_0x8d1513;_0x160788+=_0x3aac4f[_0x37e326(0xcc)](_0x252c2b);}),_0x160788;}[_0xaacf7a(0x90)](_0x33ea7d,_0x1692b8){const _0x26c0d6=_0xaacf7a,_0x85eeda=this[_0x26c0d6(0xdb)][_0x26c0d6(0xd9)][_0x26c0d6(0x7a)](_0x26c0d6(0x8c)),_0x1b95e9=_0x85eeda[_0x26c0d6(0xa9)](_0x33ea7d),_0x195b52=_0x85eeda[_0x26c0d6(0x9c)](_0x33ea7d),_0x362aec=_0x1b95e9[_0x26c0d6(0xb7)]+0x1,_0x25597d=_0x195b52[_0x26c0d6(0x97)],_0x2ad9dc=_0x33ea7d[0x0][_0x26c0d6(0xc0)](_0x26c0d6(0xd1));for(let _0x1bfe1c=0x0;_0x1bfe1c<_0x1692b8;_0x1bfe1c++)_0x85eeda[_0x26c0d6(0x86)](_0x2ad9dc,{'at':_0x362aec});return _0x2ad9dc[_0x26c0d6(0x73)](_0x362aec)[_0x26c0d6(0x73)](_0x25597d);}[_0xaacf7a(0xac)](_0x5cd37f,_0x78f407){const _0x47448e=_0xaacf7a,{plugins:_0xb54d47}=this[_0x47448e(0xdb)],{model:_0x3d866c}=_0x5cd37f;if(!_0xb54d47[_0x47448e(0xd7)](_0x47448e(0x8c)))return;_0xb54d47[_0x47448e(0x7a)](_0x47448e(0x8c))[_0x47448e(0xcd)](_0x78f407)[_0x47448e(0xa7)]&&_0x3d866c[_0x47448e(0x8e)](_0x78f407);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11537b=_0x2f41;(function(_0x5da3a7,_0xb4643b){const _0xce544c=_0x2f41,_0xe2c9f7=_0x5da3a7();while(!![]){try{const _0x327414=-parseInt(_0xce544c(0x157))/0x1*(-parseInt(_0xce544c(0x19d))/0x2)+-parseInt(_0xce544c(0x12f))/0x3+-parseInt(_0xce544c(0xf6))/0x4+-parseInt(_0xce544c(0x194))/0x5*(-parseInt(_0xce544c(0x119))/0x6)+-parseInt(_0xce544c(0x197))/0x7*(parseInt(_0xce544c(0x18b))/0x8)+-parseInt(_0xce544c(0x193))/0x9+-parseInt(_0xce544c(0x12c))/0xa*(-parseInt(_0xce544c(0x180))/0xb);if(_0x327414===_0xb4643b)break;else _0xe2c9f7['push'](_0xe2c9f7['shift']());}catch(_0x57cd9c){_0xe2c9f7['push'](_0xe2c9f7['shift']());}}}(_0x2588,0x19878));import{Plugin as _0x326f79}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4e1f8f,IconRobotPencil as _0x2492bc}from'ckeditor5/src/icons.js';import{first as _0x38bc6c,CKEditorError as _0x29079b}from'ckeditor5/src/utils.js';import{createDropdown as _0x38faa8,addMenuToDropdown as _0x337270,ButtonView as _0x1cc17b,MenuBarMenuListItemButtonView as _0x215053,Dialog as _0x18146c,DialogViewPosition as _0x3560d2,MenuBarMenuView as _0x33968b,MenuBarMenuListView as _0x555591,MenuBarMenuListItemView as _0x177a71}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x534cf4,UNGROUPED_COMMANDS_GROUP_ID as _0x56a9f}from'./utils/normalizecommandsconfig.js';function _0x2f41(_0x4313e4,_0x40b27b){const _0x258827=_0x2588();return _0x2f41=function(_0x2f4111,_0x51d905){_0x2f4111=_0x2f4111-0xf3;let _0x542c9f=_0x258827[_0x2f4111];return _0x542c9f;},_0x2f41(_0x4313e4,_0x40b27b);}import{AIAssistantEditing as _0x2b9300}from'./aiassistantediting.js';import{AIAdapter as _0x409e0c}from'./adapters/aiadapter.js';import{getTranslation as _0x4e7519}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x587608}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x347c1c}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x46ad0d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x32497b}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const O=globalThis[_0x11537b(0x14f)];function _0x2588(){const _0x2ff084=['updateView','textAdapter','aiLicenseKeyUsageLimit','panelView','change:enabledCommandsIds','66dQnXXW','domainLimit','rawHtml','_uiCssClasses','push','showUI','buttons','invalid','getSelectedBlocks','aiAssistant','show','8BorFsV','media','aiLicenseKeyEvaluationLimit','groupLabel','document','isFlat','featureNotAllowed','values','1647342dqDsnD','8510RWqiny','text','execute','388507DEFeiQ','copy','map','children','aiLicenseKeyNotAllowed','model','2safRNo','command:','showFakeVisualSelection','evaluationLimit','splice','init','_dialog','_showLicenseError','menuitemcheckbox','insertContentBelow','99440ZpQwND','editor','length','menuBar:aiAssistant','updatePosition','change:isError','getData','_getMenuBarGroupButtons','errorView','menuPanelClass','plugins','polite','prompt','announce','hideFakeVisualSelection','AI\x20Assistant','change:value','trialLimit','bind','ai-commands-config-order-collision','label','focus','aiLicenseKeyTrialLimit','sort','_licenseKeyCheckInterval','_createAIAssistantUIButton','queryView','change:isProcessing','AIAssistantUI','ck-ai-commands-dropdown\x20','expired','setSelection','insertContent','promptView','includes','210brwqui','ai.assistant.disabledElements','config','selection','_initView','reset','AI\x20is\x20writing','</p>','trim','<p>','define','usageLimit','requires','ai.assistant.commands','forEach','\x20ck-ai-assistant-ui_theme','delegate','isOfficialPlugin','tableOfContents','622130iezQeY','editing','requiresContent','314655pFIVRq','custom','replace','_populateMenuBarMenu','once','groupId','AI\x20Commands','_getResolvedCommandsDefinitions','update','filter','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','isPremiumPlugin','isCollapsed','AIAssistant','showAIAssistant','add','EDITOR_TOP_SIDE','getLimitElement','aiLicenseKeyExpired','ai.assistant.useTheme','pluginName','licenseKey','view','aiLicenseKeyDomainLimit','menuView','componentFactory','locale','getRanges','render','source','_forceMarkersCopy','DataTransfer','text/html','INSERT','wasMoved','schema','destroy','comment','menuBar:aiCommands','40004ouFidY','from','ck-ai-assistant-ui','_commandDefinitions','currentContext','hideUI','hide','_aiAssistantController','aiLicenseKeyInvalid','listenTo','change','fire','ai.assistant.contentAreaCssClass','isOn','Generated\x20content:\x20%0','replaceContent','_onExecute','ck-ai-assistant-button\x20','contentArea','REPLACE','addMany','aiLicenseKeyValid','_initAriaAiStatusChangeAnnouncements','commands','_aiAdapter','order','enabledCommandsIds','isEnabled','set','items','buttonView','body','get','getSelectedElement','aiCommands','fieldView'];_0x2588=function(){return _0x2ff084;};return _0x2588();}import{ClipboardMarkersUtils as _0x1966e2}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x24719c,ViewDataTransfer as _0x373a08}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x326f79{[_0x11537b(0x145)];[_0x11537b(0x10e)];[_0x11537b(0x1a3)];[_0x11537b(0x139)];[_0x11537b(0x16f)];[_0x11537b(0x15e)];[_0x11537b(0x183)]='';static get[_0x11537b(0x144)](){const _0x4a897d=_0x11537b;return _0x4a897d(0x112);}static get[_0x11537b(0x12a)](){return!0x0;}static get[_0x11537b(0x13b)](){return!0x0;}static get[_0x11537b(0x125)](){return[_0x1966e2,_0x2b9300,_0x409e0c,_0x18146c];}constructor(_0x14c282){const _0x1aa57d=_0x11537b;super(_0x14c282),_0x14c282[_0x1aa57d(0x11b)][_0x1aa57d(0x123)](_0x1aa57d(0x11a),[_0x1aa57d(0x18c),_0x1aa57d(0x182),_0x1aa57d(0x12b)]),_0x14c282[_0x1aa57d(0x11b)][_0x1aa57d(0x123)](_0x1aa57d(0x163),''),_0x14c282[_0x1aa57d(0x11b)][_0x1aa57d(0x123)](_0x1aa57d(0x143),!0x0),this[_0x1aa57d(0x183)]=_0x1aa57d(0x159)+(_0x14c282[_0x1aa57d(0x11b)][_0x1aa57d(0x177)](_0x1aa57d(0x143))?_0x1aa57d(0x128):'');}[_0x11537b(0x1a2)](){const _0x9b5fd4=_0x11537b,{editor:_0xa00005}=this;this[_0x9b5fd4(0x16f)]=_0xa00005[_0x9b5fd4(0x100)][_0x9b5fd4(0x177)](_0x409e0c),this[_0x9b5fd4(0x1a3)]=_0xa00005[_0x9b5fd4(0x100)][_0x9b5fd4(0x177)](_0x18146c),this[_0x9b5fd4(0x139)]=null,this[_0x9b5fd4(0x15a)]=this[_0x9b5fd4(0x136)]();const _0x14b8e9=new _0x587608(_0xa00005,Array[_0x9b5fd4(0x158)](this[_0x9b5fd4(0x15a)][_0x9b5fd4(0x192)]()));_0xa00005[_0x9b5fd4(0x16e)][_0x9b5fd4(0x13f)](_0x9b5fd4(0x13e),_0x14b8e9),_0xa00005['ui'][_0x9b5fd4(0x149)][_0x9b5fd4(0x13f)](_0x9b5fd4(0x179),_0x507c43=>{const _0x374b39=_0x9b5fd4,_0xf7e222=_0x38faa8(_0x507c43);return _0xf7e222[_0x374b39(0x173)]({'class':_0x374b39(0x113)+this[_0x374b39(0x183)]}),_0xf7e222[_0x374b39(0x175)][_0x374b39(0x173)]({'label':_0x4e7519(_0x507c43,_0x374b39(0x135)),'icon':_0x4e1f8f,'tooltip':!0x0}),_0xf7e222['on'](_0x374b39(0x196),_0x56791c=>this[_0x374b39(0x167)](_0x56791c[_0x374b39(0x14d)]['id'])),_0x337270(_0xf7e222,_0xa00005['ui'][_0x374b39(0x146)][_0x374b39(0x176)],function(_0x2f6308){const _0x79e12=_0x374b39,_0x50dc1b=_0x534cf4(_0x2f6308[_0x79e12(0x11b)][_0x79e12(0x177)](_0x79e12(0x126)),_0x2f6308[_0x79e12(0x14a)]),_0x16b4f3=ii(_0x2f6308,_0x50dc1b)[_0x79e12(0x138)](_0x2aafa4=>_0x2aafa4[_0x79e12(0x16e)][_0x79e12(0xf8)]);if(0x1===_0x16b4f3[_0x79e12(0xf8)])return ii(_0x2f6308,_0x16b4f3[0x0][_0x79e12(0x16e)])[_0x79e12(0x199)](_0x4b9848=>({'id':_0x4b9848['id'],'label':_0x4b9848[_0x79e12(0x10a)]}));return _0x16b4f3[_0x79e12(0x199)](_0x35d2a2=>{const _0x4aebd9=_0x79e12,{groupId:_0x306ec2,groupLabel:_0x22421a,commands:_0x44dc79}=_0x35d2a2,_0x5e2aed=ii(_0x2f6308,_0x44dc79)[_0x4aebd9(0x199)](_0x2b6b8b=>({'id':_0x2b6b8b['id'],'label':_0x2b6b8b[_0x4aebd9(0x10a)]}));return{'id':_0x306ec2,'menu':_0x22421a||_0x306ec2,'children':_0x5e2aed};});}(_0xa00005),{'ariaLabel':_0x4e7519(_0x507c43,_0x374b39(0x135))}),_0xf7e222[_0x374b39(0x148)][_0x374b39(0xff)]=_0x374b39(0x113)+this[_0x374b39(0x183)],_0x14b8e9['on'](_0x374b39(0x17f),_0x53742f),_0xf7e222[_0x374b39(0x148)][_0x374b39(0x133)](_0x374b39(0x14c),_0x53742f),_0xf7e222;function _0x53742f(){const _0x370f81=_0x374b39;_0xf7e222[_0x370f81(0x172)]=_0x14b8e9[_0x370f81(0x171)][_0x370f81(0xf8)]>0x0;for(const _0x2817bf of _0xf7e222[_0x370f81(0x148)][_0x370f81(0x186)])_0x2817bf[_0x370f81(0x172)]=_0x14b8e9[_0x370f81(0x171)][_0x370f81(0x118)](_0x2817bf['id']);}}),_0xa00005['ui'][_0x9b5fd4(0x149)][_0x9b5fd4(0x13f)](_0x9b5fd4(0x156),_0xaccb18=>{const _0x4681e3=_0x9b5fd4,_0xb4683d=new _0x33968b(_0xaccb18);_0xb4683d[_0x4681e3(0x175)][_0x4681e3(0x173)]({'label':_0x4e7519(_0xaccb18,_0x4681e3(0x135)),'icon':_0x4e1f8f}),_0xb4683d[_0x4681e3(0x108)](_0x4681e3(0x172))['to'](_0x14b8e9,_0x4681e3(0x171),_0x4612e9=>_0x4612e9[_0x4681e3(0xf8)]>0x0);const _0x57277d=_0x534cf4(_0xa00005[_0x4681e3(0x11b)][_0x4681e3(0x177)](_0x4681e3(0x126)),_0xaccb18);return this[_0x4681e3(0x132)](_0x14b8e9,_0xb4683d,_0x57277d,_0x3930ea=>this[_0x4681e3(0x167)](_0x3930ea)),_0xb4683d;}),_0xa00005['ui'][_0x9b5fd4(0x149)][_0x9b5fd4(0x13f)](_0x9b5fd4(0x189),()=>{const _0x5118ce=_0x9b5fd4,_0x13b64e=this[_0x5118ce(0x10f)](_0x1cc17b);return _0x13b64e[_0x5118ce(0x173)]({'tooltip':!0x0,'class':_0x5118ce(0x168)+this[_0x5118ce(0x183)]}),_0x13b64e;}),_0xa00005['ui'][_0x9b5fd4(0x149)][_0x9b5fd4(0x13f)](_0x9b5fd4(0xf9),()=>{const _0x491b61=_0x9b5fd4,_0x4c6c89=this[_0x491b61(0x10f)](_0x215053);return _0x4c6c89[_0x491b61(0x173)]({'role':_0x491b61(0xf4)}),_0x4c6c89;}),this[_0x9b5fd4(0x145)]=this[_0x9b5fd4(0xf7)][_0x9b5fd4(0x11b)][_0x9b5fd4(0x177)](_0x9b5fd4(0x145));const _0x40f426=this[_0x9b5fd4(0xf7)];this[_0x9b5fd4(0x10e)]=setInterval(()=>{const _0x389b9f=_0x9b5fd4;let _0x90fdbe;for(const _0x21c080 in _0x40f426){const _0x2751eb=_0x21c080,_0x4577f6=_0x40f426[_0x2751eb];if(_0x389b9f(0x16c)==_0x4577f6||_0x389b9f(0x15f)==_0x4577f6||_0x389b9f(0x142)==_0x4577f6||_0x389b9f(0x147)==_0x4577f6||_0x389b9f(0x19b)==_0x4577f6||_0x389b9f(0x18d)==_0x4577f6||_0x389b9f(0x10c)==_0x4577f6||_0x389b9f(0x17d)==_0x4577f6){delete _0x40f426[_0x2751eb],_0x90fdbe=_0x4577f6,clearInterval(this[_0x389b9f(0x10e)]),this[_0x389b9f(0x10e)]=void 0x0;break;}}_0x389b9f(0x15f)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x187)),_0x389b9f(0x142)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x114)),_0x389b9f(0x147)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x181)),_0x389b9f(0x19b)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x191),_0x389b9f(0x13d)),_0x389b9f(0x18d)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x1a0)),_0x389b9f(0x10c)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x107)),_0x389b9f(0x17d)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x124));},0x3e8);}[_0x11537b(0x154)](){const _0x57b7ab=_0x11537b;super[_0x57b7ab(0x154)](),this[_0x57b7ab(0x10e)]&&clearInterval(this[_0x57b7ab(0x10e)]);}[_0x11537b(0x185)](_0x4a8a01='',_0x5d5d19='',_0x4b3fc8=_0x11537b(0x130)){const _0x366406=_0x11537b,_0x4e9042=this[_0x366406(0xf7)],_0x1c56e6=_0x4e9042[_0x366406(0x12d)][_0x366406(0x146)],_0x1b9761=_0x4e9042[_0x366406(0x100)][_0x366406(0x177)](_0x2b9300),_0x190e73=_0x4e9042[_0x366406(0x100)][_0x366406(0x177)](_0x1966e2);_0x1b9761[_0x366406(0x19f)]();const _0x462680=new O(),_0x4f2db1=new ClipboardEvent(_0x366406(0x198),{'clipboardData':_0x462680}),_0x1a0ff3=new _0x373a08(_0x462680),_0x3c0173=new _0x24719c(_0x1c56e6,_0x4f2db1,{'dataTransfer':_0x1a0ff3});_0x190e73[_0x366406(0x14e)](_0x366406(0x155),()=>{const _0x254ef2=_0x366406;_0x1c56e6[_0x254ef2(0x18f)][_0x254ef2(0x162)](_0x254ef2(0x198),_0x3c0173);}),this[_0x366406(0x139)]||(this[_0x366406(0x11d)](),this[_0x366406(0x15e)]=new _0x347c1c(_0x4e9042,this[_0x366406(0x16f)][_0x366406(0x17c)],this[_0x366406(0x139)]));let _0x15b377=_0x1a0ff3[_0x366406(0xfc)](_0x366406(0x150));const _0x5f1d2d=_0x4e9042[_0x366406(0x19c)][_0x366406(0x18f)][_0x366406(0x11c)],_0x391a57=Array[_0x366406(0x158)](_0x5f1d2d[_0x366406(0x14b)]());0x1===_0x391a57[_0x366406(0xf8)]&&_0x391a57[0x0][_0x366406(0x190)]&&!_0x5f1d2d[_0x366406(0x178)]()&&''!==_0x15b377[_0x366406(0x131)](/&nbsp;/g,'')[_0x366406(0x121)]()&&(_0x15b377=_0x366406(0x122)+_0x15b377+_0x366406(0x120)),this[_0x366406(0x15e)][_0x366406(0x17b)]({'actionId':_0x4b3fc8,'query':_0x4a8a01,'htmlContent':_0x15b377,'label':_0x5d5d19,'mainActionLabel':_0x32497b[_0x4e9042[_0x366406(0x19c)][_0x366406(0x18f)][_0x366406(0x11c)][_0x366406(0x13c)]?_0x366406(0x151):_0x366406(0x16a)]}),_0x366406(0x189)!==this[_0x366406(0x1a3)]['id']?this[_0x366406(0x1a3)][_0x366406(0x18a)]({'id':_0x366406(0x189),'icon':_0x2492bc,'title':_0x4e7519(this[_0x366406(0xf7)][_0x366406(0x14a)],_0x366406(0x105)),'content':this[_0x366406(0x139)],'position':_0x3560d2[_0x366406(0x140)],'onShow':()=>{const _0x4872a1=_0x366406;this[_0x4872a1(0x139)][_0x4872a1(0x10b)]();},'onHide':()=>{const _0x39c30e=_0x366406;this[_0x39c30e(0x15e)][_0x39c30e(0x11e)](),_0x1b9761[_0x39c30e(0x104)]();}}):this[_0x366406(0x1a3)][_0x366406(0x146)][_0x366406(0x152)]||this[_0x366406(0x1a3)][_0x366406(0x146)][_0x366406(0xfa)]();}[_0x11537b(0x15c)](){const _0x45d4b5=_0x11537b;this[_0x45d4b5(0x1a3)][_0x45d4b5(0x15d)]();}[_0x11537b(0x136)](){const _0x3e0366=_0x11537b,_0x125a1d=new Map(),_0x3ae426=_0x534cf4(this[_0x3e0366(0xf7)][_0x3e0366(0x11b)][_0x3e0366(0x177)](_0x3e0366(0x126)),this[_0x3e0366(0xf7)][_0x3e0366(0x14a)]);for(const _0x5870ea of _0x3ae426)for(const _0x5257a3 of _0x5870ea[_0x3e0366(0x16e)])_0x125a1d[_0x3e0366(0x173)](_0x5257a3['id'],{..._0x5257a3,'groupId':_0x5870ea[_0x3e0366(0x134)],'groupLabel':_0x5870ea[_0x3e0366(0x18e)]||_0x5870ea[_0x3e0366(0x134)]});return _0x125a1d;}[_0x11537b(0x10f)](_0x28f276){const _0x2427a9=_0x11537b,_0xbdb372=this[_0x2427a9(0xf7)],_0xaaf5b=_0xbdb372[_0x2427a9(0x16e)][_0x2427a9(0x177)](_0x2427a9(0x13e)),_0x394adc=new _0x28f276(_0xbdb372[_0x2427a9(0x14a)]);return _0x394adc[_0x2427a9(0x173)]({'label':_0x4e7519(_0xbdb372[_0x2427a9(0x14a)],_0x2427a9(0x105)),'icon':_0x2492bc,'isToggleable':!0x0}),_0x394adc[_0x2427a9(0x108)](_0x2427a9(0x172))['to'](_0xaaf5b),_0x394adc[_0x2427a9(0x108)](_0x2427a9(0x164))['to'](this[_0x2427a9(0x1a3)],'id',_0x4b7a4d=>_0x2427a9(0x189)===_0x4b7a4d),this[_0x2427a9(0x160)](_0x394adc,_0x2427a9(0x196),()=>{const _0x43395a=_0x2427a9;_0x394adc[_0x43395a(0x164)]?this[_0x43395a(0x15c)]():_0xaaf5b[_0x43395a(0x196)]();}),_0x394adc;}[_0x11537b(0x11d)](){const _0x4b70bd=_0x11537b,_0x467fdf=this[_0x4b70bd(0xf7)][_0x4b70bd(0x100)][_0x4b70bd(0x177)](_0x2b9300);this[_0x4b70bd(0x139)]=new _0x46ad0d(this[_0x4b70bd(0xf7)][_0x4b70bd(0x14a)],this[_0x4b70bd(0x183)],this[_0x4b70bd(0xf7)][_0x4b70bd(0x11b)][_0x4b70bd(0x177)](_0x4b70bd(0x163))),this[_0x4b70bd(0x139)]['on'](_0x4b70bd(0x106),()=>{const _0xfb86fc=_0x4b70bd;this[_0xfb86fc(0x1a3)][_0xfb86fc(0x146)][_0xfb86fc(0x152)]||this[_0xfb86fc(0x1a3)][_0xfb86fc(0x146)][_0xfb86fc(0xfa)]();}),this[_0x4b70bd(0x139)][_0x4b70bd(0x117)][_0x4b70bd(0x110)][_0x4b70bd(0x17a)]['on'](_0x4b70bd(0x137),()=>{const _0xae1d12=_0x4b70bd;this[_0xae1d12(0x1a3)][_0xae1d12(0x146)][_0xae1d12(0x152)]||this[_0xae1d12(0x1a3)][_0xae1d12(0x146)][_0xae1d12(0xfa)]();}),this[_0x4b70bd(0x160)](this[_0x4b70bd(0x139)],_0x4b70bd(0x166),()=>{const _0x30be43=_0x4b70bd;_0x467fdf[_0x30be43(0x116)](this[_0x30be43(0x15e)][_0x30be43(0x15b)]),this[_0x30be43(0x15c)]();}),this[_0x4b70bd(0x160)](this[_0x4b70bd(0x139)],_0x4b70bd(0xf5),()=>{const _0x3e3085=_0x4b70bd;_0x467fdf[_0x3e3085(0xf5)](this[_0x3e3085(0x15e)][_0x3e3085(0x15b)]),this[_0x3e3085(0x15c)]();}),this[_0x4b70bd(0x16d)]();}[_0x11537b(0x16d)](){const _0x10aa09=_0x11537b,{locale:_0x44ee63,ui:{ariaLiveAnnouncer:_0x185b34}}=this[_0x10aa09(0xf7)];this[_0x10aa09(0x139)][_0x10aa09(0x169)]['on'](_0x10aa09(0x111),(_0x47be08,_0x1d5726,_0x397bba)=>{const _0x159a90=_0x10aa09,_0x5f5609=this[_0x159a90(0x15e)][_0x159a90(0x15b)];_0x397bba?_0x185b34[_0x159a90(0x103)](_0x4e7519(_0x44ee63,_0x159a90(0x11f))):_0x5f5609&&_0x185b34[_0x159a90(0x103)](_0x4e7519(_0x44ee63,_0x159a90(0x165),_0x5f5609),{'politeness':_0x159a90(0x101),'isUnsafeHTML':!0x0});}),this[_0x10aa09(0x139)]['on'](_0x10aa09(0xfb),(_0xdabc8e,_0x489064,_0x418601)=>{const _0x10422b=_0x10aa09;if(_0x418601){const _0x363233=this[_0x10422b(0x139)][_0x10422b(0xfe)][_0x10422b(0x195)];_0x185b34[_0x10422b(0x103)](_0x4e7519(_0x44ee63,_0x10422b(0x13a),_0x363233));}});}[_0x11537b(0x167)](_0x3666dc){const _0x5c4e3b=_0x11537b,_0x344e49=this[_0x5c4e3b(0x15a)][_0x5c4e3b(0x177)](_0x3666dc),_0x1d677=this[_0x5c4e3b(0xf7)],_0x3bffa7=_0x1d677[_0x5c4e3b(0x19c)][_0x5c4e3b(0x18f)][_0x5c4e3b(0x11c)],_0x3768e8=_0x1d677[_0x5c4e3b(0x16e)][_0x5c4e3b(0x177)](_0x5c4e3b(0x13e)),_0x50f10a=_0x1d677[_0x5c4e3b(0x100)][_0x5c4e3b(0x177)](_0x2b9300),_0x32e2e7=''+(_0x344e49[_0x5c4e3b(0x134)]!==_0x56a9f?_0x344e49[_0x5c4e3b(0x18e)]+':\x20':'')+_0x344e49[_0x5c4e3b(0x10a)];if(!0x1!==_0x344e49[_0x5c4e3b(0x12e)]&&_0x3bffa7[_0x5c4e3b(0x13c)]){const _0xe10bab=_0x38bc6c(_0x3bffa7[_0x5c4e3b(0x188)]())||_0x1d677[_0x5c4e3b(0x19c)][_0x5c4e3b(0x153)][_0x5c4e3b(0x141)](_0x3bffa7);_0x1d677[_0x5c4e3b(0x19c)][_0x5c4e3b(0x161)](_0x366e96=>{const _0x5e7b2c=_0x5c4e3b;_0x366e96[_0x5e7b2c(0x115)](_0xe10bab,'in');});}_0x50f10a[_0x5c4e3b(0x19f)](),_0x3768e8[_0x5c4e3b(0x196)](_0x344e49[_0x5c4e3b(0x102)],_0x32e2e7,_0x5c4e3b(0x19e)+_0x3666dc);}[_0x11537b(0x132)](_0x5c237c,_0x54ec0d,_0x3c5afe,_0x4b7522){const _0x55682f=_0x11537b,_0x2e47c2=this[_0x55682f(0xf7)],_0xa1aecf=_0x2e47c2[_0x55682f(0x14a)],_0x501755=new _0x555591(_0xa1aecf),_0x575294=ii(_0x2e47c2,_0x3c5afe)[_0x55682f(0x138)](_0x4b04c8=>_0x4b04c8[_0x55682f(0x16e)][_0x55682f(0xf8)]);0x1===_0x575294[_0x55682f(0xf8)]?this[_0x55682f(0xfd)]({'command':_0x5c237c,'commands':_0x575294[0x0][_0x55682f(0x16e)],'parentMenuView':_0x54ec0d,'onExecute':_0x4b7522})[_0x55682f(0x127)](_0x4ebbef=>_0x501755[_0x55682f(0x174)][_0x55682f(0x13f)](_0x4ebbef)):_0x575294[_0x55682f(0x127)](({groupId:_0x53412f,groupLabel:_0x1c3033,commands:_0x86110e})=>{const _0x4e50e8=_0x55682f,_0x1737bc=new _0x177a71(_0xa1aecf,_0x54ec0d),_0x13539c=new _0x33968b(_0xa1aecf),_0x16cde2=new _0x555591(_0xa1aecf),_0x349918=this[_0x4e50e8(0xfd)]({'command':_0x5c237c,'commands':_0x86110e,'parentMenuView':_0x13539c,'onExecute':_0x4b7522});_0x13539c[_0x4e50e8(0x175)][_0x4e50e8(0x173)]({'label':_0x1c3033||_0x53412f}),_0x13539c[_0x4e50e8(0x129)](_0x4e50e8(0x196))['to'](_0x54ec0d),_0x16cde2[_0x4e50e8(0x174)][_0x4e50e8(0x16b)](_0x349918),_0x13539c[_0x4e50e8(0x17e)][_0x4e50e8(0x19a)][_0x4e50e8(0x13f)](_0x16cde2),_0x1737bc[_0x4e50e8(0x19a)][_0x4e50e8(0x13f)](_0x13539c),_0x501755[_0x4e50e8(0x174)][_0x4e50e8(0x13f)](_0x1737bc);}),_0x54ec0d[_0x55682f(0x17e)][_0x55682f(0x19a)][_0x55682f(0x13f)](_0x501755);}[_0x11537b(0xfd)]({command:_0x54e9dc,commands:_0x595609,parentMenuView:_0x2adb44,onExecute:_0x37ba4c}){const _0x3b2be8=_0x11537b,_0x1e8a31=this[_0x3b2be8(0xf7)],_0x48bfb5=_0x1e8a31[_0x3b2be8(0x14a)];return ii(_0x1e8a31,_0x595609)[_0x3b2be8(0x199)](_0x522de4=>{const _0x25ffae=_0x3b2be8,_0x34d210=new _0x177a71(_0x48bfb5,_0x2adb44),_0xb6968b=new _0x215053(_0x48bfb5);return _0xb6968b[_0x25ffae(0x173)]({'label':_0x522de4[_0x25ffae(0x10a)]}),_0xb6968b[_0x25ffae(0x129)](_0x25ffae(0x196))['to'](_0x2adb44),_0xb6968b['on'](_0x25ffae(0x196),()=>_0x37ba4c(_0x522de4['id'])),_0xb6968b[_0x25ffae(0x108)](_0x25ffae(0x172))['to'](_0x54e9dc,_0x25ffae(0x171),_0x56403f=>_0x56403f[_0x25ffae(0x118)](_0x522de4['id'])),_0x34d210[_0x25ffae(0x19a)][_0x25ffae(0x13f)](_0xb6968b),_0x34d210;});}}function Z(_0x2aef2a,_0x4eb810){const _0xc75f2a=_0x11537b;return void 0x0!==_0x2aef2a[_0xc75f2a(0x170)]&&void 0x0===_0x4eb810[_0xc75f2a(0x170)]?0x1:void 0x0===_0x2aef2a[_0xc75f2a(0x170)]&&void 0x0!==_0x4eb810[_0xc75f2a(0x170)]?-0x1:void 0x0!==_0x2aef2a[_0xc75f2a(0x170)]&&void 0x0!==_0x4eb810[_0xc75f2a(0x170)]?_0x2aef2a[_0xc75f2a(0x170)]-_0x4eb810[_0xc75f2a(0x170)]:0x0;}function ii(_0x1638a4,_0x11ac67){const _0x338864=_0x11537b;_0x11ac67[_0x338864(0x10d)](Z);const _0x17dd79={},_0x477536=[];for(const _0x125e20 of _0x11ac67)if(void 0x0!==_0x125e20[_0x338864(0x170)]){if(_0x125e20[_0x338864(0x170)]in _0x17dd79)throw new _0x29079b(_0x338864(0x109),_0x1638a4,{'conflictingDefinitions':[_0x125e20,_0x17dd79[_0x125e20[_0x338864(0x170)]]]});_0x17dd79[_0x125e20[_0x338864(0x170)]]=_0x125e20,_0x477536[_0x338864(0x1a1)](_0x125e20[_0x338864(0x170)],0x0,_0x125e20);}else _0x477536[_0x338864(0x184)](_0x125e20);return _0x477536;}
23
+ function _0x55eb(_0x3d1c85,_0x2d869d){const _0x3a8cf7=_0x3a8c();return _0x55eb=function(_0x55eb67,_0x301b56){_0x55eb67=_0x55eb67-0x1b1;let _0x1888d3=_0x3a8cf7[_0x55eb67];return _0x1888d3;},_0x55eb(_0x3d1c85,_0x2d869d);}const _0xed0db0=_0x55eb;(function(_0x426bbd,_0x54529f){const _0x4f317a=_0x55eb,_0x3c1db9=_0x426bbd();while(!![]){try{const _0x3865a1=-parseInt(_0x4f317a(0x1c9))/0x1+-parseInt(_0x4f317a(0x206))/0x2*(-parseInt(_0x4f317a(0x225))/0x3)+-parseInt(_0x4f317a(0x1de))/0x4+parseInt(_0x4f317a(0x1c7))/0x5+-parseInt(_0x4f317a(0x1ba))/0x6*(parseInt(_0x4f317a(0x236))/0x7)+parseInt(_0x4f317a(0x1f0))/0x8+-parseInt(_0x4f317a(0x242))/0x9*(-parseInt(_0x4f317a(0x20a))/0xa);if(_0x3865a1===_0x54529f)break;else _0x3c1db9['push'](_0x3c1db9['shift']());}catch(_0x4ecafd){_0x3c1db9['push'](_0x3c1db9['shift']());}}}(_0x3a8c,0x8eeb7));import{Plugin as _0x4c9783}from'ckeditor5/src/core.js';import{IconMagicWand as _0xfce511,IconRobotPencil as _0x2b6e2b}from'ckeditor5/src/icons.js';import{first as _0x133307,CKEditorError as _0x44dbf3}from'ckeditor5/src/utils.js';import{createDropdown as _0x65eaee,addMenuToDropdown as _0x2cfd02,ButtonView as _0x4e217a,MenuBarMenuListItemButtonView as _0x3c03f4,Dialog as _0x4fb2dd,DialogViewPosition as _0xca2be2,MenuBarMenuView as _0x1a6e2f,MenuBarMenuListView as _0x484258,MenuBarMenuListItemView as _0xb8f339}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x45dc8c,UNGROUPED_COMMANDS_GROUP_ID as _0x32d7ff}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5d827e}from'./aiassistantediting.js';import{AIAdapter as _0x2de7e7}from'./adapters/aiadapter.js';import{getTranslation as _0x467e65}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x26443c}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x343221}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x5a3b7f}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2a4a9a}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x3a8c(){const _0xb055bf=['aiLicenseKeyExpired','ai-commands-config-order-collision','_createAIAssistantUIButton','replaceContent','textAdapter','media','getRanges','REPLACE','featureNotAllowed','aiLicenseKeyUsageLimit','queryView','ck-ai-commands-dropdown\x20','18IkmBsl','updateView','aiLicenseKeyNotAllowed','expired','4220TFzAgP','_populateMenuBarMenu','comment','AI\x20Commands','plugins','define','domainLimit','_getMenuBarGroupButtons','editing','custom','aiCommands','_onExecute','schema','forEach','evaluationLimit','add','isCollapsed','selection','_aiAdapter','rawHtml','getSelectedElement','fire','_commandDefinitions','aiAssistant','\x20ck-ai-assistant-ui_theme','listenTo','aiLicenseKeyValid','30900SzIneH','DataTransfer','Error\x20during\x20AI\x20content\x20generation:\x20%0','model','delegate','hideUI','updatePosition','requiresContent','ai.assistant.disabledElements','_aiAssistantController','change','ai.assistant.commands','enabledCommandsIds','locale','panelView','menuitemcheckbox','AI\x20Assistant','2429wOBLdw','groupLabel','tableOfContents','menuBar:aiCommands','getSelectedBlocks','menuView','buttons','Generated\x20content:\x20%0','groupId','_uiCssClasses','polite','ai.assistant.useTheme','16479HlqmTU','isPremiumPlugin','showFakeVisualSelection','_showLicenseError','body','ck-ai-assistant-ui','fieldView','addMany','aiLicenseKeyDomainLimit','label','</p>','menuBar:aiAssistant','insertContentBelow','includes','items','_licenseKeyCheckInterval','editor','isOn','errorView','values','getLimitElement','AI\x20is\x20writing','<p>','_initView','hide','ai.assistant.contentAreaCssClass','prompt','source','length','change:value','splice','trim','change:isError','filter','destroy','buttonView','_forceMarkersCopy','children','aiLicenseKeyInvalid','commands','12222XeLGtr','currentContext','isFlat','push','showUI','get','_getResolvedCommandsDefinitions','init','setSelection','wasMoved','reset','order','requires','2004020NQTvHF','ck-ai-assistant-button\x20','438610DsSRBz','_initAriaAiStatusChangeAnnouncements','document','isEnabled','showAIAssistant','hideFakeVisualSelection','_formView','replace','command:','getData','AIAssistantUI','sort','view','invalid','_dialog','licenseKey','AIAssistant','text/html','EDITOR_TOP_SIDE','text','show','2082644qWmRaD','isOfficialPlugin','execute','INSERT','change:isProcessing','aiLicenseKeyEvaluationLimit','change:enabledCommandsIds','insertContent','contentArea','render','bind','componentFactory','trialLimit','set','focus','map','aiLicenseKeyTrialLimit','announce','7882584aeFRIe','from','update','copy','once','pluginName','menuPanelClass','config','promptView','usageLimit'];_0x3a8c=function(){return _0xb055bf;};return _0x3a8c();}const l=globalThis[_0xed0db0(0x226)];import{ClipboardMarkersUtils as _0x31938b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3afc2f,ViewDataTransfer as _0x29b9d9}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4c9783{[_0xed0db0(0x1d8)];[_0xed0db0(0x251)];[_0xed0db0(0x1d7)];[_0xed0db0(0x1cf)];[_0xed0db0(0x21c)];[_0xed0db0(0x22e)];[_0xed0db0(0x23f)]='';static get[_0xed0db0(0x1f5)](){const _0x1ec584=_0xed0db0;return _0x1ec584(0x1d3);}static get[_0xed0db0(0x1df)](){return!0x0;}static get[_0xed0db0(0x243)](){return!0x0;}static get[_0xed0db0(0x1c6)](){return[_0x31938b,_0x5d827e,_0x2de7e7,_0x4fb2dd];}constructor(_0x22a2ba){const _0x7f21c1=_0xed0db0;super(_0x22a2ba),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x22d),[_0x7f21c1(0x1ff),_0x7f21c1(0x21d),_0x7f21c1(0x238)]),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x25b),''),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x241),!0x0),this[_0x7f21c1(0x23f)]=_0x7f21c1(0x247)+(_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x1bf)](_0x7f21c1(0x241))?_0x7f21c1(0x222):'');}[_0xed0db0(0x1c1)](){const _0x2ce207=_0xed0db0,{editor:_0x3905db}=this;this[_0x2ce207(0x21c)]=_0x3905db[_0x2ce207(0x20e)][_0x2ce207(0x1bf)](_0x2de7e7),this[_0x2ce207(0x1d7)]=_0x3905db[_0x2ce207(0x20e)][_0x2ce207(0x1bf)](_0x4fb2dd),this[_0x2ce207(0x1cf)]=null,this[_0x2ce207(0x220)]=this[_0x2ce207(0x1c0)]();const _0x5223e5=new _0x26443c(_0x3905db,Array[_0x2ce207(0x1f1)](this[_0x2ce207(0x220)][_0x2ce207(0x255)]()));_0x3905db[_0x2ce207(0x1b9)][_0x2ce207(0x219)](_0x2ce207(0x1cd),_0x5223e5),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x214),_0x3e8bd5=>{const _0x25e00d=_0x2ce207,_0x835816=_0x65eaee(_0x3e8bd5);return _0x835816[_0x25e00d(0x1eb)]({'class':_0x25e00d(0x205)+this[_0x25e00d(0x23f)]}),_0x835816[_0x25e00d(0x1b5)][_0x25e00d(0x1eb)]({'label':_0x467e65(_0x3e8bd5,_0x25e00d(0x20d)),'icon':_0xfce511,'tooltip':!0x0}),_0x835816['on'](_0x25e00d(0x1e0),_0x3e906f=>this[_0x25e00d(0x215)](_0x3e906f[_0x25e00d(0x25d)]['id'])),_0x2cfd02(_0x835816,_0x3905db['ui'][_0x25e00d(0x1d5)][_0x25e00d(0x246)],function(_0x27dba6){const _0x441aad=_0x25e00d,_0x282690=_0x45dc8c(_0x27dba6[_0x441aad(0x1f7)][_0x441aad(0x1bf)](_0x441aad(0x230)),_0x27dba6[_0x441aad(0x232)]),_0x3f3b83=U(_0x27dba6,_0x282690)[_0x441aad(0x1b3)](_0x4f5ecb=>_0x4f5ecb[_0x441aad(0x1b9)][_0x441aad(0x25e)]);if(0x1===_0x3f3b83[_0x441aad(0x25e)])return U(_0x27dba6,_0x3f3b83[0x0][_0x441aad(0x1b9)])[_0x441aad(0x1ed)](_0x5f1879=>({'id':_0x5f1879['id'],'label':_0x5f1879[_0x441aad(0x24b)]}));return _0x3f3b83[_0x441aad(0x1ed)](_0x2d8ca4=>{const _0x1a0a06=_0x441aad,{groupId:_0x1f47cf,groupLabel:_0x5d69c2,commands:_0x5e1210}=_0x2d8ca4,_0x273bcb=U(_0x27dba6,_0x5e1210)[_0x1a0a06(0x1ed)](_0x1565dc=>({'id':_0x1565dc['id'],'label':_0x1565dc[_0x1a0a06(0x24b)]}));return{'id':_0x1f47cf,'menu':_0x5d69c2||_0x1f47cf,'children':_0x273bcb};});}(_0x3905db),{'ariaLabel':_0x467e65(_0x3e8bd5,_0x25e00d(0x20d))}),_0x835816[_0x25e00d(0x23b)][_0x25e00d(0x1f6)]=_0x25e00d(0x205)+this[_0x25e00d(0x23f)],_0x5223e5['on'](_0x25e00d(0x1e4),_0x2f9f42),_0x835816[_0x25e00d(0x23b)][_0x25e00d(0x1f4)](_0x25e00d(0x1e7),_0x2f9f42),_0x835816;function _0x2f9f42(){const _0x2a96c5=_0x25e00d;_0x835816[_0x2a96c5(0x1cc)]=_0x5223e5[_0x2a96c5(0x231)][_0x2a96c5(0x25e)]>0x0;for(const _0x13266a of _0x835816[_0x2a96c5(0x23b)][_0x2a96c5(0x23c)])_0x13266a[_0x2a96c5(0x1cc)]=_0x5223e5[_0x2a96c5(0x231)][_0x2a96c5(0x24f)](_0x13266a['id']);}}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x239),_0x25058f=>{const _0x5752e7=_0x2ce207,_0x30933c=new _0x1a6e2f(_0x25058f);_0x30933c[_0x5752e7(0x1b5)][_0x5752e7(0x1eb)]({'label':_0x467e65(_0x25058f,_0x5752e7(0x20d)),'icon':_0xfce511}),_0x30933c[_0x5752e7(0x1e8)](_0x5752e7(0x1cc))['to'](_0x5223e5,_0x5752e7(0x231),_0x52ac5e=>_0x52ac5e[_0x5752e7(0x25e)]>0x0);const _0x5d4868=_0x45dc8c(_0x3905db[_0x5752e7(0x1f7)][_0x5752e7(0x1bf)](_0x5752e7(0x230)),_0x25058f);return this[_0x5752e7(0x20b)](_0x5223e5,_0x30933c,_0x5d4868,_0x58286b=>this[_0x5752e7(0x215)](_0x58286b)),_0x30933c;}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x221),()=>{const _0x5e6a7b=_0x2ce207,_0x498c45=this[_0x5e6a7b(0x1fc)](_0x4e217a);return _0x498c45[_0x5e6a7b(0x1eb)]({'tooltip':!0x0,'class':_0x5e6a7b(0x1c8)+this[_0x5e6a7b(0x23f)]}),_0x498c45;}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x24d),()=>{const _0x52fbfe=_0x2ce207,_0x6d9d2b=this[_0x52fbfe(0x1fc)](_0x3c03f4);return _0x6d9d2b[_0x52fbfe(0x1eb)]({'role':_0x52fbfe(0x234)}),_0x6d9d2b;}),this[_0x2ce207(0x1d8)]=this[_0x2ce207(0x252)][_0x2ce207(0x1f7)][_0x2ce207(0x1bf)](_0x2ce207(0x1d8));const _0x2c9206=this[_0x2ce207(0x252)];this[_0x2ce207(0x251)]=setInterval(()=>{const _0x5a1b95=_0x2ce207;let _0x2d47cd;for(const _0x33517 in _0x2c9206){const _0xc7ae2e=_0x33517,_0x476a1e=_0x2c9206[_0xc7ae2e];if(_0x5a1b95(0x224)==_0x476a1e||_0x5a1b95(0x1b8)==_0x476a1e||_0x5a1b95(0x1fa)==_0x476a1e||_0x5a1b95(0x24a)==_0x476a1e||_0x5a1b95(0x208)==_0x476a1e||_0x5a1b95(0x1e3)==_0x476a1e||_0x5a1b95(0x1ee)==_0x476a1e||_0x5a1b95(0x203)==_0x476a1e){delete _0x2c9206[_0xc7ae2e],_0x2d47cd=_0x476a1e,clearInterval(this[_0x5a1b95(0x251)]),this[_0x5a1b95(0x251)]=void 0x0;break;}}_0x5a1b95(0x1b8)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1d6)),_0x5a1b95(0x1fa)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x209)),_0x5a1b95(0x24a)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x210)),_0x5a1b95(0x208)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x202),_0x5a1b95(0x1d9)),_0x5a1b95(0x1e3)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x218)),_0x5a1b95(0x1ee)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1ea)),_0x5a1b95(0x203)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1f9));},0x3e8);}[_0xed0db0(0x1b4)](){const _0x157a39=_0xed0db0;super[_0x157a39(0x1b4)](),this[_0x157a39(0x251)]&&clearInterval(this[_0x157a39(0x251)]);}[_0xed0db0(0x1be)](_0xfb2dfc='',_0x597559='',_0x287d00=_0xed0db0(0x213)){const _0x156939=_0xed0db0,_0x4f562f=this[_0x156939(0x252)],_0x104918=_0x4f562f[_0x156939(0x212)][_0x156939(0x1d5)],_0x53ab7b=_0x4f562f[_0x156939(0x20e)][_0x156939(0x1bf)](_0x5d827e),_0x48152c=_0x4f562f[_0x156939(0x20e)][_0x156939(0x1bf)](_0x31938b);_0x53ab7b[_0x156939(0x244)]();const _0x2834ac=new l(),_0x1d5dbf=new ClipboardEvent(_0x156939(0x1f3),{'clipboardData':_0x2834ac}),_0x9edefe=new _0x29b9d9(_0x2834ac),_0x57539b=new _0x3afc2f(_0x104918,_0x1d5dbf,{'dataTransfer':_0x9edefe});_0x48152c[_0x156939(0x1b6)](_0x156939(0x20c),()=>{const _0x2fd386=_0x156939;_0x104918[_0x2fd386(0x1cb)][_0x2fd386(0x21f)](_0x2fd386(0x1f3),_0x57539b);}),this[_0x156939(0x1cf)]||(this[_0x156939(0x259)](),this[_0x156939(0x22e)]=new _0x343221(_0x4f562f,this[_0x156939(0x21c)][_0x156939(0x1fe)],this[_0x156939(0x1cf)]));let _0x3cc263=_0x9edefe[_0x156939(0x1d2)](_0x156939(0x1da));const _0x4beff3=_0x4f562f[_0x156939(0x228)][_0x156939(0x1cb)][_0x156939(0x21b)],_0x3e4fe3=Array[_0x156939(0x1f1)](_0x4beff3[_0x156939(0x200)]());0x1===_0x3e4fe3[_0x156939(0x25e)]&&_0x3e4fe3[0x0][_0x156939(0x1bc)]&&!_0x4beff3[_0x156939(0x21e)]()&&''!==_0x3cc263[_0x156939(0x1d0)](/&nbsp;/g,'')[_0x156939(0x1b1)]()&&(_0x3cc263=_0x156939(0x258)+_0x3cc263+_0x156939(0x24c)),this[_0x156939(0x22e)][_0x156939(0x207)]({'actionId':_0x287d00,'query':_0xfb2dfc,'htmlContent':_0x3cc263,'label':_0x597559,'mainActionLabel':_0x2a4a9a[_0x4f562f[_0x156939(0x228)][_0x156939(0x1cb)][_0x156939(0x21b)][_0x156939(0x21a)]?_0x156939(0x1e1):_0x156939(0x201)]}),_0x156939(0x221)!==this[_0x156939(0x1d7)]['id']?this[_0x156939(0x1d7)][_0x156939(0x1dd)]({'id':_0x156939(0x221),'icon':_0x2b6e2b,'title':_0x467e65(this[_0x156939(0x252)][_0x156939(0x232)],_0x156939(0x235)),'content':this[_0x156939(0x1cf)],'position':_0xca2be2[_0x156939(0x1db)],'onShow':()=>{const _0x3412ba=_0x156939;this[_0x3412ba(0x1cf)][_0x3412ba(0x1ec)]();},'onHide':()=>{const _0x11cb30=_0x156939;this[_0x11cb30(0x22e)][_0x11cb30(0x1c4)](),_0x53ab7b[_0x11cb30(0x1ce)]();}}):this[_0x156939(0x1d7)][_0x156939(0x1d5)][_0x156939(0x1c3)]||this[_0x156939(0x1d7)][_0x156939(0x1d5)][_0x156939(0x22b)]();}[_0xed0db0(0x22a)](){const _0x4ae324=_0xed0db0;this[_0x4ae324(0x1d7)][_0x4ae324(0x25a)]();}[_0xed0db0(0x1c0)](){const _0x2ecc62=_0xed0db0,_0x3b66a5=new Map(),_0x1dcb36=_0x45dc8c(this[_0x2ecc62(0x252)][_0x2ecc62(0x1f7)][_0x2ecc62(0x1bf)](_0x2ecc62(0x230)),this[_0x2ecc62(0x252)][_0x2ecc62(0x232)]);for(const _0xef75df of _0x1dcb36)for(const _0x3f2759 of _0xef75df[_0x2ecc62(0x1b9)])_0x3b66a5[_0x2ecc62(0x1eb)](_0x3f2759['id'],{..._0x3f2759,'groupId':_0xef75df[_0x2ecc62(0x23e)],'groupLabel':_0xef75df[_0x2ecc62(0x237)]||_0xef75df[_0x2ecc62(0x23e)]});return _0x3b66a5;}[_0xed0db0(0x1fc)](_0x224829){const _0x2e7e05=_0xed0db0,_0xc851b4=this[_0x2e7e05(0x252)],_0x2f854d=_0xc851b4[_0x2e7e05(0x1b9)][_0x2e7e05(0x1bf)](_0x2e7e05(0x1cd)),_0x18121d=new _0x224829(_0xc851b4[_0x2e7e05(0x232)]);return _0x18121d[_0x2e7e05(0x1eb)]({'label':_0x467e65(_0xc851b4[_0x2e7e05(0x232)],_0x2e7e05(0x235)),'icon':_0x2b6e2b,'isToggleable':!0x0}),_0x18121d[_0x2e7e05(0x1e8)](_0x2e7e05(0x1cc))['to'](_0x2f854d),_0x18121d[_0x2e7e05(0x1e8)](_0x2e7e05(0x253))['to'](this[_0x2e7e05(0x1d7)],'id',_0x314c11=>_0x2e7e05(0x221)===_0x314c11),this[_0x2e7e05(0x223)](_0x18121d,_0x2e7e05(0x1e0),()=>{const _0x136e9a=_0x2e7e05;_0x18121d[_0x136e9a(0x253)]?this[_0x136e9a(0x22a)]():_0x2f854d[_0x136e9a(0x1e0)]();}),_0x18121d;}[_0xed0db0(0x259)](){const _0x3ff28b=_0xed0db0,_0x1ecc13=this[_0x3ff28b(0x252)][_0x3ff28b(0x20e)][_0x3ff28b(0x1bf)](_0x5d827e);this[_0x3ff28b(0x1cf)]=new _0x5a3b7f(this[_0x3ff28b(0x252)][_0x3ff28b(0x232)],this[_0x3ff28b(0x23f)],this[_0x3ff28b(0x252)][_0x3ff28b(0x1f7)][_0x3ff28b(0x1bf)](_0x3ff28b(0x25b))),this[_0x3ff28b(0x1cf)]['on'](_0x3ff28b(0x25f),()=>{const _0x70084e=_0x3ff28b;this[_0x70084e(0x1d7)][_0x70084e(0x1d5)][_0x70084e(0x1c3)]||this[_0x70084e(0x1d7)][_0x70084e(0x1d5)][_0x70084e(0x22b)]();}),this[_0x3ff28b(0x1cf)][_0x3ff28b(0x1f8)][_0x3ff28b(0x204)][_0x3ff28b(0x248)]['on'](_0x3ff28b(0x1f2),()=>{const _0x5191c5=_0x3ff28b;this[_0x5191c5(0x1d7)][_0x5191c5(0x1d5)][_0x5191c5(0x1c3)]||this[_0x5191c5(0x1d7)][_0x5191c5(0x1d5)][_0x5191c5(0x22b)]();}),this[_0x3ff28b(0x223)](this[_0x3ff28b(0x1cf)],_0x3ff28b(0x1fd),()=>{const _0x2a9604=_0x3ff28b;_0x1ecc13[_0x2a9604(0x1e5)](this[_0x2a9604(0x22e)][_0x2a9604(0x1bb)]),this[_0x2a9604(0x22a)]();}),this[_0x3ff28b(0x223)](this[_0x3ff28b(0x1cf)],_0x3ff28b(0x24e),()=>{const _0x3b9e02=_0x3ff28b;_0x1ecc13[_0x3b9e02(0x24e)](this[_0x3b9e02(0x22e)][_0x3b9e02(0x1bb)]),this[_0x3b9e02(0x22a)]();}),this[_0x3ff28b(0x1ca)]();}[_0xed0db0(0x1ca)](){const _0x45ab8e=_0xed0db0,{locale:_0x46f501,ui:{ariaLiveAnnouncer:_0x51f354}}=this[_0x45ab8e(0x252)];this[_0x45ab8e(0x1cf)][_0x45ab8e(0x1e6)]['on'](_0x45ab8e(0x1e2),(_0x99c37,_0xf8a767,_0x2f8374)=>{const _0x3d5bc4=_0x45ab8e,_0x353185=this[_0x3d5bc4(0x22e)][_0x3d5bc4(0x1bb)];_0x2f8374?_0x51f354[_0x3d5bc4(0x1ef)](_0x467e65(_0x46f501,_0x3d5bc4(0x257))):_0x353185&&_0x51f354[_0x3d5bc4(0x1ef)](_0x467e65(_0x46f501,_0x3d5bc4(0x23d),_0x353185),{'politeness':_0x3d5bc4(0x240),'isUnsafeHTML':!0x0});}),this[_0x45ab8e(0x1cf)]['on'](_0x45ab8e(0x1b2),(_0x5179d8,_0x1177d2,_0x366ddd)=>{const _0x44c9e3=_0x45ab8e;if(_0x366ddd){const _0x2a9a1c=this[_0x44c9e3(0x1cf)][_0x44c9e3(0x254)][_0x44c9e3(0x1dc)];_0x51f354[_0x44c9e3(0x1ef)](_0x467e65(_0x46f501,_0x44c9e3(0x227),_0x2a9a1c));}});}[_0xed0db0(0x215)](_0x396040){const _0x133f5b=_0xed0db0,_0x1d099d=this[_0x133f5b(0x220)][_0x133f5b(0x1bf)](_0x396040),_0x552e53=this[_0x133f5b(0x252)],_0x35bc82=_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x1cb)][_0x133f5b(0x21b)],_0x4423dc=_0x552e53[_0x133f5b(0x1b9)][_0x133f5b(0x1bf)](_0x133f5b(0x1cd)),_0x5cc2ae=_0x552e53[_0x133f5b(0x20e)][_0x133f5b(0x1bf)](_0x5d827e),_0x34cb64=''+(_0x1d099d[_0x133f5b(0x23e)]!==_0x32d7ff?_0x1d099d[_0x133f5b(0x237)]+':\x20':'')+_0x1d099d[_0x133f5b(0x24b)];if(!0x1!==_0x1d099d[_0x133f5b(0x22c)]&&_0x35bc82[_0x133f5b(0x21a)]){const _0x5335cd=_0x133307(_0x35bc82[_0x133f5b(0x23a)]())||_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x216)][_0x133f5b(0x256)](_0x35bc82);_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x22f)](_0x592976=>{const _0x322bfd=_0x133f5b;_0x592976[_0x322bfd(0x1c2)](_0x5335cd,'in');});}_0x5cc2ae[_0x133f5b(0x244)](),_0x4423dc[_0x133f5b(0x1e0)](_0x1d099d[_0x133f5b(0x25c)],_0x34cb64,_0x133f5b(0x1d1)+_0x396040);}[_0xed0db0(0x20b)](_0xb6597c,_0x424754,_0xc9f471,_0xd26761){const _0x16f964=_0xed0db0,_0x327f8b=this[_0x16f964(0x252)],_0x17e62e=_0x327f8b[_0x16f964(0x232)],_0x5d2a31=new _0x484258(_0x17e62e),_0x3f5d0e=U(_0x327f8b,_0xc9f471)[_0x16f964(0x1b3)](_0x3787ae=>_0x3787ae[_0x16f964(0x1b9)][_0x16f964(0x25e)]);0x1===_0x3f5d0e[_0x16f964(0x25e)]?this[_0x16f964(0x211)]({'command':_0xb6597c,'commands':_0x3f5d0e[0x0][_0x16f964(0x1b9)],'parentMenuView':_0x424754,'onExecute':_0xd26761})[_0x16f964(0x217)](_0x20752a=>_0x5d2a31[_0x16f964(0x250)][_0x16f964(0x219)](_0x20752a)):_0x3f5d0e[_0x16f964(0x217)](({groupId:_0x418025,groupLabel:_0x4c372e,commands:_0x56e667})=>{const _0xd51e71=_0x16f964,_0x57d022=new _0xb8f339(_0x17e62e,_0x424754),_0x3945c7=new _0x1a6e2f(_0x17e62e),_0x3ac5da=new _0x484258(_0x17e62e),_0x529ee3=this[_0xd51e71(0x211)]({'command':_0xb6597c,'commands':_0x56e667,'parentMenuView':_0x3945c7,'onExecute':_0xd26761});_0x3945c7[_0xd51e71(0x1b5)][_0xd51e71(0x1eb)]({'label':_0x4c372e||_0x418025}),_0x3945c7[_0xd51e71(0x229)](_0xd51e71(0x1e0))['to'](_0x424754),_0x3ac5da[_0xd51e71(0x250)][_0xd51e71(0x249)](_0x529ee3),_0x3945c7[_0xd51e71(0x233)][_0xd51e71(0x1b7)][_0xd51e71(0x219)](_0x3ac5da),_0x57d022[_0xd51e71(0x1b7)][_0xd51e71(0x219)](_0x3945c7),_0x5d2a31[_0xd51e71(0x250)][_0xd51e71(0x219)](_0x57d022);}),_0x424754[_0x16f964(0x233)][_0x16f964(0x1b7)][_0x16f964(0x219)](_0x5d2a31);}[_0xed0db0(0x211)]({command:_0x169644,commands:_0x40bc2e,parentMenuView:_0x1b9cd3,onExecute:_0x2be021}){const _0x111d7=_0xed0db0,_0x4e1e1e=this[_0x111d7(0x252)],_0x56aec1=_0x4e1e1e[_0x111d7(0x232)];return U(_0x4e1e1e,_0x40bc2e)[_0x111d7(0x1ed)](_0x436352=>{const _0x479c8e=_0x111d7,_0x2fffee=new _0xb8f339(_0x56aec1,_0x1b9cd3),_0x560895=new _0x3c03f4(_0x56aec1);return _0x560895[_0x479c8e(0x1eb)]({'label':_0x436352[_0x479c8e(0x24b)]}),_0x560895[_0x479c8e(0x229)](_0x479c8e(0x1e0))['to'](_0x1b9cd3),_0x560895['on'](_0x479c8e(0x1e0),()=>_0x2be021(_0x436352['id'])),_0x560895[_0x479c8e(0x1e8)](_0x479c8e(0x1cc))['to'](_0x169644,_0x479c8e(0x231),_0x3bf74d=>_0x3bf74d[_0x479c8e(0x24f)](_0x436352['id'])),_0x2fffee[_0x479c8e(0x1b7)][_0x479c8e(0x219)](_0x560895),_0x2fffee;});}}function T(_0xf11338,_0x2d5db3){const _0x5a3006=_0xed0db0;return void 0x0!==_0xf11338[_0x5a3006(0x1c5)]&&void 0x0===_0x2d5db3[_0x5a3006(0x1c5)]?0x1:void 0x0===_0xf11338[_0x5a3006(0x1c5)]&&void 0x0!==_0x2d5db3[_0x5a3006(0x1c5)]?-0x1:void 0x0!==_0xf11338[_0x5a3006(0x1c5)]&&void 0x0!==_0x2d5db3[_0x5a3006(0x1c5)]?_0xf11338[_0x5a3006(0x1c5)]-_0x2d5db3[_0x5a3006(0x1c5)]:0x0;}function U(_0x3798b9,_0x4c7efc){const _0x4d2d7a=_0xed0db0;_0x4c7efc[_0x4d2d7a(0x1d4)](T);const _0x4d19d2={},_0x1ba0d3=[];for(const _0xe8d075 of _0x4c7efc)if(void 0x0!==_0xe8d075[_0x4d2d7a(0x1c5)]){if(_0xe8d075[_0x4d2d7a(0x1c5)]in _0x4d19d2)throw new _0x44dbf3(_0x4d2d7a(0x1fb),_0x3798b9,{'conflictingDefinitions':[_0xe8d075,_0x4d19d2[_0xe8d075[_0x4d2d7a(0x1c5)]]]});_0x4d19d2[_0xe8d075[_0x4d2d7a(0x1c5)]]=_0xe8d075,_0x1ba0d3[_0x4d2d7a(0x260)](_0xe8d075[_0x4d2d7a(0x1c5)],0x0,_0xe8d075);}else _0x1ba0d3[_0x4d2d7a(0x1bd)](_0xe8d075);return _0x1ba0d3;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d3c(){var _0x2af6f5=['3859976cYGOmN','18ybTkbf','58lTSlxP','6ZUPxWb','3384255dDphid','594hMyKKx','16314gWqkSw','126672DfKiFX','2490948zPgCSX','5025805ALmPgg','398100tBIlAC'];_0x4d3c=function(){return _0x2af6f5;};return _0x4d3c();}(function(_0x3408d6,_0x34e8f9){var _0x442ad5=_0x487f,_0x2650db=_0x3408d6();while(!![]){try{var _0x39d3b0=-parseInt(_0x442ad5(0x101))/0x1*(parseInt(_0x442ad5(0xfd))/0x2)+parseInt(_0x442ad5(0x102))/0x3+-parseInt(_0x442ad5(0x103))/0x4+-parseInt(_0x442ad5(0x104))/0x5*(-parseInt(_0x442ad5(0xfe))/0x6)+-parseInt(_0x442ad5(0xff))/0x7+-parseInt(_0x442ad5(0x106))/0x8*(parseInt(_0x442ad5(0x107))/0x9)+parseInt(_0x442ad5(0x105))/0xa*(parseInt(_0x442ad5(0x100))/0xb);if(_0x39d3b0===_0x34e8f9)break;else _0x2650db['push'](_0x2650db['shift']());}catch(_0x3a19d1){_0x2650db['push'](_0x2650db['shift']());}}}(_0x4d3c,0x9f617));function _0x487f(_0x4875fd,_0x4d2610){var _0x4d3c6e=_0x4d3c();return _0x487f=function(_0x487f8a,_0x59dd48){_0x487f8a=_0x487f8a-0xfd;var _0x225120=_0x4d3c6e[_0x487f8a];return _0x225120;},_0x487f(_0x4875fd,_0x4d2610);}import{CKEditorError as _0x2823b3}from'ckeditor5/src/utils.js';
23
+ (function(_0x35778b,_0x5387fc){var _0x2039cb=_0x3e26,_0x10f64d=_0x35778b();while(!![]){try{var _0x5b7006=-parseInt(_0x2039cb(0x7f))/0x1+-parseInt(_0x2039cb(0x76))/0x2+-parseInt(_0x2039cb(0x75))/0x3*(parseInt(_0x2039cb(0x79))/0x4)+parseInt(_0x2039cb(0x7e))/0x5*(parseInt(_0x2039cb(0x78))/0x6)+parseInt(_0x2039cb(0x7c))/0x7+-parseInt(_0x2039cb(0x7b))/0x8*(-parseInt(_0x2039cb(0x77))/0x9)+parseInt(_0x2039cb(0x7d))/0xa*(parseInt(_0x2039cb(0x7a))/0xb);if(_0x5b7006===_0x5387fc)break;else _0x10f64d['push'](_0x10f64d['shift']());}catch(_0x52bba0){_0x10f64d['push'](_0x10f64d['shift']());}}}(_0x3d81,0x6e56f));import{CKEditorError as _0x4a37a4}from'ckeditor5/src/utils.js';function _0x3e26(_0x5c3d08,_0x381bb){var _0x3d8107=_0x3d81();return _0x3e26=function(_0x3e2618,_0x133f25){_0x3e2618=_0x3e2618-0x75;var _0xcb9db5=_0x3d8107[_0x3e2618];return _0xcb9db5;},_0x3e26(_0x5c3d08,_0x381bb);}function _0x3d81(){var _0x1d5360=['741062apNgYX','5364150wcfxpd','210MUXZsZ','740108mutMbp','6873JvTKHf','1343666dRXBLU','1539CLmwTT','119856HXZdsG','236xwTsMg','11zOsnyH','24224LitRuw'];_0x3d81=function(){return _0x1d5360;};return _0x3d81();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35a867=_0x5897;(function(_0x1f9da4,_0x12ddca){const _0x515bb6=_0x5897,_0x57fdc8=_0x1f9da4();while(!![]){try{const _0x47a6f5=parseInt(_0x515bb6(0xdf))/0x1+parseInt(_0x515bb6(0xd0))/0x2+-parseInt(_0x515bb6(0xcc))/0x3*(-parseInt(_0x515bb6(0xee))/0x4)+parseInt(_0x515bb6(0x9e))/0x5*(-parseInt(_0x515bb6(0xbf))/0x6)+-parseInt(_0x515bb6(0xb2))/0x7*(parseInt(_0x515bb6(0x94))/0x8)+-parseInt(_0x515bb6(0xb0))/0x9+parseInt(_0x515bb6(0xc1))/0xa*(parseInt(_0x515bb6(0x8e))/0xb);if(_0x47a6f5===_0x12ddca)break;else _0x57fdc8['push'](_0x57fdc8['shift']());}catch(_0x1bb440){_0x57fdc8['push'](_0x57fdc8['shift']());}}}(_0x1c3b,0x8129b));import{ObservableMixin as _0x1f699d}from'ckeditor5/src/utils.js';function _0x5897(_0x4c4c74,_0x3de623){const _0x1c3b00=_0x1c3b();return _0x5897=function(_0x589717,_0x19c06f){_0x589717=_0x589717-0x8a;let _0x58e079=_0x1c3b00[_0x589717];return _0x58e079;},_0x5897(_0x4c4c74,_0x3de623);}import{AIRequestError as _0x50414b}from'../adapters/aiadapter.js';import{Matcher as _0xeb35ef,ViewUpcastWriter as _0x3de5df}from'ckeditor5/src/engine.js';function _0x1c3b(){const _0x1419ef=['length','createElement','destroy','submitPrompt','_normalizeResponseHeadings','8YbLthO','finally','rename','childNodes','currentResponse','markers','finishProcessing','exec','message','once','568405dqZcem','render','body','remove','previousQuery','domConverter','stopListening','_domParser','toView','trim','updateView','<h1></h1>','endsWith','element','ai.assistant.preserveComments','handleError','editor','_sanitizationContainer','345258nZUSAH','htmlProcessor','5892089aRArmE','reverse','reset','previousActionId','makeRequest','data','stopProcessing','isProcessing','textAdapter','text/html','match','startsWith','_parseAndNormalizeContent','18FTtTNS','querySelector','132960SFHhHC','innerHTML','div','set:currentContext','name','tryAgainEvent','stringify','parseFromString','ELEMENT_NODE','_xmlSerializer','processor','47784LqenTO','custom','listenTo','substring','226196Ukgdkd','previousLabel','_sanitizeHTML','config','previousContext','serializeToString','nodeType','then','document','viewToDom','view','initialContext','push','```html','catch','268957FXgbkA','startProcessing','prompt','clear','_handleQuery','editing','mainAction','get','setContentOf','set','value','_stripMarkdownSyntax','from','toModel','_isH1TagSupportEnabled','200ZBCdxe','currentContext','abort','isRendered','```','473SqaGAn'];_0x1c3b=function(){return _0x1419ef;};return _0x1c3b();}const ds=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x1f699d(){[_0x35a867(0xae)];[_0x35a867(0xba)];[_0x35a867(0xda)];[_0x35a867(0xaf)];[_0x35a867(0xa5)];[_0x35a867(0xca)];constructor(_0x12b245,_0x3b1a9f,_0x370a05){const _0x45e663=_0x35a867;super(),this[_0x45e663(0xae)]=_0x12b245,this[_0x45e663(0xba)]=_0x3b1a9f,this[_0x45e663(0xaf)]=document[_0x45e663(0x90)](_0x45e663(0xc3)),this[_0x45e663(0xa5)]=new DOMParser(),this[_0x45e663(0xca)]=new XMLSerializer(),this[_0x45e663(0xda)]=_0x370a05,this[_0x45e663(0xe8)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x45e663(0xc4),(_0x5a199d,_0x36aeac,_0x1bce5e)=>{const _0x58b464=_0x45e663;this[_0x58b464(0xda)][_0x58b464(0xe9)]=this[_0x58b464(0xd2)](_0x1bce5e);}),this[_0x45e663(0xce)](this[_0x45e663(0xda)],_0x45e663(0x92),(_0x483c99,_0x38767d)=>{const _0xc642ad=_0x45e663,_0x2e05fc=this[_0xc642ad(0x8a)]||this[_0xc642ad(0xdb)];this[_0xc642ad(0xe3)](_0x38767d,_0x2e05fc,_0xc642ad(0xcd));}),this[_0x45e663(0xce)](this[_0x45e663(0xda)],_0x45e663(0xc6),()=>{const _0x11fa0e=_0x45e663;this[_0x11fa0e(0xda)][_0x11fa0e(0xe1)]=this[_0x11fa0e(0xd1)],this[_0x11fa0e(0xe3)](this[_0x11fa0e(0xa2)],this[_0x11fa0e(0xd4)],this[_0x11fa0e(0xb5)],this[_0x11fa0e(0xd1)]);}),this[_0x45e663(0xce)](this[_0x45e663(0xda)],_0x45e663(0xb8),()=>{const _0x46c013=_0x45e663;this[_0x46c013(0xb8)]();});}[_0x35a867(0x91)](){const _0x389d1b=_0x35a867;this[_0x389d1b(0xa4)]();}async[_0x35a867(0xa8)]({actionId:_0x335236,query:_0x3f4fc2,htmlContent:_0x405b59,label:_0x33891c,mainActionLabel:_0x3de662}){const _0x2d42ac=_0x35a867;this[_0x2d42ac(0xda)][_0x2d42ac(0xe1)]=_0x33891c,this[_0x2d42ac(0xda)][_0x2d42ac(0xe5)]=_0x3de662,this[_0x2d42ac(0xdb)]=_0x405b59,_0x3f4fc2&&(this[_0x2d42ac(0xda)][_0x2d42ac(0x8c)]?this[_0x2d42ac(0xe3)](_0x3f4fc2,_0x405b59,_0x335236,_0x33891c):this[_0x2d42ac(0xda)][_0x2d42ac(0x9d)](_0x2d42ac(0x9f),()=>{const _0x431fec=_0x2d42ac;this[_0x431fec(0xe3)](_0x3f4fc2,_0x405b59,_0x335236,_0x33891c);}));}[_0x35a867(0xb8)](){const _0x41a3d0=_0x35a867;this[_0x41a3d0(0xb9)]&&(this[_0x41a3d0(0xb9)]=!0x1,this[_0x41a3d0(0xda)][_0x41a3d0(0x9a)](),this[_0x41a3d0(0xba)][_0x41a3d0(0x8b)]());}[_0x35a867(0xb4)](){const _0x2b193a=_0x35a867;this[_0x2b193a(0xdb)]='',this[_0x2b193a(0x8a)]='',this[_0x2b193a(0x98)]='',this[_0x2b193a(0xd4)]='',this[_0x2b193a(0xa2)]='',this[_0x2b193a(0xd1)]='',this[_0x2b193a(0xb5)]=void 0x0,this[_0x2b193a(0xda)][_0x2b193a(0xb4)](),this[_0x2b193a(0xb8)]();}async[_0x35a867(0xe3)](_0x189989,_0x1abe4c,_0x16dd6e,_0x2dc22e){const _0x57663d=_0x35a867;return this[_0x57663d(0xb9)]=!0x0,this[_0x57663d(0xda)][_0x57663d(0xe0)](),this[_0x57663d(0xd4)]=_0x1abe4c,this[_0x57663d(0xa2)]=_0x189989,this[_0x57663d(0xd1)]=_0x2dc22e||_0x189989,this[_0x57663d(0xb5)]=_0x16dd6e,new Promise(_0x46baa8=>{const _0x2e0de8=_0x57663d;this[_0x2e0de8(0xba)][_0x2e0de8(0xb6)]({'query':_0x189989,'context':_0x1abe4c,'onData':_0x198f29=>{const _0x18584c=_0x2e0de8;this[_0x18584c(0x98)]=_0x198f29,this[_0x18584c(0x8a)]=this[_0x18584c(0xbe)](this[_0x18584c(0x98)]);},'actionId':_0x16dd6e})[_0x2e0de8(0xd7)](()=>{const _0x43cb7c=_0x2e0de8;!this[_0x43cb7c(0x8a)]&&this[_0x43cb7c(0x98)]&&(this[_0x43cb7c(0x8a)]=this[_0x43cb7c(0xbe)](this[_0x43cb7c(0x98)],!0x0));})[_0x2e0de8(0xde)](_0x486ac5=>{const _0x3feff7=_0x2e0de8;_0x486ac5 instanceof _0x50414b?this[_0x3feff7(0xda)][_0x3feff7(0xad)](_0x486ac5[_0x3feff7(0x9c)]):this[_0x3feff7(0xda)][_0x3feff7(0xad)](),_0x46baa8();})[_0x2e0de8(0x95)](()=>{const _0x558a6e=_0x2e0de8;this[_0x558a6e(0xb8)](),_0x46baa8();});});}[_0x35a867(0xbe)](_0x2a4113,_0x312666=!0x1){const _0x3448d0=_0x35a867,_0x56f77d=ds[_0x3448d0(0x9b)](_0x2a4113);_0x2a4113=_0x56f77d?_0x2a4113[_0x3448d0(0xcf)](_0x56f77d[0x1][_0x3448d0(0x8f)]):_0x2a4113[_0x3448d0(0x8f)]<0x64&&!_0x312666?'':this[_0x3448d0(0xea)](_0x2a4113);const _0x159e6e=this[_0x3448d0(0xa5)][_0x3448d0(0xc8)](_0x2a4113,_0x3448d0(0xbb));if(_0x56f77d){const _0x24c38c=Array[_0x3448d0(0xeb)](_0x159e6e[_0x3448d0(0xa0)][_0x3448d0(0x97)]);_0x24c38c[_0x3448d0(0xb3)]();for(const _0x1557ff of _0x24c38c){if(_0x1557ff[_0x3448d0(0xd6)]==Node[_0x3448d0(0xc9)])break;_0x1557ff[_0x3448d0(0xa1)]();}}const _0x45a550=this[_0x3448d0(0xae)][_0x3448d0(0xb7)][_0x3448d0(0xcb)][_0x3448d0(0xa6)](this[_0x3448d0(0xca)][_0x3448d0(0xd5)](_0x159e6e[_0x3448d0(0xa0)]));this[_0x3448d0(0xed)]()||this[_0x3448d0(0x93)](_0x45a550);const _0x5553ac=this[_0x3448d0(0xae)][_0x3448d0(0xd3)][_0x3448d0(0xe6)](_0x3448d0(0xac)),_0x1b2910=this[_0x3448d0(0xae)][_0x3448d0(0xb7)][_0x3448d0(0xec)](_0x45a550);return _0x5553ac||_0x1b2910[_0x3448d0(0x99)][_0x3448d0(0xe2)](),this[_0x3448d0(0xae)][_0x3448d0(0xb7)][_0x3448d0(0xc7)](_0x1b2910);}[_0x35a867(0x93)](_0x319d8e){const _0x28eff7=_0x35a867,_0x2dc529=new _0x3de5df(this[_0x28eff7(0xae)][_0x28eff7(0xe4)][_0x28eff7(0xda)][_0x28eff7(0xd8)]),_0x742104=new _0xeb35ef({'name':/^h[1-5]$/}),_0x253e51=[];let _0x1ee664=!0x1;for(const _0x8def of _0x319d8e)_0x8def['is'](_0x28eff7(0xab))&&_0x742104[_0x28eff7(0xbc)](_0x8def)&&(_0x253e51[_0x28eff7(0xdc)](_0x8def),'h1'==_0x8def[_0x28eff7(0xc5)]&&(_0x1ee664=!0x0));if(_0x1ee664){for(const _0x509f2d of _0x253e51)_0x2dc529[_0x28eff7(0x96)]('h'+(parseInt(_0x509f2d[_0x28eff7(0xc5)][0x1])+0x1),_0x509f2d);}}[_0x35a867(0xed)](){const _0x17eb6d=_0x35a867,{data:_0x380432,editing:_0x47f421}=this[_0x17eb6d(0xae)],_0x1dd5ce=_0x380432[_0x17eb6d(0xb1)][_0x17eb6d(0xa6)](_0x17eb6d(0xa9)),_0x473ed4=_0x380432[_0x17eb6d(0xa6)](_0x380432[_0x17eb6d(0xec)](_0x1dd5ce));return!!_0x47f421[_0x17eb6d(0xda)][_0x17eb6d(0xa3)][_0x17eb6d(0xd9)](_0x473ed4)[_0x17eb6d(0xc0)]('h1');}[_0x35a867(0xd2)](_0x17f93e){const _0x5b69b0=_0x35a867;return this[_0x5b69b0(0xae)][_0x5b69b0(0xe4)][_0x5b69b0(0xda)][_0x5b69b0(0xa3)][_0x5b69b0(0xe7)](this[_0x5b69b0(0xaf)],_0x17f93e),this[_0x5b69b0(0xaf)][_0x5b69b0(0xc2)];}[_0x35a867(0xea)](_0x189d90){const _0x3f1115=_0x35a867,_0x460e28=_0x189d90[_0x3f1115(0xa7)]();return _0x460e28[_0x3f1115(0xbd)](_0x3f1115(0xdd))?_0x460e28[_0x3f1115(0xaa)](_0x3f1115(0x8d))?_0x460e28[_0x3f1115(0xcf)](0x7,_0x460e28[_0x3f1115(0x8f)]-0x3):_0x460e28[_0x3f1115(0xcf)](0x7):_0x189d90;}}
23
+ const _0x31c39=_0x1bb2;function _0x1bb2(_0x419aa7,_0x450be5){const _0x5852c7=_0x5852();return _0x1bb2=function(_0x1bb2eb,_0x2c74a4){_0x1bb2eb=_0x1bb2eb-0x11d;let _0x19e252=_0x5852c7[_0x1bb2eb];return _0x19e252;},_0x1bb2(_0x419aa7,_0x450be5);}(function(_0x59b57a,_0x256f99){const _0x140a39=_0x1bb2,_0x461835=_0x59b57a();while(!![]){try{const _0x50e6aa=parseInt(_0x140a39(0x144))/0x1+-parseInt(_0x140a39(0x17c))/0x2*(parseInt(_0x140a39(0x17a))/0x3)+parseInt(_0x140a39(0x15a))/0x4*(parseInt(_0x140a39(0x129))/0x5)+-parseInt(_0x140a39(0x130))/0x6+parseInt(_0x140a39(0x11f))/0x7*(parseInt(_0x140a39(0x166))/0x8)+-parseInt(_0x140a39(0x13a))/0x9+-parseInt(_0x140a39(0x165))/0xa*(-parseInt(_0x140a39(0x15d))/0xb);if(_0x50e6aa===_0x256f99)break;else _0x461835['push'](_0x461835['shift']());}catch(_0x3e1dac){_0x461835['push'](_0x461835['shift']());}}}(_0x5852,0x65b1e));import{ObservableMixin as _0x53c574}from'ckeditor5/src/utils.js';import{AIRequestError as _0x13dcef}from'../adapters/aiadapter.js';import{Matcher as _0x32541f,ViewUpcastWriter as _0x1a477d}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x53c574(){[_0x31c39(0x15b)];[_0x31c39(0x176)];[_0x31c39(0x16d)];[_0x31c39(0x12c)];[_0x31c39(0x128)];[_0x31c39(0x175)];constructor(_0x4a191c,_0x3bee05,_0x2b55d8){const _0x7ec3b2=_0x31c39;super(),this[_0x7ec3b2(0x15b)]=_0x4a191c,this[_0x7ec3b2(0x176)]=_0x3bee05,this[_0x7ec3b2(0x12c)]=document[_0x7ec3b2(0x120)](_0x7ec3b2(0x121)),this[_0x7ec3b2(0x128)]=new DOMParser(),this[_0x7ec3b2(0x175)]=new XMLSerializer(),this[_0x7ec3b2(0x16d)]=_0x2b55d8,this[_0x7ec3b2(0x17f)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x7ec3b2(0x11e),(_0x27c564,_0x596193,_0x103cdf)=>{const _0x5d8ade=_0x7ec3b2;this[_0x5d8ade(0x16d)][_0x5d8ade(0x127)]=this[_0x5d8ade(0x123)](_0x103cdf);}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x125),(_0x5b1923,_0x25bda8)=>{const _0x170f9d=_0x7ec3b2,_0x571a0b=this[_0x170f9d(0x163)]||this[_0x170f9d(0x180)];this[_0x170f9d(0x12e)](_0x25bda8,_0x571a0b,_0x170f9d(0x155));}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x14a),()=>{const _0x3bdf85=_0x7ec3b2;this[_0x3bdf85(0x16d)][_0x3bdf85(0x17d)]=this[_0x3bdf85(0x179)],this[_0x3bdf85(0x12e)](this[_0x3bdf85(0x172)],this[_0x3bdf85(0x167)],this[_0x3bdf85(0x14f)],this[_0x3bdf85(0x179)]);}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x153),()=>{const _0x47161e=_0x7ec3b2;this[_0x47161e(0x153)]();});}[_0x31c39(0x13b)](){const _0x5f31ef=_0x31c39;this[_0x5f31ef(0x146)]();}async[_0x31c39(0x171)]({actionId:_0x3cb945,query:_0x8e40ea,htmlContent:_0x5615f2,label:_0x52ae67,mainActionLabel:_0x2fa745}){const _0x143ef1=_0x31c39;this[_0x143ef1(0x16d)][_0x143ef1(0x17d)]=_0x52ae67,this[_0x143ef1(0x16d)][_0x143ef1(0x16b)]=_0x2fa745,this[_0x143ef1(0x180)]=_0x5615f2,_0x8e40ea&&(this[_0x143ef1(0x16d)][_0x143ef1(0x14e)]?this[_0x143ef1(0x12e)](_0x8e40ea,_0x5615f2,_0x3cb945,_0x52ae67):this[_0x143ef1(0x16d)][_0x143ef1(0x12d)](_0x143ef1(0x13e),()=>{const _0x9d989a=_0x143ef1;this[_0x9d989a(0x12e)](_0x8e40ea,_0x5615f2,_0x3cb945,_0x52ae67);}));}[_0x31c39(0x153)](){const _0x2c1fda=_0x31c39;this[_0x2c1fda(0x17e)]&&(this[_0x2c1fda(0x17e)]=!0x1,this[_0x2c1fda(0x16d)][_0x2c1fda(0x14c)](),this[_0x2c1fda(0x176)][_0x2c1fda(0x15e)]());}[_0x31c39(0x15f)](){const _0xf696bd=_0x31c39;this[_0xf696bd(0x180)]='',this[_0xf696bd(0x163)]='',this[_0xf696bd(0x13d)]='',this[_0xf696bd(0x167)]='',this[_0xf696bd(0x172)]='',this[_0xf696bd(0x179)]='',this[_0xf696bd(0x14f)]=void 0x0,this[_0xf696bd(0x16d)][_0xf696bd(0x15f)](),this[_0xf696bd(0x153)]();}async[_0x31c39(0x12e)](_0x498295,_0x37f991,_0x55c284,_0x31f7f9){const _0x778e88=_0x31c39;return this[_0x778e88(0x17e)]=!0x0,this[_0x778e88(0x16d)][_0x778e88(0x16a)](),this[_0x778e88(0x167)]=_0x37f991,this[_0x778e88(0x172)]=_0x498295,this[_0x778e88(0x179)]=_0x31f7f9||_0x498295,this[_0x778e88(0x14f)]=_0x55c284,new Promise(_0x52f48c=>{const _0x3687fc=_0x778e88;this[_0x3687fc(0x176)][_0x3687fc(0x174)]({'query':_0x498295,'context':_0x37f991,'onData':_0x4286ea=>{const _0xa51bec=_0x3687fc;this[_0xa51bec(0x13d)]=_0x4286ea,this[_0xa51bec(0x163)]=this[_0xa51bec(0x135)](this[_0xa51bec(0x13d)]);},'actionId':_0x55c284})[_0x3687fc(0x137)](()=>{const _0x405920=_0x3687fc;!this[_0x405920(0x163)]&&this[_0x405920(0x13d)]&&(this[_0x405920(0x163)]=this[_0x405920(0x135)](this[_0x405920(0x13d)],!0x0));})[_0x3687fc(0x136)](_0x16cdf9=>{const _0x4aaa88=_0x3687fc;_0x16cdf9 instanceof _0x13dcef?this[_0x4aaa88(0x16d)][_0x4aaa88(0x134)](_0x16cdf9[_0x4aaa88(0x147)]):this[_0x4aaa88(0x16d)][_0x4aaa88(0x134)](),_0x52f48c();})[_0x3687fc(0x160)](()=>{const _0x45ce09=_0x3687fc;this[_0x45ce09(0x153)](),_0x52f48c();});});}[_0x31c39(0x135)](_0x5eef6f,_0x27d469=!0x1){const _0x1bf47c=_0x31c39,_0x39561a=hs[_0x1bf47c(0x16e)](_0x5eef6f);_0x5eef6f=_0x39561a?_0x5eef6f[_0x1bf47c(0x170)](_0x39561a[0x1][_0x1bf47c(0x12f)]):_0x5eef6f[_0x1bf47c(0x12f)]<0x64&&!_0x27d469?'':this[_0x1bf47c(0x168)](_0x5eef6f);const _0x399212=this[_0x1bf47c(0x128)][_0x1bf47c(0x13c)](_0x5eef6f,_0x1bf47c(0x14b));if(_0x39561a){const _0x44f4a2=Array[_0x1bf47c(0x138)](_0x399212[_0x1bf47c(0x132)][_0x1bf47c(0x15c)]);_0x44f4a2[_0x1bf47c(0x124)]();for(const _0x315df0 of _0x44f4a2){if(_0x315df0[_0x1bf47c(0x169)]==Node[_0x1bf47c(0x122)])break;_0x315df0[_0x1bf47c(0x12b)]();}}const _0x10711f=this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x162)][_0x1bf47c(0x159)](this[_0x1bf47c(0x175)][_0x1bf47c(0x177)](_0x399212[_0x1bf47c(0x132)]));this[_0x1bf47c(0x161)]()||this[_0x1bf47c(0x178)](_0x10711f);const _0xf72bf=this[_0x1bf47c(0x15b)][_0x1bf47c(0x149)][_0x1bf47c(0x12a)](_0x1bf47c(0x158)),_0x39c523=this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x156)](_0x10711f);return _0xf72bf||_0x39c523[_0x1bf47c(0x148)][_0x1bf47c(0x181)](),this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x143)](_0x39c523);}[_0x31c39(0x178)](_0xc42a97){const _0x4d01df=_0x31c39,_0x98c001=new _0x1a477d(this[_0x4d01df(0x15b)][_0x4d01df(0x13f)][_0x4d01df(0x16d)][_0x4d01df(0x133)]),_0x381f4a=new _0x32541f({'name':/^h[1-5]$/}),_0x1a867c=[];let _0x49c911=!0x1;for(const _0x539744 of _0xc42a97)_0x539744['is'](_0x4d01df(0x152))&&_0x381f4a[_0x4d01df(0x16c)](_0x539744)&&(_0x1a867c[_0x4d01df(0x139)](_0x539744),'h1'==_0x539744[_0x4d01df(0x150)]&&(_0x49c911=!0x0));if(_0x49c911){for(const _0x4d93a2 of _0x1a867c)_0x98c001[_0x4d01df(0x11d)]('h'+(parseInt(_0x4d93a2[_0x4d01df(0x150)][0x1])+0x1),_0x4d93a2);}}[_0x31c39(0x161)](){const _0x2b4561=_0x31c39,{data:_0x45419c,editing:_0x1b1825}=this[_0x2b4561(0x15b)],_0x2e3d8d=_0x45419c[_0x2b4561(0x16f)][_0x2b4561(0x159)](_0x2b4561(0x173)),_0x360fa7=_0x45419c[_0x2b4561(0x159)](_0x45419c[_0x2b4561(0x156)](_0x2e3d8d));return!!_0x1b1825[_0x2b4561(0x16d)][_0x2b4561(0x131)][_0x2b4561(0x140)](_0x360fa7)[_0x2b4561(0x126)]('h1');}[_0x31c39(0x123)](_0x4f80b2){const _0x59cc2e=_0x31c39;return this[_0x59cc2e(0x15b)][_0x59cc2e(0x13f)][_0x59cc2e(0x16d)][_0x59cc2e(0x131)][_0x59cc2e(0x154)](this[_0x59cc2e(0x12c)],_0x4f80b2),this[_0x59cc2e(0x12c)][_0x59cc2e(0x142)];}[_0x31c39(0x168)](_0x1a41b5){const _0xb2964d=_0x31c39,_0x94a201=_0x1a41b5[_0xb2964d(0x151)]();return _0x94a201[_0xb2964d(0x14d)](_0xb2964d(0x141))?_0x94a201[_0xb2964d(0x164)](_0xb2964d(0x145))?_0x94a201[_0xb2964d(0x170)](0x7,_0x94a201[_0xb2964d(0x12f)]-0x3):_0x94a201[_0xb2964d(0x170)](0x7):_0x1a41b5;}}function _0x5852(){const _0x294746=['reset','finally','_isH1TagSupportEnabled','processor','currentContext','endsWith','19430zqTfUt','27704HmxroX','previousContext','_stripMarkdownSyntax','nodeType','startProcessing','mainAction','match','view','exec','htmlProcessor','substring','updateView','previousQuery','<h1></h1>','makeRequest','_xmlSerializer','textAdapter','serializeToString','_normalizeResponseHeadings','previousLabel','6pbvQth','listenTo','264202WaOaqo','prompt','isProcessing','set','initialContext','clear','rename','set:currentContext','203zYOiBL','createElement','div','ELEMENT_NODE','_sanitizeHTML','reverse','submitPrompt','querySelector','value','_domParser','3590CQvdEe','get','remove','_sanitizationContainer','once','_handleQuery','length','3019548SwWhbi','domConverter','body','document','handleError','_parseAndNormalizeContent','catch','then','from','push','1064538tYUKAX','destroy','parseFromString','currentResponse','render','editing','viewToDom','```html','innerHTML','stringify','694609HfxuYq','```','stopListening','message','markers','config','tryAgainEvent','text/html','finishProcessing','startsWith','isRendered','previousActionId','name','trim','element','stopProcessing','setContentOf','custom','toModel','data','ai.assistant.preserveComments','toView','2696yYlIdL','editor','childNodes','132yYTxFp','abort'];_0x5852=function(){return _0x294746;};return _0x5852();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ab43f=_0x1ffa;(function(_0x46b939,_0x26a128){const _0x40774a=_0x1ffa,_0x2f6f8d=_0x46b939();while(!![]){try{const _0x39365b=-parseInt(_0x40774a(0x181))/0x1+-parseInt(_0x40774a(0x175))/0x2+-parseInt(_0x40774a(0x183))/0x3+parseInt(_0x40774a(0x16e))/0x4+-parseInt(_0x40774a(0x15f))/0x5+-parseInt(_0x40774a(0x185))/0x6+parseInt(_0x40774a(0x170))/0x7*(parseInt(_0x40774a(0x179))/0x8);if(_0x39365b===_0x26a128)break;else _0x2f6f8d['push'](_0x2f6f8d['shift']());}catch(_0x1a858f){_0x2f6f8d['push'](_0x2f6f8d['shift']());}}}(_0x49ed,0xb5880));import{global as _0x119cce}from'ckeditor5/src/utils.js';import{View as _0x35714a,ButtonView as _0x463bd1,SpinnerView as _0x1391f4}from'ckeditor5/src/ui.js';import{IconCheck as _0x201b0f,IconCopy as _0x4447c9}from'ckeditor5/src/icons.js';function _0x1ffa(_0x474560,_0x349d68){const _0x49ed7e=_0x49ed();return _0x1ffa=function(_0x1ffa28,_0x494f83){_0x1ffa28=_0x1ffa28-0x134;let _0x459d5a=_0x49ed7e[_0x1ffa28];return _0x459d5a;},_0x1ffa(_0x474560,_0x349d68);}import{getTranslation as _0x38408c}from'../../utils/common-translations.js';function _0x49ed(){const _0x28d55d=['-9999px','<span>]</span>','loaderView','scrollHeight','wheel','createElement','ck-ai-form__content-area--processing','Copy','setStartAfter','icon','body','remove','ck-ai-form__copy-button-wrapper','isVisible','ck-content','div','firstElementChild','3139455tQFtMI','bindTemplate','\x20ck-ai-form__copy-button--copied','text/plain','.ck-ai-form__loader','ck-ai-form__content-area-wrapper','change:value','copyButtonView','createRange','setContent','setEndBefore','isProcessing','position','appendChild','querySelector','1173216OxGfAP','element','347515BNiTgW','addRange','clipboard','ClipboardItem','execute','833360bnDVol','innerHTML','ck-ai-form__loader','set','528aoCgfJ','change:isProcessing','value','_createLoader','_copyHTMLToClipboard','absolute','appendLoader','isEnabled','1306299FKFdGH','scrollTo','1293585rwONhS','locale','265542XhEAxS','focus','lastElementChild','AI\x20is\x20writing...','ck-hidden','getSelection','style','smooth','bind','text/html','class','copy','execCommand','ck-ai-form__content-area','mousedown','ck-reset_all-excluded','textContent','ck-ai-form__content-field','removeAllRanges','contentFieldView','write','listenTo','_createCopyButton','setTemplate','render','<span>[</span>','ck-ai-form__copy-button','left'];_0x49ed=function(){return _0x28d55d;};return _0x49ed();}export class AIFormContentArea extends _0x35714a{[_0x3ab43f(0x145)];[_0x3ab43f(0x166)];constructor(_0x5110bd,_0x19990a=''){const _0x510820=_0x3ab43f;super(_0x5110bd),this[_0x510820(0x178)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xfbaf8=this[_0x510820(0x160)];this[_0x510820(0x145)]=new ContentFieldView(_0x5110bd,_0x19990a),this[_0x510820(0x166)]=this[_0x510820(0x148)](),this[_0x510820(0x149)]({'tag':_0x510820(0x15d),'attributes':{'class':['ck',_0x510820(0x164),_0xfbaf8['if'](_0x510820(0x15b),_0x510820(0x136),_0x1550ac=>!_0x1550ac)],'tabindex':'-1'},'children':[{'tag':_0x510820(0x15d),'attributes':{'class':['ck',_0x510820(0x13f),_0xfbaf8['if'](_0x510820(0x16a),_0x510820(0x154))]},'children':[this[_0x510820(0x145)],{'tag':_0x510820(0x15d),'attributes':{'class':['ck',_0x510820(0x15a)]},'children':[this[_0x510820(0x166)]]}]}]});}[_0x3ab43f(0x14a)](){const _0x281802=_0x3ab43f;super[_0x281802(0x14a)](),this[_0x281802(0x17b)]&&this[_0x281802(0x145)][_0x281802(0x168)](this[_0x281802(0x17b)]);let _0x150cb2=!0x1;this['on'](_0x281802(0x165),(_0x155845,_0x2a291f,_0xd9aaeb)=>{const _0x1f2aeb=_0x281802,_0x3247ef=!this[_0x1f2aeb(0x145)][_0x1f2aeb(0x16f)][_0x1f2aeb(0x16d)](_0x1f2aeb(0x163));this[_0x1f2aeb(0x145)][_0x1f2aeb(0x168)](_0xd9aaeb),this[_0x1f2aeb(0x16a)]&&_0x3247ef&&!_0x150cb2&&this[_0x1f2aeb(0x16f)][_0x1f2aeb(0x182)]({'top':this[_0x1f2aeb(0x16f)][_0x1f2aeb(0x151)],'behavior':_0x1f2aeb(0x139)});}),this['on'](_0x281802(0x17a),(_0x5ee82f,_0x16d754,_0x5c3fa6)=>{const _0x4f3c53=_0x281802;_0x150cb2=!0x1,_0x5c3fa6?(this[_0x4f3c53(0x17b)]=null,this[_0x4f3c53(0x145)][_0x4f3c53(0x17f)]()):this[_0x4f3c53(0x17b)]||this[_0x4f3c53(0x145)][_0x4f3c53(0x168)]('');}),this[_0x281802(0x147)](this[_0x281802(0x16f)],_0x281802(0x152),()=>{_0x150cb2=!0x0;}),this[_0x281802(0x147)](this[_0x281802(0x16f)],_0x281802(0x140),()=>{_0x150cb2=!0x0;});}[_0x3ab43f(0x186)](){const _0x374970=_0x3ab43f;this[_0x374970(0x16f)][_0x374970(0x186)]();}[_0x3ab43f(0x148)](){const _0x42d2b1=_0x3ab43f,_0x3d166c=this[_0x42d2b1(0x184)],_0x5a2101=new _0x463bd1(this[_0x42d2b1(0x184)]),_0x5ef470=_0x42d2b1(0x14c);return _0x5a2101[_0x42d2b1(0x178)]({'label':_0x38408c(_0x3d166c,_0x42d2b1(0x155)),'icon':_0x4447c9,'class':_0x5ef470,'tooltip':!0x0}),_0x5a2101[_0x42d2b1(0x13a)](_0x42d2b1(0x15b))['to'](this,_0x42d2b1(0x17b),_0x6885b0=>!!_0x6885b0),_0x5a2101[_0x42d2b1(0x13a)](_0x42d2b1(0x180))['to'](this,_0x42d2b1(0x16a),_0x53ff61=>!_0x53ff61),_0x5a2101['on'](_0x42d2b1(0x174),()=>{const _0x1973b2=_0x42d2b1;this[_0x1973b2(0x17d)](this[_0x1973b2(0x145)][_0x1973b2(0x16f)]),_0x5a2101[_0x1973b2(0x157)]=_0x201b0f,_0x5a2101[_0x1973b2(0x13c)]=_0x5ef470+_0x1973b2(0x161),this[_0x1973b2(0x186)](),setTimeout(()=>{const _0x48cb01=_0x1973b2;_0x5a2101[_0x48cb01(0x157)]=_0x4447c9,_0x5a2101[_0x48cb01(0x13c)]=_0x5ef470;},0x3e8);}),_0x5a2101;}[_0x3ab43f(0x17d)](_0x1231aa){const _0x3f1539=_0x3ab43f,{window:_0x179a54,document:_0x145e0e}=_0x119cce;if(_0x179a54[_0x3f1539(0x173)]){const {Blob:_0x501853,ClipboardItem:_0x4b65a7}=_0x179a54,_0x35a30a=[new _0x4b65a7({'text/html':new _0x501853([_0x1231aa[_0x3f1539(0x176)]],{'type':_0x3f1539(0x13b)}),'text/plain':new _0x501853([_0x1231aa[_0x3f1539(0x142)]||''],{'type':_0x3f1539(0x162)})})];navigator[_0x3f1539(0x172)][_0x3f1539(0x146)](_0x35a30a);}else{const _0x271724=_0x145e0e[_0x3f1539(0x153)](_0x3f1539(0x15d));_0x271724[_0x3f1539(0x138)][_0x3f1539(0x16b)]=_0x3f1539(0x17e),_0x271724[_0x3f1539(0x138)][_0x3f1539(0x14d)]=_0x3f1539(0x14e),_0x271724[_0x3f1539(0x176)]=_0x3f1539(0x14b)+_0x1231aa[_0x3f1539(0x176)]+_0x3f1539(0x14f),_0x145e0e[_0x3f1539(0x158)][_0x3f1539(0x16c)](_0x271724);const _0x1975a2=_0x145e0e[_0x3f1539(0x167)]();_0x1975a2[_0x3f1539(0x156)](_0x271724[_0x3f1539(0x15e)]),_0x1975a2[_0x3f1539(0x169)](_0x271724[_0x3f1539(0x134)]);const _0x5ddd54=_0x179a54[_0x3f1539(0x137)]();_0x5ddd54[_0x3f1539(0x144)](),_0x5ddd54[_0x3f1539(0x171)](_0x1975a2),_0x145e0e[_0x3f1539(0x13e)](_0x3f1539(0x13d)),_0x271724[_0x3f1539(0x159)]();}}}export class ContentFieldView extends _0x35714a{constructor(_0x4db938,_0x1affe6=''){const _0x20da4d=_0x3ab43f;super(_0x4db938),this[_0x20da4d(0x150)]=this[_0x20da4d(0x17c)](),this[_0x20da4d(0x149)]({'tag':_0x20da4d(0x15d),'attributes':{'class':['ck',_0x20da4d(0x15c),_0x1affe6,_0x20da4d(0x141),_0x20da4d(0x143)]}});}[_0x3ab43f(0x168)](_0x481848){const _0x8b5748=_0x3ab43f;this[_0x8b5748(0x16f)][_0x8b5748(0x176)]=_0x481848;}[_0x3ab43f(0x17f)](){const _0x2d1eca=_0x3ab43f;this[_0x2d1eca(0x16f)][_0x2d1eca(0x16c)](this[_0x2d1eca(0x150)][_0x2d1eca(0x16f)]);}[_0x3ab43f(0x17c)](){const _0x27cf71=_0x3ab43f,_0x440308=new _0x35714a(),_0x4d2335=this[_0x27cf71(0x184)],_0x3d0ee7=new _0x1391f4();return _0x3d0ee7[_0x27cf71(0x15b)]=!0x0,_0x440308[_0x27cf71(0x149)]({'tag':_0x27cf71(0x15d),'attributes':{'class':['ck',_0x27cf71(0x177)]},'children':[_0x3d0ee7,{'text':_0x38408c(_0x4d2335,_0x27cf71(0x135))}]}),_0x440308[_0x27cf71(0x14a)](),_0x440308;}}
23
+ const _0x557356=_0x199f;(function(_0x31abe4,_0xca49c0){const _0x3fd41f=_0x199f,_0x242fae=_0x31abe4();while(!![]){try{const _0x3dcd41=-parseInt(_0x3fd41f(0x1f3))/0x1+-parseInt(_0x3fd41f(0x1eb))/0x2+-parseInt(_0x3fd41f(0x1e9))/0x3*(-parseInt(_0x3fd41f(0x220))/0x4)+parseInt(_0x3fd41f(0x222))/0x5+parseInt(_0x3fd41f(0x1fd))/0x6+-parseInt(_0x3fd41f(0x20e))/0x7+parseInt(_0x3fd41f(0x20a))/0x8*(parseInt(_0x3fd41f(0x1e3))/0x9);if(_0x3dcd41===_0xca49c0)break;else _0x242fae['push'](_0x242fae['shift']());}catch(_0x5b1b31){_0x242fae['push'](_0x242fae['shift']());}}}(_0x3e17,0x74eb2));function _0x3e17(){const _0x37e5ca=['copyButtonView','smooth','555888rwGaHL','setContent','_createLoader','bindTemplate','_createCopyButton','render','ck-ai-form__content-area-wrapper','mousedown','AI\x20is\x20writing...','appendLoader','firstElementChild','body','textContent','60696HxrCCp','isEnabled','focus','setEndBefore','4687333RcVeJC','set','addRange','appendChild','left','loaderView','remove','value','isProcessing','ck-reset_all-excluded','ck-ai-form__content-area--processing','listenTo','style','createRange','clipboard','<span>]</span>','contentFieldView','<span>[</span>','12EKwlhG','absolute','2017355KBUSmo','change:value','createElement','text/plain','ck-ai-form__content-field','isVisible','-9999px','ck-content','position','\x20ck-ai-form__copy-button--copied','element','_copyHTMLToClipboard','getSelection','setTemplate','locale','scrollHeight','bind','execute','ck-ai-form__copy-button-wrapper','innerHTML','ck-ai-form__copy-button','1152dqnjQW','setStartAfter','Copy','scrollTo','.ck-ai-form__loader','copy','945501pzjitx','removeAllRanges','1183688lyDWwy','text/html','ClipboardItem','change:isProcessing','querySelector','lastElementChild','ck-ai-form__loader','ck-hidden','672395VrssNL','icon','write','wheel','class','execCommand','div','ck-ai-form__content-area'];_0x3e17=function(){return _0x37e5ca;};return _0x3e17();}import{global as _0x101b5f}from'ckeditor5/src/utils.js';import{View as _0x1994c7,ButtonView as _0xe4119a,SpinnerView as _0x26fcf3}from'ckeditor5/src/ui.js';function _0x199f(_0x57b534,_0x1a008f){const _0x3e1782=_0x3e17();return _0x199f=function(_0x199f8e,_0xa6f64c){_0x199f8e=_0x199f8e-0x1d7;let _0x326a38=_0x3e1782[_0x199f8e];return _0x326a38;},_0x199f(_0x57b534,_0x1a008f);}import{IconCheck as _0x48733f,IconCopy as _0x34479e}from'ckeditor5/src/icons.js';import{getTranslation as _0x5e37e3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x1994c7{[_0x557356(0x21e)];[_0x557356(0x1fb)];constructor(_0x33b920,_0x3cd633=''){const _0x18d9fb=_0x557356;super(_0x33b920),this[_0x18d9fb(0x20f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x22800a=this[_0x18d9fb(0x200)];this[_0x18d9fb(0x21e)]=new ContentFieldView(_0x33b920,_0x3cd633),this[_0x18d9fb(0x1fb)]=this[_0x18d9fb(0x201)](),this[_0x18d9fb(0x1db)]({'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x203),_0x22800a['if'](_0x18d9fb(0x227),_0x18d9fb(0x1f2),_0x32738d=>!_0x32738d)],'tabindex':'-1'},'children':[{'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x1fa),_0x22800a['if'](_0x18d9fb(0x216),_0x18d9fb(0x218))]},'children':[this[_0x18d9fb(0x21e)],{'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x1e0)]},'children':[this[_0x18d9fb(0x1fb)]]}]}]});}[_0x557356(0x202)](){const _0x2fad75=_0x557356;super[_0x2fad75(0x202)](),this[_0x2fad75(0x215)]&&this[_0x2fad75(0x21e)][_0x2fad75(0x1fe)](this[_0x2fad75(0x215)]);let _0x4d2aea=!0x1;this['on'](_0x2fad75(0x223),(_0x2de64e,_0x523757,_0x9f56b0)=>{const _0x2cd3ea=_0x2fad75,_0x134f17=!this[_0x2cd3ea(0x21e)][_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1ef)](_0x2cd3ea(0x1e7));this[_0x2cd3ea(0x21e)][_0x2cd3ea(0x1fe)](_0x9f56b0),this[_0x2cd3ea(0x216)]&&_0x134f17&&!_0x4d2aea&&this[_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1e6)]({'top':this[_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1dd)],'behavior':_0x2cd3ea(0x1fc)});}),this['on'](_0x2fad75(0x1ee),(_0x170625,_0x2edae2,_0x1c4e1d)=>{const _0x4365a5=_0x2fad75;_0x4d2aea=!0x1,_0x1c4e1d?(this[_0x4365a5(0x215)]=null,this[_0x4365a5(0x21e)][_0x4365a5(0x206)]()):this[_0x4365a5(0x215)]||this[_0x4365a5(0x21e)][_0x4365a5(0x1fe)]('');}),this[_0x2fad75(0x219)](this[_0x2fad75(0x1d8)],_0x2fad75(0x1f6),()=>{_0x4d2aea=!0x0;}),this[_0x2fad75(0x219)](this[_0x2fad75(0x1d8)],_0x2fad75(0x204),()=>{_0x4d2aea=!0x0;});}[_0x557356(0x20c)](){const _0x2093b4=_0x557356;this[_0x2093b4(0x1d8)][_0x2093b4(0x20c)]();}[_0x557356(0x201)](){const _0xf3bfdf=_0x557356,_0x5c00a5=this[_0xf3bfdf(0x1dc)],_0x8879d8=new _0xe4119a(this[_0xf3bfdf(0x1dc)]),_0x4c4a82=_0xf3bfdf(0x1e2);return _0x8879d8[_0xf3bfdf(0x20f)]({'label':_0x5e37e3(_0x5c00a5,_0xf3bfdf(0x1e5)),'icon':_0x34479e,'class':_0x4c4a82,'tooltip':!0x0}),_0x8879d8[_0xf3bfdf(0x1de)](_0xf3bfdf(0x227))['to'](this,_0xf3bfdf(0x215),_0x3f8c08=>!!_0x3f8c08),_0x8879d8[_0xf3bfdf(0x1de)](_0xf3bfdf(0x20b))['to'](this,_0xf3bfdf(0x216),_0x87129a=>!_0x87129a),_0x8879d8['on'](_0xf3bfdf(0x1df),()=>{const _0x47c7c8=_0xf3bfdf;this[_0x47c7c8(0x1d9)](this[_0x47c7c8(0x21e)][_0x47c7c8(0x1d8)]),_0x8879d8[_0x47c7c8(0x1f4)]=_0x48733f,_0x8879d8[_0x47c7c8(0x1f7)]=_0x4c4a82+_0x47c7c8(0x1d7),this[_0x47c7c8(0x20c)](),setTimeout(()=>{const _0x217210=_0x47c7c8;_0x8879d8[_0x217210(0x1f4)]=_0x34479e,_0x8879d8[_0x217210(0x1f7)]=_0x4c4a82;},0x3e8);}),_0x8879d8;}[_0x557356(0x1d9)](_0x179849){const _0x191971=_0x557356,{window:_0x18c07c,document:_0x6726ea}=_0x101b5f;if(_0x18c07c[_0x191971(0x1ed)]){const {Blob:_0xcb6dc8,ClipboardItem:_0x16ad7b}=_0x18c07c,_0x32e112=[new _0x16ad7b({'text/html':new _0xcb6dc8([_0x179849[_0x191971(0x1e1)]],{'type':_0x191971(0x1ec)}),'text/plain':new _0xcb6dc8([_0x179849[_0x191971(0x209)]||''],{'type':_0x191971(0x225)})})];navigator[_0x191971(0x21c)][_0x191971(0x1f5)](_0x32e112);}else{const _0x43fecc=_0x6726ea[_0x191971(0x224)](_0x191971(0x1f9));_0x43fecc[_0x191971(0x21a)][_0x191971(0x22a)]=_0x191971(0x221),_0x43fecc[_0x191971(0x21a)][_0x191971(0x212)]=_0x191971(0x228),_0x43fecc[_0x191971(0x1e1)]=_0x191971(0x21f)+_0x179849[_0x191971(0x1e1)]+_0x191971(0x21d),_0x6726ea[_0x191971(0x208)][_0x191971(0x211)](_0x43fecc);const _0x5517bf=_0x6726ea[_0x191971(0x21b)]();_0x5517bf[_0x191971(0x1e4)](_0x43fecc[_0x191971(0x207)]),_0x5517bf[_0x191971(0x20d)](_0x43fecc[_0x191971(0x1f0)]);const _0x4523d6=_0x18c07c[_0x191971(0x1da)]();_0x4523d6[_0x191971(0x1ea)](),_0x4523d6[_0x191971(0x210)](_0x5517bf),_0x6726ea[_0x191971(0x1f8)](_0x191971(0x1e8)),_0x43fecc[_0x191971(0x214)]();}}}export class ContentFieldView extends _0x1994c7{constructor(_0x532516,_0x25725b=''){const _0x302d06=_0x557356;super(_0x532516),this[_0x302d06(0x213)]=this[_0x302d06(0x1ff)](),this[_0x302d06(0x1db)]({'tag':_0x302d06(0x1f9),'attributes':{'class':['ck',_0x302d06(0x229),_0x25725b,_0x302d06(0x217),_0x302d06(0x226)]}});}[_0x557356(0x1fe)](_0x15fa85){const _0x59ab99=_0x557356;this[_0x59ab99(0x1d8)][_0x59ab99(0x1e1)]=_0x15fa85;}[_0x557356(0x206)](){const _0x47e82e=_0x557356;this[_0x47e82e(0x1d8)][_0x47e82e(0x211)](this[_0x47e82e(0x213)][_0x47e82e(0x1d8)]);}[_0x557356(0x1ff)](){const _0x4ad2ed=_0x557356,_0x2403eb=new _0x1994c7(),_0x92a953=this[_0x4ad2ed(0x1dc)],_0x102f03=new _0x26fcf3();return _0x102f03[_0x4ad2ed(0x227)]=!0x0,_0x2403eb[_0x4ad2ed(0x1db)]({'tag':_0x4ad2ed(0x1f9),'attributes':{'class':['ck',_0x4ad2ed(0x1f1)]},'children':[_0x102f03,{'text':_0x5e37e3(_0x92a953,_0x4ad2ed(0x205))}]}),_0x2403eb[_0x4ad2ed(0x202)](),_0x2403eb;}}