@ckeditor/ckeditor5-ai 47.6.1 → 48.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 (693) hide show
  1. package/LICENSE.md +2 -1
  2. package/ckeditor5-metadata.json +10 -10
  3. package/dist/aiactions/aiactions.d.ts +90 -0
  4. package/{src → dist}/aiactions/model/aiactionsinteraction.d.ts +2 -2
  5. package/{src → dist}/aiassistant/adapters/aiadapter.d.ts +1 -1
  6. package/{src → dist}/aiassistant/adapters/aitextadapter.d.ts +1 -1
  7. package/{src → dist}/aiassistant/adapters/awstextadapter.d.ts +2 -2
  8. package/{src → dist}/aiassistant/adapters/openaitextadapter.d.ts +2 -2
  9. package/{src → dist}/aiassistant/aiassistant.d.ts +3 -3
  10. package/{src → dist}/aiassistant/aiassistantediting.d.ts +2 -2
  11. package/{src → dist}/aiassistant/aiassistantui.d.ts +3 -3
  12. package/{src → dist}/aiassistant/ui/aiassistantcontroller.d.ts +3 -3
  13. package/{src → dist}/aiassistant/ui/form/aiformcontentarea.d.ts +2 -2
  14. package/{src → dist}/aiassistant/ui/form/aiformerrorview.d.ts +2 -2
  15. package/{src → dist}/aiassistant/ui/form/aiformpromptview.d.ts +2 -2
  16. package/{src → dist}/aiassistant/ui/form/aiformtoolbarview.d.ts +2 -2
  17. package/{src → dist}/aiassistant/ui/form/aiformview.d.ts +2 -2
  18. package/{src → dist}/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
  19. package/{src → dist}/aiassistant/ui/form/aihistorylistview.d.ts +2 -2
  20. package/{src → dist}/aiassistant/ui/form/prompthistory.d.ts +1 -1
  21. package/{src → dist}/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
  22. package/{src → dist}/aiassistant/utils/common-translations.d.ts +1 -1
  23. package/{src → dist}/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
  24. package/{src → dist}/aiballoon/aiballoon.d.ts +2 -2
  25. package/{src → dist}/aiballoon/ui/aiballoonview.d.ts +2 -2
  26. package/dist/aichat/aichat.d.ts +95 -0
  27. package/{src → dist}/aichat/aichatballoon.d.ts +2 -2
  28. package/{src/aichat/aichat.d.ts → dist/aichat/aichatcontroller.d.ts} +122 -89
  29. package/{src → dist}/aichat/aichatui.d.ts +5 -5
  30. package/{src → dist}/aichat/model/aichatcontext.d.ts +91 -17
  31. package/{src → dist}/aichat/model/aichatconversation.d.ts +4 -4
  32. package/{src → dist}/aichat/model/aichatinteraction.d.ts +1 -4
  33. package/{src → dist}/aichat/ui/aichatballoonview.d.ts +2 -2
  34. package/{src → dist}/aichat/ui/aichatcontrolsview.d.ts +2 -2
  35. package/{src → dist}/aichat/ui/aichatfeedview.d.ts +2 -2
  36. package/{src → dist}/aichat/ui/aichatheaderview.d.ts +2 -2
  37. package/{src → dist}/aichat/ui/aichatview.d.ts +3 -2
  38. package/{src → dist}/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +2 -2
  39. package/{src → dist}/aichat/ui/controls/aichatcontextitembuttonview.d.ts +2 -2
  40. package/{src → dist}/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +2 -2
  41. package/{src → dist}/aichat/ui/controls/aichatcontextpanelview.d.ts +2 -2
  42. package/{src → dist}/aichat/ui/controls/aichatcontrolsloaderview.d.ts +2 -2
  43. package/{src → dist}/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +2 -2
  44. package/{src → dist}/aichat/ui/controls/aichatpromptinputview.d.ts +2 -2
  45. package/{src → dist}/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
  46. package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +2 -2
  47. package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +2 -2
  48. package/{src → dist}/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +2 -2
  49. package/{src → dist}/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +2 -2
  50. package/{src → dist}/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +2 -2
  51. package/{src → dist}/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +2 -2
  52. package/{src → dist}/aichat/ui/feed/aichatfeedcustomelementview.d.ts +7 -1
  53. package/{src → dist}/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
  54. package/{src → dist}/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
  55. package/{src → dist}/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -2
  56. package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +2 -2
  57. package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +2 -2
  58. package/{src → dist}/aichat/ui/feed/aichatfeedusermessageitem.d.ts +2 -2
  59. package/{src → dist}/aichat/utils/promisequeue.d.ts +2 -2
  60. package/{src → dist}/aichathistory/aichathistory.d.ts +1 -1
  61. package/{src → dist}/aichathistory/aichathistorycontroller.d.ts +1 -1
  62. package/{src → dist}/aichathistory/aichathistoryui.d.ts +1 -1
  63. package/{src → dist}/aichathistory/model/aichathistoryconversations.d.ts +2 -2
  64. package/{src → dist}/aichathistory/model/aichathistoryitem.d.ts +2 -2
  65. package/{src → dist}/aichathistory/ui/aichathistorylistitemview.d.ts +2 -2
  66. package/{src → dist}/aichathistory/ui/aichathistorylistview.d.ts +1 -1
  67. package/{src → dist}/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
  68. package/{src → dist}/aichathistory/ui/aichathistoryview.d.ts +2 -2
  69. package/{src → dist}/aichatshortcuts/aichatshortcuts.d.ts +17 -17
  70. package/{src → dist}/aichatshortcuts/ui/aichatshortcutsview.d.ts +2 -2
  71. package/{src → dist}/aichatshortcuts/ui/aichatshortcutview.d.ts +2 -2
  72. package/{src → dist}/aiconfig.d.ts +7 -9
  73. package/{src → dist}/aicore/aiconnector.d.ts +4 -12
  74. package/{src → dist}/aicore/aiediting.d.ts +27 -6
  75. package/{src → dist}/aicore/model/aicapabilities.d.ts +2 -2
  76. package/{src → dist}/aicore/model/aiinteraction.d.ts +17 -13
  77. package/{src → dist}/aicore/model/aimodels.d.ts +6 -4
  78. package/{src → dist}/aicore/model/aireply.d.ts +12 -50
  79. package/{src → dist}/aicore/pipeline/airesponseapplier.d.ts +2 -2
  80. package/{src → dist}/aicore/pipeline/airesponseparser.d.ts +2 -2
  81. package/{src → dist}/aicore/ui/aidisclaimerview.d.ts +2 -2
  82. package/{src → dist}/aicore/ui/aiskeleton.d.ts +2 -2
  83. package/{src → dist}/aicore/ui/aispinner.d.ts +1 -1
  84. package/{src → dist}/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +2 -2
  85. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -2
  86. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -2
  87. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.d.ts +2 -2
  88. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.d.ts +2 -2
  89. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.d.ts +2 -2
  90. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -2
  91. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +2 -2
  92. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionloaderview.d.ts +2 -2
  93. package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.d.ts +2 -2
  94. package/{src → dist}/aicore/ui/suggestioncontainer/aiwebsourcesview.d.ts +2 -2
  95. package/dist/aicore/utils/buttonclasses.d.ts +12 -0
  96. package/{src → dist}/aicore/utils/common-translations.d.ts +1 -1
  97. package/{src → dist}/aicore/utils/createresizebutton.d.ts +2 -2
  98. package/{src → dist}/aicore/utils/geteditorfromcontext.d.ts +1 -1
  99. package/{src → dist}/aicore/utils/getoperationsfromreply.d.ts +3 -3
  100. package/{src → dist}/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
  101. package/{src → dist}/aieditorintegration/aieditorintegration.d.ts +2 -2
  102. package/{src → dist}/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
  103. package/{src → dist}/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
  104. package/{src → dist}/aiquickactions/aiquickactions.d.ts +110 -52
  105. package/{src → dist}/aiquickactions/aiquickactionscommand.d.ts +1 -1
  106. package/{src → dist}/aiquickactions/aiquickactionsediting.d.ts +1 -1
  107. package/{src → dist}/aiquickactions/aiquickactionsui.d.ts +16 -30
  108. package/{src → dist}/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -2
  109. package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +3 -3
  110. package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +2 -2
  111. package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.d.ts +2 -2
  112. package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoontoolbarview.d.ts +2 -2
  113. package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoonview.d.ts +2 -2
  114. package/{src → dist}/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
  115. package/{src → dist}/aireviewcore/aireviewcorecontroller.d.ts +1 -1
  116. package/{src → dist}/aireviewcore/aireviewcoreediting.d.ts +4 -4
  117. package/{src → dist}/aireviewcore/aireviewcoreui.d.ts +2 -1
  118. package/{src → dist}/aireviewcore/model/aireviewchecklist.d.ts +2 -2
  119. package/{src → dist}/aireviewcore/model/aireviewcheckresult.d.ts +2 -2
  120. package/{src → dist}/aireviewcore/model/aireviewcheckresultchange.d.ts +3 -3
  121. package/{src → dist}/aireviewcore/model/aireviewcheckrun.d.ts +2 -2
  122. package/{src → dist}/aireviewcore/ui/aireviewcoreballoonsuggestionview.d.ts +2 -2
  123. package/{src → dist}/aireviewcore/ui/aireviewcorechecklistitemresultview.d.ts +2 -2
  124. package/{src → dist}/aireviewcore/ui/aireviewcorecustomcheckview.d.ts +2 -2
  125. package/{src → dist}/aireviewcore/ui/aireviewcorefinishreviewbuttonview.d.ts +2 -2
  126. package/{src → dist}/aireviewcore/ui/aireviewcoregeneralerrorview.d.ts +2 -2
  127. package/{src → dist}/aireviewcore/ui/aireviewcorepromptinputview.d.ts +2 -2
  128. package/{src → dist}/aireviewcore/ui/aireviewcorereviewchecklistview.d.ts +2 -2
  129. package/{src → dist}/aireviewcore/ui/aireviewcorereviewcommandlistitemview.d.ts +2 -2
  130. package/{src → dist}/aireviewcore/ui/aireviewcorereviewcompletedview.d.ts +2 -2
  131. package/{src → dist}/aireviewcore/ui/aireviewcoreuicheckresultsview.d.ts +2 -2
  132. package/{src → dist}/aireviewcore/ui/aireviewcoreview.d.ts +2 -2
  133. package/{src → dist}/aireviewcore/ui/form/aireviewcoreformdropdown.d.ts +2 -2
  134. package/{src → dist}/aireviewcore/ui/form/aireviewcoreformmanager.d.ts +2 -2
  135. package/{src → dist}/aireviewmode/aireviewmode.d.ts +6 -4
  136. package/{src → dist}/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  137. package/{src → dist}/aitabs/aitabs.d.ts +4 -1
  138. package/{src → dist}/aitabs/aitabsmainview.d.ts +4 -1
  139. package/{src → dist}/aitabs/tabs/aitabsview.d.ts +22 -2
  140. package/{src → dist}/aitabs/tabs/tabbuttonview.d.ts +2 -2
  141. package/{src → dist}/aitabs/tabs/tabpanelview.d.ts +2 -2
  142. package/{src → dist}/aitranslate/aitranslate.d.ts +47 -4
  143. package/{src → dist}/aitranslate/aitranslatecontroller.d.ts +1 -1
  144. package/{src → dist}/aitranslate/ui/aitranslatecheckresultsview.d.ts +1 -1
  145. package/dist/index-content.css +95 -0
  146. package/dist/index-editor.css +2711 -2793
  147. package/dist/index.css +2699 -3521
  148. package/{src → dist}/index.d.ts +7 -6
  149. package/dist/index.js +5 -5
  150. package/dist/translations/af.js +1 -1
  151. package/dist/translations/af.umd.js +1 -1
  152. package/dist/translations/ar.js +1 -1
  153. package/dist/translations/ar.umd.js +1 -1
  154. package/dist/translations/ast.js +1 -1
  155. package/dist/translations/ast.umd.js +1 -1
  156. package/dist/translations/az.js +1 -1
  157. package/dist/translations/az.umd.js +1 -1
  158. package/dist/translations/be.js +1 -1
  159. package/dist/translations/be.umd.js +1 -1
  160. package/dist/translations/bg.js +1 -1
  161. package/dist/translations/bg.umd.js +1 -1
  162. package/dist/translations/bn.js +1 -1
  163. package/dist/translations/bn.umd.js +1 -1
  164. package/dist/translations/bs.js +1 -1
  165. package/dist/translations/bs.umd.js +1 -1
  166. package/dist/translations/ca.js +1 -1
  167. package/dist/translations/ca.umd.js +1 -1
  168. package/dist/translations/cs.js +1 -1
  169. package/dist/translations/cs.umd.js +1 -1
  170. package/dist/translations/da.js +1 -1
  171. package/dist/translations/da.umd.js +1 -1
  172. package/dist/translations/de-ch.js +1 -1
  173. package/dist/translations/de-ch.umd.js +1 -1
  174. package/dist/translations/de.js +1 -1
  175. package/dist/translations/de.umd.js +1 -1
  176. package/dist/translations/el.js +1 -1
  177. package/dist/translations/el.umd.js +1 -1
  178. package/dist/translations/en-au.js +1 -1
  179. package/dist/translations/en-au.umd.js +1 -1
  180. package/dist/translations/en-gb.js +1 -1
  181. package/dist/translations/en-gb.umd.js +1 -1
  182. package/dist/translations/en.js +1 -1
  183. package/dist/translations/en.umd.js +1 -1
  184. package/dist/translations/eo.js +1 -1
  185. package/dist/translations/eo.umd.js +1 -1
  186. package/dist/translations/es-co.js +1 -1
  187. package/dist/translations/es-co.umd.js +1 -1
  188. package/dist/translations/es.js +1 -1
  189. package/dist/translations/es.umd.js +1 -1
  190. package/dist/translations/et.js +1 -1
  191. package/dist/translations/et.umd.js +1 -1
  192. package/dist/translations/eu.js +1 -1
  193. package/dist/translations/eu.umd.js +1 -1
  194. package/dist/translations/fa.js +1 -1
  195. package/dist/translations/fa.umd.js +1 -1
  196. package/dist/translations/fi.js +1 -1
  197. package/dist/translations/fi.umd.js +1 -1
  198. package/dist/translations/fr.js +1 -1
  199. package/dist/translations/fr.umd.js +1 -1
  200. package/dist/translations/gl.js +1 -1
  201. package/dist/translations/gl.umd.js +1 -1
  202. package/dist/translations/gu.js +1 -1
  203. package/dist/translations/gu.umd.js +1 -1
  204. package/dist/translations/he.js +1 -1
  205. package/dist/translations/he.umd.js +1 -1
  206. package/dist/translations/hi.js +1 -1
  207. package/dist/translations/hi.umd.js +1 -1
  208. package/dist/translations/hr.js +1 -1
  209. package/dist/translations/hr.umd.js +1 -1
  210. package/dist/translations/hu.js +1 -1
  211. package/dist/translations/hu.umd.js +1 -1
  212. package/dist/translations/hy.js +1 -1
  213. package/dist/translations/hy.umd.js +1 -1
  214. package/dist/translations/id.js +1 -1
  215. package/dist/translations/id.umd.js +1 -1
  216. package/dist/translations/it.js +1 -1
  217. package/dist/translations/it.umd.js +1 -1
  218. package/dist/translations/ja.js +1 -1
  219. package/dist/translations/ja.umd.js +1 -1
  220. package/dist/translations/jv.js +1 -1
  221. package/dist/translations/jv.umd.js +1 -1
  222. package/dist/translations/kk.js +1 -1
  223. package/dist/translations/kk.umd.js +1 -1
  224. package/dist/translations/km.js +1 -1
  225. package/dist/translations/km.umd.js +1 -1
  226. package/dist/translations/kn.js +1 -1
  227. package/dist/translations/kn.umd.js +1 -1
  228. package/dist/translations/ko.js +1 -1
  229. package/dist/translations/ko.umd.js +1 -1
  230. package/dist/translations/ku.js +1 -1
  231. package/dist/translations/ku.umd.js +1 -1
  232. package/dist/translations/lt.js +1 -1
  233. package/dist/translations/lt.umd.js +1 -1
  234. package/dist/translations/lv.js +1 -1
  235. package/dist/translations/lv.umd.js +1 -1
  236. package/dist/translations/ms.js +1 -1
  237. package/dist/translations/ms.umd.js +1 -1
  238. package/dist/translations/nb.js +1 -1
  239. package/dist/translations/nb.umd.js +1 -1
  240. package/dist/translations/ne.js +1 -1
  241. package/dist/translations/ne.umd.js +1 -1
  242. package/dist/translations/nl.js +1 -1
  243. package/dist/translations/nl.umd.js +1 -1
  244. package/dist/translations/no.js +1 -1
  245. package/dist/translations/no.umd.js +1 -1
  246. package/dist/translations/oc.js +1 -1
  247. package/dist/translations/oc.umd.js +1 -1
  248. package/dist/translations/pl.js +1 -1
  249. package/dist/translations/pl.umd.js +1 -1
  250. package/dist/translations/pt-br.js +1 -1
  251. package/dist/translations/pt-br.umd.js +1 -1
  252. package/dist/translations/pt.js +1 -1
  253. package/dist/translations/pt.umd.js +1 -1
  254. package/dist/translations/ro.js +1 -1
  255. package/dist/translations/ro.umd.js +1 -1
  256. package/dist/translations/ru.js +1 -1
  257. package/dist/translations/ru.umd.js +1 -1
  258. package/dist/translations/si.js +1 -1
  259. package/dist/translations/si.umd.js +1 -1
  260. package/dist/translations/sk.js +1 -1
  261. package/dist/translations/sk.umd.js +1 -1
  262. package/dist/translations/sl.js +1 -1
  263. package/dist/translations/sl.umd.js +1 -1
  264. package/dist/translations/sq.js +1 -1
  265. package/dist/translations/sq.umd.js +1 -1
  266. package/dist/translations/sr-latn.js +1 -1
  267. package/dist/translations/sr-latn.umd.js +1 -1
  268. package/dist/translations/sr.js +1 -1
  269. package/dist/translations/sr.umd.js +1 -1
  270. package/dist/translations/sv.js +1 -1
  271. package/dist/translations/sv.umd.js +1 -1
  272. package/dist/translations/th.js +1 -1
  273. package/dist/translations/th.umd.js +1 -1
  274. package/dist/translations/ti.js +1 -1
  275. package/dist/translations/ti.umd.js +1 -1
  276. package/dist/translations/tk.js +1 -1
  277. package/dist/translations/tk.umd.js +1 -1
  278. package/dist/translations/tr.js +1 -1
  279. package/dist/translations/tr.umd.js +1 -1
  280. package/dist/translations/tt.js +1 -1
  281. package/dist/translations/tt.umd.js +1 -1
  282. package/dist/translations/ug.js +1 -1
  283. package/dist/translations/ug.umd.js +1 -1
  284. package/dist/translations/uk.js +1 -1
  285. package/dist/translations/uk.umd.js +1 -1
  286. package/dist/translations/ur.js +1 -1
  287. package/dist/translations/ur.umd.js +1 -1
  288. package/dist/translations/uz.js +1 -1
  289. package/dist/translations/uz.umd.js +1 -1
  290. package/dist/translations/vi.js +1 -1
  291. package/dist/translations/vi.umd.js +1 -1
  292. package/dist/translations/zh-cn.js +1 -1
  293. package/dist/translations/zh-cn.umd.js +1 -1
  294. package/dist/translations/zh.js +1 -1
  295. package/dist/translations/zh.umd.js +1 -1
  296. package/package.json +26 -51
  297. package/build/966.ai.js +0 -5
  298. package/build/ai.js +0 -4
  299. package/build/translations/af.js +0 -1
  300. package/build/translations/ar.js +0 -1
  301. package/build/translations/ast.js +0 -1
  302. package/build/translations/az.js +0 -1
  303. package/build/translations/be.js +0 -1
  304. package/build/translations/bg.js +0 -1
  305. package/build/translations/bn.js +0 -1
  306. package/build/translations/bs.js +0 -1
  307. package/build/translations/ca.js +0 -1
  308. package/build/translations/cs.js +0 -1
  309. package/build/translations/da.js +0 -1
  310. package/build/translations/de-ch.js +0 -1
  311. package/build/translations/de.js +0 -1
  312. package/build/translations/el.js +0 -1
  313. package/build/translations/en-au.js +0 -1
  314. package/build/translations/en-gb.js +0 -1
  315. package/build/translations/en.js +0 -1
  316. package/build/translations/eo.js +0 -1
  317. package/build/translations/es-co.js +0 -1
  318. package/build/translations/es.js +0 -1
  319. package/build/translations/et.js +0 -1
  320. package/build/translations/eu.js +0 -1
  321. package/build/translations/fa.js +0 -1
  322. package/build/translations/fi.js +0 -1
  323. package/build/translations/fr.js +0 -1
  324. package/build/translations/gl.js +0 -1
  325. package/build/translations/gu.js +0 -1
  326. package/build/translations/he.js +0 -1
  327. package/build/translations/hi.js +0 -1
  328. package/build/translations/hr.js +0 -1
  329. package/build/translations/hu.js +0 -1
  330. package/build/translations/hy.js +0 -1
  331. package/build/translations/id.js +0 -1
  332. package/build/translations/it.js +0 -1
  333. package/build/translations/ja.js +0 -1
  334. package/build/translations/jv.js +0 -1
  335. package/build/translations/kk.js +0 -1
  336. package/build/translations/km.js +0 -1
  337. package/build/translations/kn.js +0 -1
  338. package/build/translations/ko.js +0 -1
  339. package/build/translations/ku.js +0 -1
  340. package/build/translations/lt.js +0 -1
  341. package/build/translations/lv.js +0 -1
  342. package/build/translations/ms.js +0 -1
  343. package/build/translations/nb.js +0 -1
  344. package/build/translations/ne.js +0 -1
  345. package/build/translations/nl.js +0 -1
  346. package/build/translations/no.js +0 -1
  347. package/build/translations/oc.js +0 -1
  348. package/build/translations/pl.js +0 -1
  349. package/build/translations/pt-br.js +0 -1
  350. package/build/translations/pt.js +0 -1
  351. package/build/translations/ro.js +0 -1
  352. package/build/translations/ru.js +0 -1
  353. package/build/translations/si.js +0 -1
  354. package/build/translations/sk.js +0 -1
  355. package/build/translations/sl.js +0 -1
  356. package/build/translations/sq.js +0 -1
  357. package/build/translations/sr-latn.js +0 -1
  358. package/build/translations/sr.js +0 -1
  359. package/build/translations/sv.js +0 -1
  360. package/build/translations/th.js +0 -1
  361. package/build/translations/ti.js +0 -1
  362. package/build/translations/tk.js +0 -1
  363. package/build/translations/tr.js +0 -1
  364. package/build/translations/tt.js +0 -1
  365. package/build/translations/ug.js +0 -1
  366. package/build/translations/uk.js +0 -1
  367. package/build/translations/ur.js +0 -1
  368. package/build/translations/uz.js +0 -1
  369. package/build/translations/vi.js +0 -1
  370. package/build/translations/zh-cn.js +0 -1
  371. package/build/translations/zh.js +0 -1
  372. package/lang/contexts.json +0 -286
  373. package/lang/translations/af.po +0 -1144
  374. package/lang/translations/ar.po +0 -1144
  375. package/lang/translations/ast.po +0 -1144
  376. package/lang/translations/az.po +0 -1144
  377. package/lang/translations/be.po +0 -1144
  378. package/lang/translations/bg.po +0 -1144
  379. package/lang/translations/bn.po +0 -1144
  380. package/lang/translations/bs.po +0 -1144
  381. package/lang/translations/ca.po +0 -1144
  382. package/lang/translations/cs.po +0 -1144
  383. package/lang/translations/da.po +0 -1144
  384. package/lang/translations/de-ch.po +0 -1144
  385. package/lang/translations/de.po +0 -1144
  386. package/lang/translations/el.po +0 -1144
  387. package/lang/translations/en-au.po +0 -1144
  388. package/lang/translations/en-gb.po +0 -1144
  389. package/lang/translations/en.po +0 -1144
  390. package/lang/translations/eo.po +0 -1144
  391. package/lang/translations/es-co.po +0 -1144
  392. package/lang/translations/es.po +0 -1144
  393. package/lang/translations/et.po +0 -1144
  394. package/lang/translations/eu.po +0 -1144
  395. package/lang/translations/fa.po +0 -1144
  396. package/lang/translations/fi.po +0 -1144
  397. package/lang/translations/fr.po +0 -1144
  398. package/lang/translations/gl.po +0 -1144
  399. package/lang/translations/gu.po +0 -1144
  400. package/lang/translations/he.po +0 -1144
  401. package/lang/translations/hi.po +0 -1144
  402. package/lang/translations/hr.po +0 -1144
  403. package/lang/translations/hu.po +0 -1144
  404. package/lang/translations/hy.po +0 -1144
  405. package/lang/translations/id.po +0 -1144
  406. package/lang/translations/it.po +0 -1144
  407. package/lang/translations/ja.po +0 -1144
  408. package/lang/translations/jv.po +0 -1144
  409. package/lang/translations/kk.po +0 -1144
  410. package/lang/translations/km.po +0 -1144
  411. package/lang/translations/kn.po +0 -1144
  412. package/lang/translations/ko.po +0 -1144
  413. package/lang/translations/ku.po +0 -1144
  414. package/lang/translations/lt.po +0 -1144
  415. package/lang/translations/lv.po +0 -1144
  416. package/lang/translations/ms.po +0 -1144
  417. package/lang/translations/nb.po +0 -1144
  418. package/lang/translations/ne.po +0 -1144
  419. package/lang/translations/nl.po +0 -1144
  420. package/lang/translations/no.po +0 -1144
  421. package/lang/translations/oc.po +0 -1144
  422. package/lang/translations/pl.po +0 -1144
  423. package/lang/translations/pt-br.po +0 -1144
  424. package/lang/translations/pt.po +0 -1144
  425. package/lang/translations/ro.po +0 -1144
  426. package/lang/translations/ru.po +0 -1144
  427. package/lang/translations/si.po +0 -1144
  428. package/lang/translations/sk.po +0 -1144
  429. package/lang/translations/sl.po +0 -1144
  430. package/lang/translations/sq.po +0 -1144
  431. package/lang/translations/sr-latn.po +0 -1144
  432. package/lang/translations/sr.po +0 -1144
  433. package/lang/translations/sv.po +0 -1144
  434. package/lang/translations/th.po +0 -1144
  435. package/lang/translations/ti.po +0 -1144
  436. package/lang/translations/tk.po +0 -1144
  437. package/lang/translations/tr.po +0 -1144
  438. package/lang/translations/tt.po +0 -1144
  439. package/lang/translations/ug.po +0 -1144
  440. package/lang/translations/uk.po +0 -1144
  441. package/lang/translations/ur.po +0 -1144
  442. package/lang/translations/uz.po +0 -1144
  443. package/lang/translations/vi.po +0 -1144
  444. package/lang/translations/zh-cn.po +0 -1144
  445. package/lang/translations/zh.po +0 -1144
  446. package/src/aiactions/aiactions.d.ts +0 -53
  447. package/src/aiactions/aiactions.js +0 -23
  448. package/src/aiactions/model/aiactionsinteraction.js +0 -23
  449. package/src/aiactions/model/aiactionsreply.js +0 -23
  450. package/src/aiassistant/adapters/aiadapter.js +0 -23
  451. package/src/aiassistant/adapters/aitextadapter.js +0 -23
  452. package/src/aiassistant/adapters/awstextadapter.js +0 -23
  453. package/src/aiassistant/adapters/openaitextadapter.js +0 -23
  454. package/src/aiassistant/aiassistant.js +0 -23
  455. package/src/aiassistant/aiassistantediting.js +0 -23
  456. package/src/aiassistant/aiassistantui.js +0 -23
  457. package/src/aiassistant/legacyerrors.js +0 -23
  458. package/src/aiassistant/ui/aiassistantcontroller.js +0 -24
  459. package/src/aiassistant/ui/form/aiformcontentarea.js +0 -23
  460. package/src/aiassistant/ui/form/aiformerrorview.js +0 -23
  461. package/src/aiassistant/ui/form/aiformpromptview.js +0 -23
  462. package/src/aiassistant/ui/form/aiformtoolbarview.js +0 -23
  463. package/src/aiassistant/ui/form/aiformview.js +0 -23
  464. package/src/aiassistant/ui/form/aihistorylistitemview.js +0 -23
  465. package/src/aiassistant/ui/form/aihistorylistview.js +0 -23
  466. package/src/aiassistant/ui/form/prompthistory.js +0 -23
  467. package/src/aiassistant/ui/showaiassistantcommand.js +0 -23
  468. package/src/aiassistant/utils/common-translations.js +0 -23
  469. package/src/aiassistant/utils/normalizecommandsconfig.js +0 -23
  470. package/src/aiballoon/aiballoon.js +0 -23
  471. package/src/aiballoon/ui/aiballoonview.js +0 -23
  472. package/src/aichat/aichat.js +0 -23
  473. package/src/aichat/aichatballoon.js +0 -23
  474. package/src/aichat/aichatcontroller.d.ts +0 -77
  475. package/src/aichat/aichatcontroller.js +0 -23
  476. package/src/aichat/aichatui.js +0 -23
  477. package/src/aichat/model/aichatcontext.js +0 -23
  478. package/src/aichat/model/aichatconversation.js +0 -23
  479. package/src/aichat/model/aichatinteraction.js +0 -23
  480. package/src/aichat/ui/aichatballoonview.js +0 -23
  481. package/src/aichat/ui/aichatcontrolsview.js +0 -23
  482. package/src/aichat/ui/aichatfeedview.js +0 -23
  483. package/src/aichat/ui/aichatheaderview.js +0 -23
  484. package/src/aichat/ui/aichatview.js +0 -23
  485. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +0 -23
  486. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +0 -23
  487. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +0 -23
  488. package/src/aichat/ui/controls/aichatcontextpanelview.js +0 -23
  489. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +0 -23
  490. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +0 -23
  491. package/src/aichat/ui/controls/aichatpromptinputview.js +0 -23
  492. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +0 -23
  493. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +0 -23
  494. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +0 -23
  495. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +0 -23
  497. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +0 -23
  498. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +0 -23
  499. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +0 -23
  500. package/src/aichat/ui/feed/aichatfeederroritemview.js +0 -23
  501. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +0 -23
  502. package/src/aichat/ui/feed/aichatfeeditemview.js +0 -23
  503. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +0 -23
  504. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +0 -23
  505. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +0 -23
  506. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +0 -23
  507. package/src/aichat/utils/eventnames.js +0 -23
  508. package/src/aichat/utils/promisequeue.js +0 -23
  509. package/src/aichathistory/aichathistory.js +0 -23
  510. package/src/aichathistory/aichathistorycontroller.js +0 -23
  511. package/src/aichathistory/aichathistoryui.js +0 -23
  512. package/src/aichathistory/model/aichathistoryconversations.js +0 -23
  513. package/src/aichathistory/model/aichathistoryitem.js +0 -23
  514. package/src/aichathistory/ui/aichathistorylistitemview.js +0 -24
  515. package/src/aichathistory/ui/aichathistorylistview.js +0 -23
  516. package/src/aichathistory/ui/aichathistorysectionlistview.js +0 -23
  517. package/src/aichathistory/ui/aichathistoryview.js +0 -23
  518. package/src/aichatshortcuts/aichatshortcuts.js +0 -23
  519. package/src/aichatshortcuts/ui/aichatshortcutsview.js +0 -23
  520. package/src/aichatshortcuts/ui/aichatshortcutview.js +0 -23
  521. package/src/aiconfig.js +0 -23
  522. package/src/aicore/aiconnector.js +0 -23
  523. package/src/aicore/aiediting.js +0 -23
  524. package/src/aicore/model/aicapabilities.js +0 -23
  525. package/src/aicore/model/aicontext.js +0 -23
  526. package/src/aicore/model/aiinteraction.js +0 -23
  527. package/src/aicore/model/aimodels.js +0 -23
  528. package/src/aicore/model/aireply.js +0 -23
  529. package/src/aicore/pipeline/airesponseapplier.js +0 -24
  530. package/src/aicore/pipeline/airesponseparser.js +0 -24
  531. package/src/aicore/ui/aidisclaimerview.js +0 -23
  532. package/src/aicore/ui/aiskeleton.js +0 -23
  533. package/src/aicore/ui/aispinner.js +0 -23
  534. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +0 -23
  535. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +0 -23
  536. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +0 -23
  537. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +0 -23
  538. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +0 -23
  539. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +0 -23
  540. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +0 -23
  541. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +0 -23
  542. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +0 -23
  543. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +0 -23
  544. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +0 -23
  545. package/src/aicore/utils/common-translations.js +0 -23
  546. package/src/aicore/utils/createresizebutton.js +0 -23
  547. package/src/aicore/utils/documentposition.js +0 -23
  548. package/src/aicore/utils/documentrange.js +0 -23
  549. package/src/aicore/utils/eventnames.js +0 -23
  550. package/src/aicore/utils/geteditorfromcontext.js +0 -23
  551. package/src/aicore/utils/getoperationsfromreply.js +0 -23
  552. package/src/aicore/utils/getsuggestionpartsfromreply.js +0 -23
  553. package/src/aicore/utils/htmlparser.js +0 -23
  554. package/src/aicore/utils/htmlstreamer.js +0 -23
  555. package/src/aicore/utils/scrollmanager.js +0 -23
  556. package/src/aieditorintegration/aieditorintegration.js +0 -23
  557. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +0 -23
  558. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +0 -23
  559. package/src/aiquickactions/aiquickactions.js +0 -23
  560. package/src/aiquickactions/aiquickactionscommand.js +0 -23
  561. package/src/aiquickactions/aiquickactionsediting.js +0 -23
  562. package/src/aiquickactions/aiquickactionsui.js +0 -23
  563. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +0 -23
  564. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +0 -23
  565. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +0 -23
  566. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +0 -23
  567. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +0 -23
  568. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +0 -23
  569. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +0 -23
  570. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +0 -23
  571. package/src/aireviewcore/aireviewcorecontroller.js +0 -23
  572. package/src/aireviewcore/aireviewcoreediting.js +0 -23
  573. package/src/aireviewcore/aireviewcoreui.js +0 -23
  574. package/src/aireviewcore/model/aireviewcheck.js +0 -23
  575. package/src/aireviewcore/model/aireviewchecklist.js +0 -23
  576. package/src/aireviewcore/model/aireviewcheckresult.js +0 -23
  577. package/src/aireviewcore/model/aireviewcheckresultchange.js +0 -23
  578. package/src/aireviewcore/model/aireviewcheckrun.js +0 -23
  579. package/src/aireviewcore/model/aireviewsystemcheckrun.js +0 -23
  580. package/src/aireviewcore/types.js +0 -23
  581. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +0 -23
  582. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +0 -23
  583. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +0 -23
  584. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +0 -23
  585. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +0 -23
  586. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +0 -23
  587. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +0 -23
  588. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +0 -23
  589. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +0 -23
  590. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +0 -23
  591. package/src/aireviewcore/ui/aireviewcoreview.js +0 -23
  592. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +0 -23
  593. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +0 -23
  594. package/src/aireviewmode/aireviewcheckdefinitions.js +0 -23
  595. package/src/aireviewmode/aireviewmode.js +0 -23
  596. package/src/aireviewmode/aireviewmodecontroller.js +0 -23
  597. package/src/aireviewmode/aireviewmodeui.js +0 -23
  598. package/src/aireviewmode/model/aireviewcheckcustom.js +0 -23
  599. package/src/aireviewmode/model/aireviewcheckextra.js +0 -23
  600. package/src/aireviewmode/model/aireviewcustomcheckrun.js +0 -23
  601. package/src/aireviewmode/model/aireviewextracheckrun.js +0 -23
  602. package/src/aireviewmode/model/aireviewmodechecklist.js +0 -23
  603. package/src/aitabs/aitabs.js +0 -23
  604. package/src/aitabs/aitabsmainview.js +0 -23
  605. package/src/aitabs/tabs/aitabsview.js +0 -23
  606. package/src/aitabs/tabs/tabbuttonview.js +0 -23
  607. package/src/aitabs/tabs/tabpanelview.js +0 -23
  608. package/src/aitranslate/aitranslate.js +0 -23
  609. package/src/aitranslate/aitranslatecontroller.js +0 -23
  610. package/src/aitranslate/aitranslateui.js +0 -23
  611. package/src/aitranslate/model/aitranslatecheck.js +0 -23
  612. package/src/aitranslate/model/aitranslatechecklist.js +0 -23
  613. package/src/aitranslate/model/aitranslatecheckrun.js +0 -23
  614. package/src/aitranslate/ui/aitranslatechecklistview.js +0 -23
  615. package/src/aitranslate/ui/aitranslatecheckresultsview.js +0 -23
  616. package/src/augmentation.js +0 -23
  617. package/src/errors.js +0 -23
  618. package/src/errorsmap.js +0 -23
  619. package/src/index.js +0 -23
  620. package/theme/aiassistant/ai-dropdown.css +0 -37
  621. package/theme/aiassistant/ai-form.css +0 -262
  622. package/theme/aiassistant/ai.css +0 -120
  623. package/theme/aiballoon/aiballoon.css +0 -58
  624. package/theme/aichat/aichat-controls/aichat-context-chip.css +0 -139
  625. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +0 -207
  626. package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -45
  627. package/theme/aichat/aichat-controls/aichat-controls-button.css +0 -75
  628. package/theme/aichat/aichat-controls/aichat-controls-loader.css +0 -77
  629. package/theme/aichat/aichat-controls/model-unavailable-message.css +0 -39
  630. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -45
  631. package/theme/aichat/aichat-controls/prompt-input.css +0 -78
  632. package/theme/aichat/aichat-controls.css +0 -121
  633. package/theme/aichat/aichat.css +0 -55
  634. package/theme/aichat/aichatballoon.css +0 -122
  635. package/theme/aichat/aichatfeed.css +0 -430
  636. package/theme/aichat/aichathistory.css +0 -264
  637. package/theme/aichat/aiminitoolbar.css +0 -79
  638. package/theme/aichat/aisuggestioncontainer.css +0 -172
  639. package/theme/aichatshortcuts/aichatshortcuts.css +0 -84
  640. package/theme/aieditorintegration/aitogglebutton.css +0 -17
  641. package/theme/aiquickactions/aiquickactions.css +0 -177
  642. package/theme/aiquickactions/aiquickactionsballoon.css +0 -119
  643. package/theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css +0 -47
  644. package/theme/aireviewcore/aireviewcore-check-list.css +0 -278
  645. package/theme/aireviewcore/aireviewcore-check-run-result.css +0 -103
  646. package/theme/aireviewcore/aireviewcore-check-run.css +0 -237
  647. package/theme/aireviewcore/aireviewcore-review-completed.css +0 -52
  648. package/theme/aireviewcore/aireviewcore.css +0 -134
  649. package/theme/aitabs/aitabsresizebutton.css +0 -14
  650. package/theme/aitabs/aitabsview.css +0 -69
  651. package/theme/aitabs/tabs/tabbuttonview.css +0 -76
  652. package/theme/aitabs/tabs/tabsview.css +0 -89
  653. package/theme/aitranslate/aitranslate.css +0 -116
  654. package/theme/common/aibutton.css +0 -157
  655. package/theme/common/aidisclaimer.css +0 -29
  656. package/theme/common/aiheader.css +0 -99
  657. package/theme/common/ainotification.css +0 -65
  658. package/theme/common/aiskeleton.css +0 -54
  659. package/theme/common/aispinner.css +0 -58
  660. package/theme/common/aisuggestioncontentpartstate.css +0 -33
  661. package/theme/common/aisuggestioncontentparttoolbar.css +0 -34
  662. package/theme/common/aisuggestionstreamablecontent.css +0 -62
  663. package/theme/common/aitrackchanges.css +0 -29
  664. /package/{src → dist}/aiactions/model/aiactionsreply.d.ts +0 -0
  665. /package/{src → dist}/aiassistant/legacyerrors.d.ts +0 -0
  666. /package/{src → dist}/aichat/ui/feed/aichatfeederroritemview.d.ts +0 -0
  667. /package/{src → dist}/aichat/utils/eventnames.d.ts +0 -0
  668. /package/{src → dist}/aicore/model/aicontext.d.ts +0 -0
  669. /package/{src → dist}/aicore/utils/documentposition.d.ts +0 -0
  670. /package/{src → dist}/aicore/utils/documentrange.d.ts +0 -0
  671. /package/{src → dist}/aicore/utils/eventnames.d.ts +0 -0
  672. /package/{src → dist}/aicore/utils/htmlparser.d.ts +0 -0
  673. /package/{src → dist}/aicore/utils/htmlstreamer.d.ts +0 -0
  674. /package/{src → dist}/aicore/utils/scrollmanager.d.ts +0 -0
  675. /package/{src → dist}/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +0 -0
  676. /package/{src → dist}/aireviewcore/model/aireviewcheck.d.ts +0 -0
  677. /package/{src → dist}/aireviewcore/model/aireviewsystemcheckrun.d.ts +0 -0
  678. /package/{src → dist}/aireviewcore/types.d.ts +0 -0
  679. /package/{src → dist}/aireviewmode/aireviewcheckdefinitions.d.ts +0 -0
  680. /package/{src → dist}/aireviewmode/aireviewmodeui.d.ts +0 -0
  681. /package/{src → dist}/aireviewmode/model/aireviewcheckcustom.d.ts +0 -0
  682. /package/{src → dist}/aireviewmode/model/aireviewcheckextra.d.ts +0 -0
  683. /package/{src → dist}/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -0
  684. /package/{src → dist}/aireviewmode/model/aireviewextracheckrun.d.ts +0 -0
  685. /package/{src → dist}/aireviewmode/model/aireviewmodechecklist.d.ts +0 -0
  686. /package/{src → dist}/aitranslate/aitranslateui.d.ts +0 -0
  687. /package/{src → dist}/aitranslate/model/aitranslatecheck.d.ts +0 -0
  688. /package/{src → dist}/aitranslate/model/aitranslatechecklist.d.ts +0 -0
  689. /package/{src → dist}/aitranslate/model/aitranslatecheckrun.d.ts +0 -0
  690. /package/{src → dist}/aitranslate/ui/aitranslatechecklistview.d.ts +0 -0
  691. /package/{src → dist}/augmentation.d.ts +0 -0
  692. /package/{src → dist}/errors.d.ts +0 -0
  693. /package/{src → dist}/errorsmap.d.ts +0 -0
@@ -1,24 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x3d66(){const _0x704956=['_domParser','stopListening','value','body','21ybcKxi','abort','substring','```html','currentResponse','currentContext','previousLabel','document','view','get','textAdapter','finally','<h1></h1>','text/html','reverse','markers','stopProcessing','push','mainAction','previousQuery','trim','innerHTML','306032oSiuqj','viewToDom','startsWith','render','listenTo','toView','endsWith','updateView','editor','serializeToString','from','tryAgainEvent','setContentOf','destroy','nodeType','_parseAndNormalizeContent','6129886ljWXNX','domConverter','_sanitizationContainer','editing','querySelector','div','element','7716712IrcDXI','_stripMarkdownSyntax','config','_isH1TagSupportEnabled','initialContext','custom','12041307JTHwPj','processor','data','370936CosKjy','once','startProcessing','previousActionId','createElement','_normalizeResponseHeadings','htmlProcessor','catch','then','exec','toModel','reset','645664cbwIzR','isRendered','name','stringify','previousContext','_handleQuery','remove','makeRequest','rename','finishProcessing','length','ELEMENT_NODE','1626065ckotre','parseFromString','clear','```','_xmlSerializer','childNodes','message','_sanitizeHTML','match','set:currentContext','12sjjjGB','set','ai.assistant.preserveComments','handleError','submitPrompt','isProcessing','prompt'];_0x3d66=function(){return _0x704956;};return _0x3d66();}const _0x159c81=_0x2df2;(function(_0x181be9,_0x321fe1){const _0x106726=_0x2df2,_0xb21519=_0x181be9();while(!![]){try{const _0x1026b1=-parseInt(_0x106726(0xc4))/0x1+parseInt(_0x106726(0x8d))/0x2+parseInt(_0x106726(0xae))/0x3*(-parseInt(_0x106726(0xe4))/0x4)+parseInt(_0x106726(0x99))/0x5*(parseInt(_0x106726(0xa3))/0x6)+parseInt(_0x106726(0xd4))/0x7+parseInt(_0x106726(0xdb))/0x8+-parseInt(_0x106726(0xe1))/0x9;if(_0x1026b1===_0x321fe1)break;else _0xb21519['push'](_0xb21519['shift']());}catch(_0x5192c8){_0xb21519['push'](_0xb21519['shift']());}}}(_0x3d66,0x7f104));function _0x2df2(_0x4beab8,_0x2cd592){const _0x3d6693=_0x3d66();return _0x2df2=function(_0x2df293,_0x5bd1e2){_0x2df293=_0x2df293-0x85;let _0x35bf6d=_0x3d6693[_0x2df293];return _0x35bf6d;},_0x2df2(_0x4beab8,_0x2cd592);}import{ObservableMixin as _0x3dde72}from'ckeditor5/src/utils.js';import{AIRequestError as _0x170701}from'../adapters/aiadapter.js';import{Matcher as _0x71221f,ViewUpcastWriter as _0x3323e5}from'ckeditor5/src/engine.js';const vs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x3dde72(){[_0x159c81(0xcc)];[_0x159c81(0xb8)];[_0x159c81(0xb6)];[_0x159c81(0xd6)];[_0x159c81(0xaa)];[_0x159c81(0x9d)];constructor(_0x23836a,_0x22e268,_0xcf27d8){const _0x371e1b=_0x159c81;super(),this[_0x371e1b(0xcc)]=_0x23836a,this[_0x371e1b(0xb8)]=_0x22e268,this[_0x371e1b(0xd6)]=document[_0x371e1b(0x85)](_0x371e1b(0xd9)),this[_0x371e1b(0xaa)]=new DOMParser(),this[_0x371e1b(0x9d)]=new XMLSerializer(),this[_0x371e1b(0xb6)]=_0xcf27d8,this[_0x371e1b(0xa4)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x371e1b(0xa2),(_0x1e7226,_0x2ff0eb,_0x4b79ac)=>{const _0x5ebe00=_0x371e1b;this[_0x5ebe00(0xb6)][_0x5ebe00(0xac)]=this[_0x5ebe00(0xa0)](_0x4b79ac);}),this[_0x371e1b(0xc8)](this[_0x371e1b(0xb6)],_0x371e1b(0xa7),(_0x126c66,_0x2eb85c)=>{const _0x3f58e4=_0x371e1b,_0xea7d21=this[_0x3f58e4(0xb3)]||this[_0x3f58e4(0xdf)];this[_0x3f58e4(0x92)](_0x2eb85c,_0xea7d21,_0x3f58e4(0xe0));}),this[_0x371e1b(0xc8)](this[_0x371e1b(0xb6)],_0x371e1b(0xcf),()=>{const _0x1e9ea9=_0x371e1b;this[_0x1e9ea9(0xb6)][_0x1e9ea9(0xa9)]=this[_0x1e9ea9(0xb4)],this[_0x1e9ea9(0x92)](this[_0x1e9ea9(0xc1)],this[_0x1e9ea9(0x91)],this[_0x1e9ea9(0xe7)],this[_0x1e9ea9(0xb4)]);}),this[_0x371e1b(0xc8)](this[_0x371e1b(0xb6)],_0x371e1b(0xbe),()=>{const _0x4a56e8=_0x371e1b;this[_0x4a56e8(0xbe)]();});}[_0x159c81(0xd1)](){const _0x5cdd93=_0x159c81;this[_0x5cdd93(0xab)]();}async[_0x159c81(0xcb)]({actionId:_0x5f3068,query:_0x2cdd9d,htmlContent:_0x47ad54,label:_0x3c6d83,mainActionLabel:_0x56afd0}){const _0x3340e0=_0x159c81;this[_0x3340e0(0xb6)][_0x3340e0(0xa9)]=_0x3c6d83,this[_0x3340e0(0xb6)][_0x3340e0(0xc0)]=_0x56afd0,this[_0x3340e0(0xdf)]=_0x47ad54,_0x2cdd9d&&(this[_0x3340e0(0xb6)][_0x3340e0(0x8e)]?this[_0x3340e0(0x92)](_0x2cdd9d,_0x47ad54,_0x5f3068,_0x3c6d83):this[_0x3340e0(0xb6)][_0x3340e0(0xe5)](_0x3340e0(0xc7),()=>{const _0x49ce4c=_0x3340e0;this[_0x49ce4c(0x92)](_0x2cdd9d,_0x47ad54,_0x5f3068,_0x3c6d83);}));}[_0x159c81(0xbe)](){const _0x2063fe=_0x159c81;this[_0x2063fe(0xa8)]&&(this[_0x2063fe(0xa8)]=!0x1,this[_0x2063fe(0xb6)][_0x2063fe(0x96)](),this[_0x2063fe(0xb8)][_0x2063fe(0xaf)]());}[_0x159c81(0x8c)](){const _0x24400b=_0x159c81;this[_0x24400b(0xdf)]='',this[_0x24400b(0xb3)]='',this[_0x24400b(0xb2)]='',this[_0x24400b(0x91)]='',this[_0x24400b(0xc1)]='',this[_0x24400b(0xb4)]='',this[_0x24400b(0xe7)]=void 0x0,this[_0x24400b(0xb6)][_0x24400b(0x8c)](),this[_0x24400b(0xbe)]();}async[_0x159c81(0x92)](_0x3f8a15,_0x3d3864,_0x5d90e5,_0xcc461b){const _0x4c0480=_0x159c81;return this[_0x4c0480(0xa8)]=!0x0,this[_0x4c0480(0xb6)][_0x4c0480(0xe6)](),this[_0x4c0480(0x91)]=_0x3d3864,this[_0x4c0480(0xc1)]=_0x3f8a15,this[_0x4c0480(0xb4)]=_0xcc461b||_0x3f8a15,this[_0x4c0480(0xe7)]=_0x5d90e5,new Promise(_0x930b6f=>{const _0x11007c=_0x4c0480;this[_0x11007c(0xb8)][_0x11007c(0x94)]({'query':_0x3f8a15,'context':_0x3d3864,'onData':_0xf165de=>{const _0x9eb4de=_0x11007c;this[_0x9eb4de(0xb2)]=_0xf165de,this[_0x9eb4de(0xb3)]=this[_0x9eb4de(0xd3)](this[_0x9eb4de(0xb2)]);},'actionId':_0x5d90e5})[_0x11007c(0x89)](()=>{const _0x290570=_0x11007c;!this[_0x290570(0xb3)]&&this[_0x290570(0xb2)]&&(this[_0x290570(0xb3)]=this[_0x290570(0xd3)](this[_0x290570(0xb2)],!0x0));})[_0x11007c(0x88)](_0x5e4353=>{const _0x314343=_0x11007c;_0x5e4353 instanceof _0x170701?this[_0x314343(0xb6)][_0x314343(0xa6)](_0x5e4353[_0x314343(0x9f)]):this[_0x314343(0xb6)][_0x314343(0xa6)](),_0x930b6f();})[_0x11007c(0xb9)](()=>{const _0x3a77cd=_0x11007c;this[_0x3a77cd(0xbe)](),_0x930b6f();});});}[_0x159c81(0xd3)](_0x325a68,_0x98bc1d=!0x1){const _0x207590=_0x159c81,_0x3f9da7=vs[_0x207590(0x8a)](_0x325a68);_0x325a68=_0x3f9da7?_0x325a68[_0x207590(0xb0)](_0x3f9da7[0x1][_0x207590(0x97)]):_0x325a68[_0x207590(0x97)]<0x64&&!_0x98bc1d?'':this[_0x207590(0xdc)](_0x325a68);const _0x22b86a=this[_0x207590(0xaa)][_0x207590(0x9a)](_0x325a68,_0x207590(0xbb));if(_0x3f9da7){const _0x17c9f8=Array[_0x207590(0xce)](_0x22b86a[_0x207590(0xad)][_0x207590(0x9e)]);_0x17c9f8[_0x207590(0xbc)]();for(const _0x23c9cb of _0x17c9f8){if(_0x23c9cb[_0x207590(0xd2)]==Node[_0x207590(0x98)])break;_0x23c9cb[_0x207590(0x93)]();}}const _0x2eb8ef=this[_0x207590(0xcc)][_0x207590(0xe3)][_0x207590(0xe2)][_0x207590(0xc9)](this[_0x207590(0x9d)][_0x207590(0xcd)](_0x22b86a[_0x207590(0xad)]));this[_0x207590(0xde)]()||this[_0x207590(0x86)](_0x2eb8ef);const _0x23797d=this[_0x207590(0xcc)][_0x207590(0xdd)][_0x207590(0xb7)](_0x207590(0xa5)),_0x423dc2=this[_0x207590(0xcc)][_0x207590(0xe3)][_0x207590(0x8b)](_0x2eb8ef);return _0x23797d||_0x423dc2[_0x207590(0xbd)][_0x207590(0x9b)](),this[_0x207590(0xcc)][_0x207590(0xe3)][_0x207590(0x90)](_0x423dc2);}[_0x159c81(0x86)](_0x191e5b){const _0xde4c28=_0x159c81,_0x21d3d1=new _0x3323e5(this[_0xde4c28(0xcc)][_0xde4c28(0xd7)][_0xde4c28(0xb6)][_0xde4c28(0xb5)]),_0x40bf3a=new _0x71221f({'name':/^h[1-5]$/}),_0x5f3db0=[];let _0x480602=!0x1;for(const _0x4a1c6b of _0x191e5b)_0x4a1c6b['is'](_0xde4c28(0xda))&&_0x40bf3a[_0xde4c28(0xa1)](_0x4a1c6b)&&(_0x5f3db0[_0xde4c28(0xbf)](_0x4a1c6b),'h1'==_0x4a1c6b[_0xde4c28(0x8f)]&&(_0x480602=!0x0));if(_0x480602){for(const _0x30eb99 of _0x5f3db0)_0x21d3d1[_0xde4c28(0x95)]('h'+(parseInt(_0x30eb99[_0xde4c28(0x8f)][0x1])+0x1),_0x30eb99);}}[_0x159c81(0xde)](){const _0x53f8c1=_0x159c81,{data:_0xfb56f8,editing:_0x5072fe}=this[_0x53f8c1(0xcc)],_0x34ff4f=_0xfb56f8[_0x53f8c1(0x87)][_0x53f8c1(0xc9)](_0x53f8c1(0xba)),_0x58fe3c=_0xfb56f8[_0x53f8c1(0xc9)](_0xfb56f8[_0x53f8c1(0x8b)](_0x34ff4f));return!!_0x5072fe[_0x53f8c1(0xb6)][_0x53f8c1(0xd5)][_0x53f8c1(0xc5)](_0x58fe3c)[_0x53f8c1(0xd8)]('h1');}[_0x159c81(0xa0)](_0x518204){const _0x4ef8e7=_0x159c81;return this[_0x4ef8e7(0xcc)][_0x4ef8e7(0xd7)][_0x4ef8e7(0xb6)][_0x4ef8e7(0xd5)][_0x4ef8e7(0xd0)](this[_0x4ef8e7(0xd6)],_0x518204),this[_0x4ef8e7(0xd6)][_0x4ef8e7(0xc3)];}[_0x159c81(0xdc)](_0x1e0e8a){const _0x1dd9c0=_0x159c81,_0x44b555=_0x1e0e8a[_0x1dd9c0(0xc2)]();return _0x44b555[_0x1dd9c0(0xc6)](_0x1dd9c0(0xb1))?_0x44b555[_0x1dd9c0(0xca)](_0x1dd9c0(0x9c))?_0x44b555[_0x1dd9c0(0xb0)](0x7,_0x44b555[_0x1dd9c0(0x97)]-0x3):_0x44b555[_0x1dd9c0(0xb0)](0x7):_0x1e0e8a;}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x482e1a=_0x1fba;(function(_0x132632,_0x5b10f7){const _0x483313=_0x1fba,_0x1cd77c=_0x132632();while(!![]){try{const _0x598900=-parseInt(_0x483313(0x16c))/0x1+parseInt(_0x483313(0x18b))/0x2*(parseInt(_0x483313(0x1aa))/0x3)+-parseInt(_0x483313(0x175))/0x4+-parseInt(_0x483313(0x18e))/0x5+-parseInt(_0x483313(0x1a5))/0x6+parseInt(_0x483313(0x1a1))/0x7*(-parseInt(_0x483313(0x18d))/0x8)+parseInt(_0x483313(0x15f))/0x9;if(_0x598900===_0x5b10f7)break;else _0x1cd77c['push'](_0x1cd77c['shift']());}catch(_0x37fa86){_0x1cd77c['push'](_0x1cd77c['shift']());}}}(_0x477f,0x4f81d));import{global as _0x5a0052}from'ckeditor5/src/utils.js';function _0x1fba(_0x46d287,_0x313489){const _0x477f2a=_0x477f();return _0x1fba=function(_0x1fba27,_0x5e156b){_0x1fba27=_0x1fba27-0x15a;let _0x511a04=_0x477f2a[_0x1fba27];return _0x511a04;},_0x1fba(_0x46d287,_0x313489);}import{View as _0x57b58a,ButtonView as _0x3802bf,SpinnerView as _0x140ea8}from'ckeditor5/src/ui.js';import{IconCheck as _0x49fe68,IconCopy as _0x308482}from'ckeditor5/src/icons.js';import{getTranslation as _0x117e9f}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x57b58a{[_0x482e1a(0x15a)];[_0x482e1a(0x17e)];constructor(_0x54c7b9,_0x18c751=''){const _0x15e7be=_0x482e1a;super(_0x54c7b9),this[_0x15e7be(0x162)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3cf666=this[_0x15e7be(0x17a)];this[_0x15e7be(0x15a)]=new ContentFieldView(_0x54c7b9,_0x18c751),this[_0x15e7be(0x17e)]=this[_0x15e7be(0x192)](),this[_0x15e7be(0x16f)]({'tag':_0x15e7be(0x1a4),'attributes':{'class':['ck',_0x15e7be(0x182),_0x3cf666['if'](_0x15e7be(0x167),_0x15e7be(0x172),_0x371873=>!_0x371873)],'tabindex':'-1'},'children':[{'tag':_0x15e7be(0x1a4),'attributes':{'class':['ck',_0x15e7be(0x17f),_0x3cf666['if'](_0x15e7be(0x183),_0x15e7be(0x189))]},'children':[this[_0x15e7be(0x15a)],{'tag':_0x15e7be(0x1a4),'attributes':{'class':['ck',_0x15e7be(0x160)]},'children':[this[_0x15e7be(0x17e)]]}]}]});}[_0x482e1a(0x1ab)](){const _0xeaa047=_0x482e1a;super[_0xeaa047(0x1ab)](),this[_0xeaa047(0x198)]&&this[_0xeaa047(0x15a)][_0xeaa047(0x187)](this[_0xeaa047(0x198)]);let _0x45527d=!0x1;this['on'](_0xeaa047(0x169),(_0x31706a,_0x557139,_0x1a072e)=>{const _0x1f8d6e=_0xeaa047,_0x5c550b=!this[_0x1f8d6e(0x15a)][_0x1f8d6e(0x15e)][_0x1f8d6e(0x1a2)](_0x1f8d6e(0x1ac));this[_0x1f8d6e(0x15a)][_0x1f8d6e(0x187)](_0x1a072e),this[_0x1f8d6e(0x183)]&&_0x5c550b&&!_0x45527d&&this[_0x1f8d6e(0x15e)][_0x1f8d6e(0x18f)]({'top':this[_0x1f8d6e(0x15e)][_0x1f8d6e(0x18a)],'behavior':_0x1f8d6e(0x1a7)});}),this['on'](_0xeaa047(0x197),(_0x369ebf,_0x16ea93,_0x4b3c72)=>{const _0x26fb7c=_0xeaa047;_0x45527d=!0x1,_0x4b3c72?(this[_0x26fb7c(0x198)]=null,this[_0x26fb7c(0x15a)][_0x26fb7c(0x161)]()):this[_0x26fb7c(0x198)]||this[_0x26fb7c(0x15a)][_0x26fb7c(0x187)]('');}),this[_0xeaa047(0x16e)](this[_0xeaa047(0x15e)],_0xeaa047(0x15b),()=>{_0x45527d=!0x0;}),this[_0xeaa047(0x16e)](this[_0xeaa047(0x15e)],_0xeaa047(0x180),()=>{_0x45527d=!0x0;});}[_0x482e1a(0x19a)](){const _0x4a1e17=_0x482e1a;this[_0x4a1e17(0x15e)][_0x4a1e17(0x19a)]();}[_0x482e1a(0x192)](){const _0x5725f7=_0x482e1a,_0x10496e=this[_0x5725f7(0x166)],_0x54214c=new _0x3802bf(this[_0x5725f7(0x166)]),_0x4f3170=_0x5725f7(0x170);return _0x54214c[_0x5725f7(0x162)]({'label':_0x117e9f(_0x10496e,_0x5725f7(0x18c)),'icon':_0x308482,'class':_0x4f3170,'tooltip':!0x0}),_0x54214c[_0x5725f7(0x1ad)](_0x5725f7(0x167))['to'](this,_0x5725f7(0x198),_0x5a44b0=>!!_0x5a44b0),_0x54214c[_0x5725f7(0x1ad)](_0x5725f7(0x165))['to'](this,_0x5725f7(0x183),_0x344a0f=>!_0x344a0f),_0x54214c['on'](_0x5725f7(0x194),()=>{const _0x551667=_0x5725f7;this[_0x551667(0x188)](this[_0x551667(0x15a)][_0x551667(0x15e)]),_0x54214c[_0x551667(0x1a9)]=_0x49fe68,_0x54214c[_0x551667(0x171)]=_0x4f3170+_0x551667(0x19c),this[_0x551667(0x19a)](),setTimeout(()=>{const _0x1790e8=_0x551667;_0x54214c[_0x1790e8(0x1a9)]=_0x308482,_0x54214c[_0x1790e8(0x171)]=_0x4f3170;},0x3e8);}),_0x54214c;}[_0x482e1a(0x188)](_0xa55055){const _0x47ae73=_0x482e1a,{window:_0x446ac8,document:_0x10d8f7}=_0x5a0052;if(_0x446ac8[_0x47ae73(0x16b)]){const {Blob:_0x2a0f7e,ClipboardItem:_0x42b3a0}=_0x446ac8,_0x34ca06=[new _0x42b3a0({'text/html':new _0x2a0f7e([_0xa55055[_0x47ae73(0x176)]],{'type':_0x47ae73(0x173)}),'text/plain':new _0x2a0f7e([_0xa55055[_0x47ae73(0x15d)]||''],{'type':_0x47ae73(0x19f)})})];navigator[_0x47ae73(0x19d)][_0x47ae73(0x191)](_0x34ca06);}else{const _0x38a403=_0x10d8f7[_0x47ae73(0x196)](_0x47ae73(0x1a4));_0x38a403[_0x47ae73(0x179)][_0x47ae73(0x178)]=_0x47ae73(0x15c),_0x38a403[_0x47ae73(0x179)][_0x47ae73(0x16d)]=_0x47ae73(0x195),_0x38a403[_0x47ae73(0x176)]=_0x47ae73(0x163)+_0xa55055[_0x47ae73(0x176)]+_0x47ae73(0x199),_0x10d8f7[_0x47ae73(0x177)][_0x47ae73(0x1a0)](_0x38a403);const _0x367772=_0x10d8f7[_0x47ae73(0x19b)]();_0x367772[_0x47ae73(0x168)](_0x38a403[_0x47ae73(0x1a6)]),_0x367772[_0x47ae73(0x16a)](_0x38a403[_0x47ae73(0x17c)]);const _0x1d270d=_0x446ac8[_0x47ae73(0x190)]();_0x1d270d[_0x47ae73(0x174)](),_0x1d270d[_0x47ae73(0x193)](_0x367772),_0x10d8f7[_0x47ae73(0x184)](_0x47ae73(0x1a8)),_0x38a403[_0x47ae73(0x185)]();}}}export class ContentFieldView extends _0x57b58a{constructor(_0xedc049,_0x32cab5=''){const _0x25476b=_0x482e1a;super(_0xedc049),this[_0x25476b(0x186)]=this[_0x25476b(0x19e)](),this[_0x25476b(0x16f)]({'tag':_0x25476b(0x1a4),'attributes':{'class':['ck',_0x25476b(0x181),_0x32cab5,_0x25476b(0x164),_0x25476b(0x1a3)]}});}[_0x482e1a(0x187)](_0x133f0d){const _0x4d4eb1=_0x482e1a;this[_0x4d4eb1(0x15e)][_0x4d4eb1(0x176)]=_0x133f0d;}[_0x482e1a(0x161)](){const _0x5e137e=_0x482e1a;this[_0x5e137e(0x15e)][_0x5e137e(0x1a0)](this[_0x5e137e(0x186)][_0x5e137e(0x15e)]);}[_0x482e1a(0x19e)](){const _0x5e8653=_0x482e1a,_0x42a9c6=new _0x57b58a(),_0x11901b=this[_0x5e8653(0x166)],_0x4871aa=new _0x140ea8();return _0x4871aa[_0x5e8653(0x167)]=!0x0,_0x42a9c6[_0x5e8653(0x16f)]({'tag':_0x5e8653(0x1a4),'attributes':{'class':['ck',_0x5e8653(0x17b)]},'children':[_0x4871aa,{'text':_0x117e9f(_0x11901b,_0x5e8653(0x17d))}]}),_0x42a9c6[_0x5e8653(0x1ab)](),_0x42a9c6;}}function _0x477f(){const _0x479ec1=['Copy','8OmfZqp','972290dDKJOP','scrollTo','getSelection','write','_createCopyButton','addRange','execute','-9999px','createElement','change:isProcessing','value','<span>]</span>','focus','createRange','\x20ck-ai-form__copy-button--copied','clipboard','_createLoader','text/plain','appendChild','384181oUXlpH','querySelector','ck-ai-form__content-field','div','1768020CxASel','firstElementChild','smooth','copy','icon','348438XyrFsQ','render','.ck-ai-form__loader','bind','contentFieldView','wheel','absolute','textContent','element','17386227NAlKEo','ck-ai-form__copy-button-wrapper','appendLoader','set','<span>[</span>','ck-reset_all-excluded','isEnabled','locale','isVisible','setStartAfter','change:value','setEndBefore','ClipboardItem','579404dZEHOI','left','listenTo','setTemplate','ck-ai-form__copy-button','class','ck-hidden','text/html','removeAllRanges','2395492zLzJNU','innerHTML','body','position','style','bindTemplate','ck-ai-form__loader','lastElementChild','AI\x20is\x20writing...','copyButtonView','ck-ai-form__content-area','mousedown','ck-content','ck-ai-form__content-area-wrapper','isProcessing','execCommand','remove','loaderView','setContent','_copyHTMLToClipboard','ck-ai-form__content-area--processing','scrollHeight','2yMFVUS'];_0x477f=function(){return _0x479ec1;};return _0x477f();}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x2001(_0x5cea4c,_0x3c62c8){const _0x45d1c3=_0x45d1();return _0x2001=function(_0x20015c,_0x157fdc){_0x20015c=_0x20015c-0xf2;let _0x279615=_0x45d1c3[_0x20015c];return _0x279615;},_0x2001(_0x5cea4c,_0x3c62c8);}(function(_0x2f513a,_0x314e91){const _0x9c0156=_0x2001,_0x2578d9=_0x2f513a();while(!![]){try{const _0x2ea52a=-parseInt(_0x9c0156(0xfe))/0x1*(-parseInt(_0x9c0156(0xfd))/0x2)+parseInt(_0x9c0156(0x101))/0x3+-parseInt(_0x9c0156(0xfc))/0x4*(-parseInt(_0x9c0156(0xf7))/0x5)+parseInt(_0x9c0156(0xff))/0x6*(-parseInt(_0x9c0156(0xf2))/0x7)+-parseInt(_0x9c0156(0xfa))/0x8+parseInt(_0x9c0156(0xf8))/0x9*(parseInt(_0x9c0156(0xf5))/0xa)+parseInt(_0x9c0156(0xf6))/0xb*(-parseInt(_0x9c0156(0xf3))/0xc);if(_0x2ea52a===_0x314e91)break;else _0x2578d9['push'](_0x2578d9['shift']());}catch(_0x234e19){_0x2578d9['push'](_0x2578d9['shift']());}}}(_0x45d1,0x2e9b7));import{IconError as _0x15225c}from'ckeditor5/src/icons.js';import{View as _0x3dda4f,IconView as _0xde6b5a}from'ckeditor5/src/ui.js';function _0x45d1(){const _0x31687c=['36630WQKBZv','1250194htNnGh','31760JMXVyg','387aYzfQw','bindTemplate','1580752NSGGcp','text','56XABZtl','743474kbKWsc','1zYlYhT','54EyqtBF','set','356361FmjLqZ','content','setTemplate','div','182630BBmsrL','12SnSBoR','ck-ai-form__error'];_0x45d1=function(){return _0x31687c;};return _0x45d1();}export class AIFormErrorView extends _0x3dda4f{constructor(_0x367e78,_0x49e9cf=''){const _0x357859=_0x2001;super(_0x367e78);const _0x4d7131=new _0xde6b5a(),_0x29d272=this[_0x357859(0xf9)];this[_0x357859(0x100)](_0x357859(0xfb),_0x49e9cf),_0x4d7131[_0x357859(0x102)]=_0x15225c,this[_0x357859(0x103)]({'tag':_0x357859(0x104),'attributes':{'class':['ck',_0x357859(0xf4)]},'children':[_0x4d7131,{'text':_0x29d272['to'](_0x357859(0xfb))}]});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x5512ff=_0x4af6;(function(_0x5122a4,_0x555091){const _0x599bad=_0x4af6,_0x5bdf2f=_0x5122a4();while(!![]){try{const _0x316bc4=-parseInt(_0x599bad(0x161))/0x1*(-parseInt(_0x599bad(0x171))/0x2)+parseInt(_0x599bad(0x17b))/0x3*(parseInt(_0x599bad(0x185))/0x4)+-parseInt(_0x599bad(0x192))/0x5+-parseInt(_0x599bad(0x18d))/0x6+parseInt(_0x599bad(0x195))/0x7+parseInt(_0x599bad(0x175))/0x8*(parseInt(_0x599bad(0x191))/0x9)+-parseInt(_0x599bad(0x165))/0xa*(parseInt(_0x599bad(0x169))/0xb);if(_0x316bc4===_0x555091)break;else _0x5bdf2f['push'](_0x5bdf2f['shift']());}catch(_0x1c6b4e){_0x5bdf2f['push'](_0x5bdf2f['shift']());}}}(_0x53cf,0x52a2d));import{Rect as _0x41e106,global as _0x2d9a08,isVisible as _0x37bcaa}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x415906,IconSubmit as _0x441fce}from'ckeditor5/src/icons.js';function _0x53cf(){const _0x3c6da0=['enter','10QOCPbe','queryView','focusLast','_createSubmitButton','6010323QAAXkx','excludeScrollbarsAndBorders','uiLanguageDirection','filteredView','focusFirst','History','isVisible','Submit','1010622YYpBWn','left','focusableChildren','add','16xHKIjn','fieldView','focus','showHistoryButtonView','keystrokes','render','134226gwqrKv','maxRows','isOn','set','target','minRows','locale','ck-ai-form__submit','resultsView','isEnabled','28gpuLxj','fire','bind','execute','requestAnimationFrame','submitButtonView','width','fieldWrapperChildren','3985338bVvqDW','ck-ai-form__toggle-history','window','isEmpty','2402910RpIAGP','1940070XWZkfe','update','_createShowHistoryButton','4092354SFAbyS','children','value','style','right','focusCycler','element','1dCItVu','rtl','submit'];_0x53cf=function(){return _0x3c6da0;};return _0x53cf();}import{AutocompleteView as _0x163e84,ButtonView as _0x32b95f}from'ckeditor5/src/ui.js';import{getTranslation as _0x17b804}from'../../utils/common-translations.js';function _0x4af6(_0x24e880,_0x1fc10e){const _0x53cf0f=_0x53cf();return _0x4af6=function(_0x4af699,_0xf52e78){_0x4af699=_0x4af699-0x15b;let _0x516480=_0x53cf0f[_0x4af699];return _0x516480;},_0x4af6(_0x24e880,_0x1fc10e);}export class AIFormPromptView extends _0x163e84{[_0x5512ff(0x18a)];[_0x5512ff(0x178)];constructor(_0x6f563c,_0x526506){const _0x57314c=_0x5512ff;super(_0x6f563c,_0x526506),this[_0x57314c(0x166)][_0x57314c(0x176)][_0x57314c(0x180)]=0x1,this[_0x57314c(0x166)][_0x57314c(0x176)][_0x57314c(0x17c)]=0x3,this[_0x57314c(0x18a)]=this[_0x57314c(0x168)](),this[_0x57314c(0x178)]=this[_0x57314c(0x194)](),this[_0x57314c(0x173)][_0x57314c(0x174)](this[_0x57314c(0x178)],0x1),this[_0x57314c(0x173)][_0x57314c(0x174)](this[_0x57314c(0x18a)]);}[_0x5512ff(0x17a)](){const _0x39d5b7=_0x5512ff;super[_0x39d5b7(0x17a)](),this[_0x39d5b7(0x166)][_0x39d5b7(0x18c)][_0x39d5b7(0x174)](this[_0x39d5b7(0x178)]),this[_0x39d5b7(0x15b)][_0x39d5b7(0x174)](this[_0x39d5b7(0x18a)]),this[_0x39d5b7(0x179)][_0x39d5b7(0x17e)](_0x39d5b7(0x164),(_0xe57898,_0x342f46)=>{const _0x471b36=_0x39d5b7;_0xe57898[_0x471b36(0x17f)]==this[_0x471b36(0x166)][_0x471b36(0x176)][_0x471b36(0x160)]&&(this[_0x471b36(0x163)](),_0x342f46());});}[_0x5512ff(0x168)](){const _0x63dee3=_0x5512ff,_0x2685d6=new _0x32b95f(this[_0x63dee3(0x181)]),_0x5036a2=this[_0x63dee3(0x181)];return _0x2685d6[_0x63dee3(0x17e)]({'icon':_0x441fce,'label':_0x17b804(_0x5036a2,_0x63dee3(0x170)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x63dee3(0x182)}),_0x2685d6['on'](_0x63dee3(0x188),()=>{const _0x30c71e=_0x63dee3;this[_0x30c71e(0x163)]();}),_0x2685d6[_0x63dee3(0x187)](_0x63dee3(0x184))['to'](this[_0x63dee3(0x166)][_0x63dee3(0x176)],_0x63dee3(0x190),this,_0x63dee3(0x184),(_0x23c7bb,_0x5dcec4)=>!_0x23c7bb&&_0x5dcec4),_0x2685d6;}[_0x5512ff(0x194)](){const _0x1fe8cf=_0x5512ff,_0x28815d=new _0x32b95f(this[_0x1fe8cf(0x181)]),_0x283d86=this[_0x1fe8cf(0x183)],_0x38727d=this[_0x1fe8cf(0x181)];_0x28815d[_0x1fe8cf(0x17e)]({'label':_0x17b804(_0x38727d,_0x1fe8cf(0x16e)),'withText':!0x1,'icon':_0x415906,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1fe8cf(0x18e)}),_0x28815d[_0x1fe8cf(0x187)](_0x1fe8cf(0x17d))['to'](_0x283d86,_0x1fe8cf(0x16f)),_0x28815d[_0x1fe8cf(0x187)](_0x1fe8cf(0x184))['to'](this,_0x1fe8cf(0x184)),_0x28815d['on'](_0x1fe8cf(0x188),()=>{const _0xe271d4=_0x1fe8cf;_0x283d86[_0xe271d4(0x16f)]=!_0x283d86[_0xe271d4(0x16f)],_0x283d86[_0xe271d4(0x16f)]?this[_0xe271d4(0x16c)][_0xe271d4(0x177)]():this[_0xe271d4(0x177)]();});const _0x3bbbd1=()=>{const _0x32f156=_0x1fe8cf;_0x2d9a08[_0x32f156(0x18f)][_0x32f156(0x189)](()=>{const _0x3d047f=_0x32f156;if(_0x37bcaa(this[_0x3d047f(0x160)])){const _0x338a30=new _0x41e106(this[_0x3d047f(0x166)][_0x3d047f(0x176)][_0x3d047f(0x160)]),_0x4bf32c=_0x338a30[_0x3d047f(0x18b)],_0x5ddb05=_0x3d047f(0x162)===_0x38727d[_0x3d047f(0x16b)]?_0x3d047f(0x172):_0x3d047f(0x15e);_0x338a30[_0x3d047f(0x16a)](),_0x28815d[_0x3d047f(0x160)][_0x3d047f(0x15d)][_0x5ddb05]=_0x4bf32c-_0x338a30[_0x3d047f(0x18b)]+0x1+'px';}});};return this[_0x1fe8cf(0x166)][_0x1fe8cf(0x176)]['on'](_0x1fe8cf(0x193),_0x3bbbd1),this['on'](_0x1fe8cf(0x17a),_0x3bbbd1),_0x28815d;}[_0x5512ff(0x163)](){const _0x63d8de=_0x5512ff,_0x228a36=this[_0x63d8de(0x166)][_0x63d8de(0x176)][_0x63d8de(0x160)][_0x63d8de(0x15c)];this[_0x63d8de(0x186)](_0x63d8de(0x163),_0x228a36);}[_0x5512ff(0x177)](_0x49f1d4){const _0x1f626f=_0x5512ff;-0x1===_0x49f1d4?this[_0x1f626f(0x15f)][_0x1f626f(0x167)]():this[_0x1f626f(0x15f)][_0x1f626f(0x16d)]();}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x19de(_0x3890f1,_0x85c621){const _0x2a3ce7=_0x2a3c();return _0x19de=function(_0x19de37,_0x22e0d5){_0x19de37=_0x19de37-0x1b3;let _0x278f42=_0x2a3ce7[_0x19de37];return _0x278f42;},_0x19de(_0x3890f1,_0x85c621);}function _0x2a3c(){const _0x4edadb=['216762neUtrm','stopButton','bindTemplate','Insert\x20below','extendTemplate','5625590YgXBaE','mainAction','Stop','set','items','1578414jRJPNm','3847362umSsRB','AI_','replaceButton','insertButton','bind','6MjkpkP','_CONTENT','insert','6664304wgISga','REPLACE','isVisible','tryAgainButton','locale','replace','toUpperCase','_createButton','ck-ai-form__toolbar','addMany','10850658BQKROE','label','ck-hidden','707864ggGZHQ','ck-button-action','Try\x20again','18oYaUeZ'];_0x2a3c=function(){return _0x4edadb;};return _0x2a3c();}const _0x402fac=_0x19de;(function(_0x2ee447,_0x15268c){const _0x48a790=_0x19de,_0xd274bb=_0x2ee447();while(!![]){try{const _0x981845=parseInt(_0x48a790(0x1bc))/0x1+parseInt(_0x48a790(0x1c6))/0x2+parseInt(_0x48a790(0x1c7))/0x3+-parseInt(_0x48a790(0x1cf))/0x4+parseInt(_0x48a790(0x1c1))/0x5*(-parseInt(_0x48a790(0x1cc))/0x6)+parseInt(_0x48a790(0x1b5))/0x7+parseInt(_0x48a790(0x1b8))/0x8*(-parseInt(_0x48a790(0x1bb))/0x9);if(_0x981845===_0x15268c)break;else _0xd274bb['push'](_0xd274bb['shift']());}catch(_0x829e64){_0xd274bb['push'](_0xd274bb['shift']());}}}(_0x2a3c,0xd47d5));import{ToolbarView as _0x4fd522,ButtonView as _0x57b0d2}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e2020}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x402fac(0x1d4),'INSERT':_0x402fac(0x1ce)};export class AIFormToolbarView extends _0x4fd522{constructor(_0x331670){const _0x133bcb=_0x402fac;super(_0x331670),this[_0x133bcb(0x1c4)](_0x133bcb(0x1d1),!0x1),this[_0x133bcb(0x1c4)](_0x133bcb(0x1c2),AIFormToolbarViewMainActionLabel[_0x133bcb(0x1d0)]),this[_0x133bcb(0x1c9)]=this[_0x133bcb(0x1d6)]('',_0x133bcb(0x1b9)),this[_0x133bcb(0x1c9)][_0x133bcb(0x1cb)](_0x133bcb(0x1b6))['to'](this,_0x133bcb(0x1c2),_0x38b542=>_0x5e2020(_0x331670,_0x133bcb(0x1c8)+_0x38b542[_0x133bcb(0x1d5)]()+_0x133bcb(0x1cd))),this[_0x133bcb(0x1ca)]=this[_0x133bcb(0x1d6)](_0x5e2020(_0x331670,_0x133bcb(0x1bf))),this[_0x133bcb(0x1d2)]=this[_0x133bcb(0x1d6)](_0x5e2020(_0x331670,_0x133bcb(0x1ba))),this[_0x133bcb(0x1bd)]=this[_0x133bcb(0x1d6)](_0x5e2020(_0x331670,_0x133bcb(0x1c3)));const _0x344fde=this[_0x133bcb(0x1be)];this[_0x133bcb(0x1c0)]({'attributes':{'class':[_0x133bcb(0x1b3),_0x344fde['if'](_0x133bcb(0x1d1),_0x133bcb(0x1b7),_0xdaf04b=>!_0xdaf04b)]}}),this[_0x133bcb(0x1c5)][_0x133bcb(0x1b4)]([this[_0x133bcb(0x1c9)],this[_0x133bcb(0x1ca)],this[_0x133bcb(0x1d2)],this[_0x133bcb(0x1bd)]]);}[_0x402fac(0x1d6)](_0x399e7b,_0x2e7d47){const _0x20017a=_0x402fac,_0x1174b8=new _0x57b0d2(this[_0x20017a(0x1d3)]);return _0x1174b8[_0x20017a(0x1c4)]({'label':_0x399e7b,'class':_0x2e7d47||'','isVisible':!0x0,'withText':!0x0}),_0x1174b8;}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x567c27=_0x5e6a;(function(_0x13a5bd,_0xf9244d){const _0x4e7c6c=_0x5e6a,_0x11ba0b=_0x13a5bd();while(!![]){try{const _0x23fc77=parseInt(_0x4e7c6c(0x194))/0x1*(-parseInt(_0x4e7c6c(0x17c))/0x2)+-parseInt(_0x4e7c6c(0x177))/0x3*(parseInt(_0x4e7c6c(0x199))/0x4)+-parseInt(_0x4e7c6c(0x183))/0x5+-parseInt(_0x4e7c6c(0x174))/0x6*(parseInt(_0x4e7c6c(0x191))/0x7)+-parseInt(_0x4e7c6c(0x1b2))/0x8+parseInt(_0x4e7c6c(0x18e))/0x9+parseInt(_0x4e7c6c(0x1ab))/0xa;if(_0x23fc77===_0xf9244d)break;else _0x11ba0b['push'](_0x11ba0b['shift']());}catch(_0x594467){_0x11ba0b['push'](_0x11ba0b['shift']());}}}(_0x58c2,0x8bb24));import{FocusTracker as _0x5a8825,KeystrokeHandler as _0x2fc56e}from'ckeditor5/src/utils.js';function _0x5e6a(_0x38644c,_0x9186f8){const _0x58c294=_0x58c2();return _0x5e6a=function(_0x5e6ae6,_0x3bb4d4){_0x5e6ae6=_0x5e6ae6-0x15e;let _0x103d69=_0x58c294[_0x5e6ae6];return _0x103d69;},_0x5e6a(_0x38644c,_0x9186f8);}import{View as _0x244f82,FocusCycler as _0x2cc247,createLabeledTextarea as _0x3f1b39}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xf1f8f,AIFormToolbarViewMainActionLabel as _0x50ce37}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x2db782}from'./aiformcontentarea.js';import{AIFormErrorView as _0x593849}from'./aiformerrorview.js';import{AIFormPromptView as _0x1a5597}from'./aiformpromptview.js';import{AIHistoryListView as _0x415bca}from'./aihistorylistview.js';function _0x58c2(){const _0x44857b=['text','handleError','focusLast','focusFirst','5815544YXwhij','bind','stopProcessing','contentArea','replaceButton','queryView','_createToolbar','insertContentBelow','bindTo','search','finishProcessing','errorView','promptView','startProcessing','toolbar','label','focusCycler','_createHistoryView','fire','chain','stopButton','prompt','REPLACE','238176sedvUs','isVisible','replaceContent','117QQHzFn','high','historyGroupView','clearHistory','listenTo','6spumqv','focusTracker','locale','clear','createCollection','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','execute','2450565GXRGJf','items','submitPrompt','Ask\x20AI\x20to\x20improve\x20generated\x20text','tab','tryAgainButton','mainAction','bindTemplate','add','ck-ai-form-content','ck-hidden','3919383QPPlhq','element','_promptHistory','21kjijVF','render','trim','143818uMOjZK','_createPromptView','focus','shift\x20+\x20tab','value','106876ncuqiF','isEnabled','tryAgainEvent','setTemplate','isProcessing','insertButton','div','Ask\x20AI\x20to\x20edit\x20or\x20generate','copyButtonView','fieldView','AI_ERROR_FAILED','ck-ai-form','isError','set','_focusables','keystrokes','submit','delegate','29463480LPCGzt','Empty\x20history','reset'];_0x58c2=function(){return _0x44857b;};return _0x58c2();}import{AIHistoryListItemView as _0x2ca2f9}from'./aihistorylistitemview.js';import{PromptHistory as _0x4af8a0}from'./prompthistory.js';import{getTranslation as _0x17431e}from'../../utils/common-translations.js';import{escape as _0x4ef800}from'es-toolkit/compat';export class AIFormView extends _0x244f82{[_0x567c27(0x17d)];[_0x567c27(0x1a8)];[_0x567c27(0x160)];[_0x567c27(0x16b)];[_0x567c27(0x169)];[_0x567c27(0x168)];[_0x567c27(0x1a7)];[_0x567c27(0x16d)];[_0x567c27(0x190)];constructor(_0x310091,_0x15b3ca,_0x4a228b=''){const _0x52b948=_0x567c27;super(_0x310091),this[_0x52b948(0x1a6)](_0x52b948(0x19a),!0x0),this[_0x52b948(0x1a6)](_0x52b948(0x19d),!0x1),this[_0x52b948(0x1a6)](_0x52b948(0x172),''),this[_0x52b948(0x1a6)](_0x52b948(0x198),''),this[_0x52b948(0x1a6)](_0x52b948(0x1a5),!0x1),this[_0x52b948(0x1a6)](_0x52b948(0x189),_0x50ce37[_0x52b948(0x173)]),this[_0x52b948(0x190)]=new _0x4af8a0(),this[_0x52b948(0x168)]=new _0x593849(_0x310091),this[_0x52b948(0x160)]=new _0x2db782(_0x310091,_0x4a228b),this[_0x52b948(0x160)][_0x52b948(0x15e)](_0x52b948(0x19d))['to'](this),this[_0x52b948(0x160)][_0x52b948(0x15e)](_0x52b948(0x198))['to'](this),this[_0x52b948(0x16b)]=this[_0x52b948(0x163)](),this[_0x52b948(0x16b)][_0x52b948(0x15e)](_0x52b948(0x189))['to'](this),this[_0x52b948(0x169)]=this[_0x52b948(0x195)](),this[_0x52b948(0x17d)]=new _0x5a8825(),this[_0x52b948(0x1a8)]=new _0x2fc56e(),this[_0x52b948(0x1a7)]=this[_0x52b948(0x180)]([this[_0x52b948(0x160)],this[_0x52b948(0x160)][_0x52b948(0x1a1)],this[_0x52b948(0x16b)],this[_0x52b948(0x169)]]),this[_0x52b948(0x16d)]=new _0x2cc247({'focusables':this[_0x52b948(0x1a7)],'focusTracker':this[_0x52b948(0x17d)],'keystrokeHandler':this[_0x52b948(0x1a8)],'actions':{'focusPrevious':_0x52b948(0x197),'focusNext':_0x52b948(0x187)}}),this[_0x52b948(0x16d)][_0x52b948(0x170)](this[_0x52b948(0x169)][_0x52b948(0x16d)]),this[_0x52b948(0x169)][_0x52b948(0x162)][_0x52b948(0x1a2)][_0x52b948(0x15e)](_0x52b948(0x198))['to'](this,_0x52b948(0x172));const _0x21899e=this[_0x52b948(0x18a)];this[_0x52b948(0x19c)]({'tag':_0x52b948(0x19f),'attributes':{'class':['ck',_0x52b948(0x1a4),_0x15b3ca],'tabindex':'-1'},'children':[{'tag':_0x52b948(0x19f),'attributes':{'class':['ck',_0x52b948(0x18c)]},'children':[{'tag':_0x52b948(0x19f),'attributes':{'class':[_0x21899e['if'](_0x52b948(0x1a5),_0x52b948(0x18d),_0x757874=>!_0x757874)]},'children':[this[_0x52b948(0x168)]]},this[_0x52b948(0x160)],this[_0x52b948(0x16b)],this[_0x52b948(0x169)]]}]});}[_0x567c27(0x192)](){const _0x5ed56e=_0x567c27;super[_0x5ed56e(0x192)](),this[_0x5ed56e(0x17d)][_0x5ed56e(0x18b)](this[_0x5ed56e(0x160)][_0x5ed56e(0x18f)]),this[_0x5ed56e(0x17d)][_0x5ed56e(0x18b)](this[_0x5ed56e(0x160)][_0x5ed56e(0x1a1)][_0x5ed56e(0x18f)]),this[_0x5ed56e(0x17d)][_0x5ed56e(0x18b)](this[_0x5ed56e(0x16b)][_0x5ed56e(0x18f)]),this[_0x5ed56e(0x17d)][_0x5ed56e(0x18b)](this[_0x5ed56e(0x169)][_0x5ed56e(0x18f)]),this[_0x5ed56e(0x1a8)][_0x5ed56e(0x17b)](this[_0x5ed56e(0x18f)]);}[_0x567c27(0x196)](_0x47d8ef=0x1){const _0xd2a91=_0x567c27;-0x1===_0x47d8ef?this[_0xd2a91(0x16d)][_0xd2a91(0x1b0)]():this[_0xd2a91(0x16d)][_0xd2a91(0x1b1)]();}[_0x567c27(0x1ad)](){const _0x531e83=_0x567c27;this[_0x531e83(0x172)]='',this[_0x531e83(0x198)]='',this[_0x531e83(0x1a5)]=!0x1,this[_0x531e83(0x169)][_0x531e83(0x1ad)](),this[_0x531e83(0x160)][_0x531e83(0x175)]=!0x1,this[_0x531e83(0x16b)][_0x531e83(0x175)]=!0x1;}[_0x567c27(0x195)](){const _0x419d7e=_0x567c27,_0xecc543=this[_0x419d7e(0x17e)],_0x1ce9df=new _0x1a5597(_0xecc543,{'queryView':{'label':_0x17431e(_0xecc543,_0x419d7e(0x1a0)),'creator':_0x3f1b39,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x17431e(_0xecc543,_0x419d7e(0x1ac)),'secondary':_0x17431e(_0xecc543,_0x419d7e(0x181))}}},'filteredView':this[_0x419d7e(0x16e)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1ce9df[_0x419d7e(0x15e)](_0x419d7e(0x19a))['to'](this,_0x419d7e(0x19a),this,_0x419d7e(0x19d),(_0x28ac17,_0x2284bd)=>_0x28ac17&&!_0x2284bd),this[_0x419d7e(0x17b)](_0x1ce9df,_0x419d7e(0x1a9),(_0x1b542c,_0x2ce3e5)=>{const _0x24f773=_0x419d7e;this[_0x24f773(0x172)]=_0x2ce3e5;const _0x1702ad=_0x4ef800(_0x2ce3e5);this[_0x24f773(0x16f)](_0x24f773(0x185),_0x1702ad),_0x2ce3e5[_0x24f773(0x193)]()&&this[_0x24f773(0x190)][_0x24f773(0x18b)]({'prompt':_0x1702ad},0x0);},{'priority':_0x419d7e(0x178)}),_0x1ce9df;}[_0x567c27(0x16e)](){const _0x2f1453=_0x567c27,_0x430b4c=new _0x415bca(this[_0x2f1453(0x17e)]);return _0x430b4c[_0x2f1453(0x179)][_0x2f1453(0x184)][_0x2f1453(0x165)](this[_0x2f1453(0x190)])['as'](_0x2ca2f9),_0x430b4c['on'](_0x2f1453(0x17a),()=>{const _0x2aa4c8=_0x2f1453;this[_0x2aa4c8(0x190)][_0x2aa4c8(0x17f)](),this[_0x2aa4c8(0x169)][_0x2aa4c8(0x166)](''),this[_0x2aa4c8(0x169)][_0x2aa4c8(0x196)]();}),_0x430b4c;}[_0x567c27(0x163)](){const _0x263876=_0x567c27,_0x281851=new _0xf1f8f(this[_0x263876(0x17e)]);return _0x281851[_0x263876(0x161)][_0x263876(0x15e)](_0x263876(0x19a))['to'](this,_0x263876(0x19a),this,_0x263876(0x19d),this,_0x263876(0x198),(_0x191383,_0x3927e0,_0x4a8541)=>_0x191383&&!_0x3927e0&&!!_0x4a8541),_0x281851[_0x263876(0x161)][_0x263876(0x1aa)](_0x263876(0x182))['to'](this,_0x263876(0x176)),_0x281851[_0x263876(0x19e)][_0x263876(0x15e)](_0x263876(0x19a))['to'](this,_0x263876(0x19a),this,_0x263876(0x19d),this,_0x263876(0x198),(_0xb25d,_0x319f6c,_0x2ecc1c)=>_0xb25d&&!_0x319f6c&&!!_0x2ecc1c),_0x281851[_0x263876(0x19e)][_0x263876(0x1aa)](_0x263876(0x182))['to'](this,_0x263876(0x164)),_0x281851[_0x263876(0x188)][_0x263876(0x15e)](_0x263876(0x19a))['to'](this,_0x263876(0x19a),this,_0x263876(0x19d),(_0x1b9e6d,_0x3addca)=>_0x1b9e6d&&!_0x3addca),_0x281851[_0x263876(0x188)][_0x263876(0x1aa)](_0x263876(0x182))['to'](this,_0x263876(0x19b)),_0x281851[_0x263876(0x171)][_0x263876(0x15e)](_0x263876(0x19a))['to'](this,_0x263876(0x19d)),_0x281851[_0x263876(0x171)][_0x263876(0x1aa)](_0x263876(0x182))['to'](this,_0x263876(0x15f)),_0x281851;}[_0x567c27(0x16a)](){const _0x28bd8c=_0x567c27;this[_0x28bd8c(0x198)]='',this[_0x28bd8c(0x1a5)]=!0x1,this[_0x28bd8c(0x19d)]=!0x0,this[_0x28bd8c(0x160)][_0x28bd8c(0x175)]=!0x0,this[_0x28bd8c(0x16b)][_0x28bd8c(0x175)]=!0x0,this[_0x28bd8c(0x160)][_0x28bd8c(0x196)]();}[_0x567c27(0x167)](){const _0x3512cc=_0x567c27,_0x3cb714=this[_0x3512cc(0x17e)];this[_0x3512cc(0x19d)]=!0x1,this[_0x3512cc(0x172)]='',this[_0x3512cc(0x169)][_0x3512cc(0x1ad)](),this[_0x3512cc(0x198)]&&(this[_0x3512cc(0x169)][_0x3512cc(0x162)][_0x3512cc(0x16c)]=_0x17431e(_0x3cb714,_0x3512cc(0x186)));}[_0x567c27(0x1af)](_0x2e055d){const _0x2609dd=_0x567c27,_0x434b4a=this[_0x2609dd(0x17e)];this[_0x2609dd(0x167)](),this[_0x2609dd(0x1a5)]=!0x0,this[_0x2609dd(0x168)][_0x2609dd(0x1ae)]=_0x2e055d||_0x17431e(_0x434b4a,_0x2609dd(0x1a3)),this[_0x2609dd(0x198)]||(this[_0x2609dd(0x160)][_0x2609dd(0x175)]=!0x1);}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x3a3c(){const _0x48d327=['275610RgdLDK','locale','fire','prompt','execute','1882909fZovAO','1210864vQdwPW','set','2JDIrJa','children','188192TCmVHk','add','191885DbRNTk','102083djTXmO','2955276DvvgWf','6ztNQcj'];_0x3a3c=function(){return _0x48d327;};return _0x3a3c();}function _0x1f9d(_0xa03269,_0x2a0cc9){const _0x3a3cb8=_0x3a3c();return _0x1f9d=function(_0x1f9dd6,_0x193801){_0x1f9dd6=_0x1f9dd6-0x178;let _0x430f1c=_0x3a3cb8[_0x1f9dd6];return _0x430f1c;},_0x1f9d(_0xa03269,_0x2a0cc9);}(function(_0x20f57e,_0x4f8b5a){const _0x316d65=_0x1f9d,_0x9d58f3=_0x20f57e();while(!![]){try{const _0x4b6760=parseInt(_0x316d65(0x183))/0x1*(parseInt(_0x316d65(0x17e))/0x2)+-parseInt(_0x316d65(0x186))/0x3+parseInt(_0x316d65(0x17c))/0x4+parseInt(_0x316d65(0x182))/0x5*(-parseInt(_0x316d65(0x185))/0x6)+parseInt(_0x316d65(0x17b))/0x7+-parseInt(_0x316d65(0x180))/0x8+-parseInt(_0x316d65(0x184))/0x9;if(_0x4b6760===_0x4f8b5a)break;else _0x9d58f3['push'](_0x9d58f3['shift']());}catch(_0x2b44bf){_0x9d58f3['push'](_0x9d58f3['shift']());}}}(_0x3a3c,0x2eca3));import{ListItemView as _0x1b8932,ButtonView as _0x3d65d6,ButtonLabelView as _0x3c2826}from'ckeditor5/src/ui.js';import{unescape as _0xbfa1be}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x1b8932{constructor(_0x19bdbe){const _0x5d78e4=_0x1f9d;super();const _0x4da0e6=new _0x3c2826(),_0x19d28e=new _0x3d65d6(this[_0x5d78e4(0x187)],_0x4da0e6);this[_0x5d78e4(0x17f)][_0x5d78e4(0x181)](_0x19d28e),_0x19d28e[_0x5d78e4(0x17d)]({'label':_0x19bdbe[_0x5d78e4(0x179)],'withText':!0x0}),_0x19d28e['on'](_0x5d78e4(0x17a),()=>{const _0x5b91ee=_0x5d78e4;this[_0x5b91ee(0x178)](_0x5b91ee(0x17a),{'value':_0xbfa1be(_0x19bdbe[_0x5b91ee(0x179)])});});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0xbf2553=_0x7eb9;(function(_0x43ff42,_0x2f2cf0){const _0x41bf8b=_0x7eb9,_0x490768=_0x43ff42();while(!![]){try{const _0x5db169=-parseInt(_0x41bf8b(0x7b))/0x1*(parseInt(_0x41bf8b(0x71))/0x2)+-parseInt(_0x41bf8b(0x67))/0x3+-parseInt(_0x41bf8b(0x6a))/0x4*(parseInt(_0x41bf8b(0x6e))/0x5)+parseInt(_0x41bf8b(0x6d))/0x6*(parseInt(_0x41bf8b(0x66))/0x7)+parseInt(_0x41bf8b(0x74))/0x8*(parseInt(_0x41bf8b(0x6c))/0x9)+parseInt(_0x41bf8b(0x68))/0xa+-parseInt(_0x41bf8b(0x7f))/0xb;if(_0x5db169===_0x2f2cf0)break;else _0x490768['push'](_0x490768['shift']());}catch(_0xd3efae){_0x490768['push'](_0x490768['shift']());}}}(_0x4d92,0x24edf));import{ListView as _0x4baefb,ListItemGroupView as _0x1395d4,ButtonView as _0x2bb4c4}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c434f}from'../../utils/common-translations.js';function _0x7eb9(_0x36d91c,_0x2f787d){const _0x4d92ec=_0x4d92();return _0x7eb9=function(_0x7eb911,_0x1cba7a){_0x7eb911=_0x7eb911-0x64;let _0x5540a5=_0x4d92ec[_0x7eb911];return _0x5540a5;},_0x7eb9(_0x36d91c,_0x2f787d);}function _0x4d92(){const _0x155c9d=['21ogxlcJ','209640ksBskQ','2566940tWFqoJ','length','2588VrSPDA','set','27135ZSdziG','462546ydUlsw','2005lVjikS','delegate','items','86RthLtX','clearHistoryButton','historyGroupView','456xOlDUU','filter','fire','_createClearHistoryButton','Prompt\x20history','clearHistory','Clear','3183xWQkly','execute','label','locale','465993mLNJQY','children','add'];_0x4d92=function(){return _0x155c9d;};return _0x4d92();}export class AIHistoryListView extends _0x4baefb{[_0xbf2553(0x73)];[_0xbf2553(0x72)];constructor(_0x8455ba){const _0xdbb3ba=_0xbf2553;super(_0x8455ba),this[_0xdbb3ba(0x72)]=this[_0xdbb3ba(0x77)](),this[_0xdbb3ba(0x73)]=new _0x1395d4(),this[_0xdbb3ba(0x73)][_0xdbb3ba(0x64)][_0xdbb3ba(0x65)](this[_0xdbb3ba(0x72)],0x1),this[_0xdbb3ba(0x73)][_0xdbb3ba(0x7d)]=_0x1c434f(_0x8455ba,_0xdbb3ba(0x78)),this[_0xdbb3ba(0x73)][_0xdbb3ba(0x70)][_0xdbb3ba(0x6f)](_0xdbb3ba(0x7c))['to'](this),this[_0xdbb3ba(0x70)][_0xdbb3ba(0x65)](this[_0xdbb3ba(0x73)]);}[_0xbf2553(0x75)](){const _0x21b924=_0xbf2553;let _0x406157=0x0;for(const _0x41cd39 of this[_0x21b924(0x70)])_0x406157+=_0x41cd39[_0x21b924(0x70)][_0x21b924(0x69)];return{'resultsCount':_0x406157,'totalItemsCount':_0x406157};}[_0xbf2553(0x77)](){const _0x44caed=_0xbf2553,_0x8ca67f=this[_0x44caed(0x7e)],_0x3159a1=new _0x2bb4c4(this[_0x44caed(0x7e)]);return _0x3159a1[_0x44caed(0x6b)]({'label':'('+_0x1c434f(_0x8ca67f,_0x44caed(0x7a))+')','withText':!0x0}),_0x3159a1['on'](_0x44caed(0x7c),()=>this[_0x44caed(0x76)](_0x44caed(0x79))),_0x3159a1;}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x502c0b=_0x138e;(function(_0x5e5712,_0x4bafef){const _0x14e84c=_0x138e,_0x5dc79a=_0x5e5712();while(!![]){try{const _0x5ee6f7=parseInt(_0x14e84c(0x173))/0x1+parseInt(_0x14e84c(0x168))/0x2+parseInt(_0x14e84c(0x16f))/0x3+-parseInt(_0x14e84c(0x163))/0x4+-parseInt(_0x14e84c(0x165))/0x5*(-parseInt(_0x14e84c(0x16c))/0x6)+parseInt(_0x14e84c(0x171))/0x7*(parseInt(_0x14e84c(0x166))/0x8)+-parseInt(_0x14e84c(0x162))/0x9;if(_0x5ee6f7===_0x4bafef)break;else _0x5dc79a['push'](_0x5dc79a['shift']());}catch(_0x447979){_0x5dc79a['push'](_0x5dc79a['shift']());}}}(_0x5379,0x542e9));import{Collection as _0x379e4b}from'ckeditor5/src/utils.js';const Sr=_0x502c0b(0x16e);export class PromptHistory extends _0x379e4b{constructor(){const _0x1757cd=_0x502c0b;super(),this[_0x1757cd(0x170)](),this['on'](_0x1757cd(0x174),(_0x4cb265,_0x4b234d)=>{const _0x239793=_0x1757cd,_0x168a8d=Fr(_0x4b234d[_0x239793(0x16a)]);for(const _0x5c8b74 of this)if(_0x5c8b74!=_0x4b234d&&Fr(_0x5c8b74[_0x239793(0x16a)])===_0x168a8d){this[_0x239793(0x15e)](_0x5c8b74);break;}this[_0x239793(0x16d)]>0x14&&this[_0x239793(0x15e)](this[_0x239793(0x15f)]),this[_0x239793(0x160)]();}),this['on'](_0x1757cd(0x15e),()=>{const _0x49269a=_0x1757cd;this[_0x49269a(0x160)]();});}[_0x502c0b(0x170)](){const _0x3f1eb1=_0x502c0b,_0x3e5b70=sessionStorage[_0x3f1eb1(0x164)](Sr)||'[]';this[_0x3f1eb1(0x167)](JSON[_0x3f1eb1(0x16b)](_0x3e5b70));}[_0x502c0b(0x160)](){const _0x4f4736=_0x502c0b;sessionStorage[_0x4f4736(0x169)](Sr,JSON[_0x4f4736(0x15d)](this[_0x4f4736(0x15c)](_0x42b39f=>_0x42b39f)));}}function Fr(_0x42646f){const _0x135810=_0x502c0b;return _0x42646f[_0x135810(0x172)]()[_0x135810(0x161)]();}function _0x138e(_0x43caa9,_0xefaa8e){const _0x537903=_0x5379();return _0x138e=function(_0x138eb6,_0x42d818){_0x138eb6=_0x138eb6-0x15c;let _0x2b737b=_0x537903[_0x138eb6];return _0x2b737b;},_0x138e(_0x43caa9,_0xefaa8e);}function _0x5379(){const _0x453479=['getItem','5ROZcYl','1536NdINCG','addMany','1303768psIHHP','setItem','prompt','parse','4071876ymMtTX','length','CKEditor/AIFormView/PromptHistory','1857081lATBBI','_loadFromSessionStorage','1316XgFrKt','toLowerCase','372988QqlDPd','add','map','stringify','remove','last','_saveToSessionStorage','trim','17268696rQCKnI','380352nxLHzc'];_0x5379=function(){return _0x453479;};return _0x5379();}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x396f4d=_0x1bad;function _0x4685(){const _0x21f502=['getRanges','editor','includes','_commandDefinitions','plugins','getItems','12174670YDGpmR','showUI','1tYnwhX','9144kxJgtH','2639PPrrfP','1728894XjFovY','requiresContent','length','enabledCommandsIds','ai.assistant.disabledElements','isEnabled','1572zvxaaF','getFirstRange','element','add','selection','2521503lwaVeE','custom','isEmpty','change:_hasContext','model','4775GfrcDh','3945900mndULt','document','values','get','from','isCollapsed','_hasContext','getSelectedBlocks','1520EnoElb','change:isEnabled','name','hasContent','execute','set','refresh','config'];_0x4685=function(){return _0x21f502;};return _0x4685();}(function(_0xed944,_0x2188e){const _0x537bcf=_0x1bad,_0x4d060d=_0xed944();while(!![]){try{const _0xb1bfe=-parseInt(_0x537bcf(0xbc))/0x1*(-parseInt(_0x537bcf(0xbf))/0x2)+-parseInt(_0x537bcf(0xca))/0x3+-parseInt(_0x537bcf(0xd0))/0x4+parseInt(_0x537bcf(0xcf))/0x5+-parseInt(_0x537bcf(0xc5))/0x6*(-parseInt(_0x537bcf(0xbe))/0x7)+-parseInt(_0x537bcf(0xd8))/0x8*(-parseInt(_0x537bcf(0xbd))/0x9)+parseInt(_0x537bcf(0xba))/0xa;if(_0xb1bfe===_0x2188e)break;else _0x4d060d['push'](_0x4d060d['shift']());}catch(_0x2a735b){_0x4d060d['push'](_0x4d060d['shift']());}}}(_0x4685,0x85b7b));import{Command as _0x39f3d4}from'ckeditor5/src/core.js';function _0x1bad(_0x1c114f,_0x4ffcfc){const _0x46851a=_0x4685();return _0x1bad=function(_0x1bad9d,_0x4ba0d8){_0x1bad9d=_0x1bad9d-0xba;let _0x24e704=_0x46851a[_0x1bad9d];return _0x24e704;},_0x1bad(_0x1c114f,_0x4ffcfc);}import{AIAssistantUI as _0x3f994e}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x39f3d4{[_0x396f4d(0xe3)];constructor(_0x24b8e1,_0x52ae48){const _0x117c23=_0x396f4d;super(_0x24b8e1),this[_0x117c23(0xe3)]=_0x52ae48,this[_0x117c23(0xdd)](_0x117c23(0xc2),[]),this['on'](_0x117c23(0xcd),(_0x156d47,_0x1f430b,_0x2655a6)=>{const _0x2d2d4c=_0x117c23;this[_0x2d2d4c(0xc4)]&&(this[_0x2d2d4c(0xc2)]=js(this[_0x2d2d4c(0xe3)],_0x2655a6));}),this[_0x117c23(0xdd)](_0x117c23(0xd6),!0x1),this['on'](_0x117c23(0xd9),(_0x2ba3c1,_0x2d94e9,_0x4f67ee)=>{const _0x2b540c=_0x117c23;this[_0x2b540c(0xc2)]=_0x4f67ee?js(this[_0x2b540c(0xe3)],this[_0x2b540c(0xd6)]):[];});}[_0x396f4d(0xde)](){const _0x214ebe=_0x396f4d,_0xd336eb=this[_0x214ebe(0xe1)][_0x214ebe(0xce)];this[_0x214ebe(0xd6)]=function(_0x46a71c){const _0xf95f51=_0x214ebe,_0x4cfe77=_0x46a71c[_0xf95f51(0xd1)][_0xf95f51(0xc9)];return _0x4cfe77[_0xf95f51(0xd5)]?0x0!==[..._0x4cfe77[_0xf95f51(0xd7)]()][_0xf95f51(0xc1)]&&![..._0x4cfe77[_0xf95f51(0xd7)]()][0x0][_0xf95f51(0xcc)]:!!_0x46a71c[_0xf95f51(0xdb)](_0x4cfe77[_0xf95f51(0xc6)]());}(_0xd336eb);const _0x10f359=_0xd336eb[_0x214ebe(0xd1)][_0x214ebe(0xc9)],_0x50964d=this[_0x214ebe(0xe1)][_0x214ebe(0xdf)][_0x214ebe(0xd3)](_0x214ebe(0xc3));for(const _0x408cf0 of _0x10f359[_0x214ebe(0xe0)]())for(const _0x15495f of _0x408cf0[_0x214ebe(0xe5)]())if(_0x15495f['is'](_0x214ebe(0xc7))&&_0x50964d[_0x214ebe(0xe2)](_0x15495f[_0x214ebe(0xda)]))return void(this[_0x214ebe(0xc4)]=!0x1);this[_0x214ebe(0xc4)]=!0x0;}[_0x396f4d(0xdc)](_0x5c8aca='',_0xfb3d91='',_0x8c4d08=_0x396f4d(0xcb)){const _0x48ca40=_0x396f4d;this[_0x48ca40(0xe1)][_0x48ca40(0xe4)][_0x48ca40(0xd3)](_0x3f994e)[_0x48ca40(0xbb)](_0x5c8aca,_0xfb3d91,_0x8c4d08);}}function js(_0xbc9c01,_0x1a4564){const _0x33533d=_0x396f4d,_0x425dd9=new Set();for(const _0x5c4aa1 of _0xbc9c01[_0x33533d(0xd2)]())(_0x1a4564||!0x1===_0x5c4aa1[_0x33533d(0xc0)])&&_0x425dd9[_0x33533d(0xc8)](_0x5c4aa1['id']);return Array[_0x33533d(0xd4)](_0x425dd9);}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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
- export function getTranslation(_0x4d90ef,_0xeb11e7,_0x29fea1){const t=_0x4d90ef['t'];switch(_0xeb11e7){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x29fea1);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x29fea1);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x29fea1);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xeb11e7;}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x53f529,_0xf10b8b){const _0x5896a6=(0x0,_0xf10b8b['t'])('Other');return _0x53f529['length']?'groupId'in _0x53f529[0x0]?_0x53f529:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5896a6,'order':0x1/0x0,'commands':_0x53f529}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5896a6,'order':0x1/0x0,'commands':[]}];}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x257160=_0x3bb4;(function(_0x10499c,_0x29e74c){const _0x21c98a=_0x3bb4,_0x3c164e=_0x10499c();while(!![]){try{const _0x4096ab=parseInt(_0x21c98a(0x175))/0x1*(-parseInt(_0x21c98a(0x1a9))/0x2)+parseInt(_0x21c98a(0x1ad))/0x3*(parseInt(_0x21c98a(0x19a))/0x4)+-parseInt(_0x21c98a(0x1bb))/0x5*(parseInt(_0x21c98a(0x1bc))/0x6)+-parseInt(_0x21c98a(0x1ae))/0x7+parseInt(_0x21c98a(0x171))/0x8+parseInt(_0x21c98a(0x1ba))/0x9*(-parseInt(_0x21c98a(0x1a1))/0xa)+parseInt(_0x21c98a(0x176))/0xb*(parseInt(_0x21c98a(0x1a5))/0xc);if(_0x4096ab===_0x29e74c)break;else _0x3c164e['push'](_0x3c164e['shift']());}catch(_0x413d0a){_0x3c164e['push'](_0x3c164e['shift']());}}}(_0x4c78,0xd435a));import{ContextPlugin as _0x42e606}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x16cd0d,AIEditing as _0x5216fe}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5c15c5}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x4f7e22,Rect as _0x4b7e13,scrollViewportToShowTarget as _0x2a5eff}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x5b4ae1}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x2088bd}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x502944}from'./ui/aiballoonview.js';function _0x3bb4(_0x4b4bd5,_0x6d08dc){const _0x4c78e1=_0x4c78();return _0x3bb4=function(_0x3bb459,_0x1301a6){_0x3bb459=_0x3bb459-0x164;let _0x1d8a93=_0x4c78e1[_0x3bb459];return _0x1d8a93;},_0x3bb4(_0x4b4bd5,_0x6d08dc);}function _0x4c78(){const _0x590763=['AIBalloon','576qIQxWE','10gfyqEt','137622RpHQqw','_currentConfig','isOfficialPlugin','getMarkersGroup','model','max','mainView','end','iconView','plugins','once','filter','listenTo','stopListening','label','show','length','get','ck-ai-balloon\x20','isEqual','9477216yZnSEl','ai-selection','high','width','1213anMPLe','11RbcYHE','startsWith','fire','_showDialog','_calculateOptimalTopPosition','window','_calculateDialogPosition','Dialog','ranges','height','_cleanupFakeVisualSelectionMarkerRemovalListener','change','root','hideFakeVisualSelection','start','differ','_hideFakeVisualSelection','index','headerView','getBoundingRect','delegate','context','pluginName','$graveyard','updatePosition','_isUpdatingMarkers','beforeDialogClosed','selectionRemoved','isOpen','requires','getIntersection','close','bind','markers','document','round','1824RdSBBE','dialogClosed','open','rootName','getVisible','showBlockingError','editing','81140OLPSdt','ai-balloon-','left','hideError','7478148PyTzkx','getChangedMarkers','_getSelectionElements','view','2306cobNbP','locale','isPremiumPlugin','content','7752BUjsOS','1072162fiHTum','ai-balloon-selection','map','_updateDialog','top','_setupFakeVisualSelectionMarkerRemovalListener','_showFakeVisualSelection','AI_BALLOON_SELECTION_REMOVED_ERROR','bottom','showFakeVisualSelection','hide'];_0x4c78=function(){return _0x590763;};return _0x4c78();}export const AI_BALLOON_EVENT_NAMES=[..._0x502944,_0x257160(0x19b),_0x257160(0x191)];const L=0xa;export class AIBalloon extends _0x42e606{static get[_0x257160(0x193)](){return[_0x5216fe];}static get[_0x257160(0x18c)](){const _0x4de0e8=_0x257160;return _0x4de0e8(0x1b9);}static get[_0x257160(0x1be)](){return!0x0;}static get[_0x257160(0x1ab)](){return!0x0;}[_0x257160(0x192)]=!0x1;[_0x257160(0x1bd)];[_0x257160(0x18f)]=!0x1;[_0x257160(0x19c)](_0x218f31){const _0x345013=_0x257160,{id:_0x559202}=this[_0x345013(0x1bd)]??{};this[_0x345013(0x1bd)]=_0x218f31;const {id:_0x196533}=this[_0x345013(0x1bd)];this[_0x345013(0x192)]&&_0x559202===_0x196533?this[_0x345013(0x1b1)]():this[_0x345013(0x179)]();}[_0x257160(0x195)](){const _0x575738=_0x257160,_0x5c08c8=_0x5b4ae1(this[_0x575738(0x18b)])[_0x575738(0x166)][_0x575738(0x16e)](_0x575738(0x17d));_0x5c08c8[_0x575738(0x192)]&&this[_0x575738(0x1bd)]&&_0x5c08c8['id']===this[_0x575738(0x1bd)]['id']&&_0x5c08c8[_0x575738(0x1b8)]();}[_0x257160(0x1b1)](){const _0x382731=_0x257160,_0x5b7a50=_0x5b4ae1(this[_0x382731(0x18b)])[_0x382731(0x166)][_0x382731(0x16e)](_0x382731(0x17d)),{icon:_0x44829a,title:_0x49b865}=this[_0x382731(0x1bd)];_0x5b7a50[_0x382731(0x1a8)]?.[_0x382731(0x188)]&&(_0x5b7a50[_0x382731(0x1a8)][_0x382731(0x188)][_0x382731(0x16b)]=_0x49b865,_0x5b7a50[_0x382731(0x1a8)][_0x382731(0x188)][_0x382731(0x165)]&&_0x44829a&&(_0x5b7a50[_0x382731(0x1a8)][_0x382731(0x188)][_0x382731(0x165)][_0x382731(0x1ac)]=_0x44829a)),this[_0x382731(0x18f)]=!0x0,this[_0x382731(0x1b4)](),this[_0x382731(0x18f)]=!0x1,_0x5b7a50[_0x382731(0x1a8)]?.[_0x382731(0x18e)]();}[_0x257160(0x1b4)](){const _0x3ddb0c=_0x257160;this[_0x3ddb0c(0x18b)][_0x3ddb0c(0x166)][_0x3ddb0c(0x16e)](_0x5216fe)[_0x3ddb0c(0x1b7)](this[_0x3ddb0c(0x1bd)][_0x3ddb0c(0x17e)],_0x3ddb0c(0x1a2)+this[_0x3ddb0c(0x1bd)][_0x3ddb0c(0x187)],!0x0,!0x0);}[_0x257160(0x186)](_0x3b29c1){const _0x98af85=_0x257160;this[_0x98af85(0x18b)][_0x98af85(0x166)][_0x98af85(0x16e)](_0x5216fe)[_0x98af85(0x183)](_0x98af85(0x1a2)+_0x3b29c1);}[_0x257160(0x179)](){const _0x37f78a=_0x257160,_0x39393e=_0x5b4ae1(this[_0x37f78a(0x18b)])[_0x37f78a(0x166)][_0x37f78a(0x16e)](_0x37f78a(0x17d)),{id:_0xd28891,title:_0x17edfd,icon:_0x443467,class:_0x29875a,mainView:_0x41597b}=this[_0x37f78a(0x1bd)];_0x41597b[_0x37f78a(0x18a)](..._0x502944)['to'](this),_0x39393e[_0x37f78a(0x16c)]({'title':_0x17edfd,'icon':_0x443467,'hasCloseButton':!0x0,'id':_0xd28891,'position':this[_0x37f78a(0x17c)][_0x37f78a(0x196)](this),'className':_0x37f78a(0x16f)+(_0x29875a||''),'content':_0x41597b,'onShow':_0x1d7177=>{const _0x29d62d=_0x37f78a;this[_0x29d62d(0x1b4)](),this[_0x29d62d(0x1b3)]();const _0x3b0170=this[_0x29d62d(0x1a7)]();_0x3b0170&&_0x3b0170[0x0]&&_0x2a5eff({'target':_0x3b0170[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x29d62d(0x192)]=!0x0,_0x1d7177[_0x29d62d(0x167)](_0x29d62d(0x1b8),()=>{const _0x2b475e=_0x29d62d;this[_0x2b475e(0x178)](_0x2b475e(0x190),{'id':_0xd28891});},{'priority':_0x29d62d(0x173)});},'onHide':()=>{const _0x5691a4=_0x37f78a;this[_0x5691a4(0x186)](this[_0x5691a4(0x1bd)][_0x5691a4(0x187)]),this[_0x5691a4(0x180)](),this[_0x5691a4(0x178)](_0x5691a4(0x19b),{'id':_0xd28891}),this[_0x5691a4(0x192)]=!0x1;}});}[_0x257160(0x17c)](_0x47e8ba,_0x467d3a){const _0x2bf008=_0x257160;if(!_0x467d3a)return null;const _0x438dec=this[_0x2bf008(0x1a7)]();if(!_0x438dec||0x0===_0x438dec[_0x2bf008(0x16d)])return{'left':Math[_0x2bf008(0x199)](_0x467d3a[_0x2bf008(0x1a3)]+_0x467d3a[_0x2bf008(0x174)]/0x2-_0x47e8ba[_0x2bf008(0x174)]/0x2),'top':Math[_0x2bf008(0x199)](_0x467d3a[_0x2bf008(0x1b2)]+_0x467d3a[_0x2bf008(0x17f)]/0x2-_0x47e8ba[_0x2bf008(0x17f)]/0x2)};const _0x553f44=Math[_0x2bf008(0x199)](_0x467d3a[_0x2bf008(0x1a3)]+_0x467d3a[_0x2bf008(0x174)]/0x2-_0x47e8ba[_0x2bf008(0x174)]/0x2),_0x2a5bf3=_0x438dec[_0x2bf008(0x1b0)](_0x394208=>new _0x4b7e13(_0x394208)),_0x4057de=_0x47e8ba[_0x2bf008(0x17f)];return{'left':_0x553f44,'top':this[_0x2bf008(0x17a)](_0x2a5bf3,_0x4057de,_0x467d3a)};}[_0x257160(0x17a)](_0x318b7c,_0x2d54f9,_0x9b34e1){const _0xe10606=_0x257160,_0x44e1fa=new _0x4b7e13(_0x4f7e22[_0xe10606(0x17b)]),_0x21403c=_0x318b7c[_0xe10606(0x1b0)](_0x39a3e5=>_0x39a3e5[_0xe10606(0x19e)]())[_0xe10606(0x168)](_0x76697a=>_0x76697a),_0x316df0=_0x4b7e13[_0xe10606(0x189)](_0x21403c);if(!_0x316df0)return Math[_0xe10606(0x199)](_0x9b34e1[_0xe10606(0x1b2)]+_0x9b34e1[_0xe10606(0x17f)]/0x2);const _0x3ad1ad=_0x44e1fa[_0xe10606(0x194)](_0x316df0);if(!_0x3ad1ad)return Math[_0xe10606(0x199)](_0x9b34e1[_0xe10606(0x1b2)]+_0x9b34e1[_0xe10606(0x17f)]/0x2);const _0x38bca4=_0x9b34e1[_0xe10606(0x19e)](),_0x3c5739=_0x38bca4&&_0x316df0[_0xe10606(0x17f)]>_0x38bca4[_0xe10606(0x17f)],_0x1d88a9=_0x3ad1ad[_0xe10606(0x1b2)],_0x39b7f3=_0x3ad1ad[_0xe10606(0x1b6)];if(_0x3c5739){const _0x477266=(_0x38bca4||_0x44e1fa)[_0xe10606(0x17f)]/0x2-_0x2d54f9/0x2,_0x46b914=_0x1d88a9-L-_0x9b34e1[_0xe10606(0x1b2)],_0x4421a7=_0x9b34e1[_0xe10606(0x1b6)]-_0x39b7f3-L;return _0x46b914>=_0x2d54f9?Math[_0xe10606(0x1c1)](L,_0x1d88a9-_0x2d54f9-L):_0x4421a7>=_0x2d54f9?_0x39b7f3+L:Math[_0xe10606(0x1c1)](L,_0x477266);}const _0x4cb4c3=_0x1d88a9-_0x2d54f9,_0x449824=_0x9b34e1[_0xe10606(0x1b6)]-_0x39b7f3-L,_0x43c899=_0x1d88a9-L-_0x9b34e1[_0xe10606(0x1b2)];let _0x2cd8e1;if(_0x449824>=_0x2d54f9)_0x2cd8e1=_0x39b7f3+L;else{if(_0x43c899>=_0x2d54f9)_0x2cd8e1=_0x4cb4c3-L;else _0x2cd8e1=_0x1d88a9+_0x316df0[_0xe10606(0x17f)]/0x2-_0x2d54f9/0x2;}return _0x2cd8e1;}[_0x257160(0x1b3)](){const _0x395112=_0x257160,_0x57f671=_0x5b4ae1(this[_0x395112(0x18b)]);this[_0x395112(0x169)](_0x57f671[_0x395112(0x1c0)][_0x395112(0x198)],_0x395112(0x181),()=>{const _0xc4732=_0x395112;if(!this[_0xc4732(0x18f)]){for(const {name:_0x2e3d77,data:{newRange:_0x508577}}of _0x57f671[_0xc4732(0x1c0)][_0xc4732(0x198)][_0xc4732(0x185)][_0xc4732(0x1a6)]())if(_0x2e3d77[_0xc4732(0x177)](_0x16cd0d+':')&&(_0x508577&&(_0x508577[_0xc4732(0x184)][_0xc4732(0x170)](_0x508577[_0xc4732(0x164)])||_0xc4732(0x18d)==_0x508577[_0xc4732(0x182)][_0xc4732(0x19d)])||null==_0x508577)){const _0x209715=_0x2088bd(this[_0xc4732(0x18b)][_0xc4732(0x1aa)],_0xc4732(0x1b5));this[_0xc4732(0x1bd)][_0xc4732(0x1c2)][_0xc4732(0x19f)](_0x209715),this[_0xc4732(0x178)](_0xc4732(0x191));}}});}[_0x257160(0x180)](){const _0x56d067=_0x257160,_0x3550f3=_0x5b4ae1(this[_0x56d067(0x18b)]);this[_0x56d067(0x1bd)][_0x56d067(0x1c2)][_0x56d067(0x1a4)](),this[_0x56d067(0x16a)](_0x3550f3[_0x56d067(0x1c0)][_0x56d067(0x198)]);}[_0x257160(0x1a7)](){const _0x577851=_0x257160,_0x3feb1b=_0x5b4ae1(this[_0x577851(0x18b)]);return _0x5c15c5(_0x3feb1b[_0x577851(0x1a0)],[..._0x3feb1b[_0x577851(0x1c0)][_0x577851(0x197)][_0x577851(0x1bf)](_0x577851(0x172)),..._0x3feb1b[_0x577851(0x1c0)][_0x577851(0x197)][_0x577851(0x1bf)](_0x577851(0x1af))]);}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x4a03eb=_0x22fe;(function(_0x3e9c95,_0x24b119){const _0x3c1fb7=_0x22fe,_0x332b6b=_0x3e9c95();while(!![]){try{const _0x575a6e=parseInt(_0x3c1fb7(0x14e))/0x1*(-parseInt(_0x3c1fb7(0x152))/0x2)+parseInt(_0x3c1fb7(0x151))/0x3+-parseInt(_0x3c1fb7(0x14f))/0x4*(parseInt(_0x3c1fb7(0x15c))/0x5)+-parseInt(_0x3c1fb7(0x143))/0x6*(parseInt(_0x3c1fb7(0x159))/0x7)+-parseInt(_0x3c1fb7(0x15b))/0x8+-parseInt(_0x3c1fb7(0x146))/0x9+parseInt(_0x3c1fb7(0x144))/0xa;if(_0x575a6e===_0x24b119)break;else _0x332b6b['push'](_0x332b6b['shift']());}catch(_0x22dfed){_0x332b6b['push'](_0x332b6b['shift']());}}}(_0x425e,0x1b01f));import{View as _0x22e2b3}from'ckeditor5/src/ui.js';function _0x22fe(_0x468927,_0x3f0a2c){const _0x425e89=_0x425e();return _0x22fe=function(_0x22feec,_0x42c722){_0x22feec=_0x22feec-0x140;let _0xe2ae06=_0x425e89[_0x22feec];return _0xe2ae06;},_0x22fe(_0x468927,_0x3f0a2c);}export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x4a03eb(0x149),_0x4a03eb(0x148),_0x4a03eb(0x140),_0x4a03eb(0x150)];function _0x425e(){const _0x306e4d=['setTemplate','_isErrorVisible','_errorMessage','ck-hidden','showBlockingError','set','696017EtObXC','showError','1504936tUvcZu','100hhFzoP','_createErrorView','hideError','showNext','ck-ai-suggestion__error','div','6qmEetI','5760360ApuiMZ','locale','1435464BTOJdt','bindTemplate','insertSuggestion','applySuggestion','ck-ai-suggestion__error-text','ck-ai-balloon-error','span','_errorView','1879EJKJgC','21884MHyYdI','showPrevious','284427rUMpEP','4ntlqqT'];_0x425e=function(){return _0x306e4d;};return _0x425e();}export class AIBalloonView extends _0x22e2b3{[_0x4a03eb(0x14d)];constructor(_0x3d721e){const _0xe83e84=_0x4a03eb;super(_0x3d721e),this[_0xe83e84(0x158)](_0xe83e84(0x155),''),this[_0xe83e84(0x158)](_0xe83e84(0x154),!0x1);}[_0x4a03eb(0x157)](_0x528b15){const _0x22d41a=_0x4a03eb;this[_0x22d41a(0x15a)](_0x528b15);}[_0x4a03eb(0x15a)](_0x3b033a){const _0x50e28d=_0x4a03eb;this[_0x50e28d(0x14d)]||(this[_0x50e28d(0x14d)]=this[_0x50e28d(0x15d)]()),this[_0x50e28d(0x155)]=_0x3b033a,this[_0x50e28d(0x154)]=!0x0;}[_0x4a03eb(0x15e)](){const _0xe7aa8a=_0x4a03eb;this[_0xe7aa8a(0x154)]=!0x1;}[_0x4a03eb(0x15d)](){const _0x14f4fb=_0x4a03eb,_0x2e5049=new _0x22e2b3(this[_0x14f4fb(0x145)]),_0x359918=new _0x22e2b3(this[_0x14f4fb(0x145)]);return _0x359918[_0x14f4fb(0x153)]({'tag':_0x14f4fb(0x14c),'attributes':{'class':['ck',_0x14f4fb(0x14a)]},'children':[{'text':this[_0x14f4fb(0x147)]['to'](_0x14f4fb(0x155))}]}),_0x2e5049[_0x14f4fb(0x153)]({'tag':_0x14f4fb(0x142),'attributes':{'class':['ck',_0x14f4fb(0x141),_0x14f4fb(0x14b),this[_0x14f4fb(0x147)]['if'](_0x14f4fb(0x154),_0x14f4fb(0x156),_0x443419=>!_0x443419)]},'children':[_0x359918]}),_0x2e5049;}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x48111e=_0x13a9;function _0x13a9(_0x37581e,_0x5d011a){var _0x47c091=_0x47c0();return _0x13a9=function(_0x13a942,_0x21e124){_0x13a942=_0x13a942-0x125;var _0x3eb235=_0x47c091[_0x13a942];return _0x3eb235;},_0x13a9(_0x37581e,_0x5d011a);}(function(_0xfa1c58,_0x3156d8){var _0x59b9a1=_0x13a9,_0x4a479a=_0xfa1c58();while(!![]){try{var _0x36bc9d=parseInt(_0x59b9a1(0x12a))/0x1+-parseInt(_0x59b9a1(0x12b))/0x2*(parseInt(_0x59b9a1(0x13a))/0x3)+parseInt(_0x59b9a1(0x138))/0x4+parseInt(_0x59b9a1(0x131))/0x5*(-parseInt(_0x59b9a1(0x132))/0x6)+parseInt(_0x59b9a1(0x130))/0x7+-parseInt(_0x59b9a1(0x13e))/0x8*(parseInt(_0x59b9a1(0x12f))/0x9)+-parseInt(_0x59b9a1(0x13b))/0xa*(-parseInt(_0x59b9a1(0x126))/0xb);if(_0x36bc9d===_0x3156d8)break;else _0x4a479a['push'](_0x4a479a['shift']());}catch(_0x1e5ace){_0x4a479a['push'](_0x4a479a['shift']());}}}(_0x47c0,0x62717));import{ContextPlugin as _0x45e0f4}from'ckeditor5/src/core.js';import{AIChatController as _0x54956d}from'./aichatcontroller.js';import{AIEditing as _0x54afef}from'../aicore/aiediting.js';import{AIChatUI as _0x3b1aa9}from'./aichatui.js';function _0x47c0(){var _0x638393=['isOfficialPlugin','sendMessage','ai.chat.context','3162609qYDzxM','3859443eMJJUU','5cmjvKe','1711746hXUWpC','pluginName','requires','config','registerToolDataCallback','removeSelectionFromChatContext','573816pJStzv','get','3849GqOdGA','10ClrSwl','AIChat','addSelectionToChatContext','16iFWyCV','ai.chat.initialConversation','startConversation','plugins','_registerToolDataCallback','new','isPremiumPlugin','9660167djYKiS','focusPromptInput','context','define','414911dPZqzH','930TiqHSK'];_0x47c0=function(){return _0x638393;};return _0x47c0();}import{AIChatHistory as _0x15b858}from'../aichathistory/aichathistory.js';export class AIChat extends _0x45e0f4{static get[_0x48111e(0x134)](){return[_0x54956d,_0x54afef,_0x3b1aa9,_0x15b858];}static get[_0x48111e(0x133)](){var _0x78f8d6=_0x48111e;return _0x78f8d6(0x13c);}static get[_0x48111e(0x12c)](){return!0x0;}static get[_0x48111e(0x125)](){return!0x0;}constructor(_0x4e8ba7){var _0x2f2199=_0x48111e;super(_0x4e8ba7),this[_0x2f2199(0x128)][_0x2f2199(0x135)][_0x2f2199(0x129)](_0x2f2199(0x12e),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x2f2199(0x128)][_0x2f2199(0x135)][_0x2f2199(0x129)](_0x2f2199(0x13f),_0x2f2199(0x143));}async[_0x48111e(0x13d)](){var _0x10ebd0=_0x48111e;await this[_0x10ebd0(0x128)][_0x10ebd0(0x141)][_0x10ebd0(0x139)](_0x54956d)[_0x10ebd0(0x13d)]();}async[_0x48111e(0x140)](){var _0x414394=_0x48111e;await this[_0x414394(0x128)][_0x414394(0x141)][_0x414394(0x139)](_0x54956d)[_0x414394(0x140)]();}async[_0x48111e(0x12d)]({message:_0xe6e2a,attributes:_0x47fb2c}){var _0x4424a8=_0x48111e;await this[_0x4424a8(0x128)][_0x4424a8(0x141)][_0x4424a8(0x139)](_0x54956d)[_0x4424a8(0x12d)]({'message':_0xe6e2a,'attributes':_0x47fb2c});}[_0x48111e(0x137)](){var _0x87c60c=_0x48111e;this[_0x87c60c(0x128)][_0x87c60c(0x141)][_0x87c60c(0x139)](_0x54956d)[_0x87c60c(0x137)]();}[_0x48111e(0x127)](){var _0x27860f=_0x48111e;this[_0x27860f(0x128)][_0x27860f(0x141)][_0x27860f(0x139)](_0x54956d)[_0x27860f(0x127)]();}[_0x48111e(0x136)](_0x17fd1a){var _0x23be21=_0x48111e;this[_0x23be21(0x128)][_0x23be21(0x141)][_0x23be21(0x139)](_0x54956d)[_0x23be21(0x142)](_0x17fd1a);}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, 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 _0x4907e4=_0x3ef5;(function(_0x3a2c23,_0x130ae8){const _0x5e1e38=_0x3ef5,_0x394b5e=_0x3a2c23();while(!![]){try{const _0x3bbcb0=parseInt(_0x5e1e38(0x1cc))/0x1+parseInt(_0x5e1e38(0x1ea))/0x2*(parseInt(_0x5e1e38(0x1f6))/0x3)+-parseInt(_0x5e1e38(0x1c8))/0x4*(parseInt(_0x5e1e38(0x1e9))/0x5)+parseInt(_0x5e1e38(0x1e8))/0x6*(parseInt(_0x5e1e38(0x1c6))/0x7)+parseInt(_0x5e1e38(0x1cb))/0x8*(parseInt(_0x5e1e38(0x1ee))/0x9)+parseInt(_0x5e1e38(0x1ca))/0xa*(-parseInt(_0x5e1e38(0x1ef))/0xb)+-parseInt(_0x5e1e38(0x1fc))/0xc*(-parseInt(_0x5e1e38(0x1d3))/0xd);if(_0x3bbcb0===_0x130ae8)break;else _0x394b5e['push'](_0x394b5e['shift']());}catch(_0x58ddb0){_0x394b5e['push'](_0x394b5e['shift']());}}}(_0x49d9,0xf25c1));import{Plugin as _0x3fb66a}from'ckeditor5/src/core.js';import{AIBalloon as _0x344e58}from'../aiballoon/aiballoon.js';function _0x49d9(){const _0x486e8a=['isOfficialPlugin','plugins','aiChatBalloon','config','48660qMfksu','remove','beforeDialogClosed','commands','close','Dialog','204tOwSWt','applySuggestion','ck-ai-chat-balloon','delegate','headerView','has','AIBalloon','showPrevious','bind','isTrackChangesOn','TrackChanges','editor','setState','toggleRotatorButtonsVisibility','49hhQmDm','togglePartToolbarEnabled','12LyXFCI','previousButtonView','11428490GmGAvr','2270488rCRcmg','153400SLBUAa','rejectSuggestion','showDiff','ai.availableReplyActions','areActionsDisabled','open','set','1229709tsmbLJ','value','isPremiumPlugin','focus','filter','children','trackChanges','AIChatBalloon','once','showRotator','pluginName','requires','updateContent','_chatBalloonView','view','_restoreDefaultViewFocus','locale','showNext','dialogClosed','_toggleRotatorButtonsInDialogHeader','render','1134138vtZYTH','2568465fyJHEp','38lawITq','nextButtonView','addMany','insertSuggestion','9YvAKNV','11fPujQe','_createChatBalloonView','get'];_0x49d9=function(){return _0x486e8a;};return _0x49d9();}function _0x3ef5(_0xe16bf0,_0x124c49){const _0x49d958=_0x49d9();return _0x3ef5=function(_0x3ef518,_0x503b2c){_0x3ef518=_0x3ef518-0x1ba;let _0x284fee=_0x49d958[_0x3ef518];return _0x284fee;},_0x3ef5(_0xe16bf0,_0x124c49);}import{AI_REPLY_ACTIONS as _0x40b0e8}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIChatBalloonView as _0x1fea93}from'./ui/aichatballoonview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x368d91}from'../aicore/utils/eventnames.js';import{Dialog as _0x678d11}from'ckeditor5/src/ui.js';export class AIChatBalloon extends _0x3fb66a{static get[_0x4907e4(0x1de)](){return[_0x678d11,_0x344e58];}static get[_0x4907e4(0x1dd)](){const _0x3500f8=_0x4907e4;return _0x3500f8(0x1da);}static get[_0x4907e4(0x1f2)](){return!0x0;}static get[_0x4907e4(0x1d5)](){return!0x0;}[_0x4907e4(0x1e0)];constructor(_0xcd5284){const _0x1df619=_0x4907e4;super(_0xcd5284),this[_0x1df619(0x1d2)](_0x1df619(0x1ce),!0x1);}[_0x4907e4(0x1d1)](_0x4048b0){const _0x2962a6=_0x4907e4,_0x5ac4a1=this[_0x2962a6(0x1c3)];this[_0x2962a6(0x1e0)]||(this[_0x2962a6(0x1e0)]=this[_0x2962a6(0x1f0)]()),_0x5ac4a1[_0x2962a6(0x1f3)][_0x2962a6(0x1f1)](_0x2962a6(0x1be))[_0x2962a6(0x1d1)]({..._0x4048b0,'id':_0x2962a6(0x1f4),'class':_0x2962a6(0x1ba),'mainView':this[_0x2962a6(0x1e0)]}),this[_0x2962a6(0x1e6)](_0x4048b0[_0x2962a6(0x1dc)]),this[_0x2962a6(0x1e0)][_0x2962a6(0x1c7)](!_0x4048b0[_0x2962a6(0x1d0)]),this[_0x2962a6(0x1e2)]();}[_0x4907e4(0x1fa)](){const _0x2602ad=_0x4907e4;this[_0x2602ad(0x1c3)][_0x2602ad(0x1f3)][_0x2602ad(0x1f1)](_0x2602ad(0x1be))[_0x2602ad(0x1fa)]();}[_0x4907e4(0x1df)](_0x17d2ac){const _0x49ded7=_0x4907e4;return this[_0x49ded7(0x1e0)]||(this[_0x49ded7(0x1e0)]=this[_0x49ded7(0x1f0)]()),this[_0x49ded7(0x1e0)][_0x49ded7(0x1df)](_0x17d2ac);}[_0x4907e4(0x1c4)](_0x28d6d3){const _0x205195=_0x4907e4;this[_0x205195(0x1e0)]&&this[_0x205195(0x1e0)][_0x205195(0x1c4)](_0x28d6d3);}[_0x4907e4(0x1f0)](){const _0x122d81=_0x4907e4,_0x22864f=this[_0x122d81(0x1c3)],_0x10ac08=_0x22864f[_0x122d81(0x1f3)][_0x122d81(0x1f1)](_0x122d81(0x1be)),_0x4b199a=_0x22864f[_0x122d81(0x1f9)][_0x122d81(0x1f1)](_0x122d81(0x1d9));let _0x313d85=_0x22864f[_0x122d81(0x1f5)][_0x122d81(0x1f1)](_0x122d81(0x1cf))||[..._0x40b0e8];_0x22864f[_0x122d81(0x1f3)][_0x122d81(0x1bd)](_0x122d81(0x1c2))||(_0x313d85=_0x313d85[_0x122d81(0x1d7)](_0x3db383=>_0x122d81(0x1ed)!=_0x3db383));const _0xbd3bdd=new _0x1fea93(_0x22864f[_0x122d81(0x1e3)],{'availableActions':_0x313d85,'showApplyButton':!0x0,'showSuggestButton':!!_0x4b199a});return _0xbd3bdd[_0x122d81(0x1c0)](_0x122d81(0x1ce))['to'](this),_0xbd3bdd[_0x122d81(0x1bb)](..._0x368d91)['to'](this),_0xbd3bdd[_0x122d81(0x1bb)](_0x122d81(0x1bf),_0x122d81(0x1e4))['to'](this),_0x10ac08[_0x122d81(0x1bb)](_0x122d81(0x1e5))['to'](this),_0xbd3bdd['on'](_0x122d81(0x1fd),this[_0x122d81(0x1e2)][_0x122d81(0x1c0)](this)),_0xbd3bdd['on'](_0x122d81(0x1ed),this[_0x122d81(0x1e2)][_0x122d81(0x1c0)](this)),_0xbd3bdd['on'](_0x122d81(0x1cd),this[_0x122d81(0x1e2)][_0x122d81(0x1c0)](this)),_0x4b199a&&_0xbd3bdd[_0x122d81(0x1c0)](_0x122d81(0x1c1))['to'](_0x4b199a,_0x122d81(0x1d4)),_0xbd3bdd[_0x122d81(0x1e7)](),_0xbd3bdd;}[_0x4907e4(0x1e6)](_0xbc6b83){const _0x13f514=_0x4907e4,_0x5809d9=this[_0x13f514(0x1c3)],_0x4183d6=_0x5809d9[_0x13f514(0x1f3)][_0x13f514(0x1f1)](_0x13f514(0x1fb))[_0x13f514(0x1e1)][_0x13f514(0x1bc)][_0x13f514(0x1d8)];this[_0x13f514(0x1e0)][_0x13f514(0x1c5)](_0xbc6b83),_0x4183d6[_0x13f514(0x1bd)](this[_0x13f514(0x1e0)][_0x13f514(0x1c9)])||(_0x4183d6[_0x13f514(0x1ec)]([this[_0x13f514(0x1e0)][_0x13f514(0x1c9)],this[_0x13f514(0x1e0)][_0x13f514(0x1eb)]],0x0),_0x5809d9[_0x13f514(0x1f3)][_0x13f514(0x1f1)](_0x13f514(0x1be))[_0x13f514(0x1db)](_0x13f514(0x1f8),()=>{const _0x417c9c=_0x13f514;_0x4183d6[_0x417c9c(0x1f7)](this[_0x417c9c(0x1e0)][_0x417c9c(0x1c9)]),_0x4183d6[_0x417c9c(0x1f7)](this[_0x417c9c(0x1e0)][_0x417c9c(0x1eb)]);}));}[_0x4907e4(0x1e2)](){const _0x5ee246=_0x4907e4;this[_0x5ee246(0x1e0)][_0x5ee246(0x1d6)]();}}