@ckeditor/ckeditor5-ai 46.1.1-alpha.3 → 47.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (624) hide show
  1. package/LICENSE.md +18 -5
  2. package/README.md +10 -9
  3. package/build/ai.js +2 -2
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/be.js +1 -1
  9. package/build/translations/bg.js +1 -1
  10. package/build/translations/bn.js +1 -1
  11. package/build/translations/bs.js +1 -1
  12. package/build/translations/ca.js +1 -1
  13. package/build/translations/cs.js +1 -1
  14. package/build/translations/da.js +1 -1
  15. package/build/translations/de-ch.js +1 -1
  16. package/build/translations/de.js +1 -1
  17. package/build/translations/el.js +1 -1
  18. package/build/translations/en-au.js +1 -1
  19. package/build/translations/en-gb.js +1 -1
  20. package/build/translations/eo.js +1 -1
  21. package/build/translations/es-co.js +1 -1
  22. package/build/translations/es.js +1 -1
  23. package/build/translations/et.js +1 -1
  24. package/build/translations/eu.js +1 -1
  25. package/build/translations/fa.js +1 -1
  26. package/build/translations/fi.js +1 -1
  27. package/build/translations/fr.js +1 -1
  28. package/build/translations/gl.js +1 -1
  29. package/build/translations/gu.js +1 -1
  30. package/build/translations/he.js +1 -1
  31. package/build/translations/hi.js +1 -1
  32. package/build/translations/hr.js +1 -1
  33. package/build/translations/hu.js +1 -1
  34. package/build/translations/hy.js +1 -1
  35. package/build/translations/id.js +1 -1
  36. package/build/translations/it.js +1 -1
  37. package/build/translations/ja.js +1 -1
  38. package/build/translations/jv.js +1 -1
  39. package/build/translations/kk.js +1 -1
  40. package/build/translations/km.js +1 -1
  41. package/build/translations/kn.js +1 -1
  42. package/build/translations/ko.js +1 -1
  43. package/build/translations/ku.js +1 -1
  44. package/build/translations/lt.js +1 -1
  45. package/build/translations/lv.js +1 -1
  46. package/build/translations/ms.js +1 -1
  47. package/build/translations/nb.js +1 -1
  48. package/build/translations/ne.js +1 -1
  49. package/build/translations/nl.js +1 -1
  50. package/build/translations/no.js +1 -1
  51. package/build/translations/oc.js +1 -1
  52. package/build/translations/pl.js +1 -1
  53. package/build/translations/pt-br.js +1 -1
  54. package/build/translations/pt.js +1 -1
  55. package/build/translations/ro.js +1 -1
  56. package/build/translations/ru.js +1 -1
  57. package/build/translations/si.js +1 -1
  58. package/build/translations/sk.js +1 -1
  59. package/build/translations/sl.js +1 -1
  60. package/build/translations/sq.js +1 -1
  61. package/build/translations/sr-latn.js +1 -1
  62. package/build/translations/sr.js +1 -1
  63. package/build/translations/sv.js +1 -1
  64. package/build/translations/th.js +1 -1
  65. package/build/translations/ti.js +1 -1
  66. package/build/translations/tk.js +1 -1
  67. package/build/translations/tr.js +1 -1
  68. package/build/translations/tt.js +1 -1
  69. package/build/translations/ug.js +1 -1
  70. package/build/translations/uk.js +1 -1
  71. package/build/translations/ur.js +1 -1
  72. package/build/translations/uz.js +1 -1
  73. package/build/translations/vi.js +1 -1
  74. package/build/translations/zh-cn.js +1 -1
  75. package/build/translations/zh.js +1 -1
  76. package/ckeditor5-metadata.json +24 -3
  77. package/dist/index-content.css +0 -1
  78. package/dist/index-editor.css +2648 -0
  79. package/dist/index.css +3047 -0
  80. package/dist/index.js +4 -2
  81. package/dist/translations/af.js +1 -1
  82. package/dist/translations/af.umd.js +1 -1
  83. package/dist/translations/ar.js +1 -1
  84. package/dist/translations/ar.umd.js +1 -1
  85. package/dist/translations/ast.js +1 -1
  86. package/dist/translations/ast.umd.js +1 -1
  87. package/dist/translations/az.js +1 -1
  88. package/dist/translations/az.umd.js +1 -1
  89. package/dist/translations/be.js +1 -1
  90. package/dist/translations/be.umd.js +1 -1
  91. package/dist/translations/bg.js +1 -1
  92. package/dist/translations/bg.umd.js +1 -1
  93. package/dist/translations/bn.js +1 -1
  94. package/dist/translations/bn.umd.js +1 -1
  95. package/dist/translations/bs.js +1 -1
  96. package/dist/translations/bs.umd.js +1 -1
  97. package/dist/translations/ca.js +1 -1
  98. package/dist/translations/ca.umd.js +1 -1
  99. package/dist/translations/cs.js +1 -1
  100. package/dist/translations/cs.umd.js +1 -1
  101. package/dist/translations/da.js +1 -1
  102. package/dist/translations/da.umd.js +1 -1
  103. package/dist/translations/de-ch.js +1 -1
  104. package/dist/translations/de-ch.umd.js +1 -1
  105. package/dist/translations/de.js +1 -1
  106. package/dist/translations/de.umd.js +1 -1
  107. package/dist/translations/el.js +1 -1
  108. package/dist/translations/el.umd.js +1 -1
  109. package/dist/translations/en-au.js +1 -1
  110. package/dist/translations/en-au.umd.js +1 -1
  111. package/dist/translations/en-gb.js +1 -1
  112. package/dist/translations/en-gb.umd.js +1 -1
  113. package/dist/translations/en.js +1 -1
  114. package/dist/translations/en.umd.js +1 -1
  115. package/dist/translations/eo.js +1 -1
  116. package/dist/translations/eo.umd.js +1 -1
  117. package/dist/translations/es-co.js +1 -1
  118. package/dist/translations/es-co.umd.js +1 -1
  119. package/dist/translations/es.js +1 -1
  120. package/dist/translations/es.umd.js +1 -1
  121. package/dist/translations/et.js +1 -1
  122. package/dist/translations/et.umd.js +1 -1
  123. package/dist/translations/eu.js +1 -1
  124. package/dist/translations/eu.umd.js +1 -1
  125. package/dist/translations/fa.js +1 -1
  126. package/dist/translations/fa.umd.js +1 -1
  127. package/dist/translations/fi.js +1 -1
  128. package/dist/translations/fi.umd.js +1 -1
  129. package/dist/translations/fr.js +1 -1
  130. package/dist/translations/fr.umd.js +1 -1
  131. package/dist/translations/gl.js +1 -1
  132. package/dist/translations/gl.umd.js +1 -1
  133. package/dist/translations/gu.js +1 -1
  134. package/dist/translations/gu.umd.js +1 -1
  135. package/dist/translations/he.js +1 -1
  136. package/dist/translations/he.umd.js +1 -1
  137. package/dist/translations/hi.js +1 -1
  138. package/dist/translations/hi.umd.js +1 -1
  139. package/dist/translations/hr.js +1 -1
  140. package/dist/translations/hr.umd.js +1 -1
  141. package/dist/translations/hu.js +1 -1
  142. package/dist/translations/hu.umd.js +1 -1
  143. package/dist/translations/hy.js +1 -1
  144. package/dist/translations/hy.umd.js +1 -1
  145. package/dist/translations/id.js +1 -1
  146. package/dist/translations/id.umd.js +1 -1
  147. package/dist/translations/it.js +1 -1
  148. package/dist/translations/it.umd.js +1 -1
  149. package/dist/translations/ja.js +1 -1
  150. package/dist/translations/ja.umd.js +1 -1
  151. package/dist/translations/jv.js +1 -1
  152. package/dist/translations/jv.umd.js +1 -1
  153. package/dist/translations/kk.js +1 -1
  154. package/dist/translations/kk.umd.js +1 -1
  155. package/dist/translations/km.js +1 -1
  156. package/dist/translations/km.umd.js +1 -1
  157. package/dist/translations/kn.js +1 -1
  158. package/dist/translations/kn.umd.js +1 -1
  159. package/dist/translations/ko.js +1 -1
  160. package/dist/translations/ko.umd.js +1 -1
  161. package/dist/translations/ku.js +1 -1
  162. package/dist/translations/ku.umd.js +1 -1
  163. package/dist/translations/lt.js +1 -1
  164. package/dist/translations/lt.umd.js +1 -1
  165. package/dist/translations/lv.js +1 -1
  166. package/dist/translations/lv.umd.js +1 -1
  167. package/dist/translations/ms.js +1 -1
  168. package/dist/translations/ms.umd.js +1 -1
  169. package/dist/translations/nb.js +1 -1
  170. package/dist/translations/nb.umd.js +1 -1
  171. package/dist/translations/ne.js +1 -1
  172. package/dist/translations/ne.umd.js +1 -1
  173. package/dist/translations/nl.js +1 -1
  174. package/dist/translations/nl.umd.js +1 -1
  175. package/dist/translations/no.js +1 -1
  176. package/dist/translations/no.umd.js +1 -1
  177. package/dist/translations/oc.js +1 -1
  178. package/dist/translations/oc.umd.js +1 -1
  179. package/dist/translations/pl.js +1 -1
  180. package/dist/translations/pl.umd.js +1 -1
  181. package/dist/translations/pt-br.js +1 -1
  182. package/dist/translations/pt-br.umd.js +1 -1
  183. package/dist/translations/pt.js +1 -1
  184. package/dist/translations/pt.umd.js +1 -1
  185. package/dist/translations/ro.js +1 -1
  186. package/dist/translations/ro.umd.js +1 -1
  187. package/dist/translations/ru.js +1 -1
  188. package/dist/translations/ru.umd.js +1 -1
  189. package/dist/translations/si.js +1 -1
  190. package/dist/translations/si.umd.js +1 -1
  191. package/dist/translations/sk.js +1 -1
  192. package/dist/translations/sk.umd.js +1 -1
  193. package/dist/translations/sl.js +1 -1
  194. package/dist/translations/sl.umd.js +1 -1
  195. package/dist/translations/sq.js +1 -1
  196. package/dist/translations/sq.umd.js +1 -1
  197. package/dist/translations/sr-latn.js +1 -1
  198. package/dist/translations/sr-latn.umd.js +1 -1
  199. package/dist/translations/sr.js +1 -1
  200. package/dist/translations/sr.umd.js +1 -1
  201. package/dist/translations/sv.js +1 -1
  202. package/dist/translations/sv.umd.js +1 -1
  203. package/dist/translations/th.js +1 -1
  204. package/dist/translations/th.umd.js +1 -1
  205. package/dist/translations/ti.js +1 -1
  206. package/dist/translations/ti.umd.js +1 -1
  207. package/dist/translations/tk.js +1 -1
  208. package/dist/translations/tk.umd.js +1 -1
  209. package/dist/translations/tr.js +1 -1
  210. package/dist/translations/tr.umd.js +1 -1
  211. package/dist/translations/tt.js +1 -1
  212. package/dist/translations/tt.umd.js +1 -1
  213. package/dist/translations/ug.js +1 -1
  214. package/dist/translations/ug.umd.js +1 -1
  215. package/dist/translations/uk.js +1 -1
  216. package/dist/translations/uk.umd.js +1 -1
  217. package/dist/translations/ur.js +1 -1
  218. package/dist/translations/ur.umd.js +1 -1
  219. package/dist/translations/uz.js +1 -1
  220. package/dist/translations/uz.umd.js +1 -1
  221. package/dist/translations/vi.js +1 -1
  222. package/dist/translations/vi.umd.js +1 -1
  223. package/dist/translations/zh-cn.js +1 -1
  224. package/dist/translations/zh-cn.umd.js +1 -1
  225. package/dist/translations/zh.js +1 -1
  226. package/dist/translations/zh.umd.js +1 -1
  227. package/lang/contexts.json +162 -1
  228. package/lang/translations/af.po +612 -0
  229. package/lang/translations/ar.po +628 -0
  230. package/lang/translations/ast.po +612 -0
  231. package/lang/translations/az.po +612 -0
  232. package/lang/translations/be.po +616 -0
  233. package/lang/translations/bg.po +612 -0
  234. package/lang/translations/bn.po +612 -0
  235. package/lang/translations/bs.po +616 -0
  236. package/lang/translations/ca.po +612 -0
  237. package/lang/translations/cs.po +616 -0
  238. package/lang/translations/da.po +612 -0
  239. package/lang/translations/de-ch.po +612 -0
  240. package/lang/translations/de.po +612 -0
  241. package/lang/translations/el.po +612 -0
  242. package/lang/translations/en-au.po +612 -0
  243. package/lang/translations/en-gb.po +612 -0
  244. package/lang/translations/en.po +612 -0
  245. package/lang/translations/eo.po +612 -0
  246. package/lang/translations/es-co.po +612 -0
  247. package/lang/translations/es.po +612 -0
  248. package/lang/translations/et.po +612 -0
  249. package/lang/translations/eu.po +612 -0
  250. package/lang/translations/fa.po +608 -0
  251. package/lang/translations/fi.po +612 -0
  252. package/lang/translations/fr.po +612 -0
  253. package/lang/translations/gl.po +612 -0
  254. package/lang/translations/gu.po +612 -0
  255. package/lang/translations/he.po +612 -0
  256. package/lang/translations/hi.po +612 -0
  257. package/lang/translations/hr.po +616 -0
  258. package/lang/translations/hu.po +612 -0
  259. package/lang/translations/hy.po +612 -0
  260. package/lang/translations/id.po +608 -0
  261. package/lang/translations/it.po +612 -0
  262. package/lang/translations/ja.po +608 -0
  263. package/lang/translations/jv.po +612 -0
  264. package/lang/translations/kk.po +612 -0
  265. package/lang/translations/km.po +608 -0
  266. package/lang/translations/kn.po +612 -0
  267. package/lang/translations/ko.po +608 -0
  268. package/lang/translations/ku.po +612 -0
  269. package/lang/translations/lt.po +616 -0
  270. package/lang/translations/lv.po +616 -0
  271. package/lang/translations/ms.po +608 -0
  272. package/lang/translations/nb.po +612 -0
  273. package/lang/translations/ne.po +612 -0
  274. package/lang/translations/nl.po +612 -0
  275. package/lang/translations/no.po +612 -0
  276. package/lang/translations/oc.po +612 -0
  277. package/lang/translations/pl.po +616 -0
  278. package/lang/translations/pt-br.po +612 -0
  279. package/lang/translations/pt.po +612 -0
  280. package/lang/translations/ro.po +616 -0
  281. package/lang/translations/ru.po +616 -0
  282. package/lang/translations/si.po +612 -0
  283. package/lang/translations/sk.po +616 -0
  284. package/lang/translations/sl.po +620 -0
  285. package/lang/translations/sq.po +612 -0
  286. package/lang/translations/sr-latn.po +616 -0
  287. package/lang/translations/sr.po +616 -0
  288. package/lang/translations/sv.po +612 -0
  289. package/lang/translations/th.po +608 -0
  290. package/lang/translations/ti.po +612 -0
  291. package/lang/translations/tk.po +612 -0
  292. package/lang/translations/tr.po +612 -0
  293. package/lang/translations/tt.po +608 -0
  294. package/lang/translations/ug.po +608 -0
  295. package/lang/translations/uk.po +616 -0
  296. package/lang/translations/ur.po +612 -0
  297. package/lang/translations/uz.po +612 -0
  298. package/lang/translations/vi.po +608 -0
  299. package/lang/translations/zh-cn.po +608 -0
  300. package/lang/translations/zh.po +608 -0
  301. package/package.json +23 -11
  302. package/src/aiactions/aiactions.d.ts +48 -0
  303. package/src/aiactions/aiactions.js +23 -0
  304. package/src/aiactions/model/aiactionsinteraction.d.ts +48 -0
  305. package/src/aiactions/model/aiactionsinteraction.js +23 -0
  306. package/src/aiactions/model/aiactionsreply.d.ts +15 -0
  307. package/src/aiactions/model/aiactionsreply.js +23 -0
  308. package/src/{adapters → aiassistant/adapters}/aiadapter.d.ts +1 -1
  309. package/src/aiassistant/adapters/aiadapter.js +23 -0
  310. package/src/{adapters → aiassistant/adapters}/aitextadapter.d.ts +9 -9
  311. package/src/aiassistant/adapters/aitextadapter.js +23 -0
  312. package/src/{adapters → aiassistant/adapters}/awstextadapter.d.ts +36 -23
  313. package/src/aiassistant/adapters/awstextadapter.js +23 -0
  314. package/src/{adapters → aiassistant/adapters}/openaitextadapter.d.ts +38 -25
  315. package/src/aiassistant/adapters/openaitextadapter.js +23 -0
  316. package/src/{aiassistant.d.ts → aiassistant/aiassistant.d.ts} +54 -13
  317. package/src/aiassistant/aiassistant.js +23 -0
  318. package/src/aiassistant/aiassistantediting.js +23 -0
  319. package/src/{aiassistantui.d.ts → aiassistant/aiassistantui.d.ts} +4 -4
  320. package/src/aiassistant/aiassistantui.js +23 -0
  321. package/src/aiassistant/legacyerrors.js +23 -0
  322. package/src/{ui → aiassistant/ui}/aiassistantcontroller.d.ts +5 -4
  323. package/src/aiassistant/ui/aiassistantcontroller.js +24 -0
  324. package/src/{ui → aiassistant/ui}/form/aiformcontentarea.d.ts +1 -1
  325. package/src/aiassistant/ui/form/aiformcontentarea.js +23 -0
  326. package/src/aiassistant/ui/form/aiformerrorview.js +23 -0
  327. package/src/{ui → aiassistant/ui}/form/aiformpromptview.d.ts +1 -1
  328. package/src/aiassistant/ui/form/aiformpromptview.js +23 -0
  329. package/src/{ui → aiassistant/ui}/form/aiformtoolbarview.d.ts +1 -1
  330. package/src/aiassistant/ui/form/aiformtoolbarview.js +23 -0
  331. package/src/{ui → aiassistant/ui}/form/aiformview.d.ts +1 -1
  332. package/src/aiassistant/ui/form/aiformview.js +23 -0
  333. package/src/{ui → aiassistant/ui}/form/aihistorylistitemview.d.ts +1 -1
  334. package/src/aiassistant/ui/form/aihistorylistitemview.js +23 -0
  335. package/src/{ui → aiassistant/ui}/form/aihistorylistview.d.ts +1 -1
  336. package/src/aiassistant/ui/form/aihistorylistview.js +23 -0
  337. package/src/{ui → aiassistant/ui}/form/prompthistory.d.ts +3 -0
  338. package/src/aiassistant/ui/form/prompthistory.js +23 -0
  339. package/src/{ui → aiassistant/ui}/showaiassistantcommand.d.ts +2 -2
  340. package/src/aiassistant/ui/showaiassistantcommand.js +23 -0
  341. package/src/{utils → aiassistant/utils}/common-translations.d.ts +1 -1
  342. package/src/{utils → aiassistant/utils}/common-translations.js +1 -1
  343. package/src/{utils → aiassistant/utils}/normalizecommandsconfig.d.ts +2 -2
  344. package/src/{utils → aiassistant/utils}/normalizecommandsconfig.js +1 -1
  345. package/src/aiballoon/aiballoon.d.ts +72 -0
  346. package/src/aiballoon/aiballoon.js +23 -0
  347. package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +17 -0
  348. package/src/aiballoon/ui/aiballoondisclaimerview.js +23 -0
  349. package/src/aiballoon/ui/aiballoontoolbarview.d.ts +31 -0
  350. package/src/aiballoon/ui/aiballoontoolbarview.js +23 -0
  351. package/src/aiballoon/ui/aiballoonview.d.ts +109 -0
  352. package/src/aiballoon/ui/aiballoonview.js +23 -0
  353. package/src/aichat/aichat.d.ts +79 -0
  354. package/src/aichat/aichat.js +23 -0
  355. package/src/aichat/aichatcontroller.d.ts +68 -0
  356. package/src/aichat/aichatcontroller.js +23 -0
  357. package/src/aichat/aichatui.d.ts +297 -0
  358. package/src/aichat/aichatui.js +23 -0
  359. package/src/aichat/model/aichatcontext.d.ts +360 -0
  360. package/src/aichat/model/aichatcontext.js +23 -0
  361. package/src/aichat/model/aichatconversation.d.ts +270 -0
  362. package/src/aichat/model/aichatconversation.js +23 -0
  363. package/src/aichat/model/aichatinteraction.d.ts +46 -0
  364. package/src/aichat/model/aichatinteraction.js +23 -0
  365. package/src/aichat/model/aichatmodels.d.ts +77 -0
  366. package/src/aichat/model/aichatmodels.js +23 -0
  367. package/src/aichat/ui/aichatcontrolsview.d.ts +98 -0
  368. package/src/aichat/ui/aichatcontrolsview.js +23 -0
  369. package/src/aichat/ui/aichatfeedview.d.ts +114 -0
  370. package/src/aichat/ui/aichatfeedview.js +23 -0
  371. package/src/aichat/ui/aichatheaderview.d.ts +29 -0
  372. package/src/aichat/ui/aichatheaderview.js +23 -0
  373. package/src/aichat/ui/aichatview.d.ts +37 -0
  374. package/src/aichat/ui/aichatview.js +23 -0
  375. package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +71 -0
  376. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +23 -0
  377. package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +46 -0
  378. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +23 -0
  379. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +89 -0
  380. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +23 -0
  381. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +105 -0
  382. package/src/aichat/ui/controls/aichatcontextpanelview.js +23 -0
  383. package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +12 -0
  384. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +23 -0
  385. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +89 -0
  386. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +23 -0
  387. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +44 -0
  388. package/src/aichat/ui/controls/aichatpromptinputview.js +23 -0
  389. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +17 -0
  390. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +23 -0
  391. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +61 -0
  392. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +23 -0
  393. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +100 -0
  394. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +23 -0
  395. package/src/aichat/ui/controls/resources/aichatresourceslistview.d.ts +49 -0
  396. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +23 -0
  397. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +61 -0
  398. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +23 -0
  399. package/src/aichat/ui/controls/resources/aichatresourcesview.d.ts +54 -0
  400. package/src/aichat/ui/controls/resources/aichatresourcesview.js +23 -0
  401. package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +27 -0
  402. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +23 -0
  403. package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +39 -0
  404. package/src/aichat/ui/feed/aichatfeederroritemview.js +23 -0
  405. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +29 -0
  406. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +23 -0
  407. package/src/aichat/ui/feed/aichatfeeditemview.d.ts +46 -0
  408. package/src/aichat/ui/feed/aichatfeeditemview.js +23 -0
  409. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +46 -0
  410. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +23 -0
  411. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +74 -0
  412. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +23 -0
  413. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +74 -0
  414. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +23 -0
  415. package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +40 -0
  416. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +23 -0
  417. package/src/aichat/utils/eventnames.d.ts +5 -0
  418. package/src/aichat/utils/eventnames.js +23 -0
  419. package/src/aichat/utils/promisequeue.d.ts +32 -0
  420. package/src/aichat/utils/promisequeue.js +23 -0
  421. package/src/aichat/utils/scrollmanager.d.ts +23 -0
  422. package/src/aichat/utils/scrollmanager.js +23 -0
  423. package/src/aichathistory/aichathistory.d.ts +30 -0
  424. package/src/aichathistory/aichathistory.js +23 -0
  425. package/src/aichathistory/aichathistorycontroller.d.ts +40 -0
  426. package/src/aichathistory/aichathistorycontroller.js +23 -0
  427. package/src/aichathistory/aichathistoryui.d.ts +112 -0
  428. package/src/aichathistory/aichathistoryui.js +23 -0
  429. package/src/aichathistory/model/aichathistoryconversations.d.ts +114 -0
  430. package/src/aichathistory/model/aichathistoryconversations.js +23 -0
  431. package/src/aichathistory/model/aichathistoryitem.d.ts +59 -0
  432. package/src/aichathistory/model/aichathistoryitem.js +23 -0
  433. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +42 -0
  434. package/src/aichathistory/ui/aichathistorylistitemview.js +23 -0
  435. package/src/aichathistory/ui/aichathistorylistview.d.ts +31 -0
  436. package/src/aichathistory/ui/aichathistorylistview.js +23 -0
  437. package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +17 -0
  438. package/src/aichathistory/ui/aichathistorysectionlistview.js +23 -0
  439. package/src/aichathistory/ui/aichathistoryview.d.ts +41 -0
  440. package/src/aichathistory/ui/aichathistoryview.js +23 -0
  441. package/src/aiconfig.d.ts +82 -31
  442. package/src/aicore/aiconnector.d.ts +302 -0
  443. package/src/aicore/aiconnector.js +23 -0
  444. package/src/aicore/aiediting.d.ts +61 -0
  445. package/src/aicore/aiediting.js +23 -0
  446. package/src/aicore/model/aicapabilities.d.ts +55 -0
  447. package/src/aicore/model/aicapabilities.js +23 -0
  448. package/src/aicore/model/aicontext.d.ts +53 -0
  449. package/src/aicore/model/aicontext.js +23 -0
  450. package/src/aicore/model/aiinteraction.d.ts +135 -0
  451. package/src/aicore/model/aiinteraction.js +23 -0
  452. package/src/aicore/model/aireply.d.ts +178 -0
  453. package/src/aicore/model/aireply.js +23 -0
  454. package/src/aicore/pipeline/airesponseapplier.d.ts +291 -0
  455. package/src/aicore/pipeline/airesponseapplier.js +24 -0
  456. package/src/aicore/pipeline/airesponseparser.d.ts +27 -0
  457. package/src/aicore/pipeline/airesponseparser.js +24 -0
  458. package/src/aicore/ui/aidisclaimerview.d.ts +17 -0
  459. package/src/aicore/ui/aidisclaimerview.js +23 -0
  460. package/src/aicore/ui/aiskeleton.d.ts +37 -0
  461. package/src/aicore/ui/aiskeleton.js +23 -0
  462. package/src/aicore/ui/aispinner.d.ts +14 -0
  463. package/src/aicore/ui/aispinner.js +23 -0
  464. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +62 -0
  465. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +23 -0
  466. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +38 -0
  467. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +23 -0
  468. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +80 -0
  469. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +23 -0
  470. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +39 -0
  471. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +23 -0
  472. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +39 -0
  473. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +23 -0
  474. package/src/aicore/utils/common-translations.d.ts +9 -0
  475. package/src/aicore/utils/common-translations.js +23 -0
  476. package/src/aicore/utils/createresizebutton.d.ts +12 -0
  477. package/src/aicore/utils/createresizebutton.js +23 -0
  478. package/src/aicore/utils/documentposition.d.ts +41 -0
  479. package/src/aicore/utils/documentposition.js +23 -0
  480. package/src/aicore/utils/documentrange.d.ts +46 -0
  481. package/src/aicore/utils/documentrange.js +23 -0
  482. package/src/aicore/utils/eventnames.d.ts +9 -0
  483. package/src/aicore/utils/eventnames.js +23 -0
  484. package/src/aicore/utils/geteditorfromcontext.d.ts +6 -0
  485. package/src/aicore/utils/geteditorfromcontext.js +23 -0
  486. package/src/aicore/utils/getoperationsfromreply.d.ts +21 -0
  487. package/src/aicore/utils/getoperationsfromreply.js +23 -0
  488. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +19 -0
  489. package/src/aicore/utils/getsuggestionpartsfromreply.js +23 -0
  490. package/src/aicore/utils/htmlparser.d.ts +35 -0
  491. package/src/aicore/utils/htmlparser.js +23 -0
  492. package/src/aicore/utils/htmlstreamer.d.ts +123 -0
  493. package/src/aicore/utils/htmlstreamer.js +23 -0
  494. package/src/aiquickactions/aiquickactions.d.ts +41 -0
  495. package/src/aiquickactions/aiquickactions.js +23 -0
  496. package/src/aiquickactions/aiquickactionscommand.d.ts +12 -0
  497. package/src/aiquickactions/aiquickactionscommand.js +23 -0
  498. package/src/aiquickactions/aiquickactionsediting.d.ts +23 -0
  499. package/src/aiquickactions/aiquickactionsediting.js +23 -0
  500. package/src/aiquickactions/aiquickactionsui.d.ts +150 -0
  501. package/src/aiquickactions/aiquickactionsui.js +23 -0
  502. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +30 -0
  503. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +23 -0
  504. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +45 -0
  505. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +23 -0
  506. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +45 -0
  507. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +23 -0
  508. package/src/aiquickactions/utils/common-translations.d.ts +9 -0
  509. package/src/aiquickactions/utils/common-translations.js +23 -0
  510. package/src/aireviewmode/aireviewmode.d.ts +30 -0
  511. package/src/aireviewmode/aireviewmode.js +23 -0
  512. package/src/aireviewmode/aireviewmodecontroller.d.ts +32 -0
  513. package/src/aireviewmode/aireviewmodecontroller.js +23 -0
  514. package/src/aireviewmode/aireviewmodeediting.d.ts +129 -0
  515. package/src/aireviewmode/aireviewmodeediting.js +23 -0
  516. package/src/aireviewmode/aireviewmodeui.d.ts +73 -0
  517. package/src/aireviewmode/aireviewmodeui.js +23 -0
  518. package/src/aireviewmode/model/aireviewcheck.d.ts +60 -0
  519. package/src/aireviewmode/model/aireviewcheck.js +23 -0
  520. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +17 -0
  521. package/src/aireviewmode/model/aireviewcheckcustom.js +23 -0
  522. package/src/aireviewmode/model/aireviewchecklist.d.ts +31 -0
  523. package/src/aireviewmode/model/aireviewchecklist.js +23 -0
  524. package/src/aireviewmode/model/aireviewcheckresult.d.ts +39 -0
  525. package/src/aireviewmode/model/aireviewcheckresult.js +23 -0
  526. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +42 -0
  527. package/src/aireviewmode/model/aireviewcheckresultchange.js +23 -0
  528. package/src/aireviewmode/model/aireviewcheckrun.d.ts +101 -0
  529. package/src/aireviewmode/model/aireviewcheckrun.js +23 -0
  530. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +18 -0
  531. package/src/aireviewmode/model/aireviewcustomcheckrun.js +23 -0
  532. package/src/aireviewmode/model/aireviewmodels.d.ts +26 -0
  533. package/src/aireviewmode/model/aireviewmodels.js +23 -0
  534. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +14 -0
  535. package/src/aireviewmode/model/aireviewsystemcheckrun.js +23 -0
  536. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +29 -0
  537. package/src/aireviewmode/ui/aireviemodepromptinputview.js +23 -0
  538. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +46 -0
  539. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +23 -0
  540. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +19 -0
  541. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +23 -0
  542. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +23 -0
  543. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +23 -0
  544. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +80 -0
  545. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +23 -0
  546. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +45 -0
  547. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +23 -0
  548. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +18 -0
  549. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +23 -0
  550. package/src/aireviewmode/ui/aireviewmodeview.d.ts +42 -0
  551. package/src/aireviewmode/ui/aireviewmodeview.js +23 -0
  552. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +16 -0
  553. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +23 -0
  554. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +20 -0
  555. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +23 -0
  556. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +16 -0
  557. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +23 -0
  558. package/src/aireviewmode/utils/common-translations.d.ts +9 -0
  559. package/src/aireviewmode/utils/common-translations.js +23 -0
  560. package/src/aitabs/aitabs.d.ts +92 -0
  561. package/src/aitabs/aitabs.js +23 -0
  562. package/src/aitabs/aitabsmainview.d.ts +45 -0
  563. package/src/aitabs/aitabsmainview.js +23 -0
  564. package/src/aitabs/tabs/aitabsview.d.ts +147 -0
  565. package/src/aitabs/tabs/aitabsview.js +23 -0
  566. package/src/aitabs/tabs/tabbuttonview.d.ts +47 -0
  567. package/src/aitabs/tabs/tabbuttonview.js +23 -0
  568. package/src/aitabs/tabs/tabpanelview.d.ts +44 -0
  569. package/src/aitabs/tabs/tabpanelview.js +23 -0
  570. package/src/augmentation.d.ts +22 -6
  571. package/src/index.d.ts +40 -9
  572. package/src/index.js +1 -1
  573. package/theme/aiballoon/aiballoon.css +207 -0
  574. package/theme/aichat/aichat-controls/aichat-context-chip.css +139 -0
  575. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +194 -0
  576. package/theme/aichat/aichat-controls/aichat-context-controls.css +46 -0
  577. package/theme/aichat/aichat-controls/aichat-controls-button.css +74 -0
  578. package/theme/aichat/aichat-controls/aichat-controls-loader.css +93 -0
  579. package/theme/aichat/aichat-controls/prompt-capabilities.css +46 -0
  580. package/theme/aichat/aichat-controls/prompt-input.css +55 -0
  581. package/theme/aichat/aichat-controls.css +154 -0
  582. package/theme/aichat/aichat.css +68 -0
  583. package/theme/aichat/aichatfeed.css +376 -0
  584. package/theme/aichat/aichathistory.css +235 -0
  585. package/theme/aichat/aiminitoolbar.css +94 -0
  586. package/theme/aichat/aisuggestioncontainer.css +203 -0
  587. package/theme/aiquickactions/aiquickactions.css +43 -0
  588. package/theme/aireviewmode/aireviewmode-check-list.css +154 -0
  589. package/theme/aireviewmode/aireviewmode-check-run.css +202 -0
  590. package/theme/aireviewmode/aireviewmode-review-completed.css +52 -0
  591. package/theme/aireviewmode/aireviewmode.css +73 -0
  592. package/theme/aitabs/aitabsview.css +64 -0
  593. package/theme/aitabs/tabs/tabbuttonview.css +74 -0
  594. package/theme/aitabs/tabs/tabsview.css +78 -0
  595. package/theme/common/aibutton.css +145 -0
  596. package/theme/common/aichaterror.css +61 -0
  597. package/theme/common/aidisclaimer.css +29 -0
  598. package/theme/common/aiheader.css +88 -0
  599. package/theme/common/aiskeleton.css +54 -0
  600. package/theme/common/aispinner.css +58 -0
  601. package/src/adapters/aiadapter.js +0 -23
  602. package/src/adapters/aitextadapter.js +0 -23
  603. package/src/adapters/awstextadapter.js +0 -23
  604. package/src/adapters/openaitextadapter.js +0 -23
  605. package/src/aiassistant.js +0 -23
  606. package/src/aiassistantediting.js +0 -23
  607. package/src/aiassistantui.js +0 -23
  608. package/src/legacyerrors.js +0 -23
  609. package/src/ui/aiassistantcontroller.js +0 -24
  610. package/src/ui/form/aiformcontentarea.js +0 -23
  611. package/src/ui/form/aiformerrorview.js +0 -23
  612. package/src/ui/form/aiformpromptview.js +0 -23
  613. package/src/ui/form/aiformtoolbarview.js +0 -23
  614. package/src/ui/form/aiformview.js +0 -23
  615. package/src/ui/form/aihistorylistitemview.js +0 -23
  616. package/src/ui/form/aihistorylistview.js +0 -23
  617. package/src/ui/form/prompthistory.js +0 -23
  618. package/src/ui/showaiassistantcommand.js +0 -23
  619. /package/src/{aiassistantediting.d.ts → aiassistant/aiassistantediting.d.ts} +0 -0
  620. /package/src/{legacyerrors.d.ts → aiassistant/legacyerrors.d.ts} +0 -0
  621. /package/src/{ui → aiassistant/ui}/form/aiformerrorview.d.ts +0 -0
  622. /package/theme/{ai-dropdown.css → aiassistant/ai-dropdown.css} +0 -0
  623. /package/theme/{ai-form.css → aiassistant/ai-form.css} +0 -0
  624. /package/theme/{ai.css → aiassistant/ai.css} +0 -0
@@ -0,0 +1,58 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ :root {
11
+ --ck-ai-spinner-size: var(--ck-toolbar-spinner-size);
12
+ --ck-ai-spinner-background: linear-gradient(to right, hsl(0, 0%, 100%), hsl(0, 0%, 58%));
13
+ --ck-ai-spinner-mask: radial-gradient(farthest-side, transparent 66%, hsl(0, 0%, 0%) 61%);
14
+ --ck-ai-spinner-animation-duration: 1s;
15
+ }
16
+
17
+ .ck.ck-spinner-container {
18
+ &.ck-ai-spinner {
19
+ display: inline-block;
20
+ width: var(--ck-ai-spinner-size);
21
+ height: var(--ck-ai-spinner-size);
22
+ margin: 0;
23
+ flex-shrink: 0;
24
+ animation-duration: var(--ck-ai-spinner-animation-duration);
25
+
26
+ & .ck-spinner {
27
+ width: var(--ck-ai-spinner-size);
28
+ height: var(--ck-ai-spinner-size);
29
+
30
+ border: none;
31
+
32
+ background: var(--ck-ai-spinner-background);
33
+ -webkit-mask: var(--ck-ai-spinner-mask);
34
+ mask: var(--ck-ai-spinner-mask);
35
+
36
+ box-sizing: border-box;
37
+ }
38
+
39
+ &.ck-ai-spinner_small {
40
+ --ck-ai-spinner-size: 1em;
41
+ }
42
+
43
+ &.ck-ai-spinner_tiny {
44
+ --ck-ai-spinner-size: 12px;
45
+ }
46
+ }
47
+
48
+ &.ck-hidden {
49
+ display: none;
50
+ animation: none;
51
+ }
52
+ }
53
+
54
+ @keyframes ck-spin {
55
+ to {
56
+ transform: rotate(360deg);
57
+ }
58
+ }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x1e304a=_0x3585;(function(_0x4d4f76,_0x6cc0cd){var _0x56c8d6=_0x3585,_0x4533e7=_0x4d4f76();while(!![]){try{var _0x3727ca=parseInt(_0x56c8d6(0x17d))/0x1+-parseInt(_0x56c8d6(0x17b))/0x2*(parseInt(_0x56c8d6(0x175))/0x3)+parseInt(_0x56c8d6(0x173))/0x4+-parseInt(_0x56c8d6(0x179))/0x5*(-parseInt(_0x56c8d6(0x174))/0x6)+parseInt(_0x56c8d6(0x171))/0x7*(-parseInt(_0x56c8d6(0x172))/0x8)+-parseInt(_0x56c8d6(0x181))/0x9*(-parseInt(_0x56c8d6(0x178))/0xa)+-parseInt(_0x56c8d6(0x184))/0xb;if(_0x3727ca===_0x6cc0cd)break;else _0x4533e7['push'](_0x4533e7['shift']());}catch(_0x364e4d){_0x4533e7['push'](_0x4533e7['shift']());}}}(_0x149a,0xf09d3));function _0x3585(_0x5cda3d,_0x319d16){var _0x149ad6=_0x149a();return _0x3585=function(_0x3585f9,_0x525a2f){_0x3585f9=_0x3585f9-0x171;var _0x433605=_0x149ad6[_0x3585f9];return _0x433605;},_0x3585(_0x5cda3d,_0x319d16);}import{Plugin as _0xa44afe}from'ckeditor5/src/core.js';import{CKEditorError as _0x14b468}from'ckeditor5/src/utils.js';function _0x149a(){var _0x313dd4=['AIRequestError','name','15118470oaXjFk','5lrAXfL','aiadapter-text-adapter-not-set','6816qeOHIl','isPremiumPlugin','114019ORMbqy','isOfficialPlugin','afterInit','AIAdapter','9ikHtMx','pluginName','textAdapter','9580824INIoUY','161pZIFun','276168ghyaxZ','6233468UYZZUh','6899046XOnaCz','1482rzJHbW'];_0x149a=function(){return _0x313dd4;};return _0x149a();}export class AIAdapter extends _0xa44afe{static get[_0x1e304a(0x182)](){var _0x381e56=_0x1e304a;return _0x381e56(0x180);}static get[_0x1e304a(0x17e)](){return!0x0;}static get[_0x1e304a(0x17c)](){return!0x0;}[_0x1e304a(0x17f)](){var _0x4b5a74=_0x1e304a;if(!this[_0x4b5a74(0x183)])throw new _0x14b468(_0x4b5a74(0x17a),null);}}export class AIRequestError extends Error{constructor(_0x47aa09){var _0x1820fc=_0x1e304a;super(_0x47aa09),this[_0x1820fc(0x177)]=_0x1820fc(0x176);}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x1671fa=_0x4996;(function(_0x4f9f8a,_0x3e643b){const _0x4daca2=_0x4996,_0x3b44db=_0x4f9f8a();while(!![]){try{const _0x5ec1a9=parseInt(_0x4daca2(0x1ed))/0x1+parseInt(_0x4daca2(0x1cf))/0x2*(parseInt(_0x4daca2(0x1d3))/0x3)+parseInt(_0x4daca2(0x1e1))/0x4*(parseInt(_0x4daca2(0x1ee))/0x5)+-parseInt(_0x4daca2(0x1ce))/0x6+-parseInt(_0x4daca2(0x1dd))/0x7*(-parseInt(_0x4daca2(0x1d0))/0x8)+parseInt(_0x4daca2(0x1d1))/0x9+-parseInt(_0x4daca2(0x1e3))/0xa;if(_0x5ec1a9===_0x3e643b)break;else _0x3b44db['push'](_0x3b44db['shift']());}catch(_0x353978){_0x3b44db['push'](_0x3b44db['shift']());}}}(_0x5ab4,0x806b1));import{Plugin as _0x8ba722}from'ckeditor5/src/core.js';import{CKEditorError as _0x34fee4}from'ckeditor5/src/utils.js';function _0x5ab4(){const _0x4a05a4=['7iZWqcv','abort','AbortError','reject','31428auMCCT','assign','17825120qVEDyZ','aborted','plugins','sendRequest','textAdapter','editor','init','locale','_prepareRequestParameters','AI_ERROR_GET_PARAMETERS','171107tXKgMV','410qxoNqt','name','aitextadapter-send-request-failed','resolve','AI_ERROR_GET_HEADERS','3586068taMhAB','41614hBBRRd','3983768HdCRdg','8904924eBuXpX','object','87ThCWtE','error','makeRequest','catch','_prepareRequestHeaders','application/json','signal','get','requires','abortController'];_0x5ab4=function(){return _0x4a05a4;};return _0x5ab4();}function _0x4996(_0x578ed9,_0x5538c1){const _0x5ab407=_0x5ab4();return _0x4996=function(_0x4996ac,_0xbfb0cb){_0x4996ac=_0x4996ac-0x1cc;let _0x2d8f5d=_0x5ab407[_0x4996ac];return _0x2d8f5d;},_0x4996(_0x578ed9,_0x5538c1);}import{AIAdapter as _0x137436,AIRequestError as _0x5d4cdd}from'./aiadapter.js';import{getTranslation as _0x2d736d}from'../utils/common-translations.js';export class AITextAdapter extends _0x8ba722{[_0x1671fa(0x1dc)];static get[_0x1671fa(0x1db)](){return[_0x137436];}constructor(_0x55baeb){const _0x52cbbb=_0x1671fa;super(_0x55baeb),this[_0x52cbbb(0x1dc)]=new AbortController();}[_0x1671fa(0x1e9)](){const _0x85bbae=_0x1671fa;this[_0x85bbae(0x1e8)][_0x85bbae(0x1e5)][_0x85bbae(0x1da)](_0x137436)[_0x85bbae(0x1e7)]=this;}[_0x1671fa(0x1de)](){const _0xbb8ff5=_0x1671fa;this[_0xbb8ff5(0x1dc)][_0xbb8ff5(0x1d9)][_0xbb8ff5(0x1e4)]||(this[_0xbb8ff5(0x1dc)][_0xbb8ff5(0x1de)](),this[_0xbb8ff5(0x1dc)]=new AbortController());}async[_0x1671fa(0x1d5)](_0x378220){const _0x4c4b6e=_0x1671fa;return this[_0x4c4b6e(0x1e6)](_0x378220)[_0x4c4b6e(0x1d6)](_0x4898a8=>{const _0x14ff0d=_0x4c4b6e;if(_0x4898a8 instanceof _0x5d4cdd)return Promise[_0x14ff0d(0x1e0)](_0x4898a8);if(_0x14ff0d(0x1df)==_0x4898a8[_0x14ff0d(0x1ef)])return Promise[_0x14ff0d(0x1cc)]();throw console[_0x14ff0d(0x1d4)](_0x4898a8),new _0x34fee4(_0x14ff0d(0x1f0),null);});}async[_0x1671fa(0x1d7)](_0x279ad1,_0x3b8f5a){const _0x1d581f=_0x1671fa,_0x1d3597=this[_0x1d581f(0x1e8)][_0x1d581f(0x1ea)],_0x4da605={'Content-Type':_0x1d581f(0x1d8)};if(_0x1d581f(0x1d2)==typeof _0x279ad1)Object[_0x1d581f(0x1e2)](_0x4da605,_0x279ad1);else{if(_0x279ad1)try{const _0x12e12e=await _0x279ad1(_0x3b8f5a);Object[_0x1d581f(0x1e2)](_0x4da605,_0x12e12e);}catch{return Promise[_0x1d581f(0x1e0)](new _0x5d4cdd(_0x2d736d(_0x1d3597,_0x1d581f(0x1cd))));}}return _0x4da605;}async[_0x1671fa(0x1eb)](_0x34b386,_0x598a04){const _0x5f5abf=_0x1671fa,_0x437003=this[_0x5f5abf(0x1e8)][_0x5f5abf(0x1ea)];if(_0x5f5abf(0x1d2)==typeof _0x34b386)return _0x34b386;try{return await _0x34b386(_0x598a04);}catch{return Promise[_0x5f5abf(0x1e0)](new _0x5d4cdd(_0x2d736d(_0x437003,_0x5f5abf(0x1ec))));}}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x2aed(_0x14f659,_0x3a39c1){const _0x334118=_0x3341();return _0x2aed=function(_0x2aed28,_0x4d9463){_0x2aed28=_0x2aed28-0x168;let _0x5ce64c=_0x334118[_0x2aed28];return _0x5ce64c;},_0x2aed(_0x14f659,_0x3a39c1);}const _0x1ee282=_0x2aed;(function(_0x576875,_0x2f864d){const _0x4ae74f=_0x2aed,_0x3b3ada=_0x576875();while(!![]){try{const _0x53abd8=parseInt(_0x4ae74f(0x1a7))/0x1*(parseInt(_0x4ae74f(0x1b4))/0x2)+parseInt(_0x4ae74f(0x197))/0x3*(parseInt(_0x4ae74f(0x1af))/0x4)+parseInt(_0x4ae74f(0x17e))/0x5+parseInt(_0x4ae74f(0x191))/0x6+parseInt(_0x4ae74f(0x18a))/0x7+parseInt(_0x4ae74f(0x179))/0x8+-parseInt(_0x4ae74f(0x1ab))/0x9;if(_0x53abd8===_0x2f864d)break;else _0x3b3ada['push'](_0x3b3ada['shift']());}catch(_0x4f2d1b){_0x3b3ada['push'](_0x3b3ada['shift']());}}}(_0x3341,0x47bb5));function _0x3341(){const _0x1b1ce7=['_readStaticResponse','editor','getReader','1089046IqXpdu','map','\x0a<</SYS>>\x0a[INST]\x0a','anthropic.claude','data','meta.llama','_apiUrl','474894YOeEOe','_bedrockClientConfig','_prepareRequestHeaders','_readAsyncIterableResponse','_prepareRequestParameters','_processAWSRequest','107931AkbuYQ','send','utf-8','preparePrompt','POST','test','text','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.','completion','generations','get','generation','define','bytes','\x0a[/INST]','cohere.command','502732EcivMu','AI_ERROR_UNSUPPORTED_MODEL','anthropic.claude-v2','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','13027743MChRfQ','resolve','ai.aws.bedrockClientConfig','config','56sXRyap','json','\x0a\x0aAssistant:','getModelFamily','stringify','2tnETDp','completions','ai21.j2','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.','signal','_requestHeaders','join','_requestParameters','Instruction:\x0a','abortController','bedrock-2023-05-31','length','split','AWSTextAdapter','sendRequest','<<SYS>>\x0a','pluginName','read','_processProxyRequest','_readStreamableResponse','390368wbeWQT','chunk','Human:\x0a','application/json','_getGeneratedText','2257035XVKMRc','parse','locale','ai.aws.requestHeaders','ai.aws.requestParameters','body','ai.aws.apiUrl','filter','decode'];_0x3341=function(){return _0x1b1ce7;};return _0x3341();}import{AITextAdapter as _0x1ecdbf}from'./aitextadapter.js';import{AIRequestError as _0x2a8ce5}from'./aiadapter.js';import{BedrockRuntimeClient as _0x423285,InvokeModelCommand as _0x4220d4,InvokeModelWithResponseStreamCommand as _0x106a72}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x325ffb}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x1ecdbf{[_0x1ee282(0x190)];[_0x1ee282(0x16a)];[_0x1ee282(0x192)];[_0x1ee282(0x16c)];static get[_0x1ee282(0x175)](){const _0x3591e0=_0x1ee282;return _0x3591e0(0x172);}constructor(_0x1de415){const _0x583ff7=_0x1ee282;super(_0x1de415),_0x1de415[_0x583ff7(0x1ae)][_0x583ff7(0x1a1)](_0x583ff7(0x182))||_0x1de415[_0x583ff7(0x1ae)][_0x583ff7(0x1a3)](_0x583ff7(0x182),{'model':_0x583ff7(0x1a9),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x583ff7(0x16f),'stream':!0x0}),this[_0x583ff7(0x190)]=_0x1de415[_0x583ff7(0x1ae)][_0x583ff7(0x1a1)](_0x583ff7(0x184)),this[_0x583ff7(0x192)]=_0x1de415[_0x583ff7(0x1ae)][_0x583ff7(0x1a1)](_0x583ff7(0x1ad)),this[_0x583ff7(0x16a)]=_0x1de415[_0x583ff7(0x1ae)][_0x583ff7(0x1a1)](_0x583ff7(0x181)),this[_0x583ff7(0x16c)]=_0x1de415[_0x583ff7(0x1ae)][_0x583ff7(0x1a1)](_0x583ff7(0x182));}async[_0x1ee282(0x173)]({query:_0x357c3d,context:_0x3dc0a3,onData:_0x32d8ab,actionId:_0x30f44b}){const _0x45cf7c=_0x1ee282,{model:_0x3192a0,stream:_0x225c9d,..._0x5a15f4}=await this[_0x45cf7c(0x195)](this[_0x45cf7c(0x16c)],_0x30f44b),_0x132993={'prompt':await this[_0x45cf7c(0x19a)](_0x357c3d,_0x3dc0a3,_0x3192a0,_0x30f44b),..._0x5a15f4};this[_0x45cf7c(0x190)]?await this[_0x45cf7c(0x177)](_0x132993,_0x3192a0,_0x225c9d,_0x32d8ab,_0x30f44b):await this[_0x45cf7c(0x196)](_0x132993,_0x3192a0,_0x225c9d,_0x32d8ab);}async[_0x1ee282(0x19a)](_0x1e9d09,_0xcd429b,_0x19b22f,_0x51b742){const _0x43ebf0=_0x1ee282;let _0x30042d,_0x207ef8;return _0xcd429b?(_0x30042d=_0x43ebf0(0x19e),_0x207ef8=_0x43ebf0(0x16d)+_0x1e9d09+_0x43ebf0(0x1aa)+_0xcd429b):(_0x30042d=_0x43ebf0(0x168),_0x207ef8=_0x1e9d09),_0x43ebf0(0x18f)==this[_0x43ebf0(0x1b2)](_0x19b22f)?_0x43ebf0(0x174)+_0x30042d+_0x43ebf0(0x18c)+_0x207ef8+_0x43ebf0(0x1a5):_0x43ebf0(0x17b)+_0x30042d+'\x0a'+_0x207ef8+_0x43ebf0(0x1b1);}[_0x1ee282(0x1b2)](_0x54ebe0){const _0x5a1391=_0x1ee282;if(/^anthropic\.claude/[_0x5a1391(0x19c)](_0x54ebe0))return _0x5a1391(0x18d);if(/^ai21\.j2/[_0x5a1391(0x19c)](_0x54ebe0))return _0x5a1391(0x1b6);if(/^cohere\.command/[_0x5a1391(0x19c)](_0x54ebe0))return _0x5a1391(0x1a6);if(/^meta\.llama/[_0x5a1391(0x19c)](_0x54ebe0))return _0x5a1391(0x18f);throw new _0x2a8ce5(_0x325ffb(this[_0x5a1391(0x188)][_0x5a1391(0x180)],_0x5a1391(0x1a8),_0x54ebe0));}async[_0x1ee282(0x177)](_0xfb2652,_0x260fa3,_0x3341bd,_0x25c783,_0xcf4532){const _0xe5434d=_0x1ee282,_0x165100={'method':_0xe5434d(0x19b),'headers':await this[_0xe5434d(0x193)](this[_0xe5434d(0x16a)],_0xcf4532),'body':JSON[_0xe5434d(0x1b3)]({..._0xfb2652,'model':_0x260fa3,'stream':_0x3341bd}),'signal':this[_0xe5434d(0x16e)][_0xe5434d(0x169)]},_0xb7e3b7=await fetch(this[_0xe5434d(0x190)],_0x165100);_0x3341bd?await this[_0xe5434d(0x178)](_0xb7e3b7,_0x260fa3,_0x25c783):await this[_0xe5434d(0x187)](_0xb7e3b7,_0x260fa3,_0x25c783);}async[_0x1ee282(0x196)](_0xed5d2d,_0x440485,_0x1c6d59,_0x2d0321){const _0x4cf3a8=_0x1ee282,_0x1eb774=new _0x423285(this[_0x4cf3a8(0x192)]),_0x10e7f0={'body':JSON[_0x4cf3a8(0x1b3)](_0xed5d2d),'contentType':_0x4cf3a8(0x17c),'accept':_0x4cf3a8(0x17c),'modelId':_0x440485};let _0x2fce61;if(_0x1c6d59){const _0x210cf1=new _0x106a72(_0x10e7f0);_0x2fce61=await _0x1eb774[_0x4cf3a8(0x198)](_0x210cf1,{'abortSignal':this[_0x4cf3a8(0x16e)][_0x4cf3a8(0x169)]}),await this[_0x4cf3a8(0x194)](_0x2fce61,_0x440485,_0x2d0321);}else{const _0x265b92=new _0x4220d4(_0x10e7f0);_0x2fce61=await _0x1eb774[_0x4cf3a8(0x198)](_0x265b92,{'abortSignal':this[_0x4cf3a8(0x16e)][_0x4cf3a8(0x169)]}),await this[_0x4cf3a8(0x187)](_0x2fce61,_0x440485,_0x2d0321);}}async[_0x1ee282(0x194)](_0x1ab22d,_0x3d3adb,_0x1c4c41){const _0x1d9bb9=_0x1ee282,_0x6c1261=_0x1ab22d[_0x1d9bb9(0x183)],_0x3ce723=new TextDecoder(_0x1d9bb9(0x199));let _0x56ed24='';for await(const _0x29b7f6 of _0x6c1261)if(_0x29b7f6[_0x1d9bb9(0x17a)]){const _0x287a10=_0x3ce723[_0x1d9bb9(0x186)](_0x29b7f6[_0x1d9bb9(0x17a)][_0x1d9bb9(0x1a4)]),_0xef09ef=JSON[_0x1d9bb9(0x17f)](_0x287a10);_0x56ed24+=this[_0x1d9bb9(0x17d)](_0xef09ef,_0x3d3adb),_0x1c4c41(_0x56ed24);}return Promise[_0x1d9bb9(0x1ac)]();}async[_0x1ee282(0x178)](_0x12f6d8,_0x2e67f4,_0x27374d){const _0x508098=_0x1ee282,_0x538a2a=_0x12f6d8[_0x508098(0x183)],_0x100cd9=new TextDecoder(_0x508098(0x199)),_0x3e02e3=_0x538a2a[_0x508098(0x189)]();let _0x46da21='',_0x19ac6b='',_0x5bde00=!0x1;for(;!_0x5bde00;){const {done:_0x5c8202,value:_0xd5b94}=await _0x3e02e3[_0x508098(0x176)]();if(_0x5bde00=_0x5c8202,_0x5bde00)break;const _0x142320=(_0x46da21+_0x100cd9[_0x508098(0x186)](_0xd5b94))[_0x508098(0x171)]('\x0a')[_0x508098(0x18b)](_0x1c9a4d=>{const _0x5cbf49=_0x508098;try{return _0x46da21='',JSON[_0x5cbf49(0x17f)](_0x1c9a4d);}catch{return _0x46da21=_0x1c9a4d,null;}})[_0x508098(0x185)](_0x50d2e2=>null!==_0x50d2e2);_0x142320[_0x508098(0x170)]&&(_0x19ac6b+=_0x142320[_0x508098(0x18b)](_0x4ea2d2=>this[_0x508098(0x17d)](_0x4ea2d2,_0x2e67f4))[_0x508098(0x16b)](''),_0x27374d(_0x19ac6b));}return Promise[_0x508098(0x1ac)]();}async[_0x1ee282(0x187)](_0x4aa59a,_0x1f1697,_0x3149ee){const _0x39cf8c=_0x1ee282;let _0x291999;return _0x291999=_0x4aa59a instanceof Response?await _0x4aa59a[_0x39cf8c(0x1b0)]():JSON[_0x39cf8c(0x17f)](new TextDecoder(_0x39cf8c(0x199))[_0x39cf8c(0x186)](_0x4aa59a[_0x39cf8c(0x183)])),(_0x3149ee(this[_0x39cf8c(0x17d)](_0x291999,_0x1f1697)),Promise[_0x39cf8c(0x1ac)]());}[_0x1ee282(0x17d)](_0x3510db,_0x1e2ee3){const _0x17922c=_0x1ee282;switch(this[_0x17922c(0x1b2)](_0x1e2ee3)){case _0x17922c(0x18d):return _0x3510db[_0x17922c(0x19f)];case _0x17922c(0x1b6):return _0x3510db[_0x17922c(0x1b5)][0x0][_0x17922c(0x18e)][_0x17922c(0x19d)];case _0x17922c(0x1a6):return _0x3510db[_0x17922c(0x1a0)][0x0][_0x17922c(0x19d)];case _0x17922c(0x18f):return _0x3510db[_0x17922c(0x1a2)];}}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x3792(_0x37bd21,_0x2e2346){const _0x25c900=_0x25c9();return _0x3792=function(_0x379292,_0x3d1479){_0x379292=_0x379292-0x17a;let _0x562ae5=_0x25c900[_0x379292];return _0x562ae5;},_0x3792(_0x37bd21,_0x2e2346);}function _0x25c9(){const _0x3fc455=['ai.openAI.requestParameters','reject','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','[DONE]','content','filter','config','json','text','signal','map','join','sendRequest','stringify','delta','3207888giDUQH','define','_prepareRequestParameters','POST','get','AI_ERROR_CONTEXT_LENGTH','message','951058giJdAg','context_length_exceeded','split','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.','7vZFoIQ','_readStreamableResponse','_prepareRequestHeaders','editor','3516erAvNK','gpt-4o','pluginName','prepareMessages','9695939wVUvcA','1812APNALt','parse','OpenAITextAdapter','AI_ERROR_MODERATION','choices','data:\x20','resolve','Instruction:\x0a','3658182ibnOcE','user','_cleanUpData','ai.openAI.apiUrl','system','includes','_requestHeaders','2822475HUASqI','read','Moderation','324110DntwgF','81vDwfPB','_isBufferIncomplete','locale','length','ai.openAI.requestHeaders','_requestParameters','_apiUrl','https://api.openai.com/v1/chat/completions','1rXxPFt','decode','body','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.','getReader','abortController','stream','replace','_readStaticResponse'];_0x25c9=function(){return _0x3fc455;};return _0x25c9();}const _0x4088b4=_0x3792;(function(_0x3cc7bf,_0x558aa0){const _0x3e3be2=_0x3792,_0x13fc1d=_0x3cc7bf();while(!![]){try{const _0x4deb6d=parseInt(_0x3e3be2(0x1c0))/0x1*(parseInt(_0x3e3be2(0x198))/0x2)+-parseInt(_0x3e3be2(0x1a5))/0x3*(parseInt(_0x3e3be2(0x1a0))/0x4)+-parseInt(_0x3e3be2(0x1b4))/0x5+parseInt(_0x3e3be2(0x1ad))/0x6*(-parseInt(_0x3e3be2(0x19c))/0x7)+parseInt(_0x3e3be2(0x191))/0x8+parseInt(_0x3e3be2(0x1b8))/0x9*(parseInt(_0x3e3be2(0x1b7))/0xa)+parseInt(_0x3e3be2(0x1a4))/0xb;if(_0x4deb6d===_0x558aa0)break;else _0x13fc1d['push'](_0x13fc1d['shift']());}catch(_0x31ee89){_0x13fc1d['push'](_0x13fc1d['shift']());}}}(_0x25c9,0x541eb));import{AITextAdapter as _0x25dc55}from'./aitextadapter.js';import{AIRequestError as _0x5c391e}from'./aiadapter.js';import{getTranslation as _0x33fd1e}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x25dc55{[_0x4088b4(0x1be)];[_0x4088b4(0x1b3)];[_0x4088b4(0x1bd)];static get[_0x4088b4(0x1a2)](){const _0xab523d=_0x4088b4;return _0xab523d(0x1a7);}constructor(_0x577be6){const _0x728a61=_0x4088b4;super(_0x577be6),_0x577be6[_0x728a61(0x188)][_0x728a61(0x192)](_0x728a61(0x1b0),_0x728a61(0x1bf)),_0x577be6[_0x728a61(0x188)][_0x728a61(0x195)](_0x728a61(0x182))||_0x577be6[_0x728a61(0x188)][_0x728a61(0x192)](_0x728a61(0x182),{'model':_0x728a61(0x1a1),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x728a61(0x1be)]=_0x577be6[_0x728a61(0x188)][_0x728a61(0x195)](_0x728a61(0x1b0)),this[_0x728a61(0x1b3)]=_0x577be6[_0x728a61(0x188)][_0x728a61(0x195)](_0x728a61(0x1bc))||{},this[_0x728a61(0x1bd)]=_0x577be6[_0x728a61(0x188)][_0x728a61(0x195)](_0x728a61(0x182));}async[_0x4088b4(0x18e)]({query:_0x183af6,context:_0xb56de,onData:_0x1d5591,actionId:_0x44c438}){const _0x200581=_0x4088b4,_0x22ca5e=this[_0x200581(0x19f)][_0x200581(0x1ba)],_0x14fcb4=await this[_0x200581(0x1a3)](_0x183af6,_0xb56de,_0x44c438),_0x2a8fe8=await this[_0x200581(0x19e)](this[_0x200581(0x1b3)],_0x44c438),_0x776b21=await this[_0x200581(0x193)](this[_0x200581(0x1bd)],_0x44c438),_0x272597={'messages':_0x14fcb4,..._0x776b21},_0x4d3bc4={'method':_0x200581(0x194),'headers':_0x2a8fe8,'body':JSON[_0x200581(0x18f)](_0x272597),'signal':this[_0x200581(0x17e)][_0x200581(0x18b)]},_0x13179d=await fetch(this[_0x200581(0x1be)],_0x4d3bc4);if(_0x13179d['ok'])return _0x776b21[_0x200581(0x17f)]?await this[_0x200581(0x19d)](_0x13179d,_0x1d5591):await this[_0x200581(0x181)](_0x13179d,_0x1d5591),Promise[_0x200581(0x1ab)]();{const _0x1b9bba=await _0x13179d[_0x200581(0x18a)]();return _0x1b9bba[_0x200581(0x1b2)](_0x200581(0x199))?Promise[_0x200581(0x183)](new _0x5c391e(_0x33fd1e(_0x22ca5e,_0x200581(0x196)))):_0x1b9bba[_0x200581(0x1b2)](_0x200581(0x1b6))?Promise[_0x200581(0x183)](new _0x5c391e(_0x33fd1e(_0x22ca5e,_0x200581(0x1a8)))):Promise[_0x200581(0x183)](new Error(_0x1b9bba));}}async[_0x4088b4(0x1a3)](_0x41ca3e,_0x9ec8e9,_0x44ec5a){const _0x4cf0db=_0x4088b4;let _0xd9949a,_0x4ea1fc;return _0x9ec8e9?(_0xd9949a=_0x4cf0db(0x17c),_0x4ea1fc=_0x4cf0db(0x1ac)+_0x41ca3e+_0x4cf0db(0x184)+_0x9ec8e9):(_0xd9949a=_0x4cf0db(0x19b),_0x4ea1fc=_0x41ca3e),[{'role':_0x4cf0db(0x1b1),'content':_0xd9949a},{'role':_0x4cf0db(0x1ae),'content':_0x4ea1fc}];}async[_0x4088b4(0x19d)](_0x15f55f,_0x3ae985){const _0x484a06=_0x4088b4,_0x31a56f=_0x15f55f[_0x484a06(0x17b)][_0x484a06(0x17d)](),_0x5c2880=new TextDecoder();let _0x35d7e4='',_0x1d9dc3='',_0x1e247c='',_0x5a431f=!0x1;for(;!_0x5a431f;){const {done:_0x2e7c74,value:_0x158438}=await _0x31a56f[_0x484a06(0x1b5)](),_0x15d0e1=_0x35d7e4+_0x5c2880[_0x484a06(0x17a)](_0x158438);let _0x23ebfe='';_0x5a431f=_0x2e7c74;try{_0x23ebfe=this[_0x484a06(0x1af)](_0x15d0e1),_0x35d7e4='';}catch{_0x35d7e4=_0x15d0e1;continue;}_0x1d9dc3+=_0x23ebfe,!_0x5a431f&&this[_0x484a06(0x1b9)](_0x1d9dc3)||_0x1d9dc3&&(_0x1e247c+=_0x1d9dc3,_0x1d9dc3='',_0x3ae985(_0x1e247c));}return Promise[_0x484a06(0x1ab)]();}async[_0x4088b4(0x181)](_0x4235f2,_0x10244a){const _0x2457d5=_0x4088b4;return _0x10244a((await _0x4235f2[_0x2457d5(0x189)]())[_0x2457d5(0x1a9)][0x0][_0x2457d5(0x197)][_0x2457d5(0x186)]),Promise[_0x2457d5(0x1ab)]();}[_0x4088b4(0x1b9)](_0xcc124a){const _0x548fc1=_0x4088b4,_0xbbba8d=_0xcc124a[_0x548fc1(0x19a)]('<')[_0x548fc1(0x1bb)]!==_0xcc124a[_0x548fc1(0x19a)]('>')[_0x548fc1(0x1bb)],_0x31769b=_0xcc124a[_0x548fc1(0x1bb)]<0x1e;return _0xbbba8d&&_0x31769b;}[_0x4088b4(0x1af)](_0x4b5ad6){const _0x4ed612=_0x4088b4;return _0x4b5ad6[_0x4ed612(0x19a)](/\n(?![^{]*\})/g)[_0x4ed612(0x18c)](_0x2546df=>_0x2546df[_0x4ed612(0x180)](_0x4ed612(0x1aa),''))[_0x4ed612(0x187)](_0xd9b39b=>_0xd9b39b&&_0xd9b39b[_0x4ed612(0x1bb)]>0x0&&_0x4ed612(0x185)!==_0xd9b39b)[_0x4ed612(0x18c)](_0x2d26fe=>{const _0x3f6551=_0x4ed612,{choices:_0x3ff753}=JSON[_0x3f6551(0x1a6)](_0x2d26fe);if(_0x3ff753[0x0]?.[_0x3f6551(0x190)]?.[_0x3f6551(0x186)])return _0x3ff753[0x0][_0x3f6551(0x190)][_0x3f6551(0x186)];})[_0x4ed612(0x187)](_0x1acf2a=>_0x1acf2a)[_0x4ed612(0x18d)]('');}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0xb193(){const _0x2a07a8=['translateFrench','Confident','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','makeLonger','ai.aiAssistant.extraCommandGroups','188155lXhdkF','translateEnglish','forEach','poetic','Professional','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Hindi\x20language.','simplifyLanguage','direct','Translate','business','Direct','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','groupId','requires','legal','ai.aiAssistant.commands','ai.aiAssistant.removeCommands','filter','Make\x20shorter','config','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','casual','Change\x20style','Continue','Arabic','ai.aiAssistant.preserveComments','translateArabic','translateChinese','isOfficialPlugin','includes','Generate\x20from\x20selection','Simplified\x20Chinese','Simplify\x20language','Change\x20tone','summarize','commands','1609536QynorX','Translate\x20the\x20content\x20to\x20German\x20language.','10jrhuch','translatePortuguese','pluginName','Poetic','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','set','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Portuguese','Spanish','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','translateGerman','professional','generate','translateSpanish','Edit\x20or\x20review','Make\x20longer','French','Translate\x20the\x20content\x20to\x20English\x20language.','locale','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','2284758PEATxB','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Friendly','editOrReview','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Journalism','876452vIJtsJ','changeTone','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','English','546021JlRTkx','concat','journalism','Translate\x20the\x20content\x20to\x20Arabic\x20language.','makeShorter','Hindi','Legal','AIAssistant','Casual','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','friendly','translate','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','German','Improve\x20writing','Summarize','2054304iLsDFL','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','push','improveWriting','get','Translate\x20the\x20content\x20to\x20Spanish\x20language.','confident','3026436zijnBa','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','continue','define','translateHindi','find','Business','changeStyle'];_0xb193=function(){return _0x2a07a8;};return _0xb193();}const _0x119f90=_0xb3c9;(function(_0x4f84b9,_0x3fc22c){const _0x18573d=_0xb3c9,_0x55a801=_0x4f84b9();while(!![]){try{const _0x4d8dc5=-parseInt(_0x18573d(0x11a))/0x1+-parseInt(_0x18573d(0x15e))/0x2+parseInt(_0x18573d(0x155))/0x3+-parseInt(_0x18573d(0x173))/0x4+parseInt(_0x18573d(0x141))/0x5*(parseInt(_0x18573d(0x17a))/0x6)+parseInt(_0x18573d(0x162))/0x7+-parseInt(_0x18573d(0x13f))/0x8;if(_0x4d8dc5===_0x3fc22c)break;else _0x55a801['push'](_0x55a801['shift']());}catch(_0x303b78){_0x55a801['push'](_0x55a801['shift']());}}}(_0xb193,0x7bd74));import{Plugin as _0x4049ee}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x56bd44}from'./aiassistantui.js';import{AIAssistantEditing as _0x288535}from'./aiassistantediting.js';import{getTranslation as _0x478b28}from'./utils/common-translations.js';function _0xb3c9(_0x1c9016,_0x53e7c4){const _0xb193f8=_0xb193();return _0xb3c9=function(_0xb3c94c,_0x5ad5a3){_0xb3c94c=_0xb3c94c-0x116;let _0x3d7574=_0xb193f8[_0xb3c94c];return _0x3d7574;},_0xb3c9(_0x1c9016,_0x53e7c4);}import{normalizeCommandsConfig as _0xd039e6}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x4049ee{static get[_0x119f90(0x128)](){return[_0x56bd44,_0x288535];}static get[_0x119f90(0x143)](){const _0x5157bd=_0x119f90;return _0x5157bd(0x169);}static get[_0x119f90(0x137)](){return!0x0;}static get[_0x119f90(0x11f)](){return!0x0;}constructor(_0x34d079){const _0x2238a4=_0x119f90;super(_0x34d079);const _0x5a9aec=_0x34d079[_0x2238a4(0x12e)],_0x3aaf37=_0x34d079[_0x2238a4(0x153)];_0x5a9aec[_0x2238a4(0x17d)](_0x2238a4(0x134),!0x0),_0x5a9aec[_0x2238a4(0x17d)](_0x2238a4(0x12a),getDefaultAICommands(_0x3aaf37)),_0x5a9aec[_0x2238a4(0x17d)](_0x2238a4(0x119),[]),_0x5a9aec[_0x2238a4(0x17d)](_0x2238a4(0x12b),[]);let _0x573fa8=_0xd039e6(_0x5a9aec[_0x2238a4(0x177)](_0x2238a4(0x12a)),_0x3aaf37);const _0x1a7c1e=_0x5a9aec[_0x2238a4(0x177)](_0x2238a4(0x119)),_0x148640=_0x5a9aec[_0x2238a4(0x177)](_0x2238a4(0x12b));_0x1a7c1e[_0x2238a4(0x11c)](_0x39da65=>{const _0x3637e1=_0x2238a4,_0x229980=_0x573fa8[_0x3637e1(0x17f)](_0x4395e0=>_0x4395e0[_0x3637e1(0x127)]===_0x39da65[_0x3637e1(0x127)]);_0x229980?_0x229980[_0x3637e1(0x13e)]=_0x229980[_0x3637e1(0x13e)][_0x3637e1(0x163)](_0x39da65[_0x3637e1(0x13e)]):_0x573fa8[_0x3637e1(0x175)](_0x39da65);}),_0x573fa8=_0x573fa8[_0x2238a4(0x12c)](_0x5c0de8=>!_0x148640[_0x2238a4(0x138)](_0x5c0de8[_0x2238a4(0x127)])),_0x573fa8[_0x2238a4(0x11c)](_0x4112c9=>{const _0x5492fc=_0x2238a4;_0x4112c9[_0x5492fc(0x13e)]=_0x4112c9[_0x5492fc(0x13e)][_0x5492fc(0x12c)](_0x11ad33=>!_0x148640[_0x5492fc(0x138)](_0x11ad33['id']));}),_0x5a9aec[_0x2238a4(0x146)](_0x2238a4(0x12a),_0x573fa8);}}export function getDefaultAICommands(_0x40b73c){const _0x463e85=_0x119f90;return[{'groupId':_0x463e85(0x159),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x14f)),'commands':[{'id':_0x463e85(0x176),'label':_0x478b28(_0x40b73c,_0x463e85(0x171)),'prompt':_0x463e85(0x14a)},{'id':_0x463e85(0x166),'label':_0x478b28(_0x40b73c,_0x463e85(0x12d)),'prompt':_0x463e85(0x157)},{'id':_0x463e85(0x118),'label':_0x478b28(_0x40b73c,_0x463e85(0x150)),'prompt':_0x463e85(0x154)},{'id':_0x463e85(0x121),'label':_0x478b28(_0x40b73c,_0x463e85(0x13b)),'prompt':_0x463e85(0x12f)}]},{'groupId':_0x463e85(0x14d),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x139)),'commands':[{'id':_0x463e85(0x13d),'label':_0x478b28(_0x40b73c,_0x463e85(0x172)),'prompt':_0x463e85(0x17b)},{'id':_0x463e85(0x17c),'label':_0x478b28(_0x40b73c,_0x463e85(0x132)),'prompt':_0x463e85(0x117)}]},{'groupId':_0x463e85(0x15f),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x13c)),'commands':[{'id':_0x463e85(0x14c),'label':_0x478b28(_0x40b73c,_0x463e85(0x11e)),'prompt':_0x463e85(0x15b)},{'id':_0x463e85(0x130),'label':_0x478b28(_0x40b73c,_0x463e85(0x16a)),'prompt':_0x463e85(0x174)},{'id':_0x463e85(0x122),'label':_0x478b28(_0x40b73c,_0x463e85(0x125)),'prompt':_0x463e85(0x16c)},{'id':_0x463e85(0x179),'label':_0x478b28(_0x40b73c,_0x463e85(0x116)),'prompt':_0x463e85(0x156)},{'id':_0x463e85(0x16d),'label':_0x478b28(_0x40b73c,_0x463e85(0x158)),'prompt':_0x463e85(0x126)}]},{'groupId':_0x463e85(0x181),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x131)),'commands':[{'id':_0x463e85(0x124),'label':_0x478b28(_0x40b73c,_0x463e85(0x180)),'prompt':_0x463e85(0x147)},{'id':_0x463e85(0x129),'label':_0x478b28(_0x40b73c,_0x463e85(0x168)),'prompt':_0x463e85(0x15c)},{'id':_0x463e85(0x164),'label':_0x478b28(_0x40b73c,_0x463e85(0x15d)),'prompt':_0x463e85(0x16f)},{'id':_0x463e85(0x11d),'label':_0x478b28(_0x40b73c,_0x463e85(0x144)),'prompt':_0x463e85(0x145)}]},{'groupId':_0x463e85(0x16e),'groupLabel':_0x478b28(_0x40b73c,_0x463e85(0x123)),'commands':[{'id':_0x463e85(0x11b),'label':_0x478b28(_0x40b73c,_0x463e85(0x161)),'prompt':_0x463e85(0x152)},{'id':_0x463e85(0x14e),'label':_0x478b28(_0x40b73c,_0x463e85(0x149)),'prompt':_0x463e85(0x178)},{'id':_0x463e85(0x142),'label':_0x478b28(_0x40b73c,_0x463e85(0x148)),'prompt':_0x463e85(0x160)},{'id':_0x463e85(0x14b),'label':_0x478b28(_0x40b73c,_0x463e85(0x170)),'prompt':_0x463e85(0x140)},{'id':_0x463e85(0x182),'label':_0x478b28(_0x40b73c,_0x463e85(0x151)),'prompt':_0x463e85(0x16b)},{'id':_0x463e85(0x136),'label':_0x478b28(_0x40b73c,_0x463e85(0x13a)),'prompt':_0x463e85(0x15a)},{'id':_0x463e85(0x17e),'label':_0x478b28(_0x40b73c,_0x463e85(0x167)),'prompt':_0x463e85(0x120)},{'id':_0x463e85(0x135),'label':_0x478b28(_0x40b73c,_0x463e85(0x133)),'prompt':_0x463e85(0x165)}]}];}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x47f986=_0x370d;function _0x370d(_0x5468d3,_0x408f7f){const _0x5961ab=_0x5961();return _0x370d=function(_0x370d71,_0x3a87c2){_0x370d71=_0x370d71-0x9c;let _0x14ca1c=_0x5961ab[_0x370d71];return _0x14ca1c;},_0x370d(_0x5468d3,_0x408f7f);}(function(_0x28b365,_0x4e774f){const _0x7e2f5a=_0x370d,_0xd35dfd=_0x28b365();while(!![]){try{const _0x454ff8=-parseInt(_0x7e2f5a(0xfe))/0x1+-parseInt(_0x7e2f5a(0xc1))/0x2+-parseInt(_0x7e2f5a(0xa6))/0x3*(parseInt(_0x7e2f5a(0xd5))/0x4)+-parseInt(_0x7e2f5a(0xce))/0x5*(-parseInt(_0x7e2f5a(0xaf))/0x6)+-parseInt(_0x7e2f5a(0xb3))/0x7*(-parseInt(_0x7e2f5a(0x10a))/0x8)+-parseInt(_0x7e2f5a(0xac))/0x9+parseInt(_0x7e2f5a(0xe8))/0xa*(parseInt(_0x7e2f5a(0xcd))/0xb);if(_0x454ff8===_0x4e774f)break;else _0xd35dfd['push'](_0xd35dfd['shift']());}catch(_0x398477){_0xd35dfd['push'](_0xd35dfd['shift']());}}}(_0x5961,0x2c11f));import{uid as _0x582b9d}from'ckeditor5/src/utils.js';import{Plugin as _0x513351}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x17f94e}from'ckeditor5/src/clipboard.js';function _0x5961(){const _0x3201aa=['getChildren','ck-ai-assistant-ui_theme','insertContentBelow','_getDefaultInsertBelowPosition','getFirstRange','168128PQnktw','ai-ui','markerToHighlight','conversion','getChild','pop','TableUtils','getMarkersGroup','_createEmptyTableRows','getSelectedTableCells','forEach','_getAISelection','start','findAncestor','getColumnIndexes','setData','isCollapsed','getRange','getRowIndexes','4647540SiYqPD','href','_prepareTableInsertBelowPosition','join','getLastPosition','addClass','getSelectedBlocks','paste','schema','document','addMarker','setSelection','init','from','afterInit','_pasteHTMLUsingClipboard','editing','selection','hideFakeVisualSelection','ai.useTheme','createUIElement','createPositionAfter','47011kziJJp','change','parse','length','getLastMatchingPosition','AIAssistantEditing','_getTableRowCountFromContent','has','table','getRows','get','push','1864asZTGK','markerToElement','lowest','element','fire','text/html','createPositionAt','data','fromCharCode','createRange','model','15ZhTotT','updateMarker','once','canEditAt','isOfficialPlugin','markers','2655738byggeF','markerRange','for','366xINikJ','getRanges','plugins','isAtEnd','6629lgcqaN','editor','ck-fake-ai-selection_collapsed','filter','end','insertRows','config','span','editingDowncast','map','first','pluginName','contentInsertion','isContent','463432KxMlSM','off','_resetContentOfSelectedTableCells','ck-fake-ai-selection','resultRange','removeMarker','deleteContent','last','showFakeVisualSelection','insertContent','DataTransfer','isPremiumPlugin','11rZJMqD','22875NPRjrW','createSelection'];_0x5961=function(){return _0x3201aa;};return _0x5961();}import{ViewDocumentDomEventData as _0x47ff53,ViewDataTransfer as _0xe7a255}from'ckeditor5/src/engine.js';const l=globalThis[_0x47f986(0xcb)],w=_0x47f986(0xd6);export class AIAssistantEditing extends _0x513351{static get[_0x47f986(0xbe)](){const _0x131354=_0x47f986;return _0x131354(0x103);}static get[_0x47f986(0xaa)](){return!0x0;}static get[_0x47f986(0xcc)](){return!0x0;}[_0x47f986(0xf4)](){const _0x111e5c=_0x47f986,{editor:_0x257055}=this,_0x4262be=[_0x111e5c(0xc4)];_0x257055[_0x111e5c(0xb9)][_0x111e5c(0x108)](_0x111e5c(0xfb))&&_0x4262be[_0x111e5c(0x109)](_0x111e5c(0xd1)),_0x257055[_0x111e5c(0xd8)][_0x111e5c(0xae)](_0x111e5c(0xbb))[_0x111e5c(0xd7)]({'model':w,'view':{'classes':_0x4262be,'priority':0xc}}),_0x257055[_0x111e5c(0xd8)][_0x111e5c(0xae)](_0x111e5c(0xbb))[_0x111e5c(0x9c)]({'model':w,'view':(_0x1277b3,{writer:_0x131fc5})=>{const _0x57bd44=_0x111e5c;if(!_0x1277b3[_0x57bd44(0xad)][_0x57bd44(0xe5)])return null;const _0x51c7c5=_0x131fc5[_0x57bd44(0xfc)](_0x57bd44(0xba));return _0x131fc5[_0x57bd44(0xed)]([_0x57bd44(0xc4),_0x57bd44(0xb5)],_0x51c7c5),_0x51c7c5;}});}[_0x47f986(0xf6)](){!async function(_0x52e53d){const _0x5699f9=_0x1a433a([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]),_0x50aa89=0x3dffc4e1,_0x31cff2=0x3df8b791^_0x50aa89,_0x4474ce=window[_0x1a433a([0x44,0x61,0x74,0x65])][_0x1a433a([0x6e,0x6f,0x77])](),_0x5b7728=_0x52e53d[_0x1a433a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b66a5=new window[(_0x1a433a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ad0a0=>{_0x5b7728[_0x1a433a([0x6f,0x6e,0x63,0x65])](_0x1a433a([0x72,0x65,0x61,0x64,0x79]),_0x5ad0a0);}),_0x5522bb={[_0x1a433a([0x6b,0x74,0x79])]:_0x1a433a([0x45,0x43]),[_0x1a433a([0x75,0x73,0x65])]:_0x1a433a([0x73,0x69,0x67]),[_0x1a433a([0x63,0x72,0x76])]:_0x1a433a([0x50,0x2d,0x32,0x35,0x36]),[_0x1a433a([0x78])]:_0x1a433a([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]),[_0x1a433a([0x79])]:_0x1a433a([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]),[_0x1a433a([0x61,0x6c,0x67])]:_0x1a433a([0x45,0x53,0x32,0x35,0x36])},_0x1c93e2=_0x5b7728[_0x1a433a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a433a([0x67,0x65,0x74])](_0x1a433a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x527f59(){let _0x382221,_0x922ed0=null,_0x47131c=null;try{if(_0x1c93e2==_0x1a433a([0x47,0x50,0x4c]))return _0x1a433a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x382221=_0x2a4ed2(),!_0x382221)return _0x1a433a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x382221[_0x1a433a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47131c=_0x3845ba(_0x382221[_0x1a433a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x382221[_0x1a433a([0x6a,0x74,0x69])])),await _0x593b06()?_0x42bd9b()?_0x13f885()?_0x1a433a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ac8a7()?(_0x382221[_0x1a433a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a433a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x922ed0=_0x569468(_0x1a433a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x382221[_0x1a433a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a433a([0x74,0x72,0x69,0x61,0x6c])&&(_0x922ed0=_0x569468(_0x1a433a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20ba62()):_0x1a433a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a433a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a433a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a433a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13f885(){const _0x1f664c=[_0x1a433a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a433a([0x74,0x72,0x69,0x61,0x6c])][_0x1a433a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x382221[_0x1a433a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4474ce/0x3e8:0xe10*_0x31cff2;return _0x382221[_0x1a433a([0x65,0x78,0x70])]<_0x1f664c;}function _0x42bd9b(){const _0x1e0cf8=_0x382221[_0x1a433a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e0cf8&&(!!_0x1e0cf8[_0x1a433a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a433a([0x2a]))||!!_0x1e0cf8[_0x1a433a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a433a([0x41,0x49])));}function _0x5ac8a7(){const _0x8ff730=_0x370d,_0x8a324f=_0x382221[_0x1a433a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8a324f||0x0==_0x8a324f[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26cf5f}=new URL(window[_0x1a433a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x8ff730(0xe9)]);if(_0x8a324f[_0x1a433a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26cf5f))return!0x0;const _0xc6e89b=_0x26cf5f[_0x1a433a([0x73,0x70,0x6c,0x69,0x74])](_0x1a433a([0x2e]));return _0x8a324f[_0x1a433a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4adbf6=>_0x4adbf6[_0x1a433a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a433a([0x2a])))[_0x1a433a([0x6d,0x61,0x70])](_0x1c9fac=>_0x1c9fac[_0x1a433a([0x73,0x70,0x6c,0x69,0x74])](_0x1a433a([0x2e])))[_0x1a433a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53ffda=>_0x53ffda[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc6e89b[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a433a([0x6d,0x61,0x70])](_0x1b413d=>Array(_0xc6e89b[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b413d[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a433a([0x66,0x69,0x6c,0x6c])](_0x1b413d[0x0]===_0x1a433a([0x2a])?_0x1a433a([0x2a]):'')[_0x1a433a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b413d))[_0x1a433a([0x73,0x6f,0x6d,0x65])](_0x59ff27=>_0xc6e89b[_0x1a433a([0x65,0x76,0x65,0x72,0x79])]((_0x5cce0e,_0x343a00)=>_0x59ff27[_0x343a00]===_0x5cce0e||_0x59ff27[_0x343a00]===_0x1a433a([0x2a])));}function _0x20ba62(){return _0x922ed0&&_0x47131c?new window[(_0x1a433a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35e960,_0x474059)=>{_0x922ed0[_0x1a433a([0x74,0x68,0x65,0x6e])](_0x35e960,_0x474059),_0x47131c[_0x1a433a([0x74,0x68,0x65,0x6e])](_0x31b0ef=>{_0x31b0ef!=_0x1a433a([0x56,0x61,0x6c,0x69,0x64])&&_0x35e960(_0x31b0ef);},_0x474059);}):_0x922ed0||_0x47131c||_0x1a433a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3845ba(_0x44cf1a,_0x271ab4){return new window[(_0x1a433a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x489edc=>{if(_0x562909())return _0x489edc(_0x1a433a([0x56,0x61,0x6c,0x69,0x64]));_0x23fca5(),_0x5b7728[_0x1a433a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a433a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5da341=!0x1;const _0x4cdeed=_0x582b9d();function _0x4a39e7(_0x5becef){return!!_0x5becef&&(typeof _0x5becef===_0x1a433a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5becef===_0x1a433a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5becef[_0x1a433a([0x74,0x68,0x65,0x6e])]===_0x1a433a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5becef[_0x1a433a([0x63,0x61,0x74,0x63,0x68])]===_0x1a433a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24f62b(_0x3e50b9){_0x4c1e06(_0x3e50b9)[_0x1a433a([0x74,0x68,0x65,0x6e])](_0x4b1c36=>{if(!_0x4b1c36||_0x4b1c36[_0x1a433a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a433a([0x6f,0x6b]))return _0x1a433a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ee7ac(_0x339dd6(_0x4cdeed+_0x271ab4))!=_0x4b1c36[_0x1a433a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a433a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a433a([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a433a([0x74,0x68,0x65,0x6e])](_0x5b269d=>(_0x33b06c(),_0x5b269d),()=>{const _0x4731eb=_0xc5c344();return null==_0x4731eb?(_0x33b06c(),_0x1a433a([0x56,0x61,0x6c,0x69,0x64])):_0x1a433a(_0x4474ce-_0x4731eb>(0x19f340e1^_0x50aa89)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a433a([0x74,0x68,0x65,0x6e])](_0x489edc)[_0x1a433a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x489edc(_0x1a433a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3597e4=0x3dc92a61^_0x50aa89;function _0x33b06c(){const _0x5deae8=_0x1a433a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ee7ac(_0x339dd6(_0x44cf1a)),_0x4721d7=_0x208060(_0x1ee7ac(window[_0x1a433a([0x4d,0x61,0x74,0x68])][_0x1a433a([0x63,0x65,0x69,0x6c])](_0x4474ce/_0x3597e4)));window[_0x1a433a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a433a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5deae8,_0x4721d7);}function _0xc5c344(){const _0x62f598=_0x1a433a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ee7ac(_0x339dd6(_0x44cf1a)),_0x5923ad=window[_0x1a433a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a433a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x62f598);return _0x5923ad?window[_0x1a433a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x208060(_0x5923ad),0x10)*_0x3597e4:null;}function _0x4c1e06(_0xfe850d){return new window[(_0x1a433a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d63e2,_0x224dff)=>{_0xfe850d[_0x1a433a([0x74,0x68,0x65,0x6e])](_0x3d63e2,_0x224dff),window[_0x1a433a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x224dff,0x3dfe1021^_0x50aa89);});}}_0x5b7728[_0x1a433a([0x6f,0x6e])](_0x1a433a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17f1ef,_0x47e8ca)=>{if(_0x47e8ca[0x0]!=_0x44cf1a)return _0x489edc(_0x1a433a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47e8ca[0x1]={..._0x47e8ca[0x1],[_0x1a433a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cdeed};},{[_0x1a433a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a433a([0x68,0x69,0x67,0x68])}),_0x5b7728[_0x1a433a([0x6f,0x6e])](_0x1a433a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x136810=>{_0x4a39e7(_0x136810[_0x1a433a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5da341=!0x0,_0x24f62b(_0x136810[_0x1a433a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a433a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a433a([0x6c,0x6f,0x77])}),_0x3b66a5[_0x1a433a([0x74,0x68,0x65,0x6e])](()=>{_0x5da341||_0x489edc(_0x1a433a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x562909(){return _0x5b7728[_0x1a433a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a433a([0x76,0x69,0x65,0x77])][_0x1a433a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a433a([0x61,0x75,0x74,0x6f]);}function _0x23fca5(){_0x5b7728[_0x1a433a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a433a([0x76,0x69,0x65,0x77])][_0x1a433a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a433a([0x61,0x75,0x74,0x6f]);}}function _0x569468(_0x108aff){const _0x3593f5=[new window[(_0x1a433a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa68078=>setTimeout(_0xa68078,0x3df6fa2d^_0x50aa89)),_0x3b66a5[_0x1a433a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a433a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45a1c5=>{let _0x4fa6c6=0x0;_0x5b7728[_0x1a433a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a433a([0x6f,0x6e])](_0x1a433a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x413c1c,_0x36e6f1)=>{_0x36e6f1[0x0][_0x1a433a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fa6c6++,_0x4fa6c6==(0x3dffc519^_0x50aa89)&&(_0x45a1c5(),_0x413c1c[_0x1a433a([0x6f,0x66,0x66])]());});}))];return window[_0x1a433a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a433a([0x72,0x61,0x63,0x65])](_0x3593f5)[_0x1a433a([0x74,0x68,0x65,0x6e])](()=>_0x108aff);}async function _0x59e02e(){await _0x3b66a5,_0x5b7728[_0x1a433a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a433a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18bfab,_0x5b7728[_0x1a433a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a433a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18bfab,_0x5b7728[_0x1a433a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a433a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c3757(_0x2914d8){const _0x12fbf7=_0x1d1a1a();_0x5b7728[_0x12fbf7]=_0x1a433a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2914d8,_0x2914d8!=_0x1a433a([0x56,0x61,0x6c,0x69,0x64])&&_0x59e02e();}function _0x1d1a1a(){const _0x4ed62c=window[_0x1a433a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a433a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a433a([0x6e,0x6f,0x77])]())[_0x1a433a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a433a([0x2e]),'');let _0x23cffb=_0x1a433a([0x6e]);for(let _0x36246e=0x0;_0x36246e<_0x4ed62c[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36246e+=0x2){let _0x10ec92=window[_0x1a433a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ed62c[_0x1a433a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36246e,_0x36246e+0x2));_0x10ec92>=_0x5699f9[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10ec92-=_0x5699f9[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23cffb+=_0x5699f9[_0x10ec92];}return _0x23cffb;}function _0x2a4ed2(){const _0x37bead=_0x1c93e2[_0x1a433a([0x73,0x70,0x6c,0x69,0x74])](_0x1a433a([0x2e]));if(0x3!=_0x37bead[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f6b27(_0x37bead[0x1]);function _0x1f6b27(_0x2970f3){const _0x2484ae=_0x11063e(_0x2970f3);return _0x2484ae&&_0x8adaea()?_0x2484ae:null;function _0x8adaea(){const _0x1769e2=_0x2484ae[_0x1a433a([0x6a,0x74,0x69])],_0x4f8234=window[_0x1a433a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1769e2[_0x1a433a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1769e2[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x172014={..._0x2484ae,[_0x1a433a([0x6a,0x74,0x69])]:_0x1769e2[_0x1a433a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1769e2[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x172014[_0x1a433a([0x76,0x63])],_0x339dd6(_0x172014)==_0x4f8234;}}}async function _0x593b06(){let _0xc4275e=!0x0;try{const _0x2db182=_0x1c93e2[_0x1a433a([0x73,0x70,0x6c,0x69,0x74])](_0x1a433a([0x2e])),[_0x3aa929,_0x15dceb,_0x273a2a]=_0x2db182;return _0x374619(_0x3aa929),await _0x2bb420(_0x3aa929,_0x15dceb,_0x273a2a),_0xc4275e;}catch{return!0x1;}function _0x374619(_0x2f1fa0){const _0x4c0931=_0x11063e(_0x2f1fa0);_0x4c0931&&_0x4c0931[_0x1a433a([0x61,0x6c,0x67])]==_0x1a433a([0x45,0x53,0x32,0x35,0x36])||(_0xc4275e=!0x1);}async function _0x2bb420(_0x15a6e7,_0x49f053,_0x333001){const _0x3c888f=window[_0x1a433a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a433a([0x66,0x72,0x6f,0x6d])](_0x1215d3(_0x333001),_0x3c5e19=>_0x3c5e19[_0x1a433a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5acc7a=new window[(_0x1a433a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a433a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15a6e7+_0x1a433a([0x2e])+_0x49f053),_0x107481=window[_0x1a433a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a433a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x107481)return;const _0x5d4052=await _0x107481[_0x1a433a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a433a([0x6a,0x77,0x6b]),_0x5522bb,{[_0x1a433a([0x6e,0x61,0x6d,0x65])]:_0x1a433a([0x45,0x43,0x44,0x53,0x41]),[_0x1a433a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a433a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a433a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x107481[_0x1a433a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a433a([0x6e,0x61,0x6d,0x65])]:_0x1a433a([0x45,0x43,0x44,0x53,0x41]),[_0x1a433a([0x68,0x61,0x73,0x68])]:{[_0x1a433a([0x6e,0x61,0x6d,0x65])]:_0x1a433a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d4052,_0x3c888f,_0x5acc7a)||(_0xc4275e=!0x1);}}function _0x11063e(_0x59eb2d){return _0x59eb2d[_0x1a433a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a433a([0x65,0x79]))?JSON[_0x1a433a([0x70,0x61,0x72,0x73,0x65])](_0x1215d3(_0x59eb2d)):null;}function _0x1215d3(_0x516012){return window[_0x1a433a([0x61,0x74,0x6f,0x62])](_0x516012[_0x1a433a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a433a([0x2b]))[_0x1a433a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a433a([0x2f])));}function _0x339dd6(_0x1127c2){let _0x87ac8c=0x1505;function _0xee7b38(_0x1613a0){for(let _0x5439d3=0x0;_0x5439d3<_0x1613a0[_0x1a433a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5439d3++){const _0x137b9a=_0x1613a0[_0x1a433a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5439d3);_0x87ac8c=(_0x87ac8c<<0x5)+_0x87ac8c+_0x137b9a,_0x87ac8c&=_0x87ac8c;}}function _0x55a544(_0x209bdf){Array[_0x1a433a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x209bdf)?_0x209bdf[_0x1a433a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55a544):_0x209bdf&&typeof _0x209bdf==_0x1a433a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a433a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x209bdf)[_0x1a433a([0x73,0x6f,0x72,0x74])]()[_0x1a433a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x430209,_0x1f1895])=>{_0xee7b38(_0x430209),_0x55a544(_0x1f1895);}):_0xee7b38(window[_0x1a433a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x209bdf));}return _0x55a544(_0x1127c2),_0x87ac8c>>>0x0;}function _0x1ee7ac(_0x48ea67){return _0x48ea67[_0x1a433a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a433a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a433a([0x30]));}function _0x208060(_0x1b4126){return _0x1b4126[_0x1a433a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a433a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a433a([0x6a,0x6f,0x69,0x6e])]('');}function _0x18bfab(){}function _0x1a433a(_0x53f9fe){const _0x349d46=_0x370d;return _0x53f9fe[_0x349d46(0xbc)](_0x2415a7=>String[_0x349d46(0xa3)](_0x2415a7))[_0x349d46(0xeb)]('');}_0x1c3757(await _0x527f59());}(this);}[_0x47f986(0xc9)](){const _0x50b335=_0x47f986,_0x5285f1=this[_0x50b335(0xb4)][_0x50b335(0xa5)];_0x5285f1[_0x50b335(0xff)](_0x2f06fd=>{const _0x4b8565=_0x50b335,_0x67e16b=_0x5285f1[_0x4b8565(0xf1)][_0x4b8565(0xf9)][_0x4b8565(0xb0)]();let _0x1f40ad=0x0;for(const _0x1e6ac2 of _0x67e16b){const _0x2edd2b=w+':'+_0x1f40ad;if(_0x5285f1[_0x4b8565(0xab)][_0x4b8565(0x105)](_0x2edd2b))_0x2f06fd[_0x4b8565(0xa7)](_0x2edd2b,{'range':_0x1e6ac2});else{if(_0x1e6ac2[_0x4b8565(0xe1)][_0x4b8565(0xb2)]){const _0x3066e9=_0x1e6ac2[_0x4b8565(0xe1)][_0x4b8565(0x102)](({item:_0x2e94bb})=>!_0x5285f1[_0x4b8565(0xf0)][_0x4b8565(0xc0)](_0x2e94bb),{'boundaries':_0x1e6ac2});_0x2f06fd[_0x4b8565(0xf2)](_0x2edd2b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2f06fd[_0x4b8565(0xa4)](_0x3066e9,_0x1e6ac2[_0x4b8565(0xb7)])});}else _0x2f06fd[_0x4b8565(0xf2)](_0x2edd2b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e6ac2});}_0x1f40ad++;}});}[_0x47f986(0xfa)](){const _0x362508=_0x47f986,_0x4ed5f7=this[_0x362508(0xb4)][_0x362508(0xa5)],_0x5df0e9=Array[_0x362508(0xf5)](this[_0x362508(0xb4)][_0x362508(0xa5)][_0x362508(0xab)][_0x362508(0xdc)](w));_0x5df0e9[_0x362508(0x101)]&&_0x4ed5f7[_0x362508(0xff)](_0x4b33ab=>{const _0x2082f5=_0x362508;_0x5df0e9[_0x2082f5(0xdf)](_0x392c7a=>{const _0x738cbc=_0x2082f5;_0x4b33ab[_0x738cbc(0xc6)](_0x392c7a);});});}[_0x47f986(0xca)](_0x119f70,_0x4a1435){const _0x1a2681=_0x47f986,_0x53ea9c=this[_0x1a2681(0xe0)](),_0x4607fe=_0x4a1435||_0x53ea9c[_0x1a2681(0xd4)]();this[_0x1a2681(0xb4)][_0x1a2681(0xa5)][_0x1a2681(0xa9)](_0x4607fe)&&this[_0x1a2681(0xb4)][_0x1a2681(0xa5)][_0x1a2681(0xff)](_0x50cfb6=>{const _0x388571=_0x1a2681;this[_0x388571(0xfa)](),_0x4a1435||this[_0x388571(0xc3)](_0x50cfb6,_0x53ea9c),this[_0x388571(0xf7)]({'insertAt':_0x4607fe,'writer':_0x50cfb6,'html':_0x119f70});});}[_0x47f986(0xd2)](_0x2918c5){const _0x344ec1=_0x47f986,{model:_0xab7387}=this[_0x344ec1(0xb4)],_0x1f7666=this[_0x344ec1(0xe0)]();_0xab7387[_0x344ec1(0xff)](()=>{const _0x548a67=_0x344ec1,_0x285e0e=this[_0x548a67(0xea)](_0x2918c5,_0x1f7666)||this[_0x548a67(0xd3)](_0x1f7666);this[_0x548a67(0xca)](_0x2918c5,_0x285e0e);});}[_0x47f986(0xe0)](){const _0x3fa759=_0x47f986,_0x4e677c=this[_0x3fa759(0xb4)][_0x3fa759(0xa5)],_0x5a83fa=Array[_0x3fa759(0xf5)](_0x4e677c[_0x3fa759(0xab)][_0x3fa759(0xdc)](w))[_0x3fa759(0xbc)](_0x370b7a=>_0x370b7a[_0x3fa759(0xe6)]());return _0x4e677c[_0x3fa759(0xcf)](_0x5a83fa);}[_0x47f986(0xf7)]({writer:_0x843da2,html:_0x530854,insertAt:_0x48320f}){const _0x6502ef=_0x47f986,{view:_0x55c9f3}=this[_0x6502ef(0xb4)][_0x6502ef(0xf8)],_0x255a7d=this[_0x6502ef(0xb4)][_0x6502ef(0xb1)][_0x6502ef(0x108)](_0x17f94e),_0x2b19d6=new l();_0x2b19d6[_0x6502ef(0xe4)](_0x6502ef(0xa0),_0x530854);const _0x285709=new ClipboardEvent(_0x6502ef(0xef),{'clipboardData':_0x2b19d6}),_0x30db0d=new _0x47ff53(_0x55c9f3,_0x285709,{'dataTransfer':new _0xe7a255(_0x2b19d6)});_0x843da2[_0x6502ef(0xf3)](_0x48320f);const _0x58b88f=(_0x57b44b,_0x4a7436)=>{const _0x353daa=_0x6502ef;_0x4a7436[_0x353daa(0xc5)]&&_0x843da2[_0x353daa(0xf3)](_0x4a7436[_0x353daa(0xc5)]);};_0x255a7d[_0x6502ef(0xa8)](_0x6502ef(0xbf),_0x58b88f,{'priority':_0x6502ef(0x9d)}),_0x55c9f3[_0x6502ef(0xf1)][_0x6502ef(0x9f)](_0x6502ef(0xef),_0x30db0d),_0x255a7d[_0x6502ef(0xc2)](_0x6502ef(0xbf),_0x58b88f);}[_0x47f986(0xd3)](_0x27240b){const _0x2711a5=_0x47f986,{model:_0x3d469b}=this[_0x2711a5(0xb4)],_0x1cb80b=Array[_0x2711a5(0xf5)](_0x27240b[_0x2711a5(0xee)]());return _0x1cb80b[_0x2711a5(0x101)]?_0x3d469b[_0x2711a5(0xfd)](_0x1cb80b[_0x2711a5(0xda)]()):_0x27240b[_0x2711a5(0xec)]();}[_0x47f986(0xea)](_0x55f8b0,_0x4f9a71){const _0x46a652=_0x47f986,{model:_0x292267,plugins:_0x328a5e}=this[_0x46a652(0xb4)];if(_0x328a5e[_0x46a652(0x105)](_0x46a652(0xdb))){const _0x2d4bf9=_0x328a5e[_0x46a652(0x108)](_0x46a652(0xdb))[_0x46a652(0xde)](_0x4f9a71);if(_0x2d4bf9[_0x46a652(0x101)]){const _0x5bd3bf=this[_0x46a652(0x104)](_0x55f8b0),_0x1443e1=this[_0x46a652(0xdd)](_0x2d4bf9,_0x5bd3bf);return _0x292267[_0x46a652(0xa1)](_0x1443e1,0x0);}}return null;}[_0x47f986(0x104)](_0x17968b){const _0x35135b=_0x47f986,_0x33ef3b=this[_0x35135b(0xb4)][_0x35135b(0xb1)][_0x35135b(0x108)](_0x35135b(0xdb)),_0x1ec65b=this[_0x35135b(0xb4)][_0x35135b(0xa2)][_0x35135b(0x100)](_0x17968b),_0x3babd2=Array[_0x35135b(0xf5)](_0x1ec65b[_0x35135b(0xd0)]())[_0x35135b(0xb6)](_0x5f303f=>_0x5f303f['is'](_0x35135b(0x9e),_0x35135b(0x106)));let _0x48a262=0x0;return _0x3babd2[_0x35135b(0xdf)](_0x450e4d=>{const _0x25b614=_0x35135b;_0x48a262+=_0x33ef3b[_0x25b614(0x107)](_0x450e4d);}),_0x48a262;}[_0x47f986(0xdd)](_0x53e58c,_0x3a3fa8){const _0x530458=_0x47f986,_0x2b7baa=this[_0x530458(0xb4)][_0x530458(0xb1)][_0x530458(0x108)](_0x530458(0xdb)),_0x51126a=_0x2b7baa[_0x530458(0xe7)](_0x53e58c),_0x5a8966=_0x2b7baa[_0x530458(0xe3)](_0x53e58c),_0x592eea=_0x51126a[_0x530458(0xc8)]+0x1,_0x425d37=_0x5a8966[_0x530458(0xbd)],_0x54a21e=_0x53e58c[0x0][_0x530458(0xe2)](_0x530458(0x106));for(let _0x538ce8=0x0;_0x538ce8<_0x3a3fa8;_0x538ce8++)_0x2b7baa[_0x530458(0xb8)](_0x54a21e,{'at':_0x592eea});return _0x54a21e[_0x530458(0xd9)](_0x592eea)[_0x530458(0xd9)](_0x425d37);}[_0x47f986(0xc3)](_0xad3c14,_0x39575c){const _0x4d0990=_0x47f986,{plugins:_0xc0e85d}=this[_0x4d0990(0xb4)],{model:_0x4edc33}=_0xad3c14;if(!_0xc0e85d[_0x4d0990(0x105)](_0x4d0990(0xdb)))return;_0xc0e85d[_0x4d0990(0x108)](_0x4d0990(0xdb))[_0x4d0990(0xde)](_0x39575c)[_0x4d0990(0x101)]&&_0x4edc33[_0x4d0990(0xc7)](_0x39575c);}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x53788c=_0x2aa6;(function(_0x528a0b,_0x426e51){const _0x4343be=_0x2aa6,_0x5f5560=_0x528a0b();while(!![]){try{const _0x510a19=parseInt(_0x4343be(0x1cf))/0x1+-parseInt(_0x4343be(0x19e))/0x2+parseInt(_0x4343be(0x1a9))/0x3*(parseInt(_0x4343be(0x164))/0x4)+parseInt(_0x4343be(0x179))/0x5*(parseInt(_0x4343be(0x1a2))/0x6)+parseInt(_0x4343be(0x19c))/0x7*(-parseInt(_0x4343be(0x1e4))/0x8)+parseInt(_0x4343be(0x18b))/0x9+-parseInt(_0x4343be(0x163))/0xa*(parseInt(_0x4343be(0x1f1))/0xb);if(_0x510a19===_0x426e51)break;else _0x5f5560['push'](_0x5f5560['shift']());}catch(_0x507d28){_0x5f5560['push'](_0x5f5560['shift']());}}}(_0x2219,0x7704b));function _0x2aa6(_0x1501a8,_0x28dc50){const _0x22198d=_0x2219();return _0x2aa6=function(_0x2aa650,_0x3defe0){_0x2aa650=_0x2aa650-0x157;let _0x5d4053=_0x22198d[_0x2aa650];return _0x5d4053;},_0x2aa6(_0x1501a8,_0x28dc50);}import{Plugin as _0xd644f0}from'ckeditor5/src/core.js';import{IconMagicWand as _0x52bfcb,IconRobotPencil as _0x159451}from'ckeditor5/src/icons.js';import{first as _0x4e33dd,CKEditorError as _0x502507}from'ckeditor5/src/utils.js';import{createDropdown as _0x5865a0,addMenuToDropdown as _0x163d0d,ButtonView as _0x28b27f,MenuBarMenuListItemButtonView as _0x435105,Dialog as _0x1acef7,DialogViewPosition as _0x56856d,MenuBarMenuView as _0x2490e3,MenuBarMenuListView as _0x3f89f1,MenuBarMenuListItemView as _0x405b6f}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xb68271,UNGROUPED_COMMANDS_GROUP_ID as _0x37219a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2b4523}from'./aiassistantediting.js';import{AIAdapter as _0x26bd54}from'./adapters/aiadapter.js';import{getTranslation as _0x5e449e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x56bd51}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4aaeb4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x6ce093}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x1c402d}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';function _0x2219(){const _0x1a69b3=['<p>','insertContentBelow','_dialog','errorView','_aiAdapter','init','commands','55jujRfV','hideFakeVisualSelection','promptView','contentArea','comment','label','splice','announce','aiLicenseKeyExpired','aiCommands','command:','ai.aiAssistant.contentAreaCssClass','Error\x20during\x20AI\x20content\x20generation:\x20%0','isPremiumPlugin','componentFactory','getRanges','buttons','_initView','set','view','from','sort','wasMoved','aiAssistant','_populateMenuBarMenu','change:isProcessing','selection','editing','_uiCssClasses','updatePosition','ai-commands-config-order-collision','hideUI','_commandDefinitions','AIAssistantUI','_onExecute','4019190FAwSbM','252ZvTLdC','map','setSelection','_formView','_getResolvedCommandsDefinitions','enabledCommandsIds','copy','aiLicenseKeyValid','add','ck-ai-commands-dropdown\x20','addMany','\x20ck-ai-assistant-ui_theme','values','replaceContent','buttonView','change:enabledCommandsIds','ai.useTheme','featureNotAllowed','ai.aiAssistant.disabledElements','ai.aiAssistant.commands','prompt','28965ZAKnjt','textAdapter','trialLimit','polite','evaluationLimit','queryView','get','custom','showUI','isEnabled','length','updateView','licenseKey','trim','menuBar:aiAssistant','hide','showAIAssistant','</p>','8007561kIKwQQ','filter','_forceMarkersCopy','forEach','push','plugins','isFlat','text','model','menuBar:aiCommands','editor','document','bind','_getMenuBarGroupButtons','render','ck-ai-assistant-ui','aiLicenseKeyTrialLimit','7ulDEpi','fieldView','247370yCnbtn','update','media','_aiAssistantController','114ryOnTI','Generated\x20content:\x20%0','panelView','isOfficialPlugin','execute','delegate','_initAriaAiStatusChangeAnnouncements','38949rduSqp','children','schema','getSelectedBlocks','pluginName','getLimitElement','usageLimit','show','isCollapsed','groupLabel','destroy','source','requires','locale','reset','expired','rawHtml','_createAIAssistantUIButton','domainLimit','replace','menuPanelClass','showFakeVisualSelection','order','invalid','EDITOR_TOP_SIDE','text/html','requiresContent','fire','aiLicenseKeyEvaluationLimit','_showLicenseError','change','define','isOn','AI\x20Commands','items','AIAssistant','AI\x20is\x20writing','aiLicenseKeyInvalid','925833tpNnIT','once','menuitemcheckbox','REPLACE','tableOfContents','_licenseKeyCheckInterval','focus','body','groupId','aiLicenseKeyDomainLimit','change:isError','config','insertContent','getData','DataTransfer','ck-ai-assistant-button\x20','getSelectedElement','aiLicenseKeyNotAllowed','currentContext','includes','aiLicenseKeyUsageLimit','982232zIhCws','change:value','AI\x20Assistant','INSERT','listenTo','menuView'];_0x2219=function(){return _0x1a69b3;};return _0x2219();}const l=globalThis[_0x53788c(0x1dd)];import{ClipboardMarkersUtils as _0x57b99a}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3db746,ViewDataTransfer as _0x3db066}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xd644f0{[_0x53788c(0x185)];[_0x53788c(0x1d4)];[_0x53788c(0x1ec)];[_0x53788c(0x167)];[_0x53788c(0x1ee)];[_0x53788c(0x1a1)];[_0x53788c(0x15c)]='';static get[_0x53788c(0x1ad)](){const _0x1669d5=_0x53788c;return _0x1669d5(0x161);}static get[_0x53788c(0x1a5)](){return!0x0;}static get[_0x53788c(0x1fe)](){return!0x0;}static get[_0x53788c(0x1b5)](){return[_0x57b99a,_0x2b4523,_0x26bd54,_0x1acef7];}constructor(_0x41e404){const _0x54fef0=_0x53788c;super(_0x41e404),_0x41e404[_0x54fef0(0x1da)][_0x54fef0(0x1c8)](_0x54fef0(0x176),[_0x54fef0(0x1a0),_0x54fef0(0x1b9),_0x54fef0(0x1d3)]),_0x41e404[_0x54fef0(0x1da)][_0x54fef0(0x1c8)](_0x54fef0(0x1fc),''),_0x41e404[_0x54fef0(0x1da)][_0x54fef0(0x1c8)](_0x54fef0(0x174),!0x0),this[_0x54fef0(0x15c)]=_0x54fef0(0x19a)+(_0x41e404[_0x54fef0(0x1da)][_0x54fef0(0x17f)](_0x54fef0(0x174))?_0x54fef0(0x16f):'');}[_0x53788c(0x1ef)](){const _0x3492f6=_0x53788c,{editor:_0x193d44}=this;this[_0x3492f6(0x1ee)]=_0x193d44[_0x3492f6(0x190)][_0x3492f6(0x17f)](_0x26bd54),this[_0x3492f6(0x1ec)]=_0x193d44[_0x3492f6(0x190)][_0x3492f6(0x17f)](_0x1acef7),this[_0x3492f6(0x167)]=null,this[_0x3492f6(0x160)]=this[_0x3492f6(0x168)]();const _0x5db2d5=new _0x56bd51(_0x193d44,Array[_0x3492f6(0x205)](this[_0x3492f6(0x160)][_0x3492f6(0x170)]()));_0x193d44[_0x3492f6(0x1f0)][_0x3492f6(0x16c)](_0x3492f6(0x189),_0x5db2d5),_0x193d44['ui'][_0x3492f6(0x1ff)][_0x3492f6(0x16c)](_0x3492f6(0x1fa),_0x4e64de=>{const _0x598c32=_0x3492f6,_0x78b831=_0x5865a0(_0x4e64de);return _0x78b831[_0x598c32(0x203)]({'class':_0x598c32(0x16d)+this[_0x598c32(0x15c)]}),_0x78b831[_0x598c32(0x172)][_0x598c32(0x203)]({'label':_0x5e449e(_0x4e64de,_0x598c32(0x1ca)),'icon':_0x52bfcb,'tooltip':!0x0}),_0x78b831['on'](_0x598c32(0x1a6),_0x336ce6=>this[_0x598c32(0x162)](_0x336ce6[_0x598c32(0x1b4)]['id'])),_0x163d0d(_0x78b831,_0x193d44['ui'][_0x598c32(0x204)][_0x598c32(0x1d6)],function(_0x2ea7fa){const _0x39bb86=_0x598c32,_0x339dfb=_0xb68271(_0x2ea7fa[_0x39bb86(0x1da)][_0x39bb86(0x17f)](_0x39bb86(0x177)),_0x2ea7fa[_0x39bb86(0x1b6)]),_0x282db1=U(_0x2ea7fa,_0x339dfb)[_0x39bb86(0x18c)](_0x1ba455=>_0x1ba455[_0x39bb86(0x1f0)][_0x39bb86(0x183)]);if(0x1===_0x282db1[_0x39bb86(0x183)])return U(_0x2ea7fa,_0x282db1[0x0][_0x39bb86(0x1f0)])[_0x39bb86(0x165)](_0x5f0f89=>({'id':_0x5f0f89['id'],'label':_0x5f0f89[_0x39bb86(0x1f6)]}));return _0x282db1[_0x39bb86(0x165)](_0x2f37fe=>{const _0x44cb7a=_0x39bb86,{groupId:_0x2f593d,groupLabel:_0x2561c1,commands:_0x5306bb}=_0x2f37fe,_0x4a67f6=U(_0x2ea7fa,_0x5306bb)[_0x44cb7a(0x165)](_0x2c7a36=>({'id':_0x2c7a36['id'],'label':_0x2c7a36[_0x44cb7a(0x1f6)]}));return{'id':_0x2f593d,'menu':_0x2561c1||_0x2f593d,'children':_0x4a67f6};});}(_0x193d44),{'ariaLabel':_0x5e449e(_0x4e64de,_0x598c32(0x1ca))}),_0x78b831[_0x598c32(0x1e9)][_0x598c32(0x1bd)]=_0x598c32(0x16d)+this[_0x598c32(0x15c)],_0x5db2d5['on'](_0x598c32(0x173),_0x466fae),_0x78b831[_0x598c32(0x1e9)][_0x598c32(0x1d0)](_0x598c32(0x199),_0x466fae),_0x78b831;function _0x466fae(){const _0x536267=_0x598c32;_0x78b831[_0x536267(0x182)]=_0x5db2d5[_0x536267(0x169)][_0x536267(0x183)]>0x0;for(const _0x196f4b of _0x78b831[_0x536267(0x1e9)][_0x536267(0x201)])_0x196f4b[_0x536267(0x182)]=_0x5db2d5[_0x536267(0x169)][_0x536267(0x1e2)](_0x196f4b['id']);}}),_0x193d44['ui'][_0x3492f6(0x1ff)][_0x3492f6(0x16c)](_0x3492f6(0x194),_0x3fb343=>{const _0x24fcd3=_0x3492f6,_0x2e8556=new _0x2490e3(_0x3fb343);_0x2e8556[_0x24fcd3(0x172)][_0x24fcd3(0x203)]({'label':_0x5e449e(_0x3fb343,_0x24fcd3(0x1ca)),'icon':_0x52bfcb}),_0x2e8556[_0x24fcd3(0x197)](_0x24fcd3(0x182))['to'](_0x5db2d5,_0x24fcd3(0x169),_0x31d525=>_0x31d525[_0x24fcd3(0x183)]>0x0);const _0x4eeda6=_0xb68271(_0x193d44[_0x24fcd3(0x1da)][_0x24fcd3(0x17f)](_0x24fcd3(0x177)),_0x3fb343);return this[_0x24fcd3(0x158)](_0x5db2d5,_0x2e8556,_0x4eeda6,_0x5e9a36=>this[_0x24fcd3(0x162)](_0x5e9a36)),_0x2e8556;}),_0x193d44['ui'][_0x3492f6(0x1ff)][_0x3492f6(0x16c)](_0x3492f6(0x157),()=>{const _0x1a8451=_0x3492f6,_0x23cb5f=this[_0x1a8451(0x1ba)](_0x28b27f);return _0x23cb5f[_0x1a8451(0x203)]({'tooltip':!0x0,'class':_0x1a8451(0x1de)+this[_0x1a8451(0x15c)]}),_0x23cb5f;}),_0x193d44['ui'][_0x3492f6(0x1ff)][_0x3492f6(0x16c)](_0x3492f6(0x187),()=>{const _0x3c7f7b=_0x3492f6,_0x1b8091=this[_0x3c7f7b(0x1ba)](_0x435105);return _0x1b8091[_0x3c7f7b(0x203)]({'role':_0x3c7f7b(0x1d1)}),_0x1b8091;}),this[_0x3492f6(0x185)]=this[_0x3492f6(0x195)][_0x3492f6(0x1da)][_0x3492f6(0x17f)](_0x3492f6(0x185));const _0x126e9c=this[_0x3492f6(0x195)];this[_0x3492f6(0x1d4)]=setInterval(()=>{const _0x4a5903=_0x3492f6;let _0x14226f;for(const _0xf6033d in _0x126e9c){const _0x382aa3=_0xf6033d,_0x508345=_0x126e9c[_0x382aa3];if(_0x4a5903(0x16b)==_0x508345||_0x4a5903(0x1ce)==_0x508345||_0x4a5903(0x1f9)==_0x508345||_0x4a5903(0x1d8)==_0x508345||_0x4a5903(0x1e0)==_0x508345||_0x4a5903(0x1c5)==_0x508345||_0x4a5903(0x19b)==_0x508345||_0x4a5903(0x1e3)==_0x508345){delete _0x126e9c[_0x382aa3],_0x14226f=_0x508345,clearInterval(this[_0x4a5903(0x1d4)]),this[_0x4a5903(0x1d4)]=void 0x0;break;}}_0x4a5903(0x1ce)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x1c0)),_0x4a5903(0x1f9)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x1b8)),_0x4a5903(0x1d8)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x1bb)),_0x4a5903(0x1e0)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x175),_0x4a5903(0x1cc)),_0x4a5903(0x1c5)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x17d)),_0x4a5903(0x19b)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x17b)),_0x4a5903(0x1e3)==_0x14226f&&_0x126e9c[_0x4a5903(0x1c6)](_0x4a5903(0x1af));},0x3e8);}[_0x53788c(0x1b3)](){const _0x21f8da=_0x53788c;super[_0x21f8da(0x1b3)](),this[_0x21f8da(0x1d4)]&&clearInterval(this[_0x21f8da(0x1d4)]);}[_0x53788c(0x181)](_0x3dab88='',_0x4240bc='',_0x4a798e=_0x53788c(0x180)){const _0x232c6f=_0x53788c,_0x22397f=this[_0x232c6f(0x195)],_0x563b5a=_0x22397f[_0x232c6f(0x15b)][_0x232c6f(0x204)],_0x5a8ad4=_0x22397f[_0x232c6f(0x190)][_0x232c6f(0x17f)](_0x2b4523),_0x1ff2c0=_0x22397f[_0x232c6f(0x190)][_0x232c6f(0x17f)](_0x57b99a);_0x5a8ad4[_0x232c6f(0x1be)]();const _0x6afb22=new l(),_0x2c0b28=new ClipboardEvent(_0x232c6f(0x16a),{'clipboardData':_0x6afb22}),_0x2257df=new _0x3db066(_0x6afb22),_0x53a702=new _0x3db746(_0x563b5a,_0x2c0b28,{'dataTransfer':_0x2257df});_0x1ff2c0[_0x232c6f(0x18d)](_0x232c6f(0x1f5),()=>{const _0x3bbd67=_0x232c6f;_0x563b5a[_0x3bbd67(0x196)][_0x3bbd67(0x1c4)](_0x3bbd67(0x16a),_0x53a702);}),this[_0x232c6f(0x167)]||(this[_0x232c6f(0x202)](),this[_0x232c6f(0x1a1)]=new _0x4aaeb4(_0x22397f,this[_0x232c6f(0x1ee)][_0x232c6f(0x17a)],this[_0x232c6f(0x167)]));let _0x54b2d5=_0x2257df[_0x232c6f(0x1dc)](_0x232c6f(0x1c2));const _0x305df3=_0x22397f[_0x232c6f(0x193)][_0x232c6f(0x196)][_0x232c6f(0x15a)],_0x2ef395=Array[_0x232c6f(0x205)](_0x305df3[_0x232c6f(0x200)]());0x1===_0x2ef395[_0x232c6f(0x183)]&&_0x2ef395[0x0][_0x232c6f(0x191)]&&!_0x305df3[_0x232c6f(0x1df)]()&&''!==_0x54b2d5[_0x232c6f(0x1bc)](/&nbsp;/g,'')[_0x232c6f(0x186)]()&&(_0x54b2d5=_0x232c6f(0x1ea)+_0x54b2d5+_0x232c6f(0x18a)),this[_0x232c6f(0x1a1)][_0x232c6f(0x184)]({'actionId':_0x4a798e,'query':_0x3dab88,'htmlContent':_0x54b2d5,'label':_0x4240bc,'mainActionLabel':_0x1c402d[_0x22397f[_0x232c6f(0x193)][_0x232c6f(0x196)][_0x232c6f(0x15a)][_0x232c6f(0x1b1)]?_0x232c6f(0x1e7):_0x232c6f(0x1d2)]}),_0x232c6f(0x157)!==this[_0x232c6f(0x1ec)]['id']?this[_0x232c6f(0x1ec)][_0x232c6f(0x1b0)]({'id':_0x232c6f(0x157),'icon':_0x159451,'title':_0x5e449e(this[_0x232c6f(0x195)][_0x232c6f(0x1b6)],_0x232c6f(0x1e6)),'content':this[_0x232c6f(0x167)],'position':_0x56856d[_0x232c6f(0x1c1)],'onShow':()=>{const _0x5d303a=_0x232c6f;this[_0x5d303a(0x167)][_0x5d303a(0x1d5)]();},'onHide':()=>{const _0x358bf2=_0x232c6f;this[_0x358bf2(0x1a1)][_0x358bf2(0x1b7)](),_0x5a8ad4[_0x358bf2(0x1f2)]();}}):this[_0x232c6f(0x1ec)][_0x232c6f(0x204)][_0x232c6f(0x207)]||this[_0x232c6f(0x1ec)][_0x232c6f(0x204)][_0x232c6f(0x15d)]();}[_0x53788c(0x15f)](){const _0x58dae8=_0x53788c;this[_0x58dae8(0x1ec)][_0x58dae8(0x188)]();}[_0x53788c(0x168)](){const _0x2a3e28=_0x53788c,_0x4d45e4=new Map(),_0x32e291=_0xb68271(this[_0x2a3e28(0x195)][_0x2a3e28(0x1da)][_0x2a3e28(0x17f)](_0x2a3e28(0x177)),this[_0x2a3e28(0x195)][_0x2a3e28(0x1b6)]);for(const _0x3be3fc of _0x32e291)for(const _0x35365d of _0x3be3fc[_0x2a3e28(0x1f0)])_0x4d45e4[_0x2a3e28(0x203)](_0x35365d['id'],{..._0x35365d,'groupId':_0x3be3fc[_0x2a3e28(0x1d7)],'groupLabel':_0x3be3fc[_0x2a3e28(0x1b2)]||_0x3be3fc[_0x2a3e28(0x1d7)]});return _0x4d45e4;}[_0x53788c(0x1ba)](_0x335b07){const _0x190a65=_0x53788c,_0x1220af=this[_0x190a65(0x195)],_0x23ed37=_0x1220af[_0x190a65(0x1f0)][_0x190a65(0x17f)](_0x190a65(0x189)),_0x317e85=new _0x335b07(_0x1220af[_0x190a65(0x1b6)]);return _0x317e85[_0x190a65(0x203)]({'label':_0x5e449e(_0x1220af[_0x190a65(0x1b6)],_0x190a65(0x1e6)),'icon':_0x159451,'isToggleable':!0x0}),_0x317e85[_0x190a65(0x197)](_0x190a65(0x182))['to'](_0x23ed37),_0x317e85[_0x190a65(0x197)](_0x190a65(0x1c9))['to'](this[_0x190a65(0x1ec)],'id',_0x42aa6b=>_0x190a65(0x157)===_0x42aa6b),this[_0x190a65(0x1e8)](_0x317e85,_0x190a65(0x1a6),()=>{const _0x5f288b=_0x190a65;_0x317e85[_0x5f288b(0x1c9)]?this[_0x5f288b(0x15f)]():_0x23ed37[_0x5f288b(0x1a6)]();}),_0x317e85;}[_0x53788c(0x202)](){const _0x341275=_0x53788c,_0x525be7=this[_0x341275(0x195)][_0x341275(0x190)][_0x341275(0x17f)](_0x2b4523);this[_0x341275(0x167)]=new _0x6ce093(this[_0x341275(0x195)][_0x341275(0x1b6)],this[_0x341275(0x15c)],this[_0x341275(0x195)][_0x341275(0x1da)][_0x341275(0x17f)](_0x341275(0x1fc))),this[_0x341275(0x167)]['on'](_0x341275(0x1e5),()=>{const _0xc30f49=_0x341275;this[_0xc30f49(0x1ec)][_0xc30f49(0x204)][_0xc30f49(0x207)]||this[_0xc30f49(0x1ec)][_0xc30f49(0x204)][_0xc30f49(0x15d)]();}),this[_0x341275(0x167)][_0x341275(0x1f3)][_0x341275(0x17e)][_0x341275(0x19d)]['on'](_0x341275(0x19f),()=>{const _0x5cd37b=_0x341275;this[_0x5cd37b(0x1ec)][_0x5cd37b(0x204)][_0x5cd37b(0x207)]||this[_0x5cd37b(0x1ec)][_0x5cd37b(0x204)][_0x5cd37b(0x15d)]();}),this[_0x341275(0x1e8)](this[_0x341275(0x167)],_0x341275(0x171),()=>{const _0x39bad2=_0x341275;_0x525be7[_0x39bad2(0x1db)](this[_0x39bad2(0x1a1)][_0x39bad2(0x1e1)]),this[_0x39bad2(0x15f)]();}),this[_0x341275(0x1e8)](this[_0x341275(0x167)],_0x341275(0x1eb),()=>{const _0x1083d9=_0x341275;_0x525be7[_0x1083d9(0x1eb)](this[_0x1083d9(0x1a1)][_0x1083d9(0x1e1)]),this[_0x1083d9(0x15f)]();}),this[_0x341275(0x1a8)]();}[_0x53788c(0x1a8)](){const _0x43faff=_0x53788c,{locale:_0x1f5c28,ui:{ariaLiveAnnouncer:_0x7e80f3}}=this[_0x43faff(0x195)];this[_0x43faff(0x167)][_0x43faff(0x1f4)]['on'](_0x43faff(0x159),(_0x466f7d,_0x526ffc,_0x93bd31)=>{const _0xd0c224=_0x43faff,_0x5407c7=this[_0xd0c224(0x1a1)][_0xd0c224(0x1e1)];_0x93bd31?_0x7e80f3[_0xd0c224(0x1f8)](_0x5e449e(_0x1f5c28,_0xd0c224(0x1cd))):_0x5407c7&&_0x7e80f3[_0xd0c224(0x1f8)](_0x5e449e(_0x1f5c28,_0xd0c224(0x1a3),_0x5407c7),{'politeness':_0xd0c224(0x17c),'isUnsafeHTML':!0x0});}),this[_0x43faff(0x167)]['on'](_0x43faff(0x1d9),(_0x5c526f,_0x5aa05b,_0xf08a2c)=>{const _0x2d3751=_0x43faff;if(_0xf08a2c){const _0x3e93e2=this[_0x2d3751(0x167)][_0x2d3751(0x1ed)][_0x2d3751(0x192)];_0x7e80f3[_0x2d3751(0x1f8)](_0x5e449e(_0x1f5c28,_0x2d3751(0x1fd),_0x3e93e2));}});}[_0x53788c(0x162)](_0xaaf836){const _0x5f1d77=_0x53788c,_0x1cd5b1=this[_0x5f1d77(0x160)][_0x5f1d77(0x17f)](_0xaaf836),_0xf0bd8d=this[_0x5f1d77(0x195)],_0x263c52=_0xf0bd8d[_0x5f1d77(0x193)][_0x5f1d77(0x196)][_0x5f1d77(0x15a)],_0x19de53=_0xf0bd8d[_0x5f1d77(0x1f0)][_0x5f1d77(0x17f)](_0x5f1d77(0x189)),_0x2b04e5=_0xf0bd8d[_0x5f1d77(0x190)][_0x5f1d77(0x17f)](_0x2b4523),_0x571f0f=''+(_0x1cd5b1[_0x5f1d77(0x1d7)]!==_0x37219a?_0x1cd5b1[_0x5f1d77(0x1b2)]+':\x20':'')+_0x1cd5b1[_0x5f1d77(0x1f6)];if(!0x1!==_0x1cd5b1[_0x5f1d77(0x1c3)]&&_0x263c52[_0x5f1d77(0x1b1)]){const _0x3236d7=_0x4e33dd(_0x263c52[_0x5f1d77(0x1ac)]())||_0xf0bd8d[_0x5f1d77(0x193)][_0x5f1d77(0x1ab)][_0x5f1d77(0x1ae)](_0x263c52);_0xf0bd8d[_0x5f1d77(0x193)][_0x5f1d77(0x1c7)](_0x4daac4=>{const _0x5df1c6=_0x5f1d77;_0x4daac4[_0x5df1c6(0x166)](_0x3236d7,'in');});}_0x2b04e5[_0x5f1d77(0x1be)](),_0x19de53[_0x5f1d77(0x1a6)](_0x1cd5b1[_0x5f1d77(0x178)],_0x571f0f,_0x5f1d77(0x1fb)+_0xaaf836);}[_0x53788c(0x158)](_0x34d6c5,_0xd72846,_0x803598,_0xe4d894){const _0x1deb7a=_0x53788c,_0x481280=this[_0x1deb7a(0x195)],_0x4586fb=_0x481280[_0x1deb7a(0x1b6)],_0x2871ac=new _0x3f89f1(_0x4586fb),_0x587838=U(_0x481280,_0x803598)[_0x1deb7a(0x18c)](_0x570c11=>_0x570c11[_0x1deb7a(0x1f0)][_0x1deb7a(0x183)]);0x1===_0x587838[_0x1deb7a(0x183)]?this[_0x1deb7a(0x198)]({'command':_0x34d6c5,'commands':_0x587838[0x0][_0x1deb7a(0x1f0)],'parentMenuView':_0xd72846,'onExecute':_0xe4d894})[_0x1deb7a(0x18e)](_0x2b6b49=>_0x2871ac[_0x1deb7a(0x1cb)][_0x1deb7a(0x16c)](_0x2b6b49)):_0x587838[_0x1deb7a(0x18e)](({groupId:_0x11a8c9,groupLabel:_0x3136fb,commands:_0x20e920})=>{const _0x5e8709=_0x1deb7a,_0x3b24ce=new _0x405b6f(_0x4586fb,_0xd72846),_0x28cc36=new _0x2490e3(_0x4586fb),_0x1bdbb4=new _0x3f89f1(_0x4586fb),_0x1602f3=this[_0x5e8709(0x198)]({'command':_0x34d6c5,'commands':_0x20e920,'parentMenuView':_0x28cc36,'onExecute':_0xe4d894});_0x28cc36[_0x5e8709(0x172)][_0x5e8709(0x203)]({'label':_0x3136fb||_0x11a8c9}),_0x28cc36[_0x5e8709(0x1a7)](_0x5e8709(0x1a6))['to'](_0xd72846),_0x1bdbb4[_0x5e8709(0x1cb)][_0x5e8709(0x16e)](_0x1602f3),_0x28cc36[_0x5e8709(0x1a4)][_0x5e8709(0x1aa)][_0x5e8709(0x16c)](_0x1bdbb4),_0x3b24ce[_0x5e8709(0x1aa)][_0x5e8709(0x16c)](_0x28cc36),_0x2871ac[_0x5e8709(0x1cb)][_0x5e8709(0x16c)](_0x3b24ce);}),_0xd72846[_0x1deb7a(0x1a4)][_0x1deb7a(0x1aa)][_0x1deb7a(0x16c)](_0x2871ac);}[_0x53788c(0x198)]({command:_0x231bb3,commands:_0x149384,parentMenuView:_0x1067b9,onExecute:_0x4fc57b}){const _0x31f9e8=_0x53788c,_0x58b266=this[_0x31f9e8(0x195)],_0x566297=_0x58b266[_0x31f9e8(0x1b6)];return U(_0x58b266,_0x149384)[_0x31f9e8(0x165)](_0x2e6467=>{const _0x3b4a98=_0x31f9e8,_0x412335=new _0x405b6f(_0x566297,_0x1067b9),_0xca98d5=new _0x435105(_0x566297);return _0xca98d5[_0x3b4a98(0x203)]({'label':_0x2e6467[_0x3b4a98(0x1f6)]}),_0xca98d5[_0x3b4a98(0x1a7)](_0x3b4a98(0x1a6))['to'](_0x1067b9),_0xca98d5['on'](_0x3b4a98(0x1a6),()=>_0x4fc57b(_0x2e6467['id'])),_0xca98d5[_0x3b4a98(0x197)](_0x3b4a98(0x182))['to'](_0x231bb3,_0x3b4a98(0x169),_0x3d52f2=>_0x3d52f2[_0x3b4a98(0x1e2)](_0x2e6467['id'])),_0x412335[_0x3b4a98(0x1aa)][_0x3b4a98(0x16c)](_0xca98d5),_0x412335;});}}function T(_0x278470,_0x1177f3){const _0x54226a=_0x53788c;return void 0x0!==_0x278470[_0x54226a(0x1bf)]&&void 0x0===_0x1177f3[_0x54226a(0x1bf)]?0x1:void 0x0===_0x278470[_0x54226a(0x1bf)]&&void 0x0!==_0x1177f3[_0x54226a(0x1bf)]?-0x1:void 0x0!==_0x278470[_0x54226a(0x1bf)]&&void 0x0!==_0x1177f3[_0x54226a(0x1bf)]?_0x278470[_0x54226a(0x1bf)]-_0x1177f3[_0x54226a(0x1bf)]:0x0;}function U(_0x3cdfbb,_0x499f57){const _0x16fcce=_0x53788c;_0x499f57[_0x16fcce(0x206)](T);const _0x4739bc={},_0x131ccc=[];for(const _0x462411 of _0x499f57)if(void 0x0!==_0x462411[_0x16fcce(0x1bf)]){if(_0x462411[_0x16fcce(0x1bf)]in _0x4739bc)throw new _0x502507(_0x16fcce(0x15e),_0x3cdfbb,{'conflictingDefinitions':[_0x462411,_0x4739bc[_0x462411[_0x16fcce(0x1bf)]]]});_0x4739bc[_0x462411[_0x16fcce(0x1bf)]]=_0x462411,_0x131ccc[_0x16fcce(0x1f7)](_0x462411[_0x16fcce(0x1bf)],0x0,_0x462411);}else _0x131ccc[_0x16fcce(0x18f)](_0x462411);return _0x131ccc;}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x1938(_0x46c41a,_0x1fdbb8){var _0x3ec4e3=_0x3ec4();return _0x1938=function(_0x19387c,_0x4f1f1d){_0x19387c=_0x19387c-0x116;var _0x32a519=_0x3ec4e3[_0x19387c];return _0x32a519;},_0x1938(_0x46c41a,_0x1fdbb8);}function _0x3ec4(){var _0x55b65f=['3201532olrAJo','13836152JZlPUb','957279xspVCp','6KYIxWm','18924hvqotP','10744937IuuqMR','10BWKndG','53056521ovVLVe','406929qVslhI'];_0x3ec4=function(){return _0x55b65f;};return _0x3ec4();}(function(_0x2109a3,_0x23f8ff){var _0xe37e40=_0x1938,_0x34f5df=_0x2109a3();while(!![]){try{var _0x1d576f=-parseInt(_0xe37e40(0x11e))/0x1+-parseInt(_0xe37e40(0x11a))/0x2+parseInt(_0xe37e40(0x118))/0x3+-parseInt(_0xe37e40(0x116))/0x4*(parseInt(_0xe37e40(0x11c))/0x5)+parseInt(_0xe37e40(0x119))/0x6*(-parseInt(_0xe37e40(0x11b))/0x7)+-parseInt(_0xe37e40(0x117))/0x8+parseInt(_0xe37e40(0x11d))/0x9;if(_0x1d576f===_0x23f8ff)break;else _0x34f5df['push'](_0x34f5df['shift']());}catch(_0x1cc9ab){_0x34f5df['push'](_0x34f5df['shift']());}}}(_0x3ec4,0xe3af3));import{CKEditorError as _0x2c897b}from'ckeditor5/src/utils.js';
@@ -1,24 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x1b5e49=_0x95a7;(function(_0x7e5bc9,_0x2a76f1){const _0x159f2c=_0x95a7,_0x25caf5=_0x7e5bc9();while(!![]){try{const _0x131dbf=parseInt(_0x159f2c(0x14d))/0x1+-parseInt(_0x159f2c(0x159))/0x2*(-parseInt(_0x159f2c(0x139))/0x3)+parseInt(_0x159f2c(0x18d))/0x4*(parseInt(_0x159f2c(0x137))/0x5)+parseInt(_0x159f2c(0x15b))/0x6+parseInt(_0x159f2c(0x182))/0x7*(parseInt(_0x159f2c(0x179))/0x8)+-parseInt(_0x159f2c(0x13d))/0x9+parseInt(_0x159f2c(0x134))/0xa*(-parseInt(_0x159f2c(0x14b))/0xb);if(_0x131dbf===_0x2a76f1)break;else _0x25caf5['push'](_0x25caf5['shift']());}catch(_0x4688ee){_0x25caf5['push'](_0x25caf5['shift']());}}}(_0x261c,0xe205b));import{ObservableMixin as _0xef5223}from'ckeditor5/src/utils.js';function _0x261c(){const _0x438d79=['_parseAndNormalizeContent','finishProcessing','render','editing','value','length','exec','innerHTML','remove','body','markers','document','stopProcessing','previousLabel','toModel','createElement','name','prompt','endsWith','childNodes','_sanitizationContainer','config','textAdapter','domConverter','previousContext','set','listenTo','previousActionId','853536ytwybO','processor','toView','_isH1TagSupportEnabled','submitPrompt','rename','_domParser','serializeToString','initialContext','35biXPnl','destroy','from','updateView','isRendered','match','handleError','stringify','querySelector','_xmlSerializer','trim','14708vgXNcU','text/html','message','currentContext','substring','div','clear','reverse','tryAgainEvent','```html','setContentOf','abort','60NITshR','then','once','35VmAjTT','makeRequest','258tetuRv','previousQuery','<h1></h1>','viewToDom','13313322chZjHt','ai.aiAssistant.preserveComments','isProcessing','nodeType','htmlProcessor','custom','get','set:currentContext','```','element','_sanitizeHTML','startProcessing','_handleQuery','data','1393150xIbnJn','startsWith','143801nivhnF','ELEMENT_NODE','currentResponse','view','parseFromString','_normalizeResponseHeadings','mainAction','finally','stopListening','push','editor','reset','32626sulJwY','_stripMarkdownSyntax','6354162gMldoC','catch'];_0x261c=function(){return _0x438d79;};return _0x261c();}import{AIRequestError as _0x266d3e}from'../adapters/aiadapter.js';import{Matcher as _0x31e744,ViewUpcastWriter as _0x44dbcd}from'ckeditor5/src/engine.js';function _0x95a7(_0x4b6f3b,_0x201c0e){const _0x261cf3=_0x261c();return _0x95a7=function(_0x95a78a,_0x563281){_0x95a78a=_0x95a78a-0x12b;let _0x134d22=_0x261cf3[_0x95a78a];return _0x134d22;},_0x95a7(_0x4b6f3b,_0x201c0e);}const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0xef5223(){[_0x1b5e49(0x157)];[_0x1b5e49(0x173)];[_0x1b5e49(0x150)];[_0x1b5e49(0x171)];[_0x1b5e49(0x17f)];[_0x1b5e49(0x18b)];constructor(_0x34564b,_0x355f2a,_0x5dfb7e){const _0x9e78fa=_0x1b5e49;super(),this[_0x9e78fa(0x157)]=_0x34564b,this[_0x9e78fa(0x173)]=_0x355f2a,this[_0x9e78fa(0x171)]=document[_0x9e78fa(0x16c)](_0x9e78fa(0x12d)),this[_0x9e78fa(0x17f)]=new DOMParser(),this[_0x9e78fa(0x18b)]=new XMLSerializer(),this[_0x9e78fa(0x150)]=_0x5dfb7e,this[_0x9e78fa(0x176)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x9e78fa(0x144),(_0x4d3c73,_0x2135cf,_0x3837b3)=>{const _0x5753bc=_0x9e78fa;this[_0x5753bc(0x150)][_0x5753bc(0x161)]=this[_0x5753bc(0x147)](_0x3837b3);}),this[_0x9e78fa(0x177)](this[_0x9e78fa(0x150)],_0x9e78fa(0x17d),(_0x5b10fb,_0x3cf365)=>{const _0x1b602e=_0x9e78fa,_0x435423=this[_0x1b602e(0x12b)]||this[_0x1b602e(0x181)];this[_0x1b602e(0x149)](_0x3cf365,_0x435423,_0x1b602e(0x142));}),this[_0x9e78fa(0x177)](this[_0x9e78fa(0x150)],_0x9e78fa(0x130),()=>{const _0x420c6c=_0x9e78fa;this[_0x420c6c(0x150)][_0x420c6c(0x16e)]=this[_0x420c6c(0x16a)],this[_0x420c6c(0x149)](this[_0x420c6c(0x13a)],this[_0x420c6c(0x175)],this[_0x420c6c(0x178)],this[_0x420c6c(0x16a)]);}),this[_0x9e78fa(0x177)](this[_0x9e78fa(0x150)],_0x9e78fa(0x169),()=>{const _0x55bb15=_0x9e78fa;this[_0x55bb15(0x169)]();});}[_0x1b5e49(0x183)](){const _0x517731=_0x1b5e49;this[_0x517731(0x155)]();}async[_0x1b5e49(0x185)]({actionId:_0x5e84d4,query:_0xde17c7,htmlContent:_0x3185fd,label:_0x2fdde1,mainActionLabel:_0x41cc58}){const _0x5b934e=_0x1b5e49;this[_0x5b934e(0x150)][_0x5b934e(0x16e)]=_0x2fdde1,this[_0x5b934e(0x150)][_0x5b934e(0x153)]=_0x41cc58,this[_0x5b934e(0x181)]=_0x3185fd,_0xde17c7&&(this[_0x5b934e(0x150)][_0x5b934e(0x186)]?this[_0x5b934e(0x149)](_0xde17c7,_0x3185fd,_0x5e84d4,_0x2fdde1):this[_0x5b934e(0x150)][_0x5b934e(0x136)](_0x5b934e(0x15f),()=>{const _0x59e3c3=_0x5b934e;this[_0x59e3c3(0x149)](_0xde17c7,_0x3185fd,_0x5e84d4,_0x2fdde1);}));}[_0x1b5e49(0x169)](){const _0x3992fa=_0x1b5e49;this[_0x3992fa(0x13f)]&&(this[_0x3992fa(0x13f)]=!0x1,this[_0x3992fa(0x150)][_0x3992fa(0x15e)](),this[_0x3992fa(0x173)][_0x3992fa(0x133)]());}[_0x1b5e49(0x158)](){const _0x3600af=_0x1b5e49;this[_0x3600af(0x181)]='',this[_0x3600af(0x12b)]='',this[_0x3600af(0x14f)]='',this[_0x3600af(0x175)]='',this[_0x3600af(0x13a)]='',this[_0x3600af(0x16a)]='',this[_0x3600af(0x178)]=void 0x0,this[_0x3600af(0x150)][_0x3600af(0x158)](),this[_0x3600af(0x169)]();}async[_0x1b5e49(0x149)](_0x283722,_0x241c3c,_0xbc872,_0x481e0b){const _0x5cb01f=_0x1b5e49;return this[_0x5cb01f(0x13f)]=!0x0,this[_0x5cb01f(0x150)][_0x5cb01f(0x148)](),this[_0x5cb01f(0x175)]=_0x241c3c,this[_0x5cb01f(0x13a)]=_0x283722,this[_0x5cb01f(0x16a)]=_0x481e0b||_0x283722,this[_0x5cb01f(0x178)]=_0xbc872,new Promise(_0x19562c=>{const _0x59008=_0x5cb01f;this[_0x59008(0x173)][_0x59008(0x138)]({'query':_0x283722,'context':_0x241c3c,'onData':_0x33b1b0=>{const _0x14a889=_0x59008;this[_0x14a889(0x14f)]=_0x33b1b0,this[_0x14a889(0x12b)]=this[_0x14a889(0x15d)](this[_0x14a889(0x14f)]);},'actionId':_0xbc872})[_0x59008(0x135)](()=>{const _0x5a30b8=_0x59008;!this[_0x5a30b8(0x12b)]&&this[_0x5a30b8(0x14f)]&&(this[_0x5a30b8(0x12b)]=this[_0x5a30b8(0x15d)](this[_0x5a30b8(0x14f)],!0x0));})[_0x59008(0x15c)](_0x24cde7=>{const _0xb555e1=_0x59008;_0x24cde7 instanceof _0x266d3e?this[_0xb555e1(0x150)][_0xb555e1(0x188)](_0x24cde7[_0xb555e1(0x18f)]):this[_0xb555e1(0x150)][_0xb555e1(0x188)](),_0x19562c();})[_0x59008(0x154)](()=>{const _0x3e3bdd=_0x59008;this[_0x3e3bdd(0x169)](),_0x19562c();});});}[_0x1b5e49(0x15d)](_0x1c2c14,_0x11a21f=!0x1){const _0xba2145=_0x1b5e49,_0x1fdd00=Q[_0xba2145(0x163)](_0x1c2c14);_0x1c2c14=_0x1fdd00?_0x1c2c14[_0xba2145(0x12c)](_0x1fdd00[0x1][_0xba2145(0x162)]):_0x1c2c14[_0xba2145(0x162)]<0x64&&!_0x11a21f?'':this[_0xba2145(0x15a)](_0x1c2c14);const _0x109b4b=this[_0xba2145(0x17f)][_0xba2145(0x151)](_0x1c2c14,_0xba2145(0x18e));if(_0x1fdd00){const _0x2ae988=Array[_0xba2145(0x184)](_0x109b4b[_0xba2145(0x166)][_0xba2145(0x170)]);_0x2ae988[_0xba2145(0x12f)]();for(const _0x263522 of _0x2ae988){if(_0x263522[_0xba2145(0x140)]==Node[_0xba2145(0x14e)])break;_0x263522[_0xba2145(0x165)]();}}const _0x1ee309=this[_0xba2145(0x157)][_0xba2145(0x14a)][_0xba2145(0x17a)][_0xba2145(0x17b)](this[_0xba2145(0x18b)][_0xba2145(0x180)](_0x109b4b[_0xba2145(0x166)]));this[_0xba2145(0x17c)]()||this[_0xba2145(0x152)](_0x1ee309);const _0x52290d=this[_0xba2145(0x157)][_0xba2145(0x172)][_0xba2145(0x143)](_0xba2145(0x13e)),_0x467309=this[_0xba2145(0x157)][_0xba2145(0x14a)][_0xba2145(0x16b)](_0x1ee309);return _0x52290d||_0x467309[_0xba2145(0x167)][_0xba2145(0x12e)](),this[_0xba2145(0x157)][_0xba2145(0x14a)][_0xba2145(0x189)](_0x467309);}[_0x1b5e49(0x152)](_0x10ec32){const _0x2ca2e9=_0x1b5e49,_0x224169=new _0x44dbcd(this[_0x2ca2e9(0x157)][_0x2ca2e9(0x160)][_0x2ca2e9(0x150)][_0x2ca2e9(0x168)]),_0x163e8b=new _0x31e744({'name':/^h[1-5]$/}),_0xe32477=[];let _0x20a5c3=!0x1;for(const _0x2ad5e3 of _0x10ec32)_0x2ad5e3['is'](_0x2ca2e9(0x146))&&_0x163e8b[_0x2ca2e9(0x187)](_0x2ad5e3)&&(_0xe32477[_0x2ca2e9(0x156)](_0x2ad5e3),'h1'==_0x2ad5e3[_0x2ca2e9(0x16d)]&&(_0x20a5c3=!0x0));if(_0x20a5c3){for(const _0x36695b of _0xe32477)_0x224169[_0x2ca2e9(0x17e)]('h'+(parseInt(_0x36695b[_0x2ca2e9(0x16d)][0x1])+0x1),_0x36695b);}}[_0x1b5e49(0x17c)](){const _0x1e692f=_0x1b5e49,{data:_0x5105a2,editing:_0x3ef39b}=this[_0x1e692f(0x157)],_0x4591a6=_0x5105a2[_0x1e692f(0x141)][_0x1e692f(0x17b)](_0x1e692f(0x13b)),_0x471070=_0x5105a2[_0x1e692f(0x17b)](_0x5105a2[_0x1e692f(0x16b)](_0x4591a6));return!!_0x3ef39b[_0x1e692f(0x150)][_0x1e692f(0x174)][_0x1e692f(0x13c)](_0x471070)[_0x1e692f(0x18a)]('h1');}[_0x1b5e49(0x147)](_0x5ab4b9){const _0x200bc3=_0x1b5e49;return this[_0x200bc3(0x157)][_0x200bc3(0x160)][_0x200bc3(0x150)][_0x200bc3(0x174)][_0x200bc3(0x132)](this[_0x200bc3(0x171)],_0x5ab4b9),this[_0x200bc3(0x171)][_0x200bc3(0x164)];}[_0x1b5e49(0x15a)](_0x43fd5e){const _0x5594cf=_0x1b5e49,_0x1f7f01=_0x43fd5e[_0x5594cf(0x18c)]();return _0x1f7f01[_0x5594cf(0x14c)](_0x5594cf(0x131))?_0x1f7f01[_0x5594cf(0x16f)](_0x5594cf(0x145))?_0x1f7f01[_0x5594cf(0x12c)](0x7,_0x1f7f01[_0x5594cf(0x162)]-0x3):_0x1f7f01[_0x5594cf(0x12c)](0x7):_0x43fd5e;}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x2c93(_0x252477,_0x5ca7fe){const _0x4725d2=_0x4725();return _0x2c93=function(_0x2c93fc,_0x2f4e8b){_0x2c93fc=_0x2c93fc-0xfe;let _0x119b7f=_0x4725d2[_0x2c93fc];return _0x119b7f;},_0x2c93(_0x252477,_0x5ca7fe);}const _0x11d49b=_0x2c93;(function(_0x1621ee,_0x4d2b48){const _0x35632f=_0x2c93,_0x489ad8=_0x1621ee();while(!![]){try{const _0x58386a=parseInt(_0x35632f(0x14a))/0x1+parseInt(_0x35632f(0x11d))/0x2*(parseInt(_0x35632f(0x14b))/0x3)+-parseInt(_0x35632f(0x121))/0x4+-parseInt(_0x35632f(0x13c))/0x5*(parseInt(_0x35632f(0xfe))/0x6)+-parseInt(_0x35632f(0x114))/0x7*(-parseInt(_0x35632f(0x101))/0x8)+-parseInt(_0x35632f(0x136))/0x9*(parseInt(_0x35632f(0x100))/0xa)+-parseInt(_0x35632f(0x125))/0xb*(-parseInt(_0x35632f(0x11a))/0xc);if(_0x58386a===_0x4d2b48)break;else _0x489ad8['push'](_0x489ad8['shift']());}catch(_0x5617c3){_0x489ad8['push'](_0x489ad8['shift']());}}}(_0x4725,0x7fd94));import{global as _0x33461c}from'ckeditor5/src/utils.js';import{View as _0x53008a,ButtonView as _0x289df2,SpinnerView as _0x6a040f}from'ckeditor5/src/ui.js';import{IconCheck as _0x54cc25,IconCopy as _0x21d126}from'ckeditor5/src/icons.js';import{getTranslation as _0x11a9b2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x53008a{[_0x11d49b(0x12d)];[_0x11d49b(0x14d)];constructor(_0x4ce221,_0x47bf26=''){const _0x3db808=_0x11d49b;super(_0x4ce221),this[_0x3db808(0x103)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2c19cf=this[_0x3db808(0x120)];this[_0x3db808(0x12d)]=new ContentFieldView(_0x4ce221,_0x47bf26),this[_0x3db808(0x14d)]=this[_0x3db808(0x12f)](),this[_0x3db808(0x12b)]({'tag':_0x3db808(0x13f),'attributes':{'class':['ck',_0x3db808(0x137),_0x2c19cf['if'](_0x3db808(0x105),_0x3db808(0x118),_0x1e822b=>!_0x1e822b)],'tabindex':'-1'},'children':[{'tag':_0x3db808(0x13f),'attributes':{'class':['ck',_0x3db808(0x131),_0x2c19cf['if'](_0x3db808(0x122),_0x3db808(0xff))]},'children':[this[_0x3db808(0x12d)],{'tag':_0x3db808(0x13f),'attributes':{'class':['ck',_0x3db808(0x127)]},'children':[this[_0x3db808(0x14d)]]}]}]});}[_0x11d49b(0x139)](){const _0x40907f=_0x11d49b;super[_0x40907f(0x139)](),this[_0x40907f(0x112)]&&this[_0x40907f(0x12d)][_0x40907f(0x150)](this[_0x40907f(0x112)]);let _0x16d311=!0x1;this['on'](_0x40907f(0x153),(_0x4d357c,_0x2a0772,_0x55101c)=>{const _0x1c73e0=_0x40907f,_0x114d16=!this[_0x1c73e0(0x12d)][_0x1c73e0(0x10d)][_0x1c73e0(0x11c)](_0x1c73e0(0x12c));this[_0x1c73e0(0x12d)][_0x1c73e0(0x150)](_0x55101c),this[_0x1c73e0(0x122)]&&_0x114d16&&!_0x16d311&&this[_0x1c73e0(0x10d)][_0x1c73e0(0x115)]({'top':this[_0x1c73e0(0x10d)][_0x1c73e0(0x11e)],'behavior':_0x1c73e0(0x117)});}),this['on'](_0x40907f(0x149),(_0x48b865,_0x3efc44,_0x4219f4)=>{const _0x4daffc=_0x40907f;_0x16d311=!0x1,_0x4219f4?(this[_0x4daffc(0x112)]=null,this[_0x4daffc(0x12d)][_0x4daffc(0x130)]()):this[_0x4daffc(0x112)]||this[_0x4daffc(0x12d)][_0x4daffc(0x150)]('');}),this[_0x40907f(0x12e)](this[_0x40907f(0x10d)],_0x40907f(0x13a),()=>{_0x16d311=!0x0;}),this[_0x40907f(0x12e)](this[_0x40907f(0x10d)],_0x40907f(0x10f),()=>{_0x16d311=!0x0;});}[_0x11d49b(0x12a)](){const _0x24ca10=_0x11d49b;this[_0x24ca10(0x10d)][_0x24ca10(0x12a)]();}[_0x11d49b(0x12f)](){const _0x1c2450=_0x11d49b,_0x2d057d=this[_0x1c2450(0x132)],_0x591d1e=new _0x289df2(this[_0x1c2450(0x132)]),_0x1fd9d7=_0x1c2450(0x11b);return _0x591d1e[_0x1c2450(0x103)]({'label':_0x11a9b2(_0x2d057d,_0x1c2450(0x14e)),'icon':_0x21d126,'class':_0x1fd9d7,'tooltip':!0x0}),_0x591d1e[_0x1c2450(0x10a)](_0x1c2450(0x105))['to'](this,_0x1c2450(0x112),_0xdba961=>!!_0xdba961),_0x591d1e[_0x1c2450(0x10a)](_0x1c2450(0x133))['to'](this,_0x1c2450(0x122),_0x25740b=>!_0x25740b),_0x591d1e['on'](_0x1c2450(0x126),()=>{const _0x564078=_0x1c2450;this[_0x564078(0x110)](this[_0x564078(0x12d)][_0x564078(0x10d)]),_0x591d1e[_0x564078(0x104)]=_0x54cc25,_0x591d1e[_0x564078(0x152)]=_0x1fd9d7+_0x564078(0x140),this[_0x564078(0x12a)](),setTimeout(()=>{const _0x129ceb=_0x564078;_0x591d1e[_0x129ceb(0x104)]=_0x21d126,_0x591d1e[_0x129ceb(0x152)]=_0x1fd9d7;},0x3e8);}),_0x591d1e;}[_0x11d49b(0x110)](_0x286567){const _0x1b999f=_0x11d49b,{window:_0x5a957c,document:_0x1695e7}=_0x33461c;if(_0x5a957c[_0x1b999f(0x14f)]){const {Blob:_0x306a20,ClipboardItem:_0x4bd603}=_0x5a957c,_0x1b3708=[new _0x4bd603({'text/html':new _0x306a20([_0x286567[_0x1b999f(0x138)]],{'type':_0x1b999f(0x142)}),'text/plain':new _0x306a20([_0x286567[_0x1b999f(0x146)]||''],{'type':_0x1b999f(0x141)})})];navigator[_0x1b999f(0x106)][_0x1b999f(0x151)](_0x1b3708);}else{const _0x205fca=_0x1695e7[_0x1b999f(0x13e)](_0x1b999f(0x13f));_0x205fca[_0x1b999f(0x148)][_0x1b999f(0x154)]=_0x1b999f(0x13b),_0x205fca[_0x1b999f(0x148)][_0x1b999f(0x11f)]=_0x1b999f(0x134),_0x205fca[_0x1b999f(0x138)]=_0x1b999f(0x102)+_0x286567[_0x1b999f(0x138)]+_0x1b999f(0x10b),_0x1695e7[_0x1b999f(0x111)][_0x1b999f(0x10e)](_0x205fca);const _0x5738d9=_0x1695e7[_0x1b999f(0x108)]();_0x5738d9[_0x1b999f(0x129)](_0x205fca[_0x1b999f(0x119)]),_0x5738d9[_0x1b999f(0x13d)](_0x205fca[_0x1b999f(0x14c)]);const _0x4456c0=_0x5a957c[_0x1b999f(0x144)]();_0x4456c0[_0x1b999f(0x128)](),_0x4456c0[_0x1b999f(0x116)](_0x5738d9),_0x1695e7[_0x1b999f(0x113)](_0x1b999f(0x124)),_0x205fca[_0x1b999f(0x109)]();}}}function _0x4725(){const _0x2938f0=['wheel','absolute','1585XtenAt','setEndBefore','createElement','div','\x20ck-ai-form__copy-button--copied','text/plain','text/html','ck-ai-form__content-field','getSelection','AI\x20is\x20writing...','textContent','ck-content','style','change:isProcessing','354580QEKxif','3tfOchY','lastElementChild','copyButtonView','Copy','ClipboardItem','setContent','write','class','change:value','position','12066XlTXUp','ck-ai-form__content-area--processing','470DbiBwm','84144KyYjFS','<span>[</span>','set','icon','isVisible','clipboard','loaderView','createRange','remove','bind','<span>]</span>','_createLoader','element','appendChild','mousedown','_copyHTMLToClipboard','body','value','execCommand','77LNkQUe','scrollTo','addRange','smooth','ck-hidden','firstElementChild','6688404ctGXvJ','ck-ai-form__copy-button','querySelector','1828474ITcFYo','scrollHeight','left','bindTemplate','116600nRGKTm','isProcessing','ck-reset_all-excluded','copy','11CrJyyt','execute','ck-ai-form__copy-button-wrapper','removeAllRanges','setStartAfter','focus','setTemplate','.ck-ai-form__loader','contentFieldView','listenTo','_createCopyButton','appendLoader','ck-ai-form__content-area','locale','isEnabled','-9999px','ck-ai-form__loader','143919bKmlMR','ck-ai-form__content-area-wrapper','innerHTML','render'];_0x4725=function(){return _0x2938f0;};return _0x4725();}export class ContentFieldView extends _0x53008a{constructor(_0xbeed00,_0x54d74d=''){const _0x47bc7f=_0x11d49b;super(_0xbeed00),this[_0x47bc7f(0x107)]=this[_0x47bc7f(0x10c)](),this[_0x47bc7f(0x12b)]({'tag':_0x47bc7f(0x13f),'attributes':{'class':['ck',_0x47bc7f(0x147),_0x54d74d,_0x47bc7f(0x123),_0x47bc7f(0x143)]}});}[_0x11d49b(0x150)](_0x4840d0){const _0x2d4914=_0x11d49b;this[_0x2d4914(0x10d)][_0x2d4914(0x138)]=_0x4840d0;}[_0x11d49b(0x130)](){const _0xddefc0=_0x11d49b;this[_0xddefc0(0x10d)][_0xddefc0(0x10e)](this[_0xddefc0(0x107)][_0xddefc0(0x10d)]);}[_0x11d49b(0x10c)](){const _0x5ead24=_0x11d49b,_0x17a895=new _0x53008a(),_0x2954d3=this[_0x5ead24(0x132)],_0x40a791=new _0x6a040f();return _0x40a791[_0x5ead24(0x105)]=!0x0,_0x17a895[_0x5ead24(0x12b)]({'tag':_0x5ead24(0x13f),'attributes':{'class':['ck',_0x5ead24(0x135)]},'children':[_0x40a791,{'text':_0x11a9b2(_0x2954d3,_0x5ead24(0x145))}]}),_0x17a895[_0x5ead24(0x139)](),_0x17a895;}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x5e8c(){const _0x3ae10b=['614298CPFSbc','259zdIGke','div','content','setTemplate','set','8665992wiZbmU','2234756JTjlCY','bindTemplate','text','2940960cDSnFM','566160mbBGJQ','96090IvRaUp','ck-ai-form__error','17274xYFNtq','50ieJPQg'];_0x5e8c=function(){return _0x3ae10b;};return _0x5e8c();}(function(_0x427f3e,_0x19809a){const _0x416c92=_0x1e5e,_0x289b8c=_0x427f3e();while(!![]){try{const _0x3d084e=-parseInt(_0x416c92(0x112))/0x1*(-parseInt(_0x416c92(0x111))/0x2)+parseInt(_0x416c92(0x113))/0x3+parseInt(_0x416c92(0x11a))/0x4+parseInt(_0x416c92(0x10d))/0x5+-parseInt(_0x416c92(0x10f))/0x6*(parseInt(_0x416c92(0x114))/0x7)+parseInt(_0x416c92(0x10e))/0x8+-parseInt(_0x416c92(0x119))/0x9;if(_0x3d084e===_0x19809a)break;else _0x289b8c['push'](_0x289b8c['shift']());}catch(_0x418636){_0x289b8c['push'](_0x289b8c['shift']());}}}(_0x5e8c,0x48f48));import{IconError as _0x106416}from'ckeditor5/src/icons.js';function _0x1e5e(_0x3a8971,_0x18d49a){const _0x5e8c90=_0x5e8c();return _0x1e5e=function(_0x1e5eb8,_0x1ea042){_0x1e5eb8=_0x1e5eb8-0x10d;let _0x14595c=_0x5e8c90[_0x1e5eb8];return _0x14595c;},_0x1e5e(_0x3a8971,_0x18d49a);}import{View as _0x3c2b4e,IconView as _0xabd653}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x3c2b4e{constructor(_0xe53387,_0x56d986=''){const _0x4b0845=_0x1e5e;super(_0xe53387);const _0x34c637=new _0xabd653(),_0x3ef7d1=this[_0x4b0845(0x11b)];this[_0x4b0845(0x118)](_0x4b0845(0x11c),_0x56d986),_0x34c637[_0x4b0845(0x116)]=_0x106416,this[_0x4b0845(0x117)]({'tag':_0x4b0845(0x115),'attributes':{'class':['ck',_0x4b0845(0x110)]},'children':[_0x34c637,{'text':_0x3ef7d1['to'](_0x4b0845(0x11c))}]});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x4e3b(_0x4e5208,_0x35e54d){const _0x369778=_0x3697();return _0x4e3b=function(_0x4e3b17,_0x12d87d){_0x4e3b17=_0x4e3b17-0x187;let _0x1b8aef=_0x369778[_0x4e3b17];return _0x1b8aef;},_0x4e3b(_0x4e5208,_0x35e54d);}const _0x2ba575=_0x4e3b;function _0x3697(){const _0x1dc581=['History','locale','852888mjbClI','width','maxRows','left','resultsView','focus','set','ck-ai-form__toggle-history','Submit','fieldView','rtl','fieldWrapperChildren','execute','focusableChildren','update','queryView','window','fire','value','enter','submitButtonView','element','4402836ysUvaw','add','222916eMmXAn','uiLanguageDirection','showHistoryButtonView','children','isEnabled','2489730JXcpJk','isVisible','isEmpty','ck-ai-form__submit','focusLast','_createSubmitButton','_createShowHistoryButton','filteredView','render','submit','focusCycler','394762gWURQE','focusFirst','requestAnimationFrame','right','isOn','55wCqGPZ','7xtysKg','excludeScrollbarsAndBorders','6487542LoGBMC','keystrokes','target','minRows','style','1040042DRmKdN','bind'];_0x3697=function(){return _0x1dc581;};return _0x3697();}(function(_0x48db87,_0x407342){const _0x827981=_0x4e3b,_0x4ddc68=_0x48db87();while(!![]){try{const _0x2b6e77=parseInt(_0x827981(0x18d))/0x1+-parseInt(_0x827981(0x1b9))/0x2+parseInt(_0x827981(0x1ae))/0x3+-parseInt(_0x827981(0x1a9))/0x4*(-parseInt(_0x827981(0x1be))/0x5)+parseInt(_0x827981(0x1a7))/0x6*(-parseInt(_0x827981(0x1bf))/0x7)+-parseInt(_0x827981(0x191))/0x8+-parseInt(_0x827981(0x188))/0x9;if(_0x2b6e77===_0x407342)break;else _0x4ddc68['push'](_0x4ddc68['shift']());}catch(_0x581b24){_0x4ddc68['push'](_0x4ddc68['shift']());}}}(_0x3697,0xb0d6f));import{Rect as _0x3908f6,global as _0x1639dd,isVisible as _0x4e6eb8}from'ckeditor5/src/utils.js';import{IconHistory as _0x4237ea,IconSubmit as _0x27fed9}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1a1783,ButtonView as _0x556147}from'ckeditor5/src/ui.js';import{getTranslation as _0x3e00ab}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1a1783{[_0x2ba575(0x1a5)];[_0x2ba575(0x1ab)];constructor(_0x55b767,_0x25c521){const _0x4ebbf8=_0x2ba575;super(_0x55b767,_0x25c521),this[_0x4ebbf8(0x1a0)][_0x4ebbf8(0x19a)][_0x4ebbf8(0x18b)]=0x1,this[_0x4ebbf8(0x1a0)][_0x4ebbf8(0x19a)][_0x4ebbf8(0x193)]=0x3,this[_0x4ebbf8(0x1a5)]=this[_0x4ebbf8(0x1b3)](),this[_0x4ebbf8(0x1ab)]=this[_0x4ebbf8(0x1b4)](),this[_0x4ebbf8(0x19e)][_0x4ebbf8(0x1a8)](this[_0x4ebbf8(0x1ab)],0x1),this[_0x4ebbf8(0x19e)][_0x4ebbf8(0x1a8)](this[_0x4ebbf8(0x1a5)]);}[_0x2ba575(0x1b6)](){const _0x24795c=_0x2ba575;super[_0x24795c(0x1b6)](),this[_0x24795c(0x1a0)][_0x24795c(0x19c)][_0x24795c(0x1a8)](this[_0x24795c(0x1ab)]),this[_0x24795c(0x1ac)][_0x24795c(0x1a8)](this[_0x24795c(0x1a5)]),this[_0x24795c(0x189)][_0x24795c(0x197)](_0x24795c(0x1a4),(_0x20d380,_0x463d1a)=>{const _0x341b61=_0x24795c;_0x20d380[_0x341b61(0x18a)]==this[_0x341b61(0x1a0)][_0x341b61(0x19a)][_0x341b61(0x1a6)]&&(this[_0x341b61(0x1b7)](),_0x463d1a());});}[_0x2ba575(0x1b3)](){const _0x51d0d2=_0x2ba575,_0x58fd40=new _0x556147(this[_0x51d0d2(0x190)]),_0xd86739=this[_0x51d0d2(0x190)];return _0x58fd40[_0x51d0d2(0x197)]({'icon':_0x27fed9,'label':_0x3e00ab(_0xd86739,_0x51d0d2(0x199)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x51d0d2(0x1b1)}),_0x58fd40['on'](_0x51d0d2(0x19d),()=>{const _0x5c1691=_0x51d0d2;this[_0x5c1691(0x1b7)]();}),_0x58fd40[_0x51d0d2(0x18e)](_0x51d0d2(0x1ad))['to'](this[_0x51d0d2(0x1a0)][_0x51d0d2(0x19a)],_0x51d0d2(0x1b0),this,_0x51d0d2(0x1ad),(_0x453a01,_0x49541c)=>!_0x453a01&&_0x49541c),_0x58fd40;}[_0x2ba575(0x1b4)](){const _0x1554ed=_0x2ba575,_0x1a7a6d=new _0x556147(this[_0x1554ed(0x190)]),_0x433c17=this[_0x1554ed(0x195)],_0x4d556a=this[_0x1554ed(0x190)];_0x1a7a6d[_0x1554ed(0x197)]({'label':_0x3e00ab(_0x4d556a,_0x1554ed(0x18f)),'withText':!0x1,'icon':_0x4237ea,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1554ed(0x198)}),_0x1a7a6d[_0x1554ed(0x18e)](_0x1554ed(0x1bd))['to'](_0x433c17,_0x1554ed(0x1af)),_0x1a7a6d[_0x1554ed(0x18e)](_0x1554ed(0x1ad))['to'](this,_0x1554ed(0x1ad)),_0x1a7a6d['on'](_0x1554ed(0x19d),()=>{const _0x265b50=_0x1554ed;_0x433c17[_0x265b50(0x1af)]=!_0x433c17[_0x265b50(0x1af)],_0x433c17[_0x265b50(0x1af)]?this[_0x265b50(0x1b5)][_0x265b50(0x196)]():this[_0x265b50(0x196)]();});const _0x253c65=()=>{const _0x1af14a=_0x1554ed;_0x1639dd[_0x1af14a(0x1a1)][_0x1af14a(0x1bb)](()=>{const _0x40b048=_0x1af14a;if(_0x4e6eb8(this[_0x40b048(0x1a6)])){const _0x38467f=new _0x3908f6(this[_0x40b048(0x1a0)][_0x40b048(0x19a)][_0x40b048(0x1a6)]),_0x4751e9=_0x38467f[_0x40b048(0x192)],_0x23f0d3=_0x40b048(0x19b)===_0x4d556a[_0x40b048(0x1aa)]?_0x40b048(0x194):_0x40b048(0x1bc);_0x38467f[_0x40b048(0x187)](),_0x1a7a6d[_0x40b048(0x1a6)][_0x40b048(0x18c)][_0x23f0d3]=_0x4751e9-_0x38467f[_0x40b048(0x192)]+0x1+'px';}});};return this[_0x1554ed(0x1a0)][_0x1554ed(0x19a)]['on'](_0x1554ed(0x19f),_0x253c65),this['on'](_0x1554ed(0x1b6),_0x253c65),_0x1a7a6d;}[_0x2ba575(0x1b7)](){const _0x2c2f87=_0x2ba575,_0x16a394=this[_0x2c2f87(0x1a0)][_0x2c2f87(0x19a)][_0x2c2f87(0x1a6)][_0x2c2f87(0x1a3)];this[_0x2c2f87(0x1a2)](_0x2c2f87(0x1b7),_0x16a394);}[_0x2ba575(0x196)](_0xdb6e08){const _0x24fa5e=_0x2ba575;-0x1===_0xdb6e08?this[_0x24fa5e(0x1b8)][_0x24fa5e(0x1b2)]():this[_0x24fa5e(0x1b8)][_0x24fa5e(0x1ba)]();}}