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

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 (327) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +1 -1
  3. package/ckeditor5-metadata.json +14 -0
  4. package/dist/index-editor.css +70 -19
  5. package/dist/index.css +80 -19
  6. package/dist/index.js +4 -4
  7. package/dist/translations/af.js +1 -1
  8. package/dist/translations/af.umd.js +1 -1
  9. package/dist/translations/ar.js +1 -1
  10. package/dist/translations/ar.umd.js +1 -1
  11. package/dist/translations/ast.js +1 -1
  12. package/dist/translations/ast.umd.js +1 -1
  13. package/dist/translations/az.js +1 -1
  14. package/dist/translations/az.umd.js +1 -1
  15. package/dist/translations/be.js +1 -1
  16. package/dist/translations/be.umd.js +1 -1
  17. package/dist/translations/bg.js +1 -1
  18. package/dist/translations/bg.umd.js +1 -1
  19. package/dist/translations/bn.js +1 -1
  20. package/dist/translations/bn.umd.js +1 -1
  21. package/dist/translations/bs.js +1 -1
  22. package/dist/translations/bs.umd.js +1 -1
  23. package/dist/translations/ca.js +1 -1
  24. package/dist/translations/ca.umd.js +1 -1
  25. package/dist/translations/cs.js +1 -1
  26. package/dist/translations/cs.umd.js +1 -1
  27. package/dist/translations/da.js +1 -1
  28. package/dist/translations/da.umd.js +1 -1
  29. package/dist/translations/de-ch.js +1 -1
  30. package/dist/translations/de-ch.umd.js +1 -1
  31. package/dist/translations/de.js +1 -1
  32. package/dist/translations/de.umd.js +1 -1
  33. package/dist/translations/el.js +1 -1
  34. package/dist/translations/el.umd.js +1 -1
  35. package/dist/translations/en-au.js +1 -1
  36. package/dist/translations/en-au.umd.js +1 -1
  37. package/dist/translations/en-gb.js +1 -1
  38. package/dist/translations/en-gb.umd.js +1 -1
  39. package/dist/translations/en.js +1 -1
  40. package/dist/translations/en.umd.js +1 -1
  41. package/dist/translations/eo.js +1 -1
  42. package/dist/translations/eo.umd.js +1 -1
  43. package/dist/translations/es-co.js +1 -1
  44. package/dist/translations/es-co.umd.js +1 -1
  45. package/dist/translations/es.js +1 -1
  46. package/dist/translations/es.umd.js +1 -1
  47. package/dist/translations/et.js +1 -1
  48. package/dist/translations/et.umd.js +1 -1
  49. package/dist/translations/eu.js +1 -1
  50. package/dist/translations/eu.umd.js +1 -1
  51. package/dist/translations/fa.js +1 -1
  52. package/dist/translations/fa.umd.js +1 -1
  53. package/dist/translations/fi.js +1 -1
  54. package/dist/translations/fi.umd.js +1 -1
  55. package/dist/translations/fr.js +1 -1
  56. package/dist/translations/fr.umd.js +1 -1
  57. package/dist/translations/gl.js +1 -1
  58. package/dist/translations/gl.umd.js +1 -1
  59. package/dist/translations/gu.js +1 -1
  60. package/dist/translations/gu.umd.js +1 -1
  61. package/dist/translations/he.js +1 -1
  62. package/dist/translations/he.umd.js +1 -1
  63. package/dist/translations/hi.js +1 -1
  64. package/dist/translations/hi.umd.js +1 -1
  65. package/dist/translations/hr.js +1 -1
  66. package/dist/translations/hr.umd.js +1 -1
  67. package/dist/translations/hu.js +1 -1
  68. package/dist/translations/hu.umd.js +1 -1
  69. package/dist/translations/hy.js +1 -1
  70. package/dist/translations/hy.umd.js +1 -1
  71. package/dist/translations/id.js +1 -1
  72. package/dist/translations/id.umd.js +1 -1
  73. package/dist/translations/it.js +1 -1
  74. package/dist/translations/it.umd.js +1 -1
  75. package/dist/translations/ja.js +1 -1
  76. package/dist/translations/ja.umd.js +1 -1
  77. package/dist/translations/jv.js +1 -1
  78. package/dist/translations/jv.umd.js +1 -1
  79. package/dist/translations/kk.js +1 -1
  80. package/dist/translations/kk.umd.js +1 -1
  81. package/dist/translations/km.js +1 -1
  82. package/dist/translations/km.umd.js +1 -1
  83. package/dist/translations/kn.js +1 -1
  84. package/dist/translations/kn.umd.js +1 -1
  85. package/dist/translations/ko.js +1 -1
  86. package/dist/translations/ko.umd.js +1 -1
  87. package/dist/translations/ku.js +1 -1
  88. package/dist/translations/ku.umd.js +1 -1
  89. package/dist/translations/lt.js +1 -1
  90. package/dist/translations/lt.umd.js +1 -1
  91. package/dist/translations/lv.js +1 -1
  92. package/dist/translations/lv.umd.js +1 -1
  93. package/dist/translations/ms.js +1 -1
  94. package/dist/translations/ms.umd.js +1 -1
  95. package/dist/translations/nb.js +1 -1
  96. package/dist/translations/nb.umd.js +1 -1
  97. package/dist/translations/ne.js +1 -1
  98. package/dist/translations/ne.umd.js +1 -1
  99. package/dist/translations/nl.js +1 -1
  100. package/dist/translations/nl.umd.js +1 -1
  101. package/dist/translations/no.js +1 -1
  102. package/dist/translations/no.umd.js +1 -1
  103. package/dist/translations/oc.js +1 -1
  104. package/dist/translations/oc.umd.js +1 -1
  105. package/dist/translations/pl.js +1 -1
  106. package/dist/translations/pl.umd.js +1 -1
  107. package/dist/translations/pt-br.js +1 -1
  108. package/dist/translations/pt-br.umd.js +1 -1
  109. package/dist/translations/pt.js +1 -1
  110. package/dist/translations/pt.umd.js +1 -1
  111. package/dist/translations/ro.js +1 -1
  112. package/dist/translations/ro.umd.js +1 -1
  113. package/dist/translations/ru.js +1 -1
  114. package/dist/translations/ru.umd.js +1 -1
  115. package/dist/translations/si.js +1 -1
  116. package/dist/translations/si.umd.js +1 -1
  117. package/dist/translations/sk.js +1 -1
  118. package/dist/translations/sk.umd.js +1 -1
  119. package/dist/translations/sl.js +1 -1
  120. package/dist/translations/sl.umd.js +1 -1
  121. package/dist/translations/sq.js +1 -1
  122. package/dist/translations/sq.umd.js +1 -1
  123. package/dist/translations/sr-latn.js +1 -1
  124. package/dist/translations/sr-latn.umd.js +1 -1
  125. package/dist/translations/sr.js +1 -1
  126. package/dist/translations/sr.umd.js +1 -1
  127. package/dist/translations/sv.js +1 -1
  128. package/dist/translations/sv.umd.js +1 -1
  129. package/dist/translations/th.js +1 -1
  130. package/dist/translations/th.umd.js +1 -1
  131. package/dist/translations/ti.js +1 -1
  132. package/dist/translations/ti.umd.js +1 -1
  133. package/dist/translations/tk.js +1 -1
  134. package/dist/translations/tk.umd.js +1 -1
  135. package/dist/translations/tr.js +1 -1
  136. package/dist/translations/tr.umd.js +1 -1
  137. package/dist/translations/tt.js +1 -1
  138. package/dist/translations/tt.umd.js +1 -1
  139. package/dist/translations/ug.js +1 -1
  140. package/dist/translations/ug.umd.js +1 -1
  141. package/dist/translations/uk.js +1 -1
  142. package/dist/translations/uk.umd.js +1 -1
  143. package/dist/translations/ur.js +1 -1
  144. package/dist/translations/ur.umd.js +1 -1
  145. package/dist/translations/uz.js +1 -1
  146. package/dist/translations/uz.umd.js +1 -1
  147. package/dist/translations/vi.js +1 -1
  148. package/dist/translations/vi.umd.js +1 -1
  149. package/dist/translations/zh-cn.js +1 -1
  150. package/dist/translations/zh-cn.umd.js +1 -1
  151. package/dist/translations/zh.js +1 -1
  152. package/dist/translations/zh.umd.js +1 -1
  153. package/lang/contexts.json +6 -0
  154. package/package.json +15 -15
  155. package/src/aiactions/aiactions.d.ts +0 -2
  156. package/src/aiactions/aiactions.js +1 -1
  157. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  158. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  159. package/src/aiactions/model/aiactionsreply.js +1 -1
  160. package/src/aiassistant/adapters/aiadapter.js +1 -1
  161. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  162. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  163. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  164. package/src/aiassistant/aiassistant.js +1 -1
  165. package/src/aiassistant/aiassistantediting.js +1 -1
  166. package/src/aiassistant/aiassistantui.js +1 -1
  167. package/src/aiassistant/legacyerrors.js +1 -1
  168. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  169. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  170. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  171. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  172. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  173. package/src/aiassistant/ui/form/aiformview.js +1 -1
  174. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  175. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  176. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  177. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  178. package/src/aiassistant/utils/common-translations.js +1 -1
  179. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  180. package/src/aiballoon/aiballoon.js +1 -1
  181. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  182. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  183. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  184. package/src/aiballoon/ui/aiballoonview.js +1 -1
  185. package/src/aichat/aichat.js +1 -1
  186. package/src/aichat/aichatcontroller.d.ts +4 -0
  187. package/src/aichat/aichatcontroller.js +1 -1
  188. package/src/aichat/aichatui.d.ts +9 -2
  189. package/src/aichat/aichatui.js +1 -1
  190. package/src/aichat/model/aichatcontext.js +1 -1
  191. package/src/aichat/model/aichatconversation.js +1 -1
  192. package/src/aichat/model/aichatinteraction.js +1 -1
  193. package/src/aichat/model/aichatmodels.js +1 -1
  194. package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
  195. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  196. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  197. package/src/aichat/ui/aichatfeedview.js +1 -1
  198. package/src/aichat/ui/aichatheaderview.js +1 -1
  199. package/src/aichat/ui/aichatview.js +1 -1
  200. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  202. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  203. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  204. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  205. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  206. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  207. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  210. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  211. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  212. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  216. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  218. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  219. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  220. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  221. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  222. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  223. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  224. package/src/aichat/utils/eventnames.js +1 -1
  225. package/src/aichat/utils/promisequeue.js +1 -1
  226. package/src/aichat/utils/scrollmanager.js +1 -1
  227. package/src/aichathistory/aichathistory.js +1 -1
  228. package/src/aichathistory/aichathistorycontroller.js +1 -1
  229. package/src/aichathistory/aichathistoryui.js +1 -1
  230. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  231. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  232. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  233. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  234. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  235. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  236. package/src/aiconfig.d.ts +17 -0
  237. package/src/aicore/aiconnector.d.ts +13 -0
  238. package/src/aicore/aiconnector.js +1 -1
  239. package/src/aicore/aiediting.js +1 -1
  240. package/src/aicore/model/aicapabilities.js +1 -1
  241. package/src/aicore/model/aicontext.js +1 -1
  242. package/src/aicore/model/aiinteraction.d.ts +41 -1
  243. package/src/aicore/model/aiinteraction.js +1 -1
  244. package/src/aicore/model/aireply.d.ts +2 -2
  245. package/src/aicore/model/aireply.js +1 -1
  246. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  247. package/src/aicore/pipeline/airesponseparser.js +2 -2
  248. package/src/aicore/ui/aidisclaimerview.js +1 -1
  249. package/src/aicore/ui/aiskeleton.js +1 -1
  250. package/src/aicore/ui/aispinner.js +1 -1
  251. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  252. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  253. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  254. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  255. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  256. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  257. package/src/aicore/utils/common-translations.js +1 -1
  258. package/src/aicore/utils/createresizebutton.js +1 -1
  259. package/src/aicore/utils/documentposition.js +1 -1
  260. package/src/aicore/utils/documentrange.js +1 -1
  261. package/src/aicore/utils/eventnames.js +1 -1
  262. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  263. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  264. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  265. package/src/aicore/utils/htmlparser.js +1 -1
  266. package/src/aicore/utils/htmlstreamer.js +1 -1
  267. package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
  268. package/src/aieditorintegration/aieditorintegration.js +23 -0
  269. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
  270. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
  271. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
  272. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
  273. package/src/aiquickactions/aiquickactions.js +1 -1
  274. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  275. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  276. package/src/aiquickactions/aiquickactionsui.js +1 -1
  277. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  278. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  279. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  280. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  281. package/src/aireviewmode/aireviewmode.js +1 -1
  282. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  283. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  284. package/src/aireviewmode/aireviewmodeui.js +1 -1
  285. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  286. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  287. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  288. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  289. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  290. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  291. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  292. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  293. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  294. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  295. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  296. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  303. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  306. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.d.ts +6 -0
  309. package/src/aitabs/aitabsmainview.js +1 -1
  310. package/src/aitabs/tabs/aitabsview.js +1 -1
  311. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  312. package/src/aitabs/tabs/tabpanelview.js +1 -1
  313. package/src/augmentation.d.ts +6 -0
  314. package/src/index.d.ts +4 -1
  315. package/src/index.js +1 -1
  316. package/theme/aiballoon/aiballoon.css +17 -4
  317. package/theme/aichat/aichat-controls.css +6 -0
  318. package/theme/aichat/aichat.css +2 -0
  319. package/theme/aichat/aichathistory.css +26 -9
  320. package/theme/aichat/aiminitoolbar.css +8 -0
  321. package/theme/aichat/aisuggestioncontainer.css +14 -2
  322. package/theme/aireviewmode/aireviewmode-check-run-result.css +6 -0
  323. package/theme/aitabs/aitabsview.css +6 -1
  324. package/theme/common/aibutton.css +0 -4
  325. package/theme/common/aiheader.css +1 -0
  326. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  327. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf78424=_0x32b9;function _0x32b9(_0x5ca19a,_0x2ea143){const _0x2aaf05=_0x2aaf();return _0x32b9=function(_0x32b9cc,_0x18f9ef){_0x32b9cc=_0x32b9cc-0x130;let _0x45350=_0x2aaf05[_0x32b9cc];return _0x45350;},_0x32b9(_0x5ca19a,_0x2ea143);}(function(_0x2bfefe,_0x458aa4){const _0x4f618c=_0x32b9,_0x2c526d=_0x2bfefe();while(!![]){try{const _0xede225=-parseInt(_0x4f618c(0x131))/0x1+-parseInt(_0x4f618c(0x147))/0x2*(-parseInt(_0x4f618c(0x145))/0x3)+-parseInt(_0x4f618c(0x148))/0x4*(-parseInt(_0x4f618c(0x146))/0x5)+parseInt(_0x4f618c(0x144))/0x6*(-parseInt(_0x4f618c(0x134))/0x7)+-parseInt(_0x4f618c(0x136))/0x8*(-parseInt(_0x4f618c(0x13d))/0x9)+parseInt(_0x4f618c(0x138))/0xa*(parseInt(_0x4f618c(0x140))/0xb)+-parseInt(_0x4f618c(0x13e))/0xc;if(_0xede225===_0x458aa4)break;else _0x2c526d['push'](_0x2c526d['shift']());}catch(_0x2e272e){_0x2c526d['push'](_0x2c526d['shift']());}}}(_0x2aaf,0xea911));import{FormRowView as _0x40fd55,ListItemView as _0x1e9637}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x5c4066}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x1e9637{[_0xf78424(0x13c)]=null;constructor(_0x585f17,_0x3d9ff5,_0x6b75a3){const _0x187732=_0xf78424;super(_0x585f17),this[_0x187732(0x143)]=_0x3d9ff5?.[_0x187732(0x143)];if(_0x187732(0x133)===_0x3d9ff5[_0x187732(0x14b)])this[_0x187732(0x13c)]=new _0x5c4066(this[_0x187732(0x13a)],_0x3d9ff5);this[_0x187732(0x149)](_0x187732(0x137),''),this[_0x187732(0x139)](_0x187732(0x137))['to'](this[_0x187732(0x13c)],_0x187732(0x13b));const _0x51579b=new _0x40fd55(this[_0x187732(0x13a)],{'children':[this[_0x187732(0x13c)]],'class':[_0x6b75a3?_0x187732(0x141):'']});_0x6b75a3&&_0x51579b[_0x187732(0x142)][_0x187732(0x14a)](_0x6b75a3),this[_0x187732(0x14c)]({'tag':_0x187732(0x135),'attributes':{'class':['ck',_0x187732(0x132),_0x187732(0x13f)]},'children':[_0x51579b]});}[_0xf78424(0x130)](){const _0x53e0e2=_0xf78424;this[_0x53e0e2(0x13c)][_0x53e0e2(0x130)]();}}function _0x2aaf(){const _0x40a2f7=['resetToDefault','1668597udUROw','ck-ai-review-mode__form-item','dropdown','5242531zDwpCv','div','13716296hKksLa','value','20ulVKZq','bind','locale','formValue','_formItem','9RYydHI','16504332rVPGqm','ck-reset_all','9917897hnBlei','ck-form__row_with-submit','children','argsKey','6YIOnBk','472209MiZvxA','1457335lDFgEM','12DBfJAY','4uopJni','set','add','formType','setTemplate'];_0x2aaf=function(){return _0x40a2f7;};return _0x2aaf();}
23
+ const _0x48d4c0=_0x5589;(function(_0x2b8214,_0x219cb2){const _0x215e5f=_0x5589,_0xeaafd4=_0x2b8214();while(!![]){try{const _0x42d35f=parseInt(_0x215e5f(0xa4))/0x1+parseInt(_0x215e5f(0xa1))/0x2+-parseInt(_0x215e5f(0xb4))/0x3+-parseInt(_0x215e5f(0xb5))/0x4*(-parseInt(_0x215e5f(0x9e))/0x5)+-parseInt(_0x215e5f(0xaa))/0x6+-parseInt(_0x215e5f(0xa7))/0x7*(parseInt(_0x215e5f(0xa0))/0x8)+-parseInt(_0x215e5f(0xa8))/0x9*(-parseInt(_0x215e5f(0xa5))/0xa);if(_0x42d35f===_0x219cb2)break;else _0xeaafd4['push'](_0xeaafd4['shift']());}catch(_0x38df3b){_0xeaafd4['push'](_0xeaafd4['shift']());}}}(_0x2642,0xcbdfd));import{FormRowView as _0x5deefa,ListItemView as _0x5418f8}from'ckeditor5/src/ui.js';function _0x5589(_0x42a71c,_0x363eb4){const _0x2642d8=_0x2642();return _0x5589=function(_0x558979,_0x3998d8){_0x558979=_0x558979-0x9e;let _0xf1cd73=_0x2642d8[_0x558979];return _0xf1cd73;},_0x5589(_0x42a71c,_0x363eb4);}import{AIReviewModeFormDropdownView as _0x3d018e}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x5418f8{[_0x48d4c0(0xac)]=null;constructor(_0x1010a4,_0x3b893f,_0x3aa37f){const _0x5600e3=_0x48d4c0;super(_0x1010a4),this[_0x5600e3(0xb3)]=_0x3b893f?.[_0x5600e3(0xb3)];if(_0x5600e3(0xa2)===_0x3b893f[_0x5600e3(0x9f)])this[_0x5600e3(0xac)]=new _0x3d018e(this[_0x5600e3(0xa3)],_0x3b893f);this[_0x5600e3(0xae)](_0x5600e3(0xa9),''),this[_0x5600e3(0xb1)](_0x5600e3(0xa9))['to'](this[_0x5600e3(0xac)],_0x5600e3(0xb7));const _0x33e352=new _0x5deefa(this[_0x5600e3(0xa3)],{'children':[this[_0x5600e3(0xac)]],'class':[_0x3aa37f?_0x5600e3(0xab):'']});_0x3aa37f&&_0x33e352[_0x5600e3(0xaf)][_0x5600e3(0xad)](_0x3aa37f),this[_0x5600e3(0xa6)]({'tag':_0x5600e3(0xb0),'attributes':{'class':['ck',_0x5600e3(0xb6),_0x5600e3(0xb2)]},'children':[_0x33e352]});}[_0x48d4c0(0xb8)](){const _0x4d67d8=_0x48d4c0;this[_0x4d67d8(0xac)][_0x4d67d8(0xb8)]();}}function _0x2642(){const _0x42426d=['value','9440742byrVkI','ck-form__row_with-submit','_formItem','add','set','children','div','bind','ck-reset_all','argsKey','1477407HyQZZc','1682672xFkcnV','ck-ai-review-mode__form-item','formValue','resetToDefault','5EMcwAP','formType','5033936pXvkHb','1972038qpMsTx','dropdown','locale','1235719IaiVbJ','1268330WMbthX','setTemplate','7EgHcIC','63ZmqbOM'];_0x2642=function(){return _0x42426d;};return _0x2642();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11d8ac=_0x2775;(function(_0x4f50f6,_0x4a2cee){const _0x4e4382=_0x2775,_0x397032=_0x4f50f6();while(!![]){try{const _0x2877c7=parseInt(_0x4e4382(0x187))/0x1*(-parseInt(_0x4e4382(0x195))/0x2)+-parseInt(_0x4e4382(0x191))/0x3+-parseInt(_0x4e4382(0x182))/0x4*(parseInt(_0x4e4382(0x1a0))/0x5)+-parseInt(_0x4e4382(0x184))/0x6*(-parseInt(_0x4e4382(0x185))/0x7)+-parseInt(_0x4e4382(0x188))/0x8*(parseInt(_0x4e4382(0x19a))/0x9)+parseInt(_0x4e4382(0x18e))/0xa+parseInt(_0x4e4382(0x178))/0xb*(parseInt(_0x4e4382(0x17c))/0xc);if(_0x2877c7===_0x4a2cee)break;else _0x397032['push'](_0x397032['shift']());}catch(_0x2eb3d8){_0x397032['push'](_0x397032['shift']());}}}(_0x46de,0x3405a));function _0x46de(){const _0x2e90b8=['source','locale','button','41778WygAIk','div','isOn','setTemplate','672zXbwea','default','label','set','listenTo','ck-ai-review-mode__check-list-item-parameterized-form-element','4uJzkaO','model','42vFzlTE','95963RClXGO','length','178231suPGHG','20152fyrqNv','_prepareListOptions','bindTemplate','_defaultLabel','find','menuitemradio','4213200LERNuX','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','buttonView','631836fSNJDl','_defaultValue','resetToDefault','ck-reset_all','2eAhoJG','execute','data','extendTemplate','bind','369pSFgEJ','_dropdownView','menu','stopPropagation','formValue','add','123835BgxFVQ'];_0x46de=function(){return _0x2e90b8;};return _0x46de();}function _0x2775(_0x57e481,_0x250253){const _0x46dea1=_0x46de();return _0x2775=function(_0x277529,_0xf72d1b){_0x277529=_0x277529-0x175;let _0x19355f=_0x46dea1[_0x277529];return _0x19355f;},_0x2775(_0x57e481,_0x250253);}import{Collection as _0x1b2089}from'ckeditor5/src/utils.js';import{View as _0x2e81b8,createDropdown as _0x500d26,addListToDropdown as _0x187a66,UIModel as _0x501cc6}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x2e81b8{[_0x11d8ac(0x19b)];[_0x11d8ac(0x192)];[_0x11d8ac(0x18b)];constructor(_0xb2fd4e,_0x3ffd61){const _0x1c4ebc=_0x11d8ac;super(_0xb2fd4e),this[_0x1c4ebc(0x192)]=_0x3ffd61[_0x1c4ebc(0x17d)]||(_0x3ffd61[_0x1c4ebc(0x197)][_0x1c4ebc(0x186)]>0x0?_0x3ffd61[_0x1c4ebc(0x197)][0x0]['id']:''),this[_0x1c4ebc(0x18b)]=_0x3ffd61[_0x1c4ebc(0x197)][_0x1c4ebc(0x18c)](_0x375a70=>_0x375a70['id']===this[_0x1c4ebc(0x192)])?.[_0x1c4ebc(0x17e)]||'',this[_0x1c4ebc(0x17f)](_0x1c4ebc(0x19e),''),this[_0x1c4ebc(0x19b)]=_0x500d26(this[_0x1c4ebc(0x176)]);const _0x1e2052=this[_0x1c4ebc(0x189)](_0x3ffd61[_0x1c4ebc(0x197)]);_0x187a66(this[_0x1c4ebc(0x19b)],_0x1e2052,{'role':_0x1c4ebc(0x19c),'ariaLabel':_0x3ffd61[_0x1c4ebc(0x17e)]}),this[_0x1c4ebc(0x19b)][_0x1c4ebc(0x190)][_0x1c4ebc(0x17f)]({'label':this[_0x1c4ebc(0x18b)],'withText':!0x0}),this[_0x1c4ebc(0x19b)][_0x1c4ebc(0x198)]({'on':{'click':this[_0x1c4ebc(0x18a)]['to'](_0x36044e=>{const _0x48c246=_0x1c4ebc;_0x36044e[_0x48c246(0x19d)]();})}}),this[_0x1c4ebc(0x180)](this[_0x1c4ebc(0x19b)],_0x1c4ebc(0x196),_0x527552=>{const _0x3df86d=_0x1c4ebc;this[_0x3df86d(0x19e)]=_0x527552[_0x3df86d(0x175)][_0x3df86d(0x183)]['id'],this[_0x3df86d(0x19b)][_0x3df86d(0x190)][_0x3df86d(0x17e)]=_0x527552[_0x3df86d(0x175)][_0x3df86d(0x183)][_0x3df86d(0x17e)];}),this[_0x1c4ebc(0x17b)]({'tag':_0x1c4ebc(0x179),'attributes':{'class':['ck',_0x1c4ebc(0x194),_0x1c4ebc(0x181),_0x1c4ebc(0x18f)]},'children':[this[_0x1c4ebc(0x19b)]]});}[_0x11d8ac(0x193)](){const _0x50af98=_0x11d8ac;this[_0x50af98(0x19e)]=this[_0x50af98(0x192)],this[_0x50af98(0x19b)][_0x50af98(0x190)][_0x50af98(0x17e)]=this[_0x50af98(0x18b)];}[_0x11d8ac(0x189)](_0x35ee35=[]){const _0x1851fc=_0x11d8ac,_0x26237c=new _0x1b2089();this[_0x1851fc(0x193)]();for(const _0x2f88fe of _0x35ee35){const _0x3ecb12=new _0x501cc6({'label':_0x2f88fe[_0x1851fc(0x17e)],'withText':!0x0,'role':_0x1851fc(0x18d),'id':_0x2f88fe['id'],'model':_0x2f88fe});_0x3ecb12[_0x1851fc(0x199)](_0x1851fc(0x17a))['to'](this,_0x1851fc(0x19e),_0x50c7bf=>_0x50c7bf===_0x3ecb12['id']);const _0xfed28f={'type':_0x1851fc(0x177),'model':_0x3ecb12};_0x26237c[_0x1851fc(0x19f)](_0xfed28f);}return _0x26237c;}}
23
+ function _0x29f4(_0x12a11b,_0x5d0e45){const _0x5baec1=_0x5bae();return _0x29f4=function(_0x29f4b8,_0xd8c5c6){_0x29f4b8=_0x29f4b8-0xb0;let _0x204371=_0x5baec1[_0x29f4b8];return _0x204371;},_0x29f4(_0x12a11b,_0x5d0e45);}function _0x5bae(){const _0x2edc59=['16ZowSXP','260464KhvaTr','set','listenTo','data','1082943yZNLmt','locale','add','5402606vYyAmu','button','div','60urrWhZ','1494806YoNwej','formValue','resetToDefault','execute','ck-reset_all','ck-ai-review-mode__check-list-item-parameterized-form-element','1555127rSJmQQ','isOn','1096020jkFWSz','25egazcw','length','label','model','bind','source','buttonView','_defaultLabel','menu','menuitemradio','12nlzTHY','_dropdownView','stopPropagation','1104546JcUjfV','bindTemplate','find','extendTemplate','setTemplate','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','_defaultValue','_prepareListOptions','default'];_0x5bae=function(){return _0x2edc59;};return _0x5bae();}const _0x113078=_0x29f4;(function(_0x258369,_0x6e7b9f){const _0x476628=_0x29f4,_0x163e73=_0x258369();while(!![]){try{const _0x1054c9=-parseInt(_0x476628(0xcc))/0x1+parseInt(_0x476628(0xc1))/0x2*(-parseInt(_0x476628(0xb4))/0x3)+parseInt(_0x476628(0xd4))/0x4+parseInt(_0x476628(0xd5))/0x5*(-parseInt(_0x476628(0xb7))/0x6)+-parseInt(_0x476628(0xd2))/0x7*(-parseInt(_0x476628(0xc0))/0x8)+parseInt(_0x476628(0xc5))/0x9+parseInt(_0x476628(0xcb))/0xa*(parseInt(_0x476628(0xc8))/0xb);if(_0x1054c9===_0x6e7b9f)break;else _0x163e73['push'](_0x163e73['shift']());}catch(_0x58a3a5){_0x163e73['push'](_0x163e73['shift']());}}}(_0x5bae,0xcf5bd));import{Collection as _0x44508b}from'ckeditor5/src/utils.js';import{View as _0x28f57e,createDropdown as _0x14bf79,addListToDropdown as _0x3b639b,UIModel as _0x152690}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x28f57e{[_0x113078(0xb5)];[_0x113078(0xbd)];[_0x113078(0xb1)];constructor(_0x3191ed,_0x3c2c9f){const _0x4449a7=_0x113078;super(_0x3191ed),this[_0x4449a7(0xbd)]=_0x3c2c9f[_0x4449a7(0xbf)]||(_0x3c2c9f[_0x4449a7(0xc4)][_0x4449a7(0xd6)]>0x0?_0x3c2c9f[_0x4449a7(0xc4)][0x0]['id']:''),this[_0x4449a7(0xb1)]=_0x3c2c9f[_0x4449a7(0xc4)][_0x4449a7(0xb9)](_0x3443f9=>_0x3443f9['id']===this[_0x4449a7(0xbd)])?.[_0x4449a7(0xd7)]||'',this[_0x4449a7(0xc2)](_0x4449a7(0xcd),''),this[_0x4449a7(0xb5)]=_0x14bf79(this[_0x4449a7(0xc6)]);const _0x3a66a3=this[_0x4449a7(0xbe)](_0x3c2c9f[_0x4449a7(0xc4)]);_0x3b639b(this[_0x4449a7(0xb5)],_0x3a66a3,{'role':_0x4449a7(0xb2),'ariaLabel':_0x3c2c9f[_0x4449a7(0xd7)]}),this[_0x4449a7(0xb5)][_0x4449a7(0xb0)][_0x4449a7(0xc2)]({'label':this[_0x4449a7(0xb1)],'withText':!0x0}),this[_0x4449a7(0xb5)][_0x4449a7(0xba)]({'on':{'click':this[_0x4449a7(0xb8)]['to'](_0x5d29a8=>{const _0x45e85e=_0x4449a7;_0x5d29a8[_0x45e85e(0xb6)]();})}}),this[_0x4449a7(0xc3)](this[_0x4449a7(0xb5)],_0x4449a7(0xcf),_0x21c656=>{const _0x3ceb8f=_0x4449a7;this[_0x3ceb8f(0xcd)]=_0x21c656[_0x3ceb8f(0xda)][_0x3ceb8f(0xd8)]['id'],this[_0x3ceb8f(0xb5)][_0x3ceb8f(0xb0)][_0x3ceb8f(0xd7)]=_0x21c656[_0x3ceb8f(0xda)][_0x3ceb8f(0xd8)][_0x3ceb8f(0xd7)];}),this[_0x4449a7(0xbb)]({'tag':_0x4449a7(0xca),'attributes':{'class':['ck',_0x4449a7(0xd0),_0x4449a7(0xd1),_0x4449a7(0xbc)]},'children':[this[_0x4449a7(0xb5)]]});}[_0x113078(0xce)](){const _0x5b1cff=_0x113078;this[_0x5b1cff(0xcd)]=this[_0x5b1cff(0xbd)],this[_0x5b1cff(0xb5)][_0x5b1cff(0xb0)][_0x5b1cff(0xd7)]=this[_0x5b1cff(0xb1)];}[_0x113078(0xbe)](_0x3873b1=[]){const _0x5005a1=_0x113078,_0x5319aa=new _0x44508b();this[_0x5005a1(0xce)]();for(const _0x437944 of _0x3873b1){const _0x4ddd1d=new _0x152690({'label':_0x437944[_0x5005a1(0xd7)],'withText':!0x0,'role':_0x5005a1(0xb3),'id':_0x437944['id'],'model':_0x437944});_0x4ddd1d[_0x5005a1(0xd9)](_0x5005a1(0xd3))['to'](this,_0x5005a1(0xcd),_0x52f7a9=>_0x52f7a9===_0x4ddd1d['id']);const _0x51752a={'type':_0x5005a1(0xc9),'model':_0x4ddd1d};_0x5319aa[_0x5005a1(0xc7)](_0x51752a);}return _0x5319aa;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf78424=_0x32b9;function _0x32b9(_0x5ca19a,_0x2ea143){const _0x2aaf05=_0x2aaf();return _0x32b9=function(_0x32b9cc,_0x18f9ef){_0x32b9cc=_0x32b9cc-0x130;let _0x45350=_0x2aaf05[_0x32b9cc];return _0x45350;},_0x32b9(_0x5ca19a,_0x2ea143);}(function(_0x2bfefe,_0x458aa4){const _0x4f618c=_0x32b9,_0x2c526d=_0x2bfefe();while(!![]){try{const _0xede225=-parseInt(_0x4f618c(0x131))/0x1+-parseInt(_0x4f618c(0x147))/0x2*(-parseInt(_0x4f618c(0x145))/0x3)+-parseInt(_0x4f618c(0x148))/0x4*(-parseInt(_0x4f618c(0x146))/0x5)+parseInt(_0x4f618c(0x144))/0x6*(-parseInt(_0x4f618c(0x134))/0x7)+-parseInt(_0x4f618c(0x136))/0x8*(-parseInt(_0x4f618c(0x13d))/0x9)+parseInt(_0x4f618c(0x138))/0xa*(parseInt(_0x4f618c(0x140))/0xb)+-parseInt(_0x4f618c(0x13e))/0xc;if(_0xede225===_0x458aa4)break;else _0x2c526d['push'](_0x2c526d['shift']());}catch(_0x2e272e){_0x2c526d['push'](_0x2c526d['shift']());}}}(_0x2aaf,0xea911));import{FormRowView as _0x40fd55,ListItemView as _0x1e9637}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x5c4066}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x1e9637{[_0xf78424(0x13c)]=null;constructor(_0x585f17,_0x3d9ff5,_0x6b75a3){const _0x187732=_0xf78424;super(_0x585f17),this[_0x187732(0x143)]=_0x3d9ff5?.[_0x187732(0x143)];if(_0x187732(0x133)===_0x3d9ff5[_0x187732(0x14b)])this[_0x187732(0x13c)]=new _0x5c4066(this[_0x187732(0x13a)],_0x3d9ff5);this[_0x187732(0x149)](_0x187732(0x137),''),this[_0x187732(0x139)](_0x187732(0x137))['to'](this[_0x187732(0x13c)],_0x187732(0x13b));const _0x51579b=new _0x40fd55(this[_0x187732(0x13a)],{'children':[this[_0x187732(0x13c)]],'class':[_0x6b75a3?_0x187732(0x141):'']});_0x6b75a3&&_0x51579b[_0x187732(0x142)][_0x187732(0x14a)](_0x6b75a3),this[_0x187732(0x14c)]({'tag':_0x187732(0x135),'attributes':{'class':['ck',_0x187732(0x132),_0x187732(0x13f)]},'children':[_0x51579b]});}[_0xf78424(0x130)](){const _0x53e0e2=_0xf78424;this[_0x53e0e2(0x13c)][_0x53e0e2(0x130)]();}}function _0x2aaf(){const _0x40a2f7=['resetToDefault','1668597udUROw','ck-ai-review-mode__form-item','dropdown','5242531zDwpCv','div','13716296hKksLa','value','20ulVKZq','bind','locale','formValue','_formItem','9RYydHI','16504332rVPGqm','ck-reset_all','9917897hnBlei','ck-form__row_with-submit','children','argsKey','6YIOnBk','472209MiZvxA','1457335lDFgEM','12DBfJAY','4uopJni','set','add','formType','setTemplate'];_0x2aaf=function(){return _0x40a2f7;};return _0x2aaf();}
23
+ const _0x48d4c0=_0x5589;(function(_0x2b8214,_0x219cb2){const _0x215e5f=_0x5589,_0xeaafd4=_0x2b8214();while(!![]){try{const _0x42d35f=parseInt(_0x215e5f(0xa4))/0x1+parseInt(_0x215e5f(0xa1))/0x2+-parseInt(_0x215e5f(0xb4))/0x3+-parseInt(_0x215e5f(0xb5))/0x4*(-parseInt(_0x215e5f(0x9e))/0x5)+-parseInt(_0x215e5f(0xaa))/0x6+-parseInt(_0x215e5f(0xa7))/0x7*(parseInt(_0x215e5f(0xa0))/0x8)+-parseInt(_0x215e5f(0xa8))/0x9*(-parseInt(_0x215e5f(0xa5))/0xa);if(_0x42d35f===_0x219cb2)break;else _0xeaafd4['push'](_0xeaafd4['shift']());}catch(_0x38df3b){_0xeaafd4['push'](_0xeaafd4['shift']());}}}(_0x2642,0xcbdfd));import{FormRowView as _0x5deefa,ListItemView as _0x5418f8}from'ckeditor5/src/ui.js';function _0x5589(_0x42a71c,_0x363eb4){const _0x2642d8=_0x2642();return _0x5589=function(_0x558979,_0x3998d8){_0x558979=_0x558979-0x9e;let _0xf1cd73=_0x2642d8[_0x558979];return _0xf1cd73;},_0x5589(_0x42a71c,_0x363eb4);}import{AIReviewModeFormDropdownView as _0x3d018e}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x5418f8{[_0x48d4c0(0xac)]=null;constructor(_0x1010a4,_0x3b893f,_0x3aa37f){const _0x5600e3=_0x48d4c0;super(_0x1010a4),this[_0x5600e3(0xb3)]=_0x3b893f?.[_0x5600e3(0xb3)];if(_0x5600e3(0xa2)===_0x3b893f[_0x5600e3(0x9f)])this[_0x5600e3(0xac)]=new _0x3d018e(this[_0x5600e3(0xa3)],_0x3b893f);this[_0x5600e3(0xae)](_0x5600e3(0xa9),''),this[_0x5600e3(0xb1)](_0x5600e3(0xa9))['to'](this[_0x5600e3(0xac)],_0x5600e3(0xb7));const _0x33e352=new _0x5deefa(this[_0x5600e3(0xa3)],{'children':[this[_0x5600e3(0xac)]],'class':[_0x3aa37f?_0x5600e3(0xab):'']});_0x3aa37f&&_0x33e352[_0x5600e3(0xaf)][_0x5600e3(0xad)](_0x3aa37f),this[_0x5600e3(0xa6)]({'tag':_0x5600e3(0xb0),'attributes':{'class':['ck',_0x5600e3(0xb6),_0x5600e3(0xb2)]},'children':[_0x33e352]});}[_0x48d4c0(0xb8)](){const _0x4d67d8=_0x48d4c0;this[_0x4d67d8(0xac)][_0x4d67d8(0xb8)]();}}function _0x2642(){const _0x42426d=['value','9440742byrVkI','ck-form__row_with-submit','_formItem','add','set','children','div','bind','ck-reset_all','argsKey','1477407HyQZZc','1682672xFkcnV','ck-ai-review-mode__form-item','formValue','resetToDefault','5EMcwAP','formType','5033936pXvkHb','1972038qpMsTx','dropdown','locale','1235719IaiVbJ','1268330WMbthX','setTemplate','7EgHcIC','63ZmqbOM'];_0x2642=function(){return _0x42426d;};return _0x2642();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3040fe=_0xedb7;function _0xedb7(_0x4c3423,_0x22cf32){const _0xba6ea1=_0xba6e();return _0xedb7=function(_0xedb7ff,_0x57023a){_0xedb7ff=_0xedb7ff-0x92;let _0x12327f=_0xba6ea1[_0xedb7ff];return _0x12327f;},_0xedb7(_0x4c3423,_0x22cf32);}(function(_0x357b08,_0x565e00){const _0x4dbe34=_0xedb7,_0x497413=_0x357b08();while(!![]){try{const _0x4cb9c2=-parseInt(_0x4dbe34(0xa7))/0x1+parseInt(_0x4dbe34(0xba))/0x2*(parseInt(_0x4dbe34(0xbd))/0x3)+-parseInt(_0x4dbe34(0xa3))/0x4*(parseInt(_0x4dbe34(0xb8))/0x5)+parseInt(_0x4dbe34(0xc2))/0x6+-parseInt(_0x4dbe34(0xaf))/0x7+parseInt(_0x4dbe34(0x9a))/0x8+-parseInt(_0x4dbe34(0x94))/0x9*(-parseInt(_0x4dbe34(0xb0))/0xa);if(_0x4cb9c2===_0x565e00)break;else _0x497413['push'](_0x497413['shift']());}catch(_0x1f9efe){_0x497413['push'](_0x497413['shift']());}}}(_0xba6e,0x25488));import{ContextPlugin as _0x40aee1,Editor as _0x2244cc}from'ckeditor5/src/core.js';function _0xba6e(){const _0xc9b927=['resizedTabs','9szUSwI','side','add','showResizeButton','right','resize','1721960JsSALa','switchType','ai-tabs-configuration-not-found','remove','body','ai-tabs-sidebar-container-element-not-found','appendChild','includes','switchSide','32700KEOPuL','overlay','locale','isPremiumPlugin','4958haqPSc','focusTracker','bind','destroy','ai-tabs-unsupported-ui-side','ai.container','fire','config','650888aWfiMn','388580VbLYcW','set','render','AITabs','ai-tabs-unsupported-ui-type','isOfficialPlugin','container','sidebar','145PqazHZ','type','18946uMJMtW','context','custom','63UHSGJP','view','element','get','pluginName','208158lTVNFO','isMaximized'];_0xba6e=function(){return _0xc9b927;};return _0xba6e();}import{CKEditorError as _0x4013d3}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x1aced2,AI_TABS_VIEW_SIDES as _0x558e46,AI_TABS_VIEW_TYPES as _0x4346dc}from'./aitabsmainview.js';export class AITabs extends _0x40aee1{[_0x3040fe(0xbe)];[_0x3040fe(0xb6)]=null;[_0x3040fe(0x97)]=!0x0;static get[_0x3040fe(0xc1)](){const _0x225754=_0x3040fe;return _0x225754(0xb3);}static get[_0x3040fe(0xb5)](){return!0x0;}static get[_0x3040fe(0xa6)](){return!0x0;}constructor(_0x4fa96c){const _0x2cddba=_0x3040fe;super(_0x4fa96c);const _0x18419b=this[_0x2cddba(0xbb)][_0x2cddba(0xae)][_0x2cddba(0xc0)](_0x2cddba(0xac));if(this[_0x2cddba(0xb1)](_0x2cddba(0x95),_0x2cddba(0x98)),!_0x18419b)throw new _0x4013d3(_0x2cddba(0x9c));if(void 0x0!==_0x18419b[_0x2cddba(0x97)]&&(this[_0x2cddba(0x97)]=_0x18419b[_0x2cddba(0x97)]),_0x2cddba(0xb7)!==_0x18419b[_0x2cddba(0xb9)]&&_0x2cddba(0xa4)!==_0x18419b[_0x2cddba(0xb9)]||_0x18419b[_0x2cddba(0x95)]&&(this[_0x2cddba(0x95)]=_0x18419b[_0x2cddba(0x95)]),_0x2cddba(0xb7)===_0x18419b[_0x2cddba(0xb9)]){if(this[_0x2cddba(0xb6)]=_0x18419b[_0x2cddba(0xbf)],this[_0x2cddba(0xb1)](_0x2cddba(0xb9),_0x2cddba(0xb7)),!this[_0x2cddba(0xb6)])throw new _0x4013d3(_0x2cddba(0x9f));}else _0x2cddba(0xa4)===_0x18419b[_0x2cddba(0xb9)]?(this[_0x2cddba(0xb6)]=document[_0x2cddba(0x9e)],this[_0x2cddba(0xb1)](_0x2cddba(0xb9),_0x2cddba(0xa4))):(this[_0x2cddba(0xb6)]=null,this[_0x2cddba(0xb1)](_0x2cddba(0xb9),_0x2cddba(0xbc)));this[_0x2cddba(0xbe)]=new _0x1aced2(this[_0x2cddba(0xbb)][_0x2cddba(0xa5)],{'side':this[_0x2cddba(0x95)],'type':this[_0x2cddba(0xb9)]}),this[_0x2cddba(0xbe)][_0x2cddba(0xb2)](),this[_0x2cddba(0xbe)][_0x2cddba(0xa9)](_0x2cddba(0x95))['to'](this,_0x2cddba(0x95)),this[_0x2cddba(0xbe)][_0x2cddba(0xa9)](_0x2cddba(0xb9))['to'](this,_0x2cddba(0xb9)),this[_0x2cddba(0xb6)]&&this[_0x2cddba(0xb6)][_0x2cddba(0xa0)](this[_0x2cddba(0xbe)][_0x2cddba(0xbf)]),this[_0x2cddba(0xbb)]instanceof _0x2244cc&&this[_0x2cddba(0xbb)]['ui'][_0x2cddba(0xa8)][_0x2cddba(0x96)](this[_0x2cddba(0xbe)][_0x2cddba(0xbf)]);}[_0x3040fe(0x9b)](_0x1cf4b0){const _0x4855ef=_0x3040fe;if(_0x1cf4b0&&this[_0x4855ef(0xb9)]!==_0x1cf4b0){if(!_0x4346dc[_0x4855ef(0xa1)](_0x1cf4b0))throw new _0x4013d3(_0x4855ef(0xb4));this[_0x4855ef(0xb9)]=_0x1cf4b0;}}[_0x3040fe(0xa2)](_0x3ac863){const _0x5c3631=_0x3040fe;if(_0x3ac863&&this[_0x5c3631(0x95)]!==_0x3ac863){if(!_0x558e46[_0x5c3631(0xa1)](_0x3ac863))throw new _0x4013d3(_0x5c3631(0xab));this[_0x5c3631(0x95)]=_0x3ac863;}}[_0x3040fe(0x99)](){const _0x5b13f4=_0x3040fe;this[_0x5b13f4(0xbe)][_0x5b13f4(0x92)]=!this[_0x5b13f4(0xbe)][_0x5b13f4(0x92)],this[_0x5b13f4(0xad)](_0x5b13f4(0x93),this[_0x5b13f4(0xbe)][_0x5b13f4(0x92)]);}[_0x3040fe(0xaa)](){const _0x51ccee=_0x3040fe;super[_0x51ccee(0xaa)](),this[_0x51ccee(0xbe)][_0x51ccee(0xaa)](),this[_0x51ccee(0xbe)][_0x51ccee(0xbf)]&&this[_0x51ccee(0xbe)][_0x51ccee(0xbf)][_0x51ccee(0x9d)]();}}
23
+ const _0x245bb2=_0x1f12;(function(_0x556ff1,_0x216949){const _0x40023c=_0x1f12,_0x210dfa=_0x556ff1();while(!![]){try{const _0x3358c0=-parseInt(_0x40023c(0xaf))/0x1+-parseInt(_0x40023c(0xa6))/0x2*(parseInt(_0x40023c(0xa3))/0x3)+parseInt(_0x40023c(0xb4))/0x4+parseInt(_0x40023c(0xb5))/0x5*(parseInt(_0x40023c(0x9c))/0x6)+-parseInt(_0x40023c(0x9a))/0x7+parseInt(_0x40023c(0xb8))/0x8*(-parseInt(_0x40023c(0x9f))/0x9)+parseInt(_0x40023c(0x95))/0xa;if(_0x3358c0===_0x216949)break;else _0x210dfa['push'](_0x210dfa['shift']());}catch(_0x183931){_0x210dfa['push'](_0x210dfa['shift']());}}}(_0x1d1b,0x1c66c));import{ContextPlugin as _0x5a8989,Editor as _0x1326c3}from'ckeditor5/src/core.js';import{CKEditorError as _0x308793}from'ckeditor5/src/utils.js';function _0x1f12(_0x48307c,_0x1e3660){const _0x1d1b29=_0x1d1b();return _0x1f12=function(_0x1f1253,_0x3efe58){_0x1f1253=_0x1f1253-0x91;let _0x1c54cb=_0x1d1b29[_0x1f1253];return _0x1c54cb;},_0x1f12(_0x48307c,_0x1e3660);}import{AITabsMainView as _0x28e120,AI_TABS_VIEW_SIDES as _0x38d904,AI_TABS_VIEW_TYPES as _0x314df8}from'./aitabsmainview.js';export class AITabs extends _0x5a8989{[_0x245bb2(0xa0)];[_0x245bb2(0x94)]=null;[_0x245bb2(0x99)]=!0x0;static get[_0x245bb2(0xbc)](){const _0x198b12=_0x245bb2;return _0x198b12(0xbf);}static get[_0x245bb2(0x93)](){return!0x0;}static get[_0x245bb2(0xb3)](){return!0x0;}constructor(_0x2883a2){const _0xddc03=_0x245bb2;super(_0x2883a2);const _0x2fb03a=this[_0xddc03(0xac)][_0xddc03(0x9d)][_0xddc03(0xbe)](_0xddc03(0x91));if(this[_0xddc03(0xb9)](_0xddc03(0xa1),_0xddc03(0xa2)),!_0x2fb03a)throw new _0x308793(_0xddc03(0x98));if(void 0x0!==_0x2fb03a[_0xddc03(0x99)]&&(this[_0xddc03(0x99)]=_0x2fb03a[_0xddc03(0x99)]),_0xddc03(0x9b)!==_0x2fb03a[_0xddc03(0x9e)]&&_0xddc03(0xae)!==_0x2fb03a[_0xddc03(0x9e)]||_0x2fb03a[_0xddc03(0xa1)]&&(this[_0xddc03(0xa1)]=_0x2fb03a[_0xddc03(0xa1)]),_0xddc03(0x9b)===_0x2fb03a[_0xddc03(0x9e)]){if(this[_0xddc03(0x94)]=_0x2fb03a[_0xddc03(0xb2)],this[_0xddc03(0xb9)](_0xddc03(0x9e),_0xddc03(0x9b)),!this[_0xddc03(0x94)])throw new _0x308793(_0xddc03(0xa7));}else _0xddc03(0xae)===_0x2fb03a[_0xddc03(0x9e)]?(this[_0xddc03(0x94)]=document[_0xddc03(0xab)],this[_0xddc03(0xb9)](_0xddc03(0x9e),_0xddc03(0xae))):(this[_0xddc03(0x94)]=null,this[_0xddc03(0xb9)](_0xddc03(0x9e),_0xddc03(0xba)));this[_0xddc03(0xa0)]=new _0x28e120(this[_0xddc03(0xac)][_0xddc03(0xb1)],{'side':this[_0xddc03(0xa1)],'type':this[_0xddc03(0x9e)]}),this[_0xddc03(0xa0)][_0xddc03(0x97)](),this[_0xddc03(0xa0)][_0xddc03(0xaa)](_0xddc03(0xa1))['to'](this,_0xddc03(0xa1)),this[_0xddc03(0xa0)][_0xddc03(0xaa)](_0xddc03(0x9e))['to'](this,_0xddc03(0x9e)),this[_0xddc03(0x94)]&&this[_0xddc03(0x94)][_0xddc03(0xc0)](this[_0xddc03(0xa0)][_0xddc03(0xb2)]),this[_0xddc03(0xac)]instanceof _0x1326c3&&this[_0xddc03(0xac)]['ui'][_0xddc03(0xbd)][_0xddc03(0xad)](this[_0xddc03(0xa0)][_0xddc03(0xb2)]);}[_0x245bb2(0xa4)](_0x3b9b44){const _0x372ac5=_0x245bb2;if(_0x3b9b44&&this[_0x372ac5(0x9e)]!==_0x3b9b44){if(!_0x314df8[_0x372ac5(0xbb)](_0x3b9b44))throw new _0x308793(_0x372ac5(0x92));this[_0x372ac5(0x9e)]=_0x3b9b44;}}[_0x245bb2(0xa9)](_0x33b139){const _0x40607f=_0x245bb2;if(_0x33b139&&this[_0x40607f(0xa1)]!==_0x33b139){if(!_0x38d904[_0x40607f(0xbb)](_0x33b139))throw new _0x308793(_0x40607f(0xb7));this[_0x40607f(0xa1)]=_0x33b139;}}[_0x245bb2(0xa5)](){const _0x3b52c7=_0x245bb2;this[_0x3b52c7(0xa0)][_0x3b52c7(0xb6)]=!this[_0x3b52c7(0xa0)][_0x3b52c7(0xb6)],this[_0x3b52c7(0xa8)](_0x3b52c7(0x96),this[_0x3b52c7(0xa0)][_0x3b52c7(0xb6)]);}[_0x245bb2(0xc1)](){const _0x24f0b2=_0x245bb2;super[_0x24f0b2(0xc1)](),this[_0x24f0b2(0xa0)][_0x24f0b2(0xc1)](),this[_0x24f0b2(0xa0)][_0x24f0b2(0xb2)]&&this[_0x24f0b2(0xa0)][_0x24f0b2(0xb2)][_0x24f0b2(0xb0)]();}}function _0x1d1b(){const _0x4fe940=['fire','switchSide','bind','body','context','add','overlay','130460ExKodx','remove','locale','element','isPremiumPlugin','97872xmyQhG','409715knKawz','isMaximized','ai-tabs-unsupported-ui-side','1170984MktLZV','set','custom','includes','pluginName','focusTracker','get','AITabs','appendChild','destroy','ai.container','ai-tabs-unsupported-ui-type','isOfficialPlugin','container','3412400oGLpec','resizedTabs','render','ai-tabs-configuration-not-found','showResizeButton','276710LuMUvH','sidebar','12TdVCpz','config','type','9XIhbTh','view','side','right','290697oaoOwZ','switchType','resize','2Ixtsrh','ai-tabs-sidebar-container-element-not-found'];_0x1d1b=function(){return _0x4fe940;};return _0x1d1b();}
@@ -25,6 +25,12 @@ export declare class AITabsMainView extends AITabsView {
25
25
  * The type of the view.
26
26
  */
27
27
  type: AITabsMainViewOptions['type'];
28
+ /**
29
+ * Whether the AI tabs view is visible.
30
+ *
31
+ * @observable
32
+ */
33
+ isVisible: boolean;
28
34
  /**
29
35
  * @inheritDoc
30
36
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37a345=_0x5368;function _0x5060(){const _0x2f5f1c=['set','ck-ai-tabs__overlay','overlay','24Dicgio','12pvEqGe','10MtACrV','ck-ai-tabs','ck-ai-tabs__sidebar','right','52632sqJZzC','10gvkXno','2404962uIOthp','type','525868yLfuXG','sidebar','side','bindTemplate','1274OhthYv','12770527aTEOwX','left','custom','24qEmUzt','224473OVbaxD','5618366WXGymz','add','extendTemplate','1003490HSVvkp','withText','buttonViews'];_0x5060=function(){return _0x2f5f1c;};return _0x5060();}(function(_0x169b7f,_0x40e4ae){const _0x15636d=_0x5368,_0x2cd112=_0x169b7f();while(!![]){try{const _0x4bb1d4=parseInt(_0x15636d(0x84))/0x1*(parseInt(_0x15636d(0x95))/0x2)+parseInt(_0x15636d(0x8f))/0x3*(parseInt(_0x15636d(0x7b))/0x4)+-parseInt(_0x15636d(0x88))/0x5*(-parseInt(_0x15636d(0x8e))/0x6)+parseInt(_0x15636d(0x7f))/0x7*(-parseInt(_0x15636d(0x94))/0x8)+parseInt(_0x15636d(0x96))/0x9*(-parseInt(_0x15636d(0x90))/0xa)+-parseInt(_0x15636d(0x80))/0xb+parseInt(_0x15636d(0x83))/0xc*(parseInt(_0x15636d(0x85))/0xd);if(_0x4bb1d4===_0x40e4ae)break;else _0x2cd112['push'](_0x2cd112['shift']());}catch(_0x3e3fea){_0x2cd112['push'](_0x2cd112['shift']());}}}(_0x5060,0xa86ac));import{AITabsView as _0x3211aa}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x5368(_0x3a34af,_0x20250c){const _0x50606a=_0x5060();return _0x5368=function(_0x536846,_0x329427){_0x536846=_0x536846-0x7a;let _0x27940e=_0x50606a[_0x536846];return _0x27940e;},_0x5368(_0x3a34af,_0x20250c);}export const AI_TABS_VIEW_TYPES=[_0x37a345(0x8d),_0x37a345(0x7c),_0x37a345(0x82)];export const AI_TABS_VIEW_SIDES=[_0x37a345(0x81),_0x37a345(0x93)];export class AITabsMainView extends _0x3211aa{constructor(_0x327953,_0x37c131={}){const _0x16817a=_0x37a345;super(_0x327953,_0x37c131),this[_0x16817a(0x8b)](_0x16817a(0x7a),_0x37c131[_0x16817a(0x7a)]||_0x16817a(0x7c)),this[_0x16817a(0x8b)](_0x16817a(0x7d),_0x37c131[_0x16817a(0x7d)]||_0x16817a(0x93));const _0x26eebd=this[_0x16817a(0x7e)];this[_0x16817a(0x87)]({'attributes':{'class':[_0x16817a(0x91),_0x26eebd['if'](_0x16817a(0x7a),_0x16817a(0x8c),_0x2c0813=>_0x16817a(0x8d)===_0x2c0813),_0x26eebd['if'](_0x16817a(0x7a),_0x16817a(0x92),_0x2bdced=>_0x16817a(0x7c)===_0x2bdced)]}}),this[_0x16817a(0x8a)]['on'](_0x16817a(0x86),(_0x23c519,_0x1278b3)=>{const _0xbc8542=_0x16817a;_0x1278b3[_0xbc8542(0x8b)](_0xbc8542(0x89),!0x1);});}}
23
+ function _0x1525(_0x1ab629,_0x5057f4){const _0x46eb99=_0x46eb();return _0x1525=function(_0x152553,_0x2232eb){_0x152553=_0x152553-0x188;let _0x303fd6=_0x46eb99[_0x152553];return _0x303fd6;},_0x1525(_0x1ab629,_0x5057f4);}const _0x1dbc5e=_0x1525;(function(_0x3d2d1a,_0x4dc756){const _0x52ab28=_0x1525,_0x54467d=_0x3d2d1a();while(!![]){try{const _0x357504=-parseInt(_0x52ab28(0x19a))/0x1*(-parseInt(_0x52ab28(0x193))/0x2)+-parseInt(_0x52ab28(0x19f))/0x3*(-parseInt(_0x52ab28(0x199))/0x4)+parseInt(_0x52ab28(0x188))/0x5*(parseInt(_0x52ab28(0x1a2))/0x6)+-parseInt(_0x52ab28(0x18b))/0x7+parseInt(_0x52ab28(0x18f))/0x8*(-parseInt(_0x52ab28(0x198))/0x9)+parseInt(_0x52ab28(0x19c))/0xa*(parseInt(_0x52ab28(0x191))/0xb)+parseInt(_0x52ab28(0x19b))/0xc;if(_0x357504===_0x4dc756)break;else _0x54467d['push'](_0x54467d['shift']());}catch(_0x529e1b){_0x54467d['push'](_0x54467d['shift']());}}}(_0x46eb,0x82e21));import{AITabsView as _0x545916}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x46eb(){const _0x18e6ef=['set','2RKvTbo','extendTemplate','right','left','custom','2447901PRjkQC','4zjZwKV','271457PMnSoK','5438760dSMrNE','3730WCcWOo','withText','overlay','515649JCMGmb','ck-ai-tabs__overlay','add','769608DKSTMB','isVisible','ck-hidden','ck-ai-tabs__sidebar','10keSdyE','ck-ai-tabs','side','5677882EgQpmV','buttonViews','bindTemplate','sidebar','24mXDxUr','type','29788kNPeml'];_0x46eb=function(){return _0x18e6ef;};return _0x46eb();}export const AI_TABS_VIEW_TYPES=[_0x1dbc5e(0x19e),_0x1dbc5e(0x18e),_0x1dbc5e(0x197)];export const AI_TABS_VIEW_SIDES=[_0x1dbc5e(0x196),_0x1dbc5e(0x195)];export class AITabsMainView extends _0x545916{constructor(_0x5eec3f,_0x396966={}){const _0x225404=_0x1dbc5e;super(_0x5eec3f,_0x396966),this[_0x225404(0x192)](_0x225404(0x190),_0x396966[_0x225404(0x190)]||_0x225404(0x18e)),this[_0x225404(0x192)](_0x225404(0x18a),_0x396966[_0x225404(0x18a)]||_0x225404(0x195)),this[_0x225404(0x192)](_0x225404(0x1a3),!0x0);const _0x2ced29=this[_0x225404(0x18d)];this[_0x225404(0x194)]({'attributes':{'class':[_0x225404(0x189),_0x2ced29['if'](_0x225404(0x190),_0x225404(0x1a0),_0x53d653=>_0x225404(0x19e)===_0x53d653),_0x2ced29['if'](_0x225404(0x190),_0x225404(0x1a5),_0x3e4f5e=>_0x225404(0x18e)===_0x3e4f5e),_0x2ced29['if'](_0x225404(0x1a3),_0x225404(0x1a4),_0x7e9bc8=>!_0x7e9bc8)]}}),this[_0x225404(0x18c)]['on'](_0x225404(0x1a1),(_0x2ea831,_0x4bb6b1)=>{const _0x2ceb8e=_0x225404;_0x4bb6b1[_0x2ceb8e(0x192)](_0x2ceb8e(0x19d),!0x1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c2112=_0x401c;(function(_0x58c9ff,_0x595dfd){const _0x127b49=_0x401c,_0x127b5a=_0x58c9ff();while(!![]){try{const _0x2bcbec=parseInt(_0x127b49(0x9d))/0x1+-parseInt(_0x127b49(0xb5))/0x2*(-parseInt(_0x127b49(0x9b))/0x3)+-parseInt(_0x127b49(0xc7))/0x4*(-parseInt(_0x127b49(0xa1))/0x5)+-parseInt(_0x127b49(0xce))/0x6+parseInt(_0x127b49(0xae))/0x7+parseInt(_0x127b49(0x87))/0x8+parseInt(_0x127b49(0xa7))/0x9*(-parseInt(_0x127b49(0x8e))/0xa);if(_0x2bcbec===_0x595dfd)break;else _0x127b5a['push'](_0x127b5a['shift']());}catch(_0x2c4f93){_0x127b5a['push'](_0x127b5a['shift']());}}}(_0xbf46,0x5a55f));import{View as _0x6f95fb}from'ckeditor5/src/ui.js';import{toArray as _0xc19e35,CKEditorError as _0x38658a}from'ckeditor5/src/utils.js';import{TabButtonView as _0x50fab4}from'./tabbuttonview.js';function _0x401c(_0x502321,_0x4a8f40){const _0xbf4651=_0xbf46();return _0x401c=function(_0x401c02,_0x18c5eb){_0x401c02=_0x401c02-0x86;let _0x590274=_0xbf4651[_0x401c02];return _0x590274;},_0x401c(_0x502321,_0x4a8f40);}function _0xbf46(){const _0x4ab546=['children','getIndex','2EbmcML','left','isMaximized','buttonLabel','buttonViews','activateTab','icon','length','show','render','get','ck-tabs_','ck-tabs','addTab','content','createCollection','_hidePanel','hide','37876BydHJq','set','panelViews','button','hideTab','find','_tabs','4409934dczaqH','isVisible','ck-tabs__buttons-container_','activeTab','div','975880TcUxVX','ck-tabs__panels-container','ui-tabsview-tab-not-found','ck-tabs__panels-container_','_getPanel','panel','activateTab:','1723310pRUYka','order','_getButton','_showButton','locale','_setupButton','ck-tabs__buttons-container','side','ck-reset','_hideButton','isOn','ck-ai-tabs_maximized','showTab','285459dgVVtP','add','544803mSHNsx','show:','class','getTab','255CwfugW','setTemplate','bindTemplate','_showPanel','fire','label','45lwfGom','buttonIcon','keys','hide:','right','bind','reduce','5052593rvZYkN','execute','addTab:','top','getTabIds'];_0xbf46=function(){return _0x4ab546;};return _0xbf46();}import{TabPanelView as _0x245399}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x3c2112(0xb1),_0x3c2112(0xb6),_0x3c2112(0xab)];export class AITabsView extends _0x6f95fb{[_0x3c2112(0xb9)]=this[_0x3c2112(0xc4)]();[_0x3c2112(0xc9)]=this[_0x3c2112(0xc4)]();[_0x3c2112(0xcd)]=new Map();constructor(_0x350f54,_0x2fd7cf={}){const _0x4be9f2=_0x3c2112;super(_0x350f54),this[_0x4be9f2(0xc8)](_0x4be9f2(0x9f),void 0x0),this[_0x4be9f2(0xc8)](_0x4be9f2(0xd1),null),this[_0x4be9f2(0xc8)](_0x4be9f2(0x95),_0x2fd7cf[_0x4be9f2(0x95)]||_0x4be9f2(0xb1)),this[_0x4be9f2(0xc8)](_0x4be9f2(0xb7),!0x1);const _0x36d74a=this[_0x4be9f2(0xa3)];this[_0x4be9f2(0xa2)]({'tag':_0x4be9f2(0x86),'attributes':{'class':['ck',_0x4be9f2(0x96),_0x4be9f2(0xc1),..._0xc19e35(_0x2fd7cf[_0x4be9f2(0x9f)]||[]),_0x36d74a['to'](_0x4be9f2(0x95),_0x3dbcf7=>_0x4be9f2(0xc0)+_0x3dbcf7),_0x36d74a['to'](_0x4be9f2(0x9f)),_0x36d74a['to'](_0x4be9f2(0xb7),_0x2ec549=>_0x2ec549?_0x4be9f2(0x99):'')],'tabindex':'0'},'children':[{'tag':_0x4be9f2(0x86),'attributes':{'class':['ck',_0x4be9f2(0x94),_0x36d74a['to'](_0x4be9f2(0x95),_0x1afe58=>_0x4be9f2(0xd0)+_0x1afe58)]},'children':this[_0x4be9f2(0xb9)]},{'tag':_0x4be9f2(0x86),'attributes':{'class':['ck',_0x4be9f2(0x88),_0x36d74a['to'](_0x4be9f2(0x95),_0x414394=>_0x4be9f2(0x8a)+_0x414394)]},'children':this[_0x4be9f2(0xc9)]},..._0xc19e35(_0x2fd7cf[_0x4be9f2(0xb3)]||[])]});}[_0x3c2112(0xb2)](){const _0x5991f6=_0x3c2112;return[...this[_0x5991f6(0xcd)][_0x5991f6(0xa9)]()];}[_0x3c2112(0xa0)](_0x533557){const _0x598769=_0x3c2112,_0x3e6d5a=this[_0x598769(0xcd)][_0x598769(0xbf)](_0x533557);return _0x3e6d5a||null;}[_0x3c2112(0xc2)](_0x56ea39){const _0x12950a=_0x3c2112,_0x4a50f5=this[_0x12950a(0x93)]({'id':_0x56ea39['id'],'label':_0x56ea39[_0x12950a(0xb8)],'icon':_0x56ea39[_0x12950a(0xa8)],'order':_0x56ea39[_0x12950a(0x8f)]}),_0x276905=new _0x245399(this[_0x12950a(0x92)]);return _0x276905[_0x12950a(0xbe)](),_0x56ea39[_0x12950a(0xc3)]&&_0x276905[_0x12950a(0xb3)][_0x12950a(0x9c)](_0x56ea39[_0x12950a(0xc3)]),this[_0x12950a(0xc9)][_0x12950a(0x9c)](_0x276905),this[_0x12950a(0xcd)][_0x12950a(0xc8)](_0x56ea39['id'],{'button':_0x4a50f5,'panel':_0x276905,'order':void 0x0!==_0x56ea39[_0x12950a(0x8f)]?_0x56ea39[_0x12950a(0x8f)]:null}),this[_0x12950a(0xa5)](_0x12950a(0xb0)+_0x56ea39['id'],{'id':_0x56ea39['id'],'button':_0x4a50f5,'panel':_0x276905}),null===this[_0x12950a(0xd1)]?this[_0x12950a(0xba)](_0x56ea39['id']):this[_0x12950a(0xc5)](_0x56ea39['id']),{'button':_0x4a50f5,'panel':_0x276905};}[_0x3c2112(0xba)](_0xa275cd){const _0x3d3737=_0x3c2112;if(null!==_0xa275cd&&!this[_0x3d3737(0xa0)](_0xa275cd))throw new _0x38658a(_0x3d3737(0x89),{'tabs':this,'tabId':_0xa275cd});this[_0x3d3737(0xd1)]!==_0xa275cd&&(this[_0x3d3737(0xd1)]&&this[_0x3d3737(0xc5)](this[_0x3d3737(0xd1)]),this[_0x3d3737(0xd1)]=_0xa275cd,_0xa275cd&&this[_0x3d3737(0xa4)](_0xa275cd),this[_0x3d3737(0xa5)](_0x3d3737(0x8d)+_0xa275cd,_0xa275cd));}[_0x3c2112(0x9a)](_0x4a9e2b){const _0x42c4a6=_0x3c2112;if(!this[_0x42c4a6(0xa0)](_0x4a9e2b))throw new _0x38658a(_0x42c4a6(0x89),{'tabs':this,'tabId':_0x4a9e2b});this[_0x42c4a6(0xa4)](_0x4a9e2b),this[_0x42c4a6(0x91)](_0x4a9e2b),this[_0x42c4a6(0xa5)](_0x42c4a6(0x9e)+_0x4a9e2b,_0x4a9e2b);}[_0x3c2112(0xcb)](_0x3d29b4){const _0x2a76a2=_0x3c2112;if(!this[_0x2a76a2(0xa0)](_0x3d29b4))throw new _0x38658a(_0x2a76a2(0x89),{'tabs':this,'tabId':_0x3d29b4});const _0x24e9db=this[_0x2a76a2(0xd1)];this[_0x2a76a2(0xc5)](_0x3d29b4),this[_0x2a76a2(0x97)](_0x3d29b4);const _0x2e6ccd=this[_0x2a76a2(0xb2)]();_0x24e9db===_0x3d29b4&&_0x2e6ccd[_0x2a76a2(0xbc)]>0x1&&this[_0x2a76a2(0xba)](_0x2e6ccd[_0x2a76a2(0xcc)](_0x397011=>_0x397011!==_0x3d29b4)),this[_0x2a76a2(0xa5)](_0x2a76a2(0xaa)+_0x3d29b4,_0x3d29b4);}[_0x3c2112(0x8b)](_0x8889e7){const _0x3b4266=_0x3c2112,_0x42f409=this[_0x3b4266(0xcd)][_0x3b4266(0xbf)](_0x8889e7);return _0x42f409?_0x42f409[_0x3b4266(0x8c)]:null;}[_0x3c2112(0xa4)](_0x5a7d8a){const _0x50d5b0=_0x3c2112;null!==this[_0x50d5b0(0xd1)]&&this[_0x50d5b0(0xd1)]!==_0x5a7d8a||this[_0x50d5b0(0x8b)](_0x5a7d8a)[_0x50d5b0(0xbd)]();}[_0x3c2112(0xc5)](_0xdaaa22){const _0x32e979=_0x3c2112,_0x451944=this[_0x32e979(0x8b)](_0xdaaa22);_0x451944[_0x32e979(0xcf)]&&(this[_0x32e979(0xd1)]===_0xdaaa22&&(this[_0x32e979(0xd1)]=null),_0x451944[_0x32e979(0xc6)]());}[_0x3c2112(0x90)](_0x4dee50){const _0x359991=_0x3c2112,_0x2ee108=this[_0x359991(0xcd)][_0x359991(0xbf)](_0x4dee50);return _0x2ee108?_0x2ee108[_0x359991(0xca)]:null;}[_0x3c2112(0x91)](_0x412868){const _0x2cd3e0=_0x3c2112;this[_0x2cd3e0(0x90)](_0x412868)[_0x2cd3e0(0xbd)]();}[_0x3c2112(0x97)](_0xf362ca){const _0xeb5aad=_0x3c2112;this[_0xeb5aad(0x90)](_0xf362ca)[_0xeb5aad(0xc6)]();}[_0x3c2112(0x93)](_0xf869d){const _0x7b0b82=_0x3c2112,_0x234f45=new _0x50fab4(this[_0x7b0b82(0x92)],{'side':this[_0x7b0b82(0x95)]}),_0x222fbf=this[_0x7b0b82(0xb9)];if(_0x234f45[_0x7b0b82(0xc8)]({'label':_0xf869d[_0x7b0b82(0xa6)],'icon':_0xf869d[_0x7b0b82(0xbb)],'tooltip':!0x0,'withText':!0x0}),_0x234f45[_0x7b0b82(0xac)](_0x7b0b82(0x98))['to'](this,_0x7b0b82(0xd1),_0x434443=>_0x434443===_0xf869d['id']),_0x234f45[_0x7b0b82(0xac)](_0x7b0b82(0x95))['to'](this,_0x7b0b82(0x95)),_0xf869d[_0x7b0b82(0x8f)]){const _0x2abc0a=[...this[_0x7b0b82(0xcd)]][_0x7b0b82(0xad)]((_0x272751,_0x5e50de)=>{const _0x3169d4=_0x7b0b82,_0x258531=_0x5e50de[0x0],{order:_0x1b0346}=_0x5e50de[0x1];return!_0x1b0346||_0x1b0346>_0xf869d[_0x3169d4(0x8f)]?_0x272751:_0x1b0346>=_0x272751[_0x3169d4(0x8f)]?{'id':_0x258531,'order':_0x1b0346}:_0x272751;},{'id':'','order':0x0}),_0x372c08=_0x222fbf[_0x7b0b82(0xb4)](this[_0x7b0b82(0x90)](_0x2abc0a['id']));_0x222fbf[_0x7b0b82(0x9c)](_0x234f45,_0x372c08+0x1);}else _0x222fbf[_0x7b0b82(0x9c)](_0x234f45);return _0x234f45['on'](_0x7b0b82(0xaf),()=>{const _0xb484d9=_0x7b0b82;this[_0xb484d9(0xba)](_0xf869d['id']);}),_0x234f45;}}
23
+ const _0x1bc728=_0x565e;(function(_0x240231,_0x1871c8){const _0x20519c=_0x565e,_0x2cd5df=_0x240231();while(!![]){try{const _0x43ad67=parseInt(_0x20519c(0x15e))/0x1+parseInt(_0x20519c(0x151))/0x2*(-parseInt(_0x20519c(0x15d))/0x3)+parseInt(_0x20519c(0x12e))/0x4+-parseInt(_0x20519c(0x146))/0x5+-parseInt(_0x20519c(0x160))/0x6*(-parseInt(_0x20519c(0x16f))/0x7)+parseInt(_0x20519c(0x175))/0x8+-parseInt(_0x20519c(0x15f))/0x9*(parseInt(_0x20519c(0x159))/0xa);if(_0x43ad67===_0x1871c8)break;else _0x2cd5df['push'](_0x2cd5df['shift']());}catch(_0x33411e){_0x2cd5df['push'](_0x2cd5df['shift']());}}}(_0xc05d,0xab2cf));import{View as _0x5bc796}from'ckeditor5/src/ui.js';import{toArray as _0x2aa4c6,CKEditorError as _0x448591}from'ckeditor5/src/utils.js';import{TabButtonView as _0x1f1067}from'./tabbuttonview.js';import{TabPanelView as _0x880c78}from'./tabpanelview.js';function _0xc05d(){const _0x27a9ad=['311169qoRJSn','855701EouQOH','12001581NyHUMi','128946laeFSV','render','getTabIds','left','ck-tabs__buttons-container_','hide:','showTab','activeTab','label','addTab','execute','children','setTemplate','bindTemplate','ck-tabs','301gJgqzy','_getPanel','ck-tabs__panels-container_','_hidePanel','isOn','class','7806472XGxKXe','show','activateTab:','add','set','48412inSwmT','_hideButton','reduce','right','get','activateTab','_getButton','icon','_tabs','ck-ai-tabs_maximized','div','isMaximized','locale','content','button','ck-tabs_','panelViews','createCollection','getIndex','isVisible','_showPanel','fire','length','hideTab','1072335oPcrJC','bind','side','keys','order','getTab','buttonIcon','find','_showButton','addTab:','hide','10BSVHoY','ck-tabs__buttons-container','top','buttonLabel','_setupButton','panel','ck-reset','ui-tabsview-tab-not-found','10kNxBIN','buttonViews','show:','ck-tabs__panels-container'];_0xc05d=function(){return _0x27a9ad;};return _0xc05d();}import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x1bc728(0x153),_0x1bc728(0x163),_0x1bc728(0x131)];function _0x565e(_0x50d710,_0x5535b5){const _0xc05d08=_0xc05d();return _0x565e=function(_0x565e76,_0x27ff07){_0x565e76=_0x565e76-0x12a;let _0x3a34e6=_0xc05d08[_0x565e76];return _0x3a34e6;},_0x565e(_0x50d710,_0x5535b5);}export class AITabsView extends _0x5bc796{[_0x1bc728(0x15a)]=this[_0x1bc728(0x13f)]();[_0x1bc728(0x13e)]=this[_0x1bc728(0x13f)]();[_0x1bc728(0x136)]=new Map();constructor(_0x41defd,_0x2b544d={}){const _0x19160f=_0x1bc728;super(_0x41defd),this[_0x19160f(0x12d)](_0x19160f(0x174),void 0x0),this[_0x19160f(0x12d)](_0x19160f(0x167),null),this[_0x19160f(0x12d)](_0x19160f(0x148),_0x2b544d[_0x19160f(0x148)]||_0x19160f(0x153)),this[_0x19160f(0x12d)](_0x19160f(0x139),!0x1);const _0x477c03=this[_0x19160f(0x16d)];this[_0x19160f(0x16c)]({'tag':_0x19160f(0x138),'attributes':{'class':['ck',_0x19160f(0x157),_0x19160f(0x16e),..._0x2aa4c6(_0x2b544d[_0x19160f(0x174)]||[]),_0x477c03['to'](_0x19160f(0x148),_0x3ed0ab=>_0x19160f(0x13d)+_0x3ed0ab),_0x477c03['to'](_0x19160f(0x174)),_0x477c03['to'](_0x19160f(0x139),_0x54ddec=>_0x54ddec?_0x19160f(0x137):'')],'tabindex':'0'},'children':[{'tag':_0x19160f(0x138),'attributes':{'class':['ck',_0x19160f(0x152),_0x477c03['to'](_0x19160f(0x148),_0x2bb335=>_0x19160f(0x164)+_0x2bb335)]},'children':this[_0x19160f(0x15a)]},{'tag':_0x19160f(0x138),'attributes':{'class':['ck',_0x19160f(0x15c),_0x477c03['to'](_0x19160f(0x148),_0x34f3d2=>_0x19160f(0x171)+_0x34f3d2)]},'children':this[_0x19160f(0x13e)]},..._0x2aa4c6(_0x2b544d[_0x19160f(0x16b)]||[])]});}[_0x1bc728(0x162)](){const _0x39769e=_0x1bc728;return[...this[_0x39769e(0x136)][_0x39769e(0x149)]()];}[_0x1bc728(0x14b)](_0x4a67c3){const _0x18db8a=_0x1bc728,_0x139310=this[_0x18db8a(0x136)][_0x18db8a(0x132)](_0x4a67c3);return _0x139310||null;}[_0x1bc728(0x169)](_0x1b9aa1){const _0x280a95=_0x1bc728,_0x268c22=this[_0x280a95(0x155)]({'id':_0x1b9aa1['id'],'label':_0x1b9aa1[_0x280a95(0x154)],'icon':_0x1b9aa1[_0x280a95(0x14c)],'order':_0x1b9aa1[_0x280a95(0x14a)]}),_0x1726cf=new _0x880c78(this[_0x280a95(0x13a)]);return _0x1726cf[_0x280a95(0x161)](),_0x1b9aa1[_0x280a95(0x13b)]&&_0x1726cf[_0x280a95(0x16b)][_0x280a95(0x12c)](_0x1b9aa1[_0x280a95(0x13b)]),this[_0x280a95(0x13e)][_0x280a95(0x12c)](_0x1726cf),this[_0x280a95(0x136)][_0x280a95(0x12d)](_0x1b9aa1['id'],{'button':_0x268c22,'panel':_0x1726cf,'order':void 0x0!==_0x1b9aa1[_0x280a95(0x14a)]?_0x1b9aa1[_0x280a95(0x14a)]:null}),this[_0x280a95(0x143)](_0x280a95(0x14f)+_0x1b9aa1['id'],{'id':_0x1b9aa1['id'],'button':_0x268c22,'panel':_0x1726cf}),null===this[_0x280a95(0x167)]?this[_0x280a95(0x133)](_0x1b9aa1['id']):this[_0x280a95(0x172)](_0x1b9aa1['id']),{'button':_0x268c22,'panel':_0x1726cf};}[_0x1bc728(0x133)](_0x57339b){const _0x413225=_0x1bc728;if(null!==_0x57339b&&!this[_0x413225(0x14b)](_0x57339b))throw new _0x448591(_0x413225(0x158),{'tabs':this,'tabId':_0x57339b});this[_0x413225(0x167)]!==_0x57339b&&(this[_0x413225(0x167)]&&this[_0x413225(0x172)](this[_0x413225(0x167)]),this[_0x413225(0x167)]=_0x57339b,_0x57339b&&this[_0x413225(0x142)](_0x57339b),this[_0x413225(0x143)](_0x413225(0x12b)+_0x57339b,_0x57339b));}[_0x1bc728(0x166)](_0x120637){const _0x1ff618=_0x1bc728;if(!this[_0x1ff618(0x14b)](_0x120637))throw new _0x448591(_0x1ff618(0x158),{'tabs':this,'tabId':_0x120637});this[_0x1ff618(0x142)](_0x120637),this[_0x1ff618(0x14e)](_0x120637),this[_0x1ff618(0x143)](_0x1ff618(0x15b)+_0x120637,_0x120637);}[_0x1bc728(0x145)](_0x51636f){const _0x175c14=_0x1bc728;if(!this[_0x175c14(0x14b)](_0x51636f))throw new _0x448591(_0x175c14(0x158),{'tabs':this,'tabId':_0x51636f});const _0x5ca02a=this[_0x175c14(0x167)];this[_0x175c14(0x172)](_0x51636f),this[_0x175c14(0x12f)](_0x51636f);const _0x5e69c0=this[_0x175c14(0x162)]();_0x5ca02a===_0x51636f&&_0x5e69c0[_0x175c14(0x144)]>0x1&&this[_0x175c14(0x133)](_0x5e69c0[_0x175c14(0x14d)](_0xa78330=>_0xa78330!==_0x51636f)),this[_0x175c14(0x143)](_0x175c14(0x165)+_0x51636f,_0x51636f);}[_0x1bc728(0x170)](_0x5d95a4){const _0x2953d5=_0x1bc728,_0x512347=this[_0x2953d5(0x136)][_0x2953d5(0x132)](_0x5d95a4);return _0x512347?_0x512347[_0x2953d5(0x156)]:null;}[_0x1bc728(0x142)](_0x8e05a0){const _0x1a12dd=_0x1bc728;null!==this[_0x1a12dd(0x167)]&&this[_0x1a12dd(0x167)]!==_0x8e05a0||this[_0x1a12dd(0x170)](_0x8e05a0)[_0x1a12dd(0x12a)]();}[_0x1bc728(0x172)](_0x545dfc){const _0x469559=_0x1bc728,_0x1eb62a=this[_0x469559(0x170)](_0x545dfc);_0x1eb62a[_0x469559(0x141)]&&(this[_0x469559(0x167)]===_0x545dfc&&(this[_0x469559(0x167)]=null),_0x1eb62a[_0x469559(0x150)]());}[_0x1bc728(0x134)](_0x22e7f7){const _0x54705e=_0x1bc728,_0xfdb79c=this[_0x54705e(0x136)][_0x54705e(0x132)](_0x22e7f7);return _0xfdb79c?_0xfdb79c[_0x54705e(0x13c)]:null;}[_0x1bc728(0x14e)](_0x25d0a7){const _0x1f5f8a=_0x1bc728;this[_0x1f5f8a(0x134)](_0x25d0a7)[_0x1f5f8a(0x12a)]();}[_0x1bc728(0x12f)](_0x27555a){const _0x43141e=_0x1bc728;this[_0x43141e(0x134)](_0x27555a)[_0x43141e(0x150)]();}[_0x1bc728(0x155)](_0x2db28e){const _0x281508=_0x1bc728,_0x3b5208=new _0x1f1067(this[_0x281508(0x13a)],{'side':this[_0x281508(0x148)]}),_0x558471=this[_0x281508(0x15a)];if(_0x3b5208[_0x281508(0x12d)]({'label':_0x2db28e[_0x281508(0x168)],'icon':_0x2db28e[_0x281508(0x135)],'tooltip':!0x0,'withText':!0x0}),_0x3b5208[_0x281508(0x147)](_0x281508(0x173))['to'](this,_0x281508(0x167),_0x19c138=>_0x19c138===_0x2db28e['id']),_0x3b5208[_0x281508(0x147)](_0x281508(0x148))['to'](this,_0x281508(0x148)),_0x2db28e[_0x281508(0x14a)]){const _0x50e1bf=[...this[_0x281508(0x136)]][_0x281508(0x130)]((_0xfaca76,_0x111544)=>{const _0x3eefaf=_0x281508,_0x41ce3e=_0x111544[0x0],{order:_0x4a3bf2}=_0x111544[0x1];return!_0x4a3bf2||_0x4a3bf2>_0x2db28e[_0x3eefaf(0x14a)]?_0xfaca76:_0x4a3bf2>=_0xfaca76[_0x3eefaf(0x14a)]?{'id':_0x41ce3e,'order':_0x4a3bf2}:_0xfaca76;},{'id':'','order':0x0}),_0x4695c6=_0x558471[_0x281508(0x140)](this[_0x281508(0x134)](_0x50e1bf['id']));_0x558471[_0x281508(0x12c)](_0x3b5208,_0x4695c6+0x1);}else _0x558471[_0x281508(0x12c)](_0x3b5208);return _0x3b5208['on'](_0x281508(0x16a),()=>{const _0x3146f0=_0x281508;this[_0x3146f0(0x133)](_0x2db28e['id']);}),_0x3b5208;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x20ec(_0x4bfcbb,_0x4536c7){const _0x512a88=_0x512a();return _0x20ec=function(_0x20ec4e,_0x290462){_0x20ec4e=_0x20ec4e-0x106;let _0x4e407c=_0x512a88[_0x20ec4e];return _0x4e407c;},_0x20ec(_0x4bfcbb,_0x4536c7);}const _0x330d05=_0x20ec;(function(_0x9b8324,_0x3db201){const _0x422856=_0x20ec,_0x2bbc0d=_0x9b8324();while(!![]){try{const _0x458d3e=parseInt(_0x422856(0x111))/0x1+-parseInt(_0x422856(0x107))/0x2*(-parseInt(_0x422856(0x11b))/0x3)+-parseInt(_0x422856(0x108))/0x4+parseInt(_0x422856(0x10d))/0x5*(parseInt(_0x422856(0x11a))/0x6)+-parseInt(_0x422856(0x10e))/0x7+parseInt(_0x422856(0x106))/0x8*(parseInt(_0x422856(0x110))/0x9)+-parseInt(_0x422856(0x114))/0xa;if(_0x458d3e===_0x3db201)break;else _0x2bbc0d['push'](_0x2bbc0d['shift']());}catch(_0x5b7dd5){_0x2bbc0d['push'](_0x2bbc0d['shift']());}}}(_0x512a,0x5d915));import{ButtonView as _0x4b69f2}from'ckeditor5/src/ui.js';import{toArray as _0x50334e}from'ckeditor5/src/utils.js';function _0x512a(){const _0x3069d3=['side','1417758ZXxSmB','3FKJlep','8Tkldyx','1502110DRelwt','2912600SCeszp','ck-tab-button','top','show','set','10lPPotP','403263XNJAnr','class','395541vpLfPG','474998ANaRlA','isVisible','ck-tab-button_','5735760CFryXi','hide','isToggleable','extendTemplate','bindTemplate'];_0x512a=function(){return _0x3069d3;};return _0x512a();}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x4b69f2{constructor(_0x12ff77,_0x2ea329={}){const _0x1f3d37=_0x20ec;super(_0x12ff77),this[_0x1f3d37(0x116)]=!0x0,this[_0x1f3d37(0x10c)](_0x1f3d37(0x119),_0x2ea329[_0x1f3d37(0x119)]||_0x1f3d37(0x10a));const _0xd2c22d=this[_0x1f3d37(0x118)];this[_0x1f3d37(0x117)]({'attributes':{'class':[_0x1f3d37(0x109),..._0x50334e(_0x2ea329[_0x1f3d37(0x10f)]||[]),_0xd2c22d['to'](_0x1f3d37(0x119),_0x2becb6=>_0x1f3d37(0x113)+_0x2becb6),_0xd2c22d['to'](_0x1f3d37(0x10f))]}});}[_0x330d05(0x10b)](){const _0x6e9b4=_0x330d05;this[_0x6e9b4(0x10c)](_0x6e9b4(0x112),!0x0);}[_0x330d05(0x115)](){const _0x33c127=_0x330d05;this[_0x33c127(0x10c)](_0x33c127(0x112),!0x1);}}
23
+ const _0x379b42=_0x3078;(function(_0x494a53,_0x5f3729){const _0xc646f9=_0x3078,_0x429ec3=_0x494a53();while(!![]){try{const _0x42a74b=-parseInt(_0xc646f9(0x77))/0x1+parseInt(_0xc646f9(0x81))/0x2*(-parseInt(_0xc646f9(0x73))/0x3)+parseInt(_0xc646f9(0x82))/0x4+parseInt(_0xc646f9(0x72))/0x5+parseInt(_0xc646f9(0x75))/0x6+-parseInt(_0xc646f9(0x7d))/0x7*(-parseInt(_0xc646f9(0x76))/0x8)+parseInt(_0xc646f9(0x74))/0x9;if(_0x42a74b===_0x5f3729)break;else _0x429ec3['push'](_0x429ec3['shift']());}catch(_0xe4f4fb){_0x429ec3['push'](_0x429ec3['shift']());}}}(_0x2e5f,0xe43ed));import{ButtonView as _0xff668c}from'ckeditor5/src/ui.js';import{toArray as _0x5ac1ee}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x2e5f(){const _0x3e67ff=['18921kEFknx','9273834IUKEcv','4400118xiCyRN','8cBEBrp','1730739LubAlZ','show','bindTemplate','hide','set','side','8071749HNDODa','extendTemplate','class','ck-tab-button','472nBodPY','4756932xrnBGv','ck-tab-button_','top','isToggleable','isVisible','239825KFubkh'];_0x2e5f=function(){return _0x3e67ff;};return _0x2e5f();}function _0x3078(_0xb9895e,_0x4e0584){const _0x2e5f29=_0x2e5f();return _0x3078=function(_0x3078c4,_0x3e1329){_0x3078c4=_0x3078c4-0x6f;let _0x2d8b3c=_0x2e5f29[_0x3078c4];return _0x2d8b3c;},_0x3078(_0xb9895e,_0x4e0584);}export class TabButtonView extends _0xff668c{constructor(_0x14b11d,_0x38f0e6={}){const _0x3341df=_0x3078;super(_0x14b11d),this[_0x3341df(0x70)]=!0x0,this[_0x3341df(0x7b)](_0x3341df(0x7c),_0x38f0e6[_0x3341df(0x7c)]||_0x3341df(0x6f));const _0x94fd6f=this[_0x3341df(0x79)];this[_0x3341df(0x7e)]({'attributes':{'class':[_0x3341df(0x80),..._0x5ac1ee(_0x38f0e6[_0x3341df(0x7f)]||[]),_0x94fd6f['to'](_0x3341df(0x7c),_0x5e60f6=>_0x3341df(0x83)+_0x5e60f6),_0x94fd6f['to'](_0x3341df(0x7f))]}});}[_0x379b42(0x78)](){const _0x2c313a=_0x379b42;this[_0x2c313a(0x7b)](_0x2c313a(0x71),!0x0);}[_0x379b42(0x7a)](){const _0x58b3c8=_0x379b42;this[_0x58b3c8(0x7b)](_0x58b3c8(0x71),!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2efc(_0x194f94,_0x4bed06){const _0x16411b=_0x1641();return _0x2efc=function(_0x2efc01,_0x3740ee){_0x2efc01=_0x2efc01-0x1e8;let _0x36543a=_0x16411b[_0x2efc01];return _0x36543a;},_0x2efc(_0x194f94,_0x4bed06);}const _0x5472a3=_0x2efc;(function(_0x5d6bed,_0x4d4b22){const _0xd17197=_0x2efc,_0x1675ba=_0x5d6bed();while(!![]){try{const _0x2f8c1f=-parseInt(_0xd17197(0x1ec))/0x1+parseInt(_0xd17197(0x1f8))/0x2+-parseInt(_0xd17197(0x1f2))/0x3+-parseInt(_0xd17197(0x1e9))/0x4*(parseInt(_0xd17197(0x1f1))/0x5)+parseInt(_0xd17197(0x1e8))/0x6+-parseInt(_0xd17197(0x1eb))/0x7*(parseInt(_0xd17197(0x1ef))/0x8)+parseInt(_0xd17197(0x1f9))/0x9;if(_0x2f8c1f===_0x4d4b22)break;else _0x1675ba['push'](_0x1675ba['shift']());}catch(_0x155240){_0x1675ba['push'](_0x1675ba['shift']());}}}(_0x1641,0x6b8fc));function _0x1641(){const _0x5732d7=['6868044OzIXUu','show','children','div','3964746KFlShh','12QBonYm','setTemplate','7ipCRdW','300334JpVsfm','hide','ck-tab-panel','3728432FaTqyE','class','792240Vrplsh','67800MtNmPQ','set','isVisible','bindTemplate','createCollection','ck-hidden','561994HyUWvW'];_0x1641=function(){return _0x5732d7;};return _0x1641();}import{View as _0xeb5b1c}from'ckeditor5/src/ui.js';import{toArray as _0x2bbe25}from'ckeditor5/src/utils.js';export class TabPanelView extends _0xeb5b1c{[_0x5472a3(0x1fb)];constructor(_0x3f4104,_0x425167={}){const _0x406845=_0x5472a3;super(_0x3f4104);const _0x38f438=this[_0x406845(0x1f5)];this[_0x406845(0x1f3)](_0x406845(0x1f4),!0x1),this[_0x406845(0x1fb)]=this[_0x406845(0x1f6)](),this[_0x406845(0x1ea)]({'tag':_0x406845(0x1fc),'attributes':{'class':[_0x406845(0x1ee),..._0x2bbe25(_0x425167[_0x406845(0x1f0)]||[]),_0x38f438['to'](_0x406845(0x1f0)),_0x38f438['if'](_0x406845(0x1f4),_0x406845(0x1f7),_0x38bcbf=>!_0x38bcbf)]},'children':this[_0x406845(0x1fb)]});}[_0x5472a3(0x1fa)](){const _0x36739e=_0x5472a3;this[_0x36739e(0x1f3)](_0x36739e(0x1f4),!0x0);}[_0x5472a3(0x1ed)](){const _0x1351a3=_0x5472a3;this[_0x1351a3(0x1f3)](_0x1351a3(0x1f4),!0x1);}}
23
+ const _0xac4bff=_0x5dd5;function _0x5dd5(_0x487052,_0x20115c){const _0x4bcb54=_0x4bcb();return _0x5dd5=function(_0x5dd55b,_0x41c603){_0x5dd55b=_0x5dd55b-0x151;let _0x2db652=_0x4bcb54[_0x5dd55b];return _0x2db652;},_0x5dd5(_0x487052,_0x20115c);}(function(_0x224256,_0x929740){const _0x33532a=_0x5dd5,_0x1aea58=_0x224256();while(!![]){try{const _0xd4b1ea=-parseInt(_0x33532a(0x156))/0x1+-parseInt(_0x33532a(0x157))/0x2+parseInt(_0x33532a(0x161))/0x3*(parseInt(_0x33532a(0x160))/0x4)+parseInt(_0x33532a(0x152))/0x5+-parseInt(_0x33532a(0x164))/0x6+-parseInt(_0x33532a(0x15b))/0x7+parseInt(_0x33532a(0x15c))/0x8;if(_0xd4b1ea===_0x929740)break;else _0x1aea58['push'](_0x1aea58['shift']());}catch(_0x2ed185){_0x1aea58['push'](_0x1aea58['shift']());}}}(_0x4bcb,0x468e0));import{View as _0x13493a}from'ckeditor5/src/ui.js';import{toArray as _0x487c80}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x13493a{[_0xac4bff(0x158)];constructor(_0x344f3c,_0x3b7dbf={}){const _0x834bd3=_0xac4bff;super(_0x344f3c);const _0xa565bc=this[_0x834bd3(0x154)];this[_0x834bd3(0x151)](_0x834bd3(0x155),!0x1),this[_0x834bd3(0x151)](_0x834bd3(0x159),''),this[_0x834bd3(0x158)]=this[_0x834bd3(0x15f)](),this[_0x834bd3(0x163)]({'tag':_0x834bd3(0x153),'attributes':{'class':[_0x834bd3(0x15d),..._0x487c80(_0x3b7dbf[_0x834bd3(0x159)]||[]),_0xa565bc['to'](_0x834bd3(0x159)),_0xa565bc['if'](_0x834bd3(0x155),_0x834bd3(0x15e),_0x25d83b=>!_0x25d83b)]},'children':this[_0x834bd3(0x158)]});}[_0xac4bff(0x15a)](){const _0x1997e2=_0xac4bff;this[_0x1997e2(0x151)](_0x1997e2(0x155),!0x0);}[_0xac4bff(0x162)](){const _0x5bee45=_0xac4bff;this[_0x5bee45(0x151)](_0x5bee45(0x155),!0x1);}}function _0x4bcb(){const _0x4c0283=['set','938590ruEZsU','div','bindTemplate','isVisible','520781xUlYFi','88482HTGHHD','children','class','show','2147425VZJreE','6348168GvbEZE','ck-tab-panel','ck-hidden','createCollection','721884Qzqhhf','9aVsvka','hide','setTemplate','2171178fQMifL'];_0x4bcb=function(){return _0x4c0283;};return _0x4bcb();}
@@ -9,6 +9,9 @@ import type { AIAssistantEditing } from './aiassistant/aiassistantediting.js';
9
9
  import type { AIAssistantUI } from './aiassistant/aiassistantui.js';
10
10
  import type { AIAdapter } from './aiassistant/adapters/aiadapter.js';
11
11
  import type { AITabs } from './aitabs/aitabs.js';
12
+ import type { AIEditorIntegration } from './aieditorintegration/aieditorintegration.js';
13
+ import type { AIToggleButtonUI } from './aieditorintegration/aitogglebutton/aitogglebuttonui.js';
14
+ import type { ToggleAICommand } from './aieditorintegration/aitogglebutton/toggleaicommand.js';
12
15
  import type { AIConnector } from './aicore/aiconnector.js';
13
16
  import type { AIChat } from './aichat/aichat.js';
14
17
  import type { AIChatController } from './aichat/aichatcontroller.js';
@@ -29,6 +32,8 @@ declare module '@ckeditor/ckeditor5-core' {
29
32
  [AIAssistantUI.pluginName]: AIAssistantUI;
30
33
  [AIAssistantEditing.pluginName]: AIAssistantEditing;
31
34
  [AITabs.pluginName]: AITabs;
35
+ [AIEditorIntegration.pluginName]: AIEditorIntegration;
36
+ [AIToggleButtonUI.pluginName]: AIToggleButtonUI;
32
37
  [AIConnector.pluginName]: AIConnector;
33
38
  [AIChat.pluginName]: AIChat;
34
39
  [AIChatController.pluginName]: AIChatController;
@@ -39,5 +44,6 @@ declare module '@ckeditor/ckeditor5-core' {
39
44
  }
40
45
  interface CommandsMap {
41
46
  showAIAssistant: ShowAIAssistantCommand;
47
+ toggleAI: ToggleAICommand;
42
48
  }
43
49
  }
package/src/index.d.ts CHANGED
@@ -20,13 +20,16 @@ export { AIChat, type AIChatConfig } from './aichat/aichat.js';
20
20
  export { AIChatController } from './aichat/aichatcontroller.js';
21
21
  export { AIEditing } from './aicore/aiediting.js';
22
22
  export { AIChatUI } from './aichat/aichatui.js';
23
+ export { AIEditorIntegration } from './aieditorintegration/aieditorintegration.js';
24
+ export { AIToggleButtonUI } from './aieditorintegration/aitogglebutton/aitogglebuttonui.js';
25
+ export { ToggleAICommand } from './aieditorintegration/aitogglebutton/toggleaicommand.js';
23
26
  export { type AITabsMainView, type AITabsMainViewOptions } from './aitabs/aitabsmainview.js';
24
27
  export { type AITabsView, type AITabsAddTabOptions, type AITabsViewOptions } from './aitabs/tabs/aitabsview.js';
25
28
  export { type AIResizedTabsEvent, type AIResizeTabsEvent } from './aitabs/aitabs.js';
26
29
  export { type AIChatContextConfig, type AIAddContextOptionsState, type AIChatContextItemAddedEvent, type AIChatContextItemRemovedEvent, type AIChatContextSentEvent, type AIChatContextAddContextOptionsChangedEvent, type AIContextProvider, type AIContextResource, type AIContextResourceState, type AIContextProviderState, type AIContextTextResource, type AIChatContextUploadProgressChangedEvent } from './aichat/model/aichatcontext.js';
27
30
  export { type AIContextItemType, type AIContextItemRequestData, type AIContextItem, type AIContextTextResourceType } from './aicore/model/aicontext.js';
28
31
  export { type AIChatModel, type AIChatModelsConfig } from './aichat/model/aichatmodels.js';
29
- export { type AIGenericRequest, type AIConversationStartReply, type AIConversationStartRequest, type AIEventSourceMessageParsed, type AIQueryAssistantReply, type AIConnectorRequest, type AIConnectorQueryAssistantData, type AIUploadReply, type AIUploadRequest, type AIModelData, type AIModelRequest, type AIFetchDocumentReply, type AIFetchDocumentRequest, type AIConversationItem, type AIFetchConversationsRequest, type AIDeleteConversationRequest, type AIUserMessage, type AIAssistantMessage, type AIConversationMessage, type AIGetConversationReply, type AIGetConversationRequest, type AIGetConversationMessagesRequest, type AIUpdateConversationRequest, type AIDeleteFileRequest, type AIDeleteDocumentRequest, type AIDeleteWebResourceRequest, type AIConnectorExecuteActionData, type AIConnectorExecuteCustomActionData, type AIActionsNames, type AIConnectorSystemReviewData, type AIConnectorCustomReviewData } from './aicore/aiconnector.js';
32
+ export { type AIGenericRequest, type AIConversationStartReply, type AIConversationStartRequest, type AIEventSourceMessageParsed, type AIQueryAssistantReply, type AIConnectorRequest, type AIConnectorQueryAssistantData, type AIUploadReply, type AIUploadRequest, type AIModelData, type AIModelRequest, type AIFetchDocumentReply, type AIFetchDocumentRequest, type AIConversationItem, type AIFetchConversationsRequest, type AIDeleteConversationRequest, type AIUserMessage, type AIAssistantMessage, type AIConversationMessage, type AIGetConversationReply, type AIGetConversationRequest, type AIGetConversationMessagesRequest, type AIUpdateConversationRequest, type AIDeleteFileRequest, type AIDeleteDocumentRequest, type AIDeleteWebResourceRequest, type AIConnectorExecuteActionData, type AIConnectorExecuteCustomActionData, type AIActionsNames, type AIConnectorSystemReviewData, type AIConnectorCustomReviewData, type AIUpdateRating, type AIRating } from './aicore/aiconnector.js';
30
33
  export { type AIChatUIStartConversationEvent, type AIChatUISendUserMessageEvent, type AIChatUIAbortPromptStreamEvent, type AIChatUIAddDocumentToContextEvent, type AIChatUIAddFileToContextEvent, type AIChatUIRemoveContextItemEvent } from './aichat/aichatui.js';
31
34
  export { AIChatHistory } from './aichathistory/aichathistory.js';
32
35
  export { AIChatHistoryController } from './aichathistory/aichathistorycontroller.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x863ee9,_0x361d18){var _0x3ce84e=_0x383b,_0x39988a=_0x863ee9();while(!![]){try{var _0x4dfae3=-parseInt(_0x3ce84e(0x183))/0x1*(parseInt(_0x3ce84e(0x17e))/0x2)+parseInt(_0x3ce84e(0x17f))/0x3*(parseInt(_0x3ce84e(0x184))/0x4)+parseInt(_0x3ce84e(0x17a))/0x5+-parseInt(_0x3ce84e(0x17b))/0x6+-parseInt(_0x3ce84e(0x180))/0x7+parseInt(_0x3ce84e(0x17c))/0x8*(parseInt(_0x3ce84e(0x182))/0x9)+parseInt(_0x3ce84e(0x181))/0xa*(-parseInt(_0x3ce84e(0x17d))/0xb);if(_0x4dfae3===_0x361d18)break;else _0x39988a['push'](_0x39988a['shift']());}catch(_0xdfb26){_0x39988a['push'](_0x39988a['shift']());}}}(_0x1997,0x40851));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';function _0x1997(){var _0x229b3e=['109140PEJTFj','2291515sZffCu','51210MGYYKr','755624NyLzAe','63701YBrobS','2thiIfD','21BEdZvt','68544vLCiuy','160xDKJhX','9bjexyP','368495uJUPVh'];_0x1997=function(){return _0x229b3e;};return _0x1997();}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{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';function _0x383b(_0x3e283e,_0x18cdd1){var _0x1997b5=_0x1997();return _0x383b=function(_0x383b05,_0x5db654){_0x383b05=_0x383b05-0x17a;var _0x46002b=_0x1997b5[_0x383b05];return _0x46002b;},_0x383b(_0x3e283e,_0x18cdd1);}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';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
23
+ (function(_0x2a8d9b,_0x431a02){var _0x536272=_0x398b,_0x2f9846=_0x2a8d9b();while(!![]){try{var _0xe4b565=parseInt(_0x536272(0x13e))/0x1+-parseInt(_0x536272(0x137))/0x2*(-parseInt(_0x536272(0x134))/0x3)+parseInt(_0x536272(0x136))/0x4*(-parseInt(_0x536272(0x13d))/0x5)+-parseInt(_0x536272(0x13a))/0x6*(parseInt(_0x536272(0x13b))/0x7)+-parseInt(_0x536272(0x13c))/0x8*(parseInt(_0x536272(0x138))/0x9)+-parseInt(_0x536272(0x135))/0xa*(-parseInt(_0x536272(0x139))/0xb)+parseInt(_0x536272(0x133))/0xc;if(_0xe4b565===_0x431a02)break;else _0x2f9846['push'](_0x2f9846['shift']());}catch(_0x3ee6dc){_0x2f9846['push'](_0x2f9846['shift']());}}}(_0x2209,0xc2896));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';function _0x398b(_0x324f8f,_0x2787f3){var _0x2209bf=_0x2209();return _0x398b=function(_0x398b62,_0x44825c){_0x398b62=_0x398b62-0x133;var _0xdeb704=_0x2209bf[_0x398b62];return _0xdeb704;},_0x398b(_0x324f8f,_0x2787f3);}function _0x2209(){var _0x363bfc=['119500TRGWem','14205951DEnIOn','517kQwzRR','336lysNtE','68579LGnKkk','8FAcXSZ','5QJOGNm','263994dqrQwU','14304540KYnMeH','33EAJFNh','209230JvWCBf','691108KzTawM'];_0x2209=function(){return _0x363bfc;};return _0x2209();}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';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';export{AIReviewCheckResult}from'./aireviewmode/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewmode/model/aireviewcheckrun.js';import'./augmentation.js';
@@ -144,7 +144,6 @@
144
144
  &:disabled {
145
145
  color: var(--ck-ai-button-primary-disabled-color);
146
146
  background-color: var(--ck-ai-button-primary-disabled-background-color);
147
- cursor: not-allowed;
148
147
  }
149
148
  }
150
149
 
@@ -166,7 +165,6 @@
166
165
  color: var(--ck-ai-button-secondary-disabled-color);
167
166
  background-color: var(--ck-ai-button-secondary-disabled-background-color);
168
167
  border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
169
- cursor: not-allowed;
170
168
  }
171
169
  }
172
170
  }
@@ -188,6 +186,20 @@
188
186
  }
189
187
  }
190
188
 
189
+ .ck-ai-suggestion__container .ck.ck-ai-suggestion__error {
190
+ padding: var(--ck-spacing-large) !important;
191
+ height: 150px;
192
+
193
+ .ck-ai-suggestion__error-text {
194
+ background-color: hsla(15, 100%, 97%, 1);
195
+ border: 1px solid hsla(14, 100%, 68%, 1);
196
+ color: hsla(0, 0%, 20%, 1);
197
+ padding: var(--ck-spacing-medium);
198
+ display: block;
199
+ border-radius: var(--ck-border-radius);
200
+ }
201
+ }
202
+
191
203
  /*
192
204
  * Classes used by the "fake visual selection" displayed in the content
193
205
  * when the AI Balloon is open.
@@ -202,6 +214,7 @@
202
214
  outline-color: var(--ck-color-ai-selection);
203
215
  }
204
216
 
205
- .ck.ck-dialog-overlay:has(.ai-balloon) {
206
- z-index: 998;
217
+ .ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel.ck-ai-quick-actions-group-panel {
218
+ /* Override the height of the panel because the default height adds 2px scrollbar. */
219
+ max-height: 316px;
207
220
  }
@@ -25,6 +25,12 @@
25
25
  padding-bottom: var(--ck-spacing-large);
26
26
  }
27
27
 
28
+ &.ck-ai-chat-controls-disabled {
29
+ opacity: 0.5;
30
+ pointer-events: none;
31
+ cursor: default;
32
+ }
33
+
28
34
  & .ck-ai-chat-controls__model-selection {
29
35
  line-height: 0;
30
36
 
@@ -27,6 +27,8 @@
27
27
  --ck-ai-chat-color-text: hsla(263, 59%, 52%, 1);
28
28
  --ck-ai-chat-color-icon: hsla(0, 0%, 44%, 1);
29
29
  --ck-ai-chat-border-width: 1px;
30
+ --ck-ai-chat-suggestion-icon-default-color: hsl(0, 0%, 44%);
31
+ --ck-ai-chat-suggestion-border-hover-color: hsl(262, 64%, 78%);
30
32
 
31
33
  --ck-ai-chat-button-active-background-color: hsla(262, 100%, 96%, 1);
32
34
  --ck-ai-chat-button-active-color: hsla(263, 59%, 52%, 1);
@@ -201,15 +201,32 @@
201
201
  margin: var(--ck-spacing-large) 0;
202
202
  }
203
203
 
204
- .ck-ai-chat-history__open-chat-button {
205
- font-size: 0.9em;
206
- border: none;
207
- padding: 0 var(--ck-spacing-standard);
208
- min-height: 22px;
209
- height: 22px;
210
-
211
- background-color: var(--ck-ai-background-color-action-button);
212
- color: var(--ck-ai-font-color-action-button);
204
+ .ck-ai-chat__start-conversation {
205
+ /* TODO: Extract this to a separate class to avoid duplication (same component and styling in Chat header) */
206
+ /* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
207
+ font-size: 11.7px;
208
+ min-height: unset;
209
+ border: 1px solid var(--ck-ai-border-color-button);
210
+ border-radius: var(--ck-border-radius);
211
+ gap: var(--ck-spacing-small);
212
+ color: var(--ck-ai-chat-color-text);
213
+
214
+ &:hover {
215
+ background-color: var(--ck-ai-chat-button-active-background-color);
216
+ }
217
+
218
+ & > .ck-button__label {
219
+ /* Custom value unlike the rest of editor UI. */
220
+ line-height: 1.4em;
221
+ }
222
+
223
+ & > .ck-button__icon {
224
+ /* Custom value unlike the rest of editor UI (defaults to 14px). See how it's used in the icon.css */
225
+ --ck-icon-font-size: .632em;
226
+
227
+ margin-inline-end: 0;
228
+ color: var(--ck-ai-chat-color-text);
229
+ }
213
230
  }
214
231
  }
215
232
 
@@ -25,6 +25,14 @@
25
25
  bottom: 0;
26
26
  transform: translateY(50%);
27
27
 
28
+
29
+
30
+ & .ck-ai-interaction-counter {
31
+ color: var(--ck-ai-chat-color-icon);
32
+ letter-spacing: 2.6px;
33
+ font-family: var(--ck-ai-balloon-font-family);
34
+ }
35
+
28
36
  & .ck.ck-button {
29
37
  font-size: .9em;
30
38
  font-family: var(--ck-ai-chat-font-family);
@@ -120,7 +120,7 @@
120
120
 
121
121
  & .ck-button {
122
122
  margin: 0;
123
- opacity: .6;
123
+ color: var(--ck-ai-chat-suggestion-icon-default-color);
124
124
  }
125
125
  }
126
126
  }
@@ -130,6 +130,12 @@
130
130
  padding-bottom: 0;
131
131
  margin-bottom: var(--ck-spacing-medium);
132
132
  }
133
+
134
+ &.ck.ck-content:not(:focus) {
135
+ /* Reset default padding and border of `ck-content` class. */
136
+ padding: 0;
137
+ border: 0;
138
+ }
133
139
  }
134
140
 
135
141
  &:hover .ck-ai-suggestion__body__content-part__title .ck-toolbar {
@@ -146,6 +152,12 @@
146
152
  }
147
153
  }
148
154
 
155
+ & .ck-ai-suggestion__body__content-part_pending:hover {
156
+ & .ck-toolbar .ck-icon {
157
+ color: var(--ck-ai-background-color-action-button);
158
+ }
159
+ }
160
+
149
161
  /* TODO: This is only a temporary implementation for preview demo purposes. Make it nice. */
150
162
  & .ck-ai-suggestion__body__content-part_active:hover::before {
151
163
  content: '';
@@ -153,7 +165,7 @@
153
165
  left: calc((-1 * var(--ck-spacing-large)) - 1px);
154
166
  top: 5px;
155
167
  height: 100%;
156
- border-left: 2px solid hsl( 262, 51%, 80% );
168
+ border-left: 3px solid var(--ck-ai-chat-suggestion-border-hover-color);
157
169
  }
158
170
 
159
171
  & .ck-ai-suggestion__body__content-part_active:last-child::before {
@@ -11,6 +11,12 @@
11
11
  & > .ck-ai-review-mode__check-run-result-response {
12
12
  overflow: hidden;
13
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
+
14
20
  & > * {
15
21
  white-space: normal;
16
22
  }
@@ -31,6 +31,11 @@
31
31
  &>* {
32
32
  flex-grow: 1;
33
33
  }
34
+
35
+ &.ck-tab-panel_disabled {
36
+ pointer-events: none;
37
+ opacity: 0.5;
38
+ }
34
39
  }
35
40
 
36
41
  &.ck-ai-tabs__overlay {
@@ -61,4 +66,4 @@
61
66
  border-right: 0;
62
67
  }
63
68
  }
64
- }
69
+ }
@@ -56,7 +56,6 @@
56
56
  &.ck-disabled {
57
57
  color: var(--ck-ai-button-primary-disabled-color);
58
58
  background-color: var(--ck-ai-button-primary-disabled-background-color);
59
- cursor: not-allowed;
60
59
 
61
60
  & > .ck.ck-button__label,
62
61
  & > .ck-button__icon {
@@ -84,7 +83,6 @@
84
83
  color: var(--ck-ai-button-secondary-disabled-color);
85
84
  background-color: var(--ck-ai-button-secondary-disabled-background-color);
86
85
  border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
87
- cursor: not-allowed;
88
86
 
89
87
  & > .ck.ck-button__label,
90
88
  & > .ck-button__icon {
@@ -105,7 +103,6 @@
105
103
  &:disabled,
106
104
  &.ck-disabled {
107
105
  color: var(--ck-ai-button-tertiary-disabled-text-color);
108
- cursor: not-allowed;
109
106
 
110
107
  & > .ck.ck-button__label,
111
108
  & > .ck-button__icon {
@@ -134,7 +131,6 @@
134
131
  &.ck-disabled {
135
132
  color: var(--ck-ai-button-tertiary-filled-disabled-color);
136
133
  background-color: var(--ck-ai-button-tertiary-filled-disabled-background-color);
137
- cursor: not-allowed;
138
134
 
139
135
  & > .ck.ck-button__label,
140
136
  & > .ck-button__icon {