@ckeditor/ckeditor5-ai 47.0.0 → 47.1.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 (328) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +9 -2
  3. package/dist/index-editor.css +119 -34
  4. package/dist/index.css +144 -35
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.d.ts +3 -3
  182. package/src/aichat/aichat.js +1 -1
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +6 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.d.ts +2 -4
  188. package/src/aichat/model/aichatconversation.js +1 -1
  189. package/src/aichat/model/aichatinteraction.js +1 -1
  190. package/src/aichat/model/aichatmodels.d.ts +11 -4
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
  193. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  218. package/src/aichat/utils/eventnames.js +1 -1
  219. package/src/aichat/utils/promisequeue.js +1 -1
  220. package/src/aichat/utils/scrollmanager.js +1 -1
  221. package/src/aichathistory/aichathistory.js +1 -1
  222. package/src/aichathistory/aichathistorycontroller.js +1 -1
  223. package/src/aichathistory/aichathistoryui.js +1 -1
  224. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  225. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  226. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  227. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  228. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  229. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  230. package/src/aiconfig.d.ts +4 -0
  231. package/src/aicore/aiconnector.js +1 -1
  232. package/src/aicore/aiediting.js +1 -1
  233. package/src/aicore/model/aicapabilities.js +1 -1
  234. package/src/aicore/model/aicontext.js +1 -1
  235. package/src/aicore/model/aiinteraction.js +1 -1
  236. package/src/aicore/model/aireply.d.ts +1 -1
  237. package/src/aicore/model/aireply.js +1 -1
  238. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  239. package/src/aicore/pipeline/airesponseparser.js +2 -2
  240. package/src/aicore/ui/aidisclaimerview.js +1 -1
  241. package/src/aicore/ui/aiskeleton.js +1 -1
  242. package/src/aicore/ui/aispinner.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  248. package/src/aicore/utils/common-translations.js +1 -1
  249. package/src/aicore/utils/createresizebutton.js +1 -1
  250. package/src/aicore/utils/documentposition.js +1 -1
  251. package/src/aicore/utils/documentrange.js +1 -1
  252. package/src/aicore/utils/eventnames.js +1 -1
  253. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  254. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  255. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  256. package/src/aicore/utils/htmlparser.js +1 -1
  257. package/src/aicore/utils/htmlstreamer.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.d.ts +2 -1
  262. package/src/aiquickactions/aiquickactions.js +1 -1
  263. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  264. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  265. package/src/aiquickactions/aiquickactionsui.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -1
  267. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  270. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  271. package/src/aireviewmode/aireviewmode.js +1 -1
  272. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  273. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  274. package/src/aireviewmode/aireviewmodeui.d.ts +3 -1
  275. package/src/aireviewmode/aireviewmodeui.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  278. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  281. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
  283. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  285. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  287. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
  290. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
  292. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
  294. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
  296. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  303. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  306. package/src/aitabs/aitabs.js +1 -1
  307. package/src/aitabs/aitabsmainview.d.ts +4 -0
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/errors.d.ts +5 -0
  313. package/src/errors.js +23 -0
  314. package/src/index.js +1 -1
  315. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
  316. package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
  317. package/theme/aichat/aichat-controls.css +1 -0
  318. package/theme/aichat/aichat.css +0 -1
  319. package/theme/aichat/aichatfeed.css +9 -0
  320. package/theme/aichat/aisuggestioncontainer.css +7 -1
  321. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
  322. package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
  323. package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
  324. package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
  325. package/theme/aitabs/aitabsview.css +2 -2
  326. package/theme/aitabs/tabs/tabsview.css +13 -3
  327. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
  328. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e33f3=_0x61fe;(function(_0x96594c,_0x2cf24e){var _0x1c0c72=_0x61fe,_0x1c6083=_0x96594c();while(!![]){try{var _0x10a6c6=-parseInt(_0x1c0c72(0x1ce))/0x1+-parseInt(_0x1c0c72(0x1cf))/0x2*(-parseInt(_0x1c0c72(0x1a9))/0x3)+parseInt(_0x1c0c72(0x1c0))/0x4*(-parseInt(_0x1c0c72(0x1be))/0x5)+-parseInt(_0x1c0c72(0x1a8))/0x6+parseInt(_0x1c0c72(0x1ae))/0x7+-parseInt(_0x1c0c72(0x1b1))/0x8+-parseInt(_0x1c0c72(0x1cc))/0x9*(parseInt(_0x1c0c72(0x1b0))/0xa);if(_0x10a6c6===_0x2cf24e)break;else _0x1c6083['push'](_0x1c6083['shift']());}catch(_0x51e158){_0x1c6083['push'](_0x1c6083['shift']());}}}(_0x115b,0xb2f90));import{View as _0x285700,FormHeaderView as _0xcdb920}from'ckeditor5/src/ui.js';function _0x61fe(_0x10327a,_0x5cd699){var _0x115b5f=_0x115b();return _0x61fe=function(_0x61fe4d,_0x31b7f8){_0x61fe4d=_0x61fe4d-0x1a2;var _0x410e9d=_0x115b5f[_0x61fe4d];return _0x410e9d;},_0x61fe(_0x10327a,_0x5cd699);}import{IconAIReview as _0x3349be}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x122e3b}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x231ba6}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x120616}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x3327c9}from'./aireviewmodereviewcompletedview.js';function _0x115b(){var _0x504f1c=['ck-ai-review-mode','415845yjfkWk','reviewCheckResultsView','4bLhBNQ','resetErrorState','resetAllParameterizedChecks','AI_REVIEW_MODE','isResultReady','ltr','div','hideActionsWhenResultIsReady','showChunkErrorMessage','addResult','showGeneralErrorMessage','isLoading','40527IJcBbz','showNoChangesView','108346TtbEym','5498wtlPgO','reviewCheckListView','delegate','showReviewCompletedView','ck-ai-header\x20ck-ai-header_review-mode','finishReview','addCheckRunResult','328512uSwWfq','1059TceVtS','reviewCompletedView','showActionsWhenResultIsReady','showGeneralErrorView','showReviewCheckListView','782075qYpwBw','viewType','90bOzIsy','498048eXTkrm','clearResults','set','reviewModeHeader','showReviewCheckResultsView','showChunkErrorView','ck-reset_all','ck-rounded-corners','setTemplate','unmodified','completed','isVisible'];_0x115b=function(){return _0x504f1c;};return _0x115b();}import{getTranslation as _0x41d44b}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x285700{[_0x1e33f3(0x1b4)];[_0x1e33f3(0x1a2)];[_0x1e33f3(0x1bf)];[_0x1e33f3(0x1aa)];constructor(_0x2c2e70){var _0x4f3954=_0x1e33f3;super(_0x2c2e70),this[_0x4f3954(0x1b4)]=new _0xcdb920(_0x2c2e70,{'label':_0x41d44b(_0x2c2e70,_0x4f3954(0x1c3)),'icon':_0x3349be,'class':_0x4f3954(0x1a5)}),this[_0x4f3954(0x1a2)]=new _0x122e3b(_0x2c2e70),this[_0x4f3954(0x1a2)][_0x4f3954(0x1a3)](..._0x231ba6)['to'](this),this[_0x4f3954(0x1bf)]=new _0x120616(_0x2c2e70),this[_0x4f3954(0x1bf)][_0x4f3954(0x1a3)](..._0x231ba6)['to'](this),this[_0x4f3954(0x1aa)]=new _0x3327c9(_0x2c2e70),this[_0x4f3954(0x1aa)][_0x4f3954(0x1a3)](_0x4f3954(0x1a6))['to'](this),this[_0x4f3954(0x1a2)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1cb),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1c4),!0x1),this[_0x4f3954(0x1aa)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1b9)]({'tag':_0x4f3954(0x1c6),'attributes':{'class':['ck',_0x4f3954(0x1b7),_0x4f3954(0x1bd),_0x4f3954(0x1b8)],'dir':_0x4f3954(0x1c5)},'children':[this[_0x4f3954(0x1b4)],this[_0x4f3954(0x1a2)],this[_0x4f3954(0x1bf)],this[_0x4f3954(0x1aa)]]});}[_0x1e33f3(0x1ad)](){var _0x1d62aa=_0x1e33f3;this[_0x1d62aa(0x1a2)][_0x1d62aa(0x1c2)](),this[_0x1d62aa(0x1a2)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x0),this[_0x1d62aa(0x1bf)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x1),this[_0x1d62aa(0x1aa)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x1);}[_0x1e33f3(0x1b5)](){var _0x753e32=_0x1e33f3;this[_0x753e32(0x1c7)](),this[_0x753e32(0x1bf)][_0x753e32(0x1c1)](),this[_0x753e32(0x1a2)][_0x753e32(0x1b3)](_0x753e32(0x1bc),!0x1),this[_0x753e32(0x1bf)][_0x753e32(0x1b3)](_0x753e32(0x1bc),!0x0),this[_0x753e32(0x1bf)][_0x753e32(0x1b2)](),this[_0x753e32(0x1bf)][_0x753e32(0x1b3)](_0x753e32(0x1cb),!0x0);}[_0x1e33f3(0x1a7)](_0x4607cd){var _0x3dd8f9=_0x1e33f3;this[_0x3dd8f9(0x1bf)][_0x3dd8f9(0x1c9)](_0x4607cd),this[_0x3dd8f9(0x1bf)][_0x3dd8f9(0x1b3)](_0x3dd8f9(0x1cb),!0x1);}[_0x1e33f3(0x1a4)](){var _0x1e78c1=_0x1e33f3;this[_0x1e78c1(0x1a2)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x1),this[_0x1e78c1(0x1bf)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x1),this[_0x1e78c1(0x1aa)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1af),_0x1e78c1(0x1bb)),this[_0x1e78c1(0x1aa)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x0);}[_0x1e33f3(0x1ab)](){var _0x39d413=_0x1e33f3;this[_0x39d413(0x1bf)][_0x39d413(0x1c4)]=!0x0;}[_0x1e33f3(0x1cd)](){var _0x1e2ea8=_0x1e33f3;this[_0x1e2ea8(0x1a2)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x1),this[_0x1e2ea8(0x1bf)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x1),this[_0x1e2ea8(0x1aa)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1af),_0x1e2ea8(0x1ba)),this[_0x1e2ea8(0x1aa)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x0);}[_0x1e33f3(0x1c7)](){var _0x207242=_0x1e33f3;this[_0x207242(0x1bf)][_0x207242(0x1c4)]=!0x1;}[_0x1e33f3(0x1ac)](){var _0x4ec5d7=_0x1e33f3;this[_0x4ec5d7(0x1bf)][_0x4ec5d7(0x1b3)](_0x4ec5d7(0x1cb),!0x1),this[_0x4ec5d7(0x1ab)](),this[_0x4ec5d7(0x1bf)][_0x4ec5d7(0x1ca)]();}[_0x1e33f3(0x1b6)](){var _0x3fc409=_0x1e33f3;this[_0x3fc409(0x1bf)][_0x3fc409(0x1b3)](_0x3fc409(0x1cb),!0x1),this[_0x3fc409(0x1ab)](),this[_0x3fc409(0x1bf)][_0x3fc409(0x1c8)]();}}
23
+ var _0x3f6c18=_0x142f;(function(_0x2eeb1c,_0x2fbf46){var _0x114404=_0x142f,_0x4b8555=_0x2eeb1c();while(!![]){try{var _0x43ef29=-parseInt(_0x114404(0x154))/0x1*(parseInt(_0x114404(0x15a))/0x2)+-parseInt(_0x114404(0x155))/0x3+parseInt(_0x114404(0x165))/0x4+parseInt(_0x114404(0x14e))/0x5*(-parseInt(_0x114404(0x15c))/0x6)+parseInt(_0x114404(0x15f))/0x7+-parseInt(_0x114404(0x14b))/0x8+parseInt(_0x114404(0x151))/0x9;if(_0x43ef29===_0x2fbf46)break;else _0x4b8555['push'](_0x4b8555['shift']());}catch(_0x44e542){_0x4b8555['push'](_0x4b8555['shift']());}}}(_0x463f,0xea045));import{View as _0x20b788,FormHeaderView as _0xb40e6e}from'ckeditor5/src/ui.js';import{IconAIReview as _0x36a73f}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x19b3f0}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0xec8bba}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x19480e}from'./aireviewmodereviewcheckresultsview.js';function _0x463f(){var _0x112790=['24545781AytuqV','showGeneralErrorMessage','showReviewCompletedView','125ZQjFyC','4186278tgraFd','ck-ai-review-mode','unmodified','resetAllParameterizedChecks','AI_REVIEW_MODE','13070mWDIZR','div','24IXihTC','showReviewCheckListView','ck-rounded-corners','699412WCckje','isLoading','finishReview','showActionsWhenResultIsReady','addResult','delegate','5343944ItjcEH','showNoChangesView','ck-reset_all','isResultReady','clearResults','resetErrorState','reviewModeHeader','viewType','completed','showChunkErrorMessage','ck-ai-header\x20ck-ai-header_review-mode','isVisible','reviewCheckResultsView','showReviewCheckResultsView','showChunkErrorView','hideActionsWhenResultIsReady','set','addCheckRunResult','reviewCompletedView','7381192MVEuWJ','setTemplate','ltr','87160gTmRGD','showGeneralErrorView','reviewCheckListView'];_0x463f=function(){return _0x112790;};return _0x463f();}import{AIReviewModeReviewCompletedView as _0xdd0161}from'./aireviewmodereviewcompletedview.js';function _0x142f(_0x3a7e12,_0x54ef70){var _0x463f37=_0x463f();return _0x142f=function(_0x142f2a,_0x2e224e){_0x142f2a=_0x142f2a-0x149;var _0x2651c4=_0x463f37[_0x142f2a];return _0x2651c4;},_0x142f(_0x3a7e12,_0x54ef70);}import{getTranslation as _0x4cf398}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x20b788{[_0x3f6c18(0x16b)];[_0x3f6c18(0x150)];[_0x3f6c18(0x171)];[_0x3f6c18(0x14a)];constructor(_0x30e29d){var _0x394d9f=_0x3f6c18;super(_0x30e29d),this[_0x394d9f(0x16b)]=new _0xb40e6e(_0x30e29d,{'label':_0x4cf398(_0x30e29d,_0x394d9f(0x159)),'icon':_0x36a73f,'class':_0x394d9f(0x16f)}),this[_0x394d9f(0x150)]=new _0x19b3f0(_0x30e29d),this[_0x394d9f(0x150)][_0x394d9f(0x164)](..._0xec8bba)['to'](this),this[_0x394d9f(0x171)]=new _0x19480e(_0x30e29d),this[_0x394d9f(0x171)][_0x394d9f(0x164)](..._0xec8bba)['to'](this),this[_0x394d9f(0x14a)]=new _0xdd0161(_0x30e29d),this[_0x394d9f(0x14a)][_0x394d9f(0x164)](_0x394d9f(0x161))['to'](this),this[_0x394d9f(0x150)][_0x394d9f(0x175)](_0x394d9f(0x170),!0x1),this[_0x394d9f(0x171)][_0x394d9f(0x175)](_0x394d9f(0x170),!0x1),this[_0x394d9f(0x171)][_0x394d9f(0x175)](_0x394d9f(0x160),!0x1),this[_0x394d9f(0x171)][_0x394d9f(0x175)](_0x394d9f(0x168),!0x1),this[_0x394d9f(0x14a)][_0x394d9f(0x175)](_0x394d9f(0x170),!0x1),this[_0x394d9f(0x14c)]({'tag':_0x394d9f(0x15b),'attributes':{'class':['ck',_0x394d9f(0x167),_0x394d9f(0x156),_0x394d9f(0x15e)],'dir':_0x394d9f(0x14d)},'children':[this[_0x394d9f(0x16b)],this[_0x394d9f(0x150)],this[_0x394d9f(0x171)],this[_0x394d9f(0x14a)]]});}[_0x3f6c18(0x15d)](){var _0x21c3bd=_0x3f6c18;this[_0x21c3bd(0x150)][_0x21c3bd(0x158)](),this[_0x21c3bd(0x150)][_0x21c3bd(0x175)](_0x21c3bd(0x170),!0x0),this[_0x21c3bd(0x171)][_0x21c3bd(0x175)](_0x21c3bd(0x170),!0x1),this[_0x21c3bd(0x14a)][_0x21c3bd(0x175)](_0x21c3bd(0x170),!0x1);}[_0x3f6c18(0x172)](){var _0x2645d6=_0x3f6c18;this[_0x2645d6(0x174)](),this[_0x2645d6(0x171)][_0x2645d6(0x16a)](),this[_0x2645d6(0x150)][_0x2645d6(0x175)](_0x2645d6(0x170),!0x1),this[_0x2645d6(0x171)][_0x2645d6(0x175)](_0x2645d6(0x170),!0x0),this[_0x2645d6(0x171)][_0x2645d6(0x169)](),this[_0x2645d6(0x171)][_0x2645d6(0x175)](_0x2645d6(0x160),!0x0);}[_0x3f6c18(0x149)](_0x53e7ac){var _0x2dc247=_0x3f6c18;this[_0x2dc247(0x171)][_0x2dc247(0x163)](_0x53e7ac),this[_0x2dc247(0x171)][_0x2dc247(0x175)](_0x2dc247(0x160),!0x1);}[_0x3f6c18(0x153)](){var _0x229efe=_0x3f6c18;this[_0x229efe(0x150)][_0x229efe(0x175)](_0x229efe(0x170),!0x1),this[_0x229efe(0x171)][_0x229efe(0x175)](_0x229efe(0x170),!0x1),this[_0x229efe(0x14a)][_0x229efe(0x175)](_0x229efe(0x16c),_0x229efe(0x16d)),this[_0x229efe(0x14a)][_0x229efe(0x175)](_0x229efe(0x170),!0x0);}[_0x3f6c18(0x162)](){var _0x5cd2e3=_0x3f6c18;this[_0x5cd2e3(0x171)][_0x5cd2e3(0x168)]=!0x0;}[_0x3f6c18(0x166)](){var _0x541c76=_0x3f6c18;this[_0x541c76(0x150)][_0x541c76(0x175)](_0x541c76(0x170),!0x1),this[_0x541c76(0x171)][_0x541c76(0x175)](_0x541c76(0x170),!0x1),this[_0x541c76(0x14a)][_0x541c76(0x175)](_0x541c76(0x16c),_0x541c76(0x157)),this[_0x541c76(0x14a)][_0x541c76(0x175)](_0x541c76(0x170),!0x0);}[_0x3f6c18(0x174)](){var _0x34fbc2=_0x3f6c18;this[_0x34fbc2(0x171)][_0x34fbc2(0x168)]=!0x1;}[_0x3f6c18(0x14f)](){var _0x87e65a=_0x3f6c18;this[_0x87e65a(0x171)][_0x87e65a(0x175)](_0x87e65a(0x160),!0x1),this[_0x87e65a(0x162)](),this[_0x87e65a(0x171)][_0x87e65a(0x152)]();}[_0x3f6c18(0x173)](){var _0xe61f20=_0x3f6c18;this[_0xe61f20(0x171)][_0xe61f20(0x175)](_0xe61f20(0x160),!0x1),this[_0xe61f20(0x162)](),this[_0xe61f20(0x171)][_0xe61f20(0x16e)]();}}
@@ -3,7 +3,7 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
- * @module ai/aireviewmode/ui/form/aireviewmodeformamanager
6
+ * @module ai/aireviewmode/ui/form/aireviewmodeformdropdown
7
7
  */
8
8
  import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { View } from 'ckeditor5/src/ui.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21f1(_0x434e55,_0x4b2c60){const _0x16ca38=_0x16ca();return _0x21f1=function(_0x21f194,_0x4150f9){_0x21f194=_0x21f194-0x153;let _0x5675bf=_0x16ca38[_0x21f194];return _0x5675bf;},_0x21f1(_0x434e55,_0x4b2c60);}const _0x5e8927=_0x21f1;function _0x16ca(){const _0x3e25ce=['_dropdownView','_prepareListOptions','40wcIKhJ','listenTo','54TaHKLt','stopPropagation','15129ulKjIk','5339994PvjlMF','add','setTemplate','_defaultValue','isOn','5274OXSPXu','locale','formValue','274487VvdJah','find','resetToDefault','5400VLrkSq','extendTemplate','data','bindTemplate','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','ck-reset_all','bind','ck-ai-review-mode__check-list-item-parameterized-form-element','source','43844LwJxoz','2911469FlKLlB','execute','_defaultLabel','4890571vNKCrq','label','div','menu','default','button','215JuGdOr','length','buttonView','menuitemradio','model','set'];_0x16ca=function(){return _0x3e25ce;};return _0x16ca();}(function(_0x174129,_0x13fea9){const _0x3d48b7=_0x21f1,_0x4546d8=_0x174129();while(!![]){try{const _0x6e1d10=parseInt(_0x3d48b7(0x168))/0x1+-parseInt(_0x3d48b7(0x15d))/0x2*(parseInt(_0x3d48b7(0x165))/0x3)+-parseInt(_0x3d48b7(0x174))/0x4*(-parseInt(_0x3d48b7(0x153))/0x5)+-parseInt(_0x3d48b7(0x160))/0x6+parseInt(_0x3d48b7(0x178))/0x7+-parseInt(_0x3d48b7(0x16b))/0x8*(-parseInt(_0x3d48b7(0x15f))/0x9)+-parseInt(_0x3d48b7(0x15b))/0xa*(parseInt(_0x3d48b7(0x175))/0xb);if(_0x6e1d10===_0x13fea9)break;else _0x4546d8['push'](_0x4546d8['shift']());}catch(_0x3f901f){_0x4546d8['push'](_0x4546d8['shift']());}}}(_0x16ca,0x8e52d));import{Collection as _0x4d49e7}from'ckeditor5/src/utils.js';import{View as _0x38d2c4,createDropdown as _0x2228af,addListToDropdown as _0x3a35d7,UIModel as _0x239252}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x38d2c4{[_0x5e8927(0x159)];[_0x5e8927(0x163)];[_0x5e8927(0x177)];constructor(_0x32b6d4,_0x38dc6c){const _0x1cd908=_0x5e8927;super(_0x32b6d4),this[_0x1cd908(0x163)]=_0x38dc6c[_0x1cd908(0x17c)]||(_0x38dc6c[_0x1cd908(0x16d)][_0x1cd908(0x154)]>0x0?_0x38dc6c[_0x1cd908(0x16d)][0x0]['id']:''),this[_0x1cd908(0x177)]=_0x38dc6c[_0x1cd908(0x16d)][_0x1cd908(0x169)](_0x105585=>_0x105585['id']===this[_0x1cd908(0x163)])?.[_0x1cd908(0x179)]||'',this[_0x1cd908(0x158)](_0x1cd908(0x167),''),this[_0x1cd908(0x159)]=_0x2228af(this[_0x1cd908(0x166)]);const _0x1ffbe2=this[_0x1cd908(0x15a)](_0x38dc6c[_0x1cd908(0x16d)]);_0x3a35d7(this[_0x1cd908(0x159)],_0x1ffbe2,{'role':_0x1cd908(0x17b),'ariaLabel':_0x38dc6c[_0x1cd908(0x179)]}),this[_0x1cd908(0x159)][_0x1cd908(0x155)][_0x1cd908(0x158)]({'label':this[_0x1cd908(0x177)],'withText':!0x0}),this[_0x1cd908(0x159)][_0x1cd908(0x16c)]({'on':{'click':this[_0x1cd908(0x16e)]['to'](_0x4334a5=>{const _0x1a7ca7=_0x1cd908;_0x4334a5[_0x1a7ca7(0x15e)]();})}}),this[_0x1cd908(0x15c)](this[_0x1cd908(0x159)],_0x1cd908(0x176),_0xa4195e=>{const _0x353d82=_0x1cd908;this[_0x353d82(0x167)]=_0xa4195e[_0x353d82(0x173)][_0x353d82(0x157)]['id'],this[_0x353d82(0x159)][_0x353d82(0x155)][_0x353d82(0x179)]=_0xa4195e[_0x353d82(0x173)][_0x353d82(0x157)][_0x353d82(0x179)];}),this[_0x1cd908(0x162)]({'tag':_0x1cd908(0x17a),'attributes':{'class':['ck',_0x1cd908(0x170),_0x1cd908(0x172),_0x1cd908(0x16f)]},'children':[this[_0x1cd908(0x159)]]});}[_0x5e8927(0x16a)](){const _0x109f84=_0x5e8927;this[_0x109f84(0x167)]=this[_0x109f84(0x163)],this[_0x109f84(0x159)][_0x109f84(0x155)][_0x109f84(0x179)]=this[_0x109f84(0x177)];}[_0x5e8927(0x15a)](_0x48b67c=[]){const _0xc061d6=_0x5e8927,_0x5d7021=new _0x4d49e7();this[_0xc061d6(0x16a)]();for(const _0x3d2fe9 of _0x48b67c){const _0x2a4ada=new _0x239252({'label':_0x3d2fe9[_0xc061d6(0x179)],'withText':!0x0,'role':_0xc061d6(0x156),'id':_0x3d2fe9['id'],'model':_0x3d2fe9});_0x2a4ada[_0xc061d6(0x171)](_0xc061d6(0x164))['to'](this,_0xc061d6(0x167),_0x35945a=>_0x35945a===_0x2a4ada['id']);const _0x1fb019={'type':_0xc061d6(0x17d),'model':_0x2a4ada};_0x5d7021[_0xc061d6(0x161)](_0x1fb019);}return _0x5d7021;}}
23
+ const _0x1f40fc=_0x1adf;(function(_0x4ac6d5,_0x538bdc){const _0x4f823a=_0x1adf,_0x4f6e47=_0x4ac6d5();while(!![]){try{const _0x30ee88=parseInt(_0x4f823a(0xe3))/0x1+-parseInt(_0x4f823a(0xc4))/0x2*(-parseInt(_0x4f823a(0xe0))/0x3)+parseInt(_0x4f823a(0xc3))/0x4*(parseInt(_0x4f823a(0xdd))/0x5)+-parseInt(_0x4f823a(0xbf))/0x6+-parseInt(_0x4f823a(0xd5))/0x7+-parseInt(_0x4f823a(0xde))/0x8*(parseInt(_0x4f823a(0xcb))/0x9)+parseInt(_0x4f823a(0xcd))/0xa;if(_0x30ee88===_0x538bdc)break;else _0x4f6e47['push'](_0x4f6e47['shift']());}catch(_0x3a3087){_0x4f6e47['push'](_0x4f6e47['shift']());}}}(_0x512e,0x23afb));import{Collection as _0x2e17c2}from'ckeditor5/src/utils.js';function _0x1adf(_0x260e70,_0x31a9ca){const _0x512e98=_0x512e();return _0x1adf=function(_0x1adf98,_0x171fea){_0x1adf98=_0x1adf98-0xbc;let _0x4c968f=_0x512e98[_0x1adf98];return _0x4c968f;},_0x1adf(_0x260e70,_0x31a9ca);}function _0x512e(){const _0x509e7d=['label','resetToDefault','bind','default','length','20ToumnA','184NtGHiG','_dropdownView','9123QugqTY','find','button','17324JBfYdL','_defaultValue','bindTemplate','add','source','formValue','1522518XFFHRc','listenTo','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','locale','98488erRnQe','2hJylaM','stopPropagation','_prepareListOptions','ck-ai-review-mode__check-list-item-parameterized-form-element','extendTemplate','isOn','_defaultLabel','12303WLCkhm','data','5330340nXFRqC','buttonView','model','execute','ck-reset_all','setTemplate','set','menu','1543654vnwfys','menuitemradio','div'];_0x512e=function(){return _0x509e7d;};return _0x512e();}import{View as _0x7e4d5e,createDropdown as _0x26e4a1,addListToDropdown as _0x249fe6,UIModel as _0x3e8a41}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x7e4d5e{[_0x1f40fc(0xdf)];[_0x1f40fc(0xe4)];[_0x1f40fc(0xca)];constructor(_0x25cb21,_0x493670){const _0x2c82db=_0x1f40fc;super(_0x25cb21),this[_0x2c82db(0xe4)]=_0x493670[_0x2c82db(0xdb)]||(_0x493670[_0x2c82db(0xcc)][_0x2c82db(0xdc)]>0x0?_0x493670[_0x2c82db(0xcc)][0x0]['id']:''),this[_0x2c82db(0xca)]=_0x493670[_0x2c82db(0xcc)][_0x2c82db(0xe1)](_0x25c2dd=>_0x25c2dd['id']===this[_0x2c82db(0xe4)])?.[_0x2c82db(0xd8)]||'',this[_0x2c82db(0xd3)](_0x2c82db(0xbe),''),this[_0x2c82db(0xdf)]=_0x26e4a1(this[_0x2c82db(0xc2)]);const _0x55f8d1=this[_0x2c82db(0xc6)](_0x493670[_0x2c82db(0xcc)]);_0x249fe6(this[_0x2c82db(0xdf)],_0x55f8d1,{'role':_0x2c82db(0xd4),'ariaLabel':_0x493670[_0x2c82db(0xd8)]}),this[_0x2c82db(0xdf)][_0x2c82db(0xce)][_0x2c82db(0xd3)]({'label':this[_0x2c82db(0xca)],'withText':!0x0}),this[_0x2c82db(0xdf)][_0x2c82db(0xc8)]({'on':{'click':this[_0x2c82db(0xe5)]['to'](_0x318d3c=>{const _0xa413be=_0x2c82db;_0x318d3c[_0xa413be(0xc5)]();})}}),this[_0x2c82db(0xc0)](this[_0x2c82db(0xdf)],_0x2c82db(0xd0),_0x242586=>{const _0xbec1a=_0x2c82db;this[_0xbec1a(0xbe)]=_0x242586[_0xbec1a(0xbd)][_0xbec1a(0xcf)]['id'],this[_0xbec1a(0xdf)][_0xbec1a(0xce)][_0xbec1a(0xd8)]=_0x242586[_0xbec1a(0xbd)][_0xbec1a(0xcf)][_0xbec1a(0xd8)];}),this[_0x2c82db(0xd2)]({'tag':_0x2c82db(0xd7),'attributes':{'class':['ck',_0x2c82db(0xd1),_0x2c82db(0xc7),_0x2c82db(0xc1)]},'children':[this[_0x2c82db(0xdf)]]});}[_0x1f40fc(0xd9)](){const _0x8625dc=_0x1f40fc;this[_0x8625dc(0xbe)]=this[_0x8625dc(0xe4)],this[_0x8625dc(0xdf)][_0x8625dc(0xce)][_0x8625dc(0xd8)]=this[_0x8625dc(0xca)];}[_0x1f40fc(0xc6)](_0x460bd2=[]){const _0x18305d=_0x1f40fc,_0x46e1f3=new _0x2e17c2();this[_0x18305d(0xd9)]();for(const _0x1bcc4f of _0x460bd2){const _0x1c177d=new _0x3e8a41({'label':_0x1bcc4f[_0x18305d(0xd8)],'withText':!0x0,'role':_0x18305d(0xd6),'id':_0x1bcc4f['id'],'model':_0x1bcc4f});_0x1c177d[_0x18305d(0xda)](_0x18305d(0xc9))['to'](this,_0x18305d(0xbe),_0x1c6a80=>_0x1c6a80===_0x1c177d['id']);const _0x27e547={'type':_0x18305d(0xe2),'model':_0x1c177d};_0x46e1f3[_0x18305d(0xbc)](_0x27e547);}return _0x46e1f3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1335b5=_0x3828;(function(_0x286ddc,_0x34f370){const _0x257354=_0x3828,_0x48c2b9=_0x286ddc();while(!![]){try{const _0x47a0e6=-parseInt(_0x257354(0x10a))/0x1*(parseInt(_0x257354(0x11f))/0x2)+-parseInt(_0x257354(0x120))/0x3*(parseInt(_0x257354(0x11b))/0x4)+parseInt(_0x257354(0x10f))/0x5*(parseInt(_0x257354(0x111))/0x6)+parseInt(_0x257354(0x113))/0x7*(-parseInt(_0x257354(0x11d))/0x8)+-parseInt(_0x257354(0x126))/0x9*(parseInt(_0x257354(0x125))/0xa)+-parseInt(_0x257354(0x10d))/0xb+-parseInt(_0x257354(0x119))/0xc*(-parseInt(_0x257354(0x10b))/0xd);if(_0x47a0e6===_0x34f370)break;else _0x48c2b9['push'](_0x48c2b9['shift']());}catch(_0x1e08b7){_0x48c2b9['push'](_0x48c2b9['shift']());}}}(_0x9fa5,0xb9577));function _0x3828(_0x5179f5,_0x4e7118){const _0x9fa526=_0x9fa5();return _0x3828=function(_0x382849,_0x56e019){_0x382849=_0x382849-0x10a;let _0x421fe1=_0x9fa526[_0x382849];return _0x421fe1;},_0x3828(_0x5179f5,_0x4e7118);}import{FormRowView as _0x52473c,ListItemView as _0x2efabc}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2bd8fa}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x2efabc{[_0x1335b5(0x10c)]=null;constructor(_0x55c90b,_0x5dfb97,_0x4bf613){const _0x291048=_0x1335b5;super(_0x55c90b),this[_0x291048(0x10e)]=_0x5dfb97?.[_0x291048(0x10e)];if(_0x291048(0x112)===_0x5dfb97[_0x291048(0x11e)])this[_0x291048(0x10c)]=new _0x2bd8fa(this[_0x291048(0x127)],_0x5dfb97);this[_0x291048(0x117)](_0x291048(0x11a),''),this[_0x291048(0x116)](_0x291048(0x11a))['to'](this[_0x291048(0x10c)],_0x291048(0x115));const _0x5157dc=new _0x52473c(this[_0x291048(0x127)],{'children':[this[_0x291048(0x10c)]],'class':[_0x4bf613?_0x291048(0x118):'']});_0x4bf613&&_0x5157dc[_0x291048(0x124)][_0x291048(0x110)](_0x4bf613),this[_0x291048(0x122)]({'tag':_0x291048(0x121),'attributes':{'class':['ck',_0x291048(0x123),_0x291048(0x114)]},'children':[_0x5157dc]});}[_0x1335b5(0x11c)](){const _0x56b07d=_0x1335b5;this[_0x56b07d(0x10c)][_0x56b07d(0x11c)]();}}function _0x9fa5(){const _0x35767d=['167974zfTmDY','671082CYOCdU','div','setTemplate','ck-ai-review-mode__form-item','children','6772210VnkIon','18HnuveK','locale','3fLhGKI','33475IbVMsl','_formItem','14945997JUzhle','argsKey','3904085oaVkzW','add','6vifJvc','dropdown','232729POgSaa','ck-reset_all','formValue','bind','set','ck-form__row_with-submit','24972RHgybP','value','20myvoRp','resetToDefault','312rHLtHK','formType'];_0x9fa5=function(){return _0x35767d;};return _0x9fa5();}
23
+ const _0x3c7629=_0x46ce;(function(_0x3525bc,_0x2b8cb5){const _0x3abf86=_0x46ce,_0x1bccce=_0x3525bc();while(!![]){try{const _0x197ade=-parseInt(_0x3abf86(0x18c))/0x1+-parseInt(_0x3abf86(0x19b))/0x2+parseInt(_0x3abf86(0x192))/0x3*(-parseInt(_0x3abf86(0x1a2))/0x4)+-parseInt(_0x3abf86(0x19d))/0x5+parseInt(_0x3abf86(0x19e))/0x6*(-parseInt(_0x3abf86(0x190))/0x7)+parseInt(_0x3abf86(0x193))/0x8+parseInt(_0x3abf86(0x1a3))/0x9;if(_0x197ade===_0x2b8cb5)break;else _0x1bccce['push'](_0x1bccce['shift']());}catch(_0x42cd65){_0x1bccce['push'](_0x1bccce['shift']());}}}(_0x537d,0xe4dff));import{FormRowView as _0x324b1d,ListItemView as _0x35db24}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x22e6d7}from'./aireviewmodeformdropdown.js';function _0x537d(){const _0x54fcdf=['690DOUFeu','8135648OqOpvI','formType','children','setTemplate','ck-ai-review-mode__form-item','add','ck-reset_all','_formItem','3488376NPMThZ','value','2752200rgKqib','2101926oFozuJ','resetToDefault','argsKey','bind','10060pTksgB','45022878FcZPMt','locale','set','1508307vELgjy','div','dropdown','formValue','14ZzeuYd','ck-form__row_with-submit'];_0x537d=function(){return _0x54fcdf;};return _0x537d();}function _0x46ce(_0x4aa63d,_0x2a40dd){const _0x537d9c=_0x537d();return _0x46ce=function(_0x46ce61,_0x451d6c){_0x46ce61=_0x46ce61-0x18a;let _0x85ac90=_0x537d9c[_0x46ce61];return _0x85ac90;},_0x46ce(_0x4aa63d,_0x2a40dd);}export class AIReviewModeFormManagerView extends _0x35db24{[_0x3c7629(0x19a)]=null;constructor(_0x3fd9c3,_0xa1110,_0x48e144){const _0x26a951=_0x3c7629;super(_0x3fd9c3),this[_0x26a951(0x1a0)]=_0xa1110?.[_0x26a951(0x1a0)];if(_0x26a951(0x18e)===_0xa1110[_0x26a951(0x194)])this[_0x26a951(0x19a)]=new _0x22e6d7(this[_0x26a951(0x18a)],_0xa1110);this[_0x26a951(0x18b)](_0x26a951(0x19c),''),this[_0x26a951(0x1a1)](_0x26a951(0x19c))['to'](this[_0x26a951(0x19a)],_0x26a951(0x18f));const _0x410c64=new _0x324b1d(this[_0x26a951(0x18a)],{'children':[this[_0x26a951(0x19a)]],'class':[_0x48e144?_0x26a951(0x191):'']});_0x48e144&&_0x410c64[_0x26a951(0x195)][_0x26a951(0x198)](_0x48e144),this[_0x26a951(0x196)]({'tag':_0x26a951(0x18d),'attributes':{'class':['ck',_0x26a951(0x197),_0x26a951(0x199)]},'children':[_0x410c64]});}[_0x3c7629(0x19f)](){const _0x273670=_0x3c7629;this[_0x273670(0x19a)][_0x273670(0x19f)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x455262=_0x303c;function _0x303c(_0x527508,_0x1ba7c9){const _0x5c86bd=_0x5c86();return _0x303c=function(_0x303c98,_0x496ff0){_0x303c98=_0x303c98-0x11d;let _0x2aac32=_0x5c86bd[_0x303c98];return _0x2aac32;},_0x303c(_0x527508,_0x1ba7c9);}(function(_0x74888b,_0x4d7338){const _0x37eb3f=_0x303c,_0x4406c2=_0x74888b();while(!![]){try{const _0x3367fc=parseInt(_0x37eb3f(0x121))/0x1+-parseInt(_0x37eb3f(0x12a))/0x2+-parseInt(_0x37eb3f(0x12b))/0x3*(-parseInt(_0x37eb3f(0x14b))/0x4)+parseInt(_0x37eb3f(0x134))/0x5*(-parseInt(_0x37eb3f(0x145))/0x6)+-parseInt(_0x37eb3f(0x126))/0x7+-parseInt(_0x37eb3f(0x12e))/0x8+parseInt(_0x37eb3f(0x13c))/0x9;if(_0x3367fc===_0x4d7338)break;else _0x4406c2['push'](_0x4406c2['shift']());}catch(_0x2b92ab){_0x4406c2['push'](_0x4406c2['shift']());}}}(_0x5c86,0x7fa0d));import{ContextPlugin as _0x1705eb,Editor as _0x47262d}from'ckeditor5/src/core.js';function _0x5c86(){const _0x599ea2=['isPremiumPlugin','5IUIdVt','focusTracker','side','overlay','isOfficialPlugin','ai-tabs-unsupported-ui-type','body','showResizeButton','3673107wIxHzS','appendChild','ai-tabs-sidebar-container-element-not-found','ai-tabs-configuration-not-found','render','switchSide','type','switchType','context','3621126LDsRwj','set','add','view','bind','remove','2281676kwPhnp','includes','isMaximized','AITabs','ai.container','resize','565408sOTHES','fire','right','container','sidebar','1379308VotKVr','pluginName','destroy','resizedTabs','52000JaCwrr','3vgWveb','element','custom','1556960BNMxVX','locale','config','ai-tabs-unsupported-ui-side','get'];_0x5c86=function(){return _0x599ea2;};return _0x5c86();}import{CKEditorError as _0x43a9ad}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x57e3fa,AI_TABS_VIEW_SIDES as _0x4a919f,AI_TABS_VIEW_TYPES as _0x20154e}from'./aitabsmainview.js';export class AITabs extends _0x1705eb{[_0x455262(0x148)];[_0x455262(0x124)]=null;[_0x455262(0x13b)]=!0x0;static get[_0x455262(0x127)](){const _0x4a2708=_0x455262;return _0x4a2708(0x11e);}static get[_0x455262(0x138)](){return!0x0;}static get[_0x455262(0x133)](){return!0x0;}constructor(_0x3f0410){const _0x4a72dd=_0x455262;super(_0x3f0410);const _0x467495=this[_0x4a72dd(0x144)][_0x4a72dd(0x130)][_0x4a72dd(0x132)](_0x4a72dd(0x11f));if(this[_0x4a72dd(0x146)](_0x4a72dd(0x136),_0x4a72dd(0x123)),!_0x467495)throw new _0x43a9ad(_0x4a72dd(0x13f));if(void 0x0!==_0x467495[_0x4a72dd(0x13b)]&&(this[_0x4a72dd(0x13b)]=_0x467495[_0x4a72dd(0x13b)]),_0x4a72dd(0x125)!==_0x467495[_0x4a72dd(0x142)]&&_0x4a72dd(0x137)!==_0x467495[_0x4a72dd(0x142)]||_0x467495[_0x4a72dd(0x136)]&&(this[_0x4a72dd(0x136)]=_0x467495[_0x4a72dd(0x136)]),_0x4a72dd(0x125)===_0x467495[_0x4a72dd(0x142)]){if(this[_0x4a72dd(0x124)]=_0x467495[_0x4a72dd(0x12c)],this[_0x4a72dd(0x146)](_0x4a72dd(0x142),_0x4a72dd(0x125)),!this[_0x4a72dd(0x124)])throw new _0x43a9ad(_0x4a72dd(0x13e));}else _0x4a72dd(0x137)===_0x467495[_0x4a72dd(0x142)]?(this[_0x4a72dd(0x124)]=document[_0x4a72dd(0x13a)],this[_0x4a72dd(0x146)](_0x4a72dd(0x142),_0x4a72dd(0x137))):(this[_0x4a72dd(0x124)]=null,this[_0x4a72dd(0x146)](_0x4a72dd(0x142),_0x4a72dd(0x12d)));this[_0x4a72dd(0x148)]=new _0x57e3fa(this[_0x4a72dd(0x144)][_0x4a72dd(0x12f)],{'side':this[_0x4a72dd(0x136)],'type':this[_0x4a72dd(0x142)]}),this[_0x4a72dd(0x148)][_0x4a72dd(0x140)](),this[_0x4a72dd(0x148)][_0x4a72dd(0x149)](_0x4a72dd(0x136))['to'](this,_0x4a72dd(0x136)),this[_0x4a72dd(0x148)][_0x4a72dd(0x149)](_0x4a72dd(0x142))['to'](this,_0x4a72dd(0x142)),this[_0x4a72dd(0x124)]&&this[_0x4a72dd(0x124)][_0x4a72dd(0x13d)](this[_0x4a72dd(0x148)][_0x4a72dd(0x12c)]),this[_0x4a72dd(0x144)]instanceof _0x47262d&&this[_0x4a72dd(0x144)]['ui'][_0x4a72dd(0x135)][_0x4a72dd(0x147)](this[_0x4a72dd(0x148)][_0x4a72dd(0x12c)]);}[_0x455262(0x143)](_0x412d4c){const _0x1438a8=_0x455262;if(_0x412d4c&&this[_0x1438a8(0x142)]!==_0x412d4c){if(!_0x20154e[_0x1438a8(0x14c)](_0x412d4c))throw new _0x43a9ad(_0x1438a8(0x139));this[_0x1438a8(0x142)]=_0x412d4c;}}[_0x455262(0x141)](_0x19a040){const _0x2d8c55=_0x455262;if(_0x19a040&&this[_0x2d8c55(0x136)]!==_0x19a040){if(!_0x4a919f[_0x2d8c55(0x14c)](_0x19a040))throw new _0x43a9ad(_0x2d8c55(0x131));this[_0x2d8c55(0x136)]=_0x19a040;}}[_0x455262(0x120)](){const _0x4fdc5a=_0x455262;this[_0x4fdc5a(0x148)][_0x4fdc5a(0x11d)]=!this[_0x4fdc5a(0x148)][_0x4fdc5a(0x11d)],this[_0x4fdc5a(0x122)](_0x4fdc5a(0x129),this[_0x4fdc5a(0x148)][_0x4fdc5a(0x11d)]);}[_0x455262(0x128)](){const _0x9729eb=_0x455262;super[_0x9729eb(0x128)](),this[_0x9729eb(0x148)][_0x9729eb(0x128)](),this[_0x9729eb(0x148)][_0x9729eb(0x12c)]&&this[_0x9729eb(0x148)][_0x9729eb(0x12c)][_0x9729eb(0x14a)]();}}
23
+ const _0x1ebfb8=_0x1040;(function(_0x3ee80f,_0x38a845){const _0x412016=_0x1040,_0x536462=_0x3ee80f();while(!![]){try{const _0x5627be=-parseInt(_0x412016(0x124))/0x1*(-parseInt(_0x412016(0x131))/0x2)+-parseInt(_0x412016(0x127))/0x3+-parseInt(_0x412016(0x144))/0x4*(parseInt(_0x412016(0x122))/0x5)+parseInt(_0x412016(0x119))/0x6*(-parseInt(_0x412016(0x13f))/0x7)+parseInt(_0x412016(0x142))/0x8*(parseInt(_0x412016(0x115))/0x9)+-parseInt(_0x412016(0x117))/0xa*(parseInt(_0x412016(0x120))/0xb)+-parseInt(_0x412016(0x130))/0xc*(-parseInt(_0x412016(0x134))/0xd);if(_0x5627be===_0x38a845)break;else _0x536462['push'](_0x536462['shift']());}catch(_0xe619e3){_0x536462['push'](_0x536462['shift']());}}}(_0x548f,0x2268f));function _0x548f(){const _0xec444a=['context','custom','render','config','visibleByDefault','side','7FYOTTW','ai-tabs-unsupported-ui-type','switchType','1881856cDyVok','body','32756TmBxty','ai-tabs-sidebar-container-element-not-found','isMaximized','add','remove','isPremiumPlugin','9evPrnC','pluginName','23390XTtkET','destroy','1391754BfNjeM','ai-tabs-unsupported-ui-side','bind','right','container','focusTracker','includes','528cQrgtm','ai.container','170aIQskS','set','91327bGnRGk','resize','showResizeButton','589623qCSeLp','element','switchSide','sidebar','ai-tabs-configuration-not-found','type','get','overlay','fire','420fJvVRe','4VJnWqX','AITabs','locale','201409gSmZQt','view','resizedTabs','isOfficialPlugin','appendChild'];_0x548f=function(){return _0xec444a;};return _0x548f();}import{ContextPlugin as _0x261421,Editor as _0x48ea8f}from'ckeditor5/src/core.js';import{CKEditorError as _0x1e47c7}from'ckeditor5/src/utils.js';function _0x1040(_0x160d31,_0x348218){const _0x548f50=_0x548f();return _0x1040=function(_0x104002,_0x4440d1){_0x104002=_0x104002-0x115;let _0x31454b=_0x548f50[_0x104002];return _0x31454b;},_0x1040(_0x160d31,_0x348218);}import{AITabsMainView as _0x420eb5,AI_TABS_VIEW_SIDES as _0x10c32e,AI_TABS_VIEW_TYPES as _0x24985c}from'./aitabsmainview.js';export class AITabs extends _0x261421{[_0x1ebfb8(0x135)];[_0x1ebfb8(0x11d)]=null;[_0x1ebfb8(0x126)]=!0x0;static get[_0x1ebfb8(0x116)](){const _0x16c6db=_0x1ebfb8;return _0x16c6db(0x132);}static get[_0x1ebfb8(0x137)](){return!0x0;}static get[_0x1ebfb8(0x149)](){return!0x0;}constructor(_0x476d5d){const _0x19ca4b=_0x1ebfb8;super(_0x476d5d);const _0x4b98a7=this[_0x19ca4b(0x139)][_0x19ca4b(0x13c)][_0x19ca4b(0x12d)](_0x19ca4b(0x121));if(this[_0x19ca4b(0x123)](_0x19ca4b(0x13e),_0x19ca4b(0x11c)),!_0x4b98a7)throw new _0x1e47c7(_0x19ca4b(0x12b));if(void 0x0!==_0x4b98a7[_0x19ca4b(0x126)]&&(this[_0x19ca4b(0x126)]=_0x4b98a7[_0x19ca4b(0x126)]),_0x19ca4b(0x12a)!==_0x4b98a7[_0x19ca4b(0x12c)]&&_0x19ca4b(0x12e)!==_0x4b98a7[_0x19ca4b(0x12c)]||_0x4b98a7[_0x19ca4b(0x13e)]&&(this[_0x19ca4b(0x13e)]=_0x4b98a7[_0x19ca4b(0x13e)]),_0x19ca4b(0x12a)===_0x4b98a7[_0x19ca4b(0x12c)]){if(this[_0x19ca4b(0x11d)]=_0x4b98a7[_0x19ca4b(0x128)],this[_0x19ca4b(0x123)](_0x19ca4b(0x12c),_0x19ca4b(0x12a)),!this[_0x19ca4b(0x11d)])throw new _0x1e47c7(_0x19ca4b(0x145));}else _0x19ca4b(0x12e)===_0x4b98a7[_0x19ca4b(0x12c)]?(this[_0x19ca4b(0x11d)]=document[_0x19ca4b(0x143)],this[_0x19ca4b(0x123)](_0x19ca4b(0x12c),_0x19ca4b(0x12e))):(this[_0x19ca4b(0x11d)]=null,this[_0x19ca4b(0x123)](_0x19ca4b(0x12c),_0x19ca4b(0x13a)));this[_0x19ca4b(0x135)]=new _0x420eb5(this[_0x19ca4b(0x139)][_0x19ca4b(0x133)],{'side':this[_0x19ca4b(0x13e)],'type':this[_0x19ca4b(0x12c)],'visibleByDefault':void 0x0===_0x4b98a7[_0x19ca4b(0x13d)]||_0x4b98a7[_0x19ca4b(0x13d)]}),this[_0x19ca4b(0x135)][_0x19ca4b(0x13b)](),this[_0x19ca4b(0x135)][_0x19ca4b(0x11b)](_0x19ca4b(0x13e))['to'](this,_0x19ca4b(0x13e)),this[_0x19ca4b(0x135)][_0x19ca4b(0x11b)](_0x19ca4b(0x12c))['to'](this,_0x19ca4b(0x12c)),this[_0x19ca4b(0x11d)]&&this[_0x19ca4b(0x11d)][_0x19ca4b(0x138)](this[_0x19ca4b(0x135)][_0x19ca4b(0x128)]),this[_0x19ca4b(0x139)]instanceof _0x48ea8f&&this[_0x19ca4b(0x139)]['ui'][_0x19ca4b(0x11e)][_0x19ca4b(0x147)](this[_0x19ca4b(0x135)][_0x19ca4b(0x128)]);}[_0x1ebfb8(0x141)](_0x20f57b){const _0x3db5a5=_0x1ebfb8;if(_0x20f57b&&this[_0x3db5a5(0x12c)]!==_0x20f57b){if(!_0x24985c[_0x3db5a5(0x11f)](_0x20f57b))throw new _0x1e47c7(_0x3db5a5(0x140));this[_0x3db5a5(0x12c)]=_0x20f57b;}}[_0x1ebfb8(0x129)](_0x42c5c9){const _0x1807f6=_0x1ebfb8;if(_0x42c5c9&&this[_0x1807f6(0x13e)]!==_0x42c5c9){if(!_0x10c32e[_0x1807f6(0x11f)](_0x42c5c9))throw new _0x1e47c7(_0x1807f6(0x11a));this[_0x1807f6(0x13e)]=_0x42c5c9;}}[_0x1ebfb8(0x125)](){const _0x15f545=_0x1ebfb8;this[_0x15f545(0x135)][_0x15f545(0x146)]=!this[_0x15f545(0x135)][_0x15f545(0x146)],this[_0x15f545(0x12f)](_0x15f545(0x136),this[_0x15f545(0x135)][_0x15f545(0x146)]);}[_0x1ebfb8(0x118)](){const _0x120512=_0x1ebfb8;super[_0x120512(0x118)](),this[_0x120512(0x135)][_0x120512(0x118)](),this[_0x120512(0x135)][_0x120512(0x128)]&&this[_0x120512(0x135)][_0x120512(0x128)][_0x120512(0x148)]();}}
@@ -48,4 +48,8 @@ export type AITabsMainViewOptions = AITabsViewOptions & {
48
48
  * * `'custom'` - the tabs are displayed as a custom UI, the integrator is responsible for the layout.
49
49
  */
50
50
  type?: (typeof AI_TABS_VIEW_TYPES)[number];
51
+ /**
52
+ * Whether the AI interface should be visible when created.
53
+ */
54
+ visibleByDefault?: boolean;
51
55
  };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x511a(_0x3dae6f,_0x5022c1){const _0x483bae=_0x483b();return _0x511a=function(_0x511a34,_0x102268){_0x511a34=_0x511a34-0x9b;let _0x58fce9=_0x483bae[_0x511a34];return _0x58fce9;},_0x511a(_0x3dae6f,_0x5022c1);}function _0x483b(){const _0x2551c0=['114gkFiPW','ck-hidden','ck-ai-tabs__sidebar','2400WDcQEc','set','buttonViews','2140YAfIjQ','side','isVisible','160816mmcDmI','custom','728FNglyI','right','add','withText','ck-ai-tabs','bindTemplate','sidebar','435561fVhfUO','left','type','639JxfYjQ','3865uQlQnP','extendTemplate','overlay','11860hXAcKn','6754AKJkwn','ck-ai-tabs__overlay','1204RJZcIv'];_0x483b=function(){return _0x2551c0;};return _0x483b();}const _0x29ac78=_0x511a;(function(_0x134656,_0xd05f74){const _0x49fea9=_0x511a,_0x23293b=_0x134656();while(!![]){try{const _0x2d4692=-parseInt(_0x49fea9(0xad))/0x1+-parseInt(_0x49fea9(0x9d))/0x2+parseInt(_0x49fea9(0xa6))/0x3+parseInt(_0x49fea9(0xb0))/0x4*(parseInt(_0x49fea9(0xaa))/0x5)+-parseInt(_0x49fea9(0xb1))/0x6*(parseInt(_0x49fea9(0x9f))/0x7)+-parseInt(_0x49fea9(0xb4))/0x8*(parseInt(_0x49fea9(0xa9))/0x9)+-parseInt(_0x49fea9(0xb7))/0xa*(parseInt(_0x49fea9(0xae))/0xb);if(_0x2d4692===_0xd05f74)break;else _0x23293b['push'](_0x23293b['shift']());}catch(_0x3f8d3a){_0x23293b['push'](_0x23293b['shift']());}}}(_0x483b,0x1ff68));import{AITabsView as _0x1e06be}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x29ac78(0xac),_0x29ac78(0xa5),_0x29ac78(0x9e)];export const AI_TABS_VIEW_SIDES=[_0x29ac78(0xa7),_0x29ac78(0xa0)];export class AITabsMainView extends _0x1e06be{constructor(_0x54621a,_0x118e67={}){const _0x11d3c4=_0x29ac78;super(_0x54621a,_0x118e67),this[_0x11d3c4(0xb5)](_0x11d3c4(0xa8),_0x118e67[_0x11d3c4(0xa8)]||_0x11d3c4(0xa5)),this[_0x11d3c4(0xb5)](_0x11d3c4(0x9b),_0x118e67[_0x11d3c4(0x9b)]||_0x11d3c4(0xa0)),this[_0x11d3c4(0xb5)](_0x11d3c4(0x9c),!0x0);const _0x2e757f=this[_0x11d3c4(0xa4)];this[_0x11d3c4(0xab)]({'attributes':{'class':[_0x11d3c4(0xa3),_0x2e757f['if'](_0x11d3c4(0xa8),_0x11d3c4(0xaf),_0x34d679=>_0x11d3c4(0xac)===_0x34d679),_0x2e757f['if'](_0x11d3c4(0xa8),_0x11d3c4(0xb3),_0x36d05a=>_0x11d3c4(0xa5)===_0x36d05a),_0x2e757f['if'](_0x11d3c4(0x9c),_0x11d3c4(0xb2),_0x441be6=>!_0x441be6)]}}),this[_0x11d3c4(0xb6)]['on'](_0x11d3c4(0xa1),(_0x5233f9,_0x5d03a2)=>{const _0x1e2435=_0x11d3c4;_0x5d03a2[_0x1e2435(0xb5)](_0x1e2435(0xa2),!0x1);});}}
23
+ const _0x1d32c5=_0xf1dc;function _0xf1dc(_0x179dab,_0x519e04){const _0x33e55b=_0x33e5();return _0xf1dc=function(_0xf1dc40,_0x16e89b){_0xf1dc40=_0xf1dc40-0x147;let _0x5c3b5a=_0x33e55b[_0xf1dc40];return _0x5c3b5a;},_0xf1dc(_0x179dab,_0x519e04);}(function(_0x87bd53,_0x482104){const _0x52097d=_0xf1dc,_0x2a4194=_0x87bd53();while(!![]){try{const _0x4c4a54=-parseInt(_0x52097d(0x149))/0x1+parseInt(_0x52097d(0x159))/0x2+-parseInt(_0x52097d(0x14c))/0x3+parseInt(_0x52097d(0x155))/0x4*(-parseInt(_0x52097d(0x156))/0x5)+parseInt(_0x52097d(0x15a))/0x6*(parseInt(_0x52097d(0x161))/0x7)+parseInt(_0x52097d(0x154))/0x8*(-parseInt(_0x52097d(0x163))/0x9)+parseInt(_0x52097d(0x147))/0xa;if(_0x4c4a54===_0x482104)break;else _0x2a4194['push'](_0x2a4194['shift']());}catch(_0x40bb44){_0x2a4194['push'](_0x2a4194['shift']());}}}(_0x33e5,0xa1809));import{AITabsView as _0x4bc2c5}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x33e5(){const _0x120f93=['15542400kLeWWC','custom','989519uGtxKP','visibleByDefault','bindTemplate','1183893QTEQMq','buttonViews','sidebar','ck-hidden','set','isVisible','withText','side','9360JMRnxh','8PMgynh','362680LBooRa','type','overlay','2302354KskRtY','354aQJxXt','left','ck-ai-tabs','extendTemplate','ck-ai-tabs__sidebar','ck-ai-tabs__overlay','add','73724YVWuiO','right','8739AEjfMR'];_0x33e5=function(){return _0x120f93;};return _0x33e5();}export const AI_TABS_VIEW_TYPES=[_0x1d32c5(0x158),_0x1d32c5(0x14e),_0x1d32c5(0x148)];export const AI_TABS_VIEW_SIDES=[_0x1d32c5(0x15b),_0x1d32c5(0x162)];export class AITabsMainView extends _0x4bc2c5{constructor(_0x11265b,_0x38335b={}){const _0x357701=_0x1d32c5;super(_0x11265b,_0x38335b),this[_0x357701(0x150)](_0x357701(0x157),_0x38335b[_0x357701(0x157)]||_0x357701(0x14e)),this[_0x357701(0x150)](_0x357701(0x153),_0x38335b[_0x357701(0x153)]||_0x357701(0x162)),this[_0x357701(0x150)](_0x357701(0x151),_0x38335b[_0x357701(0x14a)]??!0x0);const _0x47fb8c=this[_0x357701(0x14b)];this[_0x357701(0x15d)]({'attributes':{'class':[_0x357701(0x15c),_0x47fb8c['if'](_0x357701(0x157),_0x357701(0x15f),_0x2525d6=>_0x357701(0x158)===_0x2525d6),_0x47fb8c['if'](_0x357701(0x157),_0x357701(0x15e),_0x49fe39=>_0x357701(0x14e)===_0x49fe39),_0x47fb8c['if'](_0x357701(0x151),_0x357701(0x14f),_0x519a63=>!_0x519a63)]}}),this[_0x357701(0x14d)]['on'](_0x357701(0x160),(_0x533fac,_0x157edd)=>{const _0x3fd49e=_0x357701;_0x157edd[_0x3fd49e(0x150)](_0x3fd49e(0x152),!0x1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35da02=_0x10a5;function _0x10a5(_0x384202,_0x42740d){const _0x2f96b4=_0x2f96();return _0x10a5=function(_0x10a577,_0x2492a0){_0x10a577=_0x10a577-0x9f;let _0x342b9e=_0x2f96b4[_0x10a577];return _0x342b9e;},_0x10a5(_0x384202,_0x42740d);}(function(_0x412191,_0x5cdbca){const _0x53edae=_0x10a5,_0x87121d=_0x412191();while(!![]){try{const _0x10967f=parseInt(_0x53edae(0x9f))/0x1*(-parseInt(_0x53edae(0xa5))/0x2)+parseInt(_0x53edae(0xb4))/0x3*(parseInt(_0x53edae(0xc8))/0x4)+parseInt(_0x53edae(0xbc))/0x5+parseInt(_0x53edae(0xae))/0x6*(parseInt(_0x53edae(0xc9))/0x7)+parseInt(_0x53edae(0xd3))/0x8*(-parseInt(_0x53edae(0xd7))/0x9)+-parseInt(_0x53edae(0xd4))/0xa+parseInt(_0x53edae(0xd1))/0xb;if(_0x10967f===_0x5cdbca)break;else _0x87121d['push'](_0x87121d['shift']());}catch(_0x50cb13){_0x87121d['push'](_0x87121d['shift']());}}}(_0x2f96,0xb7fcf));function _0x2f96(){const _0xcf7ef7=['isOn','panelViews','locale','ck-tabs__panels-container_','addTab:','ck-tabs_','_tabs','ck-ai-tabs_maximized','panel','hide:','getTabIds','bindTemplate','1342229XFjaFq','ui-tabsview-tab-not-found','content','class','fire','show:','2NonuKU','execute','set','ck-tabs__buttons-container_','ck-tabs__panels-container','left','activateTab:','getTab','buttonViews','126wmKKhH','show','ck-reset','reduce','createCollection','side','955770Movouc','length','_getPanel','_showPanel','getIndex','activateTab','icon','children','6742310PYnHrB','_setupButton','_getButton','activeTab','bind','button','right','ck-tabs','keys','add','label','isMaximized','4IcHtkG','98105PvlWsQ','find','_hidePanel','render','buttonIcon','hideTab','isVisible','addTab','27741054LaHrsa','order','22856hhSJvb','13560600VKYnMW','showTab','ck-tabs__buttons-container','3249RUchUY','get','_hideButton','buttonLabel','setTemplate','top','_showButton','div','hide'];_0x2f96=function(){return _0xcf7ef7;};return _0x2f96();}import{View as _0x17568b}from'ckeditor5/src/ui.js';import{toArray as _0x1e4205,CKEditorError as _0x5875b7}from'ckeditor5/src/utils.js';import{TabButtonView as _0x4d0eb9}from'./tabbuttonview.js';import{TabPanelView as _0x448685}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x35da02(0xdc),_0x35da02(0xaa),_0x35da02(0xc2)];export class AITabsView extends _0x17568b{[_0x35da02(0xad)]=this[_0x35da02(0xb2)]();[_0x35da02(0xe1)]=this[_0x35da02(0xb2)]();[_0x35da02(0xe6)]=new Map();constructor(_0x2ba14b,_0x202b6f={}){const _0x3d9ca6=_0x35da02;super(_0x2ba14b),this[_0x3d9ca6(0xa7)](_0x3d9ca6(0xa2),void 0x0),this[_0x3d9ca6(0xa7)](_0x3d9ca6(0xbf),null),this[_0x3d9ca6(0xa7)](_0x3d9ca6(0xb3),_0x202b6f[_0x3d9ca6(0xb3)]||_0x3d9ca6(0xdc)),this[_0x3d9ca6(0xa7)](_0x3d9ca6(0xc7),!0x1);const _0x5dc7e6=this[_0x3d9ca6(0xeb)];this[_0x3d9ca6(0xdb)]({'tag':_0x3d9ca6(0xde),'attributes':{'class':['ck',_0x3d9ca6(0xb0),_0x3d9ca6(0xc3),..._0x1e4205(_0x202b6f[_0x3d9ca6(0xa2)]||[]),_0x5dc7e6['to'](_0x3d9ca6(0xb3),_0xdd23a6=>_0x3d9ca6(0xe5)+_0xdd23a6),_0x5dc7e6['to'](_0x3d9ca6(0xa2)),_0x5dc7e6['to'](_0x3d9ca6(0xc7),_0x595923=>_0x595923?_0x3d9ca6(0xe7):'')],'tabindex':'0'},'children':[{'tag':_0x3d9ca6(0xde),'attributes':{'class':['ck',_0x3d9ca6(0xd6),_0x5dc7e6['to'](_0x3d9ca6(0xb3),_0x10542c=>_0x3d9ca6(0xa8)+_0x10542c)]},'children':this[_0x3d9ca6(0xad)]},{'tag':_0x3d9ca6(0xde),'attributes':{'class':['ck',_0x3d9ca6(0xa9),_0x5dc7e6['to'](_0x3d9ca6(0xb3),_0xc49b4e=>_0x3d9ca6(0xe3)+_0xc49b4e)]},'children':this[_0x3d9ca6(0xe1)]},..._0x1e4205(_0x202b6f[_0x3d9ca6(0xbb)]||[])]});}[_0x35da02(0xea)](){const _0x262b20=_0x35da02;return[...this[_0x262b20(0xe6)][_0x262b20(0xc4)]()];}[_0x35da02(0xac)](_0x491d86){const _0x4d7c2f=_0x35da02,_0x26f855=this[_0x4d7c2f(0xe6)][_0x4d7c2f(0xd8)](_0x491d86);return _0x26f855||null;}[_0x35da02(0xd0)](_0x286a08){const _0x166386=_0x35da02,_0x3a20d3=this[_0x166386(0xbd)]({'id':_0x286a08['id'],'label':_0x286a08[_0x166386(0xda)],'icon':_0x286a08[_0x166386(0xcd)],'order':_0x286a08[_0x166386(0xd2)]}),_0x33589f=new _0x448685(this[_0x166386(0xe2)]);return _0x33589f[_0x166386(0xcc)](),_0x286a08[_0x166386(0xa1)]&&_0x33589f[_0x166386(0xbb)][_0x166386(0xc5)](_0x286a08[_0x166386(0xa1)]),this[_0x166386(0xe1)][_0x166386(0xc5)](_0x33589f),this[_0x166386(0xe6)][_0x166386(0xa7)](_0x286a08['id'],{'button':_0x3a20d3,'panel':_0x33589f,'order':void 0x0!==_0x286a08[_0x166386(0xd2)]?_0x286a08[_0x166386(0xd2)]:null}),this[_0x166386(0xa3)](_0x166386(0xe4)+_0x286a08['id'],{'id':_0x286a08['id'],'button':_0x3a20d3,'panel':_0x33589f}),null===this[_0x166386(0xbf)]?this[_0x166386(0xb9)](_0x286a08['id']):this[_0x166386(0xcb)](_0x286a08['id']),{'button':_0x3a20d3,'panel':_0x33589f};}[_0x35da02(0xb9)](_0x44dbef){const _0x52b969=_0x35da02;if(null!==_0x44dbef&&!this[_0x52b969(0xac)](_0x44dbef))throw new _0x5875b7(_0x52b969(0xa0),{'tabs':this,'tabId':_0x44dbef});this[_0x52b969(0xbf)]!==_0x44dbef&&(this[_0x52b969(0xbf)]&&this[_0x52b969(0xcb)](this[_0x52b969(0xbf)]),this[_0x52b969(0xbf)]=_0x44dbef,_0x44dbef&&this[_0x52b969(0xb7)](_0x44dbef),this[_0x52b969(0xa3)](_0x52b969(0xab)+_0x44dbef,_0x44dbef));}[_0x35da02(0xd5)](_0x3257af){const _0x3409fc=_0x35da02;if(!this[_0x3409fc(0xac)](_0x3257af))throw new _0x5875b7(_0x3409fc(0xa0),{'tabs':this,'tabId':_0x3257af});this[_0x3409fc(0xb7)](_0x3257af),this[_0x3409fc(0xdd)](_0x3257af),this[_0x3409fc(0xa3)](_0x3409fc(0xa4)+_0x3257af,_0x3257af);}[_0x35da02(0xce)](_0x1a0503){const _0x443929=_0x35da02;if(!this[_0x443929(0xac)](_0x1a0503))throw new _0x5875b7(_0x443929(0xa0),{'tabs':this,'tabId':_0x1a0503});const _0x2aebc2=this[_0x443929(0xbf)];this[_0x443929(0xcb)](_0x1a0503),this[_0x443929(0xd9)](_0x1a0503);const _0x118f68=this[_0x443929(0xea)]();_0x2aebc2===_0x1a0503&&_0x118f68[_0x443929(0xb5)]>0x1&&this[_0x443929(0xb9)](_0x118f68[_0x443929(0xca)](_0x546e3a=>_0x546e3a!==_0x1a0503)),this[_0x443929(0xa3)](_0x443929(0xe9)+_0x1a0503,_0x1a0503);}[_0x35da02(0xb6)](_0x590a51){const _0xad2ad=_0x35da02,_0x258705=this[_0xad2ad(0xe6)][_0xad2ad(0xd8)](_0x590a51);return _0x258705?_0x258705[_0xad2ad(0xe8)]:null;}[_0x35da02(0xb7)](_0x110e68){const _0x35af94=_0x35da02;null!==this[_0x35af94(0xbf)]&&this[_0x35af94(0xbf)]!==_0x110e68||this[_0x35af94(0xb6)](_0x110e68)[_0x35af94(0xaf)]();}[_0x35da02(0xcb)](_0x16a3a8){const _0x21c5b1=_0x35da02,_0x315854=this[_0x21c5b1(0xb6)](_0x16a3a8);_0x315854[_0x21c5b1(0xcf)]&&(this[_0x21c5b1(0xbf)]===_0x16a3a8&&(this[_0x21c5b1(0xbf)]=null),_0x315854[_0x21c5b1(0xdf)]());}[_0x35da02(0xbe)](_0x528cb1){const _0x5b2964=_0x35da02,_0x1c08c9=this[_0x5b2964(0xe6)][_0x5b2964(0xd8)](_0x528cb1);return _0x1c08c9?_0x1c08c9[_0x5b2964(0xc1)]:null;}[_0x35da02(0xdd)](_0xe3fb83){const _0x3f3353=_0x35da02;this[_0x3f3353(0xbe)](_0xe3fb83)[_0x3f3353(0xaf)]();}[_0x35da02(0xd9)](_0x49c7e4){const _0x38ade5=_0x35da02;this[_0x38ade5(0xbe)](_0x49c7e4)[_0x38ade5(0xdf)]();}[_0x35da02(0xbd)](_0x4dc48c){const _0x444fdc=_0x35da02,_0x4bb14a=new _0x4d0eb9(this[_0x444fdc(0xe2)],{'side':this[_0x444fdc(0xb3)]}),_0x188f06=this[_0x444fdc(0xad)];if(_0x4bb14a[_0x444fdc(0xa7)]({'label':_0x4dc48c[_0x444fdc(0xc6)],'icon':_0x4dc48c[_0x444fdc(0xba)],'tooltip':!0x0,'withText':!0x0}),_0x4bb14a[_0x444fdc(0xc0)](_0x444fdc(0xe0))['to'](this,_0x444fdc(0xbf),_0x4100ef=>_0x4100ef===_0x4dc48c['id']),_0x4bb14a[_0x444fdc(0xc0)](_0x444fdc(0xb3))['to'](this,_0x444fdc(0xb3)),_0x4dc48c[_0x444fdc(0xd2)]){const _0x3497a4=[...this[_0x444fdc(0xe6)]][_0x444fdc(0xb1)]((_0x27e6ef,_0x63a0a1)=>{const _0xff3b69=_0x444fdc,_0x17ac0a=_0x63a0a1[0x0],{order:_0x41b6fc}=_0x63a0a1[0x1];return!_0x41b6fc||_0x41b6fc>_0x4dc48c[_0xff3b69(0xd2)]?_0x27e6ef:_0x41b6fc>=_0x27e6ef[_0xff3b69(0xd2)]?{'id':_0x17ac0a,'order':_0x41b6fc}:_0x27e6ef;},{'id':'','order':0x0}),_0x421eaf=_0x188f06[_0x444fdc(0xb8)](this[_0x444fdc(0xbe)](_0x3497a4['id']));_0x188f06[_0x444fdc(0xc5)](_0x4bb14a,_0x421eaf+0x1);}else _0x188f06[_0x444fdc(0xc5)](_0x4bb14a);return _0x4bb14a['on'](_0x444fdc(0xa6),()=>{const _0xa99b88=_0x444fdc;this[_0xa99b88(0xb9)](_0x4dc48c['id']);}),_0x4bb14a;}}
23
+ const _0x126f78=_0x5204;(function(_0xcef1d0,_0x2cefb5){const _0x1bc05b=_0x5204,_0x3fc097=_0xcef1d0();while(!![]){try{const _0x3af3ef=-parseInt(_0x1bc05b(0x8e))/0x1+parseInt(_0x1bc05b(0xa7))/0x2+parseInt(_0x1bc05b(0x98))/0x3+-parseInt(_0x1bc05b(0xbb))/0x4*(parseInt(_0x1bc05b(0xc8))/0x5)+-parseInt(_0x1bc05b(0x9d))/0x6+parseInt(_0x1bc05b(0x97))/0x7+parseInt(_0x1bc05b(0xb2))/0x8;if(_0x3af3ef===_0x2cefb5)break;else _0x3fc097['push'](_0x3fc097['shift']());}catch(_0x3a036c){_0x3fc097['push'](_0x3fc097['shift']());}}}(_0x2bb0,0xa69e8));import{View as _0x174094}from'ckeditor5/src/ui.js';function _0x5204(_0x2e708a,_0x54cf2e){const _0x2bb0e0=_0x2bb0();return _0x5204=function(_0x52043e,_0x5d7202){_0x52043e=_0x52043e-0x89;let _0x5dda46=_0x2bb0e0[_0x52043e];return _0x5dda46;},_0x5204(_0x2e708a,_0x54cf2e);}import{toArray as _0x77de7f,CKEditorError as _0x1b1f34}from'ckeditor5/src/utils.js';import{TabButtonView as _0x3b53df}from'./tabbuttonview.js';import{TabPanelView as _0x3f75a3}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x126f78(0xba),_0x126f78(0xa2),_0x126f78(0xaa)];function _0x2bb0(){const _0xc5e5a=['set','createCollection','render','showTab','ck-tabs__buttons-container','2661008IBlxeM','isVisible','getIndex','addTab:','getTab','addTab','ck-tabs_','icon','top','68gKzYdv','panel','_hideButton','add','activeTab','getTabIds','ck-tabs__buttons-container_','find','children','ck-tabs__panels-container','keys','content','buttonIcon','111035sPWiYz','show:','buttonViews','_showPanel','_hidePanel','buttonLabel','_showButton','_setupButton','ck-ai-tabs_maximized','ck-reset','ui-tabsview-tab-not-found','class','button','reduce','panelViews','div','1293386ZuFyZb','_tabs','activateTab:','get','show','bindTemplate','activateTab','setTemplate','locale','9545508ZiCnlX','812652OcQnov','isOn','_getButton','isMaximized','ck-tabs__panels-container_','2471406qpEMzk','hide','fire','side','label','left','bind','order','hide:','length','1596248UWuksL','hideTab','ck-tabs','right','execute','_getPanel'];_0x2bb0=function(){return _0xc5e5a;};return _0x2bb0();}export class AITabsView extends _0x174094{[_0x126f78(0xca)]=this[_0x126f78(0xae)]();[_0x126f78(0x8c)]=this[_0x126f78(0xae)]();[_0x126f78(0x8f)]=new Map();constructor(_0x4e3e0a,_0x55d9d6={}){const _0x9f3fb1=_0x126f78;super(_0x4e3e0a),this[_0x9f3fb1(0xad)](_0x9f3fb1(0x89),void 0x0),this[_0x9f3fb1(0xad)](_0x9f3fb1(0xbf),null),this[_0x9f3fb1(0xad)](_0x9f3fb1(0xa0),_0x55d9d6[_0x9f3fb1(0xa0)]||_0x9f3fb1(0xba)),this[_0x9f3fb1(0xad)](_0x9f3fb1(0x9b),!0x1);const _0x138385=this[_0x9f3fb1(0x93)];this[_0x9f3fb1(0x95)]({'tag':_0x9f3fb1(0x8d),'attributes':{'class':['ck',_0x9f3fb1(0xd1),_0x9f3fb1(0xa9),..._0x77de7f(_0x55d9d6[_0x9f3fb1(0x89)]||[]),_0x138385['to'](_0x9f3fb1(0xa0),_0x3e0b97=>_0x9f3fb1(0xb8)+_0x3e0b97),_0x138385['to'](_0x9f3fb1(0x89)),_0x138385['to'](_0x9f3fb1(0x9b),_0x36b1b3=>_0x36b1b3?_0x9f3fb1(0xd0):'')],'tabindex':'0'},'children':[{'tag':_0x9f3fb1(0x8d),'attributes':{'class':['ck',_0x9f3fb1(0xb1),_0x138385['to'](_0x9f3fb1(0xa0),_0x39e459=>_0x9f3fb1(0xc1)+_0x39e459)]},'children':this[_0x9f3fb1(0xca)]},{'tag':_0x9f3fb1(0x8d),'attributes':{'class':['ck',_0x9f3fb1(0xc4),_0x138385['to'](_0x9f3fb1(0xa0),_0x19b0c5=>_0x9f3fb1(0x9c)+_0x19b0c5)]},'children':this[_0x9f3fb1(0x8c)]},..._0x77de7f(_0x55d9d6[_0x9f3fb1(0xc3)]||[])]});}[_0x126f78(0xc0)](){const _0x25e2d2=_0x126f78;return[...this[_0x25e2d2(0x8f)][_0x25e2d2(0xc5)]()];}[_0x126f78(0xb6)](_0x216b8c){const _0x4d9d29=_0x126f78,_0x36457a=this[_0x4d9d29(0x8f)][_0x4d9d29(0x91)](_0x216b8c);return _0x36457a||null;}[_0x126f78(0xb7)](_0x1e75dd){const _0x1a3d77=_0x126f78,_0x1e1e38=this[_0x1a3d77(0xcf)]({'id':_0x1e75dd['id'],'label':_0x1e75dd[_0x1a3d77(0xcd)],'icon':_0x1e75dd[_0x1a3d77(0xc7)],'order':_0x1e75dd[_0x1a3d77(0xa4)]}),_0xb40832=new _0x3f75a3(this[_0x1a3d77(0x96)]);return _0xb40832[_0x1a3d77(0xaf)](),_0x1e75dd[_0x1a3d77(0xc6)]&&_0xb40832[_0x1a3d77(0xc3)][_0x1a3d77(0xbe)](_0x1e75dd[_0x1a3d77(0xc6)]),this[_0x1a3d77(0x8c)][_0x1a3d77(0xbe)](_0xb40832),this[_0x1a3d77(0x8f)][_0x1a3d77(0xad)](_0x1e75dd['id'],{'button':_0x1e1e38,'panel':_0xb40832,'order':void 0x0!==_0x1e75dd[_0x1a3d77(0xa4)]?_0x1e75dd[_0x1a3d77(0xa4)]:null}),this[_0x1a3d77(0x9f)](_0x1a3d77(0xb5)+_0x1e75dd['id'],{'id':_0x1e75dd['id'],'button':_0x1e1e38,'panel':_0xb40832}),null===this[_0x1a3d77(0xbf)]?this[_0x1a3d77(0x94)](_0x1e75dd['id']):this[_0x1a3d77(0xcc)](_0x1e75dd['id']),{'button':_0x1e1e38,'panel':_0xb40832};}[_0x126f78(0x94)](_0x33b799){const _0x53ab72=_0x126f78;if(null!==_0x33b799&&!this[_0x53ab72(0xb6)](_0x33b799))throw new _0x1b1f34(_0x53ab72(0xd2),{'tabs':this,'tabId':_0x33b799});this[_0x53ab72(0xbf)]!==_0x33b799&&(this[_0x53ab72(0xbf)]&&this[_0x53ab72(0xcc)](this[_0x53ab72(0xbf)]),this[_0x53ab72(0xbf)]=_0x33b799,_0x33b799&&this[_0x53ab72(0xcb)](_0x33b799),this[_0x53ab72(0x9f)](_0x53ab72(0x90)+_0x33b799,_0x33b799));}[_0x126f78(0xb0)](_0x493c28){const _0x1634aa=_0x126f78;if(!this[_0x1634aa(0xb6)](_0x493c28))throw new _0x1b1f34(_0x1634aa(0xd2),{'tabs':this,'tabId':_0x493c28});this[_0x1634aa(0xcb)](_0x493c28),this[_0x1634aa(0xce)](_0x493c28),this[_0x1634aa(0x9f)](_0x1634aa(0xc9)+_0x493c28,_0x493c28);}[_0x126f78(0xa8)](_0x46709a){const _0x42ceef=_0x126f78;if(!this[_0x42ceef(0xb6)](_0x46709a))throw new _0x1b1f34(_0x42ceef(0xd2),{'tabs':this,'tabId':_0x46709a});const _0x217314=this[_0x42ceef(0xbf)];this[_0x42ceef(0xcc)](_0x46709a),this[_0x42ceef(0xbd)](_0x46709a);const _0x3d0028=this[_0x42ceef(0xc0)]();_0x217314===_0x46709a&&_0x3d0028[_0x42ceef(0xa6)]>0x1&&this[_0x42ceef(0x94)](_0x3d0028[_0x42ceef(0xc2)](_0x49ea16=>_0x49ea16!==_0x46709a)),this[_0x42ceef(0x9f)](_0x42ceef(0xa5)+_0x46709a,_0x46709a);}[_0x126f78(0xac)](_0x5031cb){const _0x55ab7b=_0x126f78,_0x22e625=this[_0x55ab7b(0x8f)][_0x55ab7b(0x91)](_0x5031cb);return _0x22e625?_0x22e625[_0x55ab7b(0xbc)]:null;}[_0x126f78(0xcb)](_0x5cec82){const _0x1c82d9=_0x126f78;null!==this[_0x1c82d9(0xbf)]&&this[_0x1c82d9(0xbf)]!==_0x5cec82||this[_0x1c82d9(0xac)](_0x5cec82)[_0x1c82d9(0x92)]();}[_0x126f78(0xcc)](_0x2cb2b0){const _0x28fe26=_0x126f78,_0x59bf60=this[_0x28fe26(0xac)](_0x2cb2b0);_0x59bf60[_0x28fe26(0xb3)]&&(this[_0x28fe26(0xbf)]===_0x2cb2b0&&(this[_0x28fe26(0xbf)]=null),_0x59bf60[_0x28fe26(0x9e)]());}[_0x126f78(0x9a)](_0x37c893){const _0x746b03=_0x126f78,_0x49898a=this[_0x746b03(0x8f)][_0x746b03(0x91)](_0x37c893);return _0x49898a?_0x49898a[_0x746b03(0x8a)]:null;}[_0x126f78(0xce)](_0x46c988){const _0x1f554f=_0x126f78;this[_0x1f554f(0x9a)](_0x46c988)[_0x1f554f(0x92)]();}[_0x126f78(0xbd)](_0x11f21a){const _0x43ebc7=_0x126f78;this[_0x43ebc7(0x9a)](_0x11f21a)[_0x43ebc7(0x9e)]();}[_0x126f78(0xcf)](_0x4a219b){const _0x4e17a5=_0x126f78,_0x3d32a1=new _0x3b53df(this[_0x4e17a5(0x96)],{'side':this[_0x4e17a5(0xa0)]}),_0x209729=this[_0x4e17a5(0xca)];if(_0x3d32a1[_0x4e17a5(0xad)]({'label':_0x4a219b[_0x4e17a5(0xa1)],'icon':_0x4a219b[_0x4e17a5(0xb9)],'tooltip':!0x0,'withText':!0x0}),_0x3d32a1[_0x4e17a5(0xa3)](_0x4e17a5(0x99))['to'](this,_0x4e17a5(0xbf),_0x115433=>_0x115433===_0x4a219b['id']),_0x3d32a1[_0x4e17a5(0xa3)](_0x4e17a5(0xa0))['to'](this,_0x4e17a5(0xa0)),_0x4a219b[_0x4e17a5(0xa4)]){const _0x3cd366=[...this[_0x4e17a5(0x8f)]][_0x4e17a5(0x8b)]((_0x3d966b,_0x32462a)=>{const _0x1a5581=_0x4e17a5,_0x37c6f3=_0x32462a[0x0],{order:_0x2fbcc0}=_0x32462a[0x1];return!_0x2fbcc0||_0x2fbcc0>_0x4a219b[_0x1a5581(0xa4)]?_0x3d966b:_0x2fbcc0>=_0x3d966b[_0x1a5581(0xa4)]?{'id':_0x37c6f3,'order':_0x2fbcc0}:_0x3d966b;},{'id':'','order':0x0}),_0x5e3738=_0x209729[_0x4e17a5(0xb4)](this[_0x4e17a5(0x9a)](_0x3cd366['id']));_0x209729[_0x4e17a5(0xbe)](_0x3d32a1,_0x5e3738+0x1);}else _0x209729[_0x4e17a5(0xbe)](_0x3d32a1);return _0x3d32a1['on'](_0x4e17a5(0xab),()=>{const _0x34eb18=_0x4e17a5;this[_0x34eb18(0x94)](_0x4a219b['id']);}),_0x3d32a1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x918c62=_0x6895;function _0x4b27(){const _0x4a6009=['isToggleable','753998HHXZBI','class','show','6855312uhaBJY','ck-tab-button','266724lzEiUY','1565716OapQsd','410TaRVCe','448oBtNpI','set','extendTemplate','126609SsXGMO','ck-tab-button_','hide','isVisible','166689VKDFIe','660715pmmYki','3afXYzm','bindTemplate','side','top','15LGRqks'];_0x4b27=function(){return _0x4a6009;};return _0x4b27();}(function(_0x383511,_0x3b32a3){const _0x59a891=_0x6895,_0xcd755b=_0x383511();while(!![]){try{const _0x5627df=parseInt(_0x59a891(0xd6))/0x1+parseInt(_0x59a891(0xc5))/0x2*(-parseInt(_0x59a891(0xd0))/0x3)+-parseInt(_0x59a891(0xc4))/0x4*(parseInt(_0x59a891(0xd4))/0x5)+parseInt(_0x59a891(0xd9))/0x6+parseInt(_0x59a891(0xca))/0x7*(-parseInt(_0x59a891(0xc7))/0x8)+parseInt(_0x59a891(0xce))/0x9*(parseInt(_0x59a891(0xc6))/0xa)+-parseInt(_0x59a891(0xcf))/0xb;if(_0x5627df===_0x3b32a3)break;else _0xcd755b['push'](_0xcd755b['shift']());}catch(_0x2f46d8){_0xcd755b['push'](_0xcd755b['shift']());}}}(_0x4b27,0x92809));import{ButtonView as _0x12eb17}from'ckeditor5/src/ui.js';import{toArray as _0x457b9b}from'ckeditor5/src/utils.js';function _0x6895(_0xc2b322,_0x46fc2a){const _0x4b2727=_0x4b27();return _0x6895=function(_0x68959c,_0x3aa9a9){_0x68959c=_0x68959c-0xc4;let _0x51e09d=_0x4b2727[_0x68959c];return _0x51e09d;},_0x6895(_0xc2b322,_0x46fc2a);}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x12eb17{constructor(_0x3f61fc,_0x383918={}){const _0x44d268=_0x6895;super(_0x3f61fc),this[_0x44d268(0xd5)]=!0x0,this[_0x44d268(0xc8)](_0x44d268(0xd2),_0x383918[_0x44d268(0xd2)]||_0x44d268(0xd3));const _0x4b3a2b=this[_0x44d268(0xd1)];this[_0x44d268(0xc9)]({'attributes':{'class':[_0x44d268(0xda),..._0x457b9b(_0x383918[_0x44d268(0xd7)]||[]),_0x4b3a2b['to'](_0x44d268(0xd2),_0xf61a9d=>_0x44d268(0xcb)+_0xf61a9d),_0x4b3a2b['to'](_0x44d268(0xd7))]}});}[_0x918c62(0xd8)](){const _0x848a9d=_0x918c62;this[_0x848a9d(0xc8)](_0x848a9d(0xcd),!0x0);}[_0x918c62(0xcc)](){const _0xaa1bba=_0x918c62;this[_0xaa1bba(0xc8)](_0xaa1bba(0xcd),!0x1);}}
23
+ const _0x24b552=_0x3330;function _0x3330(_0x31dba3,_0x1164b){const _0x396f17=_0x396f();return _0x3330=function(_0x33305a,_0x46d951){_0x33305a=_0x33305a-0x15d;let _0x31b301=_0x396f17[_0x33305a];return _0x31b301;},_0x3330(_0x31dba3,_0x1164b);}(function(_0x3769a4,_0x4f61a8){const _0x4697ac=_0x3330,_0xd0de0=_0x3769a4();while(!![]){try{const _0xc566c2=-parseInt(_0x4697ac(0x15d))/0x1*(-parseInt(_0x4697ac(0x16a))/0x2)+-parseInt(_0x4697ac(0x170))/0x3+parseInt(_0x4697ac(0x160))/0x4+-parseInt(_0x4697ac(0x168))/0x5+-parseInt(_0x4697ac(0x163))/0x6*(-parseInt(_0x4697ac(0x166))/0x7)+-parseInt(_0x4697ac(0x167))/0x8+-parseInt(_0x4697ac(0x162))/0x9;if(_0xc566c2===_0x4f61a8)break;else _0xd0de0['push'](_0xd0de0['shift']());}catch(_0x4b60a0){_0xd0de0['push'](_0xd0de0['shift']());}}}(_0x396f,0xcdfea));import{ButtonView as _0x415c56}from'ckeditor5/src/ui.js';import{toArray as _0x5274fc}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x396f(){const _0x5935a3=['ck-tab-button','hide','extendTemplate','show','2008995VfEbdd','ck-tab-button_','9aTVmUj','class','bindTemplate','4465344kAOFVF','set','2742894tmhTlw','906uJmPvy','isToggleable','isVisible','71498MlRGDE','11729144tjTchX','2623690qFpQJH','side','255648ctQRqI','top'];_0x396f=function(){return _0x5935a3;};return _0x396f();}export class TabButtonView extends _0x415c56{constructor(_0x329dd8,_0xd144d={}){const _0x187ac2=_0x3330;super(_0x329dd8),this[_0x187ac2(0x164)]=!0x0,this[_0x187ac2(0x161)](_0x187ac2(0x169),_0xd144d[_0x187ac2(0x169)]||_0x187ac2(0x16b));const _0x392a02=this[_0x187ac2(0x15f)];this[_0x187ac2(0x16e)]({'attributes':{'class':[_0x187ac2(0x16c),..._0x5274fc(_0xd144d[_0x187ac2(0x15e)]||[]),_0x392a02['to'](_0x187ac2(0x169),_0x39384a=>_0x187ac2(0x171)+_0x39384a),_0x392a02['to'](_0x187ac2(0x15e))]}});}[_0x24b552(0x16f)](){const _0x4d11e=_0x24b552;this[_0x4d11e(0x161)](_0x4d11e(0x165),!0x0);}[_0x24b552(0x16d)](){const _0x4f84e5=_0x24b552;this[_0x4f84e5(0x161)](_0x4f84e5(0x165),!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8bc7bd=_0x26dd;(function(_0x2c3008,_0x4b6ffb){const _0x1e30b5=_0x26dd,_0x3e1479=_0x2c3008();while(!![]){try{const _0x13c492=-parseInt(_0x1e30b5(0x112))/0x1+-parseInt(_0x1e30b5(0x114))/0x2+parseInt(_0x1e30b5(0x118))/0x3*(-parseInt(_0x1e30b5(0x11e))/0x4)+-parseInt(_0x1e30b5(0x122))/0x5*(parseInt(_0x1e30b5(0x11f))/0x6)+parseInt(_0x1e30b5(0x113))/0x7*(-parseInt(_0x1e30b5(0x111))/0x8)+-parseInt(_0x1e30b5(0x11b))/0x9+parseInt(_0x1e30b5(0x121))/0xa*(parseInt(_0x1e30b5(0x11c))/0xb);if(_0x13c492===_0x4b6ffb)break;else _0x3e1479['push'](_0x3e1479['shift']());}catch(_0x11968c){_0x3e1479['push'](_0x3e1479['shift']());}}}(_0x5834,0x7372e));import{View as _0x3e0b10}from'ckeditor5/src/ui.js';function _0x5834(){const _0xed376c=['570991WkTqyu','7KsCXbr','557478IIAfCh','div','children','isVisible','9465HNLqrK','setTemplate','show','1671462hdqLZK','517LpQUEg','ck-hidden','948piFsak','9966JfUnwn','set','769430omVzEi','1695bYqNkb','createCollection','ck-tab-panel','class','hide','bindTemplate','6377448RjdkkW'];_0x5834=function(){return _0xed376c;};return _0x5834();}import{toArray as _0x354dc0}from'ckeditor5/src/utils.js';function _0x26dd(_0x284a1c,_0x33800e){const _0x583421=_0x5834();return _0x26dd=function(_0x26dd2b,_0x2fdbf3){_0x26dd2b=_0x26dd2b-0x10d;let _0x2cf89c=_0x583421[_0x26dd2b];return _0x2cf89c;},_0x26dd(_0x284a1c,_0x33800e);}export class TabPanelView extends _0x3e0b10{[_0x8bc7bd(0x116)];constructor(_0x54235e,_0x3356b8={}){const _0x51a1a4=_0x8bc7bd;super(_0x54235e);const _0x17fb6b=this[_0x51a1a4(0x110)];this[_0x51a1a4(0x120)](_0x51a1a4(0x117),!0x1),this[_0x51a1a4(0x120)](_0x51a1a4(0x10e),''),this[_0x51a1a4(0x116)]=this[_0x51a1a4(0x123)](),this[_0x51a1a4(0x119)]({'tag':_0x51a1a4(0x115),'attributes':{'class':[_0x51a1a4(0x10d),..._0x354dc0(_0x3356b8[_0x51a1a4(0x10e)]||[]),_0x17fb6b['to'](_0x51a1a4(0x10e)),_0x17fb6b['if'](_0x51a1a4(0x117),_0x51a1a4(0x11d),_0x2745e0=>!_0x2745e0)]},'children':this[_0x51a1a4(0x116)]});}[_0x8bc7bd(0x11a)](){const _0xb5d31e=_0x8bc7bd;this[_0xb5d31e(0x120)](_0xb5d31e(0x117),!0x0);}[_0x8bc7bd(0x10f)](){const _0x5142af=_0x8bc7bd;this[_0x5142af(0x120)](_0x5142af(0x117),!0x1);}}
23
+ const _0x4a556d=_0x4aba;(function(_0x2350e8,_0x23a082){const _0x19e1ee=_0x4aba,_0x383056=_0x2350e8();while(!![]){try{const _0x17c44c=-parseInt(_0x19e1ee(0xcc))/0x1*(parseInt(_0x19e1ee(0xcb))/0x2)+parseInt(_0x19e1ee(0xc4))/0x3+-parseInt(_0x19e1ee(0xc8))/0x4*(-parseInt(_0x19e1ee(0xc5))/0x5)+parseInt(_0x19e1ee(0xd6))/0x6+parseInt(_0x19e1ee(0xd3))/0x7*(-parseInt(_0x19e1ee(0xd2))/0x8)+parseInt(_0x19e1ee(0xc2))/0x9*(parseInt(_0x19e1ee(0xc9))/0xa)+-parseInt(_0x19e1ee(0xc1))/0xb;if(_0x17c44c===_0x23a082)break;else _0x383056['push'](_0x383056['shift']());}catch(_0x1d0bac){_0x383056['push'](_0x383056['shift']());}}}(_0x5148,0xc4d9b));import{View as _0x2eaae0}from'ckeditor5/src/ui.js';function _0x5148(){const _0x35efe5=['children','ck-tab-panel','set','ck-hidden','show','17128yGbTLl','1778sHsUnD','bindTemplate','isVisible','5192976hMqfMB','class','29242499DfxyNv','1413GBvpfD','setTemplate','4380492mMrmCG','700xQhQWv','hide','createCollection','40556czgKqK','54260wfYIZn','div','960UdDONd','1226LORtox'];_0x5148=function(){return _0x35efe5;};return _0x5148();}import{toArray as _0x30917b}from'ckeditor5/src/utils.js';function _0x4aba(_0xa08d7,_0x2613de){const _0x5148f5=_0x5148();return _0x4aba=function(_0x4abab3,_0x492fbd){_0x4abab3=_0x4abab3-0xc1;let _0x36ffae=_0x5148f5[_0x4abab3];return _0x36ffae;},_0x4aba(_0xa08d7,_0x2613de);}export class TabPanelView extends _0x2eaae0{[_0x4a556d(0xcd)];constructor(_0x24f4f6,_0x459bf2={}){const _0xad8956=_0x4a556d;super(_0x24f4f6);const _0x14989b=this[_0xad8956(0xd4)];this[_0xad8956(0xcf)](_0xad8956(0xd5),!0x1),this[_0xad8956(0xcf)](_0xad8956(0xd7),''),this[_0xad8956(0xcd)]=this[_0xad8956(0xc7)](),this[_0xad8956(0xc3)]({'tag':_0xad8956(0xca),'attributes':{'class':[_0xad8956(0xce),..._0x30917b(_0x459bf2[_0xad8956(0xd7)]||[]),_0x14989b['to'](_0xad8956(0xd7)),_0x14989b['if'](_0xad8956(0xd5),_0xad8956(0xd0),_0xffa01=>!_0xffa01)]},'children':this[_0xad8956(0xcd)]});}[_0x4a556d(0xd1)](){const _0x2bf5ee=_0x4a556d;this[_0x2bf5ee(0xcf)](_0x2bf5ee(0xd5),!0x0);}[_0x4a556d(0xc6)](){const _0x4b982=_0x4a556d;this[_0x4b982(0xcf)](_0x4b982(0xd5),!0x1);}}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ export {};
package/src/errors.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x335689,_0x1a5069){var _0x3f4e62=_0x3f0f,_0x2d2a42=_0x335689();while(!![]){try{var _0x3e7384=-parseInt(_0x3f4e62(0x1b0))/0x1*(-parseInt(_0x3f4e62(0x1a7))/0x2)+-parseInt(_0x3f4e62(0x1ae))/0x3+parseInt(_0x3f4e62(0x1b1))/0x4+-parseInt(_0x3f4e62(0x1af))/0x5*(parseInt(_0x3f4e62(0x1a8))/0x6)+-parseInt(_0x3f4e62(0x1a6))/0x7*(parseInt(_0x3f4e62(0x1a9))/0x8)+parseInt(_0x3f4e62(0x1ac))/0x9*(parseInt(_0x3f4e62(0x1ab))/0xa)+parseInt(_0x3f4e62(0x1ad))/0xb*(parseInt(_0x3f4e62(0x1aa))/0xc);if(_0x3e7384===_0x1a5069)break;else _0x2d2a42['push'](_0x2d2a42['shift']());}catch(_0x40642a){_0x2d2a42['push'](_0x2d2a42['shift']());}}}(_0x5f36,0xc47e1));function _0x3f0f(_0x116096,_0x304da7){var _0x5f3639=_0x5f36();return _0x3f0f=function(_0x3f0f93,_0x248914){_0x3f0f93=_0x3f0f93-0x1a6;var _0x1fb620=_0x5f3639[_0x3f0f93];return _0x1fb620;},_0x3f0f(_0x116096,_0x304da7);}function _0x5f36(){var _0x23bcaa=['843717ocXLsC','4924iobpeA','678VCccfx','16rQdPIK','116580ZPrwnV','284660fPqydY','18LUCbmo','1023SuiKCN','3125055hqBsTR','3205XMlFGX','48lzdVKe','4325640mIcixu'];_0x5f36=function(){return _0x23bcaa;};return _0x5f36();}import{CKEditorError as _0x1cf20a}from'ckeditor5/src/utils.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1f890b,_0x3932b8){var _0x3a976b=_0x36de,_0x4cd9ad=_0x1f890b();while(!![]){try{var _0x43c85c=parseInt(_0x3a976b(0x97))/0x1*(parseInt(_0x3a976b(0x9a))/0x2)+-parseInt(_0x3a976b(0x9f))/0x3+-parseInt(_0x3a976b(0x9b))/0x4+-parseInt(_0x3a976b(0x9d))/0x5*(-parseInt(_0x3a976b(0x99))/0x6)+parseInt(_0x3a976b(0x9c))/0x7*(parseInt(_0x3a976b(0x9e))/0x8)+parseInt(_0x3a976b(0x98))/0x9+-parseInt(_0x3a976b(0x96))/0xa;if(_0x43c85c===_0x3932b8)break;else _0x4cd9ad['push'](_0x4cd9ad['shift']());}catch(_0x5243c3){_0x4cd9ad['push'](_0x4cd9ad['shift']());}}}(_0x5eef,0x2479a));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';function _0x36de(_0x237891,_0x3e6b40){var _0x5eef29=_0x5eef();return _0x36de=function(_0x36de7d,_0x356aca){_0x36de7d=_0x36de7d-0x96;var _0x5e3f0e=_0x5eef29[_0x36de7d];return _0x5e3f0e;},_0x36de(_0x237891,_0x3e6b40);}export{AIBalloon}from'./aiballoon/aiballoon.js';function _0x5eef(){var _0x49ece6=['5yUXcSK','776jcRCux','207594bWkiLD','2050240Sqlykf','153929ywAawa','483876vwliCo','669666lOOXWU','2BrSxlV','53364jOoZeC','8491ZXcCFI'];_0x5eef=function(){return _0x49ece6;};return _0x5eef();}export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
23
+ (function(_0x1ed3af,_0x504543){var _0x4b56d4=_0xfcd7,_0x3eb248=_0x1ed3af();while(!![]){try{var _0x50b0c8=-parseInt(_0x4b56d4(0xb8))/0x1*(parseInt(_0x4b56d4(0xb4))/0x2)+parseInt(_0x4b56d4(0xb9))/0x3*(-parseInt(_0x4b56d4(0xbb))/0x4)+-parseInt(_0x4b56d4(0xbc))/0x5*(-parseInt(_0x4b56d4(0xb6))/0x6)+-parseInt(_0x4b56d4(0xb5))/0x7+parseInt(_0x4b56d4(0xbe))/0x8*(-parseInt(_0x4b56d4(0xba))/0x9)+parseInt(_0x4b56d4(0xb7))/0xa+parseInt(_0x4b56d4(0xbd))/0xb;if(_0x50b0c8===_0x504543)break;else _0x3eb248['push'](_0x3eb248['shift']());}catch(_0x136c73){_0x3eb248['push'](_0x3eb248['shift']());}}}(_0x5e56,0x6acd3));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';function _0x5e56(){var _0x50afd5=['13095544zmPzCt','79568lepoLi','364866sSmzqW','3480449tRXRnl','768MPeEAw','885960vlkAAI','3MkHCxK','27543CNuHmW','495bIvpmt','52havyFZ','33955mxuGte'];_0x5e56=function(){return _0x50afd5;};return _0x5e56();}export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewModeController}from'./aireviewmode/aireviewmodecontroller.js';export{AIReviewModeEditing}from'./aireviewmode/aireviewmodeediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewmode/model/aireviewcheck.js';function _0xfcd7(_0x1cb0a5,_0x4fcda9){var _0x5e56a7=_0x5e56();return _0xfcd7=function(_0xfcd783,_0x45fe56){_0xfcd783=_0xfcd783-0xb4;var _0x552221=_0x5e56a7[_0xfcd783];return _0x552221;},_0xfcd7(_0x1cb0a5,_0x4fcda9);}export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
@@ -11,6 +11,7 @@
11
11
  &.ck-ai-chat-context-controls__add-context-balloon-panel {
12
12
  min-width: 157px;
13
13
  max-width: 250px;
14
+ z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
14
15
 
15
16
  & .ck-ai-chat-context-controls__balloon-button {
16
17
  width: 100%;
@@ -58,6 +59,8 @@
58
59
  }
59
60
 
60
61
  &.ck-ai-chat-context-controls__url-balloon-panel {
62
+ z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
63
+
61
64
  & .ck-ai-chat-context-controls__url-form {
62
65
  width: var(--ck-ai-chat-context-controls-balloon-width);
63
66
  line-height: var(--ck-form-header-height);
@@ -105,6 +108,7 @@
105
108
  &.ck-ai-chat-context-controls__source-balloon-panel {
106
109
  width: var(--ck-ai-chat-context-controls-balloon-width);
107
110
  height: 319px;
111
+ z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
108
112
 
109
113
  &:has(.ck-ai-skeleton:not(.ck-hidden)) {
110
114
  overflow: hidden;
@@ -0,0 +1,39 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ .ck.ck-ai-chat-controls-model-unavailable-message {
11
+ border: 1px solid hsl(262, 51%, 80%);
12
+ border-radius: 4px;
13
+ background-color: hsla(263, 59%, 52%, 0.051);
14
+
15
+ p {
16
+ white-space: normal;
17
+ line-height: 1.4;
18
+ padding: var(--ck-spacing-large);
19
+
20
+ button.ck-ai-chat-controls__start-new-chat-button {
21
+ background: none;
22
+ border: none;
23
+ padding: 0;
24
+ cursor: default;
25
+ vertical-align: baseline;
26
+ color: var(--ck-ai-chat-color-text);
27
+ text-decoration: underline;
28
+
29
+ &:hover {
30
+ background: none;
31
+ }
32
+
33
+ &:active, &:focus {
34
+ background: none;
35
+ box-shadow: none;
36
+ }
37
+ }
38
+ }
39
+ }
@@ -9,6 +9,7 @@
9
9
 
10
10
  @import './aichat-controls/prompt-input.css';
11
11
  @import './aichat-controls/prompt-capabilities.css';
12
+ @import './aichat-controls/model-unavailable-message.css';
12
13
  @import './aichat-controls/aichat-context-controls.css';
13
14
  @import './aichat-controls/aichat-context-chip.css';
14
15
  @import './aichat-controls/aichat-controls-button.css';
@@ -62,7 +62,6 @@
62
62
  }
63
63
 
64
64
  width: 100%;
65
- min-height: 300px;
66
65
  display: flex;
67
66
  flex-direction: column;
68
67
  overflow: hidden;
@@ -35,6 +35,12 @@
35
35
  gap: var(--ck-spacing-large);
36
36
  position: relative;
37
37
 
38
+ /*
39
+ * Addresses an issue in Chrome where the entire feed gets repainted by the browser's engine when the user
40
+ * types in the prompt textarea. See https://github.com/ckeditor/ckeditor5-commercial/issues/8611.
41
+ */
42
+ contain: size;
43
+
38
44
  /* This is needed to prevent the feed from overflowing when the skeleton is visible. */
39
45
  &:has(.ck-ai-skeleton:not(.ck-hidden)) {
40
46
  overflow: hidden;
@@ -397,6 +403,9 @@
397
403
  * This is the balloon panel for the suggestion actions.
398
404
  */
399
405
  .ck-ai-chat__feed__ai-suggestion__actions__balloon {
406
+ &.ck-balloon-panel {
407
+ z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
408
+ }
400
409
 
401
410
  & .ck-list__item {
402
411
  min-width: fit-content;
@@ -10,6 +10,7 @@
10
10
  @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
11
11
 
12
12
  :root {
13
+ --ck-ai-chat-color-icon-outdated: var(--ck-ai-chat-suggestion-icon-default-color);
13
14
  --ck-ai-chat-suggestion-container-header-font-size: .9em;
14
15
  --ck-ai-background-color-action-button-semi-transparent: hsla(263, 59%, 52%, 0.5);
15
16
  }
@@ -110,6 +111,10 @@
110
111
  color: var(--ck-color-base-error);
111
112
  }
112
113
 
114
+ & > .ck-ai-suggestion__body__content-part__icon-outdated {
115
+ color: var(--ck-ai-chat-color-icon-outdated);
116
+ }
117
+
113
118
  & > .ck-icon,
114
119
  & > .ck-toolbar .ck-icon {
115
120
  --ck-icon-size: 1.477em;
@@ -177,7 +182,8 @@
177
182
  }
178
183
 
179
184
  & .ck-ai-suggestion__body__content-part_accepted,
180
- & .ck-ai-suggestion__body__content-part_rejected {
185
+ & .ck-ai-suggestion__body__content-part_rejected,
186
+ & .ck-ai-suggestion__body__content-part_outdated {
181
187
  & .ck-ai-suggestion__body__content-part__content {
182
188
  opacity: 0.5;
183
189
  }
@@ -12,6 +12,10 @@
12
12
  padding: var(--ck-spacing-standard);
13
13
  width: 300px;
14
14
 
15
+ &:has(.ck-ai-review-mode__check-run-result-response.ck-hidden) {
16
+ width: auto;
17
+ }
18
+
15
19
  & .ck-suggestion-marker {
16
20
  white-space: break-spaces;
17
21
  }
@@ -143,6 +143,10 @@
143
143
  & .ck.ck-button {
144
144
  flex-shrink: 0;
145
145
  }
146
+
147
+ & .ck.ck-labeled-field-view {
148
+ width: 100%;
149
+ }
146
150
  }
147
151
  }
148
152
 
@@ -8,25 +8,6 @@
8
8
  */
9
9
 
10
10
  .ck-ai-review-mode__check-run-result {
11
- & > .ck-ai-review-mode__check-run-result-response {
12
- overflow: hidden;
13
-
14
- &.ck.ck-content:not(:focus) {
15
- /* Reset default padding and border of `ck-content` class. */
16
- padding: 0;
17
- border: 0;
18
- }
19
-
20
- & > * {
21
- white-space: normal;
22
- }
23
-
24
- img {
25
- max-width: 125px;
26
- max-height: 125px;
27
- }
28
- }
29
-
30
11
  & > .ck-ai-review-mode__check-run-result-footer {
31
12
  margin-top: var(--ck-spacing-standard);
32
13
  display: flex;
@@ -48,4 +29,29 @@
48
29
  margin-left: auto;
49
30
  }
50
31
  }
32
+
33
+ & > .ck-ai-review-mode__check-run-result-response {
34
+ overflow: hidden;
35
+
36
+ &.ck.ck-content:not(:focus) {
37
+ /* Reset default padding and border of `ck-content` class. */
38
+ padding: 0;
39
+ border: 0;
40
+ }
41
+
42
+ &.ck-hidden {
43
+ & + .ck-ai-review-mode__check-run-result-footer {
44
+ margin-top: 0;
45
+ }
46
+ }
47
+
48
+ & > * {
49
+ white-space: normal;
50
+ }
51
+
52
+ img {
53
+ max-width: 125px;
54
+ max-height: 125px;
55
+ }
56
+ }
51
57
  }